@ngstarter-ui/components 22.3.6 → 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-BgKuFsDy.mjs +0 -35
  438. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-BgKuFsDy.mjs.map +0 -1
  439. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-CGTJefVK.mjs +0 -26
  440. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-CGTJefVK.mjs.map +0 -1
  441. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-B441NasU.mjs +0 -220
  442. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-B441NasU.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-Bo3irEeG.mjs +0 -375
  448. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-Bo3irEeG.mjs.map +0 -1
  449. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-Cbh0nblW.mjs +0 -80
  450. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-Cbh0nblW.mjs.map +0 -1
  451. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-BVQTRzaX.mjs +0 -65
  452. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-BVQTRzaX.mjs.map +0 -1
  453. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CnbRqEWF.mjs +0 -137
  454. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CnbRqEWF.mjs.map +0 -1
  455. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-Cv9-02mR.mjs +0 -113
  456. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-Cv9-02mR.mjs.map +0 -1
  457. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-yvSNKY0B.mjs +0 -188
  458. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-yvSNKY0B.mjs.map +0 -1
  459. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-Clz9SzCR.mjs +0 -117
  460. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-Clz9SzCR.mjs.map +0 -1
  461. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CZn1p9ek.mjs +0 -4464
  462. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CZn1p9ek.mjs.map +0 -1
  463. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-CxDRklAS.mjs +0 -132
  464. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-CxDRklAS.mjs.map +0 -1
  465. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BNgtiV7U.mjs +0 -171
  466. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BNgtiV7U.mjs.map +0 -1
  467. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-D05mE7nQ.mjs +0 -1653
  468. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-D05mE7nQ.mjs.map +0 -1
  469. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-Ch1kWIaX.mjs +0 -20
  470. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-Ch1kWIaX.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-laP7DTyq.mjs +0 -134
  474. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-laP7DTyq.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,262 +1,736 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, ChangeDetectionStrategy, Component, inject, input, booleanAttribute, Directive, computed } from '@angular/core';
3
- import { Button } from '@ngstarter-ui/components/button';
4
- import { signalStore, withState, withMethods, patchState } from '@ngrx/signals';
5
- import { Icon } from '@ngstarter-ui/components/icon';
6
-
7
- const INCIDENTS = new InjectionToken('INCIDENTS');
8
-
9
- class Incidents {
10
- isVisible = false;
11
- toggleVisibility() {
12
- this.isVisible = !this.isVisible;
13
- }
14
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Incidents, deps: [], target: i0.ɵɵFactoryTarget.Component });
15
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: Incidents, isStandalone: true, selector: "ngs-incidents", host: { properties: { "class.is-visible": "isVisible" }, classAttribute: "ngs-incidents" }, providers: [
16
- {
17
- provide: INCIDENTS,
18
- useExisting: Incidents
19
- }
20
- ], exportAs: ["ngsIncidents"], ngImport: i0, template: "<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n", styles: [":host{--ngs-incidents-bar-height: calc(var(--spacing, .25rem) * 24);--ngs-incidents-bar-bg: var(--ngs-color-warning-container);--ngs-incidents-bar-padding: 0 calc(var(--spacing, .25rem) * 8);--ngs-incidents-bar-color: var(--ngs-color-on-warning-container);--ngs-incidents-bar-box-shadow: none;--ngs-incidents-bar-hover-box-shadow: var(--ngs-shadow-sm);--ngs-incidents-list-bg: var(--ngs-overlay-backdrop-bg);--ngs-incidents-list-gap: calc(var(--spacing, .25rem) * 5);--ngs-incidents-list-padding: calc(var(--spacing, .25rem) * 7) 0;--ngs-incident-bg: white;--ngs-incident-color: var(--ngs-color-neutral-700);--ngs-incident-border-radius: var(--ngs-radius-md);--ngs-incident-padding: calc(var(--spacing, .25rem) * 4) calc(var(--spacing, .25rem) * 6);--ngs-incident-gap: calc(var(--spacing, .25rem) * 6);--ngs-incident-border-start: var(--spacing, .25rem) solid var(--ngs-color-warning);--ngs-incident-close-color: var(--ngs-color-neutral-500);--ngs-incident-close-hover-color: var(--ngs-color-neutral-900);--ngs-incident-title-font-size: var(--ngs-font-size-sm);--ngs-incident-title-font-weight: 500;--ngs-incident-details-font-size: var(--ngs-font-size-sm);--ngs-incident-details-color: var(--ngs-color-neutral-500);--ngs-incidents-title-font-size: var(--text-base);--ngs-incidents-title-font-weight: 500;--ngs-incidents-description-font-size: var(--ngs-font-size-sm);--ngs-incidents-description-opacity: 80%;display:contents}:host .list-container{display:none;height:calc(100vh - var(--ngs-layout-top-header-top) + var(--ngs-layout-top-header-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Incidents, decorators: [{
23
- type: Component,
24
- args: [{ selector: 'ngs-incidents', exportAs: 'ngsIncidents', providers: [
25
- {
26
- provide: INCIDENTS,
27
- useExisting: Incidents
28
- }
29
- ], changeDetection: ChangeDetectionStrategy.Eager, host: {
30
- 'class': 'ngs-incidents',
31
- '[class.is-visible]': 'isVisible',
32
- }, template: "<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n", styles: [":host{--ngs-incidents-bar-height: calc(var(--spacing, .25rem) * 24);--ngs-incidents-bar-bg: var(--ngs-color-warning-container);--ngs-incidents-bar-padding: 0 calc(var(--spacing, .25rem) * 8);--ngs-incidents-bar-color: var(--ngs-color-on-warning-container);--ngs-incidents-bar-box-shadow: none;--ngs-incidents-bar-hover-box-shadow: var(--ngs-shadow-sm);--ngs-incidents-list-bg: var(--ngs-overlay-backdrop-bg);--ngs-incidents-list-gap: calc(var(--spacing, .25rem) * 5);--ngs-incidents-list-padding: calc(var(--spacing, .25rem) * 7) 0;--ngs-incident-bg: white;--ngs-incident-color: var(--ngs-color-neutral-700);--ngs-incident-border-radius: var(--ngs-radius-md);--ngs-incident-padding: calc(var(--spacing, .25rem) * 4) calc(var(--spacing, .25rem) * 6);--ngs-incident-gap: calc(var(--spacing, .25rem) * 6);--ngs-incident-border-start: var(--spacing, .25rem) solid var(--ngs-color-warning);--ngs-incident-close-color: var(--ngs-color-neutral-500);--ngs-incident-close-hover-color: var(--ngs-color-neutral-900);--ngs-incident-title-font-size: var(--ngs-font-size-sm);--ngs-incident-title-font-weight: 500;--ngs-incident-details-font-size: var(--ngs-font-size-sm);--ngs-incident-details-color: var(--ngs-color-neutral-500);--ngs-incidents-title-font-size: var(--text-base);--ngs-incidents-title-font-weight: 500;--ngs-incidents-description-font-size: var(--ngs-font-size-sm);--ngs-incidents-description-opacity: 80%;display:contents}:host .list-container{display:none;height:calc(100vh - var(--ngs-layout-top-header-top) + var(--ngs-layout-top-header-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
33
- }] });
34
-
35
- class IncidentsBar {
36
- _parent = inject(INCIDENTS, { optional: true });
37
- _handleClick(_event) {
38
- this._parent?.toggleVisibility();
39
- }
40
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentsBar, isStandalone: true, selector: "ngs-incidents-bar", host: { listeners: { "click": "_handleClick($event)" }, classAttribute: "ngs-incidents-bar" }, exportAs: ["ngsIncidentsBar"], ngImport: i0, template: "<div class=\"flex flex-col gap-0.5\">\n <ng-content select=\"ngs-incidents-title\"/>\n <ng-content select=\"ngs-incidents-description\"/>\n</div>\n<button ngsIconButton class=\"ms-auto toggle-icon\">\n <ng-content select=\"[ngsIncidentsToggleIcon]\"/>\n</button>\n", styles: [":host{width:100%;height:var(--ngs-incidents-bar-height);background:var(--ngs-incidents-bar-bg);color:var(--ngs-incidents-bar-color);box-shadow:var(--ngs-incidents-bar-box-shadow);align-items:center;justify-content:space-between;flex:none;cursor:pointer;display:flex;grid-gap:25px;-webkit-user-select:none;user-select:none;padding:var(--ngs-incidents-bar-padding)}:host(:hover){box-shadow:var(--ngs-incidents-bar-hover-box-shadow)}:host .container{display:flex;height:100%;grid-area:content;align-items:center}:host .toggle-icon{line-height:0;transition:transform .2s ease}:host-context(.ngs-incidents.is-visible) .toggle-icon{transform:rotate(-180deg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Button, selector: " button[ngsButton], button[ngsIconButton], a[ngsButton], a[ngsIconButton] ", inputs: ["ngsButton", "ngsIconButton", "loading", "disabled", "disabledInteractive", "disableRipple", "reverse", "fullWidth", "hideTextOnMobile"], exportAs: ["ngsButton"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
42
- }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsBar, decorators: [{
44
- type: Component,
45
- args: [{ selector: 'ngs-incidents-bar', exportAs: 'ngsIncidentsBar', imports: [
46
- Button
47
- ], changeDetection: ChangeDetectionStrategy.Eager, host: {
48
- 'class': 'ngs-incidents-bar',
49
- '(click)': '_handleClick($event)'
50
- }, template: "<div class=\"flex flex-col gap-0.5\">\n <ng-content select=\"ngs-incidents-title\"/>\n <ng-content select=\"ngs-incidents-description\"/>\n</div>\n<button ngsIconButton class=\"ms-auto toggle-icon\">\n <ng-content select=\"[ngsIncidentsToggleIcon]\"/>\n</button>\n", styles: [":host{width:100%;height:var(--ngs-incidents-bar-height);background:var(--ngs-incidents-bar-bg);color:var(--ngs-incidents-bar-color);box-shadow:var(--ngs-incidents-bar-box-shadow);align-items:center;justify-content:space-between;flex:none;cursor:pointer;display:flex;grid-gap:25px;-webkit-user-select:none;user-select:none;padding:var(--ngs-incidents-bar-padding)}:host(:hover){box-shadow:var(--ngs-incidents-bar-hover-box-shadow)}:host .container{display:flex;height:100%;grid-area:content;align-items:center}:host .toggle-icon{line-height:0;transition:transform .2s ease}:host-context(.ngs-incidents.is-visible) .toggle-icon{transform:rotate(-180deg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
51
- }] });
52
-
53
- class IncidentsList {
54
- _parent = inject(INCIDENTS, { optional: true });
55
- fixed = input(false, { ...(ngDevMode ? { debugName: "fixed" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
56
- _handleClick(event) {
57
- const target = event.target;
58
- if (target.closest('.ngs-incident') === null) {
59
- this._parent?.toggleVisibility();
60
- }
61
- }
62
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsList, deps: [], target: i0.ɵɵFactoryTarget.Component });
63
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: IncidentsList, isStandalone: true, selector: "ngs-incidents-list", inputs: { fixed: { classPropertyName: "fixed", publicName: "fixed", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_handleClick($event)" }, properties: { "class.is-fixed": "fixed()" }, classAttribute: "ngs-incidents-list" }, exportAs: ["ngs-incidents-list"], ngImport: i0, template: "<div class=\"container\">\n <ng-content select=\"ngs-incident\"/>\n</div>\n", styles: [":host{background:var(--ngs-incidents-list-bg);transition:transform .15s,opacity .15s;display:grid;height:0;opacity:0;grid-gap:25px;grid-template-columns:auto minmax(1px,max-content) auto;grid-template-areas:\". content .\";transform-origin:top;overflow:hidden;transform:scaleY(0)}:host:not(:empty){padding:var(--ngs-incidents-list-padding)}:host .container{display:grid;height:min-content;grid-area:content;grid-row-gap:var(--ngs-incidents-list-gap);grid-auto-flow:row}:host(.is-fixed){position:absolute;z-index:102;left:0;right:0;top:calc(var(--ngs-incidents-bar-height));bottom:0}:host-context(.ngs-incidents.is-visible){height:calc(100% - var(--ngs-incidents-bar-height));transform:scaleY(1);opacity:1;overflow-y:auto}:host-context(.ngs-incidents.is-visible).is-fixed{height:calc(100vh - var(--ngs-incidents-bar-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
64
- }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsList, decorators: [{
66
- type: Component,
67
- args: [{ selector: 'ngs-incidents-list', exportAs: 'ngs-incidents-list', changeDetection: ChangeDetectionStrategy.Eager, host: {
68
- 'class': 'ngs-incidents-list',
69
- '[class.is-fixed]': 'fixed()',
70
- '(click)': '_handleClick($event)'
71
- }, template: "<div class=\"container\">\n <ng-content select=\"ngs-incident\"/>\n</div>\n", styles: [":host{background:var(--ngs-incidents-list-bg);transition:transform .15s,opacity .15s;display:grid;height:0;opacity:0;grid-gap:25px;grid-template-columns:auto minmax(1px,max-content) auto;grid-template-areas:\". content .\";transform-origin:top;overflow:hidden;transform:scaleY(0)}:host:not(:empty){padding:var(--ngs-incidents-list-padding)}:host .container{display:grid;height:min-content;grid-area:content;grid-row-gap:var(--ngs-incidents-list-gap);grid-auto-flow:row}:host(.is-fixed){position:absolute;z-index:102;left:0;right:0;top:calc(var(--ngs-incidents-bar-height));bottom:0}:host-context(.ngs-incidents.is-visible){height:calc(100% - var(--ngs-incidents-bar-height));transform:scaleY(1);opacity:1;overflow-y:auto}:host-context(.ngs-incidents.is-visible).is-fixed{height:calc(100vh - var(--ngs-incidents-bar-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
72
- }], propDecorators: { fixed: [{ type: i0.Input, args: [{ isSignal: true, alias: "fixed", required: false }] }] } });
73
-
74
- const initialState = {
75
- incidents: [],
76
- title: '',
77
- description: '',
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, InjectionToken, booleanAttribute, computed, inject, input } from "@angular/core";
3
+ import { Icon } from "@ngstarter-ui/components/icon";
4
+ import { Button } from "@ngstarter-ui/components/button";
5
+ import { patchState, signalStore, withMethods, withState } from "@ngrx/signals";
6
+ const INCIDENTS = new InjectionToken("INCIDENTS");
7
+ var Incidents = class Incidents {
8
+ isVisible = false;
9
+ toggleVisibility() {
10
+ this.isVisible = !this.isVisible;
11
+ }
12
+ static ɵfac = i0.ɵɵngDeclareFactory({
13
+ minVersion: "12.0.0",
14
+ version: "22.3.0",
15
+ ngImport: i0,
16
+ type: Incidents,
17
+ deps: [],
18
+ target: i0.ɵɵFactoryTarget.Component
19
+ });
20
+ static ɵcmp = i0.ɵɵngDeclareComponent({
21
+ minVersion: "14.0.0",
22
+ version: "22.3.0",
23
+ type: Incidents,
24
+ isStandalone: true,
25
+ selector: "ngs-incidents",
26
+ host: {
27
+ properties: { "class.is-visible": "isVisible" },
28
+ classAttribute: "ngs-incidents"
29
+ },
30
+ providers: [{
31
+ provide: INCIDENTS,
32
+ useExisting: Incidents
33
+ }],
34
+ exportAs: ["ngsIncidents"],
35
+ ngImport: i0,
36
+ template: "<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n",
37
+ styles: [":host{--ngs-incidents-bar-height: calc(var(--spacing, .25rem) * 24);--ngs-incidents-bar-bg: var(--ngs-color-warning-container);--ngs-incidents-bar-padding: 0 calc(var(--spacing, .25rem) * 8);--ngs-incidents-bar-color: var(--ngs-color-on-warning-container);--ngs-incidents-bar-box-shadow: none;--ngs-incidents-bar-hover-box-shadow: var(--ngs-shadow-sm);--ngs-incidents-list-bg: var(--ngs-overlay-backdrop-bg);--ngs-incidents-list-gap: calc(var(--spacing, .25rem) * 5);--ngs-incidents-list-padding: calc(var(--spacing, .25rem) * 7) 0;--ngs-incident-bg: white;--ngs-incident-color: var(--ngs-color-neutral-700);--ngs-incident-border-radius: var(--ngs-radius-md);--ngs-incident-padding: calc(var(--spacing, .25rem) * 4) calc(var(--spacing, .25rem) * 6);--ngs-incident-gap: calc(var(--spacing, .25rem) * 6);--ngs-incident-border-start: var(--spacing, .25rem) solid var(--ngs-color-warning);--ngs-incident-close-color: var(--ngs-color-neutral-500);--ngs-incident-close-hover-color: var(--ngs-color-neutral-900);--ngs-incident-title-font-size: var(--ngs-font-size-sm);--ngs-incident-title-font-weight: 500;--ngs-incident-details-font-size: var(--ngs-font-size-sm);--ngs-incident-details-color: var(--ngs-color-neutral-500);--ngs-incidents-title-font-size: var(--text-base);--ngs-incidents-title-font-weight: 500;--ngs-incidents-description-font-size: var(--ngs-font-size-sm);--ngs-incidents-description-opacity: 80%;display:contents}:host .list-container{display:none;height:calc(100vh - var(--ngs-layout-top-header-top) + var(--ngs-layout-top-header-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
38
+ changeDetection: i0.ChangeDetectionStrategy.Eager
39
+ });
40
+ };
41
+ i0.ɵɵngDeclareClassMetadata({
42
+ minVersion: "12.0.0",
43
+ version: "22.3.0",
44
+ ngImport: i0,
45
+ type: Incidents,
46
+ decorators: [{
47
+ type: Component,
48
+ args: [{
49
+ selector: "ngs-incidents",
50
+ exportAs: "ngsIncidents",
51
+ providers: [{
52
+ provide: INCIDENTS,
53
+ useExisting: Incidents
54
+ }],
55
+ changeDetection: ChangeDetectionStrategy.Eager,
56
+ host: {
57
+ "class": "ngs-incidents",
58
+ "[class.is-visible]": "isVisible"
59
+ },
60
+ template: "<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n",
61
+ styles: [":host{--ngs-incidents-bar-height: calc(var(--spacing, .25rem) * 24);--ngs-incidents-bar-bg: var(--ngs-color-warning-container);--ngs-incidents-bar-padding: 0 calc(var(--spacing, .25rem) * 8);--ngs-incidents-bar-color: var(--ngs-color-on-warning-container);--ngs-incidents-bar-box-shadow: none;--ngs-incidents-bar-hover-box-shadow: var(--ngs-shadow-sm);--ngs-incidents-list-bg: var(--ngs-overlay-backdrop-bg);--ngs-incidents-list-gap: calc(var(--spacing, .25rem) * 5);--ngs-incidents-list-padding: calc(var(--spacing, .25rem) * 7) 0;--ngs-incident-bg: white;--ngs-incident-color: var(--ngs-color-neutral-700);--ngs-incident-border-radius: var(--ngs-radius-md);--ngs-incident-padding: calc(var(--spacing, .25rem) * 4) calc(var(--spacing, .25rem) * 6);--ngs-incident-gap: calc(var(--spacing, .25rem) * 6);--ngs-incident-border-start: var(--spacing, .25rem) solid var(--ngs-color-warning);--ngs-incident-close-color: var(--ngs-color-neutral-500);--ngs-incident-close-hover-color: var(--ngs-color-neutral-900);--ngs-incident-title-font-size: var(--ngs-font-size-sm);--ngs-incident-title-font-weight: 500;--ngs-incident-details-font-size: var(--ngs-font-size-sm);--ngs-incident-details-color: var(--ngs-color-neutral-500);--ngs-incidents-title-font-size: var(--text-base);--ngs-incidents-title-font-weight: 500;--ngs-incidents-description-font-size: var(--ngs-font-size-sm);--ngs-incidents-description-opacity: 80%;display:contents}:host .list-container{display:none;height:calc(100vh - var(--ngs-layout-top-header-top) + var(--ngs-layout-top-header-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
62
+ }]
63
+ }]
64
+ });
65
+ var IncidentsBar = class IncidentsBar {
66
+ _parent = inject(INCIDENTS, { optional: true });
67
+ _handleClick(_event) {
68
+ this._parent?.toggleVisibility();
69
+ }
70
+ static ɵfac = i0.ɵɵngDeclareFactory({
71
+ minVersion: "12.0.0",
72
+ version: "22.3.0",
73
+ ngImport: i0,
74
+ type: IncidentsBar,
75
+ deps: [],
76
+ target: i0.ɵɵFactoryTarget.Component
77
+ });
78
+ static ɵcmp = i0.ɵɵngDeclareComponent({
79
+ minVersion: "14.0.0",
80
+ version: "22.3.0",
81
+ type: IncidentsBar,
82
+ isStandalone: true,
83
+ selector: "ngs-incidents-bar",
84
+ host: {
85
+ listeners: { "click": "_handleClick($event)" },
86
+ classAttribute: "ngs-incidents-bar"
87
+ },
88
+ exportAs: ["ngsIncidentsBar"],
89
+ ngImport: i0,
90
+ template: "<div class=\"flex flex-col gap-0.5\">\n <ng-content select=\"ngs-incidents-title\"/>\n <ng-content select=\"ngs-incidents-description\"/>\n</div>\n<button ngsIconButton class=\"ms-auto toggle-icon\">\n <ng-content select=\"[ngsIncidentsToggleIcon]\"/>\n</button>\n",
91
+ styles: [":host{width:100%;height:var(--ngs-incidents-bar-height);background:var(--ngs-incidents-bar-bg);color:var(--ngs-incidents-bar-color);box-shadow:var(--ngs-incidents-bar-box-shadow);align-items:center;justify-content:space-between;flex:none;cursor:pointer;display:flex;grid-gap:25px;-webkit-user-select:none;user-select:none;padding:var(--ngs-incidents-bar-padding)}:host(:hover){box-shadow:var(--ngs-incidents-bar-hover-box-shadow)}:host .container{display:flex;height:100%;grid-area:content;align-items:center}:host .toggle-icon{line-height:0;transition:transform .2s ease}:host-context(.ngs-incidents.is-visible) .toggle-icon{transform:rotate(-180deg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
92
+ dependencies: [{
93
+ kind: "component",
94
+ type: Button,
95
+ selector: "\n button[ngsButton], button[ngsIconButton],\n a[ngsButton], a[ngsIconButton]\n ",
96
+ inputs: [
97
+ "ngsButton",
98
+ "ngsIconButton",
99
+ "loading",
100
+ "disabled",
101
+ "disabledInteractive",
102
+ "disableRipple",
103
+ "reverse",
104
+ "fullWidth",
105
+ "hideTextOnMobile"
106
+ ],
107
+ exportAs: ["ngsButton"]
108
+ }],
109
+ changeDetection: i0.ChangeDetectionStrategy.Eager
110
+ });
78
111
  };
79
- const IncidentsStore = signalStore({ providedIn: 'root' }, withState(initialState), withMethods((store) => ({
80
- show(state) {
81
- patchState(store, {
82
- ...state
83
- });
84
- },
85
- hide() {
86
- patchState(store, {
87
- incidents: []
88
- });
89
- }
112
+ i0.ɵɵngDeclareClassMetadata({
113
+ minVersion: "12.0.0",
114
+ version: "22.3.0",
115
+ ngImport: i0,
116
+ type: IncidentsBar,
117
+ decorators: [{
118
+ type: Component,
119
+ args: [{
120
+ selector: "ngs-incidents-bar",
121
+ exportAs: "ngsIncidentsBar",
122
+ imports: [Button],
123
+ changeDetection: ChangeDetectionStrategy.Eager,
124
+ host: {
125
+ "class": "ngs-incidents-bar",
126
+ "(click)": "_handleClick($event)"
127
+ },
128
+ template: "<div class=\"flex flex-col gap-0.5\">\n <ng-content select=\"ngs-incidents-title\"/>\n <ng-content select=\"ngs-incidents-description\"/>\n</div>\n<button ngsIconButton class=\"ms-auto toggle-icon\">\n <ng-content select=\"[ngsIncidentsToggleIcon]\"/>\n</button>\n",
129
+ styles: [":host{width:100%;height:var(--ngs-incidents-bar-height);background:var(--ngs-incidents-bar-bg);color:var(--ngs-incidents-bar-color);box-shadow:var(--ngs-incidents-bar-box-shadow);align-items:center;justify-content:space-between;flex:none;cursor:pointer;display:flex;grid-gap:25px;-webkit-user-select:none;user-select:none;padding:var(--ngs-incidents-bar-padding)}:host(:hover){box-shadow:var(--ngs-incidents-bar-hover-box-shadow)}:host .container{display:flex;height:100%;grid-area:content;align-items:center}:host .toggle-icon{line-height:0;transition:transform .2s ease}:host-context(.ngs-incidents.is-visible) .toggle-icon{transform:rotate(-180deg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
130
+ }]
131
+ }]
132
+ });
133
+ var IncidentsList = class IncidentsList {
134
+ _parent = inject(INCIDENTS, { optional: true });
135
+ fixed = input(false, {
136
+ ...ngDevMode ? { debugName: "fixed" } : /* istanbul ignore next */ {},
137
+ transform: booleanAttribute
138
+ });
139
+ _handleClick(event) {
140
+ if (event.target.closest(".ngs-incident") === null) this._parent?.toggleVisibility();
141
+ }
142
+ static ɵfac = i0.ɵɵngDeclareFactory({
143
+ minVersion: "12.0.0",
144
+ version: "22.3.0",
145
+ ngImport: i0,
146
+ type: IncidentsList,
147
+ deps: [],
148
+ target: i0.ɵɵFactoryTarget.Component
149
+ });
150
+ static ɵcmp = i0.ɵɵngDeclareComponent({
151
+ minVersion: "17.1.0",
152
+ version: "22.3.0",
153
+ type: IncidentsList,
154
+ isStandalone: true,
155
+ selector: "ngs-incidents-list",
156
+ inputs: { fixed: {
157
+ classPropertyName: "fixed",
158
+ publicName: "fixed",
159
+ isSignal: true,
160
+ isRequired: false,
161
+ transformFunction: null
162
+ } },
163
+ host: {
164
+ listeners: { "click": "_handleClick($event)" },
165
+ properties: { "class.is-fixed": "fixed()" },
166
+ classAttribute: "ngs-incidents-list"
167
+ },
168
+ exportAs: ["ngs-incidents-list"],
169
+ ngImport: i0,
170
+ template: "<div class=\"container\">\n <ng-content select=\"ngs-incident\"/>\n</div>\n",
171
+ styles: [":host{background:var(--ngs-incidents-list-bg);transition:transform .15s,opacity .15s;display:grid;height:0;opacity:0;grid-gap:25px;grid-template-columns:auto minmax(1px,max-content) auto;grid-template-areas:\". content .\";transform-origin:top;overflow:hidden;transform:scaleY(0)}:host:not(:empty){padding:var(--ngs-incidents-list-padding)}:host .container{display:grid;height:min-content;grid-area:content;grid-row-gap:var(--ngs-incidents-list-gap);grid-auto-flow:row}:host(.is-fixed){position:absolute;z-index:102;left:0;right:0;top:calc(var(--ngs-incidents-bar-height));bottom:0}:host-context(.ngs-incidents.is-visible){height:calc(100% - var(--ngs-incidents-bar-height));transform:scaleY(1);opacity:1;overflow-y:auto}:host-context(.ngs-incidents.is-visible).is-fixed{height:calc(100vh - var(--ngs-incidents-bar-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
172
+ changeDetection: i0.ChangeDetectionStrategy.Eager
173
+ });
174
+ };
175
+ i0.ɵɵngDeclareClassMetadata({
176
+ minVersion: "12.0.0",
177
+ version: "22.3.0",
178
+ ngImport: i0,
179
+ type: IncidentsList,
180
+ decorators: [{
181
+ type: Component,
182
+ args: [{
183
+ selector: "ngs-incidents-list",
184
+ exportAs: "ngs-incidents-list",
185
+ changeDetection: ChangeDetectionStrategy.Eager,
186
+ host: {
187
+ "class": "ngs-incidents-list",
188
+ "[class.is-fixed]": "fixed()",
189
+ "(click)": "_handleClick($event)"
190
+ },
191
+ template: "<div class=\"container\">\n <ng-content select=\"ngs-incident\"/>\n</div>\n",
192
+ styles: [":host{background:var(--ngs-incidents-list-bg);transition:transform .15s,opacity .15s;display:grid;height:0;opacity:0;grid-gap:25px;grid-template-columns:auto minmax(1px,max-content) auto;grid-template-areas:\". content .\";transform-origin:top;overflow:hidden;transform:scaleY(0)}:host:not(:empty){padding:var(--ngs-incidents-list-padding)}:host .container{display:grid;height:min-content;grid-area:content;grid-row-gap:var(--ngs-incidents-list-gap);grid-auto-flow:row}:host(.is-fixed){position:absolute;z-index:102;left:0;right:0;top:calc(var(--ngs-incidents-bar-height));bottom:0}:host-context(.ngs-incidents.is-visible){height:calc(100% - var(--ngs-incidents-bar-height));transform:scaleY(1);opacity:1;overflow-y:auto}:host-context(.ngs-incidents.is-visible).is-fixed{height:calc(100vh - var(--ngs-incidents-bar-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
193
+ }]
194
+ }],
195
+ propDecorators: { fixed: [{
196
+ type: i0.Input,
197
+ args: [{
198
+ isSignal: true,
199
+ alias: "fixed",
200
+ required: false
201
+ }]
202
+ }] }
203
+ });
204
+ const IncidentsStore = signalStore({ providedIn: "root" }, withState({
205
+ incidents: [],
206
+ title: "",
207
+ description: ""
208
+ }), withMethods((store) => ({
209
+ show(state) {
210
+ patchState(store, { ...state });
211
+ },
212
+ hide() {
213
+ patchState(store, { incidents: [] });
214
+ }
90
215
  })));
91
-
92
216
  let incidentId = 0;
93
- class Incident {
94
- _incidentsStore = inject(IncidentsStore);
95
- incidentId = input(`incident-${incidentId++}`, /* @ts-ignore */
96
- ...(ngDevMode ? [{ debugName: "incidentId" }] : /* istanbul ignore next */ []));
97
- close() {
98
- this._incidentsStore.hide();
99
- }
100
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Incident, deps: [], target: i0.ɵɵFactoryTarget.Component });
101
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: Incident, isStandalone: true, selector: "ngs-incident,[ngs-incident]", inputs: { incidentId: { classPropertyName: "incidentId", publicName: "incidentId", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "ngs-incident" }, exportAs: ["ngsIncident"], ngImport: i0, template: "<div class=\"icon\">\n <ng-content select=\"[ngsIncidentIcon]\"/>\n</div>\n<div class=\"content\">\n <div class=\"data\">\n <ng-content select=\"ngs-incident-title\"/>\n <ng-content select=\"ngs-incident-details\"/>\n </div>\n <ng-content select=\"[ngsIncidentButton]\"/>\n</div>\n<button ngsIconButton class=\"close -ms-2\" (click)=\"close()\">\n <ng-content select=\"[ngsIncidentClose]\"/>\n</button>\n", styles: [":host{display:grid;align-items:center;border-radius:var(--ngs-incident-border-radius);background:var(--ngs-incident-bg);grid-template-areas:\"icon content close\";padding:var(--ngs-incident-padding);gap:var(--ngs-incident-gap);border-inline-start:var(--ngs-incident-border-start);grid-template-columns:[icon] var(--ngs-incident-gap) [content] 1fr [action] var(--ngs-incident-gap);color:var(--ngs-incident-color)}:host .content{grid-area:content;display:grid;gap:var(--ngs-incident-gap);grid-template-areas:\"data button\";grid-template-columns:[data] 1fr [button] var(--ngs-incident-gap)}:host .data{grid-area:data}:host .icon{line-height:0;display:inline-block;max-width:max-content}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Button, selector: " button[ngsButton], button[ngsIconButton], a[ngsButton], a[ngsIconButton] ", inputs: ["ngsButton", "ngsIconButton", "loading", "disabled", "disabledInteractive", "disableRipple", "reverse", "fullWidth", "hideTextOnMobile"], exportAs: ["ngsButton"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
102
- }
103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Incident, decorators: [{
104
- type: Component,
105
- args: [{ selector: 'ngs-incident,[ngs-incident]', exportAs: 'ngsIncident', imports: [
106
- Button
107
- ], changeDetection: ChangeDetectionStrategy.Eager, host: {
108
- 'class': 'ngs-incident'
109
- }, template: "<div class=\"icon\">\n <ng-content select=\"[ngsIncidentIcon]\"/>\n</div>\n<div class=\"content\">\n <div class=\"data\">\n <ng-content select=\"ngs-incident-title\"/>\n <ng-content select=\"ngs-incident-details\"/>\n </div>\n <ng-content select=\"[ngsIncidentButton]\"/>\n</div>\n<button ngsIconButton class=\"close -ms-2\" (click)=\"close()\">\n <ng-content select=\"[ngsIncidentClose]\"/>\n</button>\n", styles: [":host{display:grid;align-items:center;border-radius:var(--ngs-incident-border-radius);background:var(--ngs-incident-bg);grid-template-areas:\"icon content close\";padding:var(--ngs-incident-padding);gap:var(--ngs-incident-gap);border-inline-start:var(--ngs-incident-border-start);grid-template-columns:[icon] var(--ngs-incident-gap) [content] 1fr [action] var(--ngs-incident-gap);color:var(--ngs-incident-color)}:host .content{grid-area:content;display:grid;gap:var(--ngs-incident-gap);grid-template-areas:\"data button\";grid-template-columns:[data] 1fr [button] var(--ngs-incident-gap)}:host .data{grid-area:data}:host .icon{line-height:0;display:inline-block;max-width:max-content}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
110
- }], propDecorators: { incidentId: [{ type: i0.Input, args: [{ isSignal: true, alias: "incidentId", required: false }] }] } });
111
-
112
- class IncidentTitle {
113
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentTitle, deps: [], target: i0.ɵɵFactoryTarget.Component });
114
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentTitle, isStandalone: true, selector: "ngs-incident-title", host: { classAttribute: "ngs-incident-title" }, exportAs: ["ngsIncidentTitle"], ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-title-font-size);font-weight:var(--ngs-incident-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
115
- }
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentTitle, decorators: [{
117
- type: Component,
118
- args: [{ selector: 'ngs-incident-title', exportAs: 'ngsIncidentTitle', changeDetection: ChangeDetectionStrategy.Eager, host: {
119
- 'class': 'ngs-incident-title',
120
- }, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-title-font-size);font-weight:var(--ngs-incident-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
121
- }] });
122
-
123
- class IncidentDetails {
124
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentDetails, deps: [], target: i0.ɵɵFactoryTarget.Component });
125
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentDetails, isStandalone: true, selector: "ngs-incident-details", host: { classAttribute: "ngs-incident-details" }, exportAs: ["ngsIncidentDetails"], ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-details-font-size);color:var(--ngs-incident-details-color)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
126
- }
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentDetails, decorators: [{
128
- type: Component,
129
- args: [{ selector: 'ngs-incident-details', exportAs: 'ngsIncidentDetails', changeDetection: ChangeDetectionStrategy.Eager, host: {
130
- 'class': 'ngs-incident-details',
131
- }, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-details-font-size);color:var(--ngs-incident-details-color)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
132
- }] });
133
-
134
- class IncidentButtonDirective {
135
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
136
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: IncidentButtonDirective, isStandalone: true, selector: "[ngsIncidentButton]", host: { classAttribute: "ngs-incident-button" }, exportAs: ["ngsIncidentButton"], ngImport: i0 });
137
- }
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentButtonDirective, decorators: [{
139
- type: Directive,
140
- args: [{
141
- selector: '[ngsIncidentButton]',
142
- exportAs: 'ngsIncidentButton',
143
- host: {
144
- 'class': 'ngs-incident-button',
145
- }
146
- }]
147
- }] });
148
-
149
- class IncidentsTitle {
150
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsTitle, deps: [], target: i0.ɵɵFactoryTarget.Component });
151
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentsTitle, isStandalone: true, selector: "ngs-incidents-title", host: { classAttribute: "ngs-incidents-title" }, exportAs: ["ngsIncidentTitle"], ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-title-font-size);font-weight:var(--ngs-incidents-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
152
- }
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsTitle, decorators: [{
154
- type: Component,
155
- args: [{ selector: 'ngs-incidents-title', exportAs: 'ngsIncidentTitle', changeDetection: ChangeDetectionStrategy.Eager, host: {
156
- 'class': 'ngs-incidents-title',
157
- }, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-title-font-size);font-weight:var(--ngs-incidents-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
158
- }] });
159
-
160
- class IncidentsDescription {
161
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsDescription, deps: [], target: i0.ɵɵFactoryTarget.Component });
162
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentsDescription, isStandalone: true, selector: "ngs-incidents-description", host: { classAttribute: "ngs-incidents-description" }, exportAs: ["ngsIncidentsDescription"], ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-description-font-size);opacity:var(--ngs-incidents-description-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
163
- }
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsDescription, decorators: [{
165
- type: Component,
166
- args: [{ selector: 'ngs-incidents-description', exportAs: 'ngsIncidentsDescription', changeDetection: ChangeDetectionStrategy.Eager, host: {
167
- 'class': 'ngs-incidents-description'
168
- }, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-description-font-size);opacity:var(--ngs-incidents-description-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
169
- }] });
170
-
171
- class IncidentsToggleIconDirective {
172
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
173
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: IncidentsToggleIconDirective, isStandalone: true, selector: "[ngsIncidentsToggleIcon]", host: { classAttribute: "ngs-incidents-toggle-icon" }, exportAs: ["ngsIncidentsToggleIcon"], ngImport: i0 });
174
- }
175
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsToggleIconDirective, decorators: [{
176
- type: Directive,
177
- args: [{
178
- selector: '[ngsIncidentsToggleIcon]',
179
- exportAs: 'ngsIncidentsToggleIcon',
180
- host: {
181
- 'class': 'ngs-incidents-toggle-icon',
182
- }
183
- }]
184
- }] });
185
-
186
- class IncidentCloseDirective {
187
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
188
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: IncidentCloseDirective, isStandalone: true, selector: "[ngsIncidentClose]", host: { classAttribute: "ngs-incident-close" }, exportAs: ["ngsIncidentClose"], ngImport: i0 });
189
- }
190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentCloseDirective, decorators: [{
191
- type: Directive,
192
- args: [{
193
- selector: '[ngsIncidentClose]',
194
- exportAs: 'ngsIncidentClose',
195
- host: {
196
- 'class': 'ngs-incident-close'
197
- }
198
- }]
199
- }] });
200
-
201
- class IncidentsContainer {
202
- _incidentsStore = inject(IncidentsStore);
203
- hasIncidents = computed(() => {
204
- return this._incidentsStore.incidents().length > 0;
205
- }, /* @ts-ignore */
206
- ...(ngDevMode ? [{ debugName: "hasIncidents" }] : /* istanbul ignore next */ []));
207
- title = computed(() => {
208
- return this._incidentsStore.title();
209
- }, /* @ts-ignore */
210
- ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
211
- description = computed(() => {
212
- return this._incidentsStore.description();
213
- }, /* @ts-ignore */
214
- ...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
215
- incidents = computed(() => {
216
- return this._incidentsStore.incidents();
217
- }, /* @ts-ignore */
218
- ...(ngDevMode ? [{ debugName: "incidents" }] : /* istanbul ignore next */ []));
219
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
220
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: IncidentsContainer, isStandalone: true, selector: "ngs-incidents-container,ngs-incidents-global", host: { properties: { "class.is-active": "hasIncidents()" }, classAttribute: "ngs-incidents-global" }, exportAs: ["ngsIncidentsGlobal"], ngImport: i0, template: "@if (hasIncidents()) {\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>{{ title() }}</ngs-incidents-title>\n @if (description()) {\n <ngs-incidents-description>{{ description() }}</ngs-incidents-description>\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list fixed>\n @for (incident of incidents(); track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n @if (incident.details) {\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n }\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n}\n", styles: [":host{display:none;position:relative}:host.is-active{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Incidents, selector: "ngs-incidents", exportAs: ["ngsIncidents"] }, { kind: "component", type: Icon, selector: "ngs-icon", inputs: ["name"], exportAs: ["ngsIcon"] }, { kind: "component", type: IncidentsTitle, selector: "ngs-incidents-title", exportAs: ["ngsIncidentTitle"] }, { kind: "component", type: IncidentDetails, selector: "ngs-incident-details", exportAs: ["ngsIncidentDetails"] }, { kind: "component", type: IncidentsBar, selector: "ngs-incidents-bar", exportAs: ["ngsIncidentsBar"] }, { kind: "component", type: IncidentsDescription, selector: "ngs-incidents-description", exportAs: ["ngsIncidentsDescription"] }, { kind: "directive", type: IncidentsToggleIconDirective, selector: "[ngsIncidentsToggleIcon]", exportAs: ["ngsIncidentsToggleIcon"] }, { kind: "component", type: IncidentTitle, selector: "ngs-incident-title", exportAs: ["ngsIncidentTitle"] }, { kind: "component", type: IncidentsList, selector: "ngs-incidents-list", inputs: ["fixed"], exportAs: ["ngs-incidents-list"] }, { kind: "directive", type: IncidentCloseDirective, selector: "[ngsIncidentClose]", exportAs: ["ngsIncidentClose"] }, { kind: "component", type: Incident, selector: "ngs-incident,[ngs-incident]", inputs: ["incidentId"], exportAs: ["ngsIncident"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
221
- }
222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsContainer, decorators: [{
223
- type: Component,
224
- args: [{ selector: 'ngs-incidents-container,ngs-incidents-global', exportAs: 'ngsIncidentsGlobal', imports: [
225
- Incidents,
226
- Icon,
227
- IncidentsTitle,
228
- IncidentDetails,
229
- IncidentsBar,
230
- IncidentsDescription,
231
- IncidentsToggleIconDirective,
232
- IncidentTitle,
233
- IncidentsList,
234
- IncidentCloseDirective,
235
- Incident
236
- ], changeDetection: ChangeDetectionStrategy.Eager, host: {
237
- 'class': 'ngs-incidents-global',
238
- '[class.is-active]': 'hasIncidents()'
239
- }, template: "@if (hasIncidents()) {\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>{{ title() }}</ngs-incidents-title>\n @if (description()) {\n <ngs-incidents-description>{{ description() }}</ngs-incidents-description>\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list fixed>\n @for (incident of incidents(); track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n @if (incident.details) {\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n }\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n}\n", styles: [":host{display:none;position:relative}:host.is-active{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
240
- }] });
241
-
242
- class IncidentIconDirective {
243
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
244
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: IncidentIconDirective, isStandalone: true, selector: "[ngsIncidentIcon]", host: { classAttribute: "ngs-incident-icon" }, exportAs: ["ngsIncidentIcon"], ngImport: i0 });
245
- }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentIconDirective, decorators: [{
247
- type: Directive,
248
- args: [{
249
- selector: '[ngsIncidentIcon]',
250
- exportAs: 'ngsIncidentIcon',
251
- host: {
252
- 'class': 'ngs-incident-icon'
253
- }
254
- }]
255
- }] });
256
-
257
- /**
258
- * Generated bundle index. Do not edit.
259
- */
260
-
217
+ var Incident = class Incident {
218
+ _incidentsStore = inject(IncidentsStore);
219
+ incidentId = input(`incident-${incidentId++}`, ...ngDevMode ? [{ debugName: "incidentId" }] : /* istanbul ignore next */ []);
220
+ close() {
221
+ this._incidentsStore.hide();
222
+ }
223
+ static ɵfac = i0.ɵɵngDeclareFactory({
224
+ minVersion: "12.0.0",
225
+ version: "22.3.0",
226
+ ngImport: i0,
227
+ type: Incident,
228
+ deps: [],
229
+ target: i0.ɵɵFactoryTarget.Component
230
+ });
231
+ static ɵcmp = i0.ɵɵngDeclareComponent({
232
+ minVersion: "17.1.0",
233
+ version: "22.3.0",
234
+ type: Incident,
235
+ isStandalone: true,
236
+ selector: "ngs-incident,[ngs-incident]",
237
+ inputs: { incidentId: {
238
+ classPropertyName: "incidentId",
239
+ publicName: "incidentId",
240
+ isSignal: true,
241
+ isRequired: false,
242
+ transformFunction: null
243
+ } },
244
+ host: { classAttribute: "ngs-incident" },
245
+ exportAs: ["ngsIncident"],
246
+ ngImport: i0,
247
+ template: "<div class=\"icon\">\n <ng-content select=\"[ngsIncidentIcon]\"/>\n</div>\n<div class=\"content\">\n <div class=\"data\">\n <ng-content select=\"ngs-incident-title\"/>\n <ng-content select=\"ngs-incident-details\"/>\n </div>\n <ng-content select=\"[ngsIncidentButton]\"/>\n</div>\n<button ngsIconButton class=\"close -ms-2\" (click)=\"close()\">\n <ng-content select=\"[ngsIncidentClose]\"/>\n</button>\n",
248
+ styles: [":host{display:grid;align-items:center;border-radius:var(--ngs-incident-border-radius);background:var(--ngs-incident-bg);grid-template-areas:\"icon content close\";padding:var(--ngs-incident-padding);gap:var(--ngs-incident-gap);border-inline-start:var(--ngs-incident-border-start);grid-template-columns:[icon] var(--ngs-incident-gap) [content] 1fr [action] var(--ngs-incident-gap);color:var(--ngs-incident-color)}:host .content{grid-area:content;display:grid;gap:var(--ngs-incident-gap);grid-template-areas:\"data button\";grid-template-columns:[data] 1fr [button] var(--ngs-incident-gap)}:host .data{grid-area:data}:host .icon{line-height:0;display:inline-block;max-width:max-content}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
249
+ dependencies: [{
250
+ kind: "component",
251
+ type: Button,
252
+ selector: "\n button[ngsButton], button[ngsIconButton],\n a[ngsButton], a[ngsIconButton]\n ",
253
+ inputs: [
254
+ "ngsButton",
255
+ "ngsIconButton",
256
+ "loading",
257
+ "disabled",
258
+ "disabledInteractive",
259
+ "disableRipple",
260
+ "reverse",
261
+ "fullWidth",
262
+ "hideTextOnMobile"
263
+ ],
264
+ exportAs: ["ngsButton"]
265
+ }],
266
+ changeDetection: i0.ChangeDetectionStrategy.Eager
267
+ });
268
+ };
269
+ i0.ɵɵngDeclareClassMetadata({
270
+ minVersion: "12.0.0",
271
+ version: "22.3.0",
272
+ ngImport: i0,
273
+ type: Incident,
274
+ decorators: [{
275
+ type: Component,
276
+ args: [{
277
+ selector: "ngs-incident,[ngs-incident]",
278
+ exportAs: "ngsIncident",
279
+ imports: [Button],
280
+ changeDetection: ChangeDetectionStrategy.Eager,
281
+ host: { "class": "ngs-incident" },
282
+ template: "<div class=\"icon\">\n <ng-content select=\"[ngsIncidentIcon]\"/>\n</div>\n<div class=\"content\">\n <div class=\"data\">\n <ng-content select=\"ngs-incident-title\"/>\n <ng-content select=\"ngs-incident-details\"/>\n </div>\n <ng-content select=\"[ngsIncidentButton]\"/>\n</div>\n<button ngsIconButton class=\"close -ms-2\" (click)=\"close()\">\n <ng-content select=\"[ngsIncidentClose]\"/>\n</button>\n",
283
+ styles: [":host{display:grid;align-items:center;border-radius:var(--ngs-incident-border-radius);background:var(--ngs-incident-bg);grid-template-areas:\"icon content close\";padding:var(--ngs-incident-padding);gap:var(--ngs-incident-gap);border-inline-start:var(--ngs-incident-border-start);grid-template-columns:[icon] var(--ngs-incident-gap) [content] 1fr [action] var(--ngs-incident-gap);color:var(--ngs-incident-color)}:host .content{grid-area:content;display:grid;gap:var(--ngs-incident-gap);grid-template-areas:\"data button\";grid-template-columns:[data] 1fr [button] var(--ngs-incident-gap)}:host .data{grid-area:data}:host .icon{line-height:0;display:inline-block;max-width:max-content}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
284
+ }]
285
+ }],
286
+ propDecorators: { incidentId: [{
287
+ type: i0.Input,
288
+ args: [{
289
+ isSignal: true,
290
+ alias: "incidentId",
291
+ required: false
292
+ }]
293
+ }] }
294
+ });
295
+ var IncidentTitle = class IncidentTitle {
296
+ static ɵfac = i0.ɵɵngDeclareFactory({
297
+ minVersion: "12.0.0",
298
+ version: "22.3.0",
299
+ ngImport: i0,
300
+ type: IncidentTitle,
301
+ deps: [],
302
+ target: i0.ɵɵFactoryTarget.Component
303
+ });
304
+ static ɵcmp = i0.ɵɵngDeclareComponent({
305
+ minVersion: "14.0.0",
306
+ version: "22.3.0",
307
+ type: IncidentTitle,
308
+ isStandalone: true,
309
+ selector: "ngs-incident-title",
310
+ host: { classAttribute: "ngs-incident-title" },
311
+ exportAs: ["ngsIncidentTitle"],
312
+ ngImport: i0,
313
+ template: "<ng-content />\n",
314
+ styles: [":host{display:block;font-size:var(--ngs-incident-title-font-size);font-weight:var(--ngs-incident-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
315
+ changeDetection: i0.ChangeDetectionStrategy.Eager
316
+ });
317
+ };
318
+ i0.ɵɵngDeclareClassMetadata({
319
+ minVersion: "12.0.0",
320
+ version: "22.3.0",
321
+ ngImport: i0,
322
+ type: IncidentTitle,
323
+ decorators: [{
324
+ type: Component,
325
+ args: [{
326
+ selector: "ngs-incident-title",
327
+ exportAs: "ngsIncidentTitle",
328
+ changeDetection: ChangeDetectionStrategy.Eager,
329
+ host: { "class": "ngs-incident-title" },
330
+ template: "<ng-content />\n",
331
+ styles: [":host{display:block;font-size:var(--ngs-incident-title-font-size);font-weight:var(--ngs-incident-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
332
+ }]
333
+ }]
334
+ });
335
+ var IncidentDetails = class IncidentDetails {
336
+ static ɵfac = i0.ɵɵngDeclareFactory({
337
+ minVersion: "12.0.0",
338
+ version: "22.3.0",
339
+ ngImport: i0,
340
+ type: IncidentDetails,
341
+ deps: [],
342
+ target: i0.ɵɵFactoryTarget.Component
343
+ });
344
+ static ɵcmp = i0.ɵɵngDeclareComponent({
345
+ minVersion: "14.0.0",
346
+ version: "22.3.0",
347
+ type: IncidentDetails,
348
+ isStandalone: true,
349
+ selector: "ngs-incident-details",
350
+ host: { classAttribute: "ngs-incident-details" },
351
+ exportAs: ["ngsIncidentDetails"],
352
+ ngImport: i0,
353
+ template: "<ng-content />\n",
354
+ styles: [":host{display:block;font-size:var(--ngs-incident-details-font-size);color:var(--ngs-incident-details-color)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
355
+ changeDetection: i0.ChangeDetectionStrategy.Eager
356
+ });
357
+ };
358
+ i0.ɵɵngDeclareClassMetadata({
359
+ minVersion: "12.0.0",
360
+ version: "22.3.0",
361
+ ngImport: i0,
362
+ type: IncidentDetails,
363
+ decorators: [{
364
+ type: Component,
365
+ args: [{
366
+ selector: "ngs-incident-details",
367
+ exportAs: "ngsIncidentDetails",
368
+ changeDetection: ChangeDetectionStrategy.Eager,
369
+ host: { "class": "ngs-incident-details" },
370
+ template: "<ng-content />\n",
371
+ styles: [":host{display:block;font-size:var(--ngs-incident-details-font-size);color:var(--ngs-incident-details-color)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
372
+ }]
373
+ }]
374
+ });
375
+ var IncidentButtonDirective = class IncidentButtonDirective {
376
+ static ɵfac = i0.ɵɵngDeclareFactory({
377
+ minVersion: "12.0.0",
378
+ version: "22.3.0",
379
+ ngImport: i0,
380
+ type: IncidentButtonDirective,
381
+ deps: [],
382
+ target: i0.ɵɵFactoryTarget.Directive
383
+ });
384
+ static ɵdir = i0.ɵɵngDeclareDirective({
385
+ minVersion: "14.0.0",
386
+ version: "22.3.0",
387
+ type: IncidentButtonDirective,
388
+ isStandalone: true,
389
+ selector: "[ngsIncidentButton]",
390
+ host: { classAttribute: "ngs-incident-button" },
391
+ exportAs: ["ngsIncidentButton"],
392
+ ngImport: i0
393
+ });
394
+ };
395
+ i0.ɵɵngDeclareClassMetadata({
396
+ minVersion: "12.0.0",
397
+ version: "22.3.0",
398
+ ngImport: i0,
399
+ type: IncidentButtonDirective,
400
+ decorators: [{
401
+ type: Directive,
402
+ args: [{
403
+ selector: "[ngsIncidentButton]",
404
+ exportAs: "ngsIncidentButton",
405
+ host: { "class": "ngs-incident-button" }
406
+ }]
407
+ }]
408
+ });
409
+ var IncidentsTitle = class IncidentsTitle {
410
+ static ɵfac = i0.ɵɵngDeclareFactory({
411
+ minVersion: "12.0.0",
412
+ version: "22.3.0",
413
+ ngImport: i0,
414
+ type: IncidentsTitle,
415
+ deps: [],
416
+ target: i0.ɵɵFactoryTarget.Component
417
+ });
418
+ static ɵcmp = i0.ɵɵngDeclareComponent({
419
+ minVersion: "14.0.0",
420
+ version: "22.3.0",
421
+ type: IncidentsTitle,
422
+ isStandalone: true,
423
+ selector: "ngs-incidents-title",
424
+ host: { classAttribute: "ngs-incidents-title" },
425
+ exportAs: ["ngsIncidentTitle"],
426
+ ngImport: i0,
427
+ template: "<ng-content />\n",
428
+ styles: [":host{display:block;font-size:var(--ngs-incidents-title-font-size);font-weight:var(--ngs-incidents-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
429
+ changeDetection: i0.ChangeDetectionStrategy.Eager
430
+ });
431
+ };
432
+ i0.ɵɵngDeclareClassMetadata({
433
+ minVersion: "12.0.0",
434
+ version: "22.3.0",
435
+ ngImport: i0,
436
+ type: IncidentsTitle,
437
+ decorators: [{
438
+ type: Component,
439
+ args: [{
440
+ selector: "ngs-incidents-title",
441
+ exportAs: "ngsIncidentTitle",
442
+ changeDetection: ChangeDetectionStrategy.Eager,
443
+ host: { "class": "ngs-incidents-title" },
444
+ template: "<ng-content />\n",
445
+ styles: [":host{display:block;font-size:var(--ngs-incidents-title-font-size);font-weight:var(--ngs-incidents-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
446
+ }]
447
+ }]
448
+ });
449
+ var IncidentsDescription = class IncidentsDescription {
450
+ static ɵfac = i0.ɵɵngDeclareFactory({
451
+ minVersion: "12.0.0",
452
+ version: "22.3.0",
453
+ ngImport: i0,
454
+ type: IncidentsDescription,
455
+ deps: [],
456
+ target: i0.ɵɵFactoryTarget.Component
457
+ });
458
+ static ɵcmp = i0.ɵɵngDeclareComponent({
459
+ minVersion: "14.0.0",
460
+ version: "22.3.0",
461
+ type: IncidentsDescription,
462
+ isStandalone: true,
463
+ selector: "ngs-incidents-description",
464
+ host: { classAttribute: "ngs-incidents-description" },
465
+ exportAs: ["ngsIncidentsDescription"],
466
+ ngImport: i0,
467
+ template: "<ng-content />\n",
468
+ styles: [":host{display:block;font-size:var(--ngs-incidents-description-font-size);opacity:var(--ngs-incidents-description-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
469
+ changeDetection: i0.ChangeDetectionStrategy.Eager
470
+ });
471
+ };
472
+ i0.ɵɵngDeclareClassMetadata({
473
+ minVersion: "12.0.0",
474
+ version: "22.3.0",
475
+ ngImport: i0,
476
+ type: IncidentsDescription,
477
+ decorators: [{
478
+ type: Component,
479
+ args: [{
480
+ selector: "ngs-incidents-description",
481
+ exportAs: "ngsIncidentsDescription",
482
+ changeDetection: ChangeDetectionStrategy.Eager,
483
+ host: { "class": "ngs-incidents-description" },
484
+ template: "<ng-content />\n",
485
+ styles: [":host{display:block;font-size:var(--ngs-incidents-description-font-size);opacity:var(--ngs-incidents-description-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
486
+ }]
487
+ }]
488
+ });
489
+ var IncidentsToggleIconDirective = class IncidentsToggleIconDirective {
490
+ static ɵfac = i0.ɵɵngDeclareFactory({
491
+ minVersion: "12.0.0",
492
+ version: "22.3.0",
493
+ ngImport: i0,
494
+ type: IncidentsToggleIconDirective,
495
+ deps: [],
496
+ target: i0.ɵɵFactoryTarget.Directive
497
+ });
498
+ static ɵdir = i0.ɵɵngDeclareDirective({
499
+ minVersion: "14.0.0",
500
+ version: "22.3.0",
501
+ type: IncidentsToggleIconDirective,
502
+ isStandalone: true,
503
+ selector: "[ngsIncidentsToggleIcon]",
504
+ host: { classAttribute: "ngs-incidents-toggle-icon" },
505
+ exportAs: ["ngsIncidentsToggleIcon"],
506
+ ngImport: i0
507
+ });
508
+ };
509
+ i0.ɵɵngDeclareClassMetadata({
510
+ minVersion: "12.0.0",
511
+ version: "22.3.0",
512
+ ngImport: i0,
513
+ type: IncidentsToggleIconDirective,
514
+ decorators: [{
515
+ type: Directive,
516
+ args: [{
517
+ selector: "[ngsIncidentsToggleIcon]",
518
+ exportAs: "ngsIncidentsToggleIcon",
519
+ host: { "class": "ngs-incidents-toggle-icon" }
520
+ }]
521
+ }]
522
+ });
523
+ var IncidentCloseDirective = class IncidentCloseDirective {
524
+ static ɵfac = i0.ɵɵngDeclareFactory({
525
+ minVersion: "12.0.0",
526
+ version: "22.3.0",
527
+ ngImport: i0,
528
+ type: IncidentCloseDirective,
529
+ deps: [],
530
+ target: i0.ɵɵFactoryTarget.Directive
531
+ });
532
+ static ɵdir = i0.ɵɵngDeclareDirective({
533
+ minVersion: "14.0.0",
534
+ version: "22.3.0",
535
+ type: IncidentCloseDirective,
536
+ isStandalone: true,
537
+ selector: "[ngsIncidentClose]",
538
+ host: { classAttribute: "ngs-incident-close" },
539
+ exportAs: ["ngsIncidentClose"],
540
+ ngImport: i0
541
+ });
542
+ };
543
+ i0.ɵɵngDeclareClassMetadata({
544
+ minVersion: "12.0.0",
545
+ version: "22.3.0",
546
+ ngImport: i0,
547
+ type: IncidentCloseDirective,
548
+ decorators: [{
549
+ type: Directive,
550
+ args: [{
551
+ selector: "[ngsIncidentClose]",
552
+ exportAs: "ngsIncidentClose",
553
+ host: { "class": "ngs-incident-close" }
554
+ }]
555
+ }]
556
+ });
557
+ var IncidentsContainer = class IncidentsContainer {
558
+ _incidentsStore = inject(IncidentsStore);
559
+ hasIncidents = computed(() => {
560
+ return this._incidentsStore.incidents().length > 0;
561
+ }, ...ngDevMode ? [{ debugName: "hasIncidents" }] : /* istanbul ignore next */ []);
562
+ title = computed(() => {
563
+ return this._incidentsStore.title();
564
+ }, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
565
+ description = computed(() => {
566
+ return this._incidentsStore.description();
567
+ }, ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
568
+ incidents = computed(() => {
569
+ return this._incidentsStore.incidents();
570
+ }, ...ngDevMode ? [{ debugName: "incidents" }] : /* istanbul ignore next */ []);
571
+ static ɵfac = i0.ɵɵngDeclareFactory({
572
+ minVersion: "12.0.0",
573
+ version: "22.3.0",
574
+ ngImport: i0,
575
+ type: IncidentsContainer,
576
+ deps: [],
577
+ target: i0.ɵɵFactoryTarget.Component
578
+ });
579
+ static ɵcmp = i0.ɵɵngDeclareComponent({
580
+ minVersion: "17.0.0",
581
+ version: "22.3.0",
582
+ type: IncidentsContainer,
583
+ isStandalone: true,
584
+ selector: "ngs-incidents-container,ngs-incidents-global",
585
+ host: {
586
+ properties: { "class.is-active": "hasIncidents()" },
587
+ classAttribute: "ngs-incidents-global"
588
+ },
589
+ exportAs: ["ngsIncidentsGlobal"],
590
+ ngImport: i0,
591
+ template: "@if (hasIncidents()) {\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>{{ title() }}</ngs-incidents-title>\n @if (description()) {\n <ngs-incidents-description>{{ description() }}</ngs-incidents-description>\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list fixed>\n @for (incident of incidents(); track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n @if (incident.details) {\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n }\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n}\n",
592
+ styles: [":host{display:none;position:relative}:host.is-active{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
593
+ dependencies: [
594
+ {
595
+ kind: "component",
596
+ type: Incidents,
597
+ selector: "ngs-incidents",
598
+ exportAs: ["ngsIncidents"]
599
+ },
600
+ {
601
+ kind: "component",
602
+ type: Icon,
603
+ selector: "ngs-icon",
604
+ inputs: ["name"],
605
+ exportAs: ["ngsIcon"]
606
+ },
607
+ {
608
+ kind: "component",
609
+ type: IncidentsTitle,
610
+ selector: "ngs-incidents-title",
611
+ exportAs: ["ngsIncidentTitle"]
612
+ },
613
+ {
614
+ kind: "component",
615
+ type: IncidentDetails,
616
+ selector: "ngs-incident-details",
617
+ exportAs: ["ngsIncidentDetails"]
618
+ },
619
+ {
620
+ kind: "component",
621
+ type: IncidentsBar,
622
+ selector: "ngs-incidents-bar",
623
+ exportAs: ["ngsIncidentsBar"]
624
+ },
625
+ {
626
+ kind: "component",
627
+ type: IncidentsDescription,
628
+ selector: "ngs-incidents-description",
629
+ exportAs: ["ngsIncidentsDescription"]
630
+ },
631
+ {
632
+ kind: "directive",
633
+ type: IncidentsToggleIconDirective,
634
+ selector: "[ngsIncidentsToggleIcon]",
635
+ exportAs: ["ngsIncidentsToggleIcon"]
636
+ },
637
+ {
638
+ kind: "component",
639
+ type: IncidentTitle,
640
+ selector: "ngs-incident-title",
641
+ exportAs: ["ngsIncidentTitle"]
642
+ },
643
+ {
644
+ kind: "component",
645
+ type: IncidentsList,
646
+ selector: "ngs-incidents-list",
647
+ inputs: ["fixed"],
648
+ exportAs: ["ngs-incidents-list"]
649
+ },
650
+ {
651
+ kind: "directive",
652
+ type: IncidentCloseDirective,
653
+ selector: "[ngsIncidentClose]",
654
+ exportAs: ["ngsIncidentClose"]
655
+ },
656
+ {
657
+ kind: "component",
658
+ type: Incident,
659
+ selector: "ngs-incident,[ngs-incident]",
660
+ inputs: ["incidentId"],
661
+ exportAs: ["ngsIncident"]
662
+ }
663
+ ],
664
+ changeDetection: i0.ChangeDetectionStrategy.Eager
665
+ });
666
+ };
667
+ i0.ɵɵngDeclareClassMetadata({
668
+ minVersion: "12.0.0",
669
+ version: "22.3.0",
670
+ ngImport: i0,
671
+ type: IncidentsContainer,
672
+ decorators: [{
673
+ type: Component,
674
+ args: [{
675
+ selector: "ngs-incidents-container,ngs-incidents-global",
676
+ exportAs: "ngsIncidentsGlobal",
677
+ imports: [
678
+ Incidents,
679
+ Icon,
680
+ IncidentsTitle,
681
+ IncidentDetails,
682
+ IncidentsBar,
683
+ IncidentsDescription,
684
+ IncidentsToggleIconDirective,
685
+ IncidentTitle,
686
+ IncidentsList,
687
+ IncidentCloseDirective,
688
+ Incident
689
+ ],
690
+ changeDetection: ChangeDetectionStrategy.Eager,
691
+ host: {
692
+ "class": "ngs-incidents-global",
693
+ "[class.is-active]": "hasIncidents()"
694
+ },
695
+ template: "@if (hasIncidents()) {\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>{{ title() }}</ngs-incidents-title>\n @if (description()) {\n <ngs-incidents-description>{{ description() }}</ngs-incidents-description>\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list fixed>\n @for (incident of incidents(); track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n @if (incident.details) {\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n }\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n}\n",
696
+ styles: [":host{display:none;position:relative}:host.is-active{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
697
+ }]
698
+ }]
699
+ });
700
+ var IncidentIconDirective = class IncidentIconDirective {
701
+ static ɵfac = i0.ɵɵngDeclareFactory({
702
+ minVersion: "12.0.0",
703
+ version: "22.3.0",
704
+ ngImport: i0,
705
+ type: IncidentIconDirective,
706
+ deps: [],
707
+ target: i0.ɵɵFactoryTarget.Directive
708
+ });
709
+ static ɵdir = i0.ɵɵngDeclareDirective({
710
+ minVersion: "14.0.0",
711
+ version: "22.3.0",
712
+ type: IncidentIconDirective,
713
+ isStandalone: true,
714
+ selector: "[ngsIncidentIcon]",
715
+ host: { classAttribute: "ngs-incident-icon" },
716
+ exportAs: ["ngsIncidentIcon"],
717
+ ngImport: i0
718
+ });
719
+ };
720
+ i0.ɵɵngDeclareClassMetadata({
721
+ minVersion: "12.0.0",
722
+ version: "22.3.0",
723
+ ngImport: i0,
724
+ type: IncidentIconDirective,
725
+ decorators: [{
726
+ type: Directive,
727
+ args: [{
728
+ selector: "[ngsIncidentIcon]",
729
+ exportAs: "ngsIncidentIcon",
730
+ host: { "class": "ngs-incident-icon" }
731
+ }]
732
+ }]
733
+ });
261
734
  export { Incident, IncidentButtonDirective, IncidentCloseDirective, IncidentDetails, IncidentIconDirective, IncidentTitle, Incidents, IncidentsBar, IncidentsContainer, IncidentsDescription, IncidentsList, IncidentsStore, IncidentsTitle, IncidentsToggleIconDirective };
262
- //# sourceMappingURL=ngstarter-ui-components-incidents.mjs.map
735
+
736
+ //# sourceMappingURL=ngstarter-ui-components-incidents.mjs.map