@ximatai/muyun-web-app 0.26.3
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/EmployeeDetailWorkspaceView-mtdcsqgF.js +14 -0
- package/dist/EmployeeManagementView-CKKvQZaC.js +1706 -0
- package/dist/MetadataOrchestrationView-CprWBocy.js +655 -0
- package/dist/ModuleActionManagementView-DNuAQUPE.js +597 -0
- package/dist/RoleAuthorizationView-CQtSAJoJ.js +592 -0
- package/dist/RoleDetailWorkspaceView-Dh8DXpyS.js +26 -0
- package/dist/RoleManagementView-BrqaFV7y.js +1927 -0
- package/dist/SystemUserDetailWorkspaceView-N-kvycAu.js +17 -0
- package/dist/SystemUserManagementView-BVS5moV5.js +761 -0
- package/dist/UserDetailWorkspaceView-Iek6xwix.js +17 -0
- package/dist/UserManagementView-BR_Jz8O-.js +965 -0
- package/dist/currentUserContext-B1lj1WgF.js +11 -0
- package/dist/index.css +2 -0
- package/dist/index.js +7127 -0
- package/dist/pageRealtime-sRtDYlQP.js +140 -0
- package/dist/platform-components-bC1gwhic.js +8412 -0
- package/dist/types/App.vue.d.ts +3 -0
- package/dist/types/app/ChangeOwnPasswordDialog.vue.d.ts +27 -0
- package/dist/types/app/LoginView.vue.d.ts +14 -0
- package/dist/types/app/appWorkbenchStartup.d.ts +3 -0
- package/dist/types/app/devWorkbenchStartup.d.ts +1 -0
- package/dist/types/app/loginTenant.d.ts +6 -0
- package/dist/types/app/platformMessage.d.ts +6 -0
- package/dist/types/app/query.d.ts +3 -0
- package/dist/types/app/router.d.ts +1 -0
- package/dist/types/app/workbenchStartup.d.ts +24 -0
- package/dist/types/consumer/PlatformAdminOutlet.vue.d.ts +7 -0
- package/dist/types/consumer/index.d.ts +15 -0
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/DynamicModulePage.vue.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/actionReactions.d.ts +16 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/mockDescriptor.d.ts +2 -0
- package/dist/types/main.d.ts +2 -0
- package/dist/types/platform-admin-runtime/PlatformAdminOutlet.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +32 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewOutlet.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/authSession.d.ts +8 -0
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +3 -0
- package/dist/types/platform-admin-runtime/currentUserContext.d.ts +4 -0
- package/dist/types/platform-admin-runtime/index.d.ts +12 -0
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +36 -0
- package/dist/types/platform-admin-runtime/pageRealtime.d.ts +61 -0
- package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +21 -0
- package/dist/types/platform-admin-runtime/realtime.d.ts +20 -0
- package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -0
- package/dist/types/platform-admin-runtime/useWorkspaceViewPromotion.d.ts +24 -0
- package/dist/types/platform-admin-runtime/workspaceViewContract.d.ts +36 -0
- package/dist/types/platform-admin-runtime/workspaceViewContributions.d.ts +3 -0
- package/dist/types/platform-admin-runtime/workspaceViewHost.d.ts +10 -0
- package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +18 -0
- package/dist/types/platform-admin-runtime/workspaceViews.d.ts +18 -0
- package/dist/types/platform-components/ApplicationScopeSwitcher.vue.d.ts +18 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +52 -0
- package/dist/types/platform-components/DateTimeText.vue.d.ts +15 -0
- package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +18 -0
- package/dist/types/platform-components/EnabledSelect.vue.d.ts +14 -0
- package/dist/types/platform-components/ManagementExplorerColumn.vue.d.ts +13 -0
- package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +19 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +40 -0
- package/dist/types/platform-components/RecordActionBar.vue.d.ts +20 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +37 -0
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +23 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +37 -0
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +25 -0
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +29 -0
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +39 -0
- package/dist/types/platform-components/RecordExternalChangeNotice.vue.d.ts +20 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +31 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +42 -0
- package/dist/types/platform-components/RecordMetaSection.vue.d.ts +8 -0
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +74 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +35 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +103 -0
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +18 -0
- package/dist/types/platform-components/RecordStatusTag.vue.d.ts +6 -0
- package/dist/types/platform-components/RecordTreeSelector.vue.d.ts +22 -0
- package/dist/types/platform-components/RecycleBinModeButton.vue.d.ts +16 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +44 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +57 -0
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +26 -0
- package/dist/types/platform-components/actionConfirmation.d.ts +3 -0
- package/dist/types/platform-components/crudRecordListModel.d.ts +10 -0
- package/dist/types/platform-components/drawerPromotion.d.ts +4 -0
- package/dist/types/platform-components/index.d.ts +76 -0
- package/dist/types/platform-components/optionFieldOptions.d.ts +10 -0
- package/dist/types/platform-components/pageLayoutContext.d.ts +6 -0
- package/dist/types/platform-components/platformActionResultFeedback.d.ts +12 -0
- package/dist/types/platform-components/platformActionResultReactions.d.ts +53 -0
- package/dist/types/platform-components/platformDateTime.d.ts +16 -0
- package/dist/types/platform-components/platformErrorFeedback.d.ts +15 -0
- package/dist/types/platform-components/platformTimeZoneContext.d.ts +3 -0
- package/dist/types/platform-components/recordActionBarModel.d.ts +27 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +7 -0
- package/dist/types/platform-components/recordDraftNormalizer.d.ts +1 -0
- package/dist/types/platform-components/recordEditorSessionState.d.ts +38 -0
- package/dist/types/platform-components/recordExplorerItemModel.d.ts +8 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +57 -0
- package/dist/types/platform-components/recordPickerConstraints.d.ts +20 -0
- package/dist/types/platform-components/recordPickerModel.d.ts +2 -0
- package/dist/types/platform-components/recycleBinState.d.ts +39 -0
- package/dist/types/platform-components/scopedResourceTreeModuleContext.d.ts +6 -0
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +10 -0
- package/dist/types/platform-components/softDeletedConflictHandler.d.ts +75 -0
- package/dist/types/platform-components/staticCrudManagementState.d.ts +66 -0
- package/dist/types/platform-components/staticFormActionFlow.d.ts +39 -0
- package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +7 -0
- package/dist/types/platform-components/treeRecordModel.d.ts +17 -0
- package/dist/types/platform-components/useRecycleBinExplorerMode.d.ts +26 -0
- package/dist/types/platform-components/userSessionPresentation.d.ts +12 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +46 -0
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +23 -0
- package/dist/types/platform-workbench/WorkbenchMenuTree.vue.d.ts +13 -0
- package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +7 -0
- package/dist/types/platform-workbench/hosts/BusinessRouteHost.vue.d.ts +7 -0
- package/dist/types/platform-workbench/hosts/ExternalPageHost.vue.d.ts +7 -0
- package/dist/types/platform-workbench/hosts/PlatformRouteHost.vue.d.ts +7 -0
- package/dist/types/platform-workbench/index.d.ts +11 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +28 -0
- package/dist/types/platform-workbench/menuTreeModel.d.ts +20 -0
- package/dist/types/platform-workbench/pageHostRegistry.d.ts +3 -0
- package/dist/types/platform-workbench/realtimeStatus.d.ts +7 -0
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +12 -0
- package/dist/types/views/ApplicationManagementView.vue.d.ts +3 -0
- package/dist/types/views/DepartmentManagementView.vue.d.ts +3 -0
- package/dist/types/views/DictionaryManagementView.vue.d.ts +3 -0
- package/dist/types/views/EmployeeDetailContent.vue.d.ts +64 -0
- package/dist/types/views/EmployeeDetailWorkspaceView.vue.d.ts +6 -0
- package/dist/types/views/EmployeeEmploymentDrawer.vue.d.ts +14 -0
- package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +18 -0
- package/dist/types/views/EmployeeManagementView.vue.d.ts +7 -0
- package/dist/types/views/FieldSpecManagementView.vue.d.ts +3 -0
- package/dist/types/views/FieldUiControlManagementView.vue.d.ts +3 -0
- package/dist/types/views/HomeView.vue.d.ts +3 -0
- package/dist/types/views/MenuManagementView.vue.d.ts +3 -0
- package/dist/types/views/MetadataOrchestrationView.vue.d.ts +8 -0
- package/dist/types/views/ModuleActionManagementView.vue.d.ts +9 -0
- package/dist/types/views/ModuleManagementView.vue.d.ts +3 -0
- package/dist/types/views/ModuleOpenApiView.vue.d.ts +10 -0
- package/dist/types/views/OpenApiCatalogView.vue.d.ts +9 -0
- package/dist/types/views/OrganizationManagementView.vue.d.ts +3 -0
- package/dist/types/views/PasswordManagementView.vue.d.ts +3 -0
- package/dist/types/views/PositionManagementView.vue.d.ts +3 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +16 -0
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +12 -0
- package/dist/types/views/RoleDetailWorkspaceView.vue.d.ts +9 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +16 -0
- package/dist/types/views/RoleGroupMemberSelector.vue.d.ts +18 -0
- package/dist/types/views/RoleManagementView.vue.d.ts +9 -0
- package/dist/types/views/SystemUserDetailWorkspaceView.vue.d.ts +7 -0
- package/dist/types/views/SystemUserManagementView.vue.d.ts +7 -0
- package/dist/types/views/TenantManagementView.vue.d.ts +3 -0
- package/dist/types/views/UserDetailContent.vue.d.ts +32 -0
- package/dist/types/views/UserDetailWorkspaceView.vue.d.ts +7 -0
- package/dist/types/views/UserManagementView.vue.d.ts +8 -0
- package/dist/types/views/applicationManagementState.d.ts +64 -0
- package/dist/types/views/departmentManagementState.d.ts +137 -0
- package/dist/types/views/dictionaryManagementState.d.ts +215 -0
- package/dist/types/views/employeeDetailStateModel.d.ts +39 -0
- package/dist/types/views/employeeDetailWorkspaceSession.d.ts +16 -0
- package/dist/types/views/employeeDetailWorkspaceView.d.ts +4 -0
- package/dist/types/views/fieldSpecManagementState.d.ts +80 -0
- package/dist/types/views/fieldUiControlManagementState.d.ts +76 -0
- package/dist/types/views/menuManagementState.d.ts +178 -0
- package/dist/types/views/metadataOrchestrationState.d.ts +278 -0
- package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +6 -0
- package/dist/types/views/moduleActionManagementWorkspaceView.d.ts +7 -0
- package/dist/types/views/moduleManagementState.d.ts +76 -0
- package/dist/types/views/organizationManagementState.d.ts +64 -0
- package/dist/types/views/positionManagementState.d.ts +218 -0
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +17 -0
- package/dist/types/views/roleAuthorizationWorkspaceView.d.ts +5 -0
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +19 -0
- package/dist/types/views/roleDetailWorkspaceView.d.ts +8 -0
- package/dist/types/views/roleGrantClient.d.ts +59 -0
- package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +12 -0
- package/dist/types/views/systemUserDetailWorkspaceView.d.ts +5 -0
- package/dist/types/views/tenantManagementState.d.ts +64 -0
- package/dist/types/views/useEmployeeEmploymentRows.d.ts +20 -0
- package/dist/types/views/useUserSessionRows.d.ts +28 -0
- package/dist/types/views/userDetailStateModel.d.ts +11 -0
- package/dist/types/views/userDetailWorkspaceSession.d.ts +14 -0
- package/dist/types/views/userDetailWorkspaceView.d.ts +4 -0
- package/dist/types/vue-ui-antdv/components/ActionBar.vue.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/DictionarySelect.vue.d.ts +14 -0
- package/dist/types/vue-ui-antdv/components/ReferenceSelect.vue.d.ts +16 -0
- package/dist/types/vue-ui-antdv/components/UiActionButton.vue.d.ts +37 -0
- package/dist/types/vue-ui-antdv/components/UiBadge.vue.d.ts +20 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +41 -0
- package/dist/types/vue-ui-antdv/components/UiCheckbox.vue.d.ts +30 -0
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +71 -0
- package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +29 -0
- package/dist/types/vue-ui-antdv/components/UiEmpty.vue.d.ts +6 -0
- package/dist/types/vue-ui-antdv/components/UiError.vue.d.ts +7 -0
- package/dist/types/vue-ui-antdv/components/UiForm.vue.d.ts +15 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +7 -0
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +25 -0
- package/dist/types/vue-ui-antdv/components/UiMenu.vue.d.ts +19 -0
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +36 -0
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +26 -0
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +22 -0
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +30 -0
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +28 -0
- package/dist/types/vue-ui-antdv/components/UiSidePanelHost.vue.d.ts +13 -0
- package/dist/types/vue-ui-antdv/components/UiSpin.vue.d.ts +22 -0
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +22 -0
- package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +13 -0
- package/dist/types/vue-ui-antdv/components/UiTabs.vue.d.ts +14 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +20 -0
- package/dist/types/vue-ui-antdv/components/UiTooltip.vue.d.ts +19 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +17 -0
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +30 -0
- package/dist/types/vue-ui-antdv/components/sidePanelHost.d.ts +3 -0
- package/dist/types/vue-ui-antdv/confirm.d.ts +5 -0
- package/dist/types/vue-ui-antdv/dataTableModel.d.ts +10 -0
- package/dist/types/vue-ui-antdv/dictionaries.d.ts +2 -0
- package/dist/types/vue-ui-antdv/feedback.d.ts +10 -0
- package/dist/types/vue-ui-antdv/index.d.ts +36 -0
- package/dist/types/vue-ui-antdv/references.d.ts +8 -0
- package/dist/types/vue-ui-antdv/registry.d.ts +3 -0
- package/dist/types/vue-ui-antdv/types.d.ts +65 -0
- package/dist/types/web-contracts/index.d.ts +862 -0
- package/dist/types/web-core/actionResult.d.ts +28 -0
- package/dist/types/web-core/clients.d.ts +23 -0
- package/dist/types/web-core/dataChanges.d.ts +15 -0
- package/dist/types/web-core/errors.d.ts +65 -0
- package/dist/types/web-core/http.d.ts +21 -0
- package/dist/types/web-core/index.d.ts +8 -0
- package/dist/types/web-core/mock.d.ts +6 -0
- package/dist/types/web-core/module/abilities.d.ts +21 -0
- package/dist/types/web-core/module/abilityCodes.d.ts +18 -0
- package/dist/types/web-core/module/index.d.ts +6 -0
- package/dist/types/web-core/module/moduleContext.d.ts +49 -0
- package/dist/types/web-core/module/recycleBin.d.ts +6 -0
- package/dist/types/web-core/module/runtimeContext.d.ts +65 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +45 -0
- package/dist/types/web-core/query.d.ts +16 -0
- package/dist/types/web-core/realtime.d.ts +104 -0
- package/dist/useUserSessionRows-CLM0ZvAF.js +128 -0
- package/dist/workspaceViewSessions-WsJU3OS7.js +1578 -0
- package/package.json +27 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EmploymentSelectorItem } from '@muyun/web-contracts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
rows: EmploymentSelectorItem[];
|
|
4
|
+
selectedIds?: Set<string>;
|
|
5
|
+
selectable?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:selectedIds": (value: Set<string>) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:selectedIds"?: ((value: Set<string>) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
selectable: boolean;
|
|
15
|
+
selectedIds: Set<string>;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
recordId?: string;
|
|
3
|
+
mode?: 'view' | 'edit';
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
moduleAlias: string;
|
|
3
|
+
moduleTitle?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
moduleAlias: string;
|
|
3
|
+
moduleTitle?: string;
|
|
4
|
+
moduleKind?: 'static' | 'dynamic';
|
|
5
|
+
title?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
moduleAlias: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
titleResolved: (title: string) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
onTitleResolved?: ((title: string) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
open: (moduleAlias: string, title: string) => any;
|
|
3
|
+
back: () => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
+
onOpen?: ((moduleAlias: string, title: string) => any) | undefined;
|
|
6
|
+
onBack?: (() => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Role } from '@muyun/web-contracts';
|
|
2
|
+
import type { ModuleContext } from '@muyun/web-core';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
context: ModuleContext<Role>;
|
|
6
|
+
role?: Role;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
close: () => any;
|
|
10
|
+
saved: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onClose?: (() => any) | undefined;
|
|
13
|
+
onSaved?: (() => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
roleId?: string;
|
|
3
|
+
/** A parent management tab owns the initial wide drawer before promotion. */
|
|
4
|
+
drawer?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
close: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RoleOwnerScopeType } from '@muyun/web-contracts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
recordId: string;
|
|
4
|
+
scopeKind: RoleOwnerScopeType;
|
|
5
|
+
scopeId?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Role } from '@muyun/web-contracts';
|
|
2
|
+
import type { ModuleContext } from '@muyun/web-core';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
context: ModuleContext<Role>;
|
|
6
|
+
role?: Role;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
close: () => any;
|
|
10
|
+
saved: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onClose?: (() => any) | undefined;
|
|
13
|
+
onSaved?: (() => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Role } from '@muyun/web-contracts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: string;
|
|
4
|
+
candidates: Role[];
|
|
5
|
+
currentRoleId?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:value": (value: string | undefined) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:value"?: ((value: string | undefined) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
value: string;
|
|
15
|
+
currentRoleId: string;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RoleOwnerScopeType } from '@muyun/web-contracts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
recordId?: string;
|
|
4
|
+
scopeKind?: RoleOwnerScopeType;
|
|
5
|
+
scopeId?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
recordId: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
recordId?: string;
|
|
3
|
+
mode?: 'view' | 'edit';
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type RecordDetailDisplayResolver, type RecordFormFieldDescriptor, type RecordFormFieldFallback, type RecordFormFieldValue } from '@muyun/platform-components';
|
|
2
|
+
import type { ResetPasswordResponse, UserAccount } from '@muyun/web-contracts';
|
|
3
|
+
import type { UserDetailMode } from './userDetailStateModel';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
mode: UserDetailMode;
|
|
6
|
+
draft: Partial<UserAccount>;
|
|
7
|
+
selectedUser?: UserAccount;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
loadFailed: boolean;
|
|
10
|
+
saving: boolean;
|
|
11
|
+
tenantTitle: string;
|
|
12
|
+
fields: Map<string, RecordFormFieldDescriptor>;
|
|
13
|
+
fallback: Record<string, RecordFormFieldFallback>;
|
|
14
|
+
fieldNames: string[];
|
|
15
|
+
password: string;
|
|
16
|
+
resetPasswordResult?: ResetPasswordResponse;
|
|
17
|
+
displayOf?: RecordDetailDisplayResolver;
|
|
18
|
+
disabledOf?: (fieldName: string) => boolean;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
save: () => any;
|
|
22
|
+
retry: () => any;
|
|
23
|
+
"update:field": (fieldName: string, value: RecordFormFieldValue) => any;
|
|
24
|
+
"update:password": (value: string) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
onSave?: (() => any) | undefined;
|
|
27
|
+
onRetry?: (() => any) | undefined;
|
|
28
|
+
"onUpdate:field"?: ((fieldName: string, value: RecordFormFieldValue) => any) | undefined;
|
|
29
|
+
"onUpdate:password"?: ((value: string) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
recordId: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Present only when this component is restored as a workbench task. */
|
|
3
|
+
recordId?: string;
|
|
4
|
+
mode?: 'view' | 'edit';
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { Application } from '@muyun/web-contracts';
|
|
2
|
+
import type { ModuleContext } from '@muyun/web-core';
|
|
3
|
+
import type { UiConfirmOptions } from '@muyun/vue-ui-antdv';
|
|
4
|
+
import { type StaticCrudActionErrorHandler } from '../platform-components/staticCrudManagementState';
|
|
5
|
+
import type { PlatformActionResultReactionHandler } from '../platform-components/platformActionResultFeedback';
|
|
6
|
+
type ConfirmAction = (options: UiConfirmOptions) => Promise<boolean>;
|
|
7
|
+
export interface ApplicationManagementStateOptions {
|
|
8
|
+
actionErrorHandlers?: StaticCrudActionErrorHandler<Application>[];
|
|
9
|
+
actionResultReactionHandlers?: Record<string, PlatformActionResultReactionHandler | undefined>;
|
|
10
|
+
}
|
|
11
|
+
export declare function createApplicationManagementState(applicationContext: ModuleContext<Application>, confirmAction: ConfirmAction, options?: ApplicationManagementStateOptions): {
|
|
12
|
+
aliasReadonly: import("vue").ComputedRef<boolean>;
|
|
13
|
+
selected: import("vue").Ref<Application | undefined, Application | undefined>;
|
|
14
|
+
draft: import("vue").Ref<{
|
|
15
|
+
alias?: string | undefined;
|
|
16
|
+
enabled?: boolean | undefined;
|
|
17
|
+
sortOrder?: number | undefined;
|
|
18
|
+
title?: string | undefined;
|
|
19
|
+
id?: string | undefined;
|
|
20
|
+
tenantId?: string | undefined;
|
|
21
|
+
version?: number | undefined;
|
|
22
|
+
deleted?: boolean | undefined;
|
|
23
|
+
deletedAt?: string | undefined;
|
|
24
|
+
createdBy?: string | undefined;
|
|
25
|
+
createdAt?: string | undefined;
|
|
26
|
+
updatedBy?: string | undefined;
|
|
27
|
+
updatedAt?: string | undefined;
|
|
28
|
+
}, Application | {
|
|
29
|
+
alias?: string | undefined;
|
|
30
|
+
enabled?: boolean | undefined;
|
|
31
|
+
sortOrder?: number | undefined;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
id?: string | undefined;
|
|
34
|
+
tenantId?: string | undefined;
|
|
35
|
+
version?: number | undefined;
|
|
36
|
+
deleted?: boolean | undefined;
|
|
37
|
+
deletedAt?: string | undefined;
|
|
38
|
+
createdBy?: string | undefined;
|
|
39
|
+
createdAt?: string | undefined;
|
|
40
|
+
updatedBy?: string | undefined;
|
|
41
|
+
updatedAt?: string | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
mode: import("vue").Ref<import("../platform-components").StaticCrudCardMode, import("../platform-components").StaticCrudCardMode>;
|
|
44
|
+
reloadKey: import("vue").Ref<number, number>;
|
|
45
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
46
|
+
actionError: import("vue").Ref<string | undefined, string | undefined>;
|
|
47
|
+
cardTitle: import("vue").ComputedRef<string>;
|
|
48
|
+
readonly: import("vue").ComputedRef<boolean>;
|
|
49
|
+
canCreate: import("vue").ComputedRef<boolean>;
|
|
50
|
+
canUpdate: import("vue").ComputedRef<boolean>;
|
|
51
|
+
canDelete: import("vue").ComputedRef<boolean>;
|
|
52
|
+
canEnable: import("vue").ComputedRef<boolean>;
|
|
53
|
+
canMutate: import("vue").ComputedRef<boolean>;
|
|
54
|
+
handleListLoaded: (records: Application[]) => void;
|
|
55
|
+
handleReadonlyListLoaded: (records: Application[]) => void;
|
|
56
|
+
handleSelect: (record: Application) => void;
|
|
57
|
+
startCreate: () => void;
|
|
58
|
+
startEdit: () => void;
|
|
59
|
+
cancelEdit: () => void;
|
|
60
|
+
save: () => Promise<void>;
|
|
61
|
+
toggleEnabled: () => Promise<void>;
|
|
62
|
+
removeSelected: () => Promise<void>;
|
|
63
|
+
};
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import type { Department, Organization } from '@muyun/web-contracts';
|
|
2
|
+
import type { ModuleContext } from '@muyun/web-core';
|
|
3
|
+
import type { UiConfirmOptions } from '@muyun/vue-ui-antdv';
|
|
4
|
+
export type DepartmentMode = 'view' | 'edit' | 'create-root' | 'create-child';
|
|
5
|
+
type ConfirmAction = (options: UiConfirmOptions) => Promise<boolean>;
|
|
6
|
+
export declare function createDepartmentManagementState(departmentContext: ModuleContext<Department>, confirmAction: ConfirmAction): {
|
|
7
|
+
organizationReloadKey: import("vue").Ref<number, number>;
|
|
8
|
+
departmentReloadKey: import("vue").Ref<number, number>;
|
|
9
|
+
organizations: import("vue").Ref<{
|
|
10
|
+
code?: string | undefined;
|
|
11
|
+
enabled?: boolean | undefined;
|
|
12
|
+
parentId?: string | undefined;
|
|
13
|
+
sortOrder?: number | undefined;
|
|
14
|
+
title?: string | undefined;
|
|
15
|
+
id?: string | undefined;
|
|
16
|
+
tenantId?: string | undefined;
|
|
17
|
+
version?: number | undefined;
|
|
18
|
+
deleted?: boolean | undefined;
|
|
19
|
+
deletedAt?: string | undefined;
|
|
20
|
+
createdBy?: string | undefined;
|
|
21
|
+
createdAt?: string | undefined;
|
|
22
|
+
updatedBy?: string | undefined;
|
|
23
|
+
updatedAt?: string | undefined;
|
|
24
|
+
}[], Organization[] | {
|
|
25
|
+
code?: string | undefined;
|
|
26
|
+
enabled?: boolean | undefined;
|
|
27
|
+
parentId?: string | undefined;
|
|
28
|
+
sortOrder?: number | undefined;
|
|
29
|
+
title?: string | undefined;
|
|
30
|
+
id?: string | undefined;
|
|
31
|
+
tenantId?: string | undefined;
|
|
32
|
+
version?: number | undefined;
|
|
33
|
+
deleted?: boolean | undefined;
|
|
34
|
+
deletedAt?: string | undefined;
|
|
35
|
+
createdBy?: string | undefined;
|
|
36
|
+
createdAt?: string | undefined;
|
|
37
|
+
updatedBy?: string | undefined;
|
|
38
|
+
updatedAt?: string | undefined;
|
|
39
|
+
}[]>;
|
|
40
|
+
selectedOrganization: import("vue").Ref<Organization | undefined, Organization | undefined>;
|
|
41
|
+
departments: import("vue").Ref<{
|
|
42
|
+
organizationId?: string | undefined;
|
|
43
|
+
code?: string | undefined;
|
|
44
|
+
enabled?: boolean | undefined;
|
|
45
|
+
parentId?: string | undefined;
|
|
46
|
+
sortOrder?: number | undefined;
|
|
47
|
+
title?: string | undefined;
|
|
48
|
+
id?: string | undefined;
|
|
49
|
+
tenantId?: string | undefined;
|
|
50
|
+
version?: number | undefined;
|
|
51
|
+
deleted?: boolean | undefined;
|
|
52
|
+
deletedAt?: string | undefined;
|
|
53
|
+
createdBy?: string | undefined;
|
|
54
|
+
createdAt?: string | undefined;
|
|
55
|
+
updatedBy?: string | undefined;
|
|
56
|
+
updatedAt?: string | undefined;
|
|
57
|
+
}[], Department[] | {
|
|
58
|
+
organizationId?: string | undefined;
|
|
59
|
+
code?: string | undefined;
|
|
60
|
+
enabled?: boolean | undefined;
|
|
61
|
+
parentId?: string | undefined;
|
|
62
|
+
sortOrder?: number | undefined;
|
|
63
|
+
title?: string | undefined;
|
|
64
|
+
id?: string | undefined;
|
|
65
|
+
tenantId?: string | undefined;
|
|
66
|
+
version?: number | undefined;
|
|
67
|
+
deleted?: boolean | undefined;
|
|
68
|
+
deletedAt?: string | undefined;
|
|
69
|
+
createdBy?: string | undefined;
|
|
70
|
+
createdAt?: string | undefined;
|
|
71
|
+
updatedBy?: string | undefined;
|
|
72
|
+
updatedAt?: string | undefined;
|
|
73
|
+
}[]>;
|
|
74
|
+
selectedDepartment: import("vue").Ref<Department | undefined, Department | undefined>;
|
|
75
|
+
draft: import("vue").Ref<{
|
|
76
|
+
organizationId?: string | undefined;
|
|
77
|
+
code?: string | undefined;
|
|
78
|
+
enabled?: boolean | undefined;
|
|
79
|
+
parentId?: string | undefined;
|
|
80
|
+
sortOrder?: number | undefined;
|
|
81
|
+
title?: string | undefined;
|
|
82
|
+
id?: string | undefined;
|
|
83
|
+
tenantId?: string | undefined;
|
|
84
|
+
version?: number | undefined;
|
|
85
|
+
deleted?: boolean | undefined;
|
|
86
|
+
deletedAt?: string | undefined;
|
|
87
|
+
createdBy?: string | undefined;
|
|
88
|
+
createdAt?: string | undefined;
|
|
89
|
+
updatedBy?: string | undefined;
|
|
90
|
+
updatedAt?: string | undefined;
|
|
91
|
+
}, Department | {
|
|
92
|
+
organizationId?: string | undefined;
|
|
93
|
+
code?: string | undefined;
|
|
94
|
+
enabled?: boolean | undefined;
|
|
95
|
+
parentId?: string | undefined;
|
|
96
|
+
sortOrder?: number | undefined;
|
|
97
|
+
title?: string | undefined;
|
|
98
|
+
id?: string | undefined;
|
|
99
|
+
tenantId?: string | undefined;
|
|
100
|
+
version?: number | undefined;
|
|
101
|
+
deleted?: boolean | undefined;
|
|
102
|
+
deletedAt?: string | undefined;
|
|
103
|
+
createdBy?: string | undefined;
|
|
104
|
+
createdAt?: string | undefined;
|
|
105
|
+
updatedBy?: string | undefined;
|
|
106
|
+
updatedAt?: string | undefined;
|
|
107
|
+
}>;
|
|
108
|
+
mode: import("vue").Ref<DepartmentMode, DepartmentMode>;
|
|
109
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
110
|
+
selectedOrganizationId: import("vue").ComputedRef<string | undefined>;
|
|
111
|
+
selectedOrganizationTitle: import("vue").ComputedRef<string>;
|
|
112
|
+
selectedDepartmentTitle: import("vue").ComputedRef<string>;
|
|
113
|
+
readonly: import("vue").ComputedRef<boolean>;
|
|
114
|
+
canCreate: import("vue").ComputedRef<boolean>;
|
|
115
|
+
canUpdate: import("vue").ComputedRef<boolean>;
|
|
116
|
+
canDelete: import("vue").ComputedRef<boolean>;
|
|
117
|
+
canToggle: import("vue").ComputedRef<boolean>;
|
|
118
|
+
cardTitle: import("vue").ComputedRef<string>;
|
|
119
|
+
handleOrganizationsLoaded: (records: Organization[]) => void;
|
|
120
|
+
selectOrganization: (record: Organization) => void;
|
|
121
|
+
handleDepartmentsLoaded: (records: Department[]) => void;
|
|
122
|
+
selectDepartment: (record: Department) => void;
|
|
123
|
+
startCreateRoot: () => void;
|
|
124
|
+
startCreateChild: (parent?: Department) => void;
|
|
125
|
+
startEdit: () => void;
|
|
126
|
+
cancelEdit: () => void;
|
|
127
|
+
save: () => Promise<void>;
|
|
128
|
+
toggleEnabled: () => Promise<void>;
|
|
129
|
+
removeSelected: () => Promise<void>;
|
|
130
|
+
};
|
|
131
|
+
export declare function organizationTitleOf(record: Organization | undefined): string;
|
|
132
|
+
export declare function departmentTitleOf(record: Department | undefined): string;
|
|
133
|
+
export declare function emptyDepartmentDraft(organizationId?: string): Department;
|
|
134
|
+
export declare function copyDepartment(record: Department): Department;
|
|
135
|
+
export declare function normalizeDepartmentDraft(record: Department, organizationId: string | undefined): Department;
|
|
136
|
+
export declare function isValidDepartment(record: Department): boolean;
|
|
137
|
+
export {};
|