@next-bricks/form 1.11.4 → 1.11.6

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 (94) hide show
  1. package/dist/bricks.json +25 -25
  2. package/dist/chunks/1122.1464b5f7.js +2 -0
  3. package/dist/chunks/1122.1464b5f7.js.map +1 -0
  4. package/dist/chunks/{3171.34a4166c.js → 3171.57eba8a6.js} +2 -2
  5. package/dist/chunks/{5552.492d0692.js.map → 3171.57eba8a6.js.map} +1 -1
  6. package/dist/chunks/3657.f439e405.js +3 -0
  7. package/dist/chunks/3657.f439e405.js.map +1 -0
  8. package/dist/chunks/3933.a3953ab3.js +2 -0
  9. package/dist/chunks/3933.a3953ab3.js.map +1 -0
  10. package/dist/chunks/{4837.1a9fc4b6.js → 4837.a8b54a2d.js} +2 -2
  11. package/dist/chunks/{7218.3bd68abf.js.map → 4837.a8b54a2d.js.map} +1 -1
  12. package/dist/chunks/{5399.335a0d52.js → 5399.1b14f06d.js} +2 -2
  13. package/dist/chunks/5399.1b14f06d.js.map +1 -0
  14. package/dist/chunks/{5552.492d0692.js → 5552.79cca654.js} +2 -2
  15. package/dist/chunks/{3171.34a4166c.js.map → 5552.79cca654.js.map} +1 -1
  16. package/dist/chunks/6314.f0ffe1ca.js +2 -0
  17. package/dist/chunks/6314.f0ffe1ca.js.map +1 -0
  18. package/dist/chunks/{7218.3bd68abf.js → 7218.46bcfe40.js} +2 -2
  19. package/dist/chunks/{4837.1a9fc4b6.js.map → 7218.46bcfe40.js.map} +1 -1
  20. package/dist/chunks/{790.a0f9407d.js → 790.5dd7da33.js} +2 -2
  21. package/dist/chunks/{790.a0f9407d.js.map → 790.5dd7da33.js.map} +1 -1
  22. package/dist/chunks/9259.b321687f.js +3 -0
  23. package/dist/chunks/9259.b321687f.js.map +1 -0
  24. package/dist/chunks/{eo-auto-complete.98162a44.js → eo-auto-complete.9b255dde.js} +3 -3
  25. package/dist/chunks/{eo-auto-complete.98162a44.js.map → eo-auto-complete.9b255dde.js.map} +1 -1
  26. package/dist/chunks/{eo-checkbox.baa2872d.js → eo-checkbox.64e5ccfd.js} +2 -2
  27. package/dist/chunks/{eo-checkbox.baa2872d.js.map → eo-checkbox.64e5ccfd.js.map} +1 -1
  28. package/dist/chunks/{eo-color-picker.cf583429.js → eo-color-picker.1bd062df.js} +2 -2
  29. package/dist/chunks/{eo-color-picker.cf583429.js.map → eo-color-picker.1bd062df.js.map} +1 -1
  30. package/dist/chunks/{eo-date-picker.37da5deb.js → eo-date-picker.915eb53e.js} +2 -2
  31. package/dist/chunks/{eo-date-picker.37da5deb.js.map → eo-date-picker.915eb53e.js.map} +1 -1
  32. package/dist/chunks/{eo-dynamic-form-item.b993cc1a.js → eo-dynamic-form-item.a6b51e7a.js} +3 -3
  33. package/dist/chunks/{eo-dynamic-form-item.b993cc1a.js.map → eo-dynamic-form-item.a6b51e7a.js.map} +1 -1
  34. package/dist/chunks/{eo-form-item.d0c9470e.js → eo-form-item.1c6e6d9f.js} +3 -3
  35. package/dist/chunks/{eo-form-item.d0c9470e.js.map → eo-form-item.1c6e6d9f.js.map} +1 -1
  36. package/dist/chunks/{eo-icon-select.ea153600.js → eo-icon-select.ac8d0745.js} +3 -3
  37. package/dist/chunks/{eo-icon-select.ea153600.js.map → eo-icon-select.ac8d0745.js.map} +1 -1
  38. package/dist/chunks/{eo-input.873ad2fa.js → eo-input.a24c0548.js} +3 -3
  39. package/dist/chunks/{eo-input.873ad2fa.js.map → eo-input.a24c0548.js.map} +1 -1
  40. package/dist/chunks/{eo-radio.69db2632.js → eo-radio.5970b821.js} +3 -3
  41. package/dist/chunks/{eo-radio.69db2632.js.map → eo-radio.5970b821.js.map} +1 -1
  42. package/dist/chunks/{eo-search.c7c9f55d.js → eo-search.7e169a56.js} +2 -2
  43. package/dist/chunks/{eo-search.c7c9f55d.js.map → eo-search.7e169a56.js.map} +1 -1
  44. package/dist/chunks/{eo-select.05c3b647.js → eo-select.3f8e179b.js} +3 -3
  45. package/dist/chunks/{eo-select.05c3b647.js.map → eo-select.3f8e179b.js.map} +1 -1
  46. package/dist/chunks/{eo-switch.09c86599.js → eo-switch.77cfcfc7.js} +3 -3
  47. package/dist/chunks/{eo-switch.09c86599.js.map → eo-switch.77cfcfc7.js.map} +1 -1
  48. package/dist/chunks/eo-textarea.9a23a87a.js +3 -0
  49. package/dist/chunks/eo-textarea.9a23a87a.js.map +1 -0
  50. package/dist/chunks/{eo-time-picker.9de9bf2a.js → eo-time-picker.218fd907.js} +2 -2
  51. package/dist/chunks/{eo-time-picker.9de9bf2a.js.map → eo-time-picker.218fd907.js.map} +1 -1
  52. package/dist/chunks/{eo-time-range-picker.c8556a78.js → eo-time-range-picker.64eda434.js} +2 -2
  53. package/dist/chunks/{eo-time-range-picker.c8556a78.js.map → eo-time-range-picker.64eda434.js.map} +1 -1
  54. package/dist/chunks/{eo-upload-file.a9335d33.js → eo-upload-file.a7e77771.js} +3 -3
  55. package/dist/chunks/{eo-upload-file.a9335d33.js.map → eo-upload-file.a7e77771.js.map} +1 -1
  56. package/dist/chunks/{eo-upload-image.8c3c1a13.js → eo-upload-image.9df351be.js} +3 -3
  57. package/dist/chunks/{eo-upload-image.8c3c1a13.js.map → eo-upload-image.9df351be.js.map} +1 -1
  58. package/dist/chunks/{main.54e1767d.js → main.756193bc.js} +2 -2
  59. package/dist/chunks/{main.54e1767d.js.map → main.756193bc.js.map} +1 -1
  60. package/dist/examples.json +9 -9
  61. package/dist/index.c978f45c.js +2 -0
  62. package/dist/index.c978f45c.js.map +1 -0
  63. package/dist/manifest.json +358 -358
  64. package/dist/types.json +1211 -1209
  65. package/dist-types/textarea/index.d.ts +2 -2
  66. package/package.json +3 -3
  67. package/dist/chunks/1122.11480bc6.js +0 -2
  68. package/dist/chunks/1122.11480bc6.js.map +0 -1
  69. package/dist/chunks/3533.531100f1.js +0 -3
  70. package/dist/chunks/3533.531100f1.js.map +0 -1
  71. package/dist/chunks/3933.8a1916e7.js +0 -2
  72. package/dist/chunks/3933.8a1916e7.js.map +0 -1
  73. package/dist/chunks/5399.335a0d52.js.map +0 -1
  74. package/dist/chunks/6314.72503073.js +0 -2
  75. package/dist/chunks/6314.72503073.js.map +0 -1
  76. package/dist/chunks/9259.8dda13c5.js +0 -3
  77. package/dist/chunks/9259.8dda13c5.js.map +0 -1
  78. package/dist/chunks/eo-textarea.1257aec8.js +0 -3
  79. package/dist/chunks/eo-textarea.1257aec8.js.map +0 -1
  80. package/dist/index.562c0da8.js +0 -2
  81. package/dist/index.562c0da8.js.map +0 -1
  82. /package/dist/chunks/{3533.531100f1.js.LICENSE.txt → 3657.f439e405.js.LICENSE.txt} +0 -0
  83. /package/dist/chunks/{9259.8dda13c5.js.LICENSE.txt → 9259.b321687f.js.LICENSE.txt} +0 -0
  84. /package/dist/chunks/{eo-auto-complete.98162a44.js.LICENSE.txt → eo-auto-complete.9b255dde.js.LICENSE.txt} +0 -0
  85. /package/dist/chunks/{eo-dynamic-form-item.b993cc1a.js.LICENSE.txt → eo-dynamic-form-item.a6b51e7a.js.LICENSE.txt} +0 -0
  86. /package/dist/chunks/{eo-form-item.d0c9470e.js.LICENSE.txt → eo-form-item.1c6e6d9f.js.LICENSE.txt} +0 -0
  87. /package/dist/chunks/{eo-icon-select.ea153600.js.LICENSE.txt → eo-icon-select.ac8d0745.js.LICENSE.txt} +0 -0
  88. /package/dist/chunks/{eo-input.873ad2fa.js.LICENSE.txt → eo-input.a24c0548.js.LICENSE.txt} +0 -0
  89. /package/dist/chunks/{eo-radio.69db2632.js.LICENSE.txt → eo-radio.5970b821.js.LICENSE.txt} +0 -0
  90. /package/dist/chunks/{eo-select.05c3b647.js.LICENSE.txt → eo-select.3f8e179b.js.LICENSE.txt} +0 -0
  91. /package/dist/chunks/{eo-switch.09c86599.js.LICENSE.txt → eo-switch.77cfcfc7.js.LICENSE.txt} +0 -0
  92. /package/dist/chunks/{eo-textarea.1257aec8.js.LICENSE.txt → eo-textarea.9a23a87a.js.LICENSE.txt} +0 -0
  93. /package/dist/chunks/{eo-upload-file.a9335d33.js.LICENSE.txt → eo-upload-file.a7e77771.js.LICENSE.txt} +0 -0
  94. /package/dist/chunks/{eo-upload-image.8c3c1a13.js.LICENSE.txt → eo-upload-image.9df351be.js.LICENSE.txt} +0 -0
@@ -188,6 +188,232 @@
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 & { name: string })[]"
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
+ },
191
417
  {
192
418
  "name": "eo-form-item",
193
419
  "alias": [
@@ -385,97 +611,6 @@
385
611
  "description": "通用单选构件",
386
612
  "category": "form-input-basic"
387
613
  },
388
- {
389
- "name": "eo-textarea",
390
- "alias": [
391
- "form.general-textarea"
392
- ],
393
- "properties": [
394
- {
395
- "name": "name",
396
- "description": "字段名称",
397
- "type": "string"
398
- },
399
- {
400
- "name": "label",
401
- "description": "标签文字",
402
- "type": "string"
403
- },
404
- {
405
- "name": "value",
406
- "description": "值",
407
- "type": "string"
408
- },
409
- {
410
- "name": "placeholder",
411
- "description": "占位说明",
412
- "type": "string"
413
- },
414
- {
415
- "name": "disabled",
416
- "description": "是否禁用",
417
- "type": "boolean"
418
- },
419
- {
420
- "name": "minLength",
421
- "description": "最小长度",
422
- "type": "number"
423
- },
424
- {
425
- "name": "maxLength",
426
- "description": "最大长度",
427
- "type": "number"
428
- },
429
- {
430
- "name": "autoSize",
431
- "description": "大小自适应",
432
- "attribute": false,
433
- "type": "AutoSize"
434
- },
435
- {
436
- "name": "required",
437
- "description": "是否必填",
438
- "type": "boolean"
439
- },
440
- {
441
- "name": "max",
442
- "description": "表单校验最大长度",
443
- "type": "number"
444
- },
445
- {
446
- "name": "min",
447
- "description": "表单校验最小长度",
448
- "type": "number"
449
- },
450
- {
451
- "name": "message",
452
- "description": "校验信息",
453
- "attribute": false,
454
- "type": "Record<string, string>"
455
- },
456
- {
457
- "name": "textareaStyle",
458
- "description": "自定义样式",
459
- "attribute": false,
460
- "type": "React.CSSProperties"
461
- }
462
- ],
463
- "events": [
464
- {
465
- "name": "change",
466
- "description": "",
467
- "detail": {
468
- "description": null,
469
- "type": "string"
470
- }
471
- }
472
- ],
473
- "slots": [],
474
- "methods": [],
475
- "parts": [],
476
- "description": "通用多行文本输入框构件",
477
- "category": "form-input-basic"
478
- },
479
614
  {
480
615
  "name": "eo-select",
481
616
  "alias": [
@@ -565,192 +700,57 @@
565
700
  "attribute": false,
566
701
  "type": "{ label?: string; value?: string }"
567
702
  },
568
- {
569
- "name": "useBackend",
570
- "description": "后端搜索",
571
- "attribute": false,
572
- "type": "UseBackendConf"
573
- },
574
- {
575
- "name": "debounceSearchDelay",
576
- "type": "number"
577
- },
578
- {
579
- "name": "inputStyle",
580
- "description": "输入框样式",
581
- "attribute": false,
582
- "type": "React.CSSProperties"
583
- }
584
- ],
585
- "events": [
586
- {
587
- "name": "change",
588
- "description": "下拉选择事件",
589
- "detail": {
590
- "type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
591
- }
592
- },
593
- {
594
- "name": "search",
595
- "description": "下拉框search事件",
596
- "detail": {
597
- "type": "{\n value: string;\n }"
598
- }
599
- },
600
- {
601
- "name": "focus",
602
- "description": "下拉框focus事件",
603
- "detail": {
604
- "type": "void"
605
- }
606
- },
607
- {
608
- "name": "options.change",
609
- "description": "选项列表变化事件",
610
- "detail": {
611
- "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
612
- }
613
- }
614
- ],
615
- "slots": [],
616
- "methods": [],
617
- "parts": [],
618
- "description": "通用下拉选择构件",
619
- "category": "form-input-basic"
620
- },
621
- {
622
- "name": "eo-form",
623
- "alias": [
624
- "form.general-form"
625
- ],
626
- "properties": [
627
- {
628
- "name": "layout",
629
- "description": "布局方式(默认 vertical 布局)",
630
- "default": "vertical",
631
- "type": "Layout"
632
- },
633
- {
634
- "name": "size",
635
- "description": "表单组件尺寸",
636
- "type": "ComponentSize"
637
- },
638
- {
639
- "name": "labelCol",
640
- "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
641
- "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 }",
642
- "attribute": false,
643
- "type": "ColProps"
644
- },
645
- {
646
- "name": "wrapperCol",
647
- "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
648
- "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 }",
649
- "attribute": false,
650
- "type": "ColProps"
651
- },
652
- {
653
- "name": "formStyle",
654
- "attribute": false,
655
- "type": "React.CSSProperties"
656
- }
657
- ],
658
- "events": [
659
- {
660
- "name": "values.change",
661
- "description": "表单值变更事件",
662
- "detail": {
663
- "description": null,
664
- "type": "Record<string, unknown>"
665
- }
666
- },
667
- {
668
- "name": "validate.success",
669
- "description": "表单验证成功时触发事件",
670
- "detail": {
671
- "type": "Record<string, unknown>"
672
- }
673
- },
674
- {
675
- "name": "validate.error",
676
- "description": "表单验证报错时触发事件",
677
- "detail": {
678
- "type": "(MessageBody & { name: string })[]"
679
- }
680
- }
681
- ],
682
- "slots": [
683
- {
684
- "name": null,
685
- "description": "表单内容"
686
- }
687
- ],
688
- "methods": [
689
- {
690
- "name": "validate",
691
- "params": [],
692
- "description": "表单校验方法",
693
- "returns": {
694
- "type": "boolean | Record<string, unknown>"
695
- }
696
- },
697
- {
698
- "name": "setInitValue",
699
- "params": [
700
- {
701
- "name": "values",
702
- "type": "Record<string, unknown>"
703
- },
704
- {
705
- "name": "options",
706
- "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
707
- }
708
- ],
709
- "description": "表单设置值方法",
710
- "returns": {}
703
+ {
704
+ "name": "useBackend",
705
+ "description": "后端搜索",
706
+ "attribute": false,
707
+ "type": "UseBackendConf"
711
708
  },
712
709
  {
713
- "name": "resetFields",
714
- "params": [
715
- {
716
- "name": "name",
717
- "type": "string"
718
- }
719
- ],
720
- "description": "表单重置值方法",
721
- "returns": {}
710
+ "name": "debounceSearchDelay",
711
+ "type": "number"
722
712
  },
723
713
  {
724
- "name": "getFieldsValue",
725
- "params": [
726
- {
727
- "name": "name",
728
- "type": "string"
729
- }
730
- ],
731
- "description": "获取表单值方法",
732
- "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
+ }
733
727
  },
734
728
  {
735
- "name": "validateField",
736
- "params": [
737
- {
738
- "name": "name",
739
- "type": "string"
740
- }
741
- ],
742
- "description": "校验表单字段方法",
743
- "returns": {}
729
+ "name": "search",
730
+ "description": "下拉框search事件",
731
+ "detail": {
732
+ "type": "{\n value: string;\n }"
733
+ }
744
734
  },
745
735
  {
746
- "name": "resetValidateState",
747
- "params": [],
748
- "description": "重置表单校验状态方法",
749
- "returns": {}
736
+ "name": "focus",
737
+ "description": "下拉框focus事件",
738
+ "detail": {
739
+ "type": "void"
740
+ }
741
+ },
742
+ {
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
+ }
750
748
  }
751
749
  ],
750
+ "slots": [],
751
+ "methods": [],
752
752
  "parts": [],
753
- "description": "表单构件",
753
+ "description": "通用下拉选择构件",
754
754
  "category": "form-input-basic"
755
755
  },
756
756
  {
@@ -905,6 +905,98 @@
905
905
  "description": "表单复选框构件",
906
906
  "category": "form-input-basic"
907
907
  },
908
+ {
909
+ "name": "eo-dynamic-form-item",
910
+ "alias": [
911
+ "form.dynamic-form-item"
912
+ ],
913
+ "properties": [
914
+ {
915
+ "name": "name",
916
+ "description": "字段名称",
917
+ "type": "string"
918
+ },
919
+ {
920
+ "name": "label",
921
+ "description": "字段说明",
922
+ "type": "string"
923
+ },
924
+ {
925
+ "name": "required",
926
+ "description": "是否必填",
927
+ "type": "boolean"
928
+ },
929
+ {
930
+ "name": "value",
931
+ "description": "值",
932
+ "attribute": false,
933
+ "type": "DynamicFormValuesItem[]"
934
+ },
935
+ {
936
+ "name": "message",
937
+ "description": "校验文本",
938
+ "attribute": false,
939
+ "type": "Record<string, string>"
940
+ },
941
+ {
942
+ "name": "hideRemoveButton",
943
+ "description": "是否隐藏每一行删除的按钮",
944
+ "attribute": false,
945
+ "type": "boolean | ((row: Record<string, any>, index: number) => boolean)"
946
+ },
947
+ {
948
+ "name": "disabledRemoveButton",
949
+ "description": "是否禁止每一行删除的按钮",
950
+ "attribute": false,
951
+ "type": "boolean | ((row: Record<string, any>, index: number) => boolean)"
952
+ },
953
+ {
954
+ "name": "hideAddButton",
955
+ "description": "是否隐藏添加的按钮",
956
+ "attribute": false,
957
+ "type": "boolean | ((value: Record<string, any>[]) => boolean)"
958
+ },
959
+ {
960
+ "name": "disabledAddButton",
961
+ "description": "是否禁止添加的按钮",
962
+ "attribute": false,
963
+ "type": "boolean | ((value: Record<string, any>[]) => boolean)"
964
+ },
965
+ {
966
+ "name": "useBrick",
967
+ "description": "动态表单子项构件列表",
968
+ "attribute": false,
969
+ "type": "UseBrickConf"
970
+ }
971
+ ],
972
+ "events": [
973
+ {
974
+ "name": "change",
975
+ "detail": {
976
+ "type": "DynamicFormValuesItem[]"
977
+ }
978
+ },
979
+ {
980
+ "name": "row.add",
981
+ "description": "增加一行时触发,detail为该行的默认值,index为该行的位置",
982
+ "detail": {
983
+ "type": "rowDataType"
984
+ }
985
+ },
986
+ {
987
+ "name": "row.remove",
988
+ "description": "移除一行时触发,detail为该行的值,index为该行的位置",
989
+ "detail": {
990
+ "type": "rowDataType"
991
+ }
992
+ }
993
+ ],
994
+ "slots": [],
995
+ "methods": [],
996
+ "parts": [],
997
+ "description": "动态表单",
998
+ "category": "form-input-basic"
999
+ },
908
1000
  {
909
1001
  "name": "eo-search",
910
1002
  "alias": [
@@ -1020,98 +1112,6 @@
1020
1112
  "description": "图标选择构件",
1021
1113
  "category": "form-input-basic"
1022
1114
  },
1023
- {
1024
- "name": "eo-dynamic-form-item",
1025
- "alias": [
1026
- "form.dynamic-form-item"
1027
- ],
1028
- "properties": [
1029
- {
1030
- "name": "name",
1031
- "description": "字段名称",
1032
- "type": "string"
1033
- },
1034
- {
1035
- "name": "label",
1036
- "description": "字段说明",
1037
- "type": "string"
1038
- },
1039
- {
1040
- "name": "required",
1041
- "description": "是否必填",
1042
- "type": "boolean"
1043
- },
1044
- {
1045
- "name": "value",
1046
- "description": "值",
1047
- "attribute": false,
1048
- "type": "DynamicFormValuesItem[]"
1049
- },
1050
- {
1051
- "name": "message",
1052
- "description": "校验文本",
1053
- "attribute": false,
1054
- "type": "Record<string, string>"
1055
- },
1056
- {
1057
- "name": "hideRemoveButton",
1058
- "description": "是否隐藏每一行删除的按钮",
1059
- "attribute": false,
1060
- "type": "boolean | ((row: Record<string, any>, index: number) => boolean)"
1061
- },
1062
- {
1063
- "name": "disabledRemoveButton",
1064
- "description": "是否禁止每一行删除的按钮",
1065
- "attribute": false,
1066
- "type": "boolean | ((row: Record<string, any>, index: number) => boolean)"
1067
- },
1068
- {
1069
- "name": "hideAddButton",
1070
- "description": "是否隐藏添加的按钮",
1071
- "attribute": false,
1072
- "type": "boolean | ((value: Record<string, any>[]) => boolean)"
1073
- },
1074
- {
1075
- "name": "disabledAddButton",
1076
- "description": "是否禁止添加的按钮",
1077
- "attribute": false,
1078
- "type": "boolean | ((value: Record<string, any>[]) => boolean)"
1079
- },
1080
- {
1081
- "name": "useBrick",
1082
- "description": "动态表单子项构件列表",
1083
- "attribute": false,
1084
- "type": "UseBrickConf"
1085
- }
1086
- ],
1087
- "events": [
1088
- {
1089
- "name": "change",
1090
- "detail": {
1091
- "type": "DynamicFormValuesItem[]"
1092
- }
1093
- },
1094
- {
1095
- "name": "row.add",
1096
- "description": "增加一行时触发,detail为该行的默认值,index为该行的位置",
1097
- "detail": {
1098
- "type": "rowDataType"
1099
- }
1100
- },
1101
- {
1102
- "name": "row.remove",
1103
- "description": "移除一行时触发,detail为该行的值,index为该行的位置",
1104
- "detail": {
1105
- "type": "rowDataType"
1106
- }
1107
- }
1108
- ],
1109
- "slots": [],
1110
- "methods": [],
1111
- "parts": [],
1112
- "description": "动态表单",
1113
- "category": "form-input-basic"
1114
- },
1115
1115
  {
1116
1116
  "name": "eo-upload-image",
1117
1117
  "alias": [