@ng-atomic/components 1.2.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/smart-menu-button/index.d.ts +2 -0
- package/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.d.ts +5 -0
- package/atoms/smart-menu-button/package.json +10 -0
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +9 -0
- package/atoms/smart-menu-button/smart-menu-button.module.d.ts +11 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js +102 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js.map +1 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js +2 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-drawer.umd.js +104 -0
- package/bundles/ng-atomic-components-frames-drawer.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js +570 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-line-up.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js +120 -0
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-overlay.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-overlay.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js +106 -0
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js +26 -17
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js +1 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js +116 -0
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js +2 -2
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +1 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js +21 -12
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js +2 -2
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js +113 -0
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js +99 -0
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +2 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +12 -7
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js +99 -0
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js +423 -0
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js +16 -0
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +12 -341
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js +1 -15
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js +18 -19
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js +8 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.js +107 -0
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.js +93 -0
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js +21 -21
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.js +12 -0
- package/bundles/ng-atomic-components-pages-blank.umd.js.map +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.min.js +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.js +16 -6
- package/bundles/ng-atomic-components-templates-entrance.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-templates-menu.umd.js +96 -0
- package/bundles/ng-atomic-components-templates-menu.umd.js.map +1 -0
- package/bundles/ng-atomic-components-templates-menu.umd.min.js +2 -0
- package/bundles/ng-atomic-components-templates-menu.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.js +20 -8
- package/bundles/ng-atomic-components-templates-smart-index.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js.map +1 -1
- package/esm2015/atoms/smart-menu-button/index.js +3 -0
- package/esm2015/atoms/smart-menu-button/index.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js +5 -0
- package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js +28 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js +38 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js.map +1 -0
- package/esm2015/frames/auto-layout/auto-layout.frame.js +1 -1
- package/esm2015/frames/drawer/drawer.frame.js +31 -0
- package/esm2015/frames/drawer/drawer.frame.js.map +1 -0
- package/esm2015/frames/drawer/drawer.module.js +27 -0
- package/esm2015/frames/drawer/drawer.module.js.map +1 -0
- package/esm2015/frames/drawer/index.js +3 -0
- package/esm2015/frames/drawer/index.js.map +1 -0
- package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js +5 -0
- package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js.map +1 -0
- package/esm2015/frames/line-up/line-up.frame.js +1 -1
- package/esm2015/frames/line-up-v2/index.js +3 -0
- package/esm2015/frames/line-up-v2/index.js.map +1 -0
- package/esm2015/frames/line-up-v2/line-up.animations.js +64 -0
- package/esm2015/frames/line-up-v2/line-up.animations.js.map +1 -0
- package/esm2015/frames/line-up-v2/line-up.frame.js +97 -0
- package/esm2015/frames/line-up-v2/line-up.frame.js.map +1 -0
- package/esm2015/frames/line-up-v2/line-up.module.js +27 -0
- package/esm2015/frames/line-up-v2/line-up.module.js.map +1 -0
- package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js +5 -0
- package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js.map +1 -0
- package/esm2015/frames/line-up-v2/resize-observer.js +13 -0
- package/esm2015/frames/line-up-v2/resize-observer.js.map +1 -0
- package/esm2015/frames/overlay/overlay.frame.js +1 -1
- package/esm2015/frames/overlay-v2/index.js +3 -0
- package/esm2015/frames/overlay-v2/index.js.map +1 -0
- package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js +5 -0
- package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js.map +1 -0
- package/esm2015/frames/overlay-v2/overlay.animations.js +28 -0
- package/esm2015/frames/overlay-v2/overlay.animations.js.map +1 -0
- package/esm2015/frames/overlay-v2/overlay.frame.js +23 -0
- package/esm2015/frames/overlay-v2/overlay.frame.js.map +1 -0
- package/esm2015/frames/overlay-v2/overlay.module.js +29 -0
- package/esm2015/frames/overlay-v2/overlay.module.js.map +1 -0
- package/esm2015/frames/scroll/scroll.frame.js +1 -1
- package/esm2015/frames/smart-menu/index.js +3 -0
- package/esm2015/frames/smart-menu/index.js.map +1 -0
- package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js +5 -0
- package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js.map +1 -0
- package/esm2015/frames/smart-menu/smart-menu.frame.js +39 -0
- package/esm2015/frames/smart-menu/smart-menu.frame.js.map +1 -0
- package/esm2015/frames/smart-menu/smart-menu.module.js +23 -0
- package/esm2015/frames/smart-menu/smart-menu.module.js.map +1 -0
- package/esm2015/molecules/actions-column/actions-column.module.js +8 -1
- package/esm2015/molecules/actions-column/actions-column.module.js.map +1 -1
- package/esm2015/molecules/actions-column/actions-column.molecule.js +5 -5
- package/esm2015/molecules/actions-column/actions-column.molecule.js.map +1 -1
- package/esm2015/molecules/date-input-field/date-input-field.module.js +39 -0
- package/esm2015/molecules/date-input-field/date-input-field.module.js.map +1 -0
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js +44 -0
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js.map +1 -0
- package/esm2015/molecules/date-input-field/index.js +3 -0
- package/esm2015/molecules/date-input-field/index.js.map +1 -0
- package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js +5 -0
- package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js.map +1 -0
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js +2 -2
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/smart-column/smart-column.module.js +4 -0
- package/esm2015/molecules/smart-column/smart-column.module.js.map +1 -1
- package/esm2015/molecules/smart-column/smart-column.molecule.js +12 -4
- package/esm2015/molecules/smart-column/smart-column.molecule.js.map +1 -1
- package/esm2015/molecules/text-input-field/index.js +3 -0
- package/esm2015/molecules/text-input-field/index.js.map +1 -0
- package/esm2015/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.js +5 -0
- package/esm2015/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.js.map +1 -0
- package/esm2015/molecules/text-input-field/text-input-field.module.js +38 -0
- package/esm2015/molecules/text-input-field/text-input-field.module.js.map +1 -0
- package/esm2015/molecules/text-input-field/text-input-field.molecule.js +40 -0
- package/esm2015/molecules/text-input-field/text-input-field.molecule.js.map +1 -0
- package/esm2015/molecules/textarea-field/index.js +3 -0
- package/esm2015/molecules/textarea-field/index.js.map +1 -0
- package/esm2015/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.js +5 -0
- package/esm2015/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.js.map +1 -0
- package/esm2015/molecules/textarea-field/textarea-field.module.js +30 -0
- package/esm2015/molecules/textarea-field/textarea-field.module.js.map +1 -0
- package/esm2015/molecules/textarea-field/textarea-field.molecule.js +30 -0
- package/esm2015/molecules/textarea-field/textarea-field.molecule.js.map +1 -0
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js +2 -1
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.module.js +7 -4
- package/esm2015/organisms/back-navigator/back-navigator.module.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.organism.js +4 -2
- package/esm2015/organisms/back-navigator/back-navigator.organism.js.map +1 -1
- package/esm2015/organisms/card-input-section/card-input-section.module.js +30 -0
- package/esm2015/organisms/card-input-section/card-input-section.module.js.map +1 -0
- package/esm2015/organisms/card-input-section/card-input-section.organism.js +29 -0
- package/esm2015/organisms/card-input-section/card-input-section.organism.js.map +1 -0
- package/esm2015/organisms/card-input-section/index.js +3 -0
- package/esm2015/organisms/card-input-section/index.js.map +1 -0
- package/esm2015/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.js +5 -0
- package/esm2015/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.js.map +1 -0
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js +34 -0
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js.map +1 -0
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js +34 -0
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js.map +1 -0
- package/esm2015/organisms/cvc-and-exp-input-section/index.js +3 -0
- package/esm2015/organisms/cvc-and-exp-input-section/index.js.map +1 -0
- package/esm2015/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.js +5 -0
- package/esm2015/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.js.map +1 -0
- package/esm2015/organisms/date-input-section/date-input-section.module.js +5 -18
- package/esm2015/organisms/date-input-section/date-input-section.module.js.map +1 -1
- package/esm2015/organisms/date-input-section/date-input-section.organism.js +6 -10
- package/esm2015/organisms/date-input-section/date-input-section.organism.js.map +1 -1
- package/esm2015/organisms/heading/heading.organism.js +1 -1
- package/esm2015/organisms/input-field-section/input-field-section.module.js +7 -15
- package/esm2015/organisms/input-field-section/input-field-section.module.js.map +1 -1
- package/esm2015/organisms/input-field-section/input-field-section.organism.js +9 -6
- package/esm2015/organisms/input-field-section/input-field-section.organism.js.map +1 -1
- package/esm2015/organisms/menu/menu.organism.js +1 -1
- package/esm2015/organisms/menu/menu.organism.js.map +1 -1
- package/esm2015/organisms/select-input-section/select-input-section.organism.js +1 -1
- package/esm2015/organisms/smart-table/smart-table.organism.js +8 -1
- package/esm2015/organisms/smart-table/smart-table.organism.js.map +1 -1
- package/esm2015/organisms/social-login-section/social-login-section.organism.js +1 -1
- package/esm2015/organisms/text-input-section/index.js +3 -0
- package/esm2015/organisms/text-input-section/index.js.map +1 -0
- package/esm2015/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.js +5 -0
- package/esm2015/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.js.map +1 -0
- package/esm2015/organisms/text-input-section/text-input-section.module.js +34 -0
- package/esm2015/organisms/text-input-section/text-input-section.module.js.map +1 -0
- package/esm2015/organisms/text-input-section/text-input-section.organism.js +33 -0
- package/esm2015/organisms/text-input-section/text-input-section.organism.js.map +1 -0
- package/esm2015/organisms/textarea-section/index.js +3 -0
- package/esm2015/organisms/textarea-section/index.js.map +1 -0
- package/esm2015/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.js +5 -0
- package/esm2015/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.js.map +1 -0
- package/esm2015/organisms/textarea-section/textarea-section.module.js +30 -0
- package/esm2015/organisms/textarea-section/textarea-section.module.js.map +1 -0
- package/esm2015/organisms/textarea-section/textarea-section.organism.js +22 -0
- package/esm2015/organisms/textarea-section/textarea-section.organism.js.map +1 -0
- package/esm2015/organisms/top-navigator/top-navigator.module.js +9 -10
- package/esm2015/organisms/top-navigator/top-navigator.module.js.map +1 -1
- package/esm2015/organisms/top-navigator/top-navigator.organism.js +6 -9
- package/esm2015/organisms/top-navigator/top-navigator.organism.js.map +1 -1
- package/esm2015/pages/blank/blank.route.js +6 -0
- package/esm2015/pages/blank/blank.route.js.map +1 -0
- package/esm2015/pages/blank/index.js +1 -0
- package/esm2015/pages/blank/index.js.map +1 -1
- package/esm2015/templates/entrance/entrance.template.js +13 -2
- package/esm2015/templates/entrance/entrance.template.js.map +1 -1
- package/esm2015/templates/menu/index.js +3 -0
- package/esm2015/templates/menu/index.js.map +1 -0
- package/esm2015/templates/menu/menu.module.js +30 -0
- package/esm2015/templates/menu/menu.module.js.map +1 -0
- package/esm2015/templates/menu/menu.template.js +25 -0
- package/esm2015/templates/menu/menu.template.js.map +1 -0
- package/esm2015/templates/menu/ng-atomic-components-templates-menu.js +5 -0
- package/esm2015/templates/menu/ng-atomic-components-templates-menu.js.map +1 -0
- package/esm2015/templates/smart-crud/smart-crud.template.js +1 -1
- package/esm2015/templates/smart-crud/smart-crud.template.js.map +1 -1
- package/esm2015/templates/smart-index/smart-index.template.js +15 -2
- package/esm2015/templates/smart-index/smart-index.template.js.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js +66 -0
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-auto-layout.js +1 -1
- package/fesm2015/ng-atomic-components-frames-drawer.js +60 -0
- package/fesm2015/ng-atomic-components-frames-drawer.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js +200 -0
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-line-up.js +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js +83 -0
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-overlay.js +1 -1
- package/fesm2015/ng-atomic-components-frames-scroll.js +1 -1
- package/fesm2015/ng-atomic-components-frames-smart-menu.js +66 -0
- package/fesm2015/ng-atomic-components-frames-smart-menu.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-actions-column.js +16 -6
- package/fesm2015/ng-atomic-components-molecules-actions-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js +83 -0
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js +2 -2
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.js +14 -4
- package/fesm2015/ng-atomic-components-molecules-smart-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-text-input-field.js +78 -0
- package/fesm2015/ng-atomic-components-molecules-text-input-field.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-textarea-field.js +62 -0
- package/fesm2015/ng-atomic-components-molecules-textarea-field.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js +2 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js +11 -6
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.js +62 -0
- package/fesm2015/ng-atomic-components-organisms-card-input-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js +70 -0
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js +10 -25
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-heading.js +1 -1
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js +15 -18
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-menu.js +2 -2
- package/fesm2015/ng-atomic-components-organisms-menu.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.js +1 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.js +8 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.js +1 -1
- package/fesm2015/ng-atomic-components-organisms-text-input-section.js +70 -0
- package/fesm2015/ng-atomic-components-organisms-text-input-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-textarea-section.js +55 -0
- package/fesm2015/ng-atomic-components-organisms-textarea-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js +15 -16
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-pages-blank.js +12 -1
- package/fesm2015/ng-atomic-components-pages-blank.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.js +13 -2
- package/fesm2015/ng-atomic-components-templates-entrance.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.js +58 -0
- package/fesm2015/ng-atomic-components-templates-menu.js.map +1 -0
- package/fesm2015/ng-atomic-components-templates-smart-crud.js +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.js +14 -2
- package/fesm2015/ng-atomic-components-templates-smart-index.js.map +1 -1
- package/frames/drawer/drawer.frame.d.ts +10 -0
- package/frames/drawer/drawer.module.d.ts +9 -0
- package/frames/drawer/index.d.ts +2 -0
- package/frames/drawer/ng-atomic-components-frames-drawer.d.ts +5 -0
- package/frames/drawer/package.json +10 -0
- package/frames/line-up-v2/index.d.ts +2 -0
- package/frames/line-up-v2/line-up.animations.d.ts +1 -0
- package/frames/line-up-v2/line-up.frame.d.ts +35 -0
- package/frames/line-up-v2/line-up.module.d.ts +9 -0
- package/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.d.ts +5 -0
- package/frames/line-up-v2/package.json +10 -0
- package/frames/line-up-v2/resize-observer.d.ts +3 -0
- package/frames/overlay-v2/index.d.ts +2 -0
- package/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.d.ts +5 -0
- package/frames/overlay-v2/overlay.animations.d.ts +1 -0
- package/frames/overlay-v2/overlay.frame.d.ts +6 -0
- package/frames/overlay-v2/overlay.module.d.ts +9 -0
- package/frames/overlay-v2/package.json +10 -0
- package/frames/smart-menu/index.d.ts +2 -0
- package/frames/smart-menu/ng-atomic-components-frames-smart-menu.d.ts +5 -0
- package/frames/smart-menu/package.json +10 -0
- package/frames/smart-menu/smart-menu.frame.d.ts +13 -0
- package/frames/smart-menu/smart-menu.module.d.ts +8 -0
- package/molecules/actions-column/actions-column.module.d.ts +2 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +1 -0
- package/molecules/date-input-field/date-input-field.module.d.ts +12 -0
- package/molecules/date-input-field/date-input-field.molecule.d.ts +13 -0
- package/molecules/date-input-field/index.d.ts +2 -0
- package/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.d.ts +5 -0
- package/molecules/date-input-field/package.json +10 -0
- package/molecules/select-input-field/select-input-field.molecule.d.ts +1 -2
- package/molecules/smart-column/smart-column.module.d.ts +3 -2
- package/molecules/smart-column/smart-column.molecule.d.ts +4 -1
- package/molecules/text-input-field/index.d.ts +2 -0
- package/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.d.ts +5 -0
- package/molecules/text-input-field/package.json +10 -0
- package/molecules/text-input-field/text-input-field.module.d.ts +10 -0
- package/molecules/text-input-field/text-input-field.molecule.d.ts +12 -0
- package/molecules/textarea-field/index.d.ts +2 -0
- package/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.d.ts +5 -0
- package/molecules/textarea-field/package.json +10 -0
- package/molecules/textarea-field/textarea-field.module.d.ts +9 -0
- package/molecules/textarea-field/textarea-field.molecule.d.ts +8 -0
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -0
- package/organisms/back-navigator/back-navigator.module.d.ts +2 -2
- package/organisms/back-navigator/back-navigator.organism.d.ts +2 -1
- package/organisms/card-input-section/card-input-section.module.d.ts +9 -0
- package/organisms/card-input-section/card-input-section.organism.d.ts +9 -0
- package/organisms/card-input-section/index.d.ts +2 -0
- package/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.d.ts +5 -0
- package/organisms/card-input-section/package.json +10 -0
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.d.ts +10 -0
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +10 -0
- package/organisms/cvc-and-exp-input-section/index.d.ts +2 -0
- package/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.d.ts +5 -0
- package/organisms/cvc-and-exp-input-section/package.json +10 -0
- package/organisms/date-input-section/date-input-section.module.d.ts +2 -5
- package/organisms/date-input-section/date-input-section.organism.d.ts +0 -1
- package/organisms/input-field-section/input-field-section.module.d.ts +2 -4
- package/organisms/input-field-section/input-field-section.organism.d.ts +3 -1
- package/organisms/smart-table/smart-table.organism.d.ts +4 -1
- package/organisms/text-input-section/index.d.ts +2 -0
- package/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.d.ts +5 -0
- package/organisms/text-input-section/package.json +10 -0
- package/organisms/text-input-section/text-input-section.module.d.ts +9 -0
- package/organisms/text-input-section/text-input-section.organism.d.ts +11 -0
- package/organisms/textarea-section/index.d.ts +2 -0
- package/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.d.ts +5 -0
- package/organisms/textarea-section/package.json +10 -0
- package/organisms/textarea-section/textarea-section.module.d.ts +9 -0
- package/organisms/textarea-section/textarea-section.organism.d.ts +6 -0
- package/organisms/top-navigator/top-navigator.module.d.ts +4 -5
- package/organisms/top-navigator/top-navigator.organism.d.ts +4 -4
- package/package.json +1 -1
- package/pages/blank/blank.route.d.ts +2 -0
- package/pages/blank/index.d.ts +1 -0
- package/templates/entrance/entrance.template.d.ts +7 -1
- package/templates/menu/index.d.ts +2 -0
- package/templates/menu/menu.module.d.ts +9 -0
- package/templates/menu/menu.template.d.ts +9 -0
- package/templates/menu/ng-atomic-components-templates-menu.d.ts +5 -0
- package/templates/menu/package.json +10 -0
- package/templates/smart-index/smart-index.template.d.ts +7 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@ng-atomic/components/organisms/menu";
|
|
4
|
+
export class MenuTemplate {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.actionItems = [];
|
|
7
|
+
this.actionItemClick = new EventEmitter();
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
MenuTemplate.ɵfac = function MenuTemplate_Factory(t) { return new (t || MenuTemplate)(); };
|
|
11
|
+
MenuTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: MenuTemplate, selector: "templates-menu", inputs: { actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, ngImport: i0, template: "<div class=\"top\">\n <ng-content select=[header]></ng-content>\n <organisms-menu\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n ></organisms-menu>\n</div>\n<div class=\"bottom\">\n <ng-content select=[footer]></ng-content>\n</div>", styles: [":host{--primary-color:#00f;--primary-color-SCOPED-IN-menu-F1Qe:var(--primary-color);--width:100%;--width-SCOPED-IN-menu-F1Qe:var(--width);--height:100%;--height-SCOPED-IN-menu-F1Qe:var(--height);display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-F1Qe);height:var(--height-SCOPED-IN-menu-F1Qe);color:#fff;background-color:var(--primary-color-SCOPED-IN-menu-F1Qe)}:host organisms-menu{transition:width .5s;--primary-color:var(--primary-color-SCOPED-IN-menu-F1Qe)}"], directives: [{ type: i1.MenuOrganism, selector: "organisms-menu", inputs: ["actionItems"], outputs: ["actionItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuTemplate, [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{
|
|
15
|
+
selector: 'templates-menu',
|
|
16
|
+
templateUrl: './menu.template.html',
|
|
17
|
+
styleUrls: ['./menu.template.scss'],
|
|
18
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
|
+
}]
|
|
20
|
+
}], null, { actionItems: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}], actionItemClick: [{
|
|
23
|
+
type: Output
|
|
24
|
+
}] }); })();
|
|
25
|
+
//# sourceMappingURL=menu.template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.template.js","sourceRoot":"","sources":["../../../../../../libs/components/templates/menu/menu.template.ts","../../../../../../libs/components/templates/menu/menu.template.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;;AAShG,MAAM,OAAO,YAAY;IANzB;QASE,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAgB,CAAC;KAEpD;;wEARY,YAAY;wEAAZ,YAAY,+ICTzB,2RASM;uFDAO,YAAY;cANxB,SAAS;eAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,WAAW,EAAE,sBAAsB;gBACnC,SAAS,EAAE,CAAC,sBAAsB,CAAC;gBACnC,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAIC,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM","sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'templates-menu',\n templateUrl: './menu.template.html',\n styleUrls: ['./menu.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MenuTemplate {\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem]>();\n\n}\n","<div class=\"top\">\n <ng-content select=[header]></ng-content>\n <organisms-menu\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n ></organisms-menu>\n</div>\n<div class=\"bottom\">\n <ng-content select=[footer]></ng-content>\n</div>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-menu.js","sourceRoot":"","sources":["../../../../../../libs/components/templates/menu/ng-atomic-components-templates-menu.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -45,7 +45,7 @@ export class SmartCrudTemplate {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
SmartCrudTemplate.ɵfac = function SmartCrudTemplate_Factory(t) { return new (t || SmartCrudTemplate)(); };
|
|
48
|
-
SmartCrudTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SmartCrudTemplate, selector: "templates-smart-crud", inputs: { canBack: "canBack", name: "name", form: "form", mode: "mode", menuActionItems: "menuActionItems" }, outputs: { actionItemClick: "actionItemClick", backButtonClick: "backButtonClick", createButtonClick: "createButtonClick", updateButtonClick: "updateButtonClick" }, host: { classAttribute: "template" }, ngImport: i0, template: "<frames-scroll>\n <organisms-back-navigator \n [actionItems]=\"menuActionItems\"\n [canBack]=\"canBack\"\n [title]=\"title\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngFor=\"let entry of controls; trackBy:trackByIndex\" [ngSwitch]=\"(entry[0] | smartField)?.type\">\n <organisms-select-input-section\n *ngSwitchCase=\"'select'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n [options]=\"(entry[0] | smartField)?.options\"\n ></organisms-select-input-section>\n <organisms-date-input-section\n *ngSwitchCase=\"'date'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-date-input-section>\n <organisms-input-field-section\n *ngSwitchDefault\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-input-field-section>\n </ng-container>\n <organisms-action-buttons-section\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"onActionButtonClick($event)\"\n ></organisms-action-buttons-section>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-smart-crud-
|
|
48
|
+
SmartCrudTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SmartCrudTemplate, selector: "templates-smart-crud", inputs: { canBack: "canBack", name: "name", form: "form", mode: "mode", menuActionItems: "menuActionItems" }, outputs: { actionItemClick: "actionItemClick", backButtonClick: "backButtonClick", createButtonClick: "createButtonClick", updateButtonClick: "updateButtonClick" }, host: { classAttribute: "template" }, ngImport: i0, template: "<frames-scroll>\n <organisms-back-navigator \n [actionItems]=\"menuActionItems\"\n [canBack]=\"canBack\"\n [title]=\"title\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngFor=\"let entry of controls; trackBy:trackByIndex\" [ngSwitch]=\"(entry[0] | smartField)?.type\">\n <organisms-select-input-section\n *ngSwitchCase=\"'select'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n [options]=\"(entry[0] | smartField)?.options\"\n ></organisms-select-input-section>\n <organisms-date-input-section\n *ngSwitchCase=\"'date'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-date-input-section>\n <organisms-input-field-section\n *ngSwitchCase=\"'number'\"\n [type]=\"'number'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-input-field-section>\n <organisms-input-field-section\n *ngSwitchDefault\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-input-field-section>\n </ng-container>\n <organisms-action-buttons-section\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"onActionButtonClick($event)\"\n ></organisms-action-buttons-section>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-smart-crud-nema:var(--horizontal-padding);--vertical-padding:24px;--vertical-padding-SCOPED-IN-smart-crud-nema:var(--vertical-padding);--gap:16px;--gap-SCOPED-IN-smart-crud-nema:var(--gap);display:block;width:100%;height:100%;background:#fff}:host frames-auto-layout{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;--gap:var(--gap-SCOPED-IN-smart-crud-nema);--vertical-padding:var(--vertical-padding-SCOPED-IN-smart-crud-nema)}:host frames-auto-layout *{--horizontal-padding:var(--horizontal-padding-SCOPED-IN-smart-crud-nema)}"], directives: [{ type: i1.ScrollFrame, selector: "frames-scroll" }, { type: i2.BackNavigatorOrganism, selector: "organisms-back-navigator", inputs: ["canBack", "title", "description", "actionItems"], outputs: ["backButtonClick", "actionItemClick"] }, { type: i3.AutoLayoutFrame, selector: "frames-auto-layout" }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i5.SelectInputSectionOrganism, selector: "organisms-select-input-section", inputs: ["label", "control", "options"] }, { type: i6.DateInputSectionOrganism, selector: "organisms-date-input-section", inputs: ["control", "label", "placeholder"] }, { type: i7.InputFieldSectionOrganism, selector: "organisms-input-field-section", inputs: ["label", "placeholder", "type", "hint", "control"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i8.ActionButtonsSectionOrganism, selector: "organisms-action-buttons-section", inputs: ["actionItems"], outputs: ["actionItemClick"] }], pipes: { "smartField": i9.SmartFieldPipe, "D": i9.DomainPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
49
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartCrudTemplate, [{
|
|
50
50
|
type: Component,
|
|
51
51
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-crud.template.js","sourceRoot":"","sources":["../../../../../../libs/components/templates/smart-crud/smart-crud.template.ts","../../../../../../libs/components/templates/smart-crud/smart-crud.template.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEhG,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;;;;AASnD,MAAM,OAAO,iBAAiB;IAP9B;QAUE,YAAO,GAAG,KAAK,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;kFAtDU,iBAAiB;6EAAjB,iBAAiB,qXCX9B
|
|
1
|
+
{"version":3,"file":"smart-crud.template.js","sourceRoot":"","sources":["../../../../../../libs/components/templates/smart-crud/smart-crud.template.ts","../../../../../../libs/components/templates/smart-crud/smart-crud.template.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEhG,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;;;;AASnD,MAAM,OAAO,iBAAiB;IAP9B;QAUE,YAAO,GAAG,KAAK,CAAC;QAGhB,SAAI,GAAW,EAAE,CAAC;QAMlB,SAAI,GAAwB,QAAQ,CAAC;QAGrC,oBAAe,GAAiB,EAAE,CAAC;QAGnC,oBAAe,GAAG,IAAI,YAAY,EAAmB,CAAC;QAGtD,oBAAe,GAAG,IAAI,YAAY,EAAE,CAAC;QAGrC,sBAAiB,GAAG,IAAI,YAAY,EAAQ,CAAC;QAG7C,sBAAiB,GAAG,IAAI,YAAY,EAAQ,CAAC;QAoB7C,iBAAY,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,KAAK,CAAC;KAQzC;IA1BC,IAAI,KAAK;QACP,QAAQ,IAAI,CAAC,IAAI,EAAE;YACjB,KAAK,QAAQ,CAAC,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,KAAK,CAAC;YACxC,KAAK,QAAQ,CAAC,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,KAAK,CAAC;SACzC;IACH,CAAC;IAED,IAAI,WAAW;QACb,QAAQ,IAAI,CAAC,IAAI,EAAE;YACjB,KAAK,QAAQ,CAAC,CAAC,OAAO,CAAC,EAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAC,CAAC,CAAC;YACnD,KAAK,QAAQ,CAAC,CAAC,OAAO,CAAC,EAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAC,CAAC,CAAC;SACpD;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAID,mBAAmB,CAAC,CAAC,EAAC,EAAE,EAAC,CAAe;QACtC,QAAO,EAAE,EAAE;YACT,KAAK,QAAQ,CAAC,CAAC,OAAO,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;YACpD,KAAK,QAAQ,CAAC,CAAC,OAAO,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;SACrD;IACH,CAAC;;kFAtDU,iBAAiB;6EAAjB,iBAAiB,qXCX9B,+8CAuCgB;uFD5BH,iBAAiB;cAP7B,SAAS;eAAC;gBACT,QAAQ,EAAE,sBAAsB;gBAChC,WAAW,EAAE,4BAA4B;gBACzC,SAAS,EAAE,CAAC,4BAA4B,CAAC;gBACzC,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,UAAU,EAAC;aAC1B;gBAIC,OAAO;kBADN,KAAK;YAIN,IAAI;kBADH,KAAK;YAIN,IAAI;kBADH,KAAK;YAIN,IAAI;kBADH,KAAK;YAIN,eAAe;kBADd,KAAK;YAIN,eAAe;kBADd,MAAM;YAIP,eAAe;kBADd,MAAM;YAIP,iBAAiB;kBADhB,MAAM;YAIP,iBAAiB;kBADhB,MAAM","sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem, ActionItemEvent } from '@ng-atomic/common/models';\nimport { FormGroup } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'templates-smart-crud',\n templateUrl: './smart-crud.template.html',\n styleUrls: ['./smart-crud.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'template'},\n})\nexport class SmartCrudTemplate {\n\n @Input()\n canBack = false;\n\n @Input()\n name: string = '';\n\n @Input()\n form!: FormGroup<any>;\n\n @Input()\n mode: 'create' | 'update' = 'create';\n\n @Input()\n menuActionItems: ActionItem[] = [];\n\n @Output()\n actionItemClick = new EventEmitter<ActionItemEvent>();\n\n @Output()\n backButtonClick = new EventEmitter();\n\n @Output()\n createButtonClick = new EventEmitter<void>();\n\n @Output()\n updateButtonClick = new EventEmitter<void>();\n\n get title(): string {\n switch (this.mode) {\n case 'create': return `${this.name}の作成`;\n case 'update': return `${this.name}の更新`;\n }\n }\n\n get actionItems(): ActionItem[] {\n switch (this.mode) {\n case 'create': return [{id: 'create', name: '作成'}];\n case 'update': return [{id: 'update', name: '更新'}];\n }\n }\n\n get controls() {\n return Object.entries(this.form.controls);\n }\n\n trackByIndex = (index: number) => index;\n\n onActionButtonClick([{id}]: [ActionItem]): void {\n switch(id) {\n case 'create': return this.createButtonClick.emit();\n case 'update': return this.updateButtonClick.emit();\n }\n }\n}\n","<frames-scroll>\n <organisms-back-navigator \n [actionItems]=\"menuActionItems\"\n [canBack]=\"canBack\"\n [title]=\"title\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <ng-container *ngFor=\"let entry of controls; trackBy:trackByIndex\" [ngSwitch]=\"(entry[0] | smartField)?.type\">\n <organisms-select-input-section\n *ngSwitchCase=\"'select'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n [options]=\"(entry[0] | smartField)?.options\"\n ></organisms-select-input-section>\n <organisms-date-input-section\n *ngSwitchCase=\"'date'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-date-input-section>\n <organisms-input-field-section\n *ngSwitchCase=\"'number'\"\n [type]=\"'number'\"\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-input-field-section>\n <organisms-input-field-section\n *ngSwitchDefault\n [label]=\"entry[0] | D\"\n [control]=\"entry[1]\"\n ></organisms-input-field-section>\n </ng-container>\n <organisms-action-buttons-section\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"onActionButtonClick($event)\"\n ></organisms-action-buttons-section>\n </frames-auto-layout>\n</frames-scroll>"]}
|
|
@@ -6,7 +6,8 @@ import * as i1 from "@ng-atomic/components/frames/scroll";
|
|
|
6
6
|
import * as i2 from "@ng-atomic/components/organisms/back-navigator";
|
|
7
7
|
import * as i3 from "@ng-atomic/components/frames/auto-layout";
|
|
8
8
|
import * as i4 from "@ng-atomic/components/organisms/smart-table";
|
|
9
|
-
import * as i5 from "@
|
|
9
|
+
import * as i5 from "@angular/common";
|
|
10
|
+
import * as i6 from "@ng-atomic/components/organisms/paginator";
|
|
10
11
|
export class Page {
|
|
11
12
|
static fromObj(event = { pageSize: 50, pageIndex: 0, length: 100 }) {
|
|
12
13
|
return Object.assign(new Page(), event);
|
|
@@ -36,15 +37,17 @@ export class SmartIndexTemplate {
|
|
|
36
37
|
pageSize: 20,
|
|
37
38
|
length: 100,
|
|
38
39
|
};
|
|
40
|
+
this.pageSizeOptions = [5, 10, 25, 100];
|
|
39
41
|
this.queryPlaceholder = '';
|
|
40
42
|
this.actionItemClick = new EventEmitter();
|
|
41
43
|
this.backButtonClick = new EventEmitter();
|
|
42
44
|
this.checkboxClick = new EventEmitter();
|
|
43
45
|
this.pageChange = new EventEmitter();
|
|
46
|
+
this.tableHeaderClick = new EventEmitter();
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
SmartIndexTemplate.ɵfac = function SmartIndexTemplate_Factory(t) { return new (t || SmartIndexTemplate)(); };
|
|
47
|
-
SmartIndexTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SmartIndexTemplate, selector: "templates-smart-index", inputs: { canBack: "canBack", queryControl: "queryControl", title: "title", items: "items", actionItems: "actionItems", menuActionItems: "menuActionItems", properties: "properties", selectedIdSet: "selectedIdSet", page: "page", queryPlaceholder: "queryPlaceholder" }, outputs: { actionItemClick: "actionItemClick", backButtonClick: "backButtonClick", checkboxClick: "checkboxClick", pageChange: "pageChange" }, host: { classAttribute: "template" }, ngImport: i0, template: "<frames-scroll>\n <organisms-back-navigator\n [canBack]=\"canBack\"\n [title]=\"title\" \n [actionItems]=\"menuActionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <organisms-smart-table\n [items]=\"items\"\n [actionItems]=\"actionItems\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></organisms-smart-table>\n <organisms-paginator\n [control]=\"queryControl\"\n [page]=\"page\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--navigator-height:56px;--navigator-height-SCOPED-IN-smart-index-
|
|
50
|
+
SmartIndexTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SmartIndexTemplate, selector: "templates-smart-index", inputs: { canBack: "canBack", queryControl: "queryControl", title: "title", description: "description", items: "items", actionItems: "actionItems", menuActionItems: "menuActionItems", properties: "properties", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder", page: "page", pageSizeOptions: "pageSizeOptions", queryPlaceholder: "queryPlaceholder" }, outputs: { actionItemClick: "actionItemClick", backButtonClick: "backButtonClick", checkboxClick: "checkboxClick", pageChange: "pageChange", tableHeaderClick: "tableHeaderClick" }, host: { classAttribute: "template" }, ngImport: i0, template: "<frames-scroll>\n <organisms-back-navigator\n [canBack]=\"canBack\"\n [title]=\"title\"\n [description]=\"description\"\n [actionItems]=\"menuActionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <organisms-smart-table\n [items]=\"items\"\n [actionItems]=\"actionItems\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"tableHeaderClick.emit($event)\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </frames-auto-layout>\n</frames-scroll>", styles: [":host{--navigator-height:56px;--navigator-height-SCOPED-IN-smart-index-Ew1a:var(--navigator-height);width:100%;height:100%;background:#fff;display:block}:host frames-auto-layout{--gap:0;--vertical-padding:0}"], directives: [{ type: i1.ScrollFrame, selector: "frames-scroll" }, { type: i2.BackNavigatorOrganism, selector: "organisms-back-navigator", inputs: ["canBack", "title", "description", "actionItems"], outputs: ["backButtonClick", "actionItemClick"] }, { type: i3.AutoLayoutFrame, selector: "frames-auto-layout" }, { type: i4.SmartTableOrganism, selector: "organisms-smart-table", inputs: ["columns", "items", "patientsSize", "pageSize", "actionItems", "selectedIdSet", "sortKey", "sortOrder"], outputs: ["actionItemClick", "headerClick", "checkboxClick", "pageChange", "itemCheck"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.PaginatorOrganism, selector: "organisms-paginator", inputs: ["control", "placeholder", "page", "pageSizeOptions"], outputs: ["pageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
48
51
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartIndexTemplate, [{
|
|
49
52
|
type: Component,
|
|
50
53
|
args: [{
|
|
@@ -60,6 +63,8 @@ SmartIndexTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type:
|
|
|
60
63
|
type: Input
|
|
61
64
|
}], title: [{
|
|
62
65
|
type: Input
|
|
66
|
+
}], description: [{
|
|
67
|
+
type: Input
|
|
63
68
|
}], items: [{
|
|
64
69
|
type: Input
|
|
65
70
|
}], actionItems: [{
|
|
@@ -70,8 +75,14 @@ SmartIndexTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type:
|
|
|
70
75
|
type: Input
|
|
71
76
|
}], selectedIdSet: [{
|
|
72
77
|
type: Input
|
|
78
|
+
}], sortKey: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], sortOrder: [{
|
|
81
|
+
type: Input
|
|
73
82
|
}], page: [{
|
|
74
83
|
type: Input
|
|
84
|
+
}], pageSizeOptions: [{
|
|
85
|
+
type: Input
|
|
75
86
|
}], queryPlaceholder: [{
|
|
76
87
|
type: Input
|
|
77
88
|
}], actionItemClick: [{
|
|
@@ -82,5 +93,7 @@ SmartIndexTemplate.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type:
|
|
|
82
93
|
type: Output
|
|
83
94
|
}], pageChange: [{
|
|
84
95
|
type: Output
|
|
96
|
+
}], tableHeaderClick: [{
|
|
97
|
+
type: Output
|
|
85
98
|
}] }); })();
|
|
86
99
|
//# sourceMappingURL=smart-index.template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-index.template.js","sourceRoot":"","sources":["../../../../../../libs/components/templates/smart-index/smart-index.template.ts","../../../../../../libs/components/templates/smart-index/smart-index.template.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC
|
|
1
|
+
{"version":3,"file":"smart-index.template.js","sourceRoot":"","sources":["../../../../../../libs/components/templates/smart-index/smart-index.template.ts","../../../../../../libs/components/templates/smart-index/smart-index.template.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;AAIrD,MAAM,OAAO,IAAI;IACf,MAAM,CAAC,OAAO,CAAC,QAAmB,EAAC,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAC;QACzE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;IACxC,CAAC;IAED,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACrE,CAAC;IAED,KAAK,CAAC,GAAuB;QAC3B,OAAO,IAAI,CAAC,OAAO,iCAAK,IAAI,GAAK,GAAG,EAAE,CAAC;IACzC,CAAC;CACF;AASD,MAAM,OAAO,kBAAkB;IAP/B;QAUE,YAAO,GAAG,KAAK,CAAC;QAGhB,iBAAY,GAAG,IAAI,WAAW,EAAU,CAAC;QAGzC,UAAK,GAAW,EAAE,CAAC;QAMnB,UAAK,GAAQ,EAAE,CAAC;QAGhB,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAiB,EAAE,CAAC;QAGnC,eAAU,GAAiB,EAAE,CAAC;QAG9B,kBAAa,GAAG,IAAI,GAAG,EAAU,CAAC;QASlC,SAAI,GAAe;YACjB,SA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import { PageEvent } from '@angular/material/paginator';\nimport { ActionItem } from '@ng-atomic/common/models';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport interface Page extends PageEvent { }\n\nexport class Page {\n static fromObj(event: PageEvent = {pageSize: 50, pageIndex: 0, length: 100}): Page {\n return Object.assign(new Page(), event);\n }\n\n get start(): number {\n return this.pageIndex * this.pageSize;\n }\n\n get end(): number {\n return Math.min((this.pageIndex + 1) * this.pageSize, this.length);\n }\n\n patch(obj: Partial<PageEvent>): Page {\n return Page.fromObj({...this, ...obj});\n }\n}\n\n@Component({\n selector: 'templates-smart-index',\n templateUrl: './smart-index.template.html',\n styleUrls: ['./smart-index.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'template' },\n})\nexport class SmartIndexTemplate<T> {\n\n @Input()\n canBack = false;\n\n @Input()\n queryControl = new FormControl<string>();\n\n @Input()\n title: string = '';\n\n @Input()\n description?: string;\n\n @Input()\n items: T[] = [];\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Input()\n menuActionItems: ActionItem[] = [];\n\n @Input()\n properties: (keyof T)[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: string;\n\n @Input()\n page?: PageEvent = {\n pageIndex: 0,\n pageSize: 20,\n length: 100,\n };\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Input()\n queryPlaceholder = '';\n\n @Output()\n actionItemClick = new EventEmitter();\n\n @Output()\n backButtonClick = new EventEmitter();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n @Output()\n tableHeaderClick = new EventEmitter<string>();\n\n}\n","<frames-scroll>\n <organisms-back-navigator\n [canBack]=\"canBack\"\n [title]=\"title\"\n [description]=\"description\"\n [actionItems]=\"menuActionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (backButtonClick)=\"backButtonClick.emit()\"\n navigator\n ></organisms-back-navigator>\n <frames-auto-layout vertical contents>\n <organisms-smart-table\n [items]=\"items\"\n [actionItems]=\"actionItems\"\n [columns]=\"properties\"\n [selectedIdSet]=\"selectedIdSet\"\n [sortKey]=\"sortKey\"\n [sortOrder]=\"sortOrder\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n (headerClick)=\"tableHeaderClick.emit($event)\"\n ></organisms-smart-table>\n <organisms-paginator\n *ngIf=\"page\"\n [control]=\"queryControl\"\n [page]=\"page\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [placeholder]=\"queryPlaceholder\"\n (pageChange)=\"pageChange.emit($event)\"\n ></organisms-paginator>\n </frames-auto-layout>\n</frames-scroll>"]}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, Input, Output, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
3
|
+
import { NgSwitch, NgSwitchCase, NgSwitchDefault, NgIf, NgForOf, CommonModule } from '@angular/common';
|
|
4
|
+
import { MatButton, MatButtonModule } from '@angular/material/button';
|
|
5
|
+
import { MatIcon, MatIconModule } from '@angular/material/icon';
|
|
6
|
+
import { MatMenuTrigger, MatMenu, MatMenuItem, MatMenuModule } from '@angular/material/menu';
|
|
7
|
+
|
|
8
|
+
class SmartMenuButtonAtom {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.actionItems = [];
|
|
11
|
+
this.actionItemClick = new EventEmitter();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
SmartMenuButtonAtom.ɵfac = function SmartMenuButtonAtom_Factory(t) { return new (t || SmartMenuButtonAtom)(); };
|
|
15
|
+
SmartMenuButtonAtom.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: { actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"actionItems.length\">\n <ng-container *ngSwitchCase=\"0\"></ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <button mat-icon-button (click)=\"actionItemClick.emit([actionItems[0]])\">\n <mat-icon>{{ actionItems[0]?.icon }}</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"actionItems.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let actionItem of actionItems\"\n mat-menu-item \n (click)=\"actionItemClick.emit([actionItem])\"\n >{{ actionItem.name }}</button>\n</mat-menu>\n", styles: [":host{display:block;width:100%;height:100%}"], directives: [{ type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
16
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartMenuButtonAtom, [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: 'atoms-smart-menu-button',
|
|
20
|
+
templateUrl: './smart-menu-button.atom.html',
|
|
21
|
+
styleUrls: ['./smart-menu-button.atom.scss'],
|
|
22
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
|
+
}]
|
|
24
|
+
}], null, { actionItems: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}], actionItemClick: [{
|
|
27
|
+
type: Output
|
|
28
|
+
}] }); })();
|
|
29
|
+
|
|
30
|
+
class SmartMenuButtonModule {
|
|
31
|
+
}
|
|
32
|
+
SmartMenuButtonModule.ɵfac = function SmartMenuButtonModule_Factory(t) { return new (t || SmartMenuButtonModule)(); };
|
|
33
|
+
SmartMenuButtonModule.ɵmod = ɵɵdefineNgModule({ type: SmartMenuButtonModule });
|
|
34
|
+
SmartMenuButtonModule.ɵinj = ɵɵdefineInjector({ imports: [[
|
|
35
|
+
CommonModule,
|
|
36
|
+
// Material
|
|
37
|
+
MatButtonModule,
|
|
38
|
+
MatIconModule,
|
|
39
|
+
MatMenuModule,
|
|
40
|
+
]] });
|
|
41
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(SmartMenuButtonModule, { declarations: [SmartMenuButtonAtom], imports: [CommonModule,
|
|
42
|
+
// Material
|
|
43
|
+
MatButtonModule,
|
|
44
|
+
MatIconModule,
|
|
45
|
+
MatMenuModule], exports: [SmartMenuButtonAtom] }); })();
|
|
46
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(SmartMenuButtonModule, [{
|
|
47
|
+
type: NgModule,
|
|
48
|
+
args: [{
|
|
49
|
+
declarations: [SmartMenuButtonAtom],
|
|
50
|
+
imports: [
|
|
51
|
+
CommonModule,
|
|
52
|
+
// Material
|
|
53
|
+
MatButtonModule,
|
|
54
|
+
MatIconModule,
|
|
55
|
+
MatMenuModule,
|
|
56
|
+
],
|
|
57
|
+
exports: [SmartMenuButtonAtom]
|
|
58
|
+
}]
|
|
59
|
+
}], null, null); })();
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Generated bundle index. Do not edit.
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
export { SmartMenuButtonAtom, SmartMenuButtonModule };
|
|
66
|
+
//# sourceMappingURL=ng-atomic-components-atoms-smart-menu-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-atoms-smart-menu-button.js","sources":["../../../../libs/components/atoms/smart-menu-button/smart-menu-button.atom.ts","../../../../libs/components/atoms/smart-menu-button/smart-menu-button.atom.html","../../../../libs/components/atoms/smart-menu-button/smart-menu-button.module.ts","../../../../libs/components/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'atoms-smart-menu-button',\n templateUrl: './smart-menu-button.atom.html',\n styleUrls: ['./smart-menu-button.atom.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartMenuButtonAtom {\n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n actionItemClick = new EventEmitter<ActionItem>();\n}\n","<ng-container [ngSwitch]=\"actionItems.length\">\n <ng-container *ngSwitchCase=\"0\"></ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <button mat-icon-button (click)=\"actionItemClick.emit([actionItems[0]])\">\n <mat-icon>{{ actionItems[0]?.icon }}</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" *ngIf=\"actionItems.length\">\n <mat-icon>menu</mat-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\">\n <button \n *ngFor=\"let actionItem of actionItems\"\n mat-menu-item \n (click)=\"actionItemClick.emit([actionItem])\"\n >{{ actionItem.name }}</button>\n</mat-menu>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { SmartMenuButtonAtom } from './smart-menu-button.atom';\n\n\n\n@NgModule({\n declarations: [SmartMenuButtonAtom],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatMenuModule,\n ],\n exports: [SmartMenuButtonAtom]\n})\nexport class SmartMenuButtonModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MASa,mBAAmB;IANhC;QAQE,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAc,CAAC;KAClD;;sFANY,mBAAmB;4EAAnB,mBAAmB,wJCThC,0tBAqBA;oFDZa,mBAAmB;cAN/B,SAAS;eAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,WAAW,EAAE,+BAA+B;gBAC5C,SAAS,EAAE,CAAC,+BAA+B,CAAC;gBAC5C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAGC,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM;;;MEOI,qBAAqB;;0FAArB,qBAAqB;sDAArB,qBAAqB;0DATvB;YACP,YAAY;;YAEZ,eAAe;YACf,aAAa;YACb,aAAa;SACd;qFAGU,qBAAqB,mBAVjB,mBAAmB,aAEhC,YAAY;;QAEZ,eAAe;QACf,aAAa;QACb,aAAa,aAEL,mBAAmB;oFAElB,qBAAqB;cAXjC,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;;oBAEZ,eAAe;oBACf,aAAa;oBACb,aAAa;iBACd;gBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;aAC/B;;;ACnBD;;;;;;"}
|
|
@@ -5,7 +5,7 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
class AutoLayoutFrame {
|
|
6
6
|
}
|
|
7
7
|
AutoLayoutFrame.ɵfac = function AutoLayoutFrame_Factory(t) { return new (t || AutoLayoutFrame)(); };
|
|
8
|
-
AutoLayoutFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: AutoLayoutFrame, selector: "frames-auto-layout", ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{--gap:24px;--gap-SCOPED-IN-auto-layout-
|
|
8
|
+
AutoLayoutFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: AutoLayoutFrame, selector: "frames-auto-layout", ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{--gap:24px;--gap-SCOPED-IN-auto-layout-Xad2:var(--gap);--vertical-padding:24px;--vertical-padding-SCOPED-IN-auto-layout-Xad2:var(--vertical-padding);display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-Xad2);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-Xad2) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}"], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
9
9
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(AutoLayoutFrame, [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ɵɵngDeclareComponent, ChangeDetectionStrategy, ɵsetClassMetadata, Component, ViewChild, Input, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
3
|
+
import { MatDrawer, MatDrawerContainer, MatDrawerContent, MatSidenavModule } from '@angular/material/sidenav';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
class DrawerFrame {
|
|
7
|
+
set isOpen(_isOpen) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
_isOpen ? (_a = this.drawer) === null || _a === void 0 ? void 0 : _a.open() : (_b = this.drawer) === null || _b === void 0 ? void 0 : _b.close();
|
|
10
|
+
this._isOpen = _isOpen;
|
|
11
|
+
}
|
|
12
|
+
get isOpen() {
|
|
13
|
+
return this._isOpen;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
DrawerFrame.ɵfac = function DrawerFrame_Factory(t) { return new (t || DrawerFrame)(); };
|
|
17
|
+
DrawerFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: DrawerFrame, selector: "frames-drawer", inputs: { isOpen: "isOpen" }, viewQueries: [{ propertyName: "drawer", first: true, predicate: MatDrawer, emitDistinctChangesOnly: false, descendants: true }], ngImport: i0, template: "<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>", styles: [":host{--content-width:360px;--content-width-SCOPED-IN-drawer-SXZS:var(--content-width)}:host mat-drawer-content{width:100%}"], directives: [{ type: MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { type: MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { type: MatDrawerContent, selector: "mat-drawer-content" }], changeDetection: ChangeDetectionStrategy.OnPush });
|
|
18
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(DrawerFrame, [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: 'frames-drawer',
|
|
22
|
+
templateUrl: './drawer.frame.html',
|
|
23
|
+
styleUrls: ['./drawer.frame.scss'],
|
|
24
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
25
|
+
}]
|
|
26
|
+
}], null, { drawer: [{
|
|
27
|
+
type: ViewChild,
|
|
28
|
+
args: [MatDrawer]
|
|
29
|
+
}], isOpen: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}] }); })();
|
|
32
|
+
|
|
33
|
+
class DrawerModule {
|
|
34
|
+
}
|
|
35
|
+
DrawerModule.ɵfac = function DrawerModule_Factory(t) { return new (t || DrawerModule)(); };
|
|
36
|
+
DrawerModule.ɵmod = ɵɵdefineNgModule({ type: DrawerModule });
|
|
37
|
+
DrawerModule.ɵinj = ɵɵdefineInjector({ imports: [[
|
|
38
|
+
CommonModule,
|
|
39
|
+
MatSidenavModule,
|
|
40
|
+
]] });
|
|
41
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(DrawerModule, { declarations: [DrawerFrame], imports: [CommonModule,
|
|
42
|
+
MatSidenavModule], exports: [DrawerFrame] }); })();
|
|
43
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(DrawerModule, [{
|
|
44
|
+
type: NgModule,
|
|
45
|
+
args: [{
|
|
46
|
+
declarations: [DrawerFrame],
|
|
47
|
+
imports: [
|
|
48
|
+
CommonModule,
|
|
49
|
+
MatSidenavModule,
|
|
50
|
+
],
|
|
51
|
+
exports: [DrawerFrame]
|
|
52
|
+
}]
|
|
53
|
+
}], null, null); })();
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Generated bundle index. Do not edit.
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
export { DrawerFrame, DrawerModule };
|
|
60
|
+
//# sourceMappingURL=ng-atomic-components-frames-drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-drawer.js","sources":["../../../../libs/components/frames/drawer/drawer.frame.ts","../../../../libs/components/frames/drawer/drawer.frame.html","../../../../libs/components/frames/drawer/drawer.module.ts","../../../../libs/components/frames/drawer/ng-atomic-components-frames-drawer.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, ViewChild } from '@angular/core';\nimport { MatDrawer } from '@angular/material/sidenav';\n\n@Component({\n selector: 'frames-drawer',\n templateUrl: './drawer.frame.html',\n styleUrls: ['./drawer.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DrawerFrame {\n\n @ViewChild(MatDrawer)\n drawer!: MatDrawer;\n\n private _isOpen: boolean;\n\n @Input()\n set isOpen(_isOpen: boolean) {\n _isOpen ? this.drawer?.open() : this.drawer?.close();\n this._isOpen = _isOpen\n }\n\n get isOpen(): boolean {\n return this._isOpen\n }\n\n}\n","<mat-drawer-container [autosize]=\"false\">\n <mat-drawer #drawer mode=\"side\">\n <ng-content select=[drawer]></ng-content>\n </mat-drawer>\n\n <mat-drawer-content>\n <ng-content select=[contents]></ng-content>\n </mat-drawer-content>\n \n</mat-drawer-container>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DrawerFrame } from './drawer.frame';\nimport { MatSidenavModule } from '@angular/material/sidenav';\n\n\n\n@NgModule({\n declarations: [DrawerFrame],\n imports: [\n CommonModule,\n MatSidenavModule,\n ],\n exports: [DrawerFrame]\n})\nexport class DrawerModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,WAAW;IAOtB,IACI,MAAM,CAAC,OAAgB;;QACzB,OAAO,SAAG,IAAI,CAAC,MAAM,0CAAE,IAAI,WAAK,IAAI,CAAC,MAAM,0CAAE,KAAK,EAAE,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;KACvB;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAA;KACpB;;sEAfU,WAAW;oEAAX,WAAW,2HAEX,SAAS,gFCXtB,oRASuB;oFDAV,WAAW;cANvB,SAAS;eAAC;gBACT,QAAQ,EAAE,eAAe;gBACzB,WAAW,EAAE,qBAAqB;gBAClC,SAAS,EAAE,CAAC,qBAAqB,CAAC;gBAClC,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAIC,MAAM;kBADL,SAAS;mBAAC,SAAS;YAMhB,MAAM;kBADT,KAAK;;;MEDK,YAAY;;wEAAZ,YAAY;6CAAZ,YAAY;iDANd;YACP,YAAY;YACZ,gBAAgB;SACjB;qFAGU,YAAY,mBAPR,WAAW,aAExB,YAAY;QACZ,gBAAgB,aAER,WAAW;oFAEV,YAAY;cARxB,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,WAAW,CAAC;gBAC3B,OAAO,EAAE;oBACP,YAAY;oBACZ,gBAAgB;iBACjB;gBACD,OAAO,EAAE,CAAC,WAAW,CAAC;aACvB;;;ACdD;;;;;;"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ɵɵdefineInjectable, ɵsetClassMetadata, Injectable, ɵɵdirectiveInject, ɵɵngDeclareComponent, ChangeDetectionStrategy, Component, Input, ViewChild, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
3
|
+
import { Observable, ReplaySubject, BehaviorSubject, combineLatest } from 'rxjs';
|
|
4
|
+
import { map, startWith, distinctUntilChanged, takeUntil } from 'rxjs/operators';
|
|
5
|
+
import { trigger, state, style, transition, animate, sequence, query, group } from '@angular/animations';
|
|
6
|
+
import ResizeObserver from 'resize-observer-polyfill';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
9
|
+
|
|
10
|
+
const MAIN_ANIMATION = trigger('modeChangeForMain', [
|
|
11
|
+
state('*', style({
|
|
12
|
+
width: '100%',
|
|
13
|
+
})),
|
|
14
|
+
state('Next', style({
|
|
15
|
+
display: 'none',
|
|
16
|
+
width: '0%',
|
|
17
|
+
})),
|
|
18
|
+
transition('* => Next', [
|
|
19
|
+
animate('0.5s', style({ width: '0%' })),
|
|
20
|
+
style({ display: 'none' }),
|
|
21
|
+
]),
|
|
22
|
+
transition('Next => *', [
|
|
23
|
+
sequence([
|
|
24
|
+
style({ display: 'inherit' }),
|
|
25
|
+
animate('0.5s', style({ width: '100%' })),
|
|
26
|
+
]),
|
|
27
|
+
]),
|
|
28
|
+
]);
|
|
29
|
+
const NEXT_ANIMATION = trigger('modeChangeForNext', [
|
|
30
|
+
state('Next', style({
|
|
31
|
+
position: 'relative',
|
|
32
|
+
width: '100%',
|
|
33
|
+
})),
|
|
34
|
+
state('Both', style({
|
|
35
|
+
position: 'relative',
|
|
36
|
+
width: '100%',
|
|
37
|
+
})),
|
|
38
|
+
state('Main', style({
|
|
39
|
+
position: 'relative',
|
|
40
|
+
display: 'none',
|
|
41
|
+
})),
|
|
42
|
+
transition('Main => Next', [
|
|
43
|
+
query(':enter', [animate('0.5s')], { optional: true }),
|
|
44
|
+
sequence([
|
|
45
|
+
style({ display: 'inherit', width: '100%' }),
|
|
46
|
+
animate('0.5s'),
|
|
47
|
+
]),
|
|
48
|
+
]),
|
|
49
|
+
transition('Main => Both', [
|
|
50
|
+
query(':enter', [animate('0.5s')], { optional: true }),
|
|
51
|
+
sequence([
|
|
52
|
+
style({ display: 'inherit', width: '100%' }),
|
|
53
|
+
animate('0.5s'),
|
|
54
|
+
]),
|
|
55
|
+
]),
|
|
56
|
+
transition('Next => Main', group([
|
|
57
|
+
query(':leave', animate('0.5s', style({ width: '100%' })), { optional: true }),
|
|
58
|
+
sequence([
|
|
59
|
+
style({ position: 'absolute', display: 'block', left: '0%' }),
|
|
60
|
+
animate('0.5s', style({ left: '100%' })),
|
|
61
|
+
]),
|
|
62
|
+
])),
|
|
63
|
+
transition('Both => Main', group([
|
|
64
|
+
query(':leave', animate('0.5s', style({ width: '100%' })), { optional: true }),
|
|
65
|
+
sequence([
|
|
66
|
+
style({ position: 'absolute', display: 'block', left: '100%' }),
|
|
67
|
+
animate('0.5s', style({})),
|
|
68
|
+
]),
|
|
69
|
+
])),
|
|
70
|
+
]);
|
|
71
|
+
const LINE_UP_ANIMATIONS = [MAIN_ANIMATION, NEXT_ANIMATION];
|
|
72
|
+
|
|
73
|
+
function fromResize({ nativeElement }) {
|
|
74
|
+
return Observable.create(function (observer) {
|
|
75
|
+
const callback = (entries) => entries.forEach(e => observer.next(e));
|
|
76
|
+
const resizeObserver = new ResizeObserver(callback);
|
|
77
|
+
resizeObserver.observe(nativeElement);
|
|
78
|
+
return () => resizeObserver.disconnect();
|
|
79
|
+
}).pipe(map(({ contentRect }) => { var _a; return (_a = contentRect === null || contentRect === void 0 ? void 0 : contentRect.width) !== null && _a !== void 0 ? _a : 0; }), startWith(0), distinctUntilChanged());
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
var Mode;
|
|
83
|
+
(function (Mode) {
|
|
84
|
+
Mode["MAIN"] = "Main";
|
|
85
|
+
Mode["BOTH"] = "Both";
|
|
86
|
+
Mode["NEXT"] = "Next";
|
|
87
|
+
})(Mode || (Mode = {}));
|
|
88
|
+
class LineUpFrameService {
|
|
89
|
+
constructor() {
|
|
90
|
+
this.frames = [];
|
|
91
|
+
}
|
|
92
|
+
register(frame) {
|
|
93
|
+
this.frames.push(frame);
|
|
94
|
+
console.debug('this.frames:', this.frames);
|
|
95
|
+
}
|
|
96
|
+
unregister(frame) {
|
|
97
|
+
this.frames = this.frames.slice(0, this.findIndex(frame));
|
|
98
|
+
}
|
|
99
|
+
findIndex(frame) {
|
|
100
|
+
return this.frames.findIndex((value) => value === frame);
|
|
101
|
+
}
|
|
102
|
+
propagate(frame) {
|
|
103
|
+
var _a;
|
|
104
|
+
const target = (_a = this.frames) === null || _a === void 0 ? void 0 : _a[this.findIndex(frame) - 1];
|
|
105
|
+
target === null || target === void 0 ? void 0 : target.refresh();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
LineUpFrameService.ɵfac = function LineUpFrameService_Factory(t) { return new (t || LineUpFrameService)(); };
|
|
109
|
+
LineUpFrameService.ɵprov = ɵɵdefineInjectable({ token: LineUpFrameService, factory: LineUpFrameService.ɵfac, providedIn: 'root' });
|
|
110
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(LineUpFrameService, [{
|
|
111
|
+
type: Injectable,
|
|
112
|
+
args: [{ providedIn: 'root' }]
|
|
113
|
+
}], null, null); })();
|
|
114
|
+
class LineUpFrame {
|
|
115
|
+
constructor(service) {
|
|
116
|
+
this.service = service;
|
|
117
|
+
this.Mode = Mode;
|
|
118
|
+
this.mode = Mode.MAIN;
|
|
119
|
+
this.refresh$ = new ReplaySubject(1);
|
|
120
|
+
this.destroy$ = new ReplaySubject(1);
|
|
121
|
+
this.hasNext$ = new BehaviorSubject(false);
|
|
122
|
+
this.minNextWidth = 360;
|
|
123
|
+
}
|
|
124
|
+
set hasNext(value) {
|
|
125
|
+
this.hasNext$.next(value);
|
|
126
|
+
}
|
|
127
|
+
;
|
|
128
|
+
ngOnInit() {
|
|
129
|
+
this.service.register(this);
|
|
130
|
+
this.refresh();
|
|
131
|
+
combineLatest([
|
|
132
|
+
this.hasNext$,
|
|
133
|
+
fromResize(this.nextElementRef),
|
|
134
|
+
this.refresh$,
|
|
135
|
+
]).pipe(takeUntil(this.destroy$)).subscribe(([hasNext, width]) => {
|
|
136
|
+
this.mode = this.resolveMode(hasNext, width);
|
|
137
|
+
setTimeout(() => this.service.propagate(this), 0);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
ngOnDestroy() {
|
|
141
|
+
this.service.unregister(this);
|
|
142
|
+
this.destroy$.next();
|
|
143
|
+
}
|
|
144
|
+
refresh() {
|
|
145
|
+
this.refresh$.next();
|
|
146
|
+
}
|
|
147
|
+
resolveMode(hasNext, width) {
|
|
148
|
+
if (hasNext && width <= this.minNextWidth)
|
|
149
|
+
return Mode.BOTH;
|
|
150
|
+
return hasNext ? Mode.NEXT : Mode.MAIN;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
LineUpFrame.ɵfac = function LineUpFrame_Factory(t) { return new (t || LineUpFrame)(ɵɵdirectiveInject(LineUpFrameService)); };
|
|
154
|
+
LineUpFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: LineUpFrame, selector: "frames-line-up", inputs: { hasNext: "hasNext", minNextWidth: "minNextWidth" }, viewQueries: [{ propertyName: "nextElementRef", first: true, predicate: ["next"], emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<div class=\"main\" [@modeChangeForMain]=\"mode\" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next\" [@modeChangeForNext]=\"mode\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>", styles: [":host{--gap:1px;--gap-SCOPED-IN-line-up-NEEz:var(--gap);--background:#ccc;--background-SCOPED-IN-line-up-NEEz:var(--background);--contents-background:transparent;--contents-background-SCOPED-IN-line-up-NEEz:var(--contents-background);position:relative;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-NEEz);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background:var(--background-SCOPED-IN-line-up-NEEz)}:host,:host div{display:flex;height:100%}:host div{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;background:var(--contents-background-SCOPED-IN-line-up-NEEz)}:host div.main{overflow:hidden;justify-content:flex-end}:host div.next{overflow:visible;justify-content:flex-start}"], animations: LINE_UP_ANIMATIONS, changeDetection: ChangeDetectionStrategy.Default });
|
|
155
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(LineUpFrame, [{
|
|
156
|
+
type: Component,
|
|
157
|
+
args: [{
|
|
158
|
+
selector: 'frames-line-up',
|
|
159
|
+
templateUrl: './line-up.frame.html',
|
|
160
|
+
styleUrls: ['./line-up.frame.scss'],
|
|
161
|
+
changeDetection: ChangeDetectionStrategy.Default,
|
|
162
|
+
animations: LINE_UP_ANIMATIONS,
|
|
163
|
+
}]
|
|
164
|
+
}], function () { return [{ type: LineUpFrameService }]; }, { hasNext: [{
|
|
165
|
+
type: Input
|
|
166
|
+
}], minNextWidth: [{
|
|
167
|
+
type: Input
|
|
168
|
+
}], nextElementRef: [{
|
|
169
|
+
type: ViewChild,
|
|
170
|
+
args: ['next', { static: true }]
|
|
171
|
+
}] }); })();
|
|
172
|
+
|
|
173
|
+
class LineUpModule {
|
|
174
|
+
}
|
|
175
|
+
LineUpModule.ɵfac = function LineUpModule_Factory(t) { return new (t || LineUpModule)(); };
|
|
176
|
+
LineUpModule.ɵmod = ɵɵdefineNgModule({ type: LineUpModule });
|
|
177
|
+
LineUpModule.ɵinj = ɵɵdefineInjector({ imports: [[
|
|
178
|
+
CommonModule,
|
|
179
|
+
MatProgressSpinnerModule
|
|
180
|
+
]] });
|
|
181
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(LineUpModule, { declarations: [LineUpFrame], imports: [CommonModule,
|
|
182
|
+
MatProgressSpinnerModule], exports: [LineUpFrame] }); })();
|
|
183
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(LineUpModule, [{
|
|
184
|
+
type: NgModule,
|
|
185
|
+
args: [{
|
|
186
|
+
declarations: [LineUpFrame],
|
|
187
|
+
imports: [
|
|
188
|
+
CommonModule,
|
|
189
|
+
MatProgressSpinnerModule
|
|
190
|
+
],
|
|
191
|
+
exports: [LineUpFrame]
|
|
192
|
+
}]
|
|
193
|
+
}], null, null); })();
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Generated bundle index. Do not edit.
|
|
197
|
+
*/
|
|
198
|
+
|
|
199
|
+
export { LineUpFrame, LineUpFrameService, LineUpModule };
|
|
200
|
+
//# sourceMappingURL=ng-atomic-components-frames-line-up-v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-line-up-v2.js","sources":["../../../../libs/components/frames/line-up-v2/line-up.animations.ts","../../../../libs/components/frames/line-up-v2/resize-observer.ts","../../../../libs/components/frames/line-up-v2/line-up.frame.ts","../../../../libs/components/frames/line-up-v2/line-up.frame.html","../../../../libs/components/frames/line-up-v2/line-up.module.ts","../../../../libs/components/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.ts"],"sourcesContent":["import { animate, query, sequence, state, style, transition, trigger, group } from '@angular/animations';\n\nconst MAIN_ANIMATION = trigger('modeChangeForMain', [\n state('*', style({\n width: '100%',\n })),\n state('Next', style({\n display: 'none',\n width: '0%',\n })),\n transition('* => Next', [\n animate('0.5s', style({ width: '0%' })),\n style({display: 'none'}),\n ]),\n transition('Next => *', [\n sequence([\n style({ display: 'inherit' }),\n animate('0.5s', style({ width: '100%' })),\n ]),\n ]),\n]);\n\nconst NEXT_ANIMATION = trigger('modeChangeForNext', [\n state('Next', style({\n position: 'relative',\n width: '100%',\n })),\n state('Both', style({\n position: 'relative',\n width: '100%',\n })),\n state('Main', style({\n position: 'relative',\n display: 'none',\n })),\n transition('Main => Next', [\n query(':enter', [animate('0.5s')], { optional: true }),\n sequence([\n style({ display: 'inherit', width: '100%' }),\n animate('0.5s'),\n ]),\n ]),\n transition('Main => Both', [\n query(':enter', [animate('0.5s')], { optional: true }),\n sequence([\n style({ display: 'inherit', width: '100%' }),\n animate('0.5s'),\n ]),\n ]),\n transition('Next => Main', group([\n query(':leave', animate('0.5s', style({width: '100%'})), { optional: true }),\n sequence([\n style({position: 'absolute', display: 'block', left: '0%'}),\n animate('0.5s', style({left: '100%'})),\n ]),\n ])),\n transition('Both => Main', group([\n query(':leave', animate('0.5s', style({width: '100%'})), { optional: true }),\n sequence([\n style({position: 'absolute', display: 'block', left: '100%'}),\n animate('0.5s', style({})),\n ]),\n ])),\n]);\n\nexport const LINE_UP_ANIMATIONS = [MAIN_ANIMATION, NEXT_ANIMATION];\n","import { Observable } from 'rxjs';\nimport { startWith } from 'rxjs/operators';\nimport ResizeObserver from 'resize-observer-polyfill';\nimport { distinctUntilChanged, map } from 'rxjs/operators';\nimport { ElementRef } from '@angular/core';\n\nexport function fromResize({nativeElement}: ElementRef<Element>): Observable<number> {\n return Observable.create(function(observer: any) {\n const callback = (entries: any) => entries.forEach(e => observer.next(e));\n const resizeObserver = new ResizeObserver(callback);\n resizeObserver.observe(nativeElement);\n return () => resizeObserver.disconnect();\n }).pipe(\n map(({contentRect}) => contentRect?.width ?? 0),\n startWith(0),\n distinctUntilChanged(),\n );\n}\n","import { ChangeDetectionStrategy, Component, ElementRef, Injectable, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { BehaviorSubject, combineLatest, ReplaySubject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { LINE_UP_ANIMATIONS } from './line-up.animations';\nimport { fromResize } from './resize-observer';\n\nenum Mode {\n MAIN = 'Main',\n BOTH = 'Both',\n NEXT = 'Next',\n}\n\n@Injectable({providedIn: 'root'})\nexport class LineUpFrameService {\n frames: LineUpFrame[] = [];\n\n register(frame: LineUpFrame) {\n this.frames.push(frame);\n console.debug('this.frames:', this.frames);\n }\n\n unregister(frame: LineUpFrame) {\n this.frames = this.frames.slice(0, this.findIndex(frame));\n }\n\n findIndex(frame: LineUpFrame): number {\n return this.frames.findIndex((value) => value === frame);\n }\n\n propagate(frame: LineUpFrame): void {\n const target = this.frames?.[this.findIndex(frame) - 1];\n target?.refresh();\n }\n}\n\n@Component({\n selector: 'frames-line-up',\n templateUrl: './line-up.frame.html',\n styleUrls: ['./line-up.frame.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n animations: LINE_UP_ANIMATIONS,\n})\nexport class LineUpFrame implements OnInit, OnDestroy {\n Mode = Mode;\n mode = Mode.MAIN;\n\n private readonly refresh$ = new ReplaySubject(1);\n private readonly destroy$ = new ReplaySubject(1);\n private readonly hasNext$ = new BehaviorSubject(false); \n\n @Input()\n set hasNext(value: boolean) {\n this.hasNext$.next(value);\n };\n\n @Input()\n minNextWidth: number = 360;\n\n @ViewChild('next', {static: true})\n nextElementRef!: ElementRef;\n\n constructor(private service: LineUpFrameService) { }\n\n ngOnInit(): void {\n this.service.register(this);\n this.refresh();\n \n combineLatest([\n this.hasNext$, \n fromResize(this.nextElementRef),\n this.refresh$,\n ]).pipe(takeUntil(this.destroy$)).subscribe(([hasNext, width]) => {\n this.mode = this.resolveMode(hasNext, width);\n setTimeout(() => this.service.propagate(this), 0);\n });\n }\n\n ngOnDestroy(): void {\n this.service.unregister(this);\n this.destroy$.next(); \n }\n\n refresh() {\n this.refresh$.next();\n }\n\n private resolveMode(hasNext: boolean, width: number): Mode {\n if (hasNext && width <= this.minNextWidth) return Mode.BOTH;\n return hasNext ? Mode.NEXT : Mode.MAIN;\n }\n}\n","<div class=\"main\" [@modeChangeForMain]=\"mode\" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next\" [@modeChangeForNext]=\"mode\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\n\nimport { LineUpFrame } from './line-up.frame';\n\n\n@NgModule({\n declarations: [LineUpFrame],\n imports: [\n CommonModule,\n MatProgressSpinnerModule\n ],\n exports: [LineUpFrame]\n})\nexport class LineUpModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEA,MAAM,cAAc,GAAG,OAAO,CAAC,mBAAmB,EAAE;IAClD,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC;QACf,KAAK,EAAE,MAAM;KACd,CAAC,CAAC;IACH,KAAK,C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|
136
136
|
}
|
|
137
137
|
LineUpFrame.ɵfac = function LineUpFrame_Factory(t) { return new (t || LineUpFrame)(ɵɵdirectiveInject(LineUpService), ɵɵdirectiveInject(ChangeDetectorRef)); };
|
|
138
|
-
LineUpFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: LineUpFrame, selector: "frames-line-up", inputs: { label: "label", outlet: "outlet", minNextWidth: "minNextWidth" }, host: { properties: { "attr.is-main-hidden": "this.isMainHidden" } }, viewQueries: [{ propertyName: "next", first: true, predicate: ["next"], emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<div class=\"main contents\" [@visibleHidden]=\"isMainHidden ? 'hidden' : 'visible' \" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next contents\" [@pageChange]=\"page\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>", styles: [":host{--gap:1px;--gap-SCOPED-IN-line-up-
|
|
138
|
+
LineUpFrame.ɵcmp = ɵɵngDeclareComponent({ version: "11.2.14", type: LineUpFrame, selector: "frames-line-up", inputs: { label: "label", outlet: "outlet", minNextWidth: "minNextWidth" }, host: { properties: { "attr.is-main-hidden": "this.isMainHidden" } }, viewQueries: [{ propertyName: "next", first: true, predicate: ["next"], emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<div class=\"main contents\" [@visibleHidden]=\"isMainHidden ? 'hidden' : 'visible' \" #main>\n <ng-content select=\"[main]\"></ng-content>\n</div>\n<div class=\"next contents\" [@pageChange]=\"page\" #next>\n <ng-content select=\"[next]\"></ng-content>\n</div>", styles: [":host{--gap:1px;--gap-SCOPED-IN-line-up-Nk6j:var(--gap);--background:#ccc;--background-SCOPED-IN-line-up-Nk6j:var(--background);--contents-background:transparent;--contents-background-SCOPED-IN-line-up-Nk6j:var(--contents-background);position:relative;justify-content:flex-start;gap:var(--gap-SCOPED-IN-line-up-Nk6j);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background:var(--background-SCOPED-IN-line-up-Nk6j)}:host,:host .contents{display:flex;height:100%}:host .contents{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;background:var(--contents-background-SCOPED-IN-line-up-Nk6j)}:host .contents.main{overflow:hidden;justify-content:flex-end}:host .contents.next{overflow:visible;justify-content:flex-start}"], animations: LINE_UP_ANIMATIONS, changeDetection: ChangeDetectionStrategy.Default });
|
|
139
139
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(LineUpFrame, [{
|
|
140
140
|
type: Component,
|
|
141
141
|
args: [{
|