vant 4.9.16 → 4.9.17
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/AddressEdit.mjs +0 -1
- package/es/address-edit/types.d.ts +0 -1
- package/es/field/Field.mjs +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/lang/pl-PL.d.ts +63 -0
- package/es/locale/lang/pl-PL.mjs +65 -0
- package/lib/address-edit/AddressEdit.js +0 -1
- package/lib/address-edit/types.d.ts +0 -1
- package/lib/field/Field.js +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/pl-PL.d.ts +63 -0
- package/lib/locale/lang/pl-PL.js +84 -0
- package/lib/vant.cjs.js +5 -4
- package/lib/vant.es.js +5 -4
- package/lib/vant.js +5 -4
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +4 -4
package/es/field/Field.mjs
CHANGED
@@ -225,7 +225,9 @@ var stdin_default = defineComponent({
|
|
225
225
|
value = formatNumber(value, isNumber, isNumber);
|
226
226
|
if (trigger === "onBlur" && value !== "" && (props.min !== void 0 || props.max !== void 0)) {
|
227
227
|
const adjustedValue = clamp(+value, (_a = props.min) != null ? _a : -Infinity, (_b = props.max) != null ? _b : Infinity);
|
228
|
-
value
|
228
|
+
if (+value !== adjustedValue) {
|
229
|
+
value = adjustedValue.toString();
|
230
|
+
}
|
229
231
|
}
|
230
232
|
}
|
231
233
|
let formatterDiffLen = 0;
|
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.17";
|
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,65 @@
|
|
1
|
+
var stdin_default = {
|
2
|
+
name: "Nazwisko",
|
3
|
+
tel: "Telefon",
|
4
|
+
save: "Zapisz",
|
5
|
+
clear: "Wyczy\u015B\u0107",
|
6
|
+
cancel: "Anuluj",
|
7
|
+
confirm: "Potwierd\u017A",
|
8
|
+
delete: "Usu\u0144",
|
9
|
+
loading: "\u0141adowanie...",
|
10
|
+
noCoupon: "Brak kupon\xF3w",
|
11
|
+
nameEmpty: "Wprowad\u017A nazwisko",
|
12
|
+
addContact: "Dodaj kontakt",
|
13
|
+
telInvalid: "Nieprawid\u0142owy numer telefonu",
|
14
|
+
vanCalendar: {
|
15
|
+
end: "Koniec",
|
16
|
+
start: "Start",
|
17
|
+
title: "Kalendarz",
|
18
|
+
weekdays: ["Nie", "Pon", "Wto", "\u015Aro", "Czw", "Pi\u0105", "Sob"],
|
19
|
+
monthTitle: (year, month) => `${year}/${month}`,
|
20
|
+
rangePrompt: (maxRange) => `Wybierz nie wi\u0119cej ni\u017C ${maxRange} dni`
|
21
|
+
},
|
22
|
+
vanCascader: {
|
23
|
+
select: "Wybierz"
|
24
|
+
},
|
25
|
+
vanPagination: {
|
26
|
+
prev: "Poprzednia",
|
27
|
+
next: "Nast\u0119pna"
|
28
|
+
},
|
29
|
+
vanPullRefresh: {
|
30
|
+
pulling: "Poci\u0105gnij aby od\u015Bwie\u017Cy\u0107...",
|
31
|
+
loosing: "Pu\u015B\u0107 aby od\u015Bwie\u017Cy\u0107..."
|
32
|
+
},
|
33
|
+
vanSubmitBar: {
|
34
|
+
label: "Suma:"
|
35
|
+
},
|
36
|
+
vanCoupon: {
|
37
|
+
unlimited: "Unlimited",
|
38
|
+
discount: (discount) => `${discount * 10}% zni\u017Cki`,
|
39
|
+
condition: (condition) => `Przynajmniej ${condition}`
|
40
|
+
},
|
41
|
+
vanCouponCell: {
|
42
|
+
title: "Kupon",
|
43
|
+
count: (count) => `Aktywnych kupon\xF3w: ${count}`
|
44
|
+
},
|
45
|
+
vanCouponList: {
|
46
|
+
exchange: "U\u017Cyj",
|
47
|
+
close: "Zamknij",
|
48
|
+
enable: "Dost\u0119pne",
|
49
|
+
disabled: "Niedost\u0119pne",
|
50
|
+
placeholder: "Kod kuponu"
|
51
|
+
},
|
52
|
+
vanAddressEdit: {
|
53
|
+
area: "Obszar",
|
54
|
+
areaEmpty: "Wybierz obszar",
|
55
|
+
addressEmpty: "Adres nie mo\u017Ce by\u0107 pusty",
|
56
|
+
addressDetail: "Adres",
|
57
|
+
defaultAddress: "Ustaw jako domy\u015Blny adres"
|
58
|
+
},
|
59
|
+
vanAddressList: {
|
60
|
+
add: "Dodaj nowy adres"
|
61
|
+
}
|
62
|
+
};
|
63
|
+
export {
|
64
|
+
stdin_default as default
|
65
|
+
};
|
package/lib/field/Field.js
CHANGED
@@ -249,7 +249,9 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
249
249
|
value = (0, import_utils.formatNumber)(value, isNumber, isNumber);
|
250
250
|
if (trigger === "onBlur" && value !== "" && (props.min !== void 0 || props.max !== void 0)) {
|
251
251
|
const adjustedValue = (0, import_utils.clamp)(+value, (_a = props.min) != null ? _a : -Infinity, (_b = props.max) != null ? _b : Infinity);
|
252
|
-
value
|
252
|
+
if (+value !== adjustedValue) {
|
253
|
+
value = adjustedValue.toString();
|
254
|
+
}
|
253
255
|
}
|
254
256
|
}
|
255
257
|
let formatterDiffLen = 0;
|
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.17";
|
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,84 @@
|
|
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: "Nazwisko",
|
25
|
+
tel: "Telefon",
|
26
|
+
save: "Zapisz",
|
27
|
+
clear: "Wyczy\u015B\u0107",
|
28
|
+
cancel: "Anuluj",
|
29
|
+
confirm: "Potwierd\u017A",
|
30
|
+
delete: "Usu\u0144",
|
31
|
+
loading: "\u0141adowanie...",
|
32
|
+
noCoupon: "Brak kupon\xF3w",
|
33
|
+
nameEmpty: "Wprowad\u017A nazwisko",
|
34
|
+
addContact: "Dodaj kontakt",
|
35
|
+
telInvalid: "Nieprawid\u0142owy numer telefonu",
|
36
|
+
vanCalendar: {
|
37
|
+
end: "Koniec",
|
38
|
+
start: "Start",
|
39
|
+
title: "Kalendarz",
|
40
|
+
weekdays: ["Nie", "Pon", "Wto", "\u015Aro", "Czw", "Pi\u0105", "Sob"],
|
41
|
+
monthTitle: (year, month) => `${year}/${month}`,
|
42
|
+
rangePrompt: (maxRange) => `Wybierz nie wi\u0119cej ni\u017C ${maxRange} dni`
|
43
|
+
},
|
44
|
+
vanCascader: {
|
45
|
+
select: "Wybierz"
|
46
|
+
},
|
47
|
+
vanPagination: {
|
48
|
+
prev: "Poprzednia",
|
49
|
+
next: "Nast\u0119pna"
|
50
|
+
},
|
51
|
+
vanPullRefresh: {
|
52
|
+
pulling: "Poci\u0105gnij aby od\u015Bwie\u017Cy\u0107...",
|
53
|
+
loosing: "Pu\u015B\u0107 aby od\u015Bwie\u017Cy\u0107..."
|
54
|
+
},
|
55
|
+
vanSubmitBar: {
|
56
|
+
label: "Suma:"
|
57
|
+
},
|
58
|
+
vanCoupon: {
|
59
|
+
unlimited: "Unlimited",
|
60
|
+
discount: (discount) => `${discount * 10}% zni\u017Cki`,
|
61
|
+
condition: (condition) => `Przynajmniej ${condition}`
|
62
|
+
},
|
63
|
+
vanCouponCell: {
|
64
|
+
title: "Kupon",
|
65
|
+
count: (count) => `Aktywnych kupon\xF3w: ${count}`
|
66
|
+
},
|
67
|
+
vanCouponList: {
|
68
|
+
exchange: "U\u017Cyj",
|
69
|
+
close: "Zamknij",
|
70
|
+
enable: "Dost\u0119pne",
|
71
|
+
disabled: "Niedost\u0119pne",
|
72
|
+
placeholder: "Kod kuponu"
|
73
|
+
},
|
74
|
+
vanAddressEdit: {
|
75
|
+
area: "Obszar",
|
76
|
+
areaEmpty: "Wybierz obszar",
|
77
|
+
addressEmpty: "Adres nie mo\u017Ce by\u0107 pusty",
|
78
|
+
addressDetail: "Adres",
|
79
|
+
defaultAddress: "Ustaw jako domy\u015Blny adres"
|
80
|
+
},
|
81
|
+
vanAddressList: {
|
82
|
+
add: "Dodaj nowy adres"
|
83
|
+
}
|
84
|
+
};
|
package/lib/vant.cjs.js
CHANGED
@@ -2029,7 +2029,7 @@ function scrollTopTo(scroller, to, duration, callback) {
|
|
2029
2029
|
setScrollTop(scroller, current2);
|
2030
2030
|
if (isDown && current2 < to || !isDown && current2 > to) {
|
2031
2031
|
rafId = use.raf(animate);
|
2032
|
-
} else
|
2032
|
+
} else {
|
2033
2033
|
rafId = use.raf(callback);
|
2034
2034
|
}
|
2035
2035
|
}
|
@@ -4291,7 +4291,9 @@ var stdin_default$1v = vue.defineComponent({
|
|
4291
4291
|
value = formatNumber(value, isNumber, isNumber);
|
4292
4292
|
if (trigger === "onBlur" && value !== "" && (props2.min !== void 0 || props2.max !== void 0)) {
|
4293
4293
|
const adjustedValue = clamp(+value, (_a = props2.min) != null ? _a : -Infinity, (_b = props2.max) != null ? _b : Infinity);
|
4294
|
-
value
|
4294
|
+
if (+value !== adjustedValue) {
|
4295
|
+
value = adjustedValue.toString();
|
4296
|
+
}
|
4295
4297
|
}
|
4296
4298
|
}
|
4297
4299
|
let formatterDiffLen = 0;
|
@@ -5051,7 +5053,6 @@ const DEFAULT_DATA = {
|
|
5051
5053
|
tel: "",
|
5052
5054
|
city: "",
|
5053
5055
|
county: "",
|
5054
|
-
country: "",
|
5055
5056
|
province: "",
|
5056
5057
|
areaCode: "",
|
5057
5058
|
isDefault: false,
|
@@ -17076,7 +17077,7 @@ const Lazyload = {
|
|
17076
17077
|
});
|
17077
17078
|
}
|
17078
17079
|
};
|
17079
|
-
const version = "4.9.
|
17080
|
+
const version = "4.9.17";
|
17080
17081
|
function install(app) {
|
17081
17082
|
const components = [
|
17082
17083
|
ActionBar,
|
package/lib/vant.es.js
CHANGED
@@ -2027,7 +2027,7 @@ function scrollTopTo(scroller, to, duration, callback) {
|
|
2027
2027
|
setScrollTop(scroller, current2);
|
2028
2028
|
if (isDown && current2 < to || !isDown && current2 > to) {
|
2029
2029
|
rafId = raf(animate);
|
2030
|
-
} else
|
2030
|
+
} else {
|
2031
2031
|
rafId = raf(callback);
|
2032
2032
|
}
|
2033
2033
|
}
|
@@ -4289,7 +4289,9 @@ var stdin_default$1v = defineComponent({
|
|
4289
4289
|
value = formatNumber(value, isNumber, isNumber);
|
4290
4290
|
if (trigger === "onBlur" && value !== "" && (props2.min !== void 0 || props2.max !== void 0)) {
|
4291
4291
|
const adjustedValue = clamp(+value, (_a = props2.min) != null ? _a : -Infinity, (_b = props2.max) != null ? _b : Infinity);
|
4292
|
-
value
|
4292
|
+
if (+value !== adjustedValue) {
|
4293
|
+
value = adjustedValue.toString();
|
4294
|
+
}
|
4293
4295
|
}
|
4294
4296
|
}
|
4295
4297
|
let formatterDiffLen = 0;
|
@@ -5049,7 +5051,6 @@ const DEFAULT_DATA = {
|
|
5049
5051
|
tel: "",
|
5050
5052
|
city: "",
|
5051
5053
|
county: "",
|
5052
|
-
country: "",
|
5053
5054
|
province: "",
|
5054
5055
|
areaCode: "",
|
5055
5056
|
isDefault: false,
|
@@ -17074,7 +17075,7 @@ const Lazyload = {
|
|
17074
17075
|
});
|
17075
17076
|
}
|
17076
17077
|
};
|
17077
|
-
const version = "4.9.
|
17078
|
+
const version = "4.9.17";
|
17078
17079
|
function install(app) {
|
17079
17080
|
const components = [
|
17080
17081
|
ActionBar,
|
package/lib/vant.js
CHANGED
@@ -2482,7 +2482,7 @@
|
|
2482
2482
|
setScrollTop(scroller, current2);
|
2483
2483
|
if (isDown && current2 < to || !isDown && current2 > to) {
|
2484
2484
|
rafId = raf(animate);
|
2485
|
-
} else
|
2485
|
+
} else {
|
2486
2486
|
rafId = raf(callback);
|
2487
2487
|
}
|
2488
2488
|
}
|
@@ -4735,7 +4735,9 @@
|
|
4735
4735
|
value = formatNumber(value, isNumber, isNumber);
|
4736
4736
|
if (trigger === "onBlur" && value !== "" && (props2.min !== void 0 || props2.max !== void 0)) {
|
4737
4737
|
const adjustedValue = clamp(+value, (_a = props2.min) != null ? _a : -Infinity, (_b = props2.max) != null ? _b : Infinity);
|
4738
|
-
value
|
4738
|
+
if (+value !== adjustedValue) {
|
4739
|
+
value = adjustedValue.toString();
|
4740
|
+
}
|
4739
4741
|
}
|
4740
4742
|
}
|
4741
4743
|
let formatterDiffLen = 0;
|
@@ -5495,7 +5497,6 @@
|
|
5495
5497
|
tel: "",
|
5496
5498
|
city: "",
|
5497
5499
|
county: "",
|
5498
|
-
country: "",
|
5499
5500
|
province: "",
|
5500
5501
|
areaCode: "",
|
5501
5502
|
isDefault: false,
|
@@ -18211,7 +18212,7 @@
|
|
18211
18212
|
});
|
18212
18213
|
}
|
18213
18214
|
};
|
18214
|
-
const version = "4.9.
|
18215
|
+
const version = "4.9.17";
|
18215
18216
|
function install(app) {
|
18216
18217
|
const components = [
|
18217
18218
|
ActionBar,
|