@ng-atomic/components 19.0.0-preview.9 → 19.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/badge/index.d.ts +9 -1
- package/atoms/chips-input/index.d.ts +23 -1
- package/atoms/icon/index.d.ts +15 -1
- package/atoms/index.d.ts +28 -1
- package/atoms/logo/index.d.ts +17 -0
- package/atoms/menu-button/index.d.ts +24 -1
- package/atoms/value-cell/index.d.ts +51 -0
- package/extras/editor/index.d.ts +38 -1
- package/extras/index.d.ts +13 -1
- package/fesm2022/ng-atomic-components-atoms-badge.mjs +4 -6
- package/fesm2022/ng-atomic-components-atoms-badge.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms-chips-input.mjs +4 -4
- package/fesm2022/ng-atomic-components-atoms-chips-input.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +5 -5
- package/fesm2022/ng-atomic-components-atoms-icon.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms-logo.mjs +48 -0
- package/fesm2022/ng-atomic-components-atoms-logo.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-atoms-menu-button.mjs +10 -10
- package/fesm2022/ng-atomic-components-atoms-menu-button.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-atoms-value-cell.mjs +345 -0
- package/fesm2022/ng-atomic-components-atoms-value-cell.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-atoms.mjs +6 -4
- package/fesm2022/ng-atomic-components-atoms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-extras-editor.mjs +22 -9
- package/fesm2022/ng-atomic-components-extras-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-extras.mjs +4 -4
- package/fesm2022/ng-atomic-components-extras.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-app.mjs +76 -34
- package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +7 -7
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-breadcrumb-navbar.mjs +109 -0
- package/fesm2022/ng-atomic-components-frames-breadcrumb-navbar.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-card.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-card.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-columns.mjs +21 -21
- package/fesm2022/ng-atomic-components-frames-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-divider.mjs +8 -6
- package/fesm2022/ng-atomic-components-frames-divider.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +94 -16
- package/fesm2022/ng-atomic-components-frames-drawer.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-entrance.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-entrance.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-fab.mjs +53 -18
- package/fesm2022/ng-atomic-components-frames-fab.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-horizontal-divider.mjs +101 -0
- package/fesm2022/ng-atomic-components-frames-horizontal-divider.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +11 -11
- package/fesm2022/ng-atomic-components-frames-line-up.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-loading.mjs +8 -8
- package/fesm2022/ng-atomic-components-frames-loading.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-overlay.mjs +6 -6
- package/fesm2022/ng-atomic-components-frames-overlay.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-progress-bar.mjs +6 -6
- package/fesm2022/ng-atomic-components-frames-progress-bar.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +17 -15
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-scroll.mjs +14 -18
- package/fesm2022/ng-atomic-components-frames-scroll.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-side-app.mjs +6 -6
- package/fesm2022/ng-atomic-components-frames-side-app.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +13 -8
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +4 -4
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-tabs.mjs +24 -29
- package/fesm2022/ng-atomic-components-frames-tabs.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-toggle.mjs +3 -3
- package/fesm2022/ng-atomic-components-frames-toggle.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +5 -5
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames.mjs +8 -4
- package/fesm2022/ng-atomic-components-frames.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs +7 -8
- package/fesm2022/ng-atomic-components-molecules-action-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs +6 -6
- package/fesm2022/ng-atomic-components-molecules-actions-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +6 -6
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs +7 -8
- package/fesm2022/ng-atomic-components-molecules-chips-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +22 -18
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +14 -18
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs +25 -26
- package/fesm2022/ng-atomic-components-molecules-file-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +5 -5
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-header.mjs +6 -6
- package/fesm2022/ng-atomic-components-molecules-header.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-list-item.mjs +10 -10
- package/fesm2022/ng-atomic-components-molecules-list-item.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +8 -8
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs +7 -4
- package/fesm2022/ng-atomic-components-molecules-nested-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +9 -11
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-text-column.mjs +56 -113
- package/fesm2022/ng-atomic-components-molecules-text-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs +8 -10
- package/fesm2022/ng-atomic-components-molecules-text-input-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs +7 -8
- package/fesm2022/ng-atomic-components-molecules-textarea-field.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-thread-message.mjs +134 -0
- package/fesm2022/ng-atomic-components-molecules-thread-message.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs +100 -46
- package/fesm2022/ng-atomic-components-molecules-tree-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules.mjs +10 -557
- package/fesm2022/ng-atomic-components-molecules.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs +6 -6
- package/fesm2022/ng-atomic-components-organisms-agreement-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-breadcrumb-navbar.mjs +201 -0
- package/fesm2022/ng-atomic-components-organisms-breadcrumb-navbar.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs +6 -6
- package/fesm2022/ng-atomic-components-organisms-chips-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +11 -11
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +9 -14
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-filters-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-filters-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-graphql-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs +7 -7
- package/fesm2022/ng-atomic-components-organisms-grid-toolbar.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-heading.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-image-preview-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-list.mjs +11 -10
- package/fesm2022/ng-atomic-components-organisms-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs +6 -6
- package/fesm2022/ng-atomic-components-organisms-markdown-preview-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs +15 -7
- package/fesm2022/ng-atomic-components-organisms-mermaid-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-message-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +5 -5
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-selection-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs +9 -9
- package/fesm2022/ng-atomic-components-organisms-stripe-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-table.mjs +95 -22
- package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-terminal.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +8 -8
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs +7 -10
- package/fesm2022/ng-atomic-components-organisms-text-preview-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +15 -12
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +39 -74
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-time-range-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-toolbar.mjs +4 -4
- package/fesm2022/ng-atomic-components-organisms-toolbar.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-tree-list.mjs +7 -7
- package/fesm2022/ng-atomic-components-organisms-tree-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-tree-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-tree-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-vertical-divider.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-video-section.mjs +15 -15
- package/fesm2022/ng-atomic-components-organisms-video-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms.mjs +12 -29
- package/fesm2022/ng-atomic-components-organisms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-_index.mjs +58 -30
- package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-blank.mjs +3 -3
- package/fesm2022/ng-atomic-components-pages-blank.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-columns.mjs +10 -11
- package/fesm2022/ng-atomic-components-pages-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-form.mjs +20 -18
- package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-terms.mjs +6 -6
- package/fesm2022/ng-atomic-components-pages-terms.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages.mjs +7 -5
- package/fesm2022/ng-atomic-components-pages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-services-global-iframe.mjs +241 -0
- package/fesm2022/ng-atomic-components-services-global-iframe.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates-_index.mjs +196 -103
- package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-background.mjs +7 -7
- package/fesm2022/ng-atomic-components-templates-background.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs +8 -8
- package/fesm2022/ng-atomic-components-templates-code-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-columns.mjs +9 -9
- package/fesm2022/ng-atomic-components-templates-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +8 -8
- package/fesm2022/ng-atomic-components-templates-entrance.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-file-tree.mjs +4 -4
- package/fesm2022/ng-atomic-components-templates-file-tree.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-form.mjs +34 -21
- package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +12 -10
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-loading.mjs +3 -3
- package/fesm2022/ng-atomic-components-templates-loading.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-menu.mjs +8 -8
- package/fesm2022/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-selection.mjs +9 -9
- package/fesm2022/ng-atomic-components-templates-selection.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-settings.mjs +5 -5
- package/fesm2022/ng-atomic-components-templates-settings.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-tab-editor.mjs +4 -4
- package/fesm2022/ng-atomic-components-templates-tab-editor.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-term.mjs +6 -6
- package/fesm2022/ng-atomic-components-templates-term.mjs.map +1 -1
- package/fesm2022/{ng-atomic-components-templates-messages.mjs → ng-atomic-components-templates-thread.mjs} +39 -26
- package/fesm2022/ng-atomic-components-templates-thread.mjs.map +1 -0
- package/fesm2022/ng-atomic-components-templates.mjs +6 -4
- package/fesm2022/ng-atomic-components-templates.mjs.map +1 -1
- package/fesm2022/ng-atomic-components.mjs.map +1 -1
- package/frames/app/index.d.ts +253 -1
- package/frames/auto-layout/index.d.ts +14 -1
- package/frames/breadcrumb-navbar/index.d.ts +48 -0
- package/frames/card/index.d.ts +8 -1
- package/frames/columns/index.d.ts +58 -1
- package/frames/divider/index.d.ts +28 -1
- package/frames/drawer/index.d.ts +31 -1
- package/frames/entrance/index.d.ts +22 -1
- package/frames/fab/index.d.ts +44 -2
- package/frames/horizontal-divider/index.d.ts +28 -0
- package/frames/index.d.ts +15 -1
- package/frames/line-up/index.d.ts +51 -2
- package/frames/loading/index.d.ts +15 -1
- package/frames/overlay/index.d.ts +16 -1
- package/frames/progress-bar/index.d.ts +17 -1
- package/frames/router-outlet/index.d.ts +61 -2
- package/frames/scroll/index.d.ts +12 -1
- package/frames/side-app/index.d.ts +23 -1
- package/frames/side-nav/index.d.ts +58 -1
- package/frames/smart-menu/index.d.ts +16 -1
- package/frames/tabs/index.d.ts +12 -1
- package/frames/toggle/index.d.ts +12 -1
- package/frames/vertical-hide/index.d.ts +9 -1
- package/index.d.ts +5 -1
- package/molecules/action-input-field/index.d.ts +26 -1
- package/molecules/actions-column/index.d.ts +57 -1
- package/molecules/checkbox-column/index.d.ts +42 -1
- package/molecules/chips-input-field/index.d.ts +73 -1
- package/molecules/date-input-field/index.d.ts +22 -1
- package/molecules/date-range-input-field/index.d.ts +20 -1
- package/molecules/file-input-field/index.d.ts +43 -1
- package/molecules/grid-item/index.d.ts +15 -1
- package/molecules/header/index.d.ts +16 -1
- package/molecules/index.d.ts +5 -1
- package/molecules/list-item/index.d.ts +55 -1
- package/molecules/loading-box/index.d.ts +27 -1
- package/molecules/navigation-list-item/index.d.ts +17 -1
- package/molecules/nested-menu/index.d.ts +13 -1
- package/molecules/select-input-field/index.d.ts +26 -1
- package/molecules/text-column/index.d.ts +55 -1
- package/molecules/text-input-field/index.d.ts +24 -1
- package/molecules/textarea-field/index.d.ts +26 -1
- package/molecules/thread-message/index.d.ts +75 -0
- package/molecules/tree-column/index.d.ts +58 -1
- package/organisms/action-buttons-section/index.d.ts +16 -1
- package/organisms/action-input-section/index.d.ts +20 -1
- package/organisms/agreement-input-section/index.d.ts +20 -1
- package/organisms/breadcrumb-navbar/index.d.ts +66 -0
- package/organisms/card-input-section/index.d.ts +12 -1
- package/organisms/chips-input-section/index.d.ts +20 -1
- package/organisms/cvc-and-exp-input-section/index.d.ts +13 -1
- package/organisms/date-input-section/index.d.ts +21 -1
- package/organisms/date-range-input-section/index.d.ts +24 -1
- package/organisms/definition-list/index.d.ts +15 -1
- package/organisms/file-input-section/index.d.ts +28 -1
- package/organisms/filters-section/index.d.ts +23 -1
- package/organisms/graphql-editor/index.d.ts +31 -1
- package/organisms/grid-cards-section/index.d.ts +17 -1
- package/organisms/grid-toolbar/index.d.ts +22 -1
- package/organisms/heading/index.d.ts +9 -1
- package/organisms/image-preview-section/index.d.ts +10 -1
- package/organisms/index.d.ts +5 -1
- package/organisms/list/index.d.ts +55 -1
- package/organisms/markdown-preview-section/index.d.ts +14 -1
- package/organisms/menu-footer/index.d.ts +21 -1
- package/organisms/menu-header/index.d.ts +27 -1
- package/organisms/mermaid-section/index.d.ts +17 -1
- package/organisms/message-input-section/index.d.ts +17 -1
- package/organisms/messages-section/index.d.ts +14 -1
- package/organisms/navigation-list/index.d.ts +16 -1
- package/organisms/navigator/index.d.ts +38 -1
- package/organisms/number-input-section/index.d.ts +22 -1
- package/organisms/paginator/index.d.ts +27 -1
- package/organisms/password-input-section/index.d.ts +22 -1
- package/organisms/select-input-section/index.d.ts +25 -1
- package/organisms/selection-list/index.d.ts +20 -1
- package/organisms/slider-input-section/index.d.ts +32 -1
- package/organisms/social-login-section/index.d.ts +10 -1
- package/organisms/stripe-input-section/index.d.ts +180 -1
- package/organisms/table/index.d.ts +167 -3
- package/organisms/terminal/index.d.ts +13 -1
- package/organisms/text-input-section/index.d.ts +22 -1
- package/organisms/text-preview-section/index.d.ts +18 -1
- package/organisms/textarea-section/index.d.ts +28 -1
- package/organisms/thread-messages-section/index.d.ts +24 -1
- package/organisms/time-range-input-section/index.d.ts +13 -1
- package/organisms/toolbar/index.d.ts +16 -1
- package/organisms/tree-list/index.d.ts +39 -1
- package/organisms/tree-section/index.d.ts +52 -1
- package/organisms/vertical-divider/index.d.ts +8 -1
- package/organisms/video-section/index.d.ts +45 -1
- package/package.json +35 -11
- package/pages/_index/index.d.ts +344 -1
- package/pages/blank/index.d.ts +13 -3
- package/pages/columns/index.d.ts +66 -1
- package/pages/form/index.d.ts +253 -1
- package/pages/index.d.ts +21 -1
- package/pages/terms/index.d.ts +63 -1
- package/services/global-iframe/index.d.ts +69 -0
- package/styles/styles.scss +2 -1
- package/templates/_index/index.d.ts +316 -1
- package/templates/background/index.d.ts +14 -1
- package/templates/code-editor/index.d.ts +26 -1
- package/templates/columns/index.d.ts +69 -1
- package/templates/entrance/index.d.ts +35 -1
- package/templates/file-tree/index.d.ts +27 -1
- package/templates/form/index.d.ts +114 -2
- package/templates/icon-button-menu/index.d.ts +17 -1
- package/templates/index.d.ts +64 -1
- package/templates/loading/index.d.ts +8 -1
- package/templates/menu/index.d.ts +16 -1
- package/templates/selection/index.d.ts +29 -1
- package/templates/settings/index.d.ts +18 -1
- package/templates/tab-editor/index.d.ts +11 -1
- package/templates/term/index.d.ts +27 -1
- package/templates/thread/index.d.ts +36 -0
- package/atoms/atoms.module.d.ts +0 -17
- package/atoms/badge/badge.atom.d.ts +0 -6
- package/atoms/chips-input/chips-input.atom.d.ts +0 -20
- package/atoms/icon/icon.atom.d.ts +0 -12
- package/atoms/menu-button/menu-button.atom.d.ts +0 -22
- package/components.module.d.ts +0 -2
- package/extras/editor/editor.component.d.ts +0 -32
- package/extras/extras.module.d.ts +0 -10
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +0 -6
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs.map +0 -1
- package/fesm2022/ng-atomic-components-templates-messages.mjs.map +0 -1
- package/frames/app/app.frame.d.ts +0 -150
- package/frames/auto-layout/auto-layout.frame.d.ts +0 -11
- package/frames/card/card.frame.d.ts +0 -5
- package/frames/columns/columns.frame.d.ts +0 -54
- package/frames/divider/divider.frame.d.ts +0 -26
- package/frames/drawer/drawer.frame.d.ts +0 -15
- package/frames/entrance/entrance.frame.d.ts +0 -19
- package/frames/fab/fab.frame.d.ts +0 -30
- package/frames/fab/fab.service.d.ts +0 -12
- package/frames/frames.module.d.ts +0 -12
- package/frames/line-up/line-up.animations.d.ts +0 -1
- package/frames/line-up/line-up.frame.d.ts +0 -27
- package/frames/line-up/line-up.service.d.ts +0 -22
- package/frames/line-up/resize-observer.d.ts +0 -3
- package/frames/loading/loading.frame.d.ts +0 -12
- package/frames/overlay/overlay.frame.d.ts +0 -13
- package/frames/progress-bar/progress-bar.frame.d.ts +0 -14
- package/frames/router-outlet/router-outlet.frame.d.ts +0 -50
- package/frames/router-outlet/router-outlet.helper.d.ts +0 -6
- package/frames/scroll/scroll.frame.d.ts +0 -9
- package/frames/scroll-v2/index.d.ts +0 -1
- package/frames/side-app/side-app.frame.d.ts +0 -20
- package/frames/side-nav/side-nav.frame.d.ts +0 -51
- package/frames/smart-menu/smart-menu.frame.d.ts +0 -13
- package/frames/tabs/tabs.frame.d.ts +0 -10
- package/frames/toggle/toggle.frame.d.ts +0 -9
- package/frames/vertical-hide/vertical-hide.frame.d.ts +0 -6
- package/molecules/action-input-field/action-input-field.molecule.d.ts +0 -24
- package/molecules/actions-column/actions-column.molecule.d.ts +0 -53
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +0 -40
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +0 -68
- package/molecules/date-input-field/date-input-field.molecule.d.ts +0 -19
- package/molecules/date-range-input-field/date-range-input-field.molecule.d.ts +0 -19
- package/molecules/file-input-field/file-input-field.molecule.d.ts +0 -43
- package/molecules/grid-item/grid-item.molecule.d.ts +0 -13
- package/molecules/header/header.molecule.d.ts +0 -13
- package/molecules/list-item/list-item.molecule.d.ts +0 -51
- package/molecules/loading-box/loading-box.molecule.d.ts +0 -23
- package/molecules/molecules.module.d.ts +0 -54
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +0 -15
- package/molecules/nested-menu/nested-menu.molecule.d.ts +0 -10
- package/molecules/select-input-field/select-input-field.molecule.d.ts +0 -22
- package/molecules/text-column/text-column.molecule.d.ts +0 -59
- package/molecules/text-input-field/text-input-field.molecule.d.ts +0 -21
- package/molecules/textarea-field/textarea-field.molecule.d.ts +0 -23
- package/molecules/tree-column/tree-column.molecule.d.ts +0 -42
- package/organisms/action-buttons-section/action-buttons-section.organism.d.ts +0 -13
- package/organisms/action-input-section/action-input-section.organism.d.ts +0 -18
- package/organisms/agreement-input-section/agreement-input-section.organism.d.ts +0 -17
- package/organisms/card-input-section/card-input-section.organism.d.ts +0 -9
- package/organisms/chips-input-section/chips-input-section.organism.d.ts +0 -17
- package/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.d.ts +0 -10
- package/organisms/date-input-section/date-input-section.organism.d.ts +0 -18
- package/organisms/date-range-input-section/date-range-input-section.organism.d.ts +0 -21
- package/organisms/definition-list/definition-list.organism.d.ts +0 -12
- package/organisms/file-input-section/file-input-section.organism.d.ts +0 -26
- package/organisms/filters-section/filters-section.organism.d.ts +0 -20
- package/organisms/graphql-editor/graphql-editor.organism.d.ts +0 -29
- package/organisms/grid-cards-section/grid-cards-section.organism.d.ts +0 -15
- package/organisms/grid-toolbar/grid-toolbar.organism.d.ts +0 -19
- package/organisms/heading/heading.organism.d.ts +0 -6
- package/organisms/image-preview-section/image-preview-section.organism.d.ts +0 -7
- package/organisms/list/list.organism.d.ts +0 -50
- package/organisms/markdown-preview-section/markdown-preview-section.organism.d.ts +0 -11
- package/organisms/menu-footer/menu-footer.organism.d.ts +0 -18
- package/organisms/menu-header/menu-header.organism.d.ts +0 -23
- package/organisms/mermaid-section/mermaid-section.organism.d.ts +0 -14
- package/organisms/message-input-section/message-input-section.organism.d.ts +0 -14
- package/organisms/messages-section/messages-section.organism.d.ts +0 -11
- package/organisms/navigation-list/navigation-list.organism.d.ts +0 -14
- package/organisms/navigator/navigator.organism.d.ts +0 -35
- package/organisms/number-input-section/number-input-section.organism.d.ts +0 -19
- package/organisms/organisms.module.d.ts +0 -120
- package/organisms/paginator/paginator.organism.d.ts +0 -24
- package/organisms/password-input-section/password-input-section.organism.d.ts +0 -19
- package/organisms/select-input-section/select-input-section.organism.d.ts +0 -22
- package/organisms/selection-list/selection-list.organism.d.ts +0 -19
- package/organisms/slider-input-section/slider-input-section.organism.d.ts +0 -28
- package/organisms/social-login-section/social-login-section.organism.d.ts +0 -7
- package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +0 -172
- package/organisms/table/table.helpers.d.ts +0 -44
- package/organisms/table/table.organism.d.ts +0 -105
- package/organisms/terminal/terminal.organism.d.ts +0 -10
- package/organisms/text-input-section/text-input-section.organism.d.ts +0 -19
- package/organisms/text-preview-section/text-preview-section.organism.d.ts +0 -15
- package/organisms/textarea-section/textarea-section.organism.d.ts +0 -20
- package/organisms/thread-messages-section/thread-messages-section.organism.d.ts +0 -14
- package/organisms/time-range-input-section/time-range-input-section.organism.d.ts +0 -9
- package/organisms/toolbar/toolbar.organism.d.ts +0 -15
- package/organisms/tree-list/tree-list.organism.d.ts +0 -33
- package/organisms/tree-section/tree-section.organism.d.ts +0 -49
- package/organisms/vertical-divider/vertical-divider.organism.d.ts +0 -5
- package/organisms/video-section/video-section.organism.d.ts +0 -41
- package/pages/_index/index.page.d.ts +0 -219
- package/pages/blank/blank.page.d.ts +0 -5
- package/pages/blank/blank.route.d.ts +0 -2
- package/pages/blank/blank.routes.d.ts +0 -2
- package/pages/columns/columns.page.d.ts +0 -63
- package/pages/form/form.page.d.ts +0 -162
- package/pages/pages.module.d.ts +0 -11
- package/pages/terms/terms.page.d.ts +0 -60
- package/templates/_index/index.template.d.ts +0 -296
- package/templates/background/background.template.d.ts +0 -11
- package/templates/code-editor/code-editor.template.d.ts +0 -24
- package/templates/columns/columns.template.d.ts +0 -64
- package/templates/entrance/entrance.template.d.ts +0 -33
- package/templates/file-tree/file-tree.template.d.ts +0 -24
- package/templates/form/form.builder.d.ts +0 -40
- package/templates/form/form.template.d.ts +0 -74
- package/templates/icon-button-menu/icon-button-menu.template.d.ts +0 -14
- package/templates/loading/loading.template.d.ts +0 -5
- package/templates/menu/menu.template.d.ts +0 -15
- package/templates/messages/index.d.ts +0 -1
- package/templates/messages/messages.template.d.ts +0 -33
- package/templates/selection/selection.template.d.ts +0 -28
- package/templates/settings/settings.template.d.ts +0 -16
- package/templates/tab-editor/tab-editor.template.d.ts +0 -8
- package/templates/templates.module.d.ts +0 -54
- package/templates/term/term.template.d.ts +0 -25
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { TokenizedType, provideComponent } from '@ng-atomic/core';
|
|
1
|
+
import { makeEnvironmentProviders, importProvidersFrom } from '@angular/core';
|
|
2
|
+
import { provideComponent } from '@ng-atomic/core';
|
|
4
3
|
import { NavigationListItemMoleculeStore } from '@ng-atomic/components/molecules/navigation-list-item';
|
|
5
4
|
import { ChipsInputFieldMoleculeStore } from '@ng-atomic/components/molecules/chips-input-field';
|
|
6
5
|
import { HeaderMoleculeStore } from '@ng-atomic/components/molecules/header';
|
|
@@ -9,560 +8,13 @@ import { TextInputFieldMoleculeStore } from '@ng-atomic/components/molecules/tex
|
|
|
9
8
|
import { LoadingBoxMoleculeStore } from '@ng-atomic/components/molecules/loading-box';
|
|
10
9
|
import { ActionsColumnMoleculeStore } from '@ng-atomic/components/molecules/actions-column';
|
|
11
10
|
import { ListItemMoleculeStore } from '@ng-atomic/components/molecules/list-item';
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import * as i1$1 from '@angular/material/button';
|
|
16
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
17
|
-
import * as i1 from '@angular/material/icon';
|
|
18
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
19
|
-
import { MatInputModule } from '@angular/material/input';
|
|
20
|
-
import * as i2 from '@angular/material/table';
|
|
21
|
-
import { MatTableModule } from '@angular/material/table';
|
|
22
|
-
import * as i3 from '@angular/material/tooltip';
|
|
23
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
24
|
-
import { StylePipe } from '@ng-atomic/common/pipes/style';
|
|
25
|
-
import { SpreadSheetCell, SpreadSheetCellInput, SpreadSheetService } from '@ng-atomic/common/services/spreadsheet';
|
|
26
|
-
import { NgClass, NgStyle } from '@angular/common';
|
|
27
|
-
import { makeConfig } from '@ng-atomic/common/services/ui';
|
|
28
|
-
import { resolveFormField } from '@ng-atomic/common/pipes/smart-field';
|
|
29
|
-
import { ResizeColumnDirective } from '@ng-atomic/common/directives/resize-column';
|
|
30
|
-
import { NgAtomicColumnMoleculeStore, NgAtomicColumnMolecule } from '@ng-atomic/common/directives/molecules/column';
|
|
31
|
-
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
32
|
-
import { derivedAsync } from 'ngxtension/derived-async';
|
|
33
|
-
import { startWith, map } from 'rxjs';
|
|
11
|
+
import { TextColumnMoleculeStore } from '@ng-atomic/components/molecules/text-column';
|
|
12
|
+
import { TreeColumnMoleculeStore } from '@ng-atomic/components/molecules/tree-column';
|
|
13
|
+
import { ThreadMessageMoleculeStore } from '@ng-atomic/components/molecules/thread-message';
|
|
34
14
|
|
|
35
|
-
var TextColumnMoleculeStore_1;
|
|
36
|
-
var ActionId;
|
|
37
|
-
(function (ActionId) {
|
|
38
|
-
ActionId["UPDATE_VALUE"] = "[@ng-atomic/components/molecules/text-column] update value";
|
|
39
|
-
})(ActionId || (ActionId = {}));
|
|
40
|
-
let TextColumnMoleculeStore = class TextColumnMoleculeStore extends NgAtomicColumnMoleculeStore {
|
|
41
|
-
constructor() {
|
|
42
|
-
super(...arguments);
|
|
43
|
-
this.config = TextColumnMoleculeStore_1.Config.inject();
|
|
44
|
-
}
|
|
45
|
-
static { TextColumnMoleculeStore_1 = this; }
|
|
46
|
-
static { this.ActionId = ActionId; }
|
|
47
|
-
static { this.Config = makeConfig(() => {
|
|
48
|
-
return () => ({
|
|
49
|
-
index: 0,
|
|
50
|
-
sort: 'none',
|
|
51
|
-
sticky: false,
|
|
52
|
-
stickyEnd: false,
|
|
53
|
-
name: '',
|
|
54
|
-
editable: false,
|
|
55
|
-
clickCopy: false,
|
|
56
|
-
});
|
|
57
|
-
}, ['@ng-atomic/components', 'molecules', 'text-column']); }
|
|
58
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TextColumnMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
59
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: TextColumnMoleculeStore, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
|
|
60
|
-
};
|
|
61
|
-
TextColumnMoleculeStore = TextColumnMoleculeStore_1 = __decorate([
|
|
62
|
-
TokenizedType()
|
|
63
|
-
], TextColumnMoleculeStore);
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TextColumnMoleculeStore, decorators: [{
|
|
65
|
-
type: Directive,
|
|
66
|
-
args: [{
|
|
67
|
-
standalone: true,
|
|
68
|
-
}]
|
|
69
|
-
}] });
|
|
70
|
-
class TextColumnMolecule extends NgAtomicColumnMolecule {
|
|
71
|
-
constructor() {
|
|
72
|
-
super(...arguments);
|
|
73
|
-
this.store = inject(TextColumnMoleculeStore);
|
|
74
|
-
this.formFieldMap = input({});
|
|
75
|
-
this.inputElement = viewChild('input');
|
|
76
|
-
this.headerClick = new EventEmitter();
|
|
77
|
-
this.resolveFormField = resolveFormField;
|
|
78
|
-
}
|
|
79
|
-
onInputValueChange(pre, current, context, input) {
|
|
80
|
-
this.dispatch({
|
|
81
|
-
id: ActionId.UPDATE_VALUE,
|
|
82
|
-
payload: { pre, current, context, onFailed: () => { input.value = pre; } },
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TextColumnMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
86
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.4", type: TextColumnMolecule, isStandalone: true, selector: "molecules-text-column", inputs: { formFieldMap: { classPropertyName: "formFieldMap", publicName: "formFieldMap", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { headerClick: "headerClick" }, providers: [
|
|
87
|
-
{ provide: NgAtomicColumnMoleculeStore, useExisting: TextColumnMoleculeStore },
|
|
88
|
-
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["input"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: TextColumnMoleculeStore, inputs: ["index", "index", "column", "column", "editable", "editable", "clickCopy", "clickCopy"] }], ngImport: i0, template: `
|
|
89
|
-
@let component = '@ng-atomic/components/molecules/text-column';
|
|
90
|
-
<ng-container matColumnDef [sticky]="store.sticky()" [stickyEnd]="store.stickyEnd()">
|
|
91
|
-
<ng-container *matHeaderCellDef>
|
|
92
|
-
@let position = { col: store.index(), row: 0 };
|
|
93
|
-
@let context = { item: null, name: store.name(), position, component, selector: 'header-cell' };
|
|
94
|
-
@let value = ss.grid.getValue(position);
|
|
95
|
-
@let expressionValue = ss.grid.getExpressionValue(position);
|
|
96
|
-
@let isEditable = ss.protection.isEditable(value, context);
|
|
97
|
-
<th
|
|
98
|
-
mat-header-cell
|
|
99
|
-
[style.text-align]="justify"
|
|
100
|
-
[ssCell]="position"
|
|
101
|
-
[ssCellContext]="context"
|
|
102
|
-
[ssCellEditable]="isEditable"
|
|
103
|
-
(click)="headerClick.emit()"
|
|
104
|
-
resizeColumn
|
|
105
|
-
[resizeColumnWidth]="store.width()"
|
|
106
|
-
(resize)="onResize(store.index(), $event)"
|
|
107
|
-
[ngStyle]="store.columnStyle()"
|
|
108
|
-
>
|
|
109
|
-
<p
|
|
110
|
-
class="nowrap"
|
|
111
|
-
style="display: flex; align-items: center;"
|
|
112
|
-
>
|
|
113
|
-
<span>{{ expressionValue }}</span>
|
|
114
|
-
@switch(store.sort()) {
|
|
115
|
-
@case('asc') {
|
|
116
|
-
<mat-icon class="order">south</mat-icon>
|
|
117
|
-
}
|
|
118
|
-
@case('desc') {
|
|
119
|
-
<mat-icon class="order">north</mat-icon>
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
</p>
|
|
123
|
-
</th>
|
|
124
|
-
</ng-container>
|
|
125
|
-
<ng-container *matCellDef="let item; let i = index">
|
|
126
|
-
@let index = i ?? item?.$index;
|
|
127
|
-
@let position = { col: store.index(), row: index + 1 };
|
|
128
|
-
@let context = { item, name: store.name(), position, component, selector: 'cell' };
|
|
129
|
-
@let value = ss.grid.getValue(position);
|
|
130
|
-
@let expressionValue = ss.grid.getExpressionValue(position);
|
|
131
|
-
@let isEditable = ss.protection.isEditable(value, context);
|
|
132
|
-
@let isEditing = ss.editor.isEditing(position);
|
|
133
|
-
@let formField = resolveFormField(formFieldMap(), store.name());
|
|
134
|
-
<td
|
|
135
|
-
mat-cell
|
|
136
|
-
[style.text-align]="justify"
|
|
137
|
-
[ssCell]="position"
|
|
138
|
-
[ssCellContext]="context"
|
|
139
|
-
[ssCellEditable]="isEditable"
|
|
140
|
-
[ngClass]="{ 'editable': isEditable }"
|
|
141
|
-
[tabIndex]="-1"
|
|
142
|
-
[matTooltip]="store.tooltipText() || value"
|
|
143
|
-
[matTooltipPosition]="'below'"
|
|
144
|
-
[matTooltipDisabled]="isEditable"
|
|
145
|
-
[ngStyle]="store.columnStyle()"
|
|
146
|
-
>
|
|
147
|
-
@switch(formField?.type) {
|
|
148
|
-
@case('text') {
|
|
149
|
-
<input
|
|
150
|
-
class="cell-input"
|
|
151
|
-
[type]="formField.type"
|
|
152
|
-
[ngModel]="value"
|
|
153
|
-
[ssCellInput]="position"
|
|
154
|
-
[style.visibility]="isEditing ? 'visible' : 'hidden'"
|
|
155
|
-
(blur)="onInputValueChange(value, $event.target.value, context, input)"
|
|
156
|
-
#input
|
|
157
|
-
>
|
|
158
|
-
}
|
|
159
|
-
@case ('number') {
|
|
160
|
-
<input
|
|
161
|
-
class="cell-input"
|
|
162
|
-
[type]="formField.type"
|
|
163
|
-
[ngModel]="value"
|
|
164
|
-
[ssCellInput]="position"
|
|
165
|
-
[style.visibility]="isEditing ? 'visible' : 'hidden'"
|
|
166
|
-
(blur)="onInputValueChange(value, $event.target.value, context, input)"
|
|
167
|
-
#input
|
|
168
|
-
>
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
<!-- <atoms-input
|
|
172
|
-
[type]="'number'"
|
|
173
|
-
[placeholder]="value"
|
|
174
|
-
[value]="value"
|
|
175
|
-
(valueChange)="onInputValueChange(value, $event, context, input)"
|
|
176
|
-
[style.visibility]="isEditing ? 'visible' : 'hidden'"
|
|
177
|
-
[style.display]="isEditing ? 'contents' : 'none'"
|
|
178
|
-
[ssCellInput]="position"
|
|
179
|
-
#el
|
|
180
|
-
/> -->
|
|
181
|
-
<p
|
|
182
|
-
[style]="value | style:context"
|
|
183
|
-
[style.visibility]="!isEditing ? 'visible' : 'hidden'"
|
|
184
|
-
(click)="copy(value, $event)"
|
|
185
|
-
>
|
|
186
|
-
{{ expressionValue }}
|
|
187
|
-
</p>
|
|
188
|
-
</td>
|
|
189
|
-
</ng-container>
|
|
190
|
-
</ng-container>
|
|
191
|
-
`, isInline: true, styles: ["th[mat-header-cell],td[mat-cell]{position:relative;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .cell-input,td[mat-cell] .cell-input{position:absolute;inset:0;width:100%;height:100%;margin:0;border:none;box-sizing:border-box;padding-right:4px;font-size:var(--mat-table-row-item-label-text-size, 14px);background:transparent}th[mat-header-cell] .cell-input[type=number],td[mat-cell] .cell-input[type=number]{text-align:right}th[mat-header-cell] .cell-input[type=number]::-webkit-outer-spin-button,th[mat-header-cell] .cell-input[type=number]::-webkit-inner-spin-button,td[mat-cell] .cell-input[type=number]::-webkit-outer-spin-button,td[mat-cell] .cell-input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}th[mat-header-cell] .cell-input[type=number],td[mat-cell] .cell-input[type=number]{-moz-appearance:textfield}th[mat-header-cell] .cell-input:focus,td[mat-cell] .cell-input:focus{outline:none}th[mat-header-cell] p,td[mat-cell] p{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th[mat-header-cell].editable,td[mat-cell].editable{background-color:#fff}th[mat-header-cell].editing,td[mat-cell].editing{outline:2px solid #424950;outline-offset:-2px}th[mat-header-cell].selected,td[mat-cell].selected{background-color:#dce4ed}th[mat-header-cell]:focus,td[mat-cell]:focus{outline:none}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: SpreadSheetCell, selector: "[ssCell]", inputs: ["ssCell", "ssCellEditable", "ssCellContext"] }, { kind: "directive", type: SpreadSheetCellInput, selector: "[ssCellInput]", inputs: ["ssCellInput"] }, { kind: "pipe", type: StylePipe, name: "style" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: ResizeColumnDirective, selector: "[resizeColumn]", inputs: ["resizeColumnWidth"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
192
|
-
}
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TextColumnMolecule, decorators: [{
|
|
194
|
-
type: Component,
|
|
195
|
-
args: [{ selector: 'molecules-text-column', imports: [
|
|
196
|
-
NgClass,
|
|
197
|
-
NgStyle,
|
|
198
|
-
MatButtonModule,
|
|
199
|
-
MatIconModule,
|
|
200
|
-
MatTableModule,
|
|
201
|
-
MatTooltipModule,
|
|
202
|
-
MatInputModule,
|
|
203
|
-
ReactiveFormsModule,
|
|
204
|
-
SpreadSheetCell,
|
|
205
|
-
SpreadSheetCellInput,
|
|
206
|
-
StylePipe,
|
|
207
|
-
FormsModule,
|
|
208
|
-
ResizeColumnDirective,
|
|
209
|
-
], template: `
|
|
210
|
-
@let component = '@ng-atomic/components/molecules/text-column';
|
|
211
|
-
<ng-container matColumnDef [sticky]="store.sticky()" [stickyEnd]="store.stickyEnd()">
|
|
212
|
-
<ng-container *matHeaderCellDef>
|
|
213
|
-
@let position = { col: store.index(), row: 0 };
|
|
214
|
-
@let context = { item: null, name: store.name(), position, component, selector: 'header-cell' };
|
|
215
|
-
@let value = ss.grid.getValue(position);
|
|
216
|
-
@let expressionValue = ss.grid.getExpressionValue(position);
|
|
217
|
-
@let isEditable = ss.protection.isEditable(value, context);
|
|
218
|
-
<th
|
|
219
|
-
mat-header-cell
|
|
220
|
-
[style.text-align]="justify"
|
|
221
|
-
[ssCell]="position"
|
|
222
|
-
[ssCellContext]="context"
|
|
223
|
-
[ssCellEditable]="isEditable"
|
|
224
|
-
(click)="headerClick.emit()"
|
|
225
|
-
resizeColumn
|
|
226
|
-
[resizeColumnWidth]="store.width()"
|
|
227
|
-
(resize)="onResize(store.index(), $event)"
|
|
228
|
-
[ngStyle]="store.columnStyle()"
|
|
229
|
-
>
|
|
230
|
-
<p
|
|
231
|
-
class="nowrap"
|
|
232
|
-
style="display: flex; align-items: center;"
|
|
233
|
-
>
|
|
234
|
-
<span>{{ expressionValue }}</span>
|
|
235
|
-
@switch(store.sort()) {
|
|
236
|
-
@case('asc') {
|
|
237
|
-
<mat-icon class="order">south</mat-icon>
|
|
238
|
-
}
|
|
239
|
-
@case('desc') {
|
|
240
|
-
<mat-icon class="order">north</mat-icon>
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
</p>
|
|
244
|
-
</th>
|
|
245
|
-
</ng-container>
|
|
246
|
-
<ng-container *matCellDef="let item; let i = index">
|
|
247
|
-
@let index = i ?? item?.$index;
|
|
248
|
-
@let position = { col: store.index(), row: index + 1 };
|
|
249
|
-
@let context = { item, name: store.name(), position, component, selector: 'cell' };
|
|
250
|
-
@let value = ss.grid.getValue(position);
|
|
251
|
-
@let expressionValue = ss.grid.getExpressionValue(position);
|
|
252
|
-
@let isEditable = ss.protection.isEditable(value, context);
|
|
253
|
-
@let isEditing = ss.editor.isEditing(position);
|
|
254
|
-
@let formField = resolveFormField(formFieldMap(), store.name());
|
|
255
|
-
<td
|
|
256
|
-
mat-cell
|
|
257
|
-
[style.text-align]="justify"
|
|
258
|
-
[ssCell]="position"
|
|
259
|
-
[ssCellContext]="context"
|
|
260
|
-
[ssCellEditable]="isEditable"
|
|
261
|
-
[ngClass]="{ 'editable': isEditable }"
|
|
262
|
-
[tabIndex]="-1"
|
|
263
|
-
[matTooltip]="store.tooltipText() || value"
|
|
264
|
-
[matTooltipPosition]="'below'"
|
|
265
|
-
[matTooltipDisabled]="isEditable"
|
|
266
|
-
[ngStyle]="store.columnStyle()"
|
|
267
|
-
>
|
|
268
|
-
@switch(formField?.type) {
|
|
269
|
-
@case('text') {
|
|
270
|
-
<input
|
|
271
|
-
class="cell-input"
|
|
272
|
-
[type]="formField.type"
|
|
273
|
-
[ngModel]="value"
|
|
274
|
-
[ssCellInput]="position"
|
|
275
|
-
[style.visibility]="isEditing ? 'visible' : 'hidden'"
|
|
276
|
-
(blur)="onInputValueChange(value, $event.target.value, context, input)"
|
|
277
|
-
#input
|
|
278
|
-
>
|
|
279
|
-
}
|
|
280
|
-
@case ('number') {
|
|
281
|
-
<input
|
|
282
|
-
class="cell-input"
|
|
283
|
-
[type]="formField.type"
|
|
284
|
-
[ngModel]="value"
|
|
285
|
-
[ssCellInput]="position"
|
|
286
|
-
[style.visibility]="isEditing ? 'visible' : 'hidden'"
|
|
287
|
-
(blur)="onInputValueChange(value, $event.target.value, context, input)"
|
|
288
|
-
#input
|
|
289
|
-
>
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
<!-- <atoms-input
|
|
293
|
-
[type]="'number'"
|
|
294
|
-
[placeholder]="value"
|
|
295
|
-
[value]="value"
|
|
296
|
-
(valueChange)="onInputValueChange(value, $event, context, input)"
|
|
297
|
-
[style.visibility]="isEditing ? 'visible' : 'hidden'"
|
|
298
|
-
[style.display]="isEditing ? 'contents' : 'none'"
|
|
299
|
-
[ssCellInput]="position"
|
|
300
|
-
#el
|
|
301
|
-
/> -->
|
|
302
|
-
<p
|
|
303
|
-
[style]="value | style:context"
|
|
304
|
-
[style.visibility]="!isEditing ? 'visible' : 'hidden'"
|
|
305
|
-
(click)="copy(value, $event)"
|
|
306
|
-
>
|
|
307
|
-
{{ expressionValue }}
|
|
308
|
-
</p>
|
|
309
|
-
</td>
|
|
310
|
-
</ng-container>
|
|
311
|
-
</ng-container>
|
|
312
|
-
`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
313
|
-
{
|
|
314
|
-
directive: TextColumnMoleculeStore,
|
|
315
|
-
inputs: [
|
|
316
|
-
'index',
|
|
317
|
-
'column',
|
|
318
|
-
'editable',
|
|
319
|
-
'clickCopy'
|
|
320
|
-
],
|
|
321
|
-
},
|
|
322
|
-
], providers: [
|
|
323
|
-
{ provide: NgAtomicColumnMoleculeStore, useExisting: TextColumnMoleculeStore },
|
|
324
|
-
], styles: ["th[mat-header-cell],td[mat-cell]{position:relative;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] .cell-input,td[mat-cell] .cell-input{position:absolute;inset:0;width:100%;height:100%;margin:0;border:none;box-sizing:border-box;padding-right:4px;font-size:var(--mat-table-row-item-label-text-size, 14px);background:transparent}th[mat-header-cell] .cell-input[type=number],td[mat-cell] .cell-input[type=number]{text-align:right}th[mat-header-cell] .cell-input[type=number]::-webkit-outer-spin-button,th[mat-header-cell] .cell-input[type=number]::-webkit-inner-spin-button,td[mat-cell] .cell-input[type=number]::-webkit-outer-spin-button,td[mat-cell] .cell-input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}th[mat-header-cell] .cell-input[type=number],td[mat-cell] .cell-input[type=number]{-moz-appearance:textfield}th[mat-header-cell] .cell-input:focus,td[mat-cell] .cell-input:focus{outline:none}th[mat-header-cell] p,td[mat-cell] p{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th[mat-header-cell].editable,td[mat-cell].editable{background-color:#fff}th[mat-header-cell].editing,td[mat-cell].editing{outline:2px solid #424950;outline-offset:-2px}th[mat-header-cell].selected,td[mat-cell].selected{background-color:#dce4ed}th[mat-header-cell]:focus,td[mat-cell]:focus{outline:none}\n"] }]
|
|
325
|
-
}], propDecorators: { headerClick: [{
|
|
326
|
-
type: Output
|
|
327
|
-
}] } });
|
|
328
|
-
|
|
329
|
-
class TreeColumnMoleculeStore extends NgAtomicColumnMoleculeStore {
|
|
330
|
-
constructor() {
|
|
331
|
-
super(...arguments);
|
|
332
|
-
this.config = TreeColumnMoleculeStore.Config.inject();
|
|
333
|
-
this.treeControl = input(new FlatTreeControl((node) => node.level, (node) => node.isExpandable));
|
|
334
|
-
this.isExpandedAll = derivedAsync(() => {
|
|
335
|
-
const control = this.treeControl();
|
|
336
|
-
return control.expansionModel.changed.pipe(startWith(null), map(() => control.expansionModel.selected.length === control.dataNodes.length));
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
static { this.Config = makeConfig(() => {
|
|
340
|
-
return () => ({
|
|
341
|
-
sort: 'none',
|
|
342
|
-
sticky: false,
|
|
343
|
-
stickyEnd: false,
|
|
344
|
-
editable: false,
|
|
345
|
-
clickCopy: false,
|
|
346
|
-
});
|
|
347
|
-
}, ['@ng-atomic/components', 'molecules', 'text-column']); }
|
|
348
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TreeColumnMoleculeStore, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
349
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: TreeColumnMoleculeStore, isStandalone: true, selector: "molecules-tree-column", inputs: { treeControl: { classPropertyName: "treeControl", publicName: "treeControl", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
|
|
350
|
-
}
|
|
351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TreeColumnMoleculeStore, decorators: [{
|
|
352
|
-
type: Directive,
|
|
353
|
-
args: [{ standalone: true, selector: 'molecules-tree-column' }]
|
|
354
|
-
}] });
|
|
355
|
-
class TreeColumnMolecule extends NgAtomicColumnMolecule {
|
|
356
|
-
constructor() {
|
|
357
|
-
super(...arguments);
|
|
358
|
-
this.store = inject(TreeColumnMoleculeStore);
|
|
359
|
-
this.ss = inject(SpreadSheetService);
|
|
360
|
-
this.headerClick = new EventEmitter();
|
|
361
|
-
}
|
|
362
|
-
toggleAll() {
|
|
363
|
-
if (!this.store.isExpandedAll()) {
|
|
364
|
-
this.store.treeControl().expandAll();
|
|
365
|
-
}
|
|
366
|
-
else {
|
|
367
|
-
this.store.treeControl().collapseAll();
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TreeColumnMolecule, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
371
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.4", type: TreeColumnMolecule, isStandalone: true, selector: "molecules-tree-column", outputs: { headerClick: "headerClick" }, providers: [
|
|
372
|
-
{ provide: NgAtomicColumnMoleculeStore, useExisting: TreeColumnMoleculeStore },
|
|
373
|
-
], usesInheritance: true, hostDirectives: [{ directive: TreeColumnMoleculeStore, inputs: ["index", "index", "treeControl", "treeControl", "column", "column"] }], ngImport: i0, template: `
|
|
374
|
-
@let component = '@ng-atomic/components/molecules/tree-column';
|
|
375
|
-
<ng-container matColumnDef [sticky]="store.sticky()" [stickyEnd]="store.stickyEnd()">
|
|
376
|
-
<ng-container *matHeaderCellDef>
|
|
377
|
-
@let position = { col: store.index(), row: 0 };
|
|
378
|
-
@let context = { item: null, name: store.name(), position, component, selector: 'header-cell' };
|
|
379
|
-
@let value = ss.grid.getValue(position);
|
|
380
|
-
@let expressionValue = ss.grid.getExpressionValue(position);
|
|
381
|
-
<th
|
|
382
|
-
mat-header-cell
|
|
383
|
-
[ssCell]="position"
|
|
384
|
-
[ssCellContext]="context"
|
|
385
|
-
[ssCellEditable]="ss.protection.isEditable(value, context)"
|
|
386
|
-
[style.text-align]="justify"
|
|
387
|
-
(click)="headerClick.emit()"
|
|
388
|
-
resizeColumn
|
|
389
|
-
[resizeColumnWidth]="store.width()"
|
|
390
|
-
(resize)="onResize(store.index(), $event)"
|
|
391
|
-
[ngStyle]="store.columnStyle()"
|
|
392
|
-
>
|
|
393
|
-
<p class="nowrap" style="display: flex; align-items: center;">
|
|
394
|
-
<!-- <button mat-icon-button (click)="toggleAll()">
|
|
395
|
-
<mat-icon>
|
|
396
|
-
{{ store.isExpandedAll() ? 'unfold_less' : 'unfold_more' }}
|
|
397
|
-
</mat-icon>
|
|
398
|
-
</button> -->
|
|
399
|
-
<span>{{ expressionValue }}</span>
|
|
400
|
-
@switch(store.sort()) {
|
|
401
|
-
@case ('asc') {
|
|
402
|
-
<mat-icon class="order">south</mat-icon>
|
|
403
|
-
}
|
|
404
|
-
@case ('desc') {
|
|
405
|
-
<mat-icon class="order">north</mat-icon>
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
</p>
|
|
409
|
-
</th>
|
|
410
|
-
</ng-container>
|
|
411
|
-
<ng-container *matCellDef="let item; let i = index">
|
|
412
|
-
@let index = item?.$index ?? i;
|
|
413
|
-
@let position = { col: store.index(), row: index + 1 };
|
|
414
|
-
@let context = { item, name: store.name(), position, component };
|
|
415
|
-
@let value = ss.grid.getValue(position);
|
|
416
|
-
@let expressionValue = ss.grid.getExpressionValue(position);
|
|
417
|
-
<td
|
|
418
|
-
mat-cell
|
|
419
|
-
[ssCell]="position"
|
|
420
|
-
[ssCellContext]="context"
|
|
421
|
-
[ssCellEditable]="ss.protection.isEditable(value, context)"
|
|
422
|
-
[matTooltip]="store.tooltipText() || value"
|
|
423
|
-
[matTooltipPosition]="'below'"
|
|
424
|
-
[matTooltipDisabled]="ss.protection.isEditable(value, context)"
|
|
425
|
-
[ngStyle]="store.columnStyle()"
|
|
426
|
-
>
|
|
427
|
-
<p class="nowrap" [style.maxWidth.px]="item.level * 48 + store.width()">
|
|
428
|
-
<span [style.paddingLeft.px]="(item.level + (item.isExpandable ? 0 : 1)) * 48"></span>
|
|
429
|
-
@if (item.isExpandable) {
|
|
430
|
-
<button
|
|
431
|
-
mat-icon-button
|
|
432
|
-
[style.visibility]="!item.isExpandable ? 'hidden' : 'visible'"
|
|
433
|
-
(click)="store.treeControl().toggle(item)"
|
|
434
|
-
>
|
|
435
|
-
<mat-icon>
|
|
436
|
-
{{ store.treeControl().isExpanded(item) ? 'expand_more' : 'chevron_right' }}
|
|
437
|
-
</mat-icon>
|
|
438
|
-
</button>
|
|
439
|
-
}
|
|
440
|
-
<span (click)="copy(value, $event)"> {{ expressionValue }} </span>
|
|
441
|
-
</p>
|
|
442
|
-
</td>
|
|
443
|
-
</ng-container>
|
|
444
|
-
</ng-container> `, isInline: true, styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p.nowrap,td[mat-cell] p.nowrap{margin-block-start:0em;margin-block-end:0em;display:flex;justify-content:flex-start;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "directive", type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: SpreadSheetCell, selector: "[ssCell]", inputs: ["ssCell", "ssCellEditable", "ssCellContext"] }, { kind: "directive", type: ResizeColumnDirective, selector: "[resizeColumn]", inputs: ["resizeColumnWidth"], outputs: ["resize"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
445
|
-
}
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TreeColumnMolecule, decorators: [{
|
|
447
|
-
type: Component,
|
|
448
|
-
args: [{ selector: 'molecules-tree-column', imports: [
|
|
449
|
-
MatButtonModule,
|
|
450
|
-
MatIconModule,
|
|
451
|
-
MatTableModule,
|
|
452
|
-
MatTooltipModule,
|
|
453
|
-
SpreadSheetCell,
|
|
454
|
-
ResizeColumnDirective,
|
|
455
|
-
NgStyle,
|
|
456
|
-
], template: `
|
|
457
|
-
@let component = '@ng-atomic/components/molecules/tree-column';
|
|
458
|
-
<ng-container matColumnDef [sticky]="store.sticky()" [stickyEnd]="store.stickyEnd()">
|
|
459
|
-
<ng-container *matHeaderCellDef>
|
|
460
|
-
@let position = { col: store.index(), row: 0 };
|
|
461
|
-
@let context = { item: null, name: store.name(), position, component, selector: 'header-cell' };
|
|
462
|
-
@let value = ss.grid.getValue(position);
|
|
463
|
-
@let expressionValue = ss.grid.getExpressionValue(position);
|
|
464
|
-
<th
|
|
465
|
-
mat-header-cell
|
|
466
|
-
[ssCell]="position"
|
|
467
|
-
[ssCellContext]="context"
|
|
468
|
-
[ssCellEditable]="ss.protection.isEditable(value, context)"
|
|
469
|
-
[style.text-align]="justify"
|
|
470
|
-
(click)="headerClick.emit()"
|
|
471
|
-
resizeColumn
|
|
472
|
-
[resizeColumnWidth]="store.width()"
|
|
473
|
-
(resize)="onResize(store.index(), $event)"
|
|
474
|
-
[ngStyle]="store.columnStyle()"
|
|
475
|
-
>
|
|
476
|
-
<p class="nowrap" style="display: flex; align-items: center;">
|
|
477
|
-
<!-- <button mat-icon-button (click)="toggleAll()">
|
|
478
|
-
<mat-icon>
|
|
479
|
-
{{ store.isExpandedAll() ? 'unfold_less' : 'unfold_more' }}
|
|
480
|
-
</mat-icon>
|
|
481
|
-
</button> -->
|
|
482
|
-
<span>{{ expressionValue }}</span>
|
|
483
|
-
@switch(store.sort()) {
|
|
484
|
-
@case ('asc') {
|
|
485
|
-
<mat-icon class="order">south</mat-icon>
|
|
486
|
-
}
|
|
487
|
-
@case ('desc') {
|
|
488
|
-
<mat-icon class="order">north</mat-icon>
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
</p>
|
|
492
|
-
</th>
|
|
493
|
-
</ng-container>
|
|
494
|
-
<ng-container *matCellDef="let item; let i = index">
|
|
495
|
-
@let index = item?.$index ?? i;
|
|
496
|
-
@let position = { col: store.index(), row: index + 1 };
|
|
497
|
-
@let context = { item, name: store.name(), position, component };
|
|
498
|
-
@let value = ss.grid.getValue(position);
|
|
499
|
-
@let expressionValue = ss.grid.getExpressionValue(position);
|
|
500
|
-
<td
|
|
501
|
-
mat-cell
|
|
502
|
-
[ssCell]="position"
|
|
503
|
-
[ssCellContext]="context"
|
|
504
|
-
[ssCellEditable]="ss.protection.isEditable(value, context)"
|
|
505
|
-
[matTooltip]="store.tooltipText() || value"
|
|
506
|
-
[matTooltipPosition]="'below'"
|
|
507
|
-
[matTooltipDisabled]="ss.protection.isEditable(value, context)"
|
|
508
|
-
[ngStyle]="store.columnStyle()"
|
|
509
|
-
>
|
|
510
|
-
<p class="nowrap" [style.maxWidth.px]="item.level * 48 + store.width()">
|
|
511
|
-
<span [style.paddingLeft.px]="(item.level + (item.isExpandable ? 0 : 1)) * 48"></span>
|
|
512
|
-
@if (item.isExpandable) {
|
|
513
|
-
<button
|
|
514
|
-
mat-icon-button
|
|
515
|
-
[style.visibility]="!item.isExpandable ? 'hidden' : 'visible'"
|
|
516
|
-
(click)="store.treeControl().toggle(item)"
|
|
517
|
-
>
|
|
518
|
-
<mat-icon>
|
|
519
|
-
{{ store.treeControl().isExpanded(item) ? 'expand_more' : 'chevron_right' }}
|
|
520
|
-
</mat-icon>
|
|
521
|
-
</button>
|
|
522
|
-
}
|
|
523
|
-
<span (click)="copy(value, $event)"> {{ expressionValue }} </span>
|
|
524
|
-
</p>
|
|
525
|
-
</td>
|
|
526
|
-
</ng-container>
|
|
527
|
-
</ng-container> `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
528
|
-
{
|
|
529
|
-
directive: TreeColumnMoleculeStore,
|
|
530
|
-
inputs: [
|
|
531
|
-
'index',
|
|
532
|
-
'treeControl',
|
|
533
|
-
'column'
|
|
534
|
-
],
|
|
535
|
-
},
|
|
536
|
-
], providers: [
|
|
537
|
-
{ provide: NgAtomicColumnMoleculeStore, useExisting: TreeColumnMoleculeStore },
|
|
538
|
-
], styles: ["th[mat-header-cell],td[mat-cell]{cursor:pointer}th[mat-header-cell] mat-icon.order,td[mat-cell] mat-icon.order{width:12px;height:12px;font-size:12px}th[mat-header-cell] p.nowrap,td[mat-cell] p.nowrap{margin-block-start:0em;margin-block-end:0em;display:flex;justify-content:flex-start;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
|
|
539
|
-
}], propDecorators: { headerClick: [{
|
|
540
|
-
type: Output
|
|
541
|
-
}] } });
|
|
542
|
-
|
|
543
|
-
class NgAtomicMoleculesModule {
|
|
544
|
-
static forRoot() {
|
|
545
|
-
return {
|
|
546
|
-
ngModule: NgAtomicMoleculesModule,
|
|
547
|
-
providers: [
|
|
548
|
-
...provideMolecules(),
|
|
549
|
-
],
|
|
550
|
-
};
|
|
551
|
-
}
|
|
552
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicMoleculesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
553
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicMoleculesModule, imports: [MatChipsModule] }); }
|
|
554
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicMoleculesModule, imports: [MatChipsModule] }); }
|
|
555
|
-
}
|
|
556
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: NgAtomicMoleculesModule, decorators: [{
|
|
557
|
-
type: NgModule,
|
|
558
|
-
args: [{
|
|
559
|
-
imports: [
|
|
560
|
-
MatChipsModule,
|
|
561
|
-
]
|
|
562
|
-
}]
|
|
563
|
-
}] });
|
|
564
15
|
function provideMolecules() {
|
|
565
|
-
return [
|
|
16
|
+
return makeEnvironmentProviders([
|
|
17
|
+
importProvidersFrom(MatChipsModule),
|
|
566
18
|
ActionsColumnMoleculeStore.Config.provide(),
|
|
567
19
|
provideComponent(ActionsColumnMoleculeStore, () => import('@ng-atomic/components/molecules/actions-column').then(m => m.ActionsColumnMolecule)),
|
|
568
20
|
provideComponent(ChipsInputFieldMoleculeStore, () => import('@ng-atomic/components/molecules/chips-input-field').then(m => m.ChipsInputFieldMolecule)),
|
|
@@ -577,12 +29,13 @@ function provideMolecules() {
|
|
|
577
29
|
provideComponent(TextInputFieldMoleculeStore, () => import('@ng-atomic/components/molecules/text-input-field').then(m => m.TextInputFieldMolecule)),
|
|
578
30
|
TextColumnMoleculeStore.Config.provide(),
|
|
579
31
|
TreeColumnMoleculeStore.Config.provide(),
|
|
580
|
-
|
|
32
|
+
ThreadMessageMoleculeStore.DI.provide(() => import('@ng-atomic/components/molecules/thread-message').then(m => m.ThreadMessageMolecule)),
|
|
33
|
+
]);
|
|
581
34
|
}
|
|
582
35
|
|
|
583
36
|
/**
|
|
584
37
|
* Generated bundle index. Do not edit.
|
|
585
38
|
*/
|
|
586
39
|
|
|
587
|
-
export {
|
|
40
|
+
export { provideMolecules };
|
|
588
41
|
//# sourceMappingURL=ng-atomic-components-molecules.mjs.map
|