@testgorilla/tgo-ui 2.23.43 → 2.23.45

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.
Files changed (72) hide show
  1. package/components/alert-banner/alert-banner.component.d.ts +5 -3
  2. package/components/autocomplete/autocomplete.component.d.ts +5 -3
  3. package/components/button/button.component.d.ts +5 -3
  4. package/components/checkbox/checkbox.component.d.ts +5 -3
  5. package/components/datepicker/datepicker.component.d.ts +5 -3
  6. package/components/dialog/dialog.component.d.ts +5 -3
  7. package/components/dropdown/dropdown.component.d.ts +5 -3
  8. package/components/empty-state/empty-state.component.d.ts +5 -3
  9. package/components/field/field.component.d.ts +5 -3
  10. package/components/file-upload/file-upload.component.d.ts +5 -3
  11. package/components/icon/icon.component.d.ts +2 -1
  12. package/components/multi-input/multi-input.component.d.ts +5 -3
  13. package/components/navbar/navbar.component.d.ts +5 -3
  14. package/components/overflow-menu/overflow-menu.component.d.ts +5 -3
  15. package/components/page-header/page-header.component.d.ts +5 -3
  16. package/components/password-criteria/password.component.d.ts +5 -3
  17. package/components/password-strength/password-strength.component.d.ts +5 -3
  18. package/components/phone-input/phone-input.component.d.ts +5 -3
  19. package/components/progress-bar/progress-bar.component.d.ts +5 -3
  20. package/components/side-panel/side-panel.component.d.ts +5 -3
  21. package/components/side-sheet/side-sheet.component.d.ts +5 -3
  22. package/components/slider/slider.component.d.ts +5 -3
  23. package/components/snackbar/snackbar.component.d.ts +5 -3
  24. package/components/spinner/spinner.component.d.ts +5 -3
  25. package/components/stepper/stepper.component.d.ts +5 -3
  26. package/components/tag/tag.component.d.ts +5 -3
  27. package/components/toggle/toggle.component.d.ts +5 -3
  28. package/components/validation-error/validation-error.component.d.ts +5 -2
  29. package/esm2022/components/accordion/accordion.component.mjs +1 -1
  30. package/esm2022/components/alert-banner/alert-banner.component.mjs +16 -5
  31. package/esm2022/components/autocomplete/autocomplete.component.mjs +16 -5
  32. package/esm2022/components/avatar/avatar.component.mjs +1 -1
  33. package/esm2022/components/badge/badge.component.mjs +1 -1
  34. package/esm2022/components/button/button.component.mjs +16 -5
  35. package/esm2022/components/card/card.component.mjs +1 -1
  36. package/esm2022/components/checkbox/checkbox.component.mjs +15 -4
  37. package/esm2022/components/datepicker/datepicker.component.mjs +16 -5
  38. package/esm2022/components/dialog/dialog.component.mjs +14 -3
  39. package/esm2022/components/dropdown/dropdown.component.mjs +16 -5
  40. package/esm2022/components/empty-state/empty-state.component.mjs +15 -4
  41. package/esm2022/components/field/field.component.mjs +16 -5
  42. package/esm2022/components/file-upload/file-upload.component.mjs +15 -4
  43. package/esm2022/components/icon/icon.component.mjs +28 -16
  44. package/esm2022/components/icon-label/icon-label.component.mjs +1 -1
  45. package/esm2022/components/multi-input/multi-input.component.mjs +16 -5
  46. package/esm2022/components/navbar/navbar.component.mjs +16 -5
  47. package/esm2022/components/overflow-menu/overflow-menu.component.mjs +16 -5
  48. package/esm2022/components/page-header/page-header.component.mjs +14 -3
  49. package/esm2022/components/password-criteria/password.component.mjs +17 -6
  50. package/esm2022/components/password-strength/password-strength.component.mjs +15 -4
  51. package/esm2022/components/phone-input/phone-input.component.mjs +15 -4
  52. package/esm2022/components/progress-bar/progress-bar.component.mjs +14 -3
  53. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +1 -1
  54. package/esm2022/components/side-panel/side-panel.component.mjs +16 -5
  55. package/esm2022/components/side-sheet/side-sheet.component.mjs +15 -4
  56. package/esm2022/components/slider/slider.component.mjs +15 -4
  57. package/esm2022/components/snackbar/snackbar.component.mjs +16 -5
  58. package/esm2022/components/spinner/spinner.component.mjs +14 -3
  59. package/esm2022/components/step/step.component.mjs +1 -1
  60. package/esm2022/components/stepper/stepper.component.mjs +15 -4
  61. package/esm2022/components/table/table.component.mjs +2 -2
  62. package/esm2022/components/tabs/tabs.component.mjs +1 -1
  63. package/esm2022/components/tag/tag.component.mjs +15 -4
  64. package/esm2022/components/toggle/toggle.component.mjs +15 -4
  65. package/esm2022/components/validation-error/validation-error.component.mjs +17 -6
  66. package/esm2022/public-api.mjs +3 -1
  67. package/esm2022/tokens/app-lang.token.mjs +3 -0
  68. package/fesm2022/testgorilla-tgo-ui.mjs +372 -115
  69. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  70. package/package.json +1 -1
  71. package/public-api.d.ts +1 -0
  72. package/tokens/app-lang.token.d.ts +2 -0
@@ -4,11 +4,13 @@ import { IconName } from '../../components/icon/icon.model';
4
4
  import { ApplicationTheme } from '../../models/application-theme.model';
5
5
  import { AlertBarType, AlertVariant } from '../../utils/alert-bar.model';
6
6
  import { LinkTargetType } from './alert-banner.model';
7
+ import { Language } from '../../utils/localization/language.model';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class AlertBannerComponent implements OnInit {
9
10
  private readonly defaultAppTheme;
10
11
  private domSanitizer;
11
- constructor(defaultAppTheme: ApplicationTheme, domSanitizer: DomSanitizer);
12
+ protected readonly appLang: Language;
13
+ constructor(defaultAppTheme: ApplicationTheme, domSanitizer: DomSanitizer, appLang: Language);
12
14
  /**
13
15
  * Alert Banner type
14
16
  *
@@ -97,7 +99,7 @@ export declare class AlertBannerComponent implements OnInit {
97
99
  * @default LanguageService.defaultLanguage
98
100
  * @memberof AlertBannerComponent
99
101
  */
100
- language: import("@testgorilla/tgo-ui").Language;
102
+ language: Language;
101
103
  /**
102
104
  * A string representing the ARIA requirement for accessibility.
103
105
  * This attribute is used to indicate whether an input field is required for form submission.
@@ -118,6 +120,6 @@ export declare class AlertBannerComponent implements OnInit {
118
120
  dismissAlertBanner: boolean;
119
121
  ngOnInit(): void;
120
122
  dismissClick(): void;
121
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerComponent, [{ optional: true; }, null]>;
123
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerComponent, [{ optional: true; }, null, { optional: true; }]>;
122
124
  static ɵcmp: i0.ɵɵComponentDeclaration<AlertBannerComponent, "ui-alert-banner", never, { "alertType": { "alias": "alertType"; "required": false; }; "alertVariant": { "alias": "alertVariant"; "required": false; }; "message": { "alias": "message"; "required": false; }; "includeDismissButton": { "alias": "includeDismissButton"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrl": { "alias": "linkUrl"; "required": false; }; "linkTarget": { "alias": "linkTarget"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "isFullWidth": { "alias": "isFullWidth"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "language": { "alias": "language"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "secondaryAlerts": { "alias": "secondaryAlerts"; "required": false; }; }, {}, never, never, false, never>;
123
125
  }
@@ -7,6 +7,7 @@ import { ReplaySubject } from 'rxjs';
7
7
  import { ApplicationTheme } from '../../models/application-theme.model';
8
8
  import { AutocompleteUtils } from '../../utils/autocomplete-utils';
9
9
  import { Autocomplete, AutocompleteSize, AutocompleteType, DropdownVariation } from './autocomplete.model';
10
+ import { Language } from '../../utils/localization/language.model';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit, DoCheck, OnDestroy {
12
13
  private readonly defaultAppTheme;
@@ -16,6 +17,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
16
17
  private renderer2;
17
18
  private platformId;
18
19
  private el;
20
+ protected readonly appLang: Language;
19
21
  /**
20
22
  * @property itemsList
21
23
  * @description The list of items to display in the autocomplete.
@@ -94,7 +96,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
94
96
  * @type {Language}
95
97
  * @memberof AutocompleteComponent
96
98
  */
97
- language: import("@testgorilla/tgo-ui").Language;
99
+ language: Language;
98
100
  /**
99
101
  * Show reserved content below form field
100
102
  * @property showBottomContent
@@ -248,7 +250,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
248
250
  protected readonly AutocompleteUtils: typeof AutocompleteUtils;
249
251
  private readonly isPlatform;
250
252
  private observer;
251
- constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, domSanitizer: DomSanitizer, ngControl: NgControl, renderer2: Renderer2, platformId: any, el: ElementRef);
253
+ constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, domSanitizer: DomSanitizer, ngControl: NgControl, renderer2: Renderer2, platformId: any, el: ElementRef, appLang: Language);
252
254
  /**
253
255
  * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
254
256
  * to display validation errors that might happen (e.g. required)
@@ -284,7 +286,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
284
286
  private setCompanyColorVariable;
285
287
  private subscriberDisplayChange;
286
288
  protected get hasObjectValue(): boolean;
287
- static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null, null, null]>;
289
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null, null, null, { optional: true; }]>;
288
290
  static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "suggestionsList": { "alias": "suggestionsList"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "dropdownPanelClass": { "alias": "dropdownPanelClass"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowUserInput": { "alias": "allowUserInput"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "exactMatchSelect": { "alias": "exactMatchSelect"; "required": false; }; "maxItemSelected": { "alias": "maxItemSelected"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; "blur": "blur"; "focus": "focus"; }, never, never, false, never>;
289
291
  static ngAcceptInputType_virtualScroll: unknown;
290
292
  }
@@ -4,9 +4,11 @@ import { ButtonBadgeConfig, ButtonColor, ButtonIconPosition, ButtonSize, ButtonS
4
4
  import { MatButton } from '@angular/material/button';
5
5
  import { ApplicationTheme } from '../../models/application-theme.model';
6
6
  import { TooltipPosition } from '@angular/material/tooltip';
7
+ import { Language } from '../../utils/localization/language.model';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class ButtonComponent implements OnInit, AfterViewInit {
9
10
  private readonly defaultAppTheme;
11
+ protected readonly appLang: Language;
10
12
  get enabled(): string;
11
13
  tooltipElement: ElementRef<HTMLElement>;
12
14
  /**
@@ -174,7 +176,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
174
176
  * @type {Language}
175
177
  * @memberof ButtonComponent
176
178
  */
177
- language: import("@testgorilla/tgo-ui").Language;
179
+ language: Language;
178
180
  /**
179
181
  * Prevents default button click behavior
180
182
  * @type {boolean}
@@ -205,7 +207,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
205
207
  coloredIcons: string[];
206
208
  labelEllipsis: boolean;
207
209
  get typeIncluded(): boolean;
208
- constructor(defaultAppTheme: ApplicationTheme);
210
+ constructor(defaultAppTheme: ApplicationTheme, appLang: Language);
209
211
  ngOnInit(): void;
210
212
  ngOnChanges(changes: SimpleChanges): void;
211
213
  ngAfterViewInit(): void;
@@ -224,7 +226,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
224
226
  onKeydown(event: KeyboardEvent): void;
225
227
  onKeyup(event: KeyboardEvent): void;
226
228
  onLabelEllipsisChange(state: boolean): void;
227
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ optional: true; }]>;
229
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ optional: true; }, { optional: true; }]>;
228
230
  static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "buttonBadgeConfig": { "alias": "buttonBadgeConfig"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disabledScaleOnClick": { "alias": "disabledScaleOnClick"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "language": { "alias": "language"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
229
231
  static ngAcceptInputType_preventDefault: unknown;
230
232
  }
@@ -5,6 +5,7 @@ import { ApplicationTheme } from '../../models/application-theme.model';
5
5
  import { MatTooltip } from "@angular/material/tooltip";
6
6
  import { Alignment } from '../../models/checkbox.model';
7
7
  import { FocusMonitor } from '@angular/cdk/a11y';
8
+ import { Language } from '../../utils/localization/language.model';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class CheckboxComponent implements OnInit, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit, OnDestroy {
10
11
  private readonly defaultAppTheme;
@@ -13,6 +14,7 @@ export declare class CheckboxComponent implements OnInit, ControlValueAccessor,
13
14
  private focusMonitor;
14
15
  private ngZone;
15
16
  private destroyRef;
17
+ protected readonly appLang: Language;
16
18
  /**
17
19
  * Determines whether the checkbox is disabled.
18
20
  * Default: false.
@@ -103,7 +105,7 @@ export declare class CheckboxComponent implements OnInit, ControlValueAccessor,
103
105
  * @type {Language}
104
106
  * @memberof CheckboxComponent
105
107
  */
106
- language: import("@testgorilla/tgo-ui").Language;
108
+ language: Language;
107
109
  /**
108
110
  * Hide in-build errors for Reactive Forms
109
111
  *
@@ -164,7 +166,7 @@ export declare class CheckboxComponent implements OnInit, ControlValueAccessor,
164
166
  tooltipElement: MatTooltip;
165
167
  checkboxElement: MatCheckbox;
166
168
  protected origin: string | null;
167
- constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, focusMonitor: FocusMonitor, ngZone: NgZone, destroyRef: DestroyRef);
169
+ constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, focusMonitor: FocusMonitor, ngZone: NgZone, destroyRef: DestroyRef, appLang: Language);
168
170
  ngOnChanges(): void;
169
171
  /**
170
172
  * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
@@ -184,6 +186,6 @@ export declare class CheckboxComponent implements OnInit, ControlValueAccessor,
184
186
  onLabelEllipsisChange(isEllipsis: boolean): void;
185
187
  onFocus(showTooltip: boolean): void;
186
188
  private setCompanyColor;
187
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, [{ optional: true; }, null, { optional: true; self: true; }, null, null, null]>;
189
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, [{ optional: true; }, null, { optional: true; self: true; }, null, null, null, { optional: true; }]>;
188
190
  static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "language": { "alias": "language"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "truncateText": { "alias": "truncateText"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; }, { "changed": "changed"; }, never, ["[checkbox-label]"], false, never>;
189
191
  }
@@ -3,6 +3,7 @@ import { ControlValueAccessor, FormControl, FormGroup, NgControl } from '@angula
3
3
  import { ApplicationTheme } from '../../models/application-theme.model';
4
4
  import { MatDatepicker } from '@angular/material/datepicker';
5
5
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
+ import { Language } from '../../utils/localization/language.model';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class DatepickerComponent implements OnChanges, ControlValueAccessor, DoCheck {
8
9
  private readonly defaultAppTheme;
@@ -10,6 +11,7 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
10
11
  private sanitizer;
11
12
  ngControl: NgControl;
12
13
  private renderer2;
14
+ protected readonly appLang: Language;
13
15
  class: string;
14
16
  /**
15
17
  * Form field label
@@ -95,7 +97,7 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
95
97
  * @type {Language}
96
98
  * @memberof DatepickerComponent
97
99
  */
98
- language: import("@testgorilla/tgo-ui").Language;
100
+ language: Language;
99
101
  /**
100
102
  * Show reserved content below form field
101
103
  *
@@ -189,7 +191,7 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
189
191
  }>;
190
192
  errorsLength: boolean;
191
193
  protected translationContext: string;
192
- constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, sanitizer: DomSanitizer, ngControl: NgControl, renderer2: Renderer2);
194
+ constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, sanitizer: DomSanitizer, ngControl: NgControl, renderer2: Renderer2, appLang: Language);
193
195
  get hint(): string;
194
196
  /**
195
197
  * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
@@ -210,6 +212,6 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
210
212
  private getRange;
211
213
  onInput(event: Event): void;
212
214
  private setStyleVariable;
213
- static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null]>;
215
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null, { optional: true; }]>;
214
216
  static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
215
217
  }
@@ -3,11 +3,13 @@ import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { ButtonColor } from '../button/button.model';
4
4
  import { ApplicationTheme } from '../../models/application-theme.model';
5
5
  import { ButtonComponent } from '../button/button.component';
6
+ import { Language } from '../../utils/localization/language.model';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
8
9
  private readonly defaultAppTheme;
9
10
  dialogRef: MatDialogRef<DialogComponent>;
10
11
  private data;
12
+ protected readonly appLang: Language;
11
13
  /**
12
14
  * Dialog title
13
15
  *
@@ -56,7 +58,7 @@ export declare class DialogComponent implements OnInit, OnChanges, AfterViewInit
56
58
  * @type {Language}
57
59
  * @memberof DialogComponent
58
60
  */
59
- language: import("@testgorilla/tgo-ui").Language;
61
+ language: Language;
60
62
  /**
61
63
  * Primary button test id
62
64
  *
@@ -138,7 +140,7 @@ export declare class DialogComponent implements OnInit, OnChanges, AfterViewInit
138
140
  onEsc(_: KeyboardEvent): void;
139
141
  constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<DialogComponent>, data: {
140
142
  applicationTheme: ApplicationTheme;
141
- });
143
+ }, appLang: Language);
142
144
  disableButtons: boolean;
143
145
  protected readonly translationContext = "DIALOG.";
144
146
  ngOnInit(): void;
@@ -149,6 +151,6 @@ export declare class DialogComponent implements OnInit, OnChanges, AfterViewInit
149
151
  onClose(event: Event): void;
150
152
  onSecondaryButtonClick(event: Event): void;
151
153
  onPrimaryButtonClick(event: Event): void;
152
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{ optional: true; }, null, null]>;
154
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{ optional: true; }, null, null, { optional: true; }]>;
153
155
  static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "language": { "alias": "language"; "required": false; }; "primaryButtonDataTestId": { "alias": "primaryButtonDataTestId"; "required": false; }; "secondaryButtonDataTestId": { "alias": "secondaryButtonDataTestId"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disablePrimaryButton": { "alias": "disablePrimaryButton"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "shouldDisableButtons": { "alias": "shouldDisableButtons"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "keyboardOpen": { "alias": "keyboardOpen"; "required": false; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, never, ["*"], false, never>;
154
156
  }
@@ -3,12 +3,14 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { FloatLabelType } from '@angular/material/form-field';
4
4
  import { OptionType } from './dropdown.model';
5
5
  import { ApplicationTheme } from '../../models/application-theme.model';
6
+ import { Language } from '../../utils/localization/language.model';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class DropdownComponent implements OnInit, ControlValueAccessor, DoCheck, OnChanges {
8
9
  private readonly defaultAppTheme;
9
10
  private cdr;
10
11
  ngControl: NgControl;
11
12
  private renderer2;
13
+ protected readonly appLang: Language;
12
14
  class: string;
13
15
  /**
14
16
  * Text content will be applied to the input element if present.
@@ -97,7 +99,7 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor,
97
99
  * @type {Language}
98
100
  * @memberof DropdownComponent
99
101
  */
100
- language: import("@testgorilla/tgo-ui").Language;
102
+ language: Language;
101
103
  /**
102
104
  * Show reserved content below form field
103
105
  * @property showBottomContent
@@ -158,7 +160,7 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor,
158
160
  * @ignore
159
161
  */
160
162
  onTouch: () => void;
161
- constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, renderer2: Renderer2);
163
+ constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, renderer2: Renderer2, appLang: Language);
162
164
  floatLabel: FloatLabelType;
163
165
  classError: string;
164
166
  errorsLength: boolean;
@@ -180,6 +182,6 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor,
180
182
  onClosed(): void;
181
183
  onOpened(): void;
182
184
  setStyleVariable(): void;
183
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, [{ optional: true; }, null, { optional: true; self: true; }, null]>;
185
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, [{ optional: true; }, null, { optional: true; self: true; }, null, { optional: true; }]>;
184
186
  static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ui-dropdown", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "valueList": { "alias": "valueList"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "allowMultipleSelection": { "alias": "allowMultipleSelection"; "required": false; }; "required": { "alias": "required"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, never, never, false, never>;
185
187
  }
@@ -2,9 +2,11 @@ import { EventEmitter } from '@angular/core';
2
2
  import { IconName } from '../icon/icon.model';
3
3
  import { ApplicationTheme } from '../../models/application-theme.model';
4
4
  import { ButtonVariant, EmptyStateVariant, IllustrationVariant } from './empty-state.model';
5
+ import { Language } from '../../utils/localization/language.model';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class EmptyStateComponent {
7
8
  private readonly defaultAppTheme;
9
+ protected readonly appLang: Language;
8
10
  /**
9
11
  * @description If the default image should be displayed.
10
12
  * @type {boolean}
@@ -82,7 +84,7 @@ export declare class EmptyStateComponent {
82
84
  * @type {Language}
83
85
  * @memberof EmptyStateComponent
84
86
  */
85
- language: import("@testgorilla/tgo-ui").Language;
87
+ language: Language;
86
88
  /**
87
89
  *
88
90
  * Defines the application theme
@@ -113,12 +115,12 @@ export declare class EmptyStateComponent {
113
115
  */
114
116
  tertiaryButtonClick: EventEmitter<Event>;
115
117
  buttonApplicationTheme: ApplicationTheme;
116
- constructor(defaultAppTheme: ApplicationTheme);
118
+ constructor(defaultAppTheme: ApplicationTheme, appLang: Language);
117
119
  ngOnInit(): void;
118
120
  onPrimaryButtonClick(event: Event): void;
119
121
  onSecondaryButtonClick(event: Event): void;
120
122
  onTertiaryButtonClick(event: Event): void;
121
123
  getVariant(variant: ButtonVariant): "primary" | "secondary" | "ghost";
122
- static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, [{ optional: true; }]>;
124
+ static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, [{ optional: true; }, { optional: true; }]>;
123
125
  static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "ui-empty-state", never, { "showIllustration": { "alias": "showIllustration"; "required": false; }; "illustrationVariant": { "alias": "illustrationVariant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "emptyStateVariant": { "alias": "emptyStateVariant"; "required": false; }; "title": { "alias": "title"; "required": false; }; "bodyText": { "alias": "bodyText"; "required": false; }; "primaryButtonText": { "alias": "primaryButtonText"; "required": false; }; "primaryButtonVariant": { "alias": "primaryButtonVariant"; "required": false; }; "secondaryButtonText": { "alias": "secondaryButtonText"; "required": false; }; "secondaryButtonVariant": { "alias": "secondaryButtonVariant"; "required": false; }; "tertiaryButtonText": { "alias": "tertiaryButtonText"; "required": false; }; "tertiaryButtonVariant": { "alias": "tertiaryButtonVariant"; "required": false; }; "language": { "alias": "language"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "primaryButtonClick": "primaryButtonClick"; "secondaryButtonClick": "secondaryButtonClick"; "tertiaryButtonClick": "tertiaryButtonClick"; }, never, never, false, never>;
124
126
  }
@@ -6,6 +6,7 @@ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
6
  import { ApplicationTheme } from '../../models/application-theme.model';
7
7
  import { IconName } from '../icon/icon.model';
8
8
  import { FocusMonitor } from "@angular/cdk/a11y";
9
+ import { Language } from '../../utils/localization/language.model';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class FieldComponent implements OnInit, ControlValueAccessor, DoCheck, AfterViewInit {
11
12
  private readonly defaultAppTheme;
@@ -16,6 +17,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
16
17
  private focusMonitor;
17
18
  private ngZone;
18
19
  private destroyRef;
20
+ protected readonly appLang: Language;
19
21
  class: string;
20
22
  /**
21
23
  * Indicator of the autocomplete width
@@ -122,7 +124,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
122
124
  * @type {Language}
123
125
  * @memberof FieldComponent
124
126
  */
125
- language: import("@testgorilla/tgo-ui").Language;
127
+ language: Language;
126
128
  /**
127
129
  * Show reserved content below form field
128
130
  * @property showBottomContent
@@ -258,7 +260,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
258
260
  * @ignore
259
261
  */
260
262
  onTouch: () => void;
261
- constructor(defaultAppTheme: ApplicationTheme, matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, cdr: ChangeDetectorRef, ngControl: NgControl, focusMonitor: FocusMonitor, ngZone: NgZone, destroyRef: DestroyRef);
263
+ constructor(defaultAppTheme: ApplicationTheme, matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, cdr: ChangeDetectorRef, ngControl: NgControl, focusMonitor: FocusMonitor, ngZone: NgZone, destroyRef: DestroyRef, appLang: Language);
262
264
  ngAfterViewInit(): void;
263
265
  /**
264
266
  * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
@@ -289,6 +291,6 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
289
291
  onBlur(): void;
290
292
  trackByFn: (index: number, value: any) => any;
291
293
  focus(): void;
292
- static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, [{ optional: true; }, null, null, null, { optional: true; self: true; }, null, null, null]>;
294
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, [{ optional: true; }, null, null, null, { optional: true; self: true; }, null, null, null, { optional: true; }]>;
293
295
  static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "type": { "alias": "type"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "trimOnBlur": { "alias": "trimOnBlur"; "required": false; }; "trimOnSubmit": { "alias": "trimOnSubmit"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "textareaHeight": { "alias": "textareaHeight"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; }, { "validateEvent": "validateEvent"; "fieldBlur": "fieldBlur"; }, never, never, false, never>;
294
296
  }
@@ -1,9 +1,11 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges, ElementRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { ApplicationTheme } from '../../models/application-theme.model';
4
+ import { Language } from '../../utils/localization/language.model';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAccessor {
6
7
  private readonly defaultAppTheme;
8
+ protected readonly appLang: Language;
7
9
  class: string;
8
10
  /**
9
11
  *
@@ -58,7 +60,7 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
58
60
  * @type {Language}
59
61
  * @memberof FileUploadComponent
60
62
  */
61
- language: import("@testgorilla/tgo-ui").Language;
63
+ language: Language;
62
64
  /**
63
65
  * Color of the file upload.
64
66
  * Defaults to Test Gorilla primary color.
@@ -106,7 +108,7 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
106
108
  success: boolean;
107
109
  browse: boolean;
108
110
  isCanceled: boolean;
109
- constructor(defaultAppTheme: ApplicationTheme);
111
+ constructor(defaultAppTheme: ApplicationTheme, appLang: Language);
110
112
  ngOnInit(): void;
111
113
  onFileDropped(files: FileList): void;
112
114
  onChangeUpload(event: Event): void;
@@ -122,6 +124,6 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
122
124
  private getCompanyColor;
123
125
  private fileSizeToMB;
124
126
  onKeydown(ev: KeyboardEvent): void;
125
- static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, [{ optional: true; }]>;
127
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, [{ optional: true; }, { optional: true; }]>;
126
128
  static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "required": false; }; "minFileSizeMB": { "alias": "minFileSizeMB"; "required": false; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "language": { "alias": "language"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
127
129
  }
@@ -52,6 +52,7 @@ export declare class IconComponent implements OnInit {
52
52
  * @memberof IconComponent
53
53
  */
54
54
  applicationTheme: ApplicationTheme;
55
+ useFullIconName: boolean;
55
56
  customCssClass: string;
56
57
  filename: IconName | undefined;
57
58
  _name: string;
@@ -65,5 +66,5 @@ export declare class IconComponent implements OnInit {
65
66
  get inlineIconFileName(): string;
66
67
  get isIconLoaded(): boolean;
67
68
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, [{ optional: true; }, null, null, null]>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ui-icon", never, { "size": { "alias": "size"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "filled": { "alias": "filled"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ui-icon", never, { "size": { "alias": "size"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "filled": { "alias": "filled"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "useFullIconName": { "alias": "useFullIconName"; "required": false; }; }, {}, never, never, false, never>;
69
70
  }
@@ -2,11 +2,13 @@ import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, FormBuilder, FormControl, NgControl } from '@angular/forms';
3
3
  import { ApplicationTheme } from '../../models/application-theme.model';
4
4
  import { MultiInputValue } from './multi-input.model';
5
+ import { Language } from '../../utils/localization/language.model';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class MultiInputComponent implements ControlValueAccessor, OnInit {
7
8
  protected ngControl: NgControl;
8
9
  private readonly defaultAppTheme;
9
10
  private readonly fb;
11
+ protected readonly appLang: Language;
10
12
  /**
11
13
  *
12
14
  * @description List of items to be displayed in the dropdown list
@@ -111,7 +113,7 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
111
113
  * @type {Language}
112
114
  * @memberof MultiInputComponent
113
115
  */
114
- language: import("@testgorilla/tgo-ui").Language;
116
+ language: Language;
115
117
  /**
116
118
  *
117
119
  * @description The maximum characters allowed in the multi input
@@ -141,7 +143,7 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
141
143
  protected readonly multiInputForm: import("@angular/forms").FormGroup<{
142
144
  [x: string]: FormControl<unknown>;
143
145
  }>;
144
- constructor(ngControl: NgControl, defaultAppTheme: ApplicationTheme, fb: FormBuilder);
146
+ constructor(ngControl: NgControl, defaultAppTheme: ApplicationTheme, fb: FormBuilder, appLang: Language);
145
147
  ngOnInit(): void;
146
148
  ngOnChanges(changes: SimpleChanges): void;
147
149
  writeValue(value: MultiInputValue): void;
@@ -160,7 +162,7 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
160
162
  protected getValueLength(): number;
161
163
  private addValidation;
162
164
  private updateDisableState;
163
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiInputComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
165
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiInputComponent, [{ optional: true; self: true; }, { optional: true; }, null, { optional: true; }]>;
164
166
  static ɵcmp: i0.ɵɵComponentDeclaration<MultiInputComponent, "ui-multi-input", never, { "itemsList": { "alias": "itemsList"; "required": true; }; "itemTextField": { "alias": "itemTextField"; "required": true; }; "itemValueField": { "alias": "itemValueField"; "required": true; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "language": { "alias": "language"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
165
167
  static ngAcceptInputType_disabled: unknown;
166
168
  static ngAcceptInputType_required: unknown;
@@ -5,12 +5,14 @@ import { SideSheetService } from '../side-sheet/side-sheet.service';
5
5
  import { BreakpointObserver } from '@angular/cdk/layout';
6
6
  import { LogoTypeEnum } from '../logo/logo.model';
7
7
  import { AvatarSize } from '../avatar/avatar.model';
8
+ import { Language } from '../../utils/localization/language.model';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class NavbarComponent {
10
11
  private readonly breakpointObserver;
11
12
  private readonly defaultAppTheme;
12
13
  private sideSheetService;
13
14
  private destroyRef;
15
+ protected readonly appLang: Language;
14
16
  /**
15
17
  * Routes object
16
18
  *
@@ -53,7 +55,7 @@ export declare class NavbarComponent {
53
55
  * @type {Language}
54
56
  * @memberof NavbarComponent
55
57
  */
56
- language: import("@testgorilla/tgo-ui").Language;
58
+ language: Language;
57
59
  /**
58
60
  *
59
61
  * Defines the application theme
@@ -114,13 +116,13 @@ export declare class NavbarComponent {
114
116
  protected readonly isTablet$: import("rxjs").Observable<boolean>;
115
117
  protected isOpened: boolean;
116
118
  protected logoType: typeof LogoTypeEnum;
117
- constructor(breakpointObserver: BreakpointObserver, defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef);
119
+ constructor(breakpointObserver: BreakpointObserver, defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef, appLang: Language);
118
120
  openMobileMenu(): void;
119
121
  navigate(routeId: string): void;
120
122
  logout(): void;
121
123
  clickMenuItem(id: string): void;
122
124
  onChangeMenuState(isOpened: boolean, screenSize: ScreenSize): void;
123
125
  protected readonly AvatarSize: typeof AvatarSize;
124
- static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, [null, { optional: true; }, null, null]>;
126
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, [null, { optional: true; }, null, null, { optional: true; }]>;
125
127
  static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "email": { "alias": "email"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "language": { "alias": "language"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "isAvatar": { "alias": "isAvatar"; "required": false; }; "menuClass": { "alias": "menuClass"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; "menuState": "menuState"; }, never, ["[actions]", "*"], false, never>;
126
128
  }
@@ -4,11 +4,13 @@ import { OverflowMenuButtonModify, OverflowMenuButtonsType } from './overflow-me
4
4
  import { ApplicationTheme } from "../../models/application-theme.model";
5
5
  import { MatMenu, MatMenuTrigger } from "@angular/material/menu";
6
6
  import { FocusMonitor } from "@angular/cdk/a11y";
7
+ import { Language } from '../../utils/localization/language.model';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class OverflowMenuComponent implements OnInit {
9
10
  private readonly defaultAppTheme;
10
11
  private focusMonitor;
11
12
  private ngZone;
13
+ protected readonly appLang: Language;
12
14
  /**
13
15
  * Menu buttons
14
16
  *
@@ -63,7 +65,7 @@ export declare class OverflowMenuComponent implements OnInit {
63
65
  * @type {Language}
64
66
  * @memberof OverflowMenuComponent
65
67
  */
66
- language: import("@testgorilla/tgo-ui").Language;
68
+ language: Language;
67
69
  selectItem: EventEmitter<string>;
68
70
  menuOpened: EventEmitter<void>;
69
71
  menuClosed: EventEmitter<void>;
@@ -75,7 +77,7 @@ export declare class OverflowMenuComponent implements OnInit {
75
77
  isMenuRendered: import("@angular/core").WritableSignal<boolean>;
76
78
  isMenuOpened: import("@angular/core").WritableSignal<boolean>;
77
79
  isFocused: import("@angular/core").WritableSignal<boolean>;
78
- constructor(defaultAppTheme: ApplicationTheme, focusMonitor: FocusMonitor, ngZone: NgZone);
80
+ constructor(defaultAppTheme: ApplicationTheme, focusMonitor: FocusMonitor, ngZone: NgZone, appLang: Language);
79
81
  ngOnInit(): void;
80
82
  ngAfterViewInit(): void;
81
83
  onSelectItem(event: Event, value: string): void;
@@ -88,6 +90,6 @@ export declare class OverflowMenuComponent implements OnInit {
88
90
  private reindex;
89
91
  private createSubmenus;
90
92
  onSubmenuOpened(): void;
91
- static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponent, [{ optional: true; }, null, null]>;
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponent, [{ optional: true; }, null, null, { optional: true; }]>;
92
94
  static ɵcmp: i0.ɵɵComponentDeclaration<OverflowMenuComponent, "ui-overflow-menu", never, { "buttons": { "alias": "buttons"; "required": false; }; "iconTrigger": { "alias": "iconTrigger"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "describedby": { "alias": "describedby"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "selectItem": "selectItem"; "menuOpened": "menuOpened"; "menuClosed": "menuClosed"; }, never, ["[menu-content]"], false, never>;
93
95
  }
@@ -1,10 +1,12 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ApplicationTheme } from "../../models/application-theme.model";
4
+ import { Language } from '../../utils/localization/language.model';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class PageHeaderComponent {
6
7
  private readonly defaultAppTheme;
7
8
  protected readonly isMobile$: Observable<boolean>;
9
+ protected readonly appLang: Language;
8
10
  /**
9
11
  * Flag to determine whether the "Back" button should be displayed.
10
12
  * @default true
@@ -17,7 +19,7 @@ export declare class PageHeaderComponent {
17
19
  * @type {Language}
18
20
  * @memberof PageHeaderComponent
19
21
  */
20
- language: import("@testgorilla/tgo-ui").Language;
22
+ language: Language;
21
23
  /**
22
24
  * Back button tooltip for mobile variation
23
25
  * @property tooltip
@@ -37,9 +39,9 @@ export declare class PageHeaderComponent {
37
39
  * @memberof PageHeaderComponent
38
40
  */
39
41
  back: EventEmitter<void>;
40
- constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>);
42
+ constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>, appLang: Language);
41
43
  protected onBack(): void;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, [{ optional: true; }, null]>;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, [{ optional: true; }, null, { optional: true; }]>;
43
45
  static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ui-page-header", never, { "showBackButton": { "alias": "showBackButton"; "required": false; }; "language": { "alias": "language"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "back": "back"; }, never, ["[content]", "[right-side]"], false, never>;
44
46
  static ngAcceptInputType_showBackButton: unknown;
45
47
  }