@next-bricks/form 1.9.13 → 1.9.14
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/{9259.4313ee3f.js → 9259.4238757c.js} +3 -3
- package/dist/chunks/{9259.4313ee3f.js.map → 9259.4238757c.js.map} +1 -1
- package/dist/chunks/eo-select.d92bfd8f.js +3 -0
- package/dist/chunks/{eo-select.729ec0cc.js.map → eo-select.d92bfd8f.js.map} +1 -1
- package/dist/chunks/{main.873d1f86.js → main.7551926f.js} +2 -2
- package/dist/chunks/{main.873d1f86.js.map → main.7551926f.js.map} +1 -1
- package/dist/examples.json +8 -8
- package/dist/{index.ea71571d.js → index.1f780ab7.js} +2 -2
- package/dist/{index.ea71571d.js.map → index.1f780ab7.js.map} +1 -1
- package/dist/manifest.json +311 -311
- package/package.json +2 -2
- package/dist/chunks/eo-select.729ec0cc.js +0 -3
- /package/dist/chunks/{9259.4313ee3f.js.LICENSE.txt → 9259.4238757c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.729ec0cc.js.LICENSE.txt → eo-select.d92bfd8f.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -188,6 +188,105 @@
|
|
|
188
188
|
"description": "通用输入框构件",
|
|
189
189
|
"category": "form-input-basic"
|
|
190
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"name": "eo-form-item",
|
|
193
|
+
"alias": [
|
|
194
|
+
"form.general-form-item"
|
|
195
|
+
],
|
|
196
|
+
"properties": [
|
|
197
|
+
{
|
|
198
|
+
"name": "formElement",
|
|
199
|
+
"attribute": false,
|
|
200
|
+
"type": "Form"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "curElement",
|
|
204
|
+
"attribute": false,
|
|
205
|
+
"type": "HTMLElement"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "name",
|
|
209
|
+
"description": "字段名称",
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "label",
|
|
214
|
+
"type": "string"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "pattern",
|
|
218
|
+
"type": "string"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "message",
|
|
222
|
+
"attribute": false,
|
|
223
|
+
"type": "Record<string, string>"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "max",
|
|
227
|
+
"type": "number"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "min",
|
|
231
|
+
"type": "number"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "required",
|
|
235
|
+
"description": "表单项是否必填",
|
|
236
|
+
"type": "boolean"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "value",
|
|
240
|
+
"description": "初始值",
|
|
241
|
+
"type": "string"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "valuePropsName",
|
|
245
|
+
"type": "string"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "layout",
|
|
249
|
+
"type": "Layout"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "size",
|
|
253
|
+
"type": "ComponentSize"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "trim",
|
|
257
|
+
"description": "是否自动去除前后的空白字符",
|
|
258
|
+
"default": "true"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "trigger",
|
|
262
|
+
"description": "事件触发方法名",
|
|
263
|
+
"type": "string"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "validator",
|
|
267
|
+
"description": "表单项校验方法",
|
|
268
|
+
"attribute": false,
|
|
269
|
+
"type": "((value: any) => MessageBody)"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "needValidate",
|
|
273
|
+
"description": "值变化时是否主动出发校验",
|
|
274
|
+
"type": "boolean"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"events": [],
|
|
278
|
+
"slots": [
|
|
279
|
+
{
|
|
280
|
+
"name": null,
|
|
281
|
+
"description": "表单项内容"
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"methods": [],
|
|
285
|
+
"parts": [],
|
|
286
|
+
"description": "通用输入框构件",
|
|
287
|
+
"category": "form-input-basic",
|
|
288
|
+
"insider": true
|
|
289
|
+
},
|
|
191
290
|
{
|
|
192
291
|
"name": "eo-radio",
|
|
193
292
|
"alias": [
|
|
@@ -287,9 +386,9 @@
|
|
|
287
386
|
"category": "form-input-basic"
|
|
288
387
|
},
|
|
289
388
|
{
|
|
290
|
-
"name": "eo-
|
|
389
|
+
"name": "eo-textarea",
|
|
291
390
|
"alias": [
|
|
292
|
-
"form.general-
|
|
391
|
+
"form.general-textarea"
|
|
293
392
|
],
|
|
294
393
|
"properties": [
|
|
295
394
|
{
|
|
@@ -297,39 +396,20 @@
|
|
|
297
396
|
"description": "字段名称",
|
|
298
397
|
"type": "string"
|
|
299
398
|
},
|
|
300
|
-
{
|
|
301
|
-
"name": "placeholder",
|
|
302
|
-
"description": "占位说明",
|
|
303
|
-
"type": "string"
|
|
304
|
-
},
|
|
305
399
|
{
|
|
306
400
|
"name": "label",
|
|
307
|
-
"description": "
|
|
401
|
+
"description": "标签文字",
|
|
308
402
|
"type": "string"
|
|
309
403
|
},
|
|
310
|
-
{
|
|
311
|
-
"name": "options",
|
|
312
|
-
"description": "选项列表",
|
|
313
|
-
"required": true,
|
|
314
|
-
"attribute": false,
|
|
315
|
-
"type": "GeneralComplexOption[]"
|
|
316
|
-
},
|
|
317
404
|
{
|
|
318
405
|
"name": "value",
|
|
319
406
|
"description": "值",
|
|
320
|
-
"
|
|
321
|
-
"type": "any"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"name": "required",
|
|
325
|
-
"description": "是否必填",
|
|
326
|
-
"type": "boolean"
|
|
407
|
+
"type": "string"
|
|
327
408
|
},
|
|
328
409
|
{
|
|
329
|
-
"name": "
|
|
330
|
-
"description": "
|
|
331
|
-
"
|
|
332
|
-
"type": "Record<string, string>"
|
|
410
|
+
"name": "placeholder",
|
|
411
|
+
"description": "占位说明",
|
|
412
|
+
"type": "string"
|
|
333
413
|
},
|
|
334
414
|
{
|
|
335
415
|
"name": "disabled",
|
|
@@ -337,57 +417,45 @@
|
|
|
337
417
|
"type": "boolean"
|
|
338
418
|
},
|
|
339
419
|
{
|
|
340
|
-
"name": "
|
|
341
|
-
"description": "
|
|
342
|
-
"type": "\"tags\" | \"multiple\""
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"name": "tokenSeparators",
|
|
346
|
-
"description": "自动分词的分隔符,仅在 mode=\"tags\" 时生效",
|
|
347
|
-
"attribute": false,
|
|
348
|
-
"type": "string[]"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"name": "maxTagCount",
|
|
352
|
-
"description": "最多显示多少个 tag, 剩余的 tag 将被隐藏",
|
|
420
|
+
"name": "minLength",
|
|
421
|
+
"description": "最小长度",
|
|
353
422
|
"type": "number"
|
|
354
423
|
},
|
|
355
424
|
{
|
|
356
|
-
"name": "
|
|
357
|
-
"description": "
|
|
358
|
-
"type": "
|
|
425
|
+
"name": "maxLength",
|
|
426
|
+
"description": "最大长度",
|
|
427
|
+
"type": "number"
|
|
359
428
|
},
|
|
360
429
|
{
|
|
361
|
-
"name": "
|
|
362
|
-
"description": "",
|
|
430
|
+
"name": "autoSize",
|
|
431
|
+
"description": "大小自适应",
|
|
363
432
|
"attribute": false,
|
|
364
|
-
"type": "
|
|
433
|
+
"type": "AutoSize"
|
|
365
434
|
},
|
|
366
435
|
{
|
|
367
|
-
"name": "
|
|
368
|
-
"description": "
|
|
369
|
-
"default": "true",
|
|
436
|
+
"name": "required",
|
|
437
|
+
"description": "是否必填",
|
|
370
438
|
"type": "boolean"
|
|
371
439
|
},
|
|
372
440
|
{
|
|
373
|
-
"name": "
|
|
374
|
-
"description": "
|
|
375
|
-
"
|
|
376
|
-
"type": "{ label?: string; value?: string }"
|
|
441
|
+
"name": "max",
|
|
442
|
+
"description": "表单校验最大长度",
|
|
443
|
+
"type": "number"
|
|
377
444
|
},
|
|
378
445
|
{
|
|
379
|
-
"name": "
|
|
380
|
-
"description": "
|
|
381
|
-
"
|
|
382
|
-
"type": "UseBackendConf"
|
|
446
|
+
"name": "min",
|
|
447
|
+
"description": "表单校验最小长度",
|
|
448
|
+
"type": "number"
|
|
383
449
|
},
|
|
384
450
|
{
|
|
385
|
-
"name": "
|
|
386
|
-
"
|
|
451
|
+
"name": "message",
|
|
452
|
+
"description": "校验信息",
|
|
453
|
+
"attribute": false,
|
|
454
|
+
"type": "Record<string, string>"
|
|
387
455
|
},
|
|
388
456
|
{
|
|
389
|
-
"name": "
|
|
390
|
-
"description": "
|
|
457
|
+
"name": "textareaStyle",
|
|
458
|
+
"description": "自定义样式",
|
|
391
459
|
"attribute": false,
|
|
392
460
|
"type": "React.CSSProperties"
|
|
393
461
|
}
|
|
@@ -395,196 +463,219 @@
|
|
|
395
463
|
"events": [
|
|
396
464
|
{
|
|
397
465
|
"name": "change",
|
|
398
|
-
"description": "
|
|
466
|
+
"description": "",
|
|
399
467
|
"detail": {
|
|
400
|
-
"
|
|
468
|
+
"description": null,
|
|
469
|
+
"type": "string"
|
|
401
470
|
}
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"slots": [],
|
|
474
|
+
"methods": [],
|
|
475
|
+
"parts": [],
|
|
476
|
+
"description": "通用多行文本输入框构件",
|
|
477
|
+
"category": "form-input-basic"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "eo-submit-buttons",
|
|
481
|
+
"alias": [
|
|
482
|
+
"form.submit-buttons"
|
|
483
|
+
],
|
|
484
|
+
"properties": [
|
|
485
|
+
{
|
|
486
|
+
"name": "submitText",
|
|
487
|
+
"description": "提交按钮的文字",
|
|
488
|
+
"default": "\"提交\"",
|
|
489
|
+
"type": "string"
|
|
402
490
|
},
|
|
403
491
|
{
|
|
404
|
-
"name": "
|
|
405
|
-
"description": "
|
|
406
|
-
"
|
|
407
|
-
"type": "{\n value: string;\n }"
|
|
408
|
-
}
|
|
492
|
+
"name": "cancelText",
|
|
493
|
+
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
494
|
+
"type": "string"
|
|
409
495
|
},
|
|
410
496
|
{
|
|
411
|
-
"name": "
|
|
412
|
-
"description": "
|
|
497
|
+
"name": "disableAfterClick",
|
|
498
|
+
"description": "点击确定按钮后自动禁用",
|
|
499
|
+
"type": "boolean"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "submitDisabled",
|
|
503
|
+
"description": "禁用提交按钮",
|
|
504
|
+
"type": "boolean"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "submitType",
|
|
508
|
+
"description": "提交按钮类型",
|
|
509
|
+
"type": "ButtonType"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "cancelType",
|
|
513
|
+
"description": "取消按钮类型",
|
|
514
|
+
"type": "ButtonType"
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"events": [
|
|
518
|
+
{
|
|
519
|
+
"name": "submit",
|
|
520
|
+
"description": "点击提交按钮触发的事件",
|
|
413
521
|
"detail": {
|
|
414
522
|
"type": "void"
|
|
415
523
|
}
|
|
416
524
|
},
|
|
417
525
|
{
|
|
418
|
-
"name": "
|
|
419
|
-
"description": "
|
|
526
|
+
"name": "cancel",
|
|
527
|
+
"description": "点击取消按钮触发的事件",
|
|
420
528
|
"detail": {
|
|
421
|
-
"type": "
|
|
529
|
+
"type": "void"
|
|
422
530
|
}
|
|
423
531
|
}
|
|
424
532
|
],
|
|
425
533
|
"slots": [],
|
|
426
534
|
"methods": [],
|
|
427
535
|
"parts": [],
|
|
428
|
-
"description": "
|
|
536
|
+
"description": "表单提交按钮",
|
|
429
537
|
"category": "form-input-basic"
|
|
430
538
|
},
|
|
431
539
|
{
|
|
432
|
-
"name": "eo-
|
|
540
|
+
"name": "eo-select",
|
|
433
541
|
"alias": [
|
|
434
|
-
"form.general-
|
|
542
|
+
"form.general-select"
|
|
435
543
|
],
|
|
436
544
|
"properties": [
|
|
437
|
-
{
|
|
438
|
-
"name": "formElement",
|
|
439
|
-
"attribute": false,
|
|
440
|
-
"type": "Form"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"name": "curElement",
|
|
444
|
-
"attribute": false,
|
|
445
|
-
"type": "HTMLElement"
|
|
446
|
-
},
|
|
447
545
|
{
|
|
448
546
|
"name": "name",
|
|
449
547
|
"description": "字段名称",
|
|
450
548
|
"type": "string"
|
|
451
549
|
},
|
|
452
550
|
{
|
|
453
|
-
"name": "
|
|
551
|
+
"name": "placeholder",
|
|
552
|
+
"description": "占位说明",
|
|
454
553
|
"type": "string"
|
|
455
554
|
},
|
|
456
555
|
{
|
|
457
|
-
"name": "
|
|
556
|
+
"name": "label",
|
|
557
|
+
"description": "字段文本",
|
|
458
558
|
"type": "string"
|
|
459
559
|
},
|
|
460
560
|
{
|
|
461
|
-
"name": "
|
|
561
|
+
"name": "options",
|
|
562
|
+
"description": "选项列表",
|
|
563
|
+
"required": true,
|
|
462
564
|
"attribute": false,
|
|
463
|
-
"type": "
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"name": "max",
|
|
467
|
-
"type": "number"
|
|
565
|
+
"type": "GeneralComplexOption[]"
|
|
468
566
|
},
|
|
469
567
|
{
|
|
470
|
-
"name": "
|
|
471
|
-
"
|
|
568
|
+
"name": "value",
|
|
569
|
+
"description": "值",
|
|
570
|
+
"attribute": false,
|
|
571
|
+
"type": "any"
|
|
472
572
|
},
|
|
473
573
|
{
|
|
474
574
|
"name": "required",
|
|
475
|
-
"description": "
|
|
575
|
+
"description": "是否必填",
|
|
476
576
|
"type": "boolean"
|
|
477
577
|
},
|
|
478
578
|
{
|
|
479
|
-
"name": "
|
|
480
|
-
"description": "
|
|
481
|
-
"
|
|
579
|
+
"name": "message",
|
|
580
|
+
"description": "校验文本信息",
|
|
581
|
+
"attribute": false,
|
|
582
|
+
"type": "Record<string, string>"
|
|
482
583
|
},
|
|
483
584
|
{
|
|
484
|
-
"name": "
|
|
485
|
-
"
|
|
585
|
+
"name": "disabled",
|
|
586
|
+
"description": "是否禁用",
|
|
587
|
+
"type": "boolean"
|
|
486
588
|
},
|
|
487
589
|
{
|
|
488
|
-
"name": "
|
|
489
|
-
"
|
|
590
|
+
"name": "mode",
|
|
591
|
+
"description": "类型",
|
|
592
|
+
"type": "\"tags\" | \"multiple\""
|
|
490
593
|
},
|
|
491
594
|
{
|
|
492
|
-
"name": "
|
|
493
|
-
"
|
|
595
|
+
"name": "tokenSeparators",
|
|
596
|
+
"description": "自动分词的分隔符,仅在 mode=\"tags\" 时生效",
|
|
597
|
+
"attribute": false,
|
|
598
|
+
"type": "string[]"
|
|
494
599
|
},
|
|
495
600
|
{
|
|
496
|
-
"name": "
|
|
497
|
-
"description": "
|
|
498
|
-
"
|
|
601
|
+
"name": "maxTagCount",
|
|
602
|
+
"description": "最多显示多少个 tag, 剩余的 tag 将被隐藏",
|
|
603
|
+
"type": "number"
|
|
499
604
|
},
|
|
500
605
|
{
|
|
501
|
-
"name": "
|
|
502
|
-
"description": "
|
|
606
|
+
"name": "groupBy",
|
|
607
|
+
"description": "分组字段",
|
|
503
608
|
"type": "string"
|
|
504
609
|
},
|
|
505
610
|
{
|
|
506
|
-
"name": "
|
|
507
|
-
"description": "
|
|
611
|
+
"name": "suffix",
|
|
612
|
+
"description": "",
|
|
508
613
|
"attribute": false,
|
|
509
|
-
"type": "
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"name": "needValidate",
|
|
513
|
-
"description": "值变化时是否主动出发校验",
|
|
514
|
-
"type": "boolean"
|
|
515
|
-
}
|
|
516
|
-
],
|
|
517
|
-
"events": [],
|
|
518
|
-
"slots": [
|
|
519
|
-
{
|
|
520
|
-
"name": null,
|
|
521
|
-
"description": "表单项内容"
|
|
522
|
-
}
|
|
523
|
-
],
|
|
524
|
-
"methods": [],
|
|
525
|
-
"parts": [],
|
|
526
|
-
"description": "通用输入框构件",
|
|
527
|
-
"category": "form-input-basic",
|
|
528
|
-
"insider": true
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"name": "eo-submit-buttons",
|
|
532
|
-
"alias": [
|
|
533
|
-
"form.submit-buttons"
|
|
534
|
-
],
|
|
535
|
-
"properties": [
|
|
536
|
-
{
|
|
537
|
-
"name": "submitText",
|
|
538
|
-
"description": "提交按钮的文字",
|
|
539
|
-
"default": "\"提交\"",
|
|
540
|
-
"type": "string"
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"name": "cancelText",
|
|
544
|
-
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
545
|
-
"type": "string"
|
|
614
|
+
"type": "{ useBrick: UseSingleBrickConf }"
|
|
546
615
|
},
|
|
547
616
|
{
|
|
548
|
-
"name": "
|
|
549
|
-
"description": "
|
|
617
|
+
"name": "clearable",
|
|
618
|
+
"description": "是否支持清除",
|
|
619
|
+
"default": "true",
|
|
550
620
|
"type": "boolean"
|
|
551
621
|
},
|
|
552
622
|
{
|
|
553
|
-
"name": "
|
|
554
|
-
"description": "
|
|
555
|
-
"
|
|
623
|
+
"name": "fields",
|
|
624
|
+
"description": "列表指定字段作为 label 和 value",
|
|
625
|
+
"attribute": false,
|
|
626
|
+
"type": "{ label?: string; value?: string }"
|
|
556
627
|
},
|
|
557
628
|
{
|
|
558
|
-
"name": "
|
|
559
|
-
"description": "
|
|
560
|
-
"
|
|
629
|
+
"name": "useBackend",
|
|
630
|
+
"description": "后端搜索",
|
|
631
|
+
"attribute": false,
|
|
632
|
+
"type": "UseBackendConf"
|
|
561
633
|
},
|
|
562
634
|
{
|
|
563
|
-
"name": "
|
|
564
|
-
"
|
|
565
|
-
|
|
635
|
+
"name": "debounceSearchDelay",
|
|
636
|
+
"type": "number"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "inputStyle",
|
|
640
|
+
"description": "输入框样式",
|
|
641
|
+
"attribute": false,
|
|
642
|
+
"type": "React.CSSProperties"
|
|
566
643
|
}
|
|
567
644
|
],
|
|
568
645
|
"events": [
|
|
569
646
|
{
|
|
570
|
-
"name": "
|
|
571
|
-
"description": "
|
|
647
|
+
"name": "change",
|
|
648
|
+
"description": "下拉选择事件",
|
|
572
649
|
"detail": {
|
|
573
|
-
"type": "
|
|
650
|
+
"type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
|
|
574
651
|
}
|
|
575
652
|
},
|
|
576
653
|
{
|
|
577
|
-
"name": "
|
|
578
|
-
"description": "
|
|
654
|
+
"name": "search",
|
|
655
|
+
"description": "下拉框search事件",
|
|
656
|
+
"detail": {
|
|
657
|
+
"type": "{\n value: string;\n }"
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "focus",
|
|
662
|
+
"description": "下拉框focus事件",
|
|
579
663
|
"detail": {
|
|
580
664
|
"type": "void"
|
|
581
665
|
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "options.change",
|
|
669
|
+
"description": "选项列表变化事件",
|
|
670
|
+
"detail": {
|
|
671
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
672
|
+
}
|
|
582
673
|
}
|
|
583
674
|
],
|
|
584
675
|
"slots": [],
|
|
585
676
|
"methods": [],
|
|
586
677
|
"parts": [],
|
|
587
|
-
"description": "
|
|
678
|
+
"description": "通用下拉选择构件",
|
|
588
679
|
"category": "form-input-basic"
|
|
589
680
|
},
|
|
590
681
|
{
|
|
@@ -679,97 +770,6 @@
|
|
|
679
770
|
"description": "表单复选框构件",
|
|
680
771
|
"category": "form-input-basic"
|
|
681
772
|
},
|
|
682
|
-
{
|
|
683
|
-
"name": "eo-textarea",
|
|
684
|
-
"alias": [
|
|
685
|
-
"form.general-textarea"
|
|
686
|
-
],
|
|
687
|
-
"properties": [
|
|
688
|
-
{
|
|
689
|
-
"name": "name",
|
|
690
|
-
"description": "字段名称",
|
|
691
|
-
"type": "string"
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
"name": "label",
|
|
695
|
-
"description": "标签文字",
|
|
696
|
-
"type": "string"
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
"name": "value",
|
|
700
|
-
"description": "值",
|
|
701
|
-
"type": "string"
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"name": "placeholder",
|
|
705
|
-
"description": "占位说明",
|
|
706
|
-
"type": "string"
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
"name": "disabled",
|
|
710
|
-
"description": "是否禁用",
|
|
711
|
-
"type": "boolean"
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
"name": "minLength",
|
|
715
|
-
"description": "最小长度",
|
|
716
|
-
"type": "number"
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
"name": "maxLength",
|
|
720
|
-
"description": "最大长度",
|
|
721
|
-
"type": "number"
|
|
722
|
-
},
|
|
723
|
-
{
|
|
724
|
-
"name": "autoSize",
|
|
725
|
-
"description": "大小自适应",
|
|
726
|
-
"attribute": false,
|
|
727
|
-
"type": "AutoSize"
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
"name": "required",
|
|
731
|
-
"description": "是否必填",
|
|
732
|
-
"type": "boolean"
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
"name": "max",
|
|
736
|
-
"description": "表单校验最大长度",
|
|
737
|
-
"type": "number"
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
"name": "min",
|
|
741
|
-
"description": "表单校验最小长度",
|
|
742
|
-
"type": "number"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
"name": "message",
|
|
746
|
-
"description": "校验信息",
|
|
747
|
-
"attribute": false,
|
|
748
|
-
"type": "Record<string, string>"
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
"name": "textareaStyle",
|
|
752
|
-
"description": "自定义样式",
|
|
753
|
-
"attribute": false,
|
|
754
|
-
"type": "React.CSSProperties"
|
|
755
|
-
}
|
|
756
|
-
],
|
|
757
|
-
"events": [
|
|
758
|
-
{
|
|
759
|
-
"name": "change",
|
|
760
|
-
"description": "",
|
|
761
|
-
"detail": {
|
|
762
|
-
"description": null,
|
|
763
|
-
"type": "string"
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
],
|
|
767
|
-
"slots": [],
|
|
768
|
-
"methods": [],
|
|
769
|
-
"parts": [],
|
|
770
|
-
"description": "通用多行文本输入框构件",
|
|
771
|
-
"category": "form-input-basic"
|
|
772
|
-
},
|
|
773
773
|
{
|
|
774
774
|
"name": "eo-dynamic-form-item",
|
|
775
775
|
"alias": [
|
|
@@ -923,60 +923,6 @@
|
|
|
923
923
|
"description": "搜索框",
|
|
924
924
|
"category": "form-input-basic"
|
|
925
925
|
},
|
|
926
|
-
{
|
|
927
|
-
"name": "eo-icon-select",
|
|
928
|
-
"alias": [
|
|
929
|
-
"form.icon-select"
|
|
930
|
-
],
|
|
931
|
-
"properties": [
|
|
932
|
-
{
|
|
933
|
-
"name": "name",
|
|
934
|
-
"description": "字段名称",
|
|
935
|
-
"type": "string"
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
"name": "label",
|
|
939
|
-
"description": "字段说明",
|
|
940
|
-
"type": "string"
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
"name": "value",
|
|
944
|
-
"description": "值",
|
|
945
|
-
"attribute": false,
|
|
946
|
-
"type": "Icon"
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
"name": "disabled",
|
|
950
|
-
"description": "是否禁用",
|
|
951
|
-
"type": "boolean"
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
"name": "required",
|
|
955
|
-
"description": "是否必填",
|
|
956
|
-
"type": "boolean"
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
"name": "message",
|
|
960
|
-
"description": "是否必填",
|
|
961
|
-
"attribute": false,
|
|
962
|
-
"type": "Record<string, string>"
|
|
963
|
-
}
|
|
964
|
-
],
|
|
965
|
-
"events": [
|
|
966
|
-
{
|
|
967
|
-
"name": "change",
|
|
968
|
-
"description": "值变化时触发",
|
|
969
|
-
"detail": {
|
|
970
|
-
"type": "Icon | undefined"
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
],
|
|
974
|
-
"slots": [],
|
|
975
|
-
"methods": [],
|
|
976
|
-
"parts": [],
|
|
977
|
-
"description": "图标选择构件",
|
|
978
|
-
"category": "form-input-basic"
|
|
979
|
-
},
|
|
980
926
|
{
|
|
981
927
|
"name": "eo-form",
|
|
982
928
|
"alias": [
|
|
@@ -1112,6 +1058,60 @@
|
|
|
1112
1058
|
"description": "表单构件",
|
|
1113
1059
|
"category": "form-input-basic"
|
|
1114
1060
|
},
|
|
1061
|
+
{
|
|
1062
|
+
"name": "eo-icon-select",
|
|
1063
|
+
"alias": [
|
|
1064
|
+
"form.icon-select"
|
|
1065
|
+
],
|
|
1066
|
+
"properties": [
|
|
1067
|
+
{
|
|
1068
|
+
"name": "name",
|
|
1069
|
+
"description": "字段名称",
|
|
1070
|
+
"type": "string"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "label",
|
|
1074
|
+
"description": "字段说明",
|
|
1075
|
+
"type": "string"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"name": "value",
|
|
1079
|
+
"description": "值",
|
|
1080
|
+
"attribute": false,
|
|
1081
|
+
"type": "Icon"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "disabled",
|
|
1085
|
+
"description": "是否禁用",
|
|
1086
|
+
"type": "boolean"
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"name": "required",
|
|
1090
|
+
"description": "是否必填",
|
|
1091
|
+
"type": "boolean"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "message",
|
|
1095
|
+
"description": "是否必填",
|
|
1096
|
+
"attribute": false,
|
|
1097
|
+
"type": "Record<string, string>"
|
|
1098
|
+
}
|
|
1099
|
+
],
|
|
1100
|
+
"events": [
|
|
1101
|
+
{
|
|
1102
|
+
"name": "change",
|
|
1103
|
+
"description": "值变化时触发",
|
|
1104
|
+
"detail": {
|
|
1105
|
+
"type": "Icon | undefined"
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
],
|
|
1109
|
+
"slots": [],
|
|
1110
|
+
"methods": [],
|
|
1111
|
+
"parts": [],
|
|
1112
|
+
"description": "图标选择构件",
|
|
1113
|
+
"category": "form-input-basic"
|
|
1114
|
+
},
|
|
1115
1115
|
{
|
|
1116
1116
|
"name": "eo-upload-image",
|
|
1117
1117
|
"alias": [
|