@ng-atomic/components 17.14.0 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/atoms/chips-input/chips-input.atom.d.ts +2 -2
  2. package/esm2022/atoms/atoms.module.mjs +4 -4
  3. package/esm2022/atoms/badge/badge.atom.mjs +3 -3
  4. package/esm2022/atoms/chips-input/chips-input.atom.mjs +4 -4
  5. package/esm2022/atoms/icon/icon.atom.mjs +5 -5
  6. package/esm2022/atoms/smart-menu-button/smart-menu-button.atom.mjs +9 -9
  7. package/esm2022/components.module.mjs +4 -4
  8. package/esm2022/extras/editor/editor.component.mjs +4 -4
  9. package/esm2022/extras/extras.module.mjs +4 -4
  10. package/esm2022/frames/app/app.frame.mjs +23 -24
  11. package/esm2022/frames/auto-layout/auto-layout.frame.mjs +4 -4
  12. package/esm2022/frames/card/card.frame.mjs +3 -3
  13. package/esm2022/frames/columns/columns.frame.mjs +22 -22
  14. package/esm2022/frames/divider/divider.frame.mjs +6 -6
  15. package/esm2022/frames/drawer/drawer.frame.mjs +8 -8
  16. package/esm2022/frames/entrance/entrance.frame.mjs +8 -8
  17. package/esm2022/frames/fab/fab.frame.mjs +8 -8
  18. package/esm2022/frames/fab/fab.service.mjs +3 -3
  19. package/esm2022/frames/frames.module.mjs +4 -4
  20. package/esm2022/frames/line-up/line-up.frame.mjs +9 -9
  21. package/esm2022/frames/line-up/line-up.service.mjs +3 -3
  22. package/esm2022/frames/loading/loading.frame.mjs +8 -8
  23. package/esm2022/frames/overlay/overlay.frame.mjs +6 -6
  24. package/esm2022/frames/router-outlet/router-outlet.frame.mjs +9 -9
  25. package/esm2022/frames/scroll/scroll.frame.mjs +5 -5
  26. package/esm2022/frames/scroll-v2/scroll.frame.mjs +6 -6
  27. package/esm2022/frames/side-nav/side-nav.frame.mjs +28 -29
  28. package/esm2022/frames/smart-menu/smart-menu.frame.mjs +5 -5
  29. package/esm2022/frames/tabs/tabs.frame.mjs +4 -4
  30. package/esm2022/frames/toggle/toggle.frame.mjs +5 -5
  31. package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +5 -5
  32. package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +6 -6
  33. package/esm2022/molecules/actions-column/actions-column.molecule.mjs +10 -10
  34. package/esm2022/molecules/checkbox-column/checkbox-column.molecule.mjs +5 -5
  35. package/esm2022/molecules/chips-input-field/chips-input-field.molecule.mjs +7 -7
  36. package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +8 -8
  37. package/esm2022/molecules/date-range-input-field/date-range-input-field.molecule.mjs +8 -8
  38. package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +9 -9
  39. package/esm2022/molecules/grid-item/grid-item.molecule.mjs +5 -5
  40. package/esm2022/molecules/header/header.molecule.mjs +6 -6
  41. package/esm2022/molecules/loading-box/loading-box.molecule.mjs +8 -8
  42. package/esm2022/molecules/molecules.module.mjs +4 -4
  43. package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +8 -8
  44. package/esm2022/molecules/nested-menu/nested-menu.molecule.mjs +3 -3
  45. package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +8 -8
  46. package/esm2022/molecules/smart-column/smart-column.molecule.mjs +8 -8
  47. package/esm2022/molecules/text-input-field/text-input-field.molecule.mjs +9 -9
  48. package/esm2022/molecules/textarea-field/textarea-field.molecule.mjs +7 -7
  49. package/esm2022/molecules/tree-column/tree-column.molecule.mjs +8 -8
  50. package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +8 -8
  51. package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +8 -8
  52. package/esm2022/organisms/agreement-input-section/agreement-input-section.organism.mjs +6 -6
  53. package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +4 -4
  54. package/esm2022/organisms/chips-input-section/chips-input-section.organism.mjs +6 -6
  55. package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +4 -4
  56. package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +8 -8
  57. package/esm2022/organisms/date-range-input-section/date-range-input-section.organism.mjs +8 -8
  58. package/esm2022/organisms/definition-list/definition-list.organism.mjs +8 -8
  59. package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +8 -8
  60. package/esm2022/organisms/filters-section/filters-section.organism.mjs +3 -3
  61. package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +4 -4
  62. package/esm2022/organisms/grid-cards-section/grid-cards-section.organism.mjs +5 -5
  63. package/esm2022/organisms/grid-toolbar/grid-toolbar.organism.mjs +6 -6
  64. package/esm2022/organisms/heading/heading.organism.mjs +5 -5
  65. package/esm2022/organisms/image-preview-section/image-preview-section.organism.mjs +3 -3
  66. package/esm2022/organisms/markdown-preview-section/markdown-preview-section.organism.mjs +6 -6
  67. package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +8 -8
  68. package/esm2022/organisms/menu-header/menu-header.organism.mjs +8 -8
  69. package/esm2022/organisms/mermaid-section/mermaid-section.organism.mjs +4 -4
  70. package/esm2022/organisms/message-input-section/message-input-section.organism.mjs +3 -3
  71. package/esm2022/organisms/messages-section/messages-section.organism.mjs +5 -5
  72. package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +8 -8
  73. package/esm2022/organisms/navigator/navigator.organism.mjs +8 -8
  74. package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +8 -8
  75. package/esm2022/organisms/organisms.module.mjs +4 -4
  76. package/esm2022/organisms/paginator/paginator.organism.mjs +8 -8
  77. package/esm2022/organisms/password-input-section/password-input-section.organism.mjs +8 -8
  78. package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +8 -8
  79. package/esm2022/organisms/selection-list/selection-list.organism.mjs +3 -3
  80. package/esm2022/organisms/slider-input-section/slider-input-section.organism.mjs +8 -8
  81. package/esm2022/organisms/smart-list/smart-list.organism.mjs +6 -6
  82. package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +4 -4
  83. package/esm2022/organisms/stripe-input-section/stripe-input-section.organism.mjs +11 -11
  84. package/esm2022/organisms/table/table.organism.mjs +9 -9
  85. package/esm2022/organisms/terminal/terminal.organism.mjs +4 -4
  86. package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +8 -8
  87. package/esm2022/organisms/text-preview-section/text-preview-section.organism.mjs +6 -6
  88. package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +8 -8
  89. package/esm2022/organisms/thread-messages-section/thread-messages-section.organism.mjs +8 -8
  90. package/esm2022/organisms/time-range-input-section/time-range-input-section.organism.mjs +3 -3
  91. package/esm2022/organisms/toolbar/toolbar.organism.mjs +3 -3
  92. package/esm2022/organisms/tree-section/tree-section.organism.mjs +4 -4
  93. package/esm2022/organisms/vertical-divider/vertical-divider.organism.mjs +3 -3
  94. package/esm2022/organisms/video-section/video-section.organism.mjs +17 -17
  95. package/esm2022/pages/_index/index.page.mjs +10 -10
  96. package/esm2022/pages/blank/blank.page.mjs +3 -3
  97. package/esm2022/pages/columns/columns.page.mjs +6 -6
  98. package/esm2022/pages/form/form.page.mjs +9 -9
  99. package/esm2022/pages/pages.module.mjs +4 -4
  100. package/esm2022/pages/terms/terms.page.mjs +6 -6
  101. package/esm2022/sheets/actions/actions.sheet.mjs +3 -3
  102. package/esm2022/sheets/sheets.module.mjs +4 -4
  103. package/esm2022/sheets/sheets.service.mjs +3 -3
  104. package/esm2022/templates/_index/index.template.mjs +55 -57
  105. package/esm2022/templates/background/background.template.mjs +7 -7
  106. package/esm2022/templates/code-editor/code-editor.template.mjs +6 -6
  107. package/esm2022/templates/columns/columns.template.mjs +9 -9
  108. package/esm2022/templates/entrance/entrance.template.mjs +24 -25
  109. package/esm2022/templates/file-tree/file-tree.template.mjs +3 -3
  110. package/esm2022/templates/form/form.builder.mjs +28 -37
  111. package/esm2022/templates/form/form.template.mjs +9 -9
  112. package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +8 -8
  113. package/esm2022/templates/loading/loading.template.mjs +3 -3
  114. package/esm2022/templates/menu/menu.template.mjs +8 -8
  115. package/esm2022/templates/messages/messages.template.mjs +4 -4
  116. package/esm2022/templates/selection/selection.template.mjs +8 -8
  117. package/esm2022/templates/settings/settings.template.mjs +5 -5
  118. package/esm2022/templates/tab-editor/tab-editor.template.mjs +3 -3
  119. package/esm2022/templates/templates.module.mjs +4 -4
  120. package/esm2022/templates/term/term.template.mjs +6 -6
  121. package/extras/editor/editor.component.d.ts +2 -2
  122. package/fesm2022/ng-atomic-components-atoms-badge.mjs +3 -3
  123. package/fesm2022/ng-atomic-components-atoms-chips-input.mjs +3 -3
  124. package/fesm2022/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
  125. package/fesm2022/ng-atomic-components-atoms-icon.mjs +5 -5
  126. package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs +9 -9
  127. package/fesm2022/ng-atomic-components-atoms.mjs +4 -4
  128. package/fesm2022/ng-atomic-components-extras-editor.mjs +3 -3
  129. package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -1
  130. package/fesm2022/ng-atomic-components-extras.mjs +4 -4
  131. package/fesm2022/ng-atomic-components-frames-app.mjs +22 -23
  132. package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -1
  133. package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +4 -4
  134. package/fesm2022/ng-atomic-components-frames-card.mjs +3 -3
  135. package/fesm2022/ng-atomic-components-frames-columns.mjs +21 -21
  136. package/fesm2022/ng-atomic-components-frames-columns.mjs.map +1 -1
  137. package/fesm2022/ng-atomic-components-frames-divider.mjs +5 -5
  138. package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -1
  139. package/fesm2022/ng-atomic-components-frames-drawer.mjs +8 -8
  140. package/fesm2022/ng-atomic-components-frames-entrance.mjs +8 -8
  141. package/fesm2022/ng-atomic-components-frames-fab.mjs +11 -11
  142. package/fesm2022/ng-atomic-components-frames-line-up.mjs +11 -11
  143. package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -1
  144. package/fesm2022/ng-atomic-components-frames-loading.mjs +8 -8
  145. package/fesm2022/ng-atomic-components-frames-overlay.mjs +6 -6
  146. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +8 -8
  147. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
  148. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +5 -5
  149. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs.map +1 -1
  150. package/fesm2022/ng-atomic-components-frames-scroll.mjs +5 -5
  151. package/fesm2022/ng-atomic-components-frames-side-nav.mjs +27 -28
  152. package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
  153. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +4 -4
  154. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
  155. package/fesm2022/ng-atomic-components-frames-tabs.mjs +3 -3
  156. package/fesm2022/ng-atomic-components-frames-tabs.mjs.map +1 -1
  157. package/fesm2022/ng-atomic-components-frames-toggle.mjs +4 -4
  158. package/fesm2022/ng-atomic-components-frames-toggle.mjs.map +1 -1
  159. package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +5 -5
  160. package/fesm2022/ng-atomic-components-frames.mjs +4 -4
  161. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +5 -5
  162. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -1
  163. package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +9 -9
  164. package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  165. package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +4 -4
  166. package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
  167. package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs +6 -6
  168. package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
  169. package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +8 -8
  170. package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +8 -8
  171. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +8 -8
  172. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
  173. package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +5 -5
  174. package/fesm2022/ng-atomic-components-molecules-header.mjs +6 -6
  175. package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +8 -8
  176. package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +8 -8
  177. package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs +3 -3
  178. package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +8 -8
  179. package/fesm2022/ng-atomic-components-molecules-smart-column.mjs +7 -7
  180. package/fesm2022/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  181. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +8 -8
  182. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  183. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +6 -6
  184. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  185. package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +7 -7
  186. package/fesm2022/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
  187. package/fesm2022/ng-atomic-components-molecules.mjs +4 -4
  188. package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +8 -8
  189. package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +8 -8
  190. package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +6 -6
  191. package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +4 -4
  192. package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs +6 -6
  193. package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
  194. package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +8 -8
  195. package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +8 -8
  196. package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +8 -8
  197. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +8 -8
  198. package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +3 -3
  199. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +3 -3
  200. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
  201. package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +5 -5
  202. package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +6 -6
  203. package/fesm2022/ng-atomic-components-organisms-heading.mjs +5 -5
  204. package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +3 -3
  205. package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +6 -6
  206. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +8 -8
  207. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +8 -8
  208. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
  209. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +3 -3
  210. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
  211. package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs +3 -3
  212. package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +5 -5
  213. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +8 -8
  214. package/fesm2022/ng-atomic-components-organisms-navigator.mjs +8 -8
  215. package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +8 -8
  216. package/fesm2022/ng-atomic-components-organisms-paginator.mjs +8 -8
  217. package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +8 -8
  218. package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +8 -8
  219. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +3 -3
  220. package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +8 -8
  221. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +6 -6
  222. package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
  223. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +10 -10
  224. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs.map +1 -1
  225. package/fesm2022/ng-atomic-components-organisms-table.mjs +8 -8
  226. package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
  227. package/fesm2022/ng-atomic-components-organisms-terminal.mjs +3 -3
  228. package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -1
  229. package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +8 -8
  230. package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +6 -6
  231. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +8 -8
  232. package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +8 -8
  233. package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +3 -3
  234. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +3 -3
  235. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +3 -3
  236. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
  237. package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +3 -3
  238. package/fesm2022/ng-atomic-components-organisms-video-section.mjs +16 -16
  239. package/fesm2022/ng-atomic-components-organisms-video-section.mjs.map +1 -1
  240. package/fesm2022/ng-atomic-components-organisms.mjs +4 -4
  241. package/fesm2022/ng-atomic-components-pages-_index.mjs +9 -9
  242. package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
  243. package/fesm2022/ng-atomic-components-pages-blank.mjs +3 -3
  244. package/fesm2022/ng-atomic-components-pages-columns.mjs +6 -6
  245. package/fesm2022/ng-atomic-components-pages-form.mjs +8 -8
  246. package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
  247. package/fesm2022/ng-atomic-components-pages-terms.mjs +6 -6
  248. package/fesm2022/ng-atomic-components-pages.mjs +4 -4
  249. package/fesm2022/ng-atomic-components-sheets-actions.mjs +3 -3
  250. package/fesm2022/ng-atomic-components-sheets.mjs +7 -7
  251. package/fesm2022/ng-atomic-components-templates-_index.mjs +55 -57
  252. package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
  253. package/fesm2022/ng-atomic-components-templates-background.mjs +7 -7
  254. package/fesm2022/ng-atomic-components-templates-code-editor.mjs +6 -6
  255. package/fesm2022/ng-atomic-components-templates-columns.mjs +8 -8
  256. package/fesm2022/ng-atomic-components-templates-columns.mjs.map +1 -1
  257. package/fesm2022/ng-atomic-components-templates-entrance.mjs +23 -24
  258. package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
  259. package/fesm2022/ng-atomic-components-templates-file-tree.mjs +3 -3
  260. package/fesm2022/ng-atomic-components-templates-form.mjs +36 -44
  261. package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
  262. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +8 -8
  263. package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
  264. package/fesm2022/ng-atomic-components-templates-menu.mjs +8 -8
  265. package/fesm2022/ng-atomic-components-templates-messages.mjs +3 -3
  266. package/fesm2022/ng-atomic-components-templates-messages.mjs.map +1 -1
  267. package/fesm2022/ng-atomic-components-templates-selection.mjs +8 -8
  268. package/fesm2022/ng-atomic-components-templates-settings.mjs +5 -5
  269. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +3 -3
  270. package/fesm2022/ng-atomic-components-templates-term.mjs +6 -6
  271. package/fesm2022/ng-atomic-components-templates.mjs +4 -4
  272. package/fesm2022/ng-atomic-components.mjs +4 -4
  273. package/frames/app/app.frame.d.ts +17 -17
  274. package/frames/fab/fab.frame.d.ts +3 -3
  275. package/frames/line-up/line-up.frame.d.ts +2 -2
  276. package/frames/side-nav/side-nav.frame.d.ts +2 -2
  277. package/frames/tabs/tabs.frame.d.ts +2 -2
  278. package/molecules/action-input-field/action-input-field.molecule.d.ts +2 -1
  279. package/molecules/actions-column/actions-column.molecule.d.ts +4 -3
  280. package/molecules/checkbox-column/checkbox-column.molecule.d.ts +2 -1
  281. package/molecules/chips-input-field/chips-input-field.molecule.d.ts +2 -1
  282. package/molecules/file-input-field/file-input-field.molecule.d.ts +2 -2
  283. package/molecules/molecules.module.d.ts +1 -1
  284. package/molecules/smart-column/smart-column.molecule.d.ts +4 -4
  285. package/organisms/graphql-editor/graphql-editor.organism.d.ts +2 -2
  286. package/organisms/mermaid-section/mermaid-section.organism.d.ts +2 -2
  287. package/organisms/navigator/navigator.organism.d.ts +3 -3
  288. package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +11 -11
  289. package/organisms/terminal/terminal.organism.d.ts +2 -2
  290. package/organisms/tree-section/tree-section.organism.d.ts +2 -2
  291. package/organisms/video-section/video-section.organism.d.ts +2 -2
  292. package/package.json +10 -11
  293. package/pages/_index/index.page.d.ts +21 -21
  294. package/pages/columns/columns.page.d.ts +6 -6
  295. package/pages/form/form.page.d.ts +19 -17
  296. package/templates/_index/index.template.d.ts +25 -25
  297. package/templates/form/form.template.d.ts +8 -8
  298. package/templates/messages/messages.template.d.ts +2 -2
@@ -33,8 +33,8 @@ class ActionInputFieldMolecule extends NgAtomicComponent {
33
33
  return this._errorChildren && this._errorChildren.length > 0 ? 'error' : 'hint';
34
34
  };
35
35
  }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
37
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: ActionInputFieldMolecule, isStandalone: true, selector: "molecules-action-input-field", inputs: { appearance: "appearance", type: "type", name: "name", label: "label", control: "control", placeholder: "placeholder", hint: "hint", actions: "actions" }, viewQueries: [{ propertyName: "formField", first: true, predicate: MatFormField, descendants: true }, { propertyName: "input", first: true, predicate: ["matInput"], descendants: true, read: MatInput }], usesInheritance: true, ngImport: i0, template: `
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
37
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: ActionInputFieldMolecule, isStandalone: true, selector: "molecules-action-input-field", inputs: { appearance: "appearance", type: "type", name: "name", label: "label", control: "control", placeholder: "placeholder", hint: "hint", actions: "actions" }, viewQueries: [{ propertyName: "formField", first: true, predicate: MatFormField, descendants: true }, { propertyName: "input", first: true, predicate: ["matInput"], descendants: true, read: MatInput }], usesInheritance: true, ngImport: i0, template: `
38
38
  <mat-form-field class="mat-form-field-disabled" [appearance]="appearance">
39
39
  <mat-label>{{ label }}</mat-label>
40
40
  <input matInput [name]="name" type="text" [formControl]="control" [placeholder]="placeholder">
@@ -46,9 +46,9 @@ class ActionInputFieldMolecule extends NgAtomicComponent {
46
46
  [actions]="actions"
47
47
  (action)="dispatch($event)"
48
48
  ></atoms-smart-menu-button>
49
- `, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:-moz-fit-content;width:fit-content;margin-bottom:20px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
49
+ `, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:fit-content;margin-bottom:20px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
50
50
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionInputFieldMolecule, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionInputFieldMolecule, decorators: [{
52
52
  type: Component,
53
53
  args: [{ selector: 'molecules-action-input-field', standalone: true, imports: [
54
54
  CommonModule,
@@ -68,7 +68,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
68
68
  [actions]="actions"
69
69
  (action)="dispatch($event)"
70
70
  ></atoms-smart-menu-button>
71
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:-moz-fit-content;width:fit-content;margin-bottom:20px}\n"] }]
71
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:fit-content;margin-bottom:20px}\n"] }]
72
72
  }], propDecorators: { formField: [{
73
73
  type: ViewChild,
74
74
  args: [MatFormField]
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-action-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/action-input-field/action-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/action-input-field/ng-atomic-components-molecules-action-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, Pipe, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatInput, MatInputModule } from '@angular/material/input';\nimport { Action } from '@ng-atomic/core';\nimport { SmartMenuButtonAtom } from '@ng-atomic/components/atoms/smart-menu-button';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { MatFormField } from '@angular/material/form-field';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\nimport { startWith } from 'rxjs';\n\n\n@Component({\n selector: 'molecules-action-input-field',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n SmartMenuButtonAtom,\n ErrorPipe,\n ],\n template: `\n <mat-form-field class=\"mat-form-field-disabled\" [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"text\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n <mat-error>{{ control.errors | error }}</mat-error>\n </mat-form-field>\n <atoms-smart-menu-button\n [actions]=\"actions\"\n (action)=\"dispatch($event)\"\n ></atoms-smart-menu-button>\n `,\n styleUrls: ['./action-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ActionInputFieldMolecule extends NgAtomicComponent {\n\n @ViewChild(MatFormField)\n formField!: MatFormField;\n\n @ViewChild('matInput', { read: MatInput })\n input!: MatInput;\n\n @Input()\n appearance: 'outline' | 'fill' = 'outline';\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n name?: string;\n\n @Input()\n label = 'label';\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n hint?: string;\n\n @Input()\n get actions(): Action[] {\n return this._actions.map((action) => ({...action}));\n }\n set actions(value: Action[]) {\n this._actions = value;\n }\n private _actions: Action[] = [];\n\n ngAfterViewInit() {\n this.formField._getDisplayedMessages = function (): 'error' | 'hint' {\n return this._errorChildren && this._errorChildren.length > 0 ? 'error' : 'hint';\n };\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAsCM,MAAO,wBAAyB,SAAQ,iBAAiB,CAAA;AA1B/D,IAAA,WAAA,GAAA;;QAmCE,IAAU,CAAA,UAAA,GAAuB,SAAS,CAAC;QAG3C,IAAI,CAAA,IAAA,GAAmC,MAAM,CAAC;QAM9C,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;AAGhB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAS,EAAE,CAAC,CAAC;QAGtC,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;QAYpB,IAAQ,CAAA,QAAA,GAAa,EAAE,CAAC;AAQjC,KAAA;AAfC,IAAA,IACI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,MAAM,MAAM,EAAC,GAAG,MAAM,EAAC,CAAC,CAAC,CAAC;KACrD;IACD,IAAI,OAAO,CAAC,KAAe,EAAA;AACzB,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;KACvB;IAGD,eAAe,GAAA;AACb,QAAA,IAAI,CAAC,SAAS,CAAC,qBAAqB,GAAG,YAAA;AACrC,YAAA,OAAO,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,GAAG,OAAO,GAAG,MAAM,CAAC;AAClF,SAAC,CAAC;KACH;8GA1CU,wBAAwB,EAAA,IAAA,EAAA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IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAkBA,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBA1BpC,SAAS;+BACE,8BAA8B,EAAA,UAAA,EAC5B,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,cAAc;wBACd,mBAAmB;wBACnB,SAAS;qBACV,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;GAYT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,oPAAA,CAAA,EAAA,CAAA;8BAK/C,SAAS,EAAA,CAAA;sBADR,SAAS;uBAAC,YAAY,CAAA;gBAIvB,KAAK,EAAA,CAAA;sBADJ,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAA;gBAIzC,UAAU,EAAA,CAAA;sBADT,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIF,OAAO,EAAA,CAAA;sBADV,KAAK;;;ACnER;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-action-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/action-input-field/action-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/action-input-field/ng-atomic-components-molecules-action-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, Pipe, ViewChild, AfterViewInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatInput, MatInputModule } from '@angular/material/input';\nimport { Action } from '@ng-atomic/core';\nimport { SmartMenuButtonAtom } from '@ng-atomic/components/atoms/smart-menu-button';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { MatFormField } from '@angular/material/form-field';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\nimport { startWith } from 'rxjs';\n\n\n@Component({\n selector: 'molecules-action-input-field',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n SmartMenuButtonAtom,\n ErrorPipe,\n ],\n template: `\n <mat-form-field class=\"mat-form-field-disabled\" [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"text\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n <mat-error>{{ control.errors | error }}</mat-error>\n </mat-form-field>\n <atoms-smart-menu-button\n [actions]=\"actions\"\n (action)=\"dispatch($event)\"\n ></atoms-smart-menu-button>\n `,\n styleUrls: ['./action-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ActionInputFieldMolecule extends NgAtomicComponent implements AfterViewInit {\n\n @ViewChild(MatFormField)\n formField!: MatFormField;\n\n @ViewChild('matInput', { read: MatInput })\n input!: MatInput;\n\n @Input()\n appearance: 'outline' | 'fill' = 'outline';\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n name?: string;\n\n @Input()\n label = 'label';\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n hint?: string;\n\n @Input()\n get actions(): Action[] {\n return this._actions.map((action) => ({...action}));\n }\n set actions(value: Action[]) {\n this._actions = value;\n }\n private _actions: Action[] = [];\n\n ngAfterViewInit() {\n this.formField._getDisplayedMessages = function (): 'error' | 'hint' {\n return this._errorChildren && this._errorChildren.length > 0 ?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AmB;wBACnB,SAAS;qBACV,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;GAYT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,6NAAA,CAAA,EAAA,CAAA;8BAK/C,SAAS,EAAA,CAAA;sBADR,SAAS;uBAAC,YAAY,CAAA;gBAIvB,KAAK,EAAA,CAAA;sBADJ,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAA;gBAIzC,UAAU,EAAA,CAAA;sBADT,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIF,OAAO,EAAA,CAAA;sBADV,KAAK;;;ACnER;;AAEG;;;;"}
@@ -33,13 +33,13 @@ let ActionsColumnMoleculeStore = class ActionsColumnMoleculeStore extends Inject
33
33
  },
34
34
  });
35
35
  }, ['components', 'molecules', 'actions-column']); }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionsColumnMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
37
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: ActionsColumnMoleculeStore, isStandalone: true, inputs: { headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionsColumnMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
37
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: ActionsColumnMoleculeStore, isStandalone: true, inputs: { headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, itemActions: { classPropertyName: "itemActions", publicName: "itemActions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
38
38
  };
39
39
  ActionsColumnMoleculeStore = ActionsColumnMoleculeStore_1 = __decorate([
40
40
  TokenizedType()
41
41
  ], ActionsColumnMoleculeStore);
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionsColumnMoleculeStore, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionsColumnMoleculeStore, decorators: [{
43
43
  type: Directive,
44
44
  args: [{ standalone: true }]
45
45
  }] });
@@ -69,20 +69,20 @@ class ActionsColumnMolecule extends NgAtomicComponent {
69
69
  this._table.removeColumnDef(this.columnDef());
70
70
  }
71
71
  }
72
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionsColumnMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
73
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "17.2.2", type: ActionsColumnMolecule, isStandalone: true, selector: "molecules-actions-column", viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, isSignal: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, isSignal: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: ActionsColumnMoleculeStore, inputs: ["headerText", "headerText", "name", "name", "itemActions", "itemActions"] }], ngImport: i0, template: `
72
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionsColumnMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
73
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.1.2", type: ActionsColumnMolecule, isStandalone: true, selector: "molecules-actions-column", viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, isSignal: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, isSignal: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: ActionsColumnMoleculeStore, inputs: ["headerText", "headerText", "name", "name", "itemActions", "itemActions"] }], ngImport: i0, template: `
74
74
  <ng-container matColumnDef>
75
75
  <th mat-header-cell *matHeaderCellDef [style.width]="store.style()?.width">{{ store.headerText() }}</th>
76
76
  <td mat-cell *matCellDef="let item">
77
77
  <atoms-smart-menu-button
78
78
  [actions]="store.itemActions() | resolveActions:item"
79
- (action)="dispatch({id: $event.id, payload: item})"
79
+ (action)="dispatch($event)"
80
80
  />
81
81
  </td>
82
82
  </ng-container>
83
- `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }, { kind: "pipe", type: ActionsPipe, name: "resolveActions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
83
+ `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }, { kind: "pipe", type: ActionsPipe, name: "resolveActions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
84
84
  }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionsColumnMolecule, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionsColumnMolecule, decorators: [{
86
86
  type: Component,
87
87
  args: [{ selector: 'molecules-actions-column', standalone: true, imports: [
88
88
  CommonModule,
@@ -98,7 +98,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
98
98
  <td mat-cell *matCellDef="let item">
99
99
  <atoms-smart-menu-button
100
100
  [actions]="store.itemActions() | resolveActions:item"
101
- (action)="dispatch({id: $event.id, payload: item})"
101
+ (action)="dispatch($event)"
102
102
  />
103
103
  </td>
104
104
  </ng-container>
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-actions-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/actions-column/actions-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, ViewEncapsulation, computed, effect, inject, input, viewChild } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatTableModule } from '@angular/material/table';\nimport { _computed, Actions, InjectableComponent, NgAtomicComponent, TokenizedType } from '@ng-atomic/core';\nimport { ActionsPipe } from '@ng-atomic/common/pipes/actions';\nimport { SmartMenuButtonAtom } from '@ng-atomic/components/atoms/smart-menu-button';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\n\n@TokenizedType()\n@Directive({ standalone: true })\nexport class ActionsColumnMoleculeStore extends InjectableComponent {\n static readonly Config = makeConfig(() => {\n return () => ({\n headerText: '',\n itemActions: [] as Actions,\n style: {\n width: '48px',\n },\n });\n }, ['components', 'molecules', 'actions-column']);\n readonly config = ActionsColumnMoleculeStore.Config.inject();\n readonly headerText = input<string>(_computed(() => this.config().headerText));\n readonly name = input.required<string>();\n readonly itemActions = input<Actions>(_computed(() => this.config().itemActions));\n readonly style = computed(() => this.config().style);\n}\n\n@Component({\n selector: 'molecules-actions-column',\n standalone: true,\n imports: [\n CommonModule,\n MatTableModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n SmartMenuButtonAtom,\n ActionsPipe,\n ],\n template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.width]=\"store.style()?.width\">{{ store.headerText() }}</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [actions]=\"store.itemActions() | resolveActions:item\"\n (action)=\"dispatch({id: $event.id, payload: item})\"\n />\n </td>\n </ng-container>\n `,\n styleUrls: ['./actions-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: ActionsColumnMoleculeStore,\n inputs: ['headerText', 'name', 'itemActions'],\n },\n ],\n})\nexport class ActionsColumnMolecule<T> extends NgAtomicComponent {\n private _table = inject(CdkTable, {optional: true});\n protected store = inject(ActionsColumnMoleculeStore);\n readonly columnDef = viewChild.required(CdkColumnDef);\n readonly cell = viewChild.required(CdkCellDef);\n readonly headerCell = viewChild.required(CdkHeaderCellDef);\n\n constructor() {\n super();\n effect(() => {\n if (this.columnDef()) this.columnDef().name = this.store.name();\n })\n }\n\n ngOnInit() {\n if (this._table) {\n this.columnDef().name = this.store.name();\n this.columnDef().cell = this.cell();\n this.columnDef().headerCell = this.headerCell();\n this._table.addColumnDef(this.columnDef());\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef());\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAcO,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,mBAAmB,CAAA;AAA5D,IAAA,WAAA,GAAA;;AAUI,QAAA,IAAA,CAAA,MAAM,GAAG,4BAA0B,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AACpD,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;AACtE,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AAChC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,WAAW,CAAC,CA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AACrC,4BAAA,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,aAAa,CAAC;AAC9C,yBAAA;AACF,qBAAA,EAAA,CAAA;;;AC9DH;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-actions-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/actions-column/actions-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, ViewEncapsulation, computed, effect, inject, input, viewChild, OnInit } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatTableModule } from '@angular/material/table';\nimport { _computed, Actions, InjectableComponent, NgAtomicComponent, TokenizedType } from '@ng-atomic/core';\nimport { ActionsPipe } from '@ng-atomic/common/pipes/actions';\nimport { SmartMenuButtonAtom } from '@ng-atomic/components/atoms/smart-menu-button';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\n\n@TokenizedType()\n@Directive({ standalone: true })\nexport class ActionsColumnMoleculeStore extends InjectableComponent {\n static readonly Config = makeConfig(() => {\n return () => ({\n headerText: '',\n itemActions: [] as Actions,\n style: {\n width: '48px',\n },\n });\n }, ['components', 'molecules', 'actions-column']);\n readonly config = ActionsColumnMoleculeStore.Config.inject();\n readonly headerText = input<string>(_computed(() => this.config().headerText));\n readonly name = input.required<string>();\n readonly itemActions = input<Actions>(_computed(() => this.config().itemActions));\n readonly style = computed(() => this.config().style);\n}\n\n@Component({\n selector: 'molecules-actions-column',\n standalone: true,\n imports: [\n CommonModule,\n MatTableModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n SmartMenuButtonAtom,\n ActionsPipe,\n ],\n template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.width]=\"store.style()?.width\">{{ store.headerText() }}</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [actions]=\"store.itemActions() | resolveActions:item\"\n (action)=\"dispatch($event)\"\n />\n </td>\n </ng-container>\n `,\n styleUrls: ['./actions-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: ActionsColumnMoleculeStore,\n inputs: ['headerText', 'name', 'itemActions'],\n },\n ],\n})\nexport class ActionsColumnMolecule extends NgAtomicComponent implements OnInit {\n private _table = inject(CdkTable, {optional: true});\n protected store = inject(ActionsColumnMoleculeStore);\n readonly columnDef = viewChild.required(CdkColumnDef);\n readonly cell = viewChild.required(CdkCellDef);\n readonly headerCell = viewChild.required(CdkHeaderCellDef);\n\n constructor() {\n super();\n effect(() => {\n if (this.columnDef()) this.columnDef().name = this.store.name();\n })\n }\n\n ngOnInit() {\n if (this._table) {\n this.columnDef().name = this.store.name();\n this.columnDef().cell = this.cell();\n this.columnDef().headerCell = this.headerCell();\n this._table.addColumnDef(this.columnDef());\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef());\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAcO,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,mBAAmB,CAAA;AAA5D,IAAA,WAAA,GAAA;;AAUI,QAAA,IAAA,CAAA,MAAM,GAAG,4BAA0B,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AACpD,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;AACtE,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;A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IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,0BAA0B;AACrC,4BAAA,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,aAAa,CAAC;AAC9C,yBAAA;AACF,qBAAA,EAAA,CAAA;;;AC9DH;;AAEG;;;;"}
@@ -68,8 +68,8 @@ class CheckboxColumnMolecule extends NgAtomicComponent {
68
68
  onCheckboxClick(item, event) {
69
69
  this.dispatch({ id: ActionId.CHECKBOX_CLICK, payload: item });
70
70
  }
71
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: CheckboxColumnMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
72
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: CheckboxColumnMolecule, isStandalone: true, selector: "molecules-checkbox-column", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, isHidden: { classPropertyName: "isHidden", publicName: "isHidden", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: CheckboxColumnMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
72
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: CheckboxColumnMolecule, isStandalone: true, selector: "molecules-checkbox-column", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, isHidden: { classPropertyName: "isHidden", publicName: "isHidden", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
73
73
  { provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } }
74
74
  ], viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, isSignal: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, isSignal: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, isSignal: true }, { propertyName: "checkboxes", predicate: ["rowCheckbox"], descendants: true, read: MatCheckbox, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
75
75
  <ng-container matColumnDef>
@@ -89,9 +89,9 @@ class CheckboxColumnMolecule extends NgAtomicComponent {
89
89
  />
90
90
  }
91
91
  </td>
92
- </ng-container>`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }, { 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"] }, { kind: "pipe", type: SelectIdPipe, name: "selectId" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
92
+ </ng-container>`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }, { 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"] }, { kind: "pipe", type: SelectIdPipe, name: "selectId" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
93
93
  }
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: CheckboxColumnMolecule, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: CheckboxColumnMolecule, decorators: [{
95
95
  type: Component,
96
96
  args: [{ selector: 'molecules-checkbox-column', standalone: true, imports: [
97
97
  MatTableModule,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-checkbox-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/checkbox-column/checkbox-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.ts"],"sourcesContent":["import { SelectionModel } from '@angular/cdk/collections';\nimport { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation, effect, inject, input, viewChild, viewChildren } from '@angular/core';\nimport { MAT_CHECKBOX_DEFAULT_OPTIONS, MatCheckbox, MatCheckboxDefaultOptions, MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatTableModule } from '@angular/material/table';\nimport { SelectIdPipe } from '@ng-atomic/common/pipes/select-id';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { computedAsync } from 'ngxtension/computed-async';\nimport { map, startWith, delay } from 'rxjs';\n\nenum ActionId {\n CHECKBOX_CLICK = '[@ng-atomic/components/molecules/checkbox-column] Checkbox Click',\n HEADER_CHECKBOX_CLICK = '[@ng-atomic/components/molecules/checkbox-column] Header Checkbox Click',\n}\n\n@Component({\n selector: 'molecules-checkbox-column',\n standalone: true,\n imports: [\n MatTableModule,\n MatCheckboxModule,\n SelectIdPipe,\n ],\n template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>\n <mat-checkbox\n [checked]=\"headerCheckboxChecked()\"\n [indeterminate]=\"headerCheckboxIndeterminate()\"\n (click)=\"onHeaderCheckboxClick(item, $event)\"\n />\n </th>\n <td mat-cell *matCellDef=\"let item\">\n @if (!isHidden()(item)) {\n <mat-checkbox\n [checked]=\"selection().isSelected(item | selectId)\"\n (click)=\"onCheckboxClick(item, $event)\"\n #rowCheckbox\n />\n }\n </td>\n </ng-container>`,\n styleUrls: ['./checkbox-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } as MatCheckboxDefaultOptions}\n ],\n})\nexport class CheckboxColumnMolecule<T> extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n private _table = inject(CdkTable<T>, {optional: true});\n readonly name = input.required<string>();\n readonly selection = input(new SelectionModel<string>(true, []));\n readonly isHidden = input((item: T) => false);\n readonly columnDef = viewChild.required(CdkColumnDef);\n readonly cell = viewChild.required(CdkCellDef);\n readonly headerCell = viewChild.required(CdkHeaderCellDef);\n\n readonly checkboxes = viewChildren('rowCheckbox', {read: MatCheckbox});\n readonly headerCheckboxChecked = computedAsync(() => {\n return this.selection().changed.pipe(\n startWith(null),\n delay(0),\n map(() => {\n if (this.checkboxes().length === 0) return false;\n return this.checkboxes().some(checkbox => checkbox.checked);\n })\n );\n });\n readonly headerCheckboxIndeterminate = computedAsync(() => {\n return this.selection().changed.pipe(\n startWith(null),\n delay(0),\n map(() => {\n if (this.checkboxes().filter(checkbox => checkbox.checked).length === 0) return false;\n if (this.checkboxes().every(checkbox => checkbox.checked)) return false;\n return true;\n })\n );\n });\n\n constructor() {\n super();\n effect(() => {\n if (this.columnDef()) this.columnDef().name = this.name();\n });\n }\n\n ngOnInit() {\n if (this._table) {\n this.columnDef().name = this.name();\n this.columnDef().cell = this.cell();\n this.columnDef().headerCell = this.headerCell();\n this._table.addColumnDef(this.columnDef());\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef());\n }\n }\n\n protected onHeaderCheckboxClick(item: T, event: Event) {\n this.dispatch({id: ActionId.HEADER_CHECKBOX_CLICK, payload: item});\n }\n\n protected onCheckboxClick(item: T, event: Event) {\n this.dispatch({id: ActionId.CHECKBOX_CLICK, payload: item});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAUA,IAAK,QAGJ,CAAA;AAHD,CAAA,UAAK,QAAQ,EAAA;AACX,IAAA,QAAA,CAAA,gBAAA,CAAA,GAAA,kEAAmF,CAAA;AACnF,IAAA,QAAA,CAAA,uBAAA,CAAA,GAAA,yEAAiG,CAAA;AACnG,CAAC,EAHI,QAAQ,KAAR,QAAQ,GAGZ,EAAA,CAAA,CAAA,CAAA;AAoCK,MAAO,sBAA0B,SAAQ,iBAAiB,CAAA;aAC9C,IAAQ,CAAA,QAAA,GAAG,QAAH,CAAY,EAAA;AAgCpC,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;AAhCF,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,EAAC,QAAW,GAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;AAC9C,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;QAChC,IAAS,CAAA,SAAA,GAAG,KAAK,C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EAAA,UAAA,EAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,eAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,EAAA,qBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EACjB,YAAY,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FA4BH,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAlClC,SAAS;+BACE,2BAA2B,EAAA,UAAA,EACzB,IAAI,EACP,OAAA,EAAA;wBACP,cAAc;wBACd,iBAAiB;wBACjB,YAAY;qBACb,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;AAkBM,iBAAA,CAAA,EAAA,aAAA,EAED,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;wBACT,EAAC,OAAO,EAAE,4BAA4B,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,MAAM,EAA+B,EAAC;AACxG,qBAAA,EAAA,CAAA;;;AC/CH;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-checkbox-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/checkbox-column/checkbox-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.ts"],"sourcesContent":["import { SelectionModel } from '@angular/cdk/collections';\nimport { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation, effect, inject, input, viewChild, viewChildren, OnInit } from '@angular/core';\nimport { MAT_CHECKBOX_DEFAULT_OPTIONS, MatCheckbox, MatCheckboxDefaultOptions, MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatTableModule } from '@angular/material/table';\nimport { SelectIdPipe } from '@ng-atomic/common/pipes/select-id';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { computedAsync } from 'ngxtension/computed-async';\nimport { map, startWith, delay } from 'rxjs';\n\nenum ActionId {\n CHECKBOX_CLICK = '[@ng-atomic/components/molecules/checkbox-column] Checkbox Click',\n HEADER_CHECKBOX_CLICK = '[@ng-atomic/components/molecules/checkbox-column] Header Checkbox Click',\n}\n\n@Component({\n selector: 'molecules-checkbox-column',\n standalone: true,\n imports: [\n MatTableModule,\n MatCheckboxModule,\n SelectIdPipe,\n ],\n template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>\n <mat-checkbox\n [checked]=\"headerCheckboxChecked()\"\n [indeterminate]=\"headerCheckboxIndeterminate()\"\n (click)=\"onHeaderCheckboxClick(item, $event)\"\n />\n </th>\n <td mat-cell *matCellDef=\"let item\">\n @if (!isHidden()(item)) {\n <mat-checkbox\n [checked]=\"selection().isSelected(item | selectId)\"\n (click)=\"onCheckboxClick(item, $event)\"\n #rowCheckbox\n />\n }\n </td>\n </ng-container>`,\n styleUrls: ['./checkbox-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } as MatCheckboxDefaultOptions}\n ],\n})\nexport class CheckboxColumnMolecule<T> extends NgAtomicComponent implements OnInit {\n static readonly ActionId = ActionId;\n private _table = inject(CdkTable<T>, {optional: true});\n readonly name = input.required<string>();\n readonly selection = input(new SelectionModel<string>(true, []));\n readonly isHidden = input((item: T) => false);\n readonly columnDef = viewChild.required(CdkColumnDef);\n readonly cell = viewChild.required(CdkCellDef);\n readonly headerCell = viewChild.required(CdkHeaderCellDef);\n\n readonly checkboxes = viewChildren('rowCheckbox', {read: MatCheckbox});\n readonly headerCheckboxChecked = computedAsync(() => {\n return this.selection().changed.pipe(\n startWith(null),\n delay(0),\n map(() => {\n if (this.checkboxes().length === 0) return false;\n return this.checkboxes().some(checkbox => checkbox.checked);\n })\n );\n });\n readonly headerCheckboxIndeterminate = computedAsync(() => {\n return this.selection().changed.pipe(\n startWith(null),\n delay(0),\n map(() => {\n if (this.checkboxes().filter(checkbox => checkbox.checked).length === 0) return false;\n if (this.checkboxes().every(checkbox => checkbox.checked)) return false;\n return true;\n })\n );\n });\n\n constructor() {\n super();\n effect(() => {\n if (this.columnDef()) this.columnDef().name = this.name();\n });\n }\n\n ngOnInit() {\n if (this._table) {\n this.columnDef().name = this.name();\n this.columnDef().cell = this.cell();\n this.columnDef().headerCell = this.headerCell();\n this._table.addColumnDef(this.columnDef());\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef());\n }\n }\n\n protected onHeaderCheckboxClick(item: T, event: Event) {\n this.dispatch({id: ActionId.HEADER_CHECKBOX_CLICK, payload: item});\n }\n\n protected onCheckboxClick(item: T, event: Event) {\n this.dispatch({id: ActionId.CHECKBOX_CLICK, payload: item});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAUA,IAAK,QAGJ,CAAA;AAHD,CAAA,UAAK,QAAQ,EAAA;AACX,IAAA,QAAA,CAAA,gBAAA,CAAA,GAAA,kEAAmF,CAAA;AACnF,IAAA,QAAA,CAAA,uBAAA,CAAA,GAAA,yEAAiG,CAAA;AACnG,CAAC,EAHI,QAAQ,KAAR,QAAQ,GAGZ,EAAA,CAAA,CAAA,CAAA;AAoCK,MAAO,sBAA0B,SAAQ,iBAAiB,CAAA;aAC9C,IAAQ,CAAA,QAAA,GAAG,QAAH,CAAY,EAAA;AAgCpC,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;AAhCF,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,EAAC,QAAW,GAAE,E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,cAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,iBAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,eAAA,EAAA,MAAA,EAAA,OAAA,EAAA,eAAA,EAAA,UAAA,EAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,eAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,EAAA,qBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EACjB,YAAY,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FA4BH,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAlClC,SAAS;+BACE,2BAA2B,EAAA,UAAA,EACzB,IAAI,EACP,OAAA,EAAA;wBACP,cAAc;wBACd,iBAAiB;wBACjB,YAAY;qBACb,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;AAkBM,iBAAA,CAAA,EAAA,aAAA,EAED,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;wBACT,EAAC,OAAO,EAAE,4BAA4B,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,MAAM,EAA+B,EAAC;AACxG,qBAAA,EAAA,CAAA;;;AC/CH;;AAEG;;;;"}
@@ -41,13 +41,13 @@ let ChipsInputFieldMoleculeStore = class ChipsInputFieldMoleculeStore extends In
41
41
  separators: [ENTER, COMMA, SPACE],
42
42
  });
43
43
  }, ['components', 'molecules', 'chips-input-field']); }
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ChipsInputFieldMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
45
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: ChipsInputFieldMoleculeStore, isStandalone: true, selector: "molecules-chips-input-field", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, separators: { classPropertyName: "separators", publicName: "separators", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
44
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ChipsInputFieldMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
45
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: ChipsInputFieldMoleculeStore, isStandalone: true, selector: "molecules-chips-input-field", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, separators: { classPropertyName: "separators", publicName: "separators", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
46
46
  };
47
47
  ChipsInputFieldMoleculeStore = ChipsInputFieldMoleculeStore_1 = __decorate([
48
48
  TokenizedType()
49
49
  ], ChipsInputFieldMoleculeStore);
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ChipsInputFieldMoleculeStore, decorators: [{
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ChipsInputFieldMoleculeStore, decorators: [{
51
51
  type: Directive,
52
52
  args: [{ standalone: true, selector: 'molecules-chips-input-field' }]
53
53
  }] });
@@ -75,8 +75,8 @@ class ChipsInputFieldMolecule extends NgAtomicComponent {
75
75
  this.chipsManager.remove(value);
76
76
  this.store.control().setValue(this.chipsManager.getValue());
77
77
  }
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ChipsInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
79
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: ChipsInputFieldMolecule, isStandalone: true, selector: "molecules-chips-input-field", providers: [ChipsManager], usesInheritance: true, hostDirectives: [{ directive: ChipsInputFieldMoleculeStore, inputs: ["appearance", "appearance", "control", "control", "floatLabel", "floatLabel", "label", "label", "hint", "hint", "placeholder", "placeholder", "separators", "separators"] }], ngImport: i0, template: `
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ChipsInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
79
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: ChipsInputFieldMolecule, isStandalone: true, selector: "molecules-chips-input-field", providers: [ChipsManager], usesInheritance: true, hostDirectives: [{ directive: ChipsInputFieldMoleculeStore, inputs: ["appearance", "appearance", "control", "control", "floatLabel", "floatLabel", "label", "label", "hint", "hint", "placeholder", "placeholder", "separators", "separators"] }], ngImport: i0, template: `
80
80
  <mat-form-field [appearance]="store.appearance()" [floatLabel]="store.floatLabel()">
81
81
  <mat-label>{{ store.label() }}</mat-label>
82
82
  <mat-chip-grid #chipGrid>
@@ -102,7 +102,7 @@ class ChipsInputFieldMolecule extends NgAtomicComponent {
102
102
  </mat-form-field>
103
103
  `, isInline: true, styles: [":host{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host mat-form-field{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatChipsModule }, { kind: "component", type: i1.MatChipGrid, selector: "mat-chip-grid", inputs: ["disabled", "placeholder", "required", "value", "errorStateMatcher"], outputs: ["change", "valueChange"] }, { kind: "directive", type: i1.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i1.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i1.MatChipRow, selector: "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", inputs: ["editable"], outputs: ["edited"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
104
104
  }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ChipsInputFieldMolecule, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ChipsInputFieldMolecule, decorators: [{
106
106
  type: Component,
107
107
  args: [{ selector: 'molecules-chips-input-field', standalone: true, imports: [
108
108
  ReactiveFormsModule,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-chips-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/chips-input-field/chips-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.ts"],"sourcesContent":["import { COMMA, ENTER, SPACE } from '@angular/cdk/keycodes';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, DestroyRef, Directive, inject, input } from '@angular/core';\nimport { MatChipInputEvent, MatChipsModule } from '@angular/material/chips';\nimport { MatFormFieldAppearance } from '@angular/material/form-field';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { ChipsManager } from '@ng-atomic/common/services/chips-manager';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { InjectableComponent, NgAtomicComponent, TokenizedType, _computed } from '@ng-atomic/core';\n\nexport interface ChipsInputMoleculeState {\n appearance: MatFormFieldAppearance;\n control: FormControl<string>;\n floatLabel: 'auto' | 'always' | 'never';\n label: string;\n hint: string;\n placeholder: string;\n separators: readonly (typeof ENTER | typeof COMMA | typeof SPACE)[];\n}\n\n@TokenizedType()\n@Directive({ standalone: true, selector: 'molecules-chips-input-field' })\nexport class ChipsInputFieldMoleculeStore extends InjectableComponent {\n static readonly Config = makeConfig(() => {\n return () => ({\n appearance: 'outline',\n control: new FormControl<string>(''),\n floatLabel: 'auto',\n label: 'label',\n hint: 'hint',\n placeholder: 'placeholder',\n separators: [ENTER, COMMA, SPACE] as const,\n });\n }, ['components', 'molecules', 'chips-input-field']);\n protected readonly config = ChipsInputFieldMoleculeStore.Config.inject();\n\n readonly appearance = input(_computed(() => this.config().appearance));\n readonly control = input(_computed(() => this.config().control));\n readonly floatLabel = input(_computed(() => this.config().floatLabel));\n readonly label = input(_computed(() => this.config().label));\n readonly hint = input(_computed(() => this.config().hint));\n readonly placeholder = input(_computed(() => this.config().placeholder));\n readonly separators = input(_computed(() => this.config().separators));\n}\n\n@Component({\n selector: 'molecules-chips-input-field',\n standalone: true,\n imports: [\n ReactiveFormsModule,\n MatChipsModule,\n MatIconModule,\n MatInputModule,\n ErrorPipe,\n ],\n template: `\n <mat-form-field [appearance]=\"store.appearance()\" [floatLabel]=\"store.floatLabel()\">\n <mat-label>{{ store.label() }}</mat-label>\n <mat-chip-grid #chipGrid>\n @for (chip of chipsManager.chips; track chip) {\n <mat-chip-row (removed)=\"remove(chip)\" [editable]=\"false\">\n {{ chip }}\n <button matChipRemove><mat-icon>cancel</mat-icon></button>\n </mat-chip-row>\n }\n <input\n matInput\n [placeholder]=\"store.placeholder()\"\n [matChipInputFor]=\"chipGrid\"\n [matChipInputSeparatorKeyCodes]=\"store.separators()\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n </mat-chip-grid>\n @if (store.hint()) {\n <mat-hint>{{ store.hint() }}</mat-hint>\n }\n <mat-error>{{ store.control().errors | error }}</mat-error>\n </mat-form-field>\n `,\n styleUrls: ['./chips-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ChipsManager],\n hostDirectives: [\n {\n directive: ChipsInputFieldMoleculeStore,\n inputs: ['appearance', 'control', 'floatLabel', 'label', 'hint', 'placeholder', 'separators'],\n },\n ],\n})\nexport class ChipsInputFieldMolecule extends NgAtomicComponent {\n private readonly destroyRef = inject(DestroyRef);\n private readonly cd = inject(ChangeDetectorRef);\n protected readonly chipsManager = inject(ChipsManager);\n protected store = inject(ChipsInputFieldMoleculeStore);\n\n ngOnInit(): void {\n this.chipsManager.setValue(this.store.control().value!);\n this.store.control().valueChanges.pipe(\n takeUntilDestroyed(this.destroyRef),\n ).subscribe((value) => {\n this.chipsManager.setValue(value!);\n this.cd.markForCheck();\n });\n }\n\n protected onChiInputTokenEnd(event: MatChipInputEvent): void {\n this.chipsManager.add(event.value);\n this.store.control().setValue(this.chipsManager.getValue());\n event.input.value = '';\n }\n\n protected remove(value: string): void {\n this.chipsManager.remove(value);\n this.store.control().setValue(this.chipsManager.getValue());\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAyBO,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,mBAAmB,CAAA;AAA9D,IAAA,WAAA,GAAA;;AAYc,QAAA,IAAA,CAAA,MAAM,GAAG,8BAA4B,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhE,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9D,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;AACxD,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,UAAU,C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,CAAC,MAAM,aACpC,CAAC,YAAY,CAAC,EACT,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,4BAA4B;AACvC,4BAAA,MAAM,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,CAAC;AAC9F,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,wIAAA,CAAA,EAAA,CAAA;;;AC3FH;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-chips-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/chips-input-field/chips-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.ts"],"sourcesContent":["import { COMMA, ENTER, SPACE } from '@angular/cdk/keycodes';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, DestroyRef, Directive, inject, input, OnInit } from '@angular/core';\nimport { MatChipInputEvent, MatChipsModule } from '@angular/material/chips';\nimport { MatFormFieldAppearance } from '@angular/material/form-field';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { ChipsManager } from '@ng-atomic/common/services/chips-manager';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { InjectableComponent, NgAtomicComponent, TokenizedType, _computed } from '@ng-atomic/core';\n\nexport interface ChipsInputMoleculeState {\n appearance: MatFormFieldAppearance;\n control: FormControl<string>;\n floatLabel: 'auto' | 'always' | 'never';\n label: string;\n hint: string;\n placeholder: string;\n separators: readonly (typeof ENTER | typeof COMMA | typeof SPACE)[];\n}\n\n@TokenizedType()\n@Directive({ standalone: true, selector: 'molecules-chips-input-field' })\nexport class ChipsInputFieldMoleculeStore extends InjectableComponent {\n static readonly Config = makeConfig(() => {\n return () => ({\n appearance: 'outline',\n control: new FormControl<string>(''),\n floatLabel: 'auto',\n label: 'label',\n hint: 'hint',\n placeholder: 'placeholder',\n separators: [ENTER, COMMA, SPACE] as const,\n });\n }, ['components', 'molecules', 'chips-input-field']);\n protected readonly config = ChipsInputFieldMoleculeStore.Config.inject();\n\n readonly appearance = input(_computed(() => this.config().appearance));\n readonly control = input(_computed(() => this.config().control));\n readonly floatLabel = input(_computed(() => this.config().floatLabel));\n readonly label = input(_computed(() => this.config().label));\n readonly hint = input(_computed(() => this.config().hint));\n readonly placeholder = input(_computed(() => this.config().placeholder));\n readonly separators = input(_computed(() => this.config().separators));\n}\n\n@Component({\n selector: 'molecules-chips-input-field',\n standalone: true,\n imports: [\n ReactiveFormsModule,\n MatChipsModule,\n MatIconModule,\n MatInputModule,\n ErrorPipe,\n ],\n template: `\n <mat-form-field [appearance]=\"store.appearance()\" [floatLabel]=\"store.floatLabel()\">\n <mat-label>{{ store.label() }}</mat-label>\n <mat-chip-grid #chipGrid>\n @for (chip of chipsManager.chips; track chip) {\n <mat-chip-row (removed)=\"remove(chip)\" [editable]=\"false\">\n {{ chip }}\n <button matChipRemove><mat-icon>cancel</mat-icon></button>\n </mat-chip-row>\n }\n <input\n matInput\n [placeholder]=\"store.placeholder()\"\n [matChipInputFor]=\"chipGrid\"\n [matChipInputSeparatorKeyCodes]=\"store.separators()\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n </mat-chip-grid>\n @if (store.hint()) {\n <mat-hint>{{ store.hint() }}</mat-hint>\n }\n <mat-error>{{ store.control().errors | error }}</mat-error>\n </mat-form-field>\n `,\n styleUrls: ['./chips-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ChipsManager],\n hostDirectives: [\n {\n directive: ChipsInputFieldMoleculeStore,\n inputs: ['appearance', 'control', 'floatLabel', 'label', 'hint', 'placeholder', 'separators'],\n },\n ],\n})\nexport class ChipsInputFieldMolecule extends NgAtomicComponent implements OnInit {\n private readonly destroyRef = inject(DestroyRef);\n private readonly cd = inject(ChangeDetectorRef);\n protected readonly chipsManager = inject(ChipsManager);\n protected store = inject(ChipsInputFieldMoleculeStore);\n\n ngOnInit(): void {\n this.chipsManager.setValue(this.store.control().value!);\n this.store.control().valueChanges.pipe(\n takeUntilDestroyed(this.destroyRef),\n ).subscribe((value) => {\n this.chipsManager.setValue(value!);\n this.cd.markForCheck();\n });\n }\n\n protected onChiInputTokenEnd(event: MatChipInputEvent): void {\n this.chipsManager.add(event.value);\n this.store.control().setValue(this.chipsManager.getValue());\n event.input.value = '';\n }\n\n protected remove(value: string): void {\n this.chipsManager.remove(value);\n this.store.control().setValue(this.chipsManager.getValue());\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAyBO,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,mBAAmB,CAAA;AAA9D,IAAA,WAAA,GAAA;;AAYc,QAAA,IAAA,CAAA,MAAM,GAAG,8BAA4B,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhE,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9D,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;AACxD,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9D,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC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AAY,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,CAAC;AAC9F,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,wIAAA,CAAA,EAAA,CAAA;;;AC3FH;;AAEG;;;;"}
@@ -22,10 +22,10 @@ class DateInputFieldMoleculeStore extends InjectableComponent {
22
22
  this.toggle = input(true);
23
23
  this.control$ = toObservable(this.control);
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: DateInputFieldMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
26
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: DateInputFieldMoleculeStore, isStandalone: true, selector: "molecules-date-input-field", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, toggle: { classPropertyName: "toggle", publicName: "toggle", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateInputFieldMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
26
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: DateInputFieldMoleculeStore, isStandalone: true, selector: "molecules-date-input-field", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, toggle: { classPropertyName: "toggle", publicName: "toggle", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: DateInputFieldMoleculeStore, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateInputFieldMoleculeStore, decorators: [{
29
29
  type: Directive,
30
30
  args: [{ standalone: true, selector: 'molecules-date-input-field' }]
31
31
  }] });
@@ -33,8 +33,8 @@ class DateInputFieldMolecule {
33
33
  constructor() {
34
34
  this.store = inject(DateInputFieldMoleculeStore);
35
35
  }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: DateInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
37
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: DateInputFieldMolecule, isStandalone: true, selector: "molecules-date-input-field", host: { classAttribute: "molecule field" }, providers: [
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
37
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: DateInputFieldMolecule, isStandalone: true, selector: "molecules-date-input-field", host: { classAttribute: "molecule field" }, providers: [
38
38
  // provideDayjsDateAdapter(),
39
39
  ], hostDirectives: [{ directive: DateInputFieldMoleculeStore, inputs: ["control", "control", "label", "label", "placeholder", "placeholder", "hint", "hint", "toggle", "toggle"] }], ngImport: i0, template: `
40
40
  <mat-form-field appearance="outline">
@@ -47,9 +47,9 @@ class DateInputFieldMolecule {
47
47
  @if (store.hint()) { <mat-hint>{{ store.hint() }}</mat-hint> }
48
48
  <mat-error>{{ store.control().errors | error }}</mat-error>
49
49
  </mat-form-field>
50
- `, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-EOjW: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
50
+ `, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-dILa: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: DateInputFieldMolecule, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateInputFieldMolecule, decorators: [{
53
53
  type: Component,
54
54
  args: [{ selector: 'molecules-date-input-field', standalone: true, imports: [
55
55
  ReactiveFormsModule,
@@ -74,7 +74,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
74
74
  }
75
75
  ], host: { class: 'molecule field' }, providers: [
76
76
  // provideDayjsDateAdapter(),
77
- ], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-EOjW: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
77
+ ], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-dILa: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
78
78
  }] });
79
79
 
80
80
  /**
@@ -22,10 +22,10 @@ class DateRangeInputFieldMoleculeStore {
22
22
  console.debug('control:', this.control().value);
23
23
  });
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: DateRangeInputFieldMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
26
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: DateRangeInputFieldMoleculeStore, isStandalone: true, selector: "molecules-date-range-input-field", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateRangeInputFieldMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
26
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: DateRangeInputFieldMoleculeStore, isStandalone: true, selector: "molecules-date-range-input-field", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: DateRangeInputFieldMoleculeStore, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateRangeInputFieldMoleculeStore, decorators: [{
29
29
  type: Directive,
30
30
  args: [{ selector: 'molecules-date-range-input-field', standalone: true }]
31
31
  }], ctorParameters: () => [] });
@@ -33,8 +33,8 @@ class DateRangeInputFieldMolecule {
33
33
  constructor() {
34
34
  this.store = inject(DateRangeInputFieldMoleculeStore);
35
35
  }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: DateRangeInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
37
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: DateRangeInputFieldMolecule, isStandalone: true, selector: "molecules-date-range-input-field", hostDirectives: [{ directive: DateRangeInputFieldMoleculeStore, inputs: ["control", "control", "label", "label", "hint", "hint"] }], ngImport: i0, template: `
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateRangeInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
37
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: DateRangeInputFieldMolecule, isStandalone: true, selector: "molecules-date-range-input-field", hostDirectives: [{ directive: DateRangeInputFieldMoleculeStore, inputs: ["control", "control", "label", "label", "hint", "hint"] }], ngImport: i0, template: `
38
38
  <mat-form-field appearance="outline">
39
39
  <mat-label>{{ store.label() }}</mat-label>
40
40
  <mat-date-range-input
@@ -52,9 +52,9 @@ class DateRangeInputFieldMolecule {
52
52
  <mat-datepicker-toggle matIconSuffix [for]="picker"></mat-datepicker-toggle>
53
53
  <mat-date-range-picker #picker></mat-date-range-picker>
54
54
  </mat-form-field>
55
- `, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-range-input-field-iBpG: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i3.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i3.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i3.MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i3.MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i3.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
55
+ `, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-range-input-field-b6tj: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i3.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i3.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i3.MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i3.MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i3.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
56
56
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: DateRangeInputFieldMolecule, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateRangeInputFieldMolecule, decorators: [{
58
58
  type: Component,
59
59
  args: [{ selector: 'molecules-date-range-input-field', standalone: true, imports: [
60
60
  CommonModule,
@@ -85,7 +85,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
85
85
  directive: DateRangeInputFieldMoleculeStore,
86
86
  inputs: ['control', 'label', 'hint']
87
87
  }
88
- ], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-range-input-field-iBpG: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
88
+ ], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-range-input-field-b6tj: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
89
89
  }] });
90
90
 
91
91
  /**
@@ -65,10 +65,10 @@ class FileInputFieldStore {
65
65
  });
66
66
  this.controlValue$.subscribe(value => this._control.setValue(value));
67
67
  }
68
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: FileInputFieldStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
69
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: FileInputFieldStore, isStandalone: true, inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, progress: { classPropertyName: "progress", publicName: "progress", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FileInputFieldStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
69
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: FileInputFieldStore, isStandalone: true, inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, progress: { classPropertyName: "progress", publicName: "progress", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
70
70
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: FileInputFieldStore, decorators: [{
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FileInputFieldStore, decorators: [{
72
72
  type: Directive,
73
73
  args: [{ standalone: true }]
74
74
  }], ctorParameters: () => [] });
@@ -86,8 +86,8 @@ class FileInputFieldMolecule extends NgAtomicComponent {
86
86
  this.dispatch({ id: ActionId.FILE_SELECTED, payload: event.target.files });
87
87
  // this.fileUpload().nativeElement.value = '';
88
88
  }
89
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: FileInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
90
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: FileInputFieldMolecule, isStandalone: true, selector: "molecules-file-input-field", viewQueries: [{ propertyName: "fileUpload", first: true, predicate: ["fileUpload"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: FileInputFieldStore, inputs: ["control", "control", "label", "label", "placeholder", "placeholder", "hint", "hint", "progress", "progress", "name", "name", "appearance", "appearance"] }], ngImport: i0, template: `
89
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FileInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
90
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: FileInputFieldMolecule, isStandalone: true, selector: "molecules-file-input-field", viewQueries: [{ propertyName: "fileUpload", first: true, predicate: ["fileUpload"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: FileInputFieldStore, inputs: ["control", "control", "label", "label", "placeholder", "placeholder", "hint", "hint", "progress", "progress", "name", "name", "appearance", "appearance"] }], ngImport: i0, template: `
91
91
  <mat-form-field [appearance]="store.appearance()">
92
92
  <mat-label>{{ store.label() }}</mat-label>
93
93
  <input matInput [name]="store.name()" type="text" [formControl]="store._control" [placeholder]="store.placeholder()">
@@ -104,7 +104,7 @@ class FileInputFieldMolecule extends NgAtomicComponent {
104
104
  (action)="dispatch($event)"
105
105
  ></atoms-smart-menu-button>
106
106
  <input style="display: none" type="file" (change)="onFileSelected($event)" #fileUpload>
107
- `, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:-moz-fit-content;width:fit-content;margin-bottom:20px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
107
+ `, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:fit-content;margin-bottom:20px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
108
108
  }
109
109
  __decorate([
110
110
  Effect(ActionId.FILE_SELECT_BUTTON_CLICK),
@@ -112,7 +112,7 @@ __decorate([
112
112
  __metadata("design:paramtypes", []),
113
113
  __metadata("design:returntype", void 0)
114
114
  ], FileInputFieldMolecule.prototype, "onFileSelectButtonClick", null);
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: FileInputFieldMolecule, decorators: [{
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FileInputFieldMolecule, decorators: [{
116
116
  type: Component,
117
117
  args: [{ selector: 'molecules-file-input-field', standalone: true, imports: [
118
118
  ReactiveFormsModule,
@@ -141,7 +141,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
141
141
  directive: FileInputFieldStore,
142
142
  inputs: ['control', 'label', 'placeholder', 'hint', 'progress', 'name', 'appearance'],
143
143
  }
144
- ], styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:-moz-fit-content;width:fit-content;margin-bottom:20px}\n"] }]
144
+ ], styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:fit-content;margin-bottom:20px}\n"] }]
145
145
  }], propDecorators: { onFileSelectButtonClick: [] } });
146
146
 
147
147
  /**