@next-bricks/form 1.13.3 → 1.13.4

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 (115) 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.db79e3c6.js +3 -0
  33. package/dist/chunks/9259.db79e3c6.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.38e2e6cd.js +3 -0
  47. package/dist/chunks/{eo-form-item.92f16bc1.js.map → eo-form-item.38e2e6cd.js.map} +1 -1
  48. package/dist/chunks/{eo-form.e2369d33.js → eo-form.52b0a429.js} +2 -2
  49. package/dist/chunks/{eo-form.e2369d33.js.map → eo-form.52b0a429.js.map} +1 -1
  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.47db46ab.js → eo-input.561ca56a.js} +3 -3
  53. package/dist/chunks/{eo-input.47db46ab.js.map → eo-input.561ca56a.js.map} +1 -1
  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.b831a2de.js +2 -0
  75. package/dist/chunks/main.b831a2de.js.map +1 -0
  76. package/dist/examples.json +12 -12
  77. package/dist/index.d99480d8.js +2 -0
  78. package/dist/index.d99480d8.js.map +1 -0
  79. package/dist/manifest.json +374 -374
  80. package/dist/types.json +875 -875
  81. package/package.json +4 -4
  82. package/dist/chunks/4837.f5538448.js +0 -2
  83. package/dist/chunks/7218.22824b22.js +0 -2
  84. package/dist/chunks/799.0d02d664.js +0 -3
  85. package/dist/chunks/799.0d02d664.js.map +0 -1
  86. package/dist/chunks/9259.775d4658.js +0 -3
  87. package/dist/chunks/9259.775d4658.js.map +0 -1
  88. package/dist/chunks/eo-color-picker.aec3b352.js +0 -2
  89. package/dist/chunks/eo-date-picker.a068145a.js +0 -2
  90. package/dist/chunks/eo-dynamic-form-item.87fc1816.js +0 -3
  91. package/dist/chunks/eo-form-item.92f16bc1.js +0 -3
  92. package/dist/chunks/eo-radio.3dfef4db.js +0 -3
  93. package/dist/chunks/eo-radio.3dfef4db.js.map +0 -1
  94. package/dist/chunks/eo-select.aee01e15.js +0 -3
  95. package/dist/chunks/eo-time-picker.47e85deb.js +0 -2
  96. package/dist/chunks/eo-time-range-picker.c5728b35.js +0 -2
  97. package/dist/chunks/eo-upload-file.80033217.js +0 -3
  98. package/dist/chunks/eo-upload-image.f406cc57.js +0 -3
  99. package/dist/chunks/main.ae467807.js +0 -2
  100. package/dist/chunks/main.ae467807.js.map +0 -1
  101. package/dist/index.59e2a044.js +0 -2
  102. package/dist/index.59e2a044.js.map +0 -1
  103. /package/dist/chunks/{799.0d02d664.js.LICENSE.txt → 799.afdb809c.js.LICENSE.txt} +0 -0
  104. /package/dist/chunks/{9259.775d4658.js.LICENSE.txt → 9259.db79e3c6.js.LICENSE.txt} +0 -0
  105. /package/dist/chunks/{eo-auto-complete.9b255dde.js.LICENSE.txt → eo-auto-complete.f65b6cb6.js.LICENSE.txt} +0 -0
  106. /package/dist/chunks/{eo-checkbox.f6f6da44.js.LICENSE.txt → eo-checkbox.cdcad3e7.js.LICENSE.txt} +0 -0
  107. /package/dist/chunks/{eo-dynamic-form-item.87fc1816.js.LICENSE.txt → eo-dynamic-form-item.e5bb1558.js.LICENSE.txt} +0 -0
  108. /package/dist/chunks/{eo-form-item.92f16bc1.js.LICENSE.txt → eo-form-item.38e2e6cd.js.LICENSE.txt} +0 -0
  109. /package/dist/chunks/{eo-icon-select.ac8d0745.js.LICENSE.txt → eo-icon-select.4caa9d3a.js.LICENSE.txt} +0 -0
  110. /package/dist/chunks/{eo-input.47db46ab.js.LICENSE.txt → eo-input.561ca56a.js.LICENSE.txt} +0 -0
  111. /package/dist/chunks/{eo-radio.3dfef4db.js.LICENSE.txt → eo-radio.5a6590c0.js.LICENSE.txt} +0 -0
  112. /package/dist/chunks/{eo-select.aee01e15.js.LICENSE.txt → eo-select.d313c433.js.LICENSE.txt} +0 -0
  113. /package/dist/chunks/{eo-switch.77cfcfc7.js.LICENSE.txt → eo-switch.bcf2da15.js.LICENSE.txt} +0 -0
  114. /package/dist/chunks/{eo-upload-file.80033217.js.LICENSE.txt → eo-upload-file.e67d3268.js.LICENSE.txt} +0 -0
  115. /package/dist/chunks/{eo-upload-image.f406cc57.js.LICENSE.txt → eo-upload-image.b866ae24.js.LICENSE.txt} +0 -0
@@ -188,6 +188,244 @@
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
+ {
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": [
295
+ {
296
+ "name": "staticValues",
297
+ "attribute": false,
298
+ "type": "Record<string, unknown>"
299
+ },
300
+ {
301
+ "name": "layout",
302
+ "description": "布局方式(默认 vertical 布局)",
303
+ "default": "vertical",
304
+ "type": "Layout"
305
+ },
306
+ {
307
+ "name": "size",
308
+ "description": "表单组件尺寸",
309
+ "type": "ComponentSize"
310
+ },
311
+ {
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",
327
+ "attribute": false,
328
+ "type": "React.CSSProperties"
329
+ }
330
+ ],
331
+ "events": [
332
+ {
333
+ "name": "values.change",
334
+ "description": "表单值变更事件",
335
+ "detail": {
336
+ "description": null,
337
+ "type": "Record<string, unknown>"
338
+ }
339
+ },
340
+ {
341
+ "name": "validate.success",
342
+ "description": "表单验证成功时触发事件",
343
+ "detail": {
344
+ "type": "Record<string, unknown>"
345
+ }
346
+ },
347
+ {
348
+ "name": "validate.error",
349
+ "description": "表单验证报错时触发事件",
350
+ "detail": {
351
+ "type": "(MessageBody & { name: string })[]"
352
+ }
353
+ }
354
+ ],
355
+ "slots": [
356
+ {
357
+ "name": null,
358
+ "description": "表单内容"
359
+ }
360
+ ],
361
+ "methods": [
362
+ {
363
+ "name": "validate",
364
+ "params": [],
365
+ "description": "表单校验方法",
366
+ "returns": {
367
+ "type": "boolean | Record<string, unknown>"
368
+ }
369
+ },
370
+ {
371
+ "name": "setInitValue",
372
+ "params": [
373
+ {
374
+ "name": "values",
375
+ "type": "Record<string, unknown>"
376
+ },
377
+ {
378
+ "name": "options",
379
+ "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
380
+ }
381
+ ],
382
+ "description": "表单设置值方法",
383
+ "returns": {}
384
+ },
385
+ {
386
+ "name": "resetFields",
387
+ "params": [
388
+ {
389
+ "name": "name",
390
+ "type": "string"
391
+ }
392
+ ],
393
+ "description": "表单重置值方法",
394
+ "returns": {}
395
+ },
396
+ {
397
+ "name": "getFieldsValue",
398
+ "params": [
399
+ {
400
+ "name": "name",
401
+ "type": "string"
402
+ }
403
+ ],
404
+ "description": "获取表单值方法",
405
+ "returns": {}
406
+ },
407
+ {
408
+ "name": "validateField",
409
+ "params": [
410
+ {
411
+ "name": "name",
412
+ "type": "string"
413
+ }
414
+ ],
415
+ "description": "校验表单字段方法",
416
+ "returns": {}
417
+ },
418
+ {
419
+ "name": "resetValidateState",
420
+ "params": [],
421
+ "description": "重置表单校验状态方法",
422
+ "returns": {}
423
+ }
424
+ ],
425
+ "parts": [],
426
+ "description": "表单构件",
427
+ "category": "form-input-basic"
428
+ },
191
429
  {
192
430
  "name": "eo-form-item",
193
431
  "alias": [
@@ -480,264 +718,13 @@
480
718
  "attribute": false,
481
719
  "type": "UseBackendConf"
482
720
  },
483
- {
484
- "name": "debounceSearchDelay",
485
- "type": "number"
486
- },
487
- {
488
- "name": "inputStyle",
489
- "description": "输入框样式",
490
- "attribute": false,
491
- "type": "React.CSSProperties"
492
- }
493
- ],
494
- "events": [
495
- {
496
- "name": "change",
497
- "description": "下拉选择事件",
498
- "detail": {
499
- "type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
500
- }
501
- },
502
- {
503
- "name": "search",
504
- "description": "下拉框search事件",
505
- "detail": {
506
- "type": "{\n value: string;\n }"
507
- }
508
- },
509
- {
510
- "name": "focus",
511
- "description": "下拉框focus事件",
512
- "detail": {
513
- "type": "void"
514
- }
515
- },
516
- {
517
- "name": "options.change",
518
- "description": "选项列表变化事件",
519
- "detail": {
520
- "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
521
- }
522
- }
523
- ],
524
- "slots": [],
525
- "methods": [],
526
- "parts": [],
527
- "description": "通用下拉选择构件",
528
- "category": "form-input-basic"
529
- },
530
- {
531
- "name": "eo-form",
532
- "alias": [
533
- "form.general-form"
534
- ],
535
- "properties": [
536
- {
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>"
721
+ {
722
+ "name": "debounceSearchDelay",
723
+ "type": "number"
737
724
  },
738
725
  {
739
- "name": "textareaStyle",
740
- "description": "自定义样式",
726
+ "name": "inputStyle",
727
+ "description": "输入框样式",
741
728
  "attribute": false,
742
729
  "type": "React.CSSProperties"
743
730
  }
@@ -745,24 +732,37 @@
745
732
  "events": [
746
733
  {
747
734
  "name": "change",
748
- "description": "",
735
+ "description": "下拉选择事件",
749
736
  "detail": {
750
- "description": null,
751
- "type": "string"
737
+ "type": "{\n value: string | string[];\n options: GeneralComplexOption[];\n }"
752
738
  }
753
- }
754
- ],
755
- "slots": [],
756
- "methods": [
739
+ },
757
740
  {
758
- "name": "focusTextarea",
759
- "params": [],
760
- "description": "focus",
761
- "returns": {}
741
+ "name": "search",
742
+ "description": "下拉框search事件",
743
+ "detail": {
744
+ "type": "{\n value: string;\n }"
745
+ }
746
+ },
747
+ {
748
+ "name": "focus",
749
+ "description": "下拉框focus事件",
750
+ "detail": {
751
+ "type": "void"
752
+ }
753
+ },
754
+ {
755
+ "name": "options.change",
756
+ "description": "选项列表变化事件",
757
+ "detail": {
758
+ "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
759
+ }
762
760
  }
763
761
  ],
762
+ "slots": [],
763
+ "methods": [],
764
764
  "parts": [],
765
- "description": "通用多行文本输入框构件",
765
+ "description": "通用下拉选择构件",
766
766
  "category": "form-input-basic"
767
767
  },
768
768
  {
@@ -1010,9 +1010,70 @@
1010
1010
  "category": "form-input-basic"
1011
1011
  },
1012
1012
  {
1013
- "name": "eo-upload-image",
1013
+ "name": "eo-search",
1014
1014
  "alias": [
1015
- "form.upload-image"
1015
+ "form.general-search"
1016
+ ],
1017
+ "properties": [
1018
+ {
1019
+ "name": "value",
1020
+ "description": "搜索框的值",
1021
+ "default": "\"\"",
1022
+ "type": "string"
1023
+ },
1024
+ {
1025
+ "name": "placeholder",
1026
+ "description": "提示语",
1027
+ "type": "string"
1028
+ },
1029
+ {
1030
+ "name": "autoFocus",
1031
+ "description": "是否自动聚焦",
1032
+ "type": "boolean"
1033
+ },
1034
+ {
1035
+ "name": "clearable",
1036
+ "description": "可以点击清除图标删除内容",
1037
+ "type": "boolean"
1038
+ },
1039
+ {
1040
+ "name": "trim",
1041
+ "description": "是否剔除前后空格",
1042
+ "type": "boolean"
1043
+ },
1044
+ {
1045
+ "name": "debounceTime",
1046
+ "description": "默认延迟时间",
1047
+ "default": "0",
1048
+ "type": "number"
1049
+ }
1050
+ ],
1051
+ "events": [
1052
+ {
1053
+ "name": "change",
1054
+ "description": "输入的搜索字符,输入变化时触发",
1055
+ "detail": {
1056
+ "type": "string"
1057
+ }
1058
+ },
1059
+ {
1060
+ "name": "search",
1061
+ "description": "搜索时触发",
1062
+ "detail": {
1063
+ "type": "string"
1064
+ }
1065
+ }
1066
+ ],
1067
+ "slots": [],
1068
+ "methods": [],
1069
+ "parts": [],
1070
+ "description": "搜索框",
1071
+ "category": "interact-basic"
1072
+ },
1073
+ {
1074
+ "name": "eo-icon-select",
1075
+ "alias": [
1076
+ "form.icon-select"
1016
1077
  ],
1017
1078
  "properties": [
1018
1079
  {
@@ -1029,28 +1090,13 @@
1029
1090
  "name": "value",
1030
1091
  "description": "值",
1031
1092
  "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"
1093
+ "type": "Icon"
1043
1094
  },
1044
1095
  {
1045
- "name": "multiple",
1046
- "description": "是否支持选定的多张图片",
1096
+ "name": "disabled",
1097
+ "description": "是否禁用",
1047
1098
  "type": "boolean"
1048
1099
  },
1049
- {
1050
- "name": "limitSize",
1051
- "description": "上传大小限制(单位为 MB)",
1052
- "type": "number"
1053
- },
1054
1100
  {
1055
1101
  "name": "required",
1056
1102
  "description": "是否必填",
@@ -1058,7 +1104,7 @@
1058
1104
  },
1059
1105
  {
1060
1106
  "name": "message",
1061
- "description": "校验文本信息",
1107
+ "description": "是否必填",
1062
1108
  "attribute": false,
1063
1109
  "type": "Record<string, string>"
1064
1110
  }
@@ -1068,76 +1114,84 @@
1068
1114
  "name": "change",
1069
1115
  "description": "值变化时触发",
1070
1116
  "detail": {
1071
- "type": "ImageData[]"
1117
+ "type": "Icon | undefined"
1072
1118
  }
1073
1119
  }
1074
1120
  ],
1075
1121
  "slots": [],
1076
1122
  "methods": [],
1077
1123
  "parts": [],
1078
- "description": "上传图片构件",
1124
+ "description": "图标选择构件",
1079
1125
  "category": "form-input-basic"
1080
1126
  },
1081
1127
  {
1082
- "name": "eo-search",
1128
+ "name": "eo-upload-image",
1083
1129
  "alias": [
1084
- "form.general-search"
1130
+ "form.upload-image"
1085
1131
  ],
1086
1132
  "properties": [
1087
1133
  {
1088
- "name": "value",
1089
- "description": "搜索框的值",
1090
- "default": "\"\"",
1134
+ "name": "name",
1135
+ "description": "字段名称",
1091
1136
  "type": "string"
1092
1137
  },
1093
1138
  {
1094
- "name": "placeholder",
1095
- "description": "提示语",
1139
+ "name": "label",
1140
+ "description": "字段说明",
1096
1141
  "type": "string"
1097
1142
  },
1098
1143
  {
1099
- "name": "autoFocus",
1100
- "description": "是否自动聚焦",
1101
- "type": "boolean"
1144
+ "name": "value",
1145
+ "description": "",
1146
+ "attribute": false,
1147
+ "type": "ImageData[]"
1102
1148
  },
1103
1149
  {
1104
- "name": "clearable",
1105
- "description": "可以点击清除图标删除内容",
1106
- "type": "boolean"
1150
+ "name": "bucketName",
1151
+ "description": "对象存储桶名字",
1152
+ "type": "string"
1107
1153
  },
1108
1154
  {
1109
- "name": "trim",
1110
- "description": "是否剔除前后空格",
1155
+ "name": "maxCount",
1156
+ "description": "最大上传数量",
1157
+ "type": "number"
1158
+ },
1159
+ {
1160
+ "name": "multiple",
1161
+ "description": "是否支持选定的多张图片",
1111
1162
  "type": "boolean"
1112
1163
  },
1113
1164
  {
1114
- "name": "debounceTime",
1115
- "description": "默认延迟时间",
1116
- "default": "0",
1165
+ "name": "limitSize",
1166
+ "description": "上传大小限制(单位为 MB)",
1117
1167
  "type": "number"
1168
+ },
1169
+ {
1170
+ "name": "required",
1171
+ "description": "是否必填",
1172
+ "type": "boolean"
1173
+ },
1174
+ {
1175
+ "name": "message",
1176
+ "description": "校验文本信息",
1177
+ "attribute": false,
1178
+ "type": "Record<string, string>"
1118
1179
  }
1119
1180
  ],
1120
1181
  "events": [
1121
1182
  {
1122
1183
  "name": "change",
1123
- "description": "输入的搜索字符,输入变化时触发",
1124
- "detail": {
1125
- "type": "string"
1126
- }
1127
- },
1128
- {
1129
- "name": "search",
1130
- "description": "搜索时触发",
1184
+ "description": "值变化时触发",
1131
1185
  "detail": {
1132
- "type": "string"
1186
+ "type": "ImageData[]"
1133
1187
  }
1134
1188
  }
1135
1189
  ],
1136
1190
  "slots": [],
1137
1191
  "methods": [],
1138
1192
  "parts": [],
1139
- "description": "搜索框",
1140
- "category": "interact-basic"
1193
+ "description": "上传图片构件",
1194
+ "category": "form-input-basic"
1141
1195
  },
1142
1196
  {
1143
1197
  "name": "eo-switch",
@@ -1208,60 +1262,6 @@
1208
1262
  "description": "开关",
1209
1263
  "category": "form-input-basic"
1210
1264
  },
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
1265
  {
1266
1266
  "name": "eo-upload-file",
1267
1267
  "properties": [