ronds-metadata 1.1.86 → 1.1.88
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/es/api/index.d.ts +1 -1
- package/es/api/index.js +21 -7
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.js +1 -8
- package/es/comps/FormGenerator/comps/Canvas/core/index.js +19 -3
- package/es/comps/FormGenerator/comps/Canvas/core/index.less +24 -24
- package/es/comps/FormGenerator/comps/Canvas/index.js +1 -7
- package/es/comps/FormGenerator/index.js +2 -2
- package/es/comps/FormGenerator/index.less +21 -21
- package/es/comps/FormGenerator/settings/index.d.ts +617 -2
- package/es/comps/FormGenerator/settings/index.js +61 -14
- package/es/comps/FormGenerator/settings/ruleConfig.d.ts +19 -0
- package/es/comps/FormGenerator/settings/ruleConfig.js +20 -1
- package/es/comps/FormGenerator/transformer.js +1 -1
- package/es/comps/MetadataForm/DataCell/Select.js +30 -7
- package/es/comps/MetadataForm/utils.js +11 -2
- package/es/framework/metadata/MetadataService.d.ts +1 -1
- package/es/framework/metadata/MetadataService.js +8 -3
- package/es/framework/metadata/types.d.ts +98 -98
- package/package.json +1 -1
@@ -148,6 +148,206 @@ 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
|
+
fields: {
|
287
|
+
id: string;
|
288
|
+
type: string;
|
289
|
+
refId: string;
|
290
|
+
value: {
|
291
|
+
text: {};
|
292
|
+
common: {
|
293
|
+
label: string;
|
294
|
+
};
|
295
|
+
'common-en-US': {};
|
296
|
+
};
|
297
|
+
}[];
|
298
|
+
}[];
|
299
|
+
}[];
|
300
|
+
}[];
|
301
|
+
export declare const mutiSelectSchema: {
|
302
|
+
id: string;
|
303
|
+
type: string;
|
304
|
+
properties: ({
|
305
|
+
id: string;
|
306
|
+
type: string;
|
307
|
+
fields: {
|
308
|
+
id: string;
|
309
|
+
type: string;
|
310
|
+
refId: string;
|
311
|
+
value: {
|
312
|
+
label: string;
|
313
|
+
};
|
314
|
+
}[];
|
315
|
+
} | {
|
316
|
+
id: string;
|
317
|
+
type: string;
|
318
|
+
fields: {
|
319
|
+
id: string;
|
320
|
+
type: string;
|
321
|
+
refId: string;
|
322
|
+
value: {
|
323
|
+
common: {
|
324
|
+
label: string;
|
325
|
+
};
|
326
|
+
'common-en-US': {};
|
327
|
+
};
|
328
|
+
}[];
|
329
|
+
})[];
|
330
|
+
types: {
|
331
|
+
id: string;
|
332
|
+
type: string;
|
333
|
+
properties: {
|
334
|
+
id: string;
|
335
|
+
type: string;
|
336
|
+
fields: {
|
337
|
+
id: string;
|
338
|
+
type: string;
|
339
|
+
refId: string;
|
340
|
+
value: {
|
341
|
+
text: {};
|
342
|
+
common: {
|
343
|
+
label: string;
|
344
|
+
};
|
345
|
+
'common-en-US': {};
|
346
|
+
};
|
347
|
+
}[];
|
348
|
+
}[];
|
349
|
+
}[];
|
350
|
+
}[];
|
151
351
|
export declare const settingSchema: {
|
152
352
|
input: {
|
153
353
|
id: string;
|
@@ -199,7 +399,207 @@ export declare const settingSchema: {
|
|
199
399
|
}[];
|
200
400
|
}[];
|
201
401
|
}[];
|
202
|
-
textarea: {
|
402
|
+
textarea: {
|
403
|
+
id: string;
|
404
|
+
type: string;
|
405
|
+
properties: ({
|
406
|
+
id: string;
|
407
|
+
type: string;
|
408
|
+
fields: {
|
409
|
+
id: string;
|
410
|
+
type: string;
|
411
|
+
refId: string;
|
412
|
+
value: {
|
413
|
+
label: string;
|
414
|
+
};
|
415
|
+
}[];
|
416
|
+
} | {
|
417
|
+
id: string;
|
418
|
+
type: string;
|
419
|
+
fields: {
|
420
|
+
id: string;
|
421
|
+
type: string;
|
422
|
+
refId: string;
|
423
|
+
value: {
|
424
|
+
common: {
|
425
|
+
label: string;
|
426
|
+
};
|
427
|
+
'common-en-US': {};
|
428
|
+
};
|
429
|
+
}[];
|
430
|
+
})[];
|
431
|
+
types: {
|
432
|
+
id: string;
|
433
|
+
type: string;
|
434
|
+
properties: {
|
435
|
+
id: string;
|
436
|
+
type: string;
|
437
|
+
fields: {
|
438
|
+
id: string;
|
439
|
+
type: string;
|
440
|
+
refId: string;
|
441
|
+
value: {
|
442
|
+
text: {};
|
443
|
+
common: {
|
444
|
+
label: string;
|
445
|
+
};
|
446
|
+
'common-en-US': {};
|
447
|
+
};
|
448
|
+
}[];
|
449
|
+
}[];
|
450
|
+
}[];
|
451
|
+
}[];
|
452
|
+
date: {
|
453
|
+
id: string;
|
454
|
+
type: string;
|
455
|
+
properties: ({
|
456
|
+
id: string;
|
457
|
+
type: string;
|
458
|
+
fields: {
|
459
|
+
id: string;
|
460
|
+
type: string;
|
461
|
+
refId: string;
|
462
|
+
value: {
|
463
|
+
label: string;
|
464
|
+
};
|
465
|
+
}[];
|
466
|
+
} | {
|
467
|
+
id: string;
|
468
|
+
type: string;
|
469
|
+
fields: {
|
470
|
+
id: string;
|
471
|
+
type: string;
|
472
|
+
refId: string;
|
473
|
+
value: {
|
474
|
+
common: {
|
475
|
+
label: string;
|
476
|
+
};
|
477
|
+
'common-en-US': {};
|
478
|
+
};
|
479
|
+
}[];
|
480
|
+
})[];
|
481
|
+
types: {
|
482
|
+
id: string;
|
483
|
+
type: string;
|
484
|
+
properties: {
|
485
|
+
id: string;
|
486
|
+
type: string;
|
487
|
+
fields: {
|
488
|
+
id: string;
|
489
|
+
type: string;
|
490
|
+
refId: string;
|
491
|
+
value: {
|
492
|
+
text: {};
|
493
|
+
common: {
|
494
|
+
label: string;
|
495
|
+
};
|
496
|
+
'common-en-US': {};
|
497
|
+
};
|
498
|
+
}[];
|
499
|
+
}[];
|
500
|
+
}[];
|
501
|
+
}[];
|
502
|
+
numebr: {
|
503
|
+
id: string;
|
504
|
+
type: string;
|
505
|
+
properties: ({
|
506
|
+
id: string;
|
507
|
+
type: string;
|
508
|
+
fields: {
|
509
|
+
id: string;
|
510
|
+
type: string;
|
511
|
+
refId: string;
|
512
|
+
value: {
|
513
|
+
label: string;
|
514
|
+
};
|
515
|
+
}[];
|
516
|
+
} | {
|
517
|
+
id: string;
|
518
|
+
type: string;
|
519
|
+
fields: {
|
520
|
+
id: string;
|
521
|
+
type: string;
|
522
|
+
refId: string;
|
523
|
+
value: {
|
524
|
+
common: {
|
525
|
+
label: string;
|
526
|
+
};
|
527
|
+
'common-en-US': {};
|
528
|
+
};
|
529
|
+
}[];
|
530
|
+
})[];
|
531
|
+
types: {
|
532
|
+
id: string;
|
533
|
+
type: string;
|
534
|
+
properties: {
|
535
|
+
id: string;
|
536
|
+
type: string;
|
537
|
+
fields: {
|
538
|
+
id: string;
|
539
|
+
type: string;
|
540
|
+
refId: string;
|
541
|
+
value: {
|
542
|
+
text: {};
|
543
|
+
common: {
|
544
|
+
label: string;
|
545
|
+
};
|
546
|
+
'common-en-US': {};
|
547
|
+
};
|
548
|
+
}[];
|
549
|
+
}[];
|
550
|
+
}[];
|
551
|
+
}[];
|
552
|
+
switch: {
|
553
|
+
id: string;
|
554
|
+
type: string;
|
555
|
+
properties: ({
|
556
|
+
id: string;
|
557
|
+
type: string;
|
558
|
+
fields: {
|
559
|
+
id: string;
|
560
|
+
type: string;
|
561
|
+
refId: string;
|
562
|
+
value: {
|
563
|
+
label: string;
|
564
|
+
};
|
565
|
+
}[];
|
566
|
+
} | {
|
567
|
+
id: string;
|
568
|
+
type: string;
|
569
|
+
fields: {
|
570
|
+
id: string;
|
571
|
+
type: string;
|
572
|
+
refId: string;
|
573
|
+
value: {
|
574
|
+
common: {
|
575
|
+
label: string;
|
576
|
+
};
|
577
|
+
'common-en-US': {};
|
578
|
+
};
|
579
|
+
}[];
|
580
|
+
})[];
|
581
|
+
types: {
|
582
|
+
id: string;
|
583
|
+
type: string;
|
584
|
+
properties: {
|
585
|
+
id: string;
|
586
|
+
type: string;
|
587
|
+
fields: {
|
588
|
+
id: string;
|
589
|
+
type: string;
|
590
|
+
refId: string;
|
591
|
+
value: {
|
592
|
+
text: {};
|
593
|
+
common: {
|
594
|
+
label: string;
|
595
|
+
};
|
596
|
+
'common-en-US': {};
|
597
|
+
};
|
598
|
+
}[];
|
599
|
+
}[];
|
600
|
+
}[];
|
601
|
+
}[];
|
602
|
+
select: {
|
203
603
|
id: string;
|
204
604
|
type: string;
|
205
605
|
properties: ({
|
@@ -249,7 +649,7 @@ export declare const settingSchema: {
|
|
249
649
|
}[];
|
250
650
|
}[];
|
251
651
|
}[];
|
252
|
-
|
652
|
+
mutiSelect: {
|
253
653
|
id: string;
|
254
654
|
type: string;
|
255
655
|
properties: ({
|
@@ -465,6 +865,221 @@ export declare const dateParam: {
|
|
465
865
|
type: string;
|
466
866
|
};
|
467
867
|
};
|
868
|
+
export declare const numberParam: {
|
869
|
+
type: string;
|
870
|
+
schema: {
|
871
|
+
id: string;
|
872
|
+
type: string;
|
873
|
+
properties: ({
|
874
|
+
id: string;
|
875
|
+
type: string;
|
876
|
+
fields: {
|
877
|
+
id: string;
|
878
|
+
type: string;
|
879
|
+
refId: string;
|
880
|
+
value: {
|
881
|
+
label: string;
|
882
|
+
};
|
883
|
+
}[];
|
884
|
+
} | {
|
885
|
+
id: string;
|
886
|
+
type: string;
|
887
|
+
fields: {
|
888
|
+
id: string;
|
889
|
+
type: string;
|
890
|
+
refId: string;
|
891
|
+
value: {
|
892
|
+
common: {
|
893
|
+
label: string;
|
894
|
+
};
|
895
|
+
'common-en-US': {};
|
896
|
+
};
|
897
|
+
}[];
|
898
|
+
})[];
|
899
|
+
types: {
|
900
|
+
id: string;
|
901
|
+
type: string;
|
902
|
+
properties: {
|
903
|
+
id: string;
|
904
|
+
type: string;
|
905
|
+
fields: {
|
906
|
+
id: string;
|
907
|
+
type: string;
|
908
|
+
refId: string;
|
909
|
+
value: {
|
910
|
+
text: {};
|
911
|
+
common: {
|
912
|
+
label: string;
|
913
|
+
};
|
914
|
+
'common-en-US': {};
|
915
|
+
};
|
916
|
+
}[];
|
917
|
+
}[];
|
918
|
+
}[];
|
919
|
+
}[];
|
920
|
+
};
|
921
|
+
export declare const switchParam: {
|
922
|
+
type: string;
|
923
|
+
schema: {
|
924
|
+
id: string;
|
925
|
+
type: string;
|
926
|
+
properties: ({
|
927
|
+
id: string;
|
928
|
+
type: string;
|
929
|
+
fields: {
|
930
|
+
id: string;
|
931
|
+
type: string;
|
932
|
+
refId: string;
|
933
|
+
value: {
|
934
|
+
label: string;
|
935
|
+
};
|
936
|
+
}[];
|
937
|
+
} | {
|
938
|
+
id: string;
|
939
|
+
type: string;
|
940
|
+
fields: {
|
941
|
+
id: string;
|
942
|
+
type: string;
|
943
|
+
refId: string;
|
944
|
+
value: {
|
945
|
+
common: {
|
946
|
+
label: string;
|
947
|
+
};
|
948
|
+
'common-en-US': {};
|
949
|
+
};
|
950
|
+
}[];
|
951
|
+
})[];
|
952
|
+
types: {
|
953
|
+
id: string;
|
954
|
+
type: string;
|
955
|
+
properties: {
|
956
|
+
id: string;
|
957
|
+
type: string;
|
958
|
+
fields: {
|
959
|
+
id: string;
|
960
|
+
type: string;
|
961
|
+
refId: string;
|
962
|
+
value: {
|
963
|
+
text: {};
|
964
|
+
common: {
|
965
|
+
label: string;
|
966
|
+
};
|
967
|
+
'common-en-US': {};
|
968
|
+
};
|
969
|
+
}[];
|
970
|
+
}[];
|
971
|
+
}[];
|
972
|
+
}[];
|
973
|
+
};
|
974
|
+
export declare const selectParam: {
|
975
|
+
type: string;
|
976
|
+
schema: {
|
977
|
+
id: string;
|
978
|
+
type: string;
|
979
|
+
properties: ({
|
980
|
+
id: string;
|
981
|
+
type: string;
|
982
|
+
fields: {
|
983
|
+
id: string;
|
984
|
+
type: string;
|
985
|
+
refId: string;
|
986
|
+
value: {
|
987
|
+
label: string;
|
988
|
+
};
|
989
|
+
}[];
|
990
|
+
} | {
|
991
|
+
id: string;
|
992
|
+
type: string;
|
993
|
+
fields: {
|
994
|
+
id: string;
|
995
|
+
type: string;
|
996
|
+
refId: string;
|
997
|
+
value: {
|
998
|
+
common: {
|
999
|
+
label: string;
|
1000
|
+
};
|
1001
|
+
'common-en-US': {};
|
1002
|
+
};
|
1003
|
+
}[];
|
1004
|
+
})[];
|
1005
|
+
types: {
|
1006
|
+
id: string;
|
1007
|
+
type: string;
|
1008
|
+
properties: {
|
1009
|
+
id: string;
|
1010
|
+
type: string;
|
1011
|
+
fields: {
|
1012
|
+
id: string;
|
1013
|
+
type: string;
|
1014
|
+
refId: string;
|
1015
|
+
value: {
|
1016
|
+
text: {};
|
1017
|
+
common: {
|
1018
|
+
label: string;
|
1019
|
+
};
|
1020
|
+
'common-en-US': {};
|
1021
|
+
};
|
1022
|
+
}[];
|
1023
|
+
}[];
|
1024
|
+
}[];
|
1025
|
+
}[];
|
1026
|
+
};
|
1027
|
+
export declare const mutiSelectParam: {
|
1028
|
+
type: string;
|
1029
|
+
schema: {
|
1030
|
+
id: string;
|
1031
|
+
type: string;
|
1032
|
+
properties: ({
|
1033
|
+
id: string;
|
1034
|
+
type: string;
|
1035
|
+
fields: {
|
1036
|
+
id: string;
|
1037
|
+
type: string;
|
1038
|
+
refId: string;
|
1039
|
+
value: {
|
1040
|
+
label: string;
|
1041
|
+
};
|
1042
|
+
}[];
|
1043
|
+
} | {
|
1044
|
+
id: string;
|
1045
|
+
type: string;
|
1046
|
+
fields: {
|
1047
|
+
id: string;
|
1048
|
+
type: string;
|
1049
|
+
refId: string;
|
1050
|
+
value: {
|
1051
|
+
common: {
|
1052
|
+
label: string;
|
1053
|
+
};
|
1054
|
+
'common-en-US': {};
|
1055
|
+
};
|
1056
|
+
}[];
|
1057
|
+
})[];
|
1058
|
+
types: {
|
1059
|
+
id: string;
|
1060
|
+
type: string;
|
1061
|
+
properties: {
|
1062
|
+
id: string;
|
1063
|
+
type: string;
|
1064
|
+
fields: {
|
1065
|
+
id: string;
|
1066
|
+
type: string;
|
1067
|
+
refId: string;
|
1068
|
+
value: {
|
1069
|
+
text: {};
|
1070
|
+
common: {
|
1071
|
+
label: string;
|
1072
|
+
};
|
1073
|
+
'common-en-US': {};
|
1074
|
+
};
|
1075
|
+
}[];
|
1076
|
+
}[];
|
1077
|
+
}[];
|
1078
|
+
}[];
|
1079
|
+
rule: {
|
1080
|
+
isMutiple: boolean;
|
1081
|
+
};
|
1082
|
+
};
|
468
1083
|
export declare const basicComps: {
|
469
1084
|
id: string;
|
470
1085
|
name: string;
|