@next-bricks/form 1.15.18 → 1.15.19
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 +35 -35
- package/dist/chunks/{5347.062653c6.js → 5347.c78ea3ac.js} +3 -3
- package/dist/chunks/{5347.062653c6.js.map → 5347.c78ea3ac.js.map} +1 -1
- package/dist/chunks/{eo-color-picker.ddddea8e.js → eo-color-picker.6690abaf.js} +2 -2
- package/dist/chunks/{eo-color-picker.ddddea8e.js.map → eo-color-picker.6690abaf.js.map} +1 -1
- package/dist/chunks/{main.8f0c9874.js → main.b1b4878e.js} +2 -2
- package/dist/chunks/{main.8f0c9874.js.map → main.b1b4878e.js.map} +1 -1
- package/dist/examples.json +11 -11
- package/dist/{index.02c0692b.js → index.71da0358.js} +2 -2
- package/dist/{index.02c0692b.js.map → index.71da0358.js.map} +1 -1
- package/dist/manifest.json +503 -503
- package/dist/types.json +1549 -1549
- package/package.json +2 -2
- /package/dist/chunks/{5347.062653c6.js.LICENSE.txt → 5347.c78ea3ac.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,104 +3,6 @@
|
|
|
3
3
|
"package": "@next-bricks/form",
|
|
4
4
|
"name": "form",
|
|
5
5
|
"bricks": [
|
|
6
|
-
{
|
|
7
|
-
"name": "eo-radio",
|
|
8
|
-
"alias": [
|
|
9
|
-
"form.general-radio"
|
|
10
|
-
],
|
|
11
|
-
"properties": [
|
|
12
|
-
{
|
|
13
|
-
"name": "name",
|
|
14
|
-
"description": "下拉框字段名",
|
|
15
|
-
"type": "string"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "label",
|
|
19
|
-
"description": "单选框字段说明",
|
|
20
|
-
"type": "string"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "options",
|
|
24
|
-
"description": "单选框选项表",
|
|
25
|
-
"required": true,
|
|
26
|
-
"attribute": false,
|
|
27
|
-
"type": "GeneralOption[]"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"name": "value",
|
|
31
|
-
"description": "单选框当前选中始值",
|
|
32
|
-
"attribute": false,
|
|
33
|
-
"type": "any"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "required",
|
|
37
|
-
"description": "是否必填",
|
|
38
|
-
"type": "boolean"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "message",
|
|
42
|
-
"description": "校验文本信息",
|
|
43
|
-
"attribute": false,
|
|
44
|
-
"type": "Record<string, string>"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "disabled",
|
|
48
|
-
"description": "是否禁用",
|
|
49
|
-
"type": "boolean"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "type",
|
|
53
|
-
"description": "单选框样式类型",
|
|
54
|
-
"default": "\"default\"",
|
|
55
|
-
"type": "RadioType"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "ui",
|
|
59
|
-
"description": "UI样式",
|
|
60
|
-
"default": "\"default\"",
|
|
61
|
-
"type": "UIType"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "size",
|
|
65
|
-
"description": "大小,只对按钮样式生效",
|
|
66
|
-
"default": "\"medium\"",
|
|
67
|
-
"type": "ComponentSize"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "customStyle",
|
|
71
|
-
"description": "自定义radio的外层样式",
|
|
72
|
-
"attribute": false,
|
|
73
|
-
"type": "React.CSSProperties"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "useBrick",
|
|
77
|
-
"description": "自定义radio的内容",
|
|
78
|
-
"attribute": false,
|
|
79
|
-
"type": "UseSingleBrickConf"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"events": [
|
|
83
|
-
{
|
|
84
|
-
"name": "change",
|
|
85
|
-
"description": "值变化事件",
|
|
86
|
-
"detail": {
|
|
87
|
-
"type": "GeneralComplexOption | undefined"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "options.change",
|
|
92
|
-
"description": "选项列表变化事件",
|
|
93
|
-
"detail": {
|
|
94
|
-
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
"slots": [],
|
|
99
|
-
"methods": [],
|
|
100
|
-
"parts": [],
|
|
101
|
-
"description": "通用单选构件",
|
|
102
|
-
"category": "form-input-basic"
|
|
103
|
-
},
|
|
104
6
|
{
|
|
105
7
|
"name": "eo-select",
|
|
106
8
|
"alias": [
|
|
@@ -249,151 +151,6 @@
|
|
|
249
151
|
"description": "通用下拉选择构件",
|
|
250
152
|
"category": "form-input-basic"
|
|
251
153
|
},
|
|
252
|
-
{
|
|
253
|
-
"name": "eo-form",
|
|
254
|
-
"alias": [
|
|
255
|
-
"form.general-form"
|
|
256
|
-
],
|
|
257
|
-
"properties": [
|
|
258
|
-
{
|
|
259
|
-
"name": "staticValues",
|
|
260
|
-
"attribute": false,
|
|
261
|
-
"type": "Record<string, unknown>"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "layout",
|
|
265
|
-
"description": "布局方式(默认 vertical 布局)",
|
|
266
|
-
"default": "vertical",
|
|
267
|
-
"type": "Layout"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"name": "size",
|
|
271
|
-
"description": "表单组件尺寸",
|
|
272
|
-
"type": "ComponentSize"
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"name": "labelCol",
|
|
276
|
-
"description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
277
|
-
"default": "{\n sm: {\n span: 24,\n },\n md: {\n span: 24,\n },\n lg: {\n span: 7,\n },\n xl: {\n span: 5,\n },\n xxl: {\n span: 4,\n },\n }",
|
|
278
|
-
"attribute": false,
|
|
279
|
-
"type": "ColProps"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"name": "wrapperCol",
|
|
283
|
-
"description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
284
|
-
"default": "{\n sm: {\n span: 18,\n },\n md: {\n span: 18,\n },\n lg: {\n span: 13,\n },\n xl: {\n span: 16,\n },\n xxl: {\n span: 18,\n },\n }",
|
|
285
|
-
"attribute": false,
|
|
286
|
-
"type": "ColProps"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "formStyle",
|
|
290
|
-
"attribute": false,
|
|
291
|
-
"type": "React.CSSProperties"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"name": "textContent",
|
|
295
|
-
"type": "string",
|
|
296
|
-
"description": "文本内容"
|
|
297
|
-
}
|
|
298
|
-
],
|
|
299
|
-
"events": [
|
|
300
|
-
{
|
|
301
|
-
"name": "values.change",
|
|
302
|
-
"description": "表单值变更事件",
|
|
303
|
-
"detail": {
|
|
304
|
-
"description": null,
|
|
305
|
-
"type": "Record<string, unknown>"
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"name": "validate.success",
|
|
310
|
-
"description": "表单验证成功时触发事件",
|
|
311
|
-
"detail": {
|
|
312
|
-
"type": "Record<string, unknown>"
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"name": "validate.error",
|
|
317
|
-
"description": "表单验证报错时触发事件",
|
|
318
|
-
"detail": {
|
|
319
|
-
"type": "(MessageBody & { name: string })[]"
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
],
|
|
323
|
-
"slots": [
|
|
324
|
-
{
|
|
325
|
-
"name": null,
|
|
326
|
-
"description": "表单内容"
|
|
327
|
-
}
|
|
328
|
-
],
|
|
329
|
-
"methods": [
|
|
330
|
-
{
|
|
331
|
-
"name": "validate",
|
|
332
|
-
"params": [],
|
|
333
|
-
"description": "表单校验方法",
|
|
334
|
-
"returns": {
|
|
335
|
-
"type": "boolean | Record<string, unknown>"
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"name": "setInitValue",
|
|
340
|
-
"params": [
|
|
341
|
-
{
|
|
342
|
-
"name": "values",
|
|
343
|
-
"type": "Record<string, unknown>"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"name": "options",
|
|
347
|
-
"type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
|
|
348
|
-
}
|
|
349
|
-
],
|
|
350
|
-
"description": "表单设置值方法",
|
|
351
|
-
"returns": {}
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"name": "resetFields",
|
|
355
|
-
"params": [
|
|
356
|
-
{
|
|
357
|
-
"name": "name",
|
|
358
|
-
"type": "string"
|
|
359
|
-
}
|
|
360
|
-
],
|
|
361
|
-
"description": "表单重置值方法",
|
|
362
|
-
"returns": {}
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"name": "getFieldsValue",
|
|
366
|
-
"params": [
|
|
367
|
-
{
|
|
368
|
-
"name": "name",
|
|
369
|
-
"type": "string"
|
|
370
|
-
}
|
|
371
|
-
],
|
|
372
|
-
"description": "获取表单值方法",
|
|
373
|
-
"returns": {}
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"name": "validateField",
|
|
377
|
-
"params": [
|
|
378
|
-
{
|
|
379
|
-
"name": "name",
|
|
380
|
-
"type": "string"
|
|
381
|
-
}
|
|
382
|
-
],
|
|
383
|
-
"description": "校验表单字段方法",
|
|
384
|
-
"returns": {}
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"name": "resetValidateState",
|
|
388
|
-
"params": [],
|
|
389
|
-
"description": "重置表单校验状态方法",
|
|
390
|
-
"returns": {}
|
|
391
|
-
}
|
|
392
|
-
],
|
|
393
|
-
"parts": [],
|
|
394
|
-
"description": "表单构件",
|
|
395
|
-
"category": "form-input-basic"
|
|
396
|
-
},
|
|
397
154
|
{
|
|
398
155
|
"name": "eo-submit-buttons",
|
|
399
156
|
"alias": [
|
|
@@ -455,101 +212,101 @@
|
|
|
455
212
|
"category": "form-input-basic"
|
|
456
213
|
},
|
|
457
214
|
{
|
|
458
|
-
"name": "eo-
|
|
215
|
+
"name": "eo-radio",
|
|
459
216
|
"alias": [
|
|
460
|
-
"form.general-
|
|
217
|
+
"form.general-radio"
|
|
461
218
|
],
|
|
462
219
|
"properties": [
|
|
463
220
|
{
|
|
464
221
|
"name": "name",
|
|
465
|
-
"description": "
|
|
222
|
+
"description": "下拉框字段名",
|
|
466
223
|
"type": "string"
|
|
467
224
|
},
|
|
468
225
|
{
|
|
469
226
|
"name": "label",
|
|
470
|
-
"description": "
|
|
227
|
+
"description": "单选框字段说明",
|
|
471
228
|
"type": "string"
|
|
472
229
|
},
|
|
473
230
|
{
|
|
474
|
-
"name": "
|
|
475
|
-
"description": "
|
|
476
|
-
"
|
|
231
|
+
"name": "options",
|
|
232
|
+
"description": "单选框选项表",
|
|
233
|
+
"required": true,
|
|
234
|
+
"attribute": false,
|
|
235
|
+
"type": "GeneralOption[]"
|
|
477
236
|
},
|
|
478
237
|
{
|
|
479
|
-
"name": "
|
|
480
|
-
"description": "
|
|
481
|
-
"
|
|
238
|
+
"name": "value",
|
|
239
|
+
"description": "单选框当前选中始值",
|
|
240
|
+
"attribute": false,
|
|
241
|
+
"type": "any"
|
|
482
242
|
},
|
|
483
243
|
{
|
|
484
|
-
"name": "
|
|
485
|
-
"description": "
|
|
244
|
+
"name": "required",
|
|
245
|
+
"description": "是否必填",
|
|
486
246
|
"type": "boolean"
|
|
487
247
|
},
|
|
488
248
|
{
|
|
489
|
-
"name": "
|
|
490
|
-
"description": "
|
|
491
|
-
"type": "number"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"name": "maxLength",
|
|
495
|
-
"description": "最大长度",
|
|
496
|
-
"type": "number"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"name": "autoSize",
|
|
500
|
-
"description": "大小自适应",
|
|
249
|
+
"name": "message",
|
|
250
|
+
"description": "校验文本信息",
|
|
501
251
|
"attribute": false,
|
|
502
|
-
"type": "
|
|
252
|
+
"type": "Record<string, string>"
|
|
503
253
|
},
|
|
504
254
|
{
|
|
505
|
-
"name": "
|
|
506
|
-
"description": "
|
|
255
|
+
"name": "disabled",
|
|
256
|
+
"description": "是否禁用",
|
|
507
257
|
"type": "boolean"
|
|
508
258
|
},
|
|
509
259
|
{
|
|
510
|
-
"name": "
|
|
511
|
-
"description": "
|
|
512
|
-
"
|
|
260
|
+
"name": "type",
|
|
261
|
+
"description": "单选框样式类型",
|
|
262
|
+
"default": "\"default\"",
|
|
263
|
+
"type": "RadioType"
|
|
513
264
|
},
|
|
514
265
|
{
|
|
515
|
-
"name": "
|
|
516
|
-
"description": "
|
|
517
|
-
"
|
|
266
|
+
"name": "ui",
|
|
267
|
+
"description": "UI样式",
|
|
268
|
+
"default": "\"default\"",
|
|
269
|
+
"type": "UIType"
|
|
518
270
|
},
|
|
519
271
|
{
|
|
520
|
-
"name": "
|
|
521
|
-
"description": "
|
|
522
|
-
"
|
|
523
|
-
"type": "
|
|
272
|
+
"name": "size",
|
|
273
|
+
"description": "大小,只对按钮样式生效",
|
|
274
|
+
"default": "\"medium\"",
|
|
275
|
+
"type": "ComponentSize"
|
|
524
276
|
},
|
|
525
277
|
{
|
|
526
|
-
"name": "
|
|
527
|
-
"description": "
|
|
278
|
+
"name": "customStyle",
|
|
279
|
+
"description": "自定义radio的外层样式",
|
|
528
280
|
"attribute": false,
|
|
529
281
|
"type": "React.CSSProperties"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "useBrick",
|
|
285
|
+
"description": "自定义radio的内容",
|
|
286
|
+
"attribute": false,
|
|
287
|
+
"type": "UseSingleBrickConf"
|
|
530
288
|
}
|
|
531
289
|
],
|
|
532
290
|
"events": [
|
|
533
291
|
{
|
|
534
292
|
"name": "change",
|
|
535
|
-
"description": "",
|
|
293
|
+
"description": "值变化事件",
|
|
536
294
|
"detail": {
|
|
537
|
-
"
|
|
538
|
-
"type": "string"
|
|
295
|
+
"type": "GeneralComplexOption | undefined"
|
|
539
296
|
}
|
|
540
|
-
}
|
|
541
|
-
],
|
|
542
|
-
"slots": [],
|
|
543
|
-
"methods": [
|
|
297
|
+
},
|
|
544
298
|
{
|
|
545
|
-
"name": "
|
|
546
|
-
"
|
|
547
|
-
"
|
|
548
|
-
|
|
299
|
+
"name": "options.change",
|
|
300
|
+
"description": "选项列表变化事件",
|
|
301
|
+
"detail": {
|
|
302
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
303
|
+
}
|
|
549
304
|
}
|
|
550
305
|
],
|
|
306
|
+
"slots": [],
|
|
307
|
+
"methods": [],
|
|
551
308
|
"parts": [],
|
|
552
|
-
"description": "
|
|
309
|
+
"description": "通用单选构件",
|
|
553
310
|
"category": "form-input-basic"
|
|
554
311
|
},
|
|
555
312
|
{
|
|
@@ -644,6 +401,104 @@
|
|
|
644
401
|
"description": "表单复选框构件",
|
|
645
402
|
"category": "form-input-basic"
|
|
646
403
|
},
|
|
404
|
+
{
|
|
405
|
+
"name": "eo-textarea",
|
|
406
|
+
"alias": [
|
|
407
|
+
"form.general-textarea"
|
|
408
|
+
],
|
|
409
|
+
"properties": [
|
|
410
|
+
{
|
|
411
|
+
"name": "name",
|
|
412
|
+
"description": "字段名称",
|
|
413
|
+
"type": "string"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "label",
|
|
417
|
+
"description": "标签文字",
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "value",
|
|
422
|
+
"description": "值",
|
|
423
|
+
"type": "string"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "placeholder",
|
|
427
|
+
"description": "占位说明",
|
|
428
|
+
"type": "string"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "disabled",
|
|
432
|
+
"description": "是否禁用",
|
|
433
|
+
"type": "boolean"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "minLength",
|
|
437
|
+
"description": "最小长度",
|
|
438
|
+
"type": "number"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "maxLength",
|
|
442
|
+
"description": "最大长度",
|
|
443
|
+
"type": "number"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "autoSize",
|
|
447
|
+
"description": "大小自适应",
|
|
448
|
+
"attribute": false,
|
|
449
|
+
"type": "AutoSize"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "required",
|
|
453
|
+
"description": "是否必填",
|
|
454
|
+
"type": "boolean"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "max",
|
|
458
|
+
"description": "表单校验最大长度",
|
|
459
|
+
"type": "number"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "min",
|
|
463
|
+
"description": "表单校验最小长度",
|
|
464
|
+
"type": "number"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "message",
|
|
468
|
+
"description": "校验信息",
|
|
469
|
+
"attribute": false,
|
|
470
|
+
"type": "Record<string, string>"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "textareaStyle",
|
|
474
|
+
"description": "自定义样式",
|
|
475
|
+
"attribute": false,
|
|
476
|
+
"type": "React.CSSProperties"
|
|
477
|
+
}
|
|
478
|
+
],
|
|
479
|
+
"events": [
|
|
480
|
+
{
|
|
481
|
+
"name": "change",
|
|
482
|
+
"description": "",
|
|
483
|
+
"detail": {
|
|
484
|
+
"description": null,
|
|
485
|
+
"type": "string"
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"slots": [],
|
|
490
|
+
"methods": [
|
|
491
|
+
{
|
|
492
|
+
"name": "focusTextarea",
|
|
493
|
+
"params": [],
|
|
494
|
+
"description": "focus",
|
|
495
|
+
"returns": {}
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
"parts": [],
|
|
499
|
+
"description": "通用多行文本输入框构件",
|
|
500
|
+
"category": "form-input-basic"
|
|
501
|
+
},
|
|
647
502
|
{
|
|
648
503
|
"name": "eo-dynamic-form-item",
|
|
649
504
|
"alias": [
|
|
@@ -790,23 +645,77 @@
|
|
|
790
645
|
}
|
|
791
646
|
},
|
|
792
647
|
{
|
|
793
|
-
"name": "search",
|
|
794
|
-
"description": "搜索时触发",
|
|
648
|
+
"name": "search",
|
|
649
|
+
"description": "搜索时触发",
|
|
650
|
+
"detail": {
|
|
651
|
+
"type": "string"
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
],
|
|
655
|
+
"slots": [],
|
|
656
|
+
"methods": [],
|
|
657
|
+
"parts": [],
|
|
658
|
+
"description": "搜索框",
|
|
659
|
+
"category": "interact-basic"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "eo-icon-select",
|
|
663
|
+
"alias": [
|
|
664
|
+
"form.icon-select"
|
|
665
|
+
],
|
|
666
|
+
"properties": [
|
|
667
|
+
{
|
|
668
|
+
"name": "name",
|
|
669
|
+
"description": "字段名称",
|
|
670
|
+
"type": "string"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "label",
|
|
674
|
+
"description": "字段说明",
|
|
675
|
+
"type": "string"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "value",
|
|
679
|
+
"description": "值",
|
|
680
|
+
"attribute": false,
|
|
681
|
+
"type": "Icon"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "disabled",
|
|
685
|
+
"description": "是否禁用",
|
|
686
|
+
"type": "boolean"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "required",
|
|
690
|
+
"description": "是否必填",
|
|
691
|
+
"type": "boolean"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"name": "message",
|
|
695
|
+
"description": "是否必填",
|
|
696
|
+
"attribute": false,
|
|
697
|
+
"type": "Record<string, string>"
|
|
698
|
+
}
|
|
699
|
+
],
|
|
700
|
+
"events": [
|
|
701
|
+
{
|
|
702
|
+
"name": "change",
|
|
703
|
+
"description": "值变化时触发",
|
|
795
704
|
"detail": {
|
|
796
|
-
"type": "
|
|
705
|
+
"type": "Icon | undefined"
|
|
797
706
|
}
|
|
798
707
|
}
|
|
799
708
|
],
|
|
800
709
|
"slots": [],
|
|
801
710
|
"methods": [],
|
|
802
711
|
"parts": [],
|
|
803
|
-
"description": "
|
|
804
|
-
"category": "
|
|
712
|
+
"description": "图标选择构件",
|
|
713
|
+
"category": "form-input-basic"
|
|
805
714
|
},
|
|
806
715
|
{
|
|
807
|
-
"name": "eo-
|
|
716
|
+
"name": "eo-upload-image",
|
|
808
717
|
"alias": [
|
|
809
|
-
"form.
|
|
718
|
+
"form.upload-image"
|
|
810
719
|
],
|
|
811
720
|
"properties": [
|
|
812
721
|
{
|
|
@@ -823,13 +732,28 @@
|
|
|
823
732
|
"name": "value",
|
|
824
733
|
"description": "值",
|
|
825
734
|
"attribute": false,
|
|
826
|
-
"type": "
|
|
735
|
+
"type": "ImageData[]"
|
|
827
736
|
},
|
|
828
737
|
{
|
|
829
|
-
"name": "
|
|
830
|
-
"description": "
|
|
738
|
+
"name": "bucketName",
|
|
739
|
+
"description": "对象存储桶名字",
|
|
740
|
+
"type": "string"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "maxCount",
|
|
744
|
+
"description": "最大上传数量",
|
|
745
|
+
"type": "number"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"name": "multiple",
|
|
749
|
+
"description": "是否支持选定的多张图片",
|
|
831
750
|
"type": "boolean"
|
|
832
751
|
},
|
|
752
|
+
{
|
|
753
|
+
"name": "limitSize",
|
|
754
|
+
"description": "上传大小限制(单位为 MB)",
|
|
755
|
+
"type": "number"
|
|
756
|
+
},
|
|
833
757
|
{
|
|
834
758
|
"name": "required",
|
|
835
759
|
"description": "是否必填",
|
|
@@ -837,7 +761,7 @@
|
|
|
837
761
|
},
|
|
838
762
|
{
|
|
839
763
|
"name": "message",
|
|
840
|
-
"description": "
|
|
764
|
+
"description": "校验文本信息",
|
|
841
765
|
"attribute": false,
|
|
842
766
|
"type": "Record<string, string>"
|
|
843
767
|
}
|
|
@@ -847,14 +771,14 @@
|
|
|
847
771
|
"name": "change",
|
|
848
772
|
"description": "值变化时触发",
|
|
849
773
|
"detail": {
|
|
850
|
-
"type": "
|
|
774
|
+
"type": "ImageData[]"
|
|
851
775
|
}
|
|
852
776
|
}
|
|
853
777
|
],
|
|
854
778
|
"slots": [],
|
|
855
779
|
"methods": [],
|
|
856
780
|
"parts": [],
|
|
857
|
-
"description": "
|
|
781
|
+
"description": "上传图片构件",
|
|
858
782
|
"category": "form-input-basic"
|
|
859
783
|
},
|
|
860
784
|
{
|
|
@@ -926,6 +850,151 @@
|
|
|
926
850
|
"description": "开关",
|
|
927
851
|
"category": "form-input-basic"
|
|
928
852
|
},
|
|
853
|
+
{
|
|
854
|
+
"name": "eo-form",
|
|
855
|
+
"alias": [
|
|
856
|
+
"form.general-form"
|
|
857
|
+
],
|
|
858
|
+
"properties": [
|
|
859
|
+
{
|
|
860
|
+
"name": "staticValues",
|
|
861
|
+
"attribute": false,
|
|
862
|
+
"type": "Record<string, unknown>"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"name": "layout",
|
|
866
|
+
"description": "布局方式(默认 vertical 布局)",
|
|
867
|
+
"default": "vertical",
|
|
868
|
+
"type": "Layout"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "size",
|
|
872
|
+
"description": "表单组件尺寸",
|
|
873
|
+
"type": "ComponentSize"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"name": "labelCol",
|
|
877
|
+
"description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
878
|
+
"default": "{\n sm: {\n span: 24,\n },\n md: {\n span: 24,\n },\n lg: {\n span: 7,\n },\n xl: {\n span: 5,\n },\n xxl: {\n span: 4,\n },\n }",
|
|
879
|
+
"attribute": false,
|
|
880
|
+
"type": "ColProps"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"name": "wrapperCol",
|
|
884
|
+
"description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
885
|
+
"default": "{\n sm: {\n span: 18,\n },\n md: {\n span: 18,\n },\n lg: {\n span: 13,\n },\n xl: {\n span: 16,\n },\n xxl: {\n span: 18,\n },\n }",
|
|
886
|
+
"attribute": false,
|
|
887
|
+
"type": "ColProps"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"name": "formStyle",
|
|
891
|
+
"attribute": false,
|
|
892
|
+
"type": "React.CSSProperties"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"name": "textContent",
|
|
896
|
+
"type": "string",
|
|
897
|
+
"description": "文本内容"
|
|
898
|
+
}
|
|
899
|
+
],
|
|
900
|
+
"events": [
|
|
901
|
+
{
|
|
902
|
+
"name": "values.change",
|
|
903
|
+
"description": "表单值变更事件",
|
|
904
|
+
"detail": {
|
|
905
|
+
"description": null,
|
|
906
|
+
"type": "Record<string, unknown>"
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "validate.success",
|
|
911
|
+
"description": "表单验证成功时触发事件",
|
|
912
|
+
"detail": {
|
|
913
|
+
"type": "Record<string, unknown>"
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "validate.error",
|
|
918
|
+
"description": "表单验证报错时触发事件",
|
|
919
|
+
"detail": {
|
|
920
|
+
"type": "(MessageBody & { name: string })[]"
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
],
|
|
924
|
+
"slots": [
|
|
925
|
+
{
|
|
926
|
+
"name": null,
|
|
927
|
+
"description": "表单内容"
|
|
928
|
+
}
|
|
929
|
+
],
|
|
930
|
+
"methods": [
|
|
931
|
+
{
|
|
932
|
+
"name": "validate",
|
|
933
|
+
"params": [],
|
|
934
|
+
"description": "表单校验方法",
|
|
935
|
+
"returns": {
|
|
936
|
+
"type": "boolean | Record<string, unknown>"
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"name": "setInitValue",
|
|
941
|
+
"params": [
|
|
942
|
+
{
|
|
943
|
+
"name": "values",
|
|
944
|
+
"type": "Record<string, unknown>"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"name": "options",
|
|
948
|
+
"type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
|
|
949
|
+
}
|
|
950
|
+
],
|
|
951
|
+
"description": "表单设置值方法",
|
|
952
|
+
"returns": {}
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"name": "resetFields",
|
|
956
|
+
"params": [
|
|
957
|
+
{
|
|
958
|
+
"name": "name",
|
|
959
|
+
"type": "string"
|
|
960
|
+
}
|
|
961
|
+
],
|
|
962
|
+
"description": "表单重置值方法",
|
|
963
|
+
"returns": {}
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "getFieldsValue",
|
|
967
|
+
"params": [
|
|
968
|
+
{
|
|
969
|
+
"name": "name",
|
|
970
|
+
"type": "string"
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
"description": "获取表单值方法",
|
|
974
|
+
"returns": {}
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"name": "validateField",
|
|
978
|
+
"params": [
|
|
979
|
+
{
|
|
980
|
+
"name": "name",
|
|
981
|
+
"type": "string"
|
|
982
|
+
}
|
|
983
|
+
],
|
|
984
|
+
"description": "校验表单字段方法",
|
|
985
|
+
"returns": {}
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "resetValidateState",
|
|
989
|
+
"params": [],
|
|
990
|
+
"description": "重置表单校验状态方法",
|
|
991
|
+
"returns": {}
|
|
992
|
+
}
|
|
993
|
+
],
|
|
994
|
+
"parts": [],
|
|
995
|
+
"description": "表单构件",
|
|
996
|
+
"category": "form-input-basic"
|
|
997
|
+
},
|
|
929
998
|
{
|
|
930
999
|
"name": "eo-upload-file",
|
|
931
1000
|
"properties": [
|
|
@@ -1080,104 +1149,35 @@
|
|
|
1080
1149
|
},
|
|
1081
1150
|
{
|
|
1082
1151
|
"name": "required",
|
|
1083
|
-
"description": "是否必填",
|
|
1084
|
-
"type": "boolean"
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
"name": "value",
|
|
1088
|
-
"type": "string"
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
"name": "options",
|
|
1092
|
-
"description": "选项列表",
|
|
1093
|
-
"required": true,
|
|
1094
|
-
"attribute": false,
|
|
1095
|
-
"type": "string[] | OptionType[]"
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"name": "filterByCaption",
|
|
1099
|
-
"description": "搜索时是否根据caption过滤options",
|
|
1100
|
-
"type": "boolean"
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"name": "validator",
|
|
1104
|
-
"description": "表单项校验方法",
|
|
1105
|
-
"attribute": false,
|
|
1106
|
-
"type": "((value: any) => MessageBody)"
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
"name": "pattern",
|
|
1110
|
-
"description": "正则校验规则",
|
|
1111
|
-
"type": "string"
|
|
1112
|
-
},
|
|
1113
|
-
{
|
|
1114
|
-
"name": "message",
|
|
1115
|
-
"description": "校验文本信息",
|
|
1116
|
-
"attribute": false,
|
|
1117
|
-
"type": "Record<string, string>"
|
|
1118
|
-
}
|
|
1119
|
-
],
|
|
1120
|
-
"events": [
|
|
1121
|
-
{
|
|
1122
|
-
"name": "change",
|
|
1123
|
-
"description": "值改变事件",
|
|
1124
|
-
"detail": {
|
|
1125
|
-
"type": "string"
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
],
|
|
1129
|
-
"slots": [],
|
|
1130
|
-
"methods": [],
|
|
1131
|
-
"parts": [],
|
|
1132
|
-
"description": "带候选项的输入框",
|
|
1133
|
-
"category": "form-input-basic"
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
"name": "eo-upload-image",
|
|
1137
|
-
"alias": [
|
|
1138
|
-
"form.upload-image"
|
|
1139
|
-
],
|
|
1140
|
-
"properties": [
|
|
1141
|
-
{
|
|
1142
|
-
"name": "name",
|
|
1143
|
-
"description": "字段名称",
|
|
1144
|
-
"type": "string"
|
|
1145
|
-
},
|
|
1146
|
-
{
|
|
1147
|
-
"name": "label",
|
|
1148
|
-
"description": "字段说明",
|
|
1149
|
-
"type": "string"
|
|
1152
|
+
"description": "是否必填",
|
|
1153
|
+
"type": "boolean"
|
|
1150
1154
|
},
|
|
1151
1155
|
{
|
|
1152
1156
|
"name": "value",
|
|
1153
|
-
"description": "值",
|
|
1154
|
-
"attribute": false,
|
|
1155
|
-
"type": "ImageData[]"
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
"name": "bucketName",
|
|
1159
|
-
"description": "对象存储桶名字",
|
|
1160
1157
|
"type": "string"
|
|
1161
1158
|
},
|
|
1162
1159
|
{
|
|
1163
|
-
"name": "
|
|
1164
|
-
"description": "
|
|
1165
|
-
"
|
|
1160
|
+
"name": "options",
|
|
1161
|
+
"description": "选项列表",
|
|
1162
|
+
"required": true,
|
|
1163
|
+
"attribute": false,
|
|
1164
|
+
"type": "string[] | OptionType[]"
|
|
1166
1165
|
},
|
|
1167
1166
|
{
|
|
1168
|
-
"name": "
|
|
1169
|
-
"description": "
|
|
1167
|
+
"name": "filterByCaption",
|
|
1168
|
+
"description": "搜索时是否根据caption过滤options",
|
|
1170
1169
|
"type": "boolean"
|
|
1171
1170
|
},
|
|
1172
1171
|
{
|
|
1173
|
-
"name": "
|
|
1174
|
-
"description": "
|
|
1175
|
-
"
|
|
1172
|
+
"name": "validator",
|
|
1173
|
+
"description": "表单项校验方法",
|
|
1174
|
+
"attribute": false,
|
|
1175
|
+
"type": "((value: any) => MessageBody)"
|
|
1176
1176
|
},
|
|
1177
1177
|
{
|
|
1178
|
-
"name": "
|
|
1179
|
-
"description": "
|
|
1180
|
-
"type": "
|
|
1178
|
+
"name": "pattern",
|
|
1179
|
+
"description": "正则校验规则",
|
|
1180
|
+
"type": "string"
|
|
1181
1181
|
},
|
|
1182
1182
|
{
|
|
1183
1183
|
"name": "message",
|
|
@@ -1189,16 +1189,16 @@
|
|
|
1189
1189
|
"events": [
|
|
1190
1190
|
{
|
|
1191
1191
|
"name": "change",
|
|
1192
|
-
"description": "
|
|
1192
|
+
"description": "值改变事件",
|
|
1193
1193
|
"detail": {
|
|
1194
|
-
"type": "
|
|
1194
|
+
"type": "string"
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
1197
|
],
|
|
1198
1198
|
"slots": [],
|
|
1199
1199
|
"methods": [],
|
|
1200
1200
|
"parts": [],
|
|
1201
|
-
"description": "
|
|
1201
|
+
"description": "带候选项的输入框",
|
|
1202
1202
|
"category": "form-input-basic"
|
|
1203
1203
|
},
|
|
1204
1204
|
{
|
|
@@ -1536,6 +1536,114 @@
|
|
|
1536
1536
|
"parts": [],
|
|
1537
1537
|
"description": "构件 `eo-color-picker`"
|
|
1538
1538
|
},
|
|
1539
|
+
{
|
|
1540
|
+
"name": "eo-form-item",
|
|
1541
|
+
"alias": [
|
|
1542
|
+
"form.general-form-item"
|
|
1543
|
+
],
|
|
1544
|
+
"properties": [
|
|
1545
|
+
{
|
|
1546
|
+
"name": "formElement",
|
|
1547
|
+
"attribute": false,
|
|
1548
|
+
"type": "Form"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "curElement",
|
|
1552
|
+
"attribute": false,
|
|
1553
|
+
"type": "HTMLElement"
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
"name": "name",
|
|
1557
|
+
"description": "字段名称",
|
|
1558
|
+
"type": "string"
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "label",
|
|
1562
|
+
"type": "string"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "pattern",
|
|
1566
|
+
"type": "string"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"name": "message",
|
|
1570
|
+
"attribute": false,
|
|
1571
|
+
"type": "Record<string, string>"
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"name": "type",
|
|
1575
|
+
"type": "string"
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"name": "max",
|
|
1579
|
+
"type": "number"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"name": "min",
|
|
1583
|
+
"type": "number"
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"name": "required",
|
|
1587
|
+
"description": "表单项是否为必填",
|
|
1588
|
+
"type": "boolean"
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"name": "value",
|
|
1592
|
+
"description": "初始值",
|
|
1593
|
+
"type": "string"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"name": "valuePropsName",
|
|
1597
|
+
"type": "string"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"name": "layout",
|
|
1601
|
+
"type": "Layout"
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"name": "size",
|
|
1605
|
+
"type": "ComponentSize"
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "trim",
|
|
1609
|
+
"description": "是否自动去除前后的空白字符",
|
|
1610
|
+
"default": "true"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"name": "trigger",
|
|
1614
|
+
"description": "事件触发方法名",
|
|
1615
|
+
"type": "string"
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"name": "validator",
|
|
1619
|
+
"description": "表单项校验方法",
|
|
1620
|
+
"attribute": false,
|
|
1621
|
+
"type": "((value: any) => MessageBody)"
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"name": "needValidate",
|
|
1625
|
+
"description": "值变化时是否主动出发校验",
|
|
1626
|
+
"type": "boolean"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "textContent",
|
|
1630
|
+
"type": "string",
|
|
1631
|
+
"description": "文本内容"
|
|
1632
|
+
}
|
|
1633
|
+
],
|
|
1634
|
+
"events": [],
|
|
1635
|
+
"slots": [
|
|
1636
|
+
{
|
|
1637
|
+
"name": null,
|
|
1638
|
+
"description": "表单项内容"
|
|
1639
|
+
}
|
|
1640
|
+
],
|
|
1641
|
+
"methods": [],
|
|
1642
|
+
"parts": [],
|
|
1643
|
+
"description": "通用输入框构件",
|
|
1644
|
+
"category": "form-input-basic",
|
|
1645
|
+
"insider": true
|
|
1646
|
+
},
|
|
1539
1647
|
{
|
|
1540
1648
|
"name": "eo-input",
|
|
1541
1649
|
"alias": [
|
|
@@ -1720,114 +1828,6 @@
|
|
|
1720
1828
|
],
|
|
1721
1829
|
"description": "通用输入框构件",
|
|
1722
1830
|
"category": "form-input-basic"
|
|
1723
|
-
},
|
|
1724
|
-
{
|
|
1725
|
-
"name": "eo-form-item",
|
|
1726
|
-
"alias": [
|
|
1727
|
-
"form.general-form-item"
|
|
1728
|
-
],
|
|
1729
|
-
"properties": [
|
|
1730
|
-
{
|
|
1731
|
-
"name": "formElement",
|
|
1732
|
-
"attribute": false,
|
|
1733
|
-
"type": "Form"
|
|
1734
|
-
},
|
|
1735
|
-
{
|
|
1736
|
-
"name": "curElement",
|
|
1737
|
-
"attribute": false,
|
|
1738
|
-
"type": "HTMLElement"
|
|
1739
|
-
},
|
|
1740
|
-
{
|
|
1741
|
-
"name": "name",
|
|
1742
|
-
"description": "字段名称",
|
|
1743
|
-
"type": "string"
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"name": "label",
|
|
1747
|
-
"type": "string"
|
|
1748
|
-
},
|
|
1749
|
-
{
|
|
1750
|
-
"name": "pattern",
|
|
1751
|
-
"type": "string"
|
|
1752
|
-
},
|
|
1753
|
-
{
|
|
1754
|
-
"name": "message",
|
|
1755
|
-
"attribute": false,
|
|
1756
|
-
"type": "Record<string, string>"
|
|
1757
|
-
},
|
|
1758
|
-
{
|
|
1759
|
-
"name": "type",
|
|
1760
|
-
"type": "string"
|
|
1761
|
-
},
|
|
1762
|
-
{
|
|
1763
|
-
"name": "max",
|
|
1764
|
-
"type": "number"
|
|
1765
|
-
},
|
|
1766
|
-
{
|
|
1767
|
-
"name": "min",
|
|
1768
|
-
"type": "number"
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
"name": "required",
|
|
1772
|
-
"description": "表单项是否为必填",
|
|
1773
|
-
"type": "boolean"
|
|
1774
|
-
},
|
|
1775
|
-
{
|
|
1776
|
-
"name": "value",
|
|
1777
|
-
"description": "初始值",
|
|
1778
|
-
"type": "string"
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"name": "valuePropsName",
|
|
1782
|
-
"type": "string"
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"name": "layout",
|
|
1786
|
-
"type": "Layout"
|
|
1787
|
-
},
|
|
1788
|
-
{
|
|
1789
|
-
"name": "size",
|
|
1790
|
-
"type": "ComponentSize"
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
"name": "trim",
|
|
1794
|
-
"description": "是否自动去除前后的空白字符",
|
|
1795
|
-
"default": "true"
|
|
1796
|
-
},
|
|
1797
|
-
{
|
|
1798
|
-
"name": "trigger",
|
|
1799
|
-
"description": "事件触发方法名",
|
|
1800
|
-
"type": "string"
|
|
1801
|
-
},
|
|
1802
|
-
{
|
|
1803
|
-
"name": "validator",
|
|
1804
|
-
"description": "表单项校验方法",
|
|
1805
|
-
"attribute": false,
|
|
1806
|
-
"type": "((value: any) => MessageBody)"
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"name": "needValidate",
|
|
1810
|
-
"description": "值变化时是否主动出发校验",
|
|
1811
|
-
"type": "boolean"
|
|
1812
|
-
},
|
|
1813
|
-
{
|
|
1814
|
-
"name": "textContent",
|
|
1815
|
-
"type": "string",
|
|
1816
|
-
"description": "文本内容"
|
|
1817
|
-
}
|
|
1818
|
-
],
|
|
1819
|
-
"events": [],
|
|
1820
|
-
"slots": [
|
|
1821
|
-
{
|
|
1822
|
-
"name": null,
|
|
1823
|
-
"description": "表单项内容"
|
|
1824
|
-
}
|
|
1825
|
-
],
|
|
1826
|
-
"methods": [],
|
|
1827
|
-
"parts": [],
|
|
1828
|
-
"description": "通用输入框构件",
|
|
1829
|
-
"category": "form-input-basic",
|
|
1830
|
-
"insider": true
|
|
1831
1831
|
}
|
|
1832
1832
|
],
|
|
1833
1833
|
"providers": []
|