@next-bricks/form 1.13.3 → 1.13.5

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 (122) hide show
  1. package/dist/bricks.json +36 -36
  2. package/dist/chunks/{1122.1464b5f7.js → 1122.eec09eb1.js} +2 -2
  3. package/dist/chunks/{1122.1464b5f7.js.map → 1122.eec09eb1.js.map} +1 -1
  4. package/dist/chunks/{114.35fbcda8.js → 114.37bf18eb.js} +2 -2
  5. package/dist/chunks/{114.35fbcda8.js.map → 114.37bf18eb.js.map} +1 -1
  6. package/dist/chunks/{1269.ed712797.js → 1269.52b4e847.js} +2 -2
  7. package/dist/chunks/{1269.ed712797.js.map → 1269.52b4e847.js.map} +1 -1
  8. package/dist/chunks/{1940.1024d4dd.js → 1940.5d3d1dbf.js} +2 -2
  9. package/dist/chunks/{1940.1024d4dd.js.map → 1940.5d3d1dbf.js.map} +1 -1
  10. package/dist/chunks/{2277.58fd0b5d.js → 2277.c39a213c.js} +2 -2
  11. package/dist/chunks/{4658.56a37060.js.map → 2277.c39a213c.js.map} +1 -1
  12. package/dist/chunks/{3171.899e9e46.js → 3171.bfa526d0.js} +2 -2
  13. package/dist/chunks/{5552.a3aaa0fb.js.map → 3171.bfa526d0.js.map} +1 -1
  14. package/dist/chunks/{3933.a3953ab3.js → 3933.72905659.js} +2 -2
  15. package/dist/chunks/{6314.f0ffe1ca.js.map → 3933.72905659.js.map} +1 -1
  16. package/dist/chunks/{4658.56a37060.js → 4658.a7becf80.js} +2 -2
  17. package/dist/chunks/{2277.58fd0b5d.js.map → 4658.a7becf80.js.map} +1 -1
  18. package/dist/chunks/4837.da0fe122.js +2 -0
  19. package/dist/chunks/{7218.22824b22.js.map → 4837.da0fe122.js.map} +1 -1
  20. package/dist/chunks/{5552.a3aaa0fb.js → 5552.f2e38477.js} +2 -2
  21. package/dist/chunks/{3171.899e9e46.js.map → 5552.f2e38477.js.map} +1 -1
  22. package/dist/chunks/{6314.f0ffe1ca.js → 6314.cd073def.js} +2 -2
  23. package/dist/chunks/{3933.a3953ab3.js.map → 6314.cd073def.js.map} +1 -1
  24. package/dist/chunks/7218.8e41ef02.js +2 -0
  25. package/dist/chunks/{4837.f5538448.js.map → 7218.8e41ef02.js.map} +1 -1
  26. package/dist/chunks/{7733.c06bbbb9.js → 7733.cfda832d.js} +2 -2
  27. package/dist/chunks/{7733.c06bbbb9.js.map → 7733.cfda832d.js.map} +1 -1
  28. package/dist/chunks/{790.28b2b144.js → 790.4d902e94.js} +2 -2
  29. package/dist/chunks/{790.28b2b144.js.map → 790.4d902e94.js.map} +1 -1
  30. package/dist/chunks/799.afdb809c.js +3 -0
  31. package/dist/chunks/799.afdb809c.js.map +1 -0
  32. package/dist/chunks/9259.1eb7a074.js +3 -0
  33. package/dist/chunks/9259.1eb7a074.js.map +1 -0
  34. package/dist/chunks/{9559.adb5e505.js → 9559.5d9e9834.js} +2 -2
  35. package/dist/chunks/{9559.adb5e505.js.map → 9559.5d9e9834.js.map} +1 -1
  36. package/dist/chunks/{eo-auto-complete.9b255dde.js → eo-auto-complete.f65b6cb6.js} +3 -3
  37. package/dist/chunks/{eo-auto-complete.9b255dde.js.map → eo-auto-complete.f65b6cb6.js.map} +1 -1
  38. package/dist/chunks/{eo-checkbox.f6f6da44.js → eo-checkbox.cdcad3e7.js} +3 -3
  39. package/dist/chunks/{eo-checkbox.f6f6da44.js.map → eo-checkbox.cdcad3e7.js.map} +1 -1
  40. package/dist/chunks/eo-color-picker.e5f183c4.js +2 -0
  41. package/dist/chunks/{eo-color-picker.aec3b352.js.map → eo-color-picker.e5f183c4.js.map} +1 -1
  42. package/dist/chunks/eo-date-picker.95d1c925.js +2 -0
  43. package/dist/chunks/{eo-date-picker.a068145a.js.map → eo-date-picker.95d1c925.js.map} +1 -1
  44. package/dist/chunks/eo-dynamic-form-item.e5bb1558.js +3 -0
  45. package/dist/chunks/{eo-dynamic-form-item.87fc1816.js.map → eo-dynamic-form-item.e5bb1558.js.map} +1 -1
  46. package/dist/chunks/eo-form-item.986d5f0f.js +3 -0
  47. package/dist/chunks/eo-form-item.986d5f0f.js.map +1 -0
  48. package/dist/chunks/{eo-form.e2369d33.js → eo-form.0218499b.js} +2 -2
  49. package/dist/chunks/eo-form.0218499b.js.map +1 -0
  50. package/dist/chunks/{eo-icon-select.ac8d0745.js → eo-icon-select.4caa9d3a.js} +3 -3
  51. package/dist/chunks/{eo-icon-select.ac8d0745.js.map → eo-icon-select.4caa9d3a.js.map} +1 -1
  52. package/dist/chunks/eo-input.721b4ee8.js +3 -0
  53. package/dist/chunks/eo-input.721b4ee8.js.map +1 -0
  54. package/dist/chunks/eo-radio.5a6590c0.js +3 -0
  55. package/dist/chunks/eo-radio.5a6590c0.js.map +1 -0
  56. package/dist/chunks/{eo-search.7e169a56.js → eo-search.c98e6353.js} +2 -2
  57. package/dist/chunks/{eo-search.7e169a56.js.map → eo-search.c98e6353.js.map} +1 -1
  58. package/dist/chunks/eo-select.d313c433.js +3 -0
  59. package/dist/chunks/{eo-select.aee01e15.js.map → eo-select.d313c433.js.map} +1 -1
  60. package/dist/chunks/{eo-submit-buttons.37536f54.js → eo-submit-buttons.fec2f3cb.js} +2 -2
  61. package/dist/chunks/{eo-submit-buttons.37536f54.js.map → eo-submit-buttons.fec2f3cb.js.map} +1 -1
  62. package/dist/chunks/{eo-switch.77cfcfc7.js → eo-switch.bcf2da15.js} +3 -3
  63. package/dist/chunks/{eo-switch.77cfcfc7.js.map → eo-switch.bcf2da15.js.map} +1 -1
  64. package/dist/chunks/{eo-textarea.58b1d58e.js → eo-textarea.e5348ca0.js} +2 -2
  65. package/dist/chunks/{eo-textarea.58b1d58e.js.map → eo-textarea.e5348ca0.js.map} +1 -1
  66. package/dist/chunks/eo-time-picker.04ef402f.js +2 -0
  67. package/dist/chunks/{eo-time-picker.47e85deb.js.map → eo-time-picker.04ef402f.js.map} +1 -1
  68. package/dist/chunks/eo-time-range-picker.865254af.js +2 -0
  69. package/dist/chunks/{eo-time-range-picker.c5728b35.js.map → eo-time-range-picker.865254af.js.map} +1 -1
  70. package/dist/chunks/eo-upload-file.e67d3268.js +3 -0
  71. package/dist/chunks/{eo-upload-file.80033217.js.map → eo-upload-file.e67d3268.js.map} +1 -1
  72. package/dist/chunks/eo-upload-image.b866ae24.js +3 -0
  73. package/dist/chunks/{eo-upload-image.f406cc57.js.map → eo-upload-image.b866ae24.js.map} +1 -1
  74. package/dist/chunks/main.a3960ab5.js +2 -0
  75. package/dist/chunks/main.a3960ab5.js.map +1 -0
  76. package/dist/examples.json +12 -12
  77. package/dist/index.85ea0c83.js +2 -0
  78. package/dist/index.85ea0c83.js.map +1 -0
  79. package/dist/manifest.json +357 -353
  80. package/dist/types.json +666 -659
  81. package/dist-types/form-item/index.d.ts +2 -0
  82. package/dist-types/input/index.d.ts +5 -3
  83. package/dist-types/radio/index.d.ts +1 -1
  84. package/package.json +4 -4
  85. package/dist/chunks/4837.f5538448.js +0 -2
  86. package/dist/chunks/7218.22824b22.js +0 -2
  87. package/dist/chunks/799.0d02d664.js +0 -3
  88. package/dist/chunks/799.0d02d664.js.map +0 -1
  89. package/dist/chunks/9259.775d4658.js +0 -3
  90. package/dist/chunks/9259.775d4658.js.map +0 -1
  91. package/dist/chunks/eo-color-picker.aec3b352.js +0 -2
  92. package/dist/chunks/eo-date-picker.a068145a.js +0 -2
  93. package/dist/chunks/eo-dynamic-form-item.87fc1816.js +0 -3
  94. package/dist/chunks/eo-form-item.92f16bc1.js +0 -3
  95. package/dist/chunks/eo-form-item.92f16bc1.js.map +0 -1
  96. package/dist/chunks/eo-form.e2369d33.js.map +0 -1
  97. package/dist/chunks/eo-input.47db46ab.js +0 -3
  98. package/dist/chunks/eo-input.47db46ab.js.map +0 -1
  99. package/dist/chunks/eo-radio.3dfef4db.js +0 -3
  100. package/dist/chunks/eo-radio.3dfef4db.js.map +0 -1
  101. package/dist/chunks/eo-select.aee01e15.js +0 -3
  102. package/dist/chunks/eo-time-picker.47e85deb.js +0 -2
  103. package/dist/chunks/eo-time-range-picker.c5728b35.js +0 -2
  104. package/dist/chunks/eo-upload-file.80033217.js +0 -3
  105. package/dist/chunks/eo-upload-image.f406cc57.js +0 -3
  106. package/dist/chunks/main.ae467807.js +0 -2
  107. package/dist/chunks/main.ae467807.js.map +0 -1
  108. package/dist/index.59e2a044.js +0 -2
  109. package/dist/index.59e2a044.js.map +0 -1
  110. /package/dist/chunks/{799.0d02d664.js.LICENSE.txt → 799.afdb809c.js.LICENSE.txt} +0 -0
  111. /package/dist/chunks/{9259.775d4658.js.LICENSE.txt → 9259.1eb7a074.js.LICENSE.txt} +0 -0
  112. /package/dist/chunks/{eo-auto-complete.9b255dde.js.LICENSE.txt → eo-auto-complete.f65b6cb6.js.LICENSE.txt} +0 -0
  113. /package/dist/chunks/{eo-checkbox.f6f6da44.js.LICENSE.txt → eo-checkbox.cdcad3e7.js.LICENSE.txt} +0 -0
  114. /package/dist/chunks/{eo-dynamic-form-item.87fc1816.js.LICENSE.txt → eo-dynamic-form-item.e5bb1558.js.LICENSE.txt} +0 -0
  115. /package/dist/chunks/{eo-form-item.92f16bc1.js.LICENSE.txt → eo-form-item.986d5f0f.js.LICENSE.txt} +0 -0
  116. /package/dist/chunks/{eo-icon-select.ac8d0745.js.LICENSE.txt → eo-icon-select.4caa9d3a.js.LICENSE.txt} +0 -0
  117. /package/dist/chunks/{eo-input.47db46ab.js.LICENSE.txt → eo-input.721b4ee8.js.LICENSE.txt} +0 -0
  118. /package/dist/chunks/{eo-radio.3dfef4db.js.LICENSE.txt → eo-radio.5a6590c0.js.LICENSE.txt} +0 -0
  119. /package/dist/chunks/{eo-select.aee01e15.js.LICENSE.txt → eo-select.d313c433.js.LICENSE.txt} +0 -0
  120. /package/dist/chunks/{eo-switch.77cfcfc7.js.LICENSE.txt → eo-switch.bcf2da15.js.LICENSE.txt} +0 -0
  121. /package/dist/chunks/{eo-upload-file.80033217.js.LICENSE.txt → eo-upload-file.e67d3268.js.LICENSE.txt} +0 -0
  122. /package/dist/chunks/{eo-upload-image.f406cc57.js.LICENSE.txt → eo-upload-image.b866ae24.js.LICENSE.txt} +0 -0
@@ -31,12 +31,12 @@
31
31
  },
32
32
  {
33
33
  "name": "max",
34
- "description": "表单校验最大长度",
34
+ "description": "表单校验最大长度(当 type 为 number 时,表示最大值)",
35
35
  "type": "number"
36
36
  },
37
37
  {
38
38
  "name": "min",
39
- "description": "表单校验最小长度",
39
+ "description": "表单校验最小长度(当 type 为 number 时,表示最小值)",
40
40
  "type": "number"
41
41
  },
42
42
  {
@@ -94,7 +94,7 @@
94
94
  },
95
95
  {
96
96
  "name": "maxLength",
97
- "description": "最大长度",
97
+ "description": "最大长度(用户无法输入超过此最大长度的字符串)",
98
98
  "type": "number"
99
99
  },
100
100
  {
@@ -188,6 +188,146 @@
188
188
  "description": "通用输入框构件",
189
189
  "category": "form-input-basic"
190
190
  },
191
+ {
192
+ "name": "eo-form",
193
+ "alias": [
194
+ "form.general-form"
195
+ ],
196
+ "properties": [
197
+ {
198
+ "name": "staticValues",
199
+ "attribute": false,
200
+ "type": "Record<string, unknown>"
201
+ },
202
+ {
203
+ "name": "layout",
204
+ "description": "布局方式(默认 vertical 布局)",
205
+ "default": "vertical",
206
+ "type": "Layout"
207
+ },
208
+ {
209
+ "name": "size",
210
+ "description": "表单组件尺寸",
211
+ "type": "ComponentSize"
212
+ },
213
+ {
214
+ "name": "labelCol",
215
+ "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
216
+ "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 }",
217
+ "attribute": false,
218
+ "type": "ColProps"
219
+ },
220
+ {
221
+ "name": "wrapperCol",
222
+ "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
223
+ "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 }",
224
+ "attribute": false,
225
+ "type": "ColProps"
226
+ },
227
+ {
228
+ "name": "formStyle",
229
+ "attribute": false,
230
+ "type": "React.CSSProperties"
231
+ }
232
+ ],
233
+ "events": [
234
+ {
235
+ "name": "values.change",
236
+ "description": "表单值变更事件",
237
+ "detail": {
238
+ "description": null,
239
+ "type": "Record<string, unknown>"
240
+ }
241
+ },
242
+ {
243
+ "name": "validate.success",
244
+ "description": "表单验证成功时触发事件",
245
+ "detail": {
246
+ "type": "Record<string, unknown>"
247
+ }
248
+ },
249
+ {
250
+ "name": "validate.error",
251
+ "description": "表单验证报错时触发事件",
252
+ "detail": {
253
+ "type": "(MessageBody & { name: string })[]"
254
+ }
255
+ }
256
+ ],
257
+ "slots": [
258
+ {
259
+ "name": null,
260
+ "description": "表单内容"
261
+ }
262
+ ],
263
+ "methods": [
264
+ {
265
+ "name": "validate",
266
+ "params": [],
267
+ "description": "表单校验方法",
268
+ "returns": {
269
+ "type": "boolean | Record<string, unknown>"
270
+ }
271
+ },
272
+ {
273
+ "name": "setInitValue",
274
+ "params": [
275
+ {
276
+ "name": "values",
277
+ "type": "Record<string, unknown>"
278
+ },
279
+ {
280
+ "name": "options",
281
+ "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
282
+ }
283
+ ],
284
+ "description": "表单设置值方法",
285
+ "returns": {}
286
+ },
287
+ {
288
+ "name": "resetFields",
289
+ "params": [
290
+ {
291
+ "name": "name",
292
+ "type": "string"
293
+ }
294
+ ],
295
+ "description": "表单重置值方法",
296
+ "returns": {}
297
+ },
298
+ {
299
+ "name": "getFieldsValue",
300
+ "params": [
301
+ {
302
+ "name": "name",
303
+ "type": "string"
304
+ }
305
+ ],
306
+ "description": "获取表单值方法",
307
+ "returns": {}
308
+ },
309
+ {
310
+ "name": "validateField",
311
+ "params": [
312
+ {
313
+ "name": "name",
314
+ "type": "string"
315
+ }
316
+ ],
317
+ "description": "校验表单字段方法",
318
+ "returns": {}
319
+ },
320
+ {
321
+ "name": "resetValidateState",
322
+ "params": [],
323
+ "description": "重置表单校验状态方法",
324
+ "returns": {}
325
+ }
326
+ ],
327
+ "parts": [],
328
+ "description": "表单构件",
329
+ "category": "form-input-basic"
330
+ },
191
331
  {
192
332
  "name": "eo-form-item",
193
333
  "alias": [
@@ -222,6 +362,10 @@
222
362
  "attribute": false,
223
363
  "type": "Record<string, string>"
224
364
  },
365
+ {
366
+ "name": "type",
367
+ "type": "string"
368
+ },
225
369
  {
226
370
  "name": "max",
227
371
  "type": "number"
@@ -287,6 +431,104 @@
287
431
  "category": "form-input-basic",
288
432
  "insider": true
289
433
  },
434
+ {
435
+ "name": "eo-textarea",
436
+ "alias": [
437
+ "form.general-textarea"
438
+ ],
439
+ "properties": [
440
+ {
441
+ "name": "name",
442
+ "description": "字段名称",
443
+ "type": "string"
444
+ },
445
+ {
446
+ "name": "label",
447
+ "description": "标签文字",
448
+ "type": "string"
449
+ },
450
+ {
451
+ "name": "value",
452
+ "description": "值",
453
+ "type": "string"
454
+ },
455
+ {
456
+ "name": "placeholder",
457
+ "description": "占位说明",
458
+ "type": "string"
459
+ },
460
+ {
461
+ "name": "disabled",
462
+ "description": "是否禁用",
463
+ "type": "boolean"
464
+ },
465
+ {
466
+ "name": "minLength",
467
+ "description": "最小长度",
468
+ "type": "number"
469
+ },
470
+ {
471
+ "name": "maxLength",
472
+ "description": "最大长度",
473
+ "type": "number"
474
+ },
475
+ {
476
+ "name": "autoSize",
477
+ "description": "大小自适应",
478
+ "attribute": false,
479
+ "type": "AutoSize"
480
+ },
481
+ {
482
+ "name": "required",
483
+ "description": "是否必填",
484
+ "type": "boolean"
485
+ },
486
+ {
487
+ "name": "max",
488
+ "description": "表单校验最大长度",
489
+ "type": "number"
490
+ },
491
+ {
492
+ "name": "min",
493
+ "description": "表单校验最小长度",
494
+ "type": "number"
495
+ },
496
+ {
497
+ "name": "message",
498
+ "description": "校验信息",
499
+ "attribute": false,
500
+ "type": "Record<string, string>"
501
+ },
502
+ {
503
+ "name": "textareaStyle",
504
+ "description": "自定义样式",
505
+ "attribute": false,
506
+ "type": "React.CSSProperties"
507
+ }
508
+ ],
509
+ "events": [
510
+ {
511
+ "name": "change",
512
+ "description": "",
513
+ "detail": {
514
+ "description": null,
515
+ "type": "string"
516
+ }
517
+ }
518
+ ],
519
+ "slots": [],
520
+ "methods": [
521
+ {
522
+ "name": "focusTextarea",
523
+ "params": [],
524
+ "description": "focus",
525
+ "returns": {}
526
+ }
527
+ ],
528
+ "parts": [],
529
+ "description": "通用多行文本输入框构件",
530
+ "category": "form-input-basic"
531
+ },
290
532
  {
291
533
  "name": "eo-radio",
292
534
  "alias": [
@@ -528,254 +770,16 @@
528
770
  "category": "form-input-basic"
529
771
  },
530
772
  {
531
- "name": "eo-form",
773
+ "name": "eo-submit-buttons",
532
774
  "alias": [
533
- "form.general-form"
775
+ "form.submit-buttons"
534
776
  ],
535
777
  "properties": [
536
778
  {
537
- "name": "staticValues",
538
- "attribute": false,
539
- "type": "Record<string, unknown>"
540
- },
541
- {
542
- "name": "layout",
543
- "description": "布局方式(默认 vertical 布局)",
544
- "default": "vertical",
545
- "type": "Layout"
546
- },
547
- {
548
- "name": "size",
549
- "description": "表单组件尺寸",
550
- "type": "ComponentSize"
551
- },
552
- {
553
- "name": "labelCol",
554
- "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
555
- "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 }",
556
- "attribute": false,
557
- "type": "ColProps"
558
- },
559
- {
560
- "name": "wrapperCol",
561
- "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
562
- "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 }",
563
- "attribute": false,
564
- "type": "ColProps"
565
- },
566
- {
567
- "name": "formStyle",
568
- "attribute": false,
569
- "type": "React.CSSProperties"
570
- }
571
- ],
572
- "events": [
573
- {
574
- "name": "values.change",
575
- "description": "表单值变更事件",
576
- "detail": {
577
- "description": null,
578
- "type": "Record<string, unknown>"
579
- }
580
- },
581
- {
582
- "name": "validate.success",
583
- "description": "表单验证成功时触发事件",
584
- "detail": {
585
- "type": "Record<string, unknown>"
586
- }
587
- },
588
- {
589
- "name": "validate.error",
590
- "description": "表单验证报错时触发事件",
591
- "detail": {
592
- "type": "(MessageBody & { name: string })[]"
593
- }
594
- }
595
- ],
596
- "slots": [
597
- {
598
- "name": null,
599
- "description": "表单内容"
600
- }
601
- ],
602
- "methods": [
603
- {
604
- "name": "validate",
605
- "params": [],
606
- "description": "表单校验方法",
607
- "returns": {
608
- "type": "boolean | Record<string, unknown>"
609
- }
610
- },
611
- {
612
- "name": "setInitValue",
613
- "params": [
614
- {
615
- "name": "values",
616
- "type": "Record<string, unknown>"
617
- },
618
- {
619
- "name": "options",
620
- "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
621
- }
622
- ],
623
- "description": "表单设置值方法",
624
- "returns": {}
625
- },
626
- {
627
- "name": "resetFields",
628
- "params": [
629
- {
630
- "name": "name",
631
- "type": "string"
632
- }
633
- ],
634
- "description": "表单重置值方法",
635
- "returns": {}
636
- },
637
- {
638
- "name": "getFieldsValue",
639
- "params": [
640
- {
641
- "name": "name",
642
- "type": "string"
643
- }
644
- ],
645
- "description": "获取表单值方法",
646
- "returns": {}
647
- },
648
- {
649
- "name": "validateField",
650
- "params": [
651
- {
652
- "name": "name",
653
- "type": "string"
654
- }
655
- ],
656
- "description": "校验表单字段方法",
657
- "returns": {}
658
- },
659
- {
660
- "name": "resetValidateState",
661
- "params": [],
662
- "description": "重置表单校验状态方法",
663
- "returns": {}
664
- }
665
- ],
666
- "parts": [],
667
- "description": "表单构件",
668
- "category": "form-input-basic"
669
- },
670
- {
671
- "name": "eo-textarea",
672
- "alias": [
673
- "form.general-textarea"
674
- ],
675
- "properties": [
676
- {
677
- "name": "name",
678
- "description": "字段名称",
679
- "type": "string"
680
- },
681
- {
682
- "name": "label",
683
- "description": "标签文字",
684
- "type": "string"
685
- },
686
- {
687
- "name": "value",
688
- "description": "值",
689
- "type": "string"
690
- },
691
- {
692
- "name": "placeholder",
693
- "description": "占位说明",
694
- "type": "string"
695
- },
696
- {
697
- "name": "disabled",
698
- "description": "是否禁用",
699
- "type": "boolean"
700
- },
701
- {
702
- "name": "minLength",
703
- "description": "最小长度",
704
- "type": "number"
705
- },
706
- {
707
- "name": "maxLength",
708
- "description": "最大长度",
709
- "type": "number"
710
- },
711
- {
712
- "name": "autoSize",
713
- "description": "大小自适应",
714
- "attribute": false,
715
- "type": "AutoSize"
716
- },
717
- {
718
- "name": "required",
719
- "description": "是否必填",
720
- "type": "boolean"
721
- },
722
- {
723
- "name": "max",
724
- "description": "表单校验最大长度",
725
- "type": "number"
726
- },
727
- {
728
- "name": "min",
729
- "description": "表单校验最小长度",
730
- "type": "number"
731
- },
732
- {
733
- "name": "message",
734
- "description": "校验信息",
735
- "attribute": false,
736
- "type": "Record<string, string>"
737
- },
738
- {
739
- "name": "textareaStyle",
740
- "description": "自定义样式",
741
- "attribute": false,
742
- "type": "React.CSSProperties"
743
- }
744
- ],
745
- "events": [
746
- {
747
- "name": "change",
748
- "description": "",
749
- "detail": {
750
- "description": null,
751
- "type": "string"
752
- }
753
- }
754
- ],
755
- "slots": [],
756
- "methods": [
757
- {
758
- "name": "focusTextarea",
759
- "params": [],
760
- "description": "focus",
761
- "returns": {}
762
- }
763
- ],
764
- "parts": [],
765
- "description": "通用多行文本输入框构件",
766
- "category": "form-input-basic"
767
- },
768
- {
769
- "name": "eo-submit-buttons",
770
- "alias": [
771
- "form.submit-buttons"
772
- ],
773
- "properties": [
774
- {
775
- "name": "submitText",
776
- "description": "提交按钮的文字",
777
- "default": "\"提交\"",
778
- "type": "string"
779
+ "name": "submitText",
780
+ "description": "提交按钮的文字",
781
+ "default": "\"提交\"",
782
+ "type": "string"
779
783
  },
780
784
  {
781
785
  "name": "cancelText",
@@ -1010,9 +1014,70 @@
1010
1014
  "category": "form-input-basic"
1011
1015
  },
1012
1016
  {
1013
- "name": "eo-upload-image",
1017
+ "name": "eo-search",
1014
1018
  "alias": [
1015
- "form.upload-image"
1019
+ "form.general-search"
1020
+ ],
1021
+ "properties": [
1022
+ {
1023
+ "name": "value",
1024
+ "description": "搜索框的值",
1025
+ "default": "\"\"",
1026
+ "type": "string"
1027
+ },
1028
+ {
1029
+ "name": "placeholder",
1030
+ "description": "提示语",
1031
+ "type": "string"
1032
+ },
1033
+ {
1034
+ "name": "autoFocus",
1035
+ "description": "是否自动聚焦",
1036
+ "type": "boolean"
1037
+ },
1038
+ {
1039
+ "name": "clearable",
1040
+ "description": "可以点击清除图标删除内容",
1041
+ "type": "boolean"
1042
+ },
1043
+ {
1044
+ "name": "trim",
1045
+ "description": "是否剔除前后空格",
1046
+ "type": "boolean"
1047
+ },
1048
+ {
1049
+ "name": "debounceTime",
1050
+ "description": "默认延迟时间",
1051
+ "default": "0",
1052
+ "type": "number"
1053
+ }
1054
+ ],
1055
+ "events": [
1056
+ {
1057
+ "name": "change",
1058
+ "description": "输入的搜索字符,输入变化时触发",
1059
+ "detail": {
1060
+ "type": "string"
1061
+ }
1062
+ },
1063
+ {
1064
+ "name": "search",
1065
+ "description": "搜索时触发",
1066
+ "detail": {
1067
+ "type": "string"
1068
+ }
1069
+ }
1070
+ ],
1071
+ "slots": [],
1072
+ "methods": [],
1073
+ "parts": [],
1074
+ "description": "搜索框",
1075
+ "category": "interact-basic"
1076
+ },
1077
+ {
1078
+ "name": "eo-icon-select",
1079
+ "alias": [
1080
+ "form.icon-select"
1016
1081
  ],
1017
1082
  "properties": [
1018
1083
  {
@@ -1029,28 +1094,13 @@
1029
1094
  "name": "value",
1030
1095
  "description": "值",
1031
1096
  "attribute": false,
1032
- "type": "ImageData[]"
1033
- },
1034
- {
1035
- "name": "bucketName",
1036
- "description": "对象存储桶名字",
1037
- "type": "string"
1038
- },
1039
- {
1040
- "name": "maxCount",
1041
- "description": "最大上传数量",
1042
- "type": "number"
1097
+ "type": "Icon"
1043
1098
  },
1044
1099
  {
1045
- "name": "multiple",
1046
- "description": "是否支持选定的多张图片",
1100
+ "name": "disabled",
1101
+ "description": "是否禁用",
1047
1102
  "type": "boolean"
1048
1103
  },
1049
- {
1050
- "name": "limitSize",
1051
- "description": "上传大小限制(单位为 MB)",
1052
- "type": "number"
1053
- },
1054
1104
  {
1055
1105
  "name": "required",
1056
1106
  "description": "是否必填",
@@ -1058,7 +1108,7 @@
1058
1108
  },
1059
1109
  {
1060
1110
  "name": "message",
1061
- "description": "校验文本信息",
1111
+ "description": "是否必填",
1062
1112
  "attribute": false,
1063
1113
  "type": "Record<string, string>"
1064
1114
  }
@@ -1068,76 +1118,84 @@
1068
1118
  "name": "change",
1069
1119
  "description": "值变化时触发",
1070
1120
  "detail": {
1071
- "type": "ImageData[]"
1121
+ "type": "Icon | undefined"
1072
1122
  }
1073
1123
  }
1074
1124
  ],
1075
1125
  "slots": [],
1076
1126
  "methods": [],
1077
1127
  "parts": [],
1078
- "description": "上传图片构件",
1128
+ "description": "图标选择构件",
1079
1129
  "category": "form-input-basic"
1080
1130
  },
1081
1131
  {
1082
- "name": "eo-search",
1132
+ "name": "eo-upload-image",
1083
1133
  "alias": [
1084
- "form.general-search"
1134
+ "form.upload-image"
1085
1135
  ],
1086
1136
  "properties": [
1087
1137
  {
1088
- "name": "value",
1089
- "description": "搜索框的值",
1090
- "default": "\"\"",
1138
+ "name": "name",
1139
+ "description": "字段名称",
1091
1140
  "type": "string"
1092
1141
  },
1093
1142
  {
1094
- "name": "placeholder",
1095
- "description": "提示语",
1143
+ "name": "label",
1144
+ "description": "字段说明",
1096
1145
  "type": "string"
1097
1146
  },
1098
1147
  {
1099
- "name": "autoFocus",
1100
- "description": "是否自动聚焦",
1101
- "type": "boolean"
1148
+ "name": "value",
1149
+ "description": "",
1150
+ "attribute": false,
1151
+ "type": "ImageData[]"
1102
1152
  },
1103
1153
  {
1104
- "name": "clearable",
1105
- "description": "可以点击清除图标删除内容",
1106
- "type": "boolean"
1154
+ "name": "bucketName",
1155
+ "description": "对象存储桶名字",
1156
+ "type": "string"
1107
1157
  },
1108
1158
  {
1109
- "name": "trim",
1110
- "description": "是否剔除前后空格",
1159
+ "name": "maxCount",
1160
+ "description": "最大上传数量",
1161
+ "type": "number"
1162
+ },
1163
+ {
1164
+ "name": "multiple",
1165
+ "description": "是否支持选定的多张图片",
1111
1166
  "type": "boolean"
1112
1167
  },
1113
1168
  {
1114
- "name": "debounceTime",
1115
- "description": "默认延迟时间",
1116
- "default": "0",
1169
+ "name": "limitSize",
1170
+ "description": "上传大小限制(单位为 MB)",
1117
1171
  "type": "number"
1172
+ },
1173
+ {
1174
+ "name": "required",
1175
+ "description": "是否必填",
1176
+ "type": "boolean"
1177
+ },
1178
+ {
1179
+ "name": "message",
1180
+ "description": "校验文本信息",
1181
+ "attribute": false,
1182
+ "type": "Record<string, string>"
1118
1183
  }
1119
1184
  ],
1120
1185
  "events": [
1121
1186
  {
1122
1187
  "name": "change",
1123
- "description": "输入的搜索字符,输入变化时触发",
1124
- "detail": {
1125
- "type": "string"
1126
- }
1127
- },
1128
- {
1129
- "name": "search",
1130
- "description": "搜索时触发",
1188
+ "description": "值变化时触发",
1131
1189
  "detail": {
1132
- "type": "string"
1190
+ "type": "ImageData[]"
1133
1191
  }
1134
1192
  }
1135
1193
  ],
1136
1194
  "slots": [],
1137
1195
  "methods": [],
1138
1196
  "parts": [],
1139
- "description": "搜索框",
1140
- "category": "interact-basic"
1197
+ "description": "上传图片构件",
1198
+ "category": "form-input-basic"
1141
1199
  },
1142
1200
  {
1143
1201
  "name": "eo-switch",
@@ -1208,60 +1266,6 @@
1208
1266
  "description": "开关",
1209
1267
  "category": "form-input-basic"
1210
1268
  },
1211
- {
1212
- "name": "eo-icon-select",
1213
- "alias": [
1214
- "form.icon-select"
1215
- ],
1216
- "properties": [
1217
- {
1218
- "name": "name",
1219
- "description": "字段名称",
1220
- "type": "string"
1221
- },
1222
- {
1223
- "name": "label",
1224
- "description": "字段说明",
1225
- "type": "string"
1226
- },
1227
- {
1228
- "name": "value",
1229
- "description": "值",
1230
- "attribute": false,
1231
- "type": "Icon"
1232
- },
1233
- {
1234
- "name": "disabled",
1235
- "description": "是否禁用",
1236
- "type": "boolean"
1237
- },
1238
- {
1239
- "name": "required",
1240
- "description": "是否必填",
1241
- "type": "boolean"
1242
- },
1243
- {
1244
- "name": "message",
1245
- "description": "是否必填",
1246
- "attribute": false,
1247
- "type": "Record<string, string>"
1248
- }
1249
- ],
1250
- "events": [
1251
- {
1252
- "name": "change",
1253
- "description": "值变化时触发",
1254
- "detail": {
1255
- "type": "Icon | undefined"
1256
- }
1257
- }
1258
- ],
1259
- "slots": [],
1260
- "methods": [],
1261
- "parts": [],
1262
- "description": "图标选择构件",
1263
- "category": "form-input-basic"
1264
- },
1265
1269
  {
1266
1270
  "name": "eo-upload-file",
1267
1271
  "properties": [