@ngstarter-ui/components 1.0.21

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 (415) hide show
  1. package/README.md +0 -0
  2. package/fesm2022/ngstarter-ui-components-action-required.mjs +42 -0
  3. package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -0
  4. package/fesm2022/ngstarter-ui-components-alert.mjs +132 -0
  5. package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -0
  6. package/fesm2022/ngstarter-ui-components-announcement.mjs +86 -0
  7. package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -0
  8. package/fesm2022/ngstarter-ui-components-autocomplete.mjs +360 -0
  9. package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -0
  10. package/fesm2022/ngstarter-ui-components-avatar.mjs +235 -0
  11. package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -0
  12. package/fesm2022/ngstarter-ui-components-badge.mjs +97 -0
  13. package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -0
  14. package/fesm2022/ngstarter-ui-components-block-loader.mjs +48 -0
  15. package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -0
  16. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +327 -0
  17. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs.map +1 -0
  18. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +209 -0
  19. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -0
  20. package/fesm2022/ngstarter-ui-components-button-toggle.mjs +175 -0
  21. package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -0
  22. package/fesm2022/ngstarter-ui-components-button.mjs +70 -0
  23. package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -0
  24. package/fesm2022/ngstarter-ui-components-card-overlay.mjs +49 -0
  25. package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -0
  26. package/fesm2022/ngstarter-ui-components-card.mjs +199 -0
  27. package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -0
  28. package/fesm2022/ngstarter-ui-components-carousel.mjs +614 -0
  29. package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -0
  30. package/fesm2022/ngstarter-ui-components-checkbox.mjs +300 -0
  31. package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -0
  32. package/fesm2022/ngstarter-ui-components-chips.mjs +589 -0
  33. package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -0
  34. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +347 -0
  35. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -0
  36. package/fesm2022/ngstarter-ui-components-color-picker.mjs +713 -0
  37. package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -0
  38. package/fesm2022/ngstarter-ui-components-color-scheme.mjs +106 -0
  39. package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -0
  40. package/fesm2022/ngstarter-ui-components-color-switcher.mjs +72 -0
  41. package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -0
  42. package/fesm2022/ngstarter-ui-components-command-bar.mjs +57 -0
  43. package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -0
  44. package/fesm2022/ngstarter-ui-components-comment-editor.mjs +1024 -0
  45. package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -0
  46. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +177 -0
  47. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -0
  48. package/fesm2022/ngstarter-ui-components-confirm.mjs +85 -0
  49. package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -0
  50. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-Bk6QTli8.mjs +173 -0
  51. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-Bk6QTli8.mjs.map +1 -0
  52. package/fesm2022/ngstarter-ui-components-content-editor-content-editor-content-editable.directive-Bvfa2dqh.mjs +124 -0
  53. package/fesm2022/ngstarter-ui-components-content-editor-content-editor-content-editable.directive-Bvfa2dqh.mjs.map +1 -0
  54. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs +99 -0
  55. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs.map +1 -0
  56. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-C_iRTCPH.mjs +33 -0
  57. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-C_iRTCPH.mjs.map +1 -0
  58. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-BbkC_t86.mjs +354 -0
  59. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-BbkC_t86.mjs.map +1 -0
  60. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-D9_CxTY1.mjs +114 -0
  61. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-D9_CxTY1.mjs.map +1 -0
  62. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-B4zJyUg1.mjs +146 -0
  63. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-B4zJyUg1.mjs.map +1 -0
  64. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-Cv6wx5Xe.mjs +215 -0
  65. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-Cv6wx5Xe.mjs.map +1 -0
  66. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-1Zi2nAX5.mjs +2548 -0
  67. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-1Zi2nAX5.mjs.map +1 -0
  68. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-C9bQvDYU.mjs +110 -0
  69. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-C9bQvDYU.mjs.map +1 -0
  70. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BbHds2r2.mjs +141 -0
  71. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BbHds2r2.mjs.map +1 -0
  72. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-DlDh7Fnn.mjs +1604 -0
  73. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-DlDh7Fnn.mjs.map +1 -0
  74. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-m4DTihP2.mjs +175 -0
  75. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-m4DTihP2.mjs.map +1 -0
  76. package/fesm2022/ngstarter-ui-components-content-editor.mjs +2 -0
  77. package/fesm2022/ngstarter-ui-components-content-editor.mjs.map +1 -0
  78. package/fesm2022/ngstarter-ui-components-content-fade.mjs +35 -0
  79. package/fesm2022/ngstarter-ui-components-content-fade.mjs.map +1 -0
  80. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +107 -0
  81. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -0
  82. package/fesm2022/ngstarter-ui-components-core.mjs +1330 -0
  83. package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -0
  84. package/fesm2022/ngstarter-ui-components-country-select.mjs +489 -0
  85. package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -0
  86. package/fesm2022/ngstarter-ui-components-crop.mjs +183 -0
  87. package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -0
  88. package/fesm2022/ngstarter-ui-components-currency-select.mjs +397 -0
  89. package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -0
  90. package/fesm2022/ngstarter-ui-components-data-view.mjs +1494 -0
  91. package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -0
  92. package/fesm2022/ngstarter-ui-components-date-format-select.mjs +154 -0
  93. package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -0
  94. package/fesm2022/ngstarter-ui-components-datepicker.mjs +1159 -0
  95. package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -0
  96. package/fesm2022/ngstarter-ui-components-dialog.mjs +357 -0
  97. package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -0
  98. package/fesm2022/ngstarter-ui-components-divider.mjs +42 -0
  99. package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -0
  100. package/fesm2022/ngstarter-ui-components-drawer.mjs +132 -0
  101. package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -0
  102. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +245 -0
  103. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -0
  104. package/fesm2022/ngstarter-ui-components-empty-state.mjs +75 -0
  105. package/fesm2022/ngstarter-ui-components-empty-state.mjs.map +1 -0
  106. package/fesm2022/ngstarter-ui-components-expand.mjs +56 -0
  107. package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -0
  108. package/fesm2022/ngstarter-ui-components-expansion.mjs +193 -0
  109. package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -0
  110. package/fesm2022/ngstarter-ui-components-filter-builder.mjs +333 -0
  111. package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -0
  112. package/fesm2022/ngstarter-ui-components-form-field.mjs +230 -0
  113. package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -0
  114. package/fesm2022/ngstarter-ui-components-form-renderer-autocomplete-many-field-BKQVlZHV.mjs +124 -0
  115. package/fesm2022/ngstarter-ui-components-form-renderer-autocomplete-many-field-BKQVlZHV.mjs.map +1 -0
  116. package/fesm2022/ngstarter-ui-components-form-renderer-checkbox-field-CoyKdvhV.mjs +22 -0
  117. package/fesm2022/ngstarter-ui-components-form-renderer-checkbox-field-CoyKdvhV.mjs.map +1 -0
  118. package/fesm2022/ngstarter-ui-components-form-renderer-datepicker-field-Bzc0TPO9.mjs +44 -0
  119. package/fesm2022/ngstarter-ui-components-form-renderer-datepicker-field-Bzc0TPO9.mjs.map +1 -0
  120. package/fesm2022/ngstarter-ui-components-form-renderer-divider-content-CwGzDCZv.mjs +17 -0
  121. package/fesm2022/ngstarter-ui-components-form-renderer-divider-content-CwGzDCZv.mjs.map +1 -0
  122. package/fesm2022/ngstarter-ui-components-form-renderer-image-content-ICTwkZPa.mjs +17 -0
  123. package/fesm2022/ngstarter-ui-components-form-renderer-image-content-ICTwkZPa.mjs.map +1 -0
  124. package/fesm2022/ngstarter-ui-components-form-renderer-input-field-RYxi-Mpw.mjs +35 -0
  125. package/fesm2022/ngstarter-ui-components-form-renderer-input-field-RYxi-Mpw.mjs.map +1 -0
  126. package/fesm2022/ngstarter-ui-components-form-renderer-radio-group-field-Cv3AGpoq.mjs +38 -0
  127. package/fesm2022/ngstarter-ui-components-form-renderer-radio-group-field-Cv3AGpoq.mjs.map +1 -0
  128. package/fesm2022/ngstarter-ui-components-form-renderer-select-field-eLcwI-BY.mjs +39 -0
  129. package/fesm2022/ngstarter-ui-components-form-renderer-select-field-eLcwI-BY.mjs.map +1 -0
  130. package/fesm2022/ngstarter-ui-components-form-renderer-text-content-BjzH_M3-.mjs +24 -0
  131. package/fesm2022/ngstarter-ui-components-form-renderer-text-content-BjzH_M3-.mjs.map +1 -0
  132. package/fesm2022/ngstarter-ui-components-form-renderer-textarea-field-4zH7FTQ1.mjs +37 -0
  133. package/fesm2022/ngstarter-ui-components-form-renderer-textarea-field-4zH7FTQ1.mjs.map +1 -0
  134. package/fesm2022/ngstarter-ui-components-form-renderer-timezone-field-BpH65Hd-.mjs +35 -0
  135. package/fesm2022/ngstarter-ui-components-form-renderer-timezone-field-BpH65Hd-.mjs.map +1 -0
  136. package/fesm2022/ngstarter-ui-components-form-renderer-toggle-field-iyqUrWxt.mjs +22 -0
  137. package/fesm2022/ngstarter-ui-components-form-renderer-toggle-field-iyqUrWxt.mjs.map +1 -0
  138. package/fesm2022/ngstarter-ui-components-form-renderer.mjs +317 -0
  139. package/fesm2022/ngstarter-ui-components-form-renderer.mjs.map +1 -0
  140. package/fesm2022/ngstarter-ui-components-gauge.mjs +44 -0
  141. package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -0
  142. package/fesm2022/ngstarter-ui-components-grid.mjs +78 -0
  143. package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -0
  144. package/fesm2022/ngstarter-ui-components-guided-tour.mjs +736 -0
  145. package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -0
  146. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +192 -0
  147. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -0
  148. package/fesm2022/ngstarter-ui-components-icon.mjs +61 -0
  149. package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -0
  150. package/fesm2022/ngstarter-ui-components-image-designer.mjs +4016 -0
  151. package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -0
  152. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +20 -0
  153. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -0
  154. package/fesm2022/ngstarter-ui-components-image-resizer.mjs +151 -0
  155. package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -0
  156. package/fesm2022/ngstarter-ui-components-image-viewer.mjs +349 -0
  157. package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -0
  158. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +162 -0
  159. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -0
  160. package/fesm2022/ngstarter-ui-components-incidents.mjs +257 -0
  161. package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -0
  162. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +179 -0
  163. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -0
  164. package/fesm2022/ngstarter-ui-components-input-mask.mjs +180 -0
  165. package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -0
  166. package/fesm2022/ngstarter-ui-components-input-validator.mjs +24 -0
  167. package/fesm2022/ngstarter-ui-components-input-validator.mjs.map +1 -0
  168. package/fesm2022/ngstarter-ui-components-input.mjs +152 -0
  169. package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -0
  170. package/fesm2022/ngstarter-ui-components-kanban-board.mjs +156 -0
  171. package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -0
  172. package/fesm2022/ngstarter-ui-components-kbd.mjs +31 -0
  173. package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -0
  174. package/fesm2022/ngstarter-ui-components-layout.mjs +199 -0
  175. package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -0
  176. package/fesm2022/ngstarter-ui-components-list.mjs +279 -0
  177. package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -0
  178. package/fesm2022/ngstarter-ui-components-logo.mjs +51 -0
  179. package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -0
  180. package/fesm2022/ngstarter-ui-components-marquee.mjs +76 -0
  181. package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -0
  182. package/fesm2022/ngstarter-ui-components-menu.mjs +851 -0
  183. package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -0
  184. package/fesm2022/ngstarter-ui-components-micro-chart.mjs +928 -0
  185. package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -0
  186. package/fesm2022/ngstarter-ui-components-navigation.mjs +439 -0
  187. package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -0
  188. package/fesm2022/ngstarter-ui-components-notifications.mjs +181 -0
  189. package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -0
  190. package/fesm2022/ngstarter-ui-components-number-input.mjs +293 -0
  191. package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -0
  192. package/fesm2022/ngstarter-ui-components-option.mjs +157 -0
  193. package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -0
  194. package/fesm2022/ngstarter-ui-components-overlay.mjs +112 -0
  195. package/fesm2022/ngstarter-ui-components-overlay.mjs.map +1 -0
  196. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +77 -0
  197. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -0
  198. package/fesm2022/ngstarter-ui-components-paginator.mjs +297 -0
  199. package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -0
  200. package/fesm2022/ngstarter-ui-components-panel.mjs +123 -0
  201. package/fesm2022/ngstarter-ui-components-panel.mjs.map +1 -0
  202. package/fesm2022/ngstarter-ui-components-password-strength.mjs +335 -0
  203. package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -0
  204. package/fesm2022/ngstarter-ui-components-phone-input.mjs +651 -0
  205. package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -0
  206. package/fesm2022/ngstarter-ui-components-pin-input.mjs +193 -0
  207. package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -0
  208. package/fesm2022/ngstarter-ui-components-popover.mjs +302 -0
  209. package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -0
  210. package/fesm2022/ngstarter-ui-components-progress-bar.mjs +68 -0
  211. package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -0
  212. package/fesm2022/ngstarter-ui-components-radio-card.mjs +102 -0
  213. package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -0
  214. package/fesm2022/ngstarter-ui-components-radio.mjs +147 -0
  215. package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -0
  216. package/fesm2022/ngstarter-ui-components-rail-nav.mjs +87 -0
  217. package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -0
  218. package/fesm2022/ngstarter-ui-components-resizable-container.mjs +74 -0
  219. package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -0
  220. package/fesm2022/ngstarter-ui-components-screen-loader.mjs +95 -0
  221. package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -0
  222. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +219 -0
  223. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -0
  224. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +459 -0
  225. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -0
  226. package/fesm2022/ngstarter-ui-components-segmented.mjs +218 -0
  227. package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -0
  228. package/fesm2022/ngstarter-ui-components-select.mjs +496 -0
  229. package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -0
  230. package/fesm2022/ngstarter-ui-components-side-panel.mjs +107 -0
  231. package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -0
  232. package/fesm2022/ngstarter-ui-components-sidebar.mjs +435 -0
  233. package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -0
  234. package/fesm2022/ngstarter-ui-components-sidenav.mjs +354 -0
  235. package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -0
  236. package/fesm2022/ngstarter-ui-components-signature-pad.mjs +452 -0
  237. package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -0
  238. package/fesm2022/ngstarter-ui-components-skeleton.mjs +22 -0
  239. package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -0
  240. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +93 -0
  241. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -0
  242. package/fesm2022/ngstarter-ui-components-slider.mjs +481 -0
  243. package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -0
  244. package/fesm2022/ngstarter-ui-components-snack-bar.mjs +354 -0
  245. package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -0
  246. package/fesm2022/ngstarter-ui-components-sort.mjs +140 -0
  247. package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -0
  248. package/fesm2022/ngstarter-ui-components-spinner.mjs +75 -0
  249. package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -0
  250. package/fesm2022/ngstarter-ui-components-splash-screen.mjs +93 -0
  251. package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -0
  252. package/fesm2022/ngstarter-ui-components-split.mjs +948 -0
  253. package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -0
  254. package/fesm2022/ngstarter-ui-components-stepper.mjs +103 -0
  255. package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -0
  256. package/fesm2022/ngstarter-ui-components-suggestions.mjs +72 -0
  257. package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -0
  258. package/fesm2022/ngstarter-ui-components-tab-panel.mjs +265 -0
  259. package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -0
  260. package/fesm2022/ngstarter-ui-components-table.mjs +648 -0
  261. package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -0
  262. package/fesm2022/ngstarter-ui-components-tabs.mjs +591 -0
  263. package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -0
  264. package/fesm2022/ngstarter-ui-components-text-editor.mjs +1012 -0
  265. package/fesm2022/ngstarter-ui-components-text-editor.mjs.map +1 -0
  266. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +212 -0
  267. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -0
  268. package/fesm2022/ngstarter-ui-components-tiles.mjs +634 -0
  269. package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -0
  270. package/fesm2022/ngstarter-ui-components-timeline.mjs +122 -0
  271. package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -0
  272. package/fesm2022/ngstarter-ui-components-timepicker.mjs +486 -0
  273. package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -0
  274. package/fesm2022/ngstarter-ui-components-timezone-select.mjs +371 -0
  275. package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -0
  276. package/fesm2022/ngstarter-ui-components-toolbar.mjs +299 -0
  277. package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -0
  278. package/fesm2022/ngstarter-ui-components-tooltip.mjs +506 -0
  279. package/fesm2022/ngstarter-ui-components-tooltip.mjs.map +1 -0
  280. package/fesm2022/ngstarter-ui-components-tree.mjs +200 -0
  281. package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -0
  282. package/fesm2022/ngstarter-ui-components-upload.mjs +330 -0
  283. package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -0
  284. package/fesm2022/ngstarter-ui-components-video-player.mjs +516 -0
  285. package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -0
  286. package/fesm2022/ngstarter-ui-components-video-viewer.mjs +218 -0
  287. package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -0
  288. package/fesm2022/ngstarter-ui-components-visual-builder.mjs +18 -0
  289. package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -0
  290. package/fesm2022/ngstarter-ui-components.mjs +6 -0
  291. package/fesm2022/ngstarter-ui-components.mjs.map +1 -0
  292. package/package.json +535 -0
  293. package/styles/_common.scss +456 -0
  294. package/styles/_global.scss +91 -0
  295. package/styles/themes/default.scss +2 -0
  296. package/types/ngstarter-ui-components-action-required.d.ts +14 -0
  297. package/types/ngstarter-ui-components-alert.d.ts +50 -0
  298. package/types/ngstarter-ui-components-announcement.d.ts +59 -0
  299. package/types/ngstarter-ui-components-autocomplete.d.ts +83 -0
  300. package/types/ngstarter-ui-components-avatar.d.ts +69 -0
  301. package/types/ngstarter-ui-components-badge.d.ts +38 -0
  302. package/types/ngstarter-ui-components-block-loader.d.ts +21 -0
  303. package/types/ngstarter-ui-components-bottom-sheet.d.ts +149 -0
  304. package/types/ngstarter-ui-components-breadcrumbs.d.ts +104 -0
  305. package/types/ngstarter-ui-components-button-toggle.d.ts +54 -0
  306. package/types/ngstarter-ui-components-button.d.ts +27 -0
  307. package/types/ngstarter-ui-components-card-overlay.d.ts +20 -0
  308. package/types/ngstarter-ui-components-card.d.ts +85 -0
  309. package/types/ngstarter-ui-components-carousel.d.ts +76 -0
  310. package/types/ngstarter-ui-components-checkbox.d.ts +94 -0
  311. package/types/ngstarter-ui-components-chips.d.ts +189 -0
  312. package/types/ngstarter-ui-components-code-highlighter.d.ts +28 -0
  313. package/types/ngstarter-ui-components-color-picker.d.ts +92 -0
  314. package/types/ngstarter-ui-components-color-scheme.d.ts +44 -0
  315. package/types/ngstarter-ui-components-color-switcher.d.ts +26 -0
  316. package/types/ngstarter-ui-components-command-bar.d.ts +28 -0
  317. package/types/ngstarter-ui-components-comment-editor.d.ts +194 -0
  318. package/types/ngstarter-ui-components-comparison-slider.d.ts +42 -0
  319. package/types/ngstarter-ui-components-confirm.d.ts +34 -0
  320. package/types/ngstarter-ui-components-content-editor.d.ts +321 -0
  321. package/types/ngstarter-ui-components-content-fade.d.ts +17 -0
  322. package/types/ngstarter-ui-components-cookie-popup.d.ts +41 -0
  323. package/types/ngstarter-ui-components-core.d.ts +421 -0
  324. package/types/ngstarter-ui-components-country-select.d.ts +78 -0
  325. package/types/ngstarter-ui-components-crop.d.ts +59 -0
  326. package/types/ngstarter-ui-components-currency-select.d.ts +82 -0
  327. package/types/ngstarter-ui-components-data-view.d.ts +391 -0
  328. package/types/ngstarter-ui-components-date-format-select.d.ts +59 -0
  329. package/types/ngstarter-ui-components-datepicker.d.ts +384 -0
  330. package/types/ngstarter-ui-components-dialog.d.ts +115 -0
  331. package/types/ngstarter-ui-components-divider.d.ts +18 -0
  332. package/types/ngstarter-ui-components-drawer.d.ts +32 -0
  333. package/types/ngstarter-ui-components-emoji-picker.d.ts +49 -0
  334. package/types/ngstarter-ui-components-empty-state.d.ts +33 -0
  335. package/types/ngstarter-ui-components-expand.d.ts +26 -0
  336. package/types/ngstarter-ui-components-expansion.d.ts +68 -0
  337. package/types/ngstarter-ui-components-filter-builder.d.ts +106 -0
  338. package/types/ngstarter-ui-components-form-field.d.ts +107 -0
  339. package/types/ngstarter-ui-components-form-renderer.d.ts +121 -0
  340. package/types/ngstarter-ui-components-gauge.d.ts +21 -0
  341. package/types/ngstarter-ui-components-grid.d.ts +45 -0
  342. package/types/ngstarter-ui-components-guided-tour.d.ts +227 -0
  343. package/types/ngstarter-ui-components-headless-stepper.d.ts +65 -0
  344. package/types/ngstarter-ui-components-icon.d.ts +17 -0
  345. package/types/ngstarter-ui-components-image-designer.d.ts +357 -0
  346. package/types/ngstarter-ui-components-image-placeholder.d.ts +8 -0
  347. package/types/ngstarter-ui-components-image-resizer.d.ts +35 -0
  348. package/types/ngstarter-ui-components-image-viewer.d.ts +63 -0
  349. package/types/ngstarter-ui-components-image-zoom-viewer.d.ts +34 -0
  350. package/types/ngstarter-ui-components-incidents.d.ts +119 -0
  351. package/types/ngstarter-ui-components-inline-text-edit.d.ts +39 -0
  352. package/types/ngstarter-ui-components-input-mask.d.ts +36 -0
  353. package/types/ngstarter-ui-components-input-validator.d.ts +5 -0
  354. package/types/ngstarter-ui-components-input.d.ts +53 -0
  355. package/types/ngstarter-ui-components-kanban-board.d.ts +68 -0
  356. package/types/ngstarter-ui-components-kbd.d.ts +13 -0
  357. package/types/ngstarter-ui-components-layout.d.ts +83 -0
  358. package/types/ngstarter-ui-components-list.d.ts +98 -0
  359. package/types/ngstarter-ui-components-logo.d.ts +26 -0
  360. package/types/ngstarter-ui-components-marquee.d.ts +27 -0
  361. package/types/ngstarter-ui-components-menu.d.ts +199 -0
  362. package/types/ngstarter-ui-components-micro-chart.d.ts +195 -0
  363. package/types/ngstarter-ui-components-navigation.d.ts +136 -0
  364. package/types/ngstarter-ui-components-notifications.d.ts +84 -0
  365. package/types/ngstarter-ui-components-number-input.d.ts +99 -0
  366. package/types/ngstarter-ui-components-option.d.ts +61 -0
  367. package/types/ngstarter-ui-components-overlay.d.ts +12 -0
  368. package/types/ngstarter-ui-components-page-loading-bar.d.ts +20 -0
  369. package/types/ngstarter-ui-components-paginator.d.ts +145 -0
  370. package/types/ngstarter-ui-components-panel.d.ts +59 -0
  371. package/types/ngstarter-ui-components-password-strength.d.ts +109 -0
  372. package/types/ngstarter-ui-components-phone-input.d.ts +103 -0
  373. package/types/ngstarter-ui-components-pin-input.d.ts +48 -0
  374. package/types/ngstarter-ui-components-popover.d.ts +94 -0
  375. package/types/ngstarter-ui-components-progress-bar.d.ts +30 -0
  376. package/types/ngstarter-ui-components-radio-card.d.ts +37 -0
  377. package/types/ngstarter-ui-components-radio.d.ts +45 -0
  378. package/types/ngstarter-ui-components-rail-nav.d.ts +36 -0
  379. package/types/ngstarter-ui-components-resizable-container.d.ts +25 -0
  380. package/types/ngstarter-ui-components-screen-loader.d.ts +34 -0
  381. package/types/ngstarter-ui-components-scroll-spy.d.ts +63 -0
  382. package/types/ngstarter-ui-components-scrollbar-area.d.ts +67 -0
  383. package/types/ngstarter-ui-components-segmented.d.ts +65 -0
  384. package/types/ngstarter-ui-components-select.d.ts +126 -0
  385. package/types/ngstarter-ui-components-side-panel.d.ts +42 -0
  386. package/types/ngstarter-ui-components-sidebar.d.ts +143 -0
  387. package/types/ngstarter-ui-components-sidenav.d.ts +86 -0
  388. package/types/ngstarter-ui-components-signature-pad.d.ts +49 -0
  389. package/types/ngstarter-ui-components-skeleton.d.ts +9 -0
  390. package/types/ngstarter-ui-components-slide-toggle.d.ts +41 -0
  391. package/types/ngstarter-ui-components-slider.d.ts +85 -0
  392. package/types/ngstarter-ui-components-snack-bar.d.ts +142 -0
  393. package/types/ngstarter-ui-components-sort.d.ts +66 -0
  394. package/types/ngstarter-ui-components-spinner.d.ts +28 -0
  395. package/types/ngstarter-ui-components-splash-screen.d.ts +31 -0
  396. package/types/ngstarter-ui-components-split.d.ts +210 -0
  397. package/types/ngstarter-ui-components-stepper.d.ts +44 -0
  398. package/types/ngstarter-ui-components-suggestions.d.ts +32 -0
  399. package/types/ngstarter-ui-components-tab-panel.d.ts +96 -0
  400. package/types/ngstarter-ui-components-table.d.ts +277 -0
  401. package/types/ngstarter-ui-components-tabs.d.ts +145 -0
  402. package/types/ngstarter-ui-components-text-editor.d.ts +191 -0
  403. package/types/ngstarter-ui-components-thumbnail-maker.d.ts +35 -0
  404. package/types/ngstarter-ui-components-tiles.d.ts +109 -0
  405. package/types/ngstarter-ui-components-timeline.d.ts +57 -0
  406. package/types/ngstarter-ui-components-timepicker.d.ts +115 -0
  407. package/types/ngstarter-ui-components-timezone-select.d.ts +75 -0
  408. package/types/ngstarter-ui-components-toolbar.d.ts +74 -0
  409. package/types/ngstarter-ui-components-tooltip.d.ts +52 -0
  410. package/types/ngstarter-ui-components-tree.d.ts +60 -0
  411. package/types/ngstarter-ui-components-upload.d.ts +134 -0
  412. package/types/ngstarter-ui-components-video-player.d.ts +67 -0
  413. package/types/ngstarter-ui-components-video-viewer.d.ts +98 -0
  414. package/types/ngstarter-ui-components-visual-builder.d.ts +8 -0
  415. package/types/ngstarter-ui-components.d.ts +2 -0
@@ -0,0 +1,439 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, TemplateRef, Directive, InjectionToken, ElementRef, contentChild, computed, input, booleanAttribute, ChangeDetectionStrategy, Component, Renderer2, DestroyRef, contentChildren, output, afterNextRender, forwardRef, signal } from '@angular/core';
3
+ import { NgTemplateOutlet, Location } from '@angular/common';
4
+ import * as i1 from '@ngstarter-ui/components/core';
5
+ import { Ripple } from '@ngstarter-ui/components/core';
6
+ import { signalStore, withState, withMethods, patchState } from '@ngrx/signals';
7
+ import { Router, NavigationEnd } from '@angular/router';
8
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
9
+
10
+ class NavigationItemIconDirective {
11
+ templateRef = inject(TemplateRef, { optional: true });
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationItemIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
13
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: NavigationItemIconDirective, isStandalone: true, selector: "[ngsNavigationItemIcon]", host: { classAttribute: "ngs-navigation-item-icon" }, exportAs: ["ngsNavigationItemIcon"], ngImport: i0 });
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationItemIconDirective, decorators: [{
16
+ type: Directive,
17
+ args: [{
18
+ selector: '[ngsNavigationItemIcon]',
19
+ exportAs: 'ngsNavigationItemIcon',
20
+ host: {
21
+ 'class': 'ngs-navigation-item-icon'
22
+ }
23
+ }]
24
+ }] });
25
+
26
+ const NAVIGATION = new InjectionToken('NAVIGATION');
27
+ const NAVIGATION_GROUP = new InjectionToken('NAVIGATION_GROUP');
28
+
29
+ const initialState = {
30
+ activeKey: null,
31
+ activeGroupKey: null
32
+ };
33
+ const NavigationStore = signalStore(withState(initialState), withMethods((store) => ({
34
+ setActiveKey(activeKey) {
35
+ patchState(store, {
36
+ activeKey
37
+ });
38
+ },
39
+ setActiveGroupKey(activeGroupKey) {
40
+ patchState(store, {
41
+ activeGroupKey
42
+ });
43
+ },
44
+ })));
45
+
46
+ let nextKey = 0;
47
+ class NavigationItem {
48
+ store = inject(NavigationStore);
49
+ _navigation = inject(NAVIGATION);
50
+ _elementRef = inject(ElementRef);
51
+ parentGroup = inject(NAVIGATION_GROUP, { optional: true });
52
+ iconRef = contentChild(NavigationItemIconDirective, ...(ngDevMode ? [{ debugName: "iconRef" }] : /* istanbul ignore next */ []));
53
+ active = computed(() => {
54
+ return this.store.activeKey() === this.key();
55
+ }, ...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
56
+ get api() {
57
+ return {
58
+ isActive: () => this.active()
59
+ };
60
+ }
61
+ key = input(`ngs-navigation-item-${nextKey++}`, ...(ngDevMode ? [{ debugName: "key" }] : /* istanbul ignore next */ []));
62
+ forceActive = input(false, { ...(ngDevMode ? { debugName: "forceActive" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
63
+ badgeTextOnly = input(false, { ...(ngDevMode ? { debugName: "badgeTextOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
64
+ click(event) {
65
+ if (!this.key()) {
66
+ return;
67
+ }
68
+ this._navigation.itemClicked.emit(this.key());
69
+ this.store.setActiveKey(this.key());
70
+ if (this.parentGroup) {
71
+ this.store.setActiveGroupKey(this.parentGroup.key());
72
+ }
73
+ else {
74
+ this.store.setActiveGroupKey(null);
75
+ }
76
+ }
77
+ get _hostElement() {
78
+ return this._elementRef;
79
+ }
80
+ get iconRefTemplate() {
81
+ return this.iconRef()?.templateRef;
82
+ }
83
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
84
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: NavigationItem, isStandalone: true, selector: "ngs-navigation-item,[ngs-navigation-item]", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, forceActive: { classPropertyName: "forceActive", publicName: "forceActive", isSignal: true, isRequired: false, transformFunction: null }, badgeTextOnly: { classPropertyName: "badgeTextOnly", publicName: "badgeTextOnly", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "click($event)" }, properties: { "class.is-active": "forceActive() || active()", "class.is-badge-text-only": "badgeTextOnly()" }, classAttribute: "ngs-navigation-item" }, queries: [{ propertyName: "iconRef", first: true, predicate: NavigationItemIconDirective, descendants: true, isSignal: true }], exportAs: ["ngsNavigationItem"], ngImport: i0, template: "<div class=\"inner\" ngsRipple>\n <div class=\"icon\">\n <ng-content select=\"[ngsNavigationItemIcon]\"/>\n @if (iconRef()) {\n <ng-container [ngTemplateOutlet]=\"iconRefTemplate\"/>\n }\n </div>\n <span class=\"text grow\"><ng-content/></span>\n <div class=\"badge\">\n <ng-content select=\"[ngsNavigationItemBadge]\"/>\n </div>\n</div>\n", styles: [":host{display:block;text-decoration:none;position:relative}:host .inner{display:flex;align-items:center;min-width:0;white-space:nowrap;flex:none;cursor:pointer;-webkit-user-select:none;user-select:none;margin:0;width:var(--ngs-navigation-item-width);background:var(--ngs-navigation-item-bg);min-height:var(--ngs-navigation-item-height);padding:var(--ngs-navigation-item-padding);font-size:var(--ngs-navigation-item-font-size);border-radius:var(--ngs-navigation-item-border-radius);font-weight:var(--ngs-navigation-item-font-weight);color:var(--ngs-navigation-item-color);gap:var(--ngs-navigation-item-gap)}:host:hover{text-decoration:none}:host:hover .inner{transition:background-color .2s;background:var(--ngs-navigation-item-hover-bg);color:var(--ngs-navigation-item-hover-color)}:host .text{overflow:hidden;text-overflow:ellipsis}:host .badge:empty{display:none}:host .badge{display:inline-flex;flex:none;border-radius:calc(infinity * 1px);height:calc(var(--spacing, .25rem) * 5);min-width:calc(var(--spacing, .25rem) * 5);align-items:center;justify-content:center;font-size:.75rem;padding:0 calc(var(--spacing, .25rem) * 1.5);font-weight:700}:host:not(.is-badge-text-only) .badge{font-weight:600;font-size:.625rem;background:var(--color-primary);color:var(--color-on-primary)}:host .icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--ngs-navigation-item-icon-width);color:var(--ngs-navigation-item-icon-color)}:host .icon:empty{display:none}:host.is-active .inner,:host.is-active:hover .inner{background:var(--ngs-navigation-item-active-bg);color:var(--ngs-navigation-item-active-color)}:host:not(.is-active):hover{text-decoration:none}:host:not(.is-active):hover .icon{color:var(--ngs-navigation-item-hover-icon-color)}:host.is-active .icon{color:var(--ngs-navigation-item-active-icon-color)}:host-context(.ngs-navigation-group-menu) .inner{margin:var(--ngs-navigation-nested-item-margin);width:calc(var(--ngs-navigation-item-width) - var(--ngs-navigation-nested-item-margin));background:var(--ngs-navigation-nested-item-bg);min-height:var(--ngs-navigation-nested-item-height);padding:var(--ngs-navigation-nested-item-padding);color:var(--ngs-navigation-nested-item-color)}:host-context(.ngs-navigation-group-menu):hover .inner{background:var(--ngs-navigation-nested-item-hover-bg);color:var(--ngs-navigation-nested-item-hover-color)}:host-context(.ngs-navigation-group-menu).is-active .inner,:host-context(.ngs-navigation-group-menu).is-active:hover .inner{background:var(--ngs-navigation-nested-item-active-bg);color:var(--ngs-navigation-nested-item-active-color)}:host-context(.ngs-navigation-group-menu):not(:last-child):before{content:\"\";position:absolute;top:0;left:20px;bottom:-10px;width:1px;background:var(--ngs-navigation-group-tree-lines-color);z-index:0}:host-context(.ngs-navigation-group-menu):after{content:\"\";position:absolute;top:0;left:20px;width:calc(var(--ngs-navigation-nested-item-height) / 1.5);height:calc(var(--ngs-navigation-nested-item-height) / 2);border-bottom-left-radius:calc(var(--ngs-navigation-nested-item-height) / 4);border-left:1px solid var(--ngs-navigation-group-tree-lines-color);border-bottom:1px solid var(--ngs-navigation-group-tree-lines-color)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: Ripple, selector: "[ngsRipple]", inputs: ["ngsRippleColor", "ngsRippleUnbounded", "ngsRippleCentered", "ngsRippleRadius", "ngsRippleAnimation", "ngsRippleDisabled", "ngsRippleTrigger"], outputs: ["ngsRippleCenteredChange", "ngsRippleDisabledChange", "ngsRippleTriggerChange"], exportAs: ["ngsRipple"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
85
+ }
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationItem, decorators: [{
87
+ type: Component,
88
+ args: [{ selector: 'ngs-navigation-item,[ngs-navigation-item]', exportAs: 'ngsNavigationItem', imports: [
89
+ Ripple,
90
+ NgTemplateOutlet
91
+ ], changeDetection: ChangeDetectionStrategy.OnPush, host: {
92
+ 'class': 'ngs-navigation-item',
93
+ '[class.is-active]': 'forceActive() || active()',
94
+ '[class.is-badge-text-only]': 'badgeTextOnly()',
95
+ '(click)': 'click($event)'
96
+ }, template: "<div class=\"inner\" ngsRipple>\n <div class=\"icon\">\n <ng-content select=\"[ngsNavigationItemIcon]\"/>\n @if (iconRef()) {\n <ng-container [ngTemplateOutlet]=\"iconRefTemplate\"/>\n }\n </div>\n <span class=\"text grow\"><ng-content/></span>\n <div class=\"badge\">\n <ng-content select=\"[ngsNavigationItemBadge]\"/>\n </div>\n</div>\n", styles: [":host{display:block;text-decoration:none;position:relative}:host .inner{display:flex;align-items:center;min-width:0;white-space:nowrap;flex:none;cursor:pointer;-webkit-user-select:none;user-select:none;margin:0;width:var(--ngs-navigation-item-width);background:var(--ngs-navigation-item-bg);min-height:var(--ngs-navigation-item-height);padding:var(--ngs-navigation-item-padding);font-size:var(--ngs-navigation-item-font-size);border-radius:var(--ngs-navigation-item-border-radius);font-weight:var(--ngs-navigation-item-font-weight);color:var(--ngs-navigation-item-color);gap:var(--ngs-navigation-item-gap)}:host:hover{text-decoration:none}:host:hover .inner{transition:background-color .2s;background:var(--ngs-navigation-item-hover-bg);color:var(--ngs-navigation-item-hover-color)}:host .text{overflow:hidden;text-overflow:ellipsis}:host .badge:empty{display:none}:host .badge{display:inline-flex;flex:none;border-radius:calc(infinity * 1px);height:calc(var(--spacing, .25rem) * 5);min-width:calc(var(--spacing, .25rem) * 5);align-items:center;justify-content:center;font-size:.75rem;padding:0 calc(var(--spacing, .25rem) * 1.5);font-weight:700}:host:not(.is-badge-text-only) .badge{font-weight:600;font-size:.625rem;background:var(--color-primary);color:var(--color-on-primary)}:host .icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--ngs-navigation-item-icon-width);color:var(--ngs-navigation-item-icon-color)}:host .icon:empty{display:none}:host.is-active .inner,:host.is-active:hover .inner{background:var(--ngs-navigation-item-active-bg);color:var(--ngs-navigation-item-active-color)}:host:not(.is-active):hover{text-decoration:none}:host:not(.is-active):hover .icon{color:var(--ngs-navigation-item-hover-icon-color)}:host.is-active .icon{color:var(--ngs-navigation-item-active-icon-color)}:host-context(.ngs-navigation-group-menu) .inner{margin:var(--ngs-navigation-nested-item-margin);width:calc(var(--ngs-navigation-item-width) - var(--ngs-navigation-nested-item-margin));background:var(--ngs-navigation-nested-item-bg);min-height:var(--ngs-navigation-nested-item-height);padding:var(--ngs-navigation-nested-item-padding);color:var(--ngs-navigation-nested-item-color)}:host-context(.ngs-navigation-group-menu):hover .inner{background:var(--ngs-navigation-nested-item-hover-bg);color:var(--ngs-navigation-nested-item-hover-color)}:host-context(.ngs-navigation-group-menu).is-active .inner,:host-context(.ngs-navigation-group-menu).is-active:hover .inner{background:var(--ngs-navigation-nested-item-active-bg);color:var(--ngs-navigation-nested-item-active-color)}:host-context(.ngs-navigation-group-menu):not(:last-child):before{content:\"\";position:absolute;top:0;left:20px;bottom:-10px;width:1px;background:var(--ngs-navigation-group-tree-lines-color);z-index:0}:host-context(.ngs-navigation-group-menu):after{content:\"\";position:absolute;top:0;left:20px;width:calc(var(--ngs-navigation-nested-item-height) / 1.5);height:calc(var(--ngs-navigation-nested-item-height) / 2);border-bottom-left-radius:calc(var(--ngs-navigation-nested-item-height) / 4);border-left:1px solid var(--ngs-navigation-group-tree-lines-color);border-bottom:1px solid var(--ngs-navigation-group-tree-lines-color)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
97
+ }], propDecorators: { iconRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NavigationItemIconDirective), { isSignal: true }] }], key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }], forceActive: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceActive", required: false }] }], badgeTextOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "badgeTextOnly", required: false }] }] } });
98
+
99
+ class NavigationItemDefDirective {
100
+ template;
101
+ when = input(undefined, { ...(ngDevMode ? { debugName: "when" } : /* istanbul ignore next */ {}), alias: 'ngsNavigationItemDef' });
102
+ constructor(template) {
103
+ this.template = template;
104
+ }
105
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationItemDefDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
106
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: NavigationItemDefDirective, isStandalone: true, selector: "[ngsNavigationItemDef]", inputs: { when: { classPropertyName: "when", publicName: "ngsNavigationItemDef", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
107
+ }
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationItemDefDirective, decorators: [{
109
+ type: Directive,
110
+ args: [{
111
+ selector: '[ngsNavigationItemDef]',
112
+ standalone: true
113
+ }]
114
+ }], ctorParameters: () => [{ type: i0.TemplateRef }], propDecorators: { when: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngsNavigationItemDef", required: false }] }] } });
115
+
116
+ class Navigation {
117
+ store = inject(NavigationStore);
118
+ _elementRef = inject(ElementRef);
119
+ _renderer = inject(Renderer2);
120
+ location = inject(Location);
121
+ router = inject(Router);
122
+ destroyRef = inject(DestroyRef);
123
+ _items = contentChildren(NavigationItem, { ...(ngDevMode ? { debugName: "_items" } : /* istanbul ignore next */ {}), descendants: true });
124
+ _defs = contentChildren(NavigationItemDefDirective, ...(ngDevMode ? [{ debugName: "_defs" }] : /* istanbul ignore next */ []));
125
+ activeKey = input(...(ngDevMode ? [undefined, { debugName: "activeKey" }] : /* istanbul ignore next */ []));
126
+ dataSource = input(...(ngDevMode ? [undefined, { debugName: "dataSource" }] : /* istanbul ignore next */ []));
127
+ itemTypeProperty = input('type', ...(ngDevMode ? [{ debugName: "itemTypeProperty" }] : /* istanbul ignore next */ []));
128
+ appearance = input(...(ngDevMode ? [undefined, { debugName: "appearance" }] : /* istanbul ignore next */ []));
129
+ activateByRoute = input(false, { ...(ngDevMode ? { debugName: "activateByRoute" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
130
+ autoScrollToActiveItem = input(false, { ...(ngDevMode ? { debugName: "autoScrollToActiveItem" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
131
+ itemClicked = output();
132
+ constructor() {
133
+ // scroll to the active item if it is not visible in the viewport
134
+ afterNextRender(() => {
135
+ if (!this.autoScrollToActiveItem()) {
136
+ return;
137
+ }
138
+ this._items().forEach((item) => {
139
+ if (item.active()) {
140
+ let parentElement = this._elementRef.nativeElement.parentNode || null;
141
+ const itemElement = item._hostElement.nativeElement;
142
+ while (parentElement !== null) {
143
+ if (this._hasScroll(parentElement)) {
144
+ if (!this._isScrolledIntoView(itemElement, parentElement)) {
145
+ const parentRect = parentElement.getBoundingClientRect();
146
+ const elementRect = itemElement.getBoundingClientRect();
147
+ parentElement.scrollTop = elementRect.top - parentRect.height / 2;
148
+ }
149
+ parentElement = null;
150
+ }
151
+ else {
152
+ parentElement = parentElement.parentNode || null;
153
+ }
154
+ }
155
+ }
156
+ });
157
+ });
158
+ }
159
+ ngAfterContentInit() {
160
+ if (!this.activateByRoute()) {
161
+ return;
162
+ }
163
+ this.findActiveItemByRoute();
164
+ this.router
165
+ .events
166
+ .pipe(takeUntilDestroyed(this.destroyRef))
167
+ .subscribe((event) => {
168
+ if (event instanceof NavigationEnd) {
169
+ this.findActiveItemByRoute();
170
+ }
171
+ });
172
+ }
173
+ ngOnChanges(changes) {
174
+ if (changes['activeKey']) {
175
+ this.store.setActiveKey(changes['activeKey'].currentValue);
176
+ }
177
+ if (changes['appearance']) {
178
+ this._renderer.setAttribute(this._elementRef.nativeElement, 'data-appearance', changes['appearance'].currentValue);
179
+ }
180
+ }
181
+ _hasScroll(element) {
182
+ if (!element.getBoundingClientRect) {
183
+ return false;
184
+ }
185
+ return Math.ceil(element.scrollHeight) > Math.ceil(element.getBoundingClientRect().height);
186
+ }
187
+ _isScrolledIntoView(element, parent) {
188
+ const elementRect = element.getBoundingClientRect();
189
+ const parentRect = parent.getBoundingClientRect();
190
+ return (elementRect.top >= 0) && (elementRect.bottom <= parentRect.height);
191
+ }
192
+ findActiveItemByRoute() {
193
+ const activeItem = this._items().find((item) => {
194
+ const element = item._hostElement.nativeElement;
195
+ if (element.tagName === 'A') {
196
+ const href = element.getAttribute('href');
197
+ if (href) {
198
+ if (href === this.location.path()) {
199
+ return true;
200
+ }
201
+ return href !== '/' && this.location.path().includes(href);
202
+ }
203
+ }
204
+ return null;
205
+ });
206
+ if (activeItem) {
207
+ this.store.setActiveKey(activeItem.key());
208
+ }
209
+ }
210
+ getTemplate(item) {
211
+ const def = this._defs().find(d => {
212
+ const when = d.when();
213
+ if (when) {
214
+ if (typeof when === 'function') {
215
+ return when(item);
216
+ }
217
+ return item[this.itemTypeProperty()] === when;
218
+ }
219
+ return false;
220
+ }) || this._defs().find(d => !d.when());
221
+ return def?.template || null;
222
+ }
223
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: Navigation, deps: [], target: i0.ɵɵFactoryTarget.Component });
224
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: Navigation, isStandalone: true, selector: "ngs-navigation", inputs: { activeKey: { classPropertyName: "activeKey", publicName: "activeKey", isSignal: true, isRequired: false, transformFunction: null }, dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: false, transformFunction: null }, itemTypeProperty: { classPropertyName: "itemTypeProperty", publicName: "itemTypeProperty", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, activateByRoute: { classPropertyName: "activateByRoute", publicName: "activateByRoute", isSignal: true, isRequired: false, transformFunction: null }, autoScrollToActiveItem: { classPropertyName: "autoScrollToActiveItem", publicName: "autoScrollToActiveItem", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClicked: "itemClicked" }, host: { classAttribute: "ngs-navigation" }, providers: [
225
+ NavigationStore,
226
+ {
227
+ provide: NAVIGATION,
228
+ useExisting: forwardRef(() => Navigation),
229
+ }
230
+ ], queries: [{ propertyName: "_items", predicate: NavigationItem, descendants: true, isSignal: true }, { propertyName: "_defs", predicate: NavigationItemDefDirective, isSignal: true }], exportAs: ["ngsNavigation"], usesOnChanges: true, ngImport: i0, template: "@if (dataSource(); as data) {\n @for (item of data; track item) {\n <ng-container *ngTemplateOutlet=\"getTemplate(item); context: { $implicit: item }\" />\n }\n} @else {\n <ng-content/>\n}\n", styles: [":host{--ngs-navigation-bg: inherit;--ngs-navigation-items-gap: calc(var(--spacing, .25rem) * .5);--ngs-navigation-item-width: 100%;--ngs-navigation-item-bg: transparent;--ngs-navigation-item-height: calc(var(--spacing, .25rem) * 11);--ngs-navigation-item-padding: 0 calc(var(--spacing, .25rem) * 3);--ngs-navigation-item-font-size: .875rem;--ngs-navigation-item-border-radius: calc(var(--spacing, .25rem) * 3);--ngs-navigation-item-border-width: 1px;--ngs-navigation-item-border-color: transparent;--ngs-navigation-item-font-weight: 500;--ngs-navigation-item-color: var(--nav-item-color);--ngs-navigation-item-hover-bg: var(--nav-item-hover-bg);--ngs-navigation-item-active-bg: var(--nav-item-active-bg);--ngs-navigation-item-hover-color: var(--nav-item-hover-color);--ngs-navigation-item-active-color: var(--nav-item-active-color);--ngs-navigation-item-icon-color: var(--nav-item-icon-color);--ngs-navigation-item-icon-width: 27px;--ngs-navigation-item-hover-icon-color: var(--nav-item-hover-icon-color);--ngs-navigation-item-active-icon-color: var(--nav-item-active-icon-color);--ngs-navigation-item-icon-size: calc(var(--spacing, .25rem) * 6);--ngs-navigation-item-gap: calc(var(--spacing, .25rem) * 2.5);--ngs-navigation-item-has-icon-padding-start: calc(var(--spacing, .25rem) * 2.5);--ngs-navigation-heading-color: var(--color-on-surface-variant);--ngs-navigation-heading-font-size: .625rem;--ngs-navigation-heading-font-weight: 700;--ngs-navigation-heading-padding: 0 calc(var(--spacing, .25rem) * 3);--ngs-navigation-heading-margin-bottom: calc(var(--spacing, .25rem) * 2);--ngs-navigation-heading-after-margin: calc(var(--spacing, .25rem) * 8);--ngs-navigation-heading-text-transform: uppercase;--ngs-navigation-divider-height: 1px;--ngs-navigation-divider-bg: var(--color-subtle);--ngs-navigation-divider-margin: calc(var(--spacing, .25rem) * 6) 0;--ngs-navigation-group-toggle-has-icon-padding-end: calc(var(--spacing, .25rem) * 1.5);--ngs-navigation-group-toggle-icon-color: var(--color-on-surface-variant);--ngs-navigation-group-toggle-icon-position-end: calc(var(--spacing, .25rem) * 3);--ngs-navigation-group-toggle-icon-size: calc(var(--spacing, .25rem) * 4);--ngs-navigation-group-menu-padding-start: 0;--ngs-navigation-group-toggle-bg: transparent;--ngs-navigation-group-toggle-active-bg: var(--nav-item-active-bg);--ngs-navigation-group-toggle-active-color: var(--nav-item-active-color);--ngs-navigation-nested-item-bg: transparent;--ngs-navigation-nested-item-height: calc(var(--spacing, .25rem) * 11);--ngs-navigation-nested-item-padding: 0 calc(var(--spacing, .25rem) * 3);--ngs-navigation-nested-item-margin: 0 0 0 52px;--ngs-navigation-nested-item-border-radius: 0;--ngs-navigation-nested-item-color: var(--nav-item-color);--ngs-navigation-nested-item-hover-bg: var(--nav-item-hover-bg);--ngs-navigation-nested-item-active-bg: var(--nav-item-active-bg);--ngs-navigation-nested-item-hover-color: var(--nav-item-hover-color);--ngs-navigation-nested-item-active-color: var(--nav-item-active-color);--ngs-navigation-nested-item-indicator-width: calc(var(--spacing, .25rem) * 3.5);--ngs-navigation-nested-item-indicator-height: calc(var(--spacing, .25rem) * .5);--ngs-navigation-nested-item-indicator-bg: var(--color-outline);--ngs-navigation-nested-item-indicator-position-start: calc(calc(var(--spacing, .25rem) * 2.5) * -1);--ngs-navigation-group-active-bg: transparent;--ngs-navigation-group-border-radius: 0;--ngs-navigation-group-tree-lines-color: var(--color-subtle);--ngs-navigation-heading-text-align: start;display:flex;flex-direction:column;gap:var(--ngs-navigation-items-gap);background:var(--ngs-navigation-bg)}:host ::ng-deep .ngs-navigation-group-toggle-icon{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:host ::ng-deep>*+.ngs-navigation-heading{margin-top:var(--ngs-navigation-heading-after-margin)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
231
+ }
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: Navigation, decorators: [{
233
+ type: Component,
234
+ args: [{ selector: 'ngs-navigation', exportAs: 'ngsNavigation', imports: [
235
+ NgTemplateOutlet
236
+ ], providers: [
237
+ NavigationStore,
238
+ {
239
+ provide: NAVIGATION,
240
+ useExisting: forwardRef(() => Navigation),
241
+ }
242
+ ], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, host: {
243
+ 'class': 'ngs-navigation'
244
+ }, template: "@if (dataSource(); as data) {\n @for (item of data; track item) {\n <ng-container *ngTemplateOutlet=\"getTemplate(item); context: { $implicit: item }\" />\n }\n} @else {\n <ng-content/>\n}\n", styles: [":host{--ngs-navigation-bg: inherit;--ngs-navigation-items-gap: calc(var(--spacing, .25rem) * .5);--ngs-navigation-item-width: 100%;--ngs-navigation-item-bg: transparent;--ngs-navigation-item-height: calc(var(--spacing, .25rem) * 11);--ngs-navigation-item-padding: 0 calc(var(--spacing, .25rem) * 3);--ngs-navigation-item-font-size: .875rem;--ngs-navigation-item-border-radius: calc(var(--spacing, .25rem) * 3);--ngs-navigation-item-border-width: 1px;--ngs-navigation-item-border-color: transparent;--ngs-navigation-item-font-weight: 500;--ngs-navigation-item-color: var(--nav-item-color);--ngs-navigation-item-hover-bg: var(--nav-item-hover-bg);--ngs-navigation-item-active-bg: var(--nav-item-active-bg);--ngs-navigation-item-hover-color: var(--nav-item-hover-color);--ngs-navigation-item-active-color: var(--nav-item-active-color);--ngs-navigation-item-icon-color: var(--nav-item-icon-color);--ngs-navigation-item-icon-width: 27px;--ngs-navigation-item-hover-icon-color: var(--nav-item-hover-icon-color);--ngs-navigation-item-active-icon-color: var(--nav-item-active-icon-color);--ngs-navigation-item-icon-size: calc(var(--spacing, .25rem) * 6);--ngs-navigation-item-gap: calc(var(--spacing, .25rem) * 2.5);--ngs-navigation-item-has-icon-padding-start: calc(var(--spacing, .25rem) * 2.5);--ngs-navigation-heading-color: var(--color-on-surface-variant);--ngs-navigation-heading-font-size: .625rem;--ngs-navigation-heading-font-weight: 700;--ngs-navigation-heading-padding: 0 calc(var(--spacing, .25rem) * 3);--ngs-navigation-heading-margin-bottom: calc(var(--spacing, .25rem) * 2);--ngs-navigation-heading-after-margin: calc(var(--spacing, .25rem) * 8);--ngs-navigation-heading-text-transform: uppercase;--ngs-navigation-divider-height: 1px;--ngs-navigation-divider-bg: var(--color-subtle);--ngs-navigation-divider-margin: calc(var(--spacing, .25rem) * 6) 0;--ngs-navigation-group-toggle-has-icon-padding-end: calc(var(--spacing, .25rem) * 1.5);--ngs-navigation-group-toggle-icon-color: var(--color-on-surface-variant);--ngs-navigation-group-toggle-icon-position-end: calc(var(--spacing, .25rem) * 3);--ngs-navigation-group-toggle-icon-size: calc(var(--spacing, .25rem) * 4);--ngs-navigation-group-menu-padding-start: 0;--ngs-navigation-group-toggle-bg: transparent;--ngs-navigation-group-toggle-active-bg: var(--nav-item-active-bg);--ngs-navigation-group-toggle-active-color: var(--nav-item-active-color);--ngs-navigation-nested-item-bg: transparent;--ngs-navigation-nested-item-height: calc(var(--spacing, .25rem) * 11);--ngs-navigation-nested-item-padding: 0 calc(var(--spacing, .25rem) * 3);--ngs-navigation-nested-item-margin: 0 0 0 52px;--ngs-navigation-nested-item-border-radius: 0;--ngs-navigation-nested-item-color: var(--nav-item-color);--ngs-navigation-nested-item-hover-bg: var(--nav-item-hover-bg);--ngs-navigation-nested-item-active-bg: var(--nav-item-active-bg);--ngs-navigation-nested-item-hover-color: var(--nav-item-hover-color);--ngs-navigation-nested-item-active-color: var(--nav-item-active-color);--ngs-navigation-nested-item-indicator-width: calc(var(--spacing, .25rem) * 3.5);--ngs-navigation-nested-item-indicator-height: calc(var(--spacing, .25rem) * .5);--ngs-navigation-nested-item-indicator-bg: var(--color-outline);--ngs-navigation-nested-item-indicator-position-start: calc(calc(var(--spacing, .25rem) * 2.5) * -1);--ngs-navigation-group-active-bg: transparent;--ngs-navigation-group-border-radius: 0;--ngs-navigation-group-tree-lines-color: var(--color-subtle);--ngs-navigation-heading-text-align: start;display:flex;flex-direction:column;gap:var(--ngs-navigation-items-gap);background:var(--ngs-navigation-bg)}:host ::ng-deep .ngs-navigation-group-toggle-icon{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:host ::ng-deep>*+.ngs-navigation-heading{margin-top:var(--ngs-navigation-heading-after-margin)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
245
+ }], ctorParameters: () => [], propDecorators: { _items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => NavigationItem), { ...{ descendants: true }, isSignal: true }] }], _defs: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => NavigationItemDefDirective), { isSignal: true }] }], activeKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeKey", required: false }] }], dataSource: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataSource", required: false }] }], itemTypeProperty: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemTypeProperty", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], activateByRoute: [{ type: i0.Input, args: [{ isSignal: true, alias: "activateByRoute", required: false }] }], autoScrollToActiveItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoScrollToActiveItem", required: false }] }], itemClicked: [{ type: i0.Output, args: ["itemClicked"] }] } });
246
+
247
+ class NavigationHeading {
248
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationHeading, deps: [], target: i0.ɵɵFactoryTarget.Component });
249
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: NavigationHeading, isStandalone: true, selector: "ngs-navigation-heading", host: { classAttribute: "ngs-navigation-heading" }, exportAs: ["ngsNavigationHeading"], ngImport: i0, template: "<div class=\"content\"><ng-content/></div>\n", styles: [":host{display:block;text-transform:var(--ngs-navigation-heading-text-transform);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--ngs-navigation-heading-color);font-size:var(--ngs-navigation-heading-font-size);font-weight:var(--ngs-navigation-heading-font-weight);padding:var(--ngs-navigation-heading-padding);margin-bottom:var(--ngs-navigation-heading-margin-bottom);text-align:var(--ngs-navigation-heading-text-align);height:calc(var(--spacing, .25rem) * 6);align-items:center}:host:first-child{margin-top:0}:host .content{overflow:hidden;text-overflow:ellipsis}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
250
+ }
251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationHeading, decorators: [{
252
+ type: Component,
253
+ args: [{ selector: 'ngs-navigation-heading', exportAs: 'ngsNavigationHeading', host: {
254
+ 'class': 'ngs-navigation-heading'
255
+ }, template: "<div class=\"content\"><ng-content/></div>\n", styles: [":host{display:block;text-transform:var(--ngs-navigation-heading-text-transform);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--ngs-navigation-heading-color);font-size:var(--ngs-navigation-heading-font-size);font-weight:var(--ngs-navigation-heading-font-weight);padding:var(--ngs-navigation-heading-padding);margin-bottom:var(--ngs-navigation-heading-margin-bottom);text-align:var(--ngs-navigation-heading-text-align);height:calc(var(--spacing, .25rem) * 6);align-items:center}:host:first-child{margin-top:0}:host .content{overflow:hidden;text-overflow:ellipsis}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
256
+ }] });
257
+
258
+ class NavigationDivider {
259
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationDivider, deps: [], target: i0.ɵɵFactoryTarget.Component });
260
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: NavigationDivider, isStandalone: true, selector: "ngs-navigation-divider", host: { classAttribute: "ngs-navigation-divider" }, exportAs: ["ngsNavigationDivider"], ngImport: i0, template: '', isInline: true, styles: [":host{display:block;height:var(--ngs-navigation-divider-height);background:var(--ngs-navigation-divider-bg);margin:var(--ngs-navigation-divider-margin)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
261
+ }
262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationDivider, decorators: [{
263
+ type: Component,
264
+ args: [{ selector: 'ngs-navigation-divider', exportAs: 'ngsNavigationDivider', template: '', host: {
265
+ 'class': 'ngs-navigation-divider'
266
+ }, styles: [":host{display:block;height:var(--ngs-navigation-divider-height);background:var(--ngs-navigation-divider-bg);margin:var(--ngs-navigation-divider-margin)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
267
+ }] });
268
+
269
+ let nextId = 0;
270
+ class NavigationGroup {
271
+ key = signal(`ngs-navigation-group-${nextId++}`, ...(ngDevMode ? [{ debugName: "key" }] : /* istanbul ignore next */ []));
272
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
273
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: NavigationGroup, isStandalone: true, selector: "ngs-navigation-group", host: { classAttribute: "ngs-navigation-group" }, providers: [
274
+ {
275
+ provide: NAVIGATION_GROUP,
276
+ useExisting: forwardRef(() => NavigationGroup)
277
+ }
278
+ ], exportAs: ["ngsNavigationGroup"], ngImport: i0, template: "<ng-content select=\"ngs-navigation-group-toggle\"/>\n<ng-content select=\"ngs-navigation-group-menu\"/>\n", styles: [":host{display:block;border-radius:var(--ngs-navigation-group-border-radius)}:host:has(.ngs-navigation-group-toggle.is-active){background:var(--ngs-navigation-group-active-bg)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] });
279
+ }
280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationGroup, decorators: [{
281
+ type: Component,
282
+ args: [{ selector: 'ngs-navigation-group', exportAs: 'ngsNavigationGroup', providers: [
283
+ {
284
+ provide: NAVIGATION_GROUP,
285
+ useExisting: forwardRef(() => NavigationGroup)
286
+ }
287
+ ], host: {
288
+ 'class': 'ngs-navigation-group'
289
+ }, template: "<ng-content select=\"ngs-navigation-group-toggle\"/>\n<ng-content select=\"ngs-navigation-group-menu\"/>\n", styles: [":host{display:block;border-radius:var(--ngs-navigation-group-border-radius)}:host:has(.ngs-navigation-group-toggle.is-active){background:var(--ngs-navigation-group-active-bg)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
290
+ }] });
291
+
292
+ class NavigationGroupMenu {
293
+ store = inject(NavigationStore);
294
+ _group = inject(NAVIGATION_GROUP);
295
+ active = computed(() => {
296
+ return this.store.activeGroupKey() === this._group.key();
297
+ }, ...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
298
+ _items = contentChildren(NavigationItem, { ...(ngDevMode ? { debugName: "_items" } : /* istanbul ignore next */ {}), descendants: true });
299
+ _defs = contentChildren(NavigationItemDefDirective, ...(ngDevMode ? [{ debugName: "_defs" }] : /* istanbul ignore next */ []));
300
+ dataSource = input(...(ngDevMode ? [undefined, { debugName: "dataSource" }] : /* istanbul ignore next */ []));
301
+ itemTypeProperty = input('type', ...(ngDevMode ? [{ debugName: "itemTypeProperty" }] : /* istanbul ignore next */ []));
302
+ hasActiveItemInGroup = computed(() => {
303
+ const fromItems = this._items().some(item => this.store.activeKey() === item.key());
304
+ if (fromItems) {
305
+ return true;
306
+ }
307
+ const data = this.dataSource();
308
+ if (data) {
309
+ return data.some(item => this._isActive(item, this.store.activeKey()));
310
+ }
311
+ return false;
312
+ }, ...(ngDevMode ? [{ debugName: "hasActiveItemInGroup" }] : /* istanbul ignore next */ []));
313
+ ngAfterContentInit() {
314
+ this._detectGroupIsActive();
315
+ }
316
+ getTemplate(item) {
317
+ const def = this._defs().find(d => {
318
+ const whenValue = d.when();
319
+ if (whenValue) {
320
+ if (typeof whenValue === 'function') {
321
+ return whenValue(item);
322
+ }
323
+ return item[this.itemTypeProperty()] === whenValue;
324
+ }
325
+ return false;
326
+ }) || this._defs().find(d => !d.when());
327
+ return def?.template || null;
328
+ }
329
+ _detectGroupIsActive() {
330
+ if (this.hasActiveItemInGroup() && !this.active()) {
331
+ this.store.setActiveGroupKey(this._group.key());
332
+ }
333
+ else {
334
+ if (this.store.activeGroupKey() === this._group.key()) {
335
+ this.store.setActiveGroupKey(null);
336
+ }
337
+ else {
338
+ this.store.setActiveGroupKey(this._group.key());
339
+ }
340
+ }
341
+ }
342
+ _isActive(item, activeKey) {
343
+ if (item.key === activeKey) {
344
+ return true;
345
+ }
346
+ if (item.children && Array.isArray(item.children)) {
347
+ return item.children.some((child) => this._isActive(child, activeKey));
348
+ }
349
+ return false;
350
+ }
351
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationGroupMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
352
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: NavigationGroupMenu, isStandalone: true, selector: "ngs-navigation-group-menu", inputs: { dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: false, transformFunction: null }, itemTypeProperty: { classPropertyName: "itemTypeProperty", publicName: "itemTypeProperty", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-active": "active()" }, classAttribute: "ngs-navigation-group-menu" }, queries: [{ propertyName: "_items", predicate: NavigationItem, descendants: true, isSignal: true }, { propertyName: "_defs", predicate: NavigationItemDefDirective, isSignal: true }], exportAs: ["ngsNavigationGroupMenu"], ngImport: i0, template: "@if (dataSource(); as data) {\n <div class=\"inner\">\n @for (item of data; track item) {\n <ng-container *ngTemplateOutlet=\"getTemplate(item); context: { $implicit: item }\" />\n }\n </div>\n} @else {\n <div class=\"inner\">\n <ng-content/>\n </div>\n}\n", styles: [":host{position:relative;padding-inline-start:var(--ngs-navigation-group-menu-padding-start);transition:grid-template-rows .2s ease;grid-template-rows:0fr;display:grid}:host .inner{display:flex;flex-direction:column;gap:var(--ngs-navigation-items-gap);overflow:hidden}:host(.is-active){grid-template-rows:1fr;margin-top:var(--ngs-navigation-item-space-y)}:host(.is-active) .inner{padding:calc(var(--ngs-navigation-items-gap) * 2) 0 var(--ngs-navigation-items-gap) 0}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
353
+ }
354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationGroupMenu, decorators: [{
355
+ type: Component,
356
+ args: [{ selector: 'ngs-navigation-group-menu', exportAs: 'ngsNavigationGroupMenu', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
357
+ NgTemplateOutlet
358
+ ], standalone: true, host: {
359
+ 'class': 'ngs-navigation-group-menu',
360
+ '[class.is-active]': 'active()'
361
+ }, template: "@if (dataSource(); as data) {\n <div class=\"inner\">\n @for (item of data; track item) {\n <ng-container *ngTemplateOutlet=\"getTemplate(item); context: { $implicit: item }\" />\n }\n </div>\n} @else {\n <div class=\"inner\">\n <ng-content/>\n </div>\n}\n", styles: [":host{position:relative;padding-inline-start:var(--ngs-navigation-group-menu-padding-start);transition:grid-template-rows .2s ease;grid-template-rows:0fr;display:grid}:host .inner{display:flex;flex-direction:column;gap:var(--ngs-navigation-items-gap);overflow:hidden}:host(.is-active){grid-template-rows:1fr;margin-top:var(--ngs-navigation-item-space-y)}:host(.is-active) .inner{padding:calc(var(--ngs-navigation-items-gap) * 2) 0 var(--ngs-navigation-items-gap) 0}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
362
+ }], propDecorators: { _items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => NavigationItem), { ...{ descendants: true }, isSignal: true }] }], _defs: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => NavigationItemDefDirective), { isSignal: true }] }], dataSource: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataSource", required: false }] }], itemTypeProperty: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemTypeProperty", required: false }] }] } });
363
+
364
+ class NavigationGroupToggleIconDirective {
365
+ templateRef = inject(TemplateRef, { optional: true });
366
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationGroupToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
367
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: NavigationGroupToggleIconDirective, isStandalone: true, selector: "[ngsNavigationGroupToggleIcon]", host: { classAttribute: "ngs-navigation-group-toggle-icon" }, exportAs: ["ngsNavigationGroupToggleIcon"], ngImport: i0 });
368
+ }
369
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationGroupToggleIconDirective, decorators: [{
370
+ type: Directive,
371
+ args: [{
372
+ selector: '[ngsNavigationGroupToggleIcon]',
373
+ exportAs: 'ngsNavigationGroupToggleIcon',
374
+ host: {
375
+ 'class': 'ngs-navigation-group-toggle-icon'
376
+ }
377
+ }]
378
+ }] });
379
+
380
+ class NavigationGroupToggle {
381
+ store = inject(NavigationStore);
382
+ _group = inject(NAVIGATION_GROUP);
383
+ iconRef = contentChild(NavigationGroupToggleIconDirective, ...(ngDevMode ? [{ debugName: "iconRef" }] : /* istanbul ignore next */ []));
384
+ active = computed(() => {
385
+ return this.store.activeGroupKey() === this._group.key();
386
+ }, ...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
387
+ badgeTextOnly = input(false, { ...(ngDevMode ? { debugName: "badgeTextOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
388
+ toggle(event) {
389
+ event.preventDefault();
390
+ event.stopPropagation();
391
+ if (this.active()) {
392
+ this.store.setActiveGroupKey(null);
393
+ }
394
+ else {
395
+ this.store.setActiveGroupKey(this._group.key());
396
+ }
397
+ }
398
+ get iconRefTemplate() {
399
+ return this.iconRef()?.templateRef;
400
+ }
401
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationGroupToggle, deps: [], target: i0.ɵɵFactoryTarget.Component });
402
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: NavigationGroupToggle, isStandalone: true, selector: "ngs-navigation-group-toggle", inputs: { badgeTextOnly: { classPropertyName: "badgeTextOnly", publicName: "badgeTextOnly", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "toggle($event)" }, properties: { "class.is-active": "active()", "class.is-badge-text-only": "badgeTextOnly()" }, classAttribute: "ngs-navigation-group-toggle" }, queries: [{ propertyName: "iconRef", first: true, predicate: NavigationGroupToggleIconDirective, descendants: true, isSignal: true }], exportAs: ["ngsNavigationGroupToggle"], hostDirectives: [{ directive: i1.Ripple }], ngImport: i0, template: "<div class=\"icon\"><ng-content select=\"[ngsNavigationItemIcon]\"/></div>\n<span class=\"text grow\"><ng-content/></span>\n<div class=\"flex items-center gap-0.5\">\n <div class=\"badge\">\n <ng-content select=\"[ngsNavigationItemBadge]\"/>\n </div>\n <div class=\"arrow\">\n <ng-content select=\"[ngsNavigationGroupToggleIcon]\"/>\n @if (iconRef()) {\n <ng-container [ngTemplateOutlet]=\"iconRefTemplate\"/>\n }\n </div>\n</div>\n", styles: [":host{display:flex;align-items:center;min-width:0;white-space:nowrap;position:relative;flex:none;cursor:pointer;-webkit-user-select:none;user-select:none;background:var(--ngs-navigation-group-toggle-bg);min-height:var(--ngs-navigation-item-height);padding:var(--ngs-navigation-item-padding);font-size:var(--ngs-navigation-item-font-size);border-radius:var(--ngs-navigation-item-border-radius);font-weight:var(--ngs-navigation-item-font-weight);color:var(--ngs-navigation-item-color);gap:var(--ngs-navigation-item-gap);width:var(--ngs-navigation-item-width)}:host .text{overflow:hidden;text-overflow:ellipsis}:host .badge:empty{display:none}:host .badge{display:inline-flex;flex:none;border-radius:calc(infinity * 1px);height:calc(var(--spacing, .25rem) * 5);min-width:calc(var(--spacing, .25rem) * 5);align-items:center;justify-content:center;font-size:.75rem;padding:0 calc(var(--spacing, .25rem) * 1.5);font-weight:700}:host:not(.is-badge-text-only) .badge{font-weight:600;font-size:.625rem;background:var(--color-primary);color:var(--color-on-primary)}:host .icon{display:inline-flex;align-items:center;justify-content:center;width:var(--ngs-navigation-item-icon-width);color:var(--ngs-navigation-item-icon-color);flex:none}:host .icon:empty{display:none}:host .arrow{display:inline-flex;align-items:center;justify-content:center;transition:transform .2s ease;flex:none;width:calc(var(--spacing, .25rem) * 7);height:calc(var(--spacing, .25rem) * 7)}:host .arrow:empty{display:none}:host:hover{background:var(--ngs-navigation-item-hover-bg);color:var(--ngs-navigation-item-hover-color);transition:background-color .2s}:host.is-active,:host.is-active:hover{background:var(--ngs-navigation-group-toggle-active-bg);color:var(--ngs-navigation-group-toggle-active-color)}:host:not(.is-active):hover .icon{color:var(--ngs-navigation-item-hover-icon-color)}:host.is-active .icon{color:var(--ngs-navigation-group-toggle-active-color)}:host.is-active .arrow{transform:rotate(-180deg)}:host:has(.arrow:not(:empty)){padding-inline-end:var(--ngs-navigation-group-toggle-has-icon-padding-end)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
403
+ }
404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationGroupToggle, decorators: [{
405
+ type: Component,
406
+ args: [{ selector: 'ngs-navigation-group-toggle', exportAs: 'ngsNavigationGroupToggle', imports: [
407
+ NgTemplateOutlet
408
+ ], hostDirectives: [
409
+ Ripple
410
+ ], changeDetection: ChangeDetectionStrategy.OnPush, host: {
411
+ 'class': 'ngs-navigation-group-toggle',
412
+ '[class.is-active]': 'active()',
413
+ '[class.is-badge-text-only]': 'badgeTextOnly()',
414
+ '(click)': 'toggle($event)'
415
+ }, template: "<div class=\"icon\"><ng-content select=\"[ngsNavigationItemIcon]\"/></div>\n<span class=\"text grow\"><ng-content/></span>\n<div class=\"flex items-center gap-0.5\">\n <div class=\"badge\">\n <ng-content select=\"[ngsNavigationItemBadge]\"/>\n </div>\n <div class=\"arrow\">\n <ng-content select=\"[ngsNavigationGroupToggleIcon]\"/>\n @if (iconRef()) {\n <ng-container [ngTemplateOutlet]=\"iconRefTemplate\"/>\n }\n </div>\n</div>\n", styles: [":host{display:flex;align-items:center;min-width:0;white-space:nowrap;position:relative;flex:none;cursor:pointer;-webkit-user-select:none;user-select:none;background:var(--ngs-navigation-group-toggle-bg);min-height:var(--ngs-navigation-item-height);padding:var(--ngs-navigation-item-padding);font-size:var(--ngs-navigation-item-font-size);border-radius:var(--ngs-navigation-item-border-radius);font-weight:var(--ngs-navigation-item-font-weight);color:var(--ngs-navigation-item-color);gap:var(--ngs-navigation-item-gap);width:var(--ngs-navigation-item-width)}:host .text{overflow:hidden;text-overflow:ellipsis}:host .badge:empty{display:none}:host .badge{display:inline-flex;flex:none;border-radius:calc(infinity * 1px);height:calc(var(--spacing, .25rem) * 5);min-width:calc(var(--spacing, .25rem) * 5);align-items:center;justify-content:center;font-size:.75rem;padding:0 calc(var(--spacing, .25rem) * 1.5);font-weight:700}:host:not(.is-badge-text-only) .badge{font-weight:600;font-size:.625rem;background:var(--color-primary);color:var(--color-on-primary)}:host .icon{display:inline-flex;align-items:center;justify-content:center;width:var(--ngs-navigation-item-icon-width);color:var(--ngs-navigation-item-icon-color);flex:none}:host .icon:empty{display:none}:host .arrow{display:inline-flex;align-items:center;justify-content:center;transition:transform .2s ease;flex:none;width:calc(var(--spacing, .25rem) * 7);height:calc(var(--spacing, .25rem) * 7)}:host .arrow:empty{display:none}:host:hover{background:var(--ngs-navigation-item-hover-bg);color:var(--ngs-navigation-item-hover-color);transition:background-color .2s}:host.is-active,:host.is-active:hover{background:var(--ngs-navigation-group-toggle-active-bg);color:var(--ngs-navigation-group-toggle-active-color)}:host:not(.is-active):hover .icon{color:var(--ngs-navigation-item-hover-icon-color)}:host.is-active .icon{color:var(--ngs-navigation-group-toggle-active-color)}:host.is-active .arrow{transform:rotate(-180deg)}:host:has(.arrow:not(:empty)){padding-inline-end:var(--ngs-navigation-group-toggle-has-icon-padding-end)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
416
+ }], propDecorators: { iconRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NavigationGroupToggleIconDirective), { isSignal: true }] }], badgeTextOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "badgeTextOnly", required: false }] }] } });
417
+
418
+ class NavigationItemBadgeDirective {
419
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationItemBadgeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
420
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: NavigationItemBadgeDirective, isStandalone: true, selector: "[ngsNavigationItemBadge]", host: { classAttribute: "ngs-navigation-item-badge" }, exportAs: ["ngsNavigationItemBadge"], ngImport: i0 });
421
+ }
422
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NavigationItemBadgeDirective, decorators: [{
423
+ type: Directive,
424
+ args: [{
425
+ selector: '[ngsNavigationItemBadge]',
426
+ exportAs: 'ngsNavigationItemBadge',
427
+ standalone: true,
428
+ host: {
429
+ 'class': 'ngs-navigation-item-badge',
430
+ }
431
+ }]
432
+ }] });
433
+
434
+ /**
435
+ * Generated bundle index. Do not edit.
436
+ */
437
+
438
+ export { NAVIGATION, NAVIGATION_GROUP, Navigation, NavigationDivider, NavigationGroup, NavigationGroupMenu, NavigationGroupToggle, NavigationGroupToggleIconDirective, NavigationHeading, NavigationItem, NavigationItemBadgeDirective, NavigationItemDefDirective, NavigationItemIconDirective };
439
+ //# sourceMappingURL=ngstarter-ui-components-navigation.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngstarter-ui-components-navigation.mjs","sources":["../../../projects/components/navigation/src/navigation-item-icon.directive.ts","../../../projects/components/navigation/src/types.ts","../../../projects/components/navigation/src/navigation.store.ts","../../../projects/components/navigation/src/navigation-item/navigation-item.ts","../../../projects/components/navigation/src/navigation-item/navigation-item.html","../../../projects/components/navigation/src/navigation-item-def.directive.ts","../../../projects/components/navigation/src/navigation/navigation.ts","../../../projects/components/navigation/src/navigation/navigation.html","../../../projects/components/navigation/src/navigation-heading/navigation-heading.ts","../../../projects/components/navigation/src/navigation-heading/navigation-heading.html","../../../projects/components/navigation/src/navigation-divider/navigation-divider.ts","../../../projects/components/navigation/src/navigation-group/navigation-group.ts","../../../projects/components/navigation/src/navigation-group/navigation-group.html","../../../projects/components/navigation/src/navigation-group-menu/navigation-group-menu.ts","../../../projects/components/navigation/src/navigation-group-menu/navigation-group-menu.html","../../../projects/components/navigation/src/navigation-group-toggle-icon.directive.ts","../../../projects/components/navigation/src/navigation-group-toggle/navigation-group-toggle.ts","../../../projects/components/navigation/src/navigation-group-toggle/navigation-group-toggle.html","../../../projects/components/navigation/src/navigation-item-badge.directive.ts","../../../projects/components/navigation/ngstarter-ui-components-navigation.ts"],"sourcesContent":["import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[ngsNavigationItemIcon]',\n exportAs: 'ngsNavigationItemIcon',\n host: {\n 'class': 'ngs-navigation-item-icon'\n }\n})\nexport class NavigationItemIconDirective {\n public readonly templateRef = inject(TemplateRef, { optional: true });\n}\n","import { InjectionToken } from '@angular/core';\n\nexport interface NavigationItemData {\n key: any;\n type: 'heading' | 'group' | 'link' | 'item' | 'divider' | string;\n name?: string;\n icon?: string;\n children?: NavigationItemData[];\n link?: string;\n [prop: string]: any;\n badge?: string | number;\n}\n\nexport const NAVIGATION = new InjectionToken('NAVIGATION');\nexport const NAVIGATION_GROUP = new InjectionToken('NAVIGATION_GROUP');\n","import { patchState, signalStore, withMethods, withState } from '@ngrx/signals';\n\nexport interface NavigationState {\n activeKey: any;\n activeGroupKey: any;\n}\n\nconst initialState: NavigationState = {\n activeKey: null,\n activeGroupKey: null\n};\n\nexport const NavigationStore = signalStore(\n withState(initialState),\n withMethods((store) => ({\n setActiveKey(activeKey: any) {\n patchState(store, {\n activeKey\n });\n },\n setActiveGroupKey(activeGroupKey: any) {\n patchState(store, {\n activeGroupKey\n });\n },\n }))\n);\n","import {\n booleanAttribute,\n Component, ElementRef,\n inject,\n contentChild, TemplateRef, input, ChangeDetectionStrategy, computed\n} from '@angular/core';\nimport { NavigationItemIconDirective } from '../navigation-item-icon.directive';\nimport { Ripple } from '@ngstarter-ui/components/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { NAVIGATION, NAVIGATION_GROUP } from '../types';\nimport { Navigation } from '../navigation/navigation';\nimport { NavigationStore } from '../navigation.store';\nimport { NavigationGroup } from '../navigation-group/navigation-group';\n\nlet nextKey = 0;\n\n@Component({\n selector: 'ngs-navigation-item,[ngs-navigation-item]',\n exportAs: 'ngsNavigationItem',\n imports: [\n Ripple,\n NgTemplateOutlet\n ],\n templateUrl: './navigation-item.html',\n styleUrl: './navigation-item.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'ngs-navigation-item',\n '[class.is-active]': 'forceActive() || active()',\n '[class.is-badge-text-only]': 'badgeTextOnly()',\n '(click)': 'click($event)'\n }\n})\nexport class NavigationItem {\n private store= inject(NavigationStore);\n private _navigation = inject<Navigation>(NAVIGATION);\n private _elementRef = inject(ElementRef);\n private parentGroup = inject<NavigationGroup>(NAVIGATION_GROUP, { optional: true });\n\n protected readonly iconRef = contentChild(NavigationItemIconDirective);\n readonly active = computed(() => {\n return this.store.activeKey() === this.key();\n });\n\n get api() {\n return {\n isActive: () => this.active()\n }\n }\n\n readonly key = input<any>(`ngs-navigation-item-${nextKey++}`);\n readonly forceActive = input(false, {\n transform: booleanAttribute\n });\n readonly badgeTextOnly = input(false, {\n transform: booleanAttribute\n });\n\n protected click(event: MouseEvent) {\n if (!this.key()) {\n return;\n }\n\n this._navigation.itemClicked.emit(this.key());\n this.store.setActiveKey(this.key());\n\n if (this.parentGroup) {\n this.store.setActiveGroupKey(this.parentGroup.key());\n } else {\n this.store.setActiveGroupKey(null);\n }\n }\n\n get _hostElement(): ElementRef {\n return this._elementRef;\n }\n\n protected get iconRefTemplate(): TemplateRef<any> {\n return this.iconRef()?.templateRef as TemplateRef<any>;\n }\n}\n","<div class=\"inner\" ngsRipple>\n <div class=\"icon\">\n <ng-content select=\"[ngsNavigationItemIcon]\"/>\n @if (iconRef()) {\n <ng-container [ngTemplateOutlet]=\"iconRefTemplate\"/>\n }\n </div>\n <span class=\"text grow\"><ng-content/></span>\n <div class=\"badge\">\n <ng-content select=\"[ngsNavigationItemBadge]\"/>\n </div>\n</div>\n","import { Directive, input, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[ngsNavigationItemDef]',\n standalone: true\n})\nexport class NavigationItemDefDirective {\n when = input<string | ((item: any) => boolean) | undefined>(undefined, { alias: 'ngsNavigationItemDef' });\n\n constructor(public template: TemplateRef<any>) {}\n}\n","import {\n afterNextRender,\n Component,\n ElementRef,\n inject,\n Renderer2,\n contentChildren,\n SimpleChanges,\n input,\n OnChanges,\n output,\n forwardRef,\n AfterContentInit,\n booleanAttribute,\n ChangeDetectionStrategy,\n DestroyRef, TemplateRef\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { NavigationItem } from '../navigation-item/navigation-item';\nimport { NAVIGATION } from '../types';\nimport { Location } from '@angular/common';\nimport { NavigationStore } from '../navigation.store';\nimport { NavigationEnd, Router } from '@angular/router';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NavigationItemDefDirective } from '../navigation-item-def.directive';\n\n@Component({\n selector: 'ngs-navigation',\n exportAs: 'ngsNavigation',\n templateUrl: './navigation.html',\n styleUrl: './navigation.scss',\n imports: [\n NgTemplateOutlet\n ],\n providers: [\n NavigationStore,\n {\n provide: NAVIGATION,\n useExisting: forwardRef(() => Navigation),\n }\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n host: {\n 'class': 'ngs-navigation'\n }\n})\nexport class Navigation implements AfterContentInit, OnChanges {\n private store= inject(NavigationStore);\n private _elementRef = inject(ElementRef);\n private _renderer = inject(Renderer2);\n private location = inject(Location);\n private router = inject(Router);\n private destroyRef = inject(DestroyRef);\n\n readonly _items = contentChildren(NavigationItem, { descendants: true });\n readonly _defs = contentChildren(NavigationItemDefDirective);\n\n activeKey = input<any>();\n dataSource = input<any[]>();\n itemTypeProperty = input<string>('type');\n appearance = input();\n activateByRoute = input(false, {\n transform: booleanAttribute\n })\n autoScrollToActiveItem = input(false, {\n transform: booleanAttribute\n });\n\n readonly itemClicked = output<NavigationItem>();\n\n constructor() {\n // scroll to the active item if it is not visible in the viewport\n afterNextRender(() => {\n if (!this.autoScrollToActiveItem()) {\n return;\n }\n\n this._items().forEach((item: NavigationItem) => {\n if (item.active()) {\n let parentElement = this._elementRef.nativeElement.parentNode || null;\n const itemElement = item._hostElement.nativeElement as HTMLElement;\n\n while (parentElement !== null) {\n if (this._hasScroll(parentElement)) {\n if (!this._isScrolledIntoView(itemElement, parentElement)) {\n const parentRect = parentElement.getBoundingClientRect();\n const elementRect = itemElement.getBoundingClientRect();\n parentElement.scrollTop = elementRect.top - parentRect.height / 2;\n }\n\n parentElement = null;\n } else {\n parentElement = parentElement.parentNode || null;\n }\n }\n }\n });\n });\n }\n\n ngAfterContentInit() {\n if (!this.activateByRoute()) {\n return;\n }\n\n this.findActiveItemByRoute();\n this.router\n .events\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((event: any) => {\n if (event instanceof NavigationEnd) {\n this.findActiveItemByRoute();\n }\n });\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes['activeKey']) {\n this.store.setActiveKey(changes['activeKey'].currentValue);\n }\n\n if (changes['appearance']) {\n this._renderer.setAttribute(this._elementRef.nativeElement, 'data-appearance', changes['appearance'].currentValue);\n }\n }\n\n private _hasScroll(element: HTMLElement): boolean {\n if (!element.getBoundingClientRect) {\n return false;\n }\n\n return Math.ceil(element.scrollHeight) > Math.ceil(element.getBoundingClientRect().height);\n }\n\n private _isScrolledIntoView(element: HTMLElement, parent: HTMLElement) {\n const elementRect = element.getBoundingClientRect();\n const parentRect = parent.getBoundingClientRect();\n return (elementRect.top >= 0) && (elementRect.bottom <= parentRect.height);\n }\n\n private findActiveItemByRoute() {\n const activeItem = this._items().find((item: NavigationItem) => {\n const element = item._hostElement.nativeElement as HTMLElement;\n\n if (element.tagName === 'A') {\n const href = element.getAttribute('href');\n\n if (href) {\n if (href === this.location.path()) {\n return true;\n }\n\n return href !== '/' && this.location.path().includes(href);\n }\n }\n\n return null;\n });\n\n if (activeItem) {\n this.store.setActiveKey(activeItem.key());\n }\n }\n\n getTemplate(item: any): TemplateRef<any> | null {\n const def = this._defs().find(d => {\n const when = d.when();\n if (when) {\n if (typeof when === 'function') {\n return when(item);\n }\n return item[this.itemTypeProperty()] === when;\n }\n\n return false;\n }) || this._defs().find(d => !d.when());\n\n return def?.template || null;\n }\n}\n","@if (dataSource(); as data) {\n @for (item of data; track item) {\n <ng-container *ngTemplateOutlet=\"getTemplate(item); context: { $implicit: item }\" />\n }\n} @else {\n <ng-content/>\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-navigation-heading',\n exportAs: 'ngsNavigationHeading',\n templateUrl: './navigation-heading.html',\n styleUrl: './navigation-heading.scss',\n host: {\n 'class': 'ngs-navigation-heading'\n }\n})\nexport class NavigationHeading {\n}\n","<div class=\"content\"><ng-content/></div>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-navigation-divider',\n exportAs: 'ngsNavigationDivider',\n template: '',\n styleUrl: './navigation-divider.scss',\n host: {\n 'class': 'ngs-navigation-divider'\n }\n})\nexport class NavigationDivider {\n}\n","import { Component, forwardRef, signal } from '@angular/core';\nimport { NAVIGATION_GROUP } from '../types';\n\nlet nextId = 0;\n\n@Component({\n selector: 'ngs-navigation-group',\n exportAs: 'ngsNavigationGroup',\n templateUrl: './navigation-group.html',\n styleUrl: './navigation-group.scss',\n providers: [\n {\n provide: NAVIGATION_GROUP,\n useExisting: forwardRef(() => NavigationGroup)\n }\n ],\n host: {\n 'class': 'ngs-navigation-group'\n }\n})\nexport class NavigationGroup {\n readonly key = signal(`ngs-navigation-group-${nextId++}`);\n}\n","<ng-content select=\"ngs-navigation-group-toggle\"/>\n<ng-content select=\"ngs-navigation-group-menu\"/>\n","import {\n AfterContentInit,\n ChangeDetectorRef,\n Component,\n inject,\n contentChildren,\n computed,\n ChangeDetectionStrategy,\n effect,\n input,\n TemplateRef\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { NavigationItem } from '../navigation-item/navigation-item';\nimport { NAVIGATION_GROUP } from '../types';\nimport { NavigationGroup } from '../navigation-group/navigation-group';\nimport { NavigationStore } from '../navigation.store';\nimport { NavigationItemDefDirective } from '../navigation-item-def.directive';\n\n@Component({\n selector: 'ngs-navigation-group-menu',\n exportAs: 'ngsNavigationGroupMenu',\n templateUrl: './navigation-group-menu.html',\n styleUrl: './navigation-group-menu.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n NgTemplateOutlet\n ],\n standalone: true,\n host: {\n 'class': 'ngs-navigation-group-menu',\n '[class.is-active]': 'active()'\n }\n})\nexport class NavigationGroupMenu implements AfterContentInit {\n private store= inject(NavigationStore);\n private _group = inject<NavigationGroup>(NAVIGATION_GROUP);\n\n readonly active = computed(() => {\n return this.store.activeGroupKey() === this._group.key();\n });\n readonly _items = contentChildren(\n NavigationItem, { descendants: true }\n );\n readonly _defs = contentChildren(NavigationItemDefDirective);\n\n dataSource = input<any[]>();\n itemTypeProperty = input<string>('type');\n\n readonly hasActiveItemInGroup = computed(() => {\n const fromItems = this._items().some(item => this.store.activeKey() === item.key());\n\n if (fromItems) {\n return true;\n }\n\n const data = this.dataSource();\n\n if (data) {\n return data.some(item => this._isActive(item, this.store.activeKey()));\n }\n\n return false;\n });\n\n ngAfterContentInit() {\n this._detectGroupIsActive();\n }\n\n getTemplate(item: any): TemplateRef<any> | null {\n const def = this._defs().find(d => {\n const whenValue = d.when();\n if (whenValue) {\n if (typeof whenValue === 'function') {\n return (whenValue as Function)(item);\n }\n return item[this.itemTypeProperty()] === whenValue;\n }\n\n return false;\n }) || this._defs().find(d => !d.when());\n\n return def?.template || null;\n }\n\n private _detectGroupIsActive() {\n if (this.hasActiveItemInGroup() && !this.active()) {\n this.store.setActiveGroupKey(this._group.key());\n } else {\n if (this.store.activeGroupKey() === this._group.key()) {\n this.store.setActiveGroupKey(null);\n } else {\n this.store.setActiveGroupKey(this._group.key());\n }\n }\n }\n\n private _isActive(item: any, activeKey: any): boolean {\n if (item.key === activeKey) {\n return true;\n }\n\n if (item.children && Array.isArray(item.children)) {\n return item.children.some((child: any) => this._isActive(child, activeKey));\n }\n\n return false;\n }\n}\n","@if (dataSource(); as data) {\n <div class=\"inner\">\n @for (item of data; track item) {\n <ng-container *ngTemplateOutlet=\"getTemplate(item); context: { $implicit: item }\" />\n }\n </div>\n} @else {\n <div class=\"inner\">\n <ng-content/>\n </div>\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[ngsNavigationGroupToggleIcon]',\n exportAs: 'ngsNavigationGroupToggleIcon',\n host: {\n 'class': 'ngs-navigation-group-toggle-icon'\n }\n})\nexport class NavigationGroupToggleIconDirective {\n public readonly templateRef = inject(TemplateRef, { optional: true });\n}\n","import {\n Component,\n inject,\n contentChild,\n TemplateRef,\n computed,\n ChangeDetectionStrategy,\n input,\n booleanAttribute\n} from '@angular/core';\nimport { NavigationGroupToggleIconDirective } from '../navigation-group-toggle-icon.directive';\nimport { Ripple } from '@ngstarter-ui/components/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { NAVIGATION_GROUP } from '../types';\nimport { NavigationGroup } from '../navigation-group/navigation-group';\nimport { NavigationStore } from '../navigation.store';\n\n@Component({\n selector: 'ngs-navigation-group-toggle',\n exportAs: 'ngsNavigationGroupToggle',\n imports: [\n NgTemplateOutlet\n ],\n templateUrl: './navigation-group-toggle.html',\n styleUrl: './navigation-group-toggle.scss',\n hostDirectives: [\n Ripple\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'ngs-navigation-group-toggle',\n '[class.is-active]': 'active()',\n '[class.is-badge-text-only]': 'badgeTextOnly()',\n '(click)': 'toggle($event)'\n }\n})\nexport class NavigationGroupToggle {\n private store= inject(NavigationStore);\n private _group = inject<NavigationGroup>(NAVIGATION_GROUP);\n\n readonly iconRef = contentChild(NavigationGroupToggleIconDirective);\n readonly active = computed(() => {\n return this.store.activeGroupKey() === this._group.key();\n });\n readonly badgeTextOnly = input(false, {\n transform: booleanAttribute\n });\n\n protected toggle(event: MouseEvent) {\n event.preventDefault();\n event.stopPropagation();\n\n if (this.active()) {\n this.store.setActiveGroupKey(null);\n } else {\n this.store.setActiveGroupKey(this._group.key());\n }\n }\n\n protected get iconRefTemplate(): TemplateRef<any> {\n return this.iconRef()?.templateRef as TemplateRef<any>;\n }\n}\n","<div class=\"icon\"><ng-content select=\"[ngsNavigationItemIcon]\"/></div>\n<span class=\"text grow\"><ng-content/></span>\n<div class=\"flex items-center gap-0.5\">\n <div class=\"badge\">\n <ng-content select=\"[ngsNavigationItemBadge]\"/>\n </div>\n <div class=\"arrow\">\n <ng-content select=\"[ngsNavigationGroupToggleIcon]\"/>\n @if (iconRef()) {\n <ng-container [ngTemplateOutlet]=\"iconRefTemplate\"/>\n }\n </div>\n</div>\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[ngsNavigationItemBadge]',\n exportAs: 'ngsNavigationItemBadge',\n standalone: true,\n host: {\n 'class': 'ngs-navigation-item-badge',\n }\n})\nexport class NavigationItemBadgeDirective {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MASa,2BAA2B,CAAA;IACtB,WAAW,GAAG,MAAM,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;uGAD1D,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,0BAAA,EAAA,EAAA,QAAA,EAAA,CAAA,uBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAPvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,IAAI,EAAE;AACJ,wBAAA,OAAO,EAAE;AACV;AACF,iBAAA;;;MCKY,UAAU,GAAG,IAAI,cAAc,CAA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