@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,231 +1,679 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, TemplateRef, input, Directive, contentChildren, contentChild, booleanAttribute, output, computed, ChangeDetectionStrategy, Component, ElementRef } from '@angular/core';
3
- import { NgTemplateOutlet } from '@angular/common';
4
- import { Skeleton } from '@ngstarter-ui/components/skeleton';
5
-
6
- class NotificationDefDirective {
7
- templateRef = inject(TemplateRef);
8
- ngsNotificationDef = input.required(/* @ts-ignore */
9
- ...(ngDevMode ? [{ debugName: "ngsNotificationDef" }] : /* istanbul ignore next */ []));
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.7", type: NotificationDefDirective, isStandalone: true, selector: "[ngsNotificationDef]", inputs: { ngsNotificationDef: { classPropertyName: "ngsNotificationDef", publicName: "ngsNotificationDef", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationDefDirective, decorators: [{
14
- type: Directive,
15
- args: [{
16
- selector: '[ngsNotificationDef]',
17
- standalone: true
18
- }]
19
- }], propDecorators: { ngsNotificationDef: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngsNotificationDef", required: true }] }] } });
20
-
21
- class NotificationControlsDefDirective {
22
- templateRef = inject(TemplateRef);
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationControlsDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
24
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: NotificationControlsDefDirective, isStandalone: true, selector: "[ngsNotificationControlsDef]", ngImport: i0 });
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationControlsDefDirective, decorators: [{
27
- type: Directive,
28
- args: [{
29
- selector: '[ngsNotificationControlsDef]',
30
- }]
31
- }] });
32
-
33
- class NotificationList {
34
- defs = contentChildren(NotificationDefDirective, /* @ts-ignore */
35
- ...(ngDevMode ? [{ debugName: "defs" }] : /* istanbul ignore next */ []));
36
- controlsDef = contentChild(NotificationControlsDefDirective, /* @ts-ignore */
37
- ...(ngDevMode ? [{ debugName: "controlsDef" }] : /* istanbul ignore next */ []));
38
- notifications = input([], /* @ts-ignore */
39
- ...(ngDevMode ? [{ debugName: "notifications" }] : /* istanbul ignore next */ []));
40
- static = input(true, { ...(ngDevMode ? { debugName: "static" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
41
- notificationClick = output();
42
- _initialized = true;
43
- _defsMap = computed(() => {
44
- const defsMap = new Map();
45
- this.defs().forEach((def) => {
46
- defsMap.set(def.ngsNotificationDef(), def.templateRef);
47
- });
48
- return defsMap;
49
- }, /* @ts-ignore */
50
- ...(ngDevMode ? [{ debugName: "_defsMap" }] : /* istanbul ignore next */ []));
51
- get controlsTpl() {
52
- return this.controlsDef()?.templateRef;
53
- }
54
- getNotificationTemplate(type) {
55
- const defsMap = this._defsMap();
56
- if (!defsMap.has(type)) {
57
- throw new Error(`Invalid type "${type}" for notification def`);
58
- }
59
- return defsMap.get(type);
60
- }
61
- handleNotificationClick(notification, event) {
62
- if (!this.static() && !this.isEventFromInteractiveElement(event)) {
63
- this.notificationClick.emit(notification);
64
- }
65
- }
66
- handleNotificationKeydown(notification, event) {
67
- if (this.static() || this.isEventFromInteractiveElement(event)) {
68
- return;
69
- }
70
- if (event.key === 'Enter' || event.key === ' ') {
71
- event.preventDefault();
72
- this.notificationClick.emit(notification);
73
- }
74
- }
75
- stopControlsEvent(event) {
76
- event.stopPropagation();
77
- }
78
- isEventFromInteractiveElement(event) {
79
- const target = event.target;
80
- if (!(target instanceof HTMLElement)) {
81
- return false;
82
- }
83
- return !!target.closest('a,button,input,select,textarea,[role="link"],[role="menuitem"],.controls');
84
- }
85
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationList, deps: [], target: i0.ɵɵFactoryTarget.Component });
86
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: NotificationList, isStandalone: true, selector: "ngs-notification-list", inputs: { notifications: { classPropertyName: "notifications", publicName: "notifications", isSignal: true, isRequired: false, transformFunction: null }, static: { classPropertyName: "static", publicName: "static", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { notificationClick: "notificationClick" }, host: { attributes: { "role": "list" }, properties: { "class.is-static": "static()", "class.has-controls": "!!controlsDef()" }, classAttribute: "ngs-notification-list" }, queries: [{ propertyName: "defs", predicate: NotificationDefDirective, isSignal: true }, { propertyName: "controlsDef", first: true, predicate: NotificationControlsDefDirective, descendants: true, isSignal: true }], exportAs: ["ngsNotificationList"], ngImport: i0, template: "@if (_initialized) {\n @for (notification of notifications(); track $index) {\n <div class=\"notification\"\n role=\"listitem\"\n [class.is-interactive]=\"!static()\"\n [attr.tabindex]=\"static() ? null : 0\"\n (click)=\"handleNotificationClick(notification, $event)\"\n (keydown)=\"handleNotificationKeydown(notification, $event)\">\n <ng-container [ngTemplateOutlet]=\"getNotificationTemplate(notification.type)\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n @if (controlsDef()) {\n <div class=\"controls\"\n (click)=\"stopControlsEvent($event)\"\n (keydown)=\"stopControlsEvent($event)\">\n <ng-container [ngTemplateOutlet]=\"controlsTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n </div>\n }\n </div>\n }\n}\n", styles: [":host{--ngs-notification-list-gap: 0;--ngs-notification-list-divider-color: var(--ngs-color-border);--ngs-notification-list-divider-inset: calc(var(--spacing, .25rem) * 17);display:flex;flex-direction:column;gap:var(--ngs-notification-list-gap)}:host .notification{position:relative}:host .notification:not(:last-child):after{position:absolute;inset-inline-start:var(--ngs-notification-list-divider-inset);inset-inline-end:0;bottom:0;height:1px;background:var(--ngs-notification-list-divider-color);content:\"\";pointer-events:none}:host .notification.is-interactive{outline:none}:host .notification.is-interactive:focus-visible{outline:2px solid var(--ngs-color-primary);outline-offset:var(--spacing, .25rem);border-radius:var(--ngs-notification-radius, var(--ngs-radius-xl))}:host .notification:hover .controls,:host .notification:focus-within .controls{opacity:1;pointer-events:auto}:host .controls{position:absolute;z-index:1;top:50%;inset-inline-end:calc(var(--spacing, .25rem) * 2);opacity:0;pointer-events:none;transform:translateY(-50%);transition:opacity .12s ease}:host.has-controls .notification{--ngs-notification-action-space: calc(var(--spacing, .25rem) * 11)}@media(hover:none){:host .controls{opacity:1;pointer-events:auto}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
87
- }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationList, decorators: [{
89
- type: Component,
90
- args: [{ selector: 'ngs-notification-list', exportAs: 'ngsNotificationList', imports: [
91
- NgTemplateOutlet
92
- ], changeDetection: ChangeDetectionStrategy.OnPush, host: {
93
- 'class': 'ngs-notification-list',
94
- '[class.is-static]': 'static()',
95
- '[class.has-controls]': '!!controlsDef()',
96
- 'role': 'list'
97
- }, template: "@if (_initialized) {\n @for (notification of notifications(); track $index) {\n <div class=\"notification\"\n role=\"listitem\"\n [class.is-interactive]=\"!static()\"\n [attr.tabindex]=\"static() ? null : 0\"\n (click)=\"handleNotificationClick(notification, $event)\"\n (keydown)=\"handleNotificationKeydown(notification, $event)\">\n <ng-container [ngTemplateOutlet]=\"getNotificationTemplate(notification.type)\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n @if (controlsDef()) {\n <div class=\"controls\"\n (click)=\"stopControlsEvent($event)\"\n (keydown)=\"stopControlsEvent($event)\">\n <ng-container [ngTemplateOutlet]=\"controlsTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n </div>\n }\n </div>\n }\n}\n", styles: [":host{--ngs-notification-list-gap: 0;--ngs-notification-list-divider-color: var(--ngs-color-border);--ngs-notification-list-divider-inset: calc(var(--spacing, .25rem) * 17);display:flex;flex-direction:column;gap:var(--ngs-notification-list-gap)}:host .notification{position:relative}:host .notification:not(:last-child):after{position:absolute;inset-inline-start:var(--ngs-notification-list-divider-inset);inset-inline-end:0;bottom:0;height:1px;background:var(--ngs-notification-list-divider-color);content:\"\";pointer-events:none}:host .notification.is-interactive{outline:none}:host .notification.is-interactive:focus-visible{outline:2px solid var(--ngs-color-primary);outline-offset:var(--spacing, .25rem);border-radius:var(--ngs-notification-radius, var(--ngs-radius-xl))}:host .notification:hover .controls,:host .notification:focus-within .controls{opacity:1;pointer-events:auto}:host .controls{position:absolute;z-index:1;top:50%;inset-inline-end:calc(var(--spacing, .25rem) * 2);opacity:0;pointer-events:none;transform:translateY(-50%);transition:opacity .12s ease}:host.has-controls .notification{--ngs-notification-action-space: calc(var(--spacing, .25rem) * 11)}@media(hover:none){:host .controls{opacity:1;pointer-events:auto}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
98
- }], propDecorators: { defs: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => NotificationDefDirective), { isSignal: true }] }], controlsDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NotificationControlsDefDirective), { isSignal: true }] }], notifications: [{ type: i0.Input, args: [{ isSignal: true, alias: "notifications", required: false }] }], static: [{ type: i0.Input, args: [{ isSignal: true, alias: "static", required: false }] }], notificationClick: [{ type: i0.Output, args: ["notificationClick"] }] } });
99
-
100
- class NotificationSkeleton {
101
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationSkeleton, deps: [], target: i0.ɵɵFactoryTarget.Component });
102
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: NotificationSkeleton, isStandalone: true, selector: "ngs-notification-skeleton", host: { classAttribute: "ngs-notification-skeleton" }, exportAs: ["ngsNotificationSkeleton"], ngImport: i0, template: "<div class=\"flex gap-3\">\n <ngs-skeleton roundedFull class=\"size-11\"/>\n <div class=\"grow flex flex-col gap-2\">\n <ngs-skeleton class=\"h-16\"/>\n <ngs-skeleton class=\"w-20 h-3\"/>\n </div>\n</div>\n", styles: [":host{display:contents}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Skeleton, selector: "ngs-skeleton", inputs: ["roundedFull"], exportAs: ["ngsSkeleton"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
103
- }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationSkeleton, decorators: [{
105
- type: Component,
106
- args: [{ selector: 'ngs-notification-skeleton', exportAs: 'ngsNotificationSkeleton', imports: [
107
- Skeleton
108
- ], changeDetection: ChangeDetectionStrategy.Eager, host: {
109
- 'class': 'ngs-notification-skeleton',
110
- }, template: "<div class=\"flex gap-3\">\n <ngs-skeleton roundedFull class=\"size-11\"/>\n <div class=\"grow flex flex-col gap-2\">\n <ngs-skeleton class=\"h-16\"/>\n <ngs-skeleton class=\"w-20 h-3\"/>\n </div>\n</div>\n", styles: [":host{display:contents}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
111
- }] });
112
-
113
- class NotificationTime {
114
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationTime, deps: [], target: i0.ɵɵFactoryTarget.Component });
115
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: NotificationTime, isStandalone: true, selector: "ngs-notification-time,[ngs-notification-time]", host: { classAttribute: "ngs-notification-time" }, exportAs: ["ngsNotificationTime"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:block;font-size:var(--ngs-font-size-xs);line-height:1.125rem;color:var(--ngs-color-on-surface-variant)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
116
- }
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationTime, decorators: [{
118
- type: Component,
119
- args: [{ selector: 'ngs-notification-time,[ngs-notification-time]', exportAs: 'ngsNotificationTime', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, host: {
120
- 'class': 'ngs-notification-time'
121
- }, template: "<ng-content/>\n", styles: [":host{display:block;font-size:var(--ngs-font-size-xs);line-height:1.125rem;color:var(--ngs-color-on-surface-variant)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
122
- }] });
123
-
124
- class NotificationActor {
125
- elementRef = inject(ElementRef);
126
- get asLink() {
127
- return this.elementRef.nativeElement.tagName === 'A';
128
- }
129
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationActor, deps: [], target: i0.ɵɵFactoryTarget.Component });
130
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: NotificationActor, isStandalone: true, selector: "ngs-notification-actor,[ngs-notification-actor]", host: { properties: { "class.as-link": "asLink" }, classAttribute: "ngs-notification-actor" }, ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:inline-block;font-weight:600;color:var(--ngs-color-on-surface);font-size:var(--ngs-font-size-sm)}:host.as-link:hover{cursor:pointer;text-decoration:underline}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
131
- }
132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationActor, decorators: [{
133
- type: Component,
134
- args: [{ selector: 'ngs-notification-actor,[ngs-notification-actor]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, host: {
135
- 'class': 'ngs-notification-actor',
136
- '[class.as-link]': 'asLink'
137
- }, template: "<ng-content/>\n", styles: [":host{display:inline-block;font-weight:600;color:var(--ngs-color-on-surface);font-size:var(--ngs-font-size-sm)}:host.as-link:hover{cursor:pointer;text-decoration:underline}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
138
- }] });
139
-
140
- class NotificationMessage {
141
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationMessage, deps: [], target: i0.ɵɵFactoryTarget.Component });
142
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: NotificationMessage, isStandalone: true, selector: "ngs-notification-message", host: { classAttribute: "ngs-notification-message" }, exportAs: ["ngsNotificationMessage"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{font-size:var(--ngs-font-size-sm)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
143
- }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationMessage, decorators: [{
145
- type: Component,
146
- args: [{ selector: 'ngs-notification-message', exportAs: 'ngsNotificationMessage', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, host: {
147
- 'class': 'ngs-notification-message'
148
- }, template: "<ng-content/>\n", styles: [":host{font-size:var(--ngs-font-size-sm)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
149
- }] });
150
-
151
- class NotificationControlsDirective {
152
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationControlsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
153
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: NotificationControlsDirective, isStandalone: true, selector: "[ngsNotificationControls]", host: { classAttribute: "ngs-notification-controls" }, exportAs: ["ngsNotificationControls"], ngImport: i0 });
154
- }
155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationControlsDirective, decorators: [{
156
- type: Directive,
157
- args: [{
158
- selector: '[ngsNotificationControls]',
159
- exportAs: 'ngsNotificationControls',
160
- host: {
161
- 'class': 'ngs-notification-controls'
162
- }
163
- }]
164
- }] });
165
-
166
- class Notification {
167
- controls = contentChild(NotificationControlsDirective, /* @ts-ignore */
168
- ...(ngDevMode ? [{ debugName: "controls" }] : /* istanbul ignore next */ []));
169
- isUnread = input(false, { ...(ngDevMode ? { debugName: "isUnread" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
170
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Notification, deps: [], target: i0.ɵɵFactoryTarget.Component });
171
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.7", type: Notification, isStandalone: true, selector: "ngs-notification,[ngs-notification]", inputs: { isUnread: { classPropertyName: "isUnread", publicName: "isUnread", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-unread": "isUnread()", "class.has-controls": "!!controls()" }, classAttribute: "ngs-notification" }, queries: [{ propertyName: "controls", first: true, predicate: NotificationControlsDirective, descendants: true, isSignal: true }], exportAs: ["ngsNotification"], ngImport: i0, template: "<div class=\"avatar\">\n <ng-content select=\"[ngsNotificationAvatar]\"/>\n</div>\n<div class=\"body\">\n <div class=\"message\">\n <ng-content select=\"ngs-notification-message,[ngs-notification-message]\"/>\n </div>\n <div class=\"content\">\n <ng-content select=\"ngs-notification-content,[ngs-notification-content]\"/>\n </div>\n</div>\n<div class=\"time\">\n <ng-content select=\"ngs-notification-time,[ngs-notification-time]\"/>\n</div>\n<div class=\"controls\">\n <ng-content select=\"[ngsNotificationControls]\"/>\n</div>\n", styles: [":host{--ngs-notification-padding: calc(var(--spacing, .25rem) * 3) calc(var(--spacing, .25rem) * 4);--ngs-notification-gap: calc(var(--spacing, .25rem) * 3);--ngs-notification-bg: transparent;--ngs-notification-hover-bg: var(--ngs-color-surface-container-low);--ngs-notification-is-unread-bg: transparent;--ngs-notification-is-unread-hover-bg: var(--ngs-color-surface-container-low);--ngs-notification-unread-indicator-color: var(--ngs-color-primary);--ngs-notification-unread-indicator-outline-color: var(--ngs-color-surface);--ngs-notification-radius: var(--ngs-radius-lg);display:grid;position:relative;align-items:flex-start;grid-template-columns:auto minmax(0,1fr) auto;width:100%;border-radius:var(--ngs-notification-radius);background:var(--ngs-notification-bg);color:var(--ngs-color-on-surface);gap:var(--ngs-notification-gap);padding:var(--ngs-notification-padding);transition:background-color .14s ease}:host .avatar{position:relative;flex:none}:host .avatar:empty{display:none}:host .body{min-width:0}:host .message{display:block;line-height:1.375rem}:host .message:empty{display:none}:host .content{color:var(--ngs-color-on-surface-variant)}:host .time{min-width:max-content;margin-inline-start:calc(var(--spacing, .25rem) * 3);margin-inline-end:var(--ngs-notification-action-space, 0)}:host .time:empty{display:none}:host .controls{position:absolute;z-index:1;top:calc(var(--spacing, .25rem) * 2);inset-inline-end:calc(var(--spacing, .25rem) * 2);opacity:0;pointer-events:none;transition:opacity .12s ease}:host .controls:empty{display:none}:host.has-controls{--ngs-notification-action-space: calc(var(--spacing, .25rem) * 11)}:host.has-controls:hover,:host.has-controls:focus-within{background:var(--ngs-notification-hover-bg)}:host.has-controls:hover .controls,:host.has-controls:focus-within .controls{opacity:1;pointer-events:auto}:host.has-controls.is-unread:hover,:host.has-controls.is-unread:focus-within{background:var(--ngs-notification-is-unread-hover-bg)}:host.is-unread .avatar:after{position:absolute;top:-2px;inset-inline-end:-2px;width:calc(var(--spacing, .25rem) * 2.5);height:calc(var(--spacing, .25rem) * 2.5);border-radius:var(--ngs-radius-full);background:var(--ngs-notification-unread-indicator-color);box-shadow:0 0 0 2px var(--ngs-notification-unread-indicator-outline-color);content:\"\"}@media(hover:none){:host.has-controls .controls{opacity:1;pointer-events:auto}}:host-context(ngs-notification-list.is-static){cursor:auto}:host-context(ngs-notification-list){cursor:pointer}:host-context(ngs-notification-list).is-unread{background:var(--ngs-notification-is-unread-bg)}:host-context(ngs-notification-list:not(.is-static)):hover{background:var(--ngs-notification-hover-bg)}:host-context(ngs-notification-list:not(.is-static)).is-unread:hover{background:var(--ngs-notification-is-unread-hover-bg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
172
- }
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Notification, decorators: [{
174
- type: Component,
175
- args: [{ selector: 'ngs-notification,[ngs-notification]', exportAs: 'ngsNotification', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, host: {
176
- 'class': 'ngs-notification',
177
- '[class.is-unread]': 'isUnread()',
178
- '[class.has-controls]': '!!controls()'
179
- }, template: "<div class=\"avatar\">\n <ng-content select=\"[ngsNotificationAvatar]\"/>\n</div>\n<div class=\"body\">\n <div class=\"message\">\n <ng-content select=\"ngs-notification-message,[ngs-notification-message]\"/>\n </div>\n <div class=\"content\">\n <ng-content select=\"ngs-notification-content,[ngs-notification-content]\"/>\n </div>\n</div>\n<div class=\"time\">\n <ng-content select=\"ngs-notification-time,[ngs-notification-time]\"/>\n</div>\n<div class=\"controls\">\n <ng-content select=\"[ngsNotificationControls]\"/>\n</div>\n", styles: [":host{--ngs-notification-padding: calc(var(--spacing, .25rem) * 3) calc(var(--spacing, .25rem) * 4);--ngs-notification-gap: calc(var(--spacing, .25rem) * 3);--ngs-notification-bg: transparent;--ngs-notification-hover-bg: var(--ngs-color-surface-container-low);--ngs-notification-is-unread-bg: transparent;--ngs-notification-is-unread-hover-bg: var(--ngs-color-surface-container-low);--ngs-notification-unread-indicator-color: var(--ngs-color-primary);--ngs-notification-unread-indicator-outline-color: var(--ngs-color-surface);--ngs-notification-radius: var(--ngs-radius-lg);display:grid;position:relative;align-items:flex-start;grid-template-columns:auto minmax(0,1fr) auto;width:100%;border-radius:var(--ngs-notification-radius);background:var(--ngs-notification-bg);color:var(--ngs-color-on-surface);gap:var(--ngs-notification-gap);padding:var(--ngs-notification-padding);transition:background-color .14s ease}:host .avatar{position:relative;flex:none}:host .avatar:empty{display:none}:host .body{min-width:0}:host .message{display:block;line-height:1.375rem}:host .message:empty{display:none}:host .content{color:var(--ngs-color-on-surface-variant)}:host .time{min-width:max-content;margin-inline-start:calc(var(--spacing, .25rem) * 3);margin-inline-end:var(--ngs-notification-action-space, 0)}:host .time:empty{display:none}:host .controls{position:absolute;z-index:1;top:calc(var(--spacing, .25rem) * 2);inset-inline-end:calc(var(--spacing, .25rem) * 2);opacity:0;pointer-events:none;transition:opacity .12s ease}:host .controls:empty{display:none}:host.has-controls{--ngs-notification-action-space: calc(var(--spacing, .25rem) * 11)}:host.has-controls:hover,:host.has-controls:focus-within{background:var(--ngs-notification-hover-bg)}:host.has-controls:hover .controls,:host.has-controls:focus-within .controls{opacity:1;pointer-events:auto}:host.has-controls.is-unread:hover,:host.has-controls.is-unread:focus-within{background:var(--ngs-notification-is-unread-hover-bg)}:host.is-unread .avatar:after{position:absolute;top:-2px;inset-inline-end:-2px;width:calc(var(--spacing, .25rem) * 2.5);height:calc(var(--spacing, .25rem) * 2.5);border-radius:var(--ngs-radius-full);background:var(--ngs-notification-unread-indicator-color);box-shadow:0 0 0 2px var(--ngs-notification-unread-indicator-outline-color);content:\"\"}@media(hover:none){:host.has-controls .controls{opacity:1;pointer-events:auto}}:host-context(ngs-notification-list.is-static){cursor:auto}:host-context(ngs-notification-list){cursor:pointer}:host-context(ngs-notification-list).is-unread{background:var(--ngs-notification-is-unread-bg)}:host-context(ngs-notification-list:not(.is-static)):hover{background:var(--ngs-notification-hover-bg)}:host-context(ngs-notification-list:not(.is-static)).is-unread:hover{background:var(--ngs-notification-is-unread-hover-bg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
180
- }], propDecorators: { controls: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NotificationControlsDirective), { isSignal: true }] }], isUnread: [{ type: i0.Input, args: [{ isSignal: true, alias: "isUnread", required: false }] }] } });
181
-
182
- class NotificationContent {
183
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
184
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: NotificationContent, isStandalone: true, selector: "ngs-notification-content,[ngs-notification-content]", host: { classAttribute: "ngs-notification-content" }, exportAs: ["ngsNotificationContent"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{--ngs-notification-content-margin: calc(var(--spacing, .25rem) * .5) 0 0;display:block;margin:var(--ngs-notification-content-margin);line-height:1.25rem}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
185
- }
186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationContent, decorators: [{
187
- type: Component,
188
- args: [{ selector: 'ngs-notification-content,[ngs-notification-content]', exportAs: 'ngsNotificationContent', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, host: {
189
- 'class': 'ngs-notification-content'
190
- }, template: "<ng-content/>\n", styles: [":host{--ngs-notification-content-margin: calc(var(--spacing, .25rem) * .5) 0 0;display:block;margin:var(--ngs-notification-content-margin);line-height:1.25rem}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
191
- }] });
192
-
193
- class NotificationPropsDirective {
194
- isUnread = input(false, { ...(ngDevMode ? { debugName: "isUnread" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
195
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationPropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
196
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.7", type: NotificationPropsDirective, isStandalone: true, selector: "[ngsNotificationProps]", inputs: { isUnread: { classPropertyName: "isUnread", publicName: "isUnread", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-unread": "isUnread()" }, classAttribute: "ngs-notification-props" }, exportAs: ["ngsNotificationProps"], ngImport: i0 });
197
- }
198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationPropsDirective, decorators: [{
199
- type: Directive,
200
- args: [{
201
- selector: '[ngsNotificationProps]',
202
- exportAs: 'ngsNotificationProps',
203
- standalone: true,
204
- host: {
205
- 'class': 'ngs-notification-props',
206
- '[class.is-unread]': 'isUnread()',
207
- }
208
- }]
209
- }], propDecorators: { isUnread: [{ type: i0.Input, args: [{ isSignal: true, alias: "isUnread", required: false }] }] } });
210
-
211
- class NotificationAvatarDirective {
212
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
213
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: NotificationAvatarDirective, isStandalone: true, selector: "[ngsNotificationAvatar]", host: { classAttribute: "ngs-notification-avatar" }, exportAs: ["ngsNotificationAvatar"], ngImport: i0 });
214
- }
215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NotificationAvatarDirective, decorators: [{
216
- type: Directive,
217
- args: [{
218
- selector: '[ngsNotificationAvatar]',
219
- exportAs: 'ngsNotificationAvatar',
220
- host: {
221
- 'class': 'ngs-notification-avatar'
222
- }
223
- }]
224
- }] });
225
-
226
- /**
227
- * Generated bundle index. Do not edit.
228
- */
229
-
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, contentChildren, inject, input, output } from "@angular/core";
3
+ import { NgTemplateOutlet } from "@angular/common";
4
+ import { Skeleton } from "@ngstarter-ui/components/skeleton";
5
+ var NotificationDefDirective = class NotificationDefDirective {
6
+ templateRef = inject(TemplateRef);
7
+ ngsNotificationDef = input.required(...ngDevMode ? [{ debugName: "ngsNotificationDef" }] : /* istanbul ignore next */ []);
8
+ static ɵfac = i0.ɵɵngDeclareFactory({
9
+ minVersion: "12.0.0",
10
+ version: "22.3.0",
11
+ ngImport: i0,
12
+ type: NotificationDefDirective,
13
+ deps: [],
14
+ target: i0.ɵɵFactoryTarget.Directive
15
+ });
16
+ static ɵdir = i0.ɵɵngDeclareDirective({
17
+ minVersion: "17.1.0",
18
+ version: "22.3.0",
19
+ type: NotificationDefDirective,
20
+ isStandalone: true,
21
+ selector: "[ngsNotificationDef]",
22
+ inputs: { ngsNotificationDef: {
23
+ classPropertyName: "ngsNotificationDef",
24
+ publicName: "ngsNotificationDef",
25
+ isSignal: true,
26
+ isRequired: true,
27
+ transformFunction: null
28
+ } },
29
+ ngImport: i0
30
+ });
31
+ };
32
+ i0.ɵɵngDeclareClassMetadata({
33
+ minVersion: "12.0.0",
34
+ version: "22.3.0",
35
+ ngImport: i0,
36
+ type: NotificationDefDirective,
37
+ decorators: [{
38
+ type: Directive,
39
+ args: [{
40
+ selector: "[ngsNotificationDef]",
41
+ standalone: true
42
+ }]
43
+ }],
44
+ propDecorators: { ngsNotificationDef: [{
45
+ type: i0.Input,
46
+ args: [{
47
+ isSignal: true,
48
+ alias: "ngsNotificationDef",
49
+ required: true
50
+ }]
51
+ }] }
52
+ });
53
+ var NotificationControlsDefDirective = class NotificationControlsDefDirective {
54
+ templateRef = inject(TemplateRef);
55
+ static ɵfac = i0.ɵɵngDeclareFactory({
56
+ minVersion: "12.0.0",
57
+ version: "22.3.0",
58
+ ngImport: i0,
59
+ type: NotificationControlsDefDirective,
60
+ deps: [],
61
+ target: i0.ɵɵFactoryTarget.Directive
62
+ });
63
+ static ɵdir = i0.ɵɵngDeclareDirective({
64
+ minVersion: "14.0.0",
65
+ version: "22.3.0",
66
+ type: NotificationControlsDefDirective,
67
+ isStandalone: true,
68
+ selector: "[ngsNotificationControlsDef]",
69
+ ngImport: i0
70
+ });
71
+ };
72
+ i0.ɵɵngDeclareClassMetadata({
73
+ minVersion: "12.0.0",
74
+ version: "22.3.0",
75
+ ngImport: i0,
76
+ type: NotificationControlsDefDirective,
77
+ decorators: [{
78
+ type: Directive,
79
+ args: [{ selector: "[ngsNotificationControlsDef]" }]
80
+ }]
81
+ });
82
+ var NotificationList = class NotificationList {
83
+ defs = contentChildren(NotificationDefDirective, ...ngDevMode ? [{ debugName: "defs" }] : /* istanbul ignore next */ []);
84
+ controlsDef = contentChild(NotificationControlsDefDirective, ...ngDevMode ? [{ debugName: "controlsDef" }] : /* istanbul ignore next */ []);
85
+ notifications = input([], ...ngDevMode ? [{ debugName: "notifications" }] : /* istanbul ignore next */ []);
86
+ static = input(true, {
87
+ ...ngDevMode ? { debugName: "static" } : /* istanbul ignore next */ {},
88
+ transform: booleanAttribute
89
+ });
90
+ notificationClick = output();
91
+ _initialized = true;
92
+ _defsMap = computed(() => {
93
+ const defsMap = /* @__PURE__ */ new Map();
94
+ this.defs().forEach((def) => {
95
+ defsMap.set(def.ngsNotificationDef(), def.templateRef);
96
+ });
97
+ return defsMap;
98
+ }, ...ngDevMode ? [{ debugName: "_defsMap" }] : /* istanbul ignore next */ []);
99
+ get controlsTpl() {
100
+ return this.controlsDef()?.templateRef;
101
+ }
102
+ getNotificationTemplate(type) {
103
+ const defsMap = this._defsMap();
104
+ if (!defsMap.has(type)) throw new Error(`Invalid type "${type}" for notification def`);
105
+ return defsMap.get(type);
106
+ }
107
+ handleNotificationClick(notification, event) {
108
+ if (!this.static() && !this.isEventFromInteractiveElement(event)) this.notificationClick.emit(notification);
109
+ }
110
+ handleNotificationKeydown(notification, event) {
111
+ if (this.static() || this.isEventFromInteractiveElement(event)) return;
112
+ if (event.key === "Enter" || event.key === " ") {
113
+ event.preventDefault();
114
+ this.notificationClick.emit(notification);
115
+ }
116
+ }
117
+ stopControlsEvent(event) {
118
+ event.stopPropagation();
119
+ }
120
+ isEventFromInteractiveElement(event) {
121
+ const target = event.target;
122
+ if (!(target instanceof HTMLElement)) return false;
123
+ return !!target.closest("a,button,input,select,textarea,[role=\"link\"],[role=\"menuitem\"],.controls");
124
+ }
125
+ static ɵfac = i0.ɵɵngDeclareFactory({
126
+ minVersion: "12.0.0",
127
+ version: "22.3.0",
128
+ ngImport: i0,
129
+ type: NotificationList,
130
+ deps: [],
131
+ target: i0.ɵɵFactoryTarget.Component
132
+ });
133
+ static ɵcmp = i0.ɵɵngDeclareComponent({
134
+ minVersion: "17.0.0",
135
+ version: "22.3.0",
136
+ type: NotificationList,
137
+ isStandalone: true,
138
+ selector: "ngs-notification-list",
139
+ inputs: {
140
+ notifications: {
141
+ classPropertyName: "notifications",
142
+ publicName: "notifications",
143
+ isSignal: true,
144
+ isRequired: false,
145
+ transformFunction: null
146
+ },
147
+ static: {
148
+ classPropertyName: "static",
149
+ publicName: "static",
150
+ isSignal: true,
151
+ isRequired: false,
152
+ transformFunction: null
153
+ }
154
+ },
155
+ outputs: { notificationClick: "notificationClick" },
156
+ host: {
157
+ attributes: { "role": "list" },
158
+ properties: {
159
+ "class.is-static": "static()",
160
+ "class.has-controls": "!!controlsDef()"
161
+ },
162
+ classAttribute: "ngs-notification-list"
163
+ },
164
+ queries: [{
165
+ propertyName: "defs",
166
+ predicate: NotificationDefDirective,
167
+ isSignal: true
168
+ }, {
169
+ propertyName: "controlsDef",
170
+ first: true,
171
+ predicate: NotificationControlsDefDirective,
172
+ descendants: true,
173
+ isSignal: true
174
+ }],
175
+ exportAs: ["ngsNotificationList"],
176
+ ngImport: i0,
177
+ template: "@if (_initialized) {\n @for (notification of notifications(); track $index) {\n <div class=\"notification\"\n role=\"listitem\"\n [class.is-interactive]=\"!static()\"\n [attr.tabindex]=\"static() ? null : 0\"\n (click)=\"handleNotificationClick(notification, $event)\"\n (keydown)=\"handleNotificationKeydown(notification, $event)\">\n <ng-container [ngTemplateOutlet]=\"getNotificationTemplate(notification.type)\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n @if (controlsDef()) {\n <div class=\"controls\"\n (click)=\"stopControlsEvent($event)\"\n (keydown)=\"stopControlsEvent($event)\">\n <ng-container [ngTemplateOutlet]=\"controlsTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n </div>\n }\n </div>\n }\n}\n",
178
+ styles: [":host{--ngs-notification-list-gap: 0;--ngs-notification-list-divider-color: var(--ngs-color-border);--ngs-notification-list-divider-inset: calc(var(--spacing, .25rem) * 17);display:flex;flex-direction:column;gap:var(--ngs-notification-list-gap)}:host .notification{position:relative}:host .notification:not(:last-child):after{position:absolute;inset-inline-start:var(--ngs-notification-list-divider-inset);inset-inline-end:0;bottom:0;height:1px;background:var(--ngs-notification-list-divider-color);content:\"\";pointer-events:none}:host .notification.is-interactive{outline:none}:host .notification.is-interactive:focus-visible{outline:2px solid var(--ngs-color-primary);outline-offset:var(--spacing, .25rem);border-radius:var(--ngs-notification-radius, var(--ngs-radius-xl))}:host .notification:hover .controls,:host .notification:focus-within .controls{opacity:1;pointer-events:auto}:host .controls{position:absolute;z-index:1;top:50%;inset-inline-end:calc(var(--spacing, .25rem) * 2);opacity:0;pointer-events:none;transform:translateY(-50%);transition:opacity .12s ease}:host.has-controls .notification{--ngs-notification-action-space: calc(var(--spacing, .25rem) * 11)}@media(hover:none){:host .controls{opacity:1;pointer-events:auto}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
179
+ dependencies: [{
180
+ kind: "directive",
181
+ type: NgTemplateOutlet,
182
+ selector: "[ngTemplateOutlet]",
183
+ inputs: [
184
+ "ngTemplateOutletContext",
185
+ "ngTemplateOutlet",
186
+ "ngTemplateOutletInjector"
187
+ ]
188
+ }],
189
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
190
+ });
191
+ };
192
+ i0.ɵɵngDeclareClassMetadata({
193
+ minVersion: "12.0.0",
194
+ version: "22.3.0",
195
+ ngImport: i0,
196
+ type: NotificationList,
197
+ decorators: [{
198
+ type: Component,
199
+ args: [{
200
+ selector: "ngs-notification-list",
201
+ exportAs: "ngsNotificationList",
202
+ imports: [NgTemplateOutlet],
203
+ changeDetection: ChangeDetectionStrategy.OnPush,
204
+ host: {
205
+ "class": "ngs-notification-list",
206
+ "[class.is-static]": "static()",
207
+ "[class.has-controls]": "!!controlsDef()",
208
+ "role": "list"
209
+ },
210
+ template: "@if (_initialized) {\n @for (notification of notifications(); track $index) {\n <div class=\"notification\"\n role=\"listitem\"\n [class.is-interactive]=\"!static()\"\n [attr.tabindex]=\"static() ? null : 0\"\n (click)=\"handleNotificationClick(notification, $event)\"\n (keydown)=\"handleNotificationKeydown(notification, $event)\">\n <ng-container [ngTemplateOutlet]=\"getNotificationTemplate(notification.type)\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n @if (controlsDef()) {\n <div class=\"controls\"\n (click)=\"stopControlsEvent($event)\"\n (keydown)=\"stopControlsEvent($event)\">\n <ng-container [ngTemplateOutlet]=\"controlsTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n </div>\n }\n </div>\n }\n}\n",
211
+ styles: [":host{--ngs-notification-list-gap: 0;--ngs-notification-list-divider-color: var(--ngs-color-border);--ngs-notification-list-divider-inset: calc(var(--spacing, .25rem) * 17);display:flex;flex-direction:column;gap:var(--ngs-notification-list-gap)}:host .notification{position:relative}:host .notification:not(:last-child):after{position:absolute;inset-inline-start:var(--ngs-notification-list-divider-inset);inset-inline-end:0;bottom:0;height:1px;background:var(--ngs-notification-list-divider-color);content:\"\";pointer-events:none}:host .notification.is-interactive{outline:none}:host .notification.is-interactive:focus-visible{outline:2px solid var(--ngs-color-primary);outline-offset:var(--spacing, .25rem);border-radius:var(--ngs-notification-radius, var(--ngs-radius-xl))}:host .notification:hover .controls,:host .notification:focus-within .controls{opacity:1;pointer-events:auto}:host .controls{position:absolute;z-index:1;top:50%;inset-inline-end:calc(var(--spacing, .25rem) * 2);opacity:0;pointer-events:none;transform:translateY(-50%);transition:opacity .12s ease}:host.has-controls .notification{--ngs-notification-action-space: calc(var(--spacing, .25rem) * 11)}@media(hover:none){:host .controls{opacity:1;pointer-events:auto}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
212
+ }]
213
+ }],
214
+ propDecorators: {
215
+ defs: [{
216
+ type: i0.ContentChildren,
217
+ args: [i0.forwardRef(() => NotificationDefDirective), { isSignal: true }]
218
+ }],
219
+ controlsDef: [{
220
+ type: i0.ContentChild,
221
+ args: [i0.forwardRef(() => NotificationControlsDefDirective), { isSignal: true }]
222
+ }],
223
+ notifications: [{
224
+ type: i0.Input,
225
+ args: [{
226
+ isSignal: true,
227
+ alias: "notifications",
228
+ required: false
229
+ }]
230
+ }],
231
+ static: [{
232
+ type: i0.Input,
233
+ args: [{
234
+ isSignal: true,
235
+ alias: "static",
236
+ required: false
237
+ }]
238
+ }],
239
+ notificationClick: [{
240
+ type: i0.Output,
241
+ args: ["notificationClick"]
242
+ }]
243
+ }
244
+ });
245
+ var NotificationSkeleton = class NotificationSkeleton {
246
+ static ɵfac = i0.ɵɵngDeclareFactory({
247
+ minVersion: "12.0.0",
248
+ version: "22.3.0",
249
+ ngImport: i0,
250
+ type: NotificationSkeleton,
251
+ deps: [],
252
+ target: i0.ɵɵFactoryTarget.Component
253
+ });
254
+ static ɵcmp = i0.ɵɵngDeclareComponent({
255
+ minVersion: "14.0.0",
256
+ version: "22.3.0",
257
+ type: NotificationSkeleton,
258
+ isStandalone: true,
259
+ selector: "ngs-notification-skeleton",
260
+ host: { classAttribute: "ngs-notification-skeleton" },
261
+ exportAs: ["ngsNotificationSkeleton"],
262
+ ngImport: i0,
263
+ template: "<div class=\"flex gap-3\">\n <ngs-skeleton roundedFull class=\"size-11\"/>\n <div class=\"grow flex flex-col gap-2\">\n <ngs-skeleton class=\"h-16\"/>\n <ngs-skeleton class=\"w-20 h-3\"/>\n </div>\n</div>\n",
264
+ styles: [":host{display:contents}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
265
+ dependencies: [{
266
+ kind: "component",
267
+ type: Skeleton,
268
+ selector: "ngs-skeleton",
269
+ inputs: ["roundedFull"],
270
+ exportAs: ["ngsSkeleton"]
271
+ }],
272
+ changeDetection: i0.ChangeDetectionStrategy.Eager
273
+ });
274
+ };
275
+ i0.ɵɵngDeclareClassMetadata({
276
+ minVersion: "12.0.0",
277
+ version: "22.3.0",
278
+ ngImport: i0,
279
+ type: NotificationSkeleton,
280
+ decorators: [{
281
+ type: Component,
282
+ args: [{
283
+ selector: "ngs-notification-skeleton",
284
+ exportAs: "ngsNotificationSkeleton",
285
+ imports: [Skeleton],
286
+ changeDetection: ChangeDetectionStrategy.Eager,
287
+ host: { "class": "ngs-notification-skeleton" },
288
+ template: "<div class=\"flex gap-3\">\n <ngs-skeleton roundedFull class=\"size-11\"/>\n <div class=\"grow flex flex-col gap-2\">\n <ngs-skeleton class=\"h-16\"/>\n <ngs-skeleton class=\"w-20 h-3\"/>\n </div>\n</div>\n",
289
+ styles: [":host{display:contents}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
290
+ }]
291
+ }]
292
+ });
293
+ var NotificationTime = class NotificationTime {
294
+ static ɵfac = i0.ɵɵngDeclareFactory({
295
+ minVersion: "12.0.0",
296
+ version: "22.3.0",
297
+ ngImport: i0,
298
+ type: NotificationTime,
299
+ deps: [],
300
+ target: i0.ɵɵFactoryTarget.Component
301
+ });
302
+ static ɵcmp = i0.ɵɵngDeclareComponent({
303
+ minVersion: "14.0.0",
304
+ version: "22.3.0",
305
+ type: NotificationTime,
306
+ isStandalone: true,
307
+ selector: "ngs-notification-time,[ngs-notification-time]",
308
+ host: { classAttribute: "ngs-notification-time" },
309
+ exportAs: ["ngsNotificationTime"],
310
+ ngImport: i0,
311
+ template: "<ng-content/>\n",
312
+ styles: [":host{display:block;font-size:var(--ngs-font-size-xs);line-height:1.125rem;color:var(--ngs-color-on-surface-variant)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
313
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
314
+ });
315
+ };
316
+ i0.ɵɵngDeclareClassMetadata({
317
+ minVersion: "12.0.0",
318
+ version: "22.3.0",
319
+ ngImport: i0,
320
+ type: NotificationTime,
321
+ decorators: [{
322
+ type: Component,
323
+ args: [{
324
+ selector: "ngs-notification-time,[ngs-notification-time]",
325
+ exportAs: "ngsNotificationTime",
326
+ imports: [],
327
+ changeDetection: ChangeDetectionStrategy.OnPush,
328
+ host: { "class": "ngs-notification-time" },
329
+ template: "<ng-content/>\n",
330
+ styles: [":host{display:block;font-size:var(--ngs-font-size-xs);line-height:1.125rem;color:var(--ngs-color-on-surface-variant)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
331
+ }]
332
+ }]
333
+ });
334
+ var NotificationActor = class NotificationActor {
335
+ elementRef = inject(ElementRef);
336
+ get asLink() {
337
+ return this.elementRef.nativeElement.tagName === "A";
338
+ }
339
+ static ɵfac = i0.ɵɵngDeclareFactory({
340
+ minVersion: "12.0.0",
341
+ version: "22.3.0",
342
+ ngImport: i0,
343
+ type: NotificationActor,
344
+ deps: [],
345
+ target: i0.ɵɵFactoryTarget.Component
346
+ });
347
+ static ɵcmp = i0.ɵɵngDeclareComponent({
348
+ minVersion: "14.0.0",
349
+ version: "22.3.0",
350
+ type: NotificationActor,
351
+ isStandalone: true,
352
+ selector: "ngs-notification-actor,[ngs-notification-actor]",
353
+ host: {
354
+ properties: { "class.as-link": "asLink" },
355
+ classAttribute: "ngs-notification-actor"
356
+ },
357
+ ngImport: i0,
358
+ template: "<ng-content/>\n",
359
+ styles: [":host{display:inline-block;font-weight:600;color:var(--ngs-color-on-surface);font-size:var(--ngs-font-size-sm)}:host.as-link:hover{cursor:pointer;text-decoration:underline}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
360
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
361
+ });
362
+ };
363
+ i0.ɵɵngDeclareClassMetadata({
364
+ minVersion: "12.0.0",
365
+ version: "22.3.0",
366
+ ngImport: i0,
367
+ type: NotificationActor,
368
+ decorators: [{
369
+ type: Component,
370
+ args: [{
371
+ selector: "ngs-notification-actor,[ngs-notification-actor]",
372
+ imports: [],
373
+ changeDetection: ChangeDetectionStrategy.OnPush,
374
+ host: {
375
+ "class": "ngs-notification-actor",
376
+ "[class.as-link]": "asLink"
377
+ },
378
+ template: "<ng-content/>\n",
379
+ styles: [":host{display:inline-block;font-weight:600;color:var(--ngs-color-on-surface);font-size:var(--ngs-font-size-sm)}:host.as-link:hover{cursor:pointer;text-decoration:underline}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
380
+ }]
381
+ }]
382
+ });
383
+ var NotificationMessage = class NotificationMessage {
384
+ static ɵfac = i0.ɵɵngDeclareFactory({
385
+ minVersion: "12.0.0",
386
+ version: "22.3.0",
387
+ ngImport: i0,
388
+ type: NotificationMessage,
389
+ deps: [],
390
+ target: i0.ɵɵFactoryTarget.Component
391
+ });
392
+ static ɵcmp = i0.ɵɵngDeclareComponent({
393
+ minVersion: "14.0.0",
394
+ version: "22.3.0",
395
+ type: NotificationMessage,
396
+ isStandalone: true,
397
+ selector: "ngs-notification-message",
398
+ host: { classAttribute: "ngs-notification-message" },
399
+ exportAs: ["ngsNotificationMessage"],
400
+ ngImport: i0,
401
+ template: "<ng-content/>\n",
402
+ styles: [":host{font-size:var(--ngs-font-size-sm)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
403
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
404
+ });
405
+ };
406
+ i0.ɵɵngDeclareClassMetadata({
407
+ minVersion: "12.0.0",
408
+ version: "22.3.0",
409
+ ngImport: i0,
410
+ type: NotificationMessage,
411
+ decorators: [{
412
+ type: Component,
413
+ args: [{
414
+ selector: "ngs-notification-message",
415
+ exportAs: "ngsNotificationMessage",
416
+ imports: [],
417
+ changeDetection: ChangeDetectionStrategy.OnPush,
418
+ host: { "class": "ngs-notification-message" },
419
+ template: "<ng-content/>\n",
420
+ styles: [":host{font-size:var(--ngs-font-size-sm)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
421
+ }]
422
+ }]
423
+ });
424
+ var NotificationControlsDirective = class NotificationControlsDirective {
425
+ static ɵfac = i0.ɵɵngDeclareFactory({
426
+ minVersion: "12.0.0",
427
+ version: "22.3.0",
428
+ ngImport: i0,
429
+ type: NotificationControlsDirective,
430
+ deps: [],
431
+ target: i0.ɵɵFactoryTarget.Directive
432
+ });
433
+ static ɵdir = i0.ɵɵngDeclareDirective({
434
+ minVersion: "14.0.0",
435
+ version: "22.3.0",
436
+ type: NotificationControlsDirective,
437
+ isStandalone: true,
438
+ selector: "[ngsNotificationControls]",
439
+ host: { classAttribute: "ngs-notification-controls" },
440
+ exportAs: ["ngsNotificationControls"],
441
+ ngImport: i0
442
+ });
443
+ };
444
+ i0.ɵɵngDeclareClassMetadata({
445
+ minVersion: "12.0.0",
446
+ version: "22.3.0",
447
+ ngImport: i0,
448
+ type: NotificationControlsDirective,
449
+ decorators: [{
450
+ type: Directive,
451
+ args: [{
452
+ selector: "[ngsNotificationControls]",
453
+ exportAs: "ngsNotificationControls",
454
+ host: { "class": "ngs-notification-controls" }
455
+ }]
456
+ }]
457
+ });
458
+ var Notification = class Notification {
459
+ controls = contentChild(NotificationControlsDirective, ...ngDevMode ? [{ debugName: "controls" }] : /* istanbul ignore next */ []);
460
+ isUnread = input(false, {
461
+ ...ngDevMode ? { debugName: "isUnread" } : /* istanbul ignore next */ {},
462
+ transform: booleanAttribute
463
+ });
464
+ static ɵfac = i0.ɵɵngDeclareFactory({
465
+ minVersion: "12.0.0",
466
+ version: "22.3.0",
467
+ ngImport: i0,
468
+ type: Notification,
469
+ deps: [],
470
+ target: i0.ɵɵFactoryTarget.Component
471
+ });
472
+ static ɵcmp = i0.ɵɵngDeclareComponent({
473
+ minVersion: "17.2.0",
474
+ version: "22.3.0",
475
+ type: Notification,
476
+ isStandalone: true,
477
+ selector: "ngs-notification,[ngs-notification]",
478
+ inputs: { isUnread: {
479
+ classPropertyName: "isUnread",
480
+ publicName: "isUnread",
481
+ isSignal: true,
482
+ isRequired: false,
483
+ transformFunction: null
484
+ } },
485
+ host: {
486
+ properties: {
487
+ "class.is-unread": "isUnread()",
488
+ "class.has-controls": "!!controls()"
489
+ },
490
+ classAttribute: "ngs-notification"
491
+ },
492
+ queries: [{
493
+ propertyName: "controls",
494
+ first: true,
495
+ predicate: NotificationControlsDirective,
496
+ descendants: true,
497
+ isSignal: true
498
+ }],
499
+ exportAs: ["ngsNotification"],
500
+ ngImport: i0,
501
+ template: "<div class=\"avatar\">\n <ng-content select=\"[ngsNotificationAvatar]\"/>\n</div>\n<div class=\"body\">\n <div class=\"message\">\n <ng-content select=\"ngs-notification-message,[ngs-notification-message]\"/>\n </div>\n <div class=\"content\">\n <ng-content select=\"ngs-notification-content,[ngs-notification-content]\"/>\n </div>\n</div>\n<div class=\"time\">\n <ng-content select=\"ngs-notification-time,[ngs-notification-time]\"/>\n</div>\n<div class=\"controls\">\n <ng-content select=\"[ngsNotificationControls]\"/>\n</div>\n",
502
+ styles: [":host{--ngs-notification-padding: calc(var(--spacing, .25rem) * 3) calc(var(--spacing, .25rem) * 4);--ngs-notification-gap: calc(var(--spacing, .25rem) * 3);--ngs-notification-bg: transparent;--ngs-notification-hover-bg: var(--ngs-color-surface-container-low);--ngs-notification-is-unread-bg: transparent;--ngs-notification-is-unread-hover-bg: var(--ngs-color-surface-container-low);--ngs-notification-unread-indicator-color: var(--ngs-color-primary);--ngs-notification-unread-indicator-outline-color: var(--ngs-color-surface);--ngs-notification-radius: var(--ngs-radius-lg);display:grid;position:relative;align-items:flex-start;grid-template-columns:auto minmax(0,1fr) auto;width:100%;border-radius:var(--ngs-notification-radius);background:var(--ngs-notification-bg);color:var(--ngs-color-on-surface);gap:var(--ngs-notification-gap);padding:var(--ngs-notification-padding);transition:background-color .14s ease}:host .avatar{position:relative;flex:none}:host .avatar:empty{display:none}:host .body{min-width:0}:host .message{display:block;line-height:1.375rem}:host .message:empty{display:none}:host .content{color:var(--ngs-color-on-surface-variant)}:host .time{min-width:max-content;margin-inline-start:calc(var(--spacing, .25rem) * 3);margin-inline-end:var(--ngs-notification-action-space, 0)}:host .time:empty{display:none}:host .controls{position:absolute;z-index:1;top:calc(var(--spacing, .25rem) * 2);inset-inline-end:calc(var(--spacing, .25rem) * 2);opacity:0;pointer-events:none;transition:opacity .12s ease}:host .controls:empty{display:none}:host.has-controls{--ngs-notification-action-space: calc(var(--spacing, .25rem) * 11)}:host.has-controls:hover,:host.has-controls:focus-within{background:var(--ngs-notification-hover-bg)}:host.has-controls:hover .controls,:host.has-controls:focus-within .controls{opacity:1;pointer-events:auto}:host.has-controls.is-unread:hover,:host.has-controls.is-unread:focus-within{background:var(--ngs-notification-is-unread-hover-bg)}:host.is-unread .avatar:after{position:absolute;top:-2px;inset-inline-end:-2px;width:calc(var(--spacing, .25rem) * 2.5);height:calc(var(--spacing, .25rem) * 2.5);border-radius:var(--ngs-radius-full);background:var(--ngs-notification-unread-indicator-color);box-shadow:0 0 0 2px var(--ngs-notification-unread-indicator-outline-color);content:\"\"}@media(hover:none){:host.has-controls .controls{opacity:1;pointer-events:auto}}:host-context(ngs-notification-list.is-static){cursor:auto}:host-context(ngs-notification-list){cursor:pointer}:host-context(ngs-notification-list).is-unread{background:var(--ngs-notification-is-unread-bg)}:host-context(ngs-notification-list:not(.is-static)):hover{background:var(--ngs-notification-hover-bg)}:host-context(ngs-notification-list:not(.is-static)).is-unread:hover{background:var(--ngs-notification-is-unread-hover-bg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
503
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
504
+ });
505
+ };
506
+ i0.ɵɵngDeclareClassMetadata({
507
+ minVersion: "12.0.0",
508
+ version: "22.3.0",
509
+ ngImport: i0,
510
+ type: Notification,
511
+ decorators: [{
512
+ type: Component,
513
+ args: [{
514
+ selector: "ngs-notification,[ngs-notification]",
515
+ exportAs: "ngsNotification",
516
+ imports: [],
517
+ changeDetection: ChangeDetectionStrategy.OnPush,
518
+ host: {
519
+ "class": "ngs-notification",
520
+ "[class.is-unread]": "isUnread()",
521
+ "[class.has-controls]": "!!controls()"
522
+ },
523
+ template: "<div class=\"avatar\">\n <ng-content select=\"[ngsNotificationAvatar]\"/>\n</div>\n<div class=\"body\">\n <div class=\"message\">\n <ng-content select=\"ngs-notification-message,[ngs-notification-message]\"/>\n </div>\n <div class=\"content\">\n <ng-content select=\"ngs-notification-content,[ngs-notification-content]\"/>\n </div>\n</div>\n<div class=\"time\">\n <ng-content select=\"ngs-notification-time,[ngs-notification-time]\"/>\n</div>\n<div class=\"controls\">\n <ng-content select=\"[ngsNotificationControls]\"/>\n</div>\n",
524
+ styles: [":host{--ngs-notification-padding: calc(var(--spacing, .25rem) * 3) calc(var(--spacing, .25rem) * 4);--ngs-notification-gap: calc(var(--spacing, .25rem) * 3);--ngs-notification-bg: transparent;--ngs-notification-hover-bg: var(--ngs-color-surface-container-low);--ngs-notification-is-unread-bg: transparent;--ngs-notification-is-unread-hover-bg: var(--ngs-color-surface-container-low);--ngs-notification-unread-indicator-color: var(--ngs-color-primary);--ngs-notification-unread-indicator-outline-color: var(--ngs-color-surface);--ngs-notification-radius: var(--ngs-radius-lg);display:grid;position:relative;align-items:flex-start;grid-template-columns:auto minmax(0,1fr) auto;width:100%;border-radius:var(--ngs-notification-radius);background:var(--ngs-notification-bg);color:var(--ngs-color-on-surface);gap:var(--ngs-notification-gap);padding:var(--ngs-notification-padding);transition:background-color .14s ease}:host .avatar{position:relative;flex:none}:host .avatar:empty{display:none}:host .body{min-width:0}:host .message{display:block;line-height:1.375rem}:host .message:empty{display:none}:host .content{color:var(--ngs-color-on-surface-variant)}:host .time{min-width:max-content;margin-inline-start:calc(var(--spacing, .25rem) * 3);margin-inline-end:var(--ngs-notification-action-space, 0)}:host .time:empty{display:none}:host .controls{position:absolute;z-index:1;top:calc(var(--spacing, .25rem) * 2);inset-inline-end:calc(var(--spacing, .25rem) * 2);opacity:0;pointer-events:none;transition:opacity .12s ease}:host .controls:empty{display:none}:host.has-controls{--ngs-notification-action-space: calc(var(--spacing, .25rem) * 11)}:host.has-controls:hover,:host.has-controls:focus-within{background:var(--ngs-notification-hover-bg)}:host.has-controls:hover .controls,:host.has-controls:focus-within .controls{opacity:1;pointer-events:auto}:host.has-controls.is-unread:hover,:host.has-controls.is-unread:focus-within{background:var(--ngs-notification-is-unread-hover-bg)}:host.is-unread .avatar:after{position:absolute;top:-2px;inset-inline-end:-2px;width:calc(var(--spacing, .25rem) * 2.5);height:calc(var(--spacing, .25rem) * 2.5);border-radius:var(--ngs-radius-full);background:var(--ngs-notification-unread-indicator-color);box-shadow:0 0 0 2px var(--ngs-notification-unread-indicator-outline-color);content:\"\"}@media(hover:none){:host.has-controls .controls{opacity:1;pointer-events:auto}}:host-context(ngs-notification-list.is-static){cursor:auto}:host-context(ngs-notification-list){cursor:pointer}:host-context(ngs-notification-list).is-unread{background:var(--ngs-notification-is-unread-bg)}:host-context(ngs-notification-list:not(.is-static)):hover{background:var(--ngs-notification-hover-bg)}:host-context(ngs-notification-list:not(.is-static)).is-unread:hover{background:var(--ngs-notification-is-unread-hover-bg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
525
+ }]
526
+ }],
527
+ propDecorators: {
528
+ controls: [{
529
+ type: i0.ContentChild,
530
+ args: [i0.forwardRef(() => NotificationControlsDirective), { isSignal: true }]
531
+ }],
532
+ isUnread: [{
533
+ type: i0.Input,
534
+ args: [{
535
+ isSignal: true,
536
+ alias: "isUnread",
537
+ required: false
538
+ }]
539
+ }]
540
+ }
541
+ });
542
+ var NotificationContent = class NotificationContent {
543
+ static ɵfac = i0.ɵɵngDeclareFactory({
544
+ minVersion: "12.0.0",
545
+ version: "22.3.0",
546
+ ngImport: i0,
547
+ type: NotificationContent,
548
+ deps: [],
549
+ target: i0.ɵɵFactoryTarget.Component
550
+ });
551
+ static ɵcmp = i0.ɵɵngDeclareComponent({
552
+ minVersion: "14.0.0",
553
+ version: "22.3.0",
554
+ type: NotificationContent,
555
+ isStandalone: true,
556
+ selector: "ngs-notification-content,[ngs-notification-content]",
557
+ host: { classAttribute: "ngs-notification-content" },
558
+ exportAs: ["ngsNotificationContent"],
559
+ ngImport: i0,
560
+ template: "<ng-content/>\n",
561
+ styles: [":host{--ngs-notification-content-margin: calc(var(--spacing, .25rem) * .5) 0 0;display:block;margin:var(--ngs-notification-content-margin);line-height:1.25rem}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
562
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
563
+ });
564
+ };
565
+ i0.ɵɵngDeclareClassMetadata({
566
+ minVersion: "12.0.0",
567
+ version: "22.3.0",
568
+ ngImport: i0,
569
+ type: NotificationContent,
570
+ decorators: [{
571
+ type: Component,
572
+ args: [{
573
+ selector: "ngs-notification-content,[ngs-notification-content]",
574
+ exportAs: "ngsNotificationContent",
575
+ imports: [],
576
+ changeDetection: ChangeDetectionStrategy.OnPush,
577
+ host: { "class": "ngs-notification-content" },
578
+ template: "<ng-content/>\n",
579
+ styles: [":host{--ngs-notification-content-margin: calc(var(--spacing, .25rem) * .5) 0 0;display:block;margin:var(--ngs-notification-content-margin);line-height:1.25rem}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
580
+ }]
581
+ }]
582
+ });
583
+ var NotificationPropsDirective = class NotificationPropsDirective {
584
+ isUnread = input(false, {
585
+ ...ngDevMode ? { debugName: "isUnread" } : /* istanbul ignore next */ {},
586
+ transform: booleanAttribute
587
+ });
588
+ static ɵfac = i0.ɵɵngDeclareFactory({
589
+ minVersion: "12.0.0",
590
+ version: "22.3.0",
591
+ ngImport: i0,
592
+ type: NotificationPropsDirective,
593
+ deps: [],
594
+ target: i0.ɵɵFactoryTarget.Directive
595
+ });
596
+ static ɵdir = i0.ɵɵngDeclareDirective({
597
+ minVersion: "17.1.0",
598
+ version: "22.3.0",
599
+ type: NotificationPropsDirective,
600
+ isStandalone: true,
601
+ selector: "[ngsNotificationProps]",
602
+ inputs: { isUnread: {
603
+ classPropertyName: "isUnread",
604
+ publicName: "isUnread",
605
+ isSignal: true,
606
+ isRequired: false,
607
+ transformFunction: null
608
+ } },
609
+ host: {
610
+ properties: { "class.is-unread": "isUnread()" },
611
+ classAttribute: "ngs-notification-props"
612
+ },
613
+ exportAs: ["ngsNotificationProps"],
614
+ ngImport: i0
615
+ });
616
+ };
617
+ i0.ɵɵngDeclareClassMetadata({
618
+ minVersion: "12.0.0",
619
+ version: "22.3.0",
620
+ ngImport: i0,
621
+ type: NotificationPropsDirective,
622
+ decorators: [{
623
+ type: Directive,
624
+ args: [{
625
+ selector: "[ngsNotificationProps]",
626
+ exportAs: "ngsNotificationProps",
627
+ standalone: true,
628
+ host: {
629
+ "class": "ngs-notification-props",
630
+ "[class.is-unread]": "isUnread()"
631
+ }
632
+ }]
633
+ }],
634
+ propDecorators: { isUnread: [{
635
+ type: i0.Input,
636
+ args: [{
637
+ isSignal: true,
638
+ alias: "isUnread",
639
+ required: false
640
+ }]
641
+ }] }
642
+ });
643
+ var NotificationAvatarDirective = class NotificationAvatarDirective {
644
+ static ɵfac = i0.ɵɵngDeclareFactory({
645
+ minVersion: "12.0.0",
646
+ version: "22.3.0",
647
+ ngImport: i0,
648
+ type: NotificationAvatarDirective,
649
+ deps: [],
650
+ target: i0.ɵɵFactoryTarget.Directive
651
+ });
652
+ static ɵdir = i0.ɵɵngDeclareDirective({
653
+ minVersion: "14.0.0",
654
+ version: "22.3.0",
655
+ type: NotificationAvatarDirective,
656
+ isStandalone: true,
657
+ selector: "[ngsNotificationAvatar]",
658
+ host: { classAttribute: "ngs-notification-avatar" },
659
+ exportAs: ["ngsNotificationAvatar"],
660
+ ngImport: i0
661
+ });
662
+ };
663
+ i0.ɵɵngDeclareClassMetadata({
664
+ minVersion: "12.0.0",
665
+ version: "22.3.0",
666
+ ngImport: i0,
667
+ type: NotificationAvatarDirective,
668
+ decorators: [{
669
+ type: Directive,
670
+ args: [{
671
+ selector: "[ngsNotificationAvatar]",
672
+ exportAs: "ngsNotificationAvatar",
673
+ host: { "class": "ngs-notification-avatar" }
674
+ }]
675
+ }]
676
+ });
230
677
  export { Notification, NotificationActor, NotificationAvatarDirective, NotificationContent, NotificationControlsDefDirective, NotificationControlsDirective, NotificationDefDirective, NotificationList, NotificationMessage, NotificationPropsDirective, NotificationSkeleton, NotificationTime };
231
- //# sourceMappingURL=ngstarter-ui-components-notifications.mjs.map
678
+
679
+ //# sourceMappingURL=ngstarter-ui-components-notifications.mjs.map