@next-bricks/form 1.14.3 → 1.15.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 (131) hide show
  1. package/dist/bricks.json +15 -13
  2. package/dist/chunks/1045.a9ea1f1b.js +2 -0
  3. package/dist/chunks/1045.a9ea1f1b.js.map +1 -0
  4. package/dist/chunks/114.34571944.js +2 -0
  5. package/dist/chunks/{114.531359b5.js.map → 114.34571944.js.map} +1 -1
  6. package/dist/chunks/{1269.7d6c330a.js → 1269.78d33291.js} +2 -2
  7. package/dist/chunks/{1269.7d6c330a.js.map → 1269.78d33291.js.map} +1 -1
  8. package/dist/chunks/{1940.9d6c0c1b.js → 1940.fe06f230.js} +2 -2
  9. package/dist/chunks/{1940.9d6c0c1b.js.map → 1940.fe06f230.js.map} +1 -1
  10. package/dist/chunks/{2277.1fcc5d80.js → 2277.b53cada5.js} +2 -2
  11. package/dist/chunks/{4658.acc538b5.js.map → 2277.b53cada5.js.map} +1 -1
  12. package/dist/chunks/{2600.c0a33dd3.js → 2600.c061d47a.js} +3 -3
  13. package/dist/chunks/{2600.c0a33dd3.js.map → 2600.c061d47a.js.map} +1 -1
  14. package/dist/chunks/3426.c132aaf4.js +2 -0
  15. package/dist/chunks/3426.c132aaf4.js.map +1 -0
  16. package/dist/chunks/{3933.001684c0.js → 3933.090e0e25.js} +2 -2
  17. package/dist/chunks/{3933.001684c0.js.map → 3933.090e0e25.js.map} +1 -1
  18. package/dist/chunks/4411.4c063ae9.js +3 -0
  19. package/dist/chunks/{4411.f5a11492.js.map → 4411.4c063ae9.js.map} +1 -1
  20. package/dist/chunks/{4658.acc538b5.js → 4658.85a4eee9.js} +2 -2
  21. package/dist/chunks/{2277.1fcc5d80.js.map → 4658.85a4eee9.js.map} +1 -1
  22. package/dist/chunks/{4837.9047f3d2.js → 4837.ee78a559.js} +2 -2
  23. package/dist/chunks/{4837.9047f3d2.js.map → 4837.ee78a559.js.map} +1 -1
  24. package/dist/chunks/{6314.222849eb.js → 6314.333038db.js} +2 -2
  25. package/dist/chunks/{6314.222849eb.js.map → 6314.333038db.js.map} +1 -1
  26. package/dist/chunks/{7218.e65d7660.js → 7218.8a34ac8c.js} +2 -2
  27. package/dist/chunks/{7218.e65d7660.js.map → 7218.8a34ac8c.js.map} +1 -1
  28. package/dist/chunks/7623.1f56399f.js +3 -0
  29. package/dist/chunks/7623.1f56399f.js.map +1 -0
  30. package/dist/chunks/7733.09fc7545.js +2 -0
  31. package/dist/chunks/{7733.10fcbe3c.js.map → 7733.09fc7545.js.map} +1 -1
  32. package/dist/chunks/{8089.a89bbf70.js → 8089.5ff9d1d9.js} +3 -3
  33. package/dist/chunks/{8089.a89bbf70.js.map → 8089.5ff9d1d9.js.map} +1 -1
  34. package/dist/chunks/{9559.fd09a575.js → 9559.f1ea5a95.js} +2 -2
  35. package/dist/chunks/{9559.fd09a575.js.map → 9559.f1ea5a95.js.map} +1 -1
  36. package/dist/chunks/eo-auto-complete.63553d54.js +3 -0
  37. package/dist/chunks/{eo-auto-complete.abd5bb43.js.map → eo-auto-complete.63553d54.js.map} +1 -1
  38. package/dist/chunks/eo-checkbox.dd22a29f.js +3 -0
  39. package/dist/chunks/{eo-checkbox.35cba994.js.map → eo-checkbox.dd22a29f.js.map} +1 -1
  40. package/dist/chunks/eo-color-picker.bf777bdd.js +2 -0
  41. package/dist/chunks/{eo-color-picker.5b2ac507.js.map → eo-color-picker.bf777bdd.js.map} +1 -1
  42. package/dist/chunks/eo-date-picker.5fd6b30b.js +2 -0
  43. package/dist/chunks/{eo-date-picker.aa504886.js.map → eo-date-picker.5fd6b30b.js.map} +1 -1
  44. package/dist/chunks/eo-dynamic-form-item.97ca5f2f.js +3 -0
  45. package/dist/chunks/{eo-dynamic-form-item.f421276d.js.map → eo-dynamic-form-item.97ca5f2f.js.map} +1 -1
  46. package/dist/chunks/eo-form-item.786f3204.js +3 -0
  47. package/dist/chunks/{eo-form-item.cebcd239.js.map → eo-form-item.786f3204.js.map} +1 -1
  48. package/dist/chunks/eo-form.df5345d8.js +2 -0
  49. package/dist/chunks/{eo-form.466014a3.js.map → eo-form.df5345d8.js.map} +1 -1
  50. package/dist/chunks/eo-icon-select.85d4651e.js +3 -0
  51. package/dist/chunks/{eo-icon-select.cc24a547.js.map → eo-icon-select.85d4651e.js.map} +1 -1
  52. package/dist/chunks/eo-input.31a357d0.js +3 -0
  53. package/dist/chunks/{eo-input.dbe96de3.js.map → eo-input.31a357d0.js.map} +1 -1
  54. package/dist/chunks/eo-radio.b560225d.js +3 -0
  55. package/dist/chunks/{eo-radio.db47ec57.js.map → eo-radio.b560225d.js.map} +1 -1
  56. package/dist/chunks/eo-search.27570e91.js +2 -0
  57. package/dist/chunks/{eo-search.afba9bbb.js.map → eo-search.27570e91.js.map} +1 -1
  58. package/dist/chunks/eo-select.2b3fd2f2.js +3 -0
  59. package/dist/chunks/eo-select.2b3fd2f2.js.map +1 -0
  60. package/dist/chunks/eo-submit-buttons.0e010582.js +2 -0
  61. package/dist/chunks/{eo-submit-buttons.7cd42251.js.map → eo-submit-buttons.0e010582.js.map} +1 -1
  62. package/dist/chunks/eo-switch.00bbb693.js +3 -0
  63. package/dist/chunks/{eo-switch.342e4f8f.js.map → eo-switch.00bbb693.js.map} +1 -1
  64. package/dist/chunks/eo-textarea.c834c651.js +2 -0
  65. package/dist/chunks/{eo-textarea.0408bf74.js.map → eo-textarea.c834c651.js.map} +1 -1
  66. package/dist/chunks/eo-time-picker.6972ed66.js +2 -0
  67. package/dist/chunks/{eo-time-picker.7ab69666.js.map → eo-time-picker.6972ed66.js.map} +1 -1
  68. package/dist/chunks/eo-time-range-picker.78522a35.js +2 -0
  69. package/dist/chunks/{eo-time-range-picker.7cdc5d0d.js.map → eo-time-range-picker.78522a35.js.map} +1 -1
  70. package/dist/chunks/eo-upload-file.ffa88448.js +3 -0
  71. package/dist/chunks/{eo-upload-file.8df9f934.js.map → eo-upload-file.ffa88448.js.map} +1 -1
  72. package/dist/chunks/eo-upload-image.6c530fa8.js +3 -0
  73. package/dist/chunks/{eo-upload-image.1246493b.js.map → eo-upload-image.6c530fa8.js.map} +1 -1
  74. package/dist/chunks/main.5b5ef9cf.js +2 -0
  75. package/dist/chunks/main.5b5ef9cf.js.map +1 -0
  76. package/dist/examples.json +6 -6
  77. package/dist/index.b28ead9a.js +2 -0
  78. package/dist/index.b28ead9a.js.map +1 -0
  79. package/dist/manifest.json +341 -336
  80. package/dist/types.json +1310 -1303
  81. package/dist-types/select/index.d.ts +17 -0
  82. package/dist-types/select/index.spec.d.ts +1 -0
  83. package/package.json +3 -3
  84. package/dist/chunks/1045.11757a1e.js +0 -2
  85. package/dist/chunks/1045.11757a1e.js.map +0 -1
  86. package/dist/chunks/114.531359b5.js +0 -2
  87. package/dist/chunks/3426.2f9a5a28.js +0 -2
  88. package/dist/chunks/3426.2f9a5a28.js.map +0 -1
  89. package/dist/chunks/4411.f5a11492.js +0 -3
  90. package/dist/chunks/7623.1b9d4546.js +0 -3
  91. package/dist/chunks/7623.1b9d4546.js.map +0 -1
  92. package/dist/chunks/7733.10fcbe3c.js +0 -2
  93. package/dist/chunks/eo-auto-complete.abd5bb43.js +0 -3
  94. package/dist/chunks/eo-checkbox.35cba994.js +0 -3
  95. package/dist/chunks/eo-color-picker.5b2ac507.js +0 -2
  96. package/dist/chunks/eo-date-picker.aa504886.js +0 -2
  97. package/dist/chunks/eo-dynamic-form-item.f421276d.js +0 -3
  98. package/dist/chunks/eo-form-item.cebcd239.js +0 -3
  99. package/dist/chunks/eo-form.466014a3.js +0 -2
  100. package/dist/chunks/eo-icon-select.cc24a547.js +0 -3
  101. package/dist/chunks/eo-input.dbe96de3.js +0 -3
  102. package/dist/chunks/eo-radio.db47ec57.js +0 -3
  103. package/dist/chunks/eo-search.afba9bbb.js +0 -2
  104. package/dist/chunks/eo-select.b8db23b1.js +0 -3
  105. package/dist/chunks/eo-select.b8db23b1.js.map +0 -1
  106. package/dist/chunks/eo-submit-buttons.7cd42251.js +0 -2
  107. package/dist/chunks/eo-switch.342e4f8f.js +0 -3
  108. package/dist/chunks/eo-textarea.0408bf74.js +0 -2
  109. package/dist/chunks/eo-time-picker.7ab69666.js +0 -2
  110. package/dist/chunks/eo-time-range-picker.7cdc5d0d.js +0 -2
  111. package/dist/chunks/eo-upload-file.8df9f934.js +0 -3
  112. package/dist/chunks/eo-upload-image.1246493b.js +0 -3
  113. package/dist/chunks/main.9c4e9d78.js +0 -2
  114. package/dist/chunks/main.9c4e9d78.js.map +0 -1
  115. package/dist/index.f0eefc31.js +0 -2
  116. package/dist/index.f0eefc31.js.map +0 -1
  117. /package/dist/chunks/{2600.c0a33dd3.js.LICENSE.txt → 2600.c061d47a.js.LICENSE.txt} +0 -0
  118. /package/dist/chunks/{4411.f5a11492.js.LICENSE.txt → 4411.4c063ae9.js.LICENSE.txt} +0 -0
  119. /package/dist/chunks/{7623.1b9d4546.js.LICENSE.txt → 7623.1f56399f.js.LICENSE.txt} +0 -0
  120. /package/dist/chunks/{8089.a89bbf70.js.LICENSE.txt → 8089.5ff9d1d9.js.LICENSE.txt} +0 -0
  121. /package/dist/chunks/{eo-auto-complete.abd5bb43.js.LICENSE.txt → eo-auto-complete.63553d54.js.LICENSE.txt} +0 -0
  122. /package/dist/chunks/{eo-checkbox.35cba994.js.LICENSE.txt → eo-checkbox.dd22a29f.js.LICENSE.txt} +0 -0
  123. /package/dist/chunks/{eo-dynamic-form-item.f421276d.js.LICENSE.txt → eo-dynamic-form-item.97ca5f2f.js.LICENSE.txt} +0 -0
  124. /package/dist/chunks/{eo-form-item.cebcd239.js.LICENSE.txt → eo-form-item.786f3204.js.LICENSE.txt} +0 -0
  125. /package/dist/chunks/{eo-icon-select.cc24a547.js.LICENSE.txt → eo-icon-select.85d4651e.js.LICENSE.txt} +0 -0
  126. /package/dist/chunks/{eo-input.dbe96de3.js.LICENSE.txt → eo-input.31a357d0.js.LICENSE.txt} +0 -0
  127. /package/dist/chunks/{eo-radio.db47ec57.js.LICENSE.txt → eo-radio.b560225d.js.LICENSE.txt} +0 -0
  128. /package/dist/chunks/{eo-select.b8db23b1.js.LICENSE.txt → eo-select.2b3fd2f2.js.LICENSE.txt} +0 -0
  129. /package/dist/chunks/{eo-switch.342e4f8f.js.LICENSE.txt → eo-switch.00bbb693.js.LICENSE.txt} +0 -0
  130. /package/dist/chunks/{eo-upload-file.8df9f934.js.LICENSE.txt → eo-upload-file.ffa88448.js.LICENSE.txt} +0 -0
  131. /package/dist/chunks/{eo-upload-image.1246493b.js.LICENSE.txt → eo-upload-image.6c530fa8.js.LICENSE.txt} +0 -0
@@ -189,264 +189,109 @@
189
189
  "category": "form-input-basic"
190
190
  },
191
191
  {
192
- "name": "eo-textarea",
192
+ "name": "eo-radio",
193
193
  "alias": [
194
- "form.general-textarea"
194
+ "form.general-radio"
195
195
  ],
196
196
  "properties": [
197
197
  {
198
198
  "name": "name",
199
- "description": "字段名称",
199
+ "description": "下拉框字段名",
200
200
  "type": "string"
201
201
  },
202
202
  {
203
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": "占位说明",
204
+ "description": "单选框字段说明",
215
205
  "type": "string"
216
206
  },
217
207
  {
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"
208
+ "name": "options",
209
+ "description": "单选框选项表",
210
+ "required": true,
211
+ "attribute": false,
212
+ "type": "GeneralOption[]"
231
213
  },
232
214
  {
233
- "name": "autoSize",
234
- "description": "大小自适应",
215
+ "name": "value",
216
+ "description": "单选框当前选中始值",
235
217
  "attribute": false,
236
- "type": "AutoSize"
218
+ "type": "any"
237
219
  },
238
220
  {
239
221
  "name": "required",
240
222
  "description": "是否必填",
241
223
  "type": "boolean"
242
224
  },
243
- {
244
- "name": "max",
245
- "description": "表单校验最大长度",
246
- "type": "number"
247
- },
248
- {
249
- "name": "min",
250
- "description": "表单校验最小长度",
251
- "type": "number"
252
- },
253
225
  {
254
226
  "name": "message",
255
- "description": "校验信息",
227
+ "description": "校验文本信息",
256
228
  "attribute": false,
257
229
  "type": "Record<string, string>"
258
230
  },
259
231
  {
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
- {
279
- "name": "focusTextarea",
280
- "params": [],
281
- "description": "focus",
282
- "returns": {}
283
- }
284
- ],
285
- "parts": [],
286
- "description": "通用多行文本输入框构件",
287
- "category": "form-input-basic"
288
- },
289
- {
290
- "name": "eo-form",
291
- "alias": [
292
- "form.general-form"
293
- ],
294
- "properties": [
232
+ "name": "disabled",
233
+ "description": "是否禁用",
234
+ "type": "boolean"
235
+ },
295
236
  {
296
- "name": "staticValues",
297
- "attribute": false,
298
- "type": "Record<string, unknown>"
237
+ "name": "type",
238
+ "description": "单选框样式类型",
239
+ "default": "\"default\"",
240
+ "type": "RadioType"
299
241
  },
300
242
  {
301
- "name": "layout",
302
- "description": "布局方式(默认 vertical 布局)",
303
- "default": "vertical",
304
- "type": "Layout"
243
+ "name": "ui",
244
+ "description": "UI样式",
245
+ "default": "\"default\"",
246
+ "type": "UIType"
305
247
  },
306
248
  {
307
249
  "name": "size",
308
- "description": "表单组件尺寸",
250
+ "description": "大小,只对按钮样式生效",
251
+ "default": "\"medium\"",
309
252
  "type": "ComponentSize"
310
253
  },
311
254
  {
312
- "name": "labelCol",
313
- "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
314
- "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 }",
315
- "attribute": false,
316
- "type": "ColProps"
317
- },
318
- {
319
- "name": "wrapperCol",
320
- "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
321
- "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 }",
322
- "attribute": false,
323
- "type": "ColProps"
324
- },
325
- {
326
- "name": "formStyle",
255
+ "name": "customStyle",
256
+ "description": "自定义radio的外层样式",
327
257
  "attribute": false,
328
258
  "type": "React.CSSProperties"
329
259
  },
330
260
  {
331
- "name": "textContent",
332
- "type": "string",
333
- "description": "文本内容"
261
+ "name": "useBrick",
262
+ "description": "自定义radio的内容",
263
+ "attribute": false,
264
+ "type": "UseSingleBrickConf"
334
265
  }
335
266
  ],
336
267
  "events": [
337
268
  {
338
- "name": "values.change",
339
- "description": "表单值变更事件",
340
- "detail": {
341
- "description": null,
342
- "type": "Record<string, unknown>"
343
- }
344
- },
345
- {
346
- "name": "validate.success",
347
- "description": "表单验证成功时触发事件",
269
+ "name": "change",
270
+ "description": "值变化事件",
348
271
  "detail": {
349
- "type": "Record<string, unknown>"
272
+ "type": "GeneralComplexOption | undefined"
350
273
  }
351
274
  },
352
275
  {
353
- "name": "validate.error",
354
- "description": "表单验证报错时触发事件",
276
+ "name": "options.change",
277
+ "description": "选项列表变化事件",
355
278
  "detail": {
356
- "type": "(MessageBody & { name: string })[]"
279
+ "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
357
280
  }
358
281
  }
359
282
  ],
360
- "slots": [
361
- {
362
- "name": null,
363
- "description": "表单内容"
364
- }
365
- ],
366
- "methods": [
367
- {
368
- "name": "validate",
369
- "params": [],
370
- "description": "表单校验方法",
371
- "returns": {
372
- "type": "boolean | Record<string, unknown>"
373
- }
374
- },
375
- {
376
- "name": "setInitValue",
377
- "params": [
378
- {
379
- "name": "values",
380
- "type": "Record<string, unknown>"
381
- },
382
- {
383
- "name": "options",
384
- "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
385
- }
386
- ],
387
- "description": "表单设置值方法",
388
- "returns": {}
389
- },
390
- {
391
- "name": "resetFields",
392
- "params": [
393
- {
394
- "name": "name",
395
- "type": "string"
396
- }
397
- ],
398
- "description": "表单重置值方法",
399
- "returns": {}
400
- },
401
- {
402
- "name": "getFieldsValue",
403
- "params": [
404
- {
405
- "name": "name",
406
- "type": "string"
407
- }
408
- ],
409
- "description": "获取表单值方法",
410
- "returns": {}
411
- },
412
- {
413
- "name": "validateField",
414
- "params": [
415
- {
416
- "name": "name",
417
- "type": "string"
418
- }
419
- ],
420
- "description": "校验表单字段方法",
421
- "returns": {}
422
- },
423
- {
424
- "name": "resetValidateState",
425
- "params": [],
426
- "description": "重置表单校验状态方法",
427
- "returns": {}
428
- }
429
- ],
283
+ "slots": [],
284
+ "methods": [],
430
285
  "parts": [],
431
- "description": "表单构件",
286
+ "description": "通用单选构件",
432
287
  "category": "form-input-basic"
433
288
  },
434
289
  {
435
- "name": "eo-form-item",
290
+ "name": "eo-textarea",
436
291
  "alias": [
437
- "form.general-form-item"
292
+ "form.general-textarea"
438
293
  ],
439
294
  "properties": [
440
- {
441
- "name": "formElement",
442
- "attribute": false,
443
- "type": "Form"
444
- },
445
- {
446
- "name": "curElement",
447
- "attribute": false,
448
- "type": "HTMLElement"
449
- },
450
295
  {
451
296
  "name": "name",
452
297
  "description": "字段名称",
@@ -454,119 +299,39 @@
454
299
  },
455
300
  {
456
301
  "name": "label",
302
+ "description": "标签文字",
457
303
  "type": "string"
458
304
  },
459
- {
460
- "name": "pattern",
461
- "type": "string"
462
- },
463
- {
464
- "name": "message",
465
- "attribute": false,
466
- "type": "Record<string, string>"
467
- },
468
- {
469
- "name": "type",
470
- "type": "string"
471
- },
472
- {
473
- "name": "max",
474
- "type": "number"
475
- },
476
- {
477
- "name": "min",
478
- "type": "number"
479
- },
480
- {
481
- "name": "required",
482
- "description": "表单项是否为必填",
483
- "type": "boolean"
484
- },
485
305
  {
486
306
  "name": "value",
487
- "description": "初始值",
488
- "type": "string"
489
- },
490
- {
491
- "name": "valuePropsName",
307
+ "description": "",
492
308
  "type": "string"
493
309
  },
494
310
  {
495
- "name": "layout",
496
- "type": "Layout"
497
- },
498
- {
499
- "name": "size",
500
- "type": "ComponentSize"
501
- },
502
- {
503
- "name": "trim",
504
- "description": "是否自动去除前后的空白字符",
505
- "default": "true"
506
- },
507
- {
508
- "name": "trigger",
509
- "description": "事件触发方法名",
311
+ "name": "placeholder",
312
+ "description": "占位说明",
510
313
  "type": "string"
511
314
  },
512
315
  {
513
- "name": "validator",
514
- "description": "表单项校验方法",
515
- "attribute": false,
516
- "type": "((value: any) => MessageBody)"
517
- },
518
- {
519
- "name": "needValidate",
520
- "description": "值变化时是否主动出发校验",
316
+ "name": "disabled",
317
+ "description": "是否禁用",
521
318
  "type": "boolean"
522
319
  },
523
320
  {
524
- "name": "textContent",
525
- "type": "string",
526
- "description": "文本内容"
527
- }
528
- ],
529
- "events": [],
530
- "slots": [
531
- {
532
- "name": null,
533
- "description": "表单项内容"
534
- }
535
- ],
536
- "methods": [],
537
- "parts": [],
538
- "description": "通用输入框构件",
539
- "category": "form-input-basic",
540
- "insider": true
541
- },
542
- {
543
- "name": "eo-radio",
544
- "alias": [
545
- "form.general-radio"
546
- ],
547
- "properties": [
548
- {
549
- "name": "name",
550
- "description": "下拉框字段名",
551
- "type": "string"
552
- },
553
- {
554
- "name": "label",
555
- "description": "单选框字段说明",
556
- "type": "string"
321
+ "name": "minLength",
322
+ "description": "最小长度",
323
+ "type": "number"
557
324
  },
558
325
  {
559
- "name": "options",
560
- "description": "单选框选项表",
561
- "required": true,
562
- "attribute": false,
563
- "type": "GeneralOption[]"
326
+ "name": "maxLength",
327
+ "description": "最大长度",
328
+ "type": "number"
564
329
  },
565
330
  {
566
- "name": "value",
567
- "description": "单选框当前选中始值",
331
+ "name": "autoSize",
332
+ "description": "大小自适应",
568
333
  "attribute": false,
569
- "type": "any"
334
+ "type": "AutoSize"
570
335
  },
571
336
  {
572
337
  "name": "required",
@@ -574,67 +339,49 @@
574
339
  "type": "boolean"
575
340
  },
576
341
  {
577
- "name": "message",
578
- "description": "校验文本信息",
579
- "attribute": false,
580
- "type": "Record<string, string>"
581
- },
582
- {
583
- "name": "disabled",
584
- "description": "是否禁用",
585
- "type": "boolean"
586
- },
587
- {
588
- "name": "type",
589
- "description": "单选框样式类型",
590
- "default": "\"default\"",
591
- "type": "RadioType"
592
- },
593
- {
594
- "name": "ui",
595
- "description": "UI样式",
596
- "default": "\"default\"",
597
- "type": "UIType"
342
+ "name": "max",
343
+ "description": "表单校验最大长度",
344
+ "type": "number"
598
345
  },
599
346
  {
600
- "name": "size",
601
- "description": "大小,只对按钮样式生效",
602
- "default": "\"medium\"",
603
- "type": "ComponentSize"
347
+ "name": "min",
348
+ "description": "表单校验最小长度",
349
+ "type": "number"
604
350
  },
605
351
  {
606
- "name": "customStyle",
607
- "description": "自定义radio的外层样式",
352
+ "name": "message",
353
+ "description": "校验信息",
608
354
  "attribute": false,
609
- "type": "React.CSSProperties"
355
+ "type": "Record<string, string>"
610
356
  },
611
357
  {
612
- "name": "useBrick",
613
- "description": "自定义radio的内容",
358
+ "name": "textareaStyle",
359
+ "description": "自定义样式",
614
360
  "attribute": false,
615
- "type": "UseSingleBrickConf"
361
+ "type": "React.CSSProperties"
616
362
  }
617
363
  ],
618
364
  "events": [
619
365
  {
620
366
  "name": "change",
621
- "description": "值变化事件",
622
- "detail": {
623
- "type": "GeneralComplexOption | undefined"
624
- }
625
- },
626
- {
627
- "name": "options.change",
628
- "description": "选项列表变化事件",
367
+ "description": "",
629
368
  "detail": {
630
- "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
369
+ "description": null,
370
+ "type": "string"
631
371
  }
632
372
  }
633
373
  ],
634
374
  "slots": [],
635
- "methods": [],
375
+ "methods": [
376
+ {
377
+ "name": "focusTextarea",
378
+ "params": [],
379
+ "description": "focus",
380
+ "returns": {}
381
+ }
382
+ ],
636
383
  "parts": [],
637
- "description": "通用单选构件",
384
+ "description": "通用多行文本输入框构件",
638
385
  "category": "form-input-basic"
639
386
  },
640
387
  {
@@ -742,6 +489,11 @@
742
489
  "description": "输入框样式",
743
490
  "attribute": false,
744
491
  "type": "React.CSSProperties"
492
+ },
493
+ {
494
+ "name": "dropdownHoist",
495
+ "description": "下拉框是否使用固定定位防止内容被裁切",
496
+ "type": "boolean"
745
497
  }
746
498
  ],
747
499
  "events": [
@@ -840,6 +592,151 @@
840
592
  "description": "表单提交按钮",
841
593
  "category": "form-input-basic"
842
594
  },
595
+ {
596
+ "name": "eo-form",
597
+ "alias": [
598
+ "form.general-form"
599
+ ],
600
+ "properties": [
601
+ {
602
+ "name": "staticValues",
603
+ "attribute": false,
604
+ "type": "Record<string, unknown>"
605
+ },
606
+ {
607
+ "name": "layout",
608
+ "description": "布局方式(默认 vertical 布局)",
609
+ "default": "vertical",
610
+ "type": "Layout"
611
+ },
612
+ {
613
+ "name": "size",
614
+ "description": "表单组件尺寸",
615
+ "type": "ComponentSize"
616
+ },
617
+ {
618
+ "name": "labelCol",
619
+ "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
620
+ "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 }",
621
+ "attribute": false,
622
+ "type": "ColProps"
623
+ },
624
+ {
625
+ "name": "wrapperCol",
626
+ "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
627
+ "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 }",
628
+ "attribute": false,
629
+ "type": "ColProps"
630
+ },
631
+ {
632
+ "name": "formStyle",
633
+ "attribute": false,
634
+ "type": "React.CSSProperties"
635
+ },
636
+ {
637
+ "name": "textContent",
638
+ "type": "string",
639
+ "description": "文本内容"
640
+ }
641
+ ],
642
+ "events": [
643
+ {
644
+ "name": "values.change",
645
+ "description": "表单值变更事件",
646
+ "detail": {
647
+ "description": null,
648
+ "type": "Record<string, unknown>"
649
+ }
650
+ },
651
+ {
652
+ "name": "validate.success",
653
+ "description": "表单验证成功时触发事件",
654
+ "detail": {
655
+ "type": "Record<string, unknown>"
656
+ }
657
+ },
658
+ {
659
+ "name": "validate.error",
660
+ "description": "表单验证报错时触发事件",
661
+ "detail": {
662
+ "type": "(MessageBody & { name: string })[]"
663
+ }
664
+ }
665
+ ],
666
+ "slots": [
667
+ {
668
+ "name": null,
669
+ "description": "表单内容"
670
+ }
671
+ ],
672
+ "methods": [
673
+ {
674
+ "name": "validate",
675
+ "params": [],
676
+ "description": "表单校验方法",
677
+ "returns": {
678
+ "type": "boolean | Record<string, unknown>"
679
+ }
680
+ },
681
+ {
682
+ "name": "setInitValue",
683
+ "params": [
684
+ {
685
+ "name": "values",
686
+ "type": "Record<string, unknown>"
687
+ },
688
+ {
689
+ "name": "options",
690
+ "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
691
+ }
692
+ ],
693
+ "description": "表单设置值方法",
694
+ "returns": {}
695
+ },
696
+ {
697
+ "name": "resetFields",
698
+ "params": [
699
+ {
700
+ "name": "name",
701
+ "type": "string"
702
+ }
703
+ ],
704
+ "description": "表单重置值方法",
705
+ "returns": {}
706
+ },
707
+ {
708
+ "name": "getFieldsValue",
709
+ "params": [
710
+ {
711
+ "name": "name",
712
+ "type": "string"
713
+ }
714
+ ],
715
+ "description": "获取表单值方法",
716
+ "returns": {}
717
+ },
718
+ {
719
+ "name": "validateField",
720
+ "params": [
721
+ {
722
+ "name": "name",
723
+ "type": "string"
724
+ }
725
+ ],
726
+ "description": "校验表单字段方法",
727
+ "returns": {}
728
+ },
729
+ {
730
+ "name": "resetValidateState",
731
+ "params": [],
732
+ "description": "重置表单校验状态方法",
733
+ "returns": {}
734
+ }
735
+ ],
736
+ "parts": [],
737
+ "description": "表单构件",
738
+ "category": "form-input-basic"
739
+ },
843
740
  {
844
741
  "name": "eo-checkbox",
845
742
  "alias": [
@@ -1145,6 +1042,114 @@
1145
1042
  "description": "图标选择构件",
1146
1043
  "category": "form-input-basic"
1147
1044
  },
1045
+ {
1046
+ "name": "eo-form-item",
1047
+ "alias": [
1048
+ "form.general-form-item"
1049
+ ],
1050
+ "properties": [
1051
+ {
1052
+ "name": "formElement",
1053
+ "attribute": false,
1054
+ "type": "Form"
1055
+ },
1056
+ {
1057
+ "name": "curElement",
1058
+ "attribute": false,
1059
+ "type": "HTMLElement"
1060
+ },
1061
+ {
1062
+ "name": "name",
1063
+ "description": "字段名称",
1064
+ "type": "string"
1065
+ },
1066
+ {
1067
+ "name": "label",
1068
+ "type": "string"
1069
+ },
1070
+ {
1071
+ "name": "pattern",
1072
+ "type": "string"
1073
+ },
1074
+ {
1075
+ "name": "message",
1076
+ "attribute": false,
1077
+ "type": "Record<string, string>"
1078
+ },
1079
+ {
1080
+ "name": "type",
1081
+ "type": "string"
1082
+ },
1083
+ {
1084
+ "name": "max",
1085
+ "type": "number"
1086
+ },
1087
+ {
1088
+ "name": "min",
1089
+ "type": "number"
1090
+ },
1091
+ {
1092
+ "name": "required",
1093
+ "description": "表单项是否为必填",
1094
+ "type": "boolean"
1095
+ },
1096
+ {
1097
+ "name": "value",
1098
+ "description": "初始值",
1099
+ "type": "string"
1100
+ },
1101
+ {
1102
+ "name": "valuePropsName",
1103
+ "type": "string"
1104
+ },
1105
+ {
1106
+ "name": "layout",
1107
+ "type": "Layout"
1108
+ },
1109
+ {
1110
+ "name": "size",
1111
+ "type": "ComponentSize"
1112
+ },
1113
+ {
1114
+ "name": "trim",
1115
+ "description": "是否自动去除前后的空白字符",
1116
+ "default": "true"
1117
+ },
1118
+ {
1119
+ "name": "trigger",
1120
+ "description": "事件触发方法名",
1121
+ "type": "string"
1122
+ },
1123
+ {
1124
+ "name": "validator",
1125
+ "description": "表单项校验方法",
1126
+ "attribute": false,
1127
+ "type": "((value: any) => MessageBody)"
1128
+ },
1129
+ {
1130
+ "name": "needValidate",
1131
+ "description": "值变化时是否主动出发校验",
1132
+ "type": "boolean"
1133
+ },
1134
+ {
1135
+ "name": "textContent",
1136
+ "type": "string",
1137
+ "description": "文本内容"
1138
+ }
1139
+ ],
1140
+ "events": [],
1141
+ "slots": [
1142
+ {
1143
+ "name": null,
1144
+ "description": "表单项内容"
1145
+ }
1146
+ ],
1147
+ "methods": [],
1148
+ "parts": [],
1149
+ "description": "通用输入框构件",
1150
+ "category": "form-input-basic",
1151
+ "insider": true
1152
+ },
1148
1153
  {
1149
1154
  "name": "eo-upload-image",
1150
1155
  "alias": [