@testgorilla/tgo-ui 1.10.1 → 1.10.3

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 (65) hide show
  1. package/components/autocomplete/autocomplete.component.d.ts +5 -7
  2. package/components/autocomplete/autocomplete.component.module.d.ts +2 -2
  3. package/components/confirm-dialog/confirm-dialog.component.d.ts +1 -0
  4. package/components/confirm-dialog/confirm-dialog.component.module.d.ts +2 -2
  5. package/components/confirm-dialog/confirm-dialog.model.d.ts +2 -0
  6. package/components/datepicker/datepicker.component.d.ts +4 -7
  7. package/components/datepicker/datepicker.component.module.d.ts +2 -2
  8. package/components/dialog/dialog.component.d.ts +3 -4
  9. package/components/dialog/dialog.component.module.d.ts +2 -2
  10. package/components/dropdown/dropdown.component.d.ts +3 -4
  11. package/components/dropdown/dropdown.component.module.d.ts +2 -2
  12. package/components/empty-state/empty-state.component.d.ts +4 -7
  13. package/components/empty-state/empty-state.component.module.d.ts +3 -3
  14. package/components/field/field.component.d.ts +3 -4
  15. package/components/field/field.component.module.d.ts +2 -2
  16. package/components/file-upload/file-upload.component.d.ts +2 -4
  17. package/components/file-upload/file-upload.component.module.d.ts +2 -2
  18. package/components/navbar/navbar.component.d.ts +4 -7
  19. package/components/navbar/navbar.component.module.d.ts +2 -2
  20. package/components/page-header/page-header.component.d.ts +5 -7
  21. package/components/page-header/page-header.component.module.d.ts +2 -2
  22. package/components/side-sheet/side-sheet.component.d.ts +3 -4
  23. package/components/side-sheet/side-sheet.component.module.d.ts +2 -2
  24. package/components/slider/slider.component.d.ts +4 -7
  25. package/components/slider/slider.component.module.d.ts +2 -2
  26. package/components/snackbar/snackbar.component.d.ts +2 -3
  27. package/components/snackbar/snackbar.component.module.d.ts +2 -2
  28. package/components/stepper/stepper.component.d.ts +5 -7
  29. package/components/stepper/stepper.component.module.d.ts +3 -3
  30. package/esm2022/assets/i18n/en.json +148 -0
  31. package/esm2022/assets/i18n/es.json +5 -0
  32. package/esm2022/components/autocomplete/autocomplete.component.mjs +18 -24
  33. package/esm2022/components/autocomplete/autocomplete.component.module.mjs +8 -34
  34. package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +7 -4
  35. package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +6 -23
  36. package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +1 -1
  37. package/esm2022/components/datepicker/datepicker.component.mjs +32 -38
  38. package/esm2022/components/datepicker/datepicker.component.module.mjs +7 -28
  39. package/esm2022/components/dialog/dialog.component.mjs +9 -13
  40. package/esm2022/components/dialog/dialog.component.module.mjs +7 -32
  41. package/esm2022/components/dropdown/dropdown.component.mjs +13 -17
  42. package/esm2022/components/dropdown/dropdown.component.module.mjs +7 -28
  43. package/esm2022/components/empty-state/empty-state.component.mjs +17 -23
  44. package/esm2022/components/empty-state/empty-state.component.module.mjs +6 -26
  45. package/esm2022/components/field/field.component.mjs +13 -17
  46. package/esm2022/components/field/field.component.module.mjs +7 -28
  47. package/esm2022/components/file-upload/file-upload.component.mjs +20 -24
  48. package/esm2022/components/file-upload/file-upload.component.module.mjs +7 -28
  49. package/esm2022/components/navbar/navbar.component.mjs +22 -28
  50. package/esm2022/components/navbar/navbar.component.module.mjs +7 -28
  51. package/esm2022/components/page-header/page-header.component.mjs +11 -17
  52. package/esm2022/components/page-header/page-header.component.module.mjs +6 -26
  53. package/esm2022/components/side-sheet/side-sheet.component.mjs +11 -15
  54. package/esm2022/components/side-sheet/side-sheet.component.module.mjs +7 -28
  55. package/esm2022/components/slider/slider.component.mjs +21 -27
  56. package/esm2022/components/slider/slider.component.module.mjs +14 -39
  57. package/esm2022/components/snackbar/snackbar.component.mjs +10 -13
  58. package/esm2022/components/snackbar/snackbar.component.module.mjs +7 -28
  59. package/esm2022/components/stepper/stepper.component.mjs +14 -20
  60. package/esm2022/components/stepper/stepper.component.module.mjs +7 -28
  61. package/esm2022/pipes/ui-translate.pipe.mjs +54 -0
  62. package/fesm2022/testgorilla-tgo-ui.mjs +441 -557
  63. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  64. package/package.json +1 -1
  65. package/pipes/ui-translate.pipe.d.ts +28 -0
@@ -1,12 +1,11 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { MatAutocomplete, MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
4
4
  import { ReplaySubject } from 'rxjs';
5
5
  import { Autocomplete, AutocompleteType, DropdownVariation } from './autocomplete.model';
6
- import { Language, LanguageService } from '../../utils/localization/language.service';
6
+ import { Language } from '../../utils/localization/language.service';
7
7
  import * as i0 from "@angular/core";
8
- export declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit, OnInit {
9
- private readonly languageService;
8
+ export declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
10
9
  private readonly cdr;
11
10
  /**
12
11
  * @property itemsList
@@ -86,7 +85,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
86
85
  formFieldElement: ElementRef<HTMLElement>;
87
86
  tagContainer: ElementRef<HTMLElement>;
88
87
  autocomplete: MatAutocompleteTrigger;
89
- private lang;
88
+ protected lang: Language;
90
89
  protected value: any;
91
90
  protected inputValue: any;
92
91
  protected isInputFocus: boolean;
@@ -100,9 +99,8 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
100
99
  protected filteredSuggestionList$: import("rxjs").Observable<any>;
101
100
  protected searchResult$: import("rxjs").Observable<boolean>;
102
101
  protected translationContext: string;
103
- constructor(languageService: LanguageService, cdr: ChangeDetectorRef);
102
+ constructor(cdr: ChangeDetectorRef);
104
103
  ngOnChanges(): void;
105
- ngOnInit(): void;
106
104
  ngAfterViewInit(): void;
107
105
  onChange: (_: any) => void;
108
106
  onTouch: () => void;
@@ -11,9 +11,9 @@ import * as i9 from "@angular/forms";
11
11
  import * as i10 from "../tag/tag.component.module";
12
12
  import * as i11 from "@angular/material/chips";
13
13
  import * as i12 from "../icon/icon.component.module";
14
- import * as i13 from "@ngneat/transloco";
14
+ import * as i13 from "../../pipes/ui-translate.pipe";
15
15
  export declare class AutocompleteComponentModule {
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponentModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteComponentModule, [typeof i1.AutocompleteComponent, typeof i2.TransformItemPipe, typeof i3.IncludesPipe, typeof i4.SelectTextDirective], [typeof i5.CommonModule, typeof i6.MatFormFieldModule, typeof i7.MatAutocompleteModule, typeof i8.MatInputModule, typeof i9.FormsModule, typeof i10.TagComponentModule, typeof i11.MatChipsModule, typeof i12.IconComponentModule, typeof i13.TranslocoModule], [typeof i1.AutocompleteComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteComponentModule, [typeof i1.AutocompleteComponent, typeof i2.TransformItemPipe, typeof i3.IncludesPipe, typeof i4.SelectTextDirective], [typeof i5.CommonModule, typeof i6.MatFormFieldModule, typeof i7.MatAutocompleteModule, typeof i8.MatInputModule, typeof i9.FormsModule, typeof i10.TagComponentModule, typeof i11.MatChipsModule, typeof i12.IconComponentModule, typeof i13.UiTranslatePipe], [typeof i1.AutocompleteComponent]>;
18
18
  static ɵinj: i0.ɵɵInjectorDeclaration<AutocompleteComponentModule>;
19
19
  }
@@ -8,6 +8,7 @@ export declare class ConfirmDialogComponent {
8
8
  confirmButtonText: string | undefined;
9
9
  cancelButtonText: string | undefined;
10
10
  title: string | undefined;
11
+ lang: import("../../utils/localization/language.service").Language;
11
12
  constructor(dialogRef: MatDialogRef<ConfirmDialogComponent>, data: ConfirmDialogData);
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
13
14
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ui-confirm-dialog", never, {}, {}, never, never, false, never>;
@@ -4,9 +4,9 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/dialog";
5
5
  import * as i4 from "../button/button.component.module";
6
6
  import * as i5 from "../dialog/dialog.component.module";
7
- import * as i6 from "@ngneat/transloco";
7
+ import * as i6 from "../../pipes/ui-translate.pipe";
8
8
  export declare class ConfirmDialogComponentModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponentModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule, [typeof i1.ConfirmDialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.DialogComponentModule, typeof i6.TranslocoModule], [typeof i1.ConfirmDialogComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule, [typeof i1.ConfirmDialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.DialogComponentModule, typeof i6.UiTranslatePipe], [typeof i1.ConfirmDialogComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogComponentModule>;
12
12
  }
@@ -1,7 +1,9 @@
1
+ import { Language } from '../../utils/localization/language.service';
1
2
  export interface ConfirmDialogData {
2
3
  message: string;
3
4
  confirmButtonText?: string;
4
5
  cancelButtonText?: string;
5
6
  title?: string;
6
7
  color?: string;
8
+ language?: Language;
7
9
  }
@@ -1,9 +1,8 @@
1
- import { EventEmitter, OnChanges, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnChanges } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
3
- import { Language, LanguageService } from '../../utils/localization/language.service';
3
+ import { Language } from '../../utils/localization/language.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare class DatepickerComponent implements OnChanges, ControlValueAccessor, OnInit {
6
- private readonly languageService;
5
+ export declare class DatepickerComponent implements OnChanges, ControlValueAccessor {
7
6
  class: string;
8
7
  /**
9
8
  * Form field label
@@ -90,8 +89,7 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
90
89
  * @memberof SnackbarComponent
91
90
  */
92
91
  set language(value: Language);
93
- private lang;
94
- constructor(languageService: LanguageService);
92
+ protected lang: Language;
95
93
  /**
96
94
  * @ignore
97
95
  */
@@ -115,7 +113,6 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
115
113
  protected translationContext: string;
116
114
  get hint(): string;
117
115
  ngOnChanges(): void;
118
- ngOnInit(): void;
119
116
  setErrorsLength(): boolean;
120
117
  onValueChange(value: Date | string): void;
121
118
  writeValue(value?: Date | string): void;
@@ -7,9 +7,9 @@ import * as i5 from "../icon/icon.component.module";
7
7
  import * as i6 from "@angular/forms";
8
8
  import * as i7 from "@angular/material/datepicker";
9
9
  import * as i8 from "@angular/material/core";
10
- import * as i9 from "@ngneat/transloco";
10
+ import * as i9 from "../../pipes/ui-translate.pipe";
11
11
  export declare class DatepickerComponentModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponentModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComponentModule, [typeof i1.DatepickerComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.MatDatepickerModule, typeof i8.MatNativeDateModule, typeof i9.TranslocoModule], [typeof i1.DatepickerComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComponentModule, [typeof i1.DatepickerComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.MatDatepickerModule, typeof i8.MatNativeDateModule, typeof i9.UiTranslatePipe], [typeof i1.DatepickerComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerComponentModule>;
15
15
  }
@@ -1,12 +1,11 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { ButtonColor } from '../button/button.model';
4
- import { Language, LanguageService } from '../../utils/localization/language.service';
4
+ import { Language } from '../../utils/localization/language.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class DialogComponent implements OnInit, OnChanges {
7
7
  dialogRef: MatDialogRef<DialogComponent>;
8
- private readonly languageService;
9
- constructor(dialogRef: MatDialogRef<DialogComponent>, languageService: LanguageService);
8
+ constructor(dialogRef: MatDialogRef<DialogComponent>);
10
9
  /**
11
10
  * Dialog title
12
11
  *
@@ -68,7 +67,7 @@ export declare class DialogComponent implements OnInit, OnChanges {
68
67
  secondaryButtonClickEvent: EventEmitter<Event>;
69
68
  primaryButtonClickEvent: EventEmitter<Event>;
70
69
  disableButtons: boolean;
71
- private lang;
70
+ protected lang: Language;
72
71
  protected readonly translationContext = "DIALOG.";
73
72
  ngOnInit(): void;
74
73
  ngOnChanges(changes: SimpleChanges): void;
@@ -3,9 +3,9 @@ import * as i1 from "./dialog.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/dialog";
5
5
  import * as i4 from "../button/button.component.module";
6
- import * as i5 from "@ngneat/transloco";
6
+ import * as i5 from "../../pipes/ui-translate.pipe";
7
7
  export declare class DialogComponentModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof i1.DialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.TranslocoModule], [typeof i1.DialogComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof i1.DialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.UiTranslatePipe], [typeof i1.DialogComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
11
11
  }
@@ -2,10 +2,9 @@ import { OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { FloatLabelType } from '@angular/material/form-field';
4
4
  import { OptionType } from './dropdown.model';
5
- import { Language, LanguageService } from '../../utils/localization/language.service';
5
+ import { Language } from '../../utils/localization/language.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class DropdownComponent implements OnInit, ControlValueAccessor {
8
- private readonly languageService;
9
8
  class: string;
10
9
  /**
11
10
  * Text content will be applied to the input element if present.
@@ -95,7 +94,7 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor {
95
94
  * @memberof DropdownComponent
96
95
  */
97
96
  set language(value: Language);
98
- private lang;
97
+ protected lang: Language;
99
98
  /**
100
99
  * @ignore
101
100
  */
@@ -104,7 +103,7 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor {
104
103
  * @ignore
105
104
  */
106
105
  onTouch: () => void;
107
- constructor(languageService: LanguageService);
106
+ constructor();
108
107
  floatLabel: FloatLabelType;
109
108
  classError: string;
110
109
  errorsLength: boolean;
@@ -7,9 +7,9 @@ import * as i5 from "../icon/icon.component.module";
7
7
  import * as i6 from "@angular/forms";
8
8
  import * as i7 from "../button/button.component.module";
9
9
  import * as i8 from "@angular/material/select";
10
- import * as i9 from "@ngneat/transloco";
10
+ import * as i9 from "../../pipes/ui-translate.pipe";
11
11
  export declare class DropdownComponentModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponentModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule, [typeof i1.DropdownComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.ButtonComponentModule, typeof i8.MatSelectModule, typeof i9.TranslocoModule], [typeof i1.DropdownComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule, [typeof i1.DropdownComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.ButtonComponentModule, typeof i8.MatSelectModule, typeof i9.UiTranslatePipe], [typeof i1.DropdownComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<DropdownComponentModule>;
15
15
  }
@@ -1,9 +1,8 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { IconName } from '../icon/icon.model';
3
- import { Language, LanguageService } from '../../utils/localization/language.service';
3
+ import { Language } from '../../utils/localization/language.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare class EmptyStateComponent implements OnInit {
6
- private readonly languageService;
5
+ export declare class EmptyStateComponent {
7
6
  /**
8
7
  * @description If the default image should be displayed.
9
8
  * @type {boolean}
@@ -73,9 +72,7 @@ export declare class EmptyStateComponent implements OnInit {
73
72
  * @memberof TagComponent
74
73
  */
75
74
  tertiaryButtonClick: EventEmitter<Event>;
76
- private lang;
77
- constructor(languageService: LanguageService);
78
- ngOnInit(): void;
75
+ protected lang: Language;
79
76
  onPrimaryButtonClick(event: Event): void;
80
77
  onSecondaryButtonClick(event: Event): void;
81
78
  onTertiaryButtonClick(event: Event): void;
@@ -2,10 +2,10 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./empty-state.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../icon/icon.component.module";
5
- import * as i4 from "@ngneat/transloco";
6
- import * as i5 from "../button/button.component.module";
5
+ import * as i4 from "../button/button.component.module";
6
+ import * as i5 from "../../pipes/ui-translate.pipe";
7
7
  export declare class EmptyStateComponentModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EmptyStateComponentModule, [typeof i1.EmptyStateComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i2.NgOptimizedImage, typeof i4.TranslocoModule, typeof i5.ButtonComponentModule], [typeof i1.EmptyStateComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EmptyStateComponentModule, [typeof i1.EmptyStateComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i2.NgOptimizedImage, typeof i4.ButtonComponentModule, typeof i5.UiTranslatePipe], [typeof i1.EmptyStateComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<EmptyStateComponentModule>;
11
11
  }
@@ -3,12 +3,11 @@ import { ControlValueAccessor } from '@angular/forms';
3
3
  import { FieldType } from '../../components/field/field.model';
4
4
  import { MatIconRegistry } from '@angular/material/icon';
5
5
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
- import { Language, LanguageService } from '../../utils/localization/language.service';
6
+ import { Language } from '../../utils/localization/language.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class FieldComponent implements OnInit, ControlValueAccessor {
9
9
  private matIconRegistry;
10
10
  private domSanitizer;
11
- private readonly languageService;
12
11
  class: string;
13
12
  /**
14
13
  * Form field label
@@ -102,7 +101,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor {
102
101
  * @memberof FieldComponent
103
102
  */
104
103
  set language(value: Language);
105
- private lang;
104
+ protected lang: Language;
106
105
  protected readonly translationContext = "FIELD.";
107
106
  /**
108
107
  * @ignore
@@ -112,7 +111,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor {
112
111
  * @ignore
113
112
  */
114
113
  onTouch: () => void;
115
- constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, languageService: LanguageService);
114
+ constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer);
116
115
  showClose: boolean;
117
116
  showPassword: boolean;
118
117
  currentType: string;
@@ -8,9 +8,9 @@ import * as i6 from "../icon/icon.component.module";
8
8
  import * as i7 from "@angular/forms";
9
9
  import * as i8 from "../button/button.component.module";
10
10
  import * as i9 from "@angular/material/icon";
11
- import * as i10 from "@ngneat/transloco";
11
+ import * as i10 from "../../pipes/ui-translate.pipe";
12
12
  export declare class FieldComponentModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponentModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<FieldComponentModule, [typeof i1.FieldComponent, typeof i2.DigitsOnlyDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.ButtonComponentModule, typeof i9.MatIconModule, typeof i10.TranslocoModule], [typeof i1.FieldComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FieldComponentModule, [typeof i1.FieldComponent, typeof i2.DigitsOnlyDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.ButtonComponentModule, typeof i9.MatIconModule, typeof i10.UiTranslatePipe], [typeof i1.FieldComponent]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<FieldComponentModule>;
16
16
  }
@@ -1,9 +1,8 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { Language, LanguageService } from '../../utils/localization/language.service';
3
+ import { Language } from '../../utils/localization/language.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAccessor {
6
- private readonly languageService;
7
6
  class: string;
8
7
  /**
9
8
  *
@@ -62,7 +61,7 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
62
61
  */
63
62
  companyColor: string;
64
63
  OnDrop: EventEmitter<File>;
65
- private lang;
64
+ protected lang: Language;
66
65
  protected readonly translationContext = "FILE_UPLOAD.";
67
66
  /**
68
67
  * @ignore
@@ -75,7 +74,6 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
75
74
  progress: boolean;
76
75
  success: boolean;
77
76
  browse: boolean;
78
- constructor(languageService: LanguageService);
79
77
  ngOnInit(): void;
80
78
  onFileDropped(files: FileList): void;
81
79
  onChangeUpload(event: Event): void;
@@ -6,9 +6,9 @@ import * as i4 from "@angular/material/form-field";
6
6
  import * as i5 from "@angular/material/input";
7
7
  import * as i6 from "../icon/icon.component.module";
8
8
  import * as i7 from "../progress-bar/progress-bar.component.module";
9
- import * as i8 from "@ngneat/transloco";
9
+ import * as i8 from "../../pipes/ui-translate.pipe";
10
10
  export declare class FileUploadComponentModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponentModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadComponentModule, [typeof i1.FileUploadComponent, typeof i2.DragDropDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.ProgressBarComponentModule, typeof i8.TranslocoModule], [typeof i1.FileUploadComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadComponentModule, [typeof i1.FileUploadComponent, typeof i2.DragDropDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.ProgressBarComponentModule, typeof i8.UiTranslatePipe], [typeof i1.FileUploadComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadComponentModule>;
14
14
  }
@@ -1,9 +1,8 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { IRoute, MenuItem } from './navbar.model';
3
- import { Language, LanguageService } from '../../utils/localization/language.service';
3
+ import { Language } from '../../utils/localization/language.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare class NavbarComponent implements OnInit {
6
- private readonly languageService;
5
+ export declare class NavbarComponent {
7
6
  /**
8
7
  * Routes object
9
8
  *
@@ -52,10 +51,8 @@ export declare class NavbarComponent implements OnInit {
52
51
  * @ignore
53
52
  */
54
53
  logoutEvent: EventEmitter<void>;
55
- private lang;
54
+ protected lang: Language;
56
55
  protected readonly translationContext = "NAVBAR.";
57
- constructor(languageService: LanguageService);
58
- ngOnInit(): void;
59
56
  navigate(routeId: string): void;
60
57
  logout(): void;
61
58
  clickMenuItem(id: string): void;
@@ -8,9 +8,9 @@ import * as i6 from "@angular/material/core";
8
8
  import * as i7 from "@angular/material/menu";
9
9
  import * as i8 from "../logo/logo.component.module";
10
10
  import * as i9 from "../icon/icon.component.module";
11
- import * as i10 from "@ngneat/transloco";
11
+ import * as i10 from "../../pipes/ui-translate.pipe";
12
12
  export declare class NavbarComponentModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponentModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<NavbarComponentModule, [typeof i1.NavbarComponent], [typeof i2.CommonModule, typeof i3.MatToolbarModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatRippleModule, typeof i7.MatMenuModule, typeof i8.LogoComponentModule, typeof i9.IconComponentModule, typeof i10.TranslocoModule], [typeof i1.NavbarComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NavbarComponentModule, [typeof i1.NavbarComponent], [typeof i2.CommonModule, typeof i3.MatToolbarModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatRippleModule, typeof i7.MatMenuModule, typeof i8.LogoComponentModule, typeof i9.IconComponentModule, typeof i10.UiTranslatePipe], [typeof i1.NavbarComponent]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<NavbarComponentModule>;
16
16
  }
@@ -1,10 +1,9 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
- import { Language, LanguageService } from '../../utils/localization/language.service';
3
+ import { Language } from '../../utils/localization/language.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare class PageHeaderComponent implements OnInit {
5
+ export declare class PageHeaderComponent {
6
6
  protected readonly isMobile$: Observable<boolean>;
7
- private readonly languageService;
8
7
  /**
9
8
  * Flag to determine whether the "Back" button should be displayed.
10
9
  * @default true
@@ -29,9 +28,8 @@ export declare class PageHeaderComponent implements OnInit {
29
28
  * @memberof PageHeaderComponent
30
29
  */
31
30
  back: EventEmitter<void>;
32
- private lang;
33
- constructor(isMobile$: Observable<boolean>, languageService: LanguageService);
34
- ngOnInit(): void;
31
+ protected lang: Language;
32
+ constructor(isMobile$: Observable<boolean>);
35
33
  protected onBack(): void;
36
34
  static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
37
35
  static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ui-page-header", never, { "showBackButton": { "alias": "showBackButton"; "required": false; }; "language": { "alias": "language"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "back": "back"; }, never, ["[content]", "[right-side]"], false, never>;
@@ -2,9 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./page-header.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../button/button.component.module";
5
- import * as i4 from "@ngneat/transloco";
5
+ import * as i4 from "../../pipes/ui-translate.pipe";
6
6
  export declare class PageHeaderModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof i1.PageHeaderComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.TranslocoModule], never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof i1.PageHeaderComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.UiTranslatePipe], never>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
10
10
  }
@@ -2,12 +2,11 @@ import { DestroyRef, OnInit, ViewContainerRef } from '@angular/core';
2
2
  import { SideSheetService } from './side-sheet.service';
3
3
  import { SideSheetConfig, SideSheetPosition } from './side-sheet.model';
4
4
  import { MatDrawer } from '@angular/material/sidenav';
5
- import { Language, LanguageService } from '../../utils/localization/language.service';
5
+ import { Language } from '../../utils/localization/language.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class SideSheetComponent implements OnInit {
8
8
  private sideSheetService;
9
9
  private destroyRef;
10
- private readonly languageService;
11
10
  /**
12
11
  * Set position. Defaults "end"
13
12
  *
@@ -24,12 +23,12 @@ export declare class SideSheetComponent implements OnInit {
24
23
  set language(value: Language);
25
24
  drawer: MatDrawer;
26
25
  container: ViewContainerRef;
27
- private lang;
26
+ protected lang: Language;
28
27
  protected title: string;
29
28
  protected showBackButton: boolean;
30
29
  protected showTitleTooltip: boolean;
31
30
  protected componentRef$: import("rxjs").Observable<SideSheetConfig | null>;
32
- constructor(sideSheetService: SideSheetService, destroyRef: DestroyRef, languageService: LanguageService);
31
+ constructor(sideSheetService: SideSheetService, destroyRef: DestroyRef);
33
32
  ngOnInit(): void;
34
33
  private setComponentRef;
35
34
  private setConfig;
@@ -5,9 +5,9 @@ import * as i3 from "../icon/icon.component.module";
5
5
  import * as i4 from "../button/button.component.module";
6
6
  import * as i5 from "@angular/material/tooltip";
7
7
  import * as i6 from "@angular/material/sidenav";
8
- import * as i7 from "@ngneat/transloco";
8
+ import * as i7 from "../../pipes/ui-translate.pipe";
9
9
  export declare class SideSheetComponentModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponentModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<SideSheetComponentModule, [typeof i1.SideSheetComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ButtonComponentModule, typeof i5.MatTooltipModule, typeof i6.MatSidenavModule, typeof i7.TranslocoModule], [typeof i1.SideSheetComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SideSheetComponentModule, [typeof i1.SideSheetComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ButtonComponentModule, typeof i5.MatTooltipModule, typeof i6.MatSidenavModule, typeof i7.UiTranslatePipe], [typeof i1.SideSheetComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<SideSheetComponentModule>;
13
13
  }
@@ -1,9 +1,8 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { SliderValue } from './slider.model';
3
- import { Language, LanguageService } from '../../utils/localization/language.service';
3
+ import { Language } from '../../utils/localization/language.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare class SliderComponent implements OnInit {
6
- private readonly languageService;
5
+ export declare class SliderComponent {
7
6
  /**
8
7
  * The maximum value of the slider.
9
8
  *
@@ -76,11 +75,9 @@ export declare class SliderComponent implements OnInit {
76
75
  set language(value: Language);
77
76
  sliderValueChange: EventEmitter<SliderValue>;
78
77
  private value;
79
- private lang;
78
+ protected lang: Language;
80
79
  protected translationContext: string;
81
80
  protected touchedControlName: string;
82
- constructor(languageService: LanguageService);
83
- ngOnInit(): void;
84
81
  onChange: (_: any) => void;
85
82
  onTouch: () => void;
86
83
  registerOnChange(fn: any): void;
@@ -6,9 +6,9 @@ import * as i4 from "@angular/forms";
6
6
  import * as i5 from "@angular/material/input";
7
7
  import * as i6 from "@angular/material/tooltip";
8
8
  import * as i7 from "../icon/icon.component.module";
9
- import * as i8 from "@ngneat/transloco";
9
+ import * as i8 from "../../pipes/ui-translate.pipe";
10
10
  export declare class SliderComponentModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponentModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<SliderComponentModule, [typeof i1.SliderComponent], [typeof i2.CommonModule, typeof i3.MatSliderModule, typeof i4.FormsModule, typeof i5.MatInputModule, typeof i6.MatTooltipModule, typeof i7.IconComponentModule, typeof i8.TranslocoModule], [typeof i1.SliderComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SliderComponentModule, [typeof i1.SliderComponent], [typeof i2.CommonModule, typeof i3.MatSliderModule, typeof i4.FormsModule, typeof i5.MatInputModule, typeof i6.MatTooltipModule, typeof i7.IconComponentModule, typeof i8.UiTranslatePipe], [typeof i1.SliderComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<SliderComponentModule>;
14
14
  }
@@ -2,12 +2,11 @@ import { OnInit } from '@angular/core';
2
2
  import { MatSnackBarRef } from '@angular/material/snack-bar';
3
3
  import { IconName } from '../../components/icon/icon.model';
4
4
  import { SnackbarType } from '../../components/snackbar/snackbar.model';
5
- import { Language, LanguageService } from '../../utils/localization/language.service';
5
+ import { Language } from '../../utils/localization/language.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class SnackbarComponent implements OnInit {
8
8
  private data;
9
9
  private snackbarRef;
10
- private languageService;
11
10
  /**
12
11
  * Background color of the button while in active state
13
12
  *
@@ -55,7 +54,7 @@ export declare class SnackbarComponent implements OnInit {
55
54
  timerPausedAt: number;
56
55
  position: string;
57
56
  translationContext: string;
58
- constructor(data: any, snackbarRef: MatSnackBarRef<SnackbarComponent>, languageService: LanguageService);
57
+ constructor(data: any, snackbarRef: MatSnackBarRef<SnackbarComponent>);
59
58
  ngOnInit(): void;
60
59
  show(): void;
61
60
  hide(): void;
@@ -3,9 +3,9 @@ import * as i1 from "./snackbar.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../button/button.component.module";
5
5
  import * as i4 from "../icon/icon.component.module";
6
- import * as i5 from "@ngneat/transloco";
6
+ import * as i5 from "../../pipes/ui-translate.pipe";
7
7
  export declare class SnackbarComponentModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SnackbarComponentModule, [typeof i1.SnackbarComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule, typeof i5.TranslocoModule], [typeof i1.SnackbarComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SnackbarComponentModule, [typeof i1.SnackbarComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule, typeof i5.UiTranslatePipe], [typeof i1.SnackbarComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<SnackbarComponentModule>;
11
11
  }
@@ -1,11 +1,10 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { Step } from './stepper.model';
3
3
  import { Observable } from 'rxjs';
4
- import { Language, LanguageService } from '../../utils/localization/language.service';
4
+ import { Language } from '../../utils/localization/language.service';
5
5
  import * as i0 from "@angular/core";
6
- export declare class StepperComponent implements OnInit {
6
+ export declare class StepperComponent {
7
7
  protected readonly isMobile$: Observable<boolean>;
8
- private readonly languageService;
9
8
  /**
10
9
  * Input property to set the steps for the stepper.
11
10
  * The first step will be marked as visited automatically.
@@ -39,15 +38,14 @@ export declare class StepperComponent implements OnInit {
39
38
  previousIndex: number;
40
39
  step: Step;
41
40
  }>;
42
- private lang;
41
+ protected lang: Language;
43
42
  private isOpened;
44
43
  protected itemSteps: Step[];
45
44
  protected progressValue: number;
46
45
  protected translationContext: string;
47
46
  get isOpen(): boolean;
48
47
  set isOpen(value: boolean);
49
- constructor(isMobile$: Observable<boolean>, languageService: LanguageService);
50
- ngOnInit(): void;
48
+ constructor(isMobile$: Observable<boolean>);
51
49
  protected onSelect(changedIndex: number, step: Step): void;
52
50
  protected showStepsToggle(): void;
53
51
  protected onCloseStepList(): void;
@@ -5,10 +5,10 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "../icon/icon.component.module";
6
6
  import * as i5 from "../step/step.component.module";
7
7
  import * as i6 from "@angular/material/progress-spinner";
8
- import * as i7 from "@ngneat/transloco";
9
- import * as i8 from "../radial-progress/radial-progress.component.module";
8
+ import * as i7 from "../radial-progress/radial-progress.component.module";
9
+ import * as i8 from "../../pipes/ui-translate.pipe";
10
10
  export declare class StepperComponentModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponentModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, [typeof i1.StepperComponent, typeof i2.StepLineWidthDirective], [typeof i3.CommonModule, typeof i4.IconComponentModule, typeof i5.StepComponentModule, typeof i6.MatProgressSpinnerModule, typeof i7.TranslocoModule, typeof i8.RadialProgressComponentModule], [typeof i1.StepperComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, [typeof i1.StepperComponent, typeof i2.StepLineWidthDirective], [typeof i3.CommonModule, typeof i4.IconComponentModule, typeof i5.StepComponentModule, typeof i6.MatProgressSpinnerModule, typeof i7.RadialProgressComponentModule, typeof i8.UiTranslatePipe], [typeof i1.StepperComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<StepperComponentModule>;
14
14
  }