@testgorilla/tgo-ui 2.8.111 → 2.10.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 (73) hide show
  1. package/README.md +39 -0
  2. package/components/autocomplete/autocomplete.component.d.ts +2 -2
  3. package/components/checkbox/checkbox.component.d.ts +2 -2
  4. package/components/datepicker/datepicker.component.d.ts +16 -4
  5. package/components/deprecated-table/deprecated-table.component.d.ts +1 -1
  6. package/components/deprecated-table/deprecated-table.component.module.d.ts +1 -1
  7. package/components/dropdown/dropdown.component.d.ts +2 -2
  8. package/components/field/field.component.d.ts +2 -2
  9. package/components/icon/icon.config.d.ts +2 -2
  10. package/components/password-strength/password-strength.component.d.ts +52 -0
  11. package/components/password-strength/password-strength.component.module.d.ts +11 -0
  12. package/components/phone-input/phone-input.component.d.ts +2 -2
  13. package/components/radial-progress/radial-progress.component.d.ts +33 -3
  14. package/components/radial-progress/radial-progress.component.module.d.ts +2 -1
  15. package/components/radial-progress/radial-progress.model.d.ts +1 -0
  16. package/components/segmented-bar/segmented-bar.component.module.d.ts +1 -1
  17. package/components/table/table.component.d.ts +12 -5
  18. package/components/table/table.component.module.d.ts +1 -1
  19. package/components/table/table.model.d.ts +5 -0
  20. package/components/toggle/toggle.component.d.ts +15 -1
  21. package/components/toggle/toggle.component.module.d.ts +2 -1
  22. package/esm2022/assets/i18n/en.json +3 -1
  23. package/esm2022/components/autocomplete/autocomplete.component.mjs +5 -5
  24. package/esm2022/components/checkbox/checkbox.component.mjs +5 -5
  25. package/esm2022/components/datepicker/datepicker.component.mjs +30 -5
  26. package/esm2022/components/deprecated-table/deprecated-table.component.mjs +2 -2
  27. package/esm2022/components/deprecated-table/deprecated-table.component.module.mjs +4 -3
  28. package/esm2022/components/dialog/dialog.component.mjs +3 -3
  29. package/esm2022/components/dropdown/dropdown.component.mjs +5 -5
  30. package/esm2022/components/field/field.component.mjs +5 -5
  31. package/esm2022/components/file-upload/file-upload.component.mjs +3 -2
  32. package/esm2022/components/icon/icon.config.mjs +23 -3
  33. package/esm2022/components/password-criteria/password.component.mjs +1 -1
  34. package/esm2022/components/password-strength/password-strength.component.mjs +103 -0
  35. package/esm2022/components/password-strength/password-strength.component.module.mjs +21 -0
  36. package/esm2022/components/phone-input/phone-input.component.mjs +6 -6
  37. package/esm2022/components/radial-progress/radial-progress.component.mjs +44 -4
  38. package/esm2022/components/radial-progress/radial-progress.component.module.mjs +5 -4
  39. package/esm2022/components/radial-progress/radial-progress.model.mjs +1 -1
  40. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +3 -3
  41. package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +3 -2
  42. package/esm2022/components/stepper/stepper.component.mjs +1 -1
  43. package/esm2022/components/table/table.component.mjs +36 -7
  44. package/esm2022/components/table/table.component.module.mjs +2 -2
  45. package/esm2022/components/table/table.model.mjs +1 -1
  46. package/esm2022/components/toggle/toggle.component.mjs +28 -5
  47. package/esm2022/components/toggle/toggle.component.module.mjs +4 -3
  48. package/esm2022/models/colors.model.mjs +2 -1
  49. package/esm2022/pipes/data-property-getter.mjs +33 -0
  50. package/esm2022/pipes/name-initials.pipe.mjs +4 -2
  51. package/esm2022/public-api.mjs +5 -2
  52. package/fesm2022/testgorilla-tgo-ui.mjs +303 -55
  53. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  54. package/models/colors.model.d.ts +1 -0
  55. package/package.json +1 -1
  56. package/projects/tgo-canopy-ui/assets/i18n/en.json +3 -1
  57. package/projects/tgo-canopy-ui/assets/icons/Fast-forward.svg +4 -0
  58. package/projects/tgo-canopy-ui/assets/icons/Fast-rewind.svg +4 -0
  59. package/projects/tgo-canopy-ui/assets/icons/Skip-next.svg +4 -0
  60. package/projects/tgo-canopy-ui/assets/icons/Skip-previous.svg +4 -0
  61. package/projects/tgo-canopy-ui/assets/icons/rebrand/Fast-forward-filled.svg +3 -0
  62. package/projects/tgo-canopy-ui/assets/icons/rebrand/Fast-forward-in-line.svg +3 -0
  63. package/projects/tgo-canopy-ui/assets/icons/rebrand/Fast-rewind-filled.svg +3 -0
  64. package/projects/tgo-canopy-ui/assets/icons/rebrand/Fast-rewind-in-line.svg +3 -0
  65. package/projects/tgo-canopy-ui/assets/icons/rebrand/Skip-next-filled.svg +3 -0
  66. package/projects/tgo-canopy-ui/assets/icons/rebrand/Skip-next-in-line.svg +3 -0
  67. package/projects/tgo-canopy-ui/assets/icons/rebrand/Skip-previous-filled.svg +3 -0
  68. package/projects/tgo-canopy-ui/assets/icons/rebrand/Skip-previous-in-line.svg +3 -0
  69. package/projects/tgo-canopy-ui/theme/_input.scss +1 -0
  70. package/projects/tgo-canopy-ui/theme/_variables.scss +2 -0
  71. package/public-api.d.ts +3 -1
  72. package/esm2022/components/deprecated-table/pipes/data-property-getter.mjs +0 -33
  73. /package/{components/deprecated-table/pipes → pipes}/data-property-getter.d.ts +0 -0
package/README.md CHANGED
@@ -50,3 +50,42 @@ To see the updates of the library in the client app, use commands below from pac
50
50
  - Navigation
51
51
  - Paginator
52
52
  - Table
53
+
54
+ ## Visual Regression
55
+
56
+ We use Playwright to capture visual differences. The relevant code is in the `visual-tests` folder.
57
+
58
+ ### Updating Snapshots
59
+
60
+ To ensure consistency with CI, update snapshots using Docker:
61
+
62
+ ```
63
+ docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:latest /bin/bash
64
+ npx playwright install
65
+ npx ng serve --configuration production &
66
+ npx playwright test e2e/playwright-ci/tests/<file_name>.spec.ts -g '@visual' --update-snapshots
67
+ ```
68
+
69
+ If you encounter the following error, it can be safely ignored. We need reports in a single directory for CI artifact storage:
70
+
71
+ ```
72
+ Configuration Error: HTML reporter output folder clashes with the tests output folder:
73
+
74
+ html reporter folder: /work/test-results/html-report
75
+ test results folder: /work/test-results
76
+
77
+ HTML reporter will clear its output directory prior to being generated, which will lead to the artifact loss.
78
+ ```
79
+
80
+ ### Running Visual Tests
81
+
82
+ Use Docker to align screenshots with the same OS:
83
+
84
+ ```
85
+ docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:latest /bin/bash
86
+ npx playwright install
87
+ npx ng serve --configuration production &
88
+ npx playwright test e2e/playwright-ci/tests/<file_name>.spec.ts
89
+ ```
90
+
91
+
@@ -143,7 +143,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
143
143
  * @type {number}
144
144
  * @memberof AutocompleteComponent
145
145
  */
146
- hideInBuildErrors: boolean;
146
+ hideBuiltInErrors: boolean;
147
147
  /**
148
148
  * Hide label in errors
149
149
  *
@@ -204,5 +204,5 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
204
204
  */
205
205
  private setCompanyColorVariable;
206
206
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null, null]>;
207
- 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; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideInBuildErrors": { "alias": "hideInBuildErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; }, never, never, false, never>;
207
+ 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; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; }, never, never, false, never>;
208
208
  }
@@ -104,7 +104,7 @@ export declare class CheckboxComponent implements OnInit, ControlValueAccessor,
104
104
  * @type {number}
105
105
  * @memberof CheckboxComponent
106
106
  */
107
- hideInBuildErrors: boolean;
107
+ hideBuiltInErrors: boolean;
108
108
  /**
109
109
  * Hide label in errors
110
110
  *
@@ -143,5 +143,5 @@ export declare class CheckboxComponent implements OnInit, ControlValueAccessor,
143
143
  registerOnTouched(fn: any): void;
144
144
  setDisabledState(isDisabled: boolean): void;
145
145
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, [{ optional: true; }, null, { optional: true; self: true; }]>;
146
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "language": { "alias": "language"; "required": false; }; "hideInBuildErrors": { "alias": "hideInBuildErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, { "changed": "changed"; }, never, ["[checkbox-label]"], false, never>;
146
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "language": { "alias": "language"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, { "changed": "changed"; }, never, ["[checkbox-label]"], false, never>;
147
147
  }
@@ -1,10 +1,10 @@
1
- import { ChangeDetectorRef, EventEmitter, OnChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, DoCheck, EventEmitter, OnChanges } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl, FormGroup, NgControl } from '@angular/forms';
3
3
  import { ApplicationTheme } from '../../models/application-theme.model';
4
4
  import { MatDatepicker } from '@angular/material/datepicker';
5
5
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
6
  import * as i0 from "@angular/core";
7
- export declare class DatepickerComponent implements OnChanges, ControlValueAccessor {
7
+ export declare class DatepickerComponent implements OnChanges, ControlValueAccessor, DoCheck {
8
8
  private readonly defaultAppTheme;
9
9
  private cdr;
10
10
  private sanitizer;
@@ -144,7 +144,7 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
144
144
  * @type {number}
145
145
  * @memberof DatepickerComponent
146
146
  */
147
- hideInBuildErrors: boolean;
147
+ hideBuiltInErrors: boolean;
148
148
  /**
149
149
  * Hide label in errors
150
150
  *
@@ -152,6 +152,13 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
152
152
  * @memberof DatepickerComponent
153
153
  */
154
154
  hideLabelInErrors: boolean;
155
+ /**
156
+ * Prevent user input
157
+ *
158
+ * @type {boolean}
159
+ * @memberof DatepickerComponent
160
+ */
161
+ preventUserInput: boolean;
155
162
  /**
156
163
  * @ignore
157
164
  */
@@ -175,6 +182,11 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
175
182
  protected translationContext: string;
176
183
  constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, sanitizer: DomSanitizer, ngControl: NgControl);
177
184
  get hint(): string;
185
+ /**
186
+ * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
187
+ * to display validation errors that might happen (e.g. required)
188
+ */
189
+ ngDoCheck(): void;
178
190
  ngOnInit(): void;
179
191
  ngOnChanges(): void;
180
192
  setErrorsLength(): boolean;
@@ -189,5 +201,5 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
189
201
  private getRange;
190
202
  onInput(event: Event): void;
191
203
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, null, { optional: true; self: true; }]>;
192
- static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideInBuildErrors": { "alias": "hideInBuildErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
204
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
193
205
  }
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { MatSort, Sort } from '@angular/material/sort';
3
3
  import { MatTableDataSource } from '@angular/material/table';
4
- import { DataPropertyGetterPipe } from './pipes/data-property-getter';
4
+ import { DataPropertyGetterPipe } from '../../pipes/data-property-getter';
5
5
  import { ColumnTypeEnum, IDataSource, ITableColumn, ITableDetailColumn } from './deprecated-table.model';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class DeprecatedTableComponent<T extends IDataSource, TDetail extends IDataSource> implements OnInit {
@@ -6,7 +6,7 @@ import * as i4 from "@angular/material/sort";
6
6
  import * as i5 from "@angular/material/icon";
7
7
  import * as i6 from "@angular/material/tooltip";
8
8
  import * as i7 from "./directives/dynamic-component.directive";
9
- import * as i8 from "./pipes/data-property-getter";
9
+ import * as i8 from "../../pipes/data-property-getter";
10
10
  export declare class DeprecatedTableComponentModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DeprecatedTableComponentModule, never>;
12
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<DeprecatedTableComponentModule, [typeof i1.DeprecatedTableComponent], [typeof i2.CommonModule, typeof i3.MatTableModule, typeof i4.MatSortModule, typeof i5.MatIconModule, typeof i6.MatTooltipModule, typeof i7.DynamicComponentDirective, typeof i8.DataPropertyGetterPipe], [typeof i1.DeprecatedTableComponent]>;
@@ -118,7 +118,7 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor,
118
118
  * @type {number}
119
119
  * @memberof DropdownComponent
120
120
  */
121
- hideInBuildErrors: boolean;
121
+ hideBuiltInErrors: boolean;
122
122
  /**
123
123
  * Hide label in errors
124
124
  *
@@ -153,5 +153,5 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor,
153
153
  registerOnTouched(fn: any): void;
154
154
  setDisabledState(isDisabled: boolean): void;
155
155
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, [{ optional: true; }, null, { optional: true; self: true; }]>;
156
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ui-dropdown", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "valueList": { "alias": "valueList"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "allowMultipleSelection": { "alias": "allowMultipleSelection"; "required": false; }; "required": { "alias": "required"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideInBuildErrors": { "alias": "hideInBuildErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, {}, never, never, false, never>;
156
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ui-dropdown", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "valueList": { "alias": "valueList"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "allowMultipleSelection": { "alias": "allowMultipleSelection"; "required": false; }; "required": { "alias": "required"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, {}, never, never, false, never>;
157
157
  }
@@ -182,7 +182,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
182
182
  * @type {number}
183
183
  * @memberof FieldComponent
184
184
  */
185
- hideInBuildErrors: boolean;
185
+ hideBuiltInErrors: boolean;
186
186
  /**
187
187
  * Hide label in errors
188
188
  *
@@ -234,5 +234,5 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
234
234
  onBlur(): void;
235
235
  trackByFn: (index: number, value: any) => any;
236
236
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, [{ optional: true; }, null, null, null, { optional: true; self: true; }]>;
237
- 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; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "trimOnBlur": { "alias": "trimOnBlur"; "required": false; }; "trimOnSubmit": { "alias": "trimOnSubmit"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "hideInBuildErrors": { "alias": "hideInBuildErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, { "validateEvent": "validateEvent"; "fieldBlur": "fieldBlur"; }, never, never, false, never>;
237
+ 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; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "trimOnBlur": { "alias": "trimOnBlur"; "required": false; }; "trimOnSubmit": { "alias": "trimOnSubmit"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, { "validateEvent": "validateEvent"; "fieldBlur": "fieldBlur"; }, never, never, false, never>;
238
238
  }
@@ -1,5 +1,5 @@
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", "Minimize", "Employee", "Money-bag", "Suitcase", "Google"];
2
- export declare const tgoRebrandIcons: readonly ["Archive-filled", "Archive-in-line", "Add-in-line", "Add-filled", "Arrow-chevron-down-filled", "Arrow-chevron-down-in-line", "Arrow-chevron-left-filled", "Arrow-chevron-left-in-line", "Arrow-chevron-right-filled", "Arrow-chevron-right-in-line", "Arrow-chevron-up-filled", "Arrow-chevron-up-in-line", "Arrow-down-filled", "Arrow-down-in-line", "Arrow-up-filled", "Arrow-up-in-line", "Assessment-filled", "Assessment-in-line", "Attach-filled", "Attach-in-line", "Attempts-filled", "Attempts-in-line", "Book-filled", "Book-in-line", "Calendar-filled", "Calendar-in-line", "Candidates-filled", "Candidates-in-line", "Chat-filled", "Chat-in-line", "Check-filled", "Check-in-line", "Check-round-filled", "Check-round-in-line", "Clone-filled", "Clone-in-line", "Close-filled", "Close-in-line", "Code-filled", "Code-in-line", "Company-filled", "Company-in-line", "Copy-filled", "Copy-in-line", "Delete-filled", "Delete-in-line", "Devices-filled", "Devices-in-line", "Document-filled", "Document-in-line", "Download-filled", "Download-in-line", "Edit-filled", "Edit-in-line", "Edit-text-filled", "Edit-text-in-line", "Employee-filled", "Employee-in-line", "Error-filled", "Error-in-line", "Essay-filled", "Essay-in-line", "Experience-filled", "Experience-in-line", "Facebook-filled", "Facebook-in-line", "Filter-filled", "Filter-in-line", "Fire-filled", "Fire-in-line", "Folder-filled", "Folder-in-line", "Full-screen-filled", "Full-screen-in-line", "Gender-male-filled", "Gender-male-in-line", "Gender-female-filled", "Gender-female-in-line", "Gift-filled", "Gift-in-line", "Grab-filled", "Grab-in-line", "Help-filled", "Help-in-line", "Hide-filled", "Hide-in-line", "Image-filled", "Image-in-line", "Info-filled", "Info-in-line", "Instagram-filled", "Instagram-in-line", "Integration-filled", "Integration-in-line", "Invite-filled", "Invite-in-line", "Language-filled", "Language-in-line", "Layout-filled", "Layout-in-line", "Learn-filled", "Learn-in-line", "Level-filled", "Level-in-line", "Light-bulb-filled", "Light-bulb-in-line", "Link-filled", "Link-in-line", "Linkedin-filled", "Linkedin-in-line", "Localization-filled", "Localization-in-line", "Location-filled", "Location-in-line", "Lock-filled", "Lock-in-line", "Logout-filled", "Logout-in-line", "Menu-burger-filled", "Menu-burger-in-line", "Menu-ellipsis-filled", "Menu-ellipsis-in-line", "Mic-filled", "Mic-in-line", "Minimize-filled", "Minimize-in-line", "Minus-filled", "Minus-in-line", "Mouse-filled", "Mouse-in-line", "Multi-choice-filled", "Multi-choice-in-line", "Notification-bell-filled", "Notification-bell-in-line", "Password-filled", "Password-in-line", "Path-filled", "Path-in-line", "Pause-filled", "Pause-in-line", "Plan-billing-filled", "Plan-billing-in-line", "Play-filled", "Play-in-line", "Plus-filled", "Plus-in-line", "Premium-filled", "Premium-in-line", "Premium-circle-in-line", "Question-count-filled", "Question-count-in-line", "Question-filled", "Question-in-line", "Record-filled", "Record-in-line", "Reject-filled", "Refer-in-line", "Refer-filled", "Reject-in-line", "Reset-filled", "Reset-in-line", "Review-emoji-1-filled", "Review-emoji-1-in-line", "Review-emoji-2-filled", "Review-emoji-2-in-line", "Review-emoji-3-filled", "Review-emoji-3-in-line", "Review-emoji-4-filled", "Review-emoji-4-in-line", "Review-emoji-5-filled", "Review-emoji-5-in-line", "Review-filled", "Review-half-star-filled", "Review-half-star-in-line", "Review-in-line", "Review-star-filled", "Review-star-in-line", "Search-filled", "Search-in-line", "Secure-filled", "Secure-in-line", "Send-filled", "Send-in-line", "Settings-filled", "Settings-in-line", "Share-filled", "Share-in-line", "Sparkle-filled", "Sparkle-in-line", "Speedometer-filled", "Speedometer-in-line", "Stop-filled", "Stop-in-line", "Switch-filled", "Switch-in-line", "Sync-filled", "Sync-in-line", "Team-filled", "Team-in-line", "Test-filled", "Test-in-line", "Timer-filled", "Timer-in-line", "Type-filled", "Type-in-line", "Unarchive-filled", "Unarchive-in-line", "Unlock-filled", "Unlock-in-line", "Upgrade-filled", "Upgrade-in-line", "Upload-filled", "Upload-in-line", "User-access-filled", "User-access-in-line", "User-add-filled", "User-add-in-line", "User-profile-filled", "User-profile-in-line", "Video-filled", "Video-in-line", "View-filled", "View-in-line", "Volume-filled", "Volume-in-line", "Warning-filled", "Warning-in-line", "Zoom-in-filled", "Zoom-in-in-line", "Zoom-out-filled", "Zoom-out-in-line", "Google-filled", "Google-in-line"];
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", "Minimize", "Employee", "Money-bag", "Suitcase", "Google", "Fast-forward", "Fast-rewind", "Skip-next", "Skip-previous"];
2
+ export declare const tgoRebrandIcons: readonly ["Archive-filled", "Archive-in-line", "Add-in-line", "Add-filled", "Arrow-chevron-down-filled", "Arrow-chevron-down-in-line", "Arrow-chevron-left-filled", "Arrow-chevron-left-in-line", "Arrow-chevron-right-filled", "Arrow-chevron-right-in-line", "Arrow-chevron-up-filled", "Arrow-chevron-up-in-line", "Arrow-down-filled", "Arrow-down-in-line", "Arrow-up-filled", "Arrow-up-in-line", "Assessment-filled", "Assessment-in-line", "Attach-filled", "Attach-in-line", "Attempts-filled", "Attempts-in-line", "Book-filled", "Book-in-line", "Calendar-filled", "Calendar-in-line", "Candidates-filled", "Candidates-in-line", "Chat-filled", "Chat-in-line", "Check-filled", "Check-in-line", "Check-round-filled", "Check-round-in-line", "Clone-filled", "Clone-in-line", "Close-filled", "Close-in-line", "Code-filled", "Code-in-line", "Company-filled", "Company-in-line", "Copy-filled", "Copy-in-line", "Delete-filled", "Delete-in-line", "Devices-filled", "Devices-in-line", "Document-filled", "Document-in-line", "Download-filled", "Download-in-line", "Edit-filled", "Edit-in-line", "Edit-text-filled", "Edit-text-in-line", "Employee-filled", "Employee-in-line", "Error-filled", "Error-in-line", "Essay-filled", "Essay-in-line", "Experience-filled", "Experience-in-line", "Facebook-filled", "Facebook-in-line", "Fast-forward-filled", "Fast-forward-in-line", "Fast-rewind-filled", "Fast-rewind-in-line", "Filter-filled", "Filter-in-line", "Fire-filled", "Fire-in-line", "Folder-filled", "Folder-in-line", "Full-screen-filled", "Full-screen-in-line", "Gender-male-filled", "Gender-male-in-line", "Gender-female-filled", "Gender-female-in-line", "Gift-filled", "Gift-in-line", "Google-filled", "Google-in-line", "Grab-filled", "Grab-in-line", "Help-filled", "Help-in-line", "Hide-filled", "Hide-in-line", "Image-filled", "Image-in-line", "Info-filled", "Info-in-line", "Instagram-filled", "Instagram-in-line", "Integration-filled", "Integration-in-line", "Invite-filled", "Invite-in-line", "Language-filled", "Language-in-line", "Layout-filled", "Layout-in-line", "Learn-filled", "Learn-in-line", "Level-filled", "Level-in-line", "Light-bulb-filled", "Light-bulb-in-line", "Link-filled", "Link-in-line", "Linkedin-filled", "Linkedin-in-line", "Localization-filled", "Localization-in-line", "Location-filled", "Location-in-line", "Lock-filled", "Lock-in-line", "Logout-filled", "Logout-in-line", "Menu-burger-filled", "Menu-burger-in-line", "Menu-ellipsis-filled", "Menu-ellipsis-in-line", "Mic-filled", "Mic-in-line", "Minimize-filled", "Minimize-in-line", "Minus-filled", "Minus-in-line", "Mouse-filled", "Mouse-in-line", "Multi-choice-filled", "Multi-choice-in-line", "Notification-bell-filled", "Notification-bell-in-line", "Password-filled", "Password-in-line", "Path-filled", "Path-in-line", "Pause-filled", "Pause-in-line", "Plan-billing-filled", "Plan-billing-in-line", "Play-filled", "Play-in-line", "Plus-filled", "Plus-in-line", "Premium-filled", "Premium-in-line", "Premium-circle-in-line", "Question-count-filled", "Question-count-in-line", "Question-filled", "Question-in-line", "Record-filled", "Record-in-line", "Reject-filled", "Refer-in-line", "Refer-filled", "Reject-in-line", "Reset-filled", "Reset-in-line", "Review-emoji-1-filled", "Review-emoji-1-in-line", "Review-emoji-2-filled", "Review-emoji-2-in-line", "Review-emoji-3-filled", "Review-emoji-3-in-line", "Review-emoji-4-filled", "Review-emoji-4-in-line", "Review-emoji-5-filled", "Review-emoji-5-in-line", "Review-filled", "Review-half-star-filled", "Review-half-star-in-line", "Review-in-line", "Review-star-filled", "Review-star-in-line", "Search-filled", "Search-in-line", "Secure-filled", "Secure-in-line", "Send-filled", "Send-in-line", "Settings-filled", "Settings-in-line", "Share-filled", "Share-in-line", "Skip-next-filled", "Skip-next-in-line", "Skip-previous-filled", "Skip-previous-in-line", "Sparkle-filled", "Sparkle-in-line", "Speedometer-filled", "Speedometer-in-line", "Stop-filled", "Stop-in-line", "Switch-filled", "Switch-in-line", "Sync-filled", "Sync-in-line", "Team-filled", "Team-in-line", "Test-filled", "Test-in-line", "Timer-filled", "Timer-in-line", "Type-filled", "Type-in-line", "Unarchive-filled", "Unarchive-in-line", "Unlock-filled", "Unlock-in-line", "Upgrade-filled", "Upgrade-in-line", "Upload-filled", "Upload-in-line", "User-access-filled", "User-access-in-line", "User-add-filled", "User-add-in-line", "User-profile-filled", "User-profile-in-line", "Video-filled", "Video-in-line", "View-filled", "View-in-line", "Volume-filled", "Volume-in-line", "Warning-filled", "Warning-in-line", "Zoom-in-filled", "Zoom-in-in-line", "Zoom-out-filled", "Zoom-out-in-line"];
3
3
  export declare const groupedIcons: {
4
4
  directional: string[];
5
5
  assessment: string[];
@@ -0,0 +1,52 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ApplicationTheme } from '../../models/application-theme.model';
3
+ import { IconName } from '../icon/icon.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PasswordStrengthComponent {
6
+ private readonly defaultAppTheme;
7
+ /**
8
+ *
9
+ * Defines the application theme
10
+ *
11
+ * @type {ApplicationTheme}
12
+ * @memberof PasswordStrengthComponent
13
+ */
14
+ applicationTheme: ApplicationTheme;
15
+ /**
16
+ * The language to be used
17
+ * @property language
18
+ * @type {Language}
19
+ * @memberof PasswordStrengthComponent
20
+ */
21
+ language: import("@testgorilla/tgo-ui").Language;
22
+ /**
23
+ * The password that needs to be checked
24
+ * @property password
25
+ * @type {string}
26
+ * @memberof PasswordStrengthComponent
27
+ */
28
+ set password(value: string);
29
+ /**
30
+ * Event that outputs validation check result
31
+ * @property validationCheck
32
+ * @type {boolean}
33
+ * @memberof PasswordStrengthComponent
34
+ */
35
+ validationCheck: EventEmitter<boolean>;
36
+ protected progressValue: number;
37
+ protected criteriaPassed: {
38
+ [key: string]: boolean;
39
+ };
40
+ private _password;
41
+ protected criteria: {
42
+ translateKey: string;
43
+ key: string;
44
+ }[];
45
+ constructor(defaultAppTheme: ApplicationTheme);
46
+ checkCriteria(password: string): void;
47
+ private countPassed;
48
+ get infoIcon(): IconName;
49
+ get checkIcon(): IconName;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponent, [{ optional: true; }]>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<PasswordStrengthComponent, "ui-password-strength", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "language": { "alias": "language"; "required": false; }; "password": { "alias": "password"; "required": false; }; }, { "validationCheck": "validationCheck"; }, never, never, false, never>;
52
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./password-strength.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.component.module";
5
+ import * as i4 from "../progress-bar/progress-bar.component.module";
6
+ import * as i5 from "../../pipes/ui-translate.pipe";
7
+ export declare class PasswordStrengthComponentModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponentModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PasswordStrengthComponentModule, [typeof i1.PasswordStrengthComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ProgressBarComponentModule, typeof i5.UiTranslatePipe], [typeof i1.PasswordStrengthComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<PasswordStrengthComponentModule>;
11
+ }
@@ -79,7 +79,7 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
79
79
  * @type {number}
80
80
  * @memberof PhoneInputComponent
81
81
  */
82
- hideInBuildErrors: boolean;
82
+ hideBuiltInErrors: boolean;
83
83
  /**
84
84
  * Hide label in errors
85
85
  *
@@ -150,5 +150,5 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
150
150
  disableClick(ev: Event): void;
151
151
  trackByFn: (index: number, value: any) => any;
152
152
  static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, [{ optional: true; self: true; }, null, null, null, null, null, { optional: true; }]>;
153
- static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "ui-phone-input", never, { "value": { "alias": "value"; "required": false; }; "countryList": { "alias": "countryList"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideInBuildErrors": { "alias": "hideInBuildErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, {}, never, never, false, never>;
153
+ static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "ui-phone-input", never, { "value": { "alias": "value"; "required": false; }; "countryList": { "alias": "countryList"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, {}, never, never, false, never>;
154
154
  }
@@ -1,5 +1,7 @@
1
- import { RadialProgressSize, RadialProgressSizeEnum } from './radial-progress.model';
2
- import { ApplicationTheme } from "../../models/application-theme.model";
1
+ import { EventEmitter, SimpleChanges } from '@angular/core';
2
+ import { RadialProgressSize, RadialProgressSizeEnum, RadialProgressVariant } from './radial-progress.model';
3
+ import { ApplicationTheme } from '../../models/application-theme.model';
4
+ import { IconName } from '../icon/icon.model';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class RadialProgressComponent {
5
7
  private readonly defaultAppTheme;
@@ -21,6 +23,31 @@ export declare class RadialProgressComponent {
21
23
  * @memberof RadialProgressComponent
22
24
  */
23
25
  total: number;
26
+ /**
27
+ * @type {number}
28
+ * @memberof RadialProgressComponent
29
+ */
30
+ variant: RadialProgressVariant;
31
+ /**
32
+ * Icon for icon button
33
+ * @type {number}
34
+ * @memberof RadialProgressComponent
35
+ */
36
+ icon: IconName;
37
+ /**
38
+ * The tooltip that is displayed on hover. Required for icon-button
39
+ * @type {number}
40
+ * @memberof RadialProgressComponent
41
+ */
42
+ buttonTooltip: string;
43
+ /**
44
+ * Color of the progress bar.
45
+ * Defaults to Test Gorilla primary color.
46
+ *
47
+ * @type {string}
48
+ * @memberof RadialProgressComponent
49
+ */
50
+ companyColor: string;
24
51
  /**
25
52
  *
26
53
  * Defines the application theme
@@ -29,10 +56,13 @@ export declare class RadialProgressComponent {
29
56
  * @memberof ButtonComponent
30
57
  */
31
58
  applicationTheme: ApplicationTheme;
59
+ buttonClicked: EventEmitter<Event>;
32
60
  protected radialProgressSize: typeof RadialProgressSizeEnum;
33
61
  constructor(defaultAppTheme: ApplicationTheme);
62
+ ngOnChanges(changes: SimpleChanges): void;
34
63
  protected get progressSize(): number;
35
64
  protected get percentage(): number;
65
+ protected onButtonClick(ev: Event): void;
36
66
  static ɵfac: i0.ɵɵFactoryDeclaration<RadialProgressComponent, [{ optional: true; }]>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<RadialProgressComponent, "ui-radial-progress", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "total": { "alias": "total"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadialProgressComponent, "ui-radial-progress", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "total": { "alias": "total"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "buttonTooltip": { "alias": "buttonTooltip"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "buttonClicked": "buttonClicked"; }, never, never, false, never>;
38
68
  }
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./radial-progress.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/progress-spinner";
5
+ import * as i4 from "../button/button.component.module";
5
6
  export declare class RadialProgressComponentModule {
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<RadialProgressComponentModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<RadialProgressComponentModule, [typeof i1.RadialProgressComponent], [typeof i2.CommonModule, typeof i3.MatProgressSpinnerModule], [typeof i1.RadialProgressComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RadialProgressComponentModule, [typeof i1.RadialProgressComponent], [typeof i2.CommonModule, typeof i3.MatProgressSpinnerModule, typeof i4.ButtonComponentModule], [typeof i1.RadialProgressComponent]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<RadialProgressComponentModule>;
9
10
  }
@@ -7,3 +7,4 @@ export declare enum RadialProgressSizeEnum {
7
7
  LARGE = "large",
8
8
  SMALL = "small"
9
9
  }
10
+ export type RadialProgressVariant = 'number' | 'icon-button';
@@ -5,6 +5,6 @@ import * as i3 from "@angular/material/tooltip";
5
5
  import * as i4 from "@angular/material/input";
6
6
  export declare class SegmentedBarComponentModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedBarComponentModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentedBarComponentModule, [typeof i1.SegmentedBarComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.MatInputModule], never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentedBarComponentModule, [typeof i1.SegmentedBarComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.MatInputModule], [typeof i1.SegmentedBarComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<SegmentedBarComponentModule>;
10
10
  }
@@ -1,12 +1,15 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
- import { ColumnEllipse, ColumnType, DataSource, TableColumn, TableConfig, TableConfigWithPagination, TableData, TableDetailColumn } from './table.model';
1
+ import { AfterViewInit, DestroyRef, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ColumnEllipse, ColumnType, DataSource, ScrollSettings, TableColumn, TableConfig, TableConfigWithPagination, TableData, TableDetailColumn } from './table.model';
3
3
  import { PageEvent } from '@angular/material/paginator';
4
4
  import { ApplicationTheme } from '../../models/application-theme.model';
5
5
  import { MatTableDataSource } from '@angular/material/table';
6
6
  import { Sort } from '@angular/material/sort';
7
+ import { BehaviorSubject, Observable } from 'rxjs';
7
8
  import * as i0 from "@angular/core";
8
- export declare class TableComponent<T extends DataSource, TDetail extends DataSource> implements OnChanges {
9
+ export declare class TableComponent<T extends DataSource, TDetail extends DataSource> implements OnChanges, AfterViewInit {
9
10
  private readonly defaultAppTheme;
11
+ private destroyRef;
12
+ protected readonly isMobile$: Observable<boolean>;
10
13
  /**
11
14
  * Table configuration
12
15
  *
@@ -55,6 +58,7 @@ export declare class TableComponent<T extends DataSource, TDetail extends DataSo
55
58
  onDetailRowClickEvent: EventEmitter<any>;
56
59
  paginatorChange: EventEmitter<PageEvent>;
57
60
  sortChange: EventEmitter<Sort>;
61
+ table: ElementRef;
58
62
  protected tableData: TableData;
59
63
  protected sourceData: TableData;
60
64
  protected columnsTooltipState: ColumnEllipse[];
@@ -69,9 +73,12 @@ export declare class TableComponent<T extends DataSource, TDetail extends DataSo
69
73
  protected dataSourceDetail: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
70
74
  protected elementDetail: any;
71
75
  protected readonly DataType: typeof ColumnType;
72
- constructor(defaultAppTheme: ApplicationTheme);
76
+ protected scrollSettings$: BehaviorSubject<ScrollSettings>;
77
+ constructor(defaultAppTheme: ApplicationTheme, destroyRef: DestroyRef, isMobile$: Observable<boolean>);
73
78
  ngOnInit(): void;
79
+ ngAfterViewInit(): void;
74
80
  ngOnChanges(changes: SimpleChanges): void;
81
+ hasTableScroll(): void;
75
82
  protected onPaginatorChange(event: PageEvent): void;
76
83
  protected onChangeColumnSize(columnIndex: number, showTooltip: boolean): void;
77
84
  protected onSortChange(sortState: Sort): void;
@@ -81,6 +88,6 @@ export declare class TableComponent<T extends DataSource, TDetail extends DataSo
81
88
  private setTableDetailDataSource;
82
89
  private defaultPaginationConfig;
83
90
  trackColumnKey: (index: number, column: TableColumn<T>) => string;
84
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, [{ optional: true; }]>;
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, [{ optional: true; }, null, null]>;
85
92
  static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any, any>, "ui-table", never, { "config": { "alias": "config"; "required": true; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tableDetailColumns": { "alias": "tableDetailColumns"; "required": false; }; "tableDetails": { "alias": "tableDetails"; "required": false; }; "disableBorderRadius": { "alias": "disableBorderRadius"; "required": false; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, never, false, never>;
86
93
  }
@@ -11,7 +11,7 @@ import * as i9 from "@angular/material/sort";
11
11
  import * as i10 from "../icon/icon.component.module";
12
12
  import * as i11 from "../../directives/ellipse-text.directive";
13
13
  import * as i12 from "../deprecated-table/directives/dynamic-component.directive";
14
- import * as i13 from "../deprecated-table/pipes/data-property-getter";
14
+ import * as i13 from "../../pipes/data-property-getter";
15
15
  export declare class TableComponentModule {
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponentModule, never>;
17
17
  static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, [typeof i1.TableComponent, typeof i2.SentenceCasePipe], [typeof i3.CommonModule, typeof i4.MatTableModule, typeof i5.MatTooltipModule, typeof i6.SkeletonComponent, typeof i7.PaginatorComponentModule, typeof i8.ButtonComponentModule, typeof i9.MatSortModule, typeof i10.IconComponentModule, typeof i11.EllipseTextDirective, typeof i12.DynamicComponentDirective, typeof i13.DataPropertyGetterPipe], [typeof i1.TableComponent]>;
@@ -85,3 +85,8 @@ export declare enum ColumnAlignment {
85
85
  export type DataSource = {
86
86
  [key: string]: any;
87
87
  };
88
+ export type ScrollSettings = {
89
+ scrollEnd: boolean;
90
+ horizontalScroll: boolean;
91
+ scrollStart: boolean;
92
+ };
@@ -73,8 +73,22 @@ export declare class ToggleComponent implements ControlValueAccessor, OnChanges,
73
73
  * @memberof ToggleComponent
74
74
  */
75
75
  ariaRequired: boolean;
76
+ /**
77
+ * disable/enable click on toggle
78
+ * @type {boolean}
79
+ * @memberof ToggleComponent
80
+ */
81
+ preventClick: boolean;
82
+ /**
83
+ * The language to be used
84
+ *
85
+ * @type {Language}
86
+ * @memberof ToggleComponent
87
+ */
88
+ language: import("@testgorilla/tgo-ui").Language;
76
89
  protected showLabelTooltip: boolean;
77
90
  protected classes: string;
91
+ protected translateContext: string;
78
92
  constructor(defaultAppTheme: ApplicationTheme);
79
93
  ngOnChanges(): void;
80
94
  ngOnInit(): void;
@@ -87,5 +101,5 @@ export declare class ToggleComponent implements ControlValueAccessor, OnChanges,
87
101
  private onChange;
88
102
  private onTouched;
89
103
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, [{ optional: true; }]>;
90
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "ui-toggle", never, { "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "message": { "alias": "message"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, { "toggle": "toggle"; }, never, never, false, never>;
104
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "ui-toggle", never, { "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "message": { "alias": "message"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "preventClick": { "alias": "preventClick"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "toggle": "toggle"; }, never, never, false, never>;
91
105
  }
@@ -4,8 +4,9 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/tooltip";
5
5
  import * as i4 from "../../directives/ellipse-text.directive";
6
6
  import * as i5 from "@angular/material/input";
7
+ import * as i6 from "../../pipes/ui-translate.pipe";
7
8
  export declare class ToggleComponentModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<ToggleComponentModule, [typeof i1.ToggleComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.EllipseTextDirective, typeof i5.MatInputModule], [typeof i1.ToggleComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToggleComponentModule, [typeof i1.ToggleComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.EllipseTextDirective, typeof i5.MatInputModule, typeof i6.UiTranslatePipe], [typeof i1.ToggleComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<ToggleComponentModule>;
11
12
  }
@@ -55,7 +55,9 @@
55
55
  "MAX": "Max",
56
56
  "MIN": "Min",
57
57
  "CLEAR": "Clear",
58
- "PHONE_NUMBER": "Phone number"
58
+ "PHONE_NUMBER": "Phone number",
59
+ "ON": "On",
60
+ "OFF": "Off"
59
61
  },
60
62
  "DIALOG": {
61
63
  "CLOSE_LABEL": "Close dialog"