@next-bricks/form 1.1.1 → 1.2.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.
Files changed (26) hide show
  1. package/dist/bricks.json +16 -16
  2. package/dist/chunks/1236.1e54c312.js +2 -0
  3. package/dist/chunks/1236.1e54c312.js.map +1 -0
  4. package/dist/chunks/{5789.86a92b1d.js → 5789.e946d373.js} +3 -3
  5. package/dist/chunks/{5789.86a92b1d.js.map → 5789.e946d373.js.map} +1 -1
  6. package/dist/chunks/{eo-input.aba9b0d9.js → eo-input.d11ac139.js} +3 -3
  7. package/dist/chunks/{eo-input.aba9b0d9.js.map → eo-input.d11ac139.js.map} +1 -1
  8. package/dist/chunks/eo-upload-image.1d5282e1.js +3 -0
  9. package/dist/chunks/eo-upload-image.1d5282e1.js.map +1 -0
  10. package/dist/chunks/{main.059f5a3a.js → main.503a3dda.js} +2 -2
  11. package/dist/chunks/{main.059f5a3a.js.map → main.503a3dda.js.map} +1 -1
  12. package/dist/examples.json +6 -6
  13. package/dist/index.b44365ae.js +2 -0
  14. package/dist/{index.47a76ab2.js.map → index.b44365ae.js.map} +1 -1
  15. package/dist/manifest.json +178 -173
  16. package/dist/types.json +396 -389
  17. package/dist-types/upload/upload-image/index.d.ts +5 -0
  18. package/package.json +2 -2
  19. package/dist/chunks/1236.105a8242.js +0 -2
  20. package/dist/chunks/1236.105a8242.js.map +0 -1
  21. package/dist/chunks/eo-upload-image.3d7cec71.js +0 -3
  22. package/dist/chunks/eo-upload-image.3d7cec71.js.map +0 -1
  23. package/dist/index.47a76ab2.js +0 -2
  24. /package/dist/chunks/{5789.86a92b1d.js.LICENSE.txt → 5789.e946d373.js.LICENSE.txt} +0 -0
  25. /package/dist/chunks/{eo-input.aba9b0d9.js.LICENSE.txt → eo-input.d11ac139.js.LICENSE.txt} +0 -0
  26. /package/dist/chunks/{eo-upload-image.3d7cec71.js.LICENSE.txt → eo-upload-image.1d5282e1.js.LICENSE.txt} +0 -0
@@ -509,104 +509,6 @@
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
- },
610
512
  {
611
513
  "name": "eo-select",
612
514
  "alias": [
@@ -749,6 +651,104 @@
749
651
  "description": "通用下拉选择构件",
750
652
  "category": "form-input-basic"
751
653
  },
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": [
@@ -1135,6 +1135,11 @@
1135
1135
  "description": "对象存储桶名字",
1136
1136
  "type": "string"
1137
1137
  },
1138
+ {
1139
+ "name": "maxCount",
1140
+ "description": "最大上传数量",
1141
+ "type": "number"
1142
+ },
1138
1143
  {
1139
1144
  "name": "multiple",
1140
1145
  "description": "是否支持选定的多张图片",
@@ -1447,81 +1452,6 @@
1447
1452
  "description": "带候选项的输入框",
1448
1453
  "category": "form-input-basic"
1449
1454
  },
1450
- {
1451
- "name": "eo-time-picker",
1452
- "properties": [
1453
- {
1454
- "name": "name",
1455
- "description": "时间选择器字段名",
1456
- "type": "string"
1457
- },
1458
- {
1459
- "name": "label",
1460
- "description": "时间选择器说明",
1461
- "type": "string"
1462
- },
1463
- {
1464
- "name": "value",
1465
- "description": "时间选择器的初始值",
1466
- "type": "string"
1467
- },
1468
- {
1469
- "name": "placeholder",
1470
- "description": "时间选择器占位说明",
1471
- "type": "string"
1472
- },
1473
- {
1474
- "name": "message",
1475
- "description": "校验文本信息",
1476
- "attribute": false,
1477
- "type": "Record<string, string>"
1478
- },
1479
- {
1480
- "name": "disabled",
1481
- "description": "是否禁用",
1482
- "type": "boolean"
1483
- },
1484
- {
1485
- "name": "required",
1486
- "description": "是否必填",
1487
- "type": "boolean"
1488
- },
1489
- {
1490
- "name": "configProps",
1491
- "description": "透传 antd timePicker 属性 [timePickerProps](https://ant.design/components/time-picker-cn)",
1492
- "attribute": false,
1493
- "type": "Partial<TimePickerProps>"
1494
- }
1495
- ],
1496
- "events": [
1497
- {
1498
- "name": "change",
1499
- "description": "时间变化时触发",
1500
- "detail": {
1501
- "type": "string"
1502
- }
1503
- },
1504
- {
1505
- "name": "open",
1506
- "description": "面板打开时触发, 传出当前时间值",
1507
- "detail": {
1508
- "type": "string"
1509
- }
1510
- },
1511
- {
1512
- "name": "close",
1513
- "description": "面板关闭时触发,传出当前时间值",
1514
- "detail": {
1515
- "type": "string"
1516
- }
1517
- }
1518
- ],
1519
- "slots": [],
1520
- "methods": [],
1521
- "parts": [],
1522
- "description": "时间选择器",
1523
- "category": "form-input-basic"
1524
- },
1525
1455
  {
1526
1456
  "name": "eo-date-picker",
1527
1457
  "properties": [
@@ -1691,6 +1621,81 @@
1691
1621
  "parts": [],
1692
1622
  "description": "时间区间选择器",
1693
1623
  "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"
1694
1699
  }
1695
1700
  ],
1696
1701
  "providers": []