@ng-atomic/components 1.2.0 → 1.4.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 (430) 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 +2 -2
  43. package/bundles/ng-atomic-components-molecules-select-input-field.umd.js.map +1 -1
  44. package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +1 -1
  45. package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js.map +1 -1
  46. package/bundles/ng-atomic-components-molecules-smart-column.umd.js +21 -12
  47. package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -1
  48. package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js +2 -2
  49. package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js.map +1 -1
  50. package/bundles/ng-atomic-components-molecules-text-input-field.umd.js +113 -0
  51. package/bundles/ng-atomic-components-molecules-text-input-field.umd.js.map +1 -0
  52. package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js +2 -0
  53. package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js.map +1 -0
  54. package/bundles/ng-atomic-components-molecules-textarea-field.umd.js +99 -0
  55. package/bundles/ng-atomic-components-molecules-textarea-field.umd.js.map +1 -0
  56. package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js +2 -0
  57. package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js.map +1 -0
  58. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +2 -1
  59. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -1
  60. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js +1 -1
  61. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js.map +1 -1
  62. package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +12 -7
  63. package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -1
  64. package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js +1 -1
  65. package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js.map +1 -1
  66. package/bundles/ng-atomic-components-organisms-card-input-section.umd.js +99 -0
  67. package/bundles/ng-atomic-components-organisms-card-input-section.umd.js.map +1 -0
  68. package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js +2 -0
  69. package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js.map +1 -0
  70. package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js +423 -0
  71. package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js.map +1 -0
  72. package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js +16 -0
  73. package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js.map +1 -0
  74. package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +12 -341
  75. package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -1
  76. package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js +1 -15
  77. package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js.map +1 -1
  78. package/bundles/ng-atomic-components-organisms-heading.umd.js +1 -1
  79. package/bundles/ng-atomic-components-organisms-heading.umd.min.js +1 -1
  80. package/bundles/ng-atomic-components-organisms-input-field-section.umd.js +18 -19
  81. package/bundles/ng-atomic-components-organisms-input-field-section.umd.js.map +1 -1
  82. package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js +1 -1
  83. package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js.map +1 -1
  84. package/bundles/ng-atomic-components-organisms-menu.umd.js +1 -1
  85. package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -1
  86. package/bundles/ng-atomic-components-organisms-menu.umd.min.js +1 -1
  87. package/bundles/ng-atomic-components-organisms-menu.umd.min.js.map +1 -1
  88. package/bundles/ng-atomic-components-organisms-select-input-section.umd.js +1 -1
  89. package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js +1 -1
  90. package/bundles/ng-atomic-components-organisms-smart-table.umd.js +8 -1
  91. package/bundles/ng-atomic-components-organisms-smart-table.umd.js.map +1 -1
  92. package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js +2 -2
  93. package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js.map +1 -1
  94. package/bundles/ng-atomic-components-organisms-social-login-section.umd.js +1 -1
  95. package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js +1 -1
  96. package/bundles/ng-atomic-components-organisms-text-input-section.umd.js +107 -0
  97. package/bundles/ng-atomic-components-organisms-text-input-section.umd.js.map +1 -0
  98. package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js +2 -0
  99. package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js.map +1 -0
  100. package/bundles/ng-atomic-components-organisms-textarea-section.umd.js +93 -0
  101. package/bundles/ng-atomic-components-organisms-textarea-section.umd.js.map +1 -0
  102. package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js +2 -0
  103. package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js.map +1 -0
  104. package/bundles/ng-atomic-components-organisms-top-navigator.umd.js +21 -21
  105. package/bundles/ng-atomic-components-organisms-top-navigator.umd.js.map +1 -1
  106. package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js +1 -1
  107. package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js.map +1 -1
  108. package/bundles/ng-atomic-components-pages-blank.umd.js +12 -0
  109. package/bundles/ng-atomic-components-pages-blank.umd.js.map +1 -1
  110. package/bundles/ng-atomic-components-pages-blank.umd.min.js +1 -1
  111. package/bundles/ng-atomic-components-pages-blank.umd.min.js.map +1 -1
  112. package/bundles/ng-atomic-components-templates-entrance.umd.js +16 -6
  113. package/bundles/ng-atomic-components-templates-entrance.umd.js.map +1 -1
  114. package/bundles/ng-atomic-components-templates-entrance.umd.min.js +1 -1
  115. package/bundles/ng-atomic-components-templates-entrance.umd.min.js.map +1 -1
  116. package/bundles/ng-atomic-components-templates-menu.umd.js +96 -0
  117. package/bundles/ng-atomic-components-templates-menu.umd.js.map +1 -0
  118. package/bundles/ng-atomic-components-templates-menu.umd.min.js +2 -0
  119. package/bundles/ng-atomic-components-templates-menu.umd.min.js.map +1 -0
  120. package/bundles/ng-atomic-components-templates-smart-crud.umd.js +1 -1
  121. package/bundles/ng-atomic-components-templates-smart-crud.umd.js.map +1 -1
  122. package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js +1 -1
  123. package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js.map +1 -1
  124. package/bundles/ng-atomic-components-templates-smart-index.umd.js +20 -8
  125. package/bundles/ng-atomic-components-templates-smart-index.umd.js.map +1 -1
  126. package/bundles/ng-atomic-components-templates-smart-index.umd.min.js +1 -1
  127. package/bundles/ng-atomic-components-templates-smart-index.umd.min.js.map +1 -1
  128. package/esm2015/atoms/smart-menu-button/index.js +3 -0
  129. package/esm2015/atoms/smart-menu-button/index.js.map +1 -0
  130. package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js +5 -0
  131. package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
  132. package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js +28 -0
  133. package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js.map +1 -0
  134. package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js +38 -0
  135. package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js.map +1 -0
  136. package/esm2015/frames/auto-layout/auto-layout.frame.js +1 -1
  137. package/esm2015/frames/drawer/drawer.frame.js +31 -0
  138. package/esm2015/frames/drawer/drawer.frame.js.map +1 -0
  139. package/esm2015/frames/drawer/drawer.module.js +27 -0
  140. package/esm2015/frames/drawer/drawer.module.js.map +1 -0
  141. package/esm2015/frames/drawer/index.js +3 -0
  142. package/esm2015/frames/drawer/index.js.map +1 -0
  143. package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js +5 -0
  144. package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js.map +1 -0
  145. package/esm2015/frames/line-up/line-up.frame.js +1 -1
  146. package/esm2015/frames/line-up-v2/index.js +3 -0
  147. package/esm2015/frames/line-up-v2/index.js.map +1 -0
  148. package/esm2015/frames/line-up-v2/line-up.animations.js +64 -0
  149. package/esm2015/frames/line-up-v2/line-up.animations.js.map +1 -0
  150. package/esm2015/frames/line-up-v2/line-up.frame.js +97 -0
  151. package/esm2015/frames/line-up-v2/line-up.frame.js.map +1 -0
  152. package/esm2015/frames/line-up-v2/line-up.module.js +27 -0
  153. package/esm2015/frames/line-up-v2/line-up.module.js.map +1 -0
  154. package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js +5 -0
  155. package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js.map +1 -0
  156. package/esm2015/frames/line-up-v2/resize-observer.js +13 -0
  157. package/esm2015/frames/line-up-v2/resize-observer.js.map +1 -0
  158. package/esm2015/frames/overlay/overlay.frame.js +1 -1
  159. package/esm2015/frames/overlay-v2/index.js +3 -0
  160. package/esm2015/frames/overlay-v2/index.js.map +1 -0
  161. package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js +5 -0
  162. package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js.map +1 -0
  163. package/esm2015/frames/overlay-v2/overlay.animations.js +28 -0
  164. package/esm2015/frames/overlay-v2/overlay.animations.js.map +1 -0
  165. package/esm2015/frames/overlay-v2/overlay.frame.js +23 -0
  166. package/esm2015/frames/overlay-v2/overlay.frame.js.map +1 -0
  167. package/esm2015/frames/overlay-v2/overlay.module.js +29 -0
  168. package/esm2015/frames/overlay-v2/overlay.module.js.map +1 -0
  169. package/esm2015/frames/scroll/scroll.frame.js +1 -1
  170. package/esm2015/frames/smart-menu/index.js +3 -0
  171. package/esm2015/frames/smart-menu/index.js.map +1 -0
  172. package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js +5 -0
  173. package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js.map +1 -0
  174. package/esm2015/frames/smart-menu/smart-menu.frame.js +39 -0
  175. package/esm2015/frames/smart-menu/smart-menu.frame.js.map +1 -0
  176. package/esm2015/frames/smart-menu/smart-menu.module.js +23 -0
  177. package/esm2015/frames/smart-menu/smart-menu.module.js.map +1 -0
  178. package/esm2015/molecules/actions-column/actions-column.module.js +8 -1
  179. package/esm2015/molecules/actions-column/actions-column.module.js.map +1 -1
  180. package/esm2015/molecules/actions-column/actions-column.molecule.js +5 -5
  181. package/esm2015/molecules/actions-column/actions-column.molecule.js.map +1 -1
  182. package/esm2015/molecules/date-input-field/date-input-field.module.js +39 -0
  183. package/esm2015/molecules/date-input-field/date-input-field.module.js.map +1 -0
  184. package/esm2015/molecules/date-input-field/date-input-field.molecule.js +44 -0
  185. package/esm2015/molecules/date-input-field/date-input-field.molecule.js.map +1 -0
  186. package/esm2015/molecules/date-input-field/index.js +3 -0
  187. package/esm2015/molecules/date-input-field/index.js.map +1 -0
  188. package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js +5 -0
  189. package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js.map +1 -0
  190. package/esm2015/molecules/select-input-field/select-input-field.molecule.js +2 -2
  191. package/esm2015/molecules/select-input-field/select-input-field.molecule.js.map +1 -1
  192. package/esm2015/molecules/smart-column/smart-column.module.js +4 -0
  193. package/esm2015/molecules/smart-column/smart-column.module.js.map +1 -1
  194. package/esm2015/molecules/smart-column/smart-column.molecule.js +12 -4
  195. package/esm2015/molecules/smart-column/smart-column.molecule.js.map +1 -1
  196. package/esm2015/molecules/text-input-field/index.js +3 -0
  197. package/esm2015/molecules/text-input-field/index.js.map +1 -0
  198. package/esm2015/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.js +5 -0
  199. package/esm2015/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.js.map +1 -0
  200. package/esm2015/molecules/text-input-field/text-input-field.module.js +38 -0
  201. package/esm2015/molecules/text-input-field/text-input-field.module.js.map +1 -0
  202. package/esm2015/molecules/text-input-field/text-input-field.molecule.js +40 -0
  203. package/esm2015/molecules/text-input-field/text-input-field.molecule.js.map +1 -0
  204. package/esm2015/molecules/textarea-field/index.js +3 -0
  205. package/esm2015/molecules/textarea-field/index.js.map +1 -0
  206. package/esm2015/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.js +5 -0
  207. package/esm2015/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.js.map +1 -0
  208. package/esm2015/molecules/textarea-field/textarea-field.module.js +30 -0
  209. package/esm2015/molecules/textarea-field/textarea-field.module.js.map +1 -0
  210. package/esm2015/molecules/textarea-field/textarea-field.molecule.js +30 -0
  211. package/esm2015/molecules/textarea-field/textarea-field.molecule.js.map +1 -0
  212. package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js +2 -1
  213. package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js.map +1 -1
  214. package/esm2015/organisms/back-navigator/back-navigator.module.js +7 -4
  215. package/esm2015/organisms/back-navigator/back-navigator.module.js.map +1 -1
  216. package/esm2015/organisms/back-navigator/back-navigator.organism.js +4 -2
  217. package/esm2015/organisms/back-navigator/back-navigator.organism.js.map +1 -1
  218. package/esm2015/organisms/card-input-section/card-input-section.module.js +30 -0
  219. package/esm2015/organisms/card-input-section/card-input-section.module.js.map +1 -0
  220. package/esm2015/organisms/card-input-section/card-input-section.organism.js +29 -0
  221. package/esm2015/organisms/card-input-section/card-input-section.organism.js.map +1 -0
  222. package/esm2015/organisms/card-input-section/index.js +3 -0
  223. package/esm2015/organisms/card-input-section/index.js.map +1 -0
  224. package/esm2015/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.js +5 -0
  225. package/esm2015/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.js.map +1 -0
  226. package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js +34 -0
  227. package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js.map +1 -0
  228. package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js +34 -0
  229. package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js.map +1 -0
  230. package/esm2015/organisms/cvc-and-exp-input-section/index.js +3 -0
  231. package/esm2015/organisms/cvc-and-exp-input-section/index.js.map +1 -0
  232. package/esm2015/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.js +5 -0
  233. package/esm2015/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.js.map +1 -0
  234. package/esm2015/organisms/date-input-section/date-input-section.module.js +5 -18
  235. package/esm2015/organisms/date-input-section/date-input-section.module.js.map +1 -1
  236. package/esm2015/organisms/date-input-section/date-input-section.organism.js +6 -10
  237. package/esm2015/organisms/date-input-section/date-input-section.organism.js.map +1 -1
  238. package/esm2015/organisms/heading/heading.organism.js +1 -1
  239. package/esm2015/organisms/input-field-section/input-field-section.module.js +7 -15
  240. package/esm2015/organisms/input-field-section/input-field-section.module.js.map +1 -1
  241. package/esm2015/organisms/input-field-section/input-field-section.organism.js +9 -6
  242. package/esm2015/organisms/input-field-section/input-field-section.organism.js.map +1 -1
  243. package/esm2015/organisms/menu/menu.organism.js +1 -1
  244. package/esm2015/organisms/menu/menu.organism.js.map +1 -1
  245. package/esm2015/organisms/select-input-section/select-input-section.organism.js +1 -1
  246. package/esm2015/organisms/smart-table/smart-table.organism.js +8 -1
  247. package/esm2015/organisms/smart-table/smart-table.organism.js.map +1 -1
  248. package/esm2015/organisms/social-login-section/social-login-section.organism.js +1 -1
  249. package/esm2015/organisms/text-input-section/index.js +3 -0
  250. package/esm2015/organisms/text-input-section/index.js.map +1 -0
  251. package/esm2015/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.js +5 -0
  252. package/esm2015/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.js.map +1 -0
  253. package/esm2015/organisms/text-input-section/text-input-section.module.js +34 -0
  254. package/esm2015/organisms/text-input-section/text-input-section.module.js.map +1 -0
  255. package/esm2015/organisms/text-input-section/text-input-section.organism.js +33 -0
  256. package/esm2015/organisms/text-input-section/text-input-section.organism.js.map +1 -0
  257. package/esm2015/organisms/textarea-section/index.js +3 -0
  258. package/esm2015/organisms/textarea-section/index.js.map +1 -0
  259. package/esm2015/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.js +5 -0
  260. package/esm2015/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.js.map +1 -0
  261. package/esm2015/organisms/textarea-section/textarea-section.module.js +30 -0
  262. package/esm2015/organisms/textarea-section/textarea-section.module.js.map +1 -0
  263. package/esm2015/organisms/textarea-section/textarea-section.organism.js +22 -0
  264. package/esm2015/organisms/textarea-section/textarea-section.organism.js.map +1 -0
  265. package/esm2015/organisms/top-navigator/top-navigator.module.js +9 -10
  266. package/esm2015/organisms/top-navigator/top-navigator.module.js.map +1 -1
  267. package/esm2015/organisms/top-navigator/top-navigator.organism.js +6 -9
  268. package/esm2015/organisms/top-navigator/top-navigator.organism.js.map +1 -1
  269. package/esm2015/pages/blank/blank.route.js +6 -0
  270. package/esm2015/pages/blank/blank.route.js.map +1 -0
  271. package/esm2015/pages/blank/index.js +1 -0
  272. package/esm2015/pages/blank/index.js.map +1 -1
  273. package/esm2015/templates/entrance/entrance.template.js +13 -2
  274. package/esm2015/templates/entrance/entrance.template.js.map +1 -1
  275. package/esm2015/templates/menu/index.js +3 -0
  276. package/esm2015/templates/menu/index.js.map +1 -0
  277. package/esm2015/templates/menu/menu.module.js +30 -0
  278. package/esm2015/templates/menu/menu.module.js.map +1 -0
  279. package/esm2015/templates/menu/menu.template.js +25 -0
  280. package/esm2015/templates/menu/menu.template.js.map +1 -0
  281. package/esm2015/templates/menu/ng-atomic-components-templates-menu.js +5 -0
  282. package/esm2015/templates/menu/ng-atomic-components-templates-menu.js.map +1 -0
  283. package/esm2015/templates/smart-crud/smart-crud.template.js +1 -1
  284. package/esm2015/templates/smart-crud/smart-crud.template.js.map +1 -1
  285. package/esm2015/templates/smart-index/smart-index.template.js +15 -2
  286. package/esm2015/templates/smart-index/smart-index.template.js.map +1 -1
  287. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js +66 -0
  288. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
  289. package/fesm2015/ng-atomic-components-frames-auto-layout.js +1 -1
  290. package/fesm2015/ng-atomic-components-frames-drawer.js +60 -0
  291. package/fesm2015/ng-atomic-components-frames-drawer.js.map +1 -0
  292. package/fesm2015/ng-atomic-components-frames-line-up-v2.js +200 -0
  293. package/fesm2015/ng-atomic-components-frames-line-up-v2.js.map +1 -0
  294. package/fesm2015/ng-atomic-components-frames-line-up.js +1 -1
  295. package/fesm2015/ng-atomic-components-frames-overlay-v2.js +83 -0
  296. package/fesm2015/ng-atomic-components-frames-overlay-v2.js.map +1 -0
  297. package/fesm2015/ng-atomic-components-frames-overlay.js +1 -1
  298. package/fesm2015/ng-atomic-components-frames-scroll.js +1 -1
  299. package/fesm2015/ng-atomic-components-frames-smart-menu.js +66 -0
  300. package/fesm2015/ng-atomic-components-frames-smart-menu.js.map +1 -0
  301. package/fesm2015/ng-atomic-components-molecules-actions-column.js +16 -6
  302. package/fesm2015/ng-atomic-components-molecules-actions-column.js.map +1 -1
  303. package/fesm2015/ng-atomic-components-molecules-date-input-field.js +83 -0
  304. package/fesm2015/ng-atomic-components-molecules-date-input-field.js.map +1 -0
  305. package/fesm2015/ng-atomic-components-molecules-select-input-field.js +2 -2
  306. package/fesm2015/ng-atomic-components-molecules-select-input-field.js.map +1 -1
  307. package/fesm2015/ng-atomic-components-molecules-smart-column.js +14 -4
  308. package/fesm2015/ng-atomic-components-molecules-smart-column.js.map +1 -1
  309. package/fesm2015/ng-atomic-components-molecules-text-input-field.js +78 -0
  310. package/fesm2015/ng-atomic-components-molecules-text-input-field.js.map +1 -0
  311. package/fesm2015/ng-atomic-components-molecules-textarea-field.js +62 -0
  312. package/fesm2015/ng-atomic-components-molecules-textarea-field.js.map +1 -0
  313. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js +2 -1
  314. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js.map +1 -1
  315. package/fesm2015/ng-atomic-components-organisms-back-navigator.js +11 -6
  316. package/fesm2015/ng-atomic-components-organisms-back-navigator.js.map +1 -1
  317. package/fesm2015/ng-atomic-components-organisms-card-input-section.js +62 -0
  318. package/fesm2015/ng-atomic-components-organisms-card-input-section.js.map +1 -0
  319. package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js +70 -0
  320. package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js.map +1 -0
  321. package/fesm2015/ng-atomic-components-organisms-date-input-section.js +10 -25
  322. package/fesm2015/ng-atomic-components-organisms-date-input-section.js.map +1 -1
  323. package/fesm2015/ng-atomic-components-organisms-heading.js +1 -1
  324. package/fesm2015/ng-atomic-components-organisms-input-field-section.js +15 -18
  325. package/fesm2015/ng-atomic-components-organisms-input-field-section.js.map +1 -1
  326. package/fesm2015/ng-atomic-components-organisms-menu.js +2 -2
  327. package/fesm2015/ng-atomic-components-organisms-menu.js.map +1 -1
  328. package/fesm2015/ng-atomic-components-organisms-select-input-section.js +1 -1
  329. package/fesm2015/ng-atomic-components-organisms-smart-table.js +8 -1
  330. package/fesm2015/ng-atomic-components-organisms-smart-table.js.map +1 -1
  331. package/fesm2015/ng-atomic-components-organisms-social-login-section.js +1 -1
  332. package/fesm2015/ng-atomic-components-organisms-text-input-section.js +70 -0
  333. package/fesm2015/ng-atomic-components-organisms-text-input-section.js.map +1 -0
  334. package/fesm2015/ng-atomic-components-organisms-textarea-section.js +55 -0
  335. package/fesm2015/ng-atomic-components-organisms-textarea-section.js.map +1 -0
  336. package/fesm2015/ng-atomic-components-organisms-top-navigator.js +15 -16
  337. package/fesm2015/ng-atomic-components-organisms-top-navigator.js.map +1 -1
  338. package/fesm2015/ng-atomic-components-pages-blank.js +12 -1
  339. package/fesm2015/ng-atomic-components-pages-blank.js.map +1 -1
  340. package/fesm2015/ng-atomic-components-templates-entrance.js +13 -2
  341. package/fesm2015/ng-atomic-components-templates-entrance.js.map +1 -1
  342. package/fesm2015/ng-atomic-components-templates-menu.js +58 -0
  343. package/fesm2015/ng-atomic-components-templates-menu.js.map +1 -0
  344. package/fesm2015/ng-atomic-components-templates-smart-crud.js +1 -1
  345. package/fesm2015/ng-atomic-components-templates-smart-crud.js.map +1 -1
  346. package/fesm2015/ng-atomic-components-templates-smart-index.js +14 -2
  347. package/fesm2015/ng-atomic-components-templates-smart-index.js.map +1 -1
  348. package/frames/drawer/drawer.frame.d.ts +10 -0
  349. package/frames/drawer/drawer.module.d.ts +9 -0
  350. package/frames/drawer/index.d.ts +2 -0
  351. package/frames/drawer/ng-atomic-components-frames-drawer.d.ts +5 -0
  352. package/frames/drawer/package.json +10 -0
  353. package/frames/line-up-v2/index.d.ts +2 -0
  354. package/frames/line-up-v2/line-up.animations.d.ts +1 -0
  355. package/frames/line-up-v2/line-up.frame.d.ts +35 -0
  356. package/frames/line-up-v2/line-up.module.d.ts +9 -0
  357. package/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.d.ts +5 -0
  358. package/frames/line-up-v2/package.json +10 -0
  359. package/frames/line-up-v2/resize-observer.d.ts +3 -0
  360. package/frames/overlay-v2/index.d.ts +2 -0
  361. package/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.d.ts +5 -0
  362. package/frames/overlay-v2/overlay.animations.d.ts +1 -0
  363. package/frames/overlay-v2/overlay.frame.d.ts +6 -0
  364. package/frames/overlay-v2/overlay.module.d.ts +9 -0
  365. package/frames/overlay-v2/package.json +10 -0
  366. package/frames/smart-menu/index.d.ts +2 -0
  367. package/frames/smart-menu/ng-atomic-components-frames-smart-menu.d.ts +5 -0
  368. package/frames/smart-menu/package.json +10 -0
  369. package/frames/smart-menu/smart-menu.frame.d.ts +13 -0
  370. package/frames/smart-menu/smart-menu.module.d.ts +8 -0
  371. package/molecules/actions-column/actions-column.module.d.ts +2 -1
  372. package/molecules/actions-column/actions-column.molecule.d.ts +1 -0
  373. package/molecules/date-input-field/date-input-field.module.d.ts +12 -0
  374. package/molecules/date-input-field/date-input-field.molecule.d.ts +13 -0
  375. package/molecules/date-input-field/index.d.ts +2 -0
  376. package/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.d.ts +5 -0
  377. package/molecules/date-input-field/package.json +10 -0
  378. package/molecules/select-input-field/select-input-field.molecule.d.ts +1 -2
  379. package/molecules/smart-column/smart-column.module.d.ts +3 -2
  380. package/molecules/smart-column/smart-column.molecule.d.ts +4 -1
  381. package/molecules/text-input-field/index.d.ts +2 -0
  382. package/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.d.ts +5 -0
  383. package/molecules/text-input-field/package.json +10 -0
  384. package/molecules/text-input-field/text-input-field.module.d.ts +10 -0
  385. package/molecules/text-input-field/text-input-field.molecule.d.ts +12 -0
  386. package/molecules/textarea-field/index.d.ts +2 -0
  387. package/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.d.ts +5 -0
  388. package/molecules/textarea-field/package.json +10 -0
  389. package/molecules/textarea-field/textarea-field.module.d.ts +9 -0
  390. package/molecules/textarea-field/textarea-field.molecule.d.ts +8 -0
  391. package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -0
  392. package/organisms/back-navigator/back-navigator.module.d.ts +2 -2
  393. package/organisms/back-navigator/back-navigator.organism.d.ts +2 -1
  394. package/organisms/card-input-section/card-input-section.module.d.ts +9 -0
  395. package/organisms/card-input-section/card-input-section.organism.d.ts +9 -0
  396. package/organisms/card-input-section/index.d.ts +2 -0
  397. package/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.d.ts +5 -0
  398. package/organisms/card-input-section/package.json +10 -0
  399. package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.d.ts +10 -0
  400. package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +10 -0
  401. package/organisms/cvc-and-exp-input-section/index.d.ts +2 -0
  402. package/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.d.ts +5 -0
  403. package/organisms/cvc-and-exp-input-section/package.json +10 -0
  404. package/organisms/date-input-section/date-input-section.module.d.ts +2 -5
  405. package/organisms/date-input-section/date-input-section.organism.d.ts +0 -1
  406. package/organisms/input-field-section/input-field-section.module.d.ts +2 -4
  407. package/organisms/input-field-section/input-field-section.organism.d.ts +3 -1
  408. package/organisms/smart-table/smart-table.organism.d.ts +4 -1
  409. package/organisms/text-input-section/index.d.ts +2 -0
  410. package/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.d.ts +5 -0
  411. package/organisms/text-input-section/package.json +10 -0
  412. package/organisms/text-input-section/text-input-section.module.d.ts +9 -0
  413. package/organisms/text-input-section/text-input-section.organism.d.ts +11 -0
  414. package/organisms/textarea-section/index.d.ts +2 -0
  415. package/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.d.ts +5 -0
  416. package/organisms/textarea-section/package.json +10 -0
  417. package/organisms/textarea-section/textarea-section.module.d.ts +9 -0
  418. package/organisms/textarea-section/textarea-section.organism.d.ts +6 -0
  419. package/organisms/top-navigator/top-navigator.module.d.ts +4 -5
  420. package/organisms/top-navigator/top-navigator.organism.d.ts +4 -4
  421. package/package.json +1 -1
  422. package/pages/blank/blank.route.d.ts +2 -0
  423. package/pages/blank/index.d.ts +1 -0
  424. package/templates/entrance/entrance.template.d.ts +7 -1
  425. package/templates/menu/index.d.ts +2 -0
  426. package/templates/menu/menu.module.d.ts +9 -0
  427. package/templates/menu/menu.template.d.ts +9 -0
  428. package/templates/menu/ng-atomic-components-templates-menu.d.ts +5 -0
  429. package/templates/menu/package.json +10 -0
  430. package/templates/smart-index/smart-index.template.d.ts +7 -2
@@ -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 { trigger, transition, query, style, animate, animateChild } from '@angular/animations';
4
+ import { CommonModule } from '@angular/common';
5
+ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
6
+
7
+ const OVERLAY_ANIMATION = trigger('hasNext', [
8
+ transition('false => true', [
9
+ query(':enter', [
10
+ style({
11
+ position: 'absolute',
12
+ top: '0px',
13
+ left: '0px'
14
+ })
15
+ ]),
16
+ query(':enter', [style({ left: '100%' })]),
17
+ query(':enter', [animate('300ms ease-out', style({ left: '0%' }))]),
18
+ query(':enter', animateChild()),
19
+ ]),
20
+ transition('true => false', [
21
+ query(':leave', [
22
+ style({
23
+ position: 'absolute',
24
+ top: '0px',
25
+ left: '0px'
26
+ })
27
+ ]),
28
+ query(':leave', [style({ left: '0%' })]),
29
+ query(':leave', [animate('300ms ease-in', style({ left: '100%' }))]),
30
+ query(':leave', animateChild()),
31
+ ])
32
+ ]);
33
+
34
+ class OverlayFrame {
35
+ constructor() {
36
+ this.hasNext = false;
37
+ }
38
+ }
39
+ OverlayFrame.ɵfac = function OverlayFrame_Factory(t) { return new (t || OverlayFrame)(); };
40
+ OverlayFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: OverlayFrame, selector: "frames-overlay", inputs: { hasNext: "hasNext" }, ngImport: i0, template: "<div class=\"main\">\n <ng-content select=[main]></ng-content>\n</div>\n<div class=\"next\" [@hasNext]=\"hasNext\">\n <ng-content select=[next]></ng-content>\n</div>", styles: [":host{--cell:8px;--cell-SCOPED-IN-line-overlay-vlQM:var(--cell);--width:100%;--width-SCOPED-IN-line-overlay-vlQM:var(--width);--height:100%;--height-SCOPED-IN-line-overlay-vlQM:var(--height);position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-vlQM);height:var(--height-SCOPED-IN-line-overlay-vlQM)}:host .loading{z-index:1000;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.4)}:host .loading,:host .main{position:absolute;top:0;left:0;width:var(--width-SCOPED-IN-line-overlay-vlQM);height:var(--height-SCOPED-IN-line-overlay-vlQM)}:host .main{z-index:1;overflow:hidden}:host .main *{--cell:var(--cell-SCOPED-IN-line-overlay-vlQM);--width:var(--width-SCOPED-IN-line-overlay-vlQM);--height:var(--height-SCOPED-IN-line-overlay-vlQM)}:host .next{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-vlQM);height:auto}:host .next *{--cell:var(--cell-SCOPED-IN-line-overlay-vlQM);--width:var(--width-SCOPED-IN-line-overlay-vlQM);--height:var(--height-SCOPED-IN-line-overlay-vlQM)}"], animations: [OVERLAY_ANIMATION], changeDetection: ChangeDetectionStrategy.OnPush });
41
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(OverlayFrame, [{
42
+ type: Component,
43
+ args: [{
44
+ selector: 'frames-overlay',
45
+ templateUrl: './overlay.frame.html',
46
+ styleUrls: ['./overlay.frame.scss'],
47
+ animations: [OVERLAY_ANIMATION],
48
+ changeDetection: ChangeDetectionStrategy.OnPush,
49
+ }]
50
+ }], null, { hasNext: [{
51
+ type: Input
52
+ }] }); })();
53
+
54
+ class OverlayModule {
55
+ }
56
+ OverlayModule.ɵfac = function OverlayModule_Factory(t) { return new (t || OverlayModule)(); };
57
+ OverlayModule.ɵmod = ɵɵdefineNgModule({ type: OverlayModule });
58
+ OverlayModule.ɵinj = ɵɵdefineInjector({ imports: [[
59
+ CommonModule,
60
+ MatProgressSpinnerModule
61
+ ]] });
62
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(OverlayModule, { declarations: [OverlayFrame], imports: [CommonModule,
63
+ MatProgressSpinnerModule], exports: [OverlayFrame] }); })();
64
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(OverlayModule, [{
65
+ type: NgModule,
66
+ args: [{
67
+ declarations: [OverlayFrame],
68
+ imports: [
69
+ CommonModule,
70
+ MatProgressSpinnerModule
71
+ ],
72
+ exports: [
73
+ OverlayFrame
74
+ ]
75
+ }]
76
+ }], null, null); })();
77
+
78
+ /**
79
+ * Generated bundle index. Do not edit.
80
+ */
81
+
82
+ export { OverlayFrame, OverlayModule };
83
+ //# sourceMappingURL=ng-atomic-components-frames-overlay-v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-frames-overlay-v2.js","sources":["../../../../libs/components/frames/overlay-v2/overlay.animations.ts","../../../../libs/components/frames/overlay-v2/overlay.frame.ts","../../../../libs/components/frames/overlay-v2/overlay.frame.html","../../../../libs/components/frames/overlay-v2/overlay.module.ts","../../../../libs/components/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.ts"],"sourcesContent":["import { trigger, transition, style, query, animateChild, animate } from '@angular/animations';\n\nexport const OVERLAY_ANIMATION = trigger('hasNext', [\n transition('false => true', [\n query(':enter', [\n style({\n position: 'absolute',\n top: '0px',\n left: '0px'\n })\n ]),\n query(':enter', [style({ left: '100%' })]),\n query(':enter', [animate('300ms ease-out', style({ left: '0%' }))]),\n query(':enter', animateChild()),\n ]),\n transition('true => false', [\n query(':leave', [\n style({\n position: 'absolute',\n top: '0px',\n left: '0px'\n })\n ]),\n query(':leave', [style({ left: '0%' })]),\n query(':leave', [animate('300ms ease-in', style({ left: '100%' }))]),\n query(':leave', animateChild()),\n ])\n]);\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { OVERLAY_ANIMATION } from './overlay.animations';\n\n@Component({\n selector: 'frames-overlay',\n templateUrl: './overlay.frame.html',\n styleUrls: ['./overlay.frame.scss'],\n animations: [OVERLAY_ANIMATION],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OverlayFrame {\n @Input()\n hasNext = false;\n}\n","<div class=\"main\">\n <ng-content select=[main]></ng-content>\n</div>\n<div class=\"next\" [@hasNext]=\"hasNext\">\n <ng-content select=[next]></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { OverlayFrame } from './overlay.frame';\n\n@NgModule({\n declarations: [OverlayFrame],\n imports: [\n CommonModule,\n MatProgressSpinnerModule\n ],\n exports: [\n OverlayFrame\n ]\n})\nexport class OverlayModule { }\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAEO,MAAM,iBAAiB,GAAG,OAAO,CAAC,SAAS,EAAE;IAClD,UAAU,CAAC,eAAe,EAAE;QAC1B,KAAK,CAAC,QAAQ,EAAE;YACd,KAAK,CAAC;gBACJ,QAAQ,EAAE,UAAU;gBACpB,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;aACZ,CAAC;SACH,CAAC;QACF,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;QAC1C,KAAK,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,gBAAgB,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,CAAC;KAChC,CAAC;IACF,UAAU,CAAC,eAAe,EAAE;QACxB,KAAK,CAAC,QAAQ,EAAE;YACd,KAAK,CAAC;gBACJ,QAAQ,EAAE,UAAU;gBACpB,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;aACZ,CAAC;SACH,CAAC;QACF,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QACxC,KAAK,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,eAAe,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;QACpE,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,CAAC;KAClC,CAAC;CACH,CAAC;;MCjBW,YAAY;IAPzB;QASE,YAAO,GAAG,KAAK,CAAC;KACjB;;wEAHY,YAAY;qEAAZ,YAAY,sFCVzB,6KAKM,gkCDEQ,CAAC,iBAAiB,CAAC;oFAGpB,YAAY;cAPxB,SAAS;eAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,WAAW,EAAE,sBAAsB;gBACnC,SAAS,EAAE,CAAC,sBAAsB,CAAC;gBACnC,UAAU,EAAE,CAAC,iBAAiB,CAAC;gBAC/B,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAGC,OAAO;kBADN,KAAK;;;MEIK,aAAa;;0EAAb,aAAa;8CAAb,aAAa;kDARf;YACP,YAAY;YACZ,wBAAwB;SACzB;qFAKU,aAAa,mBATT,YAAY,aAEzB,YAAY;QACZ,wBAAwB,aAGxB,YAAY;oFAGH,aAAa;cAVzB,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,YAAY,CAAC;gBAC5B,OAAO,EAAE;oBACP,YAAY;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,YAAY;iBACb;aACF;;;ACdD;;;;;;"}
@@ -43,7 +43,7 @@ class OverlayFrame {
43
43
  }
44
44
  }
45
45
  OverlayFrame.ɵfac = function OverlayFrame_Factory(t) { return new (t || OverlayFrame)(); };
46
- OverlayFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: OverlayFrame, selector: "frames-overlay", inputs: { outlet: "outlet", isLoading: "isLoading" }, ngImport: i0, template: "<div class=\"loading\" *ngIf=\"isLoading\">\n <mat-spinner></mat-spinner>\n</div>\n<div class=\"main page\">\n <ng-content select=[mainPage]></ng-content>\n</div>\n<div class=\"next page\" [@routeAnimations]=\"prepareRoute(outlet)\">\n <ng-content select=[nextPage]></ng-content>\n</div>", styles: [":host{--cell:8px;--cell-SCOPED-IN-line-overlay-VvDk:var(--cell);--width:100%;--width-SCOPED-IN-line-overlay-VvDk:var(--width);--height:100%;--height-SCOPED-IN-line-overlay-VvDk:var(--height);position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-VvDk);height:var(--height-SCOPED-IN-line-overlay-VvDk)}:host .loading{z-index:1000;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.4)}:host .loading,:host .main.page{position:absolute;top:0;left:0;width:var(--width-SCOPED-IN-line-overlay-VvDk);height:var(--height-SCOPED-IN-line-overlay-VvDk)}:host .main.page{z-index:1;overflow:hidden}:host .main.page *{--cell:var(--cell-SCOPED-IN-line-overlay-VvDk);--width:var(--width-SCOPED-IN-line-overlay-VvDk);--height:var(--height-SCOPED-IN-line-overlay-VvDk)}:host .next.page{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-VvDk);height:auto}:host .next.page *{--cell:var(--cell-SCOPED-IN-line-overlay-VvDk);--width:var(--width-SCOPED-IN-line-overlay-VvDk);--height:var(--height-SCOPED-IN-line-overlay-VvDk)}"], directives: [{ type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatSpinner, selector: "mat-spinner", inputs: ["color"] }], animations: [slideInAnimation] });
46
+ OverlayFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: OverlayFrame, selector: "frames-overlay", inputs: { outlet: "outlet", isLoading: "isLoading" }, ngImport: i0, template: "<div class=\"loading\" *ngIf=\"isLoading\">\n <mat-spinner></mat-spinner>\n</div>\n<div class=\"main page\">\n <ng-content select=[mainPage]></ng-content>\n</div>\n<div class=\"next page\" [@routeAnimations]=\"prepareRoute(outlet)\">\n <ng-content select=[nextPage]></ng-content>\n</div>", styles: [":host{--cell:8px;--cell-SCOPED-IN-line-overlay-cr4U:var(--cell);--width:100%;--width-SCOPED-IN-line-overlay-cr4U:var(--width);--height:100%;--height-SCOPED-IN-line-overlay-cr4U:var(--height);position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-cr4U);height:var(--height-SCOPED-IN-line-overlay-cr4U)}:host .loading{z-index:1000;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.4)}:host .loading,:host .main.page{position:absolute;top:0;left:0;width:var(--width-SCOPED-IN-line-overlay-cr4U);height:var(--height-SCOPED-IN-line-overlay-cr4U)}:host .main.page{z-index:1;overflow:hidden}:host .main.page *{--cell:var(--cell-SCOPED-IN-line-overlay-cr4U);--width:var(--width-SCOPED-IN-line-overlay-cr4U);--height:var(--height-SCOPED-IN-line-overlay-cr4U)}:host .next.page{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-cr4U);height:auto}:host .next.page *{--cell:var(--cell-SCOPED-IN-line-overlay-cr4U);--width:var(--width-SCOPED-IN-line-overlay-cr4U);--height:var(--height-SCOPED-IN-line-overlay-cr4U)}"], directives: [{ type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatSpinner, selector: "mat-spinner", inputs: ["color"] }], animations: [slideInAnimation] });
47
47
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(OverlayFrame, [{
48
48
  type: Component,
49
49
  args: [{
@@ -6,7 +6,7 @@ import { CommonModule } from '@angular/common';
6
6
  class ScrollFrame {
7
7
  }
8
8
  ScrollFrame.ɵfac = function ScrollFrame_Factory(t) { return new (t || ScrollFrame)(); };
9
- ScrollFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: ScrollFrame, selector: "frames-scroll", ngImport: i0, template: "<div class=\"navigator-container\" iosSafariScrollBuggyfill>\n <ng-content select=[navigator]></ng-content>\n</div>\n<div class=\"contents-container\">\n <ng-content select=[contents]></ng-content>\n</div>", styles: [":host{--height:100%;--height-SCOPED-IN-scroll-vUSI:var(--height);--navigator-height:56px;--navigator-height-SCOPED-IN-scroll-vUSI:var(--navigator-height);height:var(--height-SCOPED-IN-scroll-vUSI);overflow:hidden}:host .navigator-container{height:var(--navigator-height-SCOPED-IN-scroll-vUSI);overflow:hidden;touch-action:none}:host .contents-container{height:calc(var(--height-SCOPED-IN-scroll-vUSI) - var(--navigator-height-SCOPED-IN-scroll-vUSI));overflow:scroll;-webkit-overflow-scrolling:touch}"], directives: [{ type: IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]" }], changeDetection: ChangeDetectionStrategy.OnPush });
9
+ ScrollFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: ScrollFrame, selector: "frames-scroll", ngImport: i0, template: "<div class=\"navigator-container\" iosSafariScrollBuggyfill>\n <ng-content select=[navigator]></ng-content>\n</div>\n<div class=\"contents-container\">\n <ng-content select=[contents]></ng-content>\n</div>", styles: [":host{--height:100%;--height-SCOPED-IN-scroll-txch:var(--height);--navigator-height:56px;--navigator-height-SCOPED-IN-scroll-txch:var(--navigator-height);height:var(--height-SCOPED-IN-scroll-txch);overflow:hidden}:host .navigator-container{height:var(--navigator-height-SCOPED-IN-scroll-txch);overflow:hidden;touch-action:none}:host .contents-container{height:calc(var(--height-SCOPED-IN-scroll-txch) - var(--navigator-height-SCOPED-IN-scroll-txch));overflow:scroll;-webkit-overflow-scrolling:touch}"], directives: [{ type: IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]" }], changeDetection: ChangeDetectionStrategy.OnPush });
10
10
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ScrollFrame, [{
11
11
  type: Component,
12
12
  args: [{
@@ -0,0 +1,66 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, HostBinding, Input, ViewChild, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
3
+ import '@angular/router';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class SmartMenuFrame {
7
+ constructor() {
8
+ this.isMainHidden = false;
9
+ this.label = 'root';
10
+ this.minNextWidth = 360;
11
+ }
12
+ get page() {
13
+ var _a, _b;
14
+ const page = (_b = (_a = this.outlet) === null || _a === void 0 ? void 0 : _a.activatedRouteData) === null || _b === void 0 ? void 0 : _b.page;
15
+ return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;
16
+ }
17
+ }
18
+ SmartMenuFrame.ɵfac = function SmartMenuFrame_Factory(t) { return new (t || SmartMenuFrame)(); };
19
+ SmartMenuFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: SmartMenuFrame, selector: "frames-smart-menu", inputs: { label: "label", outlet: "outlet", minNextWidth: "minNextWidth" }, host: { properties: { "attr.is-main-hidden": "this.isMainHidden" } }, viewQueries: [{ propertyName: "next", first: true, predicate: ["next"], emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap:1px;--gap-SCOPED-IN-smart-menu-u9ZS:var(--gap);--background:#ccc;--background-SCOPED-IN-smart-menu-u9ZS:var(--background);--contents-background:transparent;--contents-background-SCOPED-IN-smart-menu-u9ZS:var(--contents-background);position:relative;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-u9ZS);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background:var(--background-SCOPED-IN-smart-menu-u9ZS)}:host,:host .contents{display:flex;height:100%}:host .contents{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;background:var(--contents-background-SCOPED-IN-smart-menu-u9ZS)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}"], changeDetection: ChangeDetectionStrategy.OnPush });
20
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartMenuFrame, [{
21
+ type: Component,
22
+ args: [{
23
+ selector: 'frames-smart-menu',
24
+ templateUrl: './smart-menu.frame.html',
25
+ styleUrls: ['./smart-menu.frame.scss'],
26
+ changeDetection: ChangeDetectionStrategy.OnPush,
27
+ }]
28
+ }], null, { isMainHidden: [{
29
+ type: HostBinding,
30
+ args: ['attr.is-main-hidden']
31
+ }], label: [{
32
+ type: Input
33
+ }], outlet: [{
34
+ type: Input
35
+ }], minNextWidth: [{
36
+ type: Input
37
+ }], next: [{
38
+ type: ViewChild,
39
+ args: ['next', { static: true }]
40
+ }] }); })();
41
+
42
+ class SmartMenuModule {
43
+ }
44
+ SmartMenuModule.ɵfac = function SmartMenuModule_Factory(t) { return new (t || SmartMenuModule)(); };
45
+ SmartMenuModule.ɵmod = ɵɵdefineNgModule({ type: SmartMenuModule });
46
+ SmartMenuModule.ɵinj = ɵɵdefineInjector({ imports: [[
47
+ CommonModule
48
+ ]] });
49
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(SmartMenuModule, { declarations: [SmartMenuFrame], imports: [CommonModule], exports: [SmartMenuFrame] }); })();
50
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartMenuModule, [{
51
+ type: NgModule,
52
+ args: [{
53
+ declarations: [SmartMenuFrame],
54
+ imports: [
55
+ CommonModule
56
+ ],
57
+ exports: [SmartMenuFrame]
58
+ }]
59
+ }], null, null); })();
60
+
61
+ /**
62
+ * Generated bundle index. Do not edit.
63
+ */
64
+
65
+ export { SmartMenuFrame, SmartMenuModule };
66
+ //# sourceMappingURL=ng-atomic-components-frames-smart-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-frames-smart-menu.js","sources":["../../../../libs/components/frames/smart-menu/smart-menu.frame.ts","../../../../libs/components/frames/smart-menu/smart-menu.frame.html","../../../../libs/components/frames/smart-menu/smart-menu.module.ts","../../../../libs/components/frames/smart-menu/ng-atomic-components-frames-smart-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'frames-smart-menu',\n templateUrl: './smart-menu.frame.html',\n styleUrls: ['./smart-menu.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartMenuFrame {\n @HostBinding('attr.is-main-hidden')\n isMainHidden = false;\n\n @Input()\n label = 'root';\n\n @Input()\n outlet?: RouterOutlet;\n\n @Input()\n minNextWidth: number = 360;\n\n @ViewChild('next', {static: true})\n next!: ElementRef;\n\n get page(): string {\n const page: string = this.outlet?.activatedRouteData?.page;\n return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;\n }\n\n}\n","<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartMenuFrame } from './smart-menu.frame';\n\n\n\n@NgModule({\n declarations: [SmartMenuFrame],\n imports: [\n CommonModule\n ],\n exports: [SmartMenuFrame]\n})\nexport class SmartMenuModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,cAAc;IAN3B;QAQE,iBAAY,GAAG,KAAK,CAAC;QAGrB,UAAK,GAAG,MAAM,CAAC;QAMf,iBAAY,GAAW,GAAG,CAAC;KAU5B;IALC,IAAI,IAAI;;QACN,MAAM,IAAI,eAAW,IAAI,CAAC,MAAM,0CAAE,kBAAkB,0CAAE,IAAI,CAAC;QAC3D,OAAO,IAAI,KAAK,OAAO,GAAG,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,kBAAkB,CAAC;KACrF;;4EAnBU,cAAc;uEAAd,cAAc,uVCT3B,kLAKM;oFDIO,cAAc;cAN1B,SAAS;eAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,WAAW,EAAE,yBAAyB;gBACtC,SAAS,EAAE,CAAC,yBAAyB,CAAC;gBACtC,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAGC,YAAY;kBADX,WAAW;mBAAC,qBAAqB;YAIlC,KAAK;kBADJ,KAAK;YAIN,MAAM;kBADL,KAAK;YAIN,YAAY;kBADX,KAAK;YAIN,IAAI;kBADH,SAAS;mBAAC,MAAM,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;;;METtB,eAAe;;8EAAf,eAAe;gDAAf,eAAe;oDALjB;YACP,YAAY;SACb;qFAGU,eAAe,mBANX,cAAc,aAE3B,YAAY,aAEJ,cAAc;oFAEb,eAAe;cAP3B,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,cAAc,CAAC;gBAC9B,OAAO,EAAE;oBACP,YAAY;iBACb;gBACD,OAAO,EAAE,CAAC,cAAc,CAAC;aAC1B;;;ACZD;;;;;;"}
@@ -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-rYSV: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-JO90: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 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-5sWb: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: [{
@@ -24,7 +24,7 @@ SelectInputFieldMolecule.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", ty
24
24
  templateUrl: './select-input-field.molecule.html',
25
25
  styleUrls: ['./select-input-field.molecule.scss'],
26
26
  changeDetection: ChangeDetectionStrategy.OnPush,
27
- host: { class: 'molecule input-field' },
27
+ host: { class: 'molecule input-field field' },
28
28
  }]
29
29
  }], null, { label: [{
30
30
  type: Input
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-molecules-select-input-field.js","sources":["../../../../libs/components/molecules/select-input-field/select-input-field.molecule.ts","../../../../libs/components/molecules/select-input-field/select-input-field.molecule.html","../../../../libs/components/molecules/select-input-field/select-input-field.module.ts","../../../../libs/components/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\ninterface Option<T> {\n name: string;\n value: T;\n}\n\n@Component({\n selector: 'molecules-select-input-field',\n templateUrl: './select-input-field.molecule.html',\n styleUrls: ['./select-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule input-field'},\n})\nexport class SelectInputFieldMolecule<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n control = new FormControl<T>();\n\n @Input()\n options: Option<T>[] = [];\n\n value = (item: Option<T>) => item?.value; \n\n}\n","<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>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatSelectModule } from '@angular/material/select';\n\nimport { SelectInputFieldMolecule } from './select-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [\n SelectInputFieldMolecule\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatSelectModule,\n ],\n exports: [\n SelectInputFieldMolecule\n ]\n})\nexport class SelectInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAea,wBAAwB;IAPrC;QAUE,UAAK,GAAW,EAAE,CAAC;QAGnB,YAAO,GAAG,IAAI,WAAW,EAAK,CAAC;QAG/B,YAAO,GAAgB,EAAE,CAAC;QAE1B,UAAK,GAAG,CAAC,IAAe,KAAK,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC;KAE1C;;gGAbY,wBAAwB;iFAAxB,wBAAwB,0LCfrC,qSAOiB;oFDQJ,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,sBAAsB,EAAC;aACtC;gBAIC,KAAK;kBADJ,KAAK;YAIN,OAAO;kBADN,KAAK;YAIN,OAAO;kBADN,KAAK;;;MEAK,sBAAsB;;4FAAtB,sBAAsB;uDAAtB,sBAAsB;2DAVxB;YACP,YAAY;YACZ,mBAAmB;;YAEnB,eAAe;SAChB;qFAKU,sBAAsB,mBAZ/B,wBAAwB,aAGxB,YAAY;QACZ,mBAAmB;;QAEnB,eAAe,aAGf,wBAAwB;oFAGf,sBAAsB;cAdlC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;;oBAEnB,eAAe;iBAChB;gBACD,OAAO,EAAE;oBACP,wBAAwB;iBACzB;aACF;;;ACtBD;;;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-molecules-select-input-field.js","sources":["../../../../libs/components/molecules/select-input-field/select-input-field.molecule.ts","../../../../libs/components/molecules/select-input-field/select-input-field.molecule.html","../../../../libs/components/molecules/select-input-field/select-input-field.module.ts","../../../../libs/components/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport interface Option<T> {\n name: string;\n value: T;\n}\n\n@Component({\n selector: 'molecules-select-input-field',\n templateUrl: './select-input-field.molecule.html',\n styleUrls: ['./select-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule input-field field'},\n})\nexport class SelectInputFieldMolecule<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n control = new FormControl<T>();\n\n @Input()\n options: Option<T>[] = [];\n\n value = (item: Option<T>) => item?.value; \n\n}\n","<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>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatSelectModule } from '@angular/material/select';\n\nimport { SelectInputFieldMolecule } from './select-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [\n SelectInputFieldMolecule\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatSelectModule,\n ],\n exports: [\n SelectInputFieldMolecule\n ]\n})\nexport class SelectInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAea,wBAAwB;IAPrC;QAUE,UAAK,GAAW,EAAE,CAAC;QAGnB,YAAO,GAAG,IAAI,WAAW,EAAK,CAAC;QAG/B,YAAO,GAAgB,EAAE,CAAC;QAE1B,UAAK,GAAG,CAAC,IAAe,KAAK,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC;KAE1C;;gGAbY,wBAAwB;iFAAxB,wBAAwB,gMCfrC,qSAOiB;oFDQJ,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,4BAA4B,EAAC;aAC5C;gBAIC,KAAK;kBADJ,KAAK;YAIN,OAAO;kBADN,KAAK;YAIN,OAAO;kBADN,KAAK;;;MEAK,sBAAsB;;4FAAtB,sBAAsB;uDAAtB,sBAAsB;2DAVxB;YACP,YAAY;YACZ,mBAAmB;;YAEnB,eAAe;SAChB;qFAKU,sBAAsB,mBAZ/B,wBAAwB,aAGxB,YAAY;QACZ,mBAAmB;;QAEnB,eAAe,aAGf,wBAAwB;oFAGf,sBAAsB;cAdlC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;;oBAEnB,eAAe;iBAChB;gBACD,OAAO,EAAE;oBACP,wBAAwB;iBACzB;aACF;;;ACtBD;;;;;;"}
@@ -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;;;;;;"}