@ng-atomic/components 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) 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-card.umd.js +1 -1
  13. package/bundles/ng-atomic-components-frames-card.umd.min.js +1 -1
  14. package/bundles/ng-atomic-components-frames-card.umd.min.js.map +1 -1
  15. package/bundles/ng-atomic-components-frames-drawer.umd.js +104 -0
  16. package/bundles/ng-atomic-components-frames-drawer.umd.js.map +1 -0
  17. package/bundles/ng-atomic-components-frames-drawer.umd.min.js +2 -0
  18. package/bundles/ng-atomic-components-frames-drawer.umd.min.js.map +1 -0
  19. package/bundles/ng-atomic-components-frames-line-up-v2.umd.js +570 -0
  20. package/bundles/ng-atomic-components-frames-line-up-v2.umd.js.map +1 -0
  21. package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js +2 -0
  22. package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js.map +1 -0
  23. package/bundles/ng-atomic-components-frames-line-up.umd.js +1 -1
  24. package/bundles/ng-atomic-components-frames-line-up.umd.min.js +1 -1
  25. package/bundles/ng-atomic-components-frames-overlay-v2.umd.js +120 -0
  26. package/bundles/ng-atomic-components-frames-overlay-v2.umd.js.map +1 -0
  27. package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js +2 -0
  28. package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js.map +1 -0
  29. package/bundles/ng-atomic-components-frames-overlay.umd.js +1 -1
  30. package/bundles/ng-atomic-components-frames-overlay.umd.min.js +1 -1
  31. package/bundles/ng-atomic-components-frames-scroll.umd.js +1 -1
  32. package/bundles/ng-atomic-components-frames-scroll.umd.min.js +1 -1
  33. package/bundles/ng-atomic-components-frames-smart-menu.umd.js +106 -0
  34. package/bundles/ng-atomic-components-frames-smart-menu.umd.js.map +1 -0
  35. package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js +2 -0
  36. package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js.map +1 -0
  37. package/bundles/ng-atomic-components-molecules-actions-column.umd.js +26 -17
  38. package/bundles/ng-atomic-components-molecules-actions-column.umd.js.map +1 -1
  39. package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js +1 -1
  40. package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js.map +1 -1
  41. package/bundles/ng-atomic-components-molecules-date-input-field.umd.js +116 -0
  42. package/bundles/ng-atomic-components-molecules-date-input-field.umd.js.map +1 -0
  43. package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js +2 -0
  44. package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js.map +1 -0
  45. package/bundles/ng-atomic-components-molecules-select-input-field.umd.js +1 -1
  46. package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +1 -1
  47. package/bundles/ng-atomic-components-molecules-smart-column.umd.js +21 -12
  48. package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -1
  49. package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js +2 -2
  50. package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js.map +1 -1
  51. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +2 -1
  52. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -1
  53. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js +1 -1
  54. package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js.map +1 -1
  55. package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +12 -7
  56. package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -1
  57. package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js +1 -1
  58. package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js.map +1 -1
  59. package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +12 -341
  60. package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -1
  61. package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js +1 -15
  62. package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js.map +1 -1
  63. package/bundles/ng-atomic-components-organisms-heading.umd.js +9 -6
  64. package/bundles/ng-atomic-components-organisms-heading.umd.js.map +1 -1
  65. package/bundles/ng-atomic-components-organisms-heading.umd.min.js +1 -1
  66. package/bundles/ng-atomic-components-organisms-heading.umd.min.js.map +1 -1
  67. package/bundles/ng-atomic-components-organisms-input-field-section.umd.js +7 -1
  68. package/bundles/ng-atomic-components-organisms-input-field-section.umd.js.map +1 -1
  69. package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js +1 -1
  70. package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js.map +1 -1
  71. package/bundles/ng-atomic-components-organisms-menu.umd.js +1 -1
  72. package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -1
  73. package/bundles/ng-atomic-components-organisms-menu.umd.min.js +1 -1
  74. package/bundles/ng-atomic-components-organisms-menu.umd.min.js.map +1 -1
  75. package/bundles/ng-atomic-components-organisms-select-input-section.umd.js +1 -1
  76. package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js +1 -1
  77. package/bundles/ng-atomic-components-organisms-smart-table.umd.js +8 -1
  78. package/bundles/ng-atomic-components-organisms-smart-table.umd.js.map +1 -1
  79. package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js +1 -1
  80. package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js.map +1 -1
  81. package/bundles/ng-atomic-components-organisms-social-login-section.umd.js +1 -1
  82. package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js +1 -1
  83. package/bundles/ng-atomic-components-organisms-top-navigator.umd.js +21 -21
  84. package/bundles/ng-atomic-components-organisms-top-navigator.umd.js.map +1 -1
  85. package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js +1 -1
  86. package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js.map +1 -1
  87. package/bundles/ng-atomic-components-pages-blank.umd.js +12 -0
  88. package/bundles/ng-atomic-components-pages-blank.umd.js.map +1 -1
  89. package/bundles/ng-atomic-components-pages-blank.umd.min.js +1 -1
  90. package/bundles/ng-atomic-components-pages-blank.umd.min.js.map +1 -1
  91. package/bundles/ng-atomic-components-templates-entrance.umd.js +19 -6
  92. package/bundles/ng-atomic-components-templates-entrance.umd.js.map +1 -1
  93. package/bundles/ng-atomic-components-templates-entrance.umd.min.js +1 -1
  94. package/bundles/ng-atomic-components-templates-entrance.umd.min.js.map +1 -1
  95. package/bundles/ng-atomic-components-templates-menu.umd.js +96 -0
  96. package/bundles/ng-atomic-components-templates-menu.umd.js.map +1 -0
  97. package/bundles/ng-atomic-components-templates-menu.umd.min.js +2 -0
  98. package/bundles/ng-atomic-components-templates-menu.umd.min.js.map +1 -0
  99. package/bundles/ng-atomic-components-templates-smart-crud.umd.js +1 -1
  100. package/bundles/ng-atomic-components-templates-smart-crud.umd.js.map +1 -1
  101. package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js +1 -1
  102. package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js.map +1 -1
  103. package/bundles/ng-atomic-components-templates-smart-index.umd.js +25 -8
  104. package/bundles/ng-atomic-components-templates-smart-index.umd.js.map +1 -1
  105. package/bundles/ng-atomic-components-templates-smart-index.umd.min.js +1 -1
  106. package/bundles/ng-atomic-components-templates-smart-index.umd.min.js.map +1 -1
  107. package/esm2015/atoms/smart-menu-button/index.js +3 -0
  108. package/esm2015/atoms/smart-menu-button/index.js.map +1 -0
  109. package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js +5 -0
  110. package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
  111. package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js +28 -0
  112. package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js.map +1 -0
  113. package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js +38 -0
  114. package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js.map +1 -0
  115. package/esm2015/frames/auto-layout/auto-layout.frame.js +1 -1
  116. package/esm2015/frames/card/card.frame.js +1 -1
  117. package/esm2015/frames/drawer/drawer.frame.js +31 -0
  118. package/esm2015/frames/drawer/drawer.frame.js.map +1 -0
  119. package/esm2015/frames/drawer/drawer.module.js +27 -0
  120. package/esm2015/frames/drawer/drawer.module.js.map +1 -0
  121. package/esm2015/frames/drawer/index.js +3 -0
  122. package/esm2015/frames/drawer/index.js.map +1 -0
  123. package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js +5 -0
  124. package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js.map +1 -0
  125. package/esm2015/frames/line-up/line-up.frame.js +1 -1
  126. package/esm2015/frames/line-up-v2/index.js +3 -0
  127. package/esm2015/frames/line-up-v2/index.js.map +1 -0
  128. package/esm2015/frames/line-up-v2/line-up.animations.js +64 -0
  129. package/esm2015/frames/line-up-v2/line-up.animations.js.map +1 -0
  130. package/esm2015/frames/line-up-v2/line-up.frame.js +97 -0
  131. package/esm2015/frames/line-up-v2/line-up.frame.js.map +1 -0
  132. package/esm2015/frames/line-up-v2/line-up.module.js +27 -0
  133. package/esm2015/frames/line-up-v2/line-up.module.js.map +1 -0
  134. package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js +5 -0
  135. package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js.map +1 -0
  136. package/esm2015/frames/line-up-v2/resize-observer.js +13 -0
  137. package/esm2015/frames/line-up-v2/resize-observer.js.map +1 -0
  138. package/esm2015/frames/overlay/overlay.frame.js +1 -1
  139. package/esm2015/frames/overlay-v2/index.js +3 -0
  140. package/esm2015/frames/overlay-v2/index.js.map +1 -0
  141. package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js +5 -0
  142. package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js.map +1 -0
  143. package/esm2015/frames/overlay-v2/overlay.animations.js +28 -0
  144. package/esm2015/frames/overlay-v2/overlay.animations.js.map +1 -0
  145. package/esm2015/frames/overlay-v2/overlay.frame.js +23 -0
  146. package/esm2015/frames/overlay-v2/overlay.frame.js.map +1 -0
  147. package/esm2015/frames/overlay-v2/overlay.module.js +29 -0
  148. package/esm2015/frames/overlay-v2/overlay.module.js.map +1 -0
  149. package/esm2015/frames/scroll/scroll.frame.js +1 -1
  150. package/esm2015/frames/smart-menu/index.js +3 -0
  151. package/esm2015/frames/smart-menu/index.js.map +1 -0
  152. package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js +5 -0
  153. package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js.map +1 -0
  154. package/esm2015/frames/smart-menu/smart-menu.frame.js +39 -0
  155. package/esm2015/frames/smart-menu/smart-menu.frame.js.map +1 -0
  156. package/esm2015/frames/smart-menu/smart-menu.module.js +23 -0
  157. package/esm2015/frames/smart-menu/smart-menu.module.js.map +1 -0
  158. package/esm2015/molecules/actions-column/actions-column.module.js +8 -1
  159. package/esm2015/molecules/actions-column/actions-column.module.js.map +1 -1
  160. package/esm2015/molecules/actions-column/actions-column.molecule.js +5 -5
  161. package/esm2015/molecules/actions-column/actions-column.molecule.js.map +1 -1
  162. package/esm2015/molecules/date-input-field/date-input-field.module.js +39 -0
  163. package/esm2015/molecules/date-input-field/date-input-field.module.js.map +1 -0
  164. package/esm2015/molecules/date-input-field/date-input-field.molecule.js +44 -0
  165. package/esm2015/molecules/date-input-field/date-input-field.molecule.js.map +1 -0
  166. package/esm2015/molecules/date-input-field/index.js +3 -0
  167. package/esm2015/molecules/date-input-field/index.js.map +1 -0
  168. package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js +5 -0
  169. package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js.map +1 -0
  170. package/esm2015/molecules/select-input-field/select-input-field.molecule.js +1 -1
  171. package/esm2015/molecules/smart-column/smart-column.module.js +4 -0
  172. package/esm2015/molecules/smart-column/smart-column.module.js.map +1 -1
  173. package/esm2015/molecules/smart-column/smart-column.molecule.js +12 -4
  174. package/esm2015/molecules/smart-column/smart-column.molecule.js.map +1 -1
  175. package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js +2 -1
  176. package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js.map +1 -1
  177. package/esm2015/organisms/back-navigator/back-navigator.module.js +7 -4
  178. package/esm2015/organisms/back-navigator/back-navigator.module.js.map +1 -1
  179. package/esm2015/organisms/back-navigator/back-navigator.organism.js +4 -2
  180. package/esm2015/organisms/back-navigator/back-navigator.organism.js.map +1 -1
  181. package/esm2015/organisms/date-input-section/date-input-section.module.js +5 -18
  182. package/esm2015/organisms/date-input-section/date-input-section.module.js.map +1 -1
  183. package/esm2015/organisms/date-input-section/date-input-section.organism.js +6 -10
  184. package/esm2015/organisms/date-input-section/date-input-section.organism.js.map +1 -1
  185. package/esm2015/organisms/heading/heading.organism.js +9 -3
  186. package/esm2015/organisms/heading/heading.organism.js.map +1 -1
  187. package/esm2015/organisms/input-field-section/input-field-section.organism.js +7 -1
  188. package/esm2015/organisms/input-field-section/input-field-section.organism.js.map +1 -1
  189. package/esm2015/organisms/menu/menu.organism.js +1 -1
  190. package/esm2015/organisms/menu/menu.organism.js.map +1 -1
  191. package/esm2015/organisms/select-input-section/select-input-section.organism.js +1 -1
  192. package/esm2015/organisms/smart-table/smart-table.organism.js +8 -1
  193. package/esm2015/organisms/smart-table/smart-table.organism.js.map +1 -1
  194. package/esm2015/organisms/social-login-section/social-login-section.organism.js +1 -1
  195. package/esm2015/organisms/top-navigator/top-navigator.module.js +9 -10
  196. package/esm2015/organisms/top-navigator/top-navigator.module.js.map +1 -1
  197. package/esm2015/organisms/top-navigator/top-navigator.organism.js +6 -9
  198. package/esm2015/organisms/top-navigator/top-navigator.organism.js.map +1 -1
  199. package/esm2015/pages/blank/blank.route.js +6 -0
  200. package/esm2015/pages/blank/blank.route.js.map +1 -0
  201. package/esm2015/pages/blank/index.js +1 -0
  202. package/esm2015/pages/blank/index.js.map +1 -1
  203. package/esm2015/templates/entrance/entrance.template.js +16 -2
  204. package/esm2015/templates/entrance/entrance.template.js.map +1 -1
  205. package/esm2015/templates/menu/index.js +3 -0
  206. package/esm2015/templates/menu/index.js.map +1 -0
  207. package/esm2015/templates/menu/menu.module.js +30 -0
  208. package/esm2015/templates/menu/menu.module.js.map +1 -0
  209. package/esm2015/templates/menu/menu.template.js +25 -0
  210. package/esm2015/templates/menu/menu.template.js.map +1 -0
  211. package/esm2015/templates/menu/ng-atomic-components-templates-menu.js +5 -0
  212. package/esm2015/templates/menu/ng-atomic-components-templates-menu.js.map +1 -0
  213. package/esm2015/templates/smart-crud/smart-crud.template.js +1 -1
  214. package/esm2015/templates/smart-crud/smart-crud.template.js.map +1 -1
  215. package/esm2015/templates/smart-index/smart-index.template.js +20 -2
  216. package/esm2015/templates/smart-index/smart-index.template.js.map +1 -1
  217. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js +66 -0
  218. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
  219. package/fesm2015/ng-atomic-components-frames-auto-layout.js +1 -1
  220. package/fesm2015/ng-atomic-components-frames-card.js +1 -1
  221. package/fesm2015/ng-atomic-components-frames-drawer.js +60 -0
  222. package/fesm2015/ng-atomic-components-frames-drawer.js.map +1 -0
  223. package/fesm2015/ng-atomic-components-frames-line-up-v2.js +200 -0
  224. package/fesm2015/ng-atomic-components-frames-line-up-v2.js.map +1 -0
  225. package/fesm2015/ng-atomic-components-frames-line-up.js +1 -1
  226. package/fesm2015/ng-atomic-components-frames-overlay-v2.js +83 -0
  227. package/fesm2015/ng-atomic-components-frames-overlay-v2.js.map +1 -0
  228. package/fesm2015/ng-atomic-components-frames-overlay.js +1 -1
  229. package/fesm2015/ng-atomic-components-frames-scroll.js +1 -1
  230. package/fesm2015/ng-atomic-components-frames-smart-menu.js +66 -0
  231. package/fesm2015/ng-atomic-components-frames-smart-menu.js.map +1 -0
  232. package/fesm2015/ng-atomic-components-molecules-actions-column.js +16 -6
  233. package/fesm2015/ng-atomic-components-molecules-actions-column.js.map +1 -1
  234. package/fesm2015/ng-atomic-components-molecules-date-input-field.js +83 -0
  235. package/fesm2015/ng-atomic-components-molecules-date-input-field.js.map +1 -0
  236. package/fesm2015/ng-atomic-components-molecules-select-input-field.js +1 -1
  237. package/fesm2015/ng-atomic-components-molecules-smart-column.js +14 -4
  238. package/fesm2015/ng-atomic-components-molecules-smart-column.js.map +1 -1
  239. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js +2 -1
  240. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js.map +1 -1
  241. package/fesm2015/ng-atomic-components-organisms-back-navigator.js +11 -6
  242. package/fesm2015/ng-atomic-components-organisms-back-navigator.js.map +1 -1
  243. package/fesm2015/ng-atomic-components-organisms-date-input-section.js +10 -25
  244. package/fesm2015/ng-atomic-components-organisms-date-input-section.js.map +1 -1
  245. package/fesm2015/ng-atomic-components-organisms-heading.js +9 -4
  246. package/fesm2015/ng-atomic-components-organisms-heading.js.map +1 -1
  247. package/fesm2015/ng-atomic-components-organisms-input-field-section.js +7 -1
  248. package/fesm2015/ng-atomic-components-organisms-input-field-section.js.map +1 -1
  249. package/fesm2015/ng-atomic-components-organisms-menu.js +2 -2
  250. package/fesm2015/ng-atomic-components-organisms-menu.js.map +1 -1
  251. package/fesm2015/ng-atomic-components-organisms-select-input-section.js +1 -1
  252. package/fesm2015/ng-atomic-components-organisms-smart-table.js +8 -1
  253. package/fesm2015/ng-atomic-components-organisms-smart-table.js.map +1 -1
  254. package/fesm2015/ng-atomic-components-organisms-social-login-section.js +1 -1
  255. package/fesm2015/ng-atomic-components-organisms-top-navigator.js +15 -16
  256. package/fesm2015/ng-atomic-components-organisms-top-navigator.js.map +1 -1
  257. package/fesm2015/ng-atomic-components-pages-blank.js +12 -1
  258. package/fesm2015/ng-atomic-components-pages-blank.js.map +1 -1
  259. package/fesm2015/ng-atomic-components-templates-entrance.js +16 -2
  260. package/fesm2015/ng-atomic-components-templates-entrance.js.map +1 -1
  261. package/fesm2015/ng-atomic-components-templates-menu.js +58 -0
  262. package/fesm2015/ng-atomic-components-templates-menu.js.map +1 -0
  263. package/fesm2015/ng-atomic-components-templates-smart-crud.js +1 -1
  264. package/fesm2015/ng-atomic-components-templates-smart-crud.js.map +1 -1
  265. package/fesm2015/ng-atomic-components-templates-smart-index.js +19 -2
  266. package/fesm2015/ng-atomic-components-templates-smart-index.js.map +1 -1
  267. package/frames/drawer/drawer.frame.d.ts +10 -0
  268. package/frames/drawer/drawer.module.d.ts +9 -0
  269. package/frames/drawer/index.d.ts +2 -0
  270. package/frames/drawer/ng-atomic-components-frames-drawer.d.ts +5 -0
  271. package/frames/drawer/package.json +10 -0
  272. package/frames/line-up-v2/index.d.ts +2 -0
  273. package/frames/line-up-v2/line-up.animations.d.ts +1 -0
  274. package/frames/line-up-v2/line-up.frame.d.ts +35 -0
  275. package/frames/line-up-v2/line-up.module.d.ts +9 -0
  276. package/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.d.ts +5 -0
  277. package/frames/line-up-v2/package.json +10 -0
  278. package/frames/line-up-v2/resize-observer.d.ts +3 -0
  279. package/frames/overlay-v2/index.d.ts +2 -0
  280. package/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.d.ts +5 -0
  281. package/frames/overlay-v2/overlay.animations.d.ts +1 -0
  282. package/frames/overlay-v2/overlay.frame.d.ts +6 -0
  283. package/frames/overlay-v2/overlay.module.d.ts +9 -0
  284. package/frames/overlay-v2/package.json +10 -0
  285. package/frames/smart-menu/index.d.ts +2 -0
  286. package/frames/smart-menu/ng-atomic-components-frames-smart-menu.d.ts +5 -0
  287. package/frames/smart-menu/package.json +10 -0
  288. package/frames/smart-menu/smart-menu.frame.d.ts +13 -0
  289. package/frames/smart-menu/smart-menu.module.d.ts +8 -0
  290. package/molecules/actions-column/actions-column.module.d.ts +2 -1
  291. package/molecules/actions-column/actions-column.molecule.d.ts +1 -0
  292. package/molecules/date-input-field/date-input-field.module.d.ts +12 -0
  293. package/molecules/date-input-field/date-input-field.molecule.d.ts +13 -0
  294. package/molecules/date-input-field/index.d.ts +2 -0
  295. package/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.d.ts +5 -0
  296. package/molecules/date-input-field/package.json +10 -0
  297. package/molecules/smart-column/smart-column.module.d.ts +3 -2
  298. package/molecules/smart-column/smart-column.molecule.d.ts +4 -1
  299. package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -0
  300. package/organisms/back-navigator/back-navigator.module.d.ts +2 -2
  301. package/organisms/back-navigator/back-navigator.organism.d.ts +2 -1
  302. package/organisms/date-input-section/date-input-section.module.d.ts +2 -5
  303. package/organisms/date-input-section/date-input-section.organism.d.ts +0 -1
  304. package/organisms/heading/heading.organism.d.ts +2 -1
  305. package/organisms/input-field-section/input-field-section.organism.d.ts +3 -1
  306. package/organisms/smart-table/smart-table.organism.d.ts +4 -1
  307. package/organisms/top-navigator/top-navigator.module.d.ts +4 -5
  308. package/organisms/top-navigator/top-navigator.organism.d.ts +4 -4
  309. package/package.json +3 -9
  310. package/pages/blank/blank.route.d.ts +2 -0
  311. package/pages/blank/index.d.ts +1 -0
  312. package/templates/entrance/entrance.template.d.ts +8 -1
  313. package/templates/menu/index.d.ts +2 -0
  314. package/templates/menu/menu.module.d.ts +9 -0
  315. package/templates/menu/menu.template.d.ts +9 -0
  316. package/templates/menu/ng-atomic-components-templates-menu.d.ts +5 -0
  317. package/templates/menu/package.json +10 -0
  318. package/templates/smart-index/smart-index.template.d.ts +7 -2
@@ -0,0 +1,97 @@
1
+ import { ChangeDetectionStrategy, Component, ElementRef, Injectable, Input, ViewChild } from '@angular/core';
2
+ import { BehaviorSubject, combineLatest, ReplaySubject } from 'rxjs';
3
+ import { takeUntil } from 'rxjs/operators';
4
+ import { LINE_UP_ANIMATIONS } from './line-up.animations';
5
+ import { fromResize } from './resize-observer';
6
+ import * as i0 from "@angular/core";
7
+ var Mode;
8
+ (function (Mode) {
9
+ Mode["MAIN"] = "Main";
10
+ Mode["BOTH"] = "Both";
11
+ Mode["NEXT"] = "Next";
12
+ })(Mode || (Mode = {}));
13
+ export class LineUpFrameService {
14
+ constructor() {
15
+ this.frames = [];
16
+ }
17
+ register(frame) {
18
+ this.frames.push(frame);
19
+ console.debug('this.frames:', this.frames);
20
+ }
21
+ unregister(frame) {
22
+ this.frames = this.frames.slice(0, this.findIndex(frame));
23
+ }
24
+ findIndex(frame) {
25
+ return this.frames.findIndex((value) => value === frame);
26
+ }
27
+ propagate(frame) {
28
+ var _a;
29
+ const target = (_a = this.frames) === null || _a === void 0 ? void 0 : _a[this.findIndex(frame) - 1];
30
+ target === null || target === void 0 ? void 0 : target.refresh();
31
+ }
32
+ }
33
+ LineUpFrameService.ɵfac = function LineUpFrameService_Factory(t) { return new (t || LineUpFrameService)(); };
34
+ LineUpFrameService.ɵprov = i0.ɵɵdefineInjectable({ token: LineUpFrameService, factory: LineUpFrameService.ɵfac, providedIn: 'root' });
35
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LineUpFrameService, [{
36
+ type: Injectable,
37
+ args: [{ providedIn: 'root' }]
38
+ }], null, null); })();
39
+ export class LineUpFrame {
40
+ constructor(service) {
41
+ this.service = service;
42
+ this.Mode = Mode;
43
+ this.mode = Mode.MAIN;
44
+ this.refresh$ = new ReplaySubject(1);
45
+ this.destroy$ = new ReplaySubject(1);
46
+ this.hasNext$ = new BehaviorSubject(false);
47
+ this.minNextWidth = 360;
48
+ }
49
+ set hasNext(value) {
50
+ this.hasNext$.next(value);
51
+ }
52
+ ;
53
+ ngOnInit() {
54
+ this.service.register(this);
55
+ this.refresh();
56
+ combineLatest([
57
+ this.hasNext$,
58
+ fromResize(this.nextElementRef),
59
+ this.refresh$,
60
+ ]).pipe(takeUntil(this.destroy$)).subscribe(([hasNext, width]) => {
61
+ this.mode = this.resolveMode(hasNext, width);
62
+ setTimeout(() => this.service.propagate(this), 0);
63
+ });
64
+ }
65
+ ngOnDestroy() {
66
+ this.service.unregister(this);
67
+ this.destroy$.next();
68
+ }
69
+ refresh() {
70
+ this.refresh$.next();
71
+ }
72
+ resolveMode(hasNext, width) {
73
+ if (hasNext && width <= this.minNextWidth)
74
+ return Mode.BOTH;
75
+ return hasNext ? Mode.NEXT : Mode.MAIN;
76
+ }
77
+ }
78
+ LineUpFrame.ɵfac = function LineUpFrame_Factory(t) { return new (t || LineUpFrame)(i0.ɵɵdirectiveInject(LineUpFrameService)); };
79
+ LineUpFrame.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: LineUpFrame, selector: "frames-line-up", inputs: { hasNext: "hasNext", minNextWidth: "minNextWidth" }, viewQueries: [{ propertyName: "nextElementRef", first: true, predicate: ["next"], emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<div class=\"main\" [@modeChangeForMain]=\"mode\" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next\" [@modeChangeForNext]=\"mode\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>", styles: [":host{--gap:1px;--gap-SCOPED-IN-line-up-3VAY:var(--gap);--background:#ccc;--background-SCOPED-IN-line-up-3VAY:var(--background);--contents-background:transparent;--contents-background-SCOPED-IN-line-up-3VAY:var(--contents-background);position:relative;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-3VAY);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background:var(--background-SCOPED-IN-line-up-3VAY)}:host,:host div{display:flex;height:100%}:host div{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;background:var(--contents-background-SCOPED-IN-line-up-3VAY)}:host div.main{overflow:hidden;justify-content:flex-end}:host div.next{overflow:visible;justify-content:flex-start}"], animations: LINE_UP_ANIMATIONS, changeDetection: i0.ChangeDetectionStrategy.Default });
80
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LineUpFrame, [{
81
+ type: Component,
82
+ args: [{
83
+ selector: 'frames-line-up',
84
+ templateUrl: './line-up.frame.html',
85
+ styleUrls: ['./line-up.frame.scss'],
86
+ changeDetection: ChangeDetectionStrategy.Default,
87
+ animations: LINE_UP_ANIMATIONS,
88
+ }]
89
+ }], function () { return [{ type: LineUpFrameService }]; }, { hasNext: [{
90
+ type: Input
91
+ }], minNextWidth: [{
92
+ type: Input
93
+ }], nextElementRef: [{
94
+ type: ViewChild,
95
+ args: ['next', { static: true }]
96
+ }] }); })();
97
+ //# sourceMappingURL=line-up.frame.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-up.frame.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/line-up-v2/line-up.frame.ts","../../../../../../libs/components/frames/line-up-v2/line-up.frame.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAqB,SAAS,EAAE,MAAM,eAAe,CAAC;AAChI,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;;AAE/C,IAAK,IAIJ;AAJD,WAAK,IAAI;IACP,qBAAa,CAAA;IACb,qBAAa,CAAA;IACb,qBAAa,CAAA;AACf,CAAC,EAJI,IAAI,KAAJ,IAAI,QAIR;AAGD,MAAM,OAAO,kBAAkB;IAD/B;QAEE,WAAM,GAAkB,EAAE,CAAC;KAmB5B;IAjBC,QAAQ,CAAC,KAAkB;QACzB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IAED,UAAU,CAAC,KAAkB;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,SAAS,CAAC,KAAkB;QAC1B,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC;IAC3D,CAAC;IAED,SAAS,CAAC,KAAkB;;QAC1B,MAAM,MAAM,SAAG,IAAI,CAAC,MAAM,0CAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QACxD,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,OAAO,GAAG;IACpB,CAAC;;oFAnBU,kBAAkB;0DAAlB,kBAAkB,WAAlB,kBAAkB,mBADN,MAAM;uFAClB,kBAAkB;cAD9B,UAAU;eAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;AA8BhC,MAAM,OAAO,WAAW;IAmBtB,YAAoB,OAA2B;QAA3B,YAAO,GAAP,OAAO,CAAoB;QAlB/C,SAAI,GAAG,IAAI,CAAC;QACZ,SAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QAEA,aAAQ,GAAG,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;QAChC,aAAQ,GAAG,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;QAChC,aAAQ,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;QAQvD,iBAAY,GAAW,GAAG,CAAC;IAKwB,CAAC;IAXpD,IACI,OAAO,CAAC,KAAc;QACxB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAAA,CAAC;IAUF,QAAQ;QACN,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC5B,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,aAAa,CAAC;YACZ,IAAI,CAAC,QAAQ;YACb,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC;YAC/B,IAAI,CAAC,QAAQ;SACd,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,EAAE;YAC/D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;YAC7C,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;QACpD,CAAC,CAAC,CAAC;IACL,CAAC;IAED,WAAW;QACT,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QAC9B,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAED,OAAO;QACL,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAEO,WAAW,CAAC,OAAgB,EAAE,KAAa;QACjD,IAAI,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,YAAY;YAAE,OAAO,IAAI,CAAC,IAAI,CAAC;QAC5D,OAAO,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;IACzC,CAAC;;sEA/CU,WAAW,uBAmBO,kBAAkB;uEAnBpC,WAAW,0QC1CxB,kOAKM,kwBDmCQ,kBAAkB;uFAEnB,WAAW;cAPvB,SAAS;eAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,WAAW,EAAE,sBAAsB;gBACnC,SAAS,EAAE,CAAC,sBAAsB,CAAC;gBACnC,eAAe,EAAE,uBAAuB,CAAC,OAAO;gBAChD,UAAU,EAAE,kBAAkB;aAC/B;sCAoB8B,kBAAkB,UAV3C,OAAO;kBADV,KAAK;YAMN,YAAY;kBADX,KAAK;YAIN,cAAc;kBADb,SAAS;mBAAC,MAAM,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC","sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, Injectable, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { BehaviorSubject, combineLatest, ReplaySubject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { LINE_UP_ANIMATIONS } from './line-up.animations';\nimport { fromResize } from './resize-observer';\n\nenum Mode {\n MAIN = 'Main',\n BOTH = 'Both',\n NEXT = 'Next',\n}\n\n@Injectable({providedIn: 'root'})\nexport class LineUpFrameService {\n frames: LineUpFrame[] = [];\n\n register(frame: LineUpFrame) {\n this.frames.push(frame);\n console.debug('this.frames:', this.frames);\n }\n\n unregister(frame: LineUpFrame) {\n this.frames = this.frames.slice(0, this.findIndex(frame));\n }\n\n findIndex(frame: LineUpFrame): number {\n return this.frames.findIndex((value) => value === frame);\n }\n\n propagate(frame: LineUpFrame): void {\n const target = this.frames?.[this.findIndex(frame) - 1];\n target?.refresh();\n }\n}\n\n@Component({\n selector: 'frames-line-up',\n templateUrl: './line-up.frame.html',\n styleUrls: ['./line-up.frame.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n animations: LINE_UP_ANIMATIONS,\n})\nexport class LineUpFrame implements OnInit, OnDestroy {\n Mode = Mode;\n mode = Mode.MAIN;\n\n private readonly refresh$ = new ReplaySubject(1);\n private readonly destroy$ = new ReplaySubject(1);\n private readonly hasNext$ = new BehaviorSubject(false); \n\n @Input()\n set hasNext(value: boolean) {\n this.hasNext$.next(value);\n };\n\n @Input()\n minNextWidth: number = 360;\n\n @ViewChild('next', {static: true})\n nextElementRef!: ElementRef;\n\n constructor(private service: LineUpFrameService) { }\n\n ngOnInit(): void {\n this.service.register(this);\n this.refresh();\n \n combineLatest([\n this.hasNext$, \n fromResize(this.nextElementRef),\n this.refresh$,\n ]).pipe(takeUntil(this.destroy$)).subscribe(([hasNext, width]) => {\n this.mode = this.resolveMode(hasNext, width);\n setTimeout(() => this.service.propagate(this), 0);\n });\n }\n\n ngOnDestroy(): void {\n this.service.unregister(this);\n this.destroy$.next(); \n }\n\n refresh() {\n this.refresh$.next();\n }\n\n private resolveMode(hasNext: boolean, width: number): Mode {\n if (hasNext && width <= this.minNextWidth) return Mode.BOTH;\n return hasNext ? Mode.NEXT : Mode.MAIN;\n }\n}\n","<div class=\"main\" [@modeChangeForMain]=\"mode\" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next\" [@modeChangeForNext]=\"mode\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>"]}
@@ -0,0 +1,27 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
4
+ import { LineUpFrame } from './line-up.frame';
5
+ import * as i0 from "@angular/core";
6
+ export class LineUpModule {
7
+ }
8
+ LineUpModule.ɵfac = function LineUpModule_Factory(t) { return new (t || LineUpModule)(); };
9
+ LineUpModule.ɵmod = i0.ɵɵdefineNgModule({ type: LineUpModule });
10
+ LineUpModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
11
+ CommonModule,
12
+ MatProgressSpinnerModule
13
+ ]] });
14
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LineUpModule, { declarations: [LineUpFrame], imports: [CommonModule,
15
+ MatProgressSpinnerModule], exports: [LineUpFrame] }); })();
16
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LineUpModule, [{
17
+ type: NgModule,
18
+ args: [{
19
+ declarations: [LineUpFrame],
20
+ imports: [
21
+ CommonModule,
22
+ MatProgressSpinnerModule
23
+ ],
24
+ exports: [LineUpFrame]
25
+ }]
26
+ }], null, null); })();
27
+ //# sourceMappingURL=line-up.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-up.module.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/line-up-v2/line-up.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;;AAW9C,MAAM,OAAO,YAAY;;wEAAZ,YAAY;gDAAZ,YAAY;oDANd;YACP,YAAY;YACZ,wBAAwB;SACzB;wFAGU,YAAY,mBAPR,WAAW,aAExB,YAAY;QACZ,wBAAwB,aAEhB,WAAW;uFAEV,YAAY;cARxB,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,WAAW,CAAC;gBAC3B,OAAO,EAAE;oBACP,YAAY;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE,CAAC,WAAW,CAAC;aACvB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\n\nimport { LineUpFrame } from './line-up.frame';\n\n\n@NgModule({\n declarations: [LineUpFrame],\n imports: [\n CommonModule,\n MatProgressSpinnerModule\n ],\n exports: [LineUpFrame]\n})\nexport class LineUpModule { }\n"]}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=ng-atomic-components-frames-line-up-v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-frames-line-up-v2.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
@@ -0,0 +1,13 @@
1
+ import { Observable } from 'rxjs';
2
+ import { startWith } from 'rxjs/operators';
3
+ import ResizeObserver from 'resize-observer-polyfill';
4
+ import { distinctUntilChanged, map } from 'rxjs/operators';
5
+ export function fromResize({ nativeElement }) {
6
+ return Observable.create(function (observer) {
7
+ const callback = (entries) => entries.forEach(e => observer.next(e));
8
+ const resizeObserver = new ResizeObserver(callback);
9
+ resizeObserver.observe(nativeElement);
10
+ return () => resizeObserver.disconnect();
11
+ }).pipe(map(({ contentRect }) => { var _a; return (_a = contentRect === null || contentRect === void 0 ? void 0 : contentRect.width) !== null && _a !== void 0 ? _a : 0; }), startWith(0), distinctUntilChanged());
12
+ }
13
+ //# sourceMappingURL=resize-observer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resize-observer.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/line-up-v2/resize-observer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,cAAc,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAG3D,MAAM,UAAU,UAAU,CAAC,EAAC,aAAa,EAAsB;IAC7D,OAAO,UAAU,CAAC,MAAM,CAAC,UAAS,QAAa;QAC7C,MAAM,QAAQ,GAAG,CAAC,OAAY,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1E,MAAM,cAAc,GAAG,IAAI,cAAc,CAAC,QAAQ,CAAC,CAAC;QACpD,cAAc,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QACtC,OAAO,GAAG,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC;IAC3C,CAAC,CAAC,CAAC,IAAI,CACL,GAAG,CAAC,CAAC,EAAC,WAAW,EAAC,EAAE,EAAE,wBAAC,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,mCAAI,CAAC,GAAA,CAAC,EAC/C,SAAS,CAAC,CAAC,CAAC,EACZ,oBAAoB,EAAE,CACvB,CAAC;AACJ,CAAC","sourcesContent":["import { Observable } from 'rxjs';\nimport { startWith } from 'rxjs/operators';\nimport ResizeObserver from 'resize-observer-polyfill';\nimport { distinctUntilChanged, map } from 'rxjs/operators';\nimport { ElementRef } from '@angular/core';\n\nexport function fromResize({nativeElement}: ElementRef<Element>): Observable<number> {\n return Observable.create(function(observer: any) {\n const callback = (entries: any) => entries.forEach(e => observer.next(e));\n const resizeObserver = new ResizeObserver(callback);\n resizeObserver.observe(nativeElement);\n return () => resizeObserver.disconnect();\n }).pipe(\n map(({contentRect}) => contentRect?.width ?? 0),\n startWith(0),\n distinctUntilChanged(),\n );\n}\n"]}
@@ -15,7 +15,7 @@ export class OverlayFrame {
15
15
  }
16
16
  }
17
17
  OverlayFrame.ɵfac = function OverlayFrame_Factory(t) { return new (t || OverlayFrame)(); };
18
- OverlayFrame.ɵcmp = i0.ɵɵ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-Id9U:var(--cell);--width:100%;--width-SCOPED-IN-line-overlay-Id9U:var(--width);--height:100%;--height-SCOPED-IN-line-overlay-Id9U:var(--height);position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-Id9U);height:var(--height-SCOPED-IN-line-overlay-Id9U)}: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-Id9U);height:var(--height-SCOPED-IN-line-overlay-Id9U)}:host .main.page{z-index:1;overflow:hidden}:host .main.page *{--cell:var(--cell-SCOPED-IN-line-overlay-Id9U);--width:var(--width-SCOPED-IN-line-overlay-Id9U);--height:var(--height-SCOPED-IN-line-overlay-Id9U)}:host .next.page{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-Id9U);height:auto}:host .next.page *{--cell:var(--cell-SCOPED-IN-line-overlay-Id9U);--width:var(--width-SCOPED-IN-line-overlay-Id9U);--height:var(--height-SCOPED-IN-line-overlay-Id9U)}"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], animations: [slideInAnimation] });
18
+ OverlayFrame.ɵcmp = i0.ɵɵ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-yf6l:var(--cell);--width:100%;--width-SCOPED-IN-line-overlay-yf6l:var(--width);--height:100%;--height-SCOPED-IN-line-overlay-yf6l:var(--height);position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-yf6l);height:var(--height-SCOPED-IN-line-overlay-yf6l)}: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-yf6l);height:var(--height-SCOPED-IN-line-overlay-yf6l)}:host .main.page{z-index:1;overflow:hidden}:host .main.page *{--cell:var(--cell-SCOPED-IN-line-overlay-yf6l);--width:var(--width-SCOPED-IN-line-overlay-yf6l);--height:var(--height-SCOPED-IN-line-overlay-yf6l)}:host .next.page{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-yf6l);height:auto}:host .next.page *{--cell:var(--cell-SCOPED-IN-line-overlay-yf6l);--width:var(--width-SCOPED-IN-line-overlay-yf6l);--height:var(--height-SCOPED-IN-line-overlay-yf6l)}"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], animations: [slideInAnimation] });
19
19
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OverlayFrame, [{
20
20
  type: Component,
21
21
  args: [{
@@ -0,0 +1,3 @@
1
+ export * from './overlay.frame';
2
+ export * from './overlay.module';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/overlay-v2/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC","sourcesContent":["export * from './overlay.frame';\nexport * from './overlay.module';"]}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=ng-atomic-components-frames-overlay-v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-frames-overlay-v2.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
@@ -0,0 +1,28 @@
1
+ import { trigger, transition, style, query, animateChild, animate } from '@angular/animations';
2
+ export const OVERLAY_ANIMATION = trigger('hasNext', [
3
+ transition('false => true', [
4
+ query(':enter', [
5
+ style({
6
+ position: 'absolute',
7
+ top: '0px',
8
+ left: '0px'
9
+ })
10
+ ]),
11
+ query(':enter', [style({ left: '100%' })]),
12
+ query(':enter', [animate('300ms ease-out', style({ left: '0%' }))]),
13
+ query(':enter', animateChild()),
14
+ ]),
15
+ transition('true => false', [
16
+ query(':leave', [
17
+ style({
18
+ position: 'absolute',
19
+ top: '0px',
20
+ left: '0px'
21
+ })
22
+ ]),
23
+ query(':leave', [style({ left: '0%' })]),
24
+ query(':leave', [animate('300ms ease-in', style({ left: '100%' }))]),
25
+ query(':leave', animateChild()),
26
+ ])
27
+ ]);
28
+ //# sourceMappingURL=overlay.animations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlay.animations.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/overlay-v2/overlay.animations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE/F,MAAM,CAAC,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,CAAC","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"]}
@@ -0,0 +1,23 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
+ import { OVERLAY_ANIMATION } from './overlay.animations';
3
+ import * as i0 from "@angular/core";
4
+ export class OverlayFrame {
5
+ constructor() {
6
+ this.hasNext = false;
7
+ }
8
+ }
9
+ OverlayFrame.ɵfac = function OverlayFrame_Factory(t) { return new (t || OverlayFrame)(); };
10
+ OverlayFrame.ɵcmp = i0.ɵɵ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-czPU:var(--cell);--width:100%;--width-SCOPED-IN-line-overlay-czPU:var(--width);--height:100%;--height-SCOPED-IN-line-overlay-czPU:var(--height);position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-czPU);height:var(--height-SCOPED-IN-line-overlay-czPU)}: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-czPU);height:var(--height-SCOPED-IN-line-overlay-czPU)}:host .main{z-index:1;overflow:hidden}:host .main *{--cell:var(--cell-SCOPED-IN-line-overlay-czPU);--width:var(--width-SCOPED-IN-line-overlay-czPU);--height:var(--height-SCOPED-IN-line-overlay-czPU)}:host .next{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-czPU);height:auto}:host .next *{--cell:var(--cell-SCOPED-IN-line-overlay-czPU);--width:var(--width-SCOPED-IN-line-overlay-czPU);--height:var(--height-SCOPED-IN-line-overlay-czPU)}"], animations: [OVERLAY_ANIMATION], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OverlayFrame, [{
12
+ type: Component,
13
+ args: [{
14
+ selector: 'frames-overlay',
15
+ templateUrl: './overlay.frame.html',
16
+ styleUrls: ['./overlay.frame.scss'],
17
+ animations: [OVERLAY_ANIMATION],
18
+ changeDetection: ChangeDetectionStrategy.OnPush,
19
+ }]
20
+ }], null, { hasNext: [{
21
+ type: Input
22
+ }] }); })();
23
+ //# sourceMappingURL=overlay.frame.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlay.frame.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/overlay-v2/overlay.frame.ts","../../../../../../libs/components/frames/overlay-v2/overlay.frame.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;;AASzD,MAAM,OAAO,YAAY;IAPzB;QASE,YAAO,GAAG,KAAK,CAAC;KACjB;;wEAHY,YAAY;wEAAZ,YAAY,sFCVzB,6KAKM,gkCDEQ,CAAC,iBAAiB,CAAC;uFAGpB,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","sourcesContent":["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>"]}
@@ -0,0 +1,29 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
4
+ import { OverlayFrame } from './overlay.frame';
5
+ import * as i0 from "@angular/core";
6
+ export class OverlayModule {
7
+ }
8
+ OverlayModule.ɵfac = function OverlayModule_Factory(t) { return new (t || OverlayModule)(); };
9
+ OverlayModule.ɵmod = i0.ɵɵdefineNgModule({ type: OverlayModule });
10
+ OverlayModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
11
+ CommonModule,
12
+ MatProgressSpinnerModule
13
+ ]] });
14
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(OverlayModule, { declarations: [OverlayFrame], imports: [CommonModule,
15
+ MatProgressSpinnerModule], exports: [OverlayFrame] }); })();
16
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OverlayModule, [{
17
+ type: NgModule,
18
+ args: [{
19
+ declarations: [OverlayFrame],
20
+ imports: [
21
+ CommonModule,
22
+ MatProgressSpinnerModule
23
+ ],
24
+ exports: [
25
+ OverlayFrame
26
+ ]
27
+ }]
28
+ }], null, null); })();
29
+ //# sourceMappingURL=overlay.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlay.module.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/overlay-v2/overlay.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAY/C,MAAM,OAAO,aAAa;;0EAAb,aAAa;iDAAb,aAAa;qDARf;YACP,YAAY;YACZ,wBAAwB;SACzB;wFAKU,aAAa,mBATT,YAAY,aAEzB,YAAY;QACZ,wBAAwB,aAGxB,YAAY;uFAGH,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","sourcesContent":["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"]}
@@ -4,7 +4,7 @@ import * as i1 from "@ng-atomic/common/directives";
4
4
  export class ScrollFrame {
5
5
  }
6
6
  ScrollFrame.ɵfac = function ScrollFrame_Factory(t) { return new (t || ScrollFrame)(); };
7
- ScrollFrame.ɵcmp = i0.ɵɵ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-8kG9:var(--height);--navigator-height:56px;--navigator-height-SCOPED-IN-scroll-8kG9:var(--navigator-height);height:var(--height-SCOPED-IN-scroll-8kG9);overflow:hidden}:host .navigator-container{height:var(--navigator-height-SCOPED-IN-scroll-8kG9);overflow:hidden;touch-action:none}:host .contents-container{height:calc(var(--height-SCOPED-IN-scroll-8kG9) - var(--navigator-height-SCOPED-IN-scroll-8kG9));overflow:scroll;-webkit-overflow-scrolling:touch}"], directives: [{ type: i1.IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7
+ ScrollFrame.ɵcmp = i0.ɵɵ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-MsbF:var(--height);--navigator-height:56px;--navigator-height-SCOPED-IN-scroll-MsbF:var(--navigator-height);height:var(--height-SCOPED-IN-scroll-MsbF);overflow:hidden}:host .navigator-container{height:var(--navigator-height-SCOPED-IN-scroll-MsbF);overflow:hidden;touch-action:none}:host .contents-container{height:calc(var(--height-SCOPED-IN-scroll-MsbF) - var(--navigator-height-SCOPED-IN-scroll-MsbF));overflow:scroll;-webkit-overflow-scrolling:touch}"], directives: [{ type: i1.IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
8
8
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ScrollFrame, [{
9
9
  type: Component,
10
10
  args: [{
@@ -0,0 +1,3 @@
1
+ export { SmartMenuFrame } from './smart-menu.frame';
2
+ export { SmartMenuModule } from './smart-menu.module';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/smart-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["export { SmartMenuFrame } from './smart-menu.frame';\nexport { SmartMenuModule } from './smart-menu.module';\n"]}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=ng-atomic-components-frames-smart-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-frames-smart-menu.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/smart-menu/ng-atomic-components-frames-smart-menu.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
@@ -0,0 +1,39 @@
1
+ import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';
2
+ import { RouterOutlet } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export class SmartMenuFrame {
5
+ constructor() {
6
+ this.isMainHidden = false;
7
+ this.label = 'root';
8
+ this.minNextWidth = 360;
9
+ }
10
+ get page() {
11
+ var _a, _b;
12
+ const page = (_b = (_a = this.outlet) === null || _a === void 0 ? void 0 : _a.activatedRouteData) === null || _b === void 0 ? void 0 : _b.page;
13
+ return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;
14
+ }
15
+ }
16
+ SmartMenuFrame.ɵfac = function SmartMenuFrame_Factory(t) { return new (t || SmartMenuFrame)(); };
17
+ SmartMenuFrame.ɵcmp = i0.ɵɵ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-XRVl:var(--gap);--background:#ccc;--background-SCOPED-IN-smart-menu-XRVl:var(--background);--contents-background:transparent;--contents-background-SCOPED-IN-smart-menu-XRVl:var(--contents-background);position:relative;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-XRVl);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background:var(--background-SCOPED-IN-smart-menu-XRVl)}: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-XRVl)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
18
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartMenuFrame, [{
19
+ type: Component,
20
+ args: [{
21
+ selector: 'frames-smart-menu',
22
+ templateUrl: './smart-menu.frame.html',
23
+ styleUrls: ['./smart-menu.frame.scss'],
24
+ changeDetection: ChangeDetectionStrategy.OnPush,
25
+ }]
26
+ }], null, { isMainHidden: [{
27
+ type: HostBinding,
28
+ args: ['attr.is-main-hidden']
29
+ }], label: [{
30
+ type: Input
31
+ }], outlet: [{
32
+ type: Input
33
+ }], minNextWidth: [{
34
+ type: Input
35
+ }], next: [{
36
+ type: ViewChild,
37
+ args: ['next', { static: true }]
38
+ }] }); })();
39
+ //# sourceMappingURL=smart-menu.frame.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smart-menu.frame.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/smart-menu/smart-menu.frame.ts","../../../../../../libs/components/frames/smart-menu/smart-menu.frame.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC9G,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAQ/C,MAAM,OAAO,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,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAAC;IACtF,CAAC;;4EAnBU,cAAc;0EAAd,cAAc,uVCT3B,kLAKM;uFDIO,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","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>"]}
@@ -0,0 +1,23 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { SmartMenuFrame } from './smart-menu.frame';
4
+ import * as i0 from "@angular/core";
5
+ export class SmartMenuModule {
6
+ }
7
+ SmartMenuModule.ɵfac = function SmartMenuModule_Factory(t) { return new (t || SmartMenuModule)(); };
8
+ SmartMenuModule.ɵmod = i0.ɵɵdefineNgModule({ type: SmartMenuModule });
9
+ SmartMenuModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
10
+ CommonModule
11
+ ]] });
12
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmartMenuModule, { declarations: [SmartMenuFrame], imports: [CommonModule], exports: [SmartMenuFrame] }); })();
13
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartMenuModule, [{
14
+ type: NgModule,
15
+ args: [{
16
+ declarations: [SmartMenuFrame],
17
+ imports: [
18
+ CommonModule
19
+ ],
20
+ exports: [SmartMenuFrame]
21
+ }]
22
+ }], null, null); })();
23
+ //# sourceMappingURL=smart-menu.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smart-menu.module.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/smart-menu/smart-menu.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;;AAWpD,MAAM,OAAO,eAAe;;8EAAf,eAAe;mDAAf,eAAe;uDALjB;YACP,YAAY;SACb;wFAGU,eAAe,mBANX,cAAc,aAE3B,YAAY,aAEJ,cAAc;uFAEb,eAAe;cAP3B,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,cAAc,CAAC;gBAC9B,OAAO,EAAE;oBACP,YAAY;iBACb;gBACD,OAAO,EAAE,CAAC,cAAc,CAAC;aAC1B","sourcesContent":["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"]}
@@ -5,6 +5,7 @@ import { MatMenuModule } from '@angular/material/menu';
5
5
  import { MatButtonModule } from '@angular/material/button';
6
6
  import { MatIconModule } from '@angular/material/icon';
7
7
  import { ActionsColumnMolecule } from './actions-column.molecule';
8
+ import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
8
9
  import * as i0 from "@angular/core";
9
10
  export class ActionsColumnModule {
10
11
  }
@@ -17,13 +18,17 @@ ActionsColumnModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
17
18
  MatMenuModule,
18
19
  MatButtonModule,
19
20
  MatIconModule,
21
+ // Atoms
22
+ SmartMenuButtonModule,
20
23
  ]] });
21
24
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ActionsColumnModule, { declarations: [ActionsColumnMolecule], imports: [CommonModule,
22
25
  // Materials
23
26
  MatTableModule,
24
27
  MatMenuModule,
25
28
  MatButtonModule,
26
- MatIconModule], exports: [ActionsColumnMolecule] }); })();
29
+ MatIconModule,
30
+ // Atoms
31
+ SmartMenuButtonModule], exports: [ActionsColumnMolecule] }); })();
27
32
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsColumnModule, [{
28
33
  type: NgModule,
29
34
  args: [{
@@ -37,6 +42,8 @@ ActionsColumnModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
37
42
  MatMenuModule,
38
43
  MatButtonModule,
39
44
  MatIconModule,
45
+ // Atoms
46
+ SmartMenuButtonModule,
40
47
  ],
41
48
  exports: [
42
49
  ActionsColumnMolecule
@@ -1 +1 @@
1
- {"version":3,"file":"actions-column.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/actions-column/actions-column.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;;AAkBlE,MAAM,OAAO,mBAAmB;;sFAAnB,mBAAmB;uDAAnB,mBAAmB;2DAZrB;YACP,YAAY;YACZ,YAAY;YACZ,cAAc;YACd,aAAa;YACb,eAAe;YACf,aAAa;SACd;wFAKU,mBAAmB,mBAd5B,qBAAqB,aAGrB,YAAY;QACZ,YAAY;QACZ,cAAc;QACd,aAAa;QACb,eAAe;QACf,aAAa,aAGb,qBAAqB;uFAGZ,mBAAmB;cAhB/B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,YAAY;oBACZ,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,aAAa;iBACd;gBACD,OAAO,EAAE;oBACP,qBAAqB;iBACtB;aACF","sourcesContent":["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"]}
1
+ {"version":3,"file":"actions-column.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/actions-column/actions-column.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;;AAoBtF,MAAM,OAAO,mBAAmB;;sFAAnB,mBAAmB;uDAAnB,mBAAmB;2DAdrB;YACP,YAAY;YACZ,YAAY;YACZ,cAAc;YACd,aAAa;YACb,eAAe;YACf,aAAa;YACb,QAAQ;YACR,qBAAqB;SACtB;wFAKU,mBAAmB,mBAhB5B,qBAAqB,aAGrB,YAAY;QACZ,YAAY;QACZ,cAAc;QACd,aAAa;QACb,eAAe;QACf,aAAa;QACb,QAAQ;QACR,qBAAqB,aAGrB,qBAAqB;uFAGZ,mBAAmB;cAlB/B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,YAAY;oBACZ,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,aAAa;oBACb,QAAQ;oBACR,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,qBAAqB;iBACtB;aACF","sourcesContent":["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"]}
@@ -3,10 +3,7 @@ import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Option
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/cdk/table";
5
5
  import * as i2 from "@angular/material/table";
6
- import * as i3 from "@angular/common";
7
- import * as i4 from "@angular/material/button";
8
- import * as i5 from "@angular/material/menu";
9
- import * as i6 from "@angular/material/icon";
6
+ import * as i3 from "@ng-atomic/components/atoms/smart-menu-button";
10
7
  export class ActionsColumnMolecule {
11
8
  constructor(_table, _options) {
12
9
  var _a;
@@ -41,9 +38,12 @@ export class ActionsColumnMolecule {
41
38
  this.columnDef.name = this.name;
42
39
  }
43
40
  }
41
+ onActionItemClick(test) {
42
+ console.debug(test);
43
+ }
44
44
  }
45
45
  ActionsColumnMolecule.ɵfac = function ActionsColumnMolecule_Factory(t) { return new (t || ActionsColumnMolecule)(i0.ɵɵdirectiveInject(i1.CdkTable, 8), i0.ɵɵdirectiveInject(TEXT_COLUMN_OPTIONS, 8)); };
46
- ActionsColumnMolecule.ɵcmp = i0.ɵɵ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: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i2.MatCellDef, selector: "[matCellDef]" }, { type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.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: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i5.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
46
+ ActionsColumnMolecule.ɵcmp = i0.ɵɵ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: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i2.MatCellDef, selector: "[matCellDef]" }, { type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i3.SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["actionItems"], outputs: ["actionItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
47
47
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsColumnMolecule, [{
48
48
  type: Component,
49
49
  args: [{
@@ -1 +1 @@
1
- {"version":3,"file":"actions-column.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/actions-column/actions-column.molecule.ts","../../../../../../libs/components/molecules/actions-column/actions-column.molecule.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAqB,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAClI,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;;;;;;;;AAUhJ,MAAM,OAAO,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;IACvB,CAAC;IA/BD,IACI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IACD,IAAI,IAAI,CAAC,IAAY;QACnB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;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;IACH,CAAC;IAED,WAAW;QACT,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC7C;IACH,CAAC;IAEO,kBAAkB;QACxB,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;SACjC;IACH,CAAC;;0FAtDU,qBAAqB,6DA6BV,mBAAmB;iFA7B9B,qBAAqB,kNAkBrB,YAAY,qHAGZ,UAAU,2HAGV,gBAAgB,8FCnC7B,yfAWA;uFDAa,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","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"]}
1
+ {"version":3,"file":"actions-column.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/actions-column/actions-column.molecule.ts","../../../../../../libs/components/molecules/actions-column/actions-column.molecule.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAqB,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAClI,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;;;;;AAUhJ,MAAM,OAAO,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;IACvB,CAAC;IA/BD,IACI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IACD,IAAI,IAAI,CAAC,IAAY;QACnB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;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;IACH,CAAC;IAED,WAAW;QACT,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC7C;IACH,CAAC;IAEO,kBAAkB;QACxB,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;SACjC;IACH,CAAC;IAED,iBAAiB,CAAC,IAAI;QACpB,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;;0FA1DU,qBAAqB,6DA6BV,mBAAmB;iFA7B9B,qBAAqB,kNAkBrB,YAAY,qHAGZ,UAAU,2HAGV,gBAAgB,8FCnC7B,uUASA;uFDEa,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","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"]}
@@ -0,0 +1,39 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ReactiveFormsModule } from '@angular/forms';
4
+ import { MatInputModule } from '@angular/material/input';
5
+ import { MatDatepickerModule } from '@angular/material/datepicker';
6
+ import { MatDayjsDateModule } from '@ng-atomic/common/utils';
7
+ import { DateInputFieldMolecule } from './date-input-field.molecule';
8
+ import * as i0 from "@angular/core";
9
+ export class DateInputFieldModule {
10
+ }
11
+ DateInputFieldModule.ɵfac = function DateInputFieldModule_Factory(t) { return new (t || DateInputFieldModule)(); };
12
+ DateInputFieldModule.ɵmod = i0.ɵɵdefineNgModule({ type: DateInputFieldModule });
13
+ DateInputFieldModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
14
+ CommonModule,
15
+ ReactiveFormsModule,
16
+ MatInputModule,
17
+ MatDatepickerModule,
18
+ MatDayjsDateModule,
19
+ ]] });
20
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DateInputFieldModule, { declarations: [DateInputFieldMolecule], imports: [CommonModule,
21
+ ReactiveFormsModule,
22
+ MatInputModule,
23
+ MatDatepickerModule,
24
+ MatDayjsDateModule], exports: [DateInputFieldMolecule] }); })();
25
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputFieldModule, [{
26
+ type: NgModule,
27
+ args: [{
28
+ declarations: [DateInputFieldMolecule],
29
+ imports: [
30
+ CommonModule,
31
+ ReactiveFormsModule,
32
+ MatInputModule,
33
+ MatDatepickerModule,
34
+ MatDayjsDateModule,
35
+ ],
36
+ exports: [DateInputFieldMolecule],
37
+ }]
38
+ }], null, null); })();
39
+ //# sourceMappingURL=date-input-field.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-input-field.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/date-input-field/date-input-field.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAA0B,MAAM,yBAAyB,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;;AAgBrE,MAAM,OAAO,oBAAoB;;wFAApB,oBAAoB;wDAApB,oBAAoB;4DAVtB;YACP,YAAY;YACZ,mBAAmB;YACnB,cAAc;YACd,mBAAmB;YACnB,kBAAkB;SACnB;wFAIU,oBAAoB,mBAXhB,sBAAsB,aAEnC,YAAY;QACZ,mBAAmB;QACnB,cAAc;QACd,mBAAmB;QACnB,kBAAkB,aAEV,sBAAsB;uFAGrB,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","sourcesContent":["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"]}