@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,282 +1,969 @@
1
- import * as i0 from '@angular/core';
2
- import { input, booleanAttribute, ChangeDetectionStrategy, Component, inject, ElementRef, Directive, numberAttribute, contentChildren, forwardRef, output, ChangeDetectorRef, linkedSignal } from '@angular/core';
3
- import * as i1 from '@ngstarter-ui/components/core';
4
- import { Ripple } from '@ngstarter-ui/components/core';
5
- import { SelectionModel } from '@angular/cdk/collections';
6
- import { Checkbox } from '@ngstarter-ui/components/checkbox';
7
- import { RadioButton } from '@ngstarter-ui/components/radio';
8
-
9
- class List {
10
- disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
11
- disableRipple = input(false, { ...(ngDevMode ? { debugName: "disableRipple" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
12
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: List, deps: [], target: i0.ɵɵFactoryTarget.Component });
13
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: List, isStandalone: true, selector: "ngs-list", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, disableRipple: { classPropertyName: "disableRipple", publicName: "disableRipple", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-disabled": "disabled()", "class.ngs-list-disabled": "disabled()" }, classAttribute: "ngs-list" }, exportAs: ["ngsList"], ngImport: i0, template: "<ng-content />\n", styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-list-gap: var(--spacing, .25rem);--ngs-list-item-line-color: var(--ngs-color-neutral);display:flex;flex-direction:column;gap:var(--ngs-list-gap);padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
14
- }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: List, decorators: [{
16
- type: Component,
17
- args: [{ selector: 'ngs-list', exportAs: 'ngsList', host: {
18
- 'class': 'ngs-list',
19
- '[attr.aria-disabled]': 'disabled()',
20
- '[class.ngs-list-disabled]': 'disabled()',
21
- }, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content />\n", styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-list-gap: var(--spacing, .25rem);--ngs-list-item-line-color: var(--ngs-color-neutral);display:flex;flex-direction:column;gap:var(--ngs-list-gap);padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
22
- }], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], disableRipple: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableRipple", required: false }] }] } });
23
-
24
- class ActionList extends List {
25
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ActionList, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: ActionList, isStandalone: true, selector: "ngs-action-list", host: { properties: { "attr.aria-disabled": "disabled" }, classAttribute: "ngs-action-list ngs-list" }, providers: [
27
- { provide: List, useExisting: ActionList }
28
- ], exportAs: ["ngsActionList"], usesInheritance: true, ngImport: i0, template: "<ng-content />\n", styles: ["/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ActionList, decorators: [{
31
- type: Component,
32
- args: [{ selector: 'ngs-action-list', exportAs: 'ngsActionList', host: {
33
- 'class': 'ngs-action-list ngs-list',
34
- '[attr.aria-disabled]': 'disabled',
35
- }, providers: [
36
- { provide: List, useExisting: ActionList }
37
- ], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content />\n", styles: ["/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
38
- }] });
39
-
40
- class NavList extends List {
41
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NavList, deps: null, target: i0.ɵɵFactoryTarget.Component });
42
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: NavList, isStandalone: true, selector: "ngs-nav-list", host: { attributes: { "role": "navigation" }, properties: { "attr.aria-disabled": "disabled()" }, classAttribute: "ngs-nav-list" }, providers: [
43
- { provide: List, useExisting: NavList }
44
- ], exportAs: ["ngsNavList"], usesInheritance: true, ngImport: i0, template: "<ng-content />\n", styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);display:block;padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
45
- }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: NavList, decorators: [{
47
- type: Component,
48
- args: [{ selector: 'ngs-nav-list', exportAs: 'ngsNavList', host: {
49
- 'class': 'ngs-nav-list',
50
- 'role': 'navigation',
51
- '[attr.aria-disabled]': 'disabled()',
52
- }, providers: [
53
- { provide: List, useExisting: NavList }
54
- ], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content />\n", styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);display:block;padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
55
- }] });
56
-
57
- class ListItemAvatar {
58
- _elementRef = inject(ElementRef);
59
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
60
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: ListItemAvatar, isStandalone: true, selector: "[ngsListItemAvatar]", host: { classAttribute: "ngs-list-item-avatar" }, ngImport: i0 });
61
- }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemAvatar, decorators: [{
63
- type: Directive,
64
- args: [{
65
- selector: '[ngsListItemAvatar]',
66
- standalone: true,
67
- host: {
68
- 'class': 'ngs-list-item-avatar',
69
- },
70
- }]
71
- }] });
72
-
73
- class ListItemIcon {
74
- _elementRef = inject(ElementRef);
75
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
76
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: ListItemIcon, isStandalone: true, selector: "[ngsListItemIcon]", host: { classAttribute: "ngs-list-item-icon" }, ngImport: i0 });
77
- }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemIcon, decorators: [{
79
- type: Directive,
80
- args: [{
81
- selector: '[ngsListItemIcon]',
82
- standalone: true,
83
- host: {
84
- 'class': 'ngs-list-item-icon',
85
- },
86
- }]
87
- }] });
88
-
89
- class ListItemTitle {
90
- _elementRef = inject(ElementRef);
91
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
92
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: ListItemTitle, isStandalone: true, selector: "[ngsListItemTitle]", host: { classAttribute: "ngs-list-item-title" }, ngImport: i0 });
93
- }
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemTitle, decorators: [{
95
- type: Directive,
96
- args: [{
97
- selector: '[ngsListItemTitle]',
98
- standalone: true,
99
- host: {
100
- 'class': 'ngs-list-item-title',
101
- },
102
- }]
103
- }] });
104
-
105
- class ListItemLine {
106
- _elementRef = inject(ElementRef);
107
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemLine, deps: [], target: i0.ɵɵFactoryTarget.Directive });
108
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: ListItemLine, isStandalone: true, selector: "[ngsListItemLine], [ngsLine]", host: { classAttribute: "ngs-list-item-line" }, ngImport: i0 });
109
- }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemLine, decorators: [{
111
- type: Directive,
112
- args: [{
113
- selector: '[ngsListItemLine], [ngsLine]',
114
- standalone: true,
115
- host: {
116
- 'class': 'ngs-list-item-line',
117
- },
118
- }]
119
- }] });
120
-
121
- class ListItemMeta {
122
- _elementRef = inject(ElementRef);
123
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemMeta, deps: [], target: i0.ɵɵFactoryTarget.Directive });
124
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: ListItemMeta, isStandalone: true, selector: "[ngsListItemMeta]", host: { classAttribute: "ngs-list-item-meta" }, ngImport: i0 });
125
- }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItemMeta, decorators: [{
127
- type: Directive,
128
- args: [{
129
- selector: '[ngsListItemMeta]',
130
- standalone: true,
131
- host: {
132
- 'class': 'ngs-list-item-meta',
133
- },
134
- }]
135
- }] });
136
-
137
- class ListItem {
138
- _list = inject(List, { optional: true });
139
- disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
140
- lines = input(null, { ...(ngDevMode ? { debugName: "lines" } : /* istanbul ignore next */ {}), transform: numberAttribute });
141
- _avatars = contentChildren(ListItemAvatar, { ...(ngDevMode ? { debugName: "_avatars" } : /* istanbul ignore next */ {}), descendants: true });
142
- _icons = contentChildren(ListItemIcon, { ...(ngDevMode ? { debugName: "_icons" } : /* istanbul ignore next */ {}), descendants: true });
143
- _titles = contentChildren(ListItemTitle, { ...(ngDevMode ? { debugName: "_titles" } : /* istanbul ignore next */ {}), descendants: true });
144
- _lines = contentChildren(ListItemLine, { ...(ngDevMode ? { debugName: "_lines" } : /* istanbul ignore next */ {}), descendants: true });
145
- _meta = contentChildren(ListItemMeta, { ...(ngDevMode ? { debugName: "_meta" } : /* istanbul ignore next */ {}), descendants: true });
146
- get disableRipple() {
147
- return this.disabled() || this._list?.disableRipple();
148
- }
149
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
150
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.7", type: ListItem, isStandalone: true, selector: "ngs-list-item, a[ngs-list-item], button[ngs-list-item]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, lines: { classPropertyName: "lines", publicName: "lines", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.ngs-list-item-disabled": "disabled()", "attr.aria-disabled": "disabled()", "class.ngs-list-item-with-avatar": "_avatars().length > 0", "class.ngs-list-item-with-icon": "_icons().length > 0", "class.ngs-list-item-with-meta": "_meta().length > 0", "attr.data-lines": "lines()" }, classAttribute: "ngs-list-item" }, queries: [{ propertyName: "_avatars", predicate: ListItemAvatar, descendants: true, isSignal: true }, { propertyName: "_icons", predicate: ListItemIcon, descendants: true, isSignal: true }, { propertyName: "_titles", predicate: ListItemTitle, descendants: true, isSignal: true }, { propertyName: "_lines", predicate: ListItemLine, descendants: true, isSignal: true }, { propertyName: "_meta", predicate: ListItemMeta, descendants: true, isSignal: true }], exportAs: ["ngsListItem"], hostDirectives: [{ directive: i1.Ripple, inputs: ["ngsRippleDisabled", "disableRipple"] }], ngImport: i0, template: "<ng-content select=\"[ngsListItemAvatar],[ngsListItemIcon]\" />\n\n<span class=\"ngs-list-item-content\">\n <div class=\"ngs-list-item-title\">\n <ng-content select=\"[ngsListItemTitle]\" />\n </div>\n <div class=\"ngs-list-item-line\">\n <ng-content select=\"[ngsListItemLine],[ngsLine]\" />\n </div>\n <span class=\"ngs-list-item-unscoped-content\">\n <ng-content />\n </span>\n</span>\n\n<ng-content select=\"[ngsListItemMeta]\" />\n", styles: [":host{display:flex;align-items:center;padding:var(--ngs-list-item-padding);min-height:var(--ngs-list-item-min-height);cursor:pointer;position:relative;overflow:hidden;box-sizing:border-box;text-decoration:none;gap:var(--ngs-list-item-gap);border-radius:var(--ngs-list-item-radius);color:var(--ngs-list-item-color);font-size:var(--ngs-list-item-font-size)}:host:not(.is-active):hover{color:var(--ngs-list-item-hover-color);background:var(--ngs-list-item-hover-bg)}:host.is-active{background:var(--ngs-list-item-active-bg);color:var(--ngs-list-item-active-color)}:host.ngs-list-item-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}:host .ngs-list-item-content{display:flex;flex-direction:column;flex:1;overflow:hidden}:host .ngs-list-item-title{font-size:var(--ngs-list-item-title-font-size);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-title:empty{display:none}:host .ngs-list-item-line{font-size:var(--ngs-list-item-line-font-size);color:var(--ngs-list-item-line-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-line:empty{display:none}:host .ngs-list-item-avatar{flex-shrink:0}:host .ngs-list-item-meta{flex-shrink:0;margin-left:auto}:host .ngs-subheader{display:block;padding:16px;font-size:14px;font-weight:500;color:var(--ngs-list-item-line-color)}:host[data-lines=\"2\"]{--ngs-list-item-min-height: 72px}:host[data-lines=\"3\"]{--ngs-list-item-min-height: 88px}:host.ngs-list-item-with-avatar{--ngs-list-item-min-height: 56px}:host.ngs-list-item-with-icon{--ngs-list-item-min-height: 48px}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
151
- }
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListItem, decorators: [{
153
- type: Component,
154
- args: [{ selector: 'ngs-list-item, a[ngs-list-item], button[ngs-list-item]', exportAs: 'ngsListItem', hostDirectives: [
155
- {
156
- directive: Ripple,
157
- inputs: ['ngsRippleDisabled: disableRipple']
158
- }
159
- ], changeDetection: ChangeDetectionStrategy.OnPush, host: {
160
- 'class': 'ngs-list-item',
161
- '[class.ngs-list-item-disabled]': 'disabled()',
162
- '[attr.aria-disabled]': 'disabled()',
163
- '[class.ngs-list-item-with-avatar]': '_avatars().length > 0',
164
- '[class.ngs-list-item-with-icon]': '_icons().length > 0',
165
- '[class.ngs-list-item-with-meta]': '_meta().length > 0',
166
- '[attr.data-lines]': 'lines()',
167
- }, template: "<ng-content select=\"[ngsListItemAvatar],[ngsListItemIcon]\" />\n\n<span class=\"ngs-list-item-content\">\n <div class=\"ngs-list-item-title\">\n <ng-content select=\"[ngsListItemTitle]\" />\n </div>\n <div class=\"ngs-list-item-line\">\n <ng-content select=\"[ngsListItemLine],[ngsLine]\" />\n </div>\n <span class=\"ngs-list-item-unscoped-content\">\n <ng-content />\n </span>\n</span>\n\n<ng-content select=\"[ngsListItemMeta]\" />\n", styles: [":host{display:flex;align-items:center;padding:var(--ngs-list-item-padding);min-height:var(--ngs-list-item-min-height);cursor:pointer;position:relative;overflow:hidden;box-sizing:border-box;text-decoration:none;gap:var(--ngs-list-item-gap);border-radius:var(--ngs-list-item-radius);color:var(--ngs-list-item-color);font-size:var(--ngs-list-item-font-size)}:host:not(.is-active):hover{color:var(--ngs-list-item-hover-color);background:var(--ngs-list-item-hover-bg)}:host.is-active{background:var(--ngs-list-item-active-bg);color:var(--ngs-list-item-active-color)}:host.ngs-list-item-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}:host .ngs-list-item-content{display:flex;flex-direction:column;flex:1;overflow:hidden}:host .ngs-list-item-title{font-size:var(--ngs-list-item-title-font-size);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-title:empty{display:none}:host .ngs-list-item-line{font-size:var(--ngs-list-item-line-font-size);color:var(--ngs-list-item-line-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-line:empty{display:none}:host .ngs-list-item-avatar{flex-shrink:0}:host .ngs-list-item-meta{flex-shrink:0;margin-left:auto}:host .ngs-subheader{display:block;padding:16px;font-size:14px;font-weight:500;color:var(--ngs-list-item-line-color)}:host[data-lines=\"2\"]{--ngs-list-item-min-height: 72px}:host[data-lines=\"3\"]{--ngs-list-item-min-height: 88px}:host.ngs-list-item-with-avatar{--ngs-list-item-min-height: 56px}:host.ngs-list-item-with-icon{--ngs-list-item-min-height: 48px}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
168
- }], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], lines: [{ type: i0.Input, args: [{ isSignal: true, alias: "lines", required: false }] }], _avatars: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ListItemAvatar), { ...{ descendants: true }, isSignal: true }] }], _icons: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ListItemIcon), { ...{ descendants: true }, isSignal: true }] }], _titles: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ListItemTitle), { ...{ descendants: true }, isSignal: true }] }], _lines: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ListItemLine), { ...{ descendants: true }, isSignal: true }] }], _meta: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ListItemMeta), { ...{ descendants: true }, isSignal: true }] }] } });
169
-
170
- class SelectionList extends List {
171
- options = contentChildren(forwardRef(() => ListOption), { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), descendants: true });
172
- multiple = input(false, { ...(ngDevMode ? { debugName: "multiple" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
173
- selectionChange = output();
174
- selectedOptions;
175
- constructor() {
176
- super();
177
- }
178
- ngOnInit() {
179
- this.selectedOptions = new SelectionModel(this.multiple());
180
- this.selectedOptions.changed.subscribe(event => {
181
- if (this.multiple()) {
182
- event.added.forEach(option => option.selected.set(true));
183
- event.removed.forEach(option => option.selected.set(false));
184
- }
185
- else {
186
- this.options().forEach(option => {
187
- option.selected.set(this.selectedOptions.isSelected(option));
188
- });
189
- }
190
- });
191
- }
192
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SelectionList, deps: [], target: i0.ɵɵFactoryTarget.Component });
193
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.7", type: SelectionList, isStandalone: true, selector: "ngs-selection-list", inputs: { multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectionChange: "selectionChange" }, host: { attributes: { "role": "listbox" }, properties: { "attr.aria-disabled": "disabled()", "attr.aria-multiselectable": "multiple()" }, classAttribute: "ngs-selection-list ngs-list" }, providers: [
194
- { provide: List, useExisting: SelectionList }
195
- ], queries: [{ propertyName: "options", predicate: i0.forwardRef(() => ListOption), descendants: true, isSignal: true }], exportAs: ["ngsSelectionList"], usesInheritance: true, ngImport: i0, template: "<ng-content />\n", styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-list-gap: var(--spacing, .25rem);--ngs-list-item-line-color: var(--ngs-color-neutral);display:flex;flex-direction:column;gap:var(--ngs-list-gap);padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
196
- }
197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SelectionList, decorators: [{
198
- type: Component,
199
- args: [{ selector: 'ngs-selection-list', exportAs: 'ngsSelectionList', providers: [
200
- { provide: List, useExisting: SelectionList }
201
- ], changeDetection: ChangeDetectionStrategy.OnPush, host: {
202
- 'class': 'ngs-selection-list ngs-list',
203
- '[attr.aria-disabled]': 'disabled()',
204
- 'role': 'listbox',
205
- '[attr.aria-multiselectable]': 'multiple()',
206
- }, template: "<ng-content />\n", styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-list-gap: var(--spacing, .25rem);--ngs-list-item-line-color: var(--ngs-color-neutral);display:flex;flex-direction:column;gap:var(--ngs-list-gap);padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
207
- }], ctorParameters: () => [], propDecorators: { options: [{ type: i0.ContentChildren, args: [forwardRef(() => ListOption), { ...{ descendants: true }, isSignal: true }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], selectionChange: [{ type: i0.Output, args: ["selectionChange"] }] } });
208
-
209
- class ListOption extends ListItem {
210
- _selectionList = inject(SelectionList);
211
- _changeDetectorRef = inject(ChangeDetectorRef);
212
- _avatars = contentChildren(ListItemAvatar, { ...(ngDevMode ? { debugName: "_avatars" } : /* istanbul ignore next */ {}), descendants: true });
213
- _icons = contentChildren(ListItemIcon, { ...(ngDevMode ? { debugName: "_icons" } : /* istanbul ignore next */ {}), descendants: true });
214
- _meta = contentChildren(ListItemMeta, { ...(ngDevMode ? { debugName: "_meta" } : /* istanbul ignore next */ {}), descendants: true });
215
- selectedInput = input(false, { ...(ngDevMode ? { debugName: "selectedInput" } : /* istanbul ignore next */ {}), alias: 'selected' });
216
- selected = linkedSignal(this.selectedInput, /* @ts-ignore */
217
- ...(ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []));
218
- value = input(/* @ts-ignore */
219
- ...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
220
- selectedChange = output();
221
- _toggle() {
222
- if (this.disabled()) {
223
- return;
224
- }
225
- if (this._selectionList.multiple()) {
226
- this.selected.set(!this.selected());
227
- this._selectionList.selectedOptions.toggle(this);
228
- }
229
- else {
230
- this.selected.set(true);
231
- this._selectionList.selectedOptions.select(this);
232
- }
233
- this.selectedChange.emit(this.selected());
234
- this._selectionList.selectionChange.emit({
235
- option: this,
236
- selected: this.selected()
237
- });
238
- }
239
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListOption, deps: null, target: i0.ɵɵFactoryTarget.Component });
240
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: ListOption, isStandalone: true, selector: "ngs-list-option", inputs: { selectedInput: { classPropertyName: "selectedInput", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedChange: "selectedChange" }, host: { attributes: { "role": "option" }, listeners: { "click": "_toggle()" }, properties: { "class.ngs-list-item-disabled": "disabled()", "class.ngs-list-option-selected": "selected()", "attr.aria-selected": "selected()", "attr.aria-disabled": "disabled()", "class.ngs-list-item-with-avatar": "_avatars().length > 0", "class.ngs-list-item-with-icon": "_icons().length > 0", "class.ngs-list-item-with-meta": "_meta().length > 0" }, classAttribute: "ngs-list-option ngs-list-item" }, queries: [{ propertyName: "_avatars", predicate: ListItemAvatar, descendants: true, isSignal: true }, { propertyName: "_icons", predicate: ListItemIcon, descendants: true, isSignal: true }, { propertyName: "_meta", predicate: ListItemMeta, descendants: true, isSignal: true }], exportAs: ["ngsListOption"], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[ngsListItemAvatar],[ngsListItemIcon]\" />\n\n<span class=\"ngs-list-item-content\">\n <div class=\"ngs-list-item-title\">\n <ng-content select=\"[ngsListItemTitle]\" />\n </div>\n <div class=\"ngs-list-item-line\">\n <ng-content select=\"[ngsListItemLine],[ngsLine]\" />\n </div>\n <span class=\"ngs-list-item-unscoped-content\">\n <ng-content />\n </span>\n</span>\n\n<ng-content select=\"[ngsListItemMeta]\" />\n\n@if (_selectionList.multiple()) {\n <ngs-checkbox [checked]=\"selected()\" [disabled]=\"disabled()\" />\n} @else {\n <ngs-radio-button [checked]=\"selected()\" [disabled]=\"disabled()\" />\n}\n", styles: [":host{display:flex;align-items:center;padding:var(--ngs-list-item-padding);min-height:var(--ngs-list-item-min-height);cursor:pointer;position:relative;overflow:hidden;box-sizing:border-box;text-decoration:none;gap:var(--ngs-list-item-gap);border-radius:var(--ngs-list-item-radius);color:var(--ngs-list-item-color);font-size:var(--ngs-list-item-font-size)}:host:not(.is-active):hover{color:var(--ngs-list-item-hover-color);background:var(--ngs-list-item-hover-bg)}:host.is-active{background:var(--ngs-list-item-active-bg);color:var(--ngs-list-item-active-color)}:host.ngs-list-item-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}:host .ngs-list-item-content{display:flex;flex-direction:column;flex:1;overflow:hidden}:host .ngs-list-item-title{font-size:var(--ngs-list-item-title-font-size);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-title:empty{display:none}:host .ngs-list-item-line{font-size:var(--ngs-list-item-line-font-size);color:var(--ngs-list-item-line-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-line:empty{display:none}:host .ngs-list-item-avatar{flex-shrink:0}:host .ngs-list-item-meta{flex-shrink:0;margin-left:auto}:host .ngs-subheader{display:block;padding:16px;font-size:14px;font-weight:500;color:var(--ngs-list-item-line-color)}:host[data-lines=\"2\"]{--ngs-list-item-min-height: 72px}:host[data-lines=\"3\"]{--ngs-list-item-min-height: 88px}:host.ngs-list-item-with-avatar{--ngs-list-item-min-height: 56px}:host.ngs-list-item-with-icon{--ngs-list-item-min-height: 48px}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", ":host.ngs-list-option-selected{background:var(--ngs-list-item-active-bg)}:host ngs-checkbox,:host ngs-radio-button{pointer-events:none;flex-shrink:0;margin-left:auto}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Checkbox, selector: "ngs-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["checkedChange", "disabledChange", "change", "indeterminateChange"], exportAs: ["ngsCheckbox"] }, { kind: "component", type: RadioButton, selector: "ngs-radio-button", inputs: ["id", "value", "name", "checked", "disabled"], outputs: ["checkedChange", "change"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
241
- }
242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: ListOption, decorators: [{
243
- type: Component,
244
- args: [{ selector: 'ngs-list-option', exportAs: 'ngsListOption', imports: [
245
- Checkbox,
246
- RadioButton
247
- ], host: {
248
- 'class': 'ngs-list-option ngs-list-item',
249
- '[class.ngs-list-item-disabled]': 'disabled()',
250
- '[class.ngs-list-option-selected]': 'selected()',
251
- '[attr.aria-selected]': 'selected()',
252
- '[attr.aria-disabled]': 'disabled()',
253
- 'role': 'option',
254
- '[class.ngs-list-item-with-avatar]': '_avatars().length > 0',
255
- '[class.ngs-list-item-with-icon]': '_icons().length > 0',
256
- '[class.ngs-list-item-with-meta]': '_meta().length > 0',
257
- '(click)': '_toggle()',
258
- }, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[ngsListItemAvatar],[ngsListItemIcon]\" />\n\n<span class=\"ngs-list-item-content\">\n <div class=\"ngs-list-item-title\">\n <ng-content select=\"[ngsListItemTitle]\" />\n </div>\n <div class=\"ngs-list-item-line\">\n <ng-content select=\"[ngsListItemLine],[ngsLine]\" />\n </div>\n <span class=\"ngs-list-item-unscoped-content\">\n <ng-content />\n </span>\n</span>\n\n<ng-content select=\"[ngsListItemMeta]\" />\n\n@if (_selectionList.multiple()) {\n <ngs-checkbox [checked]=\"selected()\" [disabled]=\"disabled()\" />\n} @else {\n <ngs-radio-button [checked]=\"selected()\" [disabled]=\"disabled()\" />\n}\n", styles: [":host{display:flex;align-items:center;padding:var(--ngs-list-item-padding);min-height:var(--ngs-list-item-min-height);cursor:pointer;position:relative;overflow:hidden;box-sizing:border-box;text-decoration:none;gap:var(--ngs-list-item-gap);border-radius:var(--ngs-list-item-radius);color:var(--ngs-list-item-color);font-size:var(--ngs-list-item-font-size)}:host:not(.is-active):hover{color:var(--ngs-list-item-hover-color);background:var(--ngs-list-item-hover-bg)}:host.is-active{background:var(--ngs-list-item-active-bg);color:var(--ngs-list-item-active-color)}:host.ngs-list-item-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}:host .ngs-list-item-content{display:flex;flex-direction:column;flex:1;overflow:hidden}:host .ngs-list-item-title{font-size:var(--ngs-list-item-title-font-size);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-title:empty{display:none}:host .ngs-list-item-line{font-size:var(--ngs-list-item-line-font-size);color:var(--ngs-list-item-line-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-line:empty{display:none}:host .ngs-list-item-avatar{flex-shrink:0}:host .ngs-list-item-meta{flex-shrink:0;margin-left:auto}:host .ngs-subheader{display:block;padding:16px;font-size:14px;font-weight:500;color:var(--ngs-list-item-line-color)}:host[data-lines=\"2\"]{--ngs-list-item-min-height: 72px}:host[data-lines=\"3\"]{--ngs-list-item-min-height: 88px}:host.ngs-list-item-with-avatar{--ngs-list-item-min-height: 56px}:host.ngs-list-item-with-icon{--ngs-list-item-min-height: 48px}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", ":host.ngs-list-option-selected{background:var(--ngs-list-item-active-bg)}:host ngs-checkbox,:host ngs-radio-button{pointer-events:none;flex-shrink:0;margin-left:auto}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
259
- }], propDecorators: { _avatars: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ListItemAvatar), { ...{ descendants: true }, isSignal: true }] }], _icons: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ListItemIcon), { ...{ descendants: true }, isSignal: true }] }], _meta: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ListItemMeta), { ...{ descendants: true }, isSignal: true }] }], selectedInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], selectedChange: [{ type: i0.Output, args: ["selectedChange"] }] } });
260
-
261
- class Subheader {
262
- _elementRef = inject(ElementRef);
263
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Subheader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
264
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: Subheader, isStandalone: true, selector: "[ngsSubheader]", host: { classAttribute: "ngs-subheader" }, ngImport: i0 });
265
- }
266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Subheader, decorators: [{
267
- type: Directive,
268
- args: [{
269
- selector: '[ngsSubheader]',
270
- standalone: true,
271
- host: {
272
- 'class': 'ngs-subheader',
273
- },
274
- }]
275
- }] });
276
-
277
- /**
278
- * Generated bundle index. Do not edit.
279
- */
280
-
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, ElementRef, booleanAttribute, contentChildren, forwardRef, inject, input, linkedSignal, numberAttribute, output } from "@angular/core";
3
+ import * as i1 from "@ngstarter-ui/components/core";
4
+ import { Ripple } from "@ngstarter-ui/components/core";
5
+ import { SelectionModel } from "@angular/cdk/collections";
6
+ import { Checkbox } from "@ngstarter-ui/components/checkbox";
7
+ import { RadioButton } from "@ngstarter-ui/components/radio";
8
+ var List = class List {
9
+ disabled = input(false, {
10
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
11
+ transform: booleanAttribute
12
+ });
13
+ disableRipple = input(false, {
14
+ ...ngDevMode ? { debugName: "disableRipple" } : /* istanbul ignore next */ {},
15
+ transform: booleanAttribute
16
+ });
17
+ static ɵfac = i0.ɵɵngDeclareFactory({
18
+ minVersion: "12.0.0",
19
+ version: "22.3.0",
20
+ ngImport: i0,
21
+ type: List,
22
+ deps: [],
23
+ target: i0.ɵɵFactoryTarget.Component
24
+ });
25
+ static ɵcmp = i0.ɵɵngDeclareComponent({
26
+ minVersion: "17.1.0",
27
+ version: "22.3.0",
28
+ type: List,
29
+ isStandalone: true,
30
+ selector: "ngs-list",
31
+ inputs: {
32
+ disabled: {
33
+ classPropertyName: "disabled",
34
+ publicName: "disabled",
35
+ isSignal: true,
36
+ isRequired: false,
37
+ transformFunction: null
38
+ },
39
+ disableRipple: {
40
+ classPropertyName: "disableRipple",
41
+ publicName: "disableRipple",
42
+ isSignal: true,
43
+ isRequired: false,
44
+ transformFunction: null
45
+ }
46
+ },
47
+ host: {
48
+ properties: {
49
+ "attr.aria-disabled": "disabled()",
50
+ "class.ngs-list-disabled": "disabled()"
51
+ },
52
+ classAttribute: "ngs-list"
53
+ },
54
+ exportAs: ["ngsList"],
55
+ ngImport: i0,
56
+ template: "<ng-content />\n",
57
+ styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-list-gap: var(--spacing, .25rem);--ngs-list-item-line-color: var(--ngs-color-neutral);display:flex;flex-direction:column;gap:var(--ngs-list-gap);padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
58
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
59
+ });
60
+ };
61
+ i0.ɵɵngDeclareClassMetadata({
62
+ minVersion: "12.0.0",
63
+ version: "22.3.0",
64
+ ngImport: i0,
65
+ type: List,
66
+ decorators: [{
67
+ type: Component,
68
+ args: [{
69
+ selector: "ngs-list",
70
+ exportAs: "ngsList",
71
+ host: {
72
+ "class": "ngs-list",
73
+ "[attr.aria-disabled]": "disabled()",
74
+ "[class.ngs-list-disabled]": "disabled()"
75
+ },
76
+ standalone: true,
77
+ changeDetection: ChangeDetectionStrategy.OnPush,
78
+ template: "<ng-content />\n",
79
+ styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-list-gap: var(--spacing, .25rem);--ngs-list-item-line-color: var(--ngs-color-neutral);display:flex;flex-direction:column;gap:var(--ngs-list-gap);padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
80
+ }]
81
+ }],
82
+ propDecorators: {
83
+ disabled: [{
84
+ type: i0.Input,
85
+ args: [{
86
+ isSignal: true,
87
+ alias: "disabled",
88
+ required: false
89
+ }]
90
+ }],
91
+ disableRipple: [{
92
+ type: i0.Input,
93
+ args: [{
94
+ isSignal: true,
95
+ alias: "disableRipple",
96
+ required: false
97
+ }]
98
+ }]
99
+ }
100
+ });
101
+ var ActionList = class ActionList extends List {
102
+ static ɵfac = i0.ɵɵngDeclareFactory({
103
+ minVersion: "12.0.0",
104
+ version: "22.3.0",
105
+ ngImport: i0,
106
+ type: ActionList,
107
+ deps: null,
108
+ target: i0.ɵɵFactoryTarget.Component
109
+ });
110
+ static ɵcmp = i0.ɵɵngDeclareComponent({
111
+ minVersion: "14.0.0",
112
+ version: "22.3.0",
113
+ type: ActionList,
114
+ isStandalone: true,
115
+ selector: "ngs-action-list",
116
+ host: {
117
+ properties: { "attr.aria-disabled": "disabled" },
118
+ classAttribute: "ngs-action-list ngs-list"
119
+ },
120
+ providers: [{
121
+ provide: List,
122
+ useExisting: ActionList
123
+ }],
124
+ exportAs: ["ngsActionList"],
125
+ usesInheritance: true,
126
+ ngImport: i0,
127
+ template: "<ng-content />\n",
128
+ styles: ["/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
129
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
130
+ });
131
+ };
132
+ i0.ɵɵngDeclareClassMetadata({
133
+ minVersion: "12.0.0",
134
+ version: "22.3.0",
135
+ ngImport: i0,
136
+ type: ActionList,
137
+ decorators: [{
138
+ type: Component,
139
+ args: [{
140
+ selector: "ngs-action-list",
141
+ exportAs: "ngsActionList",
142
+ host: {
143
+ "class": "ngs-action-list ngs-list",
144
+ "[attr.aria-disabled]": "disabled"
145
+ },
146
+ providers: [{
147
+ provide: List,
148
+ useExisting: ActionList
149
+ }],
150
+ standalone: true,
151
+ changeDetection: ChangeDetectionStrategy.OnPush,
152
+ template: "<ng-content />\n",
153
+ styles: ["/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
154
+ }]
155
+ }]
156
+ });
157
+ var NavList = class NavList extends List {
158
+ static ɵfac = i0.ɵɵngDeclareFactory({
159
+ minVersion: "12.0.0",
160
+ version: "22.3.0",
161
+ ngImport: i0,
162
+ type: NavList,
163
+ deps: null,
164
+ target: i0.ɵɵFactoryTarget.Component
165
+ });
166
+ static ɵcmp = i0.ɵɵngDeclareComponent({
167
+ minVersion: "14.0.0",
168
+ version: "22.3.0",
169
+ type: NavList,
170
+ isStandalone: true,
171
+ selector: "ngs-nav-list",
172
+ host: {
173
+ attributes: { "role": "navigation" },
174
+ properties: { "attr.aria-disabled": "disabled()" },
175
+ classAttribute: "ngs-nav-list"
176
+ },
177
+ providers: [{
178
+ provide: List,
179
+ useExisting: NavList
180
+ }],
181
+ exportAs: ["ngsNavList"],
182
+ usesInheritance: true,
183
+ ngImport: i0,
184
+ template: "<ng-content />\n",
185
+ styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);display:block;padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
186
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
187
+ });
188
+ };
189
+ i0.ɵɵngDeclareClassMetadata({
190
+ minVersion: "12.0.0",
191
+ version: "22.3.0",
192
+ ngImport: i0,
193
+ type: NavList,
194
+ decorators: [{
195
+ type: Component,
196
+ args: [{
197
+ selector: "ngs-nav-list",
198
+ exportAs: "ngsNavList",
199
+ host: {
200
+ "class": "ngs-nav-list",
201
+ "role": "navigation",
202
+ "[attr.aria-disabled]": "disabled()"
203
+ },
204
+ providers: [{
205
+ provide: List,
206
+ useExisting: NavList
207
+ }],
208
+ standalone: true,
209
+ changeDetection: ChangeDetectionStrategy.OnPush,
210
+ template: "<ng-content />\n",
211
+ styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);display:block;padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
212
+ }]
213
+ }]
214
+ });
215
+ var ListItemAvatar = class ListItemAvatar {
216
+ _elementRef = inject(ElementRef);
217
+ static ɵfac = i0.ɵɵngDeclareFactory({
218
+ minVersion: "12.0.0",
219
+ version: "22.3.0",
220
+ ngImport: i0,
221
+ type: ListItemAvatar,
222
+ deps: [],
223
+ target: i0.ɵɵFactoryTarget.Directive
224
+ });
225
+ static ɵdir = i0.ɵɵngDeclareDirective({
226
+ minVersion: "14.0.0",
227
+ version: "22.3.0",
228
+ type: ListItemAvatar,
229
+ isStandalone: true,
230
+ selector: "[ngsListItemAvatar]",
231
+ host: { classAttribute: "ngs-list-item-avatar" },
232
+ ngImport: i0
233
+ });
234
+ };
235
+ i0.ɵɵngDeclareClassMetadata({
236
+ minVersion: "12.0.0",
237
+ version: "22.3.0",
238
+ ngImport: i0,
239
+ type: ListItemAvatar,
240
+ decorators: [{
241
+ type: Directive,
242
+ args: [{
243
+ selector: "[ngsListItemAvatar]",
244
+ standalone: true,
245
+ host: { "class": "ngs-list-item-avatar" }
246
+ }]
247
+ }]
248
+ });
249
+ var ListItemIcon = class ListItemIcon {
250
+ _elementRef = inject(ElementRef);
251
+ static ɵfac = i0.ɵɵngDeclareFactory({
252
+ minVersion: "12.0.0",
253
+ version: "22.3.0",
254
+ ngImport: i0,
255
+ type: ListItemIcon,
256
+ deps: [],
257
+ target: i0.ɵɵFactoryTarget.Directive
258
+ });
259
+ static ɵdir = i0.ɵɵngDeclareDirective({
260
+ minVersion: "14.0.0",
261
+ version: "22.3.0",
262
+ type: ListItemIcon,
263
+ isStandalone: true,
264
+ selector: "[ngsListItemIcon]",
265
+ host: { classAttribute: "ngs-list-item-icon" },
266
+ ngImport: i0
267
+ });
268
+ };
269
+ i0.ɵɵngDeclareClassMetadata({
270
+ minVersion: "12.0.0",
271
+ version: "22.3.0",
272
+ ngImport: i0,
273
+ type: ListItemIcon,
274
+ decorators: [{
275
+ type: Directive,
276
+ args: [{
277
+ selector: "[ngsListItemIcon]",
278
+ standalone: true,
279
+ host: { "class": "ngs-list-item-icon" }
280
+ }]
281
+ }]
282
+ });
283
+ var ListItemTitle = class ListItemTitle {
284
+ _elementRef = inject(ElementRef);
285
+ static ɵfac = i0.ɵɵngDeclareFactory({
286
+ minVersion: "12.0.0",
287
+ version: "22.3.0",
288
+ ngImport: i0,
289
+ type: ListItemTitle,
290
+ deps: [],
291
+ target: i0.ɵɵFactoryTarget.Directive
292
+ });
293
+ static ɵdir = i0.ɵɵngDeclareDirective({
294
+ minVersion: "14.0.0",
295
+ version: "22.3.0",
296
+ type: ListItemTitle,
297
+ isStandalone: true,
298
+ selector: "[ngsListItemTitle]",
299
+ host: { classAttribute: "ngs-list-item-title" },
300
+ ngImport: i0
301
+ });
302
+ };
303
+ i0.ɵɵngDeclareClassMetadata({
304
+ minVersion: "12.0.0",
305
+ version: "22.3.0",
306
+ ngImport: i0,
307
+ type: ListItemTitle,
308
+ decorators: [{
309
+ type: Directive,
310
+ args: [{
311
+ selector: "[ngsListItemTitle]",
312
+ standalone: true,
313
+ host: { "class": "ngs-list-item-title" }
314
+ }]
315
+ }]
316
+ });
317
+ var ListItemLine = class ListItemLine {
318
+ _elementRef = inject(ElementRef);
319
+ static ɵfac = i0.ɵɵngDeclareFactory({
320
+ minVersion: "12.0.0",
321
+ version: "22.3.0",
322
+ ngImport: i0,
323
+ type: ListItemLine,
324
+ deps: [],
325
+ target: i0.ɵɵFactoryTarget.Directive
326
+ });
327
+ static ɵdir = i0.ɵɵngDeclareDirective({
328
+ minVersion: "14.0.0",
329
+ version: "22.3.0",
330
+ type: ListItemLine,
331
+ isStandalone: true,
332
+ selector: "[ngsListItemLine], [ngsLine]",
333
+ host: { classAttribute: "ngs-list-item-line" },
334
+ ngImport: i0
335
+ });
336
+ };
337
+ i0.ɵɵngDeclareClassMetadata({
338
+ minVersion: "12.0.0",
339
+ version: "22.3.0",
340
+ ngImport: i0,
341
+ type: ListItemLine,
342
+ decorators: [{
343
+ type: Directive,
344
+ args: [{
345
+ selector: "[ngsListItemLine], [ngsLine]",
346
+ standalone: true,
347
+ host: { "class": "ngs-list-item-line" }
348
+ }]
349
+ }]
350
+ });
351
+ var ListItemMeta = class ListItemMeta {
352
+ _elementRef = inject(ElementRef);
353
+ static ɵfac = i0.ɵɵngDeclareFactory({
354
+ minVersion: "12.0.0",
355
+ version: "22.3.0",
356
+ ngImport: i0,
357
+ type: ListItemMeta,
358
+ deps: [],
359
+ target: i0.ɵɵFactoryTarget.Directive
360
+ });
361
+ static ɵdir = i0.ɵɵngDeclareDirective({
362
+ minVersion: "14.0.0",
363
+ version: "22.3.0",
364
+ type: ListItemMeta,
365
+ isStandalone: true,
366
+ selector: "[ngsListItemMeta]",
367
+ host: { classAttribute: "ngs-list-item-meta" },
368
+ ngImport: i0
369
+ });
370
+ };
371
+ i0.ɵɵngDeclareClassMetadata({
372
+ minVersion: "12.0.0",
373
+ version: "22.3.0",
374
+ ngImport: i0,
375
+ type: ListItemMeta,
376
+ decorators: [{
377
+ type: Directive,
378
+ args: [{
379
+ selector: "[ngsListItemMeta]",
380
+ standalone: true,
381
+ host: { "class": "ngs-list-item-meta" }
382
+ }]
383
+ }]
384
+ });
385
+ var ListItem = class ListItem {
386
+ _list = inject(List, { optional: true });
387
+ disabled = input(false, {
388
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
389
+ transform: booleanAttribute
390
+ });
391
+ lines = input(null, {
392
+ ...ngDevMode ? { debugName: "lines" } : /* istanbul ignore next */ {},
393
+ transform: numberAttribute
394
+ });
395
+ _avatars = contentChildren(ListItemAvatar, {
396
+ ...ngDevMode ? { debugName: "_avatars" } : /* istanbul ignore next */ {},
397
+ descendants: true
398
+ });
399
+ _icons = contentChildren(ListItemIcon, {
400
+ ...ngDevMode ? { debugName: "_icons" } : /* istanbul ignore next */ {},
401
+ descendants: true
402
+ });
403
+ _titles = contentChildren(ListItemTitle, {
404
+ ...ngDevMode ? { debugName: "_titles" } : /* istanbul ignore next */ {},
405
+ descendants: true
406
+ });
407
+ _lines = contentChildren(ListItemLine, {
408
+ ...ngDevMode ? { debugName: "_lines" } : /* istanbul ignore next */ {},
409
+ descendants: true
410
+ });
411
+ _meta = contentChildren(ListItemMeta, {
412
+ ...ngDevMode ? { debugName: "_meta" } : /* istanbul ignore next */ {},
413
+ descendants: true
414
+ });
415
+ get disableRipple() {
416
+ return this.disabled() || this._list?.disableRipple();
417
+ }
418
+ static ɵfac = i0.ɵɵngDeclareFactory({
419
+ minVersion: "12.0.0",
420
+ version: "22.3.0",
421
+ ngImport: i0,
422
+ type: ListItem,
423
+ deps: [],
424
+ target: i0.ɵɵFactoryTarget.Component
425
+ });
426
+ static ɵcmp = i0.ɵɵngDeclareComponent({
427
+ minVersion: "17.2.0",
428
+ version: "22.3.0",
429
+ type: ListItem,
430
+ isStandalone: true,
431
+ selector: "ngs-list-item, a[ngs-list-item], button[ngs-list-item]",
432
+ inputs: {
433
+ disabled: {
434
+ classPropertyName: "disabled",
435
+ publicName: "disabled",
436
+ isSignal: true,
437
+ isRequired: false,
438
+ transformFunction: null
439
+ },
440
+ lines: {
441
+ classPropertyName: "lines",
442
+ publicName: "lines",
443
+ isSignal: true,
444
+ isRequired: false,
445
+ transformFunction: null
446
+ }
447
+ },
448
+ host: {
449
+ properties: {
450
+ "class.ngs-list-item-disabled": "disabled()",
451
+ "attr.aria-disabled": "disabled()",
452
+ "class.ngs-list-item-with-avatar": "_avatars().length > 0",
453
+ "class.ngs-list-item-with-icon": "_icons().length > 0",
454
+ "class.ngs-list-item-with-meta": "_meta().length > 0",
455
+ "attr.data-lines": "lines()"
456
+ },
457
+ classAttribute: "ngs-list-item"
458
+ },
459
+ queries: [
460
+ {
461
+ propertyName: "_avatars",
462
+ predicate: ListItemAvatar,
463
+ descendants: true,
464
+ isSignal: true
465
+ },
466
+ {
467
+ propertyName: "_icons",
468
+ predicate: ListItemIcon,
469
+ descendants: true,
470
+ isSignal: true
471
+ },
472
+ {
473
+ propertyName: "_titles",
474
+ predicate: ListItemTitle,
475
+ descendants: true,
476
+ isSignal: true
477
+ },
478
+ {
479
+ propertyName: "_lines",
480
+ predicate: ListItemLine,
481
+ descendants: true,
482
+ isSignal: true
483
+ },
484
+ {
485
+ propertyName: "_meta",
486
+ predicate: ListItemMeta,
487
+ descendants: true,
488
+ isSignal: true
489
+ }
490
+ ],
491
+ exportAs: ["ngsListItem"],
492
+ hostDirectives: [{
493
+ directive: i1.Ripple,
494
+ inputs: ["ngsRippleDisabled", "disableRipple"]
495
+ }],
496
+ ngImport: i0,
497
+ template: "<ng-content select=\"[ngsListItemAvatar],[ngsListItemIcon]\" />\n\n<span class=\"ngs-list-item-content\">\n <div class=\"ngs-list-item-title\">\n <ng-content select=\"[ngsListItemTitle]\" />\n </div>\n <div class=\"ngs-list-item-line\">\n <ng-content select=\"[ngsListItemLine],[ngsLine]\" />\n </div>\n <span class=\"ngs-list-item-unscoped-content\">\n <ng-content />\n </span>\n</span>\n\n<ng-content select=\"[ngsListItemMeta]\" />\n",
498
+ styles: [":host{display:flex;align-items:center;padding:var(--ngs-list-item-padding);min-height:var(--ngs-list-item-min-height);cursor:pointer;position:relative;overflow:hidden;box-sizing:border-box;text-decoration:none;gap:var(--ngs-list-item-gap);border-radius:var(--ngs-list-item-radius);color:var(--ngs-list-item-color);font-size:var(--ngs-list-item-font-size)}:host:not(.is-active):hover{color:var(--ngs-list-item-hover-color);background:var(--ngs-list-item-hover-bg)}:host.is-active{background:var(--ngs-list-item-active-bg);color:var(--ngs-list-item-active-color)}:host.ngs-list-item-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}:host .ngs-list-item-content{display:flex;flex-direction:column;flex:1;overflow:hidden}:host .ngs-list-item-title{font-size:var(--ngs-list-item-title-font-size);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-title:empty{display:none}:host .ngs-list-item-line{font-size:var(--ngs-list-item-line-font-size);color:var(--ngs-list-item-line-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-line:empty{display:none}:host .ngs-list-item-avatar{flex-shrink:0}:host .ngs-list-item-meta{flex-shrink:0;margin-left:auto}:host .ngs-subheader{display:block;padding:16px;font-size:14px;font-weight:500;color:var(--ngs-list-item-line-color)}:host[data-lines=\"2\"]{--ngs-list-item-min-height: 72px}:host[data-lines=\"3\"]{--ngs-list-item-min-height: 88px}:host.ngs-list-item-with-avatar{--ngs-list-item-min-height: 56px}:host.ngs-list-item-with-icon{--ngs-list-item-min-height: 48px}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
499
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
500
+ });
501
+ };
502
+ i0.ɵɵngDeclareClassMetadata({
503
+ minVersion: "12.0.0",
504
+ version: "22.3.0",
505
+ ngImport: i0,
506
+ type: ListItem,
507
+ decorators: [{
508
+ type: Component,
509
+ args: [{
510
+ selector: "ngs-list-item, a[ngs-list-item], button[ngs-list-item]",
511
+ exportAs: "ngsListItem",
512
+ hostDirectives: [{
513
+ directive: Ripple,
514
+ inputs: ["ngsRippleDisabled: disableRipple"]
515
+ }],
516
+ changeDetection: ChangeDetectionStrategy.OnPush,
517
+ host: {
518
+ "class": "ngs-list-item",
519
+ "[class.ngs-list-item-disabled]": "disabled()",
520
+ "[attr.aria-disabled]": "disabled()",
521
+ "[class.ngs-list-item-with-avatar]": "_avatars().length > 0",
522
+ "[class.ngs-list-item-with-icon]": "_icons().length > 0",
523
+ "[class.ngs-list-item-with-meta]": "_meta().length > 0",
524
+ "[attr.data-lines]": "lines()"
525
+ },
526
+ template: "<ng-content select=\"[ngsListItemAvatar],[ngsListItemIcon]\" />\n\n<span class=\"ngs-list-item-content\">\n <div class=\"ngs-list-item-title\">\n <ng-content select=\"[ngsListItemTitle]\" />\n </div>\n <div class=\"ngs-list-item-line\">\n <ng-content select=\"[ngsListItemLine],[ngsLine]\" />\n </div>\n <span class=\"ngs-list-item-unscoped-content\">\n <ng-content />\n </span>\n</span>\n\n<ng-content select=\"[ngsListItemMeta]\" />\n",
527
+ styles: [":host{display:flex;align-items:center;padding:var(--ngs-list-item-padding);min-height:var(--ngs-list-item-min-height);cursor:pointer;position:relative;overflow:hidden;box-sizing:border-box;text-decoration:none;gap:var(--ngs-list-item-gap);border-radius:var(--ngs-list-item-radius);color:var(--ngs-list-item-color);font-size:var(--ngs-list-item-font-size)}:host:not(.is-active):hover{color:var(--ngs-list-item-hover-color);background:var(--ngs-list-item-hover-bg)}:host.is-active{background:var(--ngs-list-item-active-bg);color:var(--ngs-list-item-active-color)}:host.ngs-list-item-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}:host .ngs-list-item-content{display:flex;flex-direction:column;flex:1;overflow:hidden}:host .ngs-list-item-title{font-size:var(--ngs-list-item-title-font-size);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-title:empty{display:none}:host .ngs-list-item-line{font-size:var(--ngs-list-item-line-font-size);color:var(--ngs-list-item-line-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-line:empty{display:none}:host .ngs-list-item-avatar{flex-shrink:0}:host .ngs-list-item-meta{flex-shrink:0;margin-left:auto}:host .ngs-subheader{display:block;padding:16px;font-size:14px;font-weight:500;color:var(--ngs-list-item-line-color)}:host[data-lines=\"2\"]{--ngs-list-item-min-height: 72px}:host[data-lines=\"3\"]{--ngs-list-item-min-height: 88px}:host.ngs-list-item-with-avatar{--ngs-list-item-min-height: 56px}:host.ngs-list-item-with-icon{--ngs-list-item-min-height: 48px}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
528
+ }]
529
+ }],
530
+ propDecorators: {
531
+ disabled: [{
532
+ type: i0.Input,
533
+ args: [{
534
+ isSignal: true,
535
+ alias: "disabled",
536
+ required: false
537
+ }]
538
+ }],
539
+ lines: [{
540
+ type: i0.Input,
541
+ args: [{
542
+ isSignal: true,
543
+ alias: "lines",
544
+ required: false
545
+ }]
546
+ }],
547
+ _avatars: [{
548
+ type: i0.ContentChildren,
549
+ args: [i0.forwardRef(() => ListItemAvatar), {
550
+ descendants: true,
551
+ isSignal: true
552
+ }]
553
+ }],
554
+ _icons: [{
555
+ type: i0.ContentChildren,
556
+ args: [i0.forwardRef(() => ListItemIcon), {
557
+ descendants: true,
558
+ isSignal: true
559
+ }]
560
+ }],
561
+ _titles: [{
562
+ type: i0.ContentChildren,
563
+ args: [i0.forwardRef(() => ListItemTitle), {
564
+ descendants: true,
565
+ isSignal: true
566
+ }]
567
+ }],
568
+ _lines: [{
569
+ type: i0.ContentChildren,
570
+ args: [i0.forwardRef(() => ListItemLine), {
571
+ descendants: true,
572
+ isSignal: true
573
+ }]
574
+ }],
575
+ _meta: [{
576
+ type: i0.ContentChildren,
577
+ args: [i0.forwardRef(() => ListItemMeta), {
578
+ descendants: true,
579
+ isSignal: true
580
+ }]
581
+ }]
582
+ }
583
+ });
584
+ var SelectionList = class SelectionList extends List {
585
+ options = contentChildren(forwardRef(() => ListOption), {
586
+ ...ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {},
587
+ descendants: true
588
+ });
589
+ multiple = input(false, {
590
+ ...ngDevMode ? { debugName: "multiple" } : /* istanbul ignore next */ {},
591
+ transform: booleanAttribute
592
+ });
593
+ selectionChange = output();
594
+ selectedOptions;
595
+ constructor() {
596
+ super();
597
+ }
598
+ ngOnInit() {
599
+ this.selectedOptions = new SelectionModel(this.multiple());
600
+ this.selectedOptions.changed.subscribe((event) => {
601
+ if (this.multiple()) {
602
+ event.added.forEach((option) => option.selected.set(true));
603
+ event.removed.forEach((option) => option.selected.set(false));
604
+ } else this.options().forEach((option) => {
605
+ option.selected.set(this.selectedOptions.isSelected(option));
606
+ });
607
+ });
608
+ }
609
+ static ɵfac = i0.ɵɵngDeclareFactory({
610
+ minVersion: "12.0.0",
611
+ version: "22.3.0",
612
+ ngImport: i0,
613
+ type: SelectionList,
614
+ deps: [],
615
+ target: i0.ɵɵFactoryTarget.Component
616
+ });
617
+ static ɵcmp = i0.ɵɵngDeclareComponent({
618
+ minVersion: "17.2.0",
619
+ version: "22.3.0",
620
+ type: SelectionList,
621
+ isStandalone: true,
622
+ selector: "ngs-selection-list",
623
+ inputs: { multiple: {
624
+ classPropertyName: "multiple",
625
+ publicName: "multiple",
626
+ isSignal: true,
627
+ isRequired: false,
628
+ transformFunction: null
629
+ } },
630
+ outputs: { selectionChange: "selectionChange" },
631
+ host: {
632
+ attributes: { "role": "listbox" },
633
+ properties: {
634
+ "attr.aria-disabled": "disabled()",
635
+ "attr.aria-multiselectable": "multiple()"
636
+ },
637
+ classAttribute: "ngs-selection-list ngs-list"
638
+ },
639
+ providers: [{
640
+ provide: List,
641
+ useExisting: SelectionList
642
+ }],
643
+ queries: [{
644
+ propertyName: "options",
645
+ predicate: i0.forwardRef(() => ListOption),
646
+ descendants: true,
647
+ isSignal: true
648
+ }],
649
+ exportAs: ["ngsSelectionList"],
650
+ usesInheritance: true,
651
+ ngImport: i0,
652
+ template: "<ng-content />\n",
653
+ styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-list-gap: var(--spacing, .25rem);--ngs-list-item-line-color: var(--ngs-color-neutral);display:flex;flex-direction:column;gap:var(--ngs-list-gap);padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
654
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
655
+ });
656
+ };
657
+ i0.ɵɵngDeclareClassMetadata({
658
+ minVersion: "12.0.0",
659
+ version: "22.3.0",
660
+ ngImport: i0,
661
+ type: SelectionList,
662
+ decorators: [{
663
+ type: Component,
664
+ args: [{
665
+ selector: "ngs-selection-list",
666
+ exportAs: "ngsSelectionList",
667
+ providers: [{
668
+ provide: List,
669
+ useExisting: SelectionList
670
+ }],
671
+ changeDetection: ChangeDetectionStrategy.OnPush,
672
+ host: {
673
+ "class": "ngs-selection-list ngs-list",
674
+ "[attr.aria-disabled]": "disabled()",
675
+ "role": "listbox",
676
+ "[attr.aria-multiselectable]": "multiple()"
677
+ },
678
+ template: "<ng-content />\n",
679
+ styles: [":host{--ngs-list-padding: calc(var(--spacing, .25rem) * 3) 0;--ngs-list-item-padding: var(--ngs-nav-item-padding);--ngs-list-item-min-height: var(--ngs-nav-item-height);--ngs-list-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-list-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-list-item-active-color: var(--ngs-nav-item-active-color);--ngs-list-item-disabled-opacity: .38;--ngs-list-item-title-font-size: 1rem;--ngs-list-item-font-size: var(--ngs-nav-item-font-size);--ngs-list-item-gap: var(--ngs-nav-item-gap);--ngs-list-item-radius: var(--ngs-nav-item-radius);--ngs-list-item-color: var(--ngs-nav-item-color);--ngs-list-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-list-gap: var(--spacing, .25rem);--ngs-list-item-line-color: var(--ngs-color-neutral);display:flex;flex-direction:column;gap:var(--ngs-list-gap);padding:var(--ngs-list-padding)}:host.ngs-list-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
680
+ }]
681
+ }],
682
+ ctorParameters: () => [],
683
+ propDecorators: {
684
+ options: [{
685
+ type: i0.ContentChildren,
686
+ args: [forwardRef(() => ListOption), {
687
+ descendants: true,
688
+ isSignal: true
689
+ }]
690
+ }],
691
+ multiple: [{
692
+ type: i0.Input,
693
+ args: [{
694
+ isSignal: true,
695
+ alias: "multiple",
696
+ required: false
697
+ }]
698
+ }],
699
+ selectionChange: [{
700
+ type: i0.Output,
701
+ args: ["selectionChange"]
702
+ }]
703
+ }
704
+ });
705
+ var ListOption = class ListOption extends ListItem {
706
+ _selectionList = inject(SelectionList);
707
+ _changeDetectorRef = inject(ChangeDetectorRef);
708
+ _avatars = contentChildren(ListItemAvatar, {
709
+ ...ngDevMode ? { debugName: "_avatars" } : /* istanbul ignore next */ {},
710
+ descendants: true
711
+ });
712
+ _icons = contentChildren(ListItemIcon, {
713
+ ...ngDevMode ? { debugName: "_icons" } : /* istanbul ignore next */ {},
714
+ descendants: true
715
+ });
716
+ _meta = contentChildren(ListItemMeta, {
717
+ ...ngDevMode ? { debugName: "_meta" } : /* istanbul ignore next */ {},
718
+ descendants: true
719
+ });
720
+ selectedInput = input(false, {
721
+ ...ngDevMode ? { debugName: "selectedInput" } : /* istanbul ignore next */ {},
722
+ alias: "selected"
723
+ });
724
+ selected = linkedSignal(this.selectedInput, ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
725
+ value = input(...ngDevMode ? [void 0, { debugName: "value" }] : /* istanbul ignore next */ []);
726
+ selectedChange = output();
727
+ _toggle() {
728
+ if (this.disabled()) return;
729
+ if (this._selectionList.multiple()) {
730
+ this.selected.set(!this.selected());
731
+ this._selectionList.selectedOptions.toggle(this);
732
+ } else {
733
+ this.selected.set(true);
734
+ this._selectionList.selectedOptions.select(this);
735
+ }
736
+ this.selectedChange.emit(this.selected());
737
+ this._selectionList.selectionChange.emit({
738
+ option: this,
739
+ selected: this.selected()
740
+ });
741
+ }
742
+ static ɵfac = i0.ɵɵngDeclareFactory({
743
+ minVersion: "12.0.0",
744
+ version: "22.3.0",
745
+ ngImport: i0,
746
+ type: ListOption,
747
+ deps: null,
748
+ target: i0.ɵɵFactoryTarget.Component
749
+ });
750
+ static ɵcmp = i0.ɵɵngDeclareComponent({
751
+ minVersion: "17.0.0",
752
+ version: "22.3.0",
753
+ type: ListOption,
754
+ isStandalone: true,
755
+ selector: "ngs-list-option",
756
+ inputs: {
757
+ selectedInput: {
758
+ classPropertyName: "selectedInput",
759
+ publicName: "selected",
760
+ isSignal: true,
761
+ isRequired: false,
762
+ transformFunction: null
763
+ },
764
+ value: {
765
+ classPropertyName: "value",
766
+ publicName: "value",
767
+ isSignal: true,
768
+ isRequired: false,
769
+ transformFunction: null
770
+ }
771
+ },
772
+ outputs: { selectedChange: "selectedChange" },
773
+ host: {
774
+ attributes: { "role": "option" },
775
+ listeners: { "click": "_toggle()" },
776
+ properties: {
777
+ "class.ngs-list-item-disabled": "disabled()",
778
+ "class.ngs-list-option-selected": "selected()",
779
+ "attr.aria-selected": "selected()",
780
+ "attr.aria-disabled": "disabled()",
781
+ "class.ngs-list-item-with-avatar": "_avatars().length > 0",
782
+ "class.ngs-list-item-with-icon": "_icons().length > 0",
783
+ "class.ngs-list-item-with-meta": "_meta().length > 0"
784
+ },
785
+ classAttribute: "ngs-list-option ngs-list-item"
786
+ },
787
+ queries: [
788
+ {
789
+ propertyName: "_avatars",
790
+ predicate: ListItemAvatar,
791
+ descendants: true,
792
+ isSignal: true
793
+ },
794
+ {
795
+ propertyName: "_icons",
796
+ predicate: ListItemIcon,
797
+ descendants: true,
798
+ isSignal: true
799
+ },
800
+ {
801
+ propertyName: "_meta",
802
+ predicate: ListItemMeta,
803
+ descendants: true,
804
+ isSignal: true
805
+ }
806
+ ],
807
+ exportAs: ["ngsListOption"],
808
+ usesInheritance: true,
809
+ ngImport: i0,
810
+ template: "<ng-content select=\"[ngsListItemAvatar],[ngsListItemIcon]\" />\n\n<span class=\"ngs-list-item-content\">\n <div class=\"ngs-list-item-title\">\n <ng-content select=\"[ngsListItemTitle]\" />\n </div>\n <div class=\"ngs-list-item-line\">\n <ng-content select=\"[ngsListItemLine],[ngsLine]\" />\n </div>\n <span class=\"ngs-list-item-unscoped-content\">\n <ng-content />\n </span>\n</span>\n\n<ng-content select=\"[ngsListItemMeta]\" />\n\n@if (_selectionList.multiple()) {\n <ngs-checkbox [checked]=\"selected()\" [disabled]=\"disabled()\" />\n} @else {\n <ngs-radio-button [checked]=\"selected()\" [disabled]=\"disabled()\" />\n}\n",
811
+ styles: [":host{display:flex;align-items:center;padding:var(--ngs-list-item-padding);min-height:var(--ngs-list-item-min-height);cursor:pointer;position:relative;overflow:hidden;box-sizing:border-box;text-decoration:none;gap:var(--ngs-list-item-gap);border-radius:var(--ngs-list-item-radius);color:var(--ngs-list-item-color);font-size:var(--ngs-list-item-font-size)}:host:not(.is-active):hover{color:var(--ngs-list-item-hover-color);background:var(--ngs-list-item-hover-bg)}:host.is-active{background:var(--ngs-list-item-active-bg);color:var(--ngs-list-item-active-color)}:host.ngs-list-item-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}:host .ngs-list-item-content{display:flex;flex-direction:column;flex:1;overflow:hidden}:host .ngs-list-item-title{font-size:var(--ngs-list-item-title-font-size);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-title:empty{display:none}:host .ngs-list-item-line{font-size:var(--ngs-list-item-line-font-size);color:var(--ngs-list-item-line-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-line:empty{display:none}:host .ngs-list-item-avatar{flex-shrink:0}:host .ngs-list-item-meta{flex-shrink:0;margin-left:auto}:host .ngs-subheader{display:block;padding:16px;font-size:14px;font-weight:500;color:var(--ngs-list-item-line-color)}:host[data-lines=\"2\"]{--ngs-list-item-min-height: 72px}:host[data-lines=\"3\"]{--ngs-list-item-min-height: 88px}:host.ngs-list-item-with-avatar{--ngs-list-item-min-height: 56px}:host.ngs-list-item-with-icon{--ngs-list-item-min-height: 48px}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", ":host.ngs-list-option-selected{background:var(--ngs-list-item-active-bg)}:host ngs-checkbox,:host ngs-radio-button{pointer-events:none;flex-shrink:0;margin-left:auto}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
812
+ dependencies: [{
813
+ kind: "component",
814
+ type: Checkbox,
815
+ selector: "ngs-checkbox",
816
+ inputs: [
817
+ "aria-label",
818
+ "aria-labelledby",
819
+ "aria-describedby",
820
+ "aria-expanded",
821
+ "aria-controls",
822
+ "aria-owns",
823
+ "id",
824
+ "required",
825
+ "labelPosition",
826
+ "name",
827
+ "value",
828
+ "disableRipple",
829
+ "tabIndex",
830
+ "color",
831
+ "disabledInteractive",
832
+ "checked",
833
+ "disabled",
834
+ "readonly",
835
+ "indeterminate"
836
+ ],
837
+ outputs: [
838
+ "checkedChange",
839
+ "touch",
840
+ "change",
841
+ "indeterminateChange"
842
+ ],
843
+ exportAs: ["ngsCheckbox"]
844
+ }, {
845
+ kind: "component",
846
+ type: RadioButton,
847
+ selector: "ngs-radio-button",
848
+ inputs: [
849
+ "id",
850
+ "value",
851
+ "name",
852
+ "checked",
853
+ "disabled"
854
+ ],
855
+ outputs: ["checkedChange", "change"]
856
+ }],
857
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
858
+ });
859
+ };
860
+ i0.ɵɵngDeclareClassMetadata({
861
+ minVersion: "12.0.0",
862
+ version: "22.3.0",
863
+ ngImport: i0,
864
+ type: ListOption,
865
+ decorators: [{
866
+ type: Component,
867
+ args: [{
868
+ selector: "ngs-list-option",
869
+ exportAs: "ngsListOption",
870
+ imports: [Checkbox, RadioButton],
871
+ host: {
872
+ "class": "ngs-list-option ngs-list-item",
873
+ "[class.ngs-list-item-disabled]": "disabled()",
874
+ "[class.ngs-list-option-selected]": "selected()",
875
+ "[attr.aria-selected]": "selected()",
876
+ "[attr.aria-disabled]": "disabled()",
877
+ "role": "option",
878
+ "[class.ngs-list-item-with-avatar]": "_avatars().length > 0",
879
+ "[class.ngs-list-item-with-icon]": "_icons().length > 0",
880
+ "[class.ngs-list-item-with-meta]": "_meta().length > 0",
881
+ "(click)": "_toggle()"
882
+ },
883
+ standalone: true,
884
+ changeDetection: ChangeDetectionStrategy.OnPush,
885
+ template: "<ng-content select=\"[ngsListItemAvatar],[ngsListItemIcon]\" />\n\n<span class=\"ngs-list-item-content\">\n <div class=\"ngs-list-item-title\">\n <ng-content select=\"[ngsListItemTitle]\" />\n </div>\n <div class=\"ngs-list-item-line\">\n <ng-content select=\"[ngsListItemLine],[ngsLine]\" />\n </div>\n <span class=\"ngs-list-item-unscoped-content\">\n <ng-content />\n </span>\n</span>\n\n<ng-content select=\"[ngsListItemMeta]\" />\n\n@if (_selectionList.multiple()) {\n <ngs-checkbox [checked]=\"selected()\" [disabled]=\"disabled()\" />\n} @else {\n <ngs-radio-button [checked]=\"selected()\" [disabled]=\"disabled()\" />\n}\n",
886
+ styles: [":host{display:flex;align-items:center;padding:var(--ngs-list-item-padding);min-height:var(--ngs-list-item-min-height);cursor:pointer;position:relative;overflow:hidden;box-sizing:border-box;text-decoration:none;gap:var(--ngs-list-item-gap);border-radius:var(--ngs-list-item-radius);color:var(--ngs-list-item-color);font-size:var(--ngs-list-item-font-size)}:host:not(.is-active):hover{color:var(--ngs-list-item-hover-color);background:var(--ngs-list-item-hover-bg)}:host.is-active{background:var(--ngs-list-item-active-bg);color:var(--ngs-list-item-active-color)}:host.ngs-list-item-disabled{pointer-events:none;opacity:var(--ngs-list-item-disabled-opacity)}:host .ngs-list-item-content{display:flex;flex-direction:column;flex:1;overflow:hidden}:host .ngs-list-item-title{font-size:var(--ngs-list-item-title-font-size);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-title:empty{display:none}:host .ngs-list-item-line{font-size:var(--ngs-list-item-line-font-size);color:var(--ngs-list-item-line-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .ngs-list-item-line:empty{display:none}:host .ngs-list-item-avatar{flex-shrink:0}:host .ngs-list-item-meta{flex-shrink:0;margin-left:auto}:host .ngs-subheader{display:block;padding:16px;font-size:14px;font-weight:500;color:var(--ngs-list-item-line-color)}:host[data-lines=\"2\"]{--ngs-list-item-min-height: 72px}:host[data-lines=\"3\"]{--ngs-list-item-min-height: 88px}:host.ngs-list-item-with-avatar{--ngs-list-item-min-height: 56px}:host.ngs-list-item-with-icon{--ngs-list-item-min-height: 48px}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n", ":host.ngs-list-option-selected{background:var(--ngs-list-item-active-bg)}:host ngs-checkbox,:host ngs-radio-button{pointer-events:none;flex-shrink:0;margin-left:auto}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
887
+ }]
888
+ }],
889
+ propDecorators: {
890
+ _avatars: [{
891
+ type: i0.ContentChildren,
892
+ args: [i0.forwardRef(() => ListItemAvatar), {
893
+ descendants: true,
894
+ isSignal: true
895
+ }]
896
+ }],
897
+ _icons: [{
898
+ type: i0.ContentChildren,
899
+ args: [i0.forwardRef(() => ListItemIcon), {
900
+ descendants: true,
901
+ isSignal: true
902
+ }]
903
+ }],
904
+ _meta: [{
905
+ type: i0.ContentChildren,
906
+ args: [i0.forwardRef(() => ListItemMeta), {
907
+ descendants: true,
908
+ isSignal: true
909
+ }]
910
+ }],
911
+ selectedInput: [{
912
+ type: i0.Input,
913
+ args: [{
914
+ isSignal: true,
915
+ alias: "selected",
916
+ required: false
917
+ }]
918
+ }],
919
+ value: [{
920
+ type: i0.Input,
921
+ args: [{
922
+ isSignal: true,
923
+ alias: "value",
924
+ required: false
925
+ }]
926
+ }],
927
+ selectedChange: [{
928
+ type: i0.Output,
929
+ args: ["selectedChange"]
930
+ }]
931
+ }
932
+ });
933
+ var Subheader = class Subheader {
934
+ _elementRef = inject(ElementRef);
935
+ static ɵfac = i0.ɵɵngDeclareFactory({
936
+ minVersion: "12.0.0",
937
+ version: "22.3.0",
938
+ ngImport: i0,
939
+ type: Subheader,
940
+ deps: [],
941
+ target: i0.ɵɵFactoryTarget.Directive
942
+ });
943
+ static ɵdir = i0.ɵɵngDeclareDirective({
944
+ minVersion: "14.0.0",
945
+ version: "22.3.0",
946
+ type: Subheader,
947
+ isStandalone: true,
948
+ selector: "[ngsSubheader]",
949
+ host: { classAttribute: "ngs-subheader" },
950
+ ngImport: i0
951
+ });
952
+ };
953
+ i0.ɵɵngDeclareClassMetadata({
954
+ minVersion: "12.0.0",
955
+ version: "22.3.0",
956
+ ngImport: i0,
957
+ type: Subheader,
958
+ decorators: [{
959
+ type: Directive,
960
+ args: [{
961
+ selector: "[ngsSubheader]",
962
+ standalone: true,
963
+ host: { "class": "ngs-subheader" }
964
+ }]
965
+ }]
966
+ });
281
967
  export { ActionList, List, ListItem, ListItemAvatar, ListItemIcon, ListItemLine, ListItemMeta, ListItemTitle, ListOption, NavList, SelectionList, Subheader };
282
- //# sourceMappingURL=ngstarter-ui-components-list.mjs.map
968
+
969
+ //# sourceMappingURL=ngstarter-ui-components-list.mjs.map