ronds-metadata 1.1.87 → 1.1.89

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 (35) hide show
  1. package/es/api/index.d.ts +1 -1
  2. package/es/api/index.js +21 -7
  3. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.js +3 -2
  4. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +2 -0
  5. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.js +17 -0
  6. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.js +45 -3
  7. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.js +5 -2
  8. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +2 -0
  9. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.js +22 -0
  10. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.js +47 -3
  11. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.js +4 -2
  12. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.js +5 -2
  13. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.js +122 -2
  14. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.js +6 -2
  15. package/es/comps/FormGenerator/comps/Canvas/core/index.js +72 -14
  16. package/es/comps/FormGenerator/comps/Canvas/core/index.less +0 -1
  17. package/es/comps/FormGenerator/comps/Settings/index.js +1 -1
  18. package/es/comps/FormGenerator/comps/Sidebar/index.js +1 -1
  19. package/es/comps/FormGenerator/settings/index.d.ts +645 -17
  20. package/es/comps/FormGenerator/settings/index.js +71 -17
  21. package/es/comps/FormGenerator/settings/ruleConfig.d.ts +51 -2
  22. package/es/comps/FormGenerator/settings/ruleConfig.js +220 -7
  23. package/es/comps/FormGenerator/transformer.js +2 -2
  24. package/es/comps/MetadataForm/DataCell/Array.js +18 -4
  25. package/es/comps/MetadataForm/DataCell/Select.js +59 -9
  26. package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +1 -1
  27. package/es/comps/MetadataForm/DataCell/layout/TableArray.js +75 -28
  28. package/es/comps/MetadataForm/utils.d.ts +1 -0
  29. package/es/comps/MetadataForm/utils.js +23 -2
  30. package/es/framework/metadata/MetadataService.d.ts +1 -1
  31. package/es/framework/metadata/MetadataService.js +8 -3
  32. package/es/framework/metadata/types.d.ts +98 -98
  33. package/es/utils.d.ts +3 -0
  34. package/es/utils.js +28 -2
  35. package/package.json +1 -1
@@ -148,6 +148,182 @@ export declare const dateSchema: {
148
148
  }[];
149
149
  }[];
150
150
  }[];
151
+ export declare const numberSchema: {
152
+ id: string;
153
+ type: string;
154
+ properties: ({
155
+ id: string;
156
+ type: string;
157
+ fields: {
158
+ id: string;
159
+ type: string;
160
+ refId: string;
161
+ value: {
162
+ label: string;
163
+ };
164
+ }[];
165
+ } | {
166
+ id: string;
167
+ type: string;
168
+ fields: {
169
+ id: string;
170
+ type: string;
171
+ refId: string;
172
+ value: {
173
+ common: {
174
+ label: string;
175
+ };
176
+ 'common-en-US': {};
177
+ };
178
+ }[];
179
+ })[];
180
+ types: {
181
+ id: string;
182
+ type: string;
183
+ properties: {
184
+ id: string;
185
+ type: string;
186
+ fields: {
187
+ id: string;
188
+ type: string;
189
+ refId: string;
190
+ value: {
191
+ text: {};
192
+ common: {
193
+ label: string;
194
+ };
195
+ 'common-en-US': {};
196
+ };
197
+ }[];
198
+ }[];
199
+ }[];
200
+ }[];
201
+ export declare const switchSchema: {
202
+ id: string;
203
+ type: string;
204
+ properties: ({
205
+ id: string;
206
+ type: string;
207
+ fields: {
208
+ id: string;
209
+ type: string;
210
+ refId: string;
211
+ value: {
212
+ label: string;
213
+ };
214
+ }[];
215
+ } | {
216
+ id: string;
217
+ type: string;
218
+ fields: {
219
+ id: string;
220
+ type: string;
221
+ refId: string;
222
+ value: {
223
+ common: {
224
+ label: string;
225
+ };
226
+ 'common-en-US': {};
227
+ };
228
+ }[];
229
+ })[];
230
+ types: {
231
+ id: string;
232
+ type: string;
233
+ properties: {
234
+ id: string;
235
+ type: string;
236
+ fields: {
237
+ id: string;
238
+ type: string;
239
+ refId: string;
240
+ value: {
241
+ text: {};
242
+ common: {
243
+ label: string;
244
+ };
245
+ 'common-en-US': {};
246
+ };
247
+ }[];
248
+ }[];
249
+ }[];
250
+ }[];
251
+ export declare const selectSchema: {
252
+ id: string;
253
+ type: string;
254
+ properties: ({
255
+ id: string;
256
+ type: string;
257
+ fields: {
258
+ id: string;
259
+ type: string;
260
+ refId: string;
261
+ value: {
262
+ label: string;
263
+ };
264
+ }[];
265
+ } | {
266
+ id: string;
267
+ type: string;
268
+ fields: {
269
+ id: string;
270
+ type: string;
271
+ refId: string;
272
+ value: {
273
+ common: {
274
+ label: string;
275
+ };
276
+ 'common-en-US': {};
277
+ };
278
+ }[];
279
+ })[];
280
+ types: {
281
+ id: string;
282
+ type: string;
283
+ properties: {
284
+ id: string;
285
+ type: string;
286
+ }[];
287
+ }[];
288
+ }[];
289
+ export declare const mutiSelectSchema: {
290
+ id: string;
291
+ type: string;
292
+ properties: ({
293
+ id: string;
294
+ type: string;
295
+ fields: {
296
+ id: string;
297
+ type: string;
298
+ refId: string;
299
+ value: {
300
+ label: string;
301
+ };
302
+ }[];
303
+ } | {
304
+ id: string;
305
+ type: string;
306
+ fields: {
307
+ id: string;
308
+ type: string;
309
+ refId: string;
310
+ value: {
311
+ common: {
312
+ label: string;
313
+ };
314
+ 'common-en-US': {};
315
+ };
316
+ }[];
317
+ })[];
318
+ types: {
319
+ id: string;
320
+ type: string;
321
+ properties: {
322
+ id: string;
323
+ type: string;
324
+ }[];
325
+ }[];
326
+ }[];
151
327
  export declare const settingSchema: {
152
328
  input: {
153
329
  id: string;
@@ -199,7 +375,339 @@ export declare const settingSchema: {
199
375
  }[];
200
376
  }[];
201
377
  }[];
202
- textarea: {
378
+ textarea: {
379
+ id: string;
380
+ type: string;
381
+ properties: ({
382
+ id: string;
383
+ type: string;
384
+ fields: {
385
+ id: string;
386
+ type: string;
387
+ refId: string;
388
+ value: {
389
+ label: string;
390
+ };
391
+ }[];
392
+ } | {
393
+ id: string;
394
+ type: string;
395
+ fields: {
396
+ id: string;
397
+ type: string;
398
+ refId: string;
399
+ value: {
400
+ common: {
401
+ label: string;
402
+ };
403
+ 'common-en-US': {};
404
+ };
405
+ }[];
406
+ })[];
407
+ types: {
408
+ id: string;
409
+ type: string;
410
+ properties: {
411
+ id: string;
412
+ type: string;
413
+ fields: {
414
+ id: string;
415
+ type: string;
416
+ refId: string;
417
+ value: {
418
+ text: {};
419
+ common: {
420
+ label: string;
421
+ };
422
+ 'common-en-US': {};
423
+ };
424
+ }[];
425
+ }[];
426
+ }[];
427
+ }[];
428
+ date: {
429
+ id: string;
430
+ type: string;
431
+ properties: ({
432
+ id: string;
433
+ type: string;
434
+ fields: {
435
+ id: string;
436
+ type: string;
437
+ refId: string;
438
+ value: {
439
+ label: string;
440
+ };
441
+ }[];
442
+ } | {
443
+ id: string;
444
+ type: string;
445
+ fields: {
446
+ id: string;
447
+ type: string;
448
+ refId: string;
449
+ value: {
450
+ common: {
451
+ label: string;
452
+ };
453
+ 'common-en-US': {};
454
+ };
455
+ }[];
456
+ })[];
457
+ types: {
458
+ id: string;
459
+ type: string;
460
+ properties: {
461
+ id: string;
462
+ type: string;
463
+ fields: {
464
+ id: string;
465
+ type: string;
466
+ refId: string;
467
+ value: {
468
+ text: {};
469
+ common: {
470
+ label: string;
471
+ };
472
+ 'common-en-US': {};
473
+ };
474
+ }[];
475
+ }[];
476
+ }[];
477
+ }[];
478
+ numebr: {
479
+ id: string;
480
+ type: string;
481
+ properties: ({
482
+ id: string;
483
+ type: string;
484
+ fields: {
485
+ id: string;
486
+ type: string;
487
+ refId: string;
488
+ value: {
489
+ label: string;
490
+ };
491
+ }[];
492
+ } | {
493
+ id: string;
494
+ type: string;
495
+ fields: {
496
+ id: string;
497
+ type: string;
498
+ refId: string;
499
+ value: {
500
+ common: {
501
+ label: string;
502
+ };
503
+ 'common-en-US': {};
504
+ };
505
+ }[];
506
+ })[];
507
+ types: {
508
+ id: string;
509
+ type: string;
510
+ properties: {
511
+ id: string;
512
+ type: string;
513
+ fields: {
514
+ id: string;
515
+ type: string;
516
+ refId: string;
517
+ value: {
518
+ text: {};
519
+ common: {
520
+ label: string;
521
+ };
522
+ 'common-en-US': {};
523
+ };
524
+ }[];
525
+ }[];
526
+ }[];
527
+ }[];
528
+ switch: {
529
+ id: string;
530
+ type: string;
531
+ properties: ({
532
+ id: string;
533
+ type: string;
534
+ fields: {
535
+ id: string;
536
+ type: string;
537
+ refId: string;
538
+ value: {
539
+ label: string;
540
+ };
541
+ }[];
542
+ } | {
543
+ id: string;
544
+ type: string;
545
+ fields: {
546
+ id: string;
547
+ type: string;
548
+ refId: string;
549
+ value: {
550
+ common: {
551
+ label: string;
552
+ };
553
+ 'common-en-US': {};
554
+ };
555
+ }[];
556
+ })[];
557
+ types: {
558
+ id: string;
559
+ type: string;
560
+ properties: {
561
+ id: string;
562
+ type: string;
563
+ fields: {
564
+ id: string;
565
+ type: string;
566
+ refId: string;
567
+ value: {
568
+ text: {};
569
+ common: {
570
+ label: string;
571
+ };
572
+ 'common-en-US': {};
573
+ };
574
+ }[];
575
+ }[];
576
+ }[];
577
+ }[];
578
+ select: {
579
+ id: string;
580
+ type: string;
581
+ properties: ({
582
+ id: string;
583
+ type: string;
584
+ fields: {
585
+ id: string;
586
+ type: string;
587
+ refId: string;
588
+ value: {
589
+ label: string;
590
+ };
591
+ }[];
592
+ } | {
593
+ id: string;
594
+ type: string;
595
+ fields: {
596
+ id: string;
597
+ type: string;
598
+ refId: string;
599
+ value: {
600
+ common: {
601
+ label: string;
602
+ };
603
+ 'common-en-US': {};
604
+ };
605
+ }[];
606
+ })[];
607
+ types: {
608
+ id: string;
609
+ type: string;
610
+ properties: {
611
+ id: string;
612
+ type: string;
613
+ }[];
614
+ }[];
615
+ }[];
616
+ mutiSelect: {
617
+ id: string;
618
+ type: string;
619
+ properties: ({
620
+ id: string;
621
+ type: string;
622
+ fields: {
623
+ id: string;
624
+ type: string;
625
+ refId: string;
626
+ value: {
627
+ label: string;
628
+ };
629
+ }[];
630
+ } | {
631
+ id: string;
632
+ type: string;
633
+ fields: {
634
+ id: string;
635
+ type: string;
636
+ refId: string;
637
+ value: {
638
+ common: {
639
+ label: string;
640
+ };
641
+ 'common-en-US': {};
642
+ };
643
+ }[];
644
+ })[];
645
+ types: {
646
+ id: string;
647
+ type: string;
648
+ properties: {
649
+ id: string;
650
+ type: string;
651
+ }[];
652
+ }[];
653
+ }[];
654
+ };
655
+ export declare const inputParam: {
656
+ type: string;
657
+ schema: {
658
+ id: string;
659
+ type: string;
660
+ properties: ({
661
+ id: string;
662
+ type: string;
663
+ fields: {
664
+ id: string;
665
+ type: string;
666
+ refId: string;
667
+ value: {
668
+ label: string;
669
+ };
670
+ }[];
671
+ } | {
672
+ id: string;
673
+ type: string;
674
+ fields: {
675
+ id: string;
676
+ type: string;
677
+ refId: string;
678
+ value: {
679
+ common: {
680
+ label: string;
681
+ };
682
+ 'common-en-US': {};
683
+ };
684
+ }[];
685
+ })[];
686
+ types: {
687
+ id: string;
688
+ type: string;
689
+ properties: {
690
+ id: string;
691
+ type: string;
692
+ fields: {
693
+ id: string;
694
+ type: string;
695
+ refId: string;
696
+ value: {
697
+ text: {};
698
+ common: {
699
+ label: string;
700
+ };
701
+ 'common-en-US': {};
702
+ };
703
+ }[];
704
+ }[];
705
+ }[];
706
+ }[];
707
+ };
708
+ export declare const textareaParam: {
709
+ type: string;
710
+ schema: {
203
711
  id: string;
204
712
  type: string;
205
713
  properties: ({
@@ -249,7 +757,13 @@ export declare const settingSchema: {
249
757
  }[];
250
758
  }[];
251
759
  }[];
252
- dateSchema: {
760
+ rule: {
761
+ type: string;
762
+ };
763
+ };
764
+ export declare const dateParam: {
765
+ type: string;
766
+ schema: {
253
767
  id: string;
254
768
  type: string;
255
769
  properties: ({
@@ -299,8 +813,11 @@ export declare const settingSchema: {
299
813
  }[];
300
814
  }[];
301
815
  }[];
816
+ rule: {
817
+ type: string;
818
+ };
302
819
  };
303
- export declare const inputParam: {
820
+ export declare const numberParam: {
304
821
  type: string;
305
822
  schema: {
306
823
  id: string;
@@ -353,7 +870,7 @@ export declare const inputParam: {
353
870
  }[];
354
871
  }[];
355
872
  };
356
- export declare const textareaParam: {
873
+ export declare const switchParam: {
357
874
  type: string;
358
875
  schema: {
359
876
  id: string;
@@ -405,11 +922,49 @@ export declare const textareaParam: {
405
922
  }[];
406
923
  }[];
407
924
  }[];
408
- rule: {
925
+ };
926
+ export declare const selectParam: {
927
+ type: string;
928
+ schema: {
929
+ id: string;
409
930
  type: string;
410
- };
931
+ properties: ({
932
+ id: string;
933
+ type: string;
934
+ fields: {
935
+ id: string;
936
+ type: string;
937
+ refId: string;
938
+ value: {
939
+ label: string;
940
+ };
941
+ }[];
942
+ } | {
943
+ id: string;
944
+ type: string;
945
+ fields: {
946
+ id: string;
947
+ type: string;
948
+ refId: string;
949
+ value: {
950
+ common: {
951
+ label: string;
952
+ };
953
+ 'common-en-US': {};
954
+ };
955
+ }[];
956
+ })[];
957
+ types: {
958
+ id: string;
959
+ type: string;
960
+ properties: {
961
+ id: string;
962
+ type: string;
963
+ }[];
964
+ }[];
965
+ }[];
411
966
  };
412
- export declare const dateParam: {
967
+ export declare const mutiSelectParam: {
413
968
  type: string;
414
969
  schema: {
415
970
  id: string;
@@ -446,26 +1001,60 @@ export declare const dateParam: {
446
1001
  properties: {
447
1002
  id: string;
448
1003
  type: string;
1004
+ }[];
1005
+ }[];
1006
+ }[];
1007
+ rule: {
1008
+ isMutiple: boolean;
1009
+ };
1010
+ };
1011
+ export declare const basicComps: {
1012
+ id: string;
1013
+ name: string;
1014
+ type: string;
1015
+ param: {
1016
+ type: string;
1017
+ schema: {
1018
+ id: string;
1019
+ type: string;
1020
+ properties: ({
1021
+ id: string;
1022
+ type: string;
1023
+ fields: {
1024
+ id: string;
1025
+ type: string;
1026
+ refId: string;
1027
+ value: {
1028
+ label: string;
1029
+ };
1030
+ }[];
1031
+ } | {
1032
+ id: string;
1033
+ type: string;
449
1034
  fields: {
450
1035
  id: string;
451
1036
  type: string;
452
1037
  refId: string;
453
1038
  value: {
454
- text: {};
455
1039
  common: {
456
1040
  label: string;
457
1041
  };
458
1042
  'common-en-US': {};
459
1043
  };
460
1044
  }[];
1045
+ })[];
1046
+ types: {
1047
+ id: string;
1048
+ type: string;
1049
+ properties: {
1050
+ id: string;
1051
+ type: string;
1052
+ }[];
461
1053
  }[];
462
1054
  }[];
463
- }[];
464
- rule: {
465
- type: string;
466
1055
  };
467
- };
468
- export declare const basicComps: {
1056
+ }[];
1057
+ export declare const layoutComps: {
469
1058
  id: string;
470
1059
  name: string;
471
1060
  type: string;
@@ -523,15 +1112,53 @@ export declare const basicComps: {
523
1112
  }[];
524
1113
  };
525
1114
  }[];
526
- export declare const layoutComps: {
527
- id: string;
528
- name: string;
529
- }[];
530
1115
  export declare const sidebarCtx: {
531
1116
  name: string;
532
1117
  children: {
533
1118
  id: string;
534
1119
  name: string;
1120
+ type: string;
1121
+ param: {
1122
+ type: string;
1123
+ schema: {
1124
+ id: string;
1125
+ type: string;
1126
+ properties: ({
1127
+ id: string;
1128
+ type: string;
1129
+ fields: {
1130
+ id: string;
1131
+ type: string;
1132
+ refId: string;
1133
+ value: {
1134
+ label: string;
1135
+ };
1136
+ }[];
1137
+ } | {
1138
+ id: string;
1139
+ type: string;
1140
+ fields: {
1141
+ id: string;
1142
+ type: string;
1143
+ refId: string;
1144
+ value: {
1145
+ common: {
1146
+ label: string;
1147
+ };
1148
+ 'common-en-US': {};
1149
+ };
1150
+ }[];
1151
+ })[];
1152
+ types: {
1153
+ id: string;
1154
+ type: string;
1155
+ properties: {
1156
+ id: string;
1157
+ type: string;
1158
+ }[];
1159
+ }[];
1160
+ }[];
1161
+ };
535
1162
  }[];
536
1163
  }[];
537
1164
  export declare const dragItemType = "fg-drag";
@@ -699,4 +1326,5 @@ export declare const streamEventType: {
699
1326
  onNodeCopy: string;
700
1327
  onClearCanvas: string;
701
1328
  onSettingValueChange: string;
1329
+ onDropOver: string;
702
1330
  };