vant 3.6.2 → 3.6.4
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/README.md +4 -5
- package/changelog.generated.md +25 -30
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.less +4 -0
- package/es/dialog/types.d.ts +1 -1
- package/es/image/Image.d.ts +4 -0
- package/es/image/Image.mjs +3 -1
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +3 -0
- package/es/image/index.less +4 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/tab/Tab.mjs +12 -2
- package/es/tabs/Tabs.mjs +51 -48
- package/es/utils/basic.mjs +2 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.less +4 -0
- package/lib/dialog/types.d.ts +1 -1
- package/lib/image/Image.d.ts +4 -0
- package/lib/image/Image.js +3 -1
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +3 -0
- package/lib/image/index.less +4 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/tab/Tab.js +11 -1
- package/lib/tabs/Tabs.js +51 -48
- package/lib/utils/basic.js +2 -1
- package/lib/vant.cjs.js +78 -63
- package/lib/vant.es.js +78 -63
- package/lib/vant.js +78 -63
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1139 -1129
- package/package.json +2 -1
package/lib/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.6.
|
5
|
+
"version": "3.6.4",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -739,92 +739,6 @@
|
|
739
739
|
}
|
740
740
|
]
|
741
741
|
},
|
742
|
-
{
|
743
|
-
"name": "van-badge",
|
744
|
-
"slots": [
|
745
|
-
{
|
746
|
-
"name": "default",
|
747
|
-
"description": "Default slot"
|
748
|
-
},
|
749
|
-
{
|
750
|
-
"name": "content",
|
751
|
-
"description": "Custom badge content"
|
752
|
-
}
|
753
|
-
],
|
754
|
-
"events": [],
|
755
|
-
"attributes": [
|
756
|
-
{
|
757
|
-
"name": "content",
|
758
|
-
"default": "-",
|
759
|
-
"description": "Badge content",
|
760
|
-
"options": [],
|
761
|
-
"value": {
|
762
|
-
"type": "number | string",
|
763
|
-
"kind": "expression"
|
764
|
-
}
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"name": "color",
|
768
|
-
"default": "`#ee0a24`",
|
769
|
-
"description": "Background color",
|
770
|
-
"options": [],
|
771
|
-
"value": {
|
772
|
-
"type": "string",
|
773
|
-
"kind": "expression"
|
774
|
-
}
|
775
|
-
},
|
776
|
-
{
|
777
|
-
"name": "dot",
|
778
|
-
"default": "`false`",
|
779
|
-
"description": "Whether to show dot",
|
780
|
-
"options": [],
|
781
|
-
"value": {
|
782
|
-
"type": "boolean",
|
783
|
-
"kind": "expression"
|
784
|
-
}
|
785
|
-
},
|
786
|
-
{
|
787
|
-
"name": "max",
|
788
|
-
"default": "-",
|
789
|
-
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
790
|
-
"options": [],
|
791
|
-
"value": {
|
792
|
-
"type": "number | string",
|
793
|
-
"kind": "expression"
|
794
|
-
}
|
795
|
-
},
|
796
|
-
{
|
797
|
-
"name": "offset",
|
798
|
-
"default": "-",
|
799
|
-
"description": "Offset of badge dot",
|
800
|
-
"options": [],
|
801
|
-
"value": {
|
802
|
-
"type": "[number | string, number | string]",
|
803
|
-
"kind": "expression"
|
804
|
-
}
|
805
|
-
},
|
806
|
-
{
|
807
|
-
"name": "show-zero",
|
808
|
-
"default": "`true`",
|
809
|
-
"description": "Whether to show badge when content is zero",
|
810
|
-
"options": [],
|
811
|
-
"value": {
|
812
|
-
"type": "boolean",
|
813
|
-
"kind": "expression"
|
814
|
-
}
|
815
|
-
},
|
816
|
-
{
|
817
|
-
"name": "position",
|
818
|
-
"default": "`top-right`",
|
819
|
-
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
820
|
-
"options": [],
|
821
|
-
"value": {
|
822
|
-
"type": "string",
|
823
|
-
"kind": "expression"
|
824
|
-
}
|
825
|
-
}
|
826
|
-
]
|
827
|
-
},
|
828
742
|
{
|
829
743
|
"name": "van-area",
|
830
744
|
"slots": [
|
@@ -1018,101 +932,154 @@
|
|
1018
932
|
]
|
1019
933
|
},
|
1020
934
|
{
|
1021
|
-
"name": "van-
|
935
|
+
"name": "van-badge",
|
1022
936
|
"slots": [
|
1023
937
|
{
|
1024
938
|
"name": "default",
|
1025
|
-
"description": "
|
939
|
+
"description": "Default slot"
|
1026
940
|
},
|
1027
941
|
{
|
1028
|
-
"name": "
|
1029
|
-
"description": "Custom
|
1030
|
-
}
|
942
|
+
"name": "content",
|
943
|
+
"description": "Custom badge content"
|
944
|
+
}
|
945
|
+
],
|
946
|
+
"events": [],
|
947
|
+
"attributes": [
|
1031
948
|
{
|
1032
|
-
"name": "
|
1033
|
-
"
|
949
|
+
"name": "content",
|
950
|
+
"default": "-",
|
951
|
+
"description": "Badge content",
|
952
|
+
"options": [],
|
953
|
+
"value": {
|
954
|
+
"type": "number | string",
|
955
|
+
"kind": "expression"
|
956
|
+
}
|
1034
957
|
},
|
1035
958
|
{
|
1036
|
-
"name": "
|
1037
|
-
"
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
959
|
+
"name": "color",
|
960
|
+
"default": "`#ee0a24`",
|
961
|
+
"description": "Background color",
|
962
|
+
"options": [],
|
963
|
+
"value": {
|
964
|
+
"type": "string",
|
965
|
+
"kind": "expression"
|
966
|
+
}
|
967
|
+
},
|
1041
968
|
{
|
1042
|
-
"name": "
|
1043
|
-
"
|
1044
|
-
"
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
"name": "index",
|
1051
|
-
"type": "number"
|
1052
|
-
}
|
1053
|
-
]
|
969
|
+
"name": "dot",
|
970
|
+
"default": "`false`",
|
971
|
+
"description": "Whether to show dot",
|
972
|
+
"options": [],
|
973
|
+
"value": {
|
974
|
+
"type": "boolean",
|
975
|
+
"kind": "expression"
|
976
|
+
}
|
1054
977
|
},
|
1055
978
|
{
|
1056
|
-
"name": "
|
1057
|
-
"
|
1058
|
-
"
|
979
|
+
"name": "max",
|
980
|
+
"default": "-",
|
981
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
982
|
+
"options": [],
|
983
|
+
"value": {
|
984
|
+
"type": "number | string",
|
985
|
+
"kind": "expression"
|
986
|
+
}
|
1059
987
|
},
|
1060
988
|
{
|
1061
|
-
"name": "
|
1062
|
-
"
|
1063
|
-
"
|
989
|
+
"name": "offset",
|
990
|
+
"default": "-",
|
991
|
+
"description": "Offset of badge dot",
|
992
|
+
"options": [],
|
993
|
+
"value": {
|
994
|
+
"type": "[number | string, number | string]",
|
995
|
+
"kind": "expression"
|
996
|
+
}
|
1064
997
|
},
|
1065
998
|
{
|
1066
|
-
"name": "
|
1067
|
-
"
|
1068
|
-
"
|
999
|
+
"name": "show-zero",
|
1000
|
+
"default": "`true`",
|
1001
|
+
"description": "Whether to show badge when content is zero",
|
1002
|
+
"options": [],
|
1003
|
+
"value": {
|
1004
|
+
"type": "boolean",
|
1005
|
+
"kind": "expression"
|
1006
|
+
}
|
1069
1007
|
},
|
1070
1008
|
{
|
1071
|
-
"name": "
|
1072
|
-
"
|
1073
|
-
"
|
1009
|
+
"name": "position",
|
1010
|
+
"default": "`top-right`",
|
1011
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1012
|
+
"options": [],
|
1013
|
+
"value": {
|
1014
|
+
"type": "string",
|
1015
|
+
"kind": "expression"
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
]
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"name": "van-button",
|
1022
|
+
"slots": [
|
1023
|
+
{
|
1024
|
+
"name": "default",
|
1025
|
+
"description": "Default slot"
|
1074
1026
|
},
|
1075
1027
|
{
|
1076
|
-
"name": "
|
1077
|
-
"description": "
|
1078
|
-
"arguments": []
|
1028
|
+
"name": "icon",
|
1029
|
+
"description": "Custom icon"
|
1079
1030
|
},
|
1080
1031
|
{
|
1081
|
-
"name": "
|
1082
|
-
"description": "
|
1032
|
+
"name": "loading",
|
1033
|
+
"description": "Custom loading icon"
|
1034
|
+
}
|
1035
|
+
],
|
1036
|
+
"events": [
|
1037
|
+
{
|
1038
|
+
"name": "click",
|
1039
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1083
1040
|
"arguments": [
|
1084
1041
|
{
|
1085
1042
|
"name": "event",
|
1086
1043
|
"type": "MouseEvent"
|
1087
1044
|
}
|
1088
1045
|
]
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"name": "touchstart",
|
1049
|
+
"description": "Emitted when button is touched",
|
1050
|
+
"arguments": [
|
1051
|
+
{
|
1052
|
+
"name": "event",
|
1053
|
+
"type": "TouchEvent"
|
1054
|
+
}
|
1055
|
+
]
|
1089
1056
|
}
|
1090
1057
|
],
|
1091
1058
|
"attributes": [
|
1092
1059
|
{
|
1093
|
-
"name": "
|
1094
|
-
"default": "`
|
1095
|
-
"description": "
|
1060
|
+
"name": "type",
|
1061
|
+
"default": "`default`",
|
1062
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1096
1063
|
"options": [],
|
1097
1064
|
"value": {
|
1098
|
-
"type": "
|
1065
|
+
"type": "string",
|
1099
1066
|
"kind": "expression"
|
1100
1067
|
}
|
1101
1068
|
},
|
1102
1069
|
{
|
1103
|
-
"name": "
|
1104
|
-
"default": "`
|
1105
|
-
"description": "
|
1070
|
+
"name": "size",
|
1071
|
+
"default": "`normal`",
|
1072
|
+
"description": "Can be set to `large` `small` `mini`",
|
1106
1073
|
"options": [],
|
1107
1074
|
"value": {
|
1108
|
-
"type": "
|
1075
|
+
"type": "string",
|
1109
1076
|
"kind": "expression"
|
1110
1077
|
}
|
1111
1078
|
},
|
1112
1079
|
{
|
1113
|
-
"name": "
|
1080
|
+
"name": "text",
|
1114
1081
|
"default": "-",
|
1115
|
-
"description": "
|
1082
|
+
"description": "Text",
|
1116
1083
|
"options": [],
|
1117
1084
|
"value": {
|
1118
1085
|
"type": "string",
|
@@ -1120,9 +1087,9 @@
|
|
1120
1087
|
}
|
1121
1088
|
},
|
1122
1089
|
{
|
1123
|
-
"name": "
|
1090
|
+
"name": "color",
|
1124
1091
|
"default": "-",
|
1125
|
-
"description": "
|
1092
|
+
"description": "Color, support linear-gradient",
|
1126
1093
|
"options": [],
|
1127
1094
|
"value": {
|
1128
1095
|
"type": "string",
|
@@ -1130,9 +1097,9 @@
|
|
1130
1097
|
}
|
1131
1098
|
},
|
1132
1099
|
{
|
1133
|
-
"name": "
|
1100
|
+
"name": "icon",
|
1134
1101
|
"default": "-",
|
1135
|
-
"description": "
|
1102
|
+
"description": "Left Icon",
|
1136
1103
|
"options": [],
|
1137
1104
|
"value": {
|
1138
1105
|
"type": "string",
|
@@ -1140,19 +1107,19 @@
|
|
1140
1107
|
}
|
1141
1108
|
},
|
1142
1109
|
{
|
1143
|
-
"name": "
|
1144
|
-
"default": "`
|
1145
|
-
"description": "
|
1110
|
+
"name": "icon-prefix",
|
1111
|
+
"default": "`van-icon`",
|
1112
|
+
"description": "Icon className prefix",
|
1146
1113
|
"options": [],
|
1147
1114
|
"value": {
|
1148
|
-
"type": "
|
1115
|
+
"type": "string",
|
1149
1116
|
"kind": "expression"
|
1150
1117
|
}
|
1151
1118
|
},
|
1152
1119
|
{
|
1153
|
-
"name": "
|
1154
|
-
"default": "`
|
1155
|
-
"description": "
|
1120
|
+
"name": "icon-position",
|
1121
|
+
"default": "`left`",
|
1122
|
+
"description": "Icon position, can be set to `right`",
|
1156
1123
|
"options": [],
|
1157
1124
|
"value": {
|
1158
1125
|
"type": "string",
|
@@ -1160,29 +1127,29 @@
|
|
1160
1127
|
}
|
1161
1128
|
},
|
1162
1129
|
{
|
1163
|
-
"name": "
|
1164
|
-
"default": "`
|
1165
|
-
"description": "
|
1130
|
+
"name": "tag",
|
1131
|
+
"default": "`button`",
|
1132
|
+
"description": "HTML Tag",
|
1166
1133
|
"options": [],
|
1167
1134
|
"value": {
|
1168
|
-
"type": "
|
1135
|
+
"type": "string",
|
1169
1136
|
"kind": "expression"
|
1170
1137
|
}
|
1171
1138
|
},
|
1172
1139
|
{
|
1173
|
-
"name": "
|
1174
|
-
"default": "`
|
1175
|
-
"description": "
|
1140
|
+
"name": "native-type",
|
1141
|
+
"default": "`button`",
|
1142
|
+
"description": "Native Type Attribute",
|
1176
1143
|
"options": [],
|
1177
1144
|
"value": {
|
1178
|
-
"type": "
|
1145
|
+
"type": "string",
|
1179
1146
|
"kind": "expression"
|
1180
1147
|
}
|
1181
1148
|
},
|
1182
1149
|
{
|
1183
|
-
"name": "
|
1184
|
-
"default": "`
|
1185
|
-
"description": "Whether to
|
1150
|
+
"name": "plain",
|
1151
|
+
"default": "`false`",
|
1152
|
+
"description": "Whether to be plain button",
|
1186
1153
|
"options": [],
|
1187
1154
|
"value": {
|
1188
1155
|
"type": "boolean",
|
@@ -1190,29 +1157,29 @@
|
|
1190
1157
|
}
|
1191
1158
|
},
|
1192
1159
|
{
|
1193
|
-
"name": "
|
1194
|
-
"default": "
|
1195
|
-
"description": "
|
1160
|
+
"name": "block",
|
1161
|
+
"default": "`false`",
|
1162
|
+
"description": "Whether to set display block",
|
1196
1163
|
"options": [],
|
1197
1164
|
"value": {
|
1198
|
-
"type": "
|
1165
|
+
"type": "boolean",
|
1199
1166
|
"kind": "expression"
|
1200
1167
|
}
|
1201
1168
|
},
|
1202
1169
|
{
|
1203
|
-
"name": "
|
1204
|
-
"default": "
|
1205
|
-
"description": "
|
1170
|
+
"name": "round",
|
1171
|
+
"default": "`false`",
|
1172
|
+
"description": "Whether to be round button",
|
1206
1173
|
"options": [],
|
1207
1174
|
"value": {
|
1208
|
-
"type": "
|
1175
|
+
"type": "boolean",
|
1209
1176
|
"kind": "expression"
|
1210
1177
|
}
|
1211
1178
|
},
|
1212
1179
|
{
|
1213
|
-
"name": "
|
1214
|
-
"default": "`
|
1215
|
-
"description": "Whether to
|
1180
|
+
"name": "square",
|
1181
|
+
"default": "`false`",
|
1182
|
+
"description": "Whether to be square button",
|
1216
1183
|
"options": [],
|
1217
1184
|
"value": {
|
1218
1185
|
"type": "boolean",
|
@@ -1220,9 +1187,9 @@
|
|
1220
1187
|
}
|
1221
1188
|
},
|
1222
1189
|
{
|
1223
|
-
"name": "
|
1224
|
-
"default": "`
|
1225
|
-
"description": "Whether to
|
1190
|
+
"name": "disabled",
|
1191
|
+
"default": "`false`",
|
1192
|
+
"description": "Whether to disable button",
|
1226
1193
|
"options": [],
|
1227
1194
|
"value": {
|
1228
1195
|
"type": "boolean",
|
@@ -1230,9 +1197,9 @@
|
|
1230
1197
|
}
|
1231
1198
|
},
|
1232
1199
|
{
|
1233
|
-
"name": "
|
1234
|
-
"default": "`
|
1235
|
-
"description": "Whether to
|
1200
|
+
"name": "loading",
|
1201
|
+
"default": "`false`",
|
1202
|
+
"description": "Whether to show loading status",
|
1236
1203
|
"options": [],
|
1237
1204
|
"value": {
|
1238
1205
|
"type": "boolean",
|
@@ -1240,120 +1207,163 @@
|
|
1240
1207
|
}
|
1241
1208
|
},
|
1242
1209
|
{
|
1243
|
-
"name": "
|
1244
|
-
"default": "
|
1245
|
-
"description": "
|
1210
|
+
"name": "loading-text",
|
1211
|
+
"default": "-",
|
1212
|
+
"description": "Loading text",
|
1246
1213
|
"options": [],
|
1247
1214
|
"value": {
|
1248
|
-
"type": "
|
1215
|
+
"type": "string",
|
1249
1216
|
"kind": "expression"
|
1250
1217
|
}
|
1251
1218
|
},
|
1252
1219
|
{
|
1253
|
-
"name": "
|
1254
|
-
"default": "`
|
1255
|
-
"description": "
|
1220
|
+
"name": "loading-type",
|
1221
|
+
"default": "`circular`",
|
1222
|
+
"description": "Loading type, can be set to `spinner`",
|
1256
1223
|
"options": [],
|
1257
1224
|
"value": {
|
1258
|
-
"type": "
|
1225
|
+
"type": "string",
|
1259
1226
|
"kind": "expression"
|
1260
1227
|
}
|
1261
1228
|
},
|
1262
1229
|
{
|
1263
|
-
"name": "
|
1264
|
-
"default": "`
|
1265
|
-
"description": "
|
1230
|
+
"name": "loading-size",
|
1231
|
+
"default": "`20px`",
|
1232
|
+
"description": "Loading icon size",
|
1266
1233
|
"options": [],
|
1267
1234
|
"value": {
|
1268
|
-
"type": "
|
1235
|
+
"type": "number | string",
|
1269
1236
|
"kind": "expression"
|
1270
1237
|
}
|
1271
1238
|
},
|
1272
1239
|
{
|
1273
|
-
"name": "
|
1240
|
+
"name": "url",
|
1274
1241
|
"default": "-",
|
1275
|
-
"description": "
|
1242
|
+
"description": "Link URL",
|
1276
1243
|
"options": [],
|
1277
1244
|
"value": {
|
1278
|
-
"type": "string
|
1245
|
+
"type": "string",
|
1279
1246
|
"kind": "expression"
|
1280
1247
|
}
|
1281
1248
|
},
|
1282
1249
|
{
|
1283
|
-
"name": "
|
1250
|
+
"name": "to",
|
1284
1251
|
"default": "-",
|
1285
|
-
"description": "
|
1252
|
+
"description": "Target route of the link, same as using vue-router",
|
1286
1253
|
"options": [],
|
1287
1254
|
"value": {
|
1288
|
-
"type": "
|
1255
|
+
"type": "string | object",
|
1256
|
+
"kind": "expression"
|
1257
|
+
}
|
1258
|
+
},
|
1259
|
+
{
|
1260
|
+
"name": "replace",
|
1261
|
+
"default": "`false`",
|
1262
|
+
"description": "If true, the navigation will not leave a history record",
|
1263
|
+
"options": [],
|
1264
|
+
"value": {
|
1265
|
+
"type": "boolean",
|
1289
1266
|
"kind": "expression"
|
1290
1267
|
}
|
1291
1268
|
}
|
1292
1269
|
]
|
1293
1270
|
},
|
1294
1271
|
{
|
1295
|
-
"name": "van-
|
1272
|
+
"name": "van-action-sheet",
|
1296
1273
|
"slots": [
|
1297
1274
|
{
|
1298
1275
|
"name": "default",
|
1299
|
-
"description": "
|
1276
|
+
"description": "Custom content"
|
1300
1277
|
},
|
1301
1278
|
{
|
1302
|
-
"name": "
|
1303
|
-
"description": "Custom
|
1279
|
+
"name": "description",
|
1280
|
+
"description": "Custom description above the options"
|
1304
1281
|
},
|
1305
1282
|
{
|
1306
|
-
"name": "
|
1307
|
-
"description": "Custom
|
1283
|
+
"name": "cancel",
|
1284
|
+
"description": "Custom the content of cancel button"
|
1285
|
+
},
|
1286
|
+
{
|
1287
|
+
"name": "action",
|
1288
|
+
"description": "Custom the content of action"
|
1308
1289
|
}
|
1309
1290
|
],
|
1310
1291
|
"events": [
|
1311
1292
|
{
|
1312
|
-
"name": "
|
1313
|
-
"description": "Emitted when
|
1293
|
+
"name": "select",
|
1294
|
+
"description": "Emitted when an option is clicked",
|
1314
1295
|
"arguments": [
|
1315
1296
|
{
|
1316
|
-
"name": "
|
1317
|
-
"type": "
|
1297
|
+
"name": "action",
|
1298
|
+
"type": "ActionSheetAction"
|
1299
|
+
},
|
1300
|
+
{
|
1301
|
+
"name": "index",
|
1302
|
+
"type": "number"
|
1318
1303
|
}
|
1319
1304
|
]
|
1320
1305
|
},
|
1321
1306
|
{
|
1322
|
-
"name": "
|
1323
|
-
"description": "Emitted when button is
|
1307
|
+
"name": "cancel",
|
1308
|
+
"description": "Emitted when the cancel button is clicked",
|
1309
|
+
"arguments": []
|
1310
|
+
},
|
1311
|
+
{
|
1312
|
+
"name": "open",
|
1313
|
+
"description": "Emitted when opening ActionSheet",
|
1314
|
+
"arguments": []
|
1315
|
+
},
|
1316
|
+
{
|
1317
|
+
"name": "close",
|
1318
|
+
"description": "Emitted when closing ActionSheet",
|
1319
|
+
"arguments": []
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
"name": "opened",
|
1323
|
+
"description": "Emitted when ActionSheet is opened",
|
1324
|
+
"arguments": []
|
1325
|
+
},
|
1326
|
+
{
|
1327
|
+
"name": "closed",
|
1328
|
+
"description": "Emitted when ActionSheet is closed",
|
1329
|
+
"arguments": []
|
1330
|
+
},
|
1331
|
+
{
|
1332
|
+
"name": "click-overlay",
|
1333
|
+
"description": "Emitted when overlay is clicked",
|
1324
1334
|
"arguments": [
|
1325
1335
|
{
|
1326
1336
|
"name": "event",
|
1327
|
-
"type": "
|
1337
|
+
"type": "MouseEvent"
|
1328
1338
|
}
|
1329
1339
|
]
|
1330
1340
|
}
|
1331
1341
|
],
|
1332
1342
|
"attributes": [
|
1333
1343
|
{
|
1334
|
-
"name": "
|
1335
|
-
"default": "`
|
1336
|
-
"description": "
|
1344
|
+
"name": "v-model:show",
|
1345
|
+
"default": "`false`",
|
1346
|
+
"description": "Whether to show ActionSheet",
|
1337
1347
|
"options": [],
|
1338
1348
|
"value": {
|
1339
|
-
"type": "
|
1349
|
+
"type": "boolean",
|
1340
1350
|
"kind": "expression"
|
1341
1351
|
}
|
1342
1352
|
},
|
1343
1353
|
{
|
1344
|
-
"name": "
|
1345
|
-
"default": "`
|
1346
|
-
"description": "
|
1354
|
+
"name": "actions",
|
1355
|
+
"default": "`[]`",
|
1356
|
+
"description": "Options",
|
1347
1357
|
"options": [],
|
1348
1358
|
"value": {
|
1349
|
-
"type": "
|
1359
|
+
"type": "ActionSheetAction[]",
|
1350
1360
|
"kind": "expression"
|
1351
1361
|
}
|
1352
1362
|
},
|
1353
1363
|
{
|
1354
|
-
"name": "
|
1364
|
+
"name": "title",
|
1355
1365
|
"default": "-",
|
1356
|
-
"description": "
|
1366
|
+
"description": "Title",
|
1357
1367
|
"options": [],
|
1358
1368
|
"value": {
|
1359
1369
|
"type": "string",
|
@@ -1361,9 +1371,9 @@
|
|
1361
1371
|
}
|
1362
1372
|
},
|
1363
1373
|
{
|
1364
|
-
"name": "
|
1374
|
+
"name": "cancel-text",
|
1365
1375
|
"default": "-",
|
1366
|
-
"description": "
|
1376
|
+
"description": "Text of cancel button",
|
1367
1377
|
"options": [],
|
1368
1378
|
"value": {
|
1369
1379
|
"type": "string",
|
@@ -1371,9 +1381,9 @@
|
|
1371
1381
|
}
|
1372
1382
|
},
|
1373
1383
|
{
|
1374
|
-
"name": "
|
1384
|
+
"name": "description",
|
1375
1385
|
"default": "-",
|
1376
|
-
"description": "
|
1386
|
+
"description": "Description above the options",
|
1377
1387
|
"options": [],
|
1378
1388
|
"value": {
|
1379
1389
|
"type": "string",
|
@@ -1381,19 +1391,19 @@
|
|
1381
1391
|
}
|
1382
1392
|
},
|
1383
1393
|
{
|
1384
|
-
"name": "
|
1385
|
-
"default": "`
|
1386
|
-
"description": "
|
1394
|
+
"name": "closeable",
|
1395
|
+
"default": "`true`",
|
1396
|
+
"description": "Whether to show close icon",
|
1387
1397
|
"options": [],
|
1388
1398
|
"value": {
|
1389
|
-
"type": "
|
1399
|
+
"type": "boolean",
|
1390
1400
|
"kind": "expression"
|
1391
1401
|
}
|
1392
1402
|
},
|
1393
1403
|
{
|
1394
|
-
"name": "icon
|
1395
|
-
"default": "`
|
1396
|
-
"description": "
|
1404
|
+
"name": "close-icon",
|
1405
|
+
"default": "`cross`",
|
1406
|
+
"description": "Close icon name",
|
1397
1407
|
"options": [],
|
1398
1408
|
"value": {
|
1399
1409
|
"type": "string",
|
@@ -1401,29 +1411,29 @@
|
|
1401
1411
|
}
|
1402
1412
|
},
|
1403
1413
|
{
|
1404
|
-
"name": "
|
1405
|
-
"default": "`
|
1406
|
-
"description": "
|
1414
|
+
"name": "duration",
|
1415
|
+
"default": "`0.3`",
|
1416
|
+
"description": "Transition duration, unit second",
|
1407
1417
|
"options": [],
|
1408
1418
|
"value": {
|
1409
|
-
"type": "string",
|
1419
|
+
"type": "number | string",
|
1410
1420
|
"kind": "expression"
|
1411
1421
|
}
|
1412
1422
|
},
|
1413
1423
|
{
|
1414
|
-
"name": "
|
1415
|
-
"default": "`
|
1416
|
-
"description": "
|
1424
|
+
"name": "round",
|
1425
|
+
"default": "`true`",
|
1426
|
+
"description": "Whether to show round corner",
|
1417
1427
|
"options": [],
|
1418
1428
|
"value": {
|
1419
|
-
"type": "
|
1429
|
+
"type": "boolean",
|
1420
1430
|
"kind": "expression"
|
1421
1431
|
}
|
1422
1432
|
},
|
1423
1433
|
{
|
1424
|
-
"name": "
|
1425
|
-
"default": "`
|
1426
|
-
"description": "Whether to
|
1434
|
+
"name": "overlay",
|
1435
|
+
"default": "`true`",
|
1436
|
+
"description": "Whether to show overlay",
|
1427
1437
|
"options": [],
|
1428
1438
|
"value": {
|
1429
1439
|
"type": "boolean",
|
@@ -1431,29 +1441,29 @@
|
|
1431
1441
|
}
|
1432
1442
|
},
|
1433
1443
|
{
|
1434
|
-
"name": "
|
1435
|
-
"default": "
|
1436
|
-
"description": "
|
1444
|
+
"name": "overlay-class",
|
1445
|
+
"default": "-",
|
1446
|
+
"description": "Custom overlay class",
|
1437
1447
|
"options": [],
|
1438
1448
|
"value": {
|
1439
|
-
"type": "
|
1449
|
+
"type": "string | Array | object",
|
1440
1450
|
"kind": "expression"
|
1441
1451
|
}
|
1442
1452
|
},
|
1443
1453
|
{
|
1444
|
-
"name": "
|
1445
|
-
"default": "
|
1446
|
-
"description": "
|
1454
|
+
"name": "overlay-style",
|
1455
|
+
"default": "-",
|
1456
|
+
"description": "Custom overlay style",
|
1447
1457
|
"options": [],
|
1448
1458
|
"value": {
|
1449
|
-
"type": "
|
1459
|
+
"type": "object",
|
1450
1460
|
"kind": "expression"
|
1451
1461
|
}
|
1452
1462
|
},
|
1453
1463
|
{
|
1454
|
-
"name": "
|
1455
|
-
"default": "`
|
1456
|
-
"description": "Whether to
|
1464
|
+
"name": "lock-scroll",
|
1465
|
+
"default": "`true`",
|
1466
|
+
"description": "Whether to lock background scroll",
|
1457
1467
|
"options": [],
|
1458
1468
|
"value": {
|
1459
1469
|
"type": "boolean",
|
@@ -1461,9 +1471,9 @@
|
|
1461
1471
|
}
|
1462
1472
|
},
|
1463
1473
|
{
|
1464
|
-
"name": "
|
1465
|
-
"default": "`
|
1466
|
-
"description": "Whether to
|
1474
|
+
"name": "lazy-render",
|
1475
|
+
"default": "`true`",
|
1476
|
+
"description": "Whether to lazy render util appeared",
|
1467
1477
|
"options": [],
|
1468
1478
|
"value": {
|
1469
1479
|
"type": "boolean",
|
@@ -1471,9 +1481,9 @@
|
|
1471
1481
|
}
|
1472
1482
|
},
|
1473
1483
|
{
|
1474
|
-
"name": "
|
1475
|
-
"default": "`
|
1476
|
-
"description": "Whether to
|
1484
|
+
"name": "close-on-popstate",
|
1485
|
+
"default": "`true`",
|
1486
|
+
"description": "Whether to close when popstate",
|
1477
1487
|
"options": [],
|
1478
1488
|
"value": {
|
1479
1489
|
"type": "boolean",
|
@@ -1481,62 +1491,52 @@
|
|
1481
1491
|
}
|
1482
1492
|
},
|
1483
1493
|
{
|
1484
|
-
"name": "
|
1485
|
-
"default": "
|
1486
|
-
"description": "
|
1494
|
+
"name": "close-on-click-action",
|
1495
|
+
"default": "`false`",
|
1496
|
+
"description": "Whether to close when an action is clicked",
|
1487
1497
|
"options": [],
|
1488
1498
|
"value": {
|
1489
|
-
"type": "
|
1499
|
+
"type": "boolean",
|
1490
1500
|
"kind": "expression"
|
1491
1501
|
}
|
1492
1502
|
},
|
1493
1503
|
{
|
1494
|
-
"name": "
|
1495
|
-
"default": "`
|
1496
|
-
"description": "
|
1504
|
+
"name": "close-on-click-overlay",
|
1505
|
+
"default": "`true`",
|
1506
|
+
"description": "Whether to close when overlay is clicked",
|
1497
1507
|
"options": [],
|
1498
1508
|
"value": {
|
1499
|
-
"type": "
|
1509
|
+
"type": "boolean",
|
1500
1510
|
"kind": "expression"
|
1501
1511
|
}
|
1502
1512
|
},
|
1503
1513
|
{
|
1504
|
-
"name": "
|
1505
|
-
"default": "`
|
1506
|
-
"description": "
|
1514
|
+
"name": "safe-area-inset-bottom",
|
1515
|
+
"default": "`true`",
|
1516
|
+
"description": "Whether to enable bottom safe area adaptation",
|
1507
1517
|
"options": [],
|
1508
1518
|
"value": {
|
1509
|
-
"type": "
|
1519
|
+
"type": "boolean",
|
1510
1520
|
"kind": "expression"
|
1511
1521
|
}
|
1512
1522
|
},
|
1513
1523
|
{
|
1514
|
-
"name": "
|
1524
|
+
"name": "teleport",
|
1515
1525
|
"default": "-",
|
1516
|
-
"description": "
|
1526
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
1517
1527
|
"options": [],
|
1518
1528
|
"value": {
|
1519
|
-
"type": "string",
|
1529
|
+
"type": "string | Element",
|
1520
1530
|
"kind": "expression"
|
1521
1531
|
}
|
1522
1532
|
},
|
1523
1533
|
{
|
1524
|
-
"name": "
|
1534
|
+
"name": "before-close",
|
1525
1535
|
"default": "-",
|
1526
|
-
"description": "
|
1527
|
-
"options": [],
|
1528
|
-
"value": {
|
1529
|
-
"type": "string | object",
|
1530
|
-
"kind": "expression"
|
1531
|
-
}
|
1532
|
-
},
|
1533
|
-
{
|
1534
|
-
"name": "replace",
|
1535
|
-
"default": "`false`",
|
1536
|
-
"description": "If true, the navigation will not leave a history record",
|
1536
|
+
"description": "Callback function before close",
|
1537
1537
|
"options": [],
|
1538
1538
|
"value": {
|
1539
|
-
"type": "boolean",
|
1539
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1540
1540
|
"kind": "expression"
|
1541
1541
|
}
|
1542
1542
|
}
|
@@ -3630,79 +3630,14 @@
|
|
3630
3630
|
]
|
3631
3631
|
},
|
3632
3632
|
{
|
3633
|
-
"name": "van-
|
3634
|
-
"slots": [
|
3635
|
-
|
3636
|
-
"name": "default",
|
3637
|
-
"description": "Custom toolbar content"
|
3638
|
-
},
|
3639
|
-
{
|
3640
|
-
"name": "title",
|
3641
|
-
"description": "Custom title"
|
3642
|
-
},
|
3643
|
-
{
|
3644
|
-
"name": "confirm",
|
3645
|
-
"description": "Custom confirm button text"
|
3646
|
-
},
|
3647
|
-
{
|
3648
|
-
"name": "cancel",
|
3649
|
-
"description": "Custom cancel button text"
|
3650
|
-
},
|
3651
|
-
{
|
3652
|
-
"name": "option",
|
3653
|
-
"description": "Custom option content"
|
3654
|
-
},
|
3655
|
-
{
|
3656
|
-
"name": "columns-top",
|
3657
|
-
"description": "Custom content above columns"
|
3658
|
-
},
|
3659
|
-
{
|
3660
|
-
"name": "columns-bottom",
|
3661
|
-
"description": "Custom content below columns"
|
3662
|
-
}
|
3663
|
-
],
|
3664
|
-
"events": [
|
3665
|
-
{
|
3666
|
-
"name": "change",
|
3667
|
-
"description": "Emitted when value changed",
|
3668
|
-
"arguments": [
|
3669
|
-
{
|
3670
|
-
"name": "value",
|
3671
|
-
"type": "current value"
|
3672
|
-
}
|
3673
|
-
]
|
3674
|
-
},
|
3675
|
-
{
|
3676
|
-
"name": "confirm",
|
3677
|
-
"description": "Emitted when the confirm button is clicked",
|
3678
|
-
"arguments": [
|
3679
|
-
{
|
3680
|
-
"name": "value",
|
3681
|
-
"type": "current value"
|
3682
|
-
}
|
3683
|
-
]
|
3684
|
-
},
|
3685
|
-
{
|
3686
|
-
"name": "cancel",
|
3687
|
-
"description": "Emitted when the cancel button is clicked",
|
3688
|
-
"arguments": []
|
3689
|
-
}
|
3690
|
-
],
|
3633
|
+
"name": "van-coupon-cell",
|
3634
|
+
"slots": [],
|
3635
|
+
"events": [],
|
3691
3636
|
"attributes": [
|
3692
|
-
{
|
3693
|
-
"name": "type",
|
3694
|
-
"default": "`datetime`",
|
3695
|
-
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
|
3696
|
-
"options": [],
|
3697
|
-
"value": {
|
3698
|
-
"type": "string",
|
3699
|
-
"kind": "expression"
|
3700
|
-
}
|
3701
|
-
},
|
3702
3637
|
{
|
3703
3638
|
"name": "title",
|
3704
|
-
"default": "`
|
3705
|
-
"description": "
|
3639
|
+
"default": "`Coupon`",
|
3640
|
+
"description": "Cell title",
|
3706
3641
|
"options": [],
|
3707
3642
|
"value": {
|
3708
3643
|
"type": "string",
|
@@ -3710,29 +3645,29 @@
|
|
3710
3645
|
}
|
3711
3646
|
},
|
3712
3647
|
{
|
3713
|
-
"name": "
|
3714
|
-
"default": "`
|
3715
|
-
"description": "
|
3648
|
+
"name": "chosen-coupon",
|
3649
|
+
"default": "`-1`",
|
3650
|
+
"description": "Index of chosen coupon",
|
3716
3651
|
"options": [],
|
3717
3652
|
"value": {
|
3718
|
-
"type": "string",
|
3653
|
+
"type": "number | string",
|
3719
3654
|
"kind": "expression"
|
3720
3655
|
}
|
3721
3656
|
},
|
3722
3657
|
{
|
3723
|
-
"name": "
|
3724
|
-
"default": "`
|
3725
|
-
"description": "
|
3658
|
+
"name": "coupons",
|
3659
|
+
"default": "`[]`",
|
3660
|
+
"description": "Coupon list",
|
3726
3661
|
"options": [],
|
3727
3662
|
"value": {
|
3728
|
-
"type": "
|
3663
|
+
"type": "Coupon[]",
|
3729
3664
|
"kind": "expression"
|
3730
3665
|
}
|
3731
3666
|
},
|
3732
3667
|
{
|
3733
|
-
"name": "
|
3668
|
+
"name": "editable",
|
3734
3669
|
"default": "`true`",
|
3735
|
-
"description": "
|
3670
|
+
"description": "Cell editable",
|
3736
3671
|
"options": [],
|
3737
3672
|
"value": {
|
3738
3673
|
"type": "boolean",
|
@@ -3740,9 +3675,9 @@
|
|
3740
3675
|
}
|
3741
3676
|
},
|
3742
3677
|
{
|
3743
|
-
"name": "
|
3744
|
-
"default": "`
|
3745
|
-
"description": "Whether to show
|
3678
|
+
"name": "border",
|
3679
|
+
"default": "`true`",
|
3680
|
+
"description": "Whether to show inner border",
|
3746
3681
|
"options": [],
|
3747
3682
|
"value": {
|
3748
3683
|
"type": "boolean",
|
@@ -3750,160 +3685,166 @@
|
|
3750
3685
|
}
|
3751
3686
|
},
|
3752
3687
|
{
|
3753
|
-
"name": "
|
3754
|
-
"default": "
|
3755
|
-
"description": "
|
3688
|
+
"name": "currency",
|
3689
|
+
"default": "`¥`",
|
3690
|
+
"description": "Currency symbol",
|
3756
3691
|
"options": [],
|
3757
3692
|
"value": {
|
3758
|
-
"type": "
|
3693
|
+
"type": "string",
|
3759
3694
|
"kind": "expression"
|
3760
3695
|
}
|
3696
|
+
}
|
3697
|
+
]
|
3698
|
+
},
|
3699
|
+
{
|
3700
|
+
"name": "van-coupon-list",
|
3701
|
+
"slots": [
|
3702
|
+
{
|
3703
|
+
"name": "list-footer",
|
3704
|
+
"description": "Coupon list bottom"
|
3761
3705
|
},
|
3762
3706
|
{
|
3763
|
-
"name": "
|
3764
|
-
"
|
3765
|
-
|
3766
|
-
|
3767
|
-
|
3768
|
-
|
3769
|
-
|
3770
|
-
|
3707
|
+
"name": "disabled-list-footer",
|
3708
|
+
"description": "Unavailable coupons list bottom"
|
3709
|
+
}
|
3710
|
+
],
|
3711
|
+
"events": [
|
3712
|
+
{
|
3713
|
+
"name": "change",
|
3714
|
+
"description": "Emitted when chosen coupon changed",
|
3715
|
+
"arguments": [
|
3716
|
+
{
|
3717
|
+
"name": "index",
|
3718
|
+
"type": "index of chosen coupon"
|
3719
|
+
}
|
3720
|
+
]
|
3771
3721
|
},
|
3772
3722
|
{
|
3773
|
-
"name": "
|
3723
|
+
"name": "exchange",
|
3724
|
+
"description": "Emitted when exchanging coupon",
|
3725
|
+
"arguments": [
|
3726
|
+
{
|
3727
|
+
"name": "code",
|
3728
|
+
"type": "exchange code"
|
3729
|
+
}
|
3730
|
+
]
|
3731
|
+
}
|
3732
|
+
],
|
3733
|
+
"attributes": [
|
3734
|
+
{
|
3735
|
+
"name": "v-model",
|
3774
3736
|
"default": "-",
|
3775
|
-
"description": "
|
3737
|
+
"description": "Current exchange code",
|
3776
3738
|
"options": [],
|
3777
3739
|
"value": {
|
3778
|
-
"type": "
|
3740
|
+
"type": "string",
|
3779
3741
|
"kind": "expression"
|
3780
3742
|
}
|
3781
3743
|
},
|
3782
3744
|
{
|
3783
|
-
"name": "
|
3784
|
-
"default": "
|
3785
|
-
"description": "
|
3745
|
+
"name": "chosen-coupon",
|
3746
|
+
"default": "`-1`",
|
3747
|
+
"description": "Index of chosen coupon",
|
3786
3748
|
"options": [],
|
3787
3749
|
"value": {
|
3788
|
-
"type": "
|
3750
|
+
"type": "number",
|
3789
3751
|
"kind": "expression"
|
3790
3752
|
}
|
3791
3753
|
},
|
3792
3754
|
{
|
3793
|
-
"name": "
|
3794
|
-
"default": "`
|
3795
|
-
"description": "
|
3755
|
+
"name": "coupons",
|
3756
|
+
"default": "`[]`",
|
3757
|
+
"description": "Coupon list",
|
3796
3758
|
"options": [],
|
3797
3759
|
"value": {
|
3798
|
-
"type": "
|
3760
|
+
"type": "Coupon[]",
|
3799
3761
|
"kind": "expression"
|
3800
3762
|
}
|
3801
3763
|
},
|
3802
3764
|
{
|
3803
|
-
"name": "
|
3804
|
-
"default": "`
|
3805
|
-
"description": "
|
3765
|
+
"name": "disabled-coupons",
|
3766
|
+
"default": "`[]`",
|
3767
|
+
"description": "Disabled coupon list",
|
3806
3768
|
"options": [],
|
3807
3769
|
"value": {
|
3808
|
-
"type": "
|
3770
|
+
"type": "Coupon[]",
|
3809
3771
|
"kind": "expression"
|
3810
3772
|
}
|
3811
3773
|
},
|
3812
3774
|
{
|
3813
|
-
"name": "
|
3814
|
-
"default": "`
|
3815
|
-
"description": "
|
3775
|
+
"name": "enabled-title",
|
3776
|
+
"default": "`Available`",
|
3777
|
+
"description": "Title of coupon list",
|
3816
3778
|
"options": [],
|
3817
3779
|
"value": {
|
3818
|
-
"type": "
|
3780
|
+
"type": "string",
|
3819
3781
|
"kind": "expression"
|
3820
3782
|
}
|
3821
|
-
}
|
3822
|
-
]
|
3823
|
-
},
|
3824
|
-
{
|
3825
|
-
"name": "van-date-picker",
|
3826
|
-
"slots": [],
|
3827
|
-
"events": [],
|
3828
|
-
"attributes": [
|
3783
|
+
},
|
3829
3784
|
{
|
3830
|
-
"name": "
|
3831
|
-
"default": "
|
3832
|
-
"description": "
|
3785
|
+
"name": "disabled-title",
|
3786
|
+
"default": "`Unavailable`",
|
3787
|
+
"description": "Title of disabled coupon list",
|
3833
3788
|
"options": [],
|
3834
3789
|
"value": {
|
3835
|
-
"type": "
|
3790
|
+
"type": "string",
|
3836
3791
|
"kind": "expression"
|
3837
3792
|
}
|
3838
3793
|
},
|
3839
3794
|
{
|
3840
|
-
"name": "
|
3841
|
-
"default": "
|
3842
|
-
"description": "
|
3795
|
+
"name": "exchange-button-text",
|
3796
|
+
"default": "`Exchange`",
|
3797
|
+
"description": "Exchange button text",
|
3843
3798
|
"options": [],
|
3844
3799
|
"value": {
|
3845
|
-
"type": "
|
3800
|
+
"type": "string",
|
3846
3801
|
"kind": "expression"
|
3847
3802
|
}
|
3848
|
-
}
|
3849
|
-
]
|
3850
|
-
},
|
3851
|
-
{
|
3852
|
-
"name": "van-time-picker",
|
3853
|
-
"slots": [],
|
3854
|
-
"events": [],
|
3855
|
-
"attributes": [
|
3803
|
+
},
|
3856
3804
|
{
|
3857
|
-
"name": "
|
3858
|
-
"default": "`
|
3859
|
-
"description": "
|
3805
|
+
"name": "exchange-button-loading",
|
3806
|
+
"default": "`false`",
|
3807
|
+
"description": "Whether to show loading in exchange button",
|
3860
3808
|
"options": [],
|
3861
3809
|
"value": {
|
3862
|
-
"type": "
|
3810
|
+
"type": "boolean",
|
3863
3811
|
"kind": "expression"
|
3864
3812
|
}
|
3865
3813
|
},
|
3866
3814
|
{
|
3867
|
-
"name": "
|
3868
|
-
"default": "`
|
3869
|
-
"description": "
|
3815
|
+
"name": "exchange-button-disabled",
|
3816
|
+
"default": "`false`",
|
3817
|
+
"description": "Whether to disable exchange button",
|
3870
3818
|
"options": [],
|
3871
3819
|
"value": {
|
3872
|
-
"type": "
|
3820
|
+
"type": "boolean",
|
3873
3821
|
"kind": "expression"
|
3874
3822
|
}
|
3875
3823
|
},
|
3876
3824
|
{
|
3877
|
-
"name": "min-
|
3878
|
-
"default": "`
|
3879
|
-
"description": "
|
3825
|
+
"name": "exchange-min-length",
|
3826
|
+
"default": "`1`",
|
3827
|
+
"description": "Min length to enable exchange button",
|
3880
3828
|
"options": [],
|
3881
3829
|
"value": {
|
3882
|
-
"type": "number
|
3830
|
+
"type": "number",
|
3883
3831
|
"kind": "expression"
|
3884
3832
|
}
|
3885
3833
|
},
|
3886
3834
|
{
|
3887
|
-
"name": "
|
3888
|
-
"default": "
|
3889
|
-
"description": "
|
3835
|
+
"name": "displayed-coupon-index",
|
3836
|
+
"default": "-",
|
3837
|
+
"description": "Index of displayed coupon",
|
3890
3838
|
"options": [],
|
3891
3839
|
"value": {
|
3892
|
-
"type": "number
|
3840
|
+
"type": "number",
|
3893
3841
|
"kind": "expression"
|
3894
3842
|
}
|
3895
|
-
}
|
3896
|
-
]
|
3897
|
-
},
|
3898
|
-
{
|
3899
|
-
"name": "van-coupon-cell",
|
3900
|
-
"slots": [],
|
3901
|
-
"events": [],
|
3902
|
-
"attributes": [
|
3843
|
+
},
|
3903
3844
|
{
|
3904
|
-
"name": "
|
3905
|
-
"default": "`
|
3906
|
-
"description": "
|
3845
|
+
"name": "close-button-text",
|
3846
|
+
"default": "`Close`",
|
3847
|
+
"description": "Close button text",
|
3907
3848
|
"options": [],
|
3908
3849
|
"value": {
|
3909
3850
|
"type": "string",
|
@@ -3911,96 +3852,111 @@
|
|
3911
3852
|
}
|
3912
3853
|
},
|
3913
3854
|
{
|
3914
|
-
"name": "
|
3915
|
-
"default": "
|
3916
|
-
"description": "
|
3855
|
+
"name": "input-placeholder",
|
3856
|
+
"default": "`Coupon code`",
|
3857
|
+
"description": "Input placeholder",
|
3917
3858
|
"options": [],
|
3918
3859
|
"value": {
|
3919
|
-
"type": "
|
3860
|
+
"type": "string",
|
3920
3861
|
"kind": "expression"
|
3921
3862
|
}
|
3922
3863
|
},
|
3923
3864
|
{
|
3924
|
-
"name": "
|
3925
|
-
"default": "
|
3926
|
-
"description": "
|
3865
|
+
"name": "currency",
|
3866
|
+
"default": "`¥`",
|
3867
|
+
"description": "Currency symbol",
|
3927
3868
|
"options": [],
|
3928
3869
|
"value": {
|
3929
|
-
"type": "
|
3870
|
+
"type": "string",
|
3930
3871
|
"kind": "expression"
|
3931
3872
|
}
|
3932
3873
|
},
|
3933
3874
|
{
|
3934
|
-
"name": "
|
3935
|
-
"default": "
|
3936
|
-
"description": "
|
3875
|
+
"name": "empty-image",
|
3876
|
+
"default": "-",
|
3877
|
+
"description": "Placeholder image when list is empty",
|
3937
3878
|
"options": [],
|
3938
3879
|
"value": {
|
3939
|
-
"type": "
|
3880
|
+
"type": "string",
|
3940
3881
|
"kind": "expression"
|
3941
3882
|
}
|
3942
3883
|
},
|
3943
3884
|
{
|
3944
|
-
"name": "
|
3885
|
+
"name": "show-count",
|
3945
3886
|
"default": "`true`",
|
3946
|
-
"description": "Whether to show
|
3887
|
+
"description": "Whether to show coupon count in tab title",
|
3947
3888
|
"options": [],
|
3948
3889
|
"value": {
|
3949
3890
|
"type": "boolean",
|
3950
3891
|
"kind": "expression"
|
3951
3892
|
}
|
3952
|
-
},
|
3953
|
-
{
|
3954
|
-
"name": "currency",
|
3955
|
-
"default": "`¥`",
|
3956
|
-
"description": "Currency symbol",
|
3957
|
-
"options": [],
|
3958
|
-
"value": {
|
3959
|
-
"type": "string",
|
3960
|
-
"kind": "expression"
|
3961
|
-
}
|
3962
3893
|
}
|
3963
3894
|
]
|
3964
3895
|
},
|
3965
3896
|
{
|
3966
|
-
"name": "van-
|
3897
|
+
"name": "van-datetime-picker",
|
3967
3898
|
"slots": [
|
3968
3899
|
{
|
3969
|
-
"name": "
|
3970
|
-
"description": "
|
3900
|
+
"name": "default",
|
3901
|
+
"description": "Custom toolbar content"
|
3971
3902
|
},
|
3972
3903
|
{
|
3973
|
-
"name": "
|
3974
|
-
"description": "
|
3904
|
+
"name": "title",
|
3905
|
+
"description": "Custom title"
|
3906
|
+
},
|
3907
|
+
{
|
3908
|
+
"name": "confirm",
|
3909
|
+
"description": "Custom confirm button text"
|
3910
|
+
},
|
3911
|
+
{
|
3912
|
+
"name": "cancel",
|
3913
|
+
"description": "Custom cancel button text"
|
3914
|
+
},
|
3915
|
+
{
|
3916
|
+
"name": "option",
|
3917
|
+
"description": "Custom option content"
|
3918
|
+
},
|
3919
|
+
{
|
3920
|
+
"name": "columns-top",
|
3921
|
+
"description": "Custom content above columns"
|
3922
|
+
},
|
3923
|
+
{
|
3924
|
+
"name": "columns-bottom",
|
3925
|
+
"description": "Custom content below columns"
|
3975
3926
|
}
|
3976
3927
|
],
|
3977
3928
|
"events": [
|
3978
3929
|
{
|
3979
3930
|
"name": "change",
|
3980
|
-
"description": "Emitted when
|
3931
|
+
"description": "Emitted when value changed",
|
3981
3932
|
"arguments": [
|
3982
3933
|
{
|
3983
|
-
"name": "
|
3984
|
-
"type": "
|
3934
|
+
"name": "value",
|
3935
|
+
"type": "current value"
|
3985
3936
|
}
|
3986
3937
|
]
|
3987
3938
|
},
|
3988
3939
|
{
|
3989
|
-
"name": "
|
3990
|
-
"description": "Emitted when
|
3940
|
+
"name": "confirm",
|
3941
|
+
"description": "Emitted when the confirm button is clicked",
|
3991
3942
|
"arguments": [
|
3992
3943
|
{
|
3993
|
-
"name": "
|
3994
|
-
"type": "
|
3944
|
+
"name": "value",
|
3945
|
+
"type": "current value"
|
3995
3946
|
}
|
3996
3947
|
]
|
3948
|
+
},
|
3949
|
+
{
|
3950
|
+
"name": "cancel",
|
3951
|
+
"description": "Emitted when the cancel button is clicked",
|
3952
|
+
"arguments": []
|
3997
3953
|
}
|
3998
3954
|
],
|
3999
3955
|
"attributes": [
|
4000
3956
|
{
|
4001
|
-
"name": "
|
4002
|
-
"default": "
|
4003
|
-
"description": "
|
3957
|
+
"name": "type",
|
3958
|
+
"default": "`datetime`",
|
3959
|
+
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`",
|
4004
3960
|
"options": [],
|
4005
3961
|
"value": {
|
4006
3962
|
"type": "string",
|
@@ -4008,152 +3964,196 @@
|
|
4008
3964
|
}
|
4009
3965
|
},
|
4010
3966
|
{
|
4011
|
-
"name": "
|
4012
|
-
"default": "
|
4013
|
-
"description": "
|
3967
|
+
"name": "title",
|
3968
|
+
"default": "`''`",
|
3969
|
+
"description": "Toolbar title",
|
4014
3970
|
"options": [],
|
4015
3971
|
"value": {
|
4016
|
-
"type": "
|
3972
|
+
"type": "string",
|
4017
3973
|
"kind": "expression"
|
4018
3974
|
}
|
4019
3975
|
},
|
4020
3976
|
{
|
4021
|
-
"name": "
|
4022
|
-
"default": "`
|
4023
|
-
"description": "
|
3977
|
+
"name": "confirm-button-text",
|
3978
|
+
"default": "`Confirm`",
|
3979
|
+
"description": "Text of confirm button",
|
4024
3980
|
"options": [],
|
4025
3981
|
"value": {
|
4026
|
-
"type": "
|
3982
|
+
"type": "string",
|
4027
3983
|
"kind": "expression"
|
4028
3984
|
}
|
4029
3985
|
},
|
4030
3986
|
{
|
4031
|
-
"name": "
|
4032
|
-
"default": "`
|
4033
|
-
"description": "
|
3987
|
+
"name": "cancel-button-text",
|
3988
|
+
"default": "`Cancel`",
|
3989
|
+
"description": "Text of cancel button",
|
3990
|
+
"options": [],
|
3991
|
+
"value": {
|
3992
|
+
"type": "string",
|
3993
|
+
"kind": "expression"
|
3994
|
+
}
|
3995
|
+
},
|
3996
|
+
{
|
3997
|
+
"name": "show-toolbar",
|
3998
|
+
"default": "`true`",
|
3999
|
+
"description": "Whether to show toolbar",
|
4000
|
+
"options": [],
|
4001
|
+
"value": {
|
4002
|
+
"type": "boolean",
|
4003
|
+
"kind": "expression"
|
4004
|
+
}
|
4005
|
+
},
|
4006
|
+
{
|
4007
|
+
"name": "loading",
|
4008
|
+
"default": "`false`",
|
4009
|
+
"description": "Whether to show loading prompt",
|
4010
|
+
"options": [],
|
4011
|
+
"value": {
|
4012
|
+
"type": "boolean",
|
4013
|
+
"kind": "expression"
|
4014
|
+
}
|
4015
|
+
},
|
4016
|
+
{
|
4017
|
+
"name": "readonly",
|
4018
|
+
"default": "`false`",
|
4019
|
+
"description": "Whether to be readonly",
|
4034
4020
|
"options": [],
|
4035
4021
|
"value": {
|
4036
|
-
"type": "
|
4022
|
+
"type": "boolean",
|
4037
4023
|
"kind": "expression"
|
4038
4024
|
}
|
4039
4025
|
},
|
4040
4026
|
{
|
4041
|
-
"name": "
|
4042
|
-
"default": "
|
4043
|
-
"description": "
|
4027
|
+
"name": "filter",
|
4028
|
+
"default": "-",
|
4029
|
+
"description": "Option filter",
|
4044
4030
|
"options": [],
|
4045
4031
|
"value": {
|
4046
|
-
"type": "string",
|
4032
|
+
"type": "(type: string, values: string[]) => string[]",
|
4047
4033
|
"kind": "expression"
|
4048
4034
|
}
|
4049
4035
|
},
|
4050
4036
|
{
|
4051
|
-
"name": "
|
4052
|
-
"default": "
|
4053
|
-
"description": "
|
4037
|
+
"name": "formatter",
|
4038
|
+
"default": "-",
|
4039
|
+
"description": "Option text formatter",
|
4054
4040
|
"options": [],
|
4055
4041
|
"value": {
|
4056
|
-
"type": "string",
|
4042
|
+
"type": "(type: string, value: string) => string",
|
4057
4043
|
"kind": "expression"
|
4058
4044
|
}
|
4059
4045
|
},
|
4060
4046
|
{
|
4061
|
-
"name": "
|
4062
|
-
"default": "
|
4063
|
-
"description": "
|
4047
|
+
"name": "columns-order",
|
4048
|
+
"default": "-",
|
4049
|
+
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`",
|
4064
4050
|
"options": [],
|
4065
4051
|
"value": {
|
4066
|
-
"type": "string",
|
4052
|
+
"type": "string[]",
|
4067
4053
|
"kind": "expression"
|
4068
4054
|
}
|
4069
4055
|
},
|
4070
4056
|
{
|
4071
|
-
"name": "
|
4072
|
-
"default": "`
|
4073
|
-
"description": "
|
4057
|
+
"name": "item-height",
|
4058
|
+
"default": "`44`",
|
4059
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
4074
4060
|
"options": [],
|
4075
4061
|
"value": {
|
4076
|
-
"type": "
|
4062
|
+
"type": "number | string",
|
4077
4063
|
"kind": "expression"
|
4078
4064
|
}
|
4079
4065
|
},
|
4080
4066
|
{
|
4081
|
-
"name": "
|
4082
|
-
"default": "`
|
4083
|
-
"description": "
|
4067
|
+
"name": "visible-item-count",
|
4068
|
+
"default": "`6`",
|
4069
|
+
"description": "Count of visible columns",
|
4084
4070
|
"options": [],
|
4085
4071
|
"value": {
|
4086
|
-
"type": "
|
4072
|
+
"type": "number | string",
|
4087
4073
|
"kind": "expression"
|
4088
4074
|
}
|
4089
4075
|
},
|
4090
4076
|
{
|
4091
|
-
"name": "
|
4092
|
-
"default": "`
|
4093
|
-
"description": "
|
4077
|
+
"name": "swipe-duration",
|
4078
|
+
"default": "`1000`",
|
4079
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
4094
4080
|
"options": [],
|
4095
4081
|
"value": {
|
4096
|
-
"type": "number",
|
4082
|
+
"type": "number | string",
|
4097
4083
|
"kind": "expression"
|
4098
4084
|
}
|
4099
|
-
}
|
4085
|
+
}
|
4086
|
+
]
|
4087
|
+
},
|
4088
|
+
{
|
4089
|
+
"name": "van-date-picker",
|
4090
|
+
"slots": [],
|
4091
|
+
"events": [],
|
4092
|
+
"attributes": [
|
4100
4093
|
{
|
4101
|
-
"name": "
|
4102
|
-
"default": "
|
4103
|
-
"description": "
|
4094
|
+
"name": "min-date",
|
4095
|
+
"default": "Ten years ago on January 1",
|
4096
|
+
"description": "Min date",
|
4104
4097
|
"options": [],
|
4105
4098
|
"value": {
|
4106
|
-
"type": "
|
4099
|
+
"type": "Date",
|
4107
4100
|
"kind": "expression"
|
4108
4101
|
}
|
4109
4102
|
},
|
4110
4103
|
{
|
4111
|
-
"name": "
|
4112
|
-
"default": "
|
4113
|
-
"description": "
|
4104
|
+
"name": "max-date",
|
4105
|
+
"default": "Ten years later on December 31",
|
4106
|
+
"description": "Max date",
|
4114
4107
|
"options": [],
|
4115
4108
|
"value": {
|
4116
|
-
"type": "
|
4109
|
+
"type": "Date",
|
4117
4110
|
"kind": "expression"
|
4118
4111
|
}
|
4119
|
-
}
|
4112
|
+
}
|
4113
|
+
]
|
4114
|
+
},
|
4115
|
+
{
|
4116
|
+
"name": "van-time-picker",
|
4117
|
+
"slots": [],
|
4118
|
+
"events": [],
|
4119
|
+
"attributes": [
|
4120
4120
|
{
|
4121
|
-
"name": "
|
4122
|
-
"default": "`
|
4123
|
-
"description": "
|
4121
|
+
"name": "min-hour",
|
4122
|
+
"default": "`0`",
|
4123
|
+
"description": "Min hour for `time` type",
|
4124
4124
|
"options": [],
|
4125
4125
|
"value": {
|
4126
|
-
"type": "string",
|
4126
|
+
"type": "number | string",
|
4127
4127
|
"kind": "expression"
|
4128
4128
|
}
|
4129
4129
|
},
|
4130
4130
|
{
|
4131
|
-
"name": "
|
4132
|
-
"default": "
|
4133
|
-
"description": "
|
4131
|
+
"name": "max-hour",
|
4132
|
+
"default": "`23`",
|
4133
|
+
"description": "Max hour for `time` type",
|
4134
4134
|
"options": [],
|
4135
4135
|
"value": {
|
4136
|
-
"type": "string",
|
4136
|
+
"type": "number | string",
|
4137
4137
|
"kind": "expression"
|
4138
4138
|
}
|
4139
4139
|
},
|
4140
4140
|
{
|
4141
|
-
"name": "
|
4142
|
-
"default": "
|
4143
|
-
"description": "
|
4141
|
+
"name": "min-minute",
|
4142
|
+
"default": "`0`",
|
4143
|
+
"description": "Max minute for `time` type",
|
4144
4144
|
"options": [],
|
4145
4145
|
"value": {
|
4146
|
-
"type": "string",
|
4146
|
+
"type": "number | string",
|
4147
4147
|
"kind": "expression"
|
4148
4148
|
}
|
4149
4149
|
},
|
4150
4150
|
{
|
4151
|
-
"name": "
|
4152
|
-
"default": "`
|
4153
|
-
"description": "
|
4151
|
+
"name": "max-minute",
|
4152
|
+
"default": "`59`",
|
4153
|
+
"description": "Max minute for `time` type",
|
4154
4154
|
"options": [],
|
4155
4155
|
"value": {
|
4156
|
-
"type": "
|
4156
|
+
"type": "number | string",
|
4157
4157
|
"kind": "expression"
|
4158
4158
|
}
|
4159
4159
|
}
|
@@ -4251,7 +4251,7 @@
|
|
4251
4251
|
{
|
4252
4252
|
"name": "message-align",
|
4253
4253
|
"default": "`center`",
|
4254
|
-
"description": "Message align, can be set to `left` `right`",
|
4254
|
+
"description": "Message align, can be set to `left` `right` `justify`",
|
4255
4255
|
"options": [],
|
4256
4256
|
"value": {
|
4257
4257
|
"type": "string",
|
@@ -5865,6 +5865,16 @@
|
|
5865
5865
|
"kind": "expression"
|
5866
5866
|
}
|
5867
5867
|
},
|
5868
|
+
{
|
5869
|
+
"name": "block",
|
5870
|
+
"default": "`false`",
|
5871
|
+
"description": "Whether the root node is a block element",
|
5872
|
+
"options": [],
|
5873
|
+
"value": {
|
5874
|
+
"type": "boolean",
|
5875
|
+
"kind": "expression"
|
5876
|
+
}
|
5877
|
+
},
|
5868
5878
|
{
|
5869
5879
|
"name": "lazy-load",
|
5870
5880
|
"default": "`false`",
|
@@ -6465,24 +6475,155 @@
|
|
6465
6475
|
"description": "Text font size",
|
6466
6476
|
"options": [],
|
6467
6477
|
"value": {
|
6468
|
-
"type": "number | string",
|
6478
|
+
"type": "number | string",
|
6479
|
+
"kind": "expression"
|
6480
|
+
}
|
6481
|
+
},
|
6482
|
+
{
|
6483
|
+
"name": "text-color",
|
6484
|
+
"default": "`#c9c9c9`",
|
6485
|
+
"description": "Text color",
|
6486
|
+
"options": [],
|
6487
|
+
"value": {
|
6488
|
+
"type": "string",
|
6489
|
+
"kind": "expression"
|
6490
|
+
}
|
6491
|
+
},
|
6492
|
+
{
|
6493
|
+
"name": "vertical",
|
6494
|
+
"default": "`false`",
|
6495
|
+
"description": "Whether to arrange icons and text content vertically",
|
6496
|
+
"options": [],
|
6497
|
+
"value": {
|
6498
|
+
"type": "boolean",
|
6499
|
+
"kind": "expression"
|
6500
|
+
}
|
6501
|
+
}
|
6502
|
+
]
|
6503
|
+
},
|
6504
|
+
{
|
6505
|
+
"name": "van-nav-bar",
|
6506
|
+
"slots": [
|
6507
|
+
{
|
6508
|
+
"name": "title",
|
6509
|
+
"description": "Custom title"
|
6510
|
+
},
|
6511
|
+
{
|
6512
|
+
"name": "left",
|
6513
|
+
"description": "Custom left side content"
|
6514
|
+
},
|
6515
|
+
{
|
6516
|
+
"name": "right",
|
6517
|
+
"description": "Custom right side content"
|
6518
|
+
}
|
6519
|
+
],
|
6520
|
+
"events": [
|
6521
|
+
{
|
6522
|
+
"name": "click-left",
|
6523
|
+
"description": "Emitted when the left button is clicked",
|
6524
|
+
"arguments": [
|
6525
|
+
{
|
6526
|
+
"name": "event",
|
6527
|
+
"type": "MouseEvent"
|
6528
|
+
}
|
6529
|
+
]
|
6530
|
+
},
|
6531
|
+
{
|
6532
|
+
"name": "click-right",
|
6533
|
+
"description": "Emitted when the right button is clicked",
|
6534
|
+
"arguments": [
|
6535
|
+
{
|
6536
|
+
"name": "event",
|
6537
|
+
"type": "MouseEvent"
|
6538
|
+
}
|
6539
|
+
]
|
6540
|
+
}
|
6541
|
+
],
|
6542
|
+
"attributes": [
|
6543
|
+
{
|
6544
|
+
"name": "title",
|
6545
|
+
"default": "`''`",
|
6546
|
+
"description": "Title",
|
6547
|
+
"options": [],
|
6548
|
+
"value": {
|
6549
|
+
"type": "string",
|
6550
|
+
"kind": "expression"
|
6551
|
+
}
|
6552
|
+
},
|
6553
|
+
{
|
6554
|
+
"name": "left-text",
|
6555
|
+
"default": "`''`",
|
6556
|
+
"description": "Left Text",
|
6557
|
+
"options": [],
|
6558
|
+
"value": {
|
6559
|
+
"type": "string",
|
6560
|
+
"kind": "expression"
|
6561
|
+
}
|
6562
|
+
},
|
6563
|
+
{
|
6564
|
+
"name": "right-text",
|
6565
|
+
"default": "`''`",
|
6566
|
+
"description": "Right Text",
|
6567
|
+
"options": [],
|
6568
|
+
"value": {
|
6569
|
+
"type": "string",
|
6570
|
+
"kind": "expression"
|
6571
|
+
}
|
6572
|
+
},
|
6573
|
+
{
|
6574
|
+
"name": "left-arrow",
|
6575
|
+
"default": "`false`",
|
6576
|
+
"description": "Whether to show left arrow",
|
6577
|
+
"options": [],
|
6578
|
+
"value": {
|
6579
|
+
"type": "boolean",
|
6580
|
+
"kind": "expression"
|
6581
|
+
}
|
6582
|
+
},
|
6583
|
+
{
|
6584
|
+
"name": "border",
|
6585
|
+
"default": "`true`",
|
6586
|
+
"description": "Whether to show bottom border",
|
6587
|
+
"options": [],
|
6588
|
+
"value": {
|
6589
|
+
"type": "boolean",
|
6590
|
+
"kind": "expression"
|
6591
|
+
}
|
6592
|
+
},
|
6593
|
+
{
|
6594
|
+
"name": "fixed",
|
6595
|
+
"default": "`false`",
|
6596
|
+
"description": "Whether to fixed top",
|
6597
|
+
"options": [],
|
6598
|
+
"value": {
|
6599
|
+
"type": "boolean",
|
6600
|
+
"kind": "expression"
|
6601
|
+
}
|
6602
|
+
},
|
6603
|
+
{
|
6604
|
+
"name": "placeholder",
|
6605
|
+
"default": "`false`",
|
6606
|
+
"description": "Whether to generate a placeholder element when fixed",
|
6607
|
+
"options": [],
|
6608
|
+
"value": {
|
6609
|
+
"type": "boolean",
|
6469
6610
|
"kind": "expression"
|
6470
6611
|
}
|
6471
6612
|
},
|
6472
6613
|
{
|
6473
|
-
"name": "
|
6474
|
-
"default": "
|
6475
|
-
"description": "
|
6614
|
+
"name": "z-index",
|
6615
|
+
"default": "`1`",
|
6616
|
+
"description": "Z-index",
|
6476
6617
|
"options": [],
|
6477
6618
|
"value": {
|
6478
|
-
"type": "string",
|
6619
|
+
"type": "number | string",
|
6479
6620
|
"kind": "expression"
|
6480
6621
|
}
|
6481
6622
|
},
|
6482
6623
|
{
|
6483
|
-
"name": "
|
6624
|
+
"name": "safe-area-inset-top",
|
6484
6625
|
"default": "`false`",
|
6485
|
-
"description": "Whether to
|
6626
|
+
"description": "Whether to enable top safe area adaptation",
|
6486
6627
|
"options": [],
|
6487
6628
|
"value": {
|
6488
6629
|
"type": "boolean",
|
@@ -6492,25 +6633,25 @@
|
|
6492
6633
|
]
|
6493
6634
|
},
|
6494
6635
|
{
|
6495
|
-
"name": "van-
|
6636
|
+
"name": "van-notice-bar",
|
6496
6637
|
"slots": [
|
6497
6638
|
{
|
6498
|
-
"name": "
|
6499
|
-
"description": "
|
6639
|
+
"name": "default",
|
6640
|
+
"description": "Notice text content"
|
6500
6641
|
},
|
6501
6642
|
{
|
6502
|
-
"name": "left",
|
6503
|
-
"description": "Custom left
|
6643
|
+
"name": "left-icon",
|
6644
|
+
"description": "Custom left icon"
|
6504
6645
|
},
|
6505
6646
|
{
|
6506
|
-
"name": "right",
|
6507
|
-
"description": "Custom right
|
6647
|
+
"name": "right-icon",
|
6648
|
+
"description": "Custom right icon"
|
6508
6649
|
}
|
6509
6650
|
],
|
6510
6651
|
"events": [
|
6511
6652
|
{
|
6512
|
-
"name": "click
|
6513
|
-
"description": "Emitted when
|
6653
|
+
"name": "click",
|
6654
|
+
"description": "Emitted when NoticeBar is clicked",
|
6514
6655
|
"arguments": [
|
6515
6656
|
{
|
6516
6657
|
"name": "event",
|
@@ -6519,21 +6660,26 @@
|
|
6519
6660
|
]
|
6520
6661
|
},
|
6521
6662
|
{
|
6522
|
-
"name": "
|
6523
|
-
"description": "Emitted when
|
6663
|
+
"name": "close",
|
6664
|
+
"description": "Emitted when NoticeBar is closed",
|
6524
6665
|
"arguments": [
|
6525
6666
|
{
|
6526
6667
|
"name": "event",
|
6527
6668
|
"type": "MouseEvent"
|
6528
6669
|
}
|
6529
6670
|
]
|
6671
|
+
},
|
6672
|
+
{
|
6673
|
+
"name": "replay",
|
6674
|
+
"description": "Emitted when NoticeBar is replayed",
|
6675
|
+
"arguments": []
|
6530
6676
|
}
|
6531
6677
|
],
|
6532
6678
|
"attributes": [
|
6533
6679
|
{
|
6534
|
-
"name": "
|
6680
|
+
"name": "mode",
|
6535
6681
|
"default": "`''`",
|
6536
|
-
"description": "
|
6682
|
+
"description": "Mode, can be set to `closeable` `link`",
|
6537
6683
|
"options": [],
|
6538
6684
|
"value": {
|
6539
6685
|
"type": "string",
|
@@ -6541,9 +6687,9 @@
|
|
6541
6687
|
}
|
6542
6688
|
},
|
6543
6689
|
{
|
6544
|
-
"name": "
|
6690
|
+
"name": "text",
|
6545
6691
|
"default": "`''`",
|
6546
|
-
"description": "
|
6692
|
+
"description": "Notice text content",
|
6547
6693
|
"options": [],
|
6548
6694
|
"value": {
|
6549
6695
|
"type": "string",
|
@@ -6551,9 +6697,9 @@
|
|
6551
6697
|
}
|
6552
6698
|
},
|
6553
6699
|
{
|
6554
|
-
"name": "
|
6555
|
-
"default": "`
|
6556
|
-
"description": "
|
6700
|
+
"name": "color",
|
6701
|
+
"default": "`#ed6a0c`",
|
6702
|
+
"description": "Text color",
|
6557
6703
|
"options": [],
|
6558
6704
|
"value": {
|
6559
6705
|
"type": "string",
|
@@ -6561,59 +6707,59 @@
|
|
6561
6707
|
}
|
6562
6708
|
},
|
6563
6709
|
{
|
6564
|
-
"name": "
|
6565
|
-
"default": "`
|
6566
|
-
"description": "
|
6710
|
+
"name": "background",
|
6711
|
+
"default": "`#fffbe8`",
|
6712
|
+
"description": "Background color",
|
6567
6713
|
"options": [],
|
6568
6714
|
"value": {
|
6569
|
-
"type": "
|
6715
|
+
"type": "string",
|
6570
6716
|
"kind": "expression"
|
6571
6717
|
}
|
6572
6718
|
},
|
6573
6719
|
{
|
6574
|
-
"name": "
|
6575
|
-
"default": "
|
6576
|
-
"description": "
|
6720
|
+
"name": "left-icon",
|
6721
|
+
"default": "-",
|
6722
|
+
"description": "Left Icon",
|
6577
6723
|
"options": [],
|
6578
6724
|
"value": {
|
6579
|
-
"type": "
|
6725
|
+
"type": "string",
|
6580
6726
|
"kind": "expression"
|
6581
6727
|
}
|
6582
6728
|
},
|
6583
6729
|
{
|
6584
|
-
"name": "
|
6585
|
-
"default": "`
|
6586
|
-
"description": "
|
6730
|
+
"name": "delay",
|
6731
|
+
"default": "`1`",
|
6732
|
+
"description": "Animation delay (s)",
|
6587
6733
|
"options": [],
|
6588
6734
|
"value": {
|
6589
|
-
"type": "
|
6735
|
+
"type": "number | string",
|
6590
6736
|
"kind": "expression"
|
6591
6737
|
}
|
6592
6738
|
},
|
6593
6739
|
{
|
6594
|
-
"name": "
|
6595
|
-
"default": "`
|
6596
|
-
"description": "
|
6740
|
+
"name": "speed",
|
6741
|
+
"default": "`60`",
|
6742
|
+
"description": "Scroll speed (px/s)",
|
6597
6743
|
"options": [],
|
6598
6744
|
"value": {
|
6599
|
-
"type": "
|
6745
|
+
"type": "number | string",
|
6600
6746
|
"kind": "expression"
|
6601
6747
|
}
|
6602
6748
|
},
|
6603
6749
|
{
|
6604
|
-
"name": "
|
6605
|
-
"default": "
|
6606
|
-
"description": "
|
6750
|
+
"name": "scrollable",
|
6751
|
+
"default": "-",
|
6752
|
+
"description": "Whether to scroll content",
|
6607
6753
|
"options": [],
|
6608
6754
|
"value": {
|
6609
|
-
"type": "
|
6755
|
+
"type": "boolean",
|
6610
6756
|
"kind": "expression"
|
6611
6757
|
}
|
6612
6758
|
},
|
6613
6759
|
{
|
6614
|
-
"name": "
|
6760
|
+
"name": "wrapable",
|
6615
6761
|
"default": "`false`",
|
6616
|
-
"description": "Whether to enable
|
6762
|
+
"description": "Whether to enable text wrap",
|
6617
6763
|
"options": [],
|
6618
6764
|
"value": {
|
6619
6765
|
"type": "boolean",
|
@@ -6728,184 +6874,38 @@
|
|
6728
6874
|
},
|
6729
6875
|
{
|
6730
6876
|
"name": "transition",
|
6731
|
-
"default": "`true`",
|
6732
|
-
"description": "Whether to show transition animation",
|
6733
|
-
"options": [],
|
6734
|
-
"value": {
|
6735
|
-
"type": "boolean",
|
6736
|
-
"kind": "expression"
|
6737
|
-
}
|
6738
|
-
},
|
6739
|
-
{
|
6740
|
-
"name": "z-index",
|
6741
|
-
"default": "`100`",
|
6742
|
-
"description": "Keyboard z-index",
|
6743
|
-
"options": [],
|
6744
|
-
"value": {
|
6745
|
-
"type": "number | string",
|
6746
|
-
"kind": "expression"
|
6747
|
-
}
|
6748
|
-
},
|
6749
|
-
{
|
6750
|
-
"name": "extra-key",
|
6751
|
-
"default": "`''`",
|
6752
|
-
"description": "Content of bottom left key",
|
6753
|
-
"options": [],
|
6754
|
-
"value": {
|
6755
|
-
"type": "string | string[]",
|
6756
|
-
"kind": "expression"
|
6757
|
-
}
|
6758
|
-
},
|
6759
|
-
{
|
6760
|
-
"name": "close-button-text",
|
6761
|
-
"default": "-",
|
6762
|
-
"description": "Close button text",
|
6763
|
-
"options": [],
|
6764
|
-
"value": {
|
6765
|
-
"type": "string",
|
6766
|
-
"kind": "expression"
|
6767
|
-
}
|
6768
|
-
},
|
6769
|
-
{
|
6770
|
-
"name": "delete-button-text",
|
6771
|
-
"default": "Delete Icon",
|
6772
|
-
"description": "Delete button text",
|
6773
|
-
"options": [],
|
6774
|
-
"value": {
|
6775
|
-
"type": "string",
|
6776
|
-
"kind": "expression"
|
6777
|
-
}
|
6778
|
-
},
|
6779
|
-
{
|
6780
|
-
"name": "close-button-loading",
|
6781
|
-
"default": "`false`",
|
6782
|
-
"description": "Whether to show loading close button in custom theme",
|
6783
|
-
"options": [],
|
6784
|
-
"value": {
|
6785
|
-
"type": "boolean",
|
6786
|
-
"kind": "expression"
|
6787
|
-
}
|
6788
|
-
},
|
6789
|
-
{
|
6790
|
-
"name": "show-delete-key",
|
6791
|
-
"default": "`true`",
|
6792
|
-
"description": "Whether to show delete button",
|
6793
|
-
"options": [],
|
6794
|
-
"value": {
|
6795
|
-
"type": "boolean",
|
6796
|
-
"kind": "expression"
|
6797
|
-
}
|
6798
|
-
},
|
6799
|
-
{
|
6800
|
-
"name": "blur-on-close",
|
6801
|
-
"default": "`true`",
|
6802
|
-
"description": "Whether to emit blur event when clicking close button",
|
6803
|
-
"options": [],
|
6804
|
-
"value": {
|
6805
|
-
"type": "boolean",
|
6806
|
-
"kind": "expression"
|
6807
|
-
}
|
6808
|
-
},
|
6809
|
-
{
|
6810
|
-
"name": "hide-on-click-outside",
|
6811
|
-
"default": "`true`",
|
6812
|
-
"description": "Whether to hide keyboard when outside is clicked",
|
6813
|
-
"options": [],
|
6814
|
-
"value": {
|
6815
|
-
"type": "boolean",
|
6816
|
-
"kind": "expression"
|
6817
|
-
}
|
6818
|
-
},
|
6819
|
-
{
|
6820
|
-
"name": "teleport",
|
6821
|
-
"default": "-",
|
6822
|
-
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6823
|
-
"options": [],
|
6824
|
-
"value": {
|
6825
|
-
"type": "string | Element",
|
6826
|
-
"kind": "expression"
|
6827
|
-
}
|
6828
|
-
},
|
6829
|
-
{
|
6830
|
-
"name": "safe-area-inset-bottom",
|
6831
|
-
"default": "`true`",
|
6832
|
-
"description": "Whether to enable bottom safe area adaptation",
|
6833
|
-
"options": [],
|
6834
|
-
"value": {
|
6835
|
-
"type": "boolean",
|
6836
|
-
"kind": "expression"
|
6837
|
-
}
|
6838
|
-
},
|
6839
|
-
{
|
6840
|
-
"name": "random-key-order",
|
6841
|
-
"default": "`false`",
|
6842
|
-
"description": "Whether to shuffle the order of keys",
|
6843
|
-
"options": [],
|
6844
|
-
"value": {
|
6845
|
-
"type": "boolean",
|
6846
|
-
"kind": "expression"
|
6847
|
-
}
|
6848
|
-
}
|
6849
|
-
]
|
6850
|
-
},
|
6851
|
-
{
|
6852
|
-
"name": "van-notice-bar",
|
6853
|
-
"slots": [
|
6854
|
-
{
|
6855
|
-
"name": "default",
|
6856
|
-
"description": "Notice text content"
|
6857
|
-
},
|
6858
|
-
{
|
6859
|
-
"name": "left-icon",
|
6860
|
-
"description": "Custom left icon"
|
6861
|
-
},
|
6862
|
-
{
|
6863
|
-
"name": "right-icon",
|
6864
|
-
"description": "Custom right icon"
|
6865
|
-
}
|
6866
|
-
],
|
6867
|
-
"events": [
|
6868
|
-
{
|
6869
|
-
"name": "click",
|
6870
|
-
"description": "Emitted when NoticeBar is clicked",
|
6871
|
-
"arguments": [
|
6872
|
-
{
|
6873
|
-
"name": "event",
|
6874
|
-
"type": "MouseEvent"
|
6875
|
-
}
|
6876
|
-
]
|
6877
|
-
},
|
6878
|
-
{
|
6879
|
-
"name": "close",
|
6880
|
-
"description": "Emitted when NoticeBar is closed",
|
6881
|
-
"arguments": [
|
6882
|
-
{
|
6883
|
-
"name": "event",
|
6884
|
-
"type": "MouseEvent"
|
6885
|
-
}
|
6886
|
-
]
|
6877
|
+
"default": "`true`",
|
6878
|
+
"description": "Whether to show transition animation",
|
6879
|
+
"options": [],
|
6880
|
+
"value": {
|
6881
|
+
"type": "boolean",
|
6882
|
+
"kind": "expression"
|
6883
|
+
}
|
6887
6884
|
},
|
6888
6885
|
{
|
6889
|
-
"name": "
|
6890
|
-
"
|
6891
|
-
"
|
6892
|
-
|
6893
|
-
|
6894
|
-
|
6886
|
+
"name": "z-index",
|
6887
|
+
"default": "`100`",
|
6888
|
+
"description": "Keyboard z-index",
|
6889
|
+
"options": [],
|
6890
|
+
"value": {
|
6891
|
+
"type": "number | string",
|
6892
|
+
"kind": "expression"
|
6893
|
+
}
|
6894
|
+
},
|
6895
6895
|
{
|
6896
|
-
"name": "
|
6896
|
+
"name": "extra-key",
|
6897
6897
|
"default": "`''`",
|
6898
|
-
"description": "
|
6898
|
+
"description": "Content of bottom left key",
|
6899
6899
|
"options": [],
|
6900
6900
|
"value": {
|
6901
|
-
"type": "string",
|
6901
|
+
"type": "string | string[]",
|
6902
6902
|
"kind": "expression"
|
6903
6903
|
}
|
6904
6904
|
},
|
6905
6905
|
{
|
6906
|
-
"name": "text",
|
6907
|
-
"default": "
|
6908
|
-
"description": "
|
6906
|
+
"name": "close-button-text",
|
6907
|
+
"default": "-",
|
6908
|
+
"description": "Close button text",
|
6909
6909
|
"options": [],
|
6910
6910
|
"value": {
|
6911
6911
|
"type": "string",
|
@@ -6913,9 +6913,9 @@
|
|
6913
6913
|
}
|
6914
6914
|
},
|
6915
6915
|
{
|
6916
|
-
"name": "
|
6917
|
-
"default": "
|
6918
|
-
"description": "
|
6916
|
+
"name": "delete-button-text",
|
6917
|
+
"default": "Delete Icon",
|
6918
|
+
"description": "Delete button text",
|
6919
6919
|
"options": [],
|
6920
6920
|
"value": {
|
6921
6921
|
"type": "string",
|
@@ -6923,49 +6923,59 @@
|
|
6923
6923
|
}
|
6924
6924
|
},
|
6925
6925
|
{
|
6926
|
-
"name": "
|
6927
|
-
"default": "
|
6928
|
-
"description": "
|
6926
|
+
"name": "close-button-loading",
|
6927
|
+
"default": "`false`",
|
6928
|
+
"description": "Whether to show loading close button in custom theme",
|
6929
6929
|
"options": [],
|
6930
6930
|
"value": {
|
6931
|
-
"type": "
|
6931
|
+
"type": "boolean",
|
6932
6932
|
"kind": "expression"
|
6933
6933
|
}
|
6934
6934
|
},
|
6935
6935
|
{
|
6936
|
-
"name": "
|
6937
|
-
"default": "
|
6938
|
-
"description": "
|
6936
|
+
"name": "show-delete-key",
|
6937
|
+
"default": "`true`",
|
6938
|
+
"description": "Whether to show delete button",
|
6939
6939
|
"options": [],
|
6940
6940
|
"value": {
|
6941
|
-
"type": "
|
6941
|
+
"type": "boolean",
|
6942
6942
|
"kind": "expression"
|
6943
6943
|
}
|
6944
6944
|
},
|
6945
6945
|
{
|
6946
|
-
"name": "
|
6947
|
-
"default": "`
|
6948
|
-
"description": "
|
6946
|
+
"name": "blur-on-close",
|
6947
|
+
"default": "`true`",
|
6948
|
+
"description": "Whether to emit blur event when clicking close button",
|
6949
6949
|
"options": [],
|
6950
6950
|
"value": {
|
6951
|
-
"type": "
|
6951
|
+
"type": "boolean",
|
6952
6952
|
"kind": "expression"
|
6953
6953
|
}
|
6954
6954
|
},
|
6955
6955
|
{
|
6956
|
-
"name": "
|
6957
|
-
"default": "`
|
6958
|
-
"description": "
|
6956
|
+
"name": "hide-on-click-outside",
|
6957
|
+
"default": "`true`",
|
6958
|
+
"description": "Whether to hide keyboard when outside is clicked",
|
6959
6959
|
"options": [],
|
6960
6960
|
"value": {
|
6961
|
-
"type": "
|
6961
|
+
"type": "boolean",
|
6962
6962
|
"kind": "expression"
|
6963
6963
|
}
|
6964
6964
|
},
|
6965
6965
|
{
|
6966
|
-
"name": "
|
6966
|
+
"name": "teleport",
|
6967
6967
|
"default": "-",
|
6968
|
-
"description": "
|
6968
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6969
|
+
"options": [],
|
6970
|
+
"value": {
|
6971
|
+
"type": "string | Element",
|
6972
|
+
"kind": "expression"
|
6973
|
+
}
|
6974
|
+
},
|
6975
|
+
{
|
6976
|
+
"name": "safe-area-inset-bottom",
|
6977
|
+
"default": "`true`",
|
6978
|
+
"description": "Whether to enable bottom safe area adaptation",
|
6969
6979
|
"options": [],
|
6970
6980
|
"value": {
|
6971
6981
|
"type": "boolean",
|
@@ -6973,9 +6983,9 @@
|
|
6973
6983
|
}
|
6974
6984
|
},
|
6975
6985
|
{
|
6976
|
-
"name": "
|
6986
|
+
"name": "random-key-order",
|
6977
6987
|
"default": "`false`",
|
6978
|
-
"description": "Whether to
|
6988
|
+
"description": "Whether to shuffle the order of keys",
|
6979
6989
|
"options": [],
|
6980
6990
|
"value": {
|
6981
6991
|
"type": "boolean",
|
@@ -7193,6 +7203,89 @@
|
|
7193
7203
|
}
|
7194
7204
|
]
|
7195
7205
|
},
|
7206
|
+
{
|
7207
|
+
"name": "van-password-input",
|
7208
|
+
"slots": [],
|
7209
|
+
"events": [
|
7210
|
+
{
|
7211
|
+
"name": "focus",
|
7212
|
+
"description": "Emitted when input is focused",
|
7213
|
+
"arguments": []
|
7214
|
+
}
|
7215
|
+
],
|
7216
|
+
"attributes": [
|
7217
|
+
{
|
7218
|
+
"name": "value",
|
7219
|
+
"default": "`''`",
|
7220
|
+
"description": "Password value",
|
7221
|
+
"options": [],
|
7222
|
+
"value": {
|
7223
|
+
"type": "string",
|
7224
|
+
"kind": "expression"
|
7225
|
+
}
|
7226
|
+
},
|
7227
|
+
{
|
7228
|
+
"name": "info",
|
7229
|
+
"default": "-",
|
7230
|
+
"description": "Bottom info",
|
7231
|
+
"options": [],
|
7232
|
+
"value": {
|
7233
|
+
"type": "string",
|
7234
|
+
"kind": "expression"
|
7235
|
+
}
|
7236
|
+
},
|
7237
|
+
{
|
7238
|
+
"name": "error-info",
|
7239
|
+
"default": "-",
|
7240
|
+
"description": "Bottom error info",
|
7241
|
+
"options": [],
|
7242
|
+
"value": {
|
7243
|
+
"type": "string",
|
7244
|
+
"kind": "expression"
|
7245
|
+
}
|
7246
|
+
},
|
7247
|
+
{
|
7248
|
+
"name": "length",
|
7249
|
+
"default": "`6`",
|
7250
|
+
"description": "Maxlength of password",
|
7251
|
+
"options": [],
|
7252
|
+
"value": {
|
7253
|
+
"type": "number | string",
|
7254
|
+
"kind": "expression"
|
7255
|
+
}
|
7256
|
+
},
|
7257
|
+
{
|
7258
|
+
"name": "gutter",
|
7259
|
+
"default": "`0`",
|
7260
|
+
"description": "Gutter of input",
|
7261
|
+
"options": [],
|
7262
|
+
"value": {
|
7263
|
+
"type": "number | string",
|
7264
|
+
"kind": "expression"
|
7265
|
+
}
|
7266
|
+
},
|
7267
|
+
{
|
7268
|
+
"name": "mask",
|
7269
|
+
"default": "`true`",
|
7270
|
+
"description": "Whether to mask value",
|
7271
|
+
"options": [],
|
7272
|
+
"value": {
|
7273
|
+
"type": "boolean",
|
7274
|
+
"kind": "expression"
|
7275
|
+
}
|
7276
|
+
},
|
7277
|
+
{
|
7278
|
+
"name": "focused",
|
7279
|
+
"default": "`false`",
|
7280
|
+
"description": "Whether to show focused cursor",
|
7281
|
+
"options": [],
|
7282
|
+
"value": {
|
7283
|
+
"type": "boolean",
|
7284
|
+
"kind": "expression"
|
7285
|
+
}
|
7286
|
+
}
|
7287
|
+
]
|
7288
|
+
},
|
7196
7289
|
{
|
7197
7290
|
"name": "van-picker",
|
7198
7291
|
"slots": [
|
@@ -7346,107 +7439,24 @@
|
|
7346
7439
|
"description": "Whether to show toolbar",
|
7347
7440
|
"options": [],
|
7348
7441
|
"value": {
|
7349
|
-
"type": "boolean",
|
7350
|
-
"kind": "expression"
|
7351
|
-
}
|
7352
|
-
},
|
7353
|
-
{
|
7354
|
-
"name": "allow-html",
|
7355
|
-
"default": "`false`",
|
7356
|
-
"description": "Whether to allow HTML in option text",
|
7357
|
-
"options": [],
|
7358
|
-
"value": {
|
7359
|
-
"type": "boolean",
|
7360
|
-
"kind": "expression"
|
7361
|
-
}
|
7362
|
-
},
|
7363
|
-
{
|
7364
|
-
"name": "default-index",
|
7365
|
-
"default": "`0`",
|
7366
|
-
"description": "Default value index of single column picker",
|
7367
|
-
"options": [],
|
7368
|
-
"value": {
|
7369
|
-
"type": "number | string",
|
7370
|
-
"kind": "expression"
|
7371
|
-
}
|
7372
|
-
},
|
7373
|
-
{
|
7374
|
-
"name": "item-height",
|
7375
|
-
"default": "`44`",
|
7376
|
-
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
7377
|
-
"options": [],
|
7378
|
-
"value": {
|
7379
|
-
"type": "number | string",
|
7380
|
-
"kind": "expression"
|
7381
|
-
}
|
7382
|
-
},
|
7383
|
-
{
|
7384
|
-
"name": "visible-item-count",
|
7385
|
-
"default": "`6`",
|
7386
|
-
"description": "Count of visible columns",
|
7387
|
-
"options": [],
|
7388
|
-
"value": {
|
7389
|
-
"type": "number | string",
|
7390
|
-
"kind": "expression"
|
7391
|
-
}
|
7392
|
-
},
|
7393
|
-
{
|
7394
|
-
"name": "swipe-duration",
|
7395
|
-
"default": "`1000`",
|
7396
|
-
"description": "Duration of the momentum animation, unit `ms`",
|
7397
|
-
"options": [],
|
7398
|
-
"value": {
|
7399
|
-
"type": "number | string",
|
7400
|
-
"kind": "expression"
|
7401
|
-
}
|
7402
|
-
}
|
7403
|
-
]
|
7404
|
-
},
|
7405
|
-
{
|
7406
|
-
"name": "van-password-input",
|
7407
|
-
"slots": [],
|
7408
|
-
"events": [
|
7409
|
-
{
|
7410
|
-
"name": "focus",
|
7411
|
-
"description": "Emitted when input is focused",
|
7412
|
-
"arguments": []
|
7413
|
-
}
|
7414
|
-
],
|
7415
|
-
"attributes": [
|
7416
|
-
{
|
7417
|
-
"name": "value",
|
7418
|
-
"default": "`''`",
|
7419
|
-
"description": "Password value",
|
7420
|
-
"options": [],
|
7421
|
-
"value": {
|
7422
|
-
"type": "string",
|
7423
|
-
"kind": "expression"
|
7424
|
-
}
|
7425
|
-
},
|
7426
|
-
{
|
7427
|
-
"name": "info",
|
7428
|
-
"default": "-",
|
7429
|
-
"description": "Bottom info",
|
7430
|
-
"options": [],
|
7431
|
-
"value": {
|
7432
|
-
"type": "string",
|
7442
|
+
"type": "boolean",
|
7433
7443
|
"kind": "expression"
|
7434
7444
|
}
|
7435
7445
|
},
|
7436
7446
|
{
|
7437
|
-
"name": "
|
7438
|
-
"default": "
|
7439
|
-
"description": "
|
7447
|
+
"name": "allow-html",
|
7448
|
+
"default": "`false`",
|
7449
|
+
"description": "Whether to allow HTML in option text",
|
7440
7450
|
"options": [],
|
7441
7451
|
"value": {
|
7442
|
-
"type": "
|
7452
|
+
"type": "boolean",
|
7443
7453
|
"kind": "expression"
|
7444
7454
|
}
|
7445
7455
|
},
|
7446
7456
|
{
|
7447
|
-
"name": "
|
7448
|
-
"default": "`
|
7449
|
-
"description": "
|
7457
|
+
"name": "default-index",
|
7458
|
+
"default": "`0`",
|
7459
|
+
"description": "Default value index of single column picker",
|
7450
7460
|
"options": [],
|
7451
7461
|
"value": {
|
7452
7462
|
"type": "number | string",
|
@@ -7454,9 +7464,9 @@
|
|
7454
7464
|
}
|
7455
7465
|
},
|
7456
7466
|
{
|
7457
|
-
"name": "
|
7458
|
-
"default": "`
|
7459
|
-
"description": "
|
7467
|
+
"name": "item-height",
|
7468
|
+
"default": "`44`",
|
7469
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
7460
7470
|
"options": [],
|
7461
7471
|
"value": {
|
7462
7472
|
"type": "number | string",
|
@@ -7464,22 +7474,22 @@
|
|
7464
7474
|
}
|
7465
7475
|
},
|
7466
7476
|
{
|
7467
|
-
"name": "
|
7468
|
-
"default": "`
|
7469
|
-
"description": "
|
7477
|
+
"name": "visible-item-count",
|
7478
|
+
"default": "`6`",
|
7479
|
+
"description": "Count of visible columns",
|
7470
7480
|
"options": [],
|
7471
7481
|
"value": {
|
7472
|
-
"type": "
|
7482
|
+
"type": "number | string",
|
7473
7483
|
"kind": "expression"
|
7474
7484
|
}
|
7475
7485
|
},
|
7476
7486
|
{
|
7477
|
-
"name": "
|
7478
|
-
"default": "`
|
7479
|
-
"description": "
|
7487
|
+
"name": "swipe-duration",
|
7488
|
+
"default": "`1000`",
|
7489
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
7480
7490
|
"options": [],
|
7481
7491
|
"value": {
|
7482
|
-
"type": "
|
7492
|
+
"type": "number | string",
|
7483
7493
|
"kind": "expression"
|
7484
7494
|
}
|
7485
7495
|
}
|
@@ -10634,9 +10644,229 @@
|
|
10634
10644
|
}
|
10635
10645
|
},
|
10636
10646
|
{
|
10637
|
-
"name": "size",
|
10638
|
-
"default": "`30px`",
|
10639
|
-
"description": "Size of switch",
|
10647
|
+
"name": "size",
|
10648
|
+
"default": "`30px`",
|
10649
|
+
"description": "Size of switch",
|
10650
|
+
"options": [],
|
10651
|
+
"value": {
|
10652
|
+
"type": "number | string",
|
10653
|
+
"kind": "expression"
|
10654
|
+
}
|
10655
|
+
},
|
10656
|
+
{
|
10657
|
+
"name": "active-color",
|
10658
|
+
"default": "`#1989fa`",
|
10659
|
+
"description": "Background color when active",
|
10660
|
+
"options": [],
|
10661
|
+
"value": {
|
10662
|
+
"type": "string",
|
10663
|
+
"kind": "expression"
|
10664
|
+
}
|
10665
|
+
},
|
10666
|
+
{
|
10667
|
+
"name": "inactive-color",
|
10668
|
+
"default": "`white`",
|
10669
|
+
"description": "Background color when inactive",
|
10670
|
+
"options": [],
|
10671
|
+
"value": {
|
10672
|
+
"type": "string",
|
10673
|
+
"kind": "expression"
|
10674
|
+
}
|
10675
|
+
},
|
10676
|
+
{
|
10677
|
+
"name": "active-value",
|
10678
|
+
"default": "`true`",
|
10679
|
+
"description": "Value when active",
|
10680
|
+
"options": [],
|
10681
|
+
"value": {
|
10682
|
+
"type": "any",
|
10683
|
+
"kind": "expression"
|
10684
|
+
}
|
10685
|
+
},
|
10686
|
+
{
|
10687
|
+
"name": "inactive-value",
|
10688
|
+
"default": "`false`",
|
10689
|
+
"description": "Value when inactive",
|
10690
|
+
"options": [],
|
10691
|
+
"value": {
|
10692
|
+
"type": "any",
|
10693
|
+
"kind": "expression"
|
10694
|
+
}
|
10695
|
+
}
|
10696
|
+
]
|
10697
|
+
},
|
10698
|
+
{
|
10699
|
+
"name": "van-tabbar",
|
10700
|
+
"slots": [],
|
10701
|
+
"events": [
|
10702
|
+
{
|
10703
|
+
"name": "change",
|
10704
|
+
"description": "Emitted when changing active tab",
|
10705
|
+
"arguments": [
|
10706
|
+
{
|
10707
|
+
"name": "active",
|
10708
|
+
"type": "number | string"
|
10709
|
+
}
|
10710
|
+
]
|
10711
|
+
}
|
10712
|
+
],
|
10713
|
+
"attributes": [
|
10714
|
+
{
|
10715
|
+
"name": "v-model",
|
10716
|
+
"default": "`0`",
|
10717
|
+
"description": "Identifier of current tab",
|
10718
|
+
"options": [],
|
10719
|
+
"value": {
|
10720
|
+
"type": "number | string",
|
10721
|
+
"kind": "expression"
|
10722
|
+
}
|
10723
|
+
},
|
10724
|
+
{
|
10725
|
+
"name": "fixed",
|
10726
|
+
"default": "`true`",
|
10727
|
+
"description": "Whether to fixed bottom",
|
10728
|
+
"options": [],
|
10729
|
+
"value": {
|
10730
|
+
"type": "boolean",
|
10731
|
+
"kind": "expression"
|
10732
|
+
}
|
10733
|
+
},
|
10734
|
+
{
|
10735
|
+
"name": "border",
|
10736
|
+
"default": "`true`",
|
10737
|
+
"description": "Whether to show border",
|
10738
|
+
"options": [],
|
10739
|
+
"value": {
|
10740
|
+
"type": "boolean",
|
10741
|
+
"kind": "expression"
|
10742
|
+
}
|
10743
|
+
},
|
10744
|
+
{
|
10745
|
+
"name": "z-index",
|
10746
|
+
"default": "`1`",
|
10747
|
+
"description": "Z-index",
|
10748
|
+
"options": [],
|
10749
|
+
"value": {
|
10750
|
+
"type": "number | string",
|
10751
|
+
"kind": "expression"
|
10752
|
+
}
|
10753
|
+
},
|
10754
|
+
{
|
10755
|
+
"name": "active-color",
|
10756
|
+
"default": "`#1989fa`",
|
10757
|
+
"description": "Color of active tab item",
|
10758
|
+
"options": [],
|
10759
|
+
"value": {
|
10760
|
+
"type": "string",
|
10761
|
+
"kind": "expression"
|
10762
|
+
}
|
10763
|
+
},
|
10764
|
+
{
|
10765
|
+
"name": "inactive-color",
|
10766
|
+
"default": "`#7d7e80`",
|
10767
|
+
"description": "Color of inactive tab item",
|
10768
|
+
"options": [],
|
10769
|
+
"value": {
|
10770
|
+
"type": "string",
|
10771
|
+
"kind": "expression"
|
10772
|
+
}
|
10773
|
+
},
|
10774
|
+
{
|
10775
|
+
"name": "route",
|
10776
|
+
"default": "`false`",
|
10777
|
+
"description": "Whether to enable route mode",
|
10778
|
+
"options": [],
|
10779
|
+
"value": {
|
10780
|
+
"type": "boolean",
|
10781
|
+
"kind": "expression"
|
10782
|
+
}
|
10783
|
+
},
|
10784
|
+
{
|
10785
|
+
"name": "placeholder",
|
10786
|
+
"default": "`false`",
|
10787
|
+
"description": "Whether to generate a placeholder element when fixed",
|
10788
|
+
"options": [],
|
10789
|
+
"value": {
|
10790
|
+
"type": "boolean",
|
10791
|
+
"kind": "expression"
|
10792
|
+
}
|
10793
|
+
},
|
10794
|
+
{
|
10795
|
+
"name": "safe-area-inset-bottom",
|
10796
|
+
"default": "`false`",
|
10797
|
+
"description": "Whether to enable bottom safe area adaptation",
|
10798
|
+
"options": [],
|
10799
|
+
"value": {
|
10800
|
+
"type": "boolean",
|
10801
|
+
"kind": "expression"
|
10802
|
+
}
|
10803
|
+
},
|
10804
|
+
{
|
10805
|
+
"name": "before-change",
|
10806
|
+
"default": "-",
|
10807
|
+
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
10808
|
+
"options": [],
|
10809
|
+
"value": {
|
10810
|
+
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
10811
|
+
"kind": "expression"
|
10812
|
+
}
|
10813
|
+
}
|
10814
|
+
]
|
10815
|
+
},
|
10816
|
+
{
|
10817
|
+
"name": "van-tabbar-item",
|
10818
|
+
"slots": [
|
10819
|
+
{
|
10820
|
+
"name": "icon",
|
10821
|
+
"description": "Custom icon"
|
10822
|
+
}
|
10823
|
+
],
|
10824
|
+
"events": [],
|
10825
|
+
"attributes": [
|
10826
|
+
{
|
10827
|
+
"name": "name",
|
10828
|
+
"default": "Item index",
|
10829
|
+
"description": "Identifier",
|
10830
|
+
"options": [],
|
10831
|
+
"value": {
|
10832
|
+
"type": "number | string",
|
10833
|
+
"kind": "expression"
|
10834
|
+
}
|
10835
|
+
},
|
10836
|
+
{
|
10837
|
+
"name": "icon",
|
10838
|
+
"default": "-",
|
10839
|
+
"description": "Icon name",
|
10840
|
+
"options": [],
|
10841
|
+
"value": {
|
10842
|
+
"type": "string",
|
10843
|
+
"kind": "expression"
|
10844
|
+
}
|
10845
|
+
},
|
10846
|
+
{
|
10847
|
+
"name": "icon-prefix",
|
10848
|
+
"default": "`van-icon`",
|
10849
|
+
"description": "Icon className prefix",
|
10850
|
+
"options": [],
|
10851
|
+
"value": {
|
10852
|
+
"type": "string",
|
10853
|
+
"kind": "expression"
|
10854
|
+
}
|
10855
|
+
},
|
10856
|
+
{
|
10857
|
+
"name": "dot",
|
10858
|
+
"default": "-",
|
10859
|
+
"description": "Whether to show red dot",
|
10860
|
+
"options": [],
|
10861
|
+
"value": {
|
10862
|
+
"type": "boolean",
|
10863
|
+
"kind": "expression"
|
10864
|
+
}
|
10865
|
+
},
|
10866
|
+
{
|
10867
|
+
"name": "badge",
|
10868
|
+
"default": "`''`",
|
10869
|
+
"description": "Content of the badge",
|
10640
10870
|
"options": [],
|
10641
10871
|
"value": {
|
10642
10872
|
"type": "number | string",
|
@@ -10644,19 +10874,19 @@
|
|
10644
10874
|
}
|
10645
10875
|
},
|
10646
10876
|
{
|
10647
|
-
"name": "
|
10648
|
-
"default": "
|
10649
|
-
"description": "
|
10877
|
+
"name": "badge-props",
|
10878
|
+
"default": "-",
|
10879
|
+
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
10650
10880
|
"options": [],
|
10651
10881
|
"value": {
|
10652
|
-
"type": "
|
10882
|
+
"type": "BadgeProps",
|
10653
10883
|
"kind": "expression"
|
10654
10884
|
}
|
10655
10885
|
},
|
10656
10886
|
{
|
10657
|
-
"name": "
|
10658
|
-
"default": "
|
10659
|
-
"description": "
|
10887
|
+
"name": "url",
|
10888
|
+
"default": "-",
|
10889
|
+
"description": "Link",
|
10660
10890
|
"options": [],
|
10661
10891
|
"value": {
|
10662
10892
|
"type": "string",
|
@@ -10664,22 +10894,22 @@
|
|
10664
10894
|
}
|
10665
10895
|
},
|
10666
10896
|
{
|
10667
|
-
"name": "
|
10668
|
-
"default": "
|
10669
|
-
"description": "
|
10897
|
+
"name": "to",
|
10898
|
+
"default": "-",
|
10899
|
+
"description": "Target route of the link, same as to of vue-router",
|
10670
10900
|
"options": [],
|
10671
10901
|
"value": {
|
10672
|
-
"type": "
|
10902
|
+
"type": "string | object",
|
10673
10903
|
"kind": "expression"
|
10674
10904
|
}
|
10675
10905
|
},
|
10676
10906
|
{
|
10677
|
-
"name": "
|
10907
|
+
"name": "replace",
|
10678
10908
|
"default": "`false`",
|
10679
|
-
"description": "
|
10909
|
+
"description": "If true, the navigation will not leave a history record",
|
10680
10910
|
"options": [],
|
10681
10911
|
"value": {
|
10682
|
-
"type": "
|
10912
|
+
"type": "boolean",
|
10683
10913
|
"kind": "expression"
|
10684
10914
|
}
|
10685
10915
|
}
|
@@ -11078,226 +11308,6 @@
|
|
11078
11308
|
}
|
11079
11309
|
]
|
11080
11310
|
},
|
11081
|
-
{
|
11082
|
-
"name": "van-tabbar",
|
11083
|
-
"slots": [],
|
11084
|
-
"events": [
|
11085
|
-
{
|
11086
|
-
"name": "change",
|
11087
|
-
"description": "Emitted when changing active tab",
|
11088
|
-
"arguments": [
|
11089
|
-
{
|
11090
|
-
"name": "active",
|
11091
|
-
"type": "number | string"
|
11092
|
-
}
|
11093
|
-
]
|
11094
|
-
}
|
11095
|
-
],
|
11096
|
-
"attributes": [
|
11097
|
-
{
|
11098
|
-
"name": "v-model",
|
11099
|
-
"default": "`0`",
|
11100
|
-
"description": "Identifier of current tab",
|
11101
|
-
"options": [],
|
11102
|
-
"value": {
|
11103
|
-
"type": "number | string",
|
11104
|
-
"kind": "expression"
|
11105
|
-
}
|
11106
|
-
},
|
11107
|
-
{
|
11108
|
-
"name": "fixed",
|
11109
|
-
"default": "`true`",
|
11110
|
-
"description": "Whether to fixed bottom",
|
11111
|
-
"options": [],
|
11112
|
-
"value": {
|
11113
|
-
"type": "boolean",
|
11114
|
-
"kind": "expression"
|
11115
|
-
}
|
11116
|
-
},
|
11117
|
-
{
|
11118
|
-
"name": "border",
|
11119
|
-
"default": "`true`",
|
11120
|
-
"description": "Whether to show border",
|
11121
|
-
"options": [],
|
11122
|
-
"value": {
|
11123
|
-
"type": "boolean",
|
11124
|
-
"kind": "expression"
|
11125
|
-
}
|
11126
|
-
},
|
11127
|
-
{
|
11128
|
-
"name": "z-index",
|
11129
|
-
"default": "`1`",
|
11130
|
-
"description": "Z-index",
|
11131
|
-
"options": [],
|
11132
|
-
"value": {
|
11133
|
-
"type": "number | string",
|
11134
|
-
"kind": "expression"
|
11135
|
-
}
|
11136
|
-
},
|
11137
|
-
{
|
11138
|
-
"name": "active-color",
|
11139
|
-
"default": "`#1989fa`",
|
11140
|
-
"description": "Color of active tab item",
|
11141
|
-
"options": [],
|
11142
|
-
"value": {
|
11143
|
-
"type": "string",
|
11144
|
-
"kind": "expression"
|
11145
|
-
}
|
11146
|
-
},
|
11147
|
-
{
|
11148
|
-
"name": "inactive-color",
|
11149
|
-
"default": "`#7d7e80`",
|
11150
|
-
"description": "Color of inactive tab item",
|
11151
|
-
"options": [],
|
11152
|
-
"value": {
|
11153
|
-
"type": "string",
|
11154
|
-
"kind": "expression"
|
11155
|
-
}
|
11156
|
-
},
|
11157
|
-
{
|
11158
|
-
"name": "route",
|
11159
|
-
"default": "`false`",
|
11160
|
-
"description": "Whether to enable route mode",
|
11161
|
-
"options": [],
|
11162
|
-
"value": {
|
11163
|
-
"type": "boolean",
|
11164
|
-
"kind": "expression"
|
11165
|
-
}
|
11166
|
-
},
|
11167
|
-
{
|
11168
|
-
"name": "placeholder",
|
11169
|
-
"default": "`false`",
|
11170
|
-
"description": "Whether to generate a placeholder element when fixed",
|
11171
|
-
"options": [],
|
11172
|
-
"value": {
|
11173
|
-
"type": "boolean",
|
11174
|
-
"kind": "expression"
|
11175
|
-
}
|
11176
|
-
},
|
11177
|
-
{
|
11178
|
-
"name": "safe-area-inset-bottom",
|
11179
|
-
"default": "`false`",
|
11180
|
-
"description": "Whether to enable bottom safe area adaptation",
|
11181
|
-
"options": [],
|
11182
|
-
"value": {
|
11183
|
-
"type": "boolean",
|
11184
|
-
"kind": "expression"
|
11185
|
-
}
|
11186
|
-
},
|
11187
|
-
{
|
11188
|
-
"name": "before-change",
|
11189
|
-
"default": "-",
|
11190
|
-
"description": "Callback function before changing tab, return `false` to prevent change, support return Promise",
|
11191
|
-
"options": [],
|
11192
|
-
"value": {
|
11193
|
-
"type": "(name: number | string) => boolean | Promise\\<boolean\\>",
|
11194
|
-
"kind": "expression"
|
11195
|
-
}
|
11196
|
-
}
|
11197
|
-
]
|
11198
|
-
},
|
11199
|
-
{
|
11200
|
-
"name": "van-tabbar-item",
|
11201
|
-
"slots": [
|
11202
|
-
{
|
11203
|
-
"name": "icon",
|
11204
|
-
"description": "Custom icon"
|
11205
|
-
}
|
11206
|
-
],
|
11207
|
-
"events": [],
|
11208
|
-
"attributes": [
|
11209
|
-
{
|
11210
|
-
"name": "name",
|
11211
|
-
"default": "Item index",
|
11212
|
-
"description": "Identifier",
|
11213
|
-
"options": [],
|
11214
|
-
"value": {
|
11215
|
-
"type": "number | string",
|
11216
|
-
"kind": "expression"
|
11217
|
-
}
|
11218
|
-
},
|
11219
|
-
{
|
11220
|
-
"name": "icon",
|
11221
|
-
"default": "-",
|
11222
|
-
"description": "Icon name",
|
11223
|
-
"options": [],
|
11224
|
-
"value": {
|
11225
|
-
"type": "string",
|
11226
|
-
"kind": "expression"
|
11227
|
-
}
|
11228
|
-
},
|
11229
|
-
{
|
11230
|
-
"name": "icon-prefix",
|
11231
|
-
"default": "`van-icon`",
|
11232
|
-
"description": "Icon className prefix",
|
11233
|
-
"options": [],
|
11234
|
-
"value": {
|
11235
|
-
"type": "string",
|
11236
|
-
"kind": "expression"
|
11237
|
-
}
|
11238
|
-
},
|
11239
|
-
{
|
11240
|
-
"name": "dot",
|
11241
|
-
"default": "-",
|
11242
|
-
"description": "Whether to show red dot",
|
11243
|
-
"options": [],
|
11244
|
-
"value": {
|
11245
|
-
"type": "boolean",
|
11246
|
-
"kind": "expression"
|
11247
|
-
}
|
11248
|
-
},
|
11249
|
-
{
|
11250
|
-
"name": "badge",
|
11251
|
-
"default": "`''`",
|
11252
|
-
"description": "Content of the badge",
|
11253
|
-
"options": [],
|
11254
|
-
"value": {
|
11255
|
-
"type": "number | string",
|
11256
|
-
"kind": "expression"
|
11257
|
-
}
|
11258
|
-
},
|
11259
|
-
{
|
11260
|
-
"name": "badge-props",
|
11261
|
-
"default": "-",
|
11262
|
-
"description": "Props of Badge, see [Badge - props](#/en-US/badge#props)",
|
11263
|
-
"options": [],
|
11264
|
-
"value": {
|
11265
|
-
"type": "BadgeProps",
|
11266
|
-
"kind": "expression"
|
11267
|
-
}
|
11268
|
-
},
|
11269
|
-
{
|
11270
|
-
"name": "url",
|
11271
|
-
"default": "-",
|
11272
|
-
"description": "Link",
|
11273
|
-
"options": [],
|
11274
|
-
"value": {
|
11275
|
-
"type": "string",
|
11276
|
-
"kind": "expression"
|
11277
|
-
}
|
11278
|
-
},
|
11279
|
-
{
|
11280
|
-
"name": "to",
|
11281
|
-
"default": "-",
|
11282
|
-
"description": "Target route of the link, same as to of vue-router",
|
11283
|
-
"options": [],
|
11284
|
-
"value": {
|
11285
|
-
"type": "string | object",
|
11286
|
-
"kind": "expression"
|
11287
|
-
}
|
11288
|
-
},
|
11289
|
-
{
|
11290
|
-
"name": "replace",
|
11291
|
-
"default": "`false`",
|
11292
|
-
"description": "If true, the navigation will not leave a history record",
|
11293
|
-
"options": [],
|
11294
|
-
"value": {
|
11295
|
-
"type": "boolean",
|
11296
|
-
"kind": "expression"
|
11297
|
-
}
|
11298
|
-
}
|
11299
|
-
]
|
11300
|
-
},
|
11301
11311
|
{
|
11302
11312
|
"name": "van-tag",
|
11303
11313
|
"slots": [
|