@tachybase/plugin-workflow-approval 1.6.0 → 1.6.3
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 +9 -3
- package/dist/client/common/tools/cleanAssociationIds.d.ts +9 -0
- package/dist/client/index.js +29 -65
- package/dist/externalVersion.js +7 -7
- package/dist/locale/en-US.json +2 -1
- package/dist/locale/zh-CN.json +2 -1
- package/dist/server/actions/approvalCarbonCopy.d.ts +1 -1
- package/dist/server/actions/approvalCarbonCopy.js +7 -7
- package/dist/server/actions/approvalRecords.d.ts +2 -2
- package/dist/server/actions/approvalRecords.js +19 -19
- package/dist/server/actions/approvals.d.ts +6 -6
- package/dist/server/actions/approvals.js +61 -82
- package/dist/server/actions/index.js +1 -1
- package/dist/server/actions/workflows.d.ts +1 -1
- package/dist/server/actions/workflows.js +3 -3
- package/dist/server/plugin.js +0 -3
- package/dist/server/triggers/Approval.d.ts +3 -3
- package/dist/server/triggers/Approval.js +35 -21
- package/dist/server/utils.d.ts +2 -2
- package/dist/server/utils.js +4 -4
- package/package.json +9 -9
|
@@ -62,6 +62,11 @@ export declare const schemaApprovalPanne: {
|
|
|
62
62
|
'x-component': string;
|
|
63
63
|
'x-align': string;
|
|
64
64
|
};
|
|
65
|
+
statusFilter: {
|
|
66
|
+
type: string;
|
|
67
|
+
'x-component': string;
|
|
68
|
+
'x-align': string;
|
|
69
|
+
};
|
|
65
70
|
refresh: {
|
|
66
71
|
type: string;
|
|
67
72
|
title: string;
|
|
@@ -240,7 +245,6 @@ export declare const schemaApprovalPanne: {
|
|
|
240
245
|
'x-decorator': string;
|
|
241
246
|
'x-component': string;
|
|
242
247
|
'x-component-props': {
|
|
243
|
-
sorter: boolean;
|
|
244
248
|
width: number;
|
|
245
249
|
align: string;
|
|
246
250
|
};
|
|
@@ -266,12 +270,14 @@ export declare const schemaApprovalPanne: {
|
|
|
266
270
|
width: number;
|
|
267
271
|
align: string;
|
|
268
272
|
};
|
|
273
|
+
title: string;
|
|
269
274
|
properties: {
|
|
270
275
|
enabled: {
|
|
271
276
|
type: string;
|
|
272
277
|
'x-component': string;
|
|
273
|
-
'x-
|
|
274
|
-
|
|
278
|
+
'x-component-props': {
|
|
279
|
+
resource: string;
|
|
280
|
+
};
|
|
275
281
|
};
|
|
276
282
|
};
|
|
277
283
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 数据清洗工具函数:清除关联字段的 id
|
|
3
|
+
* 用于复制操作时,避免关联字段的 id 被认为是已有数据,从而被误认为是修改而不是新建
|
|
4
|
+
*
|
|
5
|
+
* @param data - 要清洗的数据对象
|
|
6
|
+
* @param collection - collection 对象(可选),用于获取字段信息以更精确地处理
|
|
7
|
+
* @returns 清洗后的数据对象
|
|
8
|
+
*/
|
|
9
|
+
export declare function cleanAssociationIds(data: any, collection?: any): any;
|