@testgorilla/tgo-ui 8.19.0 → 9.0.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 (205) hide show
  1. package/components/accordion/index.d.ts +7 -7
  2. package/components/ai-audio-circle/index.d.ts +3 -3
  3. package/components/ai-caveat/index.d.ts +5 -5
  4. package/components/ai-feedback/index.d.ts +14 -14
  5. package/components/alert-banner/index.d.ts +8 -8
  6. package/components/autocomplete/index.d.ts +15 -16
  7. package/components/autocomplete-v2/index.d.ts +36 -32
  8. package/components/avatar/index.d.ts +7 -7
  9. package/components/badge/index.d.ts +6 -6
  10. package/components/breadcrumb/index.d.ts +11 -11
  11. package/components/button/index.d.ts +23 -13
  12. package/components/card/index.d.ts +4 -4
  13. package/components/checkbox/index.d.ts +24 -24
  14. package/components/core/index.d.ts +39 -31
  15. package/components/datepicker/index.d.ts +18 -18
  16. package/components/dialog/index.d.ts +29 -21
  17. package/components/divider/index.d.ts +4 -4
  18. package/components/donut-chart/index.d.ts +3 -3
  19. package/components/dropdown/index.d.ts +37 -33
  20. package/components/elevation-shadow/index.d.ts +3 -3
  21. package/components/empty-state/index.d.ts +7 -7
  22. package/components/field/index.d.ts +33 -44
  23. package/components/file-upload/index.d.ts +14 -13
  24. package/components/filter-button/index.d.ts +19 -19
  25. package/components/gaussian-chart/index.d.ts +8 -8
  26. package/components/icon/index.d.ts +20 -16
  27. package/components/icon-label/index.d.ts +5 -5
  28. package/components/inline-field/index.d.ts +20 -24
  29. package/components/logo/index.d.ts +2 -3
  30. package/components/media-dialog/index.d.ts +3 -3
  31. package/components/multi-input/index.d.ts +25 -16
  32. package/components/navbar/index.d.ts +30 -30
  33. package/components/overflow-menu/index.d.ts +20 -19
  34. package/components/page-header/index.d.ts +5 -5
  35. package/components/paginator/index.d.ts +4 -4
  36. package/components/password-criteria/index.d.ts +13 -12
  37. package/components/password-strength/index.d.ts +6 -6
  38. package/components/phone-input/index.d.ts +28 -30
  39. package/components/progress-bar/index.d.ts +5 -5
  40. package/components/prompt/index.d.ts +25 -25
  41. package/components/radial-progress/index.d.ts +5 -5
  42. package/components/radio-button/index.d.ts +28 -29
  43. package/components/rating/index.d.ts +5 -5
  44. package/components/scale/index.d.ts +4 -4
  45. package/components/segmented-bar/index.d.ts +8 -8
  46. package/components/segmented-button/index.d.ts +17 -16
  47. package/components/selectable-card/index.d.ts +6 -6
  48. package/components/side-navigation/index.d.ts +14 -14
  49. package/components/side-panel/index.d.ts +8 -8
  50. package/components/side-sheet/index.d.ts +19 -17
  51. package/components/snackbar/index.d.ts +16 -15
  52. package/components/spider-chart/index.d.ts +12 -12
  53. package/components/spinner/index.d.ts +5 -5
  54. package/components/stepper/index.d.ts +35 -35
  55. package/components/table/index.d.ts +36 -34
  56. package/components/tabs/index.d.ts +18 -17
  57. package/components/tag/index.d.ts +10 -10
  58. package/components/toggle/index.d.ts +10 -9
  59. package/components/tooltip/index.d.ts +16 -18
  60. package/components/universal-skills/index.d.ts +16 -16
  61. package/components/validation-error/index.d.ts +22 -10
  62. package/components/write-with-ai/index.d.ts +1 -1
  63. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +36 -15
  64. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
  65. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +9 -12
  66. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
  67. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -10
  68. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
  69. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +39 -27
  70. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
  71. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +25 -14
  72. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
  73. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +4 -2
  74. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
  75. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +134 -117
  76. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
  77. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +47 -48
  78. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
  79. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +30 -18
  80. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
  81. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +9 -12
  82. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
  83. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +25 -18
  84. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
  85. package/fesm2022/testgorilla-tgo-ui-components-button.mjs +155 -120
  86. package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
  87. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +7 -9
  88. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
  89. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +51 -47
  90. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
  91. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +1 -1
  92. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
  93. package/fesm2022/testgorilla-tgo-ui-components-core.mjs +2232 -2210
  94. package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
  95. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +44 -25
  96. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
  97. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +55 -31
  98. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
  99. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +8 -11
  100. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
  101. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +8 -10
  102. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
  103. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +105 -90
  104. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
  105. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +5 -7
  106. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
  107. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +24 -13
  108. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
  109. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +65 -57
  110. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
  111. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +35 -23
  112. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
  113. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +34 -27
  114. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
  115. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +26 -16
  116. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
  117. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +6 -7
  118. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
  119. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +112 -81
  120. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
  121. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +24 -24
  122. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
  123. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +6 -6
  124. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
  125. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +6 -6
  126. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
  127. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +4 -4
  128. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
  129. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +42 -21
  130. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
  131. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +44 -32
  132. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
  133. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +39 -21
  134. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
  135. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +10 -14
  136. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
  137. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +7 -9
  138. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
  139. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +33 -20
  140. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
  141. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +9 -12
  142. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
  143. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +82 -73
  144. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
  145. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
  146. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +8 -11
  147. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
  148. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +47 -40
  149. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
  150. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -10
  151. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
  152. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +43 -48
  153. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
  154. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +7 -12
  155. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
  156. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +1 -1
  157. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
  158. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +6 -10
  159. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
  160. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +30 -16
  161. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
  162. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +15 -14
  163. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
  164. package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
  165. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +8 -11
  166. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
  167. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +27 -21
  168. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
  169. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +5 -2
  170. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
  171. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +34 -26
  172. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
  173. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +5 -5
  174. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
  175. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +10 -10
  176. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
  177. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +31 -20
  178. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
  179. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +28 -23
  180. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
  181. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +9 -12
  182. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
  183. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +85 -79
  184. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
  185. package/fesm2022/testgorilla-tgo-ui-components-table.mjs +74 -51
  186. package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
  187. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +57 -25
  188. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
  189. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +16 -17
  190. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
  191. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +25 -17
  192. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
  193. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +44 -28
  194. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
  195. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +34 -27
  196. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
  197. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +30 -14
  198. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
  199. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +13 -11
  200. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
  201. package/fesm2022/testgorilla-tgo-ui.mjs +6 -8
  202. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  203. package/index.d.ts +4 -4
  204. package/mcp/catalog.json +1 -1
  205. package/package.json +1 -2
@@ -1,20 +1,20 @@
1
1
  import { FocusOrigin } from '@angular/cdk/a11y';
2
2
  import * as i0 from '@angular/core';
3
3
  import { OnInit, AfterViewInit, ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
4
- import * as i3 from '@angular/material/button';
4
+ import * as i2 from '@angular/material/button';
5
5
  import { MatButton } from '@angular/material/button';
6
- import * as i6 from '@angular/material/tooltip';
6
+ import * as i5 from '@angular/material/tooltip';
7
7
  import { TooltipPosition } from '@angular/material/tooltip';
8
- import * as i8 from '@testgorilla/tgo-ui/components/core';
8
+ import * as i7 from '@testgorilla/tgo-ui/components/core';
9
9
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
10
10
  export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
11
- import * as i4 from '@testgorilla/tgo-ui/components/icon';
11
+ import * as i3 from '@testgorilla/tgo-ui/components/icon';
12
12
  import { IconName } from '@testgorilla/tgo-ui/components/icon';
13
- import * as i7 from '@testgorilla/tgo-ui/components/badge';
13
+ import * as i6 from '@testgorilla/tgo-ui/components/badge';
14
14
  import { BadgeVariant, RebrandBadgeColor } from '@testgorilla/tgo-ui/components/badge';
15
- import * as i2 from '@angular/common';
16
- import * as i5 from '@angular/material/progress-spinner';
17
- import * as i9 from '@angular/material/radio';
15
+ import * as i1 from '@angular/common';
16
+ import * as i4 from '@angular/material/progress-spinner';
17
+ import * as i8 from '@angular/material/radio';
18
18
 
19
19
  type ButtonIconPosition = 'left' | 'right';
20
20
  type ButtonColor = 'primary' | 'secondary' | 'secondary-inverted' | 'ghost' | 'ghost-ai' | 'outlined' | 'destructive' | 'tertiary' | 'link' | 'tab' | 'text' | 'text-inline' | 'menuTrigger' | 'menuCell' | 'icon-button' | 'linkedin';
@@ -248,7 +248,7 @@ declare class ButtonComponent implements OnInit, AfterViewInit {
248
248
  get isDisabled(): boolean;
249
249
  get compColor(): string;
250
250
  classCss: string;
251
- styleCss: any;
251
+ styleCss: Record<string, string>;
252
252
  isButtonLink: boolean;
253
253
  isLabel: boolean;
254
254
  buttonState: ButtonState;
@@ -265,12 +265,21 @@ declare class ButtonComponent implements OnInit, AfterViewInit {
265
265
  constructor(defaultAppTheme: ApplicationTheme);
266
266
  ngOnInit(): void;
267
267
  ngOnChanges(changes: SimpleChanges): void;
268
+ private hasCssAffectingChange;
269
+ private isIconButtonSizeChange;
270
+ private isFilledIconVariant;
268
271
  ngAfterViewInit(): void;
269
272
  buttonClick(event: Event): void;
270
273
  buttonHover(event: Event): void;
271
274
  showLabel(): boolean;
272
275
  setCssClass(): string;
273
- setCssStyle(): any;
276
+ setCssStyle(): Record<string, string>;
277
+ private get isColorVariant();
278
+ private get isTextVariant();
279
+ private getInteractiveStyle;
280
+ private getClassicInteractiveStyle;
281
+ private getCompanyColorStyle;
282
+ private getGhostBackgroundStyle;
274
283
  get showSpinner(): boolean;
275
284
  get showInlineSpinner(): boolean;
276
285
  showButtonLink(): boolean;
@@ -285,14 +294,14 @@ declare class ButtonComponent implements OnInit, AfterViewInit {
285
294
  getIconName(iconName: string, defaultValue: string): IconName;
286
295
  private createAriaLabelledById;
287
296
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ optional: true; }]>;
288
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingWithLabel": { "alias": "loadingWithLabel"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "buttonBadgeConfig": { "alias": "buttonBadgeConfig"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disabledScaleOnClick": { "alias": "disabledScaleOnClick"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "ariaControls": { "alias": "ariaControls"; "required": false; }; "ariaPressed": { "alias": "ariaPressed"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; "hasBackground": { "alias": "hasBackground"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; "iconFilled": { "alias": "iconFilled"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
297
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingWithLabel": { "alias": "loadingWithLabel"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "buttonBadgeConfig": { "alias": "buttonBadgeConfig"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disabledScaleOnClick": { "alias": "disabledScaleOnClick"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "ariaControls": { "alias": "ariaControls"; "required": false; }; "ariaPressed": { "alias": "ariaPressed"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; "hasBackground": { "alias": "hasBackground"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; "iconFilled": { "alias": "iconFilled"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, true, never>;
289
298
  static ngAcceptInputType_preventDefault: unknown;
290
299
  static ngAcceptInputType_hasBackground: unknown;
291
300
  }
292
301
 
293
302
  declare class ButtonComponentModule {
294
303
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponentModule, never>;
295
- static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule, [typeof ButtonComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.IconComponentModule, typeof i5.MatProgressSpinnerModule, typeof i6.MatTooltipModule, typeof i7.BadgeComponentModule, typeof i8.EllipseTextDirective, typeof i9.MatRadioModule, typeof i8.UiTranslatePipe], [typeof ButtonComponent]>;
304
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule, never, [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.IconComponentModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule, typeof i6.BadgeComponentModule, typeof i7.EllipseTextDirective, typeof i8.MatRadioModule, typeof i7.UiTranslatePipe, typeof ButtonComponent], [typeof ButtonComponent]>;
296
305
  static ɵinj: i0.ɵɵInjectorDeclaration<ButtonComponentModule>;
297
306
  }
298
307
 
@@ -305,7 +314,8 @@ declare class ButtonComponentModule {
305
314
  * @param typeEvent interaction event
306
315
  * @param theme
307
316
  */
308
- declare const adjustLightness: (hexColor: string, typeEvent: "hover" | "pressed" | "disabled", theme?: "new" | "classic") => string;
317
+ type LightnessEvent = 'hover' | 'pressed' | 'disabled';
318
+ declare const adjustLightness: (hexColor: string, typeEvent: LightnessEvent, theme?: "new" | "classic") => string;
309
319
  /**
310
320
  * Transforms hex color to HSL in object variation.
311
321
  * @param hexColor string value with hex color
@@ -2,9 +2,9 @@ import * as i0 from '@angular/core';
2
2
  import { OnChanges, OnInit, EventEmitter } from '@angular/core';
3
3
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
4
  export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
5
- import * as i3 from '@testgorilla/tgo-ui/components/icon';
5
+ import * as i2 from '@testgorilla/tgo-ui/components/icon';
6
6
  import { IconSize } from '@testgorilla/tgo-ui/components/icon';
7
- import * as i2 from '@angular/common';
7
+ import * as i1 from '@angular/common';
8
8
 
9
9
  type CardSize = 'small' | 'medium' | 'large';
10
10
  type CardSizeVariant = 'regular' | 'condensed';
@@ -90,12 +90,12 @@ declare class CardComponent implements OnChanges, OnInit {
90
90
  get isSelected(): boolean;
91
91
  selectCard(): void;
92
92
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, [{ optional: true; }]>;
93
- static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "size": { "alias": "size"; "required": false; }; "sizeVariant": { "alias": "sizeVariant"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "errorsSize": { "alias": "errorsSize"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowSelect": { "alias": "allowSelect"; "required": false; }; "allowFocus": { "alias": "allowFocus"; "required": false; }; }, { "cardSelected": "cardSelected"; }, never, ["*"], false, never>;
93
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "size": { "alias": "size"; "required": false; }; "sizeVariant": { "alias": "sizeVariant"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "errorsSize": { "alias": "errorsSize"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowSelect": { "alias": "allowSelect"; "required": false; }; "allowFocus": { "alias": "allowFocus"; "required": false; }; }, { "cardSelected": "cardSelected"; }, never, ["*"], true, never>;
94
94
  }
95
95
 
96
96
  declare class CardComponentModule {
97
97
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponentModule, never>;
98
- static ɵmod: i0.ɵɵNgModuleDeclaration<CardComponentModule, [typeof CardComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule], [typeof CardComponent]>;
98
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CardComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof CardComponent], [typeof CardComponent]>;
99
99
  static ɵinj: i0.ɵɵInjectorDeclaration<CardComponentModule>;
100
100
  }
101
101
 
@@ -1,27 +1,21 @@
1
+ import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
1
2
  import * as i0 from '@angular/core';
2
- import { OnInit, DoCheck, OnChanges, AfterViewInit, OnDestroy, EventEmitter, ChangeDetectorRef, NgZone, DestroyRef } from '@angular/core';
3
- import * as i4 from '@angular/forms';
3
+ import { OnInit, DoCheck, OnChanges, AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
4
+ import * as i3 from '@angular/forms';
4
5
  import { ControlValueAccessor, NgControl } from '@angular/forms';
5
- import * as i3 from '@angular/material/checkbox';
6
+ import * as i2 from '@angular/material/checkbox';
6
7
  import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
7
- import * as i7 from '@testgorilla/tgo-ui/components/core';
8
+ import * as i8 from '@angular/material/tooltip';
9
+ import { MatTooltip } from '@angular/material/tooltip';
10
+ import * as i6 from '@testgorilla/tgo-ui/components/core';
8
11
  import { ApplicationTheme, Alignment } from '@testgorilla/tgo-ui/components/core';
9
12
  export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
10
- import * as i9 from '@angular/material/tooltip';
11
- import { MatTooltip } from '@angular/material/tooltip';
12
- import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
13
- import * as i2 from '@angular/common';
14
- import * as i5 from '@angular/material/input';
15
- import * as i6 from '@testgorilla/tgo-ui/components/icon';
16
- import * as i8 from '@testgorilla/tgo-ui/components/validation-error';
13
+ import * as i1 from '@angular/common';
14
+ import * as i4 from '@angular/material/input';
15
+ import * as i5 from '@testgorilla/tgo-ui/components/icon';
16
+ import * as i7 from '@testgorilla/tgo-ui/components/validation-error';
17
17
 
18
18
  declare class CheckboxComponent implements OnInit, FocusableOption, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit, OnDestroy {
19
- private readonly defaultAppTheme;
20
- private cdr;
21
- ngControl: NgControl;
22
- private focusMonitor;
23
- private ngZone;
24
- private destroyRef;
25
19
  /**
26
20
  * Determines whether the checkbox is disabled.
27
21
  * Default: false.
@@ -165,7 +159,7 @@ declare class CheckboxComponent implements OnInit, FocusableOption, ControlValue
165
159
  /**
166
160
  * @ignore
167
161
  */
168
- onChange: (_: any) => void;
162
+ onChange: (_value: boolean) => void;
169
163
  /**
170
164
  * @ignore
171
165
  */
@@ -175,7 +169,13 @@ declare class CheckboxComponent implements OnInit, FocusableOption, ControlValue
175
169
  tooltipElement: MatTooltip;
176
170
  checkboxElement: MatCheckbox;
177
171
  protected origin: string | null;
178
- constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, focusMonitor: FocusMonitor, ngZone: NgZone, destroyRef: DestroyRef);
172
+ private readonly defaultAppTheme;
173
+ private readonly cdr;
174
+ ngControl: NgControl | null;
175
+ private readonly focusMonitor;
176
+ private readonly ngZone;
177
+ private readonly destroyRef;
178
+ constructor();
179
179
  ngOnChanges(): void;
180
180
  /**
181
181
  * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
@@ -190,15 +190,15 @@ declare class CheckboxComponent implements OnInit, FocusableOption, ControlValue
190
190
  toggleChecked(): void;
191
191
  setClass(): string;
192
192
  writeValue(value: boolean): void;
193
- registerOnChange(fn: any): void;
194
- registerOnTouched(fn: any): void;
193
+ registerOnChange(fn: (value: boolean) => void): void;
194
+ registerOnTouched(fn: () => void): void;
195
195
  setDisabledState(isDisabled: boolean): void;
196
196
  onLabelEllipsisChange(isEllipsis: boolean): void;
197
197
  onFocus(isFocus: boolean): void;
198
198
  private setCompanyColor;
199
199
  focus(): void;
200
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, [{ optional: true; }, null, { optional: true; self: true; }, null, null, null]>;
201
- 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; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "truncateText": { "alias": "truncateText"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changed": "changed"; }, never, ["[checkbox-label]"], false, never>;
200
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
201
+ 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; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "truncateText": { "alias": "truncateText"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changed": "changed"; }, never, ["[checkbox-label]"], true, never>;
202
202
  }
203
203
 
204
204
  declare class FocusVisibleDirective {
@@ -214,7 +214,7 @@ declare class FocusVisibleDirective {
214
214
 
215
215
  declare class CheckboxComponentModule {
216
216
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponentModule, never>;
217
- static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxComponentModule, [typeof CheckboxComponent], [typeof i2.CommonModule, typeof i3.MatCheckboxModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.UiTranslatePipe, typeof i8.ValidationErrorModule, typeof i7.HasValidationErrorPipe, typeof i7.EllipseTextDirective, typeof i9.MatTooltipModule, typeof FocusVisibleDirective], [typeof CheckboxComponent]>;
217
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxComponentModule, never, [typeof i1.CommonModule, typeof i2.MatCheckboxModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.UiTranslatePipe, typeof i7.ValidationErrorModule, typeof i6.HasValidationErrorPipe, typeof i6.EllipseTextDirective, typeof i8.MatTooltipModule, typeof FocusVisibleDirective, typeof CheckboxComponent], [typeof CheckboxComponent]>;
218
218
  static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxComponentModule>;
219
219
  }
220
220
 
@@ -48,14 +48,15 @@ declare class LanguageService {
48
48
  * Checks if element ellipsis
49
49
  */
50
50
  declare class EllipseTextDirective implements OnInit {
51
- private el;
51
+ private readonly el;
52
52
  isMultiline: boolean;
53
53
  maxDiffPixels: number;
54
54
  checkEllipsis$: Subject<void>;
55
55
  refreshEllipsis$: Subject<void>;
56
- set refresh(_: any);
56
+ set refresh(_: unknown);
57
57
  onChangeTextState: EventEmitter<boolean>;
58
58
  resize(): void;
59
+ private readonly destroyRef;
59
60
  constructor(el: ElementRef);
60
61
  ngOnInit(): void;
61
62
  static ɵfac: i0.ɵɵFactoryDeclaration<EllipseTextDirective, never>;
@@ -68,7 +69,7 @@ declare class EllipseTextDirective implements OnInit {
68
69
  declare class UiTranslatePipe implements PipeTransform {
69
70
  private readonly languageService;
70
71
  protected readonly LANGS: {
71
- [key: string]: any;
72
+ [key: string]: unknown;
72
73
  };
73
74
  constructor(languageService: LanguageService);
74
75
  /**
@@ -80,7 +81,7 @@ declare class UiTranslatePipe implements PipeTransform {
80
81
  * 'You have {{attemptsAmount}} attempts left
81
82
  * the interpolation object should be { attemptsAmount: 10 }
82
83
  */
83
- transform(translateKey: string, interpolationData?: any): Observable<string>;
84
+ transform(translateKey: string, interpolationData?: Record<string, unknown>): Observable<string>;
84
85
  /**
85
86
  * Used to find and replace interpolation in text
86
87
  * @param translation the translation text
@@ -108,29 +109,35 @@ type Alignment = 'center' | 'top';
108
109
  declare const hexToRgbWithAlpha: (hex: string, alpha?: number) => string;
109
110
 
110
111
  declare class AutocompleteUtils {
111
- static transformDisplayValue(value: any, textField: string): any;
112
- static filterItems(items: any, inputValue: string, textField?: string, isGroup?: boolean): any;
113
- static isPrimitive(value: any): boolean;
114
- static isArray(value: any): boolean;
112
+ static transformDisplayValue(value: unknown, textField: string): unknown;
113
+ static filterItems<T>(items: T[], inputValue: string, textField?: string, isGroup?: boolean): T[];
114
+ static isPrimitive(value: unknown): boolean;
115
+ static isArray(value: unknown): boolean;
115
116
  static throwInvalidSetupError(): void;
116
- static excludeSuggestions(items: any[], excludeItems: any[], valueField?: string): any[];
117
- static shouldBeObject(value: any, textField: string, valueField: string): boolean;
118
- static createValueItem(value: any, textField: string, valueField: string): any;
119
- static findDuplicate(value: any, selectedValue: any, lookupKey?: string): any;
120
- static countMatchingWords(words: any[], query: string, textField?: string, isGroup?: boolean): number;
117
+ static excludeSuggestions<T>(items: T[], excludeItems: T[], valueField?: string): T[];
118
+ static shouldBeObject(value: unknown, textField: string, valueField: string): boolean;
119
+ static createValueItem(value: unknown, textField: string, valueField: string): unknown;
120
+ static findDuplicate(value: unknown, selectedValue: unknown, lookupKey?: string): unknown;
121
+ static countMatchingWords(words: unknown[], query: string, textField?: string, isGroup?: boolean): number;
122
+ /**
123
+ * Faithful to the previous `any` behaviour: text/value fields are expected to
124
+ * be strings, and calling `.toLowerCase()` on a non-string throws exactly as
125
+ * it did before. Kept private so it is not part of the public API surface.
126
+ */
127
+ private static toLower;
121
128
  }
122
129
 
123
130
  declare class DigitsOnlyDirective {
124
- private el;
125
- constructor(el: ElementRef);
131
+ private readonly el;
132
+ constructor(el: ElementRef<HTMLInputElement>);
126
133
  allowNegative: boolean;
127
134
  allowDecimal: boolean;
128
135
  allowOnlyDigits: boolean;
129
136
  regex: RegExp;
130
137
  onKeyPress(event: KeyboardEvent): void;
131
138
  onPaste(event: Event): void;
132
- onKeydown(event: any): void;
133
- onInput(event: any): void;
139
+ onKeydown(event: KeyboardEvent): void;
140
+ onInput(event: Event): void;
134
141
  validate(event: Event, text: string): void;
135
142
  static ɵfac: i0.ɵɵFactoryDeclaration<DigitsOnlyDirective, never>;
136
143
  static ɵdir: i0.ɵɵDirectiveDeclaration<DigitsOnlyDirective, "[digitsOnly]", never, { "allowNegative": { "alias": "allowNegative"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; }, {}, never, never, true, never>;
@@ -145,14 +152,14 @@ declare class HasValidationErrorPipe implements PipeTransform {
145
152
  * Checks if the error on the NgControl is in the list of handled error types
146
153
  * @param value
147
154
  */
148
- transform(value: Record<string, any> | null | undefined): boolean;
155
+ transform(value: Record<string, unknown> | null | undefined): boolean;
149
156
  static ɵfac: i0.ɵɵFactoryDeclaration<HasValidationErrorPipe, never>;
150
157
  static ɵpipe: i0.ɵɵPipeDeclaration<HasValidationErrorPipe, "hasValidationError", true>;
151
158
  }
152
159
 
153
160
  declare class SelectTextDirective {
154
161
  selectText: i0.InputSignal<string | null>;
155
- private el;
162
+ private readonly el;
156
163
  private highlighted;
157
164
  constructor();
158
165
  private highlight;
@@ -168,14 +175,14 @@ declare class PreventInputDirective {
168
175
  }
169
176
 
170
177
  declare class IncludesPipe implements PipeTransform {
171
- transform(value: Record<string, any>, values: Record<string, any> | Record<string, any>[], valueField?: string): boolean;
178
+ transform(value: Record<string, unknown>, values: Record<string, unknown> | Record<string, unknown>[], valueField?: string): boolean;
172
179
  static ɵfac: i0.ɵɵFactoryDeclaration<IncludesPipe, never>;
173
180
  static ɵpipe: i0.ɵɵPipeDeclaration<IncludesPipe, "includes", true>;
174
181
  }
175
182
 
176
183
  declare class TransformItemPipe implements PipeTransform {
177
- transform(value: Record<string, any> | Record<string, any>[] | null | undefined, field: string, getValueList: true): string[];
178
- transform(value: Record<string, any> | Record<string, any>[] | null | undefined, field: string, getValueList?: false): string;
184
+ transform(value: Record<string, unknown> | Record<string, unknown>[] | null | undefined, field: string, getValueList: true): string[];
185
+ transform(value: Record<string, unknown> | Record<string, unknown>[] | null | undefined, field: string, getValueList?: false): string;
179
186
  static ɵfac: i0.ɵɵFactoryDeclaration<TransformItemPipe, never>;
180
187
  static ɵpipe: i0.ɵɵPipeDeclaration<TransformItemPipe, "transformItem", true>;
181
188
  }
@@ -276,7 +283,7 @@ declare enum Color {
276
283
  *
277
284
  * */
278
285
  declare class MemoizeFuncPipe implements PipeTransform {
279
- transform<T, K>(value: T, handler: (value: T) => K, context?: any): K;
286
+ transform<T, K>(value: T, handler: (value: T) => K, context?: unknown): K;
280
287
  static ɵfac: i0.ɵɵFactoryDeclaration<MemoizeFuncPipe, never>;
281
288
  static ɵpipe: i0.ɵɵPipeDeclaration<MemoizeFuncPipe, "memoizeFunc", true>;
282
289
  }
@@ -288,28 +295,28 @@ declare class OrdinalSuffixPipe implements PipeTransform {
288
295
  }
289
296
 
290
297
  declare class TruncatePipe implements PipeTransform {
291
- transform(input: any, length?: number, suffix?: string, preserve?: boolean): any;
298
+ transform(input: unknown, length?: number, suffix?: string, preserve?: boolean): unknown;
292
299
  static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
293
300
  static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", true>;
294
301
  }
295
302
 
296
303
  declare class DataPropertyGetterPipe implements PipeTransform {
297
- transform(obj: object, keyName?: string): any;
304
+ transform(obj: object, keyName?: string): unknown;
298
305
  private getDeepVal;
299
306
  static ɵfac: i0.ɵɵFactoryDeclaration<DataPropertyGetterPipe, never>;
300
307
  static ɵpipe: i0.ɵɵPipeDeclaration<DataPropertyGetterPipe, "dataPropertyGetter", true>;
301
308
  }
302
309
 
303
310
  interface IComponentRenderer {
304
- component: Type<any>;
305
- inputs?: any;
311
+ component: Type<unknown>;
312
+ inputs?: Record<string, unknown>;
306
313
  outputs?: {
307
- [key: string]: any;
314
+ [key: string]: (event: unknown) => void;
308
315
  };
309
316
  }
310
317
  declare class DynamicComponentDirective implements OnDestroy {
311
- private vcr;
312
- private subscription;
318
+ private readonly vcr;
319
+ private readonly subscription;
313
320
  private compRef;
314
321
  set dynamicComponent(componentRenderer: IComponentRenderer);
315
322
  constructor(vcr: ViewContainerRef);
@@ -327,7 +334,8 @@ declare class DynamicComponentDirective implements OnDestroy {
327
334
  * @param typeEvent interaction event
328
335
  * @param theme
329
336
  */
330
- declare const adjustLightness: (hexColor: string, typeEvent: "hover" | "pressed" | "disabled", theme?: "new" | "classic") => string;
337
+ type LightnessEvent = 'hover' | 'pressed' | 'disabled';
338
+ declare const adjustLightness: (hexColor: string, typeEvent: LightnessEvent, theme?: "new" | "classic") => string;
331
339
  /**
332
340
  * Transforms hex color to HSL in object variation.
333
341
  * @param hexColor string value with hex color
@@ -1,19 +1,19 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnChanges, DoCheck, OnInit, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
3
- import * as i6 from '@angular/forms';
3
+ import * as i5 from '@angular/forms';
4
4
  import { ControlValueAccessor, NgControl, FormGroup, FormControl } from '@angular/forms';
5
- import * as i9 from '@testgorilla/tgo-ui/components/core';
5
+ import * as i6 from '@angular/material/datepicker';
6
+ import { MatDatepicker } from '@angular/material/datepicker';
7
+ import * as i8 from '@testgorilla/tgo-ui/components/core';
6
8
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
7
9
  export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
- import * as i7 from '@angular/material/datepicker';
9
- import { MatDatepicker } from '@angular/material/datepicker';
10
- import * as i2 from '@angular/common';
11
- import * as i3 from '@angular/material/form-field';
12
- import * as i4 from '@angular/material/input';
13
- import * as i5 from '@testgorilla/tgo-ui/components/icon';
14
- import * as i8 from '@angular/material/core';
10
+ import * as i1 from '@angular/common';
11
+ import * as i2 from '@angular/material/form-field';
12
+ import * as i3 from '@angular/material/input';
13
+ import * as i4 from '@testgorilla/tgo-ui/components/icon';
14
+ import * as i7 from '@angular/material/core';
15
15
  import { NativeDateAdapter } from '@angular/material/core';
16
- import * as i11 from '@testgorilla/tgo-ui/components/validation-error';
16
+ import * as i10 from '@testgorilla/tgo-ui/components/validation-error';
17
17
 
18
18
  declare class DatepickerService {
19
19
  #private;
@@ -25,9 +25,9 @@ declare class DatepickerService {
25
25
 
26
26
  declare class DatepickerComponent implements OnChanges, ControlValueAccessor, DoCheck, OnInit {
27
27
  private readonly defaultAppTheme;
28
- private cdr;
28
+ private readonly cdr;
29
29
  ngControl: NgControl;
30
- private datepickerService;
30
+ private readonly datepickerService;
31
31
  class: string;
32
32
  /**
33
33
  * Form field label
@@ -209,7 +209,7 @@ declare class DatepickerComponent implements OnChanges, ControlValueAccessor, Do
209
209
  /**
210
210
  * @ignore
211
211
  */
212
- onChange: (_: any) => void;
212
+ onChange: (value: Date | Date[]) => void;
213
213
  /**
214
214
  * @ignore
215
215
  */
@@ -239,18 +239,18 @@ declare class DatepickerComponent implements OnChanges, ControlValueAccessor, Do
239
239
  setErrorsLength(): boolean;
240
240
  onValueChange(value: Date | Date[]): void;
241
241
  writeValue(value?: Date | Date[]): void;
242
- registerOnChange(fn: any): void;
243
- registerOnTouched(fn: any): void;
242
+ registerOnChange(fn: (value: Date | Date[]) => void): void;
243
+ registerOnTouched(fn: () => void): void;
244
244
  setDisabledState(isDisabled: boolean): void;
245
245
  handleCloseRangePicker(): void;
246
246
  fillSingleDateRange(isStart: boolean): void;
247
247
  dateRangeChange(): void;
248
- setMonthAndYear(normalizedMonthAndYear: any, datepicker: MatDatepicker<Date>): void;
248
+ setMonthAndYear(normalizedMonthAndYear: Date, datepicker: MatDatepicker<Date>): void;
249
249
  private setRange;
250
250
  onInput(event: Event): void;
251
251
  private setStyleVariable;
252
252
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, { optional: true; self: true; }, null]>;
253
- 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; }; "setSingleDateRangeOnBlur": { "alias": "setSingleDateRangeOnBlur"; "required": false; }; "showInnerErrors": { "alias": "showInnerErrors"; "required": false; }; "innerErrorsMessage": { "alias": "innerErrorsMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "browserTimezone": { "alias": "browserTimezone"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
253
+ 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; }; "setSingleDateRangeOnBlur": { "alias": "setSingleDateRangeOnBlur"; "required": false; }; "showInnerErrors": { "alias": "showInnerErrors"; "required": false; }; "innerErrorsMessage": { "alias": "innerErrorsMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "browserTimezone": { "alias": "browserTimezone"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
254
254
  }
255
255
 
256
256
  declare class CustomDateAdapter extends NativeDateAdapter {
@@ -265,7 +265,7 @@ declare class NoDateFormatDirective {
265
265
 
266
266
  declare class DatepickerComponentModule {
267
267
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponentModule, never>;
268
- static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComponentModule, [typeof DatepickerComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.MatDatepickerModule, typeof i8.MatNativeDateModule, typeof i9.UiTranslatePipe, typeof NoDateFormatDirective, typeof i9.HasValidationErrorPipe, typeof i11.ValidationErrorModule], [typeof DatepickerComponent]>;
268
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatDatepickerModule, typeof i7.MatNativeDateModule, typeof i8.UiTranslatePipe, typeof NoDateFormatDirective, typeof i8.HasValidationErrorPipe, typeof i10.ValidationErrorModule, typeof DatepickerComponent], [typeof DatepickerComponent]>;
269
269
  static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerComponentModule>;
270
270
  }
271
271