@ng-atomic/components 18.2.1 → 18.5.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/atoms.module.d.ts +6 -2
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +9 -8
- package/components.module.d.ts +2 -12
- package/esm2022/atoms/atoms.module.mjs +7 -2
- package/esm2022/atoms/icon/icon.atom.mjs +2 -2
- package/esm2022/atoms/smart-menu-button/smart-menu-button.atom.mjs +92 -124
- package/esm2022/components.module.mjs +20 -41
- package/esm2022/extras/editor/editor.component.mjs +78 -46
- package/esm2022/frames/app/app.frame.mjs +132 -70
- package/esm2022/frames/auto-layout/auto-layout.frame.mjs +29 -7
- package/esm2022/frames/columns/columns.frame.mjs +2 -2
- package/esm2022/frames/divider/divider.frame.mjs +2 -2
- package/esm2022/frames/drawer/drawer.frame.mjs +2 -2
- package/esm2022/frames/entrance/entrance.frame.mjs +2 -2
- package/esm2022/frames/fab/fab.frame.mjs +2 -2
- package/esm2022/frames/frames.module.mjs +19 -14
- package/esm2022/frames/line-up/line-up.animations.mjs +3 -7
- package/esm2022/frames/line-up/line-up.frame.mjs +2 -2
- package/esm2022/frames/loading/loading.frame.mjs +2 -2
- package/esm2022/frames/progress-bar/index.mjs +2 -0
- package/esm2022/frames/progress-bar/ng-atomic-components-frames-progress-bar.mjs +5 -0
- package/esm2022/frames/progress-bar/progress-bar.frame.mjs +53 -0
- package/esm2022/frames/router-outlet/router-outlet.frame.mjs +96 -41
- package/esm2022/frames/scroll/scroll.frame.mjs +32 -14
- package/esm2022/frames/scroll-v2/index.mjs +2 -2
- package/esm2022/frames/side-app/index.mjs +2 -0
- package/esm2022/frames/side-app/ng-atomic-components-frames-side-app.mjs +5 -0
- package/esm2022/frames/side-app/side-app.frame.mjs +74 -0
- package/esm2022/frames/side-nav/side-nav.frame.mjs +27 -21
- package/esm2022/frames/smart-menu/smart-menu.frame.mjs +2 -2
- package/esm2022/frames/tabs/tabs.frame.mjs +13 -7
- package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +11 -18
- package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +2 -2
- package/esm2022/molecules/actions-column/actions-column.molecule.mjs +13 -7
- package/esm2022/molecules/checkbox-column/checkbox-column.molecule.mjs +48 -21
- package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +2 -2
- package/esm2022/molecules/date-range-input-field/date-range-input-field.molecule.mjs +2 -2
- package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +2 -2
- package/esm2022/molecules/grid-item/grid-item.molecule.mjs +2 -2
- package/esm2022/molecules/list-item/index.mjs +2 -0
- package/esm2022/molecules/list-item/list-item.molecule.mjs +198 -0
- package/esm2022/molecules/list-item/ng-atomic-components-molecules-list-item.mjs +5 -0
- package/esm2022/molecules/loading-box/loading-box.molecule.mjs +2 -2
- package/esm2022/molecules/molecules.module.mjs +19 -14
- package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +2 -2
- package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +9 -5
- package/esm2022/molecules/smart-column/smart-column.molecule.mjs +129 -43
- package/esm2022/molecules/tree-column/tree-column.molecule.mjs +37 -25
- package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +2 -2
- package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +2 -2
- package/esm2022/organisms/agreement-input-section/agreement-input-section.organism.mjs +3 -3
- package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +2 -2
- package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
- package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +4 -4
- package/esm2022/organisms/date-range-input-section/date-range-input-section.organism.mjs +4 -4
- package/esm2022/organisms/definition-list/definition-list.organism.mjs +2 -2
- package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +2 -2
- package/esm2022/organisms/filters-section/filters-section.organism.mjs +5 -5
- package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +1 -1
- package/esm2022/organisms/grid-cards-section/grid-cards-section.organism.mjs +2 -2
- package/esm2022/organisms/heading/heading.organism.mjs +2 -2
- package/esm2022/{sheets/actions → organisms/list}/index.mjs +2 -2
- package/esm2022/organisms/list/list.organism.mjs +161 -0
- package/esm2022/{sheets/actions/ng-atomic-components-sheets-actions.mjs → organisms/list/ng-atomic-components-organisms-list.mjs} +1 -1
- package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +2 -2
- package/esm2022/organisms/menu-header/menu-header.organism.mjs +2 -2
- package/esm2022/organisms/mermaid-section/mermaid-section.organism.mjs +39 -33
- package/esm2022/organisms/messages-section/messages-section.organism.mjs +2 -2
- package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +2 -2
- package/esm2022/organisms/navigator/navigator.organism.mjs +48 -29
- package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +2 -2
- package/esm2022/organisms/organisms.module.mjs +67 -62
- package/esm2022/organisms/paginator/paginator.organism.mjs +2 -2
- package/esm2022/organisms/password-input-section/password-input-section.organism.mjs +2 -2
- package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +4 -4
- package/esm2022/organisms/selection-list/selection-list.organism.mjs +1 -1
- package/esm2022/organisms/slider-input-section/slider-input-section.organism.mjs +4 -4
- package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2022/organisms/table/index.mjs +2 -1
- package/esm2022/organisms/table/table.helpers.mjs +4 -4
- package/esm2022/organisms/table/table.organism.mjs +152 -141
- package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +4 -4
- package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +2 -2
- package/esm2022/organisms/thread-messages-section/thread-messages-section.organism.mjs +2 -2
- package/esm2022/organisms/tree-list/index.mjs +2 -0
- package/esm2022/organisms/tree-list/ng-atomic-components-organisms-tree-list.mjs +5 -0
- package/esm2022/organisms/tree-list/tree-list.organism.mjs +125 -0
- package/esm2022/pages/_index/index.page.mjs +172 -70
- package/esm2022/pages/columns/columns.page.mjs +10 -9
- package/esm2022/pages/form/form.page.mjs +32 -15
- package/esm2022/pages/pages.module.mjs +10 -7
- package/esm2022/pages/terms/terms.page.mjs +2 -2
- package/esm2022/templates/_index/index.template.mjs +276 -155
- package/esm2022/templates/background/background.template.mjs +2 -2
- package/esm2022/templates/code-editor/code-editor.template.mjs +52 -15
- package/esm2022/templates/columns/columns.template.mjs +6 -4
- package/esm2022/templates/entrance/entrance.template.mjs +28 -25
- package/esm2022/templates/form/form.builder.mjs +93 -71
- package/esm2022/templates/form/form.template.mjs +47 -28
- package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +69 -16
- package/esm2022/templates/menu/menu.template.mjs +2 -2
- package/esm2022/templates/messages/messages.template.mjs +71 -65
- package/esm2022/templates/selection/selection.template.mjs +2 -2
- package/esm2022/templates/settings/settings.template.mjs +2 -2
- package/esm2022/templates/templates.module.mjs +17 -25
- package/extras/editor/editor.component.d.ts +19 -10
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs +90 -123
- package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms.mjs +7 -2
- package/fesm2022/ng-atomic-components-atoms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-extras-editor.mjs +79 -47
- package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-app.mjs +131 -69
- package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +29 -7
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-columns.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-divider.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-entrance.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-fab.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +4 -8
- package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-loading.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-progress-bar.mjs +60 -0
- package/fesm2022/ng-atomic-components-frames-progress-bar.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +96 -41
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +1 -48
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-scroll.mjs +31 -13
- package/fesm2022/ng-atomic-components-frames-scroll.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-side-app.mjs +81 -0
- package/fesm2022/ng-atomic-components-frames-side-app.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +26 -20
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-tabs.mjs +12 -6
- package/fesm2022/ng-atomic-components-frames-tabs.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +10 -17
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames.mjs +19 -14
- package/fesm2022/ng-atomic-components-frames.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +1 -1
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +12 -6
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +47 -21
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +1 -1
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-list-item.mjs +203 -0
- package/fesm2022/ng-atomic-components-molecules-list-item.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +8 -4
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-smart-column.mjs +128 -43
- package/fesm2022/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +36 -24
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules.mjs +19 -14
- package/fesm2022/ng-atomic-components-molecules.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-filters-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +1 -1
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-list.mjs +166 -0
- package/fesm2022/ng-atomic-components-organisms-list.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +38 -32
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +47 -28
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +1 -1
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-table.mjs +156 -145
- package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-tree-list.mjs +132 -0
- package/fesm2022/ng-atomic-components-organisms-tree-list.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms.mjs +67 -62
- package/fesm2022/ng-atomic-components-organisms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-_index.mjs +171 -70
- package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-columns.mjs +9 -8
- package/fesm2022/ng-atomic-components-pages-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-form.mjs +31 -14
- package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-terms.mjs +1 -1
- package/fesm2022/ng-atomic-components-pages-terms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages.mjs +10 -7
- package/fesm2022/ng-atomic-components-pages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-_index.mjs +276 -155
- package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-background.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs +51 -14
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-columns.mjs +5 -3
- package/fesm2022/ng-atomic-components-templates-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +27 -24
- package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-form.mjs +139 -99
- package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +68 -15
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-messages.mjs +71 -65
- package/fesm2022/ng-atomic-components-templates-messages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-selection.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-settings.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates.mjs +17 -25
- package/fesm2022/ng-atomic-components-templates.mjs.map +1 -1
- package/fesm2022/ng-atomic-components.mjs +20 -41
- package/fesm2022/ng-atomic-components.mjs.map +1 -1
- package/frames/app/app.frame.d.ts +14 -1
- package/frames/auto-layout/auto-layout.frame.d.ts +7 -1
- package/frames/frames.module.d.ts +3 -20
- package/frames/progress-bar/index.d.ts +1 -0
- package/frames/progress-bar/progress-bar.frame.d.ts +14 -0
- package/frames/router-outlet/router-outlet.frame.d.ts +20 -9
- package/frames/scroll/scroll.frame.d.ts +5 -1
- package/frames/scroll-v2/index.d.ts +1 -1
- package/frames/side-app/index.d.ts +1 -0
- package/frames/side-app/side-app.frame.d.ts +20 -0
- package/frames/side-nav/side-nav.frame.d.ts +6 -2
- package/frames/tabs/tabs.frame.d.ts +2 -1
- package/frames/vertical-hide/vertical-hide.frame.d.ts +2 -2
- package/molecules/actions-column/actions-column.molecule.d.ts +3 -2
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +12 -4
- package/molecules/list-item/index.d.ts +1 -0
- package/molecules/list-item/list-item.molecule.d.ts +50 -0
- package/molecules/molecules.module.d.ts +25 -0
- package/molecules/smart-column/smart-column.molecule.d.ts +34 -9
- package/molecules/tree-column/tree-column.molecule.d.ts +6 -2
- package/organisms/list/index.d.ts +1 -0
- package/organisms/{smart-list/smart-list.organism.d.ts → list/list.organism.d.ts} +11 -11
- package/organisms/mermaid-section/mermaid-section.organism.d.ts +10 -10
- package/organisms/navigator/navigator.organism.d.ts +8 -5
- package/organisms/organisms.module.d.ts +57 -2
- package/organisms/table/index.d.ts +1 -0
- package/organisms/table/table.helpers.d.ts +1 -1
- package/organisms/table/table.organism.d.ts +32 -1
- package/organisms/tree-list/index.d.ts +1 -0
- package/organisms/tree-list/tree-list.organism.d.ts +33 -0
- package/package.json +67 -55
- package/pages/_index/index.page.d.ts +72 -43
- package/pages/columns/columns.page.d.ts +5 -2
- package/pages/form/form.page.d.ts +20 -11
- package/pages/pages.module.d.ts +1 -0
- package/templates/_index/index.template.d.ts +40 -11
- package/templates/code-editor/code-editor.template.d.ts +6 -3
- package/templates/entrance/entrance.template.d.ts +1 -1
- package/templates/form/form.builder.d.ts +10 -3
- package/templates/form/form.template.d.ts +2 -1
- package/templates/icon-button-menu/icon-button-menu.template.d.ts +3 -2
- package/templates/messages/messages.template.d.ts +21 -17
- package/templates/templates.module.d.ts +24 -1
- package/esm2022/frames/scroll-v2/scroll.frame.mjs +0 -46
- package/esm2022/organisms/smart-list/index.mjs +0 -2
- package/esm2022/organisms/smart-list/ng-atomic-components-organisms-smart-list.mjs +0 -5
- package/esm2022/organisms/smart-list/smart-list.organism.mjs +0 -218
- package/esm2022/sheets/actions/actions.sheet.mjs +0 -45
- package/esm2022/sheets/index.mjs +0 -3
- package/esm2022/sheets/ng-atomic-components-sheets.mjs +0 -5
- package/esm2022/sheets/sheets.module.mjs +0 -25
- package/esm2022/sheets/sheets.service.mjs +0 -20
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +0 -223
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs.map +0 -1
- package/fesm2022/ng-atomic-components-sheets-actions.mjs +0 -52
- package/fesm2022/ng-atomic-components-sheets-actions.mjs.map +0 -1
- package/fesm2022/ng-atomic-components-sheets.mjs +0 -48
- package/fesm2022/ng-atomic-components-sheets.mjs.map +0 -1
- package/frames/scroll-v2/scroll.frame.d.ts +0 -9
- package/organisms/smart-list/index.d.ts +0 -1
- package/sheets/actions/actions.sheet.d.ts +0 -9
- package/sheets/actions/index.d.ts +0 -1
- package/sheets/index.d.ts +0 -2
- package/sheets/sheets.module.d.ts +0 -11
- package/sheets/sheets.service.d.ts +0 -10
|
@@ -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, 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;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;SACnB;AAAM,aAAA,IAAI,OAAO,CAAC,QAAQ,EAAE;YAC3B,YAAY,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;SACpD;aAAM;AACL,YAAA,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;SACnB;AACH,KAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,YAAY,CAAC,IAAe,EA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,EAAC,EAAA,MAAA,EAAA,CAAA,smEAAA,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, Directive, effect, inject, 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, InjectableComponent } 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@Directive({\n selector: 'ng-atomic-form-section-switcher',\n standalone: true,\n})\nexport class NgAtomicFormSectionSwitcherStore extends InjectableComponent {\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\n@Component({\n selector: 'ng-atomic-form-section-switcher',\n standalone: true,\n imports: [\n DomainPipe,\n ActionButtonsSectionOrganismStore,\n AgreementInputSectionOrganism,\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 (store.field(); as field) {\n @switch (field.type) {\n @case ('select') {\n @defer {\n <organisms-select-input-section injectable\n [label]=\"store.name() | domain\"\n [control]=\"store.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]=\"store.name() | domain\"\n [hint]=\"field.hint\"\n [control]=\"store.control()\"\n [actions]=\"field.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('date-range') {\n <organisms-date-range-input-section\n [label]=\"store.name() | domain\"\n [hint]=\"field.hint\"\n [control]=\"store.control()\"\n [actions]=\"field.actions\"\n (action)=\"dispatch($event)\"\n />\n }\n @case ('text') {\n @defer {\n <organisms-text-input-section injectable\n [label]=\"store.name() | domain\"\n [control]=\"store.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]=\"store.name() | domain\"\n [control]=\"store.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]=\"store.name() | domain\"\n [control]=\"store.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]=\"store.name() | domain\"\n [control]=\"store.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]=\"store.name() | domain\"\n [control]=\"store.control()\"\n [hint]=\"field.hint\"\n [progress]=\"field?.progress\"\n (action)=\"dispatchFileInputAction($event, store.name())\"\n />\n }\n }\n @case ('slider') {\n @defer {\n <organisms-slider-input-section injectable\n [label]=\"store.name() | domain\"\n [control]=\"store.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]=\"store.control()\"\n [labelTemp]=\"field?.labelTemp\"\n />\n }\n }\n @case ('preview') {\n @defer {\n <organisms-video-section injectable\n [src]=\"store.control().value\"\n [autoplay]=\"false\"\n />\n }\n }\n @case ('preview:image') {\n @defer {\n <organisms-image-preview-section\n [src]=\"store.control().value\"\n />\n }\n }\n @case ('hidden') { }\n }\n }\n `,\n hostDirectives:[\n {\n directive: NgAtomicFormSectionSwitcherStore,\n inputs: ['name', 'control', 'field'],\n },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n styles: `:host { display: contents; }`,\n})\nexport class NgAtomicFormSectionSwitcher extends NgAtomicComponent {\n static readonly ActionId = ActionId;\n protected readonly store = inject(NgAtomicFormSectionSwitcherStore);\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 styleUrl: './form.builder.scss'\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 if (new RegExp(key).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 constructor() {\n super();\n effect(() => {\n console.debug('[NgAtomicFormSectionBuilder] controlEntries:', this.controlEntries());\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 } 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';\nimport { DividerFrame } from '@ng-atomic/components/frames/divider';\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 DividerFrame,\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\n <frames-divider>\n <ng-content select=\"[dashboard]\" first/>\n <frames-auto-layout [type]=\"'vertical'\" second>\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-divider>\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 @Effect(NgAtomicFormSectionBuilder.ActionId.FILE_SELECTED)\n protected fileSelected(payload: any) {\n this.dispatch({id: ActionId.FILE_SELECTED, payload});\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;S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GA2BT,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,8pFAAA,CAAA,EAAA,CAAA;AAYf,SAAA,CAAA,EAAA,cAAA,EAAA,EAAA,IAAI,MAKJ,YAAY,EAAA,EAAA,EAAA,EAAA,CAAA;;ACpIxB;;AAEG;;;;"}
|
|
@@ -6,14 +6,17 @@ import * as i1 from '@angular/material/button';
|
|
|
6
6
|
import { MatButtonModule } from '@angular/material/button';
|
|
7
7
|
import * as i2 from '@angular/material/icon';
|
|
8
8
|
import { MatIconModule } from '@angular/material/icon';
|
|
9
|
+
import * as i3 from '@angular/material/tooltip';
|
|
10
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
9
11
|
|
|
10
12
|
let IconButtonMenuTemplateStore = class IconButtonMenuTemplateStore extends InjectableComponent {
|
|
11
13
|
constructor() {
|
|
12
14
|
super(...arguments);
|
|
13
15
|
this.actions = input([]);
|
|
16
|
+
this.bottomActions = input([]);
|
|
14
17
|
}
|
|
15
18
|
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 }); }
|
|
19
|
+
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 }, bottomActions: { classPropertyName: "bottomActions", publicName: "bottomActions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
17
20
|
};
|
|
18
21
|
IconButtonMenuTemplateStore = __decorate([
|
|
19
22
|
TokenizedType()
|
|
@@ -28,31 +31,81 @@ class IconButtonMenuTemplate extends NgAtomicComponent {
|
|
|
28
31
|
this.store = inject(IconButtonMenuTemplateStore);
|
|
29
32
|
}
|
|
30
33
|
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
|
-
|
|
33
|
-
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
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", "bottomActions", "bottomActions"] }], ngImport: i0, template: `
|
|
35
|
+
<div class="top">
|
|
36
|
+
@for (action of store.actions(); track $index) {
|
|
37
|
+
<button
|
|
38
|
+
mat-icon-button
|
|
39
|
+
[color]="action?.color"
|
|
40
|
+
(click)="dispatch(action)"
|
|
41
|
+
#tooltip="matTooltip"
|
|
42
|
+
[matTooltip]="action.name"
|
|
43
|
+
matTooltipPosition="right"
|
|
44
|
+
>
|
|
45
|
+
<mat-icon>{{ action.icon }}</mat-icon>
|
|
46
|
+
</button>
|
|
47
|
+
}
|
|
48
|
+
</div>
|
|
49
|
+
<div class="bottom">
|
|
50
|
+
@for (action of store.bottomActions(); track $index) {
|
|
51
|
+
<button
|
|
52
|
+
mat-icon-button
|
|
53
|
+
[color]="action?.color"
|
|
54
|
+
(click)="dispatch(action)"
|
|
55
|
+
#tooltip="matTooltip"
|
|
56
|
+
[matTooltip]="action.name"
|
|
57
|
+
matTooltipPosition="right"
|
|
58
|
+
>
|
|
59
|
+
<mat-icon>{{ action.icon }}</mat-icon>
|
|
60
|
+
</button>
|
|
61
|
+
}
|
|
62
|
+
</div>
|
|
63
|
+
`, isInline: true, styles: [":host{width:100%;height:100%;background:#fff;display:block;--primary-color: #404040;--primary-color-SCOPED-IN-icon-button-menu-HsJG: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-icon-button-menu-HsJG: var(--on-primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-icon-button-menu-HsJG: var(--secondary-color);--background-color: #000000;--background-color-SCOPED-IN-icon-button-menu-HsJG: var(--background-color);--on-background-color: #ffffff;--on-background-color-SCOPED-IN-icon-button-menu-HsJG: var(--on-background-color);--mdc-icon-button-icon-color: #FEFEFE;--mdc-icon-button-icon-color-SCOPED-IN-icon-button-menu-HsJG: var(--mdc-icon-button-icon-color)}:host{display:flex;flex-direction:column;justify-content:space-between;align-items:center;width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-icon-button-menu-HsJG);color:var(--on-background-color-SCOPED-IN-icon-button-menu-HsJG)}:host .top,:host .bottom{display:flex;flex-direction:column;justify-content:center;align-items:center}:host button{--mat-icon-color: var(--on-primary-color-SCOPED-IN-icon-button-menu-HsJG);cursor:pointer}\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"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
38
64
|
}
|
|
39
65
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: IconButtonMenuTemplate, decorators: [{
|
|
40
66
|
type: Component,
|
|
41
67
|
args: [{ selector: 'templates-icon-button-menu', standalone: true, imports: [
|
|
42
68
|
MatButtonModule,
|
|
43
69
|
MatIconModule,
|
|
70
|
+
MatTooltipModule,
|
|
44
71
|
], template: `
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
72
|
+
<div class="top">
|
|
73
|
+
@for (action of store.actions(); track $index) {
|
|
74
|
+
<button
|
|
75
|
+
mat-icon-button
|
|
76
|
+
[color]="action?.color"
|
|
77
|
+
(click)="dispatch(action)"
|
|
78
|
+
#tooltip="matTooltip"
|
|
79
|
+
[matTooltip]="action.name"
|
|
80
|
+
matTooltipPosition="right"
|
|
81
|
+
>
|
|
82
|
+
<mat-icon>{{ action.icon }}</mat-icon>
|
|
83
|
+
</button>
|
|
84
|
+
}
|
|
85
|
+
</div>
|
|
86
|
+
<div class="bottom">
|
|
87
|
+
@for (action of store.bottomActions(); track $index) {
|
|
88
|
+
<button
|
|
89
|
+
mat-icon-button
|
|
90
|
+
[color]="action?.color"
|
|
91
|
+
(click)="dispatch(action)"
|
|
92
|
+
#tooltip="matTooltip"
|
|
93
|
+
[matTooltip]="action.name"
|
|
94
|
+
matTooltipPosition="right"
|
|
95
|
+
>
|
|
96
|
+
<mat-icon>{{ action.icon }}</mat-icon>
|
|
97
|
+
</button>
|
|
98
|
+
}
|
|
99
|
+
</div>
|
|
50
100
|
`, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
51
101
|
{
|
|
52
102
|
directive: IconButtonMenuTemplateStore,
|
|
53
|
-
inputs: [
|
|
103
|
+
inputs: [
|
|
104
|
+
'actions',
|
|
105
|
+
'bottomActions',
|
|
106
|
+
],
|
|
54
107
|
},
|
|
55
|
-
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--primary-color: #404040;--primary-color-SCOPED-IN-icon-button-menu-
|
|
108
|
+
], styles: [":host{width:100%;height:100%;background:#fff;display:block;--primary-color: #404040;--primary-color-SCOPED-IN-icon-button-menu-HsJG: var(--primary-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-icon-button-menu-HsJG: var(--on-primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-icon-button-menu-HsJG: var(--secondary-color);--background-color: #000000;--background-color-SCOPED-IN-icon-button-menu-HsJG: var(--background-color);--on-background-color: #ffffff;--on-background-color-SCOPED-IN-icon-button-menu-HsJG: var(--on-background-color);--mdc-icon-button-icon-color: #FEFEFE;--mdc-icon-button-icon-color-SCOPED-IN-icon-button-menu-HsJG: var(--mdc-icon-button-icon-color)}:host{display:flex;flex-direction:column;justify-content:space-between;align-items:center;width:100%;height:100%;background-color:var(--background-color-SCOPED-IN-icon-button-menu-HsJG);color:var(--on-background-color-SCOPED-IN-icon-button-menu-HsJG)}:host .top,:host .bottom{display:flex;flex-direction:column;justify-content:center;align-items:center}:host button{--mat-icon-color: var(--on-primary-color-SCOPED-IN-icon-button-menu-HsJG);cursor:pointer}\n"] }]
|
|
56
109
|
}] });
|
|
57
110
|
|
|
58
111
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-templates-icon-button-menu.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/icon-button-menu/icon-button-menu.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/icon-button-menu/ng-atomic-components-templates-icon-button-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, inject, input } from '@angular/core';\nimport { Action, TokenizedType } from '@ng-atomic/core';\nimport { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\n\n@TokenizedType()\n@Directive({ standalone: true, selector: 'templates-icon-button-menu' })\nexport class IconButtonMenuTemplateStore extends InjectableComponent {\n readonly actions = input<Action[]>([]);\n}\n\n@Component({\n selector: 'templates-icon-button-menu',\n standalone: true,\n imports: [\n MatButtonModule,\n MatIconModule,\n ],\n template: `\n @for (action of store.actions(); track action.
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-templates-icon-button-menu.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/templates/icon-button-menu/icon-button-menu.template.ts","../../../../../packages/@ng-atomic/components/src/lib/templates/icon-button-menu/ng-atomic-components-templates-icon-button-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, inject, input } from '@angular/core';\nimport { Action, TokenizedType } from '@ng-atomic/core';\nimport { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\n@TokenizedType()\n@Directive({ standalone: true, selector: 'templates-icon-button-menu' })\nexport class IconButtonMenuTemplateStore extends InjectableComponent {\n readonly actions = input<Action[]>([]);\n readonly bottomActions = input<Action[]>([]);\n}\n\n@Component({\n selector: 'templates-icon-button-menu',\n standalone: true,\n imports: [\n MatButtonModule,\n MatIconModule,\n MatTooltipModule,\n ],\n template: `\n <div class=\"top\">\n @for (action of store.actions(); track $index) {\n <button\n mat-icon-button\n [color]=\"action?.color\"\n (click)=\"dispatch(action)\"\n #tooltip=\"matTooltip\"\n [matTooltip]=\"action.name\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>{{ action.icon }}</mat-icon>\n </button>\n }\n </div>\n <div class=\"bottom\">\n @for (action of store.bottomActions(); track $index) {\n <button\n mat-icon-button\n [color]=\"action?.color\"\n (click)=\"dispatch(action)\"\n #tooltip=\"matTooltip\"\n [matTooltip]=\"action.name\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>{{ action.icon }}</mat-icon>\n </button>\n }\n </div>\n `,\n styleUrls: ['./icon-button-menu.template.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: IconButtonMenuTemplateStore,\n inputs: [\n 'actions',\n 'bottomActions',\n ],\n },\n ]\n})\nexport class IconButtonMenuTemplate extends NgAtomicComponent {\n protected store = inject(IconButtonMenuTemplateStore);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AASO,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,mBAAmB,CAAA;AAA7D,IAAA,WAAA,GAAA;;AACI,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAW,EAAE,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAW,EAAE,CAAC,CAAC;AAC9C,KAAA;8GAHY,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA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A,CAAA,ipCAAA,CAAA,EAAA,CAAA;;;AC9DH;;AAEG;;;;"}
|
|
@@ -37,7 +37,7 @@ 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-Emnl: var(--primary-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-menu-Emnl: var(--background-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-menu-Emnl: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-menu-Emnl: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-menu-Emnl: var(--on-primary-color);--on-background-color: #404040;--on-background-color-SCOPED-IN-menu-Emnl: var(--on-background-color);--on-surface-color: #404040;--on-surface-color-SCOPED-IN-menu-Emnl: var(--on-surface-color);--width: 100%;--width-SCOPED-IN-menu-Emnl: var(--width);--height: 100%;--height-SCOPED-IN-menu-Emnl: var(--height)}:host{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-Emnl);height:var(--height-SCOPED-IN-menu-Emnl);color:var(--on-background-color-SCOPED-IN-menu-Emnl);background-color:var(--background-color-SCOPED-IN-menu-Emnl);transition:background-color .5s ease-in-out,width .5s}:host *{--primary-color: var(--primary-color-SCOPED-IN-menu-Emnl);--background-color: var(--background-color-SCOPED-IN-menu-Emnl);--surface-color: var(--surface-color-SCOPED-IN-menu-Emnl);--on-primary-color: var(--on-primary-color-SCOPED-IN-menu-Emnl);--on-background-color: var(--on-background-color-SCOPED-IN-menu-Emnl);--on-surface-color: var(--on-surface-color-SCOPED-IN-menu-Emnl)}\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
42
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MenuTemplate, decorators: [{
|
|
43
43
|
type: Component,
|
|
@@ -59,7 +59,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.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-Emnl: var(--primary-color);--background-color: #f0f0f0;--background-color-SCOPED-IN-menu-Emnl: var(--background-color);--secondary-color: #f0f0f0;--secondary-color-SCOPED-IN-menu-Emnl: var(--secondary-color);--surface-color: #f0f0f0;--surface-color-SCOPED-IN-menu-Emnl: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-menu-Emnl: var(--on-primary-color);--on-background-color: #404040;--on-background-color-SCOPED-IN-menu-Emnl: var(--on-background-color);--on-surface-color: #404040;--on-surface-color-SCOPED-IN-menu-Emnl: var(--on-surface-color);--width: 100%;--width-SCOPED-IN-menu-Emnl: var(--width);--height: 100%;--height-SCOPED-IN-menu-Emnl: var(--height)}:host{display:flex;flex-direction:column;justify-content:space-between;width:var(--width-SCOPED-IN-menu-Emnl);height:var(--height-SCOPED-IN-menu-Emnl);color:var(--on-background-color-SCOPED-IN-menu-Emnl);background-color:var(--background-color-SCOPED-IN-menu-Emnl);transition:background-color .5s ease-in-out,width .5s}:host *{--primary-color: var(--primary-color-SCOPED-IN-menu-Emnl);--background-color: var(--background-color-SCOPED-IN-menu-Emnl);--surface-color: var(--surface-color-SCOPED-IN-menu-Emnl);--on-primary-color: var(--on-primary-color-SCOPED-IN-menu-Emnl);--on-background-color: var(--on-background-color-SCOPED-IN-menu-Emnl);--on-surface-color: var(--on-surface-color-SCOPED-IN-menu-Emnl)}\n"] }]
|
|
63
63
|
}] });
|
|
64
64
|
|
|
65
65
|
/**
|
|
@@ -1,70 +1,82 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { input, Directive, inject, viewChild, effect, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
4
3
|
import { MessagesSectionOrganism } from '@ng-atomic/components/organisms/messages-section';
|
|
5
4
|
import { MessageInputSectionOrganism } from '@ng-atomic/components/organisms/message-input-section';
|
|
6
5
|
import { TextareaSectionOrganism } from '@ng-atomic/components/organisms/textarea-section';
|
|
7
6
|
import { ScrollFrame } from '@ng-atomic/components/frames/scroll-v2';
|
|
8
7
|
import { NavigatorOrganism } from '@ng-atomic/components/organisms/navigator';
|
|
9
8
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
9
|
+
import { NgAtomicComponent } from '@ng-atomic/core';
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class MessagesTemplateStore {
|
|
12
12
|
constructor() {
|
|
13
|
-
this.title = 'title';
|
|
14
|
-
this.navStartActions = [];
|
|
15
|
-
this.navEndActions = [];
|
|
16
|
-
this.messages = [];
|
|
17
|
-
this.actions = [];
|
|
18
|
-
this.placeholder = 'メッセージを入力';
|
|
19
|
-
this.isMessageCreating = false;
|
|
20
|
-
this.form = new FormGroup({
|
|
13
|
+
this.title = input('title');
|
|
14
|
+
this.navStartActions = input([]);
|
|
15
|
+
this.navEndActions = input([]);
|
|
16
|
+
this.messages = input([]);
|
|
17
|
+
this.actions = input([]);
|
|
18
|
+
this.placeholder = input('メッセージを入力');
|
|
19
|
+
this.isMessageCreating = input(false);
|
|
20
|
+
this.form = input(new FormGroup({
|
|
21
21
|
name: new FormControl(''),
|
|
22
22
|
description: new FormControl(''),
|
|
23
23
|
message: new FormControl(''),
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MessagesTemplateStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: MessagesTemplateStore, isStandalone: true, inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, navStartActions: { classPropertyName: "navStartActions", publicName: "navStartActions", isSignal: true, isRequired: false, transformFunction: null }, navEndActions: { classPropertyName: "navEndActions", publicName: "navEndActions", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, isMessageCreating: { classPropertyName: "isMessageCreating", publicName: "isMessageCreating", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MessagesTemplateStore, decorators: [{
|
|
30
|
+
type: Directive,
|
|
31
|
+
args: [{ standalone: true }]
|
|
32
|
+
}] });
|
|
33
|
+
class MessagesTemplate extends NgAtomicComponent {
|
|
34
|
+
constructor() {
|
|
35
|
+
super();
|
|
36
|
+
this.store = inject(MessagesTemplateStore);
|
|
37
|
+
this.scroll = viewChild.required(ScrollFrame);
|
|
38
|
+
effect(() => {
|
|
39
|
+
if (this.store.messages() && this.scroll()?.isScrollBottom()) {
|
|
40
|
+
setTimeout(() => this.scroll()?.scrollToBottom());
|
|
41
|
+
}
|
|
24
42
|
});
|
|
25
|
-
this.action = new EventEmitter();
|
|
26
43
|
}
|
|
27
44
|
ngAfterViewInit() {
|
|
28
|
-
this.
|
|
29
|
-
}
|
|
30
|
-
ngOnChanges(changes) {
|
|
31
|
-
if (changes.messages && this.scrollFrame.isScrollBottom()) {
|
|
32
|
-
setTimeout(() => this.scrollFrame.scrollToBottom());
|
|
33
|
-
}
|
|
45
|
+
this.scroll()?.scrollToBottom();
|
|
34
46
|
}
|
|
35
47
|
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: "
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.1.2", type: MessagesTemplate, isStandalone: true, selector: "templates-messages", host: { classAttribute: "template" }, viewQueries: [{ propertyName: "scroll", first: true, predicate: ScrollFrame, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: MessagesTemplateStore, inputs: ["title", "title", "navStartActions", "navStartActions", "navEndActions", "navEndActions", "messages", "messages", "actions", "actions", "placeholder", "placeholder", "isMessageCreating", "isMessageCreating", "form", "form"] }], ngImport: i0, template: `
|
|
37
49
|
<frames-scroll>
|
|
38
50
|
<organisms-navigator
|
|
39
|
-
[startActions]="navStartActions"
|
|
40
|
-
[endActions]="navEndActions"
|
|
41
|
-
(action)="
|
|
51
|
+
[startActions]="store.navStartActions()"
|
|
52
|
+
[endActions]="store.navEndActions()"
|
|
53
|
+
(action)="dispatch($event)"
|
|
42
54
|
top
|
|
43
55
|
>
|
|
44
|
-
<span> {{ title }} </span>
|
|
56
|
+
<span> {{ store.title() }} </span>
|
|
45
57
|
</organisms-navigator>
|
|
46
58
|
<organisms-messages-section
|
|
47
|
-
[isMessageCreating]="isMessageCreating"
|
|
48
|
-
[messages]="messages"
|
|
59
|
+
[isMessageCreating]="store.isMessageCreating()"
|
|
60
|
+
[messages]="store.messages()"
|
|
61
|
+
(action)="dispatch($event)"
|
|
49
62
|
contents
|
|
50
63
|
/>
|
|
51
64
|
<organisms-textarea-section
|
|
52
|
-
[actions]="actions"
|
|
53
|
-
[control]="form.get(['message'])"
|
|
65
|
+
[actions]="store.actions()"
|
|
66
|
+
[control]="store.form().get(['message'])"
|
|
54
67
|
[rows]="3"
|
|
55
68
|
[floatLabel]="'always'"
|
|
56
69
|
[label]="'入力'"
|
|
57
|
-
[placeholder]="placeholder"
|
|
58
|
-
(action)="
|
|
70
|
+
[placeholder]="store.placeholder()"
|
|
71
|
+
(action)="dispatch($event)"
|
|
59
72
|
bottom
|
|
60
73
|
/>
|
|
61
74
|
</frames-scroll>
|
|
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: "
|
|
75
|
+
`, 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: "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
76
|
}
|
|
64
77
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MessagesTemplate, decorators: [{
|
|
65
78
|
type: Component,
|
|
66
79
|
args: [{ selector: 'templates-messages', standalone: true, imports: [
|
|
67
|
-
CommonModule,
|
|
68
80
|
MessagesSectionOrganism,
|
|
69
81
|
MessageInputSectionOrganism,
|
|
70
82
|
TextareaSectionOrganism,
|
|
@@ -73,56 +85,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
73
85
|
], template: `
|
|
74
86
|
<frames-scroll>
|
|
75
87
|
<organisms-navigator
|
|
76
|
-
[startActions]="navStartActions"
|
|
77
|
-
[endActions]="navEndActions"
|
|
78
|
-
(action)="
|
|
88
|
+
[startActions]="store.navStartActions()"
|
|
89
|
+
[endActions]="store.navEndActions()"
|
|
90
|
+
(action)="dispatch($event)"
|
|
79
91
|
top
|
|
80
92
|
>
|
|
81
|
-
<span> {{ title }} </span>
|
|
93
|
+
<span> {{ store.title() }} </span>
|
|
82
94
|
</organisms-navigator>
|
|
83
95
|
<organisms-messages-section
|
|
84
|
-
[isMessageCreating]="isMessageCreating"
|
|
85
|
-
[messages]="messages"
|
|
96
|
+
[isMessageCreating]="store.isMessageCreating()"
|
|
97
|
+
[messages]="store.messages()"
|
|
98
|
+
(action)="dispatch($event)"
|
|
86
99
|
contents
|
|
87
100
|
/>
|
|
88
101
|
<organisms-textarea-section
|
|
89
|
-
[actions]="actions"
|
|
90
|
-
[control]="form.get(['message'])"
|
|
102
|
+
[actions]="store.actions()"
|
|
103
|
+
[control]="store.form().get(['message'])"
|
|
91
104
|
[rows]="3"
|
|
92
105
|
[floatLabel]="'always'"
|
|
93
106
|
[label]="'入力'"
|
|
94
|
-
[placeholder]="placeholder"
|
|
95
|
-
(action)="
|
|
107
|
+
[placeholder]="store.placeholder()"
|
|
108
|
+
(action)="dispatch($event)"
|
|
96
109
|
bottom
|
|
97
110
|
/>
|
|
98
111
|
</frames-scroll>
|
|
99
|
-
`, host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
type: Input
|
|
116
|
-
}], action: [{
|
|
117
|
-
type: Output
|
|
118
|
-
}], scrollFrame: [{
|
|
119
|
-
type: ViewChild,
|
|
120
|
-
args: [ScrollFrame, { static: true }]
|
|
121
|
-
}] } });
|
|
112
|
+
`, host: { class: 'template' }, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
113
|
+
{
|
|
114
|
+
directive: MessagesTemplateStore,
|
|
115
|
+
inputs: [
|
|
116
|
+
'title',
|
|
117
|
+
'navStartActions',
|
|
118
|
+
'navEndActions',
|
|
119
|
+
'messages',
|
|
120
|
+
'actions',
|
|
121
|
+
'placeholder',
|
|
122
|
+
'isMessageCreating',
|
|
123
|
+
'form',
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
], 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"] }]
|
|
127
|
+
}], ctorParameters: () => [] });
|
|
122
128
|
|
|
123
129
|
/**
|
|
124
130
|
* Generated bundle index. Do not edit.
|
|
125
131
|
*/
|
|
126
132
|
|
|
127
|
-
export { MessagesTemplate };
|
|
133
|
+
export { MessagesTemplate, MessagesTemplateStore };
|
|
128
134
|
//# sourceMappingURL=ng-atomic-components-templates-messages.mjs.map
|
|
@@ -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,
|
|
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, AfterViewInit, OnChanges, Directive, input, inject, effect, viewChild } from '@angular/core';\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, NgAtomicComponent } from '@ng-atomic/core';\n\n@Directive({ standalone: true })\nexport class MessagesTemplateStore {\n readonly title = input('title');\n readonly navStartActions = input<Action[]>([]);\n readonly navEndActions = input<Action[]>([]);\n readonly messages = input<{role: string, content: string}[]>([]);\n readonly actions = input<Action[]>([]);\n readonly placeholder = input('メッセージを入力');\n readonly isMessageCreating = input<false | string>(false);\n readonly form = input(new FormGroup({\n name: new FormControl(''),\n description: new FormControl(''),\n message: new FormControl(''),\n }));\n}\n\n@Component({\n selector: 'templates-messages',\n standalone: true,\n imports: [\n MessagesSectionOrganism,\n MessageInputSectionOrganism,\n TextareaSectionOrganism,\n ScrollFrame,\n NavigatorOrganism,\n ],\n template: `\n <frames-scroll>\n <organisms-navigator\n [startActions]=\"store.navStartActions()\"\n [endActions]=\"store.navEndActions()\"\n (action)=\"dispatch($event)\"\n top\n >\n <span> {{ store.title() }} </span>\n </organisms-navigator>\n <organisms-messages-section\n [isMessageCreating]=\"store.isMessageCreating()\"\n [messages]=\"store.messages()\"\n (action)=\"dispatch($event)\"\n contents\n />\n <organisms-textarea-section\n [actions]=\"store.actions()\"\n [control]=\"store.form().get(['message'])\"\n [rows]=\"3\"\n [floatLabel]=\"'always'\"\n [label]=\"'入力'\"\n [placeholder]=\"store.placeholder()\"\n (action)=\"dispatch($event)\"\n bottom\n />\n </frames-scroll>\n `,\n styleUrls: ['./messages.template.scss'],\n host: { class: 'template' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: MessagesTemplateStore,\n inputs: [\n 'title',\n 'navStartActions',\n 'navEndActions',\n 'messages',\n 'actions',\n 'placeholder',\n 'isMessageCreating',\n 'form',\n ],\n },\n ]\n})\nexport class MessagesTemplate extends NgAtomicComponent implements AfterViewInit, OnChanges {\n protected readonly store = inject(MessagesTemplateStore);\n readonly scroll = viewChild.required(ScrollFrame);\n\n constructor() {\n super();\n effect(() => {\n if (this.store.messages() && this.scroll()?.isScrollBottom()) {\n setTimeout(() => this.scroll()?.scrollToBottom());\n }\n });\n }\n\n ngAfterViewInit() {\n this.scroll()?.scrollToBottom();\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAWa,qBAAqB,CAAA;AADlC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AACvB,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAW,EAAE,CAAC,CAAC;AACtC,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAW,EAAE,CAAC,CAAC;AACpC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAoC,EAAE,CAAC,CAAC;AACxD,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAW,EAAE,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;AAChC,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAiB,KAAK,CAAC,CAAC;AACjD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,IAAI,SAAS,CAAC;AAClC,YAAA,IAAI,EAAE,IAAI,WAAW,CAAC,EAAE,CAAC;AACz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