@alfresco/aca-content 8.1.0-43390478347 → 8.1.0-43453338611

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1420,7 +1420,8 @@ class ContentManagementService {
1420
1420
  createLibrary() {
1421
1421
  const dialogInstance = this.dialogRef.open(LibraryDialogComponent, {
1422
1422
  autoFocus: false,
1423
- width: '400px'
1423
+ width: '400px',
1424
+ role: 'dialog'
1424
1425
  });
1425
1426
  dialogInstance.componentInstance.error.subscribe((message) => {
1426
1427
  this.notificationService.showError(message);
@@ -3546,7 +3547,9 @@ class NodeTemplateService {
3546
3547
  .open(ContentNodeSelectorComponent, {
3547
3548
  data,
3548
3549
  panelClass: ['adf-content-node-selector-dialog', 'aca-template-node-selector-dialog'],
3549
- width: '630px'
3550
+ width: '630px',
3551
+ restoreFocus: true,
3552
+ role: 'dialog'
3550
3553
  })
3551
3554
  .afterClosed();
3552
3555
  }), catchError((error) => {
@@ -3557,13 +3560,13 @@ class NodeTemplateService {
3557
3560
  return select;
3558
3561
  }
3559
3562
  createTemplateDialog(node) {
3560
- const dialog = this.dialog.open(CreateFromTemplateDialogComponent, {
3563
+ return this.dialog.open(CreateFromTemplateDialogComponent, {
3561
3564
  data: node,
3562
3565
  panelClass: 'aca-create-from-template-dialog',
3563
- width: '630px'
3566
+ width: '630px',
3567
+ role: 'dialog',
3568
+ restoreFocus: true
3564
3569
  });
3565
- dialog.afterClosed().subscribe(() => this.focusCreateMenuButton());
3566
- return dialog;
3567
3570
  }
3568
3571
  transformNode(node) {
3569
3572
  if (node?.path?.elements instanceof Array) {
@@ -3582,7 +3585,6 @@ class NodeTemplateService {
3582
3585
  }
3583
3586
  close() {
3584
3587
  this.dialog.closeAll();
3585
- this.focusCreateMenuButton();
3586
3588
  }
3587
3589
  title(selectionType) {
3588
3590
  if (selectionType === 'file') {
@@ -3597,9 +3599,6 @@ class NodeTemplateService {
3597
3599
  getPathElements(node) {
3598
3600
  return node.path.elements.filter((pathElement) => !this.rootNode.path.elements.some((rootPathElement) => pathElement.id === rootPathElement.id));
3599
3601
  }
3600
- focusCreateMenuButton() {
3601
- document.querySelector('app-toolbar-menu button[id="app.toolbar.create"]').focus();
3602
- }
3603
3602
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: NodeTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3604
3603
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: NodeTemplateService, providedIn: 'root' }); }
3605
3604
  }
@@ -7957,7 +7956,7 @@ class SaveSearchDialogComponent {
7957
7956
  });
7958
7957
  }
7959
7958
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SaveSearchDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7960
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: SaveSearchDialogComponent, isStandalone: true, selector: "aca-save-search-dialog", host: { classAttribute: "aca-save-search-dialog" }, ngImport: i0, template: "<div class=\"aca-save-search-dialog__header\">\n <h2\n id=\"aca-save-search-dialog-title\"\n class=\"aca-save-search-dialog__title\">\n {{\"APP.BROWSE.SEARCH.SAVE_SEARCH.MODAL_HEADER\" | translate}}\n </h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate | titlecase\"\n [attr.title]=\"'CLOSE' | translate | titlecase\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n\n\n<mat-dialog-content>\n <form [formGroup]=\"form\" (submit)=\"submit()\">\n <mat-form-field class=\"aca-save-search-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate }}</mat-label>\n <input\n id=\"aca-save-search-dialog-name-input\"\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate\"\n matInput\n required\n [formControlName]=\"'name'\"\n />\n\n @if (form.controls['name'].touched) {\n <mat-error>\n @if (form.controls['name'].errors?.required) {\n <span>\n {{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_REQUIRED_ERROR' | translate }}\n </span>\n }\n @if (!form.controls['name'].errors?.required && form.controls['name'].errors?.message) {\n <span>\n {{ form.controls['name'].errors?.message | translate : { name: form.controls.name.value } }}\n </span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <mat-form-field class=\"aca-save-search-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate }}</mat-label>\n <textarea\n id=\"aca-save-search-dialog-description-input\"\n matInput\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate\"\n rows=\"4\"\n [formControlName]=\"'description'\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button\n mat-button\n id=\"aca-save-search-dialog-cancel-button\"\n mat-dialog-close>\n {{ 'CANCEL' | titlecase | translate }}\n </button>\n\n <button id=\"aca-save-search-dialog-save-button\"\n mat-flat-button\n class=\"aca-save-search-dialog__save-button\"\n (click)=\"submit()\"\n [disabled]=\"!form.valid || disableSubmitButton\">\n {{ 'SAVE' | titlecase | translate}}\n </button>\n</mat-dialog-actions>\n", styles: [".aca-save-search-dialog{--mat-dialog-with-actions-content-padding: 20px 24px}.aca-save-search-dialog .aca-save-search-dialog__form-field{width:100%;margin-bottom:15px}.aca-save-search-dialog mat-dialog-content mat-form-field{font-size:14px;letter-spacing:normal;line-height:20px}.aca-save-search-dialog mat-dialog-content mat-form-field mat-label{letter-spacing:normal}.aca-save-search-dialog .aca-save-search-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-save-search-dialog .aca-save-search-dialog__title{font-size:large;font-weight:200;margin:0}.aca-save-search-dialog .aca-save-search-dialog__save-button{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: A11yModule }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i3$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
7959
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: SaveSearchDialogComponent, isStandalone: true, selector: "aca-save-search-dialog", host: { classAttribute: "aca-save-search-dialog" }, ngImport: i0, template: "<div class=\"aca-save-search-dialog__header\">\n <h2\n mat-dialog-title\n id=\"aca-save-search-dialog-title\"\n class=\"aca-save-search-dialog__title\">\n {{\"APP.BROWSE.SEARCH.SAVE_SEARCH.MODAL_HEADER\" | translate}}\n </h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate | titlecase\"\n [attr.title]=\"'CLOSE' | translate | titlecase\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n\n\n<mat-dialog-content>\n <form [formGroup]=\"form\" (submit)=\"submit()\">\n <mat-form-field class=\"aca-save-search-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate }}</mat-label>\n <input\n id=\"aca-save-search-dialog-name-input\"\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate\"\n matInput\n required\n [formControlName]=\"'name'\"\n />\n\n @if (form.controls['name'].touched) {\n <mat-error>\n @if (form.controls['name'].errors?.required) {\n <span>\n {{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_REQUIRED_ERROR' | translate }}\n </span>\n }\n @if (!form.controls['name'].errors?.required && form.controls['name'].errors?.message) {\n <span>\n {{ form.controls['name'].errors?.message | translate : { name: form.controls.name.value } }}\n </span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <mat-form-field class=\"aca-save-search-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate }}</mat-label>\n <textarea\n id=\"aca-save-search-dialog-description-input\"\n matInput\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate\"\n rows=\"4\"\n [formControlName]=\"'description'\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button\n mat-button\n id=\"aca-save-search-dialog-cancel-button\"\n mat-dialog-close>\n {{ 'CANCEL' | titlecase | translate }}\n </button>\n\n <button id=\"aca-save-search-dialog-save-button\"\n mat-flat-button\n class=\"aca-save-search-dialog__save-button\"\n (click)=\"submit()\"\n [disabled]=\"!form.valid || disableSubmitButton\">\n {{ 'SAVE' | titlecase | translate}}\n </button>\n</mat-dialog-actions>\n", styles: [".aca-save-search-dialog{--mat-dialog-with-actions-content-padding: 20px 24px}.aca-save-search-dialog .aca-save-search-dialog__form-field{width:100%;margin-bottom:15px}.aca-save-search-dialog mat-dialog-content mat-form-field{font-size:14px;letter-spacing:normal;line-height:20px}.aca-save-search-dialog mat-dialog-content mat-form-field mat-label{letter-spacing:normal}.aca-save-search-dialog .aca-save-search-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-save-search-dialog .aca-save-search-dialog__title{font-size:large;font-weight:200;margin:0}.aca-save-search-dialog .aca-save-search-dialog__save-button{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: A11yModule }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i3$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
7961
7960
  }
7962
7961
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SaveSearchDialogComponent, decorators: [{
7963
7962
  type: Component,
@@ -7974,7 +7973,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
7974
7973
  FormsModule,
7975
7974
  ReactiveFormsModule,
7976
7975
  MatDialogModule
7977
- ], selector: 'aca-save-search-dialog', encapsulation: ViewEncapsulation.None, host: { class: 'aca-save-search-dialog' }, template: "<div class=\"aca-save-search-dialog__header\">\n <h2\n id=\"aca-save-search-dialog-title\"\n class=\"aca-save-search-dialog__title\">\n {{\"APP.BROWSE.SEARCH.SAVE_SEARCH.MODAL_HEADER\" | translate}}\n </h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate | titlecase\"\n [attr.title]=\"'CLOSE' | translate | titlecase\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n\n\n<mat-dialog-content>\n <form [formGroup]=\"form\" (submit)=\"submit()\">\n <mat-form-field class=\"aca-save-search-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate }}</mat-label>\n <input\n id=\"aca-save-search-dialog-name-input\"\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate\"\n matInput\n required\n [formControlName]=\"'name'\"\n />\n\n @if (form.controls['name'].touched) {\n <mat-error>\n @if (form.controls['name'].errors?.required) {\n <span>\n {{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_REQUIRED_ERROR' | translate }}\n </span>\n }\n @if (!form.controls['name'].errors?.required && form.controls['name'].errors?.message) {\n <span>\n {{ form.controls['name'].errors?.message | translate : { name: form.controls.name.value } }}\n </span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <mat-form-field class=\"aca-save-search-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate }}</mat-label>\n <textarea\n id=\"aca-save-search-dialog-description-input\"\n matInput\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate\"\n rows=\"4\"\n [formControlName]=\"'description'\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button\n mat-button\n id=\"aca-save-search-dialog-cancel-button\"\n mat-dialog-close>\n {{ 'CANCEL' | titlecase | translate }}\n </button>\n\n <button id=\"aca-save-search-dialog-save-button\"\n mat-flat-button\n class=\"aca-save-search-dialog__save-button\"\n (click)=\"submit()\"\n [disabled]=\"!form.valid || disableSubmitButton\">\n {{ 'SAVE' | titlecase | translate}}\n </button>\n</mat-dialog-actions>\n", styles: [".aca-save-search-dialog{--mat-dialog-with-actions-content-padding: 20px 24px}.aca-save-search-dialog .aca-save-search-dialog__form-field{width:100%;margin-bottom:15px}.aca-save-search-dialog mat-dialog-content mat-form-field{font-size:14px;letter-spacing:normal;line-height:20px}.aca-save-search-dialog mat-dialog-content mat-form-field mat-label{letter-spacing:normal}.aca-save-search-dialog .aca-save-search-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-save-search-dialog .aca-save-search-dialog__title{font-size:large;font-weight:200;margin:0}.aca-save-search-dialog .aca-save-search-dialog__save-button{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"] }]
7976
+ ], selector: 'aca-save-search-dialog', encapsulation: ViewEncapsulation.None, host: { class: 'aca-save-search-dialog' }, template: "<div class=\"aca-save-search-dialog__header\">\n <h2\n mat-dialog-title\n id=\"aca-save-search-dialog-title\"\n class=\"aca-save-search-dialog__title\">\n {{\"APP.BROWSE.SEARCH.SAVE_SEARCH.MODAL_HEADER\" | translate}}\n </h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate | titlecase\"\n [attr.title]=\"'CLOSE' | translate | titlecase\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n\n\n<mat-dialog-content>\n <form [formGroup]=\"form\" (submit)=\"submit()\">\n <mat-form-field class=\"aca-save-search-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate }}</mat-label>\n <input\n id=\"aca-save-search-dialog-name-input\"\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate\"\n matInput\n required\n [formControlName]=\"'name'\"\n />\n\n @if (form.controls['name'].touched) {\n <mat-error>\n @if (form.controls['name'].errors?.required) {\n <span>\n {{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_REQUIRED_ERROR' | translate }}\n </span>\n }\n @if (!form.controls['name'].errors?.required && form.controls['name'].errors?.message) {\n <span>\n {{ form.controls['name'].errors?.message | translate : { name: form.controls.name.value } }}\n </span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <mat-form-field class=\"aca-save-search-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate }}</mat-label>\n <textarea\n id=\"aca-save-search-dialog-description-input\"\n matInput\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate\"\n rows=\"4\"\n [formControlName]=\"'description'\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button\n mat-button\n id=\"aca-save-search-dialog-cancel-button\"\n mat-dialog-close>\n {{ 'CANCEL' | titlecase | translate }}\n </button>\n\n <button id=\"aca-save-search-dialog-save-button\"\n mat-flat-button\n class=\"aca-save-search-dialog__save-button\"\n (click)=\"submit()\"\n [disabled]=\"!form.valid || disableSubmitButton\">\n {{ 'SAVE' | titlecase | translate}}\n </button>\n</mat-dialog-actions>\n", styles: [".aca-save-search-dialog{--mat-dialog-with-actions-content-padding: 20px 24px}.aca-save-search-dialog .aca-save-search-dialog__form-field{width:100%;margin-bottom:15px}.aca-save-search-dialog mat-dialog-content mat-form-field{font-size:14px;letter-spacing:normal;line-height:20px}.aca-save-search-dialog mat-dialog-content mat-form-field mat-label{letter-spacing:normal}.aca-save-search-dialog .aca-save-search-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-save-search-dialog .aca-save-search-dialog__title{font-size:large;font-weight:200;margin:0}.aca-save-search-dialog .aca-save-search-dialog__save-button{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"] }]
7978
7977
  }], ctorParameters: () => [] });
7979
7978
 
7980
7979
  /*!
@@ -9296,11 +9295,11 @@ class SavedSearchDeleteDialogComponent {
9296
9295
  });
9297
9296
  }
9298
9297
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SavedSearchDeleteDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9299
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: SavedSearchDeleteDialogComponent, isStandalone: true, selector: "aca-saved-search-delete-dialog", host: { classAttribute: "aca-saved-search-delete-dialog" }, ngImport: i0, template: "<div class=\"aca-saved-search-delete-dialog__header\">\n <h2 class=\"aca-saved-search-delete-dialog__title\">{{\"APP.BROWSE.SEARCH.SAVE_SEARCH.DELETE_DIALOG.TITLE\" | translate}}</h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate\"\n [attr.title]=\"'CLOSE' | translate\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<mat-dialog-content>\n <p>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DELETE_DIALOG.CONTENT' | translate }}</p>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button mat-button\n mat-dialog-close\n adf-auto-focus\n id=\"aca-save-search-delete-dialog-cancel-button\">{{ 'CANCEL' | titlecase | translate }}</button>\n <button mat-flat-button\n id=\"aca-save-search-delete-dialog-submit-button\"\n [disabled]=\"isLoading\"\n (click)=\"onSubmit()\">{{ 'DELETE' | titlecase | translate }}</button>\n</mat-dialog-actions>\n", styles: [".aca-saved-search-delete-dialog{--mat-dialog-with-actions-content-padding: 20px 24px}.aca-saved-search-delete-dialog .aca-saved-search-delete-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-saved-search-delete-dialog .aca-saved-search-delete-dialog__title{font-size:large;font-weight:200;margin:0}.aca-saved-search-delete-dialog mat-dialog-actions button[mat-flat-button]{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i3$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: AutoFocusDirective, selector: "[adf-auto-focus]" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: TitleCasePipe, name: "titlecase" }], encapsulation: i0.ViewEncapsulation.None }); }
9298
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: SavedSearchDeleteDialogComponent, isStandalone: true, selector: "aca-saved-search-delete-dialog", host: { classAttribute: "aca-saved-search-delete-dialog" }, ngImport: i0, template: "<div class=\"aca-saved-search-delete-dialog__header\">\n <h2 mat-dialog-title class=\"aca-saved-search-delete-dialog__title\">{{\"APP.BROWSE.SEARCH.SAVE_SEARCH.DELETE_DIALOG.TITLE\" | translate}}</h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate\"\n [attr.title]=\"'CLOSE' | translate\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<mat-dialog-content>\n <p>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DELETE_DIALOG.CONTENT' | translate }}</p>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button mat-button\n mat-dialog-close\n adf-auto-focus\n id=\"aca-save-search-delete-dialog-cancel-button\">{{ 'CANCEL' | titlecase | translate }}</button>\n <button mat-flat-button\n id=\"aca-save-search-delete-dialog-submit-button\"\n [disabled]=\"isLoading\"\n (click)=\"onSubmit()\">{{ 'DELETE' | titlecase | translate }}</button>\n</mat-dialog-actions>\n", styles: [".aca-saved-search-delete-dialog{--mat-dialog-with-actions-content-padding: 20px 24px}.aca-saved-search-delete-dialog .aca-saved-search-delete-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-saved-search-delete-dialog .aca-saved-search-delete-dialog__title{font-size:large;font-weight:200;margin:0}.aca-saved-search-delete-dialog mat-dialog-actions button[mat-flat-button]{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i3$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: AutoFocusDirective, selector: "[adf-auto-focus]" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: TitleCasePipe, name: "titlecase" }], encapsulation: i0.ViewEncapsulation.None }); }
9300
9299
  }
9301
9300
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SavedSearchDeleteDialogComponent, decorators: [{
9302
9301
  type: Component,
9303
- args: [{ imports: [TranslatePipe, TitleCasePipe, MatIconModule, MatButtonModule, MatDialogModule, AutoFocusDirective], selector: 'aca-saved-search-delete-dialog', encapsulation: ViewEncapsulation.None, host: { class: 'aca-saved-search-delete-dialog' }, template: "<div class=\"aca-saved-search-delete-dialog__header\">\n <h2 class=\"aca-saved-search-delete-dialog__title\">{{\"APP.BROWSE.SEARCH.SAVE_SEARCH.DELETE_DIALOG.TITLE\" | translate}}</h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate\"\n [attr.title]=\"'CLOSE' | translate\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<mat-dialog-content>\n <p>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DELETE_DIALOG.CONTENT' | translate }}</p>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button mat-button\n mat-dialog-close\n adf-auto-focus\n id=\"aca-save-search-delete-dialog-cancel-button\">{{ 'CANCEL' | titlecase | translate }}</button>\n <button mat-flat-button\n id=\"aca-save-search-delete-dialog-submit-button\"\n [disabled]=\"isLoading\"\n (click)=\"onSubmit()\">{{ 'DELETE' | titlecase | translate }}</button>\n</mat-dialog-actions>\n", styles: [".aca-saved-search-delete-dialog{--mat-dialog-with-actions-content-padding: 20px 24px}.aca-saved-search-delete-dialog .aca-saved-search-delete-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-saved-search-delete-dialog .aca-saved-search-delete-dialog__title{font-size:large;font-weight:200;margin:0}.aca-saved-search-delete-dialog mat-dialog-actions button[mat-flat-button]{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"] }]
9302
+ args: [{ imports: [TranslatePipe, TitleCasePipe, MatIconModule, MatButtonModule, MatDialogModule, AutoFocusDirective], selector: 'aca-saved-search-delete-dialog', encapsulation: ViewEncapsulation.None, host: { class: 'aca-saved-search-delete-dialog' }, template: "<div class=\"aca-saved-search-delete-dialog__header\">\n <h2 mat-dialog-title class=\"aca-saved-search-delete-dialog__title\">{{\"APP.BROWSE.SEARCH.SAVE_SEARCH.DELETE_DIALOG.TITLE\" | translate}}</h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate\"\n [attr.title]=\"'CLOSE' | translate\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<mat-dialog-content>\n <p>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DELETE_DIALOG.CONTENT' | translate }}</p>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button mat-button\n mat-dialog-close\n adf-auto-focus\n id=\"aca-save-search-delete-dialog-cancel-button\">{{ 'CANCEL' | titlecase | translate }}</button>\n <button mat-flat-button\n id=\"aca-save-search-delete-dialog-submit-button\"\n [disabled]=\"isLoading\"\n (click)=\"onSubmit()\">{{ 'DELETE' | titlecase | translate }}</button>\n</mat-dialog-actions>\n", styles: [".aca-saved-search-delete-dialog{--mat-dialog-with-actions-content-padding: 20px 24px}.aca-saved-search-delete-dialog .aca-saved-search-delete-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-saved-search-delete-dialog .aca-saved-search-delete-dialog__title{font-size:large;font-weight:200;margin:0}.aca-saved-search-delete-dialog mat-dialog-actions button[mat-flat-button]{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"] }]
9304
9303
  }] });
9305
9304
 
9306
9305
  /*!
@@ -9382,7 +9381,7 @@ class SavedSearchEditDialogComponent {
9382
9381
  this.notificationService.showInfo('APP.BROWSE.SEARCH.SAVE_SEARCH.EDIT_DIALOG.SUCCESS_MESSAGE');
9383
9382
  }
9384
9383
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SavedSearchEditDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9385
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: SavedSearchEditDialogComponent, isStandalone: true, selector: "aca-saved-search-edit-dialog", host: { classAttribute: "aca-saved-search-edit-dialog" }, ngImport: i0, template: "<div class=\"aca-saved-search-edit-dialog__header\">\n <h2 class=\"aca-saved-search-edit-dialog__title\">{{\"APP.BROWSE.SEARCH.SAVE_SEARCH.EDIT_DIALOG.TITLE\" | translate}}</h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate\"\n [attr.title]=\"'CLOSE' | translate\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n\n<mat-dialog-content>\n <form [formGroup]=\"form\" (submit)=\"submit()\">\n <mat-form-field class=\"aca-saved-search-edit-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate }}</mat-label>\n <input\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate\"\n data-automation-id=\"saved-search-edit-name\"\n matInput\n required\n [formControlName]=\"'name'\"\n adf-auto-focus/>\n @if (form.controls['name'].touched) {\n <mat-error>\n @if (form.controls['name'].errors?.required) {\n <span>\n {{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_REQUIRED_ERROR' | translate }}\n </span>\n }\n @if (!form.controls['name'].errors?.required && form.controls['name'].errors?.message) {\n <span>\n {{ form.controls['name'].errors?.message | translate : { name: form.controls.name.value } }}\n </span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <mat-form-field class=\"aca-saved-search-edit-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate }}</mat-label>\n <textarea\n matInput\n data-automation-id=\"saved-search-edit-description\"\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate\"\n rows=\"4\"\n [formControlName]=\"'description'\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button mat-button\n id=\"aca-saved-search-edit-dialog-cancel-button\"\n mat-dialog-close> {{ 'CANCEL' | titlecase | translate }} </button>\n\n <button mat-flat-button\n id=\"aca-saved-search-edit-dialog-submit-button\"\n (click)=\"submit()\"\n [disabled]=\"!form.valid || isLoading\">{{ 'SAVE' | titlecase | translate}}</button>\n</mat-dialog-actions>\n", styles: [".aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__form-field{width:100%;margin-bottom:15px}.aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__title{font-size:large;font-weight:200;margin:0}.aca-saved-search-edit-dialog mat-dialog-actions button[mat-flat-button]{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"], dependencies: [{ kind: "directive", type: AutoFocusDirective, selector: "[adf-auto-focus]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i3$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: TitleCasePipe, name: "titlecase" }], encapsulation: i0.ViewEncapsulation.None }); }
9384
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: SavedSearchEditDialogComponent, isStandalone: true, selector: "aca-saved-search-edit-dialog", host: { classAttribute: "aca-saved-search-edit-dialog" }, ngImport: i0, template: "<div class=\"aca-saved-search-edit-dialog__header\">\n <h2 mat-dialog-title class=\"aca-saved-search-edit-dialog__title\">{{\"APP.BROWSE.SEARCH.SAVE_SEARCH.EDIT_DIALOG.TITLE\" | translate}}</h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate\"\n [attr.title]=\"'CLOSE' | translate\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n\n<mat-dialog-content>\n <form [formGroup]=\"form\" (submit)=\"submit()\">\n <mat-form-field class=\"aca-saved-search-edit-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate }}</mat-label>\n <input\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate\"\n data-automation-id=\"saved-search-edit-name\"\n matInput\n required\n [formControlName]=\"'name'\"\n adf-auto-focus/>\n @if (form.controls['name'].touched) {\n <mat-error>\n @if (form.controls['name'].errors?.required) {\n <span>\n {{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_REQUIRED_ERROR' | translate }}\n </span>\n }\n @if (!form.controls['name'].errors?.required && form.controls['name'].errors?.message) {\n <span>\n {{ form.controls['name'].errors?.message | translate : { name: form.controls.name.value } }}\n </span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <mat-form-field class=\"aca-saved-search-edit-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate }}</mat-label>\n <textarea\n matInput\n data-automation-id=\"saved-search-edit-description\"\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate\"\n rows=\"4\"\n [formControlName]=\"'description'\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button mat-button\n id=\"aca-saved-search-edit-dialog-cancel-button\"\n mat-dialog-close> {{ 'CANCEL' | titlecase | translate }} </button>\n\n <button mat-flat-button\n id=\"aca-saved-search-edit-dialog-submit-button\"\n (click)=\"submit()\"\n [disabled]=\"!form.valid || isLoading\">{{ 'SAVE' | titlecase | translate}}</button>\n</mat-dialog-actions>\n", styles: [".aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__form-field{width:100%;margin-bottom:15px}.aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__title{font-size:large;font-weight:200;margin:0}.aca-saved-search-edit-dialog mat-dialog-actions button[mat-flat-button]{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"], dependencies: [{ kind: "directive", type: AutoFocusDirective, selector: "[adf-auto-focus]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i3$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i3$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: TitleCasePipe, name: "titlecase" }], encapsulation: i0.ViewEncapsulation.None }); }
9386
9385
  }
9387
9386
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: SavedSearchEditDialogComponent, decorators: [{
9388
9387
  type: Component,
@@ -9396,7 +9395,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
9396
9395
  MatFormFieldModule,
9397
9396
  MatInputModule,
9398
9397
  TitleCasePipe
9399
- ], selector: 'aca-saved-search-edit-dialog', encapsulation: ViewEncapsulation.None, host: { class: 'aca-saved-search-edit-dialog' }, template: "<div class=\"aca-saved-search-edit-dialog__header\">\n <h2 class=\"aca-saved-search-edit-dialog__title\">{{\"APP.BROWSE.SEARCH.SAVE_SEARCH.EDIT_DIALOG.TITLE\" | translate}}</h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate\"\n [attr.title]=\"'CLOSE' | translate\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n\n<mat-dialog-content>\n <form [formGroup]=\"form\" (submit)=\"submit()\">\n <mat-form-field class=\"aca-saved-search-edit-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate }}</mat-label>\n <input\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate\"\n data-automation-id=\"saved-search-edit-name\"\n matInput\n required\n [formControlName]=\"'name'\"\n adf-auto-focus/>\n @if (form.controls['name'].touched) {\n <mat-error>\n @if (form.controls['name'].errors?.required) {\n <span>\n {{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_REQUIRED_ERROR' | translate }}\n </span>\n }\n @if (!form.controls['name'].errors?.required && form.controls['name'].errors?.message) {\n <span>\n {{ form.controls['name'].errors?.message | translate : { name: form.controls.name.value } }}\n </span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <mat-form-field class=\"aca-saved-search-edit-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate }}</mat-label>\n <textarea\n matInput\n data-automation-id=\"saved-search-edit-description\"\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate\"\n rows=\"4\"\n [formControlName]=\"'description'\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button mat-button\n id=\"aca-saved-search-edit-dialog-cancel-button\"\n mat-dialog-close> {{ 'CANCEL' | titlecase | translate }} </button>\n\n <button mat-flat-button\n id=\"aca-saved-search-edit-dialog-submit-button\"\n (click)=\"submit()\"\n [disabled]=\"!form.valid || isLoading\">{{ 'SAVE' | titlecase | translate}}</button>\n</mat-dialog-actions>\n", styles: [".aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__form-field{width:100%;margin-bottom:15px}.aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__title{font-size:large;font-weight:200;margin:0}.aca-saved-search-edit-dialog mat-dialog-actions button[mat-flat-button]{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"] }]
9398
+ ], selector: 'aca-saved-search-edit-dialog', encapsulation: ViewEncapsulation.None, host: { class: 'aca-saved-search-edit-dialog' }, template: "<div class=\"aca-saved-search-edit-dialog__header\">\n <h2 mat-dialog-title class=\"aca-saved-search-edit-dialog__title\">{{\"APP.BROWSE.SEARCH.SAVE_SEARCH.EDIT_DIALOG.TITLE\" | translate}}</h2>\n <button\n mat-icon-button\n mat-dialog-close\n [attr.aria-label]=\"'CLOSE' | translate\"\n [attr.title]=\"'CLOSE' | translate\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n\n<mat-dialog-content>\n <form [formGroup]=\"form\" (submit)=\"submit()\">\n <mat-form-field class=\"aca-saved-search-edit-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate }}</mat-label>\n <input\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate\"\n data-automation-id=\"saved-search-edit-name\"\n matInput\n required\n [formControlName]=\"'name'\"\n adf-auto-focus/>\n @if (form.controls['name'].touched) {\n <mat-error>\n @if (form.controls['name'].errors?.required) {\n <span>\n {{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_REQUIRED_ERROR' | translate }}\n </span>\n }\n @if (!form.controls['name'].errors?.required && form.controls['name'].errors?.message) {\n <span>\n {{ form.controls['name'].errors?.message | translate : { name: form.controls.name.value } }}\n </span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <mat-form-field class=\"aca-saved-search-edit-dialog__form-field\">\n <mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate }}</mat-label>\n <textarea\n matInput\n data-automation-id=\"saved-search-edit-description\"\n [attr.aria-label]=\"'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate\"\n rows=\"4\"\n [formControlName]=\"'description'\"></textarea>\n </mat-form-field>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions align=\"end\">\n <button mat-button\n id=\"aca-saved-search-edit-dialog-cancel-button\"\n mat-dialog-close> {{ 'CANCEL' | titlecase | translate }} </button>\n\n <button mat-flat-button\n id=\"aca-saved-search-edit-dialog-submit-button\"\n (click)=\"submit()\"\n [disabled]=\"!form.valid || isLoading\">{{ 'SAVE' | titlecase | translate}}</button>\n</mat-dialog-actions>\n", styles: [".aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__form-field{width:100%;margin-bottom:15px}.aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__header{display:flex;align-items:center;padding-left:20px;justify-content:space-between}.aca-saved-search-edit-dialog .aca-saved-search-edit-dialog__title{font-size:large;font-weight:200;margin:0}.aca-saved-search-edit-dialog mat-dialog-actions button[mat-flat-button]{--mat-button-filled-container-color: var(--theme-primary-color);--mat-button-filled-label-text-color: var(--theme-primary-color-default-contrast)}\n"] }]
9400
9399
  }], ctorParameters: () => [] });
9401
9400
 
9402
9401
  /*!
@@ -9431,7 +9430,8 @@ class SavedSearchesListUiService {
9431
9430
  .open(SavedSearchEditDialogComponent, {
9432
9431
  data: savedSearch,
9433
9432
  width: '600px',
9434
- restoreFocus: false
9433
+ restoreFocus: false,
9434
+ role: 'dialog'
9435
9435
  })
9436
9436
  .afterClosed()
9437
9437
  .subscribe(() => this.focusAfterClose(savedSearch.name, fromContextMenu));
@@ -9441,7 +9441,8 @@ class SavedSearchesListUiService {
9441
9441
  .open(SavedSearchDeleteDialogComponent, {
9442
9442
  data: savedSearch,
9443
9443
  minWidth: '500px',
9444
- restoreFocus: false
9444
+ restoreFocus: false,
9445
+ role: 'dialog'
9445
9446
  })
9446
9447
  .afterClosed()
9447
9448
  .subscribe(() => this.focusAfterClose(savedSearch.name, fromContextMenu));