@next-bricks/form 0.17.10 → 0.17.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 +45 -41
- package/dist/chunks/{1646.38e38e59.js → 1646.abdc63b8.js} +2 -2
- package/dist/chunks/{1646.38e38e59.js.map → 1646.abdc63b8.js.map} +1 -1
- package/dist/chunks/2754.1313aa46.js +2 -0
- package/dist/chunks/2754.1313aa46.js.map +1 -0
- package/dist/chunks/6550.edddeb1d.js +3 -0
- package/dist/chunks/6550.edddeb1d.js.LICENSE.txt +16 -0
- package/dist/chunks/6550.edddeb1d.js.map +1 -0
- package/dist/chunks/7003.c59ddcb7.js +2 -0
- package/dist/chunks/7003.c59ddcb7.js.map +1 -0
- package/dist/chunks/{7746.4034b92f.js → 7746.82d66abb.js} +2 -2
- package/dist/chunks/{7746.4034b92f.js.map → 7746.82d66abb.js.map} +1 -1
- package/dist/chunks/eo-time-picker.3ac42462.js +2 -0
- package/dist/chunks/eo-time-picker.3ac42462.js.map +1 -0
- package/dist/chunks/eo-upload-file.e6e8b159.js +3 -0
- package/dist/chunks/eo-upload-file.e6e8b159.js.map +1 -0
- package/dist/chunks/eo-upload-image.43ed58ea.js +3 -0
- package/dist/chunks/eo-upload-image.43ed58ea.js.LICENSE.txt +5 -0
- package/dist/chunks/eo-upload-image.43ed58ea.js.map +1 -0
- package/dist/chunks/main.4165463c.js +2 -0
- package/dist/chunks/main.4165463c.js.map +1 -0
- package/dist/examples.json +13 -10
- package/dist/index.c5e3715f.js +2 -0
- package/dist/index.c5e3715f.js.map +1 -0
- package/dist/manifest.json +675 -601
- package/dist/types.json +1261 -1140
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/time-picker/index.d.ts +55 -0
- package/dist-types/time-picker/index.spec.d.ts +1 -0
- package/docs/eo-time-picker.md +67 -0
- package/package.json +2 -2
- package/dist/chunks/443.3a28ae12.js +0 -2
- package/dist/chunks/443.3a28ae12.js.map +0 -1
- package/dist/chunks/7007.cb88c5ea.js +0 -3
- package/dist/chunks/7007.cb88c5ea.js.map +0 -1
- package/dist/chunks/8177.03b061cb.js +0 -2
- package/dist/chunks/8177.03b061cb.js.map +0 -1
- package/dist/chunks/eo-upload-file.16caa8ae.js +0 -2
- package/dist/chunks/eo-upload-file.16caa8ae.js.map +0 -1
- package/dist/chunks/eo-upload-image.0d644ef7.js +0 -2
- package/dist/chunks/eo-upload-image.0d644ef7.js.map +0 -1
- package/dist/chunks/main.cb2cf05c.js +0 -2
- package/dist/chunks/main.cb2cf05c.js.map +0 -1
- package/dist/index.320fcf51.js +0 -2
- package/dist/index.320fcf51.js.map +0 -1
- /package/dist/chunks/{7007.cb88c5ea.js.LICENSE.txt → eo-upload-file.e6e8b159.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -188,226 +188,270 @@
|
|
|
188
188
|
"description": "通用输入框构件"
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
|
-
"name": "eo-
|
|
191
|
+
"name": "eo-radio",
|
|
192
192
|
"alias": [
|
|
193
|
-
"form.general-
|
|
193
|
+
"form.general-radio"
|
|
194
194
|
],
|
|
195
195
|
"properties": [
|
|
196
196
|
{
|
|
197
197
|
"name": "name",
|
|
198
|
-
"description": "
|
|
198
|
+
"description": "下拉框字段名",
|
|
199
199
|
"type": "string"
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"name": "label",
|
|
203
|
-
"description": "
|
|
203
|
+
"description": "单选框字段说明",
|
|
204
204
|
"type": "string"
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
|
-
"name": "
|
|
208
|
-
"description": "
|
|
209
|
-
"
|
|
207
|
+
"name": "options",
|
|
208
|
+
"description": "单选框选项表",
|
|
209
|
+
"required": true,
|
|
210
|
+
"attribute": false,
|
|
211
|
+
"type": "GeneralOption[]"
|
|
210
212
|
},
|
|
211
213
|
{
|
|
212
|
-
"name": "
|
|
213
|
-
"description": "
|
|
214
|
-
"
|
|
214
|
+
"name": "value",
|
|
215
|
+
"description": "单选框当前选中始值",
|
|
216
|
+
"attribute": false,
|
|
217
|
+
"type": "any"
|
|
215
218
|
},
|
|
216
219
|
{
|
|
217
|
-
"name": "
|
|
218
|
-
"description": "
|
|
220
|
+
"name": "required",
|
|
221
|
+
"description": "是否必填",
|
|
219
222
|
"type": "boolean"
|
|
220
223
|
},
|
|
221
224
|
{
|
|
222
|
-
"name": "
|
|
223
|
-
"description": "
|
|
224
|
-
"type": "number"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "maxLength",
|
|
228
|
-
"description": "最大长度",
|
|
229
|
-
"type": "number"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"name": "autoSize",
|
|
233
|
-
"description": "大小自适应",
|
|
225
|
+
"name": "message",
|
|
226
|
+
"description": "校验文本信息",
|
|
234
227
|
"attribute": false,
|
|
235
|
-
"type": "
|
|
228
|
+
"type": "Record<string, string>"
|
|
236
229
|
},
|
|
237
230
|
{
|
|
238
|
-
"name": "
|
|
239
|
-
"description": "
|
|
231
|
+
"name": "disabled",
|
|
232
|
+
"description": "是否禁用",
|
|
240
233
|
"type": "boolean"
|
|
241
234
|
},
|
|
242
235
|
{
|
|
243
|
-
"name": "
|
|
244
|
-
"description": "
|
|
245
|
-
"
|
|
236
|
+
"name": "type",
|
|
237
|
+
"description": "单选框样式类型",
|
|
238
|
+
"default": "\"default\"",
|
|
239
|
+
"type": "RadioType"
|
|
246
240
|
},
|
|
247
241
|
{
|
|
248
|
-
"name": "
|
|
249
|
-
"description": "
|
|
250
|
-
"
|
|
242
|
+
"name": "ui",
|
|
243
|
+
"description": "UI样式",
|
|
244
|
+
"default": "\"default\"",
|
|
245
|
+
"type": "UIType"
|
|
251
246
|
},
|
|
252
247
|
{
|
|
253
|
-
"name": "
|
|
254
|
-
"description": "
|
|
255
|
-
"
|
|
256
|
-
"type": "
|
|
248
|
+
"name": "size",
|
|
249
|
+
"description": "大小,只对按钮样式生效",
|
|
250
|
+
"default": "\"medium\"",
|
|
251
|
+
"type": "ComponentSize"
|
|
257
252
|
},
|
|
258
253
|
{
|
|
259
|
-
"name": "
|
|
260
|
-
"description": "
|
|
254
|
+
"name": "customStyle",
|
|
255
|
+
"description": "自定义radio的外层样式",
|
|
261
256
|
"attribute": false,
|
|
262
257
|
"type": "React.CSSProperties"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "useBrick",
|
|
261
|
+
"description": "自定义radio的内容",
|
|
262
|
+
"attribute": false,
|
|
263
|
+
"type": "UseSingleBrickConf"
|
|
263
264
|
}
|
|
264
265
|
],
|
|
265
266
|
"events": [
|
|
266
267
|
{
|
|
267
268
|
"name": "change",
|
|
268
|
-
"description": "",
|
|
269
|
+
"description": "值变化事件",
|
|
269
270
|
"detail": {
|
|
270
|
-
"
|
|
271
|
-
|
|
271
|
+
"type": "{\n label: string;\n value: any;\n [key: string]: any;\n }"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "options.change",
|
|
276
|
+
"description": "选项列表变化事件",
|
|
277
|
+
"detail": {
|
|
278
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
272
279
|
}
|
|
273
280
|
}
|
|
274
281
|
],
|
|
275
282
|
"slots": [],
|
|
276
283
|
"methods": [],
|
|
277
284
|
"parts": [],
|
|
278
|
-
"description": "
|
|
285
|
+
"description": "通用单选构件"
|
|
279
286
|
},
|
|
280
287
|
{
|
|
281
|
-
"name": "eo-
|
|
288
|
+
"name": "eo-select",
|
|
282
289
|
"alias": [
|
|
283
|
-
"form.general-
|
|
290
|
+
"form.general-select"
|
|
284
291
|
],
|
|
285
292
|
"properties": [
|
|
286
293
|
{
|
|
287
|
-
"name": "
|
|
288
|
-
"description": "
|
|
289
|
-
"type": "
|
|
294
|
+
"name": "name",
|
|
295
|
+
"description": "字段名称",
|
|
296
|
+
"type": "string"
|
|
290
297
|
},
|
|
291
298
|
{
|
|
292
|
-
"name": "
|
|
293
|
-
"description": "
|
|
294
|
-
"type": "
|
|
299
|
+
"name": "placeholder",
|
|
300
|
+
"description": "占位说明",
|
|
301
|
+
"type": "string"
|
|
295
302
|
},
|
|
296
303
|
{
|
|
297
|
-
"name": "
|
|
304
|
+
"name": "label",
|
|
305
|
+
"description": "字段文本",
|
|
306
|
+
"type": "string"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "options",
|
|
310
|
+
"description": "选项列表",
|
|
311
|
+
"required": true,
|
|
312
|
+
"attribute": false,
|
|
313
|
+
"type": "GeneralComplexOption[]"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "value",
|
|
317
|
+
"description": "值",
|
|
318
|
+
"attribute": false,
|
|
319
|
+
"type": "any"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "required",
|
|
323
|
+
"description": "是否必填",
|
|
324
|
+
"type": "boolean"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "message",
|
|
328
|
+
"description": "校验文本信息",
|
|
329
|
+
"attribute": false,
|
|
330
|
+
"type": "Record<string, string>"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "disabled",
|
|
334
|
+
"description": "是否禁用",
|
|
335
|
+
"type": "boolean"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "multiple",
|
|
339
|
+
"description": "是否支持多选",
|
|
340
|
+
"type": "boolean"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "clearable",
|
|
344
|
+
"description": "是否支持清除",
|
|
345
|
+
"default": "true",
|
|
346
|
+
"type": "boolean"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "inputStyle",
|
|
350
|
+
"description": "输入框样式",
|
|
298
351
|
"attribute": false,
|
|
299
352
|
"type": "React.CSSProperties"
|
|
300
353
|
}
|
|
301
354
|
],
|
|
302
355
|
"events": [
|
|
303
356
|
{
|
|
304
|
-
"name": "
|
|
305
|
-
"description": "
|
|
357
|
+
"name": "change",
|
|
358
|
+
"description": "下拉选择事件",
|
|
306
359
|
"detail": {
|
|
307
|
-
"
|
|
308
|
-
"type": "Record<string, unknown>"
|
|
360
|
+
"type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
|
|
309
361
|
}
|
|
310
362
|
},
|
|
311
363
|
{
|
|
312
|
-
"name": "
|
|
313
|
-
"description": "
|
|
364
|
+
"name": "search",
|
|
365
|
+
"description": "下拉框search事件",
|
|
314
366
|
"detail": {
|
|
315
|
-
"type": "
|
|
367
|
+
"type": "{\n value: string;\n }"
|
|
316
368
|
}
|
|
317
369
|
},
|
|
318
370
|
{
|
|
319
|
-
"name": "
|
|
320
|
-
"description": "
|
|
371
|
+
"name": "focus",
|
|
372
|
+
"description": "下拉框focus事件",
|
|
321
373
|
"detail": {
|
|
322
|
-
"type": "
|
|
374
|
+
"type": "void"
|
|
323
375
|
}
|
|
324
|
-
}
|
|
325
|
-
],
|
|
326
|
-
"slots": [
|
|
376
|
+
},
|
|
327
377
|
{
|
|
328
|
-
"name":
|
|
329
|
-
"description": "
|
|
378
|
+
"name": "options.change",
|
|
379
|
+
"description": "选项列表变化事件",
|
|
380
|
+
"detail": {
|
|
381
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
382
|
+
}
|
|
330
383
|
}
|
|
331
384
|
],
|
|
332
|
-
"
|
|
385
|
+
"slots": [],
|
|
386
|
+
"methods": [],
|
|
387
|
+
"parts": [],
|
|
388
|
+
"description": "通用下拉选择构件"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"name": "eo-submit-buttons",
|
|
392
|
+
"alias": [
|
|
393
|
+
"form.submit-buttons"
|
|
394
|
+
],
|
|
395
|
+
"properties": [
|
|
333
396
|
{
|
|
334
|
-
"name": "
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
338
|
-
"type": "boolean | Record<string, unknown>"
|
|
339
|
-
}
|
|
397
|
+
"name": "submitText",
|
|
398
|
+
"description": "提交按钮的文字",
|
|
399
|
+
"default": "\"提交\"",
|
|
400
|
+
"type": "string"
|
|
340
401
|
},
|
|
341
402
|
{
|
|
342
|
-
"name": "
|
|
343
|
-
"
|
|
344
|
-
|
|
345
|
-
"name": "values",
|
|
346
|
-
"type": "Record<string, unknown>"
|
|
347
|
-
}
|
|
348
|
-
],
|
|
349
|
-
"description": "表单设置值方法",
|
|
350
|
-
"returns": {}
|
|
403
|
+
"name": "cancelText",
|
|
404
|
+
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
405
|
+
"type": "string"
|
|
351
406
|
},
|
|
352
407
|
{
|
|
353
|
-
"name": "
|
|
354
|
-
"
|
|
355
|
-
|
|
356
|
-
"name": "name",
|
|
357
|
-
"type": "string"
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
"description": "表单重置值方法",
|
|
361
|
-
"returns": {}
|
|
408
|
+
"name": "disableAfterClick",
|
|
409
|
+
"description": "点击确定按钮后自动禁用",
|
|
410
|
+
"type": "boolean"
|
|
362
411
|
},
|
|
363
412
|
{
|
|
364
|
-
"name": "
|
|
365
|
-
"
|
|
366
|
-
|
|
367
|
-
"name": "name",
|
|
368
|
-
"type": "string"
|
|
369
|
-
}
|
|
370
|
-
],
|
|
371
|
-
"description": "获取表单值方法",
|
|
372
|
-
"returns": {}
|
|
413
|
+
"name": "submitDisabled",
|
|
414
|
+
"description": "禁用提交按钮",
|
|
415
|
+
"type": "boolean"
|
|
373
416
|
},
|
|
374
417
|
{
|
|
375
|
-
"name": "
|
|
376
|
-
"
|
|
377
|
-
|
|
378
|
-
"name": "name",
|
|
379
|
-
"type": "string"
|
|
380
|
-
}
|
|
381
|
-
],
|
|
382
|
-
"description": "校验表单字段方法",
|
|
383
|
-
"returns": {}
|
|
418
|
+
"name": "submitType",
|
|
419
|
+
"description": "提交按钮类型",
|
|
420
|
+
"type": "ButtonType"
|
|
384
421
|
},
|
|
385
422
|
{
|
|
386
|
-
"name": "
|
|
387
|
-
"
|
|
388
|
-
"
|
|
389
|
-
|
|
423
|
+
"name": "cancelType",
|
|
424
|
+
"description": "取消按钮类型",
|
|
425
|
+
"type": "ButtonType"
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"events": [
|
|
429
|
+
{
|
|
430
|
+
"name": "submit",
|
|
431
|
+
"description": "点击提交按钮触发的事件",
|
|
432
|
+
"detail": {
|
|
433
|
+
"type": "void"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "cancel",
|
|
438
|
+
"description": "点击取消按钮触发的事件",
|
|
439
|
+
"detail": {
|
|
440
|
+
"type": "void"
|
|
441
|
+
}
|
|
390
442
|
}
|
|
391
443
|
],
|
|
444
|
+
"slots": [],
|
|
445
|
+
"methods": [],
|
|
392
446
|
"parts": [],
|
|
393
|
-
"description": "
|
|
447
|
+
"description": "用于general-forms的通用按钮"
|
|
394
448
|
},
|
|
395
449
|
{
|
|
396
|
-
"name": "eo-
|
|
450
|
+
"name": "eo-textarea",
|
|
397
451
|
"alias": [
|
|
398
|
-
"form.general-
|
|
452
|
+
"form.general-textarea"
|
|
399
453
|
],
|
|
400
454
|
"properties": [
|
|
401
|
-
{
|
|
402
|
-
"name": "formElement",
|
|
403
|
-
"attribute": false,
|
|
404
|
-
"type": "Form"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"name": "curElement",
|
|
408
|
-
"attribute": false,
|
|
409
|
-
"type": "HTMLElement"
|
|
410
|
-
},
|
|
411
455
|
{
|
|
412
456
|
"name": "name",
|
|
413
457
|
"description": "字段名称",
|
|
@@ -415,186 +459,274 @@
|
|
|
415
459
|
},
|
|
416
460
|
{
|
|
417
461
|
"name": "label",
|
|
462
|
+
"description": "标签文字",
|
|
418
463
|
"type": "string"
|
|
419
464
|
},
|
|
420
465
|
{
|
|
421
|
-
"name": "
|
|
466
|
+
"name": "value",
|
|
467
|
+
"description": "值",
|
|
422
468
|
"type": "string"
|
|
423
469
|
},
|
|
424
470
|
{
|
|
425
|
-
"name": "
|
|
426
|
-
"
|
|
427
|
-
"type": "
|
|
471
|
+
"name": "placeholder",
|
|
472
|
+
"description": "占位说明",
|
|
473
|
+
"type": "string"
|
|
428
474
|
},
|
|
429
475
|
{
|
|
430
|
-
"name": "
|
|
476
|
+
"name": "disabled",
|
|
477
|
+
"description": "是否禁用",
|
|
478
|
+
"type": "boolean"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "minLength",
|
|
482
|
+
"description": "最小长度",
|
|
431
483
|
"type": "number"
|
|
432
484
|
},
|
|
433
485
|
{
|
|
434
|
-
"name": "
|
|
486
|
+
"name": "maxLength",
|
|
487
|
+
"description": "最大长度",
|
|
435
488
|
"type": "number"
|
|
436
489
|
},
|
|
490
|
+
{
|
|
491
|
+
"name": "autoSize",
|
|
492
|
+
"description": "大小自适应",
|
|
493
|
+
"attribute": false,
|
|
494
|
+
"type": "AutoSize"
|
|
495
|
+
},
|
|
437
496
|
{
|
|
438
497
|
"name": "required",
|
|
439
|
-
"description": "
|
|
498
|
+
"description": "是否必填",
|
|
440
499
|
"type": "boolean"
|
|
441
500
|
},
|
|
442
501
|
{
|
|
443
|
-
"name": "
|
|
444
|
-
"description": "
|
|
445
|
-
"type": "
|
|
502
|
+
"name": "max",
|
|
503
|
+
"description": "表单校验最大长度",
|
|
504
|
+
"type": "number"
|
|
446
505
|
},
|
|
447
506
|
{
|
|
448
|
-
"name": "
|
|
449
|
-
"description": "
|
|
450
|
-
"type": "
|
|
507
|
+
"name": "min",
|
|
508
|
+
"description": "表单校验最小长度",
|
|
509
|
+
"type": "number"
|
|
451
510
|
},
|
|
452
511
|
{
|
|
453
|
-
"name": "
|
|
454
|
-
"description": "
|
|
455
|
-
"
|
|
512
|
+
"name": "message",
|
|
513
|
+
"description": "校验信息",
|
|
514
|
+
"attribute": false,
|
|
515
|
+
"type": "Record<string, string>"
|
|
456
516
|
},
|
|
457
517
|
{
|
|
458
|
-
"name": "
|
|
459
|
-
"
|
|
460
|
-
|
|
518
|
+
"name": "textareaStyle",
|
|
519
|
+
"description": "自定义样式",
|
|
520
|
+
"attribute": false,
|
|
521
|
+
"type": "React.CSSProperties"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"events": [
|
|
461
525
|
{
|
|
462
|
-
"name": "
|
|
463
|
-
"
|
|
464
|
-
|
|
526
|
+
"name": "change",
|
|
527
|
+
"description": "",
|
|
528
|
+
"detail": {
|
|
529
|
+
"description": null,
|
|
530
|
+
"type": "string"
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
"slots": [],
|
|
535
|
+
"methods": [],
|
|
536
|
+
"parts": [],
|
|
537
|
+
"description": "通用多行文本输入框构件"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "eo-dynamic-form-item",
|
|
541
|
+
"alias": [
|
|
542
|
+
"form.dynamic-form-item"
|
|
543
|
+
],
|
|
544
|
+
"properties": [
|
|
465
545
|
{
|
|
466
|
-
"name": "
|
|
467
|
-
"
|
|
546
|
+
"name": "name",
|
|
547
|
+
"description": "字段名称",
|
|
548
|
+
"type": "string"
|
|
468
549
|
},
|
|
469
550
|
{
|
|
470
|
-
"name": "
|
|
471
|
-
"description": "
|
|
472
|
-
"
|
|
551
|
+
"name": "label",
|
|
552
|
+
"description": "字段说明",
|
|
553
|
+
"type": "string"
|
|
473
554
|
},
|
|
474
555
|
{
|
|
475
|
-
"name": "
|
|
476
|
-
"description": "
|
|
477
|
-
"type": "
|
|
556
|
+
"name": "required",
|
|
557
|
+
"description": "是否必填",
|
|
558
|
+
"type": "boolean"
|
|
478
559
|
},
|
|
479
560
|
{
|
|
480
|
-
"name": "
|
|
481
|
-
"description": "
|
|
561
|
+
"name": "value",
|
|
562
|
+
"description": "值",
|
|
482
563
|
"attribute": false,
|
|
483
|
-
"type": "
|
|
564
|
+
"type": "DynamicFormValuesItem[]"
|
|
484
565
|
},
|
|
485
566
|
{
|
|
486
|
-
"name": "
|
|
487
|
-
"description": "
|
|
488
|
-
"
|
|
567
|
+
"name": "useBrick",
|
|
568
|
+
"description": "动态表单子项构件列表",
|
|
569
|
+
"attribute": false,
|
|
570
|
+
"type": "UseBrickConf"
|
|
571
|
+
}
|
|
572
|
+
],
|
|
573
|
+
"events": [
|
|
574
|
+
{
|
|
575
|
+
"name": "change",
|
|
576
|
+
"detail": {
|
|
577
|
+
"type": "DynamicFormValuesItem[]"
|
|
578
|
+
}
|
|
489
579
|
}
|
|
490
580
|
],
|
|
491
|
-
"events": [],
|
|
492
581
|
"slots": [],
|
|
493
582
|
"methods": [],
|
|
494
583
|
"parts": [],
|
|
495
|
-
"description": "
|
|
584
|
+
"description": "动态表单"
|
|
496
585
|
},
|
|
497
586
|
{
|
|
498
|
-
"name": "eo-
|
|
587
|
+
"name": "eo-search",
|
|
499
588
|
"alias": [
|
|
500
|
-
"form.general-
|
|
589
|
+
"form.general-search"
|
|
501
590
|
],
|
|
502
591
|
"properties": [
|
|
503
592
|
{
|
|
504
|
-
"name": "
|
|
505
|
-
"description": "
|
|
593
|
+
"name": "value",
|
|
594
|
+
"description": "搜索框的值",
|
|
595
|
+
"default": "\"\"",
|
|
506
596
|
"type": "string"
|
|
507
597
|
},
|
|
508
598
|
{
|
|
509
|
-
"name": "
|
|
510
|
-
"description": "
|
|
599
|
+
"name": "placeholder",
|
|
600
|
+
"description": "提示语",
|
|
511
601
|
"type": "string"
|
|
512
602
|
},
|
|
513
603
|
{
|
|
514
|
-
"name": "
|
|
515
|
-
"description": "
|
|
516
|
-
"
|
|
517
|
-
"attribute": false,
|
|
518
|
-
"type": "GeneralOption[]"
|
|
604
|
+
"name": "autoFocus",
|
|
605
|
+
"description": "是否自动聚焦",
|
|
606
|
+
"type": "boolean"
|
|
519
607
|
},
|
|
520
608
|
{
|
|
521
|
-
"name": "
|
|
522
|
-
"description": "
|
|
523
|
-
"
|
|
524
|
-
"type": "any"
|
|
609
|
+
"name": "clearable",
|
|
610
|
+
"description": "可以点击清除图标删除内容",
|
|
611
|
+
"type": "boolean"
|
|
525
612
|
},
|
|
526
613
|
{
|
|
527
|
-
"name": "
|
|
528
|
-
"description": "
|
|
614
|
+
"name": "trim",
|
|
615
|
+
"description": "是否剔除前后空格",
|
|
529
616
|
"type": "boolean"
|
|
530
617
|
},
|
|
531
618
|
{
|
|
532
|
-
"name": "
|
|
533
|
-
"description": "
|
|
619
|
+
"name": "debounceTime",
|
|
620
|
+
"description": "默认延迟时间",
|
|
621
|
+
"default": "0",
|
|
622
|
+
"type": "number"
|
|
623
|
+
}
|
|
624
|
+
],
|
|
625
|
+
"events": [
|
|
626
|
+
{
|
|
627
|
+
"name": "change",
|
|
628
|
+
"description": "输入的搜索字符,输入变化时触发",
|
|
629
|
+
"detail": {
|
|
630
|
+
"type": "string"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"name": "search",
|
|
635
|
+
"description": "搜索时触发",
|
|
636
|
+
"detail": {
|
|
637
|
+
"type": "string"
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
],
|
|
641
|
+
"slots": [],
|
|
642
|
+
"methods": [],
|
|
643
|
+
"parts": [],
|
|
644
|
+
"description": "搜索框"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "eo-checkbox",
|
|
648
|
+
"alias": [
|
|
649
|
+
"form.general-checkbox"
|
|
650
|
+
],
|
|
651
|
+
"properties": [
|
|
652
|
+
{
|
|
653
|
+
"name": "name",
|
|
654
|
+
"description": "字段名称",
|
|
655
|
+
"type": "string"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"name": "label",
|
|
659
|
+
"description": "字段说明",
|
|
660
|
+
"type": "string"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "value",
|
|
664
|
+
"description": "值",
|
|
534
665
|
"attribute": false,
|
|
535
|
-
"type": "
|
|
666
|
+
"type": "CheckboxValueType[]"
|
|
536
667
|
},
|
|
537
668
|
{
|
|
538
|
-
"name": "
|
|
539
|
-
"description": "
|
|
540
|
-
"
|
|
669
|
+
"name": "options",
|
|
670
|
+
"description": "多选框选项表",
|
|
671
|
+
"required": true,
|
|
672
|
+
"default": "[]",
|
|
673
|
+
"attribute": false,
|
|
674
|
+
"type": "CheckboxOptionType[]"
|
|
541
675
|
},
|
|
542
676
|
{
|
|
543
677
|
"name": "type",
|
|
544
|
-
"description": "
|
|
678
|
+
"description": "类型",
|
|
545
679
|
"default": "\"default\"",
|
|
546
|
-
"type": "
|
|
680
|
+
"type": "CheckboxType"
|
|
547
681
|
},
|
|
548
682
|
{
|
|
549
|
-
"name": "
|
|
550
|
-
"description": "
|
|
551
|
-
"
|
|
552
|
-
"type": "UIType"
|
|
683
|
+
"name": "disabled",
|
|
684
|
+
"description": "是否禁用",
|
|
685
|
+
"type": "boolean"
|
|
553
686
|
},
|
|
554
687
|
{
|
|
555
|
-
"name": "
|
|
556
|
-
"description": "
|
|
557
|
-
"default": "
|
|
558
|
-
"type": "
|
|
688
|
+
"name": "isCustom",
|
|
689
|
+
"description": "是否为自定义",
|
|
690
|
+
"default": "false",
|
|
691
|
+
"type": "boolean"
|
|
559
692
|
},
|
|
560
693
|
{
|
|
561
|
-
"name": "
|
|
562
|
-
"description": "
|
|
563
|
-
"
|
|
564
|
-
"type": "React.CSSProperties"
|
|
694
|
+
"name": "required",
|
|
695
|
+
"description": "是否必填",
|
|
696
|
+
"type": "boolean"
|
|
565
697
|
},
|
|
566
698
|
{
|
|
567
|
-
"name": "
|
|
568
|
-
"description": "
|
|
699
|
+
"name": "message",
|
|
700
|
+
"description": "校验文本",
|
|
569
701
|
"attribute": false,
|
|
570
|
-
"type": "
|
|
702
|
+
"type": "Record<string, string>"
|
|
571
703
|
}
|
|
572
704
|
],
|
|
573
705
|
"events": [
|
|
574
706
|
{
|
|
575
707
|
"name": "change",
|
|
576
|
-
"description": "
|
|
708
|
+
"description": "复选框变化事件",
|
|
577
709
|
"detail": {
|
|
578
|
-
"type": "
|
|
710
|
+
"type": "CheckboxOptionType[]"
|
|
579
711
|
}
|
|
580
712
|
},
|
|
581
713
|
{
|
|
582
714
|
"name": "options.change",
|
|
583
|
-
"description": "
|
|
715
|
+
"description": "复选框变化事件",
|
|
584
716
|
"detail": {
|
|
585
|
-
"type": "{\n options:
|
|
717
|
+
"type": "{\n options: CheckboxOptionType[];\n name: string;\n }"
|
|
586
718
|
}
|
|
587
719
|
}
|
|
588
720
|
],
|
|
589
721
|
"slots": [],
|
|
590
722
|
"methods": [],
|
|
591
723
|
"parts": [],
|
|
592
|
-
"description": "
|
|
724
|
+
"description": "表单复选框构件"
|
|
593
725
|
},
|
|
594
726
|
{
|
|
595
|
-
"name": "eo-
|
|
727
|
+
"name": "eo-upload-image",
|
|
596
728
|
"alias": [
|
|
597
|
-
"form.
|
|
729
|
+
"form.upload-image"
|
|
598
730
|
],
|
|
599
731
|
"properties": [
|
|
600
732
|
{
|
|
@@ -602,253 +734,249 @@
|
|
|
602
734
|
"description": "字段名称",
|
|
603
735
|
"type": "string"
|
|
604
736
|
},
|
|
605
|
-
{
|
|
606
|
-
"name": "placeholder",
|
|
607
|
-
"description": "占位说明",
|
|
608
|
-
"type": "string"
|
|
609
|
-
},
|
|
610
737
|
{
|
|
611
738
|
"name": "label",
|
|
612
|
-
"description": "
|
|
739
|
+
"description": "字段说明",
|
|
613
740
|
"type": "string"
|
|
614
741
|
},
|
|
615
|
-
{
|
|
616
|
-
"name": "options",
|
|
617
|
-
"description": "选项列表",
|
|
618
|
-
"required": true,
|
|
619
|
-
"attribute": false,
|
|
620
|
-
"type": "GeneralComplexOption[]"
|
|
621
|
-
},
|
|
622
742
|
{
|
|
623
743
|
"name": "value",
|
|
624
744
|
"description": "值",
|
|
625
745
|
"attribute": false,
|
|
626
|
-
"type": "
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"name": "required",
|
|
630
|
-
"description": "是否必填",
|
|
631
|
-
"type": "boolean"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "message",
|
|
635
|
-
"description": "校验文本信息",
|
|
636
|
-
"attribute": false,
|
|
637
|
-
"type": "Record<string, string>"
|
|
746
|
+
"type": "ImageData[]"
|
|
638
747
|
},
|
|
639
748
|
{
|
|
640
|
-
"name": "
|
|
641
|
-
"description": "
|
|
642
|
-
"type": "
|
|
749
|
+
"name": "bucketName",
|
|
750
|
+
"description": "对象存储桶名字",
|
|
751
|
+
"type": "string"
|
|
643
752
|
},
|
|
644
753
|
{
|
|
645
754
|
"name": "multiple",
|
|
646
|
-
"description": "
|
|
755
|
+
"description": "是否支持选定的多张图片",
|
|
647
756
|
"type": "boolean"
|
|
648
757
|
},
|
|
649
758
|
{
|
|
650
|
-
"name": "
|
|
651
|
-
"description": "
|
|
652
|
-
"default": "true",
|
|
759
|
+
"name": "required",
|
|
760
|
+
"description": "是否必填",
|
|
653
761
|
"type": "boolean"
|
|
654
762
|
},
|
|
655
763
|
{
|
|
656
|
-
"name": "
|
|
657
|
-
"description": "
|
|
764
|
+
"name": "message",
|
|
765
|
+
"description": "校验文本信息",
|
|
658
766
|
"attribute": false,
|
|
659
|
-
"type": "
|
|
767
|
+
"type": "Record<string, string>"
|
|
660
768
|
}
|
|
661
769
|
],
|
|
662
770
|
"events": [
|
|
663
771
|
{
|
|
664
772
|
"name": "change",
|
|
665
|
-
"description": "
|
|
666
|
-
"detail": {
|
|
667
|
-
"type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"name": "search",
|
|
672
|
-
"description": "下拉框search事件",
|
|
673
|
-
"detail": {
|
|
674
|
-
"type": "{\n value: string;\n }"
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
"name": "focus",
|
|
679
|
-
"description": "下拉框focus事件",
|
|
680
|
-
"detail": {
|
|
681
|
-
"type": "void"
|
|
682
|
-
}
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
"name": "options.change",
|
|
686
|
-
"description": "选项列表变化事件",
|
|
773
|
+
"description": "值变化时触发",
|
|
687
774
|
"detail": {
|
|
688
|
-
"type": "
|
|
775
|
+
"type": "ImageData[]"
|
|
689
776
|
}
|
|
690
777
|
}
|
|
691
778
|
],
|
|
692
779
|
"slots": [],
|
|
693
780
|
"methods": [],
|
|
694
781
|
"parts": [],
|
|
695
|
-
"description": "
|
|
782
|
+
"description": "上传图片构件"
|
|
696
783
|
},
|
|
697
784
|
{
|
|
698
|
-
"name": "eo-
|
|
785
|
+
"name": "eo-switch",
|
|
699
786
|
"alias": [
|
|
700
|
-
"form.
|
|
787
|
+
"form.general-switch"
|
|
701
788
|
],
|
|
702
789
|
"properties": [
|
|
703
790
|
{
|
|
704
|
-
"name": "
|
|
705
|
-
"description": "
|
|
706
|
-
"default": "\"提交\"",
|
|
791
|
+
"name": "name",
|
|
792
|
+
"description": "字段名称",
|
|
707
793
|
"type": "string"
|
|
708
794
|
},
|
|
709
795
|
{
|
|
710
|
-
"name": "
|
|
711
|
-
"description": "
|
|
796
|
+
"name": "label",
|
|
797
|
+
"description": "字段文本",
|
|
712
798
|
"type": "string"
|
|
713
799
|
},
|
|
714
800
|
{
|
|
715
|
-
"name": "
|
|
716
|
-
"description": "
|
|
801
|
+
"name": "value",
|
|
802
|
+
"description": "初始值",
|
|
717
803
|
"type": "boolean"
|
|
718
804
|
},
|
|
719
805
|
{
|
|
720
|
-
"name": "
|
|
721
|
-
"description": "
|
|
806
|
+
"name": "disabled",
|
|
807
|
+
"description": "是否禁用",
|
|
722
808
|
"type": "boolean"
|
|
723
809
|
},
|
|
724
810
|
{
|
|
725
|
-
"name": "
|
|
726
|
-
"description": "
|
|
727
|
-
"type": "
|
|
811
|
+
"name": "size",
|
|
812
|
+
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
813
|
+
"type": "ComponentSize"
|
|
728
814
|
},
|
|
729
815
|
{
|
|
730
|
-
"name": "
|
|
731
|
-
"description": "
|
|
732
|
-
"type": "
|
|
816
|
+
"name": "checkedText",
|
|
817
|
+
"description": "选中时的文本",
|
|
818
|
+
"type": "string"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "unCheckedText",
|
|
822
|
+
"description": "非选中时的文本",
|
|
823
|
+
"type": "string"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "checkedIcon",
|
|
827
|
+
"description": "选中时的图标",
|
|
828
|
+
"attribute": false,
|
|
829
|
+
"type": "GeneralIconProps"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "unCheckedIcon",
|
|
833
|
+
"description": "非选中时的文本",
|
|
834
|
+
"attribute": false,
|
|
835
|
+
"type": "GeneralIconProps"
|
|
733
836
|
}
|
|
734
837
|
],
|
|
735
838
|
"events": [
|
|
736
839
|
{
|
|
737
|
-
"name": "
|
|
738
|
-
"description": "
|
|
739
|
-
"detail": {
|
|
740
|
-
"type": "void"
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
"name": "cancel",
|
|
745
|
-
"description": "点击取消按钮触发的事件",
|
|
840
|
+
"name": "switch",
|
|
841
|
+
"description": "开关改变时触发",
|
|
746
842
|
"detail": {
|
|
747
|
-
"type": "
|
|
843
|
+
"type": "boolean"
|
|
748
844
|
}
|
|
749
845
|
}
|
|
750
846
|
],
|
|
751
847
|
"slots": [],
|
|
752
848
|
"methods": [],
|
|
753
849
|
"parts": [],
|
|
754
|
-
"description": "
|
|
850
|
+
"description": "构件 eo-switch"
|
|
755
851
|
},
|
|
756
852
|
{
|
|
757
|
-
"name": "eo-
|
|
758
|
-
"alias": [
|
|
759
|
-
"form.general-checkbox"
|
|
760
|
-
],
|
|
853
|
+
"name": "eo-upload-file",
|
|
761
854
|
"properties": [
|
|
855
|
+
{
|
|
856
|
+
"name": "label",
|
|
857
|
+
"description": "字段说明",
|
|
858
|
+
"type": "string"
|
|
859
|
+
},
|
|
762
860
|
{
|
|
763
861
|
"name": "name",
|
|
764
862
|
"description": "字段名称",
|
|
765
863
|
"type": "string"
|
|
766
864
|
},
|
|
767
865
|
{
|
|
768
|
-
"name": "
|
|
769
|
-
"description": "
|
|
770
|
-
"type": "
|
|
866
|
+
"name": "required",
|
|
867
|
+
"description": "是否必填",
|
|
868
|
+
"type": "boolean"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "message",
|
|
872
|
+
"description": "校验文本信息",
|
|
873
|
+
"attribute": false,
|
|
874
|
+
"type": "Record<string, string>"
|
|
771
875
|
},
|
|
772
876
|
{
|
|
773
877
|
"name": "value",
|
|
774
878
|
"description": "值",
|
|
775
879
|
"attribute": false,
|
|
776
|
-
"type": "
|
|
880
|
+
"type": "FileData[]"
|
|
777
881
|
},
|
|
778
882
|
{
|
|
779
|
-
"name": "
|
|
780
|
-
"description": "
|
|
781
|
-
"
|
|
782
|
-
"default": "[]",
|
|
783
|
-
"attribute": false,
|
|
784
|
-
"type": "CheckboxOptionType[]"
|
|
883
|
+
"name": "multiple",
|
|
884
|
+
"description": "是否支持多选",
|
|
885
|
+
"type": "boolean"
|
|
785
886
|
},
|
|
786
887
|
{
|
|
787
|
-
"name": "
|
|
788
|
-
"description": "
|
|
789
|
-
"
|
|
790
|
-
|
|
888
|
+
"name": "accept",
|
|
889
|
+
"description": "接受上传的文件类型,多个之间用 `,` 连接",
|
|
890
|
+
"type": "string"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "maxCount",
|
|
894
|
+
"description": "最大上传数量",
|
|
895
|
+
"type": "number"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "overMaxCountMode",
|
|
899
|
+
"description": "超出最大上传数量时文件的保留方式",
|
|
900
|
+
"default": "\"replace\"",
|
|
901
|
+
"type": "\"ignore\" | \"replace\""
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "uploadDraggable",
|
|
905
|
+
"description": "是否可以拖拽上传",
|
|
906
|
+
"type": "boolean"
|
|
791
907
|
},
|
|
792
908
|
{
|
|
793
|
-
"name": "
|
|
794
|
-
"description": "
|
|
795
|
-
"type": "
|
|
909
|
+
"name": "draggableUploadTip",
|
|
910
|
+
"description": "拖拽上传的提示信息",
|
|
911
|
+
"type": "string"
|
|
796
912
|
},
|
|
797
913
|
{
|
|
798
|
-
"name": "
|
|
799
|
-
"description": "
|
|
914
|
+
"name": "autoUpload",
|
|
915
|
+
"description": "是否自动上传",
|
|
800
916
|
"default": "false",
|
|
801
917
|
"type": "boolean"
|
|
802
918
|
},
|
|
803
919
|
{
|
|
804
|
-
"name": "
|
|
805
|
-
"description": "
|
|
806
|
-
"type": "
|
|
920
|
+
"name": "url",
|
|
921
|
+
"description": "自动上传的地址",
|
|
922
|
+
"type": "string"
|
|
807
923
|
},
|
|
808
924
|
{
|
|
809
|
-
"name": "
|
|
810
|
-
"description": "
|
|
811
|
-
"
|
|
812
|
-
"type": "
|
|
925
|
+
"name": "method",
|
|
926
|
+
"description": "自动上传的方法",
|
|
927
|
+
"default": "\"POST\"",
|
|
928
|
+
"type": "string"
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"name": "uploadName",
|
|
932
|
+
"description": "自动上传的文件参数名",
|
|
933
|
+
"default": "\"file\"",
|
|
934
|
+
"type": "string"
|
|
813
935
|
}
|
|
814
936
|
],
|
|
815
937
|
"events": [
|
|
816
938
|
{
|
|
817
939
|
"name": "change",
|
|
818
|
-
"description": "
|
|
819
|
-
"detail": {
|
|
820
|
-
"type": "CheckboxOptionType[]"
|
|
821
|
-
}
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
"name": "options.change",
|
|
825
|
-
"description": "复选框变化事件",
|
|
940
|
+
"description": "值变化时触发",
|
|
826
941
|
"detail": {
|
|
827
|
-
"type": "
|
|
942
|
+
"type": "FileData[]"
|
|
828
943
|
}
|
|
829
944
|
}
|
|
830
945
|
],
|
|
831
946
|
"slots": [],
|
|
832
947
|
"methods": [],
|
|
833
948
|
"parts": [],
|
|
834
|
-
"description": "
|
|
949
|
+
"description": "上传文件"
|
|
835
950
|
},
|
|
836
951
|
{
|
|
837
|
-
"name": "eo-
|
|
838
|
-
"alias": [
|
|
839
|
-
"form.dynamic-form-item"
|
|
840
|
-
],
|
|
952
|
+
"name": "eo-auto-complete",
|
|
841
953
|
"properties": [
|
|
842
954
|
{
|
|
843
955
|
"name": "name",
|
|
844
956
|
"description": "字段名称",
|
|
845
957
|
"type": "string"
|
|
846
958
|
},
|
|
959
|
+
{
|
|
960
|
+
"name": "placeholder",
|
|
961
|
+
"description": "占位说明",
|
|
962
|
+
"type": "string"
|
|
963
|
+
},
|
|
847
964
|
{
|
|
848
965
|
"name": "label",
|
|
849
|
-
"description": "
|
|
966
|
+
"description": "字段文本",
|
|
850
967
|
"type": "string"
|
|
851
968
|
},
|
|
969
|
+
{
|
|
970
|
+
"name": "inputStyle",
|
|
971
|
+
"description": "输入框样式",
|
|
972
|
+
"attribute": false,
|
|
973
|
+
"type": "React.CSSProperties"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"name": "disabled",
|
|
977
|
+
"description": "是否禁用",
|
|
978
|
+
"type": "boolean"
|
|
979
|
+
},
|
|
852
980
|
{
|
|
853
981
|
"name": "required",
|
|
854
982
|
"description": "是否必填",
|
|
@@ -856,80 +984,116 @@
|
|
|
856
984
|
},
|
|
857
985
|
{
|
|
858
986
|
"name": "value",
|
|
859
|
-
"
|
|
987
|
+
"type": "string"
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "options",
|
|
991
|
+
"description": "选项列表",
|
|
992
|
+
"required": true,
|
|
860
993
|
"attribute": false,
|
|
861
|
-
"type": "
|
|
994
|
+
"type": "string[] | OptionType[]"
|
|
862
995
|
},
|
|
863
996
|
{
|
|
864
|
-
"name": "
|
|
865
|
-
"description": "
|
|
997
|
+
"name": "filterByCaption",
|
|
998
|
+
"description": "搜索时是否根据caption过滤options",
|
|
999
|
+
"type": "boolean"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "validator",
|
|
1003
|
+
"description": "表单项校验方法",
|
|
866
1004
|
"attribute": false,
|
|
867
|
-
"type": "
|
|
1005
|
+
"type": "((value: any) => MessageBody)"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "pattern",
|
|
1009
|
+
"description": "正则校验规则",
|
|
1010
|
+
"type": "string"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "message",
|
|
1014
|
+
"description": "校验文本信息",
|
|
1015
|
+
"attribute": false,
|
|
1016
|
+
"type": "Record<string, string>"
|
|
868
1017
|
}
|
|
869
1018
|
],
|
|
870
1019
|
"events": [
|
|
871
1020
|
{
|
|
872
1021
|
"name": "change",
|
|
1022
|
+
"description": "值改变事件",
|
|
873
1023
|
"detail": {
|
|
874
|
-
"type": "
|
|
1024
|
+
"type": "string"
|
|
875
1025
|
}
|
|
876
1026
|
}
|
|
877
1027
|
],
|
|
878
1028
|
"slots": [],
|
|
879
1029
|
"methods": [],
|
|
880
1030
|
"parts": [],
|
|
881
|
-
"description": "
|
|
1031
|
+
"description": "构件 `eo-auto-complete`"
|
|
882
1032
|
},
|
|
883
1033
|
{
|
|
884
|
-
"name": "eo-
|
|
885
|
-
"alias": [
|
|
886
|
-
"form.general-search"
|
|
887
|
-
],
|
|
1034
|
+
"name": "eo-time-picker",
|
|
888
1035
|
"properties": [
|
|
1036
|
+
{
|
|
1037
|
+
"name": "name",
|
|
1038
|
+
"description": "时间选择器字段名",
|
|
1039
|
+
"type": "string"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"name": "label",
|
|
1043
|
+
"description": "时间选择器说明",
|
|
1044
|
+
"type": "string"
|
|
1045
|
+
},
|
|
889
1046
|
{
|
|
890
1047
|
"name": "value",
|
|
891
|
-
"description": "
|
|
892
|
-
"default": "\"\"",
|
|
1048
|
+
"description": "时间选择器的初始值",
|
|
893
1049
|
"type": "string"
|
|
894
1050
|
},
|
|
895
1051
|
{
|
|
896
1052
|
"name": "placeholder",
|
|
897
|
-
"description": "
|
|
1053
|
+
"description": "时间选择器占位说明",
|
|
898
1054
|
"type": "string"
|
|
899
1055
|
},
|
|
900
1056
|
{
|
|
901
|
-
"name": "
|
|
902
|
-
"description": "
|
|
903
|
-
"
|
|
1057
|
+
"name": "message",
|
|
1058
|
+
"description": "校验文本信息",
|
|
1059
|
+
"attribute": false,
|
|
1060
|
+
"type": "Record<string, string>"
|
|
904
1061
|
},
|
|
905
1062
|
{
|
|
906
|
-
"name": "
|
|
907
|
-
"description": "
|
|
1063
|
+
"name": "disabled",
|
|
1064
|
+
"description": "是否禁用",
|
|
908
1065
|
"type": "boolean"
|
|
909
1066
|
},
|
|
910
1067
|
{
|
|
911
|
-
"name": "
|
|
912
|
-
"description": "
|
|
1068
|
+
"name": "required",
|
|
1069
|
+
"description": "是否必填",
|
|
913
1070
|
"type": "boolean"
|
|
914
1071
|
},
|
|
915
1072
|
{
|
|
916
|
-
"name": "
|
|
917
|
-
"description": "
|
|
918
|
-
"
|
|
919
|
-
"type": "
|
|
1073
|
+
"name": "configProps",
|
|
1074
|
+
"description": "透传 antd timePicker 属性 [timePickerProps](https://ant.design/components/time-picker-cn)",
|
|
1075
|
+
"attribute": false,
|
|
1076
|
+
"type": "Partial<TimePickerProps>"
|
|
920
1077
|
}
|
|
921
1078
|
],
|
|
922
1079
|
"events": [
|
|
923
1080
|
{
|
|
924
1081
|
"name": "change",
|
|
925
|
-
"description": "
|
|
1082
|
+
"description": "输入变化时被触发,时间变化时触发",
|
|
926
1083
|
"detail": {
|
|
927
1084
|
"type": "string"
|
|
928
1085
|
}
|
|
929
1086
|
},
|
|
930
1087
|
{
|
|
931
|
-
"name": "
|
|
932
|
-
"description": "
|
|
1088
|
+
"name": "open",
|
|
1089
|
+
"description": "面板打开时触发, 传出当前时间值",
|
|
1090
|
+
"detail": {
|
|
1091
|
+
"type": "string"
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"name": "close",
|
|
1096
|
+
"description": "面板关闭时触发,传出当前时间值",
|
|
933
1097
|
"detail": {
|
|
934
1098
|
"type": "string"
|
|
935
1099
|
}
|
|
@@ -938,65 +1102,127 @@
|
|
|
938
1102
|
"slots": [],
|
|
939
1103
|
"methods": [],
|
|
940
1104
|
"parts": [],
|
|
941
|
-
"description": "
|
|
1105
|
+
"description": "构件 `eo-time-picker`"
|
|
942
1106
|
},
|
|
943
1107
|
{
|
|
944
|
-
"name": "eo-
|
|
1108
|
+
"name": "eo-form",
|
|
945
1109
|
"alias": [
|
|
946
|
-
"form.
|
|
1110
|
+
"form.general-form"
|
|
947
1111
|
],
|
|
948
1112
|
"properties": [
|
|
949
1113
|
{
|
|
950
|
-
"name": "
|
|
951
|
-
"description": "
|
|
952
|
-
"type": "
|
|
1114
|
+
"name": "layout",
|
|
1115
|
+
"description": "布局方式",
|
|
1116
|
+
"type": "Layout"
|
|
953
1117
|
},
|
|
954
1118
|
{
|
|
955
|
-
"name": "
|
|
956
|
-
"description": "
|
|
957
|
-
"type": "
|
|
1119
|
+
"name": "size",
|
|
1120
|
+
"description": "表单组件尺寸",
|
|
1121
|
+
"type": "ComponentSize"
|
|
958
1122
|
},
|
|
959
1123
|
{
|
|
960
|
-
"name": "
|
|
961
|
-
"description": "值",
|
|
1124
|
+
"name": "formStyle",
|
|
962
1125
|
"attribute": false,
|
|
963
|
-
"type": "
|
|
964
|
-
}
|
|
1126
|
+
"type": "React.CSSProperties"
|
|
1127
|
+
}
|
|
1128
|
+
],
|
|
1129
|
+
"events": [
|
|
965
1130
|
{
|
|
966
|
-
"name": "
|
|
967
|
-
"description": "
|
|
968
|
-
"
|
|
1131
|
+
"name": "values.change",
|
|
1132
|
+
"description": "表单值变更事件",
|
|
1133
|
+
"detail": {
|
|
1134
|
+
"description": null,
|
|
1135
|
+
"type": "Record<string, unknown>"
|
|
1136
|
+
}
|
|
969
1137
|
},
|
|
970
1138
|
{
|
|
971
|
-
"name": "
|
|
972
|
-
"description": "
|
|
973
|
-
"
|
|
1139
|
+
"name": "validate.success",
|
|
1140
|
+
"description": "表单验证成功时触发事件",
|
|
1141
|
+
"detail": {
|
|
1142
|
+
"type": "Record<string, unknown>"
|
|
1143
|
+
}
|
|
974
1144
|
},
|
|
975
1145
|
{
|
|
976
|
-
"name": "
|
|
977
|
-
"description": "
|
|
978
|
-
"
|
|
979
|
-
|
|
1146
|
+
"name": "validate.error",
|
|
1147
|
+
"description": "表单验证报错时触发事件",
|
|
1148
|
+
"detail": {
|
|
1149
|
+
"type": "MessageBody[]"
|
|
1150
|
+
}
|
|
980
1151
|
}
|
|
981
1152
|
],
|
|
982
|
-
"
|
|
1153
|
+
"slots": [
|
|
1154
|
+
{
|
|
1155
|
+
"name": null,
|
|
1156
|
+
"description": "表单内容"
|
|
1157
|
+
}
|
|
1158
|
+
],
|
|
1159
|
+
"methods": [
|
|
1160
|
+
{
|
|
1161
|
+
"name": "validate",
|
|
1162
|
+
"params": [],
|
|
1163
|
+
"description": "表单校验方法",
|
|
1164
|
+
"returns": {
|
|
1165
|
+
"type": "boolean | Record<string, unknown>"
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "setInitValue",
|
|
1170
|
+
"params": [
|
|
1171
|
+
{
|
|
1172
|
+
"name": "values",
|
|
1173
|
+
"type": "Record<string, unknown>"
|
|
1174
|
+
}
|
|
1175
|
+
],
|
|
1176
|
+
"description": "表单设置值方法",
|
|
1177
|
+
"returns": {}
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"name": "resetFields",
|
|
1181
|
+
"params": [
|
|
1182
|
+
{
|
|
1183
|
+
"name": "name",
|
|
1184
|
+
"type": "string"
|
|
1185
|
+
}
|
|
1186
|
+
],
|
|
1187
|
+
"description": "表单重置值方法",
|
|
1188
|
+
"returns": {}
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"name": "getFieldsValue",
|
|
1192
|
+
"params": [
|
|
1193
|
+
{
|
|
1194
|
+
"name": "name",
|
|
1195
|
+
"type": "string"
|
|
1196
|
+
}
|
|
1197
|
+
],
|
|
1198
|
+
"description": "获取表单值方法",
|
|
1199
|
+
"returns": {}
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"name": "validateField",
|
|
1203
|
+
"params": [
|
|
1204
|
+
{
|
|
1205
|
+
"name": "name",
|
|
1206
|
+
"type": "string"
|
|
1207
|
+
}
|
|
1208
|
+
],
|
|
1209
|
+
"description": "校验表单字段方法",
|
|
1210
|
+
"returns": {}
|
|
1211
|
+
},
|
|
983
1212
|
{
|
|
984
|
-
"name": "
|
|
985
|
-
"
|
|
986
|
-
"
|
|
987
|
-
|
|
988
|
-
}
|
|
1213
|
+
"name": "resetValidateState",
|
|
1214
|
+
"params": [],
|
|
1215
|
+
"description": "重置表单校验状态方法",
|
|
1216
|
+
"returns": {}
|
|
989
1217
|
}
|
|
990
1218
|
],
|
|
991
|
-
"slots": [],
|
|
992
|
-
"methods": [],
|
|
993
1219
|
"parts": [],
|
|
994
|
-
"description": "
|
|
1220
|
+
"description": "表单构件"
|
|
995
1221
|
},
|
|
996
1222
|
{
|
|
997
|
-
"name": "eo-
|
|
1223
|
+
"name": "eo-icon-select",
|
|
998
1224
|
"alias": [
|
|
999
|
-
"form.
|
|
1225
|
+
"form.icon-select"
|
|
1000
1226
|
],
|
|
1001
1227
|
"properties": [
|
|
1002
1228
|
{
|
|
@@ -1013,16 +1239,11 @@
|
|
|
1013
1239
|
"name": "value",
|
|
1014
1240
|
"description": "值",
|
|
1015
1241
|
"attribute": false,
|
|
1016
|
-
"type": "
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
"name": "bucketName",
|
|
1020
|
-
"description": "对象存储桶名字",
|
|
1021
|
-
"type": "string"
|
|
1242
|
+
"type": "Icon"
|
|
1022
1243
|
},
|
|
1023
1244
|
{
|
|
1024
|
-
"name": "
|
|
1025
|
-
"description": "
|
|
1245
|
+
"name": "disabled",
|
|
1246
|
+
"description": "是否禁用",
|
|
1026
1247
|
"type": "boolean"
|
|
1027
1248
|
},
|
|
1028
1249
|
{
|
|
@@ -1032,7 +1253,7 @@
|
|
|
1032
1253
|
},
|
|
1033
1254
|
{
|
|
1034
1255
|
"name": "message",
|
|
1035
|
-
"description": "
|
|
1256
|
+
"description": "是否必填",
|
|
1036
1257
|
"attribute": false,
|
|
1037
1258
|
"type": "Record<string, string>"
|
|
1038
1259
|
}
|
|
@@ -1042,232 +1263,99 @@
|
|
|
1042
1263
|
"name": "change",
|
|
1043
1264
|
"description": "值变化时触发",
|
|
1044
1265
|
"detail": {
|
|
1045
|
-
"type": "
|
|
1266
|
+
"type": "Icon | undefined"
|
|
1046
1267
|
}
|
|
1047
1268
|
}
|
|
1048
1269
|
],
|
|
1049
1270
|
"slots": [],
|
|
1050
1271
|
"methods": [],
|
|
1051
1272
|
"parts": [],
|
|
1052
|
-
"description": "
|
|
1273
|
+
"description": "图标选择构件"
|
|
1053
1274
|
},
|
|
1054
1275
|
{
|
|
1055
|
-
"name": "eo-
|
|
1276
|
+
"name": "eo-form-item",
|
|
1056
1277
|
"alias": [
|
|
1057
|
-
"form.general-
|
|
1278
|
+
"form.general-form-item"
|
|
1058
1279
|
],
|
|
1059
1280
|
"properties": [
|
|
1060
1281
|
{
|
|
1061
|
-
"name": "
|
|
1062
|
-
"
|
|
1063
|
-
"type": "
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
"name": "label",
|
|
1067
|
-
"description": "字段文本",
|
|
1068
|
-
"type": "string"
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
"name": "value",
|
|
1072
|
-
"description": "初始值",
|
|
1073
|
-
"type": "boolean"
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"name": "disabled",
|
|
1077
|
-
"description": "是否禁用",
|
|
1078
|
-
"type": "boolean"
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"name": "size",
|
|
1082
|
-
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
1083
|
-
"type": "ComponentSize"
|
|
1282
|
+
"name": "formElement",
|
|
1283
|
+
"attribute": false,
|
|
1284
|
+
"type": "Form"
|
|
1084
1285
|
},
|
|
1085
1286
|
{
|
|
1086
|
-
"name": "
|
|
1087
|
-
"
|
|
1088
|
-
"type": "
|
|
1287
|
+
"name": "curElement",
|
|
1288
|
+
"attribute": false,
|
|
1289
|
+
"type": "HTMLElement"
|
|
1089
1290
|
},
|
|
1090
1291
|
{
|
|
1091
|
-
"name": "
|
|
1092
|
-
"description": "
|
|
1292
|
+
"name": "name",
|
|
1293
|
+
"description": "字段名称",
|
|
1093
1294
|
"type": "string"
|
|
1094
1295
|
},
|
|
1095
|
-
{
|
|
1096
|
-
"name": "checkedIcon",
|
|
1097
|
-
"description": "选中时的图标",
|
|
1098
|
-
"attribute": false,
|
|
1099
|
-
"type": "GeneralIconProps"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"name": "unCheckedIcon",
|
|
1103
|
-
"description": "非选中时的文本",
|
|
1104
|
-
"attribute": false,
|
|
1105
|
-
"type": "GeneralIconProps"
|
|
1106
|
-
}
|
|
1107
|
-
],
|
|
1108
|
-
"events": [
|
|
1109
|
-
{
|
|
1110
|
-
"name": "switch",
|
|
1111
|
-
"description": "开关改变时触发",
|
|
1112
|
-
"detail": {
|
|
1113
|
-
"type": "boolean"
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
],
|
|
1117
|
-
"slots": [],
|
|
1118
|
-
"methods": [],
|
|
1119
|
-
"parts": [],
|
|
1120
|
-
"description": "构件 eo-switch"
|
|
1121
|
-
},
|
|
1122
|
-
{
|
|
1123
|
-
"name": "eo-upload-file",
|
|
1124
|
-
"properties": [
|
|
1125
1296
|
{
|
|
1126
1297
|
"name": "label",
|
|
1127
|
-
"description": "字段说明",
|
|
1128
1298
|
"type": "string"
|
|
1129
1299
|
},
|
|
1130
1300
|
{
|
|
1131
|
-
"name": "
|
|
1132
|
-
"description": "字段名称",
|
|
1301
|
+
"name": "pattern",
|
|
1133
1302
|
"type": "string"
|
|
1134
1303
|
},
|
|
1135
|
-
{
|
|
1136
|
-
"name": "required",
|
|
1137
|
-
"description": "是否必填",
|
|
1138
|
-
"type": "boolean"
|
|
1139
|
-
},
|
|
1140
1304
|
{
|
|
1141
1305
|
"name": "message",
|
|
1142
|
-
"description": "校验文本信息",
|
|
1143
1306
|
"attribute": false,
|
|
1144
1307
|
"type": "Record<string, string>"
|
|
1145
1308
|
},
|
|
1146
1309
|
{
|
|
1147
|
-
"name": "
|
|
1148
|
-
"description": "值",
|
|
1149
|
-
"attribute": false,
|
|
1150
|
-
"type": "FileData[]"
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
"name": "multiple",
|
|
1154
|
-
"description": "是否支持多选",
|
|
1155
|
-
"type": "boolean"
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
"name": "accept",
|
|
1159
|
-
"description": "接受上传的文件类型,多个之间用 `,` 连接",
|
|
1160
|
-
"type": "string"
|
|
1161
|
-
},
|
|
1162
|
-
{
|
|
1163
|
-
"name": "maxCount",
|
|
1164
|
-
"description": "最大上传数量",
|
|
1310
|
+
"name": "max",
|
|
1165
1311
|
"type": "number"
|
|
1166
1312
|
},
|
|
1167
1313
|
{
|
|
1168
|
-
"name": "
|
|
1169
|
-
"
|
|
1170
|
-
"default": "\"replace\"",
|
|
1171
|
-
"type": "\"ignore\" | \"replace\""
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
"name": "uploadDraggable",
|
|
1175
|
-
"description": "是否可以拖拽上传",
|
|
1176
|
-
"type": "boolean"
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
"name": "draggableUploadTip",
|
|
1180
|
-
"description": "拖拽上传的提示信息",
|
|
1181
|
-
"type": "string"
|
|
1314
|
+
"name": "min",
|
|
1315
|
+
"type": "number"
|
|
1182
1316
|
},
|
|
1183
1317
|
{
|
|
1184
|
-
"name": "
|
|
1185
|
-
"description": "
|
|
1186
|
-
"default": "false",
|
|
1318
|
+
"name": "required",
|
|
1319
|
+
"description": "表单项是否必填",
|
|
1187
1320
|
"type": "boolean"
|
|
1188
1321
|
},
|
|
1189
1322
|
{
|
|
1190
|
-
"name": "
|
|
1191
|
-
"description": "
|
|
1192
|
-
"type": "string"
|
|
1193
|
-
},
|
|
1194
|
-
{
|
|
1195
|
-
"name": "method",
|
|
1196
|
-
"description": "自动上传的方法",
|
|
1197
|
-
"default": "\"POST\"",
|
|
1323
|
+
"name": "value",
|
|
1324
|
+
"description": "初始值",
|
|
1198
1325
|
"type": "string"
|
|
1199
1326
|
},
|
|
1200
1327
|
{
|
|
1201
|
-
"name": "
|
|
1202
|
-
"description": "
|
|
1203
|
-
"default": "\"file\"",
|
|
1204
|
-
"type": "string"
|
|
1205
|
-
}
|
|
1206
|
-
],
|
|
1207
|
-
"events": [
|
|
1208
|
-
{
|
|
1209
|
-
"name": "change",
|
|
1210
|
-
"description": "值变化时触发",
|
|
1211
|
-
"detail": {
|
|
1212
|
-
"type": "FileData[]"
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
],
|
|
1216
|
-
"slots": [],
|
|
1217
|
-
"methods": [],
|
|
1218
|
-
"parts": [],
|
|
1219
|
-
"description": "上传文件"
|
|
1220
|
-
},
|
|
1221
|
-
{
|
|
1222
|
-
"name": "eo-auto-complete",
|
|
1223
|
-
"properties": [
|
|
1224
|
-
{
|
|
1225
|
-
"name": "name",
|
|
1226
|
-
"description": "字段名称",
|
|
1328
|
+
"name": "labelCol",
|
|
1329
|
+
"description": "表单项 label 标签布局",
|
|
1227
1330
|
"type": "string"
|
|
1228
1331
|
},
|
|
1229
1332
|
{
|
|
1230
|
-
"name": "
|
|
1231
|
-
"description": "
|
|
1333
|
+
"name": "wrapperCol",
|
|
1334
|
+
"description": "表单项控件布局",
|
|
1232
1335
|
"type": "string"
|
|
1233
1336
|
},
|
|
1234
1337
|
{
|
|
1235
|
-
"name": "
|
|
1236
|
-
"description": "字段文本",
|
|
1338
|
+
"name": "valuePropsName",
|
|
1237
1339
|
"type": "string"
|
|
1238
1340
|
},
|
|
1239
1341
|
{
|
|
1240
|
-
"name": "
|
|
1241
|
-
"
|
|
1242
|
-
"attribute": false,
|
|
1243
|
-
"type": "React.CSSProperties"
|
|
1342
|
+
"name": "layout",
|
|
1343
|
+
"type": "Layout"
|
|
1244
1344
|
},
|
|
1245
1345
|
{
|
|
1246
|
-
"name": "
|
|
1247
|
-
"
|
|
1248
|
-
"type": "boolean"
|
|
1346
|
+
"name": "size",
|
|
1347
|
+
"type": "ComponentSize"
|
|
1249
1348
|
},
|
|
1250
1349
|
{
|
|
1251
|
-
"name": "
|
|
1252
|
-
"description": "
|
|
1253
|
-
"
|
|
1350
|
+
"name": "trim",
|
|
1351
|
+
"description": "是否自动去除前后的空白字符",
|
|
1352
|
+
"default": "true"
|
|
1254
1353
|
},
|
|
1255
1354
|
{
|
|
1256
|
-
"name": "
|
|
1355
|
+
"name": "trigger",
|
|
1356
|
+
"description": "事件触发方法名",
|
|
1257
1357
|
"type": "string"
|
|
1258
1358
|
},
|
|
1259
|
-
{
|
|
1260
|
-
"name": "options",
|
|
1261
|
-
"description": "选项列表",
|
|
1262
|
-
"required": true,
|
|
1263
|
-
"attribute": false,
|
|
1264
|
-
"type": "string[] | OptionType[]"
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
"name": "filterByCaption",
|
|
1268
|
-
"description": "搜索时是否根据caption过滤options",
|
|
1269
|
-
"type": "boolean"
|
|
1270
|
-
},
|
|
1271
1359
|
{
|
|
1272
1360
|
"name": "validator",
|
|
1273
1361
|
"description": "表单项校验方法",
|
|
@@ -1275,30 +1363,16 @@
|
|
|
1275
1363
|
"type": "((value: any) => MessageBody)"
|
|
1276
1364
|
},
|
|
1277
1365
|
{
|
|
1278
|
-
"name": "
|
|
1279
|
-
"description": "
|
|
1280
|
-
"type": "
|
|
1281
|
-
},
|
|
1282
|
-
{
|
|
1283
|
-
"name": "message",
|
|
1284
|
-
"description": "校验文本信息",
|
|
1285
|
-
"attribute": false,
|
|
1286
|
-
"type": "Record<string, string>"
|
|
1287
|
-
}
|
|
1288
|
-
],
|
|
1289
|
-
"events": [
|
|
1290
|
-
{
|
|
1291
|
-
"name": "change",
|
|
1292
|
-
"description": "值改变事件",
|
|
1293
|
-
"detail": {
|
|
1294
|
-
"type": "string"
|
|
1295
|
-
}
|
|
1366
|
+
"name": "needValidate",
|
|
1367
|
+
"description": "值变化时是否主动出发校验",
|
|
1368
|
+
"type": "boolean"
|
|
1296
1369
|
}
|
|
1297
1370
|
],
|
|
1371
|
+
"events": [],
|
|
1298
1372
|
"slots": [],
|
|
1299
1373
|
"methods": [],
|
|
1300
1374
|
"parts": [],
|
|
1301
|
-
"description": "
|
|
1375
|
+
"description": "通用输入框构件"
|
|
1302
1376
|
}
|
|
1303
1377
|
],
|
|
1304
1378
|
"providers": []
|