@nocobase/plugin-flow-engine 2.1.0-alpha.14 → 2.1.0-alpha.16

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.
Files changed (119) hide show
  1. package/dist/externalVersion.js +10 -10
  2. package/dist/locale/en-US.json +1 -0
  3. package/dist/locale/index.d.ts +2 -0
  4. package/dist/locale/zh-CN.json +1 -0
  5. package/dist/node_modules/ses/package.json +1 -1
  6. package/dist/node_modules/zod/package.json +1 -1
  7. package/dist/server/flow-surfaces/{compiler.d.ts → apply/compiler.d.ts} +1 -10
  8. package/dist/server/flow-surfaces/{compiler.js → apply/compiler.js} +41 -280
  9. package/dist/server/flow-surfaces/apply/layout.d.ts +34 -0
  10. package/dist/server/flow-surfaces/apply/layout.js +175 -0
  11. package/dist/server/flow-surfaces/apply/matching.d.ts +16 -0
  12. package/dist/server/flow-surfaces/apply/matching.js +181 -0
  13. package/dist/server/flow-surfaces/association-title-field.d.ts +20 -0
  14. package/dist/server/flow-surfaces/association-title-field.js +158 -0
  15. package/dist/server/flow-surfaces/blueprint/compile-blocks.d.ts +14 -0
  16. package/dist/server/flow-surfaces/blueprint/compile-blocks.js +706 -0
  17. package/dist/server/flow-surfaces/blueprint/compile-plan.d.ts +13 -0
  18. package/dist/server/flow-surfaces/blueprint/compile-plan.js +308 -0
  19. package/dist/server/flow-surfaces/blueprint/compile-reaction.d.ts +11 -0
  20. package/dist/server/flow-surfaces/blueprint/compile-reaction.js +72 -0
  21. package/dist/server/flow-surfaces/blueprint/index.d.ts +12 -0
  22. package/dist/server/flow-surfaces/blueprint/index.js +44 -0
  23. package/dist/server/flow-surfaces/blueprint/normalize-document.d.ts +10 -0
  24. package/dist/server/flow-surfaces/blueprint/normalize-document.js +296 -0
  25. package/dist/server/flow-surfaces/blueprint/private-utils.d.ts +26 -0
  26. package/dist/server/flow-surfaces/blueprint/private-utils.js +182 -0
  27. package/dist/server/flow-surfaces/blueprint/public-types.d.ts +153 -0
  28. package/dist/server/flow-surfaces/blueprint/public-types.js +24 -0
  29. package/dist/server/flow-surfaces/catalog-smart.d.ts +18 -0
  30. package/dist/server/flow-surfaces/catalog-smart.js +239 -0
  31. package/dist/server/flow-surfaces/catalog-smart.projector.d.ts +15 -0
  32. package/dist/server/flow-surfaces/catalog-smart.projector.js +157 -0
  33. package/dist/server/flow-surfaces/catalog-smart.types.d.ts +99 -0
  34. package/dist/server/flow-surfaces/catalog-smart.types.js +24 -0
  35. package/dist/server/flow-surfaces/catalog.d.ts +3 -0
  36. package/dist/server/flow-surfaces/catalog.js +163 -34
  37. package/dist/server/flow-surfaces/compose-compiler.d.ts +104 -0
  38. package/dist/server/flow-surfaces/compose-compiler.js +162 -0
  39. package/dist/server/flow-surfaces/compose-runtime.d.ts +89 -0
  40. package/dist/server/flow-surfaces/compose-runtime.js +338 -0
  41. package/dist/server/flow-surfaces/configure-options.js +12 -3
  42. package/dist/server/flow-surfaces/constants.d.ts +3 -2
  43. package/dist/server/flow-surfaces/constants.js +36 -3
  44. package/dist/server/flow-surfaces/default-action-popup.d.ts +52 -0
  45. package/dist/server/flow-surfaces/default-action-popup.js +258 -0
  46. package/dist/server/flow-surfaces/executor.d.ts +10 -0
  47. package/dist/server/flow-surfaces/executor.js +59 -24
  48. package/dist/server/flow-surfaces/field-binding-registry.d.ts +23 -0
  49. package/dist/server/flow-surfaces/field-binding-registry.js +391 -0
  50. package/dist/server/flow-surfaces/field-semantics.d.ts +1 -1
  51. package/dist/server/flow-surfaces/index.js +75 -0
  52. package/dist/server/flow-surfaces/node-use-sets.d.ts +15 -0
  53. package/dist/server/flow-surfaces/node-use-sets.js +114 -0
  54. package/dist/server/flow-surfaces/payload-shape.d.ts +9 -0
  55. package/dist/server/flow-surfaces/payload-shape.js +64 -0
  56. package/dist/server/flow-surfaces/placement.js +2 -6
  57. package/dist/server/flow-surfaces/planning/action-specs.d.ts +179 -0
  58. package/dist/server/flow-surfaces/planning/action-specs.js +190 -0
  59. package/dist/server/flow-surfaces/planning/compiler.d.ts +37 -0
  60. package/dist/server/flow-surfaces/planning/compiler.js +376 -0
  61. package/dist/server/flow-surfaces/planning/context.d.ts +30 -0
  62. package/dist/server/flow-surfaces/planning/context.js +139 -0
  63. package/dist/server/flow-surfaces/planning/created-keys.d.ts +34 -0
  64. package/dist/server/flow-surfaces/planning/created-keys.js +375 -0
  65. package/dist/server/flow-surfaces/planning/key-kind.d.ts +11 -0
  66. package/dist/server/flow-surfaces/planning/key-kind.js +86 -0
  67. package/dist/server/flow-surfaces/planning/key-persistence.d.ts +34 -0
  68. package/dist/server/flow-surfaces/planning/key-persistence.js +148 -0
  69. package/dist/server/flow-surfaces/planning/key-registry.d.ts +40 -0
  70. package/dist/server/flow-surfaces/planning/key-registry.js +206 -0
  71. package/dist/server/flow-surfaces/planning/runtime.d.ts +37 -0
  72. package/dist/server/flow-surfaces/planning/runtime.js +259 -0
  73. package/dist/server/flow-surfaces/planning/step-link.d.ts +14 -0
  74. package/dist/server/flow-surfaces/planning/step-link.js +104 -0
  75. package/dist/server/flow-surfaces/planning/types.d.ts +55 -0
  76. package/dist/server/flow-surfaces/planning/types.js +24 -0
  77. package/dist/server/flow-surfaces/reaction/errors.d.ts +20 -0
  78. package/dist/server/flow-surfaces/reaction/errors.js +69 -0
  79. package/dist/server/flow-surfaces/reaction/field-value.d.ts +34 -0
  80. package/dist/server/flow-surfaces/reaction/field-value.js +181 -0
  81. package/dist/server/flow-surfaces/reaction/fingerprint.d.ts +16 -0
  82. package/dist/server/flow-surfaces/reaction/fingerprint.js +71 -0
  83. package/dist/server/flow-surfaces/reaction/linkage.d.ts +136 -0
  84. package/dist/server/flow-surfaces/reaction/linkage.js +882 -0
  85. package/dist/server/flow-surfaces/reaction/meta.d.ts +11 -0
  86. package/dist/server/flow-surfaces/reaction/meta.js +451 -0
  87. package/dist/server/flow-surfaces/reaction/registry.d.ts +136 -0
  88. package/dist/server/flow-surfaces/reaction/registry.js +186 -0
  89. package/dist/server/flow-surfaces/reaction/resolver.d.ts +22 -0
  90. package/dist/server/flow-surfaces/reaction/resolver.js +202 -0
  91. package/dist/server/flow-surfaces/reaction/types.d.ts +241 -0
  92. package/dist/server/flow-surfaces/reaction/types.js +24 -0
  93. package/dist/server/flow-surfaces/reaction/utils.d.ts +17 -0
  94. package/dist/server/flow-surfaces/reaction/utils.js +67 -0
  95. package/dist/server/flow-surfaces/reaction/value-expr.d.ts +15 -0
  96. package/dist/server/flow-surfaces/reaction/value-expr.js +209 -0
  97. package/dist/server/flow-surfaces/reference-guards.d.ts +19 -0
  98. package/dist/server/flow-surfaces/reference-guards.js +103 -0
  99. package/dist/server/flow-surfaces/service-helpers.d.ts +42 -0
  100. package/dist/server/flow-surfaces/service-helpers.js +377 -0
  101. package/dist/server/flow-surfaces/service-utils.d.ts +105 -0
  102. package/dist/server/flow-surfaces/service-utils.js +760 -0
  103. package/dist/server/flow-surfaces/service.d.ts +189 -103
  104. package/dist/server/flow-surfaces/service.js +3975 -1770
  105. package/dist/server/flow-surfaces/template-compatibility.d.ts +42 -0
  106. package/dist/server/flow-surfaces/template-compatibility.js +189 -0
  107. package/dist/server/flow-surfaces/template-service-utils.d.ts +62 -0
  108. package/dist/server/flow-surfaces/template-service-utils.js +281 -0
  109. package/dist/server/flow-surfaces/types.d.ts +129 -37
  110. package/dist/swagger/flow-surfaces.d.ts +3773 -1581
  111. package/dist/swagger/flow-surfaces.examples.d.ts +1215 -0
  112. package/dist/swagger/flow-surfaces.examples.js +1363 -0
  113. package/dist/swagger/flow-surfaces.js +2209 -1684
  114. package/dist/swagger/flow-surfaces.template-action-docs.d.ts +62 -0
  115. package/dist/swagger/flow-surfaces.template-action-docs.js +121 -0
  116. package/dist/swagger/flow-surfaces.template-schemas.d.ts +239 -0
  117. package/dist/swagger/flow-surfaces.template-schemas.js +255 -0
  118. package/dist/swagger/index.d.ts +3773 -1581
  119. package/package.json +2 -2
@@ -0,0 +1,1215 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ export declare const flowSurfaceExamples: {
10
+ catalog: {
11
+ target: {
12
+ uid: string;
13
+ };
14
+ };
15
+ context: {
16
+ target: {
17
+ uid: string;
18
+ };
19
+ path: string;
20
+ maxDepth: number;
21
+ };
22
+ getReactionMeta: {
23
+ target: {
24
+ uid: string;
25
+ };
26
+ };
27
+ describeSurface: {
28
+ locator: {
29
+ pageSchemaUid: string;
30
+ };
31
+ bindKeys: {
32
+ key: string;
33
+ locator: {
34
+ uid: string;
35
+ };
36
+ expectedKind: string;
37
+ }[];
38
+ };
39
+ applyBlueprint: {
40
+ version: string;
41
+ mode: string;
42
+ navigation: {
43
+ group: {
44
+ title: string;
45
+ };
46
+ item: {
47
+ title: string;
48
+ };
49
+ };
50
+ page: {
51
+ title: string;
52
+ documentTitle: string;
53
+ enableHeader: boolean;
54
+ displayTitle: boolean;
55
+ };
56
+ tabs: {
57
+ key: string;
58
+ title: string;
59
+ blocks: ({
60
+ key: string;
61
+ type: string;
62
+ collection: string;
63
+ fields: string[];
64
+ actions: string[];
65
+ } | {
66
+ key: string;
67
+ type: string;
68
+ collection: string;
69
+ fields: string[];
70
+ actions: {
71
+ key: string;
72
+ type: string;
73
+ }[];
74
+ })[];
75
+ layout: {
76
+ rows: string[][];
77
+ };
78
+ }[];
79
+ reaction: {
80
+ items: ({
81
+ type: string;
82
+ target: string;
83
+ rules: {
84
+ key: string;
85
+ targetPath: string;
86
+ mode: string;
87
+ value: {
88
+ source: string;
89
+ value: string;
90
+ };
91
+ }[];
92
+ } | {
93
+ type: string;
94
+ target: string;
95
+ rules: {
96
+ key: string;
97
+ when: {
98
+ logic: string;
99
+ items: {
100
+ path: string;
101
+ operator: string;
102
+ }[];
103
+ };
104
+ then: {
105
+ type: string;
106
+ state: string;
107
+ }[];
108
+ }[];
109
+ } | {
110
+ type: string;
111
+ target: string;
112
+ rules: {
113
+ key: string;
114
+ when: {
115
+ logic: string;
116
+ items: {
117
+ path: string;
118
+ operator: string;
119
+ }[];
120
+ };
121
+ then: {
122
+ type: string;
123
+ items: {
124
+ targetPath: string;
125
+ value: {
126
+ source: string;
127
+ version: string;
128
+ code: string;
129
+ };
130
+ }[];
131
+ }[];
132
+ }[];
133
+ })[];
134
+ };
135
+ };
136
+ applyBlueprintReplace: {
137
+ version: string;
138
+ mode: string;
139
+ target: {
140
+ pageSchemaUid: string;
141
+ };
142
+ page: {
143
+ title: string;
144
+ documentTitle: string;
145
+ displayTitle: boolean;
146
+ enableTabs: boolean;
147
+ };
148
+ tabs: {
149
+ title: string;
150
+ blocks: {
151
+ key: string;
152
+ type: string;
153
+ collection: string;
154
+ fields: string[];
155
+ }[];
156
+ }[];
157
+ };
158
+ setFieldValueRules: {
159
+ target: {
160
+ uid: string;
161
+ };
162
+ rules: {
163
+ key: string;
164
+ targetPath: string;
165
+ mode: string;
166
+ value: {
167
+ source: string;
168
+ value: string;
169
+ };
170
+ }[];
171
+ expectedFingerprint: string;
172
+ };
173
+ setBlockLinkageRules: {
174
+ target: {
175
+ uid: string;
176
+ };
177
+ rules: {
178
+ key: string;
179
+ when: {
180
+ logic: string;
181
+ items: {
182
+ path: string;
183
+ operator: string;
184
+ }[];
185
+ };
186
+ then: {
187
+ type: string;
188
+ state: string;
189
+ }[];
190
+ }[];
191
+ expectedFingerprint: string;
192
+ };
193
+ setFieldLinkageRules: {
194
+ target: {
195
+ uid: string;
196
+ };
197
+ rules: {
198
+ key: string;
199
+ when: {
200
+ logic: string;
201
+ items: {
202
+ path: string;
203
+ operator: string;
204
+ }[];
205
+ };
206
+ then: {
207
+ type: string;
208
+ items: {
209
+ targetPath: string;
210
+ value: {
211
+ source: string;
212
+ version: string;
213
+ code: string;
214
+ };
215
+ }[];
216
+ }[];
217
+ }[];
218
+ expectedFingerprint: string;
219
+ };
220
+ setActionLinkageRules: {
221
+ target: {
222
+ uid: string;
223
+ };
224
+ expectedFingerprint: string;
225
+ rules: {
226
+ key: string;
227
+ when: {
228
+ logic: string;
229
+ items: {
230
+ path: string;
231
+ operator: string;
232
+ }[];
233
+ };
234
+ then: {
235
+ type: string;
236
+ state: string;
237
+ }[];
238
+ }[];
239
+ };
240
+ compose: {
241
+ target: {
242
+ uid: string;
243
+ };
244
+ mode: string;
245
+ blocks: ({
246
+ key: string;
247
+ type: string;
248
+ resource: {
249
+ dataSourceKey: string;
250
+ collectionName: string;
251
+ };
252
+ fields: {
253
+ fieldPath: string;
254
+ target: string;
255
+ }[];
256
+ actions: string[];
257
+ recordActions?: undefined;
258
+ } | {
259
+ key: string;
260
+ type: string;
261
+ resource: {
262
+ dataSourceKey: string;
263
+ collectionName: string;
264
+ };
265
+ fields: (string | {
266
+ fieldPath: string;
267
+ })[];
268
+ actions: string[];
269
+ recordActions: (string | {
270
+ type: string;
271
+ popup: {
272
+ mode: string;
273
+ blocks: {
274
+ key: string;
275
+ type: string;
276
+ resource: {
277
+ dataSourceKey: string;
278
+ collectionName: string;
279
+ };
280
+ fields: string[];
281
+ }[];
282
+ };
283
+ })[];
284
+ })[];
285
+ layout: {
286
+ rows: {
287
+ key: string;
288
+ span: number;
289
+ }[][];
290
+ };
291
+ };
292
+ composeStatic: {
293
+ target: {
294
+ uid: string;
295
+ };
296
+ blocks: ({
297
+ key: string;
298
+ type: string;
299
+ settings: {
300
+ content: string;
301
+ mode?: undefined;
302
+ url?: undefined;
303
+ height?: undefined;
304
+ layout?: undefined;
305
+ ellipsis?: undefined;
306
+ };
307
+ } | {
308
+ key: string;
309
+ type: string;
310
+ settings: {
311
+ mode: string;
312
+ url: string;
313
+ height: number;
314
+ content?: undefined;
315
+ layout?: undefined;
316
+ ellipsis?: undefined;
317
+ };
318
+ } | {
319
+ key: string;
320
+ type: string;
321
+ settings: {
322
+ layout: string;
323
+ ellipsis: boolean;
324
+ content?: undefined;
325
+ mode?: undefined;
326
+ url?: undefined;
327
+ height?: undefined;
328
+ };
329
+ })[];
330
+ layout: {
331
+ rows: string[][];
332
+ };
333
+ };
334
+ composeListRich: {
335
+ target: {
336
+ uid: string;
337
+ };
338
+ blocks: {
339
+ key: string;
340
+ type: string;
341
+ resource: {
342
+ dataSourceKey: string;
343
+ collectionName: string;
344
+ };
345
+ fields: (string | {
346
+ fieldPath: string;
347
+ })[];
348
+ actions: string[];
349
+ recordActions: (string | {
350
+ type: string;
351
+ popup: {
352
+ mode: string;
353
+ blocks: {
354
+ key: string;
355
+ type: string;
356
+ resource: {
357
+ dataSourceKey: string;
358
+ collectionName: string;
359
+ };
360
+ fields: string[];
361
+ }[];
362
+ };
363
+ })[];
364
+ settings: {
365
+ pageSize: number;
366
+ layout: string;
367
+ };
368
+ }[];
369
+ };
370
+ composeGridCardRich: {
371
+ target: {
372
+ uid: string;
373
+ };
374
+ blocks: {
375
+ key: string;
376
+ type: string;
377
+ resource: {
378
+ dataSourceKey: string;
379
+ collectionName: string;
380
+ };
381
+ fields: (string | {
382
+ fieldPath: string;
383
+ })[];
384
+ actions: string[];
385
+ recordActions: string[];
386
+ settings: {
387
+ columns: number;
388
+ rowCount: number;
389
+ layout: string;
390
+ };
391
+ }[];
392
+ };
393
+ composeJsBlock: {
394
+ target: {
395
+ uid: string;
396
+ };
397
+ blocks: {
398
+ key: string;
399
+ type: string;
400
+ settings: {
401
+ title: string;
402
+ description: string;
403
+ className: string;
404
+ version: string;
405
+ code: string;
406
+ };
407
+ }[];
408
+ };
409
+ configure: {
410
+ target: {
411
+ uid: string;
412
+ };
413
+ changes: {
414
+ clickToOpen: boolean;
415
+ openView: {
416
+ dataSourceKey: string;
417
+ collectionName: string;
418
+ associationName: string;
419
+ mode: string;
420
+ };
421
+ };
422
+ };
423
+ configureAssociationPopup: {
424
+ target: {
425
+ uid: string;
426
+ };
427
+ changes: {
428
+ clickToOpen: boolean;
429
+ openView: {
430
+ dataSourceKey: string;
431
+ collectionName: string;
432
+ associationName: string;
433
+ mode: string;
434
+ };
435
+ };
436
+ };
437
+ configureBlock: {
438
+ target: {
439
+ uid: string;
440
+ };
441
+ changes: {
442
+ pageSize: number;
443
+ dataScope: {
444
+ logic: string;
445
+ items: {
446
+ path: string;
447
+ operator: string;
448
+ value: string;
449
+ }[];
450
+ };
451
+ sorting: {
452
+ field: string;
453
+ direction: string;
454
+ }[];
455
+ layout: string;
456
+ };
457
+ };
458
+ createMenu: {
459
+ title: string;
460
+ type: string;
461
+ parentMenuRouteId: number;
462
+ };
463
+ updateMenu: {
464
+ menuRouteId: number;
465
+ title: string;
466
+ parentMenuRouteId: any;
467
+ };
468
+ configureAction: {
469
+ target: {
470
+ uid: string;
471
+ };
472
+ changes: {
473
+ title: string;
474
+ type: string;
475
+ color: string;
476
+ htmlType: string;
477
+ position: string;
478
+ confirm: {
479
+ enable: boolean;
480
+ title: string;
481
+ content: string;
482
+ };
483
+ assignValues: {
484
+ status: string;
485
+ };
486
+ };
487
+ };
488
+ configureJsBlock: {
489
+ target: {
490
+ uid: string;
491
+ };
492
+ changes: {
493
+ title: string;
494
+ description: string;
495
+ className: string;
496
+ version: string;
497
+ code: string;
498
+ };
499
+ };
500
+ configureJsAction: {
501
+ target: {
502
+ uid: string;
503
+ };
504
+ changes: {
505
+ title: string;
506
+ type: string;
507
+ version: string;
508
+ code: string;
509
+ };
510
+ };
511
+ configureJsItemAction: {
512
+ target: {
513
+ uid: string;
514
+ };
515
+ changes: {
516
+ title: string;
517
+ type: string;
518
+ version: string;
519
+ code: string;
520
+ };
521
+ };
522
+ configureJsField: {
523
+ target: {
524
+ uid: string;
525
+ };
526
+ changes: {
527
+ label: string;
528
+ version: string;
529
+ code: string;
530
+ };
531
+ };
532
+ configureJsColumn: {
533
+ target: {
534
+ uid: string;
535
+ };
536
+ changes: {
537
+ title: string;
538
+ width: number;
539
+ fixed: string;
540
+ version: string;
541
+ code: string;
542
+ };
543
+ };
544
+ configureJsItem: {
545
+ target: {
546
+ uid: string;
547
+ };
548
+ changes: {
549
+ label: string;
550
+ showLabel: boolean;
551
+ labelWidth: number;
552
+ version: string;
553
+ code: string;
554
+ };
555
+ };
556
+ configurePage: {
557
+ target: {
558
+ uid: string;
559
+ };
560
+ changes: {
561
+ icon: string;
562
+ enableHeader: boolean;
563
+ };
564
+ };
565
+ configureTableAdvanced: {
566
+ target: {
567
+ uid: string;
568
+ };
569
+ changes: {
570
+ quickEdit: boolean;
571
+ treeTable: boolean;
572
+ defaultExpandAllRows: boolean;
573
+ dragSort: boolean;
574
+ dragSortBy: string;
575
+ };
576
+ };
577
+ configureEditForm: {
578
+ target: {
579
+ uid: string;
580
+ };
581
+ changes: {
582
+ colon: boolean;
583
+ dataScope: {
584
+ logic: string;
585
+ items: {
586
+ path: string;
587
+ operator: string;
588
+ value: string;
589
+ }[];
590
+ };
591
+ };
592
+ };
593
+ configureDetailsCompatibility: {
594
+ target: {
595
+ uid: string;
596
+ };
597
+ changes: {
598
+ colon: boolean;
599
+ linkageRules: {
600
+ when: {
601
+ path: string;
602
+ operator: string;
603
+ value: string;
604
+ };
605
+ set: {
606
+ hidden: boolean;
607
+ };
608
+ }[];
609
+ };
610
+ };
611
+ composePopupCurrentRecord: {
612
+ target: {
613
+ uid: string;
614
+ };
615
+ mode: string;
616
+ blocks: {
617
+ key: string;
618
+ type: string;
619
+ resource: {
620
+ binding: string;
621
+ };
622
+ fields: string[];
623
+ }[];
624
+ };
625
+ composePopupAssociatedRecords: {
626
+ target: {
627
+ uid: string;
628
+ };
629
+ mode: string;
630
+ blocks: {
631
+ key: string;
632
+ type: string;
633
+ resource: {
634
+ binding: string;
635
+ associationField: string;
636
+ };
637
+ fields: string[];
638
+ actions: string[];
639
+ recordActions: string[];
640
+ }[];
641
+ };
642
+ configureActionModesCompatibility: {
643
+ target: {
644
+ uid: string;
645
+ };
646
+ changes: {
647
+ linkageRules: {
648
+ when: {
649
+ path: string;
650
+ operator: string;
651
+ value: string;
652
+ };
653
+ set: {
654
+ disabled: boolean;
655
+ };
656
+ }[];
657
+ editMode: string;
658
+ updateMode: string;
659
+ duplicateMode: string;
660
+ collapsedRows: number;
661
+ defaultCollapsed: boolean;
662
+ emailFieldNames: string[];
663
+ defaultSelectAllRecords: boolean;
664
+ };
665
+ };
666
+ createPage: {
667
+ menuRouteId: number;
668
+ title: string;
669
+ tabTitle: string;
670
+ enableTabs: boolean;
671
+ displayTitle: boolean;
672
+ documentTitle: string;
673
+ tabDocumentTitle: string;
674
+ };
675
+ addTab: {
676
+ target: {
677
+ uid: string;
678
+ };
679
+ title: string;
680
+ icon: string;
681
+ documentTitle: string;
682
+ };
683
+ updateTab: {
684
+ target: {
685
+ uid: string;
686
+ };
687
+ title: string;
688
+ icon: string;
689
+ documentTitle: string;
690
+ flowRegistry: {
691
+ beforeRenderApply: {
692
+ key: string;
693
+ on: string;
694
+ steps: {};
695
+ };
696
+ };
697
+ };
698
+ addPopupTab: {
699
+ target: {
700
+ uid: string;
701
+ };
702
+ title: string;
703
+ icon: string;
704
+ documentTitle: string;
705
+ };
706
+ updatePopupTab: {
707
+ target: {
708
+ uid: string;
709
+ };
710
+ title: string;
711
+ icon: string;
712
+ documentTitle: string;
713
+ flowRegistry: {
714
+ beforeRenderApply: {
715
+ key: string;
716
+ on: string;
717
+ steps: {};
718
+ };
719
+ };
720
+ };
721
+ movePopupTab: {
722
+ sourceUid: string;
723
+ targetUid: string;
724
+ position: string;
725
+ };
726
+ removePopupTab: {
727
+ target: {
728
+ uid: string;
729
+ };
730
+ };
731
+ addBlock: {
732
+ target: {
733
+ uid: string;
734
+ };
735
+ type: string;
736
+ resource: {
737
+ binding: string;
738
+ };
739
+ };
740
+ addPopupAssociatedBlock: {
741
+ target: {
742
+ uid: string;
743
+ };
744
+ type: string;
745
+ resource: {
746
+ binding: string;
747
+ associationField: string;
748
+ };
749
+ };
750
+ addPopupOtherRecordsBlock: {
751
+ target: {
752
+ uid: string;
753
+ };
754
+ type: string;
755
+ resource: {
756
+ binding: string;
757
+ dataSourceKey: string;
758
+ collectionName: string;
759
+ };
760
+ };
761
+ addJsBlock: {
762
+ target: {
763
+ uid: string;
764
+ };
765
+ type: string;
766
+ settings: {
767
+ title: string;
768
+ description: string;
769
+ version: string;
770
+ code: string;
771
+ };
772
+ };
773
+ addField: {
774
+ target: {
775
+ uid: string;
776
+ };
777
+ fieldPath: string;
778
+ renderer: string;
779
+ settings: {
780
+ label: string;
781
+ code: string;
782
+ version: string;
783
+ };
784
+ };
785
+ addAssociationField: {
786
+ target: {
787
+ uid: string;
788
+ };
789
+ fieldPath: string;
790
+ associationPathName: string;
791
+ settings: {
792
+ title: string;
793
+ width: number;
794
+ };
795
+ popup: {
796
+ mode: string;
797
+ blocks: {
798
+ key: string;
799
+ type: string;
800
+ resource: {
801
+ binding: string;
802
+ };
803
+ fields: string[];
804
+ }[];
805
+ };
806
+ };
807
+ addJsColumn: {
808
+ target: {
809
+ uid: string;
810
+ };
811
+ type: string;
812
+ settings: {
813
+ title: string;
814
+ width: number;
815
+ version: string;
816
+ code: string;
817
+ };
818
+ };
819
+ addJsItem: {
820
+ target: {
821
+ uid: string;
822
+ };
823
+ type: string;
824
+ settings: {
825
+ label: string;
826
+ showLabel: boolean;
827
+ version: string;
828
+ code: string;
829
+ };
830
+ };
831
+ addFieldPopupTemplate: {
832
+ target: {
833
+ uid: string;
834
+ };
835
+ fieldPath: string;
836
+ popup: {
837
+ template: {
838
+ uid: string;
839
+ mode: string;
840
+ };
841
+ };
842
+ };
843
+ addAction: {
844
+ target: {
845
+ uid: string;
846
+ };
847
+ type: string;
848
+ settings: {
849
+ title: string;
850
+ confirm: boolean;
851
+ };
852
+ };
853
+ addLinkAction: {
854
+ target: {
855
+ uid: string;
856
+ };
857
+ type: string;
858
+ settings: {
859
+ title: string;
860
+ };
861
+ };
862
+ addJsAction: {
863
+ target: {
864
+ uid: string;
865
+ };
866
+ type: string;
867
+ settings: {
868
+ title: string;
869
+ type: string;
870
+ version: string;
871
+ code: string;
872
+ };
873
+ };
874
+ addJsItemAction: {
875
+ target: {
876
+ uid: string;
877
+ };
878
+ type: string;
879
+ settings: {
880
+ title: string;
881
+ type: string;
882
+ version: string;
883
+ code: string;
884
+ };
885
+ };
886
+ addRecordAction: {
887
+ target: {
888
+ uid: string;
889
+ };
890
+ type: string;
891
+ settings: {
892
+ title: string;
893
+ openView: {
894
+ dataSourceKey: string;
895
+ collectionName: string;
896
+ mode: string;
897
+ };
898
+ };
899
+ popup: {
900
+ mode: string;
901
+ blocks: {
902
+ key: string;
903
+ type: string;
904
+ resource: {
905
+ dataSourceKey: string;
906
+ collectionName: string;
907
+ };
908
+ fields: string[];
909
+ }[];
910
+ };
911
+ };
912
+ addRecordJsAction: {
913
+ target: {
914
+ uid: string;
915
+ };
916
+ type: string;
917
+ settings: {
918
+ title: string;
919
+ type: string;
920
+ version: string;
921
+ code: string;
922
+ };
923
+ };
924
+ addBlocks: {
925
+ target: {
926
+ uid: string;
927
+ };
928
+ blocks: ({
929
+ key: string;
930
+ type: string;
931
+ resourceInit: {
932
+ dataSourceKey: string;
933
+ collectionName: string;
934
+ };
935
+ settings: {
936
+ title: string;
937
+ pageSize: number;
938
+ content?: undefined;
939
+ };
940
+ } | {
941
+ key: string;
942
+ type: string;
943
+ settings: {
944
+ content: string;
945
+ title?: undefined;
946
+ pageSize?: undefined;
947
+ };
948
+ resourceInit?: undefined;
949
+ })[];
950
+ };
951
+ addFields: {
952
+ target: {
953
+ uid: string;
954
+ };
955
+ fields: ({
956
+ key: string;
957
+ fieldPath: string;
958
+ settings: {
959
+ title: string;
960
+ width: number;
961
+ label?: undefined;
962
+ code?: undefined;
963
+ version?: undefined;
964
+ };
965
+ popup: {
966
+ mode: string;
967
+ blocks: {
968
+ key: string;
969
+ type: string;
970
+ resource: {
971
+ binding: string;
972
+ };
973
+ fields: string[];
974
+ }[];
975
+ };
976
+ renderer?: undefined;
977
+ } | {
978
+ key: string;
979
+ fieldPath: string;
980
+ renderer: string;
981
+ settings: {
982
+ label: string;
983
+ code: string;
984
+ version: string;
985
+ title?: undefined;
986
+ width?: undefined;
987
+ };
988
+ popup?: undefined;
989
+ })[];
990
+ };
991
+ addActions: {
992
+ target: {
993
+ uid: string;
994
+ };
995
+ actions: ({
996
+ key: string;
997
+ type: string;
998
+ settings: {
999
+ title: string;
1000
+ confirm: boolean;
1001
+ };
1002
+ } | {
1003
+ key: string;
1004
+ type: string;
1005
+ settings: {
1006
+ title: string;
1007
+ confirm?: undefined;
1008
+ };
1009
+ })[];
1010
+ };
1011
+ addRecordActions: {
1012
+ target: {
1013
+ uid: string;
1014
+ };
1015
+ recordActions: ({
1016
+ key: string;
1017
+ type: string;
1018
+ settings: {
1019
+ title: string;
1020
+ openView: {
1021
+ dataSourceKey: string;
1022
+ collectionName: string;
1023
+ mode: string;
1024
+ };
1025
+ };
1026
+ popup: {
1027
+ mode: string;
1028
+ blocks: {
1029
+ key: string;
1030
+ type: string;
1031
+ resource: {
1032
+ dataSourceKey: string;
1033
+ collectionName: string;
1034
+ };
1035
+ fields: string[];
1036
+ }[];
1037
+ };
1038
+ } | {
1039
+ key: string;
1040
+ type: string;
1041
+ settings: {
1042
+ title: string;
1043
+ openView?: undefined;
1044
+ };
1045
+ popup?: undefined;
1046
+ })[];
1047
+ };
1048
+ updateSettings: {
1049
+ target: {
1050
+ uid: string;
1051
+ };
1052
+ stepParams: {
1053
+ tableSettings: {
1054
+ pageSize: {
1055
+ pageSize: number;
1056
+ };
1057
+ tableDensity: {
1058
+ size: string;
1059
+ };
1060
+ };
1061
+ };
1062
+ flowRegistry: {
1063
+ beforeRenderApply: {
1064
+ key: string;
1065
+ on: string;
1066
+ steps: {};
1067
+ };
1068
+ };
1069
+ };
1070
+ setEventFlows: {
1071
+ target: {
1072
+ uid: string;
1073
+ };
1074
+ flowRegistry: {
1075
+ popupSettings: {
1076
+ key: string;
1077
+ on: string;
1078
+ steps: {
1079
+ openView: {
1080
+ params: {
1081
+ title: string;
1082
+ size: string;
1083
+ };
1084
+ };
1085
+ };
1086
+ };
1087
+ };
1088
+ };
1089
+ setLayout: {
1090
+ target: {
1091
+ uid: string;
1092
+ };
1093
+ rows: {
1094
+ row1: string[][];
1095
+ };
1096
+ sizes: {
1097
+ row1: number[];
1098
+ };
1099
+ rowOrder: string[];
1100
+ };
1101
+ moveNode: {
1102
+ sourceUid: string;
1103
+ targetUid: string;
1104
+ position: string;
1105
+ };
1106
+ removeNode: {
1107
+ target: {
1108
+ uid: string;
1109
+ };
1110
+ };
1111
+ mutate: {
1112
+ atomic: boolean;
1113
+ ops: ({
1114
+ opId: string;
1115
+ type: string;
1116
+ values: {
1117
+ title: string;
1118
+ type: string;
1119
+ menuRouteId?: undefined;
1120
+ tabTitle?: undefined;
1121
+ target?: undefined;
1122
+ resourceInit?: undefined;
1123
+ fieldPath?: undefined;
1124
+ };
1125
+ } | {
1126
+ opId: string;
1127
+ type: string;
1128
+ values: {
1129
+ menuRouteId: {
1130
+ step: string;
1131
+ path: string;
1132
+ };
1133
+ tabTitle: string;
1134
+ title?: undefined;
1135
+ type?: undefined;
1136
+ target?: undefined;
1137
+ resourceInit?: undefined;
1138
+ fieldPath?: undefined;
1139
+ };
1140
+ } | {
1141
+ opId: string;
1142
+ type: string;
1143
+ values: {
1144
+ target: {
1145
+ uid: {
1146
+ step: string;
1147
+ path: string;
1148
+ };
1149
+ };
1150
+ type: string;
1151
+ resourceInit: {
1152
+ dataSourceKey: string;
1153
+ collectionName: string;
1154
+ };
1155
+ title?: undefined;
1156
+ menuRouteId?: undefined;
1157
+ tabTitle?: undefined;
1158
+ fieldPath?: undefined;
1159
+ };
1160
+ } | {
1161
+ type: string;
1162
+ values: {
1163
+ target: {
1164
+ uid: {
1165
+ step: string;
1166
+ path: string;
1167
+ };
1168
+ };
1169
+ fieldPath: string;
1170
+ title?: undefined;
1171
+ type?: undefined;
1172
+ menuRouteId?: undefined;
1173
+ tabTitle?: undefined;
1174
+ resourceInit?: undefined;
1175
+ };
1176
+ opId?: undefined;
1177
+ })[];
1178
+ };
1179
+ apply: {
1180
+ target: {
1181
+ uid: string;
1182
+ };
1183
+ mode: string;
1184
+ spec: {
1185
+ subModels: {
1186
+ items: ({
1187
+ clientKey: string;
1188
+ use: string;
1189
+ stepParams: {
1190
+ resourceSettings: {
1191
+ init: {
1192
+ dataSourceKey: string;
1193
+ collectionName: string;
1194
+ };
1195
+ };
1196
+ };
1197
+ props?: undefined;
1198
+ } | {
1199
+ clientKey: string;
1200
+ use: string;
1201
+ props: {
1202
+ content: string;
1203
+ };
1204
+ stepParams?: undefined;
1205
+ })[];
1206
+ };
1207
+ };
1208
+ };
1209
+ getPopupQuery: {
1210
+ uid: string;
1211
+ };
1212
+ getPageQuery: {
1213
+ pageSchemaUid: string;
1214
+ };
1215
+ };