@next-bricks/form 1.10.15 → 1.11.0

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.
Files changed (75) hide show
  1. package/dist/bricks.json +14 -14
  2. package/dist/chunks/1889.392e4e6b.js +2 -0
  3. package/dist/chunks/1889.392e4e6b.js.map +1 -0
  4. package/dist/chunks/{3533.1cf44075.js → 3533.531100f1.js} +3 -3
  5. package/dist/chunks/3533.531100f1.js.map +1 -0
  6. package/dist/chunks/{4837.92bb5c66.js → 4837.1a9fc4b6.js} +2 -2
  7. package/dist/chunks/{4837.92bb5c66.js.map → 4837.1a9fc4b6.js.map} +1 -1
  8. package/dist/chunks/{7218.789598c5.js → 7218.3bd68abf.js} +2 -2
  9. package/dist/chunks/{7218.789598c5.js.map → 7218.3bd68abf.js.map} +1 -1
  10. package/dist/chunks/9259.1b63759a.js +3 -0
  11. package/dist/chunks/9259.1b63759a.js.map +1 -0
  12. package/dist/chunks/{eo-auto-complete.4d4e9dba.js → eo-auto-complete.98162a44.js} +3 -3
  13. package/dist/chunks/{eo-auto-complete.4d4e9dba.js.map → eo-auto-complete.98162a44.js.map} +1 -1
  14. package/dist/chunks/{eo-checkbox.d68796c0.js → eo-checkbox.baa2872d.js} +2 -2
  15. package/dist/chunks/{eo-checkbox.d68796c0.js.map → eo-checkbox.baa2872d.js.map} +1 -1
  16. package/dist/chunks/{eo-color-picker.69942c0e.js → eo-color-picker.ec1dc549.js} +2 -2
  17. package/dist/chunks/{eo-color-picker.69942c0e.js.map → eo-color-picker.ec1dc549.js.map} +1 -1
  18. package/dist/chunks/{eo-date-picker.4132da7c.js → eo-date-picker.96daded7.js} +2 -2
  19. package/dist/chunks/{eo-date-picker.4132da7c.js.map → eo-date-picker.96daded7.js.map} +1 -1
  20. package/dist/chunks/{eo-dynamic-form-item.5a0755cd.js → eo-dynamic-form-item.b993cc1a.js} +3 -3
  21. package/dist/chunks/{eo-dynamic-form-item.5a0755cd.js.map → eo-dynamic-form-item.b993cc1a.js.map} +1 -1
  22. package/dist/chunks/{eo-form-item.84627a1b.js → eo-form-item.d0c9470e.js} +3 -3
  23. package/dist/chunks/{eo-form-item.84627a1b.js.map → eo-form-item.d0c9470e.js.map} +1 -1
  24. package/dist/chunks/{eo-form.39222d89.js → eo-form.ffd7110b.js} +2 -2
  25. package/dist/chunks/eo-form.ffd7110b.js.map +1 -0
  26. package/dist/chunks/{eo-icon-select.6cedecaa.js → eo-icon-select.ea153600.js} +3 -3
  27. package/dist/chunks/{eo-icon-select.6cedecaa.js.map → eo-icon-select.ea153600.js.map} +1 -1
  28. package/dist/chunks/{eo-input.f71db8e7.js → eo-input.873ad2fa.js} +3 -3
  29. package/dist/chunks/{eo-input.f71db8e7.js.map → eo-input.873ad2fa.js.map} +1 -1
  30. package/dist/chunks/{eo-radio.e670a677.js → eo-radio.69db2632.js} +3 -3
  31. package/dist/chunks/{eo-radio.e670a677.js.map → eo-radio.69db2632.js.map} +1 -1
  32. package/dist/chunks/{eo-search.dc5d9068.js → eo-search.c7c9f55d.js} +2 -2
  33. package/dist/chunks/{eo-search.dc5d9068.js.map → eo-search.c7c9f55d.js.map} +1 -1
  34. package/dist/chunks/{eo-select.61d467db.js → eo-select.e068cf0a.js} +3 -3
  35. package/dist/chunks/{eo-select.61d467db.js.map → eo-select.e068cf0a.js.map} +1 -1
  36. package/dist/chunks/{eo-switch.a3d53bec.js → eo-switch.09c86599.js} +3 -3
  37. package/dist/chunks/{eo-switch.a3d53bec.js.map → eo-switch.09c86599.js.map} +1 -1
  38. package/dist/chunks/{eo-textarea.d255adb2.js → eo-textarea.1257aec8.js} +3 -3
  39. package/dist/chunks/{eo-textarea.d255adb2.js.map → eo-textarea.1257aec8.js.map} +1 -1
  40. package/dist/chunks/{eo-time-picker.29112703.js → eo-time-picker.e126b70b.js} +2 -2
  41. package/dist/chunks/{eo-time-picker.29112703.js.map → eo-time-picker.e126b70b.js.map} +1 -1
  42. package/dist/chunks/{eo-time-range-picker.404c0ccf.js → eo-time-range-picker.dfd0d8d3.js} +2 -2
  43. package/dist/chunks/{eo-time-range-picker.404c0ccf.js.map → eo-time-range-picker.dfd0d8d3.js.map} +1 -1
  44. package/dist/chunks/{eo-upload-file.b1e28a31.js → eo-upload-file.a9335d33.js} +3 -3
  45. package/dist/chunks/{eo-upload-file.b1e28a31.js.map → eo-upload-file.a9335d33.js.map} +1 -1
  46. package/dist/chunks/{eo-upload-image.07e6ec28.js → eo-upload-image.8c3c1a13.js} +3 -3
  47. package/dist/chunks/{eo-upload-image.07e6ec28.js.map → eo-upload-image.8c3c1a13.js.map} +1 -1
  48. package/dist/chunks/{main.76d8cb12.js → main.56b43bc5.js} +2 -2
  49. package/dist/chunks/{main.76d8cb12.js.map → main.56b43bc5.js.map} +1 -1
  50. package/dist/examples.json +6 -6
  51. package/dist/index.8fc87c2f.js +2 -0
  52. package/dist/{index.aa12110e.js.map → index.8fc87c2f.js.map} +1 -1
  53. package/dist/manifest.json +359 -359
  54. package/dist/types.json +1275 -1250
  55. package/package.json +2 -2
  56. package/dist/chunks/1889.94b73b42.js +0 -2
  57. package/dist/chunks/1889.94b73b42.js.map +0 -1
  58. package/dist/chunks/3533.1cf44075.js.map +0 -1
  59. package/dist/chunks/9259.99eb5d65.js +0 -3
  60. package/dist/chunks/9259.99eb5d65.js.map +0 -1
  61. package/dist/chunks/eo-form.39222d89.js.map +0 -1
  62. package/dist/index.aa12110e.js +0 -2
  63. /package/dist/chunks/{3533.1cf44075.js.LICENSE.txt → 3533.531100f1.js.LICENSE.txt} +0 -0
  64. /package/dist/chunks/{9259.99eb5d65.js.LICENSE.txt → 9259.1b63759a.js.LICENSE.txt} +0 -0
  65. /package/dist/chunks/{eo-auto-complete.4d4e9dba.js.LICENSE.txt → eo-auto-complete.98162a44.js.LICENSE.txt} +0 -0
  66. /package/dist/chunks/{eo-dynamic-form-item.5a0755cd.js.LICENSE.txt → eo-dynamic-form-item.b993cc1a.js.LICENSE.txt} +0 -0
  67. /package/dist/chunks/{eo-form-item.84627a1b.js.LICENSE.txt → eo-form-item.d0c9470e.js.LICENSE.txt} +0 -0
  68. /package/dist/chunks/{eo-icon-select.6cedecaa.js.LICENSE.txt → eo-icon-select.ea153600.js.LICENSE.txt} +0 -0
  69. /package/dist/chunks/{eo-input.f71db8e7.js.LICENSE.txt → eo-input.873ad2fa.js.LICENSE.txt} +0 -0
  70. /package/dist/chunks/{eo-radio.e670a677.js.LICENSE.txt → eo-radio.69db2632.js.LICENSE.txt} +0 -0
  71. /package/dist/chunks/{eo-select.61d467db.js.LICENSE.txt → eo-select.e068cf0a.js.LICENSE.txt} +0 -0
  72. /package/dist/chunks/{eo-switch.a3d53bec.js.LICENSE.txt → eo-switch.09c86599.js.LICENSE.txt} +0 -0
  73. /package/dist/chunks/{eo-textarea.d255adb2.js.LICENSE.txt → eo-textarea.1257aec8.js.LICENSE.txt} +0 -0
  74. /package/dist/chunks/{eo-upload-file.b1e28a31.js.LICENSE.txt → eo-upload-file.a9335d33.js.LICENSE.txt} +0 -0
  75. /package/dist/chunks/{eo-upload-image.07e6ec28.js.LICENSE.txt → eo-upload-image.8c3c1a13.js.LICENSE.txt} +0 -0
@@ -188,6 +188,331 @@
188
188
  "description": "通用输入框构件",
189
189
  "category": "form-input-basic"
190
190
  },
191
+ {
192
+ "name": "eo-form",
193
+ "alias": [
194
+ "form.general-form"
195
+ ],
196
+ "properties": [
197
+ {
198
+ "name": "layout",
199
+ "description": "布局方式(默认 vertical 布局)",
200
+ "default": "vertical",
201
+ "type": "Layout"
202
+ },
203
+ {
204
+ "name": "size",
205
+ "description": "表单组件尺寸",
206
+ "type": "ComponentSize"
207
+ },
208
+ {
209
+ "name": "labelCol",
210
+ "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
211
+ "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 }",
212
+ "attribute": false,
213
+ "type": "ColProps"
214
+ },
215
+ {
216
+ "name": "wrapperCol",
217
+ "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
218
+ "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 }",
219
+ "attribute": false,
220
+ "type": "ColProps"
221
+ },
222
+ {
223
+ "name": "formStyle",
224
+ "attribute": false,
225
+ "type": "React.CSSProperties"
226
+ }
227
+ ],
228
+ "events": [
229
+ {
230
+ "name": "values.change",
231
+ "description": "表单值变更事件",
232
+ "detail": {
233
+ "description": null,
234
+ "type": "Record<string, unknown>"
235
+ }
236
+ },
237
+ {
238
+ "name": "validate.success",
239
+ "description": "表单验证成功时触发事件",
240
+ "detail": {
241
+ "type": "Record<string, unknown>"
242
+ }
243
+ },
244
+ {
245
+ "name": "validate.error",
246
+ "description": "表单验证报错时触发事件",
247
+ "detail": {
248
+ "type": "(MessageBody & { name: string })[]"
249
+ }
250
+ }
251
+ ],
252
+ "slots": [
253
+ {
254
+ "name": null,
255
+ "description": "表单内容"
256
+ }
257
+ ],
258
+ "methods": [
259
+ {
260
+ "name": "validate",
261
+ "params": [],
262
+ "description": "表单校验方法",
263
+ "returns": {
264
+ "type": "boolean | Record<string, unknown>"
265
+ }
266
+ },
267
+ {
268
+ "name": "setInitValue",
269
+ "params": [
270
+ {
271
+ "name": "values",
272
+ "type": "Record<string, unknown>"
273
+ },
274
+ {
275
+ "name": "options",
276
+ "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
277
+ }
278
+ ],
279
+ "description": "表单设置值方法",
280
+ "returns": {}
281
+ },
282
+ {
283
+ "name": "resetFields",
284
+ "params": [
285
+ {
286
+ "name": "name",
287
+ "type": "string"
288
+ }
289
+ ],
290
+ "description": "表单重置值方法",
291
+ "returns": {}
292
+ },
293
+ {
294
+ "name": "getFieldsValue",
295
+ "params": [
296
+ {
297
+ "name": "name",
298
+ "type": "string"
299
+ }
300
+ ],
301
+ "description": "获取表单值方法",
302
+ "returns": {}
303
+ },
304
+ {
305
+ "name": "validateField",
306
+ "params": [
307
+ {
308
+ "name": "name",
309
+ "type": "string"
310
+ }
311
+ ],
312
+ "description": "校验表单字段方法",
313
+ "returns": {}
314
+ },
315
+ {
316
+ "name": "resetValidateState",
317
+ "params": [],
318
+ "description": "重置表单校验状态方法",
319
+ "returns": {}
320
+ }
321
+ ],
322
+ "parts": [],
323
+ "description": "表单构件",
324
+ "category": "form-input-basic"
325
+ },
326
+ {
327
+ "name": "eo-textarea",
328
+ "alias": [
329
+ "form.general-textarea"
330
+ ],
331
+ "properties": [
332
+ {
333
+ "name": "name",
334
+ "description": "字段名称",
335
+ "type": "string"
336
+ },
337
+ {
338
+ "name": "label",
339
+ "description": "标签文字",
340
+ "type": "string"
341
+ },
342
+ {
343
+ "name": "value",
344
+ "description": "值",
345
+ "type": "string"
346
+ },
347
+ {
348
+ "name": "placeholder",
349
+ "description": "占位说明",
350
+ "type": "string"
351
+ },
352
+ {
353
+ "name": "disabled",
354
+ "description": "是否禁用",
355
+ "type": "boolean"
356
+ },
357
+ {
358
+ "name": "minLength",
359
+ "description": "最小长度",
360
+ "type": "number"
361
+ },
362
+ {
363
+ "name": "maxLength",
364
+ "description": "最大长度",
365
+ "type": "number"
366
+ },
367
+ {
368
+ "name": "autoSize",
369
+ "description": "大小自适应",
370
+ "attribute": false,
371
+ "type": "AutoSize"
372
+ },
373
+ {
374
+ "name": "required",
375
+ "description": "是否必填",
376
+ "type": "boolean"
377
+ },
378
+ {
379
+ "name": "max",
380
+ "description": "表单校验最大长度",
381
+ "type": "number"
382
+ },
383
+ {
384
+ "name": "min",
385
+ "description": "表单校验最小长度",
386
+ "type": "number"
387
+ },
388
+ {
389
+ "name": "message",
390
+ "description": "校验信息",
391
+ "attribute": false,
392
+ "type": "Record<string, string>"
393
+ },
394
+ {
395
+ "name": "textareaStyle",
396
+ "description": "自定义样式",
397
+ "attribute": false,
398
+ "type": "React.CSSProperties"
399
+ }
400
+ ],
401
+ "events": [
402
+ {
403
+ "name": "change",
404
+ "description": "",
405
+ "detail": {
406
+ "description": null,
407
+ "type": "string"
408
+ }
409
+ }
410
+ ],
411
+ "slots": [],
412
+ "methods": [],
413
+ "parts": [],
414
+ "description": "通用多行文本输入框构件",
415
+ "category": "form-input-basic"
416
+ },
417
+ {
418
+ "name": "eo-form-item",
419
+ "alias": [
420
+ "form.general-form-item"
421
+ ],
422
+ "properties": [
423
+ {
424
+ "name": "formElement",
425
+ "attribute": false,
426
+ "type": "Form"
427
+ },
428
+ {
429
+ "name": "curElement",
430
+ "attribute": false,
431
+ "type": "HTMLElement"
432
+ },
433
+ {
434
+ "name": "name",
435
+ "description": "字段名称",
436
+ "type": "string"
437
+ },
438
+ {
439
+ "name": "label",
440
+ "type": "string"
441
+ },
442
+ {
443
+ "name": "pattern",
444
+ "type": "string"
445
+ },
446
+ {
447
+ "name": "message",
448
+ "attribute": false,
449
+ "type": "Record<string, string>"
450
+ },
451
+ {
452
+ "name": "max",
453
+ "type": "number"
454
+ },
455
+ {
456
+ "name": "min",
457
+ "type": "number"
458
+ },
459
+ {
460
+ "name": "required",
461
+ "description": "表单项是否为必填",
462
+ "type": "boolean"
463
+ },
464
+ {
465
+ "name": "value",
466
+ "description": "初始值",
467
+ "type": "string"
468
+ },
469
+ {
470
+ "name": "valuePropsName",
471
+ "type": "string"
472
+ },
473
+ {
474
+ "name": "layout",
475
+ "type": "Layout"
476
+ },
477
+ {
478
+ "name": "size",
479
+ "type": "ComponentSize"
480
+ },
481
+ {
482
+ "name": "trim",
483
+ "description": "是否自动去除前后的空白字符",
484
+ "default": "true"
485
+ },
486
+ {
487
+ "name": "trigger",
488
+ "description": "事件触发方法名",
489
+ "type": "string"
490
+ },
491
+ {
492
+ "name": "validator",
493
+ "description": "表单项校验方法",
494
+ "attribute": false,
495
+ "type": "((value: any) => MessageBody)"
496
+ },
497
+ {
498
+ "name": "needValidate",
499
+ "description": "值变化时是否主动出发校验",
500
+ "type": "boolean"
501
+ }
502
+ ],
503
+ "events": [],
504
+ "slots": [
505
+ {
506
+ "name": null,
507
+ "description": "表单项内容"
508
+ }
509
+ ],
510
+ "methods": [],
511
+ "parts": [],
512
+ "description": "通用输入框构件",
513
+ "category": "form-input-basic",
514
+ "insider": true
515
+ },
191
516
  {
192
517
  "name": "eo-radio",
193
518
  "alias": [
@@ -381,186 +706,51 @@
381
706
  "attribute": false,
382
707
  "type": "UseBackendConf"
383
708
  },
384
- {
385
- "name": "debounceSearchDelay",
386
- "type": "number"
387
- },
388
- {
389
- "name": "inputStyle",
390
- "description": "输入框样式",
391
- "attribute": false,
392
- "type": "React.CSSProperties"
393
- }
394
- ],
395
- "events": [
396
- {
397
- "name": "change",
398
- "description": "下拉选择事件",
399
- "detail": {
400
- "type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
401
- }
402
- },
403
- {
404
- "name": "search",
405
- "description": "下拉框search事件",
406
- "detail": {
407
- "type": "{\n value: string;\n }"
408
- }
409
- },
410
- {
411
- "name": "focus",
412
- "description": "下拉框focus事件",
413
- "detail": {
414
- "type": "void"
415
- }
416
- },
417
- {
418
- "name": "options.change",
419
- "description": "选项列表变化事件",
420
- "detail": {
421
- "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
422
- }
423
- }
424
- ],
425
- "slots": [],
426
- "methods": [],
427
- "parts": [],
428
- "description": "通用下拉选择构件",
429
- "category": "form-input-basic"
430
- },
431
- {
432
- "name": "eo-form",
433
- "alias": [
434
- "form.general-form"
435
- ],
436
- "properties": [
437
- {
438
- "name": "layout",
439
- "description": "布局方式(默认 vertical 布局)",
440
- "default": "vertical",
441
- "type": "Layout"
442
- },
443
- {
444
- "name": "size",
445
- "description": "表单组件尺寸",
446
- "type": "ComponentSize"
447
- },
448
- {
449
- "name": "labelCol",
450
- "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
451
- "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 }",
452
- "attribute": false,
453
- "type": "ColProps"
454
- },
455
- {
456
- "name": "wrapperCol",
457
- "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
458
- "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 }",
459
- "attribute": false,
460
- "type": "ColProps"
461
- },
462
- {
463
- "name": "formStyle",
464
- "attribute": false,
465
- "type": "React.CSSProperties"
466
- }
467
- ],
468
- "events": [
469
- {
470
- "name": "values.change",
471
- "description": "表单值变更事件",
472
- "detail": {
473
- "description": null,
474
- "type": "Record<string, unknown>"
475
- }
476
- },
477
- {
478
- "name": "validate.success",
479
- "description": "表单验证成功时触发事件",
480
- "detail": {
481
- "type": "Record<string, unknown>"
482
- }
483
- },
484
- {
485
- "name": "validate.error",
486
- "description": "表单验证报错时触发事件",
487
- "detail": {
488
- "type": "MessageBody[]"
489
- }
490
- }
491
- ],
492
- "slots": [
493
- {
494
- "name": null,
495
- "description": "表单内容"
496
- }
497
- ],
498
- "methods": [
499
- {
500
- "name": "validate",
501
- "params": [],
502
- "description": "表单校验方法",
503
- "returns": {
504
- "type": "boolean | Record<string, unknown>"
505
- }
506
- },
507
- {
508
- "name": "setInitValue",
509
- "params": [
510
- {
511
- "name": "values",
512
- "type": "Record<string, unknown>"
513
- },
514
- {
515
- "name": "options",
516
- "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
517
- }
518
- ],
519
- "description": "表单设置值方法",
520
- "returns": {}
709
+ {
710
+ "name": "debounceSearchDelay",
711
+ "type": "number"
521
712
  },
522
713
  {
523
- "name": "resetFields",
524
- "params": [
525
- {
526
- "name": "name",
527
- "type": "string"
528
- }
529
- ],
530
- "description": "表单重置值方法",
531
- "returns": {}
714
+ "name": "inputStyle",
715
+ "description": "输入框样式",
716
+ "attribute": false,
717
+ "type": "React.CSSProperties"
718
+ }
719
+ ],
720
+ "events": [
721
+ {
722
+ "name": "change",
723
+ "description": "下拉选择事件",
724
+ "detail": {
725
+ "type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
726
+ }
532
727
  },
533
728
  {
534
- "name": "getFieldsValue",
535
- "params": [
536
- {
537
- "name": "name",
538
- "type": "string"
539
- }
540
- ],
541
- "description": "获取表单值方法",
542
- "returns": {}
729
+ "name": "search",
730
+ "description": "下拉框search事件",
731
+ "detail": {
732
+ "type": "{\n value: string;\n }"
733
+ }
543
734
  },
544
735
  {
545
- "name": "validateField",
546
- "params": [
547
- {
548
- "name": "name",
549
- "type": "string"
550
- }
551
- ],
552
- "description": "校验表单字段方法",
553
- "returns": {}
736
+ "name": "focus",
737
+ "description": "下拉框focus事件",
738
+ "detail": {
739
+ "type": "void"
740
+ }
554
741
  },
555
742
  {
556
- "name": "resetValidateState",
557
- "params": [],
558
- "description": "重置表单校验状态方法",
559
- "returns": {}
743
+ "name": "options.change",
744
+ "description": "选项列表变化事件",
745
+ "detail": {
746
+ "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
747
+ }
560
748
  }
561
749
  ],
750
+ "slots": [],
751
+ "methods": [],
562
752
  "parts": [],
563
- "description": "表单构件",
753
+ "description": "通用下拉选择构件",
564
754
  "category": "form-input-basic"
565
755
  },
566
756
  {
@@ -868,105 +1058,6 @@
868
1058
  "description": "搜索框",
869
1059
  "category": "interact-basic"
870
1060
  },
871
- {
872
- "name": "eo-form-item",
873
- "alias": [
874
- "form.general-form-item"
875
- ],
876
- "properties": [
877
- {
878
- "name": "formElement",
879
- "attribute": false,
880
- "type": "Form"
881
- },
882
- {
883
- "name": "curElement",
884
- "attribute": false,
885
- "type": "HTMLElement"
886
- },
887
- {
888
- "name": "name",
889
- "description": "字段名称",
890
- "type": "string"
891
- },
892
- {
893
- "name": "label",
894
- "type": "string"
895
- },
896
- {
897
- "name": "pattern",
898
- "type": "string"
899
- },
900
- {
901
- "name": "message",
902
- "attribute": false,
903
- "type": "Record<string, string>"
904
- },
905
- {
906
- "name": "max",
907
- "type": "number"
908
- },
909
- {
910
- "name": "min",
911
- "type": "number"
912
- },
913
- {
914
- "name": "required",
915
- "description": "表单项是否为必填",
916
- "type": "boolean"
917
- },
918
- {
919
- "name": "value",
920
- "description": "初始值",
921
- "type": "string"
922
- },
923
- {
924
- "name": "valuePropsName",
925
- "type": "string"
926
- },
927
- {
928
- "name": "layout",
929
- "type": "Layout"
930
- },
931
- {
932
- "name": "size",
933
- "type": "ComponentSize"
934
- },
935
- {
936
- "name": "trim",
937
- "description": "是否自动去除前后的空白字符",
938
- "default": "true"
939
- },
940
- {
941
- "name": "trigger",
942
- "description": "事件触发方法名",
943
- "type": "string"
944
- },
945
- {
946
- "name": "validator",
947
- "description": "表单项校验方法",
948
- "attribute": false,
949
- "type": "((value: any) => MessageBody)"
950
- },
951
- {
952
- "name": "needValidate",
953
- "description": "值变化时是否主动出发校验",
954
- "type": "boolean"
955
- }
956
- ],
957
- "events": [],
958
- "slots": [
959
- {
960
- "name": null,
961
- "description": "表单项内容"
962
- }
963
- ],
964
- "methods": [],
965
- "parts": [],
966
- "description": "通用输入框构件",
967
- "category": "form-input-basic",
968
- "insider": true
969
- },
970
1061
  {
971
1062
  "name": "eo-icon-select",
972
1063
  "alias": [
@@ -1282,97 +1373,6 @@
1282
1373
  "description": "上传文件",
1283
1374
  "category": "form-input-basic"
1284
1375
  },
1285
- {
1286
- "name": "eo-textarea",
1287
- "alias": [
1288
- "form.general-textarea"
1289
- ],
1290
- "properties": [
1291
- {
1292
- "name": "name",
1293
- "description": "字段名称",
1294
- "type": "string"
1295
- },
1296
- {
1297
- "name": "label",
1298
- "description": "标签文字",
1299
- "type": "string"
1300
- },
1301
- {
1302
- "name": "value",
1303
- "description": "值",
1304
- "type": "string"
1305
- },
1306
- {
1307
- "name": "placeholder",
1308
- "description": "占位说明",
1309
- "type": "string"
1310
- },
1311
- {
1312
- "name": "disabled",
1313
- "description": "是否禁用",
1314
- "type": "boolean"
1315
- },
1316
- {
1317
- "name": "minLength",
1318
- "description": "最小长度",
1319
- "type": "number"
1320
- },
1321
- {
1322
- "name": "maxLength",
1323
- "description": "最大长度",
1324
- "type": "number"
1325
- },
1326
- {
1327
- "name": "autoSize",
1328
- "description": "大小自适应",
1329
- "attribute": false,
1330
- "type": "AutoSize"
1331
- },
1332
- {
1333
- "name": "required",
1334
- "description": "是否必填",
1335
- "type": "boolean"
1336
- },
1337
- {
1338
- "name": "max",
1339
- "description": "表单校验最大长度",
1340
- "type": "number"
1341
- },
1342
- {
1343
- "name": "min",
1344
- "description": "表单校验最小长度",
1345
- "type": "number"
1346
- },
1347
- {
1348
- "name": "message",
1349
- "description": "校验信息",
1350
- "attribute": false,
1351
- "type": "Record<string, string>"
1352
- },
1353
- {
1354
- "name": "textareaStyle",
1355
- "description": "自定义样式",
1356
- "attribute": false,
1357
- "type": "React.CSSProperties"
1358
- }
1359
- ],
1360
- "events": [
1361
- {
1362
- "name": "change",
1363
- "description": "",
1364
- "detail": {
1365
- "description": null,
1366
- "type": "string"
1367
- }
1368
- }
1369
- ],
1370
- "slots": [],
1371
- "methods": [],
1372
- "parts": [],
1373
- "description": "通用多行文本输入框构件",
1374
- "category": "form-input-basic"
1375
- },
1376
1376
  {
1377
1377
  "name": "eo-auto-complete",
1378
1378
  "properties": [