@ng-atomic/components 0.0.0-PLACEHOLDER
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/app.module.d.ts +9 -0
- 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/index.d.ts +2 -0
- package/atoms/icon/icon.atom.d.ts +13 -0
- package/atoms/icon/icon.module.d.ts +9 -0
- package/atoms/icon/index.d.ts +2 -0
- package/atoms/smart-menu-button/index.d.ts +2 -0
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +10 -0
- package/atoms/smart-menu-button/smart-menu-button.module.d.ts +11 -0
- package/esm2020/app.module.mjs +39 -0
- package/esm2020/atoms/chips-input/chips-input.atom.mjs +54 -0
- package/esm2020/atoms/chips-input/chips-input.module.mjs +44 -0
- package/esm2020/atoms/chips-input/index.mjs +3 -0
- package/esm2020/atoms/chips-input/ng-atomic-components-atoms-chips-input.mjs +5 -0
- package/esm2020/atoms/icon/icon.atom.mjs +31 -0
- package/esm2020/atoms/icon/icon.module.mjs +31 -0
- package/esm2020/atoms/icon/index.mjs +3 -0
- package/esm2020/atoms/icon/ng-atomic-components-atoms-icon.mjs +5 -0
- package/esm2020/atoms/smart-menu-button/index.mjs +3 -0
- package/esm2020/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.mjs +5 -0
- package/esm2020/atoms/smart-menu-button/smart-menu-button.atom.mjs +24 -0
- package/esm2020/atoms/smart-menu-button/smart-menu-button.module.mjs +35 -0
- package/esm2020/frames/auto-layout/auto-layout.frame.mjs +11 -0
- package/esm2020/frames/auto-layout/auto-layout.module.mjs +24 -0
- package/esm2020/frames/auto-layout/index.mjs +3 -0
- package/esm2020/frames/auto-layout/ng-atomic-components-frames-auto-layout.mjs +5 -0
- package/esm2020/frames/card/card.frame.mjs +12 -0
- package/esm2020/frames/card/card.module.mjs +31 -0
- package/esm2020/frames/card/index.mjs +3 -0
- package/esm2020/frames/card/ng-atomic-components-frames-card.mjs +5 -0
- package/esm2020/frames/drawer/drawer.frame.mjs +36 -0
- package/esm2020/frames/drawer/drawer.module.mjs +24 -0
- package/esm2020/frames/drawer/index.mjs +3 -0
- package/esm2020/frames/drawer/ng-atomic-components-frames-drawer.mjs +5 -0
- package/esm2020/frames/line-up/index.mjs +3 -0
- package/esm2020/frames/line-up/line-up.animations.mjs +64 -0
- package/esm2020/frames/line-up/line-up.frame.mjs +98 -0
- package/esm2020/frames/line-up/line-up.module.mjs +24 -0
- package/esm2020/frames/line-up/ng-atomic-components-frames-line-up.mjs +5 -0
- package/esm2020/frames/line-up/resize-observer.mjs +13 -0
- package/esm2020/frames/overlay/index.mjs +3 -0
- package/esm2020/frames/overlay/ng-atomic-components-frames-overlay.mjs +5 -0
- package/esm2020/frames/overlay/overlay.animations.mjs +28 -0
- package/esm2020/frames/overlay/overlay.frame.mjs +17 -0
- package/esm2020/frames/overlay/overlay.module.mjs +26 -0
- package/esm2020/frames/scroll/index.mjs +3 -0
- package/esm2020/frames/scroll/ng-atomic-components-frames-scroll.mjs +5 -0
- package/esm2020/frames/scroll/scroll.frame.mjs +12 -0
- package/esm2020/frames/scroll/scroll.module.mjs +28 -0
- package/esm2020/frames/smart-menu/index.mjs +3 -0
- package/esm2020/frames/smart-menu/ng-atomic-components-frames-smart-menu.mjs +5 -0
- package/esm2020/frames/smart-menu/smart-menu.frame.mjs +33 -0
- package/esm2020/frames/smart-menu/smart-menu.module.mjs +20 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/molecules/actions-column/actions-column.module.mjs +49 -0
- package/esm2020/molecules/actions-column/actions-column.molecule.mjs +69 -0
- package/esm2020/molecules/actions-column/index.mjs +3 -0
- package/esm2020/molecules/actions-column/ng-atomic-components-molecules-actions-column.mjs +5 -0
- package/esm2020/molecules/checkbox-column/checkbox-column.module.mjs +39 -0
- package/esm2020/molecules/checkbox-column/checkbox-column.molecule.mjs +62 -0
- package/esm2020/molecules/checkbox-column/index.mjs +3 -0
- package/esm2020/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.mjs +5 -0
- package/esm2020/molecules/chips-input-field/chips-input-field.module.mjs +56 -0
- package/esm2020/molecules/chips-input-field/chips-input-field.molecule.mjs +66 -0
- package/esm2020/molecules/chips-input-field/index.mjs +3 -0
- package/esm2020/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.mjs +5 -0
- package/esm2020/molecules/date-input-field/date-input-field.module.mjs +38 -0
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +38 -0
- package/esm2020/molecules/date-input-field/index.mjs +3 -0
- package/esm2020/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.mjs +5 -0
- package/esm2020/molecules/header/header.module.mjs +24 -0
- package/esm2020/molecules/header/header.molecule.mjs +18 -0
- package/esm2020/molecules/header/index.mjs +3 -0
- package/esm2020/molecules/header/ng-atomic-components-molecules-header.mjs +5 -0
- package/esm2020/molecules/navigation-list-item/index.mjs +3 -0
- package/esm2020/molecules/navigation-list-item/navigation-list-item.module.mjs +38 -0
- package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +21 -0
- package/esm2020/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.mjs +5 -0
- package/esm2020/molecules/select-input-field/index.mjs +3 -0
- package/esm2020/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.mjs +5 -0
- package/esm2020/molecules/select-input-field/select-input-field.module.mjs +32 -0
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +29 -0
- package/esm2020/molecules/smart-column/index.mjs +3 -0
- package/esm2020/molecules/smart-column/ng-atomic-components-molecules-smart-column.mjs +5 -0
- package/esm2020/molecules/smart-column/smart-column.module.mjs +56 -0
- package/esm2020/molecules/smart-column/smart-column.molecule.mjs +33 -0
- package/esm2020/molecules/text-input-field/index.mjs +3 -0
- package/esm2020/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.mjs +5 -0
- package/esm2020/molecules/text-input-field/text-input-field.module.mjs +36 -0
- package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +34 -0
- package/esm2020/molecules/textarea-field/index.mjs +3 -0
- package/esm2020/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.mjs +5 -0
- package/esm2020/molecules/textarea-field/textarea-field.module.mjs +28 -0
- package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +24 -0
- package/esm2020/ng-atomic-components.mjs +5 -0
- package/esm2020/organisms/action-buttons-section/action-buttons-section.module.mjs +34 -0
- package/esm2020/organisms/action-buttons-section/action-buttons-section.organism.mjs +22 -0
- package/esm2020/organisms/action-buttons-section/index.mjs +3 -0
- package/esm2020/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.mjs +5 -0
- package/esm2020/organisms/back-navigator/back-navigator.module.mjs +46 -0
- package/esm2020/organisms/back-navigator/back-navigator.organism.mjs +34 -0
- package/esm2020/organisms/back-navigator/index.mjs +3 -0
- package/esm2020/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.mjs +5 -0
- package/esm2020/organisms/card-input-section/card-input-section.module.mjs +27 -0
- package/esm2020/organisms/card-input-section/card-input-section.organism.mjs +24 -0
- package/esm2020/organisms/card-input-section/index.mjs +3 -0
- package/esm2020/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.mjs +5 -0
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.mjs +31 -0
- package/esm2020/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +29 -0
- package/esm2020/organisms/cvc-and-exp-input-section/index.mjs +3 -0
- package/esm2020/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +5 -0
- package/esm2020/organisms/date-input-section/date-input-section.module.mjs +28 -0
- package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +24 -0
- package/esm2020/organisms/date-input-section/index.mjs +3 -0
- package/esm2020/organisms/date-input-section/ng-atomic-components-organisms-date-input-section.mjs +5 -0
- package/esm2020/organisms/heading/heading.module.mjs +24 -0
- package/esm2020/organisms/heading/heading.organism.mjs +17 -0
- package/esm2020/organisms/heading/index.mjs +3 -0
- package/esm2020/organisms/heading/ng-atomic-components-organisms-heading.mjs +5 -0
- package/esm2020/organisms/navigation-list/index.mjs +3 -0
- package/esm2020/organisms/navigation-list/navigation-list.module.mjs +34 -0
- package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +22 -0
- package/esm2020/organisms/navigation-list/ng-atomic-components-organisms-navigation-list.mjs +5 -0
- package/esm2020/organisms/navigator/index.mjs +3 -0
- package/esm2020/organisms/navigator/navigator.module.mjs +42 -0
- package/esm2020/organisms/navigator/navigator.organism.mjs +25 -0
- package/esm2020/organisms/navigator/ng-atomic-components-organisms-navigator.mjs +5 -0
- package/esm2020/organisms/paginator/index.mjs +3 -0
- package/esm2020/organisms/paginator/ng-atomic-components-organisms-paginator.mjs +5 -0
- package/esm2020/organisms/paginator/paginator.module.mjs +45 -0
- package/esm2020/organisms/paginator/paginator.organism.mjs +32 -0
- package/esm2020/organisms/select-input-section/index.mjs +3 -0
- package/esm2020/organisms/select-input-section/ng-atomic-components-organisms-select-input-section.mjs +5 -0
- package/esm2020/organisms/select-input-section/select-input-section.module.mjs +31 -0
- package/esm2020/organisms/select-input-section/select-input-section.organism.mjs +24 -0
- package/esm2020/organisms/smart-list/index.mjs +3 -0
- package/esm2020/organisms/smart-list/ng-atomic-components-organisms-smart-list.mjs +5 -0
- package/esm2020/organisms/smart-list/smart-list.module.mjs +39 -0
- package/esm2020/organisms/smart-list/smart-list.organism.mjs +54 -0
- package/esm2020/organisms/smart-table/index.mjs +3 -0
- package/esm2020/organisms/smart-table/ng-atomic-components-organisms-smart-table.mjs +5 -0
- package/esm2020/organisms/smart-table/smart-table.module.mjs +69 -0
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +57 -0
- package/esm2020/organisms/social-login-section/index.mjs +3 -0
- package/esm2020/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.mjs +5 -0
- package/esm2020/organisms/social-login-section/social-login-section.module.mjs +31 -0
- package/esm2020/organisms/social-login-section/social-login-section.organism.mjs +17 -0
- package/esm2020/organisms/text-input-section/index.mjs +3 -0
- package/esm2020/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.mjs +5 -0
- package/esm2020/organisms/text-input-section/text-input-section.module.mjs +31 -0
- package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +29 -0
- package/esm2020/organisms/textarea-section/index.mjs +3 -0
- package/esm2020/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.mjs +5 -0
- package/esm2020/organisms/textarea-section/textarea-section.module.mjs +27 -0
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +17 -0
- package/esm2020/organisms/top-navigator/index.mjs +3 -0
- package/esm2020/organisms/top-navigator/ng-atomic-components-organisms-top-navigator.mjs +5 -0
- package/esm2020/organisms/top-navigator/top-navigator.module.mjs +42 -0
- package/esm2020/organisms/top-navigator/top-navigator.organism.mjs +24 -0
- package/esm2020/pages/_index/index.mjs +3 -0
- package/esm2020/pages/_index/index.module.mjs +31 -0
- package/esm2020/pages/_index/index.page.mjs +11 -0
- package/esm2020/pages/_index/ng-atomic-components-pages-_index.mjs +5 -0
- package/esm2020/pages/blank/blank.module.mjs +25 -0
- package/esm2020/pages/blank/blank.page.mjs +11 -0
- package/esm2020/pages/blank/blank.route.mjs +6 -0
- package/esm2020/pages/blank/index.mjs +4 -0
- package/esm2020/pages/blank/ng-atomic-components-pages-blank.mjs +5 -0
- package/esm2020/templates/entrance/entrance.module.mjs +57 -0
- package/esm2020/templates/entrance/entrance.template.mjs +62 -0
- package/esm2020/templates/entrance/index.mjs +3 -0
- package/esm2020/templates/entrance/ng-atomic-components-templates-entrance.mjs +5 -0
- package/esm2020/templates/loading/index.mjs +3 -0
- package/esm2020/templates/loading/loading.module.mjs +34 -0
- package/esm2020/templates/loading/loading.template.mjs +12 -0
- package/esm2020/templates/loading/ng-atomic-components-templates-loading.mjs +5 -0
- package/esm2020/templates/menu/index.mjs +3 -0
- package/esm2020/templates/menu/menu.module.mjs +28 -0
- package/esm2020/templates/menu/menu.template.mjs +20 -0
- package/esm2020/templates/menu/ng-atomic-components-templates-menu.mjs +5 -0
- package/esm2020/templates/smart-crud/index.mjs +3 -0
- package/esm2020/templates/smart-crud/ng-atomic-components-templates-smart-crud.mjs +5 -0
- package/esm2020/templates/smart-crud/smart-crud.module.mjs +82 -0
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +53 -0
- package/esm2020/templates/smart-index/index.mjs +3 -0
- package/esm2020/templates/smart-index/ng-atomic-components-templates-smart-index.mjs +5 -0
- package/esm2020/templates/smart-index/smart-index.module.mjs +61 -0
- package/esm2020/templates/smart-index/smart-index.template.mjs +92 -0
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs +102 -0
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +65 -0
- package/fesm2015/ng-atomic-components-atoms-icon.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs +63 -0
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +39 -0
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-card.mjs +47 -0
- package/fesm2015/ng-atomic-components-frames-card.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-drawer.mjs +65 -0
- package/fesm2015/ng-atomic-components-frames-drawer.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-line-up.mjs +199 -0
- package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-overlay.mjs +74 -0
- package/fesm2015/ng-atomic-components-frames-overlay.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-scroll.mjs +44 -0
- package/fesm2015/ng-atomic-components-frames-scroll.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +57 -0
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +125 -0
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs +107 -0
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +126 -0
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs +80 -0
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-header.mjs +46 -0
- package/fesm2015/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +63 -0
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +65 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +92 -0
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +73 -0
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +56 -0
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +60 -0
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs +84 -0
- package/fesm2015/ng-atomic-components-organisms-back-navigator.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +55 -0
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +64 -0
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +56 -0
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-heading.mjs +45 -0
- package/fesm2015/ng-atomic-components-organisms-heading.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +60 -0
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs +71 -0
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs +80 -0
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +59 -0
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs +100 -0
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +130 -0
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +52 -0
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +64 -0
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +48 -0
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs +70 -0
- package/fesm2015/ng-atomic-components-organisms-top-navigator.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-pages-_index.mjs +46 -0
- package/fesm2015/ng-atomic-components-pages-_index.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-pages-blank.mjs +51 -0
- package/fesm2015/ng-atomic-components-pages-blank.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +123 -0
- package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-templates-loading.mjs +50 -0
- package/fesm2015/ng-atomic-components-templates-loading.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-templates-menu.mjs +52 -0
- package/fesm2015/ng-atomic-components-templates-menu.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +138 -0
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +1 -0
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +156 -0
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +1 -0
- package/fesm2015/ng-atomic-components.mjs +46 -0
- package/fesm2015/ng-atomic-components.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-atoms-chips-input.mjs +102 -0
- package/fesm2020/ng-atomic-components-atoms-chips-input.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-atoms-icon.mjs +65 -0
- package/fesm2020/ng-atomic-components-atoms-icon.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +63 -0
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +39 -0
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-card.mjs +47 -0
- package/fesm2020/ng-atomic-components-frames-card.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-drawer.mjs +63 -0
- package/fesm2020/ng-atomic-components-frames-drawer.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-line-up.mjs +198 -0
- package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-overlay.mjs +74 -0
- package/fesm2020/ng-atomic-components-frames-overlay.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-scroll.mjs +44 -0
- package/fesm2020/ng-atomic-components-frames-scroll.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +57 -0
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs +122 -0
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs +105 -0
- package/fesm2020/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs +126 -0
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +80 -0
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-header.mjs +46 -0
- package/fesm2020/ng-atomic-components-molecules-header.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +63 -0
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +65 -0
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs +92 -0
- package/fesm2020/ng-atomic-components-molecules-smart-column.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +73 -0
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +56 -0
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +60 -0
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs +84 -0
- package/fesm2020/ng-atomic-components-organisms-back-navigator.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs +55 -0
- package/fesm2020/ng-atomic-components-organisms-card-input-section.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +64 -0
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +56 -0
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-heading.mjs +45 -0
- package/fesm2020/ng-atomic-components-organisms-heading.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +60 -0
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs +71 -0
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs +80 -0
- package/fesm2020/ng-atomic-components-organisms-paginator.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs +59 -0
- package/fesm2020/ng-atomic-components-organisms-select-input-section.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs +96 -0
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +130 -0
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +52 -0
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +64 -0
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +48 -0
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs +70 -0
- package/fesm2020/ng-atomic-components-organisms-top-navigator.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-pages-_index.mjs +46 -0
- package/fesm2020/ng-atomic-components-pages-_index.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-pages-blank.mjs +51 -0
- package/fesm2020/ng-atomic-components-pages-blank.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +123 -0
- package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-templates-loading.mjs +50 -0
- package/fesm2020/ng-atomic-components-templates-loading.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-templates-menu.mjs +52 -0
- package/fesm2020/ng-atomic-components-templates-menu.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +139 -0
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +1 -0
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +157 -0
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +1 -0
- package/fesm2020/ng-atomic-components.mjs +46 -0
- package/fesm2020/ng-atomic-components.mjs.map +1 -0
- package/frames/auto-layout/auto-layout.frame.d.ts +5 -0
- package/frames/auto-layout/auto-layout.module.d.ts +8 -0
- package/frames/auto-layout/index.d.ts +2 -0
- package/frames/card/card.frame.d.ts +5 -0
- package/frames/card/card.module.d.ts +9 -0
- package/frames/card/index.d.ts +2 -0
- package/frames/drawer/drawer.frame.d.ts +12 -0
- package/frames/drawer/drawer.module.d.ts +9 -0
- package/frames/drawer/index.d.ts +2 -0
- package/frames/line-up/index.d.ts +2 -0
- package/frames/line-up/line-up.animations.d.ts +1 -0
- package/frames/line-up/line-up.frame.d.ts +37 -0
- package/frames/line-up/line-up.module.d.ts +9 -0
- package/frames/line-up/resize-observer.d.ts +3 -0
- package/frames/overlay/index.d.ts +2 -0
- package/frames/overlay/overlay.animations.d.ts +1 -0
- package/frames/overlay/overlay.frame.d.ts +6 -0
- package/frames/overlay/overlay.module.d.ts +9 -0
- package/frames/scroll/index.d.ts +2 -0
- package/frames/scroll/scroll.frame.d.ts +5 -0
- package/frames/scroll/scroll.module.d.ts +9 -0
- package/frames/smart-menu/index.d.ts +2 -0
- package/frames/smart-menu/smart-menu.frame.d.ts +13 -0
- package/frames/smart-menu/smart-menu.module.d.ts +8 -0
- package/index.d.ts +1 -0
- package/molecules/actions-column/actions-column.module.d.ts +13 -0
- package/molecules/actions-column/actions-column.molecule.d.ts +22 -0
- package/molecules/actions-column/index.d.ts +2 -0
- package/molecules/checkbox-column/checkbox-column.module.d.ts +10 -0
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +20 -0
- package/molecules/checkbox-column/index.d.ts +2 -0
- package/molecules/chips-input-field/chips-input-field.module.d.ts +14 -0
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +25 -0
- package/molecules/chips-input-field/index.d.ts +2 -0
- package/molecules/date-input-field/date-input-field.module.d.ts +12 -0
- package/molecules/date-input-field/date-input-field.molecule.d.ts +13 -0
- package/molecules/date-input-field/index.d.ts +2 -0
- package/molecules/header/header.module.d.ts +8 -0
- package/molecules/header/header.molecule.d.ts +7 -0
- package/molecules/header/index.d.ts +2 -0
- package/molecules/navigation-list-item/index.d.ts +2 -0
- package/molecules/navigation-list-item/navigation-list-item.module.d.ts +10 -0
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +8 -0
- package/molecules/select-input-field/index.d.ts +2 -0
- package/molecules/select-input-field/select-input-field.module.d.ts +10 -0
- package/molecules/select-input-field/select-input-field.molecule.d.ts +14 -0
- package/molecules/smart-column/index.d.ts +2 -0
- package/molecules/smart-column/smart-column.module.d.ts +15 -0
- package/molecules/smart-column/smart-column.molecule.d.ts +11 -0
- package/molecules/text-input-field/index.d.ts +2 -0
- package/molecules/text-input-field/text-input-field.module.d.ts +10 -0
- package/molecules/text-input-field/text-input-field.molecule.d.ts +12 -0
- package/molecules/textarea-field/index.d.ts +2 -0
- package/molecules/textarea-field/textarea-field.module.d.ts +9 -0
- package/molecules/textarea-field/textarea-field.molecule.d.ts +8 -0
- package/organisms/action-buttons-section/action-buttons-section.module.d.ts +9 -0
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +10 -0
- package/organisms/action-buttons-section/index.d.ts +2 -0
- package/organisms/back-navigator/back-navigator.module.d.ts +12 -0
- package/organisms/back-navigator/back-navigator.organism.d.ts +13 -0
- package/organisms/back-navigator/index.d.ts +2 -0
- package/organisms/card-input-section/card-input-section.module.d.ts +9 -0
- package/organisms/card-input-section/card-input-section.organism.d.ts +9 -0
- package/organisms/card-input-section/index.d.ts +2 -0
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.d.ts +10 -0
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +10 -0
- package/organisms/cvc-and-exp-input-section/index.d.ts +2 -0
- package/organisms/date-input-section/date-input-section.module.d.ts +9 -0
- package/organisms/date-input-section/date-input-section.organism.d.ts +10 -0
- package/organisms/date-input-section/index.d.ts +2 -0
- package/organisms/heading/heading.module.d.ts +8 -0
- package/organisms/heading/heading.organism.d.ts +6 -0
- package/organisms/heading/index.d.ts +2 -0
- package/organisms/navigation-list/index.d.ts +2 -0
- package/organisms/navigation-list/navigation-list.module.d.ts +10 -0
- package/organisms/navigation-list/navigation-list.organism.d.ts +9 -0
- package/organisms/navigator/index.d.ts +2 -0
- package/organisms/navigator/navigator.module.d.ts +12 -0
- package/organisms/navigator/navigator.organism.d.ts +10 -0
- package/organisms/paginator/index.d.ts +2 -0
- package/organisms/paginator/paginator.module.d.ts +11 -0
- package/organisms/paginator/paginator.organism.d.ts +13 -0
- package/organisms/select-input-section/index.d.ts +2 -0
- package/organisms/select-input-section/select-input-section.module.d.ts +9 -0
- package/organisms/select-input-section/select-input-section.organism.d.ts +12 -0
- package/organisms/smart-list/index.d.ts +2 -0
- package/organisms/smart-list/smart-list.module.d.ts +12 -0
- package/organisms/smart-list/smart-list.organism.d.ts +21 -0
- package/organisms/smart-table/index.d.ts +2 -0
- package/organisms/smart-table/smart-table.module.d.ts +17 -0
- package/organisms/smart-table/smart-table.organism.d.ts +25 -0
- package/organisms/social-login-section/index.d.ts +2 -0
- package/organisms/social-login-section/social-login-section.module.d.ts +9 -0
- package/organisms/social-login-section/social-login-section.organism.d.ts +7 -0
- package/organisms/text-input-section/index.d.ts +2 -0
- package/organisms/text-input-section/text-input-section.module.d.ts +9 -0
- package/organisms/text-input-section/text-input-section.organism.d.ts +11 -0
- package/organisms/textarea-section/index.d.ts +2 -0
- package/organisms/textarea-section/textarea-section.module.d.ts +9 -0
- package/organisms/textarea-section/textarea-section.organism.d.ts +6 -0
- package/organisms/top-navigator/index.d.ts +2 -0
- package/organisms/top-navigator/top-navigator.module.d.ts +11 -0
- package/organisms/top-navigator/top-navigator.organism.d.ts +13 -0
- package/package.json +390 -0
- package/pages/_index/index.d.ts +2 -0
- package/pages/_index/index.module.d.ts +9 -0
- package/pages/_index/index.page.d.ts +5 -0
- package/pages/blank/blank.module.d.ts +9 -0
- package/pages/blank/blank.page.d.ts +5 -0
- package/pages/blank/blank.route.d.ts +2 -0
- package/pages/blank/index.d.ts +3 -0
- package/templates/entrance/entrance.module.d.ts +14 -0
- package/templates/entrance/entrance.template.d.ts +23 -0
- package/templates/entrance/index.d.ts +2 -0
- package/templates/loading/index.d.ts +2 -0
- package/templates/loading/loading.module.d.ts +9 -0
- package/templates/loading/loading.template.d.ts +5 -0
- package/templates/menu/index.d.ts +2 -0
- package/templates/menu/menu.module.d.ts +9 -0
- package/templates/menu/menu.template.d.ts +9 -0
- package/templates/smart-crud/index.d.ts +2 -0
- package/templates/smart-crud/smart-crud.module.d.ts +19 -0
- package/templates/smart-crud/smart-crud.template.d.ts +22 -0
- package/templates/smart-index/index.d.ts +2 -0
- package/templates/smart-index/smart-index.module.d.ts +15 -0
- package/templates/smart-index/smart-index.template.d.ts +34 -0
|
@@ -0,0 +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":";;;;;;;;;;;;;;;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BAAuB,CAAC;oBAClC,SAAS,EAAE,CAAC,uBAAuB,CAAC;iBACrC,CAAA;;;AC7BD;;AAEG;;;;"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { FormControl } from '@ngneat/reactive-forms';
|
|
4
|
+
import { filter } from 'rxjs/operators';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import * as i2 from '@angular/forms';
|
|
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 { MatInputModule } from '@angular/material/input';
|
|
12
|
+
import * as i5 from '@angular/material/datepicker';
|
|
13
|
+
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
14
|
+
import { MatDayjsDateModule } from '@ng-atomic/common/utils';
|
|
15
|
+
|
|
16
|
+
class DateInputFieldMolecule {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.control = new FormControl();
|
|
19
|
+
this._control = new FormControl();
|
|
20
|
+
this.label = '';
|
|
21
|
+
this.placeholder = '';
|
|
22
|
+
}
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
this.control.valueChanges.pipe(filter(value => this._control.value !== value)).subscribe(value => this._control.setValue(value));
|
|
25
|
+
this._control.valueChanges.subscribe(value => this.control.setValue(value));
|
|
26
|
+
this.control.setValue(this._control.value);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
DateInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DateInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
+
DateInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", 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-UGnO: 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.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], 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: "14.2.9", ngImport: i0, type: DateInputFieldMolecule, decorators: [{
|
|
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-UGnO: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
34
|
+
}], propDecorators: { _control: [{
|
|
35
|
+
type: Input,
|
|
36
|
+
args: ['control']
|
|
37
|
+
}], label: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], placeholder: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], hint: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}] } });
|
|
44
|
+
|
|
45
|
+
class DateInputFieldModule {
|
|
46
|
+
}
|
|
47
|
+
DateInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DateInputFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
+
DateInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: DateInputFieldModule, bootstrap: [DateInputFieldMolecule], declarations: [DateInputFieldMolecule], imports: [CommonModule,
|
|
49
|
+
ReactiveFormsModule,
|
|
50
|
+
MatInputModule,
|
|
51
|
+
MatDatepickerModule,
|
|
52
|
+
MatDayjsDateModule], exports: [DateInputFieldMolecule] });
|
|
53
|
+
DateInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DateInputFieldModule, imports: [CommonModule,
|
|
54
|
+
ReactiveFormsModule,
|
|
55
|
+
MatInputModule,
|
|
56
|
+
MatDatepickerModule,
|
|
57
|
+
MatDayjsDateModule] });
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: DateInputFieldModule, decorators: [{
|
|
59
|
+
type: NgModule,
|
|
60
|
+
args: [{
|
|
61
|
+
declarations: [DateInputFieldMolecule],
|
|
62
|
+
imports: [
|
|
63
|
+
CommonModule,
|
|
64
|
+
ReactiveFormsModule,
|
|
65
|
+
MatInputModule,
|
|
66
|
+
MatDatepickerModule,
|
|
67
|
+
MatDayjsDateModule,
|
|
68
|
+
],
|
|
69
|
+
exports: [DateInputFieldMolecule],
|
|
70
|
+
bootstrap: [DateInputFieldMolecule],
|
|
71
|
+
// providers: [...MAT_DAYJS_JP_PROVIDERS],
|
|
72
|
+
}]
|
|
73
|
+
}] });
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Generated bundle index. Do not edit.
|
|
77
|
+
*/
|
|
78
|
+
|
|
79
|
+
export { DateInputFieldModule, DateInputFieldMolecule };
|
|
80
|
+
//# sourceMappingURL=ng-atomic-components-molecules-date-input-field.mjs.map
|
|
@@ -0,0 +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,CAAC;AAG3B,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,WAAW,EAAS,CAAC;AAG5C,QAAA,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;AAGX,QAAA,IAAW,CAAA,WAAA,GAAG,EAAE,CAAC;KAalB;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,KAAK,CAAC,CAAC,CAAC;QAEpD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QAC5E,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KAC5C;;mHAtBU,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EA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
|
+
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class HeaderMolecule {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.title = 'title';
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
HeaderMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
HeaderMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", 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: "14.2.9", ngImport: i0, type: HeaderMolecule, decorators: [{
|
|
13
|
+
type: Component,
|
|
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
|
+
}], propDecorators: { title: [{
|
|
16
|
+
type: Input
|
|
17
|
+
}], description: [{
|
|
18
|
+
type: Input
|
|
19
|
+
}] } });
|
|
20
|
+
|
|
21
|
+
class HeaderModule {
|
|
22
|
+
}
|
|
23
|
+
HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
24
|
+
HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: HeaderModule, declarations: [HeaderMolecule], imports: [CommonModule], exports: [HeaderMolecule] });
|
|
25
|
+
HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderModule, imports: [CommonModule] });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: HeaderModule, decorators: [{
|
|
27
|
+
type: NgModule,
|
|
28
|
+
args: [{
|
|
29
|
+
declarations: [
|
|
30
|
+
HeaderMolecule
|
|
31
|
+
],
|
|
32
|
+
imports: [
|
|
33
|
+
CommonModule
|
|
34
|
+
],
|
|
35
|
+
exports: [
|
|
36
|
+
HeaderMolecule
|
|
37
|
+
]
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Generated bundle index. Do not edit.
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
export { HeaderModule, HeaderMolecule };
|
|
46
|
+
//# sourceMappingURL=ng-atomic-components-molecules-header.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-header.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/header/header.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/header/header.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/header/header.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/header/ng-atomic-components-molecules-header.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Input } from '@angular/core';\n\n@Component({\n selector: 'molecules-header',\n templateUrl: './header.molecule.html',\n styleUrls: ['./header.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class HeaderMolecule {\n\n @Input()\n title = 'title';\n\n @Input()\n description?: string;\n\n}\n","<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { HeaderMolecule } from './header.molecule';\n\n\n\n@NgModule({\n declarations: [\n HeaderMolecule\n ],\n imports: [\n CommonModule\n ],\n exports: [\n HeaderMolecule\n ]\n})\nexport class HeaderModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,cAAc,CAAA;AAN3B,IAAA,WAAA,GAAA;AASE,QAAA,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;KAKjB;;2GARY,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,cAAc,gHCR3B,8GAEA,EAAA,MAAA,EAAA,CAAA,8LAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDMa,cAAc,EAAA,UAAA,EAAA,CAAA;kBAN1B,SAAS;+BACE,kBAAkB,EAAA,eAAA,EAGX,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8GAAA,EAAA,MAAA,EAAA,CAAA,8LAAA,CAAA,EAAA,CAAA;8BAK/C,KAAK,EAAA,CAAA;sBADJ,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,KAAK;;;MEIK,YAAY,CAAA;;yGAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAZ,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,EATrB,YAAA,EAAA,CAAA,cAAc,CAGd,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,cAAc,CAAA,EAAA,CAAA,CAAA;AAGL,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YANrB,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,YAAY,EAAA,UAAA,EAAA,CAAA;kBAXxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,cAAc;AACf,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,cAAc;AACf,qBAAA;iBACF,CAAA;;;AChBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/material/core';
|
|
4
|
+
import * as i2 from '@angular/material/list';
|
|
5
|
+
import { MatListModule } from '@angular/material/list';
|
|
6
|
+
import * as i3 from '@ng-atomic/components/atoms/icon';
|
|
7
|
+
import { IconModule } from '@ng-atomic/components/atoms/icon';
|
|
8
|
+
import { CommonModule } from '@angular/common';
|
|
9
|
+
|
|
10
|
+
class NavigationListItemMolecule {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.selected = false;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
NavigationListItemMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: NavigationListItemMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
NavigationListItemMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", 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.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { kind: "component", type: i2.MatListOption, 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: "14.2.9", ngImport: i0, type: NavigationListItemMolecule, decorators: [{
|
|
18
|
+
type: Component,
|
|
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
|
+
}], propDecorators: { item: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}], selected: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}] } });
|
|
25
|
+
|
|
26
|
+
class NavigationListItemModule {
|
|
27
|
+
}
|
|
28
|
+
NavigationListItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: NavigationListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
29
|
+
NavigationListItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: NavigationListItemModule, declarations: [NavigationListItemMolecule], imports: [CommonModule,
|
|
30
|
+
// Materials
|
|
31
|
+
MatListModule,
|
|
32
|
+
// Atoms
|
|
33
|
+
IconModule], exports: [NavigationListItemMolecule] });
|
|
34
|
+
NavigationListItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: NavigationListItemModule, imports: [CommonModule,
|
|
35
|
+
// Materials
|
|
36
|
+
MatListModule,
|
|
37
|
+
// Atoms
|
|
38
|
+
IconModule] });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: NavigationListItemModule, decorators: [{
|
|
40
|
+
type: NgModule,
|
|
41
|
+
args: [{
|
|
42
|
+
declarations: [
|
|
43
|
+
NavigationListItemMolecule
|
|
44
|
+
],
|
|
45
|
+
imports: [
|
|
46
|
+
CommonModule,
|
|
47
|
+
// Materials
|
|
48
|
+
MatListModule,
|
|
49
|
+
// Atoms
|
|
50
|
+
IconModule,
|
|
51
|
+
],
|
|
52
|
+
exports: [
|
|
53
|
+
NavigationListItemMolecule
|
|
54
|
+
]
|
|
55
|
+
}]
|
|
56
|
+
}] });
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Generated bundle index. Do not edit.
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
export { NavigationListItemModule, NavigationListItemMolecule };
|
|
63
|
+
//# sourceMappingURL=ng-atomic-components-molecules-navigation-list-item.mjs.map
|
|
@@ -0,0 +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;AAaE,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;KAElB;;uHARY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAA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AAwB,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;;QAEZ,aAAa;;QAEb,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;;QAEZ,aAAa;;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;;wBAEZ,aAAa;;wBAEb,UAAU;AACX,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,0BAA0B;AAC3B,qBAAA;iBACF,CAAA;;;ACvBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i2 from '@angular/forms';
|
|
6
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
7
|
+
import * as i4 from '@angular/material/select';
|
|
8
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
9
|
+
import { FormControl } from '@ngneat/reactive-forms';
|
|
10
|
+
import * as i3 from '@angular/material/form-field';
|
|
11
|
+
import * as i5 from '@angular/material/core';
|
|
12
|
+
|
|
13
|
+
class SelectInputFieldMolecule {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.label = '';
|
|
16
|
+
this.control = new FormControl();
|
|
17
|
+
this.options = [];
|
|
18
|
+
this.value = (item) => item === null || item === void 0 ? void 0 : item.value;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
SelectInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SelectInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
SelectInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", 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-OwxW: 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.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", exportAs: ["matOption"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SelectInputFieldMolecule, decorators: [{
|
|
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-OwxW: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
26
|
+
}], propDecorators: { label: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}], control: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], options: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}] } });
|
|
33
|
+
|
|
34
|
+
class SelectInputFieldModule {
|
|
35
|
+
}
|
|
36
|
+
SelectInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SelectInputFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37
|
+
SelectInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: SelectInputFieldModule, bootstrap: [SelectInputFieldMolecule], declarations: [SelectInputFieldMolecule], imports: [CommonModule,
|
|
38
|
+
ReactiveFormsModule,
|
|
39
|
+
// Materials
|
|
40
|
+
MatSelectModule], exports: [SelectInputFieldMolecule] });
|
|
41
|
+
SelectInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SelectInputFieldModule, imports: [CommonModule,
|
|
42
|
+
ReactiveFormsModule,
|
|
43
|
+
// Materials
|
|
44
|
+
MatSelectModule] });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SelectInputFieldModule, decorators: [{
|
|
46
|
+
type: NgModule,
|
|
47
|
+
args: [{
|
|
48
|
+
declarations: [SelectInputFieldMolecule],
|
|
49
|
+
imports: [
|
|
50
|
+
CommonModule,
|
|
51
|
+
ReactiveFormsModule,
|
|
52
|
+
// Materials
|
|
53
|
+
MatSelectModule,
|
|
54
|
+
],
|
|
55
|
+
exports: [SelectInputFieldMolecule],
|
|
56
|
+
bootstrap: [SelectInputFieldMolecule],
|
|
57
|
+
}]
|
|
58
|
+
}] });
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Generated bundle index. Do not edit.
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
export { SelectInputFieldModule, SelectInputFieldMolecule };
|
|
65
|
+
//# sourceMappingURL=ng-atomic-components-molecules-select-input-field.mjs.map
|
|
@@ -0,0 +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;AAUE,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;AAGnB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,EAAK,CAAC;AAG/B,QAAA,IAAO,CAAA,OAAA,GAAgB,EAAE,CAAC;AAE1B,QAAA,IAAK,CAAA,KAAA,GAAG,CAAC,IAAe,KAAK,IAAI,aAAJ,IAAI,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAJ,IAAI,CAAE,KAAK,CAAC;KAE1C;;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,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AAE;wBACP,YAAY;wBACZ,mBAAmB;;wBAEnB,eAAe;AAChB,qBAAA;oBACD,OAAO,EAAE,CAAC,wBAAwB,CAAC;oBACnC,SAAS,EAAE,CAAC,wBAAwB,CAAC;iBACtC,CAAA;;;ACnBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i2 from '@angular/cdk/clipboard';
|
|
6
|
+
import { ClipboardModule } from '@angular/cdk/clipboard';
|
|
7
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
8
|
+
import * as i4 from '@angular/material/table';
|
|
9
|
+
import { MatTextColumn, MatTableModule } from '@angular/material/table';
|
|
10
|
+
import * as i3 from '@angular/material/icon';
|
|
11
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
12
|
+
import * as i5 from '@angular/material/tooltip';
|
|
13
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
14
|
+
import * as i6 from '@ng-atomic/common/pipes/smart-exp';
|
|
15
|
+
import { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';
|
|
16
|
+
import * as i7 from '@ng-atomic/common/pipes/data-accessor';
|
|
17
|
+
import { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';
|
|
18
|
+
|
|
19
|
+
class SmartColumnMolecule extends MatTextColumn {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
this.sort = 'none';
|
|
23
|
+
this.headerClick = new EventEmitter();
|
|
24
|
+
this.text = 'copy';
|
|
25
|
+
}
|
|
26
|
+
copied() {
|
|
27
|
+
this.text = 'copied!';
|
|
28
|
+
setTimeout(() => this.text = 'copy', 1000);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
SmartColumnMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartColumnMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
SmartColumnMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: SmartColumnMolecule, selector: "molecules-smart-column", inputs: { sort: "sort" }, outputs: { headerClick: "headerClick" }, usesInheritance: true, ngImport: i0, template: "<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name }}\n </p>\n </td>\n</ng-container>", styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i4.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i4.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i4.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i4.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i4.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i6.SmartExpPipe, name: "smartExp" }, { kind: "pipe", type: i7.DataAccessorPipe, name: "dataAccessor" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartColumnMolecule, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'molecules-smart-column', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name }}\n </p>\n </td>\n</ng-container>", styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .nowrap,td[mat-cell] .nowrap{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
|
|
36
|
+
}], propDecorators: { sort: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], headerClick: [{
|
|
39
|
+
type: Output
|
|
40
|
+
}] } });
|
|
41
|
+
|
|
42
|
+
class SmartColumnModule {
|
|
43
|
+
}
|
|
44
|
+
SmartColumnModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartColumnModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
45
|
+
SmartColumnModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: SmartColumnModule, bootstrap: [SmartColumnMolecule], declarations: [SmartColumnMolecule], imports: [CommonModule,
|
|
46
|
+
ClipboardModule,
|
|
47
|
+
// Pipes
|
|
48
|
+
SmartExpModule,
|
|
49
|
+
DataAccessorPipe,
|
|
50
|
+
// Materials
|
|
51
|
+
MatButtonModule,
|
|
52
|
+
MatIconModule,
|
|
53
|
+
MatTableModule,
|
|
54
|
+
MatTooltipModule], exports: [SmartColumnMolecule] });
|
|
55
|
+
SmartColumnModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartColumnModule, imports: [CommonModule,
|
|
56
|
+
ClipboardModule,
|
|
57
|
+
// Pipes
|
|
58
|
+
SmartExpModule,
|
|
59
|
+
// Materials
|
|
60
|
+
MatButtonModule,
|
|
61
|
+
MatIconModule,
|
|
62
|
+
MatTableModule,
|
|
63
|
+
MatTooltipModule] });
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: SmartColumnModule, decorators: [{
|
|
65
|
+
type: NgModule,
|
|
66
|
+
args: [{
|
|
67
|
+
declarations: [
|
|
68
|
+
SmartColumnMolecule,
|
|
69
|
+
],
|
|
70
|
+
imports: [
|
|
71
|
+
CommonModule,
|
|
72
|
+
ClipboardModule,
|
|
73
|
+
// Pipes
|
|
74
|
+
SmartExpModule,
|
|
75
|
+
DataAccessorPipe,
|
|
76
|
+
// Materials
|
|
77
|
+
MatButtonModule,
|
|
78
|
+
MatIconModule,
|
|
79
|
+
MatTableModule,
|
|
80
|
+
MatTooltipModule,
|
|
81
|
+
],
|
|
82
|
+
exports: [SmartColumnMolecule],
|
|
83
|
+
bootstrap: [SmartColumnMolecule],
|
|
84
|
+
}]
|
|
85
|
+
}] });
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Generated bundle index. Do not edit.
|
|
89
|
+
*/
|
|
90
|
+
|
|
91
|
+
export { SmartColumnModule, SmartColumnMolecule };
|
|
92
|
+
//# sourceMappingURL=ng-atomic-components-molecules-smart-column.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-smart-column.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/smart-column/smart-column.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/smart-column/smart-column.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/smart-column/smart-column.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Input, Output, EventEmitter, Component, ViewEncapsulation, Optional, Inject, inject, ViewChild } from '@angular/core';\nimport { MatColumnDef, MatTextColumn } from '@angular/material/table';\n\n@Component({\n selector: 'molecules-smart-column',\n templateUrl: './smart-column.molecule.html',\n styleUrls: ['./smart-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class SmartColumnMolecule<T> extends MatTextColumn<T> {\n\n @Input()\n sort: 'asc' | 'desc' | 'none' = 'none';\n\n @Output()\n headerClick = new EventEmitter<void>();\n\n text = 'copy';\n\n copied() {\n this.text = 'copied!';\n setTimeout(() => this.text = 'copy', 1000);\n }\n}\n","<ng-container matColumnDef>\n <th\n mat-header-cell\n *matHeaderCellDef\n [style.text-align]=\"justify\"\n (click)=\"headerClick.emit()\"\n >\n <p class=\"nowrap\" style=\"display: flex; align-items: center;\">\n <span>{{headerText}}</span>\n <ng-container [ngSwitch]=\"sort\">\n <mat-icon class=\"order\" *ngSwitchCase=\"'asc'\">south</mat-icon>\n <mat-icon class=\"order\" *ngSwitchCase=\"'desc'\">north</mat-icon>\n </ng-container>\n </p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\"\n [cdkCopyToClipboard]=\"data | dataAccessor: name | smartExp: name\"\n (click)=\"copied(); tooltip.show()\"\n #tooltip=\"matTooltip\" [matTooltip]=\"text\" matTooltipPosition=\"below\"\n >\n {{ data | dataAccessor: name }}\n </p>\n </td>\n</ng-container>","import { NgModule, Pipe } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ClipboardModule } from '@angular/cdk/clipboard';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { SmartExpModule } from '@ng-atomic/common/pipes/smart-exp';\nimport { SmartColumnMolecule } from './smart-column.molecule';\nimport { DataAccessorPipe } from '@ng-atomic/common/pipes/data-accessor';\n\n@NgModule({\n declarations: [\n SmartColumnMolecule,\n ],\n imports: [\n CommonModule,\n ClipboardModule,\n // Pipes\n SmartExpModule,\n DataAccessorPipe,\n // Materials\n MatButtonModule,\n MatIconModule,\n MatTableModule,\n MatTooltipModule,\n ],\n exports: [SmartColumnMolecule],\n bootst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AmB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,eAAe;;wBAEf,cAAc;wBACd,gBAAgB;;wBAEhB,eAAe;wBACf,aAAa;wBACb,cAAc;wBACd,gBAAgB;AACjB,qBAAA;oBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,SAAS,EAAE,CAAC,mBAAmB,CAAC;iBACjC,CAAA;;;AC7BD;;AAEG;;;;"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { FormControl } from '@ngneat/reactive-forms';
|
|
4
|
+
import * as i1 from '@angular/common';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
import * as i2 from '@angular/forms';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i3 from '@angular/material/form-field';
|
|
9
|
+
import * as i4 from '@angular/material/input';
|
|
10
|
+
import { MatInputModule } from '@angular/material/input';
|
|
11
|
+
|
|
12
|
+
class TextInputFieldMolecule {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.type = 'text';
|
|
15
|
+
this.label = 'label';
|
|
16
|
+
this.control = new FormControl();
|
|
17
|
+
this.placeholder = 'placeholder';
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
TextInputFieldMolecule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: TextInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
TextInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.9", type: TextInputFieldMolecule, selector: "molecules-text-input-field", inputs: { type: "type", name: "name", label: "label", control: "control", placeholder: "placeholder", hint: "hint" }, host: { classAttribute: "molecule field" }, ngImport: i0, template: "<!-- ATTENTION(nontangent): <input matInput is not worked [type]=\"type\"> -->\n<ng-container [ngSwitch]=\"type\">\n <mat-form-field *ngSwitchDefault appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'number'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"number\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'password'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"password\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n</ng-container>\n", styles: [":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: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { 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.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: TextInputFieldMolecule, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'molecules-text-input-field', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, template: "<!-- ATTENTION(nontangent): <input matInput is not worked [type]=\"type\"> -->\n<ng-container [ngSwitch]=\"type\">\n <mat-form-field *ngSwitchDefault appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'number'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"number\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'password'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"password\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n</ng-container>\n", styles: [":host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
25
|
+
}], propDecorators: { type: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], name: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], label: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], control: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], placeholder: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], hint: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}] } });
|
|
38
|
+
|
|
39
|
+
class TextInputFieldModule {
|
|
40
|
+
}
|
|
41
|
+
TextInputFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: TextInputFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
42
|
+
TextInputFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.9", ngImport: i0, type: TextInputFieldModule, bootstrap: [TextInputFieldMolecule], declarations: [TextInputFieldMolecule], imports: [CommonModule,
|
|
43
|
+
ReactiveFormsModule,
|
|
44
|
+
// Materials
|
|
45
|
+
// MatFormFieldModule,
|
|
46
|
+
MatInputModule], exports: [TextInputFieldMolecule] });
|
|
47
|
+
TextInputFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: TextInputFieldModule, imports: [CommonModule,
|
|
48
|
+
ReactiveFormsModule,
|
|
49
|
+
// Materials
|
|
50
|
+
// MatFormFieldModule,
|
|
51
|
+
MatInputModule] });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.9", ngImport: i0, type: TextInputFieldModule, decorators: [{
|
|
53
|
+
type: NgModule,
|
|
54
|
+
args: [{
|
|
55
|
+
declarations: [TextInputFieldMolecule],
|
|
56
|
+
imports: [
|
|
57
|
+
CommonModule,
|
|
58
|
+
ReactiveFormsModule,
|
|
59
|
+
// Materials
|
|
60
|
+
// MatFormFieldModule,
|
|
61
|
+
MatInputModule,
|
|
62
|
+
],
|
|
63
|
+
exports: [TextInputFieldMolecule],
|
|
64
|
+
bootstrap: [TextInputFieldMolecule],
|
|
65
|
+
}]
|
|
66
|
+
}] });
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Generated bundle index. Do not edit.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
export { TextInputFieldModule, TextInputFieldMolecule };
|
|
73
|
+
//# sourceMappingURL=ng-atomic-components-molecules-text-input-field.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-text-input-field.mjs","sources":["../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.ts","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.molecule.html","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/text-input-field.module.ts","../../../../../packages/@ng-atomic/components/src/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'molecules-text-input-field',\n templateUrl: './text-input-field.molecule.html',\n styleUrls: ['./text-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class TextInputFieldMolecule {\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n name?: string;\n\n @Input()\n label = 'label';\n\n @Input()\n control = new FormControl<string | number>();\n\n @Input()\n placeholder = 'placeholder';\n\n @Input()\n hint?: string;\n\n}\n","<!-- ATTENTION(nontangent): <input matInput is not worked [type]=\"type\"> -->\n<ng-container [ngSwitch]=\"type\">\n <mat-form-field *ngSwitchDefault appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"string\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'number'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"number\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n <mat-form-field *ngSwitchCase=\"'password'\" appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" type=\"password\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n </mat-form-field>\n</ng-container>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\n// import { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\n\nimport { TextInputFieldMolecule } from './text-input-field.molecule';\n\n\n\n@NgModule({\n declarations: [TextInputFieldMolecule],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n // MatFormFieldModule,\n MatInputModule,\n ],\n exports: [TextInputFieldMolecule],\n bootstrap: [TextInputFieldMolecule],\n})\nexport class TextInputFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAUa,s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