@ng-atomic/components 1.2.1 → 1.3.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 +1 -1
- package/bundles/ng-atomic-components-molecules-select-input-field.umd.min.js +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-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-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 +7 -1
- 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 +1 -1
- 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-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 +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/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/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.organism.js +7 -1
- 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/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 +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-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-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 +7 -1
- 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-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/smart-column/smart-column.module.d.ts +3 -2
- package/molecules/smart-column/smart-column.molecule.d.ts +4 -1
- 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/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.organism.d.ts +3 -1
- package/organisms/smart-table/smart-table.organism.d.ts +4 -1
- 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
|
@@ -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-L70W: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" }, 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-adbS: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: [{
|
|
@@ -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>"]}
|
|
@@ -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-jeMe:var(--horizontal-padding);display:flex;flex-direction:row;gap:8px;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-buttons-section-jeMe);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: [{
|
|
@@ -1 +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;
|
|
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;QAEnD,cAAS,GAAG,CAAC,IAAgB,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;KAC3C;;wGARY,4BAA4B;wFAA5B,4BAA4B,+MCVzC,0MAEe;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 trackById = (item: ActionItem) => item.id;\n}\n","<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>"]}
|
|
@@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import { MatButtonModule } from '@angular/material/button';
|
|
4
4
|
import { MatIconModule } from '@angular/material/icon';
|
|
5
5
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
6
|
-
import {
|
|
6
|
+
import { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';
|
|
7
7
|
import { BackNavigatorOrganism } from './back-navigator.organism';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export class BackNavigatorModule {
|
|
@@ -16,14 +16,16 @@ BackNavigatorModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
16
16
|
MatButtonModule,
|
|
17
17
|
MatIconModule,
|
|
18
18
|
MatToolbarModule,
|
|
19
|
-
|
|
19
|
+
// Atoms
|
|
20
|
+
SmartMenuButtonModule,
|
|
20
21
|
]] });
|
|
21
22
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(BackNavigatorModule, { declarations: [BackNavigatorOrganism], imports: [CommonModule,
|
|
22
23
|
// Material
|
|
23
24
|
MatButtonModule,
|
|
24
25
|
MatIconModule,
|
|
25
26
|
MatToolbarModule,
|
|
26
|
-
|
|
27
|
+
// Atoms
|
|
28
|
+
SmartMenuButtonModule], exports: [BackNavigatorOrganism] }); })();
|
|
27
29
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BackNavigatorModule, [{
|
|
28
30
|
type: NgModule,
|
|
29
31
|
args: [{
|
|
@@ -36,7 +38,8 @@ BackNavigatorModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
36
38
|
MatButtonModule,
|
|
37
39
|
MatIconModule,
|
|
38
40
|
MatToolbarModule,
|
|
39
|
-
|
|
41
|
+
// Atoms
|
|
42
|
+
SmartMenuButtonModule,
|
|
40
43
|
],
|
|
41
44
|
exports: [
|
|
42
45
|
BackNavigatorOrganism
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"back-navigator.module.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/back-navigator/back-navigator.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"back-navigator.module.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/back-navigator/back-navigator.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;;AAmBlE,MAAM,OAAO,mBAAmB;;sFAAnB,mBAAmB;uDAAnB,mBAAmB;2DAbrB;YACP,YAAY;YACZ,WAAW;YACX,eAAe;YACf,aAAa;YACb,gBAAgB;YAChB,QAAQ;YACR,qBAAqB;SACtB;wFAKU,mBAAmB,mBAf5B,qBAAqB,aAGrB,YAAY;QACZ,WAAW;QACX,eAAe;QACf,aAAa;QACb,gBAAgB;QAChB,QAAQ;QACR,qBAAqB,aAGrB,qBAAqB;uFAGZ,mBAAmB;cAjB/B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,WAAW;oBACX,eAAe;oBACf,aAAa;oBACb,gBAAgB;oBAChB,QAAQ;oBACR,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,qBAAqB;iBACtB;aACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { SmartMenuButtonModule } from '@ng-atomic/components/atoms/smart-menu-button';\n\nimport { BackNavigatorOrganism } from './back-navigator.organism';\n\n@NgModule({\n declarations: [\n BackNavigatorOrganism\n ],\n imports: [\n CommonModule,\n // Material\n MatButtonModule,\n MatIconModule,\n MatToolbarModule,\n // Atoms\n SmartMenuButtonModule,\n ],\n exports: [\n BackNavigatorOrganism\n ]\n})\nexport class BackNavigatorModule { }\n"]}
|
|
@@ -4,7 +4,7 @@ import * as i1 from "@angular/material/toolbar";
|
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
5
|
import * as i3 from "@angular/material/button";
|
|
6
6
|
import * as i4 from "@angular/material/icon";
|
|
7
|
-
import * as i5 from "@
|
|
7
|
+
import * as i5 from "@ng-atomic/components/atoms/smart-menu-button";
|
|
8
8
|
export class BackNavigatorOrganism {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.canBack = true;
|
|
@@ -14,7 +14,7 @@ export class BackNavigatorOrganism {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
BackNavigatorOrganism.ɵfac = function BackNavigatorOrganism_Factory(t) { return new (t || BackNavigatorOrganism)(); };
|
|
17
|
-
BackNavigatorOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: BackNavigatorOrganism, selector: "organisms-back-navigator", inputs: { canBack: "canBack", title: "title", actionItems: "actionItems" }, outputs: { backButtonClick: "backButtonClick", actionItemClick: "actionItemClick" }, ngImport: i0, template: "<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <
|
|
17
|
+
BackNavigatorOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: BackNavigatorOrganism, selector: "organisms-back-navigator", inputs: { canBack: "canBack", title: "title", description: "description", actionItems: "actionItems" }, outputs: { backButtonClick: "backButtonClick", actionItemClick: "actionItemClick" }, ngImport: i0, template: "<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <div class=\"text\">\n <span class=\"title\">{{ title || '' }}</span>\n <span class=\"description\">{{ description || '' }}</span>\n </div>\n </div>\n <div>\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n", styles: [":host{--height:64px;--height-SCOPED-IN-back-navigator-ZwSF:var(--height);display:block;width:100%;height:var(--height-SCOPED-IN-back-navigator-ZwSF)}:host div.text{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host div.text .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}:host mat-toolbar{width:100%;height:100%;justify-content:space-between}:host div,:host mat-toolbar{display:flex;align-items:center}:host div{justify-content:center}"], directives: [{ type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.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"] }, { type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i5.SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["actionItems"], outputs: ["actionItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BackNavigatorOrganism, [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{
|
|
@@ -27,6 +27,8 @@ BackNavigatorOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", ty
|
|
|
27
27
|
type: Input
|
|
28
28
|
}], title: [{
|
|
29
29
|
type: Input
|
|
30
|
+
}], description: [{
|
|
31
|
+
type: Input
|
|
30
32
|
}], actionItems: [{
|
|
31
33
|
type: Input
|
|
32
34
|
}], backButtonClick: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"back-navigator.organism.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/back-navigator/back-navigator.organism.ts","../../../../../../libs/components/organisms/back-navigator/back-navigator.organism.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;;;;;;AAShG,MAAM,OAAO,qBAAqB;IANlC;QASE,YAAO,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"back-navigator.organism.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/back-navigator/back-navigator.organism.ts","../../../../../../libs/components/organisms/back-navigator/back-navigator.organism.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;;;;;;AAShG,MAAM,OAAO,qBAAqB;IANlC;QASE,YAAO,GAAG,IAAI,CAAC;QASf,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAQ,CAAC;QAG3C,oBAAe,GAAG,IAAI,YAAY,EAAmB,CAAC;KAEvD;;0FApBY,qBAAqB;iFAArB,qBAAqB,6PCTlC,8hBAiBA;uFDRa,qBAAqB;cANjC,SAAS;eAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,WAAW,EAAE,gCAAgC;gBAC7C,SAAS,EAAE,CAAC,gCAAgC,CAAC;gBAC7C,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAIC,OAAO;kBADN,KAAK;YAIN,KAAK;kBADJ,KAAK;YAIN,WAAW;kBADV,KAAK;YAIN,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM;YAIP,eAAe;kBADd,MAAM","sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ActionItem, ActionItemEvent } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-back-navigator',\n templateUrl: './back-navigator.organism.html',\n styleUrls: ['./back-navigator.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BackNavigatorOrganism {\n\n @Input()\n canBack = true;\n\n @Input()\n title?: string;\n\n @Input()\n description?: string;\n\n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n backButtonClick = new EventEmitter<void>();\n\n @Output()\n actionItemClick = new EventEmitter<ActionItemEvent>();\n\n}\n","<mat-toolbar color=\"primary\">\n <div>\n <button mat-icon-button *ngIf=\"canBack\" (click)=\"backButtonClick.emit()\">\n <mat-icon>arrow_back</mat-icon>\n </button>\n <div class=\"text\">\n <span class=\"title\">{{ title || '' }}</span>\n <span class=\"description\">{{ description || '' }}</span>\n </div>\n </div>\n <div>\n <atoms-smart-menu-button\n [actionItems]=\"actionItems\"\n (actionItemClick)=\"actionItemClick.emit($event)\"\n ></atoms-smart-menu-button>\n </div>\n</mat-toolbar>\n"]}
|
|
@@ -1,27 +1,18 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
-
import {
|
|
4
|
-
import { MatInputModule } from '@angular/material/input';
|
|
5
|
-
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
6
|
-
import { MatDayjsDateModule, MAT_DAYJS_JP_PROVIDERS } from '@ng-atomic/common/utils';
|
|
3
|
+
import { DateInputFieldModule } from '@ng-atomic/components/molecules/date-input-field';
|
|
7
4
|
import { DateInputSectionOrganism } from './date-input-section.organism';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
6
|
export class DateInputSectionModule {
|
|
10
7
|
}
|
|
11
8
|
DateInputSectionModule.ɵfac = function DateInputSectionModule_Factory(t) { return new (t || DateInputSectionModule)(); };
|
|
12
9
|
DateInputSectionModule.ɵmod = i0.ɵɵdefineNgModule({ type: DateInputSectionModule });
|
|
13
|
-
DateInputSectionModule.ɵinj = i0.ɵɵdefineInjector({
|
|
10
|
+
DateInputSectionModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
14
11
|
CommonModule,
|
|
15
|
-
|
|
16
|
-
MatInputModule,
|
|
17
|
-
MatDatepickerModule,
|
|
18
|
-
MatDayjsDateModule,
|
|
12
|
+
DateInputFieldModule,
|
|
19
13
|
]] });
|
|
20
14
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DateInputSectionModule, { declarations: [DateInputSectionOrganism], imports: [CommonModule,
|
|
21
|
-
|
|
22
|
-
MatInputModule,
|
|
23
|
-
MatDatepickerModule,
|
|
24
|
-
MatDayjsDateModule], exports: [DateInputSectionOrganism] }); })();
|
|
15
|
+
DateInputFieldModule], exports: [DateInputSectionOrganism] }); })();
|
|
25
16
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputSectionModule, [{
|
|
26
17
|
type: NgModule,
|
|
27
18
|
args: [{
|
|
@@ -30,15 +21,11 @@ DateInputSectionModule.ɵinj = i0.ɵɵdefineInjector({ providers: [...MAT_DAYJS_
|
|
|
30
21
|
],
|
|
31
22
|
imports: [
|
|
32
23
|
CommonModule,
|
|
33
|
-
|
|
34
|
-
MatInputModule,
|
|
35
|
-
MatDatepickerModule,
|
|
36
|
-
MatDayjsDateModule,
|
|
24
|
+
DateInputFieldModule,
|
|
37
25
|
],
|
|
38
26
|
exports: [
|
|
39
27
|
DateInputSectionOrganism
|
|
40
28
|
],
|
|
41
|
-
providers: [...MAT_DAYJS_JP_PROVIDERS],
|
|
42
29
|
}]
|
|
43
30
|
}], null, null); })();
|
|
44
31
|
//# sourceMappingURL=date-input-section.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-input-section.module.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/date-input-section/date-input-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,
|
|
1
|
+
{"version":3,"file":"date-input-section.module.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/date-input-section/date-input-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,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;AAczE,MAAM,OAAO,sBAAsB;;4FAAtB,sBAAsB;0DAAtB,sBAAsB;8DARxB;YACP,YAAY;YACZ,oBAAoB;SACrB;wFAKU,sBAAsB,mBAV/B,wBAAwB,aAGxB,YAAY;QACZ,oBAAoB,aAGpB,wBAAwB;uFAGf,sBAAsB;cAZlC,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,oBAAoB;iBACrB;gBACD,OAAO,EAAE;oBACP,wBAAwB;iBACzB;aACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DateInputFieldModule } from '@ng-atomic/components/molecules/date-input-field';\nimport { DateInputSectionOrganism } from './date-input-section.organism';\n\n@NgModule({\n declarations: [\n DateInputSectionOrganism\n ],\n imports: [\n CommonModule,\n DateInputFieldModule,\n ],\n exports: [\n DateInputSectionOrganism\n ],\n})\nexport class DateInputSectionModule { }\n"]}
|
|
@@ -1,28 +1,24 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@ngneat/reactive-forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@
|
|
5
|
-
import * as i2 from "@angular/material/input";
|
|
6
|
-
import * as i3 from "@angular/forms";
|
|
7
|
-
import * as i4 from "@angular/material/datepicker";
|
|
4
|
+
import * as i1 from "@ng-atomic/components/molecules/date-input-field";
|
|
8
5
|
export class DateInputSectionOrganism {
|
|
9
6
|
constructor() {
|
|
10
7
|
this.control = new FormControl();
|
|
11
8
|
this.label = '';
|
|
12
9
|
this.placeholder = '';
|
|
13
10
|
}
|
|
14
|
-
ngOnInit() {
|
|
15
|
-
this.control.valueChanges.subscribe(console.debug);
|
|
16
|
-
}
|
|
17
11
|
}
|
|
18
12
|
DateInputSectionOrganism.ɵfac = function DateInputSectionOrganism_Factory(t) { return new (t || DateInputSectionOrganism)(); };
|
|
19
|
-
DateInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: DateInputSectionOrganism, selector: "organisms-date-input-section", inputs: { control: "control", label: "label", placeholder: "placeholder" }, ngImport: i0, template: "<
|
|
13
|
+
DateInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: DateInputSectionOrganism, selector: "organisms-date-input-section", inputs: { control: "control", label: "label", placeholder: "placeholder" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<molecules-date-input-field\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-date-input-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-date-input-section-NkuL:var(--horizontal-padding);display:block;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-NkuL);box-sizing:border-box}:host,:host mat-form-field{width:100%}"], directives: [{ type: i1.DateInputFieldMolecule, selector: "molecules-date-input-field", inputs: ["control", "label", "placeholder", "hint"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
20
14
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateInputSectionOrganism, [{
|
|
21
15
|
type: Component,
|
|
22
16
|
args: [{
|
|
23
17
|
selector: 'organisms-date-input-section',
|
|
24
18
|
templateUrl: './date-input-section.organism.html',
|
|
25
|
-
styleUrls: ['./date-input-section.organism.scss']
|
|
19
|
+
styleUrls: ['./date-input-section.organism.scss'],
|
|
20
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
21
|
+
host: { class: 'organism section' },
|
|
26
22
|
}]
|
|
27
23
|
}], null, { control: [{
|
|
28
24
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-input-section.organism.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/date-input-section/date-input-section.organism.ts","../../../../../../libs/components/organisms/date-input-section/date-input-section.organism.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"date-input-section.organism.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/date-input-section/date-input-section.organism.ts","../../../../../../libs/components/organisms/date-input-section/date-input-section.organism.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;;;AAUrD,MAAM,OAAO,wBAAwB;IAPrC;QASE,YAAO,GAAG,IAAI,WAAW,EAAe,CAAC;QAGzC,UAAK,GAAG,EAAE,CAAC;QAGX,gBAAW,GAAG,EAAE,CAAC;KAClB;;gGATY,wBAAwB;oFAAxB,wBAAwB,8LCXrC,4IAI8B;uFDOjB,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,kBAAkB,EAAC;aAClC;gBAGC,OAAO;kBADN,KAAK;YAIN,KAAK;kBADJ,KAAK;YAIN,WAAW;kBADV,KAAK","sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\nimport * as dayjs from 'dayjs';\n\n@Component({\n selector: 'organisms-date-input-section',\n templateUrl: './date-input-section.organism.html',\n styleUrls: ['./date-input-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism section'},\n})\nexport class DateInputSectionOrganism {\n @Input()\n control = new FormControl<dayjs.Dayjs>();\n\n @Input()\n label = '';\n\n @Input()\n placeholder = '';\n}\n","<molecules-date-input-field\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-date-input-field>"]}
|
|
@@ -7,7 +7,7 @@ export class HeadingOrganism {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
HeadingOrganism.ɵfac = function HeadingOrganism_Factory(t) { return new (t || HeadingOrganism)(); };
|
|
10
|
-
HeadingOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: HeadingOrganism, selector: "organisms-heading", inputs: { level: "level" }, ngImport: i0, template: "<ng-template #temp><ng-content></ng-content></ng-template>\n\n<ng-container [ngSwitch]=\"level\">\n <h1 *ngSwitchDefault><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h1>\n <h2 *ngSwitchCase=\"2\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h2>\n <h3 *ngSwitchCase=\"3\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h3>\n <h4 *ngSwitchCase=\"4\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h4>\n <h5 *ngSwitchCase=\"5\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h5>\n <h6 *ngSwitchCase=\"6\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h6>\n</ng-container>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-heading-
|
|
10
|
+
HeadingOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: HeadingOrganism, selector: "organisms-heading", inputs: { level: "level" }, ngImport: i0, template: "<ng-template #temp><ng-content></ng-content></ng-template>\n\n<ng-container [ngSwitch]=\"level\">\n <h1 *ngSwitchDefault><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h1>\n <h2 *ngSwitchCase=\"2\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h2>\n <h3 *ngSwitchCase=\"3\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h3>\n <h4 *ngSwitchCase=\"4\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h4>\n <h5 *ngSwitchCase=\"5\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h5>\n <h6 *ngSwitchCase=\"6\"><ng-container *ngTemplateOutlet=\"temp;\"></ng-container></h6>\n</ng-container>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-heading-JUaV:var(--horizontal-padding);display:block;width:100%;box-sizing:border-box;padding:0 var(--horizontal-padding-SCOPED-IN-heading-JUaV)}"], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11
11
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeadingOrganism, [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{
|
|
@@ -8,11 +8,13 @@ export class InputFieldSectionOrganism {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
this.label = '';
|
|
10
10
|
this.placeholder = '';
|
|
11
|
+
this.type = 'text';
|
|
12
|
+
this.hint = '';
|
|
11
13
|
this.control = new FormControl('');
|
|
12
14
|
}
|
|
13
15
|
}
|
|
14
16
|
InputFieldSectionOrganism.ɵfac = function InputFieldSectionOrganism_Factory(t) { return new (t || InputFieldSectionOrganism)(); };
|
|
15
|
-
InputFieldSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: InputFieldSectionOrganism, selector: "organisms-input-field-section", inputs: { label: "label", placeholder: "placeholder", control: "control" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint>
|
|
17
|
+
InputFieldSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: InputFieldSectionOrganism, selector: "organisms-input-field-section", inputs: { label: "label", placeholder: "placeholder", type: "type", hint: "hint", control: "control" }, host: { classAttribute: "organism section" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [type]=\"type\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint>{{ hint }}</mat-hint>\n</mat-form-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-input-field-section-K63Q:var(--horizontal-padding);display:block;padding:0 var(--horizontal-padding-SCOPED-IN-input-field-section-K63Q);box-sizing:border-box}:host,:host .molecule.input-field,: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: i1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16
18
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputFieldSectionOrganism, [{
|
|
17
19
|
type: Component,
|
|
18
20
|
args: [{
|
|
@@ -26,6 +28,10 @@ InputFieldSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14"
|
|
|
26
28
|
type: Input
|
|
27
29
|
}], placeholder: [{
|
|
28
30
|
type: Input
|
|
31
|
+
}], type: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], hint: [{
|
|
34
|
+
type: Input
|
|
29
35
|
}], control: [{
|
|
30
36
|
type: Input
|
|
31
37
|
}] }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-field-section.organism.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/input-field-section/input-field-section.organism.ts","../../../../../../libs/components/organisms/input-field-section/input-field-section.organism.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,yBAAyB;IAPtC;QASE,UAAK,GAAG,EAAE,CAAC;QAGX,gBAAW,GAAG,EAAE,CAAC;QAGjB,YAAO,GAAG,IAAI,WAAW,CAAC,EAAE,CAAC,CAAC;KAC/B;;
|
|
1
|
+
{"version":3,"file":"input-field-section.organism.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/input-field-section/input-field-section.organism.ts","../../../../../../libs/components/organisms/input-field-section/input-field-section.organism.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,yBAAyB;IAPtC;QASE,UAAK,GAAG,EAAE,CAAC;QAGX,gBAAW,GAAG,EAAE,CAAC;QAGjB,SAAI,GAAmC,MAAM,CAAC;QAG9C,SAAI,GAAG,EAAE,CAAC;QAGV,YAAO,GAAG,IAAI,WAAW,CAAC,EAAE,CAAC,CAAC;KAC/B;;kGAfY,yBAAyB;qFAAzB,yBAAyB,2NCVtC,qSAKiB;uFDKJ,yBAAyB;cAPrC,SAAS;eAAC;gBACT,QAAQ,EAAE,+BAA+B;gBACzC,WAAW,EAAE,qCAAqC;gBAClD,SAAS,EAAE,CAAC,qCAAqC,CAAC;gBAClD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAC,KAAK,EAAE,kBAAkB,EAAC;aAClC;gBAGC,KAAK;kBADJ,KAAK;YAIN,WAAW;kBADV,KAAK;YAIN,IAAI;kBADH,KAAK;YAIN,IAAI;kBADH,KAAK;YAIN,OAAO;kBADN,KAAK","sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl } from '@ngneat/reactive-forms';\n\n@Component({\n selector: 'organisms-input-field-section',\n templateUrl: './input-field-section.organism.html',\n styleUrls: ['./input-field-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'organism section'}\n})\nexport class InputFieldSectionOrganism {\n @Input()\n label = '';\n\n @Input()\n placeholder = '';\n\n @Input()\n type: 'text' | 'number' | 'password' = 'text';\n\n @Input()\n hint = '';\n\n @Input()\n control = new FormControl('');\n}\n","<mat-form-field appearance=\"outline\">\n <mat-label>{{ label }}</mat-label>\n <input matInput [type]=\"type\" [formControl]=\"control\" [placeholder]=\"placeholder\">\n <!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->\n <mat-hint>{{ hint }}</mat-hint>\n</mat-form-field>"]}
|
|
@@ -11,7 +11,7 @@ export class MenuOrganism {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
MenuOrganism.ɵfac = function MenuOrganism_Factory(t) { return new (t || MenuOrganism)(); };
|
|
14
|
-
MenuOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: MenuOrganism, selector: "organisms-menu", inputs: { actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, ngImport: i0, template: "<mat-list>\n <mat-list-item (click)=\"actionItemClick.emit([item])\"
|
|
14
|
+
MenuOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: MenuOrganism, selector: "organisms-menu", inputs: { actionItems: "actionItems" }, outputs: { actionItemClick: "actionItemClick" }, ngImport: i0, template: "<mat-selection-list [multiple]=\"false\">\n <mat-list-option \n *ngFor=\"let item of actionItems\" \n [value]=\"item.id\"\n (click)=\"actionItemClick.emit([item])\"\n >\n <mat-icon mat-list-icon> {{ item?.icon }}</mat-icon>\n <div mat-line>{{item.name}}</div>\n </mat-list-option>\n</mat-selection-list>", styles: [":host{--primary-color:#00f;--primary-color-SCOPED-IN-menu-Kxeo:var(--primary-color);--secondary-color:#00f;--secondary-color-SCOPED-IN-menu-Kxeo:var(--secondary-color);--color:#fff;--color-SCOPED-IN-menu-Kxeo:var(--color);display:block;width:100%;height:100%;background:var(--primary-color-SCOPED-IN-menu-Kxeo);color:var(--color-SCOPED-IN-menu-Kxeo);box-sizing:border-box}:host .mat-list-item{height:3rem!important}:host ::ng-deep .mat-list-item .mat-list-item-content{display:flex;align-items:center;grid-gap:8px;padding-top:8px;padding-bottom:8px;cursor:pointer;color:var(--color-SCOPED-IN-menu-Kxeo);font-size:12px}:host ::ng-deep .mat-list-item .mat-list-text{padding-left:8px!important}"], directives: [{ type: i1.MatSelectionList, selector: "mat-selection-list", inputs: ["disableRipple", "tabIndex", "color", "compareWith", "disabled", "multiple"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.MatListOption, selector: "mat-list-option", inputs: ["disableRipple", "checkboxPosition", "color", "value", "selected", "disabled"], exportAs: ["matListOption"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i1.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { type: i4.MatLine, selector: "[mat-line], [matLine]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15
15
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuOrganism, [{
|
|
16
16
|
type: Component,
|
|
17
17
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.organism.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/menu/menu.organism.ts","../../../../../../libs/components/organisms/menu/menu.organism.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;;;;;;AAShG,MAAM,OAAO,YAAY;IANzB;QASE,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAgB,CAAC;KAEpD;;wEARY,YAAY;wEAAZ,YAAY,+ICTzB
|
|
1
|
+
{"version":3,"file":"menu.organism.js","sourceRoot":"","sources":["../../../../../../libs/components/organisms/menu/menu.organism.ts","../../../../../../libs/components/organisms/menu/menu.organism.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;;;;;;AAShG,MAAM,OAAO,YAAY;IANzB;QASE,gBAAW,GAAiB,EAAE,CAAC;QAG/B,oBAAe,GAAG,IAAI,YAAY,EAAgB,CAAC;KAEpD;;wEARY,YAAY;wEAAZ,YAAY,+ICTzB,mUASqB;uFDAR,YAAY;cANxB,SAAS;eAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,WAAW,EAAE,sBAAsB;gBACnC,SAAS,EAAE,CAAC,sBAAsB,CAAC;gBACnC,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;gBAIC,WAAW;kBADV,KAAK;YAIN,eAAe;kBADd,MAAM","sourcesContent":["import { Component, Input, ChangeDetectionStrategy, Output, EventEmitter } from '@angular/core';\nimport { ActionItem } from '@ng-atomic/common/models';\n\n@Component({\n selector: 'organisms-menu',\n templateUrl: './menu.organism.html',\n styleUrls: ['./menu.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MenuOrganism {\n \n @Input()\n actionItems: ActionItem[] = [];\n\n @Output()\n actionItemClick = new EventEmitter<[ActionItem]>();\n\n}\n","<mat-selection-list [multiple]=\"false\">\n <mat-list-option \n *ngFor=\"let item of actionItems\" \n [value]=\"item.id\"\n (click)=\"actionItemClick.emit([item])\"\n >\n <mat-icon mat-list-icon> {{ item?.icon }}</mat-icon>\n <div mat-line>{{item.name}}</div>\n </mat-list-option>\n</mat-selection-list>"]}
|
|
@@ -10,7 +10,7 @@ export class SelectInputSectionOrganism {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
SelectInputSectionOrganism.ɵfac = function SelectInputSectionOrganism_Factory(t) { return new (t || SelectInputSectionOrganism)(); };
|
|
13
|
-
SelectInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SelectInputSectionOrganism, selector: "organisms-select-input-section", inputs: { label: "label", control: "control", options: "options" }, ngImport: i0, template: "<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-select-input-section-
|
|
13
|
+
SelectInputSectionOrganism.ɵcmp = i0.ɵɵngDeclareComponent({ version: "11.2.14", type: SelectInputSectionOrganism, selector: "organisms-select-input-section", inputs: { label: "label", control: "control", options: "options" }, ngImport: i0, template: "<molecules-select-input-field\n [label]=\"label\"\n [control]=\"control\"\n [options]=\"options\"\n></molecules-select-input-field>", styles: [":host{--horizontal-padding:16px;--horizontal-padding-SCOPED-IN-select-input-section-rguN:var(--horizontal-padding);display:block;padding:0 var(--horizontal-padding-SCOPED-IN-select-input-section-rguN);box-sizing:border-box}:host,:host .molecule.input-field{width:100%}"], directives: [{ type: i1.SelectInputFieldMolecule, selector: "molecules-select-input-field", inputs: ["label", "control", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
14
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectInputSectionOrganism, [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{
|