@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,215 +1,272 @@
1
- import * as _angular_core from '@angular/core';
2
- import { OnChanges, EventEmitter, ElementRef, ChangeDetectorRef, DestroyRef, SimpleChanges } from '@angular/core';
3
- import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
4
- import * as i6 from '@testgorilla/tgo-ui/components/button';
5
- import { ButtonIconPosition } from '@testgorilla/tgo-ui/components/button';
6
- import * as i5 from '@testgorilla/tgo-ui/components/core';
7
- import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
9
- import * as i7 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 '@angular/forms';
13
- import * as i3 from '@angular/material/tooltip';
14
- import * as i4 from '@angular/cdk/overlay';
15
- import * as i8 from '@testgorilla/tgo-ui/components/checkbox';
16
- import * as i9 from '@testgorilla/tgo-ui/components/field';
17
- import * as i10 from '@testgorilla/tgo-ui/components/radio-button';
18
-
19
- type FilterValue = string | number;
20
- interface FilterButtonOption {
21
- value: FilterValue;
22
- label: string;
23
- labelNumber?: number;
24
- icon?: IconName;
25
- sectionTitle?: string;
1
+ import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
2
+ import * as i0 from "@angular/core";
3
+ import { ChangeDetectorRef, DestroyRef, ElementRef, EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
4
+ import * as i6 from "@testgorilla/tgo-ui/components/button";
5
+ import { ButtonIconPosition } from "@testgorilla/tgo-ui/components/button";
6
+ import * as i5 from "@testgorilla/tgo-ui/components/core";
7
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
8
+ import * as i7 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 i2 from "@angular/forms";
12
+ import * as i3 from "@angular/material/tooltip";
13
+ import * as i4 from "@angular/cdk/overlay";
14
+ import * as i8 from "@testgorilla/tgo-ui/components/checkbox";
15
+ import * as i9 from "@testgorilla/tgo-ui/components/field";
16
+ import * as i10 from "@testgorilla/tgo-ui/components/radio-button";
17
+ export type FilterValue = string | number;
18
+ export interface FilterButtonOption {
19
+ value: FilterValue;
20
+ label: string;
21
+ labelNumber?: number;
22
+ icon?: IconName;
23
+ sectionTitle?: string;
26
24
  }
27
- interface OptionChangeEvent {
28
- selected: boolean;
29
- option: FilterButtonOption;
25
+ export interface OptionChangeEvent {
26
+ selected: boolean;
27
+ option: FilterButtonOption;
30
28
  }
31
-
32
29
  type FilterButtonRow = {
33
- kind: 'header';
34
- title: string;
30
+ kind: 'header';
31
+ title: string;
35
32
  } | {
36
- kind: 'option';
37
- option: FilterButtonOption;
33
+ kind: 'option';
34
+ option: FilterButtonOption;
38
35
  };
39
- declare class FilterButtonComponent implements OnChanges {
40
- private readonly defaultAppTheme;
41
- private readonly cdr;
42
- class: string;
43
- /**
44
- * The button label when no value is selected.
45
- *
46
- * @type {string}
47
- * @memberof FilterButtonComponent
48
- */
36
+ export declare class FilterButtonComponent implements OnChanges {
37
+ private readonly defaultAppTheme;
38
+ private readonly cdr;
39
+ class: string;
40
+ /**
41
+ * The button label when no value is selected.
42
+ *
43
+ * @type {string}
44
+ * @memberof FilterButtonComponent
45
+ */
46
+ label: string;
47
+ /**
48
+ * Optional message to display on the overflow bottom.
49
+ *
50
+ * @type {string}
51
+ * @memberof FilterButtonComponent
52
+ */
53
+ message?: string | undefined;
54
+ /**
55
+ * List of selected values.
56
+ *
57
+ * @type {string[]}
58
+ * @memberof FilterButtonComponent
59
+ */
60
+ value: FilterValue[];
61
+ /**
62
+ * Whether the component is disabled.
63
+ * Default: false.
64
+ *
65
+ * @type {boolean}
66
+ * @memberof FilterButtonComponent
67
+ */
68
+ disabled: boolean;
69
+ /**
70
+ * List of options.
71
+ *
72
+ * @type {OptionType}
73
+ * @memberof FilterButtonComponent
74
+ */
75
+ options: import("@angular/core").InputSignal<FilterButtonOption[]>;
76
+ /**
77
+ * Whether the user should be allowed to clear the values.
78
+ * Default: true.
79
+ *
80
+ * @type {boolean}
81
+ * @memberof FilterButtonComponent
82
+ */
83
+ allowClear: boolean;
84
+ /**
85
+ * Whether the user should be allowed to select single or multiple values.
86
+ * Default: false.
87
+ *
88
+ * @type {boolean}
89
+ * @memberof FilterButtonComponent
90
+ */
91
+ singleSelection?: boolean | undefined;
92
+ /**
93
+ * The icon name to display.
94
+ *
95
+ * @type {string}
96
+ * @memberof FilterButtonComponent
97
+ *
98
+ **/
99
+ iconName?: IconName;
100
+ /**
101
+ * The position of the icon.
102
+ * Default: 'right'.
103
+ *
104
+ * @type {ButtonIconPosition}
105
+ * @memberof FilterButtonComponent
106
+ */
107
+ iconPosition?: ButtonIconPosition;
108
+ /**
109
+ * Optional message to display if there are no options to select available
110
+ *
111
+ * @type {string}
112
+ * @memberof FilterButtonComponent
113
+ */
114
+ noOptionsMessage?: string | undefined;
115
+ /**
116
+ * Whether the button should stretch to fill its container, and the dropdown panel
117
+ * follow that width instead of the default 240px.
118
+ * The panel never shrinks below 240px, so a container narrower than that is safe.
119
+ * Default: false.
120
+ *
121
+ * @type {boolean}
122
+ * @memberof FilterButtonComponent
123
+ */
124
+ fullWidth: boolean;
125
+ testId: string | null;
126
+ ariaLabel: string;
127
+ get panelTestId(): string | null;
128
+ get resetButtonTestId(): string | null;
129
+ /**
130
+ * Emits the list of selected values when the selection changes.
131
+ *
132
+ * @type {EventEmitter<string[]>}
133
+ * @memberof FilterButtonComponent
134
+ */
135
+ changed: EventEmitter<FilterValue[]>;
136
+ /**
137
+ * Emits the option change event
138
+ *
139
+ * @type {EventEmitter<OptionChangeEvent>}
140
+ * @memberof FilterButtonComponent
141
+ */
142
+ optionChange: EventEmitter<OptionChangeEvent>;
143
+ /**
144
+ *
145
+ * Defines the application theme
146
+ *
147
+ * @type {ApplicationTheme}
148
+ * @memberof FilterButtonComponent
149
+ */
150
+ applicationTheme: ApplicationTheme$1;
151
+ get fullWidthClass(): boolean;
152
+ overlayContainer: ElementRef<HTMLElement>;
153
+ viewport?: CdkVirtualScrollViewport;
154
+ private readonly triggerOrigin?;
155
+ private readonly connectedOverlay?;
156
+ /** Must match the `.item` height in the SCSS — the fixed-size viewport relies on it. */
157
+ readonly ITEM_SIZE = 48;
158
+ readonly MAX_LIST_HEIGHT = 290;
159
+ readonly PANEL_MIN_WIDTH = 240;
160
+ readonly MATCH_TRIGGER_PANEL_CLASS = "ui-filter-button-panel-match-trigger";
161
+ isOpen: import("@angular/core").WritableSignal<boolean>;
162
+ displayedLabel: import("@angular/core").WritableSignal<string>;
163
+ tooltip: import("@angular/core").WritableSignal<string>;
164
+ search: import("@angular/core").WritableSignal<string>;
165
+ activeIndex: import("@angular/core").WritableSignal<number>;
166
+ showTooltip: {
167
+ [key: string]: boolean;
168
+ };
169
+ displayedOptions: import("@angular/core").Signal<{
170
+ sectionTitle: string;
171
+ value: FilterValue;
49
172
  label: string;
50
- /**
51
- * Optional message to display on the overflow bottom.
52
- *
53
- * @type {string}
54
- * @memberof FilterButtonComponent
55
- */
56
- message?: string | undefined;
57
- /**
58
- * List of selected values.
59
- *
60
- * @type {string[]}
61
- * @memberof FilterButtonComponent
62
- */
63
- value: FilterValue[];
64
- /**
65
- * Whether the component is disabled.
66
- * Default: false.
67
- *
68
- * @type {boolean}
69
- * @memberof FilterButtonComponent
70
- */
71
- disabled: boolean;
72
- /**
73
- * List of options.
74
- *
75
- * @type {OptionType}
76
- * @memberof FilterButtonComponent
77
- */
78
- options: _angular_core.InputSignal<FilterButtonOption[]>;
79
- /**
80
- * Whether the user should be allowed to clear the values.
81
- * Default: true.
82
- *
83
- * @type {boolean}
84
- * @memberof FilterButtonComponent
85
- */
86
- allowClear: boolean;
87
- /**
88
- * Whether the user should be allowed to select single or multiple values.
89
- * Default: false.
90
- *
91
- * @type {boolean}
92
- * @memberof FilterButtonComponent
93
- */
94
- singleSelection?: boolean | undefined;
95
- /**
96
- * The icon name to display.
97
- *
98
- * @type {string}
99
- * @memberof FilterButtonComponent
100
- *
101
- **/
102
- iconName?: IconName;
103
- /**
104
- * The position of the icon.
105
- * Default: 'right'.
106
- *
107
- * @type {ButtonIconPosition}
108
- * @memberof FilterButtonComponent
109
- */
110
- iconPosition?: ButtonIconPosition;
111
- /**
112
- * Optional message to display if there are no options to select available
113
- *
114
- * @type {string}
115
- * @memberof FilterButtonComponent
116
- */
117
- noOptionsMessage?: string | undefined;
118
- /**
119
- * Whether the button should stretch to fill its container, and the dropdown panel
120
- * follow that width instead of the default 240px.
121
- * The panel never shrinks below 240px, so a container narrower than that is safe.
122
- * Default: false.
123
- *
124
- * @type {boolean}
125
- * @memberof FilterButtonComponent
126
- */
127
- fullWidth: boolean;
128
- testId: string | null;
129
- ariaLabel: string;
130
- get panelTestId(): string | null;
131
- get resetButtonTestId(): string | null;
132
- /**
133
- * Emits the list of selected values when the selection changes.
134
- *
135
- * @type {EventEmitter<string[]>}
136
- * @memberof FilterButtonComponent
137
- */
138
- changed: EventEmitter<FilterValue[]>;
139
- /**
140
- * Emits the option change event
141
- *
142
- * @type {EventEmitter<OptionChangeEvent>}
143
- * @memberof FilterButtonComponent
144
- */
145
- optionChange: EventEmitter<OptionChangeEvent>;
146
- /**
147
- *
148
- * Defines the application theme
149
- *
150
- * @type {ApplicationTheme}
151
- * @memberof FilterButtonComponent
152
- */
153
- applicationTheme: ApplicationTheme;
154
- get fullWidthClass(): boolean;
155
- overlayContainer: ElementRef<HTMLElement>;
156
- viewport?: CdkVirtualScrollViewport;
157
- private readonly triggerOrigin?;
158
- private readonly connectedOverlay?;
159
- /** Must match the `.item` height in the SCSS — the fixed-size viewport relies on it. */
160
- readonly ITEM_SIZE = 48;
161
- readonly MAX_LIST_HEIGHT = 290;
162
- readonly PANEL_MIN_WIDTH = 240;
163
- readonly MATCH_TRIGGER_PANEL_CLASS = "ui-filter-button-panel-match-trigger";
164
- isOpen: _angular_core.WritableSignal<boolean>;
165
- displayedLabel: _angular_core.WritableSignal<string>;
166
- tooltip: _angular_core.WritableSignal<string>;
167
- search: _angular_core.WritableSignal<string>;
168
- activeIndex: _angular_core.WritableSignal<number>;
169
- showTooltip: {
170
- [key: string]: boolean;
173
+ labelNumber?: number;
174
+ icon?: IconName;
175
+ }[]>;
176
+ flatOptions: import("@angular/core").Signal<FilterButtonRow[]>;
177
+ optionCount: import("@angular/core").Signal<number>;
178
+ activeOption: import("@angular/core").Signal<FilterButtonOption | undefined>;
179
+ activePosition: import("@angular/core").Signal<number>;
180
+ listHeight: import("@angular/core").Signal<number>;
181
+ protected trackByRow: (_index: number, row: FilterButtonRow) => string;
182
+ readonly MIN_OPTIONS_LENGTH_FOR_SEARCH = 8;
183
+ protected translationContext: string;
184
+ private readonly searchInput$;
185
+ constructor(defaultAppTheme: ApplicationTheme$1, cdr: ChangeDetectorRef, destroyRef: DestroyRef);
186
+ private syncPanelWidth;
187
+ ngOnChanges(changes: SimpleChanges): void;
188
+ clearValue(): void;
189
+ outsideClick(): void;
190
+ toggle(): void;
191
+ isSelected(value?: FilterValue): boolean;
192
+ optionChanged(selected: boolean, option: FilterButtonOption): void;
193
+ onSearchChange(value: string): void;
194
+ keyDownHandler(ev: KeyboardEvent): void;
195
+ onLabelEllipsisChange(isEllipsis: boolean, value: FilterValue): void;
196
+ private firstOptionIndex;
197
+ private moveActive;
198
+ private toggleActiveOption;
199
+ private updateLabel;
200
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterButtonComponent, [{
201
+ optional: true;
202
+ }, null, null]>;
203
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterButtonComponent, "ui-filter-button", never, {
204
+ "label": {
205
+ "alias": "label";
206
+ "required": false;
207
+ };
208
+ "message": {
209
+ "alias": "message";
210
+ "required": false;
211
+ };
212
+ "value": {
213
+ "alias": "value";
214
+ "required": false;
215
+ };
216
+ "disabled": {
217
+ "alias": "disabled";
218
+ "required": false;
219
+ };
220
+ "options": {
221
+ "alias": "options";
222
+ "required": false;
223
+ "isSignal": true;
224
+ };
225
+ "allowClear": {
226
+ "alias": "allowClear";
227
+ "required": false;
228
+ };
229
+ "singleSelection": {
230
+ "alias": "singleSelection";
231
+ "required": false;
232
+ };
233
+ "iconName": {
234
+ "alias": "iconName";
235
+ "required": false;
236
+ };
237
+ "iconPosition": {
238
+ "alias": "iconPosition";
239
+ "required": false;
240
+ };
241
+ "noOptionsMessage": {
242
+ "alias": "noOptionsMessage";
243
+ "required": false;
244
+ };
245
+ "fullWidth": {
246
+ "alias": "fullWidth";
247
+ "required": false;
248
+ };
249
+ "testId": {
250
+ "alias": "testId";
251
+ "required": false;
252
+ };
253
+ "ariaLabel": {
254
+ "alias": "ariaLabel";
255
+ "required": false;
256
+ };
257
+ "applicationTheme": {
258
+ "alias": "applicationTheme";
259
+ "required": false;
171
260
  };
172
- displayedOptions: _angular_core.Signal<{
173
- sectionTitle: string;
174
- value: FilterValue;
175
- label: string;
176
- labelNumber?: number;
177
- icon?: IconName;
178
- }[]>;
179
- flatOptions: _angular_core.Signal<FilterButtonRow[]>;
180
- optionCount: _angular_core.Signal<number>;
181
- activeOption: _angular_core.Signal<FilterButtonOption | undefined>;
182
- activePosition: _angular_core.Signal<number>;
183
- listHeight: _angular_core.Signal<number>;
184
- protected trackByRow: (_index: number, row: FilterButtonRow) => string;
185
- readonly MIN_OPTIONS_LENGTH_FOR_SEARCH = 8;
186
- protected translationContext: string;
187
- private readonly searchInput$;
188
- constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, destroyRef: DestroyRef);
189
- private syncPanelWidth;
190
- ngOnChanges(changes: SimpleChanges): void;
191
- clearValue(): void;
192
- outsideClick(): void;
193
- toggle(): void;
194
- isSelected(value?: FilterValue): boolean;
195
- optionChanged(selected: boolean, option: FilterButtonOption): void;
196
- onSearchChange(value: string): void;
197
- keyDownHandler(ev: KeyboardEvent): void;
198
- onLabelEllipsisChange(isEllipsis: boolean, value: FilterValue): void;
199
- private firstOptionIndex;
200
- private moveActive;
201
- private toggleActiveOption;
202
- private updateLabel;
203
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterButtonComponent, [{ optional: true; }, null, null]>;
204
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterButtonComponent, "ui-filter-button", never, { "label": { "alias": "label"; "required": false; }; "message": { "alias": "message"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; }; "singleSelection": { "alias": "singleSelection"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "noOptionsMessage": { "alias": "noOptionsMessage"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "changed": "changed"; "optionChange": "optionChange"; }, never, never, true, never>;
205
- static ngAcceptInputType_fullWidth: unknown;
261
+ }, {
262
+ "changed": "changed";
263
+ "optionChange": "optionChange";
264
+ }, never, never, true, never>;
265
+ static ngAcceptInputType_fullWidth: unknown;
206
266
  }
207
-
208
- declare class FilterButtonComponentModule {
209
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterButtonComponentModule, never>;
210
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FilterButtonComponentModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.MatTooltipModule, typeof i4.OverlayModule, typeof i5.UiTranslatePipe, typeof i6.ButtonComponentModule, typeof i7.IconComponentModule, typeof i8.CheckboxComponentModule, typeof i9.FieldComponentModule, typeof i5.EllipseTextDirective, typeof i10.RadioButtonComponentModule, typeof FilterButtonComponent], [typeof FilterButtonComponent]>;
211
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<FilterButtonComponentModule>;
267
+ export declare class FilterButtonComponentModule {
268
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterButtonComponentModule, never>;
269
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FilterButtonComponentModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.MatTooltipModule, typeof i4.OverlayModule, typeof i5.UiTranslatePipe, typeof i6.ButtonComponentModule, typeof i7.IconComponentModule, typeof i8.CheckboxComponentModule, typeof i9.FieldComponentModule, typeof i5.EllipseTextDirective, typeof i10.RadioButtonComponentModule, typeof FilterButtonComponent], [typeof FilterButtonComponent]>;
270
+ static ɵinj: i0.ɵɵInjectorDeclaration<FilterButtonComponentModule>;
212
271
  }
213
-
214
- export { FilterButtonComponent, FilterButtonComponentModule };
215
- export type { FilterButtonOption, FilterValue, OptionChangeEvent };
272
+ export { ApplicationTheme };