@simplysm/angular 14.0.25 → 14.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/directives/{sd-events.directive.d.ts → sd-events.d.ts} +6 -6
- package/dist/core/directives/sd-events.d.ts.map +1 -0
- package/dist/core/directives/{sd-events.directive.js → sd-events.js} +4 -4
- package/dist/core/directives/sd-invalid.d.ts +8 -0
- package/dist/core/directives/sd-invalid.d.ts.map +1 -0
- package/dist/core/directives/{sd-invalid.directive.js → sd-invalid.js} +7 -7
- package/dist/core/directives/sd-item-of-template.d.ts +14 -0
- package/dist/core/directives/sd-item-of-template.d.ts.map +1 -0
- package/dist/core/directives/{sd-item-of-template.directive.js → sd-item-of-template.js} +4 -4
- package/dist/core/directives/sd-ripple.d.ts +8 -0
- package/dist/core/directives/sd-ripple.d.ts.map +1 -0
- package/dist/core/directives/{sd-ripple.directive.js → sd-ripple.js} +7 -7
- package/dist/core/directives/{sd-router-link.directive.d.ts → sd-router-link.d.ts} +4 -4
- package/dist/core/directives/sd-router-link.d.ts.map +1 -0
- package/dist/core/directives/{sd-router-link.directive.js → sd-router-link.js} +9 -9
- package/dist/core/directives/sd-show-effect.d.ts +9 -0
- package/dist/core/directives/sd-show-effect.d.ts.map +1 -0
- package/dist/core/directives/{sd-show-effect.directive.js → sd-show-effect.js} +7 -7
- package/dist/core/directives/sd-typed-template.d.ts +8 -0
- package/dist/core/directives/sd-typed-template.d.ts.map +1 -0
- package/dist/core/directives/{sd-typed-template.directive.js → sd-typed-template.js} +4 -4
- package/dist/core/plugins/events/sd-intersection-event.plugin.d.ts +2 -2
- package/dist/core/plugins/events/sd-intersection-event.plugin.d.ts.map +1 -1
- package/dist/core/plugins/events/sd-resize-event.plugin.d.ts +2 -2
- package/dist/core/plugins/events/sd-resize-event.plugin.d.ts.map +1 -1
- package/dist/core/providers/sd-activated-modal.provider.d.ts +2 -2
- package/dist/core/providers/sd-activated-modal.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-app-structure.provider.d.ts +11 -7
- package/dist/core/providers/sd-app-structure.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-app-structure.provider.js +18 -7
- package/dist/core/providers/sd-app-structure.types.d.ts +6 -37
- package/dist/core/providers/sd-app-structure.types.d.ts.map +1 -1
- package/dist/core/providers/sd-app-structure.utils.d.ts +8 -10
- package/dist/core/providers/sd-app-structure.utils.d.ts.map +1 -1
- package/dist/core/providers/sd-app-structure.utils.js +5 -86
- package/dist/core/providers/sd-busy.provider.d.ts +4 -4
- package/dist/core/providers/sd-busy.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-busy.provider.js +2 -2
- package/dist/core/providers/sd-print.provider.d.ts +7 -7
- package/dist/core/providers/sd-print.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-shared-data.provider.d.ts +5 -5
- package/dist/core/providers/sd-shared-data.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-toast.provider.d.ts +9 -9
- package/dist/core/providers/sd-toast.provider.d.ts.map +1 -1
- package/dist/core/providers/sd-toast.provider.js +5 -5
- package/dist/core/types/select-modal-output-result.d.ts +1 -1
- package/dist/core/types/select-modal-output-result.d.ts.map +1 -1
- package/dist/core/utils/{TDirectiveInputSignals.d.ts → directive-input-signals.d.ts} +5 -5
- package/dist/core/utils/directive-input-signals.d.ts.map +1 -0
- package/dist/core/utils/injectCurrentPageCodeSignal.d.ts +3 -0
- package/dist/core/utils/injectCurrentPageCodeSignal.d.ts.map +1 -0
- package/dist/core/utils/{useCurrentPageCodeSignal.js → injectCurrentPageCodeSignal.js} +1 -1
- package/dist/core/utils/injectFullPageCodeSignal.d.ts +3 -0
- package/dist/core/utils/injectFullPageCodeSignal.d.ts.map +1 -0
- package/dist/core/utils/{useFullPageCodeSignal.js → injectFullPageCodeSignal.js} +1 -1
- package/dist/core/utils/{useSdSystemConfigResource.d.ts → injectSdSystemConfigResource.d.ts} +2 -2
- package/dist/core/utils/injectSdSystemConfigResource.d.ts.map +1 -0
- package/dist/core/utils/{useSdSystemConfigResource.js → injectSdSystemConfigResource.js} +1 -1
- package/dist/core/utils/injectViewTitleSignal.d.ts +3 -0
- package/dist/core/utils/injectViewTitleSignal.d.ts.map +1 -0
- package/dist/core/utils/{useViewTitleSignal.js → injectViewTitleSignal.js} +11 -6
- package/dist/core/utils/injectViewTypeSignal.d.ts +4 -0
- package/dist/core/utils/injectViewTypeSignal.d.ts.map +1 -0
- package/dist/core/utils/{useViewTypeSignal.js → injectViewTypeSignal.js} +5 -5
- package/dist/core/utils/useExpandingManager.d.ts +3 -3
- package/dist/core/utils/useExpandingManager.d.ts.map +1 -1
- package/dist/core/utils/useSortingManager.d.ts +2 -2
- package/dist/core/utils/useSortingManager.d.ts.map +1 -1
- package/dist/features/address/sd-address-search.modal.d.ts +4 -4
- package/dist/features/address/sd-address-search.modal.d.ts.map +1 -1
- package/dist/features/address/sd-address-search.modal.js +3 -3
- package/dist/features/base/{sd-base-container.control.d.ts → sd-base-container.d.ts} +7 -7
- package/dist/features/base/sd-base-container.d.ts.map +1 -0
- package/dist/features/base/{sd-base-container.control.js → sd-base-container.js} +50 -43
- package/dist/features/data-view/{useDataSheetExcelManager.d.ts → injectDataSheetExcelManager.d.ts} +4 -4
- package/dist/features/data-view/injectDataSheetExcelManager.d.ts.map +1 -0
- package/dist/features/data-view/{useDataSheetExcelManager.js → injectDataSheetExcelManager.js} +1 -1
- package/dist/features/data-view/{useDataSheetInlineEditManager.d.ts → injectDataSheetInlineEditManager.d.ts} +4 -4
- package/dist/features/data-view/injectDataSheetInlineEditManager.d.ts.map +1 -0
- package/dist/features/data-view/{useDataSheetInlineEditManager.js → injectDataSheetInlineEditManager.js} +1 -1
- package/dist/features/data-view/{useDataSheetModalEditManager.d.ts → injectDataSheetModalEditManager.d.ts} +4 -4
- package/dist/features/data-view/injectDataSheetModalEditManager.d.ts.map +1 -0
- package/dist/features/data-view/{useDataSheetModalEditManager.js → injectDataSheetModalEditManager.js} +1 -1
- package/dist/features/data-view/{useDataSheetRefreshManager.d.ts → injectDataSheetRefreshManager.d.ts} +4 -4
- package/dist/features/data-view/injectDataSheetRefreshManager.d.ts.map +1 -0
- package/dist/features/data-view/{useDataSheetRefreshManager.js → injectDataSheetRefreshManager.js} +1 -1
- package/dist/features/data-view/sd-data-detail.base.d.ts +49 -0
- package/dist/features/data-view/sd-data-detail.base.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-detail.base.js +122 -0
- package/dist/features/data-view/sd-data-detail.d.ts +29 -0
- package/dist/features/data-view/sd-data-detail.d.ts.map +1 -0
- package/dist/features/data-view/{sd-data-detail.control.js → sd-data-detail.js} +80 -202
- package/dist/features/data-view/sd-data-select-button.base.d.ts +24 -0
- package/dist/features/data-view/sd-data-select-button.base.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-select-button.base.js +68 -0
- package/dist/features/data-view/sd-data-select-button.d.ts +15 -0
- package/dist/features/data-view/sd-data-select-button.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-select-button.js +152 -0
- package/dist/features/data-view/sd-data-sheet-column.d.ts +8 -0
- package/dist/features/data-view/sd-data-sheet-column.d.ts.map +1 -0
- package/dist/features/data-view/{sd-data-sheet-column.directive.js → sd-data-sheet-column.js} +5 -5
- package/dist/features/data-view/sd-data-sheet.base.d.ts +76 -0
- package/dist/features/data-view/sd-data-sheet.base.d.ts.map +1 -0
- package/dist/features/data-view/sd-data-sheet.base.js +196 -0
- package/dist/features/data-view/sd-data-sheet.d.ts +48 -0
- package/dist/features/data-view/sd-data-sheet.d.ts.map +1 -0
- package/dist/features/data-view/{sd-data-sheet.control.js → sd-data-sheet.js} +135 -330
- package/dist/features/data-view/sd-data-sheet.types.d.ts +3 -3
- package/dist/features/data-view/sd-data-sheet.types.d.ts.map +1 -1
- package/dist/features/data-view/setupCloserWhenSingleSelectionChange.d.ts +2 -2
- package/dist/features/data-view/setupCloserWhenSingleSelectionChange.d.ts.map +1 -1
- package/dist/features/permission-table/sd-permission-table.d.ts +32 -0
- package/dist/features/permission-table/sd-permission-table.d.ts.map +1 -0
- package/dist/features/permission-table/{sd-permission-table.control.js → sd-permission-table.js} +45 -45
- package/dist/features/shared-data/sd-shared-data-select-button.d.ts +16 -0
- package/dist/features/shared-data/sd-shared-data-select-button.d.ts.map +1 -0
- package/dist/features/shared-data/{sd-shared-data-select-button.control.js → sd-shared-data-select-button.js} +18 -17
- package/dist/features/shared-data/{sd-shared-data-select-list.control.d.ts → sd-shared-data-select-list.d.ts} +8 -8
- package/dist/features/shared-data/sd-shared-data-select-list.d.ts.map +1 -0
- package/dist/features/shared-data/{sd-shared-data-select-list.control.js → sd-shared-data-select-list.js} +58 -58
- package/dist/features/shared-data/{sd-shared-data-select.control.d.ts → sd-shared-data-select.d.ts} +13 -13
- package/dist/features/shared-data/sd-shared-data-select.d.ts.map +1 -0
- package/dist/features/shared-data/{sd-shared-data-select.control.js → sd-shared-data-select.js} +51 -51
- package/dist/index.d.ts +101 -98
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +86 -83
- package/dist/ui/data/list/sd-list-item.d.ts +20 -0
- package/dist/ui/data/list/sd-list-item.d.ts.map +1 -0
- package/dist/ui/data/list/{sd-list-item.control.js → sd-list-item.js} +26 -26
- package/dist/ui/data/list/sd-list.d.ts +7 -0
- package/dist/ui/data/list/sd-list.d.ts.map +1 -0
- package/dist/ui/data/list/{sd-list.control.js → sd-list.js} +6 -6
- package/dist/ui/data/sheet/injectSheetColumnResizing.d.ts +17 -0
- package/dist/ui/data/sheet/injectSheetColumnResizing.d.ts.map +1 -0
- package/dist/ui/data/sheet/{useSheetColumnResizing.js → injectSheetColumnResizing.js} +1 -1
- package/dist/ui/data/sheet/{useSheetDomAccessor.d.ts → injectSheetDomAccessor.d.ts} +2 -2
- package/dist/ui/data/sheet/injectSheetDomAccessor.d.ts.map +1 -0
- package/dist/ui/data/sheet/{useSheetDomAccessor.js → injectSheetDomAccessor.js} +1 -1
- package/dist/ui/data/sheet/{sd-sheet-column.directive.d.ts → sd-sheet-column.d.ts} +4 -4
- package/dist/ui/data/sheet/sd-sheet-column.d.ts.map +1 -0
- package/dist/ui/data/sheet/{sd-sheet-column.directive.js → sd-sheet-column.js} +4 -4
- package/dist/ui/data/sheet/sd-sheet-config.modal.d.ts +9 -9
- package/dist/ui/data/sheet/sd-sheet-config.modal.d.ts.map +1 -1
- package/dist/ui/data/sheet/sd-sheet-config.modal.js +4 -4
- package/dist/ui/data/sheet/{sd-sheet.control.d.ts → sd-sheet.d.ts} +26 -26
- package/dist/ui/data/sheet/sd-sheet.d.ts.map +1 -0
- package/dist/ui/data/sheet/{sd-sheet.control.js → sd-sheet.js} +82 -82
- package/dist/ui/data/sheet/types.d.ts +6 -6
- package/dist/ui/data/sheet/types.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetCellAgent.d.ts +2 -2
- package/dist/ui/data/sheet/useSheetCellAgent.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetCellStyling.d.ts +9 -9
- package/dist/ui/data/sheet/useSheetCellStyling.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetColumnFixing.d.ts +2 -2
- package/dist/ui/data/sheet/useSheetColumnFixing.d.ts.map +1 -1
- package/dist/ui/data/sheet/useSheetDisplayPipeline.d.ts +1 -1
- package/dist/ui/data/sheet/useSheetLayoutEngine.d.ts +6 -6
- package/dist/ui/data/sheet/useSheetLayoutEngine.d.ts.map +1 -1
- package/dist/ui/form/button/sd-additional-button.d.ts +8 -0
- package/dist/ui/form/button/sd-additional-button.d.ts.map +1 -0
- package/dist/ui/form/button/{sd-additional-button.control.js → sd-additional-button.js} +6 -6
- package/dist/ui/form/button/sd-anchor.d.ts +8 -0
- package/dist/ui/form/button/sd-anchor.d.ts.map +1 -0
- package/dist/ui/form/button/{sd-anchor.control.js → sd-anchor.js} +6 -6
- package/dist/ui/form/button/{sd-button.control.d.ts → sd-button.d.ts} +4 -4
- package/dist/ui/form/button/sd-button.d.ts.map +1 -0
- package/dist/ui/form/button/{sd-button.control.js → sd-button.js} +11 -11
- package/dist/ui/form/button/sd-modal-select-button.d.ts +38 -0
- package/dist/ui/form/button/sd-modal-select-button.d.ts.map +1 -0
- package/dist/ui/form/button/{sd-modal-select-button.control.js → sd-modal-select-button.js} +16 -16
- package/dist/ui/form/checkbox/{sd-checkbox-group-item.control.d.ts → sd-checkbox-group-item.d.ts} +4 -4
- package/dist/ui/form/checkbox/sd-checkbox-group-item.d.ts.map +1 -0
- package/dist/ui/form/checkbox/{sd-checkbox-group-item.control.js → sd-checkbox-group-item.js} +11 -11
- package/dist/ui/form/checkbox/sd-checkbox-group.d.ts +8 -0
- package/dist/ui/form/checkbox/sd-checkbox-group.d.ts.map +1 -0
- package/dist/ui/form/checkbox/{sd-checkbox-group.control.js → sd-checkbox-group.js} +5 -5
- package/dist/ui/form/checkbox/sd-checkbox.d.ts +19 -0
- package/dist/ui/form/checkbox/sd-checkbox.d.ts.map +1 -0
- package/dist/ui/form/checkbox/{sd-checkbox.control.js → sd-checkbox.js} +10 -10
- package/dist/ui/form/checkbox/sd-switch.d.ts +14 -0
- package/dist/ui/form/checkbox/sd-switch.d.ts.map +1 -0
- package/dist/ui/form/checkbox/{sd-switch.control.js → sd-switch.js} +7 -7
- package/dist/ui/form/choice/{sd-state-preset.control.d.ts → sd-state-preset.d.ts} +9 -9
- package/dist/ui/form/choice/sd-state-preset.d.ts.map +1 -0
- package/dist/ui/form/choice/{sd-state-preset.control.js → sd-state-preset.js} +21 -21
- package/dist/ui/form/editor/{sd-tiptap-editor.control.d.ts → sd-tiptap-editor.d.ts} +4 -4
- package/dist/ui/form/editor/sd-tiptap-editor.d.ts.map +1 -0
- package/dist/ui/form/editor/{sd-tiptap-editor.control.js → sd-tiptap-editor.js} +33 -33
- package/dist/ui/form/input/sd-date-range.picker.js +6 -6
- package/dist/ui/form/input/{sd-numpad.control.d.ts → sd-numpad.d.ts} +4 -4
- package/dist/ui/form/input/sd-numpad.d.ts.map +1 -0
- package/dist/ui/form/input/{sd-numpad.control.js → sd-numpad.js} +25 -25
- package/dist/ui/form/input/sd-range.d.ts +13 -0
- package/dist/ui/form/input/sd-range.d.ts.map +1 -0
- package/dist/ui/form/input/{sd-range.control.js → sd-range.js} +10 -10
- package/dist/ui/form/input/sd-textarea.d.ts +23 -0
- package/dist/ui/form/input/sd-textarea.d.ts.map +1 -0
- package/dist/ui/form/input/{sd-textarea.control.js → sd-textarea.js} +13 -13
- package/dist/ui/form/input/sd-textfield-type-handlers.d.ts +12 -12
- package/dist/ui/form/input/sd-textfield-type-handlers.d.ts.map +1 -1
- package/dist/ui/form/input/sd-textfield.d.ts +39 -0
- package/dist/ui/form/input/sd-textfield.d.ts.map +1 -0
- package/dist/ui/form/input/{sd-textfield.control.js → sd-textfield.js} +16 -16
- package/dist/ui/form/{sd-form.control.d.ts → sd-form.d.ts} +4 -4
- package/dist/ui/form/sd-form.d.ts.map +1 -0
- package/dist/ui/form/{sd-form.control.js → sd-form.js} +7 -7
- package/dist/ui/form/select/sd-select-button.d.ts +7 -0
- package/dist/ui/form/select/sd-select-button.d.ts.map +1 -0
- package/dist/ui/form/select/{sd-select-button.control.js → sd-select-button.js} +6 -6
- package/dist/ui/form/select/sd-select-item.d.ts +18 -0
- package/dist/ui/form/select/sd-select-item.d.ts.map +1 -0
- package/dist/ui/form/select/{sd-select-item.control.js → sd-select-item.js} +15 -15
- package/dist/ui/form/select/{sd-select.control.d.ts → sd-select.d.ts} +8 -8
- package/dist/ui/form/select/sd-select.d.ts.map +1 -0
- package/dist/ui/form/select/{sd-select.control.js → sd-select.js} +62 -62
- package/dist/ui/layout/dock/sd-dock-container.d.ts +12 -0
- package/dist/ui/layout/dock/sd-dock-container.d.ts.map +1 -0
- package/dist/ui/layout/dock/{sd-dock-container.control.js → sd-dock-container.js} +11 -11
- package/dist/ui/layout/dock/sd-dock.d.ts +19 -0
- package/dist/ui/layout/dock/sd-dock.d.ts.map +1 -0
- package/dist/ui/layout/dock/{sd-dock.control.js → sd-dock.js} +12 -12
- package/dist/ui/layout/kanban/sd-kanban-board.d.ts +24 -0
- package/dist/ui/layout/kanban/sd-kanban-board.d.ts.map +1 -0
- package/dist/ui/layout/kanban/{sd-kanban-board.control.js → sd-kanban-board.js} +7 -7
- package/dist/ui/layout/kanban/{sd-kanban-lane.control.d.ts → sd-kanban-lane.d.ts} +8 -8
- package/dist/ui/layout/kanban/sd-kanban-lane.d.ts.map +1 -0
- package/dist/ui/layout/kanban/{sd-kanban-lane.control.js → sd-kanban-lane.js} +37 -37
- package/dist/ui/layout/kanban/{sd-kanban.control.d.ts → sd-kanban.d.ts} +8 -8
- package/dist/ui/layout/kanban/sd-kanban.d.ts.map +1 -0
- package/dist/ui/layout/kanban/{sd-kanban.control.js → sd-kanban.js} +17 -17
- package/dist/ui/layout/sd-card.d.ts +6 -0
- package/dist/ui/layout/sd-card.d.ts.map +1 -0
- package/dist/ui/layout/{sd-card.directive.js → sd-card.js} +5 -5
- package/dist/ui/layout/sd-gap.d.ts +12 -0
- package/dist/ui/layout/sd-gap.d.ts.map +1 -0
- package/dist/ui/layout/{sd-gap.control.js → sd-gap.js} +6 -6
- package/dist/ui/layout/sd-pane.d.ts +6 -0
- package/dist/ui/layout/sd-pane.d.ts.map +1 -0
- package/dist/ui/layout/{sd-pane.directive.js → sd-pane.js} +5 -5
- package/dist/ui/layout/view/sd-view-item.d.ts +9 -0
- package/dist/ui/layout/view/sd-view-item.d.ts.map +1 -0
- package/dist/ui/layout/view/{sd-view-item.control.js → sd-view-item.js} +8 -8
- package/dist/ui/layout/view/sd-view.d.ts +8 -0
- package/dist/ui/layout/view/sd-view.d.ts.map +1 -0
- package/dist/ui/layout/view/{sd-view.control.js → sd-view.js} +6 -6
- package/dist/ui/navigation/collapse/sd-collapse-icon.d.ts +13 -0
- package/dist/ui/navigation/collapse/sd-collapse-icon.d.ts.map +1 -0
- package/dist/ui/navigation/collapse/{sd-collapse-icon.control.js → sd-collapse-icon.js} +6 -6
- package/dist/ui/navigation/collapse/sd-collapse.d.ts +14 -0
- package/dist/ui/navigation/collapse/sd-collapse.d.ts.map +1 -0
- package/dist/ui/navigation/collapse/{sd-collapse.control.js → sd-collapse.js} +7 -7
- package/dist/ui/navigation/menu-utils.d.ts +4 -4
- package/dist/ui/navigation/menu-utils.d.ts.map +1 -1
- package/dist/ui/navigation/pagination/{sd-pagination.control.d.ts → sd-pagination.d.ts} +4 -4
- package/dist/ui/navigation/pagination/sd-pagination.d.ts.map +1 -0
- package/dist/ui/navigation/pagination/{sd-pagination.control.js → sd-pagination.js} +15 -15
- package/dist/ui/navigation/sidebar/{sd-sidebar-container.control.d.ts → sd-sidebar-container.d.ts} +4 -4
- package/dist/ui/navigation/sidebar/sd-sidebar-container.d.ts.map +1 -0
- package/dist/ui/navigation/sidebar/{sd-sidebar-container.control.js → sd-sidebar-container.js} +7 -7
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.d.ts +22 -0
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.d.ts.map +1 -0
- package/dist/ui/navigation/sidebar/{sd-sidebar-menu.control.js → sd-sidebar-menu.js} +35 -35
- package/dist/ui/navigation/sidebar/sd-sidebar-user.d.ts +16 -0
- package/dist/ui/navigation/sidebar/sd-sidebar-user.d.ts.map +1 -0
- package/dist/ui/navigation/sidebar/{sd-sidebar-user.control.js → sd-sidebar-user.js} +30 -30
- package/dist/ui/navigation/sidebar/sd-sidebar.d.ts +8 -0
- package/dist/ui/navigation/sidebar/sd-sidebar.d.ts.map +1 -0
- package/dist/ui/navigation/sidebar/{sd-sidebar.control.js → sd-sidebar.js} +8 -8
- package/dist/ui/navigation/tab/sd-tab-item.d.ts +10 -0
- package/dist/ui/navigation/tab/sd-tab-item.d.ts.map +1 -0
- package/dist/ui/navigation/tab/{sd-tab-item.control.js → sd-tab-item.js} +9 -9
- package/dist/ui/navigation/tab/sd-tab.d.ts +7 -0
- package/dist/ui/navigation/tab/sd-tab.d.ts.map +1 -0
- package/dist/ui/navigation/tab/{sd-tab.control.js → sd-tab.js} +5 -5
- package/dist/ui/navigation/tab/sd-tabview-item.d.ts +10 -0
- package/dist/ui/navigation/tab/sd-tabview-item.d.ts.map +1 -0
- package/dist/ui/navigation/tab/{sd-tabview-item.control.js → sd-tabview-item.js} +8 -8
- package/dist/ui/navigation/tab/sd-tabview.d.ts +9 -0
- package/dist/ui/navigation/tab/sd-tabview.d.ts.map +1 -0
- package/dist/ui/navigation/tab/{sd-tabview.control.js → sd-tabview.js} +17 -17
- package/dist/ui/navigation/topbar/sd-topbar-container.d.ts +6 -0
- package/dist/ui/navigation/topbar/sd-topbar-container.d.ts.map +1 -0
- package/dist/ui/navigation/topbar/{sd-topbar-container.control.js → sd-topbar-container.js} +5 -5
- package/dist/ui/navigation/topbar/sd-topbar-menu.d.ts +23 -0
- package/dist/ui/navigation/topbar/sd-topbar-menu.d.ts.map +1 -0
- package/dist/ui/navigation/topbar/{sd-topbar-menu.control.js → sd-topbar-menu.js} +56 -56
- package/dist/ui/navigation/topbar/sd-topbar-user.d.ts +13 -0
- package/dist/ui/navigation/topbar/sd-topbar-user.d.ts.map +1 -0
- package/dist/ui/navigation/topbar/{sd-topbar-user.control.js → sd-topbar-user.js} +27 -27
- package/dist/ui/navigation/topbar/{sd-topbar.control.d.ts → sd-topbar.d.ts} +6 -6
- package/dist/ui/navigation/topbar/sd-topbar.d.ts.map +1 -0
- package/dist/ui/navigation/topbar/{sd-topbar.control.js → sd-topbar.js} +13 -13
- package/dist/ui/overlay/busy/sd-busy-container.d.ts +14 -0
- package/dist/ui/overlay/busy/sd-busy-container.d.ts.map +1 -0
- package/dist/ui/overlay/busy/{sd-busy-container.control.js → sd-busy-container.js} +16 -16
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.d.ts +8 -0
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.d.ts.map +1 -0
- package/dist/ui/overlay/dropdown/{sd-dropdown-popup.control.js → sd-dropdown-popup.js} +9 -9
- package/dist/ui/overlay/dropdown/{sd-dropdown.control.d.ts → sd-dropdown.d.ts} +4 -4
- package/dist/ui/overlay/dropdown/sd-dropdown.d.ts.map +1 -0
- package/dist/ui/overlay/dropdown/{sd-dropdown.control.js → sd-dropdown.js} +12 -12
- package/dist/ui/overlay/modal/sd-confirm-modal.d.ts +17 -0
- package/dist/ui/overlay/modal/sd-confirm-modal.d.ts.map +1 -0
- package/dist/ui/overlay/modal/{sd-confirm-modal.control.js → sd-confirm-modal.js} +11 -11
- package/dist/ui/overlay/modal/{sd-modal.control.d.ts → sd-modal.d.ts} +4 -4
- package/dist/ui/overlay/modal/sd-modal.d.ts.map +1 -0
- package/dist/ui/overlay/modal/{sd-modal.control.js → sd-modal.js} +28 -28
- package/dist/ui/overlay/modal/sd-modal.provider.d.ts +8 -8
- package/dist/ui/overlay/modal/sd-modal.provider.d.ts.map +1 -1
- package/dist/ui/overlay/modal/sd-modal.provider.js +4 -4
- package/dist/ui/overlay/modal/sd-prompt-modal.d.ts +19 -0
- package/dist/ui/overlay/modal/sd-prompt-modal.d.ts.map +1 -0
- package/dist/ui/overlay/modal/{sd-prompt-modal.control.js → sd-prompt-modal.js} +13 -13
- package/dist/ui/overlay/toast/sd-toast-container.d.ts +7 -0
- package/dist/ui/overlay/toast/sd-toast-container.d.ts.map +1 -0
- package/dist/ui/overlay/toast/{sd-toast-container.control.js → sd-toast-container.js} +6 -6
- package/dist/ui/overlay/toast/sd-toast.d.ts +14 -0
- package/dist/ui/overlay/toast/sd-toast.d.ts.map +1 -0
- package/dist/ui/overlay/toast/{sd-toast.control.js → sd-toast.js} +10 -10
- package/dist/ui/visual/sd-barcode.d.ts +11 -0
- package/dist/ui/visual/sd-barcode.d.ts.map +1 -0
- package/dist/ui/visual/{sd-barcode.control.js → sd-barcode.js} +5 -5
- package/dist/ui/visual/{sd-calendar.control.d.ts → sd-calendar.d.ts} +5 -5
- package/dist/ui/visual/sd-calendar.d.ts.map +1 -0
- package/dist/ui/visual/{sd-calendar.control.js → sd-calendar.js} +18 -18
- package/dist/ui/visual/sd-echarts.d.ts +13 -0
- package/dist/ui/visual/sd-echarts.d.ts.map +1 -0
- package/dist/ui/visual/{sd-echarts.control.js → sd-echarts.js} +7 -7
- package/dist/ui/visual/sd-label.d.ts +9 -0
- package/dist/ui/visual/sd-label.d.ts.map +1 -0
- package/dist/ui/visual/{sd-label.control.js → sd-label.js} +6 -6
- package/dist/ui/visual/sd-note.d.ts +9 -0
- package/dist/ui/visual/sd-note.d.ts.map +1 -0
- package/dist/ui/visual/{sd-note.control.js → sd-note.js} +6 -6
- package/dist/ui/visual/sd-progress.d.ts +11 -0
- package/dist/ui/visual/sd-progress.d.ts.map +1 -0
- package/dist/ui/visual/{sd-progress.control.js → sd-progress.js} +6 -6
- package/package.json +5 -5
- package/src/core/directives/{sd-events.directive.ts → sd-events.ts} +3 -3
- package/src/core/directives/{sd-invalid.directive.ts → sd-invalid.ts} +3 -3
- package/src/core/directives/{sd-item-of-template.directive.ts → sd-item-of-template.ts} +2 -2
- package/src/core/directives/{sd-ripple.directive.ts → sd-ripple.ts} +3 -3
- package/src/core/directives/{sd-router-link.directive.ts → sd-router-link.ts} +3 -3
- package/src/core/directives/{sd-show-effect.directive.ts → sd-show-effect.ts} +3 -3
- package/src/core/directives/{sd-typed-template.directive.ts → sd-typed-template.ts} +2 -2
- package/src/core/plugins/events/sd-intersection-event.plugin.ts +2 -2
- package/src/core/plugins/events/sd-resize-event.plugin.ts +2 -2
- package/src/core/providers/sd-activated-modal.provider.ts +2 -2
- package/src/core/providers/sd-app-structure.provider.ts +28 -11
- package/src/core/providers/sd-app-structure.types.ts +12 -43
- package/src/core/providers/sd-app-structure.utils.ts +29 -140
- package/src/core/providers/sd-busy.provider.ts +6 -6
- package/src/core/providers/sd-print.provider.ts +11 -11
- package/src/core/providers/sd-shared-data.provider.ts +10 -10
- package/src/core/providers/sd-toast.provider.ts +22 -22
- package/src/core/types/select-modal-output-result.ts +1 -1
- package/src/core/utils/{TDirectiveInputSignals.ts → directive-input-signals.ts} +4 -4
- package/src/core/utils/{useCurrentPageCodeSignal.ts → injectCurrentPageCodeSignal.ts} +1 -1
- package/src/core/utils/{useFullPageCodeSignal.ts → injectFullPageCodeSignal.ts} +1 -1
- package/src/core/utils/{useSdSystemConfigResource.ts → injectSdSystemConfigResource.ts} +1 -1
- package/src/core/utils/{useViewTitleSignal.ts → injectViewTitleSignal.ts} +10 -6
- package/src/core/utils/{useViewTypeSignal.ts → injectViewTypeSignal.ts} +7 -7
- package/src/core/utils/useExpandingManager.ts +8 -8
- package/src/core/utils/useSortingManager.ts +2 -2
- package/src/features/address/sd-address-search.modal.ts +9 -9
- package/src/features/base/{sd-base-container.control.ts → sd-base-container.ts} +27 -22
- package/src/features/data-view/{useDataSheetExcelManager.ts → injectDataSheetExcelManager.ts} +3 -3
- package/src/features/data-view/{useDataSheetInlineEditManager.ts → injectDataSheetInlineEditManager.ts} +3 -3
- package/src/features/data-view/{useDataSheetModalEditManager.ts → injectDataSheetModalEditManager.ts} +3 -3
- package/src/features/data-view/{useDataSheetRefreshManager.ts → injectDataSheetRefreshManager.ts} +3 -3
- package/src/features/data-view/sd-data-detail.base.ts +183 -0
- package/src/features/data-view/{sd-data-detail.control.ts → sd-data-detail.ts} +14 -198
- package/src/features/data-view/sd-data-select-button.base.ts +104 -0
- package/src/features/data-view/sd-data-select-button.ts +105 -0
- package/src/features/data-view/{sd-data-sheet-column.directive.ts → sd-data-sheet-column.ts} +2 -2
- package/src/features/data-view/sd-data-sheet.base.ts +305 -0
- package/src/features/data-view/{sd-data-sheet.control.ts → sd-data-sheet.ts} +19 -323
- package/src/features/data-view/sd-data-sheet.types.ts +3 -3
- package/src/features/data-view/setupCloserWhenSingleSelectionChange.ts +2 -2
- package/src/features/permission-table/{sd-permission-table.control.ts → sd-permission-table.ts} +26 -26
- package/src/features/shared-data/{sd-shared-data-select-button.control.ts → sd-shared-data-select-button.ts} +17 -19
- package/src/features/shared-data/{sd-shared-data-select-list.control.ts → sd-shared-data-select-list.ts} +21 -21
- package/src/features/shared-data/{sd-shared-data-select.control.ts → sd-shared-data-select.ts} +27 -27
- package/src/index.ts +139 -141
- package/src/ui/data/list/{sd-list-item.control.ts → sd-list-item.ts} +6 -6
- package/src/ui/data/list/{sd-list.control.ts → sd-list.ts} +1 -1
- package/src/ui/data/sheet/{useSheetColumnResizing.ts → injectSheetColumnResizing.ts} +9 -9
- package/src/ui/data/sheet/{useSheetDomAccessor.ts → injectSheetDomAccessor.ts} +1 -1
- package/src/ui/data/sheet/{sd-sheet-column.directive.ts → sd-sheet-column.ts} +1 -1
- package/src/ui/data/sheet/sd-sheet-config.modal.ts +15 -15
- package/src/ui/data/sheet/{sd-sheet.control.ts → sd-sheet.ts} +27 -27
- package/src/ui/data/sheet/types.ts +6 -6
- package/src/ui/data/sheet/useSheetCellAgent.ts +2 -2
- package/src/ui/data/sheet/useSheetCellStyling.ts +10 -10
- package/src/ui/data/sheet/useSheetColumnFixing.ts +2 -2
- package/src/ui/data/sheet/useSheetLayoutEngine.ts +8 -8
- package/src/ui/form/button/{sd-additional-button.control.ts → sd-additional-button.ts} +1 -1
- package/src/ui/form/button/{sd-anchor.control.ts → sd-anchor.ts} +1 -1
- package/src/ui/form/button/{sd-button.control.ts → sd-button.ts} +4 -4
- package/src/ui/form/button/{sd-modal-select-button.control.ts → sd-modal-select-button.ts} +16 -16
- package/src/ui/form/checkbox/{sd-checkbox-group-item.control.ts → sd-checkbox-group-item.ts} +6 -6
- package/src/ui/form/checkbox/{sd-checkbox-group.control.ts → sd-checkbox-group.ts} +1 -1
- package/src/ui/form/checkbox/{sd-checkbox.control.ts → sd-checkbox.ts} +1 -1
- package/src/ui/form/checkbox/{sd-switch.control.ts → sd-switch.ts} +1 -1
- package/src/ui/form/choice/{sd-state-preset.control.ts → sd-state-preset.ts} +14 -14
- package/src/ui/form/editor/{sd-tiptap-editor.control.ts → sd-tiptap-editor.ts} +1 -1
- package/src/ui/form/input/sd-date-range.picker.ts +5 -5
- package/src/ui/form/input/{sd-numpad.control.ts → sd-numpad.ts} +4 -4
- package/src/ui/form/input/{sd-range.control.ts → sd-range.ts} +6 -6
- package/src/ui/form/input/{sd-textarea.control.ts → sd-textarea.ts} +1 -1
- package/src/ui/form/input/sd-textfield-type-handlers.ts +18 -18
- package/src/ui/form/input/{sd-textfield.control.ts → sd-textfield.ts} +8 -8
- package/src/ui/form/{sd-form.control.ts → sd-form.ts} +1 -1
- package/src/ui/form/select/{sd-select-button.control.ts → sd-select-button.ts} +1 -1
- package/src/ui/form/select/{sd-select-item.control.ts → sd-select-item.ts} +7 -7
- package/src/ui/form/select/{sd-select.control.ts → sd-select.ts} +21 -21
- package/src/ui/layout/dock/{sd-dock-container.control.ts → sd-dock-container.ts} +3 -3
- package/src/ui/layout/dock/{sd-dock.control.ts → sd-dock.ts} +5 -5
- package/src/ui/layout/kanban/{sd-kanban-board.control.ts → sd-kanban-board.ts} +7 -7
- package/src/ui/layout/kanban/{sd-kanban-lane.control.ts → sd-kanban-lane.ts} +12 -12
- package/src/ui/layout/kanban/{sd-kanban.control.ts → sd-kanban.ts} +15 -15
- package/src/ui/layout/{sd-card.directive.ts → sd-card.ts} +2 -2
- package/src/ui/layout/{sd-gap.control.ts → sd-gap.ts} +1 -1
- package/src/ui/layout/{sd-pane.directive.ts → sd-pane.ts} +2 -2
- package/src/ui/layout/view/{sd-view-item.control.ts → sd-view-item.ts} +3 -3
- package/src/ui/layout/view/{sd-view.control.ts → sd-view.ts} +1 -1
- package/src/ui/navigation/collapse/{sd-collapse-icon.control.ts → sd-collapse-icon.ts} +1 -1
- package/src/ui/navigation/collapse/{sd-collapse.control.ts → sd-collapse.ts} +3 -3
- package/src/ui/navigation/menu-utils.ts +5 -5
- package/src/ui/navigation/pagination/{sd-pagination.control.ts → sd-pagination.ts} +3 -3
- package/src/ui/navigation/sidebar/{sd-sidebar-container.control.ts → sd-sidebar-container.ts} +1 -1
- package/src/ui/navigation/sidebar/{sd-sidebar-menu.control.ts → sd-sidebar-menu.ts} +19 -19
- package/src/ui/navigation/sidebar/{sd-sidebar-user.control.ts → sd-sidebar-user.ts} +14 -14
- package/src/ui/navigation/sidebar/{sd-sidebar.control.ts → sd-sidebar.ts} +4 -4
- package/src/ui/navigation/tab/{sd-tab-item.control.ts → sd-tab-item.ts} +3 -3
- package/src/ui/navigation/tab/{sd-tab.control.ts → sd-tab.ts} +1 -1
- package/src/ui/navigation/tab/{sd-tabview-item.control.ts → sd-tabview-item.ts} +4 -4
- package/src/ui/navigation/tab/{sd-tabview.control.ts → sd-tabview.ts} +6 -6
- package/src/ui/navigation/topbar/{sd-topbar-container.control.ts → sd-topbar-container.ts} +1 -1
- package/src/ui/navigation/topbar/{sd-topbar-menu.control.ts → sd-topbar-menu.ts} +26 -26
- package/src/ui/navigation/topbar/{sd-topbar-user.control.ts → sd-topbar-user.ts} +15 -15
- package/src/ui/navigation/topbar/{sd-topbar.control.ts → sd-topbar.ts} +6 -6
- package/src/ui/overlay/busy/{sd-busy-container.control.ts → sd-busy-container.ts} +3 -3
- package/src/ui/overlay/dropdown/{sd-dropdown-popup.control.ts → sd-dropdown-popup.ts} +4 -4
- package/src/ui/overlay/dropdown/{sd-dropdown.control.ts → sd-dropdown.ts} +4 -4
- package/src/ui/overlay/modal/{sd-confirm-modal.control.ts → sd-confirm-modal.ts} +5 -5
- package/src/ui/overlay/modal/sd-modal.provider.ts +18 -18
- package/src/ui/overlay/modal/{sd-modal.control.ts → sd-modal.ts} +1 -1
- package/src/ui/overlay/modal/{sd-prompt-modal.control.ts → sd-prompt-modal.ts} +6 -6
- package/src/ui/overlay/toast/{sd-toast-container.control.ts → sd-toast-container.ts} +1 -1
- package/src/ui/overlay/toast/{sd-toast.control.ts → sd-toast.ts} +3 -3
- package/src/ui/visual/{sd-barcode.control.ts → sd-barcode.ts} +3 -3
- package/src/ui/visual/{sd-calendar.control.ts → sd-calendar.ts} +4 -4
- package/src/ui/visual/{sd-echarts.control.ts → sd-echarts.ts} +1 -1
- package/src/ui/visual/{sd-label.control.ts → sd-label.ts} +1 -1
- package/src/ui/visual/{sd-note.control.ts → sd-note.ts} +1 -1
- package/src/ui/visual/{sd-progress.control.ts → sd-progress.ts} +1 -1
- package/dist/core/directives/sd-events.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-invalid.directive.d.ts +0 -8
- package/dist/core/directives/sd-invalid.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-item-of-template.directive.d.ts +0 -14
- package/dist/core/directives/sd-item-of-template.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-ripple.directive.d.ts +0 -8
- package/dist/core/directives/sd-ripple.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-router-link.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-show-effect.directive.d.ts +0 -9
- package/dist/core/directives/sd-show-effect.directive.d.ts.map +0 -1
- package/dist/core/directives/sd-typed-template.directive.d.ts +0 -8
- package/dist/core/directives/sd-typed-template.directive.d.ts.map +0 -1
- package/dist/core/utils/TDirectiveInputSignals.d.ts.map +0 -1
- package/dist/core/utils/useCurrentPageCodeSignal.d.ts +0 -3
- package/dist/core/utils/useCurrentPageCodeSignal.d.ts.map +0 -1
- package/dist/core/utils/useFullPageCodeSignal.d.ts +0 -3
- package/dist/core/utils/useFullPageCodeSignal.d.ts.map +0 -1
- package/dist/core/utils/useSdSystemConfigResource.d.ts.map +0 -1
- package/dist/core/utils/useViewTitleSignal.d.ts +0 -3
- package/dist/core/utils/useViewTitleSignal.d.ts.map +0 -1
- package/dist/core/utils/useViewTypeSignal.d.ts +0 -4
- package/dist/core/utils/useViewTypeSignal.d.ts.map +0 -1
- package/dist/features/base/sd-base-container.control.d.ts.map +0 -1
- package/dist/features/data-view/sd-data-detail.control.d.ts +0 -73
- package/dist/features/data-view/sd-data-detail.control.d.ts.map +0 -1
- package/dist/features/data-view/sd-data-select-button.control.d.ts +0 -35
- package/dist/features/data-view/sd-data-select-button.control.d.ts.map +0 -1
- package/dist/features/data-view/sd-data-select-button.control.js +0 -219
- package/dist/features/data-view/sd-data-sheet-column.directive.d.ts +0 -8
- package/dist/features/data-view/sd-data-sheet-column.directive.d.ts.map +0 -1
- package/dist/features/data-view/sd-data-sheet.control.d.ts +0 -120
- package/dist/features/data-view/sd-data-sheet.control.d.ts.map +0 -1
- package/dist/features/data-view/useDataSheetExcelManager.d.ts.map +0 -1
- package/dist/features/data-view/useDataSheetInlineEditManager.d.ts.map +0 -1
- package/dist/features/data-view/useDataSheetModalEditManager.d.ts.map +0 -1
- package/dist/features/data-view/useDataSheetRefreshManager.d.ts.map +0 -1
- package/dist/features/permission-table/sd-permission-table.control.d.ts +0 -32
- package/dist/features/permission-table/sd-permission-table.control.d.ts.map +0 -1
- package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts +0 -16
- package/dist/features/shared-data/sd-shared-data-select-button.control.d.ts.map +0 -1
- package/dist/features/shared-data/sd-shared-data-select-list.control.d.ts.map +0 -1
- package/dist/features/shared-data/sd-shared-data-select.control.d.ts.map +0 -1
- package/dist/ui/data/list/sd-list-item.control.d.ts +0 -20
- package/dist/ui/data/list/sd-list-item.control.d.ts.map +0 -1
- package/dist/ui/data/list/sd-list.control.d.ts +0 -7
- package/dist/ui/data/list/sd-list.control.d.ts.map +0 -1
- package/dist/ui/data/sheet/sd-sheet-column.directive.d.ts.map +0 -1
- package/dist/ui/data/sheet/sd-sheet.control.d.ts.map +0 -1
- package/dist/ui/data/sheet/useSheetColumnResizing.d.ts +0 -17
- package/dist/ui/data/sheet/useSheetColumnResizing.d.ts.map +0 -1
- package/dist/ui/data/sheet/useSheetDomAccessor.d.ts.map +0 -1
- package/dist/ui/form/button/sd-additional-button.control.d.ts +0 -8
- package/dist/ui/form/button/sd-additional-button.control.d.ts.map +0 -1
- package/dist/ui/form/button/sd-anchor.control.d.ts +0 -8
- package/dist/ui/form/button/sd-anchor.control.d.ts.map +0 -1
- package/dist/ui/form/button/sd-button.control.d.ts.map +0 -1
- package/dist/ui/form/button/sd-modal-select-button.control.d.ts +0 -38
- package/dist/ui/form/button/sd-modal-select-button.control.d.ts.map +0 -1
- package/dist/ui/form/checkbox/sd-checkbox-group-item.control.d.ts.map +0 -1
- package/dist/ui/form/checkbox/sd-checkbox-group.control.d.ts +0 -8
- package/dist/ui/form/checkbox/sd-checkbox-group.control.d.ts.map +0 -1
- package/dist/ui/form/checkbox/sd-checkbox.control.d.ts +0 -19
- package/dist/ui/form/checkbox/sd-checkbox.control.d.ts.map +0 -1
- package/dist/ui/form/checkbox/sd-switch.control.d.ts +0 -14
- package/dist/ui/form/checkbox/sd-switch.control.d.ts.map +0 -1
- package/dist/ui/form/choice/sd-state-preset.control.d.ts.map +0 -1
- package/dist/ui/form/editor/sd-tiptap-editor.control.d.ts.map +0 -1
- package/dist/ui/form/input/sd-numpad.control.d.ts.map +0 -1
- package/dist/ui/form/input/sd-range.control.d.ts +0 -13
- package/dist/ui/form/input/sd-range.control.d.ts.map +0 -1
- package/dist/ui/form/input/sd-textarea.control.d.ts +0 -23
- package/dist/ui/form/input/sd-textarea.control.d.ts.map +0 -1
- package/dist/ui/form/input/sd-textfield.control.d.ts +0 -39
- package/dist/ui/form/input/sd-textfield.control.d.ts.map +0 -1
- package/dist/ui/form/sd-form.control.d.ts.map +0 -1
- package/dist/ui/form/select/sd-select-button.control.d.ts +0 -7
- package/dist/ui/form/select/sd-select-button.control.d.ts.map +0 -1
- package/dist/ui/form/select/sd-select-item.control.d.ts +0 -18
- package/dist/ui/form/select/sd-select-item.control.d.ts.map +0 -1
- package/dist/ui/form/select/sd-select.control.d.ts.map +0 -1
- package/dist/ui/layout/dock/sd-dock-container.control.d.ts +0 -12
- package/dist/ui/layout/dock/sd-dock-container.control.d.ts.map +0 -1
- package/dist/ui/layout/dock/sd-dock.control.d.ts +0 -19
- package/dist/ui/layout/dock/sd-dock.control.d.ts.map +0 -1
- package/dist/ui/layout/kanban/sd-kanban-board.control.d.ts +0 -24
- package/dist/ui/layout/kanban/sd-kanban-board.control.d.ts.map +0 -1
- package/dist/ui/layout/kanban/sd-kanban-lane.control.d.ts.map +0 -1
- package/dist/ui/layout/kanban/sd-kanban.control.d.ts.map +0 -1
- package/dist/ui/layout/sd-card.directive.d.ts +0 -6
- package/dist/ui/layout/sd-card.directive.d.ts.map +0 -1
- package/dist/ui/layout/sd-gap.control.d.ts +0 -12
- package/dist/ui/layout/sd-gap.control.d.ts.map +0 -1
- package/dist/ui/layout/sd-pane.directive.d.ts +0 -6
- package/dist/ui/layout/sd-pane.directive.d.ts.map +0 -1
- package/dist/ui/layout/view/sd-view-item.control.d.ts +0 -9
- package/dist/ui/layout/view/sd-view-item.control.d.ts.map +0 -1
- package/dist/ui/layout/view/sd-view.control.d.ts +0 -8
- package/dist/ui/layout/view/sd-view.control.d.ts.map +0 -1
- package/dist/ui/navigation/collapse/sd-collapse-icon.control.d.ts +0 -13
- package/dist/ui/navigation/collapse/sd-collapse-icon.control.d.ts.map +0 -1
- package/dist/ui/navigation/collapse/sd-collapse.control.d.ts +0 -14
- package/dist/ui/navigation/collapse/sd-collapse.control.d.ts.map +0 -1
- package/dist/ui/navigation/pagination/sd-pagination.control.d.ts.map +0 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-container.control.d.ts.map +0 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.d.ts +0 -22
- package/dist/ui/navigation/sidebar/sd-sidebar-menu.control.d.ts.map +0 -1
- package/dist/ui/navigation/sidebar/sd-sidebar-user.control.d.ts +0 -16
- package/dist/ui/navigation/sidebar/sd-sidebar-user.control.d.ts.map +0 -1
- package/dist/ui/navigation/sidebar/sd-sidebar.control.d.ts +0 -8
- package/dist/ui/navigation/sidebar/sd-sidebar.control.d.ts.map +0 -1
- package/dist/ui/navigation/tab/sd-tab-item.control.d.ts +0 -10
- package/dist/ui/navigation/tab/sd-tab-item.control.d.ts.map +0 -1
- package/dist/ui/navigation/tab/sd-tab.control.d.ts +0 -7
- package/dist/ui/navigation/tab/sd-tab.control.d.ts.map +0 -1
- package/dist/ui/navigation/tab/sd-tabview-item.control.d.ts +0 -10
- package/dist/ui/navigation/tab/sd-tabview-item.control.d.ts.map +0 -1
- package/dist/ui/navigation/tab/sd-tabview.control.d.ts +0 -9
- package/dist/ui/navigation/tab/sd-tabview.control.d.ts.map +0 -1
- package/dist/ui/navigation/topbar/sd-topbar-container.control.d.ts +0 -6
- package/dist/ui/navigation/topbar/sd-topbar-container.control.d.ts.map +0 -1
- package/dist/ui/navigation/topbar/sd-topbar-menu.control.d.ts +0 -23
- package/dist/ui/navigation/topbar/sd-topbar-menu.control.d.ts.map +0 -1
- package/dist/ui/navigation/topbar/sd-topbar-user.control.d.ts +0 -13
- package/dist/ui/navigation/topbar/sd-topbar-user.control.d.ts.map +0 -1
- package/dist/ui/navigation/topbar/sd-topbar.control.d.ts.map +0 -1
- package/dist/ui/overlay/busy/sd-busy-container.control.d.ts +0 -14
- package/dist/ui/overlay/busy/sd-busy-container.control.d.ts.map +0 -1
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.d.ts +0 -8
- package/dist/ui/overlay/dropdown/sd-dropdown-popup.control.d.ts.map +0 -1
- package/dist/ui/overlay/dropdown/sd-dropdown.control.d.ts.map +0 -1
- package/dist/ui/overlay/modal/sd-confirm-modal.control.d.ts +0 -17
- package/dist/ui/overlay/modal/sd-confirm-modal.control.d.ts.map +0 -1
- package/dist/ui/overlay/modal/sd-modal.control.d.ts.map +0 -1
- package/dist/ui/overlay/modal/sd-prompt-modal.control.d.ts +0 -19
- package/dist/ui/overlay/modal/sd-prompt-modal.control.d.ts.map +0 -1
- package/dist/ui/overlay/toast/sd-toast-container.control.d.ts +0 -7
- package/dist/ui/overlay/toast/sd-toast-container.control.d.ts.map +0 -1
- package/dist/ui/overlay/toast/sd-toast.control.d.ts +0 -14
- package/dist/ui/overlay/toast/sd-toast.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-barcode.control.d.ts +0 -11
- package/dist/ui/visual/sd-barcode.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-calendar.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-echarts.control.d.ts +0 -13
- package/dist/ui/visual/sd-echarts.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-label.control.d.ts +0 -9
- package/dist/ui/visual/sd-label.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-note.control.d.ts +0 -9
- package/dist/ui/visual/sd-note.control.d.ts.map +0 -1
- package/dist/ui/visual/sd-progress.control.d.ts +0 -11
- package/dist/ui/visual/sd-progress.control.d.ts.map +0 -1
- package/src/features/data-view/sd-data-select-button.control.ts +0 -210
- /package/dist/core/utils/{TDirectiveInputSignals.js → directive-input-signals.js} +0 -0
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from "@angular/common";
|
|
2
|
-
import { ChangeDetectionStrategy, Component,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { SdSheetControl } from "../../ui/data/sheet/sd-sheet.control";
|
|
8
|
-
import { useViewTypeSignal } from "../../core/utils/useViewTypeSignal";
|
|
9
|
-
import { setupCumulateSelectedKeys } from "../../core/utils/setups/setupCumulateSelectedKeys";
|
|
10
|
-
import { setupCloserWhenSingleSelectionChange } from "./setupCloserWhenSingleSelectionChange";
|
|
11
|
-
import { setupCanDeactivate } from "../../core/utils/setups/setupCanDeactivate";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, contentChild, contentChildren, effect, input, TemplateRef, viewChild, ViewEncapsulation, } from "@angular/core";
|
|
3
|
+
import { SdButton } from "../../ui/form/button/sd-button";
|
|
4
|
+
import { SdForm } from "../../ui/form/sd-form";
|
|
5
|
+
import { SdSheetColumn } from "../../ui/data/sheet/sd-sheet-column";
|
|
6
|
+
import { SdSheet } from "../../ui/data/sheet/sd-sheet";
|
|
12
7
|
import { injectParent } from "../../core/utils/injectParent";
|
|
13
8
|
import { FormatPipe } from "../../core/pipes/format.pipe";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { SdAnchorControl } from "../../ui/form/button/sd-anchor.control";
|
|
9
|
+
import { SdBaseContainer } from "../base/sd-base-container";
|
|
10
|
+
import { SdDataSheetColumn } from "./sd-data-sheet-column";
|
|
11
|
+
import { SdAnchor } from "../../ui/form/button/sd-anchor";
|
|
18
12
|
import { NgIcon } from "@ng-icons/core";
|
|
19
|
-
import { useDataSheetFilterManager } from "./useDataSheetFilterManager";
|
|
20
|
-
import { useDataSheetRefreshManager } from "./useDataSheetRefreshManager";
|
|
21
|
-
import { useDataSheetInlineEditManager } from "./useDataSheetInlineEditManager";
|
|
22
|
-
import { useDataSheetModalEditManager } from "./useDataSheetModalEditManager";
|
|
23
|
-
import { useDataSheetExcelManager } from "./useDataSheetExcelManager";
|
|
24
13
|
import { tablerDeviceFloppy, tablerEdit, tablerEraser, tablerCirclePlus, tablerFileExcel, tablerRefresh, tablerRestore, tablerSearch, tablerUpload, } from "@ng-icons/tabler-icons";
|
|
14
|
+
import { SdDataSheetBase } from "./sd-data-sheet.base";
|
|
25
15
|
import * as i0 from "@angular/core";
|
|
26
16
|
const _c0 = ["pageTopbarTpl"];
|
|
27
17
|
const _c1 = ["prevTpl"];
|
|
@@ -33,10 +23,10 @@ const _c6 = ["formCtrl"];
|
|
|
33
23
|
const _c7 = ["modalActionTpl"];
|
|
34
24
|
const _c8 = (a0, a1, a2, a3, a4) => ({ $implicit: a0, item: a1, index: a2, depth: a3, edit: a4 });
|
|
35
25
|
const _forTrack0 = ($index, $item) => $item.key();
|
|
36
|
-
function
|
|
26
|
+
function SdDataSheet_ng_template_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
37
27
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
38
28
|
i0.ɵɵelementStart(0, "sd-button", 9);
|
|
39
|
-
i0.ɵɵlistener("click", function
|
|
29
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_1_Conditional_0_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onSubmitButtonClick()); });
|
|
40
30
|
i0.ɵɵelement(1, "ng-icon", 10);
|
|
41
31
|
i0.ɵɵtext(2, " \uC800\uC7A5 ");
|
|
42
32
|
i0.ɵɵelementStart(3, "small");
|
|
@@ -48,18 +38,18 @@ function SdDataSheetControl_ng_template_1_Conditional_0_Template(rf, ctx) { if (
|
|
|
48
38
|
i0.ɵɵadvance();
|
|
49
39
|
i0.ɵɵproperty("svg", ctx_r2.icons.tablerDeviceFloppy);
|
|
50
40
|
} }
|
|
51
|
-
function
|
|
52
|
-
function
|
|
41
|
+
function SdDataSheet_ng_template_1_ng_template_6_Template(rf, ctx) { }
|
|
42
|
+
function SdDataSheet_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
53
43
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
54
|
-
i0.ɵɵconditionalCreate(0,
|
|
44
|
+
i0.ɵɵconditionalCreate(0, SdDataSheet_ng_template_1_Conditional_0_Template, 5, 2, "sd-button", 8);
|
|
55
45
|
i0.ɵɵelementStart(1, "sd-button", 9);
|
|
56
|
-
i0.ɵɵlistener("click", function
|
|
46
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_1_Template_sd_button_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onRefreshButtonClick()); });
|
|
57
47
|
i0.ɵɵelement(2, "ng-icon", 10);
|
|
58
48
|
i0.ɵɵtext(3, " \uC0C8\uB85C\uACE0\uCE68 ");
|
|
59
49
|
i0.ɵɵelementStart(4, "small");
|
|
60
50
|
i0.ɵɵtext(5, "(CTRL+ALT+L)");
|
|
61
51
|
i0.ɵɵelementEnd()();
|
|
62
|
-
i0.ɵɵtemplate(6,
|
|
52
|
+
i0.ɵɵtemplate(6, SdDataSheet_ng_template_1_ng_template_6_Template, 0, 0, "ng-template", 11);
|
|
63
53
|
} if (rf & 2) {
|
|
64
54
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
65
55
|
i0.ɵɵconditional(ctx_r2.parent.canEdit() && ctx_r2.parent.submit ? 0 : -1);
|
|
@@ -70,24 +60,24 @@ function SdDataSheetControl_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
70
60
|
i0.ɵɵadvance(4);
|
|
71
61
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.pageTopbarTplRef() ?? null);
|
|
72
62
|
} }
|
|
73
|
-
function
|
|
74
|
-
function
|
|
63
|
+
function SdDataSheet_ng_template_3_Conditional_1_ng_template_11_Template(rf, ctx) { }
|
|
64
|
+
function SdDataSheet_ng_template_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
75
65
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
76
66
|
i0.ɵɵelementStart(0, "div", 13)(1, "sd-button", 20);
|
|
77
|
-
i0.ɵɵlistener("click", function
|
|
67
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_Conditional_1_Template_sd_button_click_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onSubmitButtonClick()); });
|
|
78
68
|
i0.ɵɵelement(2, "ng-icon", 10);
|
|
79
69
|
i0.ɵɵtext(3, " \uC800\uC7A5 ");
|
|
80
70
|
i0.ɵɵelementStart(4, "small");
|
|
81
71
|
i0.ɵɵtext(5, "(CTRL+S)");
|
|
82
72
|
i0.ɵɵelementEnd()();
|
|
83
73
|
i0.ɵɵelementStart(6, "sd-button", 20);
|
|
84
|
-
i0.ɵɵlistener("click", function
|
|
74
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_Conditional_1_Template_sd_button_click_6_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRefreshButtonClick()); });
|
|
85
75
|
i0.ɵɵelement(7, "ng-icon", 10);
|
|
86
76
|
i0.ɵɵtext(8, " \uC0C8\uB85C\uACE0\uCE68 ");
|
|
87
77
|
i0.ɵɵelementStart(9, "small");
|
|
88
78
|
i0.ɵɵtext(10, "(CTRL+ALT+L)");
|
|
89
79
|
i0.ɵɵelementEnd()();
|
|
90
|
-
i0.ɵɵtemplate(11,
|
|
80
|
+
i0.ɵɵtemplate(11, SdDataSheet_ng_template_3_Conditional_1_ng_template_11_Template, 0, 0, "ng-template", 11);
|
|
91
81
|
i0.ɵɵelementEnd();
|
|
92
82
|
} if (rf & 2) {
|
|
93
83
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -102,23 +92,23 @@ function SdDataSheetControl_ng_template_3_Conditional_1_Template(rf, ctx) { if (
|
|
|
102
92
|
i0.ɵɵadvance(4);
|
|
103
93
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.prevTplRef() ?? null);
|
|
104
94
|
} }
|
|
105
|
-
function
|
|
106
|
-
function
|
|
107
|
-
i0.ɵɵtemplate(0,
|
|
95
|
+
function SdDataSheet_ng_template_3_Conditional_2_ng_template_0_Template(rf, ctx) { }
|
|
96
|
+
function SdDataSheet_ng_template_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
97
|
+
i0.ɵɵtemplate(0, SdDataSheet_ng_template_3_Conditional_2_ng_template_0_Template, 0, 0, "ng-template", 11);
|
|
108
98
|
} if (rf & 2) {
|
|
109
99
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
110
100
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.prevTplRef() ?? null);
|
|
111
101
|
} }
|
|
112
|
-
function
|
|
113
|
-
function
|
|
102
|
+
function SdDataSheet_ng_template_3_Conditional_3_ng_template_7_Template(rf, ctx) { }
|
|
103
|
+
function SdDataSheet_ng_template_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
114
104
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
115
105
|
i0.ɵɵelementStart(0, "div", 14)(1, "sd-form", 21);
|
|
116
|
-
i0.ɵɵlistener("formSubmit", function
|
|
106
|
+
i0.ɵɵlistener("formSubmit", function SdDataSheet_ng_template_3_Conditional_3_Template_sd_form_formSubmit_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onFilterSubmit()); });
|
|
117
107
|
i0.ɵɵelementStart(2, "div", 22)(3, "div")(4, "sd-button", 23);
|
|
118
108
|
i0.ɵɵelement(5, "ng-icon", 10);
|
|
119
109
|
i0.ɵɵtext(6, " \uC870\uD68C ");
|
|
120
110
|
i0.ɵɵelementEnd()();
|
|
121
|
-
i0.ɵɵtemplate(7,
|
|
111
|
+
i0.ɵɵtemplate(7, SdDataSheet_ng_template_3_Conditional_3_ng_template_7_Template, 0, 0, "ng-template", 11);
|
|
122
112
|
i0.ɵɵelementEnd()()();
|
|
123
113
|
} if (rf & 2) {
|
|
124
114
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -129,10 +119,10 @@ function SdDataSheetControl_ng_template_3_Conditional_3_Template(rf, ctx) { if (
|
|
|
129
119
|
i0.ɵɵadvance(2);
|
|
130
120
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.filterTplRef());
|
|
131
121
|
} }
|
|
132
|
-
function
|
|
122
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
133
123
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
134
124
|
i0.ɵɵelementStart(0, "sd-button", 20);
|
|
135
|
-
i0.ɵɵlistener("click", function
|
|
125
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_0_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onCreateItemButtonClick()); });
|
|
136
126
|
i0.ɵɵelement(1, "ng-icon", 10);
|
|
137
127
|
i0.ɵɵtext(2);
|
|
138
128
|
i0.ɵɵelementEnd();
|
|
@@ -144,10 +134,10 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
|
|
|
144
134
|
i0.ɵɵadvance();
|
|
145
135
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.insertText() ?? "\uB4F1\uB85D", " ");
|
|
146
136
|
} }
|
|
147
|
-
function
|
|
137
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
148
138
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
149
139
|
i0.ɵɵelementStart(0, "sd-button", 20);
|
|
150
|
-
i0.ɵɵlistener("click", function
|
|
140
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_1_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onAddItemButtonClick()); });
|
|
151
141
|
i0.ɵɵelement(1, "ng-icon", 10);
|
|
152
142
|
i0.ɵɵtext(2, " \uD589 \uCD94\uAC00 ");
|
|
153
143
|
i0.ɵɵelementEnd();
|
|
@@ -157,17 +147,17 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
|
|
|
157
147
|
i0.ɵɵadvance();
|
|
158
148
|
i0.ɵɵproperty("svg", ctx_r2.icons.tablerCirclePlus);
|
|
159
149
|
} }
|
|
160
|
-
function
|
|
161
|
-
i0.ɵɵconditionalCreate(0,
|
|
150
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
151
|
+
i0.ɵɵconditionalCreate(0, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_0_Template, 3, 4, "sd-button", 25)(1, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Conditional_1_Template, 3, 3, "sd-button", 25);
|
|
162
152
|
} if (rf & 2) {
|
|
163
153
|
const ctx_r2 = i0.ɵɵnextContext(4);
|
|
164
154
|
i0.ɵɵconditional(ctx_r2.parent.editMode === "modal" && ctx_r2.parent.editItem ? 0 : ctx_r2.parent.editMode === "inline" && ctx_r2.parent.newItem ? 1 : -1);
|
|
165
155
|
} }
|
|
166
|
-
function
|
|
167
|
-
function
|
|
156
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_ng_template_2_Template(rf, ctx) { }
|
|
157
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
168
158
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
169
159
|
i0.ɵɵelementStart(0, "sd-button", 20);
|
|
170
|
-
i0.ɵɵlistener("click", function
|
|
160
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Conditional_3_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r2.onToggleDeleteItemsButtonClick(false)); });
|
|
171
161
|
i0.ɵɵelement(1, "ng-icon", 10);
|
|
172
162
|
i0.ɵɵtext(2);
|
|
173
163
|
i0.ɵɵelementEnd();
|
|
@@ -179,14 +169,14 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
|
|
|
179
169
|
i0.ɵɵadvance();
|
|
180
170
|
i0.ɵɵtextInterpolate1(" \uC120\uD0DD ", ctx_r2.restoreText() ?? "\uBCF5\uAD6C", " ");
|
|
181
171
|
} }
|
|
182
|
-
function
|
|
172
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
183
173
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
184
174
|
i0.ɵɵelementStart(0, "sd-button", 26);
|
|
185
|
-
i0.ɵɵlistener("click", function
|
|
175
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onToggleDeleteItemsButtonClick(true)); });
|
|
186
176
|
i0.ɵɵelement(1, "ng-icon", 10);
|
|
187
177
|
i0.ɵɵtext(2);
|
|
188
178
|
i0.ɵɵelementEnd();
|
|
189
|
-
i0.ɵɵconditionalCreate(3,
|
|
179
|
+
i0.ɵɵconditionalCreate(3, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Conditional_3_Template, 3, 4, "sd-button", 25);
|
|
190
180
|
} if (rf & 2) {
|
|
191
181
|
const ctx_r2 = i0.ɵɵnextContext(5);
|
|
192
182
|
i0.ɵɵproperty("size", "sm")("theme", "link-danger")("disabled", !ctx_r2.parent.isSelectedItemsHasNotDeleted());
|
|
@@ -197,10 +187,10 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
|
|
|
197
187
|
i0.ɵɵadvance();
|
|
198
188
|
i0.ɵɵconditional(ctx_r2.parent.isSelectedItemsHasDeleted() ? 3 : -1);
|
|
199
189
|
} }
|
|
200
|
-
function
|
|
190
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
201
191
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
202
192
|
i0.ɵɵelementStart(0, "sd-button", 20);
|
|
203
|
-
i0.ɵɵlistener("click", function
|
|
193
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_1_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r2.onUploadExcelButtonClick()); });
|
|
204
194
|
i0.ɵɵelement(1, "ng-icon", 10);
|
|
205
195
|
i0.ɵɵtext(2, " \uC5D1\uC140 \uC5C5\uB85C\uB4DC ");
|
|
206
196
|
i0.ɵɵelementEnd();
|
|
@@ -210,19 +200,19 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
|
|
|
210
200
|
i0.ɵɵadvance();
|
|
211
201
|
i0.ɵɵproperty("svg", ctx_r2.icons.tablerUpload);
|
|
212
202
|
} }
|
|
213
|
-
function
|
|
214
|
-
i0.ɵɵconditionalCreate(0,
|
|
215
|
-
i0.ɵɵconditionalCreate(1,
|
|
203
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
204
|
+
i0.ɵɵconditionalCreate(0, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_0_Template, 4, 6);
|
|
205
|
+
i0.ɵɵconditionalCreate(1, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Conditional_1_Template, 3, 3, "sd-button", 25);
|
|
216
206
|
} if (rf & 2) {
|
|
217
207
|
const ctx_r2 = i0.ɵɵnextContext(4);
|
|
218
208
|
i0.ɵɵconditional(ctx_r2.parent.editMode === "modal" && ctx_r2.parent.toggleDeleteItems ? 0 : -1);
|
|
219
209
|
i0.ɵɵadvance();
|
|
220
210
|
i0.ɵɵconditional(ctx_r2.parent.uploadExcel ? 1 : -1);
|
|
221
211
|
} }
|
|
222
|
-
function
|
|
212
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
223
213
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
224
214
|
i0.ɵɵelementStart(0, "sd-button", 20);
|
|
225
|
-
i0.ɵɵlistener("click", function
|
|
215
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_4_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r2 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r2.onDownloadExcelButtonClick()); });
|
|
226
216
|
i0.ɵɵelement(1, "ng-icon", 10);
|
|
227
217
|
i0.ɵɵtext(2, " \uC5D1\uC140 \uB2E4\uC6B4\uB85C\uB4DC ");
|
|
228
218
|
i0.ɵɵelementEnd();
|
|
@@ -232,14 +222,14 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Conditiona
|
|
|
232
222
|
i0.ɵɵadvance();
|
|
233
223
|
i0.ɵɵproperty("svg", ctx_r2.icons.tablerFileExcel);
|
|
234
224
|
} }
|
|
235
|
-
function
|
|
236
|
-
function
|
|
225
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_ng_template_5_Template(rf, ctx) { }
|
|
226
|
+
function SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
237
227
|
i0.ɵɵelementStart(0, "div", 24);
|
|
238
|
-
i0.ɵɵconditionalCreate(1,
|
|
239
|
-
i0.ɵɵtemplate(2,
|
|
240
|
-
i0.ɵɵconditionalCreate(3,
|
|
241
|
-
i0.ɵɵconditionalCreate(4,
|
|
242
|
-
i0.ɵɵtemplate(5,
|
|
228
|
+
i0.ɵɵconditionalCreate(1, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_1_Template, 2, 1);
|
|
229
|
+
i0.ɵɵtemplate(2, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_ng_template_2_Template, 0, 0, "ng-template", 11);
|
|
230
|
+
i0.ɵɵconditionalCreate(3, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_3_Template, 2, 2);
|
|
231
|
+
i0.ɵɵconditionalCreate(4, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Conditional_4_Template, 3, 3, "sd-button", 25);
|
|
232
|
+
i0.ɵɵtemplate(5, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_ng_template_5_Template, 0, 0, "ng-template", 11);
|
|
243
233
|
i0.ɵɵelementEnd();
|
|
244
234
|
} if (rf & 2) {
|
|
245
235
|
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
@@ -254,16 +244,16 @@ function SdDataSheetControl_ng_template_3_Conditional_4_Conditional_0_Template(r
|
|
|
254
244
|
i0.ɵɵadvance();
|
|
255
245
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.toolTplRef() ?? null);
|
|
256
246
|
} }
|
|
257
|
-
function
|
|
258
|
-
i0.ɵɵconditionalCreate(0,
|
|
247
|
+
function SdDataSheet_ng_template_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
248
|
+
i0.ɵɵconditionalCreate(0, SdDataSheet_ng_template_3_Conditional_4_Conditional_0_Template, 6, 5, "div", 24);
|
|
259
249
|
} if (rf & 2) {
|
|
260
250
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
261
251
|
i0.ɵɵconditional(ctx_r2.parent.canEdit() || ctx_r2.beforeToolTplRef() || ctx_r2.parent.downloadExcel ? 0 : -1);
|
|
262
252
|
} }
|
|
263
|
-
function
|
|
253
|
+
function SdDataSheet_ng_template_3_Conditional_8_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
264
254
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
265
255
|
i0.ɵɵelementStart(0, "div", 27)(1, "sd-anchor", 28);
|
|
266
|
-
i0.ɵɵlistener("click", function
|
|
256
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_Conditional_8_ng_template_1_Template_sd_anchor_click_1_listener() { const item_r14 = i0.ɵɵrestoreView(_r13).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onToggleDeleteItemButtonClick(item_r14)); });
|
|
267
257
|
i0.ɵɵelement(2, "ng-icon", 10);
|
|
268
258
|
i0.ɵɵtext(3);
|
|
269
259
|
i0.ɵɵelementEnd()();
|
|
@@ -277,34 +267,34 @@ function SdDataSheetControl_ng_template_3_Conditional_8_ng_template_1_Template(r
|
|
|
277
267
|
i0.ɵɵadvance();
|
|
278
268
|
i0.ɵɵtextInterpolate1(" ", item_r14[ctx_r2.parent.itemPropInfo.isDeleted] ? ctx_r2.restoreText() ?? "\uBCF5\uAD6C" : ctx_r2.deleteText() ?? "\uC0AD\uC81C", " ");
|
|
279
269
|
} }
|
|
280
|
-
function
|
|
270
|
+
function SdDataSheet_ng_template_3_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
281
271
|
i0.ɵɵelementStart(0, "sd-sheet-column", 17);
|
|
282
|
-
i0.ɵɵtemplate(1,
|
|
272
|
+
i0.ɵɵtemplate(1, SdDataSheet_ng_template_3_Conditional_8_ng_template_1_Template, 4, 4, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
283
273
|
i0.ɵɵelementEnd();
|
|
284
274
|
} if (rf & 2) {
|
|
285
275
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
286
276
|
i0.ɵɵproperty("fixed", true)("key", ctx_r2.parent.itemPropInfo.isDeleted);
|
|
287
277
|
} }
|
|
288
|
-
function
|
|
289
|
-
function
|
|
290
|
-
i0.ɵɵtemplate(0,
|
|
278
|
+
function SdDataSheet_ng_template_3_For_10_Conditional_1_ng_template_0_ng_template_0_Template(rf, ctx) { }
|
|
279
|
+
function SdDataSheet_ng_template_3_For_10_Conditional_1_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
280
|
+
i0.ɵɵtemplate(0, SdDataSheet_ng_template_3_For_10_Conditional_1_ng_template_0_ng_template_0_Template, 0, 0, "ng-template", 11);
|
|
291
281
|
} if (rf & 2) {
|
|
292
282
|
const columnControl_r15 = i0.ɵɵnextContext(2).$implicit;
|
|
293
283
|
i0.ɵɵproperty("ngTemplateOutlet", columnControl_r15.summaryTplRef());
|
|
294
284
|
} }
|
|
295
|
-
function
|
|
296
|
-
i0.ɵɵtemplate(0,
|
|
285
|
+
function SdDataSheet_ng_template_3_For_10_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
286
|
+
i0.ɵɵtemplate(0, SdDataSheet_ng_template_3_For_10_Conditional_1_ng_template_0_Template, 1, 1, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
297
287
|
} }
|
|
298
|
-
function
|
|
299
|
-
function
|
|
288
|
+
function SdDataSheet_ng_template_3_For_10_ng_template_2_Conditional_0_ng_template_4_Template(rf, ctx) { }
|
|
289
|
+
function SdDataSheet_ng_template_3_For_10_ng_template_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
300
290
|
const _r16 = i0.ɵɵgetCurrentView();
|
|
301
291
|
i0.ɵɵelementStart(0, "sd-anchor", 31);
|
|
302
|
-
i0.ɵɵlistener("click", function
|
|
292
|
+
i0.ɵɵlistener("click", function SdDataSheet_ng_template_3_For_10_ng_template_2_Conditional_0_Template_sd_anchor_click_0_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r16 = i0.ɵɵnextContext(); const item_r18 = ctx_r16.$implicit; const index_r19 = ctx_r16.index; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onEditItemButtonClick(item_r18, index_r19, $event)); });
|
|
303
293
|
i0.ɵɵelementStart(1, "div", 32);
|
|
304
294
|
i0.ɵɵelement(2, "ng-icon", 10);
|
|
305
295
|
i0.ɵɵelementEnd();
|
|
306
296
|
i0.ɵɵelementStart(3, "div", 33);
|
|
307
|
-
i0.ɵɵtemplate(4,
|
|
297
|
+
i0.ɵɵtemplate(4, SdDataSheet_ng_template_3_For_10_ng_template_2_Conditional_0_ng_template_4_Template, 0, 0, "ng-template", 30);
|
|
308
298
|
i0.ɵɵelementEnd()();
|
|
309
299
|
} if (rf & 2) {
|
|
310
300
|
const ctx_r16 = i0.ɵɵnextContext();
|
|
@@ -319,9 +309,9 @@ function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_0_Tem
|
|
|
319
309
|
i0.ɵɵadvance(2);
|
|
320
310
|
i0.ɵɵproperty("ngTemplateOutlet", columnControl_r15.cellTplRef())("ngTemplateOutletContext", i0.ɵɵpureFunction5(3, _c8, item_r18, item_r18, index_r19, depth_r20, edit_r21));
|
|
321
311
|
} }
|
|
322
|
-
function
|
|
323
|
-
function
|
|
324
|
-
i0.ɵɵtemplate(0,
|
|
312
|
+
function SdDataSheet_ng_template_3_For_10_ng_template_2_Conditional_1_ng_template_0_Template(rf, ctx) { }
|
|
313
|
+
function SdDataSheet_ng_template_3_For_10_ng_template_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
314
|
+
i0.ɵɵtemplate(0, SdDataSheet_ng_template_3_For_10_ng_template_2_Conditional_1_ng_template_0_Template, 0, 0, "ng-template", 30);
|
|
325
315
|
} if (rf & 2) {
|
|
326
316
|
const ctx_r16 = i0.ɵɵnextContext();
|
|
327
317
|
const item_r18 = ctx_r16.$implicit;
|
|
@@ -331,18 +321,18 @@ function SdDataSheetControl_ng_template_3_For_10_ng_template_2_Conditional_1_Tem
|
|
|
331
321
|
const columnControl_r15 = i0.ɵɵnextContext().$implicit;
|
|
332
322
|
i0.ɵɵproperty("ngTemplateOutlet", columnControl_r15.cellTplRef())("ngTemplateOutletContext", i0.ɵɵpureFunction5(2, _c8, item_r18, item_r18, index_r19, depth_r20, edit_r21));
|
|
333
323
|
} }
|
|
334
|
-
function
|
|
335
|
-
i0.ɵɵconditionalCreate(0,
|
|
324
|
+
function SdDataSheet_ng_template_3_For_10_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
325
|
+
i0.ɵɵconditionalCreate(0, SdDataSheet_ng_template_3_For_10_ng_template_2_Conditional_0_Template, 5, 9, "sd-anchor", 29)(1, SdDataSheet_ng_template_3_For_10_ng_template_2_Conditional_1_Template, 1, 8, null, 30);
|
|
336
326
|
} if (rf & 2) {
|
|
337
327
|
const item_r18 = ctx.$implicit;
|
|
338
328
|
const columnControl_r15 = i0.ɵɵnextContext().$implicit;
|
|
339
329
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
340
330
|
i0.ɵɵconditional(ctx_r2.parent.editMode === "modal" && ctx_r2.parent.canEdit() && columnControl_r15.edit() && ctx_r2.parent.getItemInfoFn(item_r18).canEdit ? 0 : 1);
|
|
341
331
|
} }
|
|
342
|
-
function
|
|
332
|
+
function SdDataSheet_ng_template_3_For_10_Template(rf, ctx) { if (rf & 1) {
|
|
343
333
|
i0.ɵɵelementStart(0, "sd-sheet-column", 18);
|
|
344
|
-
i0.ɵɵconditionalCreate(1,
|
|
345
|
-
i0.ɵɵtemplate(2,
|
|
334
|
+
i0.ɵɵconditionalCreate(1, SdDataSheet_ng_template_3_For_10_Conditional_1_Template, 2, 0);
|
|
335
|
+
i0.ɵɵtemplate(2, SdDataSheet_ng_template_3_For_10_ng_template_2_Template, 2, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
346
336
|
i0.ɵɵelementEnd();
|
|
347
337
|
} if (rf & 2) {
|
|
348
338
|
const columnControl_r15 = ctx.$implicit;
|
|
@@ -350,7 +340,7 @@ function SdDataSheetControl_ng_template_3_For_10_Template(rf, ctx) { if (rf & 1)
|
|
|
350
340
|
i0.ɵɵadvance();
|
|
351
341
|
i0.ɵɵconditional(columnControl_r15.summaryTplRef() ? 1 : -1);
|
|
352
342
|
} }
|
|
353
|
-
function
|
|
343
|
+
function SdDataSheet_ng_template_3_Conditional_11_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
354
344
|
i0.ɵɵelementStart(0, "div", 27);
|
|
355
345
|
i0.ɵɵtext(1);
|
|
356
346
|
i0.ɵɵpipe(2, "format");
|
|
@@ -361,15 +351,15 @@ function SdDataSheetControl_ng_template_3_Conditional_11_ng_template_1_Template(
|
|
|
361
351
|
i0.ɵɵadvance();
|
|
362
352
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, item_r22[ctx_r2.parent.itemPropInfo.lastModifiedAt], "yyyy-MM-dd HH:mm"), " ");
|
|
363
353
|
} }
|
|
364
|
-
function
|
|
354
|
+
function SdDataSheet_ng_template_3_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
365
355
|
i0.ɵɵelementStart(0, "sd-sheet-column", 19);
|
|
366
|
-
i0.ɵɵtemplate(1,
|
|
356
|
+
i0.ɵɵtemplate(1, SdDataSheet_ng_template_3_Conditional_11_ng_template_1_Template, 3, 4, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
367
357
|
i0.ɵɵelementEnd();
|
|
368
358
|
} if (rf & 2) {
|
|
369
359
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
370
360
|
i0.ɵɵproperty("header", "\uC218\uC815\uC77C\uC2DC")("key", ctx_r2.parent.itemPropInfo.lastModifiedAt)("hidden", true);
|
|
371
361
|
} }
|
|
372
|
-
function
|
|
362
|
+
function SdDataSheet_ng_template_3_Conditional_12_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
373
363
|
i0.ɵɵelementStart(0, "div", 27);
|
|
374
364
|
i0.ɵɵtext(1);
|
|
375
365
|
i0.ɵɵelementEnd();
|
|
@@ -379,28 +369,28 @@ function SdDataSheetControl_ng_template_3_Conditional_12_ng_template_1_Template(
|
|
|
379
369
|
i0.ɵɵadvance();
|
|
380
370
|
i0.ɵɵtextInterpolate1(" ", item_r23[ctx_r2.parent.itemPropInfo.lastModifiedBy], " ");
|
|
381
371
|
} }
|
|
382
|
-
function
|
|
372
|
+
function SdDataSheet_ng_template_3_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
383
373
|
i0.ɵɵelementStart(0, "sd-sheet-column", 19);
|
|
384
|
-
i0.ɵɵtemplate(1,
|
|
374
|
+
i0.ɵɵtemplate(1, SdDataSheet_ng_template_3_Conditional_12_ng_template_1_Template, 2, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
385
375
|
i0.ɵɵelementEnd();
|
|
386
376
|
} if (rf & 2) {
|
|
387
377
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
388
378
|
i0.ɵɵproperty("header", "\uC218\uC815\uC790")("key", ctx_r2.parent.itemPropInfo.lastModifiedBy)("hidden", true);
|
|
389
379
|
} }
|
|
390
|
-
function
|
|
380
|
+
function SdDataSheet_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
391
381
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
392
382
|
i0.ɵɵelementStart(0, "div", 12);
|
|
393
|
-
i0.ɵɵconditionalCreate(1,
|
|
394
|
-
i0.ɵɵconditionalCreate(3,
|
|
395
|
-
i0.ɵɵconditionalCreate(4,
|
|
383
|
+
i0.ɵɵconditionalCreate(1, SdDataSheet_ng_template_3_Conditional_1_Template, 12, 7, "div", 13)(2, SdDataSheet_ng_template_3_Conditional_2_Template, 1, 1, null, 11);
|
|
384
|
+
i0.ɵɵconditionalCreate(3, SdDataSheet_ng_template_3_Conditional_3_Template, 8, 4, "div", 14);
|
|
385
|
+
i0.ɵɵconditionalCreate(4, SdDataSheet_ng_template_3_Conditional_4_Template, 1, 1);
|
|
396
386
|
i0.ɵɵelementStart(5, "sd-form", 15, 2);
|
|
397
|
-
i0.ɵɵlistener("formSubmit", function
|
|
387
|
+
i0.ɵɵlistener("formSubmit", function SdDataSheet_ng_template_3_Template_sd_form_formSubmit_5_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onSubmit()); });
|
|
398
388
|
i0.ɵɵelementStart(7, "sd-sheet", 16);
|
|
399
|
-
i0.ɵɵtwoWayListener("currentPageChange", function
|
|
400
|
-
i0.ɵɵconditionalCreate(8,
|
|
401
|
-
i0.ɵɵrepeaterCreate(9,
|
|
402
|
-
i0.ɵɵconditionalCreate(11,
|
|
403
|
-
i0.ɵɵconditionalCreate(12,
|
|
389
|
+
i0.ɵɵtwoWayListener("currentPageChange", function SdDataSheet_ng_template_3_Template_sd_sheet_currentPageChange_7_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.parent.page, $event) || (ctx_r2.parent.page = $event); return i0.ɵɵresetView($event); })("sortsChange", function SdDataSheet_ng_template_3_Template_sd_sheet_sortsChange_7_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.parent.sortingDefs, $event) || (ctx_r2.parent.sortingDefs = $event); return i0.ɵɵresetView($event); })("selectedItemsChange", function SdDataSheet_ng_template_3_Template_sd_sheet_selectedItemsChange_7_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.parent.selectedItems, $event) || (ctx_r2.parent.selectedItems = $event); return i0.ɵɵresetView($event); });
|
|
390
|
+
i0.ɵɵconditionalCreate(8, SdDataSheet_ng_template_3_Conditional_8_Template, 3, 2, "sd-sheet-column", 17);
|
|
391
|
+
i0.ɵɵrepeaterCreate(9, SdDataSheet_ng_template_3_For_10_Template, 4, 9, "sd-sheet-column", 18, _forTrack0);
|
|
392
|
+
i0.ɵɵconditionalCreate(11, SdDataSheet_ng_template_3_Conditional_11_Template, 3, 3, "sd-sheet-column", 19);
|
|
393
|
+
i0.ɵɵconditionalCreate(12, SdDataSheet_ng_template_3_Conditional_12_Template, 3, 3, "sd-sheet-column", 19);
|
|
404
394
|
i0.ɵɵelementEnd()()();
|
|
405
395
|
} if (rf & 2) {
|
|
406
396
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -427,17 +417,17 @@ function SdDataSheetControl_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
427
417
|
i0.ɵɵadvance();
|
|
428
418
|
i0.ɵɵconditional(ctx_r2.parent.itemPropInfo.lastModifiedBy ? 12 : -1);
|
|
429
419
|
} }
|
|
430
|
-
function
|
|
431
|
-
function
|
|
432
|
-
i0.ɵɵtemplate(0,
|
|
420
|
+
function SdDataSheet_Conditional_5_ng_template_0_Conditional_2_ng_template_0_Template(rf, ctx) { }
|
|
421
|
+
function SdDataSheet_Conditional_5_ng_template_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
422
|
+
i0.ɵɵtemplate(0, SdDataSheet_Conditional_5_ng_template_0_Conditional_2_ng_template_0_Template, 0, 0, "ng-template", 11);
|
|
433
423
|
} if (rf & 2) {
|
|
434
424
|
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
435
425
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.modalBottomTplRef());
|
|
436
426
|
} }
|
|
437
|
-
function
|
|
427
|
+
function SdDataSheet_Conditional_5_ng_template_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
438
428
|
const _r24 = i0.ɵɵgetCurrentView();
|
|
439
429
|
i0.ɵɵelementStart(0, "sd-button", 20);
|
|
440
|
-
i0.ɵɵlistener("click", function
|
|
430
|
+
i0.ɵɵlistener("click", function SdDataSheet_Conditional_5_ng_template_0_Conditional_3_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r24); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onCancelButtonClick()); });
|
|
441
431
|
i0.ɵɵtext(1);
|
|
442
432
|
i0.ɵɵelementEnd();
|
|
443
433
|
} if (rf & 2) {
|
|
@@ -446,10 +436,10 @@ function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_3_Template(r
|
|
|
446
436
|
i0.ɵɵadvance();
|
|
447
437
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.parent.selectMode() === "multi" ? "\uBAA8\uB450" : "\uC120\uD0DD", " \uD574\uC81C ");
|
|
448
438
|
} }
|
|
449
|
-
function
|
|
439
|
+
function SdDataSheet_Conditional_5_ng_template_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
450
440
|
const _r25 = i0.ɵɵgetCurrentView();
|
|
451
441
|
i0.ɵɵelementStart(0, "sd-button", 20);
|
|
452
|
-
i0.ɵɵlistener("click", function
|
|
442
|
+
i0.ɵɵlistener("click", function SdDataSheet_Conditional_5_ng_template_0_Conditional_4_Template_sd_button_click_0_listener() { i0.ɵɵrestoreView(_r25); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onConfirmButtonClick()); });
|
|
453
443
|
i0.ɵɵtext(1);
|
|
454
444
|
i0.ɵɵelementEnd();
|
|
455
445
|
} if (rf & 2) {
|
|
@@ -458,12 +448,12 @@ function SdDataSheetControl_Conditional_5_ng_template_0_Conditional_4_Template(r
|
|
|
458
448
|
i0.ɵɵadvance();
|
|
459
449
|
i0.ɵɵtextInterpolate1(" \uD655\uC778(", ctx_r2.parent.selectedItemKeys().length, ") ");
|
|
460
450
|
} }
|
|
461
|
-
function
|
|
451
|
+
function SdDataSheet_Conditional_5_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
462
452
|
i0.ɵɵelementStart(0, "div", 34)(1, "div", 35);
|
|
463
|
-
i0.ɵɵconditionalCreate(2,
|
|
453
|
+
i0.ɵɵconditionalCreate(2, SdDataSheet_Conditional_5_ng_template_0_Conditional_2_Template, 1, 1, null, 11);
|
|
464
454
|
i0.ɵɵelementEnd();
|
|
465
|
-
i0.ɵɵconditionalCreate(3,
|
|
466
|
-
i0.ɵɵconditionalCreate(4,
|
|
455
|
+
i0.ɵɵconditionalCreate(3, SdDataSheet_Conditional_5_ng_template_0_Conditional_3_Template, 2, 3, "sd-button", 25);
|
|
456
|
+
i0.ɵɵconditionalCreate(4, SdDataSheet_Conditional_5_ng_template_0_Conditional_4_Template, 2, 3, "sd-button", 25);
|
|
467
457
|
i0.ɵɵelementEnd();
|
|
468
458
|
} if (rf & 2) {
|
|
469
459
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -474,10 +464,10 @@ function SdDataSheetControl_Conditional_5_ng_template_0_Template(rf, ctx) { if (
|
|
|
474
464
|
i0.ɵɵadvance();
|
|
475
465
|
i0.ɵɵconditional(ctx_r2.parent.selectMode() === "multi" ? 4 : -1);
|
|
476
466
|
} }
|
|
477
|
-
function
|
|
467
|
+
function SdDataSheet_Conditional_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
478
468
|
const _r26 = i0.ɵɵgetCurrentView();
|
|
479
469
|
i0.ɵɵelementStart(0, "sd-anchor", 36);
|
|
480
|
-
i0.ɵɵlistener("click", function
|
|
470
|
+
i0.ɵɵlistener("click", function SdDataSheet_Conditional_5_ng_template_2_Template_sd_anchor_click_0_listener() { i0.ɵɵrestoreView(_r26); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRefreshButtonClick()); });
|
|
481
471
|
i0.ɵɵelement(1, "ng-icon", 10);
|
|
482
472
|
i0.ɵɵelementEnd();
|
|
483
473
|
} if (rf & 2) {
|
|
@@ -486,196 +476,11 @@ function SdDataSheetControl_Conditional_5_ng_template_2_Template(rf, ctx) { if (
|
|
|
486
476
|
i0.ɵɵadvance();
|
|
487
477
|
i0.ɵɵproperty("svg", ctx_r2.icons.tablerRefresh);
|
|
488
478
|
} }
|
|
489
|
-
function
|
|
490
|
-
i0.ɵɵtemplate(0,
|
|
479
|
+
function SdDataSheet_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
480
|
+
i0.ɵɵtemplate(0, SdDataSheet_Conditional_5_ng_template_0_Template, 5, 3, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor)(2, SdDataSheet_Conditional_5_ng_template_2_Template, 2, 2, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
491
481
|
} }
|
|
492
|
-
//#region
|
|
493
|
-
export class
|
|
494
|
-
hideTool;
|
|
495
|
-
diffsExcludes;
|
|
496
|
-
//-- composable instances
|
|
497
|
-
_filterMgr;
|
|
498
|
-
_refreshMgr;
|
|
499
|
-
_inlineEditMgr;
|
|
500
|
-
_modalEditMgr;
|
|
501
|
-
_excelMgr;
|
|
502
|
-
//-- shared state (D1: class 소유)
|
|
503
|
-
key = reflectComponentType(this.constructor)?.selector;
|
|
504
|
-
viewType = useViewTypeSignal(() => this);
|
|
505
|
-
busyCount = signal(0, ...(ngDevMode ? [{ debugName: "busyCount" }] : /* istanbul ignore next */ []));
|
|
506
|
-
busyMessage = signal(undefined, ...(ngDevMode ? [{ debugName: "busyMessage" }] : /* istanbul ignore next */ []));
|
|
507
|
-
initialized = signal(false, ...(ngDevMode ? [{ debugName: "initialized" }] : /* istanbul ignore next */ []));
|
|
508
|
-
close = output();
|
|
509
|
-
submitted = output();
|
|
510
|
-
selectedItemKeys = model([], ...(ngDevMode ? [{ debugName: "selectedItemKeys" }] : /* istanbul ignore next */ []));
|
|
511
|
-
actionTplRef;
|
|
512
|
-
autoSelect = computed(() => (!this.canEdit() || this.editMode === "modal") && this.selectMode() === "single"
|
|
513
|
-
? "click"
|
|
514
|
-
: undefined, ...(ngDevMode ? [{ debugName: "autoSelect" }] : /* istanbul ignore next */ []));
|
|
515
|
-
items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
516
|
-
summaryData = signal({}, ...(ngDevMode ? [{ debugName: "summaryData" }] : /* istanbul ignore next */ []));
|
|
517
|
-
selectedItems = signal([], ...(ngDevMode ? [{ debugName: "selectedItems" }] : /* istanbul ignore next */ []));
|
|
518
|
-
trackByFn = (item) => this.getItemInfoFn(item).key ?? item;
|
|
519
|
-
page = signal(0, ...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
|
|
520
|
-
pageLength = signal(0, ...(ngDevMode ? [{ debugName: "pageLength" }] : /* istanbul ignore next */ []));
|
|
521
|
-
sortingDefs = signal([], ...(ngDevMode ? [{ debugName: "sortingDefs" }] : /* istanbul ignore next */ []));
|
|
522
|
-
//-- filter state (composable에서 생성, 재할당)
|
|
523
|
-
filter;
|
|
524
|
-
lastFilter;
|
|
525
|
-
//-- computed
|
|
526
|
-
isSelectedItemsHasDeleted = computed(() => this.selectedItems().some((item) => this.itemPropInfo.isDeleted != null &&
|
|
527
|
-
item[this.itemPropInfo.isDeleted]), ...(ngDevMode ? [{ debugName: "isSelectedItemsHasDeleted" }] : /* istanbul ignore next */ []));
|
|
528
|
-
isSelectedItemsHasNotDeleted = computed(() => this.selectedItems().some((item) => this.itemPropInfo.isDeleted == null ||
|
|
529
|
-
!item[this.itemPropInfo.isDeleted]), ...(ngDevMode ? [{ debugName: "isSelectedItemsHasNotDeleted" }] : /* istanbul ignore next */ []));
|
|
530
|
-
getItemCellStyleFn = (item) => this.itemPropInfo.isDeleted != null && item[this.itemPropInfo.isDeleted]
|
|
531
|
-
? "text-decoration: line-through;"
|
|
532
|
-
: undefined;
|
|
533
|
-
getItemSelectableFn = (item) => this.getItemInfoFn(item).canSelect;
|
|
534
|
-
constructor() {
|
|
535
|
-
setupCumulateSelectedKeys({
|
|
536
|
-
items: this.items,
|
|
537
|
-
selectedItems: this.selectedItems,
|
|
538
|
-
selectedItemKeys: this.selectedItemKeys,
|
|
539
|
-
selectMode: () => this.selectMode(),
|
|
540
|
-
keySelectorFn: (item) => this.getItemInfoFn(item).key,
|
|
541
|
-
});
|
|
542
|
-
setupCloserWhenSingleSelectionChange({
|
|
543
|
-
selectedItemKeys: this.selectedItemKeys,
|
|
544
|
-
selectedItems: this.selectedItems,
|
|
545
|
-
selectMode: () => this.selectMode(),
|
|
546
|
-
close: this.close,
|
|
547
|
-
});
|
|
548
|
-
//-- filter composable
|
|
549
|
-
this._filterMgr = useDataSheetFilterManager({
|
|
550
|
-
bindFilter: () => this.bindFilter(),
|
|
551
|
-
busyCount: this.busyCount,
|
|
552
|
-
canUse: () => this.canUse(),
|
|
553
|
-
page: this.page,
|
|
554
|
-
checkIgnoreChanges: () => this.checkIgnoreChanges(),
|
|
555
|
-
});
|
|
556
|
-
this.filter = this._filterMgr.filter;
|
|
557
|
-
this.lastFilter = this._filterMgr.lastFilter;
|
|
558
|
-
//-- refresh composable
|
|
559
|
-
this._refreshMgr = useDataSheetRefreshManager({
|
|
560
|
-
busyCount: this.busyCount,
|
|
561
|
-
initialized: this.initialized,
|
|
562
|
-
canUse: () => this.canUse(),
|
|
563
|
-
items: this.items,
|
|
564
|
-
selectedItems: this.selectedItems,
|
|
565
|
-
pageLength: this.pageLength,
|
|
566
|
-
summaryData: this.summaryData,
|
|
567
|
-
page: this.page,
|
|
568
|
-
lastFilter: this.lastFilter,
|
|
569
|
-
sortingDefs: this.sortingDefs,
|
|
570
|
-
getItemInfoFn: (item) => this.getItemInfoFn(item),
|
|
571
|
-
search: (p) => this.search(p),
|
|
572
|
-
prepareRefreshEffect: () => this.prepareRefreshEffect?.(),
|
|
573
|
-
getDiffsExcludes: () => this.diffsExcludes,
|
|
574
|
-
});
|
|
575
|
-
//-- inline edit composable
|
|
576
|
-
this._inlineEditMgr = useDataSheetInlineEditManager({
|
|
577
|
-
busyCount: this.busyCount,
|
|
578
|
-
canEdit: () => this.canEdit(),
|
|
579
|
-
items: this.items,
|
|
580
|
-
submitted: this.submitted,
|
|
581
|
-
itemPropInfo: () => this.itemPropInfo,
|
|
582
|
-
getItemInfoFn: (item) => this.getItemInfoFn(item),
|
|
583
|
-
getDiffs: () => this._refreshMgr.getDiffs(),
|
|
584
|
-
refresh: () => this._refreshMgr.refresh(),
|
|
585
|
-
getNewItemFn: () => this.newItem?.bind(this),
|
|
586
|
-
getSubmitFn: () => this.submit?.bind(this),
|
|
587
|
-
errorMessageFn: (err) => this._getOrmDataEditToastErrorMessage(err),
|
|
588
|
-
});
|
|
589
|
-
//-- modal edit composable
|
|
590
|
-
this._modalEditMgr = useDataSheetModalEditManager({
|
|
591
|
-
busyCount: this.busyCount,
|
|
592
|
-
canEdit: () => this.canEdit(),
|
|
593
|
-
selectedItemKeys: this.selectedItemKeys,
|
|
594
|
-
selectedItems: this.selectedItems,
|
|
595
|
-
close: this.close,
|
|
596
|
-
refresh: () => this._refreshMgr.refresh(),
|
|
597
|
-
getEditItemFn: () => this.editItem?.bind(this),
|
|
598
|
-
getToggleDeleteItemsFn: () => this.toggleDeleteItems?.bind(this),
|
|
599
|
-
errorMessageFn: (err) => this._getOrmDataEditToastErrorMessage(err),
|
|
600
|
-
});
|
|
601
|
-
//-- excel composable
|
|
602
|
-
this._excelMgr = useDataSheetExcelManager({
|
|
603
|
-
busyCount: this.busyCount,
|
|
604
|
-
search: (p) => this.search(p),
|
|
605
|
-
refresh: () => this._refreshMgr.refresh(),
|
|
606
|
-
getDownloadExcelFn: () => this.downloadExcel?.bind(this),
|
|
607
|
-
getUploadExcelFn: () => this.uploadExcel?.bind(this),
|
|
608
|
-
errorMessageFn: (err) => this._getOrmDataEditToastErrorMessage(err),
|
|
609
|
-
});
|
|
610
|
-
setupCanDeactivate(() => this.viewType() === "modal" || this.checkIgnoreChanges());
|
|
611
|
-
}
|
|
612
|
-
//-- D2: class 메서드 (커스터마이징 가능)
|
|
613
|
-
checkIgnoreChanges() {
|
|
614
|
-
return this._refreshMgr.getDiffs().length === 0 || confirm(TXT_CHANGE_IGNORE_CONFIRM);
|
|
615
|
-
}
|
|
616
|
-
doFilterSubmit() {
|
|
617
|
-
this._filterMgr.doFilterSubmit();
|
|
618
|
-
}
|
|
619
|
-
doRefresh() {
|
|
620
|
-
if (this.busyCount() > 0)
|
|
621
|
-
return;
|
|
622
|
-
if (!this.canUse())
|
|
623
|
-
return;
|
|
624
|
-
if (!this.checkIgnoreChanges())
|
|
625
|
-
return;
|
|
626
|
-
mark(this.lastFilter);
|
|
627
|
-
}
|
|
628
|
-
async refresh() {
|
|
629
|
-
await this._refreshMgr.refresh();
|
|
630
|
-
}
|
|
631
|
-
//-- inline edit (delegated to composable)
|
|
632
|
-
async doAddItem() {
|
|
633
|
-
await this._inlineEditMgr.doAddItem();
|
|
634
|
-
}
|
|
635
|
-
async doSubmit(opt) {
|
|
636
|
-
await this._inlineEditMgr.doSubmit(opt);
|
|
637
|
-
}
|
|
638
|
-
doToggleDeleteItem(item) {
|
|
639
|
-
this._inlineEditMgr.doToggleDeleteItem(item);
|
|
640
|
-
}
|
|
641
|
-
//-- modal edit (delegated to composable)
|
|
642
|
-
async doEditItem(item) {
|
|
643
|
-
await this._modalEditMgr.doEditItem(item);
|
|
644
|
-
}
|
|
645
|
-
async doToggleDeleteItems(del) {
|
|
646
|
-
await this._modalEditMgr.doToggleDeleteItems(del);
|
|
647
|
-
}
|
|
648
|
-
doModalConfirm() {
|
|
649
|
-
this._modalEditMgr.doModalConfirm();
|
|
650
|
-
}
|
|
651
|
-
doModalCancel() {
|
|
652
|
-
this._modalEditMgr.doModalCancel();
|
|
653
|
-
}
|
|
654
|
-
//-- excel (delegated to composable)
|
|
655
|
-
async doDownloadExcel() {
|
|
656
|
-
await this._excelMgr.doDownloadExcel();
|
|
657
|
-
}
|
|
658
|
-
async doUploadExcel() {
|
|
659
|
-
await this._excelMgr.doUploadExcel();
|
|
660
|
-
}
|
|
661
|
-
//-- private
|
|
662
|
-
_getOrmDataEditToastErrorMessage(err) {
|
|
663
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
664
|
-
if (message.includes("a parent row: a foreign key constraint") ||
|
|
665
|
-
message.includes("conflicted with the REFERENCE")) {
|
|
666
|
-
return "경고! 연결된 작업에 의한 처리 거부. 후속작업 확인 요망";
|
|
667
|
-
}
|
|
668
|
-
return message;
|
|
669
|
-
}
|
|
670
|
-
static ɵfac = function AbsSdDataSheet_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbsSdDataSheet)(); };
|
|
671
|
-
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbsSdDataSheet, inputs: { selectedItemKeys: [1, "selectedItemKeys"] }, outputs: { close: "close", submitted: "submitted", selectedItemKeys: "selectedItemKeysChange" } });
|
|
672
|
-
}
|
|
673
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AbsSdDataSheet, [{
|
|
674
|
-
type: Directive
|
|
675
|
-
}], () => [], { close: [{ type: i0.Output, args: ["close"] }], submitted: [{ type: i0.Output, args: ["submitted"] }], selectedItemKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedItemKeys", required: false }] }, { type: i0.Output, args: ["selectedItemKeysChange"] }] }); })();
|
|
676
|
-
//#endregion
|
|
677
|
-
//#region SdDataSheetControl
|
|
678
|
-
export class SdDataSheetControl {
|
|
482
|
+
//#region SdDataSheet
|
|
483
|
+
export class SdDataSheet {
|
|
679
484
|
parent = injectParent();
|
|
680
485
|
formCtrl = viewChild("formCtrl", ...(ngDevMode ? [{ debugName: "formCtrl" }] : /* istanbul ignore next */ []));
|
|
681
486
|
insertText = input(...(ngDevMode ? [undefined, { debugName: "insertText" }] : /* istanbul ignore next */ []));
|
|
@@ -689,7 +494,7 @@ export class SdDataSheetControl {
|
|
|
689
494
|
beforeToolTplRef = contentChild("beforeToolTpl", { ...(ngDevMode ? { debugName: "beforeToolTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
|
|
690
495
|
toolTplRef = contentChild("toolTpl", { ...(ngDevMode ? { debugName: "toolTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
|
|
691
496
|
modalBottomTplRef = contentChild("modalBottomTpl", { ...(ngDevMode ? { debugName: "modalBottomTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
|
|
692
|
-
columnControls = contentChildren(
|
|
497
|
+
columnControls = contentChildren(SdDataSheetColumn, ...(ngDevMode ? [{ debugName: "columnControls" }] : /* istanbul ignore next */ []));
|
|
693
498
|
modalActionTplRef = viewChild("modalActionTpl", { ...(ngDevMode ? { debugName: "modalActionTplRef" } : /* istanbul ignore next */ {}), read: TemplateRef });
|
|
694
499
|
constructor() {
|
|
695
500
|
effect(() => {
|
|
@@ -746,37 +551,37 @@ export class SdDataSheetControl {
|
|
|
746
551
|
onCancelButtonClick() {
|
|
747
552
|
this.parent.doModalCancel();
|
|
748
553
|
}
|
|
749
|
-
static ɵfac = function
|
|
750
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
751
|
-
i0.ɵɵcontentQuerySignal(dirIndex, ctx.pageTopbarTplRef, _c0, 5, TemplateRef)(dirIndex, ctx.prevTplRef, _c1, 5, TemplateRef)(dirIndex, ctx.filterTplRef, _c2, 5, TemplateRef)(dirIndex, ctx.beforeToolTplRef, _c3, 5, TemplateRef)(dirIndex, ctx.toolTplRef, _c4, 5, TemplateRef)(dirIndex, ctx.modalBottomTplRef, _c5, 5, TemplateRef)(dirIndex, ctx.columnControls,
|
|
554
|
+
static ɵfac = function SdDataSheet_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SdDataSheet)(); };
|
|
555
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SdDataSheet, selectors: [["sd-data-sheet"]], contentQueries: function SdDataSheet_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
556
|
+
i0.ɵɵcontentQuerySignal(dirIndex, ctx.pageTopbarTplRef, _c0, 5, TemplateRef)(dirIndex, ctx.prevTplRef, _c1, 5, TemplateRef)(dirIndex, ctx.filterTplRef, _c2, 5, TemplateRef)(dirIndex, ctx.beforeToolTplRef, _c3, 5, TemplateRef)(dirIndex, ctx.toolTplRef, _c4, 5, TemplateRef)(dirIndex, ctx.modalBottomTplRef, _c5, 5, TemplateRef)(dirIndex, ctx.columnControls, SdDataSheetColumn, 4);
|
|
752
557
|
} if (rf & 2) {
|
|
753
558
|
i0.ɵɵqueryAdvance(7);
|
|
754
|
-
} }, viewQuery: function
|
|
559
|
+
} }, viewQuery: function SdDataSheet_Query(rf, ctx) { if (rf & 1) {
|
|
755
560
|
i0.ɵɵviewQuerySignal(ctx.formCtrl, _c6, 5)(ctx.modalActionTplRef, _c7, 5, TemplateRef);
|
|
756
561
|
} if (rf & 2) {
|
|
757
562
|
i0.ɵɵqueryAdvance(2);
|
|
758
|
-
} }, hostBindings: function
|
|
759
|
-
i0.ɵɵlistener("sdRefreshCommand", function
|
|
760
|
-
} }, inputs: { insertText: [1, "insertText"], deleteText: [1, "deleteText"], restoreText: [1, "restoreText"], deleteIcon: [1, "deleteIcon"], restoreIcon: [1, "restoreIcon"] }, decls: 6, vars: 6, consts: [["pageTopbarTpl", ""], ["contentTpl", ""], ["formCtrl", ""], ["cellTpl", ""], ["summaryTpl", ""], ["modalBottomTpl", ""], ["modalActionTpl", ""], [3, "busy", "busyMessage", "viewType", "initialized", "restricted"], [3, "theme"], [3, "click", "theme"], [3, "svg"], [3, "ngTemplateOutlet"], [1, "flex-column", "fill"], [1, "flex-row", "gap-sm", "p-default", "bdb", "bdb-theme-gray-lightest"], [1, "p-default"], [1, "flex-fill", "p-default", "pt-0", 3, "formSubmit"], [3, "currentPageChange", "sortsChange", "selectedItemsChange", "key", "items", "currentPage", "totalPageCount", "sorts", "selectMode", "autoSelect", "selectedItems", "trackByFn", "getItemCellStyleFn", "getItemSelectableFn"], [3, "fixed", "key"], [3, "key", "fixed", "header", "width", "disableSorting", "disableResizing", "hidden", "collapse"], [3, "header", "key", "hidden"], [3, "click", "size", "theme"], [3, "formSubmit"], [1, "form-box-inline"], [3, "type", "theme"], [1, "flex-row", "gap-sm", "p-xs-default"], [3, "size", "theme"], [3, "click", "size", "theme", "disabled"], [1, "p-xs-sm", "tx-center"], [3, "click", "theme", "disabled"], [1, "flex-row"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "flex-row", 3, "click"], [1, "p-xs-sm"], [1, "flex-fill"], [1, "p-sm-default", "flex-row", "gap-sm"], [1, "flex-fill", "flex-row", "gap-sm"], ["title", "\uC0C8\uB85C\uACE0\uCE68(CTRL+ALT+L)", 1, "p-sm-default", 3, "click", "theme"]], template: function
|
|
563
|
+
} }, hostBindings: function SdDataSheet_HostBindings(rf, ctx) { if (rf & 1) {
|
|
564
|
+
i0.ɵɵlistener("sdRefreshCommand", function SdDataSheet_sdRefreshCommand_HostBindingHandler() { return ctx.onRefreshButtonClick(); })("sdSaveCommand", function SdDataSheet_sdSaveCommand_HostBindingHandler() { return ctx.onSubmitButtonClick(); });
|
|
565
|
+
} }, inputs: { insertText: [1, "insertText"], deleteText: [1, "deleteText"], restoreText: [1, "restoreText"], deleteIcon: [1, "deleteIcon"], restoreIcon: [1, "restoreIcon"] }, decls: 6, vars: 6, consts: [["pageTopbarTpl", ""], ["contentTpl", ""], ["formCtrl", ""], ["cellTpl", ""], ["summaryTpl", ""], ["modalBottomTpl", ""], ["modalActionTpl", ""], [3, "busy", "busyMessage", "viewType", "initialized", "restricted"], [3, "theme"], [3, "click", "theme"], [3, "svg"], [3, "ngTemplateOutlet"], [1, "flex-column", "fill"], [1, "flex-row", "gap-sm", "p-default", "bdb", "bdb-theme-gray-lightest"], [1, "p-default"], [1, "flex-fill", "p-default", "pt-0", 3, "formSubmit"], [3, "currentPageChange", "sortsChange", "selectedItemsChange", "key", "items", "currentPage", "totalPageCount", "sorts", "selectMode", "autoSelect", "selectedItems", "trackByFn", "getItemCellStyleFn", "getItemSelectableFn"], [3, "fixed", "key"], [3, "key", "fixed", "header", "width", "disableSorting", "disableResizing", "hidden", "collapse"], [3, "header", "key", "hidden"], [3, "click", "size", "theme"], [3, "formSubmit"], [1, "form-box-inline"], [3, "type", "theme"], [1, "flex-row", "gap-sm", "p-xs-default"], [3, "size", "theme"], [3, "click", "size", "theme", "disabled"], [1, "p-xs-sm", "tx-center"], [3, "click", "theme", "disabled"], [1, "flex-row"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "flex-row", 3, "click"], [1, "p-xs-sm"], [1, "flex-fill"], [1, "p-sm-default", "flex-row", "gap-sm"], [1, "flex-fill", "flex-row", "gap-sm"], ["title", "\uC0C8\uB85C\uACE0\uCE68(CTRL+ALT+L)", 1, "p-sm-default", 3, "click", "theme"]], template: function SdDataSheet_Template(rf, ctx) { if (rf & 1) {
|
|
761
566
|
i0.ɵɵelementStart(0, "sd-base-container", 7);
|
|
762
|
-
i0.ɵɵtemplate(1,
|
|
763
|
-
i0.ɵɵconditionalCreate(5,
|
|
567
|
+
i0.ɵɵtemplate(1, SdDataSheet_ng_template_1_Template, 7, 4, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(3, SdDataSheet_ng_template_3_Template, 13, 17, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
568
|
+
i0.ɵɵconditionalCreate(5, SdDataSheet_Conditional_5_Template, 4, 0);
|
|
764
569
|
i0.ɵɵelementEnd();
|
|
765
570
|
} if (rf & 2) {
|
|
766
571
|
i0.ɵɵproperty("busy", ctx.parent.busyCount() > 0)("busyMessage", ctx.parent.busyMessage())("viewType", ctx.parent.viewType())("initialized", ctx.parent.initialized())("restricted", !ctx.parent.canUse());
|
|
767
572
|
i0.ɵɵadvance(5);
|
|
768
573
|
i0.ɵɵconditional(ctx.parent.selectMode() ? 5 : -1);
|
|
769
|
-
} }, dependencies: [
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
574
|
+
} }, dependencies: [SdForm,
|
|
575
|
+
SdButton,
|
|
576
|
+
SdSheet,
|
|
577
|
+
SdSheetColumn,
|
|
773
578
|
NgTemplateOutlet,
|
|
774
|
-
|
|
775
|
-
|
|
579
|
+
SdBaseContainer,
|
|
580
|
+
SdAnchor,
|
|
776
581
|
NgIcon,
|
|
777
582
|
FormatPipe], encapsulation: 2, changeDetection: 0 });
|
|
778
583
|
}
|
|
779
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
584
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SdDataSheet, [{
|
|
780
585
|
type: Component,
|
|
781
586
|
args: [{
|
|
782
587
|
selector: "sd-data-sheet",
|
|
@@ -784,14 +589,14 @@ export class SdDataSheetControl {
|
|
|
784
589
|
encapsulation: ViewEncapsulation.None,
|
|
785
590
|
standalone: true,
|
|
786
591
|
imports: [
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
592
|
+
SdForm,
|
|
593
|
+
SdButton,
|
|
594
|
+
SdSheet,
|
|
595
|
+
SdSheetColumn,
|
|
791
596
|
NgTemplateOutlet,
|
|
792
|
-
|
|
597
|
+
SdBaseContainer,
|
|
793
598
|
FormatPipe,
|
|
794
|
-
|
|
599
|
+
SdAnchor,
|
|
795
600
|
NgIcon,
|
|
796
601
|
],
|
|
797
602
|
host: {
|
|
@@ -1119,5 +924,5 @@ export class SdDataSheetControl {
|
|
|
1119
924
|
</sd-base-container>
|
|
1120
925
|
`,
|
|
1121
926
|
}]
|
|
1122
|
-
}], () => [], { formCtrl: [{ type: i0.ViewChild, args: ["formCtrl", { isSignal: true }] }], insertText: [{ type: i0.Input, args: [{ isSignal: true, alias: "insertText", required: false }] }], deleteText: [{ type: i0.Input, args: [{ isSignal: true, alias: "deleteText", required: false }] }], restoreText: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreText", required: false }] }], deleteIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "deleteIcon", required: false }] }], restoreIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreIcon", required: false }] }], pageTopbarTplRef: [{ type: i0.ContentChild, args: ["pageTopbarTpl", { ...{ read: TemplateRef }, isSignal: true }] }], prevTplRef: [{ type: i0.ContentChild, args: ["prevTpl", { ...{ read: TemplateRef }, isSignal: true }] }], filterTplRef: [{ type: i0.ContentChild, args: ["filterTpl", { ...{ read: TemplateRef }, isSignal: true }] }], beforeToolTplRef: [{ type: i0.ContentChild, args: ["beforeToolTpl", { ...{ read: TemplateRef }, isSignal: true }] }], toolTplRef: [{ type: i0.ContentChild, args: ["toolTpl", { ...{ read: TemplateRef }, isSignal: true }] }], modalBottomTplRef: [{ type: i0.ContentChild, args: ["modalBottomTpl", { ...{ read: TemplateRef }, isSignal: true }] }], columnControls: [{ type: i0.ContentChildren, args: [i0.forwardRef(() =>
|
|
1123
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
927
|
+
}], () => [], { formCtrl: [{ type: i0.ViewChild, args: ["formCtrl", { isSignal: true }] }], insertText: [{ type: i0.Input, args: [{ isSignal: true, alias: "insertText", required: false }] }], deleteText: [{ type: i0.Input, args: [{ isSignal: true, alias: "deleteText", required: false }] }], restoreText: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreText", required: false }] }], deleteIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "deleteIcon", required: false }] }], restoreIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreIcon", required: false }] }], pageTopbarTplRef: [{ type: i0.ContentChild, args: ["pageTopbarTpl", { ...{ read: TemplateRef }, isSignal: true }] }], prevTplRef: [{ type: i0.ContentChild, args: ["prevTpl", { ...{ read: TemplateRef }, isSignal: true }] }], filterTplRef: [{ type: i0.ContentChild, args: ["filterTpl", { ...{ read: TemplateRef }, isSignal: true }] }], beforeToolTplRef: [{ type: i0.ContentChild, args: ["beforeToolTpl", { ...{ read: TemplateRef }, isSignal: true }] }], toolTplRef: [{ type: i0.ContentChild, args: ["toolTpl", { ...{ read: TemplateRef }, isSignal: true }] }], modalBottomTplRef: [{ type: i0.ContentChild, args: ["modalBottomTpl", { ...{ read: TemplateRef }, isSignal: true }] }], columnControls: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => SdDataSheetColumn), { isSignal: true }] }], modalActionTplRef: [{ type: i0.ViewChild, args: ["modalActionTpl", { ...{ read: TemplateRef }, isSignal: true }] }] }); })();
|
|
928
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SdDataSheet, { className: "SdDataSheet", filePath: "packages/angular/src/features/data-view/sd-data-sheet.ts", lineNumber: 379, forbidOrphanRendering: true }); })();
|