@ng-atomic/components 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/smart-menu-button/index.d.ts +2 -0
- package/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.d.ts +5 -0
- package/atoms/smart-menu-button/package.json +10 -0
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +9 -0
- package/atoms/smart-menu-button/smart-menu-button.module.d.ts +11 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js +102 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js.map +1 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js +2 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-drawer.umd.js +104 -0
- package/bundles/ng-atomic-components-frames-drawer.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js +570 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-line-up.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js +120 -0
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-overlay.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-overlay.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js +106 -0
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js +26 -17
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js +1 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js +116 -0
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js +1 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +1 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js +21 -12
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js +2 -2
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +2 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +12 -7
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +12 -341
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js +1 -15
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js +7 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js +8 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js +21 -21
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.js +12 -0
- package/bundles/ng-atomic-components-pages-blank.umd.js.map +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.min.js +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.js +16 -6
- package/bundles/ng-atomic-components-templates-entrance.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-templates-menu.umd.js +96 -0
- package/bundles/ng-atomic-components-templates-menu.umd.js.map +1 -0
- package/bundles/ng-atomic-components-templates-menu.umd.min.js +2 -0
- package/bundles/ng-atomic-components-templates-menu.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.js +20 -8
- package/bundles/ng-atomic-components-templates-smart-index.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js.map +1 -1
- package/esm2015/atoms/smart-menu-button/index.js +3 -0
- package/esm2015/atoms/smart-menu-button/index.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js +5 -0
- package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js +28 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js +38 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js.map +1 -0
- package/esm2015/frames/auto-layout/auto-layout.frame.js +1 -1
- package/esm2015/frames/drawer/drawer.frame.js +31 -0
- package/esm2015/frames/drawer/drawer.frame.js.map +1 -0
- package/esm2015/frames/drawer/drawer.module.js +27 -0
- package/esm2015/frames/drawer/drawer.module.js.map +1 -0
- package/esm2015/frames/drawer/index.js +3 -0
- package/esm2015/frames/drawer/index.js.map +1 -0
- package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js +5 -0
- package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js.map +1 -0
- package/esm2015/frames/line-up/line-up.frame.js +1 -1
- package/esm2015/frames/line-up-v2/index.js +3 -0
- package/esm2015/frames/line-up-v2/index.js.map +1 -0
- package/esm2015/frames/line-up-v2/line-up.animations.js +64 -0
- package/esm2015/frames/line-up-v2/line-up.animations.js.map +1 -0
- package/esm2015/frames/line-up-v2/line-up.frame.js +97 -0
- package/esm2015/frames/line-up-v2/line-up.frame.js.map +1 -0
- package/esm2015/frames/line-up-v2/line-up.module.js +27 -0
- package/esm2015/frames/line-up-v2/line-up.module.js.map +1 -0
- package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js +5 -0
- package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js.map +1 -0
- package/esm2015/frames/line-up-v2/resize-observer.js +13 -0
- package/esm2015/frames/line-up-v2/resize-observer.js.map +1 -0
- package/esm2015/frames/overlay/overlay.frame.js +1 -1
- package/esm2015/frames/overlay-v2/index.js +3 -0
- package/esm2015/frames/overlay-v2/index.js.map +1 -0
- package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js +5 -0
- package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js.map +1 -0
- package/esm2015/frames/overlay-v2/overlay.animations.js +28 -0
- package/esm2015/frames/overlay-v2/overlay.animations.js.map +1 -0
- package/esm2015/frames/overlay-v2/overlay.frame.js +23 -0
- package/esm2015/frames/overlay-v2/overlay.frame.js.map +1 -0
- package/esm2015/frames/overlay-v2/overlay.module.js +29 -0
- package/esm2015/frames/overlay-v2/overlay.module.js.map +1 -0
- package/esm2015/frames/scroll/scroll.frame.js +1 -1
- package/esm2015/frames/smart-menu/index.js +3 -0
- package/esm2015/frames/smart-menu/index.js.map +1 -0
- package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js +5 -0
- package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js.map +1 -0
- package/esm2015/frames/smart-menu/smart-menu.frame.js +39 -0
- package/esm2015/frames/smart-menu/smart-menu.frame.js.map +1 -0
- package/esm2015/frames/smart-menu/smart-menu.module.js +23 -0
- package/esm2015/frames/smart-menu/smart-menu.module.js.map +1 -0
- package/esm2015/molecules/actions-column/actions-column.module.js +8 -1
- package/esm2015/molecules/actions-column/actions-column.module.js.map +1 -1
- package/esm2015/molecules/actions-column/actions-column.molecule.js +5 -5
- package/esm2015/molecules/actions-column/actions-column.molecule.js.map +1 -1
- package/esm2015/molecules/date-input-field/date-input-field.module.js +39 -0
- package/esm2015/molecules/date-input-field/date-input-field.module.js.map +1 -0
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js +44 -0
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js.map +1 -0
- package/esm2015/molecules/date-input-field/index.js +3 -0
- package/esm2015/molecules/date-input-field/index.js.map +1 -0
- package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js +5 -0
- package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js.map +1 -0
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js +1 -1
- package/esm2015/molecules/smart-column/smart-column.module.js +4 -0
- package/esm2015/molecules/smart-column/smart-column.module.js.map +1 -1
- package/esm2015/molecules/smart-column/smart-column.molecule.js +12 -4
- package/esm2015/molecules/smart-column/smart-column.molecule.js.map +1 -1
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js +2 -1
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.module.js +7 -4
- package/esm2015/organisms/back-navigator/back-navigator.module.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.organism.js +4 -2
- package/esm2015/organisms/back-navigator/back-navigator.organism.js.map +1 -1
- package/esm2015/organisms/date-input-section/date-input-section.module.js +5 -18
- package/esm2015/organisms/date-input-section/date-input-section.module.js.map +1 -1
- package/esm2015/organisms/date-input-section/date-input-section.organism.js +6 -10
- package/esm2015/organisms/date-input-section/date-input-section.organism.js.map +1 -1
- package/esm2015/organisms/heading/heading.organism.js +1 -1
- package/esm2015/organisms/input-field-section/input-field-section.organism.js +7 -1
- package/esm2015/organisms/input-field-section/input-field-section.organism.js.map +1 -1
- package/esm2015/organisms/menu/menu.organism.js +1 -1
- package/esm2015/organisms/menu/menu.organism.js.map +1 -1
- package/esm2015/organisms/select-input-section/select-input-section.organism.js +1 -1
- package/esm2015/organisms/smart-table/smart-table.organism.js +8 -1
- package/esm2015/organisms/smart-table/smart-table.organism.js.map +1 -1
- package/esm2015/organisms/social-login-section/social-login-section.organism.js +1 -1
- package/esm2015/organisms/top-navigator/top-navigator.module.js +9 -10
- package/esm2015/organisms/top-navigator/top-navigator.module.js.map +1 -1
- package/esm2015/organisms/top-navigator/top-navigator.organism.js +6 -9
- package/esm2015/organisms/top-navigator/top-navigator.organism.js.map +1 -1
- package/esm2015/pages/blank/blank.route.js +6 -0
- package/esm2015/pages/blank/blank.route.js.map +1 -0
- package/esm2015/pages/blank/index.js +1 -0
- package/esm2015/pages/blank/index.js.map +1 -1
- package/esm2015/templates/entrance/entrance.template.js +13 -2
- package/esm2015/templates/entrance/entrance.template.js.map +1 -1
- package/esm2015/templates/menu/index.js +3 -0
- package/esm2015/templates/menu/index.js.map +1 -0
- package/esm2015/templates/menu/menu.module.js +30 -0
- package/esm2015/templates/menu/menu.module.js.map +1 -0
- package/esm2015/templates/menu/menu.template.js +25 -0
- package/esm2015/templates/menu/menu.template.js.map +1 -0
- package/esm2015/templates/menu/ng-atomic-components-templates-menu.js +5 -0
- package/esm2015/templates/menu/ng-atomic-components-templates-menu.js.map +1 -0
- package/esm2015/templates/smart-crud/smart-crud.template.js +1 -1
- package/esm2015/templates/smart-crud/smart-crud.template.js.map +1 -1
- package/esm2015/templates/smart-index/smart-index.template.js +15 -2
- package/esm2015/templates/smart-index/smart-index.template.js.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js +66 -0
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-auto-layout.js +1 -1
- package/fesm2015/ng-atomic-components-frames-drawer.js +60 -0
- package/fesm2015/ng-atomic-components-frames-drawer.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js +200 -0
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-line-up.js +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js +83 -0
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-overlay.js +1 -1
- package/fesm2015/ng-atomic-components-frames-scroll.js +1 -1
- package/fesm2015/ng-atomic-components-frames-smart-menu.js +66 -0
- package/fesm2015/ng-atomic-components-frames-smart-menu.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-actions-column.js +16 -6
- package/fesm2015/ng-atomic-components-molecules-actions-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js +83 -0
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js +1 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.js +14 -4
- package/fesm2015/ng-atomic-components-molecules-smart-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js +2 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js +11 -6
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js +10 -25
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-heading.js +1 -1
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js +7 -1
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-menu.js +2 -2
- package/fesm2015/ng-atomic-components-organisms-menu.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.js +1 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.js +8 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.js +1 -1
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js +15 -16
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-pages-blank.js +12 -1
- package/fesm2015/ng-atomic-components-pages-blank.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.js +13 -2
- package/fesm2015/ng-atomic-components-templates-entrance.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.js +58 -0
- package/fesm2015/ng-atomic-components-templates-menu.js.map +1 -0
- package/fesm2015/ng-atomic-components-templates-smart-crud.js +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.js +14 -2
- package/fesm2015/ng-atomic-components-templates-smart-index.js.map +1 -1
- package/frames/drawer/drawer.frame.d.ts +10 -0
- package/frames/drawer/drawer.module.d.ts +9 -0
- package/frames/drawer/index.d.ts +2 -0
- package/frames/drawer/ng-atomic-components-frames-drawer.d.ts +5 -0
- package/frames/drawer/package.json +10 -0
- package/frames/line-up-v2/index.d.ts +2 -0
- package/frames/line-up-v2/line-up.animations.d.ts +1 -0
- package/frames/line-up-v2/line-up.frame.d.ts +35 -0
- package/frames/line-up-v2/line-up.module.d.ts +9 -0
- package/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.d.ts +5 -0
- package/frames/line-up-v2/package.json +10 -0
- package/frames/line-up-v2/resize-observer.d.ts +3 -0
- package/frames/overlay-v2/index.d.ts +2 -0
- package/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.d.ts +5 -0
- package/frames/overlay-v2/overlay.animations.d.ts +1 -0
- package/frames/overlay-v2/overlay.frame.d.ts +6 -0
- package/frames/overlay-v2/overlay.module.d.ts +9 -0
- package/frames/overlay-v2/package.json +10 -0
- package/frames/smart-menu/index.d.ts +2 -0
- package/frames/smart-menu/ng-atomic-components-frames-smart-menu.d.ts +5 -0
- package/frames/smart-menu/package.json +10 -0
- package/frames/smart-menu/smart-menu.frame.d.ts +13 -0
- package/frames/smart-menu/smart-menu.module.d.ts +8 -0
- package/molecules/actions-column/actions-column.module.d.ts +2 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +1 -0
- package/molecules/date-input-field/date-input-field.module.d.ts +12 -0
- package/molecules/date-input-field/date-input-field.molecule.d.ts +13 -0
- package/molecules/date-input-field/index.d.ts +2 -0
- package/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.d.ts +5 -0
- package/molecules/date-input-field/package.json +10 -0
- package/molecules/smart-column/smart-column.module.d.ts +3 -2
- package/molecules/smart-column/smart-column.molecule.d.ts +4 -1
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -0
- package/organisms/back-navigator/back-navigator.module.d.ts +2 -2
- package/organisms/back-navigator/back-navigator.organism.d.ts +2 -1
- package/organisms/date-input-section/date-input-section.module.d.ts +2 -5
- package/organisms/date-input-section/date-input-section.organism.d.ts +0 -1
- package/organisms/input-field-section/input-field-section.organism.d.ts +3 -1
- package/organisms/smart-table/smart-table.organism.d.ts +4 -1
- package/organisms/top-navigator/top-navigator.module.d.ts +4 -5
- package/organisms/top-navigator/top-navigator.organism.d.ts +4 -4
- package/package.json +1 -1
- package/pages/blank/blank.route.d.ts +2 -0
- package/pages/blank/index.d.ts +1 -0
- package/templates/entrance/entrance.template.d.ts +7 -1
- package/templates/menu/index.d.ts +2 -0
- package/templates/menu/menu.module.d.ts +9 -0
- package/templates/menu/menu.template.d.ts +9 -0
- package/templates/menu/ng-atomic-components-templates-menu.d.ts +5 -0
- package/templates/menu/package.json +10 -0
- package/templates/smart-index/smart-index.template.d.ts +7 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@ng-atomic/components/frames/auto-layout'), require('@ng-atomic/components/frames/scroll'), require('@ng-atomic/components/organisms/smart-table'), require('@ng-atomic/components/organisms/back-navigator'), require('@ng-atomic/components/organisms/paginator'), require('@ngneat/reactive-forms')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@ng-atomic/components/templates/smart-index', ['exports', '@angular/core', '@angular/common', '@ng-atomic/components/frames/auto-layout', '@ng-atomic/components/frames/scroll', '@ng-atomic/components/organisms/smart-table', '@ng-atomic/components/organisms/back-navigator', '@ng-atomic/components/organisms/paginator', '@ngneat/reactive-forms'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['ng-atomic'] = global['ng-atomic'] || {}, global['ng-atomic'].components = global['ng-atomic'].components || {}, global['ng-atomic'].components.templates = global['ng-atomic'].components.templates || {}, global['ng-atomic'].components.templates['smart-index'] = {}), global.ng.core, global.ng.common, global['ng-atomic'].components.frames['auto-layout'], global['ng-atomic'].components.frames.scroll, global['ng-atomic'].components.organisms['smart-table'], global['ng-atomic'].components.organisms['back-navigator'], global['ng-atomic'].components.organisms.paginator, global.reactiveForms));
|
|
5
|
-
}(this, (function (exports, i0,
|
|
5
|
+
}(this, (function (exports, i0, i5, i3, i1, i4, i2, i6, reactiveForms) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -67,16 +67,18 @@
|
|
|
67
67
|
pageSize: 20,
|
|
68
68
|
length: 100,
|
|
69
69
|
};
|
|
70
|
+
this.pageSizeOptions = [5, 10, 25, 100];
|
|
70
71
|
this.queryPlaceholder = '';
|
|
71
72
|
this.actionItemClick = new i0.EventEmitter();
|
|
72
73
|
this.backButtonClick = new i0.EventEmitter();
|
|
73
74
|
this.checkboxClick = new i0.EventEmitter();
|
|
74
75
|
this.pageChange = new i0.EventEmitter();
|
|
76
|
+
this.tableHeaderClick = new i0.EventEmitter();
|
|
75
77
|
}
|
|
76
78
|
return SmartIndexTemplate;
|
|
77
79
|
}());
|
|
78
80
|
SmartIndexTemplate.ɵfac = function SmartIndexTemplate_Factory(t) { return new (t || SmartIndexTemplate)(); };
|
|
79
|
-
SmartIndexTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SmartIndexTemplate, selector: "templates-smart-index", inputs: { canBack: "canBack", queryControl: "queryControl", title: "title", items: "items", actionItems: "actionItems", menuActionItems: "menuActionItems", properties: "properties", selectedIdSet: "selectedIdSet", page: "page", queryPlaceholder: "queryPlaceholder" }, outputs: { actionItemClick: "actionItemClick", backButtonClick: "backButtonClick", checkboxClick: "checkboxClick", pageChange: "pageChange" }, host: { classAttribute: "template" }, ngImport: i0__namespace, template: "<frames-scroll>\n <organisms-back-navigator\n [canBack]=\"canBack\"\n [title]=\"title\" \n [actionItems]=\"menuActionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <organisms-smart-table\n [items]=\"items\"\n [actionItems]=\"actionItems\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></organisms-smart-table>\n <organisms-paginator\n [control]=\"queryControl\"\n [page]=\"page\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--navigator-height:56px;--navigator-height-SCOPED-IN-smart-index-
|
|
81
|
+
SmartIndexTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SmartIndexTemplate, selector: "templates-smart-index", inputs: { canBack: "canBack", queryControl: "queryControl", title: "title", description: "description", items: "items", actionItems: "actionItems", menuActionItems: "menuActionItems", properties: "properties", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder", page: "page", pageSizeOptions: "pageSizeOptions", queryPlaceholder: "queryPlaceholder" }, outputs: { actionItemClick: "actionItemClick", backButtonClick: "backButtonClick", checkboxClick: "checkboxClick", pageChange: "pageChange", tableHeaderClick: "tableHeaderClick" }, host: { classAttribute: "template" }, ngImport: i0__namespace, template: "<frames-scroll>\n <organisms-back-navigator\n [canBack]=\"canBack\"\n [title]=\"title\"\n [description]=\"description\"\n [actionItems]=\"menuActionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <organisms-smart-table\n [items]=\"items\"\n [actionItems]=\"actionItems\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"tableHeaderClick.emit($event)\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--navigator-height:56px;--navigator-height-SCOPED-IN-smart-index-Z3oK:var(--navigator-height);width:100%;height:100%;background:#fff;display:block}:host frames-auto-layout{--gap:0;--vertical-padding:0}"], directives: [{ type: i1.ScrollFrame, selector: "frames-scroll" }, { type: i2.BackNavigatorOrganism, selector: "organisms-back-navigator", inputs: ["canBack", "title", "description", "actionItems"], outputs: ["backButtonClick", "actionItemClick"] }, { type: i3.AutoLayoutFrame, selector: "frames-auto-layout" }, { type: i4.SmartTableOrganism, selector: "organisms-smart-table", inputs: ["columns", "items", "patientsSize", "pageSize", "actionItems", "selectedIdSet", "sortKey", "sortOrder"], outputs: ["actionItemClick", "headerClick", "checkboxClick", "pageChange", "itemCheck"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.PaginatorOrganism, selector: "organisms-paginator", inputs: ["control", "placeholder", "page", "pageSizeOptions"], outputs: ["pageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
80
82
|
(function () {
|
|
81
83
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartIndexTemplate, [{
|
|
82
84
|
type: i0.Component,
|
|
@@ -93,6 +95,8 @@
|
|
|
93
95
|
type: i0.Input
|
|
94
96
|
}], title: [{
|
|
95
97
|
type: i0.Input
|
|
98
|
+
}], description: [{
|
|
99
|
+
type: i0.Input
|
|
96
100
|
}], items: [{
|
|
97
101
|
type: i0.Input
|
|
98
102
|
}], actionItems: [{
|
|
@@ -103,8 +107,14 @@
|
|
|
103
107
|
type: i0.Input
|
|
104
108
|
}], selectedIdSet: [{
|
|
105
109
|
type: i0.Input
|
|
110
|
+
}], sortKey: [{
|
|
111
|
+
type: i0.Input
|
|
112
|
+
}], sortOrder: [{
|
|
113
|
+
type: i0.Input
|
|
106
114
|
}], page: [{
|
|
107
115
|
type: i0.Input
|
|
116
|
+
}], pageSizeOptions: [{
|
|
117
|
+
type: i0.Input
|
|
108
118
|
}], queryPlaceholder: [{
|
|
109
119
|
type: i0.Input
|
|
110
120
|
}], actionItemClick: [{
|
|
@@ -115,6 +125,8 @@
|
|
|
115
125
|
type: i0.Output
|
|
116
126
|
}], pageChange: [{
|
|
117
127
|
type: i0.Output
|
|
128
|
+
}], tableHeaderClick: [{
|
|
129
|
+
type: i0.Output
|
|
118
130
|
}] });
|
|
119
131
|
})();
|
|
120
132
|
|
|
@@ -126,22 +138,22 @@
|
|
|
126
138
|
SmartIndexModule.ɵfac = function SmartIndexModule_Factory(t) { return new (t || SmartIndexModule)(); };
|
|
127
139
|
SmartIndexModule.ɵmod = i0.ɵɵdefineNgModule({ type: SmartIndexModule });
|
|
128
140
|
SmartIndexModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
129
|
-
|
|
141
|
+
i5.CommonModule,
|
|
130
142
|
// Frames
|
|
131
143
|
i3.AutoLayoutModule,
|
|
132
144
|
i1.ScrollModule,
|
|
133
145
|
// Organisms
|
|
134
|
-
|
|
146
|
+
i6.PaginatorModule,
|
|
135
147
|
i4.SmartTableModule,
|
|
136
148
|
i2.BackNavigatorModule,
|
|
137
149
|
]] });
|
|
138
150
|
(function () {
|
|
139
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmartIndexModule, { declarations: [SmartIndexTemplate], imports: [
|
|
151
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmartIndexModule, { declarations: [SmartIndexTemplate], imports: [i5.CommonModule,
|
|
140
152
|
// Frames
|
|
141
153
|
i3.AutoLayoutModule,
|
|
142
154
|
i1.ScrollModule,
|
|
143
155
|
// Organisms
|
|
144
|
-
|
|
156
|
+
i6.PaginatorModule,
|
|
145
157
|
i4.SmartTableModule,
|
|
146
158
|
i2.BackNavigatorModule], exports: [SmartIndexTemplate] });
|
|
147
159
|
})();
|
|
@@ -153,12 +165,12 @@
|
|
|
153
165
|
SmartIndexTemplate
|
|
154
166
|
],
|
|
155
167
|
imports: [
|
|
156
|
-
|
|
168
|
+
i5.CommonModule,
|
|
157
169
|
// Frames
|
|
158
170
|
i3.AutoLayoutModule,
|
|
159
171
|
i1.ScrollModule,
|
|
160
172
|
// Organisms
|
|
161
|
-
|
|
173
|
+
i6.PaginatorModule,
|
|
162
174
|
i4.SmartTableModule,
|
|
163
175
|
i2.BackNavigatorModule,
|
|
164
176
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-smart-index.umd.js","sources":["../../../../libs/components/templates/smart-index/smart-index.template.ts","../../../../libs/components/templates/smart-index/smart-index.template.html","../../../../libs/components/templates/smart-index/smart-index.module.ts","../../../../libs/components/templates/smart-index/ng-atomic-components-templates-smart-index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { ActionItem } from '@ng-atomic/common/models';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport interface Page extends PageEvent { }\n\nexport class Page {\n static fromObj(event: PageEvent = {pageSize: 50, pageIndex: 0, length: 100}): Page {\n return Object.assign(new Page(), event);\n }\n\n get start(): number {\n return this.pageIndex * this.pageSize;\n }\n\n get end(): number {\n return Math.min((this.pageIndex + 1) * this.pageSize, this.length);\n }\n\n patch(obj: Partial<PageEvent>): Page {\n return Page.fromObj({...this, ...obj});\n }\n}\n\n@Component({\n selector: 'templates-smart-index',\n templateUrl: './smart-index.template.html',\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n})\nexport class SmartIndexTemplate<T> {\n\n @Input()\n canBack = false;\n\n @Input()\n queryControl = new FormControl<string>();\n\n @Input()\n title: string = '';\n\n @Input()\n items: T[] = [];\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Input()\n menuActionItems: ActionItem[] = [];\n\n @Input()\n properties: (keyof T)[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n page
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-smart-index.umd.js","sources":["../../../../libs/components/templates/smart-index/smart-index.template.ts","../../../../libs/components/templates/smart-index/smart-index.template.html","../../../../libs/components/templates/smart-index/smart-index.module.ts","../../../../libs/components/templates/smart-index/ng-atomic-components-templates-smart-index.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { ActionItem } from '@ng-atomic/common/models';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport interface Page extends PageEvent { }\n\nexport class Page {\n static fromObj(event: PageEvent = {pageSize: 50, pageIndex: 0, length: 100}): Page {\n return Object.assign(new Page(), event);\n }\n\n get start(): number {\n return this.pageIndex * this.pageSize;\n }\n\n get end(): number {\n return Math.min((this.pageIndex + 1) * this.pageSize, this.length);\n }\n\n patch(obj: Partial<PageEvent>): Page {\n return Page.fromObj({...this, ...obj});\n }\n}\n\n@Component({\n selector: 'templates-smart-index',\n templateUrl: './smart-index.template.html',\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n})\nexport class SmartIndexTemplate<T> {\n\n @Input()\n canBack = false;\n\n @Input()\n queryControl = new FormControl<string>();\n\n @Input()\n title: string = '';\n\n @Input()\n description?: string;\n\n @Input()\n items: T[] = [];\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Input()\n menuActionItems: ActionItem[] = [];\n\n @Input()\n properties: (keyof T)[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: string;\n\n @Input()\n page?: PageEvent = {\n pageIndex: 0,\n pageSize: 20,\n length: 100,\n };\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Input()\n queryPlaceholder = '';\n\n @Output()\n actionItemClick = new EventEmitter();\n\n @Output()\n backButtonClick = new EventEmitter();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n @Output()\n tableHeaderClick = new EventEmitter<string>();\n\n}\n","<frames-scroll>\n <organisms-back-navigator\n [canBack]=\"canBack\"\n [title]=\"title\"\n [description]=\"description\"\n [actionItems]=\"menuActionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <organisms-smart-table\n [items]=\"items\"\n [actionItems]=\"actionItems\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"tableHeaderClick.emit($event)\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </frames-auto-layout>\n</frames-scroll>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollModule } from '@ng-atomic/components/frames/scroll';\nimport { SmartTableModule } from '@ng-atomic/components/organisms/smart-table';\nimport { BackNavigatorModule } from '@ng-atomic/components/organisms/back-navigator';\nimport { PaginatorModule } from '@ng-atomic/components/organisms/paginator';\n\nimport { SmartIndexTemplate } from './smart-index.template';\n\n\n\n@NgModule({\n declarations: [\n SmartIndexTemplate\n ],\n imports: [\n CommonModule,\n // Frames\n AutoLayoutModule,\n ScrollModule,\n // Organisms\n PaginatorModule,\n SmartTableModule,\n BackNavigatorModule,\n ],\n exports: [\n SmartIndexTemplate\n ]\n})\nexport class SmartIndexModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["FormControl","EventEmitter","Component","ChangeDetectionStrategy","Input","Output","CommonModule","AutoLayoutModule","ScrollModule","PaginatorModule","SmartTableModule","BackNavigatorModule","NgModule"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@ng-atomic/components/frames/auto-layout"),require("@ng-atomic/components/frames/scroll"),require("@ng-atomic/components/organisms/smart-table"),require("@ng-atomic/components/organisms/back-navigator"),require("@ng-atomic/components/organisms/paginator"),require("@ngneat/reactive-forms")):"function"==typeof define&&define.amd?define("@ng-atomic/components/templates/smart-index",["exports","@angular/core","@angular/common","@ng-atomic/components/frames/auto-layout","@ng-atomic/components/frames/scroll","@ng-atomic/components/organisms/smart-table","@ng-atomic/components/organisms/back-navigator","@ng-atomic/components/organisms/paginator","@ngneat/reactive-forms"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self)["ng-atomic"]=e["ng-atomic"]||{},e["ng-atomic"].components=e["ng-atomic"].components||{},e["ng-atomic"].components.templates=e["ng-atomic"].components.templates||{},e["ng-atomic"].components.templates["smart-index"]={}),e.ng.core,e.ng.common,e["ng-atomic"].components.frames["auto-layout"],e["ng-atomic"].components.frames.scroll,e["ng-atomic"].components.organisms["smart-table"],e["ng-atomic"].components.organisms["back-navigator"],e["ng-atomic"].components.organisms.paginator,e.reactiveForms)}(this,(function(e,t,n,o,a,i,r,c
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@ng-atomic/components/frames/auto-layout"),require("@ng-atomic/components/frames/scroll"),require("@ng-atomic/components/organisms/smart-table"),require("@ng-atomic/components/organisms/back-navigator"),require("@ng-atomic/components/organisms/paginator"),require("@ngneat/reactive-forms")):"function"==typeof define&&define.amd?define("@ng-atomic/components/templates/smart-index",["exports","@angular/core","@angular/common","@ng-atomic/components/frames/auto-layout","@ng-atomic/components/frames/scroll","@ng-atomic/components/organisms/smart-table","@ng-atomic/components/organisms/back-navigator","@ng-atomic/components/organisms/paginator","@ngneat/reactive-forms"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self)["ng-atomic"]=e["ng-atomic"]||{},e["ng-atomic"].components=e["ng-atomic"].components||{},e["ng-atomic"].components.templates=e["ng-atomic"].components.templates||{},e["ng-atomic"].components.templates["smart-index"]={}),e.ng.core,e.ng.common,e["ng-atomic"].components.frames["auto-layout"],e["ng-atomic"].components.frames.scroll,e["ng-atomic"].components.organisms["smart-table"],e["ng-atomic"].components.organisms["back-navigator"],e["ng-atomic"].components.organisms.paginator,e.reactiveForms)}(this,(function(e,t,n,o,a,i,r,s,c){"use strict";function l(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var m=l(t),p=function(){function e(){}return e.fromObj=function(t){return void 0===t&&(t={pageSize:50,pageIndex:0,length:100}),Object.assign(new e,t)},Object.defineProperty(e.prototype,"start",{get:function(){return this.pageIndex*this.pageSize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return Math.min((this.pageIndex+1)*this.pageSize,this.length)},enumerable:!1,configurable:!0}),e.prototype.patch=function(t){return e.fromObj(Object.assign(Object.assign({},this),t))},e}(),u=function(){this.canBack=!1,this.queryControl=new c.FormControl,this.title="",this.items=[],this.actionItems=[],this.menuActionItems=[],this.properties=[],this.selectedIdSet=new Set,this.page={pageIndex:0,pageSize:20,length:100},this.pageSizeOptions=[5,10,25,100],this.queryPlaceholder="",this.actionItemClick=new t.EventEmitter,this.backButtonClick=new t.EventEmitter,this.checkboxClick=new t.EventEmitter,this.pageChange=new t.EventEmitter,this.tableHeaderClick=new t.EventEmitter};u.ɵfac=function(e){return new(e||u)},u.ɵcmp=t.ɵɵngDeclareComponent({version:"11.2.14",type:u,selector:"templates-smart-index",inputs:{canBack:"canBack",queryControl:"queryControl",title:"title",description:"description",items:"items",actionItems:"actionItems",menuActionItems:"menuActionItems",properties:"properties",selectedIdSet:"selectedIdSet",sortKey:"sortKey",sortOrder:"sortOrder",page:"page",pageSizeOptions:"pageSizeOptions",queryPlaceholder:"queryPlaceholder"},outputs:{actionItemClick:"actionItemClick",backButtonClick:"backButtonClick",checkboxClick:"checkboxClick",pageChange:"pageChange",tableHeaderClick:"tableHeaderClick"},host:{classAttribute:"template"},ngImport:m,template:'<frames-scroll>\n <organisms-back-navigator\n [canBack]="canBack"\n [title]="title"\n [description]="description"\n [actionItems]="menuActionItems"\n (actionItemClick)="actionItemClick.emit($event)"\n (backButtonClick)="backButtonClick.emit()"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <organisms-smart-table\n [items]="items"\n [actionItems]="actionItems"\n [columns]="properties"\n [selectedIdSet]="selectedIdSet"\n [sortKey]="sortKey"\n [sortOrder]="sortOrder"\n (actionItemClick)="actionItemClick.emit($event)"\n (checkboxClick)="checkboxClick.emit($event)"\n (headerClick)="tableHeaderClick.emit($event)"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf="page"\n [control]="queryControl"\n [page]="page"\n [pageSizeOptions]="pageSizeOptions"\n [placeholder]="queryPlaceholder"\n (pageChange)="pageChange.emit($event)"\n ></organisms-paginator>\n </frames-auto-layout>\n</frames-scroll>',styles:[":host{--navigator-height:56px;--navigator-height-SCOPED-IN-smart-index-Z3oK:var(--navigator-height);width:100%;height:100%;background:#fff;display:block}:host frames-auto-layout{--gap:0;--vertical-padding:0}"],directives:[{type:a.ScrollFrame,selector:"frames-scroll"},{type:r.BackNavigatorOrganism,selector:"organisms-back-navigator",inputs:["canBack","title","description","actionItems"],outputs:["backButtonClick","actionItemClick"]},{type:o.AutoLayoutFrame,selector:"frames-auto-layout"},{type:i.SmartTableOrganism,selector:"organisms-smart-table",inputs:["columns","items","patientsSize","pageSize","actionItems","selectedIdSet","sortKey","sortOrder"],outputs:["actionItemClick","headerClick","checkboxClick","pageChange","itemCheck"]},{type:n.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{type:s.PaginatorOrganism,selector:"organisms-paginator",inputs:["control","placeholder","page","pageSizeOptions"],outputs:["pageChange"]}],changeDetection:t.ChangeDetectionStrategy.OnPush}),("undefined"==typeof ngDevMode||ngDevMode)&&t.ɵsetClassMetadata(u,[{type:t.Component,args:[{selector:"templates-smart-index",templateUrl:"./smart-index.template.html",styleUrls:["./smart-index.template.scss"],changeDetection:t.ChangeDetectionStrategy.OnPush,host:{class:"template"}}]}],null,{canBack:[{type:t.Input}],queryControl:[{type:t.Input}],title:[{type:t.Input}],description:[{type:t.Input}],items:[{type:t.Input}],actionItems:[{type:t.Input}],menuActionItems:[{type:t.Input}],properties:[{type:t.Input}],selectedIdSet:[{type:t.Input}],sortKey:[{type:t.Input}],sortOrder:[{type:t.Input}],page:[{type:t.Input}],pageSizeOptions:[{type:t.Input}],queryPlaceholder:[{type:t.Input}],actionItemClick:[{type:t.Output}],backButtonClick:[{type:t.Output}],checkboxClick:[{type:t.Output}],pageChange:[{type:t.Output}],tableHeaderClick:[{type:t.Output}]});var g=function(){};g.ɵfac=function(e){return new(e||g)},g.ɵmod=t.ɵɵdefineNgModule({type:g}),g.ɵinj=t.ɵɵdefineInjector({imports:[[n.CommonModule,o.AutoLayoutModule,a.ScrollModule,s.PaginatorModule,i.SmartTableModule,r.BackNavigatorModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&t.ɵɵsetNgModuleScope(g,{declarations:[u],imports:[n.CommonModule,o.AutoLayoutModule,a.ScrollModule,s.PaginatorModule,i.SmartTableModule,r.BackNavigatorModule],exports:[u]}),("undefined"==typeof ngDevMode||ngDevMode)&&t.ɵsetClassMetadata(g,[{type:t.NgModule,args:[{declarations:[u],imports:[n.CommonModule,o.AutoLayoutModule,a.ScrollModule,s.PaginatorModule,i.SmartTableModule,r.BackNavigatorModule],exports:[u]}]}],null,null),e.Page=p,e.SmartIndexModule=g,e.SmartIndexTemplate=u,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=ng-atomic-components-templates-smart-index.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../libs/components/templates/smart-index/smart-index.template.ts","../../../../libs/components/templates/smart-index/smart-index.template.html","../../../../libs/components/templates/smart-index/smart-index.module.ts"],"names":["Page","fromObj","event","pageSize","pageIndex","length","Object","assign","defineProperty","prototype","this","Math","min","patch","obj","canBack","queryControl","FormControl","title","items","actionItems","menuActionItems","properties","selectedIdSet","Set","page","queryPlaceholder","actionItemClick","EventEmitter","backButtonClick","checkboxClick","pageChange","SmartIndexTemplate","selector","inputs","outputs","host","classAttribute","ngImport","i0__namespace","template","styles","directives","type","i1","ScrollFrame","i2","BackNavigatorOrganism","i3","AutoLayoutFrame","i4","SmartTableOrganism","i5","PaginatorOrganism","changeDetection","i0","ChangeDetectionStrategy","OnPush","Component","templateUrl","styleUrls","class","Input","Output","SmartIndexModule","CommonModule","AutoLayoutModule","ScrollModule","PaginatorModule","SmartTableModule","BackNavigatorModule","declarations","imports","exports","NgModule"],"mappings":"gsDAOA,SAAAA,YACSA,EAAAC,QAAP,SAAeC,GACb,YADa,IAAAA,IAAAA,EAAA,CAAoBC,SAAU,GAAIC,UAAW,EAAGC,OAAQ,MAC9DC,OAAOC,OAAO,IAAIP,EAAQE,IAGnCI,OAAAE,eAAIR,EAAAS,UAAA,QAAK,KAAT,WACE,OAAOC,KAAKN,UAAYM,KAAKP,0CAG/BG,OAAAE,eAAIR,EAAAS,UAAA,MAAG,KAAP,WACE,OAAOE,KAAKC,KAAKF,KAAKN,UAAY,GAAKM,KAAKP,SAAUO,KAAKL,yCAG7DL,EAAAS,UAAAI,MAAA,SAAMC,GACJ,OAAOd,EAAKC,QAAOK,OAAAC,OAAAD,OAAAC,OAAA,GAAKG,MAASI,YAIrC,WAUEJ,KAAAK,SAAU,EAGVL,KAAAM,aAAe,IAAIC,EAAAA,YAGnBP,KAAAQ,MAAgB,
|
|
1
|
+
{"version":3,"sources":["../../../../libs/components/templates/smart-index/smart-index.template.ts","../../../../libs/components/templates/smart-index/smart-index.template.html","../../../../libs/components/templates/smart-index/smart-index.module.ts"],"names":["Page","fromObj","event","pageSize","pageIndex","length","Object","assign","defineProperty","prototype","this","Math","min","patch","obj","canBack","queryControl","FormControl","title","items","actionItems","menuActionItems","properties","selectedIdSet","Set","page","pageSizeOptions","queryPlaceholder","actionItemClick","EventEmitter","backButtonClick","checkboxClick","pageChange","tableHeaderClick","SmartIndexTemplate","selector","inputs","description","sortKey","sortOrder","outputs","host","classAttribute","ngImport","i0__namespace","template","styles","directives","type","i1","ScrollFrame","i2","BackNavigatorOrganism","i3","AutoLayoutFrame","i4","SmartTableOrganism","i5","NgIf","i6","PaginatorOrganism","changeDetection","i0","ChangeDetectionStrategy","OnPush","Component","templateUrl","styleUrls","class","Input","Output","SmartIndexModule","CommonModule","AutoLayoutModule","ScrollModule","PaginatorModule","SmartTableModule","BackNavigatorModule","declarations","imports","exports","NgModule"],"mappings":"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","sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { ActionItem } from '@ng-atomic/common/models';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport interface Page extends PageEvent { }\n\nexport class Page {\n static fromObj(event: PageEvent = {pageSize: 50, pageIndex: 0, length: 100}): Page {\n return Object.assign(new Page(), event);\n }\n\n get start(): number {\n return this.pageIndex * this.pageSize;\n }\n\n get end(): number {\n return Math.min((this.pageIndex + 1) * this.pageSize, this.length);\n }\n\n patch(obj: Partial<PageEvent>): Page {\n return Page.fromObj({...this, ...obj});\n }\n}\n\n@Component({\n selector: 'templates-smart-index',\n templateUrl: './smart-index.template.html',\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n})\nexport class SmartIndexTemplate<T> {\n\n @Input()\n canBack = false;\n\n @Input()\n queryControl = new FormControl<string>();\n\n @Input()\n title: string = '';\n\n @Input()\n description?: string;\n\n @Input()\n items: T[] = [];\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Input()\n menuActionItems: ActionItem[] = [];\n\n @Input()\n properties: (keyof T)[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: string;\n\n @Input()\n page?: PageEvent = {\n pageIndex: 0,\n pageSize: 20,\n length: 100,\n };\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Input()\n queryPlaceholder = '';\n\n @Output()\n actionItemClick = new EventEmitter();\n\n @Output()\n backButtonClick = new EventEmitter();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n @Output()\n tableHeaderClick = new EventEmitter<string>();\n\n}\n","<frames-scroll>\n <organisms-back-navigator\n [canBack]=\"canBack\"\n [title]=\"title\"\n [description]=\"description\"\n [actionItems]=\"menuActionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <organisms-smart-table\n [items]=\"items\"\n [actionItems]=\"actionItems\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"tableHeaderClick.emit($event)\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </frames-auto-layout>\n</frames-scroll>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { ScrollModule } from '@ng-atomic/components/frames/scroll';\nimport { SmartTableModule } from '@ng-atomic/components/organisms/smart-table';\nimport { BackNavigatorModule } from '@ng-atomic/components/organisms/back-navigator';\nimport { PaginatorModule } from '@ng-atomic/components/organisms/paginator';\n\nimport { SmartIndexTemplate } from './smart-index.template';\n\n\n\n@NgModule({\n declarations: [\n SmartIndexTemplate\n ],\n imports: [\n CommonModule,\n // Frames\n AutoLayoutModule,\n ScrollModule,\n // Organisms\n PaginatorModule,\n SmartTableModule,\n BackNavigatorModule,\n ],\n exports: [\n SmartIndexTemplate\n ]\n})\nexport class SmartIndexModule { }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/atoms/smart-menu-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC","sourcesContent":["export { SmartMenuButtonAtom } from './smart-menu-button.atom';\nexport { SmartMenuButtonModule } from './smart-menu-button.module';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-atoms-smart-menu-button.js","sourceRoot":"","sources":["../../../../../../libs/components/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/material/button";
|
|
5
|
+
import * as i3 from "@angular/material/icon";
|
|
6
|
+
import * as i4 from "@angular/material/menu";
|
|
7
|
+
export class SmartMenuButtonAtom {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.actionItems = [];
|
|
10
|
+
this.actionItemClick = new EventEmitter();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
SmartMenuButtonAtom.ɵfac = function SmartMenuButtonAtom_Factory(t) { return new (t || SmartMenuButtonAtom)(); };
|
|
14
|
+
SmartMenuButtonAtom.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: { actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"actionItems.length\">\n <ng-container *ngSwitchCase=\"0\"></ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <button mat-icon-button (click)=\"actionItemClick.emit([actionItems[0]])\">\n <mat-icon>{{ actionItems[0]?.icon }}</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"actionItems.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let actionItem of actionItems\"\n mat-menu-item \n (click)=\"actionItemClick.emit([actionItem])\"\n >{{ actionItem.name }}</button>\n</mat-menu>\n", styles: [":host{display:block;width:100%;height:100%}"], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: i4.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartMenuButtonAtom, [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{
|
|
18
|
+
selector: 'atoms-smart-menu-button',
|
|
19
|
+
templateUrl: './smart-menu-button.atom.html',
|
|
20
|
+
styleUrls: ['./smart-menu-button.atom.scss'],
|
|
21
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
22
|
+
}]
|
|
23
|
+
}], null, { actionItems: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], actionItemClick: [{
|
|
26
|
+
type: Output
|
|
27
|
+
}] }); })();
|
|
28
|
+
//# sourceMappingURL=smart-menu-button.atom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-menu-button.atom.js","sourceRoot":"","sources":["../../../../../../libs/components/atoms/smart-menu-button/smart-menu-button.atom.ts","../../../../../../libs/components/atoms/smart-menu-button/smart-menu-button.atom.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;;;;;AAShG,MAAM,OAAO,mBAAmB;IANhC;QAQE,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAc,CAAC;KAClD;;sFANY,mBAAmB;+EAAnB,mBAAmB,wJCThC,0tBAqBA;uFDZa,mBAAmB;cAN/B,SAAS;eAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,WAAW,EAAE,+BAA+B;gBAC5C,SAAS,EAAE,CAAC,+BAA+B,CAAC;gBAC5C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAGC,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM","sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'atoms-smart-menu-button',\n templateUrl: './smart-menu-button.atom.html',\n styleUrls: ['./smart-menu-button.atom.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartMenuButtonAtom {\n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n actionItemClick = new EventEmitter<ActionItem>();\n}\n","<ng-container [ngSwitch]=\"actionItems.length\">\n <ng-container *ngSwitchCase=\"0\"></ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <button mat-icon-button (click)=\"actionItemClick.emit([actionItems[0]])\">\n <mat-icon>{{ actionItems[0]?.icon }}</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"actionItems.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let actionItem of actionItems\"\n mat-menu-item \n (click)=\"actionItemClick.emit([actionItem])\"\n >{{ actionItem.name }}</button>\n</mat-menu>\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
+
import { MatMenuModule } from '@angular/material/menu';
|
|
6
|
+
import { SmartMenuButtonAtom } from './smart-menu-button.atom';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class SmartMenuButtonModule {
|
|
9
|
+
}
|
|
10
|
+
SmartMenuButtonModule.ɵfac = function SmartMenuButtonModule_Factory(t) { return new (t || SmartMenuButtonModule)(); };
|
|
11
|
+
SmartMenuButtonModule.ɵmod = i0.ɵɵdefineNgModule({ type: SmartMenuButtonModule });
|
|
12
|
+
SmartMenuButtonModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
13
|
+
CommonModule,
|
|
14
|
+
// Material
|
|
15
|
+
MatButtonModule,
|
|
16
|
+
MatIconModule,
|
|
17
|
+
MatMenuModule,
|
|
18
|
+
]] });
|
|
19
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmartMenuButtonModule, { declarations: [SmartMenuButtonAtom], imports: [CommonModule,
|
|
20
|
+
// Material
|
|
21
|
+
MatButtonModule,
|
|
22
|
+
MatIconModule,
|
|
23
|
+
MatMenuModule], exports: [SmartMenuButtonAtom] }); })();
|
|
24
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartMenuButtonModule, [{
|
|
25
|
+
type: NgModule,
|
|
26
|
+
args: [{
|
|
27
|
+
declarations: [SmartMenuButtonAtom],
|
|
28
|
+
imports: [
|
|
29
|
+
CommonModule,
|
|
30
|
+
// Material
|
|
31
|
+
MatButtonModule,
|
|
32
|
+
MatIconModule,
|
|
33
|
+
MatMenuModule,
|
|
34
|
+
],
|
|
35
|
+
exports: [SmartMenuButtonAtom]
|
|
36
|
+
}]
|
|
37
|
+
}], null, null); })();
|
|
38
|
+
//# sourceMappingURL=smart-menu-button.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-menu-button.module.js","sourceRoot":"","sources":["../../../../../../libs/components/atoms/smart-menu-button/smart-menu-button.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;;AAe/D,MAAM,OAAO,qBAAqB;;0FAArB,qBAAqB;yDAArB,qBAAqB;6DATvB;YACP,YAAY;YACZ,WAAW;YACX,eAAe;YACf,aAAa;YACb,aAAa;SACd;wFAGU,qBAAqB,mBAVjB,mBAAmB,aAEhC,YAAY;QACZ,WAAW;QACX,eAAe;QACf,aAAa;QACb,aAAa,aAEL,mBAAmB;uFAElB,qBAAqB;cAXjC,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;oBACZ,WAAW;oBACX,eAAe;oBACf,aAAa;oBACb,aAAa;iBACd;gBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;aAC/B","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { SmartMenuButtonAtom } from './smart-menu-button.atom';\n\n\n\n@NgModule({\n declarations: [SmartMenuButtonAtom],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatMenuModule,\n ],\n exports: [SmartMenuButtonAtom]\n})\nexport class SmartMenuButtonModule { }\n"]}
|
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export class AutoLayoutFrame {
|
|
4
4
|
}
|
|
5
5
|
AutoLayoutFrame.ɵfac = function AutoLayoutFrame_Factory(t) { return new (t || AutoLayoutFrame)(); };
|
|
6
|
-
AutoLayoutFrame.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: AutoLayoutFrame, selector: "frames-auto-layout", ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{--gap:24px;--gap-SCOPED-IN-auto-layout-
|
|
6
|
+
AutoLayoutFrame.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: AutoLayoutFrame, selector: "frames-auto-layout", ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{--gap:24px;--gap-SCOPED-IN-auto-layout-EzXF:var(--gap);--vertical-padding:24px;--vertical-padding-SCOPED-IN-auto-layout-EzXF:var(--vertical-padding);display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-EzXF);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-EzXF) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7
7
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AutoLayoutFrame, [{
|
|
8
8
|
type: Component,
|
|
9
9
|
args: [{
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewChild } from '@angular/core';
|
|
2
|
+
import { MatDrawer } from '@angular/material/sidenav';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/material/sidenav";
|
|
5
|
+
export class DrawerFrame {
|
|
6
|
+
set isOpen(_isOpen) {
|
|
7
|
+
var _a, _b;
|
|
8
|
+
_isOpen ? (_a = this.drawer) === null || _a === void 0 ? void 0 : _a.open() : (_b = this.drawer) === null || _b === void 0 ? void 0 : _b.close();
|
|
9
|
+
this._isOpen = _isOpen;
|
|
10
|
+
}
|
|
11
|
+
get isOpen() {
|
|
12
|
+
return this._isOpen;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
DrawerFrame.ɵfac = function DrawerFrame_Factory(t) { return new (t || DrawerFrame)(); };
|
|
16
|
+
DrawerFrame.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: DrawerFrame, selector: "frames-drawer", inputs: { isOpen: "isOpen" }, viewQueries: [{ propertyName: "drawer", first: true, predicate: MatDrawer, emitDistinctChangesOnly: false, 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-eRPS:var(--content-width)}:host mat-drawer-content{width:100%}"], directives: [{ type: i1.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { type: i1.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { type: i1.MatDrawerContent, selector: "mat-drawer-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerFrame, [{
|
|
18
|
+
type: Component,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: 'frames-drawer',
|
|
21
|
+
templateUrl: './drawer.frame.html',
|
|
22
|
+
styleUrls: ['./drawer.frame.scss'],
|
|
23
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24
|
+
}]
|
|
25
|
+
}], null, { drawer: [{
|
|
26
|
+
type: ViewChild,
|
|
27
|
+
args: [MatDrawer]
|
|
28
|
+
}], isOpen: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}] }); })();
|
|
31
|
+
//# sourceMappingURL=drawer.frame.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.frame.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/drawer/drawer.frame.ts","../../../../../../libs/components/frames/drawer/drawer.frame.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;;;AAQtD,MAAM,OAAO,WAAW;IAOtB,IACI,MAAM,CAAC,OAAgB;;QACzB,OAAO,CAAC,CAAC,OAAC,IAAI,CAAC,MAAM,0CAAE,IAAI,GAAG,CAAC,OAAC,IAAI,CAAC,MAAM,0CAAE,KAAK,EAAE,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAA;IACrB,CAAC;;sEAfU,WAAW;uEAAX,WAAW,2HAEX,SAAS,gFCXtB,oRASuB;uFDAV,WAAW;cANvB,SAAS;eAAC;gBACT,QAAQ,EAAE,eAAe;gBACzB,WAAW,EAAE,qBAAqB;gBAClC,SAAS,EAAE,CAAC,qBAAqB,CAAC;gBAClC,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAIC,MAAM;kBADL,SAAS;mBAAC,SAAS;YAMhB,MAAM;kBADT,KAAK","sourcesContent":["import { 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 {\n\n @ViewChild(MatDrawer)\n drawer!: MatDrawer;\n\n private _isOpen: boolean;\n\n @Input()\n set isOpen(_isOpen: boolean) {\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}\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>"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { DrawerFrame } from './drawer.frame';
|
|
4
|
+
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class DrawerModule {
|
|
7
|
+
}
|
|
8
|
+
DrawerModule.ɵfac = function DrawerModule_Factory(t) { return new (t || DrawerModule)(); };
|
|
9
|
+
DrawerModule.ɵmod = i0.ɵɵdefineNgModule({ type: DrawerModule });
|
|
10
|
+
DrawerModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
11
|
+
CommonModule,
|
|
12
|
+
MatSidenavModule,
|
|
13
|
+
]] });
|
|
14
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrawerModule, { declarations: [DrawerFrame], imports: [CommonModule,
|
|
15
|
+
MatSidenavModule], exports: [DrawerFrame] }); })();
|
|
16
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerModule, [{
|
|
17
|
+
type: NgModule,
|
|
18
|
+
args: [{
|
|
19
|
+
declarations: [DrawerFrame],
|
|
20
|
+
imports: [
|
|
21
|
+
CommonModule,
|
|
22
|
+
MatSidenavModule,
|
|
23
|
+
],
|
|
24
|
+
exports: [DrawerFrame]
|
|
25
|
+
}]
|
|
26
|
+
}], null, null); })();
|
|
27
|
+
//# sourceMappingURL=drawer.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.module.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/drawer/drawer.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;;AAY7D,MAAM,OAAO,YAAY;;wEAAZ,YAAY;gDAAZ,YAAY;oDANd;YACP,YAAY;YACZ,gBAAgB;SACjB;wFAGU,YAAY,mBAPR,WAAW,aAExB,YAAY;QACZ,gBAAgB,aAER,WAAW;uFAEV,YAAY;cARxB,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,WAAW,CAAC;gBAC3B,OAAO,EAAE;oBACP,YAAY;oBACZ,gBAAgB;iBACjB;gBACD,OAAO,EAAE,CAAC,WAAW,CAAC;aACvB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DrawerFrame } from './drawer.frame';\nimport { MatSidenavModule } from '@angular/material/sidenav';\n\n\n\n@NgModule({\n declarations: [DrawerFrame],\n imports: [\n CommonModule,\n MatSidenavModule,\n ],\n exports: [DrawerFrame]\n})\nexport class DrawerModule { }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { DrawerFrame } from './drawer.frame';\nexport { DrawerModule } from './drawer.module';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-drawer.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/drawer/ng-atomic-components-frames-drawer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -42,7 +42,7 @@ export class LineUpFrame {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
LineUpFrame.ɵfac = function LineUpFrame_Factory(t) { return new (t || LineUpFrame)(i0.ɵɵdirectiveInject(LineUpService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
45
|
-
LineUpFrame.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: LineUpFrame, selector: "frames-line-up", inputs: { label: "label", outlet: "outlet", minNextWidth: "minNextWidth" }, host: { properties: { "attr.is-main-hidden": "this.isMainHidden" } }, viewQueries: [{ propertyName: "next", first: true, predicate: ["next"], emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<div class=\"main contents\" [@visibleHidden]=\"isMainHidden ? 'hidden' : 'visible' \" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next contents\" [@pageChange]=\"page\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>", styles: [":host{--gap:1px;--gap-SCOPED-IN-line-up-
|
|
45
|
+
LineUpFrame.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: LineUpFrame, selector: "frames-line-up", inputs: { label: "label", outlet: "outlet", minNextWidth: "minNextWidth" }, host: { properties: { "attr.is-main-hidden": "this.isMainHidden" } }, viewQueries: [{ propertyName: "next", first: true, predicate: ["next"], emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<div class=\"main contents\" [@visibleHidden]=\"isMainHidden ? 'hidden' : 'visible' \" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next contents\" [@pageChange]=\"page\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>", styles: [":host{--gap:1px;--gap-SCOPED-IN-line-up-qL4N:var(--gap);--background:#ccc;--background-SCOPED-IN-line-up-qL4N:var(--background);--contents-background:transparent;--contents-background-SCOPED-IN-line-up-qL4N:var(--contents-background);position:relative;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-qL4N);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background:var(--background-SCOPED-IN-line-up-qL4N)}:host,:host .contents{display:flex;height:100%}:host .contents{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;background:var(--contents-background-SCOPED-IN-line-up-qL4N)}:host .contents.main{overflow:hidden;justify-content:flex-end}:host .contents.next{overflow:visible;justify-content:flex-start}"], animations: LINE_UP_ANIMATIONS, changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
46
46
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LineUpFrame, [{
|
|
47
47
|
type: Component,
|
|
48
48
|
args: [{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/line-up-v2/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["export * from './line-up.frame';\nexport { LineUpModule } from './line-up.module';\n"]}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { animate, query, sequence, state, style, transition, trigger, group } from '@angular/animations';
|
|
2
|
+
const MAIN_ANIMATION = trigger('modeChangeForMain', [
|
|
3
|
+
state('*', style({
|
|
4
|
+
width: '100%',
|
|
5
|
+
})),
|
|
6
|
+
state('Next', style({
|
|
7
|
+
display: 'none',
|
|
8
|
+
width: '0%',
|
|
9
|
+
})),
|
|
10
|
+
transition('* => Next', [
|
|
11
|
+
animate('0.5s', style({ width: '0%' })),
|
|
12
|
+
style({ display: 'none' }),
|
|
13
|
+
]),
|
|
14
|
+
transition('Next => *', [
|
|
15
|
+
sequence([
|
|
16
|
+
style({ display: 'inherit' }),
|
|
17
|
+
animate('0.5s', style({ width: '100%' })),
|
|
18
|
+
]),
|
|
19
|
+
]),
|
|
20
|
+
]);
|
|
21
|
+
const NEXT_ANIMATION = trigger('modeChangeForNext', [
|
|
22
|
+
state('Next', style({
|
|
23
|
+
position: 'relative',
|
|
24
|
+
width: '100%',
|
|
25
|
+
})),
|
|
26
|
+
state('Both', style({
|
|
27
|
+
position: 'relative',
|
|
28
|
+
width: '100%',
|
|
29
|
+
})),
|
|
30
|
+
state('Main', style({
|
|
31
|
+
position: 'relative',
|
|
32
|
+
display: 'none',
|
|
33
|
+
})),
|
|
34
|
+
transition('Main => Next', [
|
|
35
|
+
query(':enter', [animate('0.5s')], { optional: true }),
|
|
36
|
+
sequence([
|
|
37
|
+
style({ display: 'inherit', width: '100%' }),
|
|
38
|
+
animate('0.5s'),
|
|
39
|
+
]),
|
|
40
|
+
]),
|
|
41
|
+
transition('Main => Both', [
|
|
42
|
+
query(':enter', [animate('0.5s')], { optional: true }),
|
|
43
|
+
sequence([
|
|
44
|
+
style({ display: 'inherit', width: '100%' }),
|
|
45
|
+
animate('0.5s'),
|
|
46
|
+
]),
|
|
47
|
+
]),
|
|
48
|
+
transition('Next => Main', group([
|
|
49
|
+
query(':leave', animate('0.5s', style({ width: '100%' })), { optional: true }),
|
|
50
|
+
sequence([
|
|
51
|
+
style({ position: 'absolute', display: 'block', left: '0%' }),
|
|
52
|
+
animate('0.5s', style({ left: '100%' })),
|
|
53
|
+
]),
|
|
54
|
+
])),
|
|
55
|
+
transition('Both => Main', group([
|
|
56
|
+
query(':leave', animate('0.5s', style({ width: '100%' })), { optional: true }),
|
|
57
|
+
sequence([
|
|
58
|
+
style({ position: 'absolute', display: 'block', left: '100%' }),
|
|
59
|
+
animate('0.5s', style({})),
|
|
60
|
+
]),
|
|
61
|
+
])),
|
|
62
|
+
]);
|
|
63
|
+
export const LINE_UP_ANIMATIONS = [MAIN_ANIMATION, NEXT_ANIMATION];
|
|
64
|
+
//# sourceMappingURL=line-up.animations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"line-up.animations.js","sourceRoot":"","sources":["../../../../../../libs/components/frames/line-up-v2/line-up.animations.ts"],"names":[],"mappings":"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","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"]}
|