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.es.js
CHANGED
@@ -237,13 +237,12 @@ var stdin_default$1D = {
|
|
237
237
|
loading: "\u52A0\u8F7D\u4E2D...",
|
238
238
|
noCoupon: "\u6682\u65E0\u4F18\u60E0\u5238",
|
239
239
|
nameEmpty: "\u8BF7\u586B\u5199\u59D3\u540D",
|
240
|
+
addContact: "\u6DFB\u52A0\u8054\u7CFB\u4EBA",
|
240
241
|
telInvalid: "\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",
|
241
242
|
vanCalendar: {
|
242
243
|
end: "\u7ED3\u675F",
|
243
244
|
start: "\u5F00\u59CB",
|
244
245
|
title: "\u65E5\u671F\u9009\u62E9",
|
245
|
-
confirm: "\u786E\u5B9A",
|
246
|
-
startEnd: "\u5F00\u59CB/\u7ED3\u675F",
|
247
246
|
weekdays: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
248
247
|
monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
|
249
248
|
rangePrompt: (maxRange) => `\u6700\u591A\u9009\u62E9 ${maxRange} \u5929`
|
@@ -251,12 +250,6 @@ var stdin_default$1D = {
|
|
251
250
|
vanCascader: {
|
252
251
|
select: "\u8BF7\u9009\u62E9"
|
253
252
|
},
|
254
|
-
vanContactCard: {
|
255
|
-
addText: "\u6DFB\u52A0\u8054\u7CFB\u4EBA"
|
256
|
-
},
|
257
|
-
vanContactList: {
|
258
|
-
addText: "\u65B0\u5EFA\u8054\u7CFB\u4EBA"
|
259
|
-
},
|
260
253
|
vanPagination: {
|
261
254
|
prev: "\u4E0A\u4E00\u9875",
|
262
255
|
next: "\u4E0B\u4E00\u9875"
|
@@ -269,7 +262,7 @@ var stdin_default$1D = {
|
|
269
262
|
label: "\u5408\u8BA1\uFF1A"
|
270
263
|
},
|
271
264
|
vanCoupon: {
|
272
|
-
unlimited: "\u65E0\
|
265
|
+
unlimited: "\u65E0\u95E8\u69DB",
|
273
266
|
discount: (discount) => `${discount}\u6298`,
|
274
267
|
condition: (condition) => `\u6EE1${condition}\u5143\u53EF\u7528`
|
275
268
|
},
|
@@ -279,10 +272,10 @@ var stdin_default$1D = {
|
|
279
272
|
},
|
280
273
|
vanCouponList: {
|
281
274
|
exchange: "\u5151\u6362",
|
282
|
-
close: "\u4E0D\u4F7F\u7528
|
275
|
+
close: "\u4E0D\u4F7F\u7528",
|
283
276
|
enable: "\u53EF\u7528",
|
284
277
|
disabled: "\u4E0D\u53EF\u7528",
|
285
|
-
placeholder: "\
|
278
|
+
placeholder: "\u8F93\u5165\u4F18\u60E0\u7801"
|
286
279
|
},
|
287
280
|
vanAddressEdit: {
|
288
281
|
area: "\u5730\u533A",
|
@@ -290,12 +283,9 @@ var stdin_default$1D = {
|
|
290
283
|
areaEmpty: "\u8BF7\u9009\u62E9\u5730\u533A",
|
291
284
|
addressEmpty: "\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",
|
292
285
|
postalEmpty: "\u90AE\u653F\u7F16\u7801\u4E0D\u6B63\u786E",
|
286
|
+
addressDetail: "\u8BE6\u7EC6\u5730\u5740",
|
293
287
|
defaultAddress: "\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"
|
294
288
|
},
|
295
|
-
vanAddressEditDetail: {
|
296
|
-
label: "\u8BE6\u7EC6\u5730\u5740",
|
297
|
-
placeholder: "\u8857\u9053\u95E8\u724C\u4FE1\u606F"
|
298
|
-
},
|
299
289
|
vanAddressList: {
|
300
290
|
add: "\u65B0\u589E\u5730\u5740"
|
301
291
|
}
|
@@ -3323,7 +3313,8 @@ var stdin_default$1j = defineComponent({
|
|
3323
3313
|
}
|
3324
3314
|
});
|
3325
3315
|
const Switch = withInstall(stdin_default$1j);
|
3326
|
-
const [name$1b, bem$17
|
3316
|
+
const [name$1b, bem$17] = createNamespace("address-edit-detail");
|
3317
|
+
const t$i = createNamespace("address-edit")[2];
|
3327
3318
|
var stdin_default$1i = defineComponent({
|
3328
3319
|
name: name$1b,
|
3329
3320
|
props: {
|
@@ -3386,11 +3377,11 @@ var stdin_default$1i = defineComponent({
|
|
3386
3377
|
"rows": props.rows,
|
3387
3378
|
"type": "textarea",
|
3388
3379
|
"rules": props.rules,
|
3389
|
-
"label": t$i("
|
3380
|
+
"label": t$i("addressDetail"),
|
3390
3381
|
"border": !showSearchResult(),
|
3391
3382
|
"maxlength": props.maxlength,
|
3392
3383
|
"modelValue": props.value,
|
3393
|
-
"placeholder": t$i("
|
3384
|
+
"placeholder": t$i("addressDetail"),
|
3394
3385
|
"onBlur": onBlur,
|
3395
3386
|
"onFocus": onFocus,
|
3396
3387
|
"onUpdate:modelValue": onInput
|
@@ -3790,7 +3781,7 @@ var stdin_default$1f = defineComponent({
|
|
3790
3781
|
}
|
3791
3782
|
const CloseIcon = closeable && createVNode(Icon, {
|
3792
3783
|
"name": "cross",
|
3793
|
-
"class": bem$14("close"),
|
3784
|
+
"class": [bem$14("close"), HAPTICS_FEEDBACK],
|
3794
3785
|
"onClick": onClose
|
3795
3786
|
}, null);
|
3796
3787
|
return createVNode("span", {
|
@@ -4452,7 +4443,7 @@ var stdin_default$19 = defineComponent({
|
|
4452
4443
|
return t$f(dayType);
|
4453
4444
|
}
|
4454
4445
|
if (dayType === "start-end") {
|
4455
|
-
return t$f("
|
4446
|
+
return `${t$f("start")}/${t$f("end")}`;
|
4456
4447
|
}
|
4457
4448
|
}
|
4458
4449
|
};
|
@@ -7265,7 +7256,7 @@ var stdin_default$Q = defineComponent({
|
|
7265
7256
|
};
|
7266
7257
|
const renderContent = () => {
|
7267
7258
|
if (props.type === "add") {
|
7268
|
-
return props.addText || t$d("
|
7259
|
+
return props.addText || t$d("addContact");
|
7269
7260
|
}
|
7270
7261
|
return [createVNode("div", null, [`${t$d("name")}\uFF1A${props.name}`]), createVNode("div", null, [`${t$d("tel")}\uFF1A${props.tel}`])];
|
7271
7262
|
};
|
@@ -7458,7 +7449,7 @@ var stdin_default$O = defineComponent({
|
|
7458
7449
|
"block": true,
|
7459
7450
|
"type": "danger",
|
7460
7451
|
"class": bem$H("add"),
|
7461
|
-
"text": props.addText || t$b("
|
7452
|
+
"text": props.addText || t$b("addContact"),
|
7462
7453
|
"onClick": () => emit("add")
|
7463
7454
|
}, null)])]);
|
7464
7455
|
}
|
@@ -12941,15 +12932,16 @@ var stdin_default$6 = defineComponent({
|
|
12941
12932
|
};
|
12942
12933
|
const onSidebarChange = (index) => {
|
12943
12934
|
emit("update:mainActiveIndex", index);
|
12944
|
-
emit("click-nav", index);
|
12945
12935
|
};
|
12936
|
+
const onClickSidebarItem = (index) => emit("click-nav", index);
|
12946
12937
|
const renderSidebar = () => {
|
12947
12938
|
const Items = props.items.map((item) => createVNode(SidebarItem, {
|
12948
12939
|
"dot": item.dot,
|
12949
12940
|
"title": item.text,
|
12950
12941
|
"badge": item.badge,
|
12951
12942
|
"class": [bem$1("nav-item"), item.className],
|
12952
|
-
"disabled": item.disabled
|
12943
|
+
"disabled": item.disabled,
|
12944
|
+
"onClick": onClickSidebarItem
|
12953
12945
|
}, null));
|
12954
12946
|
return createVNode(Sidebar, {
|
12955
12947
|
"class": bem$1("nav"),
|
@@ -14236,7 +14228,7 @@ const Lazyload = {
|
|
14236
14228
|
});
|
14237
14229
|
}
|
14238
14230
|
};
|
14239
|
-
const version = "3.4.
|
14231
|
+
const version = "3.4.3";
|
14240
14232
|
function install(app) {
|
14241
14233
|
const components = [
|
14242
14234
|
ActionBar,
|
package/lib/vant.es.min.js
CHANGED
@@ -237,13 +237,12 @@ var stdin_default$1D = {
|
|
237
237
|
loading: "\u52A0\u8F7D\u4E2D...",
|
238
238
|
noCoupon: "\u6682\u65E0\u4F18\u60E0\u5238",
|
239
239
|
nameEmpty: "\u8BF7\u586B\u5199\u59D3\u540D",
|
240
|
+
addContact: "\u6DFB\u52A0\u8054\u7CFB\u4EBA",
|
240
241
|
telInvalid: "\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",
|
241
242
|
vanCalendar: {
|
242
243
|
end: "\u7ED3\u675F",
|
243
244
|
start: "\u5F00\u59CB",
|
244
245
|
title: "\u65E5\u671F\u9009\u62E9",
|
245
|
-
confirm: "\u786E\u5B9A",
|
246
|
-
startEnd: "\u5F00\u59CB/\u7ED3\u675F",
|
247
246
|
weekdays: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
248
247
|
monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
|
249
248
|
rangePrompt: (maxRange) => `\u6700\u591A\u9009\u62E9 ${maxRange} \u5929`
|
@@ -251,12 +250,6 @@ var stdin_default$1D = {
|
|
251
250
|
vanCascader: {
|
252
251
|
select: "\u8BF7\u9009\u62E9"
|
253
252
|
},
|
254
|
-
vanContactCard: {
|
255
|
-
addText: "\u6DFB\u52A0\u8054\u7CFB\u4EBA"
|
256
|
-
},
|
257
|
-
vanContactList: {
|
258
|
-
addText: "\u65B0\u5EFA\u8054\u7CFB\u4EBA"
|
259
|
-
},
|
260
253
|
vanPagination: {
|
261
254
|
prev: "\u4E0A\u4E00\u9875",
|
262
255
|
next: "\u4E0B\u4E00\u9875"
|
@@ -269,7 +262,7 @@ var stdin_default$1D = {
|
|
269
262
|
label: "\u5408\u8BA1\uFF1A"
|
270
263
|
},
|
271
264
|
vanCoupon: {
|
272
|
-
unlimited: "\u65E0\
|
265
|
+
unlimited: "\u65E0\u95E8\u69DB",
|
273
266
|
discount: (discount) => `${discount}\u6298`,
|
274
267
|
condition: (condition) => `\u6EE1${condition}\u5143\u53EF\u7528`
|
275
268
|
},
|
@@ -279,10 +272,10 @@ var stdin_default$1D = {
|
|
279
272
|
},
|
280
273
|
vanCouponList: {
|
281
274
|
exchange: "\u5151\u6362",
|
282
|
-
close: "\u4E0D\u4F7F\u7528
|
275
|
+
close: "\u4E0D\u4F7F\u7528",
|
283
276
|
enable: "\u53EF\u7528",
|
284
277
|
disabled: "\u4E0D\u53EF\u7528",
|
285
|
-
placeholder: "\
|
278
|
+
placeholder: "\u8F93\u5165\u4F18\u60E0\u7801"
|
286
279
|
},
|
287
280
|
vanAddressEdit: {
|
288
281
|
area: "\u5730\u533A",
|
@@ -290,12 +283,9 @@ var stdin_default$1D = {
|
|
290
283
|
areaEmpty: "\u8BF7\u9009\u62E9\u5730\u533A",
|
291
284
|
addressEmpty: "\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",
|
292
285
|
postalEmpty: "\u90AE\u653F\u7F16\u7801\u4E0D\u6B63\u786E",
|
286
|
+
addressDetail: "\u8BE6\u7EC6\u5730\u5740",
|
293
287
|
defaultAddress: "\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"
|
294
288
|
},
|
295
|
-
vanAddressEditDetail: {
|
296
|
-
label: "\u8BE6\u7EC6\u5730\u5740",
|
297
|
-
placeholder: "\u8857\u9053\u95E8\u724C\u4FE1\u606F"
|
298
|
-
},
|
299
289
|
vanAddressList: {
|
300
290
|
add: "\u65B0\u589E\u5730\u5740"
|
301
291
|
}
|
@@ -3323,7 +3313,8 @@ var stdin_default$1j = defineComponent({
|
|
3323
3313
|
}
|
3324
3314
|
});
|
3325
3315
|
const Switch = withInstall(stdin_default$1j);
|
3326
|
-
const [name$1b, bem$17
|
3316
|
+
const [name$1b, bem$17] = createNamespace("address-edit-detail");
|
3317
|
+
const t$i = createNamespace("address-edit")[2];
|
3327
3318
|
var stdin_default$1i = defineComponent({
|
3328
3319
|
name: name$1b,
|
3329
3320
|
props: {
|
@@ -3386,11 +3377,11 @@ var stdin_default$1i = defineComponent({
|
|
3386
3377
|
"rows": props.rows,
|
3387
3378
|
"type": "textarea",
|
3388
3379
|
"rules": props.rules,
|
3389
|
-
"label": t$i("
|
3380
|
+
"label": t$i("addressDetail"),
|
3390
3381
|
"border": !showSearchResult(),
|
3391
3382
|
"maxlength": props.maxlength,
|
3392
3383
|
"modelValue": props.value,
|
3393
|
-
"placeholder": t$i("
|
3384
|
+
"placeholder": t$i("addressDetail"),
|
3394
3385
|
"onBlur": onBlur,
|
3395
3386
|
"onFocus": onFocus,
|
3396
3387
|
"onUpdate:modelValue": onInput
|
@@ -3790,7 +3781,7 @@ var stdin_default$1f = defineComponent({
|
|
3790
3781
|
}
|
3791
3782
|
const CloseIcon = closeable && createVNode(Icon, {
|
3792
3783
|
"name": "cross",
|
3793
|
-
"class": bem$14("close"),
|
3784
|
+
"class": [bem$14("close"), HAPTICS_FEEDBACK],
|
3794
3785
|
"onClick": onClose
|
3795
3786
|
}, null);
|
3796
3787
|
return createVNode("span", {
|
@@ -4452,7 +4443,7 @@ var stdin_default$19 = defineComponent({
|
|
4452
4443
|
return t$f(dayType);
|
4453
4444
|
}
|
4454
4445
|
if (dayType === "start-end") {
|
4455
|
-
return t$f("
|
4446
|
+
return `${t$f("start")}/${t$f("end")}`;
|
4456
4447
|
}
|
4457
4448
|
}
|
4458
4449
|
};
|
@@ -7265,7 +7256,7 @@ var stdin_default$Q = defineComponent({
|
|
7265
7256
|
};
|
7266
7257
|
const renderContent = () => {
|
7267
7258
|
if (props.type === "add") {
|
7268
|
-
return props.addText || t$d("
|
7259
|
+
return props.addText || t$d("addContact");
|
7269
7260
|
}
|
7270
7261
|
return [createVNode("div", null, [`${t$d("name")}\uFF1A${props.name}`]), createVNode("div", null, [`${t$d("tel")}\uFF1A${props.tel}`])];
|
7271
7262
|
};
|
@@ -7458,7 +7449,7 @@ var stdin_default$O = defineComponent({
|
|
7458
7449
|
"block": true,
|
7459
7450
|
"type": "danger",
|
7460
7451
|
"class": bem$H("add"),
|
7461
|
-
"text": props.addText || t$b("
|
7452
|
+
"text": props.addText || t$b("addContact"),
|
7462
7453
|
"onClick": () => emit("add")
|
7463
7454
|
}, null)])]);
|
7464
7455
|
}
|
@@ -12941,15 +12932,16 @@ var stdin_default$6 = defineComponent({
|
|
12941
12932
|
};
|
12942
12933
|
const onSidebarChange = (index) => {
|
12943
12934
|
emit("update:mainActiveIndex", index);
|
12944
|
-
emit("click-nav", index);
|
12945
12935
|
};
|
12936
|
+
const onClickSidebarItem = (index) => emit("click-nav", index);
|
12946
12937
|
const renderSidebar = () => {
|
12947
12938
|
const Items = props.items.map((item) => createVNode(SidebarItem, {
|
12948
12939
|
"dot": item.dot,
|
12949
12940
|
"title": item.text,
|
12950
12941
|
"badge": item.badge,
|
12951
12942
|
"class": [bem$1("nav-item"), item.className],
|
12952
|
-
"disabled": item.disabled
|
12943
|
+
"disabled": item.disabled,
|
12944
|
+
"onClick": onClickSidebarItem
|
12953
12945
|
}, null));
|
12954
12946
|
return createVNode(Sidebar, {
|
12955
12947
|
"class": bem$1("nav"),
|
@@ -14236,7 +14228,7 @@ const Lazyload = {
|
|
14236
14228
|
});
|
14237
14229
|
}
|
14238
14230
|
};
|
14239
|
-
const version = "3.4.
|
14231
|
+
const version = "3.4.3";
|
14240
14232
|
function install(app) {
|
14241
14233
|
const components = [
|
14242
14234
|
ActionBar,
|
package/lib/vant.js
CHANGED
@@ -116,6 +116,7 @@
|
|
116
116
|
if (vue.isVNode(child)) {
|
117
117
|
result.push(child);
|
118
118
|
if ((_a = child.component) == null ? void 0 : _a.subTree) {
|
119
|
+
result.push(child.component.subTree);
|
119
120
|
traverse(child.component.subTree.children);
|
120
121
|
}
|
121
122
|
if (child.children) {
|
@@ -590,13 +591,12 @@
|
|
590
591
|
loading: "\u52A0\u8F7D\u4E2D...",
|
591
592
|
noCoupon: "\u6682\u65E0\u4F18\u60E0\u5238",
|
592
593
|
nameEmpty: "\u8BF7\u586B\u5199\u59D3\u540D",
|
594
|
+
addContact: "\u6DFB\u52A0\u8054\u7CFB\u4EBA",
|
593
595
|
telInvalid: "\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",
|
594
596
|
vanCalendar: {
|
595
597
|
end: "\u7ED3\u675F",
|
596
598
|
start: "\u5F00\u59CB",
|
597
599
|
title: "\u65E5\u671F\u9009\u62E9",
|
598
|
-
confirm: "\u786E\u5B9A",
|
599
|
-
startEnd: "\u5F00\u59CB/\u7ED3\u675F",
|
600
600
|
weekdays: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
601
601
|
monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
|
602
602
|
rangePrompt: (maxRange) => `\u6700\u591A\u9009\u62E9 ${maxRange} \u5929`
|
@@ -604,12 +604,6 @@
|
|
604
604
|
vanCascader: {
|
605
605
|
select: "\u8BF7\u9009\u62E9"
|
606
606
|
},
|
607
|
-
vanContactCard: {
|
608
|
-
addText: "\u6DFB\u52A0\u8054\u7CFB\u4EBA"
|
609
|
-
},
|
610
|
-
vanContactList: {
|
611
|
-
addText: "\u65B0\u5EFA\u8054\u7CFB\u4EBA"
|
612
|
-
},
|
613
607
|
vanPagination: {
|
614
608
|
prev: "\u4E0A\u4E00\u9875",
|
615
609
|
next: "\u4E0B\u4E00\u9875"
|
@@ -622,7 +616,7 @@
|
|
622
616
|
label: "\u5408\u8BA1\uFF1A"
|
623
617
|
},
|
624
618
|
vanCoupon: {
|
625
|
-
unlimited: "\u65E0\
|
619
|
+
unlimited: "\u65E0\u95E8\u69DB",
|
626
620
|
discount: (discount) => `${discount}\u6298`,
|
627
621
|
condition: (condition) => `\u6EE1${condition}\u5143\u53EF\u7528`
|
628
622
|
},
|
@@ -632,10 +626,10 @@
|
|
632
626
|
},
|
633
627
|
vanCouponList: {
|
634
628
|
exchange: "\u5151\u6362",
|
635
|
-
close: "\u4E0D\u4F7F\u7528
|
629
|
+
close: "\u4E0D\u4F7F\u7528",
|
636
630
|
enable: "\u53EF\u7528",
|
637
631
|
disabled: "\u4E0D\u53EF\u7528",
|
638
|
-
placeholder: "\
|
632
|
+
placeholder: "\u8F93\u5165\u4F18\u60E0\u7801"
|
639
633
|
},
|
640
634
|
vanAddressEdit: {
|
641
635
|
area: "\u5730\u533A",
|
@@ -643,12 +637,9 @@
|
|
643
637
|
areaEmpty: "\u8BF7\u9009\u62E9\u5730\u533A",
|
644
638
|
addressEmpty: "\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",
|
645
639
|
postalEmpty: "\u90AE\u653F\u7F16\u7801\u4E0D\u6B63\u786E",
|
640
|
+
addressDetail: "\u8BE6\u7EC6\u5730\u5740",
|
646
641
|
defaultAddress: "\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"
|
647
642
|
},
|
648
|
-
vanAddressEditDetail: {
|
649
|
-
label: "\u8BE6\u7EC6\u5730\u5740",
|
650
|
-
placeholder: "\u8857\u9053\u95E8\u724C\u4FE1\u606F"
|
651
|
-
},
|
652
643
|
vanAddressList: {
|
653
644
|
add: "\u65B0\u589E\u5730\u5740"
|
654
645
|
}
|
@@ -3676,7 +3667,8 @@
|
|
3676
3667
|
}
|
3677
3668
|
});
|
3678
3669
|
const Switch = withInstall(stdin_default$1j);
|
3679
|
-
const [name$1b, bem$17
|
3670
|
+
const [name$1b, bem$17] = createNamespace("address-edit-detail");
|
3671
|
+
const t$i = createNamespace("address-edit")[2];
|
3680
3672
|
var stdin_default$1i = vue.defineComponent({
|
3681
3673
|
name: name$1b,
|
3682
3674
|
props: {
|
@@ -3739,11 +3731,11 @@
|
|
3739
3731
|
"rows": props.rows,
|
3740
3732
|
"type": "textarea",
|
3741
3733
|
"rules": props.rules,
|
3742
|
-
"label": t$i("
|
3734
|
+
"label": t$i("addressDetail"),
|
3743
3735
|
"border": !showSearchResult(),
|
3744
3736
|
"maxlength": props.maxlength,
|
3745
3737
|
"modelValue": props.value,
|
3746
|
-
"placeholder": t$i("
|
3738
|
+
"placeholder": t$i("addressDetail"),
|
3747
3739
|
"onBlur": onBlur,
|
3748
3740
|
"onFocus": onFocus,
|
3749
3741
|
"onUpdate:modelValue": onInput
|
@@ -4143,7 +4135,7 @@
|
|
4143
4135
|
}
|
4144
4136
|
const CloseIcon = closeable && vue.createVNode(Icon, {
|
4145
4137
|
"name": "cross",
|
4146
|
-
"class": bem$14("close"),
|
4138
|
+
"class": [bem$14("close"), HAPTICS_FEEDBACK],
|
4147
4139
|
"onClick": onClose
|
4148
4140
|
}, null);
|
4149
4141
|
return vue.createVNode("span", {
|
@@ -4805,7 +4797,7 @@
|
|
4805
4797
|
return t$f(dayType);
|
4806
4798
|
}
|
4807
4799
|
if (dayType === "start-end") {
|
4808
|
-
return t$f("
|
4800
|
+
return `${t$f("start")}/${t$f("end")}`;
|
4809
4801
|
}
|
4810
4802
|
}
|
4811
4803
|
};
|
@@ -7618,7 +7610,7 @@
|
|
7618
7610
|
};
|
7619
7611
|
const renderContent = () => {
|
7620
7612
|
if (props.type === "add") {
|
7621
|
-
return props.addText || t$d("
|
7613
|
+
return props.addText || t$d("addContact");
|
7622
7614
|
}
|
7623
7615
|
return [vue.createVNode("div", null, [`${t$d("name")}\uFF1A${props.name}`]), vue.createVNode("div", null, [`${t$d("tel")}\uFF1A${props.tel}`])];
|
7624
7616
|
};
|
@@ -7811,7 +7803,7 @@
|
|
7811
7803
|
"block": true,
|
7812
7804
|
"type": "danger",
|
7813
7805
|
"class": bem$H("add"),
|
7814
|
-
"text": props.addText || t$b("
|
7806
|
+
"text": props.addText || t$b("addContact"),
|
7815
7807
|
"onClick": () => emit("add")
|
7816
7808
|
}, null)])]);
|
7817
7809
|
}
|
@@ -14151,15 +14143,16 @@
|
|
14151
14143
|
};
|
14152
14144
|
const onSidebarChange = (index) => {
|
14153
14145
|
emit("update:mainActiveIndex", index);
|
14154
|
-
emit("click-nav", index);
|
14155
14146
|
};
|
14147
|
+
const onClickSidebarItem = (index) => emit("click-nav", index);
|
14156
14148
|
const renderSidebar = () => {
|
14157
14149
|
const Items = props.items.map((item) => vue.createVNode(SidebarItem, {
|
14158
14150
|
"dot": item.dot,
|
14159
14151
|
"title": item.text,
|
14160
14152
|
"badge": item.badge,
|
14161
14153
|
"class": [bem$1("nav-item"), item.className],
|
14162
|
-
"disabled": item.disabled
|
14154
|
+
"disabled": item.disabled,
|
14155
|
+
"onClick": onClickSidebarItem
|
14163
14156
|
}, null));
|
14164
14157
|
return vue.createVNode(Sidebar, {
|
14165
14158
|
"class": bem$1("nav"),
|
@@ -15446,7 +15439,7 @@
|
|
15446
15439
|
});
|
15447
15440
|
}
|
15448
15441
|
};
|
15449
|
-
const version = "3.4.
|
15442
|
+
const version = "3.4.3";
|
15450
15443
|
function install(app) {
|
15451
15444
|
const components = [
|
15452
15445
|
ActionBar,
|