@ng-atomic/components 1.2.1 → 1.3.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 (308) hide show
  1. package/atoms/smart-menu-button/index.d.ts +2 -0
  2. package/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.d.ts +5 -0
  3. package/atoms/smart-menu-button/package.json +10 -0
  4. package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +9 -0
  5. package/atoms/smart-menu-button/smart-menu-button.module.d.ts +11 -0
  6. package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js +102 -0
  7. package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js.map +1 -0
  8. package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js +2 -0
  9. package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js.map +1 -0
  10. package/bundles/ng-atomic-components-frames-auto-layout.umd.js +1 -1
  11. package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js +1 -1
  12. package/bundles/ng-atomic-components-frames-drawer.umd.js +104 -0
  13. package/bundles/ng-atomic-components-frames-drawer.umd.js.map +1 -0
  14. package/bundles/ng-atomic-components-frames-drawer.umd.min.js +2 -0
  15. package/bundles/ng-atomic-components-frames-drawer.umd.min.js.map +1 -0
  16. package/bundles/ng-atomic-components-frames-line-up-v2.umd.js +570 -0
  17. package/bundles/ng-atomic-components-frames-line-up-v2.umd.js.map +1 -0
  18. package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js +2 -0
  19. package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js.map +1 -0
  20. package/bundles/ng-atomic-components-frames-line-up.umd.js +1 -1
  21. package/bundles/ng-atomic-components-frames-line-up.umd.min.js +1 -1
  22. package/bundles/ng-atomic-components-frames-overlay-v2.umd.js +120 -0
  23. package/bundles/ng-atomic-components-frames-overlay-v2.umd.js.map +1 -0
  24. package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js +2 -0
  25. package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js.map +1 -0
  26. package/bundles/ng-atomic-components-frames-overlay.umd.js +1 -1
  27. package/bundles/ng-atomic-components-frames-overlay.umd.min.js +1 -1
  28. package/bundles/ng-atomic-components-frames-scroll.umd.js +1 -1
  29. package/bundles/ng-atomic-components-frames-scroll.umd.min.js +1 -1
  30. package/bundles/ng-atomic-components-frames-smart-menu.umd.js +106 -0
  31. package/bundles/ng-atomic-components-frames-smart-menu.umd.js.map +1 -0
  32. package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js +2 -0
  33. package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js.map +1 -0
  34. package/bundles/ng-atomic-components-molecules-actions-column.umd.js +26 -17
  35. package/bundles/ng-atomic-components-molecules-actions-column.umd.js.map +1 -1
  36. package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js +1 -1
  37. package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js.map +1 -1
  38. package/bundles/ng-atomic-components-molecules-date-input-field.umd.js +116 -0
  39. package/bundles/ng-atomic-components-molecules-date-input-field.umd.js.map +1 -0
  40. package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js +2 -0
  41. package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js.map +1 -0
  42. package/bundles/ng-atomic-components-molecules-select-input-field.umd.js +1 -1
  43. package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +1 -1
  44. package/bundles/ng-atomic-components-molecules-smart-column.umd.js +21 -12
  45. package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -1
  46. package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js +2 -2
  47. package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js.map +1 -1
  48. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +2 -1
  49. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -1
  50. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js +1 -1
  51. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js.map +1 -1
  52. package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +12 -7
  53. package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -1
  54. package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js +1 -1
  55. package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js.map +1 -1
  56. package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +12 -341
  57. package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -1
  58. package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js +1 -15
  59. package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js.map +1 -1
  60. package/bundles/ng-atomic-components-organisms-heading.umd.js +1 -1
  61. package/bundles/ng-atomic-components-organisms-heading.umd.min.js +1 -1
  62. package/bundles/ng-atomic-components-organisms-input-field-section.umd.js +7 -1
  63. package/bundles/ng-atomic-components-organisms-input-field-section.umd.js.map +1 -1
  64. package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js +1 -1
  65. package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js.map +1 -1
  66. package/bundles/ng-atomic-components-organisms-menu.umd.js +1 -1
  67. package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -1
  68. package/bundles/ng-atomic-components-organisms-menu.umd.min.js +1 -1
  69. package/bundles/ng-atomic-components-organisms-menu.umd.min.js.map +1 -1
  70. package/bundles/ng-atomic-components-organisms-select-input-section.umd.js +1 -1
  71. package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js +1 -1
  72. package/bundles/ng-atomic-components-organisms-smart-table.umd.js +8 -1
  73. package/bundles/ng-atomic-components-organisms-smart-table.umd.js.map +1 -1
  74. package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js +1 -1
  75. package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js.map +1 -1
  76. package/bundles/ng-atomic-components-organisms-social-login-section.umd.js +1 -1
  77. package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js +1 -1
  78. package/bundles/ng-atomic-components-organisms-top-navigator.umd.js +21 -21
  79. package/bundles/ng-atomic-components-organisms-top-navigator.umd.js.map +1 -1
  80. package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js +1 -1
  81. package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js.map +1 -1
  82. package/bundles/ng-atomic-components-pages-blank.umd.js +12 -0
  83. package/bundles/ng-atomic-components-pages-blank.umd.js.map +1 -1
  84. package/bundles/ng-atomic-components-pages-blank.umd.min.js +1 -1
  85. package/bundles/ng-atomic-components-pages-blank.umd.min.js.map +1 -1
  86. package/bundles/ng-atomic-components-templates-entrance.umd.js +16 -6
  87. package/bundles/ng-atomic-components-templates-entrance.umd.js.map +1 -1
  88. package/bundles/ng-atomic-components-templates-entrance.umd.min.js +1 -1
  89. package/bundles/ng-atomic-components-templates-entrance.umd.min.js.map +1 -1
  90. package/bundles/ng-atomic-components-templates-menu.umd.js +96 -0
  91. package/bundles/ng-atomic-components-templates-menu.umd.js.map +1 -0
  92. package/bundles/ng-atomic-components-templates-menu.umd.min.js +2 -0
  93. package/bundles/ng-atomic-components-templates-menu.umd.min.js.map +1 -0
  94. package/bundles/ng-atomic-components-templates-smart-crud.umd.js +1 -1
  95. package/bundles/ng-atomic-components-templates-smart-crud.umd.js.map +1 -1
  96. package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js +1 -1
  97. package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js.map +1 -1
  98. package/bundles/ng-atomic-components-templates-smart-index.umd.js +20 -8
  99. package/bundles/ng-atomic-components-templates-smart-index.umd.js.map +1 -1
  100. package/bundles/ng-atomic-components-templates-smart-index.umd.min.js +1 -1
  101. package/bundles/ng-atomic-components-templates-smart-index.umd.min.js.map +1 -1
  102. package/esm2015/atoms/smart-menu-button/index.js +3 -0
  103. package/esm2015/atoms/smart-menu-button/index.js.map +1 -0
  104. package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js +5 -0
  105. package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
  106. package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js +28 -0
  107. package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js.map +1 -0
  108. package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js +38 -0
  109. package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js.map +1 -0
  110. package/esm2015/frames/auto-layout/auto-layout.frame.js +1 -1
  111. package/esm2015/frames/drawer/drawer.frame.js +31 -0
  112. package/esm2015/frames/drawer/drawer.frame.js.map +1 -0
  113. package/esm2015/frames/drawer/drawer.module.js +27 -0
  114. package/esm2015/frames/drawer/drawer.module.js.map +1 -0
  115. package/esm2015/frames/drawer/index.js +3 -0
  116. package/esm2015/frames/drawer/index.js.map +1 -0
  117. package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js +5 -0
  118. package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js.map +1 -0
  119. package/esm2015/frames/line-up/line-up.frame.js +1 -1
  120. package/esm2015/frames/line-up-v2/index.js +3 -0
  121. package/esm2015/frames/line-up-v2/index.js.map +1 -0
  122. package/esm2015/frames/line-up-v2/line-up.animations.js +64 -0
  123. package/esm2015/frames/line-up-v2/line-up.animations.js.map +1 -0
  124. package/esm2015/frames/line-up-v2/line-up.frame.js +97 -0
  125. package/esm2015/frames/line-up-v2/line-up.frame.js.map +1 -0
  126. package/esm2015/frames/line-up-v2/line-up.module.js +27 -0
  127. package/esm2015/frames/line-up-v2/line-up.module.js.map +1 -0
  128. package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js +5 -0
  129. package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js.map +1 -0
  130. package/esm2015/frames/line-up-v2/resize-observer.js +13 -0
  131. package/esm2015/frames/line-up-v2/resize-observer.js.map +1 -0
  132. package/esm2015/frames/overlay/overlay.frame.js +1 -1
  133. package/esm2015/frames/overlay-v2/index.js +3 -0
  134. package/esm2015/frames/overlay-v2/index.js.map +1 -0
  135. package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js +5 -0
  136. package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js.map +1 -0
  137. package/esm2015/frames/overlay-v2/overlay.animations.js +28 -0
  138. package/esm2015/frames/overlay-v2/overlay.animations.js.map +1 -0
  139. package/esm2015/frames/overlay-v2/overlay.frame.js +23 -0
  140. package/esm2015/frames/overlay-v2/overlay.frame.js.map +1 -0
  141. package/esm2015/frames/overlay-v2/overlay.module.js +29 -0
  142. package/esm2015/frames/overlay-v2/overlay.module.js.map +1 -0
  143. package/esm2015/frames/scroll/scroll.frame.js +1 -1
  144. package/esm2015/frames/smart-menu/index.js +3 -0
  145. package/esm2015/frames/smart-menu/index.js.map +1 -0
  146. package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js +5 -0
  147. package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js.map +1 -0
  148. package/esm2015/frames/smart-menu/smart-menu.frame.js +39 -0
  149. package/esm2015/frames/smart-menu/smart-menu.frame.js.map +1 -0
  150. package/esm2015/frames/smart-menu/smart-menu.module.js +23 -0
  151. package/esm2015/frames/smart-menu/smart-menu.module.js.map +1 -0
  152. package/esm2015/molecules/actions-column/actions-column.module.js +8 -1
  153. package/esm2015/molecules/actions-column/actions-column.module.js.map +1 -1
  154. package/esm2015/molecules/actions-column/actions-column.molecule.js +5 -5
  155. package/esm2015/molecules/actions-column/actions-column.molecule.js.map +1 -1
  156. package/esm2015/molecules/date-input-field/date-input-field.module.js +39 -0
  157. package/esm2015/molecules/date-input-field/date-input-field.module.js.map +1 -0
  158. package/esm2015/molecules/date-input-field/date-input-field.molecule.js +44 -0
  159. package/esm2015/molecules/date-input-field/date-input-field.molecule.js.map +1 -0
  160. package/esm2015/molecules/date-input-field/index.js +3 -0
  161. package/esm2015/molecules/date-input-field/index.js.map +1 -0
  162. package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js +5 -0
  163. package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js.map +1 -0
  164. package/esm2015/molecules/select-input-field/select-input-field.molecule.js +1 -1
  165. package/esm2015/molecules/smart-column/smart-column.module.js +4 -0
  166. package/esm2015/molecules/smart-column/smart-column.module.js.map +1 -1
  167. package/esm2015/molecules/smart-column/smart-column.molecule.js +12 -4
  168. package/esm2015/molecules/smart-column/smart-column.molecule.js.map +1 -1
  169. package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js +2 -1
  170. package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js.map +1 -1
  171. package/esm2015/organisms/back-navigator/back-navigator.module.js +7 -4
  172. package/esm2015/organisms/back-navigator/back-navigator.module.js.map +1 -1
  173. package/esm2015/organisms/back-navigator/back-navigator.organism.js +4 -2
  174. package/esm2015/organisms/back-navigator/back-navigator.organism.js.map +1 -1
  175. package/esm2015/organisms/date-input-section/date-input-section.module.js +5 -18
  176. package/esm2015/organisms/date-input-section/date-input-section.module.js.map +1 -1
  177. package/esm2015/organisms/date-input-section/date-input-section.organism.js +6 -10
  178. package/esm2015/organisms/date-input-section/date-input-section.organism.js.map +1 -1
  179. package/esm2015/organisms/heading/heading.organism.js +1 -1
  180. package/esm2015/organisms/input-field-section/input-field-section.organism.js +7 -1
  181. package/esm2015/organisms/input-field-section/input-field-section.organism.js.map +1 -1
  182. package/esm2015/organisms/menu/menu.organism.js +1 -1
  183. package/esm2015/organisms/menu/menu.organism.js.map +1 -1
  184. package/esm2015/organisms/select-input-section/select-input-section.organism.js +1 -1
  185. package/esm2015/organisms/smart-table/smart-table.organism.js +8 -1
  186. package/esm2015/organisms/smart-table/smart-table.organism.js.map +1 -1
  187. package/esm2015/organisms/social-login-section/social-login-section.organism.js +1 -1
  188. package/esm2015/organisms/top-navigator/top-navigator.module.js +9 -10
  189. package/esm2015/organisms/top-navigator/top-navigator.module.js.map +1 -1
  190. package/esm2015/organisms/top-navigator/top-navigator.organism.js +6 -9
  191. package/esm2015/organisms/top-navigator/top-navigator.organism.js.map +1 -1
  192. package/esm2015/pages/blank/blank.route.js +6 -0
  193. package/esm2015/pages/blank/blank.route.js.map +1 -0
  194. package/esm2015/pages/blank/index.js +1 -0
  195. package/esm2015/pages/blank/index.js.map +1 -1
  196. package/esm2015/templates/entrance/entrance.template.js +13 -2
  197. package/esm2015/templates/entrance/entrance.template.js.map +1 -1
  198. package/esm2015/templates/menu/index.js +3 -0
  199. package/esm2015/templates/menu/index.js.map +1 -0
  200. package/esm2015/templates/menu/menu.module.js +30 -0
  201. package/esm2015/templates/menu/menu.module.js.map +1 -0
  202. package/esm2015/templates/menu/menu.template.js +25 -0
  203. package/esm2015/templates/menu/menu.template.js.map +1 -0
  204. package/esm2015/templates/menu/ng-atomic-components-templates-menu.js +5 -0
  205. package/esm2015/templates/menu/ng-atomic-components-templates-menu.js.map +1 -0
  206. package/esm2015/templates/smart-crud/smart-crud.template.js +1 -1
  207. package/esm2015/templates/smart-crud/smart-crud.template.js.map +1 -1
  208. package/esm2015/templates/smart-index/smart-index.template.js +15 -2
  209. package/esm2015/templates/smart-index/smart-index.template.js.map +1 -1
  210. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js +66 -0
  211. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
  212. package/fesm2015/ng-atomic-components-frames-auto-layout.js +1 -1
  213. package/fesm2015/ng-atomic-components-frames-drawer.js +60 -0
  214. package/fesm2015/ng-atomic-components-frames-drawer.js.map +1 -0
  215. package/fesm2015/ng-atomic-components-frames-line-up-v2.js +200 -0
  216. package/fesm2015/ng-atomic-components-frames-line-up-v2.js.map +1 -0
  217. package/fesm2015/ng-atomic-components-frames-line-up.js +1 -1
  218. package/fesm2015/ng-atomic-components-frames-overlay-v2.js +83 -0
  219. package/fesm2015/ng-atomic-components-frames-overlay-v2.js.map +1 -0
  220. package/fesm2015/ng-atomic-components-frames-overlay.js +1 -1
  221. package/fesm2015/ng-atomic-components-frames-scroll.js +1 -1
  222. package/fesm2015/ng-atomic-components-frames-smart-menu.js +66 -0
  223. package/fesm2015/ng-atomic-components-frames-smart-menu.js.map +1 -0
  224. package/fesm2015/ng-atomic-components-molecules-actions-column.js +16 -6
  225. package/fesm2015/ng-atomic-components-molecules-actions-column.js.map +1 -1
  226. package/fesm2015/ng-atomic-components-molecules-date-input-field.js +83 -0
  227. package/fesm2015/ng-atomic-components-molecules-date-input-field.js.map +1 -0
  228. package/fesm2015/ng-atomic-components-molecules-select-input-field.js +1 -1
  229. package/fesm2015/ng-atomic-components-molecules-smart-column.js +14 -4
  230. package/fesm2015/ng-atomic-components-molecules-smart-column.js.map +1 -1
  231. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js +2 -1
  232. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js.map +1 -1
  233. package/fesm2015/ng-atomic-components-organisms-back-navigator.js +11 -6
  234. package/fesm2015/ng-atomic-components-organisms-back-navigator.js.map +1 -1
  235. package/fesm2015/ng-atomic-components-organisms-date-input-section.js +10 -25
  236. package/fesm2015/ng-atomic-components-organisms-date-input-section.js.map +1 -1
  237. package/fesm2015/ng-atomic-components-organisms-heading.js +1 -1
  238. package/fesm2015/ng-atomic-components-organisms-input-field-section.js +7 -1
  239. package/fesm2015/ng-atomic-components-organisms-input-field-section.js.map +1 -1
  240. package/fesm2015/ng-atomic-components-organisms-menu.js +2 -2
  241. package/fesm2015/ng-atomic-components-organisms-menu.js.map +1 -1
  242. package/fesm2015/ng-atomic-components-organisms-select-input-section.js +1 -1
  243. package/fesm2015/ng-atomic-components-organisms-smart-table.js +8 -1
  244. package/fesm2015/ng-atomic-components-organisms-smart-table.js.map +1 -1
  245. package/fesm2015/ng-atomic-components-organisms-social-login-section.js +1 -1
  246. package/fesm2015/ng-atomic-components-organisms-top-navigator.js +15 -16
  247. package/fesm2015/ng-atomic-components-organisms-top-navigator.js.map +1 -1
  248. package/fesm2015/ng-atomic-components-pages-blank.js +12 -1
  249. package/fesm2015/ng-atomic-components-pages-blank.js.map +1 -1
  250. package/fesm2015/ng-atomic-components-templates-entrance.js +13 -2
  251. package/fesm2015/ng-atomic-components-templates-entrance.js.map +1 -1
  252. package/fesm2015/ng-atomic-components-templates-menu.js +58 -0
  253. package/fesm2015/ng-atomic-components-templates-menu.js.map +1 -0
  254. package/fesm2015/ng-atomic-components-templates-smart-crud.js +1 -1
  255. package/fesm2015/ng-atomic-components-templates-smart-crud.js.map +1 -1
  256. package/fesm2015/ng-atomic-components-templates-smart-index.js +14 -2
  257. package/fesm2015/ng-atomic-components-templates-smart-index.js.map +1 -1
  258. package/frames/drawer/drawer.frame.d.ts +10 -0
  259. package/frames/drawer/drawer.module.d.ts +9 -0
  260. package/frames/drawer/index.d.ts +2 -0
  261. package/frames/drawer/ng-atomic-components-frames-drawer.d.ts +5 -0
  262. package/frames/drawer/package.json +10 -0
  263. package/frames/line-up-v2/index.d.ts +2 -0
  264. package/frames/line-up-v2/line-up.animations.d.ts +1 -0
  265. package/frames/line-up-v2/line-up.frame.d.ts +35 -0
  266. package/frames/line-up-v2/line-up.module.d.ts +9 -0
  267. package/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.d.ts +5 -0
  268. package/frames/line-up-v2/package.json +10 -0
  269. package/frames/line-up-v2/resize-observer.d.ts +3 -0
  270. package/frames/overlay-v2/index.d.ts +2 -0
  271. package/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.d.ts +5 -0
  272. package/frames/overlay-v2/overlay.animations.d.ts +1 -0
  273. package/frames/overlay-v2/overlay.frame.d.ts +6 -0
  274. package/frames/overlay-v2/overlay.module.d.ts +9 -0
  275. package/frames/overlay-v2/package.json +10 -0
  276. package/frames/smart-menu/index.d.ts +2 -0
  277. package/frames/smart-menu/ng-atomic-components-frames-smart-menu.d.ts +5 -0
  278. package/frames/smart-menu/package.json +10 -0
  279. package/frames/smart-menu/smart-menu.frame.d.ts +13 -0
  280. package/frames/smart-menu/smart-menu.module.d.ts +8 -0
  281. package/molecules/actions-column/actions-column.module.d.ts +2 -1
  282. package/molecules/actions-column/actions-column.molecule.d.ts +1 -0
  283. package/molecules/date-input-field/date-input-field.module.d.ts +12 -0
  284. package/molecules/date-input-field/date-input-field.molecule.d.ts +13 -0
  285. package/molecules/date-input-field/index.d.ts +2 -0
  286. package/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.d.ts +5 -0
  287. package/molecules/date-input-field/package.json +10 -0
  288. package/molecules/smart-column/smart-column.module.d.ts +3 -2
  289. package/molecules/smart-column/smart-column.molecule.d.ts +4 -1
  290. package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -0
  291. package/organisms/back-navigator/back-navigator.module.d.ts +2 -2
  292. package/organisms/back-navigator/back-navigator.organism.d.ts +2 -1
  293. package/organisms/date-input-section/date-input-section.module.d.ts +2 -5
  294. package/organisms/date-input-section/date-input-section.organism.d.ts +0 -1
  295. package/organisms/input-field-section/input-field-section.organism.d.ts +3 -1
  296. package/organisms/smart-table/smart-table.organism.d.ts +4 -1
  297. package/organisms/top-navigator/top-navigator.module.d.ts +4 -5
  298. package/organisms/top-navigator/top-navigator.organism.d.ts +4 -4
  299. package/package.json +1 -1
  300. package/pages/blank/blank.route.d.ts +2 -0
  301. package/pages/blank/index.d.ts +1 -0
  302. package/templates/entrance/entrance.template.d.ts +7 -1
  303. package/templates/menu/index.d.ts +2 -0
  304. package/templates/menu/menu.module.d.ts +9 -0
  305. package/templates/menu/menu.template.d.ts +9 -0
  306. package/templates/menu/ng-atomic-components-templates-menu.d.ts +5 -0
  307. package/templates/menu/package.json +10 -0
  308. package/templates/smart-index/smart-index.template.d.ts +7 -2
@@ -1,11 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { EventEmitter, ɵɵdirectiveInject, ɵɵngDeclareComponent, ChangeDetectionStrategy, ViewEncapsulation, ɵsetClassMetadata, Component, Optional, Inject, Input, Output, ViewChild, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
3
- import { NgIf, NgForOf, CommonModule } from '@angular/common';
3
+ import { CommonModule } from '@angular/common';
4
4
  import { MatColumnDef, MatHeaderCellDef, MatHeaderCell, MatCellDef, MatCell, MatTableModule } from '@angular/material/table';
5
- import { MatMenuTrigger, MatMenu, MatMenuItem, MatMenuModule } from '@angular/material/menu';
6
- import { MatButton, MatButtonModule } from '@angular/material/button';
7
- import { MatIcon, MatIconModule } from '@angular/material/icon';
5
+ import { MatMenuModule } from '@angular/material/menu';
6
+ import { MatButtonModule } from '@angular/material/button';
7
+ import { MatIconModule } from '@angular/material/icon';
8
8
  import { CdkTable, TEXT_COLUMN_OPTIONS, CdkColumnDef, CdkCellDef, CdkHeaderCellDef } from '@angular/cdk/table';
9
+ import { SmartMenuButtonAtom, SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
9
10
 
10
11
  class ActionsColumnMolecule {
11
12
  constructor(_table, _options) {
@@ -41,9 +42,12 @@ class ActionsColumnMolecule {
41
42
  this.columnDef.name = this.name;
42
43
  }
43
44
  }
45
+ onActionItemClick(test) {
46
+ console.debug(test);
47
+ }
44
48
  }
45
49
  ActionsColumnMolecule.ɵfac = function ActionsColumnMolecule_Factory(t) { return new (t || ActionsColumnMolecule)(ɵɵdirectiveInject(CdkTable, 8), ɵɵdirectiveInject(TEXT_COLUMN_OPTIONS, 8)); };
46
- ActionsColumnMolecule.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: ActionsColumnMolecule, selector: "molecules-actions-column", inputs: { name: "name", actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, emitDistinctChangesOnly: false, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, emitDistinctChangesOnly: false, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>\u64CD\u4F5C</th>\n <td mat-cell *matCellDef=\"let item\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"actionItems?.length\"><mat-icon>menu</mat-icon></button>\n <mat-menu #menu=\"matMenu\">\n <button *ngFor=\"let actionItem of actionItems\" mat-menu-item (click)=\"actionItemClick.emit([actionItem, item])\">\n {{ actionItem?.name }}\n </button>\n </mat-menu>\n </td>\n</ng-container>\n", styles: [""], directives: [{ type: MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: MatCellDef, selector: "[matCellDef]" }, { type: MatCell, selector: "mat-cell, td[mat-cell]" }, { type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatButton, 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"] }, { type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None });
50
+ ActionsColumnMolecule.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: ActionsColumnMolecule, selector: "molecules-actions-column", inputs: { name: "name", actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, emitDistinctChangesOnly: false, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, emitDistinctChangesOnly: false, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>\u64CD\u4F5C</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit([$event[0], item])\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n", styles: [""], directives: [{ type: MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: MatCellDef, selector: "[matCellDef]" }, { type: MatCell, selector: "mat-cell, td[mat-cell]" }, { type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["actionItems"], outputs: ["actionItemClick"] }], changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None });
47
51
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ActionsColumnMolecule, [{
48
52
  type: Component,
49
53
  args: [{
@@ -88,13 +92,17 @@ ActionsColumnModule.ɵinj = ɵɵdefineInjector({ imports: [[
88
92
  MatMenuModule,
89
93
  MatButtonModule,
90
94
  MatIconModule,
95
+ // Atoms
96
+ SmartMenuButtonModule,
91
97
  ]] });
92
98
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(ActionsColumnModule, { declarations: [ActionsColumnMolecule], imports: [CommonModule,
93
99
  // Materials
94
100
  MatTableModule,
95
101
  MatMenuModule,
96
102
  MatButtonModule,
97
- MatIconModule], exports: [ActionsColumnMolecule] }); })();
103
+ MatIconModule,
104
+ // Atoms
105
+ SmartMenuButtonModule], exports: [ActionsColumnMolecule] }); })();
98
106
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ActionsColumnModule, [{
99
107
  type: NgModule,
100
108
  args: [{
@@ -108,6 +116,8 @@ ActionsColumnModule.ɵinj = ɵɵdefineInjector({ imports: [[
108
116
  MatMenuModule,
109
117
  MatButtonModule,
110
118
  MatIconModule,
119
+ // Atoms
120
+ SmartMenuButtonModule,
111
121
  ],
112
122
  exports: [
113
123
  ActionsColumnMolecule
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-actions-column.js","sources":["../../../../libs/components/molecules/actions-column/actions-column.molecule.ts","../../../../libs/components/molecules/actions-column/actions-column.molecule.html","../../../../libs/components/molecules/actions-column/actions-column.module.ts","../../../../libs/components/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable, TextColumnOptions, TEXT_COLUMN_OPTIONS } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-actions-column',\n templateUrl: './actions-column.molecule.html',\n styleUrls: ['./actions-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class ActionsColumnMolecule<T> {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n actionItems: ActionItem[] = [];\n\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem, T]>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n \n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(\n @Optional() private _table: CdkTable<T>,\n @Optional() @Inject(TEXT_COLUMN_OPTIONS) private _options: TextColumnOptions<T>,\n ) {\n this._options ??= {};\n }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n}\n","<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>操作</th>\n <td mat-cell *matCellDef=\"let item\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"actionItems?.length\"><mat-icon>menu</mat-icon></button>\n <mat-menu #menu=\"matMenu\">\n <button *ngFor=\"let actionItem of actionItems\" mat-menu-item (click)=\"actionItemClick.emit([actionItem, item])\">\n {{ actionItem?.name }}\n </button>\n </mat-menu>\n </td>\n</ng-container>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { ActionsColumnMolecule } from './actions-column.molecule';\n\n@NgModule({\n declarations: [\n ActionsColumnMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatTableModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n ],\n exports: [\n ActionsColumnMolecule\n ]\n})\nexport class ActionsColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAWa,qBAAqB;IA2BhC,YACsB,MAAmB,EACU,QAA8B;;QAD3D,WAAM,GAAN,MAAM,CAAa;QACU,aAAQ,GAAR,QAAQ,CAAsB;QAjBjF,gBAAW,GAAiB,EAAE,CAAC;QAI/B,oBAAe,GAAG,IAAI,YAAY,EAAmB,CAAC;QAepD,MAAA,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,EAAE,EAAC;KACtB;IA/BD,IACI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;KACnB;IACD,IAAI,IAAI,CAAC,IAAY;QACnB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,kBAAkB,EAAE,CAAC;KAC3B;IA0BD,QAAQ;QACN,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAE1B,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YAChC,IAAI,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;YAC5C,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC1C;KACF;IAED,WAAW;QACT,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC7C;KACF;IAEO,kBAAkB;QACxB,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;SACjC;KACF;;0FAtDU,qBAAqB,oDA6BV,mBAAmB;8EA7B9B,qBAAqB,kNAkBrB,YAAY,qHAGZ,UAAU,2HAGV,gBAAgB,8FCnC7B,yfAWA;oFDAa,qBAAqB;cAPjC,SAAS;eAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,WAAW,EAAE,gCAAgC;gBAC7C,SAAS,EAAE,CAAC,gCAAgC,CAAC;gBAC7C,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,OAAO;aACjD;;sBA6BI,QAAQ;;sBACR,QAAQ;;sBAAI,MAAM;uBAAC,mBAAmB;wBA3BrC,IAAI;kBADP,KAAK;YAWN,WAAW;kBADV,KAAK;YAKN,eAAe;kBADd,MAAM;YAIP,SAAS;kBADR,SAAS;mBAAC,YAAY,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;YAIvC,IAAI;kBADH,SAAS;mBAAC,UAAU,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;YAIrC,UAAU;kBADT,SAAS;mBAAC,gBAAgB,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;;;MEVhC,mBAAmB;;sFAAnB,mBAAmB;oDAAnB,mBAAmB;wDAZrB;YACP,YAAY;;YAEZ,cAAc;YACd,aAAa;YACb,eAAe;YACf,aAAa;SACd;qFAKU,mBAAmB,mBAd5B,qBAAqB,aAGrB,YAAY;;QAEZ,cAAc;QACd,aAAa;QACb,eAAe;QACf,aAAa,aAGb,qBAAqB;oFAGZ,mBAAmB;cAhB/B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;;oBAEZ,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,aAAa;iBACd;gBACD,OAAO,EAAE;oBACP,qBAAqB;iBACtB;aACF;;;ACxBD;;;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-actions-column.js","sources":["../../../../libs/components/molecules/actions-column/actions-column.molecule.ts","../../../../libs/components/molecules/actions-column/actions-column.molecule.html","../../../../libs/components/molecules/actions-column/actions-column.module.ts","../../../../libs/components/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable, TextColumnOptions, TEXT_COLUMN_OPTIONS } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-actions-column',\n templateUrl: './actions-column.molecule.html',\n styleUrls: ['./actions-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class ActionsColumnMolecule<T> {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n actionItems: ActionItem[] = [];\n\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem, T]>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n \n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(\n @Optional() private _table: CdkTable<T>,\n @Optional() @Inject(TEXT_COLUMN_OPTIONS) private _options: TextColumnOptions<T>,\n ) {\n this._options ??= {};\n }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n\n onActionItemClick(test) {\n console.debug(test);\n }\n}\n","<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>操作</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit([$event[0], item])\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { ActionsColumnMolecule } from './actions-column.molecule';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\n@NgModule({\n declarations: [\n ActionsColumnMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatTableModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [\n ActionsColumnMolecule\n ]\n})\nexport class ActionsColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAWa,qBAAqB;IA2BhC,YACsB,MAAmB,EACU,QAA8B;;QAD3D,WAAM,GAAN,MAAM,CAAa;QACU,aAAQ,GAAR,QAAQ,CAAsB;QAjBjF,gBAAW,GAAiB,EAAE,CAAC;QAI/B,oBAAe,GAAG,IAAI,YAAY,EAAmB,CAAC;QAepD,MAAA,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,EAAE,EAAC;KACtB;IA/BD,IACI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;KACnB;IACD,IAAI,IAAI,CAAC,IAAY;QACnB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,kBAAkB,EAAE,CAAC;KAC3B;IA0BD,QAAQ;QACN,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAE1B,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YAChC,IAAI,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;YAC5C,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC1C;KACF;IAED,WAAW;QACT,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC7C;KACF;IAEO,kBAAkB;QACxB,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;SACjC;KACF;IAED,iBAAiB,CAAC,IAAI;QACpB,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;KACrB;;0FA1DU,qBAAqB,oDA6BV,mBAAmB;8EA7B9B,qBAAqB,kNAkBrB,YAAY,qHAGZ,UAAU,2HAGV,gBAAgB,8FCnC7B,uUASA;oFDEa,qBAAqB;cAPjC,SAAS;eAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,WAAW,EAAE,gCAAgC;gBAC7C,SAAS,EAAE,CAAC,gCAAgC,CAAC;gBAC7C,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,OAAO;aACjD;;sBA6BI,QAAQ;;sBACR,QAAQ;;sBAAI,MAAM;uBAAC,mBAAmB;wBA3BrC,IAAI;kBADP,KAAK;YAWN,WAAW;kBADV,KAAK;YAKN,eAAe;kBADd,MAAM;YAIP,SAAS;kBADR,SAAS;mBAAC,YAAY,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;YAIvC,IAAI;kBADH,SAAS;mBAAC,UAAU,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;YAIrC,UAAU;kBADT,SAAS;mBAAC,gBAAgB,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;;;MEPhC,mBAAmB;;sFAAnB,mBAAmB;oDAAnB,mBAAmB;wDAdrB;YACP,YAAY;;YAEZ,cAAc;YACd,aAAa;YACb,eAAe;YACf,aAAa;;YAEb,qBAAqB;SACtB;qFAKU,mBAAmB,mBAhB5B,qBAAqB,aAGrB,YAAY;;QAEZ,cAAc;QACd,aAAa;QACb,eAAe;QACf,aAAa;;QAEb,qBAAqB,aAGrB,qBAAqB;oFAGZ,mBAAmB;cAlB/B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;;oBAEZ,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,aAAa;;oBAEb,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,qBAAqB;iBACtB;aACF;;;AC3BD;;;;;;"}
@@ -0,0 +1,83 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, Input, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
3
+ import { FormControl } from '@ngneat/reactive-forms';
4
+ import { filter } from 'rxjs/operators';
5
+ import { MatFormField, MatLabel, MatSuffix, MatHint } from '@angular/material/form-field';
6
+ import { MatInput, MatInputModule } from '@angular/material/input';
7
+ import { DefaultValueAccessor, NgControlStatus, FormControlDirective, ReactiveFormsModule } from '@angular/forms';
8
+ import { MatDatepickerInput, MatDatepickerToggle, MatDatepicker, MatDatepickerModule } from '@angular/material/datepicker';
9
+ import { NgIf, CommonModule } from '@angular/common';
10
+ import { MatDayjsDateModule } from '@ng-atomic/common/utils';
11
+
12
+ class DateInputFieldMolecule {
13
+ constructor() {
14
+ this.control = new FormControl();
15
+ this._control = new FormControl();
16
+ this.label = '';
17
+ this.placeholder = '';
18
+ }
19
+ ngOnInit() {
20
+ this.control.valueChanges.pipe(filter(value => this._control.value !== value)).subscribe(value => this._control.setValue(value));
21
+ this._control.valueChanges.subscribe(value => this.control.setValue(value));
22
+ this.control.setValue(this._control.value);
23
+ }
24
+ }
25
+ DateInputFieldMolecule.ɵfac = function DateInputFieldMolecule_Factory(t) { return new (t || DateInputFieldMolecule)(); };
26
+ DateInputFieldMolecule.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: DateInputFieldMolecule, selector: "molecules-date-input-field", inputs: { _control: ["control", "_control"], label: "label", placeholder: "placeholder", hint: "hint" }, host: { classAttribute: "molecule field" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-date-input-field-L70W:var(--horizontal-padding);display:block}:host,:host mat-form-field{width:100%}"], directives: [{ type: MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: MatLabel, selector: "mat-label" }, { type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { type: NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["tabIndex", "disabled", "for", "aria-label", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { type: MatSuffix, selector: "[matSuffix]" }, { type: MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }], changeDetection: ChangeDetectionStrategy.OnPush });
27
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(DateInputFieldMolecule, [{
28
+ type: Component,
29
+ args: [{
30
+ selector: 'molecules-date-input-field',
31
+ templateUrl: './date-input-field.molecule.html',
32
+ styleUrls: ['./date-input-field.molecule.scss'],
33
+ changeDetection: ChangeDetectionStrategy.OnPush,
34
+ host: { class: 'molecule field' },
35
+ }]
36
+ }], null, { _control: [{
37
+ type: Input,
38
+ args: ['control']
39
+ }], label: [{
40
+ type: Input
41
+ }], placeholder: [{
42
+ type: Input
43
+ }], hint: [{
44
+ type: Input
45
+ }] }); })();
46
+
47
+ class DateInputFieldModule {
48
+ }
49
+ DateInputFieldModule.ɵfac = function DateInputFieldModule_Factory(t) { return new (t || DateInputFieldModule)(); };
50
+ DateInputFieldModule.ɵmod = ɵɵdefineNgModule({ type: DateInputFieldModule });
51
+ DateInputFieldModule.ɵinj = ɵɵdefineInjector({ imports: [[
52
+ CommonModule,
53
+ ReactiveFormsModule,
54
+ MatInputModule,
55
+ MatDatepickerModule,
56
+ MatDayjsDateModule,
57
+ ]] });
58
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(DateInputFieldModule, { declarations: [DateInputFieldMolecule], imports: [CommonModule,
59
+ ReactiveFormsModule,
60
+ MatInputModule,
61
+ MatDatepickerModule,
62
+ MatDayjsDateModule], exports: [DateInputFieldMolecule] }); })();
63
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(DateInputFieldModule, [{
64
+ type: NgModule,
65
+ args: [{
66
+ declarations: [DateInputFieldMolecule],
67
+ imports: [
68
+ CommonModule,
69
+ ReactiveFormsModule,
70
+ MatInputModule,
71
+ MatDatepickerModule,
72
+ MatDayjsDateModule,
73
+ ],
74
+ exports: [DateInputFieldMolecule],
75
+ }]
76
+ }], null, null); })();
77
+
78
+ /**
79
+ * Generated bundle index. Do not edit.
80
+ */
81
+
82
+ export { DateInputFieldModule, DateInputFieldMolecule };
83
+ //# sourceMappingURL=ng-atomic-components-molecules-date-input-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-molecules-date-input-field.js","sources":["../../../../libs/components/molecules/date-input-field/date-input-field.molecule.ts","../../../../libs/components/molecules/date-input-field/date-input-field.molecule.html","../../../../libs/components/molecules/date-input-field/date-input-field.module.ts","../../../../libs/components/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport { Dayjs } from 'dayjs';\nimport { filter } from 'rxjs/operators';\n\n@Component({\n selector: 'molecules-date-input-field',\n templateUrl: './date-input-field.molecule.html',\n styleUrls: ['./date-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class DateInputFieldMolecule {\n control = new FormControl<Dayjs>();\n\n @Input('control')\n private _control = new FormControl<Dayjs>();\n\n @Input()\n label = '';\n\n @Input()\n placeholder = '';\n\n @Input()\n hint?: string;\n\n ngOnInit(): void {\n this.control.valueChanges.pipe(\n filter(value => this._control.value !== value),\n ).subscribe(value => this._control.setValue(value));\n\n this._control.valueChanges.subscribe(value => this.control.setValue(value));\n this.control.setValue(this._control.value);\n }\n}\n","<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatDayjsDateModule, MAT_DAYJS_JP_PROVIDERS } from '@ng-atomic/common/utils';\nimport { DateInputFieldMolecule } from './date-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [DateInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n MatDatepickerModule,\n MatDayjsDateModule,\n ],\n exports: [DateInputFieldMolecule],\n // providers: [...MAT_DAYJS_JP_PROVIDERS],\n})\nexport class DateInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAYa,sBAAsB;IAPnC;QAQE,YAAO,GAAG,IAAI,WAAW,EAAS,CAAC;QAG3B,aAAQ,GAAG,IAAI,WAAW,EAAS,CAAC;QAG5C,UAAK,GAAG,EAAE,CAAC;QAGX,gBAAW,GAAG,EAAE,CAAC;KAalB;IARC,QAAQ;QACN,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAC5B,MAAM,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,KAAK,KAAK,CAAC,CAC/C,CAAC,SAAS,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QAEpD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QAC5E,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KAC5C;;4FAtBU,sBAAsB;+EAAtB,sBAAsB,uNCZnC,sXAMiB;oFDMJ,sBAAsB;cAPlC,SAAS;eAAC;gBACT,QAAQ,EAAE,4BAA4B;gBACtC,WAAW,EAAE,kCAAkC;gBAC/C,SAAS,EAAE,CAAC,kCAAkC,CAAC;gBAC/C,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,gBAAgB,EAAC;aAChC;gBAKS,QAAQ;kBADf,KAAK;mBAAC,SAAS;YAIhB,KAAK;kBADJ,KAAK;YAIN,WAAW;kBADV,KAAK;YAIN,IAAI;kBADH,KAAK;;;MEFK,oBAAoB;;wFAApB,oBAAoB;qDAApB,oBAAoB;yDAVtB;YACP,YAAY;YACZ,mBAAmB;YACnB,cAAc;YACd,mBAAmB;YACnB,kBAAkB;SACnB;qFAIU,oBAAoB,mBAXhB,sBAAsB,aAEnC,YAAY;QACZ,mBAAmB;QACnB,cAAc;QACd,mBAAmB;QACnB,kBAAkB,aAEV,sBAAsB;oFAGrB,oBAAoB;cAZhC,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,cAAc;oBACd,mBAAmB;oBACnB,kBAAkB;iBACnB;gBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;aAElC;;;ACrBD;;;;;;"}
@@ -16,7 +16,7 @@ class SelectInputFieldMolecule {
16
16
  }
17
17
  }
18
18
  SelectInputFieldMolecule.ɵfac = function SelectInputFieldMolecule_Factory(t) { return new (t || SelectInputFieldMolecule)(); };
19
- SelectInputFieldMolecule.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: SelectInputFieldMolecule, selector: "molecules-select-input-field", inputs: { label: "label", control: "control", options: "options" }, host: { classAttribute: "molecule input-field" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-select-input-field-6LHt:var(--horizontal-padding);display:block}:host,:host mat-form-field{width:100%}"], directives: [{ type: MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: MatLabel, selector: "mat-label" }, { type: MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatOption, selector: "mat-option", exportAs: ["matOption"] }], changeDetection: ChangeDetectionStrategy.OnPush });
19
+ SelectInputFieldMolecule.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: SelectInputFieldMolecule, selector: "molecules-select-input-field", inputs: { label: "label", control: "control", options: "options" }, host: { classAttribute: "molecule input-field" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-select-input-field-adbS:var(--horizontal-padding);display:block}:host,:host mat-form-field{width:100%}"], directives: [{ type: MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: MatLabel, selector: "mat-label" }, { type: MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatOption, selector: "mat-option", exportAs: ["matOption"] }], changeDetection: ChangeDetectionStrategy.OnPush });
20
20
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SelectInputFieldMolecule, [{
21
21
  type: Component,
22
22
  args: [{
@@ -1,7 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ɵɵngDeclareComponent, ChangeDetectionStrategy, ViewEncapsulation, ɵɵgetInheritedFactory, ɵsetClassMetadata, Component, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
2
+ import { EventEmitter, ɵɵngDeclareComponent, ChangeDetectionStrategy, ViewEncapsulation, ɵɵgetInheritedFactory, ɵsetClassMetadata, Component, Input, Output, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
3
+ import { NgSwitch, NgSwitchCase, CommonModule } from '@angular/common';
4
4
  import { MatTextColumn, MatColumnDef, MatHeaderCellDef, MatHeaderCell, MatCellDef, MatCell, MatTableModule } from '@angular/material/table';
5
+ import { MatIcon, MatIconModule } from '@angular/material/icon';
5
6
  import { toObject } from '@ng-atomic/common/utils';
6
7
  import { flatten } from 'flat';
7
8
  import { SmartExpPipe, SmartExpModule } from '@ng-atomic/common/pipes';
@@ -13,10 +14,12 @@ class SmartColumnMolecule extends MatTextColumn {
13
14
  var _a;
14
15
  return name.includes('.') ? (_a = flatten(toObject(data))) === null || _a === void 0 ? void 0 : _a[name] : data === null || data === void 0 ? void 0 : data[name];
15
16
  };
17
+ this.sort = 'none';
18
+ this.headerClick = new EventEmitter();
16
19
  }
17
20
  }
18
21
  SmartColumnMolecule.ɵfac = function SmartColumnMolecule_Factory(t) { return ɵSmartColumnMolecule_BaseFactory(t || SmartColumnMolecule); };
19
- SmartColumnMolecule.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: SmartColumnMolecule, selector: "molecules-smart-column", usesInheritance: true, ngImport: i0, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{headerText}}</p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n \n</ng-container>", styles: ["td[mat-cell] .nowrap,th[mat-header-cell] .nowrap{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"], directives: [{ type: MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: MatCellDef, selector: "[matCellDef]" }, { type: MatCell, selector: "mat-cell, td[mat-cell]" }], pipes: { "smartExp": SmartExpPipe }, changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None });
22
+ SmartColumnMolecule.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: SmartColumnMolecule, selector: "molecules-smart-column", inputs: { sort: "sort" }, outputs: { headerClick: "headerClick" }, usesInheritance: true, ngImport: i0, template: "<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n</ng-container>", styles: ["td[mat-cell],th[mat-header-cell]{cursor:pointer}td[mat-cell] mat-icon.order,th[mat-header-cell] mat-icon.order{width:12px;height:12px;font-size:12px}td[mat-cell] .nowrap,th[mat-header-cell] .nowrap{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"], directives: [{ type: MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MatCellDef, selector: "[matCellDef]" }, { type: MatCell, selector: "mat-cell, td[mat-cell]" }], pipes: { "smartExp": SmartExpPipe }, changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None });
20
23
  const ɵSmartColumnMolecule_BaseFactory = /*@__PURE__*/ ɵɵgetInheritedFactory(SmartColumnMolecule);
21
24
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartColumnMolecule, [{
22
25
  type: Component,
@@ -27,7 +30,11 @@ const ɵSmartColumnMolecule_BaseFactory = /*@__PURE__*/ ɵɵgetInheritedFactory(
27
30
  encapsulation: ViewEncapsulation.None,
28
31
  changeDetection: ChangeDetectionStrategy.Default,
29
32
  }]
30
- }], null, null); })();
33
+ }], null, { sort: [{
34
+ type: Input
35
+ }], headerClick: [{
36
+ type: Output
37
+ }] }); })();
31
38
 
32
39
  class SmartColumnModule {
33
40
  }
@@ -38,12 +45,14 @@ SmartColumnModule.ɵinj = ɵɵdefineInjector({ imports: [[
38
45
  // Pipes
39
46
  SmartExpModule,
40
47
  // Materials
48
+ MatIconModule,
41
49
  MatTableModule,
42
50
  ]] });
43
51
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(SmartColumnModule, { declarations: [SmartColumnMolecule], imports: [CommonModule,
44
52
  // Pipes
45
53
  SmartExpModule,
46
54
  // Materials
55
+ MatIconModule,
47
56
  MatTableModule], exports: [SmartColumnMolecule] }); })();
48
57
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartColumnModule, [{
49
58
  type: NgModule,
@@ -56,6 +65,7 @@ SmartColumnModule.ɵinj = ɵɵdefineInjector({ imports: [[
56
65
  // Pipes
57
66
  SmartExpModule,
58
67
  // Materials
68
+ MatIconModule,
59
69
  MatTableModule,
60
70
  ],
61
71
  exports: [
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-smart-column.js","sources":["../../../../libs/components/molecules/smart-column/smart-column.molecule.ts","../../../../libs/components/molecules/smart-column/smart-column.molecule.html","../../../../libs/components/molecules/smart-column/smart-column.module.ts","../../../../libs/components/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { MatTextColumn } from '@angular/material/table';\n// TODO(nontangent): 依存を引き剥がす\nimport { toObject } from '@ng-atomic/common/utils';\nimport { flatten } from 'flat';\n\n@Component({\n selector: 'molecules-smart-column',\n templateUrl: './smart-column.molecule.html',\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class SmartColumnMolecule<T> extends MatTextColumn<T> {\n dataAccessor = (data: any, name: string): string => {\n return name.includes('.') ? flatten(toObject(data))?.[name] : data?.[name];\n }\n}\n","<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{headerText}}</p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n \n</ng-container>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\n\nimport { SmartColumnMolecule } from './smart-column.molecule';\nimport { SmartExpModule } from '@ng-atomic/common/pipes';\n\n@NgModule({\n declarations: [\n SmartColumnMolecule,\n ],\n imports: [\n CommonModule,\n // Pipes\n SmartExpModule,\n // Materials\n MatTableModule,\n ],\n exports: [\n SmartColumnMolecule\n ]\n})\nexport class SmartColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAaa,mBAAuB,SAAQ,aAAgB;IAP5D;;QAQE,iBAAY,GAAG,CAAC,IAAS,EAAE,IAAY;;YACrC,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,0CAAG,IAAI,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAG,IAAI,CAAC,CAAC;SAC5E,CAAA;KACF;;kHAJY,mBAAmB;4EAAnB,mBAAmB,qFCbhC,4UAQe;6EDKF,mBAAmB;oFAAnB,mBAAmB;cAP/B,SAAS;eAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,WAAW,EAAE,8BAA8B;gBAC3C,SAAS,EAAE,CAAC,8BAA8B,CAAC;gBAC3C,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,OAAO;aACjD;;;MEUY,iBAAiB;;kFAAjB,iBAAiB;kDAAjB,iBAAiB;sDAXnB;YACP,YAAY;;YAEZ,cAAc;;YAEd,cAAc;SACf;qFAKU,iBAAiB,mBAb1B,mBAAmB,aAGnB,YAAY;;QAEZ,cAAc;;QAEd,cAAc,aAGd,mBAAmB;oFAGV,iBAAiB;cAf7B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,mBAAmB;iBACpB;gBACD,OAAO,EAAE;oBACP,YAAY;;oBAEZ,cAAc;;oBAEd,cAAc;iBACf;gBACD,OAAO,EAAE;oBACP,mBAAmB;iBACpB;aACF;;;ACrBD;;;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-smart-column.js","sources":["../../../../libs/components/molecules/smart-column/smart-column.molecule.ts","../../../../libs/components/molecules/smart-column/smart-column.molecule.html","../../../../libs/components/molecules/smart-column/smart-column.module.ts","../../../../libs/components/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Input, Output, EventEmitter, Component, ViewEncapsulation } from '@angular/core';\nimport { MatTextColumn } from '@angular/material/table';\n// TODO(nontangent): 依存を引き剥がす\nimport { toObject } from '@ng-atomic/common/utils';\nimport { flatten } from 'flat';\n\n@Component({\n selector: 'molecules-smart-column',\n templateUrl: './smart-column.molecule.html',\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class SmartColumnMolecule<T> extends MatTextColumn<T> {\n dataAccessor = (data: any, name: string): string => {\n return name.includes('.') ? flatten(toObject(data))?.[name] : data?.[name];\n }\n \n @Input()\n sort: 'asc' | 'desc' | 'none' = 'none';\n\n @Output()\n headerClick = new EventEmitter<void>();\n\n}\n","<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { SmartColumnMolecule } from './smart-column.molecule';\nimport { SmartExpModule } from '@ng-atomic/common/pipes';\n\n@NgModule({\n declarations: [\n SmartColumnMolecule,\n ],\n imports: [\n CommonModule,\n // Pipes\n SmartExpModule,\n // Materials\n MatIconModule,\n MatTableModule,\n ],\n exports: [\n SmartColumnMolecule\n ]\n})\nexport class SmartColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAaa,mBAAuB,SAAQ,aAAgB;IAP5D;;QAQE,iBAAY,GAAG,CAAC,IAAS,EAAE,IAAY;;YACrC,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,0CAAG,IAAI,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAG,IAAI,CAAC,CAAC;SAC5E,CAAA;QAGD,SAAI,GAA4B,MAAM,CAAC;QAGvC,gBAAW,GAAG,IAAI,YAAY,EAAQ,CAAC;KAExC;;kHAXY,mBAAmB;4EAAnB,mBAAmB,wJCbhC,kqBAkBe;6EDLF,mBAAmB;oFAAnB,mBAAmB;cAP/B,SAAS;eAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,WAAW,EAAE,8BAA8B;gBAC3C,SAAS,EAAE,CAAC,8BAA8B,CAAC;gBAC3C,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,OAAO;aACjD;gBAOC,IAAI;kBADH,KAAK;YAIN,WAAW;kBADV,MAAM;;;MEGI,iBAAiB;;kFAAjB,iBAAiB;kDAAjB,iBAAiB;sDAZnB;YACP,YAAY;;YAEZ,cAAc;;YAEd,aAAa;YACb,cAAc;SACf;qFAKU,iBAAiB,mBAd1B,mBAAmB,aAGnB,YAAY;;QAEZ,cAAc;;QAEd,aAAa;QACb,cAAc,aAGd,mBAAmB;oFAGV,iBAAiB;cAhB7B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,mBAAmB;iBACpB;gBACD,OAAO,EAAE;oBACP,YAAY;;oBAEZ,cAAc;;oBAEd,aAAa;oBACb,cAAc;iBACf;gBACD,OAAO,EAAE;oBACP,mBAAmB;iBACpB;aACF;;;ACvBD;;;;;;"}
@@ -7,10 +7,11 @@ class ActionButtonsSectionOrganism {
7
7
  constructor() {
8
8
  this.actionItems = [];
9
9
  this.actionItemClick = new EventEmitter();
10
+ this.trackById = (item) => item.id;
10
11
  }
11
12
  }
12
13
  ActionButtonsSectionOrganism.ɵfac = function ActionButtonsSectionOrganism_Factory(t) { return new (t || ActionButtonsSectionOrganism)(); };
13
- ActionButtonsSectionOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: ActionButtonsSectionOrganism, selector: "organisms-action-buttons-section", inputs: { actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<ng-container *ngFor=\"let item of actionItems\">\n <button mat-raised-button color=\"primary\" (click)=\"actionItemClick.emit([item])\">{{ item?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-action-buttons-section-wi9l:var(--horizontal-padding);display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-wi9l);box-sizing:border-box}:host button{width:100%;height:48px}"], directives: [{ type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatButton, 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: ChangeDetectionStrategy.OnPush });
14
+ ActionButtonsSectionOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: ActionButtonsSectionOrganism, selector: "organisms-action-buttons-section", inputs: { actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<ng-container *ngFor=\"let item of actionItems; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" (click)=\"actionItemClick.emit([item])\">{{ item?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-action-buttons-section-jeMe:var(--horizontal-padding);display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-jeMe);box-sizing:border-box}:host button{width:100%;height:48px}"], directives: [{ type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatButton, 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: ChangeDetectionStrategy.OnPush });
14
15
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ActionButtonsSectionOrganism, [{
15
16
  type: Component,
16
17
  args: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-action-buttons-section.js","sources":["../../../../libs/components/organisms/action-buttons-section/action-buttons-section.organism.ts","../../../../libs/components/organisms/action-buttons-section/action-buttons-section.organism.html","../../../../libs/components/organisms/action-buttons-section/action-buttons-section.module.ts","../../../../libs/components/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-action-buttons-section',\n templateUrl: './action-buttons-section.organism.html',\n styleUrls: ['./action-buttons-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism section'},\n})\nexport class ActionButtonsSectionOrganism {\n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem]>();\n}\n","<ng-container *ngFor=\"let item of actionItems\">\n <button mat-raised-button color=\"primary\" (click)=\"actionItemClick.emit([item])\">{{ item?.name }}</button>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ActionButtonsSectionOrganism } from './action-buttons-section.organism';\n\nimport { MatButtonModule } from '@angular/material/button';\n\n@NgModule({\n declarations: [\n ActionButtonsSectionOrganism\n ],\n imports: [\n CommonModule,\n // Materials\n MatButtonModule,\n ],\n exports: [\n ActionButtonsSectionOrganism\n ]\n})\nexport class ActionButtonsSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAUa,4BAA4B;IAPzC;QASE,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAgB,CAAC;KACpD;;wGANY,4BAA4B;qFAA5B,4BAA4B,+MCVzC,sLAEe;oFDQF,4BAA4B;cAPxC,SAAS;eAAC;gBACT,QAAQ,EAAE,kCAAkC;gBAC5C,WAAW,EAAE,wCAAwC;gBACrD,SAAS,EAAE,CAAC,wCAAwC,CAAC;gBACrD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,kBAAkB,EAAC;aAClC;gBAGC,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM;;;MEKI,0BAA0B;;oGAA1B,0BAA0B;2DAA1B,0BAA0B;+DAT5B;YACP,YAAY;;YAEZ,eAAe;SAChB;qFAKU,0BAA0B,mBAXnC,4BAA4B,aAG5B,YAAY;;QAEZ,eAAe,aAGf,4BAA4B;oFAGnB,0BAA0B;cAbtC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,4BAA4B;iBAC7B;gBACD,OAAO,EAAE;oBACP,YAAY;;oBAEZ,eAAe;iBAChB;gBACD,OAAO,EAAE;oBACP,4BAA4B;iBAC7B;aACF;;;AClBD;;;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-action-buttons-section.js","sources":["../../../../libs/components/organisms/action-buttons-section/action-buttons-section.organism.ts","../../../../libs/components/organisms/action-buttons-section/action-buttons-section.organism.html","../../../../libs/components/organisms/action-buttons-section/action-buttons-section.module.ts","../../../../libs/components/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-action-buttons-section',\n templateUrl: './action-buttons-section.organism.html',\n styleUrls: ['./action-buttons-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism section'},\n})\nexport class ActionButtonsSectionOrganism {\n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem]>();\n\n trackById = (item: ActionItem) => item.id;\n}\n","<ng-container *ngFor=\"let item of actionItems; trackBy: trackById\">\n <button mat-raised-button color=\"primary\" (click)=\"actionItemClick.emit([item])\">{{ item?.name }}</button>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ActionButtonsSectionOrganism } from './action-buttons-section.organism';\n\nimport { MatButtonModule } from '@angular/material/button';\n\n@NgModule({\n declarations: [\n ActionButtonsSectionOrganism\n ],\n imports: [\n CommonModule,\n // Materials\n MatButtonModule,\n ],\n exports: [\n ActionButtonsSectionOrganism\n ]\n})\nexport class ActionButtonsSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAUa,4BAA4B;IAPzC;QASE,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAgB,CAAC;QAEnD,cAAS,GAAG,CAAC,IAAgB,KAAK,IAAI,CAAC,EAAE,CAAC;KAC3C;;wGARY,4BAA4B;qFAA5B,4BAA4B,+MCVzC,0MAEe;oFDQF,4BAA4B;cAPxC,SAAS;eAAC;gBACT,QAAQ,EAAE,kCAAkC;gBAC5C,WAAW,EAAE,wCAAwC;gBACrD,SAAS,EAAE,CAAC,wCAAwC,CAAC;gBACrD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,kBAAkB,EAAC;aAClC;gBAGC,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM;;;MEKI,0BAA0B;;oGAA1B,0BAA0B;2DAA1B,0BAA0B;+DAT5B;YACP,YAAY;;YAEZ,eAAe;SAChB;qFAKU,0BAA0B,mBAXnC,4BAA4B,aAG5B,YAAY;;QAEZ,eAAe,aAGf,4BAA4B;oFAGnB,0BAA0B;cAbtC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,4BAA4B;iBAC7B;gBACD,OAAO,EAAE;oBACP,YAAY;;oBAEZ,eAAe;iBAChB;gBACD,OAAO,EAAE;oBACP,4BAA4B;iBAC7B;aACF;;;AClBD;;;;;;"}
@@ -1,10 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { EventEmitter, ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, Input, Output, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
3
- import { NgIf, NgForOf, CommonModule } from '@angular/common';
3
+ import { NgIf, CommonModule } from '@angular/common';
4
4
  import { MatButton, MatButtonModule } from '@angular/material/button';
5
5
  import { MatIcon, MatIconModule } from '@angular/material/icon';
6
6
  import { MatToolbar, MatToolbarModule } from '@angular/material/toolbar';
7
- import { MatMenuTrigger, MatMenu, MatMenuItem, MatMenuModule } from '@angular/material/menu';
7
+ import { SmartMenuButtonAtom, SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
8
8
 
9
9
  class BackNavigatorOrganism {
10
10
  constructor() {
@@ -15,7 +15,7 @@ class BackNavigatorOrganism {
15
15
  }
16
16
  }
17
17
  BackNavigatorOrganism.ɵfac = function BackNavigatorOrganism_Factory(t) { return new (t || BackNavigatorOrganism)(); };
18
- BackNavigatorOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: BackNavigatorOrganism, selector: "organisms-back-navigator", inputs: { canBack: "canBack", title: "title", actionItems: "actionItems" }, outputs: { backButtonClick: "backButtonClick", actionItemClick: "actionItemClick" }, ngImport: i0, template: "<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <span class=\"title-container\">\n {{ title || '' }}\n </span>\n </div>\n\n <div>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"actionItems.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let actionItem of actionItems\"\n mat-menu-item \n (click)=\"actionItemClick.emit([actionItem])\"\n >{{ actionItem.name }}</button>\n</mat-menu>", styles: [":host{--height:64px;--height-SCOPED-IN-back-navigator-2ELz:var(--height);display:block;width:100%;height:var(--height-SCOPED-IN-back-navigator-2ELz)}:host mat-toolbar{width:100%;height:100%;justify-content:space-between}:host div,:host mat-toolbar{display:flex;align-items:center}"], directives: [{ type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatButton, 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"] }, { type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], changeDetection: ChangeDetectionStrategy.OnPush });
18
+ BackNavigatorOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: BackNavigatorOrganism, selector: "organisms-back-navigator", inputs: { canBack: "canBack", title: "title", description: "description", actionItems: "actionItems" }, outputs: { backButtonClick: "backButtonClick", actionItemClick: "actionItemClick" }, ngImport: i0, template: "<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <div class=\"text\">\n <span class=\"title\">{{ title || '' }}</span>\n <span class=\"description\">{{ description || '' }}</span>\n </div>\n </div>\n <div>\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height:64px;--height-SCOPED-IN-back-navigator-ZwSF:var(--height);display:block;width:100%;height:var(--height-SCOPED-IN-back-navigator-ZwSF)}:host div.text{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host div.text .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}:host mat-toolbar{width:100%;height:100%;justify-content:space-between}:host div,:host mat-toolbar{display:flex;align-items:center}:host div{justify-content:center}"], directives: [{ type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatButton, 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"] }, { type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["actionItems"], outputs: ["actionItemClick"] }], changeDetection: ChangeDetectionStrategy.OnPush });
19
19
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(BackNavigatorOrganism, [{
20
20
  type: Component,
21
21
  args: [{
@@ -28,6 +28,8 @@ BackNavigatorOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type:
28
28
  type: Input
29
29
  }], title: [{
30
30
  type: Input
31
+ }], description: [{
32
+ type: Input
31
33
  }], actionItems: [{
32
34
  type: Input
33
35
  }], backButtonClick: [{
@@ -46,14 +48,16 @@ BackNavigatorModule.ɵinj = ɵɵdefineInjector({ imports: [[
46
48
  MatButtonModule,
47
49
  MatIconModule,
48
50
  MatToolbarModule,
49
- MatMenuModule,
51
+ // Atoms
52
+ SmartMenuButtonModule,
50
53
  ]] });
51
54
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(BackNavigatorModule, { declarations: [BackNavigatorOrganism], imports: [CommonModule,
52
55
  // Material
53
56
  MatButtonModule,
54
57
  MatIconModule,
55
58
  MatToolbarModule,
56
- MatMenuModule], exports: [BackNavigatorOrganism] }); })();
59
+ // Atoms
60
+ SmartMenuButtonModule], exports: [BackNavigatorOrganism] }); })();
57
61
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(BackNavigatorModule, [{
58
62
  type: NgModule,
59
63
  args: [{
@@ -66,7 +70,8 @@ BackNavigatorModule.ɵinj = ɵɵdefineInjector({ imports: [[
66
70
  MatButtonModule,
67
71
  MatIconModule,
68
72
  MatToolbarModule,
69
- MatMenuModule,
73
+ // Atoms
74
+ SmartMenuButtonModule,
70
75
  ],
71
76
  exports: [
72
77
  BackNavigatorOrganism
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-back-navigator.js","sources":["../../../../libs/components/organisms/back-navigator/back-navigator.organism.ts","../../../../libs/components/organisms/back-navigator/back-navigator.organism.html","../../../../libs/components/organisms/back-navigator/back-navigator.module.ts","../../../../libs/components/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem, ActionItemEvent } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-back-navigator',\n templateUrl: './back-navigator.organism.html',\n styleUrls: ['./back-navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BackNavigatorOrganism {\n\n @Input()\n canBack = true;\n\n @Input()\n title?: string;\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n backButtonClick = new EventEmitter<void>();\n\n @Output()\n actionItemClick = new EventEmitter<ActionItemEvent>();\n\n}\n","<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <span class=\"title-container\">\n {{ title || '' }}\n </span>\n </div>\n\n <div>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"actionItems.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </div>\n</mat-toolbar>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let actionItem of actionItems\"\n mat-menu-item \n (click)=\"actionItemClick.emit([actionItem])\"\n >{{ actionItem.name }}</button>\n</mat-menu>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatMenuModule } from '@angular/material/menu';\n\nimport { BackNavigatorOrganism } from './back-navigator.organism';\n\n@NgModule({\n declarations: [\n BackNavigatorOrganism\n ],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatToolbarModule,\n MatMenuModule,\n ],\n exports: [\n BackNavigatorOrganism\n ]\n})\nexport class BackNavigatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,qBAAqB;IANlC;QASE,YAAO,GAAG,IAAI,CAAC;QAMf,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAQ,CAAC;QAG3C,oBAAe,GAAG,IAAI,YAAY,EAAmB,CAAC;KAEvD;;0FAjBY,qBAAqB;8EAArB,qBAAqB,iOCTlC,woBAuBW;oFDdE,qBAAqB;cANjC,SAAS;eAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,WAAW,EAAE,gCAAgC;gBAC7C,SAAS,EAAE,CAAC,gCAAgC,CAAC;gBAC7C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAIC,OAAO;kBADN,KAAK;YAIN,KAAK;kBADJ,KAAK;YAIN,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM;YAIP,eAAe;kBADd,MAAM;;;MEEI,mBAAmB;;sFAAnB,mBAAmB;oDAAnB,mBAAmB;wDAZrB;YACP,YAAY;;YAEZ,eAAe;YACf,aAAa;YACb,gBAAgB;YAChB,aAAa;SACd;qFAKU,mBAAmB,mBAd5B,qBAAqB,aAGrB,YAAY;;QAEZ,eAAe;QACf,aAAa;QACb,gBAAgB;QAChB,aAAa,aAGb,qBAAqB;oFAGZ,mBAAmB;cAhB/B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;;oBAEZ,eAAe;oBACf,aAAa;oBACb,gBAAgB;oBAChB,aAAa;iBACd;gBACD,OAAO,EAAE;oBACP,qBAAqB;iBACtB;aACF;;;ACxBD;;;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-back-navigator.js","sources":["../../../../libs/components/organisms/back-navigator/back-navigator.organism.ts","../../../../libs/components/organisms/back-navigator/back-navigator.organism.html","../../../../libs/components/organisms/back-navigator/back-navigator.module.ts","../../../../libs/components/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem, ActionItemEvent } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-back-navigator',\n templateUrl: './back-navigator.organism.html',\n styleUrls: ['./back-navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BackNavigatorOrganism {\n\n @Input()\n canBack = true;\n\n @Input()\n title?: string;\n\n @Input()\n description?: string;\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n backButtonClick = new EventEmitter<void>();\n\n @Output()\n actionItemClick = new EventEmitter<ActionItemEvent>();\n\n}\n","<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <div class=\"text\">\n <span class=\"title\">{{ title || '' }}</span>\n <span class=\"description\">{{ description || '' }}</span>\n </div>\n </div>\n <div>\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\nimport { BackNavigatorOrganism } from './back-navigator.organism';\n\n@NgModule({\n declarations: [\n BackNavigatorOrganism\n ],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatToolbarModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [\n BackNavigatorOrganism\n ]\n})\nexport class BackNavigatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,qBAAqB;IANlC;QASE,YAAO,GAAG,IAAI,CAAC;QASf,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAQ,CAAC;QAG3C,oBAAe,GAAG,IAAI,YAAY,EAAmB,CAAC;KAEvD;;0FApBY,qBAAqB;8EAArB,qBAAqB,6PCTlC,8hBAiBA;oFDRa,qBAAqB;cANjC,SAAS;eAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,WAAW,EAAE,gCAAgC;gBAC7C,SAAS,EAAE,CAAC,gCAAgC,CAAC;gBAC7C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAIC,OAAO;kBADN,KAAK;YAIN,KAAK;kBADJ,KAAK;YAIN,WAAW;kBADV,KAAK;YAIN,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM;YAIP,eAAe;kBADd,MAAM;;;MEAI,mBAAmB;;sFAAnB,mBAAmB;oDAAnB,mBAAmB;wDAbrB;YACP,YAAY;;YAEZ,eAAe;YACf,aAAa;YACb,gBAAgB;;YAEhB,qBAAqB;SACtB;qFAKU,mBAAmB,mBAf5B,qBAAqB,aAGrB,YAAY;;QAEZ,eAAe;QACf,aAAa;QACb,gBAAgB;;QAEhB,qBAAqB,aAGrB,qBAAqB;oFAGZ,mBAAmB;cAjB/B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;;oBAEZ,eAAe;oBACf,aAAa;oBACb,gBAAgB;;oBAEhB,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,qBAAqB;iBACtB;aACF;;;ACzBD;;;;;;"}
@@ -1,12 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ɵɵngDeclareComponent, ɵsetClassMetadata, Component, Input, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
2
+ import { ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, Input, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import { DefaultValueAccessor, NgControlStatus, FormControlDirective, ReactiveFormsModule } from '@angular/forms';
5
- import { MatInput, MatInputModule } from '@angular/material/input';
6
- import { MatDatepickerInput, MatDatepickerToggle, MatDatepicker, MatDatepickerModule } from '@angular/material/datepicker';
7
- import { MAT_DAYJS_JP_PROVIDERS, MatDayjsDateModule } from '@ng-atomic/common/utils';
4
+ import { DateInputFieldMolecule, DateInputFieldModule } from '@ng-atomic/components/molecules/date-input-field';
8
5
  import { FormControl } from '@ngneat/reactive-forms';
9
- import { MatFormField, MatLabel, MatSuffix, MatHint } from '@angular/material/form-field';
10
6
 
11
7
  class DateInputSectionOrganism {
12
8
  constructor() {
@@ -14,18 +10,17 @@ class DateInputSectionOrganism {
14
10
  this.label = '';
15
11
  this.placeholder = '';
16
12
  }
17
- ngOnInit() {
18
- this.control.valueChanges.subscribe(console.debug);
19
- }
20
13
  }
21
14
  DateInputSectionOrganism.ɵfac = function DateInputSectionOrganism_Factory(t) { return new (t || DateInputSectionOrganism)(); };
22
- DateInputSectionOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: DateInputSectionOrganism, selector: "organisms-date-input-section", inputs: { control: "control", label: "label", placeholder: "placeholder" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint>Hint</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-date-input-section-ld78:var(--horizontal-padding);display:block;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-ld78);box-sizing:border-box}:host,:host mat-form-field{width:100%}"], directives: [{ type: MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: MatLabel, selector: "mat-label" }, { type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { type: NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["tabIndex", "disabled", "for", "aria-label", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { type: MatSuffix, selector: "[matSuffix]" }, { type: MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }] });
15
+ DateInputSectionOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: DateInputSectionOrganism, selector: "organisms-date-input-section", inputs: { control: "control", label: "label", placeholder: "placeholder" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<molecules-date-input-field\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-date-input-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-date-input-section-NkuL:var(--horizontal-padding);display:block;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-NkuL);box-sizing:border-box}:host,:host mat-form-field{width:100%}"], directives: [{ type: DateInputFieldMolecule, selector: "molecules-date-input-field", inputs: ["control", "label", "placeholder", "hint"] }], changeDetection: ChangeDetectionStrategy.OnPush });
23
16
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(DateInputSectionOrganism, [{
24
17
  type: Component,
25
18
  args: [{
26
19
  selector: 'organisms-date-input-section',
27
20
  templateUrl: './date-input-section.organism.html',
28
- styleUrls: ['./date-input-section.organism.scss']
21
+ styleUrls: ['./date-input-section.organism.scss'],
22
+ changeDetection: ChangeDetectionStrategy.OnPush,
23
+ host: { class: 'organism section' },
29
24
  }]
30
25
  }], null, { control: [{
31
26
  type: Input
@@ -39,18 +34,12 @@ class DateInputSectionModule {
39
34
  }
40
35
  DateInputSectionModule.ɵfac = function DateInputSectionModule_Factory(t) { return new (t || DateInputSectionModule)(); };
41
36
  DateInputSectionModule.ɵmod = ɵɵdefineNgModule({ type: DateInputSectionModule });
42
- DateInputSectionModule.ɵinj = ɵɵdefineInjector({ providers: [...MAT_DAYJS_JP_PROVIDERS], imports: [[
37
+ DateInputSectionModule.ɵinj = ɵɵdefineInjector({ imports: [[
43
38
  CommonModule,
44
- ReactiveFormsModule,
45
- MatInputModule,
46
- MatDatepickerModule,
47
- MatDayjsDateModule,
39
+ DateInputFieldModule,
48
40
  ]] });
49
41
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(DateInputSectionModule, { declarations: [DateInputSectionOrganism], imports: [CommonModule,
50
- ReactiveFormsModule,
51
- MatInputModule,
52
- MatDatepickerModule,
53
- MatDayjsDateModule], exports: [DateInputSectionOrganism] }); })();
42
+ DateInputFieldModule], exports: [DateInputSectionOrganism] }); })();
54
43
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(DateInputSectionModule, [{
55
44
  type: NgModule,
56
45
  args: [{
@@ -59,15 +48,11 @@ DateInputSectionModule.ɵinj = ɵɵdefineInjector({ providers: [...MAT_DAYJS_JP_
59
48
  ],
60
49
  imports: [
61
50
  CommonModule,
62
- ReactiveFormsModule,
63
- MatInputModule,
64
- MatDatepickerModule,
65
- MatDayjsDateModule,
51
+ DateInputFieldModule,
66
52
  ],
67
53
  exports: [
68
54
  DateInputSectionOrganism
69
55
  ],
70
- providers: [...MAT_DAYJS_JP_PROVIDERS],
71
56
  }]
72
57
  }], null, null); })();
73
58
 
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-organisms-date-input-section.js","sources":["../../../../libs/components/organisms/date-input-section/date-input-section.organism.ts","../../../../libs/components/organisms/date-input-section/date-input-section.organism.html","../../../../libs/components/organisms/date-input-section/date-input-section.module.ts","../../../../libs/components/organisms/date-input-section/ng-atomic-components-organisms-date-input-section.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport * as dayjs from 'dayjs';\n\n@Component({\n selector: 'organisms-date-input-section',\n templateUrl: './date-input-section.organism.html',\n styleUrls: ['./date-input-section.organism.scss']\n})\nexport class DateInputSectionOrganism {\n\n @Input()\n control = new FormControl<dayjs.Dayjs>();\n\n @Input()\n label = '';\n\n @Input()\n placeholder = '';\n\n ngOnInit() {\n this.control.valueChanges.subscribe(console.debug);\n }\n\n}\n","<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint>Hint</mat-hint>\n</mat-form-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatDayjsDateModule, MAT_DAYJS_JP_PROVIDERS } from '@ng-atomic/common/utils';\n\nimport { DateInputSectionOrganism } from './date-input-section.organism';\n\n@NgModule({\n declarations: [\n DateInputSectionOrganism\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n MatDatepickerModule,\n MatDayjsDateModule,\n ],\n exports: [\n DateInputSectionOrganism\n ],\n providers: [...MAT_DAYJS_JP_PROVIDERS],\n})\nexport class DateInputSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MASa,wBAAwB;IALrC;QAQE,YAAO,GAAG,IAAI,WAAW,EAAe,CAAC;QAGzC,UAAK,GAAG,EAAE,CAAC;QAGX,gBAAW,GAAG,EAAE,CAAC;KAMlB;IAJC,QAAQ;QACN,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;KACpD;;gGAbU,wBAAwB;iFAAxB,wBAAwB,gJCTrC,iWAMiB;oFDGJ,wBAAwB;cALpC,SAAS;eAAC;gBACT,QAAQ,EAAE,8BAA8B;gBACxC,WAAW,EAAE,oCAAoC;gBACjD,SAAS,EAAE,CAAC,oCAAoC,CAAC;aAClD;gBAIC,OAAO;kBADN,KAAK;YAIN,KAAK;kBADJ,KAAK;YAIN,WAAW;kBADV,KAAK;;;MEQK,sBAAsB;;4FAAtB,sBAAsB;uDAAtB,sBAAsB;4DAFtB,CAAC,GAAG,sBAAsB,CAAC,YAV7B;YACP,YAAY;YACZ,mBAAmB;YACnB,cAAc;YACd,mBAAmB;YACnB,kBAAkB;SACnB;qFAMU,sBAAsB,mBAd/B,wBAAwB,aAGxB,YAAY;QACZ,mBAAmB;QACnB,cAAc;QACd,mBAAmB;QACnB,kBAAkB,aAGlB,wBAAwB;oFAIf,sBAAsB;cAhBlC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,cAAc;oBACd,mBAAmB;oBACnB,kBAAkB;iBACnB;gBACD,OAAO,EAAE;oBACP,wBAAwB;iBACzB;gBACD,SAAS,EAAE,CAAC,GAAG,sBAAsB,CAAC;aACvC;;;ACxBD;;;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-organisms-date-input-section.js","sources":["../../../../libs/components/organisms/date-input-section/date-input-section.organism.ts","../../../../libs/components/organisms/date-input-section/date-input-section.organism.html","../../../../libs/components/organisms/date-input-section/date-input-section.module.ts","../../../../libs/components/organisms/date-input-section/ng-atomic-components-organisms-date-input-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport * as dayjs from 'dayjs';\n\n@Component({\n selector: 'organisms-date-input-section',\n templateUrl: './date-input-section.organism.html',\n styleUrls: ['./date-input-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism section'},\n})\nexport class DateInputSectionOrganism {\n @Input()\n control = new FormControl<dayjs.Dayjs>();\n\n @Input()\n label = '';\n\n @Input()\n placeholder = '';\n}\n","<molecules-date-input-field\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-date-input-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DateInputFieldModule } from '@ng-atomic/components/molecules/date-input-field';\nimport { DateInputSectionOrganism } from './date-input-section.organism';\n\n@NgModule({\n declarations: [\n DateInputSectionOrganism\n ],\n imports: [\n CommonModule,\n DateInputFieldModule,\n ],\n exports: [\n DateInputSectionOrganism\n ],\n})\nexport class DateInputSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAWa,wBAAwB;IAPrC;QASE,YAAO,GAAG,IAAI,WAAW,EAAe,CAAC;QAGzC,UAAK,GAAG,EAAE,CAAC;QAGX,gBAAW,GAAG,EAAE,CAAC;KAClB;;gGATY,wBAAwB;iFAAxB,wBAAwB,8LCXrC,4IAI8B;oFDOjB,wBAAwB;cAPpC,SAAS;eAAC;gBACT,QAAQ,EAAE,8BAA8B;gBACxC,WAAW,EAAE,oCAAoC;gBACjD,SAAS,EAAE,CAAC,oCAAoC,CAAC;gBACjD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,kBAAkB,EAAC;aAClC;gBAGC,OAAO;kBADN,KAAK;YAIN,KAAK;kBADJ,KAAK;YAIN,WAAW;kBADV,KAAK;;;MEDK,sBAAsB;;4FAAtB,sBAAsB;uDAAtB,sBAAsB;2DARxB;YACP,YAAY;YACZ,oBAAoB;SACrB;qFAKU,sBAAsB,mBAV/B,wBAAwB,aAGxB,YAAY;QACZ,oBAAoB,aAGpB,wBAAwB;oFAGf,sBAAsB;cAZlC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,oBAAoB;iBACrB;gBACD,OAAO,EAAE;oBACP,wBAAwB;iBACzB;aACF;;;AChBD;;;;;;"}
@@ -8,7 +8,7 @@ class HeadingOrganism {
8
8
  }
9
9
  }
10
10
  HeadingOrganism.ɵfac = function HeadingOrganism_Factory(t) { return new (t || HeadingOrganism)(); };
11
- HeadingOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: HeadingOrganism, selector: "organisms-heading", inputs: { level: "level" }, ngImport: i0, template: "<ng-template #temp><ng-content></ng-content></ng-template>\n\n<ng-container [ngSwitch]=\"level\">\n <h1 *ngSwitchDefault><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h1>\n <h2 *ngSwitchCase=\"2\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h2>\n <h3 *ngSwitchCase=\"3\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h3>\n <h4 *ngSwitchCase=\"4\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h4>\n <h5 *ngSwitchCase=\"5\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h5>\n <h6 *ngSwitchCase=\"6\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h6>\n</ng-container>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-heading-Lmm7:var(--horizontal-padding);display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-Lmm7)}"], directives: [{ type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: ChangeDetectionStrategy.OnPush });
11
+ HeadingOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: HeadingOrganism, selector: "organisms-heading", inputs: { level: "level" }, ngImport: i0, template: "<ng-template #temp><ng-content></ng-content></ng-template>\n\n<ng-container [ngSwitch]=\"level\">\n <h1 *ngSwitchDefault><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h1>\n <h2 *ngSwitchCase=\"2\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h2>\n <h3 *ngSwitchCase=\"3\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h3>\n <h4 *ngSwitchCase=\"4\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h4>\n <h5 *ngSwitchCase=\"5\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h5>\n <h6 *ngSwitchCase=\"6\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h6>\n</ng-container>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-heading-JUaV:var(--horizontal-padding);display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-JUaV)}"], directives: [{ type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: ChangeDetectionStrategy.OnPush });
12
12
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(HeadingOrganism, [{
13
13
  type: Component,
14
14
  args: [{
@@ -10,11 +10,13 @@ class InputFieldSectionOrganism {
10
10
  constructor() {
11
11
  this.label = '';
12
12
  this.placeholder = '';
13
+ this.type = 'text';
14
+ this.hint = '';
13
15
  this.control = new FormControl('');
14
16
  }
15
17
  }
16
18
  InputFieldSectionOrganism.ɵfac = function InputFieldSectionOrganism_Factory(t) { return new (t || InputFieldSectionOrganism)(); };
17
- InputFieldSectionOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: InputFieldSectionOrganism, selector: "organisms-input-field-section", inputs: { label: "label", placeholder: "placeholder", control: "control" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint>Hint</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-input-field-section-rNyK:var(--horizontal-padding);display:block;padding:0 var(--horizontal-padding-SCOPED-IN-input-field-section-rNyK);box-sizing:border-box}:host,:host .molecule.input-field,:host mat-form-field{width:100%}"], directives: [{ type: MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: MatLabel, selector: "mat-label" }, { type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }], changeDetection: ChangeDetectionStrategy.OnPush });
19
+ InputFieldSectionOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: InputFieldSectionOrganism, selector: "organisms-input-field-section", inputs: { label: "label", placeholder: "placeholder", type: "type", hint: "hint", control: "control" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [type]=\"type\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint>{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-input-field-section-K63Q:var(--horizontal-padding);display:block;padding:0 var(--horizontal-padding-SCOPED-IN-input-field-section-K63Q);box-sizing:border-box}:host,:host .molecule.input-field,:host mat-form-field{width:100%}"], directives: [{ type: MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: MatLabel, selector: "mat-label" }, { type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }], changeDetection: ChangeDetectionStrategy.OnPush });
18
20
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(InputFieldSectionOrganism, [{
19
21
  type: Component,
20
22
  args: [{
@@ -28,6 +30,10 @@ InputFieldSectionOrganism.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", t
28
30
  type: Input
29
31
  }], placeholder: [{
30
32
  type: Input
33
+ }], type: [{
34
+ type: Input
35
+ }], hint: [{
36
+ type: Input
31
37
  }], control: [{
32
38
  type: Input
33
39
  }] }); })();