@tachybase/module-hera 1.9.22 → 1.9.40
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/client/index.js +15 -26
- package/dist/externalVersion.js +8 -10
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/server/actions/index.d.ts +0 -2
- package/dist/server/actions/index.js +1 -5
- package/dist/server/migrations/20250102010713-add-plugin-department.d.ts +6 -0
- package/dist/server/{middlewares/set-department-owners.js → migrations/20250102010713-add-plugin-department.js} +22 -41
- package/dist/server/plugin.js +0 -2
- package/package.json +14 -14
- package/dist/client/features/departments/common/DepartmentTable.schema.d.ts +0 -50
- package/dist/client/features/departments/common/DepartmentTable.view.d.ts +0 -4
- package/dist/client/features/departments/common/FilterKeys.context.d.ts +0 -10
- package/dist/client/features/departments/common/InternalDepartmentTable.d.ts +0 -5
- package/dist/client/features/departments/common/Request.povider.d.ts +0 -1
- package/dist/client/features/departments/common/UserDepartmentsFieldNotSupport.d.ts +0 -2
- package/dist/client/features/departments/common/scopes/useDepartmentFilterActionProps.d.ts +0 -5
- package/dist/client/features/departments/common/scopes/useFilterActionProps.d.ts +0 -5
- package/dist/client/features/departments/index.d.ts +0 -5
- package/dist/client/features/departments/main-tab/DepartmentIndex.d.ts +0 -5
- package/dist/client/features/departments/main-tab/DepartmentIndex.provider.d.ts +0 -3
- package/dist/client/features/departments/main-tab/DepartmentManagement.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/DepartmentManagement.schema.d.ts +0 -10
- package/dist/client/features/departments/main-tab/DepartmentManagement.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/collections/departments.collection.d.ts +0 -128
- package/dist/client/features/departments/main-tab/collections/users.collection.d.ts +0 -189
- package/dist/client/features/departments/main-tab/components/DepartmentSelect.d.ts +0 -1
- package/dist/client/features/departments/main-tab/components/InternalSuperiorDepartmentSelect.d.ts +0 -1
- package/dist/client/features/departments/main-tab/components/SuperiorDepartmentSelect.d.ts +0 -1
- package/dist/client/features/departments/main-tab/context/Department.context.d.ts +0 -23
- package/dist/client/features/departments/main-tab/context/DepartmentsExpanded.context.d.ts +0 -17
- package/dist/client/features/departments/main-tab/departments-block/AddNewDepartment.schema.d.ts +0 -67
- package/dist/client/features/departments/main-tab/departments-block/AddNewDepartment.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/DepartmentOwnersField.component.d.ts +0 -5
- package/dist/client/features/departments/main-tab/departments-block/DepartmentsBlock.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/DepartmentsSearch.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/DepartmentsTree.component.d.ts +0 -8
- package/dist/client/features/departments/main-tab/departments-block/Request.provider.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/UnknownOwerns.schema.d.ts +0 -136
- package/dist/client/features/departments/main-tab/departments-block/UnknownOwerns.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/schemas/schemaDepartmentEdit.d.ts +0 -62
- package/dist/client/features/departments/main-tab/departments-block/schemas/schemaDepartmentNewSub.d.ts +0 -57
- package/dist/client/features/departments/main-tab/departments-block/scopes/useCreateDepartment.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-block/scopes/useUpdateDepartment.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-users-block/AddMembers.schema.d.ts +0 -148
- package/dist/client/features/departments/main-tab/departments-users-block/AddMembers.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/DepartmentField.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/DepartmentsUsersBlock.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/DepartmentsUsersBlock.schema.d.ts +0 -676
- package/dist/client/features/departments/main-tab/departments-users-block/IsOwnerField.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/MemberActions.schema.d.ts +0 -49
- package/dist/client/features/departments/main-tab/departments-users-block/MemberActions.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/RowRemoveAction.schema.d.ts +0 -16
- package/dist/client/features/departments/main-tab/departments-users-block/RowRemoveAction.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/UserDepartmentsField.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/UserSelectDepartment.schema.d.ts +0 -42
- package/dist/client/features/departments/main-tab/departments-users-block/UserSelectDepartment.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useBulkRemoveMembersAction.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useDataSource.d.ts +0 -40
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useMembersDataSource.d.ts +0 -6
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/usePropsAddMember.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useRefreshActionProps.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useRemoveMemberAction.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useShowTotal.d.ts +0 -1
- package/dist/client/features/departments/main-tab/hooks/useDeepTree.d.ts +0 -14
- package/dist/client/features/departments/main-tab/hooks/useGetDepTree.d.ts +0 -18
- package/dist/client/features/departments/main-tab/kit.d.ts +0 -4
- package/dist/client/features/departments/main-tab/providers/DepartmentsResource.provider.d.ts +0 -3
- package/dist/client/features/departments/main-tab/providers/UserResource.provider.d.ts +0 -3
- package/dist/client/features/departments/role-auth/DepartmentTitle.component.d.ts +0 -1
- package/dist/client/features/departments/role-auth/Departments.d.ts +0 -1
- package/dist/client/features/departments/role-auth/Departments.schema.d.ts +0 -227
- package/dist/client/features/departments/role-auth/kit.d.ts +0 -4
- package/dist/client/features/departments/role-auth/scopes/useAddDepartments.d.ts +0 -3
- package/dist/client/features/departments/role-auth/scopes/useBulkRemoveDepartments.d.ts +0 -3
- package/dist/client/features/departments/role-auth/scopes/useDataSource.d.ts +0 -40
- package/dist/client/features/departments/role-auth/scopes/useDisabled.d.ts +0 -3
- package/dist/client/features/departments/role-auth/scopes/useRemoveDepartment.d.ts +0 -3
- package/dist/client/features/departments/settings/DepartmentOwnersFieldSetting.d.ts +0 -2
- package/dist/client/features/departments/settings/UserDepartmentsFieldSetting.d.ts +0 -2
- package/dist/client/features/departments/settings/UserMainDepartmentFieldSetting.d.ts +0 -2
- package/dist/client/features/departments/settings/items/enableLinkItem.d.ts +0 -2
- package/dist/client/features/departments/settings/items/modeSelectItem.d.ts +0 -2
- package/dist/client/features/departments/settings/items/titleFieldItem.d.ts +0 -2
- package/dist/client/features/departments/utils/getDepartmentStr.d.ts +0 -1
- package/dist/client/features/departments/utils/getUserListByDepartment.d.ts +0 -1
- package/dist/server/actions/departments.d.ts +0 -5
- package/dist/server/actions/departments.js +0 -105
- package/dist/server/actions/users.d.ts +0 -4
- package/dist/server/actions/users.js +0 -142
- package/dist/server/collections/departmentRoles.d.ts +0 -2
- package/dist/server/collections/departmentRoles.js +0 -27
- package/dist/server/collections/departments.d.ts +0 -29
- package/dist/server/collections/departments.js +0 -162
- package/dist/server/collections/departmentsUsers.d.ts +0 -2
- package/dist/server/collections/departmentsUsers.js +0 -43
- package/dist/server/collections/roles.d.ts +0 -2
- package/dist/server/collections/roles.js +0 -39
- package/dist/server/collections/users.d.ts +0 -55
- package/dist/server/collections/users.js +0 -87
- package/dist/server/features/departments.d.ts +0 -7
- package/dist/server/features/departments.js +0 -132
- package/dist/server/middlewares/destroy-department-check.d.ts +0 -2
- package/dist/server/middlewares/destroy-department-check.js +0 -53
- package/dist/server/middlewares/index.d.ts +0 -6
- package/dist/server/middlewares/index.js +0 -31
- package/dist/server/middlewares/list-users-include-child-department.d.ts +0 -2
- package/dist/server/middlewares/list-users-include-child-department.js +0 -77
- package/dist/server/middlewares/reset-user-departments-cache.d.ts +0 -2
- package/dist/server/middlewares/reset-user-departments-cache.js +0 -39
- package/dist/server/middlewares/set-department-owners.d.ts +0 -2
- package/dist/server/middlewares/set-departments-roles.d.ts +0 -2
- package/dist/server/middlewares/set-departments-roles.js +0 -64
- package/dist/server/middlewares/set-main-department.d.ts +0 -2
- package/dist/server/middlewares/set-main-department.js +0 -105
- package/dist/server/middlewares/update-department-isleaf.d.ts +0 -2
- package/dist/server/middlewares/update-department-isleaf.js +0 -84
- package/dist/server/models/department.d.ts +0 -4
- package/dist/server/models/department.js +0 -38
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const SuperiorDepartmentSelect: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Result } from 'ahooks/es/useRequest/src/types';
|
|
3
|
-
interface departmentType {
|
|
4
|
-
id?: string | number;
|
|
5
|
-
[key: string]: unknown;
|
|
6
|
-
}
|
|
7
|
-
interface contextType {
|
|
8
|
-
user: object;
|
|
9
|
-
setUser?: Function;
|
|
10
|
-
department: departmentType;
|
|
11
|
-
departmentsResource?: {
|
|
12
|
-
service?: Result<any, any>;
|
|
13
|
-
};
|
|
14
|
-
setDepartment?: Function;
|
|
15
|
-
usersResource?: {
|
|
16
|
-
service?: Result<any, any>;
|
|
17
|
-
};
|
|
18
|
-
showChildren?: boolean;
|
|
19
|
-
setShowChildren?: (showChildren: boolean) => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const ProviderContextDepartments: React.Provider<contextType>;
|
|
22
|
-
export declare function useContextDepartments(): contextType;
|
|
23
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface DepartmentsExpandedProps {
|
|
3
|
-
initData: (C: any) => void;
|
|
4
|
-
treeData: any[];
|
|
5
|
-
setTreeData: React.Dispatch<React.SetStateAction<any[]>>;
|
|
6
|
-
nodeMap: {};
|
|
7
|
-
updateTreeData: (C: any, v: any) => any;
|
|
8
|
-
constructTreeData: (C: any, v: any) => any;
|
|
9
|
-
getChildrenIds: (node: any) => any[];
|
|
10
|
-
loadedKeys: any[];
|
|
11
|
-
setLoadedKeys: React.Dispatch<React.SetStateAction<any[]>>;
|
|
12
|
-
expandedKeys: any[];
|
|
13
|
-
setExpandedKeys: React.Dispatch<React.SetStateAction<any[]>>;
|
|
14
|
-
}
|
|
15
|
-
export declare const ProviderContextDepartmentsExpanded: React.Provider<Partial<DepartmentsExpandedProps>>;
|
|
16
|
-
export declare function useContextDepartmentsExpanded(): Partial<DepartmentsExpandedProps>;
|
|
17
|
-
export {};
|
package/dist/client/features/departments/main-tab/departments-block/AddNewDepartment.schema.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
export declare const getSchemaAddNewDepartment: () => {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
newDepartment: {
|
|
5
|
-
type: string;
|
|
6
|
-
title: string;
|
|
7
|
-
'x-component': string;
|
|
8
|
-
'x-component-props': {
|
|
9
|
-
type: string;
|
|
10
|
-
icon: string;
|
|
11
|
-
style: {
|
|
12
|
-
width: string;
|
|
13
|
-
textAlign: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
properties: {
|
|
17
|
-
drawer: {
|
|
18
|
-
type: string;
|
|
19
|
-
'x-component': string;
|
|
20
|
-
'x-decorator': string;
|
|
21
|
-
title: string;
|
|
22
|
-
properties: {
|
|
23
|
-
title: {
|
|
24
|
-
'x-component': string;
|
|
25
|
-
'x-decorator': string;
|
|
26
|
-
required: boolean;
|
|
27
|
-
};
|
|
28
|
-
parent: {
|
|
29
|
-
'x-component': string;
|
|
30
|
-
'x-decorator': string;
|
|
31
|
-
'x-collection-field': string;
|
|
32
|
-
'x-component-props': {
|
|
33
|
-
component: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
roles: {
|
|
37
|
-
'x-component': string;
|
|
38
|
-
'x-decorator': string;
|
|
39
|
-
'x-collection-field': string;
|
|
40
|
-
};
|
|
41
|
-
footer: {
|
|
42
|
-
type: string;
|
|
43
|
-
'x-component': string;
|
|
44
|
-
properties: {
|
|
45
|
-
cancel: {
|
|
46
|
-
title: string;
|
|
47
|
-
'x-component': string;
|
|
48
|
-
'x-component-props': {
|
|
49
|
-
useAction: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
submit: {
|
|
53
|
-
title: string;
|
|
54
|
-
'x-component': string;
|
|
55
|
-
'x-component-props': {
|
|
56
|
-
type: string;
|
|
57
|
-
useAction: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
};
|
package/dist/client/features/departments/main-tab/departments-block/AddNewDepartment.view.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AddNewDepartment: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DepartmentsBlock: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/client/features/departments/main-tab/departments-block/DepartmentsSearch.component.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DepartmentsSearch: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ProviderRequest: (props: any) => import("react/jsx-runtime").JSX.Element;
|
package/dist/client/features/departments/main-tab/departments-block/UnknownOwerns.schema.d.ts
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
export declare const schemaUnknownOwerns: {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
drawer: {
|
|
5
|
-
title: string;
|
|
6
|
-
'x-component': string;
|
|
7
|
-
properties: {
|
|
8
|
-
resource: {
|
|
9
|
-
type: string;
|
|
10
|
-
'x-decorator': string;
|
|
11
|
-
'x-component': string;
|
|
12
|
-
properties: {
|
|
13
|
-
actions: {
|
|
14
|
-
type: string;
|
|
15
|
-
'x-component': string;
|
|
16
|
-
'x-component-props': {
|
|
17
|
-
style: {
|
|
18
|
-
marginBottom: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
properties: {
|
|
22
|
-
filter: {
|
|
23
|
-
type: string;
|
|
24
|
-
title: string;
|
|
25
|
-
default: {
|
|
26
|
-
$and: ({
|
|
27
|
-
username: {
|
|
28
|
-
$includes: string;
|
|
29
|
-
};
|
|
30
|
-
nickname?: undefined;
|
|
31
|
-
} | {
|
|
32
|
-
nickname: {
|
|
33
|
-
$includes: string;
|
|
34
|
-
};
|
|
35
|
-
username?: undefined;
|
|
36
|
-
})[];
|
|
37
|
-
};
|
|
38
|
-
'x-action': string;
|
|
39
|
-
'x-component': string;
|
|
40
|
-
'x-use-component-props': string;
|
|
41
|
-
'x-component-props': {
|
|
42
|
-
icon: string;
|
|
43
|
-
};
|
|
44
|
-
'x-align': string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
table: {
|
|
49
|
-
type: string;
|
|
50
|
-
'x-component': string;
|
|
51
|
-
'x-component-props': {
|
|
52
|
-
rowKey: string;
|
|
53
|
-
rowSelection: {
|
|
54
|
-
type: string;
|
|
55
|
-
onChange: string;
|
|
56
|
-
};
|
|
57
|
-
useDataSource: string;
|
|
58
|
-
};
|
|
59
|
-
properties: {
|
|
60
|
-
username: {
|
|
61
|
-
type: string;
|
|
62
|
-
'x-decorator': string;
|
|
63
|
-
'x-component': string;
|
|
64
|
-
properties: {
|
|
65
|
-
username: {
|
|
66
|
-
type: string;
|
|
67
|
-
'x-component': string;
|
|
68
|
-
'x-read-pretty': boolean;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
nickname: {
|
|
73
|
-
type: string;
|
|
74
|
-
'x-decorator': string;
|
|
75
|
-
'x-component': string;
|
|
76
|
-
properties: {
|
|
77
|
-
nickname: {
|
|
78
|
-
type: string;
|
|
79
|
-
'x-component': string;
|
|
80
|
-
'x-read-pretty': boolean;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
phone: {
|
|
85
|
-
type: string;
|
|
86
|
-
'x-decorator': string;
|
|
87
|
-
'x-component': string;
|
|
88
|
-
properties: {
|
|
89
|
-
phone: {
|
|
90
|
-
type: string;
|
|
91
|
-
'x-component': string;
|
|
92
|
-
'x-read-pretty': boolean;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
email: {
|
|
97
|
-
type: string;
|
|
98
|
-
'x-decorator': string;
|
|
99
|
-
'x-component': string;
|
|
100
|
-
properties: {
|
|
101
|
-
email: {
|
|
102
|
-
type: string;
|
|
103
|
-
'x-component': string;
|
|
104
|
-
'x-read-pretty': boolean;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
footer: {
|
|
113
|
-
type: string;
|
|
114
|
-
'x-component': string;
|
|
115
|
-
properties: {
|
|
116
|
-
cancel: {
|
|
117
|
-
title: string;
|
|
118
|
-
'x-component': string;
|
|
119
|
-
'x-component-props': {
|
|
120
|
-
useAction: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
confirm: {
|
|
124
|
-
title: string;
|
|
125
|
-
'x-component': string;
|
|
126
|
-
'x-component-props': {
|
|
127
|
-
type: string;
|
|
128
|
-
useAction: string;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ViewUnKnownOwerns: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 编辑部门表单
|
|
3
|
-
*/
|
|
4
|
-
export declare const schemaDepartmentEdit: {
|
|
5
|
-
type: string;
|
|
6
|
-
properties: {
|
|
7
|
-
[x: string]: {
|
|
8
|
-
type: string;
|
|
9
|
-
'x-component': string;
|
|
10
|
-
'x-decorator': string;
|
|
11
|
-
'x-decorator-props': {
|
|
12
|
-
useValues(options: any): import("@tachybase/client").UseRequestResult<unknown>;
|
|
13
|
-
};
|
|
14
|
-
title: string;
|
|
15
|
-
properties: {
|
|
16
|
-
title: {
|
|
17
|
-
'x-component': string;
|
|
18
|
-
'x-decorator': string;
|
|
19
|
-
};
|
|
20
|
-
parent: {
|
|
21
|
-
'x-component': string;
|
|
22
|
-
'x-decorator': string;
|
|
23
|
-
'x-collection-field': string;
|
|
24
|
-
'x-component-props': {
|
|
25
|
-
component: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
roles: {
|
|
29
|
-
'x-component': string;
|
|
30
|
-
'x-decorator': string;
|
|
31
|
-
'x-collection-field': string;
|
|
32
|
-
};
|
|
33
|
-
owners: {
|
|
34
|
-
title: string;
|
|
35
|
-
'x-component': string;
|
|
36
|
-
'x-decorator': string;
|
|
37
|
-
};
|
|
38
|
-
footer: {
|
|
39
|
-
type: string;
|
|
40
|
-
'x-component': string;
|
|
41
|
-
properties: {
|
|
42
|
-
cancel: {
|
|
43
|
-
title: string;
|
|
44
|
-
'x-component': string;
|
|
45
|
-
'x-component-props': {
|
|
46
|
-
useAction: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
submit: {
|
|
50
|
-
title: string;
|
|
51
|
-
'x-component': string;
|
|
52
|
-
'x-component-props': {
|
|
53
|
-
type: string;
|
|
54
|
-
useAction: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 新增子部门表单
|
|
3
|
-
*/
|
|
4
|
-
export declare const schemaDepartmentNewSub: {
|
|
5
|
-
type: string;
|
|
6
|
-
properties: {
|
|
7
|
-
[x: string]: {
|
|
8
|
-
title: string;
|
|
9
|
-
type: string;
|
|
10
|
-
'x-component': string;
|
|
11
|
-
'x-decorator': string;
|
|
12
|
-
'x-decorator-props': {
|
|
13
|
-
useValues(options: any): import("@tachybase/client").UseRequestResult<unknown>;
|
|
14
|
-
};
|
|
15
|
-
properties: {
|
|
16
|
-
title: {
|
|
17
|
-
'x-component': string;
|
|
18
|
-
'x-decorator': string;
|
|
19
|
-
};
|
|
20
|
-
parent: {
|
|
21
|
-
'x-component': string;
|
|
22
|
-
'x-decorator': string;
|
|
23
|
-
'x-collection-field': string;
|
|
24
|
-
'x-component-props': {
|
|
25
|
-
component: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
roles: {
|
|
29
|
-
'x-component': string;
|
|
30
|
-
'x-decorator': string;
|
|
31
|
-
'x-collection-field': string;
|
|
32
|
-
};
|
|
33
|
-
footer: {
|
|
34
|
-
type: string;
|
|
35
|
-
'x-component': string;
|
|
36
|
-
properties: {
|
|
37
|
-
cancel: {
|
|
38
|
-
title: string;
|
|
39
|
-
'x-component': string;
|
|
40
|
-
'x-component-props': {
|
|
41
|
-
useAction: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
submit: {
|
|
45
|
-
title: string;
|
|
46
|
-
'x-component': string;
|
|
47
|
-
'x-component-props': {
|
|
48
|
-
type: string;
|
|
49
|
-
useAction: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
package/dist/client/features/departments/main-tab/departments-users-block/AddMembers.schema.d.ts
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
export declare const schemaAddMembers: {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
drawer: {
|
|
5
|
-
type: string;
|
|
6
|
-
'x-component': string;
|
|
7
|
-
'x-decorator': string;
|
|
8
|
-
title: string;
|
|
9
|
-
properties: {
|
|
10
|
-
resource: {
|
|
11
|
-
type: string;
|
|
12
|
-
'x-decorator': string;
|
|
13
|
-
'x-component': string;
|
|
14
|
-
'x-component-props': {
|
|
15
|
-
collection: string;
|
|
16
|
-
request: {
|
|
17
|
-
resource: string;
|
|
18
|
-
action: string;
|
|
19
|
-
params: {
|
|
20
|
-
departmentId: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
properties: {
|
|
25
|
-
actions: {
|
|
26
|
-
type: string;
|
|
27
|
-
'x-component': string;
|
|
28
|
-
'x-component-props': {
|
|
29
|
-
style: {
|
|
30
|
-
marginBottom: number;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
properties: {
|
|
34
|
-
filter: {
|
|
35
|
-
type: string;
|
|
36
|
-
title: string;
|
|
37
|
-
default: {
|
|
38
|
-
$and: ({
|
|
39
|
-
username: {
|
|
40
|
-
$includes: string;
|
|
41
|
-
};
|
|
42
|
-
nickname?: undefined;
|
|
43
|
-
} | {
|
|
44
|
-
nickname: {
|
|
45
|
-
$includes: string;
|
|
46
|
-
};
|
|
47
|
-
username?: undefined;
|
|
48
|
-
})[];
|
|
49
|
-
};
|
|
50
|
-
'x-action': string;
|
|
51
|
-
'x-component': string;
|
|
52
|
-
'x-use-component-props': string;
|
|
53
|
-
'x-component-props': {
|
|
54
|
-
icon: string;
|
|
55
|
-
};
|
|
56
|
-
'x-align': string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
table: {
|
|
61
|
-
type: string;
|
|
62
|
-
'x-component': string;
|
|
63
|
-
'x-component-props': {
|
|
64
|
-
rowKey: string;
|
|
65
|
-
rowSelection: {
|
|
66
|
-
type: string;
|
|
67
|
-
onChange: string;
|
|
68
|
-
};
|
|
69
|
-
useDataSource: string;
|
|
70
|
-
};
|
|
71
|
-
properties: {
|
|
72
|
-
username: {
|
|
73
|
-
type: string;
|
|
74
|
-
'x-decorator': string;
|
|
75
|
-
'x-component': string;
|
|
76
|
-
properties: {
|
|
77
|
-
username: {
|
|
78
|
-
type: string;
|
|
79
|
-
'x-component': string;
|
|
80
|
-
'x-read-pretty': boolean;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
nickname: {
|
|
85
|
-
type: string;
|
|
86
|
-
'x-decorator': string;
|
|
87
|
-
'x-component': string;
|
|
88
|
-
properties: {
|
|
89
|
-
nickname: {
|
|
90
|
-
type: string;
|
|
91
|
-
'x-component': string;
|
|
92
|
-
'x-read-pretty': boolean;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
phone: {
|
|
97
|
-
type: string;
|
|
98
|
-
'x-decorator': string;
|
|
99
|
-
'x-component': string;
|
|
100
|
-
properties: {
|
|
101
|
-
phone: {
|
|
102
|
-
type: string;
|
|
103
|
-
'x-component': string;
|
|
104
|
-
'x-read-pretty': boolean;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
email: {
|
|
109
|
-
type: string;
|
|
110
|
-
'x-decorator': string;
|
|
111
|
-
'x-component': string;
|
|
112
|
-
properties: {
|
|
113
|
-
email: {
|
|
114
|
-
type: string;
|
|
115
|
-
'x-component': string;
|
|
116
|
-
'x-read-pretty': boolean;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
footer: {
|
|
125
|
-
type: string;
|
|
126
|
-
'x-component': string;
|
|
127
|
-
properties: {
|
|
128
|
-
cancel: {
|
|
129
|
-
title: string;
|
|
130
|
-
'x-component': string;
|
|
131
|
-
'x-component-props': {
|
|
132
|
-
useAction: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
submit: {
|
|
136
|
-
title: string;
|
|
137
|
-
'x-component': string;
|
|
138
|
-
'x-component-props': {
|
|
139
|
-
type: string;
|
|
140
|
-
useAction: string;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
};
|
package/dist/client/features/departments/main-tab/departments-users-block/AddMembers.view.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ViewAddMembers: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DepartmentField: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/client/features/departments/main-tab/departments-users-block/DepartmentsUsersBlock.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ViewDepartmentsUsersBlock: () => import("react/jsx-runtime").JSX.Element;
|