@next-bricks/form 1.10.10 → 1.10.11
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 +33 -33
- package/dist/chunks/{1122.15ca3498.js → 1122.11480bc6.js} +2 -2
- package/dist/chunks/1122.11480bc6.js.map +1 -0
- package/dist/chunks/{114.44811d5e.js → 114.35fbcda8.js} +2 -2
- package/dist/chunks/{114.44811d5e.js.map → 114.35fbcda8.js.map} +1 -1
- package/dist/chunks/{1269.b91c7b97.js → 1269.ac864235.js} +2 -2
- package/dist/chunks/{1269.b91c7b97.js.map → 1269.ac864235.js.map} +1 -1
- package/dist/chunks/{1940.77437a5b.js → 1940.1024d4dd.js} +2 -2
- package/dist/chunks/{1940.77437a5b.js.map → 1940.1024d4dd.js.map} +1 -1
- package/dist/chunks/{2277.a4439182.js → 2277.58fd0b5d.js} +2 -2
- package/dist/chunks/{4658.b99a62b1.js.map → 2277.58fd0b5d.js.map} +1 -1
- package/dist/chunks/{3067.fe48592d.js → 3067.8f7b35a9.js} +3 -3
- package/dist/chunks/{3067.fe48592d.js.map → 3067.8f7b35a9.js.map} +1 -1
- package/dist/chunks/{3171.6c88d780.js → 3171.34a4166c.js} +2 -2
- package/dist/chunks/{5552.8f4495b7.js.map → 3171.34a4166c.js.map} +1 -1
- package/dist/chunks/3533.1cf44075.js +3 -0
- package/dist/chunks/3533.1cf44075.js.map +1 -0
- package/dist/chunks/{3933.7b7ab263.js → 3933.8a1916e7.js} +2 -2
- package/dist/chunks/{6314.8546c040.js.map → 3933.8a1916e7.js.map} +1 -1
- package/dist/chunks/{4320.84fc9511.js → 4320.ca3377b0.js} +3 -3
- package/dist/chunks/{4320.84fc9511.js.map → 4320.ca3377b0.js.map} +1 -1
- package/dist/chunks/{4658.b99a62b1.js → 4658.56a37060.js} +2 -2
- package/dist/chunks/{2277.a4439182.js.map → 4658.56a37060.js.map} +1 -1
- package/dist/chunks/{4837.59ab16d8.js → 4837.26c06c6b.js} +2 -2
- package/dist/chunks/{4837.59ab16d8.js.map → 4837.26c06c6b.js.map} +1 -1
- package/dist/chunks/{5053.f902dd24.js → 5053.a529bc9f.js} +2 -2
- package/dist/chunks/{5053.f902dd24.js.map → 5053.a529bc9f.js.map} +1 -1
- package/dist/chunks/{5399.9bf18611.js → 5399.335a0d52.js} +2 -2
- package/dist/chunks/{5399.9bf18611.js.map → 5399.335a0d52.js.map} +1 -1
- package/dist/chunks/{5552.8f4495b7.js → 5552.492d0692.js} +2 -2
- package/dist/chunks/{3171.6c88d780.js.map → 5552.492d0692.js.map} +1 -1
- package/dist/chunks/{6314.8546c040.js → 6314.72503073.js} +2 -2
- package/dist/chunks/{3933.7b7ab263.js.map → 6314.72503073.js.map} +1 -1
- package/dist/chunks/{7218.1d36c6cf.js → 7218.c5484a7b.js} +2 -2
- package/dist/chunks/{7218.1d36c6cf.js.map → 7218.c5484a7b.js.map} +1 -1
- package/dist/chunks/{7434.7850a05d.js → 7434.4471086e.js} +2 -2
- package/dist/chunks/{7434.7850a05d.js.map → 7434.4471086e.js.map} +1 -1
- package/dist/chunks/{7733.4554be00.js → 7733.c06bbbb9.js} +2 -2
- package/dist/chunks/{7733.4554be00.js.map → 7733.c06bbbb9.js.map} +1 -1
- package/dist/chunks/{790.63e6b9c7.js → 790.a0f9407d.js} +2 -2
- package/dist/chunks/{790.63e6b9c7.js.map → 790.a0f9407d.js.map} +1 -1
- package/dist/chunks/{825.2c71d777.js → 825.56517ad0.js} +3 -3
- package/dist/chunks/{825.2c71d777.js.map → 825.56517ad0.js.map} +1 -1
- package/dist/chunks/{852.c12cc391.js → 852.ae478d19.js} +3 -3
- package/dist/chunks/{852.c12cc391.js.map → 852.ae478d19.js.map} +1 -1
- package/dist/chunks/{9259.a5242da6.js → 9259.5c55671d.js} +3 -3
- package/dist/chunks/{9259.a5242da6.js.map → 9259.5c55671d.js.map} +1 -1
- package/dist/chunks/{9559.1201530d.js → 9559.adb5e505.js} +2 -2
- package/dist/chunks/{9559.1201530d.js.map → 9559.adb5e505.js.map} +1 -1
- package/dist/chunks/{eo-auto-complete.b18a2118.js → eo-auto-complete.4d4e9dba.js} +3 -3
- package/dist/chunks/{eo-auto-complete.b18a2118.js.map → eo-auto-complete.4d4e9dba.js.map} +1 -1
- package/dist/chunks/{eo-checkbox.ff46fd8d.js → eo-checkbox.d68796c0.js} +2 -2
- package/dist/chunks/{eo-checkbox.ff46fd8d.js.map → eo-checkbox.d68796c0.js.map} +1 -1
- package/dist/chunks/{eo-color-picker.35f8818b.js → eo-color-picker.952b9ae2.js} +2 -2
- package/dist/chunks/{eo-color-picker.35f8818b.js.map → eo-color-picker.952b9ae2.js.map} +1 -1
- package/dist/chunks/{eo-date-picker.2cd6cdd6.js → eo-date-picker.3a617557.js} +2 -2
- package/dist/chunks/{eo-date-picker.2cd6cdd6.js.map → eo-date-picker.3a617557.js.map} +1 -1
- package/dist/chunks/{eo-dynamic-form-item.dedbe2af.js → eo-dynamic-form-item.ee18920c.js} +3 -3
- package/dist/chunks/{eo-dynamic-form-item.dedbe2af.js.map → eo-dynamic-form-item.ee18920c.js.map} +1 -1
- package/dist/chunks/{eo-form-item.2977d047.js → eo-form-item.2d8cb369.js} +3 -3
- package/dist/chunks/{eo-form-item.2977d047.js.map → eo-form-item.2d8cb369.js.map} +1 -1
- package/dist/chunks/{eo-form.2e40bff8.js → eo-form.39222d89.js} +2 -2
- package/dist/chunks/{eo-form.2e40bff8.js.map → eo-form.39222d89.js.map} +1 -1
- package/dist/chunks/{eo-icon-select.39ad0686.js → eo-icon-select.6cedecaa.js} +3 -3
- package/dist/chunks/{eo-icon-select.39ad0686.js.map → eo-icon-select.6cedecaa.js.map} +1 -1
- package/dist/chunks/{eo-input.7ebaa3bc.js → eo-input.f71db8e7.js} +3 -3
- package/dist/chunks/{eo-input.7ebaa3bc.js.map → eo-input.f71db8e7.js.map} +1 -1
- package/dist/chunks/{eo-radio.84a15ff7.js → eo-radio.1fdb1bde.js} +3 -3
- package/dist/chunks/{eo-radio.84a15ff7.js.map → eo-radio.1fdb1bde.js.map} +1 -1
- package/dist/chunks/{eo-search.c820a4db.js → eo-search.dc5d9068.js} +2 -2
- package/dist/chunks/{eo-search.c820a4db.js.map → eo-search.dc5d9068.js.map} +1 -1
- package/dist/chunks/{eo-select.323299b0.js → eo-select.a6755930.js} +3 -3
- package/dist/chunks/{eo-select.323299b0.js.map → eo-select.a6755930.js.map} +1 -1
- package/dist/chunks/{eo-submit-buttons.513afd6d.js → eo-submit-buttons.37536f54.js} +2 -2
- package/dist/chunks/{eo-submit-buttons.513afd6d.js.map → eo-submit-buttons.37536f54.js.map} +1 -1
- package/dist/chunks/{eo-switch.49c232d4.js → eo-switch.a3d53bec.js} +3 -3
- package/dist/chunks/{eo-switch.49c232d4.js.map → eo-switch.a3d53bec.js.map} +1 -1
- package/dist/chunks/{eo-textarea.dde9a8f5.js → eo-textarea.d255adb2.js} +3 -3
- package/dist/chunks/{eo-textarea.dde9a8f5.js.map → eo-textarea.d255adb2.js.map} +1 -1
- package/dist/chunks/{eo-time-picker.41cdd69d.js → eo-time-picker.9d536cb6.js} +2 -2
- package/dist/chunks/{eo-time-picker.41cdd69d.js.map → eo-time-picker.9d536cb6.js.map} +1 -1
- package/dist/chunks/{eo-time-range-picker.faa033a6.js → eo-time-range-picker.50ae4aa0.js} +2 -2
- package/dist/chunks/{eo-time-range-picker.faa033a6.js.map → eo-time-range-picker.50ae4aa0.js.map} +1 -1
- package/dist/chunks/{eo-upload-file.505d655f.js → eo-upload-file.ab4aa9ff.js} +3 -3
- package/dist/chunks/{eo-upload-file.505d655f.js.map → eo-upload-file.ab4aa9ff.js.map} +1 -1
- package/dist/chunks/{eo-upload-image.705818de.js → eo-upload-image.d2b4c2ff.js} +3 -3
- package/dist/chunks/{eo-upload-image.705818de.js.map → eo-upload-image.d2b4c2ff.js.map} +1 -1
- package/dist/chunks/main.786e437d.js +2 -0
- package/dist/chunks/{main.664cfa57.js.map → main.786e437d.js.map} +1 -1
- package/dist/examples.json +11 -11
- package/dist/index.34f0c569.js +2 -0
- package/dist/index.34f0c569.js.map +1 -0
- package/dist/manifest.json +331 -331
- package/dist/types.json +220 -220
- package/package.json +4 -4
- package/dist/chunks/1122.15ca3498.js.map +0 -1
- package/dist/chunks/3533.e004c608.js +0 -3
- package/dist/chunks/3533.e004c608.js.map +0 -1
- package/dist/chunks/main.664cfa57.js +0 -2
- package/dist/index.eac2691b.js +0 -2
- package/dist/index.eac2691b.js.map +0 -1
- /package/dist/chunks/{3067.fe48592d.js.LICENSE.txt → 3067.8f7b35a9.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{3533.e004c608.js.LICENSE.txt → 3533.1cf44075.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{4320.84fc9511.js.LICENSE.txt → 4320.ca3377b0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{825.2c71d777.js.LICENSE.txt → 825.56517ad0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{852.c12cc391.js.LICENSE.txt → 852.ae478d19.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{9259.a5242da6.js.LICENSE.txt → 9259.5c55671d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-auto-complete.b18a2118.js.LICENSE.txt → eo-auto-complete.4d4e9dba.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.dedbe2af.js.LICENSE.txt → eo-dynamic-form-item.ee18920c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-form-item.2977d047.js.LICENSE.txt → eo-form-item.2d8cb369.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.39ad0686.js.LICENSE.txt → eo-icon-select.6cedecaa.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-input.7ebaa3bc.js.LICENSE.txt → eo-input.f71db8e7.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.84a15ff7.js.LICENSE.txt → eo-radio.1fdb1bde.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.323299b0.js.LICENSE.txt → eo-select.a6755930.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-switch.49c232d4.js.LICENSE.txt → eo-switch.a3d53bec.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.dde9a8f5.js.LICENSE.txt → eo-textarea.d255adb2.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.505d655f.js.LICENSE.txt → eo-upload-file.ab4aa9ff.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.705818de.js.LICENSE.txt → eo-upload-image.d2b4c2ff.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -189,101 +189,94 @@
|
|
|
189
189
|
"category": "form-input-basic"
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
|
-
"name": "eo-
|
|
192
|
+
"name": "eo-textarea",
|
|
193
193
|
"alias": [
|
|
194
|
-
"form.general-
|
|
194
|
+
"form.general-textarea"
|
|
195
195
|
],
|
|
196
196
|
"properties": [
|
|
197
197
|
{
|
|
198
198
|
"name": "name",
|
|
199
|
-
"description": "
|
|
199
|
+
"description": "字段名称",
|
|
200
200
|
"type": "string"
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
"name": "label",
|
|
204
|
-
"description": "
|
|
204
|
+
"description": "标签文字",
|
|
205
205
|
"type": "string"
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
|
-
"name": "
|
|
209
|
-
"description": "
|
|
210
|
-
"
|
|
211
|
-
"attribute": false,
|
|
212
|
-
"type": "GeneralOption[]"
|
|
208
|
+
"name": "value",
|
|
209
|
+
"description": "值",
|
|
210
|
+
"type": "string"
|
|
213
211
|
},
|
|
214
212
|
{
|
|
215
|
-
"name": "
|
|
216
|
-
"description": "
|
|
217
|
-
"
|
|
218
|
-
"type": "any"
|
|
213
|
+
"name": "placeholder",
|
|
214
|
+
"description": "占位说明",
|
|
215
|
+
"type": "string"
|
|
219
216
|
},
|
|
220
217
|
{
|
|
221
|
-
"name": "
|
|
222
|
-
"description": "
|
|
218
|
+
"name": "disabled",
|
|
219
|
+
"description": "是否禁用",
|
|
223
220
|
"type": "boolean"
|
|
224
221
|
},
|
|
225
222
|
{
|
|
226
|
-
"name": "
|
|
227
|
-
"description": "
|
|
228
|
-
"
|
|
229
|
-
"type": "Record<string, string>"
|
|
223
|
+
"name": "minLength",
|
|
224
|
+
"description": "最小长度",
|
|
225
|
+
"type": "number"
|
|
230
226
|
},
|
|
231
227
|
{
|
|
232
|
-
"name": "
|
|
233
|
-
"description": "
|
|
234
|
-
"type": "
|
|
228
|
+
"name": "maxLength",
|
|
229
|
+
"description": "最大长度",
|
|
230
|
+
"type": "number"
|
|
235
231
|
},
|
|
236
232
|
{
|
|
237
|
-
"name": "
|
|
238
|
-
"description": "
|
|
239
|
-
"
|
|
240
|
-
"type": "
|
|
233
|
+
"name": "autoSize",
|
|
234
|
+
"description": "大小自适应",
|
|
235
|
+
"attribute": false,
|
|
236
|
+
"type": "AutoSize"
|
|
241
237
|
},
|
|
242
238
|
{
|
|
243
|
-
"name": "
|
|
244
|
-
"description": "
|
|
245
|
-
"
|
|
246
|
-
"type": "UIType"
|
|
239
|
+
"name": "required",
|
|
240
|
+
"description": "是否必填",
|
|
241
|
+
"type": "boolean"
|
|
247
242
|
},
|
|
248
243
|
{
|
|
249
|
-
"name": "
|
|
250
|
-
"description": "
|
|
251
|
-
"
|
|
252
|
-
"type": "ComponentSize"
|
|
244
|
+
"name": "max",
|
|
245
|
+
"description": "表单校验最大长度",
|
|
246
|
+
"type": "number"
|
|
253
247
|
},
|
|
254
248
|
{
|
|
255
|
-
"name": "
|
|
256
|
-
"description": "
|
|
249
|
+
"name": "min",
|
|
250
|
+
"description": "表单校验最小长度",
|
|
251
|
+
"type": "number"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "message",
|
|
255
|
+
"description": "校验信息",
|
|
257
256
|
"attribute": false,
|
|
258
|
-
"type": "
|
|
257
|
+
"type": "Record<string, string>"
|
|
259
258
|
},
|
|
260
259
|
{
|
|
261
|
-
"name": "
|
|
262
|
-
"description": "
|
|
260
|
+
"name": "textareaStyle",
|
|
261
|
+
"description": "自定义样式",
|
|
263
262
|
"attribute": false,
|
|
264
|
-
"type": "
|
|
263
|
+
"type": "React.CSSProperties"
|
|
265
264
|
}
|
|
266
265
|
],
|
|
267
266
|
"events": [
|
|
268
267
|
{
|
|
269
268
|
"name": "change",
|
|
270
|
-
"description": "
|
|
271
|
-
"detail": {
|
|
272
|
-
"type": "GeneralComplexOption | undefined"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"name": "options.change",
|
|
277
|
-
"description": "选项列表变化事件",
|
|
269
|
+
"description": "",
|
|
278
270
|
"detail": {
|
|
279
|
-
"
|
|
271
|
+
"description": null,
|
|
272
|
+
"type": "string"
|
|
280
273
|
}
|
|
281
274
|
}
|
|
282
275
|
],
|
|
283
276
|
"slots": [],
|
|
284
277
|
"methods": [],
|
|
285
278
|
"parts": [],
|
|
286
|
-
"description": "
|
|
279
|
+
"description": "通用多行文本输入框构件",
|
|
287
280
|
"category": "form-input-basic"
|
|
288
281
|
},
|
|
289
282
|
{
|
|
@@ -421,6 +414,203 @@
|
|
|
421
414
|
"description": "表单构件",
|
|
422
415
|
"category": "form-input-basic"
|
|
423
416
|
},
|
|
417
|
+
{
|
|
418
|
+
"name": "eo-form-item",
|
|
419
|
+
"alias": [
|
|
420
|
+
"form.general-form-item"
|
|
421
|
+
],
|
|
422
|
+
"properties": [
|
|
423
|
+
{
|
|
424
|
+
"name": "formElement",
|
|
425
|
+
"attribute": false,
|
|
426
|
+
"type": "Form"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "curElement",
|
|
430
|
+
"attribute": false,
|
|
431
|
+
"type": "HTMLElement"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "name",
|
|
435
|
+
"description": "字段名称",
|
|
436
|
+
"type": "string"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"name": "label",
|
|
440
|
+
"type": "string"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "pattern",
|
|
444
|
+
"type": "string"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "message",
|
|
448
|
+
"attribute": false,
|
|
449
|
+
"type": "Record<string, string>"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "max",
|
|
453
|
+
"type": "number"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "min",
|
|
457
|
+
"type": "number"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "required",
|
|
461
|
+
"description": "表单项是否为必填",
|
|
462
|
+
"type": "boolean"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "value",
|
|
466
|
+
"description": "初始值",
|
|
467
|
+
"type": "string"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "valuePropsName",
|
|
471
|
+
"type": "string"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "layout",
|
|
475
|
+
"type": "Layout"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "size",
|
|
479
|
+
"type": "ComponentSize"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"name": "trim",
|
|
483
|
+
"description": "是否自动去除前后的空白字符",
|
|
484
|
+
"default": "true"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "trigger",
|
|
488
|
+
"description": "事件触发方法名",
|
|
489
|
+
"type": "string"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "validator",
|
|
493
|
+
"description": "表单项校验方法",
|
|
494
|
+
"attribute": false,
|
|
495
|
+
"type": "((value: any) => MessageBody)"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "needValidate",
|
|
499
|
+
"description": "值变化时是否主动出发校验",
|
|
500
|
+
"type": "boolean"
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
"events": [],
|
|
504
|
+
"slots": [
|
|
505
|
+
{
|
|
506
|
+
"name": null,
|
|
507
|
+
"description": "表单项内容"
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"methods": [],
|
|
511
|
+
"parts": [],
|
|
512
|
+
"description": "通用输入框构件",
|
|
513
|
+
"category": "form-input-basic",
|
|
514
|
+
"insider": true
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "eo-radio",
|
|
518
|
+
"alias": [
|
|
519
|
+
"form.general-radio"
|
|
520
|
+
],
|
|
521
|
+
"properties": [
|
|
522
|
+
{
|
|
523
|
+
"name": "name",
|
|
524
|
+
"description": "下拉框字段名",
|
|
525
|
+
"type": "string"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "label",
|
|
529
|
+
"description": "单选框字段说明",
|
|
530
|
+
"type": "string"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "options",
|
|
534
|
+
"description": "单选框选项表",
|
|
535
|
+
"required": true,
|
|
536
|
+
"attribute": false,
|
|
537
|
+
"type": "GeneralOption[]"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "value",
|
|
541
|
+
"description": "单选框当前选中始值",
|
|
542
|
+
"attribute": false,
|
|
543
|
+
"type": "any"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "required",
|
|
547
|
+
"description": "是否必填",
|
|
548
|
+
"type": "boolean"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"name": "message",
|
|
552
|
+
"description": "校验文本信息",
|
|
553
|
+
"attribute": false,
|
|
554
|
+
"type": "Record<string, string>"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "disabled",
|
|
558
|
+
"description": "是否禁用",
|
|
559
|
+
"type": "boolean"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "type",
|
|
563
|
+
"description": "单选框样式类型",
|
|
564
|
+
"default": "\"default\"",
|
|
565
|
+
"type": "RadioType"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "ui",
|
|
569
|
+
"description": "UI样式",
|
|
570
|
+
"default": "\"default\"",
|
|
571
|
+
"type": "UIType"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "size",
|
|
575
|
+
"description": "大小,只对按钮样式生效",
|
|
576
|
+
"default": "\"medium\"",
|
|
577
|
+
"type": "ComponentSize"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "customStyle",
|
|
581
|
+
"description": "自定义radio的外层样式",
|
|
582
|
+
"attribute": false,
|
|
583
|
+
"type": "React.CSSProperties"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "useBrick",
|
|
587
|
+
"description": "自定义radio的内容",
|
|
588
|
+
"attribute": false,
|
|
589
|
+
"type": "UseSingleBrickConf"
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"events": [
|
|
593
|
+
{
|
|
594
|
+
"name": "change",
|
|
595
|
+
"description": "值变化事件",
|
|
596
|
+
"detail": {
|
|
597
|
+
"type": "GeneralComplexOption | undefined"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "options.change",
|
|
602
|
+
"description": "选项列表变化事件",
|
|
603
|
+
"detail": {
|
|
604
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"slots": [],
|
|
609
|
+
"methods": [],
|
|
610
|
+
"parts": [],
|
|
611
|
+
"description": "通用单选构件",
|
|
612
|
+
"category": "form-input-basic"
|
|
613
|
+
},
|
|
424
614
|
{
|
|
425
615
|
"name": "eo-select",
|
|
426
616
|
"alias": [
|
|
@@ -563,97 +753,6 @@
|
|
|
563
753
|
"description": "通用下拉选择构件",
|
|
564
754
|
"category": "form-input-basic"
|
|
565
755
|
},
|
|
566
|
-
{
|
|
567
|
-
"name": "eo-textarea",
|
|
568
|
-
"alias": [
|
|
569
|
-
"form.general-textarea"
|
|
570
|
-
],
|
|
571
|
-
"properties": [
|
|
572
|
-
{
|
|
573
|
-
"name": "name",
|
|
574
|
-
"description": "字段名称",
|
|
575
|
-
"type": "string"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"name": "label",
|
|
579
|
-
"description": "标签文字",
|
|
580
|
-
"type": "string"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"name": "value",
|
|
584
|
-
"description": "值",
|
|
585
|
-
"type": "string"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"name": "placeholder",
|
|
589
|
-
"description": "占位说明",
|
|
590
|
-
"type": "string"
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"name": "disabled",
|
|
594
|
-
"description": "是否禁用",
|
|
595
|
-
"type": "boolean"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
"name": "minLength",
|
|
599
|
-
"description": "最小长度",
|
|
600
|
-
"type": "number"
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
"name": "maxLength",
|
|
604
|
-
"description": "最大长度",
|
|
605
|
-
"type": "number"
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
"name": "autoSize",
|
|
609
|
-
"description": "大小自适应",
|
|
610
|
-
"attribute": false,
|
|
611
|
-
"type": "AutoSize"
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
"name": "required",
|
|
615
|
-
"description": "是否必填",
|
|
616
|
-
"type": "boolean"
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
"name": "max",
|
|
620
|
-
"description": "表单校验最大长度",
|
|
621
|
-
"type": "number"
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"name": "min",
|
|
625
|
-
"description": "表单校验最小长度",
|
|
626
|
-
"type": "number"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"name": "message",
|
|
630
|
-
"description": "校验信息",
|
|
631
|
-
"attribute": false,
|
|
632
|
-
"type": "Record<string, string>"
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
"name": "textareaStyle",
|
|
636
|
-
"description": "自定义样式",
|
|
637
|
-
"attribute": false,
|
|
638
|
-
"type": "React.CSSProperties"
|
|
639
|
-
}
|
|
640
|
-
],
|
|
641
|
-
"events": [
|
|
642
|
-
{
|
|
643
|
-
"name": "change",
|
|
644
|
-
"description": "",
|
|
645
|
-
"detail": {
|
|
646
|
-
"description": null,
|
|
647
|
-
"type": "string"
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
],
|
|
651
|
-
"slots": [],
|
|
652
|
-
"methods": [],
|
|
653
|
-
"parts": [],
|
|
654
|
-
"description": "通用多行文本输入框构件",
|
|
655
|
-
"category": "form-input-basic"
|
|
656
|
-
},
|
|
657
756
|
{
|
|
658
757
|
"name": "eo-submit-buttons",
|
|
659
758
|
"alias": [
|
|
@@ -960,9 +1059,9 @@
|
|
|
960
1059
|
"category": "interact-basic"
|
|
961
1060
|
},
|
|
962
1061
|
{
|
|
963
|
-
"name": "eo-
|
|
1062
|
+
"name": "eo-icon-select",
|
|
964
1063
|
"alias": [
|
|
965
|
-
"form.
|
|
1064
|
+
"form.icon-select"
|
|
966
1065
|
],
|
|
967
1066
|
"properties": [
|
|
968
1067
|
{
|
|
@@ -979,28 +1078,13 @@
|
|
|
979
1078
|
"name": "value",
|
|
980
1079
|
"description": "值",
|
|
981
1080
|
"attribute": false,
|
|
982
|
-
"type": "
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"name": "bucketName",
|
|
986
|
-
"description": "对象存储桶名字",
|
|
987
|
-
"type": "string"
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
"name": "maxCount",
|
|
991
|
-
"description": "最大上传数量",
|
|
992
|
-
"type": "number"
|
|
1081
|
+
"type": "Icon"
|
|
993
1082
|
},
|
|
994
1083
|
{
|
|
995
|
-
"name": "
|
|
996
|
-
"description": "
|
|
1084
|
+
"name": "disabled",
|
|
1085
|
+
"description": "是否禁用",
|
|
997
1086
|
"type": "boolean"
|
|
998
1087
|
},
|
|
999
|
-
{
|
|
1000
|
-
"name": "limitSize",
|
|
1001
|
-
"description": "上传大小限制(单位为 MB)",
|
|
1002
|
-
"type": "number"
|
|
1003
|
-
},
|
|
1004
1088
|
{
|
|
1005
1089
|
"name": "required",
|
|
1006
1090
|
"description": "是否必填",
|
|
@@ -1008,7 +1092,7 @@
|
|
|
1008
1092
|
},
|
|
1009
1093
|
{
|
|
1010
1094
|
"name": "message",
|
|
1011
|
-
"description": "
|
|
1095
|
+
"description": "是否必填",
|
|
1012
1096
|
"attribute": false,
|
|
1013
1097
|
"type": "Record<string, string>"
|
|
1014
1098
|
}
|
|
@@ -1018,20 +1102,20 @@
|
|
|
1018
1102
|
"name": "change",
|
|
1019
1103
|
"description": "值变化时触发",
|
|
1020
1104
|
"detail": {
|
|
1021
|
-
"type": "
|
|
1105
|
+
"type": "Icon | undefined"
|
|
1022
1106
|
}
|
|
1023
1107
|
}
|
|
1024
1108
|
],
|
|
1025
1109
|
"slots": [],
|
|
1026
1110
|
"methods": [],
|
|
1027
1111
|
"parts": [],
|
|
1028
|
-
"description": "
|
|
1112
|
+
"description": "图标选择构件",
|
|
1029
1113
|
"category": "form-input-basic"
|
|
1030
1114
|
},
|
|
1031
1115
|
{
|
|
1032
|
-
"name": "eo-
|
|
1116
|
+
"name": "eo-upload-image",
|
|
1033
1117
|
"alias": [
|
|
1034
|
-
"form.
|
|
1118
|
+
"form.upload-image"
|
|
1035
1119
|
],
|
|
1036
1120
|
"properties": [
|
|
1037
1121
|
{
|
|
@@ -1048,13 +1132,28 @@
|
|
|
1048
1132
|
"name": "value",
|
|
1049
1133
|
"description": "值",
|
|
1050
1134
|
"attribute": false,
|
|
1051
|
-
"type": "
|
|
1135
|
+
"type": "ImageData[]"
|
|
1052
1136
|
},
|
|
1053
1137
|
{
|
|
1054
|
-
"name": "
|
|
1055
|
-
"description": "
|
|
1138
|
+
"name": "bucketName",
|
|
1139
|
+
"description": "对象存储桶名字",
|
|
1140
|
+
"type": "string"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"name": "maxCount",
|
|
1144
|
+
"description": "最大上传数量",
|
|
1145
|
+
"type": "number"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"name": "multiple",
|
|
1149
|
+
"description": "是否支持选定的多张图片",
|
|
1056
1150
|
"type": "boolean"
|
|
1057
1151
|
},
|
|
1152
|
+
{
|
|
1153
|
+
"name": "limitSize",
|
|
1154
|
+
"description": "上传大小限制(单位为 MB)",
|
|
1155
|
+
"type": "number"
|
|
1156
|
+
},
|
|
1058
1157
|
{
|
|
1059
1158
|
"name": "required",
|
|
1060
1159
|
"description": "是否必填",
|
|
@@ -1062,7 +1161,7 @@
|
|
|
1062
1161
|
},
|
|
1063
1162
|
{
|
|
1064
1163
|
"name": "message",
|
|
1065
|
-
"description": "
|
|
1164
|
+
"description": "校验文本信息",
|
|
1066
1165
|
"attribute": false,
|
|
1067
1166
|
"type": "Record<string, string>"
|
|
1068
1167
|
}
|
|
@@ -1072,14 +1171,14 @@
|
|
|
1072
1171
|
"name": "change",
|
|
1073
1172
|
"description": "值变化时触发",
|
|
1074
1173
|
"detail": {
|
|
1075
|
-
"type": "
|
|
1174
|
+
"type": "ImageData[]"
|
|
1076
1175
|
}
|
|
1077
1176
|
}
|
|
1078
1177
|
],
|
|
1079
1178
|
"slots": [],
|
|
1080
1179
|
"methods": [],
|
|
1081
1180
|
"parts": [],
|
|
1082
|
-
"description": "
|
|
1181
|
+
"description": "上传图片构件",
|
|
1083
1182
|
"category": "form-input-basic"
|
|
1084
1183
|
},
|
|
1085
1184
|
{
|
|
@@ -1274,105 +1373,6 @@
|
|
|
1274
1373
|
"description": "上传文件",
|
|
1275
1374
|
"category": "form-input-basic"
|
|
1276
1375
|
},
|
|
1277
|
-
{
|
|
1278
|
-
"name": "eo-form-item",
|
|
1279
|
-
"alias": [
|
|
1280
|
-
"form.general-form-item"
|
|
1281
|
-
],
|
|
1282
|
-
"properties": [
|
|
1283
|
-
{
|
|
1284
|
-
"name": "formElement",
|
|
1285
|
-
"attribute": false,
|
|
1286
|
-
"type": "Form"
|
|
1287
|
-
},
|
|
1288
|
-
{
|
|
1289
|
-
"name": "curElement",
|
|
1290
|
-
"attribute": false,
|
|
1291
|
-
"type": "HTMLElement"
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
"name": "name",
|
|
1295
|
-
"description": "字段名称",
|
|
1296
|
-
"type": "string"
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
"name": "label",
|
|
1300
|
-
"type": "string"
|
|
1301
|
-
},
|
|
1302
|
-
{
|
|
1303
|
-
"name": "pattern",
|
|
1304
|
-
"type": "string"
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
"name": "message",
|
|
1308
|
-
"attribute": false,
|
|
1309
|
-
"type": "Record<string, string>"
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"name": "max",
|
|
1313
|
-
"type": "number"
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"name": "min",
|
|
1317
|
-
"type": "number"
|
|
1318
|
-
},
|
|
1319
|
-
{
|
|
1320
|
-
"name": "required",
|
|
1321
|
-
"description": "表单项是否为必填",
|
|
1322
|
-
"type": "boolean"
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"name": "value",
|
|
1326
|
-
"description": "初始值",
|
|
1327
|
-
"type": "string"
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
"name": "valuePropsName",
|
|
1331
|
-
"type": "string"
|
|
1332
|
-
},
|
|
1333
|
-
{
|
|
1334
|
-
"name": "layout",
|
|
1335
|
-
"type": "Layout"
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
"name": "size",
|
|
1339
|
-
"type": "ComponentSize"
|
|
1340
|
-
},
|
|
1341
|
-
{
|
|
1342
|
-
"name": "trim",
|
|
1343
|
-
"description": "是否自动去除前后的空白字符",
|
|
1344
|
-
"default": "true"
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
"name": "trigger",
|
|
1348
|
-
"description": "事件触发方法名",
|
|
1349
|
-
"type": "string"
|
|
1350
|
-
},
|
|
1351
|
-
{
|
|
1352
|
-
"name": "validator",
|
|
1353
|
-
"description": "表单项校验方法",
|
|
1354
|
-
"attribute": false,
|
|
1355
|
-
"type": "((value: any) => MessageBody)"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"name": "needValidate",
|
|
1359
|
-
"description": "值变化时是否主动出发校验",
|
|
1360
|
-
"type": "boolean"
|
|
1361
|
-
}
|
|
1362
|
-
],
|
|
1363
|
-
"events": [],
|
|
1364
|
-
"slots": [
|
|
1365
|
-
{
|
|
1366
|
-
"name": null,
|
|
1367
|
-
"description": "表单项内容"
|
|
1368
|
-
}
|
|
1369
|
-
],
|
|
1370
|
-
"methods": [],
|
|
1371
|
-
"parts": [],
|
|
1372
|
-
"description": "通用输入框构件",
|
|
1373
|
-
"category": "form-input-basic",
|
|
1374
|
-
"insider": true
|
|
1375
|
-
},
|
|
1376
1376
|
{
|
|
1377
1377
|
"name": "eo-auto-complete",
|
|
1378
1378
|
"properties": [
|
|
@@ -1632,27 +1632,24 @@
|
|
|
1632
1632
|
"category": "form-input-basic"
|
|
1633
1633
|
},
|
|
1634
1634
|
{
|
|
1635
|
-
"name": "eo-
|
|
1635
|
+
"name": "eo-time-range-picker",
|
|
1636
1636
|
"properties": [
|
|
1637
1637
|
{
|
|
1638
1638
|
"name": "name",
|
|
1639
|
-
"description": "
|
|
1639
|
+
"description": "时间段选择器字段名",
|
|
1640
1640
|
"type": "string"
|
|
1641
1641
|
},
|
|
1642
1642
|
{
|
|
1643
1643
|
"name": "label",
|
|
1644
|
-
"description": "
|
|
1644
|
+
"description": "时间段选择器说明",
|
|
1645
1645
|
"type": "string"
|
|
1646
1646
|
},
|
|
1647
1647
|
{
|
|
1648
1648
|
"name": "value",
|
|
1649
|
-
"description": "
|
|
1650
|
-
"
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
"name": "defaultValue",
|
|
1654
|
-
"description": "颜色默认的值",
|
|
1655
|
-
"type": "string | Color"
|
|
1649
|
+
"description": "时间段选择器的初始值",
|
|
1650
|
+
"default": "{ \"startTime\": \"00:00:00\", \"endTime\": \"23:59:59\" }",
|
|
1651
|
+
"attribute": false,
|
|
1652
|
+
"type": "TimeRange"
|
|
1656
1653
|
},
|
|
1657
1654
|
{
|
|
1658
1655
|
"name": "required",
|
|
@@ -1660,74 +1657,72 @@
|
|
|
1660
1657
|
"type": "boolean"
|
|
1661
1658
|
},
|
|
1662
1659
|
{
|
|
1663
|
-
"name": "
|
|
1664
|
-
"description": "
|
|
1665
|
-
"type": "boolean"
|
|
1666
|
-
},
|
|
1667
|
-
{
|
|
1668
|
-
"name": "size",
|
|
1669
|
-
"description": "设置触发器大小",
|
|
1670
|
-
"default": "middle",
|
|
1660
|
+
"name": "rangeType",
|
|
1661
|
+
"description": "时间段类型",
|
|
1671
1662
|
"attribute": false,
|
|
1672
|
-
"type": "
|
|
1663
|
+
"type": "RangeType"
|
|
1673
1664
|
},
|
|
1674
1665
|
{
|
|
1675
|
-
"name": "
|
|
1676
|
-
"description": "
|
|
1677
|
-
"type": "
|
|
1666
|
+
"name": "selectNearDays",
|
|
1667
|
+
"description": "只有rangeType在`date` 和 `dateTime`下, 才支持只选择最近n天(当前时间向前n天)",
|
|
1668
|
+
"type": "number"
|
|
1678
1669
|
},
|
|
1679
1670
|
{
|
|
1680
|
-
"name": "
|
|
1681
|
-
"description": "
|
|
1671
|
+
"name": "emitChangeOnInit",
|
|
1672
|
+
"description": "",
|
|
1673
|
+
"default": "true\n是否在初始化完成后额外触发一次`time.range.change`, 这里因为历史原因之前默认行为就是在初始化后会触发该事件,这里为了兼容之前的行为,默认值只能设置为 true。",
|
|
1682
1674
|
"type": "boolean"
|
|
1683
1675
|
},
|
|
1684
1676
|
{
|
|
1685
|
-
"name": "
|
|
1686
|
-
"description": "
|
|
1687
|
-
"default": "
|
|
1677
|
+
"name": "presetRanges",
|
|
1678
|
+
"description": "",
|
|
1679
|
+
"default": "[]\n预设时间范围快捷选择;设置了属性selectNearDays时,属性presetRanges不生效;属性rangeType为week时,presetRanges的值只能为本周、本月、本季度、今年,属性rangeType为month、quarter、year时,以此类推",
|
|
1688
1680
|
"attribute": false,
|
|
1689
|
-
"type": "
|
|
1681
|
+
"type": "presetRangeType[]"
|
|
1690
1682
|
},
|
|
1691
1683
|
{
|
|
1692
|
-
"name": "
|
|
1693
|
-
"description": "透传 antd ColorPicker 属性 [ColorPickerProps](https://ant.design/components/color-picker-cn#api)",
|
|
1684
|
+
"name": "validator",
|
|
1694
1685
|
"attribute": false,
|
|
1695
|
-
"type": "
|
|
1686
|
+
"type": "((value: any) => MessageBody | string)"
|
|
1696
1687
|
}
|
|
1697
1688
|
],
|
|
1698
1689
|
"events": [
|
|
1699
1690
|
{
|
|
1700
1691
|
"name": "change",
|
|
1701
|
-
"description": "
|
|
1692
|
+
"description": "时间段变化时触发",
|
|
1702
1693
|
"detail": {
|
|
1703
|
-
"type": "
|
|
1694
|
+
"type": "TimeRange"
|
|
1704
1695
|
}
|
|
1705
1696
|
}
|
|
1706
1697
|
],
|
|
1707
1698
|
"slots": [],
|
|
1708
1699
|
"methods": [],
|
|
1709
1700
|
"parts": [],
|
|
1710
|
-
"description": "
|
|
1701
|
+
"description": "时间区间选择器",
|
|
1702
|
+
"category": "form-input-basic"
|
|
1711
1703
|
},
|
|
1712
1704
|
{
|
|
1713
|
-
"name": "eo-
|
|
1705
|
+
"name": "eo-color-picker",
|
|
1714
1706
|
"properties": [
|
|
1715
1707
|
{
|
|
1716
1708
|
"name": "name",
|
|
1717
|
-
"description": "
|
|
1709
|
+
"description": "字段名称",
|
|
1718
1710
|
"type": "string"
|
|
1719
1711
|
},
|
|
1720
1712
|
{
|
|
1721
1713
|
"name": "label",
|
|
1722
|
-
"description": "
|
|
1714
|
+
"description": "字段说明",
|
|
1723
1715
|
"type": "string"
|
|
1724
1716
|
},
|
|
1725
1717
|
{
|
|
1726
1718
|
"name": "value",
|
|
1727
|
-
"description": "
|
|
1728
|
-
"
|
|
1729
|
-
|
|
1730
|
-
|
|
1719
|
+
"description": "值",
|
|
1720
|
+
"type": "string"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"name": "defaultValue",
|
|
1724
|
+
"description": "颜色默认的值",
|
|
1725
|
+
"type": "string | Color"
|
|
1731
1726
|
},
|
|
1732
1727
|
{
|
|
1733
1728
|
"name": "required",
|
|
@@ -1735,49 +1730,54 @@
|
|
|
1735
1730
|
"type": "boolean"
|
|
1736
1731
|
},
|
|
1737
1732
|
{
|
|
1738
|
-
"name": "
|
|
1739
|
-
"description": "
|
|
1733
|
+
"name": "allowClear",
|
|
1734
|
+
"description": "允许清除选择的颜色",
|
|
1735
|
+
"type": "boolean"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"name": "size",
|
|
1739
|
+
"description": "设置触发器大小",
|
|
1740
|
+
"default": "middle",
|
|
1740
1741
|
"attribute": false,
|
|
1741
|
-
"type": "
|
|
1742
|
+
"type": "\"small\" | \"middle\" | \"large\""
|
|
1742
1743
|
},
|
|
1743
1744
|
{
|
|
1744
|
-
"name": "
|
|
1745
|
-
"description": "
|
|
1746
|
-
"type": "
|
|
1745
|
+
"name": "showText",
|
|
1746
|
+
"description": "显示颜色文本",
|
|
1747
|
+
"type": "boolean"
|
|
1747
1748
|
},
|
|
1748
1749
|
{
|
|
1749
|
-
"name": "
|
|
1750
|
-
"description": "",
|
|
1751
|
-
"default": "true\n是否在初始化完成后额外触发一次`time.range.change`, 这里因为历史原因之前默认行为就是在初始化后会触发该事件,这里为了兼容之前的行为,默认值只能设置为 true。",
|
|
1750
|
+
"name": "disabled",
|
|
1751
|
+
"description": "是否禁用",
|
|
1752
1752
|
"type": "boolean"
|
|
1753
1753
|
},
|
|
1754
1754
|
{
|
|
1755
|
-
"name": "
|
|
1756
|
-
"description": "",
|
|
1757
|
-
"default": "
|
|
1755
|
+
"name": "format",
|
|
1756
|
+
"description": "颜色格式",
|
|
1757
|
+
"default": "hex",
|
|
1758
1758
|
"attribute": false,
|
|
1759
|
-
"type": "
|
|
1759
|
+
"type": "\"rgb\" | \"hex\" | \"hsb\""
|
|
1760
1760
|
},
|
|
1761
1761
|
{
|
|
1762
|
-
"name": "
|
|
1762
|
+
"name": "configProps",
|
|
1763
|
+
"description": "透传 antd ColorPicker 属性 [ColorPickerProps](https://ant.design/components/color-picker-cn#api)",
|
|
1763
1764
|
"attribute": false,
|
|
1764
|
-
"type": "
|
|
1765
|
+
"type": "Partial<ColorPickerProps>"
|
|
1765
1766
|
}
|
|
1766
1767
|
],
|
|
1767
1768
|
"events": [
|
|
1768
1769
|
{
|
|
1769
1770
|
"name": "change",
|
|
1770
|
-
"description": "
|
|
1771
|
+
"description": "颜色变化事件, 返回值格式和`format`格式一致",
|
|
1771
1772
|
"detail": {
|
|
1772
|
-
"type": "
|
|
1773
|
+
"type": "string | undefined"
|
|
1773
1774
|
}
|
|
1774
1775
|
}
|
|
1775
1776
|
],
|
|
1776
1777
|
"slots": [],
|
|
1777
1778
|
"methods": [],
|
|
1778
1779
|
"parts": [],
|
|
1779
|
-
"description": "
|
|
1780
|
-
"category": "form-input-basic"
|
|
1780
|
+
"description": "构件 `eo-color-picker`"
|
|
1781
1781
|
}
|
|
1782
1782
|
],
|
|
1783
1783
|
"providers": []
|