@ximatai/muyun-web-app 0.26.10 → 0.26.12
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/ModuleActionManagementView-BHEooZ5L.js +672 -0
- package/dist/ModuleGovernanceView-DB3TWlMy.js +28521 -0
- package/dist/RoleDetailWorkspaceView-D6X7pAj5.js +1379 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1929 -351
- package/dist/moduleGovernanceWorkspaceView-C5pqJOEJ.js +40 -0
- package/dist/platform-workbench-DJj42YQP.js +22911 -0
- package/dist/rolldown-runtime-DPVXH0ON.js +17 -0
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +0 -2
- package/dist/types/app/LoginView.vue.d.ts +1 -1
- package/dist/types/app/workbenchRouteSync.d.ts +10 -1
- package/dist/types/app/workbenchSessionTabs.d.ts +22 -0
- package/dist/types/app/workbenchStartup.d.ts +7 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -1
- package/dist/types/consumer/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +12 -1
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +22 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +11 -11
- package/dist/types/dynamic-page-runtime/childAggregateContext.d.ts +11 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +5 -3
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +82 -28
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +7 -4
- package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -2
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +75 -1
- package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +3 -0
- package/dist/types/formula/FormulaRuntime.d.ts +9 -0
- package/dist/types/{dynamic-page-runtime/DynamicModuleHost.vue.d.ts → platform-admin-runtime/module-menu/ModuleMenuDrawer.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEntriesSection.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +16 -0
- package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +2 -0
- package/dist/types/platform-admin-runtime/role/RoleAccountGrantDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleAuthorizationDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleEmploymentGrantDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleEnumTitleCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/role/RoleGroupMemberFormField.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleScopeTree.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/roleModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-components/AdaptiveHeaderActionBar.vue.d.ts +24 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +15 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +9 -4
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +4 -2
- package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +54 -0
- package/dist/types/platform-components/ManagementExplorerColumn.vue.d.ts +15 -3
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +5 -3
- package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +11 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +3 -3
- package/dist/types/platform-components/QueryGroupedSummary.vue.d.ts +21 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +41 -2
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +8 -3
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordExplorerCreateButton.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +16 -5
- package/dist/types/platform-components/RecordFieldLabel.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +21 -2
- package/dist/types/platform-components/RecordFormGrid.vue.d.ts +24 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +23 -1
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +9 -3
- package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +15 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordQueryEnumFilter.vue.d.ts +17 -0
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +12 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +110 -64
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +124 -0
- package/dist/types/platform-components/RecordRelationTable.vue.d.ts +62 -0
- package/dist/types/platform-components/RecordRelationValue.vue.d.ts +9 -0
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +3 -3
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +15 -4
- package/dist/types/platform-components/adaptiveHeaderActionLayout.d.ts +22 -0
- package/dist/types/platform-components/formulaExpressionTokens.d.ts +18 -0
- package/dist/types/platform-components/index.d.ts +20 -1
- package/dist/types/platform-components/managementExplorerContext.d.ts +11 -0
- package/dist/types/platform-components/managementWorkspaceContext.d.ts +20 -0
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +14 -0
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/recordActionBarModel.d.ts +3 -0
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +42 -0
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +2 -2
- package/dist/types/platform-components/selectionRefresh.d.ts +9 -0
- package/dist/types/platform-components/sortPartitionKey.d.ts +5 -0
- package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +3 -3
- package/dist/types/platform-workbench/index.d.ts +2 -0
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +5 -0
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +5 -1
- package/dist/types/platform-workbench/workspaceViewContract.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewNavigation.d.ts +9 -0
- package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +3 -0
- package/dist/types/views/BusinessRuleGovernanceSurface.vue.d.ts +10 -0
- package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +5 -0
- package/dist/types/views/{UserDetailRouteView.vue.d.ts → MetadataGovernanceSurface.vue.d.ts} +3 -3
- package/dist/types/views/MetadataSourceTree.vue.d.ts +44 -0
- package/dist/types/views/ModuleBusinessPreview.vue.d.ts +7 -0
- package/dist/types/views/ModuleExperienceProfileOverview.vue.d.ts +7 -0
- package/dist/types/views/ModuleGovernanceView.vue.d.ts +9 -0
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +54 -0
- package/dist/types/views/PageCompositionTree.vue.d.ts +103 -0
- package/dist/types/views/PageCompositionWorkspace.vue.d.ts +7 -0
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +48 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +6 -2
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +7 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +5 -1
- package/dist/types/views/businessRuleGovernance.d.ts +201 -0
- package/dist/types/views/metadataModelEditSession.d.ts +75 -0
- package/dist/types/views/metadataModelTree.d.ts +40 -0
- package/dist/types/views/metadataNaming.d.ts +7 -0
- package/dist/types/views/metadataOrchestrationState.d.ts +161 -6
- package/dist/types/views/metadataSourceTree.d.ts +10 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +9 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +375 -0
- package/dist/types/views/pageCompositionDragPayload.d.ts +26 -0
- package/dist/types/views/pageCompositionMode.d.ts +86 -0
- package/dist/types/views/pageCompositionPlacement.d.ts +48 -0
- package/dist/types/views/pageCompositionTransport.d.ts +9 -0
- package/dist/types/views/roleGrantClient.d.ts +8 -5
- package/dist/types/views/usePageCompositionActionPreviewDrag.d.ts +41 -0
- package/dist/types/views/usePageCompositionPreviewDrag.d.ts +48 -0
- package/dist/types/vue-ui-antdv/components/UiActionButton.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +6 -3
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +5 -2
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +22 -0
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +5 -1
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +38 -1
- package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +62 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +76 -3
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/index.d.ts +6 -1
- package/dist/types/vue-ui-antdv/treeStructure.d.ts +18 -0
- package/dist/types/vue-ui-antdv/types.d.ts +70 -0
- package/dist/types/vue-ui-antdv/useTreeLoader.d.ts +21 -0
- package/dist/types/vue-ui-antdv/useTreeMotion.d.ts +9 -0
- package/dist/types/vue-ui-antdv/useUiTreeDrag.d.ts +32 -0
- package/dist/types/web-contracts/index.d.ts +75 -8
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/moduleContext.d.ts +15 -0
- package/dist/types/web-core/module/pageActionEntries.d.ts +21 -0
- package/dist/types/web-core/module/runtimeContext.d.ts +7 -3
- package/dist/types/web-core/module/staticModuleClient.d.ts +29 -6
- package/dist/workspaceViews-DI_1vYX9.js +3518 -0
- package/package.json +1 -1
- package/dist/MetadataOrchestrationView-BhtVwJII.js +0 -661
- package/dist/ModuleActionManagementView-DpZS-xAD.js +0 -597
- package/dist/RoleAuthorizationView-8lilhtMB.js +0 -646
- package/dist/RoleDetailWorkspaceView-CFha6JHn.js +0 -26
- package/dist/RoleManagementView-0_KDrzgh.js +0 -1948
- package/dist/platform-components-oRIsIoxu.js +0 -12371
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +0 -39
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +0 -5
- package/dist/types/views/UserDetailContent.vue.d.ts +0 -32
- package/dist/types/views/UserManagementListView.vue.d.ts +0 -3
- package/dist/types/views/UserManagementView.vue.d.ts +0 -3
- package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +0 -6
- package/dist/types/views/useUserSessionRows.d.ts +0 -28
- package/dist/types/views/userDetailStateModel.d.ts +0 -9
- package/dist/types/views/userManagementRouteState.d.ts +0 -11
- package/dist/workspaceViews-D-RiJ64o.js +0 -9078
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { QueryListRecord, RecordActionItem } from '../platform-components/index';
|
|
2
|
-
import type { ModuleContext } from '../web-core/index';
|
|
3
|
-
import type { ModulePageRecordActionContribution } from './modulePageEnhancements';
|
|
4
|
-
type __VLS_Props = {
|
|
5
|
-
context: ModuleContext<QueryListRecord>;
|
|
6
|
-
record?: QueryListRecord;
|
|
7
|
-
mode: 'create' | 'edit' | 'view';
|
|
8
|
-
saving?: boolean;
|
|
9
|
-
detailLoading?: boolean;
|
|
10
|
-
detailLoadFailed?: boolean;
|
|
11
|
-
recycleBinActive?: boolean;
|
|
12
|
-
actions?: ModulePageRecordActionContribution[];
|
|
13
|
-
configuredActions?: RecordActionItem[];
|
|
14
|
-
showStandardViewActions?: boolean;
|
|
15
|
-
};
|
|
16
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
delete: () => any;
|
|
18
|
-
edit: () => any;
|
|
19
|
-
save: () => any;
|
|
20
|
-
cancel: () => any;
|
|
21
|
-
detailAction: (action: RecordActionItem) => any;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
onDelete?: (() => any) | undefined;
|
|
24
|
-
onEdit?: (() => any) | undefined;
|
|
25
|
-
onSave?: (() => any) | undefined;
|
|
26
|
-
onCancel?: (() => any) | undefined;
|
|
27
|
-
onDetailAction?: ((action: RecordActionItem) => any) | undefined;
|
|
28
|
-
}>, {
|
|
29
|
-
record: QueryListRecord;
|
|
30
|
-
actions: ModulePageRecordActionContribution[];
|
|
31
|
-
saving: boolean;
|
|
32
|
-
detailLoading: boolean;
|
|
33
|
-
detailLoadFailed: boolean;
|
|
34
|
-
recycleBinActive: boolean;
|
|
35
|
-
configuredActions: RecordActionItem[];
|
|
36
|
-
showStandardViewActions: boolean;
|
|
37
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
-
declare const _default: typeof __VLS_export;
|
|
39
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Standard module pages use `moduleDetailStateModel`. Remove after
|
|
3
|
-
* extensions built before the rename have migrated their state-model imports.
|
|
4
|
-
*/
|
|
5
|
-
export { canMutateModuleDetail as canMutateDynamicModuleDetail, shouldCommitModuleDetailRequest as shouldCommitDynamicModuleDetailRequest, type ModuleDetailMutationState as DynamicModuleDetailMutationState, type ModuleDetailRequestState as DynamicModuleDetailRequestState, } from './moduleDetailStateModel';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type RecordDetailDisplayResolver, type RecordFormFieldDescriptor, type RecordFormFieldFallback, type RecordFormFieldValue } from '../platform-components/index';
|
|
2
|
-
import type { ResetPasswordResponse, UserAccount } from '../web-contracts/index';
|
|
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;
|
|
@@ -1,3 +0,0 @@
|
|
|
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;
|
|
@@ -1,3 +0,0 @@
|
|
|
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;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export interface MetadataOrchestrationWorkspaceViewInput {
|
|
2
|
-
moduleAlias: string;
|
|
3
|
-
moduleTitle?: string;
|
|
4
|
-
}
|
|
5
|
-
/** A tab-scoped metadata workbench for one dynamic module. */
|
|
6
|
-
export declare const metadataOrchestrationWorkspaceView: import("../platform-workbench/workspaceViewContract.ts").WorkspaceViewDefinition<MetadataOrchestrationWorkspaceViewInput>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export { userSessionPresenceTitle } from '../platform-components/index';
|
|
2
|
-
import type { UserAccount, UserSessionView, WebBusinessRealtimeEvent } from '../web-contracts/index';
|
|
3
|
-
import type { ModuleContext } from '../web-core/index';
|
|
4
|
-
export interface UserSessionState {
|
|
5
|
-
records: UserSessionView[];
|
|
6
|
-
loading: boolean;
|
|
7
|
-
error?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface UserSessionRowsOptions {
|
|
10
|
-
context: ModuleContext<UserAccount>;
|
|
11
|
-
source: string;
|
|
12
|
-
}
|
|
13
|
-
export declare function useUserSessionRows(options: UserSessionRowsOptions): {
|
|
14
|
-
expandedUserKeys: import("vue").Ref<string[], string[]>;
|
|
15
|
-
handleUserListLoaded: (records: Array<{
|
|
16
|
-
id?: string;
|
|
17
|
-
}>) => void;
|
|
18
|
-
handleUserRowExpand: (record: {
|
|
19
|
-
id?: string;
|
|
20
|
-
}, expanded: boolean) => void;
|
|
21
|
-
handleUserSessionBusinessEvent: (event: WebBusinessRealtimeEvent) => void;
|
|
22
|
-
loadUserSessions: (userId: string | undefined) => void;
|
|
23
|
-
resetUserSessionRows: () => void;
|
|
24
|
-
userOnlineStatusTitle: (record: {
|
|
25
|
-
id?: string;
|
|
26
|
-
}) => string;
|
|
27
|
-
userSessionState: (userId: string | undefined) => UserSessionState;
|
|
28
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type UserDetailMode = 'view' | 'create' | 'edit' | 'resetPassword';
|
|
2
|
-
export interface UserDetailRequestState {
|
|
3
|
-
activeRequestSeq: number;
|
|
4
|
-
requestSeq: number;
|
|
5
|
-
selectedUserKey?: string;
|
|
6
|
-
recordId: string;
|
|
7
|
-
}
|
|
8
|
-
/** 只有仍属于当前用户和当前请求的结果才能写入页面。 */
|
|
9
|
-
export declare function shouldCommitUserDetailRequest(state: UserDetailRequestState): boolean;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { LocationQuery } from 'vue-router';
|
|
2
|
-
export type UserRouteAction = 'add' | 'view' | 'edit';
|
|
3
|
-
export interface UserManagementRouteState {
|
|
4
|
-
action?: UserRouteAction;
|
|
5
|
-
userId?: string;
|
|
6
|
-
error?: string;
|
|
7
|
-
}
|
|
8
|
-
/** 用户地址只表达业务页面状态;页签实例由工作台内部状态管理。 */
|
|
9
|
-
export declare function userManagementRouteStateOf(routePath: string | undefined, userId: string | undefined, query: LocationQuery): UserManagementRouteState;
|
|
10
|
-
/** 给每个地址操作提供页面标题的通用文字。 */
|
|
11
|
-
export declare function userActionTitle(action: UserRouteAction): string;
|