@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.
@@ -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-read-pretty': boolean;
274
- default: boolean;
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;