@ng-atomic/components 5.14.0 → 6.0.3
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 +1 -1
- package/atoms/icon/icon.atom.d.ts +1 -1
- package/atoms/smart-menu-button/smart-menu-button.atom.d.ts +1 -1
- package/{esm2020 → esm2022}/atoms/chips-input/chips-input.atom.mjs +8 -8
- package/esm2022/atoms/icon/icon.atom.mjs +51 -0
- package/{esm2020 → esm2022}/atoms/smart-menu-button/smart-menu-button.atom.mjs +10 -10
- package/esm2022/extras/editor/editor.component.mjs +47 -0
- package/{esm2020 → esm2022}/frames/auto-layout/auto-layout.frame.mjs +5 -5
- package/{esm2020 → esm2022}/frames/card/card.frame.mjs +4 -4
- package/esm2022/frames/divider/divider.frame.mjs +84 -0
- package/esm2022/frames/drawer/drawer.frame.mjs +55 -0
- package/esm2022/frames/fab/fab.frame.mjs +44 -0
- package/esm2022/frames/fab/fab.service.mjs +27 -0
- package/esm2022/frames/line-up/line-up.animations.mjs +14 -0
- package/esm2022/frames/line-up/line-up.frame.mjs +112 -0
- package/esm2022/frames/line-up/resize-observer.mjs +16 -0
- package/{esm2020 → esm2022}/frames/loading/loading.frame.mjs +6 -6
- package/esm2022/frames/overlay/overlay.animations.mjs +12 -0
- package/esm2022/frames/overlay/overlay.frame.mjs +29 -0
- package/esm2022/frames/router-outlet/index.mjs +2 -0
- package/esm2022/frames/router-outlet/ng-atomic-components-frames-router-outlet.mjs +5 -0
- package/esm2022/frames/router-outlet/router-outlet.frame.mjs +77 -0
- package/esm2022/frames/scroll/scroll.frame.mjs +28 -0
- package/esm2022/frames/scroll-v2/index.mjs +2 -0
- package/esm2022/frames/scroll-v2/ng-atomic-components-frames-scroll-v2.mjs +5 -0
- package/esm2022/frames/scroll-v2/scroll.frame.mjs +34 -0
- package/esm2022/frames/side-nav/index.mjs +2 -0
- package/esm2022/frames/side-nav/ng-atomic-components-frames-side-nav.mjs +5 -0
- package/esm2022/frames/side-nav/side-nav.frame.mjs +126 -0
- package/{esm2020 → esm2022}/frames/smart-menu/smart-menu.frame.mjs +5 -5
- package/esm2022/frames/vertical-hide/index.mjs +2 -0
- package/esm2022/frames/vertical-hide/ng-atomic-components-frames-vertical-hide.mjs +5 -0
- package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +30 -0
- package/esm2022/index.mjs +25 -0
- package/esm2022/molecules/action-input-field/action-input-field.molecule.mjs +94 -0
- package/esm2022/molecules/action-input-field/index.mjs +2 -0
- package/esm2022/molecules/action-input-field/ng-atomic-components-molecules-action-input-field.mjs +5 -0
- package/esm2022/molecules/actions-column/actions-column.molecule.mjs +103 -0
- package/{esm2020 → esm2022}/molecules/checkbox-column/checkbox-column.molecule.mjs +8 -8
- package/{esm2020 → esm2022}/molecules/chips-input-field/chips-input-field.molecule.mjs +10 -6
- package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +68 -0
- package/esm2022/molecules/file-input-field/file-input-field.molecule.mjs +126 -0
- package/esm2022/molecules/file-input-field/index.mjs +2 -0
- package/esm2022/molecules/file-input-field/ng-atomic-components-molecules-file-input-field.mjs +5 -0
- package/{esm2020 → esm2022}/molecules/header/header.molecule.mjs +4 -4
- package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +68 -0
- package/{esm2020 → esm2022}/molecules/nested-menu/nested-menu.molecule.mjs +6 -6
- package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +60 -0
- package/{esm2020 → esm2022}/molecules/smart-column/smart-column.molecule.mjs +4 -4
- package/esm2022/molecules/text-input-field/text-input-field.molecule.mjs +104 -0
- package/esm2022/molecules/textarea-field/textarea-field.molecule.mjs +77 -0
- package/{esm2020 → esm2022}/molecules/tree-column/tree-column.molecule.mjs +6 -6
- package/{esm2020 → esm2022}/organisms/action-buttons-section/action-buttons-section.organism.mjs +5 -5
- package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +49 -0
- package/esm2022/organisms/action-input-section/index.mjs +2 -0
- package/esm2022/organisms/action-input-section/ng-atomic-components-organisms-action-input-section.mjs +5 -0
- package/{esm2020 → esm2022}/organisms/card-input-section/card-input-section.organism.mjs +5 -5
- package/{esm2020 → 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 +41 -0
- package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +77 -0
- package/esm2022/organisms/file-input-section/index.mjs +2 -0
- package/esm2022/organisms/file-input-section/ng-atomic-components-organisms-file-input-section.mjs +5 -0
- package/{esm2020 → esm2022}/organisms/filters-section/filters-section.organism.mjs +6 -6
- package/esm2022/organisms/graphql-editor/graphql-editor.organism.mjs +110 -0
- package/{esm2020 → esm2022}/organisms/grid-toolbar/grid-toolbar.organism.mjs +6 -6
- package/{esm2020 → esm2022}/organisms/heading/heading.organism.mjs +5 -5
- package/esm2022/organisms/menu-footer/index.mjs +2 -0
- package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +34 -0
- package/esm2022/organisms/menu-footer/ng-atomic-components-organisms-menu-footer.mjs +5 -0
- package/esm2022/organisms/menu-header/index.mjs +2 -0
- package/esm2022/organisms/menu-header/menu-header.organism.mjs +30 -0
- package/esm2022/organisms/menu-header/ng-atomic-components-organisms-menu-header.mjs +5 -0
- package/{esm2020 → esm2022}/organisms/mermaid-section/mermaid-section.organism.mjs +6 -6
- package/{esm2020 → esm2022}/organisms/message-input-section/message-input-section.organism.mjs +4 -4
- package/{esm2020 → esm2022}/organisms/messages-section/messages-section.organism.mjs +5 -5
- package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +63 -0
- package/esm2022/organisms/navigator/navigator.organism.mjs +70 -0
- package/{esm2020 → esm2022}/organisms/paginator/paginator.organism.mjs +6 -6
- package/{esm2020 → esm2022}/organisms/select-input-section/select-input-section.organism.mjs +5 -5
- package/esm2022/organisms/selection-list/index.mjs +2 -0
- package/esm2022/organisms/selection-list/ng-atomic-components-organisms-selection-list.mjs +5 -0
- package/esm2022/organisms/selection-list/selection-list.organism.mjs +114 -0
- package/esm2022/organisms/smart-list/smart-list.organism.mjs +144 -0
- package/esm2022/organisms/smart-table/smart-table.organism.mjs +210 -0
- package/{esm2020 → esm2022}/organisms/social-login-section/social-login-section.organism.mjs +5 -5
- package/esm2022/organisms/terminal/index.mjs +2 -0
- package/esm2022/organisms/terminal/ng-atomic-components-organisms-terminal.mjs +5 -0
- package/esm2022/organisms/terminal/terminal.organism.mjs +28 -0
- package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +52 -0
- package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +52 -0
- package/esm2022/organisms/toolbar/index.mjs +2 -0
- package/esm2022/organisms/toolbar/ng-atomic-components-organisms-toolbar.mjs +5 -0
- package/esm2022/organisms/toolbar/toolbar.organism.mjs +98 -0
- package/{esm2020 → esm2022}/organisms/tree-section/tree-section.organism.mjs +6 -6
- package/esm2022/organisms/vertical-divider/index.mjs +2 -0
- package/esm2022/organisms/vertical-divider/ng-atomic-components-organisms-vertical-divider.mjs +5 -0
- package/esm2022/organisms/vertical-divider/vertical-divider.organism.mjs +17 -0
- package/{esm2020 → esm2022}/pages/_index/index.module.mjs +6 -6
- package/{esm2020 → esm2022}/pages/_index/index.page.mjs +4 -4
- package/{esm2020 → esm2022}/pages/blank/blank.page.mjs +4 -4
- package/esm2022/templates/code-editor/code-editor.template.mjs +97 -0
- package/esm2022/templates/code-editor/index.mjs +2 -0
- package/esm2022/templates/code-editor/ng-atomic-components-templates-code-editor.mjs +5 -0
- package/esm2022/templates/entrance/entrance.template.mjs +107 -0
- package/esm2022/templates/file-tree/file-tree.template.mjs +94 -0
- package/esm2022/templates/file-tree/index.mjs +2 -0
- package/esm2022/templates/file-tree/ng-atomic-components-templates-file-tree.mjs +5 -0
- package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +64 -0
- package/esm2022/templates/icon-button-menu/index.mjs +2 -0
- package/esm2022/templates/icon-button-menu/ng-atomic-components-templates-icon-button-menu.mjs +5 -0
- package/{esm2020 → esm2022}/templates/loading/loading.template.mjs +4 -4
- package/esm2022/templates/menu/index.mjs +2 -0
- package/esm2022/templates/menu/menu.template.mjs +64 -0
- package/{esm2020 → esm2022}/templates/messages/messages.template.mjs +6 -6
- package/esm2022/templates/selection/index.mjs +2 -0
- package/esm2022/templates/selection/ng-atomic-components-templates-selection.mjs +5 -0
- package/esm2022/templates/selection/selection.template.mjs +128 -0
- package/esm2022/templates/smart-crud/smart-crud.template.mjs +256 -0
- package/esm2022/templates/smart-index/smart-index.template.mjs +346 -0
- package/esm2022/templates/tab-editor/index.mjs +2 -0
- package/esm2022/templates/tab-editor/ng-atomic-components-templates-tab-editor.mjs +5 -0
- package/esm2022/templates/tab-editor/tab-editor.template.mjs +76 -0
- package/esm2022/templates/term/index.mjs +2 -0
- package/esm2022/templates/term/ng-atomic-components-templates-term.mjs +5 -0
- package/esm2022/templates/term/term.template.mjs +79 -0
- package/extras/editor/editor.component.d.ts +3 -3
- package/{fesm2020 → fesm2022}/ng-atomic-components-atoms-chips-input.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +58 -0
- package/fesm2022/ng-atomic-components-atoms-icon.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-components-atoms-smart-menu-button.mjs +9 -9
- package/fesm2022/ng-atomic-components-atoms-smart-menu-button.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-extras-editor.mjs +12 -6
- package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +21 -0
- package/{fesm2015 → fesm2022}/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-atomic-components-frames-card.mjs +3 -3
- package/{fesm2015 → fesm2022}/ng-atomic-components-frames-card.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ng-atomic-components-frames-divider.mjs +27 -11
- package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +62 -0
- package/fesm2022/ng-atomic-components-frames-drawer.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-fab.mjs +75 -0
- package/fesm2022/ng-atomic-components-frames-fab.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +132 -0
- package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-components-frames-loading.mjs +5 -5
- package/{fesm2020 → fesm2022}/ng-atomic-components-frames-loading.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-overlay.mjs +47 -0
- package/fesm2022/ng-atomic-components-frames-overlay.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +84 -0
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +41 -0
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-scroll.mjs +35 -0
- package/fesm2022/ng-atomic-components-frames-scroll.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +133 -0
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +43 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +37 -0
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +101 -0
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-actions-column.mjs +6 -6
- package/{fesm2015 → fesm2022}/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-checkbox-column.mjs +7 -7
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-chips-input-field.mjs +9 -5
- package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-components-molecules-date-input-field.mjs +24 -4
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +133 -0
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-header.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-header.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +75 -0
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-components-molecules-nested-menu.mjs +5 -5
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-nested-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +67 -0
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-smart-column.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-smart-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +111 -0
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +84 -0
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-tree-column.mjs +5 -5
- package/{fesm2020 → fesm2022}/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +34 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +56 -0
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-card-input-section.mjs +4 -4
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +48 -0
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +84 -0
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-filters-section.mjs +5 -5
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-filters-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +115 -0
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-grid-toolbar.mjs +5 -5
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +27 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-heading.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +41 -0
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +37 -0
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-mermaid-section.mjs +5 -5
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-message-input-section.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-message-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +27 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-messages-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +70 -0
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-navigator.mjs +10 -11
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-paginator.mjs +5 -5
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-select-input-section.mjs +4 -4
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +121 -0
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +150 -0
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-smart-table.mjs +217 -0
- package/fesm2022/ng-atomic-components-organisms-smart-table.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +29 -0
- package/{fesm2015 → fesm2022}/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs +35 -0
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +59 -0
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +59 -0
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +105 -0
- package/fesm2022/ng-atomic-components-organisms-toolbar.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-tree-section.mjs +5 -5
- package/{fesm2020 → fesm2022}/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +24 -0
- package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-pages-_index.mjs +8 -8
- package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-pages-blank.mjs +3 -3
- package/{fesm2015 → fesm2022}/ng-atomic-components-pages-blank.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs +101 -0
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +114 -0
- package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-file-tree.mjs +100 -0
- package/fesm2022/ng-atomic-components-templates-file-tree.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +71 -0
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-templates-loading.mjs +3 -3
- package/{fesm2020 → fesm2022}/ng-atomic-components-templates-loading.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-menu.mjs +71 -0
- package/fesm2022/ng-atomic-components-templates-menu.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ng-atomic-components-templates-messages.mjs +5 -5
- package/{fesm2020 → fesm2022}/ng-atomic-components-templates-messages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-selection.mjs +135 -0
- package/fesm2022/ng-atomic-components-templates-selection.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-smart-crud.mjs +262 -0
- package/fesm2022/ng-atomic-components-templates-smart-crud.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-smart-index.mjs +353 -0
- package/fesm2022/ng-atomic-components-templates-smart-index.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +83 -0
- package/fesm2022/ng-atomic-components-templates-tab-editor.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-term.mjs +86 -0
- package/fesm2022/ng-atomic-components-templates-term.mjs.map +1 -0
- package/fesm2022/ng-atomic-components.mjs +32 -0
- package/fesm2022/ng-atomic-components.mjs.map +1 -0
- package/frames/divider/divider.frame.d.ts +12 -4
- package/frames/drawer/drawer.frame.d.ts +1 -1
- package/frames/fab/fab.frame.d.ts +4 -9
- package/frames/fab/fab.service.d.ts +5 -5
- package/frames/line-up/line-up.frame.d.ts +22 -21
- package/frames/line-up/resize-observer.d.ts +1 -1
- package/frames/loading/loading.frame.d.ts +1 -1
- package/frames/overlay/overlay.frame.d.ts +1 -1
- package/frames/router-outlet/index.d.ts +1 -0
- package/frames/router-outlet/router-outlet.frame.d.ts +14 -0
- package/frames/scroll-v2/index.d.ts +1 -0
- package/frames/scroll-v2/scroll.frame.d.ts +5 -0
- package/frames/side-nav/index.d.ts +1 -0
- package/frames/side-nav/side-nav.frame.d.ts +22 -0
- package/frames/smart-menu/smart-menu.frame.d.ts +1 -1
- package/frames/vertical-hide/index.d.ts +1 -0
- package/frames/vertical-hide/vertical-hide.frame.d.ts +6 -0
- package/index.d.ts +10 -1
- package/molecules/action-input-field/action-input-field.molecule.d.ts +23 -0
- package/molecules/action-input-field/index.d.ts +1 -0
- package/molecules/actions-column/actions-column.molecule.d.ts +1 -1
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +1 -1
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +1 -1
- package/molecules/date-input-field/date-input-field.molecule.d.ts +1 -1
- package/molecules/file-input-field/file-input-field.molecule.d.ts +35 -0
- package/molecules/file-input-field/index.d.ts +1 -0
- package/molecules/header/header.molecule.d.ts +1 -1
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +11 -3
- package/molecules/nested-menu/nested-menu.molecule.d.ts +1 -1
- package/molecules/select-input-field/select-input-field.molecule.d.ts +1 -1
- package/molecules/smart-column/smart-column.molecule.d.ts +1 -1
- package/molecules/text-input-field/text-input-field.molecule.d.ts +15 -8
- package/molecules/textarea-field/textarea-field.molecule.d.ts +1 -1
- package/molecules/tree-column/tree-column.molecule.d.ts +1 -1
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +1 -1
- package/organisms/action-input-section/action-input-section.organism.d.ts +12 -0
- package/organisms/action-input-section/index.d.ts +1 -0
- package/organisms/card-input-section/card-input-section.organism.d.ts +1 -1
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +1 -1
- package/organisms/date-input-section/date-input-section.organism.d.ts +1 -1
- package/organisms/file-input-section/file-input-section.organism.d.ts +20 -0
- package/organisms/file-input-section/index.d.ts +1 -0
- package/organisms/filters-section/filters-section.organism.d.ts +1 -1
- package/organisms/graphql-editor/graphql-editor.organism.d.ts +6 -14
- package/organisms/grid-toolbar/grid-toolbar.organism.d.ts +1 -1
- package/organisms/heading/heading.organism.d.ts +1 -1
- package/organisms/menu-footer/index.d.ts +1 -0
- package/organisms/menu-footer/menu-footer.organism.d.ts +12 -0
- package/organisms/menu-header/index.d.ts +1 -0
- package/organisms/menu-header/menu-header.organism.d.ts +12 -0
- package/organisms/mermaid-section/mermaid-section.organism.d.ts +1 -1
- package/organisms/message-input-section/message-input-section.organism.d.ts +1 -1
- package/organisms/messages-section/messages-section.organism.d.ts +1 -1
- package/organisms/navigation-list/navigation-list.organism.d.ts +10 -4
- package/organisms/navigator/navigator.organism.d.ts +4 -5
- package/organisms/paginator/paginator.organism.d.ts +1 -1
- package/organisms/select-input-section/select-input-section.organism.d.ts +1 -1
- package/organisms/selection-list/index.d.ts +1 -0
- package/organisms/selection-list/selection-list.organism.d.ts +19 -0
- package/organisms/smart-list/smart-list.organism.d.ts +16 -14
- package/organisms/smart-table/smart-table.organism.d.ts +16 -2
- package/organisms/terminal/index.d.ts +1 -0
- package/organisms/terminal/terminal.organism.d.ts +10 -0
- package/organisms/text-input-section/text-input-section.organism.d.ts +2 -1
- package/organisms/textarea-section/textarea-section.organism.d.ts +3 -1
- package/organisms/toolbar/index.d.ts +1 -0
- package/organisms/toolbar/toolbar.organism.d.ts +15 -0
- package/organisms/tree-section/tree-section.organism.d.ts +1 -1
- package/organisms/vertical-divider/index.d.ts +1 -0
- package/organisms/vertical-divider/vertical-divider.organism.d.ts +5 -0
- package/package.json +325 -319
- package/templates/code-editor/code-editor.template.d.ts +24 -0
- package/templates/code-editor/index.d.ts +1 -0
- package/templates/entrance/entrance.template.d.ts +4 -4
- package/templates/file-tree/file-tree.template.d.ts +24 -0
- package/templates/file-tree/index.d.ts +1 -0
- package/templates/icon-button-menu/icon-button-menu.template.d.ts +15 -0
- package/templates/icon-button-menu/index.d.ts +1 -0
- package/templates/menu/index.d.ts +1 -1
- package/templates/menu/menu.template.d.ts +11 -4
- package/templates/messages/messages.template.d.ts +1 -1
- package/templates/selection/index.d.ts +1 -0
- package/templates/selection/selection.template.d.ts +23 -0
- package/templates/smart-crud/smart-crud.template.d.ts +8 -3
- package/templates/smart-index/smart-index.template.d.ts +69 -24
- package/templates/tab-editor/index.d.ts +1 -0
- package/templates/tab-editor/tab-editor.template.d.ts +8 -0
- package/templates/term/index.d.ts +1 -0
- package/templates/term/term.template.d.ts +24 -0
- package/esm2020/atoms/icon/icon.atom.mjs +0 -35
- package/esm2020/extras/editor/editor.component.mjs +0 -41
- package/esm2020/frames/divider/divider.frame.mjs +0 -68
- package/esm2020/frames/drawer/drawer.frame.mjs +0 -40
- package/esm2020/frames/fab/fab.frame.mjs +0 -56
- package/esm2020/frames/fab/fab.service.mjs +0 -26
- package/esm2020/frames/line-up/line-up.animations.mjs +0 -67
- package/esm2020/frames/line-up/line-up.frame.mjs +0 -114
- package/esm2020/frames/line-up/resize-observer.mjs +0 -13
- package/esm2020/frames/overlay/overlay.animations.mjs +0 -28
- package/esm2020/frames/overlay/overlay.frame.mjs +0 -22
- package/esm2020/frames/scroll/scroll.frame.mjs +0 -17
- package/esm2020/index.mjs +0 -3
- package/esm2020/molecules/actions-column/actions-column.molecule.mjs +0 -103
- package/esm2020/molecules/date-input-field/date-input-field.molecule.mjs +0 -48
- package/esm2020/molecules/navigation-list-item/navigation-list-item.molecule.mjs +0 -46
- package/esm2020/molecules/select-input-field/select-input-field.molecule.mjs +0 -38
- package/esm2020/molecules/text-input-field/text-input-field.molecule.mjs +0 -43
- package/esm2020/molecules/textarea-field/textarea-field.molecule.mjs +0 -51
- package/esm2020/organisms/date-input-section/date-input-section.organism.mjs +0 -29
- package/esm2020/organisms/graphql-editor/graphql-editor.organism.mjs +0 -115
- package/esm2020/organisms/navigation-list/navigation-list.organism.mjs +0 -44
- package/esm2020/organisms/navigator/navigator.organism.mjs +0 -71
- package/esm2020/organisms/smart-list/smart-list.organism.mjs +0 -108
- package/esm2020/organisms/smart-table/smart-table.organism.mjs +0 -170
- package/esm2020/organisms/text-input-section/text-input-section.organism.mjs +0 -33
- package/esm2020/organisms/textarea-section/textarea-section.organism.mjs +0 -31
- package/esm2020/templates/entrance/entrance.template.mjs +0 -72
- package/esm2020/templates/menu/index.mjs +0 -2
- package/esm2020/templates/menu/menu.template.mjs +0 -46
- package/esm2020/templates/smart-crud/smart-crud.template.mjs +0 -85
- package/esm2020/templates/smart-index/smart-index.template.mjs +0 -242
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs +0 -113
- package/fesm2015/ng-atomic-components-atoms-chips-input.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-atoms-icon.mjs +0 -42
- package/fesm2015/ng-atomic-components-atoms-icon.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-atoms-smart-menu-button.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-extras-editor.mjs +0 -52
- package/fesm2015/ng-atomic-components-extras-editor.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-frames-auto-layout.mjs +0 -21
- package/fesm2015/ng-atomic-components-frames-card.mjs +0 -24
- package/fesm2015/ng-atomic-components-frames-divider.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-frames-drawer.mjs +0 -49
- package/fesm2015/ng-atomic-components-frames-drawer.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-frames-fab.mjs +0 -84
- package/fesm2015/ng-atomic-components-frames-fab.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-frames-line-up.mjs +0 -197
- package/fesm2015/ng-atomic-components-frames-line-up.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-frames-loading.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-frames-overlay.mjs +0 -56
- package/fesm2015/ng-atomic-components-frames-overlay.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-frames-scroll.mjs +0 -24
- package/fesm2015/ng-atomic-components-frames-scroll.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs +0 -43
- package/fesm2015/ng-atomic-components-frames-smart-menu.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-actions-column.mjs +0 -113
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs +0 -103
- package/fesm2015/ng-atomic-components-molecules-checkbox-column.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs +0 -131
- package/fesm2015/ng-atomic-components-molecules-chips-input-field.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-date-input-field.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-header.mjs +0 -28
- package/fesm2015/ng-atomic-components-molecules-header.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs +0 -53
- package/fesm2015/ng-atomic-components-molecules-navigation-list-item.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-nested-menu.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs +0 -45
- package/fesm2015/ng-atomic-components-molecules-select-input-field.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs +0 -55
- package/fesm2015/ng-atomic-components-molecules-smart-column.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs +0 -50
- package/fesm2015/ng-atomic-components-molecules-text-input-field.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs +0 -58
- package/fesm2015/ng-atomic-components-molecules-textarea-field.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-molecules-tree-column.mjs +0 -135
- package/fesm2015/ng-atomic-components-molecules-tree-column.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs +0 -34
- package/fesm2015/ng-atomic-components-organisms-action-buttons-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs +0 -35
- package/fesm2015/ng-atomic-components-organisms-card-input-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs +0 -36
- package/fesm2015/ng-atomic-components-organisms-date-input-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-filters-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs +0 -121
- package/fesm2015/ng-atomic-components-organisms-graphql-editor.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-grid-toolbar.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-heading.mjs +0 -27
- package/fesm2015/ng-atomic-components-organisms-heading.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-mermaid-section.mjs +0 -51
- package/fesm2015/ng-atomic-components-organisms-mermaid-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-message-input-section.mjs +0 -39
- package/fesm2015/ng-atomic-components-organisms-message-input-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-messages-section.mjs +0 -27
- package/fesm2015/ng-atomic-components-organisms-messages-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs +0 -51
- package/fesm2015/ng-atomic-components-organisms-navigation-list.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-navigator.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs +0 -61
- package/fesm2015/ng-atomic-components-organisms-paginator.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs +0 -35
- package/fesm2015/ng-atomic-components-organisms-select-input-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs +0 -119
- package/fesm2015/ng-atomic-components-organisms-smart-list.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs +0 -176
- package/fesm2015/ng-atomic-components-organisms-smart-table.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-social-login-section.mjs +0 -29
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs +0 -40
- package/fesm2015/ng-atomic-components-organisms-text-input-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs +0 -38
- package/fesm2015/ng-atomic-components-organisms-textarea-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-organisms-tree-section.mjs +0 -237
- package/fesm2015/ng-atomic-components-organisms-tree-section.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-pages-_index.mjs +0 -46
- package/fesm2015/ng-atomic-components-pages-_index.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-pages-blank.mjs +0 -24
- package/fesm2015/ng-atomic-components-templates-entrance.mjs +0 -79
- package/fesm2015/ng-atomic-components-templates-entrance.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-templates-loading.mjs +0 -24
- package/fesm2015/ng-atomic-components-templates-loading.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-templates-menu.mjs +0 -53
- package/fesm2015/ng-atomic-components-templates-menu.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-templates-messages.mjs +0 -97
- package/fesm2015/ng-atomic-components-templates-messages.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs +0 -91
- package/fesm2015/ng-atomic-components-templates-smart-crud.mjs.map +0 -1
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs +0 -248
- package/fesm2015/ng-atomic-components-templates-smart-index.mjs.map +0 -1
- package/fesm2015/ng-atomic-components.mjs +0 -9
- package/fesm2015/ng-atomic-components.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-atoms-icon.mjs +0 -42
- package/fesm2020/ng-atomic-components-atoms-icon.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs +0 -84
- package/fesm2020/ng-atomic-components-atoms-smart-menu-button.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-extras-editor.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs +0 -21
- package/fesm2020/ng-atomic-components-frames-auto-layout.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-card.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-divider.mjs +0 -75
- package/fesm2020/ng-atomic-components-frames-divider.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-drawer.mjs +0 -47
- package/fesm2020/ng-atomic-components-frames-drawer.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-fab.mjs +0 -84
- package/fesm2020/ng-atomic-components-frames-fab.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-line-up.mjs +0 -196
- package/fesm2020/ng-atomic-components-frames-line-up.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-loading.mjs +0 -36
- package/fesm2020/ng-atomic-components-frames-overlay.mjs +0 -56
- package/fesm2020/ng-atomic-components-frames-overlay.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-scroll.mjs +0 -24
- package/fesm2020/ng-atomic-components-frames-scroll.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-frames-smart-menu.mjs +0 -43
- package/fesm2020/ng-atomic-components-molecules-actions-column.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-molecules-chips-input-field.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs +0 -55
- package/fesm2020/ng-atomic-components-molecules-date-input-field.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs +0 -53
- package/fesm2020/ng-atomic-components-molecules-navigation-list-item.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-molecules-nested-menu.mjs +0 -87
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs +0 -45
- package/fesm2020/ng-atomic-components-molecules-select-input-field.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs +0 -50
- package/fesm2020/ng-atomic-components-molecules-text-input-field.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs +0 -58
- package/fesm2020/ng-atomic-components-molecules-textarea-field.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-organisms-action-buttons-section.mjs +0 -34
- package/fesm2020/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +0 -40
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs +0 -36
- package/fesm2020/ng-atomic-components-organisms-date-input-section.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-organisms-filters-section.mjs +0 -136
- package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs +0 -120
- package/fesm2020/ng-atomic-components-organisms-graphql-editor.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-organisms-grid-toolbar.mjs +0 -156
- package/fesm2020/ng-atomic-components-organisms-heading.mjs +0 -27
- package/fesm2020/ng-atomic-components-organisms-messages-section.mjs +0 -27
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs +0 -51
- package/fesm2020/ng-atomic-components-organisms-navigation-list.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs +0 -78
- package/fesm2020/ng-atomic-components-organisms-navigator.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs +0 -114
- package/fesm2020/ng-atomic-components-organisms-smart-list.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs +0 -177
- package/fesm2020/ng-atomic-components-organisms-smart-table.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs +0 -29
- package/fesm2020/ng-atomic-components-organisms-social-login-section.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs +0 -40
- package/fesm2020/ng-atomic-components-organisms-text-input-section.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs +0 -38
- package/fesm2020/ng-atomic-components-organisms-textarea-section.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-pages-_index.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs +0 -7
- package/fesm2020/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-pages-blank.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-templates-entrance.mjs +0 -79
- package/fesm2020/ng-atomic-components-templates-entrance.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-templates-menu.mjs +0 -53
- package/fesm2020/ng-atomic-components-templates-menu.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs +0 -91
- package/fesm2020/ng-atomic-components-templates-smart-crud.mjs.map +0 -1
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs +0 -249
- package/fesm2020/ng-atomic-components-templates-smart-index.mjs.map +0 -1
- package/fesm2020/ng-atomic-components.mjs +0 -9
- package/fesm2020/ng-atomic-components.mjs.map +0 -1
- /package/{esm2020 → esm2022}/atoms/chips-input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/chips-input/ng-atomic-components-atoms-chips-input.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/icon/ng-atomic-components-atoms-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/smart-menu-button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/atoms/smart-menu-button/ng-atomic-components-atoms-smart-menu-button.mjs +0 -0
- /package/{esm2020 → esm2022}/extras/editor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/extras/editor/ng-atomic-components-extras-editor.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/auto-layout/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/auto-layout/ng-atomic-components-frames-auto-layout.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/card/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/card/ng-atomic-components-frames-card.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/divider/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/divider/ng-atomic-components-frames-divider.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/drawer/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/drawer/ng-atomic-components-frames-drawer.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/fab/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/fab/ng-atomic-components-frames-fab.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/line-up/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/line-up/ng-atomic-components-frames-line-up.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/loading/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/loading/ng-atomic-components-frames-loading.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/overlay/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/overlay/ng-atomic-components-frames-overlay.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/scroll/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/scroll/ng-atomic-components-frames-scroll.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/smart-menu/index.mjs +0 -0
- /package/{esm2020 → esm2022}/frames/smart-menu/ng-atomic-components-frames-smart-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/actions-column/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/actions-column/ng-atomic-components-molecules-actions-column.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/checkbox-column/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/checkbox-column/ng-atomic-components-molecules-checkbox-column.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/chips-input-field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/chips-input-field/ng-atomic-components-molecules-chips-input-field.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/date-input-field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/date-input-field/ng-atomic-components-molecules-date-input-field.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/header/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/header/ng-atomic-components-molecules-header.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/navigation-list-item/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/navigation-list-item/ng-atomic-components-molecules-navigation-list-item.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/nested-menu/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/nested-menu/ng-atomic-components-molecules-nested-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/select-input-field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/select-input-field/ng-atomic-components-molecules-select-input-field.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/smart-column/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/smart-column/ng-atomic-components-molecules-smart-column.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/text-input-field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/text-input-field/ng-atomic-components-molecules-text-input-field.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/textarea-field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/textarea-field/ng-atomic-components-molecules-textarea-field.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/tree-column/index.mjs +0 -0
- /package/{esm2020 → esm2022}/molecules/tree-column/ng-atomic-components-molecules-tree-column.mjs +0 -0
- /package/{esm2020 → esm2022}/ng-atomic-components.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/action-buttons-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/action-buttons-section/ng-atomic-components-organisms-action-buttons-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/card-input-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/card-input-section/ng-atomic-components-organisms-card-input-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/cvc-and-exp-input-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/cvc-and-exp-input-section/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/date-input-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/date-input-section/ng-atomic-components-organisms-date-input-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/filters-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/filters-section/ng-atomic-components-organisms-filters-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/graphql-editor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/graphql-editor/ng-atomic-components-organisms-graphql-editor.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/grid-toolbar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/grid-toolbar/ng-atomic-components-organisms-grid-toolbar.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/heading/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/heading/ng-atomic-components-organisms-heading.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/mermaid-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/mermaid-section/ng-atomic-components-organisms-mermaid-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/message-input-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/message-input-section/ng-atomic-components-organisms-message-input-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/messages-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/messages-section/ng-atomic-components-organisms-messages-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/navigation-list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/navigation-list/ng-atomic-components-organisms-navigation-list.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/navigator/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/navigator/ng-atomic-components-organisms-navigator.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/paginator/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/paginator/ng-atomic-components-organisms-paginator.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/select-input-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/select-input-section/ng-atomic-components-organisms-select-input-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/smart-list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/smart-list/ng-atomic-components-organisms-smart-list.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/smart-table/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/smart-table/ng-atomic-components-organisms-smart-table.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/social-login-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/social-login-section/ng-atomic-components-organisms-social-login-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/text-input-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/text-input-section/ng-atomic-components-organisms-text-input-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/textarea-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/textarea-section/ng-atomic-components-organisms-textarea-section.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/tree-section/index.mjs +0 -0
- /package/{esm2020 → esm2022}/organisms/tree-section/ng-atomic-components-organisms-tree-section.mjs +0 -0
- /package/{esm2020 → esm2022}/pages/_index/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pages/_index/ng-atomic-components-pages-_index.mjs +0 -0
- /package/{esm2020 → esm2022}/pages/blank/blank.route.mjs +0 -0
- /package/{esm2020 → esm2022}/pages/blank/blank.routes.mjs +0 -0
- /package/{esm2020 → esm2022}/pages/blank/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pages/blank/ng-atomic-components-pages-blank.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/entrance/index.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/entrance/ng-atomic-components-templates-entrance.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/loading/index.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/loading/ng-atomic-components-templates-loading.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/menu/ng-atomic-components-templates-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/messages/index.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/messages/ng-atomic-components-templates-messages.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/smart-crud/index.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/smart-crud/ng-atomic-components-templates-smart-crud.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/smart-index/index.mjs +0 -0
- /package/{esm2020 → esm2022}/templates/smart-index/ng-atomic-components-templates-smart-index.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-atomic-components-pages-blank-blank.routes-09f8841a.mjs.map +0 -0
|
@@ -9,6 +9,7 @@ import { CommonModule } from '@angular/common';
|
|
|
9
9
|
import { MatIconModule } from '@angular/material/icon';
|
|
10
10
|
import { MatInputModule } from '@angular/material/input';
|
|
11
11
|
import { ChipsInputAtom } from '@ng-atomic/components/atoms/chips-input';
|
|
12
|
+
import { ErrorPipe } from '@ng-atomic/common/pipes/error';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
import * as i1 from "@ng-atomic/common/services/chips-manager";
|
|
14
15
|
import * as i2 from "@angular/common";
|
|
@@ -48,9 +49,8 @@ export class ChipsInputFieldMolecule {
|
|
|
48
49
|
this.chipsManager.remove(value);
|
|
49
50
|
this.control.setValue(this.chipsManager.getValue());
|
|
50
51
|
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
ChipsInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: ChipsInputFieldMolecule, isStandalone: true, selector: "molecules-chips-input-field", inputs: { appearance: "appearance", control: "control", floatLabel: "floatLabel", label: "label", hint: "hint", placeholder: "placeholder", separators: "separators" }, providers: [ChipsManager], ngImport: i0, template: `
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipsInputFieldMolecule, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ChipsManager }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ChipsInputFieldMolecule, isStandalone: true, selector: "molecules-chips-input-field", inputs: { appearance: "appearance", control: "control", floatLabel: "floatLabel", label: "label", hint: "hint", placeholder: "placeholder", separators: "separators" }, providers: [ChipsManager], ngImport: i0, template: `
|
|
54
54
|
<mat-form-field [appearance]="appearance" [floatLabel]="floatLabel">
|
|
55
55
|
<mat-label>{{ label }}</mat-label>
|
|
56
56
|
<mat-chip-grid #chipGrid>
|
|
@@ -71,9 +71,11 @@ ChipsInputFieldMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
71
71
|
>
|
|
72
72
|
</mat-chip-grid>
|
|
73
73
|
<mat-hint *ngIf="hint">{{ hint }}</mat-hint>
|
|
74
|
+
<mat-error>{{ control.errors | error }}</mat-error>
|
|
74
75
|
</mat-form-field>
|
|
75
|
-
`, isInline: true, styles: [":host{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host mat-form-field{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatChipsModule }, { kind: "component", type: i3.MatChipGrid, selector: "mat-chip-grid", inputs: ["tabIndex", "disabled", "placeholder", "required", "value", "errorStateMatcher"], outputs: ["change", "valueChange"] }, { kind: "directive", type: i3.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i3.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i3.MatChipRow, selector: "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", inputs: ["color", "disabled", "disableRipple", "tabIndex", "editable"], outputs: ["edited"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.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: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "ngmodule", type: MatFormFieldModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
76
|
-
|
|
76
|
+
`, isInline: true, styles: [":host{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host mat-form-field{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatChipsModule }, { kind: "component", type: i3.MatChipGrid, selector: "mat-chip-grid", inputs: ["tabIndex", "disabled", "placeholder", "required", "value", "errorStateMatcher"], outputs: ["change", "valueChange"] }, { kind: "directive", type: i3.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i3.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i3.MatChipRow, selector: "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", inputs: ["color", "disabled", "disableRipple", "tabIndex", "editable"], outputs: ["edited"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.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: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i6.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
77
|
+
}
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipsInputFieldMolecule, decorators: [{
|
|
77
79
|
type: Component,
|
|
78
80
|
args: [{ selector: 'molecules-chips-input-field', standalone: true, imports: [
|
|
79
81
|
CommonModule,
|
|
@@ -83,6 +85,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
83
85
|
MatInputModule,
|
|
84
86
|
MatFormFieldModule,
|
|
85
87
|
ChipsInputAtom,
|
|
88
|
+
ErrorPipe,
|
|
86
89
|
], template: `
|
|
87
90
|
<mat-form-field [appearance]="appearance" [floatLabel]="floatLabel">
|
|
88
91
|
<mat-label>{{ label }}</mat-label>
|
|
@@ -104,6 +107,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
104
107
|
>
|
|
105
108
|
</mat-chip-grid>
|
|
106
109
|
<mat-hint *ngIf="hint">{{ hint }}</mat-hint>
|
|
110
|
+
<mat-error>{{ control.errors | error }}</mat-error>
|
|
107
111
|
</mat-form-field>
|
|
108
112
|
`, changeDetection: ChangeDetectionStrategy.OnPush, providers: [ChipsManager], styles: [":host{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host mat-form-field{width:100%;height:100%}\n"] }]
|
|
109
113
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ChipsManager }]; }, propDecorators: { appearance: [{
|
|
@@ -121,4 +125,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
121
125
|
}], separators: [{
|
|
122
126
|
type: Input
|
|
123
127
|
}] } });
|
|
124
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
128
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcHMtaW5wdXQtZmllbGQubW9sZWN1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbXBvbmVudHMvc3JjL2xpYi9tb2xlY3VsZXMvY2hpcHMtaW5wdXQtZmllbGQvY2hpcHMtaW5wdXQtZmllbGQubW9sZWN1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDNUQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLGlCQUFpQixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0YsT0FBTyxFQUFxQixjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM1RSxPQUFPLEVBQTBCLGtC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oaXMuY2hpcHNNYW5hZ2VyLnNldFZhbHVlKHRoaXMuY29udHJvbC52YWx1ZSEpO1xuICAgIHRoaXMuY29udHJvbC52YWx1ZUNoYW5nZXMucGlwZShcbiAgICAgIHRha2VVbnRpbCh0aGlzLmRlc3Ryb3kkKSxcbiAgICApLnN1YnNjcmliZSgodmFsdWUpID0+IHtcbiAgICAgIHRoaXMuY2hpcHNNYW5hZ2VyLnNldFZhbHVlKHZhbHVlISk7XG4gICAgICB0aGlzLmNkLm1hcmtGb3JDaGVjaygpO1xuICAgIH0pO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5kZXN0cm95JC5uZXh0KCk7XG4gIH1cblxuICBvbkNoaUlucHV0VG9rZW5FbmQoZXZlbnQ6IE1hdENoaXBJbnB1dEV2ZW50KTogdm9pZCB7XG4gICAgdGhpcy5jaGlwc01hbmFnZXIuYWRkKGV2ZW50LnZhbHVlKTtcbiAgICB0aGlzLmNvbnRyb2wuc2V0VmFsdWUodGhpcy5jaGlwc01hbmFnZXIuZ2V0VmFsdWUoKSk7XG4gICAgZXZlbnQuaW5wdXQudmFsdWUgPSAnJztcbiAgfVxuXG4gIHJlbW92ZSh2YWx1ZTogc3RyaW5nKTogdm9pZCB7XG4gICAgdGhpcy5jaGlwc01hbmFnZXIucmVtb3ZlKHZhbHVlKTtcbiAgICB0aGlzLmNvbnRyb2wuc2V0VmFsdWUodGhpcy5jaGlwc01hbmFnZXIuZ2V0VmFsdWUoKSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
+
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
5
|
+
import { MatInputModule } from '@angular/material/input';
|
|
6
|
+
import { ErrorPipe } from '@ng-atomic/common/pipes/error';
|
|
7
|
+
import { MatDayjsDateModule } from '@ng-atomic/common/utils';
|
|
8
|
+
import dayjs from 'dayjs';
|
|
9
|
+
import { filter } from 'rxjs/operators';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@angular/forms";
|
|
13
|
+
import * as i3 from "@angular/material/input";
|
|
14
|
+
import * as i4 from "@angular/material/form-field";
|
|
15
|
+
import * as i5 from "@angular/material/datepicker";
|
|
16
|
+
export class DateInputFieldMolecule {
|
|
17
|
+
constructor() {
|
|
18
|
+
this._control = new FormControl(dayjs());
|
|
19
|
+
this.control = new FormControl(dayjs());
|
|
20
|
+
this.label = '';
|
|
21
|
+
this.placeholder = '';
|
|
22
|
+
}
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
this._control.valueChanges.pipe(filter(value => this.control.value !== value)).subscribe(value => this.control.setValue(value));
|
|
25
|
+
this.control.valueChanges.subscribe(value => this._control.setValue(value));
|
|
26
|
+
this._control.setValue(this.control.value);
|
|
27
|
+
}
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
29
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateInputFieldMolecule, isStandalone: true, selector: "molecules-date-input-field", inputs: { control: "control", label: "label", placeholder: "placeholder", hint: "hint" }, host: { classAttribute: "molecule field" }, ngImport: i0, template: `
|
|
30
|
+
<mat-form-field appearance="outline">
|
|
31
|
+
<mat-label>{{ label }}</mat-label>
|
|
32
|
+
<input matInput [formControl]="_control" [placeholder]="placeholder" [matDatepicker]="picker">
|
|
33
|
+
<mat-datepicker-toggle matIconSuffix [for]="picker"></mat-datepicker-toggle>
|
|
34
|
+
<mat-datepicker #picker></mat-datepicker>
|
|
35
|
+
<mat-hint *ngIf="hint">{{ hint }}</mat-hint>
|
|
36
|
+
<mat-error>{{ control.errors | error }}</mat-error>
|
|
37
|
+
</mat-form-field>
|
|
38
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-oqkY: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.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: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i5.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i5.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i5.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "ngmodule", type: MatDayjsDateModule }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
39
|
+
}
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateInputFieldMolecule, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{ selector: 'molecules-date-input-field', standalone: true, imports: [
|
|
43
|
+
CommonModule,
|
|
44
|
+
ReactiveFormsModule,
|
|
45
|
+
MatInputModule,
|
|
46
|
+
MatDatepickerModule,
|
|
47
|
+
MatDayjsDateModule,
|
|
48
|
+
ErrorPipe,
|
|
49
|
+
], template: `
|
|
50
|
+
<mat-form-field appearance="outline">
|
|
51
|
+
<mat-label>{{ label }}</mat-label>
|
|
52
|
+
<input matInput [formControl]="_control" [placeholder]="placeholder" [matDatepicker]="picker">
|
|
53
|
+
<mat-datepicker-toggle matIconSuffix [for]="picker"></mat-datepicker-toggle>
|
|
54
|
+
<mat-datepicker #picker></mat-datepicker>
|
|
55
|
+
<mat-hint *ngIf="hint">{{ hint }}</mat-hint>
|
|
56
|
+
<mat-error>{{ control.errors | error }}</mat-error>
|
|
57
|
+
</mat-form-field>
|
|
58
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule field' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-date-input-field-oqkY: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
59
|
+
}], propDecorators: { control: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], label: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], placeholder: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], hint: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}] } });
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1pbnB1dC1maWVsZC5tb2xlY3VsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tcG9uZW50cy9zcmMvbGliL21vbGVjdWxlcy9kYXRlLWlucHV0LWZpZWxkL2RhdGUtaW5wdXQtZmllbGQubW9sZWN1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFFLE9BQU8sRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDekQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzFELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzdELE9BQU8sS0FBZ0IsTUFBTSxPQUFPLENBQUM7QUFDckMsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7Ozs7O0FBMkJ4QyxNQUFNLE9BQU8sc0JBQXNCO0lBekJuQztRQTBCcUI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ZXhwb3J0IGNsYXNzIERhdGVJbnB1dEZpZWxkTW9sZWN1bGUge1xuICBwcm90ZWN0ZWQgcmVhZG9ubHkgX2NvbnRyb2wgPSBuZXcgRm9ybUNvbnRyb2w8RGF5anM+KGRheWpzKCkpO1xuXG4gIEBJbnB1dCgpXG4gIGNvbnRyb2wgPSBuZXcgRm9ybUNvbnRyb2w8RGF5anM+KGRheWpzKCkpO1xuXG4gIEBJbnB1dCgpXG4gIGxhYmVsID0gJyc7XG5cbiAgQElucHV0KClcbiAgcGxhY2Vob2xkZXIgPSAnJztcblxuICBASW5wdXQoKVxuICBoaW50Pzogc3RyaW5nO1xuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIHRoaXMuX2NvbnRyb2wudmFsdWVDaGFuZ2VzLnBpcGUoXG4gICAgICBmaWx0ZXIodmFsdWUgPT4gdGhpcy5jb250cm9sLnZhbHVlICE9PSB2YWx1ZSksXG4gICAgKS5zdWJzY3JpYmUodmFsdWUgPT4gdGhpcy5jb250cm9sLnNldFZhbHVlKHZhbHVlKSk7XG5cbiAgICB0aGlzLmNvbnRyb2wudmFsdWVDaGFuZ2VzLnN1YnNjcmliZSh2YWx1ZSA9PiB0aGlzLl9jb250cm9sLnNldFZhbHVlKHZhbHVlKSk7XG4gICAgdGhpcy5fY29udHJvbC5zZXRWYWx1ZSh0aGlzLmNvbnRyb2wudmFsdWUpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import { MatInputModule } from '@angular/material/input';
|
|
6
|
+
import { SmartMenuButtonAtom } from '@ng-atomic/components/atoms/smart-menu-button';
|
|
7
|
+
import { Effect, NgAtomicComponent } from '@ng-atomic/common/stores/component-store';
|
|
8
|
+
import { ErrorPipe } from '@ng-atomic/common/pipes/error';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@angular/common";
|
|
11
|
+
import * as i2 from "@angular/forms";
|
|
12
|
+
import * as i3 from "@angular/material/input";
|
|
13
|
+
import * as i4 from "@angular/material/form-field";
|
|
14
|
+
var ActionId;
|
|
15
|
+
(function (ActionId) {
|
|
16
|
+
ActionId["FILE_SELECT_BUTTON_CLICK"] = "[@ng-atomic/components/molecules/file-input-field] File select button click";
|
|
17
|
+
ActionId["FILE_SELECTED"] = "[@ng-atomic/components/molecules/file-input-field] File selected";
|
|
18
|
+
ActionId["CANCEL"] = "[@ng-atomic/components/molecules/file-input-field] Cancel";
|
|
19
|
+
})(ActionId || (ActionId = {}));
|
|
20
|
+
export class FileInputFieldMolecule extends NgAtomicComponent {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.appearance = 'outline';
|
|
24
|
+
this.label = 'label';
|
|
25
|
+
this.control = new FormControl('');
|
|
26
|
+
this._control = new FormControl({ value: '', disabled: true });
|
|
27
|
+
this.placeholder = 'placeholder';
|
|
28
|
+
}
|
|
29
|
+
static { this.ActionId = ActionId; }
|
|
30
|
+
get actions() {
|
|
31
|
+
return this.progress ? [
|
|
32
|
+
{
|
|
33
|
+
id: ActionId.CANCEL,
|
|
34
|
+
icon: 'cancel',
|
|
35
|
+
name: 'Cancel',
|
|
36
|
+
disabled: this.control.disabled,
|
|
37
|
+
},
|
|
38
|
+
] : [
|
|
39
|
+
{
|
|
40
|
+
id: ActionId.FILE_SELECT_BUTTON_CLICK,
|
|
41
|
+
icon: 'attach_file',
|
|
42
|
+
name: 'Select file',
|
|
43
|
+
disabled: this.control.disabled,
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
}
|
|
47
|
+
ngOnInit() {
|
|
48
|
+
this._control.setValidators(this.control['_rawValidators']);
|
|
49
|
+
this._control.setAsyncValidators(this.control['_rawAsyncValidators']);
|
|
50
|
+
this.control.valueChanges.subscribe(value => this._control.setValue(value));
|
|
51
|
+
}
|
|
52
|
+
onFileSelectButtonClick() {
|
|
53
|
+
this.fileUpload.nativeElement.click();
|
|
54
|
+
}
|
|
55
|
+
onFileSelected(event) {
|
|
56
|
+
this.dispatch({
|
|
57
|
+
id: ActionId.FILE_SELECTED,
|
|
58
|
+
payload: event.target.files,
|
|
59
|
+
});
|
|
60
|
+
this.fileUpload.nativeElement.value = '';
|
|
61
|
+
}
|
|
62
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileInputFieldMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
63
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FileInputFieldMolecule, isStandalone: true, selector: "molecules-file-input-field", inputs: { appearance: "appearance", name: "name", label: "label", control: "control", placeholder: "placeholder", hint: "hint", progress: "progress" }, viewQueries: [{ propertyName: "fileUpload", first: true, predicate: ["fileUpload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
64
|
+
<mat-form-field [appearance]="appearance">
|
|
65
|
+
<mat-label>{{ label }}</mat-label>
|
|
66
|
+
<input matInput [name]="name" type="text" [formControl]="_control" [placeholder]="placeholder">
|
|
67
|
+
<!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->
|
|
68
|
+
<mat-hint *ngIf="progress">Uploading...({{ progress?.toFixed(2) }}%)</mat-hint>
|
|
69
|
+
<mat-hint *ngIf="!progress && hint">{{ hint }}</mat-hint>
|
|
70
|
+
<mat-error>{{ control.errors | error }}</mat-error>
|
|
71
|
+
</mat-form-field>
|
|
72
|
+
<atoms-smart-menu-button
|
|
73
|
+
[actions]="actions"
|
|
74
|
+
(action)="dispatch($event)"
|
|
75
|
+
></atoms-smart-menu-button>
|
|
76
|
+
<input style="display: none" type="file" value="test" (change)="onFileSelected($event)" #fileUpload>
|
|
77
|
+
`, isInline: true, styles: [":host{display:block}: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}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.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: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: SmartMenuButtonAtom, selector: "atoms-smart-menu-button", inputs: ["actions"], outputs: ["action"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
78
|
+
}
|
|
79
|
+
__decorate([
|
|
80
|
+
Effect(ActionId.FILE_SELECT_BUTTON_CLICK),
|
|
81
|
+
__metadata("design:type", Function),
|
|
82
|
+
__metadata("design:paramtypes", []),
|
|
83
|
+
__metadata("design:returntype", void 0)
|
|
84
|
+
], FileInputFieldMolecule.prototype, "onFileSelectButtonClick", null);
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileInputFieldMolecule, decorators: [{
|
|
86
|
+
type: Component,
|
|
87
|
+
args: [{ selector: 'molecules-file-input-field', standalone: true, imports: [
|
|
88
|
+
CommonModule,
|
|
89
|
+
ReactiveFormsModule,
|
|
90
|
+
MatInputModule,
|
|
91
|
+
SmartMenuButtonAtom,
|
|
92
|
+
ErrorPipe,
|
|
93
|
+
], template: `
|
|
94
|
+
<mat-form-field [appearance]="appearance">
|
|
95
|
+
<mat-label>{{ label }}</mat-label>
|
|
96
|
+
<input matInput [name]="name" type="text" [formControl]="_control" [placeholder]="placeholder">
|
|
97
|
+
<!-- <mat-icon matSuffix>sentiment_very_satisfied</mat-icon> -->
|
|
98
|
+
<mat-hint *ngIf="progress">Uploading...({{ progress?.toFixed(2) }}%)</mat-hint>
|
|
99
|
+
<mat-hint *ngIf="!progress && hint">{{ hint }}</mat-hint>
|
|
100
|
+
<mat-error>{{ control.errors | error }}</mat-error>
|
|
101
|
+
</mat-form-field>
|
|
102
|
+
<atoms-smart-menu-button
|
|
103
|
+
[actions]="actions"
|
|
104
|
+
(action)="dispatch($event)"
|
|
105
|
+
></atoms-smart-menu-button>
|
|
106
|
+
<input style="display: none" type="file" value="test" (change)="onFileSelected($event)" #fileUpload>
|
|
107
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}: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}\n"] }]
|
|
108
|
+
}], propDecorators: { appearance: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], name: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], label: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], control: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], placeholder: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], hint: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], progress: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], fileUpload: [{
|
|
123
|
+
type: ViewChild,
|
|
124
|
+
args: ['fileUpload', { static: true }]
|
|
125
|
+
}], onFileSelectButtonClick: [] } });
|
|
126
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1pbnB1dC1maWVsZC5tb2xlY3VsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BuZy1hdG9taWMvY29tcG9uZW50cy9zcmMvbGliL21vbGVjdWxlcy9maWxlLWlucHV0LWZpZWxkL2ZpbGUtaW5wdXQtZmllbGQubW9sZWN1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakcsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQWMsTUFBTSxnQkFBZ0IsQ0FBQztBQUM5RSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDekQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sK0NBQStDLENBQUM7QUFDcEYsT0FBTyxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDBDQUEwQyxDQUFDO0FBQ3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GVjdGVkIGZpbGVVcGxvYWQ6IEVsZW1lbnRSZWY8SFRNTElucHV0RWxlbWVudD47XG5cbiAgbmdPbkluaXQoKSB7XG4gICAgdGhpcy5fY29udHJvbC5zZXRWYWxpZGF0b3JzKHRoaXMuY29udHJvbFsnX3Jhd1ZhbGlkYXRvcnMnXSk7XG4gICAgdGhpcy5fY29udHJvbC5zZXRBc3luY1ZhbGlkYXRvcnModGhpcy5jb250cm9sWydfcmF3QXN5bmNWYWxpZGF0b3JzJ10pO1xuICAgIHRoaXMuY29udHJvbC52YWx1ZUNoYW5nZXMuc3Vic2NyaWJlKHZhbHVlID0+IHRoaXMuX2NvbnRyb2wuc2V0VmFsdWUodmFsdWUpKTtcbiAgfVxuXG4gIEBFZmZlY3QoQWN0aW9uSWQuRklMRV9TRUxFQ1RfQlVUVE9OX0NMSUNLKVxuICBwcm90ZWN0ZWQgb25GaWxlU2VsZWN0QnV0dG9uQ2xpY2soKSB7XG4gICAgdGhpcy5maWxlVXBsb2FkLm5hdGl2ZUVsZW1lbnQuY2xpY2soKTtcbiAgfVxuXG4gIHByb3RlY3RlZCBvbkZpbGVTZWxlY3RlZChldmVudDogRXZlbnQgJiB7dGFyZ2V0OiBIVE1MSW5wdXRFbGVtZW50fSkge1xuICAgIHRoaXMuZGlzcGF0Y2goe1xuICAgICAgaWQ6IEFjdGlvbklkLkZJTEVfU0VMRUNURUQsXG4gICAgICBwYXlsb2FkOiBldmVudC50YXJnZXQuZmlsZXMsXG4gICAgfSk7XG4gICAgdGhpcy5maWxlVXBsb2FkLm5hdGl2ZUVsZW1lbnQudmFsdWUgPSAnJztcbiAgfVxuXG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './file-input-field.molecule';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbXBvbmVudHMvc3JjL2xpYi9tb2xlY3VsZXMvZmlsZS1pbnB1dC1maWVsZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDZCQUE2QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9maWxlLWlucHV0LWZpZWxkLm1vbGVjdWxlJztcblxuIl19
|
package/esm2022/molecules/file-input-field/ng-atomic-components-molecules-file-input-field.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbXBvbmVudHMtbW9sZWN1bGVzLWZpbGUtaW5wdXQtZmllbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbXBvbmVudHMvc3JjL2xpYi9tb2xlY3VsZXMvZmlsZS1pbnB1dC1maWVsZC9uZy1hdG9taWMtY29tcG9uZW50cy1tb2xlY3VsZXMtZmlsZS1pbnB1dC1maWVsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -5,10 +5,10 @@ export class HeaderMolecule {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.title = 'title';
|
|
7
7
|
}
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderMolecule, isStandalone: true, selector: "molecules-header", inputs: { title: "title", description: "description" }, ngImport: i0, template: "<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n", styles: [":host{display:block}:host{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
10
|
}
|
|
9
|
-
|
|
10
|
-
HeaderMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: HeaderMolecule, isStandalone: true, selector: "molecules-header", inputs: { title: "title", description: "description" }, ngImport: i0, template: "<span class=\"title\">{{ title ?? '' }}</span>\n<span class=\"description\">{{ description ?? '' }}</span>\n", styles: [":host{display:block}:host{display:flex;flex-direction:row;justify-content:center;align-items:flex-end}:host .description{line-height:1em;font-size:12px;margin-bottom:8px;margin-left:4px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HeaderMolecule, decorators: [{
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderMolecule, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'molecules-header', standalone: true, imports: [
|
|
14
14
|
CommonModule,
|
|
@@ -18,4 +18,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
18
18
|
}], description: [{
|
|
19
19
|
type: Input
|
|
20
20
|
}] } });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLm1vbGVjdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21wb25lbnRzL3NyYy9saWIvbW9sZWN1bGVzL2hlYWRlci9oZWFkZXIubW9sZWN1bGUudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbXBvbmVudHMvc3JjL2xpYi9tb2xlY3VsZXMvaGVhZGVyL2hlYWRlci5tb2xlY3VsZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsU0FBUyxFQUFFLHVCQUF1QixFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFZMUUsTUFBTSxPQUFPLGNBQWM7SUFWM0I7UUFhRSxVQUFLLEdBQUcsT0FBTyxDQUFDO0tBS2pCOytHQVJZLGNBQWM7bUdBQWQsY0FBYyxvSUNiM0IsOEdBRUEscVBES0ksWUFBWTs7NEZBTUgsY0FBYztrQkFWMUIsU0FBUzsrQkFDRSxrQkFBa0IsY0FDaEIsSUFBSSxXQUNQO3dCQUNQLFlBQVk7cUJBQ2IsbUJBR2dCLHVCQUF1QixDQUFDLE1BQU07OEJBSy9DLEtBQUs7c0JBREosS0FBSztnQkFJTixXQUFXO3NCQURWLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgQ29tcG9uZW50LCBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnbW9sZWN1bGVzLWhlYWRlcicsXG4gIHN0YW5kYWxvbmU6IHRydWUsXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gIF0sXG4gIHRlbXBsYXRlVXJsOiAnLi9oZWFkZXIubW9sZWN1bGUuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2hlYWRlci5tb2xlY3VsZS5zY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEhlYWRlck1vbGVjdWxlIHtcblxuICBASW5wdXQoKVxuICB0aXRsZSA9ICd0aXRsZSc7XG5cbiAgQElucHV0KClcbiAgZGVzY3JpcHRpb24/OiBzdHJpbmc7XG5cbn1cbiIsIjxzcGFuIGNsYXNzPVwidGl0bGVcIj57eyB0aXRsZSA/PyAnJyB9fTwvc3Bhbj5cbjxzcGFuIGNsYXNzPVwiZGVzY3JpcHRpb25cIj57eyBkZXNjcmlwdGlvbiA/PyAnJyB9fTwvc3Bhbj5cbiJdfQ==
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input, Directive, inject, InjectionToken } from '@angular/core';
|
|
3
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
4
|
+
import { MatListModule } from '@angular/material/list';
|
|
5
|
+
import { InjectableComponent } from '@ng-atomic/common/core';
|
|
6
|
+
import { IconAtom } from '@ng-atomic/components/atoms/icon';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/material/list";
|
|
9
|
+
export class NavigationListItemMoleculeStore extends InjectableComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.selected = false;
|
|
13
|
+
}
|
|
14
|
+
static { this.TOKEN = new InjectionToken('NavigationListItemMoleculeStore'); }
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationListItemMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
16
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NavigationListItemMoleculeStore, isStandalone: true, selector: "molecules-navigation-list-item", inputs: { _action: ["action", "_action"], selected: "selected" }, usesInheritance: true, ngImport: i0 }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationListItemMoleculeStore, decorators: [{
|
|
19
|
+
type: Directive,
|
|
20
|
+
args: [{ standalone: true, selector: 'molecules-navigation-list-item' }]
|
|
21
|
+
}], propDecorators: { _action: [{
|
|
22
|
+
type: Input,
|
|
23
|
+
args: ['action']
|
|
24
|
+
}], selected: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}] } });
|
|
27
|
+
export class NavigationListItemMolecule {
|
|
28
|
+
constructor() {
|
|
29
|
+
this.store = inject(NavigationListItemMoleculeStore);
|
|
30
|
+
}
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationListItemMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NavigationListItemMolecule, isStandalone: true, selector: "molecules-navigation-list-item", hostDirectives: [{ directive: NavigationListItemMoleculeStore, inputs: ["action", "action", "selected", "selected"] }], ngImport: i0, template: `
|
|
33
|
+
<mat-list-item>
|
|
34
|
+
<atoms-icon
|
|
35
|
+
matListItemIcon
|
|
36
|
+
[name]="store._action?.icon"
|
|
37
|
+
[color]="store._action?.color"
|
|
38
|
+
matListItemMeta
|
|
39
|
+
></atoms-icon>
|
|
40
|
+
<div matListItemTitle>{{ store._action.name }}</div>
|
|
41
|
+
</mat-list-item>
|
|
42
|
+
`, isInline: true, styles: [":host{display:block}:host{--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: white}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i1.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "component", type: IconAtom, selector: "atoms-icon", inputs: ["name", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
43
|
+
}
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationListItemMolecule, decorators: [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'molecules-navigation-list-item', standalone: true, imports: [
|
|
47
|
+
CommonModule,
|
|
48
|
+
MatIconModule,
|
|
49
|
+
MatListModule,
|
|
50
|
+
IconAtom,
|
|
51
|
+
], template: `
|
|
52
|
+
<mat-list-item>
|
|
53
|
+
<atoms-icon
|
|
54
|
+
matListItemIcon
|
|
55
|
+
[name]="store._action?.icon"
|
|
56
|
+
[color]="store._action?.color"
|
|
57
|
+
matListItemMeta
|
|
58
|
+
></atoms-icon>
|
|
59
|
+
<div matListItemTitle>{{ store._action.name }}</div>
|
|
60
|
+
</mat-list-item>
|
|
61
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
62
|
+
{
|
|
63
|
+
directive: NavigationListItemMoleculeStore,
|
|
64
|
+
inputs: ['action', 'selected'],
|
|
65
|
+
},
|
|
66
|
+
], styles: [":host{display:block}:host{--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: white}\n"] }]
|
|
67
|
+
}] });
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2aWdhdGlvbi1saXN0LWl0ZW0ubW9sZWN1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbXBvbmVudHMvc3JjL2xpYi9tb2xlY3VsZXMvbmF2aWdhdGlvbi1saXN0LWl0ZW0vbmF2aWdhdGlvbi1saXN0LWl0ZW0ubW9sZWN1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsdUJBQXVCLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdHLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDdkQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFN0QsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGtDQUFrQyxDQUFDOzs7QUFHNUQsTUFBTSxPQUFPLCtCQUFnQyxTQUFRLG1CQUFtQjtJQUR4RTs7UUFJVyxhQUFRLEdBQUcsS0FBSyxDQ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SxcbiAgXSxcbiAgdGVtcGxhdGU6IGBcbiAgICA8bWF0LWxpc3QtaXRlbT5cbiAgICAgIDxhdG9tcy1pY29uXG4gICAgICAgIG1hdExpc3RJdGVtSWNvblxuICAgICAgICBbbmFtZV09XCJzdG9yZS5fYWN0aW9uPy5pY29uXCJcbiAgICAgICAgW2NvbG9yXT1cInN0b3JlLl9hY3Rpb24/LmNvbG9yXCJcbiAgICAgICAgbWF0TGlzdEl0ZW1NZXRhXG4gICAgICA+PC9hdG9tcy1pY29uPlxuICAgICAgPGRpdiBtYXRMaXN0SXRlbVRpdGxlPnt7IHN0b3JlLl9hY3Rpb24ubmFtZSB9fTwvZGl2PlxuICAgIDwvbWF0LWxpc3QtaXRlbT5cbiAgYCxcbiAgc3R5bGVVcmxzOiBbJy4vbmF2aWdhdGlvbi1saXN0LWl0ZW0ubW9sZWN1bGUuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgaG9zdERpcmVjdGl2ZXM6IFtcbiAgICB7XG4gICAgICBkaXJlY3RpdmU6IE5hdmlnYXRpb25MaXN0SXRlbU1vbGVjdWxlU3RvcmUsXG4gICAgICBpbnB1dHM6IFsnYWN0aW9uJywgJ3NlbGVjdGVkJ10sXG4gICAgfSxcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBOYXZpZ2F0aW9uTGlzdEl0ZW1Nb2xlY3VsZSB7XG4gIHByb3RlY3RlZCBzdG9yZSA9IGluamVjdChOYXZpZ2F0aW9uTGlzdEl0ZW1Nb2xlY3VsZVN0b3JlKTtcbn1cbiJdfQ==
|
|
@@ -8,9 +8,8 @@ export class NestedMenuMolecule {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
this.action = new EventEmitter();
|
|
10
10
|
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
NestedMenuMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: NestedMenuMolecule, isStandalone: true, selector: "molecules-nested-menu", inputs: { actions: "actions" }, outputs: { action: "action" }, viewQueries: [{ propertyName: "childMenu", first: true, predicate: ["childMenu"], descendants: true }], ngImport: i0, template: `
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NestedMenuMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NestedMenuMolecule, isStandalone: true, selector: "molecules-nested-menu", inputs: { actions: "actions" }, outputs: { action: "action" }, viewQueries: [{ propertyName: "childMenu", first: true, predicate: ["childMenu"], descendants: true }], ngImport: i0, template: `
|
|
14
13
|
<mat-menu #childMenu="matMenu" [overlapTrigger]="false">
|
|
15
14
|
<span *ngFor="let _action of actions">
|
|
16
15
|
<span *ngIf="_action?.children">
|
|
@@ -33,8 +32,9 @@ NestedMenuMolecule.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
33
32
|
</span>
|
|
34
33
|
</span>
|
|
35
34
|
</mat-menu>
|
|
36
|
-
`, isInline: true, dependencies: [{ kind: "component", type: NestedMenuMolecule, selector: "molecules-nested-menu", inputs: ["actions"], outputs: ["action"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
37
|
-
|
|
35
|
+
`, isInline: true, dependencies: [{ kind: "component", type: NestedMenuMolecule, selector: "molecules-nested-menu", inputs: ["actions"], outputs: ["action"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
36
|
+
}
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NestedMenuMolecule, decorators: [{
|
|
38
38
|
type: Component,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: 'molecules-nested-menu',
|
|
@@ -77,4 +77,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
77
77
|
}], action: [{
|
|
78
78
|
type: Output
|
|
79
79
|
}] } });
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmVzdGVkLW1lbnUubW9sZWN1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbXBvbmVudHMvc3Jj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bi5lbWl0KCRldmVudClcIlxuICAgICAgICA+PC9tb2xlY3VsZXMtbmVzdGVkLW1lbnU+XG4gICAgICA8L3NwYW4+XG4gICAgICBcbiAgICAgIDxzcGFuICpuZ0lmPVwiIV9hY3Rpb24/LmNoaWxkcmVuXCI+XG4gICAgICAgIDxidXR0b24gbWF0LW1lbnUtaXRlbSAoY2xpY2spPVwiYWN0aW9uLmVtaXQoX2FjdGlvbilcIj5cbiAgICAgICAgICA8bWF0LWljb24+e3sgX2FjdGlvbi5pY29uIH19PC9tYXQtaWNvbj5cbiAgICAgICAgICA8c3Bhbj57eyBfYWN0aW9uLm5hbWUgfX08L3NwYW4+XG4gICAgICAgIDwvYnV0dG9uPlxuICAgICAgPC9zcGFuPlxuICAgIDwvc3Bhbj5cbiAgPC9tYXQtbWVudT5cbiAgYCxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIE5lc3RlZE1lbnVNb2xlY3VsZSB7XG4gIEBJbnB1dCgpXG4gIGFjdGlvbnM6IEFjdGlvbltdO1xuXG4gIEBWaWV3Q2hpbGQoJ2NoaWxkTWVudScpXG4gIGNoaWxkTWVudTtcblxuICBAT3V0cHV0KClcbiAgYWN0aW9uID0gbmV3IEV2ZW50RW1pdHRlcjxBY3Rpb24+KCk7XG59XG4iXX0=
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
+
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
5
|
+
import { ErrorPipe } from '@ng-atomic/common/pipes/error';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "@angular/forms";
|
|
9
|
+
import * as i3 from "@angular/material/form-field";
|
|
10
|
+
import * as i4 from "@angular/material/select";
|
|
11
|
+
import * as i5 from "@angular/material/core";
|
|
12
|
+
export class SelectInputFieldMolecule {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.label = '';
|
|
15
|
+
this.appearance = 'outline';
|
|
16
|
+
this.control = new FormControl({});
|
|
17
|
+
this.options = [];
|
|
18
|
+
this.value = (item) => item?.value;
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectInputFieldMolecule, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SelectInputFieldMolecule, isStandalone: true, selector: "molecules-select-input-field", inputs: { label: "label", appearance: "appearance", control: "control", options: "options" }, host: { classAttribute: "molecule input-field field" }, ngImport: i0, template: `
|
|
22
|
+
<mat-form-field [appearance]="appearance">
|
|
23
|
+
<mat-label>{{ label }}</mat-label>
|
|
24
|
+
<mat-select [formControl]="control">
|
|
25
|
+
<mat-option *ngFor="let option of options; trackBy value;" [value]="option.value">
|
|
26
|
+
{{ option.name }}
|
|
27
|
+
</mat-option>
|
|
28
|
+
</mat-select>
|
|
29
|
+
<mat-error>{{ control.errors | error }}</mat-error>
|
|
30
|
+
</mat-form-field>
|
|
31
|
+
`, isInline: true, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-NFkB: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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"] }, { kind: "ngmodule", type: MatSelectModule }, { 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: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "pipe", type: ErrorPipe, name: "error" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectInputFieldMolecule, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'molecules-select-input-field', standalone: true, imports: [
|
|
36
|
+
CommonModule,
|
|
37
|
+
ReactiveFormsModule,
|
|
38
|
+
MatSelectModule,
|
|
39
|
+
ErrorPipe,
|
|
40
|
+
], template: `
|
|
41
|
+
<mat-form-field [appearance]="appearance">
|
|
42
|
+
<mat-label>{{ label }}</mat-label>
|
|
43
|
+
<mat-select [formControl]="control">
|
|
44
|
+
<mat-option *ngFor="let option of options; trackBy value;" [value]="option.value">
|
|
45
|
+
{{ option.name }}
|
|
46
|
+
</mat-option>
|
|
47
|
+
</mat-select>
|
|
48
|
+
<mat-error>{{ control.errors | error }}</mat-error>
|
|
49
|
+
</mat-form-field>
|
|
50
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'molecule input-field field' }, styles: [":host{--horizontal-padding: 16px;--horizontal-padding-SCOPED-IN-select-input-field-NFkB: var(--horizontal-padding)}:host{display:block;width:100%}:host mat-form-field{width:100%}\n"] }]
|
|
51
|
+
}], propDecorators: { label: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], appearance: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], control: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], options: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}] } });
|
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LWlucHV0LWZpZWxkLm1vbGVjdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21wb25lbnRzL3NyYy9saWIvbW9sZWN1bGVzL3NlbGVjdC1pbnB1dC1maWVsZC9zZWxlY3QtaW5wdXQtZmllbGQubW9sZWN1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFFLE9BQU8sRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDM0QsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLCtCQUErQixDQUFDOzs7Ozs7O0FBK0IxRCxNQUFNLE9BQU8sd0JBQXdCO0lBeEJyQztRQTJCRSxVQUFLLEdBQVcsRUFBRSxDQUFDO1FBR25CLGVBQVUsR0FBdUIsU0FBUyxDQUFDO1FBRzNDLFlBQU8sR0FBRyxJQUFJLFdBQVcsQ0FBSSxFQUFPLENBQUMsQ0FBQztRQUd0QyxZQUFPLEdBQWdCLEVBQUUsQ0FBQzt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