@ng-atomic/components 1.5.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/chips-input/chips-input.atom.d.ts +20 -0
- package/atoms/chips-input/chips-input.module.d.ts +12 -0
- package/atoms/chips-input/chips.manager.d.ts +11 -0
- package/atoms/chips-input/index.d.ts +2 -0
- package/atoms/chips-input/ng-atomic-components-atoms-chips-input.d.ts +5 -0
- package/atoms/chips-input/package.json +10 -0
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +2 -2
- package/atoms/smart-menu-button/smart-menu-button.module.d.ts +3 -3
- package/bundles/ng-atomic-components-atoms-chips-input.umd.js +478 -0
- package/bundles/ng-atomic-components-atoms-chips-input.umd.js.map +1 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js +33 -38
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js +67 -74
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-card.umd.js +72 -80
- package/bundles/ng-atomic-components-frames-card.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-drawer.umd.js +17 -25
- package/bundles/ng-atomic-components-frames-drawer.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js +21 -32
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-line-up.umd.js +21 -32
- package/bundles/ng-atomic-components-frames-line-up.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js +16 -25
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-overlay.umd.js +24 -31
- package/bundles/ng-atomic-components-frames-overlay.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.js +70 -78
- package/bundles/ng-atomic-components-frames-scroll.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js +15 -22
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js +31 -37
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.js +29 -35
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.js +28 -66
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js +33 -36
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js +27 -31
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js +32 -38
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js +23 -28
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js +20 -26
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +23 -30
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +34 -38
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js +21 -28
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +17 -25
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.js +16 -22
- package/bundles/ng-atomic-components-organisms-heading.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.js +25 -30
- package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-navigator.umd.js +114 -0
- package/bundles/ng-atomic-components-organisms-navigator.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-paginator.umd.js +24 -30
- package/bundles/ng-atomic-components-organisms-paginator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js +42 -45
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js +22 -29
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-pages-_index.umd.js +72 -77
- package/bundles/ng-atomic-components-pages-_index.umd.js.map +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.js +76 -82
- package/bundles/ng-atomic-components-pages-blank.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.js +40 -42
- package/bundles/ng-atomic-components-templates-entrance.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-loading.umd.js +72 -80
- package/bundles/ng-atomic-components-templates-loading.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-menu.umd.js +18 -26
- package/bundles/ng-atomic-components-templates-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js +49 -49
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.js +32 -35
- package/bundles/ng-atomic-components-templates-smart-index.umd.js.map +1 -1
- package/bundles/ng-atomic-components.umd.js +2 -2
- package/bundles/ng-atomic-components.umd.js.map +1 -1
- package/esm2015/atoms/chips-input/chips-input.atom.js +57 -0
- package/esm2015/atoms/chips-input/chips-input.atom.js.map +1 -0
- package/esm2015/atoms/chips-input/chips-input.module.js +43 -0
- package/esm2015/atoms/chips-input/chips-input.module.js.map +1 -0
- package/esm2015/atoms/chips-input/chips.manager.js +32 -0
- package/esm2015/atoms/chips-input/chips.manager.js.map +1 -0
- package/esm2015/atoms/chips-input/index.js +3 -0
- package/esm2015/atoms/chips-input/index.js.map +1 -0
- package/esm2015/atoms/chips-input/ng-atomic-components-atoms-chips-input.js +5 -0
- package/esm2015/atoms/chips-input/ng-atomic-components-atoms-chips-input.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js +19 -19
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js.map +1 -1
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js +21 -22
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js.map +1 -1
- package/esm2015/frames/auto-layout/auto-layout.frame.js +11 -11
- package/esm2015/frames/auto-layout/auto-layout.frame.js.map +1 -1
- package/esm2015/frames/auto-layout/auto-layout.module.js +17 -18
- package/esm2015/frames/auto-layout/auto-layout.module.js.map +1 -1
- package/esm2015/frames/card/card.frame.js +11 -11
- package/esm2015/frames/card/card.frame.js.map +1 -1
- package/esm2015/frames/card/card.module.js +21 -22
- package/esm2015/frames/card/card.module.js.map +1 -1
- package/esm2015/frames/drawer/drawer.frame.js +16 -16
- package/esm2015/frames/drawer/drawer.frame.js.map +1 -1
- package/esm2015/frames/drawer/drawer.module.js +15 -16
- package/esm2015/frames/drawer/drawer.module.js.map +1 -1
- package/esm2015/frames/line-up/line-up.frame.js +30 -30
- package/esm2015/frames/line-up/line-up.frame.js.map +1 -1
- package/esm2015/frames/line-up/line-up.module.js +15 -16
- package/esm2015/frames/line-up/line-up.module.js.map +1 -1
- package/esm2015/frames/line-up-v2/line-up.frame.js +25 -25
- package/esm2015/frames/line-up-v2/line-up.frame.js.map +1 -1
- package/esm2015/frames/line-up-v2/line-up.module.js +15 -16
- package/esm2015/frames/line-up-v2/line-up.module.js.map +1 -1
- package/esm2015/frames/line-up-v2/resize-observer.js.map +1 -1
- package/esm2015/frames/overlay/overlay.frame.js +17 -17
- package/esm2015/frames/overlay/overlay.frame.js.map +1 -1
- package/esm2015/frames/overlay/overlay.module.js +17 -18
- package/esm2015/frames/overlay/overlay.module.js.map +1 -1
- package/esm2015/frames/overlay-v2/overlay.frame.js +14 -14
- package/esm2015/frames/overlay-v2/overlay.frame.js.map +1 -1
- package/esm2015/frames/overlay-v2/overlay.module.js +17 -18
- package/esm2015/frames/overlay-v2/overlay.module.js.map +1 -1
- package/esm2015/frames/scroll/scroll.frame.js +11 -11
- package/esm2015/frames/scroll/scroll.frame.js.map +1 -1
- package/esm2015/frames/scroll/scroll.module.js +19 -20
- package/esm2015/frames/scroll/scroll.module.js.map +1 -1
- package/esm2015/frames/smart-menu/smart-menu.frame.js +23 -23
- package/esm2015/frames/smart-menu/smart-menu.frame.js.map +1 -1
- package/esm2015/frames/smart-menu/smart-menu.module.js +13 -14
- package/esm2015/frames/smart-menu/smart-menu.module.js.map +1 -1
- package/esm2015/molecules/actions-column/actions-column.module.js +31 -32
- package/esm2015/molecules/actions-column/actions-column.module.js.map +1 -1
- package/esm2015/molecules/actions-column/actions-column.molecule.js +36 -36
- package/esm2015/molecules/actions-column/actions-column.molecule.js.map +1 -1
- package/esm2015/molecules/checkbox-column/checkbox-column.module.js +26 -27
- package/esm2015/molecules/checkbox-column/checkbox-column.module.js.map +1 -1
- package/esm2015/molecules/checkbox-column/checkbox-column.molecule.js +31 -31
- package/esm2015/molecules/checkbox-column/checkbox-column.molecule.js.map +1 -1
- package/esm2015/molecules/chips-input-field/chips-input-field.module.js +24 -37
- package/esm2015/molecules/chips-input-field/chips-input-field.module.js.map +1 -1
- package/esm2015/molecules/chips-input-field/chips-input-field.molecule.js +18 -42
- package/esm2015/molecules/chips-input-field/chips-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/date-input-field/date-input-field.module.js +22 -22
- package/esm2015/molecules/date-input-field/date-input-field.module.js.map +1 -1
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js +24 -24
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/select-input-field/select-input-field.module.js +23 -24
- package/esm2015/molecules/select-input-field/select-input-field.module.js.map +1 -1
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js +21 -21
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/smart-column/smart-column.module.js +27 -28
- package/esm2015/molecules/smart-column/smart-column.module.js.map +1 -1
- package/esm2015/molecules/smart-column/smart-column.molecule.js +19 -20
- package/esm2015/molecules/smart-column/smart-column.molecule.js.map +1 -1
- package/esm2015/molecules/text-input-field/text-input-field.module.js +21 -22
- package/esm2015/molecules/text-input-field/text-input-field.module.js.map +1 -1
- package/esm2015/molecules/text-input-field/text-input-field.molecule.js +24 -24
- package/esm2015/molecules/text-input-field/text-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/textarea-field/textarea-field.module.js +17 -18
- package/esm2015/molecules/textarea-field/textarea-field.module.js.map +1 -1
- package/esm2015/molecules/textarea-field/textarea-field.molecule.js +18 -18
- package/esm2015/molecules/textarea-field/textarea-field.molecule.js.map +1 -1
- package/esm2015/organisms/action-buttons-section/action-buttons-section.module.js +21 -22
- package/esm2015/organisms/action-buttons-section/action-buttons-section.module.js.map +1 -1
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js +18 -18
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.module.js +29 -30
- package/esm2015/organisms/back-navigator/back-navigator.module.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.organism.js +27 -27
- package/esm2015/organisms/back-navigator/back-navigator.organism.js.map +1 -1
- package/esm2015/organisms/card-input-section/card-input-section.module.js +17 -18
- package/esm2015/organisms/card-input-section/card-input-section.module.js.map +1 -1
- package/esm2015/organisms/card-input-section/card-input-section.organism.js +17 -17
- package/esm2015/organisms/card-input-section/card-input-section.organism.js.map +1 -1
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js +19 -20
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js.map +1 -1
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js +13 -13
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js.map +1 -1
- package/esm2015/organisms/date-input-section/date-input-section.module.js +19 -20
- package/esm2015/organisms/date-input-section/date-input-section.module.js.map +1 -1
- package/esm2015/organisms/date-input-section/date-input-section.organism.js +18 -18
- package/esm2015/organisms/date-input-section/date-input-section.organism.js.map +1 -1
- package/esm2015/organisms/heading/heading.module.js +17 -18
- package/esm2015/organisms/heading/heading.module.js.map +1 -1
- package/esm2015/organisms/heading/heading.organism.js +13 -13
- package/esm2015/organisms/heading/heading.organism.js.map +1 -1
- package/esm2015/organisms/menu/menu.module.js +17 -18
- package/esm2015/organisms/menu/menu.module.js.map +1 -1
- package/esm2015/organisms/menu/menu.organism.js +17 -17
- package/esm2015/organisms/menu/menu.organism.js.map +1 -1
- package/esm2015/organisms/navigator/index.js +3 -0
- package/esm2015/organisms/navigator/index.js.map +1 -0
- package/esm2015/organisms/navigator/navigator.module.js +44 -0
- package/esm2015/organisms/navigator/navigator.module.js.map +1 -0
- package/esm2015/organisms/navigator/navigator.organism.js +39 -0
- package/esm2015/organisms/navigator/navigator.organism.js.map +1 -0
- package/esm2015/organisms/navigator/ng-atomic-components-organisms-navigator.js +5 -0
- package/esm2015/organisms/navigator/ng-atomic-components-organisms-navigator.js.map +1 -0
- package/esm2015/organisms/paginator/paginator.module.js +29 -30
- package/esm2015/organisms/paginator/paginator.module.js.map +1 -1
- package/esm2015/organisms/paginator/paginator.organism.js +22 -22
- package/esm2015/organisms/paginator/paginator.organism.js.map +1 -1
- package/esm2015/organisms/select-input-section/select-input-section.module.js +21 -22
- package/esm2015/organisms/select-input-section/select-input-section.module.js.map +1 -1
- package/esm2015/organisms/select-input-section/select-input-section.organism.js +17 -17
- package/esm2015/organisms/select-input-section/select-input-section.organism.js.map +1 -1
- package/esm2015/organisms/smart-table/smart-table.module.js +41 -42
- package/esm2015/organisms/smart-table/smart-table.module.js.map +1 -1
- package/esm2015/organisms/smart-table/smart-table.organism.js +42 -42
- package/esm2015/organisms/smart-table/smart-table.organism.js.map +1 -1
- package/esm2015/organisms/social-login-section/social-login-section.module.js +21 -22
- package/esm2015/organisms/social-login-section/social-login-section.module.js.map +1 -1
- package/esm2015/organisms/social-login-section/social-login-section.organism.js +13 -13
- package/esm2015/organisms/social-login-section/social-login-section.organism.js.map +1 -1
- package/esm2015/organisms/text-input-section/text-input-section.module.js +21 -22
- package/esm2015/organisms/text-input-section/text-input-section.module.js.map +1 -1
- package/esm2015/organisms/text-input-section/text-input-section.organism.js +20 -20
- package/esm2015/organisms/text-input-section/text-input-section.organism.js.map +1 -1
- package/esm2015/organisms/textarea-section/textarea-section.module.js +17 -18
- package/esm2015/organisms/textarea-section/textarea-section.module.js.map +1 -1
- package/esm2015/organisms/textarea-section/textarea-section.organism.js +13 -13
- package/esm2015/organisms/textarea-section/textarea-section.organism.js.map +1 -1
- package/esm2015/organisms/top-navigator/top-navigator.module.js +27 -28
- package/esm2015/organisms/top-navigator/top-navigator.module.js.map +1 -1
- package/esm2015/organisms/top-navigator/top-navigator.organism.js +17 -17
- package/esm2015/organisms/top-navigator/top-navigator.organism.js.map +1 -1
- package/esm2015/pages/_index/index.module.js +15 -15
- package/esm2015/pages/_index/index.module.js.map +1 -1
- package/esm2015/pages/_index/index.page.js +10 -10
- package/esm2015/pages/_index/index.page.js.map +1 -1
- package/esm2015/pages/blank/blank.module.js +14 -15
- package/esm2015/pages/blank/blank.module.js.map +1 -1
- package/esm2015/pages/blank/blank.page.js +10 -10
- package/esm2015/pages/blank/blank.page.js.map +1 -1
- package/esm2015/templates/entrance/entrance.module.js +35 -36
- package/esm2015/templates/entrance/entrance.module.js.map +1 -1
- package/esm2015/templates/entrance/entrance.template.js +28 -28
- package/esm2015/templates/entrance/entrance.template.js.map +1 -1
- package/esm2015/templates/loading/loading.module.js +21 -22
- package/esm2015/templates/loading/loading.module.js.map +1 -1
- package/esm2015/templates/loading/loading.template.js +11 -11
- package/esm2015/templates/loading/loading.template.js.map +1 -1
- package/esm2015/templates/menu/menu.module.js +17 -18
- package/esm2015/templates/menu/menu.module.js.map +1 -1
- package/esm2015/templates/menu/menu.template.js +15 -15
- package/esm2015/templates/menu/menu.template.js.map +1 -1
- package/esm2015/templates/smart-crud/smart-crud.module.js +45 -46
- package/esm2015/templates/smart-crud/smart-crud.module.js.map +1 -1
- package/esm2015/templates/smart-crud/smart-crud.template.js +35 -35
- package/esm2015/templates/smart-crud/smart-crud.template.js.map +1 -1
- package/esm2015/templates/smart-index/smart-index.module.js +31 -32
- package/esm2015/templates/smart-index/smart-index.module.js.map +1 -1
- package/esm2015/templates/smart-index/smart-index.template.js +52 -52
- package/esm2015/templates/smart-index/smart-index.template.js.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-chips-input.js +131 -0
- package/fesm2015/ng-atomic-components-atoms-chips-input.js.map +1 -0
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js +45 -42
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-auto-layout.js +29 -30
- package/fesm2015/ng-atomic-components-frames-auto-layout.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-card.js +35 -35
- package/fesm2015/ng-atomic-components-frames-card.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-drawer.js +34 -34
- package/fesm2015/ng-atomic-components-frames-drawer.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js +41 -42
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-line-up.js +46 -47
- package/fesm2015/ng-atomic-components-frames-line-up.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js +32 -33
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay.js +37 -36
- package/fesm2015/ng-atomic-components-frames-overlay.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-scroll.js +33 -33
- package/fesm2015/ng-atomic-components-frames-scroll.js.map +1 -1
- package/fesm2015/ng-atomic-components-frames-smart-menu.js +37 -38
- package/fesm2015/ng-atomic-components-frames-smart-menu.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-actions-column.js +72 -70
- package/fesm2015/ng-atomic-components-molecules-actions-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.js +62 -60
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.js +43 -76
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js +53 -49
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js +50 -48
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.js +52 -50
- package/fesm2015/ng-atomic-components-molecules-smart-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-text-input-field.js +53 -51
- package/fesm2015/ng-atomic-components-molecules-text-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-textarea-field.js +41 -40
- package/fesm2015/ng-atomic-components-molecules-textarea-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js +42 -41
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js +63 -59
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.js +37 -37
- package/fesm2015/ng-atomic-components-organisms-card-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js +37 -36
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js +40 -40
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-heading.js +33 -33
- package/fesm2015/ng-atomic-components-organisms-heading.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-menu.js +40 -38
- package/fesm2015/ng-atomic-components-organisms-menu.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-navigator.js +87 -0
- package/fesm2015/ng-atomic-components-organisms-navigator.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-paginator.js +58 -56
- package/fesm2015/ng-atomic-components-organisms-paginator.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.js +41 -41
- package/fesm2015/ng-atomic-components-organisms-select-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.js +92 -87
- package/fesm2015/ng-atomic-components-organisms-smart-table.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.js +37 -37
- package/fesm2015/ng-atomic-components-organisms-social-login-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-text-input-section.js +44 -44
- package/fesm2015/ng-atomic-components-organisms-text-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-textarea-section.js +33 -33
- package/fesm2015/ng-atomic-components-organisms-textarea-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js +49 -48
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-pages-_index.js +27 -26
- package/fesm2015/ng-atomic-components-pages-_index.js.map +1 -1
- package/fesm2015/ng-atomic-components-pages-blank.js +28 -28
- package/fesm2015/ng-atomic-components-pages-blank.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.js +73 -67
- package/fesm2015/ng-atomic-components-templates-entrance.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-loading.js +35 -35
- package/fesm2015/ng-atomic-components-templates-loading.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.js +35 -35
- package/fesm2015/ng-atomic-components-templates-menu.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.js +93 -85
- package/fesm2015/ng-atomic-components-templates-smart-crud.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.js +94 -89
- package/fesm2015/ng-atomic-components-templates-smart-index.js.map +1 -1
- package/fesm2015/ng-atomic-components.js.map +1 -1
- package/frames/auto-layout/auto-layout.frame.d.ts +2 -2
- package/frames/auto-layout/auto-layout.module.d.ts +3 -3
- package/frames/card/card.frame.d.ts +2 -2
- package/frames/card/card.module.d.ts +3 -3
- package/frames/drawer/drawer.frame.d.ts +2 -2
- package/frames/drawer/drawer.module.d.ts +3 -3
- package/frames/line-up/line-up.frame.d.ts +4 -4
- package/frames/line-up/line-up.module.d.ts +3 -3
- package/frames/line-up-v2/line-up.frame.d.ts +4 -4
- package/frames/line-up-v2/line-up.module.d.ts +3 -3
- package/frames/overlay/overlay.frame.d.ts +2 -2
- package/frames/overlay/overlay.module.d.ts +3 -3
- package/frames/overlay-v2/overlay.frame.d.ts +2 -2
- package/frames/overlay-v2/overlay.module.d.ts +3 -3
- package/frames/scroll/scroll.frame.d.ts +2 -2
- package/frames/scroll/scroll.module.d.ts +3 -3
- package/frames/smart-menu/smart-menu.frame.d.ts +2 -2
- package/frames/smart-menu/smart-menu.module.d.ts +3 -3
- package/molecules/actions-column/actions-column.module.d.ts +3 -3
- package/molecules/actions-column/actions-column.molecule.d.ts +2 -2
- package/molecules/checkbox-column/checkbox-column.module.d.ts +3 -3
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +2 -2
- package/molecules/chips-input-field/chips-input-field.module.d.ts +4 -7
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +3 -13
- package/molecules/date-input-field/date-input-field.module.d.ts +3 -3
- package/molecules/date-input-field/date-input-field.molecule.d.ts +2 -2
- package/molecules/select-input-field/select-input-field.module.d.ts +3 -3
- package/molecules/select-input-field/select-input-field.molecule.d.ts +2 -2
- package/molecules/smart-column/smart-column.module.d.ts +3 -3
- package/molecules/smart-column/smart-column.molecule.d.ts +2 -2
- package/molecules/text-input-field/text-input-field.module.d.ts +3 -3
- package/molecules/text-input-field/text-input-field.molecule.d.ts +2 -2
- package/molecules/textarea-field/textarea-field.module.d.ts +3 -3
- package/molecules/textarea-field/textarea-field.molecule.d.ts +2 -2
- package/organisms/action-buttons-section/action-buttons-section.module.d.ts +3 -3
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +2 -2
- package/organisms/back-navigator/back-navigator.module.d.ts +3 -3
- package/organisms/back-navigator/back-navigator.organism.d.ts +2 -2
- package/organisms/card-input-section/card-input-section.module.d.ts +3 -3
- package/organisms/card-input-section/card-input-section.organism.d.ts +2 -2
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.d.ts +3 -3
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +2 -2
- package/organisms/date-input-section/date-input-section.module.d.ts +3 -3
- package/organisms/date-input-section/date-input-section.organism.d.ts +3 -3
- package/organisms/heading/heading.module.d.ts +3 -3
- package/organisms/heading/heading.organism.d.ts +2 -2
- package/organisms/menu/menu.module.d.ts +3 -3
- package/organisms/menu/menu.organism.d.ts +2 -2
- package/organisms/navigator/index.d.ts +2 -0
- package/organisms/navigator/navigator.module.d.ts +12 -0
- package/organisms/navigator/navigator.organism.d.ts +13 -0
- package/organisms/navigator/ng-atomic-components-organisms-navigator.d.ts +5 -0
- package/organisms/navigator/package.json +10 -0
- package/organisms/paginator/paginator.module.d.ts +3 -3
- package/organisms/paginator/paginator.organism.d.ts +2 -2
- package/organisms/select-input-section/select-input-section.module.d.ts +3 -3
- package/organisms/select-input-section/select-input-section.organism.d.ts +2 -2
- package/organisms/smart-table/smart-table.module.d.ts +3 -3
- package/organisms/smart-table/smart-table.organism.d.ts +2 -2
- package/organisms/social-login-section/social-login-section.module.d.ts +3 -3
- package/organisms/social-login-section/social-login-section.organism.d.ts +2 -2
- package/organisms/text-input-section/text-input-section.module.d.ts +3 -3
- package/organisms/text-input-section/text-input-section.organism.d.ts +2 -2
- package/organisms/textarea-section/textarea-section.module.d.ts +3 -3
- package/organisms/textarea-section/textarea-section.organism.d.ts +2 -2
- package/organisms/top-navigator/top-navigator.module.d.ts +3 -3
- package/organisms/top-navigator/top-navigator.organism.d.ts +2 -2
- package/package.json +12 -6
- package/pages/_index/index.module.d.ts +3 -3
- package/pages/_index/index.page.d.ts +2 -2
- package/pages/blank/blank.module.d.ts +3 -3
- package/pages/blank/blank.page.d.ts +2 -2
- package/templates/entrance/entrance.module.d.ts +5 -5
- package/templates/entrance/entrance.template.d.ts +2 -2
- package/templates/loading/loading.module.d.ts +3 -3
- package/templates/loading/loading.template.d.ts +2 -2
- package/templates/menu/menu.module.d.ts +3 -3
- package/templates/menu/menu.template.d.ts +2 -2
- package/templates/smart-crud/smart-crud.module.d.ts +4 -4
- package/templates/smart-crud/smart-crud.template.d.ts +2 -2
- package/templates/smart-index/smart-index.module.d.ts +3 -3
- package/templates/smart-index/smart-index.template.d.ts +2 -2
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js +0 -2
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-card.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-card.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-line-up.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-line-up.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-overlay.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-overlay.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-scroll.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js +0 -2
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js +0 -16
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js +0 -2
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js +0 -16
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js +0 -109
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-paginator.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-paginator.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js +0 -16
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js +0 -2
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-pages-_index.umd.min.js +0 -2
- package/bundles/ng-atomic-components-pages-_index.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-pages-blank.umd.min.js +0 -2
- package/bundles/ng-atomic-components-pages-blank.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js +0 -2
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-loading.umd.min.js +0 -2
- package/bundles/ng-atomic-components-templates-loading.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-menu.umd.min.js +0 -2
- package/bundles/ng-atomic-components-templates-menu.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js +0 -16
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js +0 -2
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js.map +0 -1
- package/bundles/ng-atomic-components.umd.min.js +0 -2
- package/bundles/ng-atomic-components.umd.min.js.map +0 -1
- package/esm2015/organisms/input-field-section/index.js +0 -3
- package/esm2015/organisms/input-field-section/index.js.map +0 -1
- package/esm2015/organisms/input-field-section/input-field-section.module.js +0 -34
- package/esm2015/organisms/input-field-section/input-field-section.module.js.map +0 -1
- package/esm2015/organisms/input-field-section/input-field-section.organism.js +0 -35
- package/esm2015/organisms/input-field-section/input-field-section.organism.js.map +0 -1
- package/esm2015/organisms/input-field-section/ng-atomic-components-organisms-input-field-section.js +0 -5
- package/esm2015/organisms/input-field-section/ng-atomic-components-organisms-input-field-section.js.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js +0 -72
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js.map +0 -1
- package/organisms/input-field-section/index.d.ts +0 -2
- package/organisms/input-field-section/input-field-section.module.d.ts +0 -9
- package/organisms/input-field-section/input-field-section.organism.d.ts +0 -11
- package/organisms/input-field-section/ng-atomic-components-organisms-input-field-section.d.ts +0 -5
- package/organisms/input-field-section/package.json +0 -10
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/material/table'), require('@angular/material/menu'), require('@angular/material/button'), require('@angular/material/icon'), require('@angular/cdk/table'), require('@ng-atomic/components/atoms/smart-menu-button')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@ng-atomic/components/molecules/actions-column', ['exports', '@angular/core', '@angular/common', '@angular/material/table', '@angular/material/menu', '@angular/material/button', '@angular/material/icon', '@angular/cdk/table', '@ng-atomic/components/atoms/smart-menu-button'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global[
|
|
5
|
-
}(this, (function (exports, i0, common,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["ng-atomic"] = global["ng-atomic"] || {}, global["ng-atomic"].components = global["ng-atomic"].components || {}, global["ng-atomic"].components.molecules = global["ng-atomic"].components.molecules || {}, global["ng-atomic"].components.molecules["actions-column"] = {}), global.ng.core, global.ng.common, global.ng.material.table, global.ng.material.menu, global.ng.material.button, global.ng.material.icon, global.ng.cdk.table, global["ng-atomic"].components.atoms["smart-menu-button"]));
|
|
5
|
+
})(this, (function (exports, i0, common, i3, menu, button, icon, i1, i2) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -13,18 +13,19 @@
|
|
|
13
13
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
14
|
Object.defineProperty(n, k, d.get ? d : {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return e[k];
|
|
18
|
-
}
|
|
16
|
+
get: function () { return e[k]; }
|
|
19
17
|
});
|
|
20
18
|
}
|
|
21
19
|
});
|
|
22
20
|
}
|
|
23
|
-
n[
|
|
21
|
+
n["default"] = e;
|
|
24
22
|
return Object.freeze(n);
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
27
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
28
29
|
|
|
29
30
|
var ActionsColumnMolecule = /** @class */ (function () {
|
|
30
31
|
function ActionsColumnMolecule(_table, _options) {
|
|
@@ -69,10 +70,9 @@
|
|
|
69
70
|
};
|
|
70
71
|
return ActionsColumnMolecule;
|
|
71
72
|
}());
|
|
72
|
-
ActionsColumnMolecule.ɵfac =
|
|
73
|
-
ActionsColumnMolecule.ɵcmp =
|
|
74
|
-
(
|
|
75
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsColumnMolecule, [{
|
|
73
|
+
ActionsColumnMolecule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ActionsColumnMolecule, deps: [{ token: i1__namespace.CdkTable, optional: true }, { token: i1.TEXT_COLUMN_OPTIONS, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
74
|
+
ActionsColumnMolecule.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ActionsColumnMolecule, selector: "molecules-actions-column", inputs: { name: "name", actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: i1.CdkColumnDef, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: i1.CdkCellDef, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: i1.CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0__namespace, 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 [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit([$event[0], item])\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n", styles: [""], components: [{ type: i2__namespace.SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["actionItems"], outputs: ["actionItemClick"] }], directives: [{ type: i3__namespace.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i3__namespace.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i3__namespace.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i3__namespace.MatCellDef, selector: "[matCellDef]" }, { type: i3__namespace.MatCell, selector: "mat-cell, td[mat-cell]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.Default, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
75
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ActionsColumnMolecule, decorators: [{
|
|
76
76
|
type: i0.Component,
|
|
77
77
|
args: [{
|
|
78
78
|
selector: 'molecules-actions-column',
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
encapsulation: i0.ViewEncapsulation.None,
|
|
82
82
|
changeDetection: i0.ChangeDetectionStrategy.Default,
|
|
83
83
|
}]
|
|
84
|
-
}], function () {
|
|
85
|
-
return [{ type:
|
|
84
|
+
}], ctorParameters: function () {
|
|
85
|
+
return [{ type: i1__namespace.CdkTable, decorators: [{
|
|
86
86
|
type: i0.Optional
|
|
87
87
|
}] }, { type: undefined, decorators: [{
|
|
88
88
|
type: i0.Optional
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
type: i0.Inject,
|
|
91
91
|
args: [i1.TEXT_COLUMN_OPTIONS]
|
|
92
92
|
}] }];
|
|
93
|
-
}, { name: [{
|
|
93
|
+
}, propDecorators: { name: [{
|
|
94
94
|
type: i0.Input
|
|
95
95
|
}], actionItems: [{
|
|
96
96
|
type: i0.Input
|
|
@@ -105,38 +105,33 @@
|
|
|
105
105
|
}], headerCell: [{
|
|
106
106
|
type: i0.ViewChild,
|
|
107
107
|
args: [i1.CdkHeaderCellDef, { static: true }]
|
|
108
|
-
}] });
|
|
109
|
-
})();
|
|
108
|
+
}] } });
|
|
110
109
|
|
|
111
110
|
var ActionsColumnModule = /** @class */ (function () {
|
|
112
111
|
function ActionsColumnModule() {
|
|
113
112
|
}
|
|
114
113
|
return ActionsColumnModule;
|
|
115
114
|
}());
|
|
116
|
-
ActionsColumnModule.ɵfac =
|
|
117
|
-
ActionsColumnModule.ɵmod =
|
|
118
|
-
|
|
115
|
+
ActionsColumnModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ActionsColumnModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
116
|
+
ActionsColumnModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ActionsColumnModule, declarations: [ActionsColumnMolecule], imports: [common.CommonModule,
|
|
117
|
+
// Materials
|
|
118
|
+
i3.MatTableModule,
|
|
119
|
+
menu.MatMenuModule,
|
|
120
|
+
button.MatButtonModule,
|
|
121
|
+
icon.MatIconModule,
|
|
122
|
+
// Atoms
|
|
123
|
+
i2.SmartMenuButtonModule], exports: [ActionsColumnMolecule] });
|
|
124
|
+
ActionsColumnModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ActionsColumnModule, imports: [[
|
|
119
125
|
common.CommonModule,
|
|
120
126
|
// Materials
|
|
121
|
-
|
|
127
|
+
i3.MatTableModule,
|
|
122
128
|
menu.MatMenuModule,
|
|
123
129
|
button.MatButtonModule,
|
|
124
130
|
icon.MatIconModule,
|
|
125
131
|
// Atoms
|
|
126
|
-
|
|
132
|
+
i2.SmartMenuButtonModule,
|
|
127
133
|
]] });
|
|
128
|
-
(
|
|
129
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ActionsColumnModule, { declarations: [ActionsColumnMolecule], imports: [common.CommonModule,
|
|
130
|
-
// Materials
|
|
131
|
-
i2.MatTableModule,
|
|
132
|
-
menu.MatMenuModule,
|
|
133
|
-
button.MatButtonModule,
|
|
134
|
-
icon.MatIconModule,
|
|
135
|
-
// Atoms
|
|
136
|
-
i3.SmartMenuButtonModule], exports: [ActionsColumnMolecule] });
|
|
137
|
-
})();
|
|
138
|
-
(function () {
|
|
139
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsColumnModule, [{
|
|
134
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ActionsColumnModule, decorators: [{
|
|
140
135
|
type: i0.NgModule,
|
|
141
136
|
args: [{
|
|
142
137
|
declarations: [
|
|
@@ -145,19 +140,18 @@
|
|
|
145
140
|
imports: [
|
|
146
141
|
common.CommonModule,
|
|
147
142
|
// Materials
|
|
148
|
-
|
|
143
|
+
i3.MatTableModule,
|
|
149
144
|
menu.MatMenuModule,
|
|
150
145
|
button.MatButtonModule,
|
|
151
146
|
icon.MatIconModule,
|
|
152
147
|
// Atoms
|
|
153
|
-
|
|
148
|
+
i2.SmartMenuButtonModule,
|
|
154
149
|
],
|
|
155
150
|
exports: [
|
|
156
151
|
ActionsColumnMolecule
|
|
157
152
|
]
|
|
158
153
|
}]
|
|
159
|
-
}]
|
|
160
|
-
})();
|
|
154
|
+
}] });
|
|
161
155
|
|
|
162
156
|
/**
|
|
163
157
|
* Generated bundle index. Do not edit.
|
|
@@ -168,5 +162,5 @@
|
|
|
168
162
|
|
|
169
163
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
170
164
|
|
|
171
|
-
}))
|
|
165
|
+
}));
|
|
172
166
|
//# sourceMappingURL=ng-atomic-components-molecules-actions-column.umd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-actions-column.umd.js","sources":["../../../../libs/components/molecules/actions-column/actions-column.molecule.ts","../../../../libs/components/molecules/actions-column/actions-column.molecule.html","../../../../libs/components/molecules/actions-column/actions-column.module.ts","../../../../libs/components/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["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 { 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 actionItems: ActionItem[] = [];\n\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem, 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(\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 onActionItemClick(test) {\n console.debug(test);\n }\n}\n","<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>操作</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit([$event[0], item])\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\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';\n\nimport { ActionsColumnMolecule } from './actions-column.molecule';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\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: [\n ActionsColumnMolecule\n ]\n})\nexport class ActionsColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["EventEmitter","TEXT_COLUMN_OPTIONS","CdkColumnDef","CdkCellDef","CdkHeaderCellDef","Component","ViewEncapsulation","ChangeDetectionStrategy","Optional","Inject","Input","Output","ViewChild","CommonModule","MatTableModule","MatMenuModule","MatButtonModule","MatIconModule","SmartMenuButtonModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-actions-column.umd.js","sources":["../../../../libs/components/molecules/actions-column/actions-column.molecule.ts","../../../../libs/components/molecules/actions-column/actions-column.molecule.html","../../../../libs/components/molecules/actions-column/actions-column.module.ts","../../../../libs/components/molecules/actions-column/ng-atomic-components-molecules-actions-column.ts"],"sourcesContent":["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 { 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 actionItems: ActionItem[] = [];\n\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem, 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(\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 onActionItemClick(test) {\n console.debug(test);\n }\n}\n","<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>操作</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit([$event[0], item])\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\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';\n\nimport { ActionsColumnMolecule } from './actions-column.molecule';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\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: [\n ActionsColumnMolecule\n ]\n})\nexport class ActionsColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["EventEmitter","i0","TEXT_COLUMN_OPTIONS","CdkColumnDef","CdkCellDef","CdkHeaderCellDef","i2","i3","Component","ViewEncapsulation","ChangeDetectionStrategy","Optional","Inject","Input","Output","ViewChild","CommonModule","MatTableModule","MatMenuModule","MatButtonModule","MatIconModule","SmartMenuButtonModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,QAAA,qBAAA,kBAAA,YAAA;QA2BE,SACsB,qBAAA,CAAA,MAAmB,EACU,QAA8B,EAAA;;IAD3D,QAAA,IAAM,CAAA,MAAA,GAAN,MAAM,CAAa;IACU,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAsB;IAjBjF,QAAA,IAAW,CAAA,WAAA,GAAiB,EAAE,CAAC;IAI/B,QAAA,IAAA,CAAA,eAAe,GAAG,IAAIA,eAAY,EAAmB,CAAC;YAepD,CAAA,EAAA,GAAA,IAAI,CAAC,QAAQ,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,EAAA,IAAb,IAAI,CAAC,QAAQ,GAAK,EAAE,CAAC,CAAA;SACtB;IA/BD,IAAA,MAAA,CAAA,cAAA,CACI,qBAAI,CAAA,SAAA,EAAA,MAAA,EAAA;IADR,QAAA,GAAA,EAAA,YAAA;gBAEE,OAAO,IAAI,CAAC,KAAK,CAAC;aACnB;IACD,QAAA,GAAA,EAAA,UAAS,IAAY,EAAA;IACnB,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;gBAClB,IAAI,CAAC,kBAAkB,EAAE,CAAC;aAC3B;;;IAJA,KAAA,CAAA,CAAA;IA8BD,IAAA,qBAAA,CAAA,SAAA,CAAA,QAAQ,GAAR,YAAA;YACE,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAE1B,IAAI,IAAI,CAAC,MAAM,EAAE;gBACf,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;gBAChC,IAAI,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAA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,EAAA,CAAA;IACR,oBAAA,YAAY,EAAE;4BACZ,qBAAqB;IACtB,qBAAA;IACD,oBAAA,OAAO,EAAE;4BACPN,mBAAY;;4BAEZC,iBAAc;4BACdC,kBAAa;4BACbC,sBAAe;4BACfC,kBAAa;;4BAEbC,wBAAqB;IACtB,qBAAA;IACD,oBAAA,OAAO,EAAE;4BACP,qBAAqB;IACtB,qBAAA;qBACF,CAAA;;;IC3BD;;IAEG;;;;;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/material/table'), require('@angular/material/checkbox'), require('@angular/cdk/table')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@ng-atomic/components/molecules/checkbox-column', ['exports', '@angular/core', '@angular/common', '@angular/material/table', '@angular/material/checkbox', '@angular/cdk/table'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global[
|
|
5
|
-
}(this, (function (exports, i0, common,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["ng-atomic"] = global["ng-atomic"] || {}, global["ng-atomic"].components = global["ng-atomic"].components || {}, global["ng-atomic"].components.molecules = global["ng-atomic"].components.molecules || {}, global["ng-atomic"].components.molecules["checkbox-column"] = {}), global.ng.core, global.ng.common, global.ng.material.table, global.ng.material.checkbox, global.ng.cdk.table));
|
|
5
|
+
})(this, (function (exports, i0, common, i3, i2, i1) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -13,18 +13,19 @@
|
|
|
13
13
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
14
|
Object.defineProperty(n, k, d.get ? d : {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return e[k];
|
|
18
|
-
}
|
|
16
|
+
get: function () { return e[k]; }
|
|
19
17
|
});
|
|
20
18
|
}
|
|
21
19
|
});
|
|
22
20
|
}
|
|
23
|
-
n[
|
|
21
|
+
n["default"] = e;
|
|
24
22
|
return Object.freeze(n);
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
27
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
29
|
|
|
29
30
|
var CheckboxColumnMolecule = /** @class */ (function () {
|
|
30
31
|
function CheckboxColumnMolecule(_table) {
|
|
@@ -63,10 +64,9 @@
|
|
|
63
64
|
};
|
|
64
65
|
return CheckboxColumnMolecule;
|
|
65
66
|
}());
|
|
66
|
-
CheckboxColumnMolecule.ɵfac =
|
|
67
|
-
CheckboxColumnMolecule.ɵcmp =
|
|
68
|
-
(
|
|
69
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxColumnMolecule, [{
|
|
67
|
+
CheckboxColumnMolecule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxColumnMolecule, deps: [{ token: i1__namespace.CdkTable, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
68
|
+
CheckboxColumnMolecule.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CheckboxColumnMolecule, selector: "molecules-checkbox-column", inputs: { name: "name", selectedIdSet: "selectedIdSet" }, outputs: { checkboxClick: "checkboxClick" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: i1.CdkColumnDef, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: i1.CdkCellDef, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: i1.CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0__namespace, 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", styles: [""], components: [{ type: i2__namespace.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], directives: [{ type: i3__namespace.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i3__namespace.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i3__namespace.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i3__namespace.MatCellDef, selector: "[matCellDef]" }, { type: i3__namespace.MatCell, selector: "mat-cell, td[mat-cell]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
69
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxColumnMolecule, decorators: [{
|
|
70
70
|
type: i0.Component,
|
|
71
71
|
args: [{
|
|
72
72
|
selector: 'molecules-checkbox-column',
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
encapsulation: i0.ViewEncapsulation.None,
|
|
76
76
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
77
77
|
}]
|
|
78
|
-
}], function () {
|
|
79
|
-
return [{ type:
|
|
78
|
+
}], ctorParameters: function () {
|
|
79
|
+
return [{ type: i1__namespace.CdkTable, decorators: [{
|
|
80
80
|
type: i0.Optional
|
|
81
81
|
}] }];
|
|
82
|
-
}, { name: [{
|
|
82
|
+
}, propDecorators: { name: [{
|
|
83
83
|
type: i0.Input
|
|
84
84
|
}], selectedIdSet: [{
|
|
85
85
|
type: i0.Input
|
|
@@ -94,32 +94,27 @@
|
|
|
94
94
|
}], headerCell: [{
|
|
95
95
|
type: i0.ViewChild,
|
|
96
96
|
args: [i1.CdkHeaderCellDef, { static: true }]
|
|
97
|
-
}] });
|
|
98
|
-
})();
|
|
97
|
+
}] } });
|
|
99
98
|
|
|
100
99
|
var CheckboxColumnModule = /** @class */ (function () {
|
|
101
100
|
function CheckboxColumnModule() {
|
|
102
101
|
}
|
|
103
102
|
return CheckboxColumnModule;
|
|
104
103
|
}());
|
|
105
|
-
CheckboxColumnModule.ɵfac =
|
|
106
|
-
CheckboxColumnModule.ɵmod =
|
|
107
|
-
|
|
108
|
-
|
|
104
|
+
CheckboxColumnModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxColumnModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
105
|
+
CheckboxColumnModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxColumnModule, declarations: [CheckboxColumnMolecule], imports: [common.CommonModule,
|
|
106
|
+
// Materials
|
|
107
|
+
i3.MatTableModule,
|
|
108
|
+
i2.MatCheckboxModule], exports: [CheckboxColumnMolecule] });
|
|
109
|
+
CheckboxColumnModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxColumnModule, providers: [
|
|
110
|
+
{ provide: i2.MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } }
|
|
109
111
|
], imports: [[
|
|
110
112
|
common.CommonModule,
|
|
111
113
|
// Materials
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
i3.MatTableModule,
|
|
115
|
+
i2.MatCheckboxModule,
|
|
114
116
|
]] });
|
|
115
|
-
(
|
|
116
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CheckboxColumnModule, { declarations: [CheckboxColumnMolecule], imports: [common.CommonModule,
|
|
117
|
-
// Materials
|
|
118
|
-
i2.MatTableModule,
|
|
119
|
-
i3.MatCheckboxModule], exports: [CheckboxColumnMolecule] });
|
|
120
|
-
})();
|
|
121
|
-
(function () {
|
|
122
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxColumnModule, [{
|
|
117
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxColumnModule, decorators: [{
|
|
123
118
|
type: i0.NgModule,
|
|
124
119
|
args: [{
|
|
125
120
|
declarations: [
|
|
@@ -128,18 +123,17 @@
|
|
|
128
123
|
imports: [
|
|
129
124
|
common.CommonModule,
|
|
130
125
|
// Materials
|
|
131
|
-
|
|
132
|
-
|
|
126
|
+
i3.MatTableModule,
|
|
127
|
+
i2.MatCheckboxModule,
|
|
133
128
|
],
|
|
134
129
|
exports: [
|
|
135
130
|
CheckboxColumnMolecule
|
|
136
131
|
],
|
|
137
132
|
providers: [
|
|
138
|
-
{ provide:
|
|
133
|
+
{ provide: i2.MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } }
|
|
139
134
|
]
|
|
140
135
|
}]
|
|
141
|
-
}]
|
|
142
|
-
})();
|
|
136
|
+
}] });
|
|
143
137
|
|
|
144
138
|
/**
|
|
145
139
|
* Generated bundle index. Do not edit.
|
|
@@ -150,5 +144,5 @@
|
|
|
150
144
|
|
|
151
145
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
152
146
|
|
|
153
|
-
}))
|
|
147
|
+
}));
|
|
154
148
|
//# sourceMappingURL=ng-atomic-components-molecules-checkbox-column.umd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-checkbox-column.umd.js","sources":["../../../../libs/components/molecules/checkbox-column/checkbox-column.molecule.ts","../../../../libs/components/molecules/checkbox-column/checkbox-column.molecule.html","../../../../libs/components/molecules/checkbox-column/checkbox-column.module.ts","../../../../libs/components/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.ts"],"sourcesContent":["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","<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 { 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: [\n CheckboxColumnMolecule\n ],\n providers: [\n {provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } as MatCheckboxDefaultOptions}\n ]\n})\nexport class CheckboxColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["EventEmitter","CdkColumnDef","CdkCellDef","CdkHeaderCellDef","Component","ViewEncapsulation","ChangeDetectionStrategy","Optional","Input","Output","ViewChild","
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-checkbox-column.umd.js","sources":["../../../../libs/components/molecules/checkbox-column/checkbox-column.molecule.ts","../../../../libs/components/molecules/checkbox-column/checkbox-column.molecule.html","../../../../libs/components/molecules/checkbox-column/checkbox-column.module.ts","../../../../libs/components/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.ts"],"sourcesContent":["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","<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 { 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: [\n CheckboxColumnMolecule\n ],\n providers: [\n {provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } as MatCheckboxDefaultOptions}\n ]\n})\nexport class CheckboxColumnModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["EventEmitter","i1","i0","CdkColumnDef","CdkCellDef","CdkHeaderCellDef","i2","i3","Component","ViewEncapsulation","ChangeD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ACF,CAAA;;;ICzBD;;IAEG;;;;;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@ng-atomic/components/molecules/chips-input-field', ['exports', '@angular/core', '@angular/common', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global[
|
|
5
|
-
}(this, (function (exports, i0,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@ng-atomic/components/atoms/chips-input'), require('@ngneat/reactive-forms')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@ng-atomic/components/molecules/chips-input-field', ['exports', '@angular/core', '@angular/common', '@ng-atomic/components/atoms/chips-input', '@ngneat/reactive-forms'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["ng-atomic"] = global["ng-atomic"] || {}, global["ng-atomic"].components = global["ng-atomic"].components || {}, global["ng-atomic"].components.molecules = global["ng-atomic"].components.molecules || {}, global["ng-atomic"].components.molecules["chips-input-field"] = {}), global.ng.core, global.ng.common, global["ng-atomic"].components.atoms["chips-input"], global.reactiveForms));
|
|
5
|
+
})(this, (function (exports, i0, common, i1, reactiveForms) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -13,109 +13,71 @@
|
|
|
13
13
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
14
|
Object.defineProperty(n, k, d.get ? d : {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return e[k];
|
|
18
|
-
}
|
|
16
|
+
get: function () { return e[k]; }
|
|
19
17
|
});
|
|
20
18
|
}
|
|
21
19
|
});
|
|
22
20
|
}
|
|
23
|
-
n[
|
|
21
|
+
n["default"] = e;
|
|
24
22
|
return Object.freeze(n);
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
27
|
|
|
29
28
|
var ChipsInputFieldMolecule = /** @class */ (function () {
|
|
30
29
|
function ChipsInputFieldMolecule() {
|
|
31
|
-
this._control = new reactiveForms.FormControl('');
|
|
32
30
|
this.control = new reactiveForms.FormControl();
|
|
33
|
-
this.placeholder = '';
|
|
34
|
-
this.separatorKeysCodes = [keycodes.ENTER, keycodes.COMMA];
|
|
35
|
-
this.chips = [];
|
|
31
|
+
this.placeholder = 'placeholder';
|
|
36
32
|
}
|
|
37
|
-
ChipsInputFieldMolecule.prototype.ngOnInit = function () {
|
|
38
|
-
var _this = this;
|
|
39
|
-
this.control.value && this._add(this.control.value);
|
|
40
|
-
this._control.valueChanges.subscribe(function () { return _this.control.setValue(_this.chips.join(' ')); });
|
|
41
|
-
};
|
|
42
|
-
ChipsInputFieldMolecule.prototype.add = function (event) {
|
|
43
|
-
this._add((event.value || '').trim());
|
|
44
|
-
event.input.value = '';
|
|
45
|
-
};
|
|
46
|
-
ChipsInputFieldMolecule.prototype.remove = function (chip) {
|
|
47
|
-
var index = this.chips.indexOf(chip);
|
|
48
|
-
index >= 0 && this.chips.splice(index, 1);
|
|
49
|
-
this.control.setValue(this.chips.join(' '));
|
|
50
|
-
};
|
|
51
|
-
ChipsInputFieldMolecule.prototype._add = function (value) {
|
|
52
|
-
value && this.chips.push(value);
|
|
53
|
-
this.control.setValue(this.chips.join(' '));
|
|
54
|
-
};
|
|
55
33
|
return ChipsInputFieldMolecule;
|
|
56
34
|
}());
|
|
57
|
-
ChipsInputFieldMolecule.ɵfac =
|
|
58
|
-
ChipsInputFieldMolecule.ɵcmp =
|
|
59
|
-
(
|
|
60
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChipsInputFieldMolecule, [{
|
|
35
|
+
ChipsInputFieldMolecule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputFieldMolecule, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
36
|
+
ChipsInputFieldMolecule.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ChipsInputFieldMolecule, selector: "molecules-chips-input-field", inputs: { control: "control", placeholder: "placeholder" }, ngImport: i0__namespace, template: "<atoms-chips-input [control]=\"control\" [placeholder]=\"placeholder\"></atoms-chips-input>\n", styles: [":host{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host mat-input{width:100%;height:100%}\n"], components: [{ type: i1__namespace.ChipsInputAtom, selector: "atoms-chips-input", inputs: ["separators", "control", "placeholder"] }] });
|
|
37
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputFieldMolecule, decorators: [{
|
|
61
38
|
type: i0.Component,
|
|
62
39
|
args: [{
|
|
63
40
|
selector: 'molecules-chips-input-field',
|
|
64
41
|
templateUrl: './chips-input-field.molecule.html',
|
|
65
42
|
styleUrls: ['./chips-input-field.molecule.scss'],
|
|
66
|
-
changeDetection:
|
|
43
|
+
// changeDetection: ChangeDetectionStrategy.OnPush,
|
|
67
44
|
}]
|
|
68
|
-
}],
|
|
45
|
+
}], propDecorators: { control: [{
|
|
69
46
|
type: i0.Input
|
|
70
47
|
}], placeholder: [{
|
|
71
48
|
type: i0.Input
|
|
72
|
-
}] });
|
|
73
|
-
})();
|
|
49
|
+
}] } });
|
|
74
50
|
|
|
75
51
|
var ChipsInputFieldModule = /** @class */ (function () {
|
|
76
52
|
function ChipsInputFieldModule() {
|
|
77
53
|
}
|
|
78
54
|
return ChipsInputFieldModule;
|
|
79
55
|
}());
|
|
80
|
-
ChipsInputFieldModule.ɵfac =
|
|
81
|
-
ChipsInputFieldModule.ɵmod =
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
input.MatInputModule,
|
|
56
|
+
ChipsInputFieldModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputFieldModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
57
|
+
ChipsInputFieldModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputFieldModule, declarations: [ChipsInputFieldMolecule], imports: [common.CommonModule,
|
|
58
|
+
// Atoms
|
|
59
|
+
i1.ChipsInputModule], exports: [ChipsInputFieldMolecule] });
|
|
60
|
+
ChipsInputFieldModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputFieldModule, imports: [[
|
|
61
|
+
common.CommonModule,
|
|
62
|
+
// Atoms
|
|
63
|
+
i1.ChipsInputModule,
|
|
89
64
|
]] });
|
|
90
|
-
(
|
|
91
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ChipsInputFieldModule, { declarations: [ChipsInputFieldMolecule], imports: [i2.CommonModule,
|
|
92
|
-
i4.ReactiveFormsModule,
|
|
93
|
-
// Materials
|
|
94
|
-
i1.MatChipsModule,
|
|
95
|
-
i3.MatIconModule,
|
|
96
|
-
input.MatInputModule], exports: [ChipsInputFieldMolecule] });
|
|
97
|
-
})();
|
|
98
|
-
(function () {
|
|
99
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChipsInputFieldModule, [{
|
|
65
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputFieldModule, decorators: [{
|
|
100
66
|
type: i0.NgModule,
|
|
101
67
|
args: [{
|
|
102
68
|
declarations: [
|
|
103
69
|
ChipsInputFieldMolecule
|
|
104
70
|
],
|
|
105
71
|
imports: [
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
i1.MatChipsModule,
|
|
110
|
-
i3.MatIconModule,
|
|
111
|
-
input.MatInputModule,
|
|
72
|
+
common.CommonModule,
|
|
73
|
+
// Atoms
|
|
74
|
+
i1.ChipsInputModule,
|
|
112
75
|
],
|
|
113
76
|
exports: [
|
|
114
77
|
ChipsInputFieldMolecule
|
|
115
78
|
]
|
|
116
79
|
}]
|
|
117
|
-
}]
|
|
118
|
-
})();
|
|
80
|
+
}] });
|
|
119
81
|
|
|
120
82
|
/**
|
|
121
83
|
* Generated bundle index. Do not edit.
|
|
@@ -126,5 +88,5 @@
|
|
|
126
88
|
|
|
127
89
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
128
90
|
|
|
129
|
-
}))
|
|
91
|
+
}));
|
|
130
92
|
//# sourceMappingURL=ng-atomic-components-molecules-chips-input-field.umd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-chips-input-field.umd.js","sources":["../../../../libs/components/molecules/chips-input-field/chips-input-field.molecule.ts","../../../../libs/components/molecules/chips-input-field/chips-input-field.molecule.html","../../../../libs/components/molecules/chips-input-field/chips-input-field.module.ts","../../../../libs/components/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-chips-input-field.umd.js","sources":["../../../../libs/components/molecules/chips-input-field/chips-input-field.molecule.ts","../../../../libs/components/molecules/chips-input-field/chips-input-field.molecule.html","../../../../libs/components/molecules/chips-input-field/chips-input-field.module.ts","../../../../libs/components/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\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})\nexport class ChipsInputFieldMolecule {\n\n @Input()\n control = new FormControl<string>();\n\n @Input()\n placeholder = 'placeholder';\n\n}\n","<atoms-chips-input [control]=\"control\" [placeholder]=\"placeholder\"></atoms-chips-input>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ChipsInputModule } from '@ng-atomic/components/atoms/chips-input';\nimport { ChipsInputFieldMolecule } from './chips-input-field.molecule';\n\n@NgModule({\n declarations: [\n ChipsInputFieldMolecule\n ],\n imports: [\n CommonModule,\n // Atoms\n ChipsInputModule,\n ],\n exports: [\n ChipsInputFieldMolecule\n ]\n})\nexport class ChipsInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["FormControl","i0","i1","Component","Input","CommonModule","ChipsInputModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,QAAA,uBAAA,kBAAA,YAAA;IANA,IAAA,SAAA,uBAAA,GAAA;IASE,QAAA,IAAA,CAAA,OAAO,GAAG,IAAIA,yBAAW,EAAU,CAAC;IAGpC,QAAA,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;SAE7B;;;+IARY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAC,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;IAAvB,uBAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,0ICVpC,+FACA,EAAA,MAAA,EAAA,CAAA,mIAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAAC,aAAA,CAAA,cAAA,EAA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