@nocobase/plugin-flow-engine 2.1.0-beta.20 → 2.1.0-beta.22

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 (37) hide show
  1. package/dist/externalVersion.js +10 -10
  2. package/dist/node_modules/ses/package.json +1 -1
  3. package/dist/node_modules/zod/package.json +1 -1
  4. package/dist/server/flow-surfaces/apply/compiler.js +4 -2
  5. package/dist/server/flow-surfaces/association-interfaces.d.ts +10 -0
  6. package/dist/server/flow-surfaces/association-interfaces.js +39 -0
  7. package/dist/server/flow-surfaces/blueprint/compile-blocks.js +108 -6
  8. package/dist/server/flow-surfaces/blueprint/public-types.d.ts +9 -1
  9. package/dist/server/flow-surfaces/builder.d.ts +27 -1
  10. package/dist/server/flow-surfaces/builder.js +54 -4
  11. package/dist/server/flow-surfaces/catalog.d.ts +1 -0
  12. package/dist/server/flow-surfaces/catalog.js +146 -36
  13. package/dist/server/flow-surfaces/compose-compiler.d.ts +9 -1
  14. package/dist/server/flow-surfaces/compose-compiler.js +8 -0
  15. package/dist/server/flow-surfaces/compose-runtime.d.ts +1 -0
  16. package/dist/server/flow-surfaces/compose-runtime.js +2 -1
  17. package/dist/server/flow-surfaces/configure-options.js +50 -6
  18. package/dist/server/flow-surfaces/default-action-popup.js +2 -2
  19. package/dist/server/flow-surfaces/field-binding-registry.d.ts +1 -0
  20. package/dist/server/flow-surfaces/field-binding-registry.js +6 -1
  21. package/dist/server/flow-surfaces/field-semantics.d.ts +1 -1
  22. package/dist/server/flow-surfaces/field-semantics.js +4 -3
  23. package/dist/server/flow-surfaces/field-type-resolver.d.ts +46 -0
  24. package/dist/server/flow-surfaces/field-type-resolver.js +322 -0
  25. package/dist/server/flow-surfaces/node-use-sets.js +1 -0
  26. package/dist/server/flow-surfaces/service-helpers.js +2 -2
  27. package/dist/server/flow-surfaces/service-utils.d.ts +14 -1
  28. package/dist/server/flow-surfaces/service-utils.js +79 -6
  29. package/dist/server/flow-surfaces/service.d.ts +28 -4
  30. package/dist/server/flow-surfaces/service.js +1158 -116
  31. package/dist/server/flow-surfaces/support-matrix.js +11 -0
  32. package/dist/swagger/flow-surfaces.d.ts +173 -2
  33. package/dist/swagger/flow-surfaces.examples.d.ts +20 -15
  34. package/dist/swagger/flow-surfaces.examples.js +22 -11
  35. package/dist/swagger/flow-surfaces.js +72 -10
  36. package/dist/swagger/index.d.ts +173 -2
  37. package/package.json +2 -2
@@ -117,6 +117,44 @@ declare const _default: {
117
117
  fieldPath: {
118
118
  type: string;
119
119
  };
120
+ fieldType: {
121
+ type: string;
122
+ enum: string[];
123
+ description: string;
124
+ };
125
+ fields: {
126
+ type: string;
127
+ items: {
128
+ type: string;
129
+ };
130
+ description: string;
131
+ };
132
+ selectorFields: {
133
+ type: string;
134
+ items: {
135
+ type: string;
136
+ };
137
+ description: string;
138
+ };
139
+ titleField: {
140
+ type: string;
141
+ };
142
+ openMode: {
143
+ type: string;
144
+ example: string;
145
+ };
146
+ popupSize: {
147
+ type: string;
148
+ example: string;
149
+ };
150
+ pageSize: {
151
+ type: string;
152
+ example: number;
153
+ };
154
+ showIndex: {
155
+ type: string;
156
+ example: boolean;
157
+ };
120
158
  renderer: {
121
159
  type: string;
122
160
  enum: string[];
@@ -157,6 +195,14 @@ declare const _default: {
157
195
  additionalProperties: boolean;
158
196
  };
159
197
  fieldPath?: undefined;
198
+ fieldType?: undefined;
199
+ fields?: undefined;
200
+ selectorFields?: undefined;
201
+ titleField?: undefined;
202
+ openMode?: undefined;
203
+ popupSize?: undefined;
204
+ pageSize?: undefined;
205
+ showIndex?: undefined;
160
206
  renderer?: undefined;
161
207
  associationPathName?: undefined;
162
208
  target?: undefined;
@@ -2025,6 +2071,44 @@ declare const _default: {
2025
2071
  type: {
2026
2072
  type: string;
2027
2073
  };
2074
+ fieldType: {
2075
+ type: string;
2076
+ enum: string[];
2077
+ description: string;
2078
+ };
2079
+ fields: {
2080
+ type: string;
2081
+ items: {
2082
+ type: string;
2083
+ };
2084
+ description: string;
2085
+ };
2086
+ selectorFields: {
2087
+ type: string;
2088
+ items: {
2089
+ type: string;
2090
+ };
2091
+ description: string;
2092
+ };
2093
+ titleField: {
2094
+ type: string;
2095
+ };
2096
+ openMode: {
2097
+ type: string;
2098
+ example: string;
2099
+ };
2100
+ popupSize: {
2101
+ type: string;
2102
+ example: string;
2103
+ };
2104
+ pageSize: {
2105
+ type: string;
2106
+ example: number;
2107
+ };
2108
+ showIndex: {
2109
+ type: string;
2110
+ example: boolean;
2111
+ };
2028
2112
  label: {
2029
2113
  type: string;
2030
2114
  };
@@ -3201,6 +3285,15 @@ declare const _default: {
3201
3285
  resourceInit: {
3202
3286
  $ref: string;
3203
3287
  };
3288
+ fields: {
3289
+ type: string;
3290
+ items: {
3291
+ $ref: string;
3292
+ };
3293
+ };
3294
+ fieldsLayout: {
3295
+ $ref: string;
3296
+ };
3204
3297
  settings: {
3205
3298
  type: string;
3206
3299
  additionalProperties: boolean;
@@ -3304,10 +3397,44 @@ declare const _default: {
3304
3397
  collectionName: {
3305
3398
  type: string;
3306
3399
  };
3307
- fieldUse: {
3400
+ fieldType: {
3308
3401
  type: string;
3402
+ enum: string[];
3403
+ description: string;
3404
+ };
3405
+ fields: {
3406
+ type: string;
3407
+ items: {
3408
+ type: string;
3409
+ };
3309
3410
  description: string;
3310
3411
  };
3412
+ selectorFields: {
3413
+ type: string;
3414
+ items: {
3415
+ type: string;
3416
+ };
3417
+ description: string;
3418
+ };
3419
+ titleField: {
3420
+ type: string;
3421
+ };
3422
+ openMode: {
3423
+ type: string;
3424
+ example: string;
3425
+ };
3426
+ popupSize: {
3427
+ type: string;
3428
+ example: string;
3429
+ };
3430
+ pageSize: {
3431
+ type: string;
3432
+ example: number;
3433
+ };
3434
+ showIndex: {
3435
+ type: string;
3436
+ example: boolean;
3437
+ };
3311
3438
  defaultTargetUid: {
3312
3439
  type: string;
3313
3440
  };
@@ -3513,6 +3640,15 @@ declare const _default: {
3513
3640
  resourceInit: {
3514
3641
  $ref: string;
3515
3642
  };
3643
+ fields: {
3644
+ type: string;
3645
+ items: {
3646
+ $ref: string;
3647
+ };
3648
+ };
3649
+ fieldsLayout: {
3650
+ $ref: string;
3651
+ };
3516
3652
  settings: {
3517
3653
  type: string;
3518
3654
  additionalProperties: boolean;
@@ -3567,8 +3703,43 @@ declare const _default: {
3567
3703
  collectionName: {
3568
3704
  type: string;
3569
3705
  };
3570
- fieldUse: {
3706
+ fieldType: {
3707
+ type: string;
3708
+ enum: string[];
3709
+ description: string;
3710
+ };
3711
+ fields: {
3712
+ type: string;
3713
+ items: {
3714
+ type: string;
3715
+ };
3716
+ description: string;
3717
+ };
3718
+ selectorFields: {
3719
+ type: string;
3720
+ items: {
3721
+ type: string;
3722
+ };
3723
+ description: string;
3724
+ };
3725
+ titleField: {
3726
+ type: string;
3727
+ };
3728
+ openMode: {
3729
+ type: string;
3730
+ example: string;
3731
+ };
3732
+ popupSize: {
3733
+ type: string;
3734
+ example: string;
3735
+ };
3736
+ pageSize: {
3737
+ type: string;
3738
+ example: number;
3739
+ };
3740
+ showIndex: {
3571
3741
  type: string;
3742
+ example: boolean;
3572
3743
  };
3573
3744
  defaultTargetUid: {
3574
3745
  type: string;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "前端流引擎",
5
5
  "description": "",
6
6
  "description.zh-CN": "",
7
- "version": "2.1.0-beta.20",
7
+ "version": "2.1.0-beta.22",
8
8
  "main": "./dist/server/index.js",
9
9
  "license": "Apache-2.0",
10
10
  "devDependencies": {
@@ -24,5 +24,5 @@
24
24
  "@nocobase/test": "2.x",
25
25
  "@nocobase/utils": "2.x"
26
26
  },
27
- "gitHead": "5515f27380c0c5410f7d1e5e5858364fcd838e5e"
27
+ "gitHead": "53ad02861ed8e813103f59659804417118c85b4c"
28
28
  }