@ng-atomic/components 17.14.0 → 18.0.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 +6 -6
- 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 +8 -8
- 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 +6 -6
- 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 +9 -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 +55 -57
- 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 +5 -5
- 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 +7 -7
- 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 +6 -6
- 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 +8 -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 +55 -57
- 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/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/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 +25 -25
- package/templates/form/form.template.d.ts +8 -8
- package/templates/messages/messages.template.d.ts +2 -2
|
@@ -17,13 +17,13 @@ let TextInputSectionOrganismStore = class TextInputSectionOrganismStore extends
|
|
|
17
17
|
this.autoComplete = input([]);
|
|
18
18
|
this.actions = input([]);
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TextInputSectionOrganismStore, isStandalone: true, selector: "organisms-text-input-section", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, autoComplete: { classPropertyName: "autoComplete", publicName: "autoComplete", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
22
22
|
};
|
|
23
23
|
TextInputSectionOrganismStore = __decorate([
|
|
24
24
|
TokenizedType()
|
|
25
25
|
], TextInputSectionOrganismStore);
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputSectionOrganismStore, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{ standalone: true, selector: 'organisms-text-input-section' }]
|
|
29
29
|
}] });
|
|
@@ -32,8 +32,8 @@ class TextInputSectionOrganism extends NgAtomicComponent {
|
|
|
32
32
|
super(...arguments);
|
|
33
33
|
this.store = inject(TextInputSectionOrganismStore);
|
|
34
34
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TextInputSectionOrganism, isStandalone: true, selector: "organisms-text-input-section", usesInheritance: true, hostDirectives: [{ directive: TextInputSectionOrganismStore, inputs: ["label", "label", "placeholder", "placeholder", "type", "type", "hint", "hint", "control", "control", "autoComplete", "autoComplete", "actions", "actions"] }], ngImport: i0, template: `
|
|
37
37
|
<molecules-text-input-field injectable
|
|
38
38
|
[type]="store.type()"
|
|
39
39
|
[control]="store.control()"
|
|
@@ -48,9 +48,9 @@ class TextInputSectionOrganism extends NgAtomicComponent {
|
|
|
48
48
|
(action)="dispatch($event)"
|
|
49
49
|
/>
|
|
50
50
|
}
|
|
51
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
51
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-15Z6: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-15Z6) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-15Z6)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-smart-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"], dependencies: [{ kind: "directive", type: TextInputFieldMoleculeStore, selector: "molecules-text-input-field", inputs: ["appearance", "type", "name", "label", "control", "placeholder", "hint", "pattern", "autoComplete"] }, { kind: "directive", type: SmartMenuButtonAtomStore, selector: "atoms-smart-menu-button", inputs: ["actions", "type"] }] }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextInputSectionOrganism, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{ selector: 'organisms-text-input-section', standalone: true, imports: [
|
|
56
56
|
TextInputFieldMoleculeStore,
|
|
@@ -75,7 +75,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
75
75
|
directive: TextInputSectionOrganismStore,
|
|
76
76
|
inputs: ['label', 'placeholder', 'type', 'hint', 'control', 'autoComplete', 'actions'],
|
|
77
77
|
}
|
|
78
|
-
], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
78
|
+
], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-15Z6: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-15Z6) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-text-input-section-15Z6)}:host .molecule.input-field,:host mat-form-field{width:100%;flex:1fr}:host atoms-smart-menu-button{flex:auto;margin-top:4px;margin-right:-16px}\n"] }]
|
|
79
79
|
}] });
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -10,13 +10,13 @@ let TextPreviewSectionOrganismStore = class TextPreviewSectionOrganismStore exte
|
|
|
10
10
|
this.label = input('label');
|
|
11
11
|
this.value = input('value');
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextPreviewSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TextPreviewSectionOrganismStore, isStandalone: true, selector: "organisms-text-preview-section", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "section organism" }, usesInheritance: true, ngImport: i0 }); }
|
|
15
15
|
};
|
|
16
16
|
TextPreviewSectionOrganismStore = __decorate([
|
|
17
17
|
TokenizedType()
|
|
18
18
|
], TextPreviewSectionOrganismStore);
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextPreviewSectionOrganismStore, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
21
|
args: [{
|
|
22
22
|
standalone: true,
|
|
@@ -30,8 +30,8 @@ class TextPreviewSectionOrganism {
|
|
|
30
30
|
this.labelTemp = contentChild('labelTemp');
|
|
31
31
|
this.valueTemp = contentChild('valueTemp');
|
|
32
32
|
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextPreviewSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TextPreviewSectionOrganism, isStandalone: true, selector: "organisms-text-preview-section", queries: [{ propertyName: "labelTemp", first: true, predicate: ["labelTemp"], descendants: true, isSignal: true }, { propertyName: "valueTemp", first: true, predicate: ["valueTemp"], descendants: true, isSignal: true }], hostDirectives: [{ directive: TextPreviewSectionOrganismStore, inputs: ["label", "label", "value", "value"] }], ngImport: i0, template: `
|
|
35
35
|
<div class="item">
|
|
36
36
|
<div class="title">
|
|
37
37
|
@if (labelTemp()) {
|
|
@@ -49,7 +49,7 @@ class TextPreviewSectionOrganism {
|
|
|
49
49
|
</div>
|
|
50
50
|
</div>`, isInline: true, styles: [":host{display:block}:host .item{display:block;padding:0 16px;font-size:16px}:host .item .title{margin-bottom:4px;font-size:.8em}:host .item .description{font-size:1em}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextPreviewSectionOrganism, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{ selector: 'organisms-text-preview-section', standalone: true, imports: [
|
|
55
55
|
NgTemplateOutlet,
|
|
@@ -18,13 +18,13 @@ let TextareaSectionOrganismStore = class TextareaSectionOrganismStore extends In
|
|
|
18
18
|
this.control = input(new FormControl(''));
|
|
19
19
|
this.actions = input([]);
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
22
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: TextareaSectionOrganismStore, isStandalone: true, selector: "organisms-textarea-section", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
23
23
|
};
|
|
24
24
|
TextareaSectionOrganismStore = __decorate([
|
|
25
25
|
TokenizedType()
|
|
26
26
|
], TextareaSectionOrganismStore);
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaSectionOrganismStore, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{ standalone: true, selector: 'organisms-textarea-section' }]
|
|
30
30
|
}] });
|
|
@@ -33,8 +33,8 @@ class TextareaSectionOrganism extends NgAtomicComponent {
|
|
|
33
33
|
super(...arguments);
|
|
34
34
|
this.store = inject(TextareaSectionOrganismStore);
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TextareaSectionOrganism, isStandalone: true, selector: "organisms-textarea-section", usesInheritance: true, hostDirectives: [{ directive: TextareaSectionOrganismStore, inputs: ["appearance", "appearance", "label", "label", "rows", "rows", "placeholder", "placeholder", "floatLabel", "floatLabel", "hint", "hint", "control", "control", "actions", "actions"] }], ngImport: i0, template: `
|
|
38
38
|
<molecules-textarea-field
|
|
39
39
|
[appearance]="store.appearance()"
|
|
40
40
|
[control]="store.control()"
|
|
@@ -51,9 +51,9 @@ class TextareaSectionOrganism extends NgAtomicComponent {
|
|
|
51
51
|
(action)="dispatch($event)"
|
|
52
52
|
/>
|
|
53
53
|
}
|
|
54
|
-
`, isInline: true, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
54
|
+
`, isInline: true, styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-okM1: var(--vertical-padding)}:host{display:block;width:100%;position:relative;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-okM1);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-smart-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"], dependencies: [{ kind: "component", type: TextareaFieldMolecule, selector: "molecules-textarea-field" }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TextareaSectionOrganism, decorators: [{
|
|
57
57
|
type: Component,
|
|
58
58
|
args: [{ selector: 'organisms-textarea-section', standalone: true, imports: [
|
|
59
59
|
TextareaFieldMolecule,
|
|
@@ -80,7 +80,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
80
80
|
directive: TextareaSectionOrganismStore,
|
|
81
81
|
inputs: ['appearance', 'label', 'rows', 'placeholder', 'floatLabel', 'hint', 'control', 'actions'],
|
|
82
82
|
}
|
|
83
|
-
], styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-
|
|
83
|
+
], styles: [":host{--vertical-padding: 16px;--vertical-padding-SCOPED-IN-textarea-section-okM1: var(--vertical-padding)}:host{display:block;width:100%;position:relative;padding:0 var(--vertical-padding-SCOPED-IN-textarea-section-okM1);box-sizing:border-box}:host molecules-textarea-field{width:100%}:host atoms-smart-menu-button{position:absolute;bottom:4px;right:4px;background-color:#fff}\n"] }]
|
|
84
84
|
}] });
|
|
85
85
|
|
|
86
86
|
/**
|
|
@@ -16,10 +16,10 @@ class ThreadMessagesSectionOrganismStore {
|
|
|
16
16
|
this.noCommentMessage = input('まだコメントはありません。');
|
|
17
17
|
this.commentActions = 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: ThreadMessagesSectionOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: ThreadMessagesSectionOrganismStore, isStandalone: true, inputs: { comments: { classPropertyName: "comments", publicName: "comments", isSignal: true, isRequired: false, transformFunction: null }, noCommentMessage: { classPropertyName: "noCommentMessage", publicName: "noCommentMessage", isSignal: true, isRequired: false, transformFunction: null }, commentActions: { classPropertyName: "commentActions", publicName: "commentActions", isSignal: true, isRequired: false, transformFunction: null } }, 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: ThreadMessagesSectionOrganismStore, decorators: [{
|
|
23
23
|
type: Directive,
|
|
24
24
|
args: [{ standalone: true }]
|
|
25
25
|
}] });
|
|
@@ -28,8 +28,8 @@ class ThreadMessagesSectionOrganism extends NgAtomicComponent {
|
|
|
28
28
|
super(...arguments);
|
|
29
29
|
this.store = inject(ThreadMessagesSectionOrganismStore);
|
|
30
30
|
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ThreadMessagesSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: ThreadMessagesSectionOrganism, isStandalone: true, selector: "organisms-thread-section", usesInheritance: true, hostDirectives: [{ directive: ThreadMessagesSectionOrganismStore, inputs: ["comments", "comments", "noCommentMessage", "noCommentMessage", "commentActions", "commentActions"] }], ngImport: i0, template: `
|
|
33
33
|
@if (store.comments()?.length === 0) {
|
|
34
34
|
<div class="message">
|
|
35
35
|
<div class="content">
|
|
@@ -64,9 +64,9 @@ class ThreadMessagesSectionOrganism extends NgAtomicComponent {
|
|
|
64
64
|
</div>
|
|
65
65
|
<mat-divider />
|
|
66
66
|
}
|
|
67
|
-
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-%COMP%-
|
|
67
|
+
`, isInline: true, styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-%COMP%-HWrT: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-%COMP%-HWrT: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-%COMP%-HWrT: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-%COMP%-HWrT: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-%COMP%-HWrT: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-%COMP%-HWrT: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-%COMP%-HWrT)}:host .message{padding:8px 16px}:host .message .header{display:flex;justify-content:flex-start;align-items:center;padding:8px 0;box-sizing:border-box;gap:8px}:host .message .header .name{font-size:14px;font-weight:700}:host .message .header .description{display:flex;justify-content:flex-start;gap:4px;font-size:12px}:host .message .header img{width:40px;height:40px;border-radius:50%;background-color:var(--primary-color-SCOPED-IN-%COMP%-HWrT)}:host .message .content{font-size:14px;padding-bottom:24px;box-sizing:border-box}:host .message .bottom.actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}:host .message .bottom.actions button{height:32px;padding:0 8px;--mdc-outlined-button-label-text-size: 12px}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: ActionsPipe, name: "resolveActions" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: FallbackSrcDirective, selector: "[fallbackSrc]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ThreadMessagesSectionOrganism, decorators: [{
|
|
70
70
|
type: Component,
|
|
71
71
|
args: [{ selector: 'organisms-thread-section', standalone: true, imports: [
|
|
72
72
|
CommonModule,
|
|
@@ -115,7 +115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
115
115
|
directive: ThreadMessagesSectionOrganismStore,
|
|
116
116
|
inputs: ['comments', 'noCommentMessage', 'commentActions']
|
|
117
117
|
}
|
|
118
|
-
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-%COMP%-
|
|
118
|
+
], styles: [":host{display:block;--primary-color: inherit;--primary-color-SCOPED-IN-%COMP%-HWrT: var(--primary-color);--on-primary-color: inherit;--on-primary-color-SCOPED-IN-%COMP%-HWrT: var(--on-primary-color);--surface-color: inherit;--surface-color-SCOPED-IN-%COMP%-HWrT: var(--surface-color);--on-surface-color: inherit;--on-surface-color-SCOPED-IN-%COMP%-HWrT: var(--on-surface-color);--background-color: inherit;--background-color-SCOPED-IN-%COMP%-HWrT: var(--background-color);--on-background-color: inherit;--on-background-color-SCOPED-IN-%COMP%-HWrT: var(--on-background-color)}:host{display:flex;flex-direction:column;justify-content:flex-start;color:var(--on-surface-color-SCOPED-IN-%COMP%-HWrT)}:host .message{padding:8px 16px}:host .message .header{display:flex;justify-content:flex-start;align-items:center;padding:8px 0;box-sizing:border-box;gap:8px}:host .message .header .name{font-size:14px;font-weight:700}:host .message .header .description{display:flex;justify-content:flex-start;gap:4px;font-size:12px}:host .message .header img{width:40px;height:40px;border-radius:50%;background-color:var(--primary-color-SCOPED-IN-%COMP%-HWrT)}:host .message .content{font-size:14px;padding-bottom:24px;box-sizing:border-box}:host .message .bottom.actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}:host .message .bottom.actions button{height:32px;padding:0 8px;--mdc-outlined-button-label-text-size: 12px}:host mat-divider{width:calc(100% - 16px);box-sizing:border-box;margin:0 8px}\n"] }]
|
|
119
119
|
}] });
|
|
120
120
|
|
|
121
121
|
/**
|
|
@@ -11,8 +11,8 @@ class TimeRangeInputSectionOrganism {
|
|
|
11
11
|
end: ['01:00'],
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TimeRangeInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: TimeRangeInputSectionOrganism, isStandalone: true, selector: "organisms-time-range-input-section", inputs: { control: "control" }, ngImport: i0, template: `
|
|
16
16
|
<molecules-text-input-field
|
|
17
17
|
[label]="'開始範囲時刻'"
|
|
18
18
|
[control]="control.get(['start'])"
|
|
@@ -23,7 +23,7 @@ class TimeRangeInputSectionOrganism {
|
|
|
23
23
|
/>
|
|
24
24
|
`, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;flex-direction:row;padding:0 16px;box-sizing:border-box;gap:8px}:host molecules-text-input-field{width:calc(50% - 4px)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TimeRangeInputSectionOrganism, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
28
|
args: [{ selector: 'organisms-time-range-input-section', standalone: true, imports: [
|
|
29
29
|
CommonModule,
|
|
@@ -23,8 +23,8 @@ class ToolbarOrganism extends NgAtomicComponent {
|
|
|
23
23
|
this.endActions = [];
|
|
24
24
|
}
|
|
25
25
|
static { this.ActionId = ActionId; }
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ToolbarOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: ToolbarOrganism, isStandalone: true, selector: "organisms-toolbar", inputs: { form: "form", actions: "actions", endActions: "endActions" }, usesInheritance: true, ngImport: i0, template: `
|
|
28
28
|
<div class="start">
|
|
29
29
|
<mat-slider min="360" max="1920" step="10">
|
|
30
30
|
<input [formControl]="form.get(['width'])" matSliderThumb>
|
|
@@ -53,7 +53,7 @@ class ToolbarOrganism extends NgAtomicComponent {
|
|
|
53
53
|
</div>
|
|
54
54
|
`, isInline: true, styles: [":host{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:0 8px;width:100%;height:56px;bottom:0;left:0;background:#fff}:host div.start,:host div.end{width:120px}:host .end{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatSliderModule }, { kind: "component", type: i2.MatSlider, selector: "mat-slider", inputs: ["disabled", "discrete", "showTickMarks", "min", "color", "disableRipple", "max", "step", "displayWith"], exportAs: ["matSlider"] }, { kind: "directive", type: i2.MatSliderThumb, selector: "input[matSliderThumb]", inputs: ["value"], outputs: ["valueChange", "dragStart", "dragEnd"], exportAs: ["matSliderThumb"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ToolbarOrganism, decorators: [{
|
|
57
57
|
type: Component,
|
|
58
58
|
args: [{ selector: 'organisms-toolbar', standalone: true, imports: [
|
|
59
59
|
CommonModule,
|
|
@@ -171,8 +171,8 @@ class TreeSectionOrganism {
|
|
|
171
171
|
console.debug('todoItemSelectionToggle', node);
|
|
172
172
|
this.onChange();
|
|
173
173
|
}
|
|
174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
175
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TreeSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
175
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: TreeSectionOrganism, isStandalone: true, selector: "organisms-tree-section", inputs: { data: "data" }, outputs: { action: "action" }, ngImport: i0, template: `
|
|
176
176
|
<mat-tree [dataSource]="dataSource" [treeControl]="treeControl">
|
|
177
177
|
<mat-tree-node *matTreeNodeDef="let node" matTreeNodeToggle matTreeNodePadding>
|
|
178
178
|
<mat-checkbox
|
|
@@ -191,7 +191,7 @@ class TreeSectionOrganism {
|
|
|
191
191
|
</mat-tree>
|
|
192
192
|
`, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatTreeModule }, { kind: "directive", type: i1.MatTreeNodeDef, selector: "[matTreeNodeDef]", inputs: ["matTreeNodeDefWhen", "matTreeNode"] }, { kind: "directive", type: i1.MatTreeNodePadding, selector: "[matTreeNodePadding]", inputs: ["matTreeNodePadding", "matTreeNodePaddingIndent"] }, { kind: "directive", type: i1.MatTreeNodeToggle, selector: "[matTreeNodeToggle]", inputs: ["matTreeNodeToggleRecursive"] }, { kind: "component", type: i1.MatTree, selector: "mat-tree", exportAs: ["matTree"] }, { kind: "directive", type: i1.MatTreeNode, selector: "mat-tree-node", inputs: ["disabled", "tabIndex"], exportAs: ["matTreeNode"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
193
193
|
}
|
|
194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TreeSectionOrganism, decorators: [{
|
|
195
195
|
type: Component,
|
|
196
196
|
args: [{ selector: 'organisms-tree-section', standalone: true, imports: [
|
|
197
197
|
CommonModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-tree-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/tree-section/tree-section.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/tree-section/ng-atomic-components-organisms-tree-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTreeFlatDataSource, MatTreeFlattener, MatTreeModule } from '@angular/material/tree';\nimport { FlatTreeControl } from '@angular/cdk/tree';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport * as gql from 'gql-query-builder';\nimport { Action } from '@ng-atomic/core';\nimport { parse, print } from 'graphql';\n\nfunction format(query: string): string {\n return print(parse(query));\n}\n\nexport class Node {\n children: Node[];\n item: string;\n value?: boolean | string;\n}\n\nexport class FlatNode {\n item: string;\n level: number;\n expandable: boolean;\n}\n\nexport enum ActionId {\n CHANGE_QUERY = '[@ng-atomic/components/organisms/tree-section] Change Query',\n}\n\n@Component({\n selector: 'organisms-tree-section',\n standalone: true,\n imports: [\n CommonModule,\n MatTreeModule,\n MatButtonModule,\n MatIconModule,\n MatCheckboxModule,\n ],\n template: `\n <mat-tree [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodeToggle matTreeNodePadding>\n <mat-checkbox\n class=\"checklist-leaf-node\"\n [checked]=\"selection.isSelected(node)\"\n (change)=\"todoLeafItemSelectionToggle(node)\"\n >{{ node.item }} (a)</mat-checkbox>\n </mat-tree-node>\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding>\n <mat-checkbox\n [checked]=\"descendantsAllSelected(node)\"\n [indeterminate]=\"descendantsPartiallySelected(node)\"\n (change)=\"nodeSelectionToggle(node)\"\n >{{ node.item }} (b)</mat-checkbox>\n </mat-tree-node>\n </mat-tree>\n `,\n styleUrls: ['./tree-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TreeSectionOrganism {\n flatNodeMap = new Map<FlatNode, Node>();\n nestedNodeMap = new Map<Node, FlatNode>();\n getLevel = (node: FlatNode) => node.level;\n isExpandable = (node: FlatNode) => node.expandable;\n treeControl = new FlatTreeControl<FlatNode>(this.getLevel, this.isExpandable);\n hasChild = (_: number, _nodeData: FlatNode) => _nodeData.expandable;\n getChildren = (node: Node): Node[] => node.children;\n transformer = (node: Node, level: number) => {\n const existingNode = this.nestedNodeMap.get(node);\n const flatNode =\n existingNode && existingNode.item === node.item ? existingNode : new FlatNode();\n flatNode.item = node.item;\n flatNode.level = level;\n flatNode.expandable = !!node.children?.length;\n\n this.flatNodeMap.set(flatNode, node);\n this.nestedNodeMap.set(node, flatNode);\n return flatNode;\n };\n treeFlattener = new MatTreeFlattener(\n this.transformer,\n this.getLevel,\n this.isExpandable,\n this.getChildren,\n );\n dataSource = new MatTreeFlatDataSource(this.treeControl, this.treeFlattener);\n\n selection = new SelectionModel<FlatNode>(true);\n\n buildNode(obj: {[key: string]: any}, level: number): Node[] {\n return Object.keys(obj).reduce<Node[]>((accumulator, key) => {\n const value = obj[key];\n const node = new Node();\n node.item = key;\n\n if (value != null) {\n if (typeof value === 'object') {\n node.children = this.buildNode(value, level + 1);\n } else {\n node.item = value;\n }\n }\n\n return accumulator.concat(node);\n }, []);\n }\n\n buildValueNode(nodes: Node[]): Node[] {\n return (nodes ?? []).map(node => {\n const flatNode = this.nestedNodeMap.get(node);\n node.value = this.selection.isSelected(flatNode);\n node.children = this.buildValueNode(node.children);\n return node;\n });\n }\n\n buildFields(nodes: Node[]): (string | object)[] {\n return nodes.reduce((acc, node) => {\n if(node.value) {\n if (node?.children?.length) {\n return [...acc, {[node.item]: this.buildFields(node.children)}];\n } else {\n return [...acc, node.item];\n }\n } else {\n return [...acc];\n }\n }, []);\n }\n\n onChange() {\n const nodes = this.buildValueNode(this.dataSource.data ?? []);\n\n const fields = this.buildFields(nodes);\n const options = fields.map(field => ({\n operation: Object.keys(field)[0],\n fields: Object.values(field)[0],\n variables: {\n take: {\n value: 10,\n required: false,\n },\n },\n }))\n\n const query = gql.query(options);\n\n console.debug('parsed:', parse(query.query));\n\n this.action.emit({\n id: ActionId.CHANGE_QUERY,\n payload: {query: format(query.query), variables: query.variables},\n });\n console.debug('query:', format(query.query));\n }\n\n @Input()\n data: any = {};\n\n @Output()\n action = new EventEmitter<Action>();\n\n ngOnInit() {\n // const TREE_DATA = {\n // Groceries: {\n // 'Almond Meal flour': null,\n // 'Organic eggs': null,\n // 'Protein Powder': null,\n // Fruits: {\n // Apple: null,\n // Berries: ['Blueberry', 'Raspberry'],\n // Orange: null,\n // },\n // },\n // Reminders: [\n // 'Cook dinner',\n // 'Read the Material Design spec',\n // 'Upgrade Application to Angular',\n // {\n // etst: ['test'],\n // }\n // ],\n // };\n this.dataSource.data = this.buildNode(this.data, 0);\n }\n\n todoLeafItemSelectionToggle(node) {\n console.debug('todoItemSelectionToggle', node);\n if (this.selection.isSelected(node)) {\n this.selection.deselect(node);\n this.treeControl.collapse(node);\n } else {\n this.selection.select(node);\n this.treeControl.expand(node);\n }\n this.onChange();\n\n }\n\n /** Whether all the descendants of the node are selected. */\n descendantsAllSelected(node: FlatNode): boolean {\n const descendants = this.treeControl.getDescendants(node);\n const descAllSelected =\n descendants.length > 0 &&\n descendants.every(child => {\n return this.selection.isSelected(child);\n });\n return descAllSelected;\n }\n\n /** Whether part of the descendants are selected */\n descendantsPartiallySelected(node: FlatNode): boolean {\n const descendants = this.treeControl.getDescendants(node);\n const result = descendants.some(child => this.selection.isSelected(child));\n return result && !this.descendantsAllSelected(node);\n }\n\n nodeSelectionToggle(node: FlatNode) {\n console.debug('todoItemSelectionToggle', this.selection.isSelected(node));\n if (this.selection.isSelected(node)) {\n this.selection.deselect(node);\n this.treeControl.collapse(node);\n } else {\n this.selection.select(node);\n this.treeControl.expand(node);\n }\n console.debug('todoItemSelectionToggle', node);\n this.onChange();\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAYA,SAAS,MAAM,CAAC,KAAa,EAAA;AAC3B,IAAA,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAC7B,CAAC;MAEY,IAAI,CAAA;AAIhB,CAAA;MAEY,QAAQ,CAAA;AAIpB,CAAA;IAEW,SAEX;AAFD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,cAAA,CAAA,GAAA,6DAA4E,CAAA;AAC9E,CAAC,EAFW,QAAQ,KAAR,QAAQ,GAEnB,EAAA,CAAA,CAAA,CAAA;MAiCY,mBAAmB,CAAA;AA/BhC,IAAA,WAAA,GAAA;AAgCE,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,GAAG,EAAkB,CAAC;AACxC,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,GAAG,EAAkB,CAAC;QAC1C,IAAQ,CAAA,QAAA,GAAG,CAAC,IAAc,KAAK,IAAI,CAAC,KAAK,CAAC;QAC1C,IAAY,CAAA,YAAA,GAAG,CAAC,IAAc,KAAK,IAAI,CAAC,UAAU,CAAC;AACnD,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,eAAe,CAAW,IAAI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AAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACb,eAAe,EACf,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,aAAa,8BACb,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,WAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,iBAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,eAAA,EAAA,MAAA,EAAA,OAAA,EAAA,eAAA,EAAA,UAAA,EAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,eAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,EAAA,qBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAuBR,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBA/B/B,SAAS;+BACE,wBAAwB,EAAA,UAAA,EACtB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;wBACb,eAAe;wBACf,aAAa;wBACb,iBAAiB;qBAClB,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;GAiBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA;8BAoG/C,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;;;ACnKT;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-tree-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/tree-section/tree-section.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/tree-section/ng-atomic-components-organisms-tree-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, OnInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatTreeFlatDataSource, MatTreeFlattener, MatTreeModule } from '@angular/material/tree';\nimport { FlatTreeControl } from '@angular/cdk/tree';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport * as gql from 'gql-query-builder';\nimport { Action } from '@ng-atomic/core';\nimport { parse, print } from 'graphql';\n\nfunction format(query: string): string {\n return print(parse(query));\n}\n\nexport class Node {\n children: Node[];\n item: string;\n value?: boolean | string;\n}\n\nexport class FlatNode {\n item: string;\n level: number;\n expandable: boolean;\n}\n\nexport enum ActionId {\n CHANGE_QUERY = '[@ng-atomic/components/organisms/tree-section] Change Query',\n}\n\n@Component({\n selector: 'organisms-tree-section',\n standalone: true,\n imports: [\n CommonModule,\n MatTreeModule,\n MatButtonModule,\n MatIconModule,\n MatCheckboxModule,\n ],\n template: `\n <mat-tree [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodeToggle matTreeNodePadding>\n <mat-checkbox\n class=\"checklist-leaf-node\"\n [checked]=\"selection.isSelected(node)\"\n (change)=\"todoLeafItemSelectionToggle(node)\"\n >{{ node.item }} (a)</mat-checkbox>\n </mat-tree-node>\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding>\n <mat-checkbox\n [checked]=\"descendantsAllSelected(node)\"\n [indeterminate]=\"descendantsPartiallySelected(node)\"\n (change)=\"nodeSelectionToggle(node)\"\n >{{ node.item }} (b)</mat-checkbox>\n </mat-tree-node>\n </mat-tree>\n `,\n styleUrls: ['./tree-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TreeSectionOrganism implements OnInit {\n flatNodeMap = new Map<FlatNode, Node>();\n nestedNodeMap = new Map<Node, FlatNode>();\n getLevel = (node: FlatNode) => node.level;\n isExpandable = (node: FlatNode) => node.expandable;\n treeControl = new FlatTreeControl<FlatNode>(this.getLevel, this.isExpandable);\n hasChild = (_: number, _nodeData: FlatNode) => _nodeData.expandable;\n getChildren = (node: Node): Node[] => node.children;\n transformer = (node: Node, level: number) => {\n const existingNode = this.nestedNodeMap.get(node);\n const flatNode =\n existingNode && existingNode.item === node.item ? existingNode : new FlatNode();\n flatNode.item = node.item;\n flatNode.level = level;\n flatNode.expandable = !!node.children?.length;\n\n this.flatNodeMap.set(flatNode, node);\n this.nestedNodeMap.set(node, flatNode);\n return flatNode;\n };\n treeFlattener = new MatTreeFlattener(\n this.transformer,\n this.getLevel,\n this.isExpandable,\n this.getChildren,\n );\n dataSource = new MatTreeFlatDataSource(this.treeControl, this.treeFlattener);\n\n selection = new SelectionModel<FlatNode>(true);\n\n buildNode(obj: {[key: string]: any}, level: number): Node[] {\n return Object.keys(obj).reduce<Node[]>((accumulator, key) => {\n const value = obj[key];\n const node = new Node();\n node.item = key;\n\n if (value != null) {\n if (typeof value === 'object') {\n node.children = this.buildNode(value, level + 1);\n } else {\n node.item = value;\n }\n }\n\n return accumulator.concat(node);\n }, []);\n }\n\n buildValueNode(nodes: Node[]): Node[] {\n return (nodes ?? []).map(node => {\n const flatNode = this.nestedNodeMap.get(node);\n node.value = this.selection.isSelected(flatNode);\n node.children = this.buildValueNode(node.children);\n return node;\n });\n }\n\n buildFields(nodes: Node[]): (string | object)[] {\n return nodes.reduce((acc, node) => {\n if(node.value) {\n if (node?.children?.length) {\n return [...acc, {[node.item]: this.buildFields(node.children)}];\n } else {\n return [...acc, node.item];\n }\n } else {\n return [...acc];\n }\n }, []);\n }\n\n onChange() {\n const nodes = this.buildValueNode(this.dataSource.data ?? []);\n\n const fields = this.buildFields(nodes);\n const options = fields.map(field => ({\n operation: Object.keys(field)[0],\n fields: Object.values(field)[0],\n variables: {\n take: {\n value: 10,\n required: false,\n },\n },\n }))\n\n const query = gql.query(options);\n\n console.debug('parsed:', parse(query.query));\n\n this.action.emit({\n id: ActionId.CHANGE_QUERY,\n payload: {query: format(query.query), variables: query.variables},\n });\n console.debug('query:', format(query.query));\n }\n\n @Input()\n data: any = {};\n\n @Output()\n action = new EventEmitter<Action>();\n\n ngOnInit() {\n // const TREE_DATA = {\n // Groceries: {\n // 'Almond Meal flour': null,\n // 'Organic eggs': null,\n // 'Protein Powder': null,\n // Fruits: {\n // Apple: null,\n // Berries: ['Blueberry', 'Raspberry'],\n // Orange: null,\n // },\n // },\n // Reminders: [\n // 'Cook dinner',\n // 'Read the Material Design spec',\n // 'Upgrade Application to Angular',\n // {\n // etst: ['test'],\n // }\n // ],\n // };\n this.dataSource.data = this.buildNode(this.data, 0);\n }\n\n todoLeafItemSelectionToggle(node) {\n console.debug('todoItemSelectionToggle', node);\n if (this.selection.isSelected(node)) {\n this.selection.deselect(node);\n this.treeControl.collapse(node);\n } else {\n this.selection.select(node);\n this.treeControl.expand(node);\n }\n this.onChange();\n\n }\n\n /** Whether all the descendants of the node are selected. */\n descendantsAllSelected(node: FlatNode): boolean {\n const descendants = this.treeControl.getDescendants(node);\n const descAllSelected =\n descendants.length > 0 &&\n descendants.every(child => {\n return this.selection.isSelected(child);\n });\n return descAllSelected;\n }\n\n /** Whether part of the descendants are selected */\n descendantsPartiallySelected(node: FlatNode): boolean {\n const descendants = this.treeControl.getDescendants(node);\n const result = descendants.some(child => this.selection.isSelected(child));\n return result && !this.descendantsAllSelected(node);\n }\n\n nodeSelectionToggle(node: FlatNode) {\n console.debug('todoItemSelectionToggle', this.selection.isSelected(node));\n if (this.selection.isSelected(node)) {\n this.selection.deselect(node);\n this.treeControl.collapse(node);\n } else {\n this.selection.select(node);\n this.treeControl.expand(node);\n }\n console.debug('todoItemSelectionToggle', node);\n this.onChange();\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAYA,SAA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AA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAuBR,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBA/B/B,SAAS;+BACE,wBAAwB,EAAA,UAAA,EACtB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,aAAa;wBACb,eAAe;wBACf,aAAa;wBACb,iBAAiB;qBAClB,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;GAiBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA;8BAoG/C,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,MAAM,EAAA,CAAA;sBADL,MAAM;;;ACnKT;;AAEG;;;;"}
|
|
@@ -5,10 +5,10 @@ import * as i1 from '@angular/material/divider';
|
|
|
5
5
|
import { MatDividerModule } from '@angular/material/divider';
|
|
6
6
|
|
|
7
7
|
class VerticalDividerOrganism {
|
|
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: VerticalDividerOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: VerticalDividerOrganism, isStandalone: true, selector: "organisms-vertical-divider", ngImport: i0, template: `<mat-divider></mat-divider>`, isInline: true, styles: [":host{display:block}:host{display:block;width:100%;height:1px}:host mat-divider{width:100%;height:1px;margin:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], 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: VerticalDividerOrganism, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'organisms-vertical-divider', standalone: true, imports: [
|
|
14
14
|
CommonModule,
|
|
@@ -10,10 +10,10 @@ class VideoSectionOrganismStore {
|
|
|
10
10
|
this.src = input();
|
|
11
11
|
this.autoplay = input(true);
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VideoSectionOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: VideoSectionOrganismStore, isStandalone: true, inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, autoplay: { classPropertyName: "autoplay", publicName: "autoplay", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VideoSectionOrganismStore, decorators: [{
|
|
17
17
|
type: Directive,
|
|
18
18
|
args: [{ standalone: true }]
|
|
19
19
|
}] });
|
|
@@ -21,10 +21,10 @@ class VideoIdPipe {
|
|
|
21
21
|
transform(src) {
|
|
22
22
|
return new URL(src).searchParams.get('v') ?? '';
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VideoIdPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
25
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: VideoIdPipe, isStandalone: true, name: "videoId" }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VideoIdPipe, decorators: [{
|
|
28
28
|
type: Pipe,
|
|
29
29
|
args: [{ standalone: true, name: 'videoId' }]
|
|
30
30
|
}] });
|
|
@@ -36,10 +36,10 @@ class VideoTypePipe {
|
|
|
36
36
|
return 'youtube';
|
|
37
37
|
return 'video';
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VideoTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
40
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: VideoTypePipe, isStandalone: true, name: "videoType" }); }
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VideoTypePipe, decorators: [{
|
|
43
43
|
type: Pipe,
|
|
44
44
|
args: [{ standalone: true, name: 'videoType' }]
|
|
45
45
|
}] });
|
|
@@ -50,10 +50,10 @@ class StreamDirective {
|
|
|
50
50
|
set stream(stream) {
|
|
51
51
|
this.el.nativeElement.srcObject = stream;
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: StreamDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
54
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: StreamDirective, isStandalone: true, selector: "[stream]", inputs: { stream: "stream" }, ngImport: i0 }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: StreamDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{ standalone: true, selector: '[stream]' }]
|
|
59
59
|
}], propDecorators: { stream: [{
|
|
@@ -78,8 +78,8 @@ class VideoSectionOrganism {
|
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
82
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VideoSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
82
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: VideoSectionOrganism, isStandalone: true, selector: "organisms-video-section", viewQueries: [{ propertyName: "youtubePlayer", first: true, predicate: YouTubePlayer, descendants: true, isSignal: true }, { propertyName: "video", first: true, predicate: ["video"], descendants: true, isSignal: true }], hostDirectives: [{ directive: VideoSectionOrganismStore, inputs: ["src", "src", "autoplay", "autoplay"] }], ngImport: i0, template: `
|
|
83
83
|
@if (store.src() && isPlatformBrowser) {
|
|
84
84
|
@switch (store.src() | videoType) {
|
|
85
85
|
@case ('youtube') {@defer {
|
|
@@ -95,9 +95,9 @@ class VideoSectionOrganism {
|
|
|
95
95
|
} }
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
`, isInline: true, styles: ["@charset \"UTF-8\";:host{display:block}:host{display:block;width:100%;aspect-ratio:16/9;overflow:hidden}:host video{width:100%;height:100%;object-fit:contain;background-color:#000}:host youtube-player{display:block;width:100%;height:100%}:host youtube-player ::ng-deep youtube-player-placeholder{width:100%!important;height:100%!important}:host youtube-player ::ng-deep div[style]{width:100%;height:100%}:host youtube-player ::ng-deep div[style] iframe{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: VideoTypePipe, name: "videoType" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
98
|
+
`, isInline: true, styles: ["@charset \"UTF-8\";:host{display:block}:host{display:block;width:100%;aspect-ratio:16/9;overflow:hidden}:host video{width:100%;height:100%;object-fit:contain;background-color:#000}:host youtube-player{display:block;width:100%;height:100%}:host youtube-player ::ng-deep youtube-player-placeholder{width:100%!important;height:100%!important}:host youtube-player ::ng-deep div[style]{width:100%;height:100%}:host youtube-player ::ng-deep div[style] iframe{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: VideoTypePipe, name: "videoType" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [VideoIdPipe, YouTubePlayer], () => [StreamDirective], null] }); }
|
|
99
99
|
}
|
|
100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: VideoSectionOrganism, decorators: [{
|
|
101
101
|
type: Component,
|
|
102
102
|
args: [{ selector: 'organisms-video-section', standalone: true, imports: [
|
|
103
103
|
CommonModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-video-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/video-section/video-section.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/video-section/ng-atomic-components-organisms-video-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, ElementRef, Input, PLATFORM_ID, Pipe, ViewChild, inject, input, signal, viewChild, PipeTransform } from '@angular/core';\nimport { CommonModule, NgIf, NgSwitch, isPlatformBrowser } from '@angular/common';\nimport { YouTubePlayer } from '@angular/youtube-player';\nimport { filter, interval } from 'rxjs';\nimport { toObservable } from '@angular/core/rxjs-interop';\n\n@Directive({ standalone: true })\nexport class VideoSectionOrganismStore {\n readonly src = input<string | MediaStream>();\n readonly autoplay = input(true);\n}\n\n@Pipe({standalone: true, name: 'videoId'})\nexport class VideoIdPipe implements PipeTransform {\n transform(src: string) {\n return new URL(src).searchParams.get('v') ?? '';\n }\n}\n\n@Pipe({standalone: true, name: 'videoType'})\nexport class VideoTypePipe implements PipeTransform {\n transform(src: string | MediaStream) {\n if (src instanceof MediaStream) return 'stream';\n if (src.includes('youtube')) return 'youtube';\n return 'video';\n }\n}\n@Directive({ standalone: true, selector: '[stream]' })\nexport class StreamDirective {\n protected el = inject(ElementRef);\n\n @Input()\n set stream(stream: MediaStream) {\n this.el.nativeElement.srcObject = stream;\n }\n}\n\n@Component({\n selector: 'organisms-video-section',\n standalone: true,\n imports: [\n CommonModule,\n VideoIdPipe,\n VideoTypePipe,\n YouTubePlayer,\n StreamDirective,\n NgSwitch,\n NgIf,\n ],\n template: `\n @if (store.src() && isPlatformBrowser) {\n @switch (store.src() | videoType) {\n @case ('youtube') {@defer {\n @if (store.src() | videoId) {\n <youtube-player [videoId]=\"store.src() | videoId\" />\n }\n } }\n @case ('stream') { @defer {\n <video #video controls width=\"100%\" [stream]=\"store.src()\" [autoplay]=\"store.autoplay()\"></video>\n } }\n @case ('video') { @defer {\n <video #video controls width=\"100%\" playsinline [src]=\"store.src()\" [autoplay]=\"store.autoplay()\"></video>\n } }\n }\n }\n `,\n styleUrls: ['./video-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: VideoSectionOrganismStore,\n inputs: ['src', 'autoplay'],\n },\n ]\n})\nexport class VideoSectionOrganism {\n protected readonly store = inject(VideoSectionOrganismStore);\n protected readonly width = signal(0);\n protected readonly el = inject(ElementRef);\n protected readonly platformId = inject(PLATFORM_ID);\n protected readonly isPlatformBrowser = isPlatformBrowser(this.platformId);\n\n readonly youtubePlayer = viewChild(YouTubePlayer);\n readonly youtubePlayer$ = toObservable(this.youtubePlayer);\n readonly video = viewChild<ElementRef<HTMLVideoElement>>('video');\n\n videoHeight: number | undefined;\n videoWidth: number | undefined;\n\n readonly interval$ = interval(100);\n\n ngAfterViewInit(): void {\n if (this.isPlatformBrowser) {\n this.youtubePlayer$.pipe(\n filter((player) => !!player),\n ).subscribe((player) => {\n player.width = '100%' as never as number;\n });\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAOa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;QAEW,IAAG,CAAA,GAAA,GAAG,KAAK,EAAwB,CAAC;AACpC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AACjC,KAAA;8GAHY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CA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AG,MAAM,CAAC,CAAC,CAAC,CAAC;AAClB,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,iBAAiB,GAAG,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAEjE,QAAA,IAAA,CAAA,aAAa,GAAG,SAAS,CAAC,aAAa,CAAC,CAAC;AACzC,QAAA,IAAA,CAAA,cAAc,GAAG,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAClD,QAAA,IAAA,CAAA,KAAK,GAAG,SAAS,CAA+B,OAAO,CAAC,CAAC;AAKzD,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;AAWpC,KAAA;IATC,eAAe,GAAA;
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-video-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/video-section/video-section.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/video-section/ng-atomic-components-organisms-video-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, ElementRef, Input, PLATFORM_ID, Pipe, ViewChild, inject, input, signal, viewChild, PipeTransform, AfterViewInit } from '@angular/core';\nimport { CommonModule, NgIf, NgSwitch, isPlatformBrowser } from '@angular/common';\nimport { YouTubePlayer } from '@angular/youtube-player';\nimport { filter, interval } from 'rxjs';\nimport { toObservable } from '@angular/core/rxjs-interop';\n\n@Directive({ standalone: true })\nexport class VideoSectionOrganismStore {\n readonly src = input<string | MediaStream>();\n readonly autoplay = input(true);\n}\n\n@Pipe({standalone: true, name: 'videoId'})\nexport class VideoIdPipe implements PipeTransform {\n transform(src: string) {\n return new URL(src).searchParams.get('v') ?? '';\n }\n}\n\n@Pipe({standalone: true, name: 'videoType'})\nexport class VideoTypePipe implements PipeTransform {\n transform(src: string | MediaStream) {\n if (src instanceof MediaStream) return 'stream';\n if (src.includes('youtube')) return 'youtube';\n return 'video';\n }\n}\n@Directive({ standalone: true, selector: '[stream]' })\nexport class StreamDirective {\n protected el = inject(ElementRef);\n\n @Input()\n set stream(stream: MediaStream) {\n this.el.nativeElement.srcObject = stream;\n }\n}\n\n@Component({\n selector: 'organisms-video-section',\n standalone: true,\n imports: [\n CommonModule,\n VideoIdPipe,\n VideoTypePipe,\n YouTubePlayer,\n StreamDirective,\n NgSwitch,\n NgIf,\n ],\n template: `\n @if (store.src() && isPlatformBrowser) {\n @switch (store.src() | videoType) {\n @case ('youtube') {@defer {\n @if (store.src() | videoId) {\n <youtube-player [videoId]=\"store.src() | videoId\" />\n }\n } }\n @case ('stream') { @defer {\n <video #video controls width=\"100%\" [stream]=\"store.src()\" [autoplay]=\"store.autoplay()\"></video>\n } }\n @case ('video') { @defer {\n <video #video controls width=\"100%\" playsinline [src]=\"store.src()\" [autoplay]=\"store.autoplay()\"></video>\n } }\n }\n }\n `,\n styleUrls: ['./video-section.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: VideoSectionOrganismStore,\n inputs: ['src', 'autoplay'],\n },\n ]\n})\nexport class VideoSectionOrganism implements AfterViewInit {\n protected readonly store = inject(VideoSectionOrganismStore);\n protected readonly width = signal(0);\n protected readonly el = inject(ElementRef);\n protected readonly platformId = inject(PLATFORM_ID);\n protected readonly isPlatformBrowser = isPlatformBrowser(this.platformId);\n\n readonly youtubePlayer = viewChild(YouTubePlayer);\n readonly youtubePlayer$ = toObservable(this.youtubePlayer);\n readonly video = viewChild<ElementRef<HTMLVideoElement>>('video');\n\n videoHeight: number | undefined;\n videoWidth: number | undefined;\n\n readonly interval$ = interval(100);\n\n ngAfterViewInit(): void {\n if (this.isPlatformBrowser) {\n this.youtubePlayer$.pipe(\n filter((player) => !!player),\n ).subscribe((player) => {\n player.width = '100%' as never as number;\n });\n }\n }\n}\n","/**\n * Generated b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aAAa;wBACb,eAAe;wBACf,QAAQ;wBACR,IAAI;qBACL,EACS,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;GAgBT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,yBAAyB;AACpC,4BAAA,MAAM,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC;AAC5B,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,geAAA,CAAA,EAAA,CAAA;;;ACzEH;;AAEG;;;;"}
|
|
@@ -90,11 +90,11 @@ class NgAtomicOrganismsModule {
|
|
|
90
90
|
]
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
94
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
95
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
93
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicOrganismsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
94
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicOrganismsModule, imports: [i1.MarkdownModule] }); }
|
|
95
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicOrganismsModule, imports: [MarkdownModule.forRoot()] }); }
|
|
96
96
|
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: NgAtomicOrganismsModule, decorators: [{
|
|
98
98
|
type: NgModule,
|
|
99
99
|
args: [{
|
|
100
100
|
imports: [
|