@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
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
# Navigation Components
|
|
2
|
-
|
|
3
|
-
## `SdCollapseControl`
|
|
4
|
-
|
|
5
|
-
Animated collapsible content using negative margin-top transition.
|
|
6
|
-
|
|
7
|
-
Selector: `sd-collapse`
|
|
8
|
-
|
|
9
|
-
| Input | Type | Description |
|
|
10
|
-
|-------|------|-------------|
|
|
11
|
-
| `open` | `boolean` (booleanAttribute) | Whether content is visible (default: `false`) |
|
|
12
|
-
|
|
13
|
-
## `SdCollapseIconControl`
|
|
14
|
-
|
|
15
|
-
Rotating chevron icon that indicates collapse/expand state.
|
|
16
|
-
|
|
17
|
-
Selector: `sd-collapse-icon`
|
|
18
|
-
|
|
19
|
-
| Input | Type | Description |
|
|
20
|
-
|-------|------|-------------|
|
|
21
|
-
| `open` | `boolean` (booleanAttribute) | Whether in open state (default: `false`) |
|
|
22
|
-
| `openRotate` | `number` (numberAttribute) | Rotation angle in degrees when open (default: `90`) |
|
|
23
|
-
|
|
24
|
-
## `SdTabControl`
|
|
25
|
-
|
|
26
|
-
Tab header container. Manages the active tab value.
|
|
27
|
-
|
|
28
|
-
Selector: `sd-tab`
|
|
29
|
-
|
|
30
|
-
| Input/Model | Type | Description |
|
|
31
|
-
|-------------|------|-------------|
|
|
32
|
-
| `value` (model) | `any` | Currently active tab value |
|
|
33
|
-
|
|
34
|
-
## `SdTabItemControl`
|
|
35
|
-
|
|
36
|
-
Individual tab header item inside `SdTabControl`.
|
|
37
|
-
|
|
38
|
-
Selector: `sd-tab-item`
|
|
39
|
-
|
|
40
|
-
| Input | Type | Description |
|
|
41
|
-
|-------|------|-------------|
|
|
42
|
-
| `value` | `any` | Tab value (matched against parent's value) |
|
|
43
|
-
|
|
44
|
-
## `SdTabviewControl`
|
|
45
|
-
|
|
46
|
-
Combined tab header and content view. Automatically renders tab headers from `SdTabviewItemControl` children.
|
|
47
|
-
|
|
48
|
-
Selector: `sd-tabview`
|
|
49
|
-
|
|
50
|
-
| Input/Model | Type | Description |
|
|
51
|
-
|-------------|------|-------------|
|
|
52
|
-
| `value` (model) | `T` | Currently active tabview value |
|
|
53
|
-
|
|
54
|
-
## `SdTabviewItemControl`
|
|
55
|
-
|
|
56
|
-
Tab content panel inside `SdTabviewControl`. Shown when its value matches the parent's value.
|
|
57
|
-
|
|
58
|
-
Selector: `sd-tabview-item`
|
|
59
|
-
|
|
60
|
-
| Input | Type | Description |
|
|
61
|
-
|-------|------|-------------|
|
|
62
|
-
| `value` | `T` (required) | Panel value |
|
|
63
|
-
| `header` | `string` | Tab header text (falls back to value if not set) |
|
|
64
|
-
|
|
65
|
-
## `SdPaginationControl`
|
|
66
|
-
|
|
67
|
-
Page navigation with first/prev-group/next-group/last buttons.
|
|
68
|
-
|
|
69
|
-
Selector: `sd-pagination`
|
|
70
|
-
|
|
71
|
-
| Input/Model | Type | Description |
|
|
72
|
-
|-------------|------|-------------|
|
|
73
|
-
| `currentPage` (model) | `number` | Current page index, 0-based (default: `0`) |
|
|
74
|
-
| `totalPageCount` | `number` (numberAttribute) | Total number of pages (default: `0`) |
|
|
75
|
-
| `visiblePageCount` | `number` (numberAttribute) | Pages shown per group (default: `10`) |
|
|
76
|
-
|
|
77
|
-
Public methods:
|
|
78
|
-
|
|
79
|
-
```typescript
|
|
80
|
-
goToPage(page: number): void;
|
|
81
|
-
goToNextGroup(): void;
|
|
82
|
-
goToPrevGroup(): void;
|
|
83
|
-
goToFirst(): void;
|
|
84
|
-
goToLast(): void;
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
## `SdSidebarContainerControl`
|
|
88
|
-
|
|
89
|
-
Layout container with sidebar toggle support. Handles backdrop click and auto-close on navigation.
|
|
90
|
-
|
|
91
|
-
Selector: `sd-sidebar-container`
|
|
92
|
-
|
|
93
|
-
Public properties:
|
|
94
|
-
|
|
95
|
-
| Property | Type | Description |
|
|
96
|
-
|----------|------|-------------|
|
|
97
|
-
| `toggle` | `WritableSignal<boolean>` | Sidebar toggle state |
|
|
98
|
-
|
|
99
|
-
## `SdSidebarControl`
|
|
100
|
-
|
|
101
|
-
Sidebar panel that slides in/out. Positioned absolutely on the left side. Responsive: slides from left on mobile.
|
|
102
|
-
|
|
103
|
-
Selector: `sd-sidebar`
|
|
104
|
-
|
|
105
|
-
No inputs. Toggle state is derived from parent `SdSidebarContainerControl`.
|
|
106
|
-
|
|
107
|
-
## `SdSidebarMenuControl`
|
|
108
|
-
|
|
109
|
-
Menu renderer for sidebar. Displays hierarchical menus with router links. Supports accordion and flat layouts.
|
|
110
|
-
|
|
111
|
-
Selector: `sd-sidebar-menu`
|
|
112
|
-
|
|
113
|
-
| Input | Type | Description |
|
|
114
|
-
|-------|------|-------------|
|
|
115
|
-
| `menus` | `ISdSidebarMenu[]` | Menu items (default: `[]`) |
|
|
116
|
-
| `layout` | `"accordion" \| "flat"` | Root layout mode (auto-selected based on menu count) |
|
|
117
|
-
| `getMenuIsSelectedFn` | `(menu: ISdSidebarMenu) => boolean` | Custom selection check function |
|
|
118
|
-
|
|
119
|
-
### `ISdSidebarMenu`
|
|
120
|
-
|
|
121
|
-
| Field | Type | Description |
|
|
122
|
-
|-------|------|-------------|
|
|
123
|
-
| `title` | `string` | Display title |
|
|
124
|
-
| `codeChain` | `string[]` | Code path chain for route generation |
|
|
125
|
-
| `url` | `string` | Optional external URL (opens in new tab) |
|
|
126
|
-
| `icon` | `string` | Optional icon SVG |
|
|
127
|
-
| `children` | `ISdSidebarMenu[]` | Optional child menus |
|
|
128
|
-
|
|
129
|
-
## `SdSidebarUserControl`
|
|
130
|
-
|
|
131
|
-
User info section in the sidebar with expandable user menu.
|
|
132
|
-
|
|
133
|
-
Selector: `sd-sidebar-user`
|
|
134
|
-
|
|
135
|
-
| Input | Type | Description |
|
|
136
|
-
|-------|------|-------------|
|
|
137
|
-
| `userMenu` | `ISidebarUserMenu` | User menu configuration |
|
|
138
|
-
|
|
139
|
-
### `ISidebarUserMenu`
|
|
140
|
-
|
|
141
|
-
| Field | Type | Description |
|
|
142
|
-
|-------|------|-------------|
|
|
143
|
-
| `title` | `string` | Menu header title |
|
|
144
|
-
| `menus` | `{ title: string; onClick: () => void }[]` | Menu items |
|
|
145
|
-
|
|
146
|
-
## `SdTopbarContainerControl`
|
|
147
|
-
|
|
148
|
-
Layout container for the top navigation bar. Renders as a flex column filling height.
|
|
149
|
-
|
|
150
|
-
Selector: `sd-topbar-container`
|
|
151
|
-
|
|
152
|
-
No inputs.
|
|
153
|
-
|
|
154
|
-
## `SdTopbarControl`
|
|
155
|
-
|
|
156
|
-
Top navigation bar. Includes optional sidebar toggle button.
|
|
157
|
-
|
|
158
|
-
Selector: `sd-topbar`
|
|
159
|
-
|
|
160
|
-
| Input | Type | Description |
|
|
161
|
-
|-------|------|-------------|
|
|
162
|
-
| `sidebarContainer` | `SdSidebarContainerControl` | Optional explicit sidebar container reference |
|
|
163
|
-
|
|
164
|
-
## `SdTopbarMenuControl`
|
|
165
|
-
|
|
166
|
-
Menu renderer for topbar using dropdown menus. Displays hierarchical menus with router links.
|
|
167
|
-
|
|
168
|
-
Selector: `sd-topbar-menu`
|
|
169
|
-
|
|
170
|
-
| Input | Type | Description |
|
|
171
|
-
|-------|------|-------------|
|
|
172
|
-
| `menus` | `ISdTopbarMenu[]` | Menu items (default: `[]`) |
|
|
173
|
-
| `getMenuIsSelectedFn` | `(menu: ISdTopbarMenu) => boolean` | Custom selection check function |
|
|
174
|
-
|
|
175
|
-
### `ISdTopbarMenu`
|
|
176
|
-
|
|
177
|
-
| Field | Type | Description |
|
|
178
|
-
|-------|------|-------------|
|
|
179
|
-
| `title` | `string` | Display title |
|
|
180
|
-
| `codeChain` | `string[]` | Code path chain for route generation |
|
|
181
|
-
| `url` | `string` | Optional external URL (opens in new tab) |
|
|
182
|
-
| `icon` | `string` | Optional icon SVG |
|
|
183
|
-
| `children` | `ISdTopbarMenu[]` | Optional child menus |
|
|
184
|
-
|
|
185
|
-
## `SdTopbarUserControl`
|
|
186
|
-
|
|
187
|
-
User dropdown in topbar. Displays user content as trigger and menu items in dropdown.
|
|
188
|
-
|
|
189
|
-
Selector: `sd-topbar-user`
|
|
190
|
-
|
|
191
|
-
| Input | Type | Description |
|
|
192
|
-
|-------|------|-------------|
|
|
193
|
-
| `menus` | `ISdTopbarUserMenu[]` (required) | User menu items |
|
|
194
|
-
|
|
195
|
-
### `ISdTopbarUserMenu`
|
|
196
|
-
|
|
197
|
-
| Field | Type | Description |
|
|
198
|
-
|-------|------|-------------|
|
|
199
|
-
| `title` | `string` | Menu item title |
|
|
200
|
-
| `onClick` | `() => void` | Click handler |
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
# Overlay Components
|
|
2
|
-
|
|
3
|
-
## `SdDropdownControl`
|
|
4
|
-
|
|
5
|
-
Dropdown trigger container. Opens a popup on click/Enter. Handles positioning and backdrop on mobile.
|
|
6
|
-
|
|
7
|
-
Selector: `sd-dropdown`
|
|
8
|
-
|
|
9
|
-
| Input/Model | Type | Description |
|
|
10
|
-
|-------------|------|-------------|
|
|
11
|
-
| `open` (model) | `boolean` | Dropdown open state (default: `false`) |
|
|
12
|
-
| `disabled` | `boolean` (booleanAttribute) | Disabled state (default: `false`) |
|
|
13
|
-
|
|
14
|
-
## `SdDropdownPopupControl`
|
|
15
|
-
|
|
16
|
-
Dropdown popup content panel. Positioned fixed relative to the trigger. Handles resize and keyboard navigation.
|
|
17
|
-
|
|
18
|
-
Selector: `sd-dropdown-popup`
|
|
19
|
-
|
|
20
|
-
No public inputs. Used as a content child of `SdDropdownControl`.
|
|
21
|
-
|
|
22
|
-
## `SdModalControl`
|
|
23
|
-
|
|
24
|
-
Modal dialog component with header, close button, backdrop, resize handles, and drag-to-move support. Created programmatically by `SdModalProvider`.
|
|
25
|
-
|
|
26
|
-
Selector: `sd-modal`
|
|
27
|
-
|
|
28
|
-
| Input/Model | Type | Description |
|
|
29
|
-
|-------------|------|-------------|
|
|
30
|
-
| `open` (model) | `boolean` | Open state (default: `false`) |
|
|
31
|
-
| `key` | `string` | Config key for position/size persistence |
|
|
32
|
-
| `title` | `string` | Modal title (default: `""`) |
|
|
33
|
-
| `hideHeader` | `boolean` | Hide header bar (default: `false`) |
|
|
34
|
-
| `hideCloseButton` | `boolean` | Hide close button (default: `false`) |
|
|
35
|
-
| `useCloseByBackdrop` | `boolean` | Close on backdrop click (default: `true`) |
|
|
36
|
-
| `useCloseByEscapeKey` | `boolean` | Close on Escape key (default: `true`) |
|
|
37
|
-
| `float` | `boolean` | Float mode (default: `false`) |
|
|
38
|
-
| `fill` | `boolean` | Fill mode (default: `false`) |
|
|
39
|
-
| `resizable` | `boolean` | Enable resize handles (default: `false`) |
|
|
40
|
-
| `movable` | `boolean` | Enable header drag-to-move (default: `false`) |
|
|
41
|
-
| `position` | `"bottom-right" \| "top-right"` | Position preset |
|
|
42
|
-
| `minHeightPx` | `number` | Minimum height in pixels |
|
|
43
|
-
| `minWidthPx` | `number` | Minimum width in pixels |
|
|
44
|
-
| `heightPx` | `number` | Initial height in pixels |
|
|
45
|
-
| `widthPx` | `number` | Initial width in pixels |
|
|
46
|
-
| `headerStyle` | `string` | Custom header inline style |
|
|
47
|
-
| `noFirstControlFocusing` | `boolean` | Skip auto-focusing first control (default: `false`) |
|
|
48
|
-
| `actionTplRef` | `TemplateRef<any>` | Optional action template for header |
|
|
49
|
-
|
|
50
|
-
| Output | Type | Description |
|
|
51
|
-
|--------|------|-------------|
|
|
52
|
-
| `closeRequest` | `void` | Emitted when backdrop click, Escape, or close button triggers close |
|
|
53
|
-
|
|
54
|
-
## `SdPromptModalControl`
|
|
55
|
-
|
|
56
|
-
Built-in prompt modal. Displays a message and text input. Implements `ISdModal<string>`.
|
|
57
|
-
|
|
58
|
-
Selector: `sd-prompt-modal`
|
|
59
|
-
|
|
60
|
-
| Input | Type | Description |
|
|
61
|
-
|-------|------|-------------|
|
|
62
|
-
| `message` | `string` (required) | Prompt message text |
|
|
63
|
-
|
|
64
|
-
| Output | Type | Description |
|
|
65
|
-
|--------|------|-------------|
|
|
66
|
-
| `close` | `string \| undefined` | Emits input value on confirm, undefined on cancel |
|
|
67
|
-
|
|
68
|
-
## `SdConfirmModalControl`
|
|
69
|
-
|
|
70
|
-
Built-in confirm modal. Displays a message with confirm/cancel buttons. Implements `ISdModal<boolean>`.
|
|
71
|
-
|
|
72
|
-
Selector: `sd-confirm-modal`
|
|
73
|
-
|
|
74
|
-
| Input | Type | Description |
|
|
75
|
-
|-------|------|-------------|
|
|
76
|
-
| `message` | `string` (required) | Confirmation message text |
|
|
77
|
-
|
|
78
|
-
| Output | Type | Description |
|
|
79
|
-
|--------|------|-------------|
|
|
80
|
-
| `close` | `boolean \| undefined` | Emits `true` on confirm, `undefined` on cancel |
|
|
81
|
-
|
|
82
|
-
## `SdToastControl`
|
|
83
|
-
|
|
84
|
-
Individual toast notification component. Supports themes, progress bar, and ARIA roles.
|
|
85
|
-
|
|
86
|
-
Selector: `sd-toast`
|
|
87
|
-
|
|
88
|
-
| Input/Model | Type | Description |
|
|
89
|
-
|-------------|------|-------------|
|
|
90
|
-
| `open` (model) | `boolean` | Open state with transition (default: `false`) |
|
|
91
|
-
| `useProgress` | `boolean` (booleanAttribute) | Show progress bar (default: `false`) |
|
|
92
|
-
| `theme` | `TSdToastTheme` | Toast theme (default: `"info"`) |
|
|
93
|
-
| `progress` (model) | `number` | Progress percentage 0-100 (default: `0`) |
|
|
94
|
-
| `message` (model) | `string \| undefined` | Toast message text |
|
|
95
|
-
|
|
96
|
-
## `SdToastContainerControl`
|
|
97
|
-
|
|
98
|
-
Fixed-position container for toast notifications.
|
|
99
|
-
|
|
100
|
-
Selector: `sd-toast-container`
|
|
101
|
-
|
|
102
|
-
| Input | Type | Description |
|
|
103
|
-
|-------|------|-------------|
|
|
104
|
-
| `overlap` | `boolean` (booleanAttribute) | Overlap mode (single toast, bottom-left positioned, default: `false`) |
|
|
105
|
-
|
|
106
|
-
## `SdBusyContainerControl`
|
|
107
|
-
|
|
108
|
-
Busy/loading overlay container. Shows a loading indicator over its content.
|
|
109
|
-
|
|
110
|
-
Selector: `sd-busy-container`
|
|
111
|
-
|
|
112
|
-
| Input | Type | Description |
|
|
113
|
-
|-------|------|-------------|
|
|
114
|
-
| `busy` | `boolean` (booleanAttribute) | Whether to show busy overlay (default: `false`) |
|
|
115
|
-
| `message` | `string \| undefined` | Loading message text |
|
|
116
|
-
| `type` | `TSdBusyType \| undefined` | Indicator type (falls back to `SdBusyProvider.type()`) |
|
|
117
|
-
| `progressPercent` | `number \| undefined` | Optional progress percentage |
|
|
118
|
-
|
|
119
|
-
### `TSdBusyType`
|
|
120
|
-
|
|
121
|
-
```typescript
|
|
122
|
-
type TSdBusyType = "spinner" | "bar" | "cube";
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
## Toast Types
|
|
126
|
-
|
|
127
|
-
### `TSdToastSeverity`
|
|
128
|
-
|
|
129
|
-
```typescript
|
|
130
|
-
type TSdToastSeverity = "info" | "success" | "warning" | "danger";
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
### `TSdToastTheme`
|
|
134
|
-
|
|
135
|
-
```typescript
|
|
136
|
-
type TSdToastTheme = "primary" | "secondary" | TSdToastSeverity | "gray" | "blue-gray";
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
### `ISdToast`
|
|
140
|
-
|
|
141
|
-
Interface for custom toast content components.
|
|
142
|
-
|
|
143
|
-
| Field | Type | Description |
|
|
144
|
-
|-------|------|-------------|
|
|
145
|
-
| `close` | `OutputEmitterRef<O \| undefined>` | Output to emit close result |
|
|
146
|
-
|
|
147
|
-
### `ISdToastInput`
|
|
148
|
-
|
|
149
|
-
| Field | Type | Description |
|
|
150
|
-
|-------|------|-------------|
|
|
151
|
-
| `type` | `Type<T>` | Component type |
|
|
152
|
-
| `inputs` | `Omit<TDirectiveInputSignals<T>, "close">` | Component inputs |
|
|
153
|
-
|
|
154
|
-
## Modal Types
|
|
155
|
-
|
|
156
|
-
### `ISdModal`
|
|
157
|
-
|
|
158
|
-
Interface for modal content components.
|
|
159
|
-
|
|
160
|
-
| Field | Type | Description |
|
|
161
|
-
|-------|------|-------------|
|
|
162
|
-
| `initialized` | `Signal<boolean>` | Whether content is initialized |
|
|
163
|
-
| `close` | `OutputEmitterRef<O \| undefined>` | Output to emit close result |
|
|
164
|
-
| `actionTplRef` | `TemplateRef<any>` | Optional action template for modal header |
|
|
165
|
-
|
|
166
|
-
### `ISdModalInfo`
|
|
167
|
-
|
|
168
|
-
| Field | Type | Description |
|
|
169
|
-
|-------|------|-------------|
|
|
170
|
-
| `title` | `string` | Modal title |
|
|
171
|
-
| `type` | `Type<T>` | Component type |
|
|
172
|
-
| `inputs` | `Omit<TDirectiveInputSignals<T>, "initialized" \| "close" \| "actionTplRef">` | Component inputs |
|
|
173
|
-
|
|
174
|
-
### `ISdModalOptions`
|
|
175
|
-
|
|
176
|
-
| Field | Type | Description |
|
|
177
|
-
|-------|------|-------------|
|
|
178
|
-
| `key` | `string` | Config persistence key |
|
|
179
|
-
| `hideHeader` | `boolean` | Hide header |
|
|
180
|
-
| `hideCloseButton` | `boolean` | Hide close button |
|
|
181
|
-
| `useCloseByBackdrop` | `boolean` | Close on backdrop click |
|
|
182
|
-
| `useCloseByEscapeKey` | `boolean` | Close on Escape |
|
|
183
|
-
| `float` | `boolean` | Float mode |
|
|
184
|
-
| `fill` | `boolean` | Fill mode |
|
|
185
|
-
| `resizable` | `boolean` | Enable resizing |
|
|
186
|
-
| `movable` | `boolean` | Enable moving |
|
|
187
|
-
| `position` | `"bottom-right" \| "top-right"` | Position preset |
|
|
188
|
-
| `minHeightPx` | `number` | Minimum height |
|
|
189
|
-
| `minWidthPx` | `number` | Minimum width |
|
|
190
|
-
| `heightPx` | `number` | Initial height |
|
|
191
|
-
| `widthPx` | `number` | Initial width |
|
|
192
|
-
| `headerStyle` | `string` | Header inline style |
|
|
193
|
-
| `noFirstControlFocusing` | `boolean` | Skip auto-focus |
|
package/docs/pipes.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Pipes
|
|
2
|
-
|
|
3
|
-
## `FormatPipe`
|
|
4
|
-
|
|
5
|
-
Formats `DateTime`, `DateOnly`, or string values using a format pattern.
|
|
6
|
-
|
|
7
|
-
Pipe name: `format`
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
@Pipe({ standalone: true, name: "format" })
|
|
11
|
-
class FormatPipe implements PipeTransform {
|
|
12
|
-
transform(value: string | DateTime | DateOnly | undefined, format: string): string;
|
|
13
|
-
}
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
Behavior:
|
|
17
|
-
- `null`/`undefined` returns `""`
|
|
18
|
-
- `DateTime`/`DateOnly` instances call `value.toFormatString(format)`
|
|
19
|
-
- Strings: the format pattern uses `X` as placeholders for characters. Multiple patterns can be separated by `|` and the one matching the value's length is used.
|
|
20
|
-
|
|
21
|
-
Usage:
|
|
22
|
-
```html
|
|
23
|
-
{{ dateValue | format: "yyyy-MM-dd" }}
|
|
24
|
-
{{ phoneNumber | format: "XXX-XXXX-XXXX|XX-XXX-XXXX" }}
|
|
25
|
-
```
|