vant 4.9.6 → 4.9.7
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/es/dropdown-item/DropdownItem.mjs +1 -0
- package/es/dropdown-menu/DropdownMenu.mjs +1 -0
- package/es/empty/Empty.mjs +39 -18
- package/es/field/Field.mjs +2 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/search/Search.mjs +2 -1
- package/es/tab/Tab.mjs +4 -2
- package/es/tab/TabTitle.mjs +2 -1
- package/lib/dropdown-item/DropdownItem.js +1 -0
- package/lib/dropdown-menu/DropdownMenu.js +1 -0
- package/lib/empty/Empty.js +39 -18
- package/lib/field/Field.js +2 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/search/Search.js +2 -1
- package/lib/tab/Tab.js +4 -2
- package/lib/tab/TabTitle.js +2 -1
- package/lib/vant.cjs.js +52 -23
- package/lib/vant.es.js +52 -23
- package/lib/vant.js +52 -23
- package/lib/vant.min.js +2 -2
- package/lib/web-types.json +1 -1
- package/package.json +6 -6
package/lib/vant.cjs.js
CHANGED
@@ -3056,7 +3056,8 @@ const TabTitle = vue.defineComponent({
|
|
3056
3056
|
"tabindex": props2.disabled ? void 0 : props2.isActive ? 0 : -1,
|
3057
3057
|
"aria-selected": props2.isActive,
|
3058
3058
|
"aria-disabled": props2.disabled || void 0,
|
3059
|
-
"aria-controls": props2.controls
|
3059
|
+
"aria-controls": props2.controls,
|
3060
|
+
"data-allow-mismatch": "attribute"
|
3060
3061
|
}, [renderText()]);
|
3061
3062
|
}
|
3062
3063
|
});
|
@@ -3249,7 +3250,8 @@ var stdin_default$1B = vue.defineComponent({
|
|
3249
3250
|
}),
|
3250
3251
|
"tabindex": active.value ? 0 : -1,
|
3251
3252
|
"aria-hidden": !active.value,
|
3252
|
-
"aria-labelledby": label
|
3253
|
+
"aria-labelledby": label,
|
3254
|
+
"data-allow-mismatch": "attribute"
|
3253
3255
|
}, {
|
3254
3256
|
default: () => {
|
3255
3257
|
var _a2;
|
@@ -3266,7 +3268,8 @@ var stdin_default$1B = vue.defineComponent({
|
|
3266
3268
|
"role": "tabpanel",
|
3267
3269
|
"class": bem$1m("panel"),
|
3268
3270
|
"tabindex": show ? 0 : -1,
|
3269
|
-
"aria-labelledby": label
|
3271
|
+
"aria-labelledby": label,
|
3272
|
+
"data-allow-mismatch": "attribute"
|
3270
3273
|
}, [Content]), [[vue.vShow, show]]);
|
3271
3274
|
};
|
3272
3275
|
}
|
@@ -4435,6 +4438,7 @@ var stdin_default$1v = vue.defineComponent({
|
|
4435
4438
|
enterkeyhint: props2.enterkeyhint,
|
4436
4439
|
spellcheck: props2.spellcheck,
|
4437
4440
|
"aria-labelledby": props2.label ? `${id}-label` : void 0,
|
4441
|
+
"data-allow-mismatch": "attribute",
|
4438
4442
|
onBlur,
|
4439
4443
|
onFocus,
|
4440
4444
|
onInput,
|
@@ -4509,6 +4513,7 @@ var stdin_default$1v = vue.defineComponent({
|
|
4509
4513
|
return vue.createVNode("label", {
|
4510
4514
|
"id": `${id}-label`,
|
4511
4515
|
"for": slots.input ? void 0 : getInputId(),
|
4516
|
+
"data-allow-mismatch": "attribute",
|
4512
4517
|
"onClick": (event) => {
|
4513
4518
|
preventDefault(event);
|
4514
4519
|
focus();
|
@@ -8875,22 +8880,26 @@ var stdin_default$Z = vue.defineComponent({
|
|
8875
8880
|
"fx": "50%",
|
8876
8881
|
"fy": "54%",
|
8877
8882
|
"r": "297%",
|
8878
|
-
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)"
|
8883
|
+
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)",
|
8884
|
+
"data-allow-mismatch": "attribute"
|
8879
8885
|
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), vue.createVNode("ellipse", {
|
8880
8886
|
"fill": getUrlById(id),
|
8881
8887
|
"opacity": ".8",
|
8882
8888
|
"cx": "80",
|
8883
8889
|
"cy": "140",
|
8884
8890
|
"rx": "46",
|
8885
|
-
"ry": "8"
|
8891
|
+
"ry": "8",
|
8892
|
+
"data-allow-mismatch": "attribute"
|
8886
8893
|
}, null)];
|
8887
8894
|
const renderBuilding = () => [vue.createVNode("defs", null, [vue.createVNode("linearGradient", {
|
8888
8895
|
"id": getId("a"),
|
8889
8896
|
"x1": "64%",
|
8890
8897
|
"y1": "100%",
|
8891
|
-
"x2": "64%"
|
8898
|
+
"x2": "64%",
|
8899
|
+
"data-allow-mismatch": "attribute"
|
8892
8900
|
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), vue.createVNode("g", {
|
8893
|
-
"opacity": ".8"
|
8901
|
+
"opacity": ".8",
|
8902
|
+
"data-allow-mismatch": "children"
|
8894
8903
|
}, [vue.createVNode("path", {
|
8895
8904
|
"d": "M36 131V53H16v20H2v58h34z",
|
8896
8905
|
"fill": getUrlById("a")
|
@@ -8903,9 +8912,11 @@ var stdin_default$Z = vue.defineComponent({
|
|
8903
8912
|
"x1": "64%",
|
8904
8913
|
"y1": "97%",
|
8905
8914
|
"x2": "64%",
|
8906
|
-
"y2": "0%"
|
8915
|
+
"y2": "0%",
|
8916
|
+
"data-allow-mismatch": "attribute"
|
8907
8917
|
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), vue.createVNode("g", {
|
8908
|
-
"opacity": ".8"
|
8918
|
+
"opacity": ".8",
|
8919
|
+
"data-allow-mismatch": "children"
|
8909
8920
|
}, [vue.createVNode("path", {
|
8910
8921
|
"d": "M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",
|
8911
8922
|
"fill": getUrlById("b")
|
@@ -8915,7 +8926,9 @@ var stdin_default$Z = vue.defineComponent({
|
|
8915
8926
|
}, null)])];
|
8916
8927
|
const renderNetwork = () => vue.createVNode("svg", {
|
8917
8928
|
"viewBox": "0 0 160 160"
|
8918
|
-
}, [vue.createVNode("defs",
|
8929
|
+
}, [vue.createVNode("defs", {
|
8930
|
+
"data-allow-mismatch": "children"
|
8931
|
+
}, [vue.createVNode("linearGradient", {
|
8919
8932
|
"id": getId(1),
|
8920
8933
|
"x1": "64%",
|
8921
8934
|
"y1": "100%",
|
@@ -8942,14 +8955,17 @@ var stdin_default$Z = vue.defineComponent({
|
|
8942
8955
|
"fill": "none"
|
8943
8956
|
}, [renderBuilding(), vue.createVNode("path", {
|
8944
8957
|
"fill": getUrlById(4),
|
8945
|
-
"d": "M0 139h160v21H0z"
|
8958
|
+
"d": "M0 139h160v21H0z",
|
8959
|
+
"data-allow-mismatch": "attribute"
|
8946
8960
|
}, null), vue.createVNode("path", {
|
8947
8961
|
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
8948
|
-
"fill": getUrlById(2)
|
8962
|
+
"fill": getUrlById(2),
|
8963
|
+
"data-allow-mismatch": "attribute"
|
8949
8964
|
}, null), vue.createVNode("g", {
|
8950
8965
|
"opacity": ".6",
|
8951
8966
|
"stroke-linecap": "round",
|
8952
|
-
"stroke-width": "7"
|
8967
|
+
"stroke-width": "7",
|
8968
|
+
"data-allow-mismatch": "children"
|
8953
8969
|
}, [vue.createVNode("path", {
|
8954
8970
|
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
8955
8971
|
"stroke": getUrlById(3)
|
@@ -8986,7 +9002,9 @@ var stdin_default$Z = vue.defineComponent({
|
|
8986
9002
|
}, null)])])]);
|
8987
9003
|
const renderMaterial = () => vue.createVNode("svg", {
|
8988
9004
|
"viewBox": "0 0 160 160"
|
8989
|
-
}, [vue.createVNode("defs",
|
9005
|
+
}, [vue.createVNode("defs", {
|
9006
|
+
"data-allow-mismatch": "children"
|
9007
|
+
}, [vue.createVNode("linearGradient", {
|
8990
9008
|
"x1": "50%",
|
8991
9009
|
"x2": "50%",
|
8992
9010
|
"y2": "100%",
|
@@ -9019,7 +9037,8 @@ var stdin_default$Z = vue.defineComponent({
|
|
9019
9037
|
"fill": getUrlById(5),
|
9020
9038
|
"width": "64",
|
9021
9039
|
"height": "66",
|
9022
|
-
"rx": "2"
|
9040
|
+
"rx": "2",
|
9041
|
+
"data-allow-mismatch": "attribute"
|
9023
9042
|
}, null), vue.createVNode("rect", {
|
9024
9043
|
"fill": "#FFF",
|
9025
9044
|
"x": "6",
|
@@ -9029,7 +9048,8 @@ var stdin_default$Z = vue.defineComponent({
|
|
9029
9048
|
"rx": "1"
|
9030
9049
|
}, null), vue.createVNode("g", {
|
9031
9050
|
"transform": "translate(15 17)",
|
9032
|
-
"fill": getUrlById(6)
|
9051
|
+
"fill": getUrlById(6),
|
9052
|
+
"data-allow-mismatch": "attribute"
|
9033
9053
|
}, [vue.createVNode("rect", {
|
9034
9054
|
"width": "34",
|
9035
9055
|
"height": "6",
|
@@ -9046,7 +9066,8 @@ var stdin_default$Z = vue.defineComponent({
|
|
9046
9066
|
"y": "61",
|
9047
9067
|
"width": "88",
|
9048
9068
|
"height": "28",
|
9049
|
-
"rx": "1"
|
9069
|
+
"rx": "1",
|
9070
|
+
"data-allow-mismatch": "attribute"
|
9050
9071
|
}, null), vue.createVNode("rect", {
|
9051
9072
|
"fill": "#F7F8FA",
|
9052
9073
|
"x": "29",
|
@@ -9061,14 +9082,18 @@ var stdin_default$Z = vue.defineComponent({
|
|
9061
9082
|
"x1": "50%",
|
9062
9083
|
"x2": "50%",
|
9063
9084
|
"y2": "100%",
|
9064
|
-
"id": getId(8)
|
9085
|
+
"id": getId(8),
|
9086
|
+
"data-allow-mismatch": "attribute"
|
9065
9087
|
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), vue.createVNode("path", {
|
9066
9088
|
"d": "m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",
|
9067
|
-
"fill": getUrlById(8)
|
9089
|
+
"fill": getUrlById(8),
|
9090
|
+
"data-allow-mismatch": "attribute"
|
9068
9091
|
}, null)]);
|
9069
9092
|
const renderSearch = () => vue.createVNode("svg", {
|
9070
9093
|
"viewBox": "0 0 160 160"
|
9071
|
-
}, [vue.createVNode("defs",
|
9094
|
+
}, [vue.createVNode("defs", {
|
9095
|
+
"data-allow-mismatch": "children"
|
9096
|
+
}, [vue.createVNode("linearGradient", {
|
9072
9097
|
"x1": "50%",
|
9073
9098
|
"y1": "100%",
|
9074
9099
|
"x2": "50%",
|
@@ -9090,7 +9115,8 @@ var stdin_default$Z = vue.defineComponent({
|
|
9090
9115
|
"id": getId(12)
|
9091
9116
|
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), vue.createVNode("g", {
|
9092
9117
|
"transform": "rotate(-45 113 -4)",
|
9093
|
-
"fill": "none"
|
9118
|
+
"fill": "none",
|
9119
|
+
"data-allow-mismatch": "children"
|
9094
9120
|
}, [vue.createVNode("rect", {
|
9095
9121
|
"fill": getUrlById(9),
|
9096
9122
|
"x": "24",
|
@@ -9849,6 +9875,7 @@ var stdin_default$U = vue.defineComponent({
|
|
9849
9875
|
"id": `${id}-${index}`,
|
9850
9876
|
"role": "button",
|
9851
9877
|
"tabindex": disabled ? void 0 : 0,
|
9878
|
+
"data-allow-mismatch": "attribute",
|
9852
9879
|
"class": [bem$L("item", {
|
9853
9880
|
disabled,
|
9854
9881
|
grow: scrollable.value
|
@@ -10061,6 +10088,7 @@ var stdin_default$T = vue.defineComponent({
|
|
10061
10088
|
position: "absolute"
|
10062
10089
|
},
|
10063
10090
|
"aria-labelledby": `${parent.id}-${index.value}`,
|
10091
|
+
"data-allow-mismatch": "attribute",
|
10064
10092
|
"closeOnClickOverlay": closeOnClickOverlay,
|
10065
10093
|
"onOpen": onOpen,
|
10066
10094
|
"onClose": onClose,
|
@@ -13396,7 +13424,8 @@ var stdin_default$v = vue.defineComponent({
|
|
13396
13424
|
if (slots.label || props2.label) {
|
13397
13425
|
return vue.createVNode("label", {
|
13398
13426
|
"class": bem$m("label"),
|
13399
|
-
"for": getInputId()
|
13427
|
+
"for": getInputId(),
|
13428
|
+
"data-allow-mismatch": "attribute"
|
13400
13429
|
}, [slots.label ? slots.label() : props2.label]);
|
13401
13430
|
}
|
13402
13431
|
};
|
@@ -17026,7 +17055,7 @@ const Lazyload = {
|
|
17026
17055
|
});
|
17027
17056
|
}
|
17028
17057
|
};
|
17029
|
-
const version = "4.9.
|
17058
|
+
const version = "4.9.7";
|
17030
17059
|
function install(app) {
|
17031
17060
|
const components = [
|
17032
17061
|
ActionBar,
|
package/lib/vant.es.js
CHANGED
@@ -3054,7 +3054,8 @@ const TabTitle = defineComponent({
|
|
3054
3054
|
"tabindex": props2.disabled ? void 0 : props2.isActive ? 0 : -1,
|
3055
3055
|
"aria-selected": props2.isActive,
|
3056
3056
|
"aria-disabled": props2.disabled || void 0,
|
3057
|
-
"aria-controls": props2.controls
|
3057
|
+
"aria-controls": props2.controls,
|
3058
|
+
"data-allow-mismatch": "attribute"
|
3058
3059
|
}, [renderText()]);
|
3059
3060
|
}
|
3060
3061
|
});
|
@@ -3247,7 +3248,8 @@ var stdin_default$1B = defineComponent({
|
|
3247
3248
|
}),
|
3248
3249
|
"tabindex": active.value ? 0 : -1,
|
3249
3250
|
"aria-hidden": !active.value,
|
3250
|
-
"aria-labelledby": label
|
3251
|
+
"aria-labelledby": label,
|
3252
|
+
"data-allow-mismatch": "attribute"
|
3251
3253
|
}, {
|
3252
3254
|
default: () => {
|
3253
3255
|
var _a2;
|
@@ -3264,7 +3266,8 @@ var stdin_default$1B = defineComponent({
|
|
3264
3266
|
"role": "tabpanel",
|
3265
3267
|
"class": bem$1m("panel"),
|
3266
3268
|
"tabindex": show ? 0 : -1,
|
3267
|
-
"aria-labelledby": label
|
3269
|
+
"aria-labelledby": label,
|
3270
|
+
"data-allow-mismatch": "attribute"
|
3268
3271
|
}, [Content]), [[vShow, show]]);
|
3269
3272
|
};
|
3270
3273
|
}
|
@@ -4433,6 +4436,7 @@ var stdin_default$1v = defineComponent({
|
|
4433
4436
|
enterkeyhint: props2.enterkeyhint,
|
4434
4437
|
spellcheck: props2.spellcheck,
|
4435
4438
|
"aria-labelledby": props2.label ? `${id}-label` : void 0,
|
4439
|
+
"data-allow-mismatch": "attribute",
|
4436
4440
|
onBlur,
|
4437
4441
|
onFocus,
|
4438
4442
|
onInput,
|
@@ -4507,6 +4511,7 @@ var stdin_default$1v = defineComponent({
|
|
4507
4511
|
return createVNode("label", {
|
4508
4512
|
"id": `${id}-label`,
|
4509
4513
|
"for": slots.input ? void 0 : getInputId(),
|
4514
|
+
"data-allow-mismatch": "attribute",
|
4510
4515
|
"onClick": (event) => {
|
4511
4516
|
preventDefault(event);
|
4512
4517
|
focus();
|
@@ -8873,22 +8878,26 @@ var stdin_default$Z = defineComponent({
|
|
8873
8878
|
"fx": "50%",
|
8874
8879
|
"fy": "54%",
|
8875
8880
|
"r": "297%",
|
8876
|
-
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)"
|
8881
|
+
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)",
|
8882
|
+
"data-allow-mismatch": "attribute"
|
8877
8883
|
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), createVNode("ellipse", {
|
8878
8884
|
"fill": getUrlById(id),
|
8879
8885
|
"opacity": ".8",
|
8880
8886
|
"cx": "80",
|
8881
8887
|
"cy": "140",
|
8882
8888
|
"rx": "46",
|
8883
|
-
"ry": "8"
|
8889
|
+
"ry": "8",
|
8890
|
+
"data-allow-mismatch": "attribute"
|
8884
8891
|
}, null)];
|
8885
8892
|
const renderBuilding = () => [createVNode("defs", null, [createVNode("linearGradient", {
|
8886
8893
|
"id": getId("a"),
|
8887
8894
|
"x1": "64%",
|
8888
8895
|
"y1": "100%",
|
8889
|
-
"x2": "64%"
|
8896
|
+
"x2": "64%",
|
8897
|
+
"data-allow-mismatch": "attribute"
|
8890
8898
|
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), createVNode("g", {
|
8891
|
-
"opacity": ".8"
|
8899
|
+
"opacity": ".8",
|
8900
|
+
"data-allow-mismatch": "children"
|
8892
8901
|
}, [createVNode("path", {
|
8893
8902
|
"d": "M36 131V53H16v20H2v58h34z",
|
8894
8903
|
"fill": getUrlById("a")
|
@@ -8901,9 +8910,11 @@ var stdin_default$Z = defineComponent({
|
|
8901
8910
|
"x1": "64%",
|
8902
8911
|
"y1": "97%",
|
8903
8912
|
"x2": "64%",
|
8904
|
-
"y2": "0%"
|
8913
|
+
"y2": "0%",
|
8914
|
+
"data-allow-mismatch": "attribute"
|
8905
8915
|
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), createVNode("g", {
|
8906
|
-
"opacity": ".8"
|
8916
|
+
"opacity": ".8",
|
8917
|
+
"data-allow-mismatch": "children"
|
8907
8918
|
}, [createVNode("path", {
|
8908
8919
|
"d": "M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",
|
8909
8920
|
"fill": getUrlById("b")
|
@@ -8913,7 +8924,9 @@ var stdin_default$Z = defineComponent({
|
|
8913
8924
|
}, null)])];
|
8914
8925
|
const renderNetwork = () => createVNode("svg", {
|
8915
8926
|
"viewBox": "0 0 160 160"
|
8916
|
-
}, [createVNode("defs",
|
8927
|
+
}, [createVNode("defs", {
|
8928
|
+
"data-allow-mismatch": "children"
|
8929
|
+
}, [createVNode("linearGradient", {
|
8917
8930
|
"id": getId(1),
|
8918
8931
|
"x1": "64%",
|
8919
8932
|
"y1": "100%",
|
@@ -8940,14 +8953,17 @@ var stdin_default$Z = defineComponent({
|
|
8940
8953
|
"fill": "none"
|
8941
8954
|
}, [renderBuilding(), createVNode("path", {
|
8942
8955
|
"fill": getUrlById(4),
|
8943
|
-
"d": "M0 139h160v21H0z"
|
8956
|
+
"d": "M0 139h160v21H0z",
|
8957
|
+
"data-allow-mismatch": "attribute"
|
8944
8958
|
}, null), createVNode("path", {
|
8945
8959
|
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
8946
|
-
"fill": getUrlById(2)
|
8960
|
+
"fill": getUrlById(2),
|
8961
|
+
"data-allow-mismatch": "attribute"
|
8947
8962
|
}, null), createVNode("g", {
|
8948
8963
|
"opacity": ".6",
|
8949
8964
|
"stroke-linecap": "round",
|
8950
|
-
"stroke-width": "7"
|
8965
|
+
"stroke-width": "7",
|
8966
|
+
"data-allow-mismatch": "children"
|
8951
8967
|
}, [createVNode("path", {
|
8952
8968
|
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
8953
8969
|
"stroke": getUrlById(3)
|
@@ -8984,7 +9000,9 @@ var stdin_default$Z = defineComponent({
|
|
8984
9000
|
}, null)])])]);
|
8985
9001
|
const renderMaterial = () => createVNode("svg", {
|
8986
9002
|
"viewBox": "0 0 160 160"
|
8987
|
-
}, [createVNode("defs",
|
9003
|
+
}, [createVNode("defs", {
|
9004
|
+
"data-allow-mismatch": "children"
|
9005
|
+
}, [createVNode("linearGradient", {
|
8988
9006
|
"x1": "50%",
|
8989
9007
|
"x2": "50%",
|
8990
9008
|
"y2": "100%",
|
@@ -9017,7 +9035,8 @@ var stdin_default$Z = defineComponent({
|
|
9017
9035
|
"fill": getUrlById(5),
|
9018
9036
|
"width": "64",
|
9019
9037
|
"height": "66",
|
9020
|
-
"rx": "2"
|
9038
|
+
"rx": "2",
|
9039
|
+
"data-allow-mismatch": "attribute"
|
9021
9040
|
}, null), createVNode("rect", {
|
9022
9041
|
"fill": "#FFF",
|
9023
9042
|
"x": "6",
|
@@ -9027,7 +9046,8 @@ var stdin_default$Z = defineComponent({
|
|
9027
9046
|
"rx": "1"
|
9028
9047
|
}, null), createVNode("g", {
|
9029
9048
|
"transform": "translate(15 17)",
|
9030
|
-
"fill": getUrlById(6)
|
9049
|
+
"fill": getUrlById(6),
|
9050
|
+
"data-allow-mismatch": "attribute"
|
9031
9051
|
}, [createVNode("rect", {
|
9032
9052
|
"width": "34",
|
9033
9053
|
"height": "6",
|
@@ -9044,7 +9064,8 @@ var stdin_default$Z = defineComponent({
|
|
9044
9064
|
"y": "61",
|
9045
9065
|
"width": "88",
|
9046
9066
|
"height": "28",
|
9047
|
-
"rx": "1"
|
9067
|
+
"rx": "1",
|
9068
|
+
"data-allow-mismatch": "attribute"
|
9048
9069
|
}, null), createVNode("rect", {
|
9049
9070
|
"fill": "#F7F8FA",
|
9050
9071
|
"x": "29",
|
@@ -9059,14 +9080,18 @@ var stdin_default$Z = defineComponent({
|
|
9059
9080
|
"x1": "50%",
|
9060
9081
|
"x2": "50%",
|
9061
9082
|
"y2": "100%",
|
9062
|
-
"id": getId(8)
|
9083
|
+
"id": getId(8),
|
9084
|
+
"data-allow-mismatch": "attribute"
|
9063
9085
|
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), createVNode("path", {
|
9064
9086
|
"d": "m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",
|
9065
|
-
"fill": getUrlById(8)
|
9087
|
+
"fill": getUrlById(8),
|
9088
|
+
"data-allow-mismatch": "attribute"
|
9066
9089
|
}, null)]);
|
9067
9090
|
const renderSearch = () => createVNode("svg", {
|
9068
9091
|
"viewBox": "0 0 160 160"
|
9069
|
-
}, [createVNode("defs",
|
9092
|
+
}, [createVNode("defs", {
|
9093
|
+
"data-allow-mismatch": "children"
|
9094
|
+
}, [createVNode("linearGradient", {
|
9070
9095
|
"x1": "50%",
|
9071
9096
|
"y1": "100%",
|
9072
9097
|
"x2": "50%",
|
@@ -9088,7 +9113,8 @@ var stdin_default$Z = defineComponent({
|
|
9088
9113
|
"id": getId(12)
|
9089
9114
|
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), createVNode("g", {
|
9090
9115
|
"transform": "rotate(-45 113 -4)",
|
9091
|
-
"fill": "none"
|
9116
|
+
"fill": "none",
|
9117
|
+
"data-allow-mismatch": "children"
|
9092
9118
|
}, [createVNode("rect", {
|
9093
9119
|
"fill": getUrlById(9),
|
9094
9120
|
"x": "24",
|
@@ -9847,6 +9873,7 @@ var stdin_default$U = defineComponent({
|
|
9847
9873
|
"id": `${id}-${index}`,
|
9848
9874
|
"role": "button",
|
9849
9875
|
"tabindex": disabled ? void 0 : 0,
|
9876
|
+
"data-allow-mismatch": "attribute",
|
9850
9877
|
"class": [bem$L("item", {
|
9851
9878
|
disabled,
|
9852
9879
|
grow: scrollable.value
|
@@ -10059,6 +10086,7 @@ var stdin_default$T = defineComponent({
|
|
10059
10086
|
position: "absolute"
|
10060
10087
|
},
|
10061
10088
|
"aria-labelledby": `${parent.id}-${index.value}`,
|
10089
|
+
"data-allow-mismatch": "attribute",
|
10062
10090
|
"closeOnClickOverlay": closeOnClickOverlay,
|
10063
10091
|
"onOpen": onOpen,
|
10064
10092
|
"onClose": onClose,
|
@@ -13394,7 +13422,8 @@ var stdin_default$v = defineComponent({
|
|
13394
13422
|
if (slots.label || props2.label) {
|
13395
13423
|
return createVNode("label", {
|
13396
13424
|
"class": bem$m("label"),
|
13397
|
-
"for": getInputId()
|
13425
|
+
"for": getInputId(),
|
13426
|
+
"data-allow-mismatch": "attribute"
|
13398
13427
|
}, [slots.label ? slots.label() : props2.label]);
|
13399
13428
|
}
|
13400
13429
|
};
|
@@ -17024,7 +17053,7 @@ const Lazyload = {
|
|
17024
17053
|
});
|
17025
17054
|
}
|
17026
17055
|
};
|
17027
|
-
const version = "4.9.
|
17056
|
+
const version = "4.9.7";
|
17028
17057
|
function install(app) {
|
17029
17058
|
const components = [
|
17030
17059
|
ActionBar,
|
package/lib/vant.js
CHANGED
@@ -3524,7 +3524,8 @@
|
|
3524
3524
|
"tabindex": props2.disabled ? void 0 : props2.isActive ? 0 : -1,
|
3525
3525
|
"aria-selected": props2.isActive,
|
3526
3526
|
"aria-disabled": props2.disabled || void 0,
|
3527
|
-
"aria-controls": props2.controls
|
3527
|
+
"aria-controls": props2.controls,
|
3528
|
+
"data-allow-mismatch": "attribute"
|
3528
3529
|
}, [renderText()]);
|
3529
3530
|
}
|
3530
3531
|
});
|
@@ -3711,7 +3712,8 @@
|
|
3711
3712
|
}),
|
3712
3713
|
"tabindex": active.value ? 0 : -1,
|
3713
3714
|
"aria-hidden": !active.value,
|
3714
|
-
"aria-labelledby": label
|
3715
|
+
"aria-labelledby": label,
|
3716
|
+
"data-allow-mismatch": "attribute"
|
3715
3717
|
}, {
|
3716
3718
|
default: () => {
|
3717
3719
|
var _a2;
|
@@ -3728,7 +3730,8 @@
|
|
3728
3730
|
"role": "tabpanel",
|
3729
3731
|
"class": bem$1m("panel"),
|
3730
3732
|
"tabindex": show ? 0 : -1,
|
3731
|
-
"aria-labelledby": label
|
3733
|
+
"aria-labelledby": label,
|
3734
|
+
"data-allow-mismatch": "attribute"
|
3732
3735
|
}, [Content]), [[vue.vShow, show]]);
|
3733
3736
|
};
|
3734
3737
|
}
|
@@ -4897,6 +4900,7 @@
|
|
4897
4900
|
enterkeyhint: props2.enterkeyhint,
|
4898
4901
|
spellcheck: props2.spellcheck,
|
4899
4902
|
"aria-labelledby": props2.label ? `${id}-label` : void 0,
|
4903
|
+
"data-allow-mismatch": "attribute",
|
4900
4904
|
onBlur,
|
4901
4905
|
onFocus,
|
4902
4906
|
onInput,
|
@@ -4971,6 +4975,7 @@
|
|
4971
4975
|
return vue.createVNode("label", {
|
4972
4976
|
"id": `${id}-label`,
|
4973
4977
|
"for": slots.input ? void 0 : getInputId(),
|
4978
|
+
"data-allow-mismatch": "attribute",
|
4974
4979
|
"onClick": (event) => {
|
4975
4980
|
preventDefault(event);
|
4976
4981
|
focus();
|
@@ -9317,22 +9322,26 @@
|
|
9317
9322
|
"fx": "50%",
|
9318
9323
|
"fy": "54%",
|
9319
9324
|
"r": "297%",
|
9320
|
-
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)"
|
9325
|
+
"gradientTransform": "matrix(-.16 0 0 -.33 .58 .72)",
|
9326
|
+
"data-allow-mismatch": "attribute"
|
9321
9327
|
}, [renderStop("#EBEDF0", 0), renderStop("#F2F3F5", 100, 0.3)])]), vue.createVNode("ellipse", {
|
9322
9328
|
"fill": getUrlById(id),
|
9323
9329
|
"opacity": ".8",
|
9324
9330
|
"cx": "80",
|
9325
9331
|
"cy": "140",
|
9326
9332
|
"rx": "46",
|
9327
|
-
"ry": "8"
|
9333
|
+
"ry": "8",
|
9334
|
+
"data-allow-mismatch": "attribute"
|
9328
9335
|
}, null)];
|
9329
9336
|
const renderBuilding = () => [vue.createVNode("defs", null, [vue.createVNode("linearGradient", {
|
9330
9337
|
"id": getId("a"),
|
9331
9338
|
"x1": "64%",
|
9332
9339
|
"y1": "100%",
|
9333
|
-
"x2": "64%"
|
9340
|
+
"x2": "64%",
|
9341
|
+
"data-allow-mismatch": "attribute"
|
9334
9342
|
}, [renderStop("#FFF", 0, 0.5), renderStop("#F2F3F5", 100)])]), vue.createVNode("g", {
|
9335
|
-
"opacity": ".8"
|
9343
|
+
"opacity": ".8",
|
9344
|
+
"data-allow-mismatch": "children"
|
9336
9345
|
}, [vue.createVNode("path", {
|
9337
9346
|
"d": "M36 131V53H16v20H2v58h34z",
|
9338
9347
|
"fill": getUrlById("a")
|
@@ -9345,9 +9354,11 @@
|
|
9345
9354
|
"x1": "64%",
|
9346
9355
|
"y1": "97%",
|
9347
9356
|
"x2": "64%",
|
9348
|
-
"y2": "0%"
|
9357
|
+
"y2": "0%",
|
9358
|
+
"data-allow-mismatch": "attribute"
|
9349
9359
|
}, [renderStop("#F2F3F5", 0, 0.3), renderStop("#F2F3F5", 100)])]), vue.createVNode("g", {
|
9350
|
-
"opacity": ".8"
|
9360
|
+
"opacity": ".8",
|
9361
|
+
"data-allow-mismatch": "children"
|
9351
9362
|
}, [vue.createVNode("path", {
|
9352
9363
|
"d": "M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",
|
9353
9364
|
"fill": getUrlById("b")
|
@@ -9357,7 +9368,9 @@
|
|
9357
9368
|
}, null)])];
|
9358
9369
|
const renderNetwork = () => vue.createVNode("svg", {
|
9359
9370
|
"viewBox": "0 0 160 160"
|
9360
|
-
}, [vue.createVNode("defs",
|
9371
|
+
}, [vue.createVNode("defs", {
|
9372
|
+
"data-allow-mismatch": "children"
|
9373
|
+
}, [vue.createVNode("linearGradient", {
|
9361
9374
|
"id": getId(1),
|
9362
9375
|
"x1": "64%",
|
9363
9376
|
"y1": "100%",
|
@@ -9384,14 +9397,17 @@
|
|
9384
9397
|
"fill": "none"
|
9385
9398
|
}, [renderBuilding(), vue.createVNode("path", {
|
9386
9399
|
"fill": getUrlById(4),
|
9387
|
-
"d": "M0 139h160v21H0z"
|
9400
|
+
"d": "M0 139h160v21H0z",
|
9401
|
+
"data-allow-mismatch": "attribute"
|
9388
9402
|
}, null), vue.createVNode("path", {
|
9389
9403
|
"d": "M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",
|
9390
|
-
"fill": getUrlById(2)
|
9404
|
+
"fill": getUrlById(2),
|
9405
|
+
"data-allow-mismatch": "attribute"
|
9391
9406
|
}, null), vue.createVNode("g", {
|
9392
9407
|
"opacity": ".6",
|
9393
9408
|
"stroke-linecap": "round",
|
9394
|
-
"stroke-width": "7"
|
9409
|
+
"stroke-width": "7",
|
9410
|
+
"data-allow-mismatch": "children"
|
9395
9411
|
}, [vue.createVNode("path", {
|
9396
9412
|
"d": "M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",
|
9397
9413
|
"stroke": getUrlById(3)
|
@@ -9428,7 +9444,9 @@
|
|
9428
9444
|
}, null)])])]);
|
9429
9445
|
const renderMaterial = () => vue.createVNode("svg", {
|
9430
9446
|
"viewBox": "0 0 160 160"
|
9431
|
-
}, [vue.createVNode("defs",
|
9447
|
+
}, [vue.createVNode("defs", {
|
9448
|
+
"data-allow-mismatch": "children"
|
9449
|
+
}, [vue.createVNode("linearGradient", {
|
9432
9450
|
"x1": "50%",
|
9433
9451
|
"x2": "50%",
|
9434
9452
|
"y2": "100%",
|
@@ -9461,7 +9479,8 @@
|
|
9461
9479
|
"fill": getUrlById(5),
|
9462
9480
|
"width": "64",
|
9463
9481
|
"height": "66",
|
9464
|
-
"rx": "2"
|
9482
|
+
"rx": "2",
|
9483
|
+
"data-allow-mismatch": "attribute"
|
9465
9484
|
}, null), vue.createVNode("rect", {
|
9466
9485
|
"fill": "#FFF",
|
9467
9486
|
"x": "6",
|
@@ -9471,7 +9490,8 @@
|
|
9471
9490
|
"rx": "1"
|
9472
9491
|
}, null), vue.createVNode("g", {
|
9473
9492
|
"transform": "translate(15 17)",
|
9474
|
-
"fill": getUrlById(6)
|
9493
|
+
"fill": getUrlById(6),
|
9494
|
+
"data-allow-mismatch": "attribute"
|
9475
9495
|
}, [vue.createVNode("rect", {
|
9476
9496
|
"width": "34",
|
9477
9497
|
"height": "6",
|
@@ -9488,7 +9508,8 @@
|
|
9488
9508
|
"y": "61",
|
9489
9509
|
"width": "88",
|
9490
9510
|
"height": "28",
|
9491
|
-
"rx": "1"
|
9511
|
+
"rx": "1",
|
9512
|
+
"data-allow-mismatch": "attribute"
|
9492
9513
|
}, null), vue.createVNode("rect", {
|
9493
9514
|
"fill": "#F7F8FA",
|
9494
9515
|
"x": "29",
|
@@ -9503,14 +9524,18 @@
|
|
9503
9524
|
"x1": "50%",
|
9504
9525
|
"x2": "50%",
|
9505
9526
|
"y2": "100%",
|
9506
|
-
"id": getId(8)
|
9527
|
+
"id": getId(8),
|
9528
|
+
"data-allow-mismatch": "attribute"
|
9507
9529
|
}, [renderStops("#EAEDF1", "#DCDEE0")])]), renderBuilding(), renderCloud(), renderShadow("c"), vue.createVNode("path", {
|
9508
9530
|
"d": "m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",
|
9509
|
-
"fill": getUrlById(8)
|
9531
|
+
"fill": getUrlById(8),
|
9532
|
+
"data-allow-mismatch": "attribute"
|
9510
9533
|
}, null)]);
|
9511
9534
|
const renderSearch = () => vue.createVNode("svg", {
|
9512
9535
|
"viewBox": "0 0 160 160"
|
9513
|
-
}, [vue.createVNode("defs",
|
9536
|
+
}, [vue.createVNode("defs", {
|
9537
|
+
"data-allow-mismatch": "children"
|
9538
|
+
}, [vue.createVNode("linearGradient", {
|
9514
9539
|
"x1": "50%",
|
9515
9540
|
"y1": "100%",
|
9516
9541
|
"x2": "50%",
|
@@ -9532,7 +9557,8 @@
|
|
9532
9557
|
"id": getId(12)
|
9533
9558
|
}, [renderStops("#FFF", "#F7F8FA")])]), renderBuilding(), renderCloud(), renderShadow("d"), vue.createVNode("g", {
|
9534
9559
|
"transform": "rotate(-45 113 -4)",
|
9535
|
-
"fill": "none"
|
9560
|
+
"fill": "none",
|
9561
|
+
"data-allow-mismatch": "children"
|
9536
9562
|
}, [vue.createVNode("rect", {
|
9537
9563
|
"fill": getUrlById(9),
|
9538
9564
|
"x": "24",
|
@@ -10288,6 +10314,7 @@
|
|
10288
10314
|
"id": `${id}-${index}`,
|
10289
10315
|
"role": "button",
|
10290
10316
|
"tabindex": disabled ? void 0 : 0,
|
10317
|
+
"data-allow-mismatch": "attribute",
|
10291
10318
|
"class": [bem$L("item", {
|
10292
10319
|
disabled,
|
10293
10320
|
grow: scrollable.value
|
@@ -10497,6 +10524,7 @@
|
|
10497
10524
|
position: "absolute"
|
10498
10525
|
},
|
10499
10526
|
"aria-labelledby": `${parent.id}-${index.value}`,
|
10527
|
+
"data-allow-mismatch": "attribute",
|
10500
10528
|
"closeOnClickOverlay": closeOnClickOverlay,
|
10501
10529
|
"onOpen": onOpen,
|
10502
10530
|
"onClose": onClose,
|
@@ -14638,7 +14666,8 @@
|
|
14638
14666
|
if (slots.label || props2.label) {
|
14639
14667
|
return vue.createVNode("label", {
|
14640
14668
|
"class": bem$m("label"),
|
14641
|
-
"for": getInputId()
|
14669
|
+
"for": getInputId(),
|
14670
|
+
"data-allow-mismatch": "attribute"
|
14642
14671
|
}, [slots.label ? slots.label() : props2.label]);
|
14643
14672
|
}
|
14644
14673
|
};
|
@@ -18239,7 +18268,7 @@
|
|
18239
18268
|
});
|
18240
18269
|
}
|
18241
18270
|
};
|
18242
|
-
const version = "4.9.
|
18271
|
+
const version = "4.9.7";
|
18243
18272
|
function install(app) {
|
18244
18273
|
const components = [
|
18245
18274
|
ActionBar,
|