@next-bricks/form 1.13.1 → 1.13.3
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.
- package/dist/bricks.json +42 -42
- package/dist/chunks/9259.775d4658.js +3 -0
- package/dist/chunks/9259.775d4658.js.map +1 -0
- package/dist/chunks/eo-checkbox.f6f6da44.js +3 -0
- package/dist/chunks/eo-checkbox.f6f6da44.js.map +1 -0
- package/dist/chunks/eo-textarea.58b1d58e.js +2 -0
- package/dist/chunks/eo-textarea.58b1d58e.js.map +1 -0
- package/dist/chunks/{main.3f10dde8.js → main.ae467807.js} +2 -2
- package/dist/chunks/{main.3f10dde8.js.map → main.ae467807.js.map} +1 -1
- package/dist/examples.json +12 -12
- package/dist/{index.3a1dae93.js → index.59e2a044.js} +2 -2
- package/dist/{index.3a1dae93.js.map → index.59e2a044.js.map} +1 -1
- package/dist/manifest.json +326 -326
- package/dist/types.json +446 -446
- package/package.json +2 -2
- package/dist/chunks/9259.49033ecf.js +0 -3
- package/dist/chunks/9259.49033ecf.js.map +0 -1
- package/dist/chunks/eo-checkbox.53e20010.js +0 -3
- package/dist/chunks/eo-checkbox.53e20010.js.map +0 -1
- package/dist/chunks/eo-textarea.d836fa39.js +0 -2
- package/dist/chunks/eo-textarea.d836fa39.js.map +0 -1
- /package/dist/chunks/{9259.49033ecf.js.LICENSE.txt → 9259.775d4658.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-checkbox.53e20010.js.LICENSE.txt → eo-checkbox.f6f6da44.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -189,259 +189,200 @@
|
|
|
189
189
|
"category": "form-input-basic"
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
|
-
"name": "eo-
|
|
192
|
+
"name": "eo-form-item",
|
|
193
193
|
"alias": [
|
|
194
|
-
"form.general-
|
|
194
|
+
"form.general-form-item"
|
|
195
195
|
],
|
|
196
196
|
"properties": [
|
|
197
|
+
{
|
|
198
|
+
"name": "formElement",
|
|
199
|
+
"attribute": false,
|
|
200
|
+
"type": "Form"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "curElement",
|
|
204
|
+
"attribute": false,
|
|
205
|
+
"type": "HTMLElement"
|
|
206
|
+
},
|
|
197
207
|
{
|
|
198
208
|
"name": "name",
|
|
199
|
-
"description": "
|
|
209
|
+
"description": "字段名称",
|
|
200
210
|
"type": "string"
|
|
201
211
|
},
|
|
202
212
|
{
|
|
203
213
|
"name": "label",
|
|
204
|
-
"description": "单选框字段说明",
|
|
205
214
|
"type": "string"
|
|
206
215
|
},
|
|
207
216
|
{
|
|
208
|
-
"name": "
|
|
209
|
-
"
|
|
210
|
-
"required": true,
|
|
211
|
-
"attribute": false,
|
|
212
|
-
"type": "GeneralOption[]"
|
|
217
|
+
"name": "pattern",
|
|
218
|
+
"type": "string"
|
|
213
219
|
},
|
|
214
220
|
{
|
|
215
|
-
"name": "
|
|
216
|
-
"description": "单选框当前选中始值",
|
|
221
|
+
"name": "message",
|
|
217
222
|
"attribute": false,
|
|
218
|
-
"type": "
|
|
223
|
+
"type": "Record<string, string>"
|
|
219
224
|
},
|
|
220
225
|
{
|
|
221
|
-
"name": "
|
|
222
|
-
"
|
|
223
|
-
"type": "boolean"
|
|
226
|
+
"name": "max",
|
|
227
|
+
"type": "number"
|
|
224
228
|
},
|
|
225
229
|
{
|
|
226
|
-
"name": "
|
|
227
|
-
"
|
|
228
|
-
"attribute": false,
|
|
229
|
-
"type": "Record<string, string>"
|
|
230
|
+
"name": "min",
|
|
231
|
+
"type": "number"
|
|
230
232
|
},
|
|
231
233
|
{
|
|
232
|
-
"name": "
|
|
233
|
-
"description": "
|
|
234
|
+
"name": "required",
|
|
235
|
+
"description": "表单项是否为必填",
|
|
234
236
|
"type": "boolean"
|
|
235
237
|
},
|
|
236
238
|
{
|
|
237
|
-
"name": "
|
|
238
|
-
"description": "
|
|
239
|
-
"
|
|
240
|
-
"type": "RadioType"
|
|
239
|
+
"name": "value",
|
|
240
|
+
"description": "初始值",
|
|
241
|
+
"type": "string"
|
|
241
242
|
},
|
|
242
243
|
{
|
|
243
|
-
"name": "
|
|
244
|
-
"
|
|
245
|
-
|
|
246
|
-
|
|
244
|
+
"name": "valuePropsName",
|
|
245
|
+
"type": "string"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "layout",
|
|
249
|
+
"type": "Layout"
|
|
247
250
|
},
|
|
248
251
|
{
|
|
249
252
|
"name": "size",
|
|
250
|
-
"description": "大小,只对按钮样式生效",
|
|
251
|
-
"default": "\"medium\"",
|
|
252
253
|
"type": "ComponentSize"
|
|
253
254
|
},
|
|
254
255
|
{
|
|
255
|
-
"name": "
|
|
256
|
-
"description": "
|
|
257
|
-
"
|
|
258
|
-
"type": "React.CSSProperties"
|
|
256
|
+
"name": "trim",
|
|
257
|
+
"description": "是否自动去除前后的空白字符",
|
|
258
|
+
"default": "true"
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
|
-
"name": "
|
|
262
|
-
"description": "
|
|
261
|
+
"name": "trigger",
|
|
262
|
+
"description": "事件触发方法名",
|
|
263
|
+
"type": "string"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "validator",
|
|
267
|
+
"description": "表单项校验方法",
|
|
263
268
|
"attribute": false,
|
|
264
|
-
"type": "
|
|
269
|
+
"type": "((value: any) => MessageBody)"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "needValidate",
|
|
273
|
+
"description": "值变化时是否主动出发校验",
|
|
274
|
+
"type": "boolean"
|
|
265
275
|
}
|
|
266
276
|
],
|
|
267
|
-
"events": [
|
|
268
|
-
|
|
269
|
-
"name": "change",
|
|
270
|
-
"description": "值变化事件",
|
|
271
|
-
"detail": {
|
|
272
|
-
"type": "GeneralComplexOption | undefined"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
277
|
+
"events": [],
|
|
278
|
+
"slots": [
|
|
275
279
|
{
|
|
276
|
-
"name":
|
|
277
|
-
"description": "
|
|
278
|
-
"detail": {
|
|
279
|
-
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
280
|
-
}
|
|
280
|
+
"name": null,
|
|
281
|
+
"description": "表单项内容"
|
|
281
282
|
}
|
|
282
283
|
],
|
|
283
|
-
"slots": [],
|
|
284
284
|
"methods": [],
|
|
285
285
|
"parts": [],
|
|
286
|
-
"description": "
|
|
287
|
-
"category": "form-input-basic"
|
|
286
|
+
"description": "通用输入框构件",
|
|
287
|
+
"category": "form-input-basic",
|
|
288
|
+
"insider": true
|
|
288
289
|
},
|
|
289
290
|
{
|
|
290
|
-
"name": "eo-
|
|
291
|
+
"name": "eo-radio",
|
|
291
292
|
"alias": [
|
|
292
|
-
"form.general-
|
|
293
|
+
"form.general-radio"
|
|
293
294
|
],
|
|
294
295
|
"properties": [
|
|
295
296
|
{
|
|
296
297
|
"name": "name",
|
|
297
|
-
"description": "
|
|
298
|
+
"description": "下拉框字段名",
|
|
298
299
|
"type": "string"
|
|
299
300
|
},
|
|
300
301
|
{
|
|
301
302
|
"name": "label",
|
|
302
|
-
"description": "
|
|
303
|
-
"type": "string"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"name": "value",
|
|
307
|
-
"description": "值",
|
|
308
|
-
"type": "string"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"name": "placeholder",
|
|
312
|
-
"description": "占位说明",
|
|
303
|
+
"description": "单选框字段说明",
|
|
313
304
|
"type": "string"
|
|
314
305
|
},
|
|
315
306
|
{
|
|
316
|
-
"name": "
|
|
317
|
-
"description": "
|
|
318
|
-
"
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
"name": "minLength",
|
|
322
|
-
"description": "最小长度",
|
|
323
|
-
"type": "number"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"name": "maxLength",
|
|
327
|
-
"description": "最大长度",
|
|
328
|
-
"type": "number"
|
|
307
|
+
"name": "options",
|
|
308
|
+
"description": "单选框选项表",
|
|
309
|
+
"required": true,
|
|
310
|
+
"attribute": false,
|
|
311
|
+
"type": "GeneralOption[]"
|
|
329
312
|
},
|
|
330
313
|
{
|
|
331
|
-
"name": "
|
|
332
|
-
"description": "
|
|
314
|
+
"name": "value",
|
|
315
|
+
"description": "单选框当前选中始值",
|
|
333
316
|
"attribute": false,
|
|
334
|
-
"type": "
|
|
317
|
+
"type": "any"
|
|
335
318
|
},
|
|
336
319
|
{
|
|
337
320
|
"name": "required",
|
|
338
321
|
"description": "是否必填",
|
|
339
322
|
"type": "boolean"
|
|
340
323
|
},
|
|
341
|
-
{
|
|
342
|
-
"name": "max",
|
|
343
|
-
"description": "表单校验最大长度",
|
|
344
|
-
"type": "number"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"name": "min",
|
|
348
|
-
"description": "表单校验最小长度",
|
|
349
|
-
"type": "number"
|
|
350
|
-
},
|
|
351
324
|
{
|
|
352
325
|
"name": "message",
|
|
353
|
-
"description": "
|
|
326
|
+
"description": "校验文本信息",
|
|
354
327
|
"attribute": false,
|
|
355
328
|
"type": "Record<string, string>"
|
|
356
329
|
},
|
|
357
330
|
{
|
|
358
|
-
"name": "
|
|
359
|
-
"description": "
|
|
360
|
-
"
|
|
361
|
-
"type": "React.CSSProperties"
|
|
362
|
-
}
|
|
363
|
-
],
|
|
364
|
-
"events": [
|
|
365
|
-
{
|
|
366
|
-
"name": "change",
|
|
367
|
-
"description": "",
|
|
368
|
-
"detail": {
|
|
369
|
-
"description": null,
|
|
370
|
-
"type": "string"
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
],
|
|
374
|
-
"slots": [],
|
|
375
|
-
"methods": [
|
|
376
|
-
{
|
|
377
|
-
"name": "focusTextarea",
|
|
378
|
-
"params": [],
|
|
379
|
-
"description": "focus",
|
|
380
|
-
"returns": {}
|
|
381
|
-
}
|
|
382
|
-
],
|
|
383
|
-
"parts": [],
|
|
384
|
-
"description": "通用多行文本输入框构件",
|
|
385
|
-
"category": "form-input-basic"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"name": "eo-submit-buttons",
|
|
389
|
-
"alias": [
|
|
390
|
-
"form.submit-buttons"
|
|
391
|
-
],
|
|
392
|
-
"properties": [
|
|
393
|
-
{
|
|
394
|
-
"name": "submitText",
|
|
395
|
-
"description": "提交按钮的文字",
|
|
396
|
-
"default": "\"提交\"",
|
|
397
|
-
"type": "string"
|
|
331
|
+
"name": "disabled",
|
|
332
|
+
"description": "是否禁用",
|
|
333
|
+
"type": "boolean"
|
|
398
334
|
},
|
|
399
335
|
{
|
|
400
|
-
"name": "
|
|
401
|
-
"description": "
|
|
402
|
-
"
|
|
336
|
+
"name": "type",
|
|
337
|
+
"description": "单选框样式类型",
|
|
338
|
+
"default": "\"default\"",
|
|
339
|
+
"type": "RadioType"
|
|
403
340
|
},
|
|
404
341
|
{
|
|
405
|
-
"name": "
|
|
406
|
-
"description": "
|
|
407
|
-
"
|
|
342
|
+
"name": "ui",
|
|
343
|
+
"description": "UI样式",
|
|
344
|
+
"default": "\"default\"",
|
|
345
|
+
"type": "UIType"
|
|
408
346
|
},
|
|
409
347
|
{
|
|
410
|
-
"name": "
|
|
411
|
-
"description": "
|
|
412
|
-
"
|
|
348
|
+
"name": "size",
|
|
349
|
+
"description": "大小,只对按钮样式生效",
|
|
350
|
+
"default": "\"medium\"",
|
|
351
|
+
"type": "ComponentSize"
|
|
413
352
|
},
|
|
414
353
|
{
|
|
415
|
-
"name": "
|
|
416
|
-
"description": "
|
|
417
|
-
"
|
|
354
|
+
"name": "customStyle",
|
|
355
|
+
"description": "自定义radio的外层样式",
|
|
356
|
+
"attribute": false,
|
|
357
|
+
"type": "React.CSSProperties"
|
|
418
358
|
},
|
|
419
359
|
{
|
|
420
|
-
"name": "
|
|
421
|
-
"description": "
|
|
422
|
-
"
|
|
360
|
+
"name": "useBrick",
|
|
361
|
+
"description": "自定义radio的内容",
|
|
362
|
+
"attribute": false,
|
|
363
|
+
"type": "UseSingleBrickConf"
|
|
423
364
|
}
|
|
424
365
|
],
|
|
425
366
|
"events": [
|
|
426
367
|
{
|
|
427
|
-
"name": "
|
|
428
|
-
"description": "
|
|
368
|
+
"name": "change",
|
|
369
|
+
"description": "值变化事件",
|
|
429
370
|
"detail": {
|
|
430
|
-
"type": "
|
|
371
|
+
"type": "GeneralComplexOption | undefined"
|
|
431
372
|
}
|
|
432
373
|
},
|
|
433
374
|
{
|
|
434
|
-
"name": "
|
|
435
|
-
"description": "
|
|
375
|
+
"name": "options.change",
|
|
376
|
+
"description": "选项列表变化事件",
|
|
436
377
|
"detail": {
|
|
437
|
-
"type": "
|
|
378
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
438
379
|
}
|
|
439
380
|
}
|
|
440
381
|
],
|
|
441
382
|
"slots": [],
|
|
442
383
|
"methods": [],
|
|
443
384
|
"parts": [],
|
|
444
|
-
"description": "
|
|
385
|
+
"description": "通用单选构件",
|
|
445
386
|
"category": "form-input-basic"
|
|
446
387
|
},
|
|
447
388
|
{
|
|
@@ -727,7 +668,165 @@
|
|
|
727
668
|
"category": "form-input-basic"
|
|
728
669
|
},
|
|
729
670
|
{
|
|
730
|
-
"name": "eo-
|
|
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
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "cancelText",
|
|
782
|
+
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
783
|
+
"type": "string"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "disableAfterClick",
|
|
787
|
+
"description": "点击确定按钮后自动禁用",
|
|
788
|
+
"type": "boolean"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "submitDisabled",
|
|
792
|
+
"description": "禁用提交按钮",
|
|
793
|
+
"type": "boolean"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "submitType",
|
|
797
|
+
"description": "提交按钮类型",
|
|
798
|
+
"type": "ButtonType"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"name": "cancelType",
|
|
802
|
+
"description": "取消按钮类型",
|
|
803
|
+
"type": "ButtonType"
|
|
804
|
+
}
|
|
805
|
+
],
|
|
806
|
+
"events": [
|
|
807
|
+
{
|
|
808
|
+
"name": "submit",
|
|
809
|
+
"description": "点击提交按钮触发的事件",
|
|
810
|
+
"detail": {
|
|
811
|
+
"type": "void"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"name": "cancel",
|
|
816
|
+
"description": "点击取消按钮触发的事件",
|
|
817
|
+
"detail": {
|
|
818
|
+
"type": "void"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
"slots": [],
|
|
823
|
+
"methods": [],
|
|
824
|
+
"parts": [],
|
|
825
|
+
"description": "表单提交按钮",
|
|
826
|
+
"category": "form-input-basic"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "eo-checkbox",
|
|
731
830
|
"alias": [
|
|
732
831
|
"form.general-checkbox"
|
|
733
832
|
],
|
|
@@ -911,21 +1010,11 @@
|
|
|
911
1010
|
"category": "form-input-basic"
|
|
912
1011
|
},
|
|
913
1012
|
{
|
|
914
|
-
"name": "eo-
|
|
1013
|
+
"name": "eo-upload-image",
|
|
915
1014
|
"alias": [
|
|
916
|
-
"form.
|
|
1015
|
+
"form.upload-image"
|
|
917
1016
|
],
|
|
918
1017
|
"properties": [
|
|
919
|
-
{
|
|
920
|
-
"name": "formElement",
|
|
921
|
-
"attribute": false,
|
|
922
|
-
"type": "Form"
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
"name": "curElement",
|
|
926
|
-
"attribute": false,
|
|
927
|
-
"type": "HTMLElement"
|
|
928
|
-
},
|
|
929
1018
|
{
|
|
930
1019
|
"name": "name",
|
|
931
1020
|
"description": "字段名称",
|
|
@@ -933,81 +1022,61 @@
|
|
|
933
1022
|
},
|
|
934
1023
|
{
|
|
935
1024
|
"name": "label",
|
|
1025
|
+
"description": "字段说明",
|
|
936
1026
|
"type": "string"
|
|
937
1027
|
},
|
|
938
1028
|
{
|
|
939
|
-
"name": "
|
|
940
|
-
"
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
"name": "message",
|
|
1029
|
+
"name": "value",
|
|
1030
|
+
"description": "值",
|
|
944
1031
|
"attribute": false,
|
|
945
|
-
"type": "
|
|
1032
|
+
"type": "ImageData[]"
|
|
946
1033
|
},
|
|
947
1034
|
{
|
|
948
|
-
"name": "
|
|
949
|
-
"
|
|
1035
|
+
"name": "bucketName",
|
|
1036
|
+
"description": "对象存储桶名字",
|
|
1037
|
+
"type": "string"
|
|
950
1038
|
},
|
|
951
1039
|
{
|
|
952
|
-
"name": "
|
|
1040
|
+
"name": "maxCount",
|
|
1041
|
+
"description": "最大上传数量",
|
|
953
1042
|
"type": "number"
|
|
954
1043
|
},
|
|
955
1044
|
{
|
|
956
|
-
"name": "
|
|
957
|
-
"description": "
|
|
1045
|
+
"name": "multiple",
|
|
1046
|
+
"description": "是否支持选定的多张图片",
|
|
958
1047
|
"type": "boolean"
|
|
959
1048
|
},
|
|
960
1049
|
{
|
|
961
|
-
"name": "
|
|
962
|
-
"description": "
|
|
963
|
-
"type": "
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
"name": "valuePropsName",
|
|
967
|
-
"type": "string"
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
"name": "layout",
|
|
971
|
-
"type": "Layout"
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
"name": "size",
|
|
975
|
-
"type": "ComponentSize"
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"name": "trim",
|
|
979
|
-
"description": "是否自动去除前后的空白字符",
|
|
980
|
-
"default": "true"
|
|
1050
|
+
"name": "limitSize",
|
|
1051
|
+
"description": "上传大小限制(单位为 MB)",
|
|
1052
|
+
"type": "number"
|
|
981
1053
|
},
|
|
982
1054
|
{
|
|
983
|
-
"name": "
|
|
984
|
-
"description": "
|
|
985
|
-
"type": "
|
|
1055
|
+
"name": "required",
|
|
1056
|
+
"description": "是否必填",
|
|
1057
|
+
"type": "boolean"
|
|
986
1058
|
},
|
|
987
1059
|
{
|
|
988
|
-
"name": "
|
|
989
|
-
"description": "
|
|
1060
|
+
"name": "message",
|
|
1061
|
+
"description": "校验文本信息",
|
|
990
1062
|
"attribute": false,
|
|
991
|
-
"type": "
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
"name": "needValidate",
|
|
995
|
-
"description": "值变化时是否主动出发校验",
|
|
996
|
-
"type": "boolean"
|
|
1063
|
+
"type": "Record<string, string>"
|
|
997
1064
|
}
|
|
998
1065
|
],
|
|
999
|
-
"events": [
|
|
1000
|
-
"slots": [
|
|
1066
|
+
"events": [
|
|
1001
1067
|
{
|
|
1002
|
-
"name":
|
|
1003
|
-
"description": "
|
|
1068
|
+
"name": "change",
|
|
1069
|
+
"description": "值变化时触发",
|
|
1070
|
+
"detail": {
|
|
1071
|
+
"type": "ImageData[]"
|
|
1072
|
+
}
|
|
1004
1073
|
}
|
|
1005
1074
|
],
|
|
1075
|
+
"slots": [],
|
|
1006
1076
|
"methods": [],
|
|
1007
1077
|
"parts": [],
|
|
1008
|
-
"description": "
|
|
1009
|
-
"category": "form-input-basic"
|
|
1010
|
-
"insider": true
|
|
1078
|
+
"description": "上传图片构件",
|
|
1079
|
+
"category": "form-input-basic"
|
|
1011
1080
|
},
|
|
1012
1081
|
{
|
|
1013
1082
|
"name": "eo-search",
|
|
@@ -1071,9 +1140,9 @@
|
|
|
1071
1140
|
"category": "interact-basic"
|
|
1072
1141
|
},
|
|
1073
1142
|
{
|
|
1074
|
-
"name": "eo-
|
|
1143
|
+
"name": "eo-switch",
|
|
1075
1144
|
"alias": [
|
|
1076
|
-
"form.
|
|
1145
|
+
"form.general-switch"
|
|
1077
1146
|
],
|
|
1078
1147
|
"properties": [
|
|
1079
1148
|
{
|
|
@@ -1083,14 +1152,13 @@
|
|
|
1083
1152
|
},
|
|
1084
1153
|
{
|
|
1085
1154
|
"name": "label",
|
|
1086
|
-
"description": "
|
|
1155
|
+
"description": "字段文本",
|
|
1087
1156
|
"type": "string"
|
|
1088
1157
|
},
|
|
1089
1158
|
{
|
|
1090
1159
|
"name": "value",
|
|
1091
|
-
"description": "
|
|
1092
|
-
"
|
|
1093
|
-
"type": "Icon"
|
|
1160
|
+
"description": "初始值",
|
|
1161
|
+
"type": "boolean"
|
|
1094
1162
|
},
|
|
1095
1163
|
{
|
|
1096
1164
|
"name": "disabled",
|
|
@@ -1098,105 +1166,52 @@
|
|
|
1098
1166
|
"type": "boolean"
|
|
1099
1167
|
},
|
|
1100
1168
|
{
|
|
1101
|
-
"name": "
|
|
1102
|
-
"description": "
|
|
1103
|
-
"type": "
|
|
1169
|
+
"name": "size",
|
|
1170
|
+
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
1171
|
+
"type": "ComponentSize"
|
|
1104
1172
|
},
|
|
1105
1173
|
{
|
|
1106
|
-
"name": "
|
|
1107
|
-
"description": "
|
|
1108
|
-
"attribute": false,
|
|
1109
|
-
"type": "Record<string, string>"
|
|
1110
|
-
}
|
|
1111
|
-
],
|
|
1112
|
-
"events": [
|
|
1113
|
-
{
|
|
1114
|
-
"name": "change",
|
|
1115
|
-
"description": "值变化时触发",
|
|
1116
|
-
"detail": {
|
|
1117
|
-
"type": "Icon | undefined"
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
],
|
|
1121
|
-
"slots": [],
|
|
1122
|
-
"methods": [],
|
|
1123
|
-
"parts": [],
|
|
1124
|
-
"description": "图标选择构件",
|
|
1125
|
-
"category": "form-input-basic"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"name": "eo-upload-image",
|
|
1129
|
-
"alias": [
|
|
1130
|
-
"form.upload-image"
|
|
1131
|
-
],
|
|
1132
|
-
"properties": [
|
|
1133
|
-
{
|
|
1134
|
-
"name": "name",
|
|
1135
|
-
"description": "字段名称",
|
|
1174
|
+
"name": "checkedText",
|
|
1175
|
+
"description": "选中时的文本",
|
|
1136
1176
|
"type": "string"
|
|
1137
1177
|
},
|
|
1138
1178
|
{
|
|
1139
|
-
"name": "
|
|
1140
|
-
"description": "
|
|
1179
|
+
"name": "unCheckedText",
|
|
1180
|
+
"description": "非选中时的文本",
|
|
1141
1181
|
"type": "string"
|
|
1142
1182
|
},
|
|
1143
1183
|
{
|
|
1144
|
-
"name": "
|
|
1145
|
-
"description": "
|
|
1184
|
+
"name": "checkedIcon",
|
|
1185
|
+
"description": "选中时的图标",
|
|
1146
1186
|
"attribute": false,
|
|
1147
|
-
"type": "
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"name": "bucketName",
|
|
1151
|
-
"description": "对象存储桶名字",
|
|
1152
|
-
"type": "string"
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
"name": "maxCount",
|
|
1156
|
-
"description": "最大上传数量",
|
|
1157
|
-
"type": "number"
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"name": "multiple",
|
|
1161
|
-
"description": "是否支持选定的多张图片",
|
|
1162
|
-
"type": "boolean"
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
"name": "limitSize",
|
|
1166
|
-
"description": "上传大小限制(单位为 MB)",
|
|
1167
|
-
"type": "number"
|
|
1168
|
-
},
|
|
1169
|
-
{
|
|
1170
|
-
"name": "required",
|
|
1171
|
-
"description": "是否必填",
|
|
1172
|
-
"type": "boolean"
|
|
1187
|
+
"type": "GeneralIconProps"
|
|
1173
1188
|
},
|
|
1174
1189
|
{
|
|
1175
|
-
"name": "
|
|
1176
|
-
"description": "
|
|
1190
|
+
"name": "unCheckedIcon",
|
|
1191
|
+
"description": "非选中时的文本",
|
|
1177
1192
|
"attribute": false,
|
|
1178
|
-
"type": "
|
|
1193
|
+
"type": "GeneralIconProps"
|
|
1179
1194
|
}
|
|
1180
1195
|
],
|
|
1181
1196
|
"events": [
|
|
1182
1197
|
{
|
|
1183
|
-
"name": "
|
|
1184
|
-
"description": "
|
|
1198
|
+
"name": "switch",
|
|
1199
|
+
"description": "开关改变时触发",
|
|
1185
1200
|
"detail": {
|
|
1186
|
-
"type": "
|
|
1201
|
+
"type": "boolean"
|
|
1187
1202
|
}
|
|
1188
1203
|
}
|
|
1189
1204
|
],
|
|
1190
1205
|
"slots": [],
|
|
1191
1206
|
"methods": [],
|
|
1192
1207
|
"parts": [],
|
|
1193
|
-
"description": "
|
|
1208
|
+
"description": "开关",
|
|
1194
1209
|
"category": "form-input-basic"
|
|
1195
1210
|
},
|
|
1196
1211
|
{
|
|
1197
|
-
"name": "eo-
|
|
1212
|
+
"name": "eo-icon-select",
|
|
1198
1213
|
"alias": [
|
|
1199
|
-
"form.
|
|
1214
|
+
"form.icon-select"
|
|
1200
1215
|
],
|
|
1201
1216
|
"properties": [
|
|
1202
1217
|
{
|
|
@@ -1206,13 +1221,14 @@
|
|
|
1206
1221
|
},
|
|
1207
1222
|
{
|
|
1208
1223
|
"name": "label",
|
|
1209
|
-
"description": "
|
|
1224
|
+
"description": "字段说明",
|
|
1210
1225
|
"type": "string"
|
|
1211
1226
|
},
|
|
1212
1227
|
{
|
|
1213
1228
|
"name": "value",
|
|
1214
|
-
"description": "
|
|
1215
|
-
"
|
|
1229
|
+
"description": "值",
|
|
1230
|
+
"attribute": false,
|
|
1231
|
+
"type": "Icon"
|
|
1216
1232
|
},
|
|
1217
1233
|
{
|
|
1218
1234
|
"name": "disabled",
|
|
@@ -1220,46 +1236,30 @@
|
|
|
1220
1236
|
"type": "boolean"
|
|
1221
1237
|
},
|
|
1222
1238
|
{
|
|
1223
|
-
"name": "
|
|
1224
|
-
"description": "
|
|
1225
|
-
"type": "
|
|
1226
|
-
},
|
|
1227
|
-
{
|
|
1228
|
-
"name": "checkedText",
|
|
1229
|
-
"description": "选中时的文本",
|
|
1230
|
-
"type": "string"
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"name": "unCheckedText",
|
|
1234
|
-
"description": "非选中时的文本",
|
|
1235
|
-
"type": "string"
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"name": "checkedIcon",
|
|
1239
|
-
"description": "选中时的图标",
|
|
1240
|
-
"attribute": false,
|
|
1241
|
-
"type": "GeneralIconProps"
|
|
1239
|
+
"name": "required",
|
|
1240
|
+
"description": "是否必填",
|
|
1241
|
+
"type": "boolean"
|
|
1242
1242
|
},
|
|
1243
1243
|
{
|
|
1244
|
-
"name": "
|
|
1245
|
-
"description": "
|
|
1244
|
+
"name": "message",
|
|
1245
|
+
"description": "是否必填",
|
|
1246
1246
|
"attribute": false,
|
|
1247
|
-
"type": "
|
|
1247
|
+
"type": "Record<string, string>"
|
|
1248
1248
|
}
|
|
1249
1249
|
],
|
|
1250
1250
|
"events": [
|
|
1251
1251
|
{
|
|
1252
|
-
"name": "
|
|
1253
|
-
"description": "
|
|
1252
|
+
"name": "change",
|
|
1253
|
+
"description": "值变化时触发",
|
|
1254
1254
|
"detail": {
|
|
1255
|
-
"type": "
|
|
1255
|
+
"type": "Icon | undefined"
|
|
1256
1256
|
}
|
|
1257
1257
|
}
|
|
1258
1258
|
],
|
|
1259
1259
|
"slots": [],
|
|
1260
1260
|
"methods": [],
|
|
1261
1261
|
"parts": [],
|
|
1262
|
-
"description": "
|
|
1262
|
+
"description": "图标选择构件",
|
|
1263
1263
|
"category": "form-input-basic"
|
|
1264
1264
|
},
|
|
1265
1265
|
{
|