@testgorilla/tgo-ui 1.7.0 → 1.8.0

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 (140) hide show
  1. package/components/autocomplete/autocomplete.component.d.ts +16 -4
  2. package/components/card/card.component.d.ts +9 -1
  3. package/components/card/card.model.d.ts +1 -0
  4. package/components/confirm-dialog/confirm-dialog.component.d.ts +3 -3
  5. package/components/confirm-dialog/confirm-dialog.component.module.d.ts +2 -1
  6. package/components/datepicker/datepicker.component.d.ts +16 -3
  7. package/components/datepicker/datepicker.component.module.d.ts +2 -1
  8. package/components/dialog/dialog.component.d.ts +13 -2
  9. package/components/dialog/dialog.component.module.d.ts +2 -1
  10. package/components/dropdown/dropdown.component.d.ts +12 -2
  11. package/components/dropdown/dropdown.component.module.d.ts +2 -1
  12. package/components/empty-state/empty-state.component.d.ts +14 -3
  13. package/components/field/field.component.d.ts +13 -2
  14. package/components/field/field.component.module.d.ts +2 -1
  15. package/components/file-upload/file-upload.component.d.ts +13 -2
  16. package/components/file-upload/file-upload.component.module.d.ts +2 -1
  17. package/components/icon/icon.config.d.ts +1 -1
  18. package/components/navbar/navbar.component.d.ts +16 -4
  19. package/components/navbar/navbar.component.module.d.ts +2 -1
  20. package/components/navigation/navigation.component.d.ts +3 -3
  21. package/components/navigation/navigation.component.module.d.ts +1 -2
  22. package/components/navigation/navigation.model.d.ts +12 -0
  23. package/components/side-sheet/side-sheet.component.d.ts +12 -2
  24. package/components/skeleton/skeleton.component.d.ts +9 -3
  25. package/components/skeleton/skeleton.model.d.ts +2 -0
  26. package/components/slider/slider.component.d.ts +97 -0
  27. package/components/slider/slider.component.module.d.ts +14 -0
  28. package/components/slider/slider.model.d.ts +4 -0
  29. package/components/snackbar/snackbar.component.module.d.ts +0 -2
  30. package/components/spinner/spinner.component.d.ts +10 -1
  31. package/components/spinner/spinner.model.d.ts +1 -0
  32. package/components/spinner/spinner.module.d.ts +2 -1
  33. package/components/stepper/stepper.component.d.ts +15 -4
  34. package/esm2022/components/alert-banner/alert-banner.component.mjs +3 -3
  35. package/esm2022/components/autocomplete/autocomplete.component.mjs +48 -29
  36. package/esm2022/components/avatar/avatar.component.mjs +2 -2
  37. package/esm2022/components/badge/badge.component.mjs +2 -2
  38. package/esm2022/components/banner-action/banner-action.component.mjs +2 -2
  39. package/esm2022/components/button/button.component.mjs +2 -2
  40. package/esm2022/components/card/card.component.mjs +17 -5
  41. package/esm2022/components/card/card.model.mjs +2 -0
  42. package/esm2022/components/checkbox/checkbox.component.mjs +2 -2
  43. package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +7 -7
  44. package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +23 -5
  45. package/esm2022/components/datepicker/datepicker.component.mjs +45 -24
  46. package/esm2022/components/datepicker/datepicker.component.module.mjs +29 -6
  47. package/esm2022/components/dialog/dialog.component.mjs +27 -8
  48. package/esm2022/components/dialog/dialog.component.module.mjs +32 -6
  49. package/esm2022/components/dropdown/dropdown.component.mjs +31 -13
  50. package/esm2022/components/dropdown/dropdown.component.module.mjs +29 -6
  51. package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +2 -2
  52. package/esm2022/components/empty-state/empty-state.component.mjs +28 -10
  53. package/esm2022/components/field/field.component.mjs +32 -13
  54. package/esm2022/components/field/field.component.module.mjs +29 -6
  55. package/esm2022/components/file-upload/file-upload.component.mjs +30 -11
  56. package/esm2022/components/file-upload/file-upload.component.module.mjs +43 -6
  57. package/esm2022/components/icon/icon.component.mjs +2 -2
  58. package/esm2022/components/icon/icon.config.mjs +7 -1
  59. package/esm2022/components/navbar/navbar.component.mjs +34 -13
  60. package/esm2022/components/navbar/navbar.component.module.mjs +29 -6
  61. package/esm2022/components/navigation/navigation.component.mjs +3 -4
  62. package/esm2022/components/navigation/navigation.component.module.mjs +4 -5
  63. package/esm2022/components/navigation/navigation.model.mjs +7 -0
  64. package/esm2022/components/paginator/paginator.component.mjs +2 -2
  65. package/esm2022/components/progress-bar/progress-bar.component.mjs +2 -2
  66. package/esm2022/components/radial-progress/radial-progress.component.mjs +2 -2
  67. package/esm2022/components/radio-button/radio-button.component.mjs +2 -2
  68. package/esm2022/components/rating/rating.component.mjs +2 -2
  69. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +2 -2
  70. package/esm2022/components/side-sheet/side-sheet.component.mjs +28 -11
  71. package/esm2022/components/skeleton/skeleton.component.mjs +34 -7
  72. package/esm2022/components/skeleton/skeleton.model.mjs +2 -0
  73. package/esm2022/components/slider/slider.component.mjs +181 -0
  74. package/esm2022/components/slider/slider.component.module.mjs +68 -0
  75. package/esm2022/components/slider/slider.model.mjs +2 -0
  76. package/esm2022/components/snackbar/snackbar.component.mjs +3 -3
  77. package/esm2022/components/snackbar/snackbar.component.module.mjs +2 -2
  78. package/esm2022/components/spinner/spinner.component.mjs +18 -5
  79. package/esm2022/components/spinner/spinner.model.mjs +2 -0
  80. package/esm2022/components/spinner/spinner.module.mjs +4 -2
  81. package/esm2022/components/step/step.component.mjs +2 -2
  82. package/esm2022/components/stepper/stepper.component.mjs +33 -14
  83. package/esm2022/components/table/table.component.mjs +2 -2
  84. package/esm2022/components/tag/tag.component.mjs +2 -2
  85. package/esm2022/components/toggle/toggle.component.mjs +2 -2
  86. package/esm2022/public-api.mjs +8 -21
  87. package/fesm2022/testgorilla-tgo-ui.mjs +1279 -1338
  88. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  89. package/package.json +1 -1
  90. package/public-api.d.ts +6 -15
  91. package/src/assets/i18n/en.json +64 -1
  92. package/src/assets/icons/Fire.svg +10 -0
  93. package/src/assets/icons/Gift.svg +7 -0
  94. package/src/assets/icons/Grab.svg +3 -0
  95. package/src/assets/icons/Share.svg +3 -0
  96. package/src/assets/icons/Sparkles.svg +18 -0
  97. package/src/assets/icons/Video-stop.svg +3 -0
  98. package/src/theme/_variables.scss +49 -1
  99. package/components/confirm-dialog/confirm-dialog.constants.d.ts +0 -5
  100. package/components/create-account/create-account.component.d.ts +0 -75
  101. package/components/create-account/create-account.component.module.d.ts +0 -14
  102. package/components/create-account/create-account.constant.d.ts +0 -13
  103. package/components/create-account/create-account.model.d.ts +0 -17
  104. package/components/create-password/create-password.component.d.ts +0 -43
  105. package/components/create-password/create-password.component.module.d.ts +0 -13
  106. package/components/create-password/create-password.constant.d.ts +0 -5
  107. package/components/create-password/create-password.model.d.ts +0 -8
  108. package/components/forgot-password/forgot-password.component.d.ts +0 -48
  109. package/components/forgot-password/forgot-password.component.module.d.ts +0 -13
  110. package/components/forgot-password/forgot-password.constant.d.ts +0 -6
  111. package/components/forgot-password/forgot-password.model.d.ts +0 -9
  112. package/components/label/label.component.d.ts +0 -46
  113. package/components/label/label.component.module.d.ts +0 -8
  114. package/components/label/label.model.d.ts +0 -16
  115. package/components/login/login.component.d.ts +0 -57
  116. package/components/login/login.component.module.d.ts +0 -13
  117. package/components/login/login.constant.d.ts +0 -10
  118. package/components/login/login.model.d.ts +0 -15
  119. package/esm2022/components/confirm-dialog/confirm-dialog.constants.mjs +0 -6
  120. package/esm2022/components/create-account/create-account.component.mjs +0 -148
  121. package/esm2022/components/create-account/create-account.component.module.mjs +0 -48
  122. package/esm2022/components/create-account/create-account.constant.mjs +0 -14
  123. package/esm2022/components/create-account/create-account.model.mjs +0 -2
  124. package/esm2022/components/create-password/create-password.component.mjs +0 -83
  125. package/esm2022/components/create-password/create-password.component.module.mjs +0 -44
  126. package/esm2022/components/create-password/create-password.constant.mjs +0 -6
  127. package/esm2022/components/create-password/create-password.model.mjs +0 -2
  128. package/esm2022/components/forgot-password/forgot-password.component.mjs +0 -86
  129. package/esm2022/components/forgot-password/forgot-password.component.module.mjs +0 -44
  130. package/esm2022/components/forgot-password/forgot-password.constant.mjs +0 -7
  131. package/esm2022/components/forgot-password/forgot-password.model.mjs +0 -2
  132. package/esm2022/components/label/label.component.mjs +0 -64
  133. package/esm2022/components/label/label.component.module.mjs +0 -19
  134. package/esm2022/components/label/label.model.mjs +0 -9
  135. package/esm2022/components/login/login.component.mjs +0 -113
  136. package/esm2022/components/login/login.component.module.mjs +0 -44
  137. package/esm2022/components/login/login.constant.mjs +0 -11
  138. package/esm2022/components/login/login.model.mjs +0 -2
  139. package/esm2022/utils/validators.utils.mjs +0 -8
  140. package/utils/validators.utils.d.ts +0 -4
@@ -1,10 +1,13 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnChanges } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit } 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
7
  import * as i0 from "@angular/core";
7
- export declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
8
+ export declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit, OnInit {
9
+ private readonly languageService;
10
+ private readonly cdr;
8
11
  /**
9
12
  * @property itemsList
10
13
  * @description The list of items to display in the autocomplete.
@@ -71,12 +74,19 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
71
74
  * @memberof AutocompleteComponent
72
75
  */
73
76
  variant: DropdownVariation;
77
+ /**
78
+ * The language to be used
79
+ * @property language
80
+ * @type {Language}
81
+ * @memberof AutocompleteComponent
82
+ */
83
+ set language(value: Language);
74
84
  selectionChange: EventEmitter<any>;
75
85
  searchTextChange: EventEmitter<string>;
76
86
  formFieldElement: ElementRef<HTMLElement>;
77
87
  tagContainer: ElementRef<HTMLElement>;
78
88
  autocomplete: MatAutocompleteTrigger;
79
- private readonly cdr;
89
+ private lang;
80
90
  protected value: any;
81
91
  protected inputValue: any;
82
92
  protected isInputFocus: boolean;
@@ -90,7 +100,9 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
90
100
  protected filteredSuggestionList$: import("rxjs").Observable<any>;
91
101
  protected searchResult$: import("rxjs").Observable<boolean>;
92
102
  protected translationContext: string;
103
+ constructor(languageService: LanguageService, cdr: ChangeDetectorRef);
93
104
  ngOnChanges(): void;
105
+ ngOnInit(): void;
94
106
  ngAfterViewInit(): void;
95
107
  onChange: (_: any) => void;
96
108
  onTouch: () => void;
@@ -112,5 +124,5 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
112
124
  protected onChevronClick(autocomplete: MatAutocomplete): void;
113
125
  protected get inputWidth(): number;
114
126
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
115
- 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; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; }, never, never, false, never>;
127
+ 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; }; "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; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; }, never, never, false, never>;
116
128
  }
@@ -1,5 +1,13 @@
1
+ import { CardSize } from './card.model';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class CardComponent {
4
+ /**
5
+ * Card size. Defaults "medium".
6
+ *
7
+ * @type {CardSize}
8
+ * @memberof CardComponent
9
+ */
10
+ size: CardSize;
3
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, {}, {}, never, ["*"], false, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
5
13
  }
@@ -0,0 +1 @@
1
+ export type CardSize = 'small' | 'medium' | 'large';
@@ -5,9 +5,9 @@ export declare class ConfirmDialogComponent {
5
5
  dialogRef: MatDialogRef<ConfirmDialogComponent>;
6
6
  private data;
7
7
  confirmMessage: string;
8
- confirmButtonText: string;
9
- cancelButtonText: string;
10
- title: string;
8
+ confirmButtonText: string | undefined;
9
+ cancelButtonText: string | undefined;
10
+ title: string | undefined;
11
11
  constructor(dialogRef: MatDialogRef<ConfirmDialogComponent>, data: ConfirmDialogData);
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ui-confirm-dialog", never, {}, {}, never, never, false, never>;
@@ -4,8 +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
8
  export declare class ConfirmDialogComponentModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule, [typeof i1.ConfirmDialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.DialogComponentModule], [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.TranslocoModule], [typeof i1.ConfirmDialogComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogComponentModule>;
11
12
  }
@@ -1,7 +1,9 @@
1
- import { EventEmitter, OnChanges } from '@angular/core';
1
+ import { EventEmitter, OnChanges, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
3
+ import { Language, LanguageService } from '../../utils/localization/language.service';
3
4
  import * as i0 from "@angular/core";
4
- export declare class DatepickerComponent implements OnChanges, ControlValueAccessor {
5
+ export declare class DatepickerComponent implements OnChanges, ControlValueAccessor, OnInit {
6
+ private readonly languageService;
5
7
  class: string;
6
8
  /**
7
9
  * Form field label
@@ -81,6 +83,15 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
81
83
  * @memberof DatepickerComponent
82
84
  */
83
85
  updateOnBlur: boolean;
86
+ /**
87
+ * The language to be used
88
+ *
89
+ * @type {Language}
90
+ * @memberof SnackbarComponent
91
+ */
92
+ set language(value: Language);
93
+ private lang;
94
+ constructor(languageService: LanguageService);
84
95
  /**
85
96
  * @ignore
86
97
  */
@@ -101,8 +112,10 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
101
112
  end: FormControl<Date | null>;
102
113
  }>;
103
114
  errorsLength: boolean;
115
+ protected translationContext: string;
104
116
  get hint(): string;
105
117
  ngOnChanges(): void;
118
+ ngOnInit(): void;
106
119
  setErrorsLength(): boolean;
107
120
  onValueChange(value: Date | string): void;
108
121
  writeValue(value?: Date | string): void;
@@ -113,5 +126,5 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
113
126
  private setRange;
114
127
  private getRange;
115
128
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
116
- 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; }; }, { "changed": "changed"; }, never, never, false, never>;
129
+ 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; }; }, { "changed": "changed"; }, never, never, false, never>;
117
130
  }
@@ -7,8 +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
11
  export declare class DatepickerComponentModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponentModule, never>;
12
- 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 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.TranslocoModule], [typeof i1.DatepickerComponent]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerComponentModule>;
14
15
  }
@@ -1,10 +1,12 @@
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
5
  import * as i0 from "@angular/core";
5
6
  export declare class DialogComponent implements OnInit, OnChanges {
6
7
  dialogRef: MatDialogRef<DialogComponent>;
7
- constructor(dialogRef: MatDialogRef<DialogComponent>);
8
+ private readonly languageService;
9
+ constructor(dialogRef: MatDialogRef<DialogComponent>, languageService: LanguageService);
8
10
  /**
9
11
  * Dialog title
10
12
  *
@@ -47,10 +49,19 @@ export declare class DialogComponent implements OnInit, OnChanges {
47
49
  * @memberof DialogComponent
48
50
  */
49
51
  primaryButtonType: ButtonColor;
52
+ /**
53
+ * The language to be used
54
+ * @property language
55
+ * @type {Language}
56
+ * @memberof DialogComponent
57
+ */
58
+ set language(value: Language);
50
59
  closeEvent: EventEmitter<Event>;
51
60
  secondaryButtonClickEvent: EventEmitter<Event>;
52
61
  primaryButtonClickEvent: EventEmitter<Event>;
53
62
  disableButtons: boolean;
63
+ private lang;
64
+ protected readonly translationContext = "DIALOG.";
54
65
  ngOnInit(): void;
55
66
  ngOnChanges(changes: SimpleChanges): void;
56
67
  areButtonsDisabled(): void;
@@ -59,5 +70,5 @@ export declare class DialogComponent implements OnInit, OnChanges {
59
70
  onSecondaryButtonClick(event: Event): void;
60
71
  onPrimaryButtonClick(event: Event): void;
61
72
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
62
- 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; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, never, ["*"], false, never>;
73
+ 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; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, never, ["*"], false, never>;
63
74
  }
@@ -3,8 +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
7
  export declare class DialogComponentModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof i1.DialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule], [typeof i1.DialogComponent]>;
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
10
  static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
10
11
  }
@@ -2,8 +2,10 @@ 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
6
  import * as i0 from "@angular/core";
6
7
  export declare class DropdownComponent implements OnInit, ControlValueAccessor {
8
+ private readonly languageService;
7
9
  class: string;
8
10
  /**
9
11
  * Text content will be applied to the input element if present.
@@ -86,6 +88,14 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor {
86
88
  * @memberof DropdownComponent
87
89
  */
88
90
  required: boolean;
91
+ /**
92
+ * The language to be used
93
+ * @property language
94
+ * @type {Language}
95
+ * @memberof DropdownComponent
96
+ */
97
+ set language(value: Language);
98
+ private lang;
89
99
  /**
90
100
  * @ignore
91
101
  */
@@ -94,7 +104,7 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor {
94
104
  * @ignore
95
105
  */
96
106
  onTouch: () => void;
97
- constructor();
107
+ constructor(languageService: LanguageService);
98
108
  floatLabel: FloatLabelType;
99
109
  classError: string;
100
110
  errorsLength: boolean;
@@ -108,5 +118,5 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor {
108
118
  registerOnTouched(fn: any): void;
109
119
  setDisabledState(isDisabled: boolean): void;
110
120
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
111
- 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; }; }, {}, never, never, false, never>;
121
+ 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; }; }, {}, never, never, false, never>;
112
122
  }
@@ -7,8 +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
11
  export declare class DropdownComponentModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponentModule, never>;
12
- 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 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.TranslocoModule], [typeof i1.DropdownComponent]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<DropdownComponentModule>;
14
15
  }
@@ -1,7 +1,9 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { IconName } from '../icon/icon.model';
3
+ import { Language, LanguageService } from '../../utils/localization/language.service';
3
4
  import * as i0 from "@angular/core";
4
- export declare class EmptyStateComponent {
5
+ export declare class EmptyStateComponent implements OnInit {
6
+ private readonly languageService;
5
7
  /**
6
8
  * @description If the default image should be displayed.
7
9
  * @type {boolean}
@@ -44,6 +46,12 @@ export declare class EmptyStateComponent {
44
46
  * @memberof EmptyStateComponent
45
47
  */
46
48
  tertiaryButtonText: string;
49
+ /**
50
+ * The language to be used
51
+ * @type {Language}
52
+ * @memberof EmptyStateComponent
53
+ */
54
+ set language(value: Language);
47
55
  /**
48
56
  * Event triggered when the primary button is clicked.
49
57
  * @type {Event}
@@ -65,9 +73,12 @@ export declare class EmptyStateComponent {
65
73
  * @memberof TagComponent
66
74
  */
67
75
  tertiaryButtonClick: EventEmitter<Event>;
76
+ private lang;
77
+ constructor(languageService: LanguageService);
78
+ ngOnInit(): void;
68
79
  onPrimaryButtonClick(event: Event): void;
69
80
  onSecondaryButtonClick(event: Event): void;
70
81
  onTertiaryButtonClick(event: Event): void;
71
82
  static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "ui-empty-state", never, { "showDefaultImg": { "alias": "showDefaultImg"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "bodyText": { "alias": "bodyText"; "required": false; }; "primaryButtonText": { "alias": "primaryButtonText"; "required": false; }; "secondaryButtonText": { "alias": "secondaryButtonText"; "required": false; }; "tertiaryButtonText": { "alias": "tertiaryButtonText"; "required": false; }; }, { "primaryButtonClick": "primaryButtonClick"; "secondaryButtonClick": "secondaryButtonClick"; "tertiaryButtonClick": "tertiaryButtonClick"; }, never, never, false, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "ui-empty-state", never, { "showDefaultImg": { "alias": "showDefaultImg"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "bodyText": { "alias": "bodyText"; "required": false; }; "primaryButtonText": { "alias": "primaryButtonText"; "required": false; }; "secondaryButtonText": { "alias": "secondaryButtonText"; "required": false; }; "tertiaryButtonText": { "alias": "tertiaryButtonText"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "primaryButtonClick": "primaryButtonClick"; "secondaryButtonClick": "secondaryButtonClick"; "tertiaryButtonClick": "tertiaryButtonClick"; }, never, never, false, never>;
73
84
  }
@@ -3,10 +3,12 @@ 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 } from '@angular/platform-browser';
6
+ import { Language, LanguageService } from '../../utils/localization/language.service';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class FieldComponent implements OnInit, ControlValueAccessor {
8
9
  private matIconRegistry;
9
10
  private domSanitizer;
11
+ private readonly languageService;
10
12
  class: string;
11
13
  /**
12
14
  * Form field label
@@ -93,6 +95,15 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor {
93
95
  * @memberof FieldComponent
94
96
  */
95
97
  allowOnlyDigits: boolean;
98
+ /**
99
+ * The language to be used
100
+ * @property language
101
+ * @type {Language}
102
+ * @memberof FieldComponent
103
+ */
104
+ set language(value: Language);
105
+ private lang;
106
+ protected readonly translationContext = "FIELD.";
96
107
  /**
97
108
  * @ignore
98
109
  */
@@ -101,7 +112,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor {
101
112
  * @ignore
102
113
  */
103
114
  onTouch: () => void;
104
- constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer);
115
+ constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, languageService: LanguageService);
105
116
  showClose: boolean;
106
117
  showPassword: boolean;
107
118
  currentType: string;
@@ -119,5 +130,5 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor {
119
130
  registerOnTouched(fn: any): void;
120
131
  setDisabledState(isDisabled: boolean): void;
121
132
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, never>;
122
- static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", 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; }; "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; }; }, {}, never, never, false, never>;
133
+ static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", 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; }; "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; }; "language": { "alias": "language"; "required": false; }; }, {}, never, never, false, never>;
123
134
  }
@@ -8,8 +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
12
  export declare class FieldComponentModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponentModule, never>;
13
- 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 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.TranslocoModule], [typeof i1.FieldComponent]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<FieldComponentModule>;
15
16
  }
@@ -1,7 +1,9 @@
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
4
  import * as i0 from "@angular/core";
4
5
  export declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAccessor {
6
+ private readonly languageService;
5
7
  class: string;
6
8
  /**
7
9
  *
@@ -44,7 +46,16 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
44
46
  * @memberof FileUploadComponent
45
47
  */
46
48
  file: File | null;
49
+ /**
50
+ * The language to be used
51
+ * @property language
52
+ * @type {Language}
53
+ * @memberof FileUploadComponent
54
+ */
55
+ set language(value: Language);
47
56
  OnDrop: EventEmitter<File>;
57
+ private lang;
58
+ protected readonly translationContext = "FILE_UPLOAD.";
48
59
  /**
49
60
  * @ignore
50
61
  */
@@ -56,7 +67,7 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
56
67
  progress: boolean;
57
68
  success: boolean;
58
69
  browse: boolean;
59
- constructor();
70
+ constructor(languageService: LanguageService);
60
71
  ngOnInit(): void;
61
72
  onFileDropped(files: FileList): void;
62
73
  onChangeUpload(event: Event): void;
@@ -70,5 +81,5 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
70
81
  registerOnTouched(fn: any): void;
71
82
  setDisabledState(isDisabled: boolean): void;
72
83
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "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; }; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
84
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "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; }; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
74
85
  }
@@ -6,8 +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
10
  export declare class FileUploadComponentModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponentModule, never>;
11
- 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 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.TranslocoModule], [typeof i1.FileUploadComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadComponentModule>;
13
14
  }
@@ -1 +1 @@
1
- export declare const tgoIcons: readonly ["Add", "Archive", "Arrow_down", "Arrow_left", "Arrow_right", "Arrow_up", "Assessment", "Attempts", "Book", "Calendar", "Candidates", "Chat-notifications", "Chat", "Check", "Clone", "Close", "Code", "Company", "Copy", "Custom-questions", "Delete", "Devices", "Document", "Download", "Edit", "Email-message", "Empty-placeholder", "Error", "Essay", "Eye-hide", "Eye-view", "Feedback-1", "Feedback-2", "Feedback-3", "Feedback-4", "Feedback-5", "File-attach", "File-upload", "Filter", "Folder", "Format-add-file", "Format-add-table", "Format-align-L", "Format-align-R", "Format-align-center", "Format-align-justify", "Format-bold", "Format-code-active", "Format-code-block", "Format-edit-table", "Format-format", "Format-function", "Format-italics", "Format-list-bulleted", "Format-list-numbered", "Format-picker", "Format-quote", "Format-subscript", "Format-superscript", "Format-text-direction-L", "Format-text-direction-R", "Format-text-size", "Format-underline", "Format-variable", "Full-screen", "Gender-female", "Gender-male", "Help-2", "Help", "Image", "Info", "Integration", "Language", "Layout", "Learn", "Level", "Light-bulb", "Link", "Loading-spinner", "Localisation", "Location", "Lock", "Log-out", "Menu-burger", "Menu-ellipsis", "Microphone", "Minus", "Mouse-cursor", "Mouse-grab-cursor", "Mouse", "Multi-choice", "Notifications", "Password", "Path", "Plan-billing", "Plus", "Premium", "Promotion", "Question-count", "Refer", "Reset", "Review", "Round-check-filled", "Round-check", "Search", "Secure-checkout", "Send", "Settings", "Social-facebook", "Social-instagram", "Social-linkedin", "Sorting-down-1", "Sorting-down", "Speedometer", "Star-filled", "Star-half", "Star-outline", "Support", "Sync", "Team", "Test", "Thunder", "Timer", "Type", "Unarchive", "Unlock", "Upgrade", "Upload", "User-access", "User-add", "User-invite", "User-profile", "User-reject", "User-switch", "Video-pause", "Video-play", "Video-record", "Video", "Volume", "Warning", "Zoom-in", "Zoom-out"];
1
+ export declare const tgoIcons: readonly ["Add", "Archive", "Arrow_down", "Arrow_left", "Arrow_right", "Arrow_up", "Assessment", "Attempts", "Book", "Calendar", "Candidates", "Chat-notifications", "Chat", "Check", "Clone", "Close", "Code", "Company", "Copy", "Custom-questions", "Delete", "Devices", "Document", "Download", "Edit", "Email-message", "Empty-placeholder", "Error", "Essay", "Eye-hide", "Eye-view", "Feedback-1", "Feedback-2", "Feedback-3", "Feedback-4", "Feedback-5", "File-attach", "File-upload", "Filter", "Folder", "Format-add-file", "Format-add-table", "Format-align-L", "Format-align-R", "Format-align-center", "Format-align-justify", "Format-bold", "Format-code-active", "Format-code-block", "Format-edit-table", "Format-format", "Format-function", "Format-italics", "Format-list-bulleted", "Format-list-numbered", "Format-picker", "Format-quote", "Format-subscript", "Format-superscript", "Format-text-direction-L", "Format-text-direction-R", "Format-text-size", "Format-underline", "Format-variable", "Full-screen", "Gender-female", "Gender-male", "Help-2", "Help", "Image", "Info", "Integration", "Language", "Layout", "Learn", "Level", "Light-bulb", "Link", "Loading-spinner", "Localisation", "Location", "Lock", "Log-out", "Menu-burger", "Menu-ellipsis", "Microphone", "Minus", "Mouse-cursor", "Mouse-grab-cursor", "Mouse", "Multi-choice", "Notifications", "Password", "Path", "Plan-billing", "Plus", "Premium", "Promotion", "Question-count", "Refer", "Reset", "Review", "Round-check-filled", "Round-check", "Search", "Secure-checkout", "Send", "Settings", "Social-facebook", "Social-instagram", "Social-linkedin", "Sorting-down-1", "Sorting-down", "Speedometer", "Star-filled", "Star-half", "Star-outline", "Support", "Sync", "Team", "Test", "Thunder", "Timer", "Type", "Unarchive", "Unlock", "Upgrade", "Upload", "User-access", "User-add", "User-invite", "User-profile", "User-reject", "User-switch", "Video-pause", "Video-play", "Video-record", "Video", "Volume", "Warning", "Zoom-in", "Zoom-out", "Fire", "Gift", "Grab", "Share", "Sparkles", "Video-stop"];
@@ -1,7 +1,9 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { IRoute, MenuItem } from './navbar.model';
3
+ import { Language, LanguageService } from '../../utils/localization/language.service';
3
4
  import * as i0 from "@angular/core";
4
- export declare class NavbarComponent {
5
+ export declare class NavbarComponent implements OnInit {
6
+ private readonly languageService;
5
7
  /**
6
8
  * Routes object
7
9
  *
@@ -31,6 +33,13 @@ export declare class NavbarComponent {
31
33
  * @memberof NavbarComponent
32
34
  */
33
35
  menuItems: MenuItem[];
36
+ /**
37
+ * The language to be used
38
+ * @property language
39
+ * @type {Language}
40
+ * @memberof NavbarComponent
41
+ */
42
+ set language(value: Language);
34
43
  /**
35
44
  * @ignore
36
45
  */
@@ -43,10 +52,13 @@ export declare class NavbarComponent {
43
52
  * @ignore
44
53
  */
45
54
  logoutEvent: EventEmitter<void>;
46
- constructor();
55
+ private lang;
56
+ protected readonly translationContext = "NAVBAR.";
57
+ constructor(languageService: LanguageService);
58
+ ngOnInit(): void;
47
59
  navigate(routeId: string): void;
48
60
  logout(): void;
49
61
  clickMenuItem(id: string): void;
50
62
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; }, never, never, false, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; }, never, never, false, never>;
52
64
  }
@@ -8,8 +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
12
  export declare class NavbarComponentModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponentModule, never>;
13
- 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 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.TranslocoModule], [typeof i1.NavbarComponent]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<NavbarComponentModule>;
15
16
  }
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { ILabelOptionItem } from '../label/label.model';
2
+ import { NavigationOptionItem } from './navigation.model';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NavigationComponent {
5
5
  /**
@@ -19,11 +19,11 @@ export declare class NavigationComponent {
19
19
  /**
20
20
  * Navigation status component
21
21
  *
22
- * @type {ILabelOptionItem}
22
+ * @type {NavigationOptionItem}
23
23
  * @memberof NavigationComponent
24
24
  * @ignore
25
25
  */
26
- labelItem: ILabelOptionItem;
26
+ labelItem: NavigationOptionItem;
27
27
  /**
28
28
  * logo url
29
29
  *
@@ -3,9 +3,8 @@ import * as i1 from "./navigation.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/icon";
5
5
  import * as i4 from "@angular/material/button";
6
- import * as i5 from "../label/label.component.module";
7
6
  export declare class NavigationComponentModule {
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NavigationComponentModule, [typeof i1.NavigationComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatButtonModule, typeof i5.LabelComponentModule], [typeof i1.NavigationComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NavigationComponentModule, [typeof i1.NavigationComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatButtonModule], [typeof i1.NavigationComponent]>;
10
9
  static ɵinj: i0.ɵɵInjectorDeclaration<NavigationComponentModule>;
11
10
  }
@@ -0,0 +1,12 @@
1
+ export interface NavigationOptionItem {
2
+ title: string;
3
+ textColor: string;
4
+ backgroundColor: string;
5
+ size: NavigationSize;
6
+ }
7
+ export declare enum NavigationSizeEnum {
8
+ SMALL = "small",
9
+ MEDIUM = "medium",
10
+ LARGE = "large"
11
+ }
12
+ export type NavigationSize = 'small' | 'medium' | 'large';
@@ -2,10 +2,12 @@ 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
6
  import * as i0 from "@angular/core";
6
7
  export declare class SideSheetComponent implements OnInit {
7
8
  private sideSheetService;
8
9
  private destroyRef;
10
+ private readonly languageService;
9
11
  /**
10
12
  * Set position. Defaults "end"
11
13
  *
@@ -13,17 +15,25 @@ export declare class SideSheetComponent implements OnInit {
13
15
  * @memberof SideSheetComponent
14
16
  */
15
17
  position: SideSheetPosition;
18
+ /**
19
+ * The language to be used
20
+ *
21
+ * @type {Language}
22
+ * @memberof SideSheetComponent
23
+ */
24
+ set language(value: Language);
16
25
  drawer: MatDrawer;
17
26
  container: ViewContainerRef;
27
+ private lang;
18
28
  protected title: string;
19
29
  protected showBackButton: boolean;
20
30
  protected showTitleTooltip: boolean;
21
31
  protected componentRef$: import("rxjs").Observable<SideSheetConfig | null>;
22
- constructor(sideSheetService: SideSheetService, destroyRef: DestroyRef);
32
+ constructor(sideSheetService: SideSheetService, destroyRef: DestroyRef, languageService: LanguageService);
23
33
  ngOnInit(): void;
24
34
  private setComponentRef;
25
35
  private setConfig;
26
36
  protected onClose(): void;
27
37
  static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<SideSheetComponent, "ui-side-sheet", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], false, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<SideSheetComponent, "ui-side-sheet", never, { "position": { "alias": "position"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, {}, never, ["*"], false, never>;
29
39
  }
@@ -1,9 +1,15 @@
1
- import { NgxSkeletonLoaderConfig, NgxSkeletonLoaderConfigTheme } from 'ngx-skeleton-loader';
1
+ import { NgxSkeletonLoaderConfigTheme } from 'ngx-skeleton-loader';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { Appearance } from './skeleton.model';
2
4
  import * as i0 from "@angular/core";
3
5
  export declare class SkeletonComponent {
4
6
  count: number | string;
5
- theme: NgxSkeletonLoaderConfigTheme;
6
- appearance: NgxSkeletonLoaderConfig['appearance'];
7
+ set theme(value: NgxSkeletonLoaderConfigTheme);
8
+ set appearance(value: Appearance);
9
+ protected readonly theme$: BehaviorSubject<NgxSkeletonLoaderConfigTheme>;
10
+ protected readonly appearance$: BehaviorSubject<"" | "circle" | "line" | "custom-content">;
11
+ protected readonly currentTheme$: import("rxjs").Observable<NgxSkeletonLoaderConfigTheme>;
12
+ private getThemeWithDefaultValues;
7
13
  static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
8
14
  static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "ui-skeleton", never, { "count": { "alias": "count"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, never, true, never>;
9
15
  }