vant 3.4.6 → 3.4.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/changelog.generated.md +39 -50
- package/es/address-list/AddressListItem.d.ts +3 -2
- package/es/address-list/AddressListItem.js +1 -1
- package/es/badge/Badge.d.ts +4 -3
- package/es/badge/index.d.ts +2 -2
- package/es/calendar/Calendar.js +1 -1
- package/es/calendar/types.d.ts +2 -1
- package/es/cascader/types.d.ts +2 -1
- package/es/checkbox/Checker.d.ts +2 -1
- package/es/collapse/Collapse.d.ts +7 -6
- package/es/collapse/index.d.ts +3 -3
- package/es/composables/use-touch.js +1 -1
- package/es/config-provider/ConfigProvider.d.ts +4 -3
- package/es/config-provider/index.d.ts +2 -2
- package/es/contact-list/ContactList.d.ts +3 -2
- package/es/coupon/Coupon.d.ts +2 -1
- package/es/coupon-list/CouponList.d.ts +3 -13
- package/es/coupon-list/CouponList.js +9 -7
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +2 -9
- package/es/coupon-list/index.less +4 -16
- package/es/coupon-list/style/index.js +1 -0
- package/es/coupon-list/style/less.js +1 -0
- package/es/coupon-list/var.less +0 -1
- package/es/datetime-picker/DatePicker.js +1 -2
- package/es/dialog/types.d.ts +2 -2
- package/es/dropdown-item/types.d.ts +2 -1
- package/es/index-bar/IndexBar.d.ts +5 -4
- package/es/index-bar/IndexBar.js +25 -4
- package/es/index-bar/index.d.ts +3 -3
- package/es/index-bar/types.d.ts +2 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/locale/lang/is-IS.d.ts +64 -0
- package/es/locale/lang/is-IS.js +74 -0
- package/es/locale/lang/la-LA.d.ts +64 -0
- package/es/locale/lang/la-LA.js +66 -0
- package/es/locale/lang/sv-SE.d.ts +64 -0
- package/es/locale/lang/sv-SE.js +66 -0
- package/es/notify/types.d.ts +2 -1
- package/es/number-keyboard/NumberKeyboard.js +10 -1
- package/es/picker/types.d.ts +3 -2
- package/es/progress/Progress.d.ts +4 -3
- package/es/progress/index.d.ts +2 -2
- package/es/skeleton/Skeleton.d.ts +5 -4
- package/es/skeleton/index.d.ts +3 -3
- package/es/tabbar/Tabbar.d.ts +2 -2
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.js +1 -0
- package/es/tabs/types.d.ts +5 -4
- package/es/toast/types.d.ts +3 -2
- package/es/tree-select/TreeSelect.d.ts +7 -6
- package/es/tree-select/index.d.ts +3 -3
- package/es/uploader/Uploader.d.ts +4 -4
- package/es/uploader/Uploader.js +2 -2
- package/es/uploader/UploaderPreviewItem.d.ts +3 -3
- package/es/uploader/UploaderPreviewItem.js +9 -6
- package/es/uploader/index.d.ts +2 -2
- package/es/uploader/types.d.ts +5 -5
- package/es/utils/basic.d.ts +1 -0
- package/es/utils/format.d.ts +7 -6
- package/es/utils/format.js +6 -0
- package/es/utils/validate.d.ts +2 -1
- package/lib/address-list/AddressListItem.d.ts +3 -2
- package/lib/badge/Badge.d.ts +4 -3
- package/lib/badge/index.d.ts +2 -2
- package/lib/calendar/Calendar.js +1 -1
- package/lib/calendar/types.d.ts +2 -1
- package/lib/cascader/types.d.ts +2 -1
- package/lib/checkbox/Checker.d.ts +2 -1
- package/lib/collapse/Collapse.d.ts +7 -6
- package/lib/collapse/index.d.ts +3 -3
- package/lib/composables/use-touch.js +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +4 -3
- package/lib/config-provider/index.d.ts +2 -2
- package/lib/contact-list/ContactList.d.ts +3 -2
- package/lib/coupon/Coupon.d.ts +2 -1
- package/lib/coupon-list/CouponList.d.ts +3 -13
- package/lib/coupon-list/CouponList.js +9 -7
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +2 -9
- package/lib/coupon-list/index.less +4 -16
- package/lib/coupon-list/style/index.js +1 -0
- package/lib/coupon-list/style/less.js +1 -0
- package/lib/coupon-list/var.less +0 -1
- package/lib/datetime-picker/DatePicker.js +1 -2
- package/lib/dialog/types.d.ts +2 -2
- package/lib/dropdown-item/types.d.ts +2 -1
- package/lib/index-bar/IndexBar.d.ts +5 -4
- package/lib/index-bar/IndexBar.js +25 -4
- package/lib/index-bar/index.d.ts +3 -3
- package/lib/index-bar/types.d.ts +2 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.less +2 -2
- package/lib/locale/lang/is-IS.d.ts +64 -0
- package/lib/locale/lang/is-IS.js +98 -0
- package/lib/locale/lang/la-LA.d.ts +64 -0
- package/lib/locale/lang/la-LA.js +90 -0
- package/lib/locale/lang/sv-SE.d.ts +64 -0
- package/lib/locale/lang/sv-SE.js +90 -0
- package/lib/notify/types.d.ts +2 -1
- package/lib/number-keyboard/NumberKeyboard.js +10 -1
- package/lib/picker/types.d.ts +3 -2
- package/lib/progress/Progress.d.ts +4 -3
- package/lib/progress/index.d.ts +2 -2
- package/lib/skeleton/Skeleton.d.ts +5 -4
- package/lib/skeleton/index.d.ts +3 -3
- package/lib/tabbar/Tabbar.d.ts +2 -2
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +1 -0
- package/lib/tabs/types.d.ts +5 -4
- package/lib/toast/types.d.ts +3 -2
- package/lib/tree-select/TreeSelect.d.ts +7 -6
- package/lib/tree-select/index.d.ts +3 -3
- package/lib/uploader/Uploader.d.ts +4 -4
- package/lib/uploader/Uploader.js +1 -1
- package/lib/uploader/UploaderPreviewItem.d.ts +3 -3
- package/lib/uploader/UploaderPreviewItem.js +9 -6
- package/lib/uploader/index.d.ts +2 -2
- package/lib/uploader/types.d.ts +5 -5
- package/lib/utils/basic.d.ts +1 -0
- package/lib/utils/format.d.ts +7 -6
- package/lib/utils/format.js +6 -0
- package/lib/utils/validate.d.ts +2 -1
- package/lib/vant.cjs.js +269 -229
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +269 -229
- package/lib/vant.es.min.js +269 -229
- package/lib/vant.js +269 -229
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +641 -638
- package/vetur/tags.json +227 -227
- package/vetur/web-types.json +2160 -2158
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
@@ -197,7 +197,7 @@ __reExport(stdin_exports, require("./tag"));
|
|
197
197
|
__reExport(stdin_exports, require("./toast"));
|
198
198
|
__reExport(stdin_exports, require("./tree-select"));
|
199
199
|
__reExport(stdin_exports, require("./uploader"));
|
200
|
-
const version = "3.4.
|
200
|
+
const version = "3.4.7";
|
201
201
|
function install(app) {
|
202
202
|
const components = [
|
203
203
|
import_action_bar.ActionBar,
|
package/lib/index.less
CHANGED
@@ -49,17 +49,17 @@
|
|
49
49
|
@import "./uploader/index.less";
|
50
50
|
@import "./tabs/index.less";
|
51
51
|
@import "./tab/index.less";
|
52
|
-
@import "./coupon-list/index.less";
|
53
52
|
@import "./cascader/index.less";
|
54
53
|
@import "./cell-group/index.less";
|
55
54
|
@import "./circle/index.less";
|
56
55
|
@import "./row/index.less";
|
57
56
|
@import "./col/index.less";
|
58
57
|
@import "./count-down/index.less";
|
58
|
+
@import "./empty/index.less";
|
59
|
+
@import "./coupon-list/index.less";
|
59
60
|
@import "./divider/index.less";
|
60
61
|
@import "./dropdown-menu/index.less";
|
61
62
|
@import "./dropdown-item/index.less";
|
62
|
-
@import "./empty/index.less";
|
63
63
|
@import "./grid/index.less";
|
64
64
|
@import "./grid-item/index.less";
|
65
65
|
@import "./index-bar/index.less";
|
@@ -0,0 +1,64 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
name: string;
|
3
|
+
tel: string;
|
4
|
+
save: string;
|
5
|
+
confirm: string;
|
6
|
+
cancel: string;
|
7
|
+
delete: string;
|
8
|
+
loading: string;
|
9
|
+
noCoupon: string;
|
10
|
+
nameEmpty: string;
|
11
|
+
addContact: string;
|
12
|
+
telInvalid: string;
|
13
|
+
vanCalendar: {
|
14
|
+
end: string;
|
15
|
+
start: string;
|
16
|
+
title: string;
|
17
|
+
weekdays: string[];
|
18
|
+
monthTitle: (year: number, month: number) => string;
|
19
|
+
rangePrompt: (maxRange: number) => string;
|
20
|
+
};
|
21
|
+
vanCascader: {
|
22
|
+
select: string;
|
23
|
+
};
|
24
|
+
vanPagination: {
|
25
|
+
prev: string;
|
26
|
+
next: string;
|
27
|
+
};
|
28
|
+
vanPullRefresh: {
|
29
|
+
pulling: string;
|
30
|
+
loosing: string;
|
31
|
+
};
|
32
|
+
vanSubmitBar: {
|
33
|
+
label: string;
|
34
|
+
};
|
35
|
+
vanCoupon: {
|
36
|
+
unlimited: string;
|
37
|
+
discount: (discount: number) => string;
|
38
|
+
condition: (condition: number) => string;
|
39
|
+
};
|
40
|
+
vanCouponCell: {
|
41
|
+
title: string;
|
42
|
+
count: (count: number) => string;
|
43
|
+
};
|
44
|
+
vanCouponList: {
|
45
|
+
exchange: string;
|
46
|
+
close: string;
|
47
|
+
enable: string;
|
48
|
+
disabled: string;
|
49
|
+
placeholder: string;
|
50
|
+
};
|
51
|
+
vanAddressEdit: {
|
52
|
+
area: string;
|
53
|
+
postal: string;
|
54
|
+
areaEmpty: string;
|
55
|
+
addressEmpty: string;
|
56
|
+
postalEmpty: string;
|
57
|
+
addressDetail: string;
|
58
|
+
defaultAddress: string;
|
59
|
+
};
|
60
|
+
vanAddressList: {
|
61
|
+
add: string;
|
62
|
+
};
|
63
|
+
};
|
64
|
+
export default _default;
|
@@ -0,0 +1,98 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return target;
|
17
|
+
};
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
19
|
+
return (module2, temp) => {
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
21
|
+
};
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
23
|
+
var stdin_exports = {};
|
24
|
+
__export(stdin_exports, {
|
25
|
+
default: () => stdin_default
|
26
|
+
});
|
27
|
+
var stdin_default = {
|
28
|
+
name: "Nafn",
|
29
|
+
tel: "S\xEDmi",
|
30
|
+
save: "Vista",
|
31
|
+
confirm: "Sta\xF0festa",
|
32
|
+
cancel: "h\xE6tta vi\xF0",
|
33
|
+
delete: "Ey\xF0a",
|
34
|
+
loading: "Hle\xF0ur...",
|
35
|
+
noCoupon: "Engin afsl\xE1ttarmi\xF0a",
|
36
|
+
nameEmpty: "Vinsamlegast fylltu \xFAt nafn",
|
37
|
+
addContact: "B\xE6ta vi\xF0 tengili\xF0",
|
38
|
+
telInvalid: "Ganga\xF0 s\xEDman\xFAmer",
|
39
|
+
vanCalendar: {
|
40
|
+
end: "Enda",
|
41
|
+
start: "Byrja",
|
42
|
+
title: "Dagatal",
|
43
|
+
weekdays: [
|
44
|
+
"sunnudag",
|
45
|
+
"M\xE1nudagur",
|
46
|
+
"\xFEri\xF0judag",
|
47
|
+
"mi\xF0vikudag",
|
48
|
+
"fimmtudag",
|
49
|
+
"f\xF6studag",
|
50
|
+
"laugardag"
|
51
|
+
],
|
52
|
+
monthTitle: (year, month) => `${year}/${month}`,
|
53
|
+
rangePrompt: (maxRange) => `Veldu ekki fleiri en ${maxRange} daga`
|
54
|
+
},
|
55
|
+
vanCascader: {
|
56
|
+
select: "Velja"
|
57
|
+
},
|
58
|
+
vanPagination: {
|
59
|
+
prev: "Fyrri",
|
60
|
+
next: "N\xE6st"
|
61
|
+
},
|
62
|
+
vanPullRefresh: {
|
63
|
+
pulling: "Dreg\xF0u til a\xF0 endurn\xFDja...",
|
64
|
+
loosing: "Loose to refresh..."
|
65
|
+
},
|
66
|
+
vanSubmitBar: {
|
67
|
+
label: "Samtals:"
|
68
|
+
},
|
69
|
+
vanCoupon: {
|
70
|
+
unlimited: "\xD3takmarka\xF0",
|
71
|
+
discount: (discount) => `${discount * 10}% afsl\xE1ttur`,
|
72
|
+
condition: (condition) => `A\xF0 minnsta kosti ${condition}`
|
73
|
+
},
|
74
|
+
vanCouponCell: {
|
75
|
+
title: "Afsl\xE1ttarmi\xF0i",
|
76
|
+
count: (count) => `\xDE\xFA \xE1tt ${count} afsl\xE1ttarmi\xF0a`
|
77
|
+
},
|
78
|
+
vanCouponList: {
|
79
|
+
exchange: "Skipti",
|
80
|
+
close: "Loka",
|
81
|
+
enable: "Laus",
|
82
|
+
disabled: "\xD3tilt\xE6kt",
|
83
|
+
placeholder: "Afsl\xE1ttarmi\xF0ak\xF3\xF0i"
|
84
|
+
},
|
85
|
+
vanAddressEdit: {
|
86
|
+
area: "Sv\xE6\xF0i",
|
87
|
+
postal: "p\xF3stur",
|
88
|
+
areaEmpty: "Vinsamlega veldu m\xF3tt\xF6kusv\xE6\xF0i",
|
89
|
+
addressEmpty: "Heimilisfang m\xE1 ekki vera t\xF3mt",
|
90
|
+
postalEmpty: "Rangt p\xF3stn\xFAmer",
|
91
|
+
addressDetail: "Heimilisfang",
|
92
|
+
defaultAddress: "Setja sem sj\xE1lfgefi\xF0 heimilisfang"
|
93
|
+
},
|
94
|
+
vanAddressList: {
|
95
|
+
add: "B\xE6ta vi\xF0 n\xFDju heimilisfangi"
|
96
|
+
}
|
97
|
+
};
|
98
|
+
module.exports = __toCommonJS(stdin_exports);
|
@@ -0,0 +1,64 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
name: string;
|
3
|
+
tel: string;
|
4
|
+
save: string;
|
5
|
+
confirm: string;
|
6
|
+
cancel: string;
|
7
|
+
delete: string;
|
8
|
+
loading: string;
|
9
|
+
noCoupon: string;
|
10
|
+
nameEmpty: string;
|
11
|
+
addContact: string;
|
12
|
+
telInvalid: string;
|
13
|
+
vanCalendar: {
|
14
|
+
end: string;
|
15
|
+
start: string;
|
16
|
+
title: string;
|
17
|
+
weekdays: string[];
|
18
|
+
monthTitle: (year: number, month: number) => string;
|
19
|
+
rangePrompt: (maxRange: number) => string;
|
20
|
+
};
|
21
|
+
vanCascader: {
|
22
|
+
select: string;
|
23
|
+
};
|
24
|
+
vanPagination: {
|
25
|
+
prev: string;
|
26
|
+
next: string;
|
27
|
+
};
|
28
|
+
vanPullRefresh: {
|
29
|
+
pulling: string;
|
30
|
+
loosing: string;
|
31
|
+
};
|
32
|
+
vanSubmitBar: {
|
33
|
+
label: string;
|
34
|
+
};
|
35
|
+
vanCoupon: {
|
36
|
+
unlimited: string;
|
37
|
+
discount: (discount: number) => string;
|
38
|
+
condition: (condition: number) => string;
|
39
|
+
};
|
40
|
+
vanCouponCell: {
|
41
|
+
title: string;
|
42
|
+
count: (count: number) => string;
|
43
|
+
};
|
44
|
+
vanCouponList: {
|
45
|
+
exchange: string;
|
46
|
+
close: string;
|
47
|
+
enable: string;
|
48
|
+
disabled: string;
|
49
|
+
placeholder: string;
|
50
|
+
};
|
51
|
+
vanAddressEdit: {
|
52
|
+
area: string;
|
53
|
+
postal: string;
|
54
|
+
areaEmpty: string;
|
55
|
+
addressEmpty: string;
|
56
|
+
postalEmpty: string;
|
57
|
+
addressDetail: string;
|
58
|
+
defaultAddress: string;
|
59
|
+
};
|
60
|
+
vanAddressList: {
|
61
|
+
add: string;
|
62
|
+
};
|
63
|
+
};
|
64
|
+
export default _default;
|
@@ -0,0 +1,90 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return target;
|
17
|
+
};
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
19
|
+
return (module2, temp) => {
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
21
|
+
};
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
23
|
+
var stdin_exports = {};
|
24
|
+
__export(stdin_exports, {
|
25
|
+
default: () => stdin_default
|
26
|
+
});
|
27
|
+
var stdin_default = {
|
28
|
+
name: "\u0E8A\u0EB7\u0EC8",
|
29
|
+
tel: "\u0EC2\u0E97\u0EA5\u0EB0\u0EAA\u0EB1\u0E9A",
|
30
|
+
save: "\u0E9A\u0EB1\u0E99\u0E97\u0EB6\u0E81",
|
31
|
+
confirm: "\u0EA2\u0EB6\u0E99\u0EA2\u0EB1\u0E99",
|
32
|
+
cancel: "\u0E8D\u0EBB\u0E81\u0EC0\u0EA5\u0EB5\u0E81",
|
33
|
+
delete: "\u0EA5\u0EB7\u0E9A",
|
34
|
+
loading: "\u0E81\u0EB3\u0EA5\u0EB1\u0E87\u0EC2\u0EAB\u0EBC\u0E94...",
|
35
|
+
noCoupon: "\u0E9A\u0ECD\u0EC8\u0EA1\u0EB5\u0E84\u0EB9\u0E9B\u0EAD\u0E87",
|
36
|
+
nameEmpty: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0E9B\u0EC9\u0EAD\u0E99\u0E8A\u0EB7\u0EC8",
|
37
|
+
addContact: "\u0EC0\u0E9E\u0EB5\u0EC8\u0EA1\u0E9C\u0EB9\u0EC9\u0E95\u0EB4\u0E94\u0E95\u0ECD\u0EC8",
|
38
|
+
telInvalid: "\u0EC0\u0E9A\u0EB5\u0EC2\u0E97\u0EA5\u0EB0\u0EAA\u0EB1\u0E9A\u0E9A\u0ECD\u0EC8\u0E96\u0EB7\u0E81\u0E95\u0EC9\u0EAD\u0E87",
|
39
|
+
vanCalendar: {
|
40
|
+
end: "\u0E88\u0EBB\u0E9A",
|
41
|
+
start: "\u0EC0\u0EA5\u0EB5\u0EC8\u0EA1",
|
42
|
+
title: "\u0E81\u0EB2\u0E99\u0EC0\u0EA5\u0EB7\u0EAD\u0E81\u0EA7\u0EB1\u0E99\u0E97\u0EB5\u0EC8",
|
43
|
+
weekdays: ["\u0EAD\u0EB2", "\u0E88", "\u0EAD", "\u0E9E", "\u0E9E\u0EAB", "\u0EAA", "\u0EAA"],
|
44
|
+
monthTitle: (year, month) => `${year}\u0E9B\u0EB5${month}\u0EC0\u0E94\u0EB7\u0EAD\u0E99`,
|
45
|
+
rangePrompt: (maxRange) => `\u0E88\u0EB3\u0E99\u0EAD\u0E99\u0EA7\u0EB1\u0E99\u0E97\u0EB5\u0EC8\u0EC0\u0EA5\u0EB7\u0EAD\u0E81\u0E95\u0EC9\u0EAD\u0E87\u0E9A\u0ECD\u0EC8\u0EC0\u0E81\u0EB5\u0E99 ${maxRange} \u0EA7\u0EB1\u0E99`
|
46
|
+
},
|
47
|
+
vanCascader: {
|
48
|
+
select: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0EC0\u0EA5\u0EB7\u0EAD\u0E81"
|
49
|
+
},
|
50
|
+
vanPagination: {
|
51
|
+
prev: "\u0EDC\u0EC9\u0EB2\u0E97\u0EB5\u0EC8\u0EC1\u0EA5\u0EC9\u0EA7",
|
52
|
+
next: "\u0EDC\u0EC9\u0EB2\u0E95\u0ECD\u0EC8\u0EC4\u0E9B"
|
53
|
+
},
|
54
|
+
vanPullRefresh: {
|
55
|
+
pulling: "\u0E94\u0EB7\u0E87\u0EA5\u0EBB\u0E87\u0EC0\u0E9E\u0EB7\u0EC8\u0EAD\u0EA3\u0EB5\u0EC0\u0E9F\u0EAA...",
|
56
|
+
loosing: "\u0E9B\u0EC8\u0EAD\u0E8D\u0EC0\u0E9E\u0EB7\u0EC8\u0EAD\u0EA3\u0EB5\u0EC0\u0E9F\u0EAA..."
|
57
|
+
},
|
58
|
+
vanSubmitBar: {
|
59
|
+
label: "\u0EA5\u0EA7\u0EA1:"
|
60
|
+
},
|
61
|
+
vanCoupon: {
|
62
|
+
unlimited: "\u0E9A\u0ECD\u0EC8 \u0E88\u0EB3\u0E81\u0EB1\u0E94",
|
63
|
+
discount: (discount) => `\u0EA5\u0EBB\u0E94${discount}`,
|
64
|
+
condition: (condition) => `\u0EA1\u0EB5\u0E88\u0EB3\u0EDC\u0EC8\u0EB2\u0E8D\u0EC3\u0E99\u0EA5\u0EB2\u0E84\u0EB2 ${condition} \u0E81\u0EA7\u0EC8\u0EB2\u0EAB\u0E8D\u0EA7\u0E99`
|
65
|
+
},
|
66
|
+
vanCouponCell: {
|
67
|
+
title: "\u0E84\u0EB9\u0E9B\u0EAD\u0E87",
|
68
|
+
count: (count) => `\u0EA1\u0EB5\u0EAE\u0EB9\u0E9A\u0E9E\u0EB2\u0E9A ${count} \u0EAE\u0EB9\u0E9A`
|
69
|
+
},
|
70
|
+
vanCouponList: {
|
71
|
+
exchange: "\u0EC1\u0EA5\u0E81\u0E9B\u0EC8\u0EBD\u0E99",
|
72
|
+
close: "\u0E9A\u0ECD\u0EC8\u0EC4\u0E94\u0EC9\u0EC3\u0E8A\u0EC9",
|
73
|
+
enable: "\u0E9E\u0EC9\u0EAD\u0EA1\u0EC3\u0E8A\u0EC9\u0E87\u0EB2\u0E99",
|
74
|
+
disabled: "\u0E9A\u0ECD\u0EC8\u0E9E\u0EC9\u0EAD\u0EA1\u0EC3\u0E8A\u0EC9\u0E87\u0EB2\u0E99",
|
75
|
+
placeholder: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0E9B\u0EC9\u0EAD\u0E99\u0E84\u0EB9\u0E9B\u0EAD\u0E87"
|
76
|
+
},
|
77
|
+
vanAddressEdit: {
|
78
|
+
area: "\u0E9E\u0EB7\u0EC9\u0E99\u0E97\u0EB5\u0EC8",
|
79
|
+
postal: "\u0EA5\u0EB0\u0EAB\u0EB1\u0E94\u0EC4\u0E9B\u0EAA\u0EB0\u0E99\u0EB5",
|
80
|
+
areaEmpty: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0EC0\u0EA5\u0EB7\u0EAD\u0E81\u0E9E\u0EB7\u0EC9\u0E99\u0E97\u0EB5\u0EC8",
|
81
|
+
addressEmpty: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0E9B\u0EC9\u0EAD\u0E99\u0E97\u0EB5\u0EC8\u0EA2\u0EB9\u0EC8",
|
82
|
+
postalEmpty: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0E9B\u0EC9\u0EAD\u0E99\u0EA5\u0EB0\u0EAB\u0EB1\u0E94\u0EC4\u0E9B\u0EAA\u0EB0\u0E99\u0EB5",
|
83
|
+
addressDetail: "\u0E97\u0EB5\u0EC8\u0EA2\u0EB9\u0EC8",
|
84
|
+
defaultAddress: "\u0E95\u0EB1\u0EC9\u0E87\u0EC0\u0E9B\u0EB1\u0E99\u0E97\u0EB5\u0EC8\u0EA2\u0EB9\u0EC8\u0EC0\u0EA5\u0EB5\u0EC8\u0EA1\u0E95\u0EBB\u0EC9\u0E99"
|
85
|
+
},
|
86
|
+
vanAddressList: {
|
87
|
+
add: "\u0EC0\u0E9E\u0EB5\u0EC8\u0EA1\u0E97\u0EB5\u0EC8\u0EA2\u0EB9\u0EC8"
|
88
|
+
}
|
89
|
+
};
|
90
|
+
module.exports = __toCommonJS(stdin_exports);
|
@@ -0,0 +1,64 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
name: string;
|
3
|
+
tel: string;
|
4
|
+
save: string;
|
5
|
+
confirm: string;
|
6
|
+
cancel: string;
|
7
|
+
delete: string;
|
8
|
+
loading: string;
|
9
|
+
noCoupon: string;
|
10
|
+
nameEmpty: string;
|
11
|
+
addContact: string;
|
12
|
+
telInvalid: string;
|
13
|
+
vanCalendar: {
|
14
|
+
end: string;
|
15
|
+
start: string;
|
16
|
+
title: string;
|
17
|
+
weekdays: string[];
|
18
|
+
monthTitle: (year: number, month: number) => string;
|
19
|
+
rangePrompt: (maxRange: number) => string;
|
20
|
+
};
|
21
|
+
vanCascader: {
|
22
|
+
select: string;
|
23
|
+
};
|
24
|
+
vanPagination: {
|
25
|
+
prev: string;
|
26
|
+
next: string;
|
27
|
+
};
|
28
|
+
vanPullRefresh: {
|
29
|
+
pulling: string;
|
30
|
+
loosing: string;
|
31
|
+
};
|
32
|
+
vanSubmitBar: {
|
33
|
+
label: string;
|
34
|
+
};
|
35
|
+
vanCoupon: {
|
36
|
+
unlimited: string;
|
37
|
+
discount: (discount: number) => string;
|
38
|
+
condition: (condition: number) => string;
|
39
|
+
};
|
40
|
+
vanCouponCell: {
|
41
|
+
title: string;
|
42
|
+
count: (count: number) => string;
|
43
|
+
};
|
44
|
+
vanCouponList: {
|
45
|
+
exchange: string;
|
46
|
+
close: string;
|
47
|
+
enable: string;
|
48
|
+
disabled: string;
|
49
|
+
placeholder: string;
|
50
|
+
};
|
51
|
+
vanAddressEdit: {
|
52
|
+
area: string;
|
53
|
+
postal: string;
|
54
|
+
areaEmpty: string;
|
55
|
+
addressEmpty: string;
|
56
|
+
postalEmpty: string;
|
57
|
+
addressDetail: string;
|
58
|
+
defaultAddress: string;
|
59
|
+
};
|
60
|
+
vanAddressList: {
|
61
|
+
add: string;
|
62
|
+
};
|
63
|
+
};
|
64
|
+
export default _default;
|
@@ -0,0 +1,90 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
11
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
12
|
+
for (let key of __getOwnPropNames(module2))
|
13
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
14
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return target;
|
17
|
+
};
|
18
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
19
|
+
return (module2, temp) => {
|
20
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
21
|
+
};
|
22
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
23
|
+
var stdin_exports = {};
|
24
|
+
__export(stdin_exports, {
|
25
|
+
default: () => stdin_default
|
26
|
+
});
|
27
|
+
var stdin_default = {
|
28
|
+
name: "Namn",
|
29
|
+
tel: "Telefon",
|
30
|
+
save: "Spara",
|
31
|
+
confirm: "Bekr\xE4fta",
|
32
|
+
cancel: "Avbryt",
|
33
|
+
delete: "Radera",
|
34
|
+
loading: "Laddar...",
|
35
|
+
noCoupon: "Inga kuponger",
|
36
|
+
nameEmpty: "V\xE4nligen fyll i namnet",
|
37
|
+
addContact: "L\xE4gg till kontakt",
|
38
|
+
telInvalid: "Felformat telefonnummer",
|
39
|
+
vanCalendar: {
|
40
|
+
end: "Slut",
|
41
|
+
start: "Start",
|
42
|
+
title: "Kalender",
|
43
|
+
weekdays: ["s\xF6n", "m\xE5n", "tis", "ons", "tors", "fre", "l\xF6r"],
|
44
|
+
monthTitle: (year, month) => `${year}/${month}`,
|
45
|
+
rangePrompt: (maxRange) => `V\xE4lj h\xF6gst ${maxRange} dagar`
|
46
|
+
},
|
47
|
+
vanCascader: {
|
48
|
+
select: "V\xE4lj"
|
49
|
+
},
|
50
|
+
vanPagination: {
|
51
|
+
prev: "F\xF6reg\xE5ende",
|
52
|
+
next: "N\xE4sta"
|
53
|
+
},
|
54
|
+
vanPullRefresh: {
|
55
|
+
pulling: "Dra f\xF6r att uppdatera...",
|
56
|
+
loosing: "L\xF6s f\xF6r att uppdatera..."
|
57
|
+
},
|
58
|
+
vanSubmitBar: {
|
59
|
+
label: "Totalt:"
|
60
|
+
},
|
61
|
+
vanCoupon: {
|
62
|
+
unlimited: "Obegr\xE4nsat",
|
63
|
+
discount: (discount) => `${discount * 10}% rabatt`,
|
64
|
+
condition: (condition) => `Minst ${condition}`
|
65
|
+
},
|
66
|
+
vanCouponCell: {
|
67
|
+
title: "Kupong",
|
68
|
+
count: (count) => `Du har ${count} kuponger`
|
69
|
+
},
|
70
|
+
vanCouponList: {
|
71
|
+
exchange: "Utbyta",
|
72
|
+
close: "St\xE4ng",
|
73
|
+
enable: "Tillg\xE4ngliga",
|
74
|
+
disabled: "Inte tillg\xE4nglig",
|
75
|
+
placeholder: "Kupongkod"
|
76
|
+
},
|
77
|
+
vanAddressEdit: {
|
78
|
+
area: "Omr\xE5de",
|
79
|
+
postal: "Post",
|
80
|
+
areaEmpty: "V\xE4lj ett mottagningsomr\xE5de",
|
81
|
+
addressEmpty: "Adressen f\xE5r inte vara tom",
|
82
|
+
postalEmpty: "Fel postnummer",
|
83
|
+
addressDetail: "Adress",
|
84
|
+
defaultAddress: "Ange som standardadress"
|
85
|
+
},
|
86
|
+
vanAddressList: {
|
87
|
+
add: "L\xE4gg till ny adress"
|
88
|
+
}
|
89
|
+
};
|
90
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/notify/types.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { Notify } from './function-call';
|
2
|
-
|
2
|
+
import type { Numeric } from '../utils';
|
3
|
+
export declare type NotifyMessage = Numeric;
|
3
4
|
export declare type NotifyType = 'primary' | 'success' | 'danger' | 'warning';
|
4
5
|
export declare type NotifyPosition = 'top' | 'bottom';
|
5
6
|
export declare type NotifyOptions = {
|
@@ -57,6 +57,15 @@ const numberKeyboardProps = {
|
|
57
57
|
default: ""
|
58
58
|
}
|
59
59
|
};
|
60
|
+
function shuffle(array) {
|
61
|
+
for (let i = array.length - 1; i > 0; i--) {
|
62
|
+
const j = Math.floor(Math.random() * (i + 1));
|
63
|
+
const temp = array[i];
|
64
|
+
array[i] = array[j];
|
65
|
+
array[j] = temp;
|
66
|
+
}
|
67
|
+
return array;
|
68
|
+
}
|
60
69
|
var stdin_default = (0, import_vue2.defineComponent)({
|
61
70
|
name,
|
62
71
|
props: numberKeyboardProps,
|
@@ -71,7 +80,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
71
80
|
text: i + 1
|
72
81
|
}));
|
73
82
|
if (props.randomKeyOrder) {
|
74
|
-
keys2
|
83
|
+
shuffle(keys2);
|
75
84
|
}
|
76
85
|
return keys2;
|
77
86
|
};
|
package/lib/picker/types.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
2
|
+
import type { Numeric } from '../utils';
|
2
3
|
import type { PickerProps } from './Picker';
|
3
4
|
export declare type PickerToolbarPosition = 'top' | 'bottom';
|
4
5
|
export declare type PickerFieldNames = {
|
@@ -7,11 +8,11 @@ export declare type PickerFieldNames = {
|
|
7
8
|
children?: string;
|
8
9
|
};
|
9
10
|
export declare type PickerObjectOption = {
|
10
|
-
text?:
|
11
|
+
text?: Numeric;
|
11
12
|
disabled?: boolean;
|
12
13
|
[key: PropertyKey]: any;
|
13
14
|
};
|
14
|
-
export declare type PickerOption =
|
15
|
+
export declare type PickerOption = Numeric | PickerObjectOption;
|
15
16
|
export declare type PickerObjectColumn = {
|
16
17
|
values?: PickerOption[];
|
17
18
|
children?: PickerColumn;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { type ExtractPropTypes } from 'vue';
|
2
|
+
import { type Numeric } from '../utils';
|
2
3
|
declare const progressProps: {
|
3
4
|
color: StringConstructor;
|
4
5
|
inactive: BooleanConstructor;
|
@@ -14,7 +15,7 @@ declare const progressProps: {
|
|
14
15
|
percentage: {
|
15
16
|
type: (NumberConstructor | StringConstructor)[];
|
16
17
|
default: number;
|
17
|
-
validator: (value:
|
18
|
+
validator: (value: Numeric) => boolean;
|
18
19
|
};
|
19
20
|
};
|
20
21
|
export declare type ProgressProps = ExtractPropTypes<typeof progressProps>;
|
@@ -33,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
33
34
|
percentage: {
|
34
35
|
type: (NumberConstructor | StringConstructor)[];
|
35
36
|
default: number;
|
36
|
-
validator: (value:
|
37
|
+
validator: (value: Numeric) => boolean;
|
37
38
|
};
|
38
39
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
39
40
|
color: StringConstructor;
|
@@ -50,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
50
51
|
percentage: {
|
51
52
|
type: (NumberConstructor | StringConstructor)[];
|
52
53
|
default: number;
|
53
|
-
validator: (value:
|
54
|
+
validator: (value: Numeric) => boolean;
|
54
55
|
};
|
55
56
|
}>>, {
|
56
57
|
inactive: boolean;
|
package/lib/progress/index.d.ts
CHANGED
@@ -14,7 +14,7 @@ export declare const Progress: import("../utils").WithInstall<import("vue").Defi
|
|
14
14
|
percentage: {
|
15
15
|
type: (NumberConstructor | StringConstructor)[];
|
16
16
|
default: number;
|
17
|
-
validator: (value:
|
17
|
+
validator: (value: import("../utils").Numeric) => boolean;
|
18
18
|
};
|
19
19
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
20
|
color: StringConstructor;
|
@@ -31,7 +31,7 @@ export declare const Progress: import("../utils").WithInstall<import("vue").Defi
|
|
31
31
|
percentage: {
|
32
32
|
type: (NumberConstructor | StringConstructor)[];
|
33
33
|
default: number;
|
34
|
-
validator: (value:
|
34
|
+
validator: (value: import("../utils").Numeric) => boolean;
|
35
35
|
};
|
36
36
|
}>>, {
|
37
37
|
inactive: boolean;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
|
+
import { type Numeric } from '../utils';
|
2
3
|
export declare type SkeletonAvatarShape = 'square' | 'round';
|
3
4
|
declare const skeletonProps: {
|
4
5
|
row: {
|
@@ -23,7 +24,7 @@ declare const skeletonProps: {
|
|
23
24
|
default: SkeletonAvatarShape;
|
24
25
|
};
|
25
26
|
rowWidth: {
|
26
|
-
type: PropType<
|
27
|
+
type: PropType<Numeric | Numeric[]>;
|
27
28
|
default: string;
|
28
29
|
};
|
29
30
|
};
|
@@ -51,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
51
52
|
default: SkeletonAvatarShape;
|
52
53
|
};
|
53
54
|
rowWidth: {
|
54
|
-
type: PropType<
|
55
|
+
type: PropType<Numeric | Numeric[]>;
|
55
56
|
default: string;
|
56
57
|
};
|
57
58
|
}, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -79,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
79
80
|
default: SkeletonAvatarShape;
|
80
81
|
};
|
81
82
|
rowWidth: {
|
82
|
-
type: PropType<
|
83
|
+
type: PropType<Numeric | Numeric[]>;
|
83
84
|
default: string;
|
84
85
|
};
|
85
86
|
}>>, {
|
@@ -90,6 +91,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
90
91
|
row: string | number;
|
91
92
|
avatar: boolean;
|
92
93
|
avatarShape: SkeletonAvatarShape;
|
93
|
-
rowWidth:
|
94
|
+
rowWidth: Numeric | Numeric[];
|
94
95
|
}>;
|
95
96
|
export default _default;
|