@tachybase/plugin-workflow-approval 1.6.21 → 1.6.22
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/common/contexts/QuickCreate.provider.d.ts +11 -0
- package/dist/client/common/contexts/Resubmit.provider.d.ts +2 -0
- package/dist/client/common/contexts/index.d.ts +1 -0
- package/dist/client/index.js +46 -30
- package/dist/client/user-interface/pc/block/common/apply-button/QuickApplyButton.component.d.ts +1 -0
- package/dist/client/user-interface/pc/block/common/apply-button/QuickApplyButton.provider.d.ts +1 -0
- package/dist/client/user-interface/pc/block/common/apply-button/QuickApplyButton.view.d.ts +1 -0
- package/dist/client/user-interface/pc/block/table-carbon-copy/CheckLink.create.d.ts +75 -0
- package/dist/client/user-interface/pc/block/table-initiations/CheckLink.create.d.ts +1 -0
- package/dist/client/user-interface/pc/block/table-initiations/CheckLink.schema.d.ts +74 -0
- package/dist/client/user-interface/pc/block/table-initiations/CreateCheckContent.schema.d.ts +14 -0
- package/dist/client/user-interface/pc/block/table-initiations/TableInitiated.schema.d.ts +6 -1
- package/dist/client/user-interface/pc/block/table-todos/CheckLink.create.d.ts +1 -0
- package/dist/client/user-interface/pc/block/table-todos/CheckLink.schema.d.ts +74 -0
- package/dist/client/user-interface/pc/block/table-todos/TableTodos.schema.d.ts +5 -0
- package/dist/externalVersion.js +6 -6
- package/dist/locale/en-US.json +3 -0
- package/dist/locale/zh-CN.json +3 -0
- package/package.json +8 -8
- /package/dist/client/user-interface/pc/block/{table-initiations → common}/apply-button/ApplyButton.component.d.ts +0 -0
- /package/dist/client/user-interface/pc/block/{table-initiations → common}/apply-button/ApplyButton.provider.d.ts +0 -0
- /package/dist/client/user-interface/pc/block/{table-initiations → common}/apply-button/ApplyButton.view.d.ts +0 -0
package/dist/client/user-interface/pc/block/common/apply-button/QuickApplyButton.component.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const QuickApplyButton: (props: any) => import("react/jsx-runtime").JSX.Element;
|
package/dist/client/user-interface/pc/block/common/apply-button/QuickApplyButton.provider.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ProviderQuickApplyButton: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const QuickViewApplyButton: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare const getSchemaCreateActionLaunch: (params: any) => {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
'x-decorator': string;
|
|
5
|
+
'x-acl-action': string;
|
|
6
|
+
'x-component': string;
|
|
7
|
+
title: string;
|
|
8
|
+
properties: {
|
|
9
|
+
modal: {
|
|
10
|
+
type: string;
|
|
11
|
+
'x-decorator': string;
|
|
12
|
+
'x-component': any;
|
|
13
|
+
'x-component-props': any;
|
|
14
|
+
properties: {
|
|
15
|
+
voucherType: {
|
|
16
|
+
type: string;
|
|
17
|
+
title: string;
|
|
18
|
+
required: boolean;
|
|
19
|
+
'x-decorator': string;
|
|
20
|
+
'x-component': string;
|
|
21
|
+
'x-component-props': {
|
|
22
|
+
fieldNames: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
service: {
|
|
27
|
+
resource: string;
|
|
28
|
+
params: {
|
|
29
|
+
filter: {
|
|
30
|
+
'config.centralized': boolean;
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
'config.collection': any;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
style: {
|
|
37
|
+
width: string;
|
|
38
|
+
};
|
|
39
|
+
placeholder: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
footer: {
|
|
43
|
+
'x-component': string;
|
|
44
|
+
type: string;
|
|
45
|
+
'x-component-props': {
|
|
46
|
+
style: {
|
|
47
|
+
display: string;
|
|
48
|
+
justifyContent: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
properties: {
|
|
52
|
+
cancel: {
|
|
53
|
+
title: string;
|
|
54
|
+
'x-component': string;
|
|
55
|
+
'x-component-props': {
|
|
56
|
+
useAction(): {
|
|
57
|
+
run(): Promise<void>;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
submit: {
|
|
62
|
+
title: string;
|
|
63
|
+
'x-component': string;
|
|
64
|
+
'x-component-props': {
|
|
65
|
+
type: string;
|
|
66
|
+
record: any;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export declare const CreateCheckLink: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CreateCheckLink: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -22,3 +22,77 @@ export declare const getSchemaActionLaunch: (params: any) => {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
+
export declare const getSchemaCreateActionLaunch: (params: any) => {
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
'x-decorator': string;
|
|
29
|
+
'x-acl-action': string;
|
|
30
|
+
'x-component': string;
|
|
31
|
+
title: string;
|
|
32
|
+
properties: {
|
|
33
|
+
modal: {
|
|
34
|
+
type: string;
|
|
35
|
+
'x-decorator': string;
|
|
36
|
+
'x-component': any;
|
|
37
|
+
'x-component-props': any;
|
|
38
|
+
properties: {
|
|
39
|
+
voucherType: {
|
|
40
|
+
type: string;
|
|
41
|
+
title: string;
|
|
42
|
+
required: boolean;
|
|
43
|
+
'x-decorator': string;
|
|
44
|
+
'x-component': string;
|
|
45
|
+
'x-component-props': {
|
|
46
|
+
fieldNames: {
|
|
47
|
+
label: string;
|
|
48
|
+
value: string;
|
|
49
|
+
};
|
|
50
|
+
service: {
|
|
51
|
+
resource: string;
|
|
52
|
+
params: {
|
|
53
|
+
filter: {
|
|
54
|
+
'config.centralized': boolean;
|
|
55
|
+
enabled: boolean;
|
|
56
|
+
'config.collection': any;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
style: {
|
|
61
|
+
width: string;
|
|
62
|
+
};
|
|
63
|
+
placeholder: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
footer: {
|
|
67
|
+
'x-component': string;
|
|
68
|
+
type: string;
|
|
69
|
+
'x-component-props': {
|
|
70
|
+
style: {
|
|
71
|
+
display: string;
|
|
72
|
+
justifyContent: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
properties: {
|
|
76
|
+
cancel: {
|
|
77
|
+
title: string;
|
|
78
|
+
'x-component': string;
|
|
79
|
+
'x-component-props': {
|
|
80
|
+
useAction(): {
|
|
81
|
+
run(): Promise<void>;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
submit: {
|
|
86
|
+
title: string;
|
|
87
|
+
'x-component': string;
|
|
88
|
+
'x-component-props': {
|
|
89
|
+
type: string;
|
|
90
|
+
record: any;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const getSchemaCreateCheckContent: (params: any) => {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
'x-decorator': string;
|
|
5
|
+
'x-decorator-props': {
|
|
6
|
+
name: string;
|
|
7
|
+
dataSource: string;
|
|
8
|
+
};
|
|
9
|
+
'x-component': string;
|
|
10
|
+
'x-component-props': {
|
|
11
|
+
uid: any;
|
|
12
|
+
noForm: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -61,12 +61,17 @@ export declare const schemaTableInitiated: {
|
|
|
61
61
|
'x-component': string;
|
|
62
62
|
'x-component-props': {
|
|
63
63
|
width: number;
|
|
64
|
+
className: string;
|
|
64
65
|
};
|
|
65
66
|
title: string;
|
|
66
67
|
properties: {
|
|
67
|
-
|
|
68
|
+
actionView: {
|
|
68
69
|
'x-component': string;
|
|
69
70
|
};
|
|
71
|
+
actionApply: {
|
|
72
|
+
'x-component': string;
|
|
73
|
+
'x-component-props': {};
|
|
74
|
+
};
|
|
70
75
|
};
|
|
71
76
|
};
|
|
72
77
|
id: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CreateCheckLink: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -17,3 +17,77 @@ export declare const getSchemaActionTodos: (params: any) => {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
+
export declare const getSchemaCreateActionLaunch: (params: any) => {
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
'x-decorator': string;
|
|
24
|
+
'x-acl-action': string;
|
|
25
|
+
'x-component': string;
|
|
26
|
+
title: string;
|
|
27
|
+
properties: {
|
|
28
|
+
modal: {
|
|
29
|
+
type: string;
|
|
30
|
+
'x-decorator': string;
|
|
31
|
+
'x-component': any;
|
|
32
|
+
'x-component-props': any;
|
|
33
|
+
properties: {
|
|
34
|
+
voucherType: {
|
|
35
|
+
type: string;
|
|
36
|
+
title: string;
|
|
37
|
+
required: boolean;
|
|
38
|
+
'x-decorator': string;
|
|
39
|
+
'x-component': string;
|
|
40
|
+
'x-component-props': {
|
|
41
|
+
fieldNames: {
|
|
42
|
+
label: string;
|
|
43
|
+
value: string;
|
|
44
|
+
};
|
|
45
|
+
service: {
|
|
46
|
+
resource: string;
|
|
47
|
+
params: {
|
|
48
|
+
filter: {
|
|
49
|
+
'config.centralized': boolean;
|
|
50
|
+
enabled: boolean;
|
|
51
|
+
'config.collection': any;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
style: {
|
|
56
|
+
width: string;
|
|
57
|
+
};
|
|
58
|
+
placeholder: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
footer: {
|
|
62
|
+
'x-component': string;
|
|
63
|
+
type: string;
|
|
64
|
+
'x-component-props': {
|
|
65
|
+
style: {
|
|
66
|
+
display: string;
|
|
67
|
+
justifyContent: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
properties: {
|
|
71
|
+
cancel: {
|
|
72
|
+
title: string;
|
|
73
|
+
'x-component': string;
|
|
74
|
+
'x-component-props': {
|
|
75
|
+
useAction(): {
|
|
76
|
+
run(): Promise<void>;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
submit: {
|
|
81
|
+
title: string;
|
|
82
|
+
'x-component': string;
|
|
83
|
+
'x-component-props': {
|
|
84
|
+
type: string;
|
|
85
|
+
record: any;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
@@ -58,12 +58,17 @@ export declare const schemaTableTodos: {
|
|
|
58
58
|
'x-component': string;
|
|
59
59
|
'x-component-props': {
|
|
60
60
|
width: number;
|
|
61
|
+
className: string;
|
|
61
62
|
};
|
|
62
63
|
title: string;
|
|
63
64
|
properties: {
|
|
64
65
|
action: {
|
|
65
66
|
'x-component': string;
|
|
66
67
|
};
|
|
68
|
+
actionApply: {
|
|
69
|
+
'x-component': string;
|
|
70
|
+
'x-component-props': {};
|
|
71
|
+
};
|
|
67
72
|
};
|
|
68
73
|
};
|
|
69
74
|
approvalId: {
|
package/dist/externalVersion.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@tachybase/client": "1.6.
|
|
3
|
-
"@tego/server": "1.6.
|
|
4
|
-
"@tachybase/module-workflow": "1.6.
|
|
2
|
+
"@tachybase/client": "1.6.22",
|
|
3
|
+
"@tego/server": "1.6.13",
|
|
4
|
+
"@tachybase/module-workflow": "1.6.22",
|
|
5
5
|
"lodash": "4.17.21",
|
|
6
6
|
"react": "18.3.1",
|
|
7
|
-
"@tachybase/schema": "1.6.
|
|
7
|
+
"@tachybase/schema": "1.6.13",
|
|
8
8
|
"antd": "5.22.5",
|
|
9
|
-
"@tachybase/module-ui-schema": "1.6.
|
|
9
|
+
"@tachybase/module-ui-schema": "1.6.22",
|
|
10
10
|
"sequelize": "6.37.5",
|
|
11
|
-
"@tego/client": "1.6.
|
|
11
|
+
"@tego/client": "1.6.13",
|
|
12
12
|
"react-i18next": "16.2.1",
|
|
13
13
|
"react-router-dom": "6.28.1",
|
|
14
14
|
"@ant-design/icons": "6.1.0",
|
package/dist/locale/en-US.json
CHANGED
|
@@ -212,13 +212,16 @@
|
|
|
212
212
|
"Passthrough mode": "Passthrough mode",
|
|
213
213
|
"Pending": "Pending",
|
|
214
214
|
"Please select collection first": "Please select collection first",
|
|
215
|
+
"Please select the receipt category": "请选择凭证类型",
|
|
215
216
|
"Processed": "Processed",
|
|
216
217
|
"Processing": "Processing",
|
|
217
218
|
"Query Notified Person": "Query Notified Person",
|
|
218
219
|
"Query record": "Query record",
|
|
219
220
|
"Query result": "Query result",
|
|
220
221
|
"Queueing": "Queueing",
|
|
222
|
+
"Quick Launch": "Quick Launch",
|
|
221
223
|
"ReSubmit": "ReSubmit",
|
|
224
|
+
"Receipt category": "凭证类型",
|
|
222
225
|
"Reject": "Reject",
|
|
223
226
|
"Rejected": "Rejected",
|
|
224
227
|
"Related approvals": "Related approvals",
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -253,6 +253,7 @@
|
|
|
253
253
|
"Please add at least one condition": "请添加至少一个条件",
|
|
254
254
|
"Please select collection first": "请先选择数据表",
|
|
255
255
|
"Please select the associated fields that need to be accessed in subsequent nodes. With more than two levels of to-many associations may cause performance issue, please use with caution.": "请选中需要在后续节点中被访问的关系字段。超过两层的对多关联可能会导致性能问题,请谨慎使用。",
|
|
256
|
+
"Please select the receipt category": "请选择凭证类型",
|
|
256
257
|
"Preload associations": "预加载关联数据",
|
|
257
258
|
"Processed": "已处理",
|
|
258
259
|
"Processing": "处理中",
|
|
@@ -262,7 +263,9 @@
|
|
|
262
263
|
"Query records from a collection. You can use variables from upstream nodes as query conditions.": "查询一个数据表中的数据。可以使用上游节点里的变量作为查询条件。",
|
|
263
264
|
"Query result": "查询结果",
|
|
264
265
|
"Queueing": "队列中",
|
|
266
|
+
"Quick Launch": "快速发起",
|
|
265
267
|
"ReSubmit": "重新提交",
|
|
268
|
+
"Receipt category": "凭证类型",
|
|
266
269
|
"Reject": "否决",
|
|
267
270
|
"Rejected": "否决",
|
|
268
271
|
"Rejected from a manual node.": "被人工节点拒绝继续。",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/plugin-workflow-approval",
|
|
3
3
|
"displayName": "Approval",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.22",
|
|
5
5
|
"description": "Approval base in Workflow",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Approval",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"main": "dist/server/index.js",
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@ant-design/icons": "^6.1.0",
|
|
22
|
-
"@tachybase/schema": "1.6.
|
|
23
|
-
"@tachybase/test": "1.6.
|
|
24
|
-
"@tego/client": "1.6.
|
|
25
|
-
"@tego/server": "1.6.
|
|
22
|
+
"@tachybase/schema": "1.6.13",
|
|
23
|
+
"@tachybase/test": "1.6.13",
|
|
24
|
+
"@tego/client": "1.6.13",
|
|
25
|
+
"@tego/server": "1.6.13",
|
|
26
26
|
"@types/file-saver": "^2.0.7",
|
|
27
27
|
"@types/lodash": "^4.17.20",
|
|
28
28
|
"ahooks": "^3.9.0",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"react-i18next": "16.2.1",
|
|
37
37
|
"react-router-dom": "6.28.1",
|
|
38
38
|
"sequelize": "6.37.5",
|
|
39
|
-
"@tachybase/
|
|
40
|
-
"@tachybase/
|
|
41
|
-
"@tachybase/module-ui-schema": "1.6.
|
|
39
|
+
"@tachybase/client": "1.6.22",
|
|
40
|
+
"@tachybase/module-workflow": "1.6.22",
|
|
41
|
+
"@tachybase/module-ui-schema": "1.6.22"
|
|
42
42
|
},
|
|
43
43
|
"description.zh-CN": "审批系统是一个强大的BPM工具,为业务流程自动化提供基础支持,同时具备高度灵活性和可扩展性,确保审批流程的效率和合规性,助力企业释放创新潜力。",
|
|
44
44
|
"displayName.zh-CN": "审批"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|