@ng-atomic/components 17.14.0 → 18.1.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 (302) 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 +20 -13
  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 +14 -12
  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 +26 -16
  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 +13 -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 +61 -59
  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 +19 -12
  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 +13 -11
  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 +25 -15
  193. package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs.map +1 -1
  194. package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
  195. package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +8 -8
  196. package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +8 -8
  197. package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +8 -8
  198. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +8 -8
  199. package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +3 -3
  200. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +3 -3
  201. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
  202. package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +5 -5
  203. package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +6 -6
  204. package/fesm2022/ng-atomic-components-organisms-heading.mjs +5 -5
  205. package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +3 -3
  206. package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +6 -6
  207. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +8 -8
  208. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +8 -8
  209. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
  210. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +3 -3
  211. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
  212. package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs +3 -3
  213. package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +5 -5
  214. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +8 -8
  215. package/fesm2022/ng-atomic-components-organisms-navigator.mjs +8 -8
  216. package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +8 -8
  217. package/fesm2022/ng-atomic-components-organisms-paginator.mjs +8 -8
  218. package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +8 -8
  219. package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +8 -8
  220. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +3 -3
  221. package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +8 -8
  222. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +6 -6
  223. package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
  224. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +10 -10
  225. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs.map +1 -1
  226. package/fesm2022/ng-atomic-components-organisms-table.mjs +12 -8
  227. package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
  228. package/fesm2022/ng-atomic-components-organisms-terminal.mjs +3 -3
  229. package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -1
  230. package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +8 -8
  231. package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +6 -6
  232. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +8 -8
  233. package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +8 -8
  234. package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +3 -3
  235. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +3 -3
  236. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +3 -3
  237. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
  238. package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +3 -3
  239. package/fesm2022/ng-atomic-components-organisms-video-section.mjs +16 -16
  240. package/fesm2022/ng-atomic-components-organisms-video-section.mjs.map +1 -1
  241. package/fesm2022/ng-atomic-components-organisms.mjs +4 -4
  242. package/fesm2022/ng-atomic-components-pages-_index.mjs +9 -9
  243. package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
  244. package/fesm2022/ng-atomic-components-pages-blank.mjs +3 -3
  245. package/fesm2022/ng-atomic-components-pages-columns.mjs +6 -6
  246. package/fesm2022/ng-atomic-components-pages-form.mjs +8 -8
  247. package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
  248. package/fesm2022/ng-atomic-components-pages-terms.mjs +6 -6
  249. package/fesm2022/ng-atomic-components-pages.mjs +4 -4
  250. package/fesm2022/ng-atomic-components-sheets-actions.mjs +3 -3
  251. package/fesm2022/ng-atomic-components-sheets.mjs +7 -7
  252. package/fesm2022/ng-atomic-components-templates-_index.mjs +61 -59
  253. package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
  254. package/fesm2022/ng-atomic-components-templates-background.mjs +7 -7
  255. package/fesm2022/ng-atomic-components-templates-code-editor.mjs +6 -6
  256. package/fesm2022/ng-atomic-components-templates-columns.mjs +8 -8
  257. package/fesm2022/ng-atomic-components-templates-columns.mjs.map +1 -1
  258. package/fesm2022/ng-atomic-components-templates-entrance.mjs +23 -24
  259. package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
  260. package/fesm2022/ng-atomic-components-templates-file-tree.mjs +3 -3
  261. package/fesm2022/ng-atomic-components-templates-form.mjs +36 -44
  262. package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
  263. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +8 -8
  264. package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
  265. package/fesm2022/ng-atomic-components-templates-menu.mjs +8 -8
  266. package/fesm2022/ng-atomic-components-templates-messages.mjs +3 -3
  267. package/fesm2022/ng-atomic-components-templates-messages.mjs.map +1 -1
  268. package/fesm2022/ng-atomic-components-templates-selection.mjs +8 -8
  269. package/fesm2022/ng-atomic-components-templates-settings.mjs +5 -5
  270. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +3 -3
  271. package/fesm2022/ng-atomic-components-templates-term.mjs +6 -6
  272. package/fesm2022/ng-atomic-components-templates.mjs +4 -4
  273. package/fesm2022/ng-atomic-components.mjs +4 -4
  274. package/frames/app/app.frame.d.ts +17 -17
  275. package/frames/divider/divider.frame.d.ts +1 -0
  276. package/frames/fab/fab.frame.d.ts +3 -3
  277. package/frames/line-up/line-up.frame.d.ts +2 -2
  278. package/frames/side-nav/side-nav.frame.d.ts +2 -2
  279. package/frames/tabs/tabs.frame.d.ts +2 -2
  280. package/molecules/action-input-field/action-input-field.molecule.d.ts +2 -1
  281. package/molecules/actions-column/actions-column.molecule.d.ts +4 -3
  282. package/molecules/checkbox-column/checkbox-column.molecule.d.ts +2 -1
  283. package/molecules/chips-input-field/chips-input-field.molecule.d.ts +2 -1
  284. package/molecules/file-input-field/file-input-field.molecule.d.ts +2 -2
  285. package/molecules/molecules.module.d.ts +1 -1
  286. package/molecules/smart-column/smart-column.molecule.d.ts +4 -4
  287. package/molecules/tree-column/tree-column.molecule.d.ts +3 -2
  288. package/organisms/chips-input-section/chips-input-section.organism.d.ts +6 -2
  289. package/organisms/graphql-editor/graphql-editor.organism.d.ts +2 -2
  290. package/organisms/mermaid-section/mermaid-section.organism.d.ts +2 -2
  291. package/organisms/navigator/navigator.organism.d.ts +3 -3
  292. package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +11 -11
  293. package/organisms/terminal/terminal.organism.d.ts +2 -2
  294. package/organisms/tree-section/tree-section.organism.d.ts +2 -2
  295. package/organisms/video-section/video-section.organism.d.ts +2 -2
  296. package/package.json +10 -11
  297. package/pages/_index/index.page.d.ts +21 -21
  298. package/pages/columns/columns.page.d.ts +6 -6
  299. package/pages/form/form.page.d.ts +19 -17
  300. package/templates/_index/index.template.d.ts +31 -27
  301. package/templates/form/form.template.d.ts +8 -8
  302. package/templates/messages/messages.template.d.ts +2 -2
@@ -125,13 +125,13 @@ let TableOrganismStore = class TableOrganismStore extends InjectableComponent {
125
125
  isHidden: (item) => false,
126
126
  });
127
127
  }, ['components', 'organisms', 'table']); }
128
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TableOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
129
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TableOrganismStore, isStandalone: true, selector: "organisms-table", inputs: { draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, highlight: { classPropertyName: "highlight", publicName: "highlight", isSignal: true, isRequired: false, transformFunction: null }, childrenKey: { classPropertyName: "childrenKey", publicName: "childrenKey", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, treeControl: { classPropertyName: "treeControl", publicName: "treeControl", isSignal: true, isRequired: false, transformFunction: null }, isHidden: { classPropertyName: "isHidden", publicName: "isHidden", isSignal: true, isRequired: false, transformFunction: null } }, providers: [DomainPipe], usesInheritance: true, ngImport: i0 }); }
128
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TableOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
129
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TableOrganismStore, isStandalone: true, selector: "organisms-table", inputs: { draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, highlight: { classPropertyName: "highlight", publicName: "highlight", isSignal: true, isRequired: false, transformFunction: null }, childrenKey: { classPropertyName: "childrenKey", publicName: "childrenKey", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, treeControl: { classPropertyName: "treeControl", publicName: "treeControl", isSignal: true, isRequired: false, transformFunction: null }, isHidden: { classPropertyName: "isHidden", publicName: "isHidden", isSignal: true, isRequired: false, transformFunction: null } }, providers: [DomainPipe], usesInheritance: true, ngImport: i0 }); }
130
130
  };
131
131
  TableOrganismStore = TableOrganismStore_1 = __decorate([
132
132
  TokenizedType()
133
133
  ], TableOrganismStore);
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TableOrganismStore, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TableOrganismStore, decorators: [{
135
135
  type: Directive,
136
136
  args: [{
137
137
  standalone: true,
@@ -171,8 +171,8 @@ class TableOrganism extends NgAtomicComponent {
171
171
  }
172
172
  });
173
173
  }
174
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TableOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
175
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: TableOrganism, isStandalone: true, selector: "organisms-table", host: { classAttribute: "organism" }, usesInheritance: true, hostDirectives: [{ directive: TableOrganismStore, inputs: ["draggable", "draggable", "form", "form", "itemActions", "itemActions", "selection", "selection", "items", "items", "childrenKey", "childrenKey", "highlight", "highlight", "treeControl", "treeControl", "isHidden", "isHidden"] }], ngImport: i0, template: `
174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TableOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
175
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TableOrganism, isStandalone: true, selector: "organisms-table", host: { classAttribute: "organism" }, usesInheritance: true, hostDirectives: [{ directive: TableOrganismStore, inputs: ["draggable", "draggable", "form", "form", "itemActions", "itemActions", "selection", "selection", "items", "items", "childrenKey", "childrenKey", "highlight", "highlight", "treeControl", "treeControl", "isHidden", "isHidden"] }], ngImport: i0, template: `
176
176
  <table
177
177
  mat-table
178
178
  recycleRows
@@ -209,6 +209,7 @@ class TableOrganism extends NgAtomicComponent {
209
209
  [headerText]="column.headerText"
210
210
  [treeControl]="store.treeControl()"
211
211
  [sort]="column.sort"
212
+ [width]="column.width"
212
213
  (headerClick)="onHeaderClick(column.name)"
213
214
  />
214
215
  }
@@ -217,6 +218,7 @@ class TableOrganism extends NgAtomicComponent {
217
218
  [name]="column.name"
218
219
  [headerText]="column.headerText"
219
220
  [sort]="column.sort"
221
+ [width]="column.width"
220
222
  (headerClick)="onHeaderClick(column.name)"
221
223
  />
222
224
  }
@@ -233,7 +235,7 @@ class TableOrganism extends NgAtomicComponent {
233
235
  <div class="mat-row" *matNoDataRow>No Data</div>
234
236
  </tbody>
235
237
  </table>
236
- `, isInline: true, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-bB7J: var(--width);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-bB7J: var(--column-vertical-padding);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-smart-table-bB7J: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-smart-table-bB7J: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-smart-table-bB7J: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-smart-table-bB7J: var(--on-background-color);--vertical-padding: 16px;--vertical-padding-SCOPED-IN-smart-table-bB7J: var(--vertical-padding)}.cdk-drag-preview{display:table;background-color:#fff}.cdk-drag-placeholder{opacity:0}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%;background-color:var(--background-color-SCOPED-IN-smart-table-bB7J);color:var(--on-background-color-SCOPED-IN-smart-table-bB7J)}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-bB7J);box-sizing:border-box}:host table ::ng-deep th:first-child,:host table ::ng-deep td:first-child{padding-left:var(--vertical-padding-SCOPED-IN-smart-table-bB7J)}:host table ::ng-deep th:last-child,:host table ::ng-deep td:last-child{padding-right:var(--vertical-padding-SCOPED-IN-smart-table-bB7J)}:host table ::ng-deep tr.highlight{background-color:#f0f0f0;transition:background-color .5s}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);height:3em;padding:0 16px}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i1.MatRecycleRows, selector: "mat-table[recycleRows], table[mat-table][recycleRows]" }, { kind: "directive", type: i1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "component", type: i1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i1.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: ActionsColumnMolecule, selector: "molecules-actions-column" }, { kind: "component", type: CheckboxColumnMolecule, selector: "molecules-checkbox-column", inputs: ["name", "selection", "isHidden"] }, { kind: "component", type: SmartColumnMolecule, selector: "molecules-smart-column", inputs: ["headerText", "name"], outputs: ["headerClick"] }, { kind: "component", type: TreeColumnMolecule, selector: "molecules-tree-column", outputs: ["headerClick"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
238
+ `, isInline: true, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-tAZa: var(--width);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-tAZa: var(--column-vertical-padding);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-smart-table-tAZa: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-smart-table-tAZa: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-smart-table-tAZa: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-smart-table-tAZa: var(--on-background-color);--vertical-padding: 16px;--vertical-padding-SCOPED-IN-smart-table-tAZa: var(--vertical-padding)}.cdk-drag-preview{display:table;background-color:#fff}.cdk-drag-placeholder{opacity:0}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%;background-color:var(--background-color-SCOPED-IN-smart-table-tAZa);color:var(--on-background-color-SCOPED-IN-smart-table-tAZa)}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-tAZa);box-sizing:border-box}:host table ::ng-deep th:first-child,:host table ::ng-deep td:first-child{padding-left:var(--vertical-padding-SCOPED-IN-smart-table-tAZa)}:host table ::ng-deep th:last-child,:host table ::ng-deep td:last-child{padding-right:var(--vertical-padding-SCOPED-IN-smart-table-tAZa)}:host table ::ng-deep tr.highlight{background-color:#f0f0f0;transition:background-color .5s}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);height:3em;padding:0 16px}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i1.MatRecycleRows, selector: "mat-table[recycleRows], table[mat-table][recycleRows]" }, { kind: "directive", type: i1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "component", type: i1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i1.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: ActionsColumnMolecule, selector: "molecules-actions-column" }, { kind: "component", type: CheckboxColumnMolecule, selector: "molecules-checkbox-column", inputs: ["name", "selection", "isHidden"] }, { kind: "component", type: SmartColumnMolecule, selector: "molecules-smart-column", inputs: ["headerText", "name"], outputs: ["headerClick"] }, { kind: "component", type: TreeColumnMolecule, selector: "molecules-tree-column", outputs: ["headerClick"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
237
239
  }
238
240
  __decorate([
239
241
  Effect(CheckboxColumnMolecule.ActionId.CHECKBOX_CLICK),
@@ -247,7 +249,7 @@ __decorate([
247
249
  __metadata("design:paramtypes", [Object]),
248
250
  __metadata("design:returntype", void 0)
249
251
  ], TableOrganism.prototype, "onHeaderCheckboxClick", null);
250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TableOrganism, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TableOrganism, decorators: [{
251
253
  type: Component,
252
254
  args: [{ selector: 'organisms-table', standalone: true, imports: [
253
255
  NgClass,
@@ -305,6 +307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
305
307
  [headerText]="column.headerText"
306
308
  [treeControl]="store.treeControl()"
307
309
  [sort]="column.sort"
310
+ [width]="column.width"
308
311
  (headerClick)="onHeaderClick(column.name)"
309
312
  />
310
313
  }
@@ -313,6 +316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
313
316
  [name]="column.name"
314
317
  [headerText]="column.headerText"
315
318
  [sort]="column.sort"
319
+ [width]="column.width"
316
320
  (headerClick)="onHeaderClick(column.name)"
317
321
  />
318
322
  }
@@ -344,7 +348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
344
348
  'isHidden',
345
349
  ],
346
350
  },
347
- ], host: { class: 'organism' }, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-bB7J: var(--width);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-bB7J: var(--column-vertical-padding);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-smart-table-bB7J: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-smart-table-bB7J: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-smart-table-bB7J: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-smart-table-bB7J: var(--on-background-color);--vertical-padding: 16px;--vertical-padding-SCOPED-IN-smart-table-bB7J: var(--vertical-padding)}.cdk-drag-preview{display:table;background-color:#fff}.cdk-drag-placeholder{opacity:0}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%;background-color:var(--background-color-SCOPED-IN-smart-table-bB7J);color:var(--on-background-color-SCOPED-IN-smart-table-bB7J)}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-bB7J);box-sizing:border-box}:host table ::ng-deep th:first-child,:host table ::ng-deep td:first-child{padding-left:var(--vertical-padding-SCOPED-IN-smart-table-bB7J)}:host table ::ng-deep th:last-child,:host table ::ng-deep td:last-child{padding-right:var(--vertical-padding-SCOPED-IN-smart-table-bB7J)}:host table ::ng-deep tr.highlight{background-color:#f0f0f0;transition:background-color .5s}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);height:3em;padding:0 16px}\n"] }]
351
+ ], host: { class: 'organism' }, styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-tAZa: var(--width);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-tAZa: var(--column-vertical-padding);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-smart-table-tAZa: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-smart-table-tAZa: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-smart-table-tAZa: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-smart-table-tAZa: var(--on-background-color);--vertical-padding: 16px;--vertical-padding-SCOPED-IN-smart-table-tAZa: var(--vertical-padding)}.cdk-drag-preview{display:table;background-color:#fff}.cdk-drag-placeholder{opacity:0}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%;background-color:var(--background-color-SCOPED-IN-smart-table-tAZa);color:var(--on-background-color-SCOPED-IN-smart-table-tAZa)}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-tAZa);box-sizing:border-box}:host table ::ng-deep th:first-child,:host table ::ng-deep td:first-child{padding-left:var(--vertical-padding-SCOPED-IN-smart-table-tAZa)}:host table ::ng-deep th:last-child,:host table ::ng-deep td:last-child{padding-right:var(--vertical-padding-SCOPED-IN-smart-table-tAZa)}:host table ::ng-deep tr.highlight{background-color:#f0f0f0;transition:background-color .5s}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);height:3em;padding:0 16px}\n"] }]
348
352
  }], propDecorators: { onCheckboxClick: [], onHeaderCheckboxClick: [] } });
349
353
  function getDisplayedNodes(nodes, control) {
350
354
  const result = [];
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-table.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/table/table.helpers.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/table/table.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/table/index.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/table/ng-atomic-components-organisms-table.ts"],"sourcesContent":["import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';\nimport { FlatTreeControl } from '@angular/cdk/tree';\n\nexport function buildTreeFlatDataSource<T = any>(treeControl: FlatTreeControl<T>, data: T[], key = 'children') {\n const treeFlattener = new MatTreeFlattener(\n (node: any, level: number) => {\n node.level = level;\n node.isExpandable = (node[key] ?? []).length > 0;\n return node;\n },\n (node) => node.level,\n (node) => node.isExpandable,\n (node) => node[key]\n );\n \n return new MatTreeFlatDataSource(treeControl, treeFlattener, data);\n}","import { ChangeDetectionStrategy, Component, Directive, computed, inject, input } from '@angular/core';\nimport { MatTableDataSource, MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainPipe } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnMolecule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnMolecule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnMolecule } from '@ng-atomic/components/molecules/smart-column';\nimport { _computed, Actions, Effect, InjectableComponent, NgAtomicComponent, TokenizedType } from '@ng-atomic/core';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { TreeColumnMolecule } from '@ng-atomic/components/molecules/tree-column';\nimport { Column } from '@ng-atomic/common/models';\nimport { computedRawValue } from '@ng-atomic/common/utils';\nimport { NgClass } from '@angular/common';\nimport { ColumnsPipe } from '@ng-atomic/common/pipes/columns';\nimport { ResolveColumnsPipe } from '@ng-atomic/common/pipes/resolve-columns';\nimport { MapPipe } from '@ng-atomic/common/pipes/map';\nimport { AutoColumnsPipe } from '@ng-atomic/common/pipes/auto-columns';\nimport { SortPipe } from '@ng-atomic/common/pipes/sort';\nimport { FlatTreeControl } from '@angular/cdk/tree';\nimport { CdkDragDrop, CdkDropList, CdkDrag } from '@angular/cdk/drag-drop';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { IndexTemplateFormBuilder } from '@ng-atomic/common/services/form/_index';\nimport { buildTreeFlatDataSource } from './table.helpers';\n\nenum ActionId {\n CHECKBOX_CLICK = '[@ng-atomic/components/organisms/checkbox-column] Checkbox Click',\n HEADER_CHECKBOX_CLICK = '[@ng-atomic/components/organisms/checkbox-column] Header Checkbox Click',\n HEADER_CLICK = '[@ng-atomic/components/organisms/table] Header Click',\n ROW_DROP = '[@ng-atomic/components/organisms/table] Row Drop',\n}\n\n@TokenizedType()\n@Directive({\n standalone: true,\n selector: 'organisms-table',\n providers: [DomainPipe],\n})\nexport class TableOrganismStore<T> extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n return () => ({\n draggable: true,\n isHidden:(item: any) => false,\n });\n }, ['components', 'organisms', 'table']);\n\n readonly config = TableOrganismStore.Config.inject();\n readonly draggable = input(_computed(() => this.config().draggable));\n\n readonly domainPipe = inject(DomainPipe);\n readonly form = input(inject(IndexTemplateFormBuilder).build());\n readonly itemActions = input<Actions>([]);\n readonly selection = input(new SelectionModel<string>(true, []));\n readonly highlight = input(new SelectionModel<string>(true, [])); \n readonly childrenKey = input<string>(null);\n readonly items = input<T[]>([]);\n readonly treeControl = input(new FlatTreeControl<any>(n => n.level, n => n.isExpandable));\n readonly dataSource = computed(() => {\n if (this.childrenKey()) {\n return buildTreeFlatDataSource(this.treeControl(), this.items(), this.childrenKey());\n }\n return new MatTableDataSource<T>(this.items());\n });\n readonly isHidden = input(_computed(() => this.config().isHidden));\n\n // () => {\n // if (this.childrenKey()) {\n // return (item: T) => this.treeControl().getLevel(item) === 0;\n // } else {\n // return (item: T) => false;\n // }\n // }\n readonly formValue = computedRawValue(() => this.form());\n readonly sort = computed(() => this.formValue()?.sort ?? {key: '', order: 'asc'}, {\n equal: (a, b) => JSON.stringify(a) === JSON.stringify(b),\n });\n readonly columns = computed(() => {\n const data = this.formValue()?.columns;\n const _columns = data?.ids.map(id => ({...data?.map[id], name: id})) as Column[];\n console.debug('columns:', _columns);\n const columns = new ColumnsPipe().transform((_columns ?? []) ).map(column => {\n if (column.name.startsWith('__tree_')) {\n return {\n ...column,\n type: 'tree',\n sort: this.sort().key === column.name ? this.sort().order : 'none',\n };\n } else if (column.name.startsWith('checkbox')) {\n return {\n ...column,\n type: 'checkbox',\n headerText: 'check',\n };\n } else if (column.type === 'actions') {\n return {\n ...column,\n actions: column.actions ?? this.itemActions(),\n type: 'actions',\n sort: this.sort().key === column.name ? this.sort().order : 'none',\n }\n } else {\n return {\n ...column,\n headerText: this.domainPipe.transform(column?.headerText ?? column?.name),\n sort: this.sort().key === column.name ? this.sort().order : 'none',\n };\n }\n });\n return columns;\n }, { equal: (a, b) => JSON.stringify(a) === JSON.stringify(b) });\n readonly columnNames = computed(() => this.columns().map(column => column.name), {\n equal: (a, b) => JSON.stringify(a) === JSON.stringify(b),\n });\n}\n\n@Component({\n selector: 'organisms-table',\n standalone: true,\n imports: [\n NgClass,\n DomainPipe,\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n ActionsColumnMolecule,\n CheckboxColumnMolecule,\n SmartColumnMolecule,\n TreeColumnMolecule,\n ResolveColumnsPipe,\n MapPipe,\n AutoColumnsPipe,\n SortPipe,\n ColumnsPipe,\n CdkDropList,\n CdkDrag,\n ],\n template: `\n <table\n mat-table\n recycleRows\n matSort\n matSortDisableClear\n matSortDirection=\"desc\"\n [dataSource]=\"store.dataSource()\"\n cdkDropList\n (cdkDropListDropped)=\"onDrop($event)\"\n [cdkDropListDisabled]=\"!store.draggable()\"\n >\n <tbody\n >\n @for (column of store.columns(); track column.name; let i = $index) {\n @switch (column.type) {\n @case ('checkbox') {\n <molecules-checkbox-column\n [name]=\"column.name\"\n [selection]=\"store.selection()\"\n [isHidden]=\"store.isHidden()\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('actions') {\n <molecules-actions-column\n [name]=\"column.name\"\n [itemActions]=\"column.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n @case('tree') {\n <molecules-tree-column\n [name]=\"column.name\"\n [headerText]=\"column.headerText\"\n [treeControl]=\"store.treeControl()\"\n [sort]=\"column.sort\"\n (headerClick)=\"onHeaderClick(column.name)\"\n />\n }\n @default {\n <molecules-smart-column\n [name]=\"column.name\"\n [headerText]=\"column.headerText\"\n [sort]=\"column.sort\"\n (headerClick)=\"onHeaderClick(column.name)\"\n />\n }\n }\n }\n <tr mat-header-row *matHeaderRowDef=\"store.columnNames(); sticky: true\"></tr>\n <tr\n mat-row\n *matRowDef=\"let item; columns: store.columnNames();\"\n [ngClass]=\"{ highlight: store.highlight().isSelected(item.id) }\"\n [cdkDrag]\n [cdkDragDisabled]=\"!store.draggable()\"\n ></tr>\n <div class=\"mat-row\" *matNoDataRow>No Data</div>\n </tbody>\n </table>\n `,\n styleUrls: ['./table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: TableOrganismStore,\n inputs: [\n 'draggable',\n 'form',\n 'itemActions',\n 'selection',\n 'items',\n 'childrenKey',\n 'highlight',\n 'treeControl',\n 'isHidden',\n ],\n },\n ],\n host: {class: 'organism'},\n})\nexport class TableOrganism<Item extends object> extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n protected store = inject(TableOrganismStore);\n\n @Effect(CheckboxColumnMolecule.ActionId.CHECKBOX_CLICK)\n protected onCheckboxClick(item: Item) {\n this.dispatch({id: ActionId.CHECKBOX_CLICK, payload: item});\n }\n\n @Effect(CheckboxColumnMolecule.ActionId.HEADER_CHECKBOX_CLICK)\n protected onHeaderCheckboxClick(item: Item) {\n this.dispatch({id: ActionId.HEADER_CHECKBOX_CLICK});\n }\n\n protected onHeaderClick(column: string) {\n this.dispatch({id: ActionId.HEADER_CLICK, payload: column});\n }\n\n protected onDrop(event: CdkDragDrop<any, any>) {\n const control = this.store.treeControl()\n const nodes = control.dataNodes.filter(node => node.level === 0);\n const nodes_ = getDisplayedNodes(nodes, control);\n const draggedNode = nodes_[event.previousIndex];\n const droppedNode = nodes_[event.currentIndex];\n const items = flatItems(this.store.items(), this.store.childrenKey());\n\n this.dispatch({\n id: ActionId.ROW_DROP,\n payload: {\n previousIndex: nodes_.findIndex(node => node === event.item.data),\n currentIndex: event.currentIndex,\n dragged: items.find(item => item.id === draggedNode.id),\n dropped: items.find(item => item.id === droppedNode.id),\n }\n });\n }\n}\n\ninterface TreeNode {\n id: string;\n isExpandable: boolean;\n children?: TreeNode[];\n}\n\nfunction getDisplayedNodes(nodes: TreeNode[], control: FlatTreeControl<any>): TreeNode[] {\n const result: TreeNode[] = [];\n for (const node of nodes) {\n result.push(node);\n if (control.isExpanded(node)) {\n result.push(...getDisplayedNodes(node.children, control));\n }\n }\n return result;\n}\n\nexport function flatItems<T>(items: T[], key = 'children'): T[] {\n const result: T[] = [];\n for (const item of items) {\n result.push(item);\n if (item[key]) {\n result.push(...flatItems<T>(item[key], key));\n }\n }\n return result;\n}\n","/** @deprecated use instead `'@ng-atomic/common/services/form/_index` */\nexport * from '@ng-atomic/common/services/form/_index';\nexport * from './table.organism';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGM,SAAU,uBAAuB,CAAU,WAA+B,EAAE,IAAS,EAAE,GAAG,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,EAAE,OAAO,CAAC,CAAC,CAAC;AAC3D,SAAA;AACF,KAAA;AACD,IAAA,OAAO,MAAM,CAAC;AAChB,CAAC;SAEe,SAAS,CAAI,KAAU,EAAE,GAAG,GAAG,UAAU,EAAA;IACvD,MAAM,MAAM,GAAQ,EAAE,CAAC;AACvB,IAAA,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AACxB,QAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClB,QAAA,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE;AACb,YAAA,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS,CAAI,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;AAC9C,SAAA;AACF,KAAA;AACD,IAAA,OAAO,MAAM,CAAC;AAChB;;AC/RA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-table.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/table/table.helpers.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/table/table.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/table/index.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/table/ng-atomic-components-organisms-table.ts"],"sourcesContent":["import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';\nimport { FlatTreeControl } from '@angular/cdk/tree';\n\nexport function buildTreeFlatDataSource<T = any>(treeControl: FlatTreeControl<T>, data: T[], key = 'children') {\n const treeFlattener = new MatTreeFlattener(\n (node: any, level: number) => {\n node.level = level;\n node.isExpandable = (node[key] ?? []).length > 0;\n return node;\n },\n (node) => node.level,\n (node) => node.isExpandable,\n (node) => node[key]\n );\n \n return new MatTreeFlatDataSource(treeControl, treeFlattener, data);\n}","import { ChangeDetectionStrategy, Component, Directive, computed, inject, input } from '@angular/core';\nimport { MatTableDataSource, MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainPipe } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnMolecule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnMolecule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnMolecule } from '@ng-atomic/components/molecules/smart-column';\nimport { _computed, Actions, Effect, InjectableComponent, NgAtomicComponent, TokenizedType } from '@ng-atomic/core';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { TreeColumnMolecule } from '@ng-atomic/components/molecules/tree-column';\nimport { Column } from '@ng-atomic/common/models';\nimport { computedRawValue } from '@ng-atomic/common/utils';\nimport { NgClass } from '@angular/common';\nimport { ColumnsPipe } from '@ng-atomic/common/pipes/columns';\nimport { ResolveColumnsPipe } from '@ng-atomic/common/pipes/resolve-columns';\nimport { MapPipe } from '@ng-atomic/common/pipes/map';\nimport { AutoColumnsPipe } from '@ng-atomic/common/pipes/auto-columns';\nimport { SortPipe } from '@ng-atomic/common/pipes/sort';\nimport { FlatTreeControl } from '@angular/cdk/tree';\nimport { CdkDragDrop, CdkDropList, CdkDrag } from '@angular/cdk/drag-drop';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { IndexTemplateFormBuilder } from '@ng-atomic/common/services/form/_index';\nimport { buildTreeFlatDataSource } from './table.helpers';\n\nenum ActionId {\n CHECKBOX_CLICK = '[@ng-atomic/components/organisms/checkbox-column] Checkbox Click',\n HEADER_CHECKBOX_CLICK = '[@ng-atomic/components/organisms/checkbox-column] Header Checkbox Click',\n HEADER_CLICK = '[@ng-atomic/components/organisms/table] Header Click',\n ROW_DROP = '[@ng-atomic/components/organisms/table] Row Drop',\n}\n\n@TokenizedType()\n@Directive({\n standalone: true,\n selector: 'organisms-table',\n providers: [DomainPipe],\n})\nexport class TableOrganismStore<T> extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n return () => ({\n draggable: true,\n isHidden:(item: any) => false,\n });\n }, ['components', 'organisms', 'table']);\n\n readonly config = TableOrganismStore.Config.inject();\n readonly draggable = input(_computed(() => this.config().draggable));\n\n readonly domainPipe = inject(DomainPipe);\n readonly form = input(inject(IndexTemplateFormBuilder).build());\n readonly itemActions = input<Actions>([]);\n readonly selection = input(new SelectionModel<string>(true, []));\n readonly highlight = input(new SelectionModel<string>(true, [])); \n readonly childrenKey = input<string>(null);\n readonly items = input<T[]>([]);\n readonly treeControl = input(new FlatTreeControl<any>(n => n.level, n => n.isExpandable));\n readonly dataSource = computed(() => {\n if (this.childrenKey()) {\n return buildTreeFlatDataSource(this.treeControl(), this.items(), this.childrenKey());\n }\n return new MatTableDataSource<T>(this.items());\n });\n readonly isHidden = input(_computed(() => this.config().isHidden));\n\n // () => {\n // if (this.childrenKey()) {\n // return (item: T) => this.treeControl().getLevel(item) === 0;\n // } else {\n // return (item: T) => false;\n // }\n // }\n readonly formValue = computedRawValue(() => this.form());\n readonly sort = computed(() => this.formValue()?.sort ?? {key: '', order: 'asc'}, {\n equal: (a, b) => JSON.stringify(a) === JSON.stringify(b),\n });\n readonly columns = computed(() => {\n const data = this.formValue()?.columns;\n const _columns = data?.ids.map(id => ({...data?.map[id], name: id})) as Column[];\n console.debug('columns:', _columns);\n const columns = new ColumnsPipe().transform((_columns ?? []) ).map(column => {\n if (column.name.startsWith('__tree_')) {\n return {\n ...column,\n type: 'tree',\n sort: this.sort().key === column.name ? this.sort().order : 'none',\n };\n } else if (column.name.startsWith('checkbox')) {\n return {\n ...column,\n type: 'checkbox',\n headerText: 'check',\n };\n } else if (column.type === 'actions') {\n return {\n ...column,\n actions: column.actions ?? this.itemActions(),\n type: 'actions',\n sort: this.sort().key === column.name ? this.sort().order : 'none',\n }\n } else {\n return {\n ...column,\n headerText: this.domainPipe.transform(column?.headerText ?? column?.name),\n sort: this.sort().key === column.name ? this.sort().order : 'none',\n };\n }\n });\n return columns;\n }, { equal: (a, b) => JSON.stringify(a) === JSON.stringify(b) });\n readonly columnNames = computed(() => this.columns().map(column => column.name), {\n equal: (a, b) => JSON.stringify(a) === JSON.stringify(b),\n });\n}\n\n@Component({\n selector: 'organisms-table',\n standalone: true,\n imports: [\n NgClass,\n DomainPipe,\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n ActionsColumnMolecule,\n CheckboxColumnMolecule,\n SmartColumnMolecule,\n TreeColumnMolecule,\n ResolveColumnsPipe,\n MapPipe,\n AutoColumnsPipe,\n SortPipe,\n ColumnsPipe,\n CdkDropList,\n CdkDrag,\n ],\n template: `\n <table\n mat-table\n recycleRows\n matSort\n matSortDisableClear\n matSortDirection=\"desc\"\n [dataSource]=\"store.dataSource()\"\n cdkDropList\n (cdkDropListDropped)=\"onDrop($event)\"\n [cdkDropListDisabled]=\"!store.draggable()\"\n >\n <tbody\n >\n @for (column of store.columns(); track column.name; let i = $index) {\n @switch (column.type) {\n @case ('checkbox') {\n <molecules-checkbox-column\n [name]=\"column.name\"\n [selection]=\"store.selection()\"\n [isHidden]=\"store.isHidden()\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('actions') {\n <molecules-actions-column\n [name]=\"column.name\"\n [itemActions]=\"column.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n @case('tree') {\n <molecules-tree-column\n [name]=\"column.name\"\n [headerText]=\"column.headerText\"\n [treeControl]=\"store.treeControl()\"\n [sort]=\"column.sort\"\n [width]=\"column.width\"\n (headerClick)=\"onHeaderClick(column.name)\"\n />\n }\n @default {\n <molecules-smart-column\n [name]=\"column.name\"\n [headerText]=\"column.headerText\"\n [sort]=\"column.sort\"\n [width]=\"column.width\"\n (headerClick)=\"onHeaderClick(column.name)\"\n />\n }\n }\n }\n <tr mat-header-row *matHeaderRowDef=\"store.columnNames(); sticky: true\"></tr>\n <tr\n mat-row\n *matRowDef=\"let item; columns: store.columnNames();\"\n [ngClass]=\"{ highlight: store.highlight().isSelected(item.id) }\"\n [cdkDrag]\n [cdkDragDisabled]=\"!store.draggable()\"\n ></tr>\n <div class=\"mat-row\" *matNoDataRow>No Data</div>\n </tbody>\n </table>\n `,\n styleUrls: ['./table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: TableOrganismStore,\n inputs: [\n 'draggable',\n 'form',\n 'itemActions',\n 'selection',\n 'items',\n 'childrenKey',\n 'highlight',\n 'treeControl',\n 'isHidden',\n ],\n },\n ],\n host: {class: 'organism'},\n})\nexport class TableOrganism<Item extends object> extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n protected store = inject(TableOrganismStore);\n\n @Effect(CheckboxColumnMolecule.ActionId.CHECKBOX_CLICK)\n protected onCheckboxClick(item: Item) {\n this.dispatch({id: ActionId.CHECKBOX_CLICK, payload: item});\n }\n\n @Effect(CheckboxColumnMolecule.ActionId.HEADER_CHECKBOX_CLICK)\n protected onHeaderCheckboxClick(item: Item) {\n this.dispatch({id: ActionId.HEADER_CHECKBOX_CLICK});\n }\n\n protected onHeaderClick(column: string) {\n this.dispatch({id: ActionId.HEADER_CLICK, payload: column});\n }\n\n protected onDrop(event: CdkDragDrop<any, any>) {\n const control = this.store.treeControl()\n const nodes = control.dataNodes.filter(node => node.level === 0);\n const nodes_ = getDisplayedNodes(nodes, control);\n const draggedNode = nodes_[event.previousIndex];\n const droppedNode = nodes_[event.currentIndex];\n const items = flatItems(this.store.items(), this.store.childrenKey());\n\n this.dispatch({\n id: ActionId.ROW_DROP,\n payload: {\n previousIndex: nodes_.findIndex(node => node === event.item.data),\n currentIndex: event.currentIndex,\n dragged: items.find(item => item.id === draggedNode.id),\n dropped: items.find(item => item.id === droppedNode.id),\n }\n });\n }\n}\n\ninterface TreeNode {\n id: string;\n isExpandable: boolean;\n children?: TreeNode[];\n}\n\nfunction getDisplayedNodes(nodes: TreeNode[], control: FlatTreeControl<any>): TreeNode[] {\n const result: TreeNode[] = [];\n for (const node of nodes) {\n result.push(node);\n if (control.isExpanded(node)) {\n result.push(...getDisplayedNodes(node.children, control));\n }\n }\n return result;\n}\n\nexport function flatItems<T>(items: T[], key = 'children'): T[] {\n const result: T[] = [];\n for (const item of items) {\n result.push(item);\n if (item[key]) {\n result.push(...flatItems<T>(item[key], key));\n }\n }\n return result;\n}\n","/** @deprecated use instead `'@ng-atomic/common/services/form/_index` */\nexport * from '@ng-atomic/common/services/form/_index';\nexport * from './table.organism';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGM,SAAU,uBAAuB,CAAU,WAA+B,EAAE,IAAS,EAAE,GAAG,GAAG,UAAU,EAAA;IAC3G,MAAM,aAAa,GAAG,IAAI,gBAAgB,CACxC,CAAC,IAAS,EAAE,KAAa,KAAI;AAC3B,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AACnB,QAAA,IAAI,CAAC,YAAY,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,MAAM,GAAG,CAAC,CAAC;AACjD,QAAA,OAAO,IAAI,CAAC;AACd,KAAC,EACD,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,EACpB,CAAC,IAAI,KAAK,IAAI,CAAC,YAAY,EAC3B,CAAC,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,CACpB,CAAC;IAEF,OAAO,IAAI,qBAAqB,CAAC,WAAW,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC;AACrE;;;ACWA,IAAK,QAKJ,CAAA;AALD,CAAA,UAAK,QAAQ,EAAA;AACX,IAAA,QAAA,CAAA,gBAAA,CAAA,GAAA,kEAAmF,CAAA;AACnF,IAAA,QAAA,CAAA,uBAAA,CAAA,GAAA,yEAAiG,CAAA;AACjG,IAAA,QAAA,CAAA,cAAA,CAAA,GAAA,sDAAqE,CAAA;AACrE,IAAA,QAAA,CAAA,UAAA,CAAA,GAAA,kDAA6D,CAAA;AAC/D,CAAC,E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AAA,EAAA,eAAe,MAKf,qBAAqB,EAAA,EAAA,EAAA,EAAA,CAAA,CAAA;AAkCjC,SAAS,iBAAiB,CAAC,KAAiB,EAAE,OAA6B,EAAA;IACzE,MAAM,MAAM,GAAe,EAAE,CAAC;AAC9B,IAAA,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AACxB,QAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClB,QAAA,IAAI,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE;AAC5B,YAAA,MAAM,CAAC,IAAI,CAAC,GAAG,iBAAiB,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;SAC3D;KACF;AACD,IAAA,OAAO,MAAM,CAAC;AAChB,CAAC;SAEe,SAAS,CAAI,KAAU,EAAE,GAAG,GAAG,UAAU,EAAA;IACvD,MAAM,MAAM,GAAQ,EAAE,CAAC;AACvB,IAAA,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AACxB,QAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClB,QAAA,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE;AACb,YAAA,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS,CAAI,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;SAC9C;KACF;AACD,IAAA,OAAO,MAAM,CAAC;AAChB;;ACjSA;;ACAA;;AAEG;;;;"}
@@ -10,12 +10,12 @@ class TerminalOrganism {
10
10
  async ngAfterViewInit() {
11
11
  this.xterm.open(this.terminal.nativeElement);
12
12
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TerminalOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: TerminalOrganism, isStandalone: true, selector: "organisms-terminal", inputs: { xterm: "xterm" }, viewQueries: [{ propertyName: "terminal", first: true, predicate: ["terminal"], descendants: true }], ngImport: i0, template: `
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TerminalOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: TerminalOrganism, isStandalone: true, selector: "organisms-terminal", inputs: { xterm: "xterm" }, viewQueries: [{ propertyName: "terminal", first: true, predicate: ["terminal"], descendants: true }], ngImport: i0, template: `
15
15
  <div #terminal></div>
16
16
  `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TerminalOrganism, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TerminalOrganism, decorators: [{
19
19
  type: Component,
20
20
  args: [{ selector: 'organisms-terminal', standalone: true, imports: [CommonModule], template: `
21
21
  <div #terminal></div>
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-terminal.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/terminal/terminal.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/terminal/ng-atomic-components-organisms-terminal.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { Terminal } from 'xterm';\n\n@Component({\n selector: 'organisms-terminal',\n standalone: true,\n imports: [CommonModule],\n template: `\n <div #terminal></div>\n `,\n styleUrls: ['./terminal.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TerminalOrganism {\n @ViewChild('terminal')\n terminal!: ElementRef<HTMLDivElement>;\n\n @Input()\n xterm: Terminal | null = null;\n\n async ngAfterViewInit() {\n this.xterm.open(this.terminal.nativeElement);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAca,gBAAgB,CAAA;AAV7B,IAAA,WAAA,GAAA;QAeE,IAAK,CAAA,KAAA,GAAoB,IAAI,CAAC;AAK/B,KAAA;AAHC,IAAA,MAAM,eAAe,GAAA;QACnB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;KAC9C;8GATU,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,EANjB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;AAET,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAHS,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAOX,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAV5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,cAClB,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,CAAC,EACb,QAAA,EAAA,CAAA;;GAET,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA;8BAI/C,QAAQ,EAAA,CAAA;sBADP,SAAS;uBAAC,UAAU,CAAA;gBAIrB,KAAK,EAAA,CAAA;sBADJ,KAAK;;;AClBR;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-terminal.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/terminal/terminal.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/terminal/ng-atomic-components-organisms-terminal.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild, AfterViewInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { Terminal } from 'xterm';\n\n@Component({\n selector: 'organisms-terminal',\n standalone: true,\n imports: [CommonModule],\n template: `\n <div #terminal></div>\n `,\n styleUrls: ['./terminal.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TerminalOrganism implements AfterViewInit {\n @ViewChild('terminal')\n terminal!: ElementRef<HTMLDivElement>;\n\n @Input()\n xterm: Terminal | null = null;\n\n async ngAfterViewInit() {\n this.xterm.open(this.terminal.nativeElement);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAca,gBAAgB,CAAA;AAV7B,IAAA,WAAA,GAAA;QAeE,IAAK,CAAA,KAAA,GAAoB,IAAI,CAAC;AAK/B,KAAA;AAHC,IAAA,MAAM,eAAe,GAAA;QACnB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;KAC9C;8GATU,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,EANjB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;AAET,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAHS,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAOX,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAV5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,cAClB,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,CAAC,EACb,QAAA,EAAA,CAAA;;GAET,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA;8BAI/C,QAAQ,EAAA,CAAA;sBADP,SAAS;uBAAC,UAAU,CAAA;gBAIrB,KAAK,EAAA,CAAA;sBADJ,KAAK;;;AClBR;;AAEG;;;;"}
@@ -17,13 +17,13 @@ let TextInputSectionOrganismStore = class TextInputSectionOrganismStore extends
17
17
  this.autoComplete = input([]);
18
18
  this.actions = input([]);
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
21
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TextInputSectionOrganismStore, isStandalone: true, selector: "organisms-text-input-section", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, autoComplete: { classPropertyName: "autoComplete", publicName: "autoComplete", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
21
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TextInputSectionOrganismStore, isStandalone: true, selector: "organisms-text-input-section", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, autoComplete: { classPropertyName: "autoComplete", publicName: "autoComplete", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
22
22
  };
23
23
  TextInputSectionOrganismStore = __decorate([
24
24
  TokenizedType()
25
25
  ], TextInputSectionOrganismStore);
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputSectionOrganismStore, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputSectionOrganismStore, decorators: [{
27
27
  type: Directive,
28
28
  args: [{ standalone: true, selector: 'organisms-text-input-section' }]
29
29
  }] });
@@ -32,8 +32,8 @@ class TextInputSectionOrganism extends NgAtomicComponent {
32
32
  super(...arguments);
33
33
  this.store = inject(TextInputSectionOrganismStore);
34
34
  }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: TextInputSectionOrganism, isStandalone: true, selector: "organisms-text-input-section", usesInheritance: true, hostDirectives: [{ directive: TextInputSectionOrganismStore, inputs: ["label", "label", "placeholder", "placeholder", "type", "type", "hint", "hint", "control", "control", "autoComplete", "autoComplete", "actions", "actions"] }], ngImport: i0, template: `
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TextInputSectionOrganism, isStandalone: true, selector: "organisms-text-input-section", usesInheritance: true, hostDirectives: [{ directive: TextInputSectionOrganismStore, inputs: ["label", "label", "placeholder", "placeholder", "type", "type", "hint", "hint", "control", "control", "autoComplete", "autoComplete", "actions", "actions"] }], ngImport: i0, template: `
37
37
  <molecules-text-input-field injectable
38
38
  [type]="store.type()"
39
39
  [control]="store.control()"
@@ -48,9 +48,9 @@ class TextInputSectionOrganism extends NgAtomicComponent {
48
48
  (action)="dispatch($event)"
49
49
  />
50
50
  }
51
- `, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-2NFO: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-2NFO) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-2NFO)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-smart-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"], dependencies: [{ kind: "directive", type: TextInputFieldMoleculeStore, selector: "molecules-text-input-field", inputs: ["appearance", "type", "name", "label", "control", "placeholder", "hint", "pattern", "autoComplete"] }, { kind: "directive", type: SmartMenuButtonAtomStore, selector: "atoms-smart-menu-button", inputs: ["actions", "type"] }] }); }
51
+ `, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-z8SJ: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-z8SJ) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-z8SJ)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-smart-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"], dependencies: [{ kind: "directive", type: TextInputFieldMoleculeStore, selector: "molecules-text-input-field", inputs: ["appearance", "type", "name", "label", "control", "placeholder", "hint", "pattern", "autoComplete"] }, { kind: "directive", type: SmartMenuButtonAtomStore, selector: "atoms-smart-menu-button", inputs: ["actions", "type"] }] }); }
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputSectionOrganism, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputSectionOrganism, decorators: [{
54
54
  type: Component,
55
55
  args: [{ selector: 'organisms-text-input-section', standalone: true, imports: [
56
56
  TextInputFieldMoleculeStore,
@@ -75,7 +75,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
75
75
  directive: TextInputSectionOrganismStore,
76
76
  inputs: ['label', 'placeholder', 'type', 'hint', 'control', 'autoComplete', 'actions'],
77
77
  }
78
- ], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-2NFO: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-2NFO) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-2NFO)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-smart-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"] }]
78
+ ], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-z8SJ: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-z8SJ) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-z8SJ)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-smart-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"] }]
79
79
  }] });
80
80
 
81
81
  /**
@@ -10,13 +10,13 @@ let TextPreviewSectionOrganismStore = class TextPreviewSectionOrganismStore exte
10
10
  this.label = input('label');
11
11
  this.value = input('value');
12
12
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextPreviewSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
14
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TextPreviewSectionOrganismStore, isStandalone: true, selector: "organisms-text-preview-section", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "section organism" }, usesInheritance: true, ngImport: i0 }); }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextPreviewSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
14
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TextPreviewSectionOrganismStore, isStandalone: true, selector: "organisms-text-preview-section", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "section organism" }, usesInheritance: true, ngImport: i0 }); }
15
15
  };
16
16
  TextPreviewSectionOrganismStore = __decorate([
17
17
  TokenizedType()
18
18
  ], TextPreviewSectionOrganismStore);
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextPreviewSectionOrganismStore, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextPreviewSectionOrganismStore, decorators: [{
20
20
  type: Directive,
21
21
  args: [{
22
22
  standalone: true,
@@ -30,8 +30,8 @@ class TextPreviewSectionOrganism {
30
30
  this.labelTemp = contentChild('labelTemp');
31
31
  this.valueTemp = contentChild('valueTemp');
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextPreviewSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: TextPreviewSectionOrganism, isStandalone: true, selector: "organisms-text-preview-section", queries: [{ propertyName: "labelTemp", first: true, predicate: ["labelTemp"], descendants: true, isSignal: true }, { propertyName: "valueTemp", first: true, predicate: ["valueTemp"], descendants: true, isSignal: true }], hostDirectives: [{ directive: TextPreviewSectionOrganismStore, inputs: ["label", "label", "value", "value"] }], ngImport: i0, template: `
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextPreviewSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TextPreviewSectionOrganism, isStandalone: true, selector: "organisms-text-preview-section", queries: [{ propertyName: "labelTemp", first: true, predicate: ["labelTemp"], descendants: true, isSignal: true }, { propertyName: "valueTemp", first: true, predicate: ["valueTemp"], descendants: true, isSignal: true }], hostDirectives: [{ directive: TextPreviewSectionOrganismStore, inputs: ["label", "label", "value", "value"] }], ngImport: i0, template: `
35
35
  <div class="item">
36
36
  <div class="title">
37
37
  @if (labelTemp()) {
@@ -49,7 +49,7 @@ class TextPreviewSectionOrganism {
49
49
  </div>
50
50
  </div>`, isInline: true, styles: [":host{display:block}:host .item{display:block;padding:0 16px;font-size:16px}:host .item .title{margin-bottom:4px;font-size:.8em}:host .item .description{font-size:1em}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextPreviewSectionOrganism, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextPreviewSectionOrganism, decorators: [{
53
53
  type: Component,
54
54
  args: [{ selector: 'organisms-text-preview-section', standalone: true, imports: [
55
55
  NgTemplateOutlet,
@@ -18,13 +18,13 @@ let TextareaSectionOrganismStore = class TextareaSectionOrganismStore extends In
18
18
  this.control = input(new FormControl(''));
19
19
  this.actions = input([]);
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
22
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TextareaSectionOrganismStore, isStandalone: true, selector: "organisms-textarea-section", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
22
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TextareaSectionOrganismStore, isStandalone: true, selector: "organisms-textarea-section", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
23
23
  };
24
24
  TextareaSectionOrganismStore = __decorate([
25
25
  TokenizedType()
26
26
  ], TextareaSectionOrganismStore);
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaSectionOrganismStore, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaSectionOrganismStore, decorators: [{
28
28
  type: Directive,
29
29
  args: [{ standalone: true, selector: 'organisms-textarea-section' }]
30
30
  }] });
@@ -33,8 +33,8 @@ class TextareaSectionOrganism extends NgAtomicComponent {
33
33
  super(...arguments);
34
34
  this.store = inject(TextareaSectionOrganismStore);
35
35
  }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
37
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: TextareaSectionOrganism, isStandalone: true, selector: "organisms-textarea-section", usesInheritance: true, hostDirectives: [{ directive: TextareaSectionOrganismStore, inputs: ["appearance", "appearance", "label", "label", "rows", "rows", "placeholder", "placeholder", "floatLabel", "floatLabel", "hint", "hint", "control", "control", "actions", "actions"] }], ngImport: i0, template: `
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
37
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TextareaSectionOrganism, isStandalone: true, selector: "organisms-textarea-section", usesInheritance: true, hostDirectives: [{ directive: TextareaSectionOrganismStore, inputs: ["appearance", "appearance", "label", "label", "rows", "rows", "placeholder", "placeholder", "floatLabel", "floatLabel", "hint", "hint", "control", "control", "actions", "actions"] }], ngImport: i0, template: `
38
38
  <molecules-textarea-field
39
39
  [appearance]="store.appearance()"
40
40
  [control]="store.control()"
@@ -51,9 +51,9 @@ class TextareaSectionOrganism extends NgAtomicComponent {
51
51
  (action)="dispatch($event)"
52
52
  />
53
53
  }
54
- `, isInline: true, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-yf5X: var(--vertical-padding)}:host{display:block;width:100%;position:relative;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-yf5X);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-smart-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"], dependencies: [{ kind: "component", type: TextareaFieldMolecule, selector: "molecules-textarea-field" }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
54
+ `, isInline: true, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-sndA: var(--vertical-padding)}:host{display:block;width:100%;position:relative;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-sndA);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-smart-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"], dependencies: [{ kind: "component", type: TextareaFieldMolecule, selector: "molecules-textarea-field" }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
55
55
  }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaSectionOrganism, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaSectionOrganism, decorators: [{
57
57
  type: Component,
58
58
  args: [{ selector: 'organisms-textarea-section', standalone: true, imports: [
59
59
  TextareaFieldMolecule,
@@ -80,7 +80,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
80
80
  directive: TextareaSectionOrganismStore,
81
81
  inputs: ['appearance', 'label', 'rows', 'placeholder', 'floatLabel', 'hint', 'control', 'actions'],
82
82
  }
83
- ], styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-yf5X: var(--vertical-padding)}:host{display:block;width:100%;position:relative;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-yf5X);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-smart-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"] }]
83
+ ], styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-sndA: var(--vertical-padding)}:host{display:block;width:100%;position:relative;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-sndA);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-smart-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"] }]
84
84
  }] });
85
85
 
86
86
  /**
@@ -16,10 +16,10 @@ class ThreadMessagesSectionOrganismStore {
16
16
  this.noCommentMessage = input('まだコメントはありません。');
17
17
  this.commentActions = input([]);
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ThreadMessagesSectionOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: ThreadMessagesSectionOrganismStore, isStandalone: true, inputs: { comments: { classPropertyName: "comments", publicName: "comments", isSignal: true, isRequired: false, transformFunction: null }, noCommentMessage: { classPropertyName: "noCommentMessage", publicName: "noCommentMessage", isSignal: true, isRequired: false, transformFunction: null }, commentActions: { classPropertyName: "commentActions", publicName: "commentActions", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ThreadMessagesSectionOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: ThreadMessagesSectionOrganismStore, isStandalone: true, inputs: { comments: { classPropertyName: "comments", publicName: "comments", isSignal: true, isRequired: false, transformFunction: null }, noCommentMessage: { classPropertyName: "noCommentMessage", publicName: "noCommentMessage", isSignal: true, isRequired: false, transformFunction: null }, commentActions: { classPropertyName: "commentActions", publicName: "commentActions", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ThreadMessagesSectionOrganismStore, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ThreadMessagesSectionOrganismStore, decorators: [{
23
23
  type: Directive,
24
24
  args: [{ standalone: true }]
25
25
  }] });
@@ -28,8 +28,8 @@ class ThreadMessagesSectionOrganism extends NgAtomicComponent {
28
28
  super(...arguments);
29
29
  this.store = inject(ThreadMessagesSectionOrganismStore);
30
30
  }
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ThreadMessagesSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: ThreadMessagesSectionOrganism, isStandalone: true, selector: "organisms-thread-section", usesInheritance: true, hostDirectives: [{ directive: ThreadMessagesSectionOrganismStore, inputs: ["comments", "comments", "noCommentMessage", "noCommentMessage", "commentActions", "commentActions"] }], ngImport: i0, template: `
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ThreadMessagesSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: ThreadMessagesSectionOrganism, isStandalone: true, selector: "organisms-thread-section", usesInheritance: true, hostDirectives: [{ directive: ThreadMessagesSectionOrganismStore, inputs: ["comments", "comments", "noCommentMessage", "noCommentMessage", "commentActions", "commentActions"] }], ngImport: i0, template: `
33
33
  @if (store.comments()?.length === 0) {
34
34
  <div class="message">
35
35
  <div class="content">
@@ -64,9 +64,9 @@ class ThreadMessagesSectionOrganism extends NgAtomicComponent {
64
64
  </div>
65
65
  <mat-divider />
66
66
  }
67
- `, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-%COMP%-iKuB: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-%COMP%-iKuB: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-%COMP%-iKuB: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-%COMP%-iKuB: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-%COMP%-iKuB: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-%COMP%-iKuB: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-%COMP%-iKuB)}:host .message{padding:8px 16px}:host .message .header{display:flex;justify-content:flex-start;align-items:center;padding:8px 0;box-sizing:border-box;gap:8px}:host .message .header .name{font-size:14px;font-weight:700}:host .message .header .description{display:flex;justify-content:flex-start;gap:4px;font-size:12px}:host .message .header img{width:40px;height:40px;border-radius:50%;background-color:var(--primary-color-SCOPED-IN-%COMP%-iKuB)}:host .message .content{font-size:14px;padding-bottom:24px;box-sizing:border-box}:host .message .bottom.actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}:host .message .bottom.actions button{height:32px;padding:0 8px;--mdc-outlined-button-label-text-size: 12px}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: ActionsPipe, name: "resolveActions" }, { 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"] }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: FallbackSrcDirective, selector: "[fallbackSrc]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
67
+ `, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-%COMP%-bi6p: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-%COMP%-bi6p: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-%COMP%-bi6p: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-%COMP%-bi6p: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-%COMP%-bi6p: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-%COMP%-bi6p: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-%COMP%-bi6p)}:host .message{padding:8px 16px}:host .message .header{display:flex;justify-content:flex-start;align-items:center;padding:8px 0;box-sizing:border-box;gap:8px}:host .message .header .name{font-size:14px;font-weight:700}:host .message .header .description{display:flex;justify-content:flex-start;gap:4px;font-size:12px}:host .message .header img{width:40px;height:40px;border-radius:50%;background-color:var(--primary-color-SCOPED-IN-%COMP%-bi6p)}:host .message .content{font-size:14px;padding-bottom:24px;box-sizing:border-box}:host .message .bottom.actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}:host .message .bottom.actions button{height:32px;padding:0 8px;--mdc-outlined-button-label-text-size: 12px}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: ActionsPipe, name: "resolveActions" }, { 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"] }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: FallbackSrcDirective, selector: "[fallbackSrc]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
68
68
  }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ThreadMessagesSectionOrganism, decorators: [{
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ThreadMessagesSectionOrganism, decorators: [{
70
70
  type: Component,
71
71
  args: [{ selector: 'organisms-thread-section', standalone: true, imports: [
72
72
  CommonModule,
@@ -115,7 +115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
115
115
  directive: ThreadMessagesSectionOrganismStore,
116
116
  inputs: ['comments', 'noCommentMessage', 'commentActions']
117
117
  }
118
- ], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-%COMP%-iKuB: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-%COMP%-iKuB: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-%COMP%-iKuB: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-%COMP%-iKuB: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-%COMP%-iKuB: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-%COMP%-iKuB: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-%COMP%-iKuB)}:host .message{padding:8px 16px}:host .message .header{display:flex;justify-content:flex-start;align-items:center;padding:8px 0;box-sizing:border-box;gap:8px}:host .message .header .name{font-size:14px;font-weight:700}:host .message .header .description{display:flex;justify-content:flex-start;gap:4px;font-size:12px}:host .message .header img{width:40px;height:40px;border-radius:50%;background-color:var(--primary-color-SCOPED-IN-%COMP%-iKuB)}:host .message .content{font-size:14px;padding-bottom:24px;box-sizing:border-box}:host .message .bottom.actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}:host .message .bottom.actions button{height:32px;padding:0 8px;--mdc-outlined-button-label-text-size: 12px}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"] }]
118
+ ], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-%COMP%-bi6p: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-%COMP%-bi6p: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-%COMP%-bi6p: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-%COMP%-bi6p: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-%COMP%-bi6p: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-%COMP%-bi6p: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-%COMP%-bi6p)}:host .message{padding:8px 16px}:host .message .header{display:flex;justify-content:flex-start;align-items:center;padding:8px 0;box-sizing:border-box;gap:8px}:host .message .header .name{font-size:14px;font-weight:700}:host .message .header .description{display:flex;justify-content:flex-start;gap:4px;font-size:12px}:host .message .header img{width:40px;height:40px;border-radius:50%;background-color:var(--primary-color-SCOPED-IN-%COMP%-bi6p)}:host .message .content{font-size:14px;padding-bottom:24px;box-sizing:border-box}:host .message .bottom.actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}:host .message .bottom.actions button{height:32px;padding:0 8px;--mdc-outlined-button-label-text-size: 12px}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"] }]
119
119
  }] });
120
120
 
121
121
  /**
@@ -11,8 +11,8 @@ class TimeRangeInputSectionOrganism {
11
11
  end: ['01:00'],
12
12
  });
13
13
  }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TimeRangeInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: TimeRangeInputSectionOrganism, isStandalone: true, selector: "organisms-time-range-input-section", inputs: { control: "control" }, ngImport: i0, template: `
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TimeRangeInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: TimeRangeInputSectionOrganism, isStandalone: true, selector: "organisms-time-range-input-section", inputs: { control: "control" }, ngImport: i0, template: `
16
16
  <molecules-text-input-field
17
17
  [label]="'開始範囲時刻'"
18
18
  [control]="control.get(['start'])"
@@ -23,7 +23,7 @@ class TimeRangeInputSectionOrganism {
23
23
  />
24
24
  `, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;padding:0 16px;box-sizing:border-box;gap:8px}:host molecules-text-input-field{width:calc(50% - 4px)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TimeRangeInputSectionOrganism, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TimeRangeInputSectionOrganism, decorators: [{
27
27
  type: Component,
28
28
  args: [{ selector: 'organisms-time-range-input-section', standalone: true, imports: [
29
29
  CommonModule,
@@ -23,8 +23,8 @@ class ToolbarOrganism extends NgAtomicComponent {
23
23
  this.endActions = [];
24
24
  }
25
25
  static { this.ActionId = ActionId; }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ToolbarOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: ToolbarOrganism, isStandalone: true, selector: "organisms-toolbar", inputs: { form: "form", actions: "actions", endActions: "endActions" }, usesInheritance: true, ngImport: i0, template: `
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ToolbarOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: ToolbarOrganism, isStandalone: true, selector: "organisms-toolbar", inputs: { form: "form", actions: "actions", endActions: "endActions" }, usesInheritance: true, ngImport: i0, template: `
28
28
  <div class="start">
29
29
  <mat-slider min="360" max="1920" step="10">
30
30
  <input [formControl]="form.get(['width'])" matSliderThumb>
@@ -53,7 +53,7 @@ class ToolbarOrganism extends NgAtomicComponent {
53
53
  </div>
54
54
  `, isInline: true, styles: [":host{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:0 8px;width:100%;height:56px;bottom:0;left:0;background:#fff}:host div.start,:host div.end{width:120px}:host .end{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatSliderModule }, { kind: "component", type: i2.MatSlider, selector: "mat-slider", inputs: ["disabled", "discrete", "showTickMarks", "min", "color", "disableRipple", "max", "step", "displayWith"], exportAs: ["matSlider"] }, { kind: "directive", type: i2.MatSliderThumb, selector: "input[matSliderThumb]", inputs: ["value"], outputs: ["valueChange", "dragStart", "dragEnd"], exportAs: ["matSliderThumb"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
55
55
  }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ToolbarOrganism, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ToolbarOrganism, decorators: [{
57
57
  type: Component,
58
58
  args: [{ selector: 'organisms-toolbar', standalone: true, imports: [
59
59
  CommonModule,
@@ -171,8 +171,8 @@ class TreeSectionOrganism {
171
171
  console.debug('todoItemSelectionToggle', node);
172
172
  this.onChange();
173
173
  }
174
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
175
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: TreeSectionOrganism, isStandalone: true, selector: "organisms-tree-section", inputs: { data: "data" }, outputs: { action: "action" }, ngImport: i0, template: `
174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TreeSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
175
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: TreeSectionOrganism, isStandalone: true, selector: "organisms-tree-section", inputs: { data: "data" }, outputs: { action: "action" }, ngImport: i0, template: `
176
176
  <mat-tree [dataSource]="dataSource" [treeControl]="treeControl">
177
177
  <mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle matTreeNodePadding>
178
178
  <mat-checkbox
@@ -191,7 +191,7 @@ class TreeSectionOrganism {
191
191
  </mat-tree>
192
192
  `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatTreeModule }, { kind: "directive", type: i1.MatTreeNodeDef, selector: "[matTreeNodeDef]", inputs: ["matTreeNodeDefWhen", "matTreeNode"] }, { kind: "directive", type: i1.MatTreeNodePadding, selector: "[matTreeNodePadding]", inputs: ["matTreeNodePadding", "matTreeNodePaddingIndent"] }, { kind: "directive", type: i1.MatTreeNodeToggle, selector: "[matTreeNodeToggle]", inputs: ["matTreeNodeToggleRecursive"] }, { kind: "component", type: i1.MatTree, selector: "mat-tree", exportAs: ["matTree"] }, { kind: "directive", type: i1.MatTreeNode, selector: "mat-tree-node", inputs: ["disabled", "tabIndex"], exportAs: ["matTreeNode"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
193
193
  }
194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeSectionOrganism, decorators: [{
194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TreeSectionOrganism, decorators: [{
195
195
  type: Component,
196
196
  args: [{ selector: 'organisms-tree-section', standalone: true, imports: [
197
197
  CommonModule,