@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
|
@@ -14,13 +14,13 @@ let ActionInputSectionOrganismStore = class ActionInputSectionOrganismStore exte
|
|
|
14
14
|
this.actions = input([]);
|
|
15
15
|
this.hint = input(null);
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionInputSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: ActionInputSectionOrganismStore, isStandalone: true, selector: "organisms-action-input-section", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
19
19
|
};
|
|
20
20
|
ActionInputSectionOrganismStore = __decorate([
|
|
21
21
|
TokenizedType()
|
|
22
22
|
], ActionInputSectionOrganismStore);
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionInputSectionOrganismStore, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{ standalone: true, selector: 'organisms-action-input-section' }]
|
|
26
26
|
}] });
|
|
@@ -29,8 +29,8 @@ class ActionInputSectionOrganism extends NgAtomicComponent {
|
|
|
29
29
|
super(...arguments);
|
|
30
30
|
this.store = inject(ActionInputSectionOrganismStore);
|
|
31
31
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionInputSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: ActionInputSectionOrganism, isStandalone: true, selector: "organisms-action-input-section", usesInheritance: true, hostDirectives: [{ directive: ActionInputSectionOrganismStore, inputs: ["control", "control", "label", "label", "placeholder", "placeholder", "actions", "actions", "hint", "hint"] }], ngImport: i0, template: `
|
|
34
34
|
<molecules-action-input-field
|
|
35
35
|
[actions]="store.actions()"
|
|
36
36
|
[control]="store.control()"
|
|
@@ -39,9 +39,9 @@ class ActionInputSectionOrganism extends NgAtomicComponent {
|
|
|
39
39
|
[hint]="store.hint()"
|
|
40
40
|
(action)="dispatch($event)"
|
|
41
41
|
></molecules-action-input-field>
|
|
42
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-input-section-
|
|
42
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-input-section-jRc8: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-input-section-jRc8);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "component", type: ActionInputFieldMolecule, selector: "molecules-action-input-field", inputs: ["appearance", "type", "name", "label", "control", "placeholder", "hint", "actions"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
43
43
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ActionInputSectionOrganism, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
46
|
args: [{ selector: 'organisms-action-input-section', standalone: true, imports: [
|
|
47
47
|
ActionInputFieldMolecule,
|
|
@@ -59,7 +59,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
59
59
|
directive: ActionInputSectionOrganismStore,
|
|
60
60
|
inputs: ['control', 'label', 'placeholder', 'actions', 'hint'],
|
|
61
61
|
}
|
|
62
|
-
], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-input-section-
|
|
62
|
+
], styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-action-input-section-jRc8: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-action-input-section-jRc8);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
63
63
|
}] });
|
|
64
64
|
|
|
65
65
|
/**
|
|
@@ -17,10 +17,10 @@ class AgreementInputSectionOrganismStore extends InjectableComponent {
|
|
|
17
17
|
console.debug('labelTemp:', this.labelTemp());
|
|
18
18
|
});
|
|
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: AgreementInputSectionOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: AgreementInputSectionOrganismStore, isStandalone: true, selector: "organisms-agreement-input-section-store", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelTemp: { classPropertyName: "labelTemp", publicName: "labelTemp", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: AgreementInputSectionOrganismStore, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{ standalone: true, selector: 'organisms-agreement-input-section-store' }]
|
|
26
26
|
}], ctorParameters: () => [] });
|
|
@@ -28,8 +28,8 @@ class AgreementInputSectionOrganism {
|
|
|
28
28
|
constructor() {
|
|
29
29
|
this.store = inject(AgreementInputSectionOrganismStore);
|
|
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: AgreementInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: AgreementInputSectionOrganism, isStandalone: true, selector: "organisms-agreement-input-section", hostDirectives: [{ directive: AgreementInputSectionOrganismStore, inputs: ["control", "control", "label", "label", "labelTemp", "labelTemp"] }], ngImport: i0, template: `
|
|
33
33
|
<mat-checkbox [formControl]="store.control()">
|
|
34
34
|
@if (store.labelTemp()) {
|
|
35
35
|
<ng-container *ngTemplateOutlet="store.labelTemp()" />
|
|
@@ -41,7 +41,7 @@ class AgreementInputSectionOrganism {
|
|
|
41
41
|
</mat-checkbox>
|
|
42
42
|
`, isInline: true, styles: [":host{display:block}:host{display:flex;width:100%;padding:0 8px;box-sizing:border-box;justify-content:flex-start}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1.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"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
43
43
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: AgreementInputSectionOrganism, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
46
|
args: [{ selector: 'organisms-agreement-input-section', standalone: true, imports: [
|
|
47
47
|
NgTemplateOutlet,
|
|
@@ -10,15 +10,15 @@ class CardInputSectionOrganism {
|
|
|
10
10
|
this.label = 'カード番号';
|
|
11
11
|
this.placeholder = 'XXXX-XXXX-XXXX-XXXX';
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: CardInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: CardInputSectionOrganism, isStandalone: true, selector: "organisms-card-input-section", inputs: { control: "control", label: "label", placeholder: "placeholder" }, ngImport: i0, template: "<molecules-text-input-field\n type=\"text\"\n name=\"cardNumber\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-vuwf: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-vuwf);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: CardInputSectionOrganism, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{ selector: 'organisms-card-input-section', standalone: true, imports: [
|
|
19
19
|
CommonModule,
|
|
20
20
|
TextInputFieldMolecule,
|
|
21
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-text-input-field\n type=\"text\"\n name=\"cardNumber\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
21
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-text-input-field\n type=\"text\"\n name=\"cardNumber\"\n [control]=\"control\"\n [label]=\"label\"\n [placeholder]=\"placeholder\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-vuwf: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-vuwf);box-sizing:border-box}:host .molecule.input-field,:host mat-form-field{width:100%}\n"] }]
|
|
22
22
|
}], propDecorators: { control: [{
|
|
23
23
|
type: Input
|
|
24
24
|
}], label: [{
|
|
@@ -8,11 +8,15 @@ class ChipsInputSectionOrganismStore extends InjectableComponent {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
10
10
|
this.control = input(new FormControl(''));
|
|
11
|
+
this.appearance = input('fill');
|
|
12
|
+
this.placeholder = input('status:active');
|
|
13
|
+
this.label = input('フィルター');
|
|
14
|
+
this.hint = input('フィルター条件を入力できます。');
|
|
11
15
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
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: ChipsInputSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: ChipsInputSectionOrganismStore, isStandalone: true, selector: "organisms-chips-input-section", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
14
18
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ChipsInputSectionOrganismStore, decorators: [{
|
|
16
20
|
type: Directive,
|
|
17
21
|
args: [{ standalone: true, selector: 'organisms-chips-input-section' }]
|
|
18
22
|
}] });
|
|
@@ -20,33 +24,39 @@ class ChipsInputSectionOrganism {
|
|
|
20
24
|
constructor() {
|
|
21
25
|
this.store = inject(ChipsInputSectionOrganismStore);
|
|
22
26
|
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ChipsInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: ChipsInputSectionOrganism, isStandalone: true, selector: "organisms-chips-input-section", hostDirectives: [{ directive: ChipsInputSectionOrganismStore, inputs: ["control", "control", "appearance", "appearance", "placeholder", "placeholder", "label", "label", "hint", "hint"] }], ngImport: i0, template: `
|
|
25
29
|
<molecules-chips-input-field injectable
|
|
26
|
-
[appearance]="
|
|
27
|
-
[placeholder]="
|
|
28
|
-
[label]="
|
|
29
|
-
[hint]="
|
|
30
|
+
[appearance]="store.appearance()"
|
|
31
|
+
[placeholder]="store.placeholder()"
|
|
32
|
+
[label]="store.label()"
|
|
33
|
+
[hint]="store.hint()"
|
|
30
34
|
[control]="store.control()"
|
|
31
35
|
/>
|
|
32
36
|
`, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: ChipsInputFieldMoleculeStore, selector: "molecules-chips-input-field", inputs: ["appearance", "control", "floatLabel", "label", "hint", "placeholder", "separators"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
33
37
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: ChipsInputSectionOrganism, decorators: [{
|
|
35
39
|
type: Component,
|
|
36
40
|
args: [{ selector: 'organisms-chips-input-section', standalone: true, imports: [
|
|
37
41
|
ChipsInputFieldMoleculeStore,
|
|
38
42
|
], template: `
|
|
39
43
|
<molecules-chips-input-field injectable
|
|
40
|
-
[appearance]="
|
|
41
|
-
[placeholder]="
|
|
42
|
-
[label]="
|
|
43
|
-
[hint]="
|
|
44
|
+
[appearance]="store.appearance()"
|
|
45
|
+
[placeholder]="store.placeholder()"
|
|
46
|
+
[label]="store.label()"
|
|
47
|
+
[hint]="store.hint()"
|
|
44
48
|
[control]="store.control()"
|
|
45
49
|
/>
|
|
46
50
|
`, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
47
51
|
{
|
|
48
52
|
directive: ChipsInputSectionOrganismStore,
|
|
49
|
-
inputs: [
|
|
53
|
+
inputs: [
|
|
54
|
+
'control',
|
|
55
|
+
'appearance',
|
|
56
|
+
'placeholder',
|
|
57
|
+
'label',
|
|
58
|
+
'hint',
|
|
59
|
+
],
|
|
50
60
|
}
|
|
51
61
|
], styles: [":host{display:block}\n"] }]
|
|
52
62
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-chips-input-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/chips-input-section/chips-input-section.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/chips-input-section/ng-atomic-components-organisms-chips-input-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, inject, input } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { ChipsInputFieldMoleculeStore } from '@ng-atomic/components/molecules/chips-input-field';\nimport { InjectableComponent } from '@ng-atomic/core';\n\n@Directive({standalone: true, selector: 'organisms-chips-input-section'})\nexport class ChipsInputSectionOrganismStore extends InjectableComponent {\n readonly control = input(new FormControl<string>(''));\n}\n\n@Component({\n selector: 'organisms-chips-input-section',\n standalone: true,\n imports: [\n ChipsInputFieldMoleculeStore,\n ],\n template: `\n <molecules-chips-input-field injectable\n [appearance]=\"
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-chips-input-section.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/chips-input-section/chips-input-section.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/chips-input-section/ng-atomic-components-organisms-chips-input-section.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Directive, inject, input } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { ChipsInputFieldMoleculeStore } from '@ng-atomic/components/molecules/chips-input-field';\nimport { InjectableComponent } from '@ng-atomic/core';\n\n@Directive({standalone: true, selector: 'organisms-chips-input-section'})\nexport class ChipsInputSectionOrganismStore extends InjectableComponent {\n readonly control = input(new FormControl<string>(''));\n readonly appearance = input('fill');\n readonly placeholder = input('status:active');\n readonly label = input('フィルター');\n readonly hint = input('フィルター条件を入力できます。');\n}\n\n@Component({\n selector: 'organisms-chips-input-section',\n standalone: true,\n imports: [\n ChipsInputFieldMoleculeStore,\n ],\n template: `\n <molecules-chips-input-field injectable\n [appearance]=\"store.appearance()\"\n [placeholder]=\"store.placeholder()\"\n [label]=\"store.label()\"\n [hint]=\"store.hint()\"\n [control]=\"store.control()\"\n />\n `,\n styleUrl: './chips-input-section.organism.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: ChipsInputSectionOrganismStore,\n inputs: [\n 'control',\n 'appearance',\n 'placeholder',\n 'label',\n 'hint',\n ],\n }\n ]\n})\nexport class ChipsInputSectionOrganism {\n protected store = inject(ChipsInputSectionOrganismStore);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAMM,MAAO,8BAA+B,SAAQ,mBAAmB,CAAA;AADvE,IAAA,WAAA,GAAA;;QAEW,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC,IAAI,WAAW,CAAS,EAAE,CAAC,CAAC,CAAC;AAC7C,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAC3B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,eAAe,CAAC,CAAC;AACrC,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AACvB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAC1C,KAAA;8GANY,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,+BAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAA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AAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAVC,4BAA4B,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,SAAA,EAAA,YAAA,EAAA,OAAA,EAAA,MAAA,EAAA,aAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FA0BnB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBA9BrC,SAAS;+BACE,+BAA+B,EAAA,UAAA,EAC7B,IAAI,EACP,OAAA,EAAA;wBACP,4BAA4B;qBAC7B,EACS,QAAA,EAAA,CAAA;;;;;;;;GAQT,EAEgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAC/B,cAAA,EAAA;AACd,wBAAA;AACE,4BAAA,SAAS,EAAE,8BAA8B;AACzC,4BAAA,MAAM,EAAE;gCACN,SAAS;gCACT,YAAY;gCACZ,aAAa;gCACb,OAAO;gCACP,MAAM;AACP,6BAAA;AACF,yBAAA;AACF,qBAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA;;;AC1CH;;AAEG;;;;"}
|
|
@@ -18,16 +18,16 @@ class CvcAndExpInputSectionOrganism {
|
|
|
18
18
|
cvc: new FormControl(''),
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: CvcAndExpInputSectionOrganism, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: CvcAndExpInputSectionOrganism, isStandalone: true, selector: "organisms-cvc-and-exp-input-section", inputs: { form: "form" }, ngImport: i0, template: "<molecules-select-input-field\n class=\"year field\"\n label=\"\u6709\u52B9\u671F\u9650(\u5E74)\"\n [control]=\"form.get('expYear')\"\n [options]=\"yearOptions\"\n></molecules-select-input-field>\n<molecules-select-input-field\n class=\"month field\"\n label=\"\u6709\u52B9\u671F\u9650(\u6708)\"\n [control]=\"form.get('expMonth')\"\n [options]=\"monthOptions\"\n></molecules-select-input-field>\n<molecules-text-input-field\n class=\"cvc field\"\n type=\"text\"\n name=\"cardNumber\"\n label=\"CVC\"\n placeholder=\"4\u6841\u306E\u756A\u53F7\"\n [control]=\"form.get('cvc')\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-tvBx: var(--horizontal-padding)}:host{display:flex;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-tvBx);box-sizing:border-box}:host .field:not(:first-child){margin-left:8px}:host .year.field,:host .month.field{width:auto}:host .cvc.field{width:100px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: SelectInputFieldMolecule, selector: "molecules-select-input-field" }, { kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
23
|
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: CvcAndExpInputSectionOrganism, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ selector: 'organisms-cvc-and-exp-input-section', standalone: true, imports: [
|
|
27
27
|
CommonModule,
|
|
28
28
|
SelectInputFieldMolecule,
|
|
29
29
|
TextInputFieldMolecule,
|
|
30
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n class=\"year field\"\n label=\"\u6709\u52B9\u671F\u9650(\u5E74)\"\n [control]=\"form.get('expYear')\"\n [options]=\"yearOptions\"\n></molecules-select-input-field>\n<molecules-select-input-field\n class=\"month field\"\n label=\"\u6709\u52B9\u671F\u9650(\u6708)\"\n [control]=\"form.get('expMonth')\"\n [options]=\"monthOptions\"\n></molecules-select-input-field>\n<molecules-text-input-field\n class=\"cvc field\"\n type=\"text\"\n name=\"cardNumber\"\n label=\"CVC\"\n placeholder=\"4\u6841\u306E\u756A\u53F7\"\n [control]=\"form.get('cvc')\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-
|
|
30
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<molecules-select-input-field\n class=\"year field\"\n label=\"\u6709\u52B9\u671F\u9650(\u5E74)\"\n [control]=\"form.get('expYear')\"\n [options]=\"yearOptions\"\n></molecules-select-input-field>\n<molecules-select-input-field\n class=\"month field\"\n label=\"\u6709\u52B9\u671F\u9650(\u6708)\"\n [control]=\"form.get('expMonth')\"\n [options]=\"monthOptions\"\n></molecules-select-input-field>\n<molecules-text-input-field\n class=\"cvc field\"\n type=\"text\"\n name=\"cardNumber\"\n label=\"CVC\"\n placeholder=\"4\u6841\u306E\u756A\u53F7\"\n [control]=\"form.get('cvc')\"\n></molecules-text-input-field>", styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-text-input-section-tvBx: var(--horizontal-padding)}:host{display:flex;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-text-input-section-tvBx);box-sizing:border-box}:host .field:not(:first-child){margin-left:8px}:host .year.field,:host .month.field{width:auto}:host .cvc.field{width:100px}\n"] }]
|
|
31
31
|
}], propDecorators: { form: [{
|
|
32
32
|
type: Input
|
|
33
33
|
}] } });
|
|
@@ -16,13 +16,13 @@ let DateInputSectionOrganismStore = class DateInputSectionOrganismStore extends
|
|
|
16
16
|
this.hint = input(null);
|
|
17
17
|
this.actions = 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: DateInputSectionOrganismStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: DateInputSectionOrganismStore, isStandalone: true, selector: "organisms-date-input-section", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
21
21
|
};
|
|
22
22
|
DateInputSectionOrganismStore = __decorate([
|
|
23
23
|
TokenizedType()
|
|
24
24
|
], DateInputSectionOrganismStore);
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateInputSectionOrganismStore, decorators: [{
|
|
26
26
|
type: Directive,
|
|
27
27
|
args: [{ standalone: true, selector: 'organisms-date-input-section' }]
|
|
28
28
|
}] });
|
|
@@ -31,8 +31,8 @@ class DateInputSectionOrganism extends NgAtomicComponent {
|
|
|
31
31
|
super(...arguments);
|
|
32
32
|
this.store = inject(DateInputSectionOrganismStore);
|
|
33
33
|
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateInputSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: DateInputSectionOrganism, isStandalone: true, selector: "organisms-date-input-section", host: { classAttribute: "organism section" }, usesInheritance: true, hostDirectives: [{ directive: DateInputSectionOrganismStore, inputs: ["control", "control", "label", "label", "placeholder", "placeholder", "hint", "hint", "actions", "actions"] }], ngImport: i0, template: `
|
|
36
36
|
<molecules-date-input-field
|
|
37
37
|
[control]="store.control()"
|
|
38
38
|
[label]="store.label()"
|
|
@@ -45,9 +45,9 @@ class DateInputSectionOrganism extends NgAtomicComponent {
|
|
|
45
45
|
(action)="dispatch($event)"
|
|
46
46
|
/>
|
|
47
47
|
}
|
|
48
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-
|
|
48
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-k966: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-k966) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-date-input-section-k966)}: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: "component", type: DateInputFieldMolecule, selector: "molecules-date-input-field" }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateInputSectionOrganism, decorators: [{
|
|
51
51
|
type: Component,
|
|
52
52
|
args: [{ selector: 'organisms-date-input-section', standalone: true, imports: [
|
|
53
53
|
DateInputFieldMolecule,
|
|
@@ -70,7 +70,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
70
70
|
directive: DateInputSectionOrganismStore,
|
|
71
71
|
inputs: ['control', 'label', 'placeholder', 'hint', 'actions'],
|
|
72
72
|
}
|
|
73
|
-
], host: { class: 'organism section' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-
|
|
73
|
+
], host: { class: 'organism section' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-section-k966: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-input-section-k966) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-date-input-section-k966)}: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"] }]
|
|
74
74
|
}] });
|
|
75
75
|
|
|
76
76
|
/**
|
|
@@ -17,10 +17,10 @@ class DateRangeInputSectionOrganismStore {
|
|
|
17
17
|
this.hint = input('hint');
|
|
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: DateRangeInputSectionOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: DateRangeInputSectionOrganismStore, isStandalone: true, selector: "organisms-date-range-input-section", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateRangeInputSectionOrganismStore, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{
|
|
26
26
|
standalone: true,
|
|
@@ -32,8 +32,8 @@ class DateRangeInputSectionOrganism extends NgAtomicComponent {
|
|
|
32
32
|
super(...arguments);
|
|
33
33
|
this.store = inject(DateRangeInputSectionOrganismStore);
|
|
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: DateRangeInputSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: DateRangeInputSectionOrganism, isStandalone: true, selector: "organisms-date-range-input-section", host: { classAttribute: "organism section" }, usesInheritance: true, hostDirectives: [{ directive: DateRangeInputSectionOrganismStore, inputs: ["label", "label", "hint", "hint", "control", "control", "actions", "actions"] }], ngImport: i0, template: `
|
|
37
37
|
<molecules-date-range-input-field
|
|
38
38
|
[label]="store.label()"
|
|
39
39
|
[control]="store.control()"
|
|
@@ -44,9 +44,9 @@ class DateRangeInputSectionOrganism extends NgAtomicComponent {
|
|
|
44
44
|
(action)="dispatch($event)"
|
|
45
45
|
/>
|
|
46
46
|
}
|
|
47
|
-
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-range-input-section-
|
|
47
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-range-input-section-kLiK: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-range-input-section-kLiK) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-date-range-input-section-kLiK)}: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: "component", type: DateRangeInputFieldMolecule, selector: "molecules-date-range-input-field" }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
48
48
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DateRangeInputSectionOrganism, decorators: [{
|
|
50
50
|
type: Component,
|
|
51
51
|
args: [{ selector: 'organisms-date-range-input-section', standalone: true, imports: [
|
|
52
52
|
DateRangeInputFieldMolecule,
|
|
@@ -67,7 +67,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
67
67
|
directive: DateRangeInputSectionOrganismStore,
|
|
68
68
|
inputs: ['label', 'hint', 'control', 'actions']
|
|
69
69
|
}
|
|
70
|
-
], host: { class: 'organism section' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-range-input-section-
|
|
70
|
+
], host: { class: 'organism section' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-range-input-section-kLiK: var(--horizontal-padding)}:host{display:flex;flex-direction:row;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-date-range-input-section-kLiK) 0;box-sizing:border-box}:host:has(atoms-smart-button){padding:0 0 0 var(--horizontal-padding-SCOPED-IN-date-range-input-section-kLiK)}: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"] }]
|
|
71
71
|
}] });
|
|
72
72
|
|
|
73
73
|
/**
|
|
@@ -8,10 +8,10 @@ class DefinitionListOrganismStore {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
this.label = input('label');
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DefinitionListOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: DefinitionListOrganismStore, isStandalone: true, selector: "organisms-definition-list", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DefinitionListOrganismStore, decorators: [{
|
|
15
15
|
type: Directive,
|
|
16
16
|
args: [{ standalone: true, selector: 'organisms-definition-list' }]
|
|
17
17
|
}] });
|
|
@@ -20,8 +20,8 @@ class DefinitionListOrganism extends NgAtomicComponent {
|
|
|
20
20
|
super(...arguments);
|
|
21
21
|
this.store = inject(DefinitionListOrganismStore);
|
|
22
22
|
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DefinitionListOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: DefinitionListOrganism, isStandalone: true, selector: "organisms-definition-list", usesInheritance: true, hostDirectives: [{ directive: DefinitionListOrganismStore, inputs: ["label", "label"] }], ngImport: i0, template: `
|
|
25
25
|
<section>
|
|
26
26
|
<dl>
|
|
27
27
|
<ng-content/>
|
|
@@ -31,9 +31,9 @@ class DefinitionListOrganism extends NgAtomicComponent {
|
|
|
31
31
|
<dt>支払金額</dt> <dd>¥2,000</dd> -->
|
|
32
32
|
</dl>
|
|
33
33
|
</section>
|
|
34
|
-
`, isInline: true, styles: [":host{display:block;--mdc-outlined-text-field-label-text-color-SCOPED-IN-definition-list-
|
|
34
|
+
`, isInline: true, styles: [":host{display:block;--mdc-outlined-text-field-label-text-color-SCOPED-IN-definition-list-EfLn: var(--mdc-outlined-text-field-label-text-color);--mat-form-field-outlined-label-text-populated-size-SCOPED-IN-definition-list-EfLn: var(--mat-form-field-outlined-label-text-populated-size)}:host{width:100%;padding:0 16px;box-sizing:border-box}:host mat-label{color:var(--mdc-outlined-text-field-label-text-color-SCOPED-IN-definition-list-EfLn);font-size:var(--mat-form-field-outlined-label-text-populated-size-SCOPED-IN-definition-list-EfLn);font-weight:400}:host dl{display:flex;flex-wrap:wrap;width:100%;font-size:.9em}:host dl ::ng-deep>mat-divider{width:100%;height:6px}:host dl ::ng-deep>dt{float:left;width:50%;color:var(--mdc-outlined-text-field-label-text-color-SCOPED-IN-definition-list-EfLn);line-height:1.5em}:host dl ::ng-deep>dd{text-align:right;width:50%;height:1.5em;margin-inline-start:0;line-height:1.5em}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: DefinitionListOrganism, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
38
|
args: [{ selector: 'organisms-definition-list', standalone: true, imports: [
|
|
39
39
|
MatDivider,
|
|
@@ -53,7 +53,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
53
53
|
directive: DefinitionListOrganismStore,
|
|
54
54
|
inputs: ['label'],
|
|
55
55
|
},
|
|
56
|
-
], styles: [":host{display:block;--mdc-outlined-text-field-label-text-color-SCOPED-IN-definition-list-
|
|
56
|
+
], styles: [":host{display:block;--mdc-outlined-text-field-label-text-color-SCOPED-IN-definition-list-EfLn: var(--mdc-outlined-text-field-label-text-color);--mat-form-field-outlined-label-text-populated-size-SCOPED-IN-definition-list-EfLn: var(--mat-form-field-outlined-label-text-populated-size)}:host{width:100%;padding:0 16px;box-sizing:border-box}:host mat-label{color:var(--mdc-outlined-text-field-label-text-color-SCOPED-IN-definition-list-EfLn);font-size:var(--mat-form-field-outlined-label-text-populated-size-SCOPED-IN-definition-list-EfLn);font-weight:400}:host dl{display:flex;flex-wrap:wrap;width:100%;font-size:.9em}:host dl ::ng-deep>mat-divider{width:100%;height:6px}:host dl ::ng-deep>dt{float:left;width:50%;color:var(--mdc-outlined-text-field-label-text-color-SCOPED-IN-definition-list-EfLn);line-height:1.5em}:host dl ::ng-deep>dd{text-align:right;width:50%;height:1.5em;margin-inline-start:0;line-height:1.5em}\n"] }]
|
|
57
57
|
}] });
|
|
58
58
|
|
|
59
59
|
/**
|
|
@@ -22,14 +22,14 @@ let FileInputSectionOrganismStore = class FileInputSectionOrganismStore extends
|
|
|
22
22
|
console.debug('FileInputSectionOrganismStore#progress:', this.progress());
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FileInputSectionOrganismStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.1.2", type: FileInputSectionOrganismStore, isStandalone: true, selector: "organisms-file-input-section", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, progress: { classPropertyName: "progress", publicName: "progress", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
27
27
|
};
|
|
28
28
|
FileInputSectionOrganismStore = __decorate([
|
|
29
29
|
TokenizedType(),
|
|
30
30
|
__metadata("design:paramtypes", [])
|
|
31
31
|
], FileInputSectionOrganismStore);
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FileInputSectionOrganismStore, decorators: [{
|
|
33
33
|
type: Directive,
|
|
34
34
|
args: [{ standalone: true, selector: 'organisms-file-input-section' }]
|
|
35
35
|
}], ctorParameters: () => [] });
|
|
@@ -45,8 +45,8 @@ class FileInputSectionOrganism extends NgAtomicComponent {
|
|
|
45
45
|
onCancel() {
|
|
46
46
|
this.dispatch({ id: ActionId.CANCEL });
|
|
47
47
|
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
49
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FileInputSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
49
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: FileInputSectionOrganism, isStandalone: true, selector: "organisms-file-input-section", usesInheritance: true, hostDirectives: [{ directive: FileInputSectionOrganismStore, inputs: ["control", "control", "label", "label", "placeholder", "placeholder", "hint", "hint", "progress", "progress"] }], ngImport: i0, template: `
|
|
50
50
|
<molecules-file-input-field
|
|
51
51
|
[control]="store.control()"
|
|
52
52
|
[label]="store.label()"
|
|
@@ -55,7 +55,7 @@ class FileInputSectionOrganism extends NgAtomicComponent {
|
|
|
55
55
|
[placeholder]="store.placeholder()"
|
|
56
56
|
(action)="dispatch($event)"
|
|
57
57
|
/>
|
|
58
|
-
`, isInline: true, styles: [":host{display:block;--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-file-input-section-
|
|
58
|
+
`, isInline: true, styles: [":host{display:block;--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-file-input-section-c391: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-file-input-section-c391);box-sizing:border-box}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "component", type: FileInputFieldMolecule, selector: "molecules-file-input-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
59
59
|
}
|
|
60
60
|
__decorate([
|
|
61
61
|
Effect(FileInputFieldMolecule.ActionId.FILE_SELECTED),
|
|
@@ -69,7 +69,7 @@ __decorate([
|
|
|
69
69
|
__metadata("design:paramtypes", []),
|
|
70
70
|
__metadata("design:returntype", void 0)
|
|
71
71
|
], FileInputSectionOrganism.prototype, "onCancel", null);
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FileInputSectionOrganism, decorators: [{
|
|
73
73
|
type: Component,
|
|
74
74
|
args: [{ selector: 'organisms-file-input-section', standalone: true, imports: [
|
|
75
75
|
FileInputFieldMolecule,
|
|
@@ -87,7 +87,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
|
|
|
87
87
|
directive: FileInputSectionOrganismStore,
|
|
88
88
|
inputs: ['control', 'label', 'placeholder', 'hint', 'progress'],
|
|
89
89
|
}
|
|
90
|
-
], styles: [":host{display:block;--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-file-input-section-
|
|
90
|
+
], styles: [":host{display:block;--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-file-input-section-c391: var(--horizontal-padding)}:host{display:block;width:100%;padding:0 var(--horizontal-padding-SCOPED-IN-file-input-section-c391);box-sizing:border-box}:host mat-form-field{width:100%}\n"] }]
|
|
91
91
|
}], propDecorators: { onFileSelected: [], onCancel: [] } });
|
|
92
92
|
|
|
93
93
|
/**
|
|
@@ -43,8 +43,8 @@ class FiltersSectionOrganism extends NgAtomicComponent {
|
|
|
43
43
|
removeFilter(i) {
|
|
44
44
|
this.form.removeAt(i);
|
|
45
45
|
}
|
|
46
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
47
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FiltersSectionOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: FiltersSectionOrganism, isStandalone: true, selector: "organisms-filters-section", inputs: { modifiable: "modifiable", form: "form", columns: "columns" }, usesInheritance: true, ngImport: i0, template: `
|
|
48
48
|
<frames-auto-layout
|
|
49
49
|
vertical
|
|
50
50
|
style="width: fit-content;"
|
|
@@ -79,7 +79,7 @@ class FiltersSectionOrganism extends NgAtomicComponent {
|
|
|
79
79
|
</frames-auto-layout>
|
|
80
80
|
`, isInline: true, styles: [":host{display:block}:host{display:block;padding:0 16px;box-sizing:border-box}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: AutoLayoutFrame, selector: "frames-auto-layout" }, { kind: "component", type: TextInputFieldMolecule, selector: "molecules-text-input-field" }, { kind: "component", type: SelectInputFieldMolecule, selector: "molecules-select-input-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
81
81
|
}
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: FiltersSectionOrganism, decorators: [{
|
|
83
83
|
type: Component,
|
|
84
84
|
args: [{ selector: 'organisms-filters-section', standalone: true, imports: [
|
|
85
85
|
CommonModule,
|
|
@@ -63,10 +63,10 @@ class GraphqlEditorOrganism extends NgAtomicComponent {
|
|
|
63
63
|
],
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
67
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: GraphqlEditorOrganism, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
67
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.2", type: GraphqlEditorOrganism, isStandalone: true, selector: "organisms-graphql-editor", inputs: { control: "control", schema: "schema", keyActions: "keyActions" }, outputs: { action: "action" }, usesInheritance: true, ngImport: i0, template: `<extras-editor *ngIf="state" [state]="state"></extras-editor>`, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: EditorComponent, selector: "extras-editor", inputs: ["content", "keyActions", "extensions"], outputs: ["contentChange"] }], 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: GraphqlEditorOrganism, decorators: [{
|
|
70
70
|
type: Component,
|
|
71
71
|
args: [{ standalone: true, imports: [
|
|
72
72
|
CommonModule,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-components-organisms-graphql-editor.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/graphql-editor/graphql-editor.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/graphql-editor/ng-atomic-components-organisms-graphql-editor.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { keymap } from \"@codemirror/view\"\nimport { indentWithTab } from \"@codemirror/commands\"\nimport { history } from '@codemirror/commands';\nimport { autocompletion, closeBrackets } from '@codemirror/autocomplete';\nimport { bracketMatching, syntaxHighlighting } from '@codemirror/language';\nimport { oneDarkHighlightStyle, oneDark } from '@codemirror/theme-one-dark';\nimport { EditorState } from '@codemirror/state';\nimport { lineNumbers } from '@codemirror/view';\nimport { graphql } from 'cm6-graphql';\nimport { basicSetup, EditorView } from \"codemirror\"\nimport { ReplaySubject, combineLatest, distinctUntilChanged, filter, startWith, tap } from 'rxjs';\nimport { AbstractControl, FormControl } from '@angular/forms';\nimport { Action } from '@ng-atomic/core';\nimport { CommonModule } from '@angular/common';\nimport { EditorComponent } from '@ng-atomic/components/extras/editor';\nimport { NgAtomicComponent } from '@ng-atomic/core';\n\nexport class GraphqlExtractor {\n extract(output: string): string {\n return output.split('```')?.[1]?.replace(/^graphql/, '')?.replace(/^\\n/, '') ?? ''\n }\n\n insert(query: string): string {\n return `\\`\\`\\`graphql\\n${query}\\`\\`\\``;\n }\n}\n\nexport enum ActionId {\n EXECUTE = 'execute',\n SAVE = 'save',\n}\n\n@Component({\n standalone: true,\n imports: [\n CommonModule,\n EditorComponent,\n ],\n selector: 'organisms-graphql-editor',\n template: `<extras-editor *ngIf=\"state\" [state]=\"state\"></extras-editor>`,\n styleUrls: ['./graphql-editor.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GraphqlEditorOrganism extends NgAtomicComponent {\n private readonly schema$ = new ReplaySubject(1);\n\n @Input()\n control = new FormControl('');\n\n state!: EditorState;\n\n @Input()\n set schema(value: any) {\n this.schema$.next(value);\n }\n\n @Input()\n keyActions: {key: string, actionId: string}[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n ngOnInit() {\n combineLatest({\n schema: this.schema$,\n value: this.control.valueChanges.pipe(\n startWith(this.control.value),\n filter(value => value !== this.state?.doc?.toString()),\n ),\n }).pipe(\n filter(({schema}) => !!schema),\n distinctUntilChanged(),\n ).subscribe(params => {\n console.debug('params:', params);\n this.state = this.makeEditorState(params);\n });\n }\n\n private makeEditorState({schema, value}: {schema: any, value: string}) {\n return EditorState.create({\n doc: value,\n extensions: [\n makeKeymapExtension(this.keyActions, action => this.dispatch(action)),\n EditorView.updateListener.of((update) => {\n if (update.docChanged) return;\n this.control.setValue(update.state.doc.toString());\n }),\n ...CODEMIRROR_EXTENSIONS,\n makeGraphqlExtension(schema),\n ],\n });\n }\n}\n\nconst CODEMIRROR_EXTENSIONS = [\n basicSetup,\n bracketMatching(),\n closeBrackets(),\n history(),\n autocompletion(),\n lineNumbers(),\n oneDark,\n syntaxHighlighting(oneDarkHighlightStyle),\n];\n\nfunction makeKeymapExtension(\n keyActions: {key: string, actionId: string}[],\n callback: (action: Action) => void\n) {\n return keymap.of([\n ...keyActions.map(({key, actionId}) => ({\n key,\n run: () => (callback({id: actionId, payload: {key}}), true),\n })),\n indentWithTab,\n ]);\n}\n\nfunction makeGraphqlExtension(schema) {\n return graphql(schema, {\n onShowInDocs: (field, type, parentType) => alert(`Showing in docs.: Field: ${field}, Type: ${type}, ParentType: ${parentType}`),\n onFillAllFields: (view, schema, _query, cursor, token) => alert(`Filling all fields. Token: ${token}`),\n });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAkBa,gBAAgB,CAAA;AAC3B,IAAA,OAAO,CAAC,MAAc,EA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ACb,OAAO;IACP,kBAAkB,CAAC,qBAAqB,CAAC;CAC1C,CAAC;AAEF,SAAS,mBAAmB,CAC1B,UAA6C,EAC7C,QAAkC,EAAA;IAElC,OAAO,MAAM,CAAC,EAAE,CAAC;AACf,QAAA,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,EAAC,GAAG,EAAE,QAAQ,EAAC,MAAM;YACtC,GAAG;YACH,GAAG,EAAE,OAAO,QAAQ,CAAC,EAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAC,GAAG,EAAC,EAAC,CAAC,EAAE,IAAI,CAAC;AAC5D,SAAA,CAAC,CAAC;QACH,aAAa;AACd,KAAA,CAAC,CAAC;AACL,CAAC;AAED,SAAS,oBAAoB,CAAC,MAAM,EAAA;IAClC,OAAO,OAAO,CAAC,MAAM,EAAE;AACrB,QAAA,YAAY,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,UAAU,KAAK,KAAK,CAAC,4BAA4B,KAAK,CAAA,QAAA,EAAW,IAAI,CAAiB,cAAA,EAAA,UAAU,EAAE,CAAC;AAC/H,QAAA,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,KAAK,KAAK,CAAC,CAA8B,2BAAA,EAAA,KAAK,EAAE,CAAC;AACvG,KAAA,CAAC,CAAC;AACL;;AC5HA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-components-organisms-graphql-editor.mjs","sources":["../../../../../packages/@ng-atomic/components/src/lib/organisms/graphql-editor/graphql-editor.organism.ts","../../../../../packages/@ng-atomic/components/src/lib/organisms/graphql-editor/ng-atomic-components-organisms-graphql-editor.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, OnInit } from '@angular/core';\nimport { keymap } from \"@codemirror/view\"\nimport { indentWithTab } from \"@codemirror/commands\"\nimport { history } from '@codemirror/commands';\nimport { autocompletion, closeBrackets } from '@codemirror/autocomplete';\nimport { bracketMatching, syntaxHighlighting } from '@codemirror/language';\nimport { oneDarkHighlightStyle, oneDark } from '@codemirror/theme-one-dark';\nimport { EditorState } from '@codemirror/state';\nimport { lineNumbers } from '@codemirror/view';\nimport { graphql } from 'cm6-graphql';\nimport { basicSetup, EditorView } from \"codemirror\"\nimport { ReplaySubject, combineLatest, distinctUntilChanged, filter, startWith, tap } from 'rxjs';\nimport { AbstractControl, FormControl } from '@angular/forms';\nimport { Action } from '@ng-atomic/core';\nimport { CommonModule } from '@angular/common';\nimport { EditorComponent } from '@ng-atomic/components/extras/editor';\nimport { NgAtomicComponent } from '@ng-atomic/core';\n\nexport class GraphqlExtractor {\n extract(output: string): string {\n return output.split('```')?.[1]?.replace(/^graphql/, '')?.replace(/^\\n/, '') ?? ''\n }\n\n insert(query: string): string {\n return `\\`\\`\\`graphql\\n${query}\\`\\`\\``;\n }\n}\n\nexport enum ActionId {\n EXECUTE = 'execute',\n SAVE = 'save',\n}\n\n@Component({\n standalone: true,\n imports: [\n CommonModule,\n EditorComponent,\n ],\n selector: 'organisms-graphql-editor',\n template: `<extras-editor *ngIf=\"state\" [state]=\"state\"></extras-editor>`,\n styleUrls: ['./graphql-editor.organism.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GraphqlEditorOrganism extends NgAtomicComponent implements OnInit {\n private readonly schema$ = new ReplaySubject(1);\n\n @Input()\n control = new FormControl('');\n\n state!: EditorState;\n\n @Input()\n set schema(value: any) {\n this.schema$.next(value);\n }\n\n @Input()\n keyActions: {key: string, actionId: string}[] = [];\n\n @Output()\n action = new EventEmitter<Action>();\n\n ngOnInit() {\n combineLatest({\n schema: this.schema$,\n value: this.control.valueChanges.pipe(\n startWith(this.control.value),\n filter(value => value !== this.state?.doc?.toString()),\n ),\n }).pipe(\n filter(({schema}) => !!schema),\n distinctUntilChanged(),\n ).subscribe(params => {\n console.debug('params:', params);\n this.state = this.makeEditorState(params);\n });\n }\n\n private makeEditorState({schema, value}: {schema: any, value: string}) {\n return EditorState.create({\n doc: value,\n extensions: [\n makeKeymapExtension(this.keyActions, action => this.dispatch(action)),\n EditorView.updateListener.of((update) => {\n if (update.docChanged) return;\n this.control.setValue(update.state.doc.toString());\n }),\n ...CODEMIRROR_EXTENSIONS,\n makeGraphqlExtension(schema),\n ],\n });\n }\n}\n\nconst CODEMIRROR_EXTENSIONS = [\n basicSetup,\n bracketMatching(),\n closeBrackets(),\n history(),\n autocompletion(),\n lineNumbers(),\n oneDark,\n syntaxHighlighting(oneDarkHighlightStyle),\n];\n\nfunction makeKeymapExtension(\n keyActions: {key: string, actionId: string}[],\n callback: (action: Action) => void\n) {\n return keymap.of([\n ...keyActions.map(({key, actionId}) => ({\n key,\n run: () => (callback({id: actionId, payload: {key}}), true),\n })),\n indentWithTab,\n ]);\n}\n\nfunction makeGraphqlExtension(schema) {\n return graphql(schema, {\n onShowInDocs: (field, type, parentType) => alert(`Showing in docs.: Field: ${field}, Type: ${type}, ParentType: ${parentType}`),\n onFillAllFields: (view, schema, _query, cursor, token) => alert(`Filling all fields. Token: ${token}`),\n });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAkBa,gBAAgB,CAAA;AAC3B,IAAA,OAAO,CAAC,MAAc,EAAA;QACpB,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;KACnF;AAED,IAAA,MAAM,CAAC,KAAa,EAAA;QAClB,OAAO,CAAA,eAAA,EAAkB,KAAK,CAAA,MAAA,CAAQ,CAAC;KACxC;AACF,CAAA;IAEW,SAGX;AAHD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,QAAA,CAAA,MAAA,CAAA,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