@nutui/nutui 3.1.22-beta.0 → 3.1.22-beta.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/dist/nutui.es.js +4019 -19251
- package/dist/nutui.umd.js +4012 -19344
- package/dist/packages/_es/ActionSheet.js +26 -157
- package/dist/packages/_es/Address.js +119 -542
- package/dist/packages/_es/AddressList.js +113 -613
- package/dist/packages/_es/Audio.js +62 -264
- package/dist/packages/_es/AudioOperate.js +18 -107
- package/dist/packages/_es/Avatar.js +42 -165
- package/dist/packages/_es/AvatarGroup.js +14 -73
- package/dist/packages/_es/BackTop.js +43 -156
- package/dist/packages/_es/Badge.js +14 -86
- package/dist/packages/_es/Barrage.js +41 -120
- package/dist/packages/_es/Button.js +23 -128
- package/dist/packages/_es/Calendar.js +24 -237
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +10 -107
- package/dist/packages/_es/Cascader.js +156 -500
- package/dist/packages/_es/Category.js +15 -58
- package/dist/packages/_es/CategoryPane.js +11 -111
- package/dist/packages/_es/Cell.js +21 -100
- package/dist/packages/_es/CellGroup.js +9 -44
- package/dist/packages/_es/Checkbox.js +31 -113
- package/dist/packages/_es/CheckboxGroup.js +29 -58
- package/dist/packages/_es/CircleProgress.js +28 -151
- package/dist/packages/_es/Col.js +14 -56
- package/dist/packages/_es/Collapse.js +24 -85
- package/dist/packages/_es/CollapseItem.js +70 -261
- package/dist/packages/_es/Comment.js +64 -434
- package/dist/packages/_es/CountDown.js +61 -242
- package/dist/packages/_es/CountUp.js +149 -546
- package/dist/packages/_es/DatePicker.js +107 -322
- package/dist/packages/_es/Dialog.js +69 -261
- package/dist/packages/_es/Divider.js +18 -68
- package/dist/packages/_es/Drag.js +56 -197
- package/dist/packages/_es/Ecard.js +24 -159
- package/dist/packages/_es/Elevator.js +63 -198
- package/dist/packages/_es/Empty.js +12 -71
- package/dist/packages/_es/FixedNav.js +15 -122
- package/dist/packages/_es/Form.js +64 -151
- package/dist/packages/_es/FormItem.js +15 -110
- package/dist/packages/_es/Grid.js +5 -6
- package/dist/packages/_es/GridItem.js +33 -144
- package/dist/packages/_es/Icon.js +15 -40
- package/dist/packages/_es/ImagePreview.js +74 -298
- package/dist/packages/_es/Indicator.js +15 -62
- package/dist/packages/_es/InfiniteLoading.js +66 -258
- package/dist/packages/_es/Input.js +51 -413
- package/dist/packages/_es/InputNumber.js +41 -160
- package/dist/packages/_es/Layout.js +4 -5
- package/dist/packages/_es/List.js +23 -110
- package/dist/packages/_es/Menu.js +30 -118
- package/dist/packages/_es/MenuItem.js +34 -162
- package/dist/packages/_es/Navbar.js +30 -192
- package/dist/packages/_es/NoticeBar.js +83 -387
- package/dist/packages/_es/Notify.js +81 -236
- package/dist/packages/_es/NumberKeyboard.js +41 -272
- package/dist/packages/_es/OldPicker.js +140 -464
- package/dist/packages/_es/OverLay.js +32 -105
- package/dist/packages/_es/Pagination.js +39 -157
- package/dist/packages/_es/Picker.js +138 -459
- package/dist/packages/_es/Popover.js +327 -965
- package/dist/packages/_es/Popup.js +64 -303
- package/dist/packages/_es/Price.js +16 -118
- package/dist/packages/_es/Progress.js +14 -146
- package/dist/packages/_es/PullRefresh.js +92 -346
- package/dist/packages/_es/Radio.js +22 -90
- package/dist/packages/_es/RadioGroup.js +8 -37
- package/dist/packages/_es/Range.js +92 -417
- package/dist/packages/_es/Rate.js +16 -139
- package/dist/packages/_es/Row.js +22 -64
- package/dist/packages/_es/SearchBar.js +46 -247
- package/dist/packages/_es/ShortPassword.js +35 -225
- package/dist/packages/_es/SideNavBar.js +33 -89
- package/dist/packages/_es/SideNavBarItem.js +11 -46
- package/dist/packages/_es/Signature.js +46 -165
- package/dist/packages/_es/Skeleton.js +20 -136
- package/dist/packages/_es/Sku.js +93 -499
- package/dist/packages/_es/Step.js +25 -119
- package/dist/packages/_es/Steps.js +18 -53
- package/dist/packages/_es/Sticky.js +53 -138
- package/dist/packages/_es/SubSideNavBar.js +26 -90
- package/dist/packages/_es/Swipe.js +46 -183
- package/dist/packages/_es/Swiper.js +121 -433
- package/dist/packages/_es/SwiperItem.js +22 -53
- package/dist/packages/_es/Switch.js +21 -116
- package/dist/packages/_es/TabPane.js +12 -39
- package/dist/packages/_es/Tabbar.js +17 -72
- package/dist/packages/_es/TabbarItem.js +29 -151
- package/dist/packages/_es/Table.js +27 -186
- package/dist/packages/_es/Tabs.js +51 -209
- package/dist/packages/_es/Tag.js +20 -97
- package/dist/packages/_es/TextArea.js +42 -160
- package/dist/packages/_es/TimeDetail.js +23 -84
- package/dist/packages/_es/TimePannel.js +19 -52
- package/dist/packages/_es/TimeSelect.js +15 -103
- package/dist/packages/_es/Toast.js +80 -319
- package/dist/packages/_es/Uploader.js +112 -460
- package/dist/packages/_es/Video.js +83 -340
- package/dist/packages/_es/common.js +38 -128
- package/dist/packages/_es/component.js +35 -76
- package/dist/packages/_es/index.js +5 -6
- package/dist/packages/_es/index2.js +9 -30
- package/dist/packages/_es/index3.js +6 -8
- package/dist/packages/_es/index4.js +13 -58
- package/dist/packages/_es/index5.js +120 -675
- package/dist/packages/_es/plugin-vue_export-helper.js +7 -8
- package/dist/packages/_es/pxCheck.js +3 -5
- package/dist/packages/_es/raf.js +8 -15
- package/dist/packages/button/index.scss +2 -1
- package/dist/packages/cell/index.scss +11 -0
- package/dist/packages/checkbox/index.scss +6 -0
- package/dist/packages/dialog/index.scss +1 -0
- package/dist/packages/elevator/index.scss +21 -0
- package/dist/packages/input/index.scss +13 -1
- package/dist/packages/locale/lang/baseLang.d.ts +1 -0
- package/dist/packages/locale/lang/baseLang.js +3 -3
- package/dist/packages/locale/lang/en-US.d.ts +8 -0
- package/dist/packages/locale/lang/en-US.js +5 -97
- package/dist/packages/locale/lang/id-ID.d.ts +8 -0
- package/dist/packages/locale/lang/id-ID.js +5 -97
- package/dist/packages/locale/lang/index.js +16 -38
- package/dist/packages/locale/lang/zh-CN.d.ts +8 -0
- package/dist/packages/locale/lang/zh-CN.js +5 -97
- package/dist/packages/locale/lang/zh-TW.d.ts +8 -0
- package/dist/packages/locale/lang/zh-TW.js +5 -97
- package/dist/packages/radio/index.scss +1 -0
- package/dist/packages/switch/index.scss +3 -3
- package/dist/packages/tabpane/index.scss +1 -0
- package/dist/smartips/attributes.json +62 -10
- package/dist/smartips/tags.json +17 -4
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +49 -49
- package/dist/styles/themes/jdb.scss +49 -49
- package/dist/styles/themes/jdt.scss +49 -49
- package/dist/styles/variables-jdb.scss +10 -1
- package/dist/styles/variables-jdt.scss +10 -1
- package/dist/styles/variables.scss +10 -1
- package/dist/types/__VUE/address/index.vue.d.ts +5 -5
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +1 -0
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +1 -0
- package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/backtop/index.vue.d.ts +2 -2
- package/dist/types/__VUE/badge/index.vue.d.ts +2 -2
- package/dist/types/__VUE/button/index.vue.d.ts +2 -2
- package/dist/types/__VUE/cascader/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +11 -4
- package/dist/types/__VUE/checkbox/common.d.ts +59 -0
- package/dist/types/__VUE/checkbox/index.vue.d.ts +18 -5
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +7 -0
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/dialog/index.d.ts +9 -2
- package/dist/types/__VUE/dialog/index.vue.d.ts +23 -8
- package/dist/types/__VUE/ecard/index.vue.d.ts +3 -3
- package/dist/types/__VUE/elevator/index.vue.d.ts +29 -0
- package/dist/types/__VUE/empty/index.vue.d.ts +2 -2
- package/dist/types/__VUE/formitem/index.vue.d.ts +3 -10
- package/dist/types/__VUE/grid/index.vue.d.ts +4 -4
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/input/index.vue.d.ts +2 -2
- package/dist/types/__VUE/noticebar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +2 -2
- package/dist/types/__VUE/picker/index.vue.d.ts +2 -2
- package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
- package/dist/types/__VUE/row/index.vue.d.ts +2 -2
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +2 -2
- package/dist/types/__VUE/step/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/timeselect/index.vue.d.ts +9 -2
- package/dist/types/__VUE/toast/index.vue.d.ts +3 -3
- package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/video/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -1
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.22-beta.
|
|
2
|
+
* @nutui/nutui v3.1.22-beta.3 Wed Jun 15 2022 20:12:30 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
var
|
|
7
|
-
const
|
|
8
|
-
for (const [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return target;
|
|
6
|
+
var o = (o2, r) => {
|
|
7
|
+
const t = o2.__vccOpts || o2;
|
|
8
|
+
for (const [o3, c] of r)
|
|
9
|
+
t[o3] = c;
|
|
10
|
+
return t;
|
|
12
11
|
};
|
|
13
|
-
export {
|
|
12
|
+
export { o as _ };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.22-beta.
|
|
2
|
+
* @nutui/nutui v3.1.22-beta.3 Wed Jun 15 2022 20:12:30 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
export { pxCheck as p };
|
|
6
|
+
const p = (p2) => isNaN(Number(p2)) ? String(p2) : `${p2}px`;
|
|
7
|
+
export { p };
|
package/dist/packages/_es/raf.js
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.22-beta.
|
|
2
|
+
* @nutui/nutui v3.1.22-beta.3 Wed Jun 15 2022 20:12:30 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return function(callback) {
|
|
14
|
-
setTimeout(callback, 1e3 / 60);
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
var requestAniFrame$1 = requestAniFrame();
|
|
19
|
-
export { requestAniFrame$1 as r };
|
|
6
|
+
const e = window;
|
|
7
|
+
var t = e !== void 0 ? e.requestAnimationFrame || e.webkitRequestAnimationFrame || function(t2) {
|
|
8
|
+
e.setTimeout(t2, 1e3 / 60);
|
|
9
|
+
} : function(e2) {
|
|
10
|
+
setTimeout(e2, 1e3 / 60);
|
|
11
|
+
};
|
|
12
|
+
export { t as r };
|
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
width: 100%;
|
|
125
125
|
height: $button-large-height;
|
|
126
126
|
line-height: $button-large-line-height;
|
|
127
|
+
font-size: $button-large-font-size;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
&--normal {
|
|
@@ -139,7 +140,7 @@
|
|
|
139
140
|
}
|
|
140
141
|
&--mini {
|
|
141
142
|
height: $button-mini-height;
|
|
142
|
-
line-height:
|
|
143
|
+
line-height: $button-mini-line-height;
|
|
143
144
|
padding: $button-mini-padding;
|
|
144
145
|
font-size: $button-mini-font-size;
|
|
145
146
|
}
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
align-items: center;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
&--large {
|
|
20
|
+
font-size: $cell-large-title-font;
|
|
21
|
+
padding: $cell-large-padding;
|
|
22
|
+
.nut-cell__title-desc {
|
|
23
|
+
font-size: $cell-large-title-desc-font;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
19
27
|
&:last-child {
|
|
20
28
|
&::after {
|
|
21
29
|
border: 0 !important;
|
|
@@ -73,6 +81,9 @@
|
|
|
73
81
|
text-align: right;
|
|
74
82
|
font-size: $cell-desc-font;
|
|
75
83
|
color: $cell-desc-color;
|
|
84
|
+
&--alone {
|
|
85
|
+
color: $cell-color;
|
|
86
|
+
}
|
|
76
87
|
}
|
|
77
88
|
&__link {
|
|
78
89
|
color: #979797;
|
|
@@ -24,8 +24,14 @@
|
|
|
24
24
|
}
|
|
25
25
|
&__icon--unchecked {
|
|
26
26
|
color: $checkbox-icon-disable-color;
|
|
27
|
+
font-size: $checkbox-icon-font-size;
|
|
28
|
+
}
|
|
29
|
+
&__icon--indeterminate {
|
|
30
|
+
color: $primary-color;
|
|
31
|
+
font-size: $checkbox-icon-font-size;
|
|
27
32
|
}
|
|
28
33
|
&__icon--disable {
|
|
29
34
|
color: $help-color;
|
|
35
|
+
font-size: $checkbox-icon-font-size;
|
|
30
36
|
}
|
|
31
37
|
}
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
position: relative;
|
|
5
5
|
&__list {
|
|
6
6
|
display: block;
|
|
7
|
+
position: relative;
|
|
7
8
|
overflow: auto;
|
|
8
9
|
&__item {
|
|
9
10
|
display: block;
|
|
10
11
|
font-size: $elevator-list-item-font-size;
|
|
11
12
|
color: $elevator-list-item-font-color;
|
|
12
13
|
&__code {
|
|
14
|
+
display: flex;
|
|
13
15
|
position: relative;
|
|
14
16
|
height: $elevator-list-item-code-height;
|
|
15
17
|
line-height: $elevator-list-item-code-line-height;
|
|
@@ -17,6 +19,7 @@
|
|
|
17
19
|
color: $elevator-list-item-code-font-color;
|
|
18
20
|
padding: $elevator-list-item-code-padding;
|
|
19
21
|
font-weight: $elevator-list-item-code-font-weight;
|
|
22
|
+
box-sizing: border-box;
|
|
20
23
|
&::after {
|
|
21
24
|
content: ' ';
|
|
22
25
|
width: $elevator-list-item-code-after-width;
|
|
@@ -38,6 +41,21 @@
|
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
}
|
|
44
|
+
&__fixed {
|
|
45
|
+
width: 100%;
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
padding: $elevator-list-item-code-padding;
|
|
50
|
+
height: $elevator-list-item-code-height;
|
|
51
|
+
line-height: $elevator-list-item-code-line-height;
|
|
52
|
+
font-size: $elevator-list-item-code-font-size;
|
|
53
|
+
color: $elevator-list-fixed-color;
|
|
54
|
+
font-weight: $elevator-list-item-code-font-weight;
|
|
55
|
+
background-color: $elevator-list-fixed-bg-color;
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
box-shadow: $elevator-list-fixed-box-shadow;
|
|
58
|
+
}
|
|
41
59
|
}
|
|
42
60
|
&__code--current {
|
|
43
61
|
position: $elevator-list-item-code-current-position;
|
|
@@ -67,6 +85,9 @@
|
|
|
67
85
|
display: block;
|
|
68
86
|
padding: $elevator-list-item-bars-inner-item-padding;
|
|
69
87
|
font-size: $elevator-list-item-bars-inner-item-font-size;
|
|
88
|
+
&.active {
|
|
89
|
+
color: $elevator-list-item-bars-inner-item-active-color;
|
|
90
|
+
}
|
|
70
91
|
}
|
|
71
92
|
}
|
|
72
93
|
}
|
|
@@ -29,7 +29,7 @@ textarea {
|
|
|
29
29
|
|
|
30
30
|
.input-text,
|
|
31
31
|
&__text--readonly {
|
|
32
|
-
width:
|
|
32
|
+
width: 90%;
|
|
33
33
|
padding: 0;
|
|
34
34
|
// padding-right: 35px;
|
|
35
35
|
line-height: inherit;
|
|
@@ -60,10 +60,16 @@ textarea {
|
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
62
|
}
|
|
63
|
+
&-box {
|
|
64
|
+
position: relative;
|
|
65
|
+
width: 100%;
|
|
66
|
+
}
|
|
63
67
|
&-disabled-mask {
|
|
64
68
|
position: absolute;
|
|
65
69
|
width: 100%;
|
|
66
70
|
height: 100%;
|
|
71
|
+
top: 0;
|
|
72
|
+
left: 0;
|
|
67
73
|
z-index: 2;
|
|
68
74
|
}
|
|
69
75
|
&-error-message {
|
|
@@ -91,6 +97,12 @@ textarea {
|
|
|
91
97
|
&-left-icon {
|
|
92
98
|
margin-right: 4px;
|
|
93
99
|
}
|
|
100
|
+
&-clear-box {
|
|
101
|
+
height: 100%;
|
|
102
|
+
.nut-input-clear {
|
|
103
|
+
vertical-align: -2px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
94
106
|
&-clear {
|
|
95
107
|
width: 16px;
|
|
96
108
|
height: 16px;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.22-beta.
|
|
2
|
+
* @nutui/nutui v3.1.22-beta.3 Wed Jun 15 2022 20:12:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
class
|
|
6
|
+
class s {
|
|
7
7
|
}
|
|
8
|
-
export {
|
|
8
|
+
export { s as B };
|
|
@@ -73,6 +73,7 @@ declare class Lang extends BaseLang {
|
|
|
73
73
|
};
|
|
74
74
|
addresslist: {
|
|
75
75
|
addAddress: string;
|
|
76
|
+
default: string;
|
|
76
77
|
};
|
|
77
78
|
comment: {
|
|
78
79
|
complaintsText: string;
|
|
@@ -92,5 +93,12 @@ declare class Lang extends BaseLang {
|
|
|
92
93
|
min: string;
|
|
93
94
|
seconds: string;
|
|
94
95
|
};
|
|
96
|
+
audiooperate: {
|
|
97
|
+
back: string;
|
|
98
|
+
start: string;
|
|
99
|
+
pause: string;
|
|
100
|
+
forward: string;
|
|
101
|
+
mute: string;
|
|
102
|
+
};
|
|
95
103
|
}
|
|
96
104
|
export default Lang;
|
|
@@ -1,104 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.22-beta.
|
|
2
|
+
* @nutui/nutui v3.1.22-beta.3 Wed Jun 15 2022 20:12:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { B as
|
|
7
|
-
class
|
|
6
|
+
import { B as e } from "./baseLang.js";
|
|
7
|
+
class t extends e {
|
|
8
8
|
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.save = "Save";
|
|
11
|
-
this.confirm = "Confirm";
|
|
12
|
-
this.cancel = "Cancel";
|
|
13
|
-
this.done = "Done";
|
|
14
|
-
this.noData = "No Data";
|
|
15
|
-
this.placeholder = "Placeholder";
|
|
16
|
-
this.select = "Select";
|
|
17
|
-
this.video = {
|
|
18
|
-
errorTip: "Error Tip",
|
|
19
|
-
clickRetry: "Click Retry"
|
|
20
|
-
};
|
|
21
|
-
this.fixednav = {
|
|
22
|
-
activeText: "Close Nav",
|
|
23
|
-
unActiveText: "Open Nav"
|
|
24
|
-
};
|
|
25
|
-
this.pagination = {
|
|
26
|
-
prev: "Previous",
|
|
27
|
-
next: "Next"
|
|
28
|
-
};
|
|
29
|
-
this.calendaritem = {
|
|
30
|
-
weekdays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
31
|
-
end: "End",
|
|
32
|
-
start: "Start",
|
|
33
|
-
title: "Calendar",
|
|
34
|
-
monthTitle: (year, month) => `${year}/${month}`,
|
|
35
|
-
today: "Today"
|
|
36
|
-
};
|
|
37
|
-
this.shortpassword = {
|
|
38
|
-
title: "Please input a password",
|
|
39
|
-
desc: "Verify",
|
|
40
|
-
tips: "Forget password"
|
|
41
|
-
};
|
|
42
|
-
this.uploader = {
|
|
43
|
-
ready: "Ready",
|
|
44
|
-
readyUpload: "Ready to upload",
|
|
45
|
-
waitingUpload: "Waiting for upload",
|
|
46
|
-
uploading: "Uploading",
|
|
47
|
-
success: "Upload successful",
|
|
48
|
-
error: "Upload failed"
|
|
49
|
-
};
|
|
50
|
-
this.countdown = {
|
|
51
|
-
day: " Day ",
|
|
52
|
-
hour: " Hour ",
|
|
53
|
-
minute: " Minute ",
|
|
54
|
-
second: " Second "
|
|
55
|
-
};
|
|
56
|
-
this.address = {
|
|
57
|
-
selectRegion: "Select Region",
|
|
58
|
-
deliveryTo: "Delivery To",
|
|
59
|
-
chooseAnotherAddress: "Choose Another Address"
|
|
60
|
-
};
|
|
61
|
-
this.signature = {
|
|
62
|
-
reSign: "Re Sign",
|
|
63
|
-
unSupportTpl: `Sorry, the current browser doesn't support canvas, so we can't use this control!`
|
|
64
|
-
};
|
|
65
|
-
this.ecard = {
|
|
66
|
-
chooseText: "Select",
|
|
67
|
-
otherValueText: "Other Value",
|
|
68
|
-
placeholder: "Placeholder"
|
|
69
|
-
};
|
|
70
|
-
this.timeselect = {
|
|
71
|
-
pickupTime: "Pickup Time"
|
|
72
|
-
};
|
|
73
|
-
this.sku = {
|
|
74
|
-
buyNow: "Buy Now",
|
|
75
|
-
buyNumber: "Buy Number",
|
|
76
|
-
addToCart: "Add to Cart"
|
|
77
|
-
};
|
|
78
|
-
this.skuheader = {
|
|
79
|
-
skuId: "Sku Number"
|
|
80
|
-
};
|
|
81
|
-
this.addresslist = {
|
|
82
|
-
addAddress: "Add New Address"
|
|
83
|
-
};
|
|
84
|
-
this.comment = {
|
|
85
|
-
complaintsText: "I have a complaint",
|
|
86
|
-
additionalReview: (day) => `Review after ${day} days of purchase`,
|
|
87
|
-
additionalImages: (length) => `There are ${length} follow-up comments`
|
|
88
|
-
};
|
|
89
|
-
this.infiniteloading = {
|
|
90
|
-
loading: "Loading...",
|
|
91
|
-
pullTxt: "Loose to refresh",
|
|
92
|
-
loadMoreTxt: "Oops, this is the bottom"
|
|
93
|
-
};
|
|
94
|
-
this.datepicker = {
|
|
95
|
-
year: "Year",
|
|
96
|
-
month: "Month",
|
|
97
|
-
day: "Day",
|
|
98
|
-
hour: "Hour",
|
|
99
|
-
min: "Minute",
|
|
100
|
-
seconds: "Second"
|
|
101
|
-
};
|
|
9
|
+
super(...arguments), this.save = "Save", this.confirm = "Confirm", this.cancel = "Cancel", this.done = "Done", this.noData = "No Data", this.placeholder = "Placeholder", this.select = "Select", this.video = { errorTip: "Error Tip", clickRetry: "Click Retry" }, this.fixednav = { activeText: "Close Nav", unActiveText: "Open Nav" }, this.pagination = { prev: "Previous", next: "Next" }, this.calendaritem = { weekdays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], end: "End", start: "Start", title: "Calendar", monthTitle: (e2, t2) => `${e2}/${t2}`, today: "Today" }, this.shortpassword = { title: "Please input a password", desc: "Verify", tips: "Forget password" }, this.uploader = { ready: "Ready", readyUpload: "Ready to upload", waitingUpload: "Waiting for upload", uploading: "Uploading", success: "Upload successful", error: "Upload failed" }, this.countdown = { day: " Day ", hour: " Hour ", minute: " Minute ", second: " Second " }, this.address = { selectRegion: "Select Region", deliveryTo: "Delivery To", chooseAnotherAddress: "Choose Another Address" }, this.signature = { reSign: "Re Sign", unSupportTpl: "Sorry, the current browser doesn't support canvas, so we can't use this control!" }, this.ecard = { chooseText: "Select", otherValueText: "Other Value", placeholder: "Placeholder" }, this.timeselect = { pickupTime: "Pickup Time" }, this.sku = { buyNow: "Buy Now", buyNumber: "Buy Number", addToCart: "Add to Cart" }, this.skuheader = { skuId: "Sku Number" }, this.addresslist = { addAddress: "Add New Address", default: "default" }, this.comment = { complaintsText: "I have a complaint", additionalReview: (e2) => `Review after ${e2} days of purchase`, additionalImages: (e2) => `There are ${e2} follow-up comments` }, this.infiniteloading = { loading: "Loading...", pullTxt: "Loose to refresh", loadMoreTxt: "Oops, this is the bottom" }, this.datepicker = { year: "Year", month: "Month", day: "Day", hour: "Hour", min: "Minute", seconds: "Second" }, this.audiooperate = { back: "Back", start: "Start", pause: "Pause", forward: "Forward", mute: "Mute" };
|
|
102
10
|
}
|
|
103
11
|
}
|
|
104
|
-
export {
|
|
12
|
+
export { t as default };
|
|
@@ -73,6 +73,7 @@ declare class Lang extends BaseLang {
|
|
|
73
73
|
};
|
|
74
74
|
addresslist: {
|
|
75
75
|
addAddress: string;
|
|
76
|
+
default: string;
|
|
76
77
|
};
|
|
77
78
|
comment: {
|
|
78
79
|
complaintsText: string;
|
|
@@ -92,5 +93,12 @@ declare class Lang extends BaseLang {
|
|
|
92
93
|
min: string;
|
|
93
94
|
seconds: string;
|
|
94
95
|
};
|
|
96
|
+
audiooperate: {
|
|
97
|
+
back: string;
|
|
98
|
+
start: string;
|
|
99
|
+
pause: string;
|
|
100
|
+
forward: string;
|
|
101
|
+
mute: string;
|
|
102
|
+
};
|
|
95
103
|
}
|
|
96
104
|
export default Lang;
|
|
@@ -1,104 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.22-beta.
|
|
2
|
+
* @nutui/nutui v3.1.22-beta.3 Wed Jun 15 2022 20:12:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { B as
|
|
7
|
-
class
|
|
6
|
+
import { B as a } from "./baseLang.js";
|
|
7
|
+
class e extends a {
|
|
8
8
|
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.save = "Simpan";
|
|
11
|
-
this.confirm = "Konfirmasi";
|
|
12
|
-
this.cancel = "Batal";
|
|
13
|
-
this.done = "Selesai";
|
|
14
|
-
this.noData = "Tidak Ada Data";
|
|
15
|
-
this.placeholder = "Kolom Input";
|
|
16
|
-
this.select = "Pilih";
|
|
17
|
-
this.video = {
|
|
18
|
-
errorTip: "Terjadi Kesalahan",
|
|
19
|
-
clickRetry: "Coba Lagi"
|
|
20
|
-
};
|
|
21
|
-
this.fixednav = {
|
|
22
|
-
activeText: "Tutup Navigasi",
|
|
23
|
-
unActiveText: "Buka Navigasi"
|
|
24
|
-
};
|
|
25
|
-
this.pagination = {
|
|
26
|
-
prev: "Sebelumnya",
|
|
27
|
-
next: "Selanjutnya"
|
|
28
|
-
};
|
|
29
|
-
this.calendaritem = {
|
|
30
|
-
weekdays: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
|
|
31
|
-
end: "Selesai",
|
|
32
|
-
start: "Mulai",
|
|
33
|
-
title: "Kalender",
|
|
34
|
-
monthTitle: (year, month) => `${year}/${month}`,
|
|
35
|
-
today: "Hari ini"
|
|
36
|
-
};
|
|
37
|
-
this.shortpassword = {
|
|
38
|
-
title: "SIlakan masukan kata sandi",
|
|
39
|
-
desc: "Anda telah menggunakan aset virtual, mohon lakukan verifikasi.",
|
|
40
|
-
tips: "Lupa Kata Sandi"
|
|
41
|
-
};
|
|
42
|
-
this.uploader = {
|
|
43
|
-
ready: "File berhasil diunggah",
|
|
44
|
-
readyUpload: "Siap untuk mengunggah",
|
|
45
|
-
waitingUpload: "Menunggu untuk diunggah",
|
|
46
|
-
uploading: "Mengunggah",
|
|
47
|
-
success: "Berhasil Diunggah",
|
|
48
|
-
error: "Gagal Mengunggah"
|
|
49
|
-
};
|
|
50
|
-
this.countdown = {
|
|
51
|
-
day: " Hari ",
|
|
52
|
-
hour: " Jam ",
|
|
53
|
-
minute: " Menit ",
|
|
54
|
-
second: " Detik "
|
|
55
|
-
};
|
|
56
|
-
this.address = {
|
|
57
|
-
selectRegion: "Pilih Daerah",
|
|
58
|
-
deliveryTo: "Kirim Ke",
|
|
59
|
-
chooseAnotherAddress: "Pilih alamat lain"
|
|
60
|
-
};
|
|
61
|
-
this.signature = {
|
|
62
|
-
reSign: "Masuk Kembali",
|
|
63
|
-
unSupportTpl: `Maaf, browser Anda saat ini tidak mendukung Canvas, sehingga kita tidak dapat menggunakan kontrol ini!`
|
|
64
|
-
};
|
|
65
|
-
this.ecard = {
|
|
66
|
-
chooseText: "Pilih",
|
|
67
|
-
otherValueText: "Jumlah Lain",
|
|
68
|
-
placeholder: "Kolom Input"
|
|
69
|
-
};
|
|
70
|
-
this.timeselect = {
|
|
71
|
-
pickupTime: "Waktu Penjemputan"
|
|
72
|
-
};
|
|
73
|
-
this.sku = {
|
|
74
|
-
buyNow: "Beli Sekarang",
|
|
75
|
-
buyNumber: "Jumlah Pembelian",
|
|
76
|
-
addToCart: "Tambahkan ke Keranjang"
|
|
77
|
-
};
|
|
78
|
-
this.skuheader = {
|
|
79
|
-
skuId: "Nomor SKU"
|
|
80
|
-
};
|
|
81
|
-
this.addresslist = {
|
|
82
|
-
addAddress: "Tambah Alamat Baru"
|
|
83
|
-
};
|
|
84
|
-
this.comment = {
|
|
85
|
-
complaintsText: "Saya memiliki komplain",
|
|
86
|
-
additionalReview: (day) => `Ulas setelah ${day} hari dari pembelian`,
|
|
87
|
-
additionalImages: (length) => `Terdapat ${length} komentar lainnya`
|
|
88
|
-
};
|
|
89
|
-
this.infiniteloading = {
|
|
90
|
-
loading: "Memuat...",
|
|
91
|
-
pullTxt: "Lepaskan untuk memperbarui",
|
|
92
|
-
loadMoreTxt: "Oops, sudah sampai bawah"
|
|
93
|
-
};
|
|
94
|
-
this.datepicker = {
|
|
95
|
-
year: "Tahun",
|
|
96
|
-
month: "Bulan",
|
|
97
|
-
day: "Hari",
|
|
98
|
-
hour: "Jam",
|
|
99
|
-
min: "Menit",
|
|
100
|
-
seconds: "Detik"
|
|
101
|
-
};
|
|
9
|
+
super(...arguments), this.save = "Simpan", this.confirm = "Konfirmasi", this.cancel = "Batal", this.done = "Selesai", this.noData = "Tidak Ada Data", this.placeholder = "Kolom Input", this.select = "Pilih", this.video = { errorTip: "Terjadi Kesalahan", clickRetry: "Coba Lagi" }, this.fixednav = { activeText: "Tutup Navigasi", unActiveText: "Buka Navigasi" }, this.pagination = { prev: "Sebelumnya", next: "Selanjutnya" }, this.calendaritem = { weekdays: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"], end: "Selesai", start: "Mulai", title: "Kalender", monthTitle: (a2, e2) => `${a2}/${e2}`, today: "Hari ini" }, this.shortpassword = { title: "SIlakan masukan kata sandi", desc: "Anda telah menggunakan aset virtual, mohon lakukan verifikasi.", tips: "Lupa Kata Sandi" }, this.uploader = { ready: "File berhasil diunggah", readyUpload: "Siap untuk mengunggah", waitingUpload: "Menunggu untuk diunggah", uploading: "Mengunggah", success: "Berhasil Diunggah", error: "Gagal Mengunggah" }, this.countdown = { day: " Hari ", hour: " Jam ", minute: " Menit ", second: " Detik " }, this.address = { selectRegion: "Pilih Daerah", deliveryTo: "Kirim Ke", chooseAnotherAddress: "Pilih alamat lain" }, this.signature = { reSign: "Masuk Kembali", unSupportTpl: "Maaf, browser Anda saat ini tidak mendukung Canvas, sehingga kita tidak dapat menggunakan kontrol ini!" }, this.ecard = { chooseText: "Pilih", otherValueText: "Jumlah Lain", placeholder: "Kolom Input" }, this.timeselect = { pickupTime: "Waktu Penjemputan" }, this.sku = { buyNow: "Beli Sekarang", buyNumber: "Jumlah Pembelian", addToCart: "Tambahkan ke Keranjang" }, this.skuheader = { skuId: "Nomor SKU" }, this.addresslist = { addAddress: "Tambah Alamat Baru", default: "Bawaan" }, this.comment = { complaintsText: "Saya memiliki komplain", additionalReview: (a2) => `Ulas setelah ${a2} hari dari pembelian`, additionalImages: (a2) => `Terdapat ${a2} komentar lainnya` }, this.infiniteloading = { loading: "Memuat...", pullTxt: "Lepaskan untuk memperbarui", loadMoreTxt: "Oops, sudah sampai bawah" }, this.datepicker = { year: "Tahun", month: "Bulan", day: "Hari", hour: "Jam", min: "Menit", seconds: "Detik" }, this.audiooperate = { back: "kembali", start: "Mulailah", pause: "berhenti sebentar", forward: "Maju cepat", mute: "Bisu" };
|
|
102
10
|
}
|
|
103
11
|
}
|
|
104
|
-
export {
|
|
12
|
+
export { e as default };
|
|
@@ -1,48 +1,26 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.22-beta.
|
|
2
|
+
* @nutui/nutui v3.1.22-beta.3 Wed Jun 15 2022 20:12:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { reactive, ref } from "vue";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
6
|
+
import { reactive as e, ref as t } from "vue";
|
|
7
|
+
import r from "./zh-CN.js";
|
|
8
|
+
import s from "./en-US.js";
|
|
9
9
|
import "./baseLang.js";
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
if (isObject(targetValue) && isObject(newObjValue)) {
|
|
16
|
-
deepMerge(targetValue, newObjValue);
|
|
17
|
-
} else {
|
|
18
|
-
target[key] = newObjValue;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
return target;
|
|
22
|
-
};
|
|
23
|
-
const langs = reactive({
|
|
24
|
-
"zh-CN": new Lang(),
|
|
25
|
-
"en-US": new Lang$1()
|
|
26
|
-
});
|
|
27
|
-
class Locale {
|
|
10
|
+
const a = (e2) => e2 !== null && typeof e2 == "object", n = (e2, t2) => (Object.keys(t2).forEach((r2) => {
|
|
11
|
+
let s2 = e2[r2], o2 = t2[r2];
|
|
12
|
+
a(s2) && a(o2) ? n(s2, o2) : e2[r2] = o2;
|
|
13
|
+
}), e2), o = e({ "zh-CN": new r(), "en-US": new s() });
|
|
14
|
+
class u {
|
|
28
15
|
static languages() {
|
|
29
|
-
return
|
|
16
|
+
return o[this.currentLang.value];
|
|
30
17
|
}
|
|
31
|
-
static use(
|
|
32
|
-
|
|
33
|
-
langs[lang] = new newLanguages();
|
|
34
|
-
}
|
|
35
|
-
this.currentLang.value = lang;
|
|
18
|
+
static use(e2, t2) {
|
|
19
|
+
t2 && (o[e2] = new t2()), this.currentLang.value = e2;
|
|
36
20
|
}
|
|
37
|
-
static merge(
|
|
38
|
-
|
|
39
|
-
if (langs[lang]) {
|
|
40
|
-
deepMerge(langs[lang], newLanguages);
|
|
41
|
-
} else {
|
|
42
|
-
this.use(lang, newLanguages);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
21
|
+
static merge(e2, t2) {
|
|
22
|
+
t2 && (o[e2] ? n(o[e2], t2) : this.use(e2, t2));
|
|
45
23
|
}
|
|
46
24
|
}
|
|
47
|
-
|
|
48
|
-
export { Locale,
|
|
25
|
+
u.currentLang = t("zh-CN");
|
|
26
|
+
export { u as Locale, u as default };
|
|
@@ -73,6 +73,7 @@ declare class Lang extends BaseLang {
|
|
|
73
73
|
};
|
|
74
74
|
addresslist: {
|
|
75
75
|
addAddress: string;
|
|
76
|
+
default: string;
|
|
76
77
|
};
|
|
77
78
|
comment: {
|
|
78
79
|
complaintsText: string;
|
|
@@ -92,5 +93,12 @@ declare class Lang extends BaseLang {
|
|
|
92
93
|
min: string;
|
|
93
94
|
seconds: string;
|
|
94
95
|
};
|
|
96
|
+
audiooperate: {
|
|
97
|
+
back: string;
|
|
98
|
+
start: string;
|
|
99
|
+
pause: string;
|
|
100
|
+
forward: string;
|
|
101
|
+
mute: string;
|
|
102
|
+
};
|
|
95
103
|
}
|
|
96
104
|
export default Lang;
|