@ng-atomic/components 16.2.0 → 16.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (546) hide show
  1. package/atoms/atoms.module.d.ts +4 -1
  2. package/atoms/badge/badge.atom.d.ts +6 -0
  3. package/atoms/badge/index.d.ts +1 -0
  4. package/atoms/icon/icon.atom.d.ts +7 -8
  5. package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +16 -7
  6. package/components.module.d.ts +4 -2
  7. package/esm2022/atoms/atoms.module.mjs +11 -7
  8. package/esm2022/atoms/badge/badge.atom.mjs +16 -0
  9. package/esm2022/atoms/badge/index.mjs +2 -0
  10. package/esm2022/atoms/badge/ng-atomic-components-atoms-badge.mjs +5 -0
  11. package/esm2022/atoms/chips-input/chips-input.atom.mjs +6 -6
  12. package/esm2022/atoms/icon/icon.atom.mjs +28 -37
  13. package/esm2022/atoms/smart-menu-button/smart-menu-button.atom.mjs +125 -58
  14. package/esm2022/components.module.mjs +17 -6
  15. package/esm2022/extras/editor/editor.component.mjs +67 -34
  16. package/esm2022/extras/extras.module.mjs +5 -5
  17. package/esm2022/frames/app/app.frame.mjs +176 -0
  18. package/esm2022/frames/app/index.mjs +2 -0
  19. package/esm2022/frames/app/ng-atomic-components-frames-app.mjs +5 -0
  20. package/esm2022/frames/auto-layout/auto-layout.frame.mjs +5 -5
  21. package/esm2022/frames/card/card.frame.mjs +5 -5
  22. package/esm2022/frames/columns/columns.frame.mjs +163 -0
  23. package/esm2022/frames/columns/index.mjs +2 -0
  24. package/esm2022/frames/columns/ng-atomic-components-frames-columns.mjs +5 -0
  25. package/esm2022/frames/divider/divider.frame.mjs +23 -20
  26. package/esm2022/frames/drawer/drawer.frame.mjs +45 -39
  27. package/esm2022/frames/entrance/entrance.frame.mjs +67 -0
  28. package/esm2022/frames/entrance/index.mjs +2 -0
  29. package/esm2022/frames/entrance/ng-atomic-components-frames-entrance.mjs +5 -0
  30. package/esm2022/frames/fab/fab.frame.mjs +45 -22
  31. package/esm2022/frames/fab/fab.service.mjs +4 -4
  32. package/esm2022/frames/frames.module.mjs +27 -7
  33. package/esm2022/frames/line-up/index.mjs +2 -1
  34. package/esm2022/frames/line-up/line-up.animations.mjs +5 -1
  35. package/esm2022/frames/line-up/line-up.frame.mjs +69 -93
  36. package/esm2022/frames/line-up/line-up.service.mjs +55 -0
  37. package/esm2022/frames/loading/loading.frame.mjs +37 -20
  38. package/esm2022/frames/overlay/overlay.animations.mjs +6 -6
  39. package/esm2022/frames/overlay/overlay.frame.mjs +33 -18
  40. package/esm2022/frames/router-outlet/router-outlet.frame.mjs +100 -62
  41. package/esm2022/frames/scroll/scroll.frame.mjs +6 -6
  42. package/esm2022/frames/scroll-v2/scroll.frame.mjs +24 -12
  43. package/esm2022/frames/side-nav/side-nav.frame.mjs +139 -85
  44. package/esm2022/frames/smart-menu/smart-menu.frame.mjs +5 -5
  45. package/esm2022/frames/tabs/index.mjs +2 -0
  46. package/esm2022/frames/tabs/ng-atomic-components-frames-tabs.mjs +5 -0
  47. package/esm2022/frames/tabs/tabs.frame.mjs +41 -0
  48. package/esm2022/frames/toggle/index.mjs +2 -0
  49. package/esm2022/frames/toggle/ng-atomic-components-frames-toggle.mjs +5 -0
  50. package/esm2022/frames/toggle/toggle.frame.mjs +48 -0
  51. package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +6 -6
  52. package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +5 -5
  53. package/esm2022/molecules/actions-column/actions-column.molecule.mjs +54 -64
  54. package/esm2022/molecules/checkbox-column/checkbox-column.molecule.mjs +45 -60
  55. package/esm2022/molecules/chips-input-field/chips-input-field.molecule.mjs +96 -80
  56. package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +57 -47
  57. package/esm2022/molecules/date-range-input-field/date-range-input-field.molecule.mjs +75 -0
  58. package/esm2022/molecules/date-range-input-field/index.mjs +2 -0
  59. package/esm2022/molecules/date-range-input-field/ng-atomic-components-molecules-date-range-input-field.mjs +5 -0
  60. package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +99 -80
  61. package/esm2022/molecules/grid-item/grid-item.molecule.mjs +68 -0
  62. package/esm2022/molecules/grid-item/index.mjs +2 -0
  63. package/esm2022/molecules/grid-item/ng-atomic-components-molecules-grid-item.mjs +5 -0
  64. package/esm2022/molecules/header/header.molecule.mjs +40 -16
  65. package/esm2022/{organisms/smart-table → molecules/loading-box}/index.mjs +2 -2
  66. package/esm2022/molecules/loading-box/loading-box.molecule.mjs +56 -0
  67. package/esm2022/{templates/smart-index/ng-atomic-components-templates-smart-index.mjs → molecules/loading-box/ng-atomic-components-molecules-loading-box.mjs} +1 -1
  68. package/esm2022/molecules/molecules.module.mjs +24 -6
  69. package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +45 -32
  70. package/esm2022/molecules/nested-menu/nested-menu.molecule.mjs +5 -5
  71. package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +55 -36
  72. package/esm2022/molecules/smart-column/smart-column.molecule.mjs +134 -24
  73. package/esm2022/molecules/text-input-field/text-input-field.molecule.mjs +77 -67
  74. package/esm2022/molecules/textarea-field/textarea-field.molecule.mjs +59 -45
  75. package/esm2022/molecules/tree-column/tree-column.molecule.mjs +52 -35
  76. package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +129 -19
  77. package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +46 -30
  78. package/esm2022/organisms/agreement-input-section/agreement-input-section.organism.mjs +66 -0
  79. package/esm2022/organisms/agreement-input-section/index.mjs +2 -0
  80. package/esm2022/organisms/agreement-input-section/ng-atomic-components-organisms-agreement-input-section.mjs +5 -0
  81. package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +5 -5
  82. package/esm2022/organisms/chips-input-section/chips-input-section.organism.mjs +52 -0
  83. package/esm2022/organisms/chips-input-section/index.mjs +2 -0
  84. package/esm2022/organisms/chips-input-section/ng-atomic-components-organisms-chips-input-section.mjs +5 -0
  85. package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +5 -5
  86. package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +62 -28
  87. package/esm2022/organisms/date-range-input-section/date-range-input-section.organism.mjs +71 -0
  88. package/esm2022/organisms/date-range-input-section/index.mjs +2 -0
  89. package/esm2022/organisms/date-range-input-section/ng-atomic-components-organisms-date-range-input-section.mjs +5 -0
  90. package/esm2022/organisms/definition-list/definition-list.organism.mjs +57 -0
  91. package/esm2022/organisms/definition-list/index.mjs +2 -0
  92. package/esm2022/organisms/definition-list/ng-atomic-components-organisms-definition-list.mjs +5 -0
  93. package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +51 -36
  94. package/esm2022/organisms/filters-section/filters-section.organism.mjs +8 -6
  95. package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +4 -4
  96. package/esm2022/organisms/grid-cards-section/grid-cards-section.organism.mjs +40 -0
  97. package/esm2022/organisms/grid-cards-section/index.mjs +2 -0
  98. package/esm2022/organisms/grid-cards-section/ng-atomic-components-organisms-grid-cards-section.mjs +5 -0
  99. package/esm2022/organisms/grid-toolbar/grid-toolbar.organism.mjs +87 -81
  100. package/esm2022/organisms/heading/heading.organism.mjs +49 -5
  101. package/esm2022/organisms/image-preview-section/image-preview-section.organism.mjs +16 -0
  102. package/esm2022/organisms/image-preview-section/index.mjs +2 -0
  103. package/esm2022/organisms/image-preview-section/ng-atomic-components-organisms-image-preview-section.mjs +5 -0
  104. package/esm2022/organisms/markdown-preview-section/index.mjs +2 -0
  105. package/esm2022/organisms/markdown-preview-section/markdown-preview-section.organism.mjs +39 -0
  106. package/esm2022/organisms/markdown-preview-section/ng-atomic-components-organisms-markdown-preview-section.mjs +5 -0
  107. package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +31 -19
  108. package/esm2022/organisms/menu-header/menu-header.organism.mjs +86 -22
  109. package/esm2022/organisms/mermaid-section/mermaid-section.organism.mjs +5 -5
  110. package/esm2022/organisms/message-input-section/message-input-section.organism.mjs +4 -4
  111. package/esm2022/organisms/messages-section/messages-section.organism.mjs +56 -6
  112. package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +32 -36
  113. package/esm2022/organisms/navigator/navigator.organism.mjs +84 -40
  114. package/esm2022/organisms/number-input-section/index.mjs +2 -0
  115. package/esm2022/organisms/number-input-section/ng-atomic-components-organisms-number-input-section.mjs +5 -0
  116. package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +82 -0
  117. package/esm2022/organisms/organisms.module.mjs +82 -9
  118. package/esm2022/organisms/paginator/paginator.organism.mjs +50 -34
  119. package/esm2022/organisms/password-input-section/index.mjs +2 -0
  120. package/esm2022/organisms/password-input-section/ng-atomic-components-organisms-password-input-section.mjs +5 -0
  121. package/esm2022/organisms/password-input-section/password-input-section.organism.mjs +80 -0
  122. package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +69 -19
  123. package/esm2022/organisms/selection-list/selection-list.organism.mjs +5 -5
  124. package/esm2022/organisms/smart-list/smart-list.organism.mjs +149 -104
  125. package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +5 -5
  126. package/esm2022/organisms/stripe-input-section/index.mjs +2 -0
  127. package/esm2022/organisms/stripe-input-section/ng-atomic-components-organisms-stripe-input-section.mjs +5 -0
  128. package/esm2022/organisms/stripe-input-section/stripe-input-section.organism.mjs +223 -0
  129. package/esm2022/organisms/table/index.helpers.mjs +110 -0
  130. package/esm2022/organisms/table/index.mjs +3 -0
  131. package/esm2022/organisms/table/ng-atomic-components-organisms-table.mjs +5 -0
  132. package/esm2022/organisms/table/table.organism.mjs +315 -0
  133. package/esm2022/organisms/terminal/terminal.organism.mjs +4 -4
  134. package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +72 -44
  135. package/esm2022/organisms/text-preview-section/index.mjs +2 -0
  136. package/esm2022/organisms/text-preview-section/ng-atomic-components-organisms-text-preview-section.mjs +5 -0
  137. package/esm2022/organisms/text-preview-section/text-preview-section.organism.mjs +79 -0
  138. package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +73 -38
  139. package/esm2022/organisms/thread-messages-section/index.mjs +2 -0
  140. package/esm2022/organisms/thread-messages-section/ng-atomic-components-organisms-thread-messages-section.mjs +5 -0
  141. package/esm2022/organisms/thread-messages-section/thread-messages-section.organism.mjs +119 -0
  142. package/esm2022/organisms/time-range-input-section/index.mjs +2 -0
  143. package/esm2022/organisms/time-range-input-section/ng-atomic-components-organisms-time-range-input-section.mjs +5 -0
  144. package/esm2022/organisms/time-range-input-section/time-range-input-section.organism.mjs +43 -0
  145. package/esm2022/organisms/toolbar/toolbar.organism.mjs +6 -6
  146. package/esm2022/organisms/tree-section/tree-section.organism.mjs +5 -5
  147. package/esm2022/organisms/vertical-divider/vertical-divider.organism.mjs +4 -4
  148. package/esm2022/organisms/video-section/index.mjs +2 -0
  149. package/esm2022/organisms/video-section/ng-atomic-components-organisms-video-section.mjs +5 -0
  150. package/esm2022/organisms/video-section/video-section.organism.mjs +132 -0
  151. package/esm2022/pages/_index/index.mjs +1 -2
  152. package/esm2022/pages/_index/index.page.mjs +155 -8
  153. package/esm2022/pages/blank/blank.page.mjs +4 -4
  154. package/esm2022/pages/blank/blank.route.mjs +8 -2
  155. package/esm2022/pages/blank/blank.routes.mjs +5 -3
  156. package/esm2022/pages/blank/index.mjs +2 -1
  157. package/esm2022/pages/form/form.page.mjs +173 -0
  158. package/esm2022/pages/form/index.mjs +2 -0
  159. package/esm2022/pages/form/ng-atomic-components-pages-form.mjs +5 -0
  160. package/esm2022/pages/pages.module.mjs +13 -6
  161. package/esm2022/pages/terms/index.mjs +2 -0
  162. package/esm2022/pages/terms/terms.page.mjs +84 -0
  163. package/esm2022/sheets/actions/actions.sheet.mjs +4 -4
  164. package/esm2022/sheets/sheets.module.mjs +5 -5
  165. package/esm2022/sheets/sheets.service.mjs +5 -5
  166. package/esm2022/templates/_index/index.mjs +2 -0
  167. package/esm2022/templates/_index/index.template.mjs +381 -0
  168. package/esm2022/templates/_index/ng-atomic-components-templates-_index.mjs +5 -0
  169. package/esm2022/templates/background/background.template.mjs +30 -0
  170. package/esm2022/templates/{smart-crud → background}/index.mjs +2 -2
  171. package/esm2022/templates/{smart-crud/ng-atomic-components-templates-smart-crud.mjs → background/ng-atomic-components-templates-background.mjs} +1 -1
  172. package/esm2022/templates/code-editor/code-editor.template.mjs +37 -76
  173. package/esm2022/templates/entrance/entrance.template.mjs +99 -72
  174. package/esm2022/templates/file-tree/file-tree.template.mjs +6 -6
  175. package/esm2022/templates/form/form.template.mjs +466 -0
  176. package/esm2022/templates/form/index.mjs +2 -0
  177. package/esm2022/templates/form/ng-atomic-components-templates-form.mjs +5 -0
  178. package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +32 -38
  179. package/esm2022/templates/loading/loading.template.mjs +4 -4
  180. package/esm2022/templates/menu/menu.template.mjs +31 -32
  181. package/esm2022/templates/messages/messages.template.mjs +66 -35
  182. package/esm2022/templates/selection/selection.template.mjs +56 -65
  183. package/esm2022/templates/settings/index.mjs +2 -0
  184. package/esm2022/templates/settings/ng-atomic-components-templates-settings.mjs +5 -0
  185. package/esm2022/templates/settings/settings.template.mjs +118 -0
  186. package/esm2022/templates/tab-editor/tab-editor.template.mjs +6 -6
  187. package/esm2022/templates/templates.module.mjs +29 -7
  188. package/esm2022/templates/term/term.template.mjs +41 -30
  189. package/extras/editor/editor.component.d.ts +20 -9
  190. package/fesm2022/ng-atomic-components-atoms-badge.mjs +23 -0
  191. package/fesm2022/ng-atomic-components-atoms-badge.mjs.map +1 -0
  192. package/fesm2022/ng-atomic-components-atoms-chips-input.mjs +5 -5
  193. package/fesm2022/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
  194. package/fesm2022/ng-atomic-components-atoms-icon.mjs +28 -37
  195. package/fesm2022/ng-atomic-components-atoms-icon.mjs.map +1 -1
  196. package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs +124 -58
  197. package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  198. package/fesm2022/ng-atomic-components-atoms.mjs +9 -5
  199. package/fesm2022/ng-atomic-components-atoms.mjs.map +1 -1
  200. package/fesm2022/ng-atomic-components-extras-editor.mjs +68 -35
  201. package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -1
  202. package/fesm2022/ng-atomic-components-extras.mjs +4 -4
  203. package/fesm2022/ng-atomic-components-extras.mjs.map +1 -1
  204. package/fesm2022/ng-atomic-components-frames-app.mjs +182 -0
  205. package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -0
  206. package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +4 -4
  207. package/fesm2022/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
  208. package/fesm2022/ng-atomic-components-frames-card.mjs +4 -4
  209. package/fesm2022/ng-atomic-components-frames-card.mjs.map +1 -1
  210. package/fesm2022/ng-atomic-components-frames-columns.mjs +169 -0
  211. package/fesm2022/ng-atomic-components-frames-columns.mjs.map +1 -0
  212. package/fesm2022/ng-atomic-components-frames-divider.mjs +22 -19
  213. package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -1
  214. package/fesm2022/ng-atomic-components-frames-drawer.mjs +44 -39
  215. package/fesm2022/ng-atomic-components-frames-drawer.mjs.map +1 -1
  216. package/fesm2022/ng-atomic-components-frames-entrance.mjs +74 -0
  217. package/fesm2022/ng-atomic-components-frames-entrance.mjs.map +1 -0
  218. package/fesm2022/ng-atomic-components-frames-fab.mjs +48 -26
  219. package/fesm2022/ng-atomic-components-frames-fab.mjs.map +1 -1
  220. package/fesm2022/ng-atomic-components-frames-line-up.mjs +133 -91
  221. package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -1
  222. package/fesm2022/ng-atomic-components-frames-loading.mjs +37 -20
  223. package/fesm2022/ng-atomic-components-frames-loading.mjs.map +1 -1
  224. package/fesm2022/ng-atomic-components-frames-overlay.mjs +38 -23
  225. package/fesm2022/ng-atomic-components-frames-overlay.mjs.map +1 -1
  226. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +100 -62
  227. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
  228. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +23 -11
  229. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs.map +1 -1
  230. package/fesm2022/ng-atomic-components-frames-scroll.mjs +5 -5
  231. package/fesm2022/ng-atomic-components-frames-scroll.mjs.map +1 -1
  232. package/fesm2022/ng-atomic-components-frames-side-nav.mjs +138 -85
  233. package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
  234. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +4 -4
  235. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
  236. package/fesm2022/ng-atomic-components-frames-tabs.mjs +48 -0
  237. package/fesm2022/ng-atomic-components-frames-tabs.mjs.map +1 -0
  238. package/fesm2022/ng-atomic-components-frames-toggle.mjs +55 -0
  239. package/fesm2022/ng-atomic-components-frames-toggle.mjs.map +1 -0
  240. package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +5 -5
  241. package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs.map +1 -1
  242. package/fesm2022/ng-atomic-components-frames.mjs +25 -5
  243. package/fesm2022/ng-atomic-components-frames.mjs.map +1 -1
  244. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +4 -4
  245. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -1
  246. package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +54 -64
  247. package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  248. package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +45 -60
  249. package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
  250. package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs +95 -80
  251. package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
  252. package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +57 -47
  253. package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
  254. package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +82 -0
  255. package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs.map +1 -0
  256. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +99 -80
  257. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
  258. package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +75 -0
  259. package/fesm2022/ng-atomic-components-molecules-grid-item.mjs.map +1 -0
  260. package/fesm2022/ng-atomic-components-molecules-header.mjs +39 -16
  261. package/fesm2022/ng-atomic-components-molecules-header.mjs.map +1 -1
  262. package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +62 -0
  263. package/fesm2022/ng-atomic-components-molecules-loading-box.mjs.map +1 -0
  264. package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +43 -31
  265. package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
  266. package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs +4 -4
  267. package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs.map +1 -1
  268. package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +55 -36
  269. package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
  270. package/fesm2022/ng-atomic-components-molecules-smart-column.mjs +134 -24
  271. package/fesm2022/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  272. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +75 -66
  273. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  274. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +59 -45
  275. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  276. package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +52 -35
  277. package/fesm2022/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
  278. package/fesm2022/ng-atomic-components-molecules.mjs +23 -5
  279. package/fesm2022/ng-atomic-components-molecules.mjs.map +1 -1
  280. package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +128 -19
  281. package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
  282. package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +45 -31
  283. package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs.map +1 -1
  284. package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +73 -0
  285. package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs.map +1 -0
  286. package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +4 -4
  287. package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
  288. package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs +59 -0
  289. package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs.map +1 -0
  290. package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
  291. package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
  292. package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +61 -28
  293. package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
  294. package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +78 -0
  295. package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs.map +1 -0
  296. package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +64 -0
  297. package/fesm2022/ng-atomic-components-organisms-definition-list.mjs.map +1 -0
  298. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +50 -36
  299. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs.map +1 -1
  300. package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +7 -5
  301. package/fesm2022/ng-atomic-components-organisms-filters-section.mjs.map +1 -1
  302. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +3 -3
  303. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
  304. package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +47 -0
  305. package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs.map +1 -0
  306. package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +86 -81
  307. package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -1
  308. package/fesm2022/ng-atomic-components-organisms-heading.mjs +48 -4
  309. package/fesm2022/ng-atomic-components-organisms-heading.mjs.map +1 -1
  310. package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +23 -0
  311. package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs.map +1 -0
  312. package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +46 -0
  313. package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs.map +1 -0
  314. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +30 -19
  315. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs.map +1 -1
  316. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +84 -21
  317. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
  318. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +4 -4
  319. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
  320. package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs +3 -3
  321. package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs.map +1 -1
  322. package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +55 -5
  323. package/fesm2022/ng-atomic-components-organisms-messages-section.mjs.map +1 -1
  324. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +30 -35
  325. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
  326. package/fesm2022/ng-atomic-components-organisms-navigator.mjs +83 -41
  327. package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -1
  328. package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +88 -0
  329. package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs.map +1 -0
  330. package/fesm2022/ng-atomic-components-organisms-paginator.mjs +49 -34
  331. package/fesm2022/ng-atomic-components-organisms-paginator.mjs.map +1 -1
  332. package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +86 -0
  333. package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs.map +1 -0
  334. package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +68 -19
  335. package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
  336. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +4 -4
  337. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs.map +1 -1
  338. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +147 -103
  339. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
  340. package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
  341. package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
  342. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +229 -0
  343. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs.map +1 -0
  344. package/fesm2022/ng-atomic-components-organisms-table.mjs +425 -0
  345. package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -0
  346. package/fesm2022/ng-atomic-components-organisms-terminal.mjs +3 -3
  347. package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -1
  348. package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +71 -44
  349. package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
  350. package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +85 -0
  351. package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs.map +1 -0
  352. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +72 -38
  353. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
  354. package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +126 -0
  355. package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs.map +1 -0
  356. package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +50 -0
  357. package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs.map +1 -0
  358. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +5 -5
  359. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs.map +1 -1
  360. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +4 -4
  361. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
  362. package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +3 -3
  363. package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs.map +1 -1
  364. package/fesm2022/ng-atomic-components-organisms-video-section.mjs +139 -0
  365. package/fesm2022/ng-atomic-components-organisms-video-section.mjs.map +1 -0
  366. package/fesm2022/ng-atomic-components-organisms.mjs +81 -8
  367. package/fesm2022/ng-atomic-components-organisms.mjs.map +1 -1
  368. package/fesm2022/ng-atomic-components-pages-_index.mjs +153 -34
  369. package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
  370. package/fesm2022/ng-atomic-components-pages-blank.mjs +14 -5
  371. package/fesm2022/ng-atomic-components-pages-blank.mjs.map +1 -1
  372. package/fesm2022/ng-atomic-components-pages-form.mjs +180 -0
  373. package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -0
  374. package/fesm2022/ng-atomic-components-pages.mjs +94 -6
  375. package/fesm2022/ng-atomic-components-pages.mjs.map +1 -1
  376. package/fesm2022/ng-atomic-components-sheets-actions.mjs +3 -3
  377. package/fesm2022/ng-atomic-components-sheets-actions.mjs.map +1 -1
  378. package/fesm2022/ng-atomic-components-sheets.mjs +8 -8
  379. package/fesm2022/ng-atomic-components-sheets.mjs.map +1 -1
  380. package/fesm2022/ng-atomic-components-templates-_index.mjs +386 -0
  381. package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -0
  382. package/fesm2022/ng-atomic-components-templates-background.mjs +36 -0
  383. package/fesm2022/ng-atomic-components-templates-background.mjs.map +1 -0
  384. package/fesm2022/ng-atomic-components-templates-code-editor.mjs +37 -73
  385. package/fesm2022/ng-atomic-components-templates-code-editor.mjs.map +1 -1
  386. package/fesm2022/ng-atomic-components-templates-entrance.mjs +98 -72
  387. package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
  388. package/fesm2022/ng-atomic-components-templates-file-tree.mjs +5 -5
  389. package/fesm2022/ng-atomic-components-templates-file-tree.mjs.map +1 -1
  390. package/fesm2022/ng-atomic-components-templates-form.mjs +472 -0
  391. package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -0
  392. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +30 -38
  393. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs.map +1 -1
  394. package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
  395. package/fesm2022/ng-atomic-components-templates-loading.mjs.map +1 -1
  396. package/fesm2022/ng-atomic-components-templates-menu.mjs +29 -32
  397. package/fesm2022/ng-atomic-components-templates-menu.mjs.map +1 -1
  398. package/fesm2022/ng-atomic-components-templates-messages.mjs +65 -34
  399. package/fesm2022/ng-atomic-components-templates-messages.mjs.map +1 -1
  400. package/fesm2022/ng-atomic-components-templates-selection.mjs +56 -66
  401. package/fesm2022/ng-atomic-components-templates-selection.mjs.map +1 -1
  402. package/fesm2022/ng-atomic-components-templates-settings.mjs +125 -0
  403. package/fesm2022/ng-atomic-components-templates-settings.mjs.map +1 -0
  404. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +5 -5
  405. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs.map +1 -1
  406. package/fesm2022/ng-atomic-components-templates-term.mjs +40 -29
  407. package/fesm2022/ng-atomic-components-templates-term.mjs.map +1 -1
  408. package/fesm2022/ng-atomic-components-templates.mjs +28 -6
  409. package/fesm2022/ng-atomic-components-templates.mjs.map +1 -1
  410. package/fesm2022/ng-atomic-components.mjs +16 -5
  411. package/fesm2022/ng-atomic-components.mjs.map +1 -1
  412. package/frames/app/app.frame.d.ts +107 -0
  413. package/frames/app/index.d.ts +1 -0
  414. package/frames/columns/columns.frame.d.ts +54 -0
  415. package/frames/columns/index.d.ts +1 -0
  416. package/frames/divider/divider.frame.d.ts +6 -6
  417. package/frames/drawer/drawer.frame.d.ts +12 -9
  418. package/frames/entrance/entrance.frame.d.ts +19 -0
  419. package/frames/entrance/index.d.ts +1 -0
  420. package/frames/fab/fab.frame.d.ts +22 -2
  421. package/frames/frames.module.d.ts +20 -1
  422. package/frames/line-up/index.d.ts +1 -0
  423. package/frames/line-up/line-up.frame.d.ts +15 -26
  424. package/frames/line-up/line-up.service.d.ts +22 -0
  425. package/frames/loading/loading.frame.d.ts +9 -3
  426. package/frames/overlay/overlay.frame.d.ts +7 -2
  427. package/frames/router-outlet/router-outlet.frame.d.ts +30 -9
  428. package/frames/scroll-v2/scroll.frame.d.ts +5 -1
  429. package/frames/side-nav/side-nav.frame.d.ts +33 -12
  430. package/frames/tabs/index.d.ts +1 -0
  431. package/frames/tabs/tabs.frame.d.ts +9 -0
  432. package/frames/toggle/index.d.ts +1 -0
  433. package/frames/toggle/toggle.frame.d.ts +9 -0
  434. package/molecules/actions-column/actions-column.molecule.d.ts +17 -17
  435. package/molecules/checkbox-column/checkbox-column.molecule.d.ts +17 -15
  436. package/molecules/chips-input-field/chips-input-field.molecule.d.ts +54 -12
  437. package/molecules/date-input-field/date-input-field.molecule.d.ts +13 -7
  438. package/molecules/date-range-input-field/date-range-input-field.molecule.d.ts +14 -0
  439. package/molecules/date-range-input-field/index.d.ts +1 -0
  440. package/molecules/file-input-field/file-input-field.molecule.d.ts +23 -15
  441. package/molecules/grid-item/grid-item.molecule.d.ts +13 -0
  442. package/molecules/grid-item/index.d.ts +1 -0
  443. package/molecules/header/header.molecule.d.ts +10 -4
  444. package/molecules/loading-box/index.d.ts +1 -0
  445. package/molecules/loading-box/loading-box.molecule.d.ts +23 -0
  446. package/molecules/molecules.module.d.ts +16 -3
  447. package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +5 -7
  448. package/molecules/select-input-field/select-input-field.molecule.d.ts +13 -6
  449. package/molecules/smart-column/smart-column.molecule.d.ts +21 -6
  450. package/molecules/text-input-field/text-input-field.molecule.d.ts +14 -13
  451. package/molecules/textarea-field/textarea-field.molecule.d.ts +16 -10
  452. package/molecules/tree-column/tree-column.molecule.d.ts +8 -3
  453. package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +10 -7
  454. package/organisms/action-input-section/action-input-section.organism.d.ts +12 -6
  455. package/organisms/agreement-input-section/agreement-input-section.organism.d.ts +17 -0
  456. package/organisms/agreement-input-section/index.d.ts +1 -0
  457. package/organisms/chips-input-section/chips-input-section.organism.d.ts +13 -0
  458. package/organisms/chips-input-section/index.d.ts +1 -0
  459. package/organisms/date-input-section/date-input-section.organism.d.ts +13 -5
  460. package/organisms/date-range-input-section/date-range-input-section.organism.d.ts +21 -0
  461. package/organisms/date-range-input-section/index.d.ts +1 -0
  462. package/organisms/definition-list/definition-list.organism.d.ts +12 -0
  463. package/organisms/definition-list/index.d.ts +1 -0
  464. package/organisms/file-input-section/file-input-section.organism.d.ts +13 -7
  465. package/organisms/filters-section/filters-section.organism.d.ts +2 -1
  466. package/organisms/grid-cards-section/grid-cards-section.organism.d.ts +15 -0
  467. package/organisms/grid-cards-section/index.d.ts +1 -0
  468. package/organisms/grid-toolbar/grid-toolbar.organism.d.ts +10 -7
  469. package/organisms/image-preview-section/image-preview-section.organism.d.ts +7 -0
  470. package/organisms/image-preview-section/index.d.ts +1 -0
  471. package/organisms/markdown-preview-section/index.d.ts +1 -0
  472. package/organisms/markdown-preview-section/markdown-preview-section.organism.d.ts +11 -0
  473. package/organisms/menu-footer/menu-footer.organism.d.ts +7 -1
  474. package/organisms/menu-header/menu-header.organism.d.ts +9 -4
  475. package/organisms/messages-section/messages-section.organism.d.ts +3 -1
  476. package/organisms/navigation-list/navigation-list.organism.d.ts +2 -3
  477. package/organisms/navigator/navigator.organism.d.ts +27 -4
  478. package/organisms/number-input-section/index.d.ts +1 -0
  479. package/organisms/number-input-section/number-input-section.organism.d.ts +19 -0
  480. package/organisms/organisms.module.d.ts +52 -3
  481. package/organisms/paginator/paginator.organism.d.ts +17 -7
  482. package/organisms/password-input-section/index.d.ts +1 -0
  483. package/organisms/password-input-section/password-input-section.organism.d.ts +19 -0
  484. package/organisms/select-input-section/select-input-section.organism.d.ts +16 -6
  485. package/organisms/smart-list/smart-list.organism.d.ts +35 -11
  486. package/organisms/stripe-input-section/index.d.ts +1 -0
  487. package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +188 -0
  488. package/organisms/table/index.d.ts +2 -0
  489. package/organisms/table/index.helpers.d.ts +71 -0
  490. package/organisms/table/table.organism.d.ts +106 -0
  491. package/organisms/text-input-section/text-input-section.organism.d.ts +15 -8
  492. package/organisms/text-preview-section/index.d.ts +1 -0
  493. package/organisms/text-preview-section/text-preview-section.organism.d.ts +15 -0
  494. package/organisms/textarea-section/textarea-section.organism.d.ts +16 -10
  495. package/organisms/thread-messages-section/index.d.ts +1 -0
  496. package/organisms/thread-messages-section/thread-messages-section.organism.d.ts +14 -0
  497. package/organisms/time-range-input-section/index.d.ts +1 -0
  498. package/organisms/time-range-input-section/time-range-input-section.organism.d.ts +9 -0
  499. package/organisms/video-section/index.d.ts +1 -0
  500. package/organisms/video-section/video-section.organism.d.ts +41 -0
  501. package/package.json +176 -20
  502. package/pages/_index/index.d.ts +0 -1
  503. package/pages/_index/index.page.d.ts +46 -2
  504. package/pages/blank/index.d.ts +1 -0
  505. package/pages/form/form.page.d.ts +112 -0
  506. package/pages/form/index.d.ts +1 -0
  507. package/pages/pages.module.d.ts +1 -1
  508. package/pages/terms/index.d.ts +1 -0
  509. package/pages/terms/terms.page.d.ts +60 -0
  510. package/templates/_index/index.d.ts +1 -0
  511. package/templates/_index/index.template.d.ts +219 -0
  512. package/templates/background/background.template.d.ts +11 -0
  513. package/templates/background/index.d.ts +1 -0
  514. package/templates/code-editor/code-editor.template.d.ts +11 -14
  515. package/templates/entrance/entrance.template.d.ts +18 -11
  516. package/templates/form/form.template.d.ts +78 -0
  517. package/templates/form/index.d.ts +1 -0
  518. package/templates/icon-button-menu/icon-button-menu.template.d.ts +2 -4
  519. package/templates/menu/menu.template.d.ts +4 -5
  520. package/templates/messages/messages.template.d.ts +10 -2
  521. package/templates/selection/selection.template.d.ts +14 -9
  522. package/templates/settings/index.d.ts +1 -0
  523. package/templates/settings/settings.template.d.ts +16 -0
  524. package/templates/templates.module.d.ts +13 -1
  525. package/templates/term/term.template.d.ts +10 -9
  526. package/esm2022/organisms/smart-table/ng-atomic-components-organisms-smart-table.mjs +0 -5
  527. package/esm2022/organisms/smart-table/smart-table.organism.mjs +0 -210
  528. package/esm2022/pages/_index/index.module.mjs +0 -31
  529. package/esm2022/templates/smart-crud/smart-crud.template.mjs +0 -256
  530. package/esm2022/templates/smart-index/index.mjs +0 -2
  531. package/esm2022/templates/smart-index/smart-index.template.mjs +0 -358
  532. package/fesm2022/ng-atomic-components-organisms-smart-table.mjs +0 -217
  533. package/fesm2022/ng-atomic-components-organisms-smart-table.mjs.map +0 -1
  534. package/fesm2022/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs +0 -7
  535. package/fesm2022/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs.map +0 -1
  536. package/fesm2022/ng-atomic-components-templates-smart-crud.mjs +0 -262
  537. package/fesm2022/ng-atomic-components-templates-smart-crud.mjs.map +0 -1
  538. package/fesm2022/ng-atomic-components-templates-smart-index.mjs +0 -365
  539. package/fesm2022/ng-atomic-components-templates-smart-index.mjs.map +0 -1
  540. package/organisms/smart-table/index.d.ts +0 -1
  541. package/organisms/smart-table/smart-table.organism.d.ts +0 -44
  542. package/pages/_index/index.module.d.ts +0 -9
  543. package/templates/smart-crud/index.d.ts +0 -1
  544. package/templates/smart-crud/smart-crud.template.d.ts +0 -28
  545. package/templates/smart-index/index.d.ts +0 -1
  546. package/templates/smart-index/smart-index.template.d.ts +0 -101
@@ -1,55 +1,68 @@
1
+ import { __decorate } from 'tslib';
1
2
  import * as i0 from '@angular/core';
2
- import { Directive, Input, inject, Component, ChangeDetectionStrategy } from '@angular/core';
3
+ import { input, Directive, inject, Component, ChangeDetectionStrategy } from '@angular/core';
3
4
  import { DATA_ACCESSOR, defaultDataAccessor, DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';
4
- import * as i1 from '@angular/common';
5
- import { CommonModule } from '@angular/common';
6
- import * as i2 from '@angular/material/list';
5
+ import { NgTemplateOutlet } from '@angular/common';
6
+ import * as i1 from '@angular/material/list';
7
7
  import { MatListModule } from '@angular/material/list';
8
- import * as i6 from '@angular/material/tooltip';
8
+ import * as i5 from '@angular/material/tooltip';
9
9
  import { MatTooltipModule } from '@angular/material/tooltip';
10
- import * as i4 from '@angular/material/icon';
10
+ import * as i3 from '@angular/material/icon';
11
11
  import { MatIconModule } from '@angular/material/icon';
12
- import * as i7 from '@angular/material/core';
12
+ import * as i6 from '@angular/material/core';
13
13
  import { MatRippleModule } from '@angular/material/core';
14
- import { NgAtomicComponent } from '@ng-atomic/core';
14
+ import { InjectableComponent, _computed, TokenizedType, NgAtomicComponent } from '@ng-atomic/core';
15
15
  import { KeysPipe } from '@ng-atomic/common/pipes/keys';
16
16
  import { GroupedByPipe } from '@ng-atomic/common/pipes/grouped-by';
17
- import * as i5 from '@angular/material/button';
17
+ import * as i4 from '@angular/material/button';
18
18
  import { MatButtonModule } from '@angular/material/button';
19
19
  import { ActionsPipe } from '@ng-atomic/common/pipes/actions';
20
- import * as i3 from '@angular/material/divider';
20
+ import { SmartMenuButtonAtom } from '@ng-atomic/components/atoms/smart-menu-button';
21
+ import { makeConfig } from '@ng-atomic/common/services/ui';
22
+ import * as i2 from '@angular/material/divider';
21
23
 
24
+ var SmartListOrganismStore_1;
22
25
  var ActionId;
23
26
  (function (ActionId) {
24
27
  ActionId["CLICK_ITEM"] = "[@ng-atomic/components/organisms/smart-list] Click Item";
25
28
  ActionId["ITEM_BUTTON_CLICK"] = "[@ng-atomic/components/organisms/smart-list] Item Button Click";
26
29
  })(ActionId || (ActionId = {}));
27
- class SmartListOrganismStore {
30
+ let SmartListOrganismStore = class SmartListOrganismStore extends InjectableComponent {
28
31
  constructor() {
29
- this.items = [];
30
- this.itemActions = [];
32
+ super(...arguments);
33
+ this.config = SmartListOrganismStore_1.Config.inject();
34
+ this.items = input([]);
35
+ this.itemActions = input([]);
36
+ this.groupedBy = input();
37
+ this.groupKeys = input();
38
+ this.itemActionsType = input(_computed(() => this.config().itemActionsType));
31
39
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartListOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
33
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SmartListOrganismStore, isStandalone: true, inputs: { items: "items", itemActions: "itemActions", groupedBy: "groupedBy", groupKeys: "groupKeys" }, ngImport: i0 }); }
34
- }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartListOrganismStore, decorators: [{
40
+ static { SmartListOrganismStore_1 = this; }
41
+ static { this.ActionId = ActionId; }
42
+ static { this.Config = makeConfig(() => {
43
+ return (_, context) => ({
44
+ items: [],
45
+ itemActions: [],
46
+ groupedBy: '',
47
+ groupKeys: [],
48
+ itemActionsType: (context.breakpoint === 'xSmall' ? 'dispatch' : 'menu')
49
+ });
50
+ }, ['components', 'organisms', 'smart-list']); }
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartListOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
52
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: SmartListOrganismStore, isStandalone: true, inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null }, groupedBy: { classPropertyName: "groupedBy", publicName: "groupedBy", isSignal: true, isRequired: false, transformFunction: null }, groupKeys: { classPropertyName: "groupKeys", publicName: "groupKeys", isSignal: true, isRequired: false, transformFunction: null }, itemActionsType: { classPropertyName: "itemActionsType", publicName: "itemActionsType", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
53
+ };
54
+ SmartListOrganismStore = SmartListOrganismStore_1 = __decorate([
55
+ TokenizedType()
56
+ ], SmartListOrganismStore);
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartListOrganismStore, decorators: [{
36
58
  type: Directive,
37
59
  args: [{ standalone: true }]
38
- }], propDecorators: { items: [{
39
- type: Input
40
- }], itemActions: [{
41
- type: Input
42
- }], groupedBy: [{
43
- type: Input
44
- }], groupKeys: [{
45
- type: Input
46
- }] } });
60
+ }] });
47
61
  class SmartListOrganism extends NgAtomicComponent {
48
62
  constructor() {
49
63
  super(...arguments);
50
64
  this.store = inject(SmartListOrganismStore);
51
- this.dataAccessor = inject(DATA_ACCESSOR) ?? defaultDataAccessor;
52
- this.trackByItem = (_, item) => item;
65
+ this.dataAccessor = inject(DATA_ACCESSOR, { optional: true }) ?? defaultDataAccessor;
53
66
  this.trackById = (_, item) => this.dataAccessor(item, 'id');
54
67
  }
55
68
  static { this.ActionId = ActionId; }
@@ -61,52 +74,67 @@ class SmartListOrganism extends NgAtomicComponent {
61
74
  $event.preventDefault();
62
75
  this.dispatch({ id: ActionId.ITEM_BUTTON_CLICK, payload: item });
63
76
  }
64
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartListOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
65
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SmartListOrganism, isStandalone: true, selector: "organisms-smart-list", usesInheritance: true, hostDirectives: [{ directive: SmartListOrganismStore, inputs: ["items", "items", "itemActions", "itemActions", "groupedBy", "groupedBy", "groupKeys", "groupKeys"] }], ngImport: i0, template: `
66
- <mat-list *ngIf="store.groupedBy">
67
- <ng-container *ngFor="let key of store.groupKeys ?? (store.items | groupedBy:store.groupedBy | keys); trackBy: trackByItem;">
77
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartListOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
78
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: SmartListOrganism, isStandalone: true, selector: "organisms-smart-list", usesInheritance: true, hostDirectives: [{ directive: SmartListOrganismStore, inputs: ["items", "items", "itemActions", "itemActions", "groupedBy", "groupedBy", "groupKeys", "groupKeys", "itemActionsType", "itemActionsType"] }], ngImport: i0, template: `
79
+ @if (store.groupedBy()) {
80
+ <mat-list>
81
+ @for (key of store.groupKeys() ?? (store.items() | groupedBy:store.groupedBy() | keys); track key) {
68
82
  <div mat-subheader>{{ key }}</div>
69
- <ng-container *ngFor="let item of (store.items | groupedBy:store.groupedBy)[key]; trackBy: trackById">
70
- <ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}"></ng-container>
71
- </ng-container>
72
- <mat-divider></mat-divider>
73
- </ng-container>
83
+ @for (item of ((store.items() ?? [] | groupedBy:store.groupedBy())?.[key] ?? []); track item.id) {
84
+ <ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}" />
85
+ <mat-divider />
86
+ }
87
+ }
74
88
  </mat-list>
75
- <mat-list *ngIf="!store.groupedBy">
76
- <ng-container *ngFor="let item of store.items; trackBy: trackById">
77
- <ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}"></ng-container>
78
- <mat-divider></mat-divider>
79
- </ng-container>
89
+ } @else {
90
+ <mat-list>
91
+ @for (item of store.items(); track item.id) {
92
+ <ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}" />
93
+ <mat-divider />
94
+ }
80
95
  </mat-list>
81
-
82
- <ng-template #listItem let-item>
83
- <mat-list-item lines="2" matRipple (click)="onItemClick(item)">
84
- <span
85
- matListItemTitle
86
- [matTooltip]="item | dataAccessor:'title'"
87
- >
88
- {{ item | dataAccessor:'title' }}
89
- </span>
90
- <span matListItemLine>
91
- {{ item | dataAccessor:'description' }}
92
- </span>
93
- <ng-container *ngIf="(store.itemActions | resolveActions:item) as actions" matListItemMeta>
94
- <button
95
- *ngIf="actions.length"
96
- mat-icon-button
97
- (click)="onItemActionsClick(item, $event)"
98
- >
99
- <mat-icon>menu</mat-icon>
100
- </button>
96
+ }
97
+ <ng-template #listItem let-item>
98
+ <mat-list-item lines="2" matRipple (click)="onItemClick(item)">
99
+ <span
100
+ matListItemTitle
101
+ [matTooltip]="item | dataAccessor:'title'"
102
+ >
103
+ {{ item | dataAccessor:'title' }}
104
+ </span>
105
+ <span matListItemLine>
106
+ {{ item | dataAccessor:'description' }}
107
+ </span>
108
+ @if ((store.itemActions() | resolveActions:item); as actions) {
109
+ <ng-container matListItemMeta>
110
+ @if (actions.length) {
111
+ @switch (store.itemActionsType()) {
112
+ @case ('dispatch') {
113
+ <button
114
+ mat-icon-button
115
+ (click)="onItemActionsClick(item, $event)"
116
+ >
117
+ <mat-icon>menu</mat-icon>
118
+ </button>
119
+ }
120
+ @case ('menu') {
121
+ <atoms-smart-menu-button
122
+ [actions]="actions"
123
+ (action)="dispatch($event)"
124
+ />
125
+ }
126
+ }
127
+ }
101
128
  </ng-container>
102
- </mat-list-item>
103
- </ng-template>
104
- `, isInline: true, styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}:host mat-list .mdc-list-group__subheader{font-size:14px;line-height:1em;margin:.75rem 16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i2.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i2.MatListSubheaderCssMatStyler, selector: "[mat-subheader], [matSubheader]" }, { kind: "component", type: i3.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: i2.MatListItemLine, selector: "[matListItemLine]" }, { kind: "directive", type: i2.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i2.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i7.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "pipe", type: ActionsPipe, name: "resolveActions" }, { kind: "pipe", type: GroupedByPipe, name: "groupedBy" }, { kind: "pipe", type: KeysPipe, name: "keys" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
129
+ }
130
+ </mat-list-item>
131
+ </ng-template>
132
+ `, isInline: true, styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer;align-items:center}:host mat-list .mdc-list-group__subheader{font-size:14px;line-height:1em;margin:.75rem 16px}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1.MatListSubheaderCssMatStyler, selector: "[mat-subheader], [matSubheader]" }, { kind: "component", type: i2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: i1.MatListItemLine, selector: "[matListItemLine]" }, { kind: "directive", type: i1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i1.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i6.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "pipe", type: ActionsPipe, name: "resolveActions" }, { kind: "pipe", type: GroupedByPipe, name: "groupedBy" }, { kind: "pipe", type: KeysPipe, name: "keys" }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
105
133
  }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartListOrganism, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartListOrganism, decorators: [{
107
135
  type: Component,
108
136
  args: [{ selector: 'organisms-smart-list', standalone: true, imports: [
109
- CommonModule,
137
+ NgTemplateOutlet,
110
138
  MatListModule,
111
139
  MatIconModule,
112
140
  MatButtonModule,
@@ -116,51 +144,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
116
144
  ActionsPipe,
117
145
  GroupedByPipe,
118
146
  KeysPipe,
147
+ SmartMenuButtonAtom
119
148
  ], template: `
120
- <mat-list *ngIf="store.groupedBy">
121
- <ng-container *ngFor="let key of store.groupKeys ?? (store.items | groupedBy:store.groupedBy | keys); trackBy: trackByItem;">
149
+ @if (store.groupedBy()) {
150
+ <mat-list>
151
+ @for (key of store.groupKeys() ?? (store.items() | groupedBy:store.groupedBy() | keys); track key) {
122
152
  <div mat-subheader>{{ key }}</div>
123
- <ng-container *ngFor="let item of (store.items | groupedBy:store.groupedBy)[key]; trackBy: trackById">
124
- <ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}"></ng-container>
125
- </ng-container>
126
- <mat-divider></mat-divider>
127
- </ng-container>
153
+ @for (item of ((store.items() ?? [] | groupedBy:store.groupedBy())?.[key] ?? []); track item.id) {
154
+ <ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}" />
155
+ <mat-divider />
156
+ }
157
+ }
128
158
  </mat-list>
129
- <mat-list *ngIf="!store.groupedBy">
130
- <ng-container *ngFor="let item of store.items; trackBy: trackById">
131
- <ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}"></ng-container>
132
- <mat-divider></mat-divider>
133
- </ng-container>
159
+ } @else {
160
+ <mat-list>
161
+ @for (item of store.items(); track item.id) {
162
+ <ng-container *ngTemplateOutlet="listItem; context: {$implicit: item}" />
163
+ <mat-divider />
164
+ }
134
165
  </mat-list>
135
-
136
- <ng-template #listItem let-item>
137
- <mat-list-item lines="2" matRipple (click)="onItemClick(item)">
138
- <span
139
- matListItemTitle
140
- [matTooltip]="item | dataAccessor:'title'"
141
- >
142
- {{ item | dataAccessor:'title' }}
143
- </span>
144
- <span matListItemLine>
145
- {{ item | dataAccessor:'description' }}
146
- </span>
147
- <ng-container *ngIf="(store.itemActions | resolveActions:item) as actions" matListItemMeta>
148
- <button
149
- *ngIf="actions.length"
150
- mat-icon-button
151
- (click)="onItemActionsClick(item, $event)"
152
- >
153
- <mat-icon>menu</mat-icon>
154
- </button>
166
+ }
167
+ <ng-template #listItem let-item>
168
+ <mat-list-item lines="2" matRipple (click)="onItemClick(item)">
169
+ <span
170
+ matListItemTitle
171
+ [matTooltip]="item | dataAccessor:'title'"
172
+ >
173
+ {{ item | dataAccessor:'title' }}
174
+ </span>
175
+ <span matListItemLine>
176
+ {{ item | dataAccessor:'description' }}
177
+ </span>
178
+ @if ((store.itemActions() | resolveActions:item); as actions) {
179
+ <ng-container matListItemMeta>
180
+ @if (actions.length) {
181
+ @switch (store.itemActionsType()) {
182
+ @case ('dispatch') {
183
+ <button
184
+ mat-icon-button
185
+ (click)="onItemActionsClick(item, $event)"
186
+ >
187
+ <mat-icon>menu</mat-icon>
188
+ </button>
189
+ }
190
+ @case ('menu') {
191
+ <atoms-smart-menu-button
192
+ [actions]="actions"
193
+ (action)="dispatch($event)"
194
+ />
195
+ }
196
+ }
197
+ }
155
198
  </ng-container>
156
- </mat-list-item>
157
- </ng-template>
199
+ }
200
+ </mat-list-item>
201
+ </ng-template>
158
202
  `, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
159
203
  {
160
204
  directive: SmartListOrganismStore,
161
- inputs: ['items', 'itemActions', 'groupedBy', 'groupKeys'],
205
+ inputs: ['items', 'itemActions', 'groupedBy', 'groupKeys', 'itemActionsType'],
162
206
  },
163
- ], styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}:host mat-list .mdc-list-group__subheader{font-size:14px;line-height:1em;margin:.75rem 16px}\n"] }]
207
+ ], styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer;align-items:center}:host mat-list .mdc-list-group__subheader{font-size:14px;line-height:1em;margin:.75rem 16px}\n"] }]
164
208
  }] });
165
209
 
166
210
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, Input, inject } from '@angular/core';\nimport { DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { Actions, NgAtomicComponent } from '@ng-atomic/core';\nimport { KeysPipe } from '@ng-atomic/common/pipes/keys';\nimport { GroupedByPipe } from '@ng-atomic/common/pipes/grouped-by';\nimport { MatButtonModule } from '@angular/material/button';\nimport { ActionsPipe } from '@ng-atomic/common/pipes/actions';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n ITEM_BUTTON_CLICK = '[@ng-atomic/components/organisms/smart-list] Item Button Click',\n}\n\n@Directive({standalone: true})\nexport class SmartListOrganismStore {\n @Input() items: any[] = [];\n @Input() itemActions: Actions = [];\n @Input() groupedBy: string;\n @Input() groupKeys: string[];\n}\n\n@Component({\n selector: 'organisms-smart-list',\n standalone: true,\n imports: [\n CommonModule,\n MatListModule,\n MatIconModule,\n MatButtonModule,\n MatTooltipModule,\n MatRippleModule,\n DataAccessorPipe,\n ActionsPipe,\n GroupedByPipe,\n KeysPipe,\n ],\n template: `\n <mat-list *ngIf=\"store.groupedBy\">\n <ng-container *ngFor=\"let key of store.groupKeys ?? (store.items | groupedBy:store.groupedBy | keys); trackBy: trackByItem;\">\n <div mat-subheader>{{ key }}</div>\n <ng-container *ngFor=\"let item of (store.items | groupedBy:store.groupedBy)[key]; trackBy: trackById\">\n <ng-container *ngTemplateOutlet=\"listItem; context: {$implicit: item}\"></ng-container>\n </ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n </mat-list>\n <mat-list *ngIf=\"!store.groupedBy\">\n <ng-container *ngFor=\"let item of store.items; trackBy: trackById\">\n <ng-container *ngTemplateOutlet=\"listItem; context: {$implicit: item}\"></ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n </mat-list>\n\n <ng-template #listItem let-item>\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span\n matListItemTitle\n [matTooltip]=\"item | dataAccessor:'title'\"\n >\n {{ item | dataAccessor:'title' }}\n </span>\n <span matListItemLine>\n {{ item | dataAccessor:'description' }}\n </span>\n <ng-container *ngIf=\"(store.itemActions | resolveActions:item) as actions\" matListItemMeta>\n <button\n *ngIf=\"actions.length\"\n mat-icon-button\n (click)=\"onItemActionsClick(item, $event)\"\n >\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n </mat-list-item>\n </ng-template>\n `,\n styleUrls: ['./smart-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: SmartListOrganismStore,\n inputs: ['items', 'itemActions', 'groupedBy', 'groupKeys'],\n },\n ],\n})\nexport class SmartListOrganism<T> extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n protected readonly store = inject(SmartListOrganismStore);\n protected readonly dataAccessor = inject(DATA_ACCESSOR) ?? defaultDataAccessor;\n protected readonly trackByItem = (_: number, item: T) => item;\n protected readonly trackById = (_: number, item: T) => this.dataAccessor(item, 'id');\n\n protected onItemClick(item: T) {\n this.dispatch({id: ActionId.CLICK_ITEM, payload: item});\n }\n\n protected onItemActionsClick(item: T, $event: Event) {\n $event.stopPropagation();\n $event.preventDefault();\n this.dispatch({id: ActionId.ITEM_BUTTON_CLICK, payload: item});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;IAcY,SAGX;AAHD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,yDAAsE,CAAA;AACtE,IAAA,QAAA,CAAA,mBAAA,CAAA,GAAA,gEAAoF,CAAA;AACtF,CAAC,EAHW,QAAQ,KAAR,QAAQ,GAGnB,EAAA,CAAA,CAAA,CAAA;MAGY,sBAAsB,CAAA;AADnC,IAAA,WAAA,GAAA;QAEW,IAAK,CAAA,KAAA,GAAU,EAAE,CAAC;QAClB,IAAW,CAAA,WAAA,GAAY,EAAE,CAAC;AAGpC,KAAA;+GALY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAtB,s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,aAAa;wBACb,eAAe;wBACf,gBAAgB;wBAChB,eAAe;wBACf,gBAAgB;wBAChB,WAAW;wBACX,aAAa;wBACb,QAAQ;qBACT,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,sBAAsB;4BACjC,MAAM,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,CAAC;AAC3D,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,2NAAA,CAAA,EAAA,CAAA;;;ACzFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, inject, input } from '@angular/core';\nimport { DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { _computed, Actions, InjectableComponent, NgAtomicComponent, TokenizedType } from '@ng-atomic/core';\nimport { KeysPipe } from '@ng-atomic/common/pipes/keys';\nimport { GroupedByPipe } from '@ng-atomic/common/pipes/grouped-by';\nimport { MatButtonModule } from '@angular/material/button';\nimport { ActionsPipe } from '@ng-atomic/common/pipes/actions';\nimport { SmartMenuButtonAtom } from '@ng-atomic/components/atoms/smart-menu-button';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n ITEM_BUTTON_CLICK = '[@ng-atomic/components/organisms/smart-list] Item Button Click',\n}\n\n@TokenizedType()\n@Directive({standalone: true})\nexport class SmartListOrganismStore<T> extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n return (_, context) => ({\n items: [],\n itemActions: [],\n groupedBy: '',\n groupKeys: [],\n itemActionsType: (context.breakpoint === 'xSmall' ? 'dispatch' : 'menu') as 'menu' | 'dispatch'\n });\n }, ['components', 'organisms', 'smart-list']);\n\n readonly config = SmartListOrganismStore.Config.inject();\n readonly items = input<T[]>([]);\n readonly itemActions = input<Actions>([]);\n readonly groupedBy = input<string>();\n readonly groupKeys = input<string[]>();\n readonly itemActionsType = input(_computed(() => this.config().itemActionsType));\n}\n\n@Component({\n selector: 'organisms-smart-list',\n standalone: true,\n imports: [\n NgTemplateOutlet,\n MatListModule,\n MatIconModule,\n MatButtonModule,\n MatTooltipModule,\n MatRippleModule,\n DataAccessorPipe,\n ActionsPipe,\n GroupedByPipe,\n KeysPipe,\n SmartMenuButtonAtom\n ],\n template: `\n @if (store.groupedBy()) {\n <mat-list>\n @for (key of store.groupKeys() ?? (store.items() | groupedBy:store.groupedBy() | keys); track key) {\n <div mat-subheader>{{ key }}</div>\n @for (item of ((store.items() ?? [] | groupedBy:store.groupedBy())?.[key] ?? []); track item.id) { \n <ng-container *ngTemplateOutlet=\"listItem; context: {$implicit: item}\" />\n <mat-divider />\n }\n }\n </mat-list>\n } @else {\n <mat-list>\n @for (item of store.items(); track item.id) {\n <ng-container *ngTemplateOutlet=\"listItem; context: {$implicit: item}\" />\n <mat-divider />\n }\n </mat-list>\n }\n <ng-template #listItem let-item>\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span\n matListItemTitle\n [matTooltip]=\"item | dataAccessor:'title'\"\n >\n {{ item | dataAccessor:'title' }}\n </span>\n <span matListItemLine>\n {{ item | dataAccessor:'description' }}\n </span>\n @if ((store.itemActions() | resolveActions:item); as actions) {\n <ng-container matListItemMeta>\n @if (actions.length) {\n @switch (store.itemActionsType()) {\n @case ('dispatch') {\n <button\n mat-icon-button\n (click)=\"onItemActionsClick(item, $event)\"\n >\n <mat-icon>menu</mat-icon>\n </button>\n }\n @case ('menu') {\n <atoms-smart-menu-button\n [actions]=\"actions\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n }\n </ng-container>\n }\n </mat-list-item>\n </ng-template>\n `,\n styleUrls: ['./smart-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: SmartListOrganismStore,\n inputs: ['items', 'itemActions', 'groupedBy', 'groupKeys', 'itemActionsType'],\n },\n ],\n})\nexport class SmartListOrganism<T> extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n protected readonly store = inject(SmartListOrganismStore);\n protected readonly dataAccessor = inject(DATA_ACCESSOR, {optional: true}) ?? defaultDataAccessor;\n protected readonly trackById = (_: number, item: T) => this.dataAccessor(item, 'id');\n\n protected onItemClick(item: T) {\n this.dispatch({id: ActionId.CLICK_ITEM, payload: item});\n }\n\n protected onItemActionsClick(item: T, $event: Event) {\n $event.stopPropagation();\n $event.preventDefault();\n this.dispatch({id: ActionId.ITEM_BUTTON_CLICK, payload: item});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;IAgBY,SAGX;AAHD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,yDAAsE,CAAA;AACtE,IAAA,QAAA,CAAA,mBAAA,CAAA,GAAA,gEAAoF,CAAA;AACtF,CAAC,EAHW,QAAQ,KAAR,QAAQ,GAGnB,EAAA,CAAA,CAAA,CAAA;AAIM,IAAM,sBAAsB,GAA5B,MAAM,sBAA0B,SAAQ,mBAAmB,CAAA;AAA3D,IAAA,WAAA,GAAA;;AA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M,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,sBAAsB;4BACjC,MAAM,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,CAAC;AAC9E,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,8OAAA,CAAA,EAAA,CAAA;;;ACzHH;;AAEG;;;;"}
@@ -8,15 +8,15 @@ class SocialLoginSectionOrganism {
8
8
  constructor() {
9
9
  this.signInWithGoogleButtonClick = new EventEmitter();
10
10
  }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SocialLoginSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
12
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SocialLoginSectionOrganism, isStandalone: true, selector: "organisms-social-login-section", outputs: { signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, ngImport: i0, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-wWdY: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-wWdY);box-sizing:border-box}:host button{width:100%;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SocialLoginSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
12
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: SocialLoginSectionOrganism, isStandalone: true, selector: "organisms-social-login-section", outputs: { signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, ngImport: i0, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-sPmV: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-sPmV);box-sizing:border-box}:host button{width:100%;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SocialLoginSectionOrganism, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SocialLoginSectionOrganism, decorators: [{
15
15
  type: Component,
16
16
  args: [{ selector: 'organisms-social-login-section', standalone: true, imports: [
17
17
  CommonModule,
18
18
  MatButtonModule,
19
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-wWdY: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-wWdY);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
19
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-sPmV: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-sPmV);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
20
20
  }], propDecorators: { signInWithGoogleButtonClick: [{
21
21
  type: Output
22
22
  }] } });
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-social-login-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/social-login-section/social-login-section.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/social-login-section/social-login-section.organism.html","../../../../../packages/@ng-atomic/components/src/lib/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n selector: 'organisms-social-login-section',\n standalone: true,\n imports: [\n CommonModule,\n MatButtonModule,\n ],\n templateUrl: './social-login-section.organism.html',\n styleUrls: ['./social-login-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SocialLoginSectionOrganism {\n\n @Output()\n signInWithGoogleButtonClick = new EventEmitter<void>();\n \n}\n","<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Googleアカウントでログイン</button>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAea,0BAA0B,CAAA;AAXvC,IAAA,WAAA,GAAA;AAcE,QAAA,IAAA,CAAA,2BAA2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../../packages/@ng-atomic/components/src/lib/organisms/social-login-section/social-login-section.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/social-login-section/social-login-section.organism.html","../../../../../packages/@ng-atomic/components/src/lib/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n selector: 'organisms-social-login-section',\n standalone: true,\n imports: [\n CommonModule,\n MatButtonModule,\n ],\n templateUrl: './social-login-section.organism.html',\n styleUrls: ['./social-login-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SocialLoginSectionOrganism {\n\n @Output()\n signInWithGoogleButtonClick = new EventEmitter<void>();\n \n}\n","<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Googleアカウントでログイン</button>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAea,0BAA0B,CAAA;AAXvC,IAAA,WAAA,GAAA;AAcE,QAAA,IAAA,CAAA,2BAA2B,GAAG,IAAI,YAAY,EAAQ,CAAC;AAExD,KAAA;8GALY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,ECfvC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gCAAA,EAAA,OAAA,EAAA,EAAA,2BAAA,EAAA,6BAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,sLAI0B,EDItB,MAAA,EAAA,CAAA,gQAAA,CAAA,EAAA,YAAA,EA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