@nocobase/plugin-flow-engine 2.1.0-alpha.18 → 2.1.0-alpha.19
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/externalVersion.js +11 -11
- package/dist/node_modules/ses/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/flow-surfaces/action-scope.js +3 -1
- package/dist/server/flow-surfaces/apply/compiler.js +84 -5
- package/dist/server/flow-surfaces/approval/blueprint-service.d.ts +84 -0
- package/dist/server/flow-surfaces/approval/blueprint-service.js +589 -0
- package/dist/server/flow-surfaces/approval/blueprint.d.ts +21 -0
- package/dist/server/flow-surfaces/approval/blueprint.js +190 -0
- package/dist/server/flow-surfaces/approval/builder.d.ts +225 -0
- package/dist/server/flow-surfaces/approval/builder.js +384 -0
- package/dist/server/flow-surfaces/approval/catalog-specs.d.ts +33 -0
- package/dist/server/flow-surfaces/approval/catalog-specs.js +156 -0
- package/dist/server/flow-surfaces/approval/index.d.ts +14 -0
- package/dist/server/flow-surfaces/approval/index.js +40 -0
- package/dist/server/flow-surfaces/approval/runtime-config.d.ts +44 -0
- package/dist/server/flow-surfaces/approval/runtime-config.js +299 -0
- package/dist/server/flow-surfaces/approval/semantic-use.d.ts +23 -0
- package/dist/server/flow-surfaces/approval/semantic-use.js +155 -0
- package/dist/server/flow-surfaces/blueprint/compile-blocks.js +36 -2
- package/dist/server/flow-surfaces/blueprint/public-types.d.ts +7 -0
- package/dist/server/flow-surfaces/builder.d.ts +2 -0
- package/dist/server/flow-surfaces/builder.js +83 -10
- package/dist/server/flow-surfaces/catalog.d.ts +10 -0
- package/dist/server/flow-surfaces/catalog.js +368 -9
- package/dist/server/flow-surfaces/chart-config.d.ts +1 -1
- package/dist/server/flow-surfaces/compose-compiler.d.ts +1 -0
- package/dist/server/flow-surfaces/compose-compiler.js +2 -1
- package/dist/server/flow-surfaces/configure-options.js +61 -3
- package/dist/server/flow-surfaces/constants.d.ts +342 -5
- package/dist/server/flow-surfaces/constants.js +59 -125
- package/dist/server/flow-surfaces/default-action-popup.d.ts +1 -0
- package/dist/server/flow-surfaces/default-action-popup.js +6 -2
- package/dist/server/flow-surfaces/field-semantics.js +2 -1
- package/dist/server/flow-surfaces/index.js +21 -273
- package/dist/server/flow-surfaces/locator.js +8 -6
- package/dist/server/flow-surfaces/node-use-sets.js +15 -3
- package/dist/server/flow-surfaces/placement.js +11 -7
- package/dist/server/flow-surfaces/planning/action-specs.d.ts +1 -1
- package/dist/server/flow-surfaces/planning/compiler.d.ts +1 -1
- package/dist/server/flow-surfaces/planning/key-kind.js +7 -5
- package/dist/server/flow-surfaces/reaction/registry.d.ts +13 -0
- package/dist/server/flow-surfaces/reaction/registry.js +13 -0
- package/dist/server/flow-surfaces/service-utils.d.ts +10 -14
- package/dist/server/flow-surfaces/service-utils.js +4 -2
- package/dist/server/flow-surfaces/service.d.ts +63 -1
- package/dist/server/flow-surfaces/service.js +1058 -109
- package/dist/server/flow-surfaces/surface-context.d.ts +1 -0
- package/dist/server/flow-surfaces/surface-context.js +99 -19
- package/dist/server/flow-surfaces/types.d.ts +4 -1
- package/dist/swagger/flow-surfaces.d.ts +406 -2
- package/dist/swagger/flow-surfaces.examples.d.ts +164 -0
- package/dist/swagger/flow-surfaces.examples.js +184 -0
- package/dist/swagger/flow-surfaces.js +390 -76
- package/dist/swagger/index.d.ts +406 -2
- package/package.json +2 -2
|
@@ -206,9 +206,163 @@ declare const _default: {
|
|
|
206
206
|
$ref: string;
|
|
207
207
|
}[];
|
|
208
208
|
};
|
|
209
|
+
FlowSurfacePopupSaveAsTemplate: {
|
|
210
|
+
type: string;
|
|
211
|
+
required: string[];
|
|
212
|
+
properties: {
|
|
213
|
+
name: {
|
|
214
|
+
type: string;
|
|
215
|
+
description: string;
|
|
216
|
+
};
|
|
217
|
+
description: {
|
|
218
|
+
type: string;
|
|
219
|
+
description: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
additionalProperties: boolean;
|
|
223
|
+
};
|
|
224
|
+
FlowSurfaceRequestPopupTemplateRef: {
|
|
225
|
+
type: string;
|
|
226
|
+
oneOf: {
|
|
227
|
+
required: string[];
|
|
228
|
+
}[];
|
|
229
|
+
properties: {
|
|
230
|
+
uid: {
|
|
231
|
+
type: string;
|
|
232
|
+
description: string;
|
|
233
|
+
};
|
|
234
|
+
local: {
|
|
235
|
+
type: string;
|
|
236
|
+
description: string;
|
|
237
|
+
};
|
|
238
|
+
mode: {
|
|
239
|
+
type: string;
|
|
240
|
+
enum: string[];
|
|
241
|
+
default: string;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
additionalProperties: boolean;
|
|
245
|
+
};
|
|
246
|
+
FlowSurfaceRequestPopupSaveAsTemplate: {
|
|
247
|
+
type: string;
|
|
248
|
+
required: string[];
|
|
249
|
+
properties: {
|
|
250
|
+
name: {
|
|
251
|
+
type: string;
|
|
252
|
+
description: string;
|
|
253
|
+
};
|
|
254
|
+
description: {
|
|
255
|
+
type: string;
|
|
256
|
+
description: string;
|
|
257
|
+
};
|
|
258
|
+
local: {
|
|
259
|
+
type: string;
|
|
260
|
+
description: string;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
additionalProperties: boolean;
|
|
264
|
+
};
|
|
265
|
+
FlowSurfaceComposeRequestActionPopup: {
|
|
266
|
+
type: string;
|
|
267
|
+
anyOf: ({
|
|
268
|
+
required: string[];
|
|
269
|
+
anyOf?: undefined;
|
|
270
|
+
} | {
|
|
271
|
+
anyOf: {
|
|
272
|
+
required: string[];
|
|
273
|
+
}[];
|
|
274
|
+
required?: undefined;
|
|
275
|
+
})[];
|
|
276
|
+
properties: {
|
|
277
|
+
title: {
|
|
278
|
+
type: string;
|
|
279
|
+
};
|
|
280
|
+
template: {
|
|
281
|
+
$ref: string;
|
|
282
|
+
};
|
|
283
|
+
tryTemplate: {
|
|
284
|
+
type: string;
|
|
285
|
+
description: string;
|
|
286
|
+
};
|
|
287
|
+
defaultType: {
|
|
288
|
+
type: string;
|
|
289
|
+
enum: string[];
|
|
290
|
+
description: string;
|
|
291
|
+
};
|
|
292
|
+
saveAsTemplate: {
|
|
293
|
+
allOf: {
|
|
294
|
+
$ref: string;
|
|
295
|
+
}[];
|
|
296
|
+
description: string;
|
|
297
|
+
};
|
|
298
|
+
mode: {
|
|
299
|
+
type: string;
|
|
300
|
+
enum: string[];
|
|
301
|
+
};
|
|
302
|
+
blocks: {
|
|
303
|
+
type: string;
|
|
304
|
+
items: {
|
|
305
|
+
$ref: string;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
layout: {
|
|
309
|
+
$ref: string;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
additionalProperties: boolean;
|
|
313
|
+
};
|
|
314
|
+
FlowSurfaceComposeRequestFieldPopup: {
|
|
315
|
+
type: string;
|
|
316
|
+
anyOf: ({
|
|
317
|
+
required: string[];
|
|
318
|
+
anyOf?: undefined;
|
|
319
|
+
} | {
|
|
320
|
+
anyOf: {
|
|
321
|
+
required: string[];
|
|
322
|
+
}[];
|
|
323
|
+
required?: undefined;
|
|
324
|
+
})[];
|
|
325
|
+
properties: {
|
|
326
|
+
title: {
|
|
327
|
+
type: string;
|
|
328
|
+
};
|
|
329
|
+
template: {
|
|
330
|
+
$ref: string;
|
|
331
|
+
};
|
|
332
|
+
tryTemplate: {
|
|
333
|
+
type: string;
|
|
334
|
+
description: string;
|
|
335
|
+
};
|
|
336
|
+
defaultType: {
|
|
337
|
+
type: string;
|
|
338
|
+
enum: string[];
|
|
339
|
+
description: string;
|
|
340
|
+
};
|
|
341
|
+
saveAsTemplate: {
|
|
342
|
+
allOf: {
|
|
343
|
+
$ref: string;
|
|
344
|
+
}[];
|
|
345
|
+
description: string;
|
|
346
|
+
};
|
|
347
|
+
mode: {
|
|
348
|
+
type: string;
|
|
349
|
+
enum: string[];
|
|
350
|
+
};
|
|
351
|
+
blocks: {
|
|
352
|
+
type: string;
|
|
353
|
+
items: {
|
|
354
|
+
$ref: string;
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
layout: {
|
|
358
|
+
$ref: string;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
additionalProperties: boolean;
|
|
362
|
+
};
|
|
209
363
|
FlowSurfaceComposeActionPopup: {
|
|
210
364
|
type: string;
|
|
211
|
-
|
|
365
|
+
anyOf: ({
|
|
212
366
|
required: string[];
|
|
213
367
|
anyOf?: undefined;
|
|
214
368
|
} | {
|
|
@@ -218,9 +372,22 @@ declare const _default: {
|
|
|
218
372
|
required?: undefined;
|
|
219
373
|
})[];
|
|
220
374
|
properties: {
|
|
375
|
+
title: {
|
|
376
|
+
type: string;
|
|
377
|
+
};
|
|
221
378
|
template: {
|
|
222
379
|
$ref: string;
|
|
223
380
|
};
|
|
381
|
+
tryTemplate: {
|
|
382
|
+
type: string;
|
|
383
|
+
description: string;
|
|
384
|
+
};
|
|
385
|
+
saveAsTemplate: {
|
|
386
|
+
allOf: {
|
|
387
|
+
$ref: string;
|
|
388
|
+
}[];
|
|
389
|
+
description: string;
|
|
390
|
+
};
|
|
224
391
|
mode: {
|
|
225
392
|
type: string;
|
|
226
393
|
enum: string[];
|
|
@@ -239,7 +406,7 @@ declare const _default: {
|
|
|
239
406
|
};
|
|
240
407
|
FlowSurfaceComposeFieldPopup: {
|
|
241
408
|
type: string;
|
|
242
|
-
|
|
409
|
+
anyOf: ({
|
|
243
410
|
required: string[];
|
|
244
411
|
anyOf?: undefined;
|
|
245
412
|
} | {
|
|
@@ -249,9 +416,27 @@ declare const _default: {
|
|
|
249
416
|
required?: undefined;
|
|
250
417
|
})[];
|
|
251
418
|
properties: {
|
|
419
|
+
title: {
|
|
420
|
+
type: string;
|
|
421
|
+
};
|
|
252
422
|
template: {
|
|
253
423
|
$ref: string;
|
|
254
424
|
};
|
|
425
|
+
tryTemplate: {
|
|
426
|
+
type: string;
|
|
427
|
+
description: string;
|
|
428
|
+
};
|
|
429
|
+
defaultType: {
|
|
430
|
+
type: string;
|
|
431
|
+
enum: string[];
|
|
432
|
+
description: string;
|
|
433
|
+
};
|
|
434
|
+
saveAsTemplate: {
|
|
435
|
+
allOf: {
|
|
436
|
+
$ref: string;
|
|
437
|
+
}[];
|
|
438
|
+
description: string;
|
|
439
|
+
};
|
|
255
440
|
mode: {
|
|
256
441
|
type: string;
|
|
257
442
|
enum: string[];
|
|
@@ -296,6 +481,36 @@ declare const _default: {
|
|
|
296
481
|
additionalProperties: boolean;
|
|
297
482
|
})[];
|
|
298
483
|
};
|
|
484
|
+
FlowSurfaceApprovalBlueprintActionSpec: {
|
|
485
|
+
oneOf: ({
|
|
486
|
+
type: string;
|
|
487
|
+
enum: string[];
|
|
488
|
+
required?: undefined;
|
|
489
|
+
properties?: undefined;
|
|
490
|
+
additionalProperties?: undefined;
|
|
491
|
+
} | {
|
|
492
|
+
type: string;
|
|
493
|
+
required: string[];
|
|
494
|
+
properties: {
|
|
495
|
+
key: {
|
|
496
|
+
type: string;
|
|
497
|
+
};
|
|
498
|
+
type: {
|
|
499
|
+
type: string;
|
|
500
|
+
enum: string[];
|
|
501
|
+
};
|
|
502
|
+
settings: {
|
|
503
|
+
type: string;
|
|
504
|
+
additionalProperties: boolean;
|
|
505
|
+
};
|
|
506
|
+
popup: {
|
|
507
|
+
$ref: string;
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
additionalProperties: boolean;
|
|
511
|
+
enum?: undefined;
|
|
512
|
+
})[];
|
|
513
|
+
};
|
|
299
514
|
FlowSurfaceComposeRecordActionSpec: {
|
|
300
515
|
oneOf: ({
|
|
301
516
|
type: string;
|
|
@@ -371,6 +586,39 @@ declare const _default: {
|
|
|
371
586
|
};
|
|
372
587
|
additionalProperties: boolean;
|
|
373
588
|
};
|
|
589
|
+
FlowSurfaceApprovalBlueprintBlockSpec: {
|
|
590
|
+
type: string;
|
|
591
|
+
required: string[];
|
|
592
|
+
properties: {
|
|
593
|
+
key: {
|
|
594
|
+
type: string;
|
|
595
|
+
};
|
|
596
|
+
type: {
|
|
597
|
+
type: string;
|
|
598
|
+
enum: string[];
|
|
599
|
+
};
|
|
600
|
+
resource: {
|
|
601
|
+
$ref: string;
|
|
602
|
+
};
|
|
603
|
+
settings: {
|
|
604
|
+
type: string;
|
|
605
|
+
additionalProperties: boolean;
|
|
606
|
+
};
|
|
607
|
+
fields: {
|
|
608
|
+
type: string;
|
|
609
|
+
items: {
|
|
610
|
+
$ref: string;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
actions: {
|
|
614
|
+
type: string;
|
|
615
|
+
items: {
|
|
616
|
+
$ref: string;
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
additionalProperties: boolean;
|
|
621
|
+
};
|
|
374
622
|
FlowSurfaceComposeRequest: {
|
|
375
623
|
type: string;
|
|
376
624
|
required: string[];
|
|
@@ -1705,6 +1953,21 @@ declare const _default: {
|
|
|
1705
1953
|
template: {
|
|
1706
1954
|
$ref: string;
|
|
1707
1955
|
};
|
|
1956
|
+
tryTemplate: {
|
|
1957
|
+
type: string;
|
|
1958
|
+
description: string;
|
|
1959
|
+
};
|
|
1960
|
+
defaultType: {
|
|
1961
|
+
type: string;
|
|
1962
|
+
enum: string[];
|
|
1963
|
+
description: string;
|
|
1964
|
+
};
|
|
1965
|
+
saveAsTemplate: {
|
|
1966
|
+
allOf: {
|
|
1967
|
+
$ref: string;
|
|
1968
|
+
}[];
|
|
1969
|
+
description: string;
|
|
1970
|
+
};
|
|
1708
1971
|
blocks: {
|
|
1709
1972
|
type: string;
|
|
1710
1973
|
description: string;
|
|
@@ -2116,6 +2379,123 @@ declare const _default: {
|
|
|
2116
2379
|
};
|
|
2117
2380
|
additionalProperties: boolean;
|
|
2118
2381
|
};
|
|
2382
|
+
FlowSurfaceApprovalBlueprintSurface: {
|
|
2383
|
+
type: string;
|
|
2384
|
+
enum: string[];
|
|
2385
|
+
};
|
|
2386
|
+
FlowSurfaceApplyApprovalBlueprintBinding: {
|
|
2387
|
+
type: string;
|
|
2388
|
+
required: string[];
|
|
2389
|
+
properties: {
|
|
2390
|
+
resourceName: {
|
|
2391
|
+
type: string;
|
|
2392
|
+
enum: string[];
|
|
2393
|
+
};
|
|
2394
|
+
filterByTk: {
|
|
2395
|
+
oneOf: {
|
|
2396
|
+
type: string;
|
|
2397
|
+
}[];
|
|
2398
|
+
};
|
|
2399
|
+
configPath: {
|
|
2400
|
+
type: string;
|
|
2401
|
+
};
|
|
2402
|
+
};
|
|
2403
|
+
additionalProperties: boolean;
|
|
2404
|
+
};
|
|
2405
|
+
FlowSurfaceApplyApprovalBlueprintTarget: {
|
|
2406
|
+
type: string;
|
|
2407
|
+
required: string[];
|
|
2408
|
+
properties: {
|
|
2409
|
+
uid: {
|
|
2410
|
+
type: string;
|
|
2411
|
+
};
|
|
2412
|
+
workflowId: {
|
|
2413
|
+
oneOf: {
|
|
2414
|
+
type: string;
|
|
2415
|
+
}[];
|
|
2416
|
+
};
|
|
2417
|
+
nodeId: {
|
|
2418
|
+
oneOf: {
|
|
2419
|
+
type: string;
|
|
2420
|
+
}[];
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
additionalProperties: boolean;
|
|
2424
|
+
};
|
|
2425
|
+
FlowSurfaceApplyApprovalBlueprintRequest: {
|
|
2426
|
+
type: string;
|
|
2427
|
+
required: string[];
|
|
2428
|
+
description: string;
|
|
2429
|
+
properties: {
|
|
2430
|
+
version: {
|
|
2431
|
+
type: string;
|
|
2432
|
+
enum: string[];
|
|
2433
|
+
};
|
|
2434
|
+
mode: {
|
|
2435
|
+
type: string;
|
|
2436
|
+
enum: string[];
|
|
2437
|
+
default: string;
|
|
2438
|
+
};
|
|
2439
|
+
surface: {
|
|
2440
|
+
$ref: string;
|
|
2441
|
+
};
|
|
2442
|
+
workflowId: {
|
|
2443
|
+
oneOf: {
|
|
2444
|
+
type: string;
|
|
2445
|
+
}[];
|
|
2446
|
+
};
|
|
2447
|
+
nodeId: {
|
|
2448
|
+
oneOf: {
|
|
2449
|
+
type: string;
|
|
2450
|
+
}[];
|
|
2451
|
+
};
|
|
2452
|
+
blocks: {
|
|
2453
|
+
type: string;
|
|
2454
|
+
items: {
|
|
2455
|
+
$ref: string;
|
|
2456
|
+
};
|
|
2457
|
+
description: string;
|
|
2458
|
+
};
|
|
2459
|
+
fields: {
|
|
2460
|
+
type: string;
|
|
2461
|
+
items: {
|
|
2462
|
+
$ref: string;
|
|
2463
|
+
};
|
|
2464
|
+
description: string;
|
|
2465
|
+
};
|
|
2466
|
+
layout: {
|
|
2467
|
+
$ref: string;
|
|
2468
|
+
};
|
|
2469
|
+
};
|
|
2470
|
+
additionalProperties: boolean;
|
|
2471
|
+
};
|
|
2472
|
+
FlowSurfaceApplyApprovalBlueprintResponse: {
|
|
2473
|
+
type: string;
|
|
2474
|
+
required: string[];
|
|
2475
|
+
properties: {
|
|
2476
|
+
version: {
|
|
2477
|
+
type: string;
|
|
2478
|
+
enum: string[];
|
|
2479
|
+
};
|
|
2480
|
+
mode: {
|
|
2481
|
+
type: string;
|
|
2482
|
+
enum: string[];
|
|
2483
|
+
};
|
|
2484
|
+
surfaceType: {
|
|
2485
|
+
$ref: string;
|
|
2486
|
+
};
|
|
2487
|
+
target: {
|
|
2488
|
+
$ref: string;
|
|
2489
|
+
};
|
|
2490
|
+
binding: {
|
|
2491
|
+
$ref: string;
|
|
2492
|
+
};
|
|
2493
|
+
surface: {
|
|
2494
|
+
$ref: string;
|
|
2495
|
+
};
|
|
2496
|
+
};
|
|
2497
|
+
additionalProperties: boolean;
|
|
2498
|
+
};
|
|
2119
2499
|
FlowSurfaceConfigureRequest: {
|
|
2120
2500
|
type: string;
|
|
2121
2501
|
required: string[];
|
|
@@ -4953,6 +5333,9 @@ declare const _default: {
|
|
|
4953
5333
|
use: {
|
|
4954
5334
|
type: string;
|
|
4955
5335
|
};
|
|
5336
|
+
popup: {
|
|
5337
|
+
$ref: string;
|
|
5338
|
+
};
|
|
4956
5339
|
props: {
|
|
4957
5340
|
type: string;
|
|
4958
5341
|
additionalProperties: boolean;
|
|
@@ -4985,9 +5368,30 @@ declare const _default: {
|
|
|
4985
5368
|
};
|
|
4986
5369
|
additionalProperties: boolean;
|
|
4987
5370
|
};
|
|
5371
|
+
FlowSurfaceApplyNodePopup: {
|
|
5372
|
+
type: string;
|
|
5373
|
+
properties: {
|
|
5374
|
+
template: {
|
|
5375
|
+
$ref: string;
|
|
5376
|
+
};
|
|
5377
|
+
tryTemplate: {
|
|
5378
|
+
type: string;
|
|
5379
|
+
description: string;
|
|
5380
|
+
};
|
|
5381
|
+
defaultType: {
|
|
5382
|
+
type: string;
|
|
5383
|
+
enum: string[];
|
|
5384
|
+
description: string;
|
|
5385
|
+
};
|
|
5386
|
+
};
|
|
5387
|
+
additionalProperties: boolean;
|
|
5388
|
+
};
|
|
4988
5389
|
FlowSurfaceApplySpec: {
|
|
4989
5390
|
type: string;
|
|
4990
5391
|
properties: {
|
|
5392
|
+
popup: {
|
|
5393
|
+
$ref: string;
|
|
5394
|
+
};
|
|
4991
5395
|
props: {
|
|
4992
5396
|
type: string;
|
|
4993
5397
|
additionalProperties: boolean;
|
|
@@ -155,6 +155,71 @@ export declare const flowSurfaceExamples: {
|
|
|
155
155
|
}[];
|
|
156
156
|
}[];
|
|
157
157
|
};
|
|
158
|
+
applyApprovalBlueprintInitiator: {
|
|
159
|
+
version: string;
|
|
160
|
+
surface: string;
|
|
161
|
+
workflowId: number;
|
|
162
|
+
blocks: {
|
|
163
|
+
key: string;
|
|
164
|
+
type: string;
|
|
165
|
+
resource: {
|
|
166
|
+
dataSourceKey: string;
|
|
167
|
+
collectionName: string;
|
|
168
|
+
};
|
|
169
|
+
fields: string[];
|
|
170
|
+
actions: string[];
|
|
171
|
+
}[];
|
|
172
|
+
layout: {
|
|
173
|
+
rows: string[][];
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
applyApprovalBlueprintApprover: {
|
|
177
|
+
version: string;
|
|
178
|
+
surface: string;
|
|
179
|
+
nodeId: number;
|
|
180
|
+
blocks: ({
|
|
181
|
+
key: string;
|
|
182
|
+
type: string;
|
|
183
|
+
resource: {
|
|
184
|
+
dataSourceKey: string;
|
|
185
|
+
collectionName: string;
|
|
186
|
+
};
|
|
187
|
+
fields: string[];
|
|
188
|
+
actions: (string | {
|
|
189
|
+
type: string;
|
|
190
|
+
settings: {
|
|
191
|
+
approvalReturn: {
|
|
192
|
+
type: string;
|
|
193
|
+
count: number;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
})[];
|
|
197
|
+
} | {
|
|
198
|
+
key: string;
|
|
199
|
+
type: string;
|
|
200
|
+
resource: {
|
|
201
|
+
dataSourceKey: string;
|
|
202
|
+
collectionName: string;
|
|
203
|
+
};
|
|
204
|
+
fields: string[];
|
|
205
|
+
actions?: undefined;
|
|
206
|
+
})[];
|
|
207
|
+
layout: {
|
|
208
|
+
rows: string[][];
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
applyApprovalBlueprintTaskCard: {
|
|
212
|
+
version: string;
|
|
213
|
+
surface: string;
|
|
214
|
+
nodeId: number;
|
|
215
|
+
fields: {
|
|
216
|
+
key: string;
|
|
217
|
+
fieldPath: string;
|
|
218
|
+
}[];
|
|
219
|
+
layout: {
|
|
220
|
+
rows: string[][];
|
|
221
|
+
};
|
|
222
|
+
};
|
|
158
223
|
setFieldValueRules: {
|
|
159
224
|
target: {
|
|
160
225
|
uid: string;
|
|
@@ -840,6 +905,44 @@ export declare const flowSurfaceExamples: {
|
|
|
840
905
|
};
|
|
841
906
|
};
|
|
842
907
|
};
|
|
908
|
+
addFieldAutoPopupTemplate: {
|
|
909
|
+
target: {
|
|
910
|
+
uid: string;
|
|
911
|
+
};
|
|
912
|
+
fieldPath: string;
|
|
913
|
+
popup: {
|
|
914
|
+
tryTemplate: boolean;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
addFieldDefaultEditPopup: {
|
|
918
|
+
target: {
|
|
919
|
+
uid: string;
|
|
920
|
+
};
|
|
921
|
+
fieldPath: string;
|
|
922
|
+
popup: {
|
|
923
|
+
defaultType: string;
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
addFieldSavePopupTemplate: {
|
|
927
|
+
target: {
|
|
928
|
+
uid: string;
|
|
929
|
+
};
|
|
930
|
+
fieldPath: string;
|
|
931
|
+
popup: {
|
|
932
|
+
blocks: {
|
|
933
|
+
key: string;
|
|
934
|
+
type: string;
|
|
935
|
+
resource: {
|
|
936
|
+
binding: string;
|
|
937
|
+
};
|
|
938
|
+
fields: string[];
|
|
939
|
+
}[];
|
|
940
|
+
saveAsTemplate: {
|
|
941
|
+
name: string;
|
|
942
|
+
description: string;
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
};
|
|
843
946
|
addAction: {
|
|
844
947
|
target: {
|
|
845
948
|
uid: string;
|
|
@@ -859,6 +962,35 @@ export declare const flowSurfaceExamples: {
|
|
|
859
962
|
title: string;
|
|
860
963
|
};
|
|
861
964
|
};
|
|
965
|
+
addAutoPopupAction: {
|
|
966
|
+
target: {
|
|
967
|
+
uid: string;
|
|
968
|
+
};
|
|
969
|
+
type: string;
|
|
970
|
+
popup: {
|
|
971
|
+
tryTemplate: boolean;
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
addSavePopupAction: {
|
|
975
|
+
target: {
|
|
976
|
+
uid: string;
|
|
977
|
+
};
|
|
978
|
+
type: string;
|
|
979
|
+
popup: {
|
|
980
|
+
blocks: {
|
|
981
|
+
key: string;
|
|
982
|
+
type: string;
|
|
983
|
+
resource: {
|
|
984
|
+
binding: string;
|
|
985
|
+
};
|
|
986
|
+
fields: string[];
|
|
987
|
+
}[];
|
|
988
|
+
saveAsTemplate: {
|
|
989
|
+
name: string;
|
|
990
|
+
description: string;
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
};
|
|
862
994
|
addJsAction: {
|
|
863
995
|
target: {
|
|
864
996
|
uid: string;
|
|
@@ -909,6 +1041,35 @@ export declare const flowSurfaceExamples: {
|
|
|
909
1041
|
}[];
|
|
910
1042
|
};
|
|
911
1043
|
};
|
|
1044
|
+
addRecordAutoPopupTemplate: {
|
|
1045
|
+
target: {
|
|
1046
|
+
uid: string;
|
|
1047
|
+
};
|
|
1048
|
+
type: string;
|
|
1049
|
+
popup: {
|
|
1050
|
+
tryTemplate: boolean;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
addRecordSavePopupTemplate: {
|
|
1054
|
+
target: {
|
|
1055
|
+
uid: string;
|
|
1056
|
+
};
|
|
1057
|
+
type: string;
|
|
1058
|
+
popup: {
|
|
1059
|
+
blocks: {
|
|
1060
|
+
key: string;
|
|
1061
|
+
type: string;
|
|
1062
|
+
resource: {
|
|
1063
|
+
binding: string;
|
|
1064
|
+
};
|
|
1065
|
+
fields: string[];
|
|
1066
|
+
}[];
|
|
1067
|
+
saveAsTemplate: {
|
|
1068
|
+
name: string;
|
|
1069
|
+
description: string;
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
912
1073
|
addRecordAddChildAction: {
|
|
913
1074
|
target: {
|
|
914
1075
|
uid: string;
|
|
@@ -1213,6 +1374,9 @@ export declare const flowSurfaceExamples: {
|
|
|
1213
1374
|
};
|
|
1214
1375
|
mode: string;
|
|
1215
1376
|
spec: {
|
|
1377
|
+
popup: {
|
|
1378
|
+
tryTemplate: boolean;
|
|
1379
|
+
};
|
|
1216
1380
|
subModels: {
|
|
1217
1381
|
items: ({
|
|
1218
1382
|
clientKey: string;
|