@simplysm/angular 14.0.25 → 14.0.27
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/dist/core/directives/{sd-events.directive.d.ts → sd-events.d.ts} +6 -6
- package/dist/core/directives/sd-events.d.ts.map +1 -0
- package/dist/core/directives/{sd-events.directive.js → sd-events.js} +4 -4
- package/dist/core/directives/sd-invalid.d.ts +8 -0
- package/dist/core/directives/sd-invalid.d.ts.map +1 -0
- package/dist/core/directives/{sd-invalid.directive.js → sd-invalid.js} +7 -7
- package/dist/core/directives/sd-item-of-template.d.ts +14 -0
- package/dist/core/directives/sd-item-of-template.d.ts.map +1 -0
- package/dist/core/directives/{sd-item-of-template.directive.js → sd-item-of-template.js} +4 -4
- package/dist/core/directives/sd-ripple.d.ts +8 -0
- package/dist/core/directives/sd-ripple.d.ts.map +1 -0
- package/dist/core/directives/{sd-ripple.directive.js → sd-ripple.js} +7 -7
- package/dist/core/directives/{sd-router-link.directive.d.ts → sd-router-link.d.ts} +4 -4
- package/dist/core/directives/sd-router-link.d.ts.map +1 -0
- package/dist/core/directives/{sd-router-link.directive.js → sd-router-link.js} +9 -9
- package/dist/core/directives/sd-show-effect.d.ts +9 -0
- package/dist/core/directives/sd-show-effect.d.ts.map +1 -0
- package/dist/core/directives/{sd-show-effect.directive.js → sd-show-effect.js} +7 -7
- package/dist/core/directives/sd-typed-template.d.ts +8 -0
- package/dist/core/directives/sd-typed-template.d.ts.map +1 -0
- package/dist/core/directives/{sd-typed-template.directive.js → sd-typed-template.js} +4 -4
- package/dist/core/plugins/events/sd-intersection-event.plugin.d.ts +2 -2
- package/dist/core/plugins/events/sd-intersection-event.plugin.d.ts.map +1 -1
- package/dist/core/plugins/events/sd-resize-event.plugin.d.ts +2 -2
- package/dist/core/plugins/events/sd-resize-event.plugin.d.ts.map +1 -1
- package/dist/core/providers/sd-activated-modal.provider.d.ts +2 -2
- package/dist/core/providers/sd-activated-modal.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-app-structure.provider.d.ts +11 -7
- package/dist/core/providers/sd-app-structure.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-app-structure.provider.js +18 -7
- package/dist/core/providers/sd-app-structure.types.d.ts +6 -37
- package/dist/core/providers/sd-app-structure.types.d.ts.map +1 -1
- package/dist/core/providers/sd-app-structure.utils.d.ts +8 -10
- package/dist/core/providers/sd-app-structure.utils.d.ts.map +1 -1
- package/dist/core/providers/sd-app-structure.utils.js +5 -86
- package/dist/core/providers/sd-busy.provider.d.ts +4 -4
- package/dist/core/providers/sd-busy.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-busy.provider.js +2 -2
- package/dist/core/providers/sd-print.provider.d.ts +7 -7
- package/dist/core/providers/sd-print.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-shared-data.provider.d.ts +5 -5
- package/dist/core/providers/sd-shared-data.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-toast.provider.d.ts +9 -9
- package/dist/core/providers/sd-toast.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-toast.provider.js +5 -5
- package/dist/core/types/select-modal-output-result.d.ts +1 -1
- package/dist/core/types/select-modal-output-result.d.ts.map +1 -1
- package/dist/core/utils/{TDirectiveInputSignals.d.ts → directive-input-signals.d.ts} +5 -5
- package/dist/core/utils/directive-input-signals.d.ts.map +1 -0
- package/dist/core/utils/injectCurrentPageCodeSignal.d.ts +3 -0
- package/dist/core/utils/injectCurrentPageCodeSignal.d.ts.map +1 -0
- package/dist/core/utils/{useCurrentPageCodeSignal.js → injectCurrentPageCodeSignal.js} +1 -1
- package/dist/core/utils/injectFullPageCodeSignal.d.ts +3 -0
- package/dist/core/utils/injectFullPageCodeSignal.d.ts.map +1 -0
- package/dist/core/utils/{useFullPageCodeSignal.js → injectFullPageCodeSignal.js} +1 -1
- package/dist/core/utils/{useSdSystemConfigResource.d.ts → injectSdSystemConfigResource.d.ts} +2 -2
- package/dist/core/utils/injectSdSystemConfigResource.d.ts.map +1 -0
- package/dist/core/utils/{useSdSystemConfigResource.js → injectSdSystemConfigResource.js} +1 -1
- package/dist/core/utils/injectViewTitleSignal.d.ts +3 -0
- package/dist/core/utils/injectViewTitleSignal.d.ts.map +1 -0
- package/dist/core/utils/{useViewTitleSignal.js → injectViewTitleSignal.js} +11 -6
- package/dist/core/utils/injectViewTypeSignal.d.ts +4 -0
- package/dist/core/utils/injectViewTypeSignal.d.ts.map +1 -0
- package/dist/core/utils/{useViewTypeSignal.js → injectViewTypeSignal.js} +5 -5
- package/dist/core/utils/useExpandingManager.d.ts +3 -3
- package/dist/core/utils/useExpandingManager.d.ts.map +1 -1
- package/dist/core/utils/useSortingManager.d.ts +2 -2
- package/dist/core/utils/useSortingManager.d.ts.map +1 -1
- package/dist/features/address/sd-address-search.modal.d.ts +4 -4
- package/dist/features/address/sd-address-search.modal.d.ts.map +1 -1
- package/dist/features/address/sd-address-search.modal.js +3 -3
- package/dist/features/base/{sd-base-container.control.d.ts → sd-base-container.d.ts} +7 -7
- package/dist/features/base/sd-base-container.d.ts.map +1 -0
- package/dist/features/base/{sd-base-container.control.js → sd-base-container.js} +50 -43
- package/dist/features/data-view/{useDataSheetExcelManager.d.ts → injectDataSheetExcelManager.d.ts} +4 -4
- package/dist/features/data-view/injectDataSheetExcelManager.d.ts.map +1 -0
- package/dist/features/data-view/{useDataSheetExcelManager.js → injectDataSheetExcelManager.js} +1 -1
- package/dist/features/data-view/{useDataSheetInlineEditManager.d.ts → injectDataSheetInlineEditManager.d.ts} +4 -4
- package/dist/features/data-view/injectDataSheetInlineEditManager.d.ts.map +1 -0
- package/dist/features/data-view/{useDataSheetInlineEditManager.js → injectDataSheetInlineEditManager.js} +1 -1
- package/dist/features/data-view/{useDataSheetModalEditManager.d.ts → injectDataSheetModalEditManager.d.ts} +4 -4
- package/dist/features/data-view/injectDataSheetModalEditManager.d.ts.map +1 -0
- package/dist/features/data-view/{useDataSheetModalEditManager.js → injectDataSheetModalEditManager.js} +1 -1
- package/dist/features/data-view/{useDataSheetRefreshManager.d.ts → injectDataSheetRefreshManager.d.ts} +4 -4
- package/dist/features/data-view/injectDataSheetRefreshManager.d.ts.map +1 -0
- package/dist/features/data-view/{useDataSheetRefreshManager.js → injectDataSheetRefreshManager.js} +1 -1
- package/dist/features/data-view/sd-data-detail.base.d.ts +49 -0
- package/dist/features/data-view/sd-data-detail.base.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-detail.base.js +122 -0
- package/dist/features/data-view/sd-data-detail.d.ts +29 -0
- package/dist/features/data-view/sd-data-detail.d.ts.map +1 -0
- package/dist/features/data-view/{sd-data-detail.control.js → sd-data-detail.js} +80 -202
- package/dist/features/data-view/sd-data-select-button.base.d.ts +24 -0
- package/dist/features/data-view/sd-data-select-button.base.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-select-button.base.js +68 -0
- package/dist/features/data-view/sd-data-select-button.d.ts +15 -0
- package/dist/features/data-view/sd-data-select-button.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-select-button.js +152 -0
- package/dist/features/data-view/sd-data-sheet-column.d.ts +8 -0
- package/dist/features/data-view/sd-data-sheet-column.d.ts.map +1 -0
- package/dist/features/data-view/{sd-data-sheet-column.directive.js → sd-data-sheet-column.js} +5 -5
- package/dist/features/data-view/sd-data-sheet.base.d.ts +76 -0
- package/dist/features/data-view/sd-data-sheet.base.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-sheet.base.js +196 -0
- package/dist/features/data-view/sd-data-sheet.d.ts +48 -0
- package/dist/features/data-view/sd-data-sheet.d.ts.map +1 -0
- package/dist/features/data-view/{sd-data-sheet.control.js → sd-data-sheet.js} +135 -330
- package/dist/features/data-view/sd-data-sheet.types.d.ts +3 -3
- package/dist/features/data-view/sd-data-sheet.types.d.ts.map +1 -1
- package/dist/features/data-view/setupCloserWhenSingleSelectionChange.d.ts +2 -2
- package/dist/features/data-view/setupCloserWhenSingleSelectionChange.d.ts.map +1 -1
- package/dist/features/permission-table/sd-permission-table.d.ts +32 -0
- package/dist/features/permission-table/sd-permission-table.d.ts.map +1 -0
- package/dist/features/permission-table/{sd-permission-table.control.js → sd-permission-table.js} +45 -45
- package/dist/features/shared-data/sd-shared-data-select-button.d.ts +16 -0
- package/dist/features/shared-data/sd-shared-data-select-button.d.ts.map +1 -0
- package/dist/features/shared-data/{sd-shared-data-select-button.control.js → sd-shared-data-select-button.js} +18 -17
- package/dist/features/shared-data/{sd-shared-data-select-list.control.d.ts → sd-shared-data-select-list.d.ts} +8 -8
- package/dist/features/shared-data/sd-shared-data-select-list.d.ts.map +1 -0
- package/dist/features/shared-data/{sd-shared-data-select-list.control.js → sd-shared-data-select-list.js} +58 -58
- package/dist/features/shared-data/{sd-shared-data-select.control.d.ts → sd-shared-data-select.d.ts} +13 -13
- package/dist/features/shared-data/sd-shared-data-select.d.ts.map +1 -0
- package/dist/features/shared-data/{sd-shared-data-select.control.js → sd-shared-data-select.js} +51 -51
- package/dist/index.d.ts +101 -98
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +86 -83
- package/dist/ui/data/list/sd-list-item.d.ts +20 -0
- package/dist/ui/data/list/sd-list-item.d.ts.map +1 -0
- package/dist/ui/data/list/{sd-list-item.control.js → sd-list-item.js} +26 -26
- package/dist/ui/data/list/sd-list.d.ts +7 -0
- package/dist/ui/data/list/sd-list.d.ts.map +1 -0
- package/dist/ui/data/list/{sd-list.control.js → sd-list.js} +6 -6
- package/dist/ui/data/sheet/injectSheetColumnResizing.d.ts +17 -0
- package/dist/ui/data/sheet/injectSheetColumnResizing.d.ts.map +1 -0
- package/dist/ui/data/sheet/{useSheetColumnResizing.js → injectSheetColumnResizing.js} +1 -1
- package/dist/ui/data/sheet/{useSheetDomAccessor.d.ts → injectSheetDomAccessor.d.ts} +2 -2
- package/dist/ui/data/sheet/injectSheetDomAccessor.d.ts.map +1 -0
- package/dist/ui/data/sheet/{useSheetDomAccessor.js → injectSheetDomAccessor.js} +1 -1
- package/dist/ui/data/sheet/{sd-sheet-column.directive.d.ts → sd-sheet-column.d.ts} +4 -4
- package/dist/ui/data/sheet/sd-sheet-column.d.ts.map +1 -0
- package/dist/ui/data/sheet/{sd-sheet-column.directive.js → sd-sheet-column.js} +4 -4
- package/dist/ui/data/sheet/sd-sheet-config.modal.d.ts +9 -9
- package/dist/ui/data/sheet/sd-sheet-config.modal.d.ts.map +1 -1
- package/dist/ui/data/sheet/sd-sheet-config.modal.js +4 -4
- package/dist/ui/data/sheet/{sd-sheet.control.d.ts → sd-sheet.d.ts} +26 -26
- package/dist/ui/data/sheet/sd-sheet.d.ts.map +1 -0
- package/dist/ui/data/sheet/{sd-sheet.control.js → sd-sheet.js} +82 -82
- package/dist/ui/data/sheet/types.d.ts +6 -6
- package/dist/ui/data/sheet/types.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetCellAgent.d.ts +2 -2
- package/dist/ui/data/sheet/useSheetCellAgent.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetCellStyling.d.ts +9 -9
- package/dist/ui/data/sheet/useSheetCellStyling.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetColumnFixing.d.ts +2 -2
- package/dist/ui/data/sheet/useSheetColumnFixing.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetDisplayPipeline.d.ts +1 -1
- package/dist/ui/data/sheet/useSheetLayoutEngine.d.ts +6 -6
- package/dist/ui/data/sheet/useSheetLayoutEngine.d.ts.map +1 -1
- package/dist/ui/form/button/sd-additional-button.d.ts +8 -0
- package/dist/ui/form/button/sd-additional-button.d.ts.map +1 -0
- package/dist/ui/form/button/{sd-additional-button.control.js → sd-additional-button.js} +6 -6
- package/dist/ui/form/button/sd-anchor.d.ts +8 -0
- package/dist/ui/form/button/sd-anchor.d.ts.map +1 -0
- package/dist/ui/form/button/{sd-anchor.control.js → sd-anchor.js} +6 -6
- package/dist/ui/form/button/{sd-button.control.d.ts → sd-button.d.ts} +4 -4
- package/dist/ui/form/button/sd-button.d.ts.map +1 -0
- package/dist/ui/form/button/{sd-button.control.js → sd-button.js} +11 -11
- package/dist/ui/form/button/sd-modal-select-button.d.ts +38 -0
- package/dist/ui/form/button/sd-modal-select-button.d.ts.map +1 -0
- package/dist/ui/form/button/{sd-modal-select-button.control.js → sd-modal-select-button.js} +16 -16
- package/dist/ui/form/checkbox/{sd-checkbox-group-item.control.d.ts → sd-checkbox-group-item.d.ts} +4 -4
- package/dist/ui/form/checkbox/sd-checkbox-group-item.d.ts.map +1 -0
- package/dist/ui/form/checkbox/{sd-checkbox-group-item.control.js → sd-checkbox-group-item.js} +11 -11
- package/dist/ui/form/checkbox/sd-checkbox-group.d.ts +8 -0
- package/dist/ui/form/checkbox/sd-checkbox-group.d.ts.map +1 -0
- package/dist/ui/form/checkbox/{sd-checkbox-group.control.js → sd-checkbox-group.js} +5 -5
- package/dist/ui/form/checkbox/sd-checkbox.d.ts +19 -0
- package/dist/ui/form/checkbox/sd-checkbox.d.ts.map +1 -0
- package/dist/ui/form/checkbox/{sd-checkbox.control.js → sd-checkbox.js} +10 -10
- package/dist/ui/form/checkbox/sd-switch.d.ts +14 -0
- package/dist/ui/form/checkbox/sd-switch.d.ts.map +1 -0
- package/dist/ui/form/checkbox/{sd-switch.control.js → sd-switch.js} +7 -7
- package/dist/ui/form/choice/{sd-state-preset.control.d.ts → sd-state-preset.d.ts} +9 -9
- package/dist/ui/form/choice/sd-state-preset.d.ts.map +1 -0
- package/dist/ui/form/choice/{sd-state-preset.control.js → sd-state-preset.js} +21 -21
- package/dist/ui/form/editor/{sd-tiptap-editor.control.d.ts → sd-tiptap-editor.d.ts} +4 -4
- package/dist/ui/form/editor/sd-tiptap-editor.d.ts.map +1 -0
- package/dist/ui/form/editor/{sd-tiptap-editor.control.js → sd-tiptap-editor.js} +33 -33
- package/dist/ui/form/input/sd-date-range.picker.js +6 -6
- package/dist/ui/form/input/{sd-numpad.control.d.ts → sd-numpad.d.ts} +4 -4
- package/dist/ui/form/input/sd-numpad.d.ts.map +1 -0
- package/dist/ui/form/input/{sd-numpad.control.js → sd-numpad.js} +25 -25
- package/dist/ui/form/input/sd-range.d.ts +13 -0
- package/dist/ui/form/input/sd-range.d.ts.map +1 -0
- package/dist/ui/form/input/{sd-range.control.js → sd-range.js} +10 -10
- package/dist/ui/form/input/sd-textarea.d.ts +23 -0
- package/dist/ui/form/input/sd-textarea.d.ts.map +1 -0
- package/dist/ui/form/input/{sd-textarea.control.js → sd-textarea.js} +13 -13
- package/dist/ui/form/input/sd-textfield-type-handlers.d.ts +12 -12
- package/dist/ui/form/input/sd-textfield-type-handlers.d.ts.map +1 -1
- package/dist/ui/form/input/sd-textfield.d.ts +39 -0
- package/dist/ui/form/input/sd-textfield.d.ts.map +1 -0
- package/dist/ui/form/input/{sd-textfield.control.js → sd-textfield.js} +16 -16
- package/dist/ui/form/{sd-form.control.d.ts → sd-form.d.ts} +4 -4
- package/dist/ui/form/sd-form.d.ts.map +1 -0
- package/dist/ui/form/{sd-form.control.js → sd-form.js} +7 -7
- package/dist/ui/form/select/sd-select-button.d.ts +7 -0
- package/dist/ui/form/select/sd-select-button.d.ts.map +1 -0
- package/dist/ui/form/select/{sd-select-button.control.js → sd-select-button.js} +6 -6
- package/dist/ui/form/select/sd-select-item.d.ts +18 -0
- package/dist/ui/form/select/sd-select-item.d.ts.map +1 -0
- package/dist/ui/form/select/{sd-select-item.control.js → sd-select-item.js} +15 -15
- package/dist/ui/form/select/{sd-select.control.d.ts → sd-select.d.ts} +8 -8
- package/dist/ui/form/select/sd-select.d.ts.map +1 -0
- package/dist/ui/form/select/{sd-select.control.js → sd-select.js} +62 -62
- package/dist/ui/layout/dock/sd-dock-container.d.ts +12 -0
- package/dist/ui/layout/dock/sd-dock-container.d.ts.map +1 -0
- package/dist/ui/layout/dock/{sd-dock-container.control.js → sd-dock-container.js} +11 -11
- package/dist/ui/layout/dock/sd-dock.d.ts +19 -0
- package/dist/ui/layout/dock/sd-dock.d.ts.map +1 -0
- package/dist/ui/layout/dock/{sd-dock.control.js → sd-dock.js} +12 -12
- package/dist/ui/layout/kanban/sd-kanban-board.d.ts +24 -0
- package/dist/ui/layout/kanban/sd-kanban-board.d.ts.map +1 -0
- package/dist/ui/layout/kanban/{sd-kanban-board.control.js → sd-kanban-board.js} +7 -7
- package/dist/ui/layout/kanban/{sd-kanban-lane.control.d.ts → sd-kanban-lane.d.ts} +8 -8
- package/dist/ui/layout/kanban/sd-kanban-lane.d.ts.map +1 -0
- package/dist/ui/layout/kanban/{sd-kanban-lane.control.js → sd-kanban-lane.js} +37 -37
- package/dist/ui/layout/kanban/{sd-kanban.control.d.ts → sd-kanban.d.ts} +8 -8
- package/dist/ui/layout/kanban/sd-kanban.d.ts.map +1 -0
- package/dist/ui/layout/kanban/{sd-kanban.control.js → sd-kanban.js} +17 -17
- package/dist/ui/layout/sd-card.d.ts +6 -0
- package/dist/ui/layout/sd-card.d.ts.map +1 -0
- package/dist/ui/layout/{sd-card.directive.js → sd-card.js} +5 -5
- package/dist/ui/layout/sd-gap.d.ts +12 -0
- package/dist/ui/layout/sd-gap.d.ts.map +1 -0
- package/dist/ui/layout/{sd-gap.control.js → sd-gap.js} +6 -6
- package/dist/ui/layout/sd-pane.d.ts +6 -0
- package/dist/ui/layout/sd-pane.d.ts.map +1 -0
- package/dist/ui/layout/{sd-pane.directive.js → sd-pane.js} +5 -5
- package/dist/ui/layout/view/sd-view-item.d.ts +9 -0
- package/dist/ui/layout/view/sd-view-item.d.ts.map +1 -0
- package/dist/ui/layout/view/{sd-view-item.control.js → sd-view-item.js} +8 -8
- package/dist/ui/layout/view/sd-view.d.ts +8 -0
- package/dist/ui/layout/view/sd-view.d.ts.map +1 -0
- package/dist/ui/layout/view/{sd-view.control.js → sd-view.js} +6 -6
- package/dist/ui/navigation/collapse/sd-collapse-icon.d.ts +13 -0
- package/dist/ui/navigation/collapse/sd-collapse-icon.d.ts.map +1 -0
- package/dist/ui/navigation/collapse/{sd-collapse-icon.control.js → sd-collapse-icon.js} +6 -6
- package/dist/ui/navigation/collapse/sd-collapse.d.ts +14 -0
- package/dist/ui/navigation/collapse/sd-collapse.d.ts.map +1 -0
- package/dist/ui/navigation/collapse/{sd-collapse.control.js → sd-collapse.js} +7 -7
- package/dist/ui/navigation/menu-utils.d.ts +4 -4
- package/dist/ui/navigation/menu-utils.d.ts.map +1 -1
- package/dist/ui/navigation/pagination/{sd-pagination.control.d.ts → sd-pagination.d.ts} +4 -4
- package/dist/ui/navigation/pagination/sd-pagination.d.ts.map +1 -0
- package/dist/ui/navigation/pagination/{sd-pagination.control.js → sd-pagination.js} +15 -15
- package/dist/ui/navigation/sidebar/{sd-sidebar-container.control.d.ts → sd-sidebar-container.d.ts} +4 -4
- package/dist/ui/navigation/sidebar/sd-sidebar-container.d.ts.map +1 -0
- package/dist/ui/navigation/sidebar/{sd-sidebar-container.control.js → sd-sidebar-container.js} +7 -7
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.d.ts +22 -0
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.d.ts.map +1 -0
- package/dist/ui/navigation/sidebar/{sd-sidebar-menu.control.js → sd-sidebar-menu.js} +35 -35
- package/dist/ui/navigation/sidebar/sd-sidebar-user.d.ts +16 -0
- package/dist/ui/navigation/sidebar/sd-sidebar-user.d.ts.map +1 -0
- package/dist/ui/navigation/sidebar/{sd-sidebar-user.control.js → sd-sidebar-user.js} +30 -30
- package/dist/ui/navigation/sidebar/sd-sidebar.d.ts +8 -0
- package/dist/ui/navigation/sidebar/sd-sidebar.d.ts.map +1 -0
- package/dist/ui/navigation/sidebar/{sd-sidebar.control.js → sd-sidebar.js} +8 -8
- package/dist/ui/navigation/tab/sd-tab-item.d.ts +10 -0
- package/dist/ui/navigation/tab/sd-tab-item.d.ts.map +1 -0
- package/dist/ui/navigation/tab/{sd-tab-item.control.js → sd-tab-item.js} +9 -9
- package/dist/ui/navigation/tab/sd-tab.d.ts +7 -0
- package/dist/ui/navigation/tab/sd-tab.d.ts.map +1 -0
- package/dist/ui/navigation/tab/{sd-tab.control.js → sd-tab.js} +5 -5
- package/dist/ui/navigation/tab/sd-tabview-item.d.ts +10 -0
- package/dist/ui/navigation/tab/sd-tabview-item.d.ts.map +1 -0
- package/dist/ui/navigation/tab/{sd-tabview-item.control.js → sd-tabview-item.js} +8 -8
- package/dist/ui/navigation/tab/sd-tabview.d.ts +9 -0
- package/dist/ui/navigation/tab/sd-tabview.d.ts.map +1 -0
- package/dist/ui/navigation/tab/{sd-tabview.control.js → sd-tabview.js} +17 -17
- package/dist/ui/navigation/topbar/sd-topbar-container.d.ts +6 -0
- package/dist/ui/navigation/topbar/sd-topbar-container.d.ts.map +1 -0
- package/dist/ui/navigation/topbar/{sd-topbar-container.control.js → sd-topbar-container.js} +5 -5
- package/dist/ui/navigation/topbar/sd-topbar-menu.d.ts +23 -0
- package/dist/ui/navigation/topbar/sd-topbar-menu.d.ts.map +1 -0
- package/dist/ui/navigation/topbar/{sd-topbar-menu.control.js → sd-topbar-menu.js} +56 -56
- package/dist/ui/navigation/topbar/sd-topbar-user.d.ts +13 -0
- package/dist/ui/navigation/topbar/sd-topbar-user.d.ts.map +1 -0
- package/dist/ui/navigation/topbar/{sd-topbar-user.control.js → sd-topbar-user.js} +27 -27
- package/dist/ui/navigation/topbar/{sd-topbar.control.d.ts → sd-topbar.d.ts} +6 -6
- package/dist/ui/navigation/topbar/sd-topbar.d.ts.map +1 -0
- package/dist/ui/navigation/topbar/{sd-topbar.control.js → sd-topbar.js} +13 -13
- package/dist/ui/overlay/busy/sd-busy-container.d.ts +14 -0
- package/dist/ui/overlay/busy/sd-busy-container.d.ts.map +1 -0
- package/dist/ui/overlay/busy/{sd-busy-container.control.js → sd-busy-container.js} +16 -16
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.d.ts +8 -0
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.d.ts.map +1 -0
- package/dist/ui/overlay/dropdown/{sd-dropdown-popup.control.js → sd-dropdown-popup.js} +9 -9
- package/dist/ui/overlay/dropdown/{sd-dropdown.control.d.ts → sd-dropdown.d.ts} +4 -4
- package/dist/ui/overlay/dropdown/sd-dropdown.d.ts.map +1 -0
- package/dist/ui/overlay/dropdown/{sd-dropdown.control.js → sd-dropdown.js} +12 -12
- package/dist/ui/overlay/modal/sd-confirm-modal.d.ts +17 -0
- package/dist/ui/overlay/modal/sd-confirm-modal.d.ts.map +1 -0
- package/dist/ui/overlay/modal/{sd-confirm-modal.control.js → sd-confirm-modal.js} +11 -11
- package/dist/ui/overlay/modal/{sd-modal.control.d.ts → sd-modal.d.ts} +4 -4
- package/dist/ui/overlay/modal/sd-modal.d.ts.map +1 -0
- package/dist/ui/overlay/modal/{sd-modal.control.js → sd-modal.js} +28 -28
- package/dist/ui/overlay/modal/sd-modal.provider.d.ts +8 -8
- package/dist/ui/overlay/modal/sd-modal.provider.d.ts.map +1 -1
- package/dist/ui/overlay/modal/sd-modal.provider.js +4 -4
- package/dist/ui/overlay/modal/sd-prompt-modal.d.ts +19 -0
- package/dist/ui/overlay/modal/sd-prompt-modal.d.ts.map +1 -0
- package/dist/ui/overlay/modal/{sd-prompt-modal.control.js → sd-prompt-modal.js} +13 -13
- package/dist/ui/overlay/toast/sd-toast-container.d.ts +7 -0
- package/dist/ui/overlay/toast/sd-toast-container.d.ts.map +1 -0
- package/dist/ui/overlay/toast/{sd-toast-container.control.js → sd-toast-container.js} +6 -6
- package/dist/ui/overlay/toast/sd-toast.d.ts +14 -0
- package/dist/ui/overlay/toast/sd-toast.d.ts.map +1 -0
- package/dist/ui/overlay/toast/{sd-toast.control.js → sd-toast.js} +10 -10
- package/dist/ui/visual/sd-barcode.d.ts +11 -0
- package/dist/ui/visual/sd-barcode.d.ts.map +1 -0
- package/dist/ui/visual/{sd-barcode.control.js → sd-barcode.js} +5 -5
- package/dist/ui/visual/{sd-calendar.control.d.ts → sd-calendar.d.ts} +5 -5
- package/dist/ui/visual/sd-calendar.d.ts.map +1 -0
- package/dist/ui/visual/{sd-calendar.control.js → sd-calendar.js} +18 -18
- package/dist/ui/visual/sd-echarts.d.ts +13 -0
- package/dist/ui/visual/sd-echarts.d.ts.map +1 -0
- package/dist/ui/visual/{sd-echarts.control.js → sd-echarts.js} +7 -7
- package/dist/ui/visual/sd-label.d.ts +9 -0
- package/dist/ui/visual/sd-label.d.ts.map +1 -0
- package/dist/ui/visual/{sd-label.control.js → sd-label.js} +6 -6
- package/dist/ui/visual/sd-note.d.ts +9 -0
- package/dist/ui/visual/sd-note.d.ts.map +1 -0
- package/dist/ui/visual/{sd-note.control.js → sd-note.js} +6 -6
- package/dist/ui/visual/sd-progress.d.ts +11 -0
- package/dist/ui/visual/sd-progress.d.ts.map +1 -0
- package/dist/ui/visual/{sd-progress.control.js → sd-progress.js} +6 -6
- package/package.json +5 -5
- package/src/core/directives/{sd-events.directive.ts → sd-events.ts} +3 -3
- package/src/core/directives/{sd-invalid.directive.ts → sd-invalid.ts} +3 -3
- package/src/core/directives/{sd-item-of-template.directive.ts → sd-item-of-template.ts} +2 -2
- package/src/core/directives/{sd-ripple.directive.ts → sd-ripple.ts} +3 -3
- package/src/core/directives/{sd-router-link.directive.ts → sd-router-link.ts} +3 -3
- package/src/core/directives/{sd-show-effect.directive.ts → sd-show-effect.ts} +3 -3
- package/src/core/directives/{sd-typed-template.directive.ts → sd-typed-template.ts} +2 -2
- package/src/core/plugins/events/sd-intersection-event.plugin.ts +2 -2
- package/src/core/plugins/events/sd-resize-event.plugin.ts +2 -2
- package/src/core/providers/sd-activated-modal.provider.ts +2 -2
- package/src/core/providers/sd-app-structure.provider.ts +28 -11
- package/src/core/providers/sd-app-structure.types.ts +12 -43
- package/src/core/providers/sd-app-structure.utils.ts +29 -140
- package/src/core/providers/sd-busy.provider.ts +6 -6
- package/src/core/providers/sd-print.provider.ts +11 -11
- package/src/core/providers/sd-shared-data.provider.ts +10 -10
- package/src/core/providers/sd-toast.provider.ts +22 -22
- package/src/core/types/select-modal-output-result.ts +1 -1
- package/src/core/utils/{TDirectiveInputSignals.ts → directive-input-signals.ts} +4 -4
- package/src/core/utils/{useCurrentPageCodeSignal.ts → injectCurrentPageCodeSignal.ts} +1 -1
- package/src/core/utils/{useFullPageCodeSignal.ts → injectFullPageCodeSignal.ts} +1 -1
- package/src/core/utils/{useSdSystemConfigResource.ts → injectSdSystemConfigResource.ts} +1 -1
- package/src/core/utils/{useViewTitleSignal.ts → injectViewTitleSignal.ts} +10 -6
- package/src/core/utils/{useViewTypeSignal.ts → injectViewTypeSignal.ts} +7 -7
- package/src/core/utils/useExpandingManager.ts +8 -8
- package/src/core/utils/useSortingManager.ts +2 -2
- package/src/features/address/sd-address-search.modal.ts +9 -9
- package/src/features/base/{sd-base-container.control.ts → sd-base-container.ts} +27 -22
- package/src/features/data-view/{useDataSheetExcelManager.ts → injectDataSheetExcelManager.ts} +3 -3
- package/src/features/data-view/{useDataSheetInlineEditManager.ts → injectDataSheetInlineEditManager.ts} +3 -3
- package/src/features/data-view/{useDataSheetModalEditManager.ts → injectDataSheetModalEditManager.ts} +3 -3
- package/src/features/data-view/{useDataSheetRefreshManager.ts → injectDataSheetRefreshManager.ts} +3 -3
- package/src/features/data-view/sd-data-detail.base.ts +183 -0
- package/src/features/data-view/{sd-data-detail.control.ts → sd-data-detail.ts} +14 -198
- package/src/features/data-view/sd-data-select-button.base.ts +104 -0
- package/src/features/data-view/sd-data-select-button.ts +105 -0
- package/src/features/data-view/{sd-data-sheet-column.directive.ts → sd-data-sheet-column.ts} +2 -2
- package/src/features/data-view/sd-data-sheet.base.ts +305 -0
- package/src/features/data-view/{sd-data-sheet.control.ts → sd-data-sheet.ts} +19 -323
- package/src/features/data-view/sd-data-sheet.types.ts +3 -3
- package/src/features/data-view/setupCloserWhenSingleSelectionChange.ts +2 -2
- package/src/features/permission-table/{sd-permission-table.control.ts → sd-permission-table.ts} +26 -26
- package/src/features/shared-data/{sd-shared-data-select-button.control.ts → sd-shared-data-select-button.ts} +17 -19
- package/src/features/shared-data/{sd-shared-data-select-list.control.ts → sd-shared-data-select-list.ts} +21 -21
- package/src/features/shared-data/{sd-shared-data-select.control.ts → sd-shared-data-select.ts} +27 -27
- package/src/index.ts +139 -141
- package/src/ui/data/list/{sd-list-item.control.ts → sd-list-item.ts} +6 -6
- package/src/ui/data/list/{sd-list.control.ts → sd-list.ts} +1 -1
- package/src/ui/data/sheet/{useSheetColumnResizing.ts → injectSheetColumnResizing.ts} +9 -9
- package/src/ui/data/sheet/{useSheetDomAccessor.ts → injectSheetDomAccessor.ts} +1 -1
- package/src/ui/data/sheet/{sd-sheet-column.directive.ts → sd-sheet-column.ts} +1 -1
- package/src/ui/data/sheet/sd-sheet-config.modal.ts +15 -15
- package/src/ui/data/sheet/{sd-sheet.control.ts → sd-sheet.ts} +27 -27
- package/src/ui/data/sheet/types.ts +6 -6
- package/src/ui/data/sheet/useSheetCellAgent.ts +2 -2
- package/src/ui/data/sheet/useSheetCellStyling.ts +10 -10
- package/src/ui/data/sheet/useSheetColumnFixing.ts +2 -2
- package/src/ui/data/sheet/useSheetLayoutEngine.ts +8 -8
- package/src/ui/form/button/{sd-additional-button.control.ts → sd-additional-button.ts} +1 -1
- package/src/ui/form/button/{sd-anchor.control.ts → sd-anchor.ts} +1 -1
- package/src/ui/form/button/{sd-button.control.ts → sd-button.ts} +4 -4
- package/src/ui/form/button/{sd-modal-select-button.control.ts → sd-modal-select-button.ts} +16 -16
- package/src/ui/form/checkbox/{sd-checkbox-group-item.control.ts → sd-checkbox-group-item.ts} +6 -6
- package/src/ui/form/checkbox/{sd-checkbox-group.control.ts → sd-checkbox-group.ts} +1 -1
- package/src/ui/form/checkbox/{sd-checkbox.control.ts → sd-checkbox.ts} +1 -1
- package/src/ui/form/checkbox/{sd-switch.control.ts → sd-switch.ts} +1 -1
- package/src/ui/form/choice/{sd-state-preset.control.ts → sd-state-preset.ts} +14 -14
- package/src/ui/form/editor/{sd-tiptap-editor.control.ts → sd-tiptap-editor.ts} +1 -1
- package/src/ui/form/input/sd-date-range.picker.ts +5 -5
- package/src/ui/form/input/{sd-numpad.control.ts → sd-numpad.ts} +4 -4
- package/src/ui/form/input/{sd-range.control.ts → sd-range.ts} +6 -6
- package/src/ui/form/input/{sd-textarea.control.ts → sd-textarea.ts} +1 -1
- package/src/ui/form/input/sd-textfield-type-handlers.ts +18 -18
- package/src/ui/form/input/{sd-textfield.control.ts → sd-textfield.ts} +8 -8
- package/src/ui/form/{sd-form.control.ts → sd-form.ts} +1 -1
- package/src/ui/form/select/{sd-select-button.control.ts → sd-select-button.ts} +1 -1
- package/src/ui/form/select/{sd-select-item.control.ts → sd-select-item.ts} +7 -7
- package/src/ui/form/select/{sd-select.control.ts → sd-select.ts} +21 -21
- package/src/ui/layout/dock/{sd-dock-container.control.ts → sd-dock-container.ts} +3 -3
- package/src/ui/layout/dock/{sd-dock.control.ts → sd-dock.ts} +5 -5
- package/src/ui/layout/kanban/{sd-kanban-board.control.ts → sd-kanban-board.ts} +7 -7
- package/src/ui/layout/kanban/{sd-kanban-lane.control.ts → sd-kanban-lane.ts} +12 -12
- package/src/ui/layout/kanban/{sd-kanban.control.ts → sd-kanban.ts} +15 -15
- package/src/ui/layout/{sd-card.directive.ts → sd-card.ts} +2 -2
- package/src/ui/layout/{sd-gap.control.ts → sd-gap.ts} +1 -1
- package/src/ui/layout/{sd-pane.directive.ts → sd-pane.ts} +2 -2
- package/src/ui/layout/view/{sd-view-item.control.ts → sd-view-item.ts} +3 -3
- package/src/ui/layout/view/{sd-view.control.ts → sd-view.ts} +1 -1
- package/src/ui/navigation/collapse/{sd-collapse-icon.control.ts → sd-collapse-icon.ts} +1 -1
- package/src/ui/navigation/collapse/{sd-collapse.control.ts → sd-collapse.ts} +3 -3
- package/src/ui/navigation/menu-utils.ts +5 -5
- package/src/ui/navigation/pagination/{sd-pagination.control.ts → sd-pagination.ts} +3 -3
- package/src/ui/navigation/sidebar/{sd-sidebar-container.control.ts → sd-sidebar-container.ts} +1 -1
- package/src/ui/navigation/sidebar/{sd-sidebar-menu.control.ts → sd-sidebar-menu.ts} +19 -19
- package/src/ui/navigation/sidebar/{sd-sidebar-user.control.ts → sd-sidebar-user.ts} +14 -14
- package/src/ui/navigation/sidebar/{sd-sidebar.control.ts → sd-sidebar.ts} +4 -4
- package/src/ui/navigation/tab/{sd-tab-item.control.ts → sd-tab-item.ts} +3 -3
- package/src/ui/navigation/tab/{sd-tab.control.ts → sd-tab.ts} +1 -1
- package/src/ui/navigation/tab/{sd-tabview-item.control.ts → sd-tabview-item.ts} +4 -4
- package/src/ui/navigation/tab/{sd-tabview.control.ts → sd-tabview.ts} +6 -6
- package/src/ui/navigation/topbar/{sd-topbar-container.control.ts → sd-topbar-container.ts} +1 -1
- package/src/ui/navigation/topbar/{sd-topbar-menu.control.ts → sd-topbar-menu.ts} +26 -26
- package/src/ui/navigation/topbar/{sd-topbar-user.control.ts → sd-topbar-user.ts} +15 -15
- package/src/ui/navigation/topbar/{sd-topbar.control.ts → sd-topbar.ts} +6 -6
- package/src/ui/overlay/busy/{sd-busy-container.control.ts → sd-busy-container.ts} +3 -3
- package/src/ui/overlay/dropdown/{sd-dropdown-popup.control.ts → sd-dropdown-popup.ts} +4 -4
- package/src/ui/overlay/dropdown/{sd-dropdown.control.ts → sd-dropdown.ts} +4 -4
- package/src/ui/overlay/modal/{sd-confirm-modal.control.ts → sd-confirm-modal.ts} +5 -5
- package/src/ui/overlay/modal/sd-modal.provider.ts +18 -18
- package/src/ui/overlay/modal/{sd-modal.control.ts → sd-modal.ts} +1 -1
- package/src/ui/overlay/modal/{sd-prompt-modal.control.ts → sd-prompt-modal.ts} +6 -6
- package/src/ui/overlay/toast/{sd-toast-container.control.ts → sd-toast-container.ts} +1 -1
- package/src/ui/overlay/toast/{sd-toast.control.ts → sd-toast.ts} +3 -3
- package/src/ui/visual/{sd-barcode.control.ts → sd-barcode.ts} +3 -3
- package/src/ui/visual/{sd-calendar.control.ts → sd-calendar.ts} +4 -4
- package/src/ui/visual/{sd-echarts.control.ts → sd-echarts.ts} +1 -1
- package/src/ui/visual/{sd-label.control.ts → sd-label.ts} +1 -1
- package/src/ui/visual/{sd-note.control.ts → sd-note.ts} +1 -1
- package/src/ui/visual/{sd-progress.control.ts → sd-progress.ts} +1 -1
- package/dist/core/directives/sd-events.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-invalid.directive.d.ts +0 -8
- package/dist/core/directives/sd-invalid.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-item-of-template.directive.d.ts +0 -14
- package/dist/core/directives/sd-item-of-template.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-ripple.directive.d.ts +0 -8
- package/dist/core/directives/sd-ripple.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-router-link.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-show-effect.directive.d.ts +0 -9
- package/dist/core/directives/sd-show-effect.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-typed-template.directive.d.ts +0 -8
- package/dist/core/directives/sd-typed-template.directive.d.ts.map +0 -1
- package/dist/core/utils/TDirectiveInputSignals.d.ts.map +0 -1
- package/dist/core/utils/useCurrentPageCodeSignal.d.ts +0 -3
- package/dist/core/utils/useCurrentPageCodeSignal.d.ts.map +0 -1
- package/dist/core/utils/useFullPageCodeSignal.d.ts +0 -3
- package/dist/core/utils/useFullPageCodeSignal.d.ts.map +0 -1
- package/dist/core/utils/useSdSystemConfigResource.d.ts.map +0 -1
- package/dist/core/utils/useViewTitleSignal.d.ts +0 -3
- package/dist/core/utils/useViewTitleSignal.d.ts.map +0 -1
- package/dist/core/utils/useViewTypeSignal.d.ts +0 -4
- package/dist/core/utils/useViewTypeSignal.d.ts.map +0 -1
- package/dist/features/base/sd-base-container.control.d.ts.map +0 -1
- package/dist/features/data-view/sd-data-detail.control.d.ts +0 -73
- package/dist/features/data-view/sd-data-detail.control.d.ts.map +0 -1
- package/dist/features/data-view/sd-data-select-button.control.d.ts +0 -35
- package/dist/features/data-view/sd-data-select-button.control.d.ts.map +0 -1
- package/dist/features/data-view/sd-data-select-button.control.js +0 -219
- package/dist/features/data-view/sd-data-sheet-column.directive.d.ts +0 -8
- package/dist/features/data-view/sd-data-sheet-column.directive.d.ts.map +0 -1
- package/dist/features/data-view/sd-data-sheet.control.d.ts +0 -120
- package/dist/features/data-view/sd-data-sheet.control.d.ts.map +0 -1
- package/dist/features/data-view/useDataSheetExcelManager.d.ts.map +0 -1
- package/dist/features/data-view/useDataSheetInlineEditManager.d.ts.map +0 -1
- package/dist/features/data-view/useDataSheetModalEditManager.d.ts.map +0 -1
- package/dist/features/data-view/useDataSheetRefreshManager.d.ts.map +0 -1
- package/dist/features/permission-table/sd-permission-table.control.d.ts +0 -32
- package/dist/features/permission-table/sd-permission-table.control.d.ts.map +0 -1
- package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts +0 -16
- package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts.map +0 -1
- package/dist/features/shared-data/sd-shared-data-select-list.control.d.ts.map +0 -1
- package/dist/features/shared-data/sd-shared-data-select.control.d.ts.map +0 -1
- package/dist/ui/data/list/sd-list-item.control.d.ts +0 -20
- package/dist/ui/data/list/sd-list-item.control.d.ts.map +0 -1
- package/dist/ui/data/list/sd-list.control.d.ts +0 -7
- package/dist/ui/data/list/sd-list.control.d.ts.map +0 -1
- package/dist/ui/data/sheet/sd-sheet-column.directive.d.ts.map +0 -1
- package/dist/ui/data/sheet/sd-sheet.control.d.ts.map +0 -1
- package/dist/ui/data/sheet/useSheetColumnResizing.d.ts +0 -17
- package/dist/ui/data/sheet/useSheetColumnResizing.d.ts.map +0 -1
- package/dist/ui/data/sheet/useSheetDomAccessor.d.ts.map +0 -1
- package/dist/ui/form/button/sd-additional-button.control.d.ts +0 -8
- package/dist/ui/form/button/sd-additional-button.control.d.ts.map +0 -1
- package/dist/ui/form/button/sd-anchor.control.d.ts +0 -8
- package/dist/ui/form/button/sd-anchor.control.d.ts.map +0 -1
- package/dist/ui/form/button/sd-button.control.d.ts.map +0 -1
- package/dist/ui/form/button/sd-modal-select-button.control.d.ts +0 -38
- package/dist/ui/form/button/sd-modal-select-button.control.d.ts.map +0 -1
- package/dist/ui/form/checkbox/sd-checkbox-group-item.control.d.ts.map +0 -1
- package/dist/ui/form/checkbox/sd-checkbox-group.control.d.ts +0 -8
- package/dist/ui/form/checkbox/sd-checkbox-group.control.d.ts.map +0 -1
- package/dist/ui/form/checkbox/sd-checkbox.control.d.ts +0 -19
- package/dist/ui/form/checkbox/sd-checkbox.control.d.ts.map +0 -1
- package/dist/ui/form/checkbox/sd-switch.control.d.ts +0 -14
- package/dist/ui/form/checkbox/sd-switch.control.d.ts.map +0 -1
- package/dist/ui/form/choice/sd-state-preset.control.d.ts.map +0 -1
- package/dist/ui/form/editor/sd-tiptap-editor.control.d.ts.map +0 -1
- package/dist/ui/form/input/sd-numpad.control.d.ts.map +0 -1
- package/dist/ui/form/input/sd-range.control.d.ts +0 -13
- package/dist/ui/form/input/sd-range.control.d.ts.map +0 -1
- package/dist/ui/form/input/sd-textarea.control.d.ts +0 -23
- package/dist/ui/form/input/sd-textarea.control.d.ts.map +0 -1
- package/dist/ui/form/input/sd-textfield.control.d.ts +0 -39
- package/dist/ui/form/input/sd-textfield.control.d.ts.map +0 -1
- package/dist/ui/form/sd-form.control.d.ts.map +0 -1
- package/dist/ui/form/select/sd-select-button.control.d.ts +0 -7
- package/dist/ui/form/select/sd-select-button.control.d.ts.map +0 -1
- package/dist/ui/form/select/sd-select-item.control.d.ts +0 -18
- package/dist/ui/form/select/sd-select-item.control.d.ts.map +0 -1
- package/dist/ui/form/select/sd-select.control.d.ts.map +0 -1
- package/dist/ui/layout/dock/sd-dock-container.control.d.ts +0 -12
- package/dist/ui/layout/dock/sd-dock-container.control.d.ts.map +0 -1
- package/dist/ui/layout/dock/sd-dock.control.d.ts +0 -19
- package/dist/ui/layout/dock/sd-dock.control.d.ts.map +0 -1
- package/dist/ui/layout/kanban/sd-kanban-board.control.d.ts +0 -24
- package/dist/ui/layout/kanban/sd-kanban-board.control.d.ts.map +0 -1
- package/dist/ui/layout/kanban/sd-kanban-lane.control.d.ts.map +0 -1
- package/dist/ui/layout/kanban/sd-kanban.control.d.ts.map +0 -1
- package/dist/ui/layout/sd-card.directive.d.ts +0 -6
- package/dist/ui/layout/sd-card.directive.d.ts.map +0 -1
- package/dist/ui/layout/sd-gap.control.d.ts +0 -12
- package/dist/ui/layout/sd-gap.control.d.ts.map +0 -1
- package/dist/ui/layout/sd-pane.directive.d.ts +0 -6
- package/dist/ui/layout/sd-pane.directive.d.ts.map +0 -1
- package/dist/ui/layout/view/sd-view-item.control.d.ts +0 -9
- package/dist/ui/layout/view/sd-view-item.control.d.ts.map +0 -1
- package/dist/ui/layout/view/sd-view.control.d.ts +0 -8
- package/dist/ui/layout/view/sd-view.control.d.ts.map +0 -1
- package/dist/ui/navigation/collapse/sd-collapse-icon.control.d.ts +0 -13
- package/dist/ui/navigation/collapse/sd-collapse-icon.control.d.ts.map +0 -1
- package/dist/ui/navigation/collapse/sd-collapse.control.d.ts +0 -14
- package/dist/ui/navigation/collapse/sd-collapse.control.d.ts.map +0 -1
- package/dist/ui/navigation/pagination/sd-pagination.control.d.ts.map +0 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-container.control.d.ts.map +0 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.d.ts +0 -22
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.d.ts.map +0 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-user.control.d.ts +0 -16
- package/dist/ui/navigation/sidebar/sd-sidebar-user.control.d.ts.map +0 -1
- package/dist/ui/navigation/sidebar/sd-sidebar.control.d.ts +0 -8
- package/dist/ui/navigation/sidebar/sd-sidebar.control.d.ts.map +0 -1
- package/dist/ui/navigation/tab/sd-tab-item.control.d.ts +0 -10
- package/dist/ui/navigation/tab/sd-tab-item.control.d.ts.map +0 -1
- package/dist/ui/navigation/tab/sd-tab.control.d.ts +0 -7
- package/dist/ui/navigation/tab/sd-tab.control.d.ts.map +0 -1
- package/dist/ui/navigation/tab/sd-tabview-item.control.d.ts +0 -10
- package/dist/ui/navigation/tab/sd-tabview-item.control.d.ts.map +0 -1
- package/dist/ui/navigation/tab/sd-tabview.control.d.ts +0 -9
- package/dist/ui/navigation/tab/sd-tabview.control.d.ts.map +0 -1
- package/dist/ui/navigation/topbar/sd-topbar-container.control.d.ts +0 -6
- package/dist/ui/navigation/topbar/sd-topbar-container.control.d.ts.map +0 -1
- package/dist/ui/navigation/topbar/sd-topbar-menu.control.d.ts +0 -23
- package/dist/ui/navigation/topbar/sd-topbar-menu.control.d.ts.map +0 -1
- package/dist/ui/navigation/topbar/sd-topbar-user.control.d.ts +0 -13
- package/dist/ui/navigation/topbar/sd-topbar-user.control.d.ts.map +0 -1
- package/dist/ui/navigation/topbar/sd-topbar.control.d.ts.map +0 -1
- package/dist/ui/overlay/busy/sd-busy-container.control.d.ts +0 -14
- package/dist/ui/overlay/busy/sd-busy-container.control.d.ts.map +0 -1
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.d.ts +0 -8
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.d.ts.map +0 -1
- package/dist/ui/overlay/dropdown/sd-dropdown.control.d.ts.map +0 -1
- package/dist/ui/overlay/modal/sd-confirm-modal.control.d.ts +0 -17
- package/dist/ui/overlay/modal/sd-confirm-modal.control.d.ts.map +0 -1
- package/dist/ui/overlay/modal/sd-modal.control.d.ts.map +0 -1
- package/dist/ui/overlay/modal/sd-prompt-modal.control.d.ts +0 -19
- package/dist/ui/overlay/modal/sd-prompt-modal.control.d.ts.map +0 -1
- package/dist/ui/overlay/toast/sd-toast-container.control.d.ts +0 -7
- package/dist/ui/overlay/toast/sd-toast-container.control.d.ts.map +0 -1
- package/dist/ui/overlay/toast/sd-toast.control.d.ts +0 -14
- package/dist/ui/overlay/toast/sd-toast.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-barcode.control.d.ts +0 -11
- package/dist/ui/visual/sd-barcode.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-calendar.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-echarts.control.d.ts +0 -13
- package/dist/ui/visual/sd-echarts.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-label.control.d.ts +0 -9
- package/dist/ui/visual/sd-label.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-note.control.d.ts +0 -9
- package/dist/ui/visual/sd-note.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-progress.control.d.ts +0 -11
- package/dist/ui/visual/sd-progress.control.d.ts.map +0 -1
- package/src/features/data-view/sd-data-select-button.control.ts +0 -210
- /package/dist/core/utils/{TDirectiveInputSignals.js → directive-input-signals.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, ViewEncapsulation, } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { SdSidebarContainer } from "./sd-sidebar-container";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const _c0 = ["*"];
|
|
5
|
-
export class
|
|
6
|
-
_parentControl = inject(forwardRef(() =>
|
|
5
|
+
export class SdSidebar {
|
|
6
|
+
_parentControl = inject(forwardRef(() => SdSidebarContainer));
|
|
7
7
|
toggle = computed(() => this._parentControl.toggle(), ...(ngDevMode ? [{ debugName: "toggle" }] : /* istanbul ignore next */ []));
|
|
8
|
-
static ɵfac = function
|
|
9
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
8
|
+
static ɵfac = function SdSidebar_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdSidebar)(); };
|
|
9
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdSidebar, selectors: [["sd-sidebar"]], hostVars: 1, hostBindings: function SdSidebar_HostBindings(rf, ctx) { if (rf & 2) {
|
|
10
10
|
i0.ɵɵattribute("data-sd-toggle", ctx.toggle());
|
|
11
|
-
} }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function
|
|
11
|
+
} }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function SdSidebar_Template(rf, ctx) { if (rf & 1) {
|
|
12
12
|
i0.ɵɵprojectionDef();
|
|
13
13
|
i0.ɵɵprojection(0);
|
|
14
14
|
} }, styles: ["sd-sidebar {\n position: absolute;\n z-index: var(--z-index-sidebar);\n top: 0;\n left: 0;\n width: var(--sidebar-width);\n height: 100%;\n background: var(--control-color);\n border-right: 1px solid var(--border-color-lighter);\n}\n@media not all and (max-width: 520px) {\n sd-sidebar {\n transition: transform 0.1s ease-out;\n }\n sd-sidebar[data-sd-toggle=true] {\n transform: translateX(-100%);\n transition: transform 0.1s ease-in;\n }\n}\n@media all and (max-width: 520px) {\n sd-sidebar {\n transition: transform 0.3s ease-in;\n transform: translateX(-100%);\n }\n sd-sidebar[data-sd-toggle=true] {\n transform: none;\n transition: transform 0.3s ease-out;\n box-shadow: 0 calc(16 * var(--elevation-size)) calc(16 * 4 * var(--elevation-size)) var(--trans-lighter), 0 var(--elevation-size) var(--elevation-size) var(--trans-lighter);\n }\n}"], encapsulation: 2, changeDetection: 0 });
|
|
15
15
|
}
|
|
16
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
16
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdSidebar, [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{ selector: "sd-sidebar", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [], host: {
|
|
19
19
|
"[attr.data-sd-toggle]": "toggle()",
|
|
@@ -21,4 +21,4 @@ export class SdSidebarControl {
|
|
|
21
21
|
<ng-content />
|
|
22
22
|
`, styles: ["sd-sidebar {\n position: absolute;\n z-index: var(--z-index-sidebar);\n top: 0;\n left: 0;\n width: var(--sidebar-width);\n height: 100%;\n background: var(--control-color);\n border-right: 1px solid var(--border-color-lighter);\n}\n@media not all and (max-width: 520px) {\n sd-sidebar {\n transition: transform 0.1s ease-out;\n }\n sd-sidebar[data-sd-toggle=true] {\n transform: translateX(-100%);\n transition: transform 0.1s ease-in;\n }\n}\n@media all and (max-width: 520px) {\n sd-sidebar {\n transition: transform 0.3s ease-in;\n transform: translateX(-100%);\n }\n sd-sidebar[data-sd-toggle=true] {\n transform: none;\n transition: transform 0.3s ease-out;\n box-shadow: 0 calc(16 * var(--elevation-size)) calc(16 * 4 * var(--elevation-size)) var(--trans-lighter), 0 var(--elevation-size) var(--elevation-size) var(--trans-lighter);\n }\n}"] }]
|
|
23
23
|
}], null, null); })();
|
|
24
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
24
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSidebar, { className: "SdSidebar", filePath: "packages/angular/src/ui/navigation/sidebar/sd-sidebar.ts", lineNumber: 61, forbidOrphanRendering: true }); })();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SdTabItem {
|
|
3
|
+
private readonly _parentControl;
|
|
4
|
+
value: import("@angular/core").InputSignal<any>;
|
|
5
|
+
isSelected: import("@angular/core").Signal<boolean>;
|
|
6
|
+
onClick(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdTabItem, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdTabItem, "sd-tab-item", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=sd-tab-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sd-tab-item.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/tab/sd-tab-item.ts"],"names":[],"mappings":";AAWA,qBAiCa,SAAS;IACpB,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA0C;IAEzE,KAAK,2CAAgB;IAErB,UAAU,0CAAgE;IAE1E,OAAO;yCAPI,SAAS;2CAAT,SAAS;CAUrB"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, ViewEncapsulation, } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { SdTab } from "./sd-tab";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const _c0 = ["*"];
|
|
5
|
-
export class
|
|
6
|
-
_parentControl = inject(forwardRef(() =>
|
|
5
|
+
export class SdTabItem {
|
|
6
|
+
_parentControl = inject(forwardRef(() => SdTab));
|
|
7
7
|
value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
8
8
|
isSelected = computed(() => this._parentControl.value() === this.value(), ...(ngDevMode ? [{ debugName: "isSelected" }] : /* istanbul ignore next */ []));
|
|
9
9
|
onClick() {
|
|
10
10
|
this._parentControl.value.set(this.value());
|
|
11
11
|
}
|
|
12
|
-
static ɵfac = function
|
|
13
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
14
|
-
i0.ɵɵlistener("click", function
|
|
12
|
+
static ɵfac = function SdTabItem_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdTabItem)(); };
|
|
13
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdTabItem, selectors: [["sd-tab-item"]], hostVars: 1, hostBindings: function SdTabItem_HostBindings(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵlistener("click", function SdTabItem_click_HostBindingHandler() { return ctx.onClick(); });
|
|
15
15
|
} if (rf & 2) {
|
|
16
16
|
i0.ɵɵattribute("data-sd-selected", ctx.isSelected());
|
|
17
|
-
} }, inputs: { value: [1, "value"] }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function
|
|
17
|
+
} }, inputs: { value: [1, "value"] }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function SdTabItem_Template(rf, ctx) { if (rf & 1) {
|
|
18
18
|
i0.ɵɵprojectionDef();
|
|
19
19
|
i0.ɵɵprojection(0);
|
|
20
20
|
} }, styles: ["sd-tab-item {\n display: inline-block;\n padding: var(--gap-sm) var(--gap-default);\n cursor: pointer;\n margin-bottom: -2px;\n border-bottom: 2px solid transparent !important;\n font-weight: bold;\n color: var(--theme-gray-default);\n}\nsd-tab-item[data-sd-selected=true] {\n border-bottom: 3px solid var(--theme-primary-default) !important;\n color: var(--theme-primary-default);\n}"], encapsulation: 2, changeDetection: 0 });
|
|
21
21
|
}
|
|
22
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
22
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdTabItem, [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: "sd-tab-item", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [], host: {
|
|
25
25
|
"[attr.data-sd-selected]": "isSelected()",
|
|
@@ -28,4 +28,4 @@ export class SdTabItemControl {
|
|
|
28
28
|
<ng-content></ng-content>
|
|
29
29
|
`, styles: ["sd-tab-item {\n display: inline-block;\n padding: var(--gap-sm) var(--gap-default);\n cursor: pointer;\n margin-bottom: -2px;\n border-bottom: 2px solid transparent !important;\n font-weight: bold;\n color: var(--theme-gray-default);\n}\nsd-tab-item[data-sd-selected=true] {\n border-bottom: 3px solid var(--theme-primary-default) !important;\n color: var(--theme-primary-default);\n}"] }]
|
|
30
30
|
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] }); })();
|
|
31
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
31
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTabItem, { className: "SdTabItem", filePath: "packages/angular/src/ui/navigation/tab/sd-tab-item.ts", lineNumber: 45, forbidOrphanRendering: true }); })();
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SdTab {
|
|
3
|
+
value: import("@angular/core").ModelSignal<any>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdTab, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdTab, "sd-tab", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=sd-tab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sd-tab.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/tab/sd-tab.ts"],"names":[],"mappings":";AAEA,qBAoBa,KAAK;IAChB,KAAK,2CAAgB;yCADV,KAAK;2CAAL,KAAK;CAEjB"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, model, ViewEncapsulation } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
const _c0 = ["*"];
|
|
4
|
-
export class
|
|
4
|
+
export class SdTab {
|
|
5
5
|
value = model(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
6
|
-
static ɵfac = function
|
|
7
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
6
|
+
static ɵfac = function SdTab_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdTab)(); };
|
|
7
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdTab, selectors: [["sd-tab"]], inputs: { value: [1, "value"] }, outputs: { value: "valueChange" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function SdTab_Template(rf, ctx) { if (rf & 1) {
|
|
8
8
|
i0.ɵɵprojectionDef();
|
|
9
9
|
i0.ɵɵprojection(0);
|
|
10
10
|
} }, styles: ["sd-tab {\n display: block;\n border-bottom: 2px solid var(--theme-gray-lighter);\n padding: 0 calc(var(--gap-default) + 1px) 0 calc(var(--gap-default) - 1px);\n}"], encapsulation: 2, changeDetection: 0 });
|
|
11
11
|
}
|
|
12
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
12
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdTab, [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{ selector: "sd-tab", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [], template: `
|
|
15
15
|
<ng-content></ng-content>
|
|
16
16
|
`, styles: ["sd-tab {\n display: block;\n border-bottom: 2px solid var(--theme-gray-lighter);\n padding: 0 calc(var(--gap-default) + 1px) 0 calc(var(--gap-default) - 1px);\n}"] }]
|
|
17
17
|
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }] }); })();
|
|
18
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
18
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTab, { className: "SdTab", filePath: "packages/angular/src/ui/navigation/tab/sd-tab.ts", lineNumber: 23, forbidOrphanRendering: true }); })();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SdTabviewItem<T> {
|
|
3
|
+
value: import("@angular/core").InputSignal<T>;
|
|
4
|
+
header: import("@angular/core").InputSignal<string | undefined>;
|
|
5
|
+
private readonly _parentControl;
|
|
6
|
+
isSelected: import("@angular/core").Signal<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdTabviewItem<any>, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdTabviewItem<any>, "sd-tabview-item", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=sd-tabview-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sd-tabview-item.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/tab/sd-tabview-item.ts"],"names":[],"mappings":";AAWA,qBA2Ba,aAAa,CAAC,CAAC;IAC1B,KAAK,yCAAuB;IAC5B,MAAM,0DAAmB;IAEzB,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IAEF,UAAU,0CAAgE;yCAR/D,aAAa;2CAAb,aAAa;CASzB"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, ViewEncapsulation, } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { SdTabview } from "./sd-tabview";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const _c0 = ["*"];
|
|
5
|
-
export class
|
|
5
|
+
export class SdTabviewItem {
|
|
6
6
|
value = input.required(...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
7
7
|
header = input(...(ngDevMode ? [undefined, { debugName: "header" }] : /* istanbul ignore next */ []));
|
|
8
|
-
_parentControl = inject(forwardRef(() =>
|
|
8
|
+
_parentControl = inject(forwardRef(() => SdTabview));
|
|
9
9
|
isSelected = computed(() => this._parentControl.value() === this.value(), ...(ngDevMode ? [{ debugName: "isSelected" }] : /* istanbul ignore next */ []));
|
|
10
|
-
static ɵfac = function
|
|
11
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
10
|
+
static ɵfac = function SdTabviewItem_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdTabviewItem)(); };
|
|
11
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdTabviewItem, selectors: [["sd-tabview-item"]], hostVars: 1, hostBindings: function SdTabviewItem_HostBindings(rf, ctx) { if (rf & 2) {
|
|
12
12
|
i0.ɵɵattribute("data-sd-selected", ctx.isSelected());
|
|
13
|
-
} }, inputs: { value: [1, "value"], header: [1, "header"] }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function
|
|
13
|
+
} }, inputs: { value: [1, "value"], header: [1, "header"] }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function SdTabviewItem_Template(rf, ctx) { if (rf & 1) {
|
|
14
14
|
i0.ɵɵprojectionDef();
|
|
15
15
|
i0.ɵɵprojection(0);
|
|
16
16
|
} }, styles: ["sd-tabview-item {\n display: none;\n width: 100%;\n height: 100%;\n overflow: auto;\n}\nsd-tabview-item[data-sd-selected=true] {\n display: block;\n}"], encapsulation: 2, changeDetection: 0 });
|
|
17
17
|
}
|
|
18
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
18
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdTabviewItem, [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: "sd-tabview-item", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [], template: `
|
|
21
21
|
<ng-content></ng-content>
|
|
@@ -23,4 +23,4 @@ export class SdTabviewItemControl {
|
|
|
23
23
|
"[attr.data-sd-selected]": "isSelected()",
|
|
24
24
|
}, styles: ["sd-tabview-item {\n display: none;\n width: 100%;\n height: 100%;\n overflow: auto;\n}\nsd-tabview-item[data-sd-selected=true] {\n display: block;\n}"] }]
|
|
25
25
|
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }] }); })();
|
|
26
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
26
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTabviewItem, { className: "SdTabviewItem", filePath: "packages/angular/src/ui/navigation/tab/sd-tabview-item.ts", lineNumber: 39, forbidOrphanRendering: true }); })();
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SdTabviewItem } from "./sd-tabview-item";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdTabview<T> {
|
|
4
|
+
value: import("@angular/core").ModelSignal<T | undefined>;
|
|
5
|
+
itemControls: import("@angular/core").Signal<readonly SdTabviewItem<T>[]>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdTabview<any>, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdTabview<any>, "sd-tabview", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["itemControls"], ["*"], true, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=sd-tabview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sd-tabview.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/tab/sd-tabview.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;;AAElD,qBAuBa,SAAS,CAAC,CAAC;IACtB,KAAK,qDAAc;IAEnB,YAAY,8DAAoD;yCAHrD,SAAS;2CAAT,SAAS;CAIrB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, contentChildren, model, ViewEncapsulation, } from "@angular/core";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { SdTabItem } from "./sd-tab-item";
|
|
3
|
+
import { SdTab } from "./sd-tab";
|
|
4
|
+
import { SdTabviewItem } from "./sd-tabview-item";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
const _c0 = ["*"];
|
|
7
7
|
const _forTrack0 = ($index, $item) => $item.value();
|
|
8
|
-
function
|
|
8
|
+
function SdTabview_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
9
9
|
i0.ɵɵelementStart(0, "sd-tab-item", 1);
|
|
10
10
|
i0.ɵɵtext(1);
|
|
11
11
|
i0.ɵɵelementEnd();
|
|
@@ -15,19 +15,19 @@ function SdTabviewControl_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
15
15
|
i0.ɵɵadvance();
|
|
16
16
|
i0.ɵɵtextInterpolate1(" ", itemControl_r1.header() || itemControl_r1.value(), " ");
|
|
17
17
|
} }
|
|
18
|
-
export class
|
|
18
|
+
export class SdTabview {
|
|
19
19
|
value = model(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
20
|
-
itemControls = contentChildren(
|
|
21
|
-
static ɵfac = function
|
|
22
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
23
|
-
i0.ɵɵcontentQuerySignal(dirIndex, ctx.itemControls,
|
|
20
|
+
itemControls = contentChildren(SdTabviewItem, ...(ngDevMode ? [{ debugName: "itemControls" }] : /* istanbul ignore next */ []));
|
|
21
|
+
static ɵfac = function SdTabview_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdTabview)(); };
|
|
22
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdTabview, selectors: [["sd-tabview"]], contentQueries: function SdTabview_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵcontentQuerySignal(dirIndex, ctx.itemControls, SdTabviewItem, 4);
|
|
24
24
|
} if (rf & 2) {
|
|
25
25
|
i0.ɵɵqueryAdvance();
|
|
26
|
-
} }, hostAttrs: [1, "flex-column", "fill"], inputs: { value: [1, "value"] }, outputs: { value: "valueChange" }, ngContentSelectors: _c0, decls: 5, vars: 1, consts: [[3, "valueChange", "value"], [3, "value"], [1, "flex-fill"]], template: function
|
|
26
|
+
} }, hostAttrs: [1, "flex-column", "fill"], inputs: { value: [1, "value"] }, outputs: { value: "valueChange" }, ngContentSelectors: _c0, decls: 5, vars: 1, consts: [[3, "valueChange", "value"], [3, "value"], [1, "flex-fill"]], template: function SdTabview_Template(rf, ctx) { if (rf & 1) {
|
|
27
27
|
i0.ɵɵprojectionDef();
|
|
28
28
|
i0.ɵɵelementStart(0, "sd-tab", 0);
|
|
29
|
-
i0.ɵɵtwoWayListener("valueChange", function
|
|
30
|
-
i0.ɵɵrepeaterCreate(1,
|
|
29
|
+
i0.ɵɵtwoWayListener("valueChange", function SdTabview_Template_sd_tab_valueChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.value, $event) || (ctx.value = $event); return $event; });
|
|
30
|
+
i0.ɵɵrepeaterCreate(1, SdTabview_For_2_Template, 2, 2, "sd-tab-item", 1, _forTrack0);
|
|
31
31
|
i0.ɵɵelementEnd();
|
|
32
32
|
i0.ɵɵelementStart(3, "div", 2);
|
|
33
33
|
i0.ɵɵprojection(4);
|
|
@@ -36,16 +36,16 @@ export class SdTabviewControl {
|
|
|
36
36
|
i0.ɵɵtwoWayProperty("value", ctx.value);
|
|
37
37
|
i0.ɵɵadvance();
|
|
38
38
|
i0.ɵɵrepeater(ctx.itemControls());
|
|
39
|
-
} }, dependencies: [
|
|
39
|
+
} }, dependencies: [SdTab, SdTabItem], encapsulation: 2, changeDetection: 0 });
|
|
40
40
|
}
|
|
41
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
41
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdTabview, [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{
|
|
44
44
|
selector: "sd-tabview",
|
|
45
45
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
46
46
|
encapsulation: ViewEncapsulation.None,
|
|
47
47
|
standalone: true,
|
|
48
|
-
imports: [
|
|
48
|
+
imports: [SdTab, SdTabItem],
|
|
49
49
|
host: {
|
|
50
50
|
class: "flex-column fill",
|
|
51
51
|
},
|
|
@@ -63,5 +63,5 @@ export class SdTabviewControl {
|
|
|
63
63
|
</div>
|
|
64
64
|
`,
|
|
65
65
|
}]
|
|
66
|
-
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], itemControls: [{ type: i0.ContentChildren, args: [i0.forwardRef(() =>
|
|
67
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
66
|
+
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], itemControls: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => SdTabviewItem), { isSignal: true }] }] }); })();
|
|
67
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTabview, { className: "SdTabview", filePath: "packages/angular/src/ui/navigation/tab/sd-tabview.ts", lineNumber: 35, forbidOrphanRendering: true }); })();
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SdTopbarContainer {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdTopbarContainer, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdTopbarContainer, "sd-topbar-container", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=sd-topbar-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sd-topbar-container.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/topbar/sd-topbar-container.ts"],"names":[],"mappings":";AAEA,qBAmBa,iBAAiB;yCAAjB,iBAAiB;2CAAjB,iBAAiB;CAAG"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
const _c0 = ["*"];
|
|
4
|
-
export class
|
|
5
|
-
static ɵfac = function
|
|
6
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
4
|
+
export class SdTopbarContainer {
|
|
5
|
+
static ɵfac = function SdTopbarContainer_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdTopbarContainer)(); };
|
|
6
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdTopbarContainer, selectors: [["sd-topbar-container"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function SdTopbarContainer_Template(rf, ctx) { if (rf & 1) {
|
|
7
7
|
i0.ɵɵprojectionDef();
|
|
8
8
|
i0.ɵɵprojection(0);
|
|
9
9
|
} }, styles: ["sd-topbar-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n}"], encapsulation: 2, changeDetection: 0 });
|
|
10
10
|
}
|
|
11
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
11
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdTopbarContainer, [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: "sd-topbar-container", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [], template: `
|
|
14
14
|
<ng-content />
|
|
15
15
|
`, styles: ["sd-topbar-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n}"] }]
|
|
16
16
|
}], null, null); })();
|
|
17
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
17
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTopbarContainer, { className: "SdTopbarContainer", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar-container.ts", lineNumber: 22, forbidOrphanRendering: true }); })();
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type SdMenu } from "../menu-utils";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdTopbarMenu {
|
|
4
|
+
menus: import("@angular/core").InputSignal<SdMenu[]>;
|
|
5
|
+
getMenuIsSelectedFn: import("@angular/core").InputSignal<((menu: SdMenu) => boolean) | undefined>;
|
|
6
|
+
fullPageCode: import("@angular/core").Signal<string>;
|
|
7
|
+
private readonly _dropdowns;
|
|
8
|
+
getMenuRouterLinkOption(menu: SdMenu): {
|
|
9
|
+
link: string;
|
|
10
|
+
queryParams: Record<string, string> | undefined;
|
|
11
|
+
} | undefined;
|
|
12
|
+
getIsMenuSelected(menu: SdMenu): boolean;
|
|
13
|
+
onMenuClick(menu: SdMenu, dropdownIndex: number): void;
|
|
14
|
+
protected readonly itemTemplateType: {
|
|
15
|
+
menus: SdMenu[];
|
|
16
|
+
depth: number;
|
|
17
|
+
dropdownIndex: number;
|
|
18
|
+
};
|
|
19
|
+
protected readonly tablerCaretDown = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"stroke-width:var(--ng-icon__stroke-width, 2)\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"></path><path d=\"M6 10l6 6l6 -6h-12\"></path></svg>";
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdTopbarMenu, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdTopbarMenu, "sd-topbar-menu", never, { "menus": { "alias": "menus"; "required": false; "isSignal": true; }; "getMenuIsSelectedFn": { "alias": "getMenuIsSelectedFn"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=sd-topbar-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sd-topbar-menu.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/topbar/sd-topbar-menu.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,eAAe,CAAC;;AAYvB,qBAkGa,YAAY;IACvB,KAAK,gDAAuB;IAC5B,mBAAmB,8CAAgB,MAAM,KAAK,OAAO,eAAI;IAEzD,YAAY,yCAA8B;IAE1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4B;IAEvD,uBAAuB,CACrB,IAAI,EAAE,MAAM,GACX;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAA;KAAE,GAAG,SAAS;IAIhF,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIxC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAUtD,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAG;QACpC,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IAEF,SAAS,CAAC,QAAQ,CAAC,eAAe,iUAAmB;yCAlC1C,YAAY;2CAAZ,YAAY;CAmCxB"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, input, viewChildren, ViewEncapsulation, } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { injectFullPageCodeSignal } from "../../../core/utils/injectFullPageCodeSignal";
|
|
3
3
|
import { getMenuRouterLinkOption as menuRouterLinkOption, getIsMenuSelected as menuIsSelected, } from "../menu-utils";
|
|
4
4
|
import { NgTemplateOutlet } from "@angular/common";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
5
|
+
import { SdTypedTemplate } from "../../../core/directives/sd-typed-template";
|
|
6
|
+
import { SdRouterLink } from "../../../core/directives/sd-router-link";
|
|
7
|
+
import { SdDropdown } from "../../overlay/dropdown/sd-dropdown";
|
|
8
|
+
import { SdDropdownPopup } from "../../overlay/dropdown/sd-dropdown-popup";
|
|
9
|
+
import { SdList } from "../../data/list/sd-list";
|
|
10
|
+
import { SdListItem } from "../../data/list/sd-list-item";
|
|
11
|
+
import { SdButton } from "../../form/button/sd-button";
|
|
12
12
|
import { NgIcon } from "@ng-icons/core";
|
|
13
13
|
import { tablerCaretDown } from "@ng-icons/tabler-icons";
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
@@ -16,15 +16,15 @@ const _c0 = (a0, a1) => ({ menus: a0, depth: 0, dropdownIndex: a1 });
|
|
|
16
16
|
const _c1 = a0 => [a0];
|
|
17
17
|
const _c2 = (a0, a1, a2) => ({ menus: a0, depth: a1, dropdownIndex: a2 });
|
|
18
18
|
const _forTrack0 = ($index, $item) => $item.codeChain.join(".");
|
|
19
|
-
function
|
|
19
|
+
function SdTopbarMenu_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
20
20
|
i0.ɵɵelement(0, "ng-icon", 3);
|
|
21
21
|
} if (rf & 2) {
|
|
22
22
|
const menu_r1 = i0.ɵɵnextContext().$implicit;
|
|
23
23
|
i0.ɵɵproperty("svg", menu_r1.icon);
|
|
24
24
|
} }
|
|
25
|
-
function
|
|
26
|
-
function
|
|
27
|
-
i0.ɵɵtemplate(0,
|
|
25
|
+
function SdTopbarMenu_For_1_Conditional_7_ng_template_0_Template(rf, ctx) { }
|
|
26
|
+
function SdTopbarMenu_For_1_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵtemplate(0, SdTopbarMenu_For_1_Conditional_7_ng_template_0_Template, 0, 0, "ng-template", 5);
|
|
28
28
|
} if (rf & 2) {
|
|
29
29
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
30
30
|
const menu_r1 = ctx_r1.$implicit;
|
|
@@ -33,9 +33,9 @@ function SdTopbarMenuControl_For_1_Conditional_7_Template(rf, ctx) { if (rf & 1)
|
|
|
33
33
|
const itemTpl_r4 = i0.ɵɵreference(3);
|
|
34
34
|
i0.ɵɵproperty("ngTemplateOutlet", itemTpl_r4)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c0, menu_r1.children, ɵ$index_1_r3));
|
|
35
35
|
} }
|
|
36
|
-
function
|
|
37
|
-
function
|
|
38
|
-
i0.ɵɵtemplate(0,
|
|
36
|
+
function SdTopbarMenu_For_1_Conditional_8_ng_template_0_Template(rf, ctx) { }
|
|
37
|
+
function SdTopbarMenu_For_1_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵtemplate(0, SdTopbarMenu_For_1_Conditional_8_ng_template_0_Template, 0, 0, "ng-template", 5);
|
|
39
39
|
} if (rf & 2) {
|
|
40
40
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
41
41
|
const menu_r1 = ctx_r1.$implicit;
|
|
@@ -44,14 +44,14 @@ function SdTopbarMenuControl_For_1_Conditional_8_Template(rf, ctx) { if (rf & 1)
|
|
|
44
44
|
const itemTpl_r4 = i0.ɵɵreference(3);
|
|
45
45
|
i0.ɵɵproperty("ngTemplateOutlet", itemTpl_r4)("ngTemplateOutletContext", i0.ɵɵpureFunction2(4, _c0, i0.ɵɵpureFunction1(2, _c1, menu_r1), ɵ$index_1_r3));
|
|
46
46
|
} }
|
|
47
|
-
function
|
|
47
|
+
function SdTopbarMenu_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
48
48
|
i0.ɵɵelementStart(0, "sd-dropdown")(1, "sd-button", 2);
|
|
49
|
-
i0.ɵɵconditionalCreate(2,
|
|
49
|
+
i0.ɵɵconditionalCreate(2, SdTopbarMenu_For_1_Conditional_2_Template, 1, 1, "ng-icon", 3);
|
|
50
50
|
i0.ɵɵtext(3);
|
|
51
51
|
i0.ɵɵelement(4, "ng-icon", 3);
|
|
52
52
|
i0.ɵɵelementEnd();
|
|
53
53
|
i0.ɵɵelementStart(5, "sd-dropdown-popup")(6, "sd-list", 4);
|
|
54
|
-
i0.ɵɵconditionalCreate(7,
|
|
54
|
+
i0.ɵɵconditionalCreate(7, SdTopbarMenu_For_1_Conditional_7_Template, 1, 5, null, 5)(8, SdTopbarMenu_For_1_Conditional_8_Template, 1, 7, null, 5);
|
|
55
55
|
i0.ɵɵelementEnd()()();
|
|
56
56
|
} if (rf & 2) {
|
|
57
57
|
const menu_r1 = ctx.$implicit;
|
|
@@ -69,17 +69,17 @@ function SdTopbarMenuControl_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
69
69
|
i0.ɵɵadvance();
|
|
70
70
|
i0.ɵɵconditional(menu_r1.children ? 7 : 8);
|
|
71
71
|
} }
|
|
72
|
-
function
|
|
72
|
+
function SdTopbarMenu_ng_template_2_For_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
73
73
|
i0.ɵɵelement(0, "ng-icon", 3);
|
|
74
74
|
i0.ɵɵtext(1, " \u00A0 ");
|
|
75
75
|
} if (rf & 2) {
|
|
76
76
|
const menu_r7 = i0.ɵɵnextContext().$implicit;
|
|
77
77
|
i0.ɵɵproperty("svg", menu_r7.icon);
|
|
78
78
|
} }
|
|
79
|
-
function
|
|
80
|
-
function
|
|
79
|
+
function SdTopbarMenu_ng_template_2_For_1_Conditional_3_ng_template_1_Template(rf, ctx) { }
|
|
80
|
+
function SdTopbarMenu_ng_template_2_For_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
81
81
|
i0.ɵɵelementStart(0, "sd-list", 4);
|
|
82
|
-
i0.ɵɵtemplate(1,
|
|
82
|
+
i0.ɵɵtemplate(1, SdTopbarMenu_ng_template_2_For_1_Conditional_3_ng_template_1_Template, 0, 0, "ng-template", 5);
|
|
83
83
|
i0.ɵɵelementEnd();
|
|
84
84
|
} if (rf & 2) {
|
|
85
85
|
const menu_r7 = i0.ɵɵnextContext().$implicit;
|
|
@@ -92,20 +92,20 @@ function SdTopbarMenuControl_ng_template_2_For_1_Conditional_3_Template(rf, ctx)
|
|
|
92
92
|
i0.ɵɵadvance();
|
|
93
93
|
i0.ɵɵproperty("ngTemplateOutlet", itemTpl_r4)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c2, menu_r7.children, depth_r10 + 1, dropdownIndex_r8));
|
|
94
94
|
} }
|
|
95
|
-
function
|
|
95
|
+
function SdTopbarMenu_ng_template_2_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
96
96
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
97
97
|
i0.ɵɵelementStart(0, "sd-list-item", 7);
|
|
98
|
-
i0.ɵɵlistener("click", function
|
|
99
|
-
i0.ɵɵconditionalCreate(1,
|
|
98
|
+
i0.ɵɵlistener("click", function SdTopbarMenu_ng_template_2_For_1_Template_sd_list_item_click_0_listener() { const menu_r7 = i0.ɵɵrestoreView(_r6).$implicit; const dropdownIndex_r8 = i0.ɵɵnextContext().dropdownIndex; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onMenuClick(menu_r7, dropdownIndex_r8)); });
|
|
99
|
+
i0.ɵɵconditionalCreate(1, SdTopbarMenu_ng_template_2_For_1_Conditional_1_Template, 2, 1);
|
|
100
100
|
i0.ɵɵtext(2);
|
|
101
|
-
i0.ɵɵconditionalCreate(3,
|
|
101
|
+
i0.ɵɵconditionalCreate(3, SdTopbarMenu_ng_template_2_For_1_Conditional_3_Template, 2, 7, "sd-list", 4);
|
|
102
102
|
i0.ɵɵelementEnd();
|
|
103
103
|
} if (rf & 2) {
|
|
104
104
|
const menu_r7 = ctx.$implicit;
|
|
105
105
|
const depth_r10 = i0.ɵɵnextContext().depth;
|
|
106
106
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
107
107
|
i0.ɵɵstyleProp("padding-left", depth_r10 > 0 ? (depth_r10 + 1) * 0.5 : undefined, "em")("padding-block", depth_r10 === 0 ? "var(--gap-default)" : undefined);
|
|
108
|
-
i0.ɵɵproperty("
|
|
108
|
+
i0.ɵɵproperty("sdRouterLink", ctx_r4.getMenuRouterLinkOption(menu_r7))("selected", ctx_r4.getIsMenuSelected(menu_r7))("open", true);
|
|
109
109
|
i0.ɵɵadvance();
|
|
110
110
|
i0.ɵɵconditional(menu_r7.icon ? 1 : -1);
|
|
111
111
|
i0.ɵɵadvance();
|
|
@@ -113,17 +113,17 @@ function SdTopbarMenuControl_ng_template_2_For_1_Template(rf, ctx) { if (rf & 1)
|
|
|
113
113
|
i0.ɵɵadvance();
|
|
114
114
|
i0.ɵɵconditional(menu_r7.children ? 3 : -1);
|
|
115
115
|
} }
|
|
116
|
-
function
|
|
117
|
-
i0.ɵɵrepeaterCreate(0,
|
|
116
|
+
function SdTopbarMenu_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
117
|
+
i0.ɵɵrepeaterCreate(0, SdTopbarMenu_ng_template_2_For_1_Template, 4, 10, "sd-list-item", 6, _forTrack0);
|
|
118
118
|
} if (rf & 2) {
|
|
119
119
|
const currMenus_r11 = ctx.menus;
|
|
120
120
|
i0.ɵɵrepeater(currMenus_r11);
|
|
121
121
|
} }
|
|
122
|
-
export class
|
|
122
|
+
export class SdTopbarMenu {
|
|
123
123
|
menus = input([], ...(ngDevMode ? [{ debugName: "menus" }] : /* istanbul ignore next */ []));
|
|
124
124
|
getMenuIsSelectedFn = input(...(ngDevMode ? [undefined, { debugName: "getMenuIsSelectedFn" }] : /* istanbul ignore next */ []));
|
|
125
|
-
fullPageCode =
|
|
126
|
-
_dropdowns = viewChildren(
|
|
125
|
+
fullPageCode = injectFullPageCodeSignal();
|
|
126
|
+
_dropdowns = viewChildren(SdDropdown, ...(ngDevMode ? [{ debugName: "_dropdowns" }] : /* istanbul ignore next */ []));
|
|
127
127
|
getMenuRouterLinkOption(menu) {
|
|
128
128
|
return menuRouterLinkOption(menu);
|
|
129
129
|
}
|
|
@@ -140,39 +140,39 @@ export class SdTopbarMenuControl {
|
|
|
140
140
|
}
|
|
141
141
|
itemTemplateType;
|
|
142
142
|
tablerCaretDown = tablerCaretDown;
|
|
143
|
-
static ɵfac = function
|
|
144
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
145
|
-
i0.ɵɵviewQuerySignal(ctx._dropdowns,
|
|
143
|
+
static ɵfac = function SdTopbarMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdTopbarMenu)(); };
|
|
144
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdTopbarMenu, selectors: [["sd-topbar-menu"]], viewQuery: function SdTopbarMenu_Query(rf, ctx) { if (rf & 1) {
|
|
145
|
+
i0.ɵɵviewQuerySignal(ctx._dropdowns, SdDropdown, 5);
|
|
146
146
|
} if (rf & 2) {
|
|
147
147
|
i0.ɵɵqueryAdvance();
|
|
148
|
-
} }, hostAttrs: [1, "flex-row", "gap-sm"], inputs: { menus: [1, "menus"], getMenuIsSelectedFn: [1, "getMenuIsSelectedFn"] }, decls: 4, vars: 1, consts: [["itemTpl", ""], [3, "typed"], [3, "theme"], [3, "svg"], [3, "inset"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "padding-left", "padding-block", "
|
|
149
|
-
i0.ɵɵrepeaterCreate(0,
|
|
150
|
-
i0.ɵɵtemplate(2,
|
|
148
|
+
} }, hostAttrs: [1, "flex-row", "gap-sm"], inputs: { menus: [1, "menus"], getMenuIsSelectedFn: [1, "getMenuIsSelectedFn"] }, decls: 4, vars: 1, consts: [["itemTpl", ""], [3, "typed"], [3, "theme"], [3, "svg"], [3, "inset"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "padding-left", "padding-block", "sdRouterLink", "selected", "open"], [3, "click", "sdRouterLink", "selected", "open"]], template: function SdTopbarMenu_Template(rf, ctx) { if (rf & 1) {
|
|
149
|
+
i0.ɵɵrepeaterCreate(0, SdTopbarMenu_For_1_Template, 9, 6, "sd-dropdown", null, _forTrack0);
|
|
150
|
+
i0.ɵɵtemplate(2, SdTopbarMenu_ng_template_2_Template, 2, 0, "ng-template", 1, 0, i0.ɵɵtemplateRefExtractor);
|
|
151
151
|
} if (rf & 2) {
|
|
152
152
|
i0.ɵɵrepeater(ctx.menus());
|
|
153
153
|
i0.ɵɵadvance(2);
|
|
154
154
|
i0.ɵɵproperty("typed", ctx.itemTemplateType);
|
|
155
155
|
} }, dependencies: [NgTemplateOutlet,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
156
|
+
SdTypedTemplate,
|
|
157
|
+
SdRouterLink,
|
|
158
|
+
SdDropdown,
|
|
159
|
+
SdDropdownPopup,
|
|
160
|
+
SdList,
|
|
161
|
+
SdListItem,
|
|
162
|
+
SdButton,
|
|
163
163
|
NgIcon], styles: ["sd-topbar-menu sd-dropdown-popup sd-list[data-sd-inset=true] sd-list {\n background: var(--trans-lightest);\n}"], encapsulation: 2, changeDetection: 0 });
|
|
164
164
|
}
|
|
165
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
165
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdTopbarMenu, [{
|
|
166
166
|
type: Component,
|
|
167
167
|
args: [{ selector: "sd-topbar-menu", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [
|
|
168
168
|
NgTemplateOutlet,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
169
|
+
SdTypedTemplate,
|
|
170
|
+
SdRouterLink,
|
|
171
|
+
SdDropdown,
|
|
172
|
+
SdDropdownPopup,
|
|
173
|
+
SdList,
|
|
174
|
+
SdListItem,
|
|
175
|
+
SdButton,
|
|
176
176
|
NgIcon,
|
|
177
177
|
], host: {
|
|
178
178
|
"class": "flex-row gap-sm",
|
|
@@ -215,7 +215,7 @@ export class SdTopbarMenuControl {
|
|
|
215
215
|
<sd-list-item
|
|
216
216
|
[style.padding-left.em]="depth > 0 ? (depth + 1) * 0.5 : undefined"
|
|
217
217
|
[style.padding-block]="depth === 0 ? 'var(--gap-default)' : undefined"
|
|
218
|
-
[
|
|
218
|
+
[sdRouterLink]="getMenuRouterLinkOption(menu)"
|
|
219
219
|
(click)="onMenuClick(menu, dropdownIndex)"
|
|
220
220
|
[selected]="getIsMenuSelected(menu)"
|
|
221
221
|
[open]="true"
|
|
@@ -241,5 +241,5 @@ export class SdTopbarMenuControl {
|
|
|
241
241
|
}
|
|
242
242
|
</ng-template>
|
|
243
243
|
`, styles: ["sd-topbar-menu sd-dropdown-popup sd-list[data-sd-inset=true] sd-list {\n background: var(--trans-lightest);\n}"] }]
|
|
244
|
-
}], null, { menus: [{ type: i0.Input, args: [{ isSignal: true, alias: "menus", required: false }] }], getMenuIsSelectedFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "getMenuIsSelectedFn", required: false }] }], _dropdowns: [{ type: i0.ViewChildren, args: [i0.forwardRef(() =>
|
|
245
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
244
|
+
}], null, { menus: [{ type: i0.Input, args: [{ isSignal: true, alias: "menus", required: false }] }], getMenuIsSelectedFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "getMenuIsSelectedFn", required: false }] }], _dropdowns: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => SdDropdown), { isSignal: true }] }] }); })();
|
|
245
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTopbarMenu, { className: "SdTopbarMenu", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar-menu.ts", lineNumber: 123, forbidOrphanRendering: true }); })();
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SdTopbarUser {
|
|
3
|
+
menus: import("@angular/core").InputSignal<SdTopbarUserMenu[]>;
|
|
4
|
+
private readonly _dropdown;
|
|
5
|
+
onMenuClick(menu: SdTopbarUserMenu): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdTopbarUser, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdTopbarUser, "sd-topbar-user", never, { "menus": { "alias": "menus"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
9
|
+
export interface SdTopbarUserMenu {
|
|
10
|
+
title: string;
|
|
11
|
+
onClick: () => void;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=sd-topbar-user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sd-topbar-user.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/topbar/sd-topbar-user.ts"],"names":[],"mappings":";AAaA,qBA8Ba,YAAY;IACvB,KAAK,0DAAwC;IAE7C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAyB;IAEnD,WAAW,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI;yCAL9B,YAAY;2CAAZ,YAAY;CASxB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB"}
|