@tachybase/plugin-workflow-approval 1.3.25 → 1.5.0
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/base/ApprovalPane.schema.d.ts +14 -71
- package/dist/client/common/collections/workflows.d.ts +23 -0
- package/dist/client/index.js +34 -34
- package/dist/client/user-interface/pc/block/table-initiations/CheckContent.schema.d.ts +7 -0
- package/dist/client/user-interface/pc/block/table-todos/CheckContent.schema.d.ts +7 -0
- package/dist/client/user-interface/pc/common/ApprovalInfo.d.ts +1 -0
- package/dist/client/user-interface/pc/common/notice-show-detail/NoticeDetail.schema.d.ts +1 -1
- package/dist/externalVersion.js +3 -3
- package/dist/locale/en-US.json +1 -0
- package/dist/locale/zh-CN.json +1 -0
- package/dist/server/actions/approvals.js +46 -2
- package/dist/server/collections/approvalCarbonCopy.js +1 -0
- package/dist/server/utils.d.ts +2 -0
- package/dist/server/utils.js +25 -2
- package/package.json +5 -5
|
@@ -6,77 +6,10 @@ export declare const schemaApprovalPanne: {
|
|
|
6
6
|
properties: {
|
|
7
7
|
approvalProvider: {
|
|
8
8
|
type: string;
|
|
9
|
-
'x-decorator':
|
|
10
|
-
|
|
9
|
+
'x-decorator': React.MemoExoticComponent<import("@tachybase/schema").ReactFC<{
|
|
10
|
+
params: any;
|
|
11
|
+
}>>;
|
|
11
12
|
'x-decorator-props': {
|
|
12
|
-
collection: {
|
|
13
|
-
name: string;
|
|
14
|
-
fields: ({
|
|
15
|
-
type: string;
|
|
16
|
-
name: string;
|
|
17
|
-
interface: string;
|
|
18
|
-
uiSchema: ISchema;
|
|
19
|
-
target?: undefined;
|
|
20
|
-
sourceKey?: undefined;
|
|
21
|
-
foreignKey?: undefined;
|
|
22
|
-
otherKey?: undefined;
|
|
23
|
-
targetKey?: undefined;
|
|
24
|
-
sortBy?: undefined;
|
|
25
|
-
through?: undefined;
|
|
26
|
-
collectionName?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
type: string;
|
|
29
|
-
name: string;
|
|
30
|
-
target: string;
|
|
31
|
-
sourceKey: string;
|
|
32
|
-
foreignKey: string;
|
|
33
|
-
otherKey: string;
|
|
34
|
-
targetKey: string;
|
|
35
|
-
sortBy: string;
|
|
36
|
-
through: string;
|
|
37
|
-
collectionName: string;
|
|
38
|
-
interface: string;
|
|
39
|
-
uiSchema: ISchema;
|
|
40
|
-
} | {
|
|
41
|
-
type: string;
|
|
42
|
-
name: string;
|
|
43
|
-
interface?: undefined;
|
|
44
|
-
uiSchema?: undefined;
|
|
45
|
-
target?: undefined;
|
|
46
|
-
sourceKey?: undefined;
|
|
47
|
-
foreignKey?: undefined;
|
|
48
|
-
otherKey?: undefined;
|
|
49
|
-
targetKey?: undefined;
|
|
50
|
-
sortBy?: undefined;
|
|
51
|
-
through?: undefined;
|
|
52
|
-
collectionName?: undefined;
|
|
53
|
-
} | {
|
|
54
|
-
name: string;
|
|
55
|
-
type: string;
|
|
56
|
-
interface: string;
|
|
57
|
-
target: string;
|
|
58
|
-
targetKey: string;
|
|
59
|
-
foreignKey: string;
|
|
60
|
-
collectionName: string;
|
|
61
|
-
uiSchema: {
|
|
62
|
-
type: string;
|
|
63
|
-
title: string;
|
|
64
|
-
"x-component": string;
|
|
65
|
-
"x-component-props": {
|
|
66
|
-
multiple: boolean;
|
|
67
|
-
fieldNames: {
|
|
68
|
-
value: string;
|
|
69
|
-
label: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
sourceKey?: undefined;
|
|
74
|
-
otherKey?: undefined;
|
|
75
|
-
sortBy?: undefined;
|
|
76
|
-
through?: undefined;
|
|
77
|
-
})[];
|
|
78
|
-
};
|
|
79
|
-
action: string;
|
|
80
13
|
params: {
|
|
81
14
|
filter: {
|
|
82
15
|
current: boolean;
|
|
@@ -85,7 +18,16 @@ export declare const schemaApprovalPanne: {
|
|
|
85
18
|
sort: string[];
|
|
86
19
|
except: string[];
|
|
87
20
|
};
|
|
88
|
-
|
|
21
|
+
};
|
|
22
|
+
'x-component': (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
type: string;
|
|
25
|
+
params: {
|
|
26
|
+
filter: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
sort: string[];
|
|
30
|
+
};
|
|
89
31
|
};
|
|
90
32
|
properties: {
|
|
91
33
|
actions: {
|
|
@@ -273,6 +215,7 @@ export declare const schemaApprovalPanne: {
|
|
|
273
215
|
rowSelection: {
|
|
274
216
|
type: string;
|
|
275
217
|
};
|
|
218
|
+
dragSort: string;
|
|
276
219
|
};
|
|
277
220
|
properties: {
|
|
278
221
|
title: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const collectionWorkflows: {
|
|
2
2
|
title: string;
|
|
3
3
|
name: string;
|
|
4
|
+
sortable: boolean;
|
|
4
5
|
fields: ({
|
|
5
6
|
type: string;
|
|
6
7
|
name: string;
|
|
@@ -11,6 +12,8 @@ export declare const collectionWorkflows: {
|
|
|
11
12
|
'x-component': string;
|
|
12
13
|
required: boolean;
|
|
13
14
|
enum?: undefined;
|
|
15
|
+
'x-component-props'?: undefined;
|
|
16
|
+
'x-validator'?: undefined;
|
|
14
17
|
};
|
|
15
18
|
} | {
|
|
16
19
|
type: string;
|
|
@@ -22,6 +25,8 @@ export declare const collectionWorkflows: {
|
|
|
22
25
|
'x-component': string;
|
|
23
26
|
required?: undefined;
|
|
24
27
|
enum?: undefined;
|
|
28
|
+
'x-component-props'?: undefined;
|
|
29
|
+
'x-validator'?: undefined;
|
|
25
30
|
};
|
|
26
31
|
} | {
|
|
27
32
|
type: string;
|
|
@@ -36,6 +41,24 @@ export declare const collectionWorkflows: {
|
|
|
36
41
|
value: boolean;
|
|
37
42
|
}[];
|
|
38
43
|
required?: undefined;
|
|
44
|
+
'x-component-props'?: undefined;
|
|
45
|
+
'x-validator'?: undefined;
|
|
46
|
+
};
|
|
47
|
+
} | {
|
|
48
|
+
type: string;
|
|
49
|
+
interface: string;
|
|
50
|
+
name: string;
|
|
51
|
+
uiSchema: {
|
|
52
|
+
title: string;
|
|
53
|
+
type: string;
|
|
54
|
+
'x-component': string;
|
|
55
|
+
'x-component-props': {
|
|
56
|
+
stringMode: boolean;
|
|
57
|
+
step: number;
|
|
58
|
+
};
|
|
59
|
+
'x-validator': string;
|
|
60
|
+
required?: undefined;
|
|
61
|
+
enum?: undefined;
|
|
39
62
|
};
|
|
40
63
|
})[];
|
|
41
64
|
};
|