@ng-atomic/components 1.4.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/chips-input/chips-input.atom.d.ts +20 -0
- package/atoms/chips-input/chips-input.module.d.ts +12 -0
- package/atoms/chips-input/chips.manager.d.ts +11 -0
- package/atoms/chips-input/index.d.ts +2 -0
- package/atoms/chips-input/ng-atomic-components-atoms-chips-input.d.ts +5 -0
- package/atoms/chips-input/package.json +10 -0
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +2 -2
- package/atoms/smart-menu-button/smart-menu-button.module.d.ts +3 -3
- package/bundles/ng-atomic-components-atoms-chips-input.umd.js +478 -0
- package/bundles/ng-atomic-components-atoms-chips-input.umd.js.map +1 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js +33 -38
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js +67 -74
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-card.umd.js +72 -80
- package/bundles/ng-atomic-components-frames-card.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-drawer.umd.js +17 -25
- package/bundles/ng-atomic-components-frames-drawer.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js +21 -32
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-line-up.umd.js +21 -32
- package/bundles/ng-atomic-components-frames-line-up.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js +16 -25
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-overlay.umd.js +24 -31
- package/bundles/ng-atomic-components-frames-overlay.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.js +70 -78
- package/bundles/ng-atomic-components-frames-scroll.umd.js.map +1 -1
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js +15 -22
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js +31 -37
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.js +29 -35
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.js +28 -66
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js +33 -36
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js +27 -31
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js +32 -38
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js +23 -28
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js +20 -26
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +23 -30
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +34 -38
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js +18 -26
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js +21 -28
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +17 -25
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.js +16 -22
- package/bundles/ng-atomic-components-organisms-heading.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.js +25 -30
- package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-navigator.umd.js +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
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { MatChipInputEvent } from '@angular/material/chips';
|
|
3
|
+
import { FormControl } from '@ngneat/reactive-forms';
|
|
4
|
+
import { ChipsManager } from './chips.manager';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ChipsInputAtom implements OnInit {
|
|
7
|
+
private cd;
|
|
8
|
+
chipsManager: ChipsManager;
|
|
9
|
+
private readonly destroy$;
|
|
10
|
+
separators: readonly [13, 188, 32];
|
|
11
|
+
control: FormControl<string, any>;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
constructor(cd: ChangeDetectorRef, chipsManager: ChipsManager);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
onChiInputTokenEnd(event: MatChipInputEvent): void;
|
|
17
|
+
remove(value: string): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsInputAtom, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsInputAtom, "atoms-chips-input", never, { "separators": "separators"; "control": "control"; "placeholder": "placeholder"; }, {}, never, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./chips-input.atom";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/chips";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@angular/material/input";
|
|
8
|
+
export declare class ChipsInputModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsInputModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ChipsInputModule, [typeof i1.ChipsInputAtom], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatChipsModule, typeof i5.MatIconModule, typeof i6.MatInputModule], [typeof i1.ChipsInputAtom]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ChipsInputModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ChipsManager {
|
|
3
|
+
private _chips;
|
|
4
|
+
setValue(value: string): void;
|
|
5
|
+
getValue(): string;
|
|
6
|
+
remove(value: string): void;
|
|
7
|
+
add(chip: string): void;
|
|
8
|
+
get chips(): string[];
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsManager, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ChipsManager>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../../bundles/ng-atomic-components-atoms-chips-input.umd.js",
|
|
3
|
+
"module": "../../fesm2015/ng-atomic-components-atoms-chips-input.js",
|
|
4
|
+
"es2015": "../../fesm2015/ng-atomic-components-atoms-chips-input.js",
|
|
5
|
+
"esm2015": "../../esm2015/atoms/chips-input/ng-atomic-components-atoms-chips-input.js",
|
|
6
|
+
"fesm2015": "../../fesm2015/ng-atomic-components-atoms-chips-input.js",
|
|
7
|
+
"typings": "ng-atomic-components-atoms-chips-input.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@ng-atomic/components/atoms/chips-input"
|
|
10
|
+
}
|
|
@@ -4,6 +4,6 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class SmartMenuButtonAtom {
|
|
5
5
|
actionItems: ActionItem[];
|
|
6
6
|
actionItemClick: EventEmitter<ActionItem>;
|
|
7
|
-
static ɵfac: i0.ɵɵ
|
|
8
|
-
static ɵcmp: i0.ɵɵ
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartMenuButtonAtom, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartMenuButtonAtom, "atoms-smart-menu-button", never, { "actionItems": "actionItems"; }, { "actionItemClick": "actionItemClick"; }, never, never>;
|
|
9
9
|
}
|
|
@@ -5,7 +5,7 @@ import * as i3 from "@angular/material/button";
|
|
|
5
5
|
import * as i4 from "@angular/material/icon";
|
|
6
6
|
import * as i5 from "@angular/material/menu";
|
|
7
7
|
export declare class SmartMenuButtonModule {
|
|
8
|
-
static ɵfac: i0.ɵɵ
|
|
9
|
-
static ɵmod: i0.ɵɵ
|
|
10
|
-
static ɵinj: i0.ɵɵ
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartMenuButtonModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartMenuButtonModule, [typeof i1.SmartMenuButtonAtom], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MatMenuModule], [typeof i1.SmartMenuButtonAtom]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartMenuButtonModule>;
|
|
11
11
|
}
|
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/keycodes'), require('@angular/core'), require('@ngneat/reactive-forms'), require('rxjs'), require('rxjs/operators'), require('@angular/material/chips'), require('@angular/material/icon'), require('@angular/common'), require('@angular/forms'), require('@angular/material/input')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@ng-atomic/components/atoms/chips-input', ['exports', '@angular/cdk/keycodes', '@angular/core', '@ngneat/reactive-forms', 'rxjs', 'rxjs/operators', '@angular/material/chips', '@angular/material/icon', '@angular/common', '@angular/forms', '@angular/material/input'], 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.atoms = global["ng-atomic"].components.atoms || {}, global["ng-atomic"].components.atoms["chips-input"] = {}), global.ng.cdk.keycodes, global.ng.core, global.reactiveForms, global.rxjs, global.rxjs.operators, global.ng.material.chips, global.ng.material.icon, global.ng.common, global.ng.forms, global.ng.material.input));
|
|
5
|
+
})(this, (function (exports, keycodes, i0, reactiveForms, rxjs, operators, i2, i3, i4, forms, input) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
27
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
28
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
29
|
+
|
|
30
|
+
/*! *****************************************************************************
|
|
31
|
+
Copyright (c) Microsoft Corporation.
|
|
32
|
+
|
|
33
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
34
|
+
purpose with or without fee is hereby granted.
|
|
35
|
+
|
|
36
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
37
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
38
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
39
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
40
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
41
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
42
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
43
|
+
***************************************************************************** */
|
|
44
|
+
/* global Reflect, Promise */
|
|
45
|
+
var extendStatics = function (d, b) {
|
|
46
|
+
extendStatics = Object.setPrototypeOf ||
|
|
47
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
48
|
+
function (d, b) { for (var p in b)
|
|
49
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
50
|
+
d[p] = b[p]; };
|
|
51
|
+
return extendStatics(d, b);
|
|
52
|
+
};
|
|
53
|
+
function __extends(d, b) {
|
|
54
|
+
if (typeof b !== "function" && b !== null)
|
|
55
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
56
|
+
extendStatics(d, b);
|
|
57
|
+
function __() { this.constructor = d; }
|
|
58
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
59
|
+
}
|
|
60
|
+
var __assign = function () {
|
|
61
|
+
__assign = Object.assign || function __assign(t) {
|
|
62
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
63
|
+
s = arguments[i];
|
|
64
|
+
for (var p in s)
|
|
65
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
66
|
+
t[p] = s[p];
|
|
67
|
+
}
|
|
68
|
+
return t;
|
|
69
|
+
};
|
|
70
|
+
return __assign.apply(this, arguments);
|
|
71
|
+
};
|
|
72
|
+
function __rest(s, e) {
|
|
73
|
+
var t = {};
|
|
74
|
+
for (var p in s)
|
|
75
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
76
|
+
t[p] = s[p];
|
|
77
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
78
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
79
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
80
|
+
t[p[i]] = s[p[i]];
|
|
81
|
+
}
|
|
82
|
+
return t;
|
|
83
|
+
}
|
|
84
|
+
function __decorate(decorators, target, key, desc) {
|
|
85
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
86
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
87
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
88
|
+
else
|
|
89
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
90
|
+
if (d = decorators[i])
|
|
91
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
92
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
93
|
+
}
|
|
94
|
+
function __param(paramIndex, decorator) {
|
|
95
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
96
|
+
}
|
|
97
|
+
function __metadata(metadataKey, metadataValue) {
|
|
98
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
99
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
100
|
+
}
|
|
101
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
102
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
103
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
104
|
+
function fulfilled(value) { try {
|
|
105
|
+
step(generator.next(value));
|
|
106
|
+
}
|
|
107
|
+
catch (e) {
|
|
108
|
+
reject(e);
|
|
109
|
+
} }
|
|
110
|
+
function rejected(value) { try {
|
|
111
|
+
step(generator["throw"](value));
|
|
112
|
+
}
|
|
113
|
+
catch (e) {
|
|
114
|
+
reject(e);
|
|
115
|
+
} }
|
|
116
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
117
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
function __generator(thisArg, body) {
|
|
121
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
122
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
123
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
124
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
125
|
+
function step(op) {
|
|
126
|
+
if (f)
|
|
127
|
+
throw new TypeError("Generator is already executing.");
|
|
128
|
+
while (_)
|
|
129
|
+
try {
|
|
130
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
131
|
+
return t;
|
|
132
|
+
if (y = 0, t)
|
|
133
|
+
op = [op[0] & 2, t.value];
|
|
134
|
+
switch (op[0]) {
|
|
135
|
+
case 0:
|
|
136
|
+
case 1:
|
|
137
|
+
t = op;
|
|
138
|
+
break;
|
|
139
|
+
case 4:
|
|
140
|
+
_.label++;
|
|
141
|
+
return { value: op[1], done: false };
|
|
142
|
+
case 5:
|
|
143
|
+
_.label++;
|
|
144
|
+
y = op[1];
|
|
145
|
+
op = [0];
|
|
146
|
+
continue;
|
|
147
|
+
case 7:
|
|
148
|
+
op = _.ops.pop();
|
|
149
|
+
_.trys.pop();
|
|
150
|
+
continue;
|
|
151
|
+
default:
|
|
152
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
153
|
+
_ = 0;
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
157
|
+
_.label = op[1];
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
161
|
+
_.label = t[1];
|
|
162
|
+
t = op;
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
if (t && _.label < t[2]) {
|
|
166
|
+
_.label = t[2];
|
|
167
|
+
_.ops.push(op);
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
if (t[2])
|
|
171
|
+
_.ops.pop();
|
|
172
|
+
_.trys.pop();
|
|
173
|
+
continue;
|
|
174
|
+
}
|
|
175
|
+
op = body.call(thisArg, _);
|
|
176
|
+
}
|
|
177
|
+
catch (e) {
|
|
178
|
+
op = [6, e];
|
|
179
|
+
y = 0;
|
|
180
|
+
}
|
|
181
|
+
finally {
|
|
182
|
+
f = t = 0;
|
|
183
|
+
}
|
|
184
|
+
if (op[0] & 5)
|
|
185
|
+
throw op[1];
|
|
186
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
190
|
+
if (k2 === undefined)
|
|
191
|
+
k2 = k;
|
|
192
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
193
|
+
}) : (function (o, m, k, k2) {
|
|
194
|
+
if (k2 === undefined)
|
|
195
|
+
k2 = k;
|
|
196
|
+
o[k2] = m[k];
|
|
197
|
+
});
|
|
198
|
+
function __exportStar(m, o) {
|
|
199
|
+
for (var p in m)
|
|
200
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
201
|
+
__createBinding(o, m, p);
|
|
202
|
+
}
|
|
203
|
+
function __values(o) {
|
|
204
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
205
|
+
if (m)
|
|
206
|
+
return m.call(o);
|
|
207
|
+
if (o && typeof o.length === "number")
|
|
208
|
+
return {
|
|
209
|
+
next: function () {
|
|
210
|
+
if (o && i >= o.length)
|
|
211
|
+
o = void 0;
|
|
212
|
+
return { value: o && o[i++], done: !o };
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
216
|
+
}
|
|
217
|
+
function __read(o, n) {
|
|
218
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
219
|
+
if (!m)
|
|
220
|
+
return o;
|
|
221
|
+
var i = m.call(o), r, ar = [], e;
|
|
222
|
+
try {
|
|
223
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
224
|
+
ar.push(r.value);
|
|
225
|
+
}
|
|
226
|
+
catch (error) {
|
|
227
|
+
e = { error: error };
|
|
228
|
+
}
|
|
229
|
+
finally {
|
|
230
|
+
try {
|
|
231
|
+
if (r && !r.done && (m = i["return"]))
|
|
232
|
+
m.call(i);
|
|
233
|
+
}
|
|
234
|
+
finally {
|
|
235
|
+
if (e)
|
|
236
|
+
throw e.error;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
return ar;
|
|
240
|
+
}
|
|
241
|
+
/** @deprecated */
|
|
242
|
+
function __spread() {
|
|
243
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
244
|
+
ar = ar.concat(__read(arguments[i]));
|
|
245
|
+
return ar;
|
|
246
|
+
}
|
|
247
|
+
/** @deprecated */
|
|
248
|
+
function __spreadArrays() {
|
|
249
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
250
|
+
s += arguments[i].length;
|
|
251
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
252
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
253
|
+
r[k] = a[j];
|
|
254
|
+
return r;
|
|
255
|
+
}
|
|
256
|
+
function __spreadArray(to, from, pack) {
|
|
257
|
+
if (pack || arguments.length === 2)
|
|
258
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
259
|
+
if (ar || !(i in from)) {
|
|
260
|
+
if (!ar)
|
|
261
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
262
|
+
ar[i] = from[i];
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
266
|
+
}
|
|
267
|
+
function __await(v) {
|
|
268
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
269
|
+
}
|
|
270
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
271
|
+
if (!Symbol.asyncIterator)
|
|
272
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
273
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
274
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
275
|
+
function verb(n) { if (g[n])
|
|
276
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
277
|
+
function resume(n, v) { try {
|
|
278
|
+
step(g[n](v));
|
|
279
|
+
}
|
|
280
|
+
catch (e) {
|
|
281
|
+
settle(q[0][3], e);
|
|
282
|
+
} }
|
|
283
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
284
|
+
function fulfill(value) { resume("next", value); }
|
|
285
|
+
function reject(value) { resume("throw", value); }
|
|
286
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
287
|
+
resume(q[0][0], q[0][1]); }
|
|
288
|
+
}
|
|
289
|
+
function __asyncDelegator(o) {
|
|
290
|
+
var i, p;
|
|
291
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
292
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
293
|
+
}
|
|
294
|
+
function __asyncValues(o) {
|
|
295
|
+
if (!Symbol.asyncIterator)
|
|
296
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
297
|
+
var m = o[Symbol.asyncIterator], i;
|
|
298
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
299
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
300
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
301
|
+
}
|
|
302
|
+
function __makeTemplateObject(cooked, raw) {
|
|
303
|
+
if (Object.defineProperty) {
|
|
304
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
cooked.raw = raw;
|
|
308
|
+
}
|
|
309
|
+
return cooked;
|
|
310
|
+
}
|
|
311
|
+
;
|
|
312
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
313
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
314
|
+
}) : function (o, v) {
|
|
315
|
+
o["default"] = v;
|
|
316
|
+
};
|
|
317
|
+
function __importStar(mod) {
|
|
318
|
+
if (mod && mod.__esModule)
|
|
319
|
+
return mod;
|
|
320
|
+
var result = {};
|
|
321
|
+
if (mod != null)
|
|
322
|
+
for (var k in mod)
|
|
323
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
324
|
+
__createBinding(result, mod, k);
|
|
325
|
+
__setModuleDefault(result, mod);
|
|
326
|
+
return result;
|
|
327
|
+
}
|
|
328
|
+
function __importDefault(mod) {
|
|
329
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
330
|
+
}
|
|
331
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
332
|
+
if (kind === "a" && !f)
|
|
333
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
334
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
335
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
336
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
337
|
+
}
|
|
338
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
339
|
+
if (kind === "m")
|
|
340
|
+
throw new TypeError("Private method is not writable");
|
|
341
|
+
if (kind === "a" && !f)
|
|
342
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
343
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
344
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
345
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
var ChipsManager = /** @class */ (function () {
|
|
349
|
+
function ChipsManager() {
|
|
350
|
+
this._chips = [];
|
|
351
|
+
}
|
|
352
|
+
ChipsManager.prototype.setValue = function (value) {
|
|
353
|
+
this._chips = value.split(' ').filter(function (chip) { return !!chip; });
|
|
354
|
+
};
|
|
355
|
+
ChipsManager.prototype.getValue = function () {
|
|
356
|
+
return this._chips.join(' ');
|
|
357
|
+
};
|
|
358
|
+
ChipsManager.prototype.remove = function (value) {
|
|
359
|
+
this._chips = this.chips.filter(function (chip) { return chip !== value; });
|
|
360
|
+
};
|
|
361
|
+
ChipsManager.prototype.add = function (chip) {
|
|
362
|
+
var value = (chip || '').trim();
|
|
363
|
+
this._chips = __spreadArray(__spreadArray([], __read(this.chips)), [value]);
|
|
364
|
+
};
|
|
365
|
+
Object.defineProperty(ChipsManager.prototype, "chips", {
|
|
366
|
+
get: function () {
|
|
367
|
+
return this._chips;
|
|
368
|
+
},
|
|
369
|
+
enumerable: false,
|
|
370
|
+
configurable: true
|
|
371
|
+
});
|
|
372
|
+
return ChipsManager;
|
|
373
|
+
}());
|
|
374
|
+
ChipsManager.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsManager, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
375
|
+
ChipsManager.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsManager, providedIn: 'any' });
|
|
376
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsManager, decorators: [{
|
|
377
|
+
type: i0.Injectable,
|
|
378
|
+
args: [{
|
|
379
|
+
providedIn: 'any'
|
|
380
|
+
}]
|
|
381
|
+
}] });
|
|
382
|
+
|
|
383
|
+
var ChipsInputAtom = /** @class */ (function () {
|
|
384
|
+
function ChipsInputAtom(cd, chipsManager) {
|
|
385
|
+
this.cd = cd;
|
|
386
|
+
this.chipsManager = chipsManager;
|
|
387
|
+
this.destroy$ = new rxjs.ReplaySubject(1);
|
|
388
|
+
this.separators = [keycodes.ENTER, keycodes.COMMA, keycodes.SPACE];
|
|
389
|
+
this.control = new reactiveForms.FormControl();
|
|
390
|
+
this.placeholder = '';
|
|
391
|
+
}
|
|
392
|
+
ChipsInputAtom.prototype.ngOnInit = function () {
|
|
393
|
+
var _this = this;
|
|
394
|
+
this.control.valueChanges.pipe(operators.takeUntil(this.destroy$)).subscribe(function (value) {
|
|
395
|
+
_this.chipsManager.setValue(value);
|
|
396
|
+
_this.cd.markForCheck();
|
|
397
|
+
});
|
|
398
|
+
};
|
|
399
|
+
ChipsInputAtom.prototype.ngOnDestroy = function () {
|
|
400
|
+
this.destroy$.next();
|
|
401
|
+
};
|
|
402
|
+
ChipsInputAtom.prototype.onChiInputTokenEnd = function (event) {
|
|
403
|
+
this.chipsManager.add(event.value);
|
|
404
|
+
this.control.setValue(this.chipsManager.getValue());
|
|
405
|
+
event.input.value = '';
|
|
406
|
+
};
|
|
407
|
+
ChipsInputAtom.prototype.remove = function (value) {
|
|
408
|
+
this.chipsManager.remove(value);
|
|
409
|
+
this.control.setValue(this.chipsManager.getValue());
|
|
410
|
+
};
|
|
411
|
+
return ChipsInputAtom;
|
|
412
|
+
}());
|
|
413
|
+
ChipsInputAtom.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputAtom, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: ChipsManager }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
414
|
+
ChipsInputAtom.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ChipsInputAtom, selector: "atoms-chips-input", inputs: { separators: "separators", control: "control", placeholder: "placeholder" }, ngImport: i0__namespace, template: "<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 [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separators\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n</mat-chip-list>\n", styles: [":host{display:block}\n"], components: [{ type: i2__namespace.MatChipList, selector: "mat-chip-list", inputs: ["aria-orientation", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "selectable", "tabIndex", "errorStateMatcher"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }, { type: i3__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { type: i2__namespace.MatChipRemove, selector: "[matChipRemove]" }, { type: i2__namespace.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputSeparatorKeyCodes", "placeholder", "id", "matChipInputFor", "matChipInputAddOnBlur", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
415
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputAtom, decorators: [{
|
|
416
|
+
type: i0.Component,
|
|
417
|
+
args: [{
|
|
418
|
+
selector: 'atoms-chips-input',
|
|
419
|
+
templateUrl: './chips-input.atom.html',
|
|
420
|
+
styleUrls: ['./chips-input.atom.scss'],
|
|
421
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
422
|
+
}]
|
|
423
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: ChipsManager }]; }, propDecorators: { separators: [{
|
|
424
|
+
type: i0.Input
|
|
425
|
+
}], control: [{
|
|
426
|
+
type: i0.Input
|
|
427
|
+
}], placeholder: [{
|
|
428
|
+
type: i0.Input
|
|
429
|
+
}] } });
|
|
430
|
+
|
|
431
|
+
var ChipsInputModule = /** @class */ (function () {
|
|
432
|
+
function ChipsInputModule() {
|
|
433
|
+
}
|
|
434
|
+
return ChipsInputModule;
|
|
435
|
+
}());
|
|
436
|
+
ChipsInputModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
437
|
+
ChipsInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputModule, declarations: [ChipsInputAtom], imports: [i4.CommonModule,
|
|
438
|
+
forms.ReactiveFormsModule,
|
|
439
|
+
// Materials
|
|
440
|
+
i2.MatChipsModule,
|
|
441
|
+
i3.MatIconModule,
|
|
442
|
+
input.MatInputModule], exports: [ChipsInputAtom] });
|
|
443
|
+
ChipsInputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputModule, providers: [ChipsManager], imports: [[
|
|
444
|
+
i4.CommonModule,
|
|
445
|
+
forms.ReactiveFormsModule,
|
|
446
|
+
// Materials
|
|
447
|
+
i2.MatChipsModule,
|
|
448
|
+
i3.MatIconModule,
|
|
449
|
+
input.MatInputModule,
|
|
450
|
+
]] });
|
|
451
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ChipsInputModule, decorators: [{
|
|
452
|
+
type: i0.NgModule,
|
|
453
|
+
args: [{
|
|
454
|
+
declarations: [ChipsInputAtom],
|
|
455
|
+
imports: [
|
|
456
|
+
i4.CommonModule,
|
|
457
|
+
forms.ReactiveFormsModule,
|
|
458
|
+
// Materials
|
|
459
|
+
i2.MatChipsModule,
|
|
460
|
+
i3.MatIconModule,
|
|
461
|
+
input.MatInputModule,
|
|
462
|
+
],
|
|
463
|
+
exports: [ChipsInputAtom],
|
|
464
|
+
providers: [ChipsManager],
|
|
465
|
+
}]
|
|
466
|
+
}] });
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Generated bundle index. Do not edit.
|
|
470
|
+
*/
|
|
471
|
+
|
|
472
|
+
exports.ChipsInputAtom = ChipsInputAtom;
|
|
473
|
+
exports.ChipsInputModule = ChipsInputModule;
|
|
474
|
+
|
|
475
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
476
|
+
|
|
477
|
+
}));
|
|
478
|
+
//# sourceMappingURL=ng-atomic-components-atoms-chips-input.umd.js.map
|