@next-bricks/form 1.10.15 → 1.10.16

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 (69) 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.99eb5d65.js → 9259.48fa80fd.js} +3 -3
  11. package/dist/chunks/{9259.99eb5d65.js.map → 9259.48fa80fd.js.map} +1 -1
  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-icon-select.6cedecaa.js → eo-icon-select.ea153600.js} +3 -3
  25. package/dist/chunks/{eo-icon-select.6cedecaa.js.map → eo-icon-select.ea153600.js.map} +1 -1
  26. package/dist/chunks/{eo-input.f71db8e7.js → eo-input.873ad2fa.js} +3 -3
  27. package/dist/chunks/{eo-input.f71db8e7.js.map → eo-input.873ad2fa.js.map} +1 -1
  28. package/dist/chunks/{eo-radio.e670a677.js → eo-radio.69db2632.js} +3 -3
  29. package/dist/chunks/{eo-radio.e670a677.js.map → eo-radio.69db2632.js.map} +1 -1
  30. package/dist/chunks/{eo-search.dc5d9068.js → eo-search.c7c9f55d.js} +2 -2
  31. package/dist/chunks/{eo-search.dc5d9068.js.map → eo-search.c7c9f55d.js.map} +1 -1
  32. package/dist/chunks/{eo-select.61d467db.js → eo-select.e068cf0a.js} +3 -3
  33. package/dist/chunks/{eo-select.61d467db.js.map → eo-select.e068cf0a.js.map} +1 -1
  34. package/dist/chunks/{eo-switch.a3d53bec.js → eo-switch.09c86599.js} +3 -3
  35. package/dist/chunks/{eo-switch.a3d53bec.js.map → eo-switch.09c86599.js.map} +1 -1
  36. package/dist/chunks/{eo-textarea.d255adb2.js → eo-textarea.1257aec8.js} +3 -3
  37. package/dist/chunks/{eo-textarea.d255adb2.js.map → eo-textarea.1257aec8.js.map} +1 -1
  38. package/dist/chunks/{eo-time-picker.29112703.js → eo-time-picker.e126b70b.js} +2 -2
  39. package/dist/chunks/{eo-time-picker.29112703.js.map → eo-time-picker.e126b70b.js.map} +1 -1
  40. package/dist/chunks/{eo-time-range-picker.404c0ccf.js → eo-time-range-picker.dfd0d8d3.js} +2 -2
  41. package/dist/chunks/{eo-time-range-picker.404c0ccf.js.map → eo-time-range-picker.dfd0d8d3.js.map} +1 -1
  42. package/dist/chunks/{eo-upload-file.b1e28a31.js → eo-upload-file.a9335d33.js} +3 -3
  43. package/dist/chunks/{eo-upload-file.b1e28a31.js.map → eo-upload-file.a9335d33.js.map} +1 -1
  44. package/dist/chunks/{eo-upload-image.07e6ec28.js → eo-upload-image.8c3c1a13.js} +3 -3
  45. package/dist/chunks/{eo-upload-image.07e6ec28.js.map → eo-upload-image.8c3c1a13.js.map} +1 -1
  46. package/dist/chunks/{main.76d8cb12.js → main.b5c74b08.js} +2 -2
  47. package/dist/chunks/{main.76d8cb12.js.map → main.b5c74b08.js.map} +1 -1
  48. package/dist/examples.json +6 -6
  49. package/dist/{index.aa12110e.js → index.13e2dd9d.js} +2 -2
  50. package/dist/{index.aa12110e.js.map → index.13e2dd9d.js.map} +1 -1
  51. package/dist/manifest.json +359 -359
  52. package/dist/types.json +1253 -1253
  53. package/package.json +2 -2
  54. package/dist/chunks/1889.94b73b42.js +0 -2
  55. package/dist/chunks/1889.94b73b42.js.map +0 -1
  56. package/dist/chunks/3533.1cf44075.js.map +0 -1
  57. /package/dist/chunks/{3533.1cf44075.js.LICENSE.txt → 3533.531100f1.js.LICENSE.txt} +0 -0
  58. /package/dist/chunks/{9259.99eb5d65.js.LICENSE.txt → 9259.48fa80fd.js.LICENSE.txt} +0 -0
  59. /package/dist/chunks/{eo-auto-complete.4d4e9dba.js.LICENSE.txt → eo-auto-complete.98162a44.js.LICENSE.txt} +0 -0
  60. /package/dist/chunks/{eo-dynamic-form-item.5a0755cd.js.LICENSE.txt → eo-dynamic-form-item.b993cc1a.js.LICENSE.txt} +0 -0
  61. /package/dist/chunks/{eo-form-item.84627a1b.js.LICENSE.txt → eo-form-item.d0c9470e.js.LICENSE.txt} +0 -0
  62. /package/dist/chunks/{eo-icon-select.6cedecaa.js.LICENSE.txt → eo-icon-select.ea153600.js.LICENSE.txt} +0 -0
  63. /package/dist/chunks/{eo-input.f71db8e7.js.LICENSE.txt → eo-input.873ad2fa.js.LICENSE.txt} +0 -0
  64. /package/dist/chunks/{eo-radio.e670a677.js.LICENSE.txt → eo-radio.69db2632.js.LICENSE.txt} +0 -0
  65. /package/dist/chunks/{eo-select.61d467db.js.LICENSE.txt → eo-select.e068cf0a.js.LICENSE.txt} +0 -0
  66. /package/dist/chunks/{eo-switch.a3d53bec.js.LICENSE.txt → eo-switch.09c86599.js.LICENSE.txt} +0 -0
  67. /package/dist/chunks/{eo-textarea.d255adb2.js.LICENSE.txt → eo-textarea.1257aec8.js.LICENSE.txt} +0 -0
  68. /package/dist/chunks/{eo-upload-file.b1e28a31.js.LICENSE.txt → eo-upload-file.a9335d33.js.LICENSE.txt} +0 -0
  69. /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-textarea",
193
+ "alias": [
194
+ "form.general-textarea"
195
+ ],
196
+ "properties": [
197
+ {
198
+ "name": "name",
199
+ "description": "字段名称",
200
+ "type": "string"
201
+ },
202
+ {
203
+ "name": "label",
204
+ "description": "标签文字",
205
+ "type": "string"
206
+ },
207
+ {
208
+ "name": "value",
209
+ "description": "值",
210
+ "type": "string"
211
+ },
212
+ {
213
+ "name": "placeholder",
214
+ "description": "占位说明",
215
+ "type": "string"
216
+ },
217
+ {
218
+ "name": "disabled",
219
+ "description": "是否禁用",
220
+ "type": "boolean"
221
+ },
222
+ {
223
+ "name": "minLength",
224
+ "description": "最小长度",
225
+ "type": "number"
226
+ },
227
+ {
228
+ "name": "maxLength",
229
+ "description": "最大长度",
230
+ "type": "number"
231
+ },
232
+ {
233
+ "name": "autoSize",
234
+ "description": "大小自适应",
235
+ "attribute": false,
236
+ "type": "AutoSize"
237
+ },
238
+ {
239
+ "name": "required",
240
+ "description": "是否必填",
241
+ "type": "boolean"
242
+ },
243
+ {
244
+ "name": "max",
245
+ "description": "表单校验最大长度",
246
+ "type": "number"
247
+ },
248
+ {
249
+ "name": "min",
250
+ "description": "表单校验最小长度",
251
+ "type": "number"
252
+ },
253
+ {
254
+ "name": "message",
255
+ "description": "校验信息",
256
+ "attribute": false,
257
+ "type": "Record<string, string>"
258
+ },
259
+ {
260
+ "name": "textareaStyle",
261
+ "description": "自定义样式",
262
+ "attribute": false,
263
+ "type": "React.CSSProperties"
264
+ }
265
+ ],
266
+ "events": [
267
+ {
268
+ "name": "change",
269
+ "description": "",
270
+ "detail": {
271
+ "description": null,
272
+ "type": "string"
273
+ }
274
+ }
275
+ ],
276
+ "slots": [],
277
+ "methods": [],
278
+ "parts": [],
279
+ "description": "通用多行文本输入框构件",
280
+ "category": "form-input-basic"
281
+ },
282
+ {
283
+ "name": "eo-form",
284
+ "alias": [
285
+ "form.general-form"
286
+ ],
287
+ "properties": [
288
+ {
289
+ "name": "layout",
290
+ "description": "布局方式(默认 vertical 布局)",
291
+ "default": "vertical",
292
+ "type": "Layout"
293
+ },
294
+ {
295
+ "name": "size",
296
+ "description": "表单组件尺寸",
297
+ "type": "ComponentSize"
298
+ },
299
+ {
300
+ "name": "labelCol",
301
+ "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
302
+ "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 }",
303
+ "attribute": false,
304
+ "type": "ColProps"
305
+ },
306
+ {
307
+ "name": "wrapperCol",
308
+ "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
309
+ "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 }",
310
+ "attribute": false,
311
+ "type": "ColProps"
312
+ },
313
+ {
314
+ "name": "formStyle",
315
+ "attribute": false,
316
+ "type": "React.CSSProperties"
317
+ }
318
+ ],
319
+ "events": [
320
+ {
321
+ "name": "values.change",
322
+ "description": "表单值变更事件",
323
+ "detail": {
324
+ "description": null,
325
+ "type": "Record<string, unknown>"
326
+ }
327
+ },
328
+ {
329
+ "name": "validate.success",
330
+ "description": "表单验证成功时触发事件",
331
+ "detail": {
332
+ "type": "Record<string, unknown>"
333
+ }
334
+ },
335
+ {
336
+ "name": "validate.error",
337
+ "description": "表单验证报错时触发事件",
338
+ "detail": {
339
+ "type": "MessageBody[]"
340
+ }
341
+ }
342
+ ],
343
+ "slots": [
344
+ {
345
+ "name": null,
346
+ "description": "表单内容"
347
+ }
348
+ ],
349
+ "methods": [
350
+ {
351
+ "name": "validate",
352
+ "params": [],
353
+ "description": "表单校验方法",
354
+ "returns": {
355
+ "type": "boolean | Record<string, unknown>"
356
+ }
357
+ },
358
+ {
359
+ "name": "setInitValue",
360
+ "params": [
361
+ {
362
+ "name": "values",
363
+ "type": "Record<string, unknown>"
364
+ },
365
+ {
366
+ "name": "options",
367
+ "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
368
+ }
369
+ ],
370
+ "description": "表单设置值方法",
371
+ "returns": {}
372
+ },
373
+ {
374
+ "name": "resetFields",
375
+ "params": [
376
+ {
377
+ "name": "name",
378
+ "type": "string"
379
+ }
380
+ ],
381
+ "description": "表单重置值方法",
382
+ "returns": {}
383
+ },
384
+ {
385
+ "name": "getFieldsValue",
386
+ "params": [
387
+ {
388
+ "name": "name",
389
+ "type": "string"
390
+ }
391
+ ],
392
+ "description": "获取表单值方法",
393
+ "returns": {}
394
+ },
395
+ {
396
+ "name": "validateField",
397
+ "params": [
398
+ {
399
+ "name": "name",
400
+ "type": "string"
401
+ }
402
+ ],
403
+ "description": "校验表单字段方法",
404
+ "returns": {}
405
+ },
406
+ {
407
+ "name": "resetValidateState",
408
+ "params": [],
409
+ "description": "重置表单校验状态方法",
410
+ "returns": {}
411
+ }
412
+ ],
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": [