@testgorilla/tgo-ui 8.19.1 → 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 -18
  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 +63 -57
  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,19 +1,20 @@
1
1
  import * as rxjs from 'rxjs';
2
2
  import { Observable } from 'rxjs';
3
3
  import * as i0 from '@angular/core';
4
- import { ApplicationRef, OnInit, EventEmitter, ViewContainerRef, DestroyRef } from '@angular/core';
5
- import * as i6 from '@angular/material/sidenav';
4
+ import { Type, ComponentRef, ApplicationRef, OnInit, EventEmitter, ViewContainerRef, DestroyRef, ChangeDetectorRef } from '@angular/core';
5
+ import * as i5 from '@angular/material/sidenav';
6
6
  import { MatDrawer } from '@angular/material/sidenav';
7
- import * as i7 from '@testgorilla/tgo-ui/components/core';
7
+ import * as i6 from '@testgorilla/tgo-ui/components/core';
8
8
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
9
- import * as i2 from '@angular/common';
10
- import * as i3 from '@testgorilla/tgo-ui/components/icon';
11
- import * as i4 from '@testgorilla/tgo-ui/components/button';
12
- import * as i5 from '@angular/material/tooltip';
13
- import * as i8 from '@testgorilla/tgo-ui/components/logo';
9
+ import * as i1 from '@angular/common';
10
+ import * as i2 from '@testgorilla/tgo-ui/components/icon';
11
+ import * as i3 from '@testgorilla/tgo-ui/components/button';
12
+ import * as i4 from '@angular/material/tooltip';
13
+ import * as i7 from '@testgorilla/tgo-ui/components/logo';
14
14
 
15
15
  interface SideSheetConfig {
16
- componentRef: any;
16
+ /** A component class on input; replaced with its created ComponentRef by SideSheetService.open. */
17
+ componentRef: Type<unknown> | ComponentRef<unknown>;
17
18
  title?: string;
18
19
  showLogo?: boolean;
19
20
  showBackButton?: boolean;
@@ -23,8 +24,8 @@ interface SideSheetConfig {
23
24
  type SideSheetPosition = 'start' | 'end';
24
25
 
25
26
  declare class SideSheetService {
26
- private applicationRef;
27
- private componentRef$;
27
+ private readonly applicationRef;
28
+ private readonly componentRef$;
28
29
  constructor(applicationRef: ApplicationRef);
29
30
  open<T>(config: SideSheetConfig): T;
30
31
  close(): void;
@@ -35,8 +36,9 @@ declare class SideSheetService {
35
36
 
36
37
  declare class SideSheetComponent implements OnInit {
37
38
  private readonly defaultAppTheme;
38
- private sideSheetService;
39
- private destroyRef;
39
+ private readonly sideSheetService;
40
+ private readonly destroyRef;
41
+ private readonly cdr;
40
42
  /**
41
43
  * Set position. Defaults "end"
42
44
  *
@@ -61,19 +63,19 @@ declare class SideSheetComponent implements OnInit {
61
63
  protected showTitleTooltip: boolean;
62
64
  protected showLogo: boolean;
63
65
  protected componentRef$: rxjs.Observable<SideSheetConfig | null>;
64
- constructor(defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef);
66
+ constructor(defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef, cdr: ChangeDetectorRef);
65
67
  ngOnInit(): void;
66
68
  private setComponentRef;
67
69
  private setConfig;
68
70
  protected onClose(): void;
69
71
  onOpenChange(isOpened: boolean): void;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponent, [{ optional: true; }, null, null]>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<SideSheetComponent, "ui-side-sheet", never, { "position": { "alias": "position"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], false, never>;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponent, [{ optional: true; }, null, null, null]>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<SideSheetComponent, "ui-side-sheet", never, { "position": { "alias": "position"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], true, never>;
72
74
  }
73
75
 
74
76
  declare class SideSheetComponentModule {
75
77
  static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponentModule, never>;
76
- static ɵmod: i0.ɵɵNgModuleDeclaration<SideSheetComponentModule, [typeof SideSheetComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ButtonComponentModule, typeof i5.MatTooltipModule, typeof i6.MatSidenavModule, typeof i7.UiTranslatePipe, typeof i8.LogoComponentModule], [typeof SideSheetComponent]>;
78
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SideSheetComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.ButtonComponentModule, typeof i4.MatTooltipModule, typeof i5.MatSidenavModule, typeof i6.UiTranslatePipe, typeof i7.LogoComponentModule, typeof SideSheetComponent], [typeof SideSheetComponent]>;
77
79
  static ɵinj: i0.ɵɵInjectorDeclaration<SideSheetComponentModule>;
78
80
  }
79
81
 
@@ -1,16 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit } from '@angular/core';
2
+ import { OnInit, ChangeDetectorRef } from '@angular/core';
3
3
  import * as _angular_material_snack_bar from '@angular/material/snack-bar';
4
4
  import { MatSnackBarRef, MatSnackBar } from '@angular/material/snack-bar';
5
- import * as i4 from '@testgorilla/tgo-ui/components/icon';
6
- import { IconName } from '@testgorilla/tgo-ui/components/icon';
7
- import * as i5 from '@testgorilla/tgo-ui/components/core';
5
+ import { LinkTargetType } from '@testgorilla/tgo-ui/components/alert-banner';
6
+ import * as i4 from '@testgorilla/tgo-ui/components/core';
8
7
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
9
8
  export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
10
- import { LinkTargetType } from '@testgorilla/tgo-ui/components/alert-banner';
11
- import * as i2 from '@angular/common';
12
- import * as i3 from '@testgorilla/tgo-ui/components/button';
13
- import * as i7 from '@angular/material/tooltip';
9
+ import * as i3 from '@testgorilla/tgo-ui/components/icon';
10
+ import { IconName } from '@testgorilla/tgo-ui/components/icon';
11
+ import * as i1 from '@angular/common';
12
+ import * as i2 from '@testgorilla/tgo-ui/components/button';
13
+ import * as i6 from '@angular/material/tooltip';
14
14
 
15
15
  type SnackbarType = 'success' | 'error' | 'info' | 'warning';
16
16
  type SnackbarVariant = 'desktop' | 'mobile';
@@ -22,8 +22,9 @@ interface SnackbarLink {
22
22
 
23
23
  declare class SnackbarComponent implements OnInit {
24
24
  private readonly defaultAppTheme;
25
- private data;
26
- private snackbarRef;
25
+ private readonly data;
26
+ private readonly snackbarRef;
27
+ private readonly cdr;
27
28
  /**
28
29
  * Background color of the button while in active state
29
30
  *
@@ -127,7 +128,7 @@ declare class SnackbarComponent implements OnInit {
127
128
  applicationTheme?: ApplicationTheme;
128
129
  html?: string;
129
130
  seconds?: number;
130
- }, snackbarRef: MatSnackBarRef<SnackbarComponent>);
131
+ }, snackbarRef: MatSnackBarRef<SnackbarComponent>, cdr: ChangeDetectorRef);
131
132
  ngOnInit(): void;
132
133
  show(): void;
133
134
  hide(): void;
@@ -136,18 +137,18 @@ declare class SnackbarComponent implements OnInit {
136
137
  dismissClick(): void;
137
138
  onLinkClick(event: Event): void;
138
139
  private dismissSnackbar;
139
- static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, [{ optional: true; }, null, null]>;
140
- static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "ui-snackbar", never, { "snackbarType": { "alias": "snackbarType"; "required": false; }; "message": { "alias": "message"; "required": false; }; "html": { "alias": "html"; "required": false; }; "seconds": { "alias": "seconds"; "required": false; }; "includeDismissButton": { "alias": "includeDismissButton"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrl": { "alias": "linkUrl"; "required": false; }; "linkTarget": { "alias": "linkTarget"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; }, {}, never, never, false, never>;
140
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, [{ optional: true; }, null, null, null]>;
141
+ static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "ui-snackbar", never, { "snackbarType": { "alias": "snackbarType"; "required": false; }; "message": { "alias": "message"; "required": false; }; "html": { "alias": "html"; "required": false; }; "seconds": { "alias": "seconds"; "required": false; }; "includeDismissButton": { "alias": "includeDismissButton"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrl": { "alias": "linkUrl"; "required": false; }; "linkTarget": { "alias": "linkTarget"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; }, {}, never, never, true, never>;
141
142
  }
142
143
 
143
144
  declare class SnackbarComponentModule {
144
145
  static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponentModule, never>;
145
- static ɵmod: i0.ɵɵNgModuleDeclaration<SnackbarComponentModule, [typeof SnackbarComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule, typeof i5.UiTranslatePipe, typeof _angular_material_snack_bar.MatSnackBarModule, typeof i7.MatTooltipModule], [typeof SnackbarComponent]>;
146
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SnackbarComponentModule, never, [typeof i1.CommonModule, typeof i2.ButtonComponentModule, typeof i3.IconComponentModule, typeof i4.UiTranslatePipe, typeof _angular_material_snack_bar.MatSnackBarModule, typeof i6.MatTooltipModule, typeof SnackbarComponent], [typeof SnackbarComponent]>;
146
147
  static ɵinj: i0.ɵɵInjectorDeclaration<SnackbarComponentModule>;
147
148
  }
148
149
 
149
150
  declare class SnackbarService {
150
- private snackBar;
151
+ private readonly snackBar;
151
152
  constructor(snackBar: MatSnackBar);
152
153
  error(message: string, applicationTheme?: ApplicationTheme, html?: string, link?: SnackbarLink, seconds?: number): _angular_material_snack_bar.MatSnackBarRef<SnackbarComponent>;
153
154
  success(message: string, applicationTheme?: ApplicationTheme, html?: string, link?: SnackbarLink, seconds?: number): _angular_material_snack_bar.MatSnackBarRef<SnackbarComponent>;
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnInit, AfterViewInit, QueryList, ElementRef } from '@angular/core';
3
- import * as i3 from '@testgorilla/tgo-ui/components/core';
4
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
5
3
  import { ChartData, ChartOptions } from 'chart.js';
6
- import * as i4 from 'ng2-charts';
4
+ import * as i3 from 'ng2-charts';
7
5
  import { BaseChartDirective } from 'ng2-charts';
8
- import * as i2 from '@angular/common';
9
- import * as i5 from '@angular/material/tooltip';
10
- import * as i6 from '@testgorilla/tgo-ui/components/spinner';
6
+ import * as i2 from '@testgorilla/tgo-ui/components/core';
7
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
+ import * as i1 from '@angular/common';
9
+ import * as i4 from '@angular/material/tooltip';
10
+ import * as i5 from '@testgorilla/tgo-ui/components/spinner';
11
11
 
12
12
  type SpiderChartSize = 'large' | 'small';
13
13
  declare const SmallSpiderChartSize = 200;
@@ -62,10 +62,10 @@ declare class SpiderChartComponent implements OnInit, AfterViewInit {
62
62
  */
63
63
  applicationTheme: ApplicationTheme;
64
64
  chart: BaseChartDirective;
65
- labelContainers: QueryList<ElementRef>;
66
- fakeDataPoints: QueryList<ElementRef>;
67
- fakeDataPointsSecondary: QueryList<ElementRef>;
68
- legendItems: QueryList<ElementRef>;
65
+ labelContainers: QueryList<ElementRef<HTMLElement>>;
66
+ fakeDataPoints: QueryList<ElementRef<HTMLElement>>;
67
+ fakeDataPointsSecondary: QueryList<ElementRef<HTMLElement>>;
68
+ legendItems: QueryList<ElementRef<HTMLElement>>;
69
69
  radarChartData: ChartData<'radar'>;
70
70
  radarChartOptions: ChartOptions<'radar'>;
71
71
  labelPositions: {
@@ -113,12 +113,12 @@ declare class SpiderChartComponent implements OnInit, AfterViewInit {
113
113
  getFirstLine(label: string): string;
114
114
  getSecondLine(label: string): string;
115
115
  static ɵfac: i0.ɵɵFactoryDeclaration<SpiderChartComponent, never>;
116
- static ɵcmp: i0.ɵɵComponentDeclaration<SpiderChartComponent, "ui-spider-chart", never, { "size": { "alias": "size"; "required": false; }; "spiderChartData": { "alias": "spiderChartData"; "required": false; }; "stepSize": { "alias": "stepSize"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderChartComponent, "ui-spider-chart", never, { "size": { "alias": "size"; "required": false; }; "spiderChartData": { "alias": "spiderChartData"; "required": false; }; "stepSize": { "alias": "stepSize"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, true, never>;
117
117
  }
118
118
 
119
119
  declare class SpiderChartComponentModule {
120
120
  static ɵfac: i0.ɵɵFactoryDeclaration<SpiderChartComponentModule, never>;
121
- static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderChartComponentModule, [typeof SpiderChartComponent], [typeof i2.NgClass, typeof i3.UiTranslatePipe, typeof i4.BaseChartDirective, typeof i5.MatTooltipModule, typeof i3.UiTranslatePipe, typeof i3.MemoizeFuncPipe, typeof i6.SpinnerComponentModule, typeof i2.CommonModule], [typeof SpiderChartComponent]>;
121
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderChartComponentModule, never, [typeof i1.NgClass, typeof i2.UiTranslatePipe, typeof i3.BaseChartDirective, typeof i4.MatTooltipModule, typeof i2.MemoizeFuncPipe, typeof i5.SpinnerComponentModule, typeof i1.CommonModule, typeof SpiderChartComponent], [typeof SpiderChartComponent]>;
122
122
  static ɵinj: i0.ɵɵInjectorDeclaration<SpiderChartComponentModule>;
123
123
  }
124
124
 
@@ -1,11 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnInit, OnChanges } from '@angular/core';
3
- import * as i3 from '@testgorilla/tgo-ui/components/core';
3
+ import * as i2 from '@testgorilla/tgo-ui/components/core';
4
4
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
5
5
  export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
6
- import * as i4 from '@testgorilla/tgo-ui/components/icon';
6
+ import * as i3 from '@testgorilla/tgo-ui/components/icon';
7
7
  import { IconName, IconSize } from '@testgorilla/tgo-ui/components/icon';
8
- import * as i2 from '@angular/common';
8
+ import * as i1 from '@angular/common';
9
9
 
10
10
  type SpinnerSize = 'large' | 'small';
11
11
 
@@ -61,12 +61,12 @@ declare class SpinnerComponent implements OnInit, OnChanges {
61
61
  ngOnInit(): void;
62
62
  setSpinnerClasses(): void;
63
63
  static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, [{ optional: true; }]>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "ui-spinner", never, { "size": { "alias": "size"; "required": false; }; "isLoader": { "alias": "isLoader"; "required": false; }; "text": { "alias": "text"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; }, {}, never, never, false, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "ui-spinner", never, { "size": { "alias": "size"; "required": false; }; "isLoader": { "alias": "isLoader"; "required": false; }; "text": { "alias": "text"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; }, {}, never, never, true, never>;
65
65
  }
66
66
 
67
67
  declare class SpinnerComponentModule {
68
68
  static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponentModule, never>;
69
- static ɵmod: i0.ɵɵNgModuleDeclaration<SpinnerComponentModule, [typeof SpinnerComponent], [typeof i2.NgClass, typeof i2.NgIf, typeof i3.UiTranslatePipe, typeof i2.AsyncPipe, typeof i4.IconComponentModule], [typeof SpinnerComponent]>;
69
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpinnerComponentModule, never, [typeof i1.NgClass, typeof i2.UiTranslatePipe, typeof i1.AsyncPipe, typeof i3.IconComponentModule, typeof SpinnerComponent], [typeof SpinnerComponent]>;
70
70
  static ɵinj: i0.ɵɵInjectorDeclaration<SpinnerComponentModule>;
71
71
  }
72
72
 
@@ -1,19 +1,19 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { TemplateRef, AfterViewInit, DestroyRef, EventEmitter, ElementRef, OnChanges } from '@angular/core';
3
- import * as i3 from '@testgorilla/tgo-ui/components/icon';
4
- import { IconName } from '@testgorilla/tgo-ui/components/icon';
3
+ import { FocusMonitor } from '@angular/cdk/a11y';
5
4
  import { Observable } from 'rxjs';
6
- import * as i8 from '@testgorilla/tgo-ui/components/core';
5
+ import * as i6 from '@testgorilla/tgo-ui/components/core';
7
6
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
7
  export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
9
- import { FocusMonitor } from '@angular/cdk/a11y';
10
- import * as i2 from '@angular/common';
11
- import * as i5 from '@testgorilla/tgo-ui/components/tooltip';
8
+ import * as i2 from '@testgorilla/tgo-ui/components/icon';
9
+ import { IconName } from '@testgorilla/tgo-ui/components/icon';
10
+ import * as i1 from '@angular/common';
11
+ import * as i3 from '@angular/material/tooltip';
12
+ import * as i4 from '@testgorilla/tgo-ui/components/tooltip';
12
13
  import { TooltipPositionType } from '@testgorilla/tgo-ui/components/tooltip';
13
- import * as i4 from '@angular/material/tooltip';
14
- import * as i6 from '@angular/material/progress-spinner';
15
- import * as i7 from '@testgorilla/tgo-ui/components/radial-progress';
16
- import * as i9 from '@angular/material/input';
14
+ import * as i4$1 from '@angular/material/progress-spinner';
15
+ import * as i5 from '@testgorilla/tgo-ui/components/radial-progress';
16
+ import * as i7 from '@angular/material/input';
17
17
 
18
18
  interface Step {
19
19
  label: string;
@@ -24,10 +24,10 @@ interface Step {
24
24
  showIconWhenSelected?: boolean;
25
25
  htmlDescription?: HtmlDescription[];
26
26
  boldLabel?: boolean;
27
- descriptionTpl?: TemplateRef<any>;
27
+ descriptionTpl?: TemplateRef<unknown>;
28
28
  labelTooltip?: string;
29
29
  alwaysShowIcon?: boolean;
30
- context?: any;
30
+ context?: unknown;
31
31
  }
32
32
  interface HtmlDescription {
33
33
  text?: string;
@@ -131,28 +131,13 @@ declare class StepperComponent implements AfterViewInit {
131
131
  protected subscriberFocus(): void;
132
132
  private selectedStepFocus;
133
133
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null, null, null]>;
134
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ui-stepper", never, { "setFirstStepAutoSelect": { "alias": "firstStepAutoSelect"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "setSelectedIndex": { "alias": "selectedIndex"; "required": false; }; "lastStepFinalIcon": { "alias": "lastStepFinalIcon"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "position": { "alias": "position"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "stepperVariant": { "alias": "stepperVariant"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
135
- }
136
-
137
- /**
138
- * Directive is used to draw lines between steps
139
- */
140
- declare class StepLineElementDirective implements OnChanges {
141
- private el;
142
- stepLineElement: HTMLElement;
143
- position: StepperPosition;
144
- resize(): void;
145
- constructor(el: ElementRef);
146
- setSize(): void;
147
- ngOnChanges(): void;
148
- static ɵfac: i0.ɵɵFactoryDeclaration<StepLineElementDirective, never>;
149
- static ɵdir: i0.ɵɵDirectiveDeclaration<StepLineElementDirective, "[stepLineElement]", never, { "stepLineElement": { "alias": "stepLineElement"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
134
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ui-stepper", never, { "setFirstStepAutoSelect": { "alias": "firstStepAutoSelect"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "setSelectedIndex": { "alias": "selectedIndex"; "required": false; }; "lastStepFinalIcon": { "alias": "lastStepFinalIcon"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "position": { "alias": "position"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "stepperVariant": { "alias": "stepperVariant"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
150
135
  }
151
136
 
152
137
  declare class StepComponent implements AfterViewInit {
153
138
  private readonly defaultAppTheme;
154
- private focusMonitor;
155
- private destroyRef;
139
+ private readonly focusMonitor;
140
+ private readonly destroyRef;
156
141
  /**
157
142
  * Input property for the label of the step.
158
143
  *
@@ -276,7 +261,7 @@ declare class StepComponent implements AfterViewInit {
276
261
  * @type {TemplateRef}
277
262
  * @memberof StepComponent
278
263
  */
279
- descriptionTpl?: TemplateRef<any>;
264
+ descriptionTpl?: TemplateRef<unknown>;
280
265
  /**
281
266
  *
282
267
  * Tooltip for the step label
@@ -300,7 +285,7 @@ declare class StepComponent implements AfterViewInit {
300
285
  * @type {any}
301
286
  * @memberof StepComponent
302
287
  */
303
- context: any;
288
+ context: unknown;
304
289
  /**
305
290
  * A string representing the step variant.
306
291
  * This attribute is used to indicate the variant that should be used.
@@ -324,18 +309,33 @@ declare class StepComponent implements AfterViewInit {
324
309
  protected subscriberFocus(): void;
325
310
  onKeydown($event: KeyboardEvent): void;
326
311
  static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, [{ optional: true; }, null, null]>;
327
- static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "ui-step", never, { "label": { "alias": "label"; "required": false; }; "isVisited": { "alias": "isVisited"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "prevStepIsVisited": { "alias": "prevStepIsVisited"; "required": false; }; "mobileMode": { "alias": "mobileMode"; "required": false; }; "largeTabletMode": { "alias": "largeTabletMode"; "required": false; }; "finalIcon": { "alias": "finalIcon"; "required": false; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "position": { "alias": "position"; "required": false; }; "htmlDescription": { "alias": "htmlDescription"; "required": false; }; "boldLabel": { "alias": "boldLabel"; "required": false; }; "descriptionTpl": { "alias": "descriptionTpl"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "alwaysShowIcon": { "alias": "alwaysShowIcon"; "required": false; }; "context": { "alias": "context"; "required": false; }; "stepVariant": { "alias": "stepVariant"; "required": false; }; }, { "stepSelected": "stepSelected"; }, never, never, false, never>;
312
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "ui-step", never, { "label": { "alias": "label"; "required": false; }; "isVisited": { "alias": "isVisited"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "prevStepIsVisited": { "alias": "prevStepIsVisited"; "required": false; }; "mobileMode": { "alias": "mobileMode"; "required": false; }; "largeTabletMode": { "alias": "largeTabletMode"; "required": false; }; "finalIcon": { "alias": "finalIcon"; "required": false; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "position": { "alias": "position"; "required": false; }; "htmlDescription": { "alias": "htmlDescription"; "required": false; }; "boldLabel": { "alias": "boldLabel"; "required": false; }; "descriptionTpl": { "alias": "descriptionTpl"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "alwaysShowIcon": { "alias": "alwaysShowIcon"; "required": false; }; "context": { "alias": "context"; "required": false; }; "stepVariant": { "alias": "stepVariant"; "required": false; }; }, { "stepSelected": "stepSelected"; }, never, never, true, never>;
328
313
  }
329
314
 
330
315
  declare class StepComponentModule {
331
316
  static ɵfac: i0.ɵɵFactoryDeclaration<StepComponentModule, never>;
332
- static ɵmod: i0.ɵɵNgModuleDeclaration<StepComponentModule, [typeof StepComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.MatTooltipModule, typeof i5.TooltipComponentModule], [typeof StepComponent]>;
317
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.MatTooltipModule, typeof i4.TooltipComponentModule, typeof StepComponent], [typeof StepComponent]>;
333
318
  static ɵinj: i0.ɵɵInjectorDeclaration<StepComponentModule>;
334
319
  }
335
320
 
321
+ /**
322
+ * Directive is used to draw lines between steps
323
+ */
324
+ declare class StepLineElementDirective implements OnChanges {
325
+ private readonly el;
326
+ stepLineElement: HTMLElement;
327
+ position: StepperPosition;
328
+ resize(): void;
329
+ constructor(el: ElementRef<HTMLElement>);
330
+ setSize(): void;
331
+ ngOnChanges(): void;
332
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepLineElementDirective, never>;
333
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StepLineElementDirective, "[stepLineElement]", never, { "stepLineElement": { "alias": "stepLineElement"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
334
+ }
335
+
336
336
  declare class StepperComponentModule {
337
337
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponentModule, never>;
338
- static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, [typeof StepperComponent, typeof StepLineElementDirective], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof StepComponentModule, typeof i6.MatProgressSpinnerModule, typeof i7.RadialProgressComponentModule, typeof i8.UiTranslatePipe, typeof i9.MatInputModule], [typeof StepperComponent]>;
338
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof StepComponentModule, typeof i4$1.MatProgressSpinnerModule, typeof i5.RadialProgressComponentModule, typeof i6.UiTranslatePipe, typeof i7.MatInputModule, typeof StepperComponent, typeof StepLineElementDirective], [typeof StepperComponent]>;
339
339
  static ɵinj: i0.ɵɵInjectorDeclaration<StepperComponentModule>;
340
340
  }
341
341
 
@@ -2,20 +2,20 @@ import * as _angular_material_paginator from '@angular/material/paginator';
2
2
  import { PageEvent } from '@angular/material/paginator';
3
3
  import * as i0 from '@angular/core';
4
4
  import { Type, TemplateRef, OnChanges, AfterViewInit, OnInit, EventEmitter, ElementRef, DestroyRef, SimpleChanges, PipeTransform } from '@angular/core';
5
- import * as i11 from '@testgorilla/tgo-ui/components/core';
6
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
7
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
- import * as i4 from '@angular/material/table';
9
- import { MatTableDataSource } from '@angular/material/table';
10
- import * as i9 from '@angular/material/sort';
5
+ import * as i7 from '@angular/material/sort';
11
6
  import { Sort as Sort$1 } from '@angular/material/sort';
7
+ import * as i2 from '@angular/material/table';
8
+ import { MatTableDataSource } from '@angular/material/table';
12
9
  import { Observable, BehaviorSubject } from 'rxjs';
13
- import * as i3 from '@angular/common';
14
- import * as i5 from '@angular/material/tooltip';
15
- import * as i6 from '@testgorilla/tgo-ui/components/skeleton';
16
- import * as i7 from '@testgorilla/tgo-ui/components/paginator';
17
- import * as i8 from '@testgorilla/tgo-ui/components/button';
18
- import * as i10 from '@testgorilla/tgo-ui/components/icon';
10
+ import * as i9 from '@testgorilla/tgo-ui/components/core';
11
+ import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
12
+ export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
13
+ import * as i1 from '@angular/common';
14
+ import * as i3 from '@angular/material/tooltip';
15
+ import * as i4 from '@testgorilla/tgo-ui/components/skeleton';
16
+ import * as i5 from '@testgorilla/tgo-ui/components/paginator';
17
+ import * as i6 from '@testgorilla/tgo-ui/components/button';
18
+ import * as i8 from '@testgorilla/tgo-ui/components/icon';
19
19
 
20
20
  interface TableConfig<T = any> {
21
21
  columns: TableColumn<T>[];
@@ -24,7 +24,7 @@ interface TableConfig<T = any> {
24
24
  width?: number;
25
25
  sort?: Sort;
26
26
  hidePagination?: boolean;
27
- noDataRowTpl?: TemplateRef<any>;
27
+ noDataRowTpl?: TemplateRef<unknown>;
28
28
  sortable?: boolean;
29
29
  }
30
30
  interface TableConfigWithPagination<T> extends TableConfig<T> {
@@ -39,9 +39,9 @@ interface TableColumn<T = any> {
39
39
  tooltip?: string;
40
40
  allowSort?: boolean;
41
41
  isSticky?: boolean;
42
- headerCellTemplate?: TemplateRef<any>;
43
- rowCellTemplate?: TemplateRef<any>;
44
- rowCellTemplateClick?: () => any;
42
+ headerCellTemplate?: TemplateRef<unknown>;
43
+ rowCellTemplate?: TemplateRef<unknown>;
44
+ rowCellTemplateClick?: () => void;
45
45
  sortHeader?: string;
46
46
  hidden?: boolean;
47
47
  order?: number;
@@ -60,7 +60,7 @@ interface Pagination {
60
60
  currentPage: number;
61
61
  totalItems: number;
62
62
  }
63
- type TableData = Record<string, any>[];
63
+ type TableData = Record<string, unknown>[];
64
64
  interface ColumnEllipse {
65
65
  index: number;
66
66
  showTooltip: boolean;
@@ -85,10 +85,10 @@ declare enum ColumnType {
85
85
  RENDERER = "renderer"
86
86
  }
87
87
  interface ComponentRenderer {
88
- component: Type<any>;
89
- inputs?: any;
88
+ component: Type<unknown>;
89
+ inputs?: Record<string, unknown>;
90
90
  outputs?: {
91
- [key: string]: any;
91
+ [key: string]: (event: unknown) => void;
92
92
  };
93
93
  }
94
94
  interface ColumnStyles {
@@ -113,7 +113,7 @@ declare enum ColumnAlignmentEnum {
113
113
  CENTER = "center"
114
114
  }
115
115
  type DataSource = {
116
- [key: string]: any;
116
+ [key: string]: unknown;
117
117
  };
118
118
  type ScrollSettings = {
119
119
  scrollEnd: boolean;
@@ -123,7 +123,7 @@ type ScrollSettings = {
123
123
 
124
124
  declare class TableComponent<T extends DataSource, TDetail extends DataSource> implements OnChanges, AfterViewInit, OnInit {
125
125
  private readonly defaultAppTheme;
126
- private destroyRef;
126
+ private readonly destroyRef;
127
127
  protected readonly isMobile$: Observable<boolean>;
128
128
  /**
129
129
  * Table configuration
@@ -190,11 +190,13 @@ declare class TableComponent<T extends DataSource, TDetail extends DataSource> i
190
190
  * @memberof TableComponent
191
191
  */
192
192
  maxHeight: string;
193
- onRowClickEvent: EventEmitter<any>;
194
- onDetailRowClickEvent: EventEmitter<any>;
193
+ onRowClickEvent: EventEmitter<T & {
194
+ index: number;
195
+ }>;
196
+ onDetailRowClickEvent: EventEmitter<TDetail>;
195
197
  paginatorChange: EventEmitter<PageEvent>;
196
198
  sortChange: EventEmitter<Sort$1>;
197
- table: ElementRef;
199
+ table: ElementRef<HTMLElement>;
198
200
  protected tableData: TableData;
199
201
  protected sourceData: TableData;
200
202
  protected columnsTooltipState: ColumnEllipse[];
@@ -206,8 +208,8 @@ declare class TableComponent<T extends DataSource, TDetail extends DataSource> i
206
208
  'border-radius': string;
207
209
  height: string;
208
210
  };
209
- protected dataSourceDetail: MatTableDataSource<any, _angular_material_paginator.MatPaginator>;
210
- protected elementDetail: any;
211
+ protected dataSourceDetail: MatTableDataSource<TDetail, _angular_material_paginator.MatPaginator>;
212
+ protected elementDetail: T | null;
211
213
  protected readonly DataType: typeof ColumnType;
212
214
  protected scrollSettings$: BehaviorSubject<ScrollSettings>;
213
215
  constructor(defaultAppTheme: ApplicationTheme, destroyRef: DestroyRef, isMobile$: Observable<boolean>);
@@ -215,31 +217,31 @@ declare class TableComponent<T extends DataSource, TDetail extends DataSource> i
215
217
  ngAfterViewInit(): void;
216
218
  ngOnChanges(changes: SimpleChanges): void;
217
219
  hasTableScroll(): void;
218
- callRenderer([rendererFn, element]: [(v: T) => ComponentRenderer | string, T]): any;
220
+ callRenderer([rendererFn, element]: [(v: T) => ComponentRenderer | string, T]): ComponentRenderer | string | undefined;
219
221
  protected onPaginatorChange(event: PageEvent): void;
220
222
  protected onChangeColumnSize(columnIndex: number, showTooltip: boolean): void;
221
223
  protected onSortChange(sortState: Sort$1, emitEvent?: boolean): void;
222
- protected onRowClick(rowParams: any, rowIndex: number): void;
223
- protected onDetailRowClick(rowParams: any): void;
224
+ protected onRowClick(rowParams: T, rowIndex: number): void;
225
+ protected onDetailRowClick(rowParams: TDetail): void;
224
226
  protected toggleRow(element: T): void;
225
227
  private setTableDetailDataSource;
226
228
  private setTableConfig;
227
229
  private setTableData;
228
- private defaultPaginationConfig;
230
+ private readonly defaultPaginationConfig;
229
231
  trackColumnUniqueId: (index: number, column: TableColumn<T>) => string;
230
232
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, [{ optional: true; }, null, null]>;
231
- 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; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, ["[title-actions]"], false, never>;
233
+ 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; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, ["[title-actions]"], true, never>;
232
234
  }
233
235
 
234
236
  declare class SentenceCasePipe implements PipeTransform {
235
237
  transform(value: string | undefined): string;
236
238
  static ɵfac: i0.ɵɵFactoryDeclaration<SentenceCasePipe, never>;
237
- static ɵpipe: i0.ɵɵPipeDeclaration<SentenceCasePipe, "sentencecase", false>;
239
+ static ɵpipe: i0.ɵɵPipeDeclaration<SentenceCasePipe, "sentencecase", true>;
238
240
  }
239
241
 
240
242
  declare class TableComponentModule {
241
243
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponentModule, never>;
242
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, [typeof TableComponent, typeof 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 i11.DynamicComponentDirective, typeof i11.DataPropertyGetterPipe, typeof i11.MemoizeFuncPipe], [typeof TableComponent]>;
244
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, never, [typeof i1.CommonModule, typeof i2.MatTableModule, typeof i3.MatTooltipModule, typeof i4.SkeletonComponent, typeof i5.PaginatorComponentModule, typeof i6.ButtonComponentModule, typeof i7.MatSortModule, typeof i8.IconComponentModule, typeof i9.EllipseTextDirective, typeof i9.DynamicComponentDirective, typeof i9.DataPropertyGetterPipe, typeof i9.MemoizeFuncPipe, typeof TableComponent, typeof SentenceCasePipe], [typeof TableComponent]>;
243
245
  static ɵinj: i0.ɵɵInjectorDeclaration<TableComponentModule>;
244
246
  }
245
247