@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
|
@@ -3,14 +3,14 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
4
4
|
|
|
5
5
|
class AutoLayoutFrame {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: AutoLayoutFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: AutoLayoutFrame, isStandalone: true, selector: "frames-auto-layout", ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-xvHK: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-xvHK: var(--vertical-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-xvHK);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-xvHK) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
8
|
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: AutoLayoutFrame, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{ selector: 'frames-auto-layout', standalone: true, imports: [
|
|
12
12
|
CommonModule,
|
|
13
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>", styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-
|
|
13
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>", styles: [":host{--gap: 24px;--gap-SCOPED-IN-auto-layout-xvHK: var(--gap);--vertical-padding: 24px;--vertical-padding-SCOPED-IN-auto-layout-xvHK: var(--vertical-padding)}:host{display:flex;width:100%;height:100%;justify-content:center;gap:var(--gap-SCOPED-IN-auto-layout-xvHK);box-sizing:border-box;padding:var(--vertical-padding-SCOPED-IN-auto-layout-xvHK) 0}:host[horizontal]{flex-direction:row}:host[vertical]{flex-direction:column}\n"] }]
|
|
14
14
|
}] });
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -5,10 +5,10 @@ import * as i1 from '@angular/material/card';
|
|
|
5
5
|
import { MatCardModule } from '@angular/material/card';
|
|
6
6
|
|
|
7
7
|
class CardFrame {
|
|
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: CardFrame, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: CardFrame, isStandalone: true, selector: "frames-card", ngImport: i0, template: `<mat-card><ng-content></ng-content></mat-card>`, isInline: true, styles: [":host{display:block}:host mat-card{display:flex;justify-content:center;align-items:center;flex-direction:column;padding:24px;box-sizing:border-box;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }], 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: CardFrame, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'frames-card', standalone: true, imports: [
|
|
14
14
|
CommonModule,
|
|
@@ -23,13 +23,13 @@ let ColumnsFrameStore = class ColumnsFrameStore extends InjectableComponent {
|
|
|
23
23
|
};
|
|
24
24
|
return { type: getType() };
|
|
25
25
|
}, ['components', 'frames', 'columns']); }
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: ColumnsFrameStore, isStandalone: true, selector: "frames-columns", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
28
28
|
};
|
|
29
29
|
ColumnsFrameStore = ColumnsFrameStore_1 = __decorate([
|
|
30
30
|
TokenizedType()
|
|
31
31
|
], ColumnsFrameStore);
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrameStore, decorators: [{
|
|
33
33
|
type: Directive,
|
|
34
34
|
args: [{ standalone: true, selector: 'frames-columns' }]
|
|
35
35
|
}] });
|
|
@@ -39,10 +39,10 @@ class LeftColumn {
|
|
|
39
39
|
this.isPlatformBrowser = isPlatformBrowser(this.platformId);
|
|
40
40
|
this.templateRef = inject((TemplateRef));
|
|
41
41
|
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
43
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: LeftColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
43
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: LeftColumn, isStandalone: true, selector: "[left], [leftColumn]", ngImport: i0 }); }
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: LeftColumn, decorators: [{
|
|
46
46
|
type: Directive,
|
|
47
47
|
args: [{ standalone: true, selector: '[left], [leftColumn]' }]
|
|
48
48
|
}] });
|
|
@@ -52,10 +52,10 @@ class MainColumn {
|
|
|
52
52
|
this.isPlatformBrowser = isPlatformBrowser(this.platformId);
|
|
53
53
|
this.templateRef = inject((TemplateRef));
|
|
54
54
|
}
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MainColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
56
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: MainColumn, isStandalone: true, selector: "[main], [mainColumn]", ngImport: i0 }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MainColumn, decorators: [{
|
|
59
59
|
type: Directive,
|
|
60
60
|
args: [{
|
|
61
61
|
standalone: true,
|
|
@@ -68,10 +68,10 @@ class RightColumn {
|
|
|
68
68
|
this.isPlatformBrowser = isPlatformBrowser(this.platformId);
|
|
69
69
|
this.templateRef = inject((TemplateRef));
|
|
70
70
|
}
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
72
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
71
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RightColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
72
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: RightColumn, isStandalone: true, selector: "[right], [rightColumn]", ngImport: i0 }); }
|
|
73
73
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: RightColumn, decorators: [{
|
|
75
75
|
type: Directive,
|
|
76
76
|
args: [{ standalone: true, selector: '[right], [rightColumn]' }]
|
|
77
77
|
}] });
|
|
@@ -84,8 +84,8 @@ class ColumnsFrame extends NgAtomicComponent {
|
|
|
84
84
|
this.main = contentChild(MainColumn);
|
|
85
85
|
this.right = contentChild(RightColumn);
|
|
86
86
|
}
|
|
87
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
88
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
88
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: ColumnsFrame, isStandalone: true, selector: "frames-columns", host: { properties: { "attr.type": "store.type()" } }, queries: [{ propertyName: "left", first: true, predicate: LeftColumn, descendants: true, isSignal: true }, { propertyName: "main", first: true, predicate: MainColumn, descendants: true, isSignal: true }, { propertyName: "right", first: true, predicate: RightColumn, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: ColumnsFrameStore, inputs: ["type", "type"] }], ngImport: i0, template: `
|
|
89
89
|
@if(left()?.templateRef && left()?.isPlatformBrowser) {
|
|
90
90
|
<div class="left container">
|
|
91
91
|
<ng-container [ngTemplateOutlet]="left()?.templateRef" />
|
|
@@ -103,9 +103,9 @@ class ColumnsFrame extends NgAtomicComponent {
|
|
|
103
103
|
<ng-container [ngTemplateOutlet]="right()?.templateRef" />
|
|
104
104
|
</div>
|
|
105
105
|
}
|
|
106
|
-
`, isInline: true, styles: [":host{display:block;--side-width: 360px;--side-width-SCOPED-IN-columns-
|
|
106
|
+
`, isInline: true, styles: [":host{display:block;--side-width: 360px;--side-width-SCOPED-IN-columns-td6R: var(--side-width)}:host{display:flex;flex-direction:row;justify-content:space-between;width:100%;height:100%}:host[type=row]{flex-direction:row;justify-content:space-between}:host[type=row] .container{width:100%}:host[type=row] .container.left{max-width:var(--side-width-SCOPED-IN-columns-td6R)}:host[type=row] .container.right{max-width:var(--side-width-SCOPED-IN-columns-td6R)}:host[type=column]{flex-direction:column;justify-content:flex-start}:host[type=column] .container.main{width:100%}:host[type=column] .container.left{width:100%}:host[type=column] .container.right{width:100%}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
107
107
|
}
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrame, decorators: [{
|
|
109
109
|
type: Component,
|
|
110
110
|
args: [{ selector: 'frames-columns', standalone: true, imports: [
|
|
111
111
|
NgTemplateOutlet,
|
|
@@ -134,14 +134,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
134
134
|
}
|
|
135
135
|
], host: {
|
|
136
136
|
'[attr.type]': 'store.type()',
|
|
137
|
-
}, styles: [":host{display:block;--side-width: 360px;--side-width-SCOPED-IN-columns-
|
|
137
|
+
}, styles: [":host{display:block;--side-width: 360px;--side-width-SCOPED-IN-columns-td6R: var(--side-width)}:host{display:flex;flex-direction:row;justify-content:space-between;width:100%;height:100%}:host[type=row]{flex-direction:row;justify-content:space-between}:host[type=row] .container{width:100%}:host[type=row] .container.left{max-width:var(--side-width-SCOPED-IN-columns-td6R)}:host[type=row] .container.right{max-width:var(--side-width-SCOPED-IN-columns-td6R)}:host[type=column]{flex-direction:column;justify-content:flex-start}:host[type=column] .container.main{width:100%}:host[type=column] .container.left{width:100%}:host[type=column] .container.right{width:100%}\n"] }]
|
|
138
138
|
}] });
|
|
139
139
|
class ColumnsFrameModule {
|
|
140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
141
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
142
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrameModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
141
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrameModule, imports: [ColumnsFrame, LeftColumn, MainColumn, RightColumn], exports: [ColumnsFrame, LeftColumn, MainColumn, RightColumn] }); }
|
|
142
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrameModule }); }
|
|
143
143
|
}
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ColumnsFrameModule, decorators: [{
|
|
145
145
|
type: NgModule,
|
|
146
146
|
args: [{
|
|
147
147
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-frames-columns.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/columns/columns.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/columns/ng-atomic-components-frames-columns.ts"],"sourcesContent":["import { isPlatformBrowser, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, NgModule, PLATFORM_ID, TemplateRef, contentChild, inject, input } from '@angular/core';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { InjectableComponent, NgAtomicComponent, TokenizedType, _computed } from '@ng-atomic/core';\n\n@TokenizedType()\n@Directive({standalone: true, selector: 'frames-columns'})\nexport class ColumnsFrameStore extends InjectableComponent {\n static readonly Config = makeConfig(() => (context) => {\n const getType = (): 'row' | 'column' => {\n switch (context.breakpoint) {\n case 'xSmall':\n case 'small': return 'column';\n default: return 'row';\n }\n }\n return { type: getType() };\n }, ['components', 'frames', 'columns']);\n readonly config = ColumnsFrameStore.Config.inject();\n readonly type = input<'row' | 'column'>(_computed(() => this.config().type));\n}\n\n@Directive({standalone: true, selector: '[left], [leftColumn]'})\nexport class LeftColumn {\n readonly platformId = inject(PLATFORM_ID);\n readonly isPlatformBrowser = isPlatformBrowser(this.platformId);\n readonly templateRef = inject(TemplateRef<unknown>)\n}\n\n@Directive({\n standalone: true,\n selector: '[main], [mainColumn]',\n})\nexport class MainColumn {\n readonly platformId = inject(PLATFORM_ID);\n readonly isPlatformBrowser = isPlatformBrowser(this.platformId);\n readonly templateRef = inject(TemplateRef<unknown>)\n}\n\n@Directive({standalone: true, selector: '[right], [rightColumn]'})\nexport class RightColumn {\n readonly platformId = inject(PLATFORM_ID);\n readonly isPlatformBrowser = isPlatformBrowser(this.platformId);\n readonly templateRef = inject(TemplateRef<unknown>)\n}\n\n@Component({\n selector: 'frames-columns',\n standalone: true,\n imports: [\n NgTemplateOutlet,\n ],\n template: `\n @if(left()?.templateRef && left()?.isPlatformBrowser) {\n <div class=\"left container\">\n <ng-container [ngTemplateOutlet]=\"left()?.templateRef\" />\n </div>\n }\n\n @if (main()?.templateRef && main()?.isPlatformBrowser) {\n <main class=\"main container\">\n <ng-container [ngTemplateOutlet]=\"main()?.templateRef\" />\n </main>\n }\n \n @if (right()?.templateRef && right()?.isPlatformBrowser) {\n <div class=\"right container\">\n <ng-container [ngTemplateOutlet]=\"right()?.templateRef\" />\n </div>\n }\n `,\n styleUrl: './columns.frame.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: ColumnsFrameStore,\n inputs: ['type'],\n }\n ],\n host: {\n '[attr.type]': 'store.type()',\n },\n})\nexport class ColumnsFrame extends NgAtomicComponent {\n protected readonly platformId = inject(PLATFORM_ID);\n protected readonly store = inject(ColumnsFrameStore);\n protected readonly left = contentChild(LeftColumn);\n protected readonly main = contentChild(MainColumn);\n protected readonly right = contentChild(RightColumn);\n}\n\n@NgModule({\n imports: [\n // ColumnsFrameStore,\n ColumnsFrame,\n LeftColumn,\n MainColumn,\n RightColumn,\n ],\n exports: [\n // ColumnsFrameStore,\n ColumnsFrame,\n LeftColumn,\n MainColumn,\n RightColumn,\n ]\n})\nexport class ColumnsFrameModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAOO,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,mBAAmB,CAAA;AAAnD,IAAA,WAAA,GAAA;;AAWI,QAAA,IAAA,CAAA,MAAM,GAAG,mBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AAC3C,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAmB,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9E,KAAA;;aAZiB,IAAM,CAAA,MAAA,GAAG,UAAU,CAAC,MAAM,CAAC,OAAO,KAAI;QACpD,MAAM,OAAO,GAAG,MAAuB;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-columns.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/columns/columns.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/columns/ng-atomic-components-frames-columns.ts"],"sourcesContent":["import { isPlatformBrowser, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Directive, NgModule, PLATFORM_ID, TemplateRef, contentChild, inject, input } from '@angular/core';\nimport { makeConfig } from '@ng-atomic/common/services/ui';\nimport { InjectableComponent, NgAtomicComponent, TokenizedType, _computed } from '@ng-atomic/core';\n\n@TokenizedType()\n@Directive({standalone: true, selector: 'frames-columns'})\nexport class ColumnsFrameStore extends InjectableComponent {\n static readonly Config = makeConfig(() => (context) => {\n const getType = (): 'row' | 'column' => {\n switch (context.breakpoint) {\n case 'xSmall':\n case 'small': return 'column';\n default: return 'row';\n }\n }\n return { type: getType() };\n }, ['components', 'frames', 'columns']);\n readonly config = ColumnsFrameStore.Config.inject();\n readonly type = input<'row' | 'column'>(_computed(() => this.config().type));\n}\n\n@Directive({standalone: true, selector: '[left], [leftColumn]'})\nexport class LeftColumn {\n readonly platformId = inject(PLATFORM_ID);\n readonly isPlatformBrowser = isPlatformBrowser(this.platformId);\n readonly templateRef = inject(TemplateRef<unknown>)\n}\n\n@Directive({\n standalone: true,\n selector: '[main], [mainColumn]',\n})\nexport class MainColumn {\n readonly platformId = inject(PLATFORM_ID);\n readonly isPlatformBrowser = isPlatformBrowser(this.platformId);\n readonly templateRef = inject(TemplateRef<unknown>)\n}\n\n@Directive({standalone: true, selector: '[right], [rightColumn]'})\nexport class RightColumn {\n readonly platformId = inject(PLATFORM_ID);\n readonly isPlatformBrowser = isPlatformBrowser(this.platformId);\n readonly templateRef = inject(TemplateRef<unknown>)\n}\n\n@Component({\n selector: 'frames-columns',\n standalone: true,\n imports: [\n NgTemplateOutlet,\n ],\n template: `\n @if(left()?.templateRef && left()?.isPlatformBrowser) {\n <div class=\"left container\">\n <ng-container [ngTemplateOutlet]=\"left()?.templateRef\" />\n </div>\n }\n\n @if (main()?.templateRef && main()?.isPlatformBrowser) {\n <main class=\"main container\">\n <ng-container [ngTemplateOutlet]=\"main()?.templateRef\" />\n </main>\n }\n \n @if (right()?.templateRef && right()?.isPlatformBrowser) {\n <div class=\"right container\">\n <ng-container [ngTemplateOutlet]=\"right()?.templateRef\" />\n </div>\n }\n `,\n styleUrl: './columns.frame.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: ColumnsFrameStore,\n inputs: ['type'],\n }\n ],\n host: {\n '[attr.type]': 'store.type()',\n },\n})\nexport class ColumnsFrame extends NgAtomicComponent {\n protected readonly platformId = inject(PLATFORM_ID);\n protected readonly store = inject(ColumnsFrameStore);\n protected readonly left = contentChild(LeftColumn);\n protected readonly main = contentChild(MainColumn);\n protected readonly right = contentChild(RightColumn);\n}\n\n@NgModule({\n imports: [\n // ColumnsFrameStore,\n ColumnsFrame,\n LeftColumn,\n MainColumn,\n RightColumn,\n ],\n exports: [\n // ColumnsFrameStore,\n ColumnsFrame,\n LeftColumn,\n MainColumn,\n RightColumn,\n ]\n})\nexport class ColumnsFrameModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAOO,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,mBAAmB,CAAA;AAAnD,IAAA,WAAA,GAAA;;AAWI,QAAA,IAAA,CAAA,MAAM,GAAG,mBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AAC3C,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAmB,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9E,KAAA;;aAZiB,IAAM,CAAA,MAAA,GAAG,UAAU,CAAC,MAAM,CAAC,OAAO,KAAI;QACpD,MAAM,OAAO,GAAG,MAAuB;AACrC,YAAA,QAAQ,OAAO,CAAC,UAAU;AACxB,gBAAA,KAAK,QAAQ,CAAC;AACd,gBAAA,KAAK,OAAO,EAAE,OAAO,QAAQ,CAAC;AAC9B,gBAAA,SAAS,OAAO,KAAK,CAAC;aACvB;AACH,SAAC,CAAA;AACD,QAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC;KAC5B,EAAE,CAAC,YAAY,EAAE,QAAQ,EAAE,SAAS,CAAC,CAThB,CASkB,EAAA;8GAV7B,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,e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AAA,OAAO,EAAE;;wBAEP,YAAY;wBACZ,UAAU;wBACV,UAAU;wBACV,WAAW;AACZ,qBAAA;AACF,iBAAA,CAAA;;;AC1GD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, viewChild, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
+
import { inject, ElementRef, viewChild, signal, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/material/divider';
|
|
4
4
|
import { MatDividerModule } from '@angular/material/divider';
|
|
5
5
|
import { CdkDrag } from '@angular/cdk/drag-drop';
|
|
@@ -17,9 +17,11 @@ class DividerFrame extends NgAtomicComponent {
|
|
|
17
17
|
this.el = inject(ElementRef);
|
|
18
18
|
this.firstContent = viewChild('first', { read: ElementRef });
|
|
19
19
|
this.divider = viewChild.required('el', { read: ElementRef });
|
|
20
|
+
this.dragging = signal(false);
|
|
20
21
|
}
|
|
21
22
|
static { this.ActionId = ActionId; }
|
|
22
23
|
onDragStart($event) {
|
|
24
|
+
this.dragging.set(true);
|
|
23
25
|
this.dispatch({ id: ActionId.DRAG_STARTED, payload: $event }, 'default');
|
|
24
26
|
const parentRect = this.divider().nativeElement.parentElement.getBoundingClientRect();
|
|
25
27
|
const elementRect = this.divider().nativeElement.getBoundingClientRect();
|
|
@@ -32,6 +34,7 @@ class DividerFrame extends NgAtomicComponent {
|
|
|
32
34
|
this.setFirstContentHeight(height, 'px');
|
|
33
35
|
}
|
|
34
36
|
onDragEnd($event) {
|
|
37
|
+
this.dragging.set(false);
|
|
35
38
|
this.dispatch({ id: ActionId.DRAG_ENDED, payload: $event }, 'default');
|
|
36
39
|
}
|
|
37
40
|
setFirstContentHeight(height, unit = 'px', { animate = false } = {}) {
|
|
@@ -41,10 +44,11 @@ class DividerFrame extends NgAtomicComponent {
|
|
|
41
44
|
}
|
|
42
45
|
this.el.nativeElement.style.setProperty('--first-content-height', `${height}${unit}`);
|
|
43
46
|
}
|
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
46
|
-
<div class="first" #first>
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DividerFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: DividerFrame, isStandalone: true, selector: "frames-divider", viewQueries: [{ propertyName: "firstContent", first: true, predicate: ["first"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "divider", first: true, predicate: ["el"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
49
|
+
<div class="first container" #first>
|
|
47
50
|
<ng-content select="[first]"></ng-content>
|
|
51
|
+
@if (dragging()) { <div class="cover"></div> }
|
|
48
52
|
</div>
|
|
49
53
|
<mat-divider
|
|
50
54
|
cdkDrag
|
|
@@ -55,20 +59,22 @@ class DividerFrame extends NgAtomicComponent {
|
|
|
55
59
|
(cdkDragEnded)="onDragEnd($event)"
|
|
56
60
|
cdkDragLockAxis="y"
|
|
57
61
|
#el
|
|
58
|
-
|
|
59
|
-
<div class="second">
|
|
62
|
+
/>
|
|
63
|
+
<div class="second container">
|
|
60
64
|
<ng-content select="[second]"></ng-content>
|
|
65
|
+
@if (dragging()) { <div class="cover"></div> }
|
|
61
66
|
</div>
|
|
62
|
-
`, isInline: true, styles: [":host{--first-content-height: 0px;--first-content-height-SCOPED-IN-divider-
|
|
67
|
+
`, isInline: true, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-divider-4YjS: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-divider-4YjS: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-divider-4YjS: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-divider-4YjS: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-divider-4YjS: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-divider-4YjS: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-divider-4YjS: var(--on-surface-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-divider-4YjS: var(--first-content-height);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-divider-4YjS: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-divider-4YjS: var(--max-first-content-height)}:host{position:relative;display:flex;flex-direction:column;height:100%;width:100%}:host .container{position:relative}:host .container.first{height:min(max(var(--first-content-height-SCOPED-IN-divider-4YjS),var(--min-first-content-height-SCOPED-IN-divider-4YjS)),var(--max-first-content-height-SCOPED-IN-divider-4YjS));overflow:hidden;display:flex;flex-direction:column}:host .container.second{display:flex;flex-direction:column;height:calc(100% - min(max(var(--first-content-height-SCOPED-IN-divider-4YjS),var(--min-first-content-height-SCOPED-IN-divider-4YjS)),var(--max-first-content-height-SCOPED-IN-divider-4YjS)));overflow:hidden}:host .container .cover{position:absolute;top:0;left:0;width:100%;height:100%}:host mat-divider{z-index:1000;width:100%;cursor:row-resize;position:relative}:host mat-divider:before{content:\"\";position:absolute;top:-8px;left:0;width:100%;height:8px;background-color:transparent;transition:.1s background-color}:host mat-divider:hover:before{background-color:var(--primary-color-SCOPED-IN-divider-4YjS)}\n"], dependencies: [{ kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
63
68
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DividerFrame, decorators: [{
|
|
65
70
|
type: Component,
|
|
66
71
|
args: [{ selector: 'frames-divider', standalone: true, imports: [
|
|
67
72
|
MatDividerModule,
|
|
68
73
|
CdkDrag,
|
|
69
74
|
], template: `
|
|
70
|
-
<div class="first" #first>
|
|
75
|
+
<div class="first container" #first>
|
|
71
76
|
<ng-content select="[first]"></ng-content>
|
|
77
|
+
@if (dragging()) { <div class="cover"></div> }
|
|
72
78
|
</div>
|
|
73
79
|
<mat-divider
|
|
74
80
|
cdkDrag
|
|
@@ -79,11 +85,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
79
85
|
(cdkDragEnded)="onDragEnd($event)"
|
|
80
86
|
cdkDragLockAxis="y"
|
|
81
87
|
#el
|
|
82
|
-
|
|
83
|
-
<div class="second">
|
|
88
|
+
/>
|
|
89
|
+
<div class="second container">
|
|
84
90
|
<ng-content select="[second]"></ng-content>
|
|
91
|
+
@if (dragging()) { <div class="cover"></div> }
|
|
85
92
|
</div>
|
|
86
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--first-content-height: 0px;--first-content-height-SCOPED-IN-divider-
|
|
93
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--primary-color: #404040;--primary-color-SCOPED-IN-divider-4YjS: var(--primary-color);--secondary-color: #B0B0B0;--secondary-color-SCOPED-IN-divider-4YjS: var(--secondary-color);--background-color: #B0B0B0;--background-color-SCOPED-IN-divider-4YjS: var(--background-color);--on-background-color: #f0f0f0;--on-background-color-SCOPED-IN-divider-4YjS: var(--on-background-color);--surface-color: transparent;--surface-color-SCOPED-IN-divider-4YjS: var(--surface-color);--on-primary-color: #f0f0f0;--on-primary-color-SCOPED-IN-divider-4YjS: var(--on-primary-color);--on-surface-color: #f0f0f0;--on-surface-color-SCOPED-IN-divider-4YjS: var(--on-surface-color);--first-content-height: 0px;--first-content-height-SCOPED-IN-divider-4YjS: var(--first-content-height);--min-first-content-height: 0px;--min-first-content-height-SCOPED-IN-divider-4YjS: var(--min-first-content-height);--max-first-content-height: calc(100% - 80px) ;--max-first-content-height-SCOPED-IN-divider-4YjS: var(--max-first-content-height)}:host{position:relative;display:flex;flex-direction:column;height:100%;width:100%}:host .container{position:relative}:host .container.first{height:min(max(var(--first-content-height-SCOPED-IN-divider-4YjS),var(--min-first-content-height-SCOPED-IN-divider-4YjS)),var(--max-first-content-height-SCOPED-IN-divider-4YjS));overflow:hidden;display:flex;flex-direction:column}:host .container.second{display:flex;flex-direction:column;height:calc(100% - min(max(var(--first-content-height-SCOPED-IN-divider-4YjS),var(--min-first-content-height-SCOPED-IN-divider-4YjS)),var(--max-first-content-height-SCOPED-IN-divider-4YjS)));overflow:hidden}:host .container .cover{position:absolute;top:0;left:0;width:100%;height:100%}:host mat-divider{z-index:1000;width:100%;cursor:row-resize;position:relative}:host mat-divider:before{content:\"\";position:absolute;top:-8px;left:0;width:100%;height:8px;background-color:transparent;transition:.1s background-color}:host mat-divider:hover:before{background-color:var(--primary-color-SCOPED-IN-divider-4YjS)}\n"] }]
|
|
87
94
|
}] });
|
|
88
95
|
|
|
89
96
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-frames-divider.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/divider/divider.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/divider/ng-atomic-components-frames-divider.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, Signal, inject, viewChild } from '@angular/core';\nimport { MatDividerModule } from '@angular/material/divider';\nimport { CdkDrag, CdkDragMove, CdkDragStart } from '@angular/cdk/drag-drop';\nimport { NgAtomicComponent } from '@ng-atomic/core';\n\nenum ActionId {\n DRAG_STARTED = '[@ng-atomic/divider] drag start',\n DRAG_MOVED = '[@ng-atomic/divider] drag move',\n DRAG_ENDED = '[@ng-atomic/divider] drag end',\n}\n\n@Component({\n selector: 'frames-divider',\n standalone: true,\n imports: [\n MatDividerModule,\n CdkDrag,\n ],\n template: `\n <div class=\"first\" #first>\n <ng-content select=\"[first]\"></ng-content>\n </div>\n <mat-divider\n cdkDrag\n cdkDragHandle\n [cdkDragStartDelay]=\"0\"\n (cdkDragStarted)=\"onDragStart($event)\"\n (cdkDragMoved)=\"onDragMoved($event)\"\n (cdkDragEnded)=\"onDragEnd($event)\"\n cdkDragLockAxis=\"y\"\n #el\n
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-frames-divider.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/frames/divider/divider.frame.ts","../../../../../packages/@ng-atomic/components/src/lib/frames/divider/ng-atomic-components-frames-divider.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, Signal, inject, signal, viewChild } from '@angular/core';\nimport { MatDividerModule } from '@angular/material/divider';\nimport { CdkDrag, CdkDragMove, CdkDragStart } from '@angular/cdk/drag-drop';\nimport { NgAtomicComponent } from '@ng-atomic/core';\n\nenum ActionId {\n DRAG_STARTED = '[@ng-atomic/divider] drag start',\n DRAG_MOVED = '[@ng-atomic/divider] drag move',\n DRAG_ENDED = '[@ng-atomic/divider] drag end',\n}\n\n@Component({\n selector: 'frames-divider',\n standalone: true,\n imports: [\n MatDividerModule,\n CdkDrag,\n ],\n template: `\n <div class=\"first container\" #first>\n <ng-content select=\"[first]\"></ng-content>\n @if (dragging()) { <div class=\"cover\"></div> }\n </div>\n <mat-divider\n cdkDrag\n cdkDragHandle\n [cdkDragStartDelay]=\"0\"\n (cdkDragStarted)=\"onDragStart($event)\"\n (cdkDragMoved)=\"onDragMoved($event)\"\n (cdkDragEnded)=\"onDragEnd($event)\"\n cdkDragLockAxis=\"y\"\n #el\n />\n <div class=\"second container\">\n <ng-content select=\"[second]\"></ng-content>\n @if (dragging()) { <div class=\"cover\"></div> }\n </div>\n `,\n styleUrls: ['./divider.frame.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DividerFrame extends NgAtomicComponent {\n static ActionId = ActionId;\n\n private el = inject<ElementRef<HTMLElement>>(ElementRef);\n protected firstContentHeight: number;\n readonly firstContent: Signal<ElementRef<HTMLDivElement>> = viewChild('first', {read: ElementRef});\n readonly divider: Signal<ElementRef<HTMLDivElement>> = viewChild.required('el', {read: ElementRef});\n readonly dragging = signal(false);\n\n protected onDragStart($event: CdkDragStart) {\n this.dragging.set(true);\n this.dispatch({id: ActionId.DRAG_STARTED, payload: $event}, 'default');\n const parentRect = this.divider().nativeElement.parentElement.getBoundingClientRect();\n const elementRect = this.divider().nativeElement.getBoundingClientRect();\n this.firstContentHeight = elementRect.top - parentRect.top;\n }\n\n protected onDragMoved($event: CdkDragMove) {\n this.dispatch({id: ActionId.DRAG_MOVED, payload: $event}, 'default');\n this.divider().nativeElement.style.transform = `translate3d(0, 0, 0)`;\n const height = Math.max(1, this.firstContentHeight + $event.distance.y);\n this.setFirstContentHeight(height, 'px');\n }\n\n protected onDragEnd($event: CdkDragMove) {\n this.dragging.set(false);\n this.dispatch({id: ActionId.DRAG_ENDED, payload: $event}, 'default');\n }\n\n setFirstContentHeight(height: number, unit: 'px' | '%' = 'px', {\n animate = false\n }: {animate?: boolean} = {}) {\n if (this.firstContent() && animate) {\n this.firstContent().nativeElement.style.transition = 'height 0.5s';\n setTimeout(() => this.firstContent().nativeElement.style.transition = 'none', 500);\n }\n this.el.nativeElement.style.setProperty('--first-content-height', `${height}${unit}`);\n }\n}\n","/**\n * Generated bundle index. Do not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A,CAAA,gBAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,eAAA,EAAA,gBAAA,EAAA,cAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAyBE,YAAY,EAAA,UAAA,EAAA,CAAA;kBA9BxB,SAAS;+BACE,gBAAgB,EAAA,UAAA,EACd,IAAI,EACP,OAAA,EAAA;wBACP,gBAAgB;wBAChB,OAAO;qBACR,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;GAmBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,qgEAAA,CAAA,EAAA,CAAA;;;ACvCjD;;AAEG;;;;"}
|
|
@@ -13,13 +13,13 @@ let DrawerFrameStore = class DrawerFrameStore extends InjectableComponent {
|
|
|
13
13
|
this.hasBackdrop = input(true);
|
|
14
14
|
this.position = input('start');
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DrawerFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: DrawerFrameStore, isStandalone: true, selector: "frames-drawer", inputs: { opened: { classPropertyName: "opened", publicName: "opened", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, hasBackdrop: { classPropertyName: "hasBackdrop", publicName: "hasBackdrop", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
18
18
|
};
|
|
19
19
|
DrawerFrameStore = __decorate([
|
|
20
20
|
TokenizedType()
|
|
21
21
|
], DrawerFrameStore);
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DrawerFrameStore, decorators: [{
|
|
23
23
|
type: Directive,
|
|
24
24
|
args: [{ standalone: true, selector: 'frames-drawer' }]
|
|
25
25
|
}] });
|
|
@@ -28,8 +28,8 @@ class DrawerFrame extends NgAtomicComponent {
|
|
|
28
28
|
super(...arguments);
|
|
29
29
|
this.store = inject(DrawerFrameStore);
|
|
30
30
|
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DrawerFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: DrawerFrame, isStandalone: true, selector: "frames-drawer", usesInheritance: true, hostDirectives: [{ directive: DrawerFrameStore, inputs: ["opened", "opened", "mode", "mode", "hasBackdrop", "hasBackdrop", "position", "position"] }], ngImport: i0, template: `
|
|
33
33
|
<mat-drawer-container [autosize]="false" [hasBackdrop]="store.hasBackdrop()">
|
|
34
34
|
<mat-drawer #drawer [opened]="store.opened()" [mode]="store.mode()" [position]="store.position()">
|
|
35
35
|
<ng-content select=[drawer] />
|
|
@@ -37,9 +37,9 @@ class DrawerFrame extends NgAtomicComponent {
|
|
|
37
37
|
<mat-drawer-content>
|
|
38
38
|
<ng-content select=[contents] />
|
|
39
39
|
</mat-drawer-content>
|
|
40
|
-
</mat-drawer-container>`, isInline: true, styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-
|
|
40
|
+
</mat-drawer-container>`, isInline: true, styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-vXv4: var(--content-width);--height: 100%;--height-SCOPED-IN-drawer-vXv4: var(--height);--background-color: #f0f0f0;--background-color-SCOPED-IN-drawer-vXv4: var(--background-color);--surface-color: transparent;--surface-color-SCOPED-IN-drawer-vXv4: var(--surface-color)}:host{display:contents;height:var(--height-SCOPED-IN-drawer-vXv4)}:host mat-drawer{background-color:var(--background-color-SCOPED-IN-drawer-vXv4)}:host mat-drawer-container{--mat-sidenav-content-background-color: transparent;width:100%;height:100%}:host mat-drawer-content{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatSidenavModule }, { kind: "component", type: i1.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i1.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i1.MatDrawerContent, selector: "mat-drawer-content" }], 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: DrawerFrame, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ selector: 'frames-drawer', standalone: true, imports: [
|
|
45
45
|
MatSidenavModule,
|
|
@@ -56,7 +56,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
56
56
|
directive: DrawerFrameStore,
|
|
57
57
|
inputs: ['opened', 'mode', 'hasBackdrop', 'position'],
|
|
58
58
|
}
|
|
59
|
-
], styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-
|
|
59
|
+
], styles: [":host{--content-width: 360px;--content-width-SCOPED-IN-drawer-vXv4: var(--content-width);--height: 100%;--height-SCOPED-IN-drawer-vXv4: var(--height);--background-color: #f0f0f0;--background-color-SCOPED-IN-drawer-vXv4: var(--background-color);--surface-color: transparent;--surface-color-SCOPED-IN-drawer-vXv4: var(--surface-color)}:host{display:contents;height:var(--height-SCOPED-IN-drawer-vXv4)}:host mat-drawer{background-color:var(--background-color-SCOPED-IN-drawer-vXv4)}:host mat-drawer-container{--mat-sidenav-content-background-color: transparent;width:100%;height:100%}:host mat-drawer-content{width:100%;height:100%}\n"] }]
|
|
60
60
|
}] });
|
|
61
61
|
|
|
62
62
|
/**
|
|
@@ -16,10 +16,10 @@ class EntranceFrameStore extends InjectableComponent {
|
|
|
16
16
|
}));
|
|
17
17
|
this.title = input('ログイン');
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: EntranceFrameStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: EntranceFrameStore, isStandalone: true, inputs: { isEntrance: { classPropertyName: "isEntrance", publicName: "isEntrance", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: EntranceFrameStore, decorators: [{
|
|
23
23
|
type: Directive,
|
|
24
24
|
args: [{ standalone: true }]
|
|
25
25
|
}] });
|
|
@@ -28,8 +28,8 @@ class EntranceFrame extends NgAtomicComponent {
|
|
|
28
28
|
super(...arguments);
|
|
29
29
|
this.store = inject(EntranceFrameStore);
|
|
30
30
|
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: EntranceFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: EntranceFrame, isStandalone: true, selector: "frames-entrance", usesInheritance: true, hostDirectives: [{ directive: EntranceFrameStore, inputs: ["isEntrance", "isEntrance", "actions", "actions", "form", "form", "title", "title"] }], ngImport: i0, template: `
|
|
33
33
|
<frames-overlay
|
|
34
34
|
[hasNext]="store.isEntrance()"
|
|
35
35
|
[animationType]="'fade'"
|
|
@@ -43,9 +43,9 @@ class EntranceFrame extends NgAtomicComponent {
|
|
|
43
43
|
(action)="dispatch($event)"
|
|
44
44
|
/>
|
|
45
45
|
</frames-overlay>
|
|
46
|
-
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-entrance-
|
|
46
|
+
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-entrance-f28J: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-entrance-f28J: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-entrance-f28J: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-entrance-f28J: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-entrance-f28J: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-entrance-f28J: var(--on-background-color);--menu-width: inherit;--menu-width-SCOPED-IN-entrance-f28J: var(--menu-width);--menu-background-color: inherit;--menu-background-color-SCOPED-IN-entrance-f28J: var(--menu-background-color);--menu-on-background-color: inherit;--menu-on-background-color-SCOPED-IN-entrance-f28J: var(--menu-on-background-color);--background-primary-color: inherit;--background-primary-color-SCOPED-IN-entrance-f28J: var(--background-primary-color);--background-on-primary-color: inherit;--background-on-primary-color-SCOPED-IN-entrance-f28J: var(--background-on-primary-color);--background-background-color: inherit;--background-background-color-SCOPED-IN-entrance-f28J: var(--background-background-color)}:host{display:block;width:100%;height:100%}:host templates-entrance{position:relative;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-entrance-f28J);--on-primary-color: var(--on-primary-color-SCOPED-IN-entrance-f28J);--surface-color: var(--surface-color-SCOPED-IN-entrance-f28J);--on-surface-color: var(--on-surface-color-SCOPED-IN-entrance-f28J);--background-color: var(--background-color-SCOPED-IN-entrance-f28J);--on-background-color: var(--on-background-color-SCOPED-IN-entrance-f28J);--menu-background-color: var(--menu-background-color-SCOPED-IN-entrance-f28J);--menu-on-background-color: var(--menu-on-background-color-SCOPED-IN-entrance-f28J)}\n"], dependencies: [{ kind: "component", type: OverlayFrame, selector: "frames-overlay" }, { kind: "directive", type: EntranceTemplateStore, selector: "templates-entrance", inputs: ["form", "actions", "fieldMap", "title"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
47
47
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: EntranceFrame, decorators: [{
|
|
49
49
|
type: Component,
|
|
50
50
|
args: [{ selector: 'frames-entrance', standalone: true, imports: [
|
|
51
51
|
OverlayFrame,
|
|
@@ -69,7 +69,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
69
69
|
directive: EntranceFrameStore,
|
|
70
70
|
inputs: ['isEntrance', 'actions', 'form', 'title'],
|
|
71
71
|
},
|
|
72
|
-
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-entrance-
|
|
72
|
+
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-entrance-f28J: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-entrance-f28J: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-entrance-f28J: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-entrance-f28J: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-entrance-f28J: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-entrance-f28J: var(--on-background-color);--menu-width: inherit;--menu-width-SCOPED-IN-entrance-f28J: var(--menu-width);--menu-background-color: inherit;--menu-background-color-SCOPED-IN-entrance-f28J: var(--menu-background-color);--menu-on-background-color: inherit;--menu-on-background-color-SCOPED-IN-entrance-f28J: var(--menu-on-background-color);--background-primary-color: inherit;--background-primary-color-SCOPED-IN-entrance-f28J: var(--background-primary-color);--background-on-primary-color: inherit;--background-on-primary-color-SCOPED-IN-entrance-f28J: var(--background-on-primary-color);--background-background-color: inherit;--background-background-color-SCOPED-IN-entrance-f28J: var(--background-background-color)}:host{display:block;width:100%;height:100%}:host templates-entrance{position:relative;width:100%;height:100%}:host *{--primary-color: var(--primary-color-SCOPED-IN-entrance-f28J);--on-primary-color: var(--on-primary-color-SCOPED-IN-entrance-f28J);--surface-color: var(--surface-color-SCOPED-IN-entrance-f28J);--on-surface-color: var(--on-surface-color-SCOPED-IN-entrance-f28J);--background-color: var(--background-color-SCOPED-IN-entrance-f28J);--on-background-color: var(--on-background-color-SCOPED-IN-entrance-f28J);--menu-background-color: var(--menu-background-color-SCOPED-IN-entrance-f28J);--menu-on-background-color: var(--menu-on-background-color-SCOPED-IN-entrance-f28J)}\n"] }]
|
|
73
73
|
}] });
|
|
74
74
|
|
|
75
75
|
/**
|
|
@@ -24,10 +24,10 @@ class FabService {
|
|
|
24
24
|
pop() {
|
|
25
25
|
return this.contexts.pop();
|
|
26
26
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FabService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
28
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FabService, providedIn: 'root' }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FabService, decorators: [{
|
|
31
31
|
type: Injectable,
|
|
32
32
|
args: [{ providedIn: 'root' }]
|
|
33
33
|
}] });
|
|
@@ -44,10 +44,10 @@ class FabFrameStore {
|
|
|
44
44
|
hide: false,
|
|
45
45
|
});
|
|
46
46
|
}, ['components', 'frames', 'fab']); }
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FabFrameStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
48
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: FabFrameStore, isStandalone: true, selector: "frames-fab", inputs: { actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, hide: { classPropertyName: "hide", publicName: "hide", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FabFrameStore, decorators: [{
|
|
51
51
|
type: Directive,
|
|
52
52
|
args: [{ standalone: true, selector: 'frames-fab' }]
|
|
53
53
|
}] });
|
|
@@ -57,17 +57,17 @@ class FabFrame extends NgAtomicComponent {
|
|
|
57
57
|
this.fab = inject(FabService);
|
|
58
58
|
this.store = inject(FabFrameStore);
|
|
59
59
|
}
|
|
60
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
61
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
60
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FabFrame, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
61
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: FabFrame, isStandalone: true, selector: "frames-fab", host: { properties: { "attr.hide": "store.hide()" } }, usesInheritance: true, hostDirectives: [{ directive: FabFrameStore, inputs: ["actions", "actions", "hide", "hide"] }], ngImport: i0, template: `
|
|
62
62
|
<ng-content></ng-content>
|
|
63
63
|
@for (action of store.actions(); track action.id) {
|
|
64
64
|
<button mat-fab [color]="action?.color ?? 'primary'" (click)="dispatch(action)">
|
|
65
65
|
<mat-icon>{{ action?.icon ?? 'add' }}</mat-icon>
|
|
66
66
|
</button>
|
|
67
67
|
}
|
|
68
|
-
`, isInline: true, styles: [":host{--primary-color: #039be5;--primary-color-SCOPED-IN-fab-
|
|
68
|
+
`, isInline: true, styles: [":host{--primary-color: #039be5;--primary-color-SCOPED-IN-fab-4Num: var(--primary-color);--container-color: var(--primary-color-SCOPED-IN-fab-4Num);--container-color-SCOPED-IN-fab-4Num: var(--container-color);--icon-color: #fff;--icon-color-SCOPED-IN-fab-4Num: var(--icon-color);--fab-button-bottom: 16px;--fab-button-bottom-SCOPED-IN-fab-4Num: var(--fab-button-bottom);--fab-button-right: 16px;--fab-button-right-SCOPED-IN-fab-4Num: var(--fab-button-right)}:host{display:block;width:100%;height:100%;position:relative}:host button{position:absolute;z-index:2000;bottom:var(--fab-button-bottom-SCOPED-IN-fab-4Num);right:var(--fab-button-right-SCOPED-IN-fab-4Num);transition:all .3s ease;--mdc-fab-container-color: var(--container-color);--mdc-fab-icon-color: var(--icon-color);--mat-mdc-fab-color: var(--icon-color)}:host[hide=true] button{bottom:-120px}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatFabButton, selector: "button[mat-fab]", inputs: ["extended"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
69
69
|
}
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FabFrame, decorators: [{
|
|
71
71
|
type: Component,
|
|
72
72
|
args: [{ selector: 'frames-fab', standalone: true, imports: [
|
|
73
73
|
MatIconModule,
|
|
@@ -86,7 +86,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
86
86
|
},
|
|
87
87
|
], host: {
|
|
88
88
|
'[attr.hide]': 'store.hide()',
|
|
89
|
-
}, styles: [":host{--primary-color: #039be5;--primary-color-SCOPED-IN-fab-
|
|
89
|
+
}, styles: [":host{--primary-color: #039be5;--primary-color-SCOPED-IN-fab-4Num: var(--primary-color);--container-color: var(--primary-color-SCOPED-IN-fab-4Num);--container-color-SCOPED-IN-fab-4Num: var(--container-color);--icon-color: #fff;--icon-color-SCOPED-IN-fab-4Num: var(--icon-color);--fab-button-bottom: 16px;--fab-button-bottom-SCOPED-IN-fab-4Num: var(--fab-button-bottom);--fab-button-right: 16px;--fab-button-right-SCOPED-IN-fab-4Num: var(--fab-button-right)}:host{display:block;width:100%;height:100%;position:relative}:host button{position:absolute;z-index:2000;bottom:var(--fab-button-bottom-SCOPED-IN-fab-4Num);right:var(--fab-button-right-SCOPED-IN-fab-4Num);transition:all .3s ease;--mdc-fab-container-color: var(--container-color);--mdc-fab-icon-color: var(--icon-color);--mat-mdc-fab-color: var(--icon-color)}:host[hide=true] button{bottom:-120px}\n"] }]
|
|
90
90
|
}] });
|
|
91
91
|
|
|
92
92
|
/**
|