@ximatai/muyun-web-app 0.26.7 → 0.26.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DictionaryManagementView-CtIQpqVA.js +1035 -0
- package/dist/MenuManagementView-DJhkN2sG.js +837 -0
- package/dist/{MetadataOrchestrationView-B-CPudJl.js → MetadataOrchestrationView-CzhAgEdX.js} +210 -204
- package/dist/{ModuleActionManagementView-CmVj0e0C.js → ModuleActionManagementView-CM2d8jPO.js} +69 -69
- package/dist/RoleAuthorizationView-jn_WUCeg.js +599 -0
- package/dist/{RoleDetailWorkspaceView-DmJlJgAj.js → RoleDetailWorkspaceView-CzaQ3Dz1.js} +1 -1
- package/dist/RoleManagementView-nY7qu4GF.js +1951 -0
- package/dist/{SystemUserDetailWorkspaceView-U6Ij0US1.js → SystemUserDetailWorkspaceView-CBvqmWvP.js} +1 -1
- package/dist/SystemUserManagementView-AEomKvK7.js +887 -0
- package/dist/index.css +1 -1
- package/dist/index.js +651 -6970
- package/dist/{platform-components-DKKWbNrz.js → platform-components-CIi6GdC9.js} +5292 -3634
- package/dist/types/App.vue.d.ts +1 -0
- package/dist/types/app/StaticRoutePageHost.vue.d.ts +11 -0
- package/dist/types/app/loginTenant.d.ts +1 -1
- package/dist/types/app/menuRouteCompiler.d.ts +45 -0
- package/dist/types/app/menuRouteRuntime.d.ts +24 -0
- package/dist/types/app/pageRouteContext.d.ts +24 -0
- package/dist/types/app/routeDiagnosticsStore.d.ts +10 -0
- package/dist/types/app/router.d.ts +15 -0
- package/dist/types/app/staticRouteDefinitions.d.ts +25 -0
- package/dist/types/app/workbenchRouteSync.d.ts +1 -1
- package/dist/types/app/workbenchStartup.d.ts +9 -5
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +2 -2
- package/dist/types/consumer/index.d.ts +7 -4
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +3 -10
- package/dist/types/{views/EmployeeEmploymentDrawer.vue.d.ts → dynamic-page-runtime/DynamicModuleWorkspaceDetailView.vue.d.ts} +3 -7
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +39 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +40 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +26 -0
- package/dist/types/dynamic-page-runtime/ModulePageFormContributionRenderer.vue.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +19 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +16 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +42 -0
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +41 -0
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +44 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +50 -0
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +31 -0
- package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +30 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +48 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +26 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +22 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +41 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +1324 -0
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +22 -0
- package/dist/types/dynamic-page-runtime/detailSurfacePreference.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +5 -12
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +18 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +4 -2
- package/dist/types/dynamic-page-runtime/listPageSizePreference.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/moduleDetailStateModel.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +218 -6
- package/dist/types/dynamic-page-runtime/modulePageNavigation.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/navigatorVisibility.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +35 -0
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +9 -0
- package/dist/types/formula/FormulaRuntime.d.ts +29 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +1 -0
- package/dist/types/{views/EmployeeDetailWorkspaceView.vue.d.ts → platform-admin-runtime/employee/EmployeeAccountDrawer.vue.d.ts} +2 -1
- package/dist/types/platform-admin-runtime/employeeModulePageEnhancement.d.ts +3 -0
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +2 -0
- package/dist/types/platform-admin-runtime/passwordPolicyPageEnhancement.d.ts +6 -0
- package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +1 -1
- package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +9 -0
- package/dist/types/platform-admin-runtime/realtime.d.ts +2 -1
- package/dist/types/platform-admin-runtime/tenant/TenantApplicationConfigurationDrawer.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/tenant/TenantApplicationsDetailSection.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/tenantModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/UserOnlineStatusCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/user/UserPasswordDrawer.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/UserSessionListExpansion.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +23 -0
- package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +11 -0
- package/dist/types/platform-admin-runtime/userModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +12 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +10 -2
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +13 -0
- package/dist/types/{views/EmployeeManagementView.vue.d.ts → platform-components/DrawerTitleActions.vue.d.ts} +2 -2
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +7 -0
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +5 -3
- package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +8 -2
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +5 -2
- package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +17 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +7 -1
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +8 -3
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +5 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +17 -7
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +15 -5
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +3 -0
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +4 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +29 -1
- package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +11 -0
- package/dist/types/platform-components/RecordListExpansionSurface.vue.d.ts +13 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +6 -2
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +12 -2
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +10 -2
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +42 -7
- package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +14 -0
- package/dist/types/platform-components/RecordSelectionCheckbox.vue.d.ts +13 -0
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +3 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +21 -7
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +7 -2
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +2 -0
- package/dist/types/platform-components/drawerTitleActions.d.ts +11 -0
- package/dist/types/platform-components/index.d.ts +15 -5
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +14 -0
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +3 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +69 -6
- package/dist/types/platform-components/recordPickerConstraints.d.ts +2 -0
- package/dist/types/platform-components/recordPickerModel.d.ts +6 -2
- package/dist/types/platform-components/recycleBinState.d.ts +2 -0
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +11 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +2 -2
- package/dist/types/platform-workbench/index.d.ts +4 -2
- package/dist/types/platform-workbench/legacyPageHostTypeCompatibility.d.ts +6 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +26 -1
- package/dist/types/platform-workbench/modulePageWorkspaceViews.d.ts +7 -0
- package/dist/types/platform-workbench/pageCacheKey.d.ts +2 -0
- package/dist/types/platform-workbench/pageHostRegistry.d.ts +1 -1
- package/dist/types/platform-workbench/workbenchLayout.d.ts +36 -0
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +16 -1
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +2 -0
- package/dist/types/views/PasswordPolicyPreview.vue.d.ts +7 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +1 -0
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +2 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +1 -0
- package/dist/types/views/{UserDetailWorkspaceView.vue.d.ts → UserDetailRouteView.vue.d.ts} +3 -2
- package/dist/types/views/UserManagementView.vue.d.ts +1 -6
- package/dist/types/views/menuManagementState.d.ts +2 -0
- package/dist/types/views/userDetailStateModel.d.ts +1 -3
- package/dist/types/views/userManagementRouteState.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +4 -1
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +2 -1
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +18 -0
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +4 -2
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +7 -1
- package/dist/types/vue-ui-antdv/index.d.ts +5 -2
- package/dist/types/web-contracts/index.d.ts +408 -24
- package/dist/types/web-core/businessNotifications.d.ts +4 -0
- package/dist/types/web-core/index.d.ts +2 -0
- package/dist/types/web-core/module/abilities.d.ts +7 -7
- package/dist/types/web-core/module/moduleContext.d.ts +6 -3
- package/dist/types/web-core/module/runtimeContext.d.ts +5 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +42 -9
- package/dist/types/web-core/realtime.d.ts +5 -1
- package/dist/types/web-core/referenceResolveClient.d.ts +11 -0
- package/dist/workspaceViewSessions-B5g4M0rT.js +51 -0
- package/dist/workspaceViews-CkERhK0K.js +8748 -0
- package/package.json +1 -1
- package/dist/EmployeeDetailWorkspaceView-DYJLlkSz.js +0 -14
- package/dist/EmployeeManagementView-taxWUa7g.js +0 -1778
- package/dist/RoleAuthorizationView-q_6CsBYq.js +0 -592
- package/dist/RoleManagementView-HCa9rH0f.js +0 -1927
- package/dist/SystemUserManagementView-C1CkKivH.js +0 -758
- package/dist/UserDetailWorkspaceView-OPYvD6mH.js +0 -17
- package/dist/UserManagementView-gbCL9SnC.js +0 -965
- package/dist/pageRealtime-CzJlr9hs.js +0 -225
- package/dist/types/views/EmployeeDetailContent.vue.d.ts +0 -64
- package/dist/types/views/PositionManagementView.vue.d.ts +0 -3
- package/dist/types/views/TenantManagementView.vue.d.ts +0 -3
- package/dist/types/views/applicationManagementState.d.ts +0 -64
- package/dist/types/views/departmentManagementState.d.ts +0 -137
- package/dist/types/views/employeeDetailStateModel.d.ts +0 -39
- package/dist/types/views/employeeDetailWorkspaceSession.d.ts +0 -16
- package/dist/types/views/employeeDetailWorkspaceView.d.ts +0 -4
- package/dist/types/views/fieldSpecManagementState.d.ts +0 -80
- package/dist/types/views/fieldUiControlManagementState.d.ts +0 -76
- package/dist/types/views/moduleManagementState.d.ts +0 -76
- package/dist/types/views/organizationManagementState.d.ts +0 -64
- package/dist/types/views/positionManagementState.d.ts +0 -218
- package/dist/types/views/tenantManagementState.d.ts +0 -74
- package/dist/types/views/useEmployeeEmploymentRows.d.ts +0 -20
- package/dist/types/views/userDetailWorkspaceSession.d.ts +0 -14
- package/dist/types/views/userDetailWorkspaceView.d.ts +0 -4
- package/dist/useUserSessionRows-CBHEzRFQ.js +0 -128
- package/dist/workspaceViewSessions-DkB9myrq.js +0 -3252
- /package/dist/types/views/{ApplicationManagementView.vue.d.ts → DynamicModuleRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{DepartmentManagementView.vue.d.ts → ExternalRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{FieldSpecManagementView.vue.d.ts → ModuleOpenApiRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{FieldUiControlManagementView.vue.d.ts → OpenApiCatalogRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{ModuleManagementView.vue.d.ts → RouteDiagnosticsView.vue.d.ts} +0 -0
- /package/dist/types/views/{OrganizationManagementView.vue.d.ts → UserManagementListView.vue.d.ts} +0 -0
- /package/dist/types/views/{PasswordManagementView.vue.d.ts → WorkspaceRouteView.vue.d.ts} +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { FieldUiControl } from '../web-contracts/index';
|
|
2
|
-
import type { ModuleContext } from '../web-core/index';
|
|
3
|
-
import type { UiConfirmOptions } from '../vue-ui-antdv/index';
|
|
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 FieldUiControlManagementStateOptions {
|
|
8
|
-
actionErrorHandlers?: StaticCrudActionErrorHandler<FieldUiControl>[];
|
|
9
|
-
actionResultReactionHandlers?: Record<string, PlatformActionResultReactionHandler | undefined>;
|
|
10
|
-
}
|
|
11
|
-
export declare function createFieldUiControlManagementState(fieldUiControlContext: ModuleContext<FieldUiControl>, confirmAction: ConfirmAction, options?: FieldUiControlManagementStateOptions): {
|
|
12
|
-
controlAliasReadonly: import("vue").ComputedRef<boolean>;
|
|
13
|
-
selected: import("vue").Ref<FieldUiControl | undefined, FieldUiControl | undefined>;
|
|
14
|
-
draft: import("vue").Ref<{
|
|
15
|
-
alias?: string | undefined;
|
|
16
|
-
defaultFieldSpecAlias?: string | undefined;
|
|
17
|
-
valueShape?: "SCALAR" | "COLLECTION" | "COMPOSITE" | undefined;
|
|
18
|
-
primaryValueKey?: string | undefined;
|
|
19
|
-
queryMode?: "DEFAULT" | "BETWEEN" | undefined;
|
|
20
|
-
rendererType?: string | undefined;
|
|
21
|
-
icon?: string | undefined;
|
|
22
|
-
enabled?: boolean | undefined;
|
|
23
|
-
sortOrder?: number | undefined;
|
|
24
|
-
title?: string | undefined;
|
|
25
|
-
id?: string | undefined;
|
|
26
|
-
tenantId?: string | undefined;
|
|
27
|
-
version?: number | undefined;
|
|
28
|
-
deleted?: boolean | undefined;
|
|
29
|
-
deletedAt?: string | undefined;
|
|
30
|
-
createdBy?: string | undefined;
|
|
31
|
-
createdAt?: string | undefined;
|
|
32
|
-
updatedBy?: string | undefined;
|
|
33
|
-
updatedAt?: string | undefined;
|
|
34
|
-
}, FieldUiControl | {
|
|
35
|
-
alias?: string | undefined;
|
|
36
|
-
defaultFieldSpecAlias?: string | undefined;
|
|
37
|
-
valueShape?: "SCALAR" | "COLLECTION" | "COMPOSITE" | undefined;
|
|
38
|
-
primaryValueKey?: string | undefined;
|
|
39
|
-
queryMode?: "DEFAULT" | "BETWEEN" | undefined;
|
|
40
|
-
rendererType?: string | undefined;
|
|
41
|
-
icon?: string | undefined;
|
|
42
|
-
enabled?: boolean | undefined;
|
|
43
|
-
sortOrder?: number | undefined;
|
|
44
|
-
title?: string | undefined;
|
|
45
|
-
id?: string | undefined;
|
|
46
|
-
tenantId?: string | undefined;
|
|
47
|
-
version?: number | undefined;
|
|
48
|
-
deleted?: boolean | undefined;
|
|
49
|
-
deletedAt?: string | undefined;
|
|
50
|
-
createdBy?: string | undefined;
|
|
51
|
-
createdAt?: string | undefined;
|
|
52
|
-
updatedBy?: string | undefined;
|
|
53
|
-
updatedAt?: string | undefined;
|
|
54
|
-
}>;
|
|
55
|
-
mode: import("vue").Ref<import("../platform-components").StaticCrudCardMode, import("../platform-components").StaticCrudCardMode>;
|
|
56
|
-
reloadKey: import("vue").Ref<number, number>;
|
|
57
|
-
saving: import("vue").Ref<boolean, boolean>;
|
|
58
|
-
actionError: import("vue").Ref<string | undefined, string | undefined>;
|
|
59
|
-
cardTitle: import("vue").ComputedRef<string>;
|
|
60
|
-
readonly: import("vue").ComputedRef<boolean>;
|
|
61
|
-
canCreate: import("vue").ComputedRef<boolean>;
|
|
62
|
-
canUpdate: import("vue").ComputedRef<boolean>;
|
|
63
|
-
canDelete: import("vue").ComputedRef<boolean>;
|
|
64
|
-
canEnable: import("vue").ComputedRef<boolean>;
|
|
65
|
-
canMutate: import("vue").ComputedRef<boolean>;
|
|
66
|
-
handleListLoaded: (records: FieldUiControl[]) => void;
|
|
67
|
-
handleReadonlyListLoaded: (records: FieldUiControl[]) => void;
|
|
68
|
-
handleSelect: (record: FieldUiControl) => void;
|
|
69
|
-
startCreate: () => void;
|
|
70
|
-
startEdit: () => void;
|
|
71
|
-
cancelEdit: () => void;
|
|
72
|
-
save: () => Promise<boolean>;
|
|
73
|
-
toggleEnabled: () => Promise<void>;
|
|
74
|
-
removeSelected: () => Promise<void>;
|
|
75
|
-
};
|
|
76
|
-
export {};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { ModuleEntryType, PlatformModule } from '../web-contracts/index';
|
|
2
|
-
import type { ModuleContext } from '../web-core/index';
|
|
3
|
-
import type { UiConfirmOptions } from '../vue-ui-antdv/index';
|
|
4
|
-
export type ModuleManagementMode = 'view' | 'edit' | 'create-root' | 'create-child';
|
|
5
|
-
type ConfirmAction = (options: UiConfirmOptions) => Promise<boolean>;
|
|
6
|
-
export declare function createModuleManagementState(moduleContext: ModuleContext<PlatformModule>, applicationAlias: () => string | undefined, confirmAction: ConfirmAction): {
|
|
7
|
-
moduleReloadKey: import("vue").Ref<number, number>;
|
|
8
|
-
selectedModule: import("vue").Ref<PlatformModule | undefined, PlatformModule | undefined>;
|
|
9
|
-
draft: import("vue").Ref<{
|
|
10
|
-
alias?: string | undefined;
|
|
11
|
-
applicationAlias?: string | undefined;
|
|
12
|
-
moduleKind?: import("../web-contracts/index").ModuleKind | undefined;
|
|
13
|
-
entryType?: ModuleEntryType | undefined;
|
|
14
|
-
entryRoute?: string | undefined;
|
|
15
|
-
entryExternalUrl?: string | undefined;
|
|
16
|
-
systemManaged?: boolean | undefined;
|
|
17
|
-
enabled?: boolean | undefined;
|
|
18
|
-
parentId?: string | undefined;
|
|
19
|
-
sortOrder?: number | undefined;
|
|
20
|
-
title?: string | undefined;
|
|
21
|
-
id?: string | undefined;
|
|
22
|
-
tenantId?: string | undefined;
|
|
23
|
-
version?: number | undefined;
|
|
24
|
-
deleted?: boolean | undefined;
|
|
25
|
-
deletedAt?: string | undefined;
|
|
26
|
-
createdBy?: string | undefined;
|
|
27
|
-
createdAt?: string | undefined;
|
|
28
|
-
updatedBy?: string | undefined;
|
|
29
|
-
updatedAt?: string | undefined;
|
|
30
|
-
}, PlatformModule | {
|
|
31
|
-
alias?: string | undefined;
|
|
32
|
-
applicationAlias?: string | undefined;
|
|
33
|
-
moduleKind?: import("../web-contracts/index").ModuleKind | undefined;
|
|
34
|
-
entryType?: ModuleEntryType | undefined;
|
|
35
|
-
entryRoute?: string | undefined;
|
|
36
|
-
entryExternalUrl?: string | undefined;
|
|
37
|
-
systemManaged?: boolean | undefined;
|
|
38
|
-
enabled?: boolean | undefined;
|
|
39
|
-
parentId?: string | undefined;
|
|
40
|
-
sortOrder?: number | undefined;
|
|
41
|
-
title?: string | undefined;
|
|
42
|
-
id?: string | undefined;
|
|
43
|
-
tenantId?: string | undefined;
|
|
44
|
-
version?: number | undefined;
|
|
45
|
-
deleted?: boolean | undefined;
|
|
46
|
-
deletedAt?: string | undefined;
|
|
47
|
-
createdBy?: string | undefined;
|
|
48
|
-
createdAt?: string | undefined;
|
|
49
|
-
updatedBy?: string | undefined;
|
|
50
|
-
updatedAt?: string | undefined;
|
|
51
|
-
}>;
|
|
52
|
-
mode: import("vue").Ref<ModuleManagementMode, ModuleManagementMode>;
|
|
53
|
-
saving: import("vue").Ref<boolean, boolean>;
|
|
54
|
-
readonly: import("vue").ComputedRef<boolean>;
|
|
55
|
-
aliasReadonly: import("vue").ComputedRef<boolean>;
|
|
56
|
-
canCreate: import("vue").ComputedRef<boolean>;
|
|
57
|
-
canToggle: import("vue").ComputedRef<boolean>;
|
|
58
|
-
cardTitle: import("vue").ComputedRef<string>;
|
|
59
|
-
handleModulesLoaded: (records: PlatformModule[]) => void;
|
|
60
|
-
selectModule: (record: PlatformModule) => void;
|
|
61
|
-
startCreateRoot: () => void;
|
|
62
|
-
startCreateChild: (parent?: PlatformModule) => void;
|
|
63
|
-
startEdit: () => void;
|
|
64
|
-
cancelEdit: () => void;
|
|
65
|
-
save: () => Promise<void>;
|
|
66
|
-
toggleEnabled: () => Promise<void>;
|
|
67
|
-
removeSelected: () => Promise<void>;
|
|
68
|
-
resetForApplication: () => void;
|
|
69
|
-
};
|
|
70
|
-
export declare function moduleTitleOf(record: PlatformModule | undefined): string;
|
|
71
|
-
export declare function emptyModuleDraft(applicationAlias?: string): PlatformModule;
|
|
72
|
-
export declare function copyModule(record: PlatformModule): PlatformModule;
|
|
73
|
-
export declare function normalizeModuleDraft(record: PlatformModule, applicationAlias: string | undefined): PlatformModule;
|
|
74
|
-
export declare function isValidModule(record: PlatformModule): boolean;
|
|
75
|
-
export declare function moduleValidationMessage(record: PlatformModule): "模块 alias 和模块名称不能为空" | "请输入内部路由" | "请输入外部链接" | undefined;
|
|
76
|
-
export {};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { Organization } from '../web-contracts/index';
|
|
2
|
-
import { type ModuleContext } from '../web-core/index';
|
|
3
|
-
import type { UiConfirmOptions } from '../vue-ui-antdv/index';
|
|
4
|
-
import { type PlatformActionResultReactionHandler } from '../platform-components/index';
|
|
5
|
-
type CardMode = 'view' | 'edit' | 'create';
|
|
6
|
-
type ConfirmAction = (options: UiConfirmOptions) => Promise<boolean>;
|
|
7
|
-
export interface OrganizationManagementStateOptions {
|
|
8
|
-
actionResultReactionHandlers?: Record<string, PlatformActionResultReactionHandler | undefined>;
|
|
9
|
-
}
|
|
10
|
-
export declare function createOrganizationManagementState(organizationContext: ModuleContext<Organization>, confirmAction: ConfirmAction, options?: OrganizationManagementStateOptions): {
|
|
11
|
-
selected: import("vue").Ref<Organization | undefined, Organization | undefined>;
|
|
12
|
-
draft: import("vue").Ref<{
|
|
13
|
-
code?: string | undefined;
|
|
14
|
-
enabled?: boolean | undefined;
|
|
15
|
-
parentId?: string | undefined;
|
|
16
|
-
sortOrder?: number | undefined;
|
|
17
|
-
title?: string | undefined;
|
|
18
|
-
id?: string | undefined;
|
|
19
|
-
tenantId?: string | undefined;
|
|
20
|
-
version?: number | undefined;
|
|
21
|
-
deleted?: boolean | undefined;
|
|
22
|
-
deletedAt?: string | undefined;
|
|
23
|
-
createdBy?: string | undefined;
|
|
24
|
-
createdAt?: string | undefined;
|
|
25
|
-
updatedBy?: string | undefined;
|
|
26
|
-
updatedAt?: string | undefined;
|
|
27
|
-
}, Organization | {
|
|
28
|
-
code?: string | undefined;
|
|
29
|
-
enabled?: boolean | undefined;
|
|
30
|
-
parentId?: string | 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<CardMode, CardMode>;
|
|
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
|
-
handleTreeLoaded: (records: Organization[]) => void;
|
|
55
|
-
handleSelect: (organization: Organization) => void;
|
|
56
|
-
startCreateRoot: () => void;
|
|
57
|
-
startCreateChild: () => void;
|
|
58
|
-
startEdit: () => void;
|
|
59
|
-
cancelEdit: () => void;
|
|
60
|
-
save: () => Promise<void>;
|
|
61
|
-
toggleEnabled: () => Promise<void>;
|
|
62
|
-
removeSelected: () => Promise<void>;
|
|
63
|
-
};
|
|
64
|
-
export {};
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import type { Position, PositionCategory } from '../web-contracts/index';
|
|
2
|
-
import { type ModuleContext, type StaticModuleCrudClient } from '../web-core/index';
|
|
3
|
-
import type { UiConfirmOptions } from '../vue-ui-antdv/index';
|
|
4
|
-
import { type PlatformActionResultReactionHandler } from '../platform-components/index';
|
|
5
|
-
export type PositionCardMode = 'view' | 'edit' | 'create';
|
|
6
|
-
export type CategoryCardMode = 'view' | 'edit' | 'create-root' | 'create-child';
|
|
7
|
-
type ConfirmAction = (options: UiConfirmOptions) => Promise<boolean>;
|
|
8
|
-
export interface PositionManagementStateOptions {
|
|
9
|
-
categoryActionResultReactionHandlers?: Record<string, PlatformActionResultReactionHandler | undefined>;
|
|
10
|
-
positionActionResultReactionHandlers?: Record<string, PlatformActionResultReactionHandler | undefined>;
|
|
11
|
-
}
|
|
12
|
-
export declare function createPositionManagementState(categoryContext: ModuleContext<PositionCategory>, positionClient: StaticModuleCrudClient<Position>, confirmAction: ConfirmAction, options?: PositionManagementStateOptions): {
|
|
13
|
-
categoryReloadKey: import("vue").Ref<number, number>;
|
|
14
|
-
positionReloadKey: import("vue").Ref<number, number>;
|
|
15
|
-
categories: import("vue").Ref<{
|
|
16
|
-
code?: string | undefined;
|
|
17
|
-
description?: string | undefined;
|
|
18
|
-
enabled?: boolean | undefined;
|
|
19
|
-
parentId?: string | undefined;
|
|
20
|
-
sortOrder?: number | undefined;
|
|
21
|
-
title?: string | undefined;
|
|
22
|
-
id?: string | undefined;
|
|
23
|
-
tenantId?: string | undefined;
|
|
24
|
-
version?: number | undefined;
|
|
25
|
-
deleted?: boolean | undefined;
|
|
26
|
-
deletedAt?: string | undefined;
|
|
27
|
-
createdBy?: string | undefined;
|
|
28
|
-
createdAt?: string | undefined;
|
|
29
|
-
updatedBy?: string | undefined;
|
|
30
|
-
updatedAt?: string | undefined;
|
|
31
|
-
}[], PositionCategory[] | {
|
|
32
|
-
code?: string | undefined;
|
|
33
|
-
description?: string | undefined;
|
|
34
|
-
enabled?: boolean | undefined;
|
|
35
|
-
parentId?: string | undefined;
|
|
36
|
-
sortOrder?: number | undefined;
|
|
37
|
-
title?: string | undefined;
|
|
38
|
-
id?: string | undefined;
|
|
39
|
-
tenantId?: string | undefined;
|
|
40
|
-
version?: number | undefined;
|
|
41
|
-
deleted?: boolean | undefined;
|
|
42
|
-
deletedAt?: string | undefined;
|
|
43
|
-
createdBy?: string | undefined;
|
|
44
|
-
createdAt?: string | undefined;
|
|
45
|
-
updatedBy?: string | undefined;
|
|
46
|
-
updatedAt?: string | undefined;
|
|
47
|
-
}[]>;
|
|
48
|
-
selectedCategory: import("vue").Ref<PositionCategory | undefined, PositionCategory | undefined>;
|
|
49
|
-
categoryDraft: import("vue").Ref<{
|
|
50
|
-
code?: string | undefined;
|
|
51
|
-
description?: string | undefined;
|
|
52
|
-
enabled?: boolean | undefined;
|
|
53
|
-
parentId?: string | undefined;
|
|
54
|
-
sortOrder?: number | undefined;
|
|
55
|
-
title?: string | undefined;
|
|
56
|
-
id?: string | undefined;
|
|
57
|
-
tenantId?: string | undefined;
|
|
58
|
-
version?: number | undefined;
|
|
59
|
-
deleted?: boolean | undefined;
|
|
60
|
-
deletedAt?: string | undefined;
|
|
61
|
-
createdBy?: string | undefined;
|
|
62
|
-
createdAt?: string | undefined;
|
|
63
|
-
updatedBy?: string | undefined;
|
|
64
|
-
updatedAt?: string | undefined;
|
|
65
|
-
}, PositionCategory | {
|
|
66
|
-
code?: string | undefined;
|
|
67
|
-
description?: string | undefined;
|
|
68
|
-
enabled?: boolean | undefined;
|
|
69
|
-
parentId?: string | undefined;
|
|
70
|
-
sortOrder?: number | undefined;
|
|
71
|
-
title?: string | undefined;
|
|
72
|
-
id?: string | undefined;
|
|
73
|
-
tenantId?: string | undefined;
|
|
74
|
-
version?: number | undefined;
|
|
75
|
-
deleted?: boolean | undefined;
|
|
76
|
-
deletedAt?: string | undefined;
|
|
77
|
-
createdBy?: string | undefined;
|
|
78
|
-
createdAt?: string | undefined;
|
|
79
|
-
updatedBy?: string | undefined;
|
|
80
|
-
updatedAt?: string | undefined;
|
|
81
|
-
}>;
|
|
82
|
-
categoryMode: import("vue").Ref<CategoryCardMode, CategoryCardMode>;
|
|
83
|
-
categorySaving: import("vue").Ref<boolean, boolean>;
|
|
84
|
-
categoryError: import("vue").Ref<string | undefined, string | undefined>;
|
|
85
|
-
positions: import("vue").Ref<{
|
|
86
|
-
categoryId?: string | undefined;
|
|
87
|
-
code?: string | undefined;
|
|
88
|
-
description?: string | undefined;
|
|
89
|
-
enabled?: boolean | undefined;
|
|
90
|
-
sortOrder?: number | undefined;
|
|
91
|
-
title?: string | undefined;
|
|
92
|
-
id?: string | undefined;
|
|
93
|
-
tenantId?: string | undefined;
|
|
94
|
-
version?: number | undefined;
|
|
95
|
-
deleted?: boolean | undefined;
|
|
96
|
-
deletedAt?: string | undefined;
|
|
97
|
-
createdBy?: string | undefined;
|
|
98
|
-
createdAt?: string | undefined;
|
|
99
|
-
updatedBy?: string | undefined;
|
|
100
|
-
updatedAt?: string | undefined;
|
|
101
|
-
}[], Position[] | {
|
|
102
|
-
categoryId?: string | undefined;
|
|
103
|
-
code?: string | undefined;
|
|
104
|
-
description?: string | undefined;
|
|
105
|
-
enabled?: boolean | undefined;
|
|
106
|
-
sortOrder?: number | undefined;
|
|
107
|
-
title?: string | undefined;
|
|
108
|
-
id?: string | undefined;
|
|
109
|
-
tenantId?: string | undefined;
|
|
110
|
-
version?: number | undefined;
|
|
111
|
-
deleted?: boolean | undefined;
|
|
112
|
-
deletedAt?: string | undefined;
|
|
113
|
-
createdBy?: string | undefined;
|
|
114
|
-
createdAt?: string | undefined;
|
|
115
|
-
updatedBy?: string | undefined;
|
|
116
|
-
updatedAt?: string | undefined;
|
|
117
|
-
}[]>;
|
|
118
|
-
selectedPosition: import("vue").Ref<Position | undefined, Position | undefined>;
|
|
119
|
-
positionDraft: import("vue").Ref<{
|
|
120
|
-
categoryId?: string | undefined;
|
|
121
|
-
code?: string | undefined;
|
|
122
|
-
description?: string | undefined;
|
|
123
|
-
enabled?: boolean | undefined;
|
|
124
|
-
sortOrder?: number | undefined;
|
|
125
|
-
title?: string | undefined;
|
|
126
|
-
id?: string | undefined;
|
|
127
|
-
tenantId?: string | undefined;
|
|
128
|
-
version?: number | undefined;
|
|
129
|
-
deleted?: boolean | undefined;
|
|
130
|
-
deletedAt?: string | undefined;
|
|
131
|
-
createdBy?: string | undefined;
|
|
132
|
-
createdAt?: string | undefined;
|
|
133
|
-
updatedBy?: string | undefined;
|
|
134
|
-
updatedAt?: string | undefined;
|
|
135
|
-
}, Position | {
|
|
136
|
-
categoryId?: string | undefined;
|
|
137
|
-
code?: string | undefined;
|
|
138
|
-
description?: string | undefined;
|
|
139
|
-
enabled?: boolean | undefined;
|
|
140
|
-
sortOrder?: number | undefined;
|
|
141
|
-
title?: string | undefined;
|
|
142
|
-
id?: string | undefined;
|
|
143
|
-
tenantId?: string | undefined;
|
|
144
|
-
version?: number | undefined;
|
|
145
|
-
deleted?: boolean | undefined;
|
|
146
|
-
deletedAt?: string | undefined;
|
|
147
|
-
createdBy?: string | undefined;
|
|
148
|
-
createdAt?: string | undefined;
|
|
149
|
-
updatedBy?: string | undefined;
|
|
150
|
-
updatedAt?: string | undefined;
|
|
151
|
-
}>;
|
|
152
|
-
positionMode: import("vue").Ref<PositionCardMode, PositionCardMode>;
|
|
153
|
-
positionLoading: import("vue").Ref<boolean, boolean>;
|
|
154
|
-
positionSaving: import("vue").Ref<boolean, boolean>;
|
|
155
|
-
positionError: import("vue").Ref<string | undefined, string | undefined>;
|
|
156
|
-
selectedCategoryId: import("vue").ComputedRef<string | undefined>;
|
|
157
|
-
selectedCategoryTitle: import("vue").ComputedRef<string>;
|
|
158
|
-
filteredPositions: import("vue").ComputedRef<{
|
|
159
|
-
categoryId?: string | undefined;
|
|
160
|
-
code?: string | undefined;
|
|
161
|
-
description?: string | undefined;
|
|
162
|
-
enabled?: boolean | undefined;
|
|
163
|
-
sortOrder?: number | undefined;
|
|
164
|
-
title?: string | undefined;
|
|
165
|
-
id?: string | undefined;
|
|
166
|
-
tenantId?: string | undefined;
|
|
167
|
-
version?: number | undefined;
|
|
168
|
-
deleted?: boolean | undefined;
|
|
169
|
-
deletedAt?: string | undefined;
|
|
170
|
-
createdBy?: string | undefined;
|
|
171
|
-
createdAt?: string | undefined;
|
|
172
|
-
updatedBy?: string | undefined;
|
|
173
|
-
updatedAt?: string | undefined;
|
|
174
|
-
}[]>;
|
|
175
|
-
canCreateCategory: import("vue").ComputedRef<boolean>;
|
|
176
|
-
canUpdateCategory: import("vue").ComputedRef<boolean>;
|
|
177
|
-
canDeleteCategory: import("vue").ComputedRef<boolean>;
|
|
178
|
-
canToggleCategory: import("vue").ComputedRef<boolean>;
|
|
179
|
-
canQueryPosition: import("vue").ComputedRef<boolean>;
|
|
180
|
-
canCreatePosition: import("vue").ComputedRef<boolean>;
|
|
181
|
-
canUpdatePosition: import("vue").ComputedRef<boolean>;
|
|
182
|
-
canDeletePosition: import("vue").ComputedRef<boolean>;
|
|
183
|
-
canTogglePosition: import("vue").ComputedRef<boolean>;
|
|
184
|
-
positionReadonly: import("vue").ComputedRef<boolean>;
|
|
185
|
-
categoryReadonly: import("vue").ComputedRef<boolean>;
|
|
186
|
-
positionCardTitle: import("vue").ComputedRef<string>;
|
|
187
|
-
categoryEditorTitle: import("vue").ComputedRef<string>;
|
|
188
|
-
handleCategoriesLoaded: (records: PositionCategory[]) => void;
|
|
189
|
-
handleSelectCategory: (record: PositionCategory) => void;
|
|
190
|
-
startCreateRootCategory: () => void;
|
|
191
|
-
startCreateChildCategory: () => void;
|
|
192
|
-
startEditCategory: () => void;
|
|
193
|
-
cancelCategoryEdit: () => void;
|
|
194
|
-
saveCategory: () => Promise<void>;
|
|
195
|
-
toggleCategory: () => Promise<void>;
|
|
196
|
-
deleteCategory: () => Promise<void>;
|
|
197
|
-
loadPositions: () => Promise<void>;
|
|
198
|
-
syncSelectedPosition: () => void;
|
|
199
|
-
selectPosition: (record: Position) => void;
|
|
200
|
-
startCreatePosition: () => void;
|
|
201
|
-
startEditPosition: () => void;
|
|
202
|
-
cancelPositionEdit: () => void;
|
|
203
|
-
savePosition: () => Promise<void>;
|
|
204
|
-
togglePosition: () => Promise<void>;
|
|
205
|
-
deletePosition: () => Promise<void>;
|
|
206
|
-
};
|
|
207
|
-
export declare function positionTitleOf(record: Position | undefined): string;
|
|
208
|
-
export declare function positionCategoryTitleOf(record: PositionCategory | undefined): string;
|
|
209
|
-
export declare function emptyPositionDraft(categoryId: string): Position;
|
|
210
|
-
export declare function copyPosition(record: Position): Position;
|
|
211
|
-
export declare function normalizePositionDraft(record: Position): Position;
|
|
212
|
-
export declare function isValidPosition(record: Position): boolean;
|
|
213
|
-
export declare function positionMatchesCategory(record: Position, categoryId: string | undefined): boolean;
|
|
214
|
-
export declare function emptyCategoryDraft(parentId?: string): PositionCategory;
|
|
215
|
-
export declare function copyCategory(record: PositionCategory): PositionCategory;
|
|
216
|
-
export declare function normalizeCategoryDraft(record: PositionCategory): PositionCategory;
|
|
217
|
-
export declare function isValidCategory(record: PositionCategory): boolean;
|
|
218
|
-
export {};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { Tenant } from '../web-contracts/index';
|
|
2
|
-
import type { ModuleContext } from '../web-core/index';
|
|
3
|
-
import type { UiConfirmOptions } from '../vue-ui-antdv/index';
|
|
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 TenantManagementStateOptions {
|
|
8
|
-
actionErrorHandlers?: StaticCrudActionErrorHandler<Tenant>[];
|
|
9
|
-
actionResultReactionHandlers?: Record<string, PlatformActionResultReactionHandler | undefined>;
|
|
10
|
-
}
|
|
11
|
-
export declare function createTenantManagementState(tenantContext: ModuleContext<Tenant>, confirmAction: ConfirmAction, options?: TenantManagementStateOptions): {
|
|
12
|
-
aliasReadonly: import("vue").ComputedRef<boolean>;
|
|
13
|
-
selected: import("vue").Ref<Tenant | undefined, Tenant | undefined>;
|
|
14
|
-
draft: import("vue").Ref<{
|
|
15
|
-
alias?: string | undefined;
|
|
16
|
-
lightLogoAssetId?: string | undefined;
|
|
17
|
-
darkLogoAssetId?: string | undefined;
|
|
18
|
-
workbenchBrandMode?: "logoOnly" | "logoWithTitle" | undefined;
|
|
19
|
-
workbenchTitle?: string | undefined;
|
|
20
|
-
workbenchSubtitle?: string | undefined;
|
|
21
|
-
enabled?: boolean | undefined;
|
|
22
|
-
sortOrder?: number | undefined;
|
|
23
|
-
title?: string | undefined;
|
|
24
|
-
id?: string | undefined;
|
|
25
|
-
tenantId?: string | undefined;
|
|
26
|
-
version?: number | undefined;
|
|
27
|
-
deleted?: boolean | undefined;
|
|
28
|
-
deletedAt?: string | undefined;
|
|
29
|
-
createdBy?: string | undefined;
|
|
30
|
-
createdAt?: string | undefined;
|
|
31
|
-
updatedBy?: string | undefined;
|
|
32
|
-
updatedAt?: string | undefined;
|
|
33
|
-
}, Tenant | {
|
|
34
|
-
alias?: string | undefined;
|
|
35
|
-
lightLogoAssetId?: string | undefined;
|
|
36
|
-
darkLogoAssetId?: string | undefined;
|
|
37
|
-
workbenchBrandMode?: "logoOnly" | "logoWithTitle" | undefined;
|
|
38
|
-
workbenchTitle?: string | undefined;
|
|
39
|
-
workbenchSubtitle?: string | undefined;
|
|
40
|
-
enabled?: boolean | undefined;
|
|
41
|
-
sortOrder?: number | undefined;
|
|
42
|
-
title?: string | undefined;
|
|
43
|
-
id?: string | undefined;
|
|
44
|
-
tenantId?: string | undefined;
|
|
45
|
-
version?: number | undefined;
|
|
46
|
-
deleted?: boolean | undefined;
|
|
47
|
-
deletedAt?: string | undefined;
|
|
48
|
-
createdBy?: string | undefined;
|
|
49
|
-
createdAt?: string | undefined;
|
|
50
|
-
updatedBy?: string | undefined;
|
|
51
|
-
updatedAt?: string | undefined;
|
|
52
|
-
}>;
|
|
53
|
-
mode: import("vue").Ref<import("../platform-components").StaticCrudCardMode, import("../platform-components").StaticCrudCardMode>;
|
|
54
|
-
reloadKey: import("vue").Ref<number, number>;
|
|
55
|
-
saving: import("vue").Ref<boolean, boolean>;
|
|
56
|
-
actionError: import("vue").Ref<string | undefined, string | undefined>;
|
|
57
|
-
cardTitle: import("vue").ComputedRef<string>;
|
|
58
|
-
readonly: import("vue").ComputedRef<boolean>;
|
|
59
|
-
canCreate: import("vue").ComputedRef<boolean>;
|
|
60
|
-
canUpdate: import("vue").ComputedRef<boolean>;
|
|
61
|
-
canDelete: import("vue").ComputedRef<boolean>;
|
|
62
|
-
canEnable: import("vue").ComputedRef<boolean>;
|
|
63
|
-
canMutate: import("vue").ComputedRef<boolean>;
|
|
64
|
-
handleListLoaded: (records: Tenant[]) => void;
|
|
65
|
-
handleReadonlyListLoaded: (records: Tenant[]) => void;
|
|
66
|
-
handleSelect: (record: Tenant) => void;
|
|
67
|
-
startCreate: () => void;
|
|
68
|
-
startEdit: () => void;
|
|
69
|
-
cancelEdit: () => void;
|
|
70
|
-
save: () => Promise<boolean>;
|
|
71
|
-
toggleEnabled: () => Promise<void>;
|
|
72
|
-
removeSelected: () => Promise<void>;
|
|
73
|
-
};
|
|
74
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { Employee, EmploymentSelectorItem } from '../web-contracts/index';
|
|
2
|
-
import type { ModuleContext } from '../web-core/index';
|
|
3
|
-
export interface EmployeeEmploymentRowState {
|
|
4
|
-
records: EmploymentSelectorItem[];
|
|
5
|
-
loading: boolean;
|
|
6
|
-
error?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function useEmployeeEmploymentRows(options: {
|
|
9
|
-
context: ModuleContext<Employee>;
|
|
10
|
-
source: string;
|
|
11
|
-
pathOf?: (employeeId: string) => string;
|
|
12
|
-
}): {
|
|
13
|
-
expandedEmployeeKeys: import("vue").Ref<string[], string[]>;
|
|
14
|
-
employmentRowState: (employeeId: string | undefined) => EmployeeEmploymentRowState;
|
|
15
|
-
handleEmployeeRowExpand: (record: {
|
|
16
|
-
id?: string;
|
|
17
|
-
}, expanded: boolean) => void;
|
|
18
|
-
loadEmployeeEmploymentRows: (employeeId: string | undefined) => Promise<void>;
|
|
19
|
-
resetEmployeeEmploymentRows: () => void;
|
|
20
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ResetPasswordResponse, Tenant, UserAccount } from '../web-contracts/index';
|
|
2
|
-
import { type UserDetailWorkspaceViewInput } from './userDetailWorkspaceView';
|
|
3
|
-
import type { UserDetailMode } from './userDetailStateModel';
|
|
4
|
-
export interface UserDetailWorkspaceSession {
|
|
5
|
-
selectedUser: UserAccount;
|
|
6
|
-
draft: Partial<UserAccount>;
|
|
7
|
-
tenant?: Tenant;
|
|
8
|
-
mode: Extract<UserDetailMode, 'view' | 'edit'>;
|
|
9
|
-
password: string;
|
|
10
|
-
resetPasswordResult?: ResetPasswordResponse;
|
|
11
|
-
}
|
|
12
|
-
export declare function handOffUserDetailWorkspaceSession(input: UserDetailWorkspaceViewInput, session: UserDetailWorkspaceSession): Promise<"accepted" | "rejected">;
|
|
13
|
-
export declare function registerUserDetailWorkspaceHandoffRecipient(input: UserDetailWorkspaceViewInput, recipient: (session: UserDetailWorkspaceSession) => boolean): () => void;
|
|
14
|
-
export declare function takeUserDetailWorkspaceSession(input: UserDetailWorkspaceViewInput): UserDetailWorkspaceSession | undefined;
|