@next-bricks/form 1.19.1 → 1.19.2
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 +19 -19
- package/dist/chunks/1418.923b1d93.js +3 -0
- package/dist/chunks/1418.923b1d93.js.map +1 -0
- package/dist/chunks/eo-textarea.4149c695.js +3 -0
- package/dist/chunks/eo-textarea.4149c695.js.map +1 -0
- package/dist/chunks/{main.941569be.js → main.66472aad.js} +2 -2
- package/dist/chunks/{main.941569be.js.map → main.66472aad.js.map} +1 -1
- package/dist/examples.json +9 -9
- package/dist/{index.5207c992.js → index.ca2e284b.js} +2 -2
- package/dist/{index.5207c992.js.map → index.ca2e284b.js.map} +1 -1
- package/dist/manifest.json +242 -237
- package/dist/types.json +1333 -1317
- package/dist-types/textarea/index.d.ts +6 -0
- package/package.json +2 -2
- package/dist/chunks/1418.3219d6a1.js +0 -3
- package/dist/chunks/1418.3219d6a1.js.map +0 -1
- package/dist/chunks/eo-textarea.514b11fa.js +0 -3
- package/dist/chunks/eo-textarea.514b11fa.js.map +0 -1
- /package/dist/chunks/{1418.3219d6a1.js.LICENSE.txt → 1418.923b1d93.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.514b11fa.js.LICENSE.txt → eo-textarea.4149c695.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -77,6 +77,11 @@
|
|
|
77
77
|
"attribute": false,
|
|
78
78
|
"type": "React.CSSProperties"
|
|
79
79
|
},
|
|
80
|
+
{
|
|
81
|
+
"name": "variant",
|
|
82
|
+
"description": "变体\n\n- muted: 在 themeVariant 为 elevo 时可用,设置时输入框没有 box-shadow",
|
|
83
|
+
"type": "\"default\" | \"muted\""
|
|
84
|
+
},
|
|
80
85
|
{
|
|
81
86
|
"name": "themeVariant",
|
|
82
87
|
"description": "主题变体",
|
|
@@ -251,109 +256,6 @@
|
|
|
251
256
|
"description": "表单构件",
|
|
252
257
|
"category": "form-input-basic"
|
|
253
258
|
},
|
|
254
|
-
{
|
|
255
|
-
"name": "eo-radio",
|
|
256
|
-
"alias": [
|
|
257
|
-
"form.general-radio"
|
|
258
|
-
],
|
|
259
|
-
"properties": [
|
|
260
|
-
{
|
|
261
|
-
"name": "name",
|
|
262
|
-
"description": "下拉框字段名",
|
|
263
|
-
"type": "string"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"name": "label",
|
|
267
|
-
"description": "单选框字段说明",
|
|
268
|
-
"type": "string"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"name": "options",
|
|
272
|
-
"description": "单选框选项表",
|
|
273
|
-
"required": true,
|
|
274
|
-
"attribute": false,
|
|
275
|
-
"type": "GeneralOption[]"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"name": "value",
|
|
279
|
-
"description": "单选框当前选中始值",
|
|
280
|
-
"attribute": false,
|
|
281
|
-
"type": "any"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"name": "required",
|
|
285
|
-
"description": "是否必填",
|
|
286
|
-
"type": "boolean"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "message",
|
|
290
|
-
"description": "校验文本信息",
|
|
291
|
-
"attribute": false,
|
|
292
|
-
"type": "Record<string, string>"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"name": "disabled",
|
|
296
|
-
"description": "是否禁用",
|
|
297
|
-
"type": "boolean"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"name": "type",
|
|
301
|
-
"description": "单选框样式类型",
|
|
302
|
-
"default": "\"default\"",
|
|
303
|
-
"type": "RadioType"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"name": "ui",
|
|
307
|
-
"description": "UI样式",
|
|
308
|
-
"default": "\"default\"",
|
|
309
|
-
"type": "UIType"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"name": "size",
|
|
313
|
-
"description": "大小,只对按钮样式生效",
|
|
314
|
-
"default": "\"medium\"",
|
|
315
|
-
"type": "ComponentSize"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"name": "customStyle",
|
|
319
|
-
"description": "自定义radio的外层样式",
|
|
320
|
-
"attribute": false,
|
|
321
|
-
"type": "React.CSSProperties"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"name": "useBrick",
|
|
325
|
-
"description": "自定义radio的内容",
|
|
326
|
-
"attribute": false,
|
|
327
|
-
"type": "UseSingleBrickConf"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"name": "themeVariant",
|
|
331
|
-
"description": "主题变体",
|
|
332
|
-
"type": "\"default\" | \"elevo\""
|
|
333
|
-
}
|
|
334
|
-
],
|
|
335
|
-
"events": [
|
|
336
|
-
{
|
|
337
|
-
"name": "change",
|
|
338
|
-
"description": "值变化事件",
|
|
339
|
-
"detail": {
|
|
340
|
-
"type": "GeneralComplexOption | undefined"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"name": "options.change",
|
|
345
|
-
"description": "选项列表变化事件",
|
|
346
|
-
"detail": {
|
|
347
|
-
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
],
|
|
351
|
-
"slots": [],
|
|
352
|
-
"methods": [],
|
|
353
|
-
"parts": [],
|
|
354
|
-
"description": "通用单选构件",
|
|
355
|
-
"category": "form-input-basic"
|
|
356
|
-
},
|
|
357
259
|
{
|
|
358
260
|
"name": "eo-select",
|
|
359
261
|
"alias": [
|
|
@@ -586,6 +488,109 @@
|
|
|
586
488
|
"description": "表单提交按钮",
|
|
587
489
|
"category": "form-input-basic"
|
|
588
490
|
},
|
|
491
|
+
{
|
|
492
|
+
"name": "eo-radio",
|
|
493
|
+
"alias": [
|
|
494
|
+
"form.general-radio"
|
|
495
|
+
],
|
|
496
|
+
"properties": [
|
|
497
|
+
{
|
|
498
|
+
"name": "name",
|
|
499
|
+
"description": "下拉框字段名",
|
|
500
|
+
"type": "string"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"name": "label",
|
|
504
|
+
"description": "单选框字段说明",
|
|
505
|
+
"type": "string"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "options",
|
|
509
|
+
"description": "单选框选项表",
|
|
510
|
+
"required": true,
|
|
511
|
+
"attribute": false,
|
|
512
|
+
"type": "GeneralOption[]"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "value",
|
|
516
|
+
"description": "单选框当前选中始值",
|
|
517
|
+
"attribute": false,
|
|
518
|
+
"type": "any"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "required",
|
|
522
|
+
"description": "是否必填",
|
|
523
|
+
"type": "boolean"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "message",
|
|
527
|
+
"description": "校验文本信息",
|
|
528
|
+
"attribute": false,
|
|
529
|
+
"type": "Record<string, string>"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "disabled",
|
|
533
|
+
"description": "是否禁用",
|
|
534
|
+
"type": "boolean"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "type",
|
|
538
|
+
"description": "单选框样式类型",
|
|
539
|
+
"default": "\"default\"",
|
|
540
|
+
"type": "RadioType"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"name": "ui",
|
|
544
|
+
"description": "UI样式",
|
|
545
|
+
"default": "\"default\"",
|
|
546
|
+
"type": "UIType"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "size",
|
|
550
|
+
"description": "大小,只对按钮样式生效",
|
|
551
|
+
"default": "\"medium\"",
|
|
552
|
+
"type": "ComponentSize"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "customStyle",
|
|
556
|
+
"description": "自定义radio的外层样式",
|
|
557
|
+
"attribute": false,
|
|
558
|
+
"type": "React.CSSProperties"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "useBrick",
|
|
562
|
+
"description": "自定义radio的内容",
|
|
563
|
+
"attribute": false,
|
|
564
|
+
"type": "UseSingleBrickConf"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "themeVariant",
|
|
568
|
+
"description": "主题变体",
|
|
569
|
+
"type": "\"default\" | \"elevo\""
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"events": [
|
|
573
|
+
{
|
|
574
|
+
"name": "change",
|
|
575
|
+
"description": "值变化事件",
|
|
576
|
+
"detail": {
|
|
577
|
+
"type": "GeneralComplexOption | undefined"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "options.change",
|
|
582
|
+
"description": "选项列表变化事件",
|
|
583
|
+
"detail": {
|
|
584
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"slots": [],
|
|
589
|
+
"methods": [],
|
|
590
|
+
"parts": [],
|
|
591
|
+
"description": "通用单选构件",
|
|
592
|
+
"category": "form-input-basic"
|
|
593
|
+
},
|
|
589
594
|
{
|
|
590
595
|
"name": "eo-checkbox",
|
|
591
596
|
"alias": [
|
|
@@ -1271,26 +1276,26 @@
|
|
|
1271
1276
|
"category": "form-input-basic"
|
|
1272
1277
|
},
|
|
1273
1278
|
{
|
|
1274
|
-
"name": "eo-
|
|
1279
|
+
"name": "eo-date-picker",
|
|
1275
1280
|
"properties": [
|
|
1276
1281
|
{
|
|
1277
1282
|
"name": "name",
|
|
1278
|
-
"description": "
|
|
1283
|
+
"description": "日期选择器字段名",
|
|
1279
1284
|
"type": "string"
|
|
1280
1285
|
},
|
|
1281
1286
|
{
|
|
1282
1287
|
"name": "label",
|
|
1283
|
-
"description": "
|
|
1288
|
+
"description": "日期选择器说明",
|
|
1284
1289
|
"type": "string"
|
|
1285
1290
|
},
|
|
1286
1291
|
{
|
|
1287
1292
|
"name": "value",
|
|
1288
|
-
"description": "
|
|
1293
|
+
"description": "日期选择器的初始值",
|
|
1289
1294
|
"type": "string"
|
|
1290
1295
|
},
|
|
1291
1296
|
{
|
|
1292
1297
|
"name": "placeholder",
|
|
1293
|
-
"description": "
|
|
1298
|
+
"description": "日期选择器占位说明",
|
|
1294
1299
|
"type": "string"
|
|
1295
1300
|
},
|
|
1296
1301
|
{
|
|
@@ -1310,30 +1315,55 @@
|
|
|
1310
1315
|
"type": "boolean"
|
|
1311
1316
|
},
|
|
1312
1317
|
{
|
|
1313
|
-
"name": "
|
|
1314
|
-
"description": "
|
|
1318
|
+
"name": "showTime",
|
|
1319
|
+
"description": "是否显示时间, 当设为 `true` 时, 请同时设置 `format` 为 `YYYY-MM-DD HH:mm:ss` 使其也显示具体时,分,秒 的时间",
|
|
1320
|
+
"type": "boolean"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"name": "format",
|
|
1324
|
+
"description": "显示预览的格式,具体配置参考 [dayjs](https://day.js.org/docs/zh-CN/display/format#%E6%94%AF%E6%8C%81%E7%9A%84%E6%A0%BC%E5%BC%8F%E5%8C%96%E5%8D%A0%E4%BD%8D%E7%AC%A6%E5%88%97%E8%A1%A8),注意,这里并非是定义给后台的数据格式,给后台的数据格式定义请参考 `general-form` 构件的 [valueTypes](developers/brick-book/brick/forms.general-form) 属性",
|
|
1325
|
+
"type": "string"
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"name": "picker",
|
|
1329
|
+
"description": "设置选择器类型",
|
|
1315
1330
|
"attribute": false,
|
|
1316
|
-
"type": "
|
|
1331
|
+
"type": "PickerMode"
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"name": "futureDateDisabled",
|
|
1335
|
+
"description": "不可选择未来日期,优先级高于disabledDate",
|
|
1336
|
+
"type": "boolean"
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"name": "disabledDate",
|
|
1340
|
+
"description": "不可选择的日期",
|
|
1341
|
+
"attribute": false,
|
|
1342
|
+
"type": "DisabledDateType"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "useFastSelectBtn",
|
|
1346
|
+
"description": "快速选项",
|
|
1347
|
+
"type": "boolean"
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"name": "inputStyle",
|
|
1351
|
+
"description": "输入框样式",
|
|
1352
|
+
"attribute": false,
|
|
1353
|
+
"type": "CSSProperties"
|
|
1317
1354
|
}
|
|
1318
1355
|
],
|
|
1319
1356
|
"events": [
|
|
1320
1357
|
{
|
|
1321
1358
|
"name": "change",
|
|
1322
|
-
"description": "
|
|
1323
|
-
"detail": {
|
|
1324
|
-
"type": "string"
|
|
1325
|
-
}
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"name": "open",
|
|
1329
|
-
"description": "面板打开时触发, 传出当前时间值",
|
|
1359
|
+
"description": "日期变化时触发",
|
|
1330
1360
|
"detail": {
|
|
1331
1361
|
"type": "string"
|
|
1332
1362
|
}
|
|
1333
1363
|
},
|
|
1334
1364
|
{
|
|
1335
|
-
"name": "
|
|
1336
|
-
"description": "
|
|
1365
|
+
"name": "ok",
|
|
1366
|
+
"description": "点击确定按钮触发(showTime 为 true 使用)",
|
|
1337
1367
|
"detail": {
|
|
1338
1368
|
"type": "string"
|
|
1339
1369
|
}
|
|
@@ -1342,98 +1372,151 @@
|
|
|
1342
1372
|
"slots": [],
|
|
1343
1373
|
"methods": [],
|
|
1344
1374
|
"parts": [],
|
|
1345
|
-
"description": "
|
|
1375
|
+
"description": "日期选择器",
|
|
1346
1376
|
"category": "form-input-basic"
|
|
1347
1377
|
},
|
|
1348
1378
|
{
|
|
1349
|
-
"name": "eo-
|
|
1379
|
+
"name": "eo-color-picker",
|
|
1350
1380
|
"properties": [
|
|
1351
1381
|
{
|
|
1352
1382
|
"name": "name",
|
|
1353
|
-
"description": "
|
|
1383
|
+
"description": "字段名称",
|
|
1354
1384
|
"type": "string"
|
|
1355
1385
|
},
|
|
1356
1386
|
{
|
|
1357
1387
|
"name": "label",
|
|
1358
|
-
"description": "
|
|
1388
|
+
"description": "字段说明",
|
|
1359
1389
|
"type": "string"
|
|
1360
1390
|
},
|
|
1361
1391
|
{
|
|
1362
1392
|
"name": "value",
|
|
1363
|
-
"description": "
|
|
1393
|
+
"description": "值",
|
|
1364
1394
|
"type": "string"
|
|
1365
1395
|
},
|
|
1366
1396
|
{
|
|
1367
|
-
"name": "
|
|
1368
|
-
"description": "
|
|
1369
|
-
"type": "string"
|
|
1397
|
+
"name": "defaultValue",
|
|
1398
|
+
"description": "颜色默认的值",
|
|
1399
|
+
"type": "string | Color"
|
|
1370
1400
|
},
|
|
1371
1401
|
{
|
|
1372
|
-
"name": "
|
|
1373
|
-
"description": "
|
|
1374
|
-
"
|
|
1375
|
-
"type": "Record<string, string>"
|
|
1402
|
+
"name": "required",
|
|
1403
|
+
"description": "是否必填",
|
|
1404
|
+
"type": "boolean"
|
|
1376
1405
|
},
|
|
1377
1406
|
{
|
|
1378
|
-
"name": "
|
|
1379
|
-
"description": "
|
|
1407
|
+
"name": "allowClear",
|
|
1408
|
+
"description": "允许清除选择的颜色",
|
|
1380
1409
|
"type": "boolean"
|
|
1381
1410
|
},
|
|
1382
1411
|
{
|
|
1383
|
-
"name": "
|
|
1384
|
-
"description": "
|
|
1412
|
+
"name": "size",
|
|
1413
|
+
"description": "设置触发器大小",
|
|
1414
|
+
"default": "middle",
|
|
1415
|
+
"attribute": false,
|
|
1416
|
+
"type": "\"small\" | \"middle\" | \"large\""
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"name": "showText",
|
|
1420
|
+
"description": "显示颜色文本",
|
|
1385
1421
|
"type": "boolean"
|
|
1386
1422
|
},
|
|
1387
1423
|
{
|
|
1388
|
-
"name": "
|
|
1389
|
-
"description": "
|
|
1424
|
+
"name": "disabled",
|
|
1425
|
+
"description": "是否禁用",
|
|
1390
1426
|
"type": "boolean"
|
|
1391
1427
|
},
|
|
1392
1428
|
{
|
|
1393
1429
|
"name": "format",
|
|
1394
|
-
"description": "
|
|
1395
|
-
"
|
|
1430
|
+
"description": "颜色格式",
|
|
1431
|
+
"default": "hex",
|
|
1432
|
+
"attribute": false,
|
|
1433
|
+
"type": "\"rgb\" | \"hex\" | \"hsb\""
|
|
1396
1434
|
},
|
|
1397
1435
|
{
|
|
1398
|
-
"name": "
|
|
1399
|
-
"description": "
|
|
1436
|
+
"name": "configProps",
|
|
1437
|
+
"description": "透传 antd ColorPicker 属性 [ColorPickerProps](https://ant.design/components/color-picker-cn#api)",
|
|
1400
1438
|
"attribute": false,
|
|
1401
|
-
"type": "
|
|
1439
|
+
"type": "Partial<ColorPickerProps>"
|
|
1440
|
+
}
|
|
1441
|
+
],
|
|
1442
|
+
"events": [
|
|
1443
|
+
{
|
|
1444
|
+
"name": "change",
|
|
1445
|
+
"description": "颜色变化事件, 返回值格式和`format`格式一致",
|
|
1446
|
+
"detail": {
|
|
1447
|
+
"type": "string | undefined"
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
],
|
|
1451
|
+
"slots": [],
|
|
1452
|
+
"methods": [],
|
|
1453
|
+
"parts": [],
|
|
1454
|
+
"description": "构件 `eo-color-picker`"
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"name": "eo-time-picker",
|
|
1458
|
+
"properties": [
|
|
1459
|
+
{
|
|
1460
|
+
"name": "name",
|
|
1461
|
+
"description": "时间选择器字段名",
|
|
1462
|
+
"type": "string"
|
|
1402
1463
|
},
|
|
1403
1464
|
{
|
|
1404
|
-
"name": "
|
|
1405
|
-
"description": "
|
|
1406
|
-
"type": "
|
|
1465
|
+
"name": "label",
|
|
1466
|
+
"description": "时间选择器说明",
|
|
1467
|
+
"type": "string"
|
|
1407
1468
|
},
|
|
1408
1469
|
{
|
|
1409
|
-
"name": "
|
|
1410
|
-
"description": "
|
|
1470
|
+
"name": "value",
|
|
1471
|
+
"description": "时间选择器的初始值",
|
|
1472
|
+
"type": "string"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"name": "placeholder",
|
|
1476
|
+
"description": "时间选择器占位说明",
|
|
1477
|
+
"type": "string"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "message",
|
|
1481
|
+
"description": "校验文本信息",
|
|
1411
1482
|
"attribute": false,
|
|
1412
|
-
"type": "
|
|
1483
|
+
"type": "Record<string, string>"
|
|
1413
1484
|
},
|
|
1414
1485
|
{
|
|
1415
|
-
"name": "
|
|
1416
|
-
"description": "
|
|
1486
|
+
"name": "disabled",
|
|
1487
|
+
"description": "是否禁用",
|
|
1417
1488
|
"type": "boolean"
|
|
1418
1489
|
},
|
|
1419
1490
|
{
|
|
1420
|
-
"name": "
|
|
1421
|
-
"description": "
|
|
1491
|
+
"name": "required",
|
|
1492
|
+
"description": "是否必填",
|
|
1493
|
+
"type": "boolean"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "configProps",
|
|
1497
|
+
"description": "透传 antd timePicker 属性 [timePickerProps](https://ant.design/components/time-picker-cn)",
|
|
1422
1498
|
"attribute": false,
|
|
1423
|
-
"type": "
|
|
1499
|
+
"type": "Partial<TimePickerProps>"
|
|
1424
1500
|
}
|
|
1425
1501
|
],
|
|
1426
1502
|
"events": [
|
|
1427
1503
|
{
|
|
1428
1504
|
"name": "change",
|
|
1429
|
-
"description": "
|
|
1505
|
+
"description": "时间变化时触发",
|
|
1430
1506
|
"detail": {
|
|
1431
1507
|
"type": "string"
|
|
1432
1508
|
}
|
|
1433
1509
|
},
|
|
1434
1510
|
{
|
|
1435
|
-
"name": "
|
|
1436
|
-
"description": "
|
|
1511
|
+
"name": "open",
|
|
1512
|
+
"description": "面板打开时触发, 传出当前时间值",
|
|
1513
|
+
"detail": {
|
|
1514
|
+
"type": "string"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"name": "close",
|
|
1519
|
+
"description": "面板关闭时触发,传出当前时间值",
|
|
1437
1520
|
"detail": {
|
|
1438
1521
|
"type": "string"
|
|
1439
1522
|
}
|
|
@@ -1442,7 +1525,7 @@
|
|
|
1442
1525
|
"slots": [],
|
|
1443
1526
|
"methods": [],
|
|
1444
1527
|
"parts": [],
|
|
1445
|
-
"description": "
|
|
1528
|
+
"description": "时间选择器",
|
|
1446
1529
|
"category": "form-input-basic"
|
|
1447
1530
|
},
|
|
1448
1531
|
{
|
|
@@ -1527,84 +1610,6 @@
|
|
|
1527
1610
|
"description": "时间区间选择器",
|
|
1528
1611
|
"category": "form-input-basic"
|
|
1529
1612
|
},
|
|
1530
|
-
{
|
|
1531
|
-
"name": "eo-color-picker",
|
|
1532
|
-
"properties": [
|
|
1533
|
-
{
|
|
1534
|
-
"name": "name",
|
|
1535
|
-
"description": "字段名称",
|
|
1536
|
-
"type": "string"
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
"name": "label",
|
|
1540
|
-
"description": "字段说明",
|
|
1541
|
-
"type": "string"
|
|
1542
|
-
},
|
|
1543
|
-
{
|
|
1544
|
-
"name": "value",
|
|
1545
|
-
"description": "值",
|
|
1546
|
-
"type": "string"
|
|
1547
|
-
},
|
|
1548
|
-
{
|
|
1549
|
-
"name": "defaultValue",
|
|
1550
|
-
"description": "颜色默认的值",
|
|
1551
|
-
"type": "string | Color"
|
|
1552
|
-
},
|
|
1553
|
-
{
|
|
1554
|
-
"name": "required",
|
|
1555
|
-
"description": "是否必填",
|
|
1556
|
-
"type": "boolean"
|
|
1557
|
-
},
|
|
1558
|
-
{
|
|
1559
|
-
"name": "allowClear",
|
|
1560
|
-
"description": "允许清除选择的颜色",
|
|
1561
|
-
"type": "boolean"
|
|
1562
|
-
},
|
|
1563
|
-
{
|
|
1564
|
-
"name": "size",
|
|
1565
|
-
"description": "设置触发器大小",
|
|
1566
|
-
"default": "middle",
|
|
1567
|
-
"attribute": false,
|
|
1568
|
-
"type": "\"small\" | \"middle\" | \"large\""
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
"name": "showText",
|
|
1572
|
-
"description": "显示颜色文本",
|
|
1573
|
-
"type": "boolean"
|
|
1574
|
-
},
|
|
1575
|
-
{
|
|
1576
|
-
"name": "disabled",
|
|
1577
|
-
"description": "是否禁用",
|
|
1578
|
-
"type": "boolean"
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
"name": "format",
|
|
1582
|
-
"description": "颜色格式",
|
|
1583
|
-
"default": "hex",
|
|
1584
|
-
"attribute": false,
|
|
1585
|
-
"type": "\"rgb\" | \"hex\" | \"hsb\""
|
|
1586
|
-
},
|
|
1587
|
-
{
|
|
1588
|
-
"name": "configProps",
|
|
1589
|
-
"description": "透传 antd ColorPicker 属性 [ColorPickerProps](https://ant.design/components/color-picker-cn#api)",
|
|
1590
|
-
"attribute": false,
|
|
1591
|
-
"type": "Partial<ColorPickerProps>"
|
|
1592
|
-
}
|
|
1593
|
-
],
|
|
1594
|
-
"events": [
|
|
1595
|
-
{
|
|
1596
|
-
"name": "change",
|
|
1597
|
-
"description": "颜色变化事件, 返回值格式和`format`格式一致",
|
|
1598
|
-
"detail": {
|
|
1599
|
-
"type": "string | undefined"
|
|
1600
|
-
}
|
|
1601
|
-
}
|
|
1602
|
-
],
|
|
1603
|
-
"slots": [],
|
|
1604
|
-
"methods": [],
|
|
1605
|
-
"parts": [],
|
|
1606
|
-
"description": "构件 `eo-color-picker`"
|
|
1607
|
-
},
|
|
1608
1613
|
{
|
|
1609
1614
|
"name": "eo-form-item",
|
|
1610
1615
|
"alias": [
|