vant 4.9.3 → 4.9.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/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/lang/kk-KZ.d.ts +63 -0
- package/es/locale/lang/kk-KZ.mjs +81 -0
- package/es/swipe-cell/SwipeCell.mjs +7 -3
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/kk-KZ.d.ts +63 -0
- package/lib/locale/lang/kk-KZ.js +100 -0
- package/lib/swipe-cell/SwipeCell.js +7 -3
- package/lib/vant.cjs.js +8 -4
- package/lib/vant.es.js +8 -4
- package/lib/vant.js +8 -4
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +5 -5
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
@@ -99,7 +99,7 @@ import { Toast } from "./toast/index.mjs";
|
|
99
99
|
import { TreeSelect } from "./tree-select/index.mjs";
|
100
100
|
import { Uploader } from "./uploader/index.mjs";
|
101
101
|
import { Watermark } from "./watermark/index.mjs";
|
102
|
-
const version = "4.9.
|
102
|
+
const version = "4.9.4";
|
103
103
|
function install(app) {
|
104
104
|
const components = [
|
105
105
|
ActionBar,
|
@@ -0,0 +1,63 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
name: string;
|
3
|
+
tel: string;
|
4
|
+
save: string;
|
5
|
+
clear: string;
|
6
|
+
cancel: string;
|
7
|
+
confirm: string;
|
8
|
+
delete: string;
|
9
|
+
loading: string;
|
10
|
+
noCoupon: string;
|
11
|
+
nameEmpty: string;
|
12
|
+
addContact: string;
|
13
|
+
telInvalid: string;
|
14
|
+
vanCalendar: {
|
15
|
+
end: string;
|
16
|
+
start: string;
|
17
|
+
title: string;
|
18
|
+
weekdays: string[];
|
19
|
+
monthTitle: (year: number, month: number) => string;
|
20
|
+
rangePrompt: (maxRange: number) => string;
|
21
|
+
};
|
22
|
+
vanCascader: {
|
23
|
+
select: string;
|
24
|
+
};
|
25
|
+
vanPagination: {
|
26
|
+
prev: string;
|
27
|
+
next: string;
|
28
|
+
};
|
29
|
+
vanPullRefresh: {
|
30
|
+
pulling: string;
|
31
|
+
loosing: string;
|
32
|
+
};
|
33
|
+
vanSubmitBar: {
|
34
|
+
label: string;
|
35
|
+
};
|
36
|
+
vanCoupon: {
|
37
|
+
unlimited: string;
|
38
|
+
discount: (discount: number) => string;
|
39
|
+
condition: (condition: number) => string;
|
40
|
+
};
|
41
|
+
vanCouponCell: {
|
42
|
+
title: string;
|
43
|
+
count: (count: number) => string;
|
44
|
+
};
|
45
|
+
vanCouponList: {
|
46
|
+
exchange: string;
|
47
|
+
close: string;
|
48
|
+
enable: string;
|
49
|
+
disabled: string;
|
50
|
+
placeholder: string;
|
51
|
+
};
|
52
|
+
vanAddressEdit: {
|
53
|
+
area: string;
|
54
|
+
areaEmpty: string;
|
55
|
+
addressEmpty: string;
|
56
|
+
addressDetail: string;
|
57
|
+
defaultAddress: string;
|
58
|
+
};
|
59
|
+
vanAddressList: {
|
60
|
+
add: string;
|
61
|
+
};
|
62
|
+
};
|
63
|
+
export default _default;
|
@@ -0,0 +1,81 @@
|
|
1
|
+
var stdin_default = {
|
2
|
+
name: "\u0410\u0442\u044B",
|
3
|
+
tel: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D",
|
4
|
+
save: "\u0421\u0430\u049B\u0442\u0430\u0443",
|
5
|
+
clear: "\u0422\u0430\u0437\u0430\u0440\u0442\u0443",
|
6
|
+
cancel: "\u0411\u0430\u0441\u0442\u0430\u0440\u0442\u0443",
|
7
|
+
confirm: "\u0420\u0430\u0441\u0442\u0430\u0443",
|
8
|
+
delete: "\u0416\u043E\u044E",
|
9
|
+
loading: "\u0416\u04AF\u043A\u0442\u0435\u043B\u0443\u0434\u0435...",
|
10
|
+
noCoupon: "\u041A\u0443\u043F\u043E\u043D\u0434\u0430\u0440 \u0436\u043E\u049B",
|
11
|
+
nameEmpty: "\u0410\u0442\u044B-\u0436\u04E9\u043D\u0456\u04A3\u0456\u0437\u0434\u0456 \u0442\u043E\u043B\u0442\u044B\u0440\u044B\u04A3\u044B\u0437",
|
12
|
+
addContact: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u0456 \u049B\u043E\u0441\u0443",
|
13
|
+
telInvalid: "\u0414\u04B1\u0440\u044B\u0441 \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u043D\u04E9\u043C\u0456\u0440\u0456\u043D \u0442\u043E\u043B\u0442\u044B\u0440\u044B\u04A3\u044B\u0437",
|
14
|
+
vanCalendar: {
|
15
|
+
end: "\u0410\u044F\u049B\u0442\u0430\u043B\u0443 \u0443\u0430\u049B\u044B\u0442\u044B",
|
16
|
+
start: "\u0411\u0430\u0441\u0442\u0430\u0443 \u0443\u0430\u049B\u044B\u0442\u044B",
|
17
|
+
title: "\u041A\u04AF\u043D\u0434\u0456 \u0442\u0430\u04A3\u0434\u0430\u0443",
|
18
|
+
weekdays: ["\u0416\u0421", "\u0414\u0421", "\u0421\u0421", "\u0421\u0420", "\u0411\u0421", "\u0416\u041C", "\u0421\u0411"],
|
19
|
+
monthTitle: (year, month) => {
|
20
|
+
const monthNames = [
|
21
|
+
"\u049A\u0430\u04A3\u0442\u0430\u0440",
|
22
|
+
"\u0410\u049B\u043F\u0430\u043D",
|
23
|
+
"\u041D\u0430\u0443\u0440\u044B\u0437",
|
24
|
+
"\u0421\u04D9\u0443\u0456\u0440",
|
25
|
+
"\u041C\u0430\u043C\u044B\u0440",
|
26
|
+
"\u041C\u0430\u0443\u0441\u044B\u043C",
|
27
|
+
"\u0428\u0456\u043B\u0434\u0435",
|
28
|
+
"\u0422\u0430\u043C\u044B\u0437",
|
29
|
+
"\u049A\u044B\u0440\u043A\u04AF\u0439\u0435\u043A",
|
30
|
+
"\u049A\u0430\u0437\u0430\u043D",
|
31
|
+
"\u049A\u0430\u0440\u0430\u0448\u0430",
|
32
|
+
"\u0416\u0435\u043B\u0442\u043E\u049B\u0441\u0430\u043D"
|
33
|
+
];
|
34
|
+
return `${year} ${monthNames[month - 1]}`;
|
35
|
+
},
|
36
|
+
rangePrompt: (maxRange) => `\u0422\u0435\u043A ${maxRange} \u043A\u04AF\u043D\u0433\u0435 \u0434\u0435\u0439\u0456\u043D \u0442\u0430\u04A3\u0434\u0430\u0439 \u0430\u043B\u0430\u0441\u044B\u0437`
|
37
|
+
},
|
38
|
+
vanCascader: {
|
39
|
+
select: "\u0422\u0430\u04A3\u0434\u0430\u04A3\u044B\u0437"
|
40
|
+
},
|
41
|
+
vanPagination: {
|
42
|
+
prev: "\u0410\u0440\u0442\u049B\u0430",
|
43
|
+
next: "\u0410\u043B\u0493\u0430"
|
44
|
+
},
|
45
|
+
vanPullRefresh: {
|
46
|
+
pulling: "\u0416\u0430\u04A3\u0430\u0440\u0442\u0443 \u04AF\u0448\u0456\u043D \u0442\u0430\u0440\u0442\u044B\u04A3\u044B\u0437...",
|
47
|
+
loosing: "\u0416\u0430\u04A3\u0430\u0440\u0442\u0443 \u04AF\u0448\u0456\u043D \u0436\u0456\u0431\u0435\u0440\u0456\u04A3\u0456\u0437..."
|
48
|
+
},
|
49
|
+
vanSubmitBar: {
|
50
|
+
label: "\u0416\u0430\u043B\u043F\u044B:"
|
51
|
+
},
|
52
|
+
vanCoupon: {
|
53
|
+
unlimited: "\u0422\u0430\u043B\u0430\u043F \u0436\u043E\u049B",
|
54
|
+
discount: (discount) => `${discount * 10}% \u0436\u0435\u04A3\u0456\u043B\u0434\u0456\u043A`,
|
55
|
+
condition: (condition) => `${condition} \u0442\u0435\u04A3\u0433\u0435\u0433\u0435 \u0436\u0435\u0442\u043A\u0435\u043D\u0434\u0435 \u049B\u043E\u043B \u0436\u0435\u0442\u0456\u043C\u0434\u0456`
|
56
|
+
},
|
57
|
+
vanCouponCell: {
|
58
|
+
title: "\u041A\u0443\u043F\u043E\u043D",
|
59
|
+
count: (count) => `${count} \u049B\u043E\u043B \u0436\u0435\u0442\u0456\u043C\u0434\u0456 \u043A\u0443\u043F\u043E\u043D`
|
60
|
+
},
|
61
|
+
vanCouponList: {
|
62
|
+
exchange: "\u0410\u0439\u044B\u0440\u0431\u0430\u0441\u0442\u0430\u0443",
|
63
|
+
close: "\u049A\u043E\u043B\u0434\u0430\u043D\u0431\u0430\u0443",
|
64
|
+
enable: "\u049A\u043E\u043B \u0436\u0435\u0442\u0456\u043C\u0434\u0456",
|
65
|
+
disabled: "\u049A\u043E\u043B\u0436\u0435\u0442\u0456\u043C\u0441\u0456\u0437",
|
66
|
+
placeholder: "\u0416\u0435\u04A3\u0456\u043B\u0434\u0456\u043A \u043A\u043E\u0434\u044B\u043D \u0435\u043D\u0433\u0456\u0437\u0456\u04A3\u0456\u0437"
|
67
|
+
},
|
68
|
+
vanAddressEdit: {
|
69
|
+
area: "\u0410\u0443\u043C\u0430\u049B",
|
70
|
+
areaEmpty: "\u0410\u0439\u043C\u0430\u049B\u0442\u044B \u0442\u0430\u04A3\u0434\u0430\u04A3\u044B\u0437",
|
71
|
+
addressEmpty: "\u0422\u043E\u043B\u044B\u049B \u043C\u0435\u043A\u0435\u043D-\u0436\u0430\u0439\u0434\u044B \u0442\u043E\u043B\u0442\u044B\u0440\u044B\u04A3\u044B\u0437",
|
72
|
+
addressDetail: "\u041C\u0435\u043A\u0435\u043D\u0436\u0430\u0439",
|
73
|
+
defaultAddress: "\u04D8\u0434\u0435\u043F\u043A\u0456 \u0436\u0435\u0442\u043A\u0456\u0437\u0443 \u043C\u0435\u043A\u0435\u043D\u0436\u0430\u0439\u044B \u0440\u0435\u0442\u0456\u043D\u0434\u0435 \u043E\u0440\u043D\u0430\u0442\u0443"
|
74
|
+
},
|
75
|
+
vanAddressList: {
|
76
|
+
add: "\u041C\u0435\u043A\u0435\u043D\u0436\u0430\u0439 \u049B\u043E\u0441\u0443"
|
77
|
+
}
|
78
|
+
};
|
79
|
+
export {
|
80
|
+
stdin_default as default
|
81
|
+
};
|
@@ -100,7 +100,7 @@ var stdin_default = defineComponent({
|
|
100
100
|
}, 0);
|
101
101
|
}
|
102
102
|
};
|
103
|
-
const onClick = (position = "outside") => {
|
103
|
+
const onClick = (position = "outside", event) => {
|
104
104
|
if (isInBeforeClosing)
|
105
105
|
return;
|
106
106
|
emit("click", position);
|
@@ -108,6 +108,7 @@ var stdin_default = defineComponent({
|
|
108
108
|
isInBeforeClosing = true;
|
109
109
|
callInterceptor(props.beforeClose, {
|
110
110
|
args: [{
|
111
|
+
event,
|
111
112
|
name: props.name,
|
112
113
|
position
|
113
114
|
}],
|
@@ -124,7 +125,10 @@ var stdin_default = defineComponent({
|
|
124
125
|
if (stop) {
|
125
126
|
event.stopPropagation();
|
126
127
|
}
|
127
|
-
|
128
|
+
if (lockClick) {
|
129
|
+
return;
|
130
|
+
}
|
131
|
+
onClick(position, event);
|
128
132
|
};
|
129
133
|
const renderSideContent = (side, ref2) => {
|
130
134
|
const contentSlot = slots[side];
|
@@ -140,7 +144,7 @@ var stdin_default = defineComponent({
|
|
140
144
|
open,
|
141
145
|
close
|
142
146
|
});
|
143
|
-
useClickAway(root, () => onClick("outside"), {
|
147
|
+
useClickAway(root, (event) => onClick("outside", event), {
|
144
148
|
eventName: "touchstart"
|
145
149
|
});
|
146
150
|
useEventListener("touchmove", onTouchMove, {
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
@@ -226,7 +226,7 @@ __reExport(stdin_exports, require("./toast"), module.exports);
|
|
226
226
|
__reExport(stdin_exports, require("./tree-select"), module.exports);
|
227
227
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
228
228
|
__reExport(stdin_exports, require("./watermark"), module.exports);
|
229
|
-
const version = "4.9.
|
229
|
+
const version = "4.9.4";
|
230
230
|
function install(app) {
|
231
231
|
const components = [
|
232
232
|
import_action_bar.ActionBar,
|
@@ -0,0 +1,63 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
name: string;
|
3
|
+
tel: string;
|
4
|
+
save: string;
|
5
|
+
clear: string;
|
6
|
+
cancel: string;
|
7
|
+
confirm: string;
|
8
|
+
delete: string;
|
9
|
+
loading: string;
|
10
|
+
noCoupon: string;
|
11
|
+
nameEmpty: string;
|
12
|
+
addContact: string;
|
13
|
+
telInvalid: string;
|
14
|
+
vanCalendar: {
|
15
|
+
end: string;
|
16
|
+
start: string;
|
17
|
+
title: string;
|
18
|
+
weekdays: string[];
|
19
|
+
monthTitle: (year: number, month: number) => string;
|
20
|
+
rangePrompt: (maxRange: number) => string;
|
21
|
+
};
|
22
|
+
vanCascader: {
|
23
|
+
select: string;
|
24
|
+
};
|
25
|
+
vanPagination: {
|
26
|
+
prev: string;
|
27
|
+
next: string;
|
28
|
+
};
|
29
|
+
vanPullRefresh: {
|
30
|
+
pulling: string;
|
31
|
+
loosing: string;
|
32
|
+
};
|
33
|
+
vanSubmitBar: {
|
34
|
+
label: string;
|
35
|
+
};
|
36
|
+
vanCoupon: {
|
37
|
+
unlimited: string;
|
38
|
+
discount: (discount: number) => string;
|
39
|
+
condition: (condition: number) => string;
|
40
|
+
};
|
41
|
+
vanCouponCell: {
|
42
|
+
title: string;
|
43
|
+
count: (count: number) => string;
|
44
|
+
};
|
45
|
+
vanCouponList: {
|
46
|
+
exchange: string;
|
47
|
+
close: string;
|
48
|
+
enable: string;
|
49
|
+
disabled: string;
|
50
|
+
placeholder: string;
|
51
|
+
};
|
52
|
+
vanAddressEdit: {
|
53
|
+
area: string;
|
54
|
+
areaEmpty: string;
|
55
|
+
addressEmpty: string;
|
56
|
+
addressDetail: string;
|
57
|
+
defaultAddress: string;
|
58
|
+
};
|
59
|
+
vanAddressList: {
|
60
|
+
add: string;
|
61
|
+
};
|
62
|
+
};
|
63
|
+
export default _default;
|
@@ -0,0 +1,100 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __export = (target, all) => {
|
6
|
+
for (var name in all)
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
8
|
+
};
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
14
|
+
}
|
15
|
+
return to;
|
16
|
+
};
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
|
+
var stdin_exports = {};
|
19
|
+
__export(stdin_exports, {
|
20
|
+
default: () => stdin_default
|
21
|
+
});
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
23
|
+
var stdin_default = {
|
24
|
+
name: "\u0410\u0442\u044B",
|
25
|
+
tel: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D",
|
26
|
+
save: "\u0421\u0430\u049B\u0442\u0430\u0443",
|
27
|
+
clear: "\u0422\u0430\u0437\u0430\u0440\u0442\u0443",
|
28
|
+
cancel: "\u0411\u0430\u0441\u0442\u0430\u0440\u0442\u0443",
|
29
|
+
confirm: "\u0420\u0430\u0441\u0442\u0430\u0443",
|
30
|
+
delete: "\u0416\u043E\u044E",
|
31
|
+
loading: "\u0416\u04AF\u043A\u0442\u0435\u043B\u0443\u0434\u0435...",
|
32
|
+
noCoupon: "\u041A\u0443\u043F\u043E\u043D\u0434\u0430\u0440 \u0436\u043E\u049B",
|
33
|
+
nameEmpty: "\u0410\u0442\u044B-\u0436\u04E9\u043D\u0456\u04A3\u0456\u0437\u0434\u0456 \u0442\u043E\u043B\u0442\u044B\u0440\u044B\u04A3\u044B\u0437",
|
34
|
+
addContact: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u0456 \u049B\u043E\u0441\u0443",
|
35
|
+
telInvalid: "\u0414\u04B1\u0440\u044B\u0441 \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u043D\u04E9\u043C\u0456\u0440\u0456\u043D \u0442\u043E\u043B\u0442\u044B\u0440\u044B\u04A3\u044B\u0437",
|
36
|
+
vanCalendar: {
|
37
|
+
end: "\u0410\u044F\u049B\u0442\u0430\u043B\u0443 \u0443\u0430\u049B\u044B\u0442\u044B",
|
38
|
+
start: "\u0411\u0430\u0441\u0442\u0430\u0443 \u0443\u0430\u049B\u044B\u0442\u044B",
|
39
|
+
title: "\u041A\u04AF\u043D\u0434\u0456 \u0442\u0430\u04A3\u0434\u0430\u0443",
|
40
|
+
weekdays: ["\u0416\u0421", "\u0414\u0421", "\u0421\u0421", "\u0421\u0420", "\u0411\u0421", "\u0416\u041C", "\u0421\u0411"],
|
41
|
+
monthTitle: (year, month) => {
|
42
|
+
const monthNames = [
|
43
|
+
"\u049A\u0430\u04A3\u0442\u0430\u0440",
|
44
|
+
"\u0410\u049B\u043F\u0430\u043D",
|
45
|
+
"\u041D\u0430\u0443\u0440\u044B\u0437",
|
46
|
+
"\u0421\u04D9\u0443\u0456\u0440",
|
47
|
+
"\u041C\u0430\u043C\u044B\u0440",
|
48
|
+
"\u041C\u0430\u0443\u0441\u044B\u043C",
|
49
|
+
"\u0428\u0456\u043B\u0434\u0435",
|
50
|
+
"\u0422\u0430\u043C\u044B\u0437",
|
51
|
+
"\u049A\u044B\u0440\u043A\u04AF\u0439\u0435\u043A",
|
52
|
+
"\u049A\u0430\u0437\u0430\u043D",
|
53
|
+
"\u049A\u0430\u0440\u0430\u0448\u0430",
|
54
|
+
"\u0416\u0435\u043B\u0442\u043E\u049B\u0441\u0430\u043D"
|
55
|
+
];
|
56
|
+
return `${year} ${monthNames[month - 1]}`;
|
57
|
+
},
|
58
|
+
rangePrompt: (maxRange) => `\u0422\u0435\u043A ${maxRange} \u043A\u04AF\u043D\u0433\u0435 \u0434\u0435\u0439\u0456\u043D \u0442\u0430\u04A3\u0434\u0430\u0439 \u0430\u043B\u0430\u0441\u044B\u0437`
|
59
|
+
},
|
60
|
+
vanCascader: {
|
61
|
+
select: "\u0422\u0430\u04A3\u0434\u0430\u04A3\u044B\u0437"
|
62
|
+
},
|
63
|
+
vanPagination: {
|
64
|
+
prev: "\u0410\u0440\u0442\u049B\u0430",
|
65
|
+
next: "\u0410\u043B\u0493\u0430"
|
66
|
+
},
|
67
|
+
vanPullRefresh: {
|
68
|
+
pulling: "\u0416\u0430\u04A3\u0430\u0440\u0442\u0443 \u04AF\u0448\u0456\u043D \u0442\u0430\u0440\u0442\u044B\u04A3\u044B\u0437...",
|
69
|
+
loosing: "\u0416\u0430\u04A3\u0430\u0440\u0442\u0443 \u04AF\u0448\u0456\u043D \u0436\u0456\u0431\u0435\u0440\u0456\u04A3\u0456\u0437..."
|
70
|
+
},
|
71
|
+
vanSubmitBar: {
|
72
|
+
label: "\u0416\u0430\u043B\u043F\u044B:"
|
73
|
+
},
|
74
|
+
vanCoupon: {
|
75
|
+
unlimited: "\u0422\u0430\u043B\u0430\u043F \u0436\u043E\u049B",
|
76
|
+
discount: (discount) => `${discount * 10}% \u0436\u0435\u04A3\u0456\u043B\u0434\u0456\u043A`,
|
77
|
+
condition: (condition) => `${condition} \u0442\u0435\u04A3\u0433\u0435\u0433\u0435 \u0436\u0435\u0442\u043A\u0435\u043D\u0434\u0435 \u049B\u043E\u043B \u0436\u0435\u0442\u0456\u043C\u0434\u0456`
|
78
|
+
},
|
79
|
+
vanCouponCell: {
|
80
|
+
title: "\u041A\u0443\u043F\u043E\u043D",
|
81
|
+
count: (count) => `${count} \u049B\u043E\u043B \u0436\u0435\u0442\u0456\u043C\u0434\u0456 \u043A\u0443\u043F\u043E\u043D`
|
82
|
+
},
|
83
|
+
vanCouponList: {
|
84
|
+
exchange: "\u0410\u0439\u044B\u0440\u0431\u0430\u0441\u0442\u0430\u0443",
|
85
|
+
close: "\u049A\u043E\u043B\u0434\u0430\u043D\u0431\u0430\u0443",
|
86
|
+
enable: "\u049A\u043E\u043B \u0436\u0435\u0442\u0456\u043C\u0434\u0456",
|
87
|
+
disabled: "\u049A\u043E\u043B\u0436\u0435\u0442\u0456\u043C\u0441\u0456\u0437",
|
88
|
+
placeholder: "\u0416\u0435\u04A3\u0456\u043B\u0434\u0456\u043A \u043A\u043E\u0434\u044B\u043D \u0435\u043D\u0433\u0456\u0437\u0456\u04A3\u0456\u0437"
|
89
|
+
},
|
90
|
+
vanAddressEdit: {
|
91
|
+
area: "\u0410\u0443\u043C\u0430\u049B",
|
92
|
+
areaEmpty: "\u0410\u0439\u043C\u0430\u049B\u0442\u044B \u0442\u0430\u04A3\u0434\u0430\u04A3\u044B\u0437",
|
93
|
+
addressEmpty: "\u0422\u043E\u043B\u044B\u049B \u043C\u0435\u043A\u0435\u043D-\u0436\u0430\u0439\u0434\u044B \u0442\u043E\u043B\u0442\u044B\u0440\u044B\u04A3\u044B\u0437",
|
94
|
+
addressDetail: "\u041C\u0435\u043A\u0435\u043D\u0436\u0430\u0439",
|
95
|
+
defaultAddress: "\u04D8\u0434\u0435\u043F\u043A\u0456 \u0436\u0435\u0442\u043A\u0456\u0437\u0443 \u043C\u0435\u043A\u0435\u043D\u0436\u0430\u0439\u044B \u0440\u0435\u0442\u0456\u043D\u0434\u0435 \u043E\u0440\u043D\u0430\u0442\u0443"
|
96
|
+
},
|
97
|
+
vanAddressList: {
|
98
|
+
add: "\u041C\u0435\u043A\u0435\u043D\u0436\u0430\u0439 \u049B\u043E\u0441\u0443"
|
99
|
+
}
|
100
|
+
};
|
@@ -123,7 +123,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
123
123
|
}, 0);
|
124
124
|
}
|
125
125
|
};
|
126
|
-
const onClick = (position = "outside") => {
|
126
|
+
const onClick = (position = "outside", event) => {
|
127
127
|
if (isInBeforeClosing)
|
128
128
|
return;
|
129
129
|
emit("click", position);
|
@@ -131,6 +131,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
131
131
|
isInBeforeClosing = true;
|
132
132
|
(0, import_utils.callInterceptor)(props.beforeClose, {
|
133
133
|
args: [{
|
134
|
+
event,
|
134
135
|
name: props.name,
|
135
136
|
position
|
136
137
|
}],
|
@@ -147,7 +148,10 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
147
148
|
if (stop) {
|
148
149
|
event.stopPropagation();
|
149
150
|
}
|
150
|
-
|
151
|
+
if (lockClick) {
|
152
|
+
return;
|
153
|
+
}
|
154
|
+
onClick(position, event);
|
151
155
|
};
|
152
156
|
const renderSideContent = (side, ref2) => {
|
153
157
|
const contentSlot = slots[side];
|
@@ -163,7 +167,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
163
167
|
open,
|
164
168
|
close
|
165
169
|
});
|
166
|
-
(0, import_use.useClickAway)(root, () => onClick("outside"), {
|
170
|
+
(0, import_use.useClickAway)(root, (event) => onClick("outside", event), {
|
167
171
|
eventName: "touchstart"
|
168
172
|
});
|
169
173
|
(0, import_use.useEventListener)("touchmove", onTouchMove, {
|
package/lib/vant.cjs.js
CHANGED
@@ -14961,7 +14961,7 @@ var stdin_default$c = vue.defineComponent({
|
|
14961
14961
|
}, 0);
|
14962
14962
|
}
|
14963
14963
|
};
|
14964
|
-
const onClick = (position = "outside") => {
|
14964
|
+
const onClick = (position = "outside", event) => {
|
14965
14965
|
if (isInBeforeClosing)
|
14966
14966
|
return;
|
14967
14967
|
emit("click", position);
|
@@ -14969,6 +14969,7 @@ var stdin_default$c = vue.defineComponent({
|
|
14969
14969
|
isInBeforeClosing = true;
|
14970
14970
|
callInterceptor(props2.beforeClose, {
|
14971
14971
|
args: [{
|
14972
|
+
event,
|
14972
14973
|
name: props2.name,
|
14973
14974
|
position
|
14974
14975
|
}],
|
@@ -14985,7 +14986,10 @@ var stdin_default$c = vue.defineComponent({
|
|
14985
14986
|
if (stop) {
|
14986
14987
|
event.stopPropagation();
|
14987
14988
|
}
|
14988
|
-
|
14989
|
+
if (lockClick2) {
|
14990
|
+
return;
|
14991
|
+
}
|
14992
|
+
onClick(position, event);
|
14989
14993
|
};
|
14990
14994
|
const renderSideContent = (side, ref2) => {
|
14991
14995
|
const contentSlot = slots[side];
|
@@ -15001,7 +15005,7 @@ var stdin_default$c = vue.defineComponent({
|
|
15001
15005
|
open,
|
15002
15006
|
close
|
15003
15007
|
});
|
15004
|
-
use.useClickAway(root, () => onClick("outside"), {
|
15008
|
+
use.useClickAway(root, (event) => onClick("outside", event), {
|
15005
15009
|
eventName: "touchstart"
|
15006
15010
|
});
|
15007
15011
|
use.useEventListener("touchmove", onTouchMove, {
|
@@ -17045,7 +17049,7 @@ const Lazyload = {
|
|
17045
17049
|
});
|
17046
17050
|
}
|
17047
17051
|
};
|
17048
|
-
const version = "4.9.
|
17052
|
+
const version = "4.9.4";
|
17049
17053
|
function install(app) {
|
17050
17054
|
const components = [
|
17051
17055
|
ActionBar,
|
package/lib/vant.es.js
CHANGED
@@ -14959,7 +14959,7 @@ var stdin_default$c = defineComponent({
|
|
14959
14959
|
}, 0);
|
14960
14960
|
}
|
14961
14961
|
};
|
14962
|
-
const onClick = (position = "outside") => {
|
14962
|
+
const onClick = (position = "outside", event) => {
|
14963
14963
|
if (isInBeforeClosing)
|
14964
14964
|
return;
|
14965
14965
|
emit("click", position);
|
@@ -14967,6 +14967,7 @@ var stdin_default$c = defineComponent({
|
|
14967
14967
|
isInBeforeClosing = true;
|
14968
14968
|
callInterceptor(props2.beforeClose, {
|
14969
14969
|
args: [{
|
14970
|
+
event,
|
14970
14971
|
name: props2.name,
|
14971
14972
|
position
|
14972
14973
|
}],
|
@@ -14983,7 +14984,10 @@ var stdin_default$c = defineComponent({
|
|
14983
14984
|
if (stop) {
|
14984
14985
|
event.stopPropagation();
|
14985
14986
|
}
|
14986
|
-
|
14987
|
+
if (lockClick2) {
|
14988
|
+
return;
|
14989
|
+
}
|
14990
|
+
onClick(position, event);
|
14987
14991
|
};
|
14988
14992
|
const renderSideContent = (side, ref2) => {
|
14989
14993
|
const contentSlot = slots[side];
|
@@ -14999,7 +15003,7 @@ var stdin_default$c = defineComponent({
|
|
14999
15003
|
open,
|
15000
15004
|
close
|
15001
15005
|
});
|
15002
|
-
useClickAway(root, () => onClick("outside"), {
|
15006
|
+
useClickAway(root, (event) => onClick("outside", event), {
|
15003
15007
|
eventName: "touchstart"
|
15004
15008
|
});
|
15005
15009
|
useEventListener("touchmove", onTouchMove, {
|
@@ -17043,7 +17047,7 @@ const Lazyload = {
|
|
17043
17047
|
});
|
17044
17048
|
}
|
17045
17049
|
};
|
17046
|
-
const version = "4.9.
|
17050
|
+
const version = "4.9.4";
|
17047
17051
|
function install(app) {
|
17048
17052
|
const components = [
|
17049
17053
|
ActionBar,
|
package/lib/vant.js
CHANGED
@@ -16197,7 +16197,7 @@
|
|
16197
16197
|
}, 0);
|
16198
16198
|
}
|
16199
16199
|
};
|
16200
|
-
const onClick = (position = "outside") => {
|
16200
|
+
const onClick = (position = "outside", event) => {
|
16201
16201
|
if (isInBeforeClosing)
|
16202
16202
|
return;
|
16203
16203
|
emit("click", position);
|
@@ -16205,6 +16205,7 @@
|
|
16205
16205
|
isInBeforeClosing = true;
|
16206
16206
|
callInterceptor(props2.beforeClose, {
|
16207
16207
|
args: [{
|
16208
|
+
event,
|
16208
16209
|
name: props2.name,
|
16209
16210
|
position
|
16210
16211
|
}],
|
@@ -16221,7 +16222,10 @@
|
|
16221
16222
|
if (stop) {
|
16222
16223
|
event.stopPropagation();
|
16223
16224
|
}
|
16224
|
-
|
16225
|
+
if (lockClick2) {
|
16226
|
+
return;
|
16227
|
+
}
|
16228
|
+
onClick(position, event);
|
16225
16229
|
};
|
16226
16230
|
const renderSideContent = (side, ref2) => {
|
16227
16231
|
const contentSlot = slots[side];
|
@@ -16237,7 +16241,7 @@
|
|
16237
16241
|
open,
|
16238
16242
|
close
|
16239
16243
|
});
|
16240
|
-
useClickAway(root, () => onClick("outside"), {
|
16244
|
+
useClickAway(root, (event) => onClick("outside", event), {
|
16241
16245
|
eventName: "touchstart"
|
16242
16246
|
});
|
16243
16247
|
useEventListener("touchmove", onTouchMove, {
|
@@ -18258,7 +18262,7 @@
|
|
18258
18262
|
});
|
18259
18263
|
}
|
18260
18264
|
};
|
18261
|
-
const version = "4.9.
|
18265
|
+
const version = "4.9.4";
|
18262
18266
|
function install(app) {
|
18263
18267
|
const components = [
|
18264
18268
|
ActionBar,
|