@next-bricks/form 1.3.3 → 1.4.0
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 +10 -6
- package/dist/chunks/3272.c8f5ddbe.js +3 -0
- package/dist/chunks/3272.c8f5ddbe.js.map +1 -0
- package/dist/chunks/{6064.b8e47421.js → 3680.e6aea8aa.js} +2 -2
- package/dist/chunks/{3680.8833e0a1.js.map → 3680.e6aea8aa.js.map} +1 -1
- package/dist/chunks/3876.0f56e28f.js +2 -0
- package/dist/chunks/3876.0f56e28f.js.map +1 -0
- package/dist/chunks/4036.697bb7d5.js +2 -0
- package/dist/chunks/4036.697bb7d5.js.map +1 -0
- package/dist/chunks/5592.337f1e09.js +3 -0
- package/dist/chunks/{8756.8f9f59d0.js.LICENSE.txt → 5592.337f1e09.js.LICENSE.txt} +2 -1
- package/dist/chunks/5592.337f1e09.js.map +1 -0
- package/dist/chunks/{3680.8833e0a1.js → 6064.e0b29ffb.js} +2 -2
- package/dist/chunks/{6064.b8e47421.js.map → 6064.e0b29ffb.js.map} +1 -1
- package/dist/chunks/7920.5e38e8c9.js +2 -0
- package/dist/chunks/7920.5e38e8c9.js.map +1 -0
- package/dist/chunks/8064.cd34cfbe.js.map +1 -1
- package/dist/chunks/eo-auto-complete.942854e5.js +3 -0
- package/dist/chunks/eo-auto-complete.942854e5.js.map +1 -0
- package/dist/chunks/{eo-checkbox.d54515b0.js → eo-checkbox.85f0e42a.js} +2 -2
- package/dist/chunks/{eo-checkbox.d54515b0.js.map → eo-checkbox.85f0e42a.js.map} +1 -1
- package/dist/chunks/eo-color-picker.01add839.js +2 -0
- package/dist/chunks/eo-color-picker.01add839.js.map +1 -0
- package/dist/chunks/eo-date-picker.68c76fa7.js +2 -0
- package/dist/chunks/eo-date-picker.68c76fa7.js.map +1 -0
- package/dist/chunks/eo-dynamic-form-item.8793a874.js +3 -0
- package/dist/chunks/eo-dynamic-form-item.8793a874.js.map +1 -0
- package/dist/chunks/eo-form-item.e87bfbf2.js +3 -0
- package/dist/chunks/eo-form-item.e87bfbf2.js.map +1 -0
- package/dist/chunks/eo-icon-select.0a1302e8.js +3 -0
- package/dist/chunks/eo-icon-select.0a1302e8.js.map +1 -0
- package/dist/chunks/eo-input.4d1de9c0.js +3 -0
- package/dist/chunks/eo-input.4d1de9c0.js.map +1 -0
- package/dist/chunks/eo-radio.3399140a.js +3 -0
- package/dist/chunks/eo-radio.3399140a.js.map +1 -0
- package/dist/chunks/{eo-select.1b9f6161.js → eo-select.0015a8a7.js} +3 -3
- package/dist/chunks/eo-select.0015a8a7.js.map +1 -0
- package/dist/chunks/eo-switch.be278f86.js +3 -0
- package/dist/chunks/eo-switch.be278f86.js.map +1 -0
- package/dist/chunks/eo-textarea.c632fed0.js +3 -0
- package/dist/chunks/eo-textarea.c632fed0.js.map +1 -0
- package/dist/chunks/{eo-time-picker.5880be32.js → eo-time-picker.1c39e2f4.js} +2 -2
- package/dist/chunks/eo-time-picker.1c39e2f4.js.map +1 -0
- package/dist/chunks/{eo-time-range-picker.8801c45d.js → eo-time-range-picker.9b02234e.js} +2 -2
- package/dist/chunks/eo-time-range-picker.9b02234e.js.map +1 -0
- package/dist/chunks/eo-upload-file.ff14a54d.js +3 -0
- package/dist/chunks/eo-upload-file.ff14a54d.js.map +1 -0
- package/dist/chunks/eo-upload-image.dd6be808.js +3 -0
- package/dist/chunks/eo-upload-image.dd6be808.js.map +1 -0
- package/dist/chunks/main.69f95aa1.js +2 -0
- package/dist/chunks/main.69f95aa1.js.map +1 -0
- package/dist/examples.json +5 -2
- package/dist/index.9caa172c.js +2 -0
- package/dist/index.9caa172c.js.map +1 -0
- package/dist/manifest.json +202 -124
- package/dist/types.json +567 -412
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/color-picker/index.d.ts +66 -0
- package/dist-types/color-picker/index.spec.d.ts +1 -0
- package/docs/eo-color-picker.md +109 -0
- package/package.json +2 -2
- package/dist/chunks/3272.279837d8.js +0 -3
- package/dist/chunks/3272.279837d8.js.map +0 -1
- package/dist/chunks/4540.86eec3d1.js +0 -2
- package/dist/chunks/4540.86eec3d1.js.map +0 -1
- package/dist/chunks/8756.8f9f59d0.js +0 -3
- package/dist/chunks/8756.8f9f59d0.js.map +0 -1
- package/dist/chunks/eo-auto-complete.abfc2ae7.js +0 -3
- package/dist/chunks/eo-auto-complete.abfc2ae7.js.map +0 -1
- package/dist/chunks/eo-date-picker.f69fd5b2.js +0 -2
- package/dist/chunks/eo-date-picker.f69fd5b2.js.map +0 -1
- package/dist/chunks/eo-dynamic-form-item.9c6ebf1f.js +0 -3
- package/dist/chunks/eo-dynamic-form-item.9c6ebf1f.js.map +0 -1
- package/dist/chunks/eo-form-item.c4dc29cf.js +0 -3
- package/dist/chunks/eo-form-item.c4dc29cf.js.map +0 -1
- package/dist/chunks/eo-icon-select.05513840.js +0 -3
- package/dist/chunks/eo-icon-select.05513840.js.map +0 -1
- package/dist/chunks/eo-input.4d30b1b1.js +0 -3
- package/dist/chunks/eo-input.4d30b1b1.js.map +0 -1
- package/dist/chunks/eo-radio.3766e166.js +0 -3
- package/dist/chunks/eo-radio.3766e166.js.map +0 -1
- package/dist/chunks/eo-select.1b9f6161.js.map +0 -1
- package/dist/chunks/eo-switch.ff851d38.js +0 -3
- package/dist/chunks/eo-switch.ff851d38.js.map +0 -1
- package/dist/chunks/eo-textarea.38defa38.js +0 -3
- package/dist/chunks/eo-textarea.38defa38.js.map +0 -1
- package/dist/chunks/eo-time-picker.5880be32.js.map +0 -1
- package/dist/chunks/eo-time-range-picker.8801c45d.js.map +0 -1
- package/dist/chunks/eo-upload-file.cf3a88b0.js +0 -3
- package/dist/chunks/eo-upload-file.cf3a88b0.js.map +0 -1
- package/dist/chunks/eo-upload-image.b9f8010b.js +0 -3
- package/dist/chunks/eo-upload-image.b9f8010b.js.map +0 -1
- package/dist/chunks/main.2f0396fd.js +0 -2
- package/dist/chunks/main.2f0396fd.js.map +0 -1
- package/dist/index.edffb992.js +0 -2
- package/dist/index.edffb992.js.map +0 -1
- /package/dist/chunks/{3272.279837d8.js.LICENSE.txt → 3272.c8f5ddbe.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-auto-complete.abfc2ae7.js.LICENSE.txt → eo-auto-complete.942854e5.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.9c6ebf1f.js.LICENSE.txt → eo-dynamic-form-item.8793a874.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-form-item.c4dc29cf.js.LICENSE.txt → eo-form-item.e87bfbf2.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.05513840.js.LICENSE.txt → eo-icon-select.0a1302e8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-input.4d30b1b1.js.LICENSE.txt → eo-input.4d1de9c0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.3766e166.js.LICENSE.txt → eo-radio.3399140a.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.1b9f6161.js.LICENSE.txt → eo-select.0015a8a7.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-switch.ff851d38.js.LICENSE.txt → eo-switch.be278f86.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.38defa38.js.LICENSE.txt → eo-textarea.c632fed0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.cf3a88b0.js.LICENSE.txt → eo-upload-file.ff14a54d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.b9f8010b.js.LICENSE.txt → eo-upload-image.dd6be808.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -410,6 +410,104 @@
|
|
|
410
410
|
"description": "表单构件",
|
|
411
411
|
"category": "form-input-basic"
|
|
412
412
|
},
|
|
413
|
+
{
|
|
414
|
+
"name": "eo-radio",
|
|
415
|
+
"alias": [
|
|
416
|
+
"form.general-radio"
|
|
417
|
+
],
|
|
418
|
+
"properties": [
|
|
419
|
+
{
|
|
420
|
+
"name": "name",
|
|
421
|
+
"description": "下拉框字段名",
|
|
422
|
+
"type": "string"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "label",
|
|
426
|
+
"description": "单选框字段说明",
|
|
427
|
+
"type": "string"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "options",
|
|
431
|
+
"description": "单选框选项表",
|
|
432
|
+
"required": true,
|
|
433
|
+
"attribute": false,
|
|
434
|
+
"type": "GeneralOption[]"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "value",
|
|
438
|
+
"description": "单选框当前选中始值",
|
|
439
|
+
"attribute": false,
|
|
440
|
+
"type": "any"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "required",
|
|
444
|
+
"description": "是否必填",
|
|
445
|
+
"type": "boolean"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "message",
|
|
449
|
+
"description": "校验文本信息",
|
|
450
|
+
"attribute": false,
|
|
451
|
+
"type": "Record<string, string>"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "disabled",
|
|
455
|
+
"description": "是否禁用",
|
|
456
|
+
"type": "boolean"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "type",
|
|
460
|
+
"description": "单选框样式类型",
|
|
461
|
+
"default": "\"default\"",
|
|
462
|
+
"type": "RadioType"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "ui",
|
|
466
|
+
"description": "UI样式",
|
|
467
|
+
"default": "\"default\"",
|
|
468
|
+
"type": "UIType"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "size",
|
|
472
|
+
"description": "大小,只对按钮样式生效",
|
|
473
|
+
"default": "\"medium\"",
|
|
474
|
+
"type": "ComponentSize"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "customStyle",
|
|
478
|
+
"description": "自定义radio的外层样式",
|
|
479
|
+
"attribute": false,
|
|
480
|
+
"type": "React.CSSProperties"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "useBrick",
|
|
484
|
+
"description": "自定义radio的内容",
|
|
485
|
+
"attribute": false,
|
|
486
|
+
"type": "UseSingleBrickConf"
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"events": [
|
|
490
|
+
{
|
|
491
|
+
"name": "change",
|
|
492
|
+
"description": "值变化事件",
|
|
493
|
+
"detail": {
|
|
494
|
+
"type": "GeneralComplexOption | undefined"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "options.change",
|
|
499
|
+
"description": "选项列表变化事件",
|
|
500
|
+
"detail": {
|
|
501
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
],
|
|
505
|
+
"slots": [],
|
|
506
|
+
"methods": [],
|
|
507
|
+
"parts": [],
|
|
508
|
+
"description": "通用单选构件",
|
|
509
|
+
"category": "form-input-basic"
|
|
510
|
+
},
|
|
413
511
|
{
|
|
414
512
|
"name": "eo-form-item",
|
|
415
513
|
"alias": [
|
|
@@ -509,104 +607,6 @@
|
|
|
509
607
|
"category": "form-input-basic",
|
|
510
608
|
"insider": true
|
|
511
609
|
},
|
|
512
|
-
{
|
|
513
|
-
"name": "eo-radio",
|
|
514
|
-
"alias": [
|
|
515
|
-
"form.general-radio"
|
|
516
|
-
],
|
|
517
|
-
"properties": [
|
|
518
|
-
{
|
|
519
|
-
"name": "name",
|
|
520
|
-
"description": "下拉框字段名",
|
|
521
|
-
"type": "string"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"name": "label",
|
|
525
|
-
"description": "单选框字段说明",
|
|
526
|
-
"type": "string"
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"name": "options",
|
|
530
|
-
"description": "单选框选项表",
|
|
531
|
-
"required": true,
|
|
532
|
-
"attribute": false,
|
|
533
|
-
"type": "GeneralOption[]"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"name": "value",
|
|
537
|
-
"description": "单选框当前选中始值",
|
|
538
|
-
"attribute": false,
|
|
539
|
-
"type": "any"
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"name": "required",
|
|
543
|
-
"description": "是否必填",
|
|
544
|
-
"type": "boolean"
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
"name": "message",
|
|
548
|
-
"description": "校验文本信息",
|
|
549
|
-
"attribute": false,
|
|
550
|
-
"type": "Record<string, string>"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"name": "disabled",
|
|
554
|
-
"description": "是否禁用",
|
|
555
|
-
"type": "boolean"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"name": "type",
|
|
559
|
-
"description": "单选框样式类型",
|
|
560
|
-
"default": "\"default\"",
|
|
561
|
-
"type": "RadioType"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"name": "ui",
|
|
565
|
-
"description": "UI样式",
|
|
566
|
-
"default": "\"default\"",
|
|
567
|
-
"type": "UIType"
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"name": "size",
|
|
571
|
-
"description": "大小,只对按钮样式生效",
|
|
572
|
-
"default": "\"medium\"",
|
|
573
|
-
"type": "ComponentSize"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"name": "customStyle",
|
|
577
|
-
"description": "自定义radio的外层样式",
|
|
578
|
-
"attribute": false,
|
|
579
|
-
"type": "React.CSSProperties"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"name": "useBrick",
|
|
583
|
-
"description": "自定义radio的内容",
|
|
584
|
-
"attribute": false,
|
|
585
|
-
"type": "UseSingleBrickConf"
|
|
586
|
-
}
|
|
587
|
-
],
|
|
588
|
-
"events": [
|
|
589
|
-
{
|
|
590
|
-
"name": "change",
|
|
591
|
-
"description": "值变化事件",
|
|
592
|
-
"detail": {
|
|
593
|
-
"type": "GeneralComplexOption | undefined"
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"name": "options.change",
|
|
598
|
-
"description": "选项列表变化事件",
|
|
599
|
-
"detail": {
|
|
600
|
-
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
],
|
|
604
|
-
"slots": [],
|
|
605
|
-
"methods": [],
|
|
606
|
-
"parts": [],
|
|
607
|
-
"description": "通用单选构件",
|
|
608
|
-
"category": "form-input-basic"
|
|
609
|
-
},
|
|
610
610
|
{
|
|
611
611
|
"name": "eo-select",
|
|
612
612
|
"alias": [
|
|
@@ -1527,6 +1527,76 @@
|
|
|
1527
1527
|
"description": "时间选择器",
|
|
1528
1528
|
"category": "form-input-basic"
|
|
1529
1529
|
},
|
|
1530
|
+
{
|
|
1531
|
+
"name": "eo-time-range-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
|
+
"default": "{ \"startTime\": \"00:00:00\", \"endTime\": \"23:59:59\" }",
|
|
1547
|
+
"attribute": false,
|
|
1548
|
+
"type": "TimeRange"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "required",
|
|
1552
|
+
"description": "是否必填",
|
|
1553
|
+
"type": "boolean"
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
"name": "rangeType",
|
|
1557
|
+
"description": "时间段类型",
|
|
1558
|
+
"attribute": false,
|
|
1559
|
+
"type": "RangeType"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "selectNearDays",
|
|
1563
|
+
"description": "只有rangeType在`date` 和 `dateTime`下, 才支持只选择最近n天(当前时间向前n天)",
|
|
1564
|
+
"type": "number"
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"name": "emitChangeOnInit",
|
|
1568
|
+
"description": "",
|
|
1569
|
+
"default": "true\n是否在初始化完成后额外触发一次`time.range.change`, 这里因为历史原因之前默认行为就是在初始化后会触发该事件,这里为了兼容之前的行为,默认值只能设置为 true。",
|
|
1570
|
+
"type": "boolean"
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"name": "presetRanges",
|
|
1574
|
+
"description": "",
|
|
1575
|
+
"default": "[]\n预设时间范围快捷选择;设置了属性selectNearDays时,属性presetRanges不生效;属性rangeType为week时,presetRanges的值只能为本周、本月、本季度、今年,属性rangeType为month、quarter、year时,以此类推",
|
|
1576
|
+
"attribute": false,
|
|
1577
|
+
"type": "presetRangeType[]"
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"name": "validator",
|
|
1581
|
+
"attribute": false,
|
|
1582
|
+
"type": "((value: any) => MessageBody | string)"
|
|
1583
|
+
}
|
|
1584
|
+
],
|
|
1585
|
+
"events": [
|
|
1586
|
+
{
|
|
1587
|
+
"name": "change",
|
|
1588
|
+
"description": "时间段变化时触发",
|
|
1589
|
+
"detail": {
|
|
1590
|
+
"type": "TimeRange"
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
],
|
|
1594
|
+
"slots": [],
|
|
1595
|
+
"methods": [],
|
|
1596
|
+
"parts": [],
|
|
1597
|
+
"description": "时间区间选择器",
|
|
1598
|
+
"category": "form-input-basic"
|
|
1599
|
+
},
|
|
1530
1600
|
{
|
|
1531
1601
|
"name": "eo-date-picker",
|
|
1532
1602
|
"properties": [
|
|
@@ -1628,24 +1698,27 @@
|
|
|
1628
1698
|
"category": "form-input-basic"
|
|
1629
1699
|
},
|
|
1630
1700
|
{
|
|
1631
|
-
"name": "eo-
|
|
1701
|
+
"name": "eo-color-picker",
|
|
1632
1702
|
"properties": [
|
|
1633
1703
|
{
|
|
1634
1704
|
"name": "name",
|
|
1635
|
-
"description": "
|
|
1705
|
+
"description": "字段名称",
|
|
1636
1706
|
"type": "string"
|
|
1637
1707
|
},
|
|
1638
1708
|
{
|
|
1639
1709
|
"name": "label",
|
|
1640
|
-
"description": "
|
|
1710
|
+
"description": "字段说明",
|
|
1641
1711
|
"type": "string"
|
|
1642
1712
|
},
|
|
1643
1713
|
{
|
|
1644
1714
|
"name": "value",
|
|
1645
|
-
"description": "
|
|
1646
|
-
"
|
|
1647
|
-
|
|
1648
|
-
|
|
1715
|
+
"description": "值",
|
|
1716
|
+
"type": "string"
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"name": "defaultValue",
|
|
1720
|
+
"description": "颜色默认的值",
|
|
1721
|
+
"type": "string | Color"
|
|
1649
1722
|
},
|
|
1650
1723
|
{
|
|
1651
1724
|
"name": "required",
|
|
@@ -1653,49 +1726,54 @@
|
|
|
1653
1726
|
"type": "boolean"
|
|
1654
1727
|
},
|
|
1655
1728
|
{
|
|
1656
|
-
"name": "
|
|
1657
|
-
"description": "
|
|
1729
|
+
"name": "allowClear",
|
|
1730
|
+
"description": "允许清除选择的颜色",
|
|
1731
|
+
"type": "boolean"
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"name": "size",
|
|
1735
|
+
"description": "设置触发器大小",
|
|
1736
|
+
"default": "middle",
|
|
1658
1737
|
"attribute": false,
|
|
1659
|
-
"type": "
|
|
1738
|
+
"type": "\"small\" | \"middle\" | \"large\""
|
|
1660
1739
|
},
|
|
1661
1740
|
{
|
|
1662
|
-
"name": "
|
|
1663
|
-
"description": "
|
|
1664
|
-
"type": "
|
|
1741
|
+
"name": "showText",
|
|
1742
|
+
"description": "显示颜色文本",
|
|
1743
|
+
"type": "boolean"
|
|
1665
1744
|
},
|
|
1666
1745
|
{
|
|
1667
|
-
"name": "
|
|
1668
|
-
"description": "",
|
|
1669
|
-
"default": "true\n是否在初始化完成后额外触发一次`time.range.change`, 这里因为历史原因之前默认行为就是在初始化后会触发该事件,这里为了兼容之前的行为,默认值只能设置为 true。",
|
|
1746
|
+
"name": "disabled",
|
|
1747
|
+
"description": "是否禁用",
|
|
1670
1748
|
"type": "boolean"
|
|
1671
1749
|
},
|
|
1672
1750
|
{
|
|
1673
|
-
"name": "
|
|
1674
|
-
"description": "",
|
|
1675
|
-
"default": "
|
|
1751
|
+
"name": "format",
|
|
1752
|
+
"description": "颜色格式",
|
|
1753
|
+
"default": "hex",
|
|
1676
1754
|
"attribute": false,
|
|
1677
|
-
"type": "
|
|
1755
|
+
"type": "\"rgb\" | \"hex\" | \"hsb\""
|
|
1678
1756
|
},
|
|
1679
1757
|
{
|
|
1680
|
-
"name": "
|
|
1758
|
+
"name": "configProps",
|
|
1759
|
+
"description": "透传 antd ColorPicker 属性 [ColorPickerProps](https://ant.design/components/color-picker-cn#api)",
|
|
1681
1760
|
"attribute": false,
|
|
1682
|
-
"type": "
|
|
1761
|
+
"type": "Partial<ColorPickerProps>"
|
|
1683
1762
|
}
|
|
1684
1763
|
],
|
|
1685
1764
|
"events": [
|
|
1686
1765
|
{
|
|
1687
1766
|
"name": "change",
|
|
1688
|
-
"description": "
|
|
1767
|
+
"description": "颜色变化事件, 返回值格式和`format`格式一致",
|
|
1689
1768
|
"detail": {
|
|
1690
|
-
"type": "
|
|
1769
|
+
"type": "string | undefined"
|
|
1691
1770
|
}
|
|
1692
1771
|
}
|
|
1693
1772
|
],
|
|
1694
1773
|
"slots": [],
|
|
1695
1774
|
"methods": [],
|
|
1696
1775
|
"parts": [],
|
|
1697
|
-
"description": "
|
|
1698
|
-
"category": "form-input-basic"
|
|
1776
|
+
"description": "构件 `eo-color-picker`"
|
|
1699
1777
|
}
|
|
1700
1778
|
],
|
|
1701
1779
|
"providers": []
|