@ng-atomic/components 16.2.0 → 16.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/atoms.module.d.ts +4 -1
- package/atoms/badge/badge.atom.d.ts +6 -0
- package/atoms/badge/index.d.ts +1 -0
- package/atoms/icon/icon.atom.d.ts +7 -8
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +16 -7
- package/components.module.d.ts +4 -2
- package/esm2022/atoms/atoms.module.mjs +11 -7
- package/esm2022/atoms/badge/badge.atom.mjs +16 -0
- package/esm2022/atoms/badge/index.mjs +2 -0
- package/esm2022/atoms/badge/ng-atomic-components-atoms-badge.mjs +5 -0
- package/esm2022/atoms/chips-input/chips-input.atom.mjs +6 -6
- package/esm2022/atoms/icon/icon.atom.mjs +28 -37
- package/esm2022/atoms/smart-menu-button/smart-menu-button.atom.mjs +125 -58
- package/esm2022/components.module.mjs +17 -6
- package/esm2022/extras/editor/editor.component.mjs +67 -34
- package/esm2022/extras/extras.module.mjs +5 -5
- package/esm2022/frames/app/app.frame.mjs +176 -0
- package/esm2022/frames/app/index.mjs +2 -0
- package/esm2022/frames/app/ng-atomic-components-frames-app.mjs +5 -0
- package/esm2022/frames/auto-layout/auto-layout.frame.mjs +5 -5
- package/esm2022/frames/card/card.frame.mjs +5 -5
- package/esm2022/frames/columns/columns.frame.mjs +163 -0
- package/esm2022/frames/columns/index.mjs +2 -0
- package/esm2022/frames/columns/ng-atomic-components-frames-columns.mjs +5 -0
- package/esm2022/frames/divider/divider.frame.mjs +23 -20
- package/esm2022/frames/drawer/drawer.frame.mjs +45 -39
- package/esm2022/frames/entrance/entrance.frame.mjs +67 -0
- package/esm2022/frames/entrance/index.mjs +2 -0
- package/esm2022/frames/entrance/ng-atomic-components-frames-entrance.mjs +5 -0
- package/esm2022/frames/fab/fab.frame.mjs +45 -22
- package/esm2022/frames/fab/fab.service.mjs +4 -4
- package/esm2022/frames/frames.module.mjs +27 -7
- package/esm2022/frames/line-up/index.mjs +2 -1
- package/esm2022/frames/line-up/line-up.animations.mjs +5 -1
- package/esm2022/frames/line-up/line-up.frame.mjs +69 -93
- package/esm2022/frames/line-up/line-up.service.mjs +55 -0
- package/esm2022/frames/loading/loading.frame.mjs +37 -20
- package/esm2022/frames/overlay/overlay.animations.mjs +6 -6
- package/esm2022/frames/overlay/overlay.frame.mjs +33 -18
- package/esm2022/frames/router-outlet/router-outlet.frame.mjs +100 -62
- package/esm2022/frames/scroll/scroll.frame.mjs +6 -6
- package/esm2022/frames/scroll-v2/scroll.frame.mjs +24 -12
- package/esm2022/frames/side-nav/side-nav.frame.mjs +139 -85
- package/esm2022/frames/smart-menu/smart-menu.frame.mjs +5 -5
- package/esm2022/frames/tabs/index.mjs +2 -0
- package/esm2022/frames/tabs/ng-atomic-components-frames-tabs.mjs +5 -0
- package/esm2022/frames/tabs/tabs.frame.mjs +41 -0
- package/esm2022/frames/toggle/index.mjs +2 -0
- package/esm2022/frames/toggle/ng-atomic-components-frames-toggle.mjs +5 -0
- package/esm2022/frames/toggle/toggle.frame.mjs +48 -0
- package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +6 -6
- package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +5 -5
- package/esm2022/molecules/actions-column/actions-column.molecule.mjs +54 -64
- package/esm2022/molecules/checkbox-column/checkbox-column.molecule.mjs +45 -60
- package/esm2022/molecules/chips-input-field/chips-input-field.molecule.mjs +96 -80
- package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +57 -47
- package/esm2022/molecules/date-range-input-field/date-range-input-field.molecule.mjs +75 -0
- package/esm2022/molecules/date-range-input-field/index.mjs +2 -0
- package/esm2022/molecules/date-range-input-field/ng-atomic-components-molecules-date-range-input-field.mjs +5 -0
- package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +99 -80
- package/esm2022/molecules/grid-item/grid-item.molecule.mjs +68 -0
- package/esm2022/molecules/grid-item/index.mjs +2 -0
- package/esm2022/molecules/grid-item/ng-atomic-components-molecules-grid-item.mjs +5 -0
- package/esm2022/molecules/header/header.molecule.mjs +40 -16
- package/esm2022/{organisms/smart-table → molecules/loading-box}/index.mjs +2 -2
- package/esm2022/molecules/loading-box/loading-box.molecule.mjs +56 -0
- package/esm2022/{templates/smart-index/ng-atomic-components-templates-smart-index.mjs → molecules/loading-box/ng-atomic-components-molecules-loading-box.mjs} +1 -1
- package/esm2022/molecules/molecules.module.mjs +24 -6
- package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +45 -32
- package/esm2022/molecules/nested-menu/nested-menu.molecule.mjs +5 -5
- package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +55 -36
- package/esm2022/molecules/smart-column/smart-column.molecule.mjs +134 -24
- package/esm2022/molecules/text-input-field/text-input-field.molecule.mjs +77 -67
- package/esm2022/molecules/textarea-field/textarea-field.molecule.mjs +59 -45
- package/esm2022/molecules/tree-column/tree-column.molecule.mjs +52 -35
- package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +129 -19
- package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +46 -30
- package/esm2022/organisms/agreement-input-section/agreement-input-section.organism.mjs +66 -0
- package/esm2022/organisms/agreement-input-section/index.mjs +2 -0
- package/esm2022/organisms/agreement-input-section/ng-atomic-components-organisms-agreement-input-section.mjs +5 -0
- package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +5 -5
- package/esm2022/organisms/chips-input-section/chips-input-section.organism.mjs +52 -0
- package/esm2022/organisms/chips-input-section/index.mjs +2 -0
- package/esm2022/organisms/chips-input-section/ng-atomic-components-organisms-chips-input-section.mjs +5 -0
- package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +5 -5
- package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +62 -28
- package/esm2022/organisms/date-range-input-section/date-range-input-section.organism.mjs +71 -0
- package/esm2022/organisms/date-range-input-section/index.mjs +2 -0
- package/esm2022/organisms/date-range-input-section/ng-atomic-components-organisms-date-range-input-section.mjs +5 -0
- package/esm2022/organisms/definition-list/definition-list.organism.mjs +57 -0
- package/esm2022/organisms/definition-list/index.mjs +2 -0
- package/esm2022/organisms/definition-list/ng-atomic-components-organisms-definition-list.mjs +5 -0
- package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +51 -36
- package/esm2022/organisms/filters-section/filters-section.organism.mjs +8 -6
- package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +4 -4
- package/esm2022/organisms/grid-cards-section/grid-cards-section.organism.mjs +40 -0
- package/esm2022/organisms/grid-cards-section/index.mjs +2 -0
- package/esm2022/organisms/grid-cards-section/ng-atomic-components-organisms-grid-cards-section.mjs +5 -0
- package/esm2022/organisms/grid-toolbar/grid-toolbar.organism.mjs +87 -81
- package/esm2022/organisms/heading/heading.organism.mjs +49 -5
- package/esm2022/organisms/image-preview-section/image-preview-section.organism.mjs +16 -0
- package/esm2022/organisms/image-preview-section/index.mjs +2 -0
- package/esm2022/organisms/image-preview-section/ng-atomic-components-organisms-image-preview-section.mjs +5 -0
- package/esm2022/organisms/markdown-preview-section/index.mjs +2 -0
- package/esm2022/organisms/markdown-preview-section/markdown-preview-section.organism.mjs +39 -0
- package/esm2022/organisms/markdown-preview-section/ng-atomic-components-organisms-markdown-preview-section.mjs +5 -0
- package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +31 -19
- package/esm2022/organisms/menu-header/menu-header.organism.mjs +86 -22
- package/esm2022/organisms/mermaid-section/mermaid-section.organism.mjs +5 -5
- package/esm2022/organisms/message-input-section/message-input-section.organism.mjs +4 -4
- package/esm2022/organisms/messages-section/messages-section.organism.mjs +56 -6
- package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +32 -36
- package/esm2022/organisms/navigator/navigator.organism.mjs +84 -40
- package/esm2022/organisms/number-input-section/index.mjs +2 -0
- package/esm2022/organisms/number-input-section/ng-atomic-components-organisms-number-input-section.mjs +5 -0
- package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +82 -0
- package/esm2022/organisms/organisms.module.mjs +82 -9
- package/esm2022/organisms/paginator/paginator.organism.mjs +50 -34
- package/esm2022/organisms/password-input-section/index.mjs +2 -0
- package/esm2022/organisms/password-input-section/ng-atomic-components-organisms-password-input-section.mjs +5 -0
- package/esm2022/organisms/password-input-section/password-input-section.organism.mjs +80 -0
- package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +69 -19
- package/esm2022/organisms/selection-list/selection-list.organism.mjs +5 -5
- package/esm2022/organisms/smart-list/smart-list.organism.mjs +149 -104
- package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +5 -5
- package/esm2022/organisms/stripe-input-section/index.mjs +2 -0
- package/esm2022/organisms/stripe-input-section/ng-atomic-components-organisms-stripe-input-section.mjs +5 -0
- package/esm2022/organisms/stripe-input-section/stripe-input-section.organism.mjs +223 -0
- package/esm2022/organisms/table/index.helpers.mjs +110 -0
- package/esm2022/organisms/table/index.mjs +3 -0
- package/esm2022/organisms/table/ng-atomic-components-organisms-table.mjs +5 -0
- package/esm2022/organisms/table/table.organism.mjs +315 -0
- package/esm2022/organisms/terminal/terminal.organism.mjs +4 -4
- package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +72 -44
- package/esm2022/organisms/text-preview-section/index.mjs +2 -0
- package/esm2022/organisms/text-preview-section/ng-atomic-components-organisms-text-preview-section.mjs +5 -0
- package/esm2022/organisms/text-preview-section/text-preview-section.organism.mjs +79 -0
- package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +73 -38
- package/esm2022/organisms/thread-messages-section/index.mjs +2 -0
- package/esm2022/organisms/thread-messages-section/ng-atomic-components-organisms-thread-messages-section.mjs +5 -0
- package/esm2022/organisms/thread-messages-section/thread-messages-section.organism.mjs +119 -0
- package/esm2022/organisms/time-range-input-section/index.mjs +2 -0
- package/esm2022/organisms/time-range-input-section/ng-atomic-components-organisms-time-range-input-section.mjs +5 -0
- package/esm2022/organisms/time-range-input-section/time-range-input-section.organism.mjs +43 -0
- package/esm2022/organisms/toolbar/toolbar.organism.mjs +6 -6
- package/esm2022/organisms/tree-section/tree-section.organism.mjs +5 -5
- package/esm2022/organisms/vertical-divider/vertical-divider.organism.mjs +4 -4
- package/esm2022/organisms/video-section/index.mjs +2 -0
- package/esm2022/organisms/video-section/ng-atomic-components-organisms-video-section.mjs +5 -0
- package/esm2022/organisms/video-section/video-section.organism.mjs +132 -0
- package/esm2022/pages/_index/index.mjs +1 -2
- package/esm2022/pages/_index/index.page.mjs +155 -8
- package/esm2022/pages/blank/blank.page.mjs +4 -4
- package/esm2022/pages/blank/blank.route.mjs +8 -2
- package/esm2022/pages/blank/blank.routes.mjs +5 -3
- package/esm2022/pages/blank/index.mjs +2 -1
- package/esm2022/pages/form/form.page.mjs +173 -0
- package/esm2022/pages/form/index.mjs +2 -0
- package/esm2022/pages/form/ng-atomic-components-pages-form.mjs +5 -0
- package/esm2022/pages/pages.module.mjs +13 -6
- package/esm2022/pages/terms/index.mjs +2 -0
- package/esm2022/pages/terms/terms.page.mjs +84 -0
- package/esm2022/sheets/actions/actions.sheet.mjs +4 -4
- package/esm2022/sheets/sheets.module.mjs +5 -5
- package/esm2022/sheets/sheets.service.mjs +5 -5
- package/esm2022/templates/_index/index.mjs +2 -0
- package/esm2022/templates/_index/index.template.mjs +381 -0
- package/esm2022/templates/_index/ng-atomic-components-templates-_index.mjs +5 -0
- package/esm2022/templates/background/background.template.mjs +30 -0
- package/esm2022/templates/{smart-crud → background}/index.mjs +2 -2
- package/esm2022/templates/{smart-crud/ng-atomic-components-templates-smart-crud.mjs → background/ng-atomic-components-templates-background.mjs} +1 -1
- package/esm2022/templates/code-editor/code-editor.template.mjs +37 -76
- package/esm2022/templates/entrance/entrance.template.mjs +99 -72
- package/esm2022/templates/file-tree/file-tree.template.mjs +6 -6
- package/esm2022/templates/form/form.template.mjs +466 -0
- package/esm2022/templates/form/index.mjs +2 -0
- package/esm2022/templates/form/ng-atomic-components-templates-form.mjs +5 -0
- package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +32 -38
- package/esm2022/templates/loading/loading.template.mjs +4 -4
- package/esm2022/templates/menu/menu.template.mjs +31 -32
- package/esm2022/templates/messages/messages.template.mjs +66 -35
- package/esm2022/templates/selection/selection.template.mjs +56 -65
- package/esm2022/templates/settings/index.mjs +2 -0
- package/esm2022/templates/settings/ng-atomic-components-templates-settings.mjs +5 -0
- package/esm2022/templates/settings/settings.template.mjs +118 -0
- package/esm2022/templates/tab-editor/tab-editor.template.mjs +6 -6
- package/esm2022/templates/templates.module.mjs +29 -7
- package/esm2022/templates/term/term.template.mjs +41 -30
- package/extras/editor/editor.component.d.ts +20 -9
- package/fesm2022/ng-atomic-components-atoms-badge.mjs +23 -0
- package/fesm2022/ng-atomic-components-atoms-badge.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-atoms-chips-input.mjs +5 -5
- package/fesm2022/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +28 -37
- package/fesm2022/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs +124 -58
- package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms.mjs +9 -5
- package/fesm2022/ng-atomic-components-atoms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-extras-editor.mjs +68 -35
- 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-extras.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-app.mjs +182 -0
- package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-card.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-card.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-columns.mjs +169 -0
- package/fesm2022/ng-atomic-components-frames-columns.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-divider.mjs +22 -19
- package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +44 -39
- package/fesm2022/ng-atomic-components-frames-drawer.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-entrance.mjs +74 -0
- package/fesm2022/ng-atomic-components-frames-entrance.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-fab.mjs +48 -26
- package/fesm2022/ng-atomic-components-frames-fab.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +133 -91
- package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-loading.mjs +37 -20
- package/fesm2022/ng-atomic-components-frames-loading.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-overlay.mjs +38 -23
- package/fesm2022/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +100 -62
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +23 -11
- 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-scroll.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +138 -85
- 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 +48 -0
- package/fesm2022/ng-atomic-components-frames-tabs.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-toggle.mjs +55 -0
- package/fesm2022/ng-atomic-components-frames-toggle.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +5 -5
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames.mjs +25 -5
- package/fesm2022/ng-atomic-components-frames.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +4 -4
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +54 -64
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +45 -60
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs +95 -80
- package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +57 -47
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +82 -0
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +99 -80
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +75 -0
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-molecules-header.mjs +39 -16
- package/fesm2022/ng-atomic-components-molecules-header.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +62 -0
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +43 -31
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs +4 -4
- package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +55 -36
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-smart-column.mjs +134 -24
- package/fesm2022/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +75 -66
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +59 -45
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +52 -35
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules.mjs +23 -5
- package/fesm2022/ng-atomic-components-molecules.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +128 -19
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +45 -31
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +73 -0
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs +59 -0
- package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +61 -28
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +78 -0
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +64 -0
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +50 -36
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +7 -5
- package/fesm2022/ng-atomic-components-organisms-filters-section.mjs.map +1 -1
- 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 +47 -0
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +86 -81
- package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +48 -4
- package/fesm2022/ng-atomic-components-organisms-heading.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +23 -0
- package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +46 -0
- package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +30 -19
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +84 -21
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +4 -4
- 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-message-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +55 -5
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +30 -35
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +83 -41
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +88 -0
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +49 -34
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +86 -0
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +68 -19
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +147 -103
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +229 -0
- package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-table.mjs +425 -0
- package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -0
- 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 +71 -44
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +85 -0
- package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +72 -38
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +126 -0
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +50 -0
- package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-toolbar.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +4 -4
- 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-vertical-divider.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-video-section.mjs +139 -0
- package/fesm2022/ng-atomic-components-organisms-video-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms.mjs +81 -8
- package/fesm2022/ng-atomic-components-organisms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-_index.mjs +153 -34
- package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-blank.mjs +14 -5
- package/fesm2022/ng-atomic-components-pages-blank.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-form.mjs +180 -0
- package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-pages.mjs +94 -6
- package/fesm2022/ng-atomic-components-pages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-sheets-actions.mjs +3 -3
- package/fesm2022/ng-atomic-components-sheets-actions.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-sheets.mjs +8 -8
- package/fesm2022/ng-atomic-components-sheets.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-_index.mjs +386 -0
- package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-background.mjs +36 -0
- package/fesm2022/ng-atomic-components-templates-background.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs +37 -73
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +98 -72
- package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-file-tree.mjs +5 -5
- package/fesm2022/ng-atomic-components-templates-file-tree.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-form.mjs +472 -0
- package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +30 -38
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-loading.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-menu.mjs +29 -32
- package/fesm2022/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-messages.mjs +65 -34
- package/fesm2022/ng-atomic-components-templates-messages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-selection.mjs +56 -66
- package/fesm2022/ng-atomic-components-templates-selection.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-settings.mjs +125 -0
- package/fesm2022/ng-atomic-components-templates-settings.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +5 -5
- package/fesm2022/ng-atomic-components-templates-tab-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-term.mjs +40 -29
- package/fesm2022/ng-atomic-components-templates-term.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates.mjs +28 -6
- package/fesm2022/ng-atomic-components-templates.mjs.map +1 -1
- package/fesm2022/ng-atomic-components.mjs +16 -5
- package/fesm2022/ng-atomic-components.mjs.map +1 -1
- package/frames/app/app.frame.d.ts +107 -0
- package/frames/app/index.d.ts +1 -0
- package/frames/columns/columns.frame.d.ts +54 -0
- package/frames/columns/index.d.ts +1 -0
- package/frames/divider/divider.frame.d.ts +6 -6
- package/frames/drawer/drawer.frame.d.ts +12 -9
- package/frames/entrance/entrance.frame.d.ts +19 -0
- package/frames/entrance/index.d.ts +1 -0
- package/frames/fab/fab.frame.d.ts +22 -2
- package/frames/frames.module.d.ts +20 -1
- package/frames/line-up/index.d.ts +1 -0
- package/frames/line-up/line-up.frame.d.ts +15 -26
- package/frames/line-up/line-up.service.d.ts +22 -0
- package/frames/loading/loading.frame.d.ts +9 -3
- package/frames/overlay/overlay.frame.d.ts +7 -2
- package/frames/router-outlet/router-outlet.frame.d.ts +30 -9
- package/frames/scroll-v2/scroll.frame.d.ts +5 -1
- package/frames/side-nav/side-nav.frame.d.ts +33 -12
- package/frames/tabs/index.d.ts +1 -0
- package/frames/tabs/tabs.frame.d.ts +9 -0
- package/frames/toggle/index.d.ts +1 -0
- package/frames/toggle/toggle.frame.d.ts +9 -0
- package/molecules/actions-column/actions-column.molecule.d.ts +17 -17
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +17 -15
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +54 -12
- package/molecules/date-input-field/date-input-field.molecule.d.ts +13 -7
- package/molecules/date-range-input-field/date-range-input-field.molecule.d.ts +14 -0
- package/molecules/date-range-input-field/index.d.ts +1 -0
- package/molecules/file-input-field/file-input-field.molecule.d.ts +23 -15
- package/molecules/grid-item/grid-item.molecule.d.ts +13 -0
- package/molecules/grid-item/index.d.ts +1 -0
- package/molecules/header/header.molecule.d.ts +10 -4
- package/molecules/loading-box/index.d.ts +1 -0
- package/molecules/loading-box/loading-box.molecule.d.ts +23 -0
- package/molecules/molecules.module.d.ts +16 -3
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +5 -7
- package/molecules/select-input-field/select-input-field.molecule.d.ts +13 -6
- package/molecules/smart-column/smart-column.molecule.d.ts +21 -6
- package/molecules/text-input-field/text-input-field.molecule.d.ts +14 -13
- package/molecules/textarea-field/textarea-field.molecule.d.ts +16 -10
- package/molecules/tree-column/tree-column.molecule.d.ts +8 -3
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +10 -7
- package/organisms/action-input-section/action-input-section.organism.d.ts +12 -6
- package/organisms/agreement-input-section/agreement-input-section.organism.d.ts +17 -0
- package/organisms/agreement-input-section/index.d.ts +1 -0
- package/organisms/chips-input-section/chips-input-section.organism.d.ts +13 -0
- package/organisms/chips-input-section/index.d.ts +1 -0
- package/organisms/date-input-section/date-input-section.organism.d.ts +13 -5
- package/organisms/date-range-input-section/date-range-input-section.organism.d.ts +21 -0
- package/organisms/date-range-input-section/index.d.ts +1 -0
- package/organisms/definition-list/definition-list.organism.d.ts +12 -0
- package/organisms/definition-list/index.d.ts +1 -0
- package/organisms/file-input-section/file-input-section.organism.d.ts +13 -7
- package/organisms/filters-section/filters-section.organism.d.ts +2 -1
- package/organisms/grid-cards-section/grid-cards-section.organism.d.ts +15 -0
- package/organisms/grid-cards-section/index.d.ts +1 -0
- package/organisms/grid-toolbar/grid-toolbar.organism.d.ts +10 -7
- package/organisms/image-preview-section/image-preview-section.organism.d.ts +7 -0
- package/organisms/image-preview-section/index.d.ts +1 -0
- package/organisms/markdown-preview-section/index.d.ts +1 -0
- package/organisms/markdown-preview-section/markdown-preview-section.organism.d.ts +11 -0
- package/organisms/menu-footer/menu-footer.organism.d.ts +7 -1
- package/organisms/menu-header/menu-header.organism.d.ts +9 -4
- package/organisms/messages-section/messages-section.organism.d.ts +3 -1
- package/organisms/navigation-list/navigation-list.organism.d.ts +2 -3
- package/organisms/navigator/navigator.organism.d.ts +27 -4
- package/organisms/number-input-section/index.d.ts +1 -0
- package/organisms/number-input-section/number-input-section.organism.d.ts +19 -0
- package/organisms/organisms.module.d.ts +52 -3
- package/organisms/paginator/paginator.organism.d.ts +17 -7
- package/organisms/password-input-section/index.d.ts +1 -0
- package/organisms/password-input-section/password-input-section.organism.d.ts +19 -0
- package/organisms/select-input-section/select-input-section.organism.d.ts +16 -6
- package/organisms/smart-list/smart-list.organism.d.ts +35 -11
- package/organisms/stripe-input-section/index.d.ts +1 -0
- package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +188 -0
- package/organisms/table/index.d.ts +2 -0
- package/organisms/table/index.helpers.d.ts +71 -0
- package/organisms/table/table.organism.d.ts +106 -0
- package/organisms/text-input-section/text-input-section.organism.d.ts +15 -8
- package/organisms/text-preview-section/index.d.ts +1 -0
- package/organisms/text-preview-section/text-preview-section.organism.d.ts +15 -0
- package/organisms/textarea-section/textarea-section.organism.d.ts +16 -10
- package/organisms/thread-messages-section/index.d.ts +1 -0
- package/organisms/thread-messages-section/thread-messages-section.organism.d.ts +14 -0
- package/organisms/time-range-input-section/index.d.ts +1 -0
- package/organisms/time-range-input-section/time-range-input-section.organism.d.ts +9 -0
- package/organisms/video-section/index.d.ts +1 -0
- package/organisms/video-section/video-section.organism.d.ts +41 -0
- package/package.json +176 -20
- package/pages/_index/index.d.ts +0 -1
- package/pages/_index/index.page.d.ts +46 -2
- package/pages/blank/index.d.ts +1 -0
- package/pages/form/form.page.d.ts +112 -0
- package/pages/form/index.d.ts +1 -0
- package/pages/pages.module.d.ts +1 -1
- package/pages/terms/index.d.ts +1 -0
- package/pages/terms/terms.page.d.ts +60 -0
- package/templates/_index/index.d.ts +1 -0
- package/templates/_index/index.template.d.ts +219 -0
- package/templates/background/background.template.d.ts +11 -0
- package/templates/background/index.d.ts +1 -0
- package/templates/code-editor/code-editor.template.d.ts +11 -14
- package/templates/entrance/entrance.template.d.ts +18 -11
- package/templates/form/form.template.d.ts +78 -0
- package/templates/form/index.d.ts +1 -0
- package/templates/icon-button-menu/icon-button-menu.template.d.ts +2 -4
- package/templates/menu/menu.template.d.ts +4 -5
- package/templates/messages/messages.template.d.ts +10 -2
- package/templates/selection/selection.template.d.ts +14 -9
- package/templates/settings/index.d.ts +1 -0
- package/templates/settings/settings.template.d.ts +16 -0
- package/templates/templates.module.d.ts +13 -1
- package/templates/term/term.template.d.ts +10 -9
- package/esm2022/organisms/smart-table/ng-atomic-components-organisms-smart-table.mjs +0 -5
- package/esm2022/organisms/smart-table/smart-table.organism.mjs +0 -210
- package/esm2022/pages/_index/index.module.mjs +0 -31
- package/esm2022/templates/smart-crud/smart-crud.template.mjs +0 -256
- package/esm2022/templates/smart-index/index.mjs +0 -2
- package/esm2022/templates/smart-index/smart-index.template.mjs +0 -358
- package/fesm2022/ng-atomic-components-organisms-smart-table.mjs +0 -217
- package/fesm2022/ng-atomic-components-organisms-smart-table.mjs.map +0 -1
- package/fesm2022/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs +0 -7
- package/fesm2022/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs.map +0 -1
- package/fesm2022/ng-atomic-components-templates-smart-crud.mjs +0 -262
- package/fesm2022/ng-atomic-components-templates-smart-crud.mjs.map +0 -1
- package/fesm2022/ng-atomic-components-templates-smart-index.mjs +0 -365
- package/fesm2022/ng-atomic-components-templates-smart-index.mjs.map +0 -1
- package/organisms/smart-table/index.d.ts +0 -1
- package/organisms/smart-table/smart-table.organism.d.ts +0 -44
- package/pages/_index/index.module.d.ts +0 -9
- package/templates/smart-crud/index.d.ts +0 -1
- package/templates/smart-crud/smart-crud.template.d.ts +0 -28
- package/templates/smart-index/index.d.ts +0 -1
- package/templates/smart-index/smart-index.template.d.ts +0 -101
|
@@ -1,104 +1,114 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChangeDetectionStrategy, Component, Directive,
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Directive, inject, input } from '@angular/core';
|
|
3
3
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
4
4
|
import { MatInputModule } from '@angular/material/input';
|
|
5
5
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
6
6
|
import { ErrorPipe } from '@ng-atomic/common/pipes/error';
|
|
7
|
-
import {
|
|
7
|
+
import { InjectableComponent, NgAtomicComponent, TokenizedType } from '@ng-atomic/core';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@angular/
|
|
10
|
-
import * as i2 from "@angular/
|
|
11
|
-
import * as i3 from "@angular/material/
|
|
12
|
-
import * as i4 from "@angular/material/
|
|
13
|
-
import * as i5 from "@angular/material/
|
|
14
|
-
|
|
15
|
-
export class TextInputFieldMoleculeStore {
|
|
9
|
+
import * as i1 from "@angular/forms";
|
|
10
|
+
import * as i2 from "@angular/material/input";
|
|
11
|
+
import * as i3 from "@angular/material/form-field";
|
|
12
|
+
import * as i4 from "@angular/material/autocomplete";
|
|
13
|
+
import * as i5 from "@angular/material/core";
|
|
14
|
+
let TextInputFieldMoleculeStore = class TextInputFieldMoleculeStore extends InjectableComponent {
|
|
16
15
|
constructor() {
|
|
17
|
-
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
16
|
+
super(...arguments);
|
|
17
|
+
this.appearance = input('outline');
|
|
18
|
+
this.type = input('text');
|
|
19
|
+
this.name = input();
|
|
20
|
+
this.label = input('label');
|
|
21
|
+
this.control = input(new FormControl(''));
|
|
22
|
+
this.placeholder = input('placeholder');
|
|
23
|
+
this.hint = input();
|
|
24
|
+
this.pattern = input();
|
|
25
|
+
this.autoComplete = input([]);
|
|
23
26
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
26
|
-
}
|
|
27
|
-
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputFieldMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
28
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TextInputFieldMoleculeStore, isStandalone: true, selector: "molecules-text-input-field", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", 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 }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, autoComplete: { classPropertyName: "autoComplete", publicName: "autoComplete", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
29
|
+
};
|
|
30
|
+
TextInputFieldMoleculeStore = __decorate([
|
|
31
|
+
TokenizedType()
|
|
32
|
+
], TextInputFieldMoleculeStore);
|
|
33
|
+
export { TextInputFieldMoleculeStore };
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputFieldMoleculeStore, decorators: [{
|
|
28
35
|
type: Directive,
|
|
29
36
|
args: [{ standalone: true, selector: 'molecules-text-input-field' }]
|
|
30
|
-
}]
|
|
31
|
-
|
|
32
|
-
}], type: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}], name: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], label: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], control: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], placeholder: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], hint: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], autoComplete: [{
|
|
45
|
-
type: Input,
|
|
46
|
-
args: [{ transform: (v) => signalize(v) }]
|
|
47
|
-
}] } });
|
|
48
|
-
export class TextInputFieldMolecule {
|
|
37
|
+
}] });
|
|
38
|
+
export class TextInputFieldMolecule extends NgAtomicComponent {
|
|
49
39
|
constructor() {
|
|
40
|
+
super(...arguments);
|
|
50
41
|
this.store = inject(TextInputFieldMoleculeStore);
|
|
51
42
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
54
|
-
<mat-form-field [appearance]="store.appearance">
|
|
55
|
-
<mat-label>{{ store.label }}</mat-label>
|
|
43
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
44
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: TextInputFieldMolecule, isStandalone: true, selector: "molecules-text-input-field", host: { classAttribute: "molecule field" }, usesInheritance: true, hostDirectives: [{ directive: TextInputFieldMoleculeStore, inputs: ["appearance", "appearance", "type", "type", "name", "name", "label", "label", "control", "control", "placeholder", "placeholder", "hint", "hint", "autoComplete", "autoComplete", "pattern", "pattern"] }], ngImport: i0, template: `
|
|
45
|
+
<mat-form-field [appearance]="store.appearance()">
|
|
46
|
+
<mat-label>{{ store.label() }}</mat-label>
|
|
56
47
|
<input
|
|
57
48
|
matInput
|
|
58
|
-
[name]="store.name"
|
|
59
|
-
[type]="store.type"
|
|
60
|
-
[formControl]="store.control"
|
|
61
|
-
[placeholder]="store.placeholder"
|
|
49
|
+
[name]="store.name()"
|
|
50
|
+
[type]="store.type()"
|
|
51
|
+
[formControl]="store.control()"
|
|
52
|
+
[placeholder]="store.placeholder()"
|
|
62
53
|
[matAutocomplete]="auto"
|
|
54
|
+
[pattern]="store.pattern()"
|
|
63
55
|
>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
56
|
+
@if (store.control()?.errors) {
|
|
57
|
+
<mat-error>{{ store.control()?.errors | error }}</mat-error>
|
|
58
|
+
}
|
|
59
|
+
@if (store.hint()) {
|
|
60
|
+
<mat-hint>{{ store.hint() }}</mat-hint>
|
|
61
|
+
}
|
|
62
|
+
<mat-autocomplete
|
|
63
|
+
autoSelectActiveOption
|
|
64
|
+
#auto="matAutocomplete"
|
|
65
|
+
>
|
|
66
|
+
@for (option of store.autoComplete(); track option;) {
|
|
67
|
+
<mat-option [value]="option">{{ option }}</mat-option>
|
|
68
|
+
}
|
|
68
69
|
</mat-autocomplete>
|
|
69
70
|
</mat-form-field>
|
|
70
|
-
`, isInline: true, styles: [":host{display:
|
|
71
|
+
`, isInline: true, styles: [":host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:-moz-fit-content;width:fit-content;margin-bottom:20px}:host mat-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i4.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i4.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
71
72
|
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextInputFieldMolecule, decorators: [{
|
|
73
74
|
type: Component,
|
|
74
75
|
args: [{ selector: 'molecules-text-input-field', standalone: true, imports: [
|
|
75
|
-
CommonModule,
|
|
76
76
|
ReactiveFormsModule,
|
|
77
77
|
MatInputModule,
|
|
78
78
|
MatAutocompleteModule,
|
|
79
79
|
ErrorPipe,
|
|
80
80
|
], template: `
|
|
81
|
-
<mat-form-field [appearance]="store.appearance">
|
|
82
|
-
<mat-label>{{ store.label }}</mat-label>
|
|
81
|
+
<mat-form-field [appearance]="store.appearance()">
|
|
82
|
+
<mat-label>{{ store.label() }}</mat-label>
|
|
83
83
|
<input
|
|
84
84
|
matInput
|
|
85
|
-
[name]="store.name"
|
|
86
|
-
[type]="store.type"
|
|
87
|
-
[formControl]="store.control"
|
|
88
|
-
[placeholder]="store.placeholder"
|
|
85
|
+
[name]="store.name()"
|
|
86
|
+
[type]="store.type()"
|
|
87
|
+
[formControl]="store.control()"
|
|
88
|
+
[placeholder]="store.placeholder()"
|
|
89
89
|
[matAutocomplete]="auto"
|
|
90
|
+
[pattern]="store.pattern()"
|
|
91
|
+
>
|
|
92
|
+
@if (store.control()?.errors) {
|
|
93
|
+
<mat-error>{{ store.control()?.errors | error }}</mat-error>
|
|
94
|
+
}
|
|
95
|
+
@if (store.hint()) {
|
|
96
|
+
<mat-hint>{{ store.hint() }}</mat-hint>
|
|
97
|
+
}
|
|
98
|
+
<mat-autocomplete
|
|
99
|
+
autoSelectActiveOption
|
|
100
|
+
#auto="matAutocomplete"
|
|
90
101
|
>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<mat-option *ngFor="let option of store.autoComplete()" [value]="option">{{option}}</mat-option>
|
|
102
|
+
@for (option of store.autoComplete(); track option;) {
|
|
103
|
+
<mat-option [value]="option">{{ option }}</mat-option>
|
|
104
|
+
}
|
|
95
105
|
</mat-autocomplete>
|
|
96
106
|
</mat-form-field>
|
|
97
107
|
`, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, hostDirectives: [
|
|
98
108
|
{
|
|
99
109
|
directive: TextInputFieldMoleculeStore,
|
|
100
|
-
inputs: ['appearance', 'type', 'name', 'label', 'control', 'placeholder', 'hint', 'autoComplete'],
|
|
110
|
+
inputs: ['appearance', 'type', 'name', 'label', 'control', 'placeholder', 'hint', 'autoComplete', 'pattern'],
|
|
101
111
|
}
|
|
102
|
-
], styles: [":host{display:
|
|
112
|
+
], styles: [":host{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between}:host mat-form-field{width:100%}:host atoms-smart-menu-button{width:-moz-fit-content;width:fit-content;margin-bottom:20px}:host mat-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"] }]
|
|
103
113
|
}] });
|
|
104
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
114
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1pbnB1dC1maWVsZC5tb2xlY3VsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tcG9uZW50cy9zcmMvbGliL21vbGVjdWxlcy90ZXh0LWlucHV0LWZpZWxkL3RleHQtaW5wdXQtZmllbGQubW9sZWN1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0YsT0FBTyxFQUFFLFdBQVcsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFP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gPG1hdC1hdXRvY29tcGxldGVcbiAgICAgICAgYXV0b1NlbGVjdEFjdGl2ZU9wdGlvblxuICAgICAgICAjYXV0bz1cIm1hdEF1dG9jb21wbGV0ZVwiXG4gICAgICA+XG4gICAgICAgIEBmb3IgKG9wdGlvbiBvZiBzdG9yZS5hdXRvQ29tcGxldGUoKTsgdHJhY2sgb3B0aW9uOykge1xuICAgICAgICAgIDxtYXQtb3B0aW9uIFt2YWx1ZV09XCJvcHRpb25cIj57eyBvcHRpb24gfX08L21hdC1vcHRpb24+XG4gICAgICAgIH1cbiAgICAgIDwvbWF0LWF1dG9jb21wbGV0ZT5cbiAgPC9tYXQtZm9ybS1maWVsZD5cbiAgYCxcbiAgc3R5bGVVcmxzOiBbJy4vdGV4dC1pbnB1dC1maWVsZC5tb2xlY3VsZS5zY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICBob3N0OiB7Y2xhc3M6ICdtb2xlY3VsZSBmaWVsZCd9LFxuICBob3N0RGlyZWN0aXZlczogW1xuICAgIHtcbiAgICAgIGRpcmVjdGl2ZTogVGV4dElucHV0RmllbGRNb2xlY3VsZVN0b3JlLFxuICAgICAgaW5wdXRzOiBbJ2FwcGVhcmFuY2UnLCAndHlwZScsICduYW1lJywgJ2xhYmVsJywgJ2NvbnRyb2wnLCAncGxhY2Vob2xkZXInLCAnaGludCcsICdhdXRvQ29tcGxldGUnLCAncGF0dGVybiddLFxuICAgIH1cbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBUZXh0SW5wdXRGaWVsZE1vbGVjdWxlIGV4dGVuZHMgTmdBdG9taWNDb21wb25lbnQge1xuICBwcm90ZWN0ZWQgc3RvcmUgPSBpbmplY3QoVGV4dElucHV0RmllbGRNb2xlY3VsZVN0b3JlKVxufVxuIl19
|
|
@@ -1,47 +1,66 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component,
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Directive, input, inject, effect } from '@angular/core';
|
|
3
3
|
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
4
4
|
import { MatInputModule } from '@angular/material/input';
|
|
5
|
+
import { NgAtomicComponent } from '@ng-atomic/core';
|
|
5
6
|
import { ErrorPipe } from '@ng-atomic/common/pipes/error';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/
|
|
8
|
-
import * as i2 from "@angular/
|
|
9
|
-
import * as i3 from "@angular/material/
|
|
10
|
-
import * as i4 from "@angular/material/form-field";
|
|
8
|
+
import * as i1 from "@angular/forms";
|
|
9
|
+
import * as i2 from "@angular/material/input";
|
|
10
|
+
import * as i3 from "@angular/material/form-field";
|
|
11
11
|
export var ActionId;
|
|
12
12
|
(function (ActionId) {
|
|
13
13
|
ActionId["CTRL_ENTER_KEY_UP"] = "Ctrl Enter Key Up";
|
|
14
14
|
})(ActionId || (ActionId = {}));
|
|
15
|
-
export class
|
|
15
|
+
export class TextareaFieldMoleculeStore {
|
|
16
16
|
constructor() {
|
|
17
|
-
this.label = 'label';
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
17
|
+
this.label = input('label');
|
|
18
|
+
this.appearance = input('outline');
|
|
19
|
+
this.hint = input(null);
|
|
20
|
+
this.placeholder = input('placeholder');
|
|
21
|
+
this.floatLabel = input('auto');
|
|
22
|
+
this.control = input(new FormControl(''));
|
|
23
|
+
this.rows = input(10);
|
|
24
|
+
effect(() => {
|
|
25
|
+
console.debug('control:', this.control());
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaFieldMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
29
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TextareaFieldMoleculeStore, isStandalone: true, selector: "molecules-textarea-field", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", 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 }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaFieldMoleculeStore, decorators: [{
|
|
32
|
+
type: Directive,
|
|
33
|
+
args: [{ standalone: true, selector: 'molecules-textarea-field' }]
|
|
34
|
+
}], ctorParameters: () => [] });
|
|
35
|
+
export class TextareaFieldMolecule extends NgAtomicComponent {
|
|
36
|
+
constructor() {
|
|
37
|
+
super(...arguments);
|
|
38
|
+
this.store = inject(TextareaFieldMoleculeStore);
|
|
22
39
|
}
|
|
23
40
|
onKeyup($event) {
|
|
24
41
|
if ($event.ctrlKey && $event.key === 'Enter') {
|
|
25
|
-
this.
|
|
42
|
+
this.dispatch({ id: ActionId.CTRL_ENTER_KEY_UP });
|
|
26
43
|
$event.preventDefault();
|
|
27
44
|
}
|
|
28
45
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
31
|
-
<mat-form-field appearance="
|
|
32
|
-
<mat-label>{{ label }}</mat-label>
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: TextareaFieldMolecule, isStandalone: true, selector: "molecules-textarea-field", host: { classAttribute: "molecule field" }, usesInheritance: true, hostDirectives: [{ directive: TextareaFieldMoleculeStore, inputs: ["label", "label", "appearance", "appearance", "hint", "hint", "placeholder", "placeholder", "floatLabel", "floatLabel", "control", "control", "rows", "rows"] }], ngImport: i0, template: `
|
|
48
|
+
<mat-form-field [appearance]="store.appearance()" [floatLabel]="store.floatLabel()">
|
|
49
|
+
<mat-label>{{ store.label() }}</mat-label>
|
|
33
50
|
<textarea
|
|
34
51
|
matInput
|
|
35
|
-
[formControl]="control"
|
|
36
|
-
[placeholder]="placeholder"
|
|
52
|
+
[formControl]="store.control()"
|
|
53
|
+
[placeholder]="store.placeholder()"
|
|
37
54
|
(keyup)="onKeyup($event)"
|
|
38
|
-
[rows]="rows"
|
|
55
|
+
[rows]="store.rows()"
|
|
39
56
|
></textarea>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
57
|
+
<!-- @if (!store.control().errors && store.hint()) {
|
|
58
|
+
<mat-hint>{{ store.hint() }}</mat-hint>
|
|
59
|
+
} -->
|
|
60
|
+
<mat-error>{{ store.control().errors | error }}</mat-error>
|
|
61
|
+
</mat-form-field>`, isInline: true, styles: [":host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
43
62
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TextareaFieldMolecule, decorators: [{
|
|
45
64
|
type: Component,
|
|
46
65
|
args: [{ selector: 'molecules-textarea-field', standalone: true, imports: [
|
|
47
66
|
CommonModule,
|
|
@@ -49,29 +68,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
49
68
|
MatInputModule,
|
|
50
69
|
ErrorPipe,
|
|
51
70
|
], template: `
|
|
52
|
-
<mat-form-field appearance="
|
|
53
|
-
<mat-label>{{ label }}</mat-label>
|
|
71
|
+
<mat-form-field [appearance]="store.appearance()" [floatLabel]="store.floatLabel()">
|
|
72
|
+
<mat-label>{{ store.label() }}</mat-label>
|
|
54
73
|
<textarea
|
|
55
74
|
matInput
|
|
56
|
-
[formControl]="control"
|
|
57
|
-
[placeholder]="placeholder"
|
|
75
|
+
[formControl]="store.control()"
|
|
76
|
+
[placeholder]="store.placeholder()"
|
|
58
77
|
(keyup)="onKeyup($event)"
|
|
59
|
-
[rows]="rows"
|
|
78
|
+
[rows]="store.rows()"
|
|
60
79
|
></textarea>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
type: Input
|
|
74
|
-
}], action: [{
|
|
75
|
-
type: Output
|
|
76
|
-
}] } });
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEtZmllbGQubW9sZWN1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbXBvbmVudHMvc3JjL2xpYi9tb2xlY3VsZXMvdGV4dGFyZWEtZmllbGQvdGV4dGFyZWEtZmllbGQubW9sZWN1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDaEcsT0FBTyxFQUFFLFdBQVcsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUV6RCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sK0JBQStCLENBQUM7Ozs7OztBQUUxRCxNQUFNLENBQU4sSUFBWSxRQUVYO0FBRkQsV0FBWSxRQUFRO0lBQ2xCLG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mJiAkZXZlbnQua2V5ID09PSAnRW50ZXInKSB7XG4gICAgICB0aGlzLmFjdGlvbi5lbWl0KHtpZDogQWN0aW9uSWQuQ1RSTF9FTlRFUl9LRVlfVVB9KTtcbiAgICAgICRldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgIH1cbiAgfVxuXG59XG4iXX0=
|
|
80
|
+
<!-- @if (!store.control().errors && store.hint()) {
|
|
81
|
+
<mat-hint>{{ store.hint() }}</mat-hint>
|
|
82
|
+
} -->
|
|
83
|
+
<mat-error>{{ store.control().errors | error }}</mat-error>
|
|
84
|
+
</mat-form-field>`, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, hostDirectives: [
|
|
85
|
+
{
|
|
86
|
+
directive: TextareaFieldMoleculeStore,
|
|
87
|
+
inputs: ['label', 'appearance', 'hint', 'placeholder', 'floatLabel', 'control', 'rows'],
|
|
88
|
+
},
|
|
89
|
+
], styles: [":host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
90
|
+
}] });
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEtZmllbGQubW9sZWN1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbXBvbmVudHMvc3JjL2xpYi9tb2xlY3VsZXMvdGV4dGFyZWEtZmllbGQvdGV4dGFyZWEtZmllbGQubW9sZWN1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JHLE9BQU8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TtcbiAgICAgICRldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgIH1cbiAgfVxuXG59XG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Directive, EventEmitter, Output, ViewEncapsulation, inject, input } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { MatTableModule, MatTextColumn } from '@angular/material/table';
|
|
4
4
|
import { ClipboardModule } from '@angular/cdk/clipboard';
|
|
@@ -9,22 +9,30 @@ import { MatIconModule } from '@angular/material/icon';
|
|
|
9
9
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
10
10
|
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@angular/
|
|
13
|
-
import * as i2 from "@
|
|
14
|
-
import * as i3 from "@
|
|
15
|
-
import * as i4 from "@angular/material/
|
|
16
|
-
import * as i5 from "@angular/material/
|
|
17
|
-
import * as i6 from "@angular/material/
|
|
18
|
-
|
|
12
|
+
import * as i1 from "@angular/cdk/clipboard";
|
|
13
|
+
import * as i2 from "@ng-atomic/common/pipes/smart-exp";
|
|
14
|
+
import * as i3 from "@angular/material/button";
|
|
15
|
+
import * as i4 from "@angular/material/icon";
|
|
16
|
+
import * as i5 from "@angular/material/table";
|
|
17
|
+
import * as i6 from "@angular/material/tooltip";
|
|
18
|
+
export class TreeColumnMoleculeStore {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.sort = input('none');
|
|
21
|
+
this.treeControl = input(new FlatTreeControl((node) => node.level, (node) => node.isExpandable));
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeColumnMoleculeStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
24
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.2.2", type: TreeColumnMoleculeStore, isStandalone: true, selector: "molecules-tree-column", inputs: { sort: { classPropertyName: "sort", publicName: "sort", isSignal: true, isRequired: false, transformFunction: null }, treeControl: { classPropertyName: "treeControl", publicName: "treeControl", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeColumnMoleculeStore, decorators: [{
|
|
27
|
+
type: Directive,
|
|
28
|
+
args: [{ standalone: true, selector: 'molecules-tree-column' }]
|
|
29
|
+
}] });
|
|
19
30
|
export class TreeColumnMolecule extends MatTextColumn {
|
|
20
31
|
constructor() {
|
|
21
32
|
super(...arguments);
|
|
22
|
-
this.
|
|
33
|
+
this.store = inject(TreeColumnMoleculeStore);
|
|
23
34
|
this.headerClick = new EventEmitter();
|
|
24
|
-
// @Input()
|
|
25
|
-
// override dataAccessor = (data, name) => data[name.replace(/^__tree_/, '')] ?? '';
|
|
26
35
|
this.text = 'copy';
|
|
27
|
-
this.treeControl = new FlatTreeControl((node) => node.level, (node) => node.isExpandable);
|
|
28
36
|
}
|
|
29
37
|
get key() {
|
|
30
38
|
return this.name.slice('__tree_'.length);
|
|
@@ -33,8 +41,8 @@ export class TreeColumnMolecule extends MatTextColumn {
|
|
|
33
41
|
this.text = 'copied!';
|
|
34
42
|
setTimeout(() => this.text = 'copy', 1000);
|
|
35
43
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeColumnMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.2.2", type: TreeColumnMolecule, isStandalone: true, selector: "molecules-tree-column", outputs: { headerClick: "headerClick" }, usesInheritance: true, hostDirectives: [{ directive: TreeColumnMoleculeStore, inputs: ["sort", "sort", "treeControl", "treeControl"] }], ngImport: i0, template: `
|
|
38
46
|
<ng-container matColumnDef>
|
|
39
47
|
<th
|
|
40
48
|
mat-header-cell
|
|
@@ -44,10 +52,14 @@ export class TreeColumnMolecule extends MatTextColumn {
|
|
|
44
52
|
>
|
|
45
53
|
<p class="nowrap" style="display: flex; align-items: center; margin-left: 48px">
|
|
46
54
|
<span>{{ key }}</span>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
55
|
+
@switch(store.sort()) {
|
|
56
|
+
@case ('asc') {
|
|
57
|
+
<mat-icon class="order">south</mat-icon>
|
|
58
|
+
}
|
|
59
|
+
@case ('desc') {
|
|
60
|
+
<mat-icon class="order">north</mat-icon>
|
|
61
|
+
}
|
|
62
|
+
}
|
|
51
63
|
</p>
|
|
52
64
|
</th>
|
|
53
65
|
<td mat-cell *matCellDef="let data">
|
|
@@ -60,18 +72,18 @@ export class TreeColumnMolecule extends MatTextColumn {
|
|
|
60
72
|
mat-icon-button
|
|
61
73
|
[style.visibility]="!data.isExpandable ? 'hidden' : ''"
|
|
62
74
|
[style.marginLeft.px]="data.level * 32"
|
|
63
|
-
(click)="treeControl.toggle(data)"
|
|
75
|
+
(click)="store.treeControl().toggle(data)"
|
|
64
76
|
>
|
|
65
77
|
<mat-icon>
|
|
66
|
-
{{ treeControl.isExpanded(data) ? 'expand_more' : 'chevron_right' }}
|
|
78
|
+
{{ store.treeControl().isExpanded(data) ? 'expand_more' : 'chevron_right' }}
|
|
67
79
|
</mat-icon>
|
|
68
80
|
</button>
|
|
69
81
|
<span> {{ data | dataAccessor: key }} </span>
|
|
70
82
|
</p>
|
|
71
83
|
</td>
|
|
72
|
-
</ng-container> `, isInline: true, styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p.nowrap,td[mat-cell] p.nowrap{margin-block-start:0em;margin-block-end:0em;display:flex;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "
|
|
84
|
+
</ng-container> `, isInline: true, styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p.nowrap,td[mat-cell] p.nowrap{margin-block-start:0em;margin-block-end:0em;display:flex;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i1.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: SmartExpModule }, { kind: "pipe", type: i2.SmartExpPipe, name: "smartExp" }, { kind: "pipe", type: DataAccessorPipe, name: "dataAccessor" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i5.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i5.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i5.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i5.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i5.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
73
85
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TreeColumnMolecule, decorators: [{
|
|
75
87
|
type: Component,
|
|
76
88
|
args: [{ selector: 'molecules-tree-column', standalone: true, imports: [
|
|
77
89
|
CommonModule,
|
|
@@ -92,10 +104,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
92
104
|
>
|
|
93
105
|
<p class="nowrap" style="display: flex; align-items: center; margin-left: 48px">
|
|
94
106
|
<span>{{ key }}</span>
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
107
|
+
@switch(store.sort()) {
|
|
108
|
+
@case ('asc') {
|
|
109
|
+
<mat-icon class="order">south</mat-icon>
|
|
110
|
+
}
|
|
111
|
+
@case ('desc') {
|
|
112
|
+
<mat-icon class="order">north</mat-icon>
|
|
113
|
+
}
|
|
114
|
+
}
|
|
99
115
|
</p>
|
|
100
116
|
</th>
|
|
101
117
|
<td mat-cell *matCellDef="let data">
|
|
@@ -108,21 +124,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
108
124
|
mat-icon-button
|
|
109
125
|
[style.visibility]="!data.isExpandable ? 'hidden' : ''"
|
|
110
126
|
[style.marginLeft.px]="data.level * 32"
|
|
111
|
-
(click)="treeControl.toggle(data)"
|
|
127
|
+
(click)="store.treeControl().toggle(data)"
|
|
112
128
|
>
|
|
113
129
|
<mat-icon>
|
|
114
|
-
{{ treeControl.isExpanded(data) ? 'expand_more' : 'chevron_right' }}
|
|
130
|
+
{{ store.treeControl().isExpanded(data) ? 'expand_more' : 'chevron_right' }}
|
|
115
131
|
</mat-icon>
|
|
116
132
|
</button>
|
|
117
133
|
<span> {{ data | dataAccessor: key }} </span>
|
|
118
134
|
</p>
|
|
119
135
|
</td>
|
|
120
|
-
</ng-container> `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
136
|
+
</ng-container> `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
137
|
+
{
|
|
138
|
+
directive: TreeColumnMoleculeStore,
|
|
139
|
+
inputs: ['sort', 'treeControl'],
|
|
140
|
+
}
|
|
141
|
+
], styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p.nowrap,td[mat-cell] p.nowrap{margin-block-start:0em;margin-block-end:0em;display:flex;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
|
|
142
|
+
}], propDecorators: { headerClick: [{
|
|
124
143
|
type: Output
|
|
125
|
-
}], treeControl: [{
|
|
126
|
-
type: Input
|
|
127
144
|
}] } });
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
145
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1jb2x1bW4ubW9sZWN1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbXBvbmVudHMvc3JjL2xpYi9tb2xlY3VsZXMv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