@ng-atomic/components 1.6.0 → 1.7.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/chips-input/chips-input.atom.d.ts +20 -0
- package/atoms/chips-input/chips-input.module.d.ts +12 -0
- package/atoms/chips-input/chips.manager.d.ts +11 -0
- package/atoms/chips-input/index.d.ts +2 -0
- package/atoms/chips-input/ng-atomic-components-atoms-chips-input.d.ts +5 -0
- package/atoms/chips-input/package.json +10 -0
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +2 -2
- package/atoms/smart-menu-button/smart-menu-button.module.d.ts +3 -3
- package/bundles/ng-atomic-components-atoms-chips-input.umd.js +478 -0
- package/bundles/ng-atomic-components-atoms-chips-input.umd.js.map +1 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js +33 -38
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js +67 -74
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-card.umd.js +72 -80
- package/bundles/ng-atomic-components-frames-card.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-drawer.umd.js +17 -25
- package/bundles/ng-atomic-components-frames-drawer.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js +21 -32
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-line-up.umd.js +21 -32
- package/bundles/ng-atomic-components-frames-line-up.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js +16 -25
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-overlay.umd.js +24 -31
- package/bundles/ng-atomic-components-frames-overlay.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.js +70 -78
- package/bundles/ng-atomic-components-frames-scroll.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js +15 -22
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js +31 -37
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.js +29 -35
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.js +28 -66
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js +33 -36
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js +27 -31
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js +32 -38
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js +23 -28
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js +20 -26
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +23 -30
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +34 -38
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js +21 -28
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +17 -25
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.js +16 -22
- package/bundles/ng-atomic-components-organisms-heading.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.js +25 -30
- package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-navigator.umd.js +36 -40
- package/bundles/ng-atomic-components-organisms-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-paginator.umd.js +24 -30
- package/bundles/ng-atomic-components-organisms-paginator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js +42 -45
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js +22 -29
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-pages-_index.umd.js +72 -77
- package/bundles/ng-atomic-components-pages-_index.umd.js.map +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.js +76 -82
- package/bundles/ng-atomic-components-pages-blank.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.js +40 -42
- package/bundles/ng-atomic-components-templates-entrance.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-loading.umd.js +72 -80
- package/bundles/ng-atomic-components-templates-loading.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-menu.umd.js +18 -26
- package/bundles/ng-atomic-components-templates-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js +49 -49
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.js +32 -35
- package/bundles/ng-atomic-components-templates-smart-index.umd.js.map +1 -1
- package/bundles/ng-atomic-components.umd.js +2 -2
- package/bundles/ng-atomic-components.umd.js.map +1 -1
- package/esm2015/atoms/chips-input/chips-input.atom.js +57 -0
- package/esm2015/atoms/chips-input/chips-input.atom.js.map +1 -0
- package/esm2015/atoms/chips-input/chips-input.module.js +43 -0
- package/esm2015/atoms/chips-input/chips-input.module.js.map +1 -0
- package/esm2015/atoms/chips-input/chips.manager.js +32 -0
- package/esm2015/atoms/chips-input/chips.manager.js.map +1 -0
- package/esm2015/atoms/chips-input/index.js +3 -0
- package/esm2015/atoms/chips-input/index.js.map +1 -0
- package/esm2015/atoms/chips-input/ng-atomic-components-atoms-chips-input.js +5 -0
- package/esm2015/atoms/chips-input/ng-atomic-components-atoms-chips-input.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js +19 -19
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js.map +1 -1
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js +21 -22
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js.map +1 -1
- package/esm2015/frames/auto-layout/auto-layout.frame.js +11 -11
- package/esm2015/frames/auto-layout/auto-layout.frame.js.map +1 -1
- package/esm2015/frames/auto-layout/auto-layout.module.js +17 -18
- package/esm2015/frames/auto-layout/auto-layout.module.js.map +1 -1
- package/esm2015/frames/card/card.frame.js +11 -11
- package/esm2015/frames/card/card.frame.js.map +1 -1
- package/esm2015/frames/card/card.module.js +21 -22
- package/esm2015/frames/card/card.module.js.map +1 -1
- package/esm2015/frames/drawer/drawer.frame.js +16 -16
- package/esm2015/frames/drawer/drawer.frame.js.map +1 -1
- package/esm2015/frames/drawer/drawer.module.js +15 -16
- package/esm2015/frames/drawer/drawer.module.js.map +1 -1
- package/esm2015/frames/line-up/line-up.frame.js +30 -30
- package/esm2015/frames/line-up/line-up.frame.js.map +1 -1
- package/esm2015/frames/line-up/line-up.module.js +15 -16
- package/esm2015/frames/line-up/line-up.module.js.map +1 -1
- package/esm2015/frames/line-up-v2/line-up.frame.js +25 -25
- package/esm2015/frames/line-up-v2/line-up.frame.js.map +1 -1
- package/esm2015/frames/line-up-v2/line-up.module.js +15 -16
- package/esm2015/frames/line-up-v2/line-up.module.js.map +1 -1
- package/esm2015/frames/line-up-v2/resize-observer.js.map +1 -1
- package/esm2015/frames/overlay/overlay.frame.js +17 -17
- package/esm2015/frames/overlay/overlay.frame.js.map +1 -1
- package/esm2015/frames/overlay/overlay.module.js +17 -18
- package/esm2015/frames/overlay/overlay.module.js.map +1 -1
- package/esm2015/frames/overlay-v2/overlay.frame.js +14 -14
- package/esm2015/frames/overlay-v2/overlay.frame.js.map +1 -1
- package/esm2015/frames/overlay-v2/overlay.module.js +17 -18
- package/esm2015/frames/overlay-v2/overlay.module.js.map +1 -1
- package/esm2015/frames/scroll/scroll.frame.js +11 -11
- package/esm2015/frames/scroll/scroll.frame.js.map +1 -1
- package/esm2015/frames/scroll/scroll.module.js +19 -20
- package/esm2015/frames/scroll/scroll.module.js.map +1 -1
- package/esm2015/frames/smart-menu/smart-menu.frame.js +23 -23
- package/esm2015/frames/smart-menu/smart-menu.frame.js.map +1 -1
- package/esm2015/frames/smart-menu/smart-menu.module.js +13 -14
- package/esm2015/frames/smart-menu/smart-menu.module.js.map +1 -1
- package/esm2015/molecules/actions-column/actions-column.module.js +31 -32
- package/esm2015/molecules/actions-column/actions-column.module.js.map +1 -1
- package/esm2015/molecules/actions-column/actions-column.molecule.js +36 -36
- package/esm2015/molecules/actions-column/actions-column.molecule.js.map +1 -1
- package/esm2015/molecules/checkbox-column/checkbox-column.module.js +26 -27
- package/esm2015/molecules/checkbox-column/checkbox-column.module.js.map +1 -1
- package/esm2015/molecules/checkbox-column/checkbox-column.molecule.js +31 -31
- package/esm2015/molecules/checkbox-column/checkbox-column.molecule.js.map +1 -1
- package/esm2015/molecules/chips-input-field/chips-input-field.module.js +24 -37
- package/esm2015/molecules/chips-input-field/chips-input-field.module.js.map +1 -1
- package/esm2015/molecules/chips-input-field/chips-input-field.molecule.js +18 -42
- package/esm2015/molecules/chips-input-field/chips-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/date-input-field/date-input-field.module.js +22 -22
- package/esm2015/molecules/date-input-field/date-input-field.module.js.map +1 -1
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js +24 -24
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/select-input-field/select-input-field.module.js +23 -24
- package/esm2015/molecules/select-input-field/select-input-field.module.js.map +1 -1
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js +21 -21
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/smart-column/smart-column.module.js +27 -28
- package/esm2015/molecules/smart-column/smart-column.module.js.map +1 -1
- package/esm2015/molecules/smart-column/smart-column.molecule.js +19 -20
- package/esm2015/molecules/smart-column/smart-column.molecule.js.map +1 -1
- package/esm2015/molecules/text-input-field/text-input-field.module.js +21 -22
- package/esm2015/molecules/text-input-field/text-input-field.module.js.map +1 -1
- package/esm2015/molecules/text-input-field/text-input-field.molecule.js +24 -24
- package/esm2015/molecules/text-input-field/text-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/textarea-field/textarea-field.module.js +17 -18
- package/esm2015/molecules/textarea-field/textarea-field.module.js.map +1 -1
- package/esm2015/molecules/textarea-field/textarea-field.molecule.js +18 -18
- package/esm2015/molecules/textarea-field/textarea-field.molecule.js.map +1 -1
- package/esm2015/organisms/action-buttons-section/action-buttons-section.module.js +21 -22
- package/esm2015/organisms/action-buttons-section/action-buttons-section.module.js.map +1 -1
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js +18 -18
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.module.js +29 -30
- package/esm2015/organisms/back-navigator/back-navigator.module.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.organism.js +27 -27
- package/esm2015/organisms/back-navigator/back-navigator.organism.js.map +1 -1
- package/esm2015/organisms/card-input-section/card-input-section.module.js +17 -18
- package/esm2015/organisms/card-input-section/card-input-section.module.js.map +1 -1
- package/esm2015/organisms/card-input-section/card-input-section.organism.js +17 -17
- package/esm2015/organisms/card-input-section/card-input-section.organism.js.map +1 -1
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js +19 -20
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js.map +1 -1
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js +13 -13
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js.map +1 -1
- package/esm2015/organisms/date-input-section/date-input-section.module.js +19 -20
- 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 +18 -18
- package/esm2015/organisms/date-input-section/date-input-section.organism.js.map +1 -1
- package/esm2015/organisms/heading/heading.module.js +17 -18
- package/esm2015/organisms/heading/heading.module.js.map +1 -1
- package/esm2015/organisms/heading/heading.organism.js +13 -13
- package/esm2015/organisms/heading/heading.organism.js.map +1 -1
- package/esm2015/organisms/menu/menu.module.js +17 -18
- package/esm2015/organisms/menu/menu.module.js.map +1 -1
- package/esm2015/organisms/menu/menu.organism.js +17 -17
- package/esm2015/organisms/menu/menu.organism.js.map +1 -1
- package/esm2015/organisms/navigator/navigator.module.js +25 -26
- package/esm2015/organisms/navigator/navigator.module.js.map +1 -1
- package/esm2015/organisms/navigator/navigator.organism.js +27 -27
- package/esm2015/organisms/navigator/navigator.organism.js.map +1 -1
- package/esm2015/organisms/paginator/paginator.module.js +29 -30
- package/esm2015/organisms/paginator/paginator.module.js.map +1 -1
- package/esm2015/organisms/paginator/paginator.organism.js +22 -22
- package/esm2015/organisms/paginator/paginator.organism.js.map +1 -1
- package/esm2015/organisms/select-input-section/select-input-section.module.js +21 -22
- package/esm2015/organisms/select-input-section/select-input-section.module.js.map +1 -1
- package/esm2015/organisms/select-input-section/select-input-section.organism.js +17 -17
- package/esm2015/organisms/select-input-section/select-input-section.organism.js.map +1 -1
- package/esm2015/organisms/smart-table/smart-table.module.js +41 -42
- package/esm2015/organisms/smart-table/smart-table.module.js.map +1 -1
- package/esm2015/organisms/smart-table/smart-table.organism.js +42 -42
- package/esm2015/organisms/smart-table/smart-table.organism.js.map +1 -1
- package/esm2015/organisms/social-login-section/social-login-section.module.js +21 -22
- package/esm2015/organisms/social-login-section/social-login-section.module.js.map +1 -1
- package/esm2015/organisms/social-login-section/social-login-section.organism.js +13 -13
- package/esm2015/organisms/social-login-section/social-login-section.organism.js.map +1 -1
- package/esm2015/organisms/text-input-section/text-input-section.module.js +21 -22
- package/esm2015/organisms/text-input-section/text-input-section.module.js.map +1 -1
- package/esm2015/organisms/text-input-section/text-input-section.organism.js +20 -20
- package/esm2015/organisms/text-input-section/text-input-section.organism.js.map +1 -1
- package/esm2015/organisms/textarea-section/textarea-section.module.js +17 -18
- package/esm2015/organisms/textarea-section/textarea-section.module.js.map +1 -1
- package/esm2015/organisms/textarea-section/textarea-section.organism.js +13 -13
- package/esm2015/organisms/textarea-section/textarea-section.organism.js.map +1 -1
- package/esm2015/organisms/top-navigator/top-navigator.module.js +27 -28
- package/esm2015/organisms/top-navigator/top-navigator.module.js.map +1 -1
- package/esm2015/organisms/top-navigator/top-navigator.organism.js +17 -17
- package/esm2015/organisms/top-navigator/top-navigator.organism.js.map +1 -1
- package/esm2015/pages/_index/index.module.js +15 -15
- package/esm2015/pages/_index/index.module.js.map +1 -1
- package/esm2015/pages/_index/index.page.js +10 -10
- package/esm2015/pages/_index/index.page.js.map +1 -1
- package/esm2015/pages/blank/blank.module.js +14 -15
- package/esm2015/pages/blank/blank.module.js.map +1 -1
- package/esm2015/pages/blank/blank.page.js +10 -10
- package/esm2015/pages/blank/blank.page.js.map +1 -1
- package/esm2015/templates/entrance/entrance.module.js +35 -36
- package/esm2015/templates/entrance/entrance.module.js.map +1 -1
- package/esm2015/templates/entrance/entrance.template.js +28 -28
- package/esm2015/templates/entrance/entrance.template.js.map +1 -1
- package/esm2015/templates/loading/loading.module.js +21 -22
- package/esm2015/templates/loading/loading.module.js.map +1 -1
- package/esm2015/templates/loading/loading.template.js +11 -11
- package/esm2015/templates/loading/loading.template.js.map +1 -1
- package/esm2015/templates/menu/menu.module.js +17 -18
- package/esm2015/templates/menu/menu.module.js.map +1 -1
- package/esm2015/templates/menu/menu.template.js +15 -15
- package/esm2015/templates/menu/menu.template.js.map +1 -1
- package/esm2015/templates/smart-crud/smart-crud.module.js +45 -46
- package/esm2015/templates/smart-crud/smart-crud.module.js.map +1 -1
- package/esm2015/templates/smart-crud/smart-crud.template.js +35 -35
- package/esm2015/templates/smart-crud/smart-crud.template.js.map +1 -1
- package/esm2015/templates/smart-index/smart-index.module.js +31 -32
- package/esm2015/templates/smart-index/smart-index.module.js.map +1 -1
- package/esm2015/templates/smart-index/smart-index.template.js +52 -52
- package/esm2015/templates/smart-index/smart-index.template.js.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-chips-input.js +131 -0
- package/fesm2015/ng-atomic-components-atoms-chips-input.js.map +1 -0
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js +45 -42
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-auto-layout.js +29 -30
- package/fesm2015/ng-atomic-components-frames-auto-layout.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-card.js +35 -35
- package/fesm2015/ng-atomic-components-frames-card.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-drawer.js +34 -34
- package/fesm2015/ng-atomic-components-frames-drawer.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js +41 -42
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-line-up.js +46 -47
- package/fesm2015/ng-atomic-components-frames-line-up.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js +32 -33
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay.js +37 -36
- package/fesm2015/ng-atomic-components-frames-overlay.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-scroll.js +33 -33
- package/fesm2015/ng-atomic-components-frames-scroll.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-smart-menu.js +37 -38
- package/fesm2015/ng-atomic-components-frames-smart-menu.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-actions-column.js +72 -70
- package/fesm2015/ng-atomic-components-molecules-actions-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.js +62 -60
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.js +43 -76
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js +53 -49
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js +50 -48
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.js +52 -50
- package/fesm2015/ng-atomic-components-molecules-smart-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-text-input-field.js +53 -51
- package/fesm2015/ng-atomic-components-molecules-text-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-textarea-field.js +41 -40
- package/fesm2015/ng-atomic-components-molecules-textarea-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js +42 -41
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js +63 -59
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.js +37 -37
- package/fesm2015/ng-atomic-components-organisms-card-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js +37 -36
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js +40 -40
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-heading.js +33 -33
- package/fesm2015/ng-atomic-components-organisms-heading.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-menu.js +40 -38
- package/fesm2015/ng-atomic-components-organisms-menu.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-navigator.js +59 -55
- package/fesm2015/ng-atomic-components-organisms-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-paginator.js +58 -56
- package/fesm2015/ng-atomic-components-organisms-paginator.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.js +41 -41
- package/fesm2015/ng-atomic-components-organisms-select-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.js +92 -87
- package/fesm2015/ng-atomic-components-organisms-smart-table.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.js +37 -37
- package/fesm2015/ng-atomic-components-organisms-social-login-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-text-input-section.js +44 -44
- package/fesm2015/ng-atomic-components-organisms-text-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-textarea-section.js +33 -33
- package/fesm2015/ng-atomic-components-organisms-textarea-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js +49 -48
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-pages-_index.js +27 -26
- package/fesm2015/ng-atomic-components-pages-_index.js.map +1 -1
- package/fesm2015/ng-atomic-components-pages-blank.js +28 -28
- package/fesm2015/ng-atomic-components-pages-blank.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.js +73 -67
- package/fesm2015/ng-atomic-components-templates-entrance.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-loading.js +35 -35
- package/fesm2015/ng-atomic-components-templates-loading.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.js +35 -35
- package/fesm2015/ng-atomic-components-templates-menu.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.js +93 -85
- package/fesm2015/ng-atomic-components-templates-smart-crud.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.js +94 -89
- package/fesm2015/ng-atomic-components-templates-smart-index.js.map +1 -1
- package/fesm2015/ng-atomic-components.js.map +1 -1
- package/frames/auto-layout/auto-layout.frame.d.ts +2 -2
- package/frames/auto-layout/auto-layout.module.d.ts +3 -3
- package/frames/card/card.frame.d.ts +2 -2
- package/frames/card/card.module.d.ts +3 -3
- package/frames/drawer/drawer.frame.d.ts +2 -2
- package/frames/drawer/drawer.module.d.ts +3 -3
- package/frames/line-up/line-up.frame.d.ts +4 -4
- package/frames/line-up/line-up.module.d.ts +3 -3
- package/frames/line-up-v2/line-up.frame.d.ts +4 -4
- package/frames/line-up-v2/line-up.module.d.ts +3 -3
- package/frames/overlay/overlay.frame.d.ts +2 -2
- package/frames/overlay/overlay.module.d.ts +3 -3
- package/frames/overlay-v2/overlay.frame.d.ts +2 -2
- package/frames/overlay-v2/overlay.module.d.ts +3 -3
- package/frames/scroll/scroll.frame.d.ts +2 -2
- package/frames/scroll/scroll.module.d.ts +3 -3
- package/frames/smart-menu/smart-menu.frame.d.ts +2 -2
- package/frames/smart-menu/smart-menu.module.d.ts +3 -3
- package/molecules/actions-column/actions-column.module.d.ts +3 -3
- package/molecules/actions-column/actions-column.molecule.d.ts +2 -2
- package/molecules/checkbox-column/checkbox-column.module.d.ts +3 -3
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +2 -2
- package/molecules/chips-input-field/chips-input-field.module.d.ts +4 -7
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +3 -13
- package/molecules/date-input-field/date-input-field.module.d.ts +3 -3
- package/molecules/date-input-field/date-input-field.molecule.d.ts +2 -2
- package/molecules/select-input-field/select-input-field.module.d.ts +3 -3
- package/molecules/select-input-field/select-input-field.molecule.d.ts +2 -2
- package/molecules/smart-column/smart-column.module.d.ts +3 -3
- package/molecules/smart-column/smart-column.molecule.d.ts +2 -2
- package/molecules/text-input-field/text-input-field.module.d.ts +3 -3
- package/molecules/text-input-field/text-input-field.molecule.d.ts +2 -2
- package/molecules/textarea-field/textarea-field.module.d.ts +3 -3
- package/molecules/textarea-field/textarea-field.molecule.d.ts +2 -2
- package/organisms/action-buttons-section/action-buttons-section.module.d.ts +3 -3
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +2 -2
- package/organisms/back-navigator/back-navigator.module.d.ts +3 -3
- package/organisms/back-navigator/back-navigator.organism.d.ts +2 -2
- package/organisms/card-input-section/card-input-section.module.d.ts +3 -3
- package/organisms/card-input-section/card-input-section.organism.d.ts +2 -2
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.d.ts +3 -3
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +2 -2
- package/organisms/date-input-section/date-input-section.module.d.ts +3 -3
- package/organisms/date-input-section/date-input-section.organism.d.ts +3 -3
- package/organisms/heading/heading.module.d.ts +3 -3
- package/organisms/heading/heading.organism.d.ts +2 -2
- package/organisms/menu/menu.module.d.ts +3 -3
- package/organisms/menu/menu.organism.d.ts +2 -2
- package/organisms/navigator/navigator.module.d.ts +3 -3
- package/organisms/navigator/navigator.organism.d.ts +2 -2
- package/organisms/paginator/paginator.module.d.ts +3 -3
- package/organisms/paginator/paginator.organism.d.ts +2 -2
- package/organisms/select-input-section/select-input-section.module.d.ts +3 -3
- package/organisms/select-input-section/select-input-section.organism.d.ts +2 -2
- package/organisms/smart-table/smart-table.module.d.ts +3 -3
- package/organisms/smart-table/smart-table.organism.d.ts +2 -2
- package/organisms/social-login-section/social-login-section.module.d.ts +3 -3
- package/organisms/social-login-section/social-login-section.organism.d.ts +2 -2
- package/organisms/text-input-section/text-input-section.module.d.ts +3 -3
- package/organisms/text-input-section/text-input-section.organism.d.ts +2 -2
- package/organisms/textarea-section/textarea-section.module.d.ts +3 -3
- package/organisms/textarea-section/textarea-section.organism.d.ts +2 -2
- package/organisms/top-navigator/top-navigator.module.d.ts +3 -3
- package/organisms/top-navigator/top-navigator.organism.d.ts +2 -2
- package/package.json +12 -6
- package/pages/_index/index.module.d.ts +3 -3
- package/pages/_index/index.page.d.ts +2 -2
- package/pages/blank/blank.module.d.ts +3 -3
- package/pages/blank/blank.page.d.ts +2 -2
- package/templates/entrance/entrance.module.d.ts +5 -5
- package/templates/entrance/entrance.template.d.ts +2 -2
- package/templates/loading/loading.module.d.ts +3 -3
- package/templates/loading/loading.template.d.ts +2 -2
- package/templates/menu/menu.module.d.ts +3 -3
- package/templates/menu/menu.template.d.ts +2 -2
- package/templates/smart-crud/smart-crud.module.d.ts +4 -4
- package/templates/smart-crud/smart-crud.template.d.ts +2 -2
- package/templates/smart-index/smart-index.module.d.ts +3 -3
- package/templates/smart-index/smart-index.template.d.ts +2 -2
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js +0 -2
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-card.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-card.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-line-up.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-line-up.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-overlay.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-overlay.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-scroll.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js +0 -16
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js +0 -16
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js +0 -109
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-navigator.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-navigator.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-paginator.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-paginator.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js +0 -16
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-pages-_index.umd.min.js +0 -2
- package/bundles/ng-atomic-components-pages-_index.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-pages-blank.umd.min.js +0 -2
- package/bundles/ng-atomic-components-pages-blank.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js +0 -2
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-loading.umd.min.js +0 -2
- package/bundles/ng-atomic-components-templates-loading.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-menu.umd.min.js +0 -2
- package/bundles/ng-atomic-components-templates-menu.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js +0 -16
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js +0 -2
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components.umd.min.js +0 -2
- package/bundles/ng-atomic-components.umd.min.js.map +0 -1
- package/esm2015/organisms/input-field-section/index.js +0 -3
- package/esm2015/organisms/input-field-section/index.js.map +0 -1
- package/esm2015/organisms/input-field-section/input-field-section.module.js +0 -34
- package/esm2015/organisms/input-field-section/input-field-section.module.js.map +0 -1
- package/esm2015/organisms/input-field-section/input-field-section.organism.js +0 -35
- package/esm2015/organisms/input-field-section/input-field-section.organism.js.map +0 -1
- package/esm2015/organisms/input-field-section/ng-atomic-components-organisms-input-field-section.js +0 -5
- package/esm2015/organisms/input-field-section/ng-atomic-components-organisms-input-field-section.js.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js +0 -72
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js.map +0 -1
- package/organisms/input-field-section/index.d.ts +0 -2
- package/organisms/input-field-section/input-field-section.module.d.ts +0 -9
- package/organisms/input-field-section/input-field-section.organism.d.ts +0 -11
- package/organisms/input-field-section/ng-atomic-components-organisms-input-field-section.d.ts +0 -5
- package/organisms/input-field-section/package.json +0 -10
|
@@ -1 +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,EAAE,MAAM,EAAC,CAAC;KACzB,CAAC;IACF,UAAU,CAAC,WAAW,EAAE;QACtB,QAAQ,CAAC;YACP,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;YAC7B,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;SAC1C,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,OAAO,CAAC,mBAAmB,EAAE;IAClD,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;QAClB,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,MAAM;KACd,CAAC,CAAC;IACH,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;QAClB,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,MAAM;KAC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AAY;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;;;;;;"}
|
|
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;AAClD,IAAA,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC;AACf,QAAA,KAAK,EAAE,MAAM;AACd,KAAA,CAAC,CAAC;AACH,IAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA,CAAC,CAAC;IACH,UAAU,CAAC,WAAW,EAAE;QACtB,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACvC,QAAA,KAAK,CAAC,EAAC,OAAO,EAAE,MAAM,EAAC,CAAC;KACzB,CAAC;IACF,UAAU,CAAC,WAAW,EAAE;AACtB,QAAA,QAAQ,CAAC;AACP,YAAA,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;YAC7B,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;SAC1C,CAAC;KACH,CAAC;AACH,CAAA,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,OAAO,CAAC,mBAAmB,EAAE;AAClD,IAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,KAAK,EAAE,MAAM;AACd,KAAA,CAAC,CAAC;AACH,IAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,KAAK,EAAE,MAAM;AACd,KAAA,CAAC,CAAC;AACH,IAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,QAAA,Q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AAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,EANd,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,wBAAwB;AACzB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAGU,YAAY,EAAA,UAAA,EAAA,CAAA;kBARxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,WAAW,CAAC;AAC3B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,wBAAwB;AACzB,qBAAA;oBACD,OAAO,EAAE,CAAC,WAAW,CAAC;AACvB,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Injectable, Component, ChangeDetectionStrategy, HostBinding, Input, ViewChild, NgModule } from '@angular/core';
|
|
3
3
|
import '@angular/router';
|
|
4
4
|
import { Observable, ReplaySubject } from 'rxjs';
|
|
5
5
|
import { startWith, map, distinctUntilChanged } from 'rxjs/operators';
|
|
@@ -106,12 +106,12 @@ class LineUpService {
|
|
|
106
106
|
this.pageAnimationDone$ = new ReplaySubject(1);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
LineUpService.ɵfac =
|
|
110
|
-
LineUpService.ɵprov =
|
|
111
|
-
(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
LineUpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LineUpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
110
|
+
LineUpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LineUpService, providedIn: 'root' });
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LineUpService, decorators: [{
|
|
112
|
+
type: Injectable,
|
|
113
|
+
args: [{ providedIn: 'root' }]
|
|
114
|
+
}] });
|
|
115
115
|
class LineUpFrame {
|
|
116
116
|
constructor(service, cd) {
|
|
117
117
|
this.service = service;
|
|
@@ -134,52 +134,51 @@ class LineUpFrame {
|
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
LineUpFrame.ɵfac =
|
|
138
|
-
LineUpFrame.ɵcmp =
|
|
139
|
-
(
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
137
|
+
LineUpFrame.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LineUpFrame, deps: [{ token: LineUpService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
138
|
+
LineUpFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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"], 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-gMLt: var(--gap);--background: #ccc;--background-SCOPED-IN-line-up-gMLt: var(--background);--contents-background: transparent;--contents-background-SCOPED-IN-line-up-gMLt: var(--contents-background)}:host{position:relative;display:flex;justify-content:flex-start;grid-gap:var(--gap-SCOPED-IN-line-up-gMLt);gap:var(--gap-SCOPED-IN-line-up-gMLt);width:-moz-fit-content;width:fit-content;height:100%;background:var(--background-SCOPED-IN-line-up-gMLt)}:host .contents{display:flex;max-width:-moz-fit-content;max-width:fit-content;height:100%;background:var(--contents-background-SCOPED-IN-line-up-gMLt)}:host .contents.main{overflow:hidden;justify-content:flex-end}:host .contents.next{overflow:visible;justify-content:flex-start}\n"], animations: LINE_UP_ANIMATIONS, changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LineUpFrame, decorators: [{
|
|
140
|
+
type: Component,
|
|
141
|
+
args: [{
|
|
142
|
+
selector: 'frames-line-up',
|
|
143
|
+
templateUrl: './line-up.frame.html',
|
|
144
|
+
styleUrls: ['./line-up.frame.scss'],
|
|
145
|
+
changeDetection: ChangeDetectionStrategy.Default,
|
|
146
|
+
animations: LINE_UP_ANIMATIONS,
|
|
147
|
+
}]
|
|
148
|
+
}], ctorParameters: function () { return [{ type: LineUpService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { isMainHidden: [{
|
|
149
|
+
type: HostBinding,
|
|
150
|
+
args: ['attr.is-main-hidden']
|
|
151
|
+
}], label: [{
|
|
152
|
+
type: Input
|
|
153
|
+
}], outlet: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}], minNextWidth: [{
|
|
156
|
+
type: Input
|
|
157
|
+
}], next: [{
|
|
158
|
+
type: ViewChild,
|
|
159
|
+
args: ['next', { static: true }]
|
|
160
|
+
}] } });
|
|
161
161
|
|
|
162
162
|
class LineUpModule {
|
|
163
163
|
}
|
|
164
|
-
LineUpModule.ɵfac =
|
|
165
|
-
LineUpModule.ɵmod =
|
|
166
|
-
|
|
164
|
+
LineUpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LineUpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
165
|
+
LineUpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LineUpModule, declarations: [LineUpFrame], imports: [CommonModule,
|
|
166
|
+
MatProgressSpinnerModule], exports: [LineUpFrame] });
|
|
167
|
+
LineUpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LineUpModule, imports: [[
|
|
167
168
|
CommonModule,
|
|
168
169
|
MatProgressSpinnerModule
|
|
169
170
|
]] });
|
|
170
|
-
(
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
]
|
|
180
|
-
|
|
181
|
-
}]
|
|
182
|
-
}], null, null); })();
|
|
171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LineUpModule, decorators: [{
|
|
172
|
+
type: NgModule,
|
|
173
|
+
args: [{
|
|
174
|
+
declarations: [LineUpFrame],
|
|
175
|
+
imports: [
|
|
176
|
+
CommonModule,
|
|
177
|
+
MatProgressSpinnerModule
|
|
178
|
+
],
|
|
179
|
+
exports: [LineUpFrame]
|
|
180
|
+
}]
|
|
181
|
+
}] });
|
|
183
182
|
|
|
184
183
|
/**
|
|
185
184
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-frames-line-up.js","sources":["../../../../libs/components/frames/line-up/line-up.animations.ts","../../../../libs/components/frames/line-up/resize-observer.ts","../../../../libs/components/frames/line-up/line-up.frame.ts","../../../../libs/components/frames/line-up/line-up.frame.html","../../../../libs/components/frames/line-up/line-up.module.ts","../../../../libs/components/frames/line-up/ng-atomic-components-frames-line-up.ts"],"sourcesContent":["import { animate, query, sequence, state, style, transition, trigger, group } from '@angular/animations';\n\nconst visibleHiddenAnimation = trigger('visibleHidden', [\n state('visible', style({\n width: '100%',\n })),\n state('hidden', style({\n display: 'none',\n width: '0%',\n })),\n transition('visible => hidden', [\n animate('0.5s', style({ width: '0%' })),\n style({display: 'none'}),\n ]),\n transition('hidden => visible', [\n sequence([\n style({ display: 'inherit' }),\n animate('0.5s', style({ width: '100%' })),\n ]),\n ]),\n]);\n\nconst routeAnimation = trigger('pageChange', [\n state('Next', style({\n position: 'relative',\n width: '100%',\n })),\n state('NextWithMainPage', style({\n position: 'relative',\n width: '100%',\n })),\n state('Blank', style({\n position: 'relative',\n display: 'none',\n })),\n transition('Blank => 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('Blank => NextWithMainPage', [\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 => Blank', 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('NextWithMainPage => Blank', 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 = [\n visibleHiddenAnimation,\n routeAnimation,\n];","import { Observable } from 'rxjs';\nimport { startWith } from 'rxjs/operators';\nimport ResizeObserver from 'resize-observer-polyfill';\n\nexport interface DOMRectReadOnly {\n readonly x: number;\n readonly y: number;\n readonly width: number;\n readonly height: number;\n readonly top: number;\n readonly right: number;\n readonly bottom: number;\n readonly left: number;\n}\n\nexport interface ResizeObserverEntry {\n readonly target: Element;\n readonly contentRect: DOMRectReadOnly;\n}\n\nexport function fromResize(...elements: Element[]): Observable<ResizeObserverEntry> {\n return Observable.create(function(observer: any) {\n\n const resizeObserver = new ResizeObserver((observerEntries: any) => {\n for (const entry of observerEntries) {\n observer.next(entry);\n }\n });\n\n for (const el of elements) {\n resizeObserver.observe(el);\n }\n\n // cancel resize observer on cancelation\n return () => resizeObserver.disconnect();\n }).pipe(\n startWith({\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n }) \n );\n}\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, Injectable, Input, ViewChild } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\nimport { ReplaySubject } from 'rxjs';\nimport { distinctUntilChanged, map } from 'rxjs/operators';\nimport { LINE_UP_ANIMATIONS } from './line-up.animations';\nimport { fromResize } from './resize-observer';\n\nconst _fromResize = (el: ElementRef) => fromResize(el.nativeElement)\n .pipe(map(({contentRect}: {contentRect: {width: number}}) => contentRect?.width ?? 0))\n .pipe(distinctUntilChanged());\n\n@Injectable({providedIn: 'root'})\nclass LineUpService {\n pageAnimationDone$ = new ReplaySubject(1);\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 {\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 constructor(\n public service: LineUpService,\n private cd: ChangeDetectorRef,\n ) { }\n\n ngOnInit(): void {\n if (this.label === 'root') return; \n\n _fromResize(this.next).subscribe((width: number) => {\n this.isMainHidden = width > this.minNextWidth;\n this.cd.detectChanges();\n });\n }\n}\n","<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>","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,sBAAsB,GAAG,OAAO,CAAC,eAAe,EAAE;IACtD,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC;QACrB,KAAK,EAAE,MAAM;KACd,CAAC,CAAC;IACH,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC;QACpB,OAAO,EAAE,MAAM;QACf,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;IACH,UAAU,CAAC,mBAAmB,EAAE;QAC9B,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QACvC,KAAK,CAAC,EAAC,OAAO,EAAE,MAAM,EAAC,CAAC;KACzB,CAAC;IACF,UAAU,CAAC,mBAAmB,EAAE;QAC9B,QAAQ,CAAC;YACP,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;YAC7B,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;SAC1C,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,OAAO,CAAC,YAAY,EAAE;IAC3C,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;QAClB,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE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gB;gBAC1B,WAAW,EAAE,sBAAsB;gBACnC,SAAS,EAAE,CAAC,sBAAsB,CAAC;gBACnC,eAAe,EAAE,uBAAuB,CAAC,OAAO;gBAChD,UAAU,EAAE,kBAAkB;aAC/B;sCAuBmB,aAAa,uCApB/B,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;;;MErBtB,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;;;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-line-up.js","sources":["../../../../libs/components/frames/line-up/line-up.animations.ts","../../../../libs/components/frames/line-up/resize-observer.ts","../../../../libs/components/frames/line-up/line-up.frame.ts","../../../../libs/components/frames/line-up/line-up.frame.html","../../../../libs/components/frames/line-up/line-up.module.ts","../../../../libs/components/frames/line-up/ng-atomic-components-frames-line-up.ts"],"sourcesContent":["import { animate, query, sequence, state, style, transition, trigger, group } from '@angular/animations';\n\nconst visibleHiddenAnimation = trigger('visibleHidden', [\n state('visible', style({\n width: '100%',\n })),\n state('hidden', style({\n display: 'none',\n width: '0%',\n })),\n transition('visible => hidden', [\n animate('0.5s', style({ width: '0%' })),\n style({display: 'none'}),\n ]),\n transition('hidden => visible', [\n sequence([\n style({ display: 'inherit' }),\n animate('0.5s', style({ width: '100%' })),\n ]),\n ]),\n]);\n\nconst routeAnimation = trigger('pageChange', [\n state('Next', style({\n position: 'relative',\n width: '100%',\n })),\n state('NextWithMainPage', style({\n position: 'relative',\n width: '100%',\n })),\n state('Blank', style({\n position: 'relative',\n display: 'none',\n })),\n transition('Blank => 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('Blank => NextWithMainPage', [\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 => Blank', 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('NextWithMainPage => Blank', 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 = [\n visibleHiddenAnimation,\n routeAnimation,\n];","import { Observable } from 'rxjs';\nimport { startWith } from 'rxjs/operators';\nimport ResizeObserver from 'resize-observer-polyfill';\n\nexport interface DOMRectReadOnly {\n readonly x: number;\n readonly y: number;\n readonly width: number;\n readonly height: number;\n readonly top: number;\n readonly right: number;\n readonly bottom: number;\n readonly left: number;\n}\n\nexport interface ResizeObserverEntry {\n readonly target: Element;\n readonly contentRect: DOMRectReadOnly;\n}\n\nexport function fromResize(...elements: Element[]): Observable<ResizeObserverEntry> {\n return Observable.create(function(observer: any) {\n\n const resizeObserver = new ResizeObserver((observerEntries: any) => {\n for (const entry of observerEntries) {\n observer.next(entry);\n }\n });\n\n for (const el of elements) {\n resizeObserver.observe(el);\n }\n\n // cancel resize observer on cancelation\n return () => resizeObserver.disconnect();\n }).pipe(\n startWith({\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n }) \n );\n}\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, Injectable, Input, ViewChild } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\nimport { ReplaySubject } from 'rxjs';\nimport { distinctUntilChanged, map } from 'rxjs/operators';\nimport { LINE_UP_ANIMATIONS } from './line-up.animations';\nimport { fromResize } from './resize-observer';\n\nconst _fromResize = (el: ElementRef) => fromResize(el.nativeElement)\n .pipe(map(({contentRect}: {contentRect: {width: number}}) => contentRect?.width ?? 0))\n .pipe(distinctUntilChanged());\n\n@Injectable({providedIn: 'root'})\nclass LineUpService {\n pageAnimationDone$ = new ReplaySubject(1);\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 {\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 constructor(\n public service: LineUpService,\n private cd: ChangeDetectorRef,\n ) { }\n\n ngOnInit(): void {\n if (this.label === 'root') return; \n\n _fromResize(this.next).subscribe((width: number) => {\n this.isMainHidden = width > this.minNextWidth;\n this.cd.detectChanges();\n });\n }\n}\n","<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>","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,sBAAsB,GAAG,OAAO,CAAC,eAAe,EAAE;AACtD,IAAA,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC;AACrB,QAAA,KAAK,EAAE,MAAM;AACd,KAAA,CAAC,CAAC;AACH,IAAA,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC;AACpB,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA,CAAC,CAAC;IACH,UAAU,CAAC,mBAAmB,EAAE;QAC9B,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACvC,QAAA,KAAK,CAAC,EAAC,OAAO,EAAE,MAAM,EAAC,CAAC;KACzB,CAAC;IACF,UAAU,CAAC,mBAAmB,EAAE;AAC9B,QAAA,QAAQ,CAAC;AACP,YAAA,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;YAC7B,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;SAC1C,CAAC;KACH,CAAC;AACH,CAAA,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,OAAO,CAAC,YAAY,EAAE;AAC3C,IAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,KAAK,EAAE,MAAM;AACd,KAAA,CAAC,CAAC;AACH,IAAA,KAAK,CAAC,kBAAkB,EAAE,KAAK,CAAC;AAC9B,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,KAAK,EAAE,MAAM;AACd,KAAA,CAAC,CA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EhB,WAAW,CAAA,EAAA,CAAA,CAAA;AAEV,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,EANd,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,wBAAwB;AACzB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAGU,YAAY,EAAA,UAAA,EAAA,CAAA;kBARxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,WAAW,CAAC;AAC3B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,wBAAwB;AACzB,qBAAA;oBACD,OAAO,EAAE,CAAC,WAAW,CAAC;AACvB,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
3
|
import { trigger, transition, query, style, animate, animateChild } from '@angular/animations';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
@@ -36,44 +36,43 @@ class OverlayFrame {
|
|
|
36
36
|
this.hasNext = false;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
OverlayFrame.ɵfac =
|
|
40
|
-
OverlayFrame.ɵcmp =
|
|
41
|
-
(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
39
|
+
OverlayFrame.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayFrame, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
OverlayFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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-3Tz2: var(--cell);--width: 100%;--width-SCOPED-IN-line-overlay-3Tz2: var(--width);--height: 100%;--height-SCOPED-IN-line-overlay-3Tz2: var(--height)}:host{position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-3Tz2);height:var(--height-SCOPED-IN-line-overlay-3Tz2)}:host .loading{position:absolute;z-index:1000;top:0;left:0;display:flex;width:var(--width-SCOPED-IN-line-overlay-3Tz2);height:var(--height-SCOPED-IN-line-overlay-3Tz2);justify-content:center;align-items:center;background-color:#0006}:host .main{position:absolute;top:0;left:0;z-index:1;width:var(--width-SCOPED-IN-line-overlay-3Tz2);height:var(--height-SCOPED-IN-line-overlay-3Tz2);overflow:hidden}:host .main *{--cell: var(--cell-SCOPED-IN-line-overlay-3Tz2);--width: var(--width-SCOPED-IN-line-overlay-3Tz2);--height: var(--height-SCOPED-IN-line-overlay-3Tz2)}:host .next{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-3Tz2);height:auto}:host .next *{--cell: var(--cell-SCOPED-IN-line-overlay-3Tz2);--width: var(--width-SCOPED-IN-line-overlay-3Tz2);--height: var(--height-SCOPED-IN-line-overlay-3Tz2)}\n"], animations: [OVERLAY_ANIMATION], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayFrame, decorators: [{
|
|
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
|
+
}], propDecorators: { hasNext: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}] } });
|
|
53
53
|
|
|
54
54
|
class OverlayModule {
|
|
55
55
|
}
|
|
56
|
-
OverlayModule.ɵfac =
|
|
57
|
-
OverlayModule.ɵmod =
|
|
58
|
-
|
|
56
|
+
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
57
|
+
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayModule, declarations: [OverlayFrame], imports: [CommonModule,
|
|
58
|
+
MatProgressSpinnerModule], exports: [OverlayFrame] });
|
|
59
|
+
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayModule, imports: [[
|
|
59
60
|
CommonModule,
|
|
60
61
|
MatProgressSpinnerModule
|
|
61
62
|
]] });
|
|
62
|
-
(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}]
|
|
76
|
-
}], null, null); })();
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayModule, decorators: [{
|
|
64
|
+
type: NgModule,
|
|
65
|
+
args: [{
|
|
66
|
+
declarations: [OverlayFrame],
|
|
67
|
+
imports: [
|
|
68
|
+
CommonModule,
|
|
69
|
+
MatProgressSpinnerModule
|
|
70
|
+
],
|
|
71
|
+
exports: [
|
|
72
|
+
OverlayFrame
|
|
73
|
+
]
|
|
74
|
+
}]
|
|
75
|
+
}] });
|
|
77
76
|
|
|
78
77
|
/**
|
|
79
78
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +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;
|
|
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;AACd,YAAA,KAAK,CAAC;AACJ,gBAAA,QAAQ,EAAE,UAAU;AACpB,gBAAA,GAAG,EAAE,KAAK;AACV,gBAAA,IAAI,EAAE,KAAK;aACZ,CAAC;SACH,CAAC;AACF,QAAA,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;AAC1C,QAAA,KAAK,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,gBAAgB,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AACnE,QAAA,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,CAAC;KAChC,CAAC;IACF,UAAU,CAAC,eAAe,EAAE;QACxB,KAAK,CAAC,QAAQ,EAAE;AACd,YAAA,KAAK,CAAC;AACJ,gBAAA,QAAQ,EAAE,UAAU;AACpB,gBAAA,GAAG,EAAE,KAAK;AACV,gBAAA,IAAI,EAAE,KAAK;aACZ,CAAC;SACH,CAAC;AACF,QAAA,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;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AAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4GAAb,aAAa,EAAA,YAAA,EAAA,CATT,YAAY,CAAA,EAAA,OAAA,EAAA,CAEzB,YAAY;AACZ,QAAA,wBAAwB,aAGxB,YAAY,CAAA,EAAA,CAAA,CAAA;AAGH,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EARf,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,wBAAwB;AACzB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAKU,aAAa,EAAA,UAAA,EAAA,CAAA;kBAVzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,YAAY,CAAC;AAC5B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Component, Input, NgModule } from '@angular/core';
|
|
3
3
|
import '@angular/router';
|
|
4
4
|
import { trigger, transition, query, style, animate, animateChild } from '@angular/animations';
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
5
|
+
import * as i1 from '@angular/material/progress-spinner';
|
|
6
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import { CommonModule } from '@angular/common';
|
|
7
9
|
|
|
8
10
|
const slideInAnimation = trigger('routeAnimations', [
|
|
9
11
|
transition('IndexPage => NextPage', [
|
|
@@ -42,45 +44,44 @@ class OverlayFrame {
|
|
|
42
44
|
return (_a = outlet === null || outlet === void 0 ? void 0 : outlet.activatedRouteData) === null || _a === void 0 ? void 0 : _a.page;
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
|
-
OverlayFrame.ɵfac =
|
|
46
|
-
OverlayFrame.ɵcmp =
|
|
47
|
-
(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
47
|
+
OverlayFrame.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayFrame, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
OverlayFrame.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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-sSR1: var(--cell);--width: 100%;--width-SCOPED-IN-line-overlay-sSR1: var(--width);--height: 100%;--height-SCOPED-IN-line-overlay-sSR1: var(--height)}:host{position:relative;display:block;width:var(--width-SCOPED-IN-line-overlay-sSR1);height:var(--height-SCOPED-IN-line-overlay-sSR1)}:host .loading{position:absolute;z-index:1000;top:0;left:0;display:flex;width:var(--width-SCOPED-IN-line-overlay-sSR1);height:var(--height-SCOPED-IN-line-overlay-sSR1);justify-content:center;align-items:center;background-color:#0006}:host .main.page{position:absolute;top:0;left:0;z-index:1;width:var(--width-SCOPED-IN-line-overlay-sSR1);height:var(--height-SCOPED-IN-line-overlay-sSR1);overflow:hidden}:host .main.page *{--cell: var(--cell-SCOPED-IN-line-overlay-sSR1);--width: var(--width-SCOPED-IN-line-overlay-sSR1);--height: var(--height-SCOPED-IN-line-overlay-sSR1)}:host .next.page{position:absolute;top:0;left:0;z-index:2;width:var(--width-SCOPED-IN-line-overlay-sSR1);height:auto}:host .next.page *{--cell: var(--cell-SCOPED-IN-line-overlay-sSR1);--width: var(--width-SCOPED-IN-line-overlay-sSR1);--height: var(--height-SCOPED-IN-line-overlay-sSR1)}\n"], components: [{ type: i1.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [slideInAnimation] });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayFrame, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'frames-overlay',
|
|
53
|
+
templateUrl: './overlay.frame.html',
|
|
54
|
+
styleUrls: ['./overlay.frame.scss'],
|
|
55
|
+
animations: [slideInAnimation],
|
|
56
|
+
}]
|
|
57
|
+
}], propDecorators: { outlet: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], isLoading: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}] } });
|
|
60
62
|
|
|
61
63
|
class OverlayModule {
|
|
62
64
|
}
|
|
63
|
-
OverlayModule.ɵfac =
|
|
64
|
-
OverlayModule.ɵmod =
|
|
65
|
-
|
|
65
|
+
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
66
|
+
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayModule, declarations: [OverlayFrame], imports: [CommonModule,
|
|
67
|
+
MatProgressSpinnerModule], exports: [OverlayFrame] });
|
|
68
|
+
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayModule, imports: [[
|
|
66
69
|
CommonModule,
|
|
67
70
|
MatProgressSpinnerModule
|
|
68
71
|
]] });
|
|
69
|
-
(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}]
|
|
83
|
-
}], null, null); })();
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OverlayModule, decorators: [{
|
|
73
|
+
type: NgModule,
|
|
74
|
+
args: [{
|
|
75
|
+
declarations: [OverlayFrame],
|
|
76
|
+
imports: [
|
|
77
|
+
CommonModule,
|
|
78
|
+
MatProgressSpinnerModule
|
|
79
|
+
],
|
|
80
|
+
exports: [
|
|
81
|
+
OverlayFrame
|
|
82
|
+
]
|
|
83
|
+
}]
|
|
84
|
+
}] });
|
|
84
85
|
|
|
85
86
|
/**
|
|
86
87
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-frames-overlay.js","sources":["../../../../libs/components/frames/overlay/overlay.animations.ts","../../../../libs/components/frames/overlay/overlay.frame.ts","../../../../libs/components/frames/overlay/overlay.frame.html","../../../../libs/components/frames/overlay/overlay.module.ts","../../../../libs/components/frames/overlay/ng-atomic-components-frames-overlay.ts"],"sourcesContent":["import { trigger, transition, style, query, group, animateChild, animate } from '@angular/animations';\n\nexport const slideInAnimation = trigger('routeAnimations', [\n transition('IndexPage => NextPage', [\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\n transition('NextPage => IndexPage', [\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 { Component, Input } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\nimport { slideInAnimation } from './overlay.animations';\n\n@Component({\n selector: 'frames-overlay',\n templateUrl: './overlay.frame.html',\n styleUrls: ['./overlay.frame.scss'],\n animations: [slideInAnimation],\n})\nexport class OverlayFrame {\n \n @Input()\n outlet?: RouterOutlet | null = null;\n\n @Input()\n isLoading: boolean = false;\n\n prepareRoute(outlet: RouterOutlet) {\n return outlet?.activatedRouteData?.page;\n }\n\n}\n","<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>","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":"
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-overlay.js","sources":["../../../../libs/components/frames/overlay/overlay.animations.ts","../../../../libs/components/frames/overlay/overlay.frame.ts","../../../../libs/components/frames/overlay/overlay.frame.html","../../../../libs/components/frames/overlay/overlay.module.ts","../../../../libs/components/frames/overlay/ng-atomic-components-frames-overlay.ts"],"sourcesContent":["import { trigger, transition, style, query, group, animateChild, animate } from '@angular/animations';\n\nexport const slideInAnimation = trigger('routeAnimations', [\n transition('IndexPage => NextPage', [\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\n transition('NextPage => IndexPage', [\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 { Component, Input } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\nimport { slideInAnimation } from './overlay.animations';\n\n@Component({\n selector: 'frames-overlay',\n templateUrl: './overlay.frame.html',\n styleUrls: ['./overlay.frame.scss'],\n animations: [slideInAnimation],\n})\nexport class OverlayFrame {\n \n @Input()\n outlet?: RouterOutlet | null = null;\n\n @Input()\n isLoading: boolean = false;\n\n prepareRoute(outlet: RouterOutlet) {\n return outlet?.activatedRouteData?.page;\n }\n\n}\n","<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>","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,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,EAAE;IACzD,UAAU,CAAC,uBAAuB,EAAE;QAClC,KAAK,CAAC,QAAQ,EAAE;AACd,YAAA,KAAK,CAAC;AACJ,gBAA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