@next-bricks/form 1.9.10 → 1.9.12
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/bricks.json +30 -30
- package/dist/chunks/{114.22e33460.js → 114.8692fae2.js} +2 -2
- package/dist/chunks/{114.22e33460.js.map → 114.8692fae2.js.map} +1 -1
- package/dist/chunks/{1269.54e4c66b.js → 1269.3eb7df89.js} +2 -2
- package/dist/chunks/{1269.54e4c66b.js.map → 1269.3eb7df89.js.map} +1 -1
- package/dist/chunks/{1889.004f20a1.js → 1889.df57ce6f.js} +2 -2
- package/dist/chunks/{1889.004f20a1.js.map → 1889.df57ce6f.js.map} +1 -1
- package/dist/chunks/{1940.b9abb8c5.js → 1940.0f78f985.js} +2 -2
- package/dist/chunks/{1940.b9abb8c5.js.map → 1940.0f78f985.js.map} +1 -1
- package/dist/chunks/{2277.8f64ef60.js → 2277.483bec61.js} +2 -2
- package/dist/chunks/{2277.8f64ef60.js.map → 2277.483bec61.js.map} +1 -1
- package/dist/chunks/{3171.950d3044.js → 3171.1ecb4921.js} +2 -2
- package/dist/chunks/{3171.950d3044.js.map → 3171.1ecb4921.js.map} +1 -1
- package/dist/chunks/{3933.6d84e6d6.js → 3933.7a45287d.js} +2 -2
- package/dist/chunks/{3933.6d84e6d6.js.map → 3933.7a45287d.js.map} +1 -1
- package/dist/chunks/{4658.013f10c4.js → 4658.aa675c0b.js} +2 -2
- package/dist/chunks/{4658.013f10c4.js.map → 4658.aa675c0b.js.map} +1 -1
- package/dist/chunks/{5552.c43d9ed9.js → 5552.625e5a95.js} +2 -2
- package/dist/chunks/{5552.c43d9ed9.js.map → 5552.625e5a95.js.map} +1 -1
- package/dist/chunks/{6314.c44c4ded.js → 6314.7428b72b.js} +2 -2
- package/dist/chunks/{6314.c44c4ded.js.map → 6314.7428b72b.js.map} +1 -1
- package/dist/chunks/{7115.f4c27ab5.js → 7115.a437ff2a.js} +2 -2
- package/dist/chunks/{7115.f4c27ab5.js.map → 7115.a437ff2a.js.map} +1 -1
- package/dist/chunks/{7733.420b5fb9.js → 7733.49b773d6.js} +2 -2
- package/dist/chunks/{7733.420b5fb9.js.map → 7733.49b773d6.js.map} +1 -1
- package/dist/chunks/{790.5dd9bc12.js → 790.950b08a8.js} +2 -2
- package/dist/chunks/{790.5dd9bc12.js.map → 790.950b08a8.js.map} +1 -1
- package/dist/chunks/{818.0e60c75d.js → 818.44f4a1f8.js} +3 -3
- package/dist/chunks/{818.0e60c75d.js.map → 818.44f4a1f8.js.map} +1 -1
- package/dist/chunks/9248.43b18785.js +2 -0
- package/dist/chunks/{9248.3e16d613.js.map → 9248.43b18785.js.map} +1 -1
- package/dist/chunks/9259.f789387c.js +3 -0
- package/dist/chunks/9259.f789387c.js.map +1 -0
- package/dist/chunks/{9496.3676c293.js → 9496.02c228ff.js} +2 -2
- package/dist/chunks/{9496.3676c293.js.map → 9496.02c228ff.js.map} +1 -1
- package/dist/chunks/{9515.3824dc76.js → 9515.43552523.js} +2 -2
- package/dist/chunks/{9515.3824dc76.js.map → 9515.43552523.js.map} +1 -1
- package/dist/chunks/{9559.a627254b.js → 9559.07f9e152.js} +2 -2
- package/dist/chunks/{9559.a627254b.js.map → 9559.07f9e152.js.map} +1 -1
- package/dist/chunks/eo-auto-complete.5e6c61c8.js +3 -0
- package/dist/chunks/{eo-auto-complete.27d63bb7.js.map → eo-auto-complete.5e6c61c8.js.map} +1 -1
- package/dist/chunks/eo-checkbox.af58e804.js +2 -0
- package/dist/chunks/{eo-checkbox.2d909a08.js.map → eo-checkbox.af58e804.js.map} +1 -1
- package/dist/chunks/{eo-color-picker.9b93ab20.js → eo-color-picker.5c3dce6b.js} +2 -2
- package/dist/chunks/{eo-color-picker.9b93ab20.js.map → eo-color-picker.5c3dce6b.js.map} +1 -1
- package/dist/chunks/{eo-date-picker.ece15054.js → eo-date-picker.5e68a357.js} +2 -2
- package/dist/chunks/{eo-date-picker.ece15054.js.map → eo-date-picker.5e68a357.js.map} +1 -1
- package/dist/chunks/{eo-dynamic-form-item.5148de02.js → eo-dynamic-form-item.8d3281ed.js} +3 -3
- package/dist/chunks/{eo-dynamic-form-item.5148de02.js.map → eo-dynamic-form-item.8d3281ed.js.map} +1 -1
- package/dist/chunks/eo-form-item.8f6b3ad7.js +3 -0
- package/dist/chunks/{eo-form-item.eb83ac0a.js.map → eo-form-item.8f6b3ad7.js.map} +1 -1
- package/dist/chunks/eo-form.4ff09a23.js +2 -0
- package/dist/chunks/{eo-form.0e58f33b.js.map → eo-form.4ff09a23.js.map} +1 -1
- package/dist/chunks/eo-icon-select.4d714910.js +3 -0
- package/dist/chunks/{eo-icon-select.2446679c.js.map → eo-icon-select.4d714910.js.map} +1 -1
- package/dist/chunks/eo-input.7a21a8bf.js +3 -0
- package/dist/chunks/{eo-input.d9018d17.js.map → eo-input.7a21a8bf.js.map} +1 -1
- package/dist/chunks/{eo-radio.3f3333bc.js → eo-radio.8cb630e8.js} +3 -3
- package/dist/chunks/{eo-radio.3f3333bc.js.map → eo-radio.8cb630e8.js.map} +1 -1
- package/dist/chunks/eo-search.40491e27.js +2 -0
- package/dist/chunks/{eo-search.1a3293a8.js.map → eo-search.40491e27.js.map} +1 -1
- package/dist/chunks/eo-select.e02eae32.js +3 -0
- package/dist/chunks/eo-select.e02eae32.js.map +1 -0
- package/dist/chunks/eo-submit-buttons.a14f9dcb.js +2 -0
- package/dist/chunks/{eo-submit-buttons.8a9b72d9.js.map → eo-submit-buttons.a14f9dcb.js.map} +1 -1
- package/dist/chunks/eo-switch.8818d6ac.js +3 -0
- package/dist/chunks/{eo-switch.e644ffeb.js.map → eo-switch.8818d6ac.js.map} +1 -1
- package/dist/chunks/eo-textarea.06fe9731.js +3 -0
- package/dist/chunks/{eo-textarea.05ea0943.js.map → eo-textarea.06fe9731.js.map} +1 -1
- package/dist/chunks/{eo-time-picker.17d2ea22.js → eo-time-picker.46eeff9d.js} +2 -2
- package/dist/chunks/{eo-time-picker.17d2ea22.js.map → eo-time-picker.46eeff9d.js.map} +1 -1
- package/dist/chunks/{eo-time-range-picker.8f0efdfa.js → eo-time-range-picker.e00968c4.js} +2 -2
- package/dist/chunks/{eo-time-range-picker.8f0efdfa.js.map → eo-time-range-picker.e00968c4.js.map} +1 -1
- package/dist/chunks/{eo-upload-file.e8e960b9.js → eo-upload-file.340b9a4c.js} +3 -3
- package/dist/chunks/{eo-upload-file.e8e960b9.js.map → eo-upload-file.340b9a4c.js.map} +1 -1
- package/dist/chunks/eo-upload-image.be6506c5.js +3 -0
- package/dist/chunks/{eo-upload-image.8f9c1bc2.js.map → eo-upload-image.be6506c5.js.map} +1 -1
- package/dist/chunks/main.4ad0fd74.js +2 -0
- package/dist/chunks/main.4ad0fd74.js.map +1 -0
- package/dist/examples.json +10 -10
- package/dist/index.ed713f1f.js +2 -0
- package/dist/index.ed713f1f.js.map +1 -0
- package/dist/manifest.json +246 -246
- package/dist/types.json +671 -658
- package/dist-types/select/index.d.ts +6 -2
- package/docs/eo-select.md +9 -7
- package/package.json +3 -3
- package/dist/chunks/9248.3e16d613.js +0 -2
- package/dist/chunks/9259.ba9211d5.js +0 -3
- package/dist/chunks/9259.ba9211d5.js.map +0 -1
- package/dist/chunks/eo-auto-complete.27d63bb7.js +0 -3
- package/dist/chunks/eo-checkbox.2d909a08.js +0 -2
- package/dist/chunks/eo-form-item.eb83ac0a.js +0 -3
- package/dist/chunks/eo-form.0e58f33b.js +0 -2
- package/dist/chunks/eo-icon-select.2446679c.js +0 -3
- package/dist/chunks/eo-input.d9018d17.js +0 -3
- package/dist/chunks/eo-search.1a3293a8.js +0 -2
- package/dist/chunks/eo-select.b6fa4d93.js +0 -3
- package/dist/chunks/eo-select.b6fa4d93.js.map +0 -1
- package/dist/chunks/eo-submit-buttons.8a9b72d9.js +0 -2
- package/dist/chunks/eo-switch.e644ffeb.js +0 -3
- package/dist/chunks/eo-textarea.05ea0943.js +0 -3
- package/dist/chunks/eo-upload-image.8f9c1bc2.js +0 -3
- package/dist/chunks/main.9ddca443.js +0 -2
- package/dist/chunks/main.9ddca443.js.map +0 -1
- package/dist/index.ae34fc6e.js +0 -2
- package/dist/index.ae34fc6e.js.map +0 -1
- /package/dist/chunks/{818.0e60c75d.js.LICENSE.txt → 818.44f4a1f8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{9259.ba9211d5.js.LICENSE.txt → 9259.f789387c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-auto-complete.27d63bb7.js.LICENSE.txt → eo-auto-complete.5e6c61c8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.5148de02.js.LICENSE.txt → eo-dynamic-form-item.8d3281ed.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-form-item.eb83ac0a.js.LICENSE.txt → eo-form-item.8f6b3ad7.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.2446679c.js.LICENSE.txt → eo-icon-select.4d714910.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-input.d9018d17.js.LICENSE.txt → eo-input.7a21a8bf.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.3f3333bc.js.LICENSE.txt → eo-radio.8cb630e8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.b6fa4d93.js.LICENSE.txt → eo-select.e02eae32.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-switch.e644ffeb.js.LICENSE.txt → eo-switch.8818d6ac.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.05ea0943.js.LICENSE.txt → eo-textarea.06fe9731.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.e8e960b9.js.LICENSE.txt → eo-upload-file.340b9a4c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.8f9c1bc2.js.LICENSE.txt → eo-upload-image.be6506c5.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -287,97 +287,6 @@
|
|
|
287
287
|
"category": "form-input-basic",
|
|
288
288
|
"insider": true
|
|
289
289
|
},
|
|
290
|
-
{
|
|
291
|
-
"name": "eo-textarea",
|
|
292
|
-
"alias": [
|
|
293
|
-
"form.general-textarea"
|
|
294
|
-
],
|
|
295
|
-
"properties": [
|
|
296
|
-
{
|
|
297
|
-
"name": "name",
|
|
298
|
-
"description": "字段名称",
|
|
299
|
-
"type": "string"
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"name": "label",
|
|
303
|
-
"description": "标签文字",
|
|
304
|
-
"type": "string"
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"name": "value",
|
|
308
|
-
"description": "值",
|
|
309
|
-
"type": "string"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"name": "placeholder",
|
|
313
|
-
"description": "占位说明",
|
|
314
|
-
"type": "string"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"name": "disabled",
|
|
318
|
-
"description": "是否禁用",
|
|
319
|
-
"type": "boolean"
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"name": "minLength",
|
|
323
|
-
"description": "最小长度",
|
|
324
|
-
"type": "number"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"name": "maxLength",
|
|
328
|
-
"description": "最大长度",
|
|
329
|
-
"type": "number"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"name": "autoSize",
|
|
333
|
-
"description": "大小自适应",
|
|
334
|
-
"attribute": false,
|
|
335
|
-
"type": "AutoSize"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"name": "required",
|
|
339
|
-
"description": "是否必填",
|
|
340
|
-
"type": "boolean"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"name": "max",
|
|
344
|
-
"description": "表单校验最大长度",
|
|
345
|
-
"type": "number"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"name": "min",
|
|
349
|
-
"description": "表单校验最小长度",
|
|
350
|
-
"type": "number"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
"name": "message",
|
|
354
|
-
"description": "校验信息",
|
|
355
|
-
"attribute": false,
|
|
356
|
-
"type": "Record<string, string>"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"name": "textareaStyle",
|
|
360
|
-
"description": "自定义样式",
|
|
361
|
-
"attribute": false,
|
|
362
|
-
"type": "React.CSSProperties"
|
|
363
|
-
}
|
|
364
|
-
],
|
|
365
|
-
"events": [
|
|
366
|
-
{
|
|
367
|
-
"name": "change",
|
|
368
|
-
"description": "",
|
|
369
|
-
"detail": {
|
|
370
|
-
"description": null,
|
|
371
|
-
"type": "string"
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
],
|
|
375
|
-
"slots": [],
|
|
376
|
-
"methods": [],
|
|
377
|
-
"parts": [],
|
|
378
|
-
"description": "通用多行文本输入框构件",
|
|
379
|
-
"category": "form-input-basic"
|
|
380
|
-
},
|
|
381
290
|
{
|
|
382
291
|
"name": "eo-form",
|
|
383
292
|
"alias": [
|
|
@@ -513,104 +422,6 @@
|
|
|
513
422
|
"description": "表单构件",
|
|
514
423
|
"category": "form-input-basic"
|
|
515
424
|
},
|
|
516
|
-
{
|
|
517
|
-
"name": "eo-radio",
|
|
518
|
-
"alias": [
|
|
519
|
-
"form.general-radio"
|
|
520
|
-
],
|
|
521
|
-
"properties": [
|
|
522
|
-
{
|
|
523
|
-
"name": "name",
|
|
524
|
-
"description": "下拉框字段名",
|
|
525
|
-
"type": "string"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"name": "label",
|
|
529
|
-
"description": "单选框字段说明",
|
|
530
|
-
"type": "string"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"name": "options",
|
|
534
|
-
"description": "单选框选项表",
|
|
535
|
-
"required": true,
|
|
536
|
-
"attribute": false,
|
|
537
|
-
"type": "GeneralOption[]"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"name": "value",
|
|
541
|
-
"description": "单选框当前选中始值",
|
|
542
|
-
"attribute": false,
|
|
543
|
-
"type": "any"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"name": "required",
|
|
547
|
-
"description": "是否必填",
|
|
548
|
-
"type": "boolean"
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"name": "message",
|
|
552
|
-
"description": "校验文本信息",
|
|
553
|
-
"attribute": false,
|
|
554
|
-
"type": "Record<string, string>"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"name": "disabled",
|
|
558
|
-
"description": "是否禁用",
|
|
559
|
-
"type": "boolean"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"name": "type",
|
|
563
|
-
"description": "单选框样式类型",
|
|
564
|
-
"default": "\"default\"",
|
|
565
|
-
"type": "RadioType"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "ui",
|
|
569
|
-
"description": "UI样式",
|
|
570
|
-
"default": "\"default\"",
|
|
571
|
-
"type": "UIType"
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
"name": "size",
|
|
575
|
-
"description": "大小,只对按钮样式生效",
|
|
576
|
-
"default": "\"medium\"",
|
|
577
|
-
"type": "ComponentSize"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"name": "customStyle",
|
|
581
|
-
"description": "自定义radio的外层样式",
|
|
582
|
-
"attribute": false,
|
|
583
|
-
"type": "React.CSSProperties"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"name": "useBrick",
|
|
587
|
-
"description": "自定义radio的内容",
|
|
588
|
-
"attribute": false,
|
|
589
|
-
"type": "UseSingleBrickConf"
|
|
590
|
-
}
|
|
591
|
-
],
|
|
592
|
-
"events": [
|
|
593
|
-
{
|
|
594
|
-
"name": "change",
|
|
595
|
-
"description": "值变化事件",
|
|
596
|
-
"detail": {
|
|
597
|
-
"type": "GeneralComplexOption | undefined"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"name": "options.change",
|
|
602
|
-
"description": "选项列表变化事件",
|
|
603
|
-
"detail": {
|
|
604
|
-
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
],
|
|
608
|
-
"slots": [],
|
|
609
|
-
"methods": [],
|
|
610
|
-
"parts": [],
|
|
611
|
-
"description": "通用单选构件",
|
|
612
|
-
"category": "form-input-basic"
|
|
613
|
-
},
|
|
614
425
|
{
|
|
615
426
|
"name": "eo-select",
|
|
616
427
|
"alias": [
|
|
@@ -686,7 +497,7 @@
|
|
|
686
497
|
"name": "suffix",
|
|
687
498
|
"description": "",
|
|
688
499
|
"attribute": false,
|
|
689
|
-
"type": "UseSingleBrickConf"
|
|
500
|
+
"type": "{ useBrick: UseSingleBrickConf }"
|
|
690
501
|
},
|
|
691
502
|
{
|
|
692
503
|
"name": "clearable",
|
|
@@ -813,6 +624,97 @@
|
|
|
813
624
|
"description": "表单提交按钮",
|
|
814
625
|
"category": "form-input-basic"
|
|
815
626
|
},
|
|
627
|
+
{
|
|
628
|
+
"name": "eo-textarea",
|
|
629
|
+
"alias": [
|
|
630
|
+
"form.general-textarea"
|
|
631
|
+
],
|
|
632
|
+
"properties": [
|
|
633
|
+
{
|
|
634
|
+
"name": "name",
|
|
635
|
+
"description": "字段名称",
|
|
636
|
+
"type": "string"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "label",
|
|
640
|
+
"description": "标签文字",
|
|
641
|
+
"type": "string"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"name": "value",
|
|
645
|
+
"description": "值",
|
|
646
|
+
"type": "string"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "placeholder",
|
|
650
|
+
"description": "占位说明",
|
|
651
|
+
"type": "string"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"name": "disabled",
|
|
655
|
+
"description": "是否禁用",
|
|
656
|
+
"type": "boolean"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"name": "minLength",
|
|
660
|
+
"description": "最小长度",
|
|
661
|
+
"type": "number"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "maxLength",
|
|
665
|
+
"description": "最大长度",
|
|
666
|
+
"type": "number"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "autoSize",
|
|
670
|
+
"description": "大小自适应",
|
|
671
|
+
"attribute": false,
|
|
672
|
+
"type": "AutoSize"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"name": "required",
|
|
676
|
+
"description": "是否必填",
|
|
677
|
+
"type": "boolean"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "max",
|
|
681
|
+
"description": "表单校验最大长度",
|
|
682
|
+
"type": "number"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"name": "min",
|
|
686
|
+
"description": "表单校验最小长度",
|
|
687
|
+
"type": "number"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "message",
|
|
691
|
+
"description": "校验信息",
|
|
692
|
+
"attribute": false,
|
|
693
|
+
"type": "Record<string, string>"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "textareaStyle",
|
|
697
|
+
"description": "自定义样式",
|
|
698
|
+
"attribute": false,
|
|
699
|
+
"type": "React.CSSProperties"
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
"events": [
|
|
703
|
+
{
|
|
704
|
+
"name": "change",
|
|
705
|
+
"description": "",
|
|
706
|
+
"detail": {
|
|
707
|
+
"description": null,
|
|
708
|
+
"type": "string"
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
],
|
|
712
|
+
"slots": [],
|
|
713
|
+
"methods": [],
|
|
714
|
+
"parts": [],
|
|
715
|
+
"description": "通用多行文本输入框构件",
|
|
716
|
+
"category": "form-input-basic"
|
|
717
|
+
},
|
|
816
718
|
{
|
|
817
719
|
"name": "eo-checkbox",
|
|
818
720
|
"alias": [
|
|
@@ -997,6 +899,104 @@
|
|
|
997
899
|
"description": "动态表单",
|
|
998
900
|
"category": "form-input-basic"
|
|
999
901
|
},
|
|
902
|
+
{
|
|
903
|
+
"name": "eo-radio",
|
|
904
|
+
"alias": [
|
|
905
|
+
"form.general-radio"
|
|
906
|
+
],
|
|
907
|
+
"properties": [
|
|
908
|
+
{
|
|
909
|
+
"name": "name",
|
|
910
|
+
"description": "下拉框字段名",
|
|
911
|
+
"type": "string"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"name": "label",
|
|
915
|
+
"description": "单选框字段说明",
|
|
916
|
+
"type": "string"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"name": "options",
|
|
920
|
+
"description": "单选框选项表",
|
|
921
|
+
"required": true,
|
|
922
|
+
"attribute": false,
|
|
923
|
+
"type": "GeneralOption[]"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"name": "value",
|
|
927
|
+
"description": "单选框当前选中始值",
|
|
928
|
+
"attribute": false,
|
|
929
|
+
"type": "any"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "required",
|
|
933
|
+
"description": "是否必填",
|
|
934
|
+
"type": "boolean"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"name": "message",
|
|
938
|
+
"description": "校验文本信息",
|
|
939
|
+
"attribute": false,
|
|
940
|
+
"type": "Record<string, string>"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"name": "disabled",
|
|
944
|
+
"description": "是否禁用",
|
|
945
|
+
"type": "boolean"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"name": "type",
|
|
949
|
+
"description": "单选框样式类型",
|
|
950
|
+
"default": "\"default\"",
|
|
951
|
+
"type": "RadioType"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"name": "ui",
|
|
955
|
+
"description": "UI样式",
|
|
956
|
+
"default": "\"default\"",
|
|
957
|
+
"type": "UIType"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"name": "size",
|
|
961
|
+
"description": "大小,只对按钮样式生效",
|
|
962
|
+
"default": "\"medium\"",
|
|
963
|
+
"type": "ComponentSize"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "customStyle",
|
|
967
|
+
"description": "自定义radio的外层样式",
|
|
968
|
+
"attribute": false,
|
|
969
|
+
"type": "React.CSSProperties"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"name": "useBrick",
|
|
973
|
+
"description": "自定义radio的内容",
|
|
974
|
+
"attribute": false,
|
|
975
|
+
"type": "UseSingleBrickConf"
|
|
976
|
+
}
|
|
977
|
+
],
|
|
978
|
+
"events": [
|
|
979
|
+
{
|
|
980
|
+
"name": "change",
|
|
981
|
+
"description": "值变化事件",
|
|
982
|
+
"detail": {
|
|
983
|
+
"type": "GeneralComplexOption | undefined"
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"name": "options.change",
|
|
988
|
+
"description": "选项列表变化事件",
|
|
989
|
+
"detail": {
|
|
990
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
],
|
|
994
|
+
"slots": [],
|
|
995
|
+
"methods": [],
|
|
996
|
+
"parts": [],
|
|
997
|
+
"description": "通用单选构件",
|
|
998
|
+
"category": "form-input-basic"
|
|
999
|
+
},
|
|
1000
1000
|
{
|
|
1001
1001
|
"name": "eo-search",
|
|
1002
1002
|
"alias": [
|
|
@@ -1113,9 +1113,9 @@
|
|
|
1113
1113
|
"category": "form-input-basic"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
|
-
"name": "eo-
|
|
1116
|
+
"name": "eo-upload-image",
|
|
1117
1117
|
"alias": [
|
|
1118
|
-
"form.
|
|
1118
|
+
"form.upload-image"
|
|
1119
1119
|
],
|
|
1120
1120
|
"properties": [
|
|
1121
1121
|
{
|
|
@@ -1125,66 +1125,66 @@
|
|
|
1125
1125
|
},
|
|
1126
1126
|
{
|
|
1127
1127
|
"name": "label",
|
|
1128
|
-
"description": "
|
|
1128
|
+
"description": "字段说明",
|
|
1129
1129
|
"type": "string"
|
|
1130
1130
|
},
|
|
1131
1131
|
{
|
|
1132
1132
|
"name": "value",
|
|
1133
|
-
"description": "
|
|
1134
|
-
"
|
|
1133
|
+
"description": "值",
|
|
1134
|
+
"attribute": false,
|
|
1135
|
+
"type": "ImageData[]"
|
|
1135
1136
|
},
|
|
1136
1137
|
{
|
|
1137
|
-
"name": "
|
|
1138
|
-
"description": "
|
|
1139
|
-
"type": "
|
|
1138
|
+
"name": "bucketName",
|
|
1139
|
+
"description": "对象存储桶名字",
|
|
1140
|
+
"type": "string"
|
|
1140
1141
|
},
|
|
1141
1142
|
{
|
|
1142
|
-
"name": "
|
|
1143
|
-
"description": "
|
|
1144
|
-
"type": "
|
|
1143
|
+
"name": "maxCount",
|
|
1144
|
+
"description": "最大上传数量",
|
|
1145
|
+
"type": "number"
|
|
1145
1146
|
},
|
|
1146
1147
|
{
|
|
1147
|
-
"name": "
|
|
1148
|
-
"description": "
|
|
1149
|
-
"type": "
|
|
1148
|
+
"name": "multiple",
|
|
1149
|
+
"description": "是否支持选定的多张图片",
|
|
1150
|
+
"type": "boolean"
|
|
1150
1151
|
},
|
|
1151
1152
|
{
|
|
1152
|
-
"name": "
|
|
1153
|
-
"description": "
|
|
1154
|
-
"type": "
|
|
1153
|
+
"name": "limitSize",
|
|
1154
|
+
"description": "上传大小限制(单位为 MB)",
|
|
1155
|
+
"type": "number"
|
|
1155
1156
|
},
|
|
1156
1157
|
{
|
|
1157
|
-
"name": "
|
|
1158
|
-
"description": "
|
|
1159
|
-
"
|
|
1160
|
-
"type": "GeneralIconProps"
|
|
1158
|
+
"name": "required",
|
|
1159
|
+
"description": "是否必填",
|
|
1160
|
+
"type": "boolean"
|
|
1161
1161
|
},
|
|
1162
1162
|
{
|
|
1163
|
-
"name": "
|
|
1164
|
-
"description": "
|
|
1163
|
+
"name": "message",
|
|
1164
|
+
"description": "校验文本信息",
|
|
1165
1165
|
"attribute": false,
|
|
1166
|
-
"type": "
|
|
1166
|
+
"type": "Record<string, string>"
|
|
1167
1167
|
}
|
|
1168
1168
|
],
|
|
1169
1169
|
"events": [
|
|
1170
1170
|
{
|
|
1171
|
-
"name": "
|
|
1172
|
-
"description": "
|
|
1171
|
+
"name": "change",
|
|
1172
|
+
"description": "值变化时触发",
|
|
1173
1173
|
"detail": {
|
|
1174
|
-
"type": "
|
|
1174
|
+
"type": "ImageData[]"
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
],
|
|
1178
1178
|
"slots": [],
|
|
1179
1179
|
"methods": [],
|
|
1180
1180
|
"parts": [],
|
|
1181
|
-
"description": "
|
|
1181
|
+
"description": "上传图片构件",
|
|
1182
1182
|
"category": "form-input-basic"
|
|
1183
1183
|
},
|
|
1184
1184
|
{
|
|
1185
|
-
"name": "eo-
|
|
1185
|
+
"name": "eo-switch",
|
|
1186
1186
|
"alias": [
|
|
1187
|
-
"form.
|
|
1187
|
+
"form.general-switch"
|
|
1188
1188
|
],
|
|
1189
1189
|
"properties": [
|
|
1190
1190
|
{
|
|
@@ -1194,60 +1194,60 @@
|
|
|
1194
1194
|
},
|
|
1195
1195
|
{
|
|
1196
1196
|
"name": "label",
|
|
1197
|
-
"description": "
|
|
1197
|
+
"description": "字段文本",
|
|
1198
1198
|
"type": "string"
|
|
1199
1199
|
},
|
|
1200
1200
|
{
|
|
1201
1201
|
"name": "value",
|
|
1202
|
-
"description": "
|
|
1203
|
-
"
|
|
1204
|
-
"type": "ImageData[]"
|
|
1202
|
+
"description": "初始值",
|
|
1203
|
+
"type": "boolean"
|
|
1205
1204
|
},
|
|
1206
1205
|
{
|
|
1207
|
-
"name": "
|
|
1208
|
-
"description": "
|
|
1209
|
-
"type": "
|
|
1206
|
+
"name": "disabled",
|
|
1207
|
+
"description": "是否禁用",
|
|
1208
|
+
"type": "boolean"
|
|
1210
1209
|
},
|
|
1211
1210
|
{
|
|
1212
|
-
"name": "
|
|
1213
|
-
"description": "
|
|
1214
|
-
"type": "
|
|
1211
|
+
"name": "size",
|
|
1212
|
+
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
1213
|
+
"type": "ComponentSize"
|
|
1215
1214
|
},
|
|
1216
1215
|
{
|
|
1217
|
-
"name": "
|
|
1218
|
-
"description": "
|
|
1219
|
-
"type": "
|
|
1216
|
+
"name": "checkedText",
|
|
1217
|
+
"description": "选中时的文本",
|
|
1218
|
+
"type": "string"
|
|
1220
1219
|
},
|
|
1221
1220
|
{
|
|
1222
|
-
"name": "
|
|
1223
|
-
"description": "
|
|
1224
|
-
"type": "
|
|
1221
|
+
"name": "unCheckedText",
|
|
1222
|
+
"description": "非选中时的文本",
|
|
1223
|
+
"type": "string"
|
|
1225
1224
|
},
|
|
1226
1225
|
{
|
|
1227
|
-
"name": "
|
|
1228
|
-
"description": "
|
|
1229
|
-
"
|
|
1226
|
+
"name": "checkedIcon",
|
|
1227
|
+
"description": "选中时的图标",
|
|
1228
|
+
"attribute": false,
|
|
1229
|
+
"type": "GeneralIconProps"
|
|
1230
1230
|
},
|
|
1231
1231
|
{
|
|
1232
|
-
"name": "
|
|
1233
|
-
"description": "
|
|
1232
|
+
"name": "unCheckedIcon",
|
|
1233
|
+
"description": "非选中时的文本",
|
|
1234
1234
|
"attribute": false,
|
|
1235
|
-
"type": "
|
|
1235
|
+
"type": "GeneralIconProps"
|
|
1236
1236
|
}
|
|
1237
1237
|
],
|
|
1238
1238
|
"events": [
|
|
1239
1239
|
{
|
|
1240
|
-
"name": "
|
|
1241
|
-
"description": "
|
|
1240
|
+
"name": "switch",
|
|
1241
|
+
"description": "开关改变时触发",
|
|
1242
1242
|
"detail": {
|
|
1243
|
-
"type": "
|
|
1243
|
+
"type": "boolean"
|
|
1244
1244
|
}
|
|
1245
1245
|
}
|
|
1246
1246
|
],
|
|
1247
1247
|
"slots": [],
|
|
1248
1248
|
"methods": [],
|
|
1249
1249
|
"parts": [],
|
|
1250
|
-
"description": "
|
|
1250
|
+
"description": "开关",
|
|
1251
1251
|
"category": "form-input-basic"
|
|
1252
1252
|
},
|
|
1253
1253
|
{
|