@tilde-nlp/ngx-common 8.1.11 → 8.1.13

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.
@@ -3328,7 +3328,7 @@ class FileUploadModule {
3328
3328
  const _c0$a = ["filterWrapper"];
3329
3329
  const _c1$4 = ["optionSearchInput"];
3330
3330
  const _c2$2 = a0 => ({ default: a0 });
3331
- const _forTrack0$1 = ($index, $item) => $item.fieldName;
3331
+ const _forTrack0$2 = ($index, $item) => $item.fieldName;
3332
3332
  const _forTrack1 = ($index, $item) => $item.key;
3333
3333
  const _forTrack2 = ($index, $item) => $item.value;
3334
3334
  function FilterBarComponent_div_0_For_5_span_5_Template(rf, ctx) { if (rf & 1) {
@@ -3476,7 +3476,7 @@ function FilterBarComponent_div_0_ng_container_6_Template(rf, ctx) { if (rf & 1)
3476
3476
  function FilterBarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
3477
3477
  i0.ɵɵelementStart(0, "div", 6)(1, "div", 7, 0);
3478
3478
  i0.ɵɵelementContainerStart(3, 8);
3479
- i0.ɵɵrepeaterCreate(4, FilterBarComponent_div_0_For_5_Template, 12, 12, "button", 9, _forTrack0$1);
3479
+ i0.ɵɵrepeaterCreate(4, FilterBarComponent_div_0_For_5_Template, 12, 12, "button", 9, _forTrack0$2);
3480
3480
  i0.ɵɵelementContainerEnd();
3481
3481
  i0.ɵɵelementEnd();
3482
3482
  i0.ɵɵtemplate(6, FilterBarComponent_div_0_ng_container_6_Template, 8, 0, "ng-container", 10);
@@ -7821,7 +7821,7 @@ class ToastService {
7821
7821
  }]
7822
7822
  }], null, null); })();
7823
7823
 
7824
- const _forTrack0 = ($index, $item) => $item.id;
7824
+ const _forTrack0$1 = ($index, $item) => $item.id;
7825
7825
  function ToastComponent_For_2_Template(rf, ctx) { if (rf & 1) {
7826
7826
  const _r1 = i0.ɵɵgetCurrentView();
7827
7827
  i0.ɵɵelementStart(0, "div", 1)(1, "span");
@@ -7855,7 +7855,7 @@ class ToastComponent {
7855
7855
  static { this.ɵfac = function ToastComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToastComponent)(); }; }
7856
7856
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToastComponent, selectors: [["lib-toast"]], decls: 3, vars: 0, consts: [[1, "toast-container"], [1, "toast"], ["mat-icon-button", "", 3, "click"]], template: function ToastComponent_Template(rf, ctx) { if (rf & 1) {
7857
7857
  i0.ɵɵelementStart(0, "div", 0);
7858
- i0.ɵɵrepeaterCreate(1, ToastComponent_For_2_Template, 7, 4, "div", 1, _forTrack0);
7858
+ i0.ɵɵrepeaterCreate(1, ToastComponent_For_2_Template, 7, 4, "div", 1, _forTrack0$1);
7859
7859
  i0.ɵɵelementEnd();
7860
7860
  } if (rf & 2) {
7861
7861
  i0.ɵɵadvance();
@@ -7886,14 +7886,18 @@ var SubscriptionPlan;
7886
7886
  SubscriptionPlan["EventAssistantUnlimited"] = "Event-Assistant-Unlimited";
7887
7887
  })(SubscriptionPlan || (SubscriptionPlan = {}));
7888
7888
 
7889
+ const CUSTOM_TITLE_CONFIGURATION_TOKEN = new InjectionToken('CUSTOM_TITLE_CONFIGURATION_TOKEN');
7890
+
7889
7891
  class CustomTitleStrategyService extends TitleStrategy {
7890
7892
  #translateService;
7893
+ #config;
7891
7894
  constructor() {
7892
7895
  super();
7893
7896
  this.#translateService = inject(TranslateService);
7894
7897
  this.title = inject(Title);
7895
7898
  this.appName = "APP_NAME";
7896
7899
  this.owner = "OWNER";
7900
+ this.#config = inject(CUSTOM_TITLE_CONFIGURATION_TOKEN);
7897
7901
  }
7898
7902
  updateTitle(snapshot) {
7899
7903
  if (this.subscription) {
@@ -7907,7 +7911,9 @@ class CustomTitleStrategyService extends TitleStrategy {
7907
7911
  this.subscription = this.#translateService.stream(translationKeys, { appName: this.appName }).subscribe((translations) => {
7908
7912
  let translatedTitle = `${translations[this.owner]} ${translations[this.appName]}`;
7909
7913
  if (title && translations[title]) {
7910
- translatedTitle += ` | ${translations[title]}`;
7914
+ translatedTitle = this.#config.isPageTitleFirst
7915
+ ? `${translatedTitle} | ${translations[title]}`
7916
+ : `${translations[title]} | ${translatedTitle}`;
7911
7917
  }
7912
7918
  this.title.setTitle(translatedTitle);
7913
7919
  });
@@ -7922,11 +7928,17 @@ class CustomTitleStrategyService extends TitleStrategy {
7922
7928
  }]
7923
7929
  }], () => [], null); })();
7924
7930
 
7925
- const provideCustomTitleStrategy = () => {
7926
- return {
7927
- provide: TitleStrategy,
7928
- useClass: CustomTitleStrategyService,
7929
- };
7931
+ const provideCustomTitleStrategy = (customConfigProvider) => {
7932
+ const TITLE_STRATEGY_PROVIDERS = [
7933
+ {
7934
+ provide: TitleStrategy,
7935
+ useClass: CustomTitleStrategyService,
7936
+ },
7937
+ ];
7938
+ if (customConfigProvider) {
7939
+ TITLE_STRATEGY_PROVIDERS.push(customConfigProvider);
7940
+ }
7941
+ return TITLE_STRATEGY_PROVIDERS;
7930
7942
  };
7931
7943
 
7932
7944
  class MissingTranslationHandlerService {
@@ -8777,11 +8789,12 @@ class AccessibilityService {
8777
8789
  }]
8778
8790
  }], null, null); })();
8779
8791
 
8792
+ const _forTrack0 = ($index, $item) => $item.text;
8780
8793
  function AccessibilityDialogComponent_For_18_Template(rf, ctx) { if (rf & 1) {
8781
8794
  const _r1 = i0.ɵɵgetCurrentView();
8782
- i0.ɵɵelementStart(0, "button", 14);
8795
+ i0.ɵɵelementStart(0, "button", 17);
8783
8796
  i0.ɵɵlistener("click", function AccessibilityDialogComponent_For_18_Template_button_click_0_listener() { const contrast_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.changeContrast(contrast_r2)); });
8784
- i0.ɵɵelementStart(1, "mat-icon", 15);
8797
+ i0.ɵɵelementStart(1, "mat-icon", 18);
8785
8798
  i0.ɵɵtext(2, "visibility");
8786
8799
  i0.ɵɵelementEnd()();
8787
8800
  } if (rf & 2) {
@@ -8790,11 +8803,26 @@ function AccessibilityDialogComponent_For_18_Template(rf, ctx) { if (rf & 1) {
8790
8803
  i0.ɵɵclassMap(contrast_r2);
8791
8804
  i0.ɵɵclassProp("active", contrast_r2 === ctx_r2.currentContrast);
8792
8805
  } }
8806
+ function AccessibilityDialogComponent_For_32_Template(rf, ctx) { if (rf & 1) {
8807
+ i0.ɵɵelementStart(0, "a", 14);
8808
+ i0.ɵɵtext(1);
8809
+ i0.ɵɵpipe(2, "translate");
8810
+ i0.ɵɵelementStart(3, "mat-icon");
8811
+ i0.ɵɵtext(4, "arrow_forward_ios");
8812
+ i0.ɵɵelementEnd()();
8813
+ } if (rf & 2) {
8814
+ const feature_r4 = ctx.$implicit;
8815
+ i0.ɵɵproperty("href", feature_r4.link, i0.ɵɵsanitizeUrl);
8816
+ i0.ɵɵadvance();
8817
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, feature_r4.text), " ");
8818
+ } }
8793
8819
  class AccessibilityDialogComponent {
8794
8820
  constructor() {
8795
8821
  this.currentContrast = AccessibilityContrasts.BASE;
8796
8822
  this.#accessibility = inject(AccessibilityService);
8797
8823
  this.contrasts = Object.values(AccessibilityContrasts);
8824
+ this.data = inject(MAT_DIALOG_DATA);
8825
+ this.featureSources = [];
8798
8826
  }
8799
8827
  #accessibility;
8800
8828
  ngOnInit() {
@@ -8802,6 +8830,7 @@ class AccessibilityDialogComponent {
8802
8830
  this.currentContrast = this.#accessibility.getSavedContrast();
8803
8831
  this.isTextMagnifierEnabled = this.#accessibility.getSavedTextMagnifierStatus();
8804
8832
  this.isScreenMaskEnabled = this.#accessibility.getSavedScreenMaskStatus();
8833
+ this.setFeatureSources();
8805
8834
  }
8806
8835
  changeContrast(contrast) {
8807
8836
  this.currentContrast = contrast;
@@ -8836,8 +8865,24 @@ class AccessibilityDialogComponent {
8836
8865
  this.#accessibility.saveFontSize(this.selectedFontSizeIndex);
8837
8866
  this.#accessibility.setFontSize(this.selectedFontSizeIndex);
8838
8867
  }
8868
+ setFeatureSources() {
8869
+ this.featureSources = [
8870
+ {
8871
+ text: 'ACCESSIBILITY.EASY_TO_READ',
8872
+ link: `${this.data.baseUrl}easy-read`,
8873
+ },
8874
+ {
8875
+ text: 'ACCESSIBILITY.OTHER_SETTINGS',
8876
+ link: `${this.data.baseUrl}accessibility-features`,
8877
+ },
8878
+ {
8879
+ text: 'ACCESSIBILITY.NOTIFICATION',
8880
+ link: `${this.data.baseUrl}accessibility-statement`,
8881
+ }
8882
+ ];
8883
+ }
8839
8884
  static { this.ɵfac = function AccessibilityDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AccessibilityDialogComponent)(); }; }
8840
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AccessibilityDialogComponent, selectors: [["lib-accessibility-dialog"]], decls: 36, vars: 32, consts: [["mat-dialog-title", "", 1, "text-2-xl"], ["mat-dialog-content", ""], [1, "font-size-wrapper"], [1, "settings-title"], ["animationDuration", "0ms", 3, "selectedTabChange", "selectedIndex"], [3, "label"], [1, "contrast-wrapper"], [1, "contrast-option-wrapper"], [1, "contrast-option", 3, "class", "active"], [1, "visual-tools-wrapper"], ["mat-stroked-button", "", 3, "click"], ["mat-stroked-button", "", 1, "screen-mask-btn", 3, "click"], ["mat-dialog-actions", ""], ["mat-flat-button", "", "mat-dialog-close", ""], [1, "contrast-option", 3, "click"], [1, "material-icons-outlined"]], template: function AccessibilityDialogComponent_Template(rf, ctx) { if (rf & 1) {
8885
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AccessibilityDialogComponent, selectors: [["lib-accessibility-dialog"]], decls: 40, vars: 32, consts: [["mat-dialog-title", "", 1, "text-2-xl"], ["mat-dialog-content", ""], [1, "font-size-wrapper"], [1, "settings-title"], ["animationDuration", "0ms", 3, "selectedTabChange", "selectedIndex"], [3, "label"], [1, "contrast-wrapper"], [1, "contrast-option-wrapper"], [1, "contrast-option", 3, "class", "active"], [1, "visual-tools-wrapper"], ["mat-stroked-button", "", 3, "click"], ["mat-stroked-button", "", 1, "screen-mask-btn", 3, "click"], [1, "divider"], [1, "feature-links-wrapper"], [1, "feature-link", 3, "href"], ["mat-dialog-actions", ""], ["mat-flat-button", "", "mat-dialog-close", ""], [1, "contrast-option", 3, "click"], [1, "material-icons-outlined"]], template: function AccessibilityDialogComponent_Template(rf, ctx) { if (rf & 1) {
8841
8886
  i0.ɵɵelementStart(0, "h1", 0);
8842
8887
  i0.ɵɵtext(1);
8843
8888
  i0.ɵɵpipe(2, "translate");
@@ -8870,15 +8915,19 @@ class AccessibilityDialogComponent {
8870
8915
  i0.ɵɵlistener("click", function AccessibilityDialogComponent_Template_button_click_26_listener() { return ctx.toggleScreenMask(); });
8871
8916
  i0.ɵɵtext(27);
8872
8917
  i0.ɵɵpipe(28, "translate");
8873
- i0.ɵɵelementEnd()()();
8874
- i0.ɵɵelementStart(29, "div", 12)(30, "button", 10);
8875
- i0.ɵɵlistener("click", function AccessibilityDialogComponent_Template_button_click_30_listener() { return ctx.reset(); });
8876
- i0.ɵɵtext(31);
8877
- i0.ɵɵpipe(32, "translate");
8918
+ i0.ɵɵelementEnd()();
8919
+ i0.ɵɵelement(29, "div", 12);
8920
+ i0.ɵɵelementStart(30, "div", 13);
8921
+ i0.ɵɵrepeaterCreate(31, AccessibilityDialogComponent_For_32_Template, 5, 4, "a", 14, _forTrack0);
8922
+ i0.ɵɵelementEnd()();
8923
+ i0.ɵɵelementStart(33, "div", 15)(34, "button", 10);
8924
+ i0.ɵɵlistener("click", function AccessibilityDialogComponent_Template_button_click_34_listener() { return ctx.reset(); });
8925
+ i0.ɵɵtext(35);
8926
+ i0.ɵɵpipe(36, "translate");
8878
8927
  i0.ɵɵelementEnd();
8879
- i0.ɵɵelementStart(33, "button", 13);
8880
- i0.ɵɵtext(34);
8881
- i0.ɵɵpipe(35, "translate");
8928
+ i0.ɵɵelementStart(37, "button", 16);
8929
+ i0.ɵɵtext(38);
8930
+ i0.ɵɵpipe(39, "translate");
8882
8931
  i0.ɵɵelementEnd()();
8883
8932
  } if (rf & 2) {
8884
8933
  i0.ɵɵadvance();
@@ -8908,14 +8957,16 @@ class AccessibilityDialogComponent {
8908
8957
  i0.ɵɵadvance();
8909
8958
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 26, "ACCESSIBILITY.SCREEN_MASK"), " ");
8910
8959
  i0.ɵɵadvance(4);
8911
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(32, 28, "ACCESSIBILITY.RESET"));
8960
+ i0.ɵɵrepeater(ctx.featureSources);
8961
+ i0.ɵɵadvance(4);
8962
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(36, 28, "ACCESSIBILITY.RESET"));
8912
8963
  i0.ɵɵadvance(3);
8913
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(35, 30, "ACCESSIBILITY.CLOSE"));
8914
- } }, dependencies: [MatDialogModule, i1$4.MatDialogClose, i1$4.MatDialogTitle, i1$4.MatDialogActions, i1$4.MatDialogContent, TranslateModule, MatButtonModule, i2$1.MatButton, MatTabsModule, i3$1.MatTab, i3$1.MatTabGroup, MatIconModule, i1.MatIcon, i1$1.TranslatePipe], styles: [".settings-title[_ngcontent-%COMP%]{color:var(--base-30);font-weight:600;font-size:.8125rem;margin-bottom:12px}.contrast-wrapper[_ngcontent-%COMP%]{margin-top:24px}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%]{display:flex;gap:12px}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:8px 24px;color:#000!important;background-color:#fff!important;border-radius:8px;width:100%;border:2px solid transparent}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.black-white[_ngcontent-%COMP%]{background-color:#000!important;color:#fff!important}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.yellow-black[_ngcontent-%COMP%]{background-color:#f9f150!important;color:#000!important}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.black-yellow[_ngcontent-%COMP%]{background-color:#000!important;color:#f9f150!important}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.active[_ngcontent-%COMP%]{border:2px solid;border-color:var(--base-0)}.visual-tools-wrapper[_ngcontent-%COMP%]{margin-top:24px}.visual-tools-wrapper[_ngcontent-%COMP%] .screen-mask-btn[_ngcontent-%COMP%]{margin-left:8px}[_nghost-%COMP%] .mdc-tab--active{background-color:var(--mat-sys-primary-container)!important}[_nghost-%COMP%] .mdc-tab--active .mdc-tab__text-label{color:var(--primary-accent)!important}[_nghost-%COMP%] .mat-mdc-tab{width:50px;border:1px solid var(--base-70)}[_nghost-%COMP%] .mat-mdc-tab:first-child{border-bottom-left-radius:16px;border-top-left-radius:16px}[_nghost-%COMP%] .mat-mdc-tab:last-child{border-bottom-right-radius:16px;border-top-right-radius:16px}[_nghost-%COMP%] .mdc-tab-indicator__content--underline{display:none}[_nghost-%COMP%] .mat-mdc-tab-label-container{border-bottom-width:0!important}[_nghost-%COMP%] .active .mdc-button__ripple{background-color:var(--primary-accent)!important;opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}"] }); }
8964
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(39, 30, "ACCESSIBILITY.CLOSE"));
8965
+ } }, dependencies: [MatDialogModule, i1$4.MatDialogClose, i1$4.MatDialogTitle, i1$4.MatDialogActions, i1$4.MatDialogContent, TranslateModule, MatButtonModule, i2$1.MatButton, MatTabsModule, i3$1.MatTab, i3$1.MatTabGroup, MatIconModule, i1.MatIcon, i1$1.TranslatePipe], styles: [".settings-title[_ngcontent-%COMP%]{color:var(--base-30);font-weight:600;font-size:.8125rem;margin-bottom:12px}.contrast-wrapper[_ngcontent-%COMP%]{margin-top:24px}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%]{display:flex;gap:12px}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:8px 24px;color:#000!important;background-color:#fff!important;border-radius:8px;width:100%;border:2px solid transparent}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.black-white[_ngcontent-%COMP%]{background-color:#000!important;color:#fff!important}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.yellow-black[_ngcontent-%COMP%]{background-color:#f9f150!important;color:#000!important}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.black-yellow[_ngcontent-%COMP%]{background-color:#000!important;color:#f9f150!important}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.active[_ngcontent-%COMP%]{border:2px solid;border-color:var(--base-0)}.visual-tools-wrapper[_ngcontent-%COMP%]{margin-top:24px}.visual-tools-wrapper[_ngcontent-%COMP%] .screen-mask-btn[_ngcontent-%COMP%]{margin-left:8px}.divider[_ngcontent-%COMP%]{margin:24px 0;border:1px solid var(--base-70)}.feature-links-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.feature-link[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;color:var(--base-40)}.feature-link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{scale:.75}[_nghost-%COMP%] .mdc-tab--active{background-color:var(--mat-sys-primary-container)!important}[_nghost-%COMP%] .mdc-tab--active .mdc-tab__text-label{color:var(--primary-accent)!important}[_nghost-%COMP%] .mat-mdc-tab{width:50px;border:1px solid var(--base-70)}[_nghost-%COMP%] .mat-mdc-tab:first-child{border-bottom-left-radius:16px;border-top-left-radius:16px}[_nghost-%COMP%] .mat-mdc-tab:last-child{border-bottom-right-radius:16px;border-top-right-radius:16px}[_nghost-%COMP%] .mdc-tab-indicator__content--underline{display:none}[_nghost-%COMP%] .mat-mdc-tab-label-container{border-bottom-width:0!important}[_nghost-%COMP%] .active .mdc-button__ripple{background-color:var(--primary-accent)!important;opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}"] }); }
8915
8966
  }
8916
8967
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccessibilityDialogComponent, [{
8917
8968
  type: Component,
8918
- args: [{ selector: 'lib-accessibility-dialog', imports: [MatDialogModule, TranslateModule, MatButtonModule, MatTabsModule, MatIconModule], template: "<h1 mat-dialog-title class=\"text-2-xl\">{{ \"ACCESSIBILITY.TITLE\" | translate }}</h1>\r\n\r\n<div mat-dialog-content>\r\n\t<div class=\"font-size-wrapper\">\r\n\t\t<p class=\"settings-title\">\r\n\t\t\t{{ \"ACCESSIBILITY.FONT_SIZE_LABEL\" | translate }}\r\n\t\t</p>\r\n\r\n\t\t<mat-tab-group [selectedIndex]=\"selectedFontSizeIndex\" (selectedTabChange)=\"changeFontSize($event)\" animationDuration=\"0ms\">\r\n\t\t\t<mat-tab [label]=\"'100%'\"></mat-tab>\r\n\t\t\t<mat-tab [label]=\"'150%'\"></mat-tab>\r\n\t\t\t<mat-tab [label]=\"'200%'\"></mat-tab>\r\n\t\t</mat-tab-group>\r\n\t</div>\r\n\r\n\t<div class=\"contrast-wrapper\">\r\n\t\t<p class=\"settings-title\">\r\n\t\t\t{{ \"ACCESSIBILITY.CONTRAST_LABEL\" | translate }}\r\n\t\t</p>\r\n\r\n\t\t<div class=\"contrast-option-wrapper\">\r\n\t\t\t@for (contrast of contrasts; track contrast) {\r\n\t\t\t<button (click)=\"changeContrast(contrast)\" [class]=\"contrast\" [class.active]=\"contrast === currentContrast\" class=\"contrast-option\">\r\n\t\t\t\t<mat-icon class=\"material-icons-outlined\">visibility</mat-icon>\r\n\t\t\t</button>\r\n\t\t\t}\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"visual-tools-wrapper\">\r\n\t\t<p class=\"settings-title\">\r\n\t\t\t{{ \"ACCESSIBILITY.VISUAL_TOOLS_LABEL\" | translate }}\r\n\t\t</p>\r\n\r\n\t\t<button mat-stroked-button [class.active]=\"isTextMagnifierEnabled\" (click)=\"toggleTextMagnifier()\">\r\n\t\t\t{{ \"ACCESSIBILITY.TEXT_MAGNIFIER\" | translate }}\r\n\t\t</button>\r\n\r\n\t\t<button class=\"screen-mask-btn\" mat-stroked-button [class.active]=\"isScreenMaskEnabled\" (click)=\"toggleScreenMask()\">\r\n\t\t\t{{ \"ACCESSIBILITY.SCREEN_MASK\" | translate }}\r\n\t\t</button>\r\n\t</div>\r\n</div>\r\n\r\n<div mat-dialog-actions>\r\n\t<button mat-stroked-button (click)=\"reset()\">{{ \"ACCESSIBILITY.RESET\" | translate }}</button>\r\n\t<button mat-flat-button mat-dialog-close>{{ \"ACCESSIBILITY.CLOSE\" | translate }}</button>\r\n</div>\r\n", styles: [".settings-title{color:var(--base-30);font-weight:600;font-size:.8125rem;margin-bottom:12px}.contrast-wrapper{margin-top:24px}.contrast-wrapper .contrast-option-wrapper{display:flex;gap:12px}.contrast-wrapper .contrast-option-wrapper .contrast-option{display:flex;justify-content:center;align-items:center;padding:8px 24px;color:#000!important;background-color:#fff!important;border-radius:8px;width:100%;border:2px solid transparent}.contrast-wrapper .contrast-option-wrapper .contrast-option.black-white{background-color:#000!important;color:#fff!important}.contrast-wrapper .contrast-option-wrapper .contrast-option.yellow-black{background-color:#f9f150!important;color:#000!important}.contrast-wrapper .contrast-option-wrapper .contrast-option.black-yellow{background-color:#000!important;color:#f9f150!important}.contrast-wrapper .contrast-option-wrapper .contrast-option.active{border:2px solid;border-color:var(--base-0)}.visual-tools-wrapper{margin-top:24px}.visual-tools-wrapper .screen-mask-btn{margin-left:8px}:host ::ng-deep .mdc-tab--active{background-color:var(--mat-sys-primary-container)!important}:host ::ng-deep .mdc-tab--active .mdc-tab__text-label{color:var(--primary-accent)!important}:host ::ng-deep .mat-mdc-tab{width:50px;border:1px solid var(--base-70)}:host ::ng-deep .mat-mdc-tab:first-child{border-bottom-left-radius:16px;border-top-left-radius:16px}:host ::ng-deep .mat-mdc-tab:last-child{border-bottom-right-radius:16px;border-top-right-radius:16px}:host ::ng-deep .mdc-tab-indicator__content--underline{display:none}:host ::ng-deep .mat-mdc-tab-label-container{border-bottom-width:0!important}:host ::ng-deep .active .mdc-button__ripple{background-color:var(--primary-accent)!important;opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}\n"] }]
8969
+ args: [{ selector: 'lib-accessibility-dialog', imports: [MatDialogModule, TranslateModule, MatButtonModule, MatTabsModule, MatIconModule], template: "<h1 mat-dialog-title class=\"text-2-xl\">{{ \"ACCESSIBILITY.TITLE\" | translate }}</h1>\r\n\r\n<div mat-dialog-content>\r\n\t<div class=\"font-size-wrapper\">\r\n\t\t<p class=\"settings-title\">\r\n\t\t\t{{ \"ACCESSIBILITY.FONT_SIZE_LABEL\" | translate }}\r\n\t\t</p>\r\n\r\n\t\t<mat-tab-group [selectedIndex]=\"selectedFontSizeIndex\" (selectedTabChange)=\"changeFontSize($event)\" animationDuration=\"0ms\">\r\n\t\t\t<mat-tab [label]=\"'100%'\"></mat-tab>\r\n\t\t\t<mat-tab [label]=\"'150%'\"></mat-tab>\r\n\t\t\t<mat-tab [label]=\"'200%'\"></mat-tab>\r\n\t\t</mat-tab-group>\r\n\t</div>\r\n\r\n\t<div class=\"contrast-wrapper\">\r\n\t\t<p class=\"settings-title\">\r\n\t\t\t{{ \"ACCESSIBILITY.CONTRAST_LABEL\" | translate }}\r\n\t\t</p>\r\n\r\n\t\t<div class=\"contrast-option-wrapper\">\r\n\t\t\t@for (contrast of contrasts; track contrast) {\r\n\t\t\t<button (click)=\"changeContrast(contrast)\" [class]=\"contrast\" [class.active]=\"contrast === currentContrast\" class=\"contrast-option\">\r\n\t\t\t\t<mat-icon class=\"material-icons-outlined\">visibility</mat-icon>\r\n\t\t\t</button>\r\n\t\t\t}\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"visual-tools-wrapper\">\r\n\t\t<p class=\"settings-title\">\r\n\t\t\t{{ \"ACCESSIBILITY.VISUAL_TOOLS_LABEL\" | translate }}\r\n\t\t</p>\r\n\r\n\t\t<button mat-stroked-button [class.active]=\"isTextMagnifierEnabled\" (click)=\"toggleTextMagnifier()\">\r\n\t\t\t{{ \"ACCESSIBILITY.TEXT_MAGNIFIER\" | translate }}\r\n\t\t</button>\r\n\r\n\t\t<button class=\"screen-mask-btn\" mat-stroked-button [class.active]=\"isScreenMaskEnabled\" (click)=\"toggleScreenMask()\">\r\n\t\t\t{{ \"ACCESSIBILITY.SCREEN_MASK\" | translate }}\r\n\t\t</button>\r\n\t</div>\r\n\r\n\t<div class=\"divider\"></div>\r\n\r\n\t<div class=\"feature-links-wrapper\">\r\n\t\t@for (feature of featureSources; track feature.text) {\r\n\t\t\t<a [href]=\"feature.link\" class=\"feature-link\">\r\n\t\t\t\t{{ feature.text | translate }} \r\n\t\t\t\t<mat-icon>arrow_forward_ios</mat-icon>\r\n\t\t\t</a>\r\n\t\t}\r\n\t</div>\r\n</div>\r\n\r\n<div mat-dialog-actions>\r\n\t<button mat-stroked-button (click)=\"reset()\">{{ \"ACCESSIBILITY.RESET\" | translate }}</button>\r\n\t<button mat-flat-button mat-dialog-close>{{ \"ACCESSIBILITY.CLOSE\" | translate }}</button>\r\n</div>\r\n", styles: [".settings-title{color:var(--base-30);font-weight:600;font-size:.8125rem;margin-bottom:12px}.contrast-wrapper{margin-top:24px}.contrast-wrapper .contrast-option-wrapper{display:flex;gap:12px}.contrast-wrapper .contrast-option-wrapper .contrast-option{display:flex;justify-content:center;align-items:center;padding:8px 24px;color:#000!important;background-color:#fff!important;border-radius:8px;width:100%;border:2px solid transparent}.contrast-wrapper .contrast-option-wrapper .contrast-option.black-white{background-color:#000!important;color:#fff!important}.contrast-wrapper .contrast-option-wrapper .contrast-option.yellow-black{background-color:#f9f150!important;color:#000!important}.contrast-wrapper .contrast-option-wrapper .contrast-option.black-yellow{background-color:#000!important;color:#f9f150!important}.contrast-wrapper .contrast-option-wrapper .contrast-option.active{border:2px solid;border-color:var(--base-0)}.visual-tools-wrapper{margin-top:24px}.visual-tools-wrapper .screen-mask-btn{margin-left:8px}.divider{margin:24px 0;border:1px solid var(--base-70)}.feature-links-wrapper{display:flex;flex-direction:column;gap:12px}.feature-link{width:100%;display:flex;align-items:center;justify-content:space-between;color:var(--base-40)}.feature-link mat-icon{scale:.75}:host ::ng-deep .mdc-tab--active{background-color:var(--mat-sys-primary-container)!important}:host ::ng-deep .mdc-tab--active .mdc-tab__text-label{color:var(--primary-accent)!important}:host ::ng-deep .mat-mdc-tab{width:50px;border:1px solid var(--base-70)}:host ::ng-deep .mat-mdc-tab:first-child{border-bottom-left-radius:16px;border-top-left-radius:16px}:host ::ng-deep .mat-mdc-tab:last-child{border-bottom-right-radius:16px;border-top-right-radius:16px}:host ::ng-deep .mdc-tab-indicator__content--underline{display:none}:host ::ng-deep .mat-mdc-tab-label-container{border-bottom-width:0!important}:host ::ng-deep .active .mdc-button__ripple{background-color:var(--primary-accent)!important;opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}\n"] }]
8919
8970
  }], null, null); })();
8920
8971
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AccessibilityDialogComponent, { className: "AccessibilityDialogComponent", filePath: "lib/accessibility/accessibility-dialog.component.ts", lineNumber: 16 }); })();
8921
8972
 
@@ -8972,5 +9023,5 @@ class CustomTranslateLoader {
8972
9023
  * Generated bundle index. Do not edit.
8973
9024
  */
8974
9025
 
8975
- export { ALERT_CONFIGURATION_TOKEN, AccessibilityContrasts, AccessibilityDialogComponent, AccessibilityFontSizes, AccessibilityService, AccessibilityTextMagnifierService, AlertService, AuthHeadersHelper, COLLECTIONS_MENU, ClickOutsideDirective, ClickOutsideModule, CloseButtonComponent, CloseButtonModule, CombinedCollection, CombinedCollectionTooltipKey, CompanyProductComponent, CompanyProductModule, Confirmation, ConfirmationModalComponent, ConfirmationModalModule, ConfirmationService, ConversionHelper, CustomPaginatorInernationalizationHelper, CustomTitleStrategyService, CustomTranslateLoader, DISABLE_EXPORT_ATTRIBUTE_NAME, DOMService, DateAgoModule, DateAgoPipe, DomainTranslatePipe, DragAndDropDirective, DragAndDropModule, ERROR_CODES, EngineTermApiService, EngineTermCollectionScope, EngineTermCollectionSource, EngineTermCollectionStatus, EngineTermCollectionSubStatus, ExportFormat, ExtensionDialogComponent, ExtensionDialogModule, ExtensionDialogService, FILE_SIZE_UNIT, FileCategories, FileExtensionHelper, FileExtensions, FileSizeLabelPipe, FileTypeIcons, FileTypes, FileUploadComponent, FileUploadErrorTypeEnum, FileUploadModule, FilterBarComponent, FilterBarModule, FilterWithHighlightModule, FilterWithHighlightPipe, FooterComponent, FooterModule, GlobalMessageComponent, HashHelper, HtmlElementParseHelper, HtmlHelper, IconService, InlineMessageComponent, InlineMessageIconPosition, InlineMessageModule, InlineMessageType, LAST_USED_SYSTEM_LOCAL_STORAGE_KEY, LLMActions, LLMComponent, LLMModule, LLM_CONFIGURATION_TOKEN, LanguageTranslateModule, LanguageTranslatePipe, LanguageTranslateService, MatButtonLoadingDirective, MatButtonLoadingModule, MissingTranslationHandlerService, MissingTranslationHelper, MtCollectionStatus, MultiFunctionalTableComponent, MultiFunctionalTableModule, NewFeatureDialogWrapperComponent, NotificationMessageComponent, NotificationMessageModule, NotificationMessageType, NotificationService, OPEN_CLOSE_BTN_ICONS_TOKEN, ObjectLengthModule, ObjectLengthPipe, OpenCloseButtonComponent, OpenCloseButtonModule, OpenExtensionDialogComponent, Operations, PlausibleEventDirective, PlausibleHelper, PlausibleModule, ResolutionHelper, SCREEN_SIZE, SaveFileHelper, SelectLanguageDialogComponent, SidebarComponent, SidebarService, SortAlphabeticallyModule, SortAlphabeticallyPipe, SortByNumberPipe, SortDomainsPipe, SortHelper, SortLanguageListPipe, SortTranslationsByPropertyModule, SortTranslationsByPropertyPipe, SortTranslationsModule, SortTranslationsPipe, StatusDisplayComponent, StatusDisplayModule, SubscriptionComponent, SubscriptionPlan, SystemService, TerminologyApiService, TerminologyCollectionService, TerminologyComponent, TerminologyConfigService, TerminologyCreateCollectionComponent, TerminologyModule, TerminologyService, TextToSpeechComponent, TldLoaderComponent, TldLoaderModule, ToastComponent, ToastService, getFileSizeLabel, provideCustomTitleStrategy };
9026
+ export { ALERT_CONFIGURATION_TOKEN, AccessibilityContrasts, AccessibilityDialogComponent, AccessibilityFontSizes, AccessibilityService, AccessibilityTextMagnifierService, AlertService, AuthHeadersHelper, COLLECTIONS_MENU, CUSTOM_TITLE_CONFIGURATION_TOKEN, ClickOutsideDirective, ClickOutsideModule, CloseButtonComponent, CloseButtonModule, CombinedCollection, CombinedCollectionTooltipKey, CompanyProductComponent, CompanyProductModule, Confirmation, ConfirmationModalComponent, ConfirmationModalModule, ConfirmationService, ConversionHelper, CustomPaginatorInernationalizationHelper, CustomTitleStrategyService, CustomTranslateLoader, DISABLE_EXPORT_ATTRIBUTE_NAME, DOMService, DateAgoModule, DateAgoPipe, DomainTranslatePipe, DragAndDropDirective, DragAndDropModule, ERROR_CODES, EngineTermApiService, EngineTermCollectionScope, EngineTermCollectionSource, EngineTermCollectionStatus, EngineTermCollectionSubStatus, ExportFormat, ExtensionDialogComponent, ExtensionDialogModule, ExtensionDialogService, FILE_SIZE_UNIT, FileCategories, FileExtensionHelper, FileExtensions, FileSizeLabelPipe, FileTypeIcons, FileTypes, FileUploadComponent, FileUploadErrorTypeEnum, FileUploadModule, FilterBarComponent, FilterBarModule, FilterWithHighlightModule, FilterWithHighlightPipe, FooterComponent, FooterModule, GlobalMessageComponent, HashHelper, HtmlElementParseHelper, HtmlHelper, IconService, InlineMessageComponent, InlineMessageIconPosition, InlineMessageModule, InlineMessageType, LAST_USED_SYSTEM_LOCAL_STORAGE_KEY, LLMActions, LLMComponent, LLMModule, LLM_CONFIGURATION_TOKEN, LanguageTranslateModule, LanguageTranslatePipe, LanguageTranslateService, MatButtonLoadingDirective, MatButtonLoadingModule, MissingTranslationHandlerService, MissingTranslationHelper, MtCollectionStatus, MultiFunctionalTableComponent, MultiFunctionalTableModule, NewFeatureDialogWrapperComponent, NotificationMessageComponent, NotificationMessageModule, NotificationMessageType, NotificationService, OPEN_CLOSE_BTN_ICONS_TOKEN, ObjectLengthModule, ObjectLengthPipe, OpenCloseButtonComponent, OpenCloseButtonModule, OpenExtensionDialogComponent, Operations, PlausibleEventDirective, PlausibleHelper, PlausibleModule, ResolutionHelper, SCREEN_SIZE, SaveFileHelper, SelectLanguageDialogComponent, SidebarComponent, SidebarService, SortAlphabeticallyModule, SortAlphabeticallyPipe, SortByNumberPipe, SortDomainsPipe, SortHelper, SortLanguageListPipe, SortTranslationsByPropertyModule, SortTranslationsByPropertyPipe, SortTranslationsModule, SortTranslationsPipe, StatusDisplayComponent, StatusDisplayModule, SubscriptionComponent, SubscriptionPlan, SystemService, TerminologyApiService, TerminologyCollectionService, TerminologyComponent, TerminologyConfigService, TerminologyCreateCollectionComponent, TerminologyModule, TerminologyService, TextToSpeechComponent, TldLoaderComponent, TldLoaderModule, ToastComponent, ToastService, getFileSizeLabel, provideCustomTitleStrategy };
8976
9027
  //# sourceMappingURL=tilde-nlp-ngx-common.mjs.map