@testgorilla/tgo-ui 7.0.0-beta.0 → 7.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 (518) hide show
  1. package/components/accordion/accordion.component.d.ts +100 -0
  2. package/components/accordion/accordion.component.module.d.ts +12 -0
  3. package/components/accordion/accordion.model.d.ts +2 -0
  4. package/components/accordion/index.d.ts +5 -118
  5. package/components/accordion/public-api.d.ts +4 -0
  6. package/components/ai-audio-circle/ai-audio-circle.component.d.ts +60 -0
  7. package/components/ai-audio-circle/ai-audio-circle.module.d.ts +8 -0
  8. package/components/ai-audio-circle/index.d.ts +5 -70
  9. package/components/ai-audio-circle/public-api.d.ts +2 -0
  10. package/components/ai-caveat/ai-caveat.component.d.ts +36 -0
  11. package/components/ai-caveat/ai-caveat.component.module.d.ts +10 -0
  12. package/components/ai-caveat/index.d.ts +3 -47
  13. package/components/ai-caveat/public-api.d.ts +3 -0
  14. package/components/ai-feedback/ai-feedback.component.d.ts +52 -0
  15. package/components/ai-feedback/ai-feedback.model.d.ts +19 -0
  16. package/components/ai-feedback/ai-feedback.module.d.ts +16 -0
  17. package/components/ai-feedback/index.d.ts +5 -92
  18. package/components/ai-feedback/public-api.d.ts +4 -0
  19. package/components/alert-banner/alert-banner.component.d.ts +144 -0
  20. package/components/alert-banner/alert-banner.component.module.d.ts +12 -0
  21. package/components/alert-banner/alert-banner.model.d.ts +6 -0
  22. package/components/alert-banner/index.d.ts +5 -165
  23. package/components/alert-banner/public-api.d.ts +4 -0
  24. package/components/audio-waveform/audio-waveform.component.d.ts +32 -0
  25. package/components/audio-waveform/audio-waveform.model.d.ts +8 -0
  26. package/components/audio-waveform/audio-waveform.module.d.ts +7 -0
  27. package/components/audio-waveform/audio-waveform.service.d.ts +21 -0
  28. package/components/audio-waveform/index.d.ts +5 -71
  29. package/components/audio-waveform/public-api.d.ts +4 -0
  30. package/components/autocomplete/autocomplete.component.d.ts +324 -0
  31. package/components/autocomplete/autocomplete.component.module.d.ts +23 -0
  32. package/components/autocomplete/autocomplete.model.d.ts +23 -0
  33. package/components/autocomplete/includes.pipe.d.ts +12 -0
  34. package/components/autocomplete/index.d.ts +3 -414
  35. package/components/autocomplete/prevent-input.directive.d.ts +7 -0
  36. package/components/autocomplete/public-api.d.ts +4 -0
  37. package/components/autocomplete/select-text.directive.d.ts +19 -0
  38. package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
  39. package/components/avatar/avatar.component.d.ts +67 -0
  40. package/components/avatar/avatar.component.module.d.ts +13 -0
  41. package/components/avatar/avatar.model.d.ts +18 -0
  42. package/components/avatar/index.d.ts +5 -107
  43. package/components/avatar/name-initials.pipe.d.ts +7 -0
  44. package/components/avatar/public-api.d.ts +4 -0
  45. package/components/badge/badge.component.d.ts +73 -0
  46. package/components/badge/badge.component.module.d.ts +10 -0
  47. package/components/badge/badge.model.d.ts +38 -0
  48. package/components/badge/index.d.ts +5 -125
  49. package/components/badge/public-api.d.ts +4 -0
  50. package/components/breadcrumb/breadcrumb.component.d.ts +40 -0
  51. package/components/breadcrumb/breadcrumb.component.module.d.ts +14 -0
  52. package/components/breadcrumb/breadcrumb.model.d.ts +5 -0
  53. package/components/breadcrumb/index.d.ts +5 -62
  54. package/components/breadcrumb/public-api.d.ts +4 -0
  55. package/components/button/button.component.d.ts +238 -0
  56. package/components/button/button.component.module.d.ts +15 -0
  57. package/components/button/button.model.d.ts +14 -0
  58. package/components/button/color-contrast.d.ts +28 -0
  59. package/components/button/index.d.ts +3 -298
  60. package/components/button/public-api.d.ts +5 -0
  61. package/components/card/card.component.d.ts +87 -0
  62. package/components/card/card.component.module.d.ts +9 -0
  63. package/components/card/card.model.d.ts +3 -0
  64. package/components/card/index.d.ts +5 -103
  65. package/components/card/public-api.d.ts +4 -0
  66. package/components/checkbox/checkbox.component.d.ts +193 -0
  67. package/components/checkbox/checkbox.component.module.d.ts +16 -0
  68. package/components/checkbox/focus-visible.directive.d.ts +12 -0
  69. package/components/checkbox/index.d.ts +5 -221
  70. package/components/checkbox/public-api.d.ts +4 -0
  71. package/components/checklist/checklist.component.d.ts +82 -0
  72. package/components/checklist/checklist.model.d.ts +9 -0
  73. package/components/checklist/index.d.ts +5 -97
  74. package/components/checklist/public-api.d.ts +3 -0
  75. package/components/core/alert-bar.model.d.ts +2 -0
  76. package/components/core/alert-bars.utils.d.ts +6 -0
  77. package/components/core/application-theme.model.d.ts +7 -0
  78. package/components/core/autocomplete-utils.d.ts +12 -0
  79. package/components/core/checkbox.model.d.ts +1 -0
  80. package/components/core/color-contrast.d.ts +28 -0
  81. package/components/core/colors.model.d.ts +63 -0
  82. package/components/core/data-property-getter.pipe.d.ts +8 -0
  83. package/components/core/digits-only.directive.d.ts +17 -0
  84. package/components/core/dynamic-component.directive.d.ts +20 -0
  85. package/components/core/ellipse-text.directive.d.ts +20 -0
  86. package/components/core/has-validation-error.pipe.d.ts +15 -0
  87. package/components/core/hex-to-rgb.d.ts +1 -0
  88. package/components/core/index.d.ts +3 -346
  89. package/components/core/is-large-tablet.d.ts +2 -0
  90. package/components/core/is-mobile.d.ts +2 -0
  91. package/components/core/keyboard-events.model.d.ts +11 -0
  92. package/components/core/language.model.d.ts +14 -0
  93. package/components/core/language.service.d.ts +20 -0
  94. package/components/core/link-target.model.d.ts +1 -0
  95. package/components/core/memoize-func.pipe.d.ts +26 -0
  96. package/components/core/public-api.d.ts +25 -0
  97. package/components/core/screen-breakpoints.model.d.ts +5 -0
  98. package/components/core/select-text.directive.d.ts +19 -0
  99. package/components/core/truncate.pipe.d.ts +7 -0
  100. package/components/core/ui-ordinal-suffix.pipe.d.ts +7 -0
  101. package/components/core/ui-translate.pipe.d.ts +32 -0
  102. package/components/datepicker/date-adapter.d.ts +34 -0
  103. package/components/datepicker/datepicker.component.d.ts +235 -0
  104. package/components/datepicker/datepicker.component.module.d.ts +17 -0
  105. package/components/datepicker/datepicker.service.d.ts +8 -0
  106. package/components/datepicker/index.d.ts +5 -305
  107. package/components/datepicker/no-date-format.directive.d.ts +11 -0
  108. package/components/datepicker/public-api.d.ts +6 -0
  109. package/components/deprecated-paginator/deprecated-paginator.component.d.ts +34 -0
  110. package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
  111. package/components/dialog/confirm-dialog/confirm-dialog.component.d.ts +38 -0
  112. package/components/dialog/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
  113. package/components/dialog/confirm-dialog/confirm-dialog.model.d.ts +47 -0
  114. package/components/dialog/dialog-custom/dialog-custom.component.d.ts +22 -0
  115. package/components/dialog/dialog-custom/dialog-custom.component.module.d.ts +10 -0
  116. package/components/dialog/dialog.component.d.ts +163 -0
  117. package/components/dialog/dialog.component.module.d.ts +11 -0
  118. package/components/dialog/dialog.model.d.ts +12 -0
  119. package/components/dialog/dialog.service.d.ts +14 -0
  120. package/components/dialog/index.d.ts +5 -308
  121. package/components/dialog/public-api.d.ts +10 -0
  122. package/components/divider/divider.component.d.ts +39 -0
  123. package/components/divider/divider.component.module.d.ts +9 -0
  124. package/components/divider/divider.model.d.ts +1 -0
  125. package/components/divider/index.d.ts +5 -53
  126. package/components/divider/public-api.d.ts +4 -0
  127. package/components/donut-chart/donut-chart.component.d.ts +22 -0
  128. package/components/donut-chart/donut-chart.component.model.d.ts +6 -0
  129. package/components/donut-chart/donut-chart.component.module.d.ts +8 -0
  130. package/components/donut-chart/index.d.ts +5 -39
  131. package/components/donut-chart/public-api.d.ts +3 -0
  132. package/components/dropdown/dropdown.component.d.ts +214 -0
  133. package/components/dropdown/dropdown.component.module.d.ts +16 -0
  134. package/components/dropdown/dropdown.model.d.ts +6 -0
  135. package/components/dropdown/index.d.ts +5 -240
  136. package/components/dropdown/public-api.d.ts +4 -0
  137. package/components/elevation-shadow/elevation-shadow.component.d.ts +26 -0
  138. package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
  139. package/components/elevation-shadow/elevation-shadow.constant.d.ts +8 -0
  140. package/components/elevation-shadow/index.d.ts +5 -45
  141. package/components/elevation-shadow/public-api.d.ts +3 -0
  142. package/components/empty-state/empty-state.component.d.ts +199 -0
  143. package/components/empty-state/empty-state.component.module.d.ts +11 -0
  144. package/components/empty-state/empty-state.model.d.ts +3 -0
  145. package/components/empty-state/index.d.ts +5 -217
  146. package/components/empty-state/public-api.d.ts +4 -0
  147. package/components/field/field.component.d.ts +376 -0
  148. package/components/field/field.component.module.d.ts +17 -0
  149. package/components/field/field.model.d.ts +1 -0
  150. package/components/field/index.d.ts +3 -396
  151. package/components/field/public-api.d.ts +4 -0
  152. package/components/file-upload/drag-drop.directive.d.ts +12 -0
  153. package/components/file-upload/file-upload.component.d.ts +142 -0
  154. package/components/file-upload/file-upload.component.module.d.ts +14 -0
  155. package/components/file-upload/index.d.ts +5 -169
  156. package/components/file-upload/public-api.d.ts +3 -0
  157. package/components/filter-button/filter-button.component.d.ts +140 -0
  158. package/components/filter-button/filter-button.component.module.d.ts +17 -0
  159. package/components/filter-button/filter-button.model.d.ts +13 -0
  160. package/components/filter-button/index.d.ts +5 -173
  161. package/components/filter-button/public-api.d.ts +4 -0
  162. package/components/gaussian-chart/gaussian-chart.component.d.ts +82 -0
  163. package/components/gaussian-chart/gaussian-chart.module.d.ts +12 -0
  164. package/components/gaussian-chart/index.d.ts +5 -96
  165. package/components/gaussian-chart/public-api.d.ts +2 -0
  166. package/components/icon/icon-svg-content.d.ts +16 -0
  167. package/components/icon/icon.component.d.ts +72 -0
  168. package/components/icon/icon.component.module.d.ts +10 -0
  169. package/components/icon/icon.config.d.ts +10 -0
  170. package/components/icon/icon.model.d.ts +7 -0
  171. package/components/icon/icons.service.d.ts +8 -0
  172. package/components/icon/index.d.ts +5 -109
  173. package/components/icon/public-api.d.ts +6 -0
  174. package/components/icon-label/icon-label.component.d.ts +51 -0
  175. package/components/icon-label/icon-label.component.module.d.ts +9 -0
  176. package/components/icon-label/index.d.ts +5 -62
  177. package/components/icon-label/public-api.d.ts +2 -0
  178. package/components/inline-field/index.d.ts +3 -273
  179. package/components/inline-field/inline-field.component.d.ts +153 -0
  180. package/components/inline-field/inline-field.component.module.d.ts +13 -0
  181. package/components/inline-field/inline-field.model.d.ts +107 -0
  182. package/components/inline-field/public-api.d.ts +4 -0
  183. package/components/logo/index.d.ts +5 -106
  184. package/components/logo/logo.component.d.ts +66 -0
  185. package/components/logo/logo.component.module.d.ts +8 -0
  186. package/components/logo/logo.model.d.ts +29 -0
  187. package/components/logo/public-api.d.ts +4 -0
  188. package/components/media-card/index.d.ts +5 -35
  189. package/components/media-card/media-card.component.d.ts +32 -0
  190. package/components/media-card/public-api.d.ts +1 -0
  191. package/components/media-dialog/index.d.ts +5 -47
  192. package/components/media-dialog/media-dialog.component.d.ts +28 -0
  193. package/components/media-dialog/media-dialog.model.d.ts +16 -0
  194. package/components/media-dialog/public-api.d.ts +2 -0
  195. package/components/multi-input/index.d.ts +5 -185
  196. package/components/multi-input/multi-input.component.d.ts +158 -0
  197. package/components/multi-input/multi-input.component.module.d.ts +17 -0
  198. package/components/multi-input/multi-input.model.d.ts +4 -0
  199. package/components/multi-input/public-api.d.ts +5 -0
  200. package/components/multi-input/required-multi-input.validator.d.ts +3 -0
  201. package/components/navbar/index.d.ts +5 -203
  202. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +28 -0
  203. package/components/navbar/navbar.component.d.ts +133 -0
  204. package/components/navbar/navbar.component.module.d.ts +21 -0
  205. package/components/navbar/navbar.model.d.ts +21 -0
  206. package/components/navbar/public-api.d.ts +5 -0
  207. package/components/overflow-menu/index.d.ts +5 -163
  208. package/components/overflow-menu/overflow-menu.component.d.ts +117 -0
  209. package/components/overflow-menu/overflow-menu.component.module.d.ts +14 -0
  210. package/components/overflow-menu/overflow-menu.model.d.ts +32 -0
  211. package/components/overflow-menu/public-api.d.ts +4 -0
  212. package/components/page-header/index.d.ts +5 -51
  213. package/components/page-header/page-header.component.d.ts +38 -0
  214. package/components/page-header/page-header.component.module.d.ts +10 -0
  215. package/components/page-header/public-api.d.ts +3 -0
  216. package/components/paginator/index.d.ts +5 -70
  217. package/components/paginator/paginator.component.d.ts +58 -0
  218. package/components/paginator/paginator.component.module.d.ts +9 -0
  219. package/components/paginator/public-api.d.ts +3 -0
  220. package/components/password-criteria/index.d.ts +5 -60
  221. package/components/password-criteria/password.component.d.ts +44 -0
  222. package/components/password-criteria/password.component.module.d.ts +13 -0
  223. package/components/password-criteria/public-api.d.ts +3 -0
  224. package/components/password-strength/index.d.ts +5 -59
  225. package/components/password-strength/password-strength.component.d.ts +45 -0
  226. package/components/password-strength/password-strength.component.module.d.ts +11 -0
  227. package/components/password-strength/public-api.d.ts +3 -0
  228. package/components/phone-input/index.d.ts +3 -179
  229. package/components/phone-input/join-strings.pipe.d.ts +7 -0
  230. package/components/phone-input/phone-input.component.d.ts +145 -0
  231. package/components/phone-input/phone-input.component.module.d.ts +19 -0
  232. package/components/phone-input/phone-input.model.d.ts +8 -0
  233. package/components/phone-input/public-api.d.ts +5 -0
  234. package/components/popover/index.d.ts +5 -34
  235. package/components/popover/popover.component.d.ts +9 -0
  236. package/components/popover/popover.directive.d.ts +31 -0
  237. package/components/popover/public-api.d.ts +1 -0
  238. package/components/progress-bar/index.d.ts +5 -86
  239. package/components/progress-bar/progress-bar.component.d.ts +73 -0
  240. package/components/progress-bar/progress-bar.component.module.d.ts +10 -0
  241. package/components/progress-bar/public-api.d.ts +3 -0
  242. package/components/prompt/index.d.ts +5 -95
  243. package/components/prompt/prompt.component.d.ts +62 -0
  244. package/components/prompt/prompt.model.d.ts +9 -0
  245. package/components/prompt/prompt.module.d.ts +20 -0
  246. package/components/prompt/public-api.d.ts +4 -0
  247. package/components/radial-progress/index.d.ts +5 -99
  248. package/components/radial-progress/public-api.d.ts +4 -0
  249. package/components/radial-progress/radial-progress.component.d.ts +75 -0
  250. package/components/radial-progress/radial-progress.component.module.d.ts +10 -0
  251. package/components/radial-progress/radial-progress.model.d.ts +10 -0
  252. package/components/radio-button/index.d.ts +5 -211
  253. package/components/radio-button/public-api.d.ts +4 -0
  254. package/components/radio-button/radio-button.component.d.ts +189 -0
  255. package/components/radio-button/radio-button.component.module.d.ts +15 -0
  256. package/components/radio-button/radio-button.model.d.ts +4 -0
  257. package/components/rating/half-star.pipe.d.ts +14 -0
  258. package/components/rating/index.d.ts +5 -97
  259. package/components/rating/public-api.d.ts +3 -0
  260. package/components/rating/rating.component.d.ts +71 -0
  261. package/components/rating/rating.component.module.d.ts +10 -0
  262. package/components/scale/index.d.ts +5 -65
  263. package/components/scale/public-api.d.ts +3 -0
  264. package/components/scale/scale.component.d.ts +54 -0
  265. package/components/scale/scale.component.module.d.ts +8 -0
  266. package/components/scale-table/index.d.ts +5 -49
  267. package/components/scale-table/public-api.d.ts +3 -0
  268. package/components/scale-table/scale-table.component.d.ts +39 -0
  269. package/components/scale-table/scale-table.model.d.ts +5 -0
  270. package/components/segmented-bar/index.d.ts +5 -92
  271. package/components/segmented-bar/public-api.d.ts +4 -0
  272. package/components/segmented-bar/segmented-bar.component.d.ts +64 -0
  273. package/components/segmented-bar/segmented-bar.component.module.d.ts +12 -0
  274. package/components/segmented-bar/segmented-bar.model.d.ts +12 -0
  275. package/components/segmented-button/index.d.ts +5 -77
  276. package/components/segmented-button/public-api.d.ts +4 -0
  277. package/components/segmented-button/segmented-button.component.d.ts +55 -0
  278. package/components/segmented-button/segmented-button.component.module.d.ts +11 -0
  279. package/components/segmented-button/segmented-button.model.d.ts +8 -0
  280. package/components/selectable-card/index.d.ts +5 -50
  281. package/components/selectable-card/public-api.d.ts +2 -0
  282. package/components/selectable-card/selectable-card.component.d.ts +38 -0
  283. package/components/selectable-card/selectable-card.component.module.d.ts +10 -0
  284. package/components/side-panel/index.d.ts +3 -97
  285. package/components/side-panel/public-api.d.ts +5 -0
  286. package/components/side-panel/side-panel-data-injection-token.d.ts +2 -0
  287. package/components/side-panel/side-panel.animations.d.ts +3 -0
  288. package/components/side-panel/side-panel.component.d.ts +22 -0
  289. package/components/side-panel/side-panel.model.d.ts +46 -0
  290. package/components/side-panel/side-panel.service.d.ts +22 -0
  291. package/components/side-sheet/index.d.ts +5 -81
  292. package/components/side-sheet/public-api.d.ts +4 -0
  293. package/components/side-sheet/side-sheet.component.d.ts +43 -0
  294. package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
  295. package/components/side-sheet/side-sheet.model.d.ts +10 -0
  296. package/components/side-sheet/side-sheet.service.d.ts +14 -0
  297. package/components/skeleton/index.d.ts +5 -34
  298. package/components/skeleton/public-api.d.ts +3 -0
  299. package/components/skeleton/skeleton.component.d.ts +27 -0
  300. package/components/skeleton/skeleton.model.d.ts +2 -0
  301. package/components/slider/index.d.ts +5 -144
  302. package/components/slider/public-api.d.ts +4 -0
  303. package/components/slider/slider.component.d.ts +128 -0
  304. package/components/slider/slider.component.module.d.ts +7 -0
  305. package/components/slider/slider.model.d.ts +5 -0
  306. package/components/snackbar/index.d.ts +5 -162
  307. package/components/snackbar/public-api.d.ts +5 -0
  308. package/components/snackbar/snackbar.component.d.ts +126 -0
  309. package/components/snackbar/snackbar.component.module.d.ts +13 -0
  310. package/components/snackbar/snackbar.model.d.ts +7 -0
  311. package/components/snackbar/snackbar.service.d.ts +16 -0
  312. package/components/spider-chart/index.d.ts +5 -127
  313. package/components/spider-chart/public-api.d.ts +3 -0
  314. package/components/spider-chart/spider-chart.component.d.ts +90 -0
  315. package/components/spider-chart/spider-chart.model.d.ts +12 -0
  316. package/components/spider-chart/spider-chart.module.d.ts +12 -0
  317. package/components/spinner/index.d.ts +5 -74
  318. package/components/spinner/public-api.d.ts +4 -0
  319. package/components/spinner/spinner.component.d.ts +59 -0
  320. package/components/spinner/spinner.model.d.ts +1 -0
  321. package/components/spinner/spinner.module.d.ts +10 -0
  322. package/components/stepper/index.d.ts +3 -341
  323. package/components/stepper/public-api.d.ts +7 -0
  324. package/components/stepper/step-line-element.directive.d.ts +17 -0
  325. package/components/stepper/step.component.d.ts +184 -0
  326. package/components/stepper/step.component.module.d.ts +11 -0
  327. package/components/stepper/stepper.component.d.ts +102 -0
  328. package/components/stepper/stepper.component.module.d.ts +15 -0
  329. package/components/stepper/stepper.model.d.ts +23 -0
  330. package/components/table/index.d.ts +3 -251
  331. package/components/table/public-api.d.ts +6 -0
  332. package/components/table/sentence-case.pipe.d.ts +7 -0
  333. package/components/table/table.component.d.ts +117 -0
  334. package/components/table/table.component.module.d.ts +17 -0
  335. package/components/table/table.model.d.ts +104 -0
  336. package/components/table/table.utils.d.ts +6 -0
  337. package/components/tabs/index.d.ts +5 -145
  338. package/components/tabs/public-api.d.ts +5 -0
  339. package/components/tabs/tab.directive.d.ts +28 -0
  340. package/components/tabs/tabs.component.d.ts +79 -0
  341. package/components/tabs/tabs.component.module.d.ts +13 -0
  342. package/components/tabs/tabs.model.d.ts +26 -0
  343. package/components/tag/index.d.ts +5 -166
  344. package/components/tag/public-api.d.ts +4 -0
  345. package/components/tag/tag.component.d.ts +145 -0
  346. package/components/tag/tag.component.module.d.ts +14 -0
  347. package/components/tag/tag.model.d.ts +1 -0
  348. package/components/toggle/index.d.ts +5 -130
  349. package/components/toggle/public-api.d.ts +3 -0
  350. package/components/toggle/toggle.component.d.ts +113 -0
  351. package/components/toggle/toggle.component.module.d.ts +13 -0
  352. package/components/toggle/toggle.model.d.ts +1 -0
  353. package/components/tooltip/index.d.ts +5 -111
  354. package/components/tooltip/public-api.d.ts +5 -0
  355. package/components/tooltip/tooltip-template.directive.d.ts +27 -0
  356. package/components/tooltip/tooltip.component.d.ts +64 -0
  357. package/components/tooltip/tooltip.component.module.d.ts +11 -0
  358. package/components/tooltip/tooltip.model.d.ts +8 -0
  359. package/components/universal-skills/index.d.ts +5 -153
  360. package/components/universal-skills/public-api.d.ts +6 -0
  361. package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.d.ts +47 -0
  362. package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.module.d.ts +14 -0
  363. package/components/universal-skills/universal-skills-report.component.d.ts +33 -0
  364. package/components/universal-skills/universal-skills-report.component.module.d.ts +12 -0
  365. package/components/universal-skills/universal-skills-report.model.d.ts +44 -0
  366. package/components/universal-skills/universal-skills.service.d.ts +13 -0
  367. package/components/validation-error/index.d.ts +5 -36
  368. package/components/validation-error/public-api.d.ts +3 -0
  369. package/components/validation-error/validation-error.component.d.ts +22 -0
  370. package/components/validation-error/validation-error.model.d.ts +1 -0
  371. package/components/validation-error/validation-error.module.d.ts +10 -0
  372. package/components/write-with-ai/index.d.ts +3 -131
  373. package/components/write-with-ai/llm.service.d.ts +22 -0
  374. package/components/write-with-ai/public-api.d.ts +4 -0
  375. package/components/write-with-ai/write-with-ai.component.d.ts +79 -0
  376. package/components/write-with-ai/write-with-ai.model.d.ts +24 -0
  377. package/components/write-with-ai/write-with-ai.module.d.ts +7 -0
  378. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +8 -8
  379. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
  380. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +16 -16
  381. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
  382. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -7
  383. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
  384. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +24 -24
  385. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
  386. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +8 -8
  387. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
  388. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +24 -24
  389. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
  390. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +23 -23
  391. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
  392. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +11 -11
  393. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
  394. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +8 -8
  395. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
  396. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +23 -22
  397. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
  398. package/fesm2022/testgorilla-tgo-ui-components-button.mjs +9 -8
  399. package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
  400. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +7 -7
  401. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
  402. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +11 -11
  403. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
  404. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +16 -16
  405. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
  406. package/fesm2022/testgorilla-tgo-ui-components-core.mjs +33 -33
  407. package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
  408. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +21 -21
  409. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
  410. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +31 -31
  411. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
  412. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +8 -8
  413. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
  414. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +13 -13
  415. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
  416. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +10 -10
  417. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
  418. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +7 -7
  419. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
  420. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +12 -12
  421. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
  422. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +18 -18
  423. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
  424. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +12 -12
  425. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
  426. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +26 -26
  427. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
  428. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +13 -12
  429. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
  430. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +7 -7
  431. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
  432. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +10 -10
  433. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
  434. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +33 -33
  435. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
  436. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +9 -8
  437. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
  438. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +3 -3
  439. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
  440. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +3 -3
  441. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +34 -33
  442. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
  443. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +21 -19
  444. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
  445. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +11 -11
  446. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
  447. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +7 -7
  448. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
  449. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +7 -7
  450. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
  451. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +9 -9
  452. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
  453. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +8 -8
  454. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
  455. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +12 -12
  456. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
  457. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +16 -16
  458. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
  459. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +11 -11
  460. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
  461. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +28 -28
  462. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
  463. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -7
  464. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
  465. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +8 -8
  466. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
  467. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +11 -11
  468. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
  469. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +9 -9
  470. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
  471. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +9 -9
  472. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
  473. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +8 -8
  474. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
  475. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +9 -9
  476. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
  477. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +14 -14
  478. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
  479. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +13 -13
  480. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
  481. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +17 -17
  482. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
  483. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +5 -5
  484. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
  485. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +15 -15
  486. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
  487. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +11 -11
  488. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
  489. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +14 -32
  490. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
  491. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +7 -7
  492. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
  493. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +20 -20
  494. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
  495. package/fesm2022/testgorilla-tgo-ui-components-table.mjs +11 -11
  496. package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
  497. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +27 -27
  498. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
  499. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +12 -12
  500. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
  501. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +9 -9
  502. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
  503. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +11 -11
  504. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
  505. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +23 -23
  506. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
  507. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +11 -11
  508. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
  509. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +38 -38
  510. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
  511. package/fesm2022/testgorilla-tgo-ui.mjs +8 -8
  512. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  513. package/index.d.ts +5 -46
  514. package/mcp/catalog.json +1 -0
  515. package/mcp/server.mjs +21567 -0
  516. package/package.json +30 -29
  517. package/projects/tgo-canopy-ui/theme/_tooltip.scss +0 -2
  518. package/public-api.d.ts +81 -0
@@ -1 +1 @@
1
- {"version":3,"file":"testgorilla-tgo-ui-components-media-card.mjs","sources":["../../../components/media-card/media-card.component.ts","../../../components/media-card/media-card.component.html","../../../components/media-card/testgorilla-tgo-ui-components-media-card.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';\nimport { EllipseTextDirective } from '@testgorilla/tgo-ui/components/core';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { ButtonComponentModule } from '@testgorilla/tgo-ui/components/button';\n\n@Component({\n selector: 'ui-media-card',\n imports: [DividerComponentModule, ButtonComponentModule, EllipseTextDirective, MatTooltipModule],\n templateUrl: './media-card.component.html',\n styleUrl: './media-card.component.scss',\n})\nexport class MediaCardComponent {\n /**\n * The title of the card\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) title: string;\n /**\n * The description of the card\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) description: string;\n /**\n * The image of the card\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) image: string;\n /**\n * The label of the button\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) buttonLabel = '';\n @Output() buttonClick = new EventEmitter<void>();\n protected showTitleTooltip = false;\n}\n","<img [attr.src]=\"image\" alt=\"card image\" />\n\n<div class=\"media-card-content\">\n <div\n class=\"media-card-title\"\n [isMultiline]=\"true\"\n [matTooltip]=\"showTitleTooltip ? title : ''\"\n uiEllipseText\n (onChangeTextState)=\"showTitleTooltip = $event\"\n >\n {{ title }}\n </div>\n\n <div class=\"media-card-description\">\n {{ description }}\n </div>\n</div>\n\n<ui-divider [size]=\"'small'\"></ui-divider>\n\n<div class=\"media-card-action\">\n <ui-button [variant]=\"'ghost'\" [label]=\"buttonLabel\" (buttonClickEvent)=\"buttonClick.emit()\"></ui-button>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAYa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;AAyBE;;;;AAIG;QACwB,IAAA,CAAA,WAAW,GAAG,EAAE;AACjC,QAAA,IAAA,CAAA,WAAW,GAAG,IA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AAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,gBAAgB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,4BAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,qBAAA,EAAA,yBAAA,EAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAIpF,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;+BACE,eAAe,EAAA,OAAA,EAChB,CAAC,sBAAsB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,gmBAAA,EAAA,MAAA,EAAA,CAAA,mjNAAA,CAAA,EAAA;;sBAU/F,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAMxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAMxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAMxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBACxB;;;AErCH;;AAEG;;;;"}
1
+ {"version":3,"file":"testgorilla-tgo-ui-components-media-card.mjs","sources":["../../../components/media-card/media-card.component.ts","../../../components/media-card/media-card.component.html","../../../components/media-card/testgorilla-tgo-ui-components-media-card.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';\nimport { EllipseTextDirective } from '@testgorilla/tgo-ui/components/core';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { ButtonComponentModule } from '@testgorilla/tgo-ui/components/button';\n\n@Component({\n selector: 'ui-media-card',\n imports: [DividerComponentModule, ButtonComponentModule, EllipseTextDirective, MatTooltipModule],\n templateUrl: './media-card.component.html',\n styleUrl: './media-card.component.scss',\n})\nexport class MediaCardComponent {\n /**\n * The title of the card\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) title: string;\n /**\n * The description of the card\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) description: string;\n /**\n * The image of the card\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) image: string;\n /**\n * The label of the button\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) buttonLabel = '';\n @Output() buttonClick = new EventEmitter<void>();\n protected showTitleTooltip = false;\n}\n","<img [attr.src]=\"image\" alt=\"card image\" />\n\n<div class=\"media-card-content\">\n <div\n class=\"media-card-title\"\n [isMultiline]=\"true\"\n [matTooltip]=\"showTitleTooltip ? title : ''\"\n uiEllipseText\n (onChangeTextState)=\"showTitleTooltip = $event\"\n >\n {{ title }}\n </div>\n\n <div class=\"media-card-description\">\n {{ description }}\n </div>\n</div>\n\n<ui-divider [size]=\"'small'\"></ui-divider>\n\n<div class=\"media-card-action\">\n <ui-button [variant]=\"'ghost'\" [label]=\"buttonLabel\" (buttonClickEvent)=\"buttonClick.emit()\"></ui-button>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAYa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;AAyBE;;;;AAIG;QACwB,IAAA,CAAA,WAAW,GAAG,EAAE;AACjC,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAQ;QACtC,IAAA,CAAA,gBAAgB,GAAG,KAAK;AACnC,IAAA;+GA3BY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAA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cAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,4BAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,qBAAA,EAAA,yBAAA,EAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAIpF,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;+BACE,eAAe,EAAA,OAAA,EAChB,CAAC,sBAAsB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,gmBAAA,EAAA,MAAA,EAAA,CAAA,mjNAAA,CAAA,EAAA;8BAUrE,KAAK,EAAA,CAAA;sBAA/B,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAME,WAAW,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAME,KAAK,EAAA,CAAA;sBAA/B,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAME,WAAW,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACf,WAAW,EAAA,CAAA;sBAApB;;;AErCH;;AAEG;;;;"}
@@ -61,10 +61,10 @@ class MediaDialogComponent {
61
61
  dismiss() {
62
62
  this.dialogRef.close(null);
63
63
  }
64
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MediaDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
65
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: MediaDialogComponent, isStandalone: true, selector: "ui-media-dialog", ngImport: i0, template: "<ng-container>\n @if (steps && steps.length > 1) {\n <ui-progress-bar [progress]=\"(currentStepIndex + 1) * (100 / steps.length)\"></ui-progress-bar>\n }\n\n <ui-dialog [title]=\"title\" (closeEvent)=\"dialogRef.close(null)\" [showCloseButton]=\"true\">\n @if (mediaContainer) {\n <div class=\"media-container\">\n <ng-container [ngTemplateOutlet]=\"mediaContainer\"></ng-container>\n </div>\n }\n\n @if (subheader) {\n <h4 class=\"subheader\">{{ subheader }}</h4>\n }\n\n @if (body) {\n <div [innerHTML]=\"body\"></div>\n }\n\n <div mat-dialog-actions class=\"footer\">\n <div>\n @if (backButtonLabel && currentStepIndex > 0) {\n <ui-button\n variant=\"text-inline\"\n size=\"medium\"\n [label]=\"backButtonLabel\"\n [attr.data-testid]=\"backButtonDataTestId\"\n (click)=\"onBackButtonClick()\"\n ></ui-button>\n }\n </div>\n\n <div class=\"action-buttons\">\n @if (secondaryButtonLabel) {\n <ui-button\n variant=\"ghost\"\n [label]=\"secondaryButtonLabel\"\n [attr.data-testid]=\"secondaryButtonDataTestId\"\n (click)=\"onSecondaryButtonClick()\"\n ></ui-button>\n }\n @if (primaryButtonLabel) {\n <ui-button\n variant=\"primary\"\n [label]=\"primaryButtonLabel\"\n [attr.data-testid]=\"primaryButtonDataTestId\"\n (click)=\"onPrimaryButtonClick()\"\n ></ui-button>\n }\n </div>\n </div>\n </ui-dialog>\n</ng-container>\n", styles: ["::ng-deep .ui-dialog-wrapper{max-width:600px!important}ui-progress-bar{position:absolute;top:0;left:0;width:100%}.media-container{width:536px;height:302px;border-radius:10px;margin-bottom:16px;overflow:hidden}.subheader{margin:0 0 8px!important}.footer{display:flex;justify-content:space-between;align-items:center}.footer .action-buttons{display:flex;gap:8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "ngmodule", type: ButtonComponentModule }, { kind: "component", type: i3.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role", "iconFilled"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "ngmodule", type: DialogComponentModule }, { kind: "component", type: i4.DialogComponent, selector: "ui-dialog", inputs: ["title", "showCloseButton", "canCloseFn", "secondaryButtonLabel", "footerMessage", "primaryButtonLabel", "primaryButtonIconName", "secondaryButtonType", "primaryButtonType", "primaryButtonDataTestId", "secondaryButtonDataTestId", "companyColor", "applicationTheme", "disablePrimaryButton", "disableClose", "shouldDisableButtons", "ariaLabelledby", "ariaDescribedby", "keyboardOpen", "primaryButtonIconPosition"], outputs: ["closeEvent", "secondaryButtonClickEvent", "primaryButtonClickEvent"] }, { kind: "ngmodule", type: ProgressBarComponentModule }, { kind: "component", type: i5.ProgressBarComponent, selector: "ui-progress-bar", inputs: ["companyColor", "progress", "mode", "buffer", "applicationTheme", "ariaLabel", "ariaDescribedBy", "showPercentage"] }] }); }
64
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: MediaDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
65
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: MediaDialogComponent, isStandalone: true, selector: "ui-media-dialog", ngImport: i0, template: "<ng-container>\n @if (steps && steps.length > 1) {\n <ui-progress-bar [progress]=\"(currentStepIndex + 1) * (100 / steps.length)\"></ui-progress-bar>\n }\n\n <ui-dialog [title]=\"title\" (closeEvent)=\"dialogRef.close(null)\" [showCloseButton]=\"true\">\n @if (mediaContainer) {\n <div class=\"media-container\">\n <ng-container [ngTemplateOutlet]=\"mediaContainer\"></ng-container>\n </div>\n }\n\n @if (subheader) {\n <h4 class=\"subheader\">{{ subheader }}</h4>\n }\n\n @if (body) {\n <div [innerHTML]=\"body\"></div>\n }\n\n <div mat-dialog-actions class=\"footer\">\n <div>\n @if (backButtonLabel && currentStepIndex > 0) {\n <ui-button\n variant=\"text-inline\"\n size=\"medium\"\n [label]=\"backButtonLabel\"\n [attr.data-testid]=\"backButtonDataTestId\"\n (click)=\"onBackButtonClick()\"\n ></ui-button>\n }\n </div>\n\n <div class=\"action-buttons\">\n @if (secondaryButtonLabel) {\n <ui-button\n variant=\"ghost\"\n [label]=\"secondaryButtonLabel\"\n [attr.data-testid]=\"secondaryButtonDataTestId\"\n (click)=\"onSecondaryButtonClick()\"\n ></ui-button>\n }\n @if (primaryButtonLabel) {\n <ui-button\n variant=\"primary\"\n [label]=\"primaryButtonLabel\"\n [attr.data-testid]=\"primaryButtonDataTestId\"\n (click)=\"onPrimaryButtonClick()\"\n ></ui-button>\n }\n </div>\n </div>\n </ui-dialog>\n</ng-container>\n", styles: ["::ng-deep .ui-dialog-wrapper{max-width:600px!important}ui-progress-bar{position:absolute;top:0;left:0;width:100%}.media-container{width:536px;height:302px;border-radius:10px;margin-bottom:16px;overflow:hidden}.subheader{margin:0 0 8px!important}.footer{display:flex;justify-content:space-between;align-items:center}.footer .action-buttons{display:flex;gap:8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "ngmodule", type: ButtonComponentModule }, { kind: "component", type: i3.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role", "iconFilled"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "ngmodule", type: DialogComponentModule }, { kind: "component", type: i4.DialogComponent, selector: "ui-dialog", inputs: ["title", "showCloseButton", "canCloseFn", "secondaryButtonLabel", "footerMessage", "primaryButtonLabel", "primaryButtonIconName", "secondaryButtonType", "primaryButtonType", "primaryButtonDataTestId", "secondaryButtonDataTestId", "companyColor", "applicationTheme", "disablePrimaryButton", "disableClose", "shouldDisableButtons", "ariaLabelledby", "ariaDescribedby", "keyboardOpen", "primaryButtonIconPosition"], outputs: ["closeEvent", "secondaryButtonClickEvent", "primaryButtonClickEvent"] }, { kind: "ngmodule", type: ProgressBarComponentModule }, { kind: "component", type: i5.ProgressBarComponent, selector: "ui-progress-bar", inputs: ["companyColor", "progress", "mode", "buffer", "applicationTheme", "ariaLabel", "ariaDescribedBy", "showPercentage"] }] }); }
66
66
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MediaDialogComponent, decorators: [{
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: MediaDialogComponent, decorators: [{
68
68
  type: Component,
69
69
  args: [{ selector: 'ui-media-dialog', imports: [CommonModule, MatDialogModule, ButtonComponentModule, DialogComponentModule, ProgressBarComponentModule], template: "<ng-container>\n @if (steps && steps.length > 1) {\n <ui-progress-bar [progress]=\"(currentStepIndex + 1) * (100 / steps.length)\"></ui-progress-bar>\n }\n\n <ui-dialog [title]=\"title\" (closeEvent)=\"dialogRef.close(null)\" [showCloseButton]=\"true\">\n @if (mediaContainer) {\n <div class=\"media-container\">\n <ng-container [ngTemplateOutlet]=\"mediaContainer\"></ng-container>\n </div>\n }\n\n @if (subheader) {\n <h4 class=\"subheader\">{{ subheader }}</h4>\n }\n\n @if (body) {\n <div [innerHTML]=\"body\"></div>\n }\n\n <div mat-dialog-actions class=\"footer\">\n <div>\n @if (backButtonLabel && currentStepIndex > 0) {\n <ui-button\n variant=\"text-inline\"\n size=\"medium\"\n [label]=\"backButtonLabel\"\n [attr.data-testid]=\"backButtonDataTestId\"\n (click)=\"onBackButtonClick()\"\n ></ui-button>\n }\n </div>\n\n <div class=\"action-buttons\">\n @if (secondaryButtonLabel) {\n <ui-button\n variant=\"ghost\"\n [label]=\"secondaryButtonLabel\"\n [attr.data-testid]=\"secondaryButtonDataTestId\"\n (click)=\"onSecondaryButtonClick()\"\n ></ui-button>\n }\n @if (primaryButtonLabel) {\n <ui-button\n variant=\"primary\"\n [label]=\"primaryButtonLabel\"\n [attr.data-testid]=\"primaryButtonDataTestId\"\n (click)=\"onPrimaryButtonClick()\"\n ></ui-button>\n }\n </div>\n </div>\n </ui-dialog>\n</ng-container>\n", styles: ["::ng-deep .ui-dialog-wrapper{max-width:600px!important}ui-progress-bar{position:absolute;top:0;left:0;width:100%}.media-container{width:536px;height:302px;border-radius:10px;margin-bottom:16px;overflow:hidden}.subheader{margin:0 0 8px!important}.footer{display:flex;justify-content:space-between;align-items:center}.footer .action-buttons{display:flex;gap:8px}\n"] }]
70
70
  }], ctorParameters: () => [{ type: i1.MatDialogRef }, { type: undefined, decorators: [{
@@ -3,19 +3,20 @@ import { input, booleanAttribute, EventEmitter, effect, HostBinding, Output, Inp
3
3
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import * as i1 from '@angular/forms';
5
5
  import { Validators, FormControl, ReactiveFormsModule } from '@angular/forms';
6
- import * as i2 from '@angular/material/input';
6
+ import * as i2 from '@angular/common';
7
+ import { CommonModule } from '@angular/common';
8
+ import * as i3 from '@angular/material/input';
7
9
  import { MatInputModule } from '@angular/material/input';
8
- import * as i3 from '@testgorilla/tgo-ui/components/icon';
10
+ import * as i4 from '@testgorilla/tgo-ui/components/icon';
9
11
  import { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';
10
- import * as i4 from '@testgorilla/tgo-ui/components/dropdown';
12
+ import * as i5 from '@testgorilla/tgo-ui/components/dropdown';
11
13
  import { DropdownComponentModule } from '@testgorilla/tgo-ui/components/dropdown';
12
- import * as i5 from '@testgorilla/tgo-ui/components/validation-error';
14
+ import * as i6 from '@testgorilla/tgo-ui/components/validation-error';
13
15
  import { ValidationErrorModule } from '@testgorilla/tgo-ui/components/validation-error';
14
- import * as i6 from '@testgorilla/tgo-ui/components/field';
16
+ import * as i7 from '@testgorilla/tgo-ui/components/field';
15
17
  import { FieldComponentModule } from '@testgorilla/tgo-ui/components/field';
16
- import * as i7 from '@testgorilla/tgo-ui/components/core';
18
+ import * as i8 from '@testgorilla/tgo-ui/components/core';
17
19
  import { DigitsOnlyDirective, HasValidationErrorPipe } from '@testgorilla/tgo-ui/components/core';
18
- import { CommonModule } from '@angular/common';
19
20
  import { MatSelectModule } from '@angular/material/select';
20
21
  import { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';
21
22
 
@@ -44,105 +45,105 @@ class MultiInputComponent {
44
45
  * @type {Record<string, string | null | number>[]}
45
46
  * @memberof MultiInputComponent
46
47
  */
47
- this.itemsList = input.required(...(ngDevMode ? [{ debugName: "itemsList" }] : []));
48
+ this.itemsList = input.required();
48
49
  /**
49
50
  *
50
51
  * @description The field to be displayed in the dropdown
51
52
  * @type {string}
52
53
  * @memberof MultiInputComponent
53
54
  */
54
- this.itemTextField = input.required(...(ngDevMode ? [{ debugName: "itemTextField" }] : []));
55
+ this.itemTextField = input.required();
55
56
  /**
56
57
  *
57
58
  * @description The value to be displayed in the droddown
58
59
  * @type {string}
59
60
  * @memberof MultiInputComponent
60
61
  */
61
- this.itemValueField = input.required(...(ngDevMode ? [{ debugName: "itemValueField" }] : []));
62
+ this.itemValueField = input.required();
62
63
  /**
63
64
  *
64
65
  * @description The Value of the multi input
65
66
  * @type {MultiInputValue}
66
67
  * @memberof MultiInputComponent
67
68
  */
68
- this.value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
69
+ this.value = input();
69
70
  /**
70
71
  *
71
72
  * @description Disables the multi input
72
73
  * @type {boolean}
73
74
  * @memberof MultiInputComponent
74
75
  */
75
- this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
76
+ this.disabled = input(false, { transform: booleanAttribute });
76
77
  /**
77
78
  *
78
79
  * @description Defines if the multi input is required
79
80
  * @type {boolean}
80
81
  * @memberof MultiInputComponent
81
82
  */
82
- this.required = input(false, ...(ngDevMode ? [{ debugName: "required", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
83
+ this.required = input(false, { transform: booleanAttribute });
83
84
  /**
84
85
  *
85
86
  * @description Defines the label of the multi input
86
87
  * @type {string}
87
88
  * @memberof MultiInputComponent
88
89
  */
89
- this.label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
90
+ this.label = input('');
90
91
  /**
91
92
  *
92
93
  * @description Defines the placeholder of the multi input
93
94
  * @type {string}
94
95
  * @memberof MultiInputComponent
95
96
  */
96
- this.placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
97
+ this.placeholder = input('');
97
98
  /**
98
99
  *
99
100
  * @description Allow decimal values in the multi input
100
101
  * @type {boolean}
101
102
  * @memberof MultiInputComponent
102
103
  */
103
- this.allowDecimal = input(true, ...(ngDevMode ? [{ debugName: "allowDecimal", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
104
+ this.allowDecimal = input(true, { transform: booleanAttribute });
104
105
  /**
105
106
  *
106
107
  * @description Allow negative values in the multi input
107
108
  * @type {boolean}
108
109
  * @memberof MultiInputComponent
109
110
  */
110
- this.allowNegative = input(true, ...(ngDevMode ? [{ debugName: "allowNegative", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
111
+ this.allowNegative = input(true, { transform: booleanAttribute });
111
112
  /**
112
113
  *
113
114
  * @description The errors of the multi input
114
115
  * @type {string[]}
115
116
  * @memberof MultiInputComponent
116
117
  */
117
- this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : []));
118
+ this.errors = input([]);
118
119
  /**
119
120
  *
120
121
  * @description Hide built in errors for Reactive Forms
121
122
  * @type {boolean}
122
123
  * @memberof MultiInputComponent
123
124
  */
124
- this.hideBuiltInErrors = input(false, ...(ngDevMode ? [{ debugName: "hideBuiltInErrors", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
125
+ this.hideBuiltInErrors = input(false, { transform: booleanAttribute });
125
126
  /**
126
127
  *
127
128
  * @description Hide label in errors
128
129
  * @type {boolean}
129
130
  * @memberof MultiInputComponent
130
131
  */
131
- this.hideLabelInErrors = input(false, ...(ngDevMode ? [{ debugName: "hideLabelInErrors", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
132
+ this.hideLabelInErrors = input(false, { transform: booleanAttribute });
132
133
  /**
133
134
  *
134
135
  * @description The maximum characters allowed in the multi input
135
136
  * @type {number}
136
137
  * @memberof MultiInputComponent
137
138
  */
138
- this.maxCharacters = input(0, ...(ngDevMode ? [{ debugName: "maxCharacters" }] : []));
139
+ this.maxCharacters = input(0);
139
140
  /**
140
141
  *
141
142
  * @description The validators to apply to input field
142
143
  * @type {Validators[]}
143
144
  * @memberof MultiInputComponent
144
145
  */
145
- this.validators = input([], ...(ngDevMode ? [{ debugName: "validators" }] : []));
146
+ this.validators = input([]);
146
147
  /**
147
148
  *
148
149
  * @description The width of the multi input
@@ -158,7 +159,7 @@ class MultiInputComponent {
158
159
  * @type {boolean}
159
160
  * @memberof MultiInputComponent
160
161
  */
161
- this.hasCustomErrors = input(false, ...(ngDevMode ? [{ debugName: "hasCustomErrors", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
162
+ this.hasCustomErrors = input(false, { transform: booleanAttribute });
162
163
  /**
163
164
  * @ignore
164
165
  */
@@ -267,17 +268,17 @@ class MultiInputComponent {
267
268
  this.multiInputForm.enable({ emitEvent: false });
268
269
  }
269
270
  }
270
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MultiInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
271
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: MultiInputComponent, isStandalone: false, 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 }, 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 (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 (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: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i3.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { kind: "component", type: i4.DropdownComponent, selector: "ui-dropdown", inputs: ["label", "labelIcon", "isAIVariant", "name", "placeholder", "id", "value", "errors", "disabled", "valueList", "allowClear", "allowMultipleSelection", "required", "showBottomContent", "applicationTheme", "hideBuiltInErrors", "hideLabelInErrors", "textField", "valueField", "hasError", "companyColor", "panelClass"], outputs: ["closed", "opened"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],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: "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: i5.ValidationErrorComponent, selector: "ui-validation-error", inputs: ["ngControl", "touchedOn", "errorMessage", "label", "applicationTheme"] }, { kind: "component", type: i6.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", "loading", "isValid", "maxCharacters", "trimOnBlur", "trimOnSubmit", "maxRows", "hasTextAreaCounter", "hideBuiltInErrors", "hideLabelInErrors", "max", "min", "textareaHeight", "borderless", "autosizableTextarea", "isAIVariant", "ariaLabelledby", "ariaDescribedby", "hasError"], outputs: ["validateEvent", "fieldBlur"] }, { kind: "pipe", type: i7.HasValidationErrorPipe, name: "hasValidationError" }] }); }
271
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: MultiInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
272
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: MultiInputComponent, isStandalone: false, 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 }, 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 (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 (focusout)=\"markAsTouched()\"\n ></ui-field>\n </div>\n\n @if (!hasCustomErrors()) {\n <mat-hint class=\"info\" *ngIf=\"!controlHasError && maxCharacters() && !errors()?.length\"\n >{{ 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: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i4.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { kind: "component", type: i5.DropdownComponent, selector: "ui-dropdown", inputs: ["label", "labelIcon", "isAIVariant", "name", "placeholder", "id", "value", "errors", "disabled", "valueList", "allowClear", "allowMultipleSelection", "required", "showBottomContent", "applicationTheme", "hideBuiltInErrors", "hideLabelInErrors", "textField", "valueField", "hasError", "companyColor", "panelClass"], outputs: ["closed", "opened"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],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: "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: i6.ValidationErrorComponent, selector: "ui-validation-error", inputs: ["ngControl", "touchedOn", "errorMessage", "label", "applicationTheme"] }, { kind: "component", type: i7.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", "loading", "isValid", "maxCharacters", "trimOnBlur", "trimOnSubmit", "maxRows", "hasTextAreaCounter", "hideBuiltInErrors", "hideLabelInErrors", "max", "min", "textareaHeight", "borderless", "autosizableTextarea", "isAIVariant", "ariaLabelledby", "ariaDescribedby", "hasError"], outputs: ["validateEvent", "fieldBlur"] }, { kind: "pipe", type: i8.HasValidationErrorPipe, name: "hasValidationError" }] }); }
272
273
  }
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MultiInputComponent, decorators: [{
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: MultiInputComponent, decorators: [{
274
275
  type: Component,
275
- args: [{ selector: 'ui-multi-input', standalone: false, 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 (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 (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"] }]
276
+ args: [{ selector: 'ui-multi-input', standalone: false, 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 (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 (focusout)=\"markAsTouched()\"\n ></ui-field>\n </div>\n\n @if (!hasCustomErrors()) {\n <mat-hint class=\"info\" *ngIf=\"!controlHasError && maxCharacters() && !errors()?.length\"\n >{{ 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"] }]
276
277
  }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
277
278
  type: Optional
278
279
  }, {
279
280
  type: Self
280
- }] }, { 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 }] }], 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: [{
281
+ }] }, { type: i1.FormBuilder }], propDecorators: { fullWidth: [{
281
282
  type: HostBinding,
282
283
  args: ['class.full-width']
283
284
  }, {
@@ -286,11 +287,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
286
287
  type: Output
287
288
  }], class: [{
288
289
  type: HostBinding
289
- }], hasCustomErrors: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasCustomErrors", required: false }] }] } });
290
+ }] } });
290
291
 
291
292
  class MultiInputComponentModule {
292
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MultiInputComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
293
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: MultiInputComponentModule, declarations: [MultiInputComponent], imports: [CommonModule,
293
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: MultiInputComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
294
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: MultiInputComponentModule, declarations: [MultiInputComponent], imports: [CommonModule,
294
295
  MatInputModule,
295
296
  MatSelectModule,
296
297
  DividerComponentModule,
@@ -301,7 +302,7 @@ class MultiInputComponentModule {
301
302
  HasValidationErrorPipe,
302
303
  ValidationErrorModule,
303
304
  FieldComponentModule], exports: [MultiInputComponent] }); }
304
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MultiInputComponentModule, imports: [CommonModule,
305
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: MultiInputComponentModule, imports: [CommonModule,
305
306
  MatInputModule,
306
307
  MatSelectModule,
307
308
  DividerComponentModule,
@@ -311,7 +312,7 @@ class MultiInputComponentModule {
311
312
  ValidationErrorModule,
312
313
  FieldComponentModule] }); }
313
314
  }
314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MultiInputComponentModule, decorators: [{
315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: MultiInputComponentModule, decorators: [{
315
316
  type: NgModule,
316
317
  args: [{
317
318
  declarations: [MultiInputComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"testgorilla-tgo-ui-components-multi-input.mjs","sources":["../../../components/multi-input/required-multi-input.validator.ts","../../../components/multi-input/multi-input.component.ts","../../../components/multi-input/multi-input.component.html","../../../components/multi-input/multi-input.component.module.ts","../../../components/multi-input/testgorilla-tgo-ui-components-multi-input.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/unbound-method */\nimport { AbstractControl, ValidationErrors, Validators } from '@angular/forms';\nimport { MultiInputValue } from './multi-input.model';\n\nexport const requiredMultiInput = (control: AbstractControl<MultiInputValue>): ValidationErrors | null => {\n const controlValue = control.value;\n\n const hasRequired = control.hasValidator(Validators.required);\n\n if (hasRequired && controlValue) {\n const anyFalsy = Object.values(controlValue).some(v => !v);\n if (anyFalsy) {\n return { required: true };\n }\n }\n return null;\n};\n","/* eslint-disable @typescript-eslint/no-inferrable-types */\n/* eslint-disable @typescript-eslint/no-unsafe-assignment */\n\nimport {\n booleanAttribute,\n Component,\n effect,\n EventEmitter,\n HostBinding,\n input,\n Input,\n OnInit,\n Optional,\n Output,\n Self,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport {\n AbstractControl,\n ControlValueAccessor,\n FormBuilder,\n FormControl,\n NgControl,\n ValidatorFn,\n Validators,\n} from '@angular/forms';\nimport { MultiInputValue } from './multi-input.model';\nimport { requiredMultiInput } from './required-multi-input.validator';\n\n@Component({\n selector: 'ui-multi-input',\n templateUrl: './multi-input.component.html',\n styleUrl: './multi-input.component.scss',\n standalone: false,\n})\nexport class MultiInputComponent implements ControlValueAccessor, OnInit {\n /**\n *\n * @description List of items to be displayed in the dropdown list\n * @type {Record<string, string | null | number>[]}\n * @memberof MultiInputComponent\n */\n itemsList = input.required<Record<string, string | null | number>[]>();\n\n /**\n *\n * @description The field to be displayed in the dropdown\n * @type {string}\n * @memberof MultiInputComponent\n */\n itemTextField = input.required<string>();\n\n /**\n *\n * @description The value to be displayed in the droddown\n * @type {string}\n * @memberof MultiInputComponent\n */\n itemValueField = input.required<string>();\n\n /**\n *\n * @description The Value of the multi input\n * @type {MultiInputValue}\n * @memberof MultiInputComponent\n */\n value = input<MultiInputValue>();\n\n /**\n *\n * @description Disables the multi input\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n disabled = input(false, { transform: booleanAttribute });\n\n /**\n *\n * @description Defines if the multi input is required\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n required = input(false, { transform: booleanAttribute });\n\n /**\n *\n * @description Defines the label of the multi input\n * @type {string}\n * @memberof MultiInputComponent\n */\n label = input('');\n\n /**\n *\n * @description Defines the placeholder of the multi input\n * @type {string}\n * @memberof MultiInputComponent\n */\n placeholder = input('');\n\n /**\n *\n * @description Allow decimal values in the multi input\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n allowDecimal = input(true, { transform: booleanAttribute });\n\n /**\n *\n * @description Allow negative values in the multi input\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n allowNegative = input(true, { transform: booleanAttribute });\n\n /**\n *\n * @description The errors of the multi input\n * @type {string[]}\n * @memberof MultiInputComponent\n */\n errors = input<string[]>([]);\n\n /**\n *\n * @description Hide built in errors for Reactive Forms\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n hideBuiltInErrors = input(false, { transform: booleanAttribute });\n\n /**\n *\n * @description Hide label in errors\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n hideLabelInErrors = input(false, { transform: booleanAttribute });\n\n /**\n *\n * @description The maximum characters allowed in the multi input\n * @type {number}\n * @memberof MultiInputComponent\n */\n maxCharacters = input(0);\n\n /**\n *\n * @description The validators to apply to input field\n * @type {Validators[]}\n * @memberof MultiInputComponent\n */\n validators = input<ValidatorFn[]>([]);\n\n /**\n *\n * @description The width of the multi input\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n @HostBinding('class.full-width')\n @Input()\n fullWidth: boolean = false;\n\n @Output() valueChange = new EventEmitter<MultiInputValue>();\n\n @HostBinding() class = 'ui-multi-input';\n\n /**\n * @description Indicates that custom errors are provided via content projection.\n * When true, the built-in error hints will be hidden.\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n hasCustomErrors = input(false, { transform: booleanAttribute });\n\n /**\n * @ignore\n */\n onChange = (_value: any): void => {};\n\n /**\n * @ignore\n */\n onTouch = (): void => {};\n\n protected readonly multiInputForm = this.fb.group<MultiInputValue>({\n value: null,\n });\n\n constructor(\n @Optional() @Self() protected ngControl: NgControl,\n private readonly fb: FormBuilder\n ) {\n effect(() => {\n this.updateDisableState(this.disabled());\n });\n\n effect(() => {\n const maxCharacters = this.maxCharacters();\n if (maxCharacters) {\n this.inputControl?.addValidators(Validators.maxLength(maxCharacters));\n this.inputControl?.updateValueAndValidity({ emitEvent: false });\n }\n });\n\n effect(() => {\n const inputValidators = this.validators();\n if (inputValidators?.length) {\n this.inputControl?.addValidators(inputValidators);\n this.inputControl?.updateValueAndValidity({ emitEvent: false });\n }\n });\n\n effect(() => {\n const value = this.value();\n // skip in the context of angular Forms\n if (!this.ngControl) {\n this.addDropdownControl();\n this.patchForm(value);\n }\n });\n\n if (this.ngControl) {\n this.ngControl.valueAccessor = this;\n }\n\n this.multiInputForm.valueChanges.pipe(takeUntilDestroyed()).subscribe(formValue => {\n this.valueChanged(formValue as MultiInputValue);\n });\n }\n\n ngOnInit(): void {\n this.addDropdownControl();\n if (this.ngControl) {\n this.ngControl.control?.addValidators(requiredMultiInput);\n }\n }\n\n writeValue(value: MultiInputValue): void {\n this.addDropdownControl();\n this.patchForm(value);\n }\n\n patchForm(value: MultiInputValue | undefined) {\n if (value) {\n this.multiInputForm.patchValue(value, { emitEvent: false });\n } else {\n this.multiInputForm.reset(undefined, { emitEvent: false });\n }\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.updateDisableState(isDisabled);\n }\n\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouch = fn;\n }\n\n protected valueChanged(value: MultiInputValue): void {\n this.valueChange.emit(value);\n this.onChange(value);\n }\n\n protected get dropdownControl(): AbstractControl<unknown> {\n return this.multiInputForm.controls[this.itemValueField()];\n }\n\n protected get inputControl(): AbstractControl<unknown> {\n return this.multiInputForm.controls.value;\n }\n\n protected markAsTouched(): void {\n this.onTouch();\n }\n\n protected addDropdownControl(): void {\n if (!this.multiInputForm.value[this.itemValueField()]) {\n this.multiInputForm.addControl(this.itemValueField(), new FormControl(null), { emitEvent: false });\n this.updateDisableState(this.disabled());\n }\n }\n\n protected get controlHasError(): boolean {\n if (this.ngControl) {\n return !!(this.ngControl.errors && this.ngControl.touched);\n } else {\n return this.errors()?.length > 0;\n }\n }\n\n protected getValueLength(): number {\n return this.inputControl?.value?.toString().length || 0;\n }\n\n private updateDisableState(state: boolean): void {\n if (state) {\n this.multiInputForm.disable({ emitEvent: false });\n } else {\n this.multiInputForm.enable({ emitEvent: false });\n }\n }\n}\n","<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 (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 (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","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MultiInputComponent } from './multi-input.component';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatSelectModule } from '@angular/material/select';\nimport { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';\nimport { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';\nimport { DropdownComponentModule } from '@testgorilla/tgo-ui/components/dropdown';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { DigitsOnlyDirective, HasValidationErrorPipe } from '@testgorilla/tgo-ui/components/core';\nimport { ValidationErrorModule } from '@testgorilla/tgo-ui/components/validation-error';\nimport { FieldComponentModule } from '@testgorilla/tgo-ui/components/field';\n\n@NgModule({\n declarations: [MultiInputComponent],\n imports: [\n CommonModule,\n MatInputModule,\n MatSelectModule,\n DividerComponentModule,\n IconComponentModule,\n DropdownComponentModule,\n ReactiveFormsModule,\n DigitsOnlyDirective,\n HasValidationErrorPipe,\n ValidationErrorModule,\n FieldComponentModule,\n ],\n exports: [MultiInputComponent],\n})\nexport class MultiInputComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAIO,MAAM,kBAAkB,GAAG,CAAC,OAAyC,KAA6B;AACvG,IAAA,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK;IAElC,MAAM,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,QAAQ,CAAC;AAE7D,IAAA,IAAI,WAAW,IAAI,YAAY,EAAE;AAC/B,QAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,IAAI,QAAQ,EAAE;AACZ,YAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC3B;IACF;AACA,IAAA,OAAO,IAAI;AACb;;AChBA;AACA;MAkCa,mBAAmB,CAAA;IA6J9B,WAAA,CACgC,SAAoB,EACjC,EAAe,EAAA;QADF,IAAA,CAAA,SAAS,GAAT,SAAS;QACtB,IAAA,CAAA,EAAE,GAAF,EAAE;AA9JrB;;;;;AAKG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,QAAQ,oDAA4C;AAEtE;;;;;AAKG;AACH,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,QAAQ,wDAAU;AAExC;;;;;AAKG;AACH,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK,CAAC,QAAQ,yDAAU;AAEzC;;;;;AAKG;QACH,IAAA,CAAA,KAAK,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,OAAA,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-tgo-ui-components-multi-input.mjs","sources":["../../../components/multi-input/required-multi-input.validator.ts","../../../components/multi-input/multi-input.component.ts","../../../components/multi-input/multi-input.component.html","../../../components/multi-input/multi-input.component.module.ts","../../../components/multi-input/testgorilla-tgo-ui-components-multi-input.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/unbound-method */\nimport { AbstractControl, ValidationErrors, Validators } from '@angular/forms';\nimport { MultiInputValue } from './multi-input.model';\n\nexport const requiredMultiInput = (control: AbstractControl<MultiInputValue>): ValidationErrors | null => {\n const controlValue = control.value;\n\n const hasRequired = control.hasValidator(Validators.required);\n\n if (hasRequired && controlValue) {\n const anyFalsy = Object.values(controlValue).some(v => !v);\n if (anyFalsy) {\n return { required: true };\n }\n }\n return null;\n};\n","/* eslint-disable @typescript-eslint/no-inferrable-types */\n/* eslint-disable @typescript-eslint/no-unsafe-assignment */\n\nimport {\n booleanAttribute,\n Component,\n effect,\n EventEmitter,\n HostBinding,\n input,\n Input,\n OnInit,\n Optional,\n Output,\n Self,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport {\n AbstractControl,\n ControlValueAccessor,\n FormBuilder,\n FormControl,\n NgControl,\n ValidatorFn,\n Validators,\n} from '@angular/forms';\nimport { MultiInputValue } from './multi-input.model';\nimport { requiredMultiInput } from './required-multi-input.validator';\n\n@Component({\n selector: 'ui-multi-input',\n templateUrl: './multi-input.component.html',\n styleUrl: './multi-input.component.scss',\n standalone: false,\n})\nexport class MultiInputComponent implements ControlValueAccessor, OnInit {\n /**\n *\n * @description List of items to be displayed in the dropdown list\n * @type {Record<string, string | null | number>[]}\n * @memberof MultiInputComponent\n */\n itemsList = input.required<Record<string, string | null | number>[]>();\n\n /**\n *\n * @description The field to be displayed in the dropdown\n * @type {string}\n * @memberof MultiInputComponent\n */\n itemTextField = input.required<string>();\n\n /**\n *\n * @description The value to be displayed in the droddown\n * @type {string}\n * @memberof MultiInputComponent\n */\n itemValueField = input.required<string>();\n\n /**\n *\n * @description The Value of the multi input\n * @type {MultiInputValue}\n * @memberof MultiInputComponent\n */\n value = input<MultiInputValue>();\n\n /**\n *\n * @description Disables the multi input\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n disabled = input(false, { transform: booleanAttribute });\n\n /**\n *\n * @description Defines if the multi input is required\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n required = input(false, { transform: booleanAttribute });\n\n /**\n *\n * @description Defines the label of the multi input\n * @type {string}\n * @memberof MultiInputComponent\n */\n label = input('');\n\n /**\n *\n * @description Defines the placeholder of the multi input\n * @type {string}\n * @memberof MultiInputComponent\n */\n placeholder = input('');\n\n /**\n *\n * @description Allow decimal values in the multi input\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n allowDecimal = input(true, { transform: booleanAttribute });\n\n /**\n *\n * @description Allow negative values in the multi input\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n allowNegative = input(true, { transform: booleanAttribute });\n\n /**\n *\n * @description The errors of the multi input\n * @type {string[]}\n * @memberof MultiInputComponent\n */\n errors = input<string[]>([]);\n\n /**\n *\n * @description Hide built in errors for Reactive Forms\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n hideBuiltInErrors = input(false, { transform: booleanAttribute });\n\n /**\n *\n * @description Hide label in errors\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n hideLabelInErrors = input(false, { transform: booleanAttribute });\n\n /**\n *\n * @description The maximum characters allowed in the multi input\n * @type {number}\n * @memberof MultiInputComponent\n */\n maxCharacters = input(0);\n\n /**\n *\n * @description The validators to apply to input field\n * @type {Validators[]}\n * @memberof MultiInputComponent\n */\n validators = input<ValidatorFn[]>([]);\n\n /**\n *\n * @description The width of the multi input\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n @HostBinding('class.full-width')\n @Input()\n fullWidth: boolean = false;\n\n @Output() valueChange = new EventEmitter<MultiInputValue>();\n\n @HostBinding() class = 'ui-multi-input';\n\n /**\n * @description Indicates that custom errors are provided via content projection.\n * When true, the built-in error hints will be hidden.\n * @type {boolean}\n * @memberof MultiInputComponent\n */\n hasCustomErrors = input(false, { transform: booleanAttribute });\n\n /**\n * @ignore\n */\n onChange = (_value: any): void => {};\n\n /**\n * @ignore\n */\n onTouch = (): void => {};\n\n protected readonly multiInputForm = this.fb.group<MultiInputValue>({\n value: null,\n });\n\n constructor(\n @Optional() @Self() protected ngControl: NgControl,\n private readonly fb: FormBuilder\n ) {\n effect(() => {\n this.updateDisableState(this.disabled());\n });\n\n effect(() => {\n const maxCharacters = this.maxCharacters();\n if (maxCharacters) {\n this.inputControl?.addValidators(Validators.maxLength(maxCharacters));\n this.inputControl?.updateValueAndValidity({ emitEvent: false });\n }\n });\n\n effect(() => {\n const inputValidators = this.validators();\n if (inputValidators?.length) {\n this.inputControl?.addValidators(inputValidators);\n this.inputControl?.updateValueAndValidity({ emitEvent: false });\n }\n });\n\n effect(() => {\n const value = this.value();\n // skip in the context of angular Forms\n if (!this.ngControl) {\n this.addDropdownControl();\n this.patchForm(value);\n }\n });\n\n if (this.ngControl) {\n this.ngControl.valueAccessor = this;\n }\n\n this.multiInputForm.valueChanges.pipe(takeUntilDestroyed()).subscribe(formValue => {\n this.valueChanged(formValue as MultiInputValue);\n });\n }\n\n ngOnInit(): void {\n this.addDropdownControl();\n if (this.ngControl) {\n this.ngControl.control?.addValidators(requiredMultiInput);\n }\n }\n\n writeValue(value: MultiInputValue): void {\n this.addDropdownControl();\n this.patchForm(value);\n }\n\n patchForm(value: MultiInputValue | undefined) {\n if (value) {\n this.multiInputForm.patchValue(value, { emitEvent: false });\n } else {\n this.multiInputForm.reset(undefined, { emitEvent: false });\n }\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.updateDisableState(isDisabled);\n }\n\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouch = fn;\n }\n\n protected valueChanged(value: MultiInputValue): void {\n this.valueChange.emit(value);\n this.onChange(value);\n }\n\n protected get dropdownControl(): AbstractControl<unknown> {\n return this.multiInputForm.controls[this.itemValueField()];\n }\n\n protected get inputControl(): AbstractControl<unknown> {\n return this.multiInputForm.controls.value;\n }\n\n protected markAsTouched(): void {\n this.onTouch();\n }\n\n protected addDropdownControl(): void {\n if (!this.multiInputForm.value[this.itemValueField()]) {\n this.multiInputForm.addControl(this.itemValueField(), new FormControl(null), { emitEvent: false });\n this.updateDisableState(this.disabled());\n }\n }\n\n protected get controlHasError(): boolean {\n if (this.ngControl) {\n return !!(this.ngControl.errors && this.ngControl.touched);\n } else {\n return this.errors()?.length > 0;\n }\n }\n\n protected getValueLength(): number {\n return this.inputControl?.value?.toString().length || 0;\n }\n\n private updateDisableState(state: boolean): void {\n if (state) {\n this.multiInputForm.disable({ emitEvent: false });\n } else {\n this.multiInputForm.enable({ emitEvent: false });\n }\n }\n}\n","<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 (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 (focusout)=\"markAsTouched()\"\n ></ui-field>\n </div>\n\n @if (!hasCustomErrors()) {\n <mat-hint class=\"info\" *ngIf=\"!controlHasError && maxCharacters() && !errors()?.length\"\n >{{ 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","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MultiInputComponent } from './multi-input.component';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatSelectModule } from '@angular/material/select';\nimport { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';\nimport { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';\nimport { DropdownComponentModule } from '@testgorilla/tgo-ui/components/dropdown';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { DigitsOnlyDirective, HasValidationErrorPipe } from '@testgorilla/tgo-ui/components/core';\nimport { ValidationErrorModule } from '@testgorilla/tgo-ui/components/validation-error';\nimport { FieldComponentModule } from '@testgorilla/tgo-ui/components/field';\n\n@NgModule({\n declarations: [MultiInputComponent],\n imports: [\n CommonModule,\n MatInputModule,\n MatSelectModule,\n DividerComponentModule,\n IconComponentModule,\n DropdownComponentModule,\n ReactiveFormsModule,\n DigitsOnlyDirective,\n HasValidationErrorPipe,\n ValidationErrorModule,\n FieldComponentModule,\n ],\n exports: [MultiInputComponent],\n})\nexport class MultiInputComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAIO,MAAM,kBAAkB,GAAG,CAAC,OAAyC,KAA6B;AACvG,IAAA,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK;IAElC,MAAM,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,QAAQ,CAAC;AAE7D,IAAA,IAAI,WAAW,IAAI,YAAY,EAAE;AAC/B,QAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,MAA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