@ximatai/muyun-web-app 0.26.7 → 0.26.8
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-DYJLlkSz.js → EmployeeDetailWorkspaceView-DswEDSxH.js} +1 -1
- package/dist/{EmployeeManagementView-taxWUa7g.js → EmployeeManagementView-C9STtw08.js} +385 -386
- package/dist/{MetadataOrchestrationView-B-CPudJl.js → MetadataOrchestrationView-DKYVGMzy.js} +95 -95
- package/dist/{ModuleActionManagementView-CmVj0e0C.js → ModuleActionManagementView-DiVzuPdu.js} +72 -72
- package/dist/{RoleAuthorizationView-q_6CsBYq.js → RoleAuthorizationView-C0s4Bog7.js} +47 -47
- package/dist/{RoleDetailWorkspaceView-DmJlJgAj.js → RoleDetailWorkspaceView-dqHxKVfd.js} +1 -1
- package/dist/{RoleManagementView-HCa9rH0f.js → RoleManagementView-D43pUCxi.js} +468 -469
- package/dist/{SystemUserDetailWorkspaceView-U6Ij0US1.js → SystemUserDetailWorkspaceView-CQ9WeLrR.js} +1 -1
- package/dist/SystemUserManagementView-D75_ylYk.js +758 -0
- package/dist/{UserDetailWorkspaceView-OPYvD6mH.js → UserDetailWorkspaceView-BCST01d2.js} +1 -1
- package/dist/UserManagementView-CcdvDo_y.js +964 -0
- package/dist/index.css +1 -1
- package/dist/index.js +2278 -4726
- package/dist/{pageRealtime-CzJlr9hs.js → pageRealtime-EAiGWKEo.js} +87 -85
- package/dist/{platform-components-DKKWbNrz.js → platform-components-CFU_zR7-.js} +2145 -1866
- package/dist/types/app/workbenchStartup.d.ts +6 -2
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +2 -2
- package/dist/types/consumer/index.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/DynamicModuleWorkspaceDetailView.vue.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +38 -0
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +25 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +43 -0
- package/dist/types/dynamic-page-runtime/detailSurfacePreference.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +38 -0
- package/dist/types/dynamic-page-runtime/modulePageNavigation.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +27 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +5 -0
- package/dist/types/platform-admin-runtime/realtime.d.ts +2 -1
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +12 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +6 -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/RecordActionBar.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +4 -1
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +8 -6
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +7 -5
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +4 -1
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +9 -2
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +3 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +13 -7
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +3 -0
- package/dist/types/platform-components/index.d.ts +4 -2
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +14 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +2 -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/index.d.ts +1 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +3 -0
- package/dist/types/platform-workbench/modulePageWorkspaceViews.d.ts +7 -0
- package/dist/types/platform-workbench/workbenchLayout.d.ts +36 -0
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +2 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -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/UiModal.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +7 -1
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +110 -17
- package/dist/types/web-core/businessNotifications.d.ts +3 -0
- package/dist/types/web-core/index.d.ts +1 -0
- package/dist/types/web-core/module/moduleContext.d.ts +1 -0
- package/dist/types/web-core/module/runtimeContext.d.ts +3 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +8 -1
- package/dist/types/web-core/realtime.d.ts +5 -1
- package/dist/{useUserSessionRows-CBHEzRFQ.js → useUserSessionRows-DCpUZCzN.js} +2 -2
- package/dist/workspaceViewSessions-Dj1LjdG1.js +4984 -0
- package/package.json +1 -1
- package/dist/SystemUserManagementView-C1CkKivH.js +0 -758
- package/dist/UserManagementView-gbCL9SnC.js +0 -965
- package/dist/currentUserContext-B1lj1WgF.js +0 -11
- package/dist/types/views/ApplicationManagementView.vue.d.ts +0 -3
- package/dist/types/views/DepartmentManagementView.vue.d.ts +0 -3
- package/dist/types/views/FieldSpecManagementView.vue.d.ts +0 -3
- package/dist/types/views/OrganizationManagementView.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/fieldSpecManagementState.d.ts +0 -80
- package/dist/types/views/organizationManagementState.d.ts +0 -64
- package/dist/workspaceViewSessions-DkB9myrq.js +0 -3252
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { inject as e, provide as t } from "vue";
|
|
2
|
-
//#region src/platform-admin-runtime/currentUserContext.ts
|
|
3
|
-
var n = Symbol("muyun.current-user");
|
|
4
|
-
function r(e) {
|
|
5
|
-
t(n, e);
|
|
6
|
-
}
|
|
7
|
-
function i() {
|
|
8
|
-
return e(n, void 0);
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { i as n, r as t };
|
|
@@ -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,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,64 +0,0 @@
|
|
|
1
|
-
import type { Application } 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 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<boolean>;
|
|
61
|
-
toggleEnabled: () => Promise<void>;
|
|
62
|
-
removeSelected: () => Promise<void>;
|
|
63
|
-
};
|
|
64
|
-
export {};
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import type { Department, Organization } from '../web-contracts/index';
|
|
2
|
-
import type { ModuleContext } from '../web-core/index';
|
|
3
|
-
import type { UiConfirmOptions } from '../vue-ui-antdv/index';
|
|
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 {};
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { FieldSpec } 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 FieldSpecManagementStateOptions {
|
|
8
|
-
actionErrorHandlers?: StaticCrudActionErrorHandler<FieldSpec>[];
|
|
9
|
-
actionResultReactionHandlers?: Record<string, PlatformActionResultReactionHandler | undefined>;
|
|
10
|
-
}
|
|
11
|
-
export declare function createFieldSpecManagementState(fieldSpecContext: ModuleContext<FieldSpec>, confirmAction: ConfirmAction, options?: FieldSpecManagementStateOptions): {
|
|
12
|
-
specAliasReadonly: import("vue").ComputedRef<boolean>;
|
|
13
|
-
selected: import("vue").Ref<FieldSpec | undefined, FieldSpec | undefined>;
|
|
14
|
-
draft: import("vue").Ref<{
|
|
15
|
-
alias?: string | undefined;
|
|
16
|
-
fieldType?: string | undefined;
|
|
17
|
-
defaultLength?: number | undefined;
|
|
18
|
-
defaultPrecision?: number | undefined;
|
|
19
|
-
defaultScale?: number | undefined;
|
|
20
|
-
defaultQueryOperator?: string | undefined;
|
|
21
|
-
queryOperators?: string[] | undefined;
|
|
22
|
-
defaultUiControlAlias?: string | undefined;
|
|
23
|
-
uiControlAliases?: string[] | undefined;
|
|
24
|
-
enabled?: boolean | undefined;
|
|
25
|
-
sortOrder?: number | undefined;
|
|
26
|
-
title?: string | undefined;
|
|
27
|
-
id?: string | undefined;
|
|
28
|
-
tenantId?: string | undefined;
|
|
29
|
-
version?: number | undefined;
|
|
30
|
-
deleted?: boolean | undefined;
|
|
31
|
-
deletedAt?: string | undefined;
|
|
32
|
-
createdBy?: string | undefined;
|
|
33
|
-
createdAt?: string | undefined;
|
|
34
|
-
updatedBy?: string | undefined;
|
|
35
|
-
updatedAt?: string | undefined;
|
|
36
|
-
}, FieldSpec | {
|
|
37
|
-
alias?: string | undefined;
|
|
38
|
-
fieldType?: string | undefined;
|
|
39
|
-
defaultLength?: number | undefined;
|
|
40
|
-
defaultPrecision?: number | undefined;
|
|
41
|
-
defaultScale?: number | undefined;
|
|
42
|
-
defaultQueryOperator?: string | undefined;
|
|
43
|
-
queryOperators?: string[] | undefined;
|
|
44
|
-
defaultUiControlAlias?: string | undefined;
|
|
45
|
-
uiControlAliases?: string[] | undefined;
|
|
46
|
-
enabled?: boolean | undefined;
|
|
47
|
-
sortOrder?: number | undefined;
|
|
48
|
-
title?: string | undefined;
|
|
49
|
-
id?: string | undefined;
|
|
50
|
-
tenantId?: string | undefined;
|
|
51
|
-
version?: number | undefined;
|
|
52
|
-
deleted?: boolean | undefined;
|
|
53
|
-
deletedAt?: string | undefined;
|
|
54
|
-
createdBy?: string | undefined;
|
|
55
|
-
createdAt?: string | undefined;
|
|
56
|
-
updatedBy?: string | undefined;
|
|
57
|
-
updatedAt?: string | undefined;
|
|
58
|
-
}>;
|
|
59
|
-
mode: import("vue").Ref<import("../platform-components").StaticCrudCardMode, import("../platform-components").StaticCrudCardMode>;
|
|
60
|
-
reloadKey: import("vue").Ref<number, number>;
|
|
61
|
-
saving: import("vue").Ref<boolean, boolean>;
|
|
62
|
-
actionError: import("vue").Ref<string | undefined, string | undefined>;
|
|
63
|
-
cardTitle: import("vue").ComputedRef<string>;
|
|
64
|
-
readonly: import("vue").ComputedRef<boolean>;
|
|
65
|
-
canCreate: import("vue").ComputedRef<boolean>;
|
|
66
|
-
canUpdate: import("vue").ComputedRef<boolean>;
|
|
67
|
-
canDelete: import("vue").ComputedRef<boolean>;
|
|
68
|
-
canEnable: import("vue").ComputedRef<boolean>;
|
|
69
|
-
canMutate: import("vue").ComputedRef<boolean>;
|
|
70
|
-
handleListLoaded: (records: FieldSpec[]) => void;
|
|
71
|
-
handleReadonlyListLoaded: (records: FieldSpec[]) => void;
|
|
72
|
-
handleSelect: (record: FieldSpec) => void;
|
|
73
|
-
startCreate: () => void;
|
|
74
|
-
startEdit: () => void;
|
|
75
|
-
cancelEdit: () => void;
|
|
76
|
-
save: () => Promise<boolean>;
|
|
77
|
-
toggleEnabled: () => Promise<void>;
|
|
78
|
-
removeSelected: () => Promise<void>;
|
|
79
|
-
};
|
|
80
|
-
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 {};
|