@ng-atomic/components 3.5.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/chips-input/chips-input.atom.d.ts +1 -1
- package/atoms/icon/icon.atom.d.ts +1 -1
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +4 -4
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts.map +1 -1
- package/esm2020/app.module.mjs +3 -5
- package/esm2020/atoms/chips-input/chips-input.atom.mjs +6 -6
- package/esm2020/atoms/chips-input/chips-input.module.mjs +7 -9
- package/esm2020/atoms/icon/icon.atom.mjs +2 -2
- package/esm2020/atoms/icon/icon.module.mjs +4 -6
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +17 -16
- package/esm2020/atoms/smart-menu-button/smart-menu-button.module.mjs +6 -8
- package/esm2020/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2020/frames/auto-layout/auto-layout.module.mjs +2 -4
- package/esm2020/frames/card/card.frame.mjs +1 -1
- package/esm2020/frames/card/card.module.mjs +4 -6
- package/esm2020/frames/drawer/drawer.frame.mjs +2 -2
- package/esm2020/frames/drawer/drawer.module.mjs +3 -5
- package/esm2020/frames/line-up/line-up.frame.mjs +3 -3
- package/esm2020/frames/line-up/line-up.module.mjs +3 -5
- package/esm2020/frames/overlay/overlay.frame.mjs +2 -2
- package/esm2020/frames/overlay/overlay.module.mjs +3 -5
- package/esm2020/frames/scroll/scroll.frame.mjs +2 -2
- package/esm2020/frames/scroll/scroll.module.mjs +3 -5
- package/esm2020/frames/smart-menu/smart-menu.frame.mjs +2 -2
- package/esm2020/frames/smart-menu/smart-menu.module.mjs +2 -4
- package/esm2020/molecules/actions-column/actions-column.module.mjs +9 -11
- package/esm2020/molecules/actions-column/actions-column.molecule.mjs +10 -10
- package/esm2020/molecules/checkbox-column/checkbox-column.module.mjs +5 -7
- package/esm2020/molecules/checkbox-column/checkbox-column.molecule.mjs +4 -4
- package/esm2020/molecules/chips-input-field/chips-input-field.module.mjs +11 -13
- package/esm2020/molecules/chips-input-field/chips-input-field.molecule.mjs +12 -9
- package/esm2020/molecules/date-input-field/date-input-field.module.mjs +6 -8
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +7 -7
- package/esm2020/molecules/header/header.module.mjs +25 -0
- package/esm2020/molecules/header/header.molecule.mjs +32 -0
- package/esm2020/molecules/header/index.mjs +3 -0
- package/esm2020/molecules/header/ng-atomic-components-molecules-header.mjs +5 -0
- package/esm2020/molecules/navigation-list-item/navigation-list-item.module.mjs +6 -8
- package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +4 -4
- package/esm2020/molecules/select-input-field/select-input-field.module.mjs +5 -7
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +6 -6
- package/esm2020/molecules/smart-column/smart-column.module.mjs +7 -9
- package/esm2020/molecules/smart-column/smart-column.molecule.mjs +6 -6
- package/esm2020/molecules/text-input-field/text-input-field.module.mjs +6 -8
- package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +5 -5
- package/esm2020/molecules/textarea-field/textarea-field.module.mjs +4 -6
- package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +4 -4
- package/esm2020/organisms/action-buttons-section/action-buttons-section.module.mjs +4 -6
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +10 -10
- package/esm2020/organisms/back-navigator/back-navigator.module.mjs +8 -10
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +15 -15
- package/esm2020/organisms/card-input-section/card-input-section.module.mjs +4 -6
- package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +2 -2
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.mjs +5 -7
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +5 -5
- package/esm2020/organisms/date-input-section/date-input-section.module.mjs +3 -5
- package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +2 -2
- package/esm2020/organisms/heading/heading.module.mjs +2 -4
- package/esm2020/organisms/heading/heading.organism.mjs +2 -2
- package/esm2020/organisms/navigation-list/navigation-list.module.mjs +6 -8
- package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +6 -6
- package/esm2020/organisms/navigator/navigator.module.mjs +8 -10
- package/esm2020/organisms/navigator/navigator.organism.mjs +39 -44
- package/esm2020/organisms/paginator/paginator.module.mjs +8 -10
- package/esm2020/organisms/paginator/paginator.organism.mjs +8 -8
- package/esm2020/organisms/select-input-section/select-input-section.module.mjs +4 -6
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2020/organisms/smart-table/smart-table.module.mjs +14 -16
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +17 -16
- package/esm2020/organisms/social-login-section/social-login-section.module.mjs +4 -6
- package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2020/organisms/text-input-section/text-input-section.module.mjs +4 -6
- package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +2 -2
- package/esm2020/organisms/textarea-section/textarea-section.module.mjs +4 -6
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +2 -2
- package/esm2020/organisms/top-navigator/top-navigator.module.mjs +7 -9
- package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +10 -10
- package/esm2020/pages/_index/index.module.mjs +3 -5
- package/esm2020/pages/_index/index.page.mjs +2 -6
- package/esm2020/pages/blank/blank.module.mjs +3 -5
- package/esm2020/pages/blank/blank.page.mjs +2 -6
- package/esm2020/templates/entrance/entrance.module.mjs +10 -12
- package/esm2020/templates/entrance/entrance.template.mjs +11 -11
- package/esm2020/templates/loading/loading.module.mjs +4 -6
- package/esm2020/templates/loading/loading.template.mjs +1 -1
- package/esm2020/templates/menu/menu.module.mjs +4 -6
- package/esm2020/templates/menu/menu.template.mjs +2 -2
- package/esm2020/templates/smart-crud/smart-crud.module.mjs +26 -21
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +61 -49
- package/esm2020/templates/smart-index/smart-index.module.mjs +19 -14
- package/esm2020/templates/smart-index/smart-index.template.mjs +41 -25
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs +12 -14
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +5 -7
- package/fesm2015/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +21 -22
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +3 -5
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-card.mjs +4 -6
- package/fesm2015/ng-atomic-components-frames-card.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-drawer.mjs +4 -6
- package/fesm2015/ng-atomic-components-frames-drawer.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-line-up.mjs +4 -6
- package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay.mjs +4 -6
- package/fesm2015/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-scroll.mjs +4 -6
- package/fesm2015/ng-atomic-components-frames-scroll.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +3 -5
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +17 -19
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs +7 -9
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +22 -21
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +14 -16
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-header.mjs +68 -0
- package/fesm2015/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +9 -11
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +10 -12
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +11 -13
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +12 -14
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +8 -10
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +12 -14
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +21 -23
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +5 -7
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +8 -10
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +4 -6
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-heading.mjs +3 -5
- package/fesm2015/ng-atomic-components-organisms-heading.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +11 -13
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs +51 -54
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs +14 -16
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +5 -7
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +29 -30
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +5 -7
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +5 -7
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +5 -7
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +15 -17
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-pages-_index.mjs +3 -9
- package/fesm2015/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-pages-blank.mjs +3 -9
- package/fesm2015/ng-atomic-components-pages-blank.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +19 -21
- package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-loading.mjs +4 -6
- package/fesm2015/ng-atomic-components-templates-loading.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.mjs +5 -7
- package/fesm2015/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +86 -69
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +59 -38
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2015/ng-atomic-components.mjs +2 -4
- package/fesm2015/ng-atomic-components.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-chips-input.mjs +12 -14
- package/fesm2020/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-icon.mjs +5 -7
- package/fesm2020/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +21 -22
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +3 -5
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-card.mjs +4 -6
- package/fesm2020/ng-atomic-components-frames-card.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-drawer.mjs +4 -6
- package/fesm2020/ng-atomic-components-frames-drawer.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-line-up.mjs +4 -6
- package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-overlay.mjs +4 -6
- package/fesm2020/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-scroll.mjs +4 -6
- package/fesm2020/ng-atomic-components-frames-scroll.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +3 -5
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +17 -19
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs +7 -9
- package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs +22 -21
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +14 -16
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-header.mjs +61 -0
- package/fesm2020/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +9 -11
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +10 -12
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +11 -13
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +12 -14
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +8 -10
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +12 -14
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +21 -23
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +5 -7
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +8 -10
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +4 -6
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-heading.mjs +3 -5
- package/fesm2020/ng-atomic-components-organisms-heading.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +11 -13
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs +47 -54
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs +14 -16
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +5 -7
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +29 -30
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +5 -7
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +5 -7
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +5 -7
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +15 -17
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-pages-_index.mjs +3 -9
- package/fesm2020/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-pages-blank.mjs +3 -9
- package/fesm2020/ng-atomic-components-pages-blank.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +19 -21
- package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-loading.mjs +4 -6
- package/fesm2020/ng-atomic-components-templates-loading.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-menu.mjs +5 -7
- package/fesm2020/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +86 -69
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +59 -38
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2020/ng-atomic-components.mjs +2 -4
- package/fesm2020/ng-atomic-components.mjs.map +1 -1
- package/frames/auto-layout/auto-layout.frame.d.ts +1 -1
- package/frames/card/card.frame.d.ts +1 -1
- package/frames/drawer/drawer.frame.d.ts +1 -1
- package/frames/line-up/line-up.frame.d.ts +1 -1
- package/frames/overlay/overlay.frame.d.ts +1 -1
- package/frames/scroll/scroll.frame.d.ts +1 -1
- package/frames/smart-menu/smart-menu.frame.d.ts +1 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +4 -4
- package/molecules/actions-column/actions-column.molecule.d.ts.map +1 -1
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +1 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +2 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts.map +1 -1
- package/molecules/date-input-field/date-input-field.molecule.d.ts +1 -1
- package/molecules/header/header.module.d.ts +9 -0
- package/molecules/header/header.module.d.ts.map +1 -0
- package/molecules/header/header.molecule.d.ts +8 -0
- package/molecules/header/header.molecule.d.ts.map +1 -0
- package/molecules/header/index.d.ts +3 -0
- package/molecules/header/index.d.ts.map +1 -0
- package/molecules/header/ng-atomic-components-molecules-header.d.ts.map +1 -0
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +1 -1
- package/molecules/select-input-field/select-input-field.molecule.d.ts +1 -1
- package/molecules/smart-column/smart-column.molecule.d.ts +1 -1
- package/molecules/text-input-field/text-input-field.molecule.d.ts +1 -1
- package/molecules/textarea-field/textarea-field.molecule.d.ts +1 -1
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +5 -5
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts.map +1 -1
- package/organisms/back-navigator/back-navigator.organism.d.ts +4 -4
- package/organisms/back-navigator/back-navigator.organism.d.ts.map +1 -1
- package/organisms/card-input-section/card-input-section.organism.d.ts +1 -1
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +3 -3
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts.map +1 -1
- package/organisms/date-input-section/date-input-section.organism.d.ts +1 -1
- package/organisms/heading/heading.organism.d.ts +1 -1
- package/organisms/navigation-list/navigation-list.organism.d.ts +1 -1
- package/organisms/navigator/navigator.organism.d.ts +5 -8
- package/organisms/navigator/navigator.organism.d.ts.map +1 -1
- package/organisms/paginator/paginator.organism.d.ts +1 -1
- package/organisms/select-input-section/select-input-section.organism.d.ts +1 -1
- package/organisms/smart-table/smart-table.organism.d.ts +5 -4
- package/organisms/smart-table/smart-table.organism.d.ts.map +1 -1
- package/organisms/social-login-section/social-login-section.organism.d.ts +1 -1
- package/organisms/text-input-section/text-input-section.organism.d.ts +1 -1
- package/organisms/textarea-section/textarea-section.organism.d.ts +1 -1
- package/organisms/top-navigator/top-navigator.organism.d.ts +3 -3
- package/organisms/top-navigator/top-navigator.organism.d.ts.map +1 -1
- package/package.json +62 -54
- package/pages/_index/index.page.d.ts +1 -1
- package/pages/blank/blank.page.d.ts +1 -1
- package/templates/entrance/entrance.template.d.ts +1 -1
- package/templates/loading/loading.template.d.ts +1 -1
- package/templates/menu/menu.template.d.ts +1 -1
- package/templates/smart-crud/smart-crud.module.d.ts +3 -2
- package/templates/smart-crud/smart-crud.module.d.ts.map +1 -1
- package/templates/smart-crud/smart-crud.template.d.ts +16 -6
- package/templates/smart-crud/smart-crud.template.d.ts.map +1 -1
- package/templates/smart-index/smart-index.module.d.ts +3 -2
- package/templates/smart-index/smart-index.module.d.ts.map +1 -1
- package/templates/smart-index/smart-index.template.d.ts +13 -5
- package/templates/smart-index/smart-index.template.d.ts.map +1 -1
- package/atoms/chips-input/ng-atomic-components-atoms-chips-input.d.ts +0 -6
- package/atoms/chips-input/package.json +0 -10
- package/atoms/icon/ng-atomic-components-atoms-icon.d.ts +0 -6
- package/atoms/icon/package.json +0 -10
- package/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.d.ts +0 -6
- package/atoms/smart-menu-button/package.json +0 -10
- package/frames/auto-layout/ng-atomic-components-frames-auto-layout.d.ts +0 -6
- package/frames/auto-layout/package.json +0 -10
- package/frames/card/ng-atomic-components-frames-card.d.ts +0 -6
- package/frames/card/package.json +0 -10
- package/frames/drawer/ng-atomic-components-frames-drawer.d.ts +0 -6
- package/frames/drawer/package.json +0 -10
- package/frames/line-up/ng-atomic-components-frames-line-up.d.ts +0 -6
- package/frames/line-up/package.json +0 -10
- package/frames/overlay/ng-atomic-components-frames-overlay.d.ts +0 -6
- package/frames/overlay/package.json +0 -10
- package/frames/scroll/ng-atomic-components-frames-scroll.d.ts +0 -6
- package/frames/scroll/package.json +0 -10
- package/frames/smart-menu/ng-atomic-components-frames-smart-menu.d.ts +0 -6
- package/frames/smart-menu/package.json +0 -10
- package/molecules/actions-column/ng-atomic-components-molecules-actions-column.d.ts +0 -6
- package/molecules/actions-column/package.json +0 -10
- package/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.d.ts +0 -6
- package/molecules/checkbox-column/package.json +0 -10
- package/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.d.ts +0 -6
- package/molecules/chips-input-field/package.json +0 -10
- package/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.d.ts +0 -6
- package/molecules/date-input-field/package.json +0 -10
- package/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.d.ts +0 -6
- package/molecules/navigation-list-item/package.json +0 -10
- package/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.d.ts +0 -6
- package/molecules/select-input-field/package.json +0 -10
- package/molecules/smart-column/ng-atomic-components-molecules-smart-column.d.ts +0 -6
- package/molecules/smart-column/package.json +0 -10
- package/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.d.ts +0 -6
- package/molecules/text-input-field/package.json +0 -10
- package/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.d.ts +0 -6
- package/molecules/textarea-field/package.json +0 -10
- package/ng-atomic-components.d.ts +0 -6
- package/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.d.ts +0 -6
- package/organisms/action-buttons-section/package.json +0 -10
- package/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.d.ts +0 -6
- package/organisms/back-navigator/package.json +0 -10
- package/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.d.ts +0 -6
- package/organisms/card-input-section/package.json +0 -10
- package/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.d.ts +0 -6
- package/organisms/cvc-and-exp-input-section/package.json +0 -10
- package/organisms/date-input-section/ng-atomic-components-organisms-date-input-section.d.ts +0 -6
- package/organisms/date-input-section/package.json +0 -10
- package/organisms/heading/ng-atomic-components-organisms-heading.d.ts +0 -6
- package/organisms/heading/package.json +0 -10
- package/organisms/navigation-list/ng-atomic-components-organisms-navigation-list.d.ts +0 -6
- package/organisms/navigation-list/package.json +0 -10
- package/organisms/navigator/ng-atomic-components-organisms-navigator.d.ts +0 -6
- package/organisms/navigator/package.json +0 -10
- package/organisms/paginator/ng-atomic-components-organisms-paginator.d.ts +0 -6
- package/organisms/paginator/package.json +0 -10
- package/organisms/select-input-section/ng-atomic-components-organisms-select-input-section.d.ts +0 -6
- package/organisms/select-input-section/package.json +0 -10
- package/organisms/smart-table/ng-atomic-components-organisms-smart-table.d.ts +0 -6
- package/organisms/smart-table/package.json +0 -10
- package/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.d.ts +0 -6
- package/organisms/social-login-section/package.json +0 -10
- package/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.d.ts +0 -6
- package/organisms/text-input-section/package.json +0 -10
- package/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.d.ts +0 -6
- package/organisms/textarea-section/package.json +0 -10
- package/organisms/top-navigator/ng-atomic-components-organisms-top-navigator.d.ts +0 -6
- package/organisms/top-navigator/package.json +0 -10
- package/pages/_index/ng-atomic-components-pages-_index.d.ts +0 -6
- package/pages/_index/package.json +0 -10
- package/pages/blank/ng-atomic-components-pages-blank.d.ts +0 -6
- package/pages/blank/package.json +0 -10
- package/templates/entrance/ng-atomic-components-templates-entrance.d.ts +0 -6
- package/templates/entrance/package.json +0 -10
- package/templates/loading/ng-atomic-components-templates-loading.d.ts +0 -6
- package/templates/loading/package.json +0 -10
- package/templates/menu/ng-atomic-components-templates-menu.d.ts +0 -6
- package/templates/menu/package.json +0 -10
- package/templates/smart-crud/ng-atomic-components-templates-smart-crud.d.ts +0 -6
- package/templates/smart-crud/package.json +0 -10
- package/templates/smart-index/ng-atomic-components-templates-smart-index.d.ts +0 -6
- package/templates/smart-index/package.json +0 -10
|
@@ -1,75 +1,74 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/
|
|
4
|
-
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
5
|
-
import * as i2 from '@angular/common';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
6
4
|
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as
|
|
5
|
+
import * as i2 from '@angular/material/toolbar';
|
|
6
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
7
|
+
import * as i3 from '@ng-atomic/components/atoms/smart-menu-button';
|
|
8
|
+
import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
|
|
8
9
|
import { MatButtonModule } from '@angular/material/button';
|
|
9
|
-
import * as i4 from '@angular/material/icon';
|
|
10
10
|
import { MatIconModule } from '@angular/material/icon';
|
|
11
|
-
import * as i5 from '@ng-atomic/components/atoms/smart-menu-button';
|
|
12
|
-
import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
|
|
13
11
|
|
|
14
|
-
function
|
|
12
|
+
function NavigatorOrganism_atoms_smart_menu_button_2_Template(rf, ctx) {
|
|
13
|
+
if (rf & 1) {
|
|
14
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
15
|
+
i0.ɵɵelementStart(0, "atoms-smart-menu-button", 2);
|
|
16
|
+
i0.ɵɵlistener("action", function NavigatorOrganism_atoms_smart_menu_button_2_Template_atoms_smart_menu_button_action_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.action.emit($event)); });
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
}
|
|
19
|
+
if (rf & 2) {
|
|
20
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
21
|
+
i0.ɵɵproperty("items", ctx_r0.leftItems);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function NavigatorOrganism_atoms_smart_menu_button_5_Template(rf, ctx) {
|
|
15
25
|
if (rf & 1) {
|
|
16
|
-
const
|
|
17
|
-
i0.ɵɵelementStart(0, "button",
|
|
18
|
-
i0.ɵɵlistener("
|
|
19
|
-
i0.ɵɵ
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
27
|
+
i0.ɵɵelementStart(0, "atoms-smart-menu-button", 2);
|
|
28
|
+
i0.ɵɵlistener("action", function NavigatorOrganism_atoms_smart_menu_button_5_Template_atoms_smart_menu_button_action_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.action.emit($event)); });
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
}
|
|
31
|
+
if (rf & 2) {
|
|
32
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
33
|
+
i0.ɵɵproperty("items", ctx_r1.rightItems);
|
|
22
34
|
}
|
|
23
35
|
}
|
|
36
|
+
const _c0 = ["*"];
|
|
24
37
|
class NavigatorOrganism {
|
|
25
38
|
constructor() {
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.actionItemClick = new EventEmitter();
|
|
39
|
+
this.rightItems = [];
|
|
40
|
+
this.leftItems = [];
|
|
41
|
+
this.action = new EventEmitter();
|
|
30
42
|
}
|
|
31
43
|
}
|
|
32
44
|
NavigatorOrganism.ɵfac = function NavigatorOrganism_Factory(t) { return new (t || NavigatorOrganism)(); };
|
|
33
|
-
NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigatorOrganism, selectors: [["organisms-navigator"]], inputs: {
|
|
45
|
+
NavigatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigatorOrganism, selectors: [["organisms-navigator"]], inputs: { rightItems: "rightItems", leftItems: "leftItems" }, outputs: { action: "action" }, ngContentSelectors: _c0, decls: 6, vars: 2, consts: [["color", "primary"], [3, "items", "action", 4, "ngIf"], [3, "items", "action"]], template: function NavigatorOrganism_Template(rf, ctx) {
|
|
34
46
|
if (rf & 1) {
|
|
47
|
+
i0.ɵɵprojectionDef();
|
|
35
48
|
i0.ɵɵelementStart(0, "mat-toolbar", 0)(1, "div");
|
|
36
|
-
i0.ɵɵtemplate(2,
|
|
37
|
-
i0.ɵɵ
|
|
38
|
-
i0.ɵɵtext(5);
|
|
49
|
+
i0.ɵɵtemplate(2, NavigatorOrganism_atoms_smart_menu_button_2_Template, 1, 1, "atoms-smart-menu-button", 1);
|
|
50
|
+
i0.ɵɵprojection(3);
|
|
39
51
|
i0.ɵɵelementEnd();
|
|
40
|
-
i0.ɵɵelementStart(
|
|
41
|
-
i0.ɵɵ
|
|
42
|
-
i0.ɵɵelementEnd()()
|
|
43
|
-
i0.ɵɵelementStart(8, "div")(9, "atoms-smart-menu-button", 5);
|
|
44
|
-
i0.ɵɵlistener("actionItemClick", function NavigatorOrganism_Template_atoms_smart_menu_button_actionItemClick_9_listener($event) { return ctx.actionItemClick.emit($event); });
|
|
45
|
-
i0.ɵɵelementEnd()()();
|
|
52
|
+
i0.ɵɵelementStart(4, "div");
|
|
53
|
+
i0.ɵɵtemplate(5, NavigatorOrganism_atoms_smart_menu_button_5_Template, 1, 1, "atoms-smart-menu-button", 1);
|
|
54
|
+
i0.ɵɵelementEnd()();
|
|
46
55
|
}
|
|
47
56
|
if (rf & 2) {
|
|
48
57
|
i0.ɵɵadvance(2);
|
|
49
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
58
|
+
i0.ɵɵproperty("ngIf", ctx.leftItems.length);
|
|
50
59
|
i0.ɵɵadvance(3);
|
|
51
|
-
i0.ɵɵ
|
|
52
|
-
i0.ɵɵadvance(2);
|
|
53
|
-
i0.ɵɵtextInterpolate(ctx.description || "");
|
|
54
|
-
i0.ɵɵadvance(2);
|
|
55
|
-
i0.ɵɵproperty("actionItems", ctx.actionItems);
|
|
60
|
+
i0.ɵɵproperty("ngIf", ctx.rightItems.length);
|
|
56
61
|
}
|
|
57
|
-
},
|
|
62
|
+
}, dependencies: [i1.NgIf, i2.MatToolbar, i3.SmartMenuButtonAtom], styles: ["[_nghost-%COMP%]{--height: 64px;--height-SCOPED-IN-navigator-oBu2: var(--height)}[_nghost-%COMP%]{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-oBu2)}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;justify-content:space-between;align-items:center}[_nghost-%COMP%] div[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"], changeDetection: 0 });
|
|
58
63
|
(function () {
|
|
59
64
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigatorOrganism, [{
|
|
60
65
|
type: Component,
|
|
61
|
-
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <
|
|
62
|
-
}], null, {
|
|
63
|
-
type: Input
|
|
64
|
-
}], title: [{
|
|
65
|
-
type: Input
|
|
66
|
-
}], description: [{
|
|
66
|
+
args: [{ selector: 'organisms-navigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"leftItems.length\"\n [items]=\"leftItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"rightItems.length\"\n [items]=\"rightItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height: 64px;--height-SCOPED-IN-navigator-oBu2: var(--height)}:host{display:block;width:100%;height:var(--height-SCOPED-IN-navigator-oBu2)}:host mat-toolbar{display:flex;width:100%;height:100%;justify-content:space-between;align-items:center}:host div{display:flex;justify-content:center;align-items:center}\n"] }]
|
|
67
|
+
}], null, { rightItems: [{
|
|
67
68
|
type: Input
|
|
68
|
-
}],
|
|
69
|
+
}], leftItems: [{
|
|
69
70
|
type: Input
|
|
70
|
-
}],
|
|
71
|
-
type: Output
|
|
72
|
-
}], actionItemClick: [{
|
|
71
|
+
}], action: [{
|
|
73
72
|
type: Output
|
|
74
73
|
}] });
|
|
75
74
|
})();
|
|
@@ -78,15 +77,13 @@ class NavigatorModule {
|
|
|
78
77
|
}
|
|
79
78
|
NavigatorModule.ɵfac = function NavigatorModule_Factory(t) { return new (t || NavigatorModule)(); };
|
|
80
79
|
NavigatorModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NavigatorModule });
|
|
81
|
-
NavigatorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
SmartMenuButtonModule,
|
|
89
|
-
]] });
|
|
80
|
+
NavigatorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
81
|
+
// Material
|
|
82
|
+
MatButtonModule,
|
|
83
|
+
MatIconModule,
|
|
84
|
+
MatToolbarModule,
|
|
85
|
+
// Atoms
|
|
86
|
+
SmartMenuButtonModule] });
|
|
90
87
|
(function () {
|
|
91
88
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigatorModule, [{
|
|
92
89
|
type: NgModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-navigator.mjs","sources":["../../../../libs/components/src/organisms/navigator/navigator.organism.html","../../../../libs/components/src/organisms/navigator/navigator.organism.ts","../../../../libs/components/src/organisms/navigator/navigator.module.ts","../../../../libs/components/src/organisms/navigator/ng-atomic-components-organisms-navigator.ts"],"sourcesContent":["<mat-toolbar color=\"primary\">\n <div>\n <
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-navigator.mjs","sources":["../../../../libs/components/src/organisms/navigator/navigator.organism.html","../../../../libs/components/src/organisms/navigator/navigator.organism.ts","../../../../libs/components/src/organisms/navigator/navigator.module.ts","../../../../libs/components/src/organisms/navigator/ng-atomic-components-organisms-navigator.ts"],"sourcesContent":["<mat-toolbar color=\"primary\">\n <div>\n <atoms-smart-menu-button\n *ngIf=\"leftItems.length\"\n [items]=\"leftItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n <ng-content></ng-content>\n </div>\n <div>\n <atoms-smart-menu-button\n *ngIf=\"rightItems.length\"\n [items]=\"rightItems\"\n (action)=\"action.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-navigator',\n templateUrl: './navigator.organism.html',\n styleUrls: ['./navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavigatorOrganism {\n @Input()\n rightItems: ActionItem[] = [];\n\n @Input()\n leftItems: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\nimport { NavigatorOrganism } from './navigator.organism';\n\n\n\n@NgModule({\n declarations: [NavigatorOrganism],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatToolbarModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [NavigatorOrganism]\n})\nexport class NavigatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;QAEI,EAIC,CAAA,cAAA,CAAA,CAAA,EAAA,yBAAA,EAAA,CAAA,CAAA,CAAA;QADC,EAAU,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,8FAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAA,MAAmB,CAAA,MAAA,CAAA,IAAA,CAAA,MAAA,CAAA,CAAA,CAAC,EAAA,CAAA,CAAA;QAC/B,EAA0B,CAAA,YAAA,EAAA,CAAA;;;;QAFzB,EAAmB,CAAA,UAAA,CAAA,OAAA,EAAA,MAAA,CAAA,SAAA,CAAA,CAAA;;;;;;QAMrB,EAIC,CAAA,cAAA,CAAA,CAAA,EAAA,yBAAA,EAAA,CAAA,CAAA,CAAA;QADC,EAAU,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,8FAAA,CAAA,MAAA,E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EAAA,CAAA;kBAb3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,eAAe;wBACf,aAAa;wBACb,gBAAgB;;wBAEhB,qBAAqB;AACtB,qBAAA;oBACD,OAAO,EAAE,CAAC,iBAAiB,CAAC;iBAC7B,CAAA;;;;6EACY,eAAe,EAAA,EAAA,YAAA,EAAA,CAZX,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAE9B,YAAY;;YAEZ,eAAe;YACf,aAAa;YACb,gBAAgB;;YAEhB,qBAAqB,aAEb,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACtB7B;;AAEG;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i1 from '@angular/material/paginator';
|
|
5
5
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i2 from '@ng-atomic/components/frames/auto-layout';
|
|
7
7
|
import { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i3 from '@ng-atomic/components/molecules/chips-input-field';
|
|
9
9
|
import { ChipsInputFieldModule } from '@ng-atomic/components/molecules/chips-input-field';
|
|
10
10
|
import { FormControl } from '@ngneat/reactive-forms';
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@ class PaginatorOrganism {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
PaginatorOrganism.ɵfac = function PaginatorOrganism_Factory(t) { return new (t || PaginatorOrganism)(); };
|
|
21
|
-
PaginatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginatorOrganism, selectors: [["organisms-paginator"]], hostAttrs: [1, "organism"], inputs: { control: "control", placeholder: "placeholder", page: "page", pageSizeOptions: "pageSizeOptions" }, outputs: { pageChange: "pageChange" }, decls: 3, vars:
|
|
21
|
+
PaginatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginatorOrganism, selectors: [["organisms-paginator"]], hostAttrs: [1, "organism"], inputs: { control: "control", placeholder: "placeholder", page: "page", pageSizeOptions: "pageSizeOptions" }, outputs: { pageChange: "pageChange" }, decls: 3, vars: 9, consts: [["horizontal", ""], [3, "appearance", "control", "floatLabel", "label", "hint", "placeholder"], ["aria-label", "Select page", 3, "length", "pageSize", "pageSizeOptions", "page"]], template: function PaginatorOrganism_Template(rf, ctx) {
|
|
22
22
|
if (rf & 1) {
|
|
23
23
|
i0.ɵɵelementStart(0, "frames-auto-layout", 0);
|
|
24
24
|
i0.ɵɵelement(1, "molecules-chips-input-field", 1);
|
|
@@ -28,15 +28,15 @@ PaginatorOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Paginator
|
|
|
28
28
|
}
|
|
29
29
|
if (rf & 2) {
|
|
30
30
|
i0.ɵɵadvance(1);
|
|
31
|
-
i0.ɵɵproperty("control", ctx.control)("
|
|
31
|
+
i0.ɵɵproperty("appearance", "legacy")("control", ctx.control)("floatLabel", "always")("label", "")("hint", "")("placeholder", ctx.placeholder);
|
|
32
32
|
i0.ɵɵadvance(1);
|
|
33
33
|
i0.ɵɵproperty("length", ctx.page.length)("pageSize", ctx.page.pageSize)("pageSizeOptions", ctx.pageSizeOptions);
|
|
34
34
|
}
|
|
35
|
-
},
|
|
35
|
+
}, dependencies: [i1.MatPaginator, i2.AutoLayoutFrame, i3.ChipsInputFieldMolecule], styles: ["[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%]{--vertical-padding: 0;justify-content:space-between}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] molecules-chips-input-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] frames-auto-layout[_ngcontent-%COMP%] mat-paginator[_ngcontent-%COMP%]{min-width:440px}"], changeDetection: 0 });
|
|
36
36
|
(function () {
|
|
37
37
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginatorOrganism, [{
|
|
38
38
|
type: Component,
|
|
39
|
-
args: [{ selector: 'organisms-paginator', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [control]=\"control\"\n [
|
|
39
|
+
args: [{ selector: 'organisms-paginator', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [appearance]=\"'legacy'\"\n [control]=\"control\"\n [floatLabel]=\"'always'\"\n [label]=\"''\"\n [hint]=\"''\"\n [placeholder]=\"placeholder\"\n ></molecules-chips-input-field>\n <mat-paginator \n [length]=\"page.length\"\n [pageSize]=\"page.pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"pageChange.emit($event)\"\n aria-label=\"Select page\">\n </mat-paginator>\n</frames-auto-layout>\n", styles: [":host frames-auto-layout{--vertical-padding: 0;justify-content:space-between}:host frames-auto-layout molecules-chips-input-field{width:100%}:host frames-auto-layout mat-paginator{min-width:440px}\n"] }]
|
|
40
40
|
}], null, { control: [{
|
|
41
41
|
type: Input
|
|
42
42
|
}], placeholder: [{
|
|
@@ -54,15 +54,13 @@ class PaginatorModule {
|
|
|
54
54
|
}
|
|
55
55
|
PaginatorModule.ɵfac = function PaginatorModule_Factory(t) { return new (t || PaginatorModule)(); };
|
|
56
56
|
PaginatorModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PaginatorModule });
|
|
57
|
-
PaginatorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
ChipsInputFieldModule,
|
|
65
|
-
]] });
|
|
57
|
+
PaginatorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
58
|
+
// Materials
|
|
59
|
+
MatPaginatorModule,
|
|
60
|
+
// Frames
|
|
61
|
+
AutoLayoutModule,
|
|
62
|
+
// Molecules
|
|
63
|
+
ChipsInputFieldModule] });
|
|
66
64
|
(function () {
|
|
67
65
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginatorModule, [{
|
|
68
66
|
type: NgModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-paginator.mjs","sources":["../../../../libs/components/src/organisms/paginator/paginator.organism.ts","../../../../libs/components/src/organisms/paginator/paginator.organism.html","../../../../libs/components/src/organisms/paginator/paginator.module.ts","../../../../libs/components/src/organisms/paginator/ng-atomic-components-organisms-paginator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-paginator',\n templateUrl: './paginator.organism.html',\n styleUrls: ['./paginator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'},\n})\nexport class PaginatorOrganism {\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n placeholder = '';\n\n @Input()\n page!: PageEvent;\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n}\n","<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [control]=\"control\"\n [
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-paginator.mjs","sources":["../../../../libs/components/src/organisms/paginator/paginator.organism.ts","../../../../libs/components/src/organisms/paginator/paginator.organism.html","../../../../libs/components/src/organisms/paginator/paginator.module.ts","../../../../libs/components/src/organisms/paginator/ng-atomic-components-organisms-paginator.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { PageEvent } from '@angular/material/paginator';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-paginator',\n templateUrl: './paginator.organism.html',\n styleUrls: ['./paginator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'},\n})\nexport class PaginatorOrganism {\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n placeholder = '';\n\n @Input()\n page!: PageEvent;\n\n @Input()\n pageSizeOptions: number[] = [5, 10, 25, 100];\n\n @Output()\n pageChange = new EventEmitter<PageEvent>();\n\n}\n","<frames-auto-layout horizontal>\n <molecules-chips-input-field\n [appearance]=\"'legacy'\"\n [control]=\"control\"\n [floatLabel]=\"'always'\"\n [label]=\"''\"\n [hint]=\"''\"\n [placeholder]=\"placeholder\"\n ></molecules-chips-input-field>\n <mat-paginator \n [length]=\"page.length\"\n [pageSize]=\"page.pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (page)=\"pageChange.emit($event)\"\n aria-label=\"Select page\">\n </mat-paginator>\n</frames-auto-layout>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatPaginatorModule } from '@angular/material/paginator';\nimport { AutoLayoutModule } from '@ng-atomic/components/frames/auto-layout';\nimport { ChipsInputFieldModule } from '@ng-atomic/components/molecules/chips-input-field';\n\nimport { PaginatorOrganism } from './paginator.organism';\n\n@NgModule({\n declarations: [\n PaginatorOrganism\n ],\n imports: [\n CommonModule,\n // Materials\n MatPaginatorModule,\n // Frames\n AutoLayoutModule,\n // Molecules\n ChipsInputFieldModule,\n ],\n exports: [\n PaginatorOrganism\n ]\n})\nexport class PaginatorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAWa,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BAAgB;;QAEhB,qBAAqB,CAAA,EAAA,CAAA,CAAA;;4EAMZ,eAAe,EAAA,CAAA;kBAjB3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,kBAAkB;;wBAElB,gBAAgB;;wBAEhB,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;AAClB,qBAAA;iBACF,CAAA;;;;6EACY,eAAe,EAAA,EAAA,YAAA,EAAA,CAfxB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAGjB,YAAY;;YAEZ,kBAAkB;;YAElB,gBAAgB;;YAEhB,qBAAqB,aAGrB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACtBrB;;AAEG;;;;"}
|
|
@@ -20,11 +20,11 @@ SelectInputSectionOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
20
20
|
if (rf & 2) {
|
|
21
21
|
i0.ɵɵproperty("label", ctx.label)("control", ctx.control)("options", ctx.options);
|
|
22
22
|
}
|
|
23
|
-
},
|
|
23
|
+
}, dependencies: [i1.SelectInputFieldMolecule], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-M1gh: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-M1gh);box-sizing:border-box}[_nghost-%COMP%] .molecule.input-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
24
24
|
(function () {
|
|
25
25
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputSectionOrganism, [{
|
|
26
26
|
type: Component,
|
|
27
|
-
args: [{ selector: 'organisms-select-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-
|
|
27
|
+
args: [{ selector: 'organisms-select-input-section', changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-section-M1gh: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-M1gh);box-sizing:border-box}:host .molecule.input-field{width:100%}\n"] }]
|
|
28
28
|
}], null, { label: [{
|
|
29
29
|
type: Input
|
|
30
30
|
}], control: [{
|
|
@@ -38,11 +38,9 @@ class SelectInputSectionModule {
|
|
|
38
38
|
}
|
|
39
39
|
SelectInputSectionModule.ɵfac = function SelectInputSectionModule_Factory(t) { return new (t || SelectInputSectionModule)(); };
|
|
40
40
|
SelectInputSectionModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SelectInputSectionModule });
|
|
41
|
-
SelectInputSectionModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
SelectInputFieldModule,
|
|
45
|
-
]] });
|
|
41
|
+
SelectInputSectionModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
42
|
+
// Molecules
|
|
43
|
+
SelectInputFieldModule] });
|
|
46
44
|
(function () {
|
|
47
45
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputSectionModule, [{
|
|
48
46
|
type: NgModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-select-input-section.mjs","sources":["../../../../libs/components/src/organisms/select-input-section/select-input-section.organism.ts","../../../../libs/components/src/organisms/select-input-section/select-input-section.organism.html","../../../../libs/components/src/organisms/select-input-section/select-input-section.module.ts","../../../../libs/components/src/organisms/select-input-section/ng-atomic-components-organisms-select-input-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-select-input-section',\n templateUrl: './select-input-section.organism.html',\n styleUrls: ['./select-input-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SelectInputSectionOrganism<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n control = new FormControl<T>();\n\n @Input()\n options: {name: string, value: T}[] = [];\n \n}\n","<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SelectInputFieldModule } from '@ng-atomic/components/molecules/select-input-field';\n\nimport { SelectInputSectionOrganism } from './select-input-section.organism';\n\n\n@NgModule({\n declarations: [\n SelectInputSectionOrganism\n ],\n imports: [\n CommonModule,\n // Molecules\n SelectInputFieldModule,\n ],\n exports: [\n SelectInputSectionOrganism\n ]\n})\nexport class SelectInputSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MASa,0BAA0B,CAAA;AANvC,IAAA,WAAA,GAAA;AASE,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;AAGnB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,EAAK,CAAC;AAG/B,QAAA,IAAO,CAAA,OAAA,GAA+B,EAAE,CAAC;KAE1C;;oGAXY,0BAA0B,GAAA,CAAA,EAAA,CAAA;6EAA1B,0BAA0B,EAAA,SAAA,EAAA,CAAA,CAAA,gCAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,OAAA,EAAA,SAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,CAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,CAAA,CAAA,EAAA,QAAA,EAAA,SAAA,mCAAA,CAAA,EAAA,EAAA,GAAA,EAAA;QAAA,IAAA,EAAA,GAAA,CAAA,EAAA;YCTvC,EAIgC,CAAA,SAAA,CAAA,CAAA,EAAA,8BAAA,EAAA,CAAA,CAAA,CAAA;;;YAH9B,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,GAAA,CAAA,KAAA,CAAe,wBAAA,CAAA,SAAA,EAAA,GAAA,CAAA,OAAA,CAAA,CAAA;;;;4EDQJ,0BAA0B,EAAA,CAAA;kBANtC,SAAS;+BACE,gCAAgC,EAAA,eAAA,EAGzB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,wIAAA,EAAA,MAAA,EAAA,CAAA,6RAAA,CAAA,EAAA,CAAA;oBAK/C,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;;;;MEGK,wBAAwB,CAAA;;gGAAxB,wBAAwB,GAAA,CAAA,EAAA,CAAA;0EAAxB,wBAAwB,EAAA,CAAA,CAAA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-select-input-section.mjs","sources":["../../../../libs/components/src/organisms/select-input-section/select-input-section.organism.ts","../../../../libs/components/src/organisms/select-input-section/select-input-section.organism.html","../../../../libs/components/src/organisms/select-input-section/select-input-section.module.ts","../../../../libs/components/src/organisms/select-input-section/ng-atomic-components-organisms-select-input-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-select-input-section',\n templateUrl: './select-input-section.organism.html',\n styleUrls: ['./select-input-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SelectInputSectionOrganism<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n control = new FormControl<T>();\n\n @Input()\n options: {name: string, value: T}[] = [];\n \n}\n","<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SelectInputFieldModule } from '@ng-atomic/components/molecules/select-input-field';\n\nimport { SelectInputSectionOrganism } from './select-input-section.organism';\n\n\n@NgModule({\n declarations: [\n SelectInputSectionOrganism\n ],\n imports: [\n CommonModule,\n // Molecules\n SelectInputFieldModule,\n ],\n exports: [\n SelectInputSectionOrganism\n ]\n})\nexport class SelectInputSectionModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MASa,0BAA0B,CAAA;AANvC,IAAA,WAAA,GAAA;AASE,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;AAGnB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,EAAK,CAAC;AAG/B,QAAA,IAAO,CAAA,OAAA,GAA+B,EAAE,CAAC;KAE1C;;oGAXY,0BAA0B,GAAA,CAAA,EAAA,CAAA;6EAA1B,0BAA0B,EAAA,SAAA,EAAA,CAAA,CAAA,gCAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,OAAA,EAAA,SAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,CAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,CAAA,CAAA,EAAA,QAAA,EAAA,SAAA,mCAAA,CAAA,EAAA,EAAA,GAAA,EAAA;QAAA,IAAA,EAAA,GAAA,CAAA,EAAA;YCTvC,EAIgC,CAAA,SAAA,CAAA,CAAA,EAAA,8BAAA,EAAA,CAAA,CAAA,CAAA;;;YAH9B,EAAA,CAAA,UAAA,CAAA,OAAA,EAAA,GAAA,CAAA,KAAA,CAAe,wBAAA,CAAA,SAAA,EAAA,GAAA,CAAA,OAAA,CAAA,CAAA;;;;4EDQJ,0BAA0B,EAAA,CAAA;kBANtC,SAAS;+BACE,gCAAgC,EAAA,eAAA,EAGzB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,wIAAA,EAAA,MAAA,EAAA,CAAA,6RAAA,CAAA,EAAA,CAAA;oBAK/C,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;;;;MEGK,wBAAwB,CAAA;;gGAAxB,wBAAwB,GAAA,CAAA,EAAA,CAAA;0EAAxB,wBAAwB,EAAA,CAAA,CAAA;8EARjC,YAAY;;QAEZ,sBAAsB,CAAA,EAAA,CAAA,CAAA;;4EAMb,wBAAwB,EAAA,CAAA;kBAbpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,0BAA0B;AAC3B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,sBAAsB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,0BAA0B;AAC3B,qBAAA;iBACF,CAAA;;;;6EACY,wBAAwB,EAAA,EAAA,YAAA,EAAA,CAXjC,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAG1B,YAAY;;YAEZ,sBAAsB,aAGtB,0BAA0B,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;ACjB9B;;AAEG;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i2 from '@angular/material/table';
|
|
6
6
|
import { MatTableModule } from '@angular/material/table';
|
|
7
7
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
8
8
|
import { MatMenuModule } from '@angular/material/menu';
|
|
@@ -10,9 +10,9 @@ import { MatButtonModule } from '@angular/material/button';
|
|
|
10
10
|
import { MatIconModule } from '@angular/material/icon';
|
|
11
11
|
import * as i6 from '@ng-atomic/common/pipes/domain';
|
|
12
12
|
import { DomainModule } from '@ng-atomic/common/pipes/domain';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i3 from '@ng-atomic/components/molecules/actions-column';
|
|
14
14
|
import { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i4 from '@ng-atomic/components/molecules/checkbox-column';
|
|
16
16
|
import { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';
|
|
17
17
|
import * as i5 from '@ng-atomic/components/molecules/smart-column';
|
|
18
18
|
import { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';
|
|
@@ -21,7 +21,7 @@ function SmartTableOrganism_ng_container_1_molecules_checkbox_column_1_Template(
|
|
|
21
21
|
if (rf & 1) {
|
|
22
22
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
23
23
|
i0.ɵɵelementStart(0, "molecules-checkbox-column", 9);
|
|
24
|
-
i0.ɵɵlistener("checkboxClick", function SmartTableOrganism_ng_container_1_molecules_checkbox_column_1_Template_molecules_checkbox_column_checkboxClick_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.checkboxClick.emit($event); });
|
|
24
|
+
i0.ɵɵlistener("checkboxClick", function SmartTableOrganism_ng_container_1_molecules_checkbox_column_1_Template_molecules_checkbox_column_checkboxClick_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.checkboxClick.emit($event)); });
|
|
25
25
|
i0.ɵɵelementEnd();
|
|
26
26
|
}
|
|
27
27
|
if (rf & 2) {
|
|
@@ -33,19 +33,19 @@ function SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template(r
|
|
|
33
33
|
if (rf & 1) {
|
|
34
34
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
35
35
|
i0.ɵɵelementStart(0, "molecules-actions-column", 10);
|
|
36
|
-
i0.ɵɵlistener("
|
|
36
|
+
i0.ɵɵlistener("action", function SmartTableOrganism_ng_container_1_molecules_actions_column_2_Template_molecules_actions_column_action_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.action.emit($event)); });
|
|
37
37
|
i0.ɵɵelementEnd();
|
|
38
38
|
}
|
|
39
39
|
if (rf & 2) {
|
|
40
40
|
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
41
|
-
i0.ɵɵproperty("
|
|
41
|
+
i0.ɵɵproperty("items", ctx_r6.menuItems);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
function SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template(rf, ctx) {
|
|
45
45
|
if (rf & 1) {
|
|
46
46
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
47
47
|
i0.ɵɵelementStart(0, "molecules-smart-column", 11);
|
|
48
|
-
i0.ɵɵlistener("headerClick", function SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template_molecules_smart_column_headerClick_0_listener() { i0.ɵɵrestoreView(_r14); const name_r4 = i0.ɵɵnextContext().$implicit; const ctx_r12 = i0.ɵɵnextContext(); return ctx_r12.headerClick.emit(name_r4); });
|
|
48
|
+
i0.ɵɵlistener("headerClick", function SmartTableOrganism_ng_container_1_molecules_smart_column_3_Template_molecules_smart_column_headerClick_0_listener() { i0.ɵɵrestoreView(_r14); const name_r4 = i0.ɵɵnextContext().$implicit; const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.headerClick.emit(name_r4)); });
|
|
49
49
|
i0.ɵɵpipe(1, "D");
|
|
50
50
|
i0.ɵɵelementEnd();
|
|
51
51
|
}
|
|
@@ -95,20 +95,21 @@ class SmartTableOrganism {
|
|
|
95
95
|
this.items = [];
|
|
96
96
|
this.patientsSize = 0;
|
|
97
97
|
this.pageSize = 0;
|
|
98
|
-
this.
|
|
98
|
+
this.menuItems = [];
|
|
99
99
|
this.selectedIdSet = new Set();
|
|
100
|
-
this.
|
|
100
|
+
this.action = new EventEmitter();
|
|
101
101
|
this.headerClick = new EventEmitter();
|
|
102
102
|
this.checkboxClick = new EventEmitter();
|
|
103
103
|
this.pageChange = new EventEmitter();
|
|
104
104
|
this.itemCheck = new EventEmitter();
|
|
105
|
+
this.trackByColumnName = (columnName) => columnName;
|
|
105
106
|
}
|
|
106
107
|
get displayedColumns() {
|
|
107
108
|
return [...this.columns];
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
SmartTableOrganism.ɵfac = function SmartTableOrganism_Factory(t) { return new (t || SmartTableOrganism)(); };
|
|
111
|
-
SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTableOrganism, selectors: [["organisms-smart-table"]], hostAttrs: [1, "organism"], inputs: { columns: "columns", items: "items", patientsSize: "patientsSize", pageSize: "pageSize",
|
|
112
|
+
SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTableOrganism, selectors: [["organisms-smart-table"]], hostAttrs: [1, "organism"], inputs: { columns: "columns", items: "items", patientsSize: "patientsSize", pageSize: "pageSize", menuItems: "menuItems", selectedIdSet: "selectedIdSet", sortKey: "sortKey", sortOrder: "sortOrder" }, outputs: { action: "action", headerClick: "headerClick", checkboxClick: "checkboxClick", pageChange: "pageChange", itemCheck: "itemCheck" }, decls: 5, vars: 6, consts: [["mat-table", "", "matSort", "", "matSortDisableClear", "", "matSortDirection", "desc", 3, "dataSource"], [3, "ngSwitch", 4, "ngFor", "ngForOf"], ["mat-header-row", "", 4, "matHeaderRowDef", "matHeaderRowDefSticky"], ["mat-row", "", 4, "matRowDef", "matRowDefColumns"], ["class", "no-data-message", 4, "ngIf"], [3, "ngSwitch"], ["name", "__checkbox", 3, "selectedIdSet", "checkboxClick", 4, "ngSwitchCase"], ["name", "__actions", 3, "items", "action", 4, "ngSwitchCase"], [3, "name", "headerText", "sort", "headerClick", 4, "ngSwitchDefault"], ["name", "__checkbox", 3, "selectedIdSet", "checkboxClick"], ["name", "__actions", 3, "items", "action"], [3, "name", "headerText", "sort", "headerClick"], ["mat-header-row", ""], ["mat-row", ""], [1, "no-data-message"]], template: function SmartTableOrganism_Template(rf, ctx) {
|
|
112
113
|
if (rf & 1) {
|
|
113
114
|
i0.ɵɵelementStart(0, "table", 0);
|
|
114
115
|
i0.ɵɵtemplate(1, SmartTableOrganism_ng_container_1_Template, 4, 3, "ng-container", 1);
|
|
@@ -128,11 +129,11 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
128
129
|
i0.ɵɵadvance(1);
|
|
129
130
|
i0.ɵɵproperty("ngIf", !(ctx.items == null ? null : ctx.items.length));
|
|
130
131
|
}
|
|
131
|
-
},
|
|
132
|
+
}, dependencies: [i1.NgForOf, i1.NgIf, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.MatTable, i2.MatHeaderRowDef, i2.MatRowDef, i2.MatHeaderRow, i2.MatRow, i3.ActionsColumnMolecule, i4.CheckboxColumnMolecule, i5.SmartColumnMolecule, i6.DomainPipe], styles: ["[_nghost-%COMP%]{--width: 100%;--width-SCOPED-IN-smart-table-9sag: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-9sag: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-9sag: var(--column-vertical-padding)}[_nghost-%COMP%]{position:relative;width:100%;height:100%;overflow:scroll}[_nghost-%COMP%]::-webkit-scrollbar{display:none}[_nghost-%COMP%] table[_ngcontent-%COMP%]{width:100%;max-height:100%}[_nghost-%COMP%] table[_ngcontent-%COMP%] .nowrap[_ngcontent-%COMP%]{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[_nghost-%COMP%] table[_ngcontent-%COMP%] th, [_nghost-%COMP%] table[_ngcontent-%COMP%] td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-9sag)}[_nghost-%COMP%] .no-data-message[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-9sag) - var(--cell-SCOPED-IN-smart-table-9sag) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-9sag) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-9sag) * 2)}"], changeDetection: 0 });
|
|
132
133
|
(function () {
|
|
133
134
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartTableOrganism, [{
|
|
134
135
|
type: Component,
|
|
135
|
-
args: [{ selector: 'organisms-smart-table', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [
|
|
136
|
+
args: [{ selector: 'organisms-smart-table', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'organism' }, template: "<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [items]=\"menuItems\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093\u3002</div>", styles: [":host{--width: 100%;--width-SCOPED-IN-smart-table-9sag: var(--width);--cell: 8px;--cell-SCOPED-IN-smart-table-9sag: var(--cell);--column-vertical-padding: 4px;--column-vertical-padding-SCOPED-IN-smart-table-9sag: var(--column-vertical-padding)}:host{position:relative;width:100%;height:100%;overflow:scroll}:host::-webkit-scrollbar{display:none}:host table{width:100%;max-height:100%}:host table .nowrap{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host table ::ng-deep th,:host table ::ng-deep td{padding:0 var(--column-vertical-padding-SCOPED-IN-smart-table-9sag)}:host .no-data-message{display:flex;justify-content:flex-start;align-items:center;width:calc(var(--width-SCOPED-IN-smart-table-9sag) - var(--cell-SCOPED-IN-smart-table-9sag) * 4);height:3em;padding-left:calc(var(--cell-SCOPED-IN-smart-table-9sag) * 2);padding-right:calc(var(--cell-SCOPED-IN-smart-table-9sag) * 2)}\n"] }]
|
|
136
137
|
}], null, { columns: [{
|
|
137
138
|
type: Input
|
|
138
139
|
}], items: [{
|
|
@@ -141,7 +142,7 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
141
142
|
type: Input
|
|
142
143
|
}], pageSize: [{
|
|
143
144
|
type: Input
|
|
144
|
-
}],
|
|
145
|
+
}], menuItems: [{
|
|
145
146
|
type: Input
|
|
146
147
|
}], selectedIdSet: [{
|
|
147
148
|
type: Input
|
|
@@ -149,7 +150,7 @@ SmartTableOrganism.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SmartTab
|
|
|
149
150
|
type: Input
|
|
150
151
|
}], sortOrder: [{
|
|
151
152
|
type: Input
|
|
152
|
-
}],
|
|
153
|
+
}], action: [{
|
|
153
154
|
type: Output
|
|
154
155
|
}], headerClick: [{
|
|
155
156
|
type: Output
|
|
@@ -166,21 +167,19 @@ class SmartTableModule {
|
|
|
166
167
|
}
|
|
167
168
|
SmartTableModule.ɵfac = function SmartTableModule_Factory(t) { return new (t || SmartTableModule)(); };
|
|
168
169
|
SmartTableModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SmartTableModule });
|
|
169
|
-
SmartTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
SmartColumnModule,
|
|
183
|
-
]] });
|
|
170
|
+
SmartTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
171
|
+
// Pipes
|
|
172
|
+
DomainModule,
|
|
173
|
+
// Material
|
|
174
|
+
MatTableModule,
|
|
175
|
+
MatCheckboxModule,
|
|
176
|
+
MatMenuModule,
|
|
177
|
+
MatButtonModule,
|
|
178
|
+
MatIconModule,
|
|
179
|
+
// Molecules
|
|
180
|
+
ActionsColumnModule,
|
|
181
|
+
CheckboxColumnModule,
|
|
182
|
+
SmartColumnModule] });
|
|
184
183
|
(function () {
|
|
185
184
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartTableModule, [{
|
|
186
185
|
type: NgModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../libs/components/src/organisms/smart-table/smart-table.organism.html","../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts","../../../../libs/components/src/organisms/smart-table/smart-table.module.ts","../../../../libs/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">データがありません。</div>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-smart-table',\n templateUrl: './smart-table.organism.html',\n styleUrls: ['./smart-table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'}\n})\nexport class SmartTableOrganism<Item extends object> {\n\n @Input()\n columns: (keyof Item)[] = [];\n\n get displayedColumns(): (keyof Item | string)[] {\n return [...this.columns];\n }\n\n @Input()\n items: Item[] = [];\n\n @Input()\n patientsSize: number = 0;\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: 'asc' | 'desc';\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem, Item]>();\n\n @Output()\n headerClick = new EventEmitter<string>();\n \n @Output()\n checkboxClick = new EventEmitter<[Item, boolean]>();\n\n @Output()\n pageChange = new EventEmitter();\n\n @Output()\n itemCheck = new EventEmitter<[Item, boolean]>();\n \n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainModule } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';\n\nimport { SmartTableOrganism } from './smart-table.organism';\n\n@NgModule({\n declarations: [\n SmartTableOrganism,\n ],\n imports: [\n CommonModule,\n // Pipes\n DomainModule,\n // Material\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Molecules\n ActionsColumnModule,\n CheckboxColumnModule,\n SmartColumnModule,\n ],\n exports: [\n SmartTableOrganism\n ]\n})\nexport class SmartTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;QAEI,EAKC,CAAA,cAAA,CAAA,CAAA,EAAA,2BAAA,EAAA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AA,CAAA;kBAvB5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZ,YAAY;;wBAEZ,cAAc;wBACd,iBAAiB;wBACjB,aAAa;wBACb,eAAe;wBACf,aAAa;;wBAEb,mBAAmB;wBACnB,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;iBACF,CAAA;;;;6EACY,gBAAgB,EAAA,EAAA,YAAA,EAAA,CArBzB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAGlB,YAAY;;YAEZ,YAAY;;YAEZ,cAAc;YACd,iBAAiB;YACjB,aAAa;YACb,eAAe;YACf,aAAa;;YAEb,mBAAmB;YACnB,oBAAoB;YACpB,iBAAiB,aAGjB,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAAA,CAAA,GAAA;;AClCtB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-smart-table.mjs","sources":["../../../../libs/components/src/organisms/smart-table/smart-table.organism.html","../../../../libs/components/src/organisms/smart-table/smart-table.organism.ts","../../../../libs/components/src/organisms/smart-table/smart-table.module.ts","../../../../libs/components/src/organisms/smart-table/ng-atomic-components-organisms-smart-table.ts"],"sourcesContent":["<table mat-table [dataSource]=\"items\" matSort matSortDisableClear matSortDirection=\"desc\">\n <ng-container *ngFor=\"let name of displayedColumns\" [ngSwitch]=\"name\">\n <molecules-checkbox-column\n *ngSwitchCase=\"'__checkbox'\"\n name=\"__checkbox\"\n [selectedIdSet]=\"selectedIdSet\"\n (checkboxClick)=\"checkboxClick.emit($event)\"\n ></molecules-checkbox-column>\n <molecules-actions-column \n *ngSwitchCase=\"'__actions'\" \n name=\"__actions\" \n [items]=\"menuItems\"\n (action)=\"action.emit($event)\"\n ></molecules-actions-column>\n <molecules-smart-column\n *ngSwitchDefault\n [name]=\"name\"\n [headerText]=\"name | D\"\n [sort]=\"sortKey === name ? sortOrder : 'none'\"\n (headerClick)=\"headerClick.emit(name)\"\n ></molecules-smart-column>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let item; columns: displayedColumns;\"></tr>\n</table>\n<div *ngIf=\"!items?.length\" class=\"no-data-message\">データがありません。</div>","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n\n@Component({\n selector: 'organisms-smart-table',\n templateUrl: './smart-table.organism.html',\n styleUrls: ['./smart-table.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism'}\n})\nexport class SmartTableOrganism<Item extends object> {\n\n @Input()\n columns: (keyof Item)[] = [];\n\n get displayedColumns(): (keyof Item | string)[] {\n return [...this.columns];\n }\n\n @Input()\n items: Item[] = [];\n\n @Input()\n patientsSize: number = 0;\n\n @Input()\n pageSize: number = 0;\n\n @Input()\n menuItems: ActionItem[] = [];\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Input()\n sortKey?: string;\n\n @Input()\n sortOrder?: 'asc' | 'desc';\n\n @Output()\n action = new EventEmitter<Action>();\n\n @Output()\n headerClick = new EventEmitter<string>();\n \n @Output()\n checkboxClick = new EventEmitter<[Item, boolean]>();\n\n @Output()\n pageChange = new EventEmitter();\n\n @Output()\n itemCheck = new EventEmitter<[Item, boolean]>();\n \n trackByColumnName = (columnName: string) => columnName;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { DomainModule } from '@ng-atomic/common/pipes/domain';\nimport { ActionsColumnModule } from '@ng-atomic/components/molecules/actions-column';\nimport { CheckboxColumnModule } from '@ng-atomic/components/molecules/checkbox-column';\nimport { SmartColumnModule } from '@ng-atomic/components/molecules/smart-column';\n\nimport { SmartTableOrganism } from './smart-table.organism';\n\n@NgModule({\n declarations: [\n SmartTableOrganism,\n ],\n imports: [\n CommonModule,\n // Pipes\n DomainModule,\n // Material\n MatTableModule,\n MatCheckboxModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Molecules\n ActionsColumnModule,\n CheckboxColumnModule,\n SmartColumnModule,\n ],\n exports: [\n SmartTableOrganism\n ]\n})\nexport class SmartTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;QAEI,EAKC,CAAA,cAAA,CAAA,CAAA,EAAA,2BAAA,EAAA,CAAA,CAAA,CAAA;QADC,EAAiB,CAAA,UAAA,CAAA,eAAA,EAAA,SAAA,yHAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAA,MAA0B,CAAA,aAAA,CAAA,IAAA,CAAA,MAAA,CAAA,CAAA,CAAC,EAAA,CAAA,CAAA;QAC7C,EAA4B,CAAA,YAAA,EAAA,CAAA;;;;QAF3B,EAA+B,CAAA,UAAA,CAAA,eAAA,EAAA,MAAA,CAAA,aAAA,CAAA,CAAA;;;;;;QAGjC,EAKC,CAAA,cAAA,CAAA,CAAA,EAAA,0BAAA,EAAA,EAAA,CAAA,CAAA;QADC,EAAU,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,gHAAA,CAAA,MAAA,EAAA,EAAA,EAAA,CAAA,aAAA,CAAA,IAAA,CAAA,CAAA,CAAA,MAAA,OAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA,CAAA,CA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