vant 3.4.2 → 3.4.3
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/address-edit/AddressEditDetail.js +4 -3
- package/es/calendar/CalendarMonth.js +1 -1
- package/es/contact-card/ContactCard.js +1 -1
- package/es/contact-list/ContactList.js +1 -1
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.less +0 -1
- package/es/icon/index.css +1 -1
- package/es/icon/index.less +1 -0
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.less +0 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/locale/lang/de-DE-formal.d.ts +2 -11
- package/es/locale/lang/de-DE-formal.js +2 -11
- package/es/locale/lang/de-DE.d.ts +2 -11
- package/es/locale/lang/de-DE.js +2 -11
- package/es/locale/lang/en-US.d.ts +2 -11
- package/es/locale/lang/en-US.js +2 -11
- package/es/locale/lang/es-ES.d.ts +2 -11
- package/es/locale/lang/es-ES.js +2 -11
- package/es/locale/lang/fr-FR.d.ts +2 -11
- package/es/locale/lang/fr-FR.js +2 -11
- package/es/locale/lang/hi-IN.d.ts +64 -0
- package/es/locale/lang/hi-IN.js +74 -0
- package/es/locale/lang/ja-JP.d.ts +2 -12
- package/es/locale/lang/ja-JP.js +4 -14
- package/es/locale/lang/ko-KR.d.ts +64 -0
- package/es/locale/lang/ko-KR.js +74 -0
- package/es/locale/lang/nb-NO.d.ts +2 -11
- package/es/locale/lang/nb-NO.js +2 -11
- package/es/locale/lang/pt-BR.d.ts +2 -11
- package/es/locale/lang/pt-BR.js +2 -11
- package/es/locale/lang/ro-RO.d.ts +2 -11
- package/es/locale/lang/ro-RO.js +2 -11
- package/es/locale/lang/ru-RU.d.ts +2 -11
- package/es/locale/lang/ru-RU.js +2 -11
- package/es/locale/lang/th-TH.d.ts +2 -12
- package/es/locale/lang/th-TH.js +4 -14
- package/es/locale/lang/tr-TR.d.ts +2 -11
- package/es/locale/lang/tr-TR.js +2 -11
- package/es/locale/lang/zh-CN.d.ts +2 -12
- package/es/locale/lang/zh-CN.js +5 -15
- package/es/locale/lang/zh-HK.d.ts +2 -12
- package/es/locale/lang/zh-HK.js +5 -15
- package/es/locale/lang/zh-TW.d.ts +2 -12
- package/es/locale/lang/zh-TW.js +5 -15
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.less +0 -1
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.less +0 -1
- package/es/picker/index.css +1 -1
- package/es/picker/index.less +0 -1
- package/es/popup/index.css +1 -1
- package/es/popup/index.less +0 -1
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.less +0 -1
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.less +0 -1
- package/es/style/base.css +1 -1
- package/es/style/base.less +6 -2
- package/es/tag/Tag.js +2 -2
- package/es/tag/index.css +1 -1
- package/es/tag/index.less +0 -1
- package/es/tree-select/TreeSelect.js +3 -2
- package/lib/address-edit/AddressEditDetail.js +4 -3
- package/lib/calendar/CalendarMonth.js +1 -1
- package/lib/contact-card/ContactCard.js +1 -1
- package/lib/contact-list/ContactList.js +1 -1
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.less +0 -1
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.less +1 -0
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.less +0 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/de-DE-formal.d.ts +2 -11
- package/lib/locale/lang/de-DE-formal.js +2 -11
- package/lib/locale/lang/de-DE.d.ts +2 -11
- package/lib/locale/lang/de-DE.js +2 -11
- package/lib/locale/lang/en-US.d.ts +2 -11
- package/lib/locale/lang/en-US.js +2 -11
- package/lib/locale/lang/es-ES.d.ts +2 -11
- package/lib/locale/lang/es-ES.js +2 -11
- package/lib/locale/lang/fr-FR.d.ts +2 -11
- package/lib/locale/lang/fr-FR.js +2 -11
- package/lib/locale/lang/hi-IN.d.ts +64 -0
- package/lib/locale/lang/hi-IN.js +81 -0
- package/lib/locale/lang/ja-JP.d.ts +2 -12
- package/lib/locale/lang/ja-JP.js +4 -14
- package/lib/locale/lang/ko-KR.d.ts +64 -0
- package/lib/locale/lang/ko-KR.js +81 -0
- package/lib/locale/lang/nb-NO.d.ts +2 -11
- package/lib/locale/lang/nb-NO.js +2 -11
- package/lib/locale/lang/pt-BR.d.ts +2 -11
- package/lib/locale/lang/pt-BR.js +2 -11
- package/lib/locale/lang/ro-RO.d.ts +2 -11
- package/lib/locale/lang/ro-RO.js +2 -11
- package/lib/locale/lang/ru-RU.d.ts +2 -11
- package/lib/locale/lang/ru-RU.js +2 -11
- package/lib/locale/lang/th-TH.d.ts +2 -12
- package/lib/locale/lang/th-TH.js +4 -14
- package/lib/locale/lang/tr-TR.d.ts +2 -11
- package/lib/locale/lang/tr-TR.js +2 -11
- package/lib/locale/lang/zh-CN.d.ts +2 -12
- package/lib/locale/lang/zh-CN.js +5 -15
- package/lib/locale/lang/zh-HK.d.ts +2 -12
- package/lib/locale/lang/zh-HK.js +5 -15
- package/lib/locale/lang/zh-TW.d.ts +2 -12
- package/lib/locale/lang/zh-TW.js +5 -15
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.less +0 -1
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.less +0 -1
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.less +0 -1
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.less +0 -1
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.less +0 -1
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.less +0 -1
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +6 -2
- package/lib/tag/Tag.js +1 -1
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.less +0 -1
- package/lib/tree-select/TreeSelect.js +3 -2
- package/lib/vant.cjs.js +17 -25
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +17 -25
- package/lib/vant.es.min.js +17 -25
- package/lib/vant.js +18 -25
- package/lib/vant.min.js +1 -1
- package/package.json +2 -2
- package/vetur/attributes.json +31 -31
- package/vetur/tags.json +11 -11
- package/vetur/web-types.json +89 -89
package/lib/vant.cjs.js
CHANGED
@@ -240,13 +240,12 @@ var stdin_default$1D = {
|
|
240
240
|
loading: "\u52A0\u8F7D\u4E2D...",
|
241
241
|
noCoupon: "\u6682\u65E0\u4F18\u60E0\u5238",
|
242
242
|
nameEmpty: "\u8BF7\u586B\u5199\u59D3\u540D",
|
243
|
+
addContact: "\u6DFB\u52A0\u8054\u7CFB\u4EBA",
|
243
244
|
telInvalid: "\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",
|
244
245
|
vanCalendar: {
|
245
246
|
end: "\u7ED3\u675F",
|
246
247
|
start: "\u5F00\u59CB",
|
247
248
|
title: "\u65E5\u671F\u9009\u62E9",
|
248
|
-
confirm: "\u786E\u5B9A",
|
249
|
-
startEnd: "\u5F00\u59CB/\u7ED3\u675F",
|
250
249
|
weekdays: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
251
250
|
monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
|
252
251
|
rangePrompt: (maxRange) => `\u6700\u591A\u9009\u62E9 ${maxRange} \u5929`
|
@@ -254,12 +253,6 @@ var stdin_default$1D = {
|
|
254
253
|
vanCascader: {
|
255
254
|
select: "\u8BF7\u9009\u62E9"
|
256
255
|
},
|
257
|
-
vanContactCard: {
|
258
|
-
addText: "\u6DFB\u52A0\u8054\u7CFB\u4EBA"
|
259
|
-
},
|
260
|
-
vanContactList: {
|
261
|
-
addText: "\u65B0\u5EFA\u8054\u7CFB\u4EBA"
|
262
|
-
},
|
263
256
|
vanPagination: {
|
264
257
|
prev: "\u4E0A\u4E00\u9875",
|
265
258
|
next: "\u4E0B\u4E00\u9875"
|
@@ -272,7 +265,7 @@ var stdin_default$1D = {
|
|
272
265
|
label: "\u5408\u8BA1\uFF1A"
|
273
266
|
},
|
274
267
|
vanCoupon: {
|
275
|
-
unlimited: "\u65E0\
|
268
|
+
unlimited: "\u65E0\u95E8\u69DB",
|
276
269
|
discount: (discount) => `${discount}\u6298`,
|
277
270
|
condition: (condition) => `\u6EE1${condition}\u5143\u53EF\u7528`
|
278
271
|
},
|
@@ -282,10 +275,10 @@ var stdin_default$1D = {
|
|
282
275
|
},
|
283
276
|
vanCouponList: {
|
284
277
|
exchange: "\u5151\u6362",
|
285
|
-
close: "\u4E0D\u4F7F\u7528
|
278
|
+
close: "\u4E0D\u4F7F\u7528",
|
286
279
|
enable: "\u53EF\u7528",
|
287
280
|
disabled: "\u4E0D\u53EF\u7528",
|
288
|
-
placeholder: "\
|
281
|
+
placeholder: "\u8F93\u5165\u4F18\u60E0\u7801"
|
289
282
|
},
|
290
283
|
vanAddressEdit: {
|
291
284
|
area: "\u5730\u533A",
|
@@ -293,12 +286,9 @@ var stdin_default$1D = {
|
|
293
286
|
areaEmpty: "\u8BF7\u9009\u62E9\u5730\u533A",
|
294
287
|
addressEmpty: "\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",
|
295
288
|
postalEmpty: "\u90AE\u653F\u7F16\u7801\u4E0D\u6B63\u786E",
|
289
|
+
addressDetail: "\u8BE6\u7EC6\u5730\u5740",
|
296
290
|
defaultAddress: "\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"
|
297
291
|
},
|
298
|
-
vanAddressEditDetail: {
|
299
|
-
label: "\u8BE6\u7EC6\u5730\u5740",
|
300
|
-
placeholder: "\u8857\u9053\u95E8\u724C\u4FE1\u606F"
|
301
|
-
},
|
302
292
|
vanAddressList: {
|
303
293
|
add: "\u65B0\u589E\u5730\u5740"
|
304
294
|
}
|
@@ -3326,7 +3316,8 @@ var stdin_default$1j = vue.defineComponent({
|
|
3326
3316
|
}
|
3327
3317
|
});
|
3328
3318
|
const Switch = withInstall(stdin_default$1j);
|
3329
|
-
const [name$1b, bem$17
|
3319
|
+
const [name$1b, bem$17] = createNamespace("address-edit-detail");
|
3320
|
+
const t$i = createNamespace("address-edit")[2];
|
3330
3321
|
var stdin_default$1i = vue.defineComponent({
|
3331
3322
|
name: name$1b,
|
3332
3323
|
props: {
|
@@ -3389,11 +3380,11 @@ var stdin_default$1i = vue.defineComponent({
|
|
3389
3380
|
"rows": props.rows,
|
3390
3381
|
"type": "textarea",
|
3391
3382
|
"rules": props.rules,
|
3392
|
-
"label": t$i("
|
3383
|
+
"label": t$i("addressDetail"),
|
3393
3384
|
"border": !showSearchResult(),
|
3394
3385
|
"maxlength": props.maxlength,
|
3395
3386
|
"modelValue": props.value,
|
3396
|
-
"placeholder": t$i("
|
3387
|
+
"placeholder": t$i("addressDetail"),
|
3397
3388
|
"onBlur": onBlur,
|
3398
3389
|
"onFocus": onFocus,
|
3399
3390
|
"onUpdate:modelValue": onInput
|
@@ -3793,7 +3784,7 @@ var stdin_default$1f = vue.defineComponent({
|
|
3793
3784
|
}
|
3794
3785
|
const CloseIcon = closeable && vue.createVNode(Icon, {
|
3795
3786
|
"name": "cross",
|
3796
|
-
"class": bem$14("close"),
|
3787
|
+
"class": [bem$14("close"), HAPTICS_FEEDBACK],
|
3797
3788
|
"onClick": onClose
|
3798
3789
|
}, null);
|
3799
3790
|
return vue.createVNode("span", {
|
@@ -4455,7 +4446,7 @@ var stdin_default$19 = vue.defineComponent({
|
|
4455
4446
|
return t$f(dayType);
|
4456
4447
|
}
|
4457
4448
|
if (dayType === "start-end") {
|
4458
|
-
return t$f("
|
4449
|
+
return `${t$f("start")}/${t$f("end")}`;
|
4459
4450
|
}
|
4460
4451
|
}
|
4461
4452
|
};
|
@@ -7268,7 +7259,7 @@ var stdin_default$Q = vue.defineComponent({
|
|
7268
7259
|
};
|
7269
7260
|
const renderContent = () => {
|
7270
7261
|
if (props.type === "add") {
|
7271
|
-
return props.addText || t$d("
|
7262
|
+
return props.addText || t$d("addContact");
|
7272
7263
|
}
|
7273
7264
|
return [vue.createVNode("div", null, [`${t$d("name")}\uFF1A${props.name}`]), vue.createVNode("div", null, [`${t$d("tel")}\uFF1A${props.tel}`])];
|
7274
7265
|
};
|
@@ -7461,7 +7452,7 @@ var stdin_default$O = vue.defineComponent({
|
|
7461
7452
|
"block": true,
|
7462
7453
|
"type": "danger",
|
7463
7454
|
"class": bem$H("add"),
|
7464
|
-
"text": props.addText || t$b("
|
7455
|
+
"text": props.addText || t$b("addContact"),
|
7465
7456
|
"onClick": () => emit("add")
|
7466
7457
|
}, null)])]);
|
7467
7458
|
}
|
@@ -12944,15 +12935,16 @@ var stdin_default$6 = vue.defineComponent({
|
|
12944
12935
|
};
|
12945
12936
|
const onSidebarChange = (index) => {
|
12946
12937
|
emit("update:mainActiveIndex", index);
|
12947
|
-
emit("click-nav", index);
|
12948
12938
|
};
|
12939
|
+
const onClickSidebarItem = (index) => emit("click-nav", index);
|
12949
12940
|
const renderSidebar = () => {
|
12950
12941
|
const Items = props.items.map((item) => vue.createVNode(SidebarItem, {
|
12951
12942
|
"dot": item.dot,
|
12952
12943
|
"title": item.text,
|
12953
12944
|
"badge": item.badge,
|
12954
12945
|
"class": [bem$1("nav-item"), item.className],
|
12955
|
-
"disabled": item.disabled
|
12946
|
+
"disabled": item.disabled,
|
12947
|
+
"onClick": onClickSidebarItem
|
12956
12948
|
}, null));
|
12957
12949
|
return vue.createVNode(Sidebar, {
|
12958
12950
|
"class": bem$1("nav"),
|
@@ -14239,7 +14231,7 @@ const Lazyload = {
|
|
14239
14231
|
});
|
14240
14232
|
}
|
14241
14233
|
};
|
14242
|
-
const version = "3.4.
|
14234
|
+
const version = "3.4.3";
|
14243
14235
|
function install(app) {
|
14244
14236
|
const components = [
|
14245
14237
|
ActionBar,
|