@next-bricks/form 1.2.0 → 1.2.1

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.
@@ -509,6 +509,104 @@
509
509
  "category": "form-input-basic",
510
510
  "insider": true
511
511
  },
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": "{\n label: string;\n value: any;\n [key: string]: any;\n }"
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
+ },
512
610
  {
513
611
  "name": "eo-select",
514
612
  "alias": [
@@ -651,104 +749,6 @@
651
749
  "description": "通用下拉选择构件",
652
750
  "category": "form-input-basic"
653
751
  },
654
- {
655
- "name": "eo-radio",
656
- "alias": [
657
- "form.general-radio"
658
- ],
659
- "properties": [
660
- {
661
- "name": "name",
662
- "description": "下拉框字段名",
663
- "type": "string"
664
- },
665
- {
666
- "name": "label",
667
- "description": "单选框字段说明",
668
- "type": "string"
669
- },
670
- {
671
- "name": "options",
672
- "description": "单选框选项表",
673
- "required": true,
674
- "attribute": false,
675
- "type": "GeneralOption[]"
676
- },
677
- {
678
- "name": "value",
679
- "description": "单选框当前选中始值",
680
- "attribute": false,
681
- "type": "any"
682
- },
683
- {
684
- "name": "required",
685
- "description": "是否必填",
686
- "type": "boolean"
687
- },
688
- {
689
- "name": "message",
690
- "description": "校验文本信息",
691
- "attribute": false,
692
- "type": "Record<string, string>"
693
- },
694
- {
695
- "name": "disabled",
696
- "description": "是否禁用",
697
- "type": "boolean"
698
- },
699
- {
700
- "name": "type",
701
- "description": "单选框样式类型",
702
- "default": "\"default\"",
703
- "type": "RadioType"
704
- },
705
- {
706
- "name": "ui",
707
- "description": "UI样式",
708
- "default": "\"default\"",
709
- "type": "UIType"
710
- },
711
- {
712
- "name": "size",
713
- "description": "大小,只对按钮样式生效",
714
- "default": "\"medium\"",
715
- "type": "ComponentSize"
716
- },
717
- {
718
- "name": "customStyle",
719
- "description": "自定义radio的外层样式",
720
- "attribute": false,
721
- "type": "React.CSSProperties"
722
- },
723
- {
724
- "name": "useBrick",
725
- "description": "自定义radio的内容",
726
- "attribute": false,
727
- "type": "UseSingleBrickConf"
728
- }
729
- ],
730
- "events": [
731
- {
732
- "name": "change",
733
- "description": "值变化事件",
734
- "detail": {
735
- "type": "{\n label: string;\n value: any;\n [key: string]: any;\n }"
736
- }
737
- },
738
- {
739
- "name": "options.change",
740
- "description": "选项列表变化事件",
741
- "detail": {
742
- "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
743
- }
744
- }
745
- ],
746
- "slots": [],
747
- "methods": [],
748
- "parts": [],
749
- "description": "通用单选构件",
750
- "category": "form-input-basic"
751
- },
752
752
  {
753
753
  "name": "eo-submit-buttons",
754
754
  "alias": [
@@ -1452,6 +1452,81 @@
1452
1452
  "description": "带候选项的输入框",
1453
1453
  "category": "form-input-basic"
1454
1454
  },
1455
+ {
1456
+ "name": "eo-time-picker",
1457
+ "properties": [
1458
+ {
1459
+ "name": "name",
1460
+ "description": "时间选择器字段名",
1461
+ "type": "string"
1462
+ },
1463
+ {
1464
+ "name": "label",
1465
+ "description": "时间选择器说明",
1466
+ "type": "string"
1467
+ },
1468
+ {
1469
+ "name": "value",
1470
+ "description": "时间选择器的初始值",
1471
+ "type": "string"
1472
+ },
1473
+ {
1474
+ "name": "placeholder",
1475
+ "description": "时间选择器占位说明",
1476
+ "type": "string"
1477
+ },
1478
+ {
1479
+ "name": "message",
1480
+ "description": "校验文本信息",
1481
+ "attribute": false,
1482
+ "type": "Record<string, string>"
1483
+ },
1484
+ {
1485
+ "name": "disabled",
1486
+ "description": "是否禁用",
1487
+ "type": "boolean"
1488
+ },
1489
+ {
1490
+ "name": "required",
1491
+ "description": "是否必填",
1492
+ "type": "boolean"
1493
+ },
1494
+ {
1495
+ "name": "configProps",
1496
+ "description": "透传 antd timePicker 属性 [timePickerProps](https://ant.design/components/time-picker-cn)",
1497
+ "attribute": false,
1498
+ "type": "Partial<TimePickerProps>"
1499
+ }
1500
+ ],
1501
+ "events": [
1502
+ {
1503
+ "name": "change",
1504
+ "description": "时间变化时触发",
1505
+ "detail": {
1506
+ "type": "string"
1507
+ }
1508
+ },
1509
+ {
1510
+ "name": "open",
1511
+ "description": "面板打开时触发, 传出当前时间值",
1512
+ "detail": {
1513
+ "type": "string"
1514
+ }
1515
+ },
1516
+ {
1517
+ "name": "close",
1518
+ "description": "面板关闭时触发,传出当前时间值",
1519
+ "detail": {
1520
+ "type": "string"
1521
+ }
1522
+ }
1523
+ ],
1524
+ "slots": [],
1525
+ "methods": [],
1526
+ "parts": [],
1527
+ "description": "时间选择器",
1528
+ "category": "form-input-basic"
1529
+ },
1455
1530
  {
1456
1531
  "name": "eo-date-picker",
1457
1532
  "properties": [
@@ -1621,81 +1696,6 @@
1621
1696
  "parts": [],
1622
1697
  "description": "时间区间选择器",
1623
1698
  "category": "form-input-basic"
1624
- },
1625
- {
1626
- "name": "eo-time-picker",
1627
- "properties": [
1628
- {
1629
- "name": "name",
1630
- "description": "时间选择器字段名",
1631
- "type": "string"
1632
- },
1633
- {
1634
- "name": "label",
1635
- "description": "时间选择器说明",
1636
- "type": "string"
1637
- },
1638
- {
1639
- "name": "value",
1640
- "description": "时间选择器的初始值",
1641
- "type": "string"
1642
- },
1643
- {
1644
- "name": "placeholder",
1645
- "description": "时间选择器占位说明",
1646
- "type": "string"
1647
- },
1648
- {
1649
- "name": "message",
1650
- "description": "校验文本信息",
1651
- "attribute": false,
1652
- "type": "Record<string, string>"
1653
- },
1654
- {
1655
- "name": "disabled",
1656
- "description": "是否禁用",
1657
- "type": "boolean"
1658
- },
1659
- {
1660
- "name": "required",
1661
- "description": "是否必填",
1662
- "type": "boolean"
1663
- },
1664
- {
1665
- "name": "configProps",
1666
- "description": "透传 antd timePicker 属性 [timePickerProps](https://ant.design/components/time-picker-cn)",
1667
- "attribute": false,
1668
- "type": "Partial<TimePickerProps>"
1669
- }
1670
- ],
1671
- "events": [
1672
- {
1673
- "name": "change",
1674
- "description": "时间变化时触发",
1675
- "detail": {
1676
- "type": "string"
1677
- }
1678
- },
1679
- {
1680
- "name": "open",
1681
- "description": "面板打开时触发, 传出当前时间值",
1682
- "detail": {
1683
- "type": "string"
1684
- }
1685
- },
1686
- {
1687
- "name": "close",
1688
- "description": "面板关闭时触发,传出当前时间值",
1689
- "detail": {
1690
- "type": "string"
1691
- }
1692
- }
1693
- ],
1694
- "slots": [],
1695
- "methods": [],
1696
- "parts": [],
1697
- "description": "时间选择器",
1698
- "category": "form-input-basic"
1699
1699
  }
1700
1700
  ],
1701
1701
  "providers": []