@ng-atomic/components 17.14.0 → 18.0.0

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 (298) hide show
  1. package/atoms/chips-input/chips-input.atom.d.ts +2 -2
  2. package/esm2022/atoms/atoms.module.mjs +4 -4
  3. package/esm2022/atoms/badge/badge.atom.mjs +3 -3
  4. package/esm2022/atoms/chips-input/chips-input.atom.mjs +4 -4
  5. package/esm2022/atoms/icon/icon.atom.mjs +5 -5
  6. package/esm2022/atoms/smart-menu-button/smart-menu-button.atom.mjs +9 -9
  7. package/esm2022/components.module.mjs +4 -4
  8. package/esm2022/extras/editor/editor.component.mjs +4 -4
  9. package/esm2022/extras/extras.module.mjs +4 -4
  10. package/esm2022/frames/app/app.frame.mjs +23 -24
  11. package/esm2022/frames/auto-layout/auto-layout.frame.mjs +4 -4
  12. package/esm2022/frames/card/card.frame.mjs +3 -3
  13. package/esm2022/frames/columns/columns.frame.mjs +22 -22
  14. package/esm2022/frames/divider/divider.frame.mjs +6 -6
  15. package/esm2022/frames/drawer/drawer.frame.mjs +8 -8
  16. package/esm2022/frames/entrance/entrance.frame.mjs +8 -8
  17. package/esm2022/frames/fab/fab.frame.mjs +8 -8
  18. package/esm2022/frames/fab/fab.service.mjs +3 -3
  19. package/esm2022/frames/frames.module.mjs +4 -4
  20. package/esm2022/frames/line-up/line-up.frame.mjs +9 -9
  21. package/esm2022/frames/line-up/line-up.service.mjs +3 -3
  22. package/esm2022/frames/loading/loading.frame.mjs +8 -8
  23. package/esm2022/frames/overlay/overlay.frame.mjs +6 -6
  24. package/esm2022/frames/router-outlet/router-outlet.frame.mjs +9 -9
  25. package/esm2022/frames/scroll/scroll.frame.mjs +5 -5
  26. package/esm2022/frames/scroll-v2/scroll.frame.mjs +6 -6
  27. package/esm2022/frames/side-nav/side-nav.frame.mjs +28 -29
  28. package/esm2022/frames/smart-menu/smart-menu.frame.mjs +5 -5
  29. package/esm2022/frames/tabs/tabs.frame.mjs +4 -4
  30. package/esm2022/frames/toggle/toggle.frame.mjs +5 -5
  31. package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +5 -5
  32. package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +6 -6
  33. package/esm2022/molecules/actions-column/actions-column.molecule.mjs +10 -10
  34. package/esm2022/molecules/checkbox-column/checkbox-column.molecule.mjs +5 -5
  35. package/esm2022/molecules/chips-input-field/chips-input-field.molecule.mjs +7 -7
  36. package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +8 -8
  37. package/esm2022/molecules/date-range-input-field/date-range-input-field.molecule.mjs +8 -8
  38. package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +9 -9
  39. package/esm2022/molecules/grid-item/grid-item.molecule.mjs +5 -5
  40. package/esm2022/molecules/header/header.molecule.mjs +6 -6
  41. package/esm2022/molecules/loading-box/loading-box.molecule.mjs +8 -8
  42. package/esm2022/molecules/molecules.module.mjs +4 -4
  43. package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +8 -8
  44. package/esm2022/molecules/nested-menu/nested-menu.molecule.mjs +3 -3
  45. package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +8 -8
  46. package/esm2022/molecules/smart-column/smart-column.molecule.mjs +8 -8
  47. package/esm2022/molecules/text-input-field/text-input-field.molecule.mjs +9 -9
  48. package/esm2022/molecules/textarea-field/textarea-field.molecule.mjs +7 -7
  49. package/esm2022/molecules/tree-column/tree-column.molecule.mjs +8 -8
  50. package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +8 -8
  51. package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +8 -8
  52. package/esm2022/organisms/agreement-input-section/agreement-input-section.organism.mjs +6 -6
  53. package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +4 -4
  54. package/esm2022/organisms/chips-input-section/chips-input-section.organism.mjs +6 -6
  55. package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +4 -4
  56. package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +8 -8
  57. package/esm2022/organisms/date-range-input-section/date-range-input-section.organism.mjs +8 -8
  58. package/esm2022/organisms/definition-list/definition-list.organism.mjs +8 -8
  59. package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +8 -8
  60. package/esm2022/organisms/filters-section/filters-section.organism.mjs +3 -3
  61. package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +4 -4
  62. package/esm2022/organisms/grid-cards-section/grid-cards-section.organism.mjs +5 -5
  63. package/esm2022/organisms/grid-toolbar/grid-toolbar.organism.mjs +6 -6
  64. package/esm2022/organisms/heading/heading.organism.mjs +5 -5
  65. package/esm2022/organisms/image-preview-section/image-preview-section.organism.mjs +3 -3
  66. package/esm2022/organisms/markdown-preview-section/markdown-preview-section.organism.mjs +6 -6
  67. package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +8 -8
  68. package/esm2022/organisms/menu-header/menu-header.organism.mjs +8 -8
  69. package/esm2022/organisms/mermaid-section/mermaid-section.organism.mjs +4 -4
  70. package/esm2022/organisms/message-input-section/message-input-section.organism.mjs +3 -3
  71. package/esm2022/organisms/messages-section/messages-section.organism.mjs +5 -5
  72. package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +8 -8
  73. package/esm2022/organisms/navigator/navigator.organism.mjs +8 -8
  74. package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +8 -8
  75. package/esm2022/organisms/organisms.module.mjs +4 -4
  76. package/esm2022/organisms/paginator/paginator.organism.mjs +8 -8
  77. package/esm2022/organisms/password-input-section/password-input-section.organism.mjs +8 -8
  78. package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +8 -8
  79. package/esm2022/organisms/selection-list/selection-list.organism.mjs +3 -3
  80. package/esm2022/organisms/slider-input-section/slider-input-section.organism.mjs +8 -8
  81. package/esm2022/organisms/smart-list/smart-list.organism.mjs +6 -6
  82. package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +4 -4
  83. package/esm2022/organisms/stripe-input-section/stripe-input-section.organism.mjs +11 -11
  84. package/esm2022/organisms/table/table.organism.mjs +9 -9
  85. package/esm2022/organisms/terminal/terminal.organism.mjs +4 -4
  86. package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +8 -8
  87. package/esm2022/organisms/text-preview-section/text-preview-section.organism.mjs +6 -6
  88. package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +8 -8
  89. package/esm2022/organisms/thread-messages-section/thread-messages-section.organism.mjs +8 -8
  90. package/esm2022/organisms/time-range-input-section/time-range-input-section.organism.mjs +3 -3
  91. package/esm2022/organisms/toolbar/toolbar.organism.mjs +3 -3
  92. package/esm2022/organisms/tree-section/tree-section.organism.mjs +4 -4
  93. package/esm2022/organisms/vertical-divider/vertical-divider.organism.mjs +3 -3
  94. package/esm2022/organisms/video-section/video-section.organism.mjs +17 -17
  95. package/esm2022/pages/_index/index.page.mjs +10 -10
  96. package/esm2022/pages/blank/blank.page.mjs +3 -3
  97. package/esm2022/pages/columns/columns.page.mjs +6 -6
  98. package/esm2022/pages/form/form.page.mjs +9 -9
  99. package/esm2022/pages/pages.module.mjs +4 -4
  100. package/esm2022/pages/terms/terms.page.mjs +6 -6
  101. package/esm2022/sheets/actions/actions.sheet.mjs +3 -3
  102. package/esm2022/sheets/sheets.module.mjs +4 -4
  103. package/esm2022/sheets/sheets.service.mjs +3 -3
  104. package/esm2022/templates/_index/index.template.mjs +55 -57
  105. package/esm2022/templates/background/background.template.mjs +7 -7
  106. package/esm2022/templates/code-editor/code-editor.template.mjs +6 -6
  107. package/esm2022/templates/columns/columns.template.mjs +9 -9
  108. package/esm2022/templates/entrance/entrance.template.mjs +24 -25
  109. package/esm2022/templates/file-tree/file-tree.template.mjs +3 -3
  110. package/esm2022/templates/form/form.builder.mjs +28 -37
  111. package/esm2022/templates/form/form.template.mjs +9 -9
  112. package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +8 -8
  113. package/esm2022/templates/loading/loading.template.mjs +3 -3
  114. package/esm2022/templates/menu/menu.template.mjs +8 -8
  115. package/esm2022/templates/messages/messages.template.mjs +4 -4
  116. package/esm2022/templates/selection/selection.template.mjs +8 -8
  117. package/esm2022/templates/settings/settings.template.mjs +5 -5
  118. package/esm2022/templates/tab-editor/tab-editor.template.mjs +3 -3
  119. package/esm2022/templates/templates.module.mjs +4 -4
  120. package/esm2022/templates/term/term.template.mjs +6 -6
  121. package/extras/editor/editor.component.d.ts +2 -2
  122. package/fesm2022/ng-atomic-components-atoms-badge.mjs +3 -3
  123. package/fesm2022/ng-atomic-components-atoms-chips-input.mjs +3 -3
  124. package/fesm2022/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
  125. package/fesm2022/ng-atomic-components-atoms-icon.mjs +5 -5
  126. package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs +9 -9
  127. package/fesm2022/ng-atomic-components-atoms.mjs +4 -4
  128. package/fesm2022/ng-atomic-components-extras-editor.mjs +3 -3
  129. package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -1
  130. package/fesm2022/ng-atomic-components-extras.mjs +4 -4
  131. package/fesm2022/ng-atomic-components-frames-app.mjs +22 -23
  132. package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -1
  133. package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +4 -4
  134. package/fesm2022/ng-atomic-components-frames-card.mjs +3 -3
  135. package/fesm2022/ng-atomic-components-frames-columns.mjs +21 -21
  136. package/fesm2022/ng-atomic-components-frames-columns.mjs.map +1 -1
  137. package/fesm2022/ng-atomic-components-frames-divider.mjs +5 -5
  138. package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -1
  139. package/fesm2022/ng-atomic-components-frames-drawer.mjs +8 -8
  140. package/fesm2022/ng-atomic-components-frames-entrance.mjs +8 -8
  141. package/fesm2022/ng-atomic-components-frames-fab.mjs +11 -11
  142. package/fesm2022/ng-atomic-components-frames-line-up.mjs +11 -11
  143. package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -1
  144. package/fesm2022/ng-atomic-components-frames-loading.mjs +8 -8
  145. package/fesm2022/ng-atomic-components-frames-overlay.mjs +6 -6
  146. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +8 -8
  147. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
  148. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +5 -5
  149. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs.map +1 -1
  150. package/fesm2022/ng-atomic-components-frames-scroll.mjs +5 -5
  151. package/fesm2022/ng-atomic-components-frames-side-nav.mjs +27 -28
  152. package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
  153. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +4 -4
  154. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
  155. package/fesm2022/ng-atomic-components-frames-tabs.mjs +3 -3
  156. package/fesm2022/ng-atomic-components-frames-tabs.mjs.map +1 -1
  157. package/fesm2022/ng-atomic-components-frames-toggle.mjs +4 -4
  158. package/fesm2022/ng-atomic-components-frames-toggle.mjs.map +1 -1
  159. package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +5 -5
  160. package/fesm2022/ng-atomic-components-frames.mjs +4 -4
  161. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +5 -5
  162. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -1
  163. package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +9 -9
  164. package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  165. package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +4 -4
  166. package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
  167. package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs +6 -6
  168. package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
  169. package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +8 -8
  170. package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +8 -8
  171. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +8 -8
  172. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
  173. package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +5 -5
  174. package/fesm2022/ng-atomic-components-molecules-header.mjs +6 -6
  175. package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +8 -8
  176. package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +8 -8
  177. package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs +3 -3
  178. package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +8 -8
  179. package/fesm2022/ng-atomic-components-molecules-smart-column.mjs +7 -7
  180. package/fesm2022/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  181. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +8 -8
  182. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  183. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +6 -6
  184. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  185. package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +7 -7
  186. package/fesm2022/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
  187. package/fesm2022/ng-atomic-components-molecules.mjs +4 -4
  188. package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +8 -8
  189. package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +8 -8
  190. package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +6 -6
  191. package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +4 -4
  192. package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs +6 -6
  193. package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
  194. package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +8 -8
  195. package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +8 -8
  196. package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +8 -8
  197. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +8 -8
  198. package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +3 -3
  199. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +3 -3
  200. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
  201. package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +5 -5
  202. package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +6 -6
  203. package/fesm2022/ng-atomic-components-organisms-heading.mjs +5 -5
  204. package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +3 -3
  205. package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +6 -6
  206. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +8 -8
  207. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +8 -8
  208. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
  209. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +3 -3
  210. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
  211. package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs +3 -3
  212. package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +5 -5
  213. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +8 -8
  214. package/fesm2022/ng-atomic-components-organisms-navigator.mjs +8 -8
  215. package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +8 -8
  216. package/fesm2022/ng-atomic-components-organisms-paginator.mjs +8 -8
  217. package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +8 -8
  218. package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +8 -8
  219. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +3 -3
  220. package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +8 -8
  221. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +6 -6
  222. package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
  223. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +10 -10
  224. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs.map +1 -1
  225. package/fesm2022/ng-atomic-components-organisms-table.mjs +8 -8
  226. package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
  227. package/fesm2022/ng-atomic-components-organisms-terminal.mjs +3 -3
  228. package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -1
  229. package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +8 -8
  230. package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +6 -6
  231. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +8 -8
  232. package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +8 -8
  233. package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +3 -3
  234. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +3 -3
  235. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +3 -3
  236. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
  237. package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +3 -3
  238. package/fesm2022/ng-atomic-components-organisms-video-section.mjs +16 -16
  239. package/fesm2022/ng-atomic-components-organisms-video-section.mjs.map +1 -1
  240. package/fesm2022/ng-atomic-components-organisms.mjs +4 -4
  241. package/fesm2022/ng-atomic-components-pages-_index.mjs +9 -9
  242. package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
  243. package/fesm2022/ng-atomic-components-pages-blank.mjs +3 -3
  244. package/fesm2022/ng-atomic-components-pages-columns.mjs +6 -6
  245. package/fesm2022/ng-atomic-components-pages-form.mjs +8 -8
  246. package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
  247. package/fesm2022/ng-atomic-components-pages-terms.mjs +6 -6
  248. package/fesm2022/ng-atomic-components-pages.mjs +4 -4
  249. package/fesm2022/ng-atomic-components-sheets-actions.mjs +3 -3
  250. package/fesm2022/ng-atomic-components-sheets.mjs +7 -7
  251. package/fesm2022/ng-atomic-components-templates-_index.mjs +55 -57
  252. package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
  253. package/fesm2022/ng-atomic-components-templates-background.mjs +7 -7
  254. package/fesm2022/ng-atomic-components-templates-code-editor.mjs +6 -6
  255. package/fesm2022/ng-atomic-components-templates-columns.mjs +8 -8
  256. package/fesm2022/ng-atomic-components-templates-columns.mjs.map +1 -1
  257. package/fesm2022/ng-atomic-components-templates-entrance.mjs +23 -24
  258. package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
  259. package/fesm2022/ng-atomic-components-templates-file-tree.mjs +3 -3
  260. package/fesm2022/ng-atomic-components-templates-form.mjs +36 -44
  261. package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
  262. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +8 -8
  263. package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
  264. package/fesm2022/ng-atomic-components-templates-menu.mjs +8 -8
  265. package/fesm2022/ng-atomic-components-templates-messages.mjs +3 -3
  266. package/fesm2022/ng-atomic-components-templates-messages.mjs.map +1 -1
  267. package/fesm2022/ng-atomic-components-templates-selection.mjs +8 -8
  268. package/fesm2022/ng-atomic-components-templates-settings.mjs +5 -5
  269. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +3 -3
  270. package/fesm2022/ng-atomic-components-templates-term.mjs +6 -6
  271. package/fesm2022/ng-atomic-components-templates.mjs +4 -4
  272. package/fesm2022/ng-atomic-components.mjs +4 -4
  273. package/frames/app/app.frame.d.ts +17 -17
  274. package/frames/fab/fab.frame.d.ts +3 -3
  275. package/frames/line-up/line-up.frame.d.ts +2 -2
  276. package/frames/side-nav/side-nav.frame.d.ts +2 -2
  277. package/frames/tabs/tabs.frame.d.ts +2 -2
  278. package/molecules/action-input-field/action-input-field.molecule.d.ts +2 -1
  279. package/molecules/actions-column/actions-column.molecule.d.ts +4 -3
  280. package/molecules/checkbox-column/checkbox-column.molecule.d.ts +2 -1
  281. package/molecules/chips-input-field/chips-input-field.molecule.d.ts +2 -1
  282. package/molecules/file-input-field/file-input-field.molecule.d.ts +2 -2
  283. package/molecules/molecules.module.d.ts +1 -1
  284. package/molecules/smart-column/smart-column.molecule.d.ts +4 -4
  285. package/organisms/graphql-editor/graphql-editor.organism.d.ts +2 -2
  286. package/organisms/mermaid-section/mermaid-section.organism.d.ts +2 -2
  287. package/organisms/navigator/navigator.organism.d.ts +3 -3
  288. package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +11 -11
  289. package/organisms/terminal/terminal.organism.d.ts +2 -2
  290. package/organisms/tree-section/tree-section.organism.d.ts +2 -2
  291. package/organisms/video-section/video-section.organism.d.ts +2 -2
  292. package/package.json +10 -11
  293. package/pages/_index/index.page.d.ts +21 -21
  294. package/pages/columns/columns.page.d.ts +6 -6
  295. package/pages/form/form.page.d.ts +19 -17
  296. package/templates/_index/index.template.d.ts +25 -25
  297. package/templates/form/form.template.d.ts +8 -8
  298. package/templates/messages/messages.template.d.ts +2 -2
@@ -47,10 +47,10 @@ class RouterOutletFrameStore extends InjectableComponent {
47
47
  frame: 'overlay',
48
48
  }));
49
49
  }; }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: RouterOutletFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
51
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: RouterOutletFrameStore, isStandalone: true, selector: "frames-router-outlet", inputs: { frame: { classPropertyName: "frame", publicName: "frame", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, isActivated: { classPropertyName: "isActivated", publicName: "isActivated", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
50
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RouterOutletFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
51
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: RouterOutletFrameStore, isStandalone: true, selector: "frames-router-outlet", inputs: { frame: { classPropertyName: "frame", publicName: "frame", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, isActivated: { classPropertyName: "isActivated", publicName: "isActivated", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: RouterOutletFrameStore, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RouterOutletFrameStore, decorators: [{
54
54
  type: Directive,
55
55
  args: [{ standalone: true, selector: 'frames-router-outlet' }]
56
56
  }] });
@@ -69,8 +69,8 @@ class RouterOutletFrame extends NgAtomicComponent {
69
69
  ]).pipe(map(() => this.store.isActivated()(outlet)));
70
70
  });
71
71
  }
72
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: RouterOutletFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
73
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: RouterOutletFrame, isStandalone: true, selector: "frames-router-outlet", viewQueries: [{ propertyName: "outlet", first: true, predicate: RouterOutlet, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: RouterOutletFrameStore, inputs: ["frame", "frame", "name", "name"] }], ngImport: i0, template: `
72
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RouterOutletFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
73
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: RouterOutletFrame, isStandalone: true, selector: "frames-router-outlet", viewQueries: [{ propertyName: "outlet", first: true, predicate: RouterOutlet, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: RouterOutletFrameStore, inputs: ["frame", "frame", "name", "name"] }], ngImport: i0, template: `
74
74
  @switch (store.frame()) {
75
75
  @case ('lineup') {
76
76
  <frames-line-up [hasNext]="isActivated()" [scope]="store.name()">
@@ -87,9 +87,9 @@ class RouterOutletFrame extends NgAtomicComponent {
87
87
  }
88
88
  <ng-template #main><ng-content main /></ng-template>
89
89
  <ng-template #next><router-outlet [name]="store.name()"/></ng-template>
90
- `, isInline: true, styles: [":host{display:contents;--primary-color: #ccc;--primary-color-SCOPED-IN-router-outlet-5WqS: var(--primary-color);--on-primary-color: #ccc;--on-primary-color-SCOPED-IN-router-outlet-5WqS: var(--on-primary-color);--surface-color: #ccc;--surface-color-SCOPED-IN-router-outlet-5WqS: var(--surface-color);--background-color: #ccc;--background-color-SCOPED-IN-router-outlet-5WqS: var(--background-color)}:host *{--primary-color: var(--primary-color-SCOPED-IN-router-outlet-5WqS);--on-primary-color: var(--on-primary-color-SCOPED-IN-router-outlet-5WqS);--surface-color: var(--surface-color-SCOPED-IN-router-outlet-5WqS);--background-color: var(--background-color-SCOPED-IN-router-outlet-5WqS)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: OverlayFrame, selector: "frames-overlay" }, { kind: "component", type: LineUpFrame, selector: "frames-line-up" }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
90
+ `, isInline: true, styles: [":host{display:contents;--primary-color: #ccc;--primary-color-SCOPED-IN-router-outlet-NSUm: var(--primary-color);--on-primary-color: #ccc;--on-primary-color-SCOPED-IN-router-outlet-NSUm: var(--on-primary-color);--surface-color: #ccc;--surface-color-SCOPED-IN-router-outlet-NSUm: var(--surface-color);--background-color: #ccc;--background-color-SCOPED-IN-router-outlet-NSUm: var(--background-color)}:host *{--primary-color: var(--primary-color-SCOPED-IN-router-outlet-NSUm);--on-primary-color: var(--on-primary-color-SCOPED-IN-router-outlet-NSUm);--surface-color: var(--surface-color-SCOPED-IN-router-outlet-NSUm);--background-color: var(--background-color-SCOPED-IN-router-outlet-NSUm)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: OverlayFrame, selector: "frames-overlay" }, { kind: "component", type: LineUpFrame, selector: "frames-line-up" }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
91
91
  }
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: RouterOutletFrame, decorators: [{
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RouterOutletFrame, decorators: [{
93
93
  type: Component,
94
94
  args: [{ selector: 'frames-router-outlet', standalone: true, imports: [
95
95
  NgTemplateOutlet,
@@ -118,7 +118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
118
118
  directive: RouterOutletFrameStore,
119
119
  inputs: ['frame', 'name'],
120
120
  },
121
- ], styles: [":host{display:contents;--primary-color: #ccc;--primary-color-SCOPED-IN-router-outlet-5WqS: var(--primary-color);--on-primary-color: #ccc;--on-primary-color-SCOPED-IN-router-outlet-5WqS: var(--on-primary-color);--surface-color: #ccc;--surface-color-SCOPED-IN-router-outlet-5WqS: var(--surface-color);--background-color: #ccc;--background-color-SCOPED-IN-router-outlet-5WqS: var(--background-color)}:host *{--primary-color: var(--primary-color-SCOPED-IN-router-outlet-5WqS);--on-primary-color: var(--on-primary-color-SCOPED-IN-router-outlet-5WqS);--surface-color: var(--surface-color-SCOPED-IN-router-outlet-5WqS);--background-color: var(--background-color-SCOPED-IN-router-outlet-5WqS)}\n"] }]
121
+ ], styles: [":host{display:contents;--primary-color: #ccc;--primary-color-SCOPED-IN-router-outlet-NSUm: var(--primary-color);--on-primary-color: #ccc;--on-primary-color-SCOPED-IN-router-outlet-NSUm: var(--on-primary-color);--surface-color: #ccc;--surface-color-SCOPED-IN-router-outlet-NSUm: var(--surface-color);--background-color: #ccc;--background-color-SCOPED-IN-router-outlet-NSUm: var(--background-color)}:host *{--primary-color: var(--primary-color-SCOPED-IN-router-outlet-NSUm);--on-primary-color: var(--on-primary-color-SCOPED-IN-router-outlet-NSUm);--surface-color: var(--surface-color-SCOPED-IN-router-outlet-NSUm);--background-color: var(--background-color-SCOPED-IN-router-outlet-NSUm)}\n"] }]
122
122
  }] });
123
123
 
124
124
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-router-outlet.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/router-outlet/router-outlet.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/router-outlet/ng-atomic-components-frames-router-outlet.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, inject, input, viewChild } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { OverlayFrame } from '@ng-atomic/components/frames/overlay';\nimport { LineUpFrame } from '@ng-atomic/components/frames/line-up';\nimport { PRIMARY_OUTLET, RouterOutlet } from '@angular/router';\nimport { Breakpoint } from '@ng-atomic/common/services/breakpoint';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { InjectableComponent, NgAtomicComponent, _computed } from '@ng-atomic/core';\nimport { combineLatest, map, of, startWith } from 'rxjs';\nimport { computedAsync } from 'ngxtension/computed-async';\n\nfunction isBlankRoute(outlet: RouterOutlet): boolean {\n return !!(outlet?.activatedRouteData) && !(outlet.activatedRouteData?.['isBlank']);\n}\n\n@Directive({standalone: true, selector: 'frames-router-outlet'})\nexport class RouterOutletFrameStore extends InjectableComponent {\n static readonly Config = makeConfig(() => {\n const getFrame = (breakpoint: Breakpoint) => {\n switch(breakpoint) {\n case 'xSmall': return 'overlay' as 'lineup' | 'overlay';\n default: return 'lineup' as 'lineup' | 'overlay';\n }\n }\n return (context) => {\n return ({\n frame: getFrame(context.breakpoint),\n name: PRIMARY_OUTLET as string,\n isActivated: (outlet: RouterOutlet) => isBlankRoute(outlet),\n });\n }\n }, ['components', 'frames', 'router-outlet']);\n\n static provideExperimental() {\n return RouterOutletFrameStore.Config.provide(() => {\n return (config) => ({ ...config, isActivated: (outlet) => !!outlet.isActivated });\n });\n }\n\n static provideSideAppConfig = () => {\n return RouterOutletFrameStore.Config.provide(() => (config) => ({\n ...config,\n name: 'side-app',\n frame: 'overlay',\n }));\n }\n\n readonly config = RouterOutletFrameStore.Config.inject();\n readonly frame = input(_computed(() => this.config().frame));\n readonly name = input(_computed(() => this.config().name, { equal: (a, b) => a === b }));\n readonly isActivated = input(_computed(() => this.config().isActivated));\n} \n\n@Component({\n selector: 'frames-router-outlet',\n standalone: true,\n imports: [\n NgTemplateOutlet,\n OverlayFrame,\n LineUpFrame,\n RouterOutlet,\n ],\n template: `\n @switch (store.frame()) {\n @case ('lineup') {\n <frames-line-up [hasNext]=\"isActivated()\" [scope]=\"store.name()\">\n <ng-container *ngTemplateOutlet=\"main\" main/>\n <ng-container *ngTemplateOutlet=\"next\" next/>\n </frames-line-up>\n }\n @default {\n <frames-overlay [hasNext]=\"isActivated()\">\n <ng-container *ngTemplateOutlet=\"main\" main/>\n <ng-container *ngTemplateOutlet=\"next\" next/>\n </frames-overlay>\n }\n }\n <ng-template #main><ng-content main /></ng-template>\n <ng-template #next><router-outlet [name]=\"store.name()\"/></ng-template>\n `,\n styleUrls: ['./router-outlet.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: RouterOutletFrameStore,\n inputs: ['frame', 'name'],\n },\n ],\n})\nexport class RouterOutletFrame extends NgAtomicComponent {\n protected store = inject(RouterOutletFrameStore);\n readonly outlet = viewChild(RouterOutlet);\n readonly isActivated = computedAsync(() => {\n const outlet = this.outlet();\n if (!outlet) return of(false);\n return combineLatest([\n outlet.activateEvents.pipe(startWith(null)), \n outlet.deactivateEvents.pipe(startWith(null)),\n ]).pipe(\n map(() => this.store.isActivated()(outlet)),\n )\n })\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAWA,SAAS,YAAY,CAAC,MAAoB,EAAA;AACxC,IAAA,OAAO,CAAC,EAAE,MAAM,EAAE,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC,CAAC;AACrF,CAAC;AAGK,MAAO,sBAAuB,SAAQ,mBAAmB,CAAA;AAD/D,IAAA,WAAA,GAAA;;AAgCW,QAAA,IAAA,CAAA,MAAM,GAAG,sBAAsB,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AAChD,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AACpD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;AAChF,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI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A,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,YAAY,EACZ,QAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,WAAW,2DACX,YAAY,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,QAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FA6BH,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBApC7B,SAAS;+BACE,sBAAsB,EAAA,UAAA,EACpB,IAAI,EACP,OAAA,EAAA;wBACP,gBAAgB;wBAChB,YAAY;wBACZ,WAAW;wBACX,YAAY;qBACb,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;GAiBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,sBAAsB;AACjC,4BAAA,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;AAC1B,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,irBAAA,CAAA,EAAA,CAAA;;;ACvFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-frames-router-outlet.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/router-outlet/router-outlet.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/router-outlet/ng-atomic-components-frames-router-outlet.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, inject, input, viewChild } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { OverlayFrame } from '@ng-atomic/components/frames/overlay';\nimport { LineUpFrame } from '@ng-atomic/components/frames/line-up';\nimport { PRIMARY_OUTLET, RouterOutlet } from '@angular/router';\nimport { Breakpoint } from '@ng-atomic/common/services/breakpoint';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { InjectableComponent, NgAtomicComponent, _computed } from '@ng-atomic/core';\nimport { combineLatest, map, of, startWith } from 'rxjs';\nimport { computedAsync } from 'ngxtension/computed-async';\n\nfunction isBlankRoute(outlet: RouterOutlet): boolean {\n return !!(outlet?.activatedRouteData) && !(outlet.activatedRouteData?.['isBlank']);\n}\n\n@Directive({standalone: true, selector: 'frames-router-outlet'})\nexport class RouterOutletFrameStore extends InjectableComponent {\n static readonly Config = makeConfig(() => {\n const getFrame = (breakpoint: Breakpoint) => {\n switch(breakpoint) {\n case 'xSmall': return 'overlay' as 'lineup' | 'overlay';\n default: return 'lineup' as 'lineup' | 'overlay';\n }\n }\n return (context) => {\n return ({\n frame: getFrame(context.breakpoint),\n name: PRIMARY_OUTLET as string,\n isActivated: (outlet: RouterOutlet) => isBlankRoute(outlet),\n });\n }\n }, ['components', 'frames', 'router-outlet']);\n\n static provideExperimental() {\n return RouterOutletFrameStore.Config.provide(() => {\n return (config) => ({ ...config, isActivated: (outlet) => !!outlet.isActivated });\n });\n }\n\n static provideSideAppConfig = () => {\n return RouterOutletFrameStore.Config.provide(() => (config) => ({\n ...config,\n name: 'side-app',\n frame: 'overlay',\n }));\n }\n\n readonly config = RouterOutletFrameStore.Config.inject();\n readonly frame = input(_computed(() => this.config().frame));\n readonly name = input(_computed(() => this.config().name, { equal: (a, b) => a === b }));\n readonly isActivated = input(_computed(() => this.config().isActivated));\n} \n\n@Component({\n selector: 'frames-router-outlet',\n standalone: true,\n imports: [\n NgTemplateOutlet,\n OverlayFrame,\n LineUpFrame,\n RouterOutlet,\n ],\n template: `\n @switch (store.frame()) {\n @case ('lineup') {\n <frames-line-up [hasNext]=\"isActivated()\" [scope]=\"store.name()\">\n <ng-container *ngTemplateOutlet=\"main\" main/>\n <ng-container *ngTemplateOutlet=\"next\" next/>\n </frames-line-up>\n }\n @default {\n <frames-overlay [hasNext]=\"isActivated()\">\n <ng-container *ngTemplateOutlet=\"main\" main/>\n <ng-container *ngTemplateOutlet=\"next\" next/>\n </frames-overlay>\n }\n }\n <ng-template #main><ng-content main /></ng-template>\n <ng-template #next><router-outlet [name]=\"store.name()\"/></ng-template>\n `,\n styleUrls: ['./router-outlet.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: RouterOutletFrameStore,\n inputs: ['frame', 'name'],\n },\n ],\n})\nexport class RouterOutletFrame extends NgAtomicComponent {\n protected store = inject(RouterOutletFrameStore);\n readonly outlet = viewChild(RouterOutlet);\n readonly isActivated = computedAsync(() => {\n const outlet = this.outlet();\n if (!outlet) return of(false);\n return combineLatest([\n outlet.activateEvents.pipe(startWith(null)), \n outlet.deactivateEvents.pipe(startWith(null)),\n ]).pipe(\n map(() => this.store.isActivated()(outlet)),\n )\n })\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAWA,SAAS,YAAY,CAAC,MAAoB,EAAA;AACxC,IAAA,OAAO,CAAC,EAAE,MAAM,EAAE,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC,CAAC;AACrF,CAAC;AAGK,MAAO,sBAAuB,SAAQ,mBAAmB,CAAA;AAD/D,IAAA,WAAA,GAAA;;AAgCW,QAAA,IAAA,CAAA,MAAM,GAAG,sBAAsB,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AAChD,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AACpD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,CAA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,WAAA,EAAA,IAAA,EAtBC,gBAAgB,EAChB,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,YAAY,EACZ,QAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,WAAW,2DACX,YAAY,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,QAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FA6BH,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBApC7B,SAAS;+BACE,sBAAsB,EAAA,UAAA,EACpB,IAAI,EACP,OAAA,EAAA;wBACP,gBAAgB;wBAChB,YAAY;wBACZ,WAAW;wBACX,YAAY;qBACb,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;GAiBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,sBAAsB;AACjC,4BAAA,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;AAC1B,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,irBAAA,CAAA,EAAA,CAAA;;;ACvFH;;AAEG;;;;"}
@@ -10,8 +10,8 @@ class ScrollFrame {
10
10
  scrollToBottom() {
11
11
  this.contents.nativeElement.scrollTop = this.contents.nativeElement.scrollHeight;
12
12
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ScrollFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: ScrollFrame, isStandalone: true, selector: "frames-scroll", viewQueries: [{ propertyName: "contents", first: true, predicate: ["contents"], descendants: true, static: true }], ngImport: i0, template: `
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ScrollFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: ScrollFrame, isStandalone: true, selector: "frames-scroll", viewQueries: [{ propertyName: "contents", first: true, predicate: ["contents"], descendants: true, static: true }], ngImport: i0, template: `
15
15
  <div class="top">
16
16
  <ng-content select=[top]></ng-content>
17
17
  </div>
@@ -22,9 +22,9 @@ class ScrollFrame {
22
22
  <div class="bottom">
23
23
  <ng-content select=[bottom]></ng-content>
24
24
  </div>
25
- `, isInline: true, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-FwDO: var(--height);--top-height: 56px;--top-height-SCOPED-IN-scroll-FwDO: var(--top-height);--bottom-height: 56px;--bottom-height-SCOPED-IN-scroll-FwDO: var(--bottom-height);--contents-gap: 16px;--contents-gap-SCOPED-IN-scroll-FwDO: var(--contents-gap)}:host{display:flex;width:100%;flex-direction:column;justify-content:space-between;height:var(--height-SCOPED-IN-scroll-FwDO);overflow:hidden}:host .top{height:-moz-fit-content;height:fit-content;transition:.5s height;touch-action:none}:host .contents{display:flex;flex:auto;flex-direction:column;gap:var(--contents-gap-SCOPED-IN-scroll-FwDO);transition:.5s height;overflow:scroll;box-sizing:border-box;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}:host .bottom{height:-moz-fit-content;height:fit-content}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
+ `, isInline: true, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-1PMb: var(--height);--top-height: 56px;--top-height-SCOPED-IN-scroll-1PMb: var(--top-height);--bottom-height: 56px;--bottom-height-SCOPED-IN-scroll-1PMb: var(--bottom-height);--contents-gap: 16px;--contents-gap-SCOPED-IN-scroll-1PMb: var(--contents-gap)}:host{display:flex;width:100%;flex-direction:column;justify-content:space-between;height:var(--height-SCOPED-IN-scroll-1PMb);overflow:hidden}:host .top{height:fit-content;transition:.5s height;touch-action:none}:host .contents{display:flex;flex:auto;flex-direction:column;gap:var(--contents-gap-SCOPED-IN-scroll-1PMb);transition:.5s height;overflow:scroll;box-sizing:border-box;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}:host .bottom{height:fit-content}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ScrollFrame, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ScrollFrame, decorators: [{
28
28
  type: Component,
29
29
  args: [{ selector: 'frames-scroll', standalone: true, imports: [
30
30
  CommonModule,
@@ -39,7 +39,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
39
39
  <div class="bottom">
40
40
  <ng-content select=[bottom]></ng-content>
41
41
  </div>
42
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-FwDO: var(--height);--top-height: 56px;--top-height-SCOPED-IN-scroll-FwDO: var(--top-height);--bottom-height: 56px;--bottom-height-SCOPED-IN-scroll-FwDO: var(--bottom-height);--contents-gap: 16px;--contents-gap-SCOPED-IN-scroll-FwDO: var(--contents-gap)}:host{display:flex;width:100%;flex-direction:column;justify-content:space-between;height:var(--height-SCOPED-IN-scroll-FwDO);overflow:hidden}:host .top{height:-moz-fit-content;height:fit-content;transition:.5s height;touch-action:none}:host .contents{display:flex;flex:auto;flex-direction:column;gap:var(--contents-gap-SCOPED-IN-scroll-FwDO);transition:.5s height;overflow:scroll;box-sizing:border-box;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}:host .bottom{height:-moz-fit-content;height:fit-content}\n"] }]
42
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-1PMb: var(--height);--top-height: 56px;--top-height-SCOPED-IN-scroll-1PMb: var(--top-height);--bottom-height: 56px;--bottom-height-SCOPED-IN-scroll-1PMb: var(--bottom-height);--contents-gap: 16px;--contents-gap-SCOPED-IN-scroll-1PMb: var(--contents-gap)}:host{display:flex;width:100%;flex-direction:column;justify-content:space-between;height:var(--height-SCOPED-IN-scroll-1PMb);overflow:hidden}:host .top{height:fit-content;transition:.5s height;touch-action:none}:host .contents{display:flex;flex:auto;flex-direction:column;gap:var(--contents-gap-SCOPED-IN-scroll-1PMb);transition:.5s height;overflow:scroll;box-sizing:border-box;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}:host .bottom{height:fit-content}\n"] }]
43
43
  }], propDecorators: { contents: [{
44
44
  type: ViewChild,
45
45
  args: ['contents', { static: true }]
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-scroll-v2.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/scroll-v2/scroll.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/scroll-v2/ng-atomic-components-frames-scroll-v2.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'frames-scroll',\n standalone: true,\n imports: [\n CommonModule,\n ],\n template: `\n <div class=\"top\">\n <ng-content select=[top]></ng-content>\n </div>\n <div class=\"contents\" #contents>\n <ng-content></ng-content>\n <!-- <ng-content select=[contents]></ng-content> -->\n </div>\n <div class=\"bottom\">\n <ng-content select=[bottom]></ng-content>\n </div>\n `,\n styleUrls: ['./scroll.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScrollFrame {\n\n @ViewChild('contents', {static: true})\n protected contents: ElementRef<HTMLDivElement>;\n\n isScrollBottom() {\n const contents = this.contents.nativeElement;\n return contents.scrollHeight - contents.scrollTop === contents.clientHeight;\n }\n\n scrollToBottom() {\n this.contents.nativeElement.scrollTop = this.contents.nativeElement.scrollHeight;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAwBa,WAAW,CAAA;IAKtB,cAAc,GAAA;AACZ,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC;QAC7C,OAAO,QAAQ,CAAC,YAAY,GAAG,QAAQ,CAAC,SAAS,KAAK,QAAQ,CAAC,YAAY,CAAC;KAC7E;IAED,cAAc,GAAA;AACZ,QAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,YAAY,CAAC;KAClF;8GAZU,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,WAAW,EAfZ,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;AAWT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,60BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAbC,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAiBH,WAAW,EAAA,UAAA,EAAA,CAAA;kBArBvB,SAAS;+BACE,eAAe,EAAA,UAAA,EACb,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;qBACb,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;GAWT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,60BAAA,CAAA,EAAA,CAAA;8BAKrC,QAAQ,EAAA,CAAA;sBADjB,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,UAAU,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAA;;;AC1BvC;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-frames-scroll-v2.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/scroll-v2/scroll.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/scroll-v2/ng-atomic-components-frames-scroll-v2.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'frames-scroll',\n standalone: true,\n imports: [\n CommonModule,\n ],\n template: `\n <div class=\"top\">\n <ng-content select=[top]></ng-content>\n </div>\n <div class=\"contents\" #contents>\n <ng-content></ng-content>\n <!-- <ng-content select=[contents]></ng-content> -->\n </div>\n <div class=\"bottom\">\n <ng-content select=[bottom]></ng-content>\n </div>\n `,\n styleUrls: ['./scroll.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScrollFrame {\n\n @ViewChild('contents', {static: true})\n protected contents: ElementRef<HTMLDivElement>;\n\n isScrollBottom() {\n const contents = this.contents.nativeElement;\n return contents.scrollHeight - contents.scrollTop === contents.clientHeight;\n }\n\n scrollToBottom() {\n this.contents.nativeElement.scrollTop = this.contents.nativeElement.scrollHeight;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAwBa,WAAW,CAAA;IAKtB,cAAc,GAAA;AACZ,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC;QAC7C,OAAO,QAAQ,CAAC,YAAY,GAAG,QAAQ,CAAC,SAAS,KAAK,QAAQ,CAAC,YAAY,CAAC;KAC7E;IAED,cAAc,GAAA;AACZ,QAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,YAAY,CAAC;KAClF;8GAZU,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,WAAW,EAfZ,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;AAWT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,6xBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAbC,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAiBH,WAAW,EAAA,UAAA,EAAA,CAAA;kBArBvB,SAAS;+BACE,eAAe,EAAA,UAAA,EACb,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;qBACb,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;GAWT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,6xBAAA,CAAA,EAAA,CAAA;8BAKrC,QAAQ,EAAA,CAAA;sBADjB,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,UAAU,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAA;;;AC1BvC;;AAEG;;;;"}
@@ -3,17 +3,17 @@ import * as i0 from '@angular/core';
3
3
  import { Component, ChangeDetectionStrategy } from '@angular/core';
4
4
 
5
5
  class ScrollFrame {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ScrollFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: ScrollFrame, isStandalone: true, selector: "frames-scroll", ngImport: i0, template: `
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ScrollFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: ScrollFrame, isStandalone: true, selector: "frames-scroll", ngImport: i0, template: `
8
8
  <div class="navigator">
9
9
  <ng-content select=[navigator]></ng-content>
10
10
  </div>
11
11
  <div class="contents">
12
12
  <ng-content select=[contents]></ng-content>
13
13
  </div>
14
- `, isInline: true, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-VK7d: var(--height);--navigator-height: 56px;--navigator-height-SCOPED-IN-scroll-VK7d: var(--navigator-height)}:host{height:var(--height-SCOPED-IN-scroll-VK7d);overflow:hidden}:host .navigator{height:var(--navigator-height-SCOPED-IN-scroll-VK7d);transition:.5s height;overflow:hidden;touch-action:none}:host .contents{height:calc(var(--height-SCOPED-IN-scroll-VK7d) - var(--navigator-height-SCOPED-IN-scroll-VK7d));transition:.5s height;overflow:auto;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
+ `, isInline: true, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-HShB: var(--height);--navigator-height: 56px;--navigator-height-SCOPED-IN-scroll-HShB: var(--navigator-height)}:host{height:var(--height-SCOPED-IN-scroll-HShB);overflow:hidden}:host .navigator{height:var(--navigator-height-SCOPED-IN-scroll-HShB);transition:.5s height;overflow:hidden;touch-action:none}:host .contents{height:calc(var(--height-SCOPED-IN-scroll-HShB) - var(--navigator-height-SCOPED-IN-scroll-HShB));transition:.5s height;overflow:auto;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ScrollFrame, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ScrollFrame, decorators: [{
17
17
  type: Component,
18
18
  args: [{ selector: 'frames-scroll', standalone: true, imports: [
19
19
  CommonModule,
@@ -24,7 +24,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
24
24
  <div class="contents">
25
25
  <ng-content select=[contents]></ng-content>
26
26
  </div>
27
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-VK7d: var(--height);--navigator-height: 56px;--navigator-height-SCOPED-IN-scroll-VK7d: var(--navigator-height)}:host{height:var(--height-SCOPED-IN-scroll-VK7d);overflow:hidden}:host .navigator{height:var(--navigator-height-SCOPED-IN-scroll-VK7d);transition:.5s height;overflow:hidden;touch-action:none}:host .contents{height:calc(var(--height-SCOPED-IN-scroll-VK7d) - var(--navigator-height-SCOPED-IN-scroll-VK7d));transition:.5s height;overflow:auto;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}\n"] }]
27
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--height: 100%;--height-SCOPED-IN-scroll-HShB: var(--height);--navigator-height: 56px;--navigator-height-SCOPED-IN-scroll-HShB: var(--navigator-height)}:host{height:var(--height-SCOPED-IN-scroll-HShB);overflow:hidden}:host .navigator{height:var(--navigator-height-SCOPED-IN-scroll-HShB);transition:.5s height;overflow:hidden;touch-action:none}:host .contents{height:calc(var(--height-SCOPED-IN-scroll-HShB) - var(--navigator-height-SCOPED-IN-scroll-HShB));transition:.5s height;overflow:auto;-webkit-overflow-scrolling:touch}:host .contents::-webkit-scrollbar{display:none}\n"] }]
28
28
  }] });
29
29
 
30
30
  /**
@@ -3,7 +3,6 @@ import { NgTemplateOutlet } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { signal, input, Directive, HostBinding, inject, Component, ChangeDetectionStrategy } from '@angular/core';
5
5
  import { makeConfig } from '@ng-atomic/common/services/ui';
6
- import { DrawerFrame } from '@ng-atomic/components/frames/drawer';
7
6
  import { LineUpFrame } from '@ng-atomic/components/frames/line-up';
8
7
  import { MenuTemplateStore } from '@ng-atomic/components/templates/menu';
9
8
  import { InjectableComponent, _computed, TokenizedType, NgAtomicComponent } from '@ng-atomic/core';
@@ -56,13 +55,13 @@ let SideNavFrameStore = class SideNavFrameStore extends InjectableComponent {
56
55
  get attrFrame() {
57
56
  return this.frameType();
58
57
  }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SideNavFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
60
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: SideNavFrameStore, isStandalone: true, selector: "frames-side-nav", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, menuType: { classPropertyName: "menuType", publicName: "menuType", isSignal: true, isRequired: false, transformFunction: null }, menuTitle: { classPropertyName: "menuTitle", publicName: "menuTitle", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, frameType: { classPropertyName: "frameType", publicName: "frameType", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.frame": "this.attrFrame" } }, usesInheritance: true, ngImport: i0 }); }
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SideNavFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
59
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: SideNavFrameStore, isStandalone: true, selector: "frames-side-nav", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, menuType: { classPropertyName: "menuType", publicName: "menuType", isSignal: true, isRequired: false, transformFunction: null }, menuTitle: { classPropertyName: "menuTitle", publicName: "menuTitle", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, frameType: { classPropertyName: "frameType", publicName: "frameType", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.frame": "this.attrFrame" } }, usesInheritance: true, ngImport: i0 }); }
61
60
  };
62
61
  SideNavFrameStore = SideNavFrameStore_1 = __decorate([
63
62
  TokenizedType()
64
63
  ], SideNavFrameStore);
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SideNavFrameStore, decorators: [{
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SideNavFrameStore, decorators: [{
66
65
  type: Directive,
67
66
  args: [{ standalone: true, selector: 'frames-side-nav' }]
68
67
  }], propDecorators: { attrFrame: [{
@@ -74,8 +73,8 @@ class SideNavFrame extends NgAtomicComponent {
74
73
  super(...arguments);
75
74
  this.store = inject(SideNavFrameStore);
76
75
  }
77
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SideNavFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
78
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: SideNavFrame, isStandalone: true, selector: "frames-side-nav", usesInheritance: true, hostDirectives: [{ directive: SideNavFrameStore, inputs: ["actions", "actions", "menuType", "menuType", "menuTitle", "menuTitle", "mode", "mode", "frameType", "frameType"] }], ngImport: i0, template: `
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SideNavFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
77
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: SideNavFrame, isStandalone: true, selector: "frames-side-nav", usesInheritance: true, hostDirectives: [{ directive: SideNavFrameStore, inputs: ["actions", "actions", "menuType", "menuType", "menuTitle", "menuTitle", "mode", "mode", "frameType", "frameType"] }], ngImport: i0, template: `
79
78
  @switch (store.frameType()) {
80
79
  @case ('drawer') {
81
80
  @defer {
@@ -117,17 +116,17 @@ class SideNavFrame extends NgAtomicComponent {
117
116
  }
118
117
  </ng-template>
119
118
  <ng-template #contents><ng-content/></ng-template>
120
- `, isInline: true, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-side-nav-TG2l: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-side-nav-TG2l: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-side-nav-TG2l: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-side-nav-TG2l: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-side-nav-TG2l: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-side-nav-TG2l: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-side-nav-TG2l: var(--on-surface-color);--menu-width: 220px;--menu-width-SCOPED-IN-side-nav-TG2l: var(--menu-width);--menu-background-color: var(--primary-color-SCOPED-IN-side-nav-TG2l);--menu-background-color-SCOPED-IN-side-nav-TG2l: var(--menu-background-color);--menu-on-background-color: var(--on-primary-color-SCOPED-IN-side-nav-TG2l);--menu-on-background-color-SCOPED-IN-side-nav-TG2l: var(--menu-on-background-color)}:host{display:block;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-side-nav-TG2l);--secondary-color: var(--secondary-color-SCOPED-IN-side-nav-TG2l);--surface-color: var(--surface-color-SCOPED-IN-side-nav-TG2l);--background-color: var(--background-color-SCOPED-IN-side-nav-TG2l);--on-background-color: var(--on-background-color-SCOPED-IN-side-nav-TG2l);--on-primary-color: var(--on-primary-color-SCOPED-IN-side-nav-TG2l);--on-surface-color: var(--on-surface-color-SCOPED-IN-side-nav-TG2l)}:host .content{width:100%;height:100%}:host templates-icon-button-menu,:host templates-menu{width:var(--menu-width-SCOPED-IN-side-nav-TG2l);--background-color: var(--menu-background-color-SCOPED-IN-side-nav-TG2l);--on-background-color: var(--menu-on-background-color-SCOPED-IN-side-nav-TG2l)}:host[frame=lineup] .content{width:calc(100vw - var(--menu-width-SCOPED-IN-side-nav-TG2l));overflow:hidden}:host[frame=drawer] .menu,:host[frame=drawer] templates-menu{width:300px}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: LineUpFrame, selector: "frames-line-up" }, { kind: "directive", type: IconButtonMenuTemplateStore, selector: "templates-icon-button-menu", inputs: ["actions"] }, { kind: "directive", type: MenuTemplateStore, selector: "templates-menu", inputs: ["actions", "title"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
119
+ `, isInline: true, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-side-nav-HuB2: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-side-nav-HuB2: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-side-nav-HuB2: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-side-nav-HuB2: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-side-nav-HuB2: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-side-nav-HuB2: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-side-nav-HuB2: var(--on-surface-color);--menu-width: 220px;--menu-width-SCOPED-IN-side-nav-HuB2: var(--menu-width);--menu-background-color: var(--primary-color-SCOPED-IN-side-nav-HuB2);--menu-background-color-SCOPED-IN-side-nav-HuB2: var(--menu-background-color);--menu-on-background-color: var(--on-primary-color-SCOPED-IN-side-nav-HuB2);--menu-on-background-color-SCOPED-IN-side-nav-HuB2: var(--menu-on-background-color)}:host{display:block;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-side-nav-HuB2);--secondary-color: var(--secondary-color-SCOPED-IN-side-nav-HuB2);--surface-color: var(--surface-color-SCOPED-IN-side-nav-HuB2);--background-color: var(--background-color-SCOPED-IN-side-nav-HuB2);--on-background-color: var(--on-background-color-SCOPED-IN-side-nav-HuB2);--on-primary-color: var(--on-primary-color-SCOPED-IN-side-nav-HuB2);--on-surface-color: var(--on-surface-color-SCOPED-IN-side-nav-HuB2)}:host .content{width:100%;height:100%}:host templates-icon-button-menu,:host templates-menu{width:var(--menu-width-SCOPED-IN-side-nav-HuB2);--background-color: var(--menu-background-color-SCOPED-IN-side-nav-HuB2);--on-background-color: var(--menu-on-background-color-SCOPED-IN-side-nav-HuB2)}:host[frame=lineup] .content{width:calc(100vw - var(--menu-width-SCOPED-IN-side-nav-HuB2));overflow:hidden}:host[frame=drawer] .menu,:host[frame=drawer] templates-menu{width:300px}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: LineUpFrame, selector: "frames-line-up" }, { kind: "directive", type: IconButtonMenuTemplateStore, selector: "templates-icon-button-menu", inputs: ["actions"] }, { kind: "directive", type: MenuTemplateStore, selector: "templates-menu", inputs: ["actions", "title"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [NgTemplateOutlet, import('@ng-atomic/components/frames/drawer').then(m => m.DrawerFrame)]] }); }
121
120
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SideNavFrame, decorators: [{
123
- type: Component,
124
- args: [{ standalone: true, imports: [
125
- NgTemplateOutlet,
126
- DrawerFrame,
127
- LineUpFrame,
128
- IconButtonMenuTemplateStore,
129
- MenuTemplateStore,
130
- ], selector: 'frames-side-nav', template: `
121
+ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "18.1.2", ngImport: i0, type: SideNavFrame, resolveDeferredDeps: () => [import('@ng-atomic/components/frames/drawer').then(m => m.DrawerFrame)], resolveMetadata: DrawerFrame => ({ decorators: [{
122
+ type: Component,
123
+ args: [{ standalone: true, imports: [
124
+ NgTemplateOutlet,
125
+ DrawerFrame,
126
+ LineUpFrame,
127
+ IconButtonMenuTemplateStore,
128
+ MenuTemplateStore,
129
+ ], selector: 'frames-side-nav', template: `
131
130
  @switch (store.frameType()) {
132
131
  @case ('drawer') {
133
132
  @defer {
@@ -170,18 +169,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
170
169
  </ng-template>
171
170
  <ng-template #contents><ng-content/></ng-template>
172
171
  `, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
173
- {
174
- directive: SideNavFrameStore,
175
- inputs: [
176
- 'actions',
177
- 'menuType',
178
- 'menuTitle',
179
- 'mode',
180
- 'frameType',
181
- ],
182
- },
183
- ], styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-side-nav-TG2l: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-side-nav-TG2l: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-side-nav-TG2l: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-side-nav-TG2l: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-side-nav-TG2l: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-side-nav-TG2l: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-side-nav-TG2l: var(--on-surface-color);--menu-width: 220px;--menu-width-SCOPED-IN-side-nav-TG2l: var(--menu-width);--menu-background-color: var(--primary-color-SCOPED-IN-side-nav-TG2l);--menu-background-color-SCOPED-IN-side-nav-TG2l: var(--menu-background-color);--menu-on-background-color: var(--on-primary-color-SCOPED-IN-side-nav-TG2l);--menu-on-background-color-SCOPED-IN-side-nav-TG2l: var(--menu-on-background-color)}:host{display:block;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-side-nav-TG2l);--secondary-color: var(--secondary-color-SCOPED-IN-side-nav-TG2l);--surface-color: var(--surface-color-SCOPED-IN-side-nav-TG2l);--background-color: var(--background-color-SCOPED-IN-side-nav-TG2l);--on-background-color: var(--on-background-color-SCOPED-IN-side-nav-TG2l);--on-primary-color: var(--on-primary-color-SCOPED-IN-side-nav-TG2l);--on-surface-color: var(--on-surface-color-SCOPED-IN-side-nav-TG2l)}:host .content{width:100%;height:100%}:host templates-icon-button-menu,:host templates-menu{width:var(--menu-width-SCOPED-IN-side-nav-TG2l);--background-color: var(--menu-background-color-SCOPED-IN-side-nav-TG2l);--on-background-color: var(--menu-on-background-color-SCOPED-IN-side-nav-TG2l)}:host[frame=lineup] .content{width:calc(100vw - var(--menu-width-SCOPED-IN-side-nav-TG2l));overflow:hidden}:host[frame=drawer] .menu,:host[frame=drawer] templates-menu{width:300px}\n"] }]
184
- }] });
172
+ {
173
+ directive: SideNavFrameStore,
174
+ inputs: [
175
+ 'actions',
176
+ 'menuType',
177
+ 'menuTitle',
178
+ 'mode',
179
+ 'frameType',
180
+ ],
181
+ },
182
+ ], styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-side-nav-HuB2: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-side-nav-HuB2: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-side-nav-HuB2: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-side-nav-HuB2: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-side-nav-HuB2: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-side-nav-HuB2: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-side-nav-HuB2: var(--on-surface-color);--menu-width: 220px;--menu-width-SCOPED-IN-side-nav-HuB2: var(--menu-width);--menu-background-color: var(--primary-color-SCOPED-IN-side-nav-HuB2);--menu-background-color-SCOPED-IN-side-nav-HuB2: var(--menu-background-color);--menu-on-background-color: var(--on-primary-color-SCOPED-IN-side-nav-HuB2);--menu-on-background-color-SCOPED-IN-side-nav-HuB2: var(--menu-on-background-color)}:host{display:block;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-side-nav-HuB2);--secondary-color: var(--secondary-color-SCOPED-IN-side-nav-HuB2);--surface-color: var(--surface-color-SCOPED-IN-side-nav-HuB2);--background-color: var(--background-color-SCOPED-IN-side-nav-HuB2);--on-background-color: var(--on-background-color-SCOPED-IN-side-nav-HuB2);--on-primary-color: var(--on-primary-color-SCOPED-IN-side-nav-HuB2);--on-surface-color: var(--on-surface-color-SCOPED-IN-side-nav-HuB2)}:host .content{width:100%;height:100%}:host templates-icon-button-menu,:host templates-menu{width:var(--menu-width-SCOPED-IN-side-nav-HuB2);--background-color: var(--menu-background-color-SCOPED-IN-side-nav-HuB2);--on-background-color: var(--menu-on-background-color-SCOPED-IN-side-nav-HuB2)}:host[frame=lineup] .content{width:calc(100vw - var(--menu-width-SCOPED-IN-side-nav-HuB2));overflow:hidden}:host[frame=drawer] .menu,:host[frame=drawer] templates-menu{width:300px}\n"] }]
183
+ }], ctorParameters: null, propDecorators: null }) });
185
184
 
186
185
  /**
187
186
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-side-nav.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/side-nav/side-nav.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/side-nav/ng-atomic-components-frames-side-nav.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, HostBinding, WritableSignal, inject, input, signal } from '@angular/core';\nimport { Breakpoint } from '@ng-atomic/common/services/breakpoint';\nimport { makeConfig, UIContext } from '@ng-atomic/common/services/ui';\nimport { DrawerFrame } from '@ng-atomic/components/frames/drawer';\nimport { LineUpFrame } from '@ng-atomic/components/frames/line-up';\nimport { MenuTemplateStore } from '@ng-atomic/components/templates/menu';\nimport { NgAtomicComponent, TokenizedType, _computed } from '@ng-atomic/core';\nimport { IconButtonMenuTemplateStore } from '@ng-atomic/components/templates/icon-button-menu';\nimport { InjectableComponent } from '@ng-atomic/core';\n\nexport function injectSideNavMode(): WritableSignal<'collapsed' | 'expanded'> {\n return signal<'collapsed' | 'expanded'>('collapsed');\n}\n\n@TokenizedType()\n@Directive({ standalone: true, selector: 'frames-side-nav' })\nexport class SideNavFrameStore extends InjectableComponent {\n static getMode = (context: UIContext) => {\n switch (context.breakpoint) {\n case 'xSmall': return 'collapsed';\n default: return 'expanded';\n }\n };\n\n static getFrameType = (context: UIContext): 'lineup' | 'drawer' => {\n switch (context.breakpoint) {\n case 'xSmall': return 'drawer';\n default: return 'lineup';\n }\n };\n\n static getMenuType = (context: UIContext): 'menu' | 'icon-button-menu' => {\n switch (context.breakpoint) {\n case 'xSmall': return 'menu';\n case 'small':\n case 'medium': return 'icon-button-menu';\n default: return 'menu';\n }\n };\n\n static readonly Config = makeConfig(() => {\n return (context) => ({\n actions: [],\n menuType: SideNavFrameStore.getMenuType(context),\n menuTitle: undefined as string,\n mode: SideNavFrameStore.getMode(context),\n frameType: SideNavFrameStore.getFrameType(context),\n });\n }, ['components', 'frames', 'sideNav']);\n\n readonly config = SideNavFrameStore.Config.inject();\n readonly actions = input(_computed(() => this.config().actions));\n readonly menuType = input(_computed(() => this.config().menuType));\n readonly menuTitle = input(_computed(() => this.config().menuTitle));\n readonly mode = input(_computed(() => this.config().mode));\n readonly frameType = input(_computed(() => this.config().frameType));\n\n @HostBinding('attr.frame')\n get attrFrame() {\n return this.frameType();\n }\n}\n\n\n@Component({\n standalone: true,\n imports: [\n NgTemplateOutlet,\n DrawerFrame,\n LineUpFrame,\n IconButtonMenuTemplateStore,\n MenuTemplateStore,\n ],\n selector: 'frames-side-nav',\n template: `\n @switch (store.frameType()) {\n @case ('drawer') {\n @defer {\n <frames-drawer [opened]=\"store.mode() === 'expanded'\">\n <ng-container *ngTemplateOutlet=\"menu\" drawer/>\n <ng-container *ngTemplateOutlet=\"contents\" contents/>\n </frames-drawer>\n }\n }\n @default {\n <!-- @defer { -->\n <frames-line-up [hasNext]=\"true\" [scope]=\"'nav'\">\n <ng-container *ngTemplateOutlet=\"menu\" main/>\n <div class=\"content\" next><ng-container *ngTemplateOutlet=\"contents\"/></div>\n </frames-line-up>\n <!-- } -->\n }\n }\n\n <ng-template #menu>\n @switch (store.menuType()) {\n @case ('icon-button-menu') {\n <!-- @defer { -->\n <templates-icon-button-menu injectable\n [actions]=\"store.actions()\"\n (action)=\"dispatch($event)\"\n />\n <!-- } -->\n }\n @default {\n <!-- @defer { -->\n <templates-menu injectable\n [title]=\"store.menuTitle()\"\n [actions]=\"store.actions()\"\n (action)=\"dispatch($event)\"\n />\n <!-- } -->\n }\n }\n </ng-template>\n <ng-template #contents><ng-content/></ng-template>\n `,\n styleUrls: ['./side-nav.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: SideNavFrameStore,\n inputs: [\n 'actions',\n 'menuType',\n 'menuTitle',\n 'mode',\n 'frameType',\n ],\n },\n ],\n})\nexport class SideNavFrame extends NgAtomicComponent {\n protected store = inject(SideNavFrameStore);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;SAWgB,iBAAiB,GAAA;AAC/B,IAAA,OAAO,MAAM,CAA2B,WAAW,CAAC,CAAC;AACvD,CAAC;AAIM,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,mBAAmB,CAAA;AAAnD,IAAA,WAAA,GAAA;;AAkCI,QAAA,IAAA,CAAA,MAAM,GAAG,mBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AAC3C,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;AACxD,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC1D,QAAA,IAAA,CAAA,SAAS,GA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side-nav/side-nav.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/side-nav/ng-atomic-components-frames-side-nav.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, HostBinding, WritableSignal, inject, input, signal } from '@angular/core';\nimport { Breakpoint } from '@ng-atomic/common/services/breakpoint';\nimport { makeConfig, UIContext } from '@ng-atomic/common/services/ui';\nimport { DrawerFrame } from '@ng-atomic/components/frames/drawer';\nimport { LineUpFrame } from '@ng-atomic/components/frames/line-up';\nimport { MenuTemplateStore } from '@ng-atomic/components/templates/menu';\nimport { NgAtomicComponent, TokenizedType, _computed } from '@ng-atomic/core';\nimport { IconButtonMenuTemplateStore } from '@ng-atomic/components/templates/icon-button-menu';\nimport { InjectableComponent } from '@ng-atomic/core';\n\nexport function injectSideNavMode(): WritableSignal<'collapsed' | 'expanded'> {\n return signal<'collapsed' | 'expanded'>('collapsed');\n}\n\n@TokenizedType()\n@Directive({ standalone: true, selector: 'frames-side-nav' })\nexport class SideNavFrameStore extends InjectableComponent {\n static getMode = (context: UIContext) => {\n switch (context.breakpoint) {\n case 'xSmall': return 'collapsed';\n default: return 'expanded';\n }\n };\n\n static getFrameType = (context: UIContext): 'lineup' | 'drawer' => {\n switch (context.breakpoint) {\n case 'xSmall': return 'drawer';\n default: return 'lineup';\n }\n };\n\n static getMenuType = (context: UIContext): 'menu' | 'icon-button-menu' => {\n switch (context.breakpoint) {\n case 'xSmall': return 'menu';\n case 'small':\n case 'medium': return 'icon-button-menu';\n default: return 'menu';\n }\n };\n\n static readonly Config = makeConfig(() => {\n return (context) => ({\n actions: [],\n menuType: SideNavFrameStore.getMenuType(context),\n menuTitle: undefined as string,\n mode: SideNavFrameStore.getMode(context),\n frameType: SideNavFrameStore.getFrameType(context),\n });\n }, ['components', 'frames', 'sideNav']);\n\n readonly config = SideNavFrameStore.Config.inject();\n readonly actions = input(_computed(() => this.config().actions));\n readonly menuType = input(_computed(() => this.config().menuType));\n readonly menuTitle = input(_computed(() => this.config().menuTitle));\n readonly mode = input(_computed(() => this.config().mode));\n readonly frameType = input(_computed(() => this.config().frameType));\n\n @HostBinding('attr.frame')\n get attrFrame() {\n return this.frameType();\n }\n}\n\n\n@Component({\n standalone: true,\n imports: [\n NgTemplateOutlet,\n DrawerFrame,\n LineUpFrame,\n IconButtonMenuTemplateStore,\n MenuTemplateStore,\n ],\n selector: 'frames-side-nav',\n template: `\n @switch (store.frameType()) {\n @case ('drawer') {\n @defer {\n <frames-drawer [opened]=\"store.mode() === 'expanded'\">\n <ng-container *ngTemplateOutlet=\"menu\" drawer/>\n <ng-container *ngTemplateOutlet=\"contents\" contents/>\n </frames-drawer>\n }\n }\n @default {\n <!-- @defer { -->\n <frames-line-up [hasNext]=\"true\" [scope]=\"'nav'\">\n <ng-container *ngTemplateOutlet=\"menu\" main/>\n <div class=\"content\" next><ng-container *ngTemplateOutlet=\"contents\"/></div>\n </frames-line-up>\n <!-- } -->\n }\n }\n\n <ng-template #menu>\n @switch (store.menuType()) {\n @case ('icon-button-menu') {\n <!-- @defer { -->\n <templates-icon-button-menu injectable\n [actions]=\"store.actions()\"\n (action)=\"dispatch($event)\"\n />\n <!-- } -->\n }\n @default {\n <!-- @defer { -->\n <templates-menu injectable\n [title]=\"store.menuTitle()\"\n [actions]=\"store.actions()\"\n (action)=\"dispatch($event)\"\n />\n <!-- } -->\n }\n }\n </ng-template>\n <ng-template #contents><ng-content/></ng-template>\n `,\n styleUrls: ['./side-nav.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: SideNavFrameStore,\n inputs: [\n 'actions',\n 'menuType',\n 'menuTitle',\n 'mode',\n 'frameType',\n ],\n },\n ],\n})\nexport class SideNavFrame extends NgAtomicComponent {\n protected store = inject(SideNavFrameStore);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;SAWgB,iBAAiB,GAAA;AAC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ACP,OAAA,EAAA;4BACP,gBAAgB;4BAChB,WAAW;4BACX,WAAW;4BACX,2BAA2B;4BAC3B,iBAAiB;AAClB,yBAAA,EAAA,QAAA,EACS,iBAAiB,EACjB,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,4BAAA;AACE,gCAAA,SAAS,EAAE,iBAAiB;AAC5B,gCAAA,MAAM,EAAE;oCACN,SAAS;oCACT,UAAU;oCACV,WAAW;oCACX,MAAM;oCACN,WAAW;AACZ,iCAAA;AACF,6BAAA;AACF,yBAAA,EAAA,MAAA,EAAA,CAAA,igEAAA,CAAA,EAAA,CAAA;;;ACnIH;;AAEG;;;;"}
@@ -13,14 +13,14 @@ class SmartMenuFrame {
13
13
  const page = this.outlet?.activatedRouteData?.['page'];
14
14
  return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;
15
15
  }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartMenuFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: SmartMenuFrame, isStandalone: true, selector: "frames-smart-menu", inputs: { label: "label", outlet: "outlet", minNextWidth: "minNextWidth" }, host: { properties: { "attr.is-main-hidden": "this.isMainHidden" } }, viewQueries: [{ propertyName: "next", first: true, predicate: ["next"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-smart-menu-dfGB: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-dfGB: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-dfGB: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-dfGB);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-dfGB)}:host .contents{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-dfGB)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartMenuFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: SmartMenuFrame, isStandalone: true, selector: "frames-smart-menu", inputs: { label: "label", outlet: "outlet", minNextWidth: "minNextWidth" }, host: { properties: { "attr.is-main-hidden": "this.isMainHidden" } }, viewQueries: [{ propertyName: "next", first: true, predicate: ["next"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-smart-menu-l63b: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-l63b: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-l63b: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-l63b);width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-l63b)}:host .contents{display:flex;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-l63b)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartMenuFrame, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartMenuFrame, decorators: [{
20
20
  type: Component,
21
21
  args: [{ standalone: true, imports: [
22
22
  CommonModule,
23
- ], selector: 'frames-smart-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-smart-menu-dfGB: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-dfGB: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-dfGB: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-dfGB);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-dfGB)}:host .contents{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-dfGB)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}\n"] }]
23
+ ], selector: 'frames-smart-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap: 1px;--gap-SCOPED-IN-smart-menu-l63b: var(--gap);--background: #ccc;--background-SCOPED-IN-smart-menu-l63b: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-smart-menu-l63b: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-l63b);width:fit-content;height:100%;background:var(--background-SCOPED-IN-smart-menu-l63b)}:host .contents{display:flex;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-smart-menu-l63b)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}\n"] }]
24
24
  }], propDecorators: { isMainHidden: [{
25
25
  type: HostBinding,
26
26
  args: ['attr.is-main-hidden']
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-smart-menu.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/smart-menu/smart-menu.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/smart-menu/smart-menu.frame.html","../../../../../packages/@ng-atomic/components/src/lib/frames/smart-menu/ng-atomic-components-frames-smart-menu.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n standalone: true,\n imports: [\n CommonModule,\n ],\n selector: 'frames-smart-menu',\n templateUrl: './smart-menu.frame.html',\n styleUrls: ['./smart-menu.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartMenuFrame {\n @HostBinding('attr.is-main-hidden')\n isMainHidden = false;\n\n @Input()\n label = 'root';\n\n @Input()\n outlet?: RouterOutlet;\n\n @Input()\n minNextWidth: number = 360;\n\n @ViewChild('next', {static: true})\n next!: ElementRef;\n\n get page(): string {\n const page: string = this.outlet?.activatedRouteData?.['page'];\n return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;\n }\n\n}\n","<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[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S;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;AACb,qBAAA,EAAA,QAAA,EACS,mBAAmB,EAAA,eAAA,EAGZ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kLAAA,EAAA,MAAA,EAAA,CAAA,+uBAAA,CAAA,EAAA,CAAA;8BAI/C,YAAY,EAAA,CAAA;sBADX,WAAW;uBAAC,qBAAqB,CAAA;gBAIlC,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,KAAK;gBAIN,YAAY,EAAA,CAAA;sBADX,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,MAAM,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAA;;;AE3BnC;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-frames-smart-menu.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/smart-menu/smart-menu.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/smart-menu/smart-menu.frame.html","../../../../../packages/@ng-atomic/components/src/lib/frames/smart-menu/ng-atomic-components-frames-smart-menu.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n standalone: true,\n imports: [\n CommonModule,\n ],\n selector: 'frames-smart-menu',\n templateUrl: './smart-menu.frame.html',\n styleUrls: ['./smart-menu.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartMenuFrame {\n @HostBinding('attr.is-main-hidden')\n isMainHidden = false;\n\n @Input()\n label = 'root';\n\n @Input()\n outlet?: RouterOutlet;\n\n @Input()\n minNextWidth = 360;\n\n @ViewChild('next', {static: true})\n next!: ElementRef;\n\n get page(): string {\n const page: string = this.outlet?.activatedRouteData?.['page'];\n return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;\n }\n\n}\n","<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAca,cAAc,CAAA;AAV3B,IAAA,WAAA,GAAA;QAYE,IAAY,CAAA,YAAA,GAAG,KAAK,CAAC;QAGrB,IAAK,CAAA,KAAA,GAAG,MAAM,CAAC;QAMf,IAAY,CAAA,YAAA,GAAG,GAAG,CAAC;AAUpB,KAAA;AALC,IAAA,IAAI,IAAI,GAAA;QACN,MAAM,IAAI,GAAW,IAAI,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAAC,CAAC;QAC/D,OAAO,IAAI,KAAK,OAAO,GAAG,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,CAAA,gBAAA,CAAkB,CAAC;KACrF;8GAnBU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,qBAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,MAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,MAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECd3B,kLAKM,EAAA,MAAA,EAAA,CAAA,6rBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDEF,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAOH,cAAc,EAAA,UAAA,EAAA,CAAA;kBAV1B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;AACb,qBAAA,EAAA,QAAA,EACS,mBAAmB,EAAA,eAAA,EAGZ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kLAAA,EAAA,MAAA,EAAA,CAAA,6rBAAA,CAAA,EAAA,CAAA;8BAI/C,YAAY,EAAA,CAAA;sBADX,WAAW;uBAAC,qBAAqB,CAAA;gBAIlC,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,KAAK;gBAIN,YAAY,EAAA,CAAA;sBADX,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,MAAM,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAA;;;AE3BnC;;AAEG;;;;"}
@@ -14,8 +14,8 @@ class TabsFrame {
14
14
  this.tabs.push({ content: content });
15
15
  });
16
16
  }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TabsFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: TabsFrame, isStandalone: true, selector: "frames-tabs", queries: [{ propertyName: "tabContents", predicate: ["tab"] }], ngImport: i0, template: `
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TabsFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: TabsFrame, isStandalone: true, selector: "frames-tabs", queries: [{ propertyName: "tabContents", predicate: ["tab"] }], ngImport: i0, template: `
19
19
  <mat-tab-group>
20
20
  <mat-tab *ngFor="let tab of tabs; let i = index" [label]="'Tab ' + (i + 1)">
21
21
  <ng-container *ngTemplateOutlet="tab.content"></ng-container>
@@ -23,7 +23,7 @@ class TabsFrame {
23
23
  </mat-tab-group>
24
24
  `, isInline: true, styles: [":host{display:block}:host{height:100%}:host mat-tab-group{height:100%}:host mat-tab-group ::ng-deep .mat-mdc-tab-body-wrapper{height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TabsFrame, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TabsFrame, decorators: [{
27
27
  type: Component,
28
28
  args: [{ selector: 'frames-tabs', standalone: true, imports: [
29
29
  CommonModule,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-tabs.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/tabs/tabs.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/tabs/ng-atomic-components-frames-tabs.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ContentChildren, ElementRef, QueryList } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTabsModule } from '@angular/material/tabs';\n\n@Component({\n selector: 'frames-tabs',\n standalone: true,\n imports: [\n CommonModule,\n MatTabsModule,\n ],\n template: `\n <mat-tab-group>\n <mat-tab *ngFor=\"let tab of tabs; let i = index\" [label]=\"'Tab ' + (i + 1)\">\n <ng-container *ngTemplateOutlet=\"tab.content\"></ng-container>\n </mat-tab>\n </mat-tab-group>\n `,\n styleUrls: ['./tabs.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TabsFrame {\n @ContentChildren('tab') tabContents: QueryList<ElementRef>;\n\n tabs: any[] = [];\n\n ngAfterContentInit() {\n this.tabContents.forEach((content, index) => {\n this.tabs.push({ content: content });\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAqBa,SAAS,CAAA;AAjBtB,IAAA,WAAA,GAAA;QAoBE,IAAI,CAAA,IAAA,GAAU,EAAE,CAAC;AAOlB,KAAA;IALC,kBAAkB,GAAA;QAChB,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,KAAK,KAAI;YAC1C,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;AACvC,SAAC,CAAC,CAAC;KACJ;8GATU,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EA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;kBAjBrB,SAAS;+BACE,aAAa,EAAA,UAAA,EACX,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;qBACd,EACS,QAAA,EAAA,CAAA;;;;;;GAMT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,8IAAA,CAAA,EAAA,CAAA;8BAGvB,WAAW,EAAA,CAAA;sBAAlC,eAAe;uBAAC,KAAK,CAAA;;;ACtBxB;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-frames-tabs.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/tabs/tabs.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/tabs/ng-atomic-components-frames-tabs.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ContentChildren, ElementRef, QueryList, AfterContentInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTabsModule } from '@angular/material/tabs';\n\n@Component({\n selector: 'frames-tabs',\n standalone: true,\n imports: [\n CommonModule,\n MatTabsModule,\n ],\n template: `\n <mat-tab-group>\n <mat-tab *ngFor=\"let tab of tabs; let i = index\" [label]=\"'Tab ' + (i + 1)\">\n <ng-container *ngTemplateOutlet=\"tab.content\"></ng-container>\n </mat-tab>\n </mat-tab-group>\n `,\n styleUrls: ['./tabs.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TabsFrame implements AfterContentInit {\n @ContentChildren('tab') tabContents: QueryList<ElementRef>;\n\n tabs: any[] = [];\n\n ngAfterContentInit() {\n this.tabContents.forEach((content, index) => {\n this.tabs.push({ content: content });\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAqBa,SAAS,CAAA;AAjBtB,IAAA,WAAA,GAAA;QAoBE,IAAI,CAAA,IAAA,GAAU,EAAE,CAAC;AAOlB,KAAA;IALC,kBAAkB,GAAA;QAChB,IAAI,CAAC,WAAW,C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EAAA,iBAAA,EAAA,iBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,qBAAA,EAAA,aAAA,EAAA,eAAA,EAAA,mBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAYJ,SAAS,EAAA,UAAA,EAAA,CAAA;kBAjBrB,SAAS;+BACE,aAAa,EAAA,UAAA,EACX,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;qBACd,EACS,QAAA,EAAA,CAAA;;;;;;GAMT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,8IAAA,CAAA,EAAA,CAAA;8BAGvB,WAAW,EAAA,CAAA;sBAAlC,eAAe;uBAAC,KAAK,CAAA;;;ACtBxB;;AAEG;;;;"}
@@ -15,8 +15,8 @@ class ToggleFrame extends NgAtomicComponent {
15
15
  onChange($event) {
16
16
  this.dispatch($event.value);
17
17
  }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ToggleFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
19
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: ToggleFrame, isStandalone: true, selector: "frames-toggle", inputs: { actions: "actions" }, usesInheritance: true, ngImport: i0, template: `
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ToggleFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
19
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: ToggleFrame, isStandalone: true, selector: "frames-toggle", inputs: { actions: "actions" }, usesInheritance: true, ngImport: i0, template: `
20
20
  <ng-content />
21
21
  <mat-button-toggle-group #group="matButtonToggleGroup" (change)="onChange($event)">
22
22
  @for (action of actions; track action.id) {
@@ -25,9 +25,9 @@ class ToggleFrame extends NgAtomicComponent {
25
25
  </mat-button-toggle>
26
26
  }
27
27
  </mat-button-toggle-group>
28
- `, isInline: true, styles: [":host{position:relative;display:contents}:host mat-button-toggle-group{position:absolute;bottom:8px;left:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonToggleModule }, { kind: "directive", type: i1.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i1.MatButtonToggle, selector: "mat-button-toggle", inputs: ["aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "disableRipple", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
28
+ `, isInline: true, styles: [":host{position:relative;display:contents}:host mat-button-toggle-group{position:absolute;bottom:8px;left:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonToggleModule }, { kind: "directive", type: i1.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled", "hideSingleSelectionIndicator", "hideMultipleSelectionIndicator"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i1.MatButtonToggle, selector: "mat-button-toggle", inputs: ["aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "disableRipple", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ToggleFrame, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ToggleFrame, decorators: [{
31
31
  type: Component,
32
32
  args: [{ selector: 'frames-toggle', standalone: true, imports: [
33
33
  CommonModule,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-toggle.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/toggle/toggle.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/toggle/ng-atomic-components-frames-toggle.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonToggleChange, MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatIconModule } from '@angular/material/icon';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { Action, NgAtomicComponent } from '@ng-atomic/core';\n\n@Component({\n selector: 'frames-toggle',\n standalone: true,\n imports: [\n CommonModule,\n MatButtonToggleModule,\n MatIconModule,\n ],\n template: `\n <ng-content />\n <mat-button-toggle-group #group=\"matButtonToggleGroup\" (change)=\"onChange($event)\">\n @for (action of actions; track action.id) {\n <mat-button-toggle [value]=\"action\">\n <mat-icon>{{ action.icon }}</mat-icon>\n </mat-button-toggle>\n }\n </mat-button-toggle-group>\n `,\n styleUrls: ['./toggle.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ToggleFrame extends NgAtomicComponent {\n @Input() actions: Action[] = [];\n\n protected onChange($event: MatButtonToggleChange) {\n this.dispatch($event.value);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AA4BM,MAAO,WAAY,SAAQ,iBAAiB,CA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AAA,CAAA,YAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,MAAA,EAAA,OAAA,EAAA,UAAA,EAAA,eAAA,EAAA,YAAA,EAAA,SAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,CAAA,EAAA,QAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACrB,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAeJ,WAAW,EAAA,UAAA,EAAA,CAAA;kBArBvB,SAAS;+BACE,eAAe,EAAA,UAAA,EACb,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,qBAAqB;wBACrB,aAAa;qBACd,EACS,QAAA,EAAA,CAAA;;;;;;;;;GAST,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,kHAAA,CAAA,EAAA,CAAA;8BAGtC,OAAO,EAAA,CAAA;sBAAf,KAAK;;;AC7BR;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-frames-toggle.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/toggle/toggle.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/toggle/ng-atomic-components-frames-toggle.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonToggleChange, MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatIconModule } from '@angular/material/icon';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { Action, NgAtomicComponent } from '@ng-atomic/core';\n\n@Component({\n selector: 'frames-toggle',\n standalone: true,\n imports: [\n CommonModule,\n MatButtonToggleModule,\n MatIconModule,\n ],\n template: `\n <ng-content />\n <mat-button-toggle-group #group=\"matButtonToggleGroup\" (change)=\"onChange($event)\">\n @for (action of actions; track action.id) {\n <mat-button-toggle [value]=\"action\">\n <mat-icon>{{ action.icon }}</mat-icon>\n </mat-button-toggle>\n }\n </mat-button-toggle-group>\n `,\n styleUrls: ['./toggle.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ToggleFrame extends NgAtomicComponent {\n @Input() actions: Action[] = [];\n\n protected onChange($event: MatButtonToggleChange) {\n this.dispatch($event.value);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AA4BM,MAAO,WAAY,SAAQ,iBAAiB,CAAA;AArBlD,IAAA,WAAA,GAAA;;QAsBW,IAAO,CAAA,OAAA,GAAa,EAAE,CAAC;AAKjC,KAAA;AAHW,IAAA,QAAQ,CAAC,MAA6B,EAAA;AAC9C,QAAA,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KAC7B;8GALU,WAAW,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,WAAW,EAbZ,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;AAST,EAAA,CAAA,EAAA,QA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,eAAe,EAAA,UAAA,EACb,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,qBAAqB;wBACrB,aAAa;qBACd,EACS,QAAA,EAAA,CAAA;;;;;;;;;GAST,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,kHAAA,CAAA,EAAA,CAAA;8BAGtC,OAAO,EAAA,CAAA;sBAAf,KAAK;;;AC7BR;;AAEG;;;;"}
@@ -7,13 +7,13 @@ class VerticalHideFrame {
7
7
  constructor() {
8
8
  this.mode = 'collapsed';
9
9
  }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: VerticalHideFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: VerticalHideFrame, isStandalone: true, selector: "frames-vertical-hide", inputs: { mode: "mode" }, host: { properties: { "attr.mode": "this.mode" } }, ngImport: i0, template: `
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VerticalHideFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: VerticalHideFrame, isStandalone: true, selector: "frames-vertical-hide", inputs: { mode: "mode" }, host: { properties: { "attr.mode": "this.mode" } }, ngImport: i0, template: `
12
12
  <ng-content></ng-content>
13
13
  <organisms-vertical-divider></organisms-vertical-divider>
14
- `, isInline: true, styles: [":host{--collapsed-height: 200px;--collapsed-height-SCOPED-IN-vertical-hide-XrJ0: var(--collapsed-height);--expanded-height: 400px;--expanded-height-SCOPED-IN-vertical-hide-XrJ0: var(--expanded-height)}:host{position:relative;display:block;transition:.5s height}:host organisms-vertical-divider{position:absolute;bottom:0;width:100%}:host[mode=collapsed]{height:var(--collapsed-height-SCOPED-IN-vertical-hide-XrJ0)}:host[mode=expanded]{height:var(--expanded-height-SCOPED-IN-vertical-hide-XrJ0)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: VerticalDividerOrganism, selector: "organisms-vertical-divider" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
+ `, isInline: true, styles: [":host{--collapsed-height: 200px;--collapsed-height-SCOPED-IN-vertical-hide-ZjhH: var(--collapsed-height);--expanded-height: 400px;--expanded-height-SCOPED-IN-vertical-hide-ZjhH: var(--expanded-height)}:host{position:relative;display:block;transition:.5s height}:host organisms-vertical-divider{position:absolute;bottom:0;width:100%}:host[mode=collapsed]{height:var(--collapsed-height-SCOPED-IN-vertical-hide-ZjhH)}:host[mode=expanded]{height:var(--expanded-height-SCOPED-IN-vertical-hide-ZjhH)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: VerticalDividerOrganism, selector: "organisms-vertical-divider" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: VerticalHideFrame, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VerticalHideFrame, decorators: [{
17
17
  type: Component,
18
18
  args: [{ selector: 'frames-vertical-hide', standalone: true, imports: [
19
19
  CommonModule,
@@ -21,7 +21,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
21
21
  ], template: `
22
22
  <ng-content></ng-content>
23
23
  <organisms-vertical-divider></organisms-vertical-divider>
24
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--collapsed-height: 200px;--collapsed-height-SCOPED-IN-vertical-hide-XrJ0: var(--collapsed-height);--expanded-height: 400px;--expanded-height-SCOPED-IN-vertical-hide-XrJ0: var(--expanded-height)}:host{position:relative;display:block;transition:.5s height}:host organisms-vertical-divider{position:absolute;bottom:0;width:100%}:host[mode=collapsed]{height:var(--collapsed-height-SCOPED-IN-vertical-hide-XrJ0)}:host[mode=expanded]{height:var(--expanded-height-SCOPED-IN-vertical-hide-XrJ0)}\n"] }]
24
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--collapsed-height: 200px;--collapsed-height-SCOPED-IN-vertical-hide-ZjhH: var(--collapsed-height);--expanded-height: 400px;--expanded-height-SCOPED-IN-vertical-hide-ZjhH: var(--expanded-height)}:host{position:relative;display:block;transition:.5s height}:host organisms-vertical-divider{position:absolute;bottom:0;width:100%}:host[mode=collapsed]{height:var(--collapsed-height-SCOPED-IN-vertical-hide-ZjhH)}:host[mode=expanded]{height:var(--expanded-height-SCOPED-IN-vertical-hide-ZjhH)}\n"] }]
25
25
  }], propDecorators: { mode: [{
26
26
  type: Input
27
27
  }, {
@@ -29,11 +29,11 @@ class NgAtomicFramesModule {
29
29
  ]
30
30
  };
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: NgAtomicFramesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
33
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.2", ngImport: i0, type: NgAtomicFramesModule }); }
34
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: NgAtomicFramesModule }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicFramesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
33
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicFramesModule }); }
34
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicFramesModule }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: NgAtomicFramesModule, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicFramesModule, decorators: [{
37
37
  type: NgModule,
38
38
  args: [{}]
39
39
  }] });