@leadal/flowstream-ui-plus 0.0.4 → 0.0.5

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;
@@ -1008,6 +1013,7 @@ id?: Id;
1008
1013
  userId?: Id;
1009
1014
  name?: string;
1010
1015
  };
1016
+ assignmentQueryParams?: AssignmentQueryParams;
1011
1017
  modelValue?: boolean;
1012
1018
  showTrigger?: boolean;
1013
1019
  dialogTitle?: string;
@@ -1080,6 +1086,7 @@ error: (error: unknown) => any;
1080
1086
  }, PublicProps, {
1081
1087
  dialogTitle: string;
1082
1088
  dialogWidth: string;
1089
+ assignmentQueryParams: AssignmentQueryParams;
1083
1090
  workId: Id;
1084
1091
  processInstanceId: Id;
1085
1092
  dealUser: {
@@ -1107,6 +1114,7 @@ id?: Id;
1107
1114
  userId?: Id;
1108
1115
  name?: string;
1109
1116
  };
1117
+ assignmentQueryParams?: AssignmentQueryParams;
1110
1118
  modelValue?: boolean;
1111
1119
  showTrigger?: boolean;
1112
1120
  dialogTitle?: string;
@@ -1171,6 +1179,7 @@ jump: (formData?: Record<string, unknown>) => Promise<ApiResponse<unknown>>;
1171
1179
  }, {}, {}, {}, {
1172
1180
  dialogTitle: string;
1173
1181
  dialogWidth: string;
1182
+ assignmentQueryParams: AssignmentQueryParams;
1174
1183
  workId: Id;
1175
1184
  processInstanceId: Id;
1176
1185
  dealUser: {
@@ -1195,6 +1204,7 @@ id?: Id;
1195
1204
  userId?: Id;
1196
1205
  name?: string;
1197
1206
  };
1207
+ assignmentQueryParams?: AssignmentQueryParams;
1198
1208
  modelValue?: boolean;
1199
1209
  showTrigger?: boolean;
1200
1210
  dialogTitle?: string;
@@ -1267,6 +1277,7 @@ error: (error: unknown) => any;
1267
1277
  }, string, {
1268
1278
  dialogTitle: string;
1269
1279
  dialogWidth: string;
1280
+ assignmentQueryParams: AssignmentQueryParams;
1270
1281
  workId: Id;
1271
1282
  processInstanceId: Id;
1272
1283
  dealUser: {
@@ -14335,7 +14346,7 @@ export declare const LeadalFlowVue3: ObjectPlugin<any[]> & {
14335
14346
 
14336
14347
  export declare const nextSendNode: (data: Data) => Promise<ApiResponse<unknown>>;
14337
14348
 
14338
- export declare const nodeAssistant: (data: Data) => Promise<ApiResponse<unknown>>;
14349
+ export declare const nodeAssistant: (data: AssignmentQueryArgs) => Promise<ApiResponse<unknown>>;
14339
14350
 
14340
14351
  export declare const organUserTree: (parentId?: Id) => Promise<ApiResponse<unknown>>;
14341
14352