@simplysm/angular 14.0.7 → 14.0.9
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/README.md +234 -246
- package/dist/core/commons.d.ts.map +1 -1
- package/dist/core/directives/sd-events.directive.d.ts.map +1 -1
- package/dist/core/directives/sd-invalid.directive.d.ts.map +1 -1
- package/dist/core/directives/sd-item-of-template.directive.d.ts.map +1 -1
- package/dist/core/directives/sd-ripple.directive.d.ts.map +1 -1
- package/dist/core/directives/sd-router-link.directive.d.ts.map +1 -1
- package/dist/core/directives/sd-show-effect.directive.d.ts.map +1 -1
- package/dist/core/directives/sd-typed-template.directive.d.ts.map +1 -1
- package/dist/core/pipes/format.pipe.d.ts.map +1 -1
- package/dist/core/plugins/commands/findTopOpenModalEl.d.ts.map +1 -1
- package/dist/core/plugins/commands/sd-insert-command-event.plugin.d.ts.map +1 -1
- package/dist/core/plugins/commands/sd-refresh-command-event.plugin.d.ts.map +1 -1
- package/dist/core/plugins/commands/sd-save-command-event.plugin.d.ts.map +1 -1
- package/dist/core/plugins/events/sd-intersection-event.plugin.d.ts.map +1 -1
- package/dist/core/plugins/events/sd-option-event.plugin.d.ts.map +1 -1
- package/dist/core/plugins/events/sd-resize-event.plugin.d.ts.map +1 -1
- package/dist/core/plugins/sd-global-error-handler.plugin.d.ts.map +1 -1
- package/dist/core/provideSdAngular.d.ts.map +1 -1
- package/dist/core/providers/sd-angular-config.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-app-structure.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-file-dialog.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-local-storage.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-navigate-window.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-print.provider.d.ts +7 -2
- package/dist/core/providers/sd-print.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-service-client-factory.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-shared-data.provider.d.ts +3 -0
- package/dist/core/providers/sd-shared-data.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-system-config.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-system-log.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-theme-provider.d.ts.map +1 -1
- package/dist/core/utils/TDirectiveInputSignals.d.ts +4 -0
- package/dist/core/utils/TDirectiveInputSignals.d.ts.map +1 -1
- package/dist/core/utils/injectParent.d.ts +7 -0
- package/dist/core/utils/injectParent.d.ts.map +1 -0
- package/dist/core/utils/injectParent.js +26 -0
- package/dist/core/utils/setSafeStyle.d.ts.map +1 -1
- package/dist/core/utils/setups/setupBgTheme.d.ts.map +1 -1
- package/dist/core/utils/setups/setupCanDeactivate.d.ts.map +1 -1
- package/dist/core/utils/setups/setupCloserWhenSingleSelectionChange.d.ts +9 -0
- package/dist/core/utils/setups/setupCloserWhenSingleSelectionChange.d.ts.map +1 -0
- package/dist/core/utils/setups/setupCloserWhenSingleSelectionChange.js +20 -0
- package/dist/core/utils/setups/setupCumulateSelectedKeys.d.ts +9 -0
- package/dist/core/utils/setups/setupCumulateSelectedKeys.d.ts.map +1 -0
- package/dist/core/utils/setups/setupCumulateSelectedKeys.js +27 -0
- package/dist/core/utils/setups/setupInvalid.d.ts.map +1 -1
- package/dist/core/utils/setups/setupModelHook.d.ts.map +1 -1
- package/dist/core/utils/setups/setupRevealOnShow.d.ts.map +1 -1
- package/dist/core/utils/setups/setupRipple.d.ts.map +1 -1
- package/dist/core/utils/useCurrentPageCodeSignal.d.ts.map +1 -1
- package/dist/core/utils/useExpandingManager.d.ts.map +1 -1
- package/dist/core/utils/useFullPageCodeSignal.d.ts.map +1 -1
- package/dist/core/utils/useSdSystemConfigResource.d.ts.map +1 -1
- package/dist/core/utils/useSelectionManager.d.ts.map +1 -1
- package/dist/core/utils/useSortingManager.d.ts.map +1 -1
- package/dist/core/utils/useViewTitleSignal.d.ts.map +1 -1
- package/dist/core/utils/useViewTypeSignal.d.ts.map +1 -1
- package/dist/features/address/sd-address-search.modal.d.ts +19 -0
- package/dist/features/address/sd-address-search.modal.d.ts.map +1 -0
- package/dist/features/address/sd-address-search.modal.js +88 -0
- package/dist/features/base/sd-base-container.control.d.ts +26 -0
- package/dist/features/base/sd-base-container.control.d.ts.map +1 -0
- package/dist/features/base/sd-base-container.control.js +183 -0
- package/dist/features/data-view/sd-data-detail.control.d.ts +70 -0
- package/dist/features/data-view/sd-data-detail.control.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-detail.control.js +606 -0
- package/dist/features/data-view/sd-data-select-button.control.d.ts +35 -0
- package/dist/features/data-view/sd-data-select-button.control.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-select-button.control.js +219 -0
- package/dist/features/data-view/sd-data-sheet-column.directive.d.ts +8 -0
- package/dist/features/data-view/sd-data-sheet-column.directive.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-sheet-column.directive.js +15 -0
- package/dist/features/data-view/sd-data-sheet.control.d.ts +131 -0
- package/dist/features/data-view/sd-data-sheet.control.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-sheet.control.js +1152 -0
- package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts +16 -0
- package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts.map +1 -0
- package/dist/features/shared-data/sd-shared-data-select-button.control.js +66 -0
- package/dist/features/shared-data/sd-shared-data-select-list.control.d.ts +33 -0
- package/dist/features/shared-data/sd-shared-data-select-list.control.d.ts.map +1 -0
- package/dist/features/shared-data/sd-shared-data-select-list.control.js +346 -0
- package/dist/features/shared-data/sd-shared-data-select.control.d.ts +50 -0
- package/dist/features/shared-data/sd-shared-data-select.control.d.ts.map +1 -0
- package/dist/features/shared-data/sd-shared-data-select.control.js +425 -0
- package/dist/index.d.ts +13 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/ui/data/list/sd-list-item.control.d.ts +3 -1
- package/dist/ui/data/list/sd-list-item.control.d.ts.map +1 -1
- package/dist/ui/data/list/sd-list-item.control.js +9 -5
- package/dist/ui/data/list/sd-list.control.d.ts.map +1 -1
- package/dist/ui/data/list/sd-list.control.js +1 -1
- package/dist/ui/data/sheet/sd-sheet-column.directive.d.ts +8 -1
- package/dist/ui/data/sheet/sd-sheet-column.directive.d.ts.map +1 -1
- package/dist/ui/data/sheet/sd-sheet-config.modal.d.ts.map +1 -1
- package/dist/ui/data/sheet/sd-sheet-config.modal.js +1 -1
- package/dist/ui/data/sheet/sd-sheet.control.d.ts +6 -5
- package/dist/ui/data/sheet/sd-sheet.control.d.ts.map +1 -1
- package/dist/ui/data/sheet/sd-sheet.control.js +19 -17
- package/dist/ui/data/sheet/types.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetCellAgent.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetCellAgent.js +1 -2
- package/dist/ui/data/sheet/useSheetColumnFixing.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetDomAccessor.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetLayoutEngine.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetLayoutEngine.js +1 -0
- package/dist/ui/form/button/sd-additional-button.control.d.ts.map +1 -1
- package/dist/ui/form/button/sd-additional-button.control.js +1 -1
- package/dist/ui/form/button/sd-anchor.control.d.ts.map +1 -1
- package/dist/ui/form/button/sd-anchor.control.js +1 -1
- package/dist/ui/form/button/sd-button.control.d.ts.map +1 -1
- package/dist/ui/form/button/sd-button.control.js +1 -1
- package/dist/ui/form/button/sd-modal-select-button.control.d.ts +16 -18
- package/dist/ui/form/button/sd-modal-select-button.control.d.ts.map +1 -1
- package/dist/ui/form/button/sd-modal-select-button.control.js +22 -39
- package/dist/ui/form/checkbox/sd-checkbox-group-item.control.d.ts.map +1 -1
- package/dist/ui/form/checkbox/sd-checkbox-group-item.control.js +1 -1
- package/dist/ui/form/checkbox/sd-checkbox-group.control.d.ts.map +1 -1
- package/dist/ui/form/checkbox/sd-checkbox-group.control.js +1 -1
- package/dist/ui/form/checkbox/sd-checkbox.control.d.ts.map +1 -1
- package/dist/ui/form/checkbox/sd-checkbox.control.js +1 -1
- package/dist/ui/form/checkbox/sd-switch.control.d.ts.map +1 -1
- package/dist/ui/form/checkbox/sd-switch.control.js +1 -1
- package/dist/ui/form/choice/sd-state-preset.control.d.ts.map +1 -1
- package/dist/ui/form/choice/sd-state-preset.control.js +1 -1
- package/dist/ui/form/editor/sd-tiptap-editor.control.d.ts +18 -1
- package/dist/ui/form/editor/sd-tiptap-editor.control.d.ts.map +1 -1
- package/dist/ui/form/editor/sd-tiptap-editor.control.js +18 -2
- package/dist/ui/form/input/sd-date-range.picker.d.ts.map +1 -1
- package/dist/ui/form/input/sd-date-range.picker.js +1 -1
- package/dist/ui/form/input/sd-numpad.control.d.ts.map +1 -1
- package/dist/ui/form/input/sd-numpad.control.js +1 -1
- package/dist/ui/form/input/sd-range.control.d.ts.map +1 -1
- package/dist/ui/form/input/sd-range.control.js +1 -1
- package/dist/ui/form/input/sd-textarea.control.d.ts.map +1 -1
- package/dist/ui/form/input/sd-textarea.control.js +1 -1
- package/dist/ui/form/input/sd-textfield-type-handlers.d.ts.map +1 -1
- package/dist/ui/form/input/sd-textfield.control.d.ts.map +1 -1
- package/dist/ui/form/input/sd-textfield.control.js +1 -1
- package/dist/ui/form/sd-form.control.d.ts.map +1 -1
- package/dist/ui/form/sd-form.control.js +1 -1
- package/dist/ui/form/select/sd-select-button.control.d.ts.map +1 -1
- package/dist/ui/form/select/sd-select-button.control.js +1 -1
- package/dist/ui/form/select/sd-select-item.control.d.ts +1 -1
- package/dist/ui/form/select/sd-select-item.control.d.ts.map +1 -1
- package/dist/ui/form/select/sd-select-item.control.js +1 -1
- package/dist/ui/form/select/sd-select.control.d.ts +9 -6
- package/dist/ui/form/select/sd-select.control.d.ts.map +1 -1
- package/dist/ui/form/select/sd-select.control.js +1 -1
- package/dist/ui/layout/dock/sd-dock-container.control.d.ts.map +1 -1
- package/dist/ui/layout/dock/sd-dock-container.control.js +1 -1
- package/dist/ui/layout/dock/sd-dock.control.d.ts +2 -0
- package/dist/ui/layout/dock/sd-dock.control.d.ts.map +1 -1
- package/dist/ui/layout/dock/sd-dock.control.js +13 -4
- package/dist/ui/layout/kanban/sd-kanban-board.control.d.ts.map +1 -1
- package/dist/ui/layout/kanban/sd-kanban-board.control.js +1 -1
- package/dist/ui/layout/kanban/sd-kanban-lane.control.d.ts.map +1 -1
- package/dist/ui/layout/kanban/sd-kanban-lane.control.js +8 -2
- package/dist/ui/layout/kanban/sd-kanban.control.d.ts.map +1 -1
- package/dist/ui/layout/kanban/sd-kanban.control.js +1 -1
- package/dist/ui/layout/sd-card.directive.d.ts.map +1 -1
- package/dist/ui/layout/sd-gap.control.d.ts +2 -2
- package/dist/ui/layout/sd-gap.control.d.ts.map +1 -1
- package/dist/ui/layout/sd-gap.control.js +1 -1
- package/dist/ui/layout/sd-pane.directive.d.ts.map +1 -1
- package/dist/ui/layout/view/sd-view-item.control.d.ts.map +1 -1
- package/dist/ui/layout/view/sd-view-item.control.js +1 -1
- package/dist/ui/layout/view/sd-view.control.d.ts.map +1 -1
- package/dist/ui/layout/view/sd-view.control.js +1 -1
- package/dist/ui/navigation/collapse/sd-collapse-icon.control.d.ts.map +1 -1
- package/dist/ui/navigation/collapse/sd-collapse-icon.control.js +1 -1
- package/dist/ui/navigation/collapse/sd-collapse.control.d.ts.map +1 -1
- package/dist/ui/navigation/collapse/sd-collapse.control.js +1 -1
- package/dist/ui/navigation/menu-utils.d.ts.map +1 -1
- package/dist/ui/navigation/pagination/sd-pagination.control.d.ts.map +1 -1
- package/dist/ui/navigation/pagination/sd-pagination.control.js +8 -4
- package/dist/ui/navigation/sidebar/sd-sidebar-container.control.d.ts.map +1 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-container.control.js +2 -2
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.d.ts.map +1 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.js +1 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-user.control.d.ts.map +1 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-user.control.js +1 -1
- package/dist/ui/navigation/sidebar/sd-sidebar.control.d.ts.map +1 -1
- package/dist/ui/navigation/sidebar/sd-sidebar.control.js +1 -1
- package/dist/ui/navigation/tab/sd-tab-item.control.d.ts.map +1 -1
- package/dist/ui/navigation/tab/sd-tab-item.control.js +1 -1
- package/dist/ui/navigation/tab/sd-tab.control.d.ts.map +1 -1
- package/dist/ui/navigation/tab/sd-tab.control.js +1 -1
- package/dist/ui/navigation/tab/sd-tabview-item.control.d.ts.map +1 -1
- package/dist/ui/navigation/tab/sd-tabview-item.control.js +1 -1
- package/dist/ui/navigation/tab/sd-tabview.control.d.ts.map +1 -1
- package/dist/ui/navigation/tab/sd-tabview.control.js +1 -1
- package/dist/ui/navigation/topbar/sd-topbar-container.control.d.ts.map +1 -1
- package/dist/ui/navigation/topbar/sd-topbar-container.control.js +1 -1
- package/dist/ui/navigation/topbar/sd-topbar-menu.control.d.ts.map +1 -1
- package/dist/ui/navigation/topbar/sd-topbar-menu.control.js +1 -1
- package/dist/ui/navigation/topbar/sd-topbar-user.control.d.ts.map +1 -1
- package/dist/ui/navigation/topbar/sd-topbar-user.control.js +1 -1
- package/dist/ui/navigation/topbar/sd-topbar.control.d.ts.map +1 -1
- package/dist/ui/navigation/topbar/sd-topbar.control.js +1 -1
- package/dist/ui/overlay/busy/sd-busy-container.control.d.ts.map +1 -1
- package/dist/ui/overlay/busy/sd-busy-container.control.js +1 -1
- package/dist/ui/overlay/busy/sd-busy.provider.d.ts.map +1 -1
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.d.ts.map +1 -1
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.js +2 -2
- package/dist/ui/overlay/dropdown/sd-dropdown.control.d.ts.map +1 -1
- package/dist/ui/overlay/dropdown/sd-dropdown.control.js +1 -1
- package/dist/ui/overlay/modal/sd-confirm-modal.control.d.ts.map +1 -1
- package/dist/ui/overlay/modal/sd-confirm-modal.control.js +1 -1
- package/dist/ui/overlay/modal/sd-modal.control.d.ts +1 -0
- package/dist/ui/overlay/modal/sd-modal.control.d.ts.map +1 -1
- package/dist/ui/overlay/modal/sd-modal.control.js +10 -2
- package/dist/ui/overlay/modal/sd-modal.provider.d.ts +9 -3
- package/dist/ui/overlay/modal/sd-modal.provider.d.ts.map +1 -1
- package/dist/ui/overlay/modal/sd-prompt-modal.control.d.ts.map +1 -1
- package/dist/ui/overlay/modal/sd-prompt-modal.control.js +1 -1
- package/dist/ui/overlay/toast/sd-toast-container.control.d.ts.map +1 -1
- package/dist/ui/overlay/toast/sd-toast-container.control.js +1 -1
- package/dist/ui/overlay/toast/sd-toast.control.d.ts.map +1 -1
- package/dist/ui/overlay/toast/sd-toast.control.js +1 -1
- package/dist/ui/overlay/toast/sd-toast.provider.d.ts.map +1 -1
- package/dist/ui/overlay/toast/sd-toast.provider.js +7 -3
- package/dist/ui/visual/sd-barcode.control.d.ts.map +1 -1
- package/dist/ui/visual/sd-barcode.control.js +1 -1
- package/dist/ui/visual/sd-calendar.control.d.ts.map +1 -1
- package/dist/ui/visual/sd-calendar.control.js +1 -1
- package/dist/ui/visual/sd-echarts.control.d.ts.map +1 -1
- package/dist/ui/visual/sd-echarts.control.js +1 -1
- package/dist/ui/visual/sd-label.control.d.ts.map +1 -1
- package/dist/ui/visual/sd-label.control.js +1 -1
- package/dist/ui/visual/sd-note.control.d.ts.map +1 -1
- package/dist/ui/visual/sd-note.control.js +1 -1
- package/dist/ui/visual/sd-progress.control.d.ts +1 -0
- package/dist/ui/visual/sd-progress.control.d.ts.map +1 -1
- package/dist/ui/visual/sd-progress.control.js +5 -4
- package/docs/core.md +877 -0
- package/docs/features.md +377 -0
- package/docs/styling.md +309 -0
- package/docs/ui-data.md +233 -0
- package/docs/ui-form.md +421 -0
- package/docs/ui-layout.md +216 -0
- package/docs/ui-navigation.md +279 -0
- package/docs/ui-overlay.md +330 -0
- package/docs/ui-visual.md +131 -0
- package/package.json +5 -5
- package/src/core/providers/sd-print.provider.ts +10 -2
- package/src/core/providers/sd-shared-data.provider.ts +3 -0
- package/src/core/utils/TDirectiveInputSignals.ts +5 -0
- package/src/core/utils/injectParent.ts +41 -0
- package/src/core/utils/setups/setupCloserWhenSingleSelectionChange.ts +29 -0
- package/src/core/utils/setups/setupCumulateSelectedKeys.ts +38 -0
- package/src/features/address/sd-address-search.modal.ts +119 -0
- package/src/features/base/sd-base-container.control.ts +113 -0
- package/src/features/data-view/sd-data-detail.control.ts +394 -0
- package/src/features/data-view/sd-data-select-button.control.ts +210 -0
- package/src/features/data-view/sd-data-sheet-column.directive.ts +10 -0
- package/src/features/data-view/sd-data-sheet.control.ts +850 -0
- package/src/features/shared-data/sd-shared-data-select-button.control.ts +64 -0
- package/src/features/shared-data/sd-shared-data-select-list.control.ts +245 -0
- package/src/features/shared-data/sd-shared-data-select.control.ts +364 -0
- package/src/index.ts +39 -1
- package/src/scss.d.ts +5 -0
- package/src/ui/data/list/sd-list-item.control.ts +4 -2
- package/src/ui/data/sheet/sd-sheet-column.directive.ts +9 -1
- package/src/ui/data/sheet/sd-sheet.control.ts +23 -19
- package/src/ui/data/sheet/useSheetCellAgent.ts +1 -2
- package/src/ui/data/sheet/useSheetLayoutEngine.ts +1 -0
- package/src/ui/form/button/sd-modal-select-button.control.ts +41 -59
- package/src/ui/form/editor/sd-tiptap-editor.control.ts +35 -1
- package/src/ui/form/select/sd-select-item.control.ts +1 -1
- package/src/ui/form/select/sd-select.control.ts +7 -4
- package/src/ui/layout/dock/sd-dock.control.ts +15 -2
- package/src/ui/layout/kanban/sd-kanban-lane.control.ts +6 -3
- package/src/ui/navigation/pagination/sd-pagination.control.ts +5 -3
- package/src/ui/navigation/sidebar/sd-sidebar-container.control.ts +1 -1
- package/src/ui/overlay/dropdown/sd-dropdown-popup.control.ts +1 -1
- package/src/ui/overlay/modal/sd-modal.control.ts +9 -0
- package/src/ui/overlay/modal/sd-modal.provider.ts +15 -3
- package/src/ui/overlay/toast/sd-toast.provider.ts +9 -3
- package/src/ui/visual/sd-progress.control.ts +4 -1
- package/docs/commons-and-configuration.md +0 -34
- package/docs/data-display-components.md +0 -146
- package/docs/directives.md +0 -158
- package/docs/event-plugins.md +0 -109
- package/docs/form-components.md +0 -362
- package/docs/hooks-and-utilities.md +0 -175
- package/docs/layout-components.md +0 -140
- package/docs/navigation-components.md +0 -200
- package/docs/overlay-components.md +0 -193
- package/docs/pipes.md +0 -25
- package/docs/providers.md +0 -448
- package/docs/setup-functions.md +0 -66
- package/docs/visual-components.md +0 -89
|
@@ -144,4 +144,4 @@ export class SdKanbanControl {
|
|
|
144
144
|
</sd-card>
|
|
145
145
|
`, styles: ["sd-kanban {\n position: relative;\n display: block;\n}\nsd-kanban[data-sd-dragging-this=true] {\n display: none;\n}\nsd-kanban > ._drag-position {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n pointer-events: none;\n}\nsd-kanban[data-sd-dragging=true] > ._drag-position {\n pointer-events: auto;\n}\nsd-kanban[data-sd-dragging=true] > sd-card {\n pointer-events: none;\n cursor: pointer;\n}\nsd-kanban > ._drop-position {\n border-radius: var(--border-radius-default);\n background: var(--trans-light);\n height: 0;\n margin-bottom: 0;\n visibility: hidden;\n transition: 0.1s linear;\n transition-property: height, margin-bottom, visibility;\n}\nsd-kanban[data-sd-drag-over=true] > ._drop-position {\n margin-bottom: var(--gap-lg);\n visibility: visible;\n}\nsd-kanban > sd-card {\n white-space: normal;\n user-select: none;\n margin-bottom: var(--gap-lg);\n}"] }]
|
|
146
146
|
}], () => [], { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], selectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectable", required: false }] }], draggable: [{ type: i0.Input, args: [{ isSignal: true, alias: "draggable", required: false }] }], contentClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentClass", required: false }] }] }); })();
|
|
147
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdKanbanControl, { className: "SdKanbanControl", filePath: "packages/angular/src/ui/layout/kanban/sd-kanban.control.ts", lineNumber: 115 }); })();
|
|
147
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdKanbanControl, { className: "SdKanbanControl", filePath: "packages/angular/src/ui/layout/kanban/sd-kanban.control.ts", lineNumber: 115, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-card.directive.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-card.directive.d.ts","sourceRoot":"","sources":["../../../src/ui/layout/sd-card.directive.ts"],"names":[],"mappings":";AAEA,qBAOa,eAAe;yCAAf,eAAe;2CAAf,eAAe;CAAG"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class SdGapControl {
|
|
3
3
|
private readonly _elRef;
|
|
4
|
-
height: import("@angular/core").InputSignal<"default" | "
|
|
4
|
+
height: import("@angular/core").InputSignal<"default" | "sm" | "lg" | "xxs" | "xs" | "xl" | "xxl" | undefined>;
|
|
5
5
|
heightPx: import("@angular/core").InputSignal<number | undefined>;
|
|
6
|
-
width: import("@angular/core").InputSignal<"default" | "
|
|
6
|
+
width: import("@angular/core").InputSignal<"default" | "sm" | "lg" | "xxs" | "xs" | "xl" | "xxl" | undefined>;
|
|
7
7
|
widthPx: import("@angular/core").InputSignal<number | undefined>;
|
|
8
8
|
widthEm: import("@angular/core").InputSignal<number | undefined>;
|
|
9
9
|
constructor();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-gap.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-gap.control.d.ts","sourceRoot":"","sources":["../../../src/ui/layout/sd-gap.control.ts"],"names":[],"mappings":";AAEA,qBAkCa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D,MAAM,yGAAkE;IACxE,QAAQ,0DAAmB;IAC3B,KAAK,yGAAkE;IACvE,OAAO,0DAAmB;IAC1B,OAAO,0DAAmB;;yCAPf,YAAY;2CAAZ,YAAY;CA0BxB"}
|
|
@@ -41,4 +41,4 @@ export class SdGapControl {
|
|
|
41
41
|
"[style.width.em]": "widthEm()",
|
|
42
42
|
}, styles: ["sd-gap[data-sd-height=xxs] {\n height: var(--gap-xxs);\n}\nsd-gap[data-sd-width=xxs] {\n width: var(--gap-xxs);\n}\nsd-gap[data-sd-height=xs] {\n height: var(--gap-xs);\n}\nsd-gap[data-sd-width=xs] {\n width: var(--gap-xs);\n}\nsd-gap[data-sd-height=sm] {\n height: var(--gap-sm);\n}\nsd-gap[data-sd-width=sm] {\n width: var(--gap-sm);\n}\nsd-gap[data-sd-height=default] {\n height: var(--gap-default);\n}\nsd-gap[data-sd-width=default] {\n width: var(--gap-default);\n}\nsd-gap[data-sd-height=lg] {\n height: var(--gap-lg);\n}\nsd-gap[data-sd-width=lg] {\n width: var(--gap-lg);\n}\nsd-gap[data-sd-height=xl] {\n height: var(--gap-xl);\n}\nsd-gap[data-sd-width=xl] {\n width: var(--gap-xl);\n}\nsd-gap[data-sd-height=xxl] {\n height: var(--gap-xxl);\n}\nsd-gap[data-sd-width=xxl] {\n width: var(--gap-xxl);\n}\nsd-gap[data-sd-height=\"0\"] {\n height: var(--gap-0);\n}\nsd-gap[data-sd-width=\"0\"] {\n width: var(--gap-0);\n}\nsd-gap[data-sd-height=auto] {\n height: var(--gap-auto);\n}\nsd-gap[data-sd-width=auto] {\n width: var(--gap-auto);\n}"] }]
|
|
43
43
|
}], () => [], { height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], heightPx: [{ type: i0.Input, args: [{ isSignal: true, alias: "heightPx", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], widthPx: [{ type: i0.Input, args: [{ isSignal: true, alias: "widthPx", required: false }] }], widthEm: [{ type: i0.Input, args: [{ isSignal: true, alias: "widthEm", required: false }] }] }); })();
|
|
44
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdGapControl, { className: "SdGapControl", filePath: "packages/angular/src/ui/layout/sd-gap.control.ts", lineNumber: 37 }); })();
|
|
44
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdGapControl, { className: "SdGapControl", filePath: "packages/angular/src/ui/layout/sd-gap.control.ts", lineNumber: 37, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-pane.directive.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-pane.directive.d.ts","sourceRoot":"","sources":["../../../src/ui/layout/sd-pane.directive.ts"],"names":[],"mappings":";AAEA,qBAQa,eAAe;yCAAf,eAAe;2CAAf,eAAe;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-view-item.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-view-item.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/layout/view/sd-view-item.control.ts"],"names":[],"mappings":";AAUA,qBA4Ba,iBAAiB;IAC5B,KAAK,2CAAgB;IAErB,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAyB;IAExD,UAAU,0CAAgE;yCAL/D,iBAAiB;2CAAjB,iBAAiB;CAM7B"}
|
|
@@ -22,4 +22,4 @@ export class SdViewItemControl {
|
|
|
22
22
|
"[attr.data-sd-selected]": "isSelected()",
|
|
23
23
|
}, styles: ["sd-view-item {\n display: none;\n}\nsd-view-item[data-sd-selected=true] {\n display: block;\n}\nsd-view[data-sd-fill=true] sd-view-item {\n height: 100%;\n}"] }]
|
|
24
24
|
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] }); })();
|
|
25
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdViewItemControl, { className: "SdViewItemControl", filePath: "packages/angular/src/ui/layout/view/sd-view-item.control.ts", lineNumber: 39 }); })();
|
|
25
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdViewItemControl, { className: "SdViewItemControl", filePath: "packages/angular/src/ui/layout/view/sd-view-item.control.ts", lineNumber: 39, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-view.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-view.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/layout/view/sd-view.control.ts"],"names":[],"mappings":";AAEA,qBAyBa,aAAa;IACxB,KAAK,2CAAgB;IACrB,IAAI,qEAAiD;yCAF1C,aAAa;2CAAb,aAAa;CAGzB"}
|
|
@@ -20,4 +20,4 @@ export class SdViewControl {
|
|
|
20
20
|
"[attr.data-sd-fill]": "fill()",
|
|
21
21
|
}, styles: ["sd-view {\n display: block;\n background: var(--control-color);\n}\nsd-view[data-sd-fill=true] {\n height: 100%;\n}"] }]
|
|
22
22
|
}], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], fill: [{ type: i0.Input, args: [{ isSignal: true, alias: "fill", required: false }] }] }); })();
|
|
23
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdViewControl, { className: "SdViewControl", filePath: "packages/angular/src/ui/layout/view/sd-view.control.ts", lineNumber: 28 }); })();
|
|
23
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdViewControl, { className: "SdViewControl", filePath: "packages/angular/src/ui/layout/view/sd-view.control.ts", lineNumber: 28, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-collapse-icon.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-collapse-icon.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/collapse/sd-collapse-icon.control.ts"],"names":[],"mappings":";AAYA,qBAyBa,qBAAqB;IAChC,IAAI,qEAAiD;IACrD,UAAU,oEAA6C;IAEvD,KAAK;;MAA0B;IAE/B,cAAc,yCAEX;IAEH,eAAe,uFAEZ;yCAZQ,qBAAqB;2CAArB,qBAAqB;CAajC"}
|
|
@@ -30,4 +30,4 @@ export class SdCollapseIconControl {
|
|
|
30
30
|
"[style.transition]": "transitionStyle()",
|
|
31
31
|
}, styles: ["sd-collapse-icon {\n display: inline-block;\n}\nsd-collapse-icon > ng-icon {\n display: block;\n}"] }]
|
|
32
32
|
}], null, { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], openRotate: [{ type: i0.Input, args: [{ isSignal: true, alias: "openRotate", required: false }] }] }); })();
|
|
33
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdCollapseIconControl, { className: "SdCollapseIconControl", filePath: "packages/angular/src/ui/navigation/collapse/sd-collapse-icon.control.ts", lineNumber: 38 }); })();
|
|
33
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdCollapseIconControl, { className: "SdCollapseIconControl", filePath: "packages/angular/src/ui/navigation/collapse/sd-collapse-icon.control.ts", lineNumber: 38, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-collapse.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-collapse.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/collapse/sd-collapse.control.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;;AAE1F,qBA0Ba,iBAAiB;IAC5B,IAAI,qEAAiD;IAErD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAC6B;IAE3D,aAAa,iDAAa;IAE1B,gBAAgB,yCAEb;IAEH,iBAAiB,yFAEd;;IAcH,eAAe,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI;yCA5BjC,iBAAiB;2CAAjB,iBAAiB;CAiC7B"}
|
|
@@ -56,4 +56,4 @@ export class SdCollapseControl {
|
|
|
56
56
|
</div>
|
|
57
57
|
`, styles: ["sd-collapse {\n display: block;\n overflow: hidden;\n}"] }]
|
|
58
58
|
}], () => [], { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], _contentElRef: [{ type: i0.ViewChild, args: ["contentEl", { isSignal: true }] }] }); })();
|
|
59
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdCollapseControl, { className: "SdCollapseControl", filePath: "packages/angular/src/ui/navigation/collapse/sd-collapse.control.ts", lineNumber: 42 }); })();
|
|
59
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdCollapseControl, { className: "SdCollapseControl", filePath: "packages/angular/src/ui/navigation/collapse/sd-collapse.control.ts", lineNumber: 42, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"menu-utils.d.ts","sourceRoot":"","sources":["../../../src/ui/navigation/menu-utils.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,OAAO,GACZ;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAA;CAAE,GAAG,SAAS,CAiB/E;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,EACb,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,GACpC,OAAO,CAET"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-pagination.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-pagination.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/pagination/sd-pagination.control.ts"],"names":[],"mappings":";AAkBA,qBA2Ca,mBAAmB;IAC9B,KAAK;;;;;MAAsF;IAE3F,WAAW,8CAAY;IACvB,cAAc,oEAA4C;IAC1D,gBAAgB,oEAA6C;IAE7D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAExB;IAEH,OAAO,0CAKJ;IAEH,OAAO,0CAOJ;IAEH,YAAY,2CAeT;IAEH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAI5B,aAAa,IAAI,IAAI;IAIrB,aAAa,IAAI,IAAI;IAKrB,SAAS,IAAI,IAAI;IAIjB,QAAQ,IAAI,IAAI;yCA7DL,mBAAmB;2CAAnB,mBAAmB;CAiE/B"}
|
|
@@ -22,7 +22,7 @@ export class SdPaginationControl {
|
|
|
22
22
|
totalPageCount = input(0, { ...(ngDevMode ? { debugName: "totalPageCount" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
23
23
|
visiblePageCount = input(10, { ...(ngDevMode ? { debugName: "visiblePageCount" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
24
24
|
groupIndex = computed(() => {
|
|
25
|
-
return Math.floor(this.currentPage() / this.visiblePageCount());
|
|
25
|
+
return Math.floor(this.currentPage() / Math.max(this.visiblePageCount(), 1));
|
|
26
26
|
}, ...(ngDevMode ? [{ debugName: "groupIndex" }] : /* istanbul ignore next */ []));
|
|
27
27
|
hasPrev = computed(() => {
|
|
28
28
|
if (this.totalPageCount() === 0) {
|
|
@@ -35,7 +35,7 @@ export class SdPaginationControl {
|
|
|
35
35
|
if (totalPageCount === 0) {
|
|
36
36
|
return false;
|
|
37
37
|
}
|
|
38
|
-
const lastGroupIndex = Math.floor((totalPageCount - 1) / this.visiblePageCount());
|
|
38
|
+
const lastGroupIndex = Math.floor((totalPageCount - 1) / Math.max(this.visiblePageCount(), 1));
|
|
39
39
|
return this.groupIndex() < lastGroupIndex;
|
|
40
40
|
}, ...(ngDevMode ? [{ debugName: "hasNext" }] : /* istanbul ignore next */ []));
|
|
41
41
|
displayPages = computed(() => {
|
|
@@ -59,12 +59,16 @@ export class SdPaginationControl {
|
|
|
59
59
|
this.currentPage.set((this.groupIndex() + 1) * this.visiblePageCount());
|
|
60
60
|
}
|
|
61
61
|
goToPrevGroup() {
|
|
62
|
-
|
|
62
|
+
if (!this.hasPrev())
|
|
63
|
+
return;
|
|
64
|
+
this.currentPage.set((this.groupIndex() - 1) * Math.max(this.visiblePageCount(), 1));
|
|
63
65
|
}
|
|
64
66
|
goToFirst() {
|
|
65
67
|
this.currentPage.set(0);
|
|
66
68
|
}
|
|
67
69
|
goToLast() {
|
|
70
|
+
if (this.totalPageCount() === 0)
|
|
71
|
+
return;
|
|
68
72
|
this.currentPage.set(this.totalPageCount() - 1);
|
|
69
73
|
}
|
|
70
74
|
static ɵfac = function SdPaginationControl_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdPaginationControl)(); };
|
|
@@ -134,4 +138,4 @@ export class SdPaginationControl {
|
|
|
134
138
|
class: "flex-row gap-xs",
|
|
135
139
|
}, styles: ["sd-pagination > sd-anchor {\n display: inline-block;\n padding: var(--gap-xs);\n}"] }]
|
|
136
140
|
}], null, { currentPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPage", required: false }] }, { type: i0.Output, args: ["currentPageChange"] }], totalPageCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalPageCount", required: false }] }], visiblePageCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "visiblePageCount", required: false }] }] }); })();
|
|
137
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdPaginationControl, { className: "SdPaginationControl", filePath: "packages/angular/src/ui/navigation/pagination/sd-pagination.control.ts", lineNumber: 62 }); })();
|
|
141
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdPaginationControl, { className: "SdPaginationControl", filePath: "packages/angular/src/ui/navigation/pagination/sd-pagination.control.ts", lineNumber: 62, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-sidebar-container.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-sidebar-container.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/sidebar/sd-sidebar-container.control.ts"],"names":[],"mappings":";AAKA,qBA+Da,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAsC;IAE9D,MAAM,kDAAiB;IAEvB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAEZ;;IAad,eAAe,IAAI,IAAI;yCApBZ,yBAAyB;2CAAzB,yBAAyB;CAuBrC"}
|
|
@@ -21,7 +21,7 @@ export class SdSidebarContainerControl {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
onBackdropClick() {
|
|
24
|
-
this.toggle.
|
|
24
|
+
this.toggle.set(false);
|
|
25
25
|
}
|
|
26
26
|
static ɵfac = function SdSidebarContainerControl_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdSidebarContainerControl)(); };
|
|
27
27
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdSidebarContainerControl, selectors: [["sd-sidebar-container"]], hostVars: 1, hostBindings: function SdSidebarContainerControl_HostBindings(rf, ctx) { if (rf & 2) {
|
|
@@ -43,4 +43,4 @@ export class SdSidebarContainerControl {
|
|
|
43
43
|
<div class="_backdrop" (mousedown)="onBackdropClick()"></div>
|
|
44
44
|
`, styles: ["sd-sidebar-container {\n display: block;\n position: relative;\n height: 100%;\n padding-left: var(--sidebar-width);\n transition: padding-left 0.1s ease-out;\n}\nsd-sidebar-container[data-sd-toggle=true] {\n padding-left: 0;\n transition: padding-left 0.1s ease-in;\n}\nsd-sidebar-container > ._backdrop {\n display: none;\n}\n\n@media all and (max-width: 520px) {\n sd-sidebar-container {\n padding-left: 0;\n }\n sd-sidebar-container > ._backdrop {\n position: absolute;\n display: block;\n z-index: calc(var(--z-index-sidebar) - 1);\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: var(--background-rev-color);\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.3s ease-in-out;\n }\n sd-sidebar-container[data-sd-toggle=true] > ._backdrop {\n opacity: 0.6;\n pointer-events: auto;\n }\n}"] }]
|
|
45
45
|
}], () => [], null); })();
|
|
46
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSidebarContainerControl, { className: "SdSidebarContainerControl", filePath: "packages/angular/src/ui/navigation/sidebar/sd-sidebar-container.control.ts", lineNumber: 69 }); })();
|
|
46
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSidebarContainerControl, { className: "SdSidebarContainerControl", filePath: "packages/angular/src/ui/navigation/sidebar/sd-sidebar-container.control.ts", lineNumber: 69, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-sidebar-menu.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-sidebar-menu.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/sidebar/sd-sidebar-menu.control.ts"],"names":[],"mappings":";AAaA,qBA8Ea,oBAAoB;IAC/B,KAAK,wDAA+B;IACpC,MAAM,wEAAiC;IACvC,mBAAmB,8CAAgB,cAAc,KAAK,OAAO,eAAI;IAEjE,YAAY,yCAA2B;IAEvC,UAAU,uDAAsF;IAEhG,uBAAuB,CACrB,IAAI,EAAE,cAAc,GACnB;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,cAAc,GAAG,OAAO;IAIhD,WAAW,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;IAMvC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAG;QACpC,KAAK,EAAE,cAAc,EAAE,CAAC;QACxB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;yCA5BS,oBAAoB;2CAApB,oBAAoB;CA6BhC;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B"}
|
|
@@ -156,4 +156,4 @@ export class SdSidebarMenuControl {
|
|
|
156
156
|
</ng-template>
|
|
157
157
|
`, styles: ["sd-sidebar-menu > sd-list[data-sd-inset=true] sd-list {\n background: var(--trans-lightest);\n}\nsd-sidebar-menu > sd-list[data-sd-inset=true] > sd-list-item > ._content {\n padding-block: var(--gap-default);\n}\nsd-sidebar-menu:not([data-sd-root-layout=accordion]) > sd-list[data-sd-inset=true] > sd-list-item > sd-collapse > ._content > sd-list {\n background: transparent;\n}"] }]
|
|
158
158
|
}], null, { menus: [{ type: i0.Input, args: [{ isSignal: true, alias: "menus", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], getMenuIsSelectedFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "getMenuIsSelectedFn", required: false }] }] }); })();
|
|
159
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSidebarMenuControl, { className: "SdSidebarMenuControl", filePath: "packages/angular/src/ui/navigation/sidebar/sd-sidebar-menu.control.ts", lineNumber: 92 }); })();
|
|
159
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSidebarMenuControl, { className: "SdSidebarMenuControl", filePath: "packages/angular/src/ui/navigation/sidebar/sd-sidebar-menu.control.ts", lineNumber: 92, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-sidebar-user.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-sidebar-user.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/sidebar/sd-sidebar-user.control.ts"],"names":[],"mappings":";AAOA,qBA4Da,oBAAoB;IAC/B,QAAQ,oEAA6B;IAErC,QAAQ,kDAAiB;IAEzB,qBAAqB,IAAI,IAAI;yCALlB,oBAAoB;2CAApB,oBAAoB;CAQhC;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,EAAE,CAAC;CACL"}
|
|
@@ -106,4 +106,4 @@ export class SdSidebarUserControl {
|
|
|
106
106
|
}
|
|
107
107
|
`, styles: ["sd-sidebar-user {\n display: block;\n}\nsd-sidebar-user > ._menu-button {\n display: block;\n cursor: pointer;\n user-select: none;\n padding: var(--gap-default);\n}\nsd-sidebar-user > ._menu-button:hover {\n background: var(--trans-lighter);\n}\nsd-sidebar-user > sd-collapse > ._content > sd-list {\n background: var(--trans-lightest);\n padding: var(--gap-xs) 0;\n}"] }]
|
|
108
108
|
}], null, { userMenu: [{ type: i0.Input, args: [{ isSignal: true, alias: "userMenu", required: false }] }] }); })();
|
|
109
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSidebarUserControl, { className: "SdSidebarUserControl", filePath: "packages/angular/src/ui/navigation/sidebar/sd-sidebar-user.control.ts", lineNumber: 68 }); })();
|
|
109
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSidebarUserControl, { className: "SdSidebarUserControl", filePath: "packages/angular/src/ui/navigation/sidebar/sd-sidebar-user.control.ts", lineNumber: 68, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-sidebar.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-sidebar.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/sidebar/sd-sidebar.control.ts"],"names":[],"mappings":";AAUA,qBAkDa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IAEF,MAAM,0CAAgD;yCAL3C,gBAAgB;2CAAhB,gBAAgB;CAM5B"}
|
|
@@ -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(SdSidebarControl, { className: "SdSidebarControl", filePath: "packages/angular/src/ui/navigation/sidebar/sd-sidebar.control.ts", lineNumber: 61 }); })();
|
|
24
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdSidebarControl, { className: "SdSidebarControl", filePath: "packages/angular/src/ui/navigation/sidebar/sd-sidebar.control.ts", lineNumber: 61, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-tab-item.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-tab-item.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/tab/sd-tab-item.control.ts"],"names":[],"mappings":";AAWA,qBAiCa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAwD;IAEvF,KAAK,2CAAgB;IAErB,UAAU,0CAAgE;IAE1E,OAAO;yCAPI,gBAAgB;2CAAhB,gBAAgB;CAU5B"}
|
|
@@ -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(SdTabItemControl, { className: "SdTabItemControl", filePath: "packages/angular/src/ui/navigation/tab/sd-tab-item.control.ts", lineNumber: 45 }); })();
|
|
31
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTabItemControl, { className: "SdTabItemControl", filePath: "packages/angular/src/ui/navigation/tab/sd-tab-item.control.ts", lineNumber: 45, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-tab.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-tab.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/tab/sd-tab.control.ts"],"names":[],"mappings":";AAEA,qBAoBa,YAAY;IACvB,KAAK,2CAAgB;yCADV,YAAY;2CAAZ,YAAY;CAExB"}
|
|
@@ -15,4 +15,4 @@ export class SdTabControl {
|
|
|
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(SdTabControl, { className: "SdTabControl", filePath: "packages/angular/src/ui/navigation/tab/sd-tab.control.ts", lineNumber: 23 }); })();
|
|
18
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTabControl, { className: "SdTabControl", filePath: "packages/angular/src/ui/navigation/tab/sd-tab.control.ts", lineNumber: 23, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-tabview-item.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-tabview-item.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/tab/sd-tabview-item.control.ts"],"names":[],"mappings":";AAWA,qBA2Ba,oBAAoB,CAAC,CAAC;IACjC,KAAK,yCAAuB;IAC5B,MAAM,0DAAmB;IAEzB,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IAEF,UAAU,0CAAgE;yCAR/D,oBAAoB;2CAApB,oBAAoB;CAShC"}
|
|
@@ -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(SdTabviewItemControl, { className: "SdTabviewItemControl", filePath: "packages/angular/src/ui/navigation/tab/sd-tabview-item.control.ts", lineNumber: 39 }); })();
|
|
26
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTabviewItemControl, { className: "SdTabviewItemControl", filePath: "packages/angular/src/ui/navigation/tab/sd-tabview-item.control.ts", lineNumber: 39, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-tabview.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-tabview.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/tab/sd-tabview.control.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;;AAEjE,qBAuBa,gBAAgB,CAAC,CAAC;IAC7B,KAAK,qDAAc;IAEnB,YAAY,qEAAkE;yCAHnE,gBAAgB;2CAAhB,gBAAgB;CAI5B"}
|
|
@@ -64,4 +64,4 @@ export class SdTabviewControl {
|
|
|
64
64
|
`,
|
|
65
65
|
}]
|
|
66
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(() => SdTabviewItemControl), { isSignal: true }] }] }); })();
|
|
67
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTabviewControl, { className: "SdTabviewControl", filePath: "packages/angular/src/ui/navigation/tab/sd-tabview.control.ts", lineNumber: 35 }); })();
|
|
67
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTabviewControl, { className: "SdTabviewControl", filePath: "packages/angular/src/ui/navigation/tab/sd-tabview.control.ts", lineNumber: 35, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-topbar-container.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-topbar-container.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/topbar/sd-topbar-container.control.ts"],"names":[],"mappings":";AAEA,qBAmBa,wBAAwB;yCAAxB,wBAAwB;2CAAxB,wBAAwB;CAAG"}
|
|
@@ -14,4 +14,4 @@ export class SdTopbarContainerControl {
|
|
|
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(SdTopbarContainerControl, { className: "SdTopbarContainerControl", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar-container.control.ts", lineNumber: 22 }); })();
|
|
17
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTopbarContainerControl, { className: "SdTopbarContainerControl", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar-container.control.ts", lineNumber: 22, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-topbar-menu.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-topbar-menu.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/topbar/sd-topbar-menu.control.ts"],"names":[],"mappings":";AAuBA,qBAkGa,mBAAmB;IAC9B,KAAK,uDAA8B;IACnC,mBAAmB,8CAAgB,aAAa,KAAK,OAAO,eAAI;IAEhE,YAAY,yCAA2B;IAEvC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmC;IAE9D,uBAAuB,CACrB,IAAI,EAAE,aAAa,GAClB;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,aAAa,GAAG,OAAO;IAI/C,WAAW,CAAC,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAU7D,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAG;QACpC,KAAK,EAAE,aAAa,EAAE,CAAC;QACvB,KAAK,EAAE,MAAM,CAAC;QACd,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IAEF,SAAS,CAAC,QAAQ,CAAC,eAAe,iUAAmB;yCAlC1C,mBAAmB;2CAAnB,mBAAmB;CAmC/B;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;CAC5B"}
|
|
@@ -242,4 +242,4 @@ export class SdTopbarMenuControl {
|
|
|
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
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(() => SdDropdownControl), { isSignal: true }] }] }); })();
|
|
245
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTopbarMenuControl, { className: "SdTopbarMenuControl", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar-menu.control.ts", lineNumber: 122 }); })();
|
|
245
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTopbarMenuControl, { className: "SdTopbarMenuControl", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar-menu.control.ts", lineNumber: 122, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-topbar-user.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-topbar-user.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/topbar/sd-topbar-user.control.ts"],"names":[],"mappings":";AAaA,qBA8Ba,mBAAmB;IAC9B,KAAK,2DAAyC;IAE9C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgC;IAE1D,WAAW,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI;yCAL/B,mBAAmB;2CAAnB,mBAAmB;CAS/B;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB"}
|
|
@@ -74,4 +74,4 @@ export class SdTopbarUserControl {
|
|
|
74
74
|
</sd-dropdown>
|
|
75
75
|
` }]
|
|
76
76
|
}], null, { menus: [{ type: i0.Input, args: [{ isSignal: true, alias: "menus", required: true }] }], _dropdown: [{ type: i0.ViewChild, args: [i0.forwardRef(() => SdDropdownControl), { isSignal: true }] }] }); })();
|
|
77
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTopbarUserControl, { className: "SdTopbarUserControl", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar-user.control.ts", lineNumber: 44 }); })();
|
|
77
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTopbarUserControl, { className: "SdTopbarUserControl", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar-user.control.ts", lineNumber: 44, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-topbar.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-topbar.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/topbar/sd-topbar.control.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;;AAKpF,qBA6Da,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAEvC;IAEH,gBAAgB,6EAAsC;IAEtD,UAAU,0CAER;IAEF,mBAAmB,IAAI,IAAI;IAO3B,SAAS,CAAC,QAAQ,CAAC,WAAW,oXAAe;yCAlBlC,eAAe;2CAAf,eAAe;CAmB3B"}
|
|
@@ -56,4 +56,4 @@ export class SdTopbarControl {
|
|
|
56
56
|
<ng-content />
|
|
57
57
|
`, styles: ["sd-topbar {\n min-height: var(--topbar-height);\n overflow-x: auto;\n overflow-y: hidden;\n user-select: none;\n background: var(--control-color);\n color: var(--text-trans-default);\n border-bottom: 1px solid var(--border-color-lighter);\n padding-left: var(--gap-sm);\n}\nsd-topbar > h1 {\n padding-right: var(--gap-xl);\n}\nsd-topbar > h2 {\n padding-right: var(--gap-xl);\n}\nsd-topbar > h3 {\n padding-right: var(--gap-xl);\n}\nsd-topbar > h4 {\n padding-right: var(--gap-xl);\n}\nsd-topbar > h5 {\n padding-right: var(--gap-xl);\n}\nsd-topbar > h6 {\n padding-right: var(--gap-xl);\n}\nsd-topbar::-webkit-scrollbar-track {\n background-color: var(--trans-light);\n}\nsd-topbar::-webkit-scrollbar-corner {\n background-color: var(--trans-light);\n}\nsd-topbar::-webkit-scrollbar {\n width: var(--gap-sm);\n height: var(--gap-sm);\n background-color: transparent;\n}\nsd-topbar::-webkit-scrollbar-thumb {\n background-color: var(--trans-default);\n}"] }]
|
|
58
58
|
}], null, { sidebarContainer: [{ type: i0.Input, args: [{ isSignal: true, alias: "sidebarContainer", required: false }] }] }); })();
|
|
59
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTopbarControl, { className: "SdTopbarControl", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar.control.ts", lineNumber: 75 }); })();
|
|
59
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdTopbarControl, { className: "SdTopbarControl", filePath: "packages/angular/src/ui/navigation/topbar/sd-topbar.control.ts", lineNumber: 75, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-busy-container.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-busy-container.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/overlay/busy/sd-busy-container.control.ts"],"names":[],"mappings":"AAUA,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;;AAEtE,qBA+Ma,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA0B;IAElD,IAAI,qEAAiD;IACrD,OAAO,0DAAwC;IAC/C,IAAI,+DAA6C;IACjD,eAAe,0DAAwC;IAEvD,QAAQ,8CAAsD;;yCARnD,sBAAsB;2CAAtB,sBAAsB;CAuBlC"}
|
|
@@ -116,4 +116,4 @@ export class SdBusyContainerControl {
|
|
|
116
116
|
<ng-content></ng-content>
|
|
117
117
|
`, styles: ["sd-busy-container {\n display: block;\n position: relative;\n}\nsd-busy-container > ._screen {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 9998;\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--busy-overlay-bg);\n}\nsd-busy-container > ._screen > ._rect {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--gap-default);\n}\nsd-busy-container > ._screen > ._rect > ._indicator > ._spinner {\n width: 2rem;\n height: 2rem;\n border: 0.1667rem solid var(--theme-primary-lighter);\n border-top-color: var(--theme-primary-default);\n border-radius: 50%;\n animation: sd-busy-spin 0.8s linear infinite;\n}\nsd-busy-container > ._screen > ._rect > ._indicator > ._bar {\n width: 6rem;\n height: 0.25rem;\n background: var(--theme-primary-lighter);\n border-radius: var(--border-radius-default);\n overflow: hidden;\n position: relative;\n}\nsd-busy-container > ._screen > ._rect > ._indicator > ._bar::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 40%;\n background: var(--theme-primary-default);\n border-radius: var(--border-radius-default);\n animation: sd-busy-bar 1.5s ease-in-out infinite;\n}\nsd-busy-container > ._screen > ._rect > ._indicator > ._cube {\n width: 2rem;\n height: 2rem;\n position: relative;\n animation: sd-busy-cube-rotate 1.8s infinite ease-in-out;\n}\nsd-busy-container > ._screen > ._rect > ._indicator > ._cube > ._cube-face {\n position: absolute;\n width: 50%;\n height: 50%;\n background: var(--theme-primary-default);\n animation: sd-busy-cube-fold 1.8s infinite ease-in-out;\n}\nsd-busy-container > ._screen > ._rect > ._indicator > ._cube > ._cube-face._cube-face-1 {\n top: 0;\n left: 0;\n}\nsd-busy-container > ._screen > ._rect > ._indicator > ._cube > ._cube-face._cube-face-2 {\n top: 0;\n right: 0;\n animation-delay: 0.45s;\n}\nsd-busy-container > ._screen > ._rect > ._indicator > ._cube > ._cube-face._cube-face-3 {\n bottom: 0;\n right: 0;\n animation-delay: 0.9s;\n}\nsd-busy-container > ._screen > ._rect > ._indicator > ._cube > ._cube-face._cube-face-4 {\n bottom: 0;\n left: 0;\n animation-delay: 1.35s;\n}\nsd-busy-container > ._screen > ._rect > ._message {\n font-size: var(--font-size-sm);\n color: var(--text-trans-light);\n text-align: center;\n}\nsd-busy-container > ._screen > ._rect > ._progress {\n width: 10rem;\n height: 0.25rem;\n background: var(--theme-primary-lighter);\n border-radius: var(--border-radius-default);\n overflow: hidden;\n}\nsd-busy-container > ._screen > ._rect > ._progress > ._progress-bar {\n height: 100%;\n background: var(--theme-primary-default);\n transition: width 0.3s ease;\n}\n\n@keyframes sd-busy-spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes sd-busy-bar {\n 0% {\n left: -40%;\n }\n 100% {\n left: 100%;\n }\n}\n@keyframes sd-busy-cube-rotate {\n 0% {\n transform: perspective(6.25rem) rotateX(0deg) rotateY(0deg);\n }\n 50% {\n transform: perspective(6.25rem) rotateX(-180deg) rotateY(0deg);\n }\n 100% {\n transform: perspective(6.25rem) rotateX(-180deg) rotateY(-180deg);\n }\n}\n@keyframes sd-busy-cube-fold {\n 0%, 10% {\n transform: scale(1);\n }\n 25% {\n transform: scale(0.5);\n }\n 50%, 100% {\n transform: scale(1);\n }\n}"] }]
|
|
118
118
|
}], () => [], { busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], progressPercent: [{ type: i0.Input, args: [{ isSignal: true, alias: "progressPercent", required: false }] }] }); })();
|
|
119
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdBusyContainerControl, { className: "SdBusyContainerControl", filePath: "packages/angular/src/ui/overlay/busy/sd-busy-container.control.ts", lineNumber: 220 }); })();
|
|
119
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdBusyContainerControl, { className: "SdBusyContainerControl", filePath: "packages/angular/src/ui/overlay/busy/sd-busy-container.control.ts", lineNumber: 220, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-busy.provider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-busy.provider.d.ts","sourceRoot":"","sources":["../../../../src/ui/overlay/busy/sd-busy.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,YAAY,EAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;;AAErE,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,CAAC;AAErD,qBACa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA0B;IAClD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA+B;IAE5D,IAAI,sDAA8B;IAClC,eAAe,iDAAa;IAE5B,OAAO,CAAC,aAAa,CAAmD;IAExE,IAAI,YAAY,IAAI,YAAY,CAAC,sBAAsB,CAAC,CAiBvD;;yCA1BU,cAAc;6CAAd,cAAc;CAuC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-dropdown-popup.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-dropdown-popup.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/overlay/dropdown/sd-dropdown-popup.control.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;;AAE1F,qBA6Ea,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IACF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAIrC,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI;yCAV3B,sBAAsB;2CAAtB,sBAAsB;CAoBlC"}
|
|
@@ -13,7 +13,7 @@ export class SdDropdownPopupControl {
|
|
|
13
13
|
const el = this._elRef.nativeElement;
|
|
14
14
|
const divEl = el.firstElementChild;
|
|
15
15
|
if (divEl.clientHeight > 300) {
|
|
16
|
-
el.style.height = "
|
|
16
|
+
el.style.height = "300px";
|
|
17
17
|
}
|
|
18
18
|
else {
|
|
19
19
|
el.style.height = "";
|
|
@@ -40,4 +40,4 @@ export class SdDropdownPopupControl {
|
|
|
40
40
|
</div>
|
|
41
41
|
`, styles: ["sd-dropdown-popup {\n position: fixed;\n z-index: var(--z-index-dropdown);\n opacity: 0;\n transform: translateY(-0.625rem);\n transition: 0.1s linear;\n transition-property: transform, opacity;\n pointer-events: none;\n background: var(--control-color);\n min-width: 7.5rem;\n box-shadow: 0 calc(4 * var(--elevation-size)) calc(4 * 4 * var(--elevation-size)) var(--trans-lighter), 0 var(--elevation-size) var(--elevation-size) var(--trans-lighter);\n overflow: hidden;\n border-radius: var(--border-radius-default);\n border: 1px solid var(--border-color-light);\n}\nsd-dropdown-popup > div {\n width: 100%;\n height: 100%;\n overflow: auto;\n white-space: nowrap;\n}\nsd-dropdown-popup:focus {\n outline: 1px solid var(--theme-primary-default);\n}\n@media all and (max-width: 520px) {\n sd-dropdown-popup {\n box-shadow: none;\n border: 1px solid var(--border-color-default);\n }\n}\nsd-dropdown-popup[data-sd-mobile] {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n top: auto;\n max-height: 80vh;\n border-radius: var(--border-radius-default) var(--border-radius-default) 0 0;\n opacity: 1;\n pointer-events: auto;\n transform: none;\n animation: sd-dropdown-slide-up 0.2s ease-out;\n box-shadow: 0 calc(8 * var(--elevation-size)) calc(8 * 4 * var(--elevation-size)) var(--trans-lighter), 0 var(--elevation-size) var(--elevation-size) var(--trans-lighter);\n}\n\n@keyframes sd-dropdown-slide-up {\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0);\n }\n}"] }]
|
|
42
42
|
}], null, null); })();
|
|
43
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdDropdownPopupControl, { className: "SdDropdownPopupControl", filePath: "packages/angular/src/ui/overlay/dropdown/sd-dropdown-popup.control.ts", lineNumber: 90 }); })();
|
|
43
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdDropdownPopupControl, { className: "SdDropdownPopupControl", filePath: "packages/angular/src/ui/overlay/dropdown/sd-dropdown-popup.control.ts", lineNumber: 90, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-dropdown.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-dropdown.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/overlay/dropdown/sd-dropdown.control.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,UAAU,EAKX,MAAM,eAAe,CAAC;AAEvB,OAAO,wBAAwB,CAAC;;AAEhC,qBAgBa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D,IAAI,+CAAgB;IACpB,QAAQ,qEAAiD;IAEzD,UAAU,0DAGR;IAEF,OAAO,CAAC,QAAQ,CAAC,CAAc;IAC/B,OAAO,CAAC,YAAY,CAAC,CAAc;IACnC,OAAO,CAAC,WAAW,CAAC,CAAc;IAClC,OAAO,CAAC,SAAS,CAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;;IAiEtC,WAAW,IAAI,IAAI;IAQnB,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IA8CzC,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAY1C,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,oBAAoB;IA2C5B,OAAO,CAAC,wBAAwB;IAShC,OAAO,CAAC,sBAAsB;IAqC9B,OAAO,CAAC,YAAY;yCAxPT,iBAAiB;2CAAjB,iBAAiB;CAqR7B"}
|
|
@@ -281,4 +281,4 @@ export class SdDropdownControl {
|
|
|
281
281
|
`,
|
|
282
282
|
}]
|
|
283
283
|
}], () => [], { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], popupElRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SdDropdownPopupControl), { ...{ read: ElementRef }, isSignal: true }] }] }); })();
|
|
284
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdDropdownControl, { className: "SdDropdownControl", filePath: "packages/angular/src/ui/overlay/dropdown/sd-dropdown.control.ts", lineNumber: 33 }); })();
|
|
284
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdDropdownControl, { className: "SdDropdownControl", filePath: "packages/angular/src/ui/overlay/dropdown/sd-dropdown.control.ts", lineNumber: 33, forbidOrphanRendering: true }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-confirm-modal.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-confirm-modal.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/overlay/modal/sd-confirm-modal.control.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;;AAGpD;;;;GAIG;AACH,qBAoCa,qBAAsB,YAAW,QAAQ,CAAC,OAAO,CAAC;IAC7D,WAAW,kDAAgB;IAC3B,KAAK,gEAAiC;IAEtC,OAAO,8CAA4B;IAEnC,SAAS,IAAI,IAAI;IAIjB,QAAQ,IAAI,IAAI;yCAVL,qBAAqB;2CAArB,qBAAqB;CAajC"}
|
|
@@ -48,4 +48,4 @@ export class SdConfirmModalControl {
|
|
|
48
48
|
</div>
|
|
49
49
|
`, styles: ["sd-confirm-modal {\n display: block;\n padding: var(--gap-default);\n}\nsd-confirm-modal > ._sd-confirm-modal > ._message {\n margin-bottom: var(--gap-default);\n}\nsd-confirm-modal > ._sd-confirm-modal > ._actions {\n display: flex;\n justify-content: flex-end;\n gap: var(--gap-sm);\n}"] }]
|
|
50
50
|
}], null, { close: [{ type: i0.Output, args: ["close"] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: true }] }] }); })();
|
|
51
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdConfirmModalControl, { className: "SdConfirmModalControl", filePath: "packages/angular/src/ui/overlay/modal/sd-confirm-modal.control.ts", lineNumber: 53 }); })();
|
|
51
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdConfirmModalControl, { className: "SdConfirmModalControl", filePath: "packages/angular/src/ui/overlay/modal/sd-confirm-modal.control.ts", lineNumber: 53, forbidOrphanRendering: true }); })();
|
|
@@ -5,6 +5,7 @@ export declare class SdModalControl {
|
|
|
5
5
|
private readonly _elRef;
|
|
6
6
|
private readonly _activatedModal;
|
|
7
7
|
private readonly _systemConfig;
|
|
8
|
+
private readonly _destroyRef;
|
|
8
9
|
open: import("@angular/core").ModelSignal<boolean>;
|
|
9
10
|
key: import("@angular/core").InputSignal<string | undefined>;
|
|
10
11
|
title: import("@angular/core").InputSignal<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-modal.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-modal.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/overlay/modal/sd-modal.control.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,WAAW,EAEjB,MAAM,eAAe,CAAC;AAKvB,OAAO,wBAAwB,CAAC;;AAEhC,qBA0Ca,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAC1D,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAwD;IACxF,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAsD;IACpF,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAsB;IAElD,IAAI,+CAAgB;IACpB,GAAG,0DAAwC;IAC3C,KAAK,8CAAa;IAClB,UAAU,+CAAgB;IAC1B,eAAe,+CAAgB;IAC/B,kBAAkB,+CAAe;IACjC,mBAAmB,+CAAe;IAClC,KAAK,+CAAgB;IACrB,IAAI,+CAAgB;IACpB,SAAS,+CAAgB;IACzB,OAAO,+CAAgB;IACvB,QAAQ,gFAA8D;IACtE,WAAW,0DAAwC;IACnD,UAAU,0DAAwC;IAClD,QAAQ,0DAAwC;IAChD,OAAO,0DAAwC;IAC/C,WAAW,0DAAwC;IACnD,sBAAsB,+CAAgB;IACtC,YAAY,oEAAkD;IAE9D,YAAY,iDAAkB;IAE9B,OAAO,CAAC,UAAU,CAEJ;IAEd,OAAO,CAAC,YAAY,CAUN;IAEd,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAA8B;IACnE,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAa;;IAoDhD,iBAAiB,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI;IAkBvD,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAkB1C,eAAe,IAAI,IAAI;IAKvB,kBAAkB,IAAI,IAAI;IAI1B,eAAe,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAS3C,aAAa,IAAI,IAAI;IAIrB,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,cAAc;IAuBtB,OAAO,CAAC,oBAAoB;IAa5B,OAAO,CAAC,aAAa;IAgBrB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,YAAY;IA4CpB,OAAO,CAAC,UAAU;YAcJ,WAAW;YAgBX,cAAc;yCArSjB,cAAc;2CAAd,cAAc;CAqT1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, effect, ElementRef, inject, input, model, output, ViewEncapsulation, } from "@angular/core";
|
|
1
|
+
import { ChangeDetectionStrategy, Component, DestroyRef, effect, ElementRef, inject, input, model, output, ViewEncapsulation, } from "@angular/core";
|
|
2
2
|
import { isTabbable } from "tabbable";
|
|
3
3
|
import { NgTemplateOutlet } from "@angular/common";
|
|
4
4
|
import { SdActivatedModalProvider } from "./sd-modal.provider";
|
|
@@ -72,6 +72,7 @@ export class SdModalControl {
|
|
|
72
72
|
_elRef = inject((ElementRef));
|
|
73
73
|
_activatedModal = inject(SdActivatedModalProvider, { optional: true });
|
|
74
74
|
_systemConfig = inject(SdSystemConfigProvider, { optional: true });
|
|
75
|
+
_destroyRef = inject(DestroyRef);
|
|
75
76
|
open = model(false, ...(ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []));
|
|
76
77
|
key = input(undefined, ...(ngDevMode ? [{ debugName: "key" }] : /* istanbul ignore next */ []));
|
|
77
78
|
title = input("", ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
@@ -137,6 +138,10 @@ export class SdModalControl {
|
|
|
137
138
|
void this._saveConfig();
|
|
138
139
|
}
|
|
139
140
|
};
|
|
141
|
+
this._destroyRef.onDestroy(() => {
|
|
142
|
+
document.removeEventListener("mousemove", this._onDocumentMouseMove);
|
|
143
|
+
document.removeEventListener("mouseup", this._onDocumentMouseUp);
|
|
144
|
+
});
|
|
140
145
|
}
|
|
141
146
|
onResizeMouseDown(event, dir) {
|
|
142
147
|
event.preventDefault();
|
|
@@ -247,6 +252,9 @@ export class SdModalControl {
|
|
|
247
252
|
maxZ = z;
|
|
248
253
|
}
|
|
249
254
|
}
|
|
255
|
+
const currentZ = parseInt(hostEl.style.zIndex, 10);
|
|
256
|
+
if (currentZ >= maxZ)
|
|
257
|
+
return;
|
|
250
258
|
hostEl.style.zIndex = String(maxZ + 1);
|
|
251
259
|
}
|
|
252
260
|
_getDialogEl() {
|
|
@@ -408,4 +416,4 @@ export class SdModalControl {
|
|
|
408
416
|
`,
|
|
409
417
|
}]
|
|
410
418
|
}], () => [], { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], hideHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideHeader", required: false }] }], hideCloseButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideCloseButton", required: false }] }], useCloseByBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "useCloseByBackdrop", required: false }] }], useCloseByEscapeKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "useCloseByEscapeKey", required: false }] }], float: [{ type: i0.Input, args: [{ isSignal: true, alias: "float", required: false }] }], fill: [{ type: i0.Input, args: [{ isSignal: true, alias: "fill", required: false }] }], resizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizable", required: false }] }], movable: [{ type: i0.Input, args: [{ isSignal: true, alias: "movable", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], minHeightPx: [{ type: i0.Input, args: [{ isSignal: true, alias: "minHeightPx", required: false }] }], minWidthPx: [{ type: i0.Input, args: [{ isSignal: true, alias: "minWidthPx", required: false }] }], heightPx: [{ type: i0.Input, args: [{ isSignal: true, alias: "heightPx", required: false }] }], widthPx: [{ type: i0.Input, args: [{ isSignal: true, alias: "widthPx", required: false }] }], headerStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerStyle", required: false }] }], noFirstControlFocusing: [{ type: i0.Input, args: [{ isSignal: true, alias: "noFirstControlFocusing", required: false }] }], actionTplRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "actionTplRef", required: false }] }], closeRequest: [{ type: i0.Output, args: ["closeRequest"] }] }); })();
|
|
411
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdModalControl, { className: "SdModalControl", filePath: "packages/angular/src/ui/overlay/modal/sd-modal.control.ts", lineNumber:
|
|
419
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdModalControl, { className: "SdModalControl", filePath: "packages/angular/src/ui/overlay/modal/sd-modal.control.ts", lineNumber: 62, forbidOrphanRendering: true }); })();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type OutputEmitterRef, type Signal, type TemplateRef, type Type } from "@angular/core";
|
|
2
|
-
import type { TDirectiveInputSignals } from "../../../core/utils/TDirectiveInputSignals";
|
|
2
|
+
import type { TDirectiveInputSignals, TWithOptional } from "../../../core/utils/TDirectiveInputSignals";
|
|
3
3
|
import "@simplysm/core-browser";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -9,14 +9,19 @@ export interface ISdModal<O> {
|
|
|
9
9
|
initialized: Signal<boolean>;
|
|
10
10
|
close: OutputEmitterRef<O | undefined>;
|
|
11
11
|
actionTplRef?: TemplateRef<any>;
|
|
12
|
+
readonly _optionalModalInputs?: string;
|
|
12
13
|
}
|
|
14
|
+
type TSdModalExcludeKeys = "initialized" | "close" | "actionTplRef" | "_optionalModalInputs";
|
|
15
|
+
type TSdModalOptionalKeys<T> = T extends {
|
|
16
|
+
_optionalModalInputs?: infer K extends string;
|
|
17
|
+
} ? K : never;
|
|
13
18
|
/**
|
|
14
19
|
* 모달 생성 시 전달하는 정보
|
|
15
20
|
*/
|
|
16
|
-
export interface ISdModalInfo<T extends ISdModal<any
|
|
21
|
+
export interface ISdModalInfo<T extends ISdModal<any>, X extends keyof any = ""> {
|
|
17
22
|
title: string;
|
|
18
23
|
type: Type<T>;
|
|
19
|
-
inputs: Omit<TDirectiveInputSignals<T>,
|
|
24
|
+
inputs: TWithOptional<Omit<TDirectiveInputSignals<T>, TSdModalExcludeKeys | X>, TSdModalOptionalKeys<T> & keyof Omit<TDirectiveInputSignals<T>, TSdModalExcludeKeys | X>>;
|
|
20
25
|
}
|
|
21
26
|
/**
|
|
22
27
|
* 모달 옵션
|
|
@@ -62,4 +67,5 @@ export declare class SdModalProvider {
|
|
|
62
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdModalProvider, never>;
|
|
63
68
|
static ɵprov: i0.ɵɵInjectableDeclaration<SdModalProvider>;
|
|
64
69
|
}
|
|
70
|
+
export {};
|
|
65
71
|
//# sourceMappingURL=sd-modal.provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-modal.provider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-modal.provider.d.ts","sourceRoot":"","sources":["../../../../src/ui/overlay/modal/sd-modal.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,gBAAgB,EACrB,KAAK,MAAM,EACX,KAAK,WAAW,EAChB,KAAK,IAAI,EACV,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,4CAA4C,CAAC;AAEpD,OAAO,wBAAwB,CAAC;;AAEhC;;GAEG;AACH,MAAM,WAAW,QAAQ,CAAC,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7B,KAAK,EAAE,gBAAgB,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;IACvC,YAAY,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAChC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACxC;AAED,KAAK,mBAAmB,GAAG,aAAa,GAAG,OAAO,GAAG,cAAc,GAAG,sBAAsB,CAAC;AAC7F,KAAK,oBAAoB,CAAC,CAAC,IAAI,CAAC,SAAS;IAAE,oBAAoB,CAAC,EAAE,MAAM,CAAC,SAAS,MAAM,CAAA;CAAE,GACtF,CAAC,GACD,KAAK,CAAC;AAEV;;GAEG;AACH,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,GAAG,EAAE;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACd,MAAM,EAAE,aAAa,CACnB,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,mBAAmB,GAAG,CAAC,CAAC,EACxD,oBAAoB,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,mBAAmB,GAAG,CAAC,CAAC,CACzF,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED;;GAEG;AACH,qBACa,wBAAwB,CAAC,CAAC,SAAS,QAAQ,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC;IAC3E,cAAc,8CAA0B;IACxC,gBAAgB,wDAAoC;IACpD,aAAa,EAAE,MAAM,OAAO,CAAc;yCAH/B,wBAAwB;6CAAxB,wBAAwB;CAIpC;AAED;;GAEG;AACH,qBACa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA0B;IAClD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA+B;IAC5D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoB;IAE9C,UAAU,iDAAa;IAEjB,SAAS,CAAC,CAAC,SAAS,QAAQ,CAAC,GAAG,CAAC,EACrC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,EACtB,OAAO,CAAC,EAAE,eAAe,GACxB,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IAwHzD,OAAO,CAAC,aAAa;yCAlIV,eAAe;6CAAf,eAAe;CA6I3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-prompt-modal.control.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sd-prompt-modal.control.d.ts","sourceRoot":"","sources":["../../../../src/ui/overlay/modal/sd-prompt-modal.control.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;;AAGpD;;;;GAIG;AACH,qBAoDa,oBAAqB,YAAW,QAAQ,CAAC,MAAM,CAAC;IAC3D,WAAW,kDAAgB;IAC3B,KAAK,+DAAgC;IAErC,OAAO,8CAA4B;IAEnC,WAAW,iDAAc;IAEzB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAKjC,SAAS,IAAI,IAAI;IAOjB,QAAQ,IAAI,IAAI;yCApBL,oBAAoB;2CAApB,oBAAoB;CAuBhC"}
|