@ximatai/muyun-web-app 0.26.10 → 0.26.11

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.
Files changed (55) hide show
  1. package/dist/{MetadataOrchestrationView-BhtVwJII.js → MetadataOrchestrationView-F_Bmfn9K.js} +91 -91
  2. package/dist/{ModuleActionManagementView-DpZS-xAD.js → ModuleActionManagementView-Db_3Twom.js} +36 -36
  3. package/dist/RoleDetailWorkspaceView-UOm1ejGH.js +1369 -0
  4. package/dist/index.css +1 -1
  5. package/dist/index.js +201 -206
  6. package/dist/{platform-components-oRIsIoxu.js → platform-components-59b4qzUL.js} +2391 -2273
  7. package/dist/types/consumer/index.d.ts +1 -1
  8. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +3 -1
  9. package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +5 -3
  10. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +26 -26
  11. package/dist/types/dynamic-page-runtime/index.d.ts +1 -2
  12. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +69 -1
  13. package/dist/types/formula/FormulaRuntime.d.ts +3 -0
  14. package/dist/types/{views/UserDetailRouteView.vue.d.ts → platform-admin-runtime/role/RoleAccountGrantDrawerSurface.vue.d.ts} +2 -3
  15. package/dist/types/{dynamic-page-runtime/DynamicModuleHost.vue.d.ts → platform-admin-runtime/role/RoleAuthorizationDrawerSurface.vue.d.ts} +2 -2
  16. package/dist/types/platform-admin-runtime/role/RoleEmploymentGrantDrawerSurface.vue.d.ts +7 -0
  17. package/dist/types/platform-admin-runtime/role/RoleEnumTitleCell.vue.d.ts +8 -0
  18. package/dist/types/platform-admin-runtime/role/RoleGroupMemberFormField.vue.d.ts +7 -0
  19. package/dist/types/platform-admin-runtime/role/RoleScopeTree.vue.d.ts +7 -0
  20. package/dist/types/platform-admin-runtime/roleModulePageEnhancement.d.ts +7 -0
  21. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +1 -1
  22. package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +4 -2
  23. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -0
  24. package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +4 -2
  25. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
  26. package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
  27. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +6 -3
  28. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +1 -1
  29. package/dist/types/platform-components/index.d.ts +1 -1
  30. package/dist/types/platform-components/scopedTreeModuleContext.d.ts +2 -2
  31. package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +3 -3
  32. package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +5 -0
  33. package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +6 -2
  34. package/dist/types/views/RoleAuthorizationView.vue.d.ts +7 -0
  35. package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +5 -1
  36. package/dist/types/views/roleGrantClient.d.ts +8 -5
  37. package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -0
  38. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +20 -1
  39. package/dist/types/vue-ui-antdv/types.d.ts +6 -0
  40. package/dist/types/web-contracts/index.d.ts +9 -2
  41. package/dist/types/web-core/module/staticModuleClient.d.ts +4 -4
  42. package/dist/workspaceViews-BvV8mpML.js +11149 -0
  43. package/package.json +1 -1
  44. package/dist/RoleAuthorizationView-8lilhtMB.js +0 -646
  45. package/dist/RoleDetailWorkspaceView-CFha6JHn.js +0 -26
  46. package/dist/RoleManagementView-0_KDrzgh.js +0 -1948
  47. package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +0 -39
  48. package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +0 -5
  49. package/dist/types/views/UserDetailContent.vue.d.ts +0 -32
  50. package/dist/types/views/UserManagementListView.vue.d.ts +0 -3
  51. package/dist/types/views/UserManagementView.vue.d.ts +0 -3
  52. package/dist/types/views/useUserSessionRows.d.ts +0 -28
  53. package/dist/types/views/userDetailStateModel.d.ts +0 -9
  54. package/dist/types/views/userManagementRouteState.d.ts +0 -11
  55. 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,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;