@ng-atomic/components 5.4.2 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (462) hide show
  1. package/atoms/chips-input/chips-input.atom.d.ts +2 -2
  2. package/atoms/chips-input/index.d.ts +1 -2
  3. package/atoms/icon/icon.atom.d.ts +1 -1
  4. package/atoms/icon/index.d.ts +1 -2
  5. package/atoms/smart-menu-button/index.d.ts +1 -2
  6. package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +1 -1
  7. package/esm2020/atoms/chips-input/chips-input.atom.mjs +52 -6
  8. package/esm2020/atoms/chips-input/index.mjs +2 -3
  9. package/esm2020/atoms/icon/icon.atom.mjs +8 -4
  10. package/esm2020/atoms/icon/index.mjs +2 -3
  11. package/esm2020/atoms/smart-menu-button/index.mjs +2 -3
  12. package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +12 -3
  13. package/esm2020/extras/editor/editor.component.mjs +41 -0
  14. package/esm2020/extras/editor/index.mjs +2 -0
  15. package/esm2020/extras/editor/ng-atomic-components-extras-editor.mjs +5 -0
  16. package/esm2020/frames/auto-layout/auto-layout.frame.mjs +6 -3
  17. package/esm2020/frames/auto-layout/index.mjs +1 -2
  18. package/esm2020/frames/card/card.frame.mjs +9 -4
  19. package/esm2020/frames/card/index.mjs +1 -2
  20. package/esm2020/frames/drawer/drawer.frame.mjs +8 -4
  21. package/esm2020/frames/drawer/index.mjs +2 -3
  22. package/esm2020/frames/fab/fab.frame.mjs +56 -0
  23. package/esm2020/frames/fab/fab.service.mjs +26 -0
  24. package/esm2020/frames/fab/index.mjs +2 -0
  25. package/esm2020/frames/fab/ng-atomic-components-frames-fab.mjs +5 -0
  26. package/esm2020/frames/line-up/line-up.frame.mjs +17 -5
  27. package/esm2020/frames/loading/index.mjs +2 -0
  28. package/esm2020/frames/loading/loading.frame.mjs +29 -0
  29. package/esm2020/frames/loading/ng-atomic-components-frames-loading.mjs +5 -0
  30. package/esm2020/frames/overlay/index.mjs +1 -2
  31. package/esm2020/frames/overlay/overlay.frame.mjs +8 -3
  32. package/esm2020/frames/scroll/index.mjs +1 -2
  33. package/esm2020/frames/scroll/scroll.frame.mjs +8 -3
  34. package/esm2020/frames/smart-menu/index.mjs +1 -2
  35. package/esm2020/frames/smart-menu/smart-menu.frame.mjs +6 -3
  36. package/esm2020/molecules/actions-column/actions-column.molecule.mjs +16 -4
  37. package/esm2020/molecules/actions-column/index.mjs +1 -2
  38. package/esm2020/molecules/checkbox-column/checkbox-column.molecule.mjs +16 -5
  39. package/esm2020/molecules/checkbox-column/index.mjs +1 -2
  40. package/esm2020/molecules/chips-input-field/chips-input-field.molecule.mjs +22 -7
  41. package/esm2020/molecules/chips-input-field/index.mjs +1 -2
  42. package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +16 -6
  43. package/esm2020/molecules/date-input-field/index.mjs +2 -3
  44. package/esm2020/molecules/header/header.molecule.mjs +6 -3
  45. package/esm2020/molecules/header/index.mjs +2 -3
  46. package/esm2020/molecules/navigation-list-item/index.mjs +2 -3
  47. package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +32 -7
  48. package/esm2020/molecules/select-input-field/index.mjs +1 -2
  49. package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +13 -4
  50. package/esm2020/molecules/smart-column/index.mjs +1 -2
  51. package/esm2020/molecules/smart-column/smart-column.molecule.mjs +24 -9
  52. package/esm2020/molecules/text-input-field/index.mjs +2 -3
  53. package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +14 -5
  54. package/esm2020/molecules/textarea-field/index.mjs +1 -2
  55. package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +10 -4
  56. package/esm2020/molecules/tree-column/index.mjs +2 -0
  57. package/esm2020/molecules/tree-column/ng-atomic-components-molecules-tree-column.mjs +5 -0
  58. package/esm2020/molecules/tree-column/tree-column.molecule.mjs +128 -0
  59. package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +9 -4
  60. package/esm2020/organisms/action-buttons-section/index.mjs +1 -2
  61. package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +15 -5
  62. package/esm2020/organisms/back-navigator/index.mjs +1 -2
  63. package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +8 -4
  64. package/esm2020/organisms/card-input-section/index.mjs +2 -3
  65. package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +10 -5
  66. package/esm2020/organisms/cvc-and-exp-input-section/index.mjs +2 -3
  67. package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +8 -4
  68. package/esm2020/organisms/date-input-section/index.mjs +1 -2
  69. package/esm2020/organisms/filters-section/filters-section.organism.mjs +129 -0
  70. package/esm2020/organisms/filters-section/index.mjs +2 -0
  71. package/esm2020/organisms/filters-section/ng-atomic-components-organisms-filters-section.mjs +5 -0
  72. package/esm2020/organisms/graphql-editor/graphql-editor.organism.mjs +115 -0
  73. package/esm2020/organisms/graphql-editor/index.mjs +2 -0
  74. package/esm2020/organisms/graphql-editor/ng-atomic-components-organisms-graphql-editor.mjs +5 -0
  75. package/esm2020/organisms/grid-toolbar/grid-toolbar.organism.mjs +68 -0
  76. package/esm2020/organisms/grid-toolbar/index.mjs +2 -0
  77. package/esm2020/organisms/grid-toolbar/ng-atomic-components-organisms-grid-toolbar.mjs +5 -0
  78. package/esm2020/organisms/heading/heading.organism.mjs +6 -3
  79. package/esm2020/organisms/heading/index.mjs +1 -2
  80. package/esm2020/organisms/navigation-list/index.mjs +2 -3
  81. package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +11 -5
  82. package/esm2020/organisms/navigator/index.mjs +2 -3
  83. package/esm2020/organisms/navigator/navigator.organism.mjs +14 -4
  84. package/esm2020/organisms/paginator/index.mjs +1 -2
  85. package/esm2020/organisms/paginator/paginator.organism.mjs +40 -7
  86. package/esm2020/organisms/select-input-section/index.mjs +1 -2
  87. package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +8 -4
  88. package/esm2020/organisms/smart-list/index.mjs +1 -2
  89. package/esm2020/organisms/smart-list/smart-list.organism.mjs +45 -8
  90. package/esm2020/organisms/smart-table/index.mjs +1 -2
  91. package/esm2020/organisms/smart-table/smart-table.organism.mjs +45 -9
  92. package/esm2020/organisms/social-login-section/index.mjs +1 -2
  93. package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +9 -4
  94. package/esm2020/organisms/text-input-section/index.mjs +2 -3
  95. package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +8 -4
  96. package/esm2020/organisms/textarea-section/index.mjs +2 -3
  97. package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +8 -4
  98. package/esm2020/organisms/top-navigator/index.mjs +1 -2
  99. package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +12 -4
  100. package/esm2020/templates/entrance/entrance.template.mjs +18 -8
  101. package/esm2020/templates/entrance/index.mjs +1 -2
  102. package/esm2020/templates/loading/index.mjs +1 -2
  103. package/esm2020/templates/loading/loading.template.mjs +9 -4
  104. package/esm2020/templates/menu/index.mjs +1 -2
  105. package/esm2020/templates/menu/menu.template.mjs +8 -4
  106. package/esm2020/templates/smart-crud/smart-crud.template.mjs +21 -42
  107. package/esm2020/templates/smart-index/smart-index.template.mjs +36 -35
  108. package/extras/editor/editor.component.d.ts +12 -0
  109. package/extras/editor/index.d.ts +1 -0
  110. package/fesm2015/ng-atomic-components-atoms-chips-input.mjs +50 -44
  111. package/fesm2015/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
  112. package/fesm2015/ng-atomic-components-atoms-icon.mjs +10 -33
  113. package/fesm2015/ng-atomic-components-atoms-icon.mjs.map +1 -1
  114. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +10 -33
  115. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  116. package/fesm2015/ng-atomic-components-extras-editor.mjs +52 -0
  117. package/fesm2015/ng-atomic-components-extras-editor.mjs.map +1 -0
  118. package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +7 -25
  119. package/fesm2015/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
  120. package/fesm2015/ng-atomic-components-frames-card.mjs +9 -32
  121. package/fesm2015/ng-atomic-components-frames-card.mjs.map +1 -1
  122. package/fesm2015/ng-atomic-components-frames-drawer.mjs +8 -24
  123. package/fesm2015/ng-atomic-components-frames-drawer.mjs.map +1 -1
  124. package/fesm2015/ng-atomic-components-frames-fab.mjs +84 -0
  125. package/fesm2015/ng-atomic-components-frames-fab.mjs.map +1 -0
  126. package/fesm2015/ng-atomic-components-frames-line-up.mjs +16 -4
  127. package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +1 -1
  128. package/fesm2015/ng-atomic-components-frames-loading.mjs +36 -0
  129. package/fesm2015/ng-atomic-components-frames-loading.mjs.map +1 -0
  130. package/fesm2015/ng-atomic-components-frames-overlay.mjs +8 -26
  131. package/fesm2015/ng-atomic-components-frames-overlay.mjs.map +1 -1
  132. package/fesm2015/ng-atomic-components-frames-scroll.mjs +6 -26
  133. package/fesm2015/ng-atomic-components-frames-scroll.mjs.map +1 -1
  134. package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +7 -21
  135. package/fesm2015/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
  136. package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +18 -52
  137. package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  138. package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs +18 -43
  139. package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
  140. package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +23 -60
  141. package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
  142. package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +17 -41
  143. package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
  144. package/fesm2015/ng-atomic-components-molecules-header.mjs +7 -25
  145. package/fesm2015/ng-atomic-components-molecules-header.mjs.map +1 -1
  146. package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +32 -42
  147. package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
  148. package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +12 -31
  149. package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
  150. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +20 -58
  151. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  152. package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +14 -36
  153. package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  154. package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +10 -32
  155. package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  156. package/fesm2015/ng-atomic-components-molecules-tree-column.mjs +135 -0
  157. package/fesm2015/ng-atomic-components-molecules-tree-column.mjs.map +1 -0
  158. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +10 -36
  159. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
  160. package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +14 -47
  161. package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
  162. package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +9 -29
  163. package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
  164. package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +11 -34
  165. package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
  166. package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +9 -30
  167. package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
  168. package/fesm2015/ng-atomic-components-organisms-filters-section.mjs +136 -0
  169. package/fesm2015/ng-atomic-components-organisms-filters-section.mjs.map +1 -0
  170. package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs +121 -0
  171. package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -0
  172. package/fesm2015/ng-atomic-components-organisms-grid-toolbar.mjs +75 -0
  173. package/fesm2015/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -0
  174. package/fesm2015/ng-atomic-components-organisms-heading.mjs +7 -25
  175. package/fesm2015/ng-atomic-components-organisms-heading.mjs.map +1 -1
  176. package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +12 -37
  177. package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
  178. package/fesm2015/ng-atomic-components-organisms-navigator.mjs +14 -43
  179. package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
  180. package/fesm2015/ng-atomic-components-organisms-paginator.mjs +40 -49
  181. package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +1 -1
  182. package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +9 -33
  183. package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
  184. package/fesm2015/ng-atomic-components-organisms-smart-list.mjs +43 -42
  185. package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
  186. package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +42 -73
  187. package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
  188. package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +10 -33
  189. package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
  190. package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +9 -33
  191. package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
  192. package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +9 -29
  193. package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
  194. package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +12 -43
  195. package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
  196. package/fesm2015/ng-atomic-components-templates-entrance.mjs +19 -63
  197. package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +1 -1
  198. package/fesm2015/ng-atomic-components-templates-loading.mjs +9 -35
  199. package/fesm2015/ng-atomic-components-templates-loading.mjs.map +1 -1
  200. package/fesm2015/ng-atomic-components-templates-menu.mjs +9 -30
  201. package/fesm2015/ng-atomic-components-templates-menu.mjs.map +1 -1
  202. package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +20 -41
  203. package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
  204. package/fesm2015/ng-atomic-components-templates-smart-index.mjs +35 -34
  205. package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
  206. package/fesm2020/ng-atomic-components-atoms-chips-input.mjs +50 -44
  207. package/fesm2020/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
  208. package/fesm2020/ng-atomic-components-atoms-icon.mjs +9 -32
  209. package/fesm2020/ng-atomic-components-atoms-icon.mjs.map +1 -1
  210. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +10 -33
  211. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  212. package/fesm2020/ng-atomic-components-extras-editor.mjs +48 -0
  213. package/fesm2020/ng-atomic-components-extras-editor.mjs.map +1 -0
  214. package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +7 -25
  215. package/fesm2020/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
  216. package/fesm2020/ng-atomic-components-frames-card.mjs +9 -32
  217. package/fesm2020/ng-atomic-components-frames-card.mjs.map +1 -1
  218. package/fesm2020/ng-atomic-components-frames-drawer.mjs +8 -24
  219. package/fesm2020/ng-atomic-components-frames-drawer.mjs.map +1 -1
  220. package/fesm2020/ng-atomic-components-frames-fab.mjs +84 -0
  221. package/fesm2020/ng-atomic-components-frames-fab.mjs.map +1 -0
  222. package/fesm2020/ng-atomic-components-frames-line-up.mjs +16 -4
  223. package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +1 -1
  224. package/fesm2020/ng-atomic-components-frames-loading.mjs +36 -0
  225. package/fesm2020/ng-atomic-components-frames-loading.mjs.map +1 -0
  226. package/fesm2020/ng-atomic-components-frames-overlay.mjs +8 -26
  227. package/fesm2020/ng-atomic-components-frames-overlay.mjs.map +1 -1
  228. package/fesm2020/ng-atomic-components-frames-scroll.mjs +6 -26
  229. package/fesm2020/ng-atomic-components-frames-scroll.mjs.map +1 -1
  230. package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +7 -21
  231. package/fesm2020/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
  232. package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +18 -52
  233. package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  234. package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs +18 -43
  235. package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
  236. package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs +23 -60
  237. package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
  238. package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +17 -41
  239. package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
  240. package/fesm2020/ng-atomic-components-molecules-header.mjs +7 -25
  241. package/fesm2020/ng-atomic-components-molecules-header.mjs.map +1 -1
  242. package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +32 -42
  243. package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
  244. package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +12 -31
  245. package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
  246. package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +20 -58
  247. package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  248. package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +14 -36
  249. package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  250. package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +10 -32
  251. package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  252. package/fesm2020/ng-atomic-components-molecules-tree-column.mjs +135 -0
  253. package/fesm2020/ng-atomic-components-molecules-tree-column.mjs.map +1 -0
  254. package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +10 -36
  255. package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
  256. package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +14 -47
  257. package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
  258. package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +9 -29
  259. package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
  260. package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +11 -34
  261. package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
  262. package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +9 -30
  263. package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
  264. package/fesm2020/ng-atomic-components-organisms-filters-section.mjs +136 -0
  265. package/fesm2020/ng-atomic-components-organisms-filters-section.mjs.map +1 -0
  266. package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs +120 -0
  267. package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -0
  268. package/fesm2020/ng-atomic-components-organisms-grid-toolbar.mjs +75 -0
  269. package/fesm2020/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -0
  270. package/fesm2020/ng-atomic-components-organisms-heading.mjs +7 -25
  271. package/fesm2020/ng-atomic-components-organisms-heading.mjs.map +1 -1
  272. package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +12 -37
  273. package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
  274. package/fesm2020/ng-atomic-components-organisms-navigator.mjs +14 -43
  275. package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
  276. package/fesm2020/ng-atomic-components-organisms-paginator.mjs +41 -49
  277. package/fesm2020/ng-atomic-components-organisms-paginator.mjs.map +1 -1
  278. package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +9 -33
  279. package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
  280. package/fesm2020/ng-atomic-components-organisms-smart-list.mjs +43 -42
  281. package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
  282. package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +43 -73
  283. package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
  284. package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +10 -33
  285. package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
  286. package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +9 -33
  287. package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
  288. package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +9 -29
  289. package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
  290. package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +12 -43
  291. package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
  292. package/fesm2020/ng-atomic-components-templates-entrance.mjs +19 -63
  293. package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +1 -1
  294. package/fesm2020/ng-atomic-components-templates-loading.mjs +9 -35
  295. package/fesm2020/ng-atomic-components-templates-loading.mjs.map +1 -1
  296. package/fesm2020/ng-atomic-components-templates-menu.mjs +9 -30
  297. package/fesm2020/ng-atomic-components-templates-menu.mjs.map +1 -1
  298. package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +20 -41
  299. package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
  300. package/fesm2020/ng-atomic-components-templates-smart-index.mjs +35 -34
  301. package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
  302. package/frames/auto-layout/auto-layout.frame.d.ts +1 -1
  303. package/frames/auto-layout/index.d.ts +0 -1
  304. package/frames/card/card.frame.d.ts +1 -1
  305. package/frames/card/index.d.ts +0 -1
  306. package/frames/drawer/drawer.frame.d.ts +1 -1
  307. package/frames/drawer/index.d.ts +1 -2
  308. package/frames/fab/fab.frame.d.ts +15 -0
  309. package/frames/fab/fab.service.d.ts +12 -0
  310. package/frames/fab/index.d.ts +1 -0
  311. package/frames/loading/index.d.ts +1 -0
  312. package/frames/loading/loading.frame.d.ts +6 -0
  313. package/frames/overlay/index.d.ts +0 -1
  314. package/frames/overlay/overlay.frame.d.ts +1 -1
  315. package/frames/scroll/index.d.ts +0 -1
  316. package/frames/scroll/scroll.frame.d.ts +1 -1
  317. package/frames/smart-menu/index.d.ts +0 -1
  318. package/frames/smart-menu/smart-menu.frame.d.ts +1 -1
  319. package/molecules/actions-column/actions-column.molecule.d.ts +1 -1
  320. package/molecules/actions-column/index.d.ts +0 -1
  321. package/molecules/checkbox-column/checkbox-column.molecule.d.ts +1 -1
  322. package/molecules/checkbox-column/index.d.ts +0 -1
  323. package/molecules/chips-input-field/chips-input-field.molecule.d.ts +1 -1
  324. package/molecules/chips-input-field/index.d.ts +0 -1
  325. package/molecules/date-input-field/date-input-field.molecule.d.ts +1 -1
  326. package/molecules/date-input-field/index.d.ts +1 -2
  327. package/molecules/header/header.molecule.d.ts +1 -1
  328. package/molecules/header/index.d.ts +1 -2
  329. package/molecules/navigation-list-item/index.d.ts +1 -2
  330. package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +1 -1
  331. package/molecules/select-input-field/index.d.ts +0 -1
  332. package/molecules/select-input-field/select-input-field.molecule.d.ts +2 -1
  333. package/molecules/smart-column/index.d.ts +0 -1
  334. package/molecules/smart-column/smart-column.molecule.d.ts +2 -2
  335. package/molecules/text-input-field/index.d.ts +1 -2
  336. package/molecules/text-input-field/text-input-field.molecule.d.ts +2 -1
  337. package/molecules/textarea-field/index.d.ts +0 -1
  338. package/molecules/textarea-field/textarea-field.molecule.d.ts +1 -1
  339. package/molecules/tree-column/index.d.ts +1 -0
  340. package/molecules/tree-column/tree-column.molecule.d.ts +14 -0
  341. package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -1
  342. package/organisms/action-buttons-section/index.d.ts +0 -1
  343. package/organisms/back-navigator/back-navigator.organism.d.ts +1 -1
  344. package/organisms/back-navigator/index.d.ts +0 -1
  345. package/organisms/card-input-section/card-input-section.organism.d.ts +1 -1
  346. package/organisms/card-input-section/index.d.ts +1 -2
  347. package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +1 -1
  348. package/organisms/cvc-and-exp-input-section/index.d.ts +1 -2
  349. package/organisms/date-input-section/date-input-section.organism.d.ts +1 -1
  350. package/organisms/date-input-section/index.d.ts +0 -1
  351. package/organisms/filters-section/filters-section.organism.d.ts +19 -0
  352. package/organisms/filters-section/index.d.ts +1 -0
  353. package/organisms/graphql-editor/graphql-editor.organism.d.ts +37 -0
  354. package/organisms/graphql-editor/index.d.ts +1 -0
  355. package/organisms/grid-toolbar/grid-toolbar.organism.d.ts +18 -0
  356. package/organisms/grid-toolbar/index.d.ts +1 -0
  357. package/organisms/heading/heading.organism.d.ts +1 -1
  358. package/organisms/heading/index.d.ts +0 -1
  359. package/organisms/navigation-list/index.d.ts +1 -2
  360. package/organisms/navigation-list/navigation-list.organism.d.ts +1 -1
  361. package/organisms/navigator/index.d.ts +1 -2
  362. package/organisms/navigator/navigator.organism.d.ts +1 -1
  363. package/organisms/paginator/index.d.ts +0 -1
  364. package/organisms/paginator/paginator.organism.d.ts +8 -2
  365. package/organisms/select-input-section/index.d.ts +0 -1
  366. package/organisms/select-input-section/select-input-section.organism.d.ts +1 -1
  367. package/organisms/smart-list/index.d.ts +0 -1
  368. package/organisms/smart-list/smart-list.organism.d.ts +1 -2
  369. package/organisms/smart-table/index.d.ts +0 -1
  370. package/organisms/smart-table/smart-table.organism.d.ts +9 -2
  371. package/organisms/social-login-section/index.d.ts +0 -1
  372. package/organisms/social-login-section/social-login-section.organism.d.ts +1 -1
  373. package/organisms/text-input-section/index.d.ts +1 -2
  374. package/organisms/text-input-section/text-input-section.organism.d.ts +1 -1
  375. package/organisms/textarea-section/index.d.ts +1 -2
  376. package/organisms/textarea-section/textarea-section.organism.d.ts +1 -1
  377. package/organisms/top-navigator/index.d.ts +0 -1
  378. package/organisms/top-navigator/top-navigator.organism.d.ts +1 -1
  379. package/package.json +69 -5
  380. package/templates/entrance/entrance.template.d.ts +1 -1
  381. package/templates/entrance/index.d.ts +0 -1
  382. package/templates/loading/index.d.ts +0 -1
  383. package/templates/loading/loading.template.d.ts +1 -1
  384. package/templates/menu/index.d.ts +0 -1
  385. package/templates/menu/menu.template.d.ts +1 -1
  386. package/templates/smart-index/smart-index.template.d.ts +10 -3
  387. package/atoms/chips-input/chips-input.module.d.ts +0 -12
  388. package/atoms/icon/icon.module.d.ts +0 -9
  389. package/atoms/smart-menu-button/smart-menu-button.module.d.ts +0 -11
  390. package/esm2020/atoms/chips-input/chips-input.module.mjs +0 -44
  391. package/esm2020/atoms/icon/icon.module.mjs +0 -31
  392. package/esm2020/atoms/smart-menu-button/smart-menu-button.module.mjs +0 -35
  393. package/esm2020/frames/auto-layout/auto-layout.module.mjs +0 -24
  394. package/esm2020/frames/card/card.module.mjs +0 -31
  395. package/esm2020/frames/drawer/drawer.module.mjs +0 -24
  396. package/esm2020/frames/overlay/overlay.module.mjs +0 -26
  397. package/esm2020/frames/scroll/scroll.module.mjs +0 -28
  398. package/esm2020/frames/smart-menu/smart-menu.module.mjs +0 -20
  399. package/esm2020/molecules/actions-column/actions-column.module.mjs +0 -49
  400. package/esm2020/molecules/checkbox-column/checkbox-column.module.mjs +0 -39
  401. package/esm2020/molecules/chips-input-field/chips-input-field.module.mjs +0 -56
  402. package/esm2020/molecules/date-input-field/date-input-field.module.mjs +0 -38
  403. package/esm2020/molecules/header/header.module.mjs +0 -24
  404. package/esm2020/molecules/navigation-list-item/navigation-list-item.module.mjs +0 -38
  405. package/esm2020/molecules/select-input-field/select-input-field.module.mjs +0 -32
  406. package/esm2020/molecules/smart-column/smart-column.module.mjs +0 -56
  407. package/esm2020/molecules/text-input-field/text-input-field.module.mjs +0 -37
  408. package/esm2020/molecules/textarea-field/textarea-field.module.mjs +0 -32
  409. package/esm2020/organisms/action-buttons-section/action-buttons-section.module.mjs +0 -34
  410. package/esm2020/organisms/back-navigator/back-navigator.module.mjs +0 -46
  411. package/esm2020/organisms/card-input-section/card-input-section.module.mjs +0 -27
  412. package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.mjs +0 -31
  413. package/esm2020/organisms/date-input-section/date-input-section.module.mjs +0 -28
  414. package/esm2020/organisms/heading/heading.module.mjs +0 -24
  415. package/esm2020/organisms/navigation-list/navigation-list.module.mjs +0 -34
  416. package/esm2020/organisms/navigator/navigator.module.mjs +0 -42
  417. package/esm2020/organisms/paginator/paginator.module.mjs +0 -45
  418. package/esm2020/organisms/select-input-section/select-input-section.module.mjs +0 -31
  419. package/esm2020/organisms/smart-list/smart-list.module.mjs +0 -39
  420. package/esm2020/organisms/smart-table/smart-table.module.mjs +0 -69
  421. package/esm2020/organisms/social-login-section/social-login-section.module.mjs +0 -31
  422. package/esm2020/organisms/text-input-section/text-input-section.module.mjs +0 -31
  423. package/esm2020/organisms/textarea-section/textarea-section.module.mjs +0 -27
  424. package/esm2020/organisms/top-navigator/top-navigator.module.mjs +0 -42
  425. package/esm2020/templates/entrance/entrance.module.mjs +0 -57
  426. package/esm2020/templates/loading/loading.module.mjs +0 -34
  427. package/esm2020/templates/menu/menu.module.mjs +0 -28
  428. package/frames/auto-layout/auto-layout.module.d.ts +0 -8
  429. package/frames/card/card.module.d.ts +0 -9
  430. package/frames/drawer/drawer.module.d.ts +0 -9
  431. package/frames/overlay/overlay.module.d.ts +0 -9
  432. package/frames/scroll/scroll.module.d.ts +0 -9
  433. package/frames/smart-menu/smart-menu.module.d.ts +0 -8
  434. package/molecules/actions-column/actions-column.module.d.ts +0 -13
  435. package/molecules/checkbox-column/checkbox-column.module.d.ts +0 -10
  436. package/molecules/chips-input-field/chips-input-field.module.d.ts +0 -14
  437. package/molecules/date-input-field/date-input-field.module.d.ts +0 -12
  438. package/molecules/header/header.module.d.ts +0 -8
  439. package/molecules/navigation-list-item/navigation-list-item.module.d.ts +0 -10
  440. package/molecules/select-input-field/select-input-field.module.d.ts +0 -10
  441. package/molecules/smart-column/smart-column.module.d.ts +0 -15
  442. package/molecules/text-input-field/text-input-field.module.d.ts +0 -10
  443. package/molecules/textarea-field/textarea-field.module.d.ts +0 -10
  444. package/organisms/action-buttons-section/action-buttons-section.module.d.ts +0 -9
  445. package/organisms/back-navigator/back-navigator.module.d.ts +0 -12
  446. package/organisms/card-input-section/card-input-section.module.d.ts +0 -9
  447. package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.d.ts +0 -10
  448. package/organisms/date-input-section/date-input-section.module.d.ts +0 -9
  449. package/organisms/heading/heading.module.d.ts +0 -8
  450. package/organisms/navigation-list/navigation-list.module.d.ts +0 -10
  451. package/organisms/navigator/navigator.module.d.ts +0 -12
  452. package/organisms/paginator/paginator.module.d.ts +0 -11
  453. package/organisms/select-input-section/select-input-section.module.d.ts +0 -9
  454. package/organisms/smart-list/smart-list.module.d.ts +0 -12
  455. package/organisms/smart-table/smart-table.module.d.ts +0 -17
  456. package/organisms/social-login-section/social-login-section.module.d.ts +0 -9
  457. package/organisms/text-input-section/text-input-section.module.d.ts +0 -9
  458. package/organisms/textarea-section/textarea-section.module.d.ts +0 -9
  459. package/organisms/top-navigator/top-navigator.module.d.ts +0 -11
  460. package/templates/entrance/entrance.module.d.ts +0 -14
  461. package/templates/loading/loading.module.d.ts +0 -9
  462. package/templates/menu/menu.module.d.ts +0 -9
@@ -1,15 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Optional, Inject, Input, Output, NgModule } from '@angular/core';
3
- import * as i5 from '@ng-atomic/common/pipes/data-accessor';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Optional, Inject, Input, Output } from '@angular/core';
4
3
  import { defaultDataAccessor, DATA_ACCESSOR, DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';
5
4
  import * as i1 from '@angular/common';
6
5
  import { CommonModule } from '@angular/common';
7
- import * as i2 from '@angular/material/legacy-list';
8
- import { MatLegacyListModule } from '@angular/material/legacy-list';
9
- import * as i3 from '@angular/material/core';
10
- import { MatRippleModule } from '@angular/material/core';
11
- import * as i4 from '@angular/material/divider';
6
+ import * as i2 from '@angular/material/list';
7
+ import { MatListModule } from '@angular/material/list';
12
8
  import { MatIconModule } from '@angular/material/icon';
9
+ import * as i4 from '@angular/material/core';
10
+ import { MatRippleModule } from '@angular/material/core';
11
+ import * as i3 from '@angular/material/divider';
13
12
 
14
13
  var ActionId;
15
14
  (function (ActionId) {
@@ -18,7 +17,6 @@ var ActionId;
18
17
  class SmartListOrganism {
19
18
  constructor(dataAccessor) {
20
19
  this.dataAccessor = dataAccessor;
21
- this.statusAccessor = (data) => data['status'];
22
20
  this.items = [];
23
21
  this.action = new EventEmitter();
24
22
  this.dataAccessor ?? (this.dataAccessor = defaultDataAccessor);
@@ -42,10 +40,44 @@ class SmartListOrganism {
42
40
  }
43
41
  }
44
42
  SmartListOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListOrganism, deps: [{ token: DATA_ACCESSOR, optional: true }], target: i0.ɵɵFactoryTarget.Component });
45
- SmartListOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartListOrganism, selector: "organisms-smart-list", inputs: { items: "items" }, outputs: { action: "action" }, ngImport: i0, template: "<mat-list>\n <ng-container *ngFor=\"let status of statuses\">\n <div mat-subheader> {{ status }}</div>\n <ng-container *ngFor=\"let item of statusMap[status]\">\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span mat-line>{{ item | dataAccessor:'__title' }}</span>\n <span mat-line>{{ item | dataAccessor:'__desc' }}</span>\n </mat-list-item>\n <mat-divider *ngIf=\"statuses.length === 1\"></mat-divider>\n </ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n</mat-list>\n", styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatLegacyList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { kind: "component", type: i2.MatLegacyListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { kind: "directive", type: i3.MatLine, selector: "[mat-line], [matLine]" }, { kind: "directive", type: i2.MatLegacyListSubheaderCssMatStyler, selector: "[mat-subheader], [matSubheader]" }, { kind: "component", type: i4.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: i3.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "pipe", type: i5.DataAccessorPipe, name: "dataAccessor" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
43
+ SmartListOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartListOrganism, isStandalone: true, selector: "organisms-smart-list", inputs: { items: "items" }, outputs: { action: "action" }, ngImport: i0, template: `
44
+ <mat-list>
45
+ <ng-container *ngFor="let status of statuses">
46
+ <div mat-subheader> {{ status }}</div>
47
+ <ng-container *ngFor="let item of statusMap[status]">
48
+ <mat-list-item lines="2" matRipple (click)="onItemClick(item)">
49
+ <span matListItemTitle>{{ item | dataAccessor:'title' }}</span>
50
+ <span matListItemLine>{{ item | dataAccessor:'description' }}</span>
51
+ </mat-list-item>
52
+ <mat-divider *ngIf="statuses.length === 1"></mat-divider>
53
+ </ng-container>
54
+ <mat-divider *ngIf="statuses.length > 1"></mat-divider>
55
+ </ng-container>
56
+ </mat-list>
57
+ `, isInline: true, styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}\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: MatListModule }, { kind: "component", type: i2.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i2.MatListSubheaderCssMatStyler, selector: "[mat-subheader], [matSubheader]" }, { kind: "component", type: i3.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: i2.MatListItemLine, selector: "[matListItemLine]" }, { kind: "directive", type: i2.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i4.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
46
58
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListOrganism, decorators: [{
47
59
  type: Component,
48
- args: [{ selector: 'organisms-smart-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-list>\n <ng-container *ngFor=\"let status of statuses\">\n <div mat-subheader> {{ status }}</div>\n <ng-container *ngFor=\"let item of statusMap[status]\">\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span mat-line>{{ item | dataAccessor:'__title' }}</span>\n <span mat-line>{{ item | dataAccessor:'__desc' }}</span>\n </mat-list-item>\n <mat-divider *ngIf=\"statuses.length === 1\"></mat-divider>\n </ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n</mat-list>\n", styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}\n"] }]
60
+ args: [{ selector: 'organisms-smart-list', standalone: true, imports: [
61
+ CommonModule,
62
+ MatListModule,
63
+ MatIconModule,
64
+ MatRippleModule,
65
+ DataAccessorPipe,
66
+ ], template: `
67
+ <mat-list>
68
+ <ng-container *ngFor="let status of statuses">
69
+ <div mat-subheader> {{ status }}</div>
70
+ <ng-container *ngFor="let item of statusMap[status]">
71
+ <mat-list-item lines="2" matRipple (click)="onItemClick(item)">
72
+ <span matListItemTitle>{{ item | dataAccessor:'title' }}</span>
73
+ <span matListItemLine>{{ item | dataAccessor:'description' }}</span>
74
+ </mat-list-item>
75
+ <mat-divider *ngIf="statuses.length === 1"></mat-divider>
76
+ </ng-container>
77
+ <mat-divider *ngIf="statuses.length > 1"></mat-divider>
78
+ </ng-container>
79
+ </mat-list>
80
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}:host{display:block;flex-direction:unset;font-size:14px;height:100%}:host mat-list-item{cursor:pointer}\n"] }]
49
81
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
50
82
  type: Optional
51
83
  }, {
@@ -57,40 +89,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
57
89
  type: Output
58
90
  }] } });
59
91
 
60
- class SmartListModule {
61
- }
62
- SmartListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
63
- SmartListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartListModule, declarations: [SmartListOrganism], imports: [CommonModule,
64
- MatLegacyListModule,
65
- MatIconModule,
66
- MatRippleModule,
67
- DataAccessorPipe], exports: [SmartListOrganism] });
68
- SmartListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListModule, imports: [CommonModule,
69
- MatLegacyListModule,
70
- MatIconModule,
71
- MatRippleModule] });
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartListModule, decorators: [{
73
- type: NgModule,
74
- args: [{
75
- declarations: [
76
- SmartListOrganism,
77
- ],
78
- imports: [
79
- CommonModule,
80
- MatLegacyListModule,
81
- MatIconModule,
82
- MatRippleModule,
83
- DataAccessorPipe,
84
- ],
85
- exports: [
86
- SmartListOrganism
87
- ]
88
- }]
89
- }] });
90
-
91
92
  /**
92
93
  * Generated bundle index. Do not edit.
93
94
  */
94
95
 
95
- export { ActionId, SmartListModule, SmartListOrganism };
96
+ export { ActionId, SmartListOrganism };
96
97
  //# sourceMappingURL=ng-atomic-components-organisms-smart-list.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';\nimport { Action } from '@ng-atomic/common/models';\nimport { DataAccessor, DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n}\n\n@Component({\n selector: 'organisms-smart-list',\n templateUrl: './smart-list.organism.html',\n styleUrls: ['./smart-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SmartListOrganism<T> {\n\n constructor(\n @Optional() @Inject(DATA_ACCESSOR) private dataAccessor: DataAccessor<T>\n ) {\n this.dataAccessor ??= defaultDataAccessor;\n }\n\n statusAccessor = (data) => data['status'];\n\n @Input()\n items: T[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n get statusMap() {\n return (this.items ?? []).reduce((acc, item) => {\n const key = this.dataAccessor(item, '__status');\n acc[key] ??= [],\n acc[key].push(item);\n return acc;\n }, {} as { [id: string]: any[] });\n }\n\n get statuses() {\n return Object.keys(this.statusMap);\n }\n\n protected onItemClick(item: T) {\n this.action.emit({\n id: ActionId.CLICK_ITEM,\n payload: item,\n });\n }\n}\n","<mat-list>\n <ng-container *ngFor=\"let status of statuses\">\n <div mat-subheader> {{ status }}</div>\n <ng-container *ngFor=\"let item of statusMap[status]\">\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span mat-line>{{ item | dataAccessor:'__title' }}</span>\n <span mat-line>{{ item | dataAccessor:'__desc' }}</span>\n </mat-list-item>\n <mat-divider *ngIf=\"statuses.length === 1\"></mat-divider>\n </ng-container>\n <mat-divider></mat-divider>\n </ng-container>\n</mat-list>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartListOrganism } from './smart-list.organism';\nimport { MatLegacyListModule as MatListModule } from '@angular/material/legacy-list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\n\n@NgModule({\n declarations: [\n SmartListOrganism,\n ],\n imports: [\n CommonModule,\n MatListModule,\n MatIconModule,\n MatRippleModule,\n DataAccessorPipe,\n ],\n exports: [\n SmartListOrganism\n ]\n})\nexport class SmartListModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatListModule"],"mappings":";;;;;;;;;;;;;IAIY,SAEX;AAFD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,YAAA,CAAA,GAAA,yDAAsE,CAAA;AACxE,CAAC,EAFW,QAAQ,KAAR,QAAQ,GAEnB,EAAA,CAAA,CAAA,CAAA;MAQY,iBAAiB,CAAA;AAE5B,IAAA,WAAA,CAC6C,YAA6B,EAAA;QAA7B,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAiB;QAK1E,IAAc,CAAA,cAAA,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,CAAC,CAAC;QAG1C,IAAK,CAAA,KAAA,GAAQ,EAAE,CAAC;AAGhB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;QATlC,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAAY,GAAK,mBAAmB,CAAC,CAAA;KAC3C;AAUD,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,EAAE,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,KAAI;YAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAChD,YAAA,GAAG,CAAC,GAAG,CAAA,KAAP,GAAG,CAAC,GAAG,IAAM,EAAE,CAAA;gBACf,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACpB,YAAA,OAAO,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AAC,aAAa,CAAA;4CAQnC,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;;;MEJI,eAAe,CAAA;;4GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;6GAAf,eAAe,EAAA,YAAA,EAAA,CAbxB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAGjB,YAAY;QACZA,mBAAa;QACb,aAAa;QACb,eAAe;AACf,QAAA,gBAAgB,aAGhB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAGR,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAVxB,YAAY;QACZA,mBAAa;QACb,aAAa;QACb,eAAe,CAAA,EAAA,CAAA,CAAA;2FAON,eAAe,EAAA,UAAA,EAAA,CAAA;kBAf3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZA,mBAAa;wBACb,aAAa;wBACb,eAAe;wBACf,gBAAgB;AACjB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;AAClB,qBAAA;AACF,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-smart-list.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-list/smart-list.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-list/ng-atomic-components-organisms-smart-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';\nimport { Action } from '@ng-atomic/common/models';\nimport { DataAccessor, DATA_ACCESSOR, defaultDataAccessor } from '@ng-atomic/common/pipes/data-accessor';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatRippleModule } from '@angular/material/core';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\n\nexport enum ActionId {\n CLICK_ITEM = '[@ng-atomic/components/organisms/smart-list] Click Item',\n}\n\n@Component({\n selector: 'organisms-smart-list',\n standalone: true,\n imports: [\n CommonModule,\n MatListModule,\n MatIconModule,\n MatRippleModule,\n DataAccessorPipe,\n ],\n template: `\n <mat-list>\n <ng-container *ngFor=\"let status of statuses\">\n <div mat-subheader> {{ status }}</div>\n <ng-container *ngFor=\"let item of statusMap[status]\">\n <mat-list-item lines=\"2\" matRipple (click)=\"onItemClick(item)\">\n <span matListItemTitle>{{ item | dataAccessor:'title' }}</span>\n <span matListItemLine>{{ item | dataAccessor:'description' }}</span>\n </mat-list-item>\n <mat-divider *ngIf=\"statuses.length === 1\"></mat-divider>\n </ng-container>\n <mat-divider *ngIf=\"statuses.length > 1\"></mat-divider>\n </ng-container>\n </mat-list>\n `,\n styleUrls: ['./smart-list.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SmartListOrganism<T> {\n\n constructor(\n @Optional() @Inject(DATA_ACCESSOR) private dataAccessor: DataAccessor<T>\n ) {\n this.dataAccessor ??= defaultDataAccessor;\n }\n\n @Input()\n items: T[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n get statusMap() {\n return (this.items ?? []).reduce((acc, item) => {\n const key = this.dataAccessor(item, '__status');\n acc[key] ??= [],\n acc[key].push(item);\n return acc;\n }, {} as { [id: string]: any[] });\n }\n\n get statuses() {\n return Object.keys(this.statusMap);\n }\n\n protected onItemClick(item: T) {\n this.action.emit({\n id: ActionId.CLICK_ITEM,\n payload: item,\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;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AA,UAAA,EAAA,OAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACb,aAAa,EACb,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,8RACf,gBAAgB,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FAoBP,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBA5B7B,SAAS;+BACE,sBAAsB,EAAA,UAAA,EACpB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;wBACb,aAAa;wBACb,eAAe;wBACf,gBAAgB;qBACjB,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;GAcT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,+HAAA,CAAA,EAAA,CAAA;;0BAK5C,QAAQ;;0BAAI,MAAM;2BAAC,aAAa,CAAA;4CAMnC,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;;;ACpDT;;AAEG;;;;"}
@@ -1,26 +1,26 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i2 from '@angular/material/legacy-table';
6
- import { MatLegacyTableModule } from '@angular/material/legacy-table';
7
- import { MatLegacyCheckboxModule } from '@angular/material/legacy-checkbox';
8
- import { MatLegacyMenuModule } from '@angular/material/legacy-menu';
9
- import { MatLegacyButtonModule } from '@angular/material/legacy-button';
5
+ import * as i3 from '@angular/material/table';
6
+ import { MatTableModule } from '@angular/material/table';
7
+ import { MatCheckboxModule } from '@angular/material/checkbox';
8
+ import { MatMenuModule } from '@angular/material/menu';
9
+ import { MatButtonModule } from '@angular/material/button';
10
10
  import { MatIconModule } from '@angular/material/icon';
11
- import * as i6 from '@ng-atomic/common/pipes/domain';
11
+ import * as i2 from '@ng-atomic/common/pipes/domain';
12
12
  import { DomainModule } from '@ng-atomic/common/pipes/domain';
13
- import * as i3 from '@ng-atomic/components/molecules/actions-column';
14
- import { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';
15
- import * as i4 from '@ng-atomic/components/molecules/checkbox-column';
16
- import { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';
17
- import * as i5 from '@ng-atomic/components/molecules/smart-column';
18
- import { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';
13
+ import { ActionsColumnMolecule } from '@ng-atomic/components/molecules/actions-column';
14
+ import { CheckboxColumnMolecule } from '@ng-atomic/components/molecules/checkbox-column';
15
+ import { SmartColumnMolecule } from '@ng-atomic/components/molecules/smart-column';
16
+ import { FlatTreeControl } from '@angular/cdk/tree';
17
+ import { MatTreeFlattener, MatTreeFlatDataSource } from '@angular/material/tree';
18
+ import { TreeColumnMolecule } from '@ng-atomic/components/molecules/tree-column';
19
19
 
20
20
  class SmartTableOrganism {
21
21
  constructor() {
22
22
  this._columns = [];
23
- this.items = [];
23
+ this.childrenKey = 'children';
24
24
  this.itemActions = () => [];
25
25
  this.pageSize = 0;
26
26
  this.selectedIdSet = new Set();
@@ -31,19 +31,45 @@ class SmartTableOrganism {
31
31
  this.pageChange = new EventEmitter();
32
32
  this.itemCheck = new EventEmitter();
33
33
  this.trackByColumnName = (columnName) => columnName;
34
+ this.treeControl = new FlatTreeControl((node) => node.level, (node) => node.isExpandable);
34
35
  }
35
36
  get columns() {
36
37
  return [...this._columns];
37
38
  }
39
+ set items(items) {
40
+ this.dataSource = this.buildTreeFlatDatasource(items, this.childrenKey);
41
+ }
42
+ buildTreeFlatDatasource(data, key = 'children') {
43
+ const treeFlattener = new MatTreeFlattener((node, level) => ({
44
+ ...node,
45
+ isExpandable: (node[key] ?? []).length > 0,
46
+ level,
47
+ }), (node) => node.level, (node) => node.isExpandable, (node) => node[key]);
48
+ return new MatTreeFlatDataSource(this.treeControl, treeFlattener, data);
49
+ }
38
50
  }
39
51
  SmartTableOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
40
- SmartTableOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartTableOrganism, selector: "organisms-smart-table", inputs: { _columns: ["columns", "_columns"], items: "items", itemActions: "itemActions", pageSize: "pageSize", selectedIdSet: "selectedIdSet", sort: "sort" }, outputs: { action: "action", headerClick: "headerClick", checkboxClick: "checkboxClick", pageChange: "pageChange", itemCheck: "itemCheck" }, host: { classAttribute: "organism" }, ngImport: i0, template: "<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093\u3002</div>", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-cKJ2: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-cKJ2: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-cKJ2: var(--column-vertical-padding)}:host{position:relative;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-cKJ2)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-cKJ2) - var(--cell-SCOPED-IN-smart-table-cKJ2) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-cKJ2) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-cKJ2) * 2)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2.MatLegacyTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2.MatLegacyHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2.MatLegacyRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "component", type: i2.MatLegacyHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2.MatLegacyRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i3.ActionsColumnMolecule, selector: "molecules-actions-column", inputs: ["name", "itemActions"], outputs: ["action"] }, { kind: "component", type: i4.CheckboxColumnMolecule, selector: "molecules-checkbox-column", inputs: ["name", "selectedIdSet"], outputs: ["checkboxClick"] }, { kind: "component", type: i5.SmartColumnMolecule, selector: "molecules-smart-column", inputs: ["sort"], outputs: ["headerClick"] }, { kind: "pipe", type: i6.DomainPipe, name: "D" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
52
+ SmartTableOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SmartTableOrganism, isStandalone: true, selector: "organisms-smart-table", inputs: { _columns: ["columns", "_columns"], childrenKey: "childrenKey", items: "items", itemActions: "itemActions", pageSize: "pageSize", selectedIdSet: "selectedIdSet", sort: "sort" }, outputs: { action: "action", headerClick: "headerClick", checkboxClick: "checkboxClick", pageChange: "pageChange", itemCheck: "itemCheck" }, host: { classAttribute: "organism" }, ngImport: i0, template: "<table mat-table [dataSource]=\"dataSource\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <ng-container *ngSwitchDefault>\n <molecules-tree-column\n *ngIf=\"name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n [treeControl]=\"treeControl\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-tree-column>\n <molecules-smart-column\n *ngIf=\"!name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n <div class=\"mat-row\" *matNoDataRow>No Data</div>\n</table>\n", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-N7Po: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-N7Po: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-N7Po: var(--column-vertical-padding)}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-N7Po)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-N7Po) - var(--cell-SCOPED-IN-smart-table-N7Po) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-N7Po) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-N7Po) * 2)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: DomainModule }, { kind: "pipe", type: i2.DomainPipe, name: "D" }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "component", type: i3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i3.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: MatMenuModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: ActionsColumnMolecule, selector: "molecules-actions-column", inputs: ["name", "itemActions"], outputs: ["action"] }, { kind: "component", type: CheckboxColumnMolecule, selector: "molecules-checkbox-column", inputs: ["name", "selectedIdSet"], outputs: ["checkboxClick"] }, { kind: "component", type: SmartColumnMolecule, selector: "molecules-smart-column", inputs: ["sort"], outputs: ["headerClick"] }, { kind: "component", type: TreeColumnMolecule, selector: "molecules-tree-column", inputs: ["sort", "treeControl"], outputs: ["headerClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
41
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableOrganism, decorators: [{
42
54
  type: Component,
43
- args: [{ selector: 'organisms-smart-table', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093\u3002</div>", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-cKJ2: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-cKJ2: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-cKJ2: var(--column-vertical-padding)}:host{position:relative;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-cKJ2)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-cKJ2) - var(--cell-SCOPED-IN-smart-table-cKJ2) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-cKJ2) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-cKJ2) * 2)}\n"] }]
55
+ args: [{ selector: 'organisms-smart-table', standalone: true, imports: [
56
+ CommonModule,
57
+ DomainModule,
58
+ MatTableModule,
59
+ MatCheckboxModule,
60
+ MatMenuModule,
61
+ MatButtonModule,
62
+ MatIconModule,
63
+ ActionsColumnMolecule,
64
+ CheckboxColumnMolecule,
65
+ SmartColumnMolecule,
66
+ TreeColumnMolecule,
67
+ ], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<table mat-table [dataSource]=\"dataSource\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <ng-container *ngSwitchDefault>\n <molecules-tree-column\n *ngIf=\"name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n [treeControl]=\"treeControl\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-tree-column>\n <molecules-smart-column\n *ngIf=\"!name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n <div class=\"mat-row\" *matNoDataRow>No Data</div>\n</table>\n", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-N7Po: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-N7Po: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-N7Po: var(--column-vertical-padding)}:host{position:relative;display:block;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-N7Po)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-N7Po) - var(--cell-SCOPED-IN-smart-table-N7Po) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-N7Po) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-N7Po) * 2)}\n"] }]
44
68
  }], propDecorators: { _columns: [{
45
69
  type: Input,
46
70
  args: ['columns']
71
+ }], childrenKey: [{
72
+ type: Input
47
73
  }], items: [{
48
74
  type: Input
49
75
  }], itemActions: [{
@@ -66,65 +92,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
66
92
  type: Output
67
93
  }] } });
68
94
 
69
- class SmartTableModule {
70
- }
71
- SmartTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
72
- SmartTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SmartTableModule, declarations: [SmartTableOrganism], imports: [CommonModule,
73
- // Pipes
74
- DomainModule,
75
- // Material
76
- MatLegacyTableModule,
77
- MatLegacyCheckboxModule,
78
- MatLegacyMenuModule,
79
- MatLegacyButtonModule,
80
- MatIconModule,
81
- // Molecules
82
- ActionsColumnModule,
83
- CheckboxColumnModule,
84
- SmartColumnModule], exports: [SmartTableOrganism] });
85
- SmartTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableModule, imports: [CommonModule,
86
- // Pipes
87
- DomainModule,
88
- // Material
89
- MatLegacyTableModule,
90
- MatLegacyCheckboxModule,
91
- MatLegacyMenuModule,
92
- MatLegacyButtonModule,
93
- MatIconModule,
94
- // Molecules
95
- ActionsColumnModule,
96
- CheckboxColumnModule,
97
- SmartColumnModule] });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SmartTableModule, decorators: [{
99
- type: NgModule,
100
- args: [{
101
- declarations: [
102
- SmartTableOrganism,
103
- ],
104
- imports: [
105
- CommonModule,
106
- // Pipes
107
- DomainModule,
108
- // Material
109
- MatLegacyTableModule,
110
- MatLegacyCheckboxModule,
111
- MatLegacyMenuModule,
112
- MatLegacyButtonModule,
113
- MatIconModule,
114
- // Molecules
115
- ActionsColumnModule,
116
- CheckboxColumnModule,
117
- SmartColumnModule,
118
- ],
119
- exports: [
120
- SmartTableOrganism
121
- ]
122
- }]
123
- }] });
124
-
125
95
  /**
126
96
  * Generated bundle index. Do not edit.
127
97
  */
128
98
 
129
- export { SmartTableModule, SmartTableOrganism };
99
+ export { SmartTableOrganism };
130
100
  //# sourceMappingURL=ng-atomic-components-organisms-smart-table.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-table/smart-table.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-table/smart-table.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/smart-table/smart-table.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Actions, Action } from '@ng-atomic/common/models';\n\ninterface Sort {\n key?: string;\n order?: 'desc' | 'asc';\n}\n\n@Component({\n selector: 'organisms-smart-table',\n templateUrl: './smart-table.organism.html',\n styleUrls: ['./smart-table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'}\n})\nexport class SmartTableOrganism<Item extends object> {\n\n @Input('columns')\n _columns: (keyof Item)[] = [];\n\n get columns(): (keyof Item | string)[] {\n return [...this._columns];\n }\n\n @Input()\n items: Item[] = [];\n\n @Input()\n itemActions: Actions = () => [];\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sort: Sort = {};\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n headerClick = new EventEmitter<string>();\n \n @Output()\n checkboxClick = new EventEmitter<[Item, boolean]>();\n\n @Output()\n pageChange = new EventEmitter();\n\n @Output()\n itemCheck = new EventEmitter<[Item, boolean]>();\n \n protected trackByColumnName = (columnName: string) => columnName;\n}\n","<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">データがありません。</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatLegacyTableModule as MatTableModule } from '@angular/material/legacy-table';\nimport { MatLegacyCheckboxModule as MatCheckboxModule } from '@angular/material/legacy-checkbox';\nimport { MatLegacyMenuModule as MatMenuModule } from '@angular/material/legacy-menu';\nimport { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainModule } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';\n\nimport { SmartTableOrganism } from './smart-table.organism';\n\n@NgModule({\n declarations: [\n SmartTableOrganism,\n ],\n imports: [\n CommonModule,\n // Pipes\n DomainModule,\n // Material\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Molecules\n ActionsColumnModule,\n CheckboxColumnModule,\n SmartColumnModule,\n ],\n exports: [\n SmartTableOrganism\n ]\n})\nexport class SmartTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatTableModule","MatCheckboxModule","MatMenuModule","MatButtonModule"],"mappings":";;;;;;;;;;;;;;;;;;;MAea,kBAAkB,CAAA;AAP/B,IAAA,WAAA,GAAA;QAUE,IAAQ,CAAA,QAAA,GAAmB,EAAE,CAAC;QAO9B,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;AAGnB,QAAA,IAAA,CAAA,WAAW,GAAY,MAAM,EAAE,CAAC;QAGhC,IAAQ,CAAA,QAAA,GAAW,CAAC,CAAC;AAGrB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;QAGlC,IAAI,CAAA,IAAA,GAAS,EAAE,CAAC;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AAA,YAAA,EAAA,CArBzB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAGlB,YAAY;;QAEZ,YAAY;;QAEZA,oBAAc;QACdC,uBAAiB;QACjBC,mBAAa;QACbC,qBAAe;QACf,aAAa;;QAEb,mBAAmB;QACnB,oBAAoB;AACpB,QAAA,iBAAiB,aAGjB,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAGT,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAlBzB,YAAY;;QAEZ,YAAY;;QAEZH,oBAAc;QACdC,uBAAiB;QACjBC,mBAAa;QACbC,qBAAe;QACf,aAAa;;QAEb,mBAAmB;QACnB,oBAAoB;QACpB,iBAAiB,CAAA,EAAA,CAAA,CAAA;2FAMR,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAvB5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,YAAY;;wBAEZH,oBAAc;wBACdC,uBAAiB;wBACjBC,mBAAa;wBACbC,qBAAe;wBACf,aAAa;;wBAEb,mBAAmB;wBACnB,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACpCD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/smart-table/smart-table.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/smart-table/smart-table.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainModule } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnMolecule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnMolecule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnMolecule } from '@ng-atomic/components/molecules/smart-column';\nimport { Actions, Action } from '@ng-atomic/common/models';\n\nimport { FlatTreeControl } from '@angular/cdk/tree';\nimport {\n MatTreeFlatDataSource,\n MatTreeFlattener,\n} from '@angular/material/tree';\nimport { DataSource } from '@angular/cdk/collections';\nimport { TreeColumnMolecule } from '@ng-atomic/components/molecules/tree-column';\n\ninterface Sort {\n key?: string;\n order?: 'desc' | 'asc';\n}\n\n@Component({\n selector: 'organisms-smart-table',\n standalone: true,\n imports: [\n CommonModule,\n DomainModule,\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n ActionsColumnMolecule,\n CheckboxColumnMolecule,\n SmartColumnMolecule,\n TreeColumnMolecule,\n ],\n templateUrl: './smart-table.organism.html',\n styleUrls: ['./smart-table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'}\n})\nexport class SmartTableOrganism<Item extends object> {\n\n protected dataSource: DataSource<Item>;\n\n @Input('columns')\n _columns: (keyof Item)[] = [];\n\n get columns(): (keyof Item | string)[] {\n return [...this._columns];\n }\n\n @Input()\n childrenKey = 'children';\n\n @Input()\n // items: Item[] = [];\n set items(items: Item[]) {\n this.dataSource = this.buildTreeFlatDatasource(items, this.childrenKey);\n }\n\n @Input()\n itemActions: Actions = () => [];\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sort: Sort = {};\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n headerClick = new EventEmitter<string>();\n \n @Output()\n checkboxClick = new EventEmitter<[Item, boolean]>();\n\n @Output()\n pageChange = new EventEmitter();\n\n @Output()\n itemCheck = new EventEmitter<[Item, boolean]>();\n \n protected trackByColumnName = (columnName: string) => columnName;\n\n protected treeControl = new FlatTreeControl<any>(\n (node) => node.level,\n (node) => node.isExpandable\n );\n\n buildTreeFlatDatasource<T = any>(data: T[], key = 'children') {\n const treeFlattener = new MatTreeFlattener(\n (node: any, level: number) => ({\n ...node,\n isExpandable: (node[key] ?? []).length > 0,\n level,\n }),\n (node) => node.level,\n (node) => node.isExpandable,\n (node) => node[key]\n );\n \n return new MatTreeFlatDataSource(this.treeControl, treeFlattener, data);\n }\n}\n","<table mat-table [dataSource]=\"dataSource\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of columns; trackBy: trackByColumnName\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\"\n [itemActions]=\"itemActions\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <ng-container *ngSwitchDefault>\n <molecules-tree-column\n *ngIf=\"name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n [treeControl]=\"treeControl\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-tree-column>\n <molecules-smart-column\n *ngIf=\"!name.startsWith('__tree_')\"\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sort?.key === name ? sort?.order : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"columns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: columns;\"></tr>\n <div class=\"mat-row\" *matNoDataRow>No Data</div>\n</table>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;MA+Ca,kBAAkB,CAAA;AArB/B,IAAA,WAAA,GAAA;QA0BE,IAAQ,CAAA,QAAA,GAAmB,EAAE,CAAC;QAO9B,IAAW,CAAA,WAAA,GAAG,UAAU,CAAC;AASzB,QAAA,IAAA,CAAA,WAAW,GAAY,MAAM,EAAE,CAAC;QAGhC,IAAQ,CAAA,QAAA,GAAW,CAAC,CAAC;AAGrB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;QAGlC,IAAI,CAAA,IAAA,GAAS,EAAE,CAAC;AAGhB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AAGpC,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAU,CAAC;AAGzC,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,YAAY,EAAmB,CAAC;AAGpD,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,YAAY,EAAE,CAAC;AAGhC,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,YAAY,EAAmB,CAAC;AAEtC,QAAA,IAAA,CAAA,iBAAiB,GAAG,CAAC,UAAkB,KAAK,UAAU,CAAC;QAEvD,IAAW,CAAA,WAAA,GAAG,IAAI,eAAe,CACzC,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,EACpB,CAAC,IAAI,KAAK,IAAI,CAAC,YAAY,CAC5B,CAAC;AAgBH,KAAA;AA7DC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC3B;IAKD,IAEI,KAAK,CAAC,KAAa,EAAA;AACrB,QAAA,IAAI,CAAC,UAAU,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,EAAA,CAAA;sBAFR,KAAK;gBAON,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,QAAQ,EAAA,CAAA;sBADP,KAAK;gBAIN,aAAa,EAAA,CAAA;sBADZ,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;gBAIP,WAAW,EAAA,CAAA;sBADV,MAAM;gBAIP,aAAa,EAAA,CAAA;sBADZ,MAAM;gBAIP,UAAU,EAAA,CAAA;sBADT,MAAM;gBAIP,SAAS,EAAA,CAAA;sBADR,MAAM;;;AE3FT;;AAEG;;;;"}
@@ -1,8 +1,8 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Output, NgModule } from '@angular/core';
3
1
  import { CommonModule } from '@angular/common';
4
- import * as i1 from '@angular/material/legacy-button';
5
- import { MatLegacyButtonModule } from '@angular/material/legacy-button';
2
+ import * as i0 from '@angular/core';
3
+ import { EventEmitter, Component, ChangeDetectionStrategy, Output } from '@angular/core';
4
+ import * as i1 from '@angular/material/button';
5
+ import { MatButtonModule } from '@angular/material/button';
6
6
 
7
7
  class SocialLoginSectionOrganism {
8
8
  constructor() {
@@ -10,43 +10,20 @@ class SocialLoginSectionOrganism {
10
10
  }
11
11
  }
12
12
  SocialLoginSectionOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
13
- SocialLoginSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SocialLoginSectionOrganism, selector: "organisms-social-login-section", outputs: { signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, ngImport: i0, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-F0cd: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-F0cd);box-sizing:border-box}:host button{width:100%;height:56px}\n"], dependencies: [{ kind: "component", type: i1.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
13
+ SocialLoginSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SocialLoginSectionOrganism, isStandalone: true, selector: "organisms-social-login-section", outputs: { signInWithGoogleButtonClick: "signInWithGoogleButtonClick" }, ngImport: i0, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-MfAc: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-MfAc);box-sizing:border-box}:host button{width:100%;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
14
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionOrganism, decorators: [{
15
15
  type: Component,
16
- args: [{ selector: 'organisms-social-login-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-F0cd: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-F0cd);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
16
+ args: [{ selector: 'organisms-social-login-section', standalone: true, imports: [
17
+ CommonModule,
18
+ MatButtonModule,
19
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3</button>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-heading-MfAc: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-heading-MfAc);box-sizing:border-box}:host button{width:100%;height:56px}\n"] }]
17
20
  }], propDecorators: { signInWithGoogleButtonClick: [{
18
21
  type: Output
19
22
  }] } });
20
23
 
21
- class SocialLoginSectionModule {
22
- }
23
- SocialLoginSectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
24
- SocialLoginSectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionModule, declarations: [SocialLoginSectionOrganism], imports: [CommonModule,
25
- // Material
26
- MatLegacyButtonModule], exports: [SocialLoginSectionOrganism] });
27
- SocialLoginSectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionModule, imports: [CommonModule,
28
- // Material
29
- MatLegacyButtonModule] });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialLoginSectionModule, decorators: [{
31
- type: NgModule,
32
- args: [{
33
- declarations: [
34
- SocialLoginSectionOrganism
35
- ],
36
- imports: [
37
- CommonModule,
38
- // Material
39
- MatLegacyButtonModule,
40
- ],
41
- exports: [
42
- SocialLoginSectionOrganism
43
- ]
44
- }]
45
- }] });
46
-
47
24
  /**
48
25
  * Generated bundle index. Do not edit.
49
26
  */
50
27
 
51
- export { SocialLoginSectionModule, SocialLoginSectionOrganism };
28
+ export { SocialLoginSectionOrganism };
52
29
  //# sourceMappingURL=ng-atomic-components-organisms-social-login-section.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-social-login-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/social-login-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/social-login-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/social-login-section.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';\n\n@Component({\n selector: 'organisms-social-login-section',\n templateUrl: './social-login-section.organism.html',\n styleUrls: ['./social-login-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SocialLoginSectionOrganism {\n\n @Output()\n signInWithGoogleButtonClick = new EventEmitter<void>();\n \n}\n","<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Googleアカウントでログイン</button>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';\nimport { SocialLoginSectionOrganism } from './social-login-section.organism';\n\n\n\n@NgModule({\n declarations: [\n SocialLoginSectionOrganism\n ],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n ],\n exports: [\n SocialLoginSectionOrganism\n ]\n})\nexport class SocialLoginSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatButtonModule"],"mappings":";;;;;;MAQa,0BAA0B,CAAA;AANvC,IAAA,WAAA,GAAA;AASE,QAAA,IAAA,CAAA,2BAA2B,GAAG,IAAI,YAAY,EAAQ,CAAC;AAExD,KAAA;;uHALY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,+ICRvC,sLAI0B,EAAA,MAAA,EAAA,CAAA,gQAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,4LAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,eAAA,EAAA,OAAA,CAAA,EAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDIb,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBANtC,SAAS;+BACE,gCAAgC,EAAA,eAAA,EAGzB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,sLAAA,EAAA,MAAA,EAAA,CAAA,gQAAA,CAAA,EAAA,CAAA;8BAK/C,2BAA2B,EAAA,CAAA;sBAD1B,MAAM;;;MEUI,wBAAwB,CAAA;;qHAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;sHAAxB,wBAAwB,EAAA,YAAA,EAAA,CAXjC,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAG1B,YAAY;;AAEZ,QAAAA,qBAAe,aAGf,0BAA0B,CAAA,EAAA,CAAA,CAAA;AAGjB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YARjC,YAAY;;QAEZA,qBAAe,CAAA,EAAA,CAAA,CAAA;2FAMN,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAbpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,0BAA0B;AAC3B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZA,qBAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,0BAA0B;AAC3B,qBAAA;AACF,iBAAA,CAAA;;;ACnBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-social-login-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/social-login-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/social-login-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n selector: 'organisms-social-login-section',\n standalone: true,\n imports: [\n CommonModule,\n MatButtonModule,\n ],\n templateUrl: './social-login-section.organism.html',\n styleUrls: ['./social-login-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SocialLoginSectionOrganism {\n\n @Output()\n signInWithGoogleButtonClick = new EventEmitter<void>();\n \n}\n","<button \n mat-raised-button \n color=\"primary\" \n (click)=\"signInWithGoogleButtonClick.emit()\"\n>Googleアカウントでログイン</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BAK/C,2BAA2B,EAAA,CAAA;sBAD1B,MAAM;;;AEjBT;;AAEG;;;;"}
@@ -1,9 +1,8 @@
1
+ import { CommonModule } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
- import { Component, Input, NgModule } from '@angular/core';
3
+ import { Component, Input } from '@angular/core';
3
4
  import { FormControl } from '@angular/forms';
4
- import * as i1 from '@ng-atomic/components/molecules/text-input-field';
5
- import { TextInputFieldModule } from '@ng-atomic/components/molecules/text-input-field';
6
- import { CommonModule } from '@angular/common';
5
+ import { TextInputFieldMolecule } from '@ng-atomic/components/molecules/text-input-field';
7
6
 
8
7
  class TextInputSectionOrganism {
9
8
  constructor() {
@@ -14,10 +13,13 @@ class TextInputSectionOrganism {
14
13
  }
15
14
  }
16
15
  TextInputSectionOrganism.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- TextInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: TextInputSectionOrganism, selector: "organisms-text-input-section", inputs: { label: "label", placeholder: "placeholder", type: "type", hint: "hint", control: "control" }, ngImport: i0, template: "<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-Bebt: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-Bebt);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "component", type: i1.TextInputFieldMolecule, selector: "molecules-text-input-field", inputs: ["type", "name", "label", "control", "placeholder", "hint"] }] });
16
+ TextInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: TextInputSectionOrganism, isStandalone: true, selector: "organisms-text-input-section", inputs: { label: "label", placeholder: "placeholder", type: "type", hint: "hint", control: "control" }, ngImport: i0, template: "<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-0dgg: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-0dgg);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field", inputs: ["appearance", "type", "name", "label", "control", "placeholder", "hint"] }] });
18
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionOrganism, decorators: [{
19
18
  type: Component,
20
- args: [{ selector: 'organisms-text-input-section', template: "<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-Bebt: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-Bebt);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
19
+ args: [{ selector: 'organisms-text-input-section', standalone: true, imports: [
20
+ CommonModule,
21
+ TextInputFieldMolecule,
22
+ ], template: "<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-0dgg: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-0dgg);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
21
23
  }], propDecorators: { label: [{
22
24
  type: Input
23
25
  }], placeholder: [{
@@ -30,35 +32,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
30
32
  type: Input
31
33
  }] } });
32
34
 
33
- class TextInputSectionModule {
34
- }
35
- TextInputSectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
- TextInputSectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionModule, declarations: [TextInputSectionOrganism], imports: [CommonModule,
37
- // Molecules
38
- TextInputFieldModule], exports: [TextInputSectionOrganism] });
39
- TextInputSectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionModule, imports: [CommonModule,
40
- // Molecules
41
- TextInputFieldModule] });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TextInputSectionModule, decorators: [{
43
- type: NgModule,
44
- args: [{
45
- declarations: [
46
- TextInputSectionOrganism
47
- ],
48
- imports: [
49
- CommonModule,
50
- // Molecules
51
- TextInputFieldModule,
52
- ],
53
- exports: [
54
- TextInputSectionOrganism
55
- ]
56
- }]
57
- }] });
58
-
59
35
  /**
60
36
  * Generated bundle index. Do not edit.
61
37
  */
62
38
 
63
- export { TextInputSectionModule, TextInputSectionOrganism };
39
+ export { TextInputSectionOrganism };
64
40
  //# sourceMappingURL=ng-atomic-components-organisms-text-input-section.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-text-input-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/text-input-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/text-input-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/text-input-section.module.ts","../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n selector: 'organisms-text-input-section',\n templateUrl: './text-input-section.organism.html',\n styleUrls: ['./text-input-section.organism.scss']\n})\nexport class TextInputSectionOrganism {\n \n @Input()\n label = 'label';\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n hint?: string;\n\n @Input()\n control = new FormControl('');\n\n}\n","<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TextInputFieldModule } from '@ng-atomic/components/molecules/text-input-field';\nimport { TextInputSectionOrganism } from './text-input-section.organism';\n\n\n@NgModule({\n declarations: [\n TextInputSectionOrganism\n ],\n imports: [\n CommonModule,\n // Molecules\n TextInputFieldModule,\n ],\n exports: [\n TextInputSectionOrganism\n ]\n})\nexport class TextInputSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAQa,wBAAwB,CAAA;AALrC,IAAA,WAAA,GAAA;QAQE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;QAGhB,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;QAG5B,IAAI,CAAA,IAAA,GAAmC,MAAM,CAAC;AAM9C,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAC,EAAE,CAAC,CAAC;AAE/B,KAAA;;qHAjBY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EA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C,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,wBAAwB;AACzB,qBAAA;AACF,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-text-input-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/text-input-section.organism.ts","../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/text-input-section.organism.html","../../../../../packages/@ng-atomic/components/src/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { TextInputFieldMolecule } from '@ng-atomic/components/molecules/text-input-field';\n\n@Component({\n selector: 'organisms-text-input-section',\n standalone: true,\n imports: [\n CommonModule,\n TextInputFieldMolecule,\n ],\n templateUrl: './text-input-section.organism.html',\n styleUrls: ['./text-input-section.organism.scss']\n})\nexport class TextInputSectionOrganism {\n \n @Input()\n label = 'label';\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n hint?: string;\n\n @Input()\n control = new FormControl('');\n\n}\n","<molecules-text-input-field\n [type]=\"type\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAea,wBAAwB,CAAA;AAVrC,IAAA,WAAA,GAAA;QAaE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;QAGhB,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;QAG5B,IAAI,CAAA,IAAA,GAAmC,MAAM,CAAC;AAM9C,QAAA,IAAA,CAAA,OAAO,GAAG,IAA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