@ng-atomic/components 17.14.0 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/chips-input/chips-input.atom.d.ts +2 -2
- package/esm2022/atoms/atoms.module.mjs +4 -4
- package/esm2022/atoms/badge/badge.atom.mjs +3 -3
- package/esm2022/atoms/chips-input/chips-input.atom.mjs +4 -4
- package/esm2022/atoms/icon/icon.atom.mjs +5 -5
- package/esm2022/atoms/smart-menu-button/smart-menu-button.atom.mjs +9 -9
- package/esm2022/components.module.mjs +4 -4
- package/esm2022/extras/editor/editor.component.mjs +4 -4
- package/esm2022/extras/extras.module.mjs +4 -4
- package/esm2022/frames/app/app.frame.mjs +23 -24
- package/esm2022/frames/auto-layout/auto-layout.frame.mjs +4 -4
- package/esm2022/frames/card/card.frame.mjs +3 -3
- package/esm2022/frames/columns/columns.frame.mjs +22 -22
- package/esm2022/frames/divider/divider.frame.mjs +20 -13
- package/esm2022/frames/drawer/drawer.frame.mjs +8 -8
- package/esm2022/frames/entrance/entrance.frame.mjs +8 -8
- package/esm2022/frames/fab/fab.frame.mjs +8 -8
- package/esm2022/frames/fab/fab.service.mjs +3 -3
- package/esm2022/frames/frames.module.mjs +4 -4
- package/esm2022/frames/line-up/line-up.frame.mjs +9 -9
- package/esm2022/frames/line-up/line-up.service.mjs +3 -3
- package/esm2022/frames/loading/loading.frame.mjs +8 -8
- package/esm2022/frames/overlay/overlay.frame.mjs +6 -6
- package/esm2022/frames/router-outlet/router-outlet.frame.mjs +9 -9
- package/esm2022/frames/scroll/scroll.frame.mjs +5 -5
- package/esm2022/frames/scroll-v2/scroll.frame.mjs +6 -6
- package/esm2022/frames/side-nav/side-nav.frame.mjs +28 -29
- package/esm2022/frames/smart-menu/smart-menu.frame.mjs +5 -5
- package/esm2022/frames/tabs/tabs.frame.mjs +4 -4
- package/esm2022/frames/toggle/toggle.frame.mjs +5 -5
- package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +5 -5
- package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +6 -6
- package/esm2022/molecules/actions-column/actions-column.molecule.mjs +10 -10
- package/esm2022/molecules/checkbox-column/checkbox-column.molecule.mjs +5 -5
- package/esm2022/molecules/chips-input-field/chips-input-field.molecule.mjs +7 -7
- package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +8 -8
- package/esm2022/molecules/date-range-input-field/date-range-input-field.molecule.mjs +8 -8
- package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +9 -9
- package/esm2022/molecules/grid-item/grid-item.molecule.mjs +5 -5
- package/esm2022/molecules/header/header.molecule.mjs +6 -6
- package/esm2022/molecules/loading-box/loading-box.molecule.mjs +8 -8
- package/esm2022/molecules/molecules.module.mjs +4 -4
- package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +8 -8
- package/esm2022/molecules/nested-menu/nested-menu.molecule.mjs +3 -3
- package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +8 -8
- package/esm2022/molecules/smart-column/smart-column.molecule.mjs +8 -8
- package/esm2022/molecules/text-input-field/text-input-field.molecule.mjs +9 -9
- package/esm2022/molecules/textarea-field/textarea-field.molecule.mjs +7 -7
- package/esm2022/molecules/tree-column/tree-column.molecule.mjs +14 -12
- package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +8 -8
- package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +8 -8
- package/esm2022/organisms/agreement-input-section/agreement-input-section.organism.mjs +6 -6
- package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +4 -4
- package/esm2022/organisms/chips-input-section/chips-input-section.organism.mjs +26 -16
- package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +4 -4
- package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +8 -8
- package/esm2022/organisms/date-range-input-section/date-range-input-section.organism.mjs +8 -8
- package/esm2022/organisms/definition-list/definition-list.organism.mjs +8 -8
- package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +8 -8
- package/esm2022/organisms/filters-section/filters-section.organism.mjs +3 -3
- package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +4 -4
- package/esm2022/organisms/grid-cards-section/grid-cards-section.organism.mjs +5 -5
- package/esm2022/organisms/grid-toolbar/grid-toolbar.organism.mjs +6 -6
- package/esm2022/organisms/heading/heading.organism.mjs +5 -5
- package/esm2022/organisms/image-preview-section/image-preview-section.organism.mjs +3 -3
- package/esm2022/organisms/markdown-preview-section/markdown-preview-section.organism.mjs +6 -6
- package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +8 -8
- package/esm2022/organisms/menu-header/menu-header.organism.mjs +8 -8
- package/esm2022/organisms/mermaid-section/mermaid-section.organism.mjs +4 -4
- package/esm2022/organisms/message-input-section/message-input-section.organism.mjs +3 -3
- package/esm2022/organisms/messages-section/messages-section.organism.mjs +5 -5
- package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +8 -8
- package/esm2022/organisms/navigator/navigator.organism.mjs +8 -8
- package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +8 -8
- package/esm2022/organisms/organisms.module.mjs +4 -4
- package/esm2022/organisms/paginator/paginator.organism.mjs +8 -8
- package/esm2022/organisms/password-input-section/password-input-section.organism.mjs +8 -8
- package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +8 -8
- package/esm2022/organisms/selection-list/selection-list.organism.mjs +3 -3
- package/esm2022/organisms/slider-input-section/slider-input-section.organism.mjs +8 -8
- package/esm2022/organisms/smart-list/smart-list.organism.mjs +6 -6
- package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +4 -4
- package/esm2022/organisms/stripe-input-section/stripe-input-section.organism.mjs +11 -11
- package/esm2022/organisms/table/table.organism.mjs +13 -9
- package/esm2022/organisms/terminal/terminal.organism.mjs +4 -4
- package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +8 -8
- package/esm2022/organisms/text-preview-section/text-preview-section.organism.mjs +6 -6
- package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +8 -8
- package/esm2022/organisms/thread-messages-section/thread-messages-section.organism.mjs +8 -8
- package/esm2022/organisms/time-range-input-section/time-range-input-section.organism.mjs +3 -3
- package/esm2022/organisms/toolbar/toolbar.organism.mjs +3 -3
- package/esm2022/organisms/tree-section/tree-section.organism.mjs +4 -4
- package/esm2022/organisms/vertical-divider/vertical-divider.organism.mjs +3 -3
- package/esm2022/organisms/video-section/video-section.organism.mjs +17 -17
- package/esm2022/pages/_index/index.page.mjs +10 -10
- package/esm2022/pages/blank/blank.page.mjs +3 -3
- package/esm2022/pages/columns/columns.page.mjs +6 -6
- package/esm2022/pages/form/form.page.mjs +9 -9
- package/esm2022/pages/pages.module.mjs +4 -4
- package/esm2022/pages/terms/terms.page.mjs +6 -6
- package/esm2022/sheets/actions/actions.sheet.mjs +3 -3
- package/esm2022/sheets/sheets.module.mjs +4 -4
- package/esm2022/sheets/sheets.service.mjs +3 -3
- package/esm2022/templates/_index/index.template.mjs +61 -59
- package/esm2022/templates/background/background.template.mjs +7 -7
- package/esm2022/templates/code-editor/code-editor.template.mjs +6 -6
- package/esm2022/templates/columns/columns.template.mjs +9 -9
- package/esm2022/templates/entrance/entrance.template.mjs +24 -25
- package/esm2022/templates/file-tree/file-tree.template.mjs +3 -3
- package/esm2022/templates/form/form.builder.mjs +28 -37
- package/esm2022/templates/form/form.template.mjs +9 -9
- package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +8 -8
- package/esm2022/templates/loading/loading.template.mjs +3 -3
- package/esm2022/templates/menu/menu.template.mjs +8 -8
- package/esm2022/templates/messages/messages.template.mjs +4 -4
- package/esm2022/templates/selection/selection.template.mjs +8 -8
- package/esm2022/templates/settings/settings.template.mjs +5 -5
- package/esm2022/templates/tab-editor/tab-editor.template.mjs +3 -3
- package/esm2022/templates/templates.module.mjs +4 -4
- package/esm2022/templates/term/term.template.mjs +6 -6
- package/extras/editor/editor.component.d.ts +2 -2
- package/fesm2022/ng-atomic-components-atoms-badge.mjs +3 -3
- package/fesm2022/ng-atomic-components-atoms-chips-input.mjs +3 -3
- package/fesm2022/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +5 -5
- package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs +9 -9
- package/fesm2022/ng-atomic-components-atoms.mjs +4 -4
- package/fesm2022/ng-atomic-components-extras-editor.mjs +3 -3
- package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-extras.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-app.mjs +22 -23
- package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-card.mjs +3 -3
- package/fesm2022/ng-atomic-components-frames-columns.mjs +21 -21
- package/fesm2022/ng-atomic-components-frames-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-divider.mjs +19 -12
- package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-entrance.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-fab.mjs +11 -11
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +11 -11
- package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-loading.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-overlay.mjs +6 -6
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +5 -5
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-scroll.mjs +5 -5
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +27 -28
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-tabs.mjs +3 -3
- package/fesm2022/ng-atomic-components-frames-tabs.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-toggle.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-toggle.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +5 -5
- package/fesm2022/ng-atomic-components-frames.mjs +4 -4
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +5 -5
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +9 -9
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +4 -4
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs +6 -6
- package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +5 -5
- package/fesm2022/ng-atomic-components-molecules-header.mjs +6 -6
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs +3 -3
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-smart-column.mjs +7 -7
- package/fesm2022/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +6 -6
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +13 -11
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +6 -6
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs +25 -15
- package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +6 -6
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +6 -6
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +6 -6
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +10 -10
- package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-table.mjs +12 -8
- package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +6 -6
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-video-section.mjs +16 -16
- package/fesm2022/ng-atomic-components-organisms-video-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms.mjs +4 -4
- package/fesm2022/ng-atomic-components-pages-_index.mjs +9 -9
- package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-blank.mjs +3 -3
- package/fesm2022/ng-atomic-components-pages-columns.mjs +6 -6
- package/fesm2022/ng-atomic-components-pages-form.mjs +8 -8
- package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-terms.mjs +6 -6
- package/fesm2022/ng-atomic-components-pages.mjs +4 -4
- package/fesm2022/ng-atomic-components-sheets-actions.mjs +3 -3
- package/fesm2022/ng-atomic-components-sheets.mjs +7 -7
- package/fesm2022/ng-atomic-components-templates-_index.mjs +61 -59
- package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-background.mjs +7 -7
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs +6 -6
- package/fesm2022/ng-atomic-components-templates-columns.mjs +8 -8
- package/fesm2022/ng-atomic-components-templates-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +23 -24
- package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-file-tree.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-form.mjs +36 -44
- package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +8 -8
- package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-menu.mjs +8 -8
- package/fesm2022/ng-atomic-components-templates-messages.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-messages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-selection.mjs +8 -8
- package/fesm2022/ng-atomic-components-templates-settings.mjs +5 -5
- package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-term.mjs +6 -6
- package/fesm2022/ng-atomic-components-templates.mjs +4 -4
- package/fesm2022/ng-atomic-components.mjs +4 -4
- package/frames/app/app.frame.d.ts +17 -17
- package/frames/divider/divider.frame.d.ts +1 -0
- package/frames/fab/fab.frame.d.ts +3 -3
- package/frames/line-up/line-up.frame.d.ts +2 -2
- package/frames/side-nav/side-nav.frame.d.ts +2 -2
- package/frames/tabs/tabs.frame.d.ts +2 -2
- package/molecules/action-input-field/action-input-field.molecule.d.ts +2 -1
- package/molecules/actions-column/actions-column.molecule.d.ts +4 -3
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +2 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +2 -1
- package/molecules/file-input-field/file-input-field.molecule.d.ts +2 -2
- package/molecules/molecules.module.d.ts +1 -1
- package/molecules/smart-column/smart-column.molecule.d.ts +4 -4
- package/molecules/tree-column/tree-column.molecule.d.ts +3 -2
- package/organisms/chips-input-section/chips-input-section.organism.d.ts +6 -2
- package/organisms/graphql-editor/graphql-editor.organism.d.ts +2 -2
- package/organisms/mermaid-section/mermaid-section.organism.d.ts +2 -2
- package/organisms/navigator/navigator.organism.d.ts +3 -3
- package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +11 -11
- package/organisms/terminal/terminal.organism.d.ts +2 -2
- package/organisms/tree-section/tree-section.organism.d.ts +2 -2
- package/organisms/video-section/video-section.organism.d.ts +2 -2
- package/package.json +10 -11
- package/pages/_index/index.page.d.ts +21 -21
- package/pages/columns/columns.page.d.ts +6 -6
- package/pages/form/form.page.d.ts +19 -17
- package/templates/_index/index.template.d.ts +31 -27
- package/templates/form/form.template.d.ts +8 -8
- package/templates/messages/messages.template.d.ts +2 -2
|
@@ -1,27 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, Component, ChangeDetectionStrategy, computed, inject, Directive, ChangeDetectorRef } from '@angular/core';
|
|
3
|
-
import { TextareaSectionOrganismStore } from '@ng-atomic/components/organisms/textarea-section';
|
|
4
|
-
import { TextInputSectionOrganismStore } from '@ng-atomic/components/organisms/text-input-section';
|
|
5
3
|
import { DateInputSectionOrganism } from '@ng-atomic/components/organisms/date-input-section';
|
|
6
|
-
import { SelectInputSectionOrganismStore } from '@ng-atomic/components/organisms/select-input-section';
|
|
7
4
|
import { DomainPipe } from '@ng-atomic/common/pipes/domain';
|
|
8
5
|
import { ActionInputSectionOrganismStore } from '@ng-atomic/components/organisms/action-input-section';
|
|
9
6
|
import { NgAtomicComponent, InjectableComponent, _computed, Effect } from '@ng-atomic/core';
|
|
10
7
|
import { FileInputSectionOrganism, FileInputSectionOrganismStore } from '@ng-atomic/components/organisms/file-input-section';
|
|
11
|
-
import { AgreementInputSectionOrganism } from '@ng-atomic/components/organisms/agreement-input-section';
|
|
12
|
-
import { VideoSectionOrganism } from '@ng-atomic/components/organisms/video-section';
|
|
13
|
-
import { NumberInputSectionOrganismStore } from '@ng-atomic/components/organisms/number-input-section';
|
|
14
|
-
import { ImagePreviewSectionOrganism } from '@ng-atomic/components/organisms/image-preview-section';
|
|
15
|
-
import { PasswordInputSectionOrganismStore } from '@ng-atomic/components/organisms/password-input-section';
|
|
16
8
|
import { DateRangeInputSectionOrganism } from '@ng-atomic/components/organisms/date-range-input-section';
|
|
17
|
-
import { SliderInputSectionOrganismStore } from '@ng-atomic/components/organisms/slider-input-section';
|
|
18
9
|
import { get } from 'lodash-es';
|
|
19
|
-
import { ActionButtonsSectionOrganismStore } from '@ng-atomic/components/organisms/action-buttons-section';
|
|
20
10
|
import { __decorate, __metadata } from 'tslib';
|
|
21
11
|
import { FormBuilder } from '@angular/forms';
|
|
22
12
|
import { ScrollFrame } from '@ng-atomic/components/frames/scroll-v2';
|
|
23
13
|
import { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';
|
|
24
14
|
import { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';
|
|
15
|
+
import { ActionButtonsSectionOrganismStore } from '@ng-atomic/components/organisms/action-buttons-section';
|
|
25
16
|
import { NavigatorOrganismStore } from '@ng-atomic/components/organisms/navigator';
|
|
26
17
|
import { makeConfig, injectIsRootPage, injectNavStartActions, NavActionId } from '@ng-atomic/common/services/ui';
|
|
27
18
|
|
|
@@ -69,8 +60,8 @@ class NgAtomicFormSectionSwitcher extends NgAtomicComponent {
|
|
|
69
60
|
}
|
|
70
61
|
}
|
|
71
62
|
}
|
|
72
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
73
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicFormSectionSwitcher, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
64
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: NgAtomicFormSectionSwitcher, isStandalone: true, selector: "ng-atomic-form-section-switcher", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
74
65
|
@if (field(); as field) {
|
|
75
66
|
@switch (field.type) {
|
|
76
67
|
@case ('select') {
|
|
@@ -213,27 +204,28 @@ class NgAtomicFormSectionSwitcher extends NgAtomicComponent {
|
|
|
213
204
|
@case ('hidden') { }
|
|
214
205
|
}
|
|
215
206
|
}
|
|
216
|
-
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "pipe", type: DomainPipe, name: "domain" }, { kind: "component", type: DateInputSectionOrganism, selector: "organisms-date-input-section" }, { kind: "component", type: DateRangeInputSectionOrganism, selector: "organisms-date-range-input-section" }], changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
207
|
+
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "pipe", type: DomainPipe, name: "domain" }, { kind: "component", type: DateInputSectionOrganism, selector: "organisms-date-input-section" }, { kind: "component", type: DateRangeInputSectionOrganism, selector: "organisms-date-range-input-section" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [DomainPipe, import('@ng-atomic/components/organisms/select-input-section').then(m => m.SelectInputSectionOrganismStore)], () => [DomainPipe, import('@ng-atomic/components/organisms/text-input-section').then(m => m.TextInputSectionOrganismStore)], () => [DomainPipe, import('@ng-atomic/components/organisms/number-input-section').then(m => m.NumberInputSectionOrganismStore)], () => [DomainPipe, import('@ng-atomic/components/organisms/textarea-section').then(m => m.TextareaSectionOrganismStore)], () => [DomainPipe, import('@ng-atomic/components/organisms/password-input-section').then(m => m.PasswordInputSectionOrganismStore)], () => [import('@ng-atomic/components/organisms/action-buttons-section').then(m => m.ActionButtonsSectionOrganismStore)], () => [DomainPipe,
|
|
208
|
+
FileInputSectionOrganismStore], () => [DomainPipe, import('@ng-atomic/components/organisms/slider-input-section').then(m => m.SliderInputSectionOrganismStore)], () => [import('@ng-atomic/components/organisms/agreement-input-section').then(m => m.AgreementInputSectionOrganism)], () => [import('@ng-atomic/components/organisms/video-section').then(m => m.VideoSectionOrganism)], () => [import('@ng-atomic/components/organisms/image-preview-section').then(m => m.ImagePreviewSectionOrganism)]] }); }
|
|
217
209
|
}
|
|
218
|
-
i0.ɵɵ
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
210
|
+
i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicFormSectionSwitcher, resolveDeferredDeps: () => [import('@ng-atomic/components/organisms/select-input-section').then(m => m.SelectInputSectionOrganismStore), import('@ng-atomic/components/organisms/text-input-section').then(m => m.TextInputSectionOrganismStore), import('@ng-atomic/components/organisms/number-input-section').then(m => m.NumberInputSectionOrganismStore), import('@ng-atomic/components/organisms/textarea-section').then(m => m.TextareaSectionOrganismStore), import('@ng-atomic/components/organisms/password-input-section').then(m => m.PasswordInputSectionOrganismStore), import('@ng-atomic/components/organisms/action-buttons-section').then(m => m.ActionButtonsSectionOrganismStore), import('@ng-atomic/components/organisms/slider-input-section').then(m => m.SliderInputSectionOrganismStore), import('@ng-atomic/components/organisms/agreement-input-section').then(m => m.AgreementInputSectionOrganism), import('@ng-atomic/components/organisms/video-section').then(m => m.VideoSectionOrganism), import('@ng-atomic/components/organisms/image-preview-section').then(m => m.ImagePreviewSectionOrganism)], resolveMetadata: (SelectInputSectionOrganismStore, TextInputSectionOrganismStore, NumberInputSectionOrganismStore, TextareaSectionOrganismStore, PasswordInputSectionOrganismStore, ActionButtonsSectionOrganismStore, SliderInputSectionOrganismStore, AgreementInputSectionOrganism, VideoSectionOrganism, ImagePreviewSectionOrganism) => ({ decorators: [{
|
|
211
|
+
type: Component,
|
|
212
|
+
args: [{ selector: 'ng-atomic-form-section-switcher', standalone: true, imports: [
|
|
213
|
+
DomainPipe,
|
|
214
|
+
ActionButtonsSectionOrganismStore,
|
|
215
|
+
AgreementInputSectionOrganism,
|
|
216
|
+
ActionInputSectionOrganismStore,
|
|
217
|
+
FileInputSectionOrganismStore,
|
|
218
|
+
DateInputSectionOrganism,
|
|
219
|
+
DateRangeInputSectionOrganism,
|
|
220
|
+
TextInputSectionOrganismStore,
|
|
221
|
+
NumberInputSectionOrganismStore,
|
|
222
|
+
TextareaSectionOrganismStore,
|
|
223
|
+
SelectInputSectionOrganismStore,
|
|
224
|
+
SliderInputSectionOrganismStore,
|
|
225
|
+
VideoSectionOrganism,
|
|
226
|
+
ImagePreviewSectionOrganism,
|
|
227
|
+
PasswordInputSectionOrganismStore,
|
|
228
|
+
], template: `
|
|
237
229
|
@if (field(); as field) {
|
|
238
230
|
@switch (field.type) {
|
|
239
231
|
@case ('select') {
|
|
@@ -377,7 +369,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
377
369
|
}
|
|
378
370
|
}
|
|
379
371
|
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:contents}\n"] }]
|
|
380
|
-
|
|
372
|
+
}], ctorParameters: null, propDecorators: null }) });
|
|
381
373
|
class NgAtomicFormSectionBuilder extends NgAtomicComponent {
|
|
382
374
|
constructor() {
|
|
383
375
|
super(...arguments);
|
|
@@ -403,8 +395,8 @@ class NgAtomicFormSectionBuilder extends NgAtomicComponent {
|
|
|
403
395
|
});
|
|
404
396
|
}
|
|
405
397
|
static { this.ActionId = ActionId$1; }
|
|
406
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
407
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
398
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicFormSectionBuilder, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
399
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: NgAtomicFormSectionBuilder, isStandalone: true, selector: "ng-atomic-form-section-builder", inputs: { form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: true, transformFunction: null }, formFlatExcludes: { classPropertyName: "formFlatExcludes", publicName: "formFlatExcludes", isSignal: true, isRequired: false, transformFunction: null }, fieldMap: { classPropertyName: "fieldMap", publicName: "fieldMap", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
408
400
|
@for (entry of controlEntries(); track entry.name;) {
|
|
409
401
|
<ng-atomic-form-section-switcher
|
|
410
402
|
[name]="entry.name"
|
|
@@ -415,7 +407,7 @@ class NgAtomicFormSectionBuilder extends NgAtomicComponent {
|
|
|
415
407
|
}
|
|
416
408
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "component", type: NgAtomicFormSectionSwitcher, selector: "ng-atomic-form-section-switcher", inputs: ["name", "control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
417
409
|
}
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicFormSectionBuilder, decorators: [{
|
|
419
411
|
type: Component,
|
|
420
412
|
args: [{ standalone: true, selector: 'ng-atomic-form-section-builder', imports: [
|
|
421
413
|
NgAtomicFormSectionSwitcher,
|
|
@@ -475,10 +467,10 @@ class FormTemplateStore extends InjectableComponent {
|
|
|
475
467
|
FormTemplateStore.Config.provide(),
|
|
476
468
|
];
|
|
477
469
|
}
|
|
478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
479
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
470
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FormTemplateStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
471
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: FormTemplateStore, isStandalone: true, inputs: { navStartActions: { classPropertyName: "navStartActions", publicName: "navStartActions", isSignal: true, isRequired: false, transformFunction: null }, navEndActions: { classPropertyName: "navEndActions", publicName: "navEndActions", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, formFlatExcludes: { classPropertyName: "formFlatExcludes", publicName: "formFlatExcludes", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, fieldMap: { classPropertyName: "fieldMap", publicName: "fieldMap", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
480
472
|
}
|
|
481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FormTemplateStore, decorators: [{
|
|
482
474
|
type: Directive,
|
|
483
475
|
args: [{ standalone: true }]
|
|
484
476
|
}] });
|
|
@@ -495,8 +487,8 @@ class FormTemplate extends NgAtomicComponent {
|
|
|
495
487
|
back() {
|
|
496
488
|
this.dispatch({ id: ActionId.BACK });
|
|
497
489
|
}
|
|
498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
499
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
490
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FormTemplate, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
491
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: FormTemplate, isStandalone: true, selector: "templates-form", host: { classAttribute: "template" }, usesInheritance: true, hostDirectives: [{ directive: FormTemplateStore, inputs: ["navStartActions", "navStartActions", "navEndActions", "navEndActions", "title", "title", "form", "form", "formFlatExcludes", "formFlatExcludes", "actions", "actions", "fieldMap", "fieldMap"] }], ngImport: i0, template: `
|
|
500
492
|
<frames-scroll>
|
|
501
493
|
<organisms-navigator injectable
|
|
502
494
|
[startActions]="store.navStartActions()"
|
|
@@ -519,7 +511,7 @@ class FormTemplate extends NgAtomicComponent {
|
|
|
519
511
|
/>
|
|
520
512
|
</frames-auto-layout>
|
|
521
513
|
</frames-scroll>
|
|
522
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-
|
|
514
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-exiS: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-form-exiS: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-form-exiS: var(--gap);--primary-color: #404040;--primary-color-SCOPED-IN-form-exiS: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-form-exiS: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-form-exiS: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-form-exiS: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-form-exiS: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-form-exiS: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-form-exiS: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-form-exiS);--navigator-background-color-SCOPED-IN-form-exiS: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-form-exiS);--navigator-on-background-color-SCOPED-IN-form-exiS: var(--navigator-on-background-color)}:host{display:block;width:100%;height:100%;background:var(--background-color-SCOPED-IN-form-exiS);color:var(--on-background-color-SCOPED-IN-form-exiS)}:host frames-auto-layout{height:fit-content;--gap: var(--gap-SCOPED-IN-form-exiS);--vertical-padding: var(--vertical-padding-SCOPED-IN-form-exiS)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-form-exiS)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-form-exiS);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-form-exiS)}:host *{--primary-color: var(--primary-color-SCOPED-IN-form-exiS);--on-primary-color: var(--on-primary-color-SCOPED-IN-form-exiS);--surface-color: var(--surface-color-SCOPED-IN-form-exiS);--on-surface-color: var(--on-surface-color-SCOPED-IN-form-exiS);--background-color: var(--background-color-SCOPED-IN-form-exiS);--on-background-color: var(--on-background-color-SCOPED-IN-form-exiS)}\n"], dependencies: [{ kind: "component", type: NgAtomicFormSectionBuilder, selector: "ng-atomic-form-section-builder", inputs: ["form", "formFlatExcludes", "fieldMap"] }, { kind: "directive", type: HeaderMoleculeStore, selector: "molecules-header", inputs: ["title", "description"] }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "directive", type: NavigatorOrganismStore, selector: "organisms-navigator", inputs: ["startActions", "endActions", "title"] }, { kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "directive", type: ActionButtonsSectionOrganismStore, selector: "organisms-action-buttons-section", inputs: ["actions", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
523
515
|
}
|
|
524
516
|
__decorate([
|
|
525
517
|
Effect(NavActionId.BACK),
|
|
@@ -527,7 +519,7 @@ __decorate([
|
|
|
527
519
|
__metadata("design:paramtypes", []),
|
|
528
520
|
__metadata("design:returntype", void 0)
|
|
529
521
|
], FormTemplate.prototype, "back", null);
|
|
530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FormTemplate, decorators: [{
|
|
531
523
|
type: Component,
|
|
532
524
|
args: [{ standalone: true, imports: [
|
|
533
525
|
NgAtomicFormSectionBuilder,
|
|
@@ -572,7 +564,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
572
564
|
'fieldMap',
|
|
573
565
|
],
|
|
574
566
|
},
|
|
575
|
-
], host: { class: 'template' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-
|
|
567
|
+
], host: { class: 'template' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-form-exiS: var(--horizontal-padding);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-form-exiS: var(--vertical-padding);--gap: 16px;--gap-SCOPED-IN-form-exiS: var(--gap);--primary-color: #404040;--primary-color-SCOPED-IN-form-exiS: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-form-exiS: var(--on-primary-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-form-exiS: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-form-exiS: var(--surface-color);--on-surface-color: #000;--on-surface-color-SCOPED-IN-form-exiS: var(--on-surface-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-form-exiS: var(--background-color);--on-background-color: #000;--on-background-color-SCOPED-IN-form-exiS: var(--on-background-color);--navigator-background-color: var(--primary-color-SCOPED-IN-form-exiS);--navigator-background-color-SCOPED-IN-form-exiS: var(--navigator-background-color);--navigator-on-background-color: var(--on-primary-color-SCOPED-IN-form-exiS);--navigator-on-background-color-SCOPED-IN-form-exiS: var(--navigator-on-background-color)}:host{display:block;width:100%;height:100%;background:var(--background-color-SCOPED-IN-form-exiS);color:var(--on-background-color-SCOPED-IN-form-exiS)}:host frames-auto-layout{height:fit-content;--gap: var(--gap-SCOPED-IN-form-exiS);--vertical-padding: var(--vertical-padding-SCOPED-IN-form-exiS)}:host frames-auto-layout *{--horizontal-padding: var(--horizontal-padding-SCOPED-IN-form-exiS)}:host organisms-navigator{--background-color: var(--navigator-background-color-SCOPED-IN-form-exiS);--on-background-color: var(--navigator-on-background-color-SCOPED-IN-form-exiS)}:host *{--primary-color: var(--primary-color-SCOPED-IN-form-exiS);--on-primary-color: var(--on-primary-color-SCOPED-IN-form-exiS);--surface-color: var(--surface-color-SCOPED-IN-form-exiS);--on-surface-color: var(--on-surface-color-SCOPED-IN-form-exiS);--background-color: var(--background-color-SCOPED-IN-form-exiS);--on-background-color: var(--on-background-color-SCOPED-IN-form-exiS)}\n"] }]
|
|
576
568
|
}], propDecorators: { back: [] } });
|
|
577
569
|
|
|
578
570
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-form.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/form/form.builder.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/form/form.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/form/ng-atomic-components-templates-form.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { FormGroup } from '@angular/forms';\nimport { TextareaSectionOrganismStore } from '@ng-atomic/components/organisms/textarea-section';\nimport { TextInputSectionOrganismStore } from '@ng-atomic/components/organisms/text-input-section';\nimport { DateInputSectionOrganism } from '@ng-atomic/components/organisms/date-input-section';\nimport { SelectInputSectionOrganismStore } from '@ng-atomic/components/organisms/select-input-section';\nimport { FormField, FormFieldMap } from '@ng-atomic/common/pipes/smart-field';\nimport { DomainPipe } from '@ng-atomic/common/pipes/domain';\nimport { AbstractControl } from '@angular/forms';\nimport { _computed, Action } from '@ng-atomic/core';\nimport { ActionInputSectionOrganismStore } from '@ng-atomic/components/organisms/action-input-section';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { FileInputSectionOrganism, FileInputSectionOrganismStore } from '@ng-atomic/components/organisms/file-input-section';\nimport { AgreementInputSectionOrganism } from '@ng-atomic/components/organisms/agreement-input-section';\nimport { VideoSectionOrganism } from '@ng-atomic/components/organisms/video-section';\nimport { NumberInputSectionOrganismStore } from '@ng-atomic/components/organisms/number-input-section';\nimport { ImagePreviewSectionOrganism } from '@ng-atomic/components/organisms/image-preview-section';\nimport { PasswordInputSectionOrganismStore } from '@ng-atomic/components/organisms/password-input-section';\nimport { DateRangeInputSectionOrganism } from '@ng-atomic/components/organisms/date-range-input-section';\nimport { SliderInputSectionOrganismStore } from '@ng-atomic/components/organisms/slider-input-section';\nimport { get } from 'lodash-es';\nimport { ActionButtonsSectionOrganismStore } from '@ng-atomic/components/organisms/action-buttons-section';\n\nfunction walkControls(controls: any, cb: (name: string, control: any) => void, excludes: string[] = [], name = '') {\n Object.entries(controls).forEach(([key, control]: any) => {\n const path = name === '' ? key : `${name}.${key}`;\n if (excludes.includes(path)) {\n cb(path, control);\n } else if (control.controls) {\n walkControls(control.controls, cb, excludes, path);\n } else {\n cb(path, control);\n }\n });\n}\n\nfunction flatControls(form: FormGroup, excludes: string[]): [string, AbstractControl][] {\n const controlMap = new Map<string, AbstractControl>();\n walkControls(form?.controls, (name, control: AbstractControl) => controlMap.set(name, control), [\n ...excludes,\n ]);\n return [...controlMap.entries()];\n}\n\n\nenum ActionId {\n FILE_SELECTED = '[@ng-atomic/components:templates/form/ng-atomic-form-section-switcher] File selected',\n CANCEL = '[@ng-atomic/components:templates/form/ng-atomic-form-section-switcher] Cancel',\n}\n\n@Component({\n selector: 'ng-atomic-form-section-switcher',\n standalone: true,\n imports: [\n DomainPipe,\n ActionButtonsSectionOrganismStore,\n AgreementInputSectionOrganism,\n ActionInputSectionOrganismStore,\n FileInputSectionOrganismStore,\n DateInputSectionOrganism,\n DateRangeInputSectionOrganism,\n TextInputSectionOrganismStore,\n NumberInputSectionOrganismStore,\n TextareaSectionOrganismStore,\n SelectInputSectionOrganismStore,\n SliderInputSectionOrganismStore,\n VideoSectionOrganism,\n ImagePreviewSectionOrganism,\n PasswordInputSectionOrganismStore,\n ],\n template: `\n @if (field(); as field) {\n @switch (field.type) {\n @case ('select') {\n @defer {\n <organisms-select-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [hint]=\"field.hint\"\n [options]=\"field.options\"\n [placeholder]=\"field.placeholder\"\n [actions]=\"field.actions\"\n [multiple]=\"field?.multiple\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('date') {\n <organisms-date-input-section\n [label]=\"name() | domain\"\n [hint]=\"field.hint\"\n [control]=\"control()\"\n [actions]=\"field.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('date-range') {\n <organisms-date-range-input-section\n [label]=\"name() | domain\"\n [hint]=\"field.hint\"\n [control]=\"control()\"\n [actions]=\"field.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('text') {\n @defer {\n <organisms-text-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [actions]=\"field.actions\"\n [hint]=\"field.hint\"\n [placeholder]=\"field.placeholder\"\n [autoComplete]=\"field.autoComplete\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('number') {\n @defer {\n <organisms-number-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [actions]=\"field.actions\"\n [hint]=\"field.hint\"\n [placeholder]=\"field.placeholder\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('textarea') {\n @defer {\n <organisms-textarea-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [hint]=\"field.hint\"\n [rows]=\"field.rows\"\n [placeholder]=\"field.placeholder\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('password') {\n @defer {\n <organisms-password-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [hint]=\"field.hint\"\n [placeholder]=\"field.placeholder\"\n [actions]=\"field.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('action') {\n @defer {\n <organisms-action-buttons-section\n [actions]=\"field?.actions\"\n [type]=\"field?.buttonType\"\n (action)=\"dispatch($event)\"\n injectable\n />\n }\n }\n @case ('file') {\n @defer {\n <organisms-file-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [hint]=\"field.hint\"\n [progress]=\"field?.progress\"\n (action)=\"dispatchFileInputAction($event, name())\"\n />\n }\n }\n @case ('slider') {\n @defer {\n <organisms-slider-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [max]=\"field?.slider?.max\"\n [min]=\"field?.slider?.min\"\n [step]=\"field?.slider?.step\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('agreement') {\n @defer {\n <organisms-agreement-input-section injectable\n [control]=\"control()\"\n [labelTemp]=\"field?.labelTemp\"\n />\n }\n }\n @case ('preview') {\n @defer {\n <organisms-video-section injectable\n [src]=\"control().value\"\n [autoplay]=\"false\"\n />\n }\n }\n @case ('preview:image') {\n @defer {\n <organisms-image-preview-section\n [src]=\"control().value\"\n />\n }\n }\n @case ('hidden') { }\n }\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styles: [`:host { display: contents; }`]\n})\nexport class NgAtomicFormSectionSwitcher extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n readonly name = input.required<string>();\n readonly control = input.required<AbstractControl>();\n readonly field = input.required<FormFieldMap | FormField>();\n\n protected dispatchFileInputAction(action: Action, name: string) {\n switch (action.id) {\n case FileInputSectionOrganism.ActionId.FILE_SELECTED: {\n return this.dispatch({id: ActionId.FILE_SELECTED, payload: {scope: name, files: action.payload}});\n }\n case FileInputSectionOrganism.ActionId.CANCEL: {\n return this.dispatch({id: ActionId.CANCEL, payload: {scope: name}});\n }\n }\n }\n}\n\n@Component({\n standalone: true,\n selector: 'ng-atomic-form-section-builder',\n imports: [\n NgAtomicFormSectionSwitcher,\n ],\n template: `\n @for (entry of controlEntries(); track entry.name;) {\n <ng-atomic-form-section-switcher\n [name]=\"entry.name\"\n [control]=\"entry.control\"\n [field]=\"entry.field\"\n (action)=\"dispatch($event)\"\n />\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styles: `:host { display: contents; }`,\n})\nexport class NgAtomicFormSectionBuilder extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n\n readonly form = input.required<FormGroup>();\n readonly formFlatExcludes = input<string[]>([]);\n readonly fieldMap = input.required<FormFieldMap>();\n\n readonly controlEntries = computed(() => {\n function _get(fieldMap: FormFieldMap, name: string) {\n if (get(fieldMap, name)) return get(fieldMap, name);\n for (const key of Object.keys(fieldMap ?? {})) {\n const regex = new RegExp(`^${key.replace(/\\./g, '\\\\.')}(\\\\..+)?$`);\n if (regex.test(name)) return get(fieldMap, key);\n }\n return undefined;\n }\n\n return flatControls(this.form(), this.formFlatExcludes()).map(([name, control]) => ({\n name,\n control,\n field: _get(this.fieldMap(), name) ?? {type: 'text'},\n }));\n });\n}\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, inject, input } from '@angular/core';\nimport { FormBuilder } from '@angular/forms';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll-v2';\nimport { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';\nimport { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';\nimport { ActionButtonsSectionOrganismStore } from '@ng-atomic/components/organisms/action-buttons-section';\nimport { NavigatorOrganismStore } from '@ng-atomic/components/organisms/navigator';\nimport { FormFieldMap } from '@ng-atomic/common/pipes/smart-field';\nimport { Action, Effect, InjectableComponent, _computed, provideComponent } from '@ng-atomic/core';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { NavActionId, injectIsRootPage, injectNavStartActions, makeConfig } from '@ng-atomic/common/services/ui';\nimport { NgAtomicFormSectionBuilder } from './form.builder';\n\nenum ActionId {\n BACK = '[@ng-atomic/components/templates/form] Back',\n CREATE = '[@ng-atomic/components/templates/form] Create',\n UPDATE = '[@ng-atomic/components/templates/form] Update',\n DELETE = '[@ng-atomic/components/templates/form] Delete',\n FILE_SELECTED = '[@ng-atomic/components/templates/form] File selected',\n CANCEL = '[@ng-atomic/components/templates/form] Cancel',\n}\n\n@Directive({ standalone: true })\nexport class FormTemplateStore extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n const isRootPage = injectIsRootPage();\n const navStartActions = injectNavStartActions(isRootPage);\n return () => ({\n navStartActions: navStartActions(),\n navEndActions: <Action[]>[{id: ActionId.DELETE, name: '削除', icon: 'delete'}],\n title: '',\n form: inject(FormBuilder).group({id: ['']}),\n formFlatExcludes: <string[]>[],\n actions: <Action[]>[{id: ActionId.CREATE, name: '作成'}],\n fieldMap: <FormFieldMap>{\n createdAt: { type: 'date' },\n updatedAt: { type: 'date' },\n deletedAt: { type: 'date' },\n },\n });\n }, ['components', 'templates', 'form']);\n static provideDefault() {\n return [\n FormTemplateStore.Config.provide(),\n ];\n }\n\n readonly config = FormTemplateStore.Config.inject();\n readonly navStartActions = input(_computed(() => this.config().navStartActions));\n readonly navEndActions = input(_computed(() => this.config().navEndActions));\n readonly title = input(_computed(() => this.config().title));\n readonly form = input(_computed(() => this.config().form));\n readonly formFlatExcludes = input(_computed(() => this.config().formFlatExcludes));\n readonly actions = input(_computed(() => this.config().actions));\n readonly fieldMap = input(_computed(() => this.config().fieldMap));\n}\n\n@Component({\n standalone: true,\n imports: [\n NgAtomicFormSectionBuilder,\n HeaderMoleculeStore,\n ScrollFrame,\n NavigatorOrganismStore,\n AutoLayoutFrame,\n ActionButtonsSectionOrganismStore,\n ],\n selector: 'templates-form',\n template: `\n <frames-scroll>\n <organisms-navigator injectable\n [startActions]=\"store.navStartActions()\"\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n top\n >\n <molecules-header injectable [title]=\"store.title()\" [description]=\"''\"/>\n </organisms-navigator>\n <frames-auto-layout vertical>\n <ng-atomic-form-section-builder\n [form]=\"store.form()\"\n [formFlatExcludes]=\"store.formFlatExcludes()\"\n [fieldMap]=\"store.fieldMap()\"\n (action)=\"dispatch($event)\"\n />\n <organisms-action-buttons-section injectable\n [actions]=\"store.actions()\"\n (action)=\"dispatch($event)\"\n />\n </frames-auto-layout>\n </frames-scroll>\n `,\n styleUrls: ['./form.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: FormTemplateStore,\n inputs: [\n 'navStartActions',\n 'navEndActions',\n 'title',\n 'form',\n 'formFlatExcludes',\n 'actions',\n 'fieldMap',\n ],\n },\n ],\n host: {class: 'template'}\n})\nexport class FormTemplate extends NgAtomicComponent {\n static ActionId = ActionId;\n protected readonly store = inject(FormTemplateStore);\n protected readonly cd = inject(ChangeDetectorRef);\n\n ngOnInit(): void {\n this.store.form().statusChanges.subscribe(() => this.cd.markForCheck());\n }\n\n @Effect(NavActionId.BACK)\n protected back() {\n this.dispatch({id: ActionId.BACK});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ActionId"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,SAAS,YAAY,CAAC,QAAa,EAAE,EAAwC,EAAE,QAAA,GAAqB,EAAE,EAAE,IAAI,GAAG,EAAE,EAAA;AAC/G,IAAA,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,OAAO,CAAM,KAAI;AACvD,QAAA,MAAM,IAAI,GAAG,IAAI,KAAK,EAAE,GAAG,GAAG,GAAG,CAAA,EAAG,IAAI,CAAI,CAAA,EAAA,GAAG,EAAE,CAAC;AAClD,QAAA,IAAI,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;AAC3B,YAAA,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AACnB,SAAA;aAAM,IAAI,OAAO,CAAC,QAAQ,EAAE;YAC3B,YAAY,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;AACpD,SAAA;AAAM,aAAA;AACL,YAAA,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CA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AA,EAAA;;AAuDzB,UAAA,CAAA;AADT,IAAA,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC;;;;AAGxB,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,MAAA,EAAA,IAAA,CAAA,CAAA;2FAZU,YAAY,EAAA,UAAA,EAAA,CAAA;kBArDxB,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACP,OAAA,EAAA;wBACP,0BAA0B;wBAC1B,mBAAmB;wBACnB,WAAW;wBACX,sBAAsB;wBACtB,eAAe;wBACf,iCAAiC;AAClC,qBAAA,EAAA,QAAA,EACS,gBAAgB,EAChB,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,iBAAiB;AAC5B,4BAAA,MAAM,EAAE;gCACN,iBAAiB;gCACjB,eAAe;gCACf,OAAO;gCACP,MAAM;gCACN,kBAAkB;gCAClB,SAAS;gCACT,UAAU;AACX,6BAAA;AACF,yBAAA;AACF,qBAAA,EAAA,IAAA,EACK,EAAC,KAAK,EAAE,UAAU,EAAC,EAAA,MAAA,EAAA,CAAA,8nEAAA,CAAA,EAAA,CAAA;8BAYf,IAAI,EAAA,EAAA,EAAA,EAAA,CAAA;;ACzHhB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-form.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/form/form.builder.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/form/form.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/form/ng-atomic-components-templates-form.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { FormGroup } from '@angular/forms';\nimport { TextareaSectionOrganismStore } from '@ng-atomic/components/organisms/textarea-section';\nimport { TextInputSectionOrganismStore } from '@ng-atomic/components/organisms/text-input-section';\nimport { DateInputSectionOrganism } from '@ng-atomic/components/organisms/date-input-section';\nimport { SelectInputSectionOrganismStore } from '@ng-atomic/components/organisms/select-input-section';\nimport { FormField, FormFieldMap } from '@ng-atomic/common/pipes/smart-field';\nimport { DomainPipe } from '@ng-atomic/common/pipes/domain';\nimport { AbstractControl } from '@angular/forms';\nimport { _computed, Action } from '@ng-atomic/core';\nimport { ActionInputSectionOrganismStore } from '@ng-atomic/components/organisms/action-input-section';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { FileInputSectionOrganism, FileInputSectionOrganismStore } from '@ng-atomic/components/organisms/file-input-section';\nimport { AgreementInputSectionOrganism } from '@ng-atomic/components/organisms/agreement-input-section';\nimport { VideoSectionOrganism } from '@ng-atomic/components/organisms/video-section';\nimport { NumberInputSectionOrganismStore } from '@ng-atomic/components/organisms/number-input-section';\nimport { ImagePreviewSectionOrganism } from '@ng-atomic/components/organisms/image-preview-section';\nimport { PasswordInputSectionOrganismStore } from '@ng-atomic/components/organisms/password-input-section';\nimport { DateRangeInputSectionOrganism } from '@ng-atomic/components/organisms/date-range-input-section';\nimport { SliderInputSectionOrganismStore } from '@ng-atomic/components/organisms/slider-input-section';\nimport { get } from 'lodash-es';\nimport { ActionButtonsSectionOrganismStore } from '@ng-atomic/components/organisms/action-buttons-section';\n\nfunction walkControls(controls: any, cb: (name: string, control: any) => void, excludes: string[] = [], name = '') {\n Object.entries(controls).forEach(([key, control]: any) => {\n const path = name === '' ? key : `${name}.${key}`;\n if (excludes.includes(path)) {\n cb(path, control);\n } else if (control.controls) {\n walkControls(control.controls, cb, excludes, path);\n } else {\n cb(path, control);\n }\n });\n}\n\nfunction flatControls(form: FormGroup, excludes: string[]): [string, AbstractControl][] {\n const controlMap = new Map<string, AbstractControl>();\n walkControls(form?.controls, (name, control: AbstractControl) => controlMap.set(name, control), [\n ...excludes,\n ]);\n return [...controlMap.entries()];\n}\n\n\nenum ActionId {\n FILE_SELECTED = '[@ng-atomic/components:templates/form/ng-atomic-form-section-switcher] File selected',\n CANCEL = '[@ng-atomic/components:templates/form/ng-atomic-form-section-switcher] Cancel',\n}\n\n@Component({\n selector: 'ng-atomic-form-section-switcher',\n standalone: true,\n imports: [\n DomainPipe,\n ActionButtonsSectionOrganismStore,\n AgreementInputSectionOrganism,\n ActionInputSectionOrganismStore,\n FileInputSectionOrganismStore,\n DateInputSectionOrganism,\n DateRangeInputSectionOrganism,\n TextInputSectionOrganismStore,\n NumberInputSectionOrganismStore,\n TextareaSectionOrganismStore,\n SelectInputSectionOrganismStore,\n SliderInputSectionOrganismStore,\n VideoSectionOrganism,\n ImagePreviewSectionOrganism,\n PasswordInputSectionOrganismStore,\n ],\n template: `\n @if (field(); as field) {\n @switch (field.type) {\n @case ('select') {\n @defer {\n <organisms-select-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [hint]=\"field.hint\"\n [options]=\"field.options\"\n [placeholder]=\"field.placeholder\"\n [actions]=\"field.actions\"\n [multiple]=\"field?.multiple\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('date') {\n <organisms-date-input-section\n [label]=\"name() | domain\"\n [hint]=\"field.hint\"\n [control]=\"control()\"\n [actions]=\"field.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('date-range') {\n <organisms-date-range-input-section\n [label]=\"name() | domain\"\n [hint]=\"field.hint\"\n [control]=\"control()\"\n [actions]=\"field.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('text') {\n @defer {\n <organisms-text-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [actions]=\"field.actions\"\n [hint]=\"field.hint\"\n [placeholder]=\"field.placeholder\"\n [autoComplete]=\"field.autoComplete\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('number') {\n @defer {\n <organisms-number-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [actions]=\"field.actions\"\n [hint]=\"field.hint\"\n [placeholder]=\"field.placeholder\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('textarea') {\n @defer {\n <organisms-textarea-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [hint]=\"field.hint\"\n [rows]=\"field.rows\"\n [placeholder]=\"field.placeholder\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('password') {\n @defer {\n <organisms-password-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [hint]=\"field.hint\"\n [placeholder]=\"field.placeholder\"\n [actions]=\"field.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('action') {\n @defer {\n <organisms-action-buttons-section\n [actions]=\"field?.actions\"\n [type]=\"field?.buttonType\"\n (action)=\"dispatch($event)\"\n injectable\n />\n }\n }\n @case ('file') {\n @defer {\n <organisms-file-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [hint]=\"field.hint\"\n [progress]=\"field?.progress\"\n (action)=\"dispatchFileInputAction($event, name())\"\n />\n }\n }\n @case ('slider') {\n @defer {\n <organisms-slider-input-section injectable\n [label]=\"name() | domain\"\n [control]=\"control()\"\n [max]=\"field?.slider?.max\"\n [min]=\"field?.slider?.min\"\n [step]=\"field?.slider?.step\"\n (action)=\"dispatch($event)\"\n />\n }\n }\n @case ('agreement') {\n @defer {\n <organisms-agreement-input-section injectable\n [control]=\"control()\"\n [labelTemp]=\"field?.labelTemp\"\n />\n }\n }\n @case ('preview') {\n @defer {\n <organisms-video-section injectable\n [src]=\"control().value\"\n [autoplay]=\"false\"\n />\n }\n }\n @case ('preview:image') {\n @defer {\n <organisms-image-preview-section\n [src]=\"control().value\"\n />\n }\n }\n @case ('hidden') { }\n }\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styles: [`:host { display: contents; }`]\n})\nexport class NgAtomicFormSectionSwitcher extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n readonly name = input.required<string>();\n readonly control = input.required<AbstractControl>();\n readonly field = input.required<FormFieldMap | FormField>();\n\n protected dispatchFileInputAction(action: Action, name: string) {\n switch (action.id) {\n case FileInputSectionOrganism.ActionId.FILE_SELECTED: {\n return this.dispatch({id: ActionId.FILE_SELECTED, payload: {scope: name, files: action.payload}});\n }\n case FileInputSectionOrganism.ActionId.CANCEL: {\n return this.dispatch({id: ActionId.CANCEL, payload: {scope: name}});\n }\n }\n }\n}\n\n@Component({\n standalone: true,\n selector: 'ng-atomic-form-section-builder',\n imports: [\n NgAtomicFormSectionSwitcher,\n ],\n template: `\n @for (entry of controlEntries(); track entry.name;) {\n <ng-atomic-form-section-switcher\n [name]=\"entry.name\"\n [control]=\"entry.control\"\n [field]=\"entry.field\"\n (action)=\"dispatch($event)\"\n />\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styles: `:host { display: contents; }`,\n})\nexport class NgAtomicFormSectionBuilder extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n\n readonly form = input.required<FormGroup>();\n readonly formFlatExcludes = input<string[]>([]);\n readonly fieldMap = input.required<FormFieldMap>();\n\n readonly controlEntries = computed(() => {\n function _get(fieldMap: FormFieldMap, name: string) {\n if (get(fieldMap, name)) return get(fieldMap, name);\n for (const key of Object.keys(fieldMap ?? {})) {\n const regex = new RegExp(`^${key.replace(/\\./g, '\\\\.')}(\\\\..+)?$`);\n if (regex.test(name)) return get(fieldMap, key);\n }\n return undefined;\n }\n\n return flatControls(this.form(), this.formFlatExcludes()).map(([name, control]) => ({\n name,\n control,\n field: _get(this.fieldMap(), name) ?? {type: 'text'},\n }));\n });\n}\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, inject, input, OnInit } from '@angular/core';\nimport { FormBuilder } from '@angular/forms';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll-v2';\nimport { AutoLayoutFrame } from '@ng-atomic/components/frames/auto-layout';\nimport { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';\nimport { ActionButtonsSectionOrganismStore } from '@ng-atomic/components/organisms/action-buttons-section';\nimport { NavigatorOrganismStore } from '@ng-atomic/components/organisms/navigator';\nimport { FormFieldMap } from '@ng-atomic/common/pipes/smart-field';\nimport { Action, Effect, InjectableComponent, _computed, provideComponent } from '@ng-atomic/core';\nimport { NgAtomicComponent } from '@ng-atomic/core';\nimport { NavActionId, injectIsRootPage, injectNavStartActions, makeConfig } from '@ng-atomic/common/services/ui';\nimport { NgAtomicFormSectionBuilder } from './form.builder';\n\nenum ActionId {\n BACK = '[@ng-atomic/components/templates/form] Back',\n CREATE = '[@ng-atomic/components/templates/form] Create',\n UPDATE = '[@ng-atomic/components/templates/form] Update',\n DELETE = '[@ng-atomic/components/templates/form] Delete',\n FILE_SELECTED = '[@ng-atomic/components/templates/form] File selected',\n CANCEL = '[@ng-atomic/components/templates/form] Cancel',\n}\n\n@Directive({ standalone: true })\nexport class FormTemplateStore extends InjectableComponent {\n static readonly ActionId = ActionId;\n static readonly Config = makeConfig(() => {\n const isRootPage = injectIsRootPage();\n const navStartActions = injectNavStartActions(isRootPage);\n return () => ({\n navStartActions: navStartActions(),\n navEndActions: <Action[]>[{id: ActionId.DELETE, name: '削除', icon: 'delete'}],\n title: '',\n form: inject(FormBuilder).group({id: ['']}),\n formFlatExcludes: <string[]>[],\n actions: <Action[]>[{id: ActionId.CREATE, name: '作成'}],\n fieldMap: <FormFieldMap>{\n createdAt: { type: 'date' },\n updatedAt: { type: 'date' },\n deletedAt: { type: 'date' },\n },\n });\n }, ['components', 'templates', 'form']);\n static provideDefault() {\n return [\n FormTemplateStore.Config.provide(),\n ];\n }\n\n readonly config = FormTemplateStore.Config.inject();\n readonly navStartActions = input(_computed(() => this.config().navStartActions));\n readonly navEndActions = input(_computed(() => this.config().navEndActions));\n readonly title = input(_computed(() => this.config().title));\n readonly form = input(_computed(() => this.config().form));\n readonly formFlatExcludes = input(_computed(() => this.config().formFlatExcludes));\n readonly actions = input(_computed(() => this.config().actions));\n readonly fieldMap = input(_computed(() => this.config().fieldMap));\n}\n\n@Component({\n standalone: true,\n imports: [\n NgAtomicFormSectionBuilder,\n HeaderMoleculeStore,\n ScrollFrame,\n NavigatorOrganismStore,\n AutoLayoutFrame,\n ActionButtonsSectionOrganismStore,\n ],\n selector: 'templates-form',\n template: `\n <frames-scroll>\n <organisms-navigator injectable\n [startActions]=\"store.navStartActions()\"\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n top\n >\n <molecules-header injectable [title]=\"store.title()\" [description]=\"''\"/>\n </organisms-navigator>\n <frames-auto-layout vertical>\n <ng-atomic-form-section-builder\n [form]=\"store.form()\"\n [formFlatExcludes]=\"store.formFlatExcludes()\"\n [fieldMap]=\"store.fieldMap()\"\n (action)=\"dispatch($event)\"\n />\n <organisms-action-buttons-section injectable\n [actions]=\"store.actions()\"\n (action)=\"dispatch($event)\"\n />\n </frames-auto-layout>\n </frames-scroll>\n `,\n styleUrls: ['./form.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: FormTemplateStore,\n inputs: [\n 'navStartActions',\n 'navEndActions',\n 'title',\n 'form',\n 'formFlatExcludes',\n 'actions',\n 'fieldMap',\n ],\n },\n ],\n host: {class: 'template'}\n})\nexport class FormTemplate extends NgAtomicComponent implements OnInit {\n static ActionId = ActionId;\n protected readonly store = inject(FormTemplateStore);\n protected readonly cd = inject(ChangeDetectorRef);\n\n ngOnInit(): void {\n this.store.form().statusChanges.subscribe(() => this.cd.markForCheck());\n }\n\n @Effect(NavActionId.BACK)\n protected back() {\n this.dispatch({id: ActionId.BACK});\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ActionId"],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,SAAS,YAAY,CAAC,QAAa,EAAE,EAAwC,EAAE,QAAA,GAAqB,EAAE,EAAE,IAAI,GAAG,EAAE,EAAA;AAC/G,IAAA,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,OAAO,CAAM,KAAI;AAC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EAAA,IAAI,EACP,OAAA,EAAA;wBACP,0BAA0B;wBAC1B,mBAAmB;wBACnB,WAAW;wBACX,sBAAsB;wBACtB,eAAe;wBACf,iCAAiC;AAClC,qBAAA,EAAA,QAAA,EACS,gBAAgB,EAChB,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,iBAAiB;AAC5B,4BAAA,MAAM,EAAE;gCACN,iBAAiB;gCACjB,eAAe;gCACf,OAAO;gCACP,MAAM;gCACN,kBAAkB;gCAClB,SAAS;gCACT,UAAU;AACX,6BAAA;AACF,yBAAA;AACF,qBAAA,EAAA,IAAA,EACK,EAAC,KAAK,EAAE,UAAU,EAAC,EAAA,MAAA,EAAA,CAAA,smEAAA,CAAA,EAAA,CAAA;8BAYf,IAAI,EAAA,EAAA,EAAA,EAAA,CAAA;;ACzHhB;;AAEG;;;;"}
|
|
@@ -12,13 +12,13 @@ let IconButtonMenuTemplateStore = class IconButtonMenuTemplateStore extends Inje
|
|
|
12
12
|
super(...arguments);
|
|
13
13
|
this.actions = input([]);
|
|
14
14
|
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: IconButtonMenuTemplateStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
16
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: IconButtonMenuTemplateStore, isStandalone: true, selector: "templates-icon-button-menu", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
17
17
|
};
|
|
18
18
|
IconButtonMenuTemplateStore = __decorate([
|
|
19
19
|
TokenizedType()
|
|
20
20
|
], IconButtonMenuTemplateStore);
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: IconButtonMenuTemplateStore, decorators: [{
|
|
22
22
|
type: Directive,
|
|
23
23
|
args: [{ standalone: true, selector: 'templates-icon-button-menu' }]
|
|
24
24
|
}] });
|
|
@@ -27,16 +27,16 @@ class IconButtonMenuTemplate extends NgAtomicComponent {
|
|
|
27
27
|
super(...arguments);
|
|
28
28
|
this.store = inject(IconButtonMenuTemplateStore);
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: IconButtonMenuTemplate, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: IconButtonMenuTemplate, isStandalone: true, selector: "templates-icon-button-menu", usesInheritance: true, hostDirectives: [{ directive: IconButtonMenuTemplateStore, inputs: ["actions", "actions"] }], ngImport: i0, template: `
|
|
32
32
|
@for (action of store.actions(); track action.id) {
|
|
33
33
|
<button mat-icon-button color="basic" (click)="dispatch(action)">
|
|
34
34
|
<mat-icon>{{ action.icon }}</mat-icon>
|
|
35
35
|
</button>
|
|
36
36
|
}
|
|
37
|
-
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--primary-color: #404040;--primary-color-SCOPED-IN-icon-button-menu-
|
|
37
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--primary-color: #404040;--primary-color-SCOPED-IN-icon-button-menu-Jqi5: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-icon-button-menu-Jqi5: var(--on-primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-icon-button-menu-Jqi5: var(--secondary-color);--background-color: #000000;--background-color-SCOPED-IN-icon-button-menu-Jqi5: var(--background-color);--on-background-color: #ffffff;--on-background-color-SCOPED-IN-icon-button-menu-Jqi5: var(--on-background-color);--mdc-icon-button-icon-color: #FEFEFE;--mdc-icon-button-icon-color-SCOPED-IN-icon-button-menu-Jqi5: var(--mdc-icon-button-icon-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-icon-button-menu-Jqi5);color:var(--on-background-color-SCOPED-IN-icon-button-menu-Jqi5)}:host button{--mat-icon-color: var(--on-primary-color-SCOPED-IN-icon-button-menu-Jqi5)}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: IconButtonMenuTemplate, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
41
|
args: [{ selector: 'templates-icon-button-menu', standalone: true, imports: [
|
|
42
42
|
MatButtonModule,
|
|
@@ -52,7 +52,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
52
52
|
directive: IconButtonMenuTemplateStore,
|
|
53
53
|
inputs: ['actions'],
|
|
54
54
|
},
|
|
55
|
-
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--primary-color: #404040;--primary-color-SCOPED-IN-icon-button-menu-
|
|
55
|
+
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--primary-color: #404040;--primary-color-SCOPED-IN-icon-button-menu-Jqi5: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-icon-button-menu-Jqi5: var(--on-primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-icon-button-menu-Jqi5: var(--secondary-color);--background-color: #000000;--background-color-SCOPED-IN-icon-button-menu-Jqi5: var(--background-color);--on-background-color: #ffffff;--on-background-color-SCOPED-IN-icon-button-menu-Jqi5: var(--on-background-color);--mdc-icon-button-icon-color: #FEFEFE;--mdc-icon-button-icon-color-SCOPED-IN-icon-button-menu-Jqi5: var(--mdc-icon-button-icon-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-icon-button-menu-Jqi5);color:var(--on-background-color-SCOPED-IN-icon-button-menu-Jqi5)}:host button{--mat-icon-color: var(--on-primary-color-SCOPED-IN-icon-button-menu-Jqi5)}\n"] }]
|
|
56
56
|
}] });
|
|
57
57
|
|
|
58
58
|
/**
|
|
@@ -5,10 +5,10 @@ import * as i1 from '@angular/material/progress-spinner';
|
|
|
5
5
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
6
6
|
|
|
7
7
|
class LoadingTemplate {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: LoadingTemplate, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: LoadingTemplate, isStandalone: true, selector: "templates-loading", ngImport: i0, template: "<mat-spinner></mat-spinner>\n", styles: [":host{display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:#0006}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: LoadingTemplate, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'templates-loading', standalone: true, imports: [
|
|
14
14
|
CommonModule,
|
|
@@ -12,13 +12,13 @@ let MenuTemplateStore = class MenuTemplateStore extends InjectableComponent {
|
|
|
12
12
|
this.actions = input([]);
|
|
13
13
|
this.title = input();
|
|
14
14
|
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuTemplateStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
16
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: MenuTemplateStore, isStandalone: true, selector: "templates-menu", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
17
17
|
};
|
|
18
18
|
MenuTemplateStore = __decorate([
|
|
19
19
|
TokenizedType()
|
|
20
20
|
], MenuTemplateStore);
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuTemplateStore, decorators: [{
|
|
22
22
|
type: Directive,
|
|
23
23
|
args: [{ standalone: true, selector: 'templates-menu' }]
|
|
24
24
|
}] });
|
|
@@ -27,8 +27,8 @@ class MenuTemplate extends NgAtomicComponent {
|
|
|
27
27
|
super(...arguments);
|
|
28
28
|
this.store = inject(MenuTemplateStore);
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuTemplate, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: MenuTemplate, isStandalone: true, selector: "templates-menu", usesInheritance: true, hostDirectives: [{ directive: MenuTemplateStore, inputs: ["actions", "actions", "title", "title"] }], ngImport: i0, template: `
|
|
32
32
|
<div class="top">
|
|
33
33
|
<organisms-menu-header [title]="store.title()" injectable/>
|
|
34
34
|
<organisms-navigation-list injectable
|
|
@@ -37,9 +37,9 @@ class MenuTemplate extends NgAtomicComponent {
|
|
|
37
37
|
/>
|
|
38
38
|
</div>
|
|
39
39
|
<organisms-menu-footer injectable/>
|
|
40
|
-
`, isInline: true, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-menu-
|
|
40
|
+
`, isInline: true, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-menu-4zkR: var(--primary-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-menu-4zkR: var(--background-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-menu-4zkR: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-menu-4zkR: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-menu-4zkR: var(--on-primary-color);--on-background-color: #404040;--on-background-color-SCOPED-IN-menu-4zkR: var(--on-background-color);--on-surface-color: #404040;--on-surface-color-SCOPED-IN-menu-4zkR: var(--on-surface-color);--width: 100%;--width-SCOPED-IN-menu-4zkR: var(--width);--height: 100%;--height-SCOPED-IN-menu-4zkR: var(--height)}:host{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-4zkR);height:var(--height-SCOPED-IN-menu-4zkR);color:var(--on-background-color-SCOPED-IN-menu-4zkR);background-color:var(--background-color-SCOPED-IN-menu-4zkR);transition:background-color .5s ease-in-out,width .5s}:host *{--primary-color: var(--primary-color-SCOPED-IN-menu-4zkR);--background-color: var(--background-color-SCOPED-IN-menu-4zkR);--surface-color: var(--surface-color-SCOPED-IN-menu-4zkR);--on-primary-color: var(--on-primary-color-SCOPED-IN-menu-4zkR);--on-background-color: var(--on-background-color-SCOPED-IN-menu-4zkR);--on-surface-color: var(--on-surface-color-SCOPED-IN-menu-4zkR)}\n"], dependencies: [{ kind: "directive", type: MenuHeaderOrganismStore, selector: "organisms-menu-header", inputs: ["title"] }, { kind: "directive", type: NavigationListOrganismStore, selector: "organisms-navigation-list", inputs: ["actions", "type"] }, { kind: "directive", type: MenuFooterOrganismStore, selector: "organisms-menu-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuTemplate, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ standalone: true, imports: [
|
|
45
45
|
MenuHeaderOrganismStore,
|
|
@@ -59,7 +59,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
59
59
|
directive: MenuTemplateStore,
|
|
60
60
|
inputs: ['actions', 'title'],
|
|
61
61
|
},
|
|
62
|
-
], styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-menu-
|
|
62
|
+
], styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-menu-4zkR: var(--primary-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-menu-4zkR: var(--background-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-menu-4zkR: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-menu-4zkR: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-menu-4zkR: var(--on-primary-color);--on-background-color: #404040;--on-background-color-SCOPED-IN-menu-4zkR: var(--on-background-color);--on-surface-color: #404040;--on-surface-color-SCOPED-IN-menu-4zkR: var(--on-surface-color);--width: 100%;--width-SCOPED-IN-menu-4zkR: var(--width);--height: 100%;--height-SCOPED-IN-menu-4zkR: var(--height)}:host{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-4zkR);height:var(--height-SCOPED-IN-menu-4zkR);color:var(--on-background-color-SCOPED-IN-menu-4zkR);background-color:var(--background-color-SCOPED-IN-menu-4zkR);transition:background-color .5s ease-in-out,width .5s}:host *{--primary-color: var(--primary-color-SCOPED-IN-menu-4zkR);--background-color: var(--background-color-SCOPED-IN-menu-4zkR);--surface-color: var(--surface-color-SCOPED-IN-menu-4zkR);--on-primary-color: var(--on-primary-color-SCOPED-IN-menu-4zkR);--on-background-color: var(--on-background-color-SCOPED-IN-menu-4zkR);--on-surface-color: var(--on-surface-color-SCOPED-IN-menu-4zkR)}\n"] }]
|
|
63
63
|
}] });
|
|
64
64
|
|
|
65
65
|
/**
|
|
@@ -32,8 +32,8 @@ class MessagesTemplate {
|
|
|
32
32
|
setTimeout(() => this.scrollFrame.scrollToBottom());
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MessagesTemplate, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: MessagesTemplate, isStandalone: true, selector: "templates-messages", inputs: { title: "title", navStartActions: "navStartActions", navEndActions: "navEndActions", messages: "messages", actions: "actions", placeholder: "placeholder", isMessageCreating: "isMessageCreating", form: "form" }, outputs: { action: "action" }, host: { classAttribute: "template" }, viewQueries: [{ propertyName: "scrollFrame", first: true, predicate: ScrollFrame, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
37
37
|
<frames-scroll>
|
|
38
38
|
<organisms-navigator
|
|
39
39
|
[startActions]="navStartActions"
|
|
@@ -61,7 +61,7 @@ class MessagesTemplate {
|
|
|
61
61
|
</frames-scroll>
|
|
62
62
|
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block}:host .message{display:block;height:100%;position:relative}:host .message organisms-textarea-section{position:absolute;overflow:hidden;--vertical-padding: 0px;width:100%;height:80px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: MessagesSectionOrganism, selector: "organisms-messages-section", inputs: ["messages", "isMessageCreating"] }, { kind: "component", type: TextareaSectionOrganism, selector: "organisms-textarea-section" }, { kind: "component", type: ScrollFrame, selector: "frames-scroll" }, { kind: "component", type: NavigatorOrganism, selector: "organisms-navigator" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MessagesTemplate, decorators: [{
|
|
65
65
|
type: Component,
|
|
66
66
|
args: [{ selector: 'templates-messages', standalone: true, imports: [
|
|
67
67
|
CommonModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-messages.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/messages/messages.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/messages/ng-atomic-components-templates-messages.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, SimpleChanges, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MessagesSectionOrganism } from '@ng-atomic/components/organisms/messages-section';\nimport { MessageInputSectionOrganism } from '@ng-atomic/components/organisms/message-input-section';\nimport { TextareaSectionOrganism } from '@ng-atomic/components/organisms/textarea-section';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll-v2';\nimport { NavigatorOrganism } from '@ng-atomic/components/organisms/navigator';\nimport { FormGroup } from '@angular/forms';\nimport { FormControl } from '@angular/forms';\nimport { Action } from '@ng-atomic/core';\n\n\n@Component({\n selector: 'templates-messages',\n standalone: true,\n imports: [\n CommonModule,\n MessagesSectionOrganism,\n MessageInputSectionOrganism,\n TextareaSectionOrganism,\n ScrollFrame,\n NavigatorOrganism,\n ],\n template: `\n <frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"action.emit($event)\"\n top\n >\n <span> {{ title }} </span>\n </organisms-navigator>\n <organisms-messages-section\n [isMessageCreating]=\"isMessageCreating\"\n [messages]=\"messages\"\n contents\n />\n <organisms-textarea-section\n [actions]=\"actions\"\n [control]=\"form.get(['message'])\"\n [rows]=\"3\"\n [floatLabel]=\"'always'\"\n [label]=\"'入力'\"\n [placeholder]=\"placeholder\"\n (action)=\"action.emit($event)\"\n bottom\n />\n </frames-scroll>\n `,\n styleUrls: ['./messages.template.scss'],\n host: { class: 'template' },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessagesTemplate {\n @Input() title = 'title';\n @Input() navStartActions: Action[] = [];\n @Input() navEndActions: Action[] = [];\n @Input() messages: {role: string, content: string}[] = [];\n @Input() actions: Action[] = [];\n @Input() placeholder = 'メッセージを入力';\n @Input() isMessageCreating: false | string = false;\n\n @Input()\n form = new FormGroup({\n name: new FormControl(''),\n description: new FormControl(''),\n message: new FormControl(''),\n });\n\n @Output() action = new EventEmitter<Action>();\n\n @ViewChild(ScrollFrame, {static: true})\n scrollFrame: ScrollFrame;\n\n ngAfterViewInit() {\n this.scrollFrame.scrollToBottom();\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes.messages && this.scrollFrame.isScrollBottom()) {\n setTimeout(() => this.scrollFrame.scrollToBottom());\n }\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAsDa,gBAAgB,CAAA;AA1C7B,IAAA,WAAA,GAAA;QA2CW,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;QAChB,IAAe,CAAA,eAAA,GAAa,EAAE,CAAC;QAC/B,IAAa,CAAA,aAAA,GAAa,EAAE,CAAC;QAC7B,IAAQ,CAAA,QAAA,GAAsC,EAAE,CAAC;QACjD,IAAO,CAAA,OAAA,GAAa,EAAE,CAAC;QACvB,IAAW,CAAA,WAAA,GAAG,UAAU,CAAC;QACzB,IAAiB,CAAA,iBAAA,GAAmB,KAAK,CAAC;QAGnD,IAAI,CAAA,IAAA,GAAG,IAAI,SAAS,CAAC;AACnB,YAAA,IAAI,EAAE,IAAI,WAAW,CAAC,EAAE,CAAC;AACzB,YAAA,WAAW,EAAE,IAAI,WAAW,CAAC,EAAE,CAAC;AAChC,YAAA,OAAO,EAAE,IAAI,WAAW,CAAC,EAAE,CAAC;AAC7B,SAAA,CAAC,CAAC;AAEO,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAU,CAAC;AAe/C,KAAA;IAVC,eAAe,GAAA;AACb,QAAA,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE,CAAC;KACnC;AAED,IAAA,WAAW,CAAC,OAAsB,EAAA;QAChC,IAAI,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE,EAAE;YACzD,UAAU,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-messages.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/messages/messages.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/messages/ng-atomic-components-templates-messages.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, SimpleChanges, ViewChild, AfterViewInit, OnChanges } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MessagesSectionOrganism } from '@ng-atomic/components/organisms/messages-section';\nimport { MessageInputSectionOrganism } from '@ng-atomic/components/organisms/message-input-section';\nimport { TextareaSectionOrganism } from '@ng-atomic/components/organisms/textarea-section';\nimport { ScrollFrame } from '@ng-atomic/components/frames/scroll-v2';\nimport { NavigatorOrganism } from '@ng-atomic/components/organisms/navigator';\nimport { FormGroup } from '@angular/forms';\nimport { FormControl } from '@angular/forms';\nimport { Action } from '@ng-atomic/core';\n\n\n@Component({\n selector: 'templates-messages',\n standalone: true,\n imports: [\n CommonModule,\n MessagesSectionOrganism,\n MessageInputSectionOrganism,\n TextareaSectionOrganism,\n ScrollFrame,\n NavigatorOrganism,\n ],\n template: `\n <frames-scroll>\n <organisms-navigator\n [startActions]=\"navStartActions\"\n [endActions]=\"navEndActions\"\n (action)=\"action.emit($event)\"\n top\n >\n <span> {{ title }} </span>\n </organisms-navigator>\n <organisms-messages-section\n [isMessageCreating]=\"isMessageCreating\"\n [messages]=\"messages\"\n contents\n />\n <organisms-textarea-section\n [actions]=\"actions\"\n [control]=\"form.get(['message'])\"\n [rows]=\"3\"\n [floatLabel]=\"'always'\"\n [label]=\"'入力'\"\n [placeholder]=\"placeholder\"\n (action)=\"action.emit($event)\"\n bottom\n />\n </frames-scroll>\n `,\n styleUrls: ['./messages.template.scss'],\n host: { class: 'template' },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MessagesTemplate implements AfterViewInit, OnChanges {\n @Input() title = 'title';\n @Input() navStartActions: Action[] = [];\n @Input() navEndActions: Action[] = [];\n @Input() messages: {role: string, content: string}[] = [];\n @Input() actions: Action[] = [];\n @Input() placeholder = 'メッセージを入力';\n @Input() isMessageCreating: false | string = false;\n\n @Input()\n form = new FormGroup({\n name: new FormControl(''),\n description: new FormControl(''),\n message: new FormControl(''),\n });\n\n @Output() action = new EventEmitter<Action>();\n\n @ViewChild(ScrollFrame, {static: true})\n scrollFrame: ScrollFrame;\n\n ngAfterViewInit() {\n this.scrollFrame.scrollToBottom();\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes.messages && this.scrollFrame.isScrollBottom()) {\n setTimeout(() => this.scrollFrame.scrollToBottom());\n }\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAsDa,gBAAgB,CAAA;AA1C7B,IAAA,WAAA,GAAA;QA2CW,IAAK,CAAA,KAAA,GAAG,OAAO,CAAC;QAChB,IAAe,CAAA,eAAA,GAAa,EAAE,CAAC;QAC/B,IAAa,CAAA,aAAA,GAAa,EAAE,CAAC;QAC7B,IAAQ,CAAA,QAAA,GAAsC,EAAE,CAAC;QACjD,IAAO,CAAA,OAAA,GAAa,EAAE,CAAC;QACvB,IAAW,CAAA,WAAA,GAAG,UAAU,CAAC;QAC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