@next-bricks/form 1.3.0 → 1.3.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.
@@ -732,7 +732,7 @@
732
732
  "name": "change",
733
733
  "description": "值变化事件",
734
734
  "detail": {
735
- "type": "{\n label: string;\n value: any;\n [key: string]: any;\n }"
735
+ "type": "GeneralComplexOption | undefined"
736
736
  }
737
737
  },
738
738
  {
@@ -809,98 +809,6 @@
809
809
  "description": "表单提交按钮",
810
810
  "category": "form-input-basic"
811
811
  },
812
- {
813
- "name": "eo-checkbox",
814
- "alias": [
815
- "form.general-checkbox"
816
- ],
817
- "properties": [
818
- {
819
- "name": "name",
820
- "description": "字段名称",
821
- "type": "string"
822
- },
823
- {
824
- "name": "label",
825
- "description": "字段说明",
826
- "type": "string"
827
- },
828
- {
829
- "name": "value",
830
- "description": "值",
831
- "attribute": false,
832
- "type": "CheckboxValueType[]"
833
- },
834
- {
835
- "name": "options",
836
- "description": "多选框选项表",
837
- "required": true,
838
- "default": "[]",
839
- "attribute": false,
840
- "type": "CheckboxOptionType[]"
841
- },
842
- {
843
- "name": "type",
844
- "description": "类型",
845
- "default": "\"default\"",
846
- "type": "CheckboxType"
847
- },
848
- {
849
- "name": "disabled",
850
- "description": "是否禁用",
851
- "type": "boolean"
852
- },
853
- {
854
- "name": "isCustom",
855
- "description": "是否为自定义",
856
- "default": "false",
857
- "type": "boolean"
858
- },
859
- {
860
- "name": "required",
861
- "description": "是否必填",
862
- "type": "boolean"
863
- },
864
- {
865
- "name": "message",
866
- "description": "校验文本",
867
- "attribute": false,
868
- "type": "Record<string, string>"
869
- },
870
- {
871
- "name": "isGroup",
872
- "description": "是否为复选框,为true时,则可设置分组数据 optionGroups",
873
- "type": "boolean"
874
- },
875
- {
876
- "name": "optionGroups",
877
- "description": "多选框选项分组数据,需要设置 isGroup 为 true 才生效",
878
- "attribute": false,
879
- "type": "OptionGroup[]"
880
- }
881
- ],
882
- "events": [
883
- {
884
- "name": "change",
885
- "description": "复选框变化事件",
886
- "detail": {
887
- "type": "CheckboxOptionType[]"
888
- }
889
- },
890
- {
891
- "name": "options.change",
892
- "description": "复选框变化事件",
893
- "detail": {
894
- "type": "{\n options: CheckboxOptionType[];\n name: string;\n }"
895
- }
896
- }
897
- ],
898
- "slots": [],
899
- "methods": [],
900
- "parts": [],
901
- "description": "表单复选框构件",
902
- "category": "form-input-basic"
903
- },
904
812
  {
905
813
  "name": "eo-dynamic-form-item",
906
814
  "alias": [
@@ -1054,6 +962,98 @@
1054
962
  "description": "搜索框",
1055
963
  "category": "form-input-basic"
1056
964
  },
965
+ {
966
+ "name": "eo-checkbox",
967
+ "alias": [
968
+ "form.general-checkbox"
969
+ ],
970
+ "properties": [
971
+ {
972
+ "name": "name",
973
+ "description": "字段名称",
974
+ "type": "string"
975
+ },
976
+ {
977
+ "name": "label",
978
+ "description": "字段说明",
979
+ "type": "string"
980
+ },
981
+ {
982
+ "name": "value",
983
+ "description": "值",
984
+ "attribute": false,
985
+ "type": "CheckboxValueType[]"
986
+ },
987
+ {
988
+ "name": "options",
989
+ "description": "多选框选项表",
990
+ "required": true,
991
+ "default": "[]",
992
+ "attribute": false,
993
+ "type": "CheckboxOptionType[]"
994
+ },
995
+ {
996
+ "name": "type",
997
+ "description": "类型",
998
+ "default": "\"default\"",
999
+ "type": "CheckboxType"
1000
+ },
1001
+ {
1002
+ "name": "disabled",
1003
+ "description": "是否禁用",
1004
+ "type": "boolean"
1005
+ },
1006
+ {
1007
+ "name": "isCustom",
1008
+ "description": "是否为自定义",
1009
+ "default": "false",
1010
+ "type": "boolean"
1011
+ },
1012
+ {
1013
+ "name": "required",
1014
+ "description": "是否必填",
1015
+ "type": "boolean"
1016
+ },
1017
+ {
1018
+ "name": "message",
1019
+ "description": "校验文本",
1020
+ "attribute": false,
1021
+ "type": "Record<string, string>"
1022
+ },
1023
+ {
1024
+ "name": "isGroup",
1025
+ "description": "是否为复选框,为true时,则可设置分组数据 optionGroups",
1026
+ "type": "boolean"
1027
+ },
1028
+ {
1029
+ "name": "optionGroups",
1030
+ "description": "多选框选项分组数据,需要设置 isGroup 为 true 才生效",
1031
+ "attribute": false,
1032
+ "type": "OptionGroup[]"
1033
+ }
1034
+ ],
1035
+ "events": [
1036
+ {
1037
+ "name": "change",
1038
+ "description": "复选框变化事件",
1039
+ "detail": {
1040
+ "type": "CheckboxOptionType[]"
1041
+ }
1042
+ },
1043
+ {
1044
+ "name": "options.change",
1045
+ "description": "复选框变化事件",
1046
+ "detail": {
1047
+ "type": "{\n options: CheckboxOptionType[];\n name: string;\n }"
1048
+ }
1049
+ }
1050
+ ],
1051
+ "slots": [],
1052
+ "methods": [],
1053
+ "parts": [],
1054
+ "description": "表单复选框构件",
1055
+ "category": "form-input-basic"
1056
+ },
1057
1057
  {
1058
1058
  "name": "eo-icon-select",
1059
1059
  "alias": [