@ng-atomic/components 3.6.0 → 4.0.2
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 +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 +4 -4
- 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 +4 -4
- 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 +6 -6
- 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 +2 -4
- 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 +4 -4
- package/esm2020/organisms/back-navigator/back-navigator.module.mjs +8 -10
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +8 -8
- 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 +7 -7
- package/esm2020/organisms/paginator/paginator.module.mjs +8 -10
- package/esm2020/organisms/paginator/paginator.organism.mjs +4 -4
- 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 +10 -10
- 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 +2 -2
- 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 +8 -8
- 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 +17 -19
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +13 -13
- package/esm2020/templates/smart-index/smart-index.module.mjs +11 -13
- package/esm2020/templates/smart-index/smart-index.template.mjs +10 -10
- 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 +8 -10
- 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 +11 -13
- 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 +16 -18
- 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 +1 -3
- package/fesm2015/ng-atomic-components-molecules-header.mjs.map +1 -1
- 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 +6 -8
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +14 -16
- 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 +14 -16
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs +11 -13
- 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 +22 -24
- 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 +8 -10
- 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 +17 -19
- 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 +29 -31
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +19 -21
- 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 +8 -10
- 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 +11 -13
- 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 +16 -18
- 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 +1 -3
- package/fesm2020/ng-atomic-components-molecules-header.mjs.map +1 -1
- 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 +6 -8
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +14 -16
- 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 +14 -16
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs +11 -13
- 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 +22 -24
- 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 +8 -10
- 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 +17 -19
- 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 +29 -31
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +19 -21
- 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 +1 -1
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +1 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +1 -1
- package/molecules/date-input-field/date-input-field.molecule.d.ts +1 -1
- package/molecules/header/header.molecule.d.ts +1 -1
- 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 +1 -1
- package/organisms/back-navigator/back-navigator.organism.d.ts +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 +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 +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 +1 -1
- package/package.json +55 -55
- 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.template.d.ts +1 -1
- package/templates/smart-index/smart-index.template.d.ts +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/header/ng-atomic-components-molecules-header.d.ts +0 -6
- package/molecules/header/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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-frames-smart-menu.mjs","sources":["../../../../libs/components/src/frames/smart-menu/smart-menu.frame.ts","../../../../libs/components/src/frames/smart-menu/smart-menu.frame.html","../../../../libs/components/src/frames/smart-menu/smart-menu.module.ts","../../../../libs/components/src/frames/smart-menu/ng-atomic-components-frames-smart-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'frames-smart-menu',\n templateUrl: './smart-menu.frame.html',\n styleUrls: ['./smart-menu.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartMenuFrame {\n @HostBinding('attr.is-main-hidden')\n isMainHidden = false;\n\n @Input()\n label = 'root';\n\n @Input()\n outlet?: RouterOutlet;\n\n @Input()\n minNextWidth: number = 360;\n\n @ViewChild('next', {static: true})\n next!: ElementRef;\n\n get page(): string {\n const page: string = this.outlet?.activatedRouteData?.['page'];\n return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;\n }\n\n}\n","<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartMenuFrame } from './smart-menu.frame';\n\n\n\n@NgModule({\n declarations: [SmartMenuFrame],\n imports: [\n CommonModule\n ],\n exports: [SmartMenuFrame]\n})\nexport class SmartMenuModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,cAAc,CAAA;AAN3B,IAAA,WAAA,GAAA;QAQE,IAAY,CAAA,YAAA,GAAG,KAAK,CAAC;QAGrB,IAAK,CAAA,KAAA,GAAG,MAAM,CAAC;QAMf,IAAY,CAAA,YAAA,GAAW,GAAG,CAAC;AAU5B,KAAA;AALC,IAAA,IAAI,IAAI,GAAA;QACN,MAAM,IAAI,GAAW,IAAI,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAAC,CAAC;QAC/D,OAAO,IAAI,KAAK,OAAO,GAAG,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,CAAA,gBAAA,CAAkB,CAAC;KACrF;;4EAnBU,cAAc,GAAA,CAAA,EAAA,CAAA;iEAAd,cAAc,EAAA,SAAA,EAAA,CAAA,CAAA,mBAAA,CAAA,CAAA,EAAA,SAAA,EAAA,SAAA,oBAAA,CAAA,EAAA,EAAA,GAAA,EAAA,EAAA,IAAA,EAAA,GAAA,CAAA,EAAA;;;;;;;;;QCT3B,EAAwB,CAAA,cAAA,CAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,CAAA,CAAA;QACtB,EAAyC,CAAA,YAAA,CAAA,CAAA,CAAA,CAAA;QAC3C,EAAM,CAAA,YAAA,EAAA,CAAA;QACN,EAAgC,CAAA,cAAA,CAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,CAAA,CAAA;QAC9B,EAA6C,CAAA,YAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA;QAC/C,EAAM,CAAA,YAAA,EAAA,CAAA;;uFDIO,cAAc,EAAA,CAAA;cAN1B,SAAS;2BACE,mBAAmB,EAAA,eAAA,EAGZ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kLAAA,EAAA,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-smart-menu.mjs","sources":["../../../../libs/components/src/frames/smart-menu/smart-menu.frame.ts","../../../../libs/components/src/frames/smart-menu/smart-menu.frame.html","../../../../libs/components/src/frames/smart-menu/smart-menu.module.ts","../../../../libs/components/src/frames/smart-menu/ng-atomic-components-frames-smart-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'frames-smart-menu',\n templateUrl: './smart-menu.frame.html',\n styleUrls: ['./smart-menu.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SmartMenuFrame {\n @HostBinding('attr.is-main-hidden')\n isMainHidden = false;\n\n @Input()\n label = 'root';\n\n @Input()\n outlet?: RouterOutlet;\n\n @Input()\n minNextWidth: number = 360;\n\n @ViewChild('next', {static: true})\n next!: ElementRef;\n\n get page(): string {\n const page: string = this.outlet?.activatedRouteData?.['page'];\n return page === 'Blank' ? 'Blank' : this.isMainHidden ? `Next` : `NextWithMainPage`;\n }\n\n}\n","<div class=\"menu\" #menu>\n <ng-content select=\"[menu]\"></ng-content>\n</div>\n<div class=\"contents\" #contents>\n <ng-content select=\"[contents]\"></ng-content>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartMenuFrame } from './smart-menu.frame';\n\n\n\n@NgModule({\n declarations: [SmartMenuFrame],\n imports: [\n CommonModule\n ],\n exports: [SmartMenuFrame]\n})\nexport class SmartMenuModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,cAAc,CAAA;AAN3B,IAAA,WAAA,GAAA;QAQE,IAAY,CAAA,YAAA,GAAG,KAAK,CAAC;QAGrB,IAAK,CAAA,KAAA,GAAG,MAAM,CAAC;QAMf,IAAY,CAAA,YAAA,GAAW,GAAG,CAAC;AAU5B,KAAA;AALC,IAAA,IAAI,IAAI,GAAA;QACN,MAAM,IAAI,GAAW,IAAI,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAAC,CAAC;QAC/D,OAAO,IAAI,KAAK,OAAO,GAAG,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,CAAA,gBAAA,CAAkB,CAAC;KACrF;;4EAnBU,cAAc,GAAA,CAAA,EAAA,CAAA;iEAAd,cAAc,EAAA,SAAA,EAAA,CAAA,CAAA,mBAAA,CAAA,CAAA,EAAA,SAAA,EAAA,SAAA,oBAAA,CAAA,EAAA,EAAA,GAAA,EAAA,EAAA,IAAA,EAAA,GAAA,CAAA,EAAA;;;;;;;;;QCT3B,EAAwB,CAAA,cAAA,CAAA,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,YAAA,EAAA,CAAA,cAAc,CAE3B,EAAA,OAAA,EAAA,CAAA,YAAY,aAEJ,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACX1B;;AAEG;;;;"}
|
|
@@ -19,7 +19,7 @@ function ActionsColumnMolecule_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
19
19
|
function ActionsColumnMolecule_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
20
20
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
21
21
|
i0.ɵɵelementStart(0, "td", 4)(1, "atoms-smart-menu-button", 5);
|
|
22
|
-
i0.ɵɵlistener("action", function ActionsColumnMolecule_td_2_Template_atoms_smart_menu_button_action_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r4); const item_r2 = restoredCtx.$implicit; const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.action.emit({ id: $event.id, payload: item_r2 }); });
|
|
22
|
+
i0.ɵɵlistener("action", function ActionsColumnMolecule_td_2_Template_atoms_smart_menu_button_action_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r4); const item_r2 = restoredCtx.$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.action.emit({ id: $event.id, payload: item_r2 })); });
|
|
23
23
|
i0.ɵɵelementEnd()();
|
|
24
24
|
} if (rf & 2) {
|
|
25
25
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -75,10 +75,10 @@ ActionsColumnMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Actio
|
|
|
75
75
|
i0.ɵɵtemplate(1, ActionsColumnMolecule_th_1_Template, 2, 0, "th", 1);
|
|
76
76
|
i0.ɵɵtemplate(2, ActionsColumnMolecule_td_2_Template, 2, 1, "td", 2);
|
|
77
77
|
i0.ɵɵelementContainerEnd();
|
|
78
|
-
} },
|
|
78
|
+
} }, dependencies: [i2.MatHeaderCellDef, i2.MatColumnDef, i2.MatCellDef, i2.MatHeaderCell, i2.MatCell, i3.SmartMenuButtonAtom], encapsulation: 2 });
|
|
79
79
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsColumnMolecule, [{
|
|
80
80
|
type: Component,
|
|
81
|
-
args: [{ selector: 'molecules-actions-column', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>\u64CD\u4F5C</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit({id: $event.id, payload: item})\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n"
|
|
81
|
+
args: [{ selector: 'molecules-actions-column', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>\u64CD\u4F5C</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit({id: $event.id, payload: item})\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n" }]
|
|
82
82
|
}], function () { return [{ type: i1.CdkTable, decorators: [{
|
|
83
83
|
type: Optional
|
|
84
84
|
}] }, { type: undefined, decorators: [{
|
|
@@ -107,16 +107,14 @@ class ActionsColumnModule {
|
|
|
107
107
|
}
|
|
108
108
|
ActionsColumnModule.ɵfac = function ActionsColumnModule_Factory(t) { return new (t || ActionsColumnModule)(); };
|
|
109
109
|
ActionsColumnModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ActionsColumnModule, bootstrap: [ActionsColumnMolecule] });
|
|
110
|
-
ActionsColumnModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
SmartMenuButtonModule,
|
|
119
|
-
]] });
|
|
110
|
+
ActionsColumnModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
111
|
+
// Materials
|
|
112
|
+
MatTableModule,
|
|
113
|
+
MatMenuModule,
|
|
114
|
+
MatButtonModule,
|
|
115
|
+
MatIconModule,
|
|
116
|
+
// Atoms
|
|
117
|
+
SmartMenuButtonModule] });
|
|
120
118
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsColumnModule, [{
|
|
121
119
|
type: NgModule,
|
|
122
120
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-actions-column.mjs","sources":["../../../../libs/components/src/molecules/actions-column/actions-column.molecule.html","../../../../libs/components/src/molecules/actions-column/actions-column.molecule.ts","../../../../libs/components/src/molecules/actions-column/actions-column.module.ts","../../../../libs/components/src/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>操作</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit({id: $event.id, payload: item})\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n","import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable, TextColumnOptions, TEXT_COLUMN_OPTIONS } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-actions-column',\n templateUrl: './actions-column.molecule.html',\n styleUrls: ['./actions-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class ActionsColumnMolecule<T> {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n items: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n \n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(\n @Optional() private _table: CdkTable<T>,\n @Optional() @Inject(TEXT_COLUMN_OPTIONS) private _options: TextColumnOptions<T>,\n ) {\n this._options ??= {};\n }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\nimport { ActionsColumnMolecule } from './actions-column.molecule';\n\n@NgModule({\n declarations: [\n ActionsColumnMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatTableModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [ActionsColumnMolecule],\n bootstrap: [ActionsColumnMolecule],\n})\nexport class ActionsColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;IACE,EAAsC,CAAA,cAAA,CAAA,CAAA,EAAA,IAAA,EAAA,CAAA,CAAA,CAAA;IAAA,EAAE,CAAA,MAAA,CAAA,CAAA,EAAA,cAAA,CAAA,CAAA;IAAA,EAAK,CAAA,YAAA,EAAA,CAAA;;;;AAC7C,IAAA,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,IAAA,EAAA,CAAA,CAAoC,CAAA,CAAA,EAAA,yBAAA,EAAA,CAAA,CAAA,CAAA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-actions-column.mjs","sources":["../../../../libs/components/src/molecules/actions-column/actions-column.molecule.html","../../../../libs/components/src/molecules/actions-column/actions-column.molecule.ts","../../../../libs/components/src/molecules/actions-column/actions-column.module.ts","../../../../libs/components/src/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>操作</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [items]=\"items\"\n (action)=\"action.emit({id: $event.id, payload: item})\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n","import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable, TextColumnOptions, TEXT_COLUMN_OPTIONS } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { Action, ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-actions-column',\n templateUrl: './actions-column.molecule.html',\n styleUrls: ['./actions-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class ActionsColumnMolecule<T> {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n items: ActionItem[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n \n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(\n @Optional() private _table: CdkTable<T>,\n @Optional() @Inject(TEXT_COLUMN_OPTIONS) private _options: TextColumnOptions<T>,\n ) {\n this._options ??= {};\n }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\nimport { ActionsColumnMolecule } from './actions-column.molecule';\n\n@NgModule({\n declarations: [\n ActionsColumnMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatTableModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [ActionsColumnMolecule],\n bootstrap: [ActionsColumnMolecule],\n})\nexport class ActionsColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;IACE,EAAsC,CAAA,cAAA,CAAA,CAAA,EAAA,IAAA,EAAA,CAAA,CAAA,CAAA;IAAA,EAAE,CAAA,MAAA,CAAA,CAAA,EAAA,cAAA,CAAA,CAAA;IAAA,EAAK,CAAA,YAAA,EAAA,CAAA;;;;AAC7C,IAAA,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,IAAA,EAAA,CAAA,CAAoC,CAAA,CAAA,EAAA,yBAAA,EAAA,CAAA,CAAA,CAAA;IAGhC,EAAU,CAAA,UAAA,CAAA,QAAA,EAAA,SAAA,6EAAA,CAAA,MAAA,EAAA,EAAA,MAAA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OAAO,EAAE,CAAC,qBAAqB,CAAC;gBAChC,SAAS,EAAE,CAAC,qBAAqB,CAAC;AACnC,aAAA,CAAA;;wFACY,mBAAmB,EAAA,EAAA,YAAA,EAAA,CAf5B,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAGrB,YAAY;;QAEZ,cAAc;QACd,aAAa;QACb,eAAe;QACf,aAAa;;AAEb,QAAA,qBAAqB,aAEb,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACxBjC;;AAEG;;;;"}
|
|
@@ -14,7 +14,7 @@ function CheckboxColumnMolecule_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
14
14
|
function CheckboxColumnMolecule_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
15
15
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
16
16
|
i0.ɵɵelementStart(0, "td", 4)(1, "mat-checkbox", 5);
|
|
17
|
-
i0.ɵɵlistener("click", function CheckboxColumnMolecule_td_2_Template_mat_checkbox_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const item_r2 = restoredCtx.$implicit; const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.checkboxClick.emit(item_r2); });
|
|
17
|
+
i0.ɵɵlistener("click", function CheckboxColumnMolecule_td_2_Template_mat_checkbox_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const item_r2 = restoredCtx.$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.checkboxClick.emit(item_r2)); });
|
|
18
18
|
i0.ɵɵelementEnd()();
|
|
19
19
|
} if (rf & 2) {
|
|
20
20
|
const item_r2 = ctx.$implicit;
|
|
@@ -69,10 +69,10 @@ CheckboxColumnMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Chec
|
|
|
69
69
|
i0.ɵɵtemplate(1, CheckboxColumnMolecule_th_1_Template, 1, 0, "th", 1);
|
|
70
70
|
i0.ɵɵtemplate(2, CheckboxColumnMolecule_td_2_Template, 2, 1, "td", 2);
|
|
71
71
|
i0.ɵɵelementContainerEnd();
|
|
72
|
-
} },
|
|
72
|
+
} }, dependencies: [i2.MatHeaderCellDef, i2.MatColumnDef, i2.MatCellDef, i2.MatHeaderCell, i2.MatCell, i3.MatCheckbox], encapsulation: 2, changeDetection: 0 });
|
|
73
73
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxColumnMolecule, [{
|
|
74
74
|
type: Component,
|
|
75
|
-
args: [{ selector: 'molecules-checkbox-column', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef></th>\n <td mat-cell *matCellDef=\"let item\">\n <mat-checkbox\n (click)=\"checkboxClick.emit(item)\"\n [checked]=\"selectedIdSet.has(item.id)\"\n ></mat-checkbox>\n </td>\n</ng-container>\n"
|
|
75
|
+
args: [{ selector: 'molecules-checkbox-column', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef></th>\n <td mat-cell *matCellDef=\"let item\">\n <mat-checkbox\n (click)=\"checkboxClick.emit(item)\"\n [checked]=\"selectedIdSet.has(item.id)\"\n ></mat-checkbox>\n </td>\n</ng-container>\n" }]
|
|
76
76
|
}], function () { return [{ type: i1.CdkTable, decorators: [{
|
|
77
77
|
type: Optional
|
|
78
78
|
}] }]; }, { name: [{
|
|
@@ -98,12 +98,10 @@ CheckboxColumnModule.ɵfac = function CheckboxColumnModule_Factory(t) { return n
|
|
|
98
98
|
CheckboxColumnModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CheckboxColumnModule, bootstrap: [CheckboxColumnMolecule] });
|
|
99
99
|
CheckboxColumnModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
100
100
|
{ provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } }
|
|
101
|
-
], imports: [
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
MatCheckboxModule,
|
|
106
|
-
]] });
|
|
101
|
+
], imports: [CommonModule,
|
|
102
|
+
// Materials
|
|
103
|
+
MatTableModule,
|
|
104
|
+
MatCheckboxModule] });
|
|
107
105
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxColumnModule, [{
|
|
108
106
|
type: NgModule,
|
|
109
107
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-checkbox-column.mjs","sources":["../../../../libs/components/src/molecules/checkbox-column/checkbox-column.molecule.html","../../../../libs/components/src/molecules/checkbox-column/checkbox-column.molecule.ts","../../../../libs/components/src/molecules/checkbox-column/checkbox-column.module.ts","../../../../libs/components/src/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.ts"],"sourcesContent":["<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef></th>\n <td mat-cell *matCellDef=\"let item\">\n <mat-checkbox\n (click)=\"checkboxClick.emit(item)\"\n [checked]=\"selectedIdSet.has(item.id)\"\n ></mat-checkbox>\n </td>\n</ng-container>\n","import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'molecules-checkbox-column',\n templateUrl: './checkbox-column.molecule.html',\n styleUrls: ['./checkbox-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CheckboxColumnMolecule<T> implements OnInit {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n\n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(@Optional() private _table: CdkTable<T>) { }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule, MAT_CHECKBOX_DEFAULT_OPTIONS, MatCheckboxDefaultOptions } from '@angular/material/checkbox';\n\nimport { CheckboxColumnMolecule } from './checkbox-column.molecule';\n\n\n\n@NgModule({\n declarations: [\n CheckboxColumnMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatTableModule,\n MatCheckboxModule,\n ],\n exports: [CheckboxColumnMolecule],\n providers: [\n {provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } as MatCheckboxDefaultOptions}\n ],\n bootstrap: [CheckboxColumnMolecule],\n})\nexport class CheckboxColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;IACE,EAA2C,CAAA,SAAA,CAAA,CAAA,EAAA,IAAA,EAAA,CAAA,CAAA,CAAA;;;;AAC3C,IAAA,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,IAAA,EAAA,CAAA,CAAoC,CAAA,CAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-checkbox-column.mjs","sources":["../../../../libs/components/src/molecules/checkbox-column/checkbox-column.molecule.html","../../../../libs/components/src/molecules/checkbox-column/checkbox-column.molecule.ts","../../../../libs/components/src/molecules/checkbox-column/checkbox-column.module.ts","../../../../libs/components/src/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.ts"],"sourcesContent":["<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef></th>\n <td mat-cell *matCellDef=\"let item\">\n <mat-checkbox\n (click)=\"checkboxClick.emit(item)\"\n [checked]=\"selectedIdSet.has(item.id)\"\n ></mat-checkbox>\n </td>\n</ng-container>\n","import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'molecules-checkbox-column',\n templateUrl: './checkbox-column.molecule.html',\n styleUrls: ['./checkbox-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CheckboxColumnMolecule<T> implements OnInit {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n\n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(@Optional() private _table: CdkTable<T>) { }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatCheckboxModule, MAT_CHECKBOX_DEFAULT_OPTIONS, MatCheckboxDefaultOptions } from '@angular/material/checkbox';\n\nimport { CheckboxColumnMolecule } from './checkbox-column.molecule';\n\n\n\n@NgModule({\n declarations: [\n CheckboxColumnMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatTableModule,\n MatCheckboxModule,\n ],\n exports: [CheckboxColumnMolecule],\n providers: [\n {provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } as MatCheckboxDefaultOptions}\n ],\n bootstrap: [CheckboxColumnMolecule],\n})\nexport class CheckboxColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;IACE,EAA2C,CAAA,SAAA,CAAA,CAAA,EAAA,IAAA,EAAA,CAAA,CAAA,CAAA;;;;AAC3C,IAAA,EAAA,CAAA,cAAA,CAAA,CAAA,EAAA,IAAA,EAAA,CAAA,CAAoC,CAAA,CAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA;IAEhC,EAAS,CAAA,UAAA,CAAA,OAAA,EAAA,SAAA,kEAAA,GAAA,EAAA,MAAA,WAAA,GAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,OAAA,GAAA,WAAA,CAAA,SAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAA,MAAwB,CAAA,aAAA,CAAA,IAAA,CAAA,OAAA,CAAA,CAAA,CAAC,EAAA,CAAA,CAAA;AAEnC,IAAA,EAAA,CAAA,YAAA,EAAe,EAAA,CAAA;;;;IADd,EAAsC,CAAA,SAAA,CAAA,CAAA,CAAA,CAAA;IAAtC,EAAsC,CAAA,UAAA,CAAA,S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3
|
-
import * as
|
|
3
|
+
import * as i2 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import { ChipsInputModule } from '@ng-atomic/components/atoms/chips-input';
|
|
6
6
|
import { ENTER, COMMA, SPACE } from '@angular/cdk/keycodes';
|
|
@@ -8,12 +8,12 @@ import { FormControl } from '@ngneat/reactive-forms';
|
|
|
8
8
|
import { ReplaySubject, takeUntil } from 'rxjs';
|
|
9
9
|
import * as i1 from '@ng-atomic/common/services/chips-manager';
|
|
10
10
|
import { ChipsManager } from '@ng-atomic/common/services/chips-manager';
|
|
11
|
-
import * as i2 from '@angular/material/form-field';
|
|
12
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
13
11
|
import * as i3 from '@angular/material/chips';
|
|
14
12
|
import { MatChipsModule } from '@angular/material/chips';
|
|
15
|
-
import * as
|
|
13
|
+
import * as i4 from '@angular/material/icon';
|
|
16
14
|
import { MatIconModule } from '@angular/material/icon';
|
|
15
|
+
import * as i5 from '@angular/material/form-field';
|
|
16
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
17
17
|
import * as i6 from '@angular/material/input';
|
|
18
18
|
import { MatInputModule } from '@angular/material/input';
|
|
19
19
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
@@ -21,7 +21,7 @@ import { ReactiveFormsModule } from '@angular/forms';
|
|
|
21
21
|
function ChipsInputFieldMolecule_mat_chip_5_Template(rf, ctx) { if (rf & 1) {
|
|
22
22
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
23
23
|
i0.ɵɵelementStart(0, "mat-chip", 5);
|
|
24
|
-
i0.ɵɵlistener("removed", function ChipsInputFieldMolecule_mat_chip_5_Template_mat_chip_removed_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r5); const chip_r3 = restoredCtx.$implicit; const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.remove(chip_r3); });
|
|
24
|
+
i0.ɵɵlistener("removed", function ChipsInputFieldMolecule_mat_chip_5_Template_mat_chip_removed_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r5); const chip_r3 = restoredCtx.$implicit; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.remove(chip_r3)); });
|
|
25
25
|
i0.ɵɵtext(1);
|
|
26
26
|
i0.ɵɵelementStart(2, "mat-icon", 6);
|
|
27
27
|
i0.ɵɵtext(3, "cancel");
|
|
@@ -96,7 +96,7 @@ ChipsInputFieldMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Chi
|
|
|
96
96
|
i0.ɵɵproperty("placeholder", ctx.placeholder)("matChipInputFor", _r0)("matChipInputSeparatorKeyCodes", ctx.separators)("matChipInputAddOnBlur", true);
|
|
97
97
|
i0.ɵɵadvance(1);
|
|
98
98
|
i0.ɵɵproperty("ngIf", ctx.hint);
|
|
99
|
-
} },
|
|
99
|
+
} }, dependencies: [i2.NgForOf, i2.NgIf, i3.MatChipList, i3.MatChip, i3.MatChipInput, i3.MatChipRemove, i4.MatIcon, i5.MatFormField, i5.MatHint, i5.MatLabel, i6.MatInput], styles: ["[_nghost-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%;height:100%}"] });
|
|
100
100
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChipsInputFieldMolecule, [{
|
|
101
101
|
type: Component,
|
|
102
102
|
args: [{ selector: 'molecules-chips-input-field', providers: [ChipsManager], template: "<mat-form-field [appearance]=\"appearance\" [floatLabel]=\"floatLabel\">\n <mat-label>{{ label }}</mat-label>\n <mat-chip-list #chipList>\n <mat-chip *ngFor=\"let chip of chipsManager.chips\" (removed)=\"remove(chip)\">\n {{chip}} <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n <input\n matInput\n [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separators\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n</mat-chip-list>\n\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host mat-form-field{width:100%;height:100%}\n"] }]
|
|
@@ -120,18 +120,16 @@ class ChipsInputFieldModule {
|
|
|
120
120
|
}
|
|
121
121
|
ChipsInputFieldModule.ɵfac = function ChipsInputFieldModule_Factory(t) { return new (t || ChipsInputFieldModule)(); };
|
|
122
122
|
ChipsInputFieldModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ChipsInputFieldModule, bootstrap: [ChipsInputFieldMolecule] });
|
|
123
|
-
ChipsInputFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
ChipsInputModule,
|
|
134
|
-
]] });
|
|
123
|
+
ChipsInputFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
124
|
+
ReactiveFormsModule,
|
|
125
|
+
// Materials
|
|
126
|
+
MatChipsModule,
|
|
127
|
+
MatIconModule,
|
|
128
|
+
MatInputModule,
|
|
129
|
+
MatFormFieldModule,
|
|
130
|
+
MatInputModule,
|
|
131
|
+
// Atoms
|
|
132
|
+
ChipsInputModule] });
|
|
135
133
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChipsInputFieldModule, [{
|
|
136
134
|
type: NgModule,
|
|
137
135
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-chips-input-field.mjs","sources":["../../../../libs/components/src/molecules/chips-input-field/chips-input-field.molecule.html","../../../../libs/components/src/molecules/chips-input-field/chips-input-field.molecule.ts","../../../../libs/components/src/molecules/chips-input-field/chips-input-field.module.ts","../../../../libs/components/src/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.ts"],"sourcesContent":["<mat-form-field [appearance]=\"appearance\" [floatLabel]=\"floatLabel\">\n <mat-label>{{ label }}</mat-label>\n <mat-chip-list #chipList>\n <mat-chip *ngFor=\"let chip of chipsManager.chips\" (removed)=\"remove(chip)\">\n {{chip}} <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n <input\n matInput\n [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separators\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n</mat-chip-list>\n\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { COMMA, ENTER, SPACE } from '@angular/cdk/keycodes';\nimport { ChangeDetectorRef, Component, Input } from '@angular/core';\nimport { MatChipInputEvent } from '@angular/material/chips';\nimport { MatFormFieldAppearance } from '@angular/material/form-field';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport { ReplaySubject, takeUntil } from 'rxjs';\nimport { ChipsManager } from '@ng-atomic/common/services/chips-manager';\n\n\n@Component({\n selector: 'molecules-chips-input-field',\n templateUrl: './chips-input-field.molecule.html',\n styleUrls: ['./chips-input-field.molecule.scss'],\n // changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ChipsManager],\n})\nexport class ChipsInputFieldMolecule {\n\n @Input()\n appearance: MatFormFieldAppearance = 'outline';\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n floatLabel = 'auto';\n\n @Input()\n label = 'label';\n\n @Input()\n hint = 'hint';\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n separators = [ENTER, COMMA, SPACE] as const;\n\n private readonly destroy$ = new ReplaySubject<void>(1);\n\n constructor(\n private cd: ChangeDetectorRef,\n public chipsManager: ChipsManager,\n ) { }\n\n ngOnInit(): void {\n this.chipsManager.setValue(this.control.value);\n this.control.valueChanges.pipe(takeUntil(this.destroy$)).subscribe((value) => {\n this.chipsManager.setValue(value);\n this.cd.markForCheck();\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n }\n\n onChiInputTokenEnd(event: MatChipInputEvent): void {\n this.chipsManager.add(event.value);\n this.control.setValue(this.chipsManager.getValue());\n event.input.value = '';\n }\n\n remove(value: string): void {\n this.chipsManager.remove(value);\n this.control.setValue(this.chipsManager.getValue());\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ChipsInputModule } from '@ng-atomic/components/atoms/chips-input';\n\nimport { ChipsInputFieldMolecule } from './chips-input-field.molecule';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatChipsModule } from '@angular/material/chips';\nimport { MatIconModule } from '@angular/material/icon';\n\n@NgModule({\n declarations: [\n ChipsInputFieldMolecule\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatChipsModule,\n MatIconModule,\n MatInputModule,\n MatFormFieldModule,\n MatInputModule,\n // Atoms\n ChipsInputModule,\n ],\n exports: [ChipsInputFieldMolecule],\n bootstrap: [ChipsInputFieldMolecule],\n})\nexport class ChipsInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;IAGI,EAA2E,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,EAAA,CAAA,CAAA,CAAA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-chips-input-field.mjs","sources":["../../../../libs/components/src/molecules/chips-input-field/chips-input-field.molecule.html","../../../../libs/components/src/molecules/chips-input-field/chips-input-field.molecule.ts","../../../../libs/components/src/molecules/chips-input-field/chips-input-field.module.ts","../../../../libs/components/src/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.ts"],"sourcesContent":["<mat-form-field [appearance]=\"appearance\" [floatLabel]=\"floatLabel\">\n <mat-label>{{ label }}</mat-label>\n <mat-chip-list #chipList>\n <mat-chip *ngFor=\"let chip of chipsManager.chips\" (removed)=\"remove(chip)\">\n {{chip}} <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n <input\n matInput\n [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separators\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n</mat-chip-list>\n\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { COMMA, ENTER, SPACE } from '@angular/cdk/keycodes';\nimport { ChangeDetectorRef, Component, Input } from '@angular/core';\nimport { MatChipInputEvent } from '@angular/material/chips';\nimport { MatFormFieldAppearance } from '@angular/material/form-field';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport { ReplaySubject, takeUntil } from 'rxjs';\nimport { ChipsManager } from '@ng-atomic/common/services/chips-manager';\n\n\n@Component({\n selector: 'molecules-chips-input-field',\n templateUrl: './chips-input-field.molecule.html',\n styleUrls: ['./chips-input-field.molecule.scss'],\n // changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ChipsManager],\n})\nexport class ChipsInputFieldMolecule {\n\n @Input()\n appearance: MatFormFieldAppearance = 'outline';\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n floatLabel = 'auto';\n\n @Input()\n label = 'label';\n\n @Input()\n hint = 'hint';\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n separators = [ENTER, COMMA, SPACE] as const;\n\n private readonly destroy$ = new ReplaySubject<void>(1);\n\n constructor(\n private cd: ChangeDetectorRef,\n public chipsManager: ChipsManager,\n ) { }\n\n ngOnInit(): void {\n this.chipsManager.setValue(this.control.value);\n this.control.valueChanges.pipe(takeUntil(this.destroy$)).subscribe((value) => {\n this.chipsManager.setValue(value);\n this.cd.markForCheck();\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n }\n\n onChiInputTokenEnd(event: MatChipInputEvent): void {\n this.chipsManager.add(event.value);\n this.control.setValue(this.chipsManager.getValue());\n event.input.value = '';\n }\n\n remove(value: string): void {\n this.chipsManager.remove(value);\n this.control.setValue(this.chipsManager.getValue());\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ChipsInputModule } from '@ng-atomic/components/atoms/chips-input';\n\nimport { ChipsInputFieldMolecule } from './chips-input-field.molecule';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatChipsModule } from '@angular/material/chips';\nimport { MatIconModule } from '@angular/material/icon';\n\n@NgModule({\n declarations: [\n ChipsInputFieldMolecule\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatChipsModule,\n MatIconModule,\n MatInputModule,\n MatFormFieldModule,\n MatInputModule,\n // Atoms\n ChipsInputModule,\n ],\n exports: [ChipsInputFieldMolecule],\n bootstrap: [ChipsInputFieldMolecule],\n})\nexport class ChipsInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;IAGI,EAA2E,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,EAAA,CAAA,CAAA,CAAA;IAAzB,EAAW,CAAA,UAAA,CAAA,SAAA,EAAA,SAAA,uEAAA,GAAA,EAAA,MAAA,WAAA,GAAA,EAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,CAAA,MAAA,OAAA,GAAA,WAAA,CAAA,SAAA,CAAA,CAAA,MAAA,MAAA,GAAA,EAAA,CAAA,aAAA,EAAA,CAAA,CAAA,OAAA,EAAA,CAAA,WAAA,CAAA,MAAY,CAAA,MAAA,CAAA,OAAA,CAAA,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eDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
3
|
import { FormControl } from '@ngneat/reactive-forms';
|
|
4
4
|
import { filter } from 'rxjs/operators';
|
|
5
|
-
import * as i1 from '@angular/
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import * as i3 from '@angular/forms';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import * as i2 from '@angular/forms';
|
|
9
8
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
10
|
-
import * as
|
|
9
|
+
import * as i3 from '@angular/material/form-field';
|
|
10
|
+
import * as i4 from '@angular/material/input';
|
|
11
|
+
import { MatInputModule } from '@angular/material/input';
|
|
12
|
+
import * as i5 from '@angular/material/datepicker';
|
|
11
13
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
12
|
-
import * as i5 from '@angular/common';
|
|
13
|
-
import { CommonModule } from '@angular/common';
|
|
14
14
|
import { MatDayjsDateModule } from '@ng-atomic/common/utils';
|
|
15
15
|
|
|
16
16
|
function DateInputFieldMolecule_mat_hint_7_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -53,10 +53,10 @@ DateInputFieldMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Date
|
|
|
53
53
|
i0.ɵɵproperty("for", _r0);
|
|
54
54
|
i0.ɵɵadvance(3);
|
|
55
55
|
i0.ɵɵproperty("ngIf", ctx.hint);
|
|
56
|
-
} },
|
|
56
|
+
} }, dependencies: [i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i3.MatFormField, i3.MatHint, i3.MatLabel, i3.MatSuffix, i4.MatInput, i5.MatDatepicker, i5.MatDatepickerInput, i5.MatDatepickerToggle], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-IA6V: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
57
57
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputFieldMolecule, [{
|
|
58
58
|
type: Component,
|
|
59
|
-
args: [{ selector: 'molecules-date-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-
|
|
59
|
+
args: [{ selector: 'molecules-date-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-IA6V: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
60
60
|
}], null, { _control: [{
|
|
61
61
|
type: Input,
|
|
62
62
|
args: ['control']
|
|
@@ -72,13 +72,11 @@ class DateInputFieldModule {
|
|
|
72
72
|
}
|
|
73
73
|
DateInputFieldModule.ɵfac = function DateInputFieldModule_Factory(t) { return new (t || DateInputFieldModule)(); };
|
|
74
74
|
DateInputFieldModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DateInputFieldModule, bootstrap: [DateInputFieldMolecule] });
|
|
75
|
-
DateInputFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
MatDayjsDateModule,
|
|
81
|
-
]] });
|
|
75
|
+
DateInputFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
76
|
+
ReactiveFormsModule,
|
|
77
|
+
MatInputModule,
|
|
78
|
+
MatDatepickerModule,
|
|
79
|
+
MatDayjsDateModule] });
|
|
82
80
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputFieldModule, [{
|
|
83
81
|
type: NgModule,
|
|
84
82
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-date-input-field.mjs","sources":["../../../../libs/components/src/molecules/date-input-field/date-input-field.molecule.html","../../../../libs/components/src/molecules/date-input-field/date-input-field.molecule.ts","../../../../libs/components/src/molecules/date-input-field/date-input-field.module.ts","../../../../libs/components/src/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.ts"],"sourcesContent":["<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport { Dayjs } from 'dayjs';\nimport { filter } from 'rxjs/operators';\n\n@Component({\n selector: 'molecules-date-input-field',\n templateUrl: './date-input-field.molecule.html',\n styleUrls: ['./date-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class DateInputFieldMolecule {\n control = new FormControl<Dayjs>();\n\n @Input('control')\n private _control = new FormControl<Dayjs>();\n\n @Input()\n label = '';\n\n @Input()\n placeholder = '';\n\n @Input()\n hint?: string;\n\n ngOnInit(): void {\n this.control.valueChanges.pipe(\n filter(value => this._control.value !== value),\n ).subscribe(value => this._control.setValue(value));\n\n this._control.valueChanges.subscribe(value => this.control.setValue(value));\n this.control.setValue(this._control.value);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatDayjsDateModule, MAT_DAYJS_JP_PROVIDERS } from '@ng-atomic/common/utils';\nimport { DateInputFieldMolecule } from './date-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [DateInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n MatDatepickerModule,\n MatDayjsDateModule,\n ],\n exports: [DateInputFieldMolecule],\n bootstrap: [DateInputFieldMolecule],\n // providers: [...MAT_DAYJS_JP_PROVIDERS],\n})\nexport class DateInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;IAKE,EAAuB,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,CAAA,CAAA;IAAA,EAAU,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;IAAA,EAAW,CAAA,YAAA,EAAA,CAAA;;;IAArB,EAAU,CAAA,SAAA,CAAA,CAAA,CAAA,CAAA;IAAV,EAAU,CAAA,iBAAA,CAAA,MAAA,CAAA,IAAA,CAAA,CAAA;;MCOtB,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;AAQE,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,EAAS,CAAC;AAG3B,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,WAAW,EAAS,CAAC;QAG5C,I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AA,EAAA,CAAA,oLAAA,CAAA,EAAA,CAAA;gBAMvB,QAAQ,EAAA,CAAA;kBADf,KAAK;mBAAC,SAAS,CAAA;YAIhB,KAAK,EAAA,CAAA;kBADJ,KAAK;YAIN,WAAW,EAAA,CAAA;kBADV,KAAK;YAIN,IAAI,EAAA,CAAA;kBADH,KAAK;;;MCDK,oBAAoB,CAAA;;wFAApB,oBAAoB,GAAA,CAAA,EAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,IAAA,EAAA,oBAAoB,cAHnB,sBAAsB,CAAA,EAAA,CAAA,CAAA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-date-input-field.mjs","sources":["../../../../libs/components/src/molecules/date-input-field/date-input-field.molecule.html","../../../../libs/components/src/molecules/date-input-field/date-input-field.molecule.ts","../../../../libs/components/src/molecules/date-input-field/date-input-field.module.ts","../../../../libs/components/src/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.ts"],"sourcesContent":["<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport { Dayjs } from 'dayjs';\nimport { filter } from 'rxjs/operators';\n\n@Component({\n selector: 'molecules-date-input-field',\n templateUrl: './date-input-field.molecule.html',\n styleUrls: ['./date-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class DateInputFieldMolecule {\n control = new FormControl<Dayjs>();\n\n @Input('control')\n private _control = new FormControl<Dayjs>();\n\n @Input()\n label = '';\n\n @Input()\n placeholder = '';\n\n @Input()\n hint?: string;\n\n ngOnInit(): void {\n this.control.valueChanges.pipe(\n filter(value => this._control.value !== value),\n ).subscribe(value => this._control.setValue(value));\n\n this._control.valueChanges.subscribe(value => this.control.setValue(value));\n this.control.setValue(this._control.value);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatDayjsDateModule, MAT_DAYJS_JP_PROVIDERS } from '@ng-atomic/common/utils';\nimport { DateInputFieldMolecule } from './date-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [DateInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n MatDatepickerModule,\n MatDayjsDateModule,\n ],\n exports: [DateInputFieldMolecule],\n bootstrap: [DateInputFieldMolecule],\n // providers: [...MAT_DAYJS_JP_PROVIDERS],\n})\nexport class DateInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;IAKE,EAAuB,CAAA,cAAA,CAAA,CAAA,EAAA,UAAA,CAAA,CAAA;IAAA,EAAU,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;IAAA,EAAW,CAAA,YAAA,EAAA,CAAA;;;IAArB,EAAU,CAAA,SAAA,CAAA,CAAA,CAAA,CAAA;IAAV,EAAU,CAAA,iBAAA,CAAA,MAAA,CAAA,IAAA,CAAA,CAAA;;MCOtB,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;AAQE,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,EAAS,CAAC;AAG3B,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,WAAW,EAAS,CAAC;QAG5C,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;QAGX,IAAW,CAAA,WAAA,GAAG,EAAE,CAAC;AAalB,KAAA;IARC,Q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AAA;YAIhB,KAAK,EAAA,CAAA;kBADJ,KAAK;YAIN,WAAW,EAAA,CAAA;kBADV,KAAK;YAIN,IAAI,EAAA,CAAA;kBADH,KAAK;;;MCDK,oBAAoB,CAAA;;wFAApB,oBAAoB,GAAA,CAAA,EAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,IAAA,EAAA,oBAAoB,cAHnB,sBAAsB,CAAA,EAAA,CAAA,CAAA;0EAPhC,YAAY;QACZ,mBAAmB;QACnB,cAAc;QACd,mBAAmB;QACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA;uFAMT,oBAAoB,EAAA,CAAA;cAbhC,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;gBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,gBAAA,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,cAAc;oBACd,mBAAmB;oBACnB,kBAAkB;AACnB,iBAAA;gBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;gBACjC,SAAS,EAAE,CAAC,sBAAsB,CAAC;;AAEpC,aAAA,CAAA;;wFACY,oBAAoB,EAAA,EAAA,YAAA,EAAA,CAZhB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAEnC,YAAY;QACZ,mBAAmB;QACnB,cAAc;QACd,mBAAmB;AACnB,QAAA,kBAAkB,aAEV,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACnBlC;;AAEG;;;;"}
|
|
@@ -36,9 +36,7 @@ class HeaderModule {
|
|
|
36
36
|
}
|
|
37
37
|
HeaderModule.ɵfac = function HeaderModule_Factory(t) { return new (t || HeaderModule)(); };
|
|
38
38
|
HeaderModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: HeaderModule });
|
|
39
|
-
HeaderModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
40
|
-
CommonModule
|
|
41
|
-
]] });
|
|
39
|
+
HeaderModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
|
|
42
40
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderModule, [{
|
|
43
41
|
type: NgModule,
|
|
44
42
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-header.mjs","sources":["../../../../libs/components/src/molecules/header/header.molecule.ts","../../../../libs/components/src/molecules/header/header.molecule.html","../../../../libs/components/src/molecules/header/header.module.ts","../../../../libs/components/src/molecules/header/ng-atomic-components-molecules-header.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Input } from '@angular/core';\n\n@Component({\n selector: 'molecules-header',\n templateUrl: './header.molecule.html',\n styleUrls: ['./header.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class HeaderMolecule {\n\n @Input()\n title = 'title';\n\n @Input()\n description?: string;\n\n}\n","<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { HeaderMolecule } from './header.molecule';\n\n\n\n@NgModule({\n declarations: [\n HeaderMolecule\n ],\n imports: [\n CommonModule\n ],\n exports: [\n HeaderMolecule\n ]\n})\nexport class HeaderModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,cAAc,CAAA;AAN3B,IAAA,WAAA,GAAA;QASE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;AAKjB,KAAA;;4EARY,cAAc,GAAA,CAAA,EAAA,CAAA;iEAAd,cAAc,EAAA,SAAA,EAAA,CAAA,CAAA,kBAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,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AA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-header.mjs","sources":["../../../../libs/components/src/molecules/header/header.molecule.ts","../../../../libs/components/src/molecules/header/header.molecule.html","../../../../libs/components/src/molecules/header/header.module.ts","../../../../libs/components/src/molecules/header/ng-atomic-components-molecules-header.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Input } from '@angular/core';\n\n@Component({\n selector: 'molecules-header',\n templateUrl: './header.molecule.html',\n styleUrls: ['./header.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class HeaderMolecule {\n\n @Input()\n title = 'title';\n\n @Input()\n description?: string;\n\n}\n","<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { HeaderMolecule } from './header.molecule';\n\n\n\n@NgModule({\n declarations: [\n HeaderMolecule\n ],\n imports: [\n CommonModule\n ],\n exports: [\n HeaderMolecule\n ]\n})\nexport class HeaderModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,cAAc,CAAA;AAN3B,IAAA,WAAA,GAAA;QASE,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;AAKjB,KAAA;;4EARY,cAAc,GAAA,CAAA,EAAA,CAAA;iEAAd,cAAc,EAAA,SAAA,EAAA,CAAA,CAAA,kBAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,CAAA,EAAA,OAAA,CAAA,EAAA,CAAA,CAAA,EAAA,aAAA,CAAA,CAAA,EAAA,QAAA,EAAA,SAAA,uBAAA,CAAA,EAAA,EAAA,GAAA,EAAA,EAAA,IAAA,EAAA,GAAA,CAAA,EAAA;QCR3B,EAAoB,CA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D,gBAAA,OAAO,EAAE;oBACP,cAAc;AACf,iBAAA;AACF,aAAA,CAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,YAAY,EATrB,EAAA,YAAA,EAAA,CAAA,cAAc,CAGd,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACdlB;;AAEG;;;;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/material/
|
|
3
|
+
import * as i1 from '@angular/material/core';
|
|
4
|
+
import * as i2 from '@angular/material/list';
|
|
4
5
|
import { MatListModule } from '@angular/material/list';
|
|
5
|
-
import * as
|
|
6
|
+
import * as i3 from '@ng-atomic/components/atoms/icon';
|
|
6
7
|
import { IconModule } from '@ng-atomic/components/atoms/icon';
|
|
7
|
-
import * as i3 from '@angular/material/core';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
9
|
|
|
10
10
|
class NavigationListItemMolecule {
|
|
@@ -25,7 +25,7 @@ NavigationListItemMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
25
25
|
i0.ɵɵproperty("name", ctx.item == null ? null : ctx.item.icon)("color", ctx.item == null ? null : ctx.item.color);
|
|
26
26
|
i0.ɵɵadvance(2);
|
|
27
27
|
i0.ɵɵtextInterpolate(ctx.item.name);
|
|
28
|
-
} },
|
|
28
|
+
} }, dependencies: [i1.MatLine, i2.MatListIconCssMatStyler, i2.MatListOption, i3.IconAtom], styles: [":host{display:block}\n"], encapsulation: 2, changeDetection: 0 });
|
|
29
29
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationListItemMolecule, [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: 'molecules-navigation-list-item', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-list-option [value]=\"item.id\" [selected]=\"selected\">\n <atoms-icon mat-list-icon [name]=\"item?.icon\" [color]=\"item?.color\"></atoms-icon>\n <div mat-line>{{item.name}}</div>\n</mat-list-option>", styles: [":host{display:block}\n"] }]
|
|
@@ -39,13 +39,11 @@ class NavigationListItemModule {
|
|
|
39
39
|
}
|
|
40
40
|
NavigationListItemModule.ɵfac = function NavigationListItemModule_Factory(t) { return new (t || NavigationListItemModule)(); };
|
|
41
41
|
NavigationListItemModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NavigationListItemModule });
|
|
42
|
-
NavigationListItemModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
IconModule,
|
|
48
|
-
]] });
|
|
42
|
+
NavigationListItemModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
43
|
+
// Materials
|
|
44
|
+
MatListModule,
|
|
45
|
+
// Atoms
|
|
46
|
+
IconModule] });
|
|
49
47
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationListItemModule, [{
|
|
50
48
|
type: NgModule,
|
|
51
49
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-navigation-list-item.mjs","sources":["../../../../libs/components/src/molecules/navigation-list-item/navigation-list-item.molecule.ts","../../../../libs/components/src/molecules/navigation-list-item/navigation-list-item.molecule.html","../../../../libs/components/src/molecules/navigation-list-item/navigation-list-item.module.ts","../../../../libs/components/src/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-navigation-list-item',\n templateUrl: './navigation-list-item.molecule.html',\n styleUrls: ['./navigation-list-item.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavigationListItemMolecule {\n\n @Input()\n item!: ActionItem;\n\n @Input()\n selected = false;\n\n}\n","<mat-list-option [value]=\"item.id\" [selected]=\"selected\">\n <atoms-icon mat-list-icon [name]=\"item?.icon\" [color]=\"item?.color\"></atoms-icon>\n <div mat-line>{{item.name}}</div>\n</mat-list-option>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { IconModule } from '@ng-atomic/components/atoms/icon';\n\nimport { NavigationListItemMolecule } from './navigation-list-item.molecule';\n\n\n\n@NgModule({\n declarations: [\n NavigationListItemMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatListModule,\n // Atoms\n IconModule,\n ],\n exports: [\n NavigationListItemMolecule\n ]\n})\nexport class NavigationListItemModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAUa,0BAA0B,CAAA;AAPvC,IAAA,WAAA,GAAA;QAaE,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;AAElB,KAAA;;oGARY,0BAA0B,GAAA,CAAA,EAAA,CAAA;6EAA1B,0BAA0B,EAAA,SAAA,EAAA,CAAA,CAAA,gCAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,CAAA,EAAA,OAAA,EAAA,UAAA,CAAA,EAAA,CAAA,eAAA,EAAA,EAAA,EAAA,CAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EAAA,CAAA,UAAA,EAAA,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IAAI,EAAA,CAAA;kBADH,KAAK;YAIN,QAAQ,EAAA,CAAA;kBADP,KAAK;;;MESK,wBAAwB,CAAA;;gGAAxB,wBAAwB,GAAA,CAAA,EAAA,CAAA;0EAAxB,wBAAwB,EAAA,CAAA,CAAA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-navigation-list-item.mjs","sources":["../../../../libs/components/src/molecules/navigation-list-item/navigation-list-item.molecule.ts","../../../../libs/components/src/molecules/navigation-list-item/navigation-list-item.molecule.html","../../../../libs/components/src/molecules/navigation-list-item/navigation-list-item.module.ts","../../../../libs/components/src/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-navigation-list-item',\n templateUrl: './navigation-list-item.molecule.html',\n styleUrls: ['./navigation-list-item.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavigationListItemMolecule {\n\n @Input()\n item!: ActionItem;\n\n @Input()\n selected = false;\n\n}\n","<mat-list-option [value]=\"item.id\" [selected]=\"selected\">\n <atoms-icon mat-list-icon [name]=\"item?.icon\" [color]=\"item?.color\"></atoms-icon>\n <div mat-line>{{item.name}}</div>\n</mat-list-option>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { IconModule } from '@ng-atomic/components/atoms/icon';\n\nimport { NavigationListItemMolecule } from './navigation-list-item.molecule';\n\n\n\n@NgModule({\n declarations: [\n NavigationListItemMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatListModule,\n // Atoms\n IconModule,\n ],\n exports: [\n NavigationListItemMolecule\n ]\n})\nexport class NavigationListItemModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAUa,0BAA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from '@angular/core';
|
|
2
2
|
import { Component, ChangeDetectionStrategy, Input, 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/forms';
|
|
6
6
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i4 from '@angular/material/select';
|
|
8
8
|
import { MatSelectModule } from '@angular/material/select';
|
|
9
9
|
import { FormControl } from '@ngneat/reactive-forms';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i3 from '@angular/material/form-field';
|
|
11
11
|
import * as i5 from '@angular/material/core';
|
|
12
12
|
|
|
13
13
|
function SelectInputFieldMolecule_mat_option_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -43,10 +43,10 @@ SelectInputFieldMolecule.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Se
|
|
|
43
43
|
i0.ɵɵproperty("formControl", ctx.control);
|
|
44
44
|
i0.ɵɵadvance(1);
|
|
45
45
|
i0.ɵɵproperty("ngForOf", ctx.options)("ngForTrackBy", ctx.value);
|
|
46
|
-
} },
|
|
46
|
+
} }, dependencies: [i1.NgForOf, i2.NgControlStatus, i2.FormControlDirective, i3.MatFormField, i3.MatLabel, i4.MatSelect, i5.MatOption], styles: ["[_nghost-%COMP%]{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-vI1i: var(--horizontal-padding)}[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
47
47
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputFieldMolecule, [{
|
|
48
48
|
type: Component,
|
|
49
|
-
args: [{ selector: 'molecules-select-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-
|
|
49
|
+
args: [{ selector: 'molecules-select-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-vI1i: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
50
50
|
}], null, { label: [{
|
|
51
51
|
type: Input
|
|
52
52
|
}], control: [{
|
|
@@ -59,12 +59,10 @@ class SelectInputFieldModule {
|
|
|
59
59
|
}
|
|
60
60
|
SelectInputFieldModule.ɵfac = function SelectInputFieldModule_Factory(t) { return new (t || SelectInputFieldModule)(); };
|
|
61
61
|
SelectInputFieldModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SelectInputFieldModule, bootstrap: [SelectInputFieldMolecule] });
|
|
62
|
-
SelectInputFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
MatSelectModule,
|
|
67
|
-
]] });
|
|
62
|
+
SelectInputFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
63
|
+
ReactiveFormsModule,
|
|
64
|
+
// Materials
|
|
65
|
+
MatSelectModule] });
|
|
68
66
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputFieldModule, [{
|
|
69
67
|
type: NgModule,
|
|
70
68
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-select-input-field.mjs","sources":["../../../../libs/components/src/molecules/select-input-field/select-input-field.molecule.html","../../../../libs/components/src/molecules/select-input-field/select-input-field.molecule.ts","../../../../libs/components/src/molecules/select-input-field/select-input-field.module.ts","../../../../libs/components/src/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.ts"],"sourcesContent":["<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport interface Option<T> {\n name: string;\n value: T;\n}\n\n@Component({\n selector: 'molecules-select-input-field',\n templateUrl: './select-input-field.molecule.html',\n styleUrls: ['./select-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule input-field field'},\n})\nexport class SelectInputFieldMolecule<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n control = new FormControl<T>();\n\n @Input()\n options: Option<T>[] = [];\n\n value = (item: Option<T>) => item?.value; \n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatSelectModule } from '@angular/material/select';\n\nimport { SelectInputFieldMolecule } from './select-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [SelectInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatSelectModule,\n ],\n exports: [SelectInputFieldMolecule],\n bootstrap: [SelectInputFieldMolecule],\n})\nexport class SelectInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;IAGI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AsB,GAAA,CAAA,EAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,IAAA,EAAA,sBAAsB,cAFrB,wBAAwB,CAAA,EAAA,CAAA,CAAA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-select-input-field.mjs","sources":["../../../../libs/components/src/molecules/select-input-field/select-input-field.molecule.html","../../../../libs/components/src/molecules/select-input-field/select-input-field.molecule.ts","../../../../libs/components/src/molecules/select-input-field/select-input-field.module.ts","../../../../libs/components/src/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.ts"],"sourcesContent":["<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport interface Option<T> {\n name: string;\n value: T;\n}\n\n@Component({\n selector: 'molecules-select-input-field',\n templateUrl: './select-input-field.molecule.html',\n styleUrls: ['./select-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule input-field field'},\n})\nexport class SelectInputFieldMolecule<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n control = new FormControl<T>();\n\n @Input()\n options: Option<T>[] = [];\n\n value = (item: Option<T>) => item?.value; \n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatSelectModule } from '@angular/material/select';\n\nimport { SelectInputFieldMolecule } from './select-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [SelectInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatSelectModule,\n ],\n exports: [SelectInputFieldMolecule],\n bootstrap: [SelectInputFieldMolecule],\n})\nexport class SelectInputFieldModule {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