@next-bricks/form 1.3.1 → 1.3.2
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 +23 -23
- package/dist/chunks/{242.8c275ad8.js → 242.661971c3.js} +2 -2
- package/dist/chunks/{242.8c275ad8.js.map → 242.661971c3.js.map} +1 -1
- package/dist/chunks/4540.86eec3d1.js +2 -0
- package/dist/chunks/4540.86eec3d1.js.map +1 -0
- package/dist/chunks/{7861.7dd8e975.js → 7861.9ace0e6c.js} +2 -2
- package/dist/chunks/{7861.7dd8e975.js.map → 7861.9ace0e6c.js.map} +1 -1
- package/dist/chunks/9648.410ee5bc.js +2 -0
- package/dist/chunks/9648.410ee5bc.js.map +1 -0
- package/dist/chunks/{eo-date-picker.aec18c09.js → eo-date-picker.f69fd5b2.js} +2 -2
- package/dist/chunks/{eo-date-picker.aec18c09.js.map → eo-date-picker.f69fd5b2.js.map} +1 -1
- package/dist/chunks/{eo-dynamic-form-item.6893fb2c.js → eo-dynamic-form-item.9c6ebf1f.js} +3 -3
- package/dist/chunks/{eo-dynamic-form-item.6893fb2c.js.map → eo-dynamic-form-item.9c6ebf1f.js.map} +1 -1
- package/dist/chunks/{eo-form-item.b37a9c8b.js → eo-form-item.c4dc29cf.js} +3 -3
- package/dist/chunks/{eo-form-item.b37a9c8b.js.map → eo-form-item.c4dc29cf.js.map} +1 -1
- package/dist/chunks/eo-input.4d30b1b1.js +3 -0
- package/dist/chunks/eo-input.4d30b1b1.js.map +1 -0
- package/dist/chunks/{eo-radio.25fda1b5.js → eo-radio.3766e166.js} +3 -3
- package/dist/chunks/{eo-radio.25fda1b5.js.map → eo-radio.3766e166.js.map} +1 -1
- package/dist/chunks/eo-search.70856263.js +2 -0
- package/dist/chunks/eo-search.70856263.js.map +1 -0
- package/dist/chunks/{eo-select.8d7a70a3.js → eo-select.1b9f6161.js} +3 -3
- package/dist/chunks/{eo-select.8d7a70a3.js.map → eo-select.1b9f6161.js.map} +1 -1
- package/dist/chunks/{eo-time-picker.986a098e.js → eo-time-picker.5880be32.js} +2 -2
- package/dist/chunks/{eo-time-picker.986a098e.js.map → eo-time-picker.5880be32.js.map} +1 -1
- package/dist/chunks/{eo-time-range-picker.d55f4299.js → eo-time-range-picker.8801c45d.js} +2 -2
- package/dist/chunks/{eo-time-range-picker.d55f4299.js.map → eo-time-range-picker.8801c45d.js.map} +1 -1
- package/dist/chunks/{eo-upload-file.028e44dc.js → eo-upload-file.cf3a88b0.js} +3 -3
- package/dist/chunks/{eo-upload-file.028e44dc.js.map → eo-upload-file.cf3a88b0.js.map} +1 -1
- package/dist/chunks/{eo-upload-image.27caca05.js → eo-upload-image.b9f8010b.js} +3 -3
- package/dist/chunks/{eo-upload-image.27caca05.js.map → eo-upload-image.b9f8010b.js.map} +1 -1
- package/dist/chunks/{main.d7542b26.js → main.2f0396fd.js} +2 -2
- package/dist/chunks/{main.d7542b26.js.map → main.2f0396fd.js.map} +1 -1
- package/dist/examples.json +8 -8
- package/dist/{index.f89db72b.js → index.edffb992.js} +2 -2
- package/dist/{index.f89db72b.js.map → index.edffb992.js.map} +1 -1
- package/dist/manifest.json +289 -289
- package/dist/types.json +1148 -1151
- package/package.json +3 -3
- package/dist/chunks/5400.a354d63e.js +0 -2
- package/dist/chunks/5400.a354d63e.js.map +0 -1
- package/dist/chunks/9648.d4a5738b.js +0 -2
- package/dist/chunks/9648.d4a5738b.js.map +0 -1
- package/dist/chunks/eo-input.b3384704.js +0 -3
- package/dist/chunks/eo-input.b3384704.js.map +0 -1
- package/dist/chunks/eo-search.2d7a308f.js +0 -2
- package/dist/chunks/eo-search.2d7a308f.js.map +0 -1
- /package/dist/chunks/{eo-dynamic-form-item.6893fb2c.js.LICENSE.txt → eo-dynamic-form-item.9c6ebf1f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-form-item.b37a9c8b.js.LICENSE.txt → eo-form-item.c4dc29cf.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-input.b3384704.js.LICENSE.txt → eo-input.4d30b1b1.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.25fda1b5.js.LICENSE.txt → eo-radio.3766e166.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.8d7a70a3.js.LICENSE.txt → eo-select.1b9f6161.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.028e44dc.js.LICENSE.txt → eo-upload-file.cf3a88b0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.27caca05.js.LICENSE.txt → eo-upload-image.b9f8010b.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -188,6 +188,97 @@
|
|
|
188
188
|
"description": "通用输入框构件",
|
|
189
189
|
"category": "form-input-basic"
|
|
190
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"name": "eo-textarea",
|
|
193
|
+
"alias": [
|
|
194
|
+
"form.general-textarea"
|
|
195
|
+
],
|
|
196
|
+
"properties": [
|
|
197
|
+
{
|
|
198
|
+
"name": "name",
|
|
199
|
+
"description": "字段名称",
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "label",
|
|
204
|
+
"description": "标签文字",
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "value",
|
|
209
|
+
"description": "值",
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "placeholder",
|
|
214
|
+
"description": "占位说明",
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "disabled",
|
|
219
|
+
"description": "是否禁用",
|
|
220
|
+
"type": "boolean"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "minLength",
|
|
224
|
+
"description": "最小长度",
|
|
225
|
+
"type": "number"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "maxLength",
|
|
229
|
+
"description": "最大长度",
|
|
230
|
+
"type": "number"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "autoSize",
|
|
234
|
+
"description": "大小自适应",
|
|
235
|
+
"attribute": false,
|
|
236
|
+
"type": "AutoSize"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "required",
|
|
240
|
+
"description": "是否必填",
|
|
241
|
+
"type": "boolean"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "max",
|
|
245
|
+
"description": "表单校验最大长度",
|
|
246
|
+
"type": "number"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "min",
|
|
250
|
+
"description": "表单校验最小长度",
|
|
251
|
+
"type": "number"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "message",
|
|
255
|
+
"description": "校验信息",
|
|
256
|
+
"attribute": false,
|
|
257
|
+
"type": "Record<string, string>"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "textareaStyle",
|
|
261
|
+
"description": "自定义样式",
|
|
262
|
+
"attribute": false,
|
|
263
|
+
"type": "React.CSSProperties"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"events": [
|
|
267
|
+
{
|
|
268
|
+
"name": "change",
|
|
269
|
+
"description": "",
|
|
270
|
+
"detail": {
|
|
271
|
+
"description": null,
|
|
272
|
+
"type": "string"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"slots": [],
|
|
277
|
+
"methods": [],
|
|
278
|
+
"parts": [],
|
|
279
|
+
"description": "通用多行文本输入框构件",
|
|
280
|
+
"category": "form-input-basic"
|
|
281
|
+
},
|
|
191
282
|
{
|
|
192
283
|
"name": "eo-form",
|
|
193
284
|
"alias": [
|
|
@@ -319,97 +410,6 @@
|
|
|
319
410
|
"description": "表单构件",
|
|
320
411
|
"category": "form-input-basic"
|
|
321
412
|
},
|
|
322
|
-
{
|
|
323
|
-
"name": "eo-textarea",
|
|
324
|
-
"alias": [
|
|
325
|
-
"form.general-textarea"
|
|
326
|
-
],
|
|
327
|
-
"properties": [
|
|
328
|
-
{
|
|
329
|
-
"name": "name",
|
|
330
|
-
"description": "字段名称",
|
|
331
|
-
"type": "string"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"name": "label",
|
|
335
|
-
"description": "标签文字",
|
|
336
|
-
"type": "string"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"name": "value",
|
|
340
|
-
"description": "值",
|
|
341
|
-
"type": "string"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"name": "placeholder",
|
|
345
|
-
"description": "占位说明",
|
|
346
|
-
"type": "string"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"name": "disabled",
|
|
350
|
-
"description": "是否禁用",
|
|
351
|
-
"type": "boolean"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"name": "minLength",
|
|
355
|
-
"description": "最小长度",
|
|
356
|
-
"type": "number"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"name": "maxLength",
|
|
360
|
-
"description": "最大长度",
|
|
361
|
-
"type": "number"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"name": "autoSize",
|
|
365
|
-
"description": "大小自适应",
|
|
366
|
-
"attribute": false,
|
|
367
|
-
"type": "AutoSize"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"name": "required",
|
|
371
|
-
"description": "是否必填",
|
|
372
|
-
"type": "boolean"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"name": "max",
|
|
376
|
-
"description": "表单校验最大长度",
|
|
377
|
-
"type": "number"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"name": "min",
|
|
381
|
-
"description": "表单校验最小长度",
|
|
382
|
-
"type": "number"
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
"name": "message",
|
|
386
|
-
"description": "校验信息",
|
|
387
|
-
"attribute": false,
|
|
388
|
-
"type": "Record<string, string>"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"name": "textareaStyle",
|
|
392
|
-
"description": "自定义样式",
|
|
393
|
-
"attribute": false,
|
|
394
|
-
"type": "React.CSSProperties"
|
|
395
|
-
}
|
|
396
|
-
],
|
|
397
|
-
"events": [
|
|
398
|
-
{
|
|
399
|
-
"name": "change",
|
|
400
|
-
"description": "",
|
|
401
|
-
"detail": {
|
|
402
|
-
"description": null,
|
|
403
|
-
"type": "string"
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
],
|
|
407
|
-
"slots": [],
|
|
408
|
-
"methods": [],
|
|
409
|
-
"parts": [],
|
|
410
|
-
"description": "通用多行文本输入框构件",
|
|
411
|
-
"category": "form-input-basic"
|
|
412
|
-
},
|
|
413
413
|
{
|
|
414
414
|
"name": "eo-form-item",
|
|
415
415
|
"alias": [
|
|
@@ -510,36 +510,31 @@
|
|
|
510
510
|
"insider": true
|
|
511
511
|
},
|
|
512
512
|
{
|
|
513
|
-
"name": "eo-
|
|
513
|
+
"name": "eo-radio",
|
|
514
514
|
"alias": [
|
|
515
|
-
"form.general-
|
|
515
|
+
"form.general-radio"
|
|
516
516
|
],
|
|
517
517
|
"properties": [
|
|
518
518
|
{
|
|
519
519
|
"name": "name",
|
|
520
|
-
"description": "
|
|
521
|
-
"type": "string"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"name": "placeholder",
|
|
525
|
-
"description": "占位说明",
|
|
520
|
+
"description": "下拉框字段名",
|
|
526
521
|
"type": "string"
|
|
527
522
|
},
|
|
528
523
|
{
|
|
529
524
|
"name": "label",
|
|
530
|
-
"description": "
|
|
525
|
+
"description": "单选框字段说明",
|
|
531
526
|
"type": "string"
|
|
532
527
|
},
|
|
533
528
|
{
|
|
534
529
|
"name": "options",
|
|
535
|
-
"description": "
|
|
530
|
+
"description": "单选框选项表",
|
|
536
531
|
"required": true,
|
|
537
532
|
"attribute": false,
|
|
538
|
-
"type": "
|
|
533
|
+
"type": "GeneralOption[]"
|
|
539
534
|
},
|
|
540
535
|
{
|
|
541
536
|
"name": "value",
|
|
542
|
-
"description": "
|
|
537
|
+
"description": "单选框当前选中始值",
|
|
543
538
|
"attribute": false,
|
|
544
539
|
"type": "any"
|
|
545
540
|
},
|
|
@@ -560,82 +555,43 @@
|
|
|
560
555
|
"type": "boolean"
|
|
561
556
|
},
|
|
562
557
|
{
|
|
563
|
-
"name": "
|
|
564
|
-
"description": "
|
|
565
|
-
"
|
|
558
|
+
"name": "type",
|
|
559
|
+
"description": "单选框样式类型",
|
|
560
|
+
"default": "\"default\"",
|
|
561
|
+
"type": "RadioType"
|
|
566
562
|
},
|
|
567
563
|
{
|
|
568
|
-
"name": "
|
|
569
|
-
"description": "
|
|
570
|
-
"
|
|
571
|
-
"type": "
|
|
564
|
+
"name": "ui",
|
|
565
|
+
"description": "UI样式",
|
|
566
|
+
"default": "\"default\"",
|
|
567
|
+
"type": "UIType"
|
|
572
568
|
},
|
|
573
569
|
{
|
|
574
|
-
"name": "
|
|
575
|
-
"description": "
|
|
576
|
-
"
|
|
570
|
+
"name": "size",
|
|
571
|
+
"description": "大小,只对按钮样式生效",
|
|
572
|
+
"default": "\"medium\"",
|
|
573
|
+
"type": "ComponentSize"
|
|
577
574
|
},
|
|
578
575
|
{
|
|
579
|
-
"name": "
|
|
580
|
-
"description": "
|
|
581
|
-
"
|
|
576
|
+
"name": "customStyle",
|
|
577
|
+
"description": "自定义radio的外层样式",
|
|
578
|
+
"attribute": false,
|
|
579
|
+
"type": "React.CSSProperties"
|
|
582
580
|
},
|
|
583
581
|
{
|
|
584
|
-
"name": "
|
|
585
|
-
"description": "",
|
|
582
|
+
"name": "useBrick",
|
|
583
|
+
"description": "自定义radio的内容",
|
|
586
584
|
"attribute": false,
|
|
587
585
|
"type": "UseSingleBrickConf"
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
"description": "是否支持清除",
|
|
592
|
-
"default": "true",
|
|
593
|
-
"type": "boolean"
|
|
594
|
-
},
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"events": [
|
|
595
589
|
{
|
|
596
|
-
"name": "
|
|
597
|
-
"description": "
|
|
598
|
-
"
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
{
|
|
602
|
-
"name": "useBackend",
|
|
603
|
-
"description": "后端搜索",
|
|
604
|
-
"attribute": false,
|
|
605
|
-
"type": "UseBackendConf"
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
"name": "debounceSearchDelay",
|
|
609
|
-
"type": "number"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"name": "inputStyle",
|
|
613
|
-
"description": "输入框样式",
|
|
614
|
-
"attribute": false,
|
|
615
|
-
"type": "React.CSSProperties"
|
|
616
|
-
}
|
|
617
|
-
],
|
|
618
|
-
"events": [
|
|
619
|
-
{
|
|
620
|
-
"name": "change",
|
|
621
|
-
"description": "下拉选择事件",
|
|
622
|
-
"detail": {
|
|
623
|
-
"type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
"name": "search",
|
|
628
|
-
"description": "下拉框search事件",
|
|
629
|
-
"detail": {
|
|
630
|
-
"type": "{\n value: string;\n }"
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "focus",
|
|
635
|
-
"description": "下拉框focus事件",
|
|
636
|
-
"detail": {
|
|
637
|
-
"type": "void"
|
|
638
|
-
}
|
|
590
|
+
"name": "change",
|
|
591
|
+
"description": "值变化事件",
|
|
592
|
+
"detail": {
|
|
593
|
+
"type": "GeneralComplexOption | undefined"
|
|
594
|
+
}
|
|
639
595
|
},
|
|
640
596
|
{
|
|
641
597
|
"name": "options.change",
|
|
@@ -648,35 +604,40 @@
|
|
|
648
604
|
"slots": [],
|
|
649
605
|
"methods": [],
|
|
650
606
|
"parts": [],
|
|
651
|
-
"description": "
|
|
607
|
+
"description": "通用单选构件",
|
|
652
608
|
"category": "form-input-basic"
|
|
653
609
|
},
|
|
654
610
|
{
|
|
655
|
-
"name": "eo-
|
|
611
|
+
"name": "eo-select",
|
|
656
612
|
"alias": [
|
|
657
|
-
"form.general-
|
|
613
|
+
"form.general-select"
|
|
658
614
|
],
|
|
659
615
|
"properties": [
|
|
660
616
|
{
|
|
661
617
|
"name": "name",
|
|
662
|
-
"description": "
|
|
618
|
+
"description": "字段名称",
|
|
619
|
+
"type": "string"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "placeholder",
|
|
623
|
+
"description": "占位说明",
|
|
663
624
|
"type": "string"
|
|
664
625
|
},
|
|
665
626
|
{
|
|
666
627
|
"name": "label",
|
|
667
|
-
"description": "
|
|
628
|
+
"description": "字段文本",
|
|
668
629
|
"type": "string"
|
|
669
630
|
},
|
|
670
631
|
{
|
|
671
632
|
"name": "options",
|
|
672
|
-
"description": "
|
|
633
|
+
"description": "选项列表",
|
|
673
634
|
"required": true,
|
|
674
635
|
"attribute": false,
|
|
675
|
-
"type": "
|
|
636
|
+
"type": "GeneralComplexOption[]"
|
|
676
637
|
},
|
|
677
638
|
{
|
|
678
639
|
"name": "value",
|
|
679
|
-
"description": "
|
|
640
|
+
"description": "值",
|
|
680
641
|
"attribute": false,
|
|
681
642
|
"type": "any"
|
|
682
643
|
},
|
|
@@ -697,42 +658,81 @@
|
|
|
697
658
|
"type": "boolean"
|
|
698
659
|
},
|
|
699
660
|
{
|
|
700
|
-
"name": "
|
|
701
|
-
"description": "
|
|
702
|
-
"
|
|
703
|
-
"type": "RadioType"
|
|
661
|
+
"name": "mode",
|
|
662
|
+
"description": "类型",
|
|
663
|
+
"type": "\"tags\" | \"multiple\""
|
|
704
664
|
},
|
|
705
665
|
{
|
|
706
|
-
"name": "
|
|
707
|
-
"description": "
|
|
708
|
-
"
|
|
709
|
-
"type": "
|
|
666
|
+
"name": "tokenSeparators",
|
|
667
|
+
"description": "自动分词的分隔符,仅在 mode=\"tags\" 时生效",
|
|
668
|
+
"attribute": false,
|
|
669
|
+
"type": "string[]"
|
|
710
670
|
},
|
|
711
671
|
{
|
|
712
|
-
"name": "
|
|
713
|
-
"description": "
|
|
714
|
-
"
|
|
715
|
-
"type": "ComponentSize"
|
|
672
|
+
"name": "maxTagCount",
|
|
673
|
+
"description": "最多显示多少个 tag, 剩余的 tag 将被隐藏",
|
|
674
|
+
"type": "number"
|
|
716
675
|
},
|
|
717
676
|
{
|
|
718
|
-
"name": "
|
|
719
|
-
"description": "
|
|
720
|
-
"
|
|
721
|
-
"type": "React.CSSProperties"
|
|
677
|
+
"name": "groupBy",
|
|
678
|
+
"description": "分组字段",
|
|
679
|
+
"type": "string"
|
|
722
680
|
},
|
|
723
681
|
{
|
|
724
|
-
"name": "
|
|
725
|
-
"description": "
|
|
682
|
+
"name": "suffix",
|
|
683
|
+
"description": "",
|
|
726
684
|
"attribute": false,
|
|
727
685
|
"type": "UseSingleBrickConf"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "clearable",
|
|
689
|
+
"description": "是否支持清除",
|
|
690
|
+
"default": "true",
|
|
691
|
+
"type": "boolean"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"name": "fields",
|
|
695
|
+
"description": "列表指定字段作为 label 和 value",
|
|
696
|
+
"attribute": false,
|
|
697
|
+
"type": "{ label?: string; value?: string }"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "useBackend",
|
|
701
|
+
"description": "后端搜索",
|
|
702
|
+
"attribute": false,
|
|
703
|
+
"type": "UseBackendConf"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"name": "debounceSearchDelay",
|
|
707
|
+
"type": "number"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "inputStyle",
|
|
711
|
+
"description": "输入框样式",
|
|
712
|
+
"attribute": false,
|
|
713
|
+
"type": "React.CSSProperties"
|
|
728
714
|
}
|
|
729
715
|
],
|
|
730
716
|
"events": [
|
|
731
717
|
{
|
|
732
718
|
"name": "change",
|
|
733
|
-
"description": "
|
|
719
|
+
"description": "下拉选择事件",
|
|
734
720
|
"detail": {
|
|
735
|
-
"type": "
|
|
721
|
+
"type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "search",
|
|
726
|
+
"description": "下拉框search事件",
|
|
727
|
+
"detail": {
|
|
728
|
+
"type": "{\n value: string;\n }"
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"name": "focus",
|
|
733
|
+
"description": "下拉框focus事件",
|
|
734
|
+
"detail": {
|
|
735
|
+
"type": "void"
|
|
736
736
|
}
|
|
737
737
|
},
|
|
738
738
|
{
|
|
@@ -746,7 +746,7 @@
|
|
|
746
746
|
"slots": [],
|
|
747
747
|
"methods": [],
|
|
748
748
|
"parts": [],
|
|
749
|
-
"description": "
|
|
749
|
+
"description": "通用下拉选择构件",
|
|
750
750
|
"category": "form-input-basic"
|
|
751
751
|
},
|
|
752
752
|
{
|
|
@@ -809,6 +809,98 @@
|
|
|
809
809
|
"description": "表单提交按钮",
|
|
810
810
|
"category": "form-input-basic"
|
|
811
811
|
},
|
|
812
|
+
{
|
|
813
|
+
"name": "eo-checkbox",
|
|
814
|
+
"alias": [
|
|
815
|
+
"form.general-checkbox"
|
|
816
|
+
],
|
|
817
|
+
"properties": [
|
|
818
|
+
{
|
|
819
|
+
"name": "name",
|
|
820
|
+
"description": "字段名称",
|
|
821
|
+
"type": "string"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "label",
|
|
825
|
+
"description": "字段说明",
|
|
826
|
+
"type": "string"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "value",
|
|
830
|
+
"description": "值",
|
|
831
|
+
"attribute": false,
|
|
832
|
+
"type": "CheckboxValueType[]"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "options",
|
|
836
|
+
"description": "多选框选项表",
|
|
837
|
+
"required": true,
|
|
838
|
+
"default": "[]",
|
|
839
|
+
"attribute": false,
|
|
840
|
+
"type": "CheckboxOptionType[]"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "type",
|
|
844
|
+
"description": "类型",
|
|
845
|
+
"default": "\"default\"",
|
|
846
|
+
"type": "CheckboxType"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"name": "disabled",
|
|
850
|
+
"description": "是否禁用",
|
|
851
|
+
"type": "boolean"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"name": "isCustom",
|
|
855
|
+
"description": "是否为自定义",
|
|
856
|
+
"default": "false",
|
|
857
|
+
"type": "boolean"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "required",
|
|
861
|
+
"description": "是否必填",
|
|
862
|
+
"type": "boolean"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"name": "message",
|
|
866
|
+
"description": "校验文本",
|
|
867
|
+
"attribute": false,
|
|
868
|
+
"type": "Record<string, string>"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "isGroup",
|
|
872
|
+
"description": "是否为复选框,为true时,则可设置分组数据 optionGroups",
|
|
873
|
+
"type": "boolean"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"name": "optionGroups",
|
|
877
|
+
"description": "多选框选项分组数据,需要设置 isGroup 为 true 才生效",
|
|
878
|
+
"attribute": false,
|
|
879
|
+
"type": "OptionGroup[]"
|
|
880
|
+
}
|
|
881
|
+
],
|
|
882
|
+
"events": [
|
|
883
|
+
{
|
|
884
|
+
"name": "change",
|
|
885
|
+
"description": "复选框变化事件",
|
|
886
|
+
"detail": {
|
|
887
|
+
"type": "CheckboxOptionType[]"
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "options.change",
|
|
892
|
+
"description": "复选框变化事件",
|
|
893
|
+
"detail": {
|
|
894
|
+
"type": "{\n options: CheckboxOptionType[];\n name: string;\n }"
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
],
|
|
898
|
+
"slots": [],
|
|
899
|
+
"methods": [],
|
|
900
|
+
"parts": [],
|
|
901
|
+
"description": "表单复选框构件",
|
|
902
|
+
"category": "form-input-basic"
|
|
903
|
+
},
|
|
812
904
|
{
|
|
813
905
|
"name": "eo-dynamic-form-item",
|
|
814
906
|
"alias": [
|
|
@@ -962,98 +1054,6 @@
|
|
|
962
1054
|
"description": "搜索框",
|
|
963
1055
|
"category": "form-input-basic"
|
|
964
1056
|
},
|
|
965
|
-
{
|
|
966
|
-
"name": "eo-checkbox",
|
|
967
|
-
"alias": [
|
|
968
|
-
"form.general-checkbox"
|
|
969
|
-
],
|
|
970
|
-
"properties": [
|
|
971
|
-
{
|
|
972
|
-
"name": "name",
|
|
973
|
-
"description": "字段名称",
|
|
974
|
-
"type": "string"
|
|
975
|
-
},
|
|
976
|
-
{
|
|
977
|
-
"name": "label",
|
|
978
|
-
"description": "字段说明",
|
|
979
|
-
"type": "string"
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
"name": "value",
|
|
983
|
-
"description": "值",
|
|
984
|
-
"attribute": false,
|
|
985
|
-
"type": "CheckboxValueType[]"
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"name": "options",
|
|
989
|
-
"description": "多选框选项表",
|
|
990
|
-
"required": true,
|
|
991
|
-
"default": "[]",
|
|
992
|
-
"attribute": false,
|
|
993
|
-
"type": "CheckboxOptionType[]"
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
"name": "type",
|
|
997
|
-
"description": "类型",
|
|
998
|
-
"default": "\"default\"",
|
|
999
|
-
"type": "CheckboxType"
|
|
1000
|
-
},
|
|
1001
|
-
{
|
|
1002
|
-
"name": "disabled",
|
|
1003
|
-
"description": "是否禁用",
|
|
1004
|
-
"type": "boolean"
|
|
1005
|
-
},
|
|
1006
|
-
{
|
|
1007
|
-
"name": "isCustom",
|
|
1008
|
-
"description": "是否为自定义",
|
|
1009
|
-
"default": "false",
|
|
1010
|
-
"type": "boolean"
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"name": "required",
|
|
1014
|
-
"description": "是否必填",
|
|
1015
|
-
"type": "boolean"
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
"name": "message",
|
|
1019
|
-
"description": "校验文本",
|
|
1020
|
-
"attribute": false,
|
|
1021
|
-
"type": "Record<string, string>"
|
|
1022
|
-
},
|
|
1023
|
-
{
|
|
1024
|
-
"name": "isGroup",
|
|
1025
|
-
"description": "是否为复选框,为true时,则可设置分组数据 optionGroups",
|
|
1026
|
-
"type": "boolean"
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"name": "optionGroups",
|
|
1030
|
-
"description": "多选框选项分组数据,需要设置 isGroup 为 true 才生效",
|
|
1031
|
-
"attribute": false,
|
|
1032
|
-
"type": "OptionGroup[]"
|
|
1033
|
-
}
|
|
1034
|
-
],
|
|
1035
|
-
"events": [
|
|
1036
|
-
{
|
|
1037
|
-
"name": "change",
|
|
1038
|
-
"description": "复选框变化事件",
|
|
1039
|
-
"detail": {
|
|
1040
|
-
"type": "CheckboxOptionType[]"
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"name": "options.change",
|
|
1045
|
-
"description": "复选框变化事件",
|
|
1046
|
-
"detail": {
|
|
1047
|
-
"type": "{\n options: CheckboxOptionType[];\n name: string;\n }"
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
],
|
|
1051
|
-
"slots": [],
|
|
1052
|
-
"methods": [],
|
|
1053
|
-
"parts": [],
|
|
1054
|
-
"description": "表单复选框构件",
|
|
1055
|
-
"category": "form-input-basic"
|
|
1056
|
-
},
|
|
1057
1057
|
{
|
|
1058
1058
|
"name": "eo-icon-select",
|
|
1059
1059
|
"alias": [
|