@testgorilla/tgo-ui 9.3.3 → 10.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 (182) hide show
  1. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +8 -8
  2. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
  3. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +15 -15
  4. package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
  5. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -7
  6. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +23 -23
  7. package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
  8. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +7 -7
  9. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +23 -23
  10. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
  11. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +84 -84
  12. package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
  13. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +21 -21
  14. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
  15. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +10 -10
  16. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +10 -10
  17. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
  18. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +20 -20
  19. package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
  20. package/fesm2022/testgorilla-tgo-ui-components-button.mjs +8 -8
  21. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +8 -8
  22. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
  23. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +12 -12
  24. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
  25. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +15 -15
  26. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
  27. package/fesm2022/testgorilla-tgo-ui-components-core.mjs +44 -44
  28. package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
  29. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +20 -20
  30. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
  31. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +25 -25
  32. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
  33. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +7 -7
  34. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +10 -10
  35. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
  36. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +11 -11
  37. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
  38. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +7 -7
  39. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +7 -7
  40. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +14 -14
  41. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
  42. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +10 -10
  43. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +20 -20
  44. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
  45. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +8 -8
  46. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
  47. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +7 -7
  48. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +10 -10
  49. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +33 -33
  50. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
  51. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +7 -7
  52. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +3 -3
  53. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +3 -3
  54. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +23 -23
  55. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
  56. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +14 -14
  57. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
  58. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +10 -10
  59. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
  60. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +7 -7
  61. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +8 -8
  62. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +7 -7
  63. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +7 -7
  64. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +12 -12
  65. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
  66. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +15 -15
  67. package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
  68. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +7 -7
  69. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +42 -42
  70. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
  71. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -7
  72. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +7 -7
  73. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +10 -10
  74. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +8 -8
  75. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
  76. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +8 -8
  77. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
  78. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +7 -7
  79. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +7 -7
  80. package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs +17 -17
  81. package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
  82. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +14 -14
  83. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
  84. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +31 -31
  85. package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
  86. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +12 -12
  87. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
  88. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +12 -12
  89. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
  90. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +3 -3
  91. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +12 -12
  92. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
  93. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +10 -10
  94. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +7 -7
  95. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +7 -7
  96. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +21 -21
  97. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
  98. package/fesm2022/testgorilla-tgo-ui-components-table.mjs +11 -11
  99. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +25 -25
  100. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
  101. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +26 -26
  102. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
  103. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +7 -7
  104. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +10 -10
  105. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +17 -17
  106. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +7 -7
  107. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +40 -40
  108. package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
  109. package/fesm2022/testgorilla-tgo-ui.mjs +7 -7
  110. package/mcp/catalog.json +1 -1
  111. package/package.json +92 -101
  112. package/{components/inline-field/index.d.ts → types/testgorilla-tgo-ui-components-inline-field.d.ts} +8 -7
  113. package/{components/side-sheet/index.d.ts → types/testgorilla-tgo-ui-components-side-sheet.d.ts} +1 -1
  114. /package/{components/accordion/index.d.ts → types/testgorilla-tgo-ui-components-accordion.d.ts} +0 -0
  115. /package/{components/ai-audio-circle/index.d.ts → types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts} +0 -0
  116. /package/{components/ai-caveat/index.d.ts → types/testgorilla-tgo-ui-components-ai-caveat.d.ts} +0 -0
  117. /package/{components/ai-feedback/index.d.ts → types/testgorilla-tgo-ui-components-ai-feedback.d.ts} +0 -0
  118. /package/{components/alert-banner/index.d.ts → types/testgorilla-tgo-ui-components-alert-banner.d.ts} +0 -0
  119. /package/{components/audio-waveform/index.d.ts → types/testgorilla-tgo-ui-components-audio-waveform.d.ts} +0 -0
  120. /package/{components/autocomplete-v2/index.d.ts → types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts} +0 -0
  121. /package/{components/autocomplete/index.d.ts → types/testgorilla-tgo-ui-components-autocomplete.d.ts} +0 -0
  122. /package/{components/avatar/index.d.ts → types/testgorilla-tgo-ui-components-avatar.d.ts} +0 -0
  123. /package/{components/badge/index.d.ts → types/testgorilla-tgo-ui-components-badge.d.ts} +0 -0
  124. /package/{components/breadcrumb/index.d.ts → types/testgorilla-tgo-ui-components-breadcrumb.d.ts} +0 -0
  125. /package/{components/button/index.d.ts → types/testgorilla-tgo-ui-components-button.d.ts} +0 -0
  126. /package/{components/card/index.d.ts → types/testgorilla-tgo-ui-components-card.d.ts} +0 -0
  127. /package/{components/checkbox/index.d.ts → types/testgorilla-tgo-ui-components-checkbox.d.ts} +0 -0
  128. /package/{components/checklist/index.d.ts → types/testgorilla-tgo-ui-components-checklist.d.ts} +0 -0
  129. /package/{components/core/index.d.ts → types/testgorilla-tgo-ui-components-core.d.ts} +0 -0
  130. /package/{components/datepicker/index.d.ts → types/testgorilla-tgo-ui-components-datepicker.d.ts} +0 -0
  131. /package/{components/dialog/index.d.ts → types/testgorilla-tgo-ui-components-dialog.d.ts} +0 -0
  132. /package/{components/divider/index.d.ts → types/testgorilla-tgo-ui-components-divider.d.ts} +0 -0
  133. /package/{components/donut-chart/index.d.ts → types/testgorilla-tgo-ui-components-donut-chart.d.ts} +0 -0
  134. /package/{components/dropdown/index.d.ts → types/testgorilla-tgo-ui-components-dropdown.d.ts} +0 -0
  135. /package/{components/elevation-shadow/index.d.ts → types/testgorilla-tgo-ui-components-elevation-shadow.d.ts} +0 -0
  136. /package/{components/empty-state/index.d.ts → types/testgorilla-tgo-ui-components-empty-state.d.ts} +0 -0
  137. /package/{components/field/index.d.ts → types/testgorilla-tgo-ui-components-field.d.ts} +0 -0
  138. /package/{components/file-upload/index.d.ts → types/testgorilla-tgo-ui-components-file-upload.d.ts} +0 -0
  139. /package/{components/filter-button/index.d.ts → types/testgorilla-tgo-ui-components-filter-button.d.ts} +0 -0
  140. /package/{components/gaussian-chart/index.d.ts → types/testgorilla-tgo-ui-components-gaussian-chart.d.ts} +0 -0
  141. /package/{components/icon-label/index.d.ts → types/testgorilla-tgo-ui-components-icon-label.d.ts} +0 -0
  142. /package/{components/icon/index.d.ts → types/testgorilla-tgo-ui-components-icon.d.ts} +0 -0
  143. /package/{components/logo/index.d.ts → types/testgorilla-tgo-ui-components-logo.d.ts} +0 -0
  144. /package/{components/media-card/index.d.ts → types/testgorilla-tgo-ui-components-media-card.d.ts} +0 -0
  145. /package/{components/media-dialog/index.d.ts → types/testgorilla-tgo-ui-components-media-dialog.d.ts} +0 -0
  146. /package/{components/multi-input/index.d.ts → types/testgorilla-tgo-ui-components-multi-input.d.ts} +0 -0
  147. /package/{components/navbar/index.d.ts → types/testgorilla-tgo-ui-components-navbar.d.ts} +0 -0
  148. /package/{components/overflow-menu/index.d.ts → types/testgorilla-tgo-ui-components-overflow-menu.d.ts} +0 -0
  149. /package/{components/page-header/index.d.ts → types/testgorilla-tgo-ui-components-page-header.d.ts} +0 -0
  150. /package/{components/paginator/index.d.ts → types/testgorilla-tgo-ui-components-paginator.d.ts} +0 -0
  151. /package/{components/password-criteria/index.d.ts → types/testgorilla-tgo-ui-components-password-criteria.d.ts} +0 -0
  152. /package/{components/password-strength/index.d.ts → types/testgorilla-tgo-ui-components-password-strength.d.ts} +0 -0
  153. /package/{components/phone-input/index.d.ts → types/testgorilla-tgo-ui-components-phone-input.d.ts} +0 -0
  154. /package/{components/popover/index.d.ts → types/testgorilla-tgo-ui-components-popover.d.ts} +0 -0
  155. /package/{components/progress-bar/index.d.ts → types/testgorilla-tgo-ui-components-progress-bar.d.ts} +0 -0
  156. /package/{components/prompt/index.d.ts → types/testgorilla-tgo-ui-components-prompt.d.ts} +0 -0
  157. /package/{components/radial-progress/index.d.ts → types/testgorilla-tgo-ui-components-radial-progress.d.ts} +0 -0
  158. /package/{components/radio-button/index.d.ts → types/testgorilla-tgo-ui-components-radio-button.d.ts} +0 -0
  159. /package/{components/rating/index.d.ts → types/testgorilla-tgo-ui-components-rating.d.ts} +0 -0
  160. /package/{components/scale-table/index.d.ts → types/testgorilla-tgo-ui-components-scale-table.d.ts} +0 -0
  161. /package/{components/scale/index.d.ts → types/testgorilla-tgo-ui-components-scale.d.ts} +0 -0
  162. /package/{components/segmented-bar/index.d.ts → types/testgorilla-tgo-ui-components-segmented-bar.d.ts} +0 -0
  163. /package/{components/segmented-button/index.d.ts → types/testgorilla-tgo-ui-components-segmented-button.d.ts} +0 -0
  164. /package/{components/segmented-toggle/index.d.ts → types/testgorilla-tgo-ui-components-segmented-toggle.d.ts} +0 -0
  165. /package/{components/selectable-card/index.d.ts → types/testgorilla-tgo-ui-components-selectable-card.d.ts} +0 -0
  166. /package/{components/side-navigation/index.d.ts → types/testgorilla-tgo-ui-components-side-navigation.d.ts} +0 -0
  167. /package/{components/side-panel/index.d.ts → types/testgorilla-tgo-ui-components-side-panel.d.ts} +0 -0
  168. /package/{components/skeleton/index.d.ts → types/testgorilla-tgo-ui-components-skeleton.d.ts} +0 -0
  169. /package/{components/slider/index.d.ts → types/testgorilla-tgo-ui-components-slider.d.ts} +0 -0
  170. /package/{components/snackbar/index.d.ts → types/testgorilla-tgo-ui-components-snackbar.d.ts} +0 -0
  171. /package/{components/spider-chart/index.d.ts → types/testgorilla-tgo-ui-components-spider-chart.d.ts} +0 -0
  172. /package/{components/spinner/index.d.ts → types/testgorilla-tgo-ui-components-spinner.d.ts} +0 -0
  173. /package/{components/stepper/index.d.ts → types/testgorilla-tgo-ui-components-stepper.d.ts} +0 -0
  174. /package/{components/table/index.d.ts → types/testgorilla-tgo-ui-components-table.d.ts} +0 -0
  175. /package/{components/tabs/index.d.ts → types/testgorilla-tgo-ui-components-tabs.d.ts} +0 -0
  176. /package/{components/tag/index.d.ts → types/testgorilla-tgo-ui-components-tag.d.ts} +0 -0
  177. /package/{components/toggle/index.d.ts → types/testgorilla-tgo-ui-components-toggle.d.ts} +0 -0
  178. /package/{components/tooltip/index.d.ts → types/testgorilla-tgo-ui-components-tooltip.d.ts} +0 -0
  179. /package/{components/universal-skills/index.d.ts → types/testgorilla-tgo-ui-components-universal-skills.d.ts} +0 -0
  180. /package/{components/validation-error/index.d.ts → types/testgorilla-tgo-ui-components-validation-error.d.ts} +0 -0
  181. /package/{components/write-with-ai/index.d.ts → types/testgorilla-tgo-ui-components-write-with-ai.d.ts} +0 -0
  182. /package/{index.d.ts → types/testgorilla-tgo-ui.d.ts} +0 -0
@@ -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.25", 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.25", 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", "loadingWithLabel", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaExpanded", "ariaControls", "ariaPressed", "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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
64
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.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: "21.2.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", "loadingWithLabel", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaExpanded", "ariaControls", "ariaPressed", "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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
66
66
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MediaDialogComponent, decorators: [{
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: MediaDialogComponent, decorators: [{
68
68
  type: Component,
69
69
  args: [{ selector: 'ui-media-dialog', changeDetection: ChangeDetectionStrategy.OnPush, 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: [{
@@ -54,105 +54,105 @@ class MultiInputComponent {
54
54
  * @type {Record<string, string | null | number>[]}
55
55
  * @memberof MultiInputComponent
56
56
  */
57
- this.itemsList = input.required(...(ngDevMode ? [{ debugName: "itemsList" }] : []));
57
+ this.itemsList = input.required(...(ngDevMode ? [{ debugName: "itemsList" }] : /* istanbul ignore next */ []));
58
58
  /**
59
59
  *
60
60
  * @description The field to be displayed in the dropdown
61
61
  * @type {string}
62
62
  * @memberof MultiInputComponent
63
63
  */
64
- this.itemTextField = input.required(...(ngDevMode ? [{ debugName: "itemTextField" }] : []));
64
+ this.itemTextField = input.required(...(ngDevMode ? [{ debugName: "itemTextField" }] : /* istanbul ignore next */ []));
65
65
  /**
66
66
  *
67
67
  * @description The value to be displayed in the droddown
68
68
  * @type {string}
69
69
  * @memberof MultiInputComponent
70
70
  */
71
- this.itemValueField = input.required(...(ngDevMode ? [{ debugName: "itemValueField" }] : []));
71
+ this.itemValueField = input.required(...(ngDevMode ? [{ debugName: "itemValueField" }] : /* istanbul ignore next */ []));
72
72
  /**
73
73
  *
74
74
  * @description The Value of the multi input
75
75
  * @type {MultiInputValue}
76
76
  * @memberof MultiInputComponent
77
77
  */
78
- this.value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
78
+ this.value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
79
79
  /**
80
80
  *
81
81
  * @description Disables the multi input
82
82
  * @type {boolean}
83
83
  * @memberof MultiInputComponent
84
84
  */
85
- this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
85
+ this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
86
86
  /**
87
87
  *
88
88
  * @description Defines if the multi input is required
89
89
  * @type {boolean}
90
90
  * @memberof MultiInputComponent
91
91
  */
92
- this.required = input(false, ...(ngDevMode ? [{ debugName: "required", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
92
+ this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
93
93
  /**
94
94
  *
95
95
  * @description Defines the label of the multi input
96
96
  * @type {string}
97
97
  * @memberof MultiInputComponent
98
98
  */
99
- this.label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
99
+ this.label = input('', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
100
100
  /**
101
101
  *
102
102
  * @description Defines the placeholder of the multi input
103
103
  * @type {string}
104
104
  * @memberof MultiInputComponent
105
105
  */
106
- this.placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
106
+ this.placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
107
107
  /**
108
108
  *
109
109
  * @description Allow decimal values in the multi input
110
110
  * @type {boolean}
111
111
  * @memberof MultiInputComponent
112
112
  */
113
- this.allowDecimal = input(true, ...(ngDevMode ? [{ debugName: "allowDecimal", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
113
+ this.allowDecimal = input(true, { ...(ngDevMode ? { debugName: "allowDecimal" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
114
114
  /**
115
115
  *
116
116
  * @description Allow negative values in the multi input
117
117
  * @type {boolean}
118
118
  * @memberof MultiInputComponent
119
119
  */
120
- this.allowNegative = input(true, ...(ngDevMode ? [{ debugName: "allowNegative", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
120
+ this.allowNegative = input(true, { ...(ngDevMode ? { debugName: "allowNegative" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
121
121
  /**
122
122
  *
123
123
  * @description The errors of the multi input
124
124
  * @type {string[]}
125
125
  * @memberof MultiInputComponent
126
126
  */
127
- this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : []));
127
+ this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
128
128
  /**
129
129
  *
130
130
  * @description Hide built in errors for Reactive Forms
131
131
  * @type {boolean}
132
132
  * @memberof MultiInputComponent
133
133
  */
134
- this.hideBuiltInErrors = input(false, ...(ngDevMode ? [{ debugName: "hideBuiltInErrors", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
134
+ this.hideBuiltInErrors = input(false, { ...(ngDevMode ? { debugName: "hideBuiltInErrors" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
135
135
  /**
136
136
  *
137
137
  * @description Hide label in errors
138
138
  * @type {boolean}
139
139
  * @memberof MultiInputComponent
140
140
  */
141
- this.hideLabelInErrors = input(false, ...(ngDevMode ? [{ debugName: "hideLabelInErrors", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
141
+ this.hideLabelInErrors = input(false, { ...(ngDevMode ? { debugName: "hideLabelInErrors" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
142
142
  /**
143
143
  *
144
144
  * @description The maximum characters allowed in the multi input
145
145
  * @type {number}
146
146
  * @memberof MultiInputComponent
147
147
  */
148
- this.maxCharacters = input(0, ...(ngDevMode ? [{ debugName: "maxCharacters" }] : []));
148
+ this.maxCharacters = input(0, ...(ngDevMode ? [{ debugName: "maxCharacters" }] : /* istanbul ignore next */ []));
149
149
  /**
150
150
  *
151
151
  * @description The validators to apply to input field
152
152
  * @type {Validators[]}
153
153
  * @memberof MultiInputComponent
154
154
  */
155
- this.validators = input([], ...(ngDevMode ? [{ debugName: "validators" }] : []));
155
+ this.validators = input([], ...(ngDevMode ? [{ debugName: "validators" }] : /* istanbul ignore next */ []));
156
156
  /**
157
157
  *
158
158
  * @description The width of the multi input
@@ -168,7 +168,7 @@ class MultiInputComponent {
168
168
  * @type {boolean}
169
169
  * @memberof MultiInputComponent
170
170
  */
171
- this.hasCustomErrors = input(false, ...(ngDevMode ? [{ debugName: "hasCustomErrors", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
171
+ this.hasCustomErrors = input(false, { ...(ngDevMode ? { debugName: "hasCustomErrors" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
172
172
  /**
173
173
  * @ignore
174
174
  */
@@ -277,10 +277,10 @@ class MultiInputComponent {
277
277
  this.multiInputForm.enable({ emitEvent: false });
278
278
  }
279
279
  }
280
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
281
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: MultiInputComponent, isStandalone: true, selector: "ui-multi-input", inputs: { itemsList: { classPropertyName: "itemsList", publicName: "itemsList", isSignal: true, isRequired: true, transformFunction: null }, itemTextField: { classPropertyName: "itemTextField", publicName: "itemTextField", isSignal: true, isRequired: true, transformFunction: null }, itemValueField: { classPropertyName: "itemValueField", publicName: "itemValueField", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, 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: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: DropdownComponent, selector: "ui-dropdown", inputs: ["label", "labelIcon", "isAIVariant", "name", "placeholder", "id", "value", "errors", "disabled", "valueList", "allowClear", "allowMultipleSelection", "required", "showBottomContent", "applicationTheme", "hideBuiltInErrors", "hideLabelInErrors", "textField", "valueField", "hasError", "companyColor", "panelClass"], outputs: ["closed", "opened"] }, { kind: "component", type: FieldComponent, selector: "ui-field", inputs: ["fullWidth", "fullHeight", "label", "labelHtml", "labelIcon", "fieldName", "placeholder", "id", "value", "badgeVariant", "errors", "disabled", "required", "readOnly", "hintMessage", "type", "updateOnBlur", "allowOnlyDigits", "isAutocompleteOff", "allowNegative", "showBottomContent", "applicationTheme", "ariaLabel", "loading", "isValid", "maxCharacters", "trimOnBlur", "trimOnSubmit", "maxRows", "hasTextAreaCounter", "hideBuiltInErrors", "hideLabelInErrors", "max", "min", "textareaHeight", "borderless", "autosizableTextarea", "isAIVariant", "ariaLabelledby", "ariaDescribedby", "hasError"], outputs: ["validateEvent", "fieldBlur"] }, { kind: "directive", type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "ngmodule", type: IconComponentModule }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { kind: "ngmodule", type: ValidationErrorModule }, { kind: "component", type: i3.ValidationErrorComponent, selector: "ui-validation-error", inputs: ["ngControl", "touchedOn", "errorMessage", "label", "applicationTheme", "customErrors"] }, { kind: "pipe", type: HasValidationErrorPipe, name: "hasValidationError" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
280
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: MultiInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
281
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: MultiInputComponent, isStandalone: true, selector: "ui-multi-input", inputs: { itemsList: { classPropertyName: "itemsList", publicName: "itemsList", isSignal: true, isRequired: true, transformFunction: null }, itemTextField: { classPropertyName: "itemTextField", publicName: "itemTextField", isSignal: true, isRequired: true, transformFunction: null }, itemValueField: { classPropertyName: "itemValueField", publicName: "itemValueField", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, 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: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: DropdownComponent, selector: "ui-dropdown", inputs: ["label", "labelIcon", "isAIVariant", "name", "placeholder", "id", "value", "errors", "disabled", "valueList", "allowClear", "allowMultipleSelection", "required", "showBottomContent", "applicationTheme", "hideBuiltInErrors", "hideLabelInErrors", "textField", "valueField", "hasError", "companyColor", "panelClass"], outputs: ["closed", "opened"] }, { kind: "component", type: FieldComponent, selector: "ui-field", inputs: ["fullWidth", "fullHeight", "label", "labelHtml", "labelIcon", "fieldName", "placeholder", "id", "value", "badgeVariant", "errors", "disabled", "required", "readOnly", "hintMessage", "type", "updateOnBlur", "allowOnlyDigits", "isAutocompleteOff", "allowNegative", "showBottomContent", "applicationTheme", "ariaLabel", "loading", "isValid", "maxCharacters", "trimOnBlur", "trimOnSubmit", "maxRows", "hasTextAreaCounter", "hideBuiltInErrors", "hideLabelInErrors", "max", "min", "textareaHeight", "borderless", "autosizableTextarea", "isAIVariant", "ariaLabelledby", "ariaDescribedby", "hasError"], outputs: ["validateEvent", "fieldBlur"] }, { kind: "directive", type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "ngmodule", type: IconComponentModule }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { kind: "ngmodule", type: ValidationErrorModule }, { kind: "component", type: i3.ValidationErrorComponent, selector: "ui-validation-error", inputs: ["ngControl", "touchedOn", "errorMessage", "label", "applicationTheme", "customErrors"] }, { kind: "pipe", type: HasValidationErrorPipe, name: "hasValidationError" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
282
282
  }
283
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiInputComponent, decorators: [{
283
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: MultiInputComponent, decorators: [{
284
284
  type: Component,
285
285
  args: [{ selector: 'ui-multi-input', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
286
286
  FormsModule,
@@ -308,8 +308,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
308
308
  }], hasCustomErrors: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasCustomErrors", required: false }] }] } });
309
309
 
310
310
  class MultiInputComponentModule {
311
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiInputComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
312
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: MultiInputComponentModule, imports: [CommonModule,
311
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: MultiInputComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
312
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: MultiInputComponentModule, imports: [CommonModule,
313
313
  MatInputModule,
314
314
  MatSelectModule,
315
315
  DividerComponentModule,
@@ -321,7 +321,7 @@ class MultiInputComponentModule {
321
321
  ValidationErrorModule,
322
322
  FieldComponentModule,
323
323
  MultiInputComponent], exports: [MultiInputComponent] }); }
324
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiInputComponentModule, imports: [CommonModule,
324
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: MultiInputComponentModule, imports: [CommonModule,
325
325
  MatInputModule,
326
326
  MatSelectModule,
327
327
  DividerComponentModule,
@@ -332,7 +332,7 @@ class MultiInputComponentModule {
332
332
  FieldComponentModule,
333
333
  MultiInputComponent] }); }
334
334
  }
335
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: MultiInputComponentModule, decorators: [{
335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: MultiInputComponentModule, decorators: [{
336
336
  type: NgModule,
337
337
  args: [{
338
338
  imports: [
@@ -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';\n\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\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n booleanAttribute,\n Component,\n DoCheck,\n effect,\n EventEmitter,\n HostBinding,\n inject,\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 FormsModule,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { MatHint } from '@angular/material/form-field';\n\nimport { HasValidationErrorPipe } from '@testgorilla/tgo-ui/components/core';\nimport { DropdownComponent } from '@testgorilla/tgo-ui/components/dropdown';\nimport { FieldComponent } from '@testgorilla/tgo-ui/components/field';\nimport { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';\nimport { ValidationErrorModule } from '@testgorilla/tgo-ui/components/validation-error';\n\nimport { MultiInputValue } from './multi-input.model';\nimport { requiredMultiInput } from './required-multi-input.validator';\n\n@Component({\n selector: 'ui-multi-input',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './multi-input.component.html',\n styleUrl: './multi-input.component.scss',\n imports: [\n FormsModule,\n ReactiveFormsModule,\n DropdownComponent,\n FieldComponent,\n MatHint,\n IconComponentModule,\n ValidationErrorModule,\n HasValidationErrorPipe,\n ],\n})\nexport class MultiInputComponent implements ControlValueAccessor, OnInit, DoCheck {\n private readonly cdr = inject(ChangeDetectorRef);\n private lastControlHasError?: boolean;\n\n /**\n * `controlHasError` reads `ngControl.touched`/`errors` — mutable state OnPush\n * never re-checks on its own (e.g. an external `markAllAsTouched()` on submit).\n * ngDoCheck runs whenever an ancestor is checked, so mark the view when the\n * error state moves (same pattern as validation-error/autocomplete-v2).\n */\n ngDoCheck(): void {\n const hasError = this.controlHasError;\n if (hasError !== this.lastControlHasError) {\n this.lastControlHasError = hasError;\n this.cdr.markForCheck();\n }\n }\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: MultiInputValue): 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: (value: MultiInputValue) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): 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 Boolean(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 { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatSelectModule } from '@angular/material/select';\n\nimport { DigitsOnlyDirective, HasValidationErrorPipe } from '@testgorilla/tgo-ui/components/core';\nimport { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';\nimport { DropdownComponentModule } from '@testgorilla/tgo-ui/components/dropdown';\nimport { FieldComponentModule } from '@testgorilla/tgo-ui/components/field';\nimport { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';\nimport { ValidationErrorModule } from '@testgorilla/tgo-ui/components/validation-error';\n\nimport { MultiInputComponent } from './multi-input.component';\n\n@NgModule({\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 MultiInputComponent,\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;AAKO,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;;ACjBA;MA0Da,mBAAmB,CAAA;AAI9B;;;;;AAKG;IACH,SAAS,GAAA;AACP,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,eAAe;AACrC,QAAA,IAAI,QAAQ,KAAK,IAAI,CAAC,mBAAmB,EAAE;AACzC,YAAA,IAAI,CAAC,mBAAmB,GAAG,QAAQ;AACnC,YAAA,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE;QACzB;IACF;IA6JA,WAAA,CACgC,SAAoB,EACjC,EAAe,EAAA;QADF,IAAA,CAAA,SAAS,GAAT,SAAS;QACtB,IAAA,CAAA,EAAE,GAAF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CAAC;AAC/B,iBAAA;;;AC/BD;;AAEG;;;;"}
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';\n\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\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n booleanAttribute,\n Component,\n DoCheck,\n effect,\n EventEmitter,\n HostBinding,\n inject,\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 FormsModule,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { MatHint } from '@angular/material/form-field';\n\nimport { HasValidationErrorPipe } from '@testgorilla/tgo-ui/components/core';\nimport { DropdownComponent } from '@testgorilla/tgo-ui/components/dropdown';\nimport { FieldComponent } from '@testgorilla/tgo-ui/components/field';\nimport { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';\nimport { ValidationErrorModule } from '@testgorilla/tgo-ui/components/validation-error';\n\nimport { MultiInputValue } from './multi-input.model';\nimport { requiredMultiInput } from './required-multi-input.validator';\n\n@Component({\n selector: 'ui-multi-input',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './multi-input.component.html',\n styleUrl: './multi-input.component.scss',\n imports: [\n FormsModule,\n ReactiveFormsModule,\n DropdownComponent,\n FieldComponent,\n MatHint,\n IconComponentModule,\n ValidationErrorModule,\n HasValidationErrorPipe,\n ],\n})\nexport class MultiInputComponent implements ControlValueAccessor, OnInit, DoCheck {\n private readonly cdr = inject(ChangeDetectorRef);\n private lastControlHasError?: boolean;\n\n /**\n * `controlHasError` reads `ngControl.touched`/`errors` — mutable state OnPush\n * never re-checks on its own (e.g. an external `markAllAsTouched()` on submit).\n * ngDoCheck runs whenever an ancestor is checked, so mark the view when the\n * error state moves (same pattern as validation-error/autocomplete-v2).\n */\n ngDoCheck(): void {\n const hasError = this.controlHasError;\n if (hasError !== this.lastControlHasError) {\n this.lastControlHasError = hasError;\n this.cdr.markForCheck();\n }\n }\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: MultiInputValue): 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: (value: MultiInputValue) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): 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 Boolean(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 { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatSelectModule } from '@angular/material/select';\n\nimport { DigitsOnlyDirective, HasValidationErrorPipe } from '@testgorilla/tgo-ui/components/core';\nimport { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';\nimport { DropdownComponentModule } from '@testgorilla/tgo-ui/components/dropdown';\nimport { FieldComponentModule } from '@testgorilla/tgo-ui/components/field';\nimport { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';\nimport { ValidationErrorModule } from '@testgorilla/tgo-ui/components/validation-error';\n\nimport { MultiInputComponent } from './multi-input.component';\n\n@NgModule({\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 MultiInputComponent,\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;AAKO,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;;ACjBA;MA0Da,mBAAmB,CAAA;AAI9B;;;;;AAKG;IACH,SAAS,GAAA;AACP,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,eAAe;AACrC,QAAA,IAAI,QAAQ,KAAK,IAAI,CAAC,mBAAmB,EAAE;AACzC,YAAA,IAAI,CAAC,mBAAmB,GAAG,QAAQ;AACnC,YAA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