@ng-atomic/components 4.21.1 → 5.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 +2 -2
- package/atoms/chips-input/chips-input.module.d.ts +3 -3
- package/atoms/icon/icon.atom.d.ts +1 -1
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +1 -1
- package/atoms/smart-menu-button/smart-menu-button.module.d.ts +3 -3
- package/esm2020/app.module.mjs +4 -4
- package/esm2020/atoms/chips-input/chips-input.atom.mjs +6 -6
- package/esm2020/atoms/chips-input/chips-input.module.mjs +7 -7
- package/esm2020/atoms/icon/icon.atom.mjs +9 -9
- package/esm2020/atoms/icon/icon.module.mjs +4 -4
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +5 -5
- package/esm2020/atoms/smart-menu-button/smart-menu-button.module.mjs +7 -7
- package/esm2020/frames/auto-layout/auto-layout.frame.mjs +4 -4
- package/esm2020/frames/auto-layout/auto-layout.module.mjs +4 -4
- package/esm2020/frames/card/card.frame.mjs +4 -4
- package/esm2020/frames/card/card.module.mjs +6 -6
- package/esm2020/frames/drawer/drawer.frame.mjs +4 -4
- package/esm2020/frames/drawer/drawer.module.mjs +4 -4
- package/esm2020/frames/line-up/line-up.frame.mjs +16 -16
- package/esm2020/frames/line-up/line-up.module.mjs +6 -6
- package/esm2020/frames/overlay/overlay.frame.mjs +4 -4
- package/esm2020/frames/overlay/overlay.module.mjs +6 -6
- package/esm2020/frames/scroll/scroll.frame.mjs +4 -4
- package/esm2020/frames/scroll/scroll.module.mjs +4 -4
- package/esm2020/frames/smart-menu/smart-menu.frame.mjs +4 -4
- package/esm2020/frames/smart-menu/smart-menu.module.mjs +4 -4
- package/esm2020/molecules/actions-column/actions-column.module.mjs +8 -8
- package/esm2020/molecules/actions-column/actions-column.molecule.mjs +12 -12
- package/esm2020/molecules/checkbox-column/checkbox-column.module.mjs +7 -7
- package/esm2020/molecules/checkbox-column/checkbox-column.molecule.mjs +11 -11
- package/esm2020/molecules/chips-input-field/chips-input-field.module.mjs +8 -8
- package/esm2020/molecules/chips-input-field/chips-input-field.molecule.mjs +7 -7
- package/esm2020/molecules/date-input-field/date-input-field.module.mjs +6 -6
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +6 -6
- package/esm2020/molecules/header/header.module.mjs +4 -4
- package/esm2020/molecules/header/header.molecule.mjs +3 -3
- package/esm2020/molecules/navigation-list-item/navigation-list-item.module.mjs +6 -6
- package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +4 -4
- package/esm2020/molecules/select-input-field/select-input-field.module.mjs +6 -6
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +7 -7
- package/esm2020/molecules/smart-column/smart-column.module.mjs +8 -8
- package/esm2020/molecules/smart-column/smart-column.molecule.mjs +7 -7
- package/esm2020/molecules/text-input-field/text-input-field.module.mjs +6 -6
- package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +5 -5
- package/esm2020/molecules/textarea-field/textarea-field.module.mjs +6 -6
- package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +5 -5
- package/esm2020/organisms/action-buttons-section/action-buttons-section.module.mjs +6 -6
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +5 -5
- package/esm2020/organisms/back-navigator/back-navigator.module.mjs +6 -6
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +5 -5
- package/esm2020/organisms/card-input-section/card-input-section.module.mjs +4 -4
- package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +4 -4
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.mjs +4 -4
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +4 -4
- package/esm2020/organisms/date-input-section/date-input-section.module.mjs +4 -4
- package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +4 -4
- package/esm2020/organisms/heading/heading.module.mjs +4 -4
- package/esm2020/organisms/heading/heading.organism.mjs +4 -4
- package/esm2020/organisms/navigation-list/navigation-list.module.mjs +6 -6
- package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +5 -5
- package/esm2020/organisms/navigator/navigator.module.mjs +6 -6
- package/esm2020/organisms/navigator/navigator.organism.mjs +4 -4
- package/esm2020/organisms/paginator/paginator.module.mjs +6 -6
- package/esm2020/organisms/paginator/paginator.organism.mjs +6 -6
- package/esm2020/organisms/select-input-section/select-input-section.module.mjs +4 -4
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +4 -4
- package/esm2020/organisms/smart-list/smart-list.module.mjs +6 -6
- package/esm2020/organisms/smart-list/smart-list.organism.mjs +4 -4
- package/esm2020/organisms/smart-table/smart-table.module.mjs +9 -9
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +5 -5
- package/esm2020/organisms/social-login-section/social-login-section.module.mjs +6 -6
- package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +5 -5
- package/esm2020/organisms/text-input-section/text-input-section.module.mjs +4 -4
- package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +4 -4
- package/esm2020/organisms/textarea-section/textarea-section.module.mjs +4 -4
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +4 -4
- package/esm2020/organisms/top-navigator/top-navigator.module.mjs +6 -6
- package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +4 -4
- package/esm2020/pages/_index/index.module.mjs +4 -4
- package/esm2020/pages/_index/index.page.mjs +3 -3
- package/esm2020/pages/blank/blank.module.mjs +4 -4
- package/esm2020/pages/blank/blank.page.mjs +3 -3
- package/esm2020/templates/entrance/entrance.module.mjs +4 -4
- package/esm2020/templates/entrance/entrance.template.mjs +4 -4
- package/esm2020/templates/loading/loading.module.mjs +6 -6
- package/esm2020/templates/loading/loading.template.mjs +4 -4
- package/esm2020/templates/menu/menu.module.mjs +4 -4
- package/esm2020/templates/menu/menu.template.mjs +4 -4
- package/esm2020/templates/smart-crud/smart-crud.module.mjs +4 -4
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +4 -4
- package/esm2020/templates/smart-index/smart-index.module.mjs +4 -4
- package/esm2020/templates/smart-index/smart-index.template.mjs +6 -6
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs +17 -17
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +12 -12
- package/fesm2015/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +17 -17
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +8 -8
- package/fesm2015/ng-atomic-components-frames-card.mjs +12 -12
- package/fesm2015/ng-atomic-components-frames-card.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-drawer.mjs +8 -8
- package/fesm2015/ng-atomic-components-frames-line-up.mjs +23 -23
- package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay.mjs +12 -12
- package/fesm2015/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-frames-scroll.mjs +8 -8
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +8 -8
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +27 -27
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs +24 -24
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +25 -25
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +14 -14
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-header.mjs +7 -7
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +12 -12
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +15 -15
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +22 -22
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +13 -13
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +13 -13
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +13 -13
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +13 -13
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +8 -8
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +8 -8
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +8 -8
- package/fesm2015/ng-atomic-components-organisms-heading.mjs +8 -8
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +13 -13
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs +12 -12
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs +12 -12
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +8 -8
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs +12 -12
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +25 -25
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +13 -13
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +8 -8
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +8 -8
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +12 -12
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-pages-_index.mjs +7 -7
- package/fesm2015/ng-atomic-components-pages-blank.mjs +7 -7
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +8 -8
- package/fesm2015/ng-atomic-components-templates-loading.mjs +12 -12
- package/fesm2015/ng-atomic-components-templates-loading.mjs.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.mjs +8 -8
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +8 -8
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +8 -8
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2015/ng-atomic-components.mjs +4 -4
- package/fesm2020/ng-atomic-components-atoms-chips-input.mjs +17 -17
- package/fesm2020/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-icon.mjs +12 -12
- package/fesm2020/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +17 -17
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +8 -8
- package/fesm2020/ng-atomic-components-frames-card.mjs +12 -12
- package/fesm2020/ng-atomic-components-frames-card.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-drawer.mjs +8 -8
- package/fesm2020/ng-atomic-components-frames-line-up.mjs +23 -23
- package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-overlay.mjs +12 -12
- package/fesm2020/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-frames-scroll.mjs +8 -8
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +8 -8
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +27 -27
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs +24 -24
- package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs +25 -25
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +14 -14
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-header.mjs +7 -7
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +12 -12
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +15 -15
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +22 -22
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +13 -13
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +13 -13
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +13 -13
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +13 -13
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +8 -8
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +8 -8
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +8 -8
- package/fesm2020/ng-atomic-components-organisms-heading.mjs +8 -8
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +13 -13
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs +12 -12
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs +12 -12
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +8 -8
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs +12 -12
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +25 -25
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +13 -13
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +8 -8
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +8 -8
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +12 -12
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-pages-_index.mjs +7 -7
- package/fesm2020/ng-atomic-components-pages-blank.mjs +7 -7
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +8 -8
- package/fesm2020/ng-atomic-components-templates-loading.mjs +12 -12
- package/fesm2020/ng-atomic-components-templates-loading.mjs.map +1 -1
- package/fesm2020/ng-atomic-components-templates-menu.mjs +8 -8
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +8 -8
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +9 -9
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -1
- package/fesm2020/ng-atomic-components.mjs +4 -4
- package/frames/auto-layout/auto-layout.frame.d.ts +1 -1
- package/frames/card/card.frame.d.ts +1 -1
- package/frames/card/card.module.d.ts +2 -2
- package/frames/drawer/drawer.frame.d.ts +1 -1
- package/frames/line-up/line-up.frame.d.ts +1 -1
- package/frames/line-up/line-up.module.d.ts +2 -2
- package/frames/overlay/overlay.frame.d.ts +1 -1
- package/frames/overlay/overlay.module.d.ts +2 -2
- package/frames/scroll/scroll.frame.d.ts +1 -1
- package/frames/smart-menu/smart-menu.frame.d.ts +1 -1
- package/molecules/actions-column/actions-column.module.d.ts +4 -4
- package/molecules/actions-column/actions-column.molecule.d.ts +1 -1
- package/molecules/checkbox-column/checkbox-column.module.d.ts +3 -3
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +1 -1
- package/molecules/chips-input-field/chips-input-field.module.d.ts +4 -4
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +3 -3
- package/molecules/date-input-field/date-input-field.module.d.ts +2 -2
- package/molecules/date-input-field/date-input-field.molecule.d.ts +1 -1
- package/molecules/header/header.molecule.d.ts +1 -1
- package/molecules/navigation-list-item/navigation-list-item.module.d.ts +2 -2
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +1 -1
- package/molecules/select-input-field/select-input-field.module.d.ts +2 -2
- package/molecules/select-input-field/select-input-field.molecule.d.ts +1 -1
- package/molecules/smart-column/smart-column.module.d.ts +4 -4
- package/molecules/smart-column/smart-column.molecule.d.ts +2 -2
- package/molecules/text-input-field/text-input-field.module.d.ts +2 -2
- package/molecules/text-input-field/text-input-field.molecule.d.ts +1 -1
- package/molecules/textarea-field/textarea-field.module.d.ts +2 -2
- package/molecules/textarea-field/textarea-field.molecule.d.ts +1 -1
- package/organisms/action-buttons-section/action-buttons-section.module.d.ts +2 -2
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -1
- package/organisms/back-navigator/back-navigator.module.d.ts +2 -2
- package/organisms/back-navigator/back-navigator.organism.d.ts +1 -1
- package/organisms/card-input-section/card-input-section.organism.d.ts +1 -1
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +1 -1
- package/organisms/date-input-section/date-input-section.organism.d.ts +1 -1
- package/organisms/heading/heading.organism.d.ts +1 -1
- package/organisms/navigation-list/navigation-list.module.d.ts +2 -2
- package/organisms/navigation-list/navigation-list.organism.d.ts +1 -1
- package/organisms/navigator/navigator.module.d.ts +2 -2
- package/organisms/navigator/navigator.organism.d.ts +1 -1
- package/organisms/paginator/paginator.module.d.ts +2 -2
- package/organisms/paginator/paginator.organism.d.ts +2 -2
- package/organisms/select-input-section/select-input-section.organism.d.ts +1 -1
- package/organisms/smart-list/smart-list.module.d.ts +2 -2
- package/organisms/smart-list/smart-list.organism.d.ts +1 -1
- package/organisms/smart-table/smart-table.module.d.ts +5 -5
- package/organisms/smart-table/smart-table.organism.d.ts +1 -1
- package/organisms/social-login-section/social-login-section.module.d.ts +2 -2
- package/organisms/social-login-section/social-login-section.organism.d.ts +1 -1
- package/organisms/text-input-section/text-input-section.organism.d.ts +1 -1
- package/organisms/textarea-section/textarea-section.organism.d.ts +1 -1
- package/organisms/top-navigator/top-navigator.module.d.ts +2 -2
- package/organisms/top-navigator/top-navigator.organism.d.ts +1 -1
- package/package.json +16 -15
- package/pages/_index/index.page.d.ts +1 -1
- package/pages/blank/blank.page.d.ts +1 -1
- package/templates/entrance/entrance.template.d.ts +1 -1
- package/templates/loading/loading.module.d.ts +2 -2
- package/templates/loading/loading.template.d.ts +1 -1
- package/templates/menu/menu.template.d.ts +1 -1
- package/templates/smart-crud/smart-crud.template.d.ts +1 -1
- package/templates/smart-index/smart-index.template.d.ts +2 -2
|
@@ -8,14 +8,14 @@ import { FormControl } from '@ngneat/reactive-forms';
|
|
|
8
8
|
import { ReplaySubject, takeUntil } from 'rxjs';
|
|
9
9
|
import * as i1 from '@ng-atomic/common/services/chips-manager';
|
|
10
10
|
import { ChipsManager } from '@ng-atomic/common/services/chips-manager';
|
|
11
|
-
import * as i3 from '@angular/material/chips';
|
|
12
|
-
import {
|
|
11
|
+
import * as i3 from '@angular/material/legacy-chips';
|
|
12
|
+
import { MatLegacyChipsModule } from '@angular/material/legacy-chips';
|
|
13
13
|
import * as i4 from '@angular/material/icon';
|
|
14
14
|
import { MatIconModule } from '@angular/material/icon';
|
|
15
|
-
import * as i5 from '@angular/material/form-field';
|
|
16
|
-
import {
|
|
17
|
-
import * as i6 from '@angular/material/input';
|
|
18
|
-
import {
|
|
15
|
+
import * as i5 from '@angular/material/legacy-form-field';
|
|
16
|
+
import { MatLegacyFormFieldModule } from '@angular/material/legacy-form-field';
|
|
17
|
+
import * as i6 from '@angular/material/legacy-input';
|
|
18
|
+
import { MatLegacyInputModule } from '@angular/material/legacy-input';
|
|
19
19
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
20
20
|
|
|
21
21
|
class ChipsInputFieldMolecule {
|
|
@@ -51,9 +51,9 @@ class ChipsInputFieldMolecule {
|
|
|
51
51
|
this.control.setValue(this.chipsManager.getValue());
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
ChipsInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
55
|
-
ChipsInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
ChipsInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ChipsInputFieldMolecule, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ChipsManager }], target: i0.ɵɵFactoryTarget.Component });
|
|
55
|
+
ChipsInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: ChipsInputFieldMolecule, selector: "molecules-chips-input-field", inputs: { appearance: "appearance", control: "control", floatLabel: "floatLabel", label: "label", hint: "hint", placeholder: "placeholder", separators: "separators" }, providers: [ChipsManager], ngImport: i0, template: "<mat-form-field [appearance]=\"appearance\" [floatLabel]=\"floatLabel\">\n <mat-label>{{ label }}</mat-label>\n <mat-chip-list #chipList>\n <mat-chip *ngFor=\"let chip of chipsManager.chips\" (removed)=\"remove(chip)\">\n {{chip}} <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n <input\n matInput\n [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separators\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n</mat-chip-list>\n\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host mat-form-field{width:100%;height:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatLegacyChipList, selector: "mat-chip-list", inputs: ["role", "aria-describedby", "errorStateMatcher", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "aria-orientation", "selectable", "tabIndex"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }, { kind: "directive", type: i3.MatLegacyChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "role", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { kind: "directive", type: i3.MatLegacyChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i3.MatLegacyChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatLegacyFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLegacyHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatLegacyLabel, selector: "mat-label" }, { kind: "directive", type: i6.MatLegacyInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", exportAs: ["matInput"] }] });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ChipsInputFieldMolecule, decorators: [{
|
|
57
57
|
type: Component,
|
|
58
58
|
args: [{ selector: 'molecules-chips-input-field', providers: [ChipsManager], template: "<mat-form-field [appearance]=\"appearance\" [floatLabel]=\"floatLabel\">\n <mat-label>{{ label }}</mat-label>\n <mat-chip-list #chipList>\n <mat-chip *ngFor=\"let chip of chipsManager.chips\" (removed)=\"remove(chip)\">\n {{chip}} <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n <input\n matInput\n [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separators\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n</mat-chip-list>\n\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host mat-form-field{width:100%;height:100%}\n"] }]
|
|
59
59
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ChipsManager }]; }, propDecorators: { appearance: [{
|
|
@@ -74,28 +74,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
|
|
|
74
74
|
|
|
75
75
|
class ChipsInputFieldModule {
|
|
76
76
|
}
|
|
77
|
-
ChipsInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
78
|
-
ChipsInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
77
|
+
ChipsInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ChipsInputFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
78
|
+
ChipsInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: ChipsInputFieldModule, bootstrap: [ChipsInputFieldMolecule], declarations: [ChipsInputFieldMolecule], imports: [CommonModule,
|
|
79
79
|
ReactiveFormsModule,
|
|
80
80
|
// Materials
|
|
81
|
-
|
|
81
|
+
MatLegacyChipsModule,
|
|
82
82
|
MatIconModule,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
MatLegacyInputModule,
|
|
84
|
+
MatLegacyFormFieldModule,
|
|
85
|
+
MatLegacyInputModule,
|
|
86
86
|
// Atoms
|
|
87
87
|
ChipsInputModule], exports: [ChipsInputFieldMolecule] });
|
|
88
|
-
ChipsInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
88
|
+
ChipsInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ChipsInputFieldModule, imports: [CommonModule,
|
|
89
89
|
ReactiveFormsModule,
|
|
90
90
|
// Materials
|
|
91
|
-
|
|
91
|
+
MatLegacyChipsModule,
|
|
92
92
|
MatIconModule,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
MatLegacyInputModule,
|
|
94
|
+
MatLegacyFormFieldModule,
|
|
95
|
+
MatLegacyInputModule,
|
|
96
96
|
// Atoms
|
|
97
97
|
ChipsInputModule] });
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ChipsInputFieldModule, decorators: [{
|
|
99
99
|
type: NgModule,
|
|
100
100
|
args: [{
|
|
101
101
|
declarations: [
|
|
@@ -105,11 +105,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
|
|
|
105
105
|
CommonModule,
|
|
106
106
|
ReactiveFormsModule,
|
|
107
107
|
// Materials
|
|
108
|
-
|
|
108
|
+
MatLegacyChipsModule,
|
|
109
109
|
MatIconModule,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
MatLegacyInputModule,
|
|
111
|
+
MatLegacyFormFieldModule,
|
|
112
|
+
MatLegacyInputModule,
|
|
113
113
|
// Atoms
|
|
114
114
|
ChipsInputModule,
|
|
115
115
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-chips-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/chips-input-field/chips-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/chips-input-field/chips-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/chips-input-field/chips-input-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.ts"],"sourcesContent":["import { COMMA, ENTER, SPACE } from '@angular/cdk/keycodes';\nimport { ChangeDetectorRef, Component, Input } from '@angular/core';\nimport { MatChipInputEvent } from '@angular/material/chips';\nimport { MatFormFieldAppearance } from '@angular/material/form-field';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport { ReplaySubject, takeUntil } from 'rxjs';\nimport { ChipsManager } from '@ng-atomic/common/services/chips-manager';\n\n\n@Component({\n selector: 'molecules-chips-input-field',\n templateUrl: './chips-input-field.molecule.html',\n styleUrls: ['./chips-input-field.molecule.scss'],\n // changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ChipsManager],\n})\nexport class ChipsInputFieldMolecule {\n\n @Input()\n appearance: MatFormFieldAppearance = 'outline';\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n floatLabel = 'auto';\n\n @Input()\n label = 'label';\n\n @Input()\n hint = 'hint';\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n separators = [ENTER, COMMA, SPACE] as const;\n\n private readonly destroy$ = new ReplaySubject<void>(1);\n\n constructor(\n private cd: ChangeDetectorRef,\n public chipsManager: ChipsManager,\n ) { }\n\n ngOnInit(): void {\n this.chipsManager.setValue(this.control.value);\n this.control.valueChanges.pipe(takeUntil(this.destroy$)).subscribe((value) => {\n this.chipsManager.setValue(value);\n this.cd.markForCheck();\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n }\n\n onChiInputTokenEnd(event: MatChipInputEvent): void {\n this.chipsManager.add(event.value);\n this.control.setValue(this.chipsManager.getValue());\n event.input.value = '';\n }\n\n remove(value: string): void {\n this.chipsManager.remove(value);\n this.control.setValue(this.chipsManager.getValue());\n }\n}\n","<mat-form-field [appearance]=\"appearance\" [floatLabel]=\"floatLabel\">\n <mat-label>{{ label }}</mat-label>\n <mat-chip-list #chipList>\n <mat-chip *ngFor=\"let chip of chipsManager.chips\" (removed)=\"remove(chip)\">\n {{chip}} <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n <input\n matInput\n [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separators\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n</mat-chip-list>\n\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ChipsInputModule } from '@ng-atomic/components/atoms/chips-input';\n\nimport { ChipsInputFieldMolecule } from './chips-input-field.molecule';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatChipsModule } from '@angular/material/chips';\nimport { MatIconModule } from '@angular/material/icon';\n\n@NgModule({\n declarations: [\n ChipsInputFieldMolecule\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatChipsModule,\n MatIconModule,\n MatInputModule,\n MatFormFieldModule,\n MatInputModule,\n // Atoms\n ChipsInputModule,\n ],\n exports: [ChipsInputFieldMolecule],\n bootstrap: [ChipsInputFieldMolecule],\n})\nexport class ChipsInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;MAgBa,uBAAuB,CAAA;IAyBlC,WACU,CAAA,EAAqB,EACtB,YAA0B,EAAA;QADzB,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;QACtB,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAc;QAxBnC,IAAU,CAAA,UAAA,GAA2B,SAAS,CAAC;AAG/C,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAS,EAAE,CAAC,CAAC;QAGtC,IAAU,CAAA,UAAA,GAAG,MAAM,CAAC;QAGpB,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;QAGhB,IAAI,CAAA,IAAA,GAAG,MAAM,CAAC;QAGd,IAAW,CAAA,WAAA,GAAG,aAAa,CAAC;QAG5B,IAAU,CAAA,UAAA,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAU,CAAC;AAE3B,QAAA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uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uBAAuB,EAFvB,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,YAAA,EAAA,KAAA,EAAA,OAAA,EAAA,IAAA,EAAA,MAAA,EAAA,WAAA,EAAA,aAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,SAAA,EAAA,CAAC,YAAY,CAAC,0BCd3B,+nBAiBiB,EAAA,MAAA,EAAA,CAAA,wIAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-chips-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/chips-input-field/chips-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/chips-input-field/chips-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/chips-input-field/chips-input-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.ts"],"sourcesContent":["import { COMMA, ENTER, SPACE } from '@angular/cdk/keycodes';\nimport { ChangeDetectorRef, Component, Input } from '@angular/core';\nimport { MatLegacyChipInputEvent as MatChipInputEvent } from '@angular/material/legacy-chips';\nimport { MatLegacyFormFieldAppearance as MatFormFieldAppearance } from '@angular/material/legacy-form-field';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport { ReplaySubject, takeUntil } from 'rxjs';\nimport { ChipsManager } from '@ng-atomic/common/services/chips-manager';\n\n\n@Component({\n selector: 'molecules-chips-input-field',\n templateUrl: './chips-input-field.molecule.html',\n styleUrls: ['./chips-input-field.molecule.scss'],\n // changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [ChipsManager],\n})\nexport class ChipsInputFieldMolecule {\n\n @Input()\n appearance: MatFormFieldAppearance = 'outline';\n\n @Input()\n control = new FormControl<string>('');\n\n @Input()\n floatLabel = 'auto';\n\n @Input()\n label = 'label';\n\n @Input()\n hint = 'hint';\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n separators = [ENTER, COMMA, SPACE] as const;\n\n private readonly destroy$ = new ReplaySubject<void>(1);\n\n constructor(\n private cd: ChangeDetectorRef,\n public chipsManager: ChipsManager,\n ) { }\n\n ngOnInit(): void {\n this.chipsManager.setValue(this.control.value);\n this.control.valueChanges.pipe(takeUntil(this.destroy$)).subscribe((value) => {\n this.chipsManager.setValue(value);\n this.cd.markForCheck();\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n }\n\n onChiInputTokenEnd(event: MatChipInputEvent): void {\n this.chipsManager.add(event.value);\n this.control.setValue(this.chipsManager.getValue());\n event.input.value = '';\n }\n\n remove(value: string): void {\n this.chipsManager.remove(value);\n this.control.setValue(this.chipsManager.getValue());\n }\n}\n","<mat-form-field [appearance]=\"appearance\" [floatLabel]=\"floatLabel\">\n <mat-label>{{ label }}</mat-label>\n <mat-chip-list #chipList>\n <mat-chip *ngFor=\"let chip of chipsManager.chips\" (removed)=\"remove(chip)\">\n {{chip}} <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n <input\n matInput\n [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separators\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"onChiInputTokenEnd($event)\"\n >\n</mat-chip-list>\n\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ChipsInputModule } from '@ng-atomic/components/atoms/chips-input';\n\nimport { ChipsInputFieldMolecule } from './chips-input-field.molecule';\nimport { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/material/legacy-form-field';\nimport { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatLegacyChipsModule as MatChipsModule } from '@angular/material/legacy-chips';\nimport { MatIconModule } from '@angular/material/icon';\n\n@NgModule({\n declarations: [\n ChipsInputFieldMolecule\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatChipsModule,\n MatIconModule,\n MatInputModule,\n MatFormFieldModule,\n MatInputModule,\n // Atoms\n ChipsInputModule,\n ],\n exports: [ChipsInputFieldMolecule],\n bootstrap: [ChipsInputFieldMolecule],\n})\nexport class ChipsInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatChipsModule","MatInputModule","MatFormFieldModule"],"mappings":";;;;;;;;;;;;;;;;;;;;MAgBa,uBAAuB,CAAA;IAyBlC,WACU,CAAA,EAAqB,EACtB,YAA0B,EAAA;QADzB,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;QACtB,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAc;QAxBnC,IAAU,CAAA,UAAA,GAA2B,SAAS,CAAC;AAG/C,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAS,EAAE,CAAC,CAAC;QAGtC,IAAU,CAAA,UAAA,GAAG,MAAM,CAAC;QAGpB,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;QAGhB,IAAI,CAAA,IAAA,GAAG,MAA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;QAClBD,oBAAc;;AAEd,QAAA,gBAAgB,aAER,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAGtB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAd9B,YAAY;QACZ,mBAAmB;;QAEnBD,oBAAc;QACd,aAAa;QACbC,oBAAc;QACdC,wBAAkB;QAClBD,oBAAc;;QAEd,gBAAgB,CAAA,EAAA,CAAA,CAAA;2FAKP,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAnBjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,uBAAuB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;;wBAEnBD,oBAAc;wBACd,aAAa;wBACbC,oBAAc;wBACdC,wBAAkB;wBAClBD,oBAAc;;wBAEd,gBAAgB;AACjB,qBAAA;oBACD,OAAO,EAAE,CAAC,uBAAuB,CAAC;oBAClC,SAAS,EAAE,CAAC,uBAAuB,CAAC;AACrC,iBAAA,CAAA;;;AC7BD;;AAEG;;;;"}
|
|
@@ -6,9 +6,9 @@ import * as i1 from '@angular/common';
|
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
import * as i2 from '@angular/forms';
|
|
8
8
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
9
|
-
import * as i3 from '@angular/material/form-field';
|
|
10
|
-
import * as i4 from '@angular/material/input';
|
|
11
|
-
import {
|
|
9
|
+
import * as i3 from '@angular/material/legacy-form-field';
|
|
10
|
+
import * as i4 from '@angular/material/legacy-input';
|
|
11
|
+
import { MatLegacyInputModule } from '@angular/material/legacy-input';
|
|
12
12
|
import * as i5 from '@angular/material/datepicker';
|
|
13
13
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
14
14
|
import { MatDayjsDateModule } from '@ng-atomic/common/utils';
|
|
@@ -26,11 +26,11 @@ class DateInputFieldMolecule {
|
|
|
26
26
|
this.control.setValue(this._control.value);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
DateInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
DateInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
DateInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DateInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
+
DateInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: DateInputFieldMolecule, selector: "molecules-date-input-field", inputs: { _control: ["control", "_control"], label: "label", placeholder: "placeholder", hint: "hint" }, host: { classAttribute: "molecule field" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-NGlS: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatLegacyFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLegacyHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLegacyLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatLegacySuffix, selector: "[matSuffix]" }, { kind: "directive", type: i4.MatLegacyInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", exportAs: ["matInput"] }, { kind: "component", type: i5.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i5.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i5.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DateInputFieldMolecule, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
|
-
args: [{ selector: 'molecules-date-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-
|
|
33
|
+
args: [{ selector: 'molecules-date-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-NGlS: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
34
34
|
}], propDecorators: { _control: [{
|
|
35
35
|
type: Input,
|
|
36
36
|
args: ['control']
|
|
@@ -44,25 +44,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
|
|
|
44
44
|
|
|
45
45
|
class DateInputFieldModule {
|
|
46
46
|
}
|
|
47
|
-
DateInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
DateInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
47
|
+
DateInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DateInputFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
+
DateInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DateInputFieldModule, bootstrap: [DateInputFieldMolecule], declarations: [DateInputFieldMolecule], imports: [CommonModule,
|
|
49
49
|
ReactiveFormsModule,
|
|
50
|
-
|
|
50
|
+
MatLegacyInputModule,
|
|
51
51
|
MatDatepickerModule,
|
|
52
52
|
MatDayjsDateModule], exports: [DateInputFieldMolecule] });
|
|
53
|
-
DateInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
53
|
+
DateInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DateInputFieldModule, imports: [CommonModule,
|
|
54
54
|
ReactiveFormsModule,
|
|
55
|
-
|
|
55
|
+
MatLegacyInputModule,
|
|
56
56
|
MatDatepickerModule,
|
|
57
57
|
MatDayjsDateModule] });
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DateInputFieldModule, decorators: [{
|
|
59
59
|
type: NgModule,
|
|
60
60
|
args: [{
|
|
61
61
|
declarations: [DateInputFieldMolecule],
|
|
62
62
|
imports: [
|
|
63
63
|
CommonModule,
|
|
64
64
|
ReactiveFormsModule,
|
|
65
|
-
|
|
65
|
+
MatLegacyInputModule,
|
|
66
66
|
MatDatepickerModule,
|
|
67
67
|
MatDayjsDateModule,
|
|
68
68
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-date-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/date-input-field/date-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/date-input-field/date-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/date-input-field/date-input-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport { Dayjs } from 'dayjs';\nimport { filter } from 'rxjs/operators';\n\n@Component({\n selector: 'molecules-date-input-field',\n templateUrl: './date-input-field.molecule.html',\n styleUrls: ['./date-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class DateInputFieldMolecule {\n control = new FormControl<Dayjs>();\n\n @Input('control')\n private _control = new FormControl<Dayjs>();\n\n @Input()\n label = '';\n\n @Input()\n placeholder = '';\n\n @Input()\n hint?: string;\n\n ngOnInit(): void {\n this.control.valueChanges.pipe(\n filter(value => this._control.value !== value),\n ).subscribe(value => this._control.setValue(value));\n\n this._control.valueChanges.subscribe(value => this.control.setValue(value));\n this.control.setValue(this._control.value);\n }\n}\n","<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatDayjsDateModule, MAT_DAYJS_JP_PROVIDERS } from '@ng-atomic/common/utils';\nimport { DateInputFieldMolecule } from './date-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [DateInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n MatDatepickerModule,\n MatDayjsDateModule,\n ],\n exports: [DateInputFieldMolecule],\n bootstrap: [DateInputFieldMolecule],\n // providers: [...MAT_DAYJS_JP_PROVIDERS],\n})\nexport class DateInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;MAYa,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;AAQE,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,EAAS,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A,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-date-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/date-input-field/date-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/date-input-field/date-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/date-input-field/date-input-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport { Dayjs } from 'dayjs';\nimport { filter } from 'rxjs/operators';\n\n@Component({\n selector: 'molecules-date-input-field',\n templateUrl: './date-input-field.molecule.html',\n styleUrls: ['./date-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class DateInputFieldMolecule {\n control = new FormControl<Dayjs>();\n\n @Input('control')\n private _control = new FormControl<Dayjs>();\n\n @Input()\n label = '';\n\n @Input()\n placeholder = '';\n\n @Input()\n hint?: string;\n\n ngOnInit(): void {\n this.control.valueChanges.pipe(\n filter(value => this._control.value !== value),\n ).subscribe(value => this._control.setValue(value));\n\n this._control.valueChanges.subscribe(value => this.control.setValue(value));\n this.control.setValue(this._control.value);\n }\n}\n","<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\" [matDatepicker]=\"picker\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatDayjsDateModule, MAT_DAYJS_JP_PROVIDERS } from '@ng-atomic/common/utils';\nimport { DateInputFieldMolecule } from './date-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [DateInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n MatDatepickerModule,\n MatDayjsDateModule,\n ],\n exports: [DateInputFieldMolecule],\n bootstrap: [DateInputFieldMolecule],\n // providers: [...MAT_DAYJS_JP_PROVIDERS],\n})\nexport class DateInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatInputModule"],"mappings":";;;;;;;;;;;;;;;MAYa,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;AAQE,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,EAAS,CAAC;AAG3B,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,WAAW,EAAS,CAAC;QAG5C,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;QAGX,IAAW,CAAA,WAAA,GAAG,EAAE,CAAC;AAalB,KAAA;IARC,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAC5B,MAAM,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,KAAK,KAAK,CAAC,CAC/C,CAAC,SAAS,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KA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sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnBA,oBAAc;wBACd,mBAAmB;wBACnB,kBAAkB;AACnB,qBAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,SAAS,EAAE,CAAC,sBAAsB,CAAC;;AAEpC,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
|
|
@@ -7,9 +7,9 @@ class HeaderMolecule {
|
|
|
7
7
|
this.title = 'title';
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
HeaderMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
HeaderMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10
|
+
HeaderMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeaderMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
HeaderMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: HeaderMolecule, selector: "molecules-header", inputs: { title: "title", description: "description" }, ngImport: i0, template: "<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n", styles: [":host{display:block}:host{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeaderMolecule, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{ selector: 'molecules-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n", styles: [":host{display:block}:host{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}\n"] }]
|
|
15
15
|
}], propDecorators: { title: [{
|
|
@@ -20,10 +20,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
|
|
|
20
20
|
|
|
21
21
|
class HeaderModule {
|
|
22
22
|
}
|
|
23
|
-
HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
25
|
-
HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
24
|
+
HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: HeaderModule, declarations: [HeaderMolecule], imports: [CommonModule], exports: [HeaderMolecule] });
|
|
25
|
+
HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeaderModule, imports: [CommonModule] });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeaderModule, decorators: [{
|
|
27
27
|
type: NgModule,
|
|
28
28
|
args: [{
|
|
29
29
|
declarations: [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/material/core';
|
|
4
|
-
import * as i2 from '@angular/material/list';
|
|
5
|
-
import {
|
|
4
|
+
import * as i2 from '@angular/material/legacy-list';
|
|
5
|
+
import { MatLegacyListModule } from '@angular/material/legacy-list';
|
|
6
6
|
import * as i3 from '@ng-atomic/components/atoms/icon';
|
|
7
7
|
import { IconModule } from '@ng-atomic/components/atoms/icon';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
@@ -12,9 +12,9 @@ class NavigationListItemMolecule {
|
|
|
12
12
|
this.selected = false;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
NavigationListItemMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
NavigationListItemMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
NavigationListItemMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
NavigationListItemMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: NavigationListItemMolecule, selector: "molecules-navigation-list-item", inputs: { item: "item", selected: "selected" }, ngImport: i0, template: "<mat-list-option [value]=\"item.id\" [selected]=\"selected\">\n <atoms-icon mat-list-icon [name]=\"item?.icon\" [color]=\"item?.color\"></atoms-icon>\n <div mat-line>{{item.name}}</div>\n</mat-list-option>", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1.MatLine, selector: "[mat-line], [matLine]" }, { kind: "directive", type: i2.MatLegacyListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { kind: "component", type: i2.MatLegacyListOption, selector: "mat-list-option", inputs: ["disableRipple", "checkboxPosition", "color", "value", "disabled", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: i3.IconAtom, selector: "atoms-icon", inputs: ["name", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemMolecule, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{ selector: 'molecules-navigation-list-item', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-list-option [value]=\"item.id\" [selected]=\"selected\">\n <atoms-icon mat-list-icon [name]=\"item?.icon\" [color]=\"item?.color\"></atoms-icon>\n <div mat-line>{{item.name}}</div>\n</mat-list-option>", styles: [":host{display:block}\n"] }]
|
|
20
20
|
}], propDecorators: { item: [{
|
|
@@ -25,18 +25,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
|
|
|
25
25
|
|
|
26
26
|
class NavigationListItemModule {
|
|
27
27
|
}
|
|
28
|
-
NavigationListItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
NavigationListItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
28
|
+
NavigationListItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
29
|
+
NavigationListItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemModule, declarations: [NavigationListItemMolecule], imports: [CommonModule,
|
|
30
30
|
// Materials
|
|
31
|
-
|
|
31
|
+
MatLegacyListModule,
|
|
32
32
|
// Atoms
|
|
33
33
|
IconModule], exports: [NavigationListItemMolecule] });
|
|
34
|
-
NavigationListItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
34
|
+
NavigationListItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemModule, imports: [CommonModule,
|
|
35
35
|
// Materials
|
|
36
|
-
|
|
36
|
+
MatLegacyListModule,
|
|
37
37
|
// Atoms
|
|
38
38
|
IconModule] });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NavigationListItemModule, decorators: [{
|
|
40
40
|
type: NgModule,
|
|
41
41
|
args: [{
|
|
42
42
|
declarations: [
|
|
@@ -45,7 +45,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
|
|
|
45
45
|
imports: [
|
|
46
46
|
CommonModule,
|
|
47
47
|
// Materials
|
|
48
|
-
|
|
48
|
+
MatLegacyListModule,
|
|
49
49
|
// Atoms
|
|
50
50
|
IconModule,
|
|
51
51
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-navigation-list-item.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/navigation-list-item.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/navigation-list-item.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/navigation-list-item.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-navigation-list-item',\n templateUrl: './navigation-list-item.molecule.html',\n styleUrls: ['./navigation-list-item.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavigationListItemMolecule {\n\n @Input()\n item!: ActionItem;\n\n @Input()\n selected = false;\n\n}\n","<mat-list-option [value]=\"item.id\" [selected]=\"selected\">\n <atoms-icon mat-list-icon [name]=\"item?.icon\" [color]=\"item?.color\"></atoms-icon>\n <div mat-line>{{item.name}}</div>\n</mat-list-option>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatListModule } from '@angular/material/list';\nimport { IconModule } from '@ng-atomic/components/atoms/icon';\n\nimport { NavigationListItemMolecule } from './navigation-list-item.molecule';\n\n\n\n@NgModule({\n declarations: [\n NavigationListItemMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatListModule,\n // Atoms\n IconModule,\n ],\n exports: [\n NavigationListItemMolecule\n ]\n})\nexport class NavigationListItemModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAUa,0BAA0B,CAAA;AAPvC,IAAA,WAAA,GAAA;QAaE,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;AAElB,KAAA;;uHARY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,sHCVvC,iNAGkB,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-navigation-list-item.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/navigation-list-item.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/navigation-list-item.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/navigation-list-item.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-navigation-list-item',\n templateUrl: './navigation-list-item.molecule.html',\n styleUrls: ['./navigation-list-item.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NavigationListItemMolecule {\n\n @Input()\n item!: ActionItem;\n\n @Input()\n selected = false;\n\n}\n","<mat-list-option [value]=\"item.id\" [selected]=\"selected\">\n <atoms-icon mat-list-icon [name]=\"item?.icon\" [color]=\"item?.color\"></atoms-icon>\n <div mat-line>{{item.name}}</div>\n</mat-list-option>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatLegacyListModule as MatListModule } from '@angular/material/legacy-list';\nimport { IconModule } from '@ng-atomic/components/atoms/icon';\n\nimport { NavigationListItemMolecule } from './navigation-list-item.molecule';\n\n\n\n@NgModule({\n declarations: [\n NavigationListItemMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatListModule,\n // Atoms\n IconModule,\n ],\n exports: [\n NavigationListItemMolecule\n ]\n})\nexport class NavigationListItemModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["MatListModule"],"mappings":";;;;;;;;;MAUa,0BAA0B,CAAA;AAPvC,IAAA,WAAA,GAAA;QAaE,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;AAElB,KAAA;;uHARY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,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;sBADP,KAAK;;;MESK,wBAAwB,CAAA;;qHAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;sHAAxB,wBAAwB,EAAA,YAAA,EAAA,CAbjC,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAG1B,YAAY;;QAEZA,mBAAa;;AAEb,QAAA,UAAU,aAGV,0BAA0B,CAAA,EAAA,CAAA,CAAA;AAGjB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAVjC,YAAY;;QAEZA,mBAAa;;QAEb,UAAU,CAAA,EAAA,CAAA,CAAA;2FAMD,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAfpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,0BAA0B;AAC3B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;;wBAEZA,mBAAa;;wBAEb,UAAU;AACX,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,0BAA0B;AAC3B,qBAAA;AACF,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
|
|
@@ -4,11 +4,11 @@ import * as i1 from '@angular/common';
|
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i2 from '@angular/forms';
|
|
6
6
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
7
|
-
import * as i4 from '@angular/material/select';
|
|
8
|
-
import {
|
|
7
|
+
import * as i4 from '@angular/material/legacy-select';
|
|
8
|
+
import { MatLegacySelectModule } from '@angular/material/legacy-select';
|
|
9
9
|
import { FormControl } from '@ngneat/reactive-forms';
|
|
10
|
-
import * as i3 from '@angular/material/form-field';
|
|
11
|
-
import * as i5 from '@angular/material/core';
|
|
10
|
+
import * as i3 from '@angular/material/legacy-form-field';
|
|
11
|
+
import * as i5 from '@angular/material/legacy-core';
|
|
12
12
|
|
|
13
13
|
class SelectInputFieldMolecule {
|
|
14
14
|
constructor() {
|
|
@@ -18,11 +18,11 @@ class SelectInputFieldMolecule {
|
|
|
18
18
|
this.value = (item) => item?.value;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
SelectInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
SelectInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
SelectInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
SelectInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: SelectInputFieldMolecule, selector: "molecules-select-input-field", inputs: { label: "label", control: "control", options: "options" }, host: { classAttribute: "molecule input-field field" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-ErG0: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatLegacyFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLegacyLabel, selector: "mat-label" }, { kind: "component", type: i4.MatLegacySelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatLegacyOption, selector: "mat-option", exportAs: ["matOption"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldMolecule, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
|
-
args: [{ selector: 'molecules-select-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-
|
|
25
|
+
args: [{ selector: 'molecules-select-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-ErG0: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
26
26
|
}], propDecorators: { label: [{
|
|
27
27
|
type: Input
|
|
28
28
|
}], control: [{
|
|
@@ -33,16 +33,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
|
|
|
33
33
|
|
|
34
34
|
class SelectInputFieldModule {
|
|
35
35
|
}
|
|
36
|
-
SelectInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
SelectInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
36
|
+
SelectInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37
|
+
SelectInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldModule, bootstrap: [SelectInputFieldMolecule], declarations: [SelectInputFieldMolecule], imports: [CommonModule,
|
|
38
38
|
ReactiveFormsModule,
|
|
39
39
|
// Materials
|
|
40
|
-
|
|
41
|
-
SelectInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
40
|
+
MatLegacySelectModule], exports: [SelectInputFieldMolecule] });
|
|
41
|
+
SelectInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldModule, imports: [CommonModule,
|
|
42
42
|
ReactiveFormsModule,
|
|
43
43
|
// Materials
|
|
44
|
-
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
MatLegacySelectModule] });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SelectInputFieldModule, decorators: [{
|
|
46
46
|
type: NgModule,
|
|
47
47
|
args: [{
|
|
48
48
|
declarations: [SelectInputFieldMolecule],
|
|
@@ -50,7 +50,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImpor
|
|
|
50
50
|
CommonModule,
|
|
51
51
|
ReactiveFormsModule,
|
|
52
52
|
// Materials
|
|
53
|
-
|
|
53
|
+
MatLegacySelectModule,
|
|
54
54
|
],
|
|
55
55
|
exports: [SelectInputFieldMolecule],
|
|
56
56
|
bootstrap: [SelectInputFieldMolecule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-molecules-select-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport interface Option<T> {\n name: string;\n value: T;\n}\n\n@Component({\n selector: 'molecules-select-input-field',\n templateUrl: './select-input-field.molecule.html',\n styleUrls: ['./select-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule input-field field'},\n})\nexport class SelectInputFieldMolecule<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n control = new FormControl<T>();\n\n @Input()\n options: Option<T>[] = [];\n\n value = (item: Option<T>) => item?.value; \n\n}\n","<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatSelectModule } from '@angular/material/select';\n\nimport { SelectInputFieldMolecule } from './select-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [SelectInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatSelectModule,\n ],\n exports: [SelectInputFieldMolecule],\n bootstrap: [SelectInputFieldMolecule],\n})\nexport class SelectInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAea,wBAAwB,CAAA;AAPrC,IAAA,WAAA,GAAA;QAUE,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;AAGnB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,EAAK,CAAC;QAG/B,IAAO,CAAA,OAAA,GAAgB,EAAE,CAAC;QAE1B,IAAK,CAAA,KAAA,GAAG,CAAC,IAAe,KAAK,IAAI,EAAE,KAAK,CAAC;AAE1C,KAAA;;qHAbY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,gMCfrC,qSAOiB,EAAA,MAAA,EAAA,CAAA,sLAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-select-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/select-input-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\nexport interface Option<T> {\n name: string;\n value: T;\n}\n\n@Component({\n selector: 'molecules-select-input-field',\n templateUrl: './select-input-field.molecule.html',\n styleUrls: ['./select-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule input-field field'},\n})\nexport class SelectInputFieldMolecule<T> {\n\n @Input()\n label: string = '';\n\n @Input()\n control = new FormControl<T>();\n\n @Input()\n options: Option<T>[] = [];\n\n value = (item: Option<T>) => item?.value; \n\n}\n","<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <mat-select [formControl]=\"control\">\n <mat-option *ngFor=\"let option of options; trackBy value;\" [value]=\"option.value\">\n {{ option.name }}\n </mat-option>\n </mat-select>\n</mat-form-field>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatLegacySelectModule as MatSelectModule } from '@angular/material/legacy-select';\n\nimport { SelectInputFieldMolecule } from './select-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [SelectInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatSelectModule,\n ],\n exports: [SelectInputFieldMolecule],\n bootstrap: [SelectInputFieldMolecule],\n})\nex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