@ng-atomic/components 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/smart-menu-button/index.d.ts +2 -0
- package/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.d.ts +5 -0
- package/atoms/smart-menu-button/package.json +10 -0
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +9 -0
- package/atoms/smart-menu-button/smart-menu-button.module.d.ts +11 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js +102 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.js.map +1 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js +2 -0
- package/bundles/ng-atomic-components-atoms-smart-menu-button.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-auto-layout.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-auto-layout.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-drawer.umd.js +104 -0
- package/bundles/ng-atomic-components-frames-drawer.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-drawer.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js +570 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-line-up-v2.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-line-up.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-line-up.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js +120 -0
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-overlay-v2.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-frames-overlay.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-overlay.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.js +1 -1
- package/bundles/ng-atomic-components-frames-scroll.umd.min.js +1 -1
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js +106 -0
- package/bundles/ng-atomic-components-frames-smart-menu.umd.js.map +1 -0
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js +2 -0
- package/bundles/ng-atomic-components-frames-smart-menu.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js +26 -17
- package/bundles/ng-atomic-components-molecules-actions-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js +1 -1
- package/bundles/ng-atomic-components-molecules-actions-column.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js +116 -0
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-date-input-field.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js +2 -2
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +1 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js +21 -12
- package/bundles/ng-atomic-components-molecules-smart-column.umd.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js +2 -2
- package/bundles/ng-atomic-components-molecules-smart-column.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js +113 -0
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-text-input-field.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js +99 -0
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.js.map +1 -0
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js +2 -0
- package/bundles/ng-atomic-components-molecules-textarea-field.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js +2 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-action-buttons-section.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js +12 -7
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-back-navigator.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js +99 -0
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-card-input-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js +423 -0
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js +16 -0
- package/bundles/ng-atomic-components-organisms-cvc-and-exp-input-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js +12 -341
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js +1 -15
- package/bundles/ng-atomic-components-organisms-date-input-section.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-heading.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js +18 -19
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-input-field-section.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-menu.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-select-input-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js +8 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js +2 -2
- package/bundles/ng-atomic-components-organisms-smart-table.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.js +1 -1
- package/bundles/ng-atomic-components-organisms-social-login-section.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.js +107 -0
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-text-input-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.js +93 -0
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js +2 -0
- package/bundles/ng-atomic-components-organisms-textarea-section.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js +21 -21
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.js.map +1 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js +1 -1
- package/bundles/ng-atomic-components-organisms-top-navigator.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.js +12 -0
- package/bundles/ng-atomic-components-pages-blank.umd.js.map +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.min.js +1 -1
- package/bundles/ng-atomic-components-pages-blank.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.js +16 -6
- package/bundles/ng-atomic-components-templates-entrance.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js +1 -1
- package/bundles/ng-atomic-components-templates-entrance.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-templates-menu.umd.js +96 -0
- package/bundles/ng-atomic-components-templates-menu.umd.js.map +1 -0
- package/bundles/ng-atomic-components-templates-menu.umd.min.js +2 -0
- package/bundles/ng-atomic-components-templates-menu.umd.min.js.map +1 -0
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js +1 -1
- package/bundles/ng-atomic-components-templates-smart-crud.umd.min.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.js +20 -8
- package/bundles/ng-atomic-components-templates-smart-index.umd.js.map +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js +1 -1
- package/bundles/ng-atomic-components-templates-smart-index.umd.min.js.map +1 -1
- package/esm2015/atoms/smart-menu-button/index.js +3 -0
- package/esm2015/atoms/smart-menu-button/index.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js +5 -0
- package/esm2015/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js +28 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.atom.js.map +1 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js +38 -0
- package/esm2015/atoms/smart-menu-button/smart-menu-button.module.js.map +1 -0
- package/esm2015/frames/auto-layout/auto-layout.frame.js +1 -1
- package/esm2015/frames/drawer/drawer.frame.js +31 -0
- package/esm2015/frames/drawer/drawer.frame.js.map +1 -0
- package/esm2015/frames/drawer/drawer.module.js +27 -0
- package/esm2015/frames/drawer/drawer.module.js.map +1 -0
- package/esm2015/frames/drawer/index.js +3 -0
- package/esm2015/frames/drawer/index.js.map +1 -0
- package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js +5 -0
- package/esm2015/frames/drawer/ng-atomic-components-frames-drawer.js.map +1 -0
- package/esm2015/frames/line-up/line-up.frame.js +1 -1
- package/esm2015/frames/line-up-v2/index.js +3 -0
- package/esm2015/frames/line-up-v2/index.js.map +1 -0
- package/esm2015/frames/line-up-v2/line-up.animations.js +64 -0
- package/esm2015/frames/line-up-v2/line-up.animations.js.map +1 -0
- package/esm2015/frames/line-up-v2/line-up.frame.js +97 -0
- package/esm2015/frames/line-up-v2/line-up.frame.js.map +1 -0
- package/esm2015/frames/line-up-v2/line-up.module.js +27 -0
- package/esm2015/frames/line-up-v2/line-up.module.js.map +1 -0
- package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js +5 -0
- package/esm2015/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.js.map +1 -0
- package/esm2015/frames/line-up-v2/resize-observer.js +13 -0
- package/esm2015/frames/line-up-v2/resize-observer.js.map +1 -0
- package/esm2015/frames/overlay/overlay.frame.js +1 -1
- package/esm2015/frames/overlay-v2/index.js +3 -0
- package/esm2015/frames/overlay-v2/index.js.map +1 -0
- package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js +5 -0
- package/esm2015/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.js.map +1 -0
- package/esm2015/frames/overlay-v2/overlay.animations.js +28 -0
- package/esm2015/frames/overlay-v2/overlay.animations.js.map +1 -0
- package/esm2015/frames/overlay-v2/overlay.frame.js +23 -0
- package/esm2015/frames/overlay-v2/overlay.frame.js.map +1 -0
- package/esm2015/frames/overlay-v2/overlay.module.js +29 -0
- package/esm2015/frames/overlay-v2/overlay.module.js.map +1 -0
- package/esm2015/frames/scroll/scroll.frame.js +1 -1
- package/esm2015/frames/smart-menu/index.js +3 -0
- package/esm2015/frames/smart-menu/index.js.map +1 -0
- package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js +5 -0
- package/esm2015/frames/smart-menu/ng-atomic-components-frames-smart-menu.js.map +1 -0
- package/esm2015/frames/smart-menu/smart-menu.frame.js +39 -0
- package/esm2015/frames/smart-menu/smart-menu.frame.js.map +1 -0
- package/esm2015/frames/smart-menu/smart-menu.module.js +23 -0
- package/esm2015/frames/smart-menu/smart-menu.module.js.map +1 -0
- package/esm2015/molecules/actions-column/actions-column.module.js +8 -1
- package/esm2015/molecules/actions-column/actions-column.module.js.map +1 -1
- package/esm2015/molecules/actions-column/actions-column.molecule.js +5 -5
- package/esm2015/molecules/actions-column/actions-column.molecule.js.map +1 -1
- package/esm2015/molecules/date-input-field/date-input-field.module.js +39 -0
- package/esm2015/molecules/date-input-field/date-input-field.module.js.map +1 -0
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js +44 -0
- package/esm2015/molecules/date-input-field/date-input-field.molecule.js.map +1 -0
- package/esm2015/molecules/date-input-field/index.js +3 -0
- package/esm2015/molecules/date-input-field/index.js.map +1 -0
- package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js +5 -0
- package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js.map +1 -0
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js +2 -2
- package/esm2015/molecules/select-input-field/select-input-field.molecule.js.map +1 -1
- package/esm2015/molecules/smart-column/smart-column.module.js +4 -0
- package/esm2015/molecules/smart-column/smart-column.module.js.map +1 -1
- package/esm2015/molecules/smart-column/smart-column.molecule.js +12 -4
- package/esm2015/molecules/smart-column/smart-column.molecule.js.map +1 -1
- package/esm2015/molecules/text-input-field/index.js +3 -0
- package/esm2015/molecules/text-input-field/index.js.map +1 -0
- package/esm2015/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.js +5 -0
- package/esm2015/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.js.map +1 -0
- package/esm2015/molecules/text-input-field/text-input-field.module.js +38 -0
- package/esm2015/molecules/text-input-field/text-input-field.module.js.map +1 -0
- package/esm2015/molecules/text-input-field/text-input-field.molecule.js +40 -0
- package/esm2015/molecules/text-input-field/text-input-field.molecule.js.map +1 -0
- package/esm2015/molecules/textarea-field/index.js +3 -0
- package/esm2015/molecules/textarea-field/index.js.map +1 -0
- package/esm2015/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.js +5 -0
- package/esm2015/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.js.map +1 -0
- package/esm2015/molecules/textarea-field/textarea-field.module.js +30 -0
- package/esm2015/molecules/textarea-field/textarea-field.module.js.map +1 -0
- package/esm2015/molecules/textarea-field/textarea-field.molecule.js +30 -0
- package/esm2015/molecules/textarea-field/textarea-field.molecule.js.map +1 -0
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js +2 -1
- package/esm2015/organisms/action-buttons-section/action-buttons-section.organism.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.module.js +7 -4
- package/esm2015/organisms/back-navigator/back-navigator.module.js.map +1 -1
- package/esm2015/organisms/back-navigator/back-navigator.organism.js +4 -2
- package/esm2015/organisms/back-navigator/back-navigator.organism.js.map +1 -1
- package/esm2015/organisms/card-input-section/card-input-section.module.js +30 -0
- package/esm2015/organisms/card-input-section/card-input-section.module.js.map +1 -0
- package/esm2015/organisms/card-input-section/card-input-section.organism.js +29 -0
- package/esm2015/organisms/card-input-section/card-input-section.organism.js.map +1 -0
- package/esm2015/organisms/card-input-section/index.js +3 -0
- package/esm2015/organisms/card-input-section/index.js.map +1 -0
- package/esm2015/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.js +5 -0
- package/esm2015/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.js.map +1 -0
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js +34 -0
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.module.js.map +1 -0
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js +34 -0
- package/esm2015/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.js.map +1 -0
- package/esm2015/organisms/cvc-and-exp-input-section/index.js +3 -0
- package/esm2015/organisms/cvc-and-exp-input-section/index.js.map +1 -0
- package/esm2015/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.js +5 -0
- package/esm2015/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.js.map +1 -0
- package/esm2015/organisms/date-input-section/date-input-section.module.js +5 -18
- package/esm2015/organisms/date-input-section/date-input-section.module.js.map +1 -1
- package/esm2015/organisms/date-input-section/date-input-section.organism.js +6 -10
- package/esm2015/organisms/date-input-section/date-input-section.organism.js.map +1 -1
- package/esm2015/organisms/heading/heading.organism.js +1 -1
- package/esm2015/organisms/input-field-section/input-field-section.module.js +7 -15
- package/esm2015/organisms/input-field-section/input-field-section.module.js.map +1 -1
- package/esm2015/organisms/input-field-section/input-field-section.organism.js +9 -6
- package/esm2015/organisms/input-field-section/input-field-section.organism.js.map +1 -1
- package/esm2015/organisms/menu/menu.organism.js +1 -1
- package/esm2015/organisms/menu/menu.organism.js.map +1 -1
- package/esm2015/organisms/select-input-section/select-input-section.organism.js +1 -1
- package/esm2015/organisms/smart-table/smart-table.organism.js +8 -1
- package/esm2015/organisms/smart-table/smart-table.organism.js.map +1 -1
- package/esm2015/organisms/social-login-section/social-login-section.organism.js +1 -1
- package/esm2015/organisms/text-input-section/index.js +3 -0
- package/esm2015/organisms/text-input-section/index.js.map +1 -0
- package/esm2015/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.js +5 -0
- package/esm2015/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.js.map +1 -0
- package/esm2015/organisms/text-input-section/text-input-section.module.js +34 -0
- package/esm2015/organisms/text-input-section/text-input-section.module.js.map +1 -0
- package/esm2015/organisms/text-input-section/text-input-section.organism.js +33 -0
- package/esm2015/organisms/text-input-section/text-input-section.organism.js.map +1 -0
- package/esm2015/organisms/textarea-section/index.js +3 -0
- package/esm2015/organisms/textarea-section/index.js.map +1 -0
- package/esm2015/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.js +5 -0
- package/esm2015/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.js.map +1 -0
- package/esm2015/organisms/textarea-section/textarea-section.module.js +30 -0
- package/esm2015/organisms/textarea-section/textarea-section.module.js.map +1 -0
- package/esm2015/organisms/textarea-section/textarea-section.organism.js +22 -0
- package/esm2015/organisms/textarea-section/textarea-section.organism.js.map +1 -0
- package/esm2015/organisms/top-navigator/top-navigator.module.js +9 -10
- package/esm2015/organisms/top-navigator/top-navigator.module.js.map +1 -1
- package/esm2015/organisms/top-navigator/top-navigator.organism.js +6 -9
- package/esm2015/organisms/top-navigator/top-navigator.organism.js.map +1 -1
- package/esm2015/pages/blank/blank.route.js +6 -0
- package/esm2015/pages/blank/blank.route.js.map +1 -0
- package/esm2015/pages/blank/index.js +1 -0
- package/esm2015/pages/blank/index.js.map +1 -1
- package/esm2015/templates/entrance/entrance.template.js +13 -2
- package/esm2015/templates/entrance/entrance.template.js.map +1 -1
- package/esm2015/templates/menu/index.js +3 -0
- package/esm2015/templates/menu/index.js.map +1 -0
- package/esm2015/templates/menu/menu.module.js +30 -0
- package/esm2015/templates/menu/menu.module.js.map +1 -0
- package/esm2015/templates/menu/menu.template.js +25 -0
- package/esm2015/templates/menu/menu.template.js.map +1 -0
- package/esm2015/templates/menu/ng-atomic-components-templates-menu.js +5 -0
- package/esm2015/templates/menu/ng-atomic-components-templates-menu.js.map +1 -0
- package/esm2015/templates/smart-crud/smart-crud.template.js +1 -1
- package/esm2015/templates/smart-crud/smart-crud.template.js.map +1 -1
- package/esm2015/templates/smart-index/smart-index.template.js +15 -2
- package/esm2015/templates/smart-index/smart-index.template.js.map +1 -1
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js +66 -0
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-auto-layout.js +1 -1
- package/fesm2015/ng-atomic-components-frames-drawer.js +60 -0
- package/fesm2015/ng-atomic-components-frames-drawer.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js +200 -0
- package/fesm2015/ng-atomic-components-frames-line-up-v2.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-line-up.js +1 -1
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js +83 -0
- package/fesm2015/ng-atomic-components-frames-overlay-v2.js.map +1 -0
- package/fesm2015/ng-atomic-components-frames-overlay.js +1 -1
- package/fesm2015/ng-atomic-components-frames-scroll.js +1 -1
- package/fesm2015/ng-atomic-components-frames-smart-menu.js +66 -0
- package/fesm2015/ng-atomic-components-frames-smart-menu.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-actions-column.js +16 -6
- package/fesm2015/ng-atomic-components-molecules-actions-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js +83 -0
- package/fesm2015/ng-atomic-components-molecules-date-input-field.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js +2 -2
- package/fesm2015/ng-atomic-components-molecules-select-input-field.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.js +14 -4
- package/fesm2015/ng-atomic-components-molecules-smart-column.js.map +1 -1
- package/fesm2015/ng-atomic-components-molecules-text-input-field.js +78 -0
- package/fesm2015/ng-atomic-components-molecules-text-input-field.js.map +1 -0
- package/fesm2015/ng-atomic-components-molecules-textarea-field.js +62 -0
- package/fesm2015/ng-atomic-components-molecules-textarea-field.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js +2 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js +11 -6
- package/fesm2015/ng-atomic-components-organisms-back-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.js +62 -0
- package/fesm2015/ng-atomic-components-organisms-card-input-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js +70 -0
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js +10 -25
- package/fesm2015/ng-atomic-components-organisms-date-input-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-heading.js +1 -1
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js +15 -18
- package/fesm2015/ng-atomic-components-organisms-input-field-section.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-menu.js +2 -2
- package/fesm2015/ng-atomic-components-organisms-menu.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.js +1 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.js +8 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.js.map +1 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.js +1 -1
- package/fesm2015/ng-atomic-components-organisms-text-input-section.js +70 -0
- package/fesm2015/ng-atomic-components-organisms-text-input-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-textarea-section.js +55 -0
- package/fesm2015/ng-atomic-components-organisms-textarea-section.js.map +1 -0
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js +15 -16
- package/fesm2015/ng-atomic-components-organisms-top-navigator.js.map +1 -1
- package/fesm2015/ng-atomic-components-pages-blank.js +12 -1
- package/fesm2015/ng-atomic-components-pages-blank.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-entrance.js +13 -2
- package/fesm2015/ng-atomic-components-templates-entrance.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-menu.js +58 -0
- package/fesm2015/ng-atomic-components-templates-menu.js.map +1 -0
- package/fesm2015/ng-atomic-components-templates-smart-crud.js +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.js.map +1 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.js +14 -2
- package/fesm2015/ng-atomic-components-templates-smart-index.js.map +1 -1
- package/frames/drawer/drawer.frame.d.ts +10 -0
- package/frames/drawer/drawer.module.d.ts +9 -0
- package/frames/drawer/index.d.ts +2 -0
- package/frames/drawer/ng-atomic-components-frames-drawer.d.ts +5 -0
- package/frames/drawer/package.json +10 -0
- package/frames/line-up-v2/index.d.ts +2 -0
- package/frames/line-up-v2/line-up.animations.d.ts +1 -0
- package/frames/line-up-v2/line-up.frame.d.ts +35 -0
- package/frames/line-up-v2/line-up.module.d.ts +9 -0
- package/frames/line-up-v2/ng-atomic-components-frames-line-up-v2.d.ts +5 -0
- package/frames/line-up-v2/package.json +10 -0
- package/frames/line-up-v2/resize-observer.d.ts +3 -0
- package/frames/overlay-v2/index.d.ts +2 -0
- package/frames/overlay-v2/ng-atomic-components-frames-overlay-v2.d.ts +5 -0
- package/frames/overlay-v2/overlay.animations.d.ts +1 -0
- package/frames/overlay-v2/overlay.frame.d.ts +6 -0
- package/frames/overlay-v2/overlay.module.d.ts +9 -0
- package/frames/overlay-v2/package.json +10 -0
- package/frames/smart-menu/index.d.ts +2 -0
- package/frames/smart-menu/ng-atomic-components-frames-smart-menu.d.ts +5 -0
- package/frames/smart-menu/package.json +10 -0
- package/frames/smart-menu/smart-menu.frame.d.ts +13 -0
- package/frames/smart-menu/smart-menu.module.d.ts +8 -0
- package/molecules/actions-column/actions-column.module.d.ts +2 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +1 -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/date-input-field/ng-atomic-components-molecules-date-input-field.d.ts +5 -0
- package/molecules/date-input-field/package.json +10 -0
- package/molecules/select-input-field/select-input-field.molecule.d.ts +1 -2
- package/molecules/smart-column/smart-column.module.d.ts +3 -2
- package/molecules/smart-column/smart-column.molecule.d.ts +4 -1
- package/molecules/text-input-field/index.d.ts +2 -0
- package/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.d.ts +5 -0
- package/molecules/text-input-field/package.json +10 -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/ng-atomic-components-molecules-textarea-field.d.ts +5 -0
- package/molecules/textarea-field/package.json +10 -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.organism.d.ts +1 -0
- package/organisms/back-navigator/back-navigator.module.d.ts +2 -2
- package/organisms/back-navigator/back-navigator.organism.d.ts +2 -1
- 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/card-input-section/ng-atomic-components-organisms-card-input-section.d.ts +5 -0
- package/organisms/card-input-section/package.json +10 -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/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.d.ts +5 -0
- package/organisms/cvc-and-exp-input-section/package.json +10 -0
- package/organisms/date-input-section/date-input-section.module.d.ts +2 -5
- package/organisms/date-input-section/date-input-section.organism.d.ts +0 -1
- package/organisms/input-field-section/input-field-section.module.d.ts +2 -4
- package/organisms/input-field-section/input-field-section.organism.d.ts +3 -1
- package/organisms/smart-table/smart-table.organism.d.ts +4 -1
- package/organisms/text-input-section/index.d.ts +2 -0
- package/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.d.ts +5 -0
- package/organisms/text-input-section/package.json +10 -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/ng-atomic-components-organisms-textarea-section.d.ts +5 -0
- package/organisms/textarea-section/package.json +10 -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/top-navigator.module.d.ts +4 -5
- package/organisms/top-navigator/top-navigator.organism.d.ts +4 -4
- package/package.json +1 -1
- package/pages/blank/blank.route.d.ts +2 -0
- package/pages/blank/index.d.ts +1 -0
- package/templates/entrance/entrance.template.d.ts +7 -1
- 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/menu/ng-atomic-components-templates-menu.d.ts +5 -0
- package/templates/menu/package.json +10 -0
- package/templates/smart-index/smart-index.template.d.ts +7 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions-column.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/actions-column/actions-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;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;;
|
|
1
|
+
{"version":3,"file":"actions-column.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/actions-column/actions-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;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;;AAoBtF,MAAM,OAAO,mBAAmB;;sFAAnB,mBAAmB;uDAAnB,mBAAmB;2DAdrB;YACP,YAAY;YACZ,YAAY;YACZ,cAAc;YACd,aAAa;YACb,eAAe;YACf,aAAa;YACb,QAAQ;YACR,qBAAqB;SACtB;wFAKU,mBAAmB,mBAhB5B,qBAAqB,aAGrB,YAAY;QACZ,YAAY;QACZ,cAAc;QACd,aAAa;QACb,eAAe;QACf,aAAa;QACb,QAAQ;QACR,qBAAqB,aAGrB,qBAAqB;uFAGZ,mBAAmB;cAlB/B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,YAAY;oBACZ,cAAc;oBACd,aAAa;oBACb,eAAe;oBACf,aAAa;oBACb,QAAQ;oBACR,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,qBAAqB;iBACtB;aACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { ActionsColumnMolecule } from './actions-column.molecule';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\n@NgModule({\n declarations: [\n ActionsColumnMolecule\n ],\n imports: [\n CommonModule,\n // Materials\n MatTableModule,\n MatMenuModule,\n MatButtonModule,\n MatIconModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [\n ActionsColumnMolecule\n ]\n})\nexport class ActionsColumnModule { }\n"]}
|
|
@@ -3,10 +3,7 @@ import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Option
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/cdk/table";
|
|
5
5
|
import * as i2 from "@angular/material/table";
|
|
6
|
-
import * as i3 from "@
|
|
7
|
-
import * as i4 from "@angular/material/button";
|
|
8
|
-
import * as i5 from "@angular/material/menu";
|
|
9
|
-
import * as i6 from "@angular/material/icon";
|
|
6
|
+
import * as i3 from "@ng-atomic/components/atoms/smart-menu-button";
|
|
10
7
|
export class ActionsColumnMolecule {
|
|
11
8
|
constructor(_table, _options) {
|
|
12
9
|
var _a;
|
|
@@ -41,9 +38,12 @@ export class ActionsColumnMolecule {
|
|
|
41
38
|
this.columnDef.name = this.name;
|
|
42
39
|
}
|
|
43
40
|
}
|
|
41
|
+
onActionItemClick(test) {
|
|
42
|
+
console.debug(test);
|
|
43
|
+
}
|
|
44
44
|
}
|
|
45
45
|
ActionsColumnMolecule.ɵfac = function ActionsColumnMolecule_Factory(t) { return new (t || ActionsColumnMolecule)(i0.ɵɵdirectiveInject(i1.CdkTable, 8), i0.ɵɵdirectiveInject(TEXT_COLUMN_OPTIONS, 8)); };
|
|
46
|
-
ActionsColumnMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: ActionsColumnMolecule, selector: "molecules-actions-column", inputs: { name: "name", actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, 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>\u64CD\u4F5C</th>\n <td mat-cell *matCellDef=\"let item\">\n <
|
|
46
|
+
ActionsColumnMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: ActionsColumnMolecule, selector: "molecules-actions-column", inputs: { name: "name", actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, 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>\u64CD\u4F5C</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit([$event[0], item])\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n", styles: [""], 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.SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["actionItems"], outputs: ["actionItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
47
47
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionsColumnMolecule, [{
|
|
48
48
|
type: Component,
|
|
49
49
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions-column.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/actions-column/actions-column.molecule.ts","../../../../../../libs/components/molecules/actions-column/actions-column.molecule.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAqB,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAClI,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"actions-column.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/actions-column/actions-column.molecule.ts","../../../../../../libs/components/molecules/actions-column/actions-column.molecule.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAqB,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAClI,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;;;;;AAUhJ,MAAM,OAAO,qBAAqB;IA2BhC,YACsB,MAAmB,EACU,QAA8B;;QAD3D,WAAM,GAAN,MAAM,CAAa;QACU,aAAQ,GAAR,QAAQ,CAAsB;QAjBjF,gBAAW,GAAiB,EAAE,CAAC;QAI/B,oBAAe,GAAG,IAAI,YAAY,EAAmB,CAAC;QAepD,MAAA,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,EAAE,EAAC;IACvB,CAAC;IA/BD,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;IA0BD,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;IAED,iBAAiB,CAAC,IAAI;QACpB,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;;0FA1DU,qBAAqB,6DA6BV,mBAAmB;iFA7B9B,qBAAqB,kNAkBrB,YAAY,qHAGZ,UAAU,2HAGV,gBAAgB,8FCnC7B,uUASA;uFDEa,qBAAqB;cAPjC,SAAS;eAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,WAAW,EAAE,gCAAgC;gBAC7C,SAAS,EAAE,CAAC,gCAAgC,CAAC;gBAC7C,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,OAAO;aACjD;;sBA6BI,QAAQ;;sBACR,QAAQ;;sBAAI,MAAM;uBAAC,mBAAmB;wBA3BrC,IAAI;kBADP,KAAK;YAWN,WAAW;kBADV,KAAK;YAKN,eAAe;kBADd,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, TextColumnOptions, TEXT_COLUMN_OPTIONS } from '@angular/cdk/table';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Optional, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'molecules-actions-column',\n templateUrl: './actions-column.molecule.html',\n styleUrls: ['./actions-column.molecule.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class ActionsColumnMolecule<T> {\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n this._syncColumnDefName();\n }\n _name!: string;\n\n @Input()\n actionItems: ActionItem[] = [];\n\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem, T]>();\n\n @ViewChild(CdkColumnDef, {static: true})\n columnDef!: CdkColumnDef;\n \n @ViewChild(CdkCellDef, {static: true})\n cell!: CdkCellDef;\n\n @ViewChild(CdkHeaderCellDef, {static: true})\n headerCell!: CdkHeaderCellDef;\n\n constructor(\n @Optional() private _table: CdkTable<T>,\n @Optional() @Inject(TEXT_COLUMN_OPTIONS) private _options: TextColumnOptions<T>,\n ) {\n this._options ??= {};\n }\n\n ngOnInit() {\n this._syncColumnDefName();\n\n if (this._table) {\n this.columnDef.cell = this.cell;\n this.columnDef.headerCell = this.headerCell;\n this._table.addColumnDef(this.columnDef);\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this.columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this.columnDef) {\n this.columnDef.name = this.name;\n }\n }\n\n onActionItemClick(test) {\n console.debug(test);\n }\n}\n","<ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef>操作</th>\n <td mat-cell *matCellDef=\"let item\">\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit([$event[0], item])\"\n ></atoms-smart-menu-button>\n </td>\n</ng-container>\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { MatInputModule } from '@angular/material/input';
|
|
5
|
+
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
6
|
+
import { MatDayjsDateModule } from '@ng-atomic/common/utils';
|
|
7
|
+
import { DateInputFieldMolecule } from './date-input-field.molecule';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class DateInputFieldModule {
|
|
10
|
+
}
|
|
11
|
+
DateInputFieldModule.ɵfac = function DateInputFieldModule_Factory(t) { return new (t || DateInputFieldModule)(); };
|
|
12
|
+
DateInputFieldModule.ɵmod = i0.ɵɵdefineNgModule({ type: DateInputFieldModule });
|
|
13
|
+
DateInputFieldModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
14
|
+
CommonModule,
|
|
15
|
+
ReactiveFormsModule,
|
|
16
|
+
MatInputModule,
|
|
17
|
+
MatDatepickerModule,
|
|
18
|
+
MatDayjsDateModule,
|
|
19
|
+
]] });
|
|
20
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DateInputFieldModule, { declarations: [DateInputFieldMolecule], imports: [CommonModule,
|
|
21
|
+
ReactiveFormsModule,
|
|
22
|
+
MatInputModule,
|
|
23
|
+
MatDatepickerModule,
|
|
24
|
+
MatDayjsDateModule], exports: [DateInputFieldMolecule] }); })();
|
|
25
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputFieldModule, [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [DateInputFieldMolecule],
|
|
29
|
+
imports: [
|
|
30
|
+
CommonModule,
|
|
31
|
+
ReactiveFormsModule,
|
|
32
|
+
MatInputModule,
|
|
33
|
+
MatDatepickerModule,
|
|
34
|
+
MatDayjsDateModule,
|
|
35
|
+
],
|
|
36
|
+
exports: [DateInputFieldMolecule],
|
|
37
|
+
}]
|
|
38
|
+
}], null, null); })();
|
|
39
|
+
//# sourceMappingURL=date-input-field.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-input-field.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/date-input-field/date-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,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAA0B,MAAM,yBAAyB,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;;AAgBrE,MAAM,OAAO,oBAAoB;;wFAApB,oBAAoB;wDAApB,oBAAoB;4DAVtB;YACP,YAAY;YACZ,mBAAmB;YACnB,cAAc;YACd,mBAAmB;YACnB,kBAAkB;SACnB;wFAIU,oBAAoB,mBAXhB,sBAAsB,aAEnC,YAAY;QACZ,mBAAmB;QACnB,cAAc;QACd,mBAAmB;QACnB,kBAAkB,aAEV,sBAAsB;uFAGrB,oBAAoB;cAZhC,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,cAAc;oBACd,mBAAmB;oBACnB,kBAAkB;iBACnB;gBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;aAElC","sourcesContent":["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 // providers: [...MAT_DAYJS_JP_PROVIDERS],\n})\nexport class DateInputFieldModule { }\n"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@ngneat/reactive-forms';
|
|
3
|
+
import { filter } from 'rxjs/operators';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/material/form-field";
|
|
6
|
+
import * as i2 from "@angular/material/input";
|
|
7
|
+
import * as i3 from "@angular/forms";
|
|
8
|
+
import * as i4 from "@angular/material/datepicker";
|
|
9
|
+
import * as i5 from "@angular/common";
|
|
10
|
+
export class DateInputFieldMolecule {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.control = new FormControl();
|
|
13
|
+
this._control = new FormControl();
|
|
14
|
+
this.label = '';
|
|
15
|
+
this.placeholder = '';
|
|
16
|
+
}
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
this.control.valueChanges.pipe(filter(value => this._control.value !== value)).subscribe(value => this._control.setValue(value));
|
|
19
|
+
this._control.valueChanges.subscribe(value => this.control.setValue(value));
|
|
20
|
+
this.control.setValue(this._control.value);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
DateInputFieldMolecule.ɵfac = function DateInputFieldMolecule_Factory(t) { return new (t || DateInputFieldMolecule)(); };
|
|
24
|
+
DateInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", 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-rYSV: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.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i3.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.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["tabIndex", "disabled", "for", "aria-label", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { type: i1.MatSuffix, selector: "[matSuffix]" }, { type: i4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
25
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputFieldMolecule, [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: 'molecules-date-input-field',
|
|
29
|
+
templateUrl: './date-input-field.molecule.html',
|
|
30
|
+
styleUrls: ['./date-input-field.molecule.scss'],
|
|
31
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
|
+
host: { class: 'molecule field' },
|
|
33
|
+
}]
|
|
34
|
+
}], null, { _control: [{
|
|
35
|
+
type: Input,
|
|
36
|
+
args: ['control']
|
|
37
|
+
}], label: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], placeholder: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], hint: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}] }); })();
|
|
44
|
+
//# sourceMappingURL=date-input-field.molecule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-input-field.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/date-input-field/date-input-field.molecule.ts","../../../../../../libs/components/molecules/date-input-field/date-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;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;;;;;;;AASxC,MAAM,OAAO,sBAAsB;IAPnC;QAQE,YAAO,GAAG,IAAI,WAAW,EAAS,CAAC;QAG3B,aAAQ,GAAG,IAAI,WAAW,EAAS,CAAC;QAG5C,UAAK,GAAG,EAAE,CAAC;QAGX,gBAAW,GAAG,EAAE,CAAC;KAalB;IARC,QAAQ;QACN,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAC5B,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,KAAK,KAAK,CAAC,CAC/C,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QAEpD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QAC5E,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7C,CAAC;;4FAtBU,sBAAsB;kFAAtB,sBAAsB,uNCZnC,sXAMiB;uFDMJ,sBAAsB;cAPlC,SAAS;eAAC;gBACT,QAAQ,EAAE,4BAA4B;gBACtC,WAAW,EAAE,kCAAkC;gBAC/C,SAAS,EAAE,CAAC,kCAAkC,CAAC;gBAC/C,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,gBAAgB,EAAC;aAChC;gBAKS,QAAQ;kBADf,KAAK;mBAAC,SAAS;YAIhB,KAAK;kBADJ,KAAK;YAIN,WAAW;kBADV,KAAK;YAIN,IAAI;kBADH,KAAK","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>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/date-input-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["export { DateInputFieldMolecule } from './date-input-field.molecule';\nexport { DateInputFieldModule } from './date-input-field.module';\n"]}
|
package/esm2015/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-date-input-field.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/date-input-field/ng-atomic-components-molecules-date-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"]}
|
|
@@ -15,7 +15,7 @@ export class SelectInputFieldMolecule {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
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-
|
|
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 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-5sWb: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
19
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputFieldMolecule, [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{
|
|
@@ -23,7 +23,7 @@ SelectInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14",
|
|
|
23
23
|
templateUrl: './select-input-field.molecule.html',
|
|
24
24
|
styleUrls: ['./select-input-field.molecule.scss'],
|
|
25
25
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
-
host: { class: 'molecule input-field' },
|
|
26
|
+
host: { class: 'molecule input-field field' },
|
|
27
27
|
}]
|
|
28
28
|
}], null, { label: [{
|
|
29
29
|
type: Input
|
|
@@ -1 +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,
|
|
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,gMCfrC,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,4BAA4B,EAAC;aAC5C;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\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>"]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { MatTableModule } from '@angular/material/table';
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
4
5
|
import { SmartColumnMolecule } from './smart-column.molecule';
|
|
5
6
|
import { SmartExpModule } from '@ng-atomic/common/pipes';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
@@ -13,12 +14,14 @@ SmartColumnModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
13
14
|
// Pipes
|
|
14
15
|
SmartExpModule,
|
|
15
16
|
// Materials
|
|
17
|
+
MatIconModule,
|
|
16
18
|
MatTableModule,
|
|
17
19
|
]] });
|
|
18
20
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SmartColumnModule, { declarations: [SmartColumnMolecule], imports: [CommonModule,
|
|
19
21
|
// Pipes
|
|
20
22
|
SmartExpModule,
|
|
21
23
|
// Materials
|
|
24
|
+
MatIconModule,
|
|
22
25
|
MatTableModule], exports: [SmartColumnMolecule] }); })();
|
|
23
26
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartColumnModule, [{
|
|
24
27
|
type: NgModule,
|
|
@@ -31,6 +34,7 @@ SmartColumnModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
31
34
|
// Pipes
|
|
32
35
|
SmartExpModule,
|
|
33
36
|
// Materials
|
|
37
|
+
MatIconModule,
|
|
34
38
|
MatTableModule,
|
|
35
39
|
],
|
|
36
40
|
exports: [
|
|
@@ -1 +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;
|
|
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;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;;AAkBzD,MAAM,OAAO,iBAAiB;;kFAAjB,iBAAiB;qDAAjB,iBAAiB;yDAZnB;YACP,YAAY;YACZ,QAAQ;YACR,cAAc;YACd,YAAY;YACZ,aAAa;YACb,cAAc;SACf;wFAKU,iBAAiB,mBAd1B,mBAAmB,aAGnB,YAAY;QACZ,QAAQ;QACR,cAAc;QACd,YAAY;QACZ,aAAa;QACb,cAAc,aAGd,mBAAmB;uFAGV,iBAAiB;cAhB7B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,mBAAmB;iBACpB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,QAAQ;oBACR,cAAc;oBACd,YAAY;oBACZ,aAAa;oBACb,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';\nimport { MatIconModule } from '@angular/material/icon';\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 MatIconModule,\n MatTableModule,\n ],\n exports: [\n SmartColumnMolecule\n ]\n})\nexport class SmartColumnModule { }\n"]}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Input, Output, EventEmitter, Component, ViewEncapsulation } from '@angular/core';
|
|
2
2
|
import { MatTextColumn } from '@angular/material/table';
|
|
3
3
|
// TODO(nontangent): 依存を引き剥がす
|
|
4
4
|
import { toObject } from '@ng-atomic/common/utils';
|
|
5
5
|
import { flatten } from 'flat';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "@angular/material/table";
|
|
8
|
-
import * as i2 from "@
|
|
8
|
+
import * as i2 from "@angular/common";
|
|
9
|
+
import * as i3 from "@angular/material/icon";
|
|
10
|
+
import * as i4 from "@ng-atomic/common/pipes";
|
|
9
11
|
export class SmartColumnMolecule extends MatTextColumn {
|
|
10
12
|
constructor() {
|
|
11
13
|
super(...arguments);
|
|
@@ -13,10 +15,12 @@ export class SmartColumnMolecule extends MatTextColumn {
|
|
|
13
15
|
var _a;
|
|
14
16
|
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
17
|
};
|
|
18
|
+
this.sort = 'none';
|
|
19
|
+
this.headerClick = new EventEmitter();
|
|
16
20
|
}
|
|
17
21
|
}
|
|
18
22
|
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
|
|
23
|
+
SmartColumnMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", 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\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n</ng-container>", styles: ["td[mat-cell],th[mat-header-cell]{cursor:pointer}td[mat-cell] mat-icon.order,th[mat-header-cell] mat-icon.order{width:12px;height:12px;font-size:12px}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: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i1.MatCellDef, selector: "[matCellDef]" }, { type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }], pipes: { "smartExp": i4.SmartExpPipe }, changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
20
24
|
const ɵSmartColumnMolecule_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(SmartColumnMolecule);
|
|
21
25
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SmartColumnMolecule, [{
|
|
22
26
|
type: Component,
|
|
@@ -27,5 +31,9 @@ const ɵSmartColumnMolecule_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFacto
|
|
|
27
31
|
encapsulation: ViewEncapsulation.None,
|
|
28
32
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
29
33
|
}]
|
|
30
|
-
}], null,
|
|
34
|
+
}], null, { sort: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], headerClick: [{
|
|
37
|
+
type: Output
|
|
38
|
+
}] }); })();
|
|
31
39
|
//# sourceMappingURL=smart-column.molecule.js.map
|
|
@@ -1 +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;
|
|
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,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACnH,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;QAGD,SAAI,GAA4B,MAAM,CAAC;QAGvC,gBAAW,GAAG,IAAI,YAAY,EAAQ,CAAC;KAExC;;kHAXY,mBAAmB;+EAAnB,mBAAmB,wJCbhC,kqBAkBe;gFDLF,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;gBAOC,IAAI;kBADH,KAAK;YAIN,WAAW;kBADV,MAAM","sourcesContent":["import { ChangeDetectionStrategy, Input, Output, EventEmitter, 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 @Input()\n sort: 'asc' | 'desc' | 'none' = 'none';\n\n @Output()\n headerClick = new EventEmitter<void>();\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\">{{dataAccessor(data, name) | smartExp:name}}</p>\n </td>\n</ng-container>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/text-input-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["export { TextInputFieldMolecule } from './text-input-field.molecule';\nexport { TextInputFieldModule } from './text-input-field.module';\n"]}
|
package/esm2015/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-text-input-field.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/text-input-field/ng-atomic-components-molecules-text-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 { MatFormFieldModule } from '@angular/material/form-field';
|
|
5
|
+
import { MatInputModule } from '@angular/material/input';
|
|
6
|
+
import { TextInputFieldMolecule } from './text-input-field.molecule';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class TextInputFieldModule {
|
|
9
|
+
}
|
|
10
|
+
TextInputFieldModule.ɵfac = function TextInputFieldModule_Factory(t) { return new (t || TextInputFieldModule)(); };
|
|
11
|
+
TextInputFieldModule.ɵmod = i0.ɵɵdefineNgModule({ type: TextInputFieldModule });
|
|
12
|
+
TextInputFieldModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
13
|
+
CommonModule,
|
|
14
|
+
ReactiveFormsModule,
|
|
15
|
+
// Materials
|
|
16
|
+
// MatFormFieldModule,
|
|
17
|
+
MatInputModule,
|
|
18
|
+
]] });
|
|
19
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TextInputFieldModule, { declarations: [TextInputFieldMolecule], imports: [CommonModule,
|
|
20
|
+
ReactiveFormsModule,
|
|
21
|
+
// Materials
|
|
22
|
+
// MatFormFieldModule,
|
|
23
|
+
MatInputModule], exports: [TextInputFieldMolecule] }); })();
|
|
24
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextInputFieldModule, [{
|
|
25
|
+
type: NgModule,
|
|
26
|
+
args: [{
|
|
27
|
+
declarations: [TextInputFieldMolecule],
|
|
28
|
+
imports: [
|
|
29
|
+
CommonModule,
|
|
30
|
+
ReactiveFormsModule,
|
|
31
|
+
// Materials
|
|
32
|
+
// MatFormFieldModule,
|
|
33
|
+
MatInputModule,
|
|
34
|
+
],
|
|
35
|
+
exports: [TextInputFieldMolecule]
|
|
36
|
+
}]
|
|
37
|
+
}], null, null); })();
|
|
38
|
+
//# sourceMappingURL=text-input-field.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-input-field.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/text-input-field/text-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,qEAAqE;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;;AAerE,MAAM,OAAO,oBAAoB;;wFAApB,oBAAoB;wDAApB,oBAAoB;4DATtB;YACP,YAAY;YACZ,mBAAmB;YACnB,YAAY;YACZ,sBAAsB;YACtB,cAAc;SACf;wFAGU,oBAAoB,mBAVhB,sBAAsB,aAEnC,YAAY;QACZ,mBAAmB;QACnB,YAAY;QACZ,sBAAsB;QACtB,cAAc,aAEN,sBAAsB;uFAErB,oBAAoB;cAXhC,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,YAAY;oBACZ,sBAAsB;oBACtB,cAAc;iBACf;gBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;aAClC","sourcesContent":["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';\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})\nexport class TextInputFieldModule { }\n"]}
|
|
@@ -0,0 +1,40 @@
|
|
|
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/input";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "@angular/common";
|
|
8
|
+
export class TextInputFieldMolecule {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.type = 'text';
|
|
11
|
+
this.label = 'label';
|
|
12
|
+
this.control = new FormControl();
|
|
13
|
+
this.placeholder = 'placeholder';
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
TextInputFieldMolecule.ɵfac = function TextInputFieldMolecule_Factory(t) { return new (t || TextInputFieldMolecule)(); };
|
|
17
|
+
TextInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", 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: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" [type]=\"type\" [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>", styles: [":host{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.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextInputFieldMolecule, [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: 'molecules-text-input-field',
|
|
22
|
+
templateUrl: './text-input-field.molecule.html',
|
|
23
|
+
styleUrls: ['./text-input-field.molecule.scss'],
|
|
24
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
25
|
+
host: { class: 'molecule field' },
|
|
26
|
+
}]
|
|
27
|
+
}], null, { type: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], name: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], label: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], control: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], placeholder: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], hint: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}] }); })();
|
|
40
|
+
//# sourceMappingURL=text-input-field.molecule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-input-field.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/text-input-field/text-input-field.molecule.ts","../../../../../../libs/components/molecules/text-input-field/text-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;;;;;;AASrD,MAAM,OAAO,sBAAsB;IAPnC;QAUE,SAAI,GAAmC,MAAM,CAAC;QAM9C,UAAK,GAAG,OAAO,CAAC;QAGhB,YAAO,GAAG,IAAI,WAAW,EAAmB,CAAC;QAG7C,gBAAW,GAAG,aAAa,CAAC;KAK7B;;4FApBY,sBAAsB;kFAAtB,sBAAsB,oOCVnC,oUAKiB;uFDKJ,sBAAsB;cAPlC,SAAS;eAAC;gBACT,QAAQ,EAAE,4BAA4B;gBACtC,WAAW,EAAE,kCAAkC;gBAC/C,SAAS,EAAE,CAAC,kCAAkC,CAAC;gBAC/C,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,gBAAgB,EAAC;aAChC;gBAIC,IAAI;kBADH,KAAK;YAIN,IAAI;kBADH,KAAK;YAIN,KAAK;kBADJ,KAAK;YAIN,OAAO;kBADN,KAAK;YAIN,WAAW;kBADV,KAAK;YAIN,IAAI;kBADH,KAAK","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","<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [name]=\"name\" [type]=\"type\" [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>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/textarea-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["export { TextareaFieldMolecule } from './textarea-field.molecule';\nexport { TextareaFieldModule } from './textarea-field.module';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-molecules-textarea-field.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/textarea-field/ng-atomic-components-molecules-textarea-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,30 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MatInputModule } from '@angular/material/input';
|
|
4
|
+
import { TextareaFieldMolecule } from './textarea-field.molecule';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class TextareaFieldModule {
|
|
7
|
+
}
|
|
8
|
+
TextareaFieldModule.ɵfac = function TextareaFieldModule_Factory(t) { return new (t || TextareaFieldModule)(); };
|
|
9
|
+
TextareaFieldModule.ɵmod = i0.ɵɵdefineNgModule({ type: TextareaFieldModule });
|
|
10
|
+
TextareaFieldModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
11
|
+
CommonModule,
|
|
12
|
+
// Material
|
|
13
|
+
MatInputModule,
|
|
14
|
+
]] });
|
|
15
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TextareaFieldModule, { declarations: [TextareaFieldMolecule], imports: [CommonModule,
|
|
16
|
+
// Material
|
|
17
|
+
MatInputModule], exports: [TextareaFieldMolecule] }); })();
|
|
18
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaFieldModule, [{
|
|
19
|
+
type: NgModule,
|
|
20
|
+
args: [{
|
|
21
|
+
declarations: [TextareaFieldMolecule],
|
|
22
|
+
imports: [
|
|
23
|
+
CommonModule,
|
|
24
|
+
// Material
|
|
25
|
+
MatInputModule,
|
|
26
|
+
],
|
|
27
|
+
exports: [TextareaFieldMolecule]
|
|
28
|
+
}]
|
|
29
|
+
}], null, null); })();
|
|
30
|
+
//# sourceMappingURL=textarea-field.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea-field.module.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/textarea-field/textarea-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,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;;AAalE,MAAM,OAAO,mBAAmB;;sFAAnB,mBAAmB;uDAAnB,mBAAmB;2DAPrB;YACP,YAAY;YACZ,WAAW;YACX,cAAc;SACf;wFAGU,mBAAmB,mBARf,qBAAqB,aAElC,YAAY;QACZ,WAAW;QACX,cAAc,aAEN,qBAAqB;uFAEpB,mBAAmB;cAT/B,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;gBACrC,OAAO,EAAE;oBACP,YAAY;oBACZ,WAAW;oBACX,cAAc;iBACf;gBACD,OAAO,EAAE,CAAC,qBAAqB,CAAC;aACjC","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatInputModule } from '@angular/material/input';\nimport { TextareaFieldMolecule } from './textarea-field.molecule';\n\n\n\n@NgModule({\n declarations: [TextareaFieldMolecule],\n imports: [\n CommonModule,\n // Material\n MatInputModule,\n ],\n exports: [TextareaFieldMolecule]\n})\nexport class TextareaFieldModule { }\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/material/form-field";
|
|
4
|
+
import * as i2 from "@angular/material/input";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
export class TextareaFieldMolecule {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.label = 'label';
|
|
9
|
+
this.placeholder = 'placeholder';
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
TextareaFieldMolecule.ɵfac = function TextareaFieldMolecule_Factory(t) { return new (t || TextareaFieldMolecule)(); };
|
|
13
|
+
TextareaFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: TextareaFieldMolecule, selector: "molecules-textarea-field", inputs: { label: "label", hint: "hint", placeholder: "placeholder" }, host: { classAttribute: "molecule field" }, ngImport: i0, template: "<mat-form-field class=\"example-full-width\">\n <mat-label>{{ label }}</mat-label>\n <textarea matInput [placeholder]=\"placeholder\" rows=\"10\"></textarea>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{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.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaFieldMolecule, [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{
|
|
17
|
+
selector: 'molecules-textarea-field',
|
|
18
|
+
templateUrl: './textarea-field.molecule.html',
|
|
19
|
+
styleUrls: ['./textarea-field.molecule.scss'],
|
|
20
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
21
|
+
host: { class: 'molecule field' },
|
|
22
|
+
}]
|
|
23
|
+
}], null, { label: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], hint: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], placeholder: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}] }); })();
|
|
30
|
+
//# sourceMappingURL=textarea-field.molecule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea-field.molecule.js","sourceRoot":"","sources":["../../../../../../libs/components/molecules/textarea-field/textarea-field.molecule.ts","../../../../../../libs/components/molecules/textarea-field/textarea-field.molecule.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;;;;;AAS1E,MAAM,OAAO,qBAAqB;IAPlC;QAUE,UAAK,GAAG,OAAO,CAAC;QAMhB,gBAAW,GAAG,aAAa,CAAC;KAE7B;;0FAXY,qBAAqB;iFAArB,qBAAqB,kLCTlC,sOAIiB;uFDKJ,qBAAqB;cAPjC,SAAS;eAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,WAAW,EAAE,gCAAgC;gBAC7C,SAAS,EAAE,CAAC,gCAAgC,CAAC;gBAC7C,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,gBAAgB,EAAC;aAChC;gBAIC,KAAK;kBADJ,KAAK;YAIN,IAAI;kBADH,KAAK;YAIN,WAAW;kBADV,KAAK","sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'molecules-textarea-field',\n templateUrl: './textarea-field.molecule.html',\n styleUrls: ['./textarea-field.molecule.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'molecule field'},\n})\nexport class TextareaFieldMolecule {\n\n @Input()\n label = 'label';\n\n @Input()\n hint?: string;\n\n @Input()\n placeholder = 'placeholder';\n\n}\n","<mat-form-field class=\"example-full-width\">\n <mat-label>{{ label }}</mat-label>\n <textarea matInput [placeholder]=\"placeholder\" rows=\"10\"></textarea>\n <mat-hint *ngIf=\"hint\">{{ hint }}</mat-hint>\n</mat-form-field>"]}
|
|
@@ -6,10 +6,11 @@ export class ActionButtonsSectionOrganism {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
this.actionItems = [];
|
|
8
8
|
this.actionItemClick = new EventEmitter();
|
|
9
|
+
this.trackById = (item) => item.id;
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
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-
|
|
13
|
+
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; trackBy: trackById\">\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-HsAS:var(--horizontal-padding);display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-HsAS);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
14
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionButtonsSectionOrganism, [{
|
|
14
15
|
type: Component,
|
|
15
16
|
args: [{
|