@ng-atomic/components 0.0.1
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/README.md +7 -0
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js +86 -0
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-card.umd.js +94 -0
- package/bundles/ng-atomic-components-frames-card.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-card.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-card.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up.umd.js +581 -0
- package/bundles/ng-atomic-components-frames-line-up.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-line-up.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-overlay.umd.js +126 -0
- package/bundles/ng-atomic-components-frames-overlay.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-overlay.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-overlay.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-scroll.umd.js +91 -0
- package/bundles/ng-atomic-components-frames-scroll.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-scroll.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-scroll.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js +163 -0
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.js +154 -0
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-checkbox-column.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.js +130 -0
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-chips-input-field.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js +108 -0
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js +427 -0
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js +16 -0
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +101 -0
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +117 -0
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +430 -0
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js +16 -0
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-heading.umd.js +86 -0
- package/bundles/ng-atomic-components-organisms-heading.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js +110 -0
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-menu.umd.js +96 -0
- package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-paginator.umd.js +121 -0
- package/bundles/ng-atomic-components-organisms-paginator.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-paginator.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-paginator.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.js +103 -0
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js +480 -0
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js +16 -0
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.js +97 -0
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js +112 -0
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-pages-_index.umd.js +89 -0
- package/bundles/ng-atomic-components-pages-_index.umd.js.map +1 -0
- package/bundles/ng-atomic-components-pages-_index.umd.min.js +2 -0
- package/bundles/ng-atomic-components-pages-_index.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-pages-blank.umd.js +84 -0
- package/bundles/ng-atomic-components-pages-blank.umd.js.map +1 -0
- package/bundles/ng-atomic-components-pages-blank.umd.min.js +2 -0
- package/bundles/ng-atomic-components-pages-blank.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-templates-entrance.umd.js +121 -0
- package/bundles/ng-atomic-components-templates-entrance.umd.js.map +1 -0
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js +2 -0
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-templates-loading.umd.js +94 -0
- package/bundles/ng-atomic-components-templates-loading.umd.js.map +1 -0
- package/bundles/ng-atomic-components-templates-loading.umd.min.js +2 -0
- package/bundles/ng-atomic-components-templates-loading.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js +507 -0
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js.map +1 -0
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js +16 -0
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-templates-smart-index.umd.js +178 -0
- package/bundles/ng-atomic-components-templates-smart-index.umd.js.map +1 -0
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js +2 -0
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components.umd.js +11 -0
- package/bundles/ng-atomic-components.umd.js.map +1 -0
- package/bundles/ng-atomic-components.umd.min.js +2 -0
- package/bundles/ng-atomic-components.umd.min.js.map +1 -0
- package/esm2015/frames/auto-layout/auto-layout.frame.js +16 -0
- package/esm2015/frames/auto-layout/auto-layout.frame.js.map +1 -0
- package/esm2015/frames/auto-layout/auto-layout.module.js +27 -0
- package/esm2015/frames/auto-layout/auto-layout.module.js.map +1 -0
- package/esm2015/frames/auto-layout/index.js +3 -0
- package/esm2015/frames/auto-layout/index.js.map +1 -0
- package/esm2015/frames/auto-layout/ng-atomic-components-frames-auto-layout.js +5 -0
- package/esm2015/frames/auto-layout/ng-atomic-components-frames-auto-layout.js.map +1 -0
- package/esm2015/frames/card/card.frame.js +17 -0
- package/esm2015/frames/card/card.frame.js.map +1 -0
- package/esm2015/frames/card/card.module.js +34 -0
- package/esm2015/frames/card/card.module.js.map +1 -0
- package/esm2015/frames/card/index.js +3 -0
- package/esm2015/frames/card/index.js.map +1 -0
- package/esm2015/frames/card/ng-atomic-components-frames-card.js +5 -0
- package/esm2015/frames/card/ng-atomic-components-frames-card.js.map +1 -0
- package/esm2015/frames/line-up/index.js +3 -0
- package/esm2015/frames/line-up/index.js.map +1 -0
- package/esm2015/frames/line-up/line-up.animations.js +67 -0
- package/esm2015/frames/line-up/line-up.animations.js.map +1 -0
- package/esm2015/frames/line-up/line-up.frame.js +68 -0
- package/esm2015/frames/line-up/line-up.frame.js.map +1 -0
- package/esm2015/frames/line-up/line-up.module.js +27 -0
- package/esm2015/frames/line-up/line-up.module.js.map +1 -0
- package/esm2015/frames/line-up/ng-atomic-components-frames-line-up.js +5 -0
- package/esm2015/frames/line-up/ng-atomic-components-frames-line-up.js.map +1 -0
- package/esm2015/frames/line-up/resize-observer.js +27 -0
- package/esm2015/frames/line-up/resize-observer.js.map +1 -0
- package/esm2015/frames/overlay/index.js +3 -0
- package/esm2015/frames/overlay/index.js.map +1 -0
- package/esm2015/frames/overlay/ng-atomic-components-frames-overlay.js +5 -0
- package/esm2015/frames/overlay/ng-atomic-components-frames-overlay.js.map +1 -0
- package/esm2015/frames/overlay/overlay.animations.js +28 -0
- package/esm2015/frames/overlay/overlay.animations.js.map +1 -0
- package/esm2015/frames/overlay/overlay.frame.js +32 -0
- package/esm2015/frames/overlay/overlay.frame.js.map +1 -0
- package/esm2015/frames/overlay/overlay.module.js +29 -0
- package/esm2015/frames/overlay/overlay.module.js.map +1 -0
- package/esm2015/frames/scroll/index.js +3 -0
- package/esm2015/frames/scroll/index.js.map +1 -0
- package/esm2015/frames/scroll/ng-atomic-components-frames-scroll.js +5 -0
- package/esm2015/frames/scroll/ng-atomic-components-frames-scroll.js.map +1 -0
- package/esm2015/frames/scroll/scroll.frame.js +17 -0
- package/esm2015/frames/scroll/scroll.frame.js.map +1 -0
- package/esm2015/frames/scroll/scroll.module.js +31 -0
- package/esm2015/frames/scroll/scroll.module.js.map +1 -0
- package/esm2015/index.js +2 -0
- package/esm2015/index.js.map +1 -0
- package/esm2015/molecules/actions-column/actions-column.module.js +46 -0
- package/esm2015/molecules/actions-column/actions-column.module.js.map +1 -0
- package/esm2015/molecules/actions-column/actions-column.molecule.js +79 -0
- package/esm2015/molecules/actions-column/actions-column.molecule.js.map +1 -0
- package/esm2015/molecules/actions-column/index.js +3 -0
- package/esm2015/molecules/actions-column/index.js.map +1 -0
- package/esm2015/molecules/actions-column/ng-atomic-components-molecules-actions-column.js +5 -0
- package/esm2015/molecules/actions-column/ng-atomic-components-molecules-actions-column.js.map +1 -0
- package/esm2015/molecules/checkbox-column/checkbox-column.module.js +43 -0
- package/esm2015/molecules/checkbox-column/checkbox-column.module.js.map +1 -0
- package/esm2015/molecules/checkbox-column/checkbox-column.molecule.js +68 -0
- package/esm2015/molecules/checkbox-column/checkbox-column.molecule.js.map +1 -0
- package/esm2015/molecules/checkbox-column/index.js +3 -0
- package/esm2015/molecules/checkbox-column/index.js.map +1 -0
- package/esm2015/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.js +5 -0
- package/esm2015/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.js.map +1 -0
- package/esm2015/molecules/chips-input-field/chips-input-field.module.js +46 -0
- package/esm2015/molecules/chips-input-field/chips-input-field.module.js.map +1 -0
- package/esm2015/molecules/chips-input-field/chips-input-field.molecule.js +50 -0
- package/esm2015/molecules/chips-input-field/chips-input-field.molecule.js.map +1 -0
- package/esm2015/molecules/chips-input-field/index.js +3 -0
- package/esm2015/molecules/chips-input-field/index.js.map +1 -0
- package/esm2015/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.js +5 -0
- package/esm2015/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.js.map +1 -0
- package/esm2015/molecules/select-input-field/index.js +3 -0
- package/esm2015/molecules/select-input-field/index.js.map +1 -0
- package/esm2015/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.js +5 -0
- package/esm2015/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.js.map +1 -0
- package/esm2015/molecules/select-input-field/select-input-field.module.js +38 -0
- package/esm2015/molecules/select-input-field/select-input-field.module.js.map +1 -0
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js +35 -0
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js.map +1 -0
- package/esm2015/molecules/smart-column/index.js +3 -0
- package/esm2015/molecules/smart-column/index.js.map +1 -0
- package/esm2015/molecules/smart-column/ng-atomic-components-molecules-smart-column.js +5 -0
- package/esm2015/molecules/smart-column/ng-atomic-components-molecules-smart-column.js.map +1 -0
- package/esm2015/molecules/smart-column/smart-column.module.js +41 -0
- package/esm2015/molecules/smart-column/smart-column.module.js.map +1 -0
- package/esm2015/molecules/smart-column/smart-column.molecule.js +31 -0
- package/esm2015/molecules/smart-column/smart-column.molecule.js.map +1 -0
- package/esm2015/ng-atomic-components.js +5 -0
- package/esm2015/ng-atomic-components.js.map +1 -0
- package/esm2015/organisms/action-buttons-section/action-buttons-section.module.js +34 -0
- package/esm2015/organisms/action-buttons-section/action-buttons-section.module.js.map +1 -0
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js +27 -0
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js.map +1 -0
- package/esm2015/organisms/action-buttons-section/index.js +3 -0
- package/esm2015/organisms/action-buttons-section/index.js.map +1 -0
- package/esm2015/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.js +5 -0
- package/esm2015/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.js.map +1 -0
- package/esm2015/organisms/back-navigator/back-navigator.module.js +46 -0
- package/esm2015/organisms/back-navigator/back-navigator.module.js.map +1 -0
- package/esm2015/organisms/back-navigator/back-navigator.organism.js +37 -0
- package/esm2015/organisms/back-navigator/back-navigator.organism.js.map +1 -0
- package/esm2015/organisms/back-navigator/index.js +3 -0
- package/esm2015/organisms/back-navigator/index.js.map +1 -0
- package/esm2015/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.js +5 -0
- package/esm2015/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.js.map +1 -0
- package/esm2015/organisms/date-input-section/date-input-section.module.js +44 -0
- package/esm2015/organisms/date-input-section/date-input-section.module.js.map +1 -0
- package/esm2015/organisms/date-input-section/date-input-section.organism.js +34 -0
- package/esm2015/organisms/date-input-section/date-input-section.organism.js.map +1 -0
- package/esm2015/organisms/date-input-section/index.js +3 -0
- package/esm2015/organisms/date-input-section/index.js.map +1 -0
- package/esm2015/organisms/date-input-section/ng-atomic-components-organisms-date-input-section.js +5 -0
- package/esm2015/organisms/date-input-section/ng-atomic-components-organisms-date-input-section.js.map +1 -0
- package/esm2015/organisms/heading/heading.module.js +27 -0
- package/esm2015/organisms/heading/heading.module.js.map +1 -0
- package/esm2015/organisms/heading/heading.organism.js +16 -0
- package/esm2015/organisms/heading/heading.organism.js.map +1 -0
- package/esm2015/organisms/heading/index.js +3 -0
- package/esm2015/organisms/heading/index.js.map +1 -0
- package/esm2015/organisms/heading/ng-atomic-components-organisms-heading.js +5 -0
- package/esm2015/organisms/heading/ng-atomic-components-organisms-heading.js.map +1 -0
- package/esm2015/organisms/input-field-section/index.js +3 -0
- package/esm2015/organisms/input-field-section/index.js.map +1 -0
- package/esm2015/organisms/input-field-section/input-field-section.module.js +42 -0
- package/esm2015/organisms/input-field-section/input-field-section.module.js.map +1 -0
- package/esm2015/organisms/input-field-section/input-field-section.organism.js +32 -0
- package/esm2015/organisms/input-field-section/input-field-section.organism.js.map +1 -0
- package/esm2015/organisms/input-field-section/ng-atomic-components-organisms-input-field-section.js +5 -0
- package/esm2015/organisms/input-field-section/ng-atomic-components-organisms-input-field-section.js.map +1 -0
- package/esm2015/organisms/menu/index.js +3 -0
- package/esm2015/organisms/menu/index.js.map +1 -0
- package/esm2015/organisms/menu/menu.module.js +31 -0
- package/esm2015/organisms/menu/menu.module.js.map +1 -0
- package/esm2015/organisms/menu/menu.organism.js +28 -0
- package/esm2015/organisms/menu/menu.organism.js.map +1 -0
- package/esm2015/organisms/menu/ng-atomic-components-organisms-menu.js +5 -0
- package/esm2015/organisms/menu/ng-atomic-components-organisms-menu.js.map +1 -0
- package/esm2015/organisms/paginator/index.js +3 -0
- package/esm2015/organisms/paginator/index.js.map +1 -0
- package/esm2015/organisms/paginator/ng-atomic-components-organisms-paginator.js +5 -0
- package/esm2015/organisms/paginator/ng-atomic-components-organisms-paginator.js.map +1 -0
- package/esm2015/organisms/paginator/paginator.module.js +48 -0
- package/esm2015/organisms/paginator/paginator.module.js.map +1 -0
- package/esm2015/organisms/paginator/paginator.organism.js +38 -0
- package/esm2015/organisms/paginator/paginator.organism.js.map +1 -0
- package/esm2015/organisms/select-input-section/index.js +3 -0
- package/esm2015/organisms/select-input-section/index.js.map +1 -0
- package/esm2015/organisms/select-input-section/ng-atomic-components-organisms-select-input-section.js +5 -0
- package/esm2015/organisms/select-input-section/ng-atomic-components-organisms-select-input-section.js.map +1 -0
- package/esm2015/organisms/select-input-section/select-input-section.module.js +34 -0
- package/esm2015/organisms/select-input-section/select-input-section.module.js.map +1 -0
- package/esm2015/organisms/select-input-section/select-input-section.organism.js +29 -0
- package/esm2015/organisms/select-input-section/select-input-section.organism.js.map +1 -0
- package/esm2015/organisms/smart-table/index.js +3 -0
- package/esm2015/organisms/smart-table/index.js.map +1 -0
- package/esm2015/organisms/smart-table/ng-atomic-components-organisms-smart-table.js +5 -0
- package/esm2015/organisms/smart-table/ng-atomic-components-organisms-smart-table.js.map +1 -0
- package/esm2015/organisms/smart-table/smart-table.module.js +72 -0
- package/esm2015/organisms/smart-table/smart-table.module.js.map +1 -0
- package/esm2015/organisms/smart-table/smart-table.organism.js +58 -0
- package/esm2015/organisms/smart-table/smart-table.organism.js.map +1 -0
- package/esm2015/organisms/social-login-section/index.js +3 -0
- package/esm2015/organisms/social-login-section/index.js.map +1 -0
- package/esm2015/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.js +5 -0
- package/esm2015/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.js.map +1 -0
- package/esm2015/organisms/social-login-section/social-login-section.module.js +34 -0
- package/esm2015/organisms/social-login-section/social-login-section.module.js.map +1 -0
- package/esm2015/organisms/social-login-section/social-login-section.organism.js +22 -0
- package/esm2015/organisms/social-login-section/social-login-section.organism.js.map +1 -0
- package/esm2015/organisms/top-navigator/index.js +3 -0
- package/esm2015/organisms/top-navigator/index.js.map +1 -0
- package/esm2015/organisms/top-navigator/ng-atomic-components-organisms-top-navigator.js +5 -0
- package/esm2015/organisms/top-navigator/ng-atomic-components-organisms-top-navigator.js.map +1 -0
- package/esm2015/organisms/top-navigator/top-navigator.module.js +46 -0
- package/esm2015/organisms/top-navigator/top-navigator.module.js.map +1 -0
- package/esm2015/organisms/top-navigator/top-navigator.organism.js +32 -0
- package/esm2015/organisms/top-navigator/top-navigator.organism.js.map +1 -0
- package/esm2015/pages/_index/index.js +3 -0
- package/esm2015/pages/_index/index.js.map +1 -0
- package/esm2015/pages/_index/index.module.js +33 -0
- package/esm2015/pages/_index/index.module.js.map +1 -0
- package/esm2015/pages/_index/index.page.js +15 -0
- package/esm2015/pages/_index/index.page.js.map +1 -0
- package/esm2015/pages/_index/ng-atomic-components-pages-_index.js +5 -0
- package/esm2015/pages/_index/ng-atomic-components-pages-_index.js.map +1 -0
- package/esm2015/pages/blank/blank.module.js +28 -0
- package/esm2015/pages/blank/blank.module.js.map +1 -0
- package/esm2015/pages/blank/blank.page.js +15 -0
- package/esm2015/pages/blank/blank.page.js.map +1 -0
- package/esm2015/pages/blank/index.js +3 -0
- package/esm2015/pages/blank/index.js.map +1 -0
- package/esm2015/pages/blank/ng-atomic-components-pages-blank.js +5 -0
- package/esm2015/pages/blank/ng-atomic-components-pages-blank.js.map +1 -0
- package/esm2015/templates/entrance/entrance.module.js +57 -0
- package/esm2015/templates/entrance/entrance.module.js.map +1 -0
- package/esm2015/templates/entrance/entrance.template.js +34 -0
- package/esm2015/templates/entrance/entrance.template.js.map +1 -0
- package/esm2015/templates/entrance/index.js +3 -0
- package/esm2015/templates/entrance/index.js.map +1 -0
- package/esm2015/templates/entrance/ng-atomic-components-templates-entrance.js +5 -0
- package/esm2015/templates/entrance/ng-atomic-components-templates-entrance.js.map +1 -0
- package/esm2015/templates/loading/index.js +3 -0
- package/esm2015/templates/loading/index.js.map +1 -0
- package/esm2015/templates/loading/loading.module.js +34 -0
- package/esm2015/templates/loading/loading.module.js.map +1 -0
- package/esm2015/templates/loading/loading.template.js +17 -0
- package/esm2015/templates/loading/loading.template.js.map +1 -0
- package/esm2015/templates/loading/ng-atomic-components-templates-loading.js +5 -0
- package/esm2015/templates/loading/ng-atomic-components-templates-loading.js.map +1 -0
- package/esm2015/templates/smart-crud/index.js +3 -0
- package/esm2015/templates/smart-crud/index.js.map +1 -0
- package/esm2015/templates/smart-crud/ng-atomic-components-templates-smart-crud.js +5 -0
- package/esm2015/templates/smart-crud/ng-atomic-components-templates-smart-crud.js.map +1 -0
- package/esm2015/templates/smart-crud/smart-crud.module.js +76 -0
- package/esm2015/templates/smart-crud/smart-crud.module.js.map +1 -0
- package/esm2015/templates/smart-crud/smart-crud.template.js +77 -0
- package/esm2015/templates/smart-crud/smart-crud.template.js.map +1 -0
- package/esm2015/templates/smart-index/index.js +3 -0
- package/esm2015/templates/smart-index/index.js.map +1 -0
- package/esm2015/templates/smart-index/ng-atomic-components-templates-smart-index.js +5 -0
- package/esm2015/templates/smart-index/ng-atomic-components-templates-smart-index.js.map +1 -0
- package/esm2015/templates/smart-index/smart-index.module.js +53 -0
- package/esm2015/templates/smart-index/smart-index.module.js.map +1 -0
- package/esm2015/templates/smart-index/smart-index.template.js +81 -0
- package/esm2015/templates/smart-index/smart-index.template.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-auto-layout.js +47 -0
- package/fesm2015/ng-atomic-components-frames-auto-layout.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-card.js +54 -0
- package/fesm2015/ng-atomic-components-frames-card.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-line-up.js +189 -0
- package/fesm2015/ng-atomic-components-frames-line-up.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-overlay.js +90 -0
- package/fesm2015/ng-atomic-components-frames-overlay.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-scroll.js +51 -0
- package/fesm2015/ng-atomic-components-frames-scroll.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-actions-column.js +123 -0
- package/fesm2015/ng-atomic-components-molecules-actions-column.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.js +112 -0
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.js +96 -0
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js +74 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-smart-column.js +72 -0
- package/fesm2015/ng-atomic-components-molecules-smart-column.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js +63 -0
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js +82 -0
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js +79 -0
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-heading.js +47 -0
- package/fesm2015/ng-atomic-components-organisms-heading.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js +75 -0
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-menu.js +60 -0
- package/fesm2015/ng-atomic-components-organisms-menu.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-paginator.js +86 -0
- package/fesm2015/ng-atomic-components-organisms-paginator.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-select-input-section.js +66 -0
- package/fesm2015/ng-atomic-components-organisms-select-input-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-smart-table.js +128 -0
- package/fesm2015/ng-atomic-components-organisms-smart-table.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-social-login-section.js +59 -0
- package/fesm2015/ng-atomic-components-organisms-social-login-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js +77 -0
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js.map +1 -0
- package/fesm2015/ng-atomic-components-pages-_index.js +51 -0
- package/fesm2015/ng-atomic-components-pages-_index.js.map +1 -0
- package/fesm2015/ng-atomic-components-pages-blank.js +46 -0
- package/fesm2015/ng-atomic-components-pages-blank.js.map +1 -0
- package/fesm2015/ng-atomic-components-templates-entrance.js +88 -0
- package/fesm2015/ng-atomic-components-templates-entrance.js.map +1 -0
- package/fesm2015/ng-atomic-components-templates-loading.js +54 -0
- package/fesm2015/ng-atomic-components-templates-loading.js.map +1 -0
- package/fesm2015/ng-atomic-components-templates-smart-crud.js +147 -0
- package/fesm2015/ng-atomic-components-templates-smart-crud.js.map +1 -0
- package/fesm2015/ng-atomic-components-templates-smart-index.js +133 -0
- package/fesm2015/ng-atomic-components-templates-smart-index.js.map +1 -0
- package/fesm2015/ng-atomic-components.js +4 -0
- package/fesm2015/ng-atomic-components.js.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/auto-layout/ng-atomic-components-frames-auto-layout.d.ts +5 -0
- package/frames/auto-layout/package.json +10 -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/card/ng-atomic-components-frames-card.d.ts +5 -0
- package/frames/card/package.json +10 -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 +24 -0
- package/frames/line-up/line-up.module.d.ts +9 -0
- package/frames/line-up/ng-atomic-components-frames-line-up.d.ts +5 -0
- package/frames/line-up/package.json +10 -0
- package/frames/line-up/resize-observer.d.ts +16 -0
- package/frames/overlay/index.d.ts +2 -0
- package/frames/overlay/ng-atomic-components-frames-overlay.d.ts +5 -0
- package/frames/overlay/overlay.animations.d.ts +1 -0
- package/frames/overlay/overlay.frame.d.ts +9 -0
- package/frames/overlay/overlay.module.d.ts +9 -0
- package/frames/overlay/package.json +10 -0
- package/frames/scroll/index.d.ts +2 -0
- package/frames/scroll/ng-atomic-components-frames-scroll.d.ts +5 -0
- package/frames/scroll/package.json +10 -0
- package/frames/scroll/scroll.frame.d.ts +5 -0
- package/frames/scroll/scroll.module.d.ts +9 -0
- package/index.d.ts +1 -0
- package/molecules/actions-column/actions-column.module.d.ts +12 -0
- package/molecules/actions-column/actions-column.molecule.d.ts +22 -0
- package/molecules/actions-column/index.d.ts +2 -0
- package/molecules/actions-column/ng-atomic-components-molecules-actions-column.d.ts +5 -0
- package/molecules/actions-column/package.json +10 -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/checkbox-column/ng-atomic-components-molecules-checkbox-column.d.ts +5 -0
- package/molecules/checkbox-column/package.json +10 -0
- package/molecules/chips-input-field/chips-input-field.module.d.ts +12 -0
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +18 -0
- package/molecules/chips-input-field/index.d.ts +2 -0
- package/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.d.ts +5 -0
- package/molecules/chips-input-field/package.json +10 -0
- package/molecules/select-input-field/index.d.ts +2 -0
- package/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.d.ts +5 -0
- package/molecules/select-input-field/package.json +10 -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 +15 -0
- package/molecules/smart-column/index.d.ts +2 -0
- package/molecules/smart-column/ng-atomic-components-molecules-smart-column.d.ts +5 -0
- package/molecules/smart-column/package.json +10 -0
- package/molecules/smart-column/smart-column.module.d.ts +10 -0
- package/molecules/smart-column/smart-column.molecule.d.ts +7 -0
- package/ng-atomic-components.d.ts +5 -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 +9 -0
- package/organisms/action-buttons-section/index.d.ts +2 -0
- package/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.d.ts +5 -0
- package/organisms/action-buttons-section/package.json +10 -0
- package/organisms/back-navigator/back-navigator.module.d.ts +12 -0
- package/organisms/back-navigator/back-navigator.organism.d.ts +12 -0
- package/organisms/back-navigator/index.d.ts +2 -0
- package/organisms/back-navigator/ng-atomic-components-organisms-back-navigator.d.ts +5 -0
- package/organisms/back-navigator/package.json +10 -0
- package/organisms/date-input-section/date-input-section.module.d.ts +12 -0
- package/organisms/date-input-section/date-input-section.organism.d.ts +11 -0
- package/organisms/date-input-section/index.d.ts +2 -0
- package/organisms/date-input-section/ng-atomic-components-organisms-date-input-section.d.ts +5 -0
- package/organisms/date-input-section/package.json +10 -0
- package/organisms/heading/heading.module.d.ts +8 -0
- package/organisms/heading/heading.organism.d.ts +5 -0
- package/organisms/heading/index.d.ts +2 -0
- package/organisms/heading/ng-atomic-components-organisms-heading.d.ts +5 -0
- package/organisms/heading/package.json +10 -0
- package/organisms/input-field-section/index.d.ts +2 -0
- package/organisms/input-field-section/input-field-section.module.d.ts +11 -0
- package/organisms/input-field-section/input-field-section.organism.d.ts +9 -0
- package/organisms/input-field-section/ng-atomic-components-organisms-input-field-section.d.ts +5 -0
- package/organisms/input-field-section/package.json +10 -0
- package/organisms/menu/index.d.ts +2 -0
- package/organisms/menu/menu.module.d.ts +10 -0
- package/organisms/menu/menu.organism.d.ts +9 -0
- package/organisms/menu/ng-atomic-components-organisms-menu.d.ts +5 -0
- package/organisms/menu/package.json +10 -0
- package/organisms/paginator/index.d.ts +2 -0
- package/organisms/paginator/ng-atomic-components-organisms-paginator.d.ts +5 -0
- package/organisms/paginator/package.json +10 -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/ng-atomic-components-organisms-select-input-section.d.ts +5 -0
- package/organisms/select-input-section/package.json +10 -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-table/index.d.ts +2 -0
- package/organisms/smart-table/ng-atomic-components-organisms-smart-table.d.ts +5 -0
- package/organisms/smart-table/package.json +10 -0
- package/organisms/smart-table/smart-table.module.d.ts +17 -0
- package/organisms/smart-table/smart-table.organism.d.ts +18 -0
- package/organisms/social-login-section/index.d.ts +2 -0
- package/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.d.ts +5 -0
- package/organisms/social-login-section/package.json +10 -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/top-navigator/index.d.ts +2 -0
- package/organisms/top-navigator/ng-atomic-components-organisms-top-navigator.d.ts +5 -0
- package/organisms/top-navigator/package.json +10 -0
- package/organisms/top-navigator/top-navigator.module.d.ts +12 -0
- package/organisms/top-navigator/top-navigator.organism.d.ts +13 -0
- package/package.json +30 -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/_index/ng-atomic-components-pages-_index.d.ts +5 -0
- package/pages/_index/package.json +10 -0
- package/pages/blank/blank.module.d.ts +9 -0
- package/pages/blank/blank.page.d.ts +5 -0
- package/pages/blank/index.d.ts +2 -0
- package/pages/blank/ng-atomic-components-pages-blank.d.ts +5 -0
- package/pages/blank/package.json +10 -0
- package/templates/entrance/entrance.module.d.ts +14 -0
- package/templates/entrance/entrance.template.d.ts +9 -0
- package/templates/entrance/index.d.ts +2 -0
- package/templates/entrance/ng-atomic-components-templates-entrance.d.ts +5 -0
- package/templates/entrance/package.json +10 -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/loading/ng-atomic-components-templates-loading.d.ts +5 -0
- package/templates/loading/package.json +10 -0
- package/templates/smart-crud/index.d.ts +2 -0
- package/templates/smart-crud/ng-atomic-components-templates-smart-crud.d.ts +5 -0
- package/templates/smart-crud/package.json +10 -0
- package/templates/smart-crud/smart-crud.module.d.ts +17 -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/ng-atomic-components-templates-smart-index.d.ts +5 -0
- package/templates/smart-index/package.json +10 -0
- package/templates/smart-index/smart-index.module.d.ts +13 -0
- package/templates/smart-index/smart-index.template.d.ts +31 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/cdk/table";
|
|
5
|
+
import * as i2 from "@angular/material/table";
|
|
6
|
+
import * as i3 from "@angular/material/checkbox";
|
|
7
|
+
export class CheckboxColumnMolecule {
|
|
8
|
+
constructor(_table) {
|
|
9
|
+
this._table = _table;
|
|
10
|
+
this.selectedIdSet = new Set();
|
|
11
|
+
this.checkboxClick = new EventEmitter();
|
|
12
|
+
}
|
|
13
|
+
get name() {
|
|
14
|
+
return this._name;
|
|
15
|
+
}
|
|
16
|
+
set name(name) {
|
|
17
|
+
this._name = name;
|
|
18
|
+
this._syncColumnDefName();
|
|
19
|
+
}
|
|
20
|
+
ngOnInit() {
|
|
21
|
+
this._syncColumnDefName();
|
|
22
|
+
if (this._table) {
|
|
23
|
+
this.columnDef.cell = this.cell;
|
|
24
|
+
this.columnDef.headerCell = this.headerCell;
|
|
25
|
+
this._table.addColumnDef(this.columnDef);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
ngOnDestroy() {
|
|
29
|
+
if (this._table) {
|
|
30
|
+
this._table.removeColumnDef(this.columnDef);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
_syncColumnDefName() {
|
|
34
|
+
if (this.columnDef) {
|
|
35
|
+
this.columnDef.name = this.name;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
CheckboxColumnMolecule.ɵfac = function CheckboxColumnMolecule_Factory(t) { return new (t || CheckboxColumnMolecule)(i0.ɵɵdirectiveInject(i1.CdkTable, 8)); };
|
|
40
|
+
CheckboxColumnMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: CheckboxColumnMolecule, selector: "molecules-checkbox-column", inputs: { name: "name", selectedIdSet: "selectedIdSet" }, outputs: { checkboxClick: "checkboxClick" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, emitDistinctChangesOnly: false, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, emitDistinctChangesOnly: false, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, emitDistinctChangesOnly: false, descendants: true, static: true }], ngImport: i0, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef></th>\n <td mat-cell *matCellDef=\"let item\">\n <mat-checkbox\n (click)=\"checkboxClick.emit(item)\"\n [checked]=\"selectedIdSet.has(item.id)\"\n ></mat-checkbox>\n </td>\n</ng-container>\n", styles: [""], directives: [{ type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i2.MatCellDef, selector: "[matCellDef]" }, { type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i3.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
41
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxColumnMolecule, [{
|
|
42
|
+
type: Component,
|
|
43
|
+
args: [{
|
|
44
|
+
selector: 'molecules-checkbox-column',
|
|
45
|
+
templateUrl: './checkbox-column.molecule.html',
|
|
46
|
+
styleUrls: ['./checkbox-column.molecule.scss'],
|
|
47
|
+
encapsulation: ViewEncapsulation.None,
|
|
48
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
49
|
+
}]
|
|
50
|
+
}], function () { return [{ type: i1.CdkTable, decorators: [{
|
|
51
|
+
type: Optional
|
|
52
|
+
}] }]; }, { name: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], selectedIdSet: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], checkboxClick: [{
|
|
57
|
+
type: Output
|
|
58
|
+
}], columnDef: [{
|
|
59
|
+
type: ViewChild,
|
|
60
|
+
args: [CdkColumnDef, { static: true }]
|
|
61
|
+
}], cell: [{
|
|
62
|
+
type: ViewChild,
|
|
63
|
+
args: [CdkCellDef, { static: true }]
|
|
64
|
+
}], headerCell: [{
|
|
65
|
+
type: ViewChild,
|
|
66
|
+
args: [CdkHeaderCellDef, { static: true }]
|
|
67
|
+
}] }); })();
|
|
68
|
+
//# sourceMappingURL=checkbox-column.molecule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-column.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/checkbox-column/checkbox-column.molecule.ts","../../../../../../libs/components/molecules/checkbox-column/checkbox-column.molecule.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAU,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;;;;;AAShJ,MAAM,OAAO,sBAAsB;IA0BjC,YAAgC,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAdnD,kBAAa,GAAG,IAAI,GAAG,EAAU,CAAC;QAGlC,kBAAa,GAAG,IAAI,YAAY,EAAK,CAAC;IAWiB,CAAC;IAzBxD,IACI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IACD,IAAI,IAAI,CAAC,IAAY;QACnB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAoBD,QAAQ;QACN,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAE1B,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YAChC,IAAI,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;YAC5C,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC1C;IACH,CAAC;IAED,WAAW;QACT,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC7C;IACH,CAAC;IAEO,kBAAkB;QACxB,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;SACjC;IACH,CAAC;;4FAhDU,sBAAsB;kFAAtB,sBAAsB,mNAiBtB,YAAY,qHAGZ,UAAU,2HAGV,gBAAgB,8FCjC7B,uRASA;uFDCa,sBAAsB;cAPlC,SAAS;eAAC;gBACT,QAAQ,EAAE,2BAA2B;gBACrC,WAAW,EAAE,iCAAiC;gBAC9C,SAAS,EAAE,CAAC,iCAAiC,CAAC;gBAC9C,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;sBA2Bc,QAAQ;wBAxBjB,IAAI;kBADP,KAAK;YAWN,aAAa;kBADZ,KAAK;YAIN,aAAa;kBADZ,MAAM;YAIP,SAAS;kBADR,SAAS;mBAAC,YAAY,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;YAIvC,IAAI;kBADH,SAAS;mBAAC,UAAU,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC;YAIrC,UAAU;kBADT,SAAS;mBAAC,gBAAgB,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC","sourcesContent":["import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'molecules-checkbox-column',\n templateUrl: './checkbox-column.molecule.html',\n styleUrls: ['./checkbox-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CheckboxColumnMolecule<T> implements OnInit {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n selectedIdSet = new Set<string>();\n\n @Output()\n checkboxClick = new EventEmitter<T>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n\n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(@Optional() private _table: CdkTable<T>) { }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n}\n","<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef></th>\n <td mat-cell *matCellDef=\"let item\">\n <mat-checkbox\n (click)=\"checkboxClick.emit(item)\"\n [checked]=\"selectedIdSet.has(item.id)\"\n ></mat-checkbox>\n </td>\n</ng-container>\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/checkbox-column/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,cAAc,4BAA4B,CAAC","sourcesContent":["export { CheckboxColumnModule } from './checkbox-column.module';\nexport * from './checkbox-column.molecule';\n"]}
|
package/esm2015/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-checkbox-column.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ChipsInputFieldMolecule } from './chips-input-field.molecule';
|
|
4
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import { MatChipsModule } from '@angular/material/chips';
|
|
6
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
7
|
+
import { MatInputModule } from '@angular/material/input';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class ChipsInputFieldModule {
|
|
10
|
+
}
|
|
11
|
+
ChipsInputFieldModule.ɵfac = function ChipsInputFieldModule_Factory(t) { return new (t || ChipsInputFieldModule)(); };
|
|
12
|
+
ChipsInputFieldModule.ɵmod = i0.ɵɵdefineNgModule({ type: ChipsInputFieldModule });
|
|
13
|
+
ChipsInputFieldModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
14
|
+
CommonModule,
|
|
15
|
+
ReactiveFormsModule,
|
|
16
|
+
// Materials
|
|
17
|
+
MatChipsModule,
|
|
18
|
+
MatIconModule,
|
|
19
|
+
MatInputModule,
|
|
20
|
+
]] });
|
|
21
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ChipsInputFieldModule, { declarations: [ChipsInputFieldMolecule], imports: [CommonModule,
|
|
22
|
+
ReactiveFormsModule,
|
|
23
|
+
// Materials
|
|
24
|
+
MatChipsModule,
|
|
25
|
+
MatIconModule,
|
|
26
|
+
MatInputModule], exports: [ChipsInputFieldMolecule] }); })();
|
|
27
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChipsInputFieldModule, [{
|
|
28
|
+
type: NgModule,
|
|
29
|
+
args: [{
|
|
30
|
+
declarations: [
|
|
31
|
+
ChipsInputFieldMolecule
|
|
32
|
+
],
|
|
33
|
+
imports: [
|
|
34
|
+
CommonModule,
|
|
35
|
+
ReactiveFormsModule,
|
|
36
|
+
// Materials
|
|
37
|
+
MatChipsModule,
|
|
38
|
+
MatIconModule,
|
|
39
|
+
MatInputModule,
|
|
40
|
+
],
|
|
41
|
+
exports: [
|
|
42
|
+
ChipsInputFieldMolecule
|
|
43
|
+
]
|
|
44
|
+
}]
|
|
45
|
+
}], null, null); })();
|
|
46
|
+
//# sourceMappingURL=chips-input-field.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chips-input-field.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/chips-input-field/chips-input-field.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;;AAkBzD,MAAM,OAAO,qBAAqB;;0FAArB,qBAAqB;yDAArB,qBAAqB;6DAZvB;YACP,YAAY;YACZ,mBAAmB;YACnB,YAAY;YACZ,cAAc;YACd,aAAa;YACb,cAAc;SACf;wFAKU,qBAAqB,mBAd9B,uBAAuB,aAGvB,YAAY;QACZ,mBAAmB;QACnB,YAAY;QACZ,cAAc;QACd,aAAa;QACb,cAAc,aAGd,uBAAuB;uFAGd,qBAAqB;cAhBjC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,uBAAuB;iBACxB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,YAAY;oBACZ,cAAc;oBACd,aAAa;oBACb,cAAc;iBACf;gBACD,OAAO,EAAE;oBACP,uBAAuB;iBACxB;aACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ChipsInputFieldMolecule } from './chips-input-field.molecule';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatChipsModule } from '@angular/material/chips';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\n\n@NgModule({\n declarations: [\n ChipsInputFieldMolecule\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatChipsModule,\n MatIconModule,\n MatInputModule,\n ],\n exports: [\n ChipsInputFieldMolecule\n ]\n})\nexport class ChipsInputFieldModule { }\n"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { COMMA, ENTER } from '@angular/cdk/keycodes';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
+
import { FormControl } from '@ngneat/reactive-forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/material/chips";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "@angular/material/icon";
|
|
8
|
+
import * as i4 from "@angular/forms";
|
|
9
|
+
export class ChipsInputFieldMolecule {
|
|
10
|
+
constructor() {
|
|
11
|
+
this._control = new FormControl('');
|
|
12
|
+
this.control = new FormControl();
|
|
13
|
+
this.placeholder = '';
|
|
14
|
+
this.separatorKeysCodes = [ENTER, COMMA];
|
|
15
|
+
this.chips = [];
|
|
16
|
+
}
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
this.control.value && this._add(this.control.value);
|
|
19
|
+
this._control.valueChanges.subscribe(() => this.control.setValue(this.chips.join(' ')));
|
|
20
|
+
}
|
|
21
|
+
add(event) {
|
|
22
|
+
this._add((event.value || '').trim());
|
|
23
|
+
event.input.value = '';
|
|
24
|
+
}
|
|
25
|
+
remove(chip) {
|
|
26
|
+
const index = this.chips.indexOf(chip);
|
|
27
|
+
index >= 0 && this.chips.splice(index, 1);
|
|
28
|
+
this.control.setValue(this.chips.join(' '));
|
|
29
|
+
}
|
|
30
|
+
_add(value) {
|
|
31
|
+
value && this.chips.push(value);
|
|
32
|
+
this.control.setValue(this.chips.join(' '));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
ChipsInputFieldMolecule.ɵfac = function ChipsInputFieldMolecule_Factory(t) { return new (t || ChipsInputFieldMolecule)(); };
|
|
36
|
+
ChipsInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: ChipsInputFieldMolecule, selector: "molecules-chips-input-field", inputs: { control: "control", placeholder: "placeholder" }, ngImport: i0, template: "<mat-chip-list #chipList>\n <mat-chip *ngFor=\"let chip of chips\" (removed)=\"remove(chip)\">\n {{chip}} <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n <input\n [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"add($event)\"\n [formControl]=\"_control\"\n >\n</mat-chip-list>\n", styles: [":host{display:flex;justify-content:flex-start;align-items:center}:host,:host mat-input{width:100%;height:100%}"], directives: [{ type: i1.MatChipList, selector: "mat-chip-list", inputs: ["aria-orientation", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "selectable", "tabIndex", "errorStateMatcher"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i1.MatChipRemove, selector: "[matChipRemove]" }, { type: i1.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputSeparatorKeyCodes", "placeholder", "id", "matChipInputFor", "matChipInputAddOnBlur", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
37
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChipsInputFieldMolecule, [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{
|
|
40
|
+
selector: 'molecules-chips-input-field',
|
|
41
|
+
templateUrl: './chips-input-field.molecule.html',
|
|
42
|
+
styleUrls: ['./chips-input-field.molecule.scss'],
|
|
43
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
44
|
+
}]
|
|
45
|
+
}], function () { return []; }, { control: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}], placeholder: [{
|
|
48
|
+
type: Input
|
|
49
|
+
}] }); })();
|
|
50
|
+
//# sourceMappingURL=chips-input-field.molecule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chips-input-field.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/chips-input-field/chips-input-field.molecule.ts","../../../../../../libs/components/molecules/chips-input-field/chips-input-field.molecule.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AAElF,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;;;;;;AAQrD,MAAM,OAAO,uBAAuB;IAUlC;QARA,aAAQ,GAAG,IAAI,WAAW,CAAS,EAAE,CAAC,CAAC;QAGvC,YAAO,GAAG,IAAI,WAAW,EAAU,CAAC;QAGpC,gBAAW,GAAG,EAAE,CAAC;QAUR,uBAAkB,GAAG,CAAC,KAAK,EAAE,KAAK,CAAU,CAAC;QACtD,UAAK,GAAa,EAAE,CAAC;IATL,CAAC;IAEjB,QAAQ;QACN,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAEpD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAC1F,CAAC;IAKD,GAAG,CAAC,KAAwB;QAC1B,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;QACtC,KAAK,CAAC,KAAK,CAAC,KAAK,GAAG,EAAE,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,IAAY;QACjB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACvC,KAAK,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAC1C,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEO,IAAI,CAAC,KAAa;QACxB,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAChC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9C,CAAC;;8FAnCU,uBAAuB;mFAAvB,uBAAuB,+HCXpC,gcAaA;uFDFa,uBAAuB;cANnC,SAAS;eAAC;gBACT,QAAQ,EAAE,6BAA6B;gBACvC,WAAW,EAAE,mCAAmC;gBAChD,SAAS,EAAE,CAAC,mCAAmC,CAAC;gBAChD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;sCAMC,OAAO;kBADN,KAAK;YAIN,WAAW;kBADV,KAAK","sourcesContent":["import {COMMA, ENTER} from '@angular/cdk/keycodes';\nimport { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\nimport { MatChipInputEvent } from '@angular/material/chips';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'molecules-chips-input-field',\n templateUrl: './chips-input-field.molecule.html',\n styleUrls: ['./chips-input-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ChipsInputFieldMolecule implements OnInit {\n\n _control = new FormControl<string>('');\n\n @Input()\n control = new FormControl<string>();\n\n @Input()\n placeholder = '';\n\n constructor() { }\n\n ngOnInit(): void {\n this.control.value && this._add(this.control.value);\n\n this._control.valueChanges.subscribe(() => this.control.setValue(this.chips.join(' ')));\n }\n\n readonly separatorKeysCodes = [ENTER, COMMA] as const;\n chips: string[] = [];\n\n add(event: MatChipInputEvent): void {\n this._add((event.value || '').trim());\n event.input.value = '';\n }\n\n remove(chip: string): void {\n const index = this.chips.indexOf(chip);\n index >= 0 && this.chips.splice(index, 1);\n this.control.setValue(this.chips.join(' '));\n }\n\n private _add(value: string) {\n value && this.chips.push(value);\n this.control.setValue(this.chips.join(' '));\n }\n\n}\n","<mat-chip-list #chipList>\n <mat-chip *ngFor=\"let chip of chips\" (removed)=\"remove(chip)\">\n {{chip}} <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n <input\n [placeholder]=\"placeholder\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n [matChipInputAddOnBlur]=\"true\"\n (matChipInputTokenEnd)=\"add($event)\"\n [formControl]=\"_control\"\n >\n</mat-chip-list>\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/chips-input-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,cAAc,8BAA8B,CAAC","sourcesContent":["export { ChipsInputFieldModule } from './chips-input-field.module';\nexport * from './chips-input-field.molecule';\n"]}
|
package/esm2015/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-chips-input-field.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/select-input-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,cAAc,+BAA+B,CAAC","sourcesContent":["export { SelectInputFieldModule } from './select-input-field.module';\nexport * from './select-input-field.molecule';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-select-input-field.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
5
|
+
import { SelectInputFieldMolecule } from './select-input-field.molecule';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class SelectInputFieldModule {
|
|
8
|
+
}
|
|
9
|
+
SelectInputFieldModule.ɵfac = function SelectInputFieldModule_Factory(t) { return new (t || SelectInputFieldModule)(); };
|
|
10
|
+
SelectInputFieldModule.ɵmod = i0.ɵɵdefineNgModule({ type: SelectInputFieldModule });
|
|
11
|
+
SelectInputFieldModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
12
|
+
CommonModule,
|
|
13
|
+
ReactiveFormsModule,
|
|
14
|
+
// Materials
|
|
15
|
+
MatSelectModule,
|
|
16
|
+
]] });
|
|
17
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SelectInputFieldModule, { declarations: [SelectInputFieldMolecule], imports: [CommonModule,
|
|
18
|
+
ReactiveFormsModule,
|
|
19
|
+
// Materials
|
|
20
|
+
MatSelectModule], exports: [SelectInputFieldMolecule] }); })();
|
|
21
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputFieldModule, [{
|
|
22
|
+
type: NgModule,
|
|
23
|
+
args: [{
|
|
24
|
+
declarations: [
|
|
25
|
+
SelectInputFieldMolecule
|
|
26
|
+
],
|
|
27
|
+
imports: [
|
|
28
|
+
CommonModule,
|
|
29
|
+
ReactiveFormsModule,
|
|
30
|
+
// Materials
|
|
31
|
+
MatSelectModule,
|
|
32
|
+
],
|
|
33
|
+
exports: [
|
|
34
|
+
SelectInputFieldMolecule
|
|
35
|
+
]
|
|
36
|
+
}]
|
|
37
|
+
}], null, null); })();
|
|
38
|
+
//# sourceMappingURL=select-input-field.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-input-field.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/select-input-field/select-input-field.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;AAkBzE,MAAM,OAAO,sBAAsB;;4FAAtB,sBAAsB;0DAAtB,sBAAsB;8DAVxB;YACP,YAAY;YACZ,mBAAmB;YACnB,YAAY;YACZ,eAAe;SAChB;wFAKU,sBAAsB,mBAZ/B,wBAAwB,aAGxB,YAAY;QACZ,mBAAmB;QACnB,YAAY;QACZ,eAAe,aAGf,wBAAwB;uFAGf,sBAAsB;cAdlC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,YAAY;oBACZ,eAAe;iBAChB;gBACD,OAAO,EAAE;oBACP,wBAAwB;iBACzB;aACF","sourcesContent":["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: [\n SelectInputFieldMolecule\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n // Materials\n MatSelectModule,\n ],\n exports: [\n SelectInputFieldMolecule\n ]\n})\nexport class SelectInputFieldModule { }\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@ngneat/reactive-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/material/form-field";
|
|
5
|
+
import * as i2 from "@angular/material/select";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "@angular/common";
|
|
8
|
+
import * as i5 from "@angular/material/core";
|
|
9
|
+
export class SelectInputFieldMolecule {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.label = '';
|
|
12
|
+
this.control = new FormControl();
|
|
13
|
+
this.options = [];
|
|
14
|
+
this.value = (item) => item === null || item === void 0 ? void 0 : item.value;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
SelectInputFieldMolecule.ɵfac = function SelectInputFieldMolecule_Factory(t) { return new (t || SelectInputFieldMolecule)(); };
|
|
18
|
+
SelectInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SelectInputFieldMolecule, selector: "molecules-select-input-field", inputs: { label: "label", control: "control", options: "options" }, host: { classAttribute: "molecule input-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-JZPx:var(--horizontal-padding);display:block}:host,:host mat-form-field{width:100%}"], directives: [{ type: i1.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i1.MatLabel, selector: "mat-label" }, { type: i2.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.MatOption, selector: "mat-option", exportAs: ["matOption"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputFieldMolecule, [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{
|
|
22
|
+
selector: 'molecules-select-input-field',
|
|
23
|
+
templateUrl: './select-input-field.molecule.html',
|
|
24
|
+
styleUrls: ['./select-input-field.molecule.scss'],
|
|
25
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
+
host: { class: 'molecule input-field' },
|
|
27
|
+
}]
|
|
28
|
+
}], null, { label: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], control: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], options: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}] }); })();
|
|
35
|
+
//# sourceMappingURL=select-input-field.molecule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-input-field.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/select-input-field/select-input-field.molecule.ts","../../../../../../libs/components/molecules/select-input-field/select-input-field.molecule.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;;;;;;;AAcrD,MAAM,OAAO,wBAAwB;IAPrC;QAUE,UAAK,GAAW,EAAE,CAAC;QAGnB,YAAO,GAAG,IAAI,WAAW,EAAK,CAAC;QAG/B,YAAO,GAAgB,EAAE,CAAC;QAE1B,UAAK,GAAG,CAAC,IAAe,EAAE,EAAE,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC;KAE1C;;gGAbY,wBAAwB;oFAAxB,wBAAwB,0LCfrC,qSAOiB;uFDQJ,wBAAwB;cAPpC,SAAS;eAAC;gBACT,QAAQ,EAAE,8BAA8B;gBACxC,WAAW,EAAE,oCAAoC;gBACjD,SAAS,EAAE,CAAC,oCAAoC,CAAC;gBACjD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,sBAAsB,EAAC;aACtC;gBAIC,KAAK;kBADJ,KAAK;YAIN,OAAO;kBADN,KAAK;YAIN,OAAO;kBADN,KAAK","sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\ninterface 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'},\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>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/smart-column/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,cAAc,yBAAyB,CAAC","sourcesContent":["export { SmartColumnModule } from './smart-column.module';\nexport * from './smart-column.molecule';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-smart-column.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/smart-column/ng-atomic-components-molecules-smart-column.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MatTableModule } from '@angular/material/table';
|
|
4
|
+
import { SmartColumnMolecule } from './smart-column.molecule';
|
|
5
|
+
import { SmartExpModule } from '@ng-atomic/common/pipes';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class SmartColumnModule {
|
|
8
|
+
}
|
|
9
|
+
SmartColumnModule.ɵfac = function SmartColumnModule_Factory(t) { return new (t || SmartColumnModule)(); };
|
|
10
|
+
SmartColumnModule.ɵmod = i0.ɵɵdefineNgModule({ type: SmartColumnModule });
|
|
11
|
+
SmartColumnModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
12
|
+
CommonModule,
|
|
13
|
+
// Pipes
|
|
14
|
+
SmartExpModule,
|
|
15
|
+
// Materials
|
|
16
|
+
MatTableModule,
|
|
17
|
+
]] });
|
|
18
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmartColumnModule, { declarations: [SmartColumnMolecule], imports: [CommonModule,
|
|
19
|
+
// Pipes
|
|
20
|
+
SmartExpModule,
|
|
21
|
+
// Materials
|
|
22
|
+
MatTableModule], exports: [SmartColumnMolecule] }); })();
|
|
23
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartColumnModule, [{
|
|
24
|
+
type: NgModule,
|
|
25
|
+
args: [{
|
|
26
|
+
declarations: [
|
|
27
|
+
SmartColumnMolecule,
|
|
28
|
+
],
|
|
29
|
+
imports: [
|
|
30
|
+
CommonModule,
|
|
31
|
+
// Pipes
|
|
32
|
+
SmartExpModule,
|
|
33
|
+
// Materials
|
|
34
|
+
MatTableModule,
|
|
35
|
+
],
|
|
36
|
+
exports: [
|
|
37
|
+
SmartColumnMolecule
|
|
38
|
+
]
|
|
39
|
+
}]
|
|
40
|
+
}], null, null); })();
|
|
41
|
+
//# sourceMappingURL=smart-column.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-column.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/smart-column/smart-column.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;;AAiBzD,MAAM,OAAO,iBAAiB;;kFAAjB,iBAAiB;qDAAjB,iBAAiB;yDAXnB;YACP,YAAY;YACZ,QAAQ;YACR,cAAc;YACd,YAAY;YACZ,cAAc;SACf;wFAKU,iBAAiB,mBAb1B,mBAAmB,aAGnB,YAAY;QACZ,QAAQ;QACR,cAAc;QACd,YAAY;QACZ,cAAc,aAGd,mBAAmB;uFAGV,iBAAiB;cAf7B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,mBAAmB;iBACpB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,QAAQ;oBACR,cAAc;oBACd,YAAY;oBACZ,cAAc;iBACf;gBACD,OAAO,EAAE;oBACP,mBAAmB;iBACpB;aACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\n\nimport { SmartColumnMolecule } from './smart-column.molecule';\nimport { SmartExpModule } from '@ng-atomic/common/pipes';\n\n@NgModule({\n declarations: [\n SmartColumnMolecule,\n ],\n imports: [\n CommonModule,\n // Pipes\n SmartExpModule,\n // Materials\n MatTableModule,\n ],\n exports: [\n SmartColumnMolecule\n ]\n})\nexport class SmartColumnModule { }\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { MatTextColumn } from '@angular/material/table';
|
|
3
|
+
// TODO(nontangent): 依存を引き剥がす
|
|
4
|
+
import { toObject } from '@ng-atomic/common/utils';
|
|
5
|
+
import { flatten } from 'flat';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/material/table";
|
|
8
|
+
import * as i2 from "@ng-atomic/common/pipes";
|
|
9
|
+
export class SmartColumnMolecule extends MatTextColumn {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.dataAccessor = (data, name) => {
|
|
13
|
+
var _a;
|
|
14
|
+
return name.includes('.') ? (_a = flatten(toObject(data))) === null || _a === void 0 ? void 0 : _a[name] : data === null || data === void 0 ? void 0 : data[name];
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
SmartColumnMolecule.ɵfac = function SmartColumnMolecule_Factory(t) { return ɵSmartColumnMolecule_BaseFactory(t || SmartColumnMolecule); };
|
|
19
|
+
SmartColumnMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SmartColumnMolecule, selector: "molecules-smart-column", usesInheritance: true, ngImport: i0, template: "<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{headerText}}</p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n \n</ng-container>", styles: ["td[mat-cell] .nowrap,th[mat-header-cell] .nowrap{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"], directives: [{ type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i1.MatCellDef, selector: "[matCellDef]" }, { type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }], pipes: { "smartExp": i2.SmartExpPipe }, changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
20
|
+
const ɵSmartColumnMolecule_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(SmartColumnMolecule);
|
|
21
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartColumnMolecule, [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: 'molecules-smart-column',
|
|
25
|
+
templateUrl: './smart-column.molecule.html',
|
|
26
|
+
styleUrls: ['./smart-column.molecule.scss'],
|
|
27
|
+
encapsulation: ViewEncapsulation.None,
|
|
28
|
+
changeDetection: ChangeDetectionStrategy.Default,
|
|
29
|
+
}]
|
|
30
|
+
}], null, null); })();
|
|
31
|
+
//# sourceMappingURL=smart-column.molecule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-column.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/smart-column/smart-column.molecule.ts","../../../../../../libs/components/molecules/smart-column/smart-column.molecule.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,6BAA6B;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;;;;AAS/B,MAAM,OAAO,mBAAuB,SAAQ,aAAgB;IAP5D;;QAQE,iBAAY,GAAG,CAAC,IAAS,EAAE,IAAY,EAAU,EAAE;;YACjD,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,OAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,0CAAG,IAAI,EAAE,CAAC,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAG,IAAI,CAAC,CAAC;QAC7E,CAAC,CAAA;KACF;;kHAJY,mBAAmB;+EAAnB,mBAAmB,qFCbhC,4UAQe;gFDKF,mBAAmB;uFAAnB,mBAAmB;cAP/B,SAAS;eAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,WAAW,EAAE,8BAA8B;gBAC3C,SAAS,EAAE,CAAC,8BAA8B,CAAC;gBAC3C,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,OAAO;aACjD","sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { MatTextColumn } from '@angular/material/table';\n// TODO(nontangent): 依存を引き剥がす\nimport { toObject } from '@ng-atomic/common/utils';\nimport { flatten } from 'flat';\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 dataAccessor = (data: any, name: string): string => {\n return name.includes('.') ? flatten(toObject(data))?.[name] : data?.[name];\n }\n}\n","<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{headerText}}</p>\n </th>\n <td mat-cell *matCellDef=\"let data\" [style.text-align]=\"justify\">\n <p class=\"nowrap\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n \n</ng-container>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components.js","sourceRoot":"","sources":["../../../../libs/components/ng-atomic-components.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ActionButtonsSectionOrganism } from './action-buttons-section.organism';
|
|
4
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class ActionButtonsSectionModule {
|
|
7
|
+
}
|
|
8
|
+
ActionButtonsSectionModule.ɵfac = function ActionButtonsSectionModule_Factory(t) { return new (t || ActionButtonsSectionModule)(); };
|
|
9
|
+
ActionButtonsSectionModule.ɵmod = i0.ɵɵdefineNgModule({ type: ActionButtonsSectionModule });
|
|
10
|
+
ActionButtonsSectionModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
11
|
+
CommonModule,
|
|
12
|
+
// Materials
|
|
13
|
+
MatButtonModule,
|
|
14
|
+
]] });
|
|
15
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ActionButtonsSectionModule, { declarations: [ActionButtonsSectionOrganism], imports: [CommonModule,
|
|
16
|
+
// Materials
|
|
17
|
+
MatButtonModule], exports: [ActionButtonsSectionOrganism] }); })();
|
|
18
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionButtonsSectionModule, [{
|
|
19
|
+
type: NgModule,
|
|
20
|
+
args: [{
|
|
21
|
+
declarations: [
|
|
22
|
+
ActionButtonsSectionOrganism
|
|
23
|
+
],
|
|
24
|
+
imports: [
|
|
25
|
+
CommonModule,
|
|
26
|
+
// Materials
|
|
27
|
+
MatButtonModule,
|
|
28
|
+
],
|
|
29
|
+
exports: [
|
|
30
|
+
ActionButtonsSectionOrganism
|
|
31
|
+
]
|
|
32
|
+
}]
|
|
33
|
+
}], null, null); })();
|
|
34
|
+
//# sourceMappingURL=action-buttons-section.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-buttons-section.module.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/action-buttons-section/action-buttons-section.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;;AAe3D,MAAM,OAAO,0BAA0B;;oGAA1B,0BAA0B;8DAA1B,0BAA0B;kEAT5B;YACP,YAAY;YACZ,YAAY;YACZ,eAAe;SAChB;wFAKU,0BAA0B,mBAXnC,4BAA4B,aAG5B,YAAY;QACZ,YAAY;QACZ,eAAe,aAGf,4BAA4B;uFAGnB,0BAA0B;cAbtC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,4BAA4B;iBAC7B;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,YAAY;oBACZ,eAAe;iBAChB;gBACD,OAAO,EAAE;oBACP,4BAA4B;iBAC7B;aACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ActionButtonsSectionOrganism } from './action-buttons-section.organism';\n\nimport { MatButtonModule } from '@angular/material/button';\n\n@NgModule({\n declarations: [\n ActionButtonsSectionOrganism\n ],\n imports: [\n CommonModule,\n // Materials\n MatButtonModule,\n ],\n exports: [\n ActionButtonsSectionOrganism\n ]\n})\nexport class ActionButtonsSectionModule { }\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/material/button";
|
|
5
|
+
export class ActionButtonsSectionOrganism {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.actionItems = [];
|
|
8
|
+
this.actionItemClick = new EventEmitter();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
ActionButtonsSectionOrganism.ɵfac = function ActionButtonsSectionOrganism_Factory(t) { return new (t || ActionButtonsSectionOrganism)(); };
|
|
12
|
+
ActionButtonsSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: ActionButtonsSectionOrganism, selector: "organisms-action-buttons-section", inputs: { actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<ng-container *ngFor=\"let item of actionItems\">\n <button mat-raised-button color=\"primary\" (click)=\"actionItemClick.emit([item])\">{{ item?.name }}</button>\n</ng-container>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-action-buttons-section-Oq3v:var(--horizontal-padding);display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-Oq3v);box-sizing:border-box}:host button{width:100%;height:48px}"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionButtonsSectionOrganism, [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: 'organisms-action-buttons-section',
|
|
17
|
+
templateUrl: './action-buttons-section.organism.html',
|
|
18
|
+
styleUrls: ['./action-buttons-section.organism.scss'],
|
|
19
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
|
+
host: { class: 'organism section' },
|
|
21
|
+
}]
|
|
22
|
+
}], null, { actionItems: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}], actionItemClick: [{
|
|
25
|
+
type: Output
|
|
26
|
+
}] }); })();
|
|
27
|
+
//# sourceMappingURL=action-buttons-section.organism.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-buttons-section.organism.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/action-buttons-section/action-buttons-section.organism.ts","../../../../../../libs/components/organisms/action-buttons-section/action-buttons-section.organism.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;;;AAUhG,MAAM,OAAO,4BAA4B;IAPzC;QASE,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAgB,CAAC;KACpD;;wGANY,4BAA4B;wFAA5B,4BAA4B,+MCVzC,sLAEe;uFDQF,4BAA4B;cAPxC,SAAS;eAAC;gBACT,QAAQ,EAAE,kCAAkC;gBAC5C,WAAW,EAAE,wCAAwC;gBACrD,SAAS,EAAE,CAAC,wCAAwC,CAAC;gBACrD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,kBAAkB,EAAC;aAClC;gBAGC,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM","sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-action-buttons-section',\n templateUrl: './action-buttons-section.organism.html',\n styleUrls: ['./action-buttons-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism section'},\n})\nexport class ActionButtonsSectionOrganism {\n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem]>();\n}\n","<ng-container *ngFor=\"let item of actionItems\">\n <button mat-raised-button color=\"primary\" (click)=\"actionItemClick.emit([item])\">{{ item?.name }}</button>\n</ng-container>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/action-buttons-section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,mCAAmC,CAAC","sourcesContent":["export { ActionButtonsSectionModule } from './action-buttons-section.module';\nexport * from './action-buttons-section.organism';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-action-buttons-section.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|