@ng-atomic/components 17.14.0 → 18.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/atoms/chips-input/chips-input.atom.d.ts +2 -2
  2. package/esm2022/atoms/atoms.module.mjs +4 -4
  3. package/esm2022/atoms/badge/badge.atom.mjs +3 -3
  4. package/esm2022/atoms/chips-input/chips-input.atom.mjs +4 -4
  5. package/esm2022/atoms/icon/icon.atom.mjs +5 -5
  6. package/esm2022/atoms/smart-menu-button/smart-menu-button.atom.mjs +9 -9
  7. package/esm2022/components.module.mjs +4 -4
  8. package/esm2022/extras/editor/editor.component.mjs +4 -4
  9. package/esm2022/extras/extras.module.mjs +4 -4
  10. package/esm2022/frames/app/app.frame.mjs +23 -24
  11. package/esm2022/frames/auto-layout/auto-layout.frame.mjs +4 -4
  12. package/esm2022/frames/card/card.frame.mjs +3 -3
  13. package/esm2022/frames/columns/columns.frame.mjs +22 -22
  14. package/esm2022/frames/divider/divider.frame.mjs +20 -13
  15. package/esm2022/frames/drawer/drawer.frame.mjs +8 -8
  16. package/esm2022/frames/entrance/entrance.frame.mjs +8 -8
  17. package/esm2022/frames/fab/fab.frame.mjs +8 -8
  18. package/esm2022/frames/fab/fab.service.mjs +3 -3
  19. package/esm2022/frames/frames.module.mjs +4 -4
  20. package/esm2022/frames/line-up/line-up.frame.mjs +9 -9
  21. package/esm2022/frames/line-up/line-up.service.mjs +3 -3
  22. package/esm2022/frames/loading/loading.frame.mjs +8 -8
  23. package/esm2022/frames/overlay/overlay.frame.mjs +6 -6
  24. package/esm2022/frames/router-outlet/router-outlet.frame.mjs +9 -9
  25. package/esm2022/frames/scroll/scroll.frame.mjs +5 -5
  26. package/esm2022/frames/scroll-v2/scroll.frame.mjs +6 -6
  27. package/esm2022/frames/side-nav/side-nav.frame.mjs +28 -29
  28. package/esm2022/frames/smart-menu/smart-menu.frame.mjs +5 -5
  29. package/esm2022/frames/tabs/tabs.frame.mjs +4 -4
  30. package/esm2022/frames/toggle/toggle.frame.mjs +5 -5
  31. package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +5 -5
  32. package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +6 -6
  33. package/esm2022/molecules/actions-column/actions-column.molecule.mjs +10 -10
  34. package/esm2022/molecules/checkbox-column/checkbox-column.molecule.mjs +5 -5
  35. package/esm2022/molecules/chips-input-field/chips-input-field.molecule.mjs +7 -7
  36. package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +8 -8
  37. package/esm2022/molecules/date-range-input-field/date-range-input-field.molecule.mjs +8 -8
  38. package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +9 -9
  39. package/esm2022/molecules/grid-item/grid-item.molecule.mjs +5 -5
  40. package/esm2022/molecules/header/header.molecule.mjs +6 -6
  41. package/esm2022/molecules/loading-box/loading-box.molecule.mjs +8 -8
  42. package/esm2022/molecules/molecules.module.mjs +4 -4
  43. package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +8 -8
  44. package/esm2022/molecules/nested-menu/nested-menu.molecule.mjs +3 -3
  45. package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +8 -8
  46. package/esm2022/molecules/smart-column/smart-column.molecule.mjs +8 -8
  47. package/esm2022/molecules/text-input-field/text-input-field.molecule.mjs +9 -9
  48. package/esm2022/molecules/textarea-field/textarea-field.molecule.mjs +7 -7
  49. package/esm2022/molecules/tree-column/tree-column.molecule.mjs +14 -12
  50. package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +8 -8
  51. package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +8 -8
  52. package/esm2022/organisms/agreement-input-section/agreement-input-section.organism.mjs +6 -6
  53. package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +4 -4
  54. package/esm2022/organisms/chips-input-section/chips-input-section.organism.mjs +26 -16
  55. package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +4 -4
  56. package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +8 -8
  57. package/esm2022/organisms/date-range-input-section/date-range-input-section.organism.mjs +8 -8
  58. package/esm2022/organisms/definition-list/definition-list.organism.mjs +8 -8
  59. package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +8 -8
  60. package/esm2022/organisms/filters-section/filters-section.organism.mjs +3 -3
  61. package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +4 -4
  62. package/esm2022/organisms/grid-cards-section/grid-cards-section.organism.mjs +5 -5
  63. package/esm2022/organisms/grid-toolbar/grid-toolbar.organism.mjs +6 -6
  64. package/esm2022/organisms/heading/heading.organism.mjs +5 -5
  65. package/esm2022/organisms/image-preview-section/image-preview-section.organism.mjs +3 -3
  66. package/esm2022/organisms/markdown-preview-section/markdown-preview-section.organism.mjs +6 -6
  67. package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +8 -8
  68. package/esm2022/organisms/menu-header/menu-header.organism.mjs +8 -8
  69. package/esm2022/organisms/mermaid-section/mermaid-section.organism.mjs +4 -4
  70. package/esm2022/organisms/message-input-section/message-input-section.organism.mjs +3 -3
  71. package/esm2022/organisms/messages-section/messages-section.organism.mjs +5 -5
  72. package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +8 -8
  73. package/esm2022/organisms/navigator/navigator.organism.mjs +8 -8
  74. package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +8 -8
  75. package/esm2022/organisms/organisms.module.mjs +4 -4
  76. package/esm2022/organisms/paginator/paginator.organism.mjs +8 -8
  77. package/esm2022/organisms/password-input-section/password-input-section.organism.mjs +8 -8
  78. package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +8 -8
  79. package/esm2022/organisms/selection-list/selection-list.organism.mjs +3 -3
  80. package/esm2022/organisms/slider-input-section/slider-input-section.organism.mjs +8 -8
  81. package/esm2022/organisms/smart-list/smart-list.organism.mjs +6 -6
  82. package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +4 -4
  83. package/esm2022/organisms/stripe-input-section/stripe-input-section.organism.mjs +11 -11
  84. package/esm2022/organisms/table/table.organism.mjs +13 -9
  85. package/esm2022/organisms/terminal/terminal.organism.mjs +4 -4
  86. package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +8 -8
  87. package/esm2022/organisms/text-preview-section/text-preview-section.organism.mjs +6 -6
  88. package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +8 -8
  89. package/esm2022/organisms/thread-messages-section/thread-messages-section.organism.mjs +8 -8
  90. package/esm2022/organisms/time-range-input-section/time-range-input-section.organism.mjs +3 -3
  91. package/esm2022/organisms/toolbar/toolbar.organism.mjs +3 -3
  92. package/esm2022/organisms/tree-section/tree-section.organism.mjs +4 -4
  93. package/esm2022/organisms/vertical-divider/vertical-divider.organism.mjs +3 -3
  94. package/esm2022/organisms/video-section/video-section.organism.mjs +17 -17
  95. package/esm2022/pages/_index/index.page.mjs +10 -10
  96. package/esm2022/pages/blank/blank.page.mjs +3 -3
  97. package/esm2022/pages/columns/columns.page.mjs +6 -6
  98. package/esm2022/pages/form/form.page.mjs +9 -9
  99. package/esm2022/pages/pages.module.mjs +4 -4
  100. package/esm2022/pages/terms/terms.page.mjs +6 -6
  101. package/esm2022/sheets/actions/actions.sheet.mjs +3 -3
  102. package/esm2022/sheets/sheets.module.mjs +4 -4
  103. package/esm2022/sheets/sheets.service.mjs +3 -3
  104. package/esm2022/templates/_index/index.template.mjs +61 -59
  105. package/esm2022/templates/background/background.template.mjs +7 -7
  106. package/esm2022/templates/code-editor/code-editor.template.mjs +6 -6
  107. package/esm2022/templates/columns/columns.template.mjs +9 -9
  108. package/esm2022/templates/entrance/entrance.template.mjs +24 -25
  109. package/esm2022/templates/file-tree/file-tree.template.mjs +3 -3
  110. package/esm2022/templates/form/form.builder.mjs +28 -37
  111. package/esm2022/templates/form/form.template.mjs +9 -9
  112. package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +8 -8
  113. package/esm2022/templates/loading/loading.template.mjs +3 -3
  114. package/esm2022/templates/menu/menu.template.mjs +8 -8
  115. package/esm2022/templates/messages/messages.template.mjs +4 -4
  116. package/esm2022/templates/selection/selection.template.mjs +8 -8
  117. package/esm2022/templates/settings/settings.template.mjs +5 -5
  118. package/esm2022/templates/tab-editor/tab-editor.template.mjs +3 -3
  119. package/esm2022/templates/templates.module.mjs +4 -4
  120. package/esm2022/templates/term/term.template.mjs +6 -6
  121. package/extras/editor/editor.component.d.ts +2 -2
  122. package/fesm2022/ng-atomic-components-atoms-badge.mjs +3 -3
  123. package/fesm2022/ng-atomic-components-atoms-chips-input.mjs +3 -3
  124. package/fesm2022/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
  125. package/fesm2022/ng-atomic-components-atoms-icon.mjs +5 -5
  126. package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs +9 -9
  127. package/fesm2022/ng-atomic-components-atoms.mjs +4 -4
  128. package/fesm2022/ng-atomic-components-extras-editor.mjs +3 -3
  129. package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -1
  130. package/fesm2022/ng-atomic-components-extras.mjs +4 -4
  131. package/fesm2022/ng-atomic-components-frames-app.mjs +22 -23
  132. package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -1
  133. package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +4 -4
  134. package/fesm2022/ng-atomic-components-frames-card.mjs +3 -3
  135. package/fesm2022/ng-atomic-components-frames-columns.mjs +21 -21
  136. package/fesm2022/ng-atomic-components-frames-columns.mjs.map +1 -1
  137. package/fesm2022/ng-atomic-components-frames-divider.mjs +19 -12
  138. package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -1
  139. package/fesm2022/ng-atomic-components-frames-drawer.mjs +8 -8
  140. package/fesm2022/ng-atomic-components-frames-entrance.mjs +8 -8
  141. package/fesm2022/ng-atomic-components-frames-fab.mjs +11 -11
  142. package/fesm2022/ng-atomic-components-frames-line-up.mjs +11 -11
  143. package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -1
  144. package/fesm2022/ng-atomic-components-frames-loading.mjs +8 -8
  145. package/fesm2022/ng-atomic-components-frames-overlay.mjs +6 -6
  146. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +8 -8
  147. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
  148. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +5 -5
  149. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs.map +1 -1
  150. package/fesm2022/ng-atomic-components-frames-scroll.mjs +5 -5
  151. package/fesm2022/ng-atomic-components-frames-side-nav.mjs +27 -28
  152. package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
  153. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +4 -4
  154. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
  155. package/fesm2022/ng-atomic-components-frames-tabs.mjs +3 -3
  156. package/fesm2022/ng-atomic-components-frames-tabs.mjs.map +1 -1
  157. package/fesm2022/ng-atomic-components-frames-toggle.mjs +4 -4
  158. package/fesm2022/ng-atomic-components-frames-toggle.mjs.map +1 -1
  159. package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +5 -5
  160. package/fesm2022/ng-atomic-components-frames.mjs +4 -4
  161. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +5 -5
  162. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -1
  163. package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +9 -9
  164. package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  165. package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +4 -4
  166. package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
  167. package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs +6 -6
  168. package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
  169. package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +8 -8
  170. package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +8 -8
  171. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +8 -8
  172. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
  173. package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +5 -5
  174. package/fesm2022/ng-atomic-components-molecules-header.mjs +6 -6
  175. package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +8 -8
  176. package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +8 -8
  177. package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs +3 -3
  178. package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +8 -8
  179. package/fesm2022/ng-atomic-components-molecules-smart-column.mjs +7 -7
  180. package/fesm2022/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  181. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +8 -8
  182. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  183. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +6 -6
  184. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  185. package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +13 -11
  186. package/fesm2022/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
  187. package/fesm2022/ng-atomic-components-molecules.mjs +4 -4
  188. package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +8 -8
  189. package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +8 -8
  190. package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +6 -6
  191. package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +4 -4
  192. package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs +25 -15
  193. package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs.map +1 -1
  194. package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
  195. package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +8 -8
  196. package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +8 -8
  197. package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +8 -8
  198. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +8 -8
  199. package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +3 -3
  200. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +3 -3
  201. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
  202. package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +5 -5
  203. package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +6 -6
  204. package/fesm2022/ng-atomic-components-organisms-heading.mjs +5 -5
  205. package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +3 -3
  206. package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +6 -6
  207. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +8 -8
  208. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +8 -8
  209. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
  210. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +3 -3
  211. package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
  212. package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs +3 -3
  213. package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +5 -5
  214. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +8 -8
  215. package/fesm2022/ng-atomic-components-organisms-navigator.mjs +8 -8
  216. package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +8 -8
  217. package/fesm2022/ng-atomic-components-organisms-paginator.mjs +8 -8
  218. package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +8 -8
  219. package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +8 -8
  220. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +3 -3
  221. package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +8 -8
  222. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +6 -6
  223. package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
  224. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +10 -10
  225. package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs.map +1 -1
  226. package/fesm2022/ng-atomic-components-organisms-table.mjs +12 -8
  227. package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
  228. package/fesm2022/ng-atomic-components-organisms-terminal.mjs +3 -3
  229. package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -1
  230. package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +8 -8
  231. package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +6 -6
  232. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +8 -8
  233. package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +8 -8
  234. package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +3 -3
  235. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +3 -3
  236. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +3 -3
  237. package/fesm2022/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
  238. package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +3 -3
  239. package/fesm2022/ng-atomic-components-organisms-video-section.mjs +16 -16
  240. package/fesm2022/ng-atomic-components-organisms-video-section.mjs.map +1 -1
  241. package/fesm2022/ng-atomic-components-organisms.mjs +4 -4
  242. package/fesm2022/ng-atomic-components-pages-_index.mjs +9 -9
  243. package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
  244. package/fesm2022/ng-atomic-components-pages-blank.mjs +3 -3
  245. package/fesm2022/ng-atomic-components-pages-columns.mjs +6 -6
  246. package/fesm2022/ng-atomic-components-pages-form.mjs +8 -8
  247. package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
  248. package/fesm2022/ng-atomic-components-pages-terms.mjs +6 -6
  249. package/fesm2022/ng-atomic-components-pages.mjs +4 -4
  250. package/fesm2022/ng-atomic-components-sheets-actions.mjs +3 -3
  251. package/fesm2022/ng-atomic-components-sheets.mjs +7 -7
  252. package/fesm2022/ng-atomic-components-templates-_index.mjs +61 -59
  253. package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
  254. package/fesm2022/ng-atomic-components-templates-background.mjs +7 -7
  255. package/fesm2022/ng-atomic-components-templates-code-editor.mjs +6 -6
  256. package/fesm2022/ng-atomic-components-templates-columns.mjs +8 -8
  257. package/fesm2022/ng-atomic-components-templates-columns.mjs.map +1 -1
  258. package/fesm2022/ng-atomic-components-templates-entrance.mjs +23 -24
  259. package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
  260. package/fesm2022/ng-atomic-components-templates-file-tree.mjs +3 -3
  261. package/fesm2022/ng-atomic-components-templates-form.mjs +36 -44
  262. package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
  263. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +8 -8
  264. package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
  265. package/fesm2022/ng-atomic-components-templates-menu.mjs +8 -8
  266. package/fesm2022/ng-atomic-components-templates-messages.mjs +3 -3
  267. package/fesm2022/ng-atomic-components-templates-messages.mjs.map +1 -1
  268. package/fesm2022/ng-atomic-components-templates-selection.mjs +8 -8
  269. package/fesm2022/ng-atomic-components-templates-settings.mjs +5 -5
  270. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +3 -3
  271. package/fesm2022/ng-atomic-components-templates-term.mjs +6 -6
  272. package/fesm2022/ng-atomic-components-templates.mjs +4 -4
  273. package/fesm2022/ng-atomic-components.mjs +4 -4
  274. package/frames/app/app.frame.d.ts +17 -17
  275. package/frames/divider/divider.frame.d.ts +1 -0
  276. package/frames/fab/fab.frame.d.ts +3 -3
  277. package/frames/line-up/line-up.frame.d.ts +2 -2
  278. package/frames/side-nav/side-nav.frame.d.ts +2 -2
  279. package/frames/tabs/tabs.frame.d.ts +2 -2
  280. package/molecules/action-input-field/action-input-field.molecule.d.ts +2 -1
  281. package/molecules/actions-column/actions-column.molecule.d.ts +4 -3
  282. package/molecules/checkbox-column/checkbox-column.molecule.d.ts +2 -1
  283. package/molecules/chips-input-field/chips-input-field.molecule.d.ts +2 -1
  284. package/molecules/file-input-field/file-input-field.molecule.d.ts +2 -2
  285. package/molecules/molecules.module.d.ts +1 -1
  286. package/molecules/smart-column/smart-column.molecule.d.ts +4 -4
  287. package/molecules/tree-column/tree-column.molecule.d.ts +3 -2
  288. package/organisms/chips-input-section/chips-input-section.organism.d.ts +6 -2
  289. package/organisms/graphql-editor/graphql-editor.organism.d.ts +2 -2
  290. package/organisms/mermaid-section/mermaid-section.organism.d.ts +2 -2
  291. package/organisms/navigator/navigator.organism.d.ts +3 -3
  292. package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +11 -11
  293. package/organisms/terminal/terminal.organism.d.ts +2 -2
  294. package/organisms/tree-section/tree-section.organism.d.ts +2 -2
  295. package/organisms/video-section/video-section.organism.d.ts +2 -2
  296. package/package.json +10 -11
  297. package/pages/_index/index.page.d.ts +21 -21
  298. package/pages/columns/columns.page.d.ts +6 -6
  299. package/pages/form/form.page.d.ts +19 -17
  300. package/templates/_index/index.template.d.ts +31 -27
  301. package/templates/form/form.template.d.ts +8 -8
  302. package/templates/messages/messages.template.d.ts +2 -2
@@ -19,10 +19,10 @@ class SelectInputFieldMoleculeStore {
19
19
  this.placeholder = input(null);
20
20
  this.multiple = input(false);
21
21
  }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SelectInputFieldMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
23
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: SelectInputFieldMoleculeStore, 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 }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", 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 }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SelectInputFieldMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
23
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: SelectInputFieldMoleculeStore, 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 }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", 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 }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SelectInputFieldMoleculeStore, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SelectInputFieldMoleculeStore, decorators: [{
26
26
  type: Directive,
27
27
  args: [{ standalone: true }]
28
28
  }] });
@@ -30,8 +30,8 @@ class SelectInputFieldMolecule {
30
30
  constructor() {
31
31
  this.store = inject(SelectInputFieldMoleculeStore);
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SelectInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: SelectInputFieldMolecule, isStandalone: true, selector: "molecules-select-input-field", host: { classAttribute: "molecule input-field field" }, hostDirectives: [{ directive: SelectInputFieldMoleculeStore, inputs: ["control", "control", "label", "label", "appearance", "appearance", "options", "options", "hint", "hint", "placeholder", "placeholder", "multiple", "multiple"] }], ngImport: i0, template: `
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SelectInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: SelectInputFieldMolecule, isStandalone: true, selector: "molecules-select-input-field", host: { classAttribute: "molecule input-field field" }, hostDirectives: [{ directive: SelectInputFieldMoleculeStore, inputs: ["control", "control", "label", "label", "appearance", "appearance", "options", "options", "hint", "hint", "placeholder", "placeholder", "multiple", "multiple"] }], ngImport: i0, template: `
35
35
  <mat-form-field [appearance]="store.appearance()">
36
36
  <mat-label>{{ store.label() }}</mat-label>
37
37
  <mat-select [formControl]="store.control()" [multiple]="store.multiple()">
@@ -46,9 +46,9 @@ class SelectInputFieldMolecule {
46
46
  }
47
47
  <mat-error>{{ store.control().errors | error }}</mat-error>
48
48
  </mat-form-field>
49
- `, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-2WsU: 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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatSelectModule }, { 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: "component", type: i3.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
49
+ `, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-D6Lv: 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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatSelectModule }, { 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: "component", type: i3.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { 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: SelectInputFieldMolecule, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SelectInputFieldMolecule, decorators: [{
52
52
  type: Component,
53
53
  args: [{ selector: 'molecules-select-input-field', standalone: true, imports: [
54
54
  CommonModule,
@@ -75,7 +75,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
75
75
  directive: SelectInputFieldMoleculeStore,
76
76
  inputs: ['control', 'label', 'appearance', 'options', 'hint', 'placeholder', 'multiple'],
77
77
  },
78
- ], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-2WsU: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
78
+ ], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-D6Lv: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
79
79
  }] });
80
80
 
81
81
  /**
@@ -20,10 +20,10 @@ class SmartColumnTemplateStore {
20
20
  this.sort = input('none');
21
21
  this.tooltipText = signal(null);
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartColumnTemplateStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
24
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: SmartColumnTemplateStore, isStandalone: true, inputs: { sort: { classPropertyName: "sort", publicName: "sort", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartColumnTemplateStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
24
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: SmartColumnTemplateStore, isStandalone: true, inputs: { sort: { classPropertyName: "sort", publicName: "sort", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartColumnTemplateStore, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartColumnTemplateStore, decorators: [{
27
27
  type: Directive,
28
28
  args: [{ standalone: true }]
29
29
  }] });
@@ -60,8 +60,8 @@ class SmartColumnMolecule extends NgAtomicComponent {
60
60
  this.store.tooltipText.set('copied!');
61
61
  setTimeout(() => this.store.tooltipText.set(null), 1000);
62
62
  }
63
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartColumnMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
64
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: SmartColumnMolecule, isStandalone: true, selector: "molecules-smart-column", inputs: { headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { headerClick: "headerClick" }, 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: SmartColumnTemplateStore, inputs: ["sort", "sort"] }], ngImport: i0, template: `
63
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartColumnMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
64
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: SmartColumnMolecule, isStandalone: true, selector: "molecules-smart-column", inputs: { headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { headerClick: "headerClick" }, 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: SmartColumnTemplateStore, inputs: ["sort", "sort"] }], ngImport: i0, template: `
65
65
  <ng-container matColumnDef>
66
66
  <th
67
67
  mat-header-cell
@@ -100,9 +100,9 @@ class SmartColumnMolecule extends NgAtomicComponent {
100
100
  </p>
101
101
  </td>
102
102
  </ng-container>
103
- `, isInline: true, styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p,td[mat-cell] p{width:100%;max-width:200px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i1.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: SmartExpModule }, { kind: "pipe", type: i2.SmartExpPipe, name: "smartExp" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i4.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i4.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i4.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i4.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i4.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
103
+ `, isInline: true, styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p,td[mat-cell] p{width:100%;max-width:200px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i1.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: SmartExpModule }, { kind: "pipe", type: i2.SmartExpPipe, name: "smartExp" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i4.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i4.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i4.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i4.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i4.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
104
104
  }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SmartColumnMolecule, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: SmartColumnMolecule, decorators: [{
106
106
  type: Component,
107
107
  args: [{ selector: 'molecules-smart-column', standalone: true, imports: [
108
108
  ClipboardModule,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-smart-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/smart-column/smart-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Output, EventEmitter, Component, ViewEncapsulation, Directive, input, signal, inject, effect, viewChild } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';\nimport { NgAtomicComponent } from '@ng-atomic/core';\n\n@Directive({ standalone: true })\nexport class SmartColumnTemplateStore<T> {\n readonly sort = input<'asc' | 'desc' | 'none'>('none');\n readonly tooltipText = signal<string | null>(null);\n}\n\n@Component({\n selector: 'molecules-smart-column',\n standalone: true,\n imports: [\n ClipboardModule,\n SmartExpModule,\n DataAccessorPipe,\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatTooltipModule,\n ],\n template: `\n <ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p\n class=\"nowrap\"\n style=\"display: flex; align-items: center;\"\n >\n <span>{{ headerText() }}</span>\n @switch(store.sort()) {\n @case('asc') {\n <mat-icon class=\"order\">south</mat-icon>\n }\n @case('desc') {\n <mat-icon class=\"order\">north</mat-icon>\n }\n }\n </p>\n </th>\n <td\n mat-cell\n *matCellDef=\"let item\"\n [style.text-align]=\"justify\"\n >\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"item | dataAccessor: name() | smartExp: name()\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\"\n [matTooltip]=\"store.tooltipText() || item | dataAccessor: name()\"\n matTooltipPosition=\"below\"\n >\n {{ item | dataAccessor: name() | smartExp: name() }}\n </p>\n </td>\n </ng-container>\n `,\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: SmartColumnTemplateStore,\n inputs: ['sort'],\n },\n ],\n})\nexport class SmartColumnMolecule<T> extends NgAtomicComponent {\n protected store = inject(SmartColumnTemplateStore);\n private _table = inject(CdkTable, {optional: true});\n readonly headerText = input<string>('');\n readonly name = input.required<string>();\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.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 @Output() headerClick = new EventEmitter<void>();\n\n protected copied() {\n this.store.tooltipText.set('copied!');\n setTimeout(() => this.store.tooltipText.set(null), 1000);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAYa,wBAAwB,CAAA;AADrC,IAAA,WAAA,GAAA;AAEW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IAAA,EAAA,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,4BAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,qBAAA,EAAA,yBAAA,EAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAoDP,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBA9D/B,SAAS;+BACE,wBAAwB,EAAA,UAAA,EACtB,IAAI,EACP,OAAA,EAAA;wBACP,eAAe;wBACf,cAAc;wBACd,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,cAAc;wBACd,gBAAgB;qBACjB,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCT,EAAA,CAAA,EAAA,aAAA,EAEc,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,wBAAwB;4BACnC,MAAM,EAAE,CAAC,MAAM,CAAC;AACjB,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,oUAAA,CAAA,EAAA,CAAA;wDAiCS,WAAW,EAAA,CAAA;sBAApB,MAAM;;;AC9GT;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-smart-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/smart-column/smart-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Output, EventEmitter, Component, ViewEncapsulation, Directive, input, signal, inject, effect, viewChild, OnInit } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';\nimport { NgAtomicComponent } from '@ng-atomic/core';\n\n@Directive({ standalone: true })\nexport class SmartColumnTemplateStore<T> {\n readonly sort = input<'asc' | 'desc' | 'none'>('none');\n readonly tooltipText = signal<string | null>(null);\n}\n\n@Component({\n selector: 'molecules-smart-column',\n standalone: true,\n imports: [\n ClipboardModule,\n SmartExpModule,\n DataAccessorPipe,\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatTooltipModule,\n ],\n template: `\n <ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p\n class=\"nowrap\"\n style=\"display: flex; align-items: center;\"\n >\n <span>{{ headerText() }}</span>\n @switch(store.sort()) {\n @case('asc') {\n <mat-icon class=\"order\">south</mat-icon>\n }\n @case('desc') {\n <mat-icon class=\"order\">north</mat-icon>\n }\n }\n </p>\n </th>\n <td\n mat-cell\n *matCellDef=\"let item\"\n [style.text-align]=\"justify\"\n >\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"item | dataAccessor: name() | smartExp: name()\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\"\n [matTooltip]=\"store.tooltipText() || item | dataAccessor: name()\"\n matTooltipPosition=\"below\"\n >\n {{ item | dataAccessor: name() | smartExp: name() }}\n </p>\n </td>\n </ng-container>\n `,\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: SmartColumnTemplateStore,\n inputs: ['sort'],\n },\n ],\n})\nexport class SmartColumnMolecule extends NgAtomicComponent implements OnInit {\n protected store = inject(SmartColumnTemplateStore);\n private _table = inject(CdkTable, {optional: true});\n readonly headerText = input<string>('');\n readonly name = input.required<string>();\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.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 @Output() headerClick = new EventEmitter<void>();\n\n protected copied() {\n this.store.tooltipText.set('copied!');\n setTimeout(() => this.store.tooltipText.set(null), 1000);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAYa,wBAAwB,CAAA;AADrC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAA0B,MAAM,CAAC,CAAC;AAC9C,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAgB,IAAI,CAAC,CAAC;AACpD,KAAA;8GAHY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EA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BAChB,eAAe;wBACf,aAAa;wBACb,cAAc;wBACd,gBAAgB;qBACjB,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCT,EAAA,CAAA,EAAA,aAAA,EAEc,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,wBAAwB;4BACnC,MAAM,EAAE,CAAC,MAAM,CAAC;AACjB,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,oUAAA,CAAA,EAAA,CAAA;wDAiCS,WAAW,EAAA,CAAA;sBAApB,MAAM;;;AC9GT;;AAEG;;;;"}
@@ -25,13 +25,13 @@ let TextInputFieldMoleculeStore = class TextInputFieldMoleculeStore extends Inje
25
25
  this.pattern = input();
26
26
  this.autoComplete = input([]);
27
27
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputFieldMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
29
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TextInputFieldMoleculeStore, isStandalone: true, selector: "molecules-text-input-field", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", 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 }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, autoComplete: { classPropertyName: "autoComplete", publicName: "autoComplete", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputFieldMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
29
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TextInputFieldMoleculeStore, isStandalone: true, selector: "molecules-text-input-field", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", 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 }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, autoComplete: { classPropertyName: "autoComplete", publicName: "autoComplete", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
30
30
  };
31
31
  TextInputFieldMoleculeStore = __decorate([
32
32
  TokenizedType()
33
33
  ], TextInputFieldMoleculeStore);
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputFieldMoleculeStore, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputFieldMoleculeStore, decorators: [{
35
35
  type: Directive,
36
36
  args: [{ standalone: true, selector: 'molecules-text-input-field' }]
37
37
  }] });
@@ -40,8 +40,8 @@ class TextInputFieldMolecule extends NgAtomicComponent {
40
40
  super(...arguments);
41
41
  this.store = inject(TextInputFieldMoleculeStore);
42
42
  }
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
44
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: TextInputFieldMolecule, isStandalone: true, selector: "molecules-text-input-field", host: { classAttribute: "molecule field" }, usesInheritance: true, hostDirectives: [{ directive: TextInputFieldMoleculeStore, inputs: ["appearance", "appearance", "type", "type", "name", "name", "label", "label", "control", "control", "placeholder", "placeholder", "hint", "hint", "autoComplete", "autoComplete", "pattern", "pattern"] }], ngImport: i0, template: `
43
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
44
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TextInputFieldMolecule, isStandalone: true, selector: "molecules-text-input-field", host: { classAttribute: "molecule field" }, usesInheritance: true, hostDirectives: [{ directive: TextInputFieldMoleculeStore, inputs: ["appearance", "appearance", "type", "type", "name", "name", "label", "label", "control", "control", "placeholder", "placeholder", "hint", "hint", "autoComplete", "autoComplete", "pattern", "pattern"] }], ngImport: i0, template: `
45
45
  <mat-form-field [appearance]="store.appearance()">
46
46
  <mat-label>{{ store.label() }}</mat-label>
47
47
  <input
@@ -68,9 +68,9 @@ class TextInputFieldMolecule extends NgAtomicComponent {
68
68
  }
69
69
  </mat-autocomplete>
70
70
  </mat-form-field>
71
- `, isInline: true, styles: [":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}:host mat-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\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.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { 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: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i4.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i4.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
71
+ `, isInline: true, styles: [":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}:host mat-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\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.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { 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: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i4.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i4.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
72
72
  }
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputFieldMolecule, decorators: [{
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputFieldMolecule, decorators: [{
74
74
  type: Component,
75
75
  args: [{ selector: 'molecules-text-input-field', standalone: true, imports: [
76
76
  ReactiveFormsModule,
@@ -109,7 +109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
109
109
  directive: TextInputFieldMoleculeStore,
110
110
  inputs: ['appearance', 'type', 'name', 'label', 'control', 'placeholder', 'hint', 'autoComplete', 'pattern'],
111
111
  }
112
- ], styles: [":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}:host mat-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"] }]
112
+ ], styles: [":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}:host mat-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"] }]
113
113
  }] });
114
114
 
115
115
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-text-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/text-input-field/text-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, inject, input } from '@angular/core';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\nimport { InjectableComponent, NgAtomicComponent, TokenizedType } from '@ng-atomic/core';\n\n@TokenizedType()\n@Directive({standalone: true, selector: 'molecules-text-input-field'})\nexport class TextInputFieldMoleculeStore extends InjectableComponent {\n readonly appearance = input<'outline' | 'fill'>('outline');\n readonly type = input<'text' | 'number' | 'password'>('text');\n readonly name = input<string>();\n readonly label = input('label');\n readonly control = input(new FormControl<string | number>(''));\n readonly placeholder = input('placeholder');\n readonly hint = input<string>();\n readonly pattern = input<string>();\n readonly autoComplete = input<(number | string)[]>([]);\n}\n\n@Component({\n selector: 'molecules-text-input-field',\n standalone: true,\n imports: [\n ReactiveFormsModule,\n MatInputModule,\n MatAutocompleteModule,\n ErrorPipe,\n ],\n template: `\n <mat-form-field [appearance]=\"store.appearance()\">\n <mat-label>{{ store.label() }}</mat-label>\n <input\n matInput\n [name]=\"store.name()\"\n [type]=\"store.type()\"\n [formControl]=\"store.control()\"\n [placeholder]=\"store.placeholder()\"\n [matAutocomplete]=\"auto\"\n [pattern]=\"store.pattern()\"\n >\n @if (store.control()?.errors) {\n <mat-error>{{ store.control()?.errors | error }}</mat-error>\n }\n @if (store.hint()) {\n <mat-hint>{{ store.hint() }}</mat-hint>\n }\n <mat-autocomplete\n autoSelectActiveOption\n #auto=\"matAutocomplete\"\n >\n @for (option of store.autoComplete(); track option;) {\n <mat-option [value]=\"option\">{{ option }}</mat-option>\n }\n </mat-autocomplete>\n </mat-form-field>\n `,\n styleUrls: ['./text-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n hostDirectives: [\n {\n directive: TextInputFieldMoleculeStore,\n inputs: ['appearance', 'type', 'name', 'label', 'control', 'placeholder', 'hint', 'autoComplete', 'pattern'],\n }\n ]\n})\nexport class TextInputFieldMolecule extends NgAtomicComponent {\n protected store = inject(TextInputFieldMoleculeStore)\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AASO,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,mBAAmB,CAAA;AAA7D,IAAA,WAAA,GAAA;;AACI,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAqB,SAAS,CAAC,CAAC;AAClD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAiC,MAAM,CAAC,CAAC;QACrD,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU,CAAC;AACvB,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACvB,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC,IAAI,WAAW,CAAkB,EAAE,CAAC,CAAC,CAAC;AACtD,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;QACnC,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU,CAAC;QACvB,IAAO,CAAA,OAAA,GAAG,KAAK,EAAU,CAAC;AAC1B,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAsB,EAAE,CAAC,CAAC;AACxD,KAAA;8GAVY,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EA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,cAAc,EAAE,SAAS,CAAC;AAC7G,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,ySAAA,CAAA,EAAA,CAAA;;;AClEH;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-text-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/text-input-field/text-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, inject, input } from '@angular/core';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\nimport { InjectableComponent, NgAtomicComponent, TokenizedType } from '@ng-atomic/core';\n\n@TokenizedType()\n@Directive({standalone: true, selector: 'molecules-text-input-field'})\nexport class TextInputFieldMoleculeStore extends InjectableComponent {\n readonly appearance = input<'outline' | 'fill'>('outline');\n readonly type = input<'text' | 'number' | 'password'>('text');\n readonly name = input<string>();\n readonly label = input('label');\n readonly control = input(new FormControl<string | number>(''));\n readonly placeholder = input('placeholder');\n readonly hint = input<string>();\n readonly pattern = input<string>();\n readonly autoComplete = input<(number | string)[]>([]);\n}\n\n@Component({\n selector: 'molecules-text-input-field',\n standalone: true,\n imports: [\n ReactiveFormsModule,\n MatInputModule,\n MatAutocompleteModule,\n ErrorPipe,\n ],\n template: `\n <mat-form-field [appearance]=\"store.appearance()\">\n <mat-label>{{ store.label() }}</mat-label>\n <input\n matInput\n [name]=\"store.name()\"\n [type]=\"store.type()\"\n [formControl]=\"store.control()\"\n [placeholder]=\"store.placeholder()\"\n [matAutocomplete]=\"auto\"\n [pattern]=\"store.pattern()\"\n >\n @if (store.control()?.errors) {\n <mat-error>{{ store.control()?.errors | error }}</mat-error>\n }\n @if (store.hint()) {\n <mat-hint>{{ store.hint() }}</mat-hint>\n }\n <mat-autocomplete\n autoSelectActiveOption\n #auto=\"matAutocomplete\"\n >\n @for (option of store.autoComplete(); track option;) {\n <mat-option [value]=\"option\">{{ option }}</mat-option>\n }\n </mat-autocomplete>\n </mat-form-field>\n `,\n styleUrls: ['./text-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n hostDirectives: [\n {\n directive: TextInputFieldMoleculeStore,\n inputs: ['appearance', 'type', 'name', 'label', 'control', 'placeholder', 'hint', 'autoComplete', 'pattern'],\n }\n ]\n})\nexport class TextInputFieldMolecule extends NgAtomicComponent {\n protected store = inject(TextInputFieldMoleculeStore)\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AASO,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,mBAAmB,CAAA;AAA7D,IAAA,WAAA,GAAA;;AACI,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAqB,SAAS,CAAC,CAAC;AAClD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAiC,MAAM,CAAC,CAAC;QACrD,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU,CAAC;AACvB,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACvB,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC,IAAI,WAAW,CAAkB,EAAE,CAAC,CAAC,CAAC;AACtD,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;QACnC,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU,CAAC;QACvB,IAAO,CAAA,OAAA,GAAG,KAAK,EAAU,CAAC;AAC1B,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAsB,EAAE,CAAC,CAAC;AACxD,KAAA;8GAVY,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA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AAC;AAC7G,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,kRAAA,CAAA,EAAA,CAAA;;;AClEH;;AAEG;;;;"}
@@ -23,10 +23,10 @@ class TextareaFieldMoleculeStore {
23
23
  this.control = input(new FormControl(''));
24
24
  this.rows = input(10);
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaFieldMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
27
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TextareaFieldMoleculeStore, isStandalone: true, selector: "molecules-textarea-field", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", 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 }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaFieldMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
27
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TextareaFieldMoleculeStore, isStandalone: true, selector: "molecules-textarea-field", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", 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 }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaFieldMoleculeStore, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaFieldMoleculeStore, decorators: [{
30
30
  type: Directive,
31
31
  args: [{ standalone: true, selector: 'molecules-textarea-field' }]
32
32
  }] });
@@ -41,8 +41,8 @@ class TextareaFieldMolecule extends NgAtomicComponent {
41
41
  $event.preventDefault();
42
42
  }
43
43
  }
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
45
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: TextareaFieldMolecule, isStandalone: true, selector: "molecules-textarea-field", host: { classAttribute: "molecule field" }, usesInheritance: true, hostDirectives: [{ directive: TextareaFieldMoleculeStore, inputs: ["label", "label", "appearance", "appearance", "hint", "hint", "placeholder", "placeholder", "floatLabel", "floatLabel", "control", "control", "rows", "rows"] }], ngImport: i0, template: `
44
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
45
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TextareaFieldMolecule, isStandalone: true, selector: "molecules-textarea-field", host: { classAttribute: "molecule field" }, usesInheritance: true, hostDirectives: [{ directive: TextareaFieldMoleculeStore, inputs: ["label", "label", "appearance", "appearance", "hint", "hint", "placeholder", "placeholder", "floatLabel", "floatLabel", "control", "control", "rows", "rows"] }], ngImport: i0, template: `
46
46
  <mat-form-field [appearance]="store.appearance()" [floatLabel]="store.floatLabel()">
47
47
  <mat-label>{{ store.label() }}</mat-label>
48
48
  <textarea
@@ -60,7 +60,7 @@ class TextareaFieldMolecule extends NgAtomicComponent {
60
60
  }
61
61
  </mat-form-field>`, isInline: true, styles: [":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.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: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaFieldMolecule, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaFieldMolecule, decorators: [{
64
64
  type: Component,
65
65
  args: [{ selector: 'molecules-textarea-field', standalone: true, imports: [
66
66
  CommonModule,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-textarea-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/textarea-field/textarea-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, input, inject } from '@angular/core';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\n\nexport enum ActionId {\n CTRL_ENTER_KEY_UP = 'Ctrl Enter Key Up',\n}\n\n@Directive({ standalone: true, selector: 'molecules-textarea-field' })\nexport class TextareaFieldMoleculeStore {\n readonly label = input('label');\n readonly appearance = input<'legacy' | 'standard' | 'fill' | 'outline'>('outline');\n readonly hint = input<string>(null);\n readonly placeholder = input('placeholder');\n readonly floatLabel = input<'auto' | 'always' | 'never'>('auto');\n readonly control = input(new FormControl(''));\n readonly rows = input(10);\n}\n\n@Component({\n selector: 'molecules-textarea-field',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\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 <textarea\n matInput\n [formControl]=\"store.control()\"\n [placeholder]=\"store.placeholder()\"\n (keyup)=\"onKeyup($event)\"\n [rows]=\"store.rows()\"\n ></textarea>\n @if (store.control().errors) {\n <mat-error>{{ store.control().errors | error }}</mat-error>\n }\n @if (store.hint()) {\n <mat-hint>{{ store.hint() }}</mat-hint>\n }\n </mat-form-field>`,\n styleUrls: ['./textarea-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n hostDirectives: [\n {\n directive: TextareaFieldMoleculeStore,\n inputs: ['label', 'appearance', 'hint', 'placeholder', 'floatLabel', 'control', 'rows'],\n },\n ],\n})\nexport class TextareaFieldMolecule extends NgAtomicComponent {\n protected readonly store = inject(TextareaFieldMoleculeStore);\n\n protected onKeyup($event) {\n if($event.ctrlKey && $event.key === 'Enter') {\n this.dispatch({id: ActionId.CTRL_ENTER_KEY_UP});\n $event.preventDefault();\n }\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;IAOY,SAEX;AAFD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,mBAAA,CAAA,GAAA,mBAAuC,CAAA;AACzC,CAAC,EAFW,QAAQ,KAAR,QAAQ,GAEnB,EAAA,CAAA,CAAA,CAAA;MAGY,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AACvB,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAA6C,SAAS,CAAC,CAAC;AAC1E,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAS,IAAI,CAAC,CAAC;AAC3B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;AACnC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAA8B,MAAM,CAAC,CAAC;QACxD,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC,IAAI,WAAW,CAAC,EAAE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,0BAA0B;AACrC,4BAAA,MAAM,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,CAAC;AACxF,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,mEAAA,CAAA,EAAA,CAAA;;;ACxDH;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-textarea-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/textarea-field/textarea-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, input, inject } from '@angular/core';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\n\nexport enum ActionId {\n CTRL_ENTER_KEY_UP = 'Ctrl Enter Key Up',\n}\n\n@Directive({ standalone: true, selector: 'molecules-textarea-field' })\nexport class TextareaFieldMoleculeStore {\n readonly label = input('label');\n readonly appearance = input<'legacy' | 'standard' | 'fill' | 'outline'>('outline');\n readonly hint = input<string>(null);\n readonly placeholder = input('placeholder');\n readonly floatLabel = input<'auto' | 'always' | 'never'>('auto');\n readonly control = input(new FormControl(''));\n readonly rows = input(10);\n}\n\n@Component({\n selector: 'molecules-textarea-field',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\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 <textarea\n matInput\n [formControl]=\"store.control()\"\n [placeholder]=\"store.placeholder()\"\n (keyup)=\"onKeyup($event)\"\n [rows]=\"store.rows()\"\n ></textarea>\n @if (store.control().errors) {\n <mat-error>{{ store.control().errors | error }}</mat-error>\n }\n @if (store.hint()) {\n <mat-hint>{{ store.hint() }}</mat-hint>\n }\n </mat-form-field>`,\n styleUrls: ['./textarea-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n hostDirectives: [\n {\n directive: TextareaFieldMoleculeStore,\n inputs: ['label', 'appearance', 'hint', 'placeholder', 'floatLabel', 'control', 'rows'],\n },\n ],\n})\nexport class TextareaFieldMolecule extends NgAtomicComponent {\n protected readonly store = inject(TextareaFieldMoleculeStore);\n\n protected onKeyup($event) {\n if($event.ctrlKey && $event.key === 'Enter') {\n this.dispatch({id: ActionId.CTRL_ENTER_KEY_UP});\n $event.preventDefault();\n }\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;IAOY,SAEX;AAFD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,mBAAA,CAAA,GAAA,mBAAuC,CAAA;AACzC,CAAC,EAFW,QAAQ,KAAR,QAAQ,GAEnB,EAAA,CAAA,CAAA,CAAA;MAGY,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AACvB,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAA6C,SAAS,CAAC,CAAC;AAC1E,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAS,IAAI,CAAC,CAAC;AAC3B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;AACnC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAA8B,MAAM,CAAC,CAAC;QACxD,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC,IAAI,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC;AACrC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,EAAE,CAAC,CAAC;AAC3B,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E,SAAS,EAAE,MAAM,CAAC;AACxF,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,mEAAA,CAAA,EAAA,CAAA;;;ACxDH;;AAEG;;;;"}
@@ -20,11 +20,12 @@ class TreeColumnMoleculeStore {
20
20
  this.headerText = input('');
21
21
  this.sort = input('none');
22
22
  this.treeControl = input(new FlatTreeControl((node) => node.level, (node) => node.isExpandable));
23
+ this.width = input(200);
23
24
  }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeColumnMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
25
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TreeColumnMoleculeStore, isStandalone: true, selector: "molecules-tree-column", inputs: { headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, sort: { classPropertyName: "sort", publicName: "sort", isSignal: true, isRequired: false, transformFunction: null }, treeControl: { classPropertyName: "treeControl", publicName: "treeControl", 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: TreeColumnMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
26
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TreeColumnMoleculeStore, isStandalone: true, selector: "molecules-tree-column", inputs: { headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, sort: { classPropertyName: "sort", publicName: "sort", isSignal: true, isRequired: false, transformFunction: null }, treeControl: { classPropertyName: "treeControl", publicName: "treeControl", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
26
27
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeColumnMoleculeStore, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TreeColumnMoleculeStore, decorators: [{
28
29
  type: Directive,
29
30
  args: [{ standalone: true, selector: 'molecules-tree-column' }]
30
31
  }] });
@@ -39,8 +40,8 @@ class TreeColumnMolecule extends MatTextColumn {
39
40
  this.text = 'copied!';
40
41
  setTimeout(() => this.text = 'copy', 1000);
41
42
  }
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeColumnMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
43
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: TreeColumnMolecule, isStandalone: true, selector: "molecules-tree-column", outputs: { headerClick: "headerClick" }, usesInheritance: true, hostDirectives: [{ directive: TreeColumnMoleculeStore, inputs: ["headerText", "headerText", "sort", "sort", "treeControl", "treeControl"] }], ngImport: i0, template: `
43
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TreeColumnMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
44
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TreeColumnMolecule, isStandalone: true, selector: "molecules-tree-column", outputs: { headerClick: "headerClick" }, usesInheritance: true, hostDirectives: [{ directive: TreeColumnMoleculeStore, inputs: ["headerText", "headerText", "sort", "sort", "treeControl", "treeControl", "width", "width"] }], ngImport: i0, template: `
44
45
  <ng-container matColumnDef>
45
46
  <th
46
47
  mat-header-cell
@@ -63,9 +64,9 @@ class TreeColumnMolecule extends MatTextColumn {
63
64
  <td mat-cell *matCellDef="let data">
64
65
  <p class="nowrap"
65
66
  [cdkCopyToClipboard]="data | dataAccessor: name | smartExp: name"
66
- [style.maxWidth.px]="data.level * 48 + 200"
67
+ [style.maxWidth.px]="data.level * 48 + store.width()"
67
68
  >
68
- <span [style.width.px]="data.level * 48"></span>
69
+ <span [style.paddingLeft.px]="(data.level + (data.isExpandable ? 0 : 1)) * 48"></span>
69
70
  @if (data.isExpandable) {
70
71
  <button
71
72
  mat-icon-button
@@ -80,9 +81,9 @@ class TreeColumnMolecule extends MatTextColumn {
80
81
  <span> {{ data | dataAccessor: name }} </span>
81
82
  </p>
82
83
  </td>
83
- </ng-container> `, isInline: true, styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p.nowrap,td[mat-cell] p.nowrap{margin-block-start:0em;margin-block-end:0em;display:flex;justify-content:flex-start;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i1.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: SmartExpModule }, { kind: "pipe", type: i2.SmartExpPipe, name: "smartExp" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i5.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i5.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i5.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i5.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i5.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatTooltipModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
84
+ </ng-container> `, isInline: true, styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p.nowrap,td[mat-cell] p.nowrap{margin-block-start:0em;margin-block-end:0em;display:flex;justify-content:flex-start;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i1.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: SmartExpModule }, { kind: "pipe", type: i2.SmartExpPipe, name: "smartExp" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i5.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i5.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i5.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i5.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i5.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatTooltipModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
84
85
  }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeColumnMolecule, decorators: [{
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TreeColumnMolecule, decorators: [{
86
87
  type: Component,
87
88
  args: [{ selector: 'molecules-tree-column', standalone: true, imports: [
88
89
  CommonModule,
@@ -116,9 +117,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
116
117
  <td mat-cell *matCellDef="let data">
117
118
  <p class="nowrap"
118
119
  [cdkCopyToClipboard]="data | dataAccessor: name | smartExp: name"
119
- [style.maxWidth.px]="data.level * 48 + 200"
120
+ [style.maxWidth.px]="data.level * 48 + store.width()"
120
121
  >
121
- <span [style.width.px]="data.level * 48"></span>
122
+ <span [style.paddingLeft.px]="(data.level + (data.isExpandable ? 0 : 1)) * 48"></span>
122
123
  @if (data.isExpandable) {
123
124
  <button
124
125
  mat-icon-button
@@ -140,6 +141,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
140
141
  'headerText',
141
142
  'sort',
142
143
  'treeControl',
144
+ 'width',
143
145
  ],
144
146
  }
145
147
  ], styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p.nowrap,td[mat-cell] p.nowrap{margin-block-start:0em;margin-block-end:0em;display:flex;justify-content:flex-start;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-tree-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/tree-column/tree-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/tree-column/ng-atomic-components-molecules-tree-column.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, EventEmitter, Input, Output, ViewEncapsulation, inject, input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule, MatTextColumn } from '@angular/material/table';\nimport { ClipboardModule } from '@angular/cdk/clipboard';\nimport { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { FlatTreeControl } from '@angular/cdk/tree';\n\n@Directive({standalone: true, selector: 'molecules-tree-column'})\nexport class TreeColumnMoleculeStore {\n readonly headerText = input<string>('');\n readonly sort = input<'asc' | 'desc' | 'none'>('none');\n readonly treeControl = input(new FlatTreeControl<any>(\n (node) => node.level,\n (node) => node.isExpandable\n ));\n}\n\n@Component({\n selector: 'molecules-tree-column',\n standalone: true,\n imports: [\n CommonModule,\n ClipboardModule,\n SmartExpModule,\n DataAccessorPipe,\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatTooltipModule,\n ],\n template: `\n <ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center; margin-left: 48px\">\n <span>{{ store.headerText() }}</span>\n @switch(store.sort()) {\n @case ('asc') {\n <mat-icon class=\"order\">south</mat-icon>\n }\n @case ('desc') { \n <mat-icon class=\"order\">north</mat-icon>\n }\n }\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\"> \n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n [style.maxWidth.px]=\"data.level * 48 + 200\"\n >\n <span [style.width.px]=\"data.level * 48\"></span>\n @if (data.isExpandable) {\n <button \n mat-icon-button \n [style.visibility]=\"!data.isExpandable ? 'hidden' : ''\"\n (click)=\"store.treeControl().toggle(data)\"\n >\n <mat-icon>\n {{ store.treeControl().isExpanded(data) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </button>\n }\n <span> {{ data | dataAccessor: name }} </span>\n </p>\n </td>\n </ng-container> `,\n styleUrls: ['./tree-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: TreeColumnMoleculeStore,\n inputs: [\n 'headerText',\n 'sort',\n 'treeControl',\n ],\n }\n ],\n})\nexport class TreeColumnMolecule<T> extends MatTextColumn<T> {\n protected store = inject(TreeColumnMoleculeStore);\n\n @Output()\n headerClick = new EventEmitter<void>();\n\n text = 'copy';\n\n copied() {\n this.text = 'copied!';\n setTimeout(() => this.text = 'copy', 1000);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAYa,uBAAuB,CAAA;AADpC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAA0B,MAAM,CAAC,CAAC;QAC9C,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC,IAAI,eAAe,CAC9C,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,EACpB,CAAC,IAAI,KAAK,IAAI,CAAC,YAAY,CAC5B,CAAC,CAAC;AACJ,KAAA;8GAPY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAA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QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,cAAc,kdACd,gBAAgB,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAyDP,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBApE9B,SAAS;+BACE,uBAAuB,EAAA,UAAA,EACrB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,eAAe;wBACf,cAAc;wBACd,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,cAAc;wBACd,gBAAgB;qBACjB,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCO,kBAAA,CAAA,EAAA,aAAA,EAEF,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,uBAAuB;AAClC,4BAAA,MAAM,EAAE;gCACN,YAAY;gCACZ,MAAM;gCACN,aAAa;AACd,6BAAA;AACF,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,6WAAA,CAAA,EAAA,CAAA;8BAMD,WAAW,EAAA,CAAA;sBADV,MAAM;;;AC5FT;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-tree-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/tree-column/tree-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/tree-column/ng-atomic-components-molecules-tree-column.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, EventEmitter, Input, Output, ViewEncapsulation, inject, input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule, MatTextColumn } from '@angular/material/table';\nimport { ClipboardModule } from '@angular/cdk/clipboard';\nimport { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { FlatTreeControl } from '@angular/cdk/tree';\n\n@Directive({standalone: true, selector: 'molecules-tree-column'})\nexport class TreeColumnMoleculeStore {\n readonly headerText = input<string>('');\n readonly sort = input<'asc' | 'desc' | 'none'>('none');\n readonly treeControl = input(new FlatTreeControl<any>(\n (node) => node.level,\n (node) => node.isExpandable\n ));\n readonly width = input<number>(200);\n}\n\n@Component({\n selector: 'molecules-tree-column',\n standalone: true,\n imports: [\n CommonModule,\n ClipboardModule,\n SmartExpModule,\n DataAccessorPipe,\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatTooltipModule,\n ],\n template: `\n <ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center; margin-left: 48px\">\n <span>{{ store.headerText() }}</span>\n @switch(store.sort()) {\n @case ('asc') {\n <mat-icon class=\"order\">south</mat-icon>\n }\n @case ('desc') { \n <mat-icon class=\"order\">north</mat-icon>\n }\n }\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\"> \n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n [style.maxWidth.px]=\"data.level * 48 + store.width()\"\n >\n <span [style.paddingLeft.px]=\"(data.level + (data.isExpandable ? 0 : 1)) * 48\"></span>\n @if (data.isExpandable) {\n <button \n mat-icon-button \n [style.visibility]=\"!data.isExpandable ? 'hidden' : ''\"\n (click)=\"store.treeControl().toggle(data)\"\n >\n <mat-icon>\n {{ store.treeControl().isExpanded(data) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </button>\n }\n <span> {{ data | dataAccessor: name }} </span>\n </p>\n </td>\n </ng-container> `,\n styleUrls: ['./tree-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: TreeColumnMoleculeStore,\n inputs: [\n 'headerText',\n 'sort',\n 'treeControl',\n 'width',\n ],\n }\n ],\n})\nexport class TreeColumnMolecule<T> extends MatTextColumn<T> {\n protected store = inject(TreeColumnMoleculeStore);\n\n @Output()\n headerClick = new EventEmitter<void>();\n\n text = 'copy';\n\n copied() {\n this.text = 'copied!';\n setTimeout(() => this.text = 'copy', 1000);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAYa,uBAAuB,CAAA;AADpC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAA0B,MAAM,CAAC,CAAC;QAC9C,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC,IAAI,eAAe,CAC9C,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,EACpB,CAAC,IAAI,KAAK,IAAI,CAAC,YAAY,CAC5B,CAAC,CAAC;AACM,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,GAAG,CAAC,CAAC;AACrC,KAAA;8GARY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,E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oleculesModule {
30
30
  ],
31
31
  };
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: NgAtomicMoleculesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.2", ngImport: i0, type: NgAtomicMoleculesModule, imports: [MatChipsModule] }); }
35
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: NgAtomicMoleculesModule, imports: [MatChipsModule] }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicMoleculesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicMoleculesModule, imports: [MatChipsModule] }); }
35
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicMoleculesModule, imports: [MatChipsModule] }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: NgAtomicMoleculesModule, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicMoleculesModule, decorators: [{
38
38
  type: NgModule,
39
39
  args: [{
40
40
  imports: [
@@ -11,13 +11,13 @@ let ActionButtonsSectionOrganismStore = class ActionButtonsSectionOrganismStore
11
11
  this.actions = input([]);
12
12
  this.type = input('raised');
13
13
  }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionButtonsSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
15
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: ActionButtonsSectionOrganismStore, isStandalone: true, selector: "organisms-action-buttons-section", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "organism section" }, usesInheritance: true, ngImport: i0 }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionButtonsSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
15
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: ActionButtonsSectionOrganismStore, isStandalone: true, selector: "organisms-action-buttons-section", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "organism section" }, usesInheritance: true, ngImport: i0 }); }
16
16
  };
17
17
  ActionButtonsSectionOrganismStore = __decorate([
18
18
  TokenizedType()
19
19
  ], ActionButtonsSectionOrganismStore);
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionButtonsSectionOrganismStore, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionButtonsSectionOrganismStore, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
23
  standalone: true,
@@ -30,8 +30,8 @@ class ActionButtonsSectionOrganism extends NgAtomicComponent {
30
30
  super(...arguments);
31
31
  this.store = inject(ActionButtonsSectionOrganismStore);
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionButtonsSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: ActionButtonsSectionOrganism, isStandalone: true, selector: "organisms-action-buttons-section", host: { classAttribute: "organism section" }, usesInheritance: true, hostDirectives: [{ directive: ActionButtonsSectionOrganismStore, inputs: ["actions", "actions", "type", "type"] }], ngImport: i0, template: `
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionButtonsSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: ActionButtonsSectionOrganism, isStandalone: true, selector: "organisms-action-buttons-section", host: { classAttribute: "organism section" }, usesInheritance: true, hostDirectives: [{ directive: ActionButtonsSectionOrganismStore, inputs: ["actions", "actions", "type", "type"] }], ngImport: i0, template: `
35
35
  @for (action of store.actions(); track action.id) {
36
36
  @switch (store.type()) {
37
37
  @case ('basic') {
@@ -76,9 +76,9 @@ class ActionButtonsSectionOrganism extends NgAtomicComponent {
76
76
  }
77
77
  }
78
78
  }
79
- `, isInline: true, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-action-buttons-section-jHjJ: var(--vertical-padding);--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-jHjJ: var(--horizontal-padding)}:host{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-jHjJ);box-sizing:border-box}:host button{width:100%;height:48px;text-wrap:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
79
+ `, isInline: true, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-action-buttons-section-NuDS: var(--vertical-padding);--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-NuDS: var(--horizontal-padding)}:host{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-NuDS);box-sizing:border-box}:host button{width:100%;height:48px;text-wrap:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: ActionButtonsSectionOrganism, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionButtonsSectionOrganism, decorators: [{
82
82
  type: Component,
83
83
  args: [{ selector: 'organisms-action-buttons-section', standalone: true, imports: [
84
84
  MatButtonModule,
@@ -132,7 +132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
132
132
  directive: ActionButtonsSectionOrganismStore,
133
133
  inputs: ['actions', 'type'],
134
134
  }
135
- ], styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-action-buttons-section-jHjJ: var(--vertical-padding);--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-jHjJ: var(--horizontal-padding)}:host{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-jHjJ);box-sizing:border-box}:host button{width:100%;height:48px;text-wrap:nowrap}\n"] }]
135
+ ], styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-action-buttons-section-NuDS: var(--vertical-padding);--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-buttons-section-NuDS: var(--horizontal-padding)}:host{display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-NuDS);box-sizing:border-box}:host button{width:100%;height:48px;text-wrap:nowrap}\n"] }]
136
136
  }] });
137
137
 
138
138
  /**