@testgorilla/tgo-ui 11.22.3 → 12.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 (225) hide show
  1. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +335 -229
  2. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
  3. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +547 -465
  4. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
  5. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +160 -75
  6. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
  7. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +678 -278
  8. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
  9. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +337 -274
  10. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
  11. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +351 -192
  12. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
  13. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +1950 -960
  14. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
  15. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +1206 -1044
  16. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
  17. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +328 -182
  18. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
  19. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +383 -203
  20. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
  21. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +553 -261
  22. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
  23. package/fesm2022/testgorilla-tgo-ui-components-button.mjs +709 -739
  24. package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
  25. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +219 -184
  26. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
  27. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +515 -458
  28. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
  29. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +423 -162
  30. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
  31. package/fesm2022/testgorilla-tgo-ui-components-core.mjs +10784 -10996
  32. package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
  33. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +810 -533
  34. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
  35. package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs +473 -116
  36. package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs.map +1 -1
  37. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +1149 -540
  38. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
  39. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +148 -84
  40. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
  41. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +239 -142
  42. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
  43. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +599 -467
  44. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
  45. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +126 -70
  46. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
  47. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +324 -329
  48. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
  49. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +969 -648
  50. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
  51. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +553 -419
  52. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
  53. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +847 -452
  54. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
  55. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +398 -302
  56. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
  57. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +162 -95
  58. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
  59. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1825 -1795
  60. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
  61. package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs +1018 -672
  62. package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs.map +1 -1
  63. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +758 -368
  64. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
  65. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +204 -212
  66. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
  67. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +183 -48
  68. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
  69. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +243 -79
  70. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
  71. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +751 -361
  72. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
  73. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +1122 -385
  74. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
  75. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +689 -413
  76. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
  77. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +227 -92
  78. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
  79. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +174 -113
  80. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
  81. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +367 -165
  82. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
  83. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +253 -118
  84. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
  85. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +730 -444
  86. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
  87. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +533 -221
  88. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
  89. package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs +274 -76
  90. package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs.map +1 -1
  91. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +184 -124
  92. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
  93. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +1223 -574
  94. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
  95. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +249 -160
  96. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
  97. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +447 -439
  98. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
  99. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +226 -150
  100. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
  101. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +255 -67
  102. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
  103. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +205 -162
  104. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
  105. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +245 -153
  106. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
  107. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +274 -140
  108. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
  109. package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs +319 -147
  110. package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
  111. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +286 -84
  112. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
  113. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +660 -208
  114. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
  115. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +579 -320
  116. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
  117. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +419 -200
  118. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
  119. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +132 -80
  120. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
  121. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +741 -390
  122. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
  123. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +455 -329
  124. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
  125. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +543 -514
  126. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
  127. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +193 -104
  128. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
  129. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +760 -524
  130. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
  131. package/fesm2022/testgorilla-tgo-ui-components-table.mjs +714 -415
  132. package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
  133. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +847 -438
  134. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
  135. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +535 -275
  136. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
  137. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +316 -246
  138. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
  139. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +404 -284
  140. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
  141. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +664 -383
  142. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
  143. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +201 -112
  144. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
  145. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +1014 -458
  146. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
  147. package/fesm2022/testgorilla-tgo-ui.mjs +147 -155
  148. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  149. package/mcp/catalog.json +1 -1
  150. package/package.json +16 -17
  151. package/projects/tgo-canopy-ui/theme/_palette.scss +23 -18
  152. package/types/testgorilla-tgo-ui-components-accordion.d.ts +214 -158
  153. package/types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts +93 -69
  154. package/types/testgorilla-tgo-ui-components-ai-caveat.d.ts +37 -34
  155. package/types/testgorilla-tgo-ui-components-ai-feedback.d.ts +126 -86
  156. package/types/testgorilla-tgo-ui-components-alert-banner.d.ts +260 -185
  157. package/types/testgorilla-tgo-ui-components-audio-waveform.d.ts +96 -67
  158. package/types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts +455 -256
  159. package/types/testgorilla-tgo-ui-components-autocomplete.d.ts +545 -390
  160. package/types/testgorilla-tgo-ui-components-avatar.d.ts +128 -102
  161. package/types/testgorilla-tgo-ui-components-badge.d.ts +191 -139
  162. package/types/testgorilla-tgo-ui-components-breadcrumb.d.ts +100 -62
  163. package/types/testgorilla-tgo-ui-components-button.d.ts +479 -340
  164. package/types/testgorilla-tgo-ui-components-card.d.ts +153 -114
  165. package/types/testgorilla-tgo-ui-components-checkbox.d.ts +299 -223
  166. package/types/testgorilla-tgo-ui-components-checklist.d.ts +149 -97
  167. package/types/testgorilla-tgo-ui-components-core.d.ts +307 -295
  168. package/types/testgorilla-tgo-ui-components-datepicker.d.ts +404 -299
  169. package/types/testgorilla-tgo-ui-components-device-control.d.ts +151 -81
  170. package/types/testgorilla-tgo-ui-components-dialog.d.ts +442 -329
  171. package/types/testgorilla-tgo-ui-components-divider.d.ts +64 -51
  172. package/types/testgorilla-tgo-ui-components-donut-chart.d.ts +41 -37
  173. package/types/testgorilla-tgo-ui-components-dropdown.d.ts +335 -241
  174. package/types/testgorilla-tgo-ui-components-elevation-shadow.d.ts +48 -43
  175. package/types/testgorilla-tgo-ui-components-empty-state.d.ts +317 -215
  176. package/types/testgorilla-tgo-ui-components-field.d.ts +559 -388
  177. package/types/testgorilla-tgo-ui-components-file-upload.d.ts +230 -168
  178. package/types/testgorilla-tgo-ui-components-filter-button.d.ts +263 -206
  179. package/types/testgorilla-tgo-ui-components-gaussian-chart.d.ts +107 -94
  180. package/types/testgorilla-tgo-ui-components-icon-label.d.ts +84 -61
  181. package/types/testgorilla-tgo-ui-components-icon.d.ts +137 -110
  182. package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +429 -303
  183. package/types/testgorilla-tgo-ui-components-inline-field.d.ts +338 -254
  184. package/types/testgorilla-tgo-ui-components-logo.d.ts +119 -101
  185. package/types/testgorilla-tgo-ui-components-media-card.d.ts +51 -35
  186. package/types/testgorilla-tgo-ui-components-media-dialog.d.ts +40 -45
  187. package/types/testgorilla-tgo-ui-components-multi-input.d.ts +283 -194
  188. package/types/testgorilla-tgo-ui-components-navbar.d.ts +326 -208
  189. package/types/testgorilla-tgo-ui-components-overflow-menu.d.ts +276 -204
  190. package/types/testgorilla-tgo-ui-components-page-header.d.ts +67 -50
  191. package/types/testgorilla-tgo-ui-components-paginator.d.ts +103 -70
  192. package/types/testgorilla-tgo-ui-components-password-criteria.d.ts +67 -58
  193. package/types/testgorilla-tgo-ui-components-password-strength.d.ts +66 -57
  194. package/types/testgorilla-tgo-ui-components-phone-input.d.ts +217 -175
  195. package/types/testgorilla-tgo-ui-components-popover.d.ts +94 -53
  196. package/types/testgorilla-tgo-ui-components-popup-tip.d.ts +81 -44
  197. package/types/testgorilla-tgo-ui-components-progress-bar.d.ts +115 -84
  198. package/types/testgorilla-tgo-ui-components-prompt.d.ts +315 -219
  199. package/types/testgorilla-tgo-ui-components-radial-progress.d.ts +146 -107
  200. package/types/testgorilla-tgo-ui-components-radio-button.d.ts +296 -219
  201. package/types/testgorilla-tgo-ui-components-rating.d.ts +134 -95
  202. package/types/testgorilla-tgo-ui-components-scale-table.d.ts +67 -47
  203. package/types/testgorilla-tgo-ui-components-scale.d.ts +91 -66
  204. package/types/testgorilla-tgo-ui-components-segmented-bar.d.ts +118 -89
  205. package/types/testgorilla-tgo-ui-components-segmented-button.d.ts +107 -80
  206. package/types/testgorilla-tgo-ui-components-segmented-toggle.d.ts +138 -105
  207. package/types/testgorilla-tgo-ui-components-selectable-card.d.ts +90 -56
  208. package/types/testgorilla-tgo-ui-components-side-navigation.d.ts +183 -107
  209. package/types/testgorilla-tgo-ui-components-side-panel.d.ts +156 -145
  210. package/types/testgorilla-tgo-ui-components-side-sheet.d.ts +98 -89
  211. package/types/testgorilla-tgo-ui-components-skeleton.d.ts +50 -33
  212. package/types/testgorilla-tgo-ui-components-slider.d.ts +278 -198
  213. package/types/testgorilla-tgo-ui-components-snackbar.d.ts +211 -159
  214. package/types/testgorilla-tgo-ui-components-spider-chart.d.ts +140 -121
  215. package/types/testgorilla-tgo-ui-components-spinner.d.ts +93 -72
  216. package/types/testgorilla-tgo-ui-components-stepper.d.ts +480 -338
  217. package/types/testgorilla-tgo-ui-components-table.d.ts +280 -233
  218. package/types/testgorilla-tgo-ui-components-tabs.d.ts +282 -183
  219. package/types/testgorilla-tgo-ui-components-tag.d.ts +266 -193
  220. package/types/testgorilla-tgo-ui-components-toggle.d.ts +180 -132
  221. package/types/testgorilla-tgo-ui-components-tooltip.d.ts +142 -105
  222. package/types/testgorilla-tgo-ui-components-universal-skills.d.ts +165 -144
  223. package/types/testgorilla-tgo-ui-components-validation-error.d.ts +70 -51
  224. package/types/testgorilla-tgo-ui-components-write-with-ai.d.ts +210 -133
  225. package/types/testgorilla-tgo-ui.d.ts +52 -45
@@ -1,188 +1,287 @@
1
- import * as _angular_core from '@angular/core';
2
- import { TemplateRef, OnInit, AfterViewInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
3
- import { NgxSkeletonLoaderConfigTheme } from 'ngx-skeleton-loader';
4
- import * as i4 from '@testgorilla/tgo-ui/components/icon';
5
- import { IconName } from '@testgorilla/tgo-ui/components/icon';
6
- import * as i3 from '@angular/material/tabs';
7
- import { MatTabGroup } from '@angular/material/tabs';
8
- import { Observable } from 'rxjs';
9
- import * as i5 from '@testgorilla/tgo-ui/components/core';
10
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
11
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
12
- import * as i2 from '@angular/common';
13
- import * as i6 from '@testgorilla/tgo-ui/components/skeleton';
14
-
15
- interface Tab {
16
- tabName: string;
17
- tabLabel: string;
18
- contentTemplateRef: TemplateRef<unknown>;
19
- iconLeft?: IconName;
20
- iconRight?: IconName;
21
- disabled?: boolean;
22
- canLeave?: (ctx?: {
23
- currentTab: Tab;
24
- nextTab: Tab;
25
- }) => boolean | Promise<boolean>;
26
- linkUrl?: string;
27
- ariaLabel?: string;
28
- testId?: string;
29
- order?: number;
30
- skeletonTheme?: NgxSkeletonLoaderConfigTheme;
31
- isSkeletonAiTheme?: boolean;
32
- isLabelLoading?: boolean;
1
+ import * as i0 from "@angular/core";
2
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit, TemplateRef } from "@angular/core";
3
+ import { NgxSkeletonLoaderConfigTheme } from "ngx-skeleton-loader";
4
+ import * as i4 from "@testgorilla/tgo-ui/components/icon";
5
+ import { IconName } from "@testgorilla/tgo-ui/components/icon";
6
+ import * as i3 from "@angular/material/tabs";
7
+ import { MatTabGroup } from "@angular/material/tabs";
8
+ import { Observable } from "rxjs";
9
+ import * as i5 from "@testgorilla/tgo-ui/components/core";
10
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
11
+ import * as i2 from "@angular/common";
12
+ import * as i6 from "@testgorilla/tgo-ui/components/skeleton";
13
+ export interface Tab {
14
+ tabName: string;
15
+ tabLabel: string;
16
+ contentTemplateRef: TemplateRef<unknown>;
17
+ iconLeft?: IconName;
18
+ iconRight?: IconName;
19
+ disabled?: boolean;
20
+ canLeave?: (ctx?: {
21
+ currentTab: Tab;
22
+ nextTab: Tab;
23
+ }) => boolean | Promise<boolean>;
24
+ linkUrl?: string;
25
+ ariaLabel?: string;
26
+ testId?: string;
27
+ order?: number;
28
+ skeletonTheme?: NgxSkeletonLoaderConfigTheme;
29
+ isSkeletonAiTheme?: boolean;
30
+ isLabelLoading?: boolean;
33
31
  }
34
- type TabsType = 'underlined' | 'filled';
35
- declare const TAB_HEADER_SIZE: {
36
- readonly BIG: "big";
37
- readonly MEDIUM: "medium";
38
- readonly SMALL: "small";
32
+ export type TabsType = 'underlined' | 'filled';
33
+ export declare const TAB_HEADER_SIZE: {
34
+ readonly BIG: "big";
35
+ readonly MEDIUM: "medium";
36
+ readonly SMALL: "small";
39
37
  };
40
- type TabHeaderSize = (typeof TAB_HEADER_SIZE)[keyof typeof TAB_HEADER_SIZE];
41
-
42
- declare class TabDirective implements OnInit {
43
- tabLabel: _angular_core.InputSignal<string>;
44
- tabName: _angular_core.InputSignal<string>;
45
- iconLeft: _angular_core.InputSignal<IconName | undefined>;
46
- iconRight: _angular_core.InputSignal<IconName | undefined>;
47
- disabled: _angular_core.InputSignalWithTransform<boolean, string>;
48
- canLeave: _angular_core.InputSignal<((ctx?: {
49
- currentTab: Tab;
50
- nextTab: Tab;
51
- }) => boolean | Promise<boolean>) | undefined>;
52
- linkUrl: _angular_core.InputSignal<string | undefined>;
53
- order: _angular_core.InputSignal<number | undefined>;
54
- skeletonTheme: _angular_core.InputSignal<NgxSkeletonLoaderConfigTheme | undefined>;
55
- isSkeletonAiTheme: _angular_core.InputSignal<boolean | undefined>;
56
- isLabelLoading: _angular_core.InputSignalWithTransform<boolean, unknown>;
57
- private readonly tabsComponent;
58
- private readonly template;
59
- private readonly syncProps;
60
- private readonly cleanup;
61
- ngOnInit(): void;
62
- private addTab;
63
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabDirective, never>;
64
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TabDirective, "ng-template[uiTab]", never, { "tabLabel": { "alias": "tabLabel"; "required": true; "isSignal": true; }; "tabName": { "alias": "tabName"; "required": true; "isSignal": true; }; "iconLeft": { "alias": "iconLeft"; "required": false; "isSignal": true; }; "iconRight": { "alias": "iconRight"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "canLeave": { "alias": "canLeave"; "required": false; "isSignal": true; }; "linkUrl": { "alias": "linkUrl"; "required": false; "isSignal": true; }; "order": { "alias": "order"; "required": false; "isSignal": true; }; "skeletonTheme": { "alias": "skeletonTheme"; "required": false; "isSignal": true; }; "isSkeletonAiTheme": { "alias": "isSkeletonAiTheme"; "required": false; "isSignal": true; }; "isLabelLoading": { "alias": "isLabelLoading"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
38
+ export type TabHeaderSize = (typeof TAB_HEADER_SIZE)[keyof typeof TAB_HEADER_SIZE];
39
+ export declare class TabDirective implements OnInit {
40
+ tabLabel: import("@angular/core").InputSignal<string>;
41
+ tabName: import("@angular/core").InputSignal<string>;
42
+ iconLeft: import("@angular/core").InputSignal<IconName | undefined>;
43
+ iconRight: import("@angular/core").InputSignal<IconName | undefined>;
44
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, string>;
45
+ canLeave: import("@angular/core").InputSignal<((ctx?: {
46
+ currentTab: Tab;
47
+ nextTab: Tab;
48
+ }) => boolean | Promise<boolean>) | undefined>;
49
+ linkUrl: import("@angular/core").InputSignal<string | undefined>;
50
+ order: import("@angular/core").InputSignal<number | undefined>;
51
+ skeletonTheme: import("@angular/core").InputSignal<NgxSkeletonLoaderConfigTheme | undefined>;
52
+ isSkeletonAiTheme: import("@angular/core").InputSignal<boolean | undefined>;
53
+ isLabelLoading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
54
+ private readonly tabsComponent;
55
+ private readonly template;
56
+ private readonly syncProps;
57
+ private readonly cleanup;
58
+ ngOnInit(): void;
59
+ private addTab;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabDirective, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "ng-template[uiTab]", never, {
62
+ "tabLabel": {
63
+ "alias": "tabLabel";
64
+ "required": true;
65
+ "isSignal": true;
66
+ };
67
+ "tabName": {
68
+ "alias": "tabName";
69
+ "required": true;
70
+ "isSignal": true;
71
+ };
72
+ "iconLeft": {
73
+ "alias": "iconLeft";
74
+ "required": false;
75
+ "isSignal": true;
76
+ };
77
+ "iconRight": {
78
+ "alias": "iconRight";
79
+ "required": false;
80
+ "isSignal": true;
81
+ };
82
+ "disabled": {
83
+ "alias": "disabled";
84
+ "required": false;
85
+ "isSignal": true;
86
+ };
87
+ "canLeave": {
88
+ "alias": "canLeave";
89
+ "required": false;
90
+ "isSignal": true;
91
+ };
92
+ "linkUrl": {
93
+ "alias": "linkUrl";
94
+ "required": false;
95
+ "isSignal": true;
96
+ };
97
+ "order": {
98
+ "alias": "order";
99
+ "required": false;
100
+ "isSignal": true;
101
+ };
102
+ "skeletonTheme": {
103
+ "alias": "skeletonTheme";
104
+ "required": false;
105
+ "isSignal": true;
106
+ };
107
+ "isSkeletonAiTheme": {
108
+ "alias": "isSkeletonAiTheme";
109
+ "required": false;
110
+ "isSignal": true;
111
+ };
112
+ "isLabelLoading": {
113
+ "alias": "isLabelLoading";
114
+ "required": false;
115
+ "isSignal": true;
116
+ };
117
+ }, {}, never, never, true, never>;
65
118
  }
66
-
67
- declare class TabsComponent implements AfterViewInit {
68
- private readonly defaultAppTheme;
69
- protected readonly isMobile$: Observable<boolean>;
70
- private readonly cdr;
71
- /**
72
- * Color of the Tabs.
73
- * Defaults to Test Gorilla primary color.
74
- *
75
- * @type {string}
76
- * @memberof TabsComponent
77
- */
78
- companyColor: string | null;
79
- /**
80
- * Type the Tabs.
81
- * Defaults underlined.
82
- *
83
- * @type {TabsType}
84
- * @memberof TabsComponent
85
- */
86
- type: TabsType;
87
- /**
88
- * Animation duration when switching tabs
89
- *
90
- * @type {number}
91
- * @memberof TabsComponent
92
- */
93
- animationDuration: number;
94
- /**
95
- * Sets the padding for content and header
96
- *
97
- * @type {number}
98
- * @memberof TabsComponent
99
- */
100
- headerContentPadding: string;
101
- /**
102
- * Sets the dynamic height of the tab
103
- * @type {boolean}
104
- * @memberof TabsComponent
105
- */
106
- dynamicHeight: boolean;
107
- /**
108
- *
109
- * Defines the application theme
110
- *
111
- * @type {ApplicationTheme}
112
- * @memberof TabsComponent
113
- */
114
- applicationTheme: ApplicationTheme;
115
- tabHeaderSize: _angular_core.InputSignal<TabHeaderSize>;
116
- isLoading: _angular_core.InputSignal<boolean>;
117
- /**
118
- * Name of the tab to show. Applied as tabs register, so a tab requested before the
119
- * projected `ng-template uiTab` children exist — a deep link, a query param — is still
120
- * honoured on first paint, with no need to call `selectTab()` from a lifecycle hook.
121
- *
122
- * This is a request, not live state: it is applied when the value changes and once more as
123
- * soon as the named tab registers, but a later click or a change to the tab list will not
124
- * snap the selection back to it. An unknown name is a no-op — while tabs are still
125
- * registering every name is unknown, so it cannot warn or throw. Bind a name the consumer
126
- * has already validated.
127
- *
128
- * Applying it does not emit `selectedTab` / `selectedTabIndex` (the consumer supplied the
129
- * value, so echoing it back would double-handle it) and does not consult the current tab's
130
- * `canLeave` — declarative selection is the consumer's own decision, so it owns any
131
- * guarding around the value it binds. User-driven switches still honour `canLeave`.
132
- */
133
- readonly selectedTabName: _angular_core.InputSignal<string | null>;
134
- readonly testId: _angular_core.InputSignal<string | null>;
135
- selectedTabIndex: EventEmitter<number>;
136
- selectedTab: EventEmitter<Tab>;
137
- tabGroup: MatTabGroup;
138
- protected tabs: Tab[];
139
- readonly tabIndex: _angular_core.WritableSignal<number>;
140
- protected tabIndexMap: Record<string, number>;
141
- private insertionCounter;
142
- private tabTransitionInProgress;
143
- private requestedTabName;
144
- constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>, cdr: ChangeDetectorRef);
145
- ngAfterViewInit(): void;
146
- addTab(tab: Tab): void;
147
- private sortTabs;
148
- private updateTabIndexMap;
149
- private get activeTabName();
150
- /**
151
- * `tabIndex` stores a position, but the selection it stands for is a tab identity, and
152
- * adding, removing or re-ordering tabs shifts positions. Without re-resolving the index
153
- * from the name, `tabIndex` keeps pointing at whatever tab now sits at that position —
154
- * MatTabGroup re-derives its own selection from the active tab, so the body stays correct
155
- * while this component's `aria-selected` and click gating silently drift onto a different
156
- * tab. Falls back to clamping when the active tab is the one that went away.
157
- */
158
- private reconcileTabIndex;
159
- /**
160
- * Applies `selectedTabName` once the named tab is known, then clears the request so later
161
- * clicks and tab list changes are not overridden by a stale value. Stays armed while the
162
- * name is unresolved, because a requested tab can register after the input is set — either
163
- * with the rest of a subtree that renders late, or later still if it is behind its own
164
- * condition — so `addTab()` retries until it resolves.
165
- *
166
- * Silent by design — see the doc on `selectedTabName`.
167
- */
168
- private applyRequestedTabName;
169
- onTabChange(index: number): void;
170
- selectTab(tabName: string): void;
171
- indexOf(tabName: string): number;
172
- trackByTabName(index: number, tab: Tab): string;
173
- removeTab(tabName: string): void;
174
- updateTab(tabName: string, tab: Partial<Omit<Tab, 'tabName'>>): void;
175
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, [{ optional: true; }, null, null]>;
176
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsComponent, "ui-tabs", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "type": { "alias": "type"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "headerContentPadding": { "alias": "headerContentPadding"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tabHeaderSize": { "alias": "tabHeaderSize"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "selectedTabName": { "alias": "selectedTabName"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; }, { "selectedTabIndex": "selectedTabIndex"; "selectedTab": "selectedTab"; }, never, never, true, never>;
177
- static ngAcceptInputType_headerContentPadding: number;
178
- static ngAcceptInputType_dynamicHeight: unknown;
119
+ export declare class TabsComponent implements AfterViewInit {
120
+ private readonly defaultAppTheme;
121
+ protected readonly isMobile$: Observable<boolean>;
122
+ private readonly cdr;
123
+ /**
124
+ * Color of the Tabs.
125
+ * Defaults to Test Gorilla primary color.
126
+ *
127
+ * @type {string}
128
+ * @memberof TabsComponent
129
+ */
130
+ companyColor: string | null;
131
+ /**
132
+ * Type the Tabs.
133
+ * Defaults underlined.
134
+ *
135
+ * @type {TabsType}
136
+ * @memberof TabsComponent
137
+ */
138
+ type: TabsType;
139
+ /**
140
+ * Animation duration when switching tabs
141
+ *
142
+ * @type {number}
143
+ * @memberof TabsComponent
144
+ */
145
+ animationDuration: number;
146
+ /**
147
+ * Sets the padding for content and header
148
+ *
149
+ * @type {number}
150
+ * @memberof TabsComponent
151
+ */
152
+ headerContentPadding: string;
153
+ /**
154
+ * Sets the dynamic height of the tab
155
+ * @type {boolean}
156
+ * @memberof TabsComponent
157
+ */
158
+ dynamicHeight: boolean;
159
+ /**
160
+ *
161
+ * Defines the application theme
162
+ *
163
+ * @type {ApplicationTheme}
164
+ * @memberof TabsComponent
165
+ */
166
+ applicationTheme: ApplicationTheme$1;
167
+ tabHeaderSize: import("@angular/core").InputSignal<TabHeaderSize>;
168
+ isLoading: import("@angular/core").InputSignal<boolean>;
169
+ /**
170
+ * Name of the tab to show. Applied as tabs register, so a tab requested before the
171
+ * projected `ng-template uiTab` children exist — a deep link, a query param — is still
172
+ * honoured on first paint, with no need to call `selectTab()` from a lifecycle hook.
173
+ *
174
+ * This is a request, not live state: it is applied when the value changes and once more as
175
+ * soon as the named tab registers, but a later click or a change to the tab list will not
176
+ * snap the selection back to it. An unknown name is a no-op — while tabs are still
177
+ * registering every name is unknown, so it cannot warn or throw. Bind a name the consumer
178
+ * has already validated.
179
+ *
180
+ * Applying it does not emit `selectedTab` / `selectedTabIndex` (the consumer supplied the
181
+ * value, so echoing it back would double-handle it) and does not consult the current tab's
182
+ * `canLeave` — declarative selection is the consumer's own decision, so it owns any
183
+ * guarding around the value it binds. User-driven switches still honour `canLeave`.
184
+ */
185
+ readonly selectedTabName: import("@angular/core").InputSignal<string | null>;
186
+ readonly testId: import("@angular/core").InputSignal<string | null>;
187
+ selectedTabIndex: EventEmitter<number>;
188
+ selectedTab: EventEmitter<Tab>;
189
+ tabGroup: MatTabGroup;
190
+ protected tabs: Tab[];
191
+ readonly tabIndex: import("@angular/core").WritableSignal<number>;
192
+ protected tabIndexMap: Record<string, number>;
193
+ private insertionCounter;
194
+ private tabTransitionInProgress;
195
+ private requestedTabName;
196
+ constructor(defaultAppTheme: ApplicationTheme$1, isMobile$: Observable<boolean>, cdr: ChangeDetectorRef);
197
+ ngAfterViewInit(): void;
198
+ addTab(tab: Tab): void;
199
+ private sortTabs;
200
+ private updateTabIndexMap;
201
+ private get activeTabName();
202
+ /**
203
+ * `tabIndex` stores a position, but the selection it stands for is a tab identity, and
204
+ * adding, removing or re-ordering tabs shifts positions. Without re-resolving the index
205
+ * from the name, `tabIndex` keeps pointing at whatever tab now sits at that position —
206
+ * MatTabGroup re-derives its own selection from the active tab, so the body stays correct
207
+ * while this component's `aria-selected` and click gating silently drift onto a different
208
+ * tab. Falls back to clamping when the active tab is the one that went away.
209
+ */
210
+ private reconcileTabIndex;
211
+ /**
212
+ * Applies `selectedTabName` once the named tab is known, then clears the request so later
213
+ * clicks and tab list changes are not overridden by a stale value. Stays armed while the
214
+ * name is unresolved, because a requested tab can register after the input is set — either
215
+ * with the rest of a subtree that renders late, or later still if it is behind its own
216
+ * condition — so `addTab()` retries until it resolves.
217
+ *
218
+ * Silent by design — see the doc on `selectedTabName`.
219
+ */
220
+ private applyRequestedTabName;
221
+ onTabChange(index: number): void;
222
+ selectTab(tabName: string): void;
223
+ indexOf(tabName: string): number;
224
+ trackByTabName(index: number, tab: Tab): string;
225
+ removeTab(tabName: string): void;
226
+ updateTab(tabName: string, tab: Partial<Omit<Tab, 'tabName'>>): void;
227
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, [{
228
+ optional: true;
229
+ }, null, null]>;
230
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ui-tabs", never, {
231
+ "companyColor": {
232
+ "alias": "companyColor";
233
+ "required": false;
234
+ };
235
+ "type": {
236
+ "alias": "type";
237
+ "required": false;
238
+ };
239
+ "animationDuration": {
240
+ "alias": "animationDuration";
241
+ "required": false;
242
+ };
243
+ "headerContentPadding": {
244
+ "alias": "headerContentPadding";
245
+ "required": false;
246
+ };
247
+ "dynamicHeight": {
248
+ "alias": "dynamicHeight";
249
+ "required": false;
250
+ };
251
+ "applicationTheme": {
252
+ "alias": "applicationTheme";
253
+ "required": false;
254
+ };
255
+ "tabHeaderSize": {
256
+ "alias": "tabHeaderSize";
257
+ "required": false;
258
+ "isSignal": true;
259
+ };
260
+ "isLoading": {
261
+ "alias": "isLoading";
262
+ "required": false;
263
+ "isSignal": true;
264
+ };
265
+ "selectedTabName": {
266
+ "alias": "selectedTabName";
267
+ "required": false;
268
+ "isSignal": true;
269
+ };
270
+ "testId": {
271
+ "alias": "testId";
272
+ "required": false;
273
+ "isSignal": true;
274
+ };
275
+ }, {
276
+ "selectedTabIndex": "selectedTabIndex";
277
+ "selectedTab": "selectedTab";
278
+ }, never, never, true, never>;
279
+ static ngAcceptInputType_headerContentPadding: number;
280
+ static ngAcceptInputType_dynamicHeight: unknown;
179
281
  }
180
-
181
- declare class TabsComponentModule {
182
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponentModule, never>;
183
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<TabsComponentModule, never, [typeof TabDirective, typeof i2.CommonModule, typeof i3.MatTabsModule, typeof i4.IconComponentModule, typeof i5.UiTranslatePipe, typeof i6.SkeletonComponent, typeof TabsComponent], [typeof TabsComponent, typeof TabDirective]>;
184
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<TabsComponentModule>;
282
+ export declare class TabsComponentModule {
283
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponentModule, never>;
284
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TabsComponentModule, never, [typeof TabDirective, typeof i2.CommonModule, typeof i3.MatTabsModule, typeof i4.IconComponentModule, typeof i5.UiTranslatePipe, typeof i6.SkeletonComponent, typeof TabsComponent], [typeof TabsComponent, typeof TabDirective]>;
285
+ static ɵinj: i0.ɵɵInjectorDeclaration<TabsComponentModule>;
185
286
  }
186
-
187
- export { TAB_HEADER_SIZE, TabDirective, TabsComponent, TabsComponentModule };
188
- export type { Tab, TabHeaderSize, TabsType };
287
+ export { ApplicationTheme };