@ng-atomic/components 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-card.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-card.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-card.umd.min.js.map +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 +9 -6
- package/bundles/ng-atomic-components-organisms-heading.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js.map +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 +19 -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 +25 -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/card/card.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 +9 -3
- package/esm2015/organisms/heading/heading.organism.js.map +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 +16 -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 +20 -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-card.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 +9 -4
- package/fesm2015/ng-atomic-components-organisms-heading.js.map +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 +16 -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 +19 -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/heading/heading.organism.d.ts +2 -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 +3 -9
- package/pages/blank/blank.route.d.ts +2 -0
- package/pages/blank/index.d.ts +1 -0
- package/templates/entrance/entrance.template.d.ts +8 -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
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, Input, Output, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
3
|
+
import { NgSwitch, NgSwitchCase, NgSwitchDefault, NgIf, NgForOf, CommonModule } from '@angular/common';
|
|
4
|
+
import { MatButton, MatButtonModule } from '@angular/material/button';
|
|
5
|
+
import { MatIcon, MatIconModule } from '@angular/material/icon';
|
|
6
|
+
import { MatMenuTrigger, MatMenu, MatMenuItem, MatMenuModule } from '@angular/material/menu';
|
|
7
|
+
|
|
8
|
+
class SmartMenuButtonAtom {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.actionItems = [];
|
|
11
|
+
this.actionItemClick = new EventEmitter();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
SmartMenuButtonAtom.ɵfac = function SmartMenuButtonAtom_Factory(t) { return new (t || SmartMenuButtonAtom)(); };
|
|
15
|
+
SmartMenuButtonAtom.ɵcmp = ɵɵ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: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
16
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartMenuButtonAtom, [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: 'atoms-smart-menu-button',
|
|
20
|
+
templateUrl: './smart-menu-button.atom.html',
|
|
21
|
+
styleUrls: ['./smart-menu-button.atom.scss'],
|
|
22
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
|
+
}]
|
|
24
|
+
}], null, { actionItems: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}], actionItemClick: [{
|
|
27
|
+
type: Output
|
|
28
|
+
}] }); })();
|
|
29
|
+
|
|
30
|
+
class SmartMenuButtonModule {
|
|
31
|
+
}
|
|
32
|
+
SmartMenuButtonModule.ɵfac = function SmartMenuButtonModule_Factory(t) { return new (t || SmartMenuButtonModule)(); };
|
|
33
|
+
SmartMenuButtonModule.ɵmod = ɵɵdefineNgModule({ type: SmartMenuButtonModule });
|
|
34
|
+
SmartMenuButtonModule.ɵinj = ɵɵdefineInjector({ imports: [[
|
|
35
|
+
CommonModule,
|
|
36
|
+
// Material
|
|
37
|
+
MatButtonModule,
|
|
38
|
+
MatIconModule,
|
|
39
|
+
MatMenuModule,
|
|
40
|
+
]] });
|
|
41
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(SmartMenuButtonModule, { declarations: [SmartMenuButtonAtom], imports: [CommonModule,
|
|
42
|
+
// Material
|
|
43
|
+
MatButtonModule,
|
|
44
|
+
MatIconModule,
|
|
45
|
+
MatMenuModule], exports: [SmartMenuButtonAtom] }); })();
|
|
46
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartMenuButtonModule, [{
|
|
47
|
+
type: NgModule,
|
|
48
|
+
args: [{
|
|
49
|
+
declarations: [SmartMenuButtonAtom],
|
|
50
|
+
imports: [
|
|
51
|
+
CommonModule,
|
|
52
|
+
// Material
|
|
53
|
+
MatButtonModule,
|
|
54
|
+
MatIconModule,
|
|
55
|
+
MatMenuModule,
|
|
56
|
+
],
|
|
57
|
+
exports: [SmartMenuButtonAtom]
|
|
58
|
+
}]
|
|
59
|
+
}], null, null); })();
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Generated bundle index. Do not edit.
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
export { SmartMenuButtonAtom, SmartMenuButtonModule };
|
|
66
|
+
//# sourceMappingURL=ng-atomic-components-atoms-smart-menu-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-atoms-smart-menu-button.js","sources":["../../../../libs/components/atoms/smart-menu-button/smart-menu-button.atom.ts","../../../../libs/components/atoms/smart-menu-button/smart-menu-button.atom.html","../../../../libs/components/atoms/smart-menu-button/smart-menu-button.module.ts","../../../../libs/components/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.ts"],"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","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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MASa,mBAAmB;IANhC;QAQE,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAc,CAAC;KAClD;;sFANY,mBAAmB;4EAAnB,mBAAmB,wJCThC,0tBAqBA;oFDZa,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;;;MEOI,qBAAqB;;0FAArB,qBAAqB;sDAArB,qBAAqB;0DATvB;YACP,YAAY;;YAEZ,eAAe;YACf,aAAa;YACb,aAAa;SACd;qFAGU,qBAAqB,mBAVjB,mBAAmB,aAEhC,YAAY;;QAEZ,eAAe;QACf,aAAa;QACb,aAAa,aAEL,mBAAmB;oFAElB,qBAAqB;cAXjC,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;;oBAEZ,eAAe;oBACf,aAAa;oBACb,aAAa;iBACd;gBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;aAC/B;;;ACnBD;;;;;;"}
|
|
@@ -5,7 +5,7 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
class AutoLayoutFrame {
|
|
6
6
|
}
|
|
7
7
|
AutoLayoutFrame.ɵfac = function AutoLayoutFrame_Factory(t) { return new (t || AutoLayoutFrame)(); };
|
|
8
|
-
AutoLayoutFrame.ɵcmp = ɵɵ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-
|
|
8
|
+
AutoLayoutFrame.ɵcmp = ɵɵ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: ChangeDetectionStrategy.OnPush });
|
|
9
9
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(AutoLayoutFrame, [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{
|
|
@@ -6,7 +6,7 @@ import { CommonModule } from '@angular/common';
|
|
|
6
6
|
class CardFrame {
|
|
7
7
|
}
|
|
8
8
|
CardFrame.ɵfac = function CardFrame_Factory(t) { return new (t || CardFrame)(); };
|
|
9
|
-
CardFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", 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;width:100%;height:100%}"], directives: [{ type: MatCard, selector: "mat-card", exportAs: ["matCard"] }], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
9
|
+
CardFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", 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%}"], directives: [{ type: MatCard, selector: "mat-card", exportAs: ["matCard"] }], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
10
10
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(CardFrame, [{
|
|
11
11
|
type: Component,
|
|
12
12
|
args: [{
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, ViewChild, Input, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
3
|
+
import { MatDrawer, MatDrawerContainer, MatDrawerContent, MatSidenavModule } from '@angular/material/sidenav';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
class DrawerFrame {
|
|
7
|
+
set isOpen(_isOpen) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
_isOpen ? (_a = this.drawer) === null || _a === void 0 ? void 0 : _a.open() : (_b = this.drawer) === null || _b === void 0 ? void 0 : _b.close();
|
|
10
|
+
this._isOpen = _isOpen;
|
|
11
|
+
}
|
|
12
|
+
get isOpen() {
|
|
13
|
+
return this._isOpen;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
DrawerFrame.ɵfac = function DrawerFrame_Factory(t) { return new (t || DrawerFrame)(); };
|
|
17
|
+
DrawerFrame.ɵcmp = ɵɵ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: MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { type: MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { type: MatDrawerContent, selector: "mat-drawer-content" }], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
18
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(DrawerFrame, [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: 'frames-drawer',
|
|
22
|
+
templateUrl: './drawer.frame.html',
|
|
23
|
+
styleUrls: ['./drawer.frame.scss'],
|
|
24
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
25
|
+
}]
|
|
26
|
+
}], null, { drawer: [{
|
|
27
|
+
type: ViewChild,
|
|
28
|
+
args: [MatDrawer]
|
|
29
|
+
}], isOpen: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}] }); })();
|
|
32
|
+
|
|
33
|
+
class DrawerModule {
|
|
34
|
+
}
|
|
35
|
+
DrawerModule.ɵfac = function DrawerModule_Factory(t) { return new (t || DrawerModule)(); };
|
|
36
|
+
DrawerModule.ɵmod = ɵɵdefineNgModule({ type: DrawerModule });
|
|
37
|
+
DrawerModule.ɵinj = ɵɵdefineInjector({ imports: [[
|
|
38
|
+
CommonModule,
|
|
39
|
+
MatSidenavModule,
|
|
40
|
+
]] });
|
|
41
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(DrawerModule, { declarations: [DrawerFrame], imports: [CommonModule,
|
|
42
|
+
MatSidenavModule], exports: [DrawerFrame] }); })();
|
|
43
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(DrawerModule, [{
|
|
44
|
+
type: NgModule,
|
|
45
|
+
args: [{
|
|
46
|
+
declarations: [DrawerFrame],
|
|
47
|
+
imports: [
|
|
48
|
+
CommonModule,
|
|
49
|
+
MatSidenavModule,
|
|
50
|
+
],
|
|
51
|
+
exports: [DrawerFrame]
|
|
52
|
+
}]
|
|
53
|
+
}], null, null); })();
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Generated bundle index. Do not edit.
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
export { DrawerFrame, DrawerModule };
|
|
60
|
+
//# sourceMappingURL=ng-atomic-components-frames-drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-drawer.js","sources":["../../../../libs/components/frames/drawer/drawer.frame.ts","../../../../libs/components/frames/drawer/drawer.frame.html","../../../../libs/components/frames/drawer/drawer.module.ts","../../../../libs/components/frames/drawer/ng-atomic-components-frames-drawer.ts"],"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>","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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,WAAW;IAOtB,IACI,MAAM,CAAC,OAAgB;;QACzB,OAAO,SAAG,IAAI,CAAC,MAAM,0CAAE,IAAI,WAAK,IAAI,CAAC,MAAM,0CAAE,KAAK,EAAE,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;KACvB;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAA;KACpB;;sEAfU,WAAW;oEAAX,WAAW,2HAEX,SAAS,gFCXtB,oRASuB;oFDAV,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;;;MEDK,YAAY;;wEAAZ,YAAY;6CAAZ,YAAY;iDANd;YACP,YAAY;YACZ,gBAAgB;SACjB;qFAGU,YAAY,mBAPR,WAAW,aAExB,YAAY;QACZ,gBAAgB,aAER,WAAW;oFAEV,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;;;ACdD;;;;;;"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ɵɵdefineInjectable, ɵsetClassMetadata, Injectable, ɵɵdirectiveInject, ɵɵngDeclareComponent, ChangeDetectionStrategy, Component, Input, ViewChild, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
3
|
+
import { Observable, ReplaySubject, BehaviorSubject, combineLatest } from 'rxjs';
|
|
4
|
+
import { map, startWith, distinctUntilChanged, takeUntil } from 'rxjs/operators';
|
|
5
|
+
import { trigger, state, style, transition, animate, sequence, query, group } from '@angular/animations';
|
|
6
|
+
import ResizeObserver from 'resize-observer-polyfill';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
9
|
+
|
|
10
|
+
const MAIN_ANIMATION = trigger('modeChangeForMain', [
|
|
11
|
+
state('*', style({
|
|
12
|
+
width: '100%',
|
|
13
|
+
})),
|
|
14
|
+
state('Next', style({
|
|
15
|
+
display: 'none',
|
|
16
|
+
width: '0%',
|
|
17
|
+
})),
|
|
18
|
+
transition('* => Next', [
|
|
19
|
+
animate('0.5s', style({ width: '0%' })),
|
|
20
|
+
style({ display: 'none' }),
|
|
21
|
+
]),
|
|
22
|
+
transition('Next => *', [
|
|
23
|
+
sequence([
|
|
24
|
+
style({ display: 'inherit' }),
|
|
25
|
+
animate('0.5s', style({ width: '100%' })),
|
|
26
|
+
]),
|
|
27
|
+
]),
|
|
28
|
+
]);
|
|
29
|
+
const NEXT_ANIMATION = trigger('modeChangeForNext', [
|
|
30
|
+
state('Next', style({
|
|
31
|
+
position: 'relative',
|
|
32
|
+
width: '100%',
|
|
33
|
+
})),
|
|
34
|
+
state('Both', style({
|
|
35
|
+
position: 'relative',
|
|
36
|
+
width: '100%',
|
|
37
|
+
})),
|
|
38
|
+
state('Main', style({
|
|
39
|
+
position: 'relative',
|
|
40
|
+
display: 'none',
|
|
41
|
+
})),
|
|
42
|
+
transition('Main => Next', [
|
|
43
|
+
query(':enter', [animate('0.5s')], { optional: true }),
|
|
44
|
+
sequence([
|
|
45
|
+
style({ display: 'inherit', width: '100%' }),
|
|
46
|
+
animate('0.5s'),
|
|
47
|
+
]),
|
|
48
|
+
]),
|
|
49
|
+
transition('Main => Both', [
|
|
50
|
+
query(':enter', [animate('0.5s')], { optional: true }),
|
|
51
|
+
sequence([
|
|
52
|
+
style({ display: 'inherit', width: '100%' }),
|
|
53
|
+
animate('0.5s'),
|
|
54
|
+
]),
|
|
55
|
+
]),
|
|
56
|
+
transition('Next => Main', group([
|
|
57
|
+
query(':leave', animate('0.5s', style({ width: '100%' })), { optional: true }),
|
|
58
|
+
sequence([
|
|
59
|
+
style({ position: 'absolute', display: 'block', left: '0%' }),
|
|
60
|
+
animate('0.5s', style({ left: '100%' })),
|
|
61
|
+
]),
|
|
62
|
+
])),
|
|
63
|
+
transition('Both => Main', group([
|
|
64
|
+
query(':leave', animate('0.5s', style({ width: '100%' })), { optional: true }),
|
|
65
|
+
sequence([
|
|
66
|
+
style({ position: 'absolute', display: 'block', left: '100%' }),
|
|
67
|
+
animate('0.5s', style({})),
|
|
68
|
+
]),
|
|
69
|
+
])),
|
|
70
|
+
]);
|
|
71
|
+
const LINE_UP_ANIMATIONS = [MAIN_ANIMATION, NEXT_ANIMATION];
|
|
72
|
+
|
|
73
|
+
function fromResize({ nativeElement }) {
|
|
74
|
+
return Observable.create(function (observer) {
|
|
75
|
+
const callback = (entries) => entries.forEach(e => observer.next(e));
|
|
76
|
+
const resizeObserver = new ResizeObserver(callback);
|
|
77
|
+
resizeObserver.observe(nativeElement);
|
|
78
|
+
return () => resizeObserver.disconnect();
|
|
79
|
+
}).pipe(map(({ contentRect }) => { var _a; return (_a = contentRect === null || contentRect === void 0 ? void 0 : contentRect.width) !== null && _a !== void 0 ? _a : 0; }), startWith(0), distinctUntilChanged());
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
var Mode;
|
|
83
|
+
(function (Mode) {
|
|
84
|
+
Mode["MAIN"] = "Main";
|
|
85
|
+
Mode["BOTH"] = "Both";
|
|
86
|
+
Mode["NEXT"] = "Next";
|
|
87
|
+
})(Mode || (Mode = {}));
|
|
88
|
+
class LineUpFrameService {
|
|
89
|
+
constructor() {
|
|
90
|
+
this.frames = [];
|
|
91
|
+
}
|
|
92
|
+
register(frame) {
|
|
93
|
+
this.frames.push(frame);
|
|
94
|
+
console.debug('this.frames:', this.frames);
|
|
95
|
+
}
|
|
96
|
+
unregister(frame) {
|
|
97
|
+
this.frames = this.frames.slice(0, this.findIndex(frame));
|
|
98
|
+
}
|
|
99
|
+
findIndex(frame) {
|
|
100
|
+
return this.frames.findIndex((value) => value === frame);
|
|
101
|
+
}
|
|
102
|
+
propagate(frame) {
|
|
103
|
+
var _a;
|
|
104
|
+
const target = (_a = this.frames) === null || _a === void 0 ? void 0 : _a[this.findIndex(frame) - 1];
|
|
105
|
+
target === null || target === void 0 ? void 0 : target.refresh();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
LineUpFrameService.ɵfac = function LineUpFrameService_Factory(t) { return new (t || LineUpFrameService)(); };
|
|
109
|
+
LineUpFrameService.ɵprov = ɵɵdefineInjectable({ token: LineUpFrameService, factory: LineUpFrameService.ɵfac, providedIn: 'root' });
|
|
110
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(LineUpFrameService, [{
|
|
111
|
+
type: Injectable,
|
|
112
|
+
args: [{ providedIn: 'root' }]
|
|
113
|
+
}], null, null); })();
|
|
114
|
+
class LineUpFrame {
|
|
115
|
+
constructor(service) {
|
|
116
|
+
this.service = service;
|
|
117
|
+
this.Mode = Mode;
|
|
118
|
+
this.mode = Mode.MAIN;
|
|
119
|
+
this.refresh$ = new ReplaySubject(1);
|
|
120
|
+
this.destroy$ = new ReplaySubject(1);
|
|
121
|
+
this.hasNext$ = new BehaviorSubject(false);
|
|
122
|
+
this.minNextWidth = 360;
|
|
123
|
+
}
|
|
124
|
+
set hasNext(value) {
|
|
125
|
+
this.hasNext$.next(value);
|
|
126
|
+
}
|
|
127
|
+
;
|
|
128
|
+
ngOnInit() {
|
|
129
|
+
this.service.register(this);
|
|
130
|
+
this.refresh();
|
|
131
|
+
combineLatest([
|
|
132
|
+
this.hasNext$,
|
|
133
|
+
fromResize(this.nextElementRef),
|
|
134
|
+
this.refresh$,
|
|
135
|
+
]).pipe(takeUntil(this.destroy$)).subscribe(([hasNext, width]) => {
|
|
136
|
+
this.mode = this.resolveMode(hasNext, width);
|
|
137
|
+
setTimeout(() => this.service.propagate(this), 0);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
ngOnDestroy() {
|
|
141
|
+
this.service.unregister(this);
|
|
142
|
+
this.destroy$.next();
|
|
143
|
+
}
|
|
144
|
+
refresh() {
|
|
145
|
+
this.refresh$.next();
|
|
146
|
+
}
|
|
147
|
+
resolveMode(hasNext, width) {
|
|
148
|
+
if (hasNext && width <= this.minNextWidth)
|
|
149
|
+
return Mode.BOTH;
|
|
150
|
+
return hasNext ? Mode.NEXT : Mode.MAIN;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
LineUpFrame.ɵfac = function LineUpFrame_Factory(t) { return new (t || LineUpFrame)(ɵɵdirectiveInject(LineUpFrameService)); };
|
|
154
|
+
LineUpFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: LineUpFrame, selector: "frames-line-up", inputs: { hasNext: "hasNext", minNextWidth: "minNextWidth" }, viewQueries: [{ propertyName: "nextElementRef", first: true, predicate: ["next"], emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<div class=\"main\" [@modeChangeForMain]=\"mode\" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next\" [@modeChangeForNext]=\"mode\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>", styles: [":host{--gap:1px;--gap-SCOPED-IN-line-up-3VAY:var(--gap);--background:#ccc;--background-SCOPED-IN-line-up-3VAY:var(--background);--contents-background:transparent;--contents-background-SCOPED-IN-line-up-3VAY:var(--contents-background);position:relative;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-3VAY);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background:var(--background-SCOPED-IN-line-up-3VAY)}:host,:host div{display:flex;height:100%}:host div{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;background:var(--contents-background-SCOPED-IN-line-up-3VAY)}:host div.main{overflow:hidden;justify-content:flex-end}:host div.next{overflow:visible;justify-content:flex-start}"], animations: LINE_UP_ANIMATIONS, changeDetection: ChangeDetectionStrategy.Default });
|
|
155
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(LineUpFrame, [{
|
|
156
|
+
type: Component,
|
|
157
|
+
args: [{
|
|
158
|
+
selector: 'frames-line-up',
|
|
159
|
+
templateUrl: './line-up.frame.html',
|
|
160
|
+
styleUrls: ['./line-up.frame.scss'],
|
|
161
|
+
changeDetection: ChangeDetectionStrategy.Default,
|
|
162
|
+
animations: LINE_UP_ANIMATIONS,
|
|
163
|
+
}]
|
|
164
|
+
}], function () { return [{ type: LineUpFrameService }]; }, { hasNext: [{
|
|
165
|
+
type: Input
|
|
166
|
+
}], minNextWidth: [{
|
|
167
|
+
type: Input
|
|
168
|
+
}], nextElementRef: [{
|
|
169
|
+
type: ViewChild,
|
|
170
|
+
args: ['next', { static: true }]
|
|
171
|
+
}] }); })();
|
|
172
|
+
|
|
173
|
+
class LineUpModule {
|
|
174
|
+
}
|
|
175
|
+
LineUpModule.ɵfac = function LineUpModule_Factory(t) { return new (t || LineUpModule)(); };
|
|
176
|
+
LineUpModule.ɵmod = ɵɵdefineNgModule({ type: LineUpModule });
|
|
177
|
+
LineUpModule.ɵinj = ɵɵdefineInjector({ imports: [[
|
|
178
|
+
CommonModule,
|
|
179
|
+
MatProgressSpinnerModule
|
|
180
|
+
]] });
|
|
181
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(LineUpModule, { declarations: [LineUpFrame], imports: [CommonModule,
|
|
182
|
+
MatProgressSpinnerModule], exports: [LineUpFrame] }); })();
|
|
183
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(LineUpModule, [{
|
|
184
|
+
type: NgModule,
|
|
185
|
+
args: [{
|
|
186
|
+
declarations: [LineUpFrame],
|
|
187
|
+
imports: [
|
|
188
|
+
CommonModule,
|
|
189
|
+
MatProgressSpinnerModule
|
|
190
|
+
],
|
|
191
|
+
exports: [LineUpFrame]
|
|
192
|
+
}]
|
|
193
|
+
}], null, null); })();
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Generated bundle index. Do not edit.
|
|
197
|
+
*/
|
|
198
|
+
|
|
199
|
+
export { LineUpFrame, LineUpFrameService, LineUpModule };
|
|
200
|
+
//# sourceMappingURL=ng-atomic-components-frames-line-up-v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-line-up-v2.js","sources":["../../../../libs/components/frames/line-up-v2/line-up.animations.ts","../../../../libs/components/frames/line-up-v2/resize-observer.ts","../../../../libs/components/frames/line-up-v2/line-up.frame.ts","../../../../libs/components/frames/line-up-v2/line-up.frame.html","../../../../libs/components/frames/line-up-v2/line-up.module.ts","../../../../libs/components/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.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 => 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, Injectable, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { BehaviorSubject, combineLatest, ReplaySubject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { LINE_UP_ANIMATIONS } from './line-up.animations';\nimport { fromResize } from './resize-observer';\n\nenum Mode {\n MAIN = 'Main',\n BOTH = 'Both',\n NEXT = 'Next',\n}\n\n@Injectable({providedIn: 'root'})\nexport class LineUpFrameService {\n frames: LineUpFrame[] = [];\n\n register(frame: LineUpFrame) {\n this.frames.push(frame);\n console.debug('this.frames:', this.frames);\n }\n\n unregister(frame: LineUpFrame) {\n this.frames = this.frames.slice(0, this.findIndex(frame));\n }\n\n findIndex(frame: LineUpFrame): number {\n return this.frames.findIndex((value) => value === frame);\n }\n\n propagate(frame: LineUpFrame): void {\n const target = this.frames?.[this.findIndex(frame) - 1];\n target?.refresh();\n }\n}\n\n@Component({\n selector: 'frames-line-up',\n templateUrl: './line-up.frame.html',\n styleUrls: ['./line-up.frame.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n animations: LINE_UP_ANIMATIONS,\n})\nexport class LineUpFrame implements OnInit, OnDestroy {\n Mode = Mode;\n mode = Mode.MAIN;\n\n private readonly refresh$ = new ReplaySubject(1);\n private readonly destroy$ = new ReplaySubject(1);\n private readonly hasNext$ = new BehaviorSubject(false); \n\n @Input()\n set hasNext(value: boolean) {\n this.hasNext$.next(value);\n };\n\n @Input()\n minNextWidth: number = 360;\n\n @ViewChild('next', {static: true})\n nextElementRef!: ElementRef;\n\n constructor(private service: LineUpFrameService) { }\n\n ngOnInit(): void {\n this.service.register(this);\n this.refresh();\n \n combineLatest([\n this.hasNext$, \n fromResize(this.nextElementRef),\n this.refresh$,\n ]).pipe(takeUntil(this.destroy$)).subscribe(([hasNext, width]) => {\n this.mode = this.resolveMode(hasNext, width);\n setTimeout(() => this.service.propagate(this), 0);\n });\n }\n\n ngOnDestroy(): void {\n this.service.unregister(this);\n this.destroy$.next(); \n }\n\n refresh() {\n this.refresh$.next();\n }\n\n private resolveMode(hasNext: boolean, width: number): Mode {\n if (hasNext && width <= this.minNextWidth) return Mode.BOTH;\n return hasNext ? Mode.NEXT : Mode.MAIN;\n }\n}\n","<div class=\"main\" [@modeChangeForMain]=\"mode\" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next\" [@modeChangeForNext]=\"mode\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\n\nimport { LineUpFrame } from './line-up.frame';\n\n\n@NgModule({\n declarations: [LineUpFrame],\n imports: [\n CommonModule,\n MatProgressSpinnerModule\n ],\n exports: [LineUpFrame]\n})\nexport class LineUpModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEA,MAAM,cAAc,GAAG,OAAO,CAAC,mBAAmB,EAAE;IAClD,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC;QACf,KAAK,EAAE,MAAM;KACd,CAAC,CAAC;IACH,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;QAClB,OAAO,EAAE,MAAM;QACf,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;IACH,UAAU,CAAC,WAAW,EAAE;QACtB,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QACvC,KAAK,CAAC,EAAC,OAAO,E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AAa;QACjD,IAAI,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,YAAY;YAAE,OAAO,IAAI,CAAC,IAAI,CAAC;QAC5D,OAAO,OAAO,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;KACxC;;sEA/CU,WAAW,oBAmBO,kBAAkB;oEAnBpC,WAAW,0QC1CxB,kOAKM,kwBDmCQ,kBAAkB;oFAEnB,WAAW;cAPvB,SAAS;eAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,WAAW,EAAE,sBAAsB;gBACnC,SAAS,EAAE,CAAC,sBAAsB,CAAC;gBACnC,eAAe,EAAE,uBAAuB,CAAC,OAAO;gBAChD,UAAU,EAAE,kBAAkB;aAC/B;sCAoB8B,kBAAkB,UAV3C,OAAO;kBADV,KAAK;YAMN,YAAY;kBADX,KAAK;YAIN,cAAc;kBADb,SAAS;mBAAC,MAAM,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;;;ME3CtB,YAAY;;wEAAZ,YAAY;6CAAZ,YAAY;iDANd;YACP,YAAY;YACZ,wBAAwB;SACzB;qFAGU,YAAY,mBAPR,WAAW,aAExB,YAAY;QACZ,wBAAwB,aAEhB,WAAW;oFAEV,YAAY;cARxB,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,WAAW,CAAC;gBAC3B,OAAO,EAAE;oBACP,YAAY;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE,CAAC,WAAW,CAAC;aACvB;;;ACdD;;;;;;"}
|
|
@@ -135,7 +135,7 @@ class LineUpFrame {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
LineUpFrame.ɵfac = function LineUpFrame_Factory(t) { return new (t || LineUpFrame)(ɵɵdirectiveInject(LineUpService), ɵɵdirectiveInject(ChangeDetectorRef)); };
|
|
138
|
-
LineUpFrame.ɵcmp = ɵɵ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-
|
|
138
|
+
LineUpFrame.ɵcmp = ɵɵ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: ChangeDetectionStrategy.Default });
|
|
139
139
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(LineUpFrame, [{
|
|
140
140
|
type: Component,
|
|
141
141
|
args: [{
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, Input, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
3
|
+
import { trigger, transition, query, style, animate, animateChild } from '@angular/animations';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
6
|
+
|
|
7
|
+
const OVERLAY_ANIMATION = trigger('hasNext', [
|
|
8
|
+
transition('false => true', [
|
|
9
|
+
query(':enter', [
|
|
10
|
+
style({
|
|
11
|
+
position: 'absolute',
|
|
12
|
+
top: '0px',
|
|
13
|
+
left: '0px'
|
|
14
|
+
})
|
|
15
|
+
]),
|
|
16
|
+
query(':enter', [style({ left: '100%' })]),
|
|
17
|
+
query(':enter', [animate('300ms ease-out', style({ left: '0%' }))]),
|
|
18
|
+
query(':enter', animateChild()),
|
|
19
|
+
]),
|
|
20
|
+
transition('true => false', [
|
|
21
|
+
query(':leave', [
|
|
22
|
+
style({
|
|
23
|
+
position: 'absolute',
|
|
24
|
+
top: '0px',
|
|
25
|
+
left: '0px'
|
|
26
|
+
})
|
|
27
|
+
]),
|
|
28
|
+
query(':leave', [style({ left: '0%' })]),
|
|
29
|
+
query(':leave', [animate('300ms ease-in', style({ left: '100%' }))]),
|
|
30
|
+
query(':leave', animateChild()),
|
|
31
|
+
])
|
|
32
|
+
]);
|
|
33
|
+
|
|
34
|
+
class OverlayFrame {
|
|
35
|
+
constructor() {
|
|
36
|
+
this.hasNext = false;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
OverlayFrame.ɵfac = function OverlayFrame_Factory(t) { return new (t || OverlayFrame)(); };
|
|
40
|
+
OverlayFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: OverlayFrame, selector: "frames-overlay", inputs: { hasNext: "hasNext" }, ngImport: i0, template: "<div class=\"main\">\n <ng-content select=[main]></ng-content>\n</div>\n<div class=\"next\" [@hasNext]=\"hasNext\">\n <ng-content select=[next]></ng-content>\n</div>", styles: [":host{--cell:8px;--cell-SCOPED-IN-line-overlay-czPU:var(--cell);--width:100%;--width-SCOPED-IN-line-overlay-czPU:var(--width);--height:100%;--height-SCOPED-IN-line-overlay-czPU:var(--height);position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-czPU);height:var(--height-SCOPED-IN-line-overlay-czPU)}:host .loading{z-index:1000;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.4)}:host .loading,:host .main{position:absolute;top:0;left:0;width:var(--width-SCOPED-IN-line-overlay-czPU);height:var(--height-SCOPED-IN-line-overlay-czPU)}:host .main{z-index:1;overflow:hidden}:host .main *{--cell:var(--cell-SCOPED-IN-line-overlay-czPU);--width:var(--width-SCOPED-IN-line-overlay-czPU);--height:var(--height-SCOPED-IN-line-overlay-czPU)}:host .next{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-czPU);height:auto}:host .next *{--cell:var(--cell-SCOPED-IN-line-overlay-czPU);--width:var(--width-SCOPED-IN-line-overlay-czPU);--height:var(--height-SCOPED-IN-line-overlay-czPU)}"], animations: [OVERLAY_ANIMATION], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
41
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(OverlayFrame, [{
|
|
42
|
+
type: Component,
|
|
43
|
+
args: [{
|
|
44
|
+
selector: 'frames-overlay',
|
|
45
|
+
templateUrl: './overlay.frame.html',
|
|
46
|
+
styleUrls: ['./overlay.frame.scss'],
|
|
47
|
+
animations: [OVERLAY_ANIMATION],
|
|
48
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
49
|
+
}]
|
|
50
|
+
}], null, { hasNext: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}] }); })();
|
|
53
|
+
|
|
54
|
+
class OverlayModule {
|
|
55
|
+
}
|
|
56
|
+
OverlayModule.ɵfac = function OverlayModule_Factory(t) { return new (t || OverlayModule)(); };
|
|
57
|
+
OverlayModule.ɵmod = ɵɵdefineNgModule({ type: OverlayModule });
|
|
58
|
+
OverlayModule.ɵinj = ɵɵdefineInjector({ imports: [[
|
|
59
|
+
CommonModule,
|
|
60
|
+
MatProgressSpinnerModule
|
|
61
|
+
]] });
|
|
62
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(OverlayModule, { declarations: [OverlayFrame], imports: [CommonModule,
|
|
63
|
+
MatProgressSpinnerModule], exports: [OverlayFrame] }); })();
|
|
64
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(OverlayModule, [{
|
|
65
|
+
type: NgModule,
|
|
66
|
+
args: [{
|
|
67
|
+
declarations: [OverlayFrame],
|
|
68
|
+
imports: [
|
|
69
|
+
CommonModule,
|
|
70
|
+
MatProgressSpinnerModule
|
|
71
|
+
],
|
|
72
|
+
exports: [
|
|
73
|
+
OverlayFrame
|
|
74
|
+
]
|
|
75
|
+
}]
|
|
76
|
+
}], null, null); })();
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Generated bundle index. Do not edit.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
export { OverlayFrame, OverlayModule };
|
|
83
|
+
//# sourceMappingURL=ng-atomic-components-frames-overlay-v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-overlay-v2.js","sources":["../../../../libs/components/frames/overlay-v2/overlay.animations.ts","../../../../libs/components/frames/overlay-v2/overlay.frame.ts","../../../../libs/components/frames/overlay-v2/overlay.frame.html","../../../../libs/components/frames/overlay-v2/overlay.module.ts","../../../../libs/components/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.ts"],"sourcesContent":["import { trigger, transition, style, query, animateChild, animate } from '@angular/animations';\n\nexport const OVERLAY_ANIMATION = trigger('hasNext', [\n transition('false => true', [\n query(':enter', [\n style({\n position: 'absolute',\n top: '0px',\n left: '0px'\n })\n ]),\n query(':enter', [style({ left: '100%' })]),\n query(':enter', [animate('300ms ease-out', style({ left: '0%' }))]),\n query(':enter', animateChild()),\n ]),\n transition('true => false', [\n query(':leave', [\n style({\n position: 'absolute',\n top: '0px',\n left: '0px'\n })\n ]),\n query(':leave', [style({ left: '0%' })]),\n query(':leave', [animate('300ms ease-in', style({ left: '100%' }))]),\n query(':leave', animateChild()),\n ])\n]);\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { OVERLAY_ANIMATION } from './overlay.animations';\n\n@Component({\n selector: 'frames-overlay',\n templateUrl: './overlay.frame.html',\n styleUrls: ['./overlay.frame.scss'],\n animations: [OVERLAY_ANIMATION],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OverlayFrame {\n @Input()\n hasNext = false;\n}\n","<div class=\"main\">\n <ng-content select=[main]></ng-content>\n</div>\n<div class=\"next\" [@hasNext]=\"hasNext\">\n <ng-content select=[next]></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { OverlayFrame } from './overlay.frame';\n\n@NgModule({\n declarations: [OverlayFrame],\n imports: [\n CommonModule,\n MatProgressSpinnerModule\n ],\n exports: [\n OverlayFrame\n ]\n})\nexport class OverlayModule { }\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAEO,MAAM,iBAAiB,GAAG,OAAO,CAAC,SAAS,EAAE;IAClD,UAAU,CAAC,eAAe,EAAE;QAC1B,KAAK,CAAC,QAAQ,EAAE;YACd,KAAK,CAAC;gBACJ,QAAQ,EAAE,UA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aAAa;8CAAb,aAAa;kDARf;YACP,YAAY;YACZ,wBAAwB;SACzB;qFAKU,aAAa,mBATT,YAAY,aAEzB,YAAY;QACZ,wBAAwB,aAGxB,YAAY;oFAGH,aAAa;cAVzB,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,YAAY,CAAC;gBAC5B,OAAO,EAAE;oBACP,YAAY;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,YAAY;iBACb;aACF;;;ACdD;;;;;;"}
|
|
@@ -43,7 +43,7 @@ class OverlayFrame {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
OverlayFrame.ɵfac = function OverlayFrame_Factory(t) { return new (t || OverlayFrame)(); };
|
|
46
|
-
OverlayFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: OverlayFrame, selector: "frames-overlay", inputs: { outlet: "outlet", isLoading: "isLoading" }, ngImport: i0, template: "<div class=\"loading\" *ngIf=\"isLoading\">\n <mat-spinner></mat-spinner>\n</div>\n<div class=\"main page\">\n <ng-content select=[mainPage]></ng-content>\n</div>\n<div class=\"next page\" [@routeAnimations]=\"prepareRoute(outlet)\">\n <ng-content select=[nextPage]></ng-content>\n</div>", styles: [":host{--cell:8px;--cell-SCOPED-IN-line-overlay-
|
|
46
|
+
OverlayFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: OverlayFrame, selector: "frames-overlay", inputs: { outlet: "outlet", isLoading: "isLoading" }, ngImport: i0, template: "<div class=\"loading\" *ngIf=\"isLoading\">\n <mat-spinner></mat-spinner>\n</div>\n<div class=\"main page\">\n <ng-content select=[mainPage]></ng-content>\n</div>\n<div class=\"next page\" [@routeAnimations]=\"prepareRoute(outlet)\">\n <ng-content select=[nextPage]></ng-content>\n</div>", styles: [":host{--cell:8px;--cell-SCOPED-IN-line-overlay-yf6l:var(--cell);--width:100%;--width-SCOPED-IN-line-overlay-yf6l:var(--width);--height:100%;--height-SCOPED-IN-line-overlay-yf6l:var(--height);position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-yf6l);height:var(--height-SCOPED-IN-line-overlay-yf6l)}:host .loading{z-index:1000;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.4)}:host .loading,:host .main.page{position:absolute;top:0;left:0;width:var(--width-SCOPED-IN-line-overlay-yf6l);height:var(--height-SCOPED-IN-line-overlay-yf6l)}:host .main.page{z-index:1;overflow:hidden}:host .main.page *{--cell:var(--cell-SCOPED-IN-line-overlay-yf6l);--width:var(--width-SCOPED-IN-line-overlay-yf6l);--height:var(--height-SCOPED-IN-line-overlay-yf6l)}:host .next.page{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-yf6l);height:auto}:host .next.page *{--cell:var(--cell-SCOPED-IN-line-overlay-yf6l);--width:var(--width-SCOPED-IN-line-overlay-yf6l);--height:var(--height-SCOPED-IN-line-overlay-yf6l)}"], directives: [{ type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatSpinner, selector: "mat-spinner", inputs: ["color"] }], animations: [slideInAnimation] });
|
|
47
47
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(OverlayFrame, [{
|
|
48
48
|
type: Component,
|
|
49
49
|
args: [{
|
|
@@ -6,7 +6,7 @@ import { CommonModule } from '@angular/common';
|
|
|
6
6
|
class ScrollFrame {
|
|
7
7
|
}
|
|
8
8
|
ScrollFrame.ɵfac = function ScrollFrame_Factory(t) { return new (t || ScrollFrame)(); };
|
|
9
|
-
ScrollFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: ScrollFrame, selector: "frames-scroll", ngImport: i0, template: "<div class=\"navigator-container\" iosSafariScrollBuggyfill>\n <ng-content select=[navigator]></ng-content>\n</div>\n<div class=\"contents-container\">\n <ng-content select=[contents]></ng-content>\n</div>", styles: [":host{--height:100%;--height-SCOPED-IN-scroll-
|
|
9
|
+
ScrollFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: ScrollFrame, selector: "frames-scroll", ngImport: i0, template: "<div class=\"navigator-container\" iosSafariScrollBuggyfill>\n <ng-content select=[navigator]></ng-content>\n</div>\n<div class=\"contents-container\">\n <ng-content select=[contents]></ng-content>\n</div>", styles: [":host{--height:100%;--height-SCOPED-IN-scroll-MsbF:var(--height);--navigator-height:56px;--navigator-height-SCOPED-IN-scroll-MsbF:var(--navigator-height);height:var(--height-SCOPED-IN-scroll-MsbF);overflow:hidden}:host .navigator-container{height:var(--navigator-height-SCOPED-IN-scroll-MsbF);overflow:hidden;touch-action:none}:host .contents-container{height:calc(var(--height-SCOPED-IN-scroll-MsbF) - var(--navigator-height-SCOPED-IN-scroll-MsbF));overflow:scroll;-webkit-overflow-scrolling:touch}"], directives: [{ type: IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]" }], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
10
10
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(ScrollFrame, [{
|
|
11
11
|
type: Component,
|
|
12
12
|
args: [{
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, HostBinding, Input, ViewChild, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
3
|
+
import '@angular/router';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
class SmartMenuFrame {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.isMainHidden = false;
|
|
9
|
+
this.label = 'root';
|
|
10
|
+
this.minNextWidth = 360;
|
|
11
|
+
}
|
|
12
|
+
get page() {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
const page = (_b = (_a = this.outlet) === null || _a === void 0 ? void 0 : _a.activatedRouteData) === null || _b === void 0 ? void 0 : _b.page;
|
|
15
|
+
return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
SmartMenuFrame.ɵfac = function SmartMenuFrame_Factory(t) { return new (t || SmartMenuFrame)(); };
|
|
19
|
+
SmartMenuFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: SmartMenuFrame, selector: "frames-smart-menu", inputs: { label: "label", outlet: "outlet", minNextWidth: "minNextWidth" }, host: { properties: { "attr.is-main-hidden": "this.isMainHidden" } }, viewQueries: [{ propertyName: "next", first: true, predicate: ["next"], emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>", styles: [":host{--gap:1px;--gap-SCOPED-IN-smart-menu-XRVl:var(--gap);--background:#ccc;--background-SCOPED-IN-smart-menu-XRVl:var(--background);--contents-background:transparent;--contents-background-SCOPED-IN-smart-menu-XRVl:var(--contents-background);position:relative;justify-content:flex-start;gap:var(--gap-SCOPED-IN-smart-menu-XRVl);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background:var(--background-SCOPED-IN-smart-menu-XRVl)}:host,:host .contents{display:flex;height:100%}:host .contents{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;background:var(--contents-background-SCOPED-IN-smart-menu-XRVl)}:host .contents.menu{overflow:hidden;justify-content:flex-end}:host .contents.contents{overflow:visible;justify-content:flex-start}"], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
20
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartMenuFrame, [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{
|
|
23
|
+
selector: 'frames-smart-menu',
|
|
24
|
+
templateUrl: './smart-menu.frame.html',
|
|
25
|
+
styleUrls: ['./smart-menu.frame.scss'],
|
|
26
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
27
|
+
}]
|
|
28
|
+
}], null, { isMainHidden: [{
|
|
29
|
+
type: HostBinding,
|
|
30
|
+
args: ['attr.is-main-hidden']
|
|
31
|
+
}], label: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], outlet: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], minNextWidth: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], next: [{
|
|
38
|
+
type: ViewChild,
|
|
39
|
+
args: ['next', { static: true }]
|
|
40
|
+
}] }); })();
|
|
41
|
+
|
|
42
|
+
class SmartMenuModule {
|
|
43
|
+
}
|
|
44
|
+
SmartMenuModule.ɵfac = function SmartMenuModule_Factory(t) { return new (t || SmartMenuModule)(); };
|
|
45
|
+
SmartMenuModule.ɵmod = ɵɵdefineNgModule({ type: SmartMenuModule });
|
|
46
|
+
SmartMenuModule.ɵinj = ɵɵdefineInjector({ imports: [[
|
|
47
|
+
CommonModule
|
|
48
|
+
]] });
|
|
49
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(SmartMenuModule, { declarations: [SmartMenuFrame], imports: [CommonModule], exports: [SmartMenuFrame] }); })();
|
|
50
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartMenuModule, [{
|
|
51
|
+
type: NgModule,
|
|
52
|
+
args: [{
|
|
53
|
+
declarations: [SmartMenuFrame],
|
|
54
|
+
imports: [
|
|
55
|
+
CommonModule
|
|
56
|
+
],
|
|
57
|
+
exports: [SmartMenuFrame]
|
|
58
|
+
}]
|
|
59
|
+
}], null, null); })();
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Generated bundle index. Do not edit.
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
export { SmartMenuFrame, SmartMenuModule };
|
|
66
|
+
//# sourceMappingURL=ng-atomic-components-frames-smart-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-smart-menu.js","sources":["../../../../libs/components/frames/smart-menu/smart-menu.frame.ts","../../../../libs/components/frames/smart-menu/smart-menu.frame.html","../../../../libs/components/frames/smart-menu/smart-menu.module.ts","../../../../libs/components/frames/smart-menu/ng-atomic-components-frames-smart-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'frames-smart-menu',\n templateUrl: './smart-menu.frame.html',\n styleUrls: ['./smart-menu.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartMenuFrame {\n @HostBinding('attr.is-main-hidden')\n isMainHidden = false;\n\n @Input()\n label = 'root';\n\n @Input()\n outlet?: RouterOutlet;\n\n @Input()\n minNextWidth: number = 360;\n\n @ViewChild('next', {static: true})\n next!: ElementRef;\n\n get page(): string {\n const page: string = this.outlet?.activatedRouteData?.page;\n return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;\n }\n\n}\n","<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartMenuFrame } from './smart-menu.frame';\n\n\n\n@NgModule({\n declarations: [SmartMenuFrame],\n imports: [\n CommonModule\n ],\n exports: [SmartMenuFrame]\n})\nexport class SmartMenuModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,cAAc;IAN3B;QAQE,iBAAY,GAAG,KAAK,CAAC;QAGrB,UAAK,GAAG,MAAM,CAAC;QAMf,iBAAY,GAAW,GAAG,CAAC;KAU5B;IALC,IAAI,IAAI;;QACN,MAAM,IAAI,eAAW,IAAI,CAAC,MAAM,0CAAE,kBAAkB,0CAAE,IAAI,CAAC;QAC3D,OAAO,IAAI,KAAK,OAAO,GAAG,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,kBAAkB,CAAC;KACrF;;4EAnBU,cAAc;uEAAd,cAAc,uVCT3B,kLAKM;oFDIO,cAAc;cAN1B,SAAS;eAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,WAAW,EAAE,yBAAyB;gBACtC,SAAS,EAAE,CAAC,yBAAyB,CAAC;gBACtC,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAGC,YAAY;kBADX,WAAW;mBAAC,qBAAqB;YAIlC,KAAK;kBADJ,KAAK;YAIN,MAAM;kBADL,KAAK;YAIN,YAAY;kBADX,KAAK;YAIN,IAAI;kBADH,SAAS;mBAAC,MAAM,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;;;METtB,eAAe;;8EAAf,eAAe;gDAAf,eAAe;oDALjB;YACP,YAAY;SACb;qFAGU,eAAe,mBANX,cAAc,aAE3B,YAAY,aAEJ,cAAc;oFAEb,eAAe;cAP3B,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,cAAc,CAAC;gBAC9B,OAAO,EAAE;oBACP,YAAY;iBACb;gBACD,OAAO,EAAE,CAAC,cAAc,CAAC;aAC1B;;;ACZD;;;;;;"}
|