@ngstarter-ui/components 22.3.6 → 22.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/README.md +27 -0
  2. package/ai/component-registry.json +186 -101
  3. package/fesm2022/attachment-block-BK9QxVjq.mjs +163 -0
  4. package/fesm2022/attachment-block-BK9QxVjq.mjs.map +1 -0
  5. package/fesm2022/callout-block-Bl4GZYz8.mjs +196 -0
  6. package/fesm2022/callout-block-Bl4GZYz8.mjs.map +1 -0
  7. package/fesm2022/code-block.component-DCRD-9iP.mjs +393 -0
  8. package/fesm2022/code-block.component-DCRD-9iP.mjs.map +1 -0
  9. package/fesm2022/content-builder.store-D622mHxt.mjs +328 -0
  10. package/fesm2022/content-builder.store-D622mHxt.mjs.map +1 -0
  11. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs +1110 -0
  12. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs.map +1 -0
  13. package/fesm2022/cursor-controller-DKfBII1n.mjs +55 -0
  14. package/fesm2022/cursor-controller-DKfBII1n.mjs.map +1 -0
  15. package/fesm2022/default-converters-9oSKDsXP.mjs +140 -0
  16. package/fesm2022/default-converters-9oSKDsXP.mjs.map +1 -0
  17. package/fesm2022/divider-block.component-Dvgeq_D0.mjs +148 -0
  18. package/fesm2022/divider-block.component-Dvgeq_D0.mjs.map +1 -0
  19. package/fesm2022/embed-block-CYkOv4Wt.mjs +565 -0
  20. package/fesm2022/embed-block-CYkOv4Wt.mjs.map +1 -0
  21. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs +122 -0
  22. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs.map +1 -0
  23. package/fesm2022/gallery-block-DT3uIURY.mjs +365 -0
  24. package/fesm2022/gallery-block-DT3uIURY.mjs.map +1 -0
  25. package/fesm2022/grid-block-ZVDT3m8-.mjs +504 -0
  26. package/fesm2022/grid-block-ZVDT3m8-.mjs.map +1 -0
  27. package/fesm2022/heading-block.component-iCpJGTMh.mjs +274 -0
  28. package/fesm2022/heading-block.component-iCpJGTMh.mjs.map +1 -0
  29. package/fesm2022/html-utils-DywL8gGa.mjs +24 -0
  30. package/fesm2022/html-utils-DywL8gGa.mjs.map +1 -0
  31. package/fesm2022/image-block.component-DJ7-HCR8.mjs +285 -0
  32. package/fesm2022/image-block.component-DJ7-HCR8.mjs.map +1 -0
  33. package/fesm2022/list-block.component-qFIebEBO.mjs +312 -0
  34. package/fesm2022/list-block.component-qFIebEBO.mjs.map +1 -0
  35. package/fesm2022/nested-blocks-CXhgXJ1H.mjs +345 -0
  36. package/fesm2022/nested-blocks-CXhgXJ1H.mjs.map +1 -0
  37. package/fesm2022/ngstarter-ui-components-action-required.mjs +150 -45
  38. package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -1
  39. package/fesm2022/ngstarter-ui-components-alert.mjs +318 -133
  40. package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -1
  41. package/fesm2022/ngstarter-ui-components-announcement.mjs +280 -88
  42. package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -1
  43. package/fesm2022/ngstarter-ui-components-autocomplete.mjs +647 -386
  44. package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -1
  45. package/fesm2022/ngstarter-ui-components-avatar.mjs +715 -482
  46. package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -1
  47. package/fesm2022/ngstarter-ui-components-badge.mjs +308 -97
  48. package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -1
  49. package/fesm2022/ngstarter-ui-components-block-loader.mjs +164 -47
  50. package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -1
  51. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +278 -315
  52. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs.map +1 -1
  53. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +707 -205
  54. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -1
  55. package/fesm2022/ngstarter-ui-components-button-toggle.mjs +518 -175
  56. package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -1
  57. package/fesm2022/ngstarter-ui-components-button.mjs +294 -68
  58. package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -1
  59. package/fesm2022/ngstarter-ui-components-calendar.mjs +442 -250
  60. package/fesm2022/ngstarter-ui-components-calendar.mjs.map +1 -1
  61. package/fesm2022/ngstarter-ui-components-card-overlay.mjs +159 -47
  62. package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -1
  63. package/fesm2022/ngstarter-ui-components-card.mjs +619 -194
  64. package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -1
  65. package/fesm2022/ngstarter-ui-components-carousel.mjs +1012 -634
  66. package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -1
  67. package/fesm2022/ngstarter-ui-components-checkbox.mjs +715 -308
  68. package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -1
  69. package/fesm2022/ngstarter-ui-components-chips.mjs +1397 -667
  70. package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -1
  71. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +519 -357
  72. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -1
  73. package/fesm2022/ngstarter-ui-components-color-picker.mjs +1218 -604
  74. package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -1
  75. package/fesm2022/ngstarter-ui-components-color-scheme.mjs +265 -134
  76. package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -1
  77. package/fesm2022/ngstarter-ui-components-color-switcher.mjs +190 -71
  78. package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -1
  79. package/fesm2022/ngstarter-ui-components-command-bar.mjs +197 -58
  80. package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -1
  81. package/fesm2022/ngstarter-ui-components-comment-editor.mjs +2212 -1128
  82. package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -1
  83. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +269 -183
  84. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -1
  85. package/fesm2022/ngstarter-ui-components-confirm.mjs +164 -86
  86. package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -1
  87. package/fesm2022/ngstarter-ui-components-content-editor.mjs +6240 -2
  88. package/fesm2022/ngstarter-ui-components-content-editor.mjs.map +1 -1
  89. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +244 -108
  90. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -1
  91. package/fesm2022/ngstarter-ui-components-core.mjs +2110 -1592
  92. package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -1
  93. package/fesm2022/ngstarter-ui-components-country-select.mjs +1970 -588
  94. package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -1
  95. package/fesm2022/ngstarter-ui-components-crop.mjs +249 -191
  96. package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -1
  97. package/fesm2022/ngstarter-ui-components-currency-select.mjs +1658 -452
  98. package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -1
  99. package/fesm2022/ngstarter-ui-components-data-view.mjs +4538 -2497
  100. package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -1
  101. package/fesm2022/ngstarter-ui-components-date-format-select.mjs +357 -157
  102. package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -1
  103. package/fesm2022/ngstarter-ui-components-datepicker.mjs +2587 -1264
  104. package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -1
  105. package/fesm2022/ngstarter-ui-components-dialog.mjs +681 -385
  106. package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -1
  107. package/fesm2022/ngstarter-ui-components-digit-roller.mjs +1000 -750
  108. package/fesm2022/ngstarter-ui-components-digit-roller.mjs.map +1 -1
  109. package/fesm2022/ngstarter-ui-components-divider.mjs +164 -41
  110. package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -1
  111. package/fesm2022/ngstarter-ui-components-drawer.mjs +218 -143
  112. package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -1
  113. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +345 -247
  114. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -1
  115. package/fesm2022/ngstarter-ui-components-empty-state.mjs +244 -74
  116. package/fesm2022/ngstarter-ui-components-empty-state.mjs.map +1 -1
  117. package/fesm2022/ngstarter-ui-components-events.mjs +467 -126
  118. package/fesm2022/ngstarter-ui-components-events.mjs.map +1 -1
  119. package/fesm2022/ngstarter-ui-components-expand.mjs +191 -59
  120. package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -1
  121. package/fesm2022/ngstarter-ui-components-expansion.mjs +529 -193
  122. package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -1
  123. package/fesm2022/ngstarter-ui-components-file-type.mjs +270 -171
  124. package/fesm2022/ngstarter-ui-components-file-type.mjs.map +1 -1
  125. package/fesm2022/ngstarter-ui-components-filter-builder.mjs +741 -352
  126. package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -1
  127. package/fesm2022/ngstarter-ui-components-form-builder.mjs +9032 -6964
  128. package/fesm2022/ngstarter-ui-components-form-builder.mjs.map +1 -1
  129. package/fesm2022/ngstarter-ui-components-form-field.mjs +741 -276
  130. package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -1
  131. package/fesm2022/ngstarter-ui-components-gauge.mjs +155 -43
  132. package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -1
  133. package/fesm2022/ngstarter-ui-components-grid.mjs +197 -81
  134. package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -1
  135. package/fesm2022/ngstarter-ui-components-guided-tour.mjs +881 -740
  136. package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -1
  137. package/fesm2022/ngstarter-ui-components-headless-editor.mjs +3573 -3656
  138. package/fesm2022/ngstarter-ui-components-headless-editor.mjs.map +1 -1
  139. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +277 -204
  140. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -1
  141. package/fesm2022/ngstarter-ui-components-icon.mjs +209 -182
  142. package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -1
  143. package/fesm2022/ngstarter-ui-components-image-designer.mjs +5096 -4066
  144. package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -1
  145. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +45 -19
  146. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -1
  147. package/fesm2022/ngstarter-ui-components-image-resizer.mjs +333 -154
  148. package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -1
  149. package/fesm2022/ngstarter-ui-components-image-viewer.mjs +564 -358
  150. package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -1
  151. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +246 -167
  152. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -1
  153. package/fesm2022/ngstarter-ui-components-incidents.mjs +732 -258
  154. package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -1
  155. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +244 -182
  156. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -1
  157. package/fesm2022/ngstarter-ui-components-input-mask.mjs +314 -174
  158. package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -1
  159. package/fesm2022/ngstarter-ui-components-input-validator.mjs +45 -69
  160. package/fesm2022/ngstarter-ui-components-input-validator.mjs.map +1 -1
  161. package/fesm2022/ngstarter-ui-components-input.mjs +303 -161
  162. package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -1
  163. package/fesm2022/ngstarter-ui-components-kanban-board.mjs +504 -159
  164. package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -1
  165. package/fesm2022/ngstarter-ui-components-kbd.mjs +86 -30
  166. package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -1
  167. package/fesm2022/ngstarter-ui-components-layout.mjs +681 -220
  168. package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -1
  169. package/fesm2022/ngstarter-ui-components-list.mjs +968 -281
  170. package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -1
  171. package/fesm2022/ngstarter-ui-components-logo.mjs +181 -51
  172. package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -1
  173. package/fesm2022/ngstarter-ui-components-marquee.mjs +226 -147
  174. package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -1
  175. package/fesm2022/ngstarter-ui-components-menu.mjs +1686 -1091
  176. package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -1
  177. package/fesm2022/ngstarter-ui-components-micro-chart.mjs +1541 -943
  178. package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -1
  179. package/fesm2022/ngstarter-ui-components-navigation.mjs +1035 -455
  180. package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -1
  181. package/fesm2022/ngstarter-ui-components-notifications.mjs +678 -230
  182. package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -1
  183. package/fesm2022/ngstarter-ui-components-number-input.mjs +616 -316
  184. package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -1
  185. package/fesm2022/ngstarter-ui-components-option.mjs +405 -163
  186. package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -1
  187. package/fesm2022/ngstarter-ui-components-overlay.mjs +107 -111
  188. package/fesm2022/ngstarter-ui-components-overlay.mjs.map +1 -1
  189. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +131 -76
  190. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -1
  191. package/fesm2022/ngstarter-ui-components-paginator.mjs +543 -295
  192. package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -1
  193. package/fesm2022/ngstarter-ui-components-password-strength.mjs +785 -340
  194. package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -1
  195. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs +3705 -2695
  196. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs.map +1 -1
  197. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs +1179 -851
  198. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs.map +1 -1
  199. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +2973 -2070
  200. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
  201. package/fesm2022/ngstarter-ui-components-phone-input.mjs +2081 -770
  202. package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -1
  203. package/fesm2022/ngstarter-ui-components-pin-input.mjs +366 -198
  204. package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -1
  205. package/fesm2022/ngstarter-ui-components-popover.mjs +558 -308
  206. package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -1
  207. package/fesm2022/ngstarter-ui-components-progress-bar.mjs +178 -73
  208. package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -1
  209. package/fesm2022/ngstarter-ui-components-radio-card.mjs +301 -105
  210. package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -1
  211. package/fesm2022/ngstarter-ui-components-radio.mjs +417 -157
  212. package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -1
  213. package/fesm2022/ngstarter-ui-components-rail-nav.mjs +208 -88
  214. package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -1
  215. package/fesm2022/ngstarter-ui-components-resizable-container.mjs +123 -74
  216. package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -1
  217. package/fesm2022/ngstarter-ui-components-screen-loader.mjs +197 -95
  218. package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -1
  219. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +383 -245
  220. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -1
  221. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +705 -581
  222. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -1
  223. package/fesm2022/ngstarter-ui-components-segmented.mjs +422 -220
  224. package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -1
  225. package/fesm2022/ngstarter-ui-components-select.mjs +1862 -1159
  226. package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -1
  227. package/fesm2022/ngstarter-ui-components-side-panel.mjs +313 -118
  228. package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -1
  229. package/fesm2022/ngstarter-ui-components-sidebar.mjs +1239 -470
  230. package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -1
  231. package/fesm2022/ngstarter-ui-components-sidenav.mjs +664 -354
  232. package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -1
  233. package/fesm2022/ngstarter-ui-components-signature-pad.mjs +1092 -643
  234. package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -1
  235. package/fesm2022/ngstarter-ui-components-skeleton.mjs +153 -43
  236. package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -1
  237. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +425 -108
  238. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -1
  239. package/fesm2022/ngstarter-ui-components-slider.mjs +645 -487
  240. package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -1
  241. package/fesm2022/ngstarter-ui-components-snack-bar.mjs +372 -354
  242. package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -1
  243. package/fesm2022/ngstarter-ui-components-sort.mjs +378 -147
  244. package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -1
  245. package/fesm2022/ngstarter-ui-components-spinner.mjs +242 -76
  246. package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -1
  247. package/fesm2022/ngstarter-ui-components-splash-screen.mjs +142 -91
  248. package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -1
  249. package/fesm2022/ngstarter-ui-components-split.mjs +1067 -929
  250. package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -1
  251. package/fesm2022/ngstarter-ui-components-step-tracker.mjs +617 -331
  252. package/fesm2022/ngstarter-ui-components-step-tracker.mjs.map +1 -1
  253. package/fesm2022/ngstarter-ui-components-stepper.mjs +357 -126
  254. package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -1
  255. package/fesm2022/ngstarter-ui-components-suggestions.mjs +259 -72
  256. package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -1
  257. package/fesm2022/ngstarter-ui-components-tab-panel.mjs +674 -267
  258. package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -1
  259. package/fesm2022/ngstarter-ui-components-table.mjs +1144 -662
  260. package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -1
  261. package/fesm2022/ngstarter-ui-components-tabs.mjs +1236 -615
  262. package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -1
  263. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +414 -216
  264. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -1
  265. package/fesm2022/ngstarter-ui-components-tiles.mjs +939 -647
  266. package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -1
  267. package/fesm2022/ngstarter-ui-components-timeline.mjs +418 -122
  268. package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -1
  269. package/fesm2022/ngstarter-ui-components-timepicker.mjs +870 -508
  270. package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -1
  271. package/fesm2022/ngstarter-ui-components-timezone-select.mjs +651 -371
  272. package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -1
  273. package/fesm2022/ngstarter-ui-components-toolbar.mjs +727 -320
  274. package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -1
  275. package/fesm2022/ngstarter-ui-components-tooltip.mjs +601 -521
  276. package/fesm2022/ngstarter-ui-components-tooltip.mjs.map +1 -1
  277. package/fesm2022/ngstarter-ui-components-tree-select.mjs +1197 -434
  278. package/fesm2022/ngstarter-ui-components-tree-select.mjs.map +1 -1
  279. package/fesm2022/ngstarter-ui-components-tree.mjs +1821 -1262
  280. package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -1
  281. package/fesm2022/ngstarter-ui-components-upload.mjs +1059 -345
  282. package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -1
  283. package/fesm2022/ngstarter-ui-components-video-player.mjs +763 -533
  284. package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -1
  285. package/fesm2022/ngstarter-ui-components-video-viewer.mjs +630 -229
  286. package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -1
  287. package/fesm2022/ngstarter-ui-components-visual-builder.mjs +40 -17
  288. package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -1
  289. package/fesm2022/ngstarter-ui-components-whiteboard.mjs +3039 -1803
  290. package/fesm2022/ngstarter-ui-components-whiteboard.mjs.map +1 -1
  291. package/fesm2022/ngstarter-ui-components.mjs +3 -5
  292. package/fesm2022/ngstarter-ui-components.mjs.map +1 -1
  293. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs +264 -0
  294. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs.map +1 -0
  295. package/fesm2022/plain-text-settings-BnxCxLhA.mjs +354 -0
  296. package/fesm2022/plain-text-settings-BnxCxLhA.mjs.map +1 -0
  297. package/fesm2022/quote-block.component-tRmrU97F.mjs +309 -0
  298. package/fesm2022/quote-block.component-tRmrU97F.mjs.map +1 -0
  299. package/fesm2022/table-block.component-BuzRRggv.mjs +1859 -0
  300. package/fesm2022/table-block.component-BuzRRggv.mjs.map +1 -0
  301. package/fesm2022/toggle-block-C5Jo2YDf.mjs +150 -0
  302. package/fesm2022/toggle-block-C5Jo2YDf.mjs.map +1 -0
  303. package/fesm2022/upload-status-tZ0x0BUB.mjs +107 -0
  304. package/fesm2022/upload-status-tZ0x0BUB.mjs.map +1 -0
  305. package/fesm2022/video-block.component-CpAXibm6.mjs +312 -0
  306. package/fesm2022/video-block.component-CpAXibm6.mjs.map +1 -0
  307. package/package.json +11 -10
  308. package/styles/_tokens.scss +1 -0
  309. package/types/ngstarter-ui-components-action-required.d.ts +34 -14
  310. package/types/ngstarter-ui-components-alert.d.ts +53 -44
  311. package/types/ngstarter-ui-components-announcement.d.ts +74 -53
  312. package/types/ngstarter-ui-components-autocomplete.d.ts +141 -84
  313. package/types/ngstarter-ui-components-avatar.d.ts +113 -66
  314. package/types/ngstarter-ui-components-badge.d.ts +73 -37
  315. package/types/ngstarter-ui-components-block-loader.d.ts +32 -20
  316. package/types/ngstarter-ui-components-bottom-sheet.d.ts +125 -132
  317. package/types/ngstarter-ui-components-breadcrumbs.d.ts +93 -88
  318. package/types/ngstarter-ui-components-button-toggle.d.ts +124 -54
  319. package/types/ngstarter-ui-components-button.d.ts +69 -27
  320. package/types/ngstarter-ui-components-calendar.d.ts +123 -71
  321. package/types/ngstarter-ui-components-card-overlay.d.ts +31 -19
  322. package/types/ngstarter-ui-components-card.d.ts +75 -71
  323. package/types/ngstarter-ui-components-carousel.d.ts +115 -69
  324. package/types/ngstarter-ui-components-checkbox.d.ts +183 -86
  325. package/types/ngstarter-ui-components-chips.d.ts +288 -195
  326. package/types/ngstarter-ui-components-code-highlighter.d.ts +71 -28
  327. package/types/ngstarter-ui-components-color-picker.d.ts +140 -89
  328. package/types/ngstarter-ui-components-color-scheme.d.ts +43 -52
  329. package/types/ngstarter-ui-components-color-switcher.d.ts +46 -26
  330. package/types/ngstarter-ui-components-command-bar.d.ts +40 -26
  331. package/types/ngstarter-ui-components-comment-editor.d.ts +311 -235
  332. package/types/ngstarter-ui-components-comparison-slider.d.ts +41 -40
  333. package/types/ngstarter-ui-components-confirm.d.ts +24 -29
  334. package/types/ngstarter-ui-components-content-editor.d.ts +1482 -998
  335. package/types/ngstarter-ui-components-cookie-popup.d.ts +43 -38
  336. package/types/ngstarter-ui-components-core.d.ts +513 -467
  337. package/types/ngstarter-ui-components-country-select.d.ts +170 -97
  338. package/types/ngstarter-ui-components-crop.d.ts +67 -52
  339. package/types/ngstarter-ui-components-currency-select.d.ts +127 -90
  340. package/types/ngstarter-ui-components-data-view.d.ts +811 -567
  341. package/types/ngstarter-ui-components-date-format-select.d.ts +90 -58
  342. package/types/ngstarter-ui-components-datepicker.d.ts +589 -373
  343. package/types/ngstarter-ui-components-dialog.d.ts +138 -116
  344. package/types/ngstarter-ui-components-digit-roller.d.ts +228 -131
  345. package/types/ngstarter-ui-components-divider.d.ts +29 -17
  346. package/types/ngstarter-ui-components-drawer.d.ts +39 -30
  347. package/types/ngstarter-ui-components-emoji-picker.d.ts +69 -47
  348. package/types/ngstarter-ui-components-empty-state.d.ts +20 -28
  349. package/types/ngstarter-ui-components-events.d.ts +73 -57
  350. package/types/ngstarter-ui-components-expand.d.ts +55 -25
  351. package/types/ngstarter-ui-components-expansion.d.ts +93 -64
  352. package/types/ngstarter-ui-components-file-type.d.ts +53 -27
  353. package/types/ngstarter-ui-components-filter-builder.d.ts +131 -100
  354. package/types/ngstarter-ui-components-form-builder.d.ts +1094 -881
  355. package/types/ngstarter-ui-components-form-field.d.ts +116 -105
  356. package/types/ngstarter-ui-components-gauge.d.ts +32 -20
  357. package/types/ngstarter-ui-components-grid.d.ts +66 -50
  358. package/types/ngstarter-ui-components-guided-tour.d.ts +250 -222
  359. package/types/ngstarter-ui-components-headless-editor.d.ts +708 -658
  360. package/types/ngstarter-ui-components-headless-stepper.d.ts +84 -64
  361. package/types/ngstarter-ui-components-icon.d.ts +39 -38
  362. package/types/ngstarter-ui-components-image-designer.d.ts +422 -341
  363. package/types/ngstarter-ui-components-image-placeholder.d.ts +5 -8
  364. package/types/ngstarter-ui-components-image-resizer.d.ts +40 -33
  365. package/types/ngstarter-ui-components-image-viewer.d.ts +67 -54
  366. package/types/ngstarter-ui-components-image-zoom-viewer.d.ts +29 -33
  367. package/types/ngstarter-ui-components-incidents.d.ts +97 -104
  368. package/types/ngstarter-ui-components-inline-text-edit.d.ts +54 -39
  369. package/types/ngstarter-ui-components-input-mask.d.ts +54 -34
  370. package/types/ngstarter-ui-components-input-validator.d.ts +7 -11
  371. package/types/ngstarter-ui-components-input.d.ts +82 -54
  372. package/types/ngstarter-ui-components-kanban-board.d.ts +76 -63
  373. package/types/ngstarter-ui-components-kbd.d.ts +8 -12
  374. package/types/ngstarter-ui-components-layout.d.ts +131 -87
  375. package/types/ngstarter-ui-components-list.d.ts +123 -88
  376. package/types/ngstarter-ui-components-logo.d.ts +21 -21
  377. package/types/ngstarter-ui-components-marquee.d.ts +41 -34
  378. package/types/ngstarter-ui-components-menu.d.ts +329 -221
  379. package/types/ngstarter-ui-components-micro-chart.d.ts +385 -186
  380. package/types/ngstarter-ui-components-navigation.d.ts +186 -125
  381. package/types/ngstarter-ui-components-notifications.d.ts +104 -89
  382. package/types/ngstarter-ui-components-number-input.d.ts +138 -96
  383. package/types/ngstarter-ui-components-option.d.ts +102 -68
  384. package/types/ngstarter-ui-components-overlay.d.ts +7 -12
  385. package/types/ngstarter-ui-components-page-loading-bar.d.ts +23 -20
  386. package/types/ngstarter-ui-components-paginator.d.ts +171 -129
  387. package/types/ngstarter-ui-components-password-strength.d.ts +217 -102
  388. package/types/ngstarter-ui-components-pdf-builder.d.ts +717 -649
  389. package/types/ngstarter-ui-components-pdf-signer.d.ts +202 -142
  390. package/types/ngstarter-ui-components-pdf-viewer.d.ts +544 -385
  391. package/types/ngstarter-ui-components-phone-input.d.ts +175 -115
  392. package/types/ngstarter-ui-components-pin-input.d.ts +83 -45
  393. package/types/ngstarter-ui-components-popover.d.ts +128 -89
  394. package/types/ngstarter-ui-components-progress-bar.d.ts +49 -30
  395. package/types/ngstarter-ui-components-radio-card.d.ts +50 -34
  396. package/types/ngstarter-ui-components-radio.d.ts +100 -47
  397. package/types/ngstarter-ui-components-rail-nav.d.ts +36 -29
  398. package/types/ngstarter-ui-components-resizable-container.d.ts +30 -25
  399. package/types/ngstarter-ui-components-screen-loader.d.ts +38 -32
  400. package/types/ngstarter-ui-components-scroll-spy.d.ts +56 -60
  401. package/types/ngstarter-ui-components-scrollbar-area.d.ts +116 -86
  402. package/types/ngstarter-ui-components-segmented.d.ts +93 -61
  403. package/types/ngstarter-ui-components-select.d.ts +366 -266
  404. package/types/ngstarter-ui-components-side-panel.d.ts +59 -40
  405. package/types/ngstarter-ui-components-sidebar.d.ts +208 -154
  406. package/types/ngstarter-ui-components-sidenav.d.ts +136 -78
  407. package/types/ngstarter-ui-components-signature-pad.d.ts +165 -92
  408. package/types/ngstarter-ui-components-skeleton.d.ts +18 -17
  409. package/types/ngstarter-ui-components-slide-toggle.d.ts +113 -44
  410. package/types/ngstarter-ui-components-slider.d.ts +123 -82
  411. package/types/ngstarter-ui-components-snack-bar.d.ts +126 -134
  412. package/types/ngstarter-ui-components-sort.d.ts +99 -63
  413. package/types/ngstarter-ui-components-spinner.d.ts +49 -27
  414. package/types/ngstarter-ui-components-splash-screen.d.ts +34 -29
  415. package/types/ngstarter-ui-components-split.d.ts +276 -195
  416. package/types/ngstarter-ui-components-step-tracker.d.ts +102 -83
  417. package/types/ngstarter-ui-components-stepper.d.ts +57 -43
  418. package/types/ngstarter-ui-components-suggestions.d.ts +41 -28
  419. package/types/ngstarter-ui-components-tab-panel.d.ts +110 -83
  420. package/types/ngstarter-ui-components-table.d.ts +256 -228
  421. package/types/ngstarter-ui-components-tabs.d.ts +231 -138
  422. package/types/ngstarter-ui-components-thumbnail-maker.d.ts +40 -34
  423. package/types/ngstarter-ui-components-tiles.d.ts +166 -104
  424. package/types/ngstarter-ui-components-timeline.d.ts +45 -57
  425. package/types/ngstarter-ui-components-timepicker.d.ts +166 -111
  426. package/types/ngstarter-ui-components-timezone-select.d.ts +110 -70
  427. package/types/ngstarter-ui-components-toolbar.d.ts +89 -72
  428. package/types/ngstarter-ui-components-tooltip.d.ts +89 -52
  429. package/types/ngstarter-ui-components-tree-select.d.ts +182 -105
  430. package/types/ngstarter-ui-components-tree.d.ts +355 -229
  431. package/types/ngstarter-ui-components-upload.d.ts +216 -131
  432. package/types/ngstarter-ui-components-video-player.d.ts +130 -67
  433. package/types/ngstarter-ui-components-video-viewer.d.ts +140 -91
  434. package/types/ngstarter-ui-components-visual-builder.d.ts +5 -8
  435. package/types/ngstarter-ui-components-whiteboard.d.ts +412 -339
  436. package/types/ngstarter-ui-components.d.ts +2 -2
  437. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-BgKuFsDy.mjs +0 -35
  438. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-BgKuFsDy.mjs.map +0 -1
  439. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-CGTJefVK.mjs +0 -26
  440. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-CGTJefVK.mjs.map +0 -1
  441. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-B441NasU.mjs +0 -220
  442. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-B441NasU.mjs.map +0 -1
  443. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs +0 -99
  444. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs.map +0 -1
  445. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs +0 -40
  446. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs.map +0 -1
  447. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-Bo3irEeG.mjs +0 -375
  448. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-Bo3irEeG.mjs.map +0 -1
  449. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-Cbh0nblW.mjs +0 -80
  450. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-Cbh0nblW.mjs.map +0 -1
  451. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-BVQTRzaX.mjs +0 -65
  452. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-BVQTRzaX.mjs.map +0 -1
  453. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CnbRqEWF.mjs +0 -137
  454. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CnbRqEWF.mjs.map +0 -1
  455. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-Cv9-02mR.mjs +0 -113
  456. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-Cv9-02mR.mjs.map +0 -1
  457. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-yvSNKY0B.mjs +0 -188
  458. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-yvSNKY0B.mjs.map +0 -1
  459. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-Clz9SzCR.mjs +0 -117
  460. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-Clz9SzCR.mjs.map +0 -1
  461. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CZn1p9ek.mjs +0 -4464
  462. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CZn1p9ek.mjs.map +0 -1
  463. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-CxDRklAS.mjs +0 -132
  464. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-CxDRklAS.mjs.map +0 -1
  465. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BNgtiV7U.mjs +0 -171
  466. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BNgtiV7U.mjs.map +0 -1
  467. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-D05mE7nQ.mjs +0 -1653
  468. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-D05mE7nQ.mjs.map +0 -1
  469. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-Ch1kWIaX.mjs +0 -20
  470. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-Ch1kWIaX.mjs.map +0 -1
  471. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs +0 -19
  472. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs.map +0 -1
  473. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-laP7DTyq.mjs +0 -134
  474. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-laP7DTyq.mjs.map +0 -1
  475. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs +0 -159
  476. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs.map +0 -1
@@ -1,268 +1,675 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, Injectable, inject, DestroyRef, input, booleanAttribute, output, ChangeDetectionStrategy, Component, InjectionToken, TemplateRef, ViewContainerRef, Directive } from '@angular/core';
3
- import { SelectionModel } from '@angular/cdk/collections';
4
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
- import * as i1 from '@ngstarter-ui/components/core';
6
- import { Ripple } from '@ngstarter-ui/components/core';
7
-
8
- class TabPanelApiService {
9
- _selectionModel = new SelectionModel(false);
10
- itemIdChanged = new EventEmitter();
11
- activate(id, emitEvent = true) {
12
- this._selectionModel.select(id);
13
- if (emitEvent) {
14
- this.itemIdChanged.emit(id);
15
- }
16
- }
17
- isActive(id) {
18
- return this._selectionModel.isSelected(id);
19
- }
20
- hasActive() {
21
- return this._selectionModel.hasValue();
22
- }
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
24
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelApiService });
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelApiService, decorators: [{
27
- type: Injectable
28
- }] });
29
-
30
- class TabPanel {
31
- _destroyRef = inject(DestroyRef);
32
- api = inject(TabPanelApiService);
33
- hideContentIfTabNotSelected = input(false, { ...(ngDevMode ? { debugName: "hideContentIfTabNotSelected" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
34
- activeItemId = input(/* @ts-ignore */
35
- ...(ngDevMode ? [undefined, { debugName: "activeItemId" }] : /* istanbul ignore next */ []));
36
- compact = input(false, { ...(ngDevMode ? { debugName: "compact" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
37
- itemIdChanged = output();
38
- ngOnInit() {
39
- this.api
40
- .itemIdChanged
41
- .pipe(takeUntilDestroyed(this._destroyRef))
42
- .subscribe(() => {
43
- this.itemIdChanged.emit();
44
- });
45
- }
46
- ngOnChanges(changes) {
47
- if (changes['activeItemId']) {
48
- this.api.activate(changes['activeItemId'].currentValue);
49
- }
50
- }
51
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanel, deps: [], target: i0.ɵɵFactoryTarget.Component });
52
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: TabPanel, isStandalone: true, selector: "ngs-tab-panel", inputs: { hideContentIfTabNotSelected: { classPropertyName: "hideContentIfTabNotSelected", publicName: "hideContentIfTabNotSelected", isSignal: true, isRequired: false, transformFunction: null }, activeItemId: { classPropertyName: "activeItemId", publicName: "activeItemId", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemIdChanged: "itemIdChanged" }, host: { properties: { "class.is-hide-content-if-tab-not-selected": "hideContentIfTabNotSelected()", "class.is-compact": "compact()" }, classAttribute: "ngs-tab-panel" }, providers: [
53
- TabPanelApiService
54
- ], exportAs: ["ngsTabPanel"], usesOnChanges: true, ngImport: i0, template: "<div class=\"panel\">\n <ng-content select=\"ngs-tab-panel-header\"/>\n <ng-content select=\"ngs-tab-panel-content\"/>\n <ng-content select=\"ngs-tab-panel-footer\"/>\n</div>\n<ng-content select=\"ngs-tab-panel-aside\"/>\n", styles: [":host{--ngs-tab-panel-width: calc(var(--spacing, .25rem) * 20);--ngs-tab-panel-item-width: calc(var(--spacing, .25rem) * 15);--ngs-tab-panel-item-height: calc(var(--spacing, .25rem) * 15);--ngs-tab-panel-item-padding: calc(var(--spacing, .25rem) * 2);--ngs-tab-panel-item-gap: var(--spacing, .25rem);--ngs-tab-panel-item-color: var(--ngs-nav-item-color);--ngs-tab-panel-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-tab-panel-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-tab-panel-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-tab-panel-item-active-color: var(--ngs-nav-item-active-color);--ngs-tab-panel-item-border-radius: var(--ngs-nav-item-radius);--ngs-tab-panel-aside-width: calc(var(--spacing, .25rem) * 75);--ngs-tab-panel-nav-padding: 0;--ngs-tab-panel-nav-gap: calc(var(--spacing, .25rem) * 3);--ngs-tab-panel-item-text-font-size: var(--ngs-font-size-xs);--ngs-tab-panel-item-icon-font-size: 1.5rem;--ngs-tab-panel-compact-width: calc(var(--spacing, .25rem) * 14);--ngs-tab-panel-compact-item-width: calc(var(--spacing, .25rem) * 10);--ngs-tab-panel-compact-item-height: calc(var(--spacing, .25rem) * 10);display:flex;width:min-content;align-items:stretch}:host .panel{display:flex;flex-direction:column;width:var(--ngs-tab-panel-width);flex:none}:host.is-compact .panel{width:var(--ngs-tab-panel-compact-width)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
55
- }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanel, decorators: [{
57
- type: Component,
58
- args: [{ selector: 'ngs-tab-panel', exportAs: 'ngsTabPanel', providers: [
59
- TabPanelApiService
60
- ], changeDetection: ChangeDetectionStrategy.Eager, host: {
61
- 'class': 'ngs-tab-panel',
62
- '[class.is-hide-content-if-tab-not-selected]': 'hideContentIfTabNotSelected()',
63
- '[class.is-compact]': 'compact()',
64
- }, template: "<div class=\"panel\">\n <ng-content select=\"ngs-tab-panel-header\"/>\n <ng-content select=\"ngs-tab-panel-content\"/>\n <ng-content select=\"ngs-tab-panel-footer\"/>\n</div>\n<ng-content select=\"ngs-tab-panel-aside\"/>\n", styles: [":host{--ngs-tab-panel-width: calc(var(--spacing, .25rem) * 20);--ngs-tab-panel-item-width: calc(var(--spacing, .25rem) * 15);--ngs-tab-panel-item-height: calc(var(--spacing, .25rem) * 15);--ngs-tab-panel-item-padding: calc(var(--spacing, .25rem) * 2);--ngs-tab-panel-item-gap: var(--spacing, .25rem);--ngs-tab-panel-item-color: var(--ngs-nav-item-color);--ngs-tab-panel-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-tab-panel-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-tab-panel-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-tab-panel-item-active-color: var(--ngs-nav-item-active-color);--ngs-tab-panel-item-border-radius: var(--ngs-nav-item-radius);--ngs-tab-panel-aside-width: calc(var(--spacing, .25rem) * 75);--ngs-tab-panel-nav-padding: 0;--ngs-tab-panel-nav-gap: calc(var(--spacing, .25rem) * 3);--ngs-tab-panel-item-text-font-size: var(--ngs-font-size-xs);--ngs-tab-panel-item-icon-font-size: 1.5rem;--ngs-tab-panel-compact-width: calc(var(--spacing, .25rem) * 14);--ngs-tab-panel-compact-item-width: calc(var(--spacing, .25rem) * 10);--ngs-tab-panel-compact-item-height: calc(var(--spacing, .25rem) * 10);display:flex;width:min-content;align-items:stretch}:host .panel{display:flex;flex-direction:column;width:var(--ngs-tab-panel-width);flex:none}:host.is-compact .panel{width:var(--ngs-tab-panel-compact-width)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
65
- }], propDecorators: { hideContentIfTabNotSelected: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideContentIfTabNotSelected", required: false }] }], activeItemId: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeItemId", required: false }] }], compact: [{ type: i0.Input, args: [{ isSignal: true, alias: "compact", required: false }] }], itemIdChanged: [{ type: i0.Output, args: ["itemIdChanged"] }] } });
66
-
67
- class TabPanelHeader {
68
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelHeader, deps: [], target: i0.ɵɵFactoryTarget.Component });
69
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: TabPanelHeader, isStandalone: true, selector: "ngs-tab-panel-header", host: { classAttribute: "ngs-tab-panel-header" }, exportAs: ["ngsTabPanelHeader"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
70
- }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelHeader, decorators: [{
72
- type: Component,
73
- args: [{ selector: 'ngs-tab-panel-header', exportAs: 'ngsTabPanelHeader', changeDetection: ChangeDetectionStrategy.Eager, host: {
74
- 'class': 'ngs-tab-panel-header'
75
- }, template: "<ng-content/>\n", styles: [":host{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
76
- }] });
77
-
78
- class TabPanelFooter {
79
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
80
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: TabPanelFooter, isStandalone: true, selector: "ngs-tab-panel-footer", host: { classAttribute: "ngs-tab-panel-footer" }, exportAs: ["ngsTabPanelFooter"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
81
- }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelFooter, decorators: [{
83
- type: Component,
84
- args: [{ selector: 'ngs-tab-panel-footer', exportAs: 'ngsTabPanelFooter', changeDetection: ChangeDetectionStrategy.Eager, host: {
85
- 'class': 'ngs-tab-panel-footer'
86
- }, template: "<ng-content/>\n", styles: [":host{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
87
- }] });
88
-
89
- const TAB_PANEL_NAV = new InjectionToken('TAB_PANEL_NAV');
90
- const TAB_PANEL_ASIDE = new InjectionToken('TAB_PANEL_ASIDE');
91
-
92
- class TabPanelItem {
93
- api = inject(TabPanelApiService);
94
- _nav = inject(TAB_PANEL_NAV, { optional: true });
95
- for = input(this._nav ? this._nav.nextId++ : null, /* @ts-ignore */
96
- ...(ngDevMode ? [{ debugName: "for" }] : /* istanbul ignore next */ []));
97
- _handleClick() {
98
- if (!this.for()) {
99
- return;
100
- }
101
- this.api.activate(this.for());
102
- }
103
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
104
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: TabPanelItem, isStandalone: true, selector: "ngs-tab-panel-item", inputs: { for: { classPropertyName: "for", publicName: "for", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_handleClick()" }, properties: { "class.is-active": "api.isActive(this.for())" }, classAttribute: "ngs-tab-panel-item" }, exportAs: ["ngsTabPanelItem"], hostDirectives: [{ directive: i1.Ripple }], ngImport: i0, template: "<div class=\"icon\">\n <ng-content select=\"[ngsTabPanelItemIcon]\"/>\n</div>\n<div class=\"text\">\n <ng-content/>\n</div>\n", styles: [":host{display:flex;flex-direction:column;cursor:pointer;align-items:center;justify-content:center;flex:none;-webkit-user-select:none;user-select:none;width:var(--ngs-tab-panel-item-width);height:var(--ngs-tab-panel-item-height);padding:var(--ngs-tab-panel-item-padding);border-radius:var(--ngs-tab-panel-item-border-radius);color:var(--ngs-tab-panel-item-color);gap:var(--ngs-tab-panel-item-gap)}:host:not(.is-active):hover{background:var(--ngs-tab-panel-item-hover-bg);color:var(--ngs-tab-panel-item-hover-color)}:host.is-active{background:var(--ngs-tab-panel-item-active-bg);color:var(--ngs-tab-panel-item-active-color)}:host .icon{line-height:0;display:inline-block}:host .icon:empty{display:none}:host .text{top:-1px;white-space:nowrap;position:relative;line-height:1;overflow:hidden;text-overflow:ellipsis;width:var(--ngs-tab-panel-item-width);padding:0 var(--spacing, .25rem);text-align:center}:host-context(.ngs-tab-panel.is-compact){width:var(--ngs-tab-panel-compact-item-width);height:var(--ngs-tab-panel-compact-item-height)}:host-context(.ngs-tab-panel.is-compact) .text{display:none;width:var(--ngs-tab-panel-compact-item-width)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
105
- }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelItem, decorators: [{
107
- type: Component,
108
- args: [{ selector: 'ngs-tab-panel-item', exportAs: 'ngsTabPanelItem', hostDirectives: [
109
- Ripple
110
- ], changeDetection: ChangeDetectionStrategy.Eager, host: {
111
- 'class': 'ngs-tab-panel-item',
112
- '[class.is-active]': 'api.isActive(this.for())',
113
- '(click)': '_handleClick()'
114
- }, template: "<div class=\"icon\">\n <ng-content select=\"[ngsTabPanelItemIcon]\"/>\n</div>\n<div class=\"text\">\n <ng-content/>\n</div>\n", styles: [":host{display:flex;flex-direction:column;cursor:pointer;align-items:center;justify-content:center;flex:none;-webkit-user-select:none;user-select:none;width:var(--ngs-tab-panel-item-width);height:var(--ngs-tab-panel-item-height);padding:var(--ngs-tab-panel-item-padding);border-radius:var(--ngs-tab-panel-item-border-radius);color:var(--ngs-tab-panel-item-color);gap:var(--ngs-tab-panel-item-gap)}:host:not(.is-active):hover{background:var(--ngs-tab-panel-item-hover-bg);color:var(--ngs-tab-panel-item-hover-color)}:host.is-active{background:var(--ngs-tab-panel-item-active-bg);color:var(--ngs-tab-panel-item-active-color)}:host .icon{line-height:0;display:inline-block}:host .icon:empty{display:none}:host .text{top:-1px;white-space:nowrap;position:relative;line-height:1;overflow:hidden;text-overflow:ellipsis;width:var(--ngs-tab-panel-item-width);padding:0 var(--spacing, .25rem);text-align:center}:host-context(.ngs-tab-panel.is-compact){width:var(--ngs-tab-panel-compact-item-width);height:var(--ngs-tab-panel-compact-item-height)}:host-context(.ngs-tab-panel.is-compact) .text{display:none;width:var(--ngs-tab-panel-compact-item-width)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
115
- }], propDecorators: { for: [{ type: i0.Input, args: [{ isSignal: true, alias: "for", required: false }] }] } });
116
-
117
- class TabPanelNav {
118
- nextId = 0;
119
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelNav, deps: [], target: i0.ɵɵFactoryTarget.Component });
120
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: TabPanelNav, isStandalone: true, selector: "ngs-tab-panel-nav", host: { classAttribute: "ngs-tab-panel-nav" }, providers: [
121
- {
122
- provide: TAB_PANEL_NAV,
123
- useExisting: TabPanelNav
124
- }
125
- ], exportAs: ["ngsTabPanelNav"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:var(--ngs-tab-panel-nav-gap);padding:var(--ngs-tab-panel-nav-padding)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
126
- }
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelNav, decorators: [{
128
- type: Component,
129
- args: [{ selector: 'ngs-tab-panel-nav', exportAs: 'ngsTabPanelNav', providers: [
130
- {
131
- provide: TAB_PANEL_NAV,
132
- useExisting: TabPanelNav
133
- }
134
- ], changeDetection: ChangeDetectionStrategy.Eager, host: {
135
- 'class': 'ngs-tab-panel-nav'
136
- }, template: "<ng-content/>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:var(--ngs-tab-panel-nav-gap);padding:var(--ngs-tab-panel-nav-padding)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
137
- }] });
138
-
139
- class TabPanelItemText {
140
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelItemText, deps: [], target: i0.ɵɵFactoryTarget.Component });
141
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: TabPanelItemText, isStandalone: true, selector: "ngs-tab-panel-item-text", host: { classAttribute: "ngs-tab-panel-item-text" }, exportAs: ["ngsTabPanelItemText"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{font-size:var(--ngs-tab-panel-item-text-font-size)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
142
- }
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelItemText, decorators: [{
144
- type: Component,
145
- args: [{ selector: 'ngs-tab-panel-item-text', exportAs: 'ngsTabPanelItemText', changeDetection: ChangeDetectionStrategy.Eager, host: {
146
- 'class': 'ngs-tab-panel-item-text'
147
- }, template: "<ng-content/>\n", styles: [":host{font-size:var(--ngs-tab-panel-item-text-font-size)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
148
- }] });
149
-
150
- class TabPanelAside {
151
- nextId = 0;
152
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelAside, deps: [], target: i0.ɵɵFactoryTarget.Component });
153
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: TabPanelAside, isStandalone: true, selector: "ngs-tab-panel-aside", host: { classAttribute: "ngs-tab-panel-aside" }, providers: [
154
- {
155
- provide: TAB_PANEL_ASIDE,
156
- useExisting: TabPanelAside
157
- }
158
- ], exportAs: ["ngsTabPanelAside"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:block;flex:none;width:var(--ngs-tab-panel-aside-width);position:relative}:host-context(.ngs-tab-panel.is-hide-content-if-tab-not-selected):empty{display:none}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
159
- }
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelAside, decorators: [{
161
- type: Component,
162
- args: [{ selector: 'ngs-tab-panel-aside', exportAs: 'ngsTabPanelAside', providers: [
163
- {
164
- provide: TAB_PANEL_ASIDE,
165
- useExisting: TabPanelAside
166
- }
167
- ], changeDetection: ChangeDetectionStrategy.Eager, host: {
168
- 'class': 'ngs-tab-panel-aside'
169
- }, template: "<ng-content/>\n", styles: [":host{display:block;flex:none;width:var(--ngs-tab-panel-aside-width);position:relative}:host-context(.ngs-tab-panel.is-hide-content-if-tab-not-selected):empty{display:none}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
170
- }] });
171
-
172
- class TabPanelContent {
173
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
174
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: TabPanelContent, isStandalone: true, selector: "ngs-tab-panel-content", host: { classAttribute: "ngs-tab-panel-content" }, exportAs: ["ngsTabPanelContent"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:block;flex-grow:1}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
175
- }
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelContent, decorators: [{
177
- type: Component,
178
- args: [{ selector: 'ngs-tab-panel-content', exportAs: 'ngsTabPanelContent', changeDetection: ChangeDetectionStrategy.Eager, host: {
179
- 'class': 'ngs-tab-panel-content'
180
- }, template: "<ng-content/>\n", styles: [":host{display:block;flex-grow:1}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
181
- }] });
182
-
183
- class TabPanelCustomItem {
184
- api = inject(TabPanelApiService);
185
- for = input(/* @ts-ignore */
186
- ...(ngDevMode ? [undefined, { debugName: "for" }] : /* istanbul ignore next */ []));
187
- _handleClick() {
188
- if (!this.for()) {
189
- return;
190
- }
191
- this.api.activate(this.for());
192
- }
193
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelCustomItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
194
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: TabPanelCustomItem, isStandalone: true, selector: "ngs-tab-panel-custom-item", inputs: { for: { classPropertyName: "for", publicName: "for", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_handleClick()" }, classAttribute: "ngs-tab-panel-custom-item" }, exportAs: ["ngsTabPanelCustomItem"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:flex;flex-direction:column;cursor:pointer;align-items:center;justify-content:center;flex:none;-webkit-user-select:none;user-select:none;width:var(--ngs-tab-panel-item-width);height:var(--ngs-tab-panel-item-height)}:host-context(.ngs-tab-panel.is-compact){width:var(--ngs-tab-panel-compact-item-width);height:var(--ngs-tab-panel-compact-item-height)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
195
- }
196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelCustomItem, decorators: [{
197
- type: Component,
198
- args: [{ selector: 'ngs-tab-panel-custom-item', exportAs: 'ngsTabPanelCustomItem', changeDetection: ChangeDetectionStrategy.Eager, host: {
199
- 'class': 'ngs-tab-panel-custom-item',
200
- '(click)': '_handleClick()'
201
- }, template: "<ng-content/>\n", styles: [":host{display:flex;flex-direction:column;cursor:pointer;align-items:center;justify-content:center;flex:none;-webkit-user-select:none;user-select:none;width:var(--ngs-tab-panel-item-width);height:var(--ngs-tab-panel-item-height)}:host-context(.ngs-tab-panel.is-compact){width:var(--ngs-tab-panel-compact-item-width);height:var(--ngs-tab-panel-compact-item-height)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
202
- }], propDecorators: { for: [{ type: i0.Input, args: [{ isSignal: true, alias: "for", required: false }] }] } });
203
-
204
- class TabPanelAsideContentDirective {
205
- _aside = inject(TAB_PANEL_ASIDE, { optional: true });
206
- _api = inject(TabPanelApiService);
207
- _templateRef = inject(TemplateRef);
208
- _viewContainer = inject(ViewContainerRef);
209
- _destroyRef = inject(DestroyRef);
210
- id = input(this._aside ? this._aside.nextId++ : null, { ...(ngDevMode ? { debugName: "id" } : /* istanbul ignore next */ {}), alias: 'ngsTabPanelAsideContent' });
211
- ngOnInit() {
212
- if (this._api.isActive(this.id())) {
213
- this._show();
214
- }
215
- else {
216
- this._hide();
217
- }
218
- this._api
219
- .itemIdChanged
220
- .pipe(takeUntilDestroyed(this._destroyRef))
221
- .subscribe(id => {
222
- if (this.id() === id) {
223
- this._show();
224
- }
225
- else {
226
- this._hide();
227
- }
228
- });
229
- }
230
- _show() {
231
- this._viewContainer.clear();
232
- this._viewContainer.createEmbeddedView(this._templateRef);
233
- }
234
- _hide() {
235
- this._viewContainer.clear();
236
- }
237
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelAsideContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
238
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.7", type: TabPanelAsideContentDirective, isStandalone: true, selector: "[ngsTabPanelAsideContent]", inputs: { id: { classPropertyName: "id", publicName: "ngsTabPanelAsideContent", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["ngsTabPanelAsideContent"], ngImport: i0 });
239
- }
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelAsideContentDirective, decorators: [{
241
- type: Directive,
242
- args: [{
243
- selector: '[ngsTabPanelAsideContent]',
244
- exportAs: 'ngsTabPanelAsideContent'
245
- }]
246
- }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngsTabPanelAsideContent", required: false }] }] } });
247
-
248
- class TabPanelItemIconDirective {
249
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelItemIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
250
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: TabPanelItemIconDirective, isStandalone: true, selector: "[ngsTabPanelItemIcon]", host: { classAttribute: "ngs-tab-panel-item-icon" }, exportAs: ["ngsTabPanelItemIcon"], ngImport: i0 });
251
- }
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: TabPanelItemIconDirective, decorators: [{
253
- type: Directive,
254
- args: [{
255
- selector: '[ngsTabPanelItemIcon]',
256
- exportAs: 'ngsTabPanelItemIcon',
257
- host: {
258
- 'class': 'ngs-tab-panel-item-icon'
259
- }
260
- }]
261
- }] });
262
-
263
- /**
264
- * Generated bundle index. Do not edit.
265
- */
266
-
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, DestroyRef, Directive, EventEmitter, Injectable, InjectionToken, TemplateRef, ViewContainerRef, booleanAttribute, inject, input, output } from "@angular/core";
3
+ import * as i1 from "@ngstarter-ui/components/core";
4
+ import { Ripple } from "@ngstarter-ui/components/core";
5
+ import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
6
+ import { SelectionModel } from "@angular/cdk/collections";
7
+ var TabPanelApiService = class TabPanelApiService {
8
+ _selectionModel = new SelectionModel(false);
9
+ itemIdChanged = new EventEmitter();
10
+ activate(id, emitEvent = true) {
11
+ this._selectionModel.select(id);
12
+ if (emitEvent) this.itemIdChanged.emit(id);
13
+ }
14
+ isActive(id) {
15
+ return this._selectionModel.isSelected(id);
16
+ }
17
+ hasActive() {
18
+ return this._selectionModel.hasValue();
19
+ }
20
+ static ɵfac = i0.ɵɵngDeclareFactory({
21
+ minVersion: "12.0.0",
22
+ version: "22.3.0",
23
+ ngImport: i0,
24
+ type: TabPanelApiService,
25
+ deps: [],
26
+ target: i0.ɵɵFactoryTarget.Injectable
27
+ });
28
+ static ɵprov = i0.ɵɵngDeclareInjectable({
29
+ minVersion: "12.0.0",
30
+ version: "22.3.0",
31
+ ngImport: i0,
32
+ type: TabPanelApiService
33
+ });
34
+ };
35
+ i0.ɵɵngDeclareClassMetadata({
36
+ minVersion: "12.0.0",
37
+ version: "22.3.0",
38
+ ngImport: i0,
39
+ type: TabPanelApiService,
40
+ decorators: [{ type: Injectable }]
41
+ });
42
+ var TabPanel = class TabPanel {
43
+ _destroyRef = inject(DestroyRef);
44
+ api = inject(TabPanelApiService);
45
+ hideContentIfTabNotSelected = input(false, {
46
+ ...ngDevMode ? { debugName: "hideContentIfTabNotSelected" } : /* istanbul ignore next */ {},
47
+ transform: booleanAttribute
48
+ });
49
+ activeItemId = input(...ngDevMode ? [void 0, { debugName: "activeItemId" }] : /* istanbul ignore next */ []);
50
+ compact = input(false, {
51
+ ...ngDevMode ? { debugName: "compact" } : /* istanbul ignore next */ {},
52
+ transform: booleanAttribute
53
+ });
54
+ itemIdChanged = output();
55
+ ngOnInit() {
56
+ this.api.itemIdChanged.pipe(takeUntilDestroyed(this._destroyRef)).subscribe(() => {
57
+ this.itemIdChanged.emit();
58
+ });
59
+ }
60
+ ngOnChanges(changes) {
61
+ if (changes["activeItemId"]) this.api.activate(changes["activeItemId"].currentValue);
62
+ }
63
+ static ɵfac = i0.ɵɵngDeclareFactory({
64
+ minVersion: "12.0.0",
65
+ version: "22.3.0",
66
+ ngImport: i0,
67
+ type: TabPanel,
68
+ deps: [],
69
+ target: i0.ɵɵFactoryTarget.Component
70
+ });
71
+ static ɵcmp = i0.ɵɵngDeclareComponent({
72
+ minVersion: "17.1.0",
73
+ version: "22.3.0",
74
+ type: TabPanel,
75
+ isStandalone: true,
76
+ selector: "ngs-tab-panel",
77
+ inputs: {
78
+ hideContentIfTabNotSelected: {
79
+ classPropertyName: "hideContentIfTabNotSelected",
80
+ publicName: "hideContentIfTabNotSelected",
81
+ isSignal: true,
82
+ isRequired: false,
83
+ transformFunction: null
84
+ },
85
+ activeItemId: {
86
+ classPropertyName: "activeItemId",
87
+ publicName: "activeItemId",
88
+ isSignal: true,
89
+ isRequired: false,
90
+ transformFunction: null
91
+ },
92
+ compact: {
93
+ classPropertyName: "compact",
94
+ publicName: "compact",
95
+ isSignal: true,
96
+ isRequired: false,
97
+ transformFunction: null
98
+ }
99
+ },
100
+ outputs: { itemIdChanged: "itemIdChanged" },
101
+ host: {
102
+ properties: {
103
+ "class.is-hide-content-if-tab-not-selected": "hideContentIfTabNotSelected()",
104
+ "class.is-compact": "compact()"
105
+ },
106
+ classAttribute: "ngs-tab-panel"
107
+ },
108
+ providers: [TabPanelApiService],
109
+ exportAs: ["ngsTabPanel"],
110
+ usesOnChanges: true,
111
+ ngImport: i0,
112
+ template: "<div class=\"panel\">\n <ng-content select=\"ngs-tab-panel-header\"/>\n <ng-content select=\"ngs-tab-panel-content\"/>\n <ng-content select=\"ngs-tab-panel-footer\"/>\n</div>\n<ng-content select=\"ngs-tab-panel-aside\"/>\n",
113
+ styles: [":host{--ngs-tab-panel-width: calc(var(--spacing, .25rem) * 20);--ngs-tab-panel-item-width: calc(var(--spacing, .25rem) * 15);--ngs-tab-panel-item-height: calc(var(--spacing, .25rem) * 15);--ngs-tab-panel-item-padding: calc(var(--spacing, .25rem) * 2);--ngs-tab-panel-item-gap: var(--spacing, .25rem);--ngs-tab-panel-item-color: var(--ngs-nav-item-color);--ngs-tab-panel-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-tab-panel-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-tab-panel-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-tab-panel-item-active-color: var(--ngs-nav-item-active-color);--ngs-tab-panel-item-border-radius: var(--ngs-nav-item-radius);--ngs-tab-panel-aside-width: calc(var(--spacing, .25rem) * 75);--ngs-tab-panel-nav-padding: 0;--ngs-tab-panel-nav-gap: calc(var(--spacing, .25rem) * 3);--ngs-tab-panel-item-text-font-size: var(--ngs-font-size-xs);--ngs-tab-panel-item-icon-font-size: 1.5rem;--ngs-tab-panel-compact-width: calc(var(--spacing, .25rem) * 14);--ngs-tab-panel-compact-item-width: calc(var(--spacing, .25rem) * 10);--ngs-tab-panel-compact-item-height: calc(var(--spacing, .25rem) * 10);display:flex;width:min-content;align-items:stretch}:host .panel{display:flex;flex-direction:column;width:var(--ngs-tab-panel-width);flex:none}:host.is-compact .panel{width:var(--ngs-tab-panel-compact-width)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
114
+ changeDetection: i0.ChangeDetectionStrategy.Eager
115
+ });
116
+ };
117
+ i0.ɵɵngDeclareClassMetadata({
118
+ minVersion: "12.0.0",
119
+ version: "22.3.0",
120
+ ngImport: i0,
121
+ type: TabPanel,
122
+ decorators: [{
123
+ type: Component,
124
+ args: [{
125
+ selector: "ngs-tab-panel",
126
+ exportAs: "ngsTabPanel",
127
+ providers: [TabPanelApiService],
128
+ changeDetection: ChangeDetectionStrategy.Eager,
129
+ host: {
130
+ "class": "ngs-tab-panel",
131
+ "[class.is-hide-content-if-tab-not-selected]": "hideContentIfTabNotSelected()",
132
+ "[class.is-compact]": "compact()"
133
+ },
134
+ template: "<div class=\"panel\">\n <ng-content select=\"ngs-tab-panel-header\"/>\n <ng-content select=\"ngs-tab-panel-content\"/>\n <ng-content select=\"ngs-tab-panel-footer\"/>\n</div>\n<ng-content select=\"ngs-tab-panel-aside\"/>\n",
135
+ styles: [":host{--ngs-tab-panel-width: calc(var(--spacing, .25rem) * 20);--ngs-tab-panel-item-width: calc(var(--spacing, .25rem) * 15);--ngs-tab-panel-item-height: calc(var(--spacing, .25rem) * 15);--ngs-tab-panel-item-padding: calc(var(--spacing, .25rem) * 2);--ngs-tab-panel-item-gap: var(--spacing, .25rem);--ngs-tab-panel-item-color: var(--ngs-nav-item-color);--ngs-tab-panel-item-hover-bg: var(--ngs-nav-item-hover-bg);--ngs-tab-panel-item-hover-color: var(--ngs-nav-item-hover-color);--ngs-tab-panel-item-active-bg: var(--ngs-nav-item-active-bg);--ngs-tab-panel-item-active-color: var(--ngs-nav-item-active-color);--ngs-tab-panel-item-border-radius: var(--ngs-nav-item-radius);--ngs-tab-panel-aside-width: calc(var(--spacing, .25rem) * 75);--ngs-tab-panel-nav-padding: 0;--ngs-tab-panel-nav-gap: calc(var(--spacing, .25rem) * 3);--ngs-tab-panel-item-text-font-size: var(--ngs-font-size-xs);--ngs-tab-panel-item-icon-font-size: 1.5rem;--ngs-tab-panel-compact-width: calc(var(--spacing, .25rem) * 14);--ngs-tab-panel-compact-item-width: calc(var(--spacing, .25rem) * 10);--ngs-tab-panel-compact-item-height: calc(var(--spacing, .25rem) * 10);display:flex;width:min-content;align-items:stretch}:host .panel{display:flex;flex-direction:column;width:var(--ngs-tab-panel-width);flex:none}:host.is-compact .panel{width:var(--ngs-tab-panel-compact-width)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
136
+ }]
137
+ }],
138
+ propDecorators: {
139
+ hideContentIfTabNotSelected: [{
140
+ type: i0.Input,
141
+ args: [{
142
+ isSignal: true,
143
+ alias: "hideContentIfTabNotSelected",
144
+ required: false
145
+ }]
146
+ }],
147
+ activeItemId: [{
148
+ type: i0.Input,
149
+ args: [{
150
+ isSignal: true,
151
+ alias: "activeItemId",
152
+ required: false
153
+ }]
154
+ }],
155
+ compact: [{
156
+ type: i0.Input,
157
+ args: [{
158
+ isSignal: true,
159
+ alias: "compact",
160
+ required: false
161
+ }]
162
+ }],
163
+ itemIdChanged: [{
164
+ type: i0.Output,
165
+ args: ["itemIdChanged"]
166
+ }]
167
+ }
168
+ });
169
+ var TabPanelHeader = class TabPanelHeader {
170
+ static ɵfac = i0.ɵɵngDeclareFactory({
171
+ minVersion: "12.0.0",
172
+ version: "22.3.0",
173
+ ngImport: i0,
174
+ type: TabPanelHeader,
175
+ deps: [],
176
+ target: i0.ɵɵFactoryTarget.Component
177
+ });
178
+ static ɵcmp = i0.ɵɵngDeclareComponent({
179
+ minVersion: "14.0.0",
180
+ version: "22.3.0",
181
+ type: TabPanelHeader,
182
+ isStandalone: true,
183
+ selector: "ngs-tab-panel-header",
184
+ host: { classAttribute: "ngs-tab-panel-header" },
185
+ exportAs: ["ngsTabPanelHeader"],
186
+ ngImport: i0,
187
+ template: "<ng-content/>\n",
188
+ styles: [":host{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
189
+ changeDetection: i0.ChangeDetectionStrategy.Eager
190
+ });
191
+ };
192
+ i0.ɵɵngDeclareClassMetadata({
193
+ minVersion: "12.0.0",
194
+ version: "22.3.0",
195
+ ngImport: i0,
196
+ type: TabPanelHeader,
197
+ decorators: [{
198
+ type: Component,
199
+ args: [{
200
+ selector: "ngs-tab-panel-header",
201
+ exportAs: "ngsTabPanelHeader",
202
+ changeDetection: ChangeDetectionStrategy.Eager,
203
+ host: { "class": "ngs-tab-panel-header" },
204
+ template: "<ng-content/>\n",
205
+ styles: [":host{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
206
+ }]
207
+ }]
208
+ });
209
+ var TabPanelFooter = class TabPanelFooter {
210
+ static ɵfac = i0.ɵɵngDeclareFactory({
211
+ minVersion: "12.0.0",
212
+ version: "22.3.0",
213
+ ngImport: i0,
214
+ type: TabPanelFooter,
215
+ deps: [],
216
+ target: i0.ɵɵFactoryTarget.Component
217
+ });
218
+ static ɵcmp = i0.ɵɵngDeclareComponent({
219
+ minVersion: "14.0.0",
220
+ version: "22.3.0",
221
+ type: TabPanelFooter,
222
+ isStandalone: true,
223
+ selector: "ngs-tab-panel-footer",
224
+ host: { classAttribute: "ngs-tab-panel-footer" },
225
+ exportAs: ["ngsTabPanelFooter"],
226
+ ngImport: i0,
227
+ template: "<ng-content/>\n",
228
+ styles: [":host{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
229
+ changeDetection: i0.ChangeDetectionStrategy.Eager
230
+ });
231
+ };
232
+ i0.ɵɵngDeclareClassMetadata({
233
+ minVersion: "12.0.0",
234
+ version: "22.3.0",
235
+ ngImport: i0,
236
+ type: TabPanelFooter,
237
+ decorators: [{
238
+ type: Component,
239
+ args: [{
240
+ selector: "ngs-tab-panel-footer",
241
+ exportAs: "ngsTabPanelFooter",
242
+ changeDetection: ChangeDetectionStrategy.Eager,
243
+ host: { "class": "ngs-tab-panel-footer" },
244
+ template: "<ng-content/>\n",
245
+ styles: [":host{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
246
+ }]
247
+ }]
248
+ });
249
+ const TAB_PANEL_NAV = new InjectionToken("TAB_PANEL_NAV");
250
+ const TAB_PANEL_ASIDE = new InjectionToken("TAB_PANEL_ASIDE");
251
+ var TabPanelItem = class TabPanelItem {
252
+ api = inject(TabPanelApiService);
253
+ _nav = inject(TAB_PANEL_NAV, { optional: true });
254
+ for = input(this._nav ? this._nav.nextId++ : null, ...ngDevMode ? [{ debugName: "for" }] : /* istanbul ignore next */ []);
255
+ _handleClick() {
256
+ if (!this.for()) return;
257
+ this.api.activate(this.for());
258
+ }
259
+ static ɵfac = i0.ɵɵngDeclareFactory({
260
+ minVersion: "12.0.0",
261
+ version: "22.3.0",
262
+ ngImport: i0,
263
+ type: TabPanelItem,
264
+ deps: [],
265
+ target: i0.ɵɵFactoryTarget.Component
266
+ });
267
+ static ɵcmp = i0.ɵɵngDeclareComponent({
268
+ minVersion: "17.1.0",
269
+ version: "22.3.0",
270
+ type: TabPanelItem,
271
+ isStandalone: true,
272
+ selector: "ngs-tab-panel-item",
273
+ inputs: { for: {
274
+ classPropertyName: "for",
275
+ publicName: "for",
276
+ isSignal: true,
277
+ isRequired: false,
278
+ transformFunction: null
279
+ } },
280
+ host: {
281
+ listeners: { "click": "_handleClick()" },
282
+ properties: { "class.is-active": "api.isActive(this.for())" },
283
+ classAttribute: "ngs-tab-panel-item"
284
+ },
285
+ exportAs: ["ngsTabPanelItem"],
286
+ hostDirectives: [{ directive: i1.Ripple }],
287
+ ngImport: i0,
288
+ template: "<div class=\"icon\">\n <ng-content select=\"[ngsTabPanelItemIcon]\"/>\n</div>\n<div class=\"text\">\n <ng-content/>\n</div>\n",
289
+ styles: [":host{display:flex;flex-direction:column;cursor:pointer;align-items:center;justify-content:center;flex:none;-webkit-user-select:none;user-select:none;width:var(--ngs-tab-panel-item-width);height:var(--ngs-tab-panel-item-height);padding:var(--ngs-tab-panel-item-padding);border-radius:var(--ngs-tab-panel-item-border-radius);color:var(--ngs-tab-panel-item-color);gap:var(--ngs-tab-panel-item-gap)}:host:not(.is-active):hover{background:var(--ngs-tab-panel-item-hover-bg);color:var(--ngs-tab-panel-item-hover-color)}:host.is-active{background:var(--ngs-tab-panel-item-active-bg);color:var(--ngs-tab-panel-item-active-color)}:host .icon{line-height:0;display:inline-block}:host .icon:empty{display:none}:host .text{top:-1px;white-space:nowrap;position:relative;line-height:1;overflow:hidden;text-overflow:ellipsis;width:var(--ngs-tab-panel-item-width);padding:0 var(--spacing, .25rem);text-align:center}:host-context(.ngs-tab-panel.is-compact){width:var(--ngs-tab-panel-compact-item-width);height:var(--ngs-tab-panel-compact-item-height)}:host-context(.ngs-tab-panel.is-compact) .text{display:none;width:var(--ngs-tab-panel-compact-item-width)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
290
+ changeDetection: i0.ChangeDetectionStrategy.Eager
291
+ });
292
+ };
293
+ i0.ɵɵngDeclareClassMetadata({
294
+ minVersion: "12.0.0",
295
+ version: "22.3.0",
296
+ ngImport: i0,
297
+ type: TabPanelItem,
298
+ decorators: [{
299
+ type: Component,
300
+ args: [{
301
+ selector: "ngs-tab-panel-item",
302
+ exportAs: "ngsTabPanelItem",
303
+ hostDirectives: [Ripple],
304
+ changeDetection: ChangeDetectionStrategy.Eager,
305
+ host: {
306
+ "class": "ngs-tab-panel-item",
307
+ "[class.is-active]": "api.isActive(this.for())",
308
+ "(click)": "_handleClick()"
309
+ },
310
+ template: "<div class=\"icon\">\n <ng-content select=\"[ngsTabPanelItemIcon]\"/>\n</div>\n<div class=\"text\">\n <ng-content/>\n</div>\n",
311
+ styles: [":host{display:flex;flex-direction:column;cursor:pointer;align-items:center;justify-content:center;flex:none;-webkit-user-select:none;user-select:none;width:var(--ngs-tab-panel-item-width);height:var(--ngs-tab-panel-item-height);padding:var(--ngs-tab-panel-item-padding);border-radius:var(--ngs-tab-panel-item-border-radius);color:var(--ngs-tab-panel-item-color);gap:var(--ngs-tab-panel-item-gap)}:host:not(.is-active):hover{background:var(--ngs-tab-panel-item-hover-bg);color:var(--ngs-tab-panel-item-hover-color)}:host.is-active{background:var(--ngs-tab-panel-item-active-bg);color:var(--ngs-tab-panel-item-active-color)}:host .icon{line-height:0;display:inline-block}:host .icon:empty{display:none}:host .text{top:-1px;white-space:nowrap;position:relative;line-height:1;overflow:hidden;text-overflow:ellipsis;width:var(--ngs-tab-panel-item-width);padding:0 var(--spacing, .25rem);text-align:center}:host-context(.ngs-tab-panel.is-compact){width:var(--ngs-tab-panel-compact-item-width);height:var(--ngs-tab-panel-compact-item-height)}:host-context(.ngs-tab-panel.is-compact) .text{display:none;width:var(--ngs-tab-panel-compact-item-width)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
312
+ }]
313
+ }],
314
+ propDecorators: { for: [{
315
+ type: i0.Input,
316
+ args: [{
317
+ isSignal: true,
318
+ alias: "for",
319
+ required: false
320
+ }]
321
+ }] }
322
+ });
323
+ var TabPanelNav = class TabPanelNav {
324
+ nextId = 0;
325
+ static ɵfac = i0.ɵɵngDeclareFactory({
326
+ minVersion: "12.0.0",
327
+ version: "22.3.0",
328
+ ngImport: i0,
329
+ type: TabPanelNav,
330
+ deps: [],
331
+ target: i0.ɵɵFactoryTarget.Component
332
+ });
333
+ static ɵcmp = i0.ɵɵngDeclareComponent({
334
+ minVersion: "14.0.0",
335
+ version: "22.3.0",
336
+ type: TabPanelNav,
337
+ isStandalone: true,
338
+ selector: "ngs-tab-panel-nav",
339
+ host: { classAttribute: "ngs-tab-panel-nav" },
340
+ providers: [{
341
+ provide: TAB_PANEL_NAV,
342
+ useExisting: TabPanelNav
343
+ }],
344
+ exportAs: ["ngsTabPanelNav"],
345
+ ngImport: i0,
346
+ template: "<ng-content/>\n",
347
+ styles: [":host{display:flex;flex-direction:column;align-items:center;gap:var(--ngs-tab-panel-nav-gap);padding:var(--ngs-tab-panel-nav-padding)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
348
+ changeDetection: i0.ChangeDetectionStrategy.Eager
349
+ });
350
+ };
351
+ i0.ɵɵngDeclareClassMetadata({
352
+ minVersion: "12.0.0",
353
+ version: "22.3.0",
354
+ ngImport: i0,
355
+ type: TabPanelNav,
356
+ decorators: [{
357
+ type: Component,
358
+ args: [{
359
+ selector: "ngs-tab-panel-nav",
360
+ exportAs: "ngsTabPanelNav",
361
+ providers: [{
362
+ provide: TAB_PANEL_NAV,
363
+ useExisting: TabPanelNav
364
+ }],
365
+ changeDetection: ChangeDetectionStrategy.Eager,
366
+ host: { "class": "ngs-tab-panel-nav" },
367
+ template: "<ng-content/>\n",
368
+ styles: [":host{display:flex;flex-direction:column;align-items:center;gap:var(--ngs-tab-panel-nav-gap);padding:var(--ngs-tab-panel-nav-padding)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
369
+ }]
370
+ }]
371
+ });
372
+ var TabPanelItemText = class TabPanelItemText {
373
+ static ɵfac = i0.ɵɵngDeclareFactory({
374
+ minVersion: "12.0.0",
375
+ version: "22.3.0",
376
+ ngImport: i0,
377
+ type: TabPanelItemText,
378
+ deps: [],
379
+ target: i0.ɵɵFactoryTarget.Component
380
+ });
381
+ static ɵcmp = i0.ɵɵngDeclareComponent({
382
+ minVersion: "14.0.0",
383
+ version: "22.3.0",
384
+ type: TabPanelItemText,
385
+ isStandalone: true,
386
+ selector: "ngs-tab-panel-item-text",
387
+ host: { classAttribute: "ngs-tab-panel-item-text" },
388
+ exportAs: ["ngsTabPanelItemText"],
389
+ ngImport: i0,
390
+ template: "<ng-content/>\n",
391
+ styles: [":host{font-size:var(--ngs-tab-panel-item-text-font-size)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
392
+ changeDetection: i0.ChangeDetectionStrategy.Eager
393
+ });
394
+ };
395
+ i0.ɵɵngDeclareClassMetadata({
396
+ minVersion: "12.0.0",
397
+ version: "22.3.0",
398
+ ngImport: i0,
399
+ type: TabPanelItemText,
400
+ decorators: [{
401
+ type: Component,
402
+ args: [{
403
+ selector: "ngs-tab-panel-item-text",
404
+ exportAs: "ngsTabPanelItemText",
405
+ changeDetection: ChangeDetectionStrategy.Eager,
406
+ host: { "class": "ngs-tab-panel-item-text" },
407
+ template: "<ng-content/>\n",
408
+ styles: [":host{font-size:var(--ngs-tab-panel-item-text-font-size)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
409
+ }]
410
+ }]
411
+ });
412
+ var TabPanelAside = class TabPanelAside {
413
+ nextId = 0;
414
+ static ɵfac = i0.ɵɵngDeclareFactory({
415
+ minVersion: "12.0.0",
416
+ version: "22.3.0",
417
+ ngImport: i0,
418
+ type: TabPanelAside,
419
+ deps: [],
420
+ target: i0.ɵɵFactoryTarget.Component
421
+ });
422
+ static ɵcmp = i0.ɵɵngDeclareComponent({
423
+ minVersion: "14.0.0",
424
+ version: "22.3.0",
425
+ type: TabPanelAside,
426
+ isStandalone: true,
427
+ selector: "ngs-tab-panel-aside",
428
+ host: { classAttribute: "ngs-tab-panel-aside" },
429
+ providers: [{
430
+ provide: TAB_PANEL_ASIDE,
431
+ useExisting: TabPanelAside
432
+ }],
433
+ exportAs: ["ngsTabPanelAside"],
434
+ ngImport: i0,
435
+ template: "<ng-content/>\n",
436
+ styles: [":host{display:block;flex:none;width:var(--ngs-tab-panel-aside-width);position:relative}:host-context(.ngs-tab-panel.is-hide-content-if-tab-not-selected):empty{display:none}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
437
+ changeDetection: i0.ChangeDetectionStrategy.Eager
438
+ });
439
+ };
440
+ i0.ɵɵngDeclareClassMetadata({
441
+ minVersion: "12.0.0",
442
+ version: "22.3.0",
443
+ ngImport: i0,
444
+ type: TabPanelAside,
445
+ decorators: [{
446
+ type: Component,
447
+ args: [{
448
+ selector: "ngs-tab-panel-aside",
449
+ exportAs: "ngsTabPanelAside",
450
+ providers: [{
451
+ provide: TAB_PANEL_ASIDE,
452
+ useExisting: TabPanelAside
453
+ }],
454
+ changeDetection: ChangeDetectionStrategy.Eager,
455
+ host: { "class": "ngs-tab-panel-aside" },
456
+ template: "<ng-content/>\n",
457
+ styles: [":host{display:block;flex:none;width:var(--ngs-tab-panel-aside-width);position:relative}:host-context(.ngs-tab-panel.is-hide-content-if-tab-not-selected):empty{display:none}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
458
+ }]
459
+ }]
460
+ });
461
+ var TabPanelContent = class TabPanelContent {
462
+ static ɵfac = i0.ɵɵngDeclareFactory({
463
+ minVersion: "12.0.0",
464
+ version: "22.3.0",
465
+ ngImport: i0,
466
+ type: TabPanelContent,
467
+ deps: [],
468
+ target: i0.ɵɵFactoryTarget.Component
469
+ });
470
+ static ɵcmp = i0.ɵɵngDeclareComponent({
471
+ minVersion: "14.0.0",
472
+ version: "22.3.0",
473
+ type: TabPanelContent,
474
+ isStandalone: true,
475
+ selector: "ngs-tab-panel-content",
476
+ host: { classAttribute: "ngs-tab-panel-content" },
477
+ exportAs: ["ngsTabPanelContent"],
478
+ ngImport: i0,
479
+ template: "<ng-content/>\n",
480
+ styles: [":host{display:block;flex-grow:1}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
481
+ changeDetection: i0.ChangeDetectionStrategy.Eager
482
+ });
483
+ };
484
+ i0.ɵɵngDeclareClassMetadata({
485
+ minVersion: "12.0.0",
486
+ version: "22.3.0",
487
+ ngImport: i0,
488
+ type: TabPanelContent,
489
+ decorators: [{
490
+ type: Component,
491
+ args: [{
492
+ selector: "ngs-tab-panel-content",
493
+ exportAs: "ngsTabPanelContent",
494
+ changeDetection: ChangeDetectionStrategy.Eager,
495
+ host: { "class": "ngs-tab-panel-content" },
496
+ template: "<ng-content/>\n",
497
+ styles: [":host{display:block;flex-grow:1}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
498
+ }]
499
+ }]
500
+ });
501
+ var TabPanelCustomItem = class TabPanelCustomItem {
502
+ api = inject(TabPanelApiService);
503
+ for = input(...ngDevMode ? [void 0, { debugName: "for" }] : /* istanbul ignore next */ []);
504
+ _handleClick() {
505
+ if (!this.for()) return;
506
+ this.api.activate(this.for());
507
+ }
508
+ static ɵfac = i0.ɵɵngDeclareFactory({
509
+ minVersion: "12.0.0",
510
+ version: "22.3.0",
511
+ ngImport: i0,
512
+ type: TabPanelCustomItem,
513
+ deps: [],
514
+ target: i0.ɵɵFactoryTarget.Component
515
+ });
516
+ static ɵcmp = i0.ɵɵngDeclareComponent({
517
+ minVersion: "17.1.0",
518
+ version: "22.3.0",
519
+ type: TabPanelCustomItem,
520
+ isStandalone: true,
521
+ selector: "ngs-tab-panel-custom-item",
522
+ inputs: { for: {
523
+ classPropertyName: "for",
524
+ publicName: "for",
525
+ isSignal: true,
526
+ isRequired: false,
527
+ transformFunction: null
528
+ } },
529
+ host: {
530
+ listeners: { "click": "_handleClick()" },
531
+ classAttribute: "ngs-tab-panel-custom-item"
532
+ },
533
+ exportAs: ["ngsTabPanelCustomItem"],
534
+ ngImport: i0,
535
+ template: "<ng-content/>\n",
536
+ styles: [":host{display:flex;flex-direction:column;cursor:pointer;align-items:center;justify-content:center;flex:none;-webkit-user-select:none;user-select:none;width:var(--ngs-tab-panel-item-width);height:var(--ngs-tab-panel-item-height)}:host-context(.ngs-tab-panel.is-compact){width:var(--ngs-tab-panel-compact-item-width);height:var(--ngs-tab-panel-compact-item-height)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
537
+ changeDetection: i0.ChangeDetectionStrategy.Eager
538
+ });
539
+ };
540
+ i0.ɵɵngDeclareClassMetadata({
541
+ minVersion: "12.0.0",
542
+ version: "22.3.0",
543
+ ngImport: i0,
544
+ type: TabPanelCustomItem,
545
+ decorators: [{
546
+ type: Component,
547
+ args: [{
548
+ selector: "ngs-tab-panel-custom-item",
549
+ exportAs: "ngsTabPanelCustomItem",
550
+ changeDetection: ChangeDetectionStrategy.Eager,
551
+ host: {
552
+ "class": "ngs-tab-panel-custom-item",
553
+ "(click)": "_handleClick()"
554
+ },
555
+ template: "<ng-content/>\n",
556
+ styles: [":host{display:flex;flex-direction:column;cursor:pointer;align-items:center;justify-content:center;flex:none;-webkit-user-select:none;user-select:none;width:var(--ngs-tab-panel-item-width);height:var(--ngs-tab-panel-item-height)}:host-context(.ngs-tab-panel.is-compact){width:var(--ngs-tab-panel-compact-item-width);height:var(--ngs-tab-panel-compact-item-height)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
557
+ }]
558
+ }],
559
+ propDecorators: { for: [{
560
+ type: i0.Input,
561
+ args: [{
562
+ isSignal: true,
563
+ alias: "for",
564
+ required: false
565
+ }]
566
+ }] }
567
+ });
568
+ var TabPanelAsideContentDirective = class TabPanelAsideContentDirective {
569
+ _aside = inject(TAB_PANEL_ASIDE, { optional: true });
570
+ _api = inject(TabPanelApiService);
571
+ _templateRef = inject(TemplateRef);
572
+ _viewContainer = inject(ViewContainerRef);
573
+ _destroyRef = inject(DestroyRef);
574
+ id = input(this._aside ? this._aside.nextId++ : null, {
575
+ ...ngDevMode ? { debugName: "id" } : /* istanbul ignore next */ {},
576
+ alias: "ngsTabPanelAsideContent"
577
+ });
578
+ ngOnInit() {
579
+ if (this._api.isActive(this.id())) this._show();
580
+ else this._hide();
581
+ this._api.itemIdChanged.pipe(takeUntilDestroyed(this._destroyRef)).subscribe((id) => {
582
+ if (this.id() === id) this._show();
583
+ else this._hide();
584
+ });
585
+ }
586
+ _show() {
587
+ this._viewContainer.clear();
588
+ this._viewContainer.createEmbeddedView(this._templateRef);
589
+ }
590
+ _hide() {
591
+ this._viewContainer.clear();
592
+ }
593
+ static ɵfac = i0.ɵɵngDeclareFactory({
594
+ minVersion: "12.0.0",
595
+ version: "22.3.0",
596
+ ngImport: i0,
597
+ type: TabPanelAsideContentDirective,
598
+ deps: [],
599
+ target: i0.ɵɵFactoryTarget.Directive
600
+ });
601
+ static ɵdir = i0.ɵɵngDeclareDirective({
602
+ minVersion: "17.1.0",
603
+ version: "22.3.0",
604
+ type: TabPanelAsideContentDirective,
605
+ isStandalone: true,
606
+ selector: "[ngsTabPanelAsideContent]",
607
+ inputs: { id: {
608
+ classPropertyName: "id",
609
+ publicName: "ngsTabPanelAsideContent",
610
+ isSignal: true,
611
+ isRequired: false,
612
+ transformFunction: null
613
+ } },
614
+ exportAs: ["ngsTabPanelAsideContent"],
615
+ ngImport: i0
616
+ });
617
+ };
618
+ i0.ɵɵngDeclareClassMetadata({
619
+ minVersion: "12.0.0",
620
+ version: "22.3.0",
621
+ ngImport: i0,
622
+ type: TabPanelAsideContentDirective,
623
+ decorators: [{
624
+ type: Directive,
625
+ args: [{
626
+ selector: "[ngsTabPanelAsideContent]",
627
+ exportAs: "ngsTabPanelAsideContent"
628
+ }]
629
+ }],
630
+ propDecorators: { id: [{
631
+ type: i0.Input,
632
+ args: [{
633
+ isSignal: true,
634
+ alias: "ngsTabPanelAsideContent",
635
+ required: false
636
+ }]
637
+ }] }
638
+ });
639
+ var TabPanelItemIconDirective = class TabPanelItemIconDirective {
640
+ static ɵfac = i0.ɵɵngDeclareFactory({
641
+ minVersion: "12.0.0",
642
+ version: "22.3.0",
643
+ ngImport: i0,
644
+ type: TabPanelItemIconDirective,
645
+ deps: [],
646
+ target: i0.ɵɵFactoryTarget.Directive
647
+ });
648
+ static ɵdir = i0.ɵɵngDeclareDirective({
649
+ minVersion: "14.0.0",
650
+ version: "22.3.0",
651
+ type: TabPanelItemIconDirective,
652
+ isStandalone: true,
653
+ selector: "[ngsTabPanelItemIcon]",
654
+ host: { classAttribute: "ngs-tab-panel-item-icon" },
655
+ exportAs: ["ngsTabPanelItemIcon"],
656
+ ngImport: i0
657
+ });
658
+ };
659
+ i0.ɵɵngDeclareClassMetadata({
660
+ minVersion: "12.0.0",
661
+ version: "22.3.0",
662
+ ngImport: i0,
663
+ type: TabPanelItemIconDirective,
664
+ decorators: [{
665
+ type: Directive,
666
+ args: [{
667
+ selector: "[ngsTabPanelItemIcon]",
668
+ exportAs: "ngsTabPanelItemIcon",
669
+ host: { "class": "ngs-tab-panel-item-icon" }
670
+ }]
671
+ }]
672
+ });
267
673
  export { TabPanel, TabPanelAside, TabPanelAsideContentDirective, TabPanelContent, TabPanelCustomItem, TabPanelFooter, TabPanelHeader, TabPanelItem, TabPanelItemIconDirective, TabPanelItemText, TabPanelNav };
268
- //# sourceMappingURL=ngstarter-ui-components-tab-panel.mjs.map
674
+
675
+ //# sourceMappingURL=ngstarter-ui-components-tab-panel.mjs.map