@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,416 +1,571 @@
1
- import * as i0 from '@angular/core';
2
- import { OnChanges, AfterViewInit, DoCheck, OnDestroy, OnInit, EventEmitter, ElementRef, SimpleChanges, PipeTransform } from '@angular/core';
3
- import * as rxjs from 'rxjs';
4
- import { BehaviorSubject, ReplaySubject, Subscription } from 'rxjs';
5
- import * as i15 from '@angular/cdk/scrolling';
6
- import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
7
- import * as i9 from '@angular/forms';
8
- import { ControlValueAccessor, NgControl } from '@angular/forms';
9
- import * as i7 from '@angular/material/autocomplete';
10
- import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
11
- import * as i13 from '@testgorilla/tgo-ui/components/core';
12
- import { ApplicationTheme, AutocompleteUtils } from '@testgorilla/tgo-ui/components/core';
13
- export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
14
- import * as i5 from '@angular/common';
15
- import * as i6 from '@angular/material/form-field';
16
- import * as i8 from '@angular/material/input';
17
- import * as i10 from '@testgorilla/tgo-ui/components/tag';
18
- import * as i11 from '@angular/material/chips';
19
- import * as i12 from '@testgorilla/tgo-ui/components/icon';
20
- import * as i14 from '@testgorilla/tgo-ui/components/validation-error';
21
- import * as i17 from '@testgorilla/tgo-ui/components/spinner';
22
-
23
- type AutocompleteType = 'single' | 'multi' | 'large';
24
- declare enum Autocomplete {
25
- SINGLE = "single",
26
- MULTI = "multi",
27
- LARGE = "large"
1
+ import * as i15 from "@angular/cdk/scrolling";
2
+ import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
3
+ import * as i0 from "@angular/core";
4
+ import { AfterViewInit, DoCheck, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, PipeTransform, SimpleChanges } from "@angular/core";
5
+ import * as i9 from "@angular/forms";
6
+ import { ControlValueAccessor, NgControl } from "@angular/forms";
7
+ import * as i7 from "@angular/material/autocomplete";
8
+ import { MatAutocomplete, MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from "@angular/material/autocomplete";
9
+ import { BehaviorSubject, ReplaySubject, Subscription } from "rxjs";
10
+ import * as i13 from "@testgorilla/tgo-ui/components/core";
11
+ import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1, AutocompleteUtils } from "@testgorilla/tgo-ui/components/core";
12
+ import * as i5 from "@angular/common";
13
+ import * as i6 from "@angular/material/form-field";
14
+ import * as i8 from "@angular/material/input";
15
+ import * as i10 from "@testgorilla/tgo-ui/components/tag";
16
+ import * as i11 from "@angular/material/chips";
17
+ import * as i12 from "@testgorilla/tgo-ui/components/icon";
18
+ import * as i14 from "@testgorilla/tgo-ui/components/validation-error";
19
+ import * as i17 from "@testgorilla/tgo-ui/components/spinner";
20
+ export type AutocompleteType = 'single' | 'multi' | 'large';
21
+ export declare enum Autocomplete {
22
+ SINGLE = "single",
23
+ MULTI = "multi",
24
+ LARGE = "large"
28
25
  }
29
- declare enum Padding {
30
- AUTOCOMPLETE_CONTAINER = 40,
31
- DROPDOWN_CONTAINER = 60,
32
- AUTOCOMPLETE_SPACE_CONTAINER = 65,
33
- DROPDOWN_SPACE_CONTAINER = 85
26
+ export declare enum Padding {
27
+ AUTOCOMPLETE_CONTAINER = 40,
28
+ DROPDOWN_CONTAINER = 60,
29
+ AUTOCOMPLETE_SPACE_CONTAINER = 65,
30
+ DROPDOWN_SPACE_CONTAINER = 85
34
31
  }
35
- declare const AMOUNT_TAG_WIDTH = 33;
36
- declare enum Timeout {
37
- VIEW_INITIALIZED_AFTER_ACTION = 150,
38
- VIEW_INITIALIZED_COMPONENT_LOAD = 600
32
+ export declare const AMOUNT_TAG_WIDTH = 33;
33
+ export declare enum Timeout {
34
+ VIEW_INITIALIZED_AFTER_ACTION = 150,
35
+ VIEW_INITIALIZED_COMPONENT_LOAD = 600
39
36
  }
40
- declare enum DropdownVariation {
41
- AUTOCOMPLETE = "autocomplete",
42
- DROPDOWN = "dropdown"
37
+ export declare enum DropdownVariation {
38
+ AUTOCOMPLETE = "autocomplete",
39
+ DROPDOWN = "dropdown"
43
40
  }
44
- type DropdownVariationType = `${DropdownVariation}`;
45
- type AutocompleteSize = 'small' | 'medium';
46
-
47
- declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit, DoCheck, OnDestroy, OnInit {
48
- /**
49
- * @property itemsList
50
- * @description The list of items to display in the autocomplete.
51
- * @memberof AutocompleteComponent
52
- */
53
- itemsList: any[] | {
54
- groupName: string;
55
- items: any[];
56
- isGroup: boolean;
57
- }[];
58
- /**
59
- * @property suggestionsList
60
- * @description The list of suggestions to display in the autocomplete.
61
- * @memberof AutocompleteComponent
62
- */
63
- suggestionsList: any[];
64
- /**
65
- * @property disabled
66
- * @description If `true`, the autocomplete is disabled.
67
- * @memberof AutocompleteComponent
68
- */
69
- disabled: boolean;
70
- /**
71
- * @property allowAdd
72
- * @description If `true`, allows adding new values to the autocomplete.
73
- * @memberof AutocompleteComponent
74
- */
75
- allowAdd: boolean;
76
- /**
77
- * @property textField
78
- * @description The field to be used as the display text in the autocomplete.
79
- * @memberof AutocompleteComponent
80
- */
81
- textField: string;
82
- /**
83
- * @property valueField
84
- * @description The field to be used as the value in the autocomplete.
85
- * @memberof AutocompleteComponent
86
- */
87
- valueField: string;
88
- /**
89
- * @property label
90
- * @description The label for the autocomplete input.
91
- * @memberof AutocompleteComponent
92
- */
93
- label: string;
94
- /**
95
- * @property placeholder
96
- * @description The placeholder for the autocomplete input.
97
- * @memberof AutocompleteComponent
98
- */
99
- placeholder: string;
100
- testId: string | null;
101
- /**
102
- * @property value
103
- * @description The selected value(s) in the autocomplete.
104
- * @memberof AutocompleteComponent
105
- */
106
- set itemValue(v: any);
107
- /**
108
- * @property type
109
- * @description The type of the autocomplete ('single', 'multi', etc.).
110
- * @memberof AutocompleteComponent
111
- */
112
- type: AutocompleteType;
113
- /**
114
- * @property minCharactersSearch
115
- * @description The minimum characters to trigger search.
116
- * @memberof AutocompleteComponent
117
- */
118
- minCharactersSearch: number;
119
- /**
120
- * @property variant
121
- * @description The variant of Autocomplete
122
- * @memberof AutocompleteComponent
123
- */
124
- variant: DropdownVariationType;
125
- /**
126
- * Show reserved content below form field
127
- * @property showBottomContent
128
- * @type {boolean}
129
- * @memberof AutocompleteComponent
130
- */
131
- showBottomContent: boolean;
132
- /**
133
- * Return full object if true
134
- * @property valuePrimitive
135
- * @type {boolean}
136
- * @memberof AutocompleteComponent
137
- */
138
- valuePrimitive: boolean;
139
- /**
140
- * Indicator of the autocomplete width
141
- * @property fullWidth
142
- * @type {boolean}
143
- * @memberof AutocompleteComponent
144
- */
145
- fullWidth: boolean;
146
- /**
147
- *
148
- * Defines the application theme
149
- *
150
- * @type {ApplicationTheme}
151
- * @memberof AutocompleteComponent
152
- */
153
- applicationTheme: ApplicationTheme;
154
- /**
155
- * Autocomplete is required or not
156
- *
157
- * @type {boolean}
158
- * @memberof AutocompleteComponent
159
- */
160
- required: boolean;
161
- /**
162
- * Input field errors
163
- *
164
- * @type {string[]}
165
- * @memberof AutocompleteComponent
166
- */
167
- set errors(errors: string[]);
168
- /**
169
- * Color of the option hover.
170
- * Defaults to Test Gorilla primary color.
171
- *
172
- * @type {string}
173
- * @memberof AutocompleteComponent
174
- */
175
- companyColor: string | null;
176
- /**
177
- * Hide in-build errors for Reactive Forms
178
- *
179
- * @type {number}
180
- * @memberof AutocompleteComponent
181
- */
182
- hideBuiltInErrors: boolean;
183
- /**
184
- * Hide label in errors
185
- *
186
- * @type {number}
187
- * @memberof AutocompleteComponent
188
- */
189
- hideLabelInErrors: boolean;
190
- /**
191
- * Sets dropdown list to virtual scroll mode
192
- *
193
- * @type {boolean}
194
- * @memberof AutocompleteComponent
195
- */
196
- virtualScroll: boolean;
197
- /**
198
- * @property compareWith
199
- * @description Custom comparison logic for the autocomplete.
200
- * @memberof AutocompleteComponent
201
- */
202
- compareWith: (a: any, b: any) => boolean;
203
- /**
204
- * @property dropdownPanelClass
205
- * @description Sets class on autocomplete dropdown
206
- * @memberof AutocompleteComponent
207
- */
208
- dropdownPanelClass: string;
209
- /**
210
- * @property closeOnScroll
211
- * @description Defines if dropdown should be closed on page scroll
212
- * @memberof AutocompleteComponent
213
- */
214
- closeOnScroll: boolean;
215
- /**
216
- * @property AutocompleteSize
217
- * @description Defines the size of the autocomplete. Small changes the tags to counter; medium is default.
218
- * @memberof AutocompleteComponent
219
- */
220
- size: AutocompleteSize;
221
- /**
222
- * @property allowUserInput
223
- * @description If `true`, allows the user to input custom values in the autocomplete.
224
- * @type {boolean}
225
- * @memberof AutocompleteComponent
226
- */
227
- allowUserInput: boolean;
228
- /**
229
- * @property clearable
230
- * @description If `true`, allows the user to clear the input values
231
- * @type {boolean}
232
- * @memberof AutocompleteComponent
233
- */
234
- clearable: boolean;
235
- /**
236
- * @property exactMatchSelect
237
- * @description If `true`, allows to select the exact match from the suggestions list
238
- * @type {boolean}
239
- * @memberof AutocompleteComponent
240
- */
241
- exactMatchSelect: boolean;
242
- /**
243
- * @property maxItemSelected
244
- * @description Sets the maximum number of items that can be selected in the autocomplete
245
- * @type {boolean}
246
- * @memberof AutocompleteComponent
247
- */
248
- maxItemSelected: number;
249
- /**
250
- * @property maxItemSelected
251
- * @description Sets the maximum length of the autocomplete input
252
- * @type {boolean}
253
- * @memberof AutocompleteComponent
254
- */
255
- maxLength?: number;
256
- isDynamicFilteringEnabled: boolean;
257
- dynamicFilterLoading: boolean;
258
- dynamicFilteredList: any[] | null;
259
- infiniteScroll: boolean;
260
- hasMoreOptionsForInfiniteScroll: boolean;
261
- selectionChange: EventEmitter<any>;
262
- searchTextChange: EventEmitter<string>;
263
- blur: EventEmitter<void>;
264
- focus: EventEmitter<void>;
265
- /**
266
- * @property scrollViewportBottomReached
267
- * @description Emits when the bottom of the unfiltered list is reached during infinite scroll
268
- * @memberof AutocompleteComponent
269
- */
270
- scrollViewportBottomReached: EventEmitter<void>;
271
- /**
272
- * @property scrollViewportBottomReachedFiltered
273
- * @description Emits when the bottom of the filtered list is reached during infinite scroll
274
- * @memberof AutocompleteComponent
275
- */
276
- scrollViewportBottomReachedFiltered: EventEmitter<void>;
277
- formFieldElement: ElementRef<HTMLElement>;
278
- tagContainer: ElementRef<HTMLElement>;
279
- autocomplete: MatAutocompleteTrigger;
280
- set cdkVirtualScrollViewport(viewport: CdkVirtualScrollViewport);
281
- matAutocomplete: MatAutocomplete;
282
- matInput: ElementRef<HTMLInputElement>;
283
- protected safeErrors: string[];
284
- protected value: any;
285
- protected inputValue: any;
286
- protected isInputFocus: boolean;
287
- protected autocompleteType: typeof Autocomplete;
288
- protected isOverLapping: boolean;
289
- protected isOverlapChecking: boolean;
290
- protected overlapIndex: number;
291
- protected inputOpacity: number;
292
- protected firstTagMaxWidth: number;
293
- protected inputValueSearch$: BehaviorSubject<string>;
294
- protected userInput$: ReplaySubject<string>;
295
- protected dynamicFilteredList$: BehaviorSubject<any[] | null>;
296
- protected filteredItemsList$: rxjs.Observable<any[] | null>;
297
- protected filteredSuggestionList$: rxjs.Observable<any[] | null>;
298
- protected savedVirtualScrollViewport: CdkVirtualScrollViewport;
299
- protected savedVirtualScrollSubscription: Subscription;
300
- protected isFilteredViewport: boolean;
301
- scrollEvent: (event: any) => void;
302
- protected searchResult$: rxjs.Observable<boolean>;
303
- protected translationContext: string;
304
- protected readonly AutocompleteUtils: typeof AutocompleteUtils;
305
- private readonly defaultAppTheme;
306
- private readonly cdr;
307
- ngControl: NgControl | null;
308
- private readonly platformId;
309
- private readonly el;
310
- private readonly focusMonitor;
311
- private readonly destroyRef;
312
- private readonly ngZone;
313
- private readonly isPlatform;
314
- private observer;
315
- protected keyboardFocused: i0.WritableSignal<boolean>;
316
- isAlreadyAdded: boolean;
317
- constructor();
318
- ngOnInit(): void;
319
- /**
320
- * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
321
- * to display validation errors that might happen (e.g. required)
322
- */
323
- ngDoCheck(): void;
324
- ngOnChanges(changes: SimpleChanges): void;
325
- ngAfterViewInit(): void;
326
- ngOnDestroy(): void;
327
- onChange: (_: any) => void;
328
- onTouch: () => void;
329
- registerOnChange(fn: any): void;
330
- registerOnTouched(fn: () => void): void;
331
- setDisabledState(isDisabled: boolean): void;
332
- writeValue(value: any): void;
333
- protected get isGrouped(): boolean;
334
- protected onOptionSelected(event: MatAutocompleteSelectedEvent): void;
335
- protected onOptionRemoved(option: any): void;
336
- protected onInputChange(event: Event): void;
337
- protected onClear(): void;
338
- protected refillInput(): void;
339
- protected gotoUp(): void;
340
- protected onFocus(): void;
341
- private checkOverlap;
342
- private onUpdate;
343
- private updateControlMaxLengthValidity;
344
- private initValue;
345
- private addNewValue;
346
- protected get isDropdown(): boolean;
347
- protected onChevronClick(autocomplete: MatAutocomplete): void;
348
- protected get inputWidth(): number;
349
- protected trackByFn: (index: number, value: string) => string;
350
- /**
351
- * Adding company color variable to the body to style overlay container that's out of the component scope.
352
- */
353
- private setCompanyColorVariable;
354
- private subscriberDisplayChange;
355
- protected get hasObjectValue(): boolean;
356
- onKeydown($event: KeyboardEvent): void;
357
- protected getVirtualScrollHeight(itemCount: number): number;
358
- static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
359
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "suggestionsList": { "alias": "suggestionsList"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "dropdownPanelClass": { "alias": "dropdownPanelClass"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowUserInput": { "alias": "allowUserInput"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "exactMatchSelect": { "alias": "exactMatchSelect"; "required": false; }; "maxItemSelected": { "alias": "maxItemSelected"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "isDynamicFilteringEnabled": { "alias": "isDynamicFilteringEnabled"; "required": false; }; "dynamicFilterLoading": { "alias": "dynamicFilterLoading"; "required": false; }; "dynamicFilteredList": { "alias": "dynamicFilteredList"; "required": false; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; }; "hasMoreOptionsForInfiniteScroll": { "alias": "hasMoreOptionsForInfiniteScroll"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; "blur": "blur"; "focus": "focus"; "scrollViewportBottomReached": "scrollViewportBottomReached"; "scrollViewportBottomReachedFiltered": "scrollViewportBottomReachedFiltered"; }, never, never, false, never>;
360
- static ngAcceptInputType_virtualScroll: unknown;
41
+ export type DropdownVariationType = `${DropdownVariation}`;
42
+ export type AutocompleteSize = 'small' | 'medium';
43
+ export declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit, DoCheck, OnDestroy, OnInit {
44
+ /**
45
+ * @property itemsList
46
+ * @description The list of items to display in the autocomplete.
47
+ * @memberof AutocompleteComponent
48
+ */
49
+ itemsList: any[] | {
50
+ groupName: string;
51
+ items: any[];
52
+ isGroup: boolean;
53
+ }[];
54
+ /**
55
+ * @property suggestionsList
56
+ * @description The list of suggestions to display in the autocomplete.
57
+ * @memberof AutocompleteComponent
58
+ */
59
+ suggestionsList: any[];
60
+ /**
61
+ * @property disabled
62
+ * @description If `true`, the autocomplete is disabled.
63
+ * @memberof AutocompleteComponent
64
+ */
65
+ disabled: boolean;
66
+ /**
67
+ * @property allowAdd
68
+ * @description If `true`, allows adding new values to the autocomplete.
69
+ * @memberof AutocompleteComponent
70
+ */
71
+ allowAdd: boolean;
72
+ /**
73
+ * @property textField
74
+ * @description The field to be used as the display text in the autocomplete.
75
+ * @memberof AutocompleteComponent
76
+ */
77
+ textField: string;
78
+ /**
79
+ * @property valueField
80
+ * @description The field to be used as the value in the autocomplete.
81
+ * @memberof AutocompleteComponent
82
+ */
83
+ valueField: string;
84
+ /**
85
+ * @property label
86
+ * @description The label for the autocomplete input.
87
+ * @memberof AutocompleteComponent
88
+ */
89
+ label: string;
90
+ /**
91
+ * @property placeholder
92
+ * @description The placeholder for the autocomplete input.
93
+ * @memberof AutocompleteComponent
94
+ */
95
+ placeholder: string;
96
+ testId: string | null;
97
+ /**
98
+ * @property value
99
+ * @description The selected value(s) in the autocomplete.
100
+ * @memberof AutocompleteComponent
101
+ */
102
+ set itemValue(v: any);
103
+ /**
104
+ * @property type
105
+ * @description The type of the autocomplete ('single', 'multi', etc.).
106
+ * @memberof AutocompleteComponent
107
+ */
108
+ type: AutocompleteType;
109
+ /**
110
+ * @property minCharactersSearch
111
+ * @description The minimum characters to trigger search.
112
+ * @memberof AutocompleteComponent
113
+ */
114
+ minCharactersSearch: number;
115
+ /**
116
+ * @property variant
117
+ * @description The variant of Autocomplete
118
+ * @memberof AutocompleteComponent
119
+ */
120
+ variant: DropdownVariationType;
121
+ /**
122
+ * Show reserved content below form field
123
+ * @property showBottomContent
124
+ * @type {boolean}
125
+ * @memberof AutocompleteComponent
126
+ */
127
+ showBottomContent: boolean;
128
+ /**
129
+ * Return full object if true
130
+ * @property valuePrimitive
131
+ * @type {boolean}
132
+ * @memberof AutocompleteComponent
133
+ */
134
+ valuePrimitive: boolean;
135
+ /**
136
+ * Indicator of the autocomplete width
137
+ * @property fullWidth
138
+ * @type {boolean}
139
+ * @memberof AutocompleteComponent
140
+ */
141
+ fullWidth: boolean;
142
+ /**
143
+ *
144
+ * Defines the application theme
145
+ *
146
+ * @type {ApplicationTheme}
147
+ * @memberof AutocompleteComponent
148
+ */
149
+ applicationTheme: ApplicationTheme$1;
150
+ /**
151
+ * Autocomplete is required or not
152
+ *
153
+ * @type {boolean}
154
+ * @memberof AutocompleteComponent
155
+ */
156
+ required: boolean;
157
+ /**
158
+ * Input field errors
159
+ *
160
+ * @type {string[]}
161
+ * @memberof AutocompleteComponent
162
+ */
163
+ set errors(errors: string[]);
164
+ /**
165
+ * Color of the option hover.
166
+ * Defaults to Test Gorilla primary color.
167
+ *
168
+ * @type {string}
169
+ * @memberof AutocompleteComponent
170
+ */
171
+ companyColor: string | null;
172
+ /**
173
+ * Hide in-build errors for Reactive Forms
174
+ *
175
+ * @type {number}
176
+ * @memberof AutocompleteComponent
177
+ */
178
+ hideBuiltInErrors: boolean;
179
+ /**
180
+ * Hide label in errors
181
+ *
182
+ * @type {number}
183
+ * @memberof AutocompleteComponent
184
+ */
185
+ hideLabelInErrors: boolean;
186
+ /**
187
+ * Sets dropdown list to virtual scroll mode
188
+ *
189
+ * @type {boolean}
190
+ * @memberof AutocompleteComponent
191
+ */
192
+ virtualScroll: boolean;
193
+ /**
194
+ * @property compareWith
195
+ * @description Custom comparison logic for the autocomplete.
196
+ * @memberof AutocompleteComponent
197
+ */
198
+ compareWith: (a: any, b: any) => boolean;
199
+ /**
200
+ * @property dropdownPanelClass
201
+ * @description Sets class on autocomplete dropdown
202
+ * @memberof AutocompleteComponent
203
+ */
204
+ dropdownPanelClass: string;
205
+ /**
206
+ * @property closeOnScroll
207
+ * @description Defines if dropdown should be closed on page scroll
208
+ * @memberof AutocompleteComponent
209
+ */
210
+ closeOnScroll: boolean;
211
+ /**
212
+ * @property AutocompleteSize
213
+ * @description Defines the size of the autocomplete. Small changes the tags to counter; medium is default.
214
+ * @memberof AutocompleteComponent
215
+ */
216
+ size: AutocompleteSize;
217
+ /**
218
+ * @property allowUserInput
219
+ * @description If `true`, allows the user to input custom values in the autocomplete.
220
+ * @type {boolean}
221
+ * @memberof AutocompleteComponent
222
+ */
223
+ allowUserInput: boolean;
224
+ /**
225
+ * @property clearable
226
+ * @description If `true`, allows the user to clear the input values
227
+ * @type {boolean}
228
+ * @memberof AutocompleteComponent
229
+ */
230
+ clearable: boolean;
231
+ /**
232
+ * @property exactMatchSelect
233
+ * @description If `true`, allows to select the exact match from the suggestions list
234
+ * @type {boolean}
235
+ * @memberof AutocompleteComponent
236
+ */
237
+ exactMatchSelect: boolean;
238
+ /**
239
+ * @property maxItemSelected
240
+ * @description Sets the maximum number of items that can be selected in the autocomplete
241
+ * @type {boolean}
242
+ * @memberof AutocompleteComponent
243
+ */
244
+ maxItemSelected: number;
245
+ /**
246
+ * @property maxItemSelected
247
+ * @description Sets the maximum length of the autocomplete input
248
+ * @type {boolean}
249
+ * @memberof AutocompleteComponent
250
+ */
251
+ maxLength?: number;
252
+ isDynamicFilteringEnabled: boolean;
253
+ dynamicFilterLoading: boolean;
254
+ dynamicFilteredList: any[] | null;
255
+ infiniteScroll: boolean;
256
+ hasMoreOptionsForInfiniteScroll: boolean;
257
+ selectionChange: EventEmitter<any>;
258
+ searchTextChange: EventEmitter<string>;
259
+ blur: EventEmitter<void>;
260
+ focus: EventEmitter<void>;
261
+ /**
262
+ * @property scrollViewportBottomReached
263
+ * @description Emits when the bottom of the unfiltered list is reached during infinite scroll
264
+ * @memberof AutocompleteComponent
265
+ */
266
+ scrollViewportBottomReached: EventEmitter<void>;
267
+ /**
268
+ * @property scrollViewportBottomReachedFiltered
269
+ * @description Emits when the bottom of the filtered list is reached during infinite scroll
270
+ * @memberof AutocompleteComponent
271
+ */
272
+ scrollViewportBottomReachedFiltered: EventEmitter<void>;
273
+ formFieldElement: ElementRef<HTMLElement>;
274
+ tagContainer: ElementRef<HTMLElement>;
275
+ autocomplete: MatAutocompleteTrigger;
276
+ set cdkVirtualScrollViewport(viewport: CdkVirtualScrollViewport);
277
+ matAutocomplete: MatAutocomplete;
278
+ matInput: ElementRef<HTMLInputElement>;
279
+ protected safeErrors: string[];
280
+ protected value: any;
281
+ protected inputValue: any;
282
+ protected isInputFocus: boolean;
283
+ protected autocompleteType: typeof Autocomplete;
284
+ protected isOverLapping: boolean;
285
+ protected isOverlapChecking: boolean;
286
+ protected overlapIndex: number;
287
+ protected inputOpacity: number;
288
+ protected firstTagMaxWidth: number;
289
+ protected inputValueSearch$: BehaviorSubject<string>;
290
+ protected userInput$: ReplaySubject<string>;
291
+ protected dynamicFilteredList$: BehaviorSubject<any[] | null>;
292
+ protected filteredItemsList$: import("rxjs").Observable<any[] | null>;
293
+ protected filteredSuggestionList$: import("rxjs").Observable<any[] | null>;
294
+ protected savedVirtualScrollViewport: CdkVirtualScrollViewport;
295
+ protected savedVirtualScrollSubscription: Subscription;
296
+ protected isFilteredViewport: boolean;
297
+ scrollEvent: (event: any) => void;
298
+ protected searchResult$: import("rxjs").Observable<boolean>;
299
+ protected translationContext: string;
300
+ protected readonly AutocompleteUtils: typeof AutocompleteUtils;
301
+ private readonly defaultAppTheme;
302
+ private readonly cdr;
303
+ ngControl: NgControl | null;
304
+ private readonly platformId;
305
+ private readonly el;
306
+ private readonly focusMonitor;
307
+ private readonly destroyRef;
308
+ private readonly ngZone;
309
+ private readonly isPlatform;
310
+ private observer;
311
+ protected keyboardFocused: import("@angular/core").WritableSignal<boolean>;
312
+ isAlreadyAdded: boolean;
313
+ constructor();
314
+ ngOnInit(): void;
315
+ /**
316
+ * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
317
+ * to display validation errors that might happen (e.g. required)
318
+ */
319
+ ngDoCheck(): void;
320
+ ngOnChanges(changes: SimpleChanges): void;
321
+ ngAfterViewInit(): void;
322
+ ngOnDestroy(): void;
323
+ onChange: (_: any) => void;
324
+ onTouch: () => void;
325
+ registerOnChange(fn: any): void;
326
+ registerOnTouched(fn: () => void): void;
327
+ setDisabledState(isDisabled: boolean): void;
328
+ writeValue(value: any): void;
329
+ protected get isGrouped(): boolean;
330
+ protected onOptionSelected(event: MatAutocompleteSelectedEvent): void;
331
+ protected onOptionRemoved(option: any): void;
332
+ protected onInputChange(event: Event): void;
333
+ protected onClear(): void;
334
+ protected refillInput(): void;
335
+ protected gotoUp(): void;
336
+ protected onFocus(): void;
337
+ private checkOverlap;
338
+ private onUpdate;
339
+ private updateControlMaxLengthValidity;
340
+ private initValue;
341
+ private addNewValue;
342
+ protected get isDropdown(): boolean;
343
+ protected onChevronClick(autocomplete: MatAutocomplete): void;
344
+ protected get inputWidth(): number;
345
+ protected trackByFn: (index: number, value: string) => string;
346
+ /**
347
+ * Adding company color variable to the body to style overlay container that's out of the component scope.
348
+ */
349
+ private setCompanyColorVariable;
350
+ private subscriberDisplayChange;
351
+ protected get hasObjectValue(): boolean;
352
+ onKeydown($event: KeyboardEvent): void;
353
+ protected getVirtualScrollHeight(itemCount: number): number;
354
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
355
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, {
356
+ "itemsList": {
357
+ "alias": "itemsList";
358
+ "required": false;
359
+ };
360
+ "suggestionsList": {
361
+ "alias": "suggestionsList";
362
+ "required": false;
363
+ };
364
+ "disabled": {
365
+ "alias": "disabled";
366
+ "required": false;
367
+ };
368
+ "allowAdd": {
369
+ "alias": "allowAdd";
370
+ "required": false;
371
+ };
372
+ "textField": {
373
+ "alias": "textField";
374
+ "required": false;
375
+ };
376
+ "valueField": {
377
+ "alias": "valueField";
378
+ "required": false;
379
+ };
380
+ "label": {
381
+ "alias": "label";
382
+ "required": false;
383
+ };
384
+ "placeholder": {
385
+ "alias": "placeholder";
386
+ "required": false;
387
+ };
388
+ "testId": {
389
+ "alias": "testId";
390
+ "required": false;
391
+ };
392
+ "itemValue": {
393
+ "alias": "itemValue";
394
+ "required": false;
395
+ };
396
+ "type": {
397
+ "alias": "type";
398
+ "required": false;
399
+ };
400
+ "minCharactersSearch": {
401
+ "alias": "minCharactersSearch";
402
+ "required": false;
403
+ };
404
+ "variant": {
405
+ "alias": "variant";
406
+ "required": true;
407
+ };
408
+ "showBottomContent": {
409
+ "alias": "showBottomContent";
410
+ "required": false;
411
+ };
412
+ "valuePrimitive": {
413
+ "alias": "valuePrimitive";
414
+ "required": false;
415
+ };
416
+ "fullWidth": {
417
+ "alias": "fullWidth";
418
+ "required": false;
419
+ };
420
+ "applicationTheme": {
421
+ "alias": "applicationTheme";
422
+ "required": false;
423
+ };
424
+ "required": {
425
+ "alias": "required";
426
+ "required": false;
427
+ };
428
+ "errors": {
429
+ "alias": "errors";
430
+ "required": false;
431
+ };
432
+ "companyColor": {
433
+ "alias": "companyColor";
434
+ "required": false;
435
+ };
436
+ "hideBuiltInErrors": {
437
+ "alias": "hideBuiltInErrors";
438
+ "required": false;
439
+ };
440
+ "hideLabelInErrors": {
441
+ "alias": "hideLabelInErrors";
442
+ "required": false;
443
+ };
444
+ "virtualScroll": {
445
+ "alias": "virtualScroll";
446
+ "required": false;
447
+ };
448
+ "compareWith": {
449
+ "alias": "compareWith";
450
+ "required": false;
451
+ };
452
+ "dropdownPanelClass": {
453
+ "alias": "dropdownPanelClass";
454
+ "required": false;
455
+ };
456
+ "closeOnScroll": {
457
+ "alias": "closeOnScroll";
458
+ "required": false;
459
+ };
460
+ "size": {
461
+ "alias": "size";
462
+ "required": false;
463
+ };
464
+ "allowUserInput": {
465
+ "alias": "allowUserInput";
466
+ "required": false;
467
+ };
468
+ "clearable": {
469
+ "alias": "clearable";
470
+ "required": false;
471
+ };
472
+ "exactMatchSelect": {
473
+ "alias": "exactMatchSelect";
474
+ "required": false;
475
+ };
476
+ "maxItemSelected": {
477
+ "alias": "maxItemSelected";
478
+ "required": false;
479
+ };
480
+ "maxLength": {
481
+ "alias": "maxLength";
482
+ "required": false;
483
+ };
484
+ "isDynamicFilteringEnabled": {
485
+ "alias": "isDynamicFilteringEnabled";
486
+ "required": false;
487
+ };
488
+ "dynamicFilterLoading": {
489
+ "alias": "dynamicFilterLoading";
490
+ "required": false;
491
+ };
492
+ "dynamicFilteredList": {
493
+ "alias": "dynamicFilteredList";
494
+ "required": false;
495
+ };
496
+ "infiniteScroll": {
497
+ "alias": "infiniteScroll";
498
+ "required": false;
499
+ };
500
+ "hasMoreOptionsForInfiniteScroll": {
501
+ "alias": "hasMoreOptionsForInfiniteScroll";
502
+ "required": false;
503
+ };
504
+ }, {
505
+ "selectionChange": "selectionChange";
506
+ "searchTextChange": "searchTextChange";
507
+ "blur": "blur";
508
+ "focus": "focus";
509
+ "scrollViewportBottomReached": "scrollViewportBottomReached";
510
+ "scrollViewportBottomReachedFiltered": "scrollViewportBottomReachedFiltered";
511
+ }, never, never, false, never>;
512
+ static ngAcceptInputType_virtualScroll: unknown;
361
513
  }
362
-
363
514
  /**
364
515
  * the TransformItemPipe is designed to selectively extract and return values from objects based on a specified field,
365
516
  * providing a way to transform and display data a template.
366
517
  */
367
518
  declare class TransformItemPipe implements PipeTransform {
368
- transform(value: any, field: string, getValueList?: boolean): any;
369
- static ɵfac: i0.ɵɵFactoryDeclaration<TransformItemPipe, never>;
370
- static ɵpipe: i0.ɵɵPipeDeclaration<TransformItemPipe, "transformItem", false>;
519
+ transform(value: any, field: string, getValueList?: boolean): any;
520
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransformItemPipe, never>;
521
+ static ɵpipe: i0.ɵɵPipeDeclaration<TransformItemPipe, "transformItem", false>;
371
522
  }
372
-
373
523
  /**
374
524
  * The purpose of this pipe is to determine if the value is present in the values array.
375
525
  * If values is an array, the method uses the includes method to check for inclusion.
376
526
  * If values is not an array, it checks for strict equality between value and values.
377
527
  */
378
528
  declare class IncludesPipe implements PipeTransform {
379
- transform(value: any, values: any, valueField?: string): boolean;
380
- static ɵfac: i0.ɵɵFactoryDeclaration<IncludesPipe, never>;
381
- static ɵpipe: i0.ɵɵPipeDeclaration<IncludesPipe, "includes", false>;
529
+ transform(value: any, values: any, valueField?: string): boolean;
530
+ static ɵfac: i0.ɵɵFactoryDeclaration<IncludesPipe, never>;
531
+ static ɵpipe: i0.ɵɵPipeDeclaration<IncludesPipe, "includes", false>;
382
532
  }
383
-
384
533
  /**
385
534
  * the SelectTextDirective provides a dynamic way to highlight or style specific text within an element.
386
535
  */
387
536
  declare class SelectTextDirective implements OnChanges {
388
- private readonly el;
389
- selectText: string | null;
390
- constructor(el: ElementRef);
391
- /**
392
- * this method utilizes setTimeout to defer the execution until the next tick of the event loop.
393
- * The text content of the element is modified by wrapping occurrences of the specified selectText with a <span> element,
394
- * applying a bold font-weight style.
395
- */
396
- private setTextColor;
397
- ngOnChanges(): void;
398
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectTextDirective, never>;
399
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectTextDirective, "[selectText]", never, { "selectText": { "alias": "selectText"; "required": false; }; }, {}, never, never, false, never>;
537
+ private readonly el;
538
+ selectText: string | null;
539
+ constructor(el: ElementRef);
540
+ /**
541
+ * this method utilizes setTimeout to defer the execution until the next tick of the event loop.
542
+ * The text content of the element is modified by wrapping occurrences of the specified selectText with a <span> element,
543
+ * applying a bold font-weight style.
544
+ */
545
+ private setTextColor;
546
+ ngOnChanges(): void;
547
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectTextDirective, never>;
548
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectTextDirective, "[selectText]", never, {
549
+ "selectText": {
550
+ "alias": "selectText";
551
+ "required": false;
552
+ };
553
+ }, {}, never, never, false, never>;
400
554
  }
401
-
402
555
  declare class PreventInputDirective {
403
- uiPreventInput: boolean;
404
- onKeyDown(event: KeyboardEvent): void;
405
- static ɵfac: i0.ɵɵFactoryDeclaration<PreventInputDirective, never>;
406
- static ɵdir: i0.ɵɵDirectiveDeclaration<PreventInputDirective, "[uiPreventInput]", never, { "uiPreventInput": { "alias": "uiPreventInput"; "required": false; }; }, {}, never, never, true, never>;
556
+ uiPreventInput: boolean;
557
+ onKeyDown(event: KeyboardEvent): void;
558
+ static ɵfac: i0.ɵɵFactoryDeclaration<PreventInputDirective, never>;
559
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PreventInputDirective, "[uiPreventInput]", never, {
560
+ "uiPreventInput": {
561
+ "alias": "uiPreventInput";
562
+ "required": false;
563
+ };
564
+ }, {}, never, never, true, never>;
407
565
  }
408
-
409
- declare class AutocompleteComponentModule {
410
- static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponentModule, never>;
411
- static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteComponentModule, [typeof AutocompleteComponent, typeof TransformItemPipe, typeof IncludesPipe, typeof SelectTextDirective], [typeof i5.CommonModule, typeof i6.MatFormFieldModule, typeof i7.MatAutocompleteModule, typeof i8.MatInputModule, typeof i9.FormsModule, typeof i10.TagComponentModule, typeof i11.MatChipsModule, typeof i12.IconComponentModule, typeof i13.UiTranslatePipe, typeof i14.ValidationErrorModule, typeof i13.HasValidationErrorPipe, typeof i15.CdkVirtualForOf, typeof i15.CdkVirtualScrollViewport, typeof i15.CdkFixedSizeVirtualScroll, typeof PreventInputDirective, typeof i17.SpinnerComponentModule], [typeof AutocompleteComponent]>;
412
- static ɵinj: i0.ɵɵInjectorDeclaration<AutocompleteComponentModule>;
566
+ export declare class AutocompleteComponentModule {
567
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponentModule, never>;
568
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteComponentModule, [typeof AutocompleteComponent, typeof TransformItemPipe, typeof IncludesPipe, typeof SelectTextDirective], [typeof i5.CommonModule, typeof i6.MatFormFieldModule, typeof i7.MatAutocompleteModule, typeof i8.MatInputModule, typeof i9.FormsModule, typeof i10.TagComponentModule, typeof i11.MatChipsModule, typeof i12.IconComponentModule, typeof i13.UiTranslatePipe, typeof i14.ValidationErrorModule, typeof i13.HasValidationErrorPipe, typeof i15.CdkVirtualForOf, typeof i15.CdkVirtualScrollViewport, typeof i15.CdkFixedSizeVirtualScroll, typeof PreventInputDirective, typeof i17.SpinnerComponentModule], [typeof AutocompleteComponent]>;
569
+ static ɵinj: i0.ɵɵInjectorDeclaration<AutocompleteComponentModule>;
413
570
  }
414
-
415
- export { AMOUNT_TAG_WIDTH, Autocomplete, AutocompleteComponent, AutocompleteComponentModule, DropdownVariation, Padding, Timeout };
416
- export type { AutocompleteSize, AutocompleteType, DropdownVariationType };
571
+ export { ApplicationTheme };