Merge branch 'master' into VM/RED-8748
This commit is contained in:
commit
db18d9ad81
@ -25,7 +25,7 @@
|
|||||||
[placeholder]="'search.placeholder' | translate"
|
[placeholder]="'search.placeholder' | translate"
|
||||||
></redaction-spotlight-search>
|
></redaction-spotlight-search>
|
||||||
|
|
||||||
<iqser-help-button [attr.help-mode-key]="'help_mode'" id="help-mode-button"></iqser-help-button>
|
<iqser-help-button [dialogButton]="false"></iqser-help-button>
|
||||||
|
|
||||||
<redaction-notifications
|
<redaction-notifications
|
||||||
*ngIf="currentUser.isUser || currentUser.isManager"
|
*ngIf="currentUser.isUser || currentUser.isManager"
|
||||||
|
|||||||
@ -7,8 +7,8 @@
|
|||||||
<div class="content-inner">
|
<div class="content-inner">
|
||||||
<div class="content-container full-height">
|
<div class="content-container full-height">
|
||||||
<div class="overlay-shadow"></div>
|
<div class="overlay-shadow"></div>
|
||||||
<div class="dialog">
|
<div [ngClass]="!isWarningsScreen && 'dialog'">
|
||||||
<div *ngIf="!shouldHideTitle" class="dialog-header">
|
<div *ngIf="!isWarningsScreen" class="dialog-header">
|
||||||
<div class="heading-l" [translate]="translations[path]"></div>
|
<div class="heading-l" [translate]="translations[path]"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -11,14 +11,14 @@ import { accountTranslations } from '@translations/account-translations';
|
|||||||
export class BaseAccountScreenComponent implements OnInit {
|
export class BaseAccountScreenComponent implements OnInit {
|
||||||
readonly translations = accountTranslations;
|
readonly translations = accountTranslations;
|
||||||
readonly path: string;
|
readonly path: string;
|
||||||
readonly shouldHideTitle: boolean;
|
readonly isWarningsScreen: boolean;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private readonly _router: Router,
|
private readonly _router: Router,
|
||||||
private readonly _hostRef: ViewContainerRef,
|
private readonly _hostRef: ViewContainerRef,
|
||||||
) {
|
) {
|
||||||
this.path = this._router.url.split('/').pop();
|
this.path = this._router.url.split('/').pop();
|
||||||
this.shouldHideTitle = this.path === 'warnings-preferences';
|
this.isWarningsScreen = this.path === 'warnings-preferences';
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|||||||
@ -1,77 +1,79 @@
|
|||||||
<form [formGroup]="form">
|
<div class="dialog">
|
||||||
<div class="dialog-content">
|
<form [formGroup]="form">
|
||||||
<h1>{{ 'dialog-defaults-form.title' | translate }}</h1>
|
<div class="dialog-content">
|
||||||
<h3>{{ 'dialog-defaults-form.redaction.title' | translate }}</h3>
|
<h1>{{ 'dialog-defaults-form.title' | translate }}</h1>
|
||||||
<div class="iqser-input-group w-450">
|
<h3>{{ 'dialog-defaults-form.redaction.title' | translate }}</h3>
|
||||||
<label translate="dialog-defaults-form.redaction.add-dialog"></label>
|
<div class="iqser-input-group w-450">
|
||||||
<mat-form-field>
|
<label translate="dialog-defaults-form.redaction.add-dialog"></label>
|
||||||
<mat-select formControlName="addRedaction">
|
<mat-form-field>
|
||||||
<mat-option *ngFor="let option of redactionAddOptions" [value]="option.value">{{
|
<mat-select formControlName="addRedaction">
|
||||||
option.label | translate
|
<mat-option *ngFor="let option of redactionAddOptions" [value]="option.value">{{
|
||||||
}}</mat-option>
|
option.label | translate
|
||||||
</mat-select>
|
}}</mat-option>
|
||||||
</mat-form-field>
|
</mat-select>
|
||||||
<mat-checkbox *ngIf="displayExtraOptionAddRedaction" formControlName="addRedactionApplyToAll">{{
|
</mat-form-field>
|
||||||
'dialog-defaults-form.extra-option-label' | translate
|
<mat-checkbox *ngIf="displayExtraOptionAddRedaction" formControlName="addRedactionApplyToAll">{{
|
||||||
}}</mat-checkbox>
|
'dialog-defaults-form.extra-option-label' | translate
|
||||||
|
}}</mat-checkbox>
|
||||||
|
</div>
|
||||||
|
<div class="iqser-input-group w-450">
|
||||||
|
<label translate="dialog-defaults-form.redaction.remove-dialog"></label>
|
||||||
|
<mat-form-field>
|
||||||
|
<mat-select formControlName="removeRedaction">
|
||||||
|
<mat-option *ngFor="let option of redactionRemoveOptions" [value]="option.value">{{
|
||||||
|
option.label | translate
|
||||||
|
}}</mat-option>
|
||||||
|
</mat-select>
|
||||||
|
</mat-form-field>
|
||||||
|
<mat-checkbox *ngIf="displayExtraOptionRemoveRedaction" formControlName="removeRedactionApplyToAll">{{
|
||||||
|
'dialog-defaults-form.extra-option-label' | translate
|
||||||
|
}}</mat-checkbox>
|
||||||
|
</div>
|
||||||
|
<h3>{{ 'dialog-defaults-form.recommendation.title' | translate }}</h3>
|
||||||
|
<div class="iqser-input-group w-450">
|
||||||
|
<label translate="dialog-defaults-form.recommendation.remove-dialog"></label>
|
||||||
|
<mat-form-field>
|
||||||
|
<mat-select formControlName="removeRecommendation">
|
||||||
|
<mat-option *ngFor="let option of recommendationRemoveOptions" [value]="option.value">{{
|
||||||
|
option.label | translate
|
||||||
|
}}</mat-option>
|
||||||
|
</mat-select>
|
||||||
|
</mat-form-field>
|
||||||
|
<mat-checkbox *ngIf="displayExtraOptionRemoveRecommendation" formControlName="removeRecommendationApplyToAll">{{
|
||||||
|
'dialog-defaults-form.extra-option-label' | translate
|
||||||
|
}}</mat-checkbox>
|
||||||
|
</div>
|
||||||
|
<h3>{{ 'dialog-defaults-form.hint.title' | translate }}</h3>
|
||||||
|
<div class="iqser-input-group w-450">
|
||||||
|
<label translate="dialog-defaults-form.hint.add-dialog"></label>
|
||||||
|
<mat-form-field>
|
||||||
|
<mat-select formControlName="addHint">
|
||||||
|
<mat-option *ngFor="let option of hintAddOptions" [value]="option.value">{{ option.label | translate }}</mat-option>
|
||||||
|
</mat-select>
|
||||||
|
</mat-form-field>
|
||||||
|
<mat-checkbox *ngIf="displayExtraOptionAddHint" formControlName="addHintApplyToAll">{{
|
||||||
|
'dialog-defaults-form.extra-option-label' | translate
|
||||||
|
}}</mat-checkbox>
|
||||||
|
</div>
|
||||||
|
<div class="iqser-input-group w-450">
|
||||||
|
<label translate="dialog-defaults-form.hint.remove-dialog"></label>
|
||||||
|
<mat-form-field>
|
||||||
|
<mat-select formControlName="removeHint">
|
||||||
|
<mat-option *ngFor="let option of removeOptions" [value]="option.value">{{ option.label | translate }}</mat-option>
|
||||||
|
</mat-select>
|
||||||
|
</mat-form-field>
|
||||||
|
<mat-checkbox *ngIf="displayExtraOptionRemoveHint" formControlName="removeHintApplyToAll">{{
|
||||||
|
'dialog-defaults-form.extra-option-label' | translate
|
||||||
|
}}</mat-checkbox>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="iqser-input-group w-450">
|
<div class="dialog-actions">
|
||||||
<label translate="dialog-defaults-form.redaction.remove-dialog"></label>
|
<iqser-icon-button
|
||||||
<mat-form-field>
|
(action)="save()"
|
||||||
<mat-select formControlName="removeRedaction">
|
[disabled]="!valid || !changed"
|
||||||
<mat-option *ngFor="let option of redactionRemoveOptions" [value]="option.value">{{
|
[label]="'preferences-screen.actions.save' | translate"
|
||||||
option.label | translate
|
[type]="iconButtonTypes.primary"
|
||||||
}}</mat-option>
|
></iqser-icon-button>
|
||||||
</mat-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-checkbox *ngIf="displayExtraOptionRemoveRedaction" formControlName="removeRedactionApplyToAll">{{
|
|
||||||
'dialog-defaults-form.extra-option-label' | translate
|
|
||||||
}}</mat-checkbox>
|
|
||||||
</div>
|
</div>
|
||||||
<h3>{{ 'dialog-defaults-form.recommendation.title' | translate }}</h3>
|
</form>
|
||||||
<div class="iqser-input-group w-450">
|
</div>
|
||||||
<label translate="dialog-defaults-form.recommendation.remove-dialog"></label>
|
|
||||||
<mat-form-field>
|
|
||||||
<mat-select formControlName="removeRecommendation">
|
|
||||||
<mat-option *ngFor="let option of recommendationRemoveOptions" [value]="option.value">{{
|
|
||||||
option.label | translate
|
|
||||||
}}</mat-option>
|
|
||||||
</mat-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-checkbox *ngIf="displayExtraOptionRemoveRecommendation" formControlName="removeRecommendationApplyToAll">{{
|
|
||||||
'dialog-defaults-form.extra-option-label' | translate
|
|
||||||
}}</mat-checkbox>
|
|
||||||
</div>
|
|
||||||
<h3>{{ 'dialog-defaults-form.hint.title' | translate }}</h3>
|
|
||||||
<div class="iqser-input-group w-450">
|
|
||||||
<label translate="dialog-defaults-form.hint.add-dialog"></label>
|
|
||||||
<mat-form-field>
|
|
||||||
<mat-select formControlName="addHint">
|
|
||||||
<mat-option *ngFor="let option of hintAddOptions" [value]="option.value">{{ option.label | translate }}</mat-option>
|
|
||||||
</mat-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-checkbox *ngIf="displayExtraOptionAddHint" formControlName="addHintApplyToAll">{{
|
|
||||||
'dialog-defaults-form.extra-option-label' | translate
|
|
||||||
}}</mat-checkbox>
|
|
||||||
</div>
|
|
||||||
<div class="iqser-input-group w-450">
|
|
||||||
<label translate="dialog-defaults-form.hint.remove-dialog"></label>
|
|
||||||
<mat-form-field>
|
|
||||||
<mat-select formControlName="removeHint">
|
|
||||||
<mat-option *ngFor="let option of removeOptions" [value]="option.value">{{ option.label | translate }}</mat-option>
|
|
||||||
</mat-select>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-checkbox *ngIf="displayExtraOptionRemoveHint" formControlName="removeHintApplyToAll">{{
|
|
||||||
'dialog-defaults-form.extra-option-label' | translate
|
|
||||||
}}</mat-checkbox>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="dialog-actions">
|
|
||||||
<iqser-icon-button
|
|
||||||
(action)="save()"
|
|
||||||
[disabled]="!valid || !changed"
|
|
||||||
[label]="'preferences-screen.actions.save' | translate"
|
|
||||||
[type]="iconButtonTypes.primary"
|
|
||||||
></iqser-icon-button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
|
|||||||
@ -2,6 +2,15 @@ mat-checkbox {
|
|||||||
margin: 8px 0 0 8px;
|
margin: 8px 0 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dialog-actions {
|
h3 {
|
||||||
border-top: none;
|
margin-top: 24px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
form .iqser-input-group:not(first-of-type) {
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dialog {
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,47 +1,53 @@
|
|||||||
<redaction-dialog-defaults *ngIf="currentScreen === screens.WARNING_PREFERENCES && !config.IS_DOCUMINE"></redaction-dialog-defaults>
|
<redaction-dialog-defaults *ngIf="currentScreen === screens.WARNING_PREFERENCES && !config.IS_DOCUMINE"></redaction-dialog-defaults>
|
||||||
<div *ngIf="currentScreen === screens.WARNING_PREFERENCES" class="content-delimiter"></div>
|
|
||||||
|
|
||||||
<form [formGroup]="form">
|
<div [ngClass]="currentScreen === screens.WARNING_PREFERENCES && 'dialog'">
|
||||||
<div class="dialog-content">
|
<form [formGroup]="form">
|
||||||
<div class="dialog-content-left">
|
<div class="dialog-content">
|
||||||
<ng-container *ngIf="currentScreen === screens.PREFERENCES">
|
<div class="dialog-content-left">
|
||||||
<div class="iqser-input-group">
|
<ng-container *ngIf="currentScreen === screens.PREFERENCES">
|
||||||
<mat-slide-toggle color="primary" formControlName="autoExpandFiltersOnActions">
|
<div class="iqser-input-group">
|
||||||
{{ 'preferences-screen.form.auto-expand-filters-on-action' | translate }}
|
<mat-slide-toggle color="primary" formControlName="autoExpandFiltersOnActions">
|
||||||
</mat-slide-toggle>
|
{{ 'preferences-screen.form.auto-expand-filters-on-action' | translate }}
|
||||||
</div>
|
</mat-slide-toggle>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div *ngIf="config.IS_DOCUMINE" class="iqser-input-group">
|
<div *ngIf="config.IS_DOCUMINE" class="iqser-input-group">
|
||||||
<mat-slide-toggle color="primary" formControlName="openScmDialogByDefault">
|
<mat-slide-toggle color="primary" formControlName="openScmDialogByDefault">
|
||||||
{{ 'preferences-screen.form.open-structured-view-by-default' | translate }}
|
{{ 'preferences-screen.form.open-structured-view-by-default' | translate }}
|
||||||
</mat-slide-toggle>
|
</mat-slide-toggle>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *allow="roles.getTables" class="iqser-input-group">
|
<div *allow="roles.getTables" class="iqser-input-group">
|
||||||
<label [translate]="'preferences-screen.form.table-extraction-type'"></label>
|
<label [translate]="'preferences-screen.form.table-extraction-type'"></label>
|
||||||
<input formControlName="tableExtractionType" />
|
<input formControlName="tableExtractionType" />
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<ng-container *ngIf="currentScreen === screens.WARNING_PREFERENCES">
|
<ng-container *ngIf="currentScreen === screens.WARNING_PREFERENCES">
|
||||||
<h1>{{ 'preferences-screen.warnings-subtitle' | translate }}</h1>
|
<h1>{{ 'preferences-screen.warnings-subtitle' | translate }}</h1>
|
||||||
<p class="warnings-description">{{ 'preferences-screen.warnings-description' | translate }}</p>
|
<p class="warnings-description">{{ 'preferences-screen.warnings-description' | translate }}</p>
|
||||||
|
|
||||||
<div class="iqser-input-group">
|
<div class="iqser-input-group">
|
||||||
<mat-checkbox color="primary" formControlName="loadAllAnnotationsWarning">
|
<mat-checkbox color="primary" formControlName="loadAllAnnotationsWarning">
|
||||||
{{ 'preferences-screen.form.load-all-annotations-warning' | translate }}
|
{{ 'preferences-screen.form.load-all-annotations-warning' | translate }}
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
<div class="iqser-input-group">
|
||||||
|
<mat-checkbox color="primary" formControlName="helpModeDialog">
|
||||||
|
{{ 'preferences-screen.form.help-mode-dialog' | translate }}
|
||||||
|
</mat-checkbox>
|
||||||
|
</div>
|
||||||
|
</ng-container>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="dialog-actions">
|
<div class="dialog-actions">
|
||||||
<iqser-icon-button
|
<iqser-icon-button
|
||||||
(action)="save()"
|
(action)="save()"
|
||||||
[disabled]="!valid || !changed"
|
[disabled]="!valid || !changed"
|
||||||
[label]="'preferences-screen.actions.save' | translate"
|
[label]="'preferences-screen.actions.save' | translate"
|
||||||
[type]="iconButtonTypes.primary"
|
[type]="iconButtonTypes.primary"
|
||||||
></iqser-icon-button>
|
></iqser-icon-button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
|||||||
@ -1,9 +1,3 @@
|
|||||||
@use 'variables';
|
|
||||||
|
|
||||||
.content-delimiter {
|
|
||||||
border-top: 1px solid var(--iqser-separator);
|
|
||||||
}
|
|
||||||
|
|
||||||
.warnings-description {
|
.warnings-description {
|
||||||
width: 105%;
|
width: 105%;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnInit } from '@angular/core';
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnInit } from '@angular/core';
|
||||||
import { FormBuilder, FormGroup } from '@angular/forms';
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
import { BaseFormComponent, getConfig, IqserPermissionsService, isIqserDevMode, LoadingService } from '@iqser/common-ui';
|
import { BaseFormComponent, getConfig, IqserPermissionsService, isIqserDevMode, KEYS, LoadingService } from '@iqser/common-ui';
|
||||||
import { AsControl } from '@iqser/common-ui/lib/utils';
|
import { AsControl } from '@iqser/common-ui/lib/utils';
|
||||||
import { Roles } from '@users/roles';
|
import { Roles } from '@users/roles';
|
||||||
import { PreferencesKeys, UserPreferenceService } from '@users/user-preference.service';
|
import { PreferencesKeys, UserPreferenceService } from '@users/user-preference.service';
|
||||||
@ -13,6 +13,7 @@ interface PreferencesForm {
|
|||||||
tableExtractionType: string;
|
tableExtractionType: string;
|
||||||
// warnings preferences
|
// warnings preferences
|
||||||
loadAllAnnotationsWarning: boolean;
|
loadAllAnnotationsWarning: boolean;
|
||||||
|
helpModeDialog: boolean;
|
||||||
|
|
||||||
[k: string]: any;
|
[k: string]: any;
|
||||||
}
|
}
|
||||||
@ -55,6 +56,7 @@ export class PreferencesComponent extends BaseFormComponent implements OnInit {
|
|||||||
tableExtractionType: [this.userPreferenceService.getTableExtractionType()],
|
tableExtractionType: [this.userPreferenceService.getTableExtractionType()],
|
||||||
// warnings preferences
|
// warnings preferences
|
||||||
loadAllAnnotationsWarning: [this.userPreferenceService.getBool(PreferencesKeys.loadAllAnnotationsWarning)],
|
loadAllAnnotationsWarning: [this.userPreferenceService.getBool(PreferencesKeys.loadAllAnnotationsWarning)],
|
||||||
|
helpModeDialog: [this.userPreferenceService.getBool(KEYS.helpModeDialog)],
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!this._permissionsService.has(Roles.managePreferences)) {
|
if (!this._permissionsService.has(Roles.managePreferences)) {
|
||||||
@ -95,6 +97,10 @@ export class PreferencesComponent extends BaseFormComponent implements OnInit {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.form.controls.helpModeDialog.value !== this.userPreferenceService.getBool(KEYS.helpModeDialog)) {
|
||||||
|
await this.userPreferenceService.save(KEYS.helpModeDialog, String(this.form.controls.helpModeDialog.value));
|
||||||
|
}
|
||||||
|
|
||||||
await this.userPreferenceService.reload();
|
await this.userPreferenceService.reload();
|
||||||
this.#patchValues();
|
this.#patchValues();
|
||||||
|
|
||||||
@ -108,6 +114,7 @@ export class PreferencesComponent extends BaseFormComponent implements OnInit {
|
|||||||
openScmDialogByDefault: this.userPreferenceService.getOpenScmDialogByDefault(),
|
openScmDialogByDefault: this.userPreferenceService.getOpenScmDialogByDefault(),
|
||||||
tableExtractionType: this.userPreferenceService.getTableExtractionType(),
|
tableExtractionType: this.userPreferenceService.getTableExtractionType(),
|
||||||
loadAllAnnotationsWarning: this.userPreferenceService.getBool(PreferencesKeys.loadAllAnnotationsWarning),
|
loadAllAnnotationsWarning: this.userPreferenceService.getBool(PreferencesKeys.loadAllAnnotationsWarning),
|
||||||
|
helpModeDialog: this.userPreferenceService.getBool(KEYS.helpModeDialog),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -151,10 +151,7 @@
|
|||||||
[buttonId]="'saveButton'"
|
[buttonId]="'saveButton'"
|
||||||
></iqser-icon-button>
|
></iqser-icon-button>
|
||||||
|
|
||||||
<iqser-help-button
|
<iqser-help-button *ngIf="!isDocumine && !!dossierTemplate"></iqser-help-button>
|
||||||
*ngIf="!isDocumine && !!dossierTemplate"
|
|
||||||
[helpButtonKey]="'edit_clone_delete_dossier_templates'"
|
|
||||||
></iqser-help-button>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
[type]="iconButtonTypes.primary"
|
[type]="iconButtonTypes.primary"
|
||||||
></iqser-icon-button>
|
></iqser-icon-button>
|
||||||
|
|
||||||
<iqser-help-button *ngIf="!config.IS_DOCUMINE" [helpButtonKey]="'create_new_entity'"></iqser-help-button>
|
<iqser-help-button *ngIf="!config.IS_DOCUMINE"></iqser-help-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<iqser-circle-button (action)="close()" class="dialog-close" icon="iqser:close"></iqser-circle-button>
|
<iqser-circle-button (action)="close()" class="dialog-close" icon="iqser:close"></iqser-circle-button>
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
<div (click)="revert()" [translate]="'entity.info.actions.revert'" class="all-caps-label cancel"></div>
|
<div (click)="revert()" [translate]="'entity.info.actions.revert'" class="all-caps-label cancel"></div>
|
||||||
|
|
||||||
<iqser-help-button *ngIf="!config.IS_DOCUMINE" [helpButtonKey]="'edit_delete_entities'"></iqser-help-button>
|
<iqser-help-button *ngIf="!config.IS_DOCUMINE"></iqser-help-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<section class="dialog">
|
<section class="dialog">
|
||||||
<div [innerHTML]="'add-edit-file-attribute.title' | translate : titleTranslateParams" class="dialog-header heading-l"></div>
|
<div [innerHTML]="'add-edit-file-attribute.title' | translate: titleTranslateParams" class="dialog-header heading-l"></div>
|
||||||
|
|
||||||
<form [formGroup]="form">
|
<form [formGroup]="form">
|
||||||
<div class="dialog-content">
|
<div class="dialog-content">
|
||||||
@ -51,7 +51,7 @@
|
|||||||
<mat-checkbox
|
<mat-checkbox
|
||||||
[matTooltipDisabled]="canSetFilterable"
|
[matTooltipDisabled]="canSetFilterable"
|
||||||
[matTooltip]="
|
[matTooltip]="
|
||||||
'add-edit-file-attribute.form.filterable-disabled' | translate : { maxNumber: DISPLAYED_FILTERABLE_LIMIT }
|
'add-edit-file-attribute.form.filterable-disabled' | translate: { maxNumber: DISPLAYED_FILTERABLE_LIMIT }
|
||||||
"
|
"
|
||||||
color="primary"
|
color="primary"
|
||||||
formControlName="filterable"
|
formControlName="filterable"
|
||||||
@ -66,7 +66,7 @@
|
|||||||
<mat-checkbox
|
<mat-checkbox
|
||||||
[matTooltipDisabled]="canSetDisplayed"
|
[matTooltipDisabled]="canSetDisplayed"
|
||||||
[matTooltip]="
|
[matTooltip]="
|
||||||
'add-edit-file-attribute.form.displayed-disabled' | translate : { maxNumber: DISPLAYED_FILTERABLE_LIMIT }
|
'add-edit-file-attribute.form.displayed-disabled' | translate: { maxNumber: DISPLAYED_FILTERABLE_LIMIT }
|
||||||
"
|
"
|
||||||
color="primary"
|
color="primary"
|
||||||
formControlName="displayedInFileList"
|
formControlName="displayedInFileList"
|
||||||
@ -86,7 +86,7 @@
|
|||||||
[type]="iconButtonTypes.primary"
|
[type]="iconButtonTypes.primary"
|
||||||
></iqser-icon-button>
|
></iqser-icon-button>
|
||||||
|
|
||||||
<iqser-help-button *ngIf="!config.IS_DOCUMINE" [helpButtonKey]="'edit_delete_file_attribute'"></iqser-help-button>
|
<iqser-help-button *ngIf="!config.IS_DOCUMINE"></iqser-help-button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -116,7 +116,7 @@
|
|||||||
|
|
||||||
<div [translate]="'edit-redaction.dialog.actions.cancel'" class="all-caps-label cancel" mat-dialog-close></div>
|
<div [translate]="'edit-redaction.dialog.actions.cancel'" class="all-caps-label cancel" mat-dialog-close></div>
|
||||||
|
|
||||||
<iqser-help-button *deny="roles.getRss" [helpButtonKey]="helpButtonKey"></iqser-help-button>
|
<iqser-help-button *deny="roles.getRss"></iqser-help-button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
>
|
>
|
||||||
</iqser-icon-button>
|
</iqser-icon-button>
|
||||||
|
|
||||||
<iqser-help-button *deny="roles.getRss" [helpButtonKey]="'skipped_force'"></iqser-help-button>
|
<iqser-help-button *deny="roles.getRss"></iqser-help-button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
<ng-container *ngIf="!data.color">
|
<ng-container *ngIf="!data.color">
|
||||||
<div class="iqser-input-group">
|
<div class="iqser-input-group">
|
||||||
<mat-checkbox color="primary" formControlName="confirmation" name="confirmation">
|
<mat-checkbox color="primary" formControlName="confirmation" name="confirmation">
|
||||||
{{ translations[data.operation].confirmation | translate : { count: data.highlights.length } }}
|
{{ translations[data.operation].confirmation | translate: { count: data.highlights.length } }}
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
<div class="all-caps-label cancel" mat-dialog-close translate="highlight-action-dialog.actions.cancel"></div>
|
<div class="all-caps-label cancel" mat-dialog-close translate="highlight-action-dialog.actions.cancel"></div>
|
||||||
|
|
||||||
<iqser-help-button *deny="roles.getRss" [helpButtonKey]="'highlights'"></iqser-help-button>
|
<iqser-help-button *deny="roles.getRss"></iqser-help-button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
<div [translate]="'remove-redaction.dialog.actions.cancel'" class="all-caps-label cancel" mat-dialog-close></div>
|
<div [translate]="'remove-redaction.dialog.actions.cancel'" class="all-caps-label cancel" mat-dialog-close></div>
|
||||||
|
|
||||||
<iqser-help-button *deny="roles.getRss" [helpButtonKey]="helpButtonKey"></iqser-help-button>
|
<iqser-help-button *deny="roles.getRss"></iqser-help-button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
<div (click)="revert()" class="all-caps-label cancel" id="revert" translate="edit-dossier-dialog.actions.revert"></div>
|
<div (click)="revert()" class="all-caps-label cancel" id="revert" translate="edit-dossier-dialog.actions.revert"></div>
|
||||||
|
|
||||||
<iqser-help-button *deny="roles.getRss" [dialogButton]="true"></iqser-help-button>
|
<iqser-help-button *deny="roles.getRss"></iqser-help-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -121,7 +121,7 @@
|
|||||||
icon="red:assign"
|
icon="red:assign"
|
||||||
></iqser-icon-button>
|
></iqser-icon-button>
|
||||||
|
|
||||||
<iqser-help-button *deny="roles.getRss" [helpButtonKey]="'new_dossier_button'"></iqser-help-button>
|
<iqser-help-button *deny="roles.getRss"></iqser-help-button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -367,7 +367,6 @@
|
|||||||
"annotation": {
|
"annotation": {
|
||||||
"pending": "(Pending analysis)"
|
"pending": "(Pending analysis)"
|
||||||
},
|
},
|
||||||
"annotations": "",
|
|
||||||
"archived-dossiers-listing": {
|
"archived-dossiers-listing": {
|
||||||
"no-data": {
|
"no-data": {
|
||||||
"title": "No archived dossiers."
|
"title": "No archived dossiers."
|
||||||
@ -1643,9 +1642,11 @@
|
|||||||
},
|
},
|
||||||
"help-mode": {
|
"help-mode": {
|
||||||
"bottom-text": "Hilfe-Modus",
|
"bottom-text": "Hilfe-Modus",
|
||||||
"button-text": "Help mode (H)",
|
|
||||||
"clicking-anywhere-on": "<b>Klicken Sie auf eine beliebige Stelle des Bildschirms </b> um zu sehen, welche Bereiche interaktiv sind. Wenn Sie mit der Maus über einen interaktiven Bereich fahren, <b>verändert sich der Mauszeiger</b>, um Ihnen zu zeigen, ob ein Element interaktiv ist.",
|
"clicking-anywhere-on": "<b>Klicken Sie auf eine beliebige Stelle des Bildschirms </b> um zu sehen, welche Bereiche interaktiv sind. Wenn Sie mit der Maus über einen interaktiven Bereich fahren, <b>verändert sich der Mauszeiger</b>, um Ihnen zu zeigen, ob ein Element interaktiv ist.",
|
||||||
"instructions": "Hilfe-Modus-Anleitungen öffnen",
|
"instructions": "Hilfe-Modus-Anleitungen öffnen",
|
||||||
|
"options": {
|
||||||
|
"do-not-show-again": ""
|
||||||
|
},
|
||||||
"welcome-to-help-mode": "<b> Willkommen im Hilfe-Modus! <br> Klicken Sie auf interaktive Elemente, um in einem neuen Tab Infos dazu zu erhalten. </b>"
|
"welcome-to-help-mode": "<b> Willkommen im Hilfe-Modus! <br> Klicken Sie auf interaktive Elemente, um in einem neuen Tab Infos dazu zu erhalten. </b>"
|
||||||
},
|
},
|
||||||
"highlight-action-dialog": {
|
"highlight-action-dialog": {
|
||||||
@ -1969,6 +1970,7 @@
|
|||||||
},
|
},
|
||||||
"form": {
|
"form": {
|
||||||
"auto-expand-filters-on-action": "Auto-expand filters on my actions",
|
"auto-expand-filters-on-action": "Auto-expand filters on my actions",
|
||||||
|
"help-mode-dialog": "",
|
||||||
"load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview",
|
"load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview",
|
||||||
"open-structured-view-by-default": "Display structured component management modal by default",
|
"open-structured-view-by-default": "Display structured component management modal by default",
|
||||||
"table-extraction-type": "Table extraction type"
|
"table-extraction-type": "Table extraction type"
|
||||||
|
|||||||
@ -1643,9 +1643,11 @@
|
|||||||
},
|
},
|
||||||
"help-mode": {
|
"help-mode": {
|
||||||
"bottom-text": "Help mode",
|
"bottom-text": "Help mode",
|
||||||
"button-text": "Help mode (H)",
|
|
||||||
"clicking-anywhere-on": "<b> Clicking anywhere on the screen </b> will show you which areas are interactive. Hovering an interactive area will <b> change the mouse cursor </b> to let you know if the element is interactive.",
|
"clicking-anywhere-on": "<b> Clicking anywhere on the screen </b> will show you which areas are interactive. Hovering an interactive area will <b> change the mouse cursor </b> to let you know if the element is interactive.",
|
||||||
"instructions": "Open help mode instructions",
|
"instructions": "Open help mode instructions",
|
||||||
|
"options": {
|
||||||
|
"do-not-show-again": "Do not show again"
|
||||||
|
},
|
||||||
"welcome-to-help-mode": "<b> Welcome to help mode! <br> Clicking on interactive elements will open info about them in new tab. </b>"
|
"welcome-to-help-mode": "<b> Welcome to help mode! <br> Clicking on interactive elements will open info about them in new tab. </b>"
|
||||||
},
|
},
|
||||||
"highlight-action-dialog": {
|
"highlight-action-dialog": {
|
||||||
@ -1969,6 +1971,7 @@
|
|||||||
},
|
},
|
||||||
"form": {
|
"form": {
|
||||||
"auto-expand-filters-on-action": "Auto-expand filters on my actions",
|
"auto-expand-filters-on-action": "Auto-expand filters on my actions",
|
||||||
|
"help-mode-dialog": "Help Mode Dialog",
|
||||||
"load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview",
|
"load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview",
|
||||||
"open-structured-view-by-default": "Display structured component management modal by default",
|
"open-structured-view-by-default": "Display structured component management modal by default",
|
||||||
"table-extraction-type": "Table extraction type"
|
"table-extraction-type": "Table extraction type"
|
||||||
|
|||||||
@ -367,7 +367,6 @@
|
|||||||
"annotation": {
|
"annotation": {
|
||||||
"pending": "(Pending analysis)"
|
"pending": "(Pending analysis)"
|
||||||
},
|
},
|
||||||
"annotations": "",
|
|
||||||
"archived-dossiers-listing": {
|
"archived-dossiers-listing": {
|
||||||
"no-data": {
|
"no-data": {
|
||||||
"title": "No archived dossiers."
|
"title": "No archived dossiers."
|
||||||
@ -1643,9 +1642,11 @@
|
|||||||
},
|
},
|
||||||
"help-mode": {
|
"help-mode": {
|
||||||
"bottom-text": "Hilfe-Modus",
|
"bottom-text": "Hilfe-Modus",
|
||||||
"button-text": "Help mode (H)",
|
|
||||||
"clicking-anywhere-on": "<b>Klicken Sie auf eine beliebige Stelle des Bildschirms </b> um zu sehen, welche Bereiche interaktiv sind. Wenn Sie mit der Maus über einen interaktiven Bereich fahren, <b>verändert sich der Mauszeiger</b>, um Ihnen zu zeigen, ob ein Element interaktiv ist.",
|
"clicking-anywhere-on": "<b>Klicken Sie auf eine beliebige Stelle des Bildschirms </b> um zu sehen, welche Bereiche interaktiv sind. Wenn Sie mit der Maus über einen interaktiven Bereich fahren, <b>verändert sich der Mauszeiger</b>, um Ihnen zu zeigen, ob ein Element interaktiv ist.",
|
||||||
"instructions": "Hilfe-Modus-Anleitungen öffnen",
|
"instructions": "Hilfe-Modus-Anleitungen öffnen",
|
||||||
|
"options": {
|
||||||
|
"do-not-show-again": ""
|
||||||
|
},
|
||||||
"welcome-to-help-mode": "<b> Willkommen im Hilfe-Modus! <br> Klicken Sie auf interaktive Elemente, um in einem neuen Tab Infos dazu zu erhalten. </b>"
|
"welcome-to-help-mode": "<b> Willkommen im Hilfe-Modus! <br> Klicken Sie auf interaktive Elemente, um in einem neuen Tab Infos dazu zu erhalten. </b>"
|
||||||
},
|
},
|
||||||
"highlight-action-dialog": {
|
"highlight-action-dialog": {
|
||||||
@ -1969,6 +1970,7 @@
|
|||||||
},
|
},
|
||||||
"form": {
|
"form": {
|
||||||
"auto-expand-filters-on-action": "Auto expand filters on my actions",
|
"auto-expand-filters-on-action": "Auto expand filters on my actions",
|
||||||
|
"help-mode-dialog": "",
|
||||||
"load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview",
|
"load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview",
|
||||||
"open-structured-view-by-default": "Display Component View by default when opening a document",
|
"open-structured-view-by-default": "Display Component View by default when opening a document",
|
||||||
"table-extraction-type": "Table extraction type"
|
"table-extraction-type": "Table extraction type"
|
||||||
|
|||||||
@ -1643,9 +1643,11 @@
|
|||||||
},
|
},
|
||||||
"help-mode": {
|
"help-mode": {
|
||||||
"bottom-text": "Help mode",
|
"bottom-text": "Help mode",
|
||||||
"button-text": "Help mode (H)",
|
|
||||||
"clicking-anywhere-on": "<b> Clicking anywhere on the screen </b> will show you which areas are interactive. Hovering an interactive area will <b> change the mouse cursor </b> to let you know if the element is interactive.",
|
"clicking-anywhere-on": "<b> Clicking anywhere on the screen </b> will show you which areas are interactive. Hovering an interactive area will <b> change the mouse cursor </b> to let you know if the element is interactive.",
|
||||||
"instructions": "Open help mode instructions",
|
"instructions": "Open help mode instructions",
|
||||||
|
"options": {
|
||||||
|
"do-not-show-again": "Do not show again"
|
||||||
|
},
|
||||||
"welcome-to-help-mode": "<b> Welcome to help mode! <br> Clicking on interactive elements will open info about them in new tab. </b>"
|
"welcome-to-help-mode": "<b> Welcome to help mode! <br> Clicking on interactive elements will open info about them in new tab. </b>"
|
||||||
},
|
},
|
||||||
"highlight-action-dialog": {
|
"highlight-action-dialog": {
|
||||||
@ -1969,6 +1971,7 @@
|
|||||||
},
|
},
|
||||||
"form": {
|
"form": {
|
||||||
"auto-expand-filters-on-action": "Auto expand filters on my actions",
|
"auto-expand-filters-on-action": "Auto expand filters on my actions",
|
||||||
|
"help-mode-dialog": "Help Mode Dialog",
|
||||||
"load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview",
|
"load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview",
|
||||||
"open-structured-view-by-default": "Display Component View by default when opening a document",
|
"open-structured-view-by-default": "Display Component View by default when opening a document",
|
||||||
"table-extraction-type": "Table extraction type"
|
"table-extraction-type": "Table extraction type"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user