@next-bricks/form 1.15.11 → 1.15.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/bricks.json +31 -31
  2. package/dist/chunks/149.2cac519d.js +2 -0
  3. package/dist/chunks/149.2cac519d.js.map +1 -0
  4. package/dist/chunks/5347.a2da1ea8.js +3 -0
  5. package/dist/chunks/5347.a2da1ea8.js.map +1 -0
  6. package/dist/chunks/eo-auto-complete.8f047c94.js +3 -0
  7. package/dist/chunks/eo-auto-complete.8f047c94.js.map +1 -0
  8. package/dist/chunks/eo-checkbox.f6a5c9cd.js +2 -0
  9. package/dist/chunks/eo-checkbox.f6a5c9cd.js.map +1 -0
  10. package/dist/chunks/eo-date-picker.c30115bb.js +2 -0
  11. package/dist/chunks/eo-date-picker.c30115bb.js.map +1 -0
  12. package/dist/chunks/eo-dynamic-form-item.3907deeb.js +3 -0
  13. package/dist/chunks/eo-dynamic-form-item.3907deeb.js.map +1 -0
  14. package/dist/chunks/eo-icon-select.3db79661.js +3 -0
  15. package/dist/chunks/eo-icon-select.3db79661.js.map +1 -0
  16. package/dist/chunks/eo-radio.8c18d259.js +3 -0
  17. package/dist/chunks/eo-radio.8c18d259.js.map +1 -0
  18. package/dist/chunks/eo-select.bcb07d7d.js +3 -0
  19. package/dist/chunks/eo-select.bcb07d7d.js.map +1 -0
  20. package/dist/chunks/eo-submit-buttons.f49a4a73.js +2 -0
  21. package/dist/chunks/eo-submit-buttons.f49a4a73.js.map +1 -0
  22. package/dist/chunks/eo-switch.a1197bf4.js +3 -0
  23. package/dist/chunks/eo-switch.a1197bf4.js.map +1 -0
  24. package/dist/chunks/eo-textarea.87150cfb.js +3 -0
  25. package/dist/chunks/eo-textarea.87150cfb.js.map +1 -0
  26. package/dist/chunks/eo-time-picker.7745f7ed.js +2 -0
  27. package/dist/chunks/eo-time-picker.7745f7ed.js.map +1 -0
  28. package/dist/chunks/eo-time-range-picker.021723e3.js +2 -0
  29. package/dist/chunks/eo-time-range-picker.021723e3.js.map +1 -0
  30. package/dist/chunks/eo-upload-file.41efde6a.js +3 -0
  31. package/dist/chunks/eo-upload-file.41efde6a.js.map +1 -0
  32. package/dist/chunks/eo-upload-image.fad8c706.js +3 -0
  33. package/dist/chunks/eo-upload-image.fad8c706.js.map +1 -0
  34. package/dist/chunks/{main.b91dc13c.js → main.2d5dab71.js} +2 -2
  35. package/dist/chunks/main.2d5dab71.js.map +1 -0
  36. package/dist/examples.json +12 -12
  37. package/dist/index.1238a656.js +2 -0
  38. package/dist/index.1238a656.js.map +1 -0
  39. package/dist/manifest.json +382 -382
  40. package/dist/types.json +1589 -1589
  41. package/dist-types/form-item/index.d.ts +4 -38
  42. package/package.json +2 -2
  43. package/dist/chunks/149.f1ac0885.js +0 -2
  44. package/dist/chunks/149.f1ac0885.js.map +0 -1
  45. package/dist/chunks/5347.43440365.js +0 -3
  46. package/dist/chunks/5347.43440365.js.map +0 -1
  47. package/dist/chunks/eo-auto-complete.3c25ef04.js +0 -3
  48. package/dist/chunks/eo-auto-complete.3c25ef04.js.map +0 -1
  49. package/dist/chunks/eo-checkbox.6fb2afb3.js +0 -2
  50. package/dist/chunks/eo-checkbox.6fb2afb3.js.map +0 -1
  51. package/dist/chunks/eo-date-picker.38a71de5.js +0 -2
  52. package/dist/chunks/eo-date-picker.38a71de5.js.map +0 -1
  53. package/dist/chunks/eo-dynamic-form-item.96fdc2f1.js +0 -3
  54. package/dist/chunks/eo-dynamic-form-item.96fdc2f1.js.map +0 -1
  55. package/dist/chunks/eo-icon-select.b7ec93c9.js +0 -3
  56. package/dist/chunks/eo-icon-select.b7ec93c9.js.map +0 -1
  57. package/dist/chunks/eo-radio.3b5b1a87.js +0 -3
  58. package/dist/chunks/eo-radio.3b5b1a87.js.map +0 -1
  59. package/dist/chunks/eo-select.2cfc0a5e.js +0 -3
  60. package/dist/chunks/eo-select.2cfc0a5e.js.map +0 -1
  61. package/dist/chunks/eo-submit-buttons.7986fcd3.js +0 -2
  62. package/dist/chunks/eo-submit-buttons.7986fcd3.js.map +0 -1
  63. package/dist/chunks/eo-switch.445a7cab.js +0 -3
  64. package/dist/chunks/eo-switch.445a7cab.js.map +0 -1
  65. package/dist/chunks/eo-textarea.7fdd5ac5.js +0 -3
  66. package/dist/chunks/eo-textarea.7fdd5ac5.js.map +0 -1
  67. package/dist/chunks/eo-time-picker.d5e22a7b.js +0 -2
  68. package/dist/chunks/eo-time-picker.d5e22a7b.js.map +0 -1
  69. package/dist/chunks/eo-time-range-picker.bf0932ac.js +0 -2
  70. package/dist/chunks/eo-time-range-picker.bf0932ac.js.map +0 -1
  71. package/dist/chunks/eo-upload-file.794353ba.js +0 -3
  72. package/dist/chunks/eo-upload-file.794353ba.js.map +0 -1
  73. package/dist/chunks/eo-upload-image.50adcd53.js +0 -3
  74. package/dist/chunks/eo-upload-image.50adcd53.js.map +0 -1
  75. package/dist/chunks/main.b91dc13c.js.map +0 -1
  76. package/dist/index.a78e64c5.js +0 -2
  77. package/dist/index.a78e64c5.js.map +0 -1
  78. /package/dist/chunks/{5347.43440365.js.LICENSE.txt → 5347.a2da1ea8.js.LICENSE.txt} +0 -0
  79. /package/dist/chunks/{eo-auto-complete.3c25ef04.js.LICENSE.txt → eo-auto-complete.8f047c94.js.LICENSE.txt} +0 -0
  80. /package/dist/chunks/{eo-dynamic-form-item.96fdc2f1.js.LICENSE.txt → eo-dynamic-form-item.3907deeb.js.LICENSE.txt} +0 -0
  81. /package/dist/chunks/{eo-icon-select.b7ec93c9.js.LICENSE.txt → eo-icon-select.3db79661.js.LICENSE.txt} +0 -0
  82. /package/dist/chunks/{eo-radio.3b5b1a87.js.LICENSE.txt → eo-radio.8c18d259.js.LICENSE.txt} +0 -0
  83. /package/dist/chunks/{eo-select.2cfc0a5e.js.LICENSE.txt → eo-select.bcb07d7d.js.LICENSE.txt} +0 -0
  84. /package/dist/chunks/{eo-switch.445a7cab.js.LICENSE.txt → eo-switch.a1197bf4.js.LICENSE.txt} +0 -0
  85. /package/dist/chunks/{eo-textarea.7fdd5ac5.js.LICENSE.txt → eo-textarea.87150cfb.js.LICENSE.txt} +0 -0
  86. /package/dist/chunks/{eo-upload-file.794353ba.js.LICENSE.txt → eo-upload-file.41efde6a.js.LICENSE.txt} +0 -0
  87. /package/dist/chunks/{eo-upload-image.50adcd53.js.LICENSE.txt → eo-upload-image.fad8c706.js.LICENSE.txt} +0 -0
@@ -101,6 +101,151 @@
101
101
  "description": "通用单选构件",
102
102
  "category": "form-input-basic"
103
103
  },
104
+ {
105
+ "name": "eo-form",
106
+ "alias": [
107
+ "form.general-form"
108
+ ],
109
+ "properties": [
110
+ {
111
+ "name": "staticValues",
112
+ "attribute": false,
113
+ "type": "Record<string, unknown>"
114
+ },
115
+ {
116
+ "name": "layout",
117
+ "description": "布局方式(默认 vertical 布局)",
118
+ "default": "vertical",
119
+ "type": "Layout"
120
+ },
121
+ {
122
+ "name": "size",
123
+ "description": "表单组件尺寸",
124
+ "type": "ComponentSize"
125
+ },
126
+ {
127
+ "name": "labelCol",
128
+ "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
129
+ "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 }",
130
+ "attribute": false,
131
+ "type": "ColProps"
132
+ },
133
+ {
134
+ "name": "wrapperCol",
135
+ "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
136
+ "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 }",
137
+ "attribute": false,
138
+ "type": "ColProps"
139
+ },
140
+ {
141
+ "name": "formStyle",
142
+ "attribute": false,
143
+ "type": "React.CSSProperties"
144
+ },
145
+ {
146
+ "name": "textContent",
147
+ "type": "string",
148
+ "description": "文本内容"
149
+ }
150
+ ],
151
+ "events": [
152
+ {
153
+ "name": "values.change",
154
+ "description": "表单值变更事件",
155
+ "detail": {
156
+ "description": null,
157
+ "type": "Record<string, unknown>"
158
+ }
159
+ },
160
+ {
161
+ "name": "validate.success",
162
+ "description": "表单验证成功时触发事件",
163
+ "detail": {
164
+ "type": "Record<string, unknown>"
165
+ }
166
+ },
167
+ {
168
+ "name": "validate.error",
169
+ "description": "表单验证报错时触发事件",
170
+ "detail": {
171
+ "type": "(MessageBody & { name: string })[]"
172
+ }
173
+ }
174
+ ],
175
+ "slots": [
176
+ {
177
+ "name": null,
178
+ "description": "表单内容"
179
+ }
180
+ ],
181
+ "methods": [
182
+ {
183
+ "name": "validate",
184
+ "params": [],
185
+ "description": "表单校验方法",
186
+ "returns": {
187
+ "type": "boolean | Record<string, unknown>"
188
+ }
189
+ },
190
+ {
191
+ "name": "setInitValue",
192
+ "params": [
193
+ {
194
+ "name": "values",
195
+ "type": "Record<string, unknown>"
196
+ },
197
+ {
198
+ "name": "options",
199
+ "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
200
+ }
201
+ ],
202
+ "description": "表单设置值方法",
203
+ "returns": {}
204
+ },
205
+ {
206
+ "name": "resetFields",
207
+ "params": [
208
+ {
209
+ "name": "name",
210
+ "type": "string"
211
+ }
212
+ ],
213
+ "description": "表单重置值方法",
214
+ "returns": {}
215
+ },
216
+ {
217
+ "name": "getFieldsValue",
218
+ "params": [
219
+ {
220
+ "name": "name",
221
+ "type": "string"
222
+ }
223
+ ],
224
+ "description": "获取表单值方法",
225
+ "returns": {}
226
+ },
227
+ {
228
+ "name": "validateField",
229
+ "params": [
230
+ {
231
+ "name": "name",
232
+ "type": "string"
233
+ }
234
+ ],
235
+ "description": "校验表单字段方法",
236
+ "returns": {}
237
+ },
238
+ {
239
+ "name": "resetValidateState",
240
+ "params": [],
241
+ "description": "重置表单校验状态方法",
242
+ "returns": {}
243
+ }
244
+ ],
245
+ "parts": [],
246
+ "description": "表单构件",
247
+ "category": "form-input-basic"
248
+ },
104
249
  {
105
250
  "name": "eo-select",
106
251
  "alias": [
@@ -249,6 +394,164 @@
249
394
  "description": "通用下拉选择构件",
250
395
  "category": "form-input-basic"
251
396
  },
397
+ {
398
+ "name": "eo-submit-buttons",
399
+ "alias": [
400
+ "form.submit-buttons"
401
+ ],
402
+ "properties": [
403
+ {
404
+ "name": "submitText",
405
+ "description": "提交按钮的文字",
406
+ "default": "\"提交\"",
407
+ "type": "string"
408
+ },
409
+ {
410
+ "name": "cancelText",
411
+ "description": "取消按钮的文字,不设置则不显示取消按钮",
412
+ "type": "string"
413
+ },
414
+ {
415
+ "name": "disableAfterClick",
416
+ "description": "点击确定按钮后自动禁用",
417
+ "type": "boolean"
418
+ },
419
+ {
420
+ "name": "submitDisabled",
421
+ "description": "禁用提交按钮",
422
+ "type": "boolean"
423
+ },
424
+ {
425
+ "name": "submitType",
426
+ "description": "提交按钮类型",
427
+ "type": "ButtonType"
428
+ },
429
+ {
430
+ "name": "cancelType",
431
+ "description": "取消按钮类型",
432
+ "type": "ButtonType"
433
+ }
434
+ ],
435
+ "events": [
436
+ {
437
+ "name": "submit",
438
+ "description": "点击提交按钮触发的事件",
439
+ "detail": {
440
+ "type": "void"
441
+ }
442
+ },
443
+ {
444
+ "name": "cancel",
445
+ "description": "点击取消按钮触发的事件",
446
+ "detail": {
447
+ "type": "void"
448
+ }
449
+ }
450
+ ],
451
+ "slots": [],
452
+ "methods": [],
453
+ "parts": [],
454
+ "description": "表单提交按钮",
455
+ "category": "form-input-basic"
456
+ },
457
+ {
458
+ "name": "eo-textarea",
459
+ "alias": [
460
+ "form.general-textarea"
461
+ ],
462
+ "properties": [
463
+ {
464
+ "name": "name",
465
+ "description": "字段名称",
466
+ "type": "string"
467
+ },
468
+ {
469
+ "name": "label",
470
+ "description": "标签文字",
471
+ "type": "string"
472
+ },
473
+ {
474
+ "name": "value",
475
+ "description": "值",
476
+ "type": "string"
477
+ },
478
+ {
479
+ "name": "placeholder",
480
+ "description": "占位说明",
481
+ "type": "string"
482
+ },
483
+ {
484
+ "name": "disabled",
485
+ "description": "是否禁用",
486
+ "type": "boolean"
487
+ },
488
+ {
489
+ "name": "minLength",
490
+ "description": "最小长度",
491
+ "type": "number"
492
+ },
493
+ {
494
+ "name": "maxLength",
495
+ "description": "最大长度",
496
+ "type": "number"
497
+ },
498
+ {
499
+ "name": "autoSize",
500
+ "description": "大小自适应",
501
+ "attribute": false,
502
+ "type": "AutoSize"
503
+ },
504
+ {
505
+ "name": "required",
506
+ "description": "是否必填",
507
+ "type": "boolean"
508
+ },
509
+ {
510
+ "name": "max",
511
+ "description": "表单校验最大长度",
512
+ "type": "number"
513
+ },
514
+ {
515
+ "name": "min",
516
+ "description": "表单校验最小长度",
517
+ "type": "number"
518
+ },
519
+ {
520
+ "name": "message",
521
+ "description": "校验信息",
522
+ "attribute": false,
523
+ "type": "Record<string, string>"
524
+ },
525
+ {
526
+ "name": "textareaStyle",
527
+ "description": "自定义样式",
528
+ "attribute": false,
529
+ "type": "React.CSSProperties"
530
+ }
531
+ ],
532
+ "events": [
533
+ {
534
+ "name": "change",
535
+ "description": "",
536
+ "detail": {
537
+ "description": null,
538
+ "type": "string"
539
+ }
540
+ }
541
+ ],
542
+ "slots": [],
543
+ "methods": [
544
+ {
545
+ "name": "focusTextarea",
546
+ "params": [],
547
+ "description": "focus",
548
+ "returns": {}
549
+ }
550
+ ],
551
+ "parts": [],
552
+ "description": "通用多行文本输入框构件",
553
+ "category": "form-input-basic"
554
+ },
252
555
  {
253
556
  "name": "eo-checkbox",
254
557
  "alias": [
@@ -341,66 +644,6 @@
341
644
  "description": "表单复选框构件",
342
645
  "category": "form-input-basic"
343
646
  },
344
- {
345
- "name": "eo-submit-buttons",
346
- "alias": [
347
- "form.submit-buttons"
348
- ],
349
- "properties": [
350
- {
351
- "name": "submitText",
352
- "description": "提交按钮的文字",
353
- "default": "\"提交\"",
354
- "type": "string"
355
- },
356
- {
357
- "name": "cancelText",
358
- "description": "取消按钮的文字,不设置则不显示取消按钮",
359
- "type": "string"
360
- },
361
- {
362
- "name": "disableAfterClick",
363
- "description": "点击确定按钮后自动禁用",
364
- "type": "boolean"
365
- },
366
- {
367
- "name": "submitDisabled",
368
- "description": "禁用提交按钮",
369
- "type": "boolean"
370
- },
371
- {
372
- "name": "submitType",
373
- "description": "提交按钮类型",
374
- "type": "ButtonType"
375
- },
376
- {
377
- "name": "cancelType",
378
- "description": "取消按钮类型",
379
- "type": "ButtonType"
380
- }
381
- ],
382
- "events": [
383
- {
384
- "name": "submit",
385
- "description": "点击提交按钮触发的事件",
386
- "detail": {
387
- "type": "void"
388
- }
389
- },
390
- {
391
- "name": "cancel",
392
- "description": "点击取消按钮触发的事件",
393
- "detail": {
394
- "type": "void"
395
- }
396
- }
397
- ],
398
- "slots": [],
399
- "methods": [],
400
- "parts": [],
401
- "description": "表单提交按钮",
402
- "category": "form-input-basic"
403
- },
404
647
  {
405
648
  "name": "eo-dynamic-form-item",
406
649
  "alias": [
@@ -460,182 +703,37 @@
460
703
  },
461
704
  {
462
705
  "name": "useBrick",
463
- "description": "动态表单子项构件列表",
464
- "attribute": false,
465
- "type": "UseBrickConf"
466
- }
467
- ],
468
- "events": [
469
- {
470
- "name": "change",
471
- "detail": {
472
- "type": "DynamicFormValuesItem[]"
473
- }
474
- },
475
- {
476
- "name": "row.add",
477
- "description": "增加一行时触发,detail为该行的默认值,index为该行的位置",
478
- "detail": {
479
- "type": "rowDataType"
480
- }
481
- },
482
- {
483
- "name": "row.remove",
484
- "description": "移除一行时触发,detail为该行的值,index为该行的位置",
485
- "detail": {
486
- "type": "rowDataType"
487
- }
488
- }
489
- ],
490
- "slots": [],
491
- "methods": [],
492
- "parts": [],
493
- "description": "动态表单",
494
- "category": "form-input-basic"
495
- },
496
- {
497
- "name": "eo-form",
498
- "alias": [
499
- "form.general-form"
500
- ],
501
- "properties": [
502
- {
503
- "name": "staticValues",
504
- "attribute": false,
505
- "type": "Record<string, unknown>"
506
- },
507
- {
508
- "name": "layout",
509
- "description": "布局方式(默认 vertical 布局)",
510
- "default": "vertical",
511
- "type": "Layout"
512
- },
513
- {
514
- "name": "size",
515
- "description": "表单组件尺寸",
516
- "type": "ComponentSize"
517
- },
518
- {
519
- "name": "labelCol",
520
- "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
521
- "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 }",
522
- "attribute": false,
523
- "type": "ColProps"
524
- },
525
- {
526
- "name": "wrapperCol",
527
- "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
528
- "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 }",
529
- "attribute": false,
530
- "type": "ColProps"
531
- },
532
- {
533
- "name": "formStyle",
534
- "attribute": false,
535
- "type": "React.CSSProperties"
536
- },
537
- {
538
- "name": "textContent",
539
- "type": "string",
540
- "description": "文本内容"
541
- }
542
- ],
543
- "events": [
544
- {
545
- "name": "values.change",
546
- "description": "表单值变更事件",
547
- "detail": {
548
- "description": null,
549
- "type": "Record<string, unknown>"
550
- }
551
- },
552
- {
553
- "name": "validate.success",
554
- "description": "表单验证成功时触发事件",
555
- "detail": {
556
- "type": "Record<string, unknown>"
557
- }
558
- },
559
- {
560
- "name": "validate.error",
561
- "description": "表单验证报错时触发事件",
562
- "detail": {
563
- "type": "(MessageBody & { name: string })[]"
564
- }
565
- }
566
- ],
567
- "slots": [
568
- {
569
- "name": null,
570
- "description": "表单内容"
571
- }
572
- ],
573
- "methods": [
574
- {
575
- "name": "validate",
576
- "params": [],
577
- "description": "表单校验方法",
578
- "returns": {
579
- "type": "boolean | Record<string, unknown>"
580
- }
581
- },
582
- {
583
- "name": "setInitValue",
584
- "params": [
585
- {
586
- "name": "values",
587
- "type": "Record<string, unknown>"
588
- },
589
- {
590
- "name": "options",
591
- "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
592
- }
593
- ],
594
- "description": "表单设置值方法",
595
- "returns": {}
596
- },
597
- {
598
- "name": "resetFields",
599
- "params": [
600
- {
601
- "name": "name",
602
- "type": "string"
603
- }
604
- ],
605
- "description": "表单重置值方法",
606
- "returns": {}
607
- },
706
+ "description": "动态表单子项构件列表",
707
+ "attribute": false,
708
+ "type": "UseBrickConf"
709
+ }
710
+ ],
711
+ "events": [
608
712
  {
609
- "name": "getFieldsValue",
610
- "params": [
611
- {
612
- "name": "name",
613
- "type": "string"
614
- }
615
- ],
616
- "description": "获取表单值方法",
617
- "returns": {}
713
+ "name": "change",
714
+ "detail": {
715
+ "type": "DynamicFormValuesItem[]"
716
+ }
618
717
  },
619
718
  {
620
- "name": "validateField",
621
- "params": [
622
- {
623
- "name": "name",
624
- "type": "string"
625
- }
626
- ],
627
- "description": "校验表单字段方法",
628
- "returns": {}
719
+ "name": "row.add",
720
+ "description": "增加一行时触发,detail为该行的默认值,index为该行的位置",
721
+ "detail": {
722
+ "type": "rowDataType"
723
+ }
629
724
  },
630
725
  {
631
- "name": "resetValidateState",
632
- "params": [],
633
- "description": "重置表单校验状态方法",
634
- "returns": {}
726
+ "name": "row.remove",
727
+ "description": "移除一行时触发,detail为该行的值,index为该行的位置",
728
+ "detail": {
729
+ "type": "rowDataType"
730
+ }
635
731
  }
636
732
  ],
733
+ "slots": [],
734
+ "methods": [],
637
735
  "parts": [],
638
- "description": "表单构件",
736
+ "description": "动态表单",
639
737
  "category": "form-input-basic"
640
738
  },
641
739
  {
@@ -760,9 +858,9 @@
760
858
  "category": "form-input-basic"
761
859
  },
762
860
  {
763
- "name": "eo-switch",
861
+ "name": "eo-upload-image",
764
862
  "alias": [
765
- "form.general-switch"
863
+ "form.upload-image"
766
864
  ],
767
865
  "properties": [
768
866
  {
@@ -772,66 +870,66 @@
772
870
  },
773
871
  {
774
872
  "name": "label",
775
- "description": "字段文本",
873
+ "description": "字段说明",
776
874
  "type": "string"
777
875
  },
778
876
  {
779
877
  "name": "value",
780
- "description": "初始值",
781
- "type": "boolean"
878
+ "description": "",
879
+ "attribute": false,
880
+ "type": "ImageData[]"
782
881
  },
783
882
  {
784
- "name": "disabled",
785
- "description": "是否禁用",
786
- "type": "boolean"
883
+ "name": "bucketName",
884
+ "description": "对象存储桶名字",
885
+ "type": "string"
787
886
  },
788
887
  {
789
- "name": "size",
790
- "description": "按钮大小,目前只支持small和非small两种大小。",
791
- "type": "ComponentSize"
888
+ "name": "maxCount",
889
+ "description": "最大上传数量",
890
+ "type": "number"
792
891
  },
793
892
  {
794
- "name": "checkedText",
795
- "description": "选中时的文本",
796
- "type": "string"
893
+ "name": "multiple",
894
+ "description": "是否支持选定的多张图片",
895
+ "type": "boolean"
797
896
  },
798
897
  {
799
- "name": "unCheckedText",
800
- "description": "非选中时的文本",
801
- "type": "string"
898
+ "name": "limitSize",
899
+ "description": "上传大小限制(单位为 MB)",
900
+ "type": "number"
802
901
  },
803
902
  {
804
- "name": "checkedIcon",
805
- "description": "选中时的图标",
806
- "attribute": false,
807
- "type": "GeneralIconProps"
903
+ "name": "required",
904
+ "description": "是否必填",
905
+ "type": "boolean"
808
906
  },
809
907
  {
810
- "name": "unCheckedIcon",
811
- "description": "非选中时的文本",
908
+ "name": "message",
909
+ "description": "校验文本信息",
812
910
  "attribute": false,
813
- "type": "GeneralIconProps"
911
+ "type": "Record<string, string>"
814
912
  }
815
913
  ],
816
914
  "events": [
817
915
  {
818
- "name": "switch",
819
- "description": "开关改变时触发",
916
+ "name": "change",
917
+ "description": "值变化时触发",
820
918
  "detail": {
821
- "type": "boolean"
919
+ "type": "ImageData[]"
822
920
  }
823
921
  }
824
922
  ],
825
923
  "slots": [],
826
924
  "methods": [],
827
925
  "parts": [],
828
- "description": "开关",
926
+ "description": "上传图片构件",
829
927
  "category": "form-input-basic"
830
928
  },
831
929
  {
832
- "name": "eo-upload-image",
930
+ "name": "eo-switch",
833
931
  "alias": [
834
- "form.upload-image"
932
+ "form.general-switch"
835
933
  ],
836
934
  "properties": [
837
935
  {
@@ -841,60 +939,60 @@
841
939
  },
842
940
  {
843
941
  "name": "label",
844
- "description": "字段说明",
942
+ "description": "字段文本",
845
943
  "type": "string"
846
944
  },
847
945
  {
848
946
  "name": "value",
849
- "description": "",
850
- "attribute": false,
851
- "type": "ImageData[]"
947
+ "description": "初始值",
948
+ "type": "boolean"
852
949
  },
853
950
  {
854
- "name": "bucketName",
855
- "description": "对象存储桶名字",
856
- "type": "string"
951
+ "name": "disabled",
952
+ "description": "是否禁用",
953
+ "type": "boolean"
857
954
  },
858
955
  {
859
- "name": "maxCount",
860
- "description": "最大上传数量",
861
- "type": "number"
956
+ "name": "size",
957
+ "description": "按钮大小,目前只支持small和非small两种大小。",
958
+ "type": "ComponentSize"
862
959
  },
863
960
  {
864
- "name": "multiple",
865
- "description": "是否支持选定的多张图片",
866
- "type": "boolean"
961
+ "name": "checkedText",
962
+ "description": "选中时的文本",
963
+ "type": "string"
867
964
  },
868
965
  {
869
- "name": "limitSize",
870
- "description": "上传大小限制(单位为 MB)",
871
- "type": "number"
966
+ "name": "unCheckedText",
967
+ "description": "非选中时的文本",
968
+ "type": "string"
872
969
  },
873
970
  {
874
- "name": "required",
875
- "description": "是否必填",
876
- "type": "boolean"
971
+ "name": "checkedIcon",
972
+ "description": "选中时的图标",
973
+ "attribute": false,
974
+ "type": "GeneralIconProps"
877
975
  },
878
976
  {
879
- "name": "message",
880
- "description": "校验文本信息",
977
+ "name": "unCheckedIcon",
978
+ "description": "非选中时的文本",
881
979
  "attribute": false,
882
- "type": "Record<string, string>"
980
+ "type": "GeneralIconProps"
883
981
  }
884
982
  ],
885
983
  "events": [
886
984
  {
887
- "name": "change",
888
- "description": "值变化时触发",
985
+ "name": "switch",
986
+ "description": "开关改变时触发",
889
987
  "detail": {
890
- "type": "ImageData[]"
988
+ "type": "boolean"
891
989
  }
892
990
  }
893
991
  ],
894
992
  "slots": [],
895
993
  "methods": [],
896
994
  "parts": [],
897
- "description": "上传图片构件",
995
+ "description": "开关",
898
996
  "category": "form-input-basic"
899
997
  },
900
998
  {
@@ -1278,104 +1376,6 @@
1278
1376
  "description": "日期选择器",
1279
1377
  "category": "form-input-basic"
1280
1378
  },
1281
- {
1282
- "name": "eo-textarea",
1283
- "alias": [
1284
- "form.general-textarea"
1285
- ],
1286
- "properties": [
1287
- {
1288
- "name": "name",
1289
- "description": "字段名称",
1290
- "type": "string"
1291
- },
1292
- {
1293
- "name": "label",
1294
- "description": "标签文字",
1295
- "type": "string"
1296
- },
1297
- {
1298
- "name": "value",
1299
- "description": "值",
1300
- "type": "string"
1301
- },
1302
- {
1303
- "name": "placeholder",
1304
- "description": "占位说明",
1305
- "type": "string"
1306
- },
1307
- {
1308
- "name": "disabled",
1309
- "description": "是否禁用",
1310
- "type": "boolean"
1311
- },
1312
- {
1313
- "name": "minLength",
1314
- "description": "最小长度",
1315
- "type": "number"
1316
- },
1317
- {
1318
- "name": "maxLength",
1319
- "description": "最大长度",
1320
- "type": "number"
1321
- },
1322
- {
1323
- "name": "autoSize",
1324
- "description": "大小自适应",
1325
- "attribute": false,
1326
- "type": "AutoSize"
1327
- },
1328
- {
1329
- "name": "required",
1330
- "description": "是否必填",
1331
- "type": "boolean"
1332
- },
1333
- {
1334
- "name": "max",
1335
- "description": "表单校验最大长度",
1336
- "type": "number"
1337
- },
1338
- {
1339
- "name": "min",
1340
- "description": "表单校验最小长度",
1341
- "type": "number"
1342
- },
1343
- {
1344
- "name": "message",
1345
- "description": "校验信息",
1346
- "attribute": false,
1347
- "type": "Record<string, string>"
1348
- },
1349
- {
1350
- "name": "textareaStyle",
1351
- "description": "自定义样式",
1352
- "attribute": false,
1353
- "type": "React.CSSProperties"
1354
- }
1355
- ],
1356
- "events": [
1357
- {
1358
- "name": "change",
1359
- "description": "",
1360
- "detail": {
1361
- "description": null,
1362
- "type": "string"
1363
- }
1364
- }
1365
- ],
1366
- "slots": [],
1367
- "methods": [
1368
- {
1369
- "name": "focusTextarea",
1370
- "params": [],
1371
- "description": "focus",
1372
- "returns": {}
1373
- }
1374
- ],
1375
- "parts": [],
1376
- "description": "通用多行文本输入框构件",
1377
- "category": "form-input-basic"
1378
- },
1379
1379
  {
1380
1380
  "name": "eo-time-range-picker",
1381
1381
  "properties": [