@ngstarter-ui/components 22.3.5 → 22.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/README.md +27 -0
  2. package/ai/component-registry.json +186 -101
  3. package/fesm2022/attachment-block-BK9QxVjq.mjs +163 -0
  4. package/fesm2022/attachment-block-BK9QxVjq.mjs.map +1 -0
  5. package/fesm2022/callout-block-Bl4GZYz8.mjs +196 -0
  6. package/fesm2022/callout-block-Bl4GZYz8.mjs.map +1 -0
  7. package/fesm2022/code-block.component-DCRD-9iP.mjs +393 -0
  8. package/fesm2022/code-block.component-DCRD-9iP.mjs.map +1 -0
  9. package/fesm2022/content-builder.store-D622mHxt.mjs +328 -0
  10. package/fesm2022/content-builder.store-D622mHxt.mjs.map +1 -0
  11. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs +1110 -0
  12. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs.map +1 -0
  13. package/fesm2022/cursor-controller-DKfBII1n.mjs +55 -0
  14. package/fesm2022/cursor-controller-DKfBII1n.mjs.map +1 -0
  15. package/fesm2022/default-converters-9oSKDsXP.mjs +140 -0
  16. package/fesm2022/default-converters-9oSKDsXP.mjs.map +1 -0
  17. package/fesm2022/divider-block.component-Dvgeq_D0.mjs +148 -0
  18. package/fesm2022/divider-block.component-Dvgeq_D0.mjs.map +1 -0
  19. package/fesm2022/embed-block-CYkOv4Wt.mjs +565 -0
  20. package/fesm2022/embed-block-CYkOv4Wt.mjs.map +1 -0
  21. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs +122 -0
  22. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs.map +1 -0
  23. package/fesm2022/gallery-block-DT3uIURY.mjs +365 -0
  24. package/fesm2022/gallery-block-DT3uIURY.mjs.map +1 -0
  25. package/fesm2022/grid-block-ZVDT3m8-.mjs +504 -0
  26. package/fesm2022/grid-block-ZVDT3m8-.mjs.map +1 -0
  27. package/fesm2022/heading-block.component-iCpJGTMh.mjs +274 -0
  28. package/fesm2022/heading-block.component-iCpJGTMh.mjs.map +1 -0
  29. package/fesm2022/html-utils-DywL8gGa.mjs +24 -0
  30. package/fesm2022/html-utils-DywL8gGa.mjs.map +1 -0
  31. package/fesm2022/image-block.component-DJ7-HCR8.mjs +285 -0
  32. package/fesm2022/image-block.component-DJ7-HCR8.mjs.map +1 -0
  33. package/fesm2022/list-block.component-qFIebEBO.mjs +312 -0
  34. package/fesm2022/list-block.component-qFIebEBO.mjs.map +1 -0
  35. package/fesm2022/nested-blocks-CXhgXJ1H.mjs +345 -0
  36. package/fesm2022/nested-blocks-CXhgXJ1H.mjs.map +1 -0
  37. package/fesm2022/ngstarter-ui-components-action-required.mjs +150 -45
  38. package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -1
  39. package/fesm2022/ngstarter-ui-components-alert.mjs +318 -133
  40. package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -1
  41. package/fesm2022/ngstarter-ui-components-announcement.mjs +280 -88
  42. package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -1
  43. package/fesm2022/ngstarter-ui-components-autocomplete.mjs +647 -386
  44. package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -1
  45. package/fesm2022/ngstarter-ui-components-avatar.mjs +715 -482
  46. package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -1
  47. package/fesm2022/ngstarter-ui-components-badge.mjs +308 -97
  48. package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -1
  49. package/fesm2022/ngstarter-ui-components-block-loader.mjs +164 -47
  50. package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -1
  51. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +278 -315
  52. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs.map +1 -1
  53. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +707 -205
  54. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -1
  55. package/fesm2022/ngstarter-ui-components-button-toggle.mjs +518 -175
  56. package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -1
  57. package/fesm2022/ngstarter-ui-components-button.mjs +294 -68
  58. package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -1
  59. package/fesm2022/ngstarter-ui-components-calendar.mjs +442 -250
  60. package/fesm2022/ngstarter-ui-components-calendar.mjs.map +1 -1
  61. package/fesm2022/ngstarter-ui-components-card-overlay.mjs +159 -47
  62. package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -1
  63. package/fesm2022/ngstarter-ui-components-card.mjs +619 -194
  64. package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -1
  65. package/fesm2022/ngstarter-ui-components-carousel.mjs +1012 -634
  66. package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -1
  67. package/fesm2022/ngstarter-ui-components-checkbox.mjs +715 -308
  68. package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -1
  69. package/fesm2022/ngstarter-ui-components-chips.mjs +1397 -667
  70. package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -1
  71. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +519 -357
  72. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -1
  73. package/fesm2022/ngstarter-ui-components-color-picker.mjs +1218 -604
  74. package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -1
  75. package/fesm2022/ngstarter-ui-components-color-scheme.mjs +265 -134
  76. package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -1
  77. package/fesm2022/ngstarter-ui-components-color-switcher.mjs +190 -71
  78. package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -1
  79. package/fesm2022/ngstarter-ui-components-command-bar.mjs +197 -58
  80. package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -1
  81. package/fesm2022/ngstarter-ui-components-comment-editor.mjs +2212 -1128
  82. package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -1
  83. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +269 -183
  84. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -1
  85. package/fesm2022/ngstarter-ui-components-confirm.mjs +164 -86
  86. package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -1
  87. package/fesm2022/ngstarter-ui-components-content-editor.mjs +6240 -2
  88. package/fesm2022/ngstarter-ui-components-content-editor.mjs.map +1 -1
  89. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +244 -108
  90. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -1
  91. package/fesm2022/ngstarter-ui-components-core.mjs +2110 -1592
  92. package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -1
  93. package/fesm2022/ngstarter-ui-components-country-select.mjs +1970 -588
  94. package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -1
  95. package/fesm2022/ngstarter-ui-components-crop.mjs +249 -191
  96. package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -1
  97. package/fesm2022/ngstarter-ui-components-currency-select.mjs +1658 -452
  98. package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -1
  99. package/fesm2022/ngstarter-ui-components-data-view.mjs +4538 -2497
  100. package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -1
  101. package/fesm2022/ngstarter-ui-components-date-format-select.mjs +357 -157
  102. package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -1
  103. package/fesm2022/ngstarter-ui-components-datepicker.mjs +2587 -1264
  104. package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -1
  105. package/fesm2022/ngstarter-ui-components-dialog.mjs +681 -385
  106. package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -1
  107. package/fesm2022/ngstarter-ui-components-digit-roller.mjs +1000 -750
  108. package/fesm2022/ngstarter-ui-components-digit-roller.mjs.map +1 -1
  109. package/fesm2022/ngstarter-ui-components-divider.mjs +164 -41
  110. package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -1
  111. package/fesm2022/ngstarter-ui-components-drawer.mjs +218 -143
  112. package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -1
  113. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +345 -247
  114. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -1
  115. package/fesm2022/ngstarter-ui-components-empty-state.mjs +244 -74
  116. package/fesm2022/ngstarter-ui-components-empty-state.mjs.map +1 -1
  117. package/fesm2022/ngstarter-ui-components-events.mjs +467 -126
  118. package/fesm2022/ngstarter-ui-components-events.mjs.map +1 -1
  119. package/fesm2022/ngstarter-ui-components-expand.mjs +191 -59
  120. package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -1
  121. package/fesm2022/ngstarter-ui-components-expansion.mjs +529 -193
  122. package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -1
  123. package/fesm2022/ngstarter-ui-components-file-type.mjs +270 -171
  124. package/fesm2022/ngstarter-ui-components-file-type.mjs.map +1 -1
  125. package/fesm2022/ngstarter-ui-components-filter-builder.mjs +741 -352
  126. package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -1
  127. package/fesm2022/ngstarter-ui-components-form-builder.mjs +9032 -6964
  128. package/fesm2022/ngstarter-ui-components-form-builder.mjs.map +1 -1
  129. package/fesm2022/ngstarter-ui-components-form-field.mjs +741 -276
  130. package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -1
  131. package/fesm2022/ngstarter-ui-components-gauge.mjs +155 -43
  132. package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -1
  133. package/fesm2022/ngstarter-ui-components-grid.mjs +197 -81
  134. package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -1
  135. package/fesm2022/ngstarter-ui-components-guided-tour.mjs +881 -740
  136. package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -1
  137. package/fesm2022/ngstarter-ui-components-headless-editor.mjs +3573 -3656
  138. package/fesm2022/ngstarter-ui-components-headless-editor.mjs.map +1 -1
  139. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +277 -204
  140. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -1
  141. package/fesm2022/ngstarter-ui-components-icon.mjs +209 -182
  142. package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -1
  143. package/fesm2022/ngstarter-ui-components-image-designer.mjs +5096 -4066
  144. package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -1
  145. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +45 -19
  146. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -1
  147. package/fesm2022/ngstarter-ui-components-image-resizer.mjs +333 -154
  148. package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -1
  149. package/fesm2022/ngstarter-ui-components-image-viewer.mjs +564 -358
  150. package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -1
  151. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +246 -167
  152. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -1
  153. package/fesm2022/ngstarter-ui-components-incidents.mjs +732 -258
  154. package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -1
  155. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +244 -182
  156. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -1
  157. package/fesm2022/ngstarter-ui-components-input-mask.mjs +314 -174
  158. package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -1
  159. package/fesm2022/ngstarter-ui-components-input-validator.mjs +45 -69
  160. package/fesm2022/ngstarter-ui-components-input-validator.mjs.map +1 -1
  161. package/fesm2022/ngstarter-ui-components-input.mjs +303 -161
  162. package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -1
  163. package/fesm2022/ngstarter-ui-components-kanban-board.mjs +504 -159
  164. package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -1
  165. package/fesm2022/ngstarter-ui-components-kbd.mjs +86 -30
  166. package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -1
  167. package/fesm2022/ngstarter-ui-components-layout.mjs +681 -220
  168. package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -1
  169. package/fesm2022/ngstarter-ui-components-list.mjs +968 -281
  170. package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -1
  171. package/fesm2022/ngstarter-ui-components-logo.mjs +181 -51
  172. package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -1
  173. package/fesm2022/ngstarter-ui-components-marquee.mjs +226 -147
  174. package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -1
  175. package/fesm2022/ngstarter-ui-components-menu.mjs +1686 -1091
  176. package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -1
  177. package/fesm2022/ngstarter-ui-components-micro-chart.mjs +1541 -943
  178. package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -1
  179. package/fesm2022/ngstarter-ui-components-navigation.mjs +1035 -455
  180. package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -1
  181. package/fesm2022/ngstarter-ui-components-notifications.mjs +678 -230
  182. package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -1
  183. package/fesm2022/ngstarter-ui-components-number-input.mjs +616 -316
  184. package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -1
  185. package/fesm2022/ngstarter-ui-components-option.mjs +405 -163
  186. package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -1
  187. package/fesm2022/ngstarter-ui-components-overlay.mjs +107 -111
  188. package/fesm2022/ngstarter-ui-components-overlay.mjs.map +1 -1
  189. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +131 -76
  190. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -1
  191. package/fesm2022/ngstarter-ui-components-paginator.mjs +543 -295
  192. package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -1
  193. package/fesm2022/ngstarter-ui-components-password-strength.mjs +785 -340
  194. package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -1
  195. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs +3705 -2695
  196. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs.map +1 -1
  197. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs +1179 -851
  198. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs.map +1 -1
  199. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +2973 -2070
  200. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
  201. package/fesm2022/ngstarter-ui-components-phone-input.mjs +2081 -770
  202. package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -1
  203. package/fesm2022/ngstarter-ui-components-pin-input.mjs +366 -198
  204. package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -1
  205. package/fesm2022/ngstarter-ui-components-popover.mjs +558 -308
  206. package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -1
  207. package/fesm2022/ngstarter-ui-components-progress-bar.mjs +178 -73
  208. package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -1
  209. package/fesm2022/ngstarter-ui-components-radio-card.mjs +301 -105
  210. package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -1
  211. package/fesm2022/ngstarter-ui-components-radio.mjs +417 -157
  212. package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -1
  213. package/fesm2022/ngstarter-ui-components-rail-nav.mjs +208 -88
  214. package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -1
  215. package/fesm2022/ngstarter-ui-components-resizable-container.mjs +123 -74
  216. package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -1
  217. package/fesm2022/ngstarter-ui-components-screen-loader.mjs +197 -95
  218. package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -1
  219. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +383 -245
  220. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -1
  221. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +705 -581
  222. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -1
  223. package/fesm2022/ngstarter-ui-components-segmented.mjs +422 -220
  224. package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -1
  225. package/fesm2022/ngstarter-ui-components-select.mjs +1862 -1159
  226. package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -1
  227. package/fesm2022/ngstarter-ui-components-side-panel.mjs +313 -118
  228. package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -1
  229. package/fesm2022/ngstarter-ui-components-sidebar.mjs +1239 -470
  230. package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -1
  231. package/fesm2022/ngstarter-ui-components-sidenav.mjs +664 -354
  232. package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -1
  233. package/fesm2022/ngstarter-ui-components-signature-pad.mjs +1092 -643
  234. package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -1
  235. package/fesm2022/ngstarter-ui-components-skeleton.mjs +153 -43
  236. package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -1
  237. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +425 -108
  238. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -1
  239. package/fesm2022/ngstarter-ui-components-slider.mjs +645 -487
  240. package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -1
  241. package/fesm2022/ngstarter-ui-components-snack-bar.mjs +372 -354
  242. package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -1
  243. package/fesm2022/ngstarter-ui-components-sort.mjs +378 -147
  244. package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -1
  245. package/fesm2022/ngstarter-ui-components-spinner.mjs +242 -76
  246. package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -1
  247. package/fesm2022/ngstarter-ui-components-splash-screen.mjs +142 -91
  248. package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -1
  249. package/fesm2022/ngstarter-ui-components-split.mjs +1067 -929
  250. package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -1
  251. package/fesm2022/ngstarter-ui-components-step-tracker.mjs +617 -331
  252. package/fesm2022/ngstarter-ui-components-step-tracker.mjs.map +1 -1
  253. package/fesm2022/ngstarter-ui-components-stepper.mjs +357 -126
  254. package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -1
  255. package/fesm2022/ngstarter-ui-components-suggestions.mjs +259 -72
  256. package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -1
  257. package/fesm2022/ngstarter-ui-components-tab-panel.mjs +674 -267
  258. package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -1
  259. package/fesm2022/ngstarter-ui-components-table.mjs +1144 -662
  260. package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -1
  261. package/fesm2022/ngstarter-ui-components-tabs.mjs +1236 -615
  262. package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -1
  263. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +414 -216
  264. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -1
  265. package/fesm2022/ngstarter-ui-components-tiles.mjs +939 -647
  266. package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -1
  267. package/fesm2022/ngstarter-ui-components-timeline.mjs +418 -122
  268. package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -1
  269. package/fesm2022/ngstarter-ui-components-timepicker.mjs +870 -508
  270. package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -1
  271. package/fesm2022/ngstarter-ui-components-timezone-select.mjs +651 -371
  272. package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -1
  273. package/fesm2022/ngstarter-ui-components-toolbar.mjs +727 -320
  274. package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -1
  275. package/fesm2022/ngstarter-ui-components-tooltip.mjs +601 -521
  276. package/fesm2022/ngstarter-ui-components-tooltip.mjs.map +1 -1
  277. package/fesm2022/ngstarter-ui-components-tree-select.mjs +1197 -434
  278. package/fesm2022/ngstarter-ui-components-tree-select.mjs.map +1 -1
  279. package/fesm2022/ngstarter-ui-components-tree.mjs +1821 -1262
  280. package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -1
  281. package/fesm2022/ngstarter-ui-components-upload.mjs +1059 -345
  282. package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -1
  283. package/fesm2022/ngstarter-ui-components-video-player.mjs +763 -533
  284. package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -1
  285. package/fesm2022/ngstarter-ui-components-video-viewer.mjs +630 -229
  286. package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -1
  287. package/fesm2022/ngstarter-ui-components-visual-builder.mjs +40 -17
  288. package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -1
  289. package/fesm2022/ngstarter-ui-components-whiteboard.mjs +3039 -1803
  290. package/fesm2022/ngstarter-ui-components-whiteboard.mjs.map +1 -1
  291. package/fesm2022/ngstarter-ui-components.mjs +3 -5
  292. package/fesm2022/ngstarter-ui-components.mjs.map +1 -1
  293. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs +264 -0
  294. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs.map +1 -0
  295. package/fesm2022/plain-text-settings-BnxCxLhA.mjs +354 -0
  296. package/fesm2022/plain-text-settings-BnxCxLhA.mjs.map +1 -0
  297. package/fesm2022/quote-block.component-tRmrU97F.mjs +309 -0
  298. package/fesm2022/quote-block.component-tRmrU97F.mjs.map +1 -0
  299. package/fesm2022/table-block.component-BuzRRggv.mjs +1859 -0
  300. package/fesm2022/table-block.component-BuzRRggv.mjs.map +1 -0
  301. package/fesm2022/toggle-block-C5Jo2YDf.mjs +150 -0
  302. package/fesm2022/toggle-block-C5Jo2YDf.mjs.map +1 -0
  303. package/fesm2022/upload-status-tZ0x0BUB.mjs +107 -0
  304. package/fesm2022/upload-status-tZ0x0BUB.mjs.map +1 -0
  305. package/fesm2022/video-block.component-CpAXibm6.mjs +312 -0
  306. package/fesm2022/video-block.component-CpAXibm6.mjs.map +1 -0
  307. package/package.json +11 -10
  308. package/styles/_tokens.scss +1 -0
  309. package/types/ngstarter-ui-components-action-required.d.ts +34 -14
  310. package/types/ngstarter-ui-components-alert.d.ts +53 -44
  311. package/types/ngstarter-ui-components-announcement.d.ts +74 -53
  312. package/types/ngstarter-ui-components-autocomplete.d.ts +141 -84
  313. package/types/ngstarter-ui-components-avatar.d.ts +113 -66
  314. package/types/ngstarter-ui-components-badge.d.ts +73 -37
  315. package/types/ngstarter-ui-components-block-loader.d.ts +32 -20
  316. package/types/ngstarter-ui-components-bottom-sheet.d.ts +125 -132
  317. package/types/ngstarter-ui-components-breadcrumbs.d.ts +93 -88
  318. package/types/ngstarter-ui-components-button-toggle.d.ts +124 -54
  319. package/types/ngstarter-ui-components-button.d.ts +69 -27
  320. package/types/ngstarter-ui-components-calendar.d.ts +123 -71
  321. package/types/ngstarter-ui-components-card-overlay.d.ts +31 -19
  322. package/types/ngstarter-ui-components-card.d.ts +75 -71
  323. package/types/ngstarter-ui-components-carousel.d.ts +115 -69
  324. package/types/ngstarter-ui-components-checkbox.d.ts +183 -86
  325. package/types/ngstarter-ui-components-chips.d.ts +288 -195
  326. package/types/ngstarter-ui-components-code-highlighter.d.ts +71 -28
  327. package/types/ngstarter-ui-components-color-picker.d.ts +140 -89
  328. package/types/ngstarter-ui-components-color-scheme.d.ts +43 -52
  329. package/types/ngstarter-ui-components-color-switcher.d.ts +46 -26
  330. package/types/ngstarter-ui-components-command-bar.d.ts +40 -26
  331. package/types/ngstarter-ui-components-comment-editor.d.ts +311 -235
  332. package/types/ngstarter-ui-components-comparison-slider.d.ts +41 -40
  333. package/types/ngstarter-ui-components-confirm.d.ts +24 -29
  334. package/types/ngstarter-ui-components-content-editor.d.ts +1482 -998
  335. package/types/ngstarter-ui-components-cookie-popup.d.ts +43 -38
  336. package/types/ngstarter-ui-components-core.d.ts +513 -467
  337. package/types/ngstarter-ui-components-country-select.d.ts +170 -97
  338. package/types/ngstarter-ui-components-crop.d.ts +67 -52
  339. package/types/ngstarter-ui-components-currency-select.d.ts +127 -90
  340. package/types/ngstarter-ui-components-data-view.d.ts +811 -567
  341. package/types/ngstarter-ui-components-date-format-select.d.ts +90 -58
  342. package/types/ngstarter-ui-components-datepicker.d.ts +589 -373
  343. package/types/ngstarter-ui-components-dialog.d.ts +138 -116
  344. package/types/ngstarter-ui-components-digit-roller.d.ts +228 -131
  345. package/types/ngstarter-ui-components-divider.d.ts +29 -17
  346. package/types/ngstarter-ui-components-drawer.d.ts +39 -30
  347. package/types/ngstarter-ui-components-emoji-picker.d.ts +69 -47
  348. package/types/ngstarter-ui-components-empty-state.d.ts +20 -28
  349. package/types/ngstarter-ui-components-events.d.ts +73 -57
  350. package/types/ngstarter-ui-components-expand.d.ts +55 -25
  351. package/types/ngstarter-ui-components-expansion.d.ts +93 -64
  352. package/types/ngstarter-ui-components-file-type.d.ts +53 -27
  353. package/types/ngstarter-ui-components-filter-builder.d.ts +131 -100
  354. package/types/ngstarter-ui-components-form-builder.d.ts +1094 -881
  355. package/types/ngstarter-ui-components-form-field.d.ts +116 -105
  356. package/types/ngstarter-ui-components-gauge.d.ts +32 -20
  357. package/types/ngstarter-ui-components-grid.d.ts +66 -50
  358. package/types/ngstarter-ui-components-guided-tour.d.ts +250 -222
  359. package/types/ngstarter-ui-components-headless-editor.d.ts +708 -658
  360. package/types/ngstarter-ui-components-headless-stepper.d.ts +84 -64
  361. package/types/ngstarter-ui-components-icon.d.ts +39 -38
  362. package/types/ngstarter-ui-components-image-designer.d.ts +422 -341
  363. package/types/ngstarter-ui-components-image-placeholder.d.ts +5 -8
  364. package/types/ngstarter-ui-components-image-resizer.d.ts +40 -33
  365. package/types/ngstarter-ui-components-image-viewer.d.ts +67 -54
  366. package/types/ngstarter-ui-components-image-zoom-viewer.d.ts +29 -33
  367. package/types/ngstarter-ui-components-incidents.d.ts +97 -104
  368. package/types/ngstarter-ui-components-inline-text-edit.d.ts +54 -39
  369. package/types/ngstarter-ui-components-input-mask.d.ts +54 -34
  370. package/types/ngstarter-ui-components-input-validator.d.ts +7 -11
  371. package/types/ngstarter-ui-components-input.d.ts +82 -54
  372. package/types/ngstarter-ui-components-kanban-board.d.ts +76 -63
  373. package/types/ngstarter-ui-components-kbd.d.ts +8 -12
  374. package/types/ngstarter-ui-components-layout.d.ts +131 -87
  375. package/types/ngstarter-ui-components-list.d.ts +123 -88
  376. package/types/ngstarter-ui-components-logo.d.ts +21 -21
  377. package/types/ngstarter-ui-components-marquee.d.ts +41 -34
  378. package/types/ngstarter-ui-components-menu.d.ts +329 -221
  379. package/types/ngstarter-ui-components-micro-chart.d.ts +385 -186
  380. package/types/ngstarter-ui-components-navigation.d.ts +186 -125
  381. package/types/ngstarter-ui-components-notifications.d.ts +104 -89
  382. package/types/ngstarter-ui-components-number-input.d.ts +138 -96
  383. package/types/ngstarter-ui-components-option.d.ts +102 -68
  384. package/types/ngstarter-ui-components-overlay.d.ts +7 -12
  385. package/types/ngstarter-ui-components-page-loading-bar.d.ts +23 -20
  386. package/types/ngstarter-ui-components-paginator.d.ts +171 -129
  387. package/types/ngstarter-ui-components-password-strength.d.ts +217 -102
  388. package/types/ngstarter-ui-components-pdf-builder.d.ts +717 -649
  389. package/types/ngstarter-ui-components-pdf-signer.d.ts +202 -142
  390. package/types/ngstarter-ui-components-pdf-viewer.d.ts +544 -385
  391. package/types/ngstarter-ui-components-phone-input.d.ts +175 -115
  392. package/types/ngstarter-ui-components-pin-input.d.ts +83 -45
  393. package/types/ngstarter-ui-components-popover.d.ts +128 -89
  394. package/types/ngstarter-ui-components-progress-bar.d.ts +49 -30
  395. package/types/ngstarter-ui-components-radio-card.d.ts +50 -34
  396. package/types/ngstarter-ui-components-radio.d.ts +100 -47
  397. package/types/ngstarter-ui-components-rail-nav.d.ts +36 -29
  398. package/types/ngstarter-ui-components-resizable-container.d.ts +30 -25
  399. package/types/ngstarter-ui-components-screen-loader.d.ts +38 -32
  400. package/types/ngstarter-ui-components-scroll-spy.d.ts +56 -60
  401. package/types/ngstarter-ui-components-scrollbar-area.d.ts +116 -86
  402. package/types/ngstarter-ui-components-segmented.d.ts +93 -61
  403. package/types/ngstarter-ui-components-select.d.ts +366 -266
  404. package/types/ngstarter-ui-components-side-panel.d.ts +59 -40
  405. package/types/ngstarter-ui-components-sidebar.d.ts +208 -154
  406. package/types/ngstarter-ui-components-sidenav.d.ts +136 -78
  407. package/types/ngstarter-ui-components-signature-pad.d.ts +165 -92
  408. package/types/ngstarter-ui-components-skeleton.d.ts +18 -17
  409. package/types/ngstarter-ui-components-slide-toggle.d.ts +113 -44
  410. package/types/ngstarter-ui-components-slider.d.ts +123 -82
  411. package/types/ngstarter-ui-components-snack-bar.d.ts +126 -134
  412. package/types/ngstarter-ui-components-sort.d.ts +99 -63
  413. package/types/ngstarter-ui-components-spinner.d.ts +49 -27
  414. package/types/ngstarter-ui-components-splash-screen.d.ts +34 -29
  415. package/types/ngstarter-ui-components-split.d.ts +276 -195
  416. package/types/ngstarter-ui-components-step-tracker.d.ts +102 -83
  417. package/types/ngstarter-ui-components-stepper.d.ts +57 -43
  418. package/types/ngstarter-ui-components-suggestions.d.ts +41 -28
  419. package/types/ngstarter-ui-components-tab-panel.d.ts +110 -83
  420. package/types/ngstarter-ui-components-table.d.ts +256 -228
  421. package/types/ngstarter-ui-components-tabs.d.ts +231 -138
  422. package/types/ngstarter-ui-components-thumbnail-maker.d.ts +40 -34
  423. package/types/ngstarter-ui-components-tiles.d.ts +166 -104
  424. package/types/ngstarter-ui-components-timeline.d.ts +45 -57
  425. package/types/ngstarter-ui-components-timepicker.d.ts +166 -111
  426. package/types/ngstarter-ui-components-timezone-select.d.ts +110 -70
  427. package/types/ngstarter-ui-components-toolbar.d.ts +89 -72
  428. package/types/ngstarter-ui-components-tooltip.d.ts +89 -52
  429. package/types/ngstarter-ui-components-tree-select.d.ts +182 -105
  430. package/types/ngstarter-ui-components-tree.d.ts +355 -229
  431. package/types/ngstarter-ui-components-upload.d.ts +216 -131
  432. package/types/ngstarter-ui-components-video-player.d.ts +130 -67
  433. package/types/ngstarter-ui-components-video-viewer.d.ts +140 -91
  434. package/types/ngstarter-ui-components-visual-builder.d.ts +5 -8
  435. package/types/ngstarter-ui-components-whiteboard.d.ts +412 -339
  436. package/types/ngstarter-ui-components.d.ts +2 -2
  437. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-8OmuepvH.mjs +0 -35
  438. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-8OmuepvH.mjs.map +0 -1
  439. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-Dp5tISk3.mjs +0 -26
  440. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-Dp5tISk3.mjs.map +0 -1
  441. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-BbBs-R_y.mjs +0 -220
  442. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-BbBs-R_y.mjs.map +0 -1
  443. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs +0 -99
  444. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs.map +0 -1
  445. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs +0 -40
  446. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs.map +0 -1
  447. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-DGCCeU-Y.mjs +0 -375
  448. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-DGCCeU-Y.mjs.map +0 -1
  449. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-BJfRgtaA.mjs +0 -80
  450. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-BJfRgtaA.mjs.map +0 -1
  451. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-C_L7hF2G.mjs +0 -65
  452. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-C_L7hF2G.mjs.map +0 -1
  453. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-durrPUhm.mjs +0 -137
  454. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-durrPUhm.mjs.map +0 -1
  455. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-BoL1jZpT.mjs +0 -113
  456. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-BoL1jZpT.mjs.map +0 -1
  457. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-ChZpgXO5.mjs +0 -235
  458. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-ChZpgXO5.mjs.map +0 -1
  459. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-DwyNFnII.mjs +0 -117
  460. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-DwyNFnII.mjs.map +0 -1
  461. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-BWpJv6CO.mjs +0 -4464
  462. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-BWpJv6CO.mjs.map +0 -1
  463. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-BvNvkqTO.mjs +0 -132
  464. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-BvNvkqTO.mjs.map +0 -1
  465. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-tgNKltfK.mjs +0 -171
  466. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-tgNKltfK.mjs.map +0 -1
  467. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-BcAlqmh8.mjs +0 -1653
  468. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-BcAlqmh8.mjs.map +0 -1
  469. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-S474I51r.mjs +0 -20
  470. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-S474I51r.mjs.map +0 -1
  471. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs +0 -19
  472. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs.map +0 -1
  473. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-Dj82fxTI.mjs +0 -134
  474. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-Dj82fxTI.mjs.map +0 -1
  475. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs +0 -159
  476. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs.map +0 -1
@@ -1,317 +1,617 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, TemplateRef, Directive, ElementRef, viewChild, contentChild, input, numberAttribute, booleanAttribute, signal, output, computed, effect, forwardRef, HostListener, Optional, Self, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import * as i1 from '@angular/forms';
4
- import { NgForm, FormGroupDirective } from '@angular/forms';
5
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
6
- import { FormFieldControl } from '@ngstarter-ui/components/form-field';
7
- import { Subject } from 'rxjs';
8
- import { Ripple } from '@ngstarter-ui/components/core';
9
- import { NgTemplateOutlet } from '@angular/common';
10
-
11
- class DecreaseControlDirective {
12
- templateRef = inject(TemplateRef);
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: DecreaseControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: DecreaseControlDirective, isStandalone: true, selector: "[ngsDecreaseControl]", exportAs: ["ngsDecreaseControl"], ngImport: i0 });
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: DecreaseControlDirective, decorators: [{
17
- type: Directive,
18
- args: [{
19
- selector: '[ngsDecreaseControl]',
20
- exportAs: 'ngsDecreaseControl'
21
- }]
22
- }] });
23
-
24
- class IncreaseControlDirective {
25
- templateRef = inject(TemplateRef);
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncreaseControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: IncreaseControlDirective, isStandalone: true, selector: "[ngsIncreaseControl]", exportAs: ["ngsIncreaseControl"], ngImport: i0 });
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncreaseControlDirective, decorators: [{
30
- type: Directive,
31
- args: [{
32
- selector: '[ngsIncreaseControl]',
33
- exportAs: 'ngsIncreaseControl'
34
- }]
35
- }] });
36
-
37
- class NumberInput {
38
- ngControl;
39
- _parentForm = inject(NgForm, {
40
- optional: true,
41
- });
42
- _parentFormGroup = inject(FormGroupDirective, {
43
- optional: true,
44
- });
45
- _elementRef = inject(ElementRef);
46
- disableAutomaticLabeling = false;
47
- _input = viewChild.required('input', /* @ts-ignore */
48
- ...(ngDevMode ? [{ debugName: "_input" }] : /* istanbul ignore next */ []));
49
- _decreaseControlRef = contentChild(DecreaseControlDirective, /* @ts-ignore */
50
- ...(ngDevMode ? [{ debugName: "_decreaseControlRef" }] : /* istanbul ignore next */ []));
51
- _increaseControlRef = contentChild(IncreaseControlDirective, /* @ts-ignore */
52
- ...(ngDevMode ? [{ debugName: "_increaseControlRef" }] : /* istanbul ignore next */ []));
53
- min = input(undefined, { ...(ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {}), transform: numberAttribute });
54
- max = input(undefined, { ...(ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {}), transform: numberAttribute });
55
- step = input(1, { ...(ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {}), transform: numberAttribute });
56
- readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
57
- disabledInput = input(false, { ...(ngDevMode ? { debugName: "disabledInput" } : /* istanbul ignore next */ {}), transform: booleanAttribute,
58
- alias: 'disabled' });
59
- get disabled() {
60
- return this.disabledInput() || this._disabled();
61
- }
62
- _disabled = signal(false, /* @ts-ignore */
63
- ...(ngDevMode ? [{ debugName: "_disabled" }] : /* istanbul ignore next */ []));
64
- requiredInput = input(false, { ...(ngDevMode ? { debugName: "requiredInput" } : /* istanbul ignore next */ {}), transform: booleanAttribute,
65
- alias: 'required' });
66
- get required() {
67
- return this.requiredInput() || this._required();
68
- }
69
- _required = signal(false, /* @ts-ignore */
70
- ...(ngDevMode ? [{ debugName: "_required" }] : /* istanbul ignore next */ []));
71
- ariaLabel = input(null, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
72
- valueChange = output();
73
- static nextId = 0;
74
- _value = signal(undefined, /* @ts-ignore */
75
- ...(ngDevMode ? [{ debugName: "_value" }] : /* istanbul ignore next */ []));
76
- controlType;
77
- autofilled;
78
- userAriaDescribedBy;
79
- stateChanges = new Subject();
80
- focused = false;
81
- _focused = signal(false, /* @ts-ignore */
82
- ...(ngDevMode ? [{ debugName: "_focused" }] : /* istanbul ignore next */ []));
83
- touched = false;
84
- errorState = false;
85
- _errorState = signal(false, /* @ts-ignore */
86
- ...(ngDevMode ? [{ debugName: "_errorState" }] : /* istanbul ignore next */ []));
87
- id = '';
88
- _id = signal(`ngs-number-input${NumberInput.nextId++}`, /* @ts-ignore */
89
- ...(ngDevMode ? [{ debugName: "_id" }] : /* istanbul ignore next */ []));
90
- shouldLabelFloat = false;
91
- _shouldLabelFloat = computed(() => {
92
- return this._focused() || !this._empty();
93
- }, /* @ts-ignore */
94
- ...(ngDevMode ? [{ debugName: "_shouldLabelFloat" }] : /* istanbul ignore next */ []));
95
- empty = true;
96
- _empty = computed(() => {
97
- const value = this._value();
98
- return value === undefined || value === null || value === '';
99
- }, /* @ts-ignore */
100
- ...(ngDevMode ? [{ debugName: "_empty" }] : /* istanbul ignore next */ []));
101
- _placeholder = input('', { ...(ngDevMode ? { debugName: "_placeholder" } : /* istanbul ignore next */ {}), alias: 'placeholder' });
102
- get placeholder() {
103
- return this._placeholder();
104
- }
105
- constructor(ngControl) {
106
- this.ngControl = ngControl;
107
- // Replace the provider from above with this.
108
- if (this.ngControl != null) {
109
- // Setting the value accessor directly (instead of using
110
- // the providers) to avoid running into a circular import.
111
- this.ngControl.valueAccessor = this;
112
- }
113
- effect(() => {
114
- this.id = this._id();
115
- this.focused = this._focused();
116
- this.errorState = this._errorState();
117
- this.empty = this._empty();
118
- this.shouldLabelFloat = this._shouldLabelFloat();
119
- this.stateChanges.next();
120
- });
121
- effect(() => {
122
- const value = this._value();
123
- if (this._input()) {
124
- this._input().nativeElement.value = (value === undefined || value === null) ? '' : value;
125
- }
126
- });
127
- }
128
- setDescribedByIds(ids) {
129
- const controlElement = this._elementRef.nativeElement;
130
- controlElement.setAttribute('aria-describedby', ids.join(' '));
131
- }
132
- onFocusIn() {
133
- if (!this._focused()) {
134
- this._focused.set(true);
135
- this.stateChanges.next();
136
- }
137
- }
138
- onFocusOut(event) {
139
- if (!this._elementRef.nativeElement.contains(event.relatedTarget)) {
140
- this.touched = true;
141
- this._focused.set(false);
142
- this.onTouched();
143
- this.stateChanges.next();
144
- }
145
- }
146
- set value(value) {
147
- if (value !== this._value()) {
148
- this._value.set(value);
149
- this.stateChanges.next();
150
- }
151
- }
152
- get value() {
153
- return this._value();
154
- }
155
- ngOnDestroy() {
156
- this.stateChanges.complete();
157
- }
158
- get _decreaseControlTemplateRef() {
159
- return this._decreaseControlRef()?.templateRef;
160
- }
161
- get _increaseControlTemplateRef() {
162
- return this._increaseControlRef()?.templateRef;
163
- }
164
- onChange = () => { };
165
- onTouched = () => { };
166
- registerOnChange(fn) {
167
- this.onChange = fn;
168
- }
169
- registerOnTouched(fn) {
170
- this.onTouched = fn;
171
- }
172
- setDisabledState(isDisabled) {
173
- this._disabled.set(coerceBooleanProperty(isDisabled));
174
- }
175
- writeValue(value) {
176
- this.value = value;
177
- }
178
- decrease(event, input) {
179
- event.preventDefault();
180
- event.stopPropagation();
181
- if (this.disabled || this.readonly())
182
- return;
183
- let value = this._value() ?? 0;
184
- value -= this.step();
185
- this._value.set(value);
186
- this._emitEvent();
187
- }
188
- increase(event, input) {
189
- event.preventDefault();
190
- event.stopPropagation();
191
- if (this.disabled || this.readonly())
192
- return;
193
- let value = this._value() ?? 0;
194
- value += this.step();
195
- this._value.set(value);
196
- this._emitEvent();
197
- }
198
- isDecreaseDisabled() {
199
- const value = this._value();
200
- if (this.min() === undefined) {
201
- return false;
202
- }
203
- return (value !== undefined && value <= this.min()) || this.readonly() || this.disabled;
204
- }
205
- isIncreaseDisabled() {
206
- const value = this._value();
207
- if (this.max() === undefined) {
208
- return false;
209
- }
210
- return (value !== undefined && value >= this.max()) || this.readonly() || this.disabled;
211
- }
212
- inputChange(event) {
213
- if (this.disabled || this.readonly())
214
- return;
215
- const inputValue = event.target.value;
216
- const value = inputValue === '' ? undefined : +inputValue;
217
- this._value.set(value);
218
- this._emitEvent();
219
- }
220
- _emitEvent() {
221
- const value = this._value();
222
- this.onChange(value);
223
- this.valueChange.emit(value);
224
- this.updateErrorState();
225
- }
226
- ngDoCheck() {
227
- if (this.ngControl) {
228
- this.updateErrorState();
229
- }
230
- }
231
- focus() {
232
- this._input().nativeElement.focus();
233
- }
234
- onContainerClick(event) {
235
- if (event.target.tagName.toLowerCase() != 'input') {
236
- this.focus();
237
- }
238
- }
239
- updateErrorState() {
240
- const parent = this._parentFormGroup || this._parentForm;
241
- let oldState = this._errorState();
242
- let newState = !!(this.ngControl?.invalid) && this.touched;
243
- if (parent) {
244
- newState = !!(this.ngControl?.invalid) && (this.touched || parent.submitted);
245
- }
246
- if (oldState !== newState) {
247
- this._errorState.set(newState);
248
- this.stateChanges.next();
249
- }
250
- }
251
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NumberInput, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
252
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: NumberInput, isStandalone: true, selector: "ngs-number-input", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, disabledInput: { classPropertyName: "disabledInput", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, requiredInput: { classPropertyName: "requiredInput", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, _placeholder: { classPropertyName: "_placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, host: { attributes: { "id": "id" }, listeners: { "focusin": "onFocusIn()", "focusout": "onFocusOut($event)" }, properties: { "class.floating": "shouldLabelFloat" }, classAttribute: "ngs-number-input" }, providers: [
253
- {
254
- provide: FormFieldControl,
255
- useExisting: forwardRef(() => NumberInput),
256
- }
257
- ], queries: [{ propertyName: "_decreaseControlRef", first: true, predicate: DecreaseControlDirective, descendants: true, isSignal: true }, { propertyName: "_increaseControlRef", first: true, predicate: IncreaseControlDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "_input", first: true, predicate: ["input"], descendants: true, isSignal: true }], exportAs: ["ngsNumberInput"], ngImport: i0, template: "<input #input type=\"number\" class=\"number-input\"\n [disabled]=\"disabled\" [readOnly]=\"readonly()\" [attr.aria-label]=\"ariaLabel()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [step]=\"step()\"\n (input)=\"inputChange($event)\">\n<div class=\"controls\">\n <button type=\"button\" class=\"control control-decrease\" ngsRipple [disabled]=\"isDecreaseDisabled()\" (click)=\"decrease($event, input)\">\n @if (_decreaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_decreaseControlTemplateRef\"/>\n } @else {\n <svg class=\"control-icon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M3.5 8h9\"/>\n </svg>\n }\n </button>\n <button type=\"button\" class=\"control control-increase\" ngsRipple [disabled]=\"isIncreaseDisabled()\" (click)=\"increase($event, input)\">\n @if (_increaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_increaseControlTemplateRef\"/>\n } @else {\n <svg class=\"control-icon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M8 3.5v9M3.5 8h9\"/>\n </svg>\n }\n </button>\n</div>\n", styles: [":host{--ngs-number-input-gap: calc(var(--spacing, .25rem) * 2);--ngs-number-input-control-bg: var(--ngs-color-primary);--ngs-number-input-control-color: var(--ngs-color-on-primary);--ngs-number-input-control-hover-color: var(--ngs-color-on-primary);--ngs-number-input-control-active-color: var(--ngs-color-on-primary);--ngs-number-input-control-hover-bg: var(--ngs-color-primary);--ngs-number-input-control-active-bg: var(--ngs-color-primary);--ngs-number-input-control-font-size: 1.5rem;--ngs-number-input-control-border-radius: var(--ngs-radius-md);--ngs-number-input-suffix-gap: calc(var(--spacing, .25rem) * 3);--ngs-number-input-control-size: calc(var(--spacing, .25rem) * 7);--ngs-number-input-control-border: none;--ngs-number-input-controls-wdith: calc(var(--spacing, .25rem) * 16);--ngs-number-input-controls-offset: var(--spacing, .25rem);display:flex!important;box-sizing:border-box;gap:var(--ngs-number-input-gap);padding-right:calc(var(--ngs-number-input-controls-wdith) + var(--ngs-number-input-controls-offset))}:host .number-input{width:auto;max-width:none;flex-grow:1;min-width:0;background:none;outline:none;color:currentColor;font:inherit;border:none}:host .number-input::-webkit-outer-spin-button,:host .number-input::-webkit-inner-spin-button{appearance:none;margin:0}:host .controls{gap:.375rem;-webkit-user-select:none;user-select:none;position:absolute;top:0;bottom:0;right:var(--ngs-number-input-controls-offset);display:flex;align-items:center;justify-content:center}:host .control{cursor:pointer;flex:none;display:flex;align-items:center;justify-content:center;width:var(--ngs-number-input-control-size);height:var(--ngs-number-input-control-size);background:var(--ngs-number-input-control-bg);color:var(--ngs-number-input-control-color);font-size:var(--ngs-number-input-control-font-size);line-height:var(--ngs-number-input-control-font-size);border-radius:var(--ngs-number-input-control-border-radius);position:relative;border:var(--ngs-number-input-control-border)}:host .control .control-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}:host .control ::ng-deep ngs-icon{--ngs-icon-size: calc(var(--spacing, .25rem) * 5)}:host .control:hover{background:var(--ngs-number-input-control-hover-bg);color:var(--ngs-number-input-control-hover-color)}:host .control:active{background:var(--ngs-number-input-control-active-bg);color:var(--ngs-number-input-control-active-color)}:host .control[disabled]{pointer-events:none;opacity:.65}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: Ripple, selector: "[ngsRipple]", inputs: ["ngsRippleColor", "ngsRippleUnbounded", "ngsRippleCentered", "ngsRippleRadius", "ngsRippleAnimation", "ngsRippleDisabled", "ngsRippleTrigger"], outputs: ["ngsRippleCenteredChange", "ngsRippleDisabledChange", "ngsRippleTriggerChange"], exportAs: ["ngsRipple"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
258
- }
259
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NumberInput, decorators: [{
260
- type: Component,
261
- args: [{ selector: 'ngs-number-input', exportAs: 'ngsNumberInput', imports: [
262
- Ripple,
263
- NgTemplateOutlet
264
- ], providers: [
265
- {
266
- provide: FormFieldControl,
267
- useExisting: forwardRef(() => NumberInput),
268
- }
269
- ], changeDetection: ChangeDetectionStrategy.OnPush, host: {
270
- 'class': 'ngs-number-input',
271
- '[class.floating]': 'shouldLabelFloat',
272
- 'id': 'id'
273
- }, template: "<input #input type=\"number\" class=\"number-input\"\n [disabled]=\"disabled\" [readOnly]=\"readonly()\" [attr.aria-label]=\"ariaLabel()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [step]=\"step()\"\n (input)=\"inputChange($event)\">\n<div class=\"controls\">\n <button type=\"button\" class=\"control control-decrease\" ngsRipple [disabled]=\"isDecreaseDisabled()\" (click)=\"decrease($event, input)\">\n @if (_decreaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_decreaseControlTemplateRef\"/>\n } @else {\n <svg class=\"control-icon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M3.5 8h9\"/>\n </svg>\n }\n </button>\n <button type=\"button\" class=\"control control-increase\" ngsRipple [disabled]=\"isIncreaseDisabled()\" (click)=\"increase($event, input)\">\n @if (_increaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_increaseControlTemplateRef\"/>\n } @else {\n <svg class=\"control-icon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M8 3.5v9M3.5 8h9\"/>\n </svg>\n }\n </button>\n</div>\n", styles: [":host{--ngs-number-input-gap: calc(var(--spacing, .25rem) * 2);--ngs-number-input-control-bg: var(--ngs-color-primary);--ngs-number-input-control-color: var(--ngs-color-on-primary);--ngs-number-input-control-hover-color: var(--ngs-color-on-primary);--ngs-number-input-control-active-color: var(--ngs-color-on-primary);--ngs-number-input-control-hover-bg: var(--ngs-color-primary);--ngs-number-input-control-active-bg: var(--ngs-color-primary);--ngs-number-input-control-font-size: 1.5rem;--ngs-number-input-control-border-radius: var(--ngs-radius-md);--ngs-number-input-suffix-gap: calc(var(--spacing, .25rem) * 3);--ngs-number-input-control-size: calc(var(--spacing, .25rem) * 7);--ngs-number-input-control-border: none;--ngs-number-input-controls-wdith: calc(var(--spacing, .25rem) * 16);--ngs-number-input-controls-offset: var(--spacing, .25rem);display:flex!important;box-sizing:border-box;gap:var(--ngs-number-input-gap);padding-right:calc(var(--ngs-number-input-controls-wdith) + var(--ngs-number-input-controls-offset))}:host .number-input{width:auto;max-width:none;flex-grow:1;min-width:0;background:none;outline:none;color:currentColor;font:inherit;border:none}:host .number-input::-webkit-outer-spin-button,:host .number-input::-webkit-inner-spin-button{appearance:none;margin:0}:host .controls{gap:.375rem;-webkit-user-select:none;user-select:none;position:absolute;top:0;bottom:0;right:var(--ngs-number-input-controls-offset);display:flex;align-items:center;justify-content:center}:host .control{cursor:pointer;flex:none;display:flex;align-items:center;justify-content:center;width:var(--ngs-number-input-control-size);height:var(--ngs-number-input-control-size);background:var(--ngs-number-input-control-bg);color:var(--ngs-number-input-control-color);font-size:var(--ngs-number-input-control-font-size);line-height:var(--ngs-number-input-control-font-size);border-radius:var(--ngs-number-input-control-border-radius);position:relative;border:var(--ngs-number-input-control-border)}:host .control .control-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}:host .control ::ng-deep ngs-icon{--ngs-icon-size: calc(var(--spacing, .25rem) * 5)}:host .control:hover{background:var(--ngs-number-input-control-hover-bg);color:var(--ngs-number-input-control-hover-color)}:host .control:active{background:var(--ngs-number-input-control-active-bg);color:var(--ngs-number-input-control-active-color)}:host .control[disabled]{pointer-events:none;opacity:.65}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
274
- }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
275
- type: Optional
276
- }, {
277
- type: Self
278
- }] }], propDecorators: { _input: [{ type: i0.ViewChild, args: ['input', { isSignal: true }] }], _decreaseControlRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => DecreaseControlDirective), { isSignal: true }] }], _increaseControlRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => IncreaseControlDirective), { isSignal: true }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], disabledInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], requiredInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], _placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], onFocusIn: [{
279
- type: HostListener,
280
- args: ['focusin']
281
- }], onFocusOut: [{
282
- type: HostListener,
283
- args: ['focusout', ['$event']]
284
- }] } });
285
-
286
- class NumberInputPrefixDirective {
287
- templateRef = inject(TemplateRef);
288
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NumberInputPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
289
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: NumberInputPrefixDirective, isStandalone: true, selector: "[ngsNumberInputPrefix]", exportAs: ["ngsNumberInputPrefix"], ngImport: i0 });
290
- }
291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NumberInputPrefixDirective, decorators: [{
292
- type: Directive,
293
- args: [{
294
- selector: '[ngsNumberInputPrefix]',
295
- exportAs: 'ngsNumberInputPrefix'
296
- }]
297
- }] });
298
-
299
- class NumberInputSuffixDirective {
300
- templateRef = inject(TemplateRef);
301
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NumberInputSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
302
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: NumberInputSuffixDirective, isStandalone: true, selector: "[ngsNumberInputSuffix]", exportAs: ["ngsNumberInputSuffix"], ngImport: i0 });
303
- }
304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NumberInputSuffixDirective, decorators: [{
305
- type: Directive,
306
- args: [{
307
- selector: '[ngsNumberInputSuffix]',
308
- exportAs: 'ngsNumberInputSuffix'
309
- }]
310
- }] });
311
-
312
- /**
313
- * Generated bundle index. Do not edit.
314
- */
315
-
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, ElementRef, HostListener, TemplateRef, booleanAttribute, computed, contentChild, effect, forwardRef, inject, input, model, numberAttribute, output, signal, viewChild } from "@angular/core";
3
+ import { NgTemplateOutlet } from "@angular/common";
4
+ import { Ripple } from "@ngstarter-ui/components/core";
5
+ import { Subject } from "rxjs";
6
+ import { FormFieldControl } from "@ngstarter-ui/components/form-field";
7
+ import { FormGroupDirective, NgControl, NgForm } from "@angular/forms";
8
+ import { transformedValue } from "@angular/forms/signals";
9
+ var DecreaseControlDirective = class DecreaseControlDirective {
10
+ templateRef = inject(TemplateRef);
11
+ static ɵfac = i0.ɵɵngDeclareFactory({
12
+ minVersion: "12.0.0",
13
+ version: "22.3.0",
14
+ ngImport: i0,
15
+ type: DecreaseControlDirective,
16
+ deps: [],
17
+ target: i0.ɵɵFactoryTarget.Directive
18
+ });
19
+ static ɵdir = i0.ɵɵngDeclareDirective({
20
+ minVersion: "14.0.0",
21
+ version: "22.3.0",
22
+ type: DecreaseControlDirective,
23
+ isStandalone: true,
24
+ selector: "[ngsDecreaseControl]",
25
+ exportAs: ["ngsDecreaseControl"],
26
+ ngImport: i0
27
+ });
28
+ };
29
+ i0.ɵɵngDeclareClassMetadata({
30
+ minVersion: "12.0.0",
31
+ version: "22.3.0",
32
+ ngImport: i0,
33
+ type: DecreaseControlDirective,
34
+ decorators: [{
35
+ type: Directive,
36
+ args: [{
37
+ selector: "[ngsDecreaseControl]",
38
+ exportAs: "ngsDecreaseControl"
39
+ }]
40
+ }]
41
+ });
42
+ var IncreaseControlDirective = class IncreaseControlDirective {
43
+ templateRef = inject(TemplateRef);
44
+ static ɵfac = i0.ɵɵngDeclareFactory({
45
+ minVersion: "12.0.0",
46
+ version: "22.3.0",
47
+ ngImport: i0,
48
+ type: IncreaseControlDirective,
49
+ deps: [],
50
+ target: i0.ɵɵFactoryTarget.Directive
51
+ });
52
+ static ɵdir = i0.ɵɵngDeclareDirective({
53
+ minVersion: "14.0.0",
54
+ version: "22.3.0",
55
+ type: IncreaseControlDirective,
56
+ isStandalone: true,
57
+ selector: "[ngsIncreaseControl]",
58
+ exportAs: ["ngsIncreaseControl"],
59
+ ngImport: i0
60
+ });
61
+ };
62
+ i0.ɵɵngDeclareClassMetadata({
63
+ minVersion: "12.0.0",
64
+ version: "22.3.0",
65
+ ngImport: i0,
66
+ type: IncreaseControlDirective,
67
+ decorators: [{
68
+ type: Directive,
69
+ args: [{
70
+ selector: "[ngsIncreaseControl]",
71
+ exportAs: "ngsIncreaseControl"
72
+ }]
73
+ }]
74
+ });
75
+ var NumberInput = class NumberInput {
76
+ _parentForm = inject(NgForm, { optional: true });
77
+ _parentFormGroup = inject(FormGroupDirective, { optional: true });
78
+ _elementRef = inject(ElementRef);
79
+ disableAutomaticLabeling = false;
80
+ _input = viewChild.required("input", ...ngDevMode ? [{ debugName: "_input" }] : /* istanbul ignore next */ []);
81
+ _decreaseControlRef = contentChild(DecreaseControlDirective, ...ngDevMode ? [{ debugName: "_decreaseControlRef" }] : /* istanbul ignore next */ []);
82
+ _increaseControlRef = contentChild(IncreaseControlDirective, ...ngDevMode ? [{ debugName: "_increaseControlRef" }] : /* istanbul ignore next */ []);
83
+ min = input(void 0, {
84
+ ...ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {},
85
+ transform: (value) => value == null ? void 0 : numberAttribute(value)
86
+ });
87
+ max = input(void 0, {
88
+ ...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
89
+ transform: (value) => value == null ? void 0 : numberAttribute(value)
90
+ });
91
+ step = input(1, {
92
+ ...ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {},
93
+ transform: numberAttribute
94
+ });
95
+ readonly = input(false, {
96
+ ...ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {},
97
+ transform: booleanAttribute
98
+ });
99
+ disabled = input(false, {
100
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
101
+ transform: booleanAttribute
102
+ });
103
+ required = input(false, {
104
+ ...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
105
+ transform: booleanAttribute
106
+ });
107
+ invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
108
+ touched = input(false, ...ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []);
109
+ touch = output();
110
+ ngControl = inject(NgControl, {
111
+ self: true,
112
+ optional: true
113
+ });
114
+ ariaLabel = input(null, {
115
+ ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
116
+ alias: "aria-label"
117
+ });
118
+ static nextId = 0;
119
+ value = model(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
120
+ rawValue = transformedValue(this.value, {
121
+ parse: (value) => {
122
+ const number = Number(value);
123
+ return value === "" ? { value: null } : Number.isFinite(number) ? { value: number } : { error: {
124
+ kind: "parse",
125
+ message: "Enter a valid number."
126
+ } };
127
+ },
128
+ format: (value) => value?.toString() ?? ""
129
+ });
130
+ controlType;
131
+ autofilled;
132
+ userAriaDescribedBy;
133
+ stateChanges = new Subject();
134
+ focused = false;
135
+ _focused = signal(false, ...ngDevMode ? [{ debugName: "_focused" }] : /* istanbul ignore next */ []);
136
+ errorState = false;
137
+ _errorState = signal(false, ...ngDevMode ? [{ debugName: "_errorState" }] : /* istanbul ignore next */ []);
138
+ id = "";
139
+ _id = signal(`ngs-number-input${NumberInput.nextId++}`, ...ngDevMode ? [{ debugName: "_id" }] : /* istanbul ignore next */ []);
140
+ shouldLabelFloat = false;
141
+ _shouldLabelFloat = computed(() => {
142
+ return this._focused() || !this._empty();
143
+ }, ...ngDevMode ? [{ debugName: "_shouldLabelFloat" }] : /* istanbul ignore next */ []);
144
+ empty = true;
145
+ _empty = computed(() => {
146
+ return this.value() == null;
147
+ }, ...ngDevMode ? [{ debugName: "_empty" }] : /* istanbul ignore next */ []);
148
+ _placeholder = input("", {
149
+ ...ngDevMode ? { debugName: "_placeholder" } : /* istanbul ignore next */ {},
150
+ alias: "placeholder"
151
+ });
152
+ get placeholder() {
153
+ return this._placeholder();
154
+ }
155
+ constructor() {
156
+ effect(() => {
157
+ this.id = this._id();
158
+ this.focused = this._focused();
159
+ this.errorState = this._errorState();
160
+ this.empty = this._empty();
161
+ this.shouldLabelFloat = this._shouldLabelFloat();
162
+ this.stateChanges.next();
163
+ });
164
+ }
165
+ setDescribedByIds(ids) {
166
+ this._elementRef.nativeElement.setAttribute("aria-describedby", ids.join(" "));
167
+ }
168
+ onFocusIn() {
169
+ if (!this._focused()) {
170
+ this._focused.set(true);
171
+ this.stateChanges.next();
172
+ }
173
+ }
174
+ onFocusOut(event) {
175
+ if (!this._elementRef.nativeElement.contains(event.relatedTarget)) {
176
+ this._focused.set(false);
177
+ this.touch.emit();
178
+ this.stateChanges.next();
179
+ }
180
+ }
181
+ ngOnDestroy() {
182
+ this.stateChanges.complete();
183
+ }
184
+ get _decreaseControlTemplateRef() {
185
+ return this._decreaseControlRef()?.templateRef;
186
+ }
187
+ get _increaseControlTemplateRef() {
188
+ return this._increaseControlRef()?.templateRef;
189
+ }
190
+ decrease(event, input) {
191
+ event.preventDefault();
192
+ event.stopPropagation();
193
+ if (this.disabled() || this.readonly()) return;
194
+ let value = this.value() ?? 0;
195
+ value -= this.step();
196
+ this.value.set(value);
197
+ }
198
+ increase(event, input) {
199
+ event.preventDefault();
200
+ event.stopPropagation();
201
+ if (this.disabled() || this.readonly()) return;
202
+ let value = this.value() ?? 0;
203
+ value += this.step();
204
+ this.value.set(value);
205
+ }
206
+ isDecreaseDisabled() {
207
+ const value = this.value();
208
+ const min = this.min();
209
+ return this.disabled() || this.readonly() || value != null && min != null && value <= min;
210
+ }
211
+ isIncreaseDisabled() {
212
+ const value = this.value();
213
+ const max = this.max();
214
+ return this.disabled() || this.readonly() || value != null && max != null && value >= max;
215
+ }
216
+ inputChange(input) {
217
+ if (this.disabled() || this.readonly()) return;
218
+ this.rawValue.set(input.validity.badInput ? "NaN" : input.value);
219
+ }
220
+ ngDoCheck() {
221
+ if (this.ngControl) this.updateErrorState();
222
+ }
223
+ focus() {
224
+ this._input().nativeElement.focus();
225
+ }
226
+ onContainerClick(event) {
227
+ if (event.target.tagName.toLowerCase() != "input") this.focus();
228
+ }
229
+ updateErrorState() {
230
+ const parent = this._parentFormGroup || this._parentForm;
231
+ let oldState = this._errorState();
232
+ let newState = !!(this.invalid() || this.ngControl?.invalid) && this.touched();
233
+ if (parent) newState = !!(this.invalid() || this.ngControl?.invalid) && (this.touched() || parent.submitted);
234
+ if (oldState !== newState) {
235
+ this._errorState.set(newState);
236
+ this.stateChanges.next();
237
+ }
238
+ }
239
+ static ɵfac = i0.ɵɵngDeclareFactory({
240
+ minVersion: "12.0.0",
241
+ version: "22.3.0",
242
+ ngImport: i0,
243
+ type: NumberInput,
244
+ deps: [],
245
+ target: i0.ɵɵFactoryTarget.Component
246
+ });
247
+ static ɵcmp = i0.ɵɵngDeclareComponent({
248
+ minVersion: "17.0.0",
249
+ version: "22.3.0",
250
+ type: NumberInput,
251
+ isStandalone: true,
252
+ selector: "ngs-number-input",
253
+ inputs: {
254
+ min: {
255
+ classPropertyName: "min",
256
+ publicName: "min",
257
+ isSignal: true,
258
+ isRequired: false,
259
+ transformFunction: null
260
+ },
261
+ max: {
262
+ classPropertyName: "max",
263
+ publicName: "max",
264
+ isSignal: true,
265
+ isRequired: false,
266
+ transformFunction: null
267
+ },
268
+ step: {
269
+ classPropertyName: "step",
270
+ publicName: "step",
271
+ isSignal: true,
272
+ isRequired: false,
273
+ transformFunction: null
274
+ },
275
+ readonly: {
276
+ classPropertyName: "readonly",
277
+ publicName: "readonly",
278
+ isSignal: true,
279
+ isRequired: false,
280
+ transformFunction: null
281
+ },
282
+ disabled: {
283
+ classPropertyName: "disabled",
284
+ publicName: "disabled",
285
+ isSignal: true,
286
+ isRequired: false,
287
+ transformFunction: null
288
+ },
289
+ required: {
290
+ classPropertyName: "required",
291
+ publicName: "required",
292
+ isSignal: true,
293
+ isRequired: false,
294
+ transformFunction: null
295
+ },
296
+ invalid: {
297
+ classPropertyName: "invalid",
298
+ publicName: "invalid",
299
+ isSignal: true,
300
+ isRequired: false,
301
+ transformFunction: null
302
+ },
303
+ touched: {
304
+ classPropertyName: "touched",
305
+ publicName: "touched",
306
+ isSignal: true,
307
+ isRequired: false,
308
+ transformFunction: null
309
+ },
310
+ ariaLabel: {
311
+ classPropertyName: "ariaLabel",
312
+ publicName: "aria-label",
313
+ isSignal: true,
314
+ isRequired: false,
315
+ transformFunction: null
316
+ },
317
+ value: {
318
+ classPropertyName: "value",
319
+ publicName: "value",
320
+ isSignal: true,
321
+ isRequired: false,
322
+ transformFunction: null
323
+ },
324
+ _placeholder: {
325
+ classPropertyName: "_placeholder",
326
+ publicName: "placeholder",
327
+ isSignal: true,
328
+ isRequired: false,
329
+ transformFunction: null
330
+ }
331
+ },
332
+ outputs: {
333
+ touch: "touch",
334
+ value: "valueChange"
335
+ },
336
+ host: {
337
+ attributes: { "id": "id" },
338
+ listeners: {
339
+ "focusin": "onFocusIn()",
340
+ "focusout": "onFocusOut($event)"
341
+ },
342
+ properties: { "class.floating": "shouldLabelFloat" },
343
+ classAttribute: "ngs-number-input"
344
+ },
345
+ providers: [{
346
+ provide: FormFieldControl,
347
+ useExisting: forwardRef(() => NumberInput)
348
+ }],
349
+ queries: [{
350
+ propertyName: "_decreaseControlRef",
351
+ first: true,
352
+ predicate: DecreaseControlDirective,
353
+ descendants: true,
354
+ isSignal: true
355
+ }, {
356
+ propertyName: "_increaseControlRef",
357
+ first: true,
358
+ predicate: IncreaseControlDirective,
359
+ descendants: true,
360
+ isSignal: true
361
+ }],
362
+ viewQueries: [{
363
+ propertyName: "_input",
364
+ first: true,
365
+ predicate: ["input"],
366
+ descendants: true,
367
+ isSignal: true
368
+ }],
369
+ exportAs: ["ngsNumberInput"],
370
+ ngImport: i0,
371
+ template: "<input #input type=\"number\" class=\"number-input\"\n [disabled]=\"disabled()\" [required]=\"required()\" [value]=\"rawValue()\" [readOnly]=\"readonly()\" [attr.aria-label]=\"ariaLabel()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [step]=\"step()\"\n (input)=\"inputChange(input)\">\n<div class=\"controls\">\n <button type=\"button\" class=\"control control-decrease\" ngsRipple [disabled]=\"isDecreaseDisabled()\" (click)=\"decrease($event, input)\">\n @if (_decreaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_decreaseControlTemplateRef\"/>\n } @else {\n <svg class=\"control-icon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M3.5 8h9\"/>\n </svg>\n }\n </button>\n <button type=\"button\" class=\"control control-increase\" ngsRipple [disabled]=\"isIncreaseDisabled()\" (click)=\"increase($event, input)\">\n @if (_increaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_increaseControlTemplateRef\"/>\n } @else {\n <svg class=\"control-icon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M8 3.5v9M3.5 8h9\"/>\n </svg>\n }\n </button>\n</div>\n",
372
+ styles: [":host{--ngs-number-input-gap: calc(var(--spacing, .25rem) * 2);--ngs-number-input-control-bg: var(--ngs-color-primary);--ngs-number-input-control-color: var(--ngs-color-on-primary);--ngs-number-input-control-hover-color: var(--ngs-color-on-primary);--ngs-number-input-control-active-color: var(--ngs-color-on-primary);--ngs-number-input-control-hover-bg: var(--ngs-color-primary);--ngs-number-input-control-active-bg: var(--ngs-color-primary);--ngs-number-input-control-font-size: 1.5rem;--ngs-number-input-control-border-radius: var(--ngs-radius-md);--ngs-number-input-suffix-gap: calc(var(--spacing, .25rem) * 3);--ngs-number-input-control-size: calc(var(--spacing, .25rem) * 7);--ngs-number-input-control-border: none;--ngs-number-input-controls-wdith: calc(var(--spacing, .25rem) * 16);--ngs-number-input-controls-offset: var(--spacing, .25rem);display:flex!important;box-sizing:border-box;gap:var(--ngs-number-input-gap);padding-right:calc(var(--ngs-number-input-controls-wdith) + var(--ngs-number-input-controls-offset))}:host .number-input{width:auto;max-width:none;flex-grow:1;min-width:0;background:none;outline:none;color:currentColor;font:inherit;border:none}:host .number-input::-webkit-outer-spin-button,:host .number-input::-webkit-inner-spin-button{appearance:none;margin:0}:host .controls{gap:.375rem;-webkit-user-select:none;user-select:none;position:absolute;top:0;bottom:0;right:var(--ngs-number-input-controls-offset);display:flex;align-items:center;justify-content:center}:host .control{cursor:pointer;flex:none;display:flex;align-items:center;justify-content:center;width:var(--ngs-number-input-control-size);height:var(--ngs-number-input-control-size);background:var(--ngs-number-input-control-bg);color:var(--ngs-number-input-control-color);font-size:var(--ngs-number-input-control-font-size);line-height:var(--ngs-number-input-control-font-size);border-radius:var(--ngs-number-input-control-border-radius);position:relative;border:var(--ngs-number-input-control-border)}:host .control .control-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}:host .control ::ng-deep ngs-icon{--ngs-icon-size: calc(var(--spacing, .25rem) * 5)}:host .control:hover{background:var(--ngs-number-input-control-hover-bg);color:var(--ngs-number-input-control-hover-color)}:host .control:active{background:var(--ngs-number-input-control-active-bg);color:var(--ngs-number-input-control-active-color)}:host .control[disabled]{pointer-events:none;opacity:.65}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
373
+ dependencies: [{
374
+ kind: "directive",
375
+ type: Ripple,
376
+ selector: "[ngsRipple]",
377
+ inputs: [
378
+ "ngsRippleColor",
379
+ "ngsRippleUnbounded",
380
+ "ngsRippleCentered",
381
+ "ngsRippleRadius",
382
+ "ngsRippleAnimation",
383
+ "ngsRippleDisabled",
384
+ "ngsRippleTrigger"
385
+ ],
386
+ outputs: [
387
+ "ngsRippleCenteredChange",
388
+ "ngsRippleDisabledChange",
389
+ "ngsRippleTriggerChange"
390
+ ],
391
+ exportAs: ["ngsRipple"]
392
+ }, {
393
+ kind: "directive",
394
+ type: NgTemplateOutlet,
395
+ selector: "[ngTemplateOutlet]",
396
+ inputs: [
397
+ "ngTemplateOutletContext",
398
+ "ngTemplateOutlet",
399
+ "ngTemplateOutletInjector"
400
+ ]
401
+ }],
402
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
403
+ });
404
+ };
405
+ i0.ɵɵngDeclareClassMetadata({
406
+ minVersion: "12.0.0",
407
+ version: "22.3.0",
408
+ ngImport: i0,
409
+ type: NumberInput,
410
+ decorators: [{
411
+ type: Component,
412
+ args: [{
413
+ selector: "ngs-number-input",
414
+ exportAs: "ngsNumberInput",
415
+ imports: [Ripple, NgTemplateOutlet],
416
+ providers: [{
417
+ provide: FormFieldControl,
418
+ useExisting: forwardRef(() => NumberInput)
419
+ }],
420
+ changeDetection: ChangeDetectionStrategy.OnPush,
421
+ host: {
422
+ "class": "ngs-number-input",
423
+ "[class.floating]": "shouldLabelFloat",
424
+ "id": "id"
425
+ },
426
+ template: "<input #input type=\"number\" class=\"number-input\"\n [disabled]=\"disabled()\" [required]=\"required()\" [value]=\"rawValue()\" [readOnly]=\"readonly()\" [attr.aria-label]=\"ariaLabel()\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [step]=\"step()\"\n (input)=\"inputChange(input)\">\n<div class=\"controls\">\n <button type=\"button\" class=\"control control-decrease\" ngsRipple [disabled]=\"isDecreaseDisabled()\" (click)=\"decrease($event, input)\">\n @if (_decreaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_decreaseControlTemplateRef\"/>\n } @else {\n <svg class=\"control-icon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M3.5 8h9\"/>\n </svg>\n }\n </button>\n <button type=\"button\" class=\"control control-increase\" ngsRipple [disabled]=\"isIncreaseDisabled()\" (click)=\"increase($event, input)\">\n @if (_increaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_increaseControlTemplateRef\"/>\n } @else {\n <svg class=\"control-icon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M8 3.5v9M3.5 8h9\"/>\n </svg>\n }\n </button>\n</div>\n",
427
+ styles: [":host{--ngs-number-input-gap: calc(var(--spacing, .25rem) * 2);--ngs-number-input-control-bg: var(--ngs-color-primary);--ngs-number-input-control-color: var(--ngs-color-on-primary);--ngs-number-input-control-hover-color: var(--ngs-color-on-primary);--ngs-number-input-control-active-color: var(--ngs-color-on-primary);--ngs-number-input-control-hover-bg: var(--ngs-color-primary);--ngs-number-input-control-active-bg: var(--ngs-color-primary);--ngs-number-input-control-font-size: 1.5rem;--ngs-number-input-control-border-radius: var(--ngs-radius-md);--ngs-number-input-suffix-gap: calc(var(--spacing, .25rem) * 3);--ngs-number-input-control-size: calc(var(--spacing, .25rem) * 7);--ngs-number-input-control-border: none;--ngs-number-input-controls-wdith: calc(var(--spacing, .25rem) * 16);--ngs-number-input-controls-offset: var(--spacing, .25rem);display:flex!important;box-sizing:border-box;gap:var(--ngs-number-input-gap);padding-right:calc(var(--ngs-number-input-controls-wdith) + var(--ngs-number-input-controls-offset))}:host .number-input{width:auto;max-width:none;flex-grow:1;min-width:0;background:none;outline:none;color:currentColor;font:inherit;border:none}:host .number-input::-webkit-outer-spin-button,:host .number-input::-webkit-inner-spin-button{appearance:none;margin:0}:host .controls{gap:.375rem;-webkit-user-select:none;user-select:none;position:absolute;top:0;bottom:0;right:var(--ngs-number-input-controls-offset);display:flex;align-items:center;justify-content:center}:host .control{cursor:pointer;flex:none;display:flex;align-items:center;justify-content:center;width:var(--ngs-number-input-control-size);height:var(--ngs-number-input-control-size);background:var(--ngs-number-input-control-bg);color:var(--ngs-number-input-control-color);font-size:var(--ngs-number-input-control-font-size);line-height:var(--ngs-number-input-control-font-size);border-radius:var(--ngs-number-input-control-border-radius);position:relative;border:var(--ngs-number-input-control-border)}:host .control .control-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}:host .control ::ng-deep ngs-icon{--ngs-icon-size: calc(var(--spacing, .25rem) * 5)}:host .control:hover{background:var(--ngs-number-input-control-hover-bg);color:var(--ngs-number-input-control-hover-color)}:host .control:active{background:var(--ngs-number-input-control-active-bg);color:var(--ngs-number-input-control-active-color)}:host .control[disabled]{pointer-events:none;opacity:.65}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
428
+ }]
429
+ }],
430
+ ctorParameters: () => [],
431
+ propDecorators: {
432
+ _input: [{
433
+ type: i0.ViewChild,
434
+ args: ["input", { isSignal: true }]
435
+ }],
436
+ _decreaseControlRef: [{
437
+ type: i0.ContentChild,
438
+ args: [i0.forwardRef(() => DecreaseControlDirective), { isSignal: true }]
439
+ }],
440
+ _increaseControlRef: [{
441
+ type: i0.ContentChild,
442
+ args: [i0.forwardRef(() => IncreaseControlDirective), { isSignal: true }]
443
+ }],
444
+ min: [{
445
+ type: i0.Input,
446
+ args: [{
447
+ isSignal: true,
448
+ alias: "min",
449
+ required: false
450
+ }]
451
+ }],
452
+ max: [{
453
+ type: i0.Input,
454
+ args: [{
455
+ isSignal: true,
456
+ alias: "max",
457
+ required: false
458
+ }]
459
+ }],
460
+ step: [{
461
+ type: i0.Input,
462
+ args: [{
463
+ isSignal: true,
464
+ alias: "step",
465
+ required: false
466
+ }]
467
+ }],
468
+ readonly: [{
469
+ type: i0.Input,
470
+ args: [{
471
+ isSignal: true,
472
+ alias: "readonly",
473
+ required: false
474
+ }]
475
+ }],
476
+ disabled: [{
477
+ type: i0.Input,
478
+ args: [{
479
+ isSignal: true,
480
+ alias: "disabled",
481
+ required: false
482
+ }]
483
+ }],
484
+ required: [{
485
+ type: i0.Input,
486
+ args: [{
487
+ isSignal: true,
488
+ alias: "required",
489
+ required: false
490
+ }]
491
+ }],
492
+ invalid: [{
493
+ type: i0.Input,
494
+ args: [{
495
+ isSignal: true,
496
+ alias: "invalid",
497
+ required: false
498
+ }]
499
+ }],
500
+ touched: [{
501
+ type: i0.Input,
502
+ args: [{
503
+ isSignal: true,
504
+ alias: "touched",
505
+ required: false
506
+ }]
507
+ }],
508
+ touch: [{
509
+ type: i0.Output,
510
+ args: ["touch"]
511
+ }],
512
+ ariaLabel: [{
513
+ type: i0.Input,
514
+ args: [{
515
+ isSignal: true,
516
+ alias: "aria-label",
517
+ required: false
518
+ }]
519
+ }],
520
+ value: [{
521
+ type: i0.Input,
522
+ args: [{
523
+ isSignal: true,
524
+ alias: "value",
525
+ required: false
526
+ }]
527
+ }, {
528
+ type: i0.Output,
529
+ args: ["valueChange"]
530
+ }],
531
+ _placeholder: [{
532
+ type: i0.Input,
533
+ args: [{
534
+ isSignal: true,
535
+ alias: "placeholder",
536
+ required: false
537
+ }]
538
+ }],
539
+ onFocusIn: [{
540
+ type: HostListener,
541
+ args: ["focusin"]
542
+ }],
543
+ onFocusOut: [{
544
+ type: HostListener,
545
+ args: ["focusout", ["$event"]]
546
+ }]
547
+ }
548
+ });
549
+ var NumberInputPrefixDirective = class NumberInputPrefixDirective {
550
+ templateRef = inject(TemplateRef);
551
+ static ɵfac = i0.ɵɵngDeclareFactory({
552
+ minVersion: "12.0.0",
553
+ version: "22.3.0",
554
+ ngImport: i0,
555
+ type: NumberInputPrefixDirective,
556
+ deps: [],
557
+ target: i0.ɵɵFactoryTarget.Directive
558
+ });
559
+ static ɵdir = i0.ɵɵngDeclareDirective({
560
+ minVersion: "14.0.0",
561
+ version: "22.3.0",
562
+ type: NumberInputPrefixDirective,
563
+ isStandalone: true,
564
+ selector: "[ngsNumberInputPrefix]",
565
+ exportAs: ["ngsNumberInputPrefix"],
566
+ ngImport: i0
567
+ });
568
+ };
569
+ i0.ɵɵngDeclareClassMetadata({
570
+ minVersion: "12.0.0",
571
+ version: "22.3.0",
572
+ ngImport: i0,
573
+ type: NumberInputPrefixDirective,
574
+ decorators: [{
575
+ type: Directive,
576
+ args: [{
577
+ selector: "[ngsNumberInputPrefix]",
578
+ exportAs: "ngsNumberInputPrefix"
579
+ }]
580
+ }]
581
+ });
582
+ var NumberInputSuffixDirective = class NumberInputSuffixDirective {
583
+ templateRef = inject(TemplateRef);
584
+ static ɵfac = i0.ɵɵngDeclareFactory({
585
+ minVersion: "12.0.0",
586
+ version: "22.3.0",
587
+ ngImport: i0,
588
+ type: NumberInputSuffixDirective,
589
+ deps: [],
590
+ target: i0.ɵɵFactoryTarget.Directive
591
+ });
592
+ static ɵdir = i0.ɵɵngDeclareDirective({
593
+ minVersion: "14.0.0",
594
+ version: "22.3.0",
595
+ type: NumberInputSuffixDirective,
596
+ isStandalone: true,
597
+ selector: "[ngsNumberInputSuffix]",
598
+ exportAs: ["ngsNumberInputSuffix"],
599
+ ngImport: i0
600
+ });
601
+ };
602
+ i0.ɵɵngDeclareClassMetadata({
603
+ minVersion: "12.0.0",
604
+ version: "22.3.0",
605
+ ngImport: i0,
606
+ type: NumberInputSuffixDirective,
607
+ decorators: [{
608
+ type: Directive,
609
+ args: [{
610
+ selector: "[ngsNumberInputSuffix]",
611
+ exportAs: "ngsNumberInputSuffix"
612
+ }]
613
+ }]
614
+ });
316
615
  export { DecreaseControlDirective, IncreaseControlDirective, NumberInput, NumberInputPrefixDirective, NumberInputSuffixDirective };
317
- //# sourceMappingURL=ngstarter-ui-components-number-input.mjs.map
616
+
617
+ //# sourceMappingURL=ngstarter-ui-components-number-input.mjs.map