@testgorilla/tgo-ui 11.22.3 → 12.0.1

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,364 +1,754 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ChangeDetectorRef, input, booleanAttribute, computed, EventEmitter, effect, HostBinding, Output, Input, Optional, Self, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
- import * as i1 from '@angular/forms';
5
- import { Validators, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
6
- import { MatHint } from '@angular/material/form-field';
7
- import { HasValidationErrorPipe, DigitsOnlyDirective } from '@testgorilla/tgo-ui/components/core';
8
- import { DropdownComponent, DropdownComponentModule } from '@testgorilla/tgo-ui/components/dropdown';
9
- import { FieldComponent, FieldComponentModule } from '@testgorilla/tgo-ui/components/field';
10
- import * as i2 from '@testgorilla/tgo-ui/components/icon';
11
- import { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';
12
- import * as i3 from '@testgorilla/tgo-ui/components/validation-error';
13
- import { ValidationErrorModule } from '@testgorilla/tgo-ui/components/validation-error';
14
- import { CommonModule } from '@angular/common';
15
- import { MatInputModule } from '@angular/material/input';
16
- import { MatSelectModule } from '@angular/material/select';
17
- import { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';
18
-
19
- /* eslint-disable @typescript-eslint/unbound-method */
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, HostBinding, Input, NgModule, Optional, Output, Self, booleanAttribute, computed, effect, inject, input } from "@angular/core";
3
+ import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
4
+ import * as i1 from "@angular/forms";
5
+ import { FormControl, FormsModule, ReactiveFormsModule, Validators } from "@angular/forms";
6
+ import { MatHint } from "@angular/material/form-field";
7
+ import { DigitsOnlyDirective, HasValidationErrorPipe } from "@testgorilla/tgo-ui/components/core";
8
+ import { DropdownComponent, DropdownComponentModule } from "@testgorilla/tgo-ui/components/dropdown";
9
+ import { FieldComponent, FieldComponentModule } from "@testgorilla/tgo-ui/components/field";
10
+ import * as i2 from "@testgorilla/tgo-ui/components/icon";
11
+ import { IconComponentModule } from "@testgorilla/tgo-ui/components/icon";
12
+ import * as i3 from "@testgorilla/tgo-ui/components/validation-error";
13
+ import { ValidationErrorModule } from "@testgorilla/tgo-ui/components/validation-error";
14
+ import { CommonModule } from "@angular/common";
15
+ import { MatInputModule } from "@angular/material/input";
16
+ import { MatSelectModule } from "@angular/material/select";
17
+ import { DividerComponentModule } from "@testgorilla/tgo-ui/components/divider";
20
18
  const requiredMultiInput = (control) => {
21
- const controlValue = control.value;
22
- const hasRequired = control.hasValidator(Validators.required);
23
- if (hasRequired && controlValue) {
24
- const anyFalsy = Object.values(controlValue).some(v => !v);
25
- if (anyFalsy) {
26
- return { required: true };
27
- }
28
- }
29
- return null;
19
+ const controlValue = control.value;
20
+ if (control.hasValidator(Validators.required) && controlValue) {
21
+ if (Object.values(controlValue).some((v) => !v)) return { required: true };
22
+ }
23
+ return null;
30
24
  };
31
-
32
- /* eslint-disable @typescript-eslint/no-inferrable-types */
33
- class MultiInputComponent {
34
- /**
35
- * `controlHasError` reads `ngControl.touched`/`errors` — mutable state OnPush
36
- * never re-checks on its own (e.g. an external `markAllAsTouched()` on submit).
37
- * ngDoCheck runs whenever an ancestor is checked, so mark the view when the
38
- * error state moves (same pattern as validation-error/autocomplete-v2).
39
- */
40
- ngDoCheck() {
41
- const hasError = this.controlHasError;
42
- if (hasError !== this.lastControlHasError) {
43
- this.lastControlHasError = hasError;
44
- this.cdr.markForCheck();
45
- }
46
- }
47
- constructor(ngControl, fb) {
48
- this.ngControl = ngControl;
49
- this.fb = fb;
50
- this.cdr = inject(ChangeDetectorRef);
51
- /**
52
- *
53
- * @description List of items to be displayed in the dropdown list
54
- * @type {Record<string, string | null | number>[]}
55
- * @memberof MultiInputComponent
56
- */
57
- this.itemsList = input.required(...(ngDevMode ? [{ debugName: "itemsList" }] : /* istanbul ignore next */ []));
58
- /**
59
- *
60
- * @description The field to be displayed in the dropdown
61
- * @type {string}
62
- * @memberof MultiInputComponent
63
- */
64
- this.itemTextField = input.required(...(ngDevMode ? [{ debugName: "itemTextField" }] : /* istanbul ignore next */ []));
65
- /**
66
- *
67
- * @description The value to be displayed in the droddown
68
- * @type {string}
69
- * @memberof MultiInputComponent
70
- */
71
- this.itemValueField = input.required(...(ngDevMode ? [{ debugName: "itemValueField" }] : /* istanbul ignore next */ []));
72
- /**
73
- *
74
- * @description The Value of the multi input
75
- * @type {MultiInputValue}
76
- * @memberof MultiInputComponent
77
- */
78
- this.value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
79
- /**
80
- *
81
- * @description Disables the multi input
82
- * @type {boolean}
83
- * @memberof MultiInputComponent
84
- */
85
- this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
86
- /**
87
- *
88
- * @description Defines if the multi input is required
89
- * @type {boolean}
90
- * @memberof MultiInputComponent
91
- */
92
- this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
93
- /**
94
- *
95
- * @description Defines the label of the multi input
96
- * @type {string}
97
- * @memberof MultiInputComponent
98
- */
99
- this.label = input('', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
100
- /**
101
- *
102
- * @description Defines the placeholder of the multi input
103
- * @type {string}
104
- * @memberof MultiInputComponent
105
- */
106
- this.placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
107
- this.testId = input(null, ...(ngDevMode ? [{ debugName: "testId" }] : /* istanbul ignore next */ []));
108
- this.unitTestId = computed(() => (this.testId() ? `${this.testId()}-unit` : null), ...(ngDevMode ? [{ debugName: "unitTestId" }] : /* istanbul ignore next */ []));
109
- this.valueTestId = computed(() => (this.testId() ? `${this.testId()}-value` : null), ...(ngDevMode ? [{ debugName: "valueTestId" }] : /* istanbul ignore next */ []));
110
- /**
111
- *
112
- * @description Allow decimal values in the multi input
113
- * @type {boolean}
114
- * @memberof MultiInputComponent
115
- */
116
- this.allowDecimal = input(true, { ...(ngDevMode ? { debugName: "allowDecimal" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
117
- /**
118
- *
119
- * @description Allow negative values in the multi input
120
- * @type {boolean}
121
- * @memberof MultiInputComponent
122
- */
123
- this.allowNegative = input(true, { ...(ngDevMode ? { debugName: "allowNegative" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
124
- /**
125
- *
126
- * @description The errors of the multi input
127
- * @type {string[]}
128
- * @memberof MultiInputComponent
129
- */
130
- this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
131
- /**
132
- *
133
- * @description Hide built in errors for Reactive Forms
134
- * @type {boolean}
135
- * @memberof MultiInputComponent
136
- */
137
- this.hideBuiltInErrors = input(false, { ...(ngDevMode ? { debugName: "hideBuiltInErrors" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
138
- /**
139
- *
140
- * @description Hide label in errors
141
- * @type {boolean}
142
- * @memberof MultiInputComponent
143
- */
144
- this.hideLabelInErrors = input(false, { ...(ngDevMode ? { debugName: "hideLabelInErrors" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
145
- /**
146
- *
147
- * @description The maximum characters allowed in the multi input
148
- * @type {number}
149
- * @memberof MultiInputComponent
150
- */
151
- this.maxCharacters = input(0, ...(ngDevMode ? [{ debugName: "maxCharacters" }] : /* istanbul ignore next */ []));
152
- /**
153
- *
154
- * @description The validators to apply to input field
155
- * @type {Validators[]}
156
- * @memberof MultiInputComponent
157
- */
158
- this.validators = input([], ...(ngDevMode ? [{ debugName: "validators" }] : /* istanbul ignore next */ []));
159
- /**
160
- *
161
- * @description The width of the multi input
162
- * @type {boolean}
163
- * @memberof MultiInputComponent
164
- */
165
- this.fullWidth = false;
166
- this.valueChange = new EventEmitter();
167
- this.class = 'ui-multi-input';
168
- /**
169
- * @description Indicates that custom errors are provided via content projection.
170
- * When true, the built-in error hints will be hidden.
171
- * @type {boolean}
172
- * @memberof MultiInputComponent
173
- */
174
- this.hasCustomErrors = input(false, { ...(ngDevMode ? { debugName: "hasCustomErrors" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
175
- /**
176
- * @ignore
177
- */
178
- this.onChange = (_value) => { };
179
- /**
180
- * @ignore
181
- */
182
- this.onTouch = () => { };
183
- this.multiInputForm = this.fb.group({
184
- value: null,
185
- });
186
- effect(() => {
187
- this.updateDisableState(this.disabled());
188
- });
189
- effect(() => {
190
- const maxCharacters = this.maxCharacters();
191
- if (maxCharacters) {
192
- this.inputControl?.addValidators(Validators.maxLength(maxCharacters));
193
- this.inputControl?.updateValueAndValidity({ emitEvent: false });
194
- }
195
- });
196
- effect(() => {
197
- const inputValidators = this.validators();
198
- if (inputValidators?.length) {
199
- this.inputControl?.addValidators(inputValidators);
200
- this.inputControl?.updateValueAndValidity({ emitEvent: false });
201
- }
202
- });
203
- effect(() => {
204
- const value = this.value();
205
- // skip in the context of angular Forms
206
- if (!this.ngControl) {
207
- this.addDropdownControl();
208
- this.patchForm(value);
209
- }
210
- });
211
- if (this.ngControl) {
212
- this.ngControl.valueAccessor = this;
213
- }
214
- this.multiInputForm.valueChanges.pipe(takeUntilDestroyed()).subscribe(formValue => {
215
- this.valueChanged(formValue);
216
- });
217
- }
218
- ngOnInit() {
219
- this.addDropdownControl();
220
- if (this.ngControl) {
221
- this.ngControl.control?.addValidators(requiredMultiInput);
222
- }
223
- }
224
- writeValue(value) {
225
- this.addDropdownControl();
226
- this.patchForm(value);
227
- }
228
- patchForm(value) {
229
- if (value) {
230
- this.multiInputForm.patchValue(value, { emitEvent: false });
231
- }
232
- else {
233
- this.multiInputForm.reset(undefined, { emitEvent: false });
234
- }
235
- }
236
- setDisabledState(isDisabled) {
237
- this.updateDisableState(isDisabled);
238
- }
239
- registerOnChange(fn) {
240
- this.onChange = fn;
241
- }
242
- registerOnTouched(fn) {
243
- this.onTouch = fn;
244
- }
245
- valueChanged(value) {
246
- this.valueChange.emit(value);
247
- this.onChange(value);
248
- }
249
- get dropdownControl() {
250
- return this.multiInputForm.controls[this.itemValueField()];
251
- }
252
- get inputControl() {
253
- return this.multiInputForm.controls.value;
254
- }
255
- markAsTouched() {
256
- this.onTouch();
257
- }
258
- addDropdownControl() {
259
- if (!this.multiInputForm.value[this.itemValueField()]) {
260
- this.multiInputForm.addControl(this.itemValueField(), new FormControl(null), { emitEvent: false });
261
- this.updateDisableState(this.disabled());
262
- }
263
- }
264
- get controlHasError() {
265
- if (this.ngControl) {
266
- return Boolean(this.ngControl.errors && this.ngControl.touched);
267
- }
268
- else {
269
- return this.errors()?.length > 0;
270
- }
271
- }
272
- getValueLength() {
273
- return this.inputControl?.value?.toString().length ?? 0;
274
- }
275
- updateDisableState(state) {
276
- if (state) {
277
- this.multiInputForm.disable({ emitEvent: false });
278
- }
279
- else {
280
- this.multiInputForm.enable({ emitEvent: false });
281
- }
282
- }
283
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MultiInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
284
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: MultiInputComponent, isStandalone: true, selector: "ui-multi-input", inputs: { itemsList: { classPropertyName: "itemsList", publicName: "itemsList", isSignal: true, isRequired: true, transformFunction: null }, itemTextField: { classPropertyName: "itemTextField", publicName: "itemTextField", isSignal: true, isRequired: true, transformFunction: null }, itemValueField: { classPropertyName: "itemValueField", publicName: "itemValueField", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, testId: { classPropertyName: "testId", publicName: "testId", isSignal: true, isRequired: false, transformFunction: null }, allowDecimal: { classPropertyName: "allowDecimal", publicName: "allowDecimal", isSignal: true, isRequired: false, transformFunction: null }, allowNegative: { classPropertyName: "allowNegative", publicName: "allowNegative", isSignal: true, isRequired: false, transformFunction: null }, errors: { classPropertyName: "errors", publicName: "errors", isSignal: true, isRequired: false, transformFunction: null }, hideBuiltInErrors: { classPropertyName: "hideBuiltInErrors", publicName: "hideBuiltInErrors", isSignal: true, isRequired: false, transformFunction: null }, hideLabelInErrors: { classPropertyName: "hideLabelInErrors", publicName: "hideLabelInErrors", isSignal: true, isRequired: false, transformFunction: null }, maxCharacters: { classPropertyName: "maxCharacters", publicName: "maxCharacters", isSignal: true, isRequired: false, transformFunction: null }, validators: { classPropertyName: "validators", publicName: "validators", isSignal: true, isRequired: false, transformFunction: null }, fullWidth: { classPropertyName: "fullWidth", publicName: "fullWidth", isSignal: false, isRequired: false, transformFunction: null }, hasCustomErrors: { classPropertyName: "hasCustomErrors", publicName: "hasCustomErrors", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.full-width": "this.fullWidth", "class": "this.class" } }, ngImport: i0, template: "<div [formGroup]=\"multiInputForm\">\n <div class=\"controls-wrapper\">\n <ui-dropdown\n [hasError]=\"controlHasError\"\n [formControlName]=\"itemValueField()\"\n [valueList]=\"itemsList()\"\n [textField]=\"itemTextField()\"\n [valueField]=\"itemValueField()\"\n [showBottomContent]=\"false\"\n [allowClear]=\"false\"\n [testId]=\"unitTestId()\"\n (closed)=\"markAsTouched()\"\n ></ui-dropdown>\n\n <ui-field\n [hasError]=\"controlHasError\"\n formControlName=\"value\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [required]=\"required()\"\n [hideBuiltInErrors]=\"true\"\n [showBottomContent]=\"false\"\n [allowOnlyDigits]=\"true\"\n [fullWidth]=\"fullWidth\"\n [allowNegative]=\"allowNegative()\"\n [testId]=\"valueTestId()\"\n (focusout)=\"markAsTouched()\"\n ></ui-field>\n </div>\n\n @if (!hasCustomErrors()) {\n @if (!controlHasError && maxCharacters() && !errors()?.length) {\n <mat-hint class=\"info\">{{ getValueLength() }} / {{ maxCharacters() }}</mat-hint>\n }\n\n @if (errors()?.length || (ngControl?.errors | hasValidationError)) {\n <mat-hint class=\"error\">\n @for (error of errors(); track error) {\n <ui-icon name=\"Error-in-line\"></ui-icon>{{ error }}\n }\n @if ((ngControl?.errors | hasValidationError) && !hideBuiltInErrors()) {\n <ui-validation-error\n [touchedOn]=\"!controlHasError\"\n [ngControl]=\"ngControl\"\n [label]=\"hideLabelInErrors() ? null : label()\"\n ></ui-validation-error>\n }\n </mat-hint>\n }\n }\n <ng-content select=\"[custom-errors]\"></ng-content>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host.ui-multi-input{position:relative!important}:host.ui-multi-input .ng-untouched,:host.ui-multi-input .ng-touched{width:fit-content}:host.ui-multi-input.full-width .ng-untouched{width:100%}:host.ui-multi-input .controls-wrapper{display:flex}:host.ui-multi-input ::ng-deep ui-validation-error .errors{display:flex}:host.ui-multi-input ::ng-deep .ui-dropdown{max-width:120px}:host.ui-multi-input ::ng-deep .ui-dropdown .mdc-notched-outline__trailing,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-text-field-wrapper,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-form-field.mat-form-field-appearance-outline.mat-form-field-disabled .mdc-notched-outline__trailing{border-right-color:transparent!important;border-top-right-radius:0!important;border-bottom-right-radius:0!important}:host.ui-multi-input ::ng-deep .ui-dropdown:hover .mdc-notched-outline__trailing,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-form-field-focused .mdc-notched-outline__trailing{border-right-color:#242424}:host.ui-multi-input ::ng-deep .ui-field .mdc-notched-outline__leading,:host.ui-multi-input ::ng-deep .ui-field .mat-mdc-text-field-wrapper{border-top-left-radius:0!important;border-bottom-left-radius:0!important}:host.ui-multi-input ::ng-deep .ui-field .mat-mdc-form-field-subscript-wrapper{position:absolute!important;left:0!important;top:48px!important}:host.ui-multi-input ::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:0!important;padding-bottom:0!important;min-height:48px!important;align-items:center!important;display:flex!important}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.info{display:block;color:#888;width:100%;text-align:right}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.error{display:flex;gap:4px;color:#e02800;align-items:center;padding:4px 0 10px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.error svg{color:#e02800}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint:before{display:none}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error{color:#e02800;font-size:12px;line-height:16px;letter-spacing:.4px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error .errors{display:flex;align-items:center;padding:4px 0 10px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error svg{margin-right:4px;color:#e02800;row-gap:0}:host.ui-multi-input .separator-line{border-left:1px solid var(--mdc-outlined-text-field-outline-color);height:40px;margin:0 12px -7px 8px}:host.ui-multi-input ::ng-deep .mat-mdc-select .mat-mdc-select-arrow-wrapper{display:none}:host.ui-multi-input ::ng-deep .mdc-text-field--outlined{padding-left:12px!important}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: DropdownComponent, selector: "ui-dropdown", inputs: ["label", "labelIcon", "isAIVariant", "name", "placeholder", "id", "testId", "ariaLabel", "value", "errors", "disabled", "valueList", "allowClear", "allowMultipleSelection", "required", "showBottomContent", "applicationTheme", "hideBuiltInErrors", "hideLabelInErrors", "textField", "valueField", "hasError", "companyColor", "panelClass"], outputs: ["closed", "opened"] }, { kind: "component", type: FieldComponent, selector: "ui-field", inputs: ["fullWidth", "fullHeight", "label", "labelHtml", "labelIcon", "fieldName", "placeholder", "id", "value", "badgeVariant", "errors", "disabled", "required", "readOnly", "hintMessage", "type", "updateOnBlur", "allowOnlyDigits", "isAutocompleteOff", "allowNegative", "showBottomContent", "applicationTheme", "ariaLabel", "testId", "loading", "isValid", "maxCharacters", "trimOnBlur", "trimOnSubmit", "maxRows", "hasTextAreaCounter", "hideBuiltInErrors", "hideLabelInErrors", "max", "min", "textareaHeight", "borderless", "autosizableTextarea", "isAIVariant", "ariaLabelledby", "ariaDescribedby", "hasError"], outputs: ["validateEvent", "fieldBlur"] }, { kind: "directive", type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "ngmodule", type: IconComponentModule }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { kind: "ngmodule", type: ValidationErrorModule }, { kind: "component", type: i3.ValidationErrorComponent, selector: "ui-validation-error", inputs: ["ngControl", "touchedOn", "errorMessage", "label", "applicationTheme", "customErrors"] }, { kind: "pipe", type: HasValidationErrorPipe, name: "hasValidationError" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
285
- }
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MultiInputComponent, decorators: [{
287
- type: Component,
288
- args: [{ selector: 'ui-multi-input', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
289
- FormsModule,
290
- ReactiveFormsModule,
291
- DropdownComponent,
292
- FieldComponent,
293
- MatHint,
294
- IconComponentModule,
295
- ValidationErrorModule,
296
- HasValidationErrorPipe,
297
- ], template: "<div [formGroup]=\"multiInputForm\">\n <div class=\"controls-wrapper\">\n <ui-dropdown\n [hasError]=\"controlHasError\"\n [formControlName]=\"itemValueField()\"\n [valueList]=\"itemsList()\"\n [textField]=\"itemTextField()\"\n [valueField]=\"itemValueField()\"\n [showBottomContent]=\"false\"\n [allowClear]=\"false\"\n [testId]=\"unitTestId()\"\n (closed)=\"markAsTouched()\"\n ></ui-dropdown>\n\n <ui-field\n [hasError]=\"controlHasError\"\n formControlName=\"value\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [required]=\"required()\"\n [hideBuiltInErrors]=\"true\"\n [showBottomContent]=\"false\"\n [allowOnlyDigits]=\"true\"\n [fullWidth]=\"fullWidth\"\n [allowNegative]=\"allowNegative()\"\n [testId]=\"valueTestId()\"\n (focusout)=\"markAsTouched()\"\n ></ui-field>\n </div>\n\n @if (!hasCustomErrors()) {\n @if (!controlHasError && maxCharacters() && !errors()?.length) {\n <mat-hint class=\"info\">{{ getValueLength() }} / {{ maxCharacters() }}</mat-hint>\n }\n\n @if (errors()?.length || (ngControl?.errors | hasValidationError)) {\n <mat-hint class=\"error\">\n @for (error of errors(); track error) {\n <ui-icon name=\"Error-in-line\"></ui-icon>{{ error }}\n }\n @if ((ngControl?.errors | hasValidationError) && !hideBuiltInErrors()) {\n <ui-validation-error\n [touchedOn]=\"!controlHasError\"\n [ngControl]=\"ngControl\"\n [label]=\"hideLabelInErrors() ? null : label()\"\n ></ui-validation-error>\n }\n </mat-hint>\n }\n }\n <ng-content select=\"[custom-errors]\"></ng-content>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host.ui-multi-input{position:relative!important}:host.ui-multi-input .ng-untouched,:host.ui-multi-input .ng-touched{width:fit-content}:host.ui-multi-input.full-width .ng-untouched{width:100%}:host.ui-multi-input .controls-wrapper{display:flex}:host.ui-multi-input ::ng-deep ui-validation-error .errors{display:flex}:host.ui-multi-input ::ng-deep .ui-dropdown{max-width:120px}:host.ui-multi-input ::ng-deep .ui-dropdown .mdc-notched-outline__trailing,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-text-field-wrapper,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-form-field.mat-form-field-appearance-outline.mat-form-field-disabled .mdc-notched-outline__trailing{border-right-color:transparent!important;border-top-right-radius:0!important;border-bottom-right-radius:0!important}:host.ui-multi-input ::ng-deep .ui-dropdown:hover .mdc-notched-outline__trailing,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-form-field-focused .mdc-notched-outline__trailing{border-right-color:#242424}:host.ui-multi-input ::ng-deep .ui-field .mdc-notched-outline__leading,:host.ui-multi-input ::ng-deep .ui-field .mat-mdc-text-field-wrapper{border-top-left-radius:0!important;border-bottom-left-radius:0!important}:host.ui-multi-input ::ng-deep .ui-field .mat-mdc-form-field-subscript-wrapper{position:absolute!important;left:0!important;top:48px!important}:host.ui-multi-input ::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:0!important;padding-bottom:0!important;min-height:48px!important;align-items:center!important;display:flex!important}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.info{display:block;color:#888;width:100%;text-align:right}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.error{display:flex;gap:4px;color:#e02800;align-items:center;padding:4px 0 10px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.error svg{color:#e02800}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint:before{display:none}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error{color:#e02800;font-size:12px;line-height:16px;letter-spacing:.4px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error .errors{display:flex;align-items:center;padding:4px 0 10px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error svg{margin-right:4px;color:#e02800;row-gap:0}:host.ui-multi-input .separator-line{border-left:1px solid var(--mdc-outlined-text-field-outline-color);height:40px;margin:0 12px -7px 8px}:host.ui-multi-input ::ng-deep .mat-mdc-select .mat-mdc-select-arrow-wrapper{display:none}:host.ui-multi-input ::ng-deep .mdc-text-field--outlined{padding-left:12px!important}\n"] }]
298
- }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
299
- type: Optional
300
- }, {
301
- type: Self
302
- }] }, { type: i1.FormBuilder }], propDecorators: { itemsList: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsList", required: true }] }], itemTextField: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemTextField", required: true }] }], itemValueField: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemValueField", required: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], testId: [{ type: i0.Input, args: [{ isSignal: true, alias: "testId", required: false }] }], allowDecimal: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowDecimal", required: false }] }], allowNegative: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowNegative", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], hideBuiltInErrors: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideBuiltInErrors", required: false }] }], hideLabelInErrors: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideLabelInErrors", required: false }] }], maxCharacters: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxCharacters", required: false }] }], validators: [{ type: i0.Input, args: [{ isSignal: true, alias: "validators", required: false }] }], fullWidth: [{
303
- type: HostBinding,
304
- args: ['class.full-width']
305
- }, {
306
- type: Input
307
- }], valueChange: [{
308
- type: Output
309
- }], class: [{
310
- type: HostBinding
311
- }], hasCustomErrors: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasCustomErrors", required: false }] }] } });
312
-
313
- class MultiInputComponentModule {
314
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MultiInputComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
315
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: MultiInputComponentModule, imports: [CommonModule,
316
- MatInputModule,
317
- MatSelectModule,
318
- DividerComponentModule,
319
- IconComponentModule,
320
- DropdownComponentModule,
321
- ReactiveFormsModule,
322
- DigitsOnlyDirective,
323
- HasValidationErrorPipe,
324
- ValidationErrorModule,
325
- FieldComponentModule,
326
- MultiInputComponent], exports: [MultiInputComponent] }); }
327
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MultiInputComponentModule, imports: [CommonModule,
328
- MatInputModule,
329
- MatSelectModule,
330
- DividerComponentModule,
331
- IconComponentModule,
332
- DropdownComponentModule,
333
- ReactiveFormsModule,
334
- ValidationErrorModule,
335
- FieldComponentModule,
336
- MultiInputComponent] }); }
337
- }
338
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MultiInputComponentModule, decorators: [{
339
- type: NgModule,
340
- args: [{
341
- imports: [
342
- CommonModule,
343
- MatInputModule,
344
- MatSelectModule,
345
- DividerComponentModule,
346
- IconComponentModule,
347
- DropdownComponentModule,
348
- ReactiveFormsModule,
349
- DigitsOnlyDirective,
350
- HasValidationErrorPipe,
351
- ValidationErrorModule,
352
- FieldComponentModule,
353
- MultiInputComponent,
354
- ],
355
- exports: [MultiInputComponent],
356
- }]
357
- }] });
358
-
359
- /**
360
- * Generated bundle index. Do not edit.
361
- */
362
-
25
+ var MultiInputComponent = class MultiInputComponent {
26
+ ngDoCheck() {
27
+ const hasError = this.controlHasError;
28
+ if (hasError !== this.lastControlHasError) {
29
+ this.lastControlHasError = hasError;
30
+ this.cdr.markForCheck();
31
+ }
32
+ }
33
+ constructor(ngControl, fb) {
34
+ this.ngControl = ngControl;
35
+ this.fb = fb;
36
+ this.cdr = inject(ChangeDetectorRef);
37
+ this.itemsList = input.required(...ngDevMode ? [{ debugName: "itemsList" }] : /* istanbul ignore next */ []);
38
+ this.itemTextField = input.required(...ngDevMode ? [{ debugName: "itemTextField" }] : /* istanbul ignore next */ []);
39
+ this.itemValueField = input.required(...ngDevMode ? [{ debugName: "itemValueField" }] : /* istanbul ignore next */ []);
40
+ this.value = input(...ngDevMode ? [void 0, { debugName: "value" }] : /* istanbul ignore next */ []);
41
+ this.disabled = input(false, {
42
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
43
+ transform: booleanAttribute
44
+ });
45
+ this.required = input(false, {
46
+ ...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
47
+ transform: booleanAttribute
48
+ });
49
+ this.label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
50
+ this.placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
51
+ this.testId = input(null, ...ngDevMode ? [{ debugName: "testId" }] : /* istanbul ignore next */ []);
52
+ this.unitTestId = computed(() => this.testId() ? `${this.testId()}-unit` : null, ...ngDevMode ? [{ debugName: "unitTestId" }] : /* istanbul ignore next */ []);
53
+ this.valueTestId = computed(() => this.testId() ? `${this.testId()}-value` : null, ...ngDevMode ? [{ debugName: "valueTestId" }] : /* istanbul ignore next */ []);
54
+ this.allowDecimal = input(true, {
55
+ ...ngDevMode ? { debugName: "allowDecimal" } : /* istanbul ignore next */ {},
56
+ transform: booleanAttribute
57
+ });
58
+ this.allowNegative = input(true, {
59
+ ...ngDevMode ? { debugName: "allowNegative" } : /* istanbul ignore next */ {},
60
+ transform: booleanAttribute
61
+ });
62
+ this.errors = input([], ...ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []);
63
+ this.hideBuiltInErrors = input(false, {
64
+ ...ngDevMode ? { debugName: "hideBuiltInErrors" } : /* istanbul ignore next */ {},
65
+ transform: booleanAttribute
66
+ });
67
+ this.hideLabelInErrors = input(false, {
68
+ ...ngDevMode ? { debugName: "hideLabelInErrors" } : /* istanbul ignore next */ {},
69
+ transform: booleanAttribute
70
+ });
71
+ this.maxCharacters = input(0, ...ngDevMode ? [{ debugName: "maxCharacters" }] : /* istanbul ignore next */ []);
72
+ this.validators = input([], ...ngDevMode ? [{ debugName: "validators" }] : /* istanbul ignore next */ []);
73
+ this.fullWidth = false;
74
+ this.valueChange = new EventEmitter();
75
+ this.class = "ui-multi-input";
76
+ this.hasCustomErrors = input(false, {
77
+ ...ngDevMode ? { debugName: "hasCustomErrors" } : /* istanbul ignore next */ {},
78
+ transform: booleanAttribute
79
+ });
80
+ this.onChange = (_value) => {};
81
+ this.onTouch = () => {};
82
+ this.multiInputForm = this.fb.group({ value: null });
83
+ effect(() => {
84
+ this.updateDisableState(this.disabled());
85
+ });
86
+ effect(() => {
87
+ const maxCharacters = this.maxCharacters();
88
+ if (maxCharacters) {
89
+ this.inputControl?.addValidators(Validators.maxLength(maxCharacters));
90
+ this.inputControl?.updateValueAndValidity({ emitEvent: false });
91
+ }
92
+ });
93
+ effect(() => {
94
+ const inputValidators = this.validators();
95
+ if (inputValidators?.length) {
96
+ this.inputControl?.addValidators(inputValidators);
97
+ this.inputControl?.updateValueAndValidity({ emitEvent: false });
98
+ }
99
+ });
100
+ effect(() => {
101
+ const value = this.value();
102
+ if (!this.ngControl) {
103
+ this.addDropdownControl();
104
+ this.patchForm(value);
105
+ }
106
+ });
107
+ if (this.ngControl) this.ngControl.valueAccessor = this;
108
+ this.multiInputForm.valueChanges.pipe(takeUntilDestroyed()).subscribe((formValue) => {
109
+ this.valueChanged(formValue);
110
+ });
111
+ }
112
+ ngOnInit() {
113
+ this.addDropdownControl();
114
+ if (this.ngControl) this.ngControl.control?.addValidators(requiredMultiInput);
115
+ }
116
+ writeValue(value) {
117
+ this.addDropdownControl();
118
+ this.patchForm(value);
119
+ }
120
+ patchForm(value) {
121
+ if (value) this.multiInputForm.patchValue(value, { emitEvent: false });
122
+ else this.multiInputForm.reset(void 0, { emitEvent: false });
123
+ }
124
+ setDisabledState(isDisabled) {
125
+ this.updateDisableState(isDisabled);
126
+ }
127
+ registerOnChange(fn) {
128
+ this.onChange = fn;
129
+ }
130
+ registerOnTouched(fn) {
131
+ this.onTouch = fn;
132
+ }
133
+ valueChanged(value) {
134
+ this.valueChange.emit(value);
135
+ this.onChange(value);
136
+ }
137
+ get dropdownControl() {
138
+ return this.multiInputForm.controls[this.itemValueField()];
139
+ }
140
+ get inputControl() {
141
+ return this.multiInputForm.controls.value;
142
+ }
143
+ markAsTouched() {
144
+ this.onTouch();
145
+ }
146
+ addDropdownControl() {
147
+ if (!this.multiInputForm.value[this.itemValueField()]) {
148
+ this.multiInputForm.addControl(this.itemValueField(), new FormControl(null), { emitEvent: false });
149
+ this.updateDisableState(this.disabled());
150
+ }
151
+ }
152
+ get controlHasError() {
153
+ if (this.ngControl) return Boolean(this.ngControl.errors && this.ngControl.touched);
154
+ else return this.errors()?.length > 0;
155
+ }
156
+ getValueLength() {
157
+ return this.inputControl?.value?.toString().length ?? 0;
158
+ }
159
+ updateDisableState(state) {
160
+ if (state) this.multiInputForm.disable({ emitEvent: false });
161
+ else this.multiInputForm.enable({ emitEvent: false });
162
+ }
163
+ static {
164
+ this.ɵfac = i0.ɵɵngDeclareFactory({
165
+ minVersion: "12.0.0",
166
+ version: "22.2.4",
167
+ ngImport: i0,
168
+ type: MultiInputComponent,
169
+ deps: [{
170
+ token: i1.NgControl,
171
+ optional: true,
172
+ self: true
173
+ }, { token: i1.FormBuilder }],
174
+ target: i0.ɵɵFactoryTarget.Component
175
+ });
176
+ }
177
+ static {
178
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
179
+ minVersion: "17.0.0",
180
+ version: "22.2.4",
181
+ type: MultiInputComponent,
182
+ isStandalone: true,
183
+ selector: "ui-multi-input",
184
+ inputs: {
185
+ itemsList: {
186
+ classPropertyName: "itemsList",
187
+ publicName: "itemsList",
188
+ isSignal: true,
189
+ isRequired: true,
190
+ transformFunction: null
191
+ },
192
+ itemTextField: {
193
+ classPropertyName: "itemTextField",
194
+ publicName: "itemTextField",
195
+ isSignal: true,
196
+ isRequired: true,
197
+ transformFunction: null
198
+ },
199
+ itemValueField: {
200
+ classPropertyName: "itemValueField",
201
+ publicName: "itemValueField",
202
+ isSignal: true,
203
+ isRequired: true,
204
+ transformFunction: null
205
+ },
206
+ value: {
207
+ classPropertyName: "value",
208
+ publicName: "value",
209
+ isSignal: true,
210
+ isRequired: false,
211
+ transformFunction: null
212
+ },
213
+ disabled: {
214
+ classPropertyName: "disabled",
215
+ publicName: "disabled",
216
+ isSignal: true,
217
+ isRequired: false,
218
+ transformFunction: null
219
+ },
220
+ required: {
221
+ classPropertyName: "required",
222
+ publicName: "required",
223
+ isSignal: true,
224
+ isRequired: false,
225
+ transformFunction: null
226
+ },
227
+ label: {
228
+ classPropertyName: "label",
229
+ publicName: "label",
230
+ isSignal: true,
231
+ isRequired: false,
232
+ transformFunction: null
233
+ },
234
+ placeholder: {
235
+ classPropertyName: "placeholder",
236
+ publicName: "placeholder",
237
+ isSignal: true,
238
+ isRequired: false,
239
+ transformFunction: null
240
+ },
241
+ testId: {
242
+ classPropertyName: "testId",
243
+ publicName: "testId",
244
+ isSignal: true,
245
+ isRequired: false,
246
+ transformFunction: null
247
+ },
248
+ allowDecimal: {
249
+ classPropertyName: "allowDecimal",
250
+ publicName: "allowDecimal",
251
+ isSignal: true,
252
+ isRequired: false,
253
+ transformFunction: null
254
+ },
255
+ allowNegative: {
256
+ classPropertyName: "allowNegative",
257
+ publicName: "allowNegative",
258
+ isSignal: true,
259
+ isRequired: false,
260
+ transformFunction: null
261
+ },
262
+ errors: {
263
+ classPropertyName: "errors",
264
+ publicName: "errors",
265
+ isSignal: true,
266
+ isRequired: false,
267
+ transformFunction: null
268
+ },
269
+ hideBuiltInErrors: {
270
+ classPropertyName: "hideBuiltInErrors",
271
+ publicName: "hideBuiltInErrors",
272
+ isSignal: true,
273
+ isRequired: false,
274
+ transformFunction: null
275
+ },
276
+ hideLabelInErrors: {
277
+ classPropertyName: "hideLabelInErrors",
278
+ publicName: "hideLabelInErrors",
279
+ isSignal: true,
280
+ isRequired: false,
281
+ transformFunction: null
282
+ },
283
+ maxCharacters: {
284
+ classPropertyName: "maxCharacters",
285
+ publicName: "maxCharacters",
286
+ isSignal: true,
287
+ isRequired: false,
288
+ transformFunction: null
289
+ },
290
+ validators: {
291
+ classPropertyName: "validators",
292
+ publicName: "validators",
293
+ isSignal: true,
294
+ isRequired: false,
295
+ transformFunction: null
296
+ },
297
+ fullWidth: {
298
+ classPropertyName: "fullWidth",
299
+ publicName: "fullWidth",
300
+ isSignal: false,
301
+ isRequired: false,
302
+ transformFunction: null
303
+ },
304
+ hasCustomErrors: {
305
+ classPropertyName: "hasCustomErrors",
306
+ publicName: "hasCustomErrors",
307
+ isSignal: true,
308
+ isRequired: false,
309
+ transformFunction: null
310
+ }
311
+ },
312
+ outputs: { valueChange: "valueChange" },
313
+ host: { properties: {
314
+ "class.full-width": "this.fullWidth",
315
+ "class": "this.class"
316
+ } },
317
+ ngImport: i0,
318
+ template: "<div [formGroup]=\"multiInputForm\">\n <div class=\"controls-wrapper\">\n <ui-dropdown\n [hasError]=\"controlHasError\"\n [formControlName]=\"itemValueField()\"\n [valueList]=\"itemsList()\"\n [textField]=\"itemTextField()\"\n [valueField]=\"itemValueField()\"\n [showBottomContent]=\"false\"\n [allowClear]=\"false\"\n [testId]=\"unitTestId()\"\n (closed)=\"markAsTouched()\"\n ></ui-dropdown>\n\n <ui-field\n [hasError]=\"controlHasError\"\n formControlName=\"value\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [required]=\"required()\"\n [hideBuiltInErrors]=\"true\"\n [showBottomContent]=\"false\"\n [allowOnlyDigits]=\"true\"\n [fullWidth]=\"fullWidth\"\n [allowNegative]=\"allowNegative()\"\n [testId]=\"valueTestId()\"\n (focusout)=\"markAsTouched()\"\n ></ui-field>\n </div>\n\n @if (!hasCustomErrors()) {\n @if (!controlHasError && maxCharacters() && !errors()?.length) {\n <mat-hint class=\"info\">{{ getValueLength() }} / {{ maxCharacters() }}</mat-hint>\n }\n\n @if (errors()?.length || ($safeNavigationMigration(ngControl?.errors) | hasValidationError)) {\n <mat-hint class=\"error\">\n @for (error of errors(); track error) {\n <ui-icon name=\"Error-in-line\"></ui-icon>{{ error }}\n }\n @if (($safeNavigationMigration(ngControl?.errors) | hasValidationError) && !hideBuiltInErrors()) {\n <ui-validation-error\n [touchedOn]=\"!controlHasError\"\n [ngControl]=\"ngControl\"\n [label]=\"hideLabelInErrors() ? null : label()\"\n ></ui-validation-error>\n }\n </mat-hint>\n }\n }\n <ng-content select=\"[custom-errors]\"></ng-content>\n</div>\n",
319
+ styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host.ui-multi-input{position:relative!important}:host.ui-multi-input .ng-untouched,:host.ui-multi-input .ng-touched{width:fit-content}:host.ui-multi-input.full-width .ng-untouched{width:100%}:host.ui-multi-input .controls-wrapper{display:flex}:host.ui-multi-input ::ng-deep ui-validation-error .errors{display:flex}:host.ui-multi-input ::ng-deep .ui-dropdown{max-width:120px}:host.ui-multi-input ::ng-deep .ui-dropdown .mdc-notched-outline__trailing,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-text-field-wrapper,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-form-field.mat-form-field-appearance-outline.mat-form-field-disabled .mdc-notched-outline__trailing{border-right-color:transparent!important;border-top-right-radius:0!important;border-bottom-right-radius:0!important}:host.ui-multi-input ::ng-deep .ui-dropdown:hover .mdc-notched-outline__trailing,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-form-field-focused .mdc-notched-outline__trailing{border-right-color:#242424}:host.ui-multi-input ::ng-deep .ui-field .mdc-notched-outline__leading,:host.ui-multi-input ::ng-deep .ui-field .mat-mdc-text-field-wrapper{border-top-left-radius:0!important;border-bottom-left-radius:0!important}:host.ui-multi-input ::ng-deep .ui-field .mat-mdc-form-field-subscript-wrapper{position:absolute!important;left:0!important;top:48px!important}:host.ui-multi-input ::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:0!important;padding-bottom:0!important;min-height:48px!important;align-items:center!important;display:flex!important}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.info{display:block;color:#888;width:100%;text-align:right}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.error{display:flex;gap:4px;color:#e02800;align-items:center;padding:4px 0 10px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.error svg{color:#e02800}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint:before{display:none}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error{color:#e02800;font-size:12px;line-height:16px;letter-spacing:.4px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error .errors{display:flex;align-items:center;padding:4px 0 10px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error svg{margin-right:4px;color:#e02800;row-gap:0}:host.ui-multi-input .separator-line{border-left:1px solid var(--mdc-outlined-text-field-outline-color);height:40px;margin:0 12px -7px 8px}:host.ui-multi-input ::ng-deep .mat-mdc-select .mat-mdc-select-arrow-wrapper{display:none}:host.ui-multi-input ::ng-deep .mdc-text-field--outlined{padding-left:12px!important}\n"],
320
+ dependencies: [
321
+ {
322
+ kind: "ngmodule",
323
+ type: FormsModule
324
+ },
325
+ {
326
+ kind: "directive",
327
+ type: i1.NgControlStatus,
328
+ selector: "[formControlName],[ngModel],[formControl]"
329
+ },
330
+ {
331
+ kind: "directive",
332
+ type: i1.NgControlStatusGroup,
333
+ selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]"
334
+ },
335
+ {
336
+ kind: "directive",
337
+ type: i1.RequiredValidator,
338
+ selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",
339
+ inputs: ["required"]
340
+ },
341
+ {
342
+ kind: "ngmodule",
343
+ type: ReactiveFormsModule
344
+ },
345
+ {
346
+ kind: "directive",
347
+ type: i1.FormGroupDirective,
348
+ selector: "[formGroup]",
349
+ inputs: ["formGroup"],
350
+ outputs: ["ngSubmit"],
351
+ exportAs: ["ngForm"]
352
+ },
353
+ {
354
+ kind: "directive",
355
+ type: i1.FormControlName,
356
+ selector: "[formControlName]",
357
+ inputs: [
358
+ "formControlName",
359
+ "disabled",
360
+ "ngModel"
361
+ ],
362
+ outputs: ["ngModelChange"]
363
+ },
364
+ {
365
+ kind: "component",
366
+ type: DropdownComponent,
367
+ selector: "ui-dropdown",
368
+ inputs: [
369
+ "label",
370
+ "labelIcon",
371
+ "isAIVariant",
372
+ "name",
373
+ "placeholder",
374
+ "id",
375
+ "testId",
376
+ "ariaLabel",
377
+ "value",
378
+ "errors",
379
+ "disabled",
380
+ "valueList",
381
+ "allowClear",
382
+ "allowMultipleSelection",
383
+ "required",
384
+ "showBottomContent",
385
+ "applicationTheme",
386
+ "hideBuiltInErrors",
387
+ "hideLabelInErrors",
388
+ "textField",
389
+ "valueField",
390
+ "hasError",
391
+ "companyColor",
392
+ "panelClass"
393
+ ],
394
+ outputs: ["closed", "opened"]
395
+ },
396
+ {
397
+ kind: "component",
398
+ type: FieldComponent,
399
+ selector: "ui-field",
400
+ inputs: [
401
+ "fullWidth",
402
+ "fullHeight",
403
+ "label",
404
+ "labelHtml",
405
+ "labelIcon",
406
+ "fieldName",
407
+ "placeholder",
408
+ "id",
409
+ "value",
410
+ "badgeVariant",
411
+ "errors",
412
+ "disabled",
413
+ "required",
414
+ "readOnly",
415
+ "hintMessage",
416
+ "type",
417
+ "updateOnBlur",
418
+ "allowOnlyDigits",
419
+ "isAutocompleteOff",
420
+ "allowNegative",
421
+ "showBottomContent",
422
+ "applicationTheme",
423
+ "ariaLabel",
424
+ "testId",
425
+ "loading",
426
+ "isValid",
427
+ "maxCharacters",
428
+ "trimOnBlur",
429
+ "trimOnSubmit",
430
+ "maxRows",
431
+ "hasTextAreaCounter",
432
+ "hideBuiltInErrors",
433
+ "hideLabelInErrors",
434
+ "max",
435
+ "min",
436
+ "textareaHeight",
437
+ "borderless",
438
+ "autosizableTextarea",
439
+ "isAIVariant",
440
+ "ariaLabelledby",
441
+ "ariaDescribedby",
442
+ "hasError"
443
+ ],
444
+ outputs: ["validateEvent", "fieldBlur"]
445
+ },
446
+ {
447
+ kind: "directive",
448
+ type: MatHint,
449
+ selector: "mat-hint",
450
+ inputs: ["align", "id"]
451
+ },
452
+ {
453
+ kind: "ngmodule",
454
+ type: IconComponentModule
455
+ },
456
+ {
457
+ kind: "component",
458
+ type: i2.IconComponent,
459
+ selector: "ui-icon",
460
+ inputs: [
461
+ "size",
462
+ "cssClass",
463
+ "name",
464
+ "color",
465
+ "filled",
466
+ "toggleIconStyle",
467
+ "applicationTheme",
468
+ "useFullIconName"
469
+ ]
470
+ },
471
+ {
472
+ kind: "ngmodule",
473
+ type: ValidationErrorModule
474
+ },
475
+ {
476
+ kind: "component",
477
+ type: i3.ValidationErrorComponent,
478
+ selector: "ui-validation-error",
479
+ inputs: [
480
+ "ngControl",
481
+ "touchedOn",
482
+ "errorMessage",
483
+ "label",
484
+ "applicationTheme",
485
+ "customErrors"
486
+ ]
487
+ },
488
+ {
489
+ kind: "pipe",
490
+ type: HasValidationErrorPipe,
491
+ name: "hasValidationError"
492
+ }
493
+ ],
494
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
495
+ });
496
+ }
497
+ };
498
+ i0.ɵɵngDeclareClassMetadata({
499
+ minVersion: "12.0.0",
500
+ version: "22.2.4",
501
+ ngImport: i0,
502
+ type: MultiInputComponent,
503
+ decorators: [{
504
+ type: Component,
505
+ args: [{
506
+ selector: "ui-multi-input",
507
+ changeDetection: ChangeDetectionStrategy.OnPush,
508
+ imports: [
509
+ FormsModule,
510
+ ReactiveFormsModule,
511
+ DropdownComponent,
512
+ FieldComponent,
513
+ MatHint,
514
+ IconComponentModule,
515
+ ValidationErrorModule,
516
+ HasValidationErrorPipe
517
+ ],
518
+ template: "<div [formGroup]=\"multiInputForm\">\n <div class=\"controls-wrapper\">\n <ui-dropdown\n [hasError]=\"controlHasError\"\n [formControlName]=\"itemValueField()\"\n [valueList]=\"itemsList()\"\n [textField]=\"itemTextField()\"\n [valueField]=\"itemValueField()\"\n [showBottomContent]=\"false\"\n [allowClear]=\"false\"\n [testId]=\"unitTestId()\"\n (closed)=\"markAsTouched()\"\n ></ui-dropdown>\n\n <ui-field\n [hasError]=\"controlHasError\"\n formControlName=\"value\"\n [label]=\"label()\"\n [placeholder]=\"placeholder()\"\n [required]=\"required()\"\n [hideBuiltInErrors]=\"true\"\n [showBottomContent]=\"false\"\n [allowOnlyDigits]=\"true\"\n [fullWidth]=\"fullWidth\"\n [allowNegative]=\"allowNegative()\"\n [testId]=\"valueTestId()\"\n (focusout)=\"markAsTouched()\"\n ></ui-field>\n </div>\n\n @if (!hasCustomErrors()) {\n @if (!controlHasError && maxCharacters() && !errors()?.length) {\n <mat-hint class=\"info\">{{ getValueLength() }} / {{ maxCharacters() }}</mat-hint>\n }\n\n @if (errors()?.length || ($safeNavigationMigration(ngControl?.errors) | hasValidationError)) {\n <mat-hint class=\"error\">\n @for (error of errors(); track error) {\n <ui-icon name=\"Error-in-line\"></ui-icon>{{ error }}\n }\n @if (($safeNavigationMigration(ngControl?.errors) | hasValidationError) && !hideBuiltInErrors()) {\n <ui-validation-error\n [touchedOn]=\"!controlHasError\"\n [ngControl]=\"ngControl\"\n [label]=\"hideLabelInErrors() ? null : label()\"\n ></ui-validation-error>\n }\n </mat-hint>\n }\n }\n <ng-content select=\"[custom-errors]\"></ng-content>\n</div>\n",
519
+ styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host.ui-multi-input{position:relative!important}:host.ui-multi-input .ng-untouched,:host.ui-multi-input .ng-touched{width:fit-content}:host.ui-multi-input.full-width .ng-untouched{width:100%}:host.ui-multi-input .controls-wrapper{display:flex}:host.ui-multi-input ::ng-deep ui-validation-error .errors{display:flex}:host.ui-multi-input ::ng-deep .ui-dropdown{max-width:120px}:host.ui-multi-input ::ng-deep .ui-dropdown .mdc-notched-outline__trailing,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-text-field-wrapper,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-form-field.mat-form-field-appearance-outline.mat-form-field-disabled .mdc-notched-outline__trailing{border-right-color:transparent!important;border-top-right-radius:0!important;border-bottom-right-radius:0!important}:host.ui-multi-input ::ng-deep .ui-dropdown:hover .mdc-notched-outline__trailing,:host.ui-multi-input ::ng-deep .ui-dropdown .mat-mdc-form-field-focused .mdc-notched-outline__trailing{border-right-color:#242424}:host.ui-multi-input ::ng-deep .ui-field .mdc-notched-outline__leading,:host.ui-multi-input ::ng-deep .ui-field .mat-mdc-text-field-wrapper{border-top-left-radius:0!important;border-bottom-left-radius:0!important}:host.ui-multi-input ::ng-deep .ui-field .mat-mdc-form-field-subscript-wrapper{position:absolute!important;left:0!important;top:48px!important}:host.ui-multi-input ::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:0!important;padding-bottom:0!important;min-height:48px!important;align-items:center!important;display:flex!important}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.info{display:block;color:#888;width:100%;text-align:right}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.error{display:flex;gap:4px;color:#e02800;align-items:center;padding:4px 0 10px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint.error svg{color:#e02800}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint:before{display:none}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error{color:#e02800;font-size:12px;line-height:16px;letter-spacing:.4px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error .errors{display:flex;align-items:center;padding:4px 0 10px}:host.ui-multi-input ::ng-deep .mat-mdc-form-field-hint ui-validation-error svg{margin-right:4px;color:#e02800;row-gap:0}:host.ui-multi-input .separator-line{border-left:1px solid var(--mdc-outlined-text-field-outline-color);height:40px;margin:0 12px -7px 8px}:host.ui-multi-input ::ng-deep .mat-mdc-select .mat-mdc-select-arrow-wrapper{display:none}:host.ui-multi-input ::ng-deep .mdc-text-field--outlined{padding-left:12px!important}\n"]
520
+ }]
521
+ }],
522
+ ctorParameters: () => [{
523
+ type: i1.NgControl,
524
+ decorators: [{ type: Optional }, { type: Self }]
525
+ }, { type: i1.FormBuilder }],
526
+ propDecorators: {
527
+ itemsList: [{
528
+ type: i0.Input,
529
+ args: [{
530
+ isSignal: true,
531
+ alias: "itemsList",
532
+ required: true
533
+ }]
534
+ }],
535
+ itemTextField: [{
536
+ type: i0.Input,
537
+ args: [{
538
+ isSignal: true,
539
+ alias: "itemTextField",
540
+ required: true
541
+ }]
542
+ }],
543
+ itemValueField: [{
544
+ type: i0.Input,
545
+ args: [{
546
+ isSignal: true,
547
+ alias: "itemValueField",
548
+ required: true
549
+ }]
550
+ }],
551
+ value: [{
552
+ type: i0.Input,
553
+ args: [{
554
+ isSignal: true,
555
+ alias: "value",
556
+ required: false
557
+ }]
558
+ }],
559
+ disabled: [{
560
+ type: i0.Input,
561
+ args: [{
562
+ isSignal: true,
563
+ alias: "disabled",
564
+ required: false
565
+ }]
566
+ }],
567
+ required: [{
568
+ type: i0.Input,
569
+ args: [{
570
+ isSignal: true,
571
+ alias: "required",
572
+ required: false
573
+ }]
574
+ }],
575
+ label: [{
576
+ type: i0.Input,
577
+ args: [{
578
+ isSignal: true,
579
+ alias: "label",
580
+ required: false
581
+ }]
582
+ }],
583
+ placeholder: [{
584
+ type: i0.Input,
585
+ args: [{
586
+ isSignal: true,
587
+ alias: "placeholder",
588
+ required: false
589
+ }]
590
+ }],
591
+ testId: [{
592
+ type: i0.Input,
593
+ args: [{
594
+ isSignal: true,
595
+ alias: "testId",
596
+ required: false
597
+ }]
598
+ }],
599
+ allowDecimal: [{
600
+ type: i0.Input,
601
+ args: [{
602
+ isSignal: true,
603
+ alias: "allowDecimal",
604
+ required: false
605
+ }]
606
+ }],
607
+ allowNegative: [{
608
+ type: i0.Input,
609
+ args: [{
610
+ isSignal: true,
611
+ alias: "allowNegative",
612
+ required: false
613
+ }]
614
+ }],
615
+ errors: [{
616
+ type: i0.Input,
617
+ args: [{
618
+ isSignal: true,
619
+ alias: "errors",
620
+ required: false
621
+ }]
622
+ }],
623
+ hideBuiltInErrors: [{
624
+ type: i0.Input,
625
+ args: [{
626
+ isSignal: true,
627
+ alias: "hideBuiltInErrors",
628
+ required: false
629
+ }]
630
+ }],
631
+ hideLabelInErrors: [{
632
+ type: i0.Input,
633
+ args: [{
634
+ isSignal: true,
635
+ alias: "hideLabelInErrors",
636
+ required: false
637
+ }]
638
+ }],
639
+ maxCharacters: [{
640
+ type: i0.Input,
641
+ args: [{
642
+ isSignal: true,
643
+ alias: "maxCharacters",
644
+ required: false
645
+ }]
646
+ }],
647
+ validators: [{
648
+ type: i0.Input,
649
+ args: [{
650
+ isSignal: true,
651
+ alias: "validators",
652
+ required: false
653
+ }]
654
+ }],
655
+ fullWidth: [{
656
+ type: HostBinding,
657
+ args: ["class.full-width"]
658
+ }, { type: Input }],
659
+ valueChange: [{ type: Output }],
660
+ class: [{ type: HostBinding }],
661
+ hasCustomErrors: [{
662
+ type: i0.Input,
663
+ args: [{
664
+ isSignal: true,
665
+ alias: "hasCustomErrors",
666
+ required: false
667
+ }]
668
+ }]
669
+ }
670
+ });
671
+ var MultiInputComponentModule = class MultiInputComponentModule {
672
+ static {
673
+ this.ɵfac = i0.ɵɵngDeclareFactory({
674
+ minVersion: "12.0.0",
675
+ version: "22.2.4",
676
+ ngImport: i0,
677
+ type: MultiInputComponentModule,
678
+ deps: [],
679
+ target: i0.ɵɵFactoryTarget.NgModule
680
+ });
681
+ }
682
+ static {
683
+ this.ɵmod = i0.ɵɵngDeclareNgModule({
684
+ minVersion: "14.0.0",
685
+ version: "22.2.4",
686
+ ngImport: i0,
687
+ type: MultiInputComponentModule,
688
+ imports: [
689
+ CommonModule,
690
+ MatInputModule,
691
+ MatSelectModule,
692
+ DividerComponentModule,
693
+ IconComponentModule,
694
+ DropdownComponentModule,
695
+ ReactiveFormsModule,
696
+ DigitsOnlyDirective,
697
+ HasValidationErrorPipe,
698
+ ValidationErrorModule,
699
+ FieldComponentModule,
700
+ MultiInputComponent
701
+ ],
702
+ exports: [MultiInputComponent]
703
+ });
704
+ }
705
+ static {
706
+ this.ɵinj = i0.ɵɵngDeclareInjector({
707
+ minVersion: "12.0.0",
708
+ version: "22.2.4",
709
+ ngImport: i0,
710
+ type: MultiInputComponentModule,
711
+ imports: [
712
+ CommonModule,
713
+ MatInputModule,
714
+ MatSelectModule,
715
+ DividerComponentModule,
716
+ IconComponentModule,
717
+ DropdownComponentModule,
718
+ ReactiveFormsModule,
719
+ ValidationErrorModule,
720
+ FieldComponentModule,
721
+ MultiInputComponent
722
+ ]
723
+ });
724
+ }
725
+ };
726
+ i0.ɵɵngDeclareClassMetadata({
727
+ minVersion: "12.0.0",
728
+ version: "22.2.4",
729
+ ngImport: i0,
730
+ type: MultiInputComponentModule,
731
+ decorators: [{
732
+ type: NgModule,
733
+ args: [{
734
+ imports: [
735
+ CommonModule,
736
+ MatInputModule,
737
+ MatSelectModule,
738
+ DividerComponentModule,
739
+ IconComponentModule,
740
+ DropdownComponentModule,
741
+ ReactiveFormsModule,
742
+ DigitsOnlyDirective,
743
+ HasValidationErrorPipe,
744
+ ValidationErrorModule,
745
+ FieldComponentModule,
746
+ MultiInputComponent
747
+ ],
748
+ exports: [MultiInputComponent]
749
+ }]
750
+ }]
751
+ });
363
752
  export { MultiInputComponent, MultiInputComponentModule, requiredMultiInput };
364
- //# sourceMappingURL=testgorilla-tgo-ui-components-multi-input.mjs.map
753
+
754
+ //# sourceMappingURL=testgorilla-tgo-ui-components-multi-input.mjs.map