@ng-atomic/components 5.14.0 → 6.0.3

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 (684) hide show
  1. package/atoms/chips-input/chips-input.atom.d.ts +1 -1
  2. package/atoms/icon/icon.atom.d.ts +1 -1
  3. package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +1 -1
  4. package/{esm2020 → esm2022}/atoms/chips-input/chips-input.atom.mjs +8 -8
  5. package/esm2022/atoms/icon/icon.atom.mjs +51 -0
  6. package/{esm2020 → esm2022}/atoms/smart-menu-button/smart-menu-button.atom.mjs +10 -10
  7. package/esm2022/extras/editor/editor.component.mjs +47 -0
  8. package/{esm2020 → esm2022}/frames/auto-layout/auto-layout.frame.mjs +5 -5
  9. package/{esm2020 → esm2022}/frames/card/card.frame.mjs +4 -4
  10. package/esm2022/frames/divider/divider.frame.mjs +84 -0
  11. package/esm2022/frames/drawer/drawer.frame.mjs +55 -0
  12. package/esm2022/frames/fab/fab.frame.mjs +44 -0
  13. package/esm2022/frames/fab/fab.service.mjs +27 -0
  14. package/esm2022/frames/line-up/line-up.animations.mjs +14 -0
  15. package/esm2022/frames/line-up/line-up.frame.mjs +112 -0
  16. package/esm2022/frames/line-up/resize-observer.mjs +16 -0
  17. package/{esm2020 → esm2022}/frames/loading/loading.frame.mjs +6 -6
  18. package/esm2022/frames/overlay/overlay.animations.mjs +12 -0
  19. package/esm2022/frames/overlay/overlay.frame.mjs +29 -0
  20. package/esm2022/frames/router-outlet/index.mjs +2 -0
  21. package/esm2022/frames/router-outlet/ng-atomic-components-frames-router-outlet.mjs +5 -0
  22. package/esm2022/frames/router-outlet/router-outlet.frame.mjs +77 -0
  23. package/esm2022/frames/scroll/scroll.frame.mjs +28 -0
  24. package/esm2022/frames/scroll-v2/index.mjs +2 -0
  25. package/esm2022/frames/scroll-v2/ng-atomic-components-frames-scroll-v2.mjs +5 -0
  26. package/esm2022/frames/scroll-v2/scroll.frame.mjs +34 -0
  27. package/esm2022/frames/side-nav/index.mjs +2 -0
  28. package/esm2022/frames/side-nav/ng-atomic-components-frames-side-nav.mjs +5 -0
  29. package/esm2022/frames/side-nav/side-nav.frame.mjs +126 -0
  30. package/{esm2020 → esm2022}/frames/smart-menu/smart-menu.frame.mjs +5 -5
  31. package/esm2022/frames/vertical-hide/index.mjs +2 -0
  32. package/esm2022/frames/vertical-hide/ng-atomic-components-frames-vertical-hide.mjs +5 -0
  33. package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +30 -0
  34. package/esm2022/index.mjs +25 -0
  35. package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +94 -0
  36. package/esm2022/molecules/action-input-field/index.mjs +2 -0
  37. package/esm2022/molecules/action-input-field/ng-atomic-components-molecules-action-input-field.mjs +5 -0
  38. package/esm2022/molecules/actions-column/actions-column.molecule.mjs +103 -0
  39. package/{esm2020 → esm2022}/molecules/checkbox-column/checkbox-column.molecule.mjs +8 -8
  40. package/{esm2020 → esm2022}/molecules/chips-input-field/chips-input-field.molecule.mjs +10 -6
  41. package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +68 -0
  42. package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +126 -0
  43. package/esm2022/molecules/file-input-field/index.mjs +2 -0
  44. package/esm2022/molecules/file-input-field/ng-atomic-components-molecules-file-input-field.mjs +5 -0
  45. package/{esm2020 → esm2022}/molecules/header/header.molecule.mjs +4 -4
  46. package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +68 -0
  47. package/{esm2020 → esm2022}/molecules/nested-menu/nested-menu.molecule.mjs +6 -6
  48. package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +60 -0
  49. package/{esm2020 → esm2022}/molecules/smart-column/smart-column.molecule.mjs +4 -4
  50. package/esm2022/molecules/text-input-field/text-input-field.molecule.mjs +104 -0
  51. package/esm2022/molecules/textarea-field/textarea-field.molecule.mjs +77 -0
  52. package/{esm2020 → esm2022}/molecules/tree-column/tree-column.molecule.mjs +6 -6
  53. package/{esm2020 → esm2022}/organisms/action-buttons-section/action-buttons-section.organism.mjs +5 -5
  54. package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +49 -0
  55. package/esm2022/organisms/action-input-section/index.mjs +2 -0
  56. package/esm2022/organisms/action-input-section/ng-atomic-components-organisms-action-input-section.mjs +5 -0
  57. package/{esm2020 → esm2022}/organisms/card-input-section/card-input-section.organism.mjs +5 -5
  58. package/{esm2020 → esm2022}/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +5 -5
  59. package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +41 -0
  60. package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +77 -0
  61. package/esm2022/organisms/file-input-section/index.mjs +2 -0
  62. package/esm2022/organisms/file-input-section/ng-atomic-components-organisms-file-input-section.mjs +5 -0
  63. package/{esm2020 → esm2022}/organisms/filters-section/filters-section.organism.mjs +6 -6
  64. package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +110 -0
  65. package/{esm2020 → esm2022}/organisms/grid-toolbar/grid-toolbar.organism.mjs +6 -6
  66. package/{esm2020 → esm2022}/organisms/heading/heading.organism.mjs +5 -5
  67. package/esm2022/organisms/menu-footer/index.mjs +2 -0
  68. package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +34 -0
  69. package/esm2022/organisms/menu-footer/ng-atomic-components-organisms-menu-footer.mjs +5 -0
  70. package/esm2022/organisms/menu-header/index.mjs +2 -0
  71. package/esm2022/organisms/menu-header/menu-header.organism.mjs +30 -0
  72. package/esm2022/organisms/menu-header/ng-atomic-components-organisms-menu-header.mjs +5 -0
  73. package/{esm2020 → esm2022}/organisms/mermaid-section/mermaid-section.organism.mjs +6 -6
  74. package/{esm2020 → esm2022}/organisms/message-input-section/message-input-section.organism.mjs +4 -4
  75. package/{esm2020 → esm2022}/organisms/messages-section/messages-section.organism.mjs +5 -5
  76. package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +63 -0
  77. package/esm2022/organisms/navigator/navigator.organism.mjs +70 -0
  78. package/{esm2020 → esm2022}/organisms/paginator/paginator.organism.mjs +6 -6
  79. package/{esm2020 → esm2022}/organisms/select-input-section/select-input-section.organism.mjs +5 -5
  80. package/esm2022/organisms/selection-list/index.mjs +2 -0
  81. package/esm2022/organisms/selection-list/ng-atomic-components-organisms-selection-list.mjs +5 -0
  82. package/esm2022/organisms/selection-list/selection-list.organism.mjs +114 -0
  83. package/esm2022/organisms/smart-list/smart-list.organism.mjs +144 -0
  84. package/esm2022/organisms/smart-table/smart-table.organism.mjs +210 -0
  85. package/{esm2020 → esm2022}/organisms/social-login-section/social-login-section.organism.mjs +5 -5
  86. package/esm2022/organisms/terminal/index.mjs +2 -0
  87. package/esm2022/organisms/terminal/ng-atomic-components-organisms-terminal.mjs +5 -0
  88. package/esm2022/organisms/terminal/terminal.organism.mjs +28 -0
  89. package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +52 -0
  90. package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +52 -0
  91. package/esm2022/organisms/toolbar/index.mjs +2 -0
  92. package/esm2022/organisms/toolbar/ng-atomic-components-organisms-toolbar.mjs +5 -0
  93. package/esm2022/organisms/toolbar/toolbar.organism.mjs +98 -0
  94. package/{esm2020 → esm2022}/organisms/tree-section/tree-section.organism.mjs +6 -6
  95. package/esm2022/organisms/vertical-divider/index.mjs +2 -0
  96. package/esm2022/organisms/vertical-divider/ng-atomic-components-organisms-vertical-divider.mjs +5 -0
  97. package/esm2022/organisms/vertical-divider/vertical-divider.organism.mjs +17 -0
  98. package/{esm2020 → esm2022}/pages/_index/index.module.mjs +6 -6
  99. package/{esm2020 → esm2022}/pages/_index/index.page.mjs +4 -4
  100. package/{esm2020 → esm2022}/pages/blank/blank.page.mjs +4 -4
  101. package/esm2022/templates/code-editor/code-editor.template.mjs +97 -0
  102. package/esm2022/templates/code-editor/index.mjs +2 -0
  103. package/esm2022/templates/code-editor/ng-atomic-components-templates-code-editor.mjs +5 -0
  104. package/esm2022/templates/entrance/entrance.template.mjs +107 -0
  105. package/esm2022/templates/file-tree/file-tree.template.mjs +94 -0
  106. package/esm2022/templates/file-tree/index.mjs +2 -0
  107. package/esm2022/templates/file-tree/ng-atomic-components-templates-file-tree.mjs +5 -0
  108. package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +64 -0
  109. package/esm2022/templates/icon-button-menu/index.mjs +2 -0
  110. package/esm2022/templates/icon-button-menu/ng-atomic-components-templates-icon-button-menu.mjs +5 -0
  111. package/{esm2020 → esm2022}/templates/loading/loading.template.mjs +4 -4
  112. package/esm2022/templates/menu/index.mjs +2 -0
  113. package/esm2022/templates/menu/menu.template.mjs +64 -0
  114. package/{esm2020 → esm2022}/templates/messages/messages.template.mjs +6 -6
  115. package/esm2022/templates/selection/index.mjs +2 -0
  116. package/esm2022/templates/selection/ng-atomic-components-templates-selection.mjs +5 -0
  117. package/esm2022/templates/selection/selection.template.mjs +128 -0
  118. package/esm2022/templates/smart-crud/smart-crud.template.mjs +256 -0
  119. package/esm2022/templates/smart-index/smart-index.template.mjs +346 -0
  120. package/esm2022/templates/tab-editor/index.mjs +2 -0
  121. package/esm2022/templates/tab-editor/ng-atomic-components-templates-tab-editor.mjs +5 -0
  122. package/esm2022/templates/tab-editor/tab-editor.template.mjs +76 -0
  123. package/esm2022/templates/term/index.mjs +2 -0
  124. package/esm2022/templates/term/ng-atomic-components-templates-term.mjs +5 -0
  125. package/esm2022/templates/term/term.template.mjs +79 -0
  126. package/extras/editor/editor.component.d.ts +3 -3
  127. package/{fesm2020 → fesm2022}/ng-atomic-components-atoms-chips-input.mjs +7 -7
  128. package/{fesm2020 → fesm2022}/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
  129. package/fesm2022/ng-atomic-components-atoms-icon.mjs +58 -0
  130. package/fesm2022/ng-atomic-components-atoms-icon.mjs.map +1 -0
  131. package/{fesm2015 → fesm2022}/ng-atomic-components-atoms-smart-menu-button.mjs +9 -9
  132. package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -0
  133. package/{fesm2020 → fesm2022}/ng-atomic-components-extras-editor.mjs +12 -6
  134. package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -0
  135. package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +21 -0
  136. package/{fesm2015 → fesm2022}/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
  137. package/{fesm2020 → fesm2022}/ng-atomic-components-frames-card.mjs +3 -3
  138. package/{fesm2015 → fesm2022}/ng-atomic-components-frames-card.mjs.map +1 -1
  139. package/{fesm2015 → fesm2022}/ng-atomic-components-frames-divider.mjs +27 -11
  140. package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -0
  141. package/fesm2022/ng-atomic-components-frames-drawer.mjs +62 -0
  142. package/fesm2022/ng-atomic-components-frames-drawer.mjs.map +1 -0
  143. package/fesm2022/ng-atomic-components-frames-fab.mjs +75 -0
  144. package/fesm2022/ng-atomic-components-frames-fab.mjs.map +1 -0
  145. package/fesm2022/ng-atomic-components-frames-line-up.mjs +132 -0
  146. package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -0
  147. package/{fesm2015 → fesm2022}/ng-atomic-components-frames-loading.mjs +5 -5
  148. package/{fesm2020 → fesm2022}/ng-atomic-components-frames-loading.mjs.map +1 -1
  149. package/fesm2022/ng-atomic-components-frames-overlay.mjs +47 -0
  150. package/fesm2022/ng-atomic-components-frames-overlay.mjs.map +1 -0
  151. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +84 -0
  152. package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -0
  153. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +41 -0
  154. package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs.map +1 -0
  155. package/fesm2022/ng-atomic-components-frames-scroll.mjs +35 -0
  156. package/fesm2022/ng-atomic-components-frames-scroll.mjs.map +1 -0
  157. package/fesm2022/ng-atomic-components-frames-side-nav.mjs +133 -0
  158. package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -0
  159. package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +43 -0
  160. package/{fesm2020 → fesm2022}/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
  161. package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +37 -0
  162. package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs.map +1 -0
  163. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +101 -0
  164. package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -0
  165. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-actions-column.mjs +6 -6
  166. package/{fesm2015 → fesm2022}/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  167. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-checkbox-column.mjs +7 -7
  168. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
  169. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-chips-input-field.mjs +9 -5
  170. package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -0
  171. package/{fesm2015 → fesm2022}/ng-atomic-components-molecules-date-input-field.mjs +24 -4
  172. package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs.map +1 -0
  173. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +133 -0
  174. package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -0
  175. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-header.mjs +3 -3
  176. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-header.mjs.map +1 -1
  177. package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +75 -0
  178. package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -0
  179. package/{fesm2015 → fesm2022}/ng-atomic-components-molecules-nested-menu.mjs +5 -5
  180. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-nested-menu.mjs.map +1 -1
  181. package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +67 -0
  182. package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs.map +1 -0
  183. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-smart-column.mjs +3 -3
  184. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  185. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +111 -0
  186. package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs.map +1 -0
  187. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +84 -0
  188. package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -0
  189. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-tree-column.mjs +5 -5
  190. package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
  191. package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +34 -0
  192. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
  193. package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +56 -0
  194. package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs.map +1 -0
  195. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-card-input-section.mjs +4 -4
  196. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
  197. package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
  198. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
  199. package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +48 -0
  200. package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs.map +1 -0
  201. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +84 -0
  202. package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs.map +1 -0
  203. package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-filters-section.mjs +5 -5
  204. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-filters-section.mjs.map +1 -1
  205. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +115 -0
  206. package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -0
  207. package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-grid-toolbar.mjs +5 -5
  208. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -1
  209. package/fesm2022/ng-atomic-components-organisms-heading.mjs +27 -0
  210. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-heading.mjs.map +1 -1
  211. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +41 -0
  212. package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs.map +1 -0
  213. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +37 -0
  214. package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -0
  215. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-mermaid-section.mjs +5 -5
  216. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
  217. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-message-input-section.mjs +3 -3
  218. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-message-input-section.mjs.map +1 -1
  219. package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +27 -0
  220. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-messages-section.mjs.map +1 -1
  221. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +70 -0
  222. package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs.map +1 -0
  223. package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-navigator.mjs +10 -11
  224. package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -0
  225. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-paginator.mjs +5 -5
  226. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-paginator.mjs.map +1 -1
  227. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-select-input-section.mjs +4 -4
  228. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
  229. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +121 -0
  230. package/fesm2022/ng-atomic-components-organisms-selection-list.mjs.map +1 -0
  231. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +150 -0
  232. package/fesm2022/ng-atomic-components-organisms-smart-list.mjs.map +1 -0
  233. package/fesm2022/ng-atomic-components-organisms-smart-table.mjs +217 -0
  234. package/fesm2022/ng-atomic-components-organisms-smart-table.mjs.map +1 -0
  235. package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +29 -0
  236. package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
  237. package/fesm2022/ng-atomic-components-organisms-terminal.mjs +35 -0
  238. package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -0
  239. package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +59 -0
  240. package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs.map +1 -0
  241. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +59 -0
  242. package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs.map +1 -0
  243. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +105 -0
  244. package/fesm2022/ng-atomic-components-organisms-toolbar.mjs.map +1 -0
  245. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-tree-section.mjs +5 -5
  246. package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
  247. package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +24 -0
  248. package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs.map +1 -0
  249. package/{fesm2020 → fesm2022}/ng-atomic-components-pages-_index.mjs +8 -8
  250. package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -0
  251. package/{fesm2020 → fesm2022}/ng-atomic-components-pages-blank.mjs +3 -3
  252. package/{fesm2015 → fesm2022}/ng-atomic-components-pages-blank.mjs.map +1 -1
  253. package/fesm2022/ng-atomic-components-templates-code-editor.mjs +101 -0
  254. package/fesm2022/ng-atomic-components-templates-code-editor.mjs.map +1 -0
  255. package/fesm2022/ng-atomic-components-templates-entrance.mjs +114 -0
  256. package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -0
  257. package/fesm2022/ng-atomic-components-templates-file-tree.mjs +100 -0
  258. package/fesm2022/ng-atomic-components-templates-file-tree.mjs.map +1 -0
  259. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +71 -0
  260. package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs.map +1 -0
  261. package/{fesm2020 → fesm2022}/ng-atomic-components-templates-loading.mjs +3 -3
  262. package/{fesm2020 → fesm2022}/ng-atomic-components-templates-loading.mjs.map +1 -1
  263. package/fesm2022/ng-atomic-components-templates-menu.mjs +71 -0
  264. package/fesm2022/ng-atomic-components-templates-menu.mjs.map +1 -0
  265. package/{fesm2020 → fesm2022}/ng-atomic-components-templates-messages.mjs +5 -5
  266. package/{fesm2020 → fesm2022}/ng-atomic-components-templates-messages.mjs.map +1 -1
  267. package/fesm2022/ng-atomic-components-templates-selection.mjs +135 -0
  268. package/fesm2022/ng-atomic-components-templates-selection.mjs.map +1 -0
  269. package/fesm2022/ng-atomic-components-templates-smart-crud.mjs +262 -0
  270. package/fesm2022/ng-atomic-components-templates-smart-crud.mjs.map +1 -0
  271. package/fesm2022/ng-atomic-components-templates-smart-index.mjs +353 -0
  272. package/fesm2022/ng-atomic-components-templates-smart-index.mjs.map +1 -0
  273. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +83 -0
  274. package/fesm2022/ng-atomic-components-templates-tab-editor.mjs.map +1 -0
  275. package/fesm2022/ng-atomic-components-templates-term.mjs +86 -0
  276. package/fesm2022/ng-atomic-components-templates-term.mjs.map +1 -0
  277. package/fesm2022/ng-atomic-components.mjs +32 -0
  278. package/fesm2022/ng-atomic-components.mjs.map +1 -0
  279. package/frames/divider/divider.frame.d.ts +12 -4
  280. package/frames/drawer/drawer.frame.d.ts +1 -1
  281. package/frames/fab/fab.frame.d.ts +4 -9
  282. package/frames/fab/fab.service.d.ts +5 -5
  283. package/frames/line-up/line-up.frame.d.ts +22 -21
  284. package/frames/line-up/resize-observer.d.ts +1 -1
  285. package/frames/loading/loading.frame.d.ts +1 -1
  286. package/frames/overlay/overlay.frame.d.ts +1 -1
  287. package/frames/router-outlet/index.d.ts +1 -0
  288. package/frames/router-outlet/router-outlet.frame.d.ts +14 -0
  289. package/frames/scroll-v2/index.d.ts +1 -0
  290. package/frames/scroll-v2/scroll.frame.d.ts +5 -0
  291. package/frames/side-nav/index.d.ts +1 -0
  292. package/frames/side-nav/side-nav.frame.d.ts +22 -0
  293. package/frames/smart-menu/smart-menu.frame.d.ts +1 -1
  294. package/frames/vertical-hide/index.d.ts +1 -0
  295. package/frames/vertical-hide/vertical-hide.frame.d.ts +6 -0
  296. package/index.d.ts +10 -1
  297. package/molecules/action-input-field/action-input-field.molecule.d.ts +23 -0
  298. package/molecules/action-input-field/index.d.ts +1 -0
  299. package/molecules/actions-column/actions-column.molecule.d.ts +1 -1
  300. package/molecules/checkbox-column/checkbox-column.molecule.d.ts +1 -1
  301. package/molecules/chips-input-field/chips-input-field.molecule.d.ts +1 -1
  302. package/molecules/date-input-field/date-input-field.molecule.d.ts +1 -1
  303. package/molecules/file-input-field/file-input-field.molecule.d.ts +35 -0
  304. package/molecules/file-input-field/index.d.ts +1 -0
  305. package/molecules/header/header.molecule.d.ts +1 -1
  306. package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +11 -3
  307. package/molecules/nested-menu/nested-menu.molecule.d.ts +1 -1
  308. package/molecules/select-input-field/select-input-field.molecule.d.ts +1 -1
  309. package/molecules/smart-column/smart-column.molecule.d.ts +1 -1
  310. package/molecules/text-input-field/text-input-field.molecule.d.ts +15 -8
  311. package/molecules/textarea-field/textarea-field.molecule.d.ts +1 -1
  312. package/molecules/tree-column/tree-column.molecule.d.ts +1 -1
  313. package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -1
  314. package/organisms/action-input-section/action-input-section.organism.d.ts +12 -0
  315. package/organisms/action-input-section/index.d.ts +1 -0
  316. package/organisms/card-input-section/card-input-section.organism.d.ts +1 -1
  317. package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +1 -1
  318. package/organisms/date-input-section/date-input-section.organism.d.ts +1 -1
  319. package/organisms/file-input-section/file-input-section.organism.d.ts +20 -0
  320. package/organisms/file-input-section/index.d.ts +1 -0
  321. package/organisms/filters-section/filters-section.organism.d.ts +1 -1
  322. package/organisms/graphql-editor/graphql-editor.organism.d.ts +6 -14
  323. package/organisms/grid-toolbar/grid-toolbar.organism.d.ts +1 -1
  324. package/organisms/heading/heading.organism.d.ts +1 -1
  325. package/organisms/menu-footer/index.d.ts +1 -0
  326. package/organisms/menu-footer/menu-footer.organism.d.ts +12 -0
  327. package/organisms/menu-header/index.d.ts +1 -0
  328. package/organisms/menu-header/menu-header.organism.d.ts +12 -0
  329. package/organisms/mermaid-section/mermaid-section.organism.d.ts +1 -1
  330. package/organisms/message-input-section/message-input-section.organism.d.ts +1 -1
  331. package/organisms/messages-section/messages-section.organism.d.ts +1 -1
  332. package/organisms/navigation-list/navigation-list.organism.d.ts +10 -4
  333. package/organisms/navigator/navigator.organism.d.ts +4 -5
  334. package/organisms/paginator/paginator.organism.d.ts +1 -1
  335. package/organisms/select-input-section/select-input-section.organism.d.ts +1 -1
  336. package/organisms/selection-list/index.d.ts +1 -0
  337. package/organisms/selection-list/selection-list.organism.d.ts +19 -0
  338. package/organisms/smart-list/smart-list.organism.d.ts +16 -14
  339. package/organisms/smart-table/smart-table.organism.d.ts +16 -2
  340. package/organisms/terminal/index.d.ts +1 -0
  341. package/organisms/terminal/terminal.organism.d.ts +10 -0
  342. package/organisms/text-input-section/text-input-section.organism.d.ts +2 -1
  343. package/organisms/textarea-section/textarea-section.organism.d.ts +3 -1
  344. package/organisms/toolbar/index.d.ts +1 -0
  345. package/organisms/toolbar/toolbar.organism.d.ts +15 -0
  346. package/organisms/tree-section/tree-section.organism.d.ts +1 -1
  347. package/organisms/vertical-divider/index.d.ts +1 -0
  348. package/organisms/vertical-divider/vertical-divider.organism.d.ts +5 -0
  349. package/package.json +325 -319
  350. package/templates/code-editor/code-editor.template.d.ts +24 -0
  351. package/templates/code-editor/index.d.ts +1 -0
  352. package/templates/entrance/entrance.template.d.ts +4 -4
  353. package/templates/file-tree/file-tree.template.d.ts +24 -0
  354. package/templates/file-tree/index.d.ts +1 -0
  355. package/templates/icon-button-menu/icon-button-menu.template.d.ts +15 -0
  356. package/templates/icon-button-menu/index.d.ts +1 -0
  357. package/templates/menu/index.d.ts +1 -1
  358. package/templates/menu/menu.template.d.ts +11 -4
  359. package/templates/messages/messages.template.d.ts +1 -1
  360. package/templates/selection/index.d.ts +1 -0
  361. package/templates/selection/selection.template.d.ts +23 -0
  362. package/templates/smart-crud/smart-crud.template.d.ts +8 -3
  363. package/templates/smart-index/smart-index.template.d.ts +69 -24
  364. package/templates/tab-editor/index.d.ts +1 -0
  365. package/templates/tab-editor/tab-editor.template.d.ts +8 -0
  366. package/templates/term/index.d.ts +1 -0
  367. package/templates/term/term.template.d.ts +24 -0
  368. package/esm2020/atoms/icon/icon.atom.mjs +0 -35
  369. package/esm2020/extras/editor/editor.component.mjs +0 -41
  370. package/esm2020/frames/divider/divider.frame.mjs +0 -68
  371. package/esm2020/frames/drawer/drawer.frame.mjs +0 -40
  372. package/esm2020/frames/fab/fab.frame.mjs +0 -56
  373. package/esm2020/frames/fab/fab.service.mjs +0 -26
  374. package/esm2020/frames/line-up/line-up.animations.mjs +0 -67
  375. package/esm2020/frames/line-up/line-up.frame.mjs +0 -114
  376. package/esm2020/frames/line-up/resize-observer.mjs +0 -13
  377. package/esm2020/frames/overlay/overlay.animations.mjs +0 -28
  378. package/esm2020/frames/overlay/overlay.frame.mjs +0 -22
  379. package/esm2020/frames/scroll/scroll.frame.mjs +0 -17
  380. package/esm2020/index.mjs +0 -3
  381. package/esm2020/molecules/actions-column/actions-column.molecule.mjs +0 -103
  382. package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +0 -48
  383. package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +0 -46
  384. package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +0 -38
  385. package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +0 -43
  386. package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +0 -51
  387. package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +0 -29
  388. package/esm2020/organisms/graphql-editor/graphql-editor.organism.mjs +0 -115
  389. package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +0 -44
  390. package/esm2020/organisms/navigator/navigator.organism.mjs +0 -71
  391. package/esm2020/organisms/smart-list/smart-list.organism.mjs +0 -108
  392. package/esm2020/organisms/smart-table/smart-table.organism.mjs +0 -170
  393. package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +0 -33
  394. package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +0 -31
  395. package/esm2020/templates/entrance/entrance.template.mjs +0 -72
  396. package/esm2020/templates/menu/index.mjs +0 -2
  397. package/esm2020/templates/menu/menu.template.mjs +0 -46
  398. package/esm2020/templates/smart-crud/smart-crud.template.mjs +0 -85
  399. package/esm2020/templates/smart-index/smart-index.template.mjs +0 -242
  400. package/fesm2015/ng-atomic-components-atoms-chips-input.mjs +0 -113
  401. package/fesm2015/ng-atomic-components-atoms-chips-input.mjs.map +0 -1
  402. package/fesm2015/ng-atomic-components-atoms-icon.mjs +0 -42
  403. package/fesm2015/ng-atomic-components-atoms-icon.mjs.map +0 -1
  404. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +0 -1
  405. package/fesm2015/ng-atomic-components-extras-editor.mjs +0 -52
  406. package/fesm2015/ng-atomic-components-extras-editor.mjs.map +0 -1
  407. package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +0 -21
  408. package/fesm2015/ng-atomic-components-frames-card.mjs +0 -24
  409. package/fesm2015/ng-atomic-components-frames-divider.mjs.map +0 -1
  410. package/fesm2015/ng-atomic-components-frames-drawer.mjs +0 -49
  411. package/fesm2015/ng-atomic-components-frames-drawer.mjs.map +0 -1
  412. package/fesm2015/ng-atomic-components-frames-fab.mjs +0 -84
  413. package/fesm2015/ng-atomic-components-frames-fab.mjs.map +0 -1
  414. package/fesm2015/ng-atomic-components-frames-line-up.mjs +0 -197
  415. package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +0 -1
  416. package/fesm2015/ng-atomic-components-frames-loading.mjs.map +0 -1
  417. package/fesm2015/ng-atomic-components-frames-overlay.mjs +0 -56
  418. package/fesm2015/ng-atomic-components-frames-overlay.mjs.map +0 -1
  419. package/fesm2015/ng-atomic-components-frames-scroll.mjs +0 -24
  420. package/fesm2015/ng-atomic-components-frames-scroll.mjs.map +0 -1
  421. package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +0 -43
  422. package/fesm2015/ng-atomic-components-frames-smart-menu.mjs.map +0 -1
  423. package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +0 -113
  424. package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs +0 -103
  425. package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs.map +0 -1
  426. package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +0 -131
  427. package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +0 -1
  428. package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +0 -1
  429. package/fesm2015/ng-atomic-components-molecules-header.mjs +0 -28
  430. package/fesm2015/ng-atomic-components-molecules-header.mjs.map +0 -1
  431. package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +0 -53
  432. package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +0 -1
  433. package/fesm2015/ng-atomic-components-molecules-nested-menu.mjs.map +0 -1
  434. package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +0 -45
  435. package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +0 -1
  436. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +0 -55
  437. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +0 -1
  438. package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +0 -50
  439. package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +0 -1
  440. package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +0 -58
  441. package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +0 -1
  442. package/fesm2015/ng-atomic-components-molecules-tree-column.mjs +0 -135
  443. package/fesm2015/ng-atomic-components-molecules-tree-column.mjs.map +0 -1
  444. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +0 -34
  445. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +0 -1
  446. package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +0 -35
  447. package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs.map +0 -1
  448. package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +0 -1
  449. package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +0 -36
  450. package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs.map +0 -1
  451. package/fesm2015/ng-atomic-components-organisms-filters-section.mjs.map +0 -1
  452. package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs +0 -121
  453. package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs.map +0 -1
  454. package/fesm2015/ng-atomic-components-organisms-grid-toolbar.mjs.map +0 -1
  455. package/fesm2015/ng-atomic-components-organisms-heading.mjs +0 -27
  456. package/fesm2015/ng-atomic-components-organisms-heading.mjs.map +0 -1
  457. package/fesm2015/ng-atomic-components-organisms-mermaid-section.mjs +0 -51
  458. package/fesm2015/ng-atomic-components-organisms-mermaid-section.mjs.map +0 -1
  459. package/fesm2015/ng-atomic-components-organisms-message-input-section.mjs +0 -39
  460. package/fesm2015/ng-atomic-components-organisms-message-input-section.mjs.map +0 -1
  461. package/fesm2015/ng-atomic-components-organisms-messages-section.mjs +0 -27
  462. package/fesm2015/ng-atomic-components-organisms-messages-section.mjs.map +0 -1
  463. package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +0 -51
  464. package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +0 -1
  465. package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +0 -1
  466. package/fesm2015/ng-atomic-components-organisms-paginator.mjs +0 -61
  467. package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +0 -1
  468. package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +0 -35
  469. package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs.map +0 -1
  470. package/fesm2015/ng-atomic-components-organisms-smart-list.mjs +0 -119
  471. package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +0 -1
  472. package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +0 -176
  473. package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +0 -1
  474. package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +0 -29
  475. package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +0 -40
  476. package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs.map +0 -1
  477. package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +0 -38
  478. package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs.map +0 -1
  479. package/fesm2015/ng-atomic-components-organisms-tree-section.mjs +0 -237
  480. package/fesm2015/ng-atomic-components-organisms-tree-section.mjs.map +0 -1
  481. package/fesm2015/ng-atomic-components-pages-_index.mjs +0 -46
  482. package/fesm2015/ng-atomic-components-pages-_index.mjs.map +0 -1
  483. package/fesm2015/ng-atomic-components-pages-blank.mjs +0 -24
  484. package/fesm2015/ng-atomic-components-templates-entrance.mjs +0 -79
  485. package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +0 -1
  486. package/fesm2015/ng-atomic-components-templates-loading.mjs +0 -24
  487. package/fesm2015/ng-atomic-components-templates-loading.mjs.map +0 -1
  488. package/fesm2015/ng-atomic-components-templates-menu.mjs +0 -53
  489. package/fesm2015/ng-atomic-components-templates-menu.mjs.map +0 -1
  490. package/fesm2015/ng-atomic-components-templates-messages.mjs +0 -97
  491. package/fesm2015/ng-atomic-components-templates-messages.mjs.map +0 -1
  492. package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +0 -91
  493. package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +0 -1
  494. package/fesm2015/ng-atomic-components-templates-smart-index.mjs +0 -248
  495. package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +0 -1
  496. package/fesm2015/ng-atomic-components.mjs +0 -9
  497. package/fesm2015/ng-atomic-components.mjs.map +0 -1
  498. package/fesm2020/ng-atomic-components-atoms-icon.mjs +0 -42
  499. package/fesm2020/ng-atomic-components-atoms-icon.mjs.map +0 -1
  500. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +0 -84
  501. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +0 -1
  502. package/fesm2020/ng-atomic-components-extras-editor.mjs.map +0 -1
  503. package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +0 -21
  504. package/fesm2020/ng-atomic-components-frames-auto-layout.mjs.map +0 -1
  505. package/fesm2020/ng-atomic-components-frames-card.mjs.map +0 -1
  506. package/fesm2020/ng-atomic-components-frames-divider.mjs +0 -75
  507. package/fesm2020/ng-atomic-components-frames-divider.mjs.map +0 -1
  508. package/fesm2020/ng-atomic-components-frames-drawer.mjs +0 -47
  509. package/fesm2020/ng-atomic-components-frames-drawer.mjs.map +0 -1
  510. package/fesm2020/ng-atomic-components-frames-fab.mjs +0 -84
  511. package/fesm2020/ng-atomic-components-frames-fab.mjs.map +0 -1
  512. package/fesm2020/ng-atomic-components-frames-line-up.mjs +0 -196
  513. package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +0 -1
  514. package/fesm2020/ng-atomic-components-frames-loading.mjs +0 -36
  515. package/fesm2020/ng-atomic-components-frames-overlay.mjs +0 -56
  516. package/fesm2020/ng-atomic-components-frames-overlay.mjs.map +0 -1
  517. package/fesm2020/ng-atomic-components-frames-scroll.mjs +0 -24
  518. package/fesm2020/ng-atomic-components-frames-scroll.mjs.map +0 -1
  519. package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +0 -43
  520. package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +0 -1
  521. package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +0 -1
  522. package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +0 -55
  523. package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +0 -1
  524. package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +0 -53
  525. package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +0 -1
  526. package/fesm2020/ng-atomic-components-molecules-nested-menu.mjs +0 -87
  527. package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +0 -45
  528. package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +0 -1
  529. package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +0 -50
  530. package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +0 -1
  531. package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +0 -58
  532. package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +0 -1
  533. package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +0 -34
  534. package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +0 -40
  535. package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +0 -36
  536. package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs.map +0 -1
  537. package/fesm2020/ng-atomic-components-organisms-filters-section.mjs +0 -136
  538. package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs +0 -120
  539. package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs.map +0 -1
  540. package/fesm2020/ng-atomic-components-organisms-grid-toolbar.mjs +0 -156
  541. package/fesm2020/ng-atomic-components-organisms-heading.mjs +0 -27
  542. package/fesm2020/ng-atomic-components-organisms-messages-section.mjs +0 -27
  543. package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +0 -51
  544. package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +0 -1
  545. package/fesm2020/ng-atomic-components-organisms-navigator.mjs +0 -78
  546. package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +0 -1
  547. package/fesm2020/ng-atomic-components-organisms-smart-list.mjs +0 -114
  548. package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +0 -1
  549. package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +0 -177
  550. package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +0 -1
  551. package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +0 -29
  552. package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs.map +0 -1
  553. package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +0 -40
  554. package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs.map +0 -1
  555. package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +0 -38
  556. package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs.map +0 -1
  557. package/fesm2020/ng-atomic-components-pages-_index.mjs.map +0 -1
  558. package/fesm2020/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs +0 -7
  559. package/fesm2020/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs.map +0 -1
  560. package/fesm2020/ng-atomic-components-pages-blank.mjs.map +0 -1
  561. package/fesm2020/ng-atomic-components-templates-entrance.mjs +0 -79
  562. package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +0 -1
  563. package/fesm2020/ng-atomic-components-templates-menu.mjs +0 -53
  564. package/fesm2020/ng-atomic-components-templates-menu.mjs.map +0 -1
  565. package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +0 -91
  566. package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +0 -1
  567. package/fesm2020/ng-atomic-components-templates-smart-index.mjs +0 -249
  568. package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +0 -1
  569. package/fesm2020/ng-atomic-components.mjs +0 -9
  570. package/fesm2020/ng-atomic-components.mjs.map +0 -1
  571. /package/{esm2020 → esm2022}/atoms/chips-input/index.mjs +0 -0
  572. /package/{esm2020 → esm2022}/atoms/chips-input/ng-atomic-components-atoms-chips-input.mjs +0 -0
  573. /package/{esm2020 → esm2022}/atoms/icon/index.mjs +0 -0
  574. /package/{esm2020 → esm2022}/atoms/icon/ng-atomic-components-atoms-icon.mjs +0 -0
  575. /package/{esm2020 → esm2022}/atoms/smart-menu-button/index.mjs +0 -0
  576. /package/{esm2020 → esm2022}/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.mjs +0 -0
  577. /package/{esm2020 → esm2022}/extras/editor/index.mjs +0 -0
  578. /package/{esm2020 → esm2022}/extras/editor/ng-atomic-components-extras-editor.mjs +0 -0
  579. /package/{esm2020 → esm2022}/frames/auto-layout/index.mjs +0 -0
  580. /package/{esm2020 → esm2022}/frames/auto-layout/ng-atomic-components-frames-auto-layout.mjs +0 -0
  581. /package/{esm2020 → esm2022}/frames/card/index.mjs +0 -0
  582. /package/{esm2020 → esm2022}/frames/card/ng-atomic-components-frames-card.mjs +0 -0
  583. /package/{esm2020 → esm2022}/frames/divider/index.mjs +0 -0
  584. /package/{esm2020 → esm2022}/frames/divider/ng-atomic-components-frames-divider.mjs +0 -0
  585. /package/{esm2020 → esm2022}/frames/drawer/index.mjs +0 -0
  586. /package/{esm2020 → esm2022}/frames/drawer/ng-atomic-components-frames-drawer.mjs +0 -0
  587. /package/{esm2020 → esm2022}/frames/fab/index.mjs +0 -0
  588. /package/{esm2020 → esm2022}/frames/fab/ng-atomic-components-frames-fab.mjs +0 -0
  589. /package/{esm2020 → esm2022}/frames/line-up/index.mjs +0 -0
  590. /package/{esm2020 → esm2022}/frames/line-up/ng-atomic-components-frames-line-up.mjs +0 -0
  591. /package/{esm2020 → esm2022}/frames/loading/index.mjs +0 -0
  592. /package/{esm2020 → esm2022}/frames/loading/ng-atomic-components-frames-loading.mjs +0 -0
  593. /package/{esm2020 → esm2022}/frames/overlay/index.mjs +0 -0
  594. /package/{esm2020 → esm2022}/frames/overlay/ng-atomic-components-frames-overlay.mjs +0 -0
  595. /package/{esm2020 → esm2022}/frames/scroll/index.mjs +0 -0
  596. /package/{esm2020 → esm2022}/frames/scroll/ng-atomic-components-frames-scroll.mjs +0 -0
  597. /package/{esm2020 → esm2022}/frames/smart-menu/index.mjs +0 -0
  598. /package/{esm2020 → esm2022}/frames/smart-menu/ng-atomic-components-frames-smart-menu.mjs +0 -0
  599. /package/{esm2020 → esm2022}/molecules/actions-column/index.mjs +0 -0
  600. /package/{esm2020 → esm2022}/molecules/actions-column/ng-atomic-components-molecules-actions-column.mjs +0 -0
  601. /package/{esm2020 → esm2022}/molecules/checkbox-column/index.mjs +0 -0
  602. /package/{esm2020 → esm2022}/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.mjs +0 -0
  603. /package/{esm2020 → esm2022}/molecules/chips-input-field/index.mjs +0 -0
  604. /package/{esm2020 → esm2022}/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.mjs +0 -0
  605. /package/{esm2020 → esm2022}/molecules/date-input-field/index.mjs +0 -0
  606. /package/{esm2020 → esm2022}/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.mjs +0 -0
  607. /package/{esm2020 → esm2022}/molecules/header/index.mjs +0 -0
  608. /package/{esm2020 → esm2022}/molecules/header/ng-atomic-components-molecules-header.mjs +0 -0
  609. /package/{esm2020 → esm2022}/molecules/navigation-list-item/index.mjs +0 -0
  610. /package/{esm2020 → esm2022}/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.mjs +0 -0
  611. /package/{esm2020 → esm2022}/molecules/nested-menu/index.mjs +0 -0
  612. /package/{esm2020 → esm2022}/molecules/nested-menu/ng-atomic-components-molecules-nested-menu.mjs +0 -0
  613. /package/{esm2020 → esm2022}/molecules/select-input-field/index.mjs +0 -0
  614. /package/{esm2020 → esm2022}/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.mjs +0 -0
  615. /package/{esm2020 → esm2022}/molecules/smart-column/index.mjs +0 -0
  616. /package/{esm2020 → esm2022}/molecules/smart-column/ng-atomic-components-molecules-smart-column.mjs +0 -0
  617. /package/{esm2020 → esm2022}/molecules/text-input-field/index.mjs +0 -0
  618. /package/{esm2020 → esm2022}/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.mjs +0 -0
  619. /package/{esm2020 → esm2022}/molecules/textarea-field/index.mjs +0 -0
  620. /package/{esm2020 → esm2022}/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.mjs +0 -0
  621. /package/{esm2020 → esm2022}/molecules/tree-column/index.mjs +0 -0
  622. /package/{esm2020 → esm2022}/molecules/tree-column/ng-atomic-components-molecules-tree-column.mjs +0 -0
  623. /package/{esm2020 → esm2022}/ng-atomic-components.mjs +0 -0
  624. /package/{esm2020 → esm2022}/organisms/action-buttons-section/index.mjs +0 -0
  625. /package/{esm2020 → esm2022}/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.mjs +0 -0
  626. /package/{esm2020 → esm2022}/organisms/card-input-section/index.mjs +0 -0
  627. /package/{esm2020 → esm2022}/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.mjs +0 -0
  628. /package/{esm2020 → esm2022}/organisms/cvc-and-exp-input-section/index.mjs +0 -0
  629. /package/{esm2020 → esm2022}/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +0 -0
  630. /package/{esm2020 → esm2022}/organisms/date-input-section/index.mjs +0 -0
  631. /package/{esm2020 → esm2022}/organisms/date-input-section/ng-atomic-components-organisms-date-input-section.mjs +0 -0
  632. /package/{esm2020 → esm2022}/organisms/filters-section/index.mjs +0 -0
  633. /package/{esm2020 → esm2022}/organisms/filters-section/ng-atomic-components-organisms-filters-section.mjs +0 -0
  634. /package/{esm2020 → esm2022}/organisms/graphql-editor/index.mjs +0 -0
  635. /package/{esm2020 → esm2022}/organisms/graphql-editor/ng-atomic-components-organisms-graphql-editor.mjs +0 -0
  636. /package/{esm2020 → esm2022}/organisms/grid-toolbar/index.mjs +0 -0
  637. /package/{esm2020 → esm2022}/organisms/grid-toolbar/ng-atomic-components-organisms-grid-toolbar.mjs +0 -0
  638. /package/{esm2020 → esm2022}/organisms/heading/index.mjs +0 -0
  639. /package/{esm2020 → esm2022}/organisms/heading/ng-atomic-components-organisms-heading.mjs +0 -0
  640. /package/{esm2020 → esm2022}/organisms/mermaid-section/index.mjs +0 -0
  641. /package/{esm2020 → esm2022}/organisms/mermaid-section/ng-atomic-components-organisms-mermaid-section.mjs +0 -0
  642. /package/{esm2020 → esm2022}/organisms/message-input-section/index.mjs +0 -0
  643. /package/{esm2020 → esm2022}/organisms/message-input-section/ng-atomic-components-organisms-message-input-section.mjs +0 -0
  644. /package/{esm2020 → esm2022}/organisms/messages-section/index.mjs +0 -0
  645. /package/{esm2020 → esm2022}/organisms/messages-section/ng-atomic-components-organisms-messages-section.mjs +0 -0
  646. /package/{esm2020 → esm2022}/organisms/navigation-list/index.mjs +0 -0
  647. /package/{esm2020 → esm2022}/organisms/navigation-list/ng-atomic-components-organisms-navigation-list.mjs +0 -0
  648. /package/{esm2020 → esm2022}/organisms/navigator/index.mjs +0 -0
  649. /package/{esm2020 → esm2022}/organisms/navigator/ng-atomic-components-organisms-navigator.mjs +0 -0
  650. /package/{esm2020 → esm2022}/organisms/paginator/index.mjs +0 -0
  651. /package/{esm2020 → esm2022}/organisms/paginator/ng-atomic-components-organisms-paginator.mjs +0 -0
  652. /package/{esm2020 → esm2022}/organisms/select-input-section/index.mjs +0 -0
  653. /package/{esm2020 → esm2022}/organisms/select-input-section/ng-atomic-components-organisms-select-input-section.mjs +0 -0
  654. /package/{esm2020 → esm2022}/organisms/smart-list/index.mjs +0 -0
  655. /package/{esm2020 → esm2022}/organisms/smart-list/ng-atomic-components-organisms-smart-list.mjs +0 -0
  656. /package/{esm2020 → esm2022}/organisms/smart-table/index.mjs +0 -0
  657. /package/{esm2020 → esm2022}/organisms/smart-table/ng-atomic-components-organisms-smart-table.mjs +0 -0
  658. /package/{esm2020 → esm2022}/organisms/social-login-section/index.mjs +0 -0
  659. /package/{esm2020 → esm2022}/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.mjs +0 -0
  660. /package/{esm2020 → esm2022}/organisms/text-input-section/index.mjs +0 -0
  661. /package/{esm2020 → esm2022}/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.mjs +0 -0
  662. /package/{esm2020 → esm2022}/organisms/textarea-section/index.mjs +0 -0
  663. /package/{esm2020 → esm2022}/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.mjs +0 -0
  664. /package/{esm2020 → esm2022}/organisms/tree-section/index.mjs +0 -0
  665. /package/{esm2020 → esm2022}/organisms/tree-section/ng-atomic-components-organisms-tree-section.mjs +0 -0
  666. /package/{esm2020 → esm2022}/pages/_index/index.mjs +0 -0
  667. /package/{esm2020 → esm2022}/pages/_index/ng-atomic-components-pages-_index.mjs +0 -0
  668. /package/{esm2020 → esm2022}/pages/blank/blank.route.mjs +0 -0
  669. /package/{esm2020 → esm2022}/pages/blank/blank.routes.mjs +0 -0
  670. /package/{esm2020 → esm2022}/pages/blank/index.mjs +0 -0
  671. /package/{esm2020 → esm2022}/pages/blank/ng-atomic-components-pages-blank.mjs +0 -0
  672. /package/{esm2020 → esm2022}/templates/entrance/index.mjs +0 -0
  673. /package/{esm2020 → esm2022}/templates/entrance/ng-atomic-components-templates-entrance.mjs +0 -0
  674. /package/{esm2020 → esm2022}/templates/loading/index.mjs +0 -0
  675. /package/{esm2020 → esm2022}/templates/loading/ng-atomic-components-templates-loading.mjs +0 -0
  676. /package/{esm2020 → esm2022}/templates/menu/ng-atomic-components-templates-menu.mjs +0 -0
  677. /package/{esm2020 → esm2022}/templates/messages/index.mjs +0 -0
  678. /package/{esm2020 → esm2022}/templates/messages/ng-atomic-components-templates-messages.mjs +0 -0
  679. /package/{esm2020 → esm2022}/templates/smart-crud/index.mjs +0 -0
  680. /package/{esm2020 → esm2022}/templates/smart-crud/ng-atomic-components-templates-smart-crud.mjs +0 -0
  681. /package/{esm2020 → esm2022}/templates/smart-index/index.mjs +0 -0
  682. /package/{esm2020 → esm2022}/templates/smart-index/ng-atomic-components-templates-smart-index.mjs +0 -0
  683. /package/{fesm2015 → fesm2022}/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs +0 -0
  684. /package/{fesm2015 → fesm2022}/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs.map +0 -0
@@ -0,0 +1,133 @@
1
+ import { __decorate, __metadata } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { Component, ChangeDetectionStrategy, Input, ViewChild } from '@angular/core';
4
+ import * as i1 from '@angular/common';
5
+ import { CommonModule } from '@angular/common';
6
+ import * as i2 from '@angular/forms';
7
+ import { FormControl, ReactiveFormsModule } from '@angular/forms';
8
+ import * as i3 from '@angular/material/input';
9
+ import { MatInputModule } from '@angular/material/input';
10
+ import { SmartMenuButtonAtom } from '@ng-atomic/components/atoms/smart-menu-button';
11
+ import { NgAtomicComponent, Effect } from '@ng-atomic/common/stores/component-store';
12
+ import { ErrorPipe } from '@ng-atomic/common/pipes/error';
13
+ import * as i4 from '@angular/material/form-field';
14
+
15
+ var ActionId;
16
+ (function (ActionId) {
17
+ ActionId["FILE_SELECT_BUTTON_CLICK"] = "[@ng-atomic/components/molecules/file-input-field] File select button click";
18
+ ActionId["FILE_SELECTED"] = "[@ng-atomic/components/molecules/file-input-field] File selected";
19
+ ActionId["CANCEL"] = "[@ng-atomic/components/molecules/file-input-field] Cancel";
20
+ })(ActionId || (ActionId = {}));
21
+ class FileInputFieldMolecule extends NgAtomicComponent {
22
+ constructor() {
23
+ super(...arguments);
24
+ this.appearance = 'outline';
25
+ this.label = 'label';
26
+ this.control = new FormControl('');
27
+ this._control = new FormControl({ value: '', disabled: true });
28
+ this.placeholder = 'placeholder';
29
+ }
30
+ static { this.ActionId = ActionId; }
31
+ get actions() {
32
+ return this.progress ? [
33
+ {
34
+ id: ActionId.CANCEL,
35
+ icon: 'cancel',
36
+ name: 'Cancel',
37
+ disabled: this.control.disabled,
38
+ },
39
+ ] : [
40
+ {
41
+ id: ActionId.FILE_SELECT_BUTTON_CLICK,
42
+ icon: 'attach_file',
43
+ name: 'Select file',
44
+ disabled: this.control.disabled,
45
+ },
46
+ ];
47
+ }
48
+ ngOnInit() {
49
+ this._control.setValidators(this.control['_rawValidators']);
50
+ this._control.setAsyncValidators(this.control['_rawAsyncValidators']);
51
+ this.control.valueChanges.subscribe(value => this._control.setValue(value));
52
+ }
53
+ onFileSelectButtonClick() {
54
+ this.fileUpload.nativeElement.click();
55
+ }
56
+ onFileSelected(event) {
57
+ this.dispatch({
58
+ id: ActionId.FILE_SELECTED,
59
+ payload: event.target.files,
60
+ });
61
+ this.fileUpload.nativeElement.value = '';
62
+ }
63
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
64
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FileInputFieldMolecule, isStandalone: true, selector: "molecules-file-input-field", inputs: { appearance: "appearance", name: "name", label: "label", control: "control", placeholder: "placeholder", hint: "hint", progress: "progress" }, viewQueries: [{ propertyName: "fileUpload", first: true, predicate: ["fileUpload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
65
+ <mat-form-field [appearance]="appearance">
66
+ <mat-label>{{ label }}</mat-label>
67
+ <input matInput [name]="name" type="text" [formControl]="_control" [placeholder]="placeholder">
68
+ <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->
69
+ <mat-hint *ngIf="progress">Uploading...({{ progress?.toFixed(2) }}%)</mat-hint>
70
+ <mat-hint *ngIf="!progress && hint">{{ hint }}</mat-hint>
71
+ <mat-error>{{ control.errors | error }}</mat-error>
72
+ </mat-form-field>
73
+ <atoms-smart-menu-button
74
+ [actions]="actions"
75
+ (action)="dispatch($event)"
76
+ ></atoms-smart-menu-button>
77
+ <input style="display: none" type="file" value="test" (change)="onFileSelected($event)" #fileUpload>
78
+ `, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:-moz-fit-content;width:fit-content;margin-bottom:20px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["actions"], outputs: ["action"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
79
+ }
80
+ __decorate([
81
+ Effect(ActionId.FILE_SELECT_BUTTON_CLICK),
82
+ __metadata("design:type", Function),
83
+ __metadata("design:paramtypes", []),
84
+ __metadata("design:returntype", void 0)
85
+ ], FileInputFieldMolecule.prototype, "onFileSelectButtonClick", null);
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileInputFieldMolecule, decorators: [{
87
+ type: Component,
88
+ args: [{ selector: 'molecules-file-input-field', standalone: true, imports: [
89
+ CommonModule,
90
+ ReactiveFormsModule,
91
+ MatInputModule,
92
+ SmartMenuButtonAtom,
93
+ ErrorPipe,
94
+ ], template: `
95
+ <mat-form-field [appearance]="appearance">
96
+ <mat-label>{{ label }}</mat-label>
97
+ <input matInput [name]="name" type="text" [formControl]="_control" [placeholder]="placeholder">
98
+ <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->
99
+ <mat-hint *ngIf="progress">Uploading...({{ progress?.toFixed(2) }}%)</mat-hint>
100
+ <mat-hint *ngIf="!progress && hint">{{ hint }}</mat-hint>
101
+ <mat-error>{{ control.errors | error }}</mat-error>
102
+ </mat-form-field>
103
+ <atoms-smart-menu-button
104
+ [actions]="actions"
105
+ (action)="dispatch($event)"
106
+ ></atoms-smart-menu-button>
107
+ <input style="display: none" type="file" value="test" (change)="onFileSelected($event)" #fileUpload>
108
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:-moz-fit-content;width:fit-content;margin-bottom:20px}\n"] }]
109
+ }], propDecorators: { appearance: [{
110
+ type: Input
111
+ }], name: [{
112
+ type: Input
113
+ }], label: [{
114
+ type: Input
115
+ }], control: [{
116
+ type: Input
117
+ }], placeholder: [{
118
+ type: Input
119
+ }], hint: [{
120
+ type: Input
121
+ }], progress: [{
122
+ type: Input
123
+ }], fileUpload: [{
124
+ type: ViewChild,
125
+ args: ['fileUpload', { static: true }]
126
+ }], onFileSelectButtonClick: [] } });
127
+
128
+ /**
129
+ * Generated bundle index. Do not edit.
130
+ */
131
+
132
+ export { FileInputFieldMolecule };
133
+ //# sourceMappingURL=ng-atomic-components-molecules-file-input-field.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-molecules-file-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/file-input-field/file-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/file-input-field/ng-atomic-components-molecules-file-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { SmartMenuButtonAtom } from '@ng-atomic/components/atoms/smart-menu-button';\nimport { Effect, NgAtomicComponent } from '@ng-atomic/common/stores/component-store';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\n\nenum ActionId {\n FILE_SELECT_BUTTON_CLICK = '[@ng-atomic/components/molecules/file-input-field] File select button click',\n FILE_SELECTED = '[@ng-atomic/components/molecules/file-input-field] File selected',\n CANCEL = '[@ng-atomic/components/molecules/file-input-field] Cancel',\n}\n\n@Component({\n selector: 'molecules-file-input-field',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n SmartMenuButtonAtom,\n ErrorPipe,\n ],\n template: `\n <mat-form-field [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"text\" [formControl]=\"_control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"progress\">Uploading...({{ progress?.toFixed(2) }}%)</mat-hint>\n <mat-hint *ngIf=\"!progress && hint\">{{ hint }}</mat-hint>\n <mat-error>{{ control.errors | error }}</mat-error>\n </mat-form-field>\n <atoms-smart-menu-button\n [actions]=\"actions\"\n (action)=\"dispatch($event)\"\n ></atoms-smart-menu-button>\n <input style=\"display: none\" type=\"file\" value=\"test\" (change)=\"onFileSelected($event)\" #fileUpload>\n `,\n styleUrls: ['./file-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FileInputFieldMolecule extends NgAtomicComponent {\n static ActionId = ActionId;\n \n protected get actions() {\n return this.progress ? [\n {\n id: ActionId.CANCEL,\n icon: 'cancel',\n name: 'Cancel',\n disabled: this.control.disabled,\n },\n ] : [\n {\n id: ActionId.FILE_SELECT_BUTTON_CLICK,\n icon: 'attach_file',\n name: 'Select file',\n disabled: this.control.disabled,\n },\n ];\n }\n\n @Input()\n appearance: 'outline' | 'fill' = 'outline';\n\n @Input()\n name?: string;\n\n @Input()\n label = 'label';\n\n @Input()\n control = new FormControl<string | number>('');\n\n protected _control = new FormControl<string | number>({value: '', disabled: true});\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n hint?: string;\n\n @Input()\n progress?: number;\n\n @ViewChild('fileUpload', { static: true })\n protected fileUpload: ElementRef<HTMLInputElement>;\n\n ngOnInit() {\n this._control.setValidators(this.control['_rawValidators']);\n this._control.setAsyncValidators(this.control['_rawAsyncValidators']);\n this.control.valueChanges.subscribe(value => this._control.setValue(value));\n }\n\n @Effect(ActionId.FILE_SELECT_BUTTON_CLICK)\n protected onFileSelectButtonClick() {\n this.fileUpload.nativeElement.click();\n }\n\n protected onFileSelected(event: Event & {target: HTMLInputElement}) {\n this.dispatch({\n id: ActionId.FILE_SELECTED,\n payload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AA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,oPAAA,CAAA,EAAA,CAAA;8BAwB/C,UAAU,EAAA,CAAA;sBADT,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;gBAMN,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,QAAQ,EAAA,CAAA;sBADP,KAAK;gBAII,UAAU,EAAA,CAAA;sBADnB,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,YAAY,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;gBAU/B,uBAAuB,EAAA,EAAA,EAAA,EAAA,CAAA;;AChGnC;;AAEG;;;;"}
@@ -6,10 +6,10 @@ class HeaderMolecule {
6
6
  constructor() {
7
7
  this.title = 'title';
8
8
  }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderMolecule, isStandalone: true, selector: "molecules-header", inputs: { title: "title", description: "description" }, ngImport: i0, template: "<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n", styles: [":host{display:block}:host{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9
11
  }
10
- HeaderMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeaderMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- HeaderMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: HeaderMolecule, isStandalone: true, selector: "molecules-header", inputs: { title: "title", description: "description" }, ngImport: i0, template: "<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n", styles: [":host{display:block}:host{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeaderMolecule, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderMolecule, decorators: [{
13
13
  type: Component,
14
14
  args: [{ selector: 'molecules-header', standalone: true, imports: [
15
15
  CommonModule,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-header.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/header/header.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/header/header.molecule.html","../../../../../packages/@ng-atomic/components/src/lib/molecules/header/ng-atomic-components-molecules-header.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, ChangeDetectionStrategy, Input } from '@angular/core';\n\n@Component({\n selector: 'molecules-header',\n standalone: true,\n imports: [\n CommonModule,\n ],\n templateUrl: './header.molecule.html',\n styleUrls: ['./header.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class HeaderMolecule {\n\n @Input()\n title = 'title';\n\n @Input()\n description?: string;\n\n}\n","<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAaa,cAAc,CAAA;AAV3B,IAAA,WAAA,GAAA;QAaE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;AAKjB,KAAA;;2GARY,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;+FAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECb3B,8GAEA,EAAA,MAAA,EAAA,CAAA,8LAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDKI,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FAMH,cAAc,EAAA,UAAA,EAAA,CAAA;kBAV1B,SAAS;+BACE,kBAAkB,EAAA,UAAA,EAChB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;qBACb,EAGgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8GAAA,EAAA,MAAA,EAAA,CAAA,8LAAA,CAAA,EAAA,CAAA;8BAK/C,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,KAAK;;;AElBR;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-header.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/header/header.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/header/header.molecule.html","../../../../../packages/@ng-atomic/components/src/lib/molecules/header/ng-atomic-components-molecules-header.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, ChangeDetectionStrategy, Input } from '@angular/core';\n\n@Component({\n selector: 'molecules-header',\n standalone: true,\n imports: [\n CommonModule,\n ],\n templateUrl: './header.molecule.html',\n styleUrls: ['./header.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class HeaderMolecule {\n\n @Input()\n title = 'title';\n\n @Input()\n description?: string;\n\n}\n","<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAaa,cAAc,CAAA;AAV3B,IAAA,WAAA,GAAA;QAaE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;AAKjB,KAAA;+GARY,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECb3B,8GAEA,EAAA,MAAA,EAAA,CAAA,8LAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDKI,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAMH,cAAc,EAAA,UAAA,EAAA,CAAA;kBAV1B,SAAS;+BACE,kBAAkB,EAAA,UAAA,EAChB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;qBACb,EAGgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8GAAA,EAAA,MAAA,EAAA,CAAA,8LAAA,CAAA,EAAA,CAAA;8BAK/C,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,KAAK;;;AElBR;;AAEG;;;;"}
@@ -0,0 +1,75 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { InjectionToken, Directive, Input, inject, Component, ChangeDetectionStrategy } from '@angular/core';
4
+ import { MatIconModule } from '@angular/material/icon';
5
+ import * as i1 from '@angular/material/list';
6
+ import { MatListModule } from '@angular/material/list';
7
+ import { InjectableComponent } from '@ng-atomic/common/core';
8
+ import { IconAtom } from '@ng-atomic/components/atoms/icon';
9
+
10
+ class NavigationListItemMoleculeStore extends InjectableComponent {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.selected = false;
14
+ }
15
+ static { this.TOKEN = new InjectionToken('NavigationListItemMoleculeStore'); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationListItemMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
17
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NavigationListItemMoleculeStore, isStandalone: true, selector: "molecules-navigation-list-item", inputs: { _action: ["action", "_action"], selected: "selected" }, usesInheritance: true, ngImport: i0 }); }
18
+ }
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationListItemMoleculeStore, decorators: [{
20
+ type: Directive,
21
+ args: [{ standalone: true, selector: 'molecules-navigation-list-item' }]
22
+ }], propDecorators: { _action: [{
23
+ type: Input,
24
+ args: ['action']
25
+ }], selected: [{
26
+ type: Input
27
+ }] } });
28
+ class NavigationListItemMolecule {
29
+ constructor() {
30
+ this.store = inject(NavigationListItemMoleculeStore);
31
+ }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationListItemMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NavigationListItemMolecule, isStandalone: true, selector: "molecules-navigation-list-item", hostDirectives: [{ directive: NavigationListItemMoleculeStore, inputs: ["action", "action", "selected", "selected"] }], ngImport: i0, template: `
34
+ <mat-list-item>
35
+ <atoms-icon
36
+ matListItemIcon
37
+ [name]="store._action?.icon"
38
+ [color]="store._action?.color"
39
+ matListItemMeta
40
+ ></atoms-icon>
41
+ <div matListItemTitle>{{ store._action.name }}</div>
42
+ </mat-list-item>
43
+ `, isInline: true, styles: [":host{display:block}:host{--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: white}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i1.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "component", type: IconAtom, selector: "atoms-icon", inputs: ["name", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
44
+ }
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationListItemMolecule, decorators: [{
46
+ type: Component,
47
+ args: [{ selector: 'molecules-navigation-list-item', standalone: true, imports: [
48
+ CommonModule,
49
+ MatIconModule,
50
+ MatListModule,
51
+ IconAtom,
52
+ ], template: `
53
+ <mat-list-item>
54
+ <atoms-icon
55
+ matListItemIcon
56
+ [name]="store._action?.icon"
57
+ [color]="store._action?.color"
58
+ matListItemMeta
59
+ ></atoms-icon>
60
+ <div matListItemTitle>{{ store._action.name }}</div>
61
+ </mat-list-item>
62
+ `, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
63
+ {
64
+ directive: NavigationListItemMoleculeStore,
65
+ inputs: ['action', 'selected'],
66
+ },
67
+ ], styles: [":host{display:block}:host{--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: white}\n"] }]
68
+ }] });
69
+
70
+ /**
71
+ * Generated bundle index. Do not edit.
72
+ */
73
+
74
+ export { NavigationListItemMolecule, NavigationListItemMoleculeStore };
75
+ //# sourceMappingURL=ng-atomic-components-molecules-navigation-list-item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-molecules-navigation-list-item.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/navigation-list-item/navigation-list-item.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, ChangeDetectionStrategy, Input, Directive, inject, InjectionToken } from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { InjectableComponent } from '@ng-atomic/common/core';\nimport { Action } from '@ng-atomic/common/models';\nimport { IconAtom } from '@ng-atomic/components/atoms/icon';\n\n@Directive({ standalone: true, selector: 'molecules-navigation-list-item' })\nexport class NavigationListItemMoleculeStore extends InjectableComponent {\n static TOKEN = new InjectionToken('NavigationListItemMoleculeStore');\n @Input('action') _action: Action;\n @Input() selected = false;\n}\n\n@Component({\n selector: 'molecules-navigation-list-item',\n standalone: true,\n imports: [\n CommonModule,\n MatIconModule,\n MatListModule,\n IconAtom,\n ],\n template: `\n <mat-list-item>\n <atoms-icon\n matListItemIcon\n [name]=\"store._action?.icon\"\n [color]=\"store._action?.color\"\n matListItemMeta\n ></atoms-icon>\n <div matListItemTitle>{{ store._action.name }}</div>\n </mat-list-item>\n `,\n styleUrls: ['./navigation-list-item.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: NavigationListItemMoleculeStore,\n inputs: ['action', 'selected'],\n },\n ]\n})\nexport class NavigationListItemMolecule {\n protected store = inject(NavigationListItemMoleculeStore);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AnC1B,+BAA+B,EAehC,MAAA,EAAA,CAAA,QAAA,EAAA,QAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;AAUT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,gLAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAfC,YAAY,EACZ,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,aAAa,EACb,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,aAAa,obACb,QAAQ,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAsBC,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBA7BtC,SAAS;+BACE,gCAAgC,EAAA,UAAA,EAC9B,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;wBACb,aAAa;wBACb,QAAQ;qBACT,EACS,QAAA,EAAA,CAAA;;;;;;;;;;GAUT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,+BAA+B;AAC1C,4BAAA,MAAM,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;AAC/B,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,gLAAA,CAAA,EAAA,CAAA;;;AC1CH;;AAEG;;;;"}
@@ -9,9 +9,8 @@ class NestedMenuMolecule {
9
9
  constructor() {
10
10
  this.action = new EventEmitter();
11
11
  }
12
- }
13
- NestedMenuMoleculefac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NestedMenuMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- NestedMenuMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: NestedMenuMolecule, isStandalone: true, selector: "molecules-nested-menu", inputs: { actions: "actions" }, outputs: { action: "action" }, viewQueries: [{ propertyName: "childMenu", first: true, predicate: ["childMenu"], descendants: true }], ngImport: i0, template: `
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NestedMenuMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
+ static { thiscmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NestedMenuMolecule, isStandalone: true, selector: "molecules-nested-menu", inputs: { actions: "actions" }, outputs: { action: "action" }, viewQueries: [{ propertyName: "childMenu", first: true, predicate: ["childMenu"], descendants: true }], ngImport: i0, template: `
15
14
  <mat-menu #childMenu="matMenu" [overlapTrigger]="false">
16
15
  <span *ngFor="let _action of actions">
17
16
  <span *ngIf="_action?.children">
@@ -34,8 +33,9 @@ NestedMenuMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
34
33
  </span>
35
34
  </span>
36
35
  </mat-menu>
37
- `, isInline: true, dependencies: [{ kind: "component", type: NestedMenuMolecule, selector: "molecules-nested-menu", inputs: ["actions"], outputs: ["action"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NestedMenuMolecule, decorators: [{
36
+ `, isInline: true, dependencies: [{ kind: "component", type: NestedMenuMolecule, selector: "molecules-nested-menu", inputs: ["actions"], outputs: ["action"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
+ }
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NestedMenuMolecule, decorators: [{
39
39
  type: Component,
40
40
  args: [{
41
41
  selector: 'molecules-nested-menu',
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-nested-menu.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/nested-menu/nested-menu.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/nested-menu/ng-atomic-components-molecules-nested-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { Action } from '@ng-atomic/common/models';\nimport { MatMenuModule } from '@angular/material/menu';\n\n@Component({\n selector: 'molecules-nested-menu',\n standalone: true,\n imports: [\n CommonModule,\n MatMenuModule,\n ],\n template: `\n <mat-menu #childMenu=\"matMenu\" [overlapTrigger]=\"false\">\n <span *ngFor=\"let _action of actions\">\n <span *ngIf=\"_action?.children\">\n <button mat-menu-item [matMenuTriggerFor]=\"menu.childMenu\">\n <mat-icon>{{_action.icon}}</mat-icon>\n <span>{{ _action.name }}</span>\n </button>\n <molecules-nested-menu\n #menu\n [actions]=\"_action.children\"\n (action)=\"action.emit($event)\"\n ></molecules-nested-menu>\n </span>\n \n <span *ngIf=\"!_action?.children\">\n <button mat-menu-item (click)=\"action.emit(_action)\">\n <mat-icon>{{ _action.icon }}</mat-icon>\n <span>{{ _action.name }}</span>\n </button>\n </span>\n </span>\n </mat-menu>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NestedMenuMolecule {\n @Input()\n actions: Action[];\n\n @ViewChild('childMenu')\n childMenu;\n\n @Output()\n action = new EventEmitter<Action>();\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAsCa,kBAAkB,CAAA;AAjC/B,IAAA,WAAA,GAAA;AAyCE,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AACrC,KAAA;;+GATY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,EA1BnB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAA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AA,cAAA,EAAA,QAAA,EAAA,6CAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FA4BJ,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAjC9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;AACd,qBAAA;AACD,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;AAuBT,EAAA,CAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA,CAAA;8BAGC,OAAO,EAAA,CAAA;sBADN,KAAK;gBAIN,SAAS,EAAA,CAAA;sBADR,SAAS;uBAAC,WAAW,CAAA;gBAItB,MAAM,EAAA,CAAA;sBADL,MAAM;;;AC7CT;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-nested-menu.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/nested-menu/nested-menu.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/nested-menu/ng-atomic-components-molecules-nested-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { Action } from '@ng-atomic/common/models';\nimport { MatMenuModule } from '@angular/material/menu';\n\n@Component({\n selector: 'molecules-nested-menu',\n standalone: true,\n imports: [\n CommonModule,\n MatMenuModule,\n ],\n template: `\n <mat-menu #childMenu=\"matMenu\" [overlapTrigger]=\"false\">\n <span *ngFor=\"let _action of actions\">\n <span *ngIf=\"_action?.children\">\n <button mat-menu-item [matMenuTriggerFor]=\"menu.childMenu\">\n <mat-icon>{{_action.icon}}</mat-icon>\n <span>{{ _action.name }}</span>\n </button>\n <molecules-nested-menu\n #menu\n [actions]=\"_action.children\"\n (action)=\"action.emit($event)\"\n ></molecules-nested-menu>\n </span>\n \n <span *ngIf=\"!_action?.children\">\n <button mat-menu-item (click)=\"action.emit(_action)\">\n <mat-icon>{{ _action.icon }}</mat-icon>\n <span>{{ _action.name }}</span>\n </button>\n </span>\n </span>\n </mat-menu>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NestedMenuMolecule {\n @Input()\n actions: Action[];\n\n @ViewChild('childMenu')\n childMenu;\n\n @Output()\n action = new EventEmitter<Action>();\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAsCa,kBAAkB,CAAA;AAjC/B,IAAA,WAAA,GAAA;AAyCE,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AACrC,KAAA;+GATY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,EA1BnB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,WAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,WAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;AAuBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAA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A;AACT,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;AACd,qBAAA;AACD,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;AAuBT,EAAA,CAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA,CAAA;8BAGC,OAAO,EAAA,CAAA;sBADN,KAAK;gBAIN,SAAS,EAAA,CAAA;sBADR,SAAS;uBAAC,WAAW,CAAA;gBAItB,MAAM,EAAA,CAAA;sBADL,MAAM;;;AC7CT;;AAEG;;;;"}
@@ -0,0 +1,67 @@
1
+ import * as i1 from '@angular/common';
2
+ import { CommonModule } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
5
+ import * as i2 from '@angular/forms';
6
+ import { FormControl, ReactiveFormsModule } from '@angular/forms';
7
+ import * as i4 from '@angular/material/select';
8
+ import { MatSelectModule } from '@angular/material/select';
9
+ import { ErrorPipe } from '@ng-atomic/common/pipes/error';
10
+ import * as i3 from '@angular/material/form-field';
11
+ import * as i5 from '@angular/material/core';
12
+
13
+ class SelectInputFieldMolecule {
14
+ constructor() {
15
+ this.label = '';
16
+ this.appearance = 'outline';
17
+ this.control = new FormControl({});
18
+ this.options = [];
19
+ this.value = (item) => item?.value;
20
+ }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SelectInputFieldMolecule, isStandalone: true, selector: "molecules-select-input-field", inputs: { label: "label", appearance: "appearance", control: "control", options: "options" }, host: { classAttribute: "molecule input-field field" }, ngImport: i0, template: `
23
+ <mat-form-field [appearance]="appearance">
24
+ <mat-label>{{ label }}</mat-label>
25
+ <mat-select [formControl]="control">
26
+ <mat-option *ngFor="let option of options; trackBy value;" [value]="option.value">
27
+ {{ option.name }}
28
+ </mat-option>
29
+ </mat-select>
30
+ <mat-error>{{ control.errors | error }}</mat-error>
31
+ </mat-form-field>
32
+ `, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-NFkB: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatSelectModule }, { 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.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
+ }
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectInputFieldMolecule, decorators: [{
35
+ type: Component,
36
+ args: [{ selector: 'molecules-select-input-field', standalone: true, imports: [
37
+ CommonModule,
38
+ ReactiveFormsModule,
39
+ MatSelectModule,
40
+ ErrorPipe,
41
+ ], template: `
42
+ <mat-form-field [appearance]="appearance">
43
+ <mat-label>{{ label }}</mat-label>
44
+ <mat-select [formControl]="control">
45
+ <mat-option *ngFor="let option of options; trackBy value;" [value]="option.value">
46
+ {{ option.name }}
47
+ </mat-option>
48
+ </mat-select>
49
+ <mat-error>{{ control.errors | error }}</mat-error>
50
+ </mat-form-field>
51
+ `, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-NFkB: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
52
+ }], propDecorators: { label: [{
53
+ type: Input
54
+ }], appearance: [{
55
+ type: Input
56
+ }], control: [{
57
+ type: Input
58
+ }], options: [{
59
+ type: Input
60
+ }] } });
61
+
62
+ /**
63
+ * Generated bundle index. Do not edit.
64
+ */
65
+
66
+ export { SelectInputFieldMolecule };
67
+ //# sourceMappingURL=ng-atomic-components-molecules-select-input-field.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-molecules-select-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/molecules/select-input-field/select-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/lib/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatSelectModule } from '@angular/material/select';\nimport { ErrorPipe } from '@ng-atomic/common/pipes/error';\n\nexport interface Option<T> {\n name: string;\n value: T;\n}\n\n@Component({\n selector: 'molecules-select-input-field',\n standalone: true,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatSelectModule,\n ErrorPipe,\n ],\n template: `\n <mat-form-field [appearance]=\"appearance\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n <mat-error>{{ control.errors | error }}</mat-error>\n </mat-form-field>\n `,\n styleUrls: ['./select-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule input-field field'},\n})\nexport class SelectInputFieldMolecule<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n appearance: 'outline' | 'fill' = 'outline';\n\n @Input()\n control = new FormControl<T>({} as T);\n\n @Input()\n options: Option<T>[] = [];\n\n value = (item: Option<T>) => item?.value; \n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAmCa,wBAAwB,CAAA;AAxBrC,IAAA,WAAA,GAAA;QA2BE,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;QAGnB,IAAU,CAAA,UAAA,GAAuB,SAAS,CAAC;AAG3C,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAI,EAAO,CAAC,CAAC;QAGtC,IAAO,CAAA,OAAA,GAAgB,EAAE,CAAC;QAE1B,IAAK,CAAA,KAAA,GAAG,CAAC,IAAe,KAAK,IAAI,EAAE,KAAK,CAAC;AAE1C,KAAA;+GAhBY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,EAfzB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,UAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EAAA,OAAA,EAAA,SAAA,EA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B,CAAC,MAAM,EAAA,IAAA,EACzC,EAAC,KAAK,EAAE,4BAA4B,EAAC,EAAA,MAAA,EAAA,CAAA,sLAAA,CAAA,EAAA,CAAA;8BAK3C,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,UAAU,EAAA,CAAA;sBADT,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;;;AC9CR;;AAEG;;;;"}
@@ -26,10 +26,10 @@ class SmartColumnMolecule extends MatTextColumn {
26
26
  this.text = 'copied!';
27
27
  setTimeout(() => this.text = 'copy', 1000);
28
28
  }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartColumnMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SmartColumnMolecule, isStandalone: true, selector: "molecules-smart-column", inputs: { sort: "sort" }, outputs: { headerClick: "headerClick" }, usesInheritance: true, ngImport: i0, template: "<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;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name | smartExp: name }}\n </p>\n </td>\n</ng-container>", 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] .nowrap,td[mat-cell] .nowrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i2.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: SmartExpModule }, { kind: "pipe", type: i3.SmartExpPipe, name: "smartExp" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatButtonModule }, { 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 }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
29
31
  }
30
- SmartColumnMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartColumnMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component });
31
- SmartColumnMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartColumnMolecule, isStandalone: true, selector: "molecules-smart-column", inputs: { sort: "sort" }, outputs: { headerClick: "headerClick" }, usesInheritance: true, ngImport: i0, template: "<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;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name | smartExp: name }}\n </p>\n </td>\n</ng-container>", 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] .nowrap,td[mat-cell] .nowrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i2.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: SmartExpModule }, { kind: "pipe", type: i3.SmartExpPipe, name: "smartExp" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatButtonModule }, { 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 }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartColumnMolecule, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SmartColumnMolecule, decorators: [{
33
33
  type: Component,
34
34
  args: [{ selector: 'molecules-smart-column', standalone: true, imports: [
35
35
  CommonModule,
@@ -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/smart-column.molecule.html","../../../../../packages/@ng-atomic/components/src/lib/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Input, Output, EventEmitter, Component, ViewEncapsulation } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTableModule, MatTextColumn } 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';\n\n@Component({\n selector: 'molecules-smart-column',\n standalone: true,\n imports: [\n CommonModule,\n ClipboardModule,\n SmartExpModule,\n DataAccessorPipe,\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatTooltipModule,\n ],\n templateUrl: './smart-column.molecule.html',\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartColumnMolecule<T> extends MatTextColumn<T> {\n\n @Input()\n sort: 'asc' | 'desc' | 'none' = 'none';\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","<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;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name | smartExp: name }}\n </p>\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AAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,m4BAAA,EAAA,MAAA,EAAA,CAAA,oQAAA,CAAA,EAAA,CAAA;8BAK/C,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,MAAM;;;AEjCT;;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/smart-column.molecule.html","../../../../../packages/@ng-atomic/components/src/lib/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Input, Output, EventEmitter, Component, ViewEncapsulation } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTableModule, MatTextColumn } 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';\n\n@Component({\n selector: 'molecules-smart-column',\n standalone: true,\n imports: [\n CommonModule,\n ClipboardModule,\n SmartExpModule,\n DataAccessorPipe,\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatTooltipModule,\n ],\n templateUrl: './smart-column.molecule.html',\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartColumnMolecule<T> extends MatTextColumn<T> {\n\n @Input()\n sort: 'asc' | 'desc' | 'none' = 'none';\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","<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;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name | smartExp: name }}\n </p>\n </td>\n</ng-container>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AA4BM,MAAO,mBAAuB,SAAQ,aAAgB,CAAA;AAlB5D,IAAA,WAAA,GAAA;;QAqBE,IAAI,CAAA,IAAA,GAA4B,MAAM,CAAC;AAGvC,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAQ,CAAC;QAEvC,IAAI,CAAA,IAAA,GAAG,MAAM,CAAC;AAMf,KAAA;IAJC,MAAM,GAAA;AACJ,QAAA,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;AACtB,QAAA,UAAU,CAAC,MAAM,IAAI,CAAC,IAAI,GAAG,MAAM,EAAE,IAAI,CAAC,CAAC;KAC5C;+GAbU,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAA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AA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,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;;4FAOP,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAlB/B,SAAS;+BACE,wBAAwB,EAAA,UAAA,EACtB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,eAAe;wBACf,cAAc;wBACd,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,cAAc;wBACd,gBAAgB;AACjB,qBAAA,EAAA,aAAA,EAGc,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,m4BAAA,EAAA,MAAA,EAAA,CAAA,oQAAA,CAAA,EAAA,CAAA;8BAK/C,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,MAAM;;;AEjCT;;AAEG;;;;"}
@@ -0,0 +1,111 @@
1
+ import * as i1 from '@angular/common';
2
+ import { CommonModule } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { signal, Directive, Input, inject, Component, ChangeDetectionStrategy } from '@angular/core';
5
+ import * as i2 from '@angular/forms';
6
+ import { FormControl, ReactiveFormsModule } from '@angular/forms';
7
+ import * as i3 from '@angular/material/input';
8
+ import { MatInputModule } from '@angular/material/input';
9
+ import * as i5 from '@angular/material/autocomplete';
10
+ import { MatAutocompleteModule } from '@angular/material/autocomplete';
11
+ import { ErrorPipe } from '@ng-atomic/common/pipes/error';
12
+ import { signalize } from '@ng-atomic/common/pipes/signal';
13
+ import * as i4 from '@angular/material/form-field';
14
+ import * as i6 from '@angular/material/core';
15
+
16
+ class TextInputFieldMoleculeStore {
17
+ constructor() {
18
+ this.appearance = 'outline';
19
+ this.type = 'text';
20
+ this.label = 'label';
21
+ this.control = new FormControl('');
22
+ this.placeholder = 'placeholder';
23
+ this.autoComplete = signal([]);
24
+ }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextInputFieldMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
26
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "16.2.12", type: TextInputFieldMoleculeStore, isStandalone: true, selector: "molecules-text-input-field", inputs: { appearance: "appearance", type: "type", name: "name", label: "label", control: "control", placeholder: "placeholder", hint: "hint", autoComplete: ["autoComplete", "autoComplete", (v) => signalize(v)] }, ngImport: i0 }); }
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextInputFieldMoleculeStore, decorators: [{
29
+ type: Directive,
30
+ args: [{ standalone: true, selector: 'molecules-text-input-field' }]
31
+ }], propDecorators: { appearance: [{
32
+ type: Input
33
+ }], type: [{
34
+ type: Input
35
+ }], name: [{
36
+ type: Input
37
+ }], label: [{
38
+ type: Input
39
+ }], control: [{
40
+ type: Input
41
+ }], placeholder: [{
42
+ type: Input
43
+ }], hint: [{
44
+ type: Input
45
+ }], autoComplete: [{
46
+ type: Input,
47
+ args: [{ transform: (v) => signalize(v) }]
48
+ }] } });
49
+ class TextInputFieldMolecule {
50
+ constructor() {
51
+ this.store = inject(TextInputFieldMoleculeStore);
52
+ }
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
54
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TextInputFieldMolecule, isStandalone: true, selector: "molecules-text-input-field", host: { classAttribute: "molecule field" }, hostDirectives: [{ directive: TextInputFieldMoleculeStore, inputs: ["appearance", "appearance", "type", "type", "name", "name", "label", "label", "control", "control", "placeholder", "placeholder", "hint", "hint", "autoComplete", "autoComplete"] }], ngImport: i0, template: `
55
+ <mat-form-field [appearance]="store.appearance">
56
+ <mat-label>{{ store.label }}</mat-label>
57
+ <input
58
+ matInput
59
+ [name]="store.name"
60
+ [type]="store.type"
61
+ [formControl]="store.control"
62
+ [placeholder]="store.placeholder"
63
+ [matAutocomplete]="auto"
64
+ >
65
+ <mat-error *ngIf="store.control?.errors">{{ store.control?.errors | error }}</mat-error>
66
+ <mat-hint *ngIf="store.hint">{{ store.hint }}</mat-hint>
67
+ <mat-autocomplete autoActiveFirstOption #auto="matAutocomplete">
68
+ <mat-option *ngFor="let option of store.autoComplete()" [value]="option">{{option}}</mat-option>
69
+ </mat-autocomplete>
70
+ </mat-form-field>
71
+ `, isInline: true, styles: [":host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i5.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple", "hideSingleSelectionIndicator"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i5.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextInputFieldMolecule, decorators: [{
74
+ type: Component,
75
+ args: [{ selector: 'molecules-text-input-field', standalone: true, imports: [
76
+ CommonModule,
77
+ ReactiveFormsModule,
78
+ MatInputModule,
79
+ MatAutocompleteModule,
80
+ ErrorPipe,
81
+ ], template: `
82
+ <mat-form-field [appearance]="store.appearance">
83
+ <mat-label>{{ store.label }}</mat-label>
84
+ <input
85
+ matInput
86
+ [name]="store.name"
87
+ [type]="store.type"
88
+ [formControl]="store.control"
89
+ [placeholder]="store.placeholder"
90
+ [matAutocomplete]="auto"
91
+ >
92
+ <mat-error *ngIf="store.control?.errors">{{ store.control?.errors | error }}</mat-error>
93
+ <mat-hint *ngIf="store.hint">{{ store.hint }}</mat-hint>
94
+ <mat-autocomplete autoActiveFirstOption #auto="matAutocomplete">
95
+ <mat-option *ngFor="let option of store.autoComplete()" [value]="option">{{option}}</mat-option>
96
+ </mat-autocomplete>
97
+ </mat-form-field>
98
+ `, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, hostDirectives: [
99
+ {
100
+ directive: TextInputFieldMoleculeStore,
101
+ inputs: ['appearance', 'type', 'name', 'label', 'control', 'placeholder', 'hint', 'autoComplete'],
102
+ }
103
+ ], styles: [":host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
104
+ }] });
105
+
106
+ /**
107
+ * Generated bundle index. Do not edit.
108
+ */
109
+
110
+ export { TextInputFieldMolecule, TextInputFieldMoleculeStore };
111
+ //# sourceMappingURL=ng-atomic-components-molecules-text-input-field.mjs.map