@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,246 +1,340 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, DoCheck, OnChanges, AfterViewInit, EventEmitter, TemplateRef, SimpleChanges } from '@angular/core';
3
- import * as i5 from '@angular/forms';
4
- import { ControlValueAccessor, NgControl } from '@angular/forms';
5
- import { MatOption } from '@angular/material/core';
6
- import * as i2 from '@angular/material/form-field';
7
- import { FloatLabelType } from '@angular/material/form-field';
8
- import * as i7 from '@angular/material/select';
9
- import { MatSelect, MatSelectChange } from '@angular/material/select';
10
- import * as i8 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 i4 from '@testgorilla/tgo-ui/components/icon';
14
- import { IconName } from '@testgorilla/tgo-ui/components/icon';
15
- import * as i1 from '@angular/common';
16
- import * as i3 from '@angular/material/input';
17
- import * as i6 from '@testgorilla/tgo-ui/components/button';
18
- import * as i9 from '@testgorilla/tgo-ui/components/validation-error';
19
-
20
- type OptionType = {
21
- value?: string;
22
- displayValue?: string;
23
- sectionTitle?: string;
24
- isAISuggested?: boolean;
1
+ import * as i0 from "@angular/core";
2
+ import { AfterViewInit, DoCheck, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
3
+ import * as i5 from "@angular/forms";
4
+ import { ControlValueAccessor, NgControl } from "@angular/forms";
5
+ import { MatOption } from "@angular/material/core";
6
+ import * as i2 from "@angular/material/form-field";
7
+ import { FloatLabelType } from "@angular/material/form-field";
8
+ import * as i7 from "@angular/material/select";
9
+ import { MatSelect, MatSelectChange } from "@angular/material/select";
10
+ import * as i8 from "@testgorilla/tgo-ui/components/core";
11
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
12
+ import * as i4 from "@testgorilla/tgo-ui/components/icon";
13
+ import { IconName } from "@testgorilla/tgo-ui/components/icon";
14
+ import * as i1 from "@angular/common";
15
+ import * as i3 from "@angular/material/input";
16
+ import * as i6 from "@testgorilla/tgo-ui/components/button";
17
+ import * as i9 from "@testgorilla/tgo-ui/components/validation-error";
18
+ export type OptionType = {
19
+ value?: string;
20
+ displayValue?: string;
21
+ sectionTitle?: string;
22
+ isAISuggested?: boolean;
25
23
  } & Record<string, unknown>;
26
-
27
24
  /** The dropdown's form value: a single option value, or an array for multi-select. */
28
25
  type DropdownValue = string | string[] | null | undefined;
29
- declare class DropdownComponent implements OnInit, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit {
30
- class: string;
31
- findValueByValueField: (item: OptionType) => boolean;
32
- /**
33
- * Text content will be applied to the input element if present.
34
- *
35
- * @type {string}
36
- * @memberof DropdownComponent
37
- */
38
- label?: string | undefined;
39
- /**
40
- * Icon to display alongside the label
41
- *
42
- * @type {IconName}
43
- * @memberof DropdownComponent
44
- */
45
- labelIcon?: IconName;
46
- /**
47
- * Indicates if this field is filled by AI
48
- *
49
- * @type {boolean}
50
- * @memberof DropdownComponent
51
- */
52
- isAIVariant: boolean;
53
- /**
54
- * Input name attribute
55
- *
56
- * @type {string}
57
- * @memberof DropdownComponent
58
- */
59
- name: string;
60
- /**
61
- * Placeholder to be shown if no value has been selected.
62
- *
63
- * @type {string}
64
- * @memberof DropdownComponent
65
- */
66
- placeholder: string;
67
- /**
68
- * Unique id of the element.
69
- *
70
- * @type {string}
71
- * @memberof DropdownComponent
72
- */
73
- id?: string | undefined;
74
- testId: string | null;
75
- ariaLabel: string;
76
- /**
77
- * Input value
78
- *
79
- * @type {string}
80
- * @memberof DropdownComponent
81
- */
82
- value?: string;
83
- /**
84
- * Whether the component is in an error state.
85
- *
86
- * @type {string[]}
87
- * @memberof DropdownComponent
88
- */
89
- errors?: string[];
90
- /**
91
- * Whether the component is disabled.
92
- * Default: false.
93
- *
94
- * @type {boolean}
95
- * @memberof DropdownComponent
96
- */
97
- disabled: boolean;
98
- /**
99
- * List of options.
100
- *
101
- * @type {OptionType}
102
- * @memberof DropdownComponent
103
- */
104
- valueList: OptionType[];
105
- /**
106
- * Whether the user should be allowed to clear the values.
107
- * Default: true.
108
- *
109
- * @type {boolean}
110
- * @memberof DropdownComponent
111
- */
112
- allowClear: boolean;
113
- /**
114
- * This will allow the user to select multiple values at once.
115
- * Default: true.
116
- *
117
- * @type {boolean}
118
- * @memberof DropdownComponent
119
- */
120
- allowMultipleSelection?: boolean | undefined;
121
- /**
122
- * Whether the component is required.
123
- * Default: false.
124
- *
125
- * @type {boolean}
126
- * @memberof DropdownComponent
127
- */
128
- required: boolean;
129
- /**
130
- * Show reserved content below form field
131
- * @property showBottomContent
132
- * @type {boolean}
133
- * @memberof DropdownComponent
134
- */
135
- showBottomContent: boolean;
136
- /**
137
- *
138
- * Defines the application theme
139
- *
140
- * @type {ApplicationTheme}
141
- * @memberof DropdownComponent
142
- */
143
- applicationTheme: ApplicationTheme;
144
- /**
145
- * Hide in build errors for Reactive Forms
146
- *
147
- * @type {number}
148
- * @memberof DropdownComponent
149
- */
150
- hideBuiltInErrors: boolean;
151
- /**
152
- * Hide label in errors
153
- *
154
- * @type {number}
155
- * @memberof DropdownComponent
156
- */
157
- hideLabelInErrors: boolean;
158
- /**
159
- * @property textField
160
- * @description The field to be used as the display text in the dropdown.
161
- * @memberof DropdownComponent
162
- */
163
- textField: string;
164
- /**
165
- * @property valueField
166
- * @description The field to be used as the value in the dropdown.
167
- * @memberof DropdownComponent
168
- */
169
- valueField: string;
170
- hasError: boolean;
171
- /**
172
- * Color of the option hover.
173
- * Defaults to Test Gorilla primary color.
174
- *
175
- * @type {string}
176
- * @memberof DropdownComponent
177
- */
178
- companyColor: string;
179
- /**
180
- * Class to be applied to the panel.
181
- * @type {string}
182
- * @memberof DropdownComponent
183
- */
184
- panelClass: string;
185
- closed: EventEmitter<void>;
186
- opened: EventEmitter<void>;
187
- matSelect: MatSelect;
188
- customOptionTemplate: TemplateRef<unknown> | null;
189
- customSelectedOptionTemplate: TemplateRef<unknown> | null;
190
- onTabPress(): void;
191
- /**
192
- * @ignore
193
- */
194
- onChange: (value: DropdownValue) => void;
195
- /**
196
- * @ignore
197
- */
198
- onTouch: () => void;
199
- private readonly defaultAppTheme;
200
- private readonly cdr;
201
- ngControl: NgControl | null;
202
- private readonly renderer2;
203
- private readonly focusMonitor;
204
- private readonly destroyRef;
205
- private readonly ngZone;
206
- constructor();
207
- floatLabel: FloatLabelType;
208
- classError: string;
209
- errorsLength: boolean;
210
- showCheck: boolean;
211
- optionSelected: MatOption | null;
212
- keyboardFocused: i0.WritableSignal<boolean>;
213
- isOpen: i0.WritableSignal<boolean>;
214
- /**
215
- * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
216
- * to display validation errors that might happen (e.g. required)
217
- */
218
- ngDoCheck(): void;
219
- ngOnInit(): void;
220
- ngOnChanges(changes: SimpleChanges): void;
221
- ngAfterViewInit(): void;
222
- clearValue(event: Event): void;
223
- onChangeOption(event: MatSelectChange): void;
224
- setErrorsLength(): boolean;
225
- writeValue(value?: string): void;
226
- registerOnChange(fn: (value: DropdownValue) => void): void;
227
- registerOnTouched(fn: () => void): void;
228
- setDisabledState(isDisabled: boolean): void;
229
- onClosed(): void;
230
- onOpened(): void;
231
- setStyleVariable(): void;
232
- onKeydown($event: KeyboardEvent): void;
233
- private handleArrowNavigation;
234
- private handleSelectionKey;
235
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
236
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ui-dropdown", never, { "label": { "alias": "label"; "required": false; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "isAIVariant": { "alias": "isAIVariant"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "valueList": { "alias": "valueList"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "allowMultipleSelection": { "alias": "allowMultipleSelection"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, ["customOptionTemplate", "customSelectedOptionTemplate"], never, true, never>;
26
+ export declare class DropdownComponent implements OnInit, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit {
27
+ class: string;
28
+ findValueByValueField: (item: OptionType) => boolean;
29
+ /**
30
+ * Text content will be applied to the input element if present.
31
+ *
32
+ * @type {string}
33
+ * @memberof DropdownComponent
34
+ */
35
+ label?: string | undefined;
36
+ /**
37
+ * Icon to display alongside the label
38
+ *
39
+ * @type {IconName}
40
+ * @memberof DropdownComponent
41
+ */
42
+ labelIcon?: IconName;
43
+ /**
44
+ * Indicates if this field is filled by AI
45
+ *
46
+ * @type {boolean}
47
+ * @memberof DropdownComponent
48
+ */
49
+ isAIVariant: boolean;
50
+ /**
51
+ * Input name attribute
52
+ *
53
+ * @type {string}
54
+ * @memberof DropdownComponent
55
+ */
56
+ name: string;
57
+ /**
58
+ * Placeholder to be shown if no value has been selected.
59
+ *
60
+ * @type {string}
61
+ * @memberof DropdownComponent
62
+ */
63
+ placeholder: string;
64
+ /**
65
+ * Unique id of the element.
66
+ *
67
+ * @type {string}
68
+ * @memberof DropdownComponent
69
+ */
70
+ id?: string | undefined;
71
+ testId: string | null;
72
+ ariaLabel: string;
73
+ /**
74
+ * Input value
75
+ *
76
+ * @type {string}
77
+ * @memberof DropdownComponent
78
+ */
79
+ value?: string;
80
+ /**
81
+ * Whether the component is in an error state.
82
+ *
83
+ * @type {string[]}
84
+ * @memberof DropdownComponent
85
+ */
86
+ errors?: string[];
87
+ /**
88
+ * Whether the component is disabled.
89
+ * Default: false.
90
+ *
91
+ * @type {boolean}
92
+ * @memberof DropdownComponent
93
+ */
94
+ disabled: boolean;
95
+ /**
96
+ * List of options.
97
+ *
98
+ * @type {OptionType}
99
+ * @memberof DropdownComponent
100
+ */
101
+ valueList: OptionType[];
102
+ /**
103
+ * Whether the user should be allowed to clear the values.
104
+ * Default: true.
105
+ *
106
+ * @type {boolean}
107
+ * @memberof DropdownComponent
108
+ */
109
+ allowClear: boolean;
110
+ /**
111
+ * This will allow the user to select multiple values at once.
112
+ * Default: true.
113
+ *
114
+ * @type {boolean}
115
+ * @memberof DropdownComponent
116
+ */
117
+ allowMultipleSelection?: boolean | undefined;
118
+ /**
119
+ * Whether the component is required.
120
+ * Default: false.
121
+ *
122
+ * @type {boolean}
123
+ * @memberof DropdownComponent
124
+ */
125
+ required: boolean;
126
+ /**
127
+ * Show reserved content below form field
128
+ * @property showBottomContent
129
+ * @type {boolean}
130
+ * @memberof DropdownComponent
131
+ */
132
+ showBottomContent: boolean;
133
+ /**
134
+ *
135
+ * Defines the application theme
136
+ *
137
+ * @type {ApplicationTheme}
138
+ * @memberof DropdownComponent
139
+ */
140
+ applicationTheme: ApplicationTheme$1;
141
+ /**
142
+ * Hide in build errors for Reactive Forms
143
+ *
144
+ * @type {number}
145
+ * @memberof DropdownComponent
146
+ */
147
+ hideBuiltInErrors: boolean;
148
+ /**
149
+ * Hide label in errors
150
+ *
151
+ * @type {number}
152
+ * @memberof DropdownComponent
153
+ */
154
+ hideLabelInErrors: boolean;
155
+ /**
156
+ * @property textField
157
+ * @description The field to be used as the display text in the dropdown.
158
+ * @memberof DropdownComponent
159
+ */
160
+ textField: string;
161
+ /**
162
+ * @property valueField
163
+ * @description The field to be used as the value in the dropdown.
164
+ * @memberof DropdownComponent
165
+ */
166
+ valueField: string;
167
+ hasError: boolean;
168
+ /**
169
+ * Color of the option hover.
170
+ * Defaults to Test Gorilla primary color.
171
+ *
172
+ * @type {string}
173
+ * @memberof DropdownComponent
174
+ */
175
+ companyColor: string;
176
+ /**
177
+ * Class to be applied to the panel.
178
+ * @type {string}
179
+ * @memberof DropdownComponent
180
+ */
181
+ panelClass: string;
182
+ closed: EventEmitter<void>;
183
+ opened: EventEmitter<void>;
184
+ matSelect: MatSelect;
185
+ customOptionTemplate: TemplateRef<unknown> | null;
186
+ customSelectedOptionTemplate: TemplateRef<unknown> | null;
187
+ onTabPress(): void;
188
+ /**
189
+ * @ignore
190
+ */
191
+ onChange: (value: DropdownValue) => void;
192
+ /**
193
+ * @ignore
194
+ */
195
+ onTouch: () => void;
196
+ private readonly defaultAppTheme;
197
+ private readonly cdr;
198
+ ngControl: NgControl | null;
199
+ private readonly renderer2;
200
+ private readonly focusMonitor;
201
+ private readonly destroyRef;
202
+ private readonly ngZone;
203
+ constructor();
204
+ floatLabel: FloatLabelType;
205
+ classError: string;
206
+ errorsLength: boolean;
207
+ showCheck: boolean;
208
+ optionSelected: MatOption | null;
209
+ keyboardFocused: import("@angular/core").WritableSignal<boolean>;
210
+ isOpen: import("@angular/core").WritableSignal<boolean>;
211
+ /**
212
+ * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
213
+ * to display validation errors that might happen (e.g. required)
214
+ */
215
+ ngDoCheck(): void;
216
+ ngOnInit(): void;
217
+ ngOnChanges(changes: SimpleChanges): void;
218
+ ngAfterViewInit(): void;
219
+ clearValue(event: Event): void;
220
+ onChangeOption(event: MatSelectChange): void;
221
+ setErrorsLength(): boolean;
222
+ writeValue(value?: string): void;
223
+ registerOnChange(fn: (value: DropdownValue) => void): void;
224
+ registerOnTouched(fn: () => void): void;
225
+ setDisabledState(isDisabled: boolean): void;
226
+ onClosed(): void;
227
+ onOpened(): void;
228
+ setStyleVariable(): void;
229
+ onKeydown($event: KeyboardEvent): void;
230
+ private handleArrowNavigation;
231
+ private handleSelectionKey;
232
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
233
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ui-dropdown", never, {
234
+ "label": {
235
+ "alias": "label";
236
+ "required": false;
237
+ };
238
+ "labelIcon": {
239
+ "alias": "labelIcon";
240
+ "required": false;
241
+ };
242
+ "isAIVariant": {
243
+ "alias": "isAIVariant";
244
+ "required": false;
245
+ };
246
+ "name": {
247
+ "alias": "name";
248
+ "required": false;
249
+ };
250
+ "placeholder": {
251
+ "alias": "placeholder";
252
+ "required": false;
253
+ };
254
+ "id": {
255
+ "alias": "id";
256
+ "required": false;
257
+ };
258
+ "testId": {
259
+ "alias": "testId";
260
+ "required": false;
261
+ };
262
+ "ariaLabel": {
263
+ "alias": "ariaLabel";
264
+ "required": false;
265
+ };
266
+ "value": {
267
+ "alias": "value";
268
+ "required": false;
269
+ };
270
+ "errors": {
271
+ "alias": "errors";
272
+ "required": false;
273
+ };
274
+ "disabled": {
275
+ "alias": "disabled";
276
+ "required": false;
277
+ };
278
+ "valueList": {
279
+ "alias": "valueList";
280
+ "required": false;
281
+ };
282
+ "allowClear": {
283
+ "alias": "allowClear";
284
+ "required": false;
285
+ };
286
+ "allowMultipleSelection": {
287
+ "alias": "allowMultipleSelection";
288
+ "required": false;
289
+ };
290
+ "required": {
291
+ "alias": "required";
292
+ "required": false;
293
+ };
294
+ "showBottomContent": {
295
+ "alias": "showBottomContent";
296
+ "required": false;
297
+ };
298
+ "applicationTheme": {
299
+ "alias": "applicationTheme";
300
+ "required": false;
301
+ };
302
+ "hideBuiltInErrors": {
303
+ "alias": "hideBuiltInErrors";
304
+ "required": false;
305
+ };
306
+ "hideLabelInErrors": {
307
+ "alias": "hideLabelInErrors";
308
+ "required": false;
309
+ };
310
+ "textField": {
311
+ "alias": "textField";
312
+ "required": false;
313
+ };
314
+ "valueField": {
315
+ "alias": "valueField";
316
+ "required": false;
317
+ };
318
+ "hasError": {
319
+ "alias": "hasError";
320
+ "required": false;
321
+ };
322
+ "companyColor": {
323
+ "alias": "companyColor";
324
+ "required": false;
325
+ };
326
+ "panelClass": {
327
+ "alias": "panelClass";
328
+ "required": false;
329
+ };
330
+ }, {
331
+ "closed": "closed";
332
+ "opened": "opened";
333
+ }, ["customOptionTemplate", "customSelectedOptionTemplate"], never, true, never>;
237
334
  }
238
-
239
- declare class DropdownComponentModule {
240
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponentModule, never>;
241
- static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ButtonComponentModule, typeof i7.MatSelectModule, typeof i8.UiTranslatePipe, typeof i9.ValidationErrorModule, typeof i8.HasValidationErrorPipe, typeof DropdownComponent], [typeof DropdownComponent]>;
242
- static ɵinj: i0.ɵɵInjectorDeclaration<DropdownComponentModule>;
335
+ export declare class DropdownComponentModule {
336
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponentModule, never>;
337
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ButtonComponentModule, typeof i7.MatSelectModule, typeof i8.UiTranslatePipe, typeof i9.ValidationErrorModule, typeof i8.HasValidationErrorPipe, typeof DropdownComponent], [typeof DropdownComponent]>;
338
+ static ɵinj: i0.ɵɵInjectorDeclaration<DropdownComponentModule>;
243
339
  }
244
-
245
- export { DropdownComponent, DropdownComponentModule };
246
- export type { OptionType };
340
+ export { ApplicationTheme };