@ng-atomic/components 5.4.1 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/atoms/chips-input/chips-input.atom.d.ts +3 -3
  2. package/atoms/chips-input/index.d.ts +1 -2
  3. package/atoms/icon/icon.atom.d.ts +1 -1
  4. package/atoms/icon/index.d.ts +1 -2
  5. package/atoms/smart-menu-button/index.d.ts +1 -2
  6. package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +1 -1
  7. package/esm2020/atoms/chips-input/chips-input.atom.mjs +52 -6
  8. package/esm2020/atoms/chips-input/index.mjs +2 -3
  9. package/esm2020/atoms/icon/icon.atom.mjs +8 -4
  10. package/esm2020/atoms/icon/index.mjs +2 -3
  11. package/esm2020/atoms/smart-menu-button/index.mjs +2 -3
  12. package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +12 -3
  13. package/esm2020/extras/editor/editor.component.mjs +41 -0
  14. package/esm2020/extras/editor/index.mjs +2 -0
  15. package/esm2020/extras/editor/ng-atomic-components-extras-editor.mjs +5 -0
  16. package/esm2020/frames/auto-layout/auto-layout.frame.mjs +6 -3
  17. package/esm2020/frames/auto-layout/index.mjs +1 -2
  18. package/esm2020/frames/card/card.frame.mjs +9 -4
  19. package/esm2020/frames/card/index.mjs +1 -2
  20. package/esm2020/frames/drawer/drawer.frame.mjs +8 -4
  21. package/esm2020/frames/drawer/index.mjs +2 -3
  22. package/esm2020/frames/fab/fab.frame.mjs +56 -0
  23. package/esm2020/frames/fab/fab.service.mjs +26 -0
  24. package/esm2020/frames/fab/index.mjs +2 -0
  25. package/esm2020/frames/fab/ng-atomic-components-frames-fab.mjs +5 -0
  26. package/esm2020/frames/line-up/line-up.frame.mjs +17 -5
  27. package/esm2020/frames/loading/index.mjs +2 -0
  28. package/esm2020/frames/loading/loading.frame.mjs +29 -0
  29. package/esm2020/frames/loading/ng-atomic-components-frames-loading.mjs +5 -0
  30. package/esm2020/frames/overlay/index.mjs +1 -2
  31. package/esm2020/frames/overlay/overlay.frame.mjs +8 -3
  32. package/esm2020/frames/scroll/index.mjs +1 -2
  33. package/esm2020/frames/scroll/scroll.frame.mjs +8 -3
  34. package/esm2020/frames/smart-menu/index.mjs +1 -2
  35. package/esm2020/frames/smart-menu/smart-menu.frame.mjs +6 -3
  36. package/esm2020/molecules/actions-column/actions-column.molecule.mjs +16 -4
  37. package/esm2020/molecules/actions-column/index.mjs +1 -2
  38. package/esm2020/molecules/checkbox-column/checkbox-column.molecule.mjs +16 -5
  39. package/esm2020/molecules/checkbox-column/index.mjs +1 -2
  40. package/esm2020/molecules/chips-input-field/chips-input-field.molecule.mjs +22 -7
  41. package/esm2020/molecules/chips-input-field/index.mjs +1 -2
  42. package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +19 -8
  43. package/esm2020/molecules/date-input-field/index.mjs +2 -3
  44. package/esm2020/molecules/header/header.molecule.mjs +6 -3
  45. package/esm2020/molecules/header/index.mjs +2 -3
  46. package/esm2020/molecules/navigation-list-item/index.mjs +2 -3
  47. package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +32 -7
  48. package/esm2020/molecules/select-input-field/index.mjs +1 -2
  49. package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +14 -5
  50. package/esm2020/molecules/smart-column/index.mjs +1 -2
  51. package/esm2020/molecules/smart-column/smart-column.molecule.mjs +24 -9
  52. package/esm2020/molecules/text-input-field/index.mjs +2 -3
  53. package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +15 -6
  54. package/esm2020/molecules/textarea-field/index.mjs +1 -2
  55. package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +10 -4
  56. package/esm2020/molecules/tree-column/index.mjs +2 -0
  57. package/esm2020/molecules/tree-column/ng-atomic-components-molecules-tree-column.mjs +5 -0
  58. package/esm2020/molecules/tree-column/tree-column.molecule.mjs +128 -0
  59. package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +9 -4
  60. package/esm2020/organisms/action-buttons-section/index.mjs +1 -2
  61. package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +15 -5
  62. package/esm2020/organisms/back-navigator/index.mjs +1 -2
  63. package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +9 -5
  64. package/esm2020/organisms/card-input-section/index.mjs +2 -3
  65. package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +11 -6
  66. package/esm2020/organisms/cvc-and-exp-input-section/index.mjs +2 -3
  67. package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +11 -6
  68. package/esm2020/organisms/date-input-section/index.mjs +1 -2
  69. package/esm2020/organisms/filters-section/filters-section.organism.mjs +129 -0
  70. package/esm2020/organisms/filters-section/index.mjs +2 -0
  71. package/esm2020/organisms/filters-section/ng-atomic-components-organisms-filters-section.mjs +5 -0
  72. package/esm2020/organisms/graphql-editor/graphql-editor.organism.mjs +115 -0
  73. package/esm2020/organisms/graphql-editor/index.mjs +2 -0
  74. package/esm2020/organisms/graphql-editor/ng-atomic-components-organisms-graphql-editor.mjs +5 -0
  75. package/esm2020/organisms/grid-toolbar/grid-toolbar.organism.mjs +68 -0
  76. package/esm2020/organisms/grid-toolbar/index.mjs +2 -0
  77. package/esm2020/organisms/grid-toolbar/ng-atomic-components-organisms-grid-toolbar.mjs +5 -0
  78. package/esm2020/organisms/heading/heading.organism.mjs +6 -3
  79. package/esm2020/organisms/heading/index.mjs +1 -2
  80. package/esm2020/organisms/navigation-list/index.mjs +2 -3
  81. package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +11 -5
  82. package/esm2020/organisms/navigator/index.mjs +2 -3
  83. package/esm2020/organisms/navigator/navigator.organism.mjs +14 -4
  84. package/esm2020/organisms/paginator/index.mjs +1 -2
  85. package/esm2020/organisms/paginator/paginator.organism.mjs +40 -7
  86. package/esm2020/organisms/select-input-section/index.mjs +1 -2
  87. package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +10 -6
  88. package/esm2020/organisms/smart-list/index.mjs +1 -2
  89. package/esm2020/organisms/smart-list/smart-list.organism.mjs +45 -8
  90. package/esm2020/organisms/smart-table/index.mjs +1 -2
  91. package/esm2020/organisms/smart-table/smart-table.organism.mjs +45 -9
  92. package/esm2020/organisms/social-login-section/index.mjs +1 -2
  93. package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +9 -4
  94. package/esm2020/organisms/text-input-section/index.mjs +2 -3
  95. package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +9 -5
  96. package/esm2020/organisms/textarea-section/index.mjs +2 -3
  97. package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +8 -4
  98. package/esm2020/organisms/top-navigator/index.mjs +1 -2
  99. package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +12 -4
  100. package/esm2020/templates/entrance/entrance.template.mjs +19 -9
  101. package/esm2020/templates/entrance/index.mjs +1 -2
  102. package/esm2020/templates/loading/index.mjs +1 -2
  103. package/esm2020/templates/loading/loading.template.mjs +9 -4
  104. package/esm2020/templates/menu/index.mjs +1 -2
  105. package/esm2020/templates/menu/menu.template.mjs +8 -4
  106. package/esm2020/templates/smart-crud/smart-crud.template.mjs +22 -43
  107. package/esm2020/templates/smart-index/smart-index.template.mjs +36 -35
  108. package/extras/editor/editor.component.d.ts +12 -0
  109. package/extras/editor/index.d.ts +1 -0
  110. package/fesm2015/ng-atomic-components-atoms-chips-input.mjs +51 -46
  111. package/fesm2015/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
  112. package/fesm2015/ng-atomic-components-atoms-icon.mjs +10 -33
  113. package/fesm2015/ng-atomic-components-atoms-icon.mjs.map +1 -1
  114. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +10 -33
  115. package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  116. package/fesm2015/ng-atomic-components-extras-editor.mjs +52 -0
  117. package/fesm2015/ng-atomic-components-extras-editor.mjs.map +1 -0
  118. package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +7 -25
  119. package/fesm2015/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
  120. package/fesm2015/ng-atomic-components-frames-card.mjs +9 -32
  121. package/fesm2015/ng-atomic-components-frames-card.mjs.map +1 -1
  122. package/fesm2015/ng-atomic-components-frames-drawer.mjs +8 -24
  123. package/fesm2015/ng-atomic-components-frames-drawer.mjs.map +1 -1
  124. package/fesm2015/ng-atomic-components-frames-fab.mjs +84 -0
  125. package/fesm2015/ng-atomic-components-frames-fab.mjs.map +1 -0
  126. package/fesm2015/ng-atomic-components-frames-line-up.mjs +16 -4
  127. package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +1 -1
  128. package/fesm2015/ng-atomic-components-frames-loading.mjs +36 -0
  129. package/fesm2015/ng-atomic-components-frames-loading.mjs.map +1 -0
  130. package/fesm2015/ng-atomic-components-frames-overlay.mjs +8 -26
  131. package/fesm2015/ng-atomic-components-frames-overlay.mjs.map +1 -1
  132. package/fesm2015/ng-atomic-components-frames-scroll.mjs +6 -26
  133. package/fesm2015/ng-atomic-components-frames-scroll.mjs.map +1 -1
  134. package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +7 -21
  135. package/fesm2015/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
  136. package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +18 -52
  137. package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  138. package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs +18 -43
  139. package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
  140. package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +24 -62
  141. package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
  142. package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +19 -43
  143. package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
  144. package/fesm2015/ng-atomic-components-molecules-header.mjs +7 -25
  145. package/fesm2015/ng-atomic-components-molecules-header.mjs.map +1 -1
  146. package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +32 -42
  147. package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
  148. package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +14 -34
  149. package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
  150. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +20 -58
  151. package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  152. package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +15 -38
  153. package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  154. package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +10 -32
  155. package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  156. package/fesm2015/ng-atomic-components-molecules-tree-column.mjs +135 -0
  157. package/fesm2015/ng-atomic-components-molecules-tree-column.mjs.map +1 -0
  158. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +10 -36
  159. package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
  160. package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +14 -47
  161. package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
  162. package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +10 -30
  163. package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
  164. package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +12 -36
  165. package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
  166. package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +12 -32
  167. package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
  168. package/fesm2015/ng-atomic-components-organisms-filters-section.mjs +136 -0
  169. package/fesm2015/ng-atomic-components-organisms-filters-section.mjs.map +1 -0
  170. package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs +121 -0
  171. package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -0
  172. package/fesm2015/ng-atomic-components-organisms-grid-toolbar.mjs +75 -0
  173. package/fesm2015/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -0
  174. package/fesm2015/ng-atomic-components-organisms-heading.mjs +7 -25
  175. package/fesm2015/ng-atomic-components-organisms-heading.mjs.map +1 -1
  176. package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +12 -37
  177. package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
  178. package/fesm2015/ng-atomic-components-organisms-navigator.mjs +14 -43
  179. package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
  180. package/fesm2015/ng-atomic-components-organisms-paginator.mjs +40 -49
  181. package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +1 -1
  182. package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +11 -35
  183. package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
  184. package/fesm2015/ng-atomic-components-organisms-smart-list.mjs +43 -42
  185. package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
  186. package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +42 -73
  187. package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
  188. package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +10 -33
  189. package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
  190. package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +10 -34
  191. package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
  192. package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +9 -29
  193. package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
  194. package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +12 -43
  195. package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
  196. package/fesm2015/ng-atomic-components-templates-entrance.mjs +19 -63
  197. package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +1 -1
  198. package/fesm2015/ng-atomic-components-templates-loading.mjs +9 -35
  199. package/fesm2015/ng-atomic-components-templates-loading.mjs.map +1 -1
  200. package/fesm2015/ng-atomic-components-templates-menu.mjs +9 -30
  201. package/fesm2015/ng-atomic-components-templates-menu.mjs.map +1 -1
  202. package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +20 -41
  203. package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
  204. package/fesm2015/ng-atomic-components-templates-smart-index.mjs +35 -34
  205. package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
  206. package/fesm2020/ng-atomic-components-atoms-chips-input.mjs +51 -46
  207. package/fesm2020/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
  208. package/fesm2020/ng-atomic-components-atoms-icon.mjs +9 -32
  209. package/fesm2020/ng-atomic-components-atoms-icon.mjs.map +1 -1
  210. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +10 -33
  211. package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
  212. package/fesm2020/ng-atomic-components-extras-editor.mjs +48 -0
  213. package/fesm2020/ng-atomic-components-extras-editor.mjs.map +1 -0
  214. package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +7 -25
  215. package/fesm2020/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
  216. package/fesm2020/ng-atomic-components-frames-card.mjs +9 -32
  217. package/fesm2020/ng-atomic-components-frames-card.mjs.map +1 -1
  218. package/fesm2020/ng-atomic-components-frames-drawer.mjs +8 -24
  219. package/fesm2020/ng-atomic-components-frames-drawer.mjs.map +1 -1
  220. package/fesm2020/ng-atomic-components-frames-fab.mjs +84 -0
  221. package/fesm2020/ng-atomic-components-frames-fab.mjs.map +1 -0
  222. package/fesm2020/ng-atomic-components-frames-line-up.mjs +16 -4
  223. package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +1 -1
  224. package/fesm2020/ng-atomic-components-frames-loading.mjs +36 -0
  225. package/fesm2020/ng-atomic-components-frames-loading.mjs.map +1 -0
  226. package/fesm2020/ng-atomic-components-frames-overlay.mjs +8 -26
  227. package/fesm2020/ng-atomic-components-frames-overlay.mjs.map +1 -1
  228. package/fesm2020/ng-atomic-components-frames-scroll.mjs +6 -26
  229. package/fesm2020/ng-atomic-components-frames-scroll.mjs.map +1 -1
  230. package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +7 -21
  231. package/fesm2020/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
  232. package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +18 -52
  233. package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
  234. package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs +18 -43
  235. package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
  236. package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs +24 -62
  237. package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
  238. package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +19 -43
  239. package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
  240. package/fesm2020/ng-atomic-components-molecules-header.mjs +7 -25
  241. package/fesm2020/ng-atomic-components-molecules-header.mjs.map +1 -1
  242. package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +32 -42
  243. package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
  244. package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +14 -34
  245. package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
  246. package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +20 -58
  247. package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
  248. package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +15 -38
  249. package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
  250. package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +10 -32
  251. package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
  252. package/fesm2020/ng-atomic-components-molecules-tree-column.mjs +135 -0
  253. package/fesm2020/ng-atomic-components-molecules-tree-column.mjs.map +1 -0
  254. package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +10 -36
  255. package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
  256. package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +14 -47
  257. package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
  258. package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +10 -30
  259. package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
  260. package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +12 -36
  261. package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
  262. package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +12 -32
  263. package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
  264. package/fesm2020/ng-atomic-components-organisms-filters-section.mjs +136 -0
  265. package/fesm2020/ng-atomic-components-organisms-filters-section.mjs.map +1 -0
  266. package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs +120 -0
  267. package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -0
  268. package/fesm2020/ng-atomic-components-organisms-grid-toolbar.mjs +75 -0
  269. package/fesm2020/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -0
  270. package/fesm2020/ng-atomic-components-organisms-heading.mjs +7 -25
  271. package/fesm2020/ng-atomic-components-organisms-heading.mjs.map +1 -1
  272. package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +12 -37
  273. package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
  274. package/fesm2020/ng-atomic-components-organisms-navigator.mjs +14 -43
  275. package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
  276. package/fesm2020/ng-atomic-components-organisms-paginator.mjs +41 -49
  277. package/fesm2020/ng-atomic-components-organisms-paginator.mjs.map +1 -1
  278. package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +11 -35
  279. package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
  280. package/fesm2020/ng-atomic-components-organisms-smart-list.mjs +43 -42
  281. package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
  282. package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +43 -73
  283. package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
  284. package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +10 -33
  285. package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
  286. package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +10 -34
  287. package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
  288. package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +9 -29
  289. package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
  290. package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +12 -43
  291. package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
  292. package/fesm2020/ng-atomic-components-templates-entrance.mjs +19 -63
  293. package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +1 -1
  294. package/fesm2020/ng-atomic-components-templates-loading.mjs +9 -35
  295. package/fesm2020/ng-atomic-components-templates-loading.mjs.map +1 -1
  296. package/fesm2020/ng-atomic-components-templates-menu.mjs +9 -30
  297. package/fesm2020/ng-atomic-components-templates-menu.mjs.map +1 -1
  298. package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +20 -42
  299. package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
  300. package/fesm2020/ng-atomic-components-templates-smart-index.mjs +35 -34
  301. package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
  302. package/frames/auto-layout/auto-layout.frame.d.ts +1 -1
  303. package/frames/auto-layout/index.d.ts +0 -1
  304. package/frames/card/card.frame.d.ts +1 -1
  305. package/frames/card/index.d.ts +0 -1
  306. package/frames/drawer/drawer.frame.d.ts +1 -1
  307. package/frames/drawer/index.d.ts +1 -2
  308. package/frames/fab/fab.frame.d.ts +15 -0
  309. package/frames/fab/fab.service.d.ts +12 -0
  310. package/frames/fab/index.d.ts +1 -0
  311. package/frames/loading/index.d.ts +1 -0
  312. package/frames/loading/loading.frame.d.ts +6 -0
  313. package/frames/overlay/index.d.ts +0 -1
  314. package/frames/overlay/overlay.frame.d.ts +1 -1
  315. package/frames/scroll/index.d.ts +0 -1
  316. package/frames/scroll/scroll.frame.d.ts +1 -1
  317. package/frames/smart-menu/index.d.ts +0 -1
  318. package/frames/smart-menu/smart-menu.frame.d.ts +1 -1
  319. package/molecules/actions-column/actions-column.molecule.d.ts +1 -1
  320. package/molecules/actions-column/index.d.ts +0 -1
  321. package/molecules/checkbox-column/checkbox-column.molecule.d.ts +1 -1
  322. package/molecules/checkbox-column/index.d.ts +0 -1
  323. package/molecules/chips-input-field/chips-input-field.molecule.d.ts +4 -4
  324. package/molecules/chips-input-field/index.d.ts +0 -1
  325. package/molecules/date-input-field/date-input-field.molecule.d.ts +5 -5
  326. package/molecules/date-input-field/index.d.ts +1 -2
  327. package/molecules/header/header.molecule.d.ts +1 -1
  328. package/molecules/header/index.d.ts +1 -2
  329. package/molecules/navigation-list-item/index.d.ts +1 -2
  330. package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +1 -1
  331. package/molecules/select-input-field/index.d.ts +0 -1
  332. package/molecules/select-input-field/select-input-field.molecule.d.ts +3 -2
  333. package/molecules/smart-column/index.d.ts +0 -1
  334. package/molecules/smart-column/smart-column.molecule.d.ts +2 -2
  335. package/molecules/text-input-field/index.d.ts +1 -2
  336. package/molecules/text-input-field/text-input-field.molecule.d.ts +3 -2
  337. package/molecules/textarea-field/index.d.ts +0 -1
  338. package/molecules/textarea-field/textarea-field.molecule.d.ts +1 -1
  339. package/molecules/tree-column/index.d.ts +1 -0
  340. package/molecules/tree-column/tree-column.molecule.d.ts +14 -0
  341. package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -1
  342. package/organisms/action-buttons-section/index.d.ts +0 -1
  343. package/organisms/back-navigator/back-navigator.organism.d.ts +1 -1
  344. package/organisms/back-navigator/index.d.ts +0 -1
  345. package/organisms/card-input-section/card-input-section.organism.d.ts +2 -2
  346. package/organisms/card-input-section/index.d.ts +1 -2
  347. package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +1 -1
  348. package/organisms/cvc-and-exp-input-section/index.d.ts +1 -2
  349. package/organisms/date-input-section/date-input-section.organism.d.ts +2 -2
  350. package/organisms/date-input-section/index.d.ts +0 -1
  351. package/organisms/filters-section/filters-section.organism.d.ts +19 -0
  352. package/organisms/filters-section/index.d.ts +1 -0
  353. package/organisms/graphql-editor/graphql-editor.organism.d.ts +37 -0
  354. package/organisms/graphql-editor/index.d.ts +1 -0
  355. package/organisms/grid-toolbar/grid-toolbar.organism.d.ts +18 -0
  356. package/organisms/grid-toolbar/index.d.ts +1 -0
  357. package/organisms/heading/heading.organism.d.ts +1 -1
  358. package/organisms/heading/index.d.ts +0 -1
  359. package/organisms/navigation-list/index.d.ts +1 -2
  360. package/organisms/navigation-list/navigation-list.organism.d.ts +1 -1
  361. package/organisms/navigator/index.d.ts +1 -2
  362. package/organisms/navigator/navigator.organism.d.ts +1 -1
  363. package/organisms/paginator/index.d.ts +0 -1
  364. package/organisms/paginator/paginator.organism.d.ts +8 -2
  365. package/organisms/select-input-section/index.d.ts +0 -1
  366. package/organisms/select-input-section/select-input-section.organism.d.ts +2 -2
  367. package/organisms/smart-list/index.d.ts +0 -1
  368. package/organisms/smart-list/smart-list.organism.d.ts +1 -2
  369. package/organisms/smart-table/index.d.ts +0 -1
  370. package/organisms/smart-table/smart-table.organism.d.ts +9 -2
  371. package/organisms/social-login-section/index.d.ts +0 -1
  372. package/organisms/social-login-section/social-login-section.organism.d.ts +1 -1
  373. package/organisms/text-input-section/index.d.ts +1 -2
  374. package/organisms/text-input-section/text-input-section.organism.d.ts +2 -2
  375. package/organisms/textarea-section/index.d.ts +1 -2
  376. package/organisms/textarea-section/textarea-section.organism.d.ts +1 -1
  377. package/organisms/top-navigator/index.d.ts +0 -1
  378. package/organisms/top-navigator/top-navigator.organism.d.ts +1 -1
  379. package/package.json +81 -18
  380. package/templates/entrance/entrance.template.d.ts +2 -2
  381. package/templates/entrance/index.d.ts +0 -1
  382. package/templates/loading/index.d.ts +0 -1
  383. package/templates/loading/loading.template.d.ts +1 -1
  384. package/templates/menu/index.d.ts +0 -1
  385. package/templates/menu/menu.template.d.ts +1 -1
  386. package/templates/smart-crud/smart-crud.template.d.ts +1 -1
  387. package/templates/smart-index/smart-index.template.d.ts +10 -3
  388. package/atoms/chips-input/chips-input.module.d.ts +0 -12
  389. package/atoms/icon/icon.module.d.ts +0 -9
  390. package/atoms/smart-menu-button/smart-menu-button.module.d.ts +0 -11
  391. package/esm2020/atoms/chips-input/chips-input.module.mjs +0 -44
  392. package/esm2020/atoms/icon/icon.module.mjs +0 -31
  393. package/esm2020/atoms/smart-menu-button/smart-menu-button.module.mjs +0 -35
  394. package/esm2020/frames/auto-layout/auto-layout.module.mjs +0 -24
  395. package/esm2020/frames/card/card.module.mjs +0 -31
  396. package/esm2020/frames/drawer/drawer.module.mjs +0 -24
  397. package/esm2020/frames/overlay/overlay.module.mjs +0 -26
  398. package/esm2020/frames/scroll/scroll.module.mjs +0 -28
  399. package/esm2020/frames/smart-menu/smart-menu.module.mjs +0 -20
  400. package/esm2020/molecules/actions-column/actions-column.module.mjs +0 -49
  401. package/esm2020/molecules/checkbox-column/checkbox-column.module.mjs +0 -39
  402. package/esm2020/molecules/chips-input-field/chips-input-field.module.mjs +0 -56
  403. package/esm2020/molecules/date-input-field/date-input-field.module.mjs +0 -38
  404. package/esm2020/molecules/header/header.module.mjs +0 -24
  405. package/esm2020/molecules/navigation-list-item/navigation-list-item.module.mjs +0 -38
  406. package/esm2020/molecules/select-input-field/select-input-field.module.mjs +0 -32
  407. package/esm2020/molecules/smart-column/smart-column.module.mjs +0 -56
  408. package/esm2020/molecules/text-input-field/text-input-field.module.mjs +0 -37
  409. package/esm2020/molecules/textarea-field/textarea-field.module.mjs +0 -32
  410. package/esm2020/organisms/action-buttons-section/action-buttons-section.module.mjs +0 -34
  411. package/esm2020/organisms/back-navigator/back-navigator.module.mjs +0 -46
  412. package/esm2020/organisms/card-input-section/card-input-section.module.mjs +0 -27
  413. package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.mjs +0 -31
  414. package/esm2020/organisms/date-input-section/date-input-section.module.mjs +0 -28
  415. package/esm2020/organisms/heading/heading.module.mjs +0 -24
  416. package/esm2020/organisms/navigation-list/navigation-list.module.mjs +0 -34
  417. package/esm2020/organisms/navigator/navigator.module.mjs +0 -42
  418. package/esm2020/organisms/paginator/paginator.module.mjs +0 -45
  419. package/esm2020/organisms/select-input-section/select-input-section.module.mjs +0 -31
  420. package/esm2020/organisms/smart-list/smart-list.module.mjs +0 -39
  421. package/esm2020/organisms/smart-table/smart-table.module.mjs +0 -69
  422. package/esm2020/organisms/social-login-section/social-login-section.module.mjs +0 -31
  423. package/esm2020/organisms/text-input-section/text-input-section.module.mjs +0 -31
  424. package/esm2020/organisms/textarea-section/textarea-section.module.mjs +0 -27
  425. package/esm2020/organisms/top-navigator/top-navigator.module.mjs +0 -42
  426. package/esm2020/templates/entrance/entrance.module.mjs +0 -57
  427. package/esm2020/templates/loading/loading.module.mjs +0 -34
  428. package/esm2020/templates/menu/menu.module.mjs +0 -28
  429. package/frames/auto-layout/auto-layout.module.d.ts +0 -8
  430. package/frames/card/card.module.d.ts +0 -9
  431. package/frames/drawer/drawer.module.d.ts +0 -9
  432. package/frames/overlay/overlay.module.d.ts +0 -9
  433. package/frames/scroll/scroll.module.d.ts +0 -9
  434. package/frames/smart-menu/smart-menu.module.d.ts +0 -8
  435. package/molecules/actions-column/actions-column.module.d.ts +0 -13
  436. package/molecules/checkbox-column/checkbox-column.module.d.ts +0 -10
  437. package/molecules/chips-input-field/chips-input-field.module.d.ts +0 -14
  438. package/molecules/date-input-field/date-input-field.module.d.ts +0 -12
  439. package/molecules/header/header.module.d.ts +0 -8
  440. package/molecules/navigation-list-item/navigation-list-item.module.d.ts +0 -10
  441. package/molecules/select-input-field/select-input-field.module.d.ts +0 -10
  442. package/molecules/smart-column/smart-column.module.d.ts +0 -15
  443. package/molecules/text-input-field/text-input-field.module.d.ts +0 -10
  444. package/molecules/textarea-field/textarea-field.module.d.ts +0 -10
  445. package/organisms/action-buttons-section/action-buttons-section.module.d.ts +0 -9
  446. package/organisms/back-navigator/back-navigator.module.d.ts +0 -12
  447. package/organisms/card-input-section/card-input-section.module.d.ts +0 -9
  448. package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.d.ts +0 -10
  449. package/organisms/date-input-section/date-input-section.module.d.ts +0 -9
  450. package/organisms/heading/heading.module.d.ts +0 -8
  451. package/organisms/navigation-list/navigation-list.module.d.ts +0 -10
  452. package/organisms/navigator/navigator.module.d.ts +0 -12
  453. package/organisms/paginator/paginator.module.d.ts +0 -11
  454. package/organisms/select-input-section/select-input-section.module.d.ts +0 -9
  455. package/organisms/smart-list/smart-list.module.d.ts +0 -12
  456. package/organisms/smart-table/smart-table.module.d.ts +0 -17
  457. package/organisms/social-login-section/social-login-section.module.d.ts +0 -9
  458. package/organisms/text-input-section/text-input-section.module.d.ts +0 -9
  459. package/organisms/textarea-section/textarea-section.module.d.ts +0 -9
  460. package/organisms/top-navigator/top-navigator.module.d.ts +0 -11
  461. package/templates/entrance/entrance.module.d.ts +0 -14
  462. package/templates/loading/loading.module.d.ts +0 -9
  463. package/templates/menu/menu.module.d.ts +0 -9
@@ -0,0 +1,52 @@
1
+ import { __awaiter } from 'tslib';
2
+ import { CommonModule } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { Component, ChangeDetectionStrategy, Input, ViewChild } from '@angular/core';
5
+ import { EditorView } from 'codemirror';
6
+ import { ReplaySubject } from 'rxjs';
7
+
8
+ class EditorComponent {
9
+ constructor() {
10
+ this.state$ = new ReplaySubject(1);
11
+ }
12
+ set state(value) {
13
+ if (!value)
14
+ return;
15
+ this.state$.next(value);
16
+ }
17
+ ngOnInit() {
18
+ return __awaiter(this, void 0, void 0, function* () { });
19
+ }
20
+ ngAfterViewInit() {
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ this.state$.subscribe((state) => {
23
+ if (this.editor) {
24
+ this.editor.dispatch(this.editor.state.update(Object.assign({}, state)), { changes: { from: 0, to: this.editor.state.doc.length, insert: state.doc.toString() } });
25
+ }
26
+ else {
27
+ this.editor = new EditorView({ state, parent: this._editor.nativeElement });
28
+ }
29
+ });
30
+ });
31
+ }
32
+ }
33
+ EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: EditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: EditorComponent, isStandalone: true, selector: "extras-editor", inputs: { state: "state" }, viewQueries: [{ propertyName: "_editor", first: true, predicate: ["editor"], descendants: true, static: true }], ngImport: i0, template: "<div #editor></div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: EditorComponent, decorators: [{
36
+ type: Component,
37
+ args: [{ selector: 'extras-editor', standalone: true, imports: [
38
+ CommonModule
39
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #editor></div>\n", styles: [":host{display:block}\n"] }]
40
+ }], propDecorators: { state: [{
41
+ type: Input
42
+ }], _editor: [{
43
+ type: ViewChild,
44
+ args: ['editor', { static: true }]
45
+ }] } });
46
+
47
+ /**
48
+ * Generated bundle index. Do not edit.
49
+ */
50
+
51
+ export { EditorComponent };
52
+ //# sourceMappingURL=ng-atomic-components-extras-editor.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-extras-editor.mjs","sources":["../../../../../packages/@ng-atomic/components/src/extras/editor/editor.component.ts","../../../../../packages/@ng-atomic/components/src/extras/editor/editor.component.html","../../../../../packages/@ng-atomic/components/src/extras/editor/ng-atomic-components-extras-editor.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild } from '@angular/core';\nimport { EditorState } from '@codemirror/state';\nimport { EditorView } from 'codemirror';\nimport { ReplaySubject } from 'rxjs';\n\n@Component({\n selector: 'extras-editor',\n standalone: true,\n imports: [\n CommonModule\n ],\n templateUrl: './editor.component.html',\n styleUrls: ['./editor.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EditorComponent {\n\n private readonly state$ = new ReplaySubject<EditorState>(1);\n\n @Input()\n set state(value: EditorState | null) {\n if (!value) return;\n this.state$.next(value);\n }\n\n @ViewChild('editor', { static: true })\n private _editor!: ElementRef<HTMLElement>;\n private editor!: EditorView;\n\n async ngOnInit(): Promise<void> { }\n\n async ngAfterViewInit() {\n this.state$.subscribe((state) => {\n if (this.editor) {\n this.editor.dispatch(\n this.editor.state.update({...state}),\n {changes: { from: 0, to: this.editor.state.doc.length, insert: state.doc.toString() }},\n );\n } else {\n this.editor = new EditorView({state, parent: this._editor.nativeElement});\n }\n });\n }\n}\n","<div #editor></div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAgBa,eAAe,CAAA;AAV5B,IAAA,WAAA,GAAA;QAYmB,IAAA,CAAA,MAAM,GAAG,IAAI,aAAa,CAAc,CAAC,CAAC,CAAC;KA0B7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AAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EChB5B,uBACA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDSI,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FAMH,eAAe,EAAA,UAAA,EAAA,CAAA;kBAV3B,SAAS;+BACE,eAAe,EAAA,UAAA,EACb,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;AACb,qBAAA,EAGgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA;8BAO3C,KAAK,EAAA,CAAA;sBADR,KAAK;gBAOE,OAAO,EAAA,CAAA;sBADd,SAAS;gBAAC,IAAA,EAAA,CAAA,QAAQ,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;;;AE1BvC;;AAEG;;;;"}
@@ -1,39 +1,21 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
1
  import { CommonModule } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
4
4
 
5
5
  class AutoLayoutFrame {
6
6
  }
7
7
  AutoLayoutFrame.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AutoLayoutFrame, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
- AutoLayoutFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: AutoLayoutFrame, selector: "frames-auto-layout", ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-HFbl: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-HFbl: var(--vertical-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-HFbl);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-HFbl) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
8
+ AutoLayoutFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: AutoLayoutFrame, isStandalone: true, selector: "frames-auto-layout", ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-QZO8: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-QZO8: var(--vertical-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-QZO8);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-QZO8) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9
9
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AutoLayoutFrame, decorators: [{
10
10
  type: Component,
11
- args: [{ selector: 'frames-auto-layout', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>", styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-HFbl: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-HFbl: var(--vertical-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-HFbl);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-HFbl) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}\n"] }]
12
- }] });
13
-
14
- class AutoLayoutModule {
15
- }
16
- AutoLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AutoLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
17
- AutoLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: AutoLayoutModule, declarations: [AutoLayoutFrame], imports: [CommonModule], exports: [AutoLayoutFrame] });
18
- AutoLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AutoLayoutModule, imports: [CommonModule] });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AutoLayoutModule, decorators: [{
20
- type: NgModule,
21
- args: [{
22
- declarations: [
23
- AutoLayoutFrame
24
- ],
25
- imports: [
26
- CommonModule
27
- ],
28
- exports: [
29
- AutoLayoutFrame
30
- ]
31
- }]
11
+ args: [{ selector: 'frames-auto-layout', standalone: true, imports: [
12
+ CommonModule,
13
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>", styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-QZO8: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-QZO8: var(--vertical-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-QZO8);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-QZO8) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}\n"] }]
32
14
  }] });
33
15
 
34
16
  /**
35
17
  * Generated bundle index. Do not edit.
36
18
  */
37
19
 
38
- export { AutoLayoutFrame, AutoLayoutModule };
20
+ export { AutoLayoutFrame };
39
21
  //# sourceMappingURL=ng-atomic-components-frames-auto-layout.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-auto-layout.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/auto-layout/auto-layout.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/auto-layout/auto-layout.frame.html","../../../../../packages/@ng-atomic/components/src/frames/auto-layout/auto-layout.module.ts","../../../../../packages/@ng-atomic/components/src/frames/auto-layout/ng-atomic-components-frames-auto-layout.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'frames-auto-layout',\n templateUrl: './auto-layout.frame.html',\n styleUrls: ['./auto-layout.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AutoLayoutFrame { }\n","<ng-content></ng-content>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { AutoLayoutFrame } from './auto-layout.frame';\n\n\n@NgModule({\n declarations: [\n AutoLayoutFrame\n ],\n imports: [\n CommonModule\n ],\n exports: [\n AutoLayoutFrame\n ]\n})\nexport class AutoLayoutModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,eAAe,CAAA;;4GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,0DCR5B,2BAAyB,EAAA,MAAA,EAAA,CAAA,4aAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDQZ,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,SAAS;+BACE,oBAAoB,EAAA,eAAA,EAGb,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,CAAA,4aAAA,CAAA,EAAA,CAAA;;;MEWpC,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EATzB,YAAA,EAAA,CAAA,eAAe,CAGf,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,eAAe,CAAA,EAAA,CAAA,CAAA;AAGN,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANzB,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAX5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;AAChB,qBAAA;iBACF,CAAA;;;AChBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-frames-auto-layout.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/auto-layout/auto-layout.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/auto-layout/auto-layout.frame.html","../../../../../packages/@ng-atomic/components/src/frames/auto-layout/ng-atomic-components-frames-auto-layout.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'frames-auto-layout',\n standalone: true,\n imports: [\n CommonModule,\n ],\n templateUrl: './auto-layout.frame.html',\n styleUrls: ['./auto-layout.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AutoLayoutFrame { }\n","<ng-content></ng-content>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAaa,eAAe,CAAA;;4GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;gGAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECb5B,2BAAyB,EAAA,MAAA,EAAA,CAAA,4aAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDOrB,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FAMH,eAAe,EAAA,UAAA,EAAA,CAAA;kBAV3B,SAAS;+BACE,oBAAoB,EAAA,UAAA,EAClB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;AACb,qBAAA,EAGgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,CAAA,4aAAA,CAAA,EAAA,CAAA;;;AEXjD;;AAEG;;;;"}
@@ -1,47 +1,24 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/material/legacy-card';
4
- import { MatLegacyCardModule } from '@angular/material/legacy-card';
5
1
  import { CommonModule } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
4
+ import * as i1 from '@angular/material/card';
5
+ import { MatCardModule } from '@angular/material/card';
6
6
 
7
7
  class CardFrame {
8
8
  }
9
9
  CardFrame.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CardFrame, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
- CardFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: CardFrame, selector: "frames-card", ngImport: i0, template: "<mat-card><ng-content></ng-content></mat-card>", styles: [":host{display:block}:host mat-card{display:flex;justify-content:center;align-items:center;flex-direction:column;box-sizing:border-box;width:100%;height:100%}\n"], dependencies: [{ kind: "component", type: i1.MatLegacyCard, selector: "mat-card", exportAs: ["matCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10
+ CardFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: CardFrame, isStandalone: true, selector: "frames-card", ngImport: i0, template: "<mat-card><ng-content></ng-content></mat-card>", styles: [":host{display:block}:host mat-card{display:flex;justify-content:center;align-items:center;flex-direction:column;box-sizing:border-box;width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11
11
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CardFrame, decorators: [{
12
12
  type: Component,
13
- args: [{ selector: 'frames-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-card><ng-content></ng-content></mat-card>", styles: [":host{display:block}:host mat-card{display:flex;justify-content:center;align-items:center;flex-direction:column;box-sizing:border-box;width:100%;height:100%}\n"] }]
14
- }] });
15
-
16
- class CardModule {
17
- }
18
- CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
19
- CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: CardModule, declarations: [CardFrame], imports: [CommonModule,
20
- // Material
21
- MatLegacyCardModule], exports: [CardFrame] });
22
- CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CardModule, imports: [CommonModule,
23
- // Material
24
- MatLegacyCardModule] });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CardModule, decorators: [{
26
- type: NgModule,
27
- args: [{
28
- declarations: [
29
- CardFrame
30
- ],
31
- imports: [
13
+ args: [{ selector: 'frames-card', standalone: true, imports: [
32
14
  CommonModule,
33
- // Material
34
- MatLegacyCardModule,
35
- ],
36
- exports: [
37
- CardFrame
38
- ]
39
- }]
15
+ MatCardModule,
16
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-card><ng-content></ng-content></mat-card>", styles: [":host{display:block}:host mat-card{display:flex;justify-content:center;align-items:center;flex-direction:column;box-sizing:border-box;width:100%;height:100%}\n"] }]
40
17
  }] });
41
18
 
42
19
  /**
43
20
  * Generated bundle index. Do not edit.
44
21
  */
45
22
 
46
- export { CardFrame, CardModule };
23
+ export { CardFrame };
47
24
  //# sourceMappingURL=ng-atomic-components-frames-card.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-card.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/card/card.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/card/card.frame.html","../../../../../packages/@ng-atomic/components/src/frames/card/card.module.ts","../../../../../packages/@ng-atomic/components/src/frames/card/ng-atomic-components-frames-card.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'frames-card',\n templateUrl: './card.frame.html',\n styleUrls: ['./card.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardFrame { }\n","<mat-card><ng-content></ng-content></mat-card>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatLegacyCardModule as MatCardModule } from '@angular/material/legacy-card';\nimport { CardFrame } from './card.frame';\n\n\n\n@NgModule({\n declarations: [\n CardFrame\n ],\n imports: [\n CommonModule,\n // Material\n MatCardModule,\n ],\n exports: [\n CardFrame\n ]\n})\nexport class CardModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatCardModule"],"mappings":";;;;;;MAQa,SAAS,CAAA;;sGAAT,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAT,SAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,SAAS,mDCRtB,gDAA8C,EAAA,MAAA,EAAA,CAAA,iKAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDQjC,SAAS,EAAA,UAAA,EAAA,CAAA;kBANrB,SAAS;+BACE,aAAa,EAAA,eAAA,EAGN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gDAAA,EAAA,MAAA,EAAA,CAAA,iKAAA,CAAA,EAAA,CAAA;;;MEcpC,UAAU,CAAA;;uGAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;wGAAV,UAAU,EAAA,YAAA,EAAA,CAXnB,SAAS,CAAA,EAAA,OAAA,EAAA,CAGT,YAAY;;QAEZA,mBAAa,aAGb,SAAS,CAAA,EAAA,CAAA,CAAA;AAGA,UAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YARnB,YAAY;;QAEZA,mBAAa,CAAA,EAAA,CAAA,CAAA;2FAMJ,UAAU,EAAA,UAAA,EAAA,CAAA;kBAbtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,SAAS;AACV,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZA,mBAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,SAAS;AACV,qBAAA;iBACF,CAAA;;;ACnBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-frames-card.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/card/card.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/card/card.frame.html","../../../../../packages/@ng-atomic/components/src/frames/card/ng-atomic-components-frames-card.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { MatCardModule } from '@angular/material/card';\n\n@Component({\n selector: 'frames-card',\n standalone: true,\n imports: [\n CommonModule,\n MatCardModule,\n ],\n templateUrl: './card.frame.html',\n styleUrls: ['./card.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CardFrame { }\n","<mat-card><ng-content></ng-content></mat-card>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAea,SAAS,CAAA;;sGAAT,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAT,SAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,SAAS,ECftB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,gDAA8C,EDQ1C,MAAA,EAAA,CAAA,iKAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,8BACZ,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,YAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FAMJ,SAAS,EAAA,UAAA,EAAA,CAAA;kBAXrB,SAAS;+BACE,aAAa,EAAA,UAAA,EACX,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;AACd,qBAAA,EAGgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gDAAA,EAAA,MAAA,EAAA,CAAA,iKAAA,CAAA,EAAA,CAAA;;;AEbjD;;AAEG;;;;"}
@@ -1,8 +1,8 @@
1
+ import { CommonModule } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
- import { Component, ViewChild, Input, NgModule } from '@angular/core';
3
+ import { Component, ViewChild, Input } from '@angular/core';
3
4
  import * as i1 from '@angular/material/sidenav';
4
5
  import { MatDrawer, MatSidenavModule } from '@angular/material/sidenav';
5
- import { CommonModule } from '@angular/common';
6
6
 
7
7
  class DrawerFrame {
8
8
  constructor() {
@@ -27,10 +27,13 @@ class DrawerFrame {
27
27
  }
28
28
  }
29
29
  DrawerFrame.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DrawerFrame, deps: [], target: i0.ɵɵFactoryTarget.Component });
30
- DrawerFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: DrawerFrame, selector: "frames-drawer", inputs: { isOpen: "isOpen" }, viewQueries: [{ propertyName: "drawer", first: true, predicate: MatDrawer, descendants: true }], ngImport: i0, template: "<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>", styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-3nQU: var(--content-width);--height: 100vh;--height-SCOPED-IN-drawer-3nQU: var(--height)}:host{height:var(--height-SCOPED-IN-drawer-3nQU)}:host mat-drawer-content{width:100%}\n"], dependencies: [{ kind: "component", type: i1.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i1.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i1.MatDrawerContent, selector: "mat-drawer-content" }] });
30
+ DrawerFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: DrawerFrame, isStandalone: true, selector: "frames-drawer", inputs: { isOpen: "isOpen" }, viewQueries: [{ propertyName: "drawer", first: true, predicate: MatDrawer, descendants: true }], ngImport: i0, template: "<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>", styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-00wp: var(--content-width);--height: 100vh;--height-SCOPED-IN-drawer-00wp: var(--height)}:host{height:var(--height-SCOPED-IN-drawer-00wp)}:host mat-drawer-content{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatSidenavModule }, { kind: "component", type: i1.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i1.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i1.MatDrawerContent, selector: "mat-drawer-content" }] });
31
31
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DrawerFrame, decorators: [{
32
32
  type: Component,
33
- args: [{ selector: 'frames-drawer', template: "<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>", styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-3nQU: var(--content-width);--height: 100vh;--height-SCOPED-IN-drawer-3nQU: var(--height)}:host{height:var(--height-SCOPED-IN-drawer-3nQU)}:host mat-drawer-content{width:100%}\n"] }]
33
+ args: [{ selector: 'frames-drawer', standalone: true, imports: [
34
+ CommonModule,
35
+ MatSidenavModule,
36
+ ], template: "<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>", styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-00wp: var(--content-width);--height: 100vh;--height-SCOPED-IN-drawer-00wp: var(--height)}:host{height:var(--height-SCOPED-IN-drawer-00wp)}:host mat-drawer-content{width:100%}\n"] }]
34
37
  }], propDecorators: { drawer: [{
35
38
  type: ViewChild,
36
39
  args: [MatDrawer]
@@ -38,28 +41,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
38
41
  type: Input
39
42
  }] } });
40
43
 
41
- class DrawerModule {
42
- }
43
- DrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
44
- DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DrawerModule, declarations: [DrawerFrame], imports: [CommonModule,
45
- MatSidenavModule], exports: [DrawerFrame] });
46
- DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DrawerModule, imports: [CommonModule,
47
- MatSidenavModule] });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DrawerModule, decorators: [{
49
- type: NgModule,
50
- args: [{
51
- declarations: [DrawerFrame],
52
- imports: [
53
- CommonModule,
54
- MatSidenavModule,
55
- ],
56
- exports: [DrawerFrame]
57
- }]
58
- }] });
59
-
60
44
  /**
61
45
  * Generated bundle index. Do not edit.
62
46
  */
63
47
 
64
- export { DrawerFrame, DrawerModule };
48
+ export { DrawerFrame };
65
49
  //# sourceMappingURL=ng-atomic-components-frames-drawer.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-drawer.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/drawer/drawer.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/drawer/drawer.frame.html","../../../../../packages/@ng-atomic/components/src/frames/drawer/drawer.module.ts","../../../../../packages/@ng-atomic/components/src/frames/drawer/ng-atomic-components-frames-drawer.ts"],"sourcesContent":["import { AfterViewInit, ChangeDetectionStrategy, Component, Input, ViewChild } from '@angular/core';\nimport { MatDrawer } from '@angular/material/sidenav';\n\n@Component({\n selector: 'frames-drawer',\n templateUrl: './drawer.frame.html',\n styleUrls: ['./drawer.frame.scss'],\n // changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DrawerFrame implements AfterViewInit {\n\n @ViewChild(MatDrawer)\n drawer!: MatDrawer;\n\n private _isOpen = false;\n\n @Input()\n set isOpen(_isOpen: boolean) {\n console.debug('isOpen:', _isOpen);\n console.debug('this.drawer:', this.drawer);\n _isOpen ? this.drawer?.open() : this.drawer?.close();\n this._isOpen = _isOpen\n }\n\n get isOpen(): boolean {\n return this._isOpen\n }\n\n ngAfterViewInit() {\n setTimeout(() => {\n this.isOpen ? this.drawer?.open() : this.drawer?.close();\n console.debug('this.drawer:', this.drawer);\n\n },0);\n }\n\n}\n","<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatSidenavModule } from '@angular/material/sidenav';\n\nimport { DrawerFrame } from './drawer.frame';\n\n\n\n@NgModule({\n declarations: [DrawerFrame],\n imports: [\n CommonModule,\n MatSidenavModule,\n ],\n exports: [DrawerFrame]\n})\nexport class DrawerModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MASa,WAAW,CAAA;AANxB,IAAA,WAAA,GAAA;AAWU,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;KAsBzB;IApBC,IACI,MAAM,CAAC,OAAgB,EAAA;;AACzB,QAAA,OAAO,CAAC,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAClC,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC3C,OAAO,GAAG,CAAA,EAAA,GAAA,IAAI,CAAC,MAAM,0CAAE,IAAI,EAAE,GAAG,MAAA,IAAI,CAAC,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A,UAAA,EAAA,CAAA;kBARxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,WAAW,CAAC;AAC3B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,gBAAgB;AACjB,qBAAA;oBACD,OAAO,EAAE,CAAC,WAAW,CAAC;iBACvB,CAAA;;;ACfD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-frames-drawer.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/drawer/drawer.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/drawer/drawer.frame.html","../../../../../packages/@ng-atomic/components/src/frames/drawer/ng-atomic-components-frames-drawer.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { AfterViewInit, Component, Input, ViewChild } from '@angular/core';\nimport { MatDrawer, MatSidenavModule } from '@angular/material/sidenav';\n\n@Component({\n selector: 'frames-drawer',\n standalone: true,\n imports: [\n CommonModule,\n MatSidenavModule,\n ],\n templateUrl: './drawer.frame.html',\n styleUrls: ['./drawer.frame.scss'],\n // changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DrawerFrame implements AfterViewInit {\n\n @ViewChild(MatDrawer)\n drawer!: MatDrawer;\n\n private _isOpen = false;\n\n @Input()\n set isOpen(_isOpen: boolean) {\n console.debug('isOpen:', _isOpen);\n console.debug('this.drawer:', this.drawer);\n _isOpen ? this.drawer?.open() : this.drawer?.close();\n this._isOpen = _isOpen\n }\n\n get isOpen(): boolean {\n return this._isOpen\n }\n\n ngAfterViewInit() {\n setTimeout(() => {\n this.isOpen ? this.drawer?.open() : this.drawer?.close();\n console.debug('this.drawer:', this.drawer);\n\n },0);\n }\n\n}\n","<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>","/**\n * Generated bundle index. Do not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AAC,SAAS,CAAA;gBAMhB,MAAM,EAAA,CAAA;sBADT,KAAK;;;AEtBR;;AAEG;;;;"}
@@ -0,0 +1,84 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output } from '@angular/core';
3
+ import * as i2 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i4 from '@angular/material/button';
6
+ import { MatButtonModule } from '@angular/material/button';
7
+ import * as i3 from '@angular/material/icon';
8
+ import { MatIconModule } from '@angular/material/icon';
9
+ import { Subject, ReplaySubject, takeUntil } from 'rxjs';
10
+
11
+ class FabService {
12
+ constructor() {
13
+ this._actions = [];
14
+ this.actionSubject = new Subject();
15
+ this.action$ = this.actionSubject.asObservable();
16
+ }
17
+ get actions() {
18
+ return this._actions;
19
+ }
20
+ onAction(action) {
21
+ this.actionSubject.next(action);
22
+ }
23
+ setActions(actions) {
24
+ this._actions = actions;
25
+ }
26
+ }
27
+ FabService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FabService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
28
+ FabService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FabService, providedIn: 'root' });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FabService, decorators: [{
30
+ type: Injectable,
31
+ args: [{ providedIn: 'root' }]
32
+ }] });
33
+
34
+ class FabFrame {
35
+ constructor(service) {
36
+ this.service = service;
37
+ this.destroy$ = new ReplaySubject(1);
38
+ this.actions = [];
39
+ this.action = new EventEmitter();
40
+ }
41
+ ngOnInit() {
42
+ this.service.action$.pipe(takeUntil(this.destroy$)).subscribe((action) => {
43
+ this.action.emit(action);
44
+ });
45
+ }
46
+ ngOnDestroy() {
47
+ this.destroy$.next();
48
+ }
49
+ }
50
+ FabFrame.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FabFrame, deps: [{ token: FabService }], target: i0.ɵɵFactoryTarget.Component });
51
+ FabFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: FabFrame, isStandalone: true, selector: "frames-fab", inputs: { actions: "actions" }, outputs: { action: "action" }, ngImport: i0, template: `
52
+ <ng-content></ng-content>
53
+ <ng-container *ngFor="let action of actions">
54
+ <button mat-fab color="primary" (click)="service.onAction(action)">
55
+ <mat-icon>{{ action?.icon ?? 'add' }}</mat-icon>
56
+ </button>
57
+ </ng-container>
58
+ `, isInline: true, styles: [":host{display:block;width:100%;height:100%;position:relative}:host button{position:absolute;bottom:16px;right:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatFabButton, selector: "button[mat-fab]", inputs: ["disabled", "disableRipple", "color", "tabIndex", "extended"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FabFrame, decorators: [{
60
+ type: Component,
61
+ args: [{ selector: 'frames-fab', standalone: true, imports: [
62
+ CommonModule,
63
+ MatIconModule,
64
+ MatButtonModule,
65
+ ], template: `
66
+ <ng-content></ng-content>
67
+ <ng-container *ngFor="let action of actions">
68
+ <button mat-fab color="primary" (click)="service.onAction(action)">
69
+ <mat-icon>{{ action?.icon ?? 'add' }}</mat-icon>
70
+ </button>
71
+ </ng-container>
72
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;width:100%;height:100%;position:relative}:host button{position:absolute;bottom:16px;right:16px}\n"] }]
73
+ }], ctorParameters: function () { return [{ type: FabService }]; }, propDecorators: { actions: [{
74
+ type: Input
75
+ }], action: [{
76
+ type: Output
77
+ }] } });
78
+
79
+ /**
80
+ * Generated bundle index. Do not edit.
81
+ */
82
+
83
+ export { FabFrame };
84
+ //# sourceMappingURL=ng-atomic-components-frames-fab.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-frames-fab.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/fab/fab.service.ts","../../../../../packages/@ng-atomic/components/src/frames/fab/fab.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/fab/ng-atomic-components-frames-fab.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { Action } from '@ng-atomic/common/models';\nimport { Subject } from 'rxjs';\n\n@Injectable({providedIn: 'root'})\nexport class FabService {\n private _actions: Action[] = [];\n private actionSubject = new Subject<Action>();\n\n get actions(): Action[] {\n return this._actions;\n }\n\n action$ = this.actionSubject.asObservable();\n\n onAction(action: Action) {\n this.actionSubject.next(action);\n }\n\n setActions(actions: Action[]) {\n this._actions = actions;\n }\n}","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { Action } from '@ng-atomic/common/models';\nimport { FabService } from './fab.service';\nimport { ReplaySubject, takeUntil } from 'rxjs';\n\n@Component({\n selector: 'frames-fab',\n standalone: true,\n imports: [\n CommonModule,\n MatIconModule,\n MatButtonModule,\n ],\n template: `\n <ng-content></ng-content>\n <ng-container *ngFor=\"let action of actions\">\n <button mat-fab color=\"primary\" (click)=\"service.onAction(action)\">\n <mat-icon>{{ action?.icon ?? 'add' }}</mat-icon>\n </button>\n </ng-container>\n `,\n styleUrls: ['./fab.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FabFrame implements OnInit, OnDestroy {\n\n constructor(\n protected service: FabService,\n ) { }\n\n private readonly destroy$ = new ReplaySubject<void>(1);\n\n @Input()\n actions: Action[] = [];\n\n @Output()\n protected action = new EventEmitter<Action>();\n\n ngOnInit(): void {\n this.service.action$.pipe(\n takeUntil(this.destroy$),\n ).subscribe((action) => {\n this.action.emit(action);\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.FabService"],"mappings":";;;;;;;;;;MAKa,UAAU,CAAA;AADvB,IAAA,WAAA,GAAA;AAEU,QAAA,IAAQ,CAAA,QAAA,GAAa,EAAE,CAAC;AACxB,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,OAAO,EAAU,CAAC;QAM9C,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,CAAC;KAS7C;AAbC,IAAA,IAAI,OAAO,GAAA;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;KACtB;AAID,IAAA,QAAQ,CAAC,MAAc,EAAA;AACrB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACjC;AAED,IAAA,UAAU,CAAC,OAAiB,EAAA;AAC1B,QAAA,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;KACzB;;uGAhBU,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAV,UAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,cADE,MAAM,EAAA,CAAA,CAAA;2FAClB,UAAU,EAAA,UAAA,EAAA,CAAA;kBADtB,UAAU;mBAAC,EAAC,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7 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable, Component, ChangeDetectionStrategy, HostBinding, Input, ViewChild } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import { MatLegacyProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';
5
4
  import { Observable, ReplaySubject, BehaviorSubject, combineLatest } from 'rxjs';
6
5
  import { map, startWith, distinctUntilChanged, takeUntil } from 'rxjs/operators';
7
6
  import { trigger, state, style, transition, animate, sequence, query, group } from '@angular/animations';
@@ -156,13 +155,26 @@ class LineUpFrame {
156
155
  }
157
156
  }
158
157
  LineUpFrame.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LineUpFrame, deps: [{ token: LineUpFrameService }], target: i0.ɵɵFactoryTarget.Component });
159
- LineUpFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: LineUpFrame, isStandalone: true, selector: "frames-line-up", inputs: { hasNext: "hasNext", minNextWidth: "minNextWidth" }, host: { properties: { "attr.has-next": "this.hasNext" } }, viewQueries: [{ propertyName: "nextElementRef", first: true, predicate: ["next"], 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-zLSZ: var(--gap);--background: #ccc;--background-SCOPED-IN-line-up-zLSZ: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-line-up-zLSZ: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-zLSZ);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-line-up-zLSZ)}:host div{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-line-up-zLSZ)}:host div.main{overflow:hidden;justify-content:flex-end}:host div.next{overflow:visible;justify-content:flex-start}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatLegacyProgressSpinnerModule }], animations: LINE_UP_ANIMATIONS, changeDetection: i0.ChangeDetectionStrategy.Default });
158
+ LineUpFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: LineUpFrame, isStandalone: true, selector: "frames-line-up", inputs: { hasNext: "hasNext", minNextWidth: "minNextWidth" }, host: { properties: { "attr.has-next": "this.hasNext" } }, viewQueries: [{ propertyName: "nextElementRef", first: true, predicate: ["next"], descendants: true, static: true }], ngImport: i0, template: `
159
+ <div class="main" [@modeChangeForMain]="mode" #main>
160
+ <ng-content select="[main]"></ng-content>
161
+ </div>
162
+ <div class="next" [@modeChangeForNext]="mode" #next>
163
+ <ng-content select="[next]"></ng-content>
164
+ </div>
165
+ `, isInline: true, styles: [":host{--gap: 1px;--gap-SCOPED-IN-line-up-zTh1: var(--gap);--background: #ccc;--background-SCOPED-IN-line-up-zTh1: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-line-up-zTh1: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-zTh1);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-line-up-zTh1)}:host div{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-line-up-zTh1)}:host div.main{overflow:hidden;justify-content:flex-end}:host div.next{overflow:visible;justify-content:flex-start}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], animations: LINE_UP_ANIMATIONS, changeDetection: i0.ChangeDetectionStrategy.Default });
160
166
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LineUpFrame, decorators: [{
161
167
  type: Component,
162
168
  args: [{ standalone: true, imports: [
163
169
  CommonModule,
164
- MatLegacyProgressSpinnerModule
165
- ], selector: 'frames-line-up', changeDetection: ChangeDetectionStrategy.Default, animations: LINE_UP_ANIMATIONS, 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-zLSZ: var(--gap);--background: #ccc;--background-SCOPED-IN-line-up-zLSZ: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-line-up-zLSZ: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-zLSZ);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-line-up-zLSZ)}:host div{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-line-up-zLSZ)}:host div.main{overflow:hidden;justify-content:flex-end}:host div.next{overflow:visible;justify-content:flex-start}\n"] }]
170
+ ], selector: 'frames-line-up', template: `
171
+ <div class="main" [@modeChangeForMain]="mode" #main>
172
+ <ng-content select="[main]"></ng-content>
173
+ </div>
174
+ <div class="next" [@modeChangeForNext]="mode" #next>
175
+ <ng-content select="[next]"></ng-content>
176
+ </div>
177
+ `, changeDetection: ChangeDetectionStrategy.Default, animations: LINE_UP_ANIMATIONS, styles: [":host{--gap: 1px;--gap-SCOPED-IN-line-up-zTh1: var(--gap);--background: #ccc;--background-SCOPED-IN-line-up-zTh1: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-line-up-zTh1: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-zTh1);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-line-up-zTh1)}:host div{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-line-up-zTh1)}:host div.main{overflow:hidden;justify-content:flex-end}:host div.next{overflow:visible;justify-content:flex-start}\n"] }]
166
178
  }], ctorParameters: function () { return [{ type: LineUpFrameService }]; }, propDecorators: { hasNext: [{
167
179
  type: HostBinding,
168
180
  args: ['attr.has-next']
@@ -1 +1 @@
1
- {"version":3,"file":"ng-atomic-components-frames-line-up.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/line-up/line-up.animations.ts","../../../../../packages/@ng-atomic/components/src/frames/line-up/resize-observer.ts","../../../../../packages/@ng-atomic/components/src/frames/line-up/line-up.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/line-up/line-up.frame.html","../../../../../packages/@ng-atomic/components/src/frames/line-up/ng-atomic-components-frames-line-up.ts"],"sourcesContent":["import { animate, query, sequence, state, style, transition, trigger, group } from '@angular/animations';\n\nconst MAIN_ANIMATION = trigger('modeChangeForMain', [\n state('*', style({\n width: '100%',\n })),\n state('Next', style({\n display: 'none',\n width: '0%',\n })),\n transition('* => Next', [\n animate('0.5s', style({ width: '0%' })),\n style({display: 'none'}),\n ]),\n transition('Next => *', [\n sequence([\n style({ display: 'inherit' }),\n animate('0.5s', style({ width: '100%' })),\n ]),\n ]),\n]);\n\nconst NEXT_ANIMATION = trigger('modeChangeForNext', [\n state('Next', style({\n position: 'relative',\n width: '100%',\n })),\n state('Both', style({\n position: 'relative',\n width: '100%',\n })),\n state('Main', style({\n position: 'relative',\n display: 'none',\n })),\n transition('Main => Next', [\n query(':enter', [animate('0.5s')], { optional: true }),\n sequence([\n style({ display: 'inherit', width: '100%' }),\n animate('0.5s'),\n ]),\n ]),\n transition('Main => Both', [\n query(':enter', [animate('0.5s')], { optional: true }),\n sequence([\n style({ display: 'inherit', width: '100%' }),\n animate('0.5s'),\n ]),\n ]),\n transition('Next => Main', group([\n query(':leave', animate('0.5s', style({width: '100%'})), { optional: true }),\n sequence([\n style({position: 'absolute', display: 'block', left: '0%'}),\n animate('0.5s', style({left: '100%'})),\n ]),\n ])),\n transition('Both => Main', group([\n query(':leave', animate('0.5s', style({width: '100%'})), { optional: true }),\n sequence([\n style({position: 'absolute', display: 'block', left: '100%'}),\n animate('0.5s', style({})),\n ]),\n ])),\n]);\n\nexport const LINE_UP_ANIMATIONS = [MAIN_ANIMATION, NEXT_ANIMATION];\n","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: any) => 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","import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Injectable, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatLegacyProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';\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 standalone: true,\n imports: [\n CommonModule,\n MatProgressSpinnerModule\n ],\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<void>(1);\n private readonly destroy$ = new ReplaySubject<void>(1);\n private readonly hasNext$ = new BehaviorSubject(false); \n\n\n private _hasNext = false;\n @HostBinding('attr.has-next')\n @Input()\n set hasNext(_hasNext: boolean) {\n this.hasNext$.next(_hasNext);\n this._hasNext = _hasNext;\n };\n get hasNext(): boolean {\n return this._hasNext;\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>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatProgressSpinnerModule"],"mappings":";;;;;;;;;AAEA,MAAM,cAAc,GAAG,OAAO,CAAC,mBAAmB,EAAE;AAClD,IAAA,KAAK,CAA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iBAMd,kBAAkB,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,OAAA,EAAA,CAAA,CAAA;2FAEnB,WAAW,EAAA,UAAA,EAAA,CAAA;kBAZvB,SAAS;YACI,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZA,8BAAwB;qBACzB,EAAA,QAAA,EACS,gBAAgB,EAGT,eAAA,EAAA,uBAAuB,CAAC,OAAO,cACpC,kBAAkB,EAAA,QAAA,EAAA,kOAAA,EAAA,MAAA,EAAA,CAAA,usBAAA,CAAA,EAAA,CAAA;sGAc1B,OAAO,EAAA,CAAA;sBAFV,WAAW;uBAAC,eAAe,CAAA;;sBAC3B,KAAK;gBAUN,YAAY,EAAA,CAAA;sBADX,KAAK;gBAIN,cAAc,EAAA,CAAA;sBADb,SAAS;gBAAC,IAAA,EAAA,CAAA,MAAM,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAA;;;AExEnC;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-atomic-components-frames-line-up.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/line-up/line-up.animations.ts","../../../../../packages/@ng-atomic/components/src/frames/line-up/resize-observer.ts","../../../../../packages/@ng-atomic/components/src/frames/line-up/line-up.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/line-up/ng-atomic-components-frames-line-up.ts"],"sourcesContent":["import { animate, query, sequence, state, style, transition, trigger, group } from '@angular/animations';\n\nconst MAIN_ANIMATION = trigger('modeChangeForMain', [\n state('*', style({\n width: '100%',\n })),\n state('Next', style({\n display: 'none',\n width: '0%',\n })),\n transition('* => Next', [\n animate('0.5s', style({ width: '0%' })),\n style({display: 'none'}),\n ]),\n transition('Next => *', [\n sequence([\n style({ display: 'inherit' }),\n animate('0.5s', style({ width: '100%' })),\n ]),\n ]),\n]);\n\nconst NEXT_ANIMATION = trigger('modeChangeForNext', [\n state('Next', style({\n position: 'relative',\n width: '100%',\n })),\n state('Both', style({\n position: 'relative',\n width: '100%',\n })),\n state('Main', style({\n position: 'relative',\n display: 'none',\n })),\n transition('Main => Next', [\n query(':enter', [animate('0.5s')], { optional: true }),\n sequence([\n style({ display: 'inherit', width: '100%' }),\n animate('0.5s'),\n ]),\n ]),\n transition('Main => Both', [\n query(':enter', [animate('0.5s')], { optional: true }),\n sequence([\n style({ display: 'inherit', width: '100%' }),\n animate('0.5s'),\n ]),\n ]),\n transition('Next => Main', group([\n query(':leave', animate('0.5s', style({width: '100%'})), { optional: true }),\n sequence([\n style({position: 'absolute', display: 'block', left: '0%'}),\n animate('0.5s', style({left: '100%'})),\n ]),\n ])),\n transition('Both => Main', group([\n query(':leave', animate('0.5s', style({width: '100%'})), { optional: true }),\n sequence([\n style({position: 'absolute', display: 'block', left: '100%'}),\n animate('0.5s', style({})),\n ]),\n ])),\n]);\n\nexport const LINE_UP_ANIMATIONS = [MAIN_ANIMATION, NEXT_ANIMATION];\n","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: any) => 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","import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Injectable, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\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 standalone: true,\n imports: [\n CommonModule,\n ],\n selector: 'frames-line-up',\n template: `\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>\n `,\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<void>(1);\n private readonly destroy$ = new ReplaySubject<void>(1);\n private readonly hasNext$ = new BehaviorSubject(false); \n\n\n private _hasNext = false;\n @HostBinding('attr.has-next')\n @Input()\n set hasNext(_hasNext: boolean) {\n this.hasNext$.next(_hasNext);\n this._hasNext = _hasNext;\n };\n get hasNext(): boolean {\n return this._hasNext;\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAEA,MAAM,cAAc,GAAG,OAAO,CAAC,mBAAmB,EAAE;AAClD,IAAA,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC;AACf,QAAA,KAAK,EAAE,MAAM;AACd,KAAA,CAAC,CAAC;AACH,IAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA,CAAC,CAAC;IACH,UAAU,CAAC,WAAW,EAAE;QACtB,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACvC,QAAA,KAAK,CAAC,EAAC,OAAO,EAAE,MAAM,EAAC,CAAC;KACzB,CAAC;IACF,UAAU,CAAC,WAAW,EAAE;AACtB,QAAA,QAAQ,CAAC;AACP,YAAA,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;YAC7B,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;SAC1C,CAAC;KACH,CAAC;AACH,CAAA,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,OAAO,CAAC,mBAAmB,EAAE;AAClD,IAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,KAAK,EAAE,MAAM;AACd,KAAA,CAAC,CAAC;AACH,IAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,QAAA,QAAQ,EAAE,UAAU;AACpB,QAA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AIN,cAAc,EAAA,CAAA;sBADb,SAAS;gBAAC,IAAA,EAAA,CAAA,MAAM,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAA;;;AC7EnC;;AAEG;;;;"}
@@ -0,0 +1,36 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i2 from '@angular/material/progress-spinner';
6
+ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
7
+
8
+ class LoadingFrame {
9
+ constructor() {
10
+ this.isLoading = false;
11
+ }
12
+ }
13
+ LoadingFrame.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingFrame, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ LoadingFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: LoadingFrame, isStandalone: true, selector: "frames-loading", inputs: { isLoading: "isLoading" }, ngImport: i0, template: `
15
+ <div class="contents"><ng-content></ng-content></div>
16
+ <div class="loading" *ngIf="isLoading"><mat-spinner></mat-spinner></div>
17
+ `, isInline: true, styles: [":host{position:relative;display:block;width:100%;height:100%}:host .loading{position:absolute;z-index:10000;display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:#0006}:host .contents{position:absolute;top:0;left:0;display:block;width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LoadingFrame, decorators: [{
19
+ type: Component,
20
+ args: [{ selector: 'frames-loading', standalone: true, imports: [
21
+ CommonModule,
22
+ MatProgressSpinnerModule,
23
+ ], template: `
24
+ <div class="contents"><ng-content></ng-content></div>
25
+ <div class="loading" *ngIf="isLoading"><mat-spinner></mat-spinner></div>
26
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:relative;display:block;width:100%;height:100%}:host .loading{position:absolute;z-index:10000;display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:#0006}:host .contents{position:absolute;top:0;left:0;display:block;width:100%;height:100%}\n"] }]
27
+ }], propDecorators: { isLoading: [{
28
+ type: Input
29
+ }] } });
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { LoadingFrame };
36
+ //# sourceMappingURL=ng-atomic-components-frames-loading.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-components-frames-loading.mjs","sources":["../../../../../packages/@ng-atomic/components/src/frames/loading/loading.frame.ts","../../../../../packages/@ng-atomic/components/src/frames/loading/ng-atomic-components-frames-loading.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\n\n@Component({\n selector: 'frames-loading',\n standalone: true,\n imports: [\n CommonModule,\n MatProgressSpinnerModule,\n ],\n template: `\n <div class=\"contents\"><ng-content></ng-content></div>\n <div class=\"loading\" *ngIf=\"isLoading\"><mat-spinner></mat-spinner></div>\n `,\n styleUrls: ['./loading.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class LoadingFrame {\n\n @Input()\n isLoading = false;\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAkBa,YAAY,CAAA;AAdzB,IAAA,WAAA,GAAA;AAiBE,QAAA,IAAS,CAAA,SAAA,GAAG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