@leadal/flowstream-ui-plus 0.0.4 → 0.0.6

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/index.d.ts CHANGED
@@ -86,10 +86,17 @@ export declare interface Assignee {
86
86
  [key: string]: unknown;
87
87
  }
88
88
 
89
- /**
90
- * 查询下一节点办理人时附加到 assignment/event/query 的业务路由参数。
91
- * 流程定义、节点、当前用户和懒加载父节点字段始终由组件维护。
92
- */
89
+ /** /server/assignment/event/query 请求参数。 */
90
+ export declare interface AssignmentQueryArgs {
91
+ processDefinitionId: string;
92
+ activityId: string;
93
+ parentId: string;
94
+ ntype: string;
95
+ userId: string;
96
+ extendParams: AssignmentQueryParams;
97
+ }
98
+
99
+ /** 查询办理人时转发给扩展路由 apiUrl 的业务参数。 */
93
100
  export declare type AssignmentQueryParams = Record<string, unknown>;
94
101
 
95
102
  export declare const claimTask: (data: {
@@ -202,9 +209,7 @@ export declare const flowApi: {
202
209
  sendTask: (data: FlowTaskSendData) => Promise<ApiResponse<unknown>>;
203
210
  getFirstHandleNodes: (data: FirstHandleNodesGetArgs) => Promise<ApiResponse<FlowNode[]>>;
204
211
  flowStartNodeList: (data: FirstHandleNodesGetArgs) => Promise<ApiResponse<FlowNode[]>>;
205
- nodeAssistant: (data: {
206
- [x: string]: unknown;
207
- }) => Promise<ApiResponse<unknown>>;
212
+ nodeAssistant: (data: AssignmentQueryArgs) => Promise<ApiResponse<unknown>>;
208
213
  organUserTree: (parentId?: Id) => Promise<ApiResponse<unknown>>;
209
214
  nextSendNode: (data: {
210
215
  [x: string]: unknown;
@@ -479,6 +484,14 @@ name: string;
479
484
  label: string;
480
485
  };
481
486
  }): any;
487
+ append?(_: {
488
+ actions: {
489
+ [x: string]: unknown;
490
+ name: string;
491
+ label: string;
492
+ }[];
493
+ loading: boolean;
494
+ }): any;
482
495
  };
483
496
  })>;
484
497
 
@@ -1008,6 +1021,7 @@ id?: Id;
1008
1021
  userId?: Id;
1009
1022
  name?: string;
1010
1023
  };
1024
+ assignmentQueryParams?: AssignmentQueryParams;
1011
1025
  modelValue?: boolean;
1012
1026
  showTrigger?: boolean;
1013
1027
  dialogTitle?: string;
@@ -1080,6 +1094,7 @@ error: (error: unknown) => any;
1080
1094
  }, PublicProps, {
1081
1095
  dialogTitle: string;
1082
1096
  dialogWidth: string;
1097
+ assignmentQueryParams: AssignmentQueryParams;
1083
1098
  workId: Id;
1084
1099
  processInstanceId: Id;
1085
1100
  dealUser: {
@@ -1107,6 +1122,7 @@ id?: Id;
1107
1122
  userId?: Id;
1108
1123
  name?: string;
1109
1124
  };
1125
+ assignmentQueryParams?: AssignmentQueryParams;
1110
1126
  modelValue?: boolean;
1111
1127
  showTrigger?: boolean;
1112
1128
  dialogTitle?: string;
@@ -1171,6 +1187,7 @@ jump: (formData?: Record<string, unknown>) => Promise<ApiResponse<unknown>>;
1171
1187
  }, {}, {}, {}, {
1172
1188
  dialogTitle: string;
1173
1189
  dialogWidth: string;
1190
+ assignmentQueryParams: AssignmentQueryParams;
1174
1191
  workId: Id;
1175
1192
  processInstanceId: Id;
1176
1193
  dealUser: {
@@ -1195,6 +1212,7 @@ id?: Id;
1195
1212
  userId?: Id;
1196
1213
  name?: string;
1197
1214
  };
1215
+ assignmentQueryParams?: AssignmentQueryParams;
1198
1216
  modelValue?: boolean;
1199
1217
  showTrigger?: boolean;
1200
1218
  dialogTitle?: string;
@@ -1267,6 +1285,7 @@ error: (error: unknown) => any;
1267
1285
  }, string, {
1268
1286
  dialogTitle: string;
1269
1287
  dialogWidth: string;
1288
+ assignmentQueryParams: AssignmentQueryParams;
1270
1289
  workId: Id;
1271
1290
  processInstanceId: Id;
1272
1291
  dealUser: {
@@ -14335,7 +14354,7 @@ export declare const LeadalFlowVue3: ObjectPlugin<any[]> & {
14335
14354
 
14336
14355
  export declare const nextSendNode: (data: Data) => Promise<ApiResponse<unknown>>;
14337
14356
 
14338
- export declare const nodeAssistant: (data: Data) => Promise<ApiResponse<unknown>>;
14357
+ export declare const nodeAssistant: (data: AssignmentQueryArgs) => Promise<ApiResponse<unknown>>;
14339
14358
 
14340
14359
  export declare const organUserTree: (parentId?: Id) => Promise<ApiResponse<unknown>>;
14341
14360