@next-bricks/form 1.9.11 → 1.9.13

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 (108) hide show
  1. package/dist/bricks.json +13 -13
  2. package/dist/chunks/1045.246ae518.js +2 -0
  3. package/dist/chunks/1045.246ae518.js.map +1 -0
  4. package/dist/chunks/{114.8692fae2.js → 114.61ba5b50.js} +2 -2
  5. package/dist/chunks/{114.8692fae2.js.map → 114.61ba5b50.js.map} +1 -1
  6. package/dist/chunks/{1269.3eb7df89.js → 1269.07721a52.js} +2 -2
  7. package/dist/chunks/{1269.3eb7df89.js.map → 1269.07721a52.js.map} +1 -1
  8. package/dist/chunks/3426.9055d899.js +2 -0
  9. package/dist/chunks/3426.9055d899.js.map +1 -0
  10. package/dist/chunks/{7115.a437ff2a.js → 7115.dcf0df96.js} +2 -2
  11. package/dist/chunks/{7115.a437ff2a.js.map → 7115.dcf0df96.js.map} +1 -1
  12. package/dist/chunks/{7733.49b773d6.js → 7733.a022f226.js} +2 -2
  13. package/dist/chunks/{7733.49b773d6.js.map → 7733.a022f226.js.map} +1 -1
  14. package/dist/chunks/{818.44f4a1f8.js → 818.0e60c75d.js} +3 -3
  15. package/dist/chunks/{818.44f4a1f8.js.map → 818.0e60c75d.js.map} +1 -1
  16. package/dist/chunks/9259.4313ee3f.js +3 -0
  17. package/dist/chunks/9259.4313ee3f.js.map +1 -0
  18. package/dist/chunks/{9496.02c228ff.js → 9496.d3408683.js} +2 -2
  19. package/dist/chunks/{9496.02c228ff.js.map → 9496.d3408683.js.map} +1 -1
  20. package/dist/chunks/eo-auto-complete.6db6aca5.js +3 -0
  21. package/dist/chunks/{eo-auto-complete.5e6c61c8.js.map → eo-auto-complete.6db6aca5.js.map} +1 -1
  22. package/dist/chunks/eo-checkbox.6e4de7f0.js +2 -0
  23. package/dist/chunks/{eo-checkbox.af58e804.js.map → eo-checkbox.6e4de7f0.js.map} +1 -1
  24. package/dist/chunks/eo-color-picker.cdb362a7.js +2 -0
  25. package/dist/chunks/{eo-color-picker.5c3dce6b.js.map → eo-color-picker.cdb362a7.js.map} +1 -1
  26. package/dist/chunks/eo-date-picker.9361e87a.js +2 -0
  27. package/dist/chunks/{eo-date-picker.5e68a357.js.map → eo-date-picker.9361e87a.js.map} +1 -1
  28. package/dist/chunks/eo-dynamic-form-item.c2783b20.js +3 -0
  29. package/dist/chunks/{eo-dynamic-form-item.8d3281ed.js.map → eo-dynamic-form-item.c2783b20.js.map} +1 -1
  30. package/dist/chunks/{eo-form-item.8f6b3ad7.js → eo-form-item.d1189f7c.js} +3 -3
  31. package/dist/chunks/{eo-form-item.8f6b3ad7.js.map → eo-form-item.d1189f7c.js.map} +1 -1
  32. package/dist/chunks/eo-form.f1683fe8.js +2 -0
  33. package/dist/chunks/{eo-form.4ff09a23.js.map → eo-form.f1683fe8.js.map} +1 -1
  34. package/dist/chunks/eo-icon-select.ce687969.js +3 -0
  35. package/dist/chunks/{eo-icon-select.4d714910.js.map → eo-icon-select.ce687969.js.map} +1 -1
  36. package/dist/chunks/eo-input.6fb8e34e.js +3 -0
  37. package/dist/chunks/{eo-input.7a21a8bf.js.map → eo-input.6fb8e34e.js.map} +1 -1
  38. package/dist/chunks/eo-radio.9a162d3d.js +3 -0
  39. package/dist/chunks/{eo-radio.8cb630e8.js.map → eo-radio.9a162d3d.js.map} +1 -1
  40. package/dist/chunks/eo-search.12bbc094.js +2 -0
  41. package/dist/chunks/{eo-search.40491e27.js.map → eo-search.12bbc094.js.map} +1 -1
  42. package/dist/chunks/eo-select.729ec0cc.js +3 -0
  43. package/dist/chunks/eo-select.729ec0cc.js.map +1 -0
  44. package/dist/chunks/eo-submit-buttons.30eaa10f.js +2 -0
  45. package/dist/chunks/{eo-submit-buttons.a14f9dcb.js.map → eo-submit-buttons.30eaa10f.js.map} +1 -1
  46. package/dist/chunks/eo-switch.5326b853.js +3 -0
  47. package/dist/chunks/{eo-switch.8818d6ac.js.map → eo-switch.5326b853.js.map} +1 -1
  48. package/dist/chunks/eo-textarea.70f5d4cf.js +3 -0
  49. package/dist/chunks/{eo-textarea.06fe9731.js.map → eo-textarea.70f5d4cf.js.map} +1 -1
  50. package/dist/chunks/eo-time-picker.846a5acc.js +2 -0
  51. package/dist/chunks/{eo-time-picker.46eeff9d.js.map → eo-time-picker.846a5acc.js.map} +1 -1
  52. package/dist/chunks/eo-time-range-picker.9062f507.js +2 -0
  53. package/dist/chunks/{eo-time-range-picker.e00968c4.js.map → eo-time-range-picker.9062f507.js.map} +1 -1
  54. package/dist/chunks/eo-upload-file.065dde0e.js +3 -0
  55. package/dist/chunks/{eo-upload-file.340b9a4c.js.map → eo-upload-file.065dde0e.js.map} +1 -1
  56. package/dist/chunks/eo-upload-image.ec21b2fc.js +3 -0
  57. package/dist/chunks/{eo-upload-image.be6506c5.js.map → eo-upload-image.ec21b2fc.js.map} +1 -1
  58. package/dist/chunks/main.873d1f86.js +2 -0
  59. package/dist/chunks/{main.09e70605.js.map → main.873d1f86.js.map} +1 -1
  60. package/dist/examples.json +7 -7
  61. package/dist/index.ea71571d.js +2 -0
  62. package/dist/index.ea71571d.js.map +1 -0
  63. package/dist/manifest.json +339 -339
  64. package/dist/types.json +1094 -1081
  65. package/dist-types/select/index.d.ts +6 -2
  66. package/docs/eo-select.md +9 -7
  67. package/package.json +2 -2
  68. package/dist/chunks/1045.b1bc5ba1.js +0 -2
  69. package/dist/chunks/1045.b1bc5ba1.js.map +0 -1
  70. package/dist/chunks/3426.cf27e18e.js +0 -2
  71. package/dist/chunks/3426.cf27e18e.js.map +0 -1
  72. package/dist/chunks/9259.c83980a7.js +0 -3
  73. package/dist/chunks/9259.c83980a7.js.map +0 -1
  74. package/dist/chunks/eo-auto-complete.5e6c61c8.js +0 -3
  75. package/dist/chunks/eo-checkbox.af58e804.js +0 -2
  76. package/dist/chunks/eo-color-picker.5c3dce6b.js +0 -2
  77. package/dist/chunks/eo-date-picker.5e68a357.js +0 -2
  78. package/dist/chunks/eo-dynamic-form-item.8d3281ed.js +0 -3
  79. package/dist/chunks/eo-form.4ff09a23.js +0 -2
  80. package/dist/chunks/eo-icon-select.4d714910.js +0 -3
  81. package/dist/chunks/eo-input.7a21a8bf.js +0 -3
  82. package/dist/chunks/eo-radio.8cb630e8.js +0 -3
  83. package/dist/chunks/eo-search.40491e27.js +0 -2
  84. package/dist/chunks/eo-select.a0b5bb30.js +0 -3
  85. package/dist/chunks/eo-select.a0b5bb30.js.map +0 -1
  86. package/dist/chunks/eo-submit-buttons.a14f9dcb.js +0 -2
  87. package/dist/chunks/eo-switch.8818d6ac.js +0 -3
  88. package/dist/chunks/eo-textarea.06fe9731.js +0 -3
  89. package/dist/chunks/eo-time-picker.46eeff9d.js +0 -2
  90. package/dist/chunks/eo-time-range-picker.e00968c4.js +0 -2
  91. package/dist/chunks/eo-upload-file.340b9a4c.js +0 -3
  92. package/dist/chunks/eo-upload-image.be6506c5.js +0 -3
  93. package/dist/chunks/main.09e70605.js +0 -2
  94. package/dist/index.67cc1f25.js +0 -2
  95. package/dist/index.67cc1f25.js.map +0 -1
  96. /package/dist/chunks/{818.44f4a1f8.js.LICENSE.txt → 818.0e60c75d.js.LICENSE.txt} +0 -0
  97. /package/dist/chunks/{9259.c83980a7.js.LICENSE.txt → 9259.4313ee3f.js.LICENSE.txt} +0 -0
  98. /package/dist/chunks/{eo-auto-complete.5e6c61c8.js.LICENSE.txt → eo-auto-complete.6db6aca5.js.LICENSE.txt} +0 -0
  99. /package/dist/chunks/{eo-dynamic-form-item.8d3281ed.js.LICENSE.txt → eo-dynamic-form-item.c2783b20.js.LICENSE.txt} +0 -0
  100. /package/dist/chunks/{eo-form-item.8f6b3ad7.js.LICENSE.txt → eo-form-item.d1189f7c.js.LICENSE.txt} +0 -0
  101. /package/dist/chunks/{eo-icon-select.4d714910.js.LICENSE.txt → eo-icon-select.ce687969.js.LICENSE.txt} +0 -0
  102. /package/dist/chunks/{eo-input.7a21a8bf.js.LICENSE.txt → eo-input.6fb8e34e.js.LICENSE.txt} +0 -0
  103. /package/dist/chunks/{eo-radio.8cb630e8.js.LICENSE.txt → eo-radio.9a162d3d.js.LICENSE.txt} +0 -0
  104. /package/dist/chunks/{eo-select.a0b5bb30.js.LICENSE.txt → eo-select.729ec0cc.js.LICENSE.txt} +0 -0
  105. /package/dist/chunks/{eo-switch.8818d6ac.js.LICENSE.txt → eo-switch.5326b853.js.LICENSE.txt} +0 -0
  106. /package/dist/chunks/{eo-textarea.06fe9731.js.LICENSE.txt → eo-textarea.70f5d4cf.js.LICENSE.txt} +0 -0
  107. /package/dist/chunks/{eo-upload-file.340b9a4c.js.LICENSE.txt → eo-upload-file.065dde0e.js.LICENSE.txt} +0 -0
  108. /package/dist/chunks/{eo-upload-image.be6506c5.js.LICENSE.txt → eo-upload-image.ec21b2fc.js.LICENSE.txt} +0 -0
@@ -188,232 +188,6 @@
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
191
  {
418
192
  "name": "eo-radio",
419
193
  "alias": [
@@ -512,105 +286,6 @@
512
286
  "description": "通用单选构件",
513
287
  "category": "form-input-basic"
514
288
  },
515
- {
516
- "name": "eo-form-item",
517
- "alias": [
518
- "form.general-form-item"
519
- ],
520
- "properties": [
521
- {
522
- "name": "formElement",
523
- "attribute": false,
524
- "type": "Form"
525
- },
526
- {
527
- "name": "curElement",
528
- "attribute": false,
529
- "type": "HTMLElement"
530
- },
531
- {
532
- "name": "name",
533
- "description": "字段名称",
534
- "type": "string"
535
- },
536
- {
537
- "name": "label",
538
- "type": "string"
539
- },
540
- {
541
- "name": "pattern",
542
- "type": "string"
543
- },
544
- {
545
- "name": "message",
546
- "attribute": false,
547
- "type": "Record<string, string>"
548
- },
549
- {
550
- "name": "max",
551
- "type": "number"
552
- },
553
- {
554
- "name": "min",
555
- "type": "number"
556
- },
557
- {
558
- "name": "required",
559
- "description": "表单项是否必填",
560
- "type": "boolean"
561
- },
562
- {
563
- "name": "value",
564
- "description": "初始值",
565
- "type": "string"
566
- },
567
- {
568
- "name": "valuePropsName",
569
- "type": "string"
570
- },
571
- {
572
- "name": "layout",
573
- "type": "Layout"
574
- },
575
- {
576
- "name": "size",
577
- "type": "ComponentSize"
578
- },
579
- {
580
- "name": "trim",
581
- "description": "是否自动去除前后的空白字符",
582
- "default": "true"
583
- },
584
- {
585
- "name": "trigger",
586
- "description": "事件触发方法名",
587
- "type": "string"
588
- },
589
- {
590
- "name": "validator",
591
- "description": "表单项校验方法",
592
- "attribute": false,
593
- "type": "((value: any) => MessageBody)"
594
- },
595
- {
596
- "name": "needValidate",
597
- "description": "值变化时是否主动出发校验",
598
- "type": "boolean"
599
- }
600
- ],
601
- "events": [],
602
- "slots": [
603
- {
604
- "name": null,
605
- "description": "表单项内容"
606
- }
607
- ],
608
- "methods": [],
609
- "parts": [],
610
- "description": "通用输入框构件",
611
- "category": "form-input-basic",
612
- "insider": true
613
- },
614
289
  {
615
290
  "name": "eo-select",
616
291
  "alias": [
@@ -686,7 +361,7 @@
686
361
  "name": "suffix",
687
362
  "description": "",
688
363
  "attribute": false,
689
- "type": "UseSingleBrickConf"
364
+ "type": "{ useBrick: UseSingleBrickConf }"
690
365
  },
691
366
  {
692
367
  "name": "clearable",
@@ -733,25 +408,124 @@
733
408
  }
734
409
  },
735
410
  {
736
- "name": "focus",
737
- "description": "下拉框focus事件",
738
- "detail": {
739
- "type": "void"
740
- }
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-item",
433
+ "alias": [
434
+ "form.general-form-item"
435
+ ],
436
+ "properties": [
437
+ {
438
+ "name": "formElement",
439
+ "attribute": false,
440
+ "type": "Form"
441
+ },
442
+ {
443
+ "name": "curElement",
444
+ "attribute": false,
445
+ "type": "HTMLElement"
446
+ },
447
+ {
448
+ "name": "name",
449
+ "description": "字段名称",
450
+ "type": "string"
451
+ },
452
+ {
453
+ "name": "label",
454
+ "type": "string"
455
+ },
456
+ {
457
+ "name": "pattern",
458
+ "type": "string"
459
+ },
460
+ {
461
+ "name": "message",
462
+ "attribute": false,
463
+ "type": "Record<string, string>"
464
+ },
465
+ {
466
+ "name": "max",
467
+ "type": "number"
468
+ },
469
+ {
470
+ "name": "min",
471
+ "type": "number"
472
+ },
473
+ {
474
+ "name": "required",
475
+ "description": "表单项是否必填",
476
+ "type": "boolean"
477
+ },
478
+ {
479
+ "name": "value",
480
+ "description": "初始值",
481
+ "type": "string"
482
+ },
483
+ {
484
+ "name": "valuePropsName",
485
+ "type": "string"
486
+ },
487
+ {
488
+ "name": "layout",
489
+ "type": "Layout"
490
+ },
491
+ {
492
+ "name": "size",
493
+ "type": "ComponentSize"
494
+ },
495
+ {
496
+ "name": "trim",
497
+ "description": "是否自动去除前后的空白字符",
498
+ "default": "true"
499
+ },
500
+ {
501
+ "name": "trigger",
502
+ "description": "事件触发方法名",
503
+ "type": "string"
504
+ },
505
+ {
506
+ "name": "validator",
507
+ "description": "表单项校验方法",
508
+ "attribute": false,
509
+ "type": "((value: any) => MessageBody)"
741
510
  },
742
511
  {
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
- }
512
+ "name": "needValidate",
513
+ "description": "值变化时是否主动出发校验",
514
+ "type": "boolean"
515
+ }
516
+ ],
517
+ "events": [],
518
+ "slots": [
519
+ {
520
+ "name": null,
521
+ "description": "表单项内容"
748
522
  }
749
523
  ],
750
- "slots": [],
751
524
  "methods": [],
752
525
  "parts": [],
753
- "description": "通用下拉选择构件",
754
- "category": "form-input-basic"
526
+ "description": "通用输入框构件",
527
+ "category": "form-input-basic",
528
+ "insider": true
755
529
  },
756
530
  {
757
531
  "name": "eo-submit-buttons",
@@ -905,6 +679,97 @@
905
679
  "description": "表单复选框构件",
906
680
  "category": "form-input-basic"
907
681
  },
682
+ {
683
+ "name": "eo-textarea",
684
+ "alias": [
685
+ "form.general-textarea"
686
+ ],
687
+ "properties": [
688
+ {
689
+ "name": "name",
690
+ "description": "字段名称",
691
+ "type": "string"
692
+ },
693
+ {
694
+ "name": "label",
695
+ "description": "标签文字",
696
+ "type": "string"
697
+ },
698
+ {
699
+ "name": "value",
700
+ "description": "值",
701
+ "type": "string"
702
+ },
703
+ {
704
+ "name": "placeholder",
705
+ "description": "占位说明",
706
+ "type": "string"
707
+ },
708
+ {
709
+ "name": "disabled",
710
+ "description": "是否禁用",
711
+ "type": "boolean"
712
+ },
713
+ {
714
+ "name": "minLength",
715
+ "description": "最小长度",
716
+ "type": "number"
717
+ },
718
+ {
719
+ "name": "maxLength",
720
+ "description": "最大长度",
721
+ "type": "number"
722
+ },
723
+ {
724
+ "name": "autoSize",
725
+ "description": "大小自适应",
726
+ "attribute": false,
727
+ "type": "AutoSize"
728
+ },
729
+ {
730
+ "name": "required",
731
+ "description": "是否必填",
732
+ "type": "boolean"
733
+ },
734
+ {
735
+ "name": "max",
736
+ "description": "表单校验最大长度",
737
+ "type": "number"
738
+ },
739
+ {
740
+ "name": "min",
741
+ "description": "表单校验最小长度",
742
+ "type": "number"
743
+ },
744
+ {
745
+ "name": "message",
746
+ "description": "校验信息",
747
+ "attribute": false,
748
+ "type": "Record<string, string>"
749
+ },
750
+ {
751
+ "name": "textareaStyle",
752
+ "description": "自定义样式",
753
+ "attribute": false,
754
+ "type": "React.CSSProperties"
755
+ }
756
+ ],
757
+ "events": [
758
+ {
759
+ "name": "change",
760
+ "description": "",
761
+ "detail": {
762
+ "description": null,
763
+ "type": "string"
764
+ }
765
+ }
766
+ ],
767
+ "slots": [],
768
+ "methods": [],
769
+ "parts": [],
770
+ "description": "通用多行文本输入框构件",
771
+ "category": "form-input-basic"
772
+ },
908
773
  {
909
774
  "name": "eo-dynamic-form-item",
910
775
  "alias": [
@@ -1112,6 +977,141 @@
1112
977
  "description": "图标选择构件",
1113
978
  "category": "form-input-basic"
1114
979
  },
980
+ {
981
+ "name": "eo-form",
982
+ "alias": [
983
+ "form.general-form"
984
+ ],
985
+ "properties": [
986
+ {
987
+ "name": "layout",
988
+ "description": "布局方式(默认 vertical 布局)",
989
+ "default": "vertical",
990
+ "type": "Layout"
991
+ },
992
+ {
993
+ "name": "size",
994
+ "description": "表单组件尺寸",
995
+ "type": "ComponentSize"
996
+ },
997
+ {
998
+ "name": "labelCol",
999
+ "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
1000
+ "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 }",
1001
+ "attribute": false,
1002
+ "type": "ColProps"
1003
+ },
1004
+ {
1005
+ "name": "wrapperCol",
1006
+ "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
1007
+ "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 }",
1008
+ "attribute": false,
1009
+ "type": "ColProps"
1010
+ },
1011
+ {
1012
+ "name": "formStyle",
1013
+ "attribute": false,
1014
+ "type": "React.CSSProperties"
1015
+ }
1016
+ ],
1017
+ "events": [
1018
+ {
1019
+ "name": "values.change",
1020
+ "description": "表单值变更事件",
1021
+ "detail": {
1022
+ "description": null,
1023
+ "type": "Record<string, unknown>"
1024
+ }
1025
+ },
1026
+ {
1027
+ "name": "validate.success",
1028
+ "description": "表单验证成功时触发事件",
1029
+ "detail": {
1030
+ "type": "Record<string, unknown>"
1031
+ }
1032
+ },
1033
+ {
1034
+ "name": "validate.error",
1035
+ "description": "表单验证报错时触发事件",
1036
+ "detail": {
1037
+ "type": "MessageBody[]"
1038
+ }
1039
+ }
1040
+ ],
1041
+ "slots": [
1042
+ {
1043
+ "name": null,
1044
+ "description": "表单内容"
1045
+ }
1046
+ ],
1047
+ "methods": [
1048
+ {
1049
+ "name": "validate",
1050
+ "params": [],
1051
+ "description": "表单校验方法",
1052
+ "returns": {
1053
+ "type": "boolean | Record<string, unknown>"
1054
+ }
1055
+ },
1056
+ {
1057
+ "name": "setInitValue",
1058
+ "params": [
1059
+ {
1060
+ "name": "values",
1061
+ "type": "Record<string, unknown>"
1062
+ },
1063
+ {
1064
+ "name": "options",
1065
+ "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
1066
+ }
1067
+ ],
1068
+ "description": "表单设置值方法",
1069
+ "returns": {}
1070
+ },
1071
+ {
1072
+ "name": "resetFields",
1073
+ "params": [
1074
+ {
1075
+ "name": "name",
1076
+ "type": "string"
1077
+ }
1078
+ ],
1079
+ "description": "表单重置值方法",
1080
+ "returns": {}
1081
+ },
1082
+ {
1083
+ "name": "getFieldsValue",
1084
+ "params": [
1085
+ {
1086
+ "name": "name",
1087
+ "type": "string"
1088
+ }
1089
+ ],
1090
+ "description": "获取表单值方法",
1091
+ "returns": {}
1092
+ },
1093
+ {
1094
+ "name": "validateField",
1095
+ "params": [
1096
+ {
1097
+ "name": "name",
1098
+ "type": "string"
1099
+ }
1100
+ ],
1101
+ "description": "校验表单字段方法",
1102
+ "returns": {}
1103
+ },
1104
+ {
1105
+ "name": "resetValidateState",
1106
+ "params": [],
1107
+ "description": "重置表单校验状态方法",
1108
+ "returns": {}
1109
+ }
1110
+ ],
1111
+ "parts": [],
1112
+ "description": "表单构件",
1113
+ "category": "form-input-basic"
1114
+ },
1115
1115
  {
1116
1116
  "name": "eo-upload-image",
1117
1117
  "alias": [