@nutui/nutui 3.1.19-beta.3 → 3.1.19-beta.4
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 +365 -204
- package/dist/nutui.umd.js +364 -203
- package/dist/packages/_es/ActionSheet.js +50 -34
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +1 -1
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +5 -5
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +3 -3
- package/dist/packages/_es/Cell.js +1 -1
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +1 -1
- package/dist/packages/_es/CheckboxGroup.js +1 -1
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +1 -1
- package/dist/packages/_es/CountDown.js +7 -6
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +3 -3
- package/dist/packages/_es/Dialog.js +10 -9
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Ecard.js +1 -1
- package/dist/packages/_es/Elevator.js +1 -1
- package/dist/packages/_es/Empty.js +6 -5
- package/dist/packages/_es/FixedNav.js +6 -7
- package/dist/packages/_es/Form.js +2 -6
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +14 -13
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +1 -1
- package/dist/packages/_es/Menu.js +1 -1
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Navbar.js +2 -2
- package/dist/packages/_es/NoticeBar.js +1 -1
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +7 -6
- package/dist/packages/_es/OldPicker.js +1 -1
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +8 -7
- package/dist/packages/_es/Picker.js +8 -7
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +18 -4
- package/dist/packages/_es/PullRefresh.js +1 -1
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +1 -1
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +6 -5
- package/dist/packages/_es/ShortPassword.js +13 -12
- package/dist/packages/_es/SideNavBar.js +1 -1
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +2 -3
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +1 -1
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +1 -1
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +1 -1
- package/dist/packages/_es/Table.js +7 -6
- package/dist/packages/_es/Tabs.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +6 -5
- package/dist/packages/_es/TimeDetail.js +1 -1
- package/dist/packages/_es/TimePannel.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/Uploader.js +8 -8
- package/dist/packages/_es/Video.js +7 -6
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +165 -3
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +22 -17
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/actionsheet/index.scss +8 -0
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +47 -47
- package/dist/styles/themes/jdt.scss +47 -47
- package/dist/types/__VUE/actionsheet/index.d.ts +15 -4
- package/dist/types/__VUE/address/index.d.ts +2 -2
- package/dist/types/__VUE/calendar/index.d.ts +1 -1
- package/dist/types/__VUE/calendaritem/index.d.ts +2 -1
- package/dist/types/__VUE/cascader/cascader-item.d.ts +1 -1
- package/dist/types/__VUE/countdown/index.d.ts +1 -0
- package/dist/types/__VUE/datepicker/index.d.ts +1 -1
- package/dist/types/__VUE/dialog/index.d.ts +4 -3
- package/dist/types/__VUE/ecard/index.d.ts +1 -1
- package/dist/types/__VUE/empty/index.d.ts +1 -0
- package/dist/types/__VUE/fixednav/index.d.ts +2 -1
- package/dist/types/__VUE/infiniteloading/index.d.ts +4 -4
- package/dist/types/__VUE/input/index.d.ts +4 -3
- package/dist/types/__VUE/menu/index.d.ts +1 -1
- package/dist/types/__VUE/navbar/index.d.ts +1 -2
- package/dist/types/__VUE/numberkeyboard/index.d.ts +2 -1
- package/dist/types/__VUE/oldpicker/index.d.ts +2 -2
- package/dist/types/__VUE/pagination/index.d.ts +1 -0
- package/dist/types/__VUE/picker/index.d.ts +3 -2
- package/dist/types/__VUE/popover/index.d.ts +2 -2
- package/dist/types/__VUE/popup/index.d.ts +3 -3
- package/dist/types/__VUE/progress/index.d.ts +1 -0
- package/dist/types/__VUE/range/index.d.ts +1 -1
- package/dist/types/__VUE/searchbar/index.d.ts +1 -0
- package/dist/types/__VUE/shortpassword/index.d.ts +2 -1
- package/dist/types/__VUE/sku/index.d.ts +2 -2
- package/dist/types/__VUE/swipe/index.d.ts +2 -2
- package/dist/types/__VUE/switch/index.d.ts +1 -1
- package/dist/types/__VUE/table/common.d.ts +2 -1
- package/dist/types/__VUE/table/index.d.ts +1 -0
- package/dist/types/__VUE/textarea/index.d.ts +1 -0
- package/dist/types/__VUE/video/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/packages/_es/util.js +0 -47
package/dist/nutui.umd.js
CHANGED
|
@@ -35,7 +35,7 @@ var __publicField = (obj, key, value) => {
|
|
|
35
35
|
return value;
|
|
36
36
|
};
|
|
37
37
|
/*!
|
|
38
|
-
* @nutui/nutui v3.1.19-beta.
|
|
38
|
+
* @nutui/nutui v3.1.19-beta.4 Tue Apr 12 2022 17:39:13 GMT+0800 (中国标准时间)
|
|
39
39
|
* (c) 2022 @jdf2e.
|
|
40
40
|
* Released under the MIT License.
|
|
41
41
|
*/
|
|
@@ -43,10 +43,172 @@ var __publicField = (obj, key, value) => {
|
|
|
43
43
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue")) : typeof define === "function" && define.amd ? define(["exports", "vue"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.nutui = {}, global.Vue));
|
|
44
44
|
})(this, function(exports2, vue) {
|
|
45
45
|
"use strict";
|
|
46
|
+
const lang$1 = {
|
|
47
|
+
save: "\u4FDD\u5B58",
|
|
48
|
+
confirm: "\u786E\u8BA4",
|
|
49
|
+
cancel: "\u53D6\u6D88",
|
|
50
|
+
done: "\u5B8C\u6210",
|
|
51
|
+
noData: "\u6682\u65E0\u6570\u636E",
|
|
52
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
53
|
+
select: "\u8BF7\u9009\u62E9",
|
|
54
|
+
video: {
|
|
55
|
+
errorTip: "\u89C6\u9891\u52A0\u8F7D\u5931\u8D25",
|
|
56
|
+
clickRetry: "\u70B9\u51FB\u91CD\u8BD5"
|
|
57
|
+
},
|
|
58
|
+
fixednav: {
|
|
59
|
+
activeText: "\u6536\u8D77\u5BFC\u822A",
|
|
60
|
+
unActiveText: "\u5FEB\u901F\u5BFC\u822A"
|
|
61
|
+
},
|
|
62
|
+
pagination: {
|
|
63
|
+
prev: "\u4E0A\u4E00\u9875",
|
|
64
|
+
next: "\u4E0B\u4E00\u9875"
|
|
65
|
+
},
|
|
66
|
+
calendaritem: {
|
|
67
|
+
weekdays: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
|
68
|
+
end: "\u7ED3\u675F",
|
|
69
|
+
start: "\u5F00\u59CB",
|
|
70
|
+
title: "\u65E5\u5386\u9009\u62E9",
|
|
71
|
+
monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
|
|
72
|
+
today: "\u4ECA\u5929"
|
|
73
|
+
},
|
|
74
|
+
shortpassword: {
|
|
75
|
+
title: "\u8BF7\u8F93\u5165\u5BC6\u7801",
|
|
76
|
+
desc: "\u60A8\u4F7F\u7528\u4E86\u865A\u62DF\u8D44\u4EA7\uFF0C\u8BF7\u8FDB\u884C\u9A8C\u8BC1",
|
|
77
|
+
tips: "\u5FD8\u8BB0\u5BC6\u7801"
|
|
78
|
+
},
|
|
79
|
+
uploader: {
|
|
80
|
+
ready: "\u51C6\u5907\u5B8C\u6210",
|
|
81
|
+
readyUpload: "\u51C6\u5907\u4E0A\u4F20",
|
|
82
|
+
waitingUpload: "\u7B49\u5F85\u4E0A\u4F20",
|
|
83
|
+
uploading: "\u4E0A\u4F20\u4E2D",
|
|
84
|
+
success: "\u4E0A\u4F20\u6210\u529F",
|
|
85
|
+
error: "\u4E0A\u4F20\u5931\u8D25"
|
|
86
|
+
},
|
|
87
|
+
countdown: {
|
|
88
|
+
day: "\u5929",
|
|
89
|
+
hour: "\u65F6",
|
|
90
|
+
minute: "\u5206",
|
|
91
|
+
second: "\u79D2"
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
const lang = {
|
|
95
|
+
save: "Save",
|
|
96
|
+
confirm: "Confirm",
|
|
97
|
+
cancel: "Cancel",
|
|
98
|
+
done: "Done",
|
|
99
|
+
noData: "No Data",
|
|
100
|
+
placeholder: "Placeholder",
|
|
101
|
+
select: "Select",
|
|
102
|
+
video: {
|
|
103
|
+
errorTip: "Error Tip",
|
|
104
|
+
clickRetry: "Click Retry"
|
|
105
|
+
},
|
|
106
|
+
fixednav: {
|
|
107
|
+
activeText: "Close Nav",
|
|
108
|
+
unActiveText: "Open Nav"
|
|
109
|
+
},
|
|
110
|
+
pagination: {
|
|
111
|
+
prev: "Previous",
|
|
112
|
+
next: "Next"
|
|
113
|
+
},
|
|
114
|
+
calendaritem: {
|
|
115
|
+
weekdays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
116
|
+
end: "End",
|
|
117
|
+
start: "Start",
|
|
118
|
+
title: "Calendar",
|
|
119
|
+
monthTitle: (year, month) => `${year}/${month}`,
|
|
120
|
+
today: "Today"
|
|
121
|
+
},
|
|
122
|
+
shortpassword: {
|
|
123
|
+
title: "Please input a password",
|
|
124
|
+
desc: "Verify",
|
|
125
|
+
tips: "Forget password"
|
|
126
|
+
},
|
|
127
|
+
uploader: {
|
|
128
|
+
ready: "Ready",
|
|
129
|
+
readyUpload: "Ready to upload",
|
|
130
|
+
waitingUpload: "Waiting for upload",
|
|
131
|
+
uploading: "Uploading",
|
|
132
|
+
success: "Upload successful",
|
|
133
|
+
error: "Upload failed"
|
|
134
|
+
},
|
|
135
|
+
countdown: {
|
|
136
|
+
day: " Day ",
|
|
137
|
+
hour: " Hour ",
|
|
138
|
+
minute: " Minute ",
|
|
139
|
+
second: " Second "
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
const currentLang = vue.ref("zh-CN");
|
|
143
|
+
const langs = vue.reactive({
|
|
144
|
+
"zh-CN": lang$1,
|
|
145
|
+
"en-US": lang
|
|
146
|
+
});
|
|
147
|
+
class Locale {
|
|
148
|
+
static languages() {
|
|
149
|
+
return langs[currentLang.value];
|
|
150
|
+
}
|
|
151
|
+
static use(lang2) {
|
|
152
|
+
currentLang.value = lang2;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
const TypeOfFun = (value) => {
|
|
156
|
+
if (value === null) {
|
|
157
|
+
return "null";
|
|
158
|
+
}
|
|
159
|
+
const type = typeof value;
|
|
160
|
+
if (type === "undefined" || type === "string") {
|
|
161
|
+
return type;
|
|
162
|
+
}
|
|
163
|
+
const typeString = toString.call(value);
|
|
164
|
+
switch (typeString) {
|
|
165
|
+
case "[object Array]":
|
|
166
|
+
return "array";
|
|
167
|
+
case "[object Date]":
|
|
168
|
+
return "date";
|
|
169
|
+
case "[object Boolean]":
|
|
170
|
+
return "boolean";
|
|
171
|
+
case "[object Number]":
|
|
172
|
+
return "number";
|
|
173
|
+
case "[object Function]":
|
|
174
|
+
return "function";
|
|
175
|
+
case "[object RegExp]":
|
|
176
|
+
return "regexp";
|
|
177
|
+
case "[object Object]":
|
|
178
|
+
if (value.nodeType !== void 0) {
|
|
179
|
+
if (value.nodeType == 3) {
|
|
180
|
+
return /\S/.test(value.nodeValue) ? "textnode" : "whitespace";
|
|
181
|
+
} else {
|
|
182
|
+
return "element";
|
|
183
|
+
}
|
|
184
|
+
} else {
|
|
185
|
+
return "object";
|
|
186
|
+
}
|
|
187
|
+
default:
|
|
188
|
+
return "unknow";
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
const isFunction = (val) => typeof val === "function";
|
|
192
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
193
|
+
const isPromise = (val) => {
|
|
194
|
+
return isObject(val) && isFunction(val.then) && isFunction(val.catch);
|
|
195
|
+
};
|
|
196
|
+
const getPropByPath = (obj, keyPath) => {
|
|
197
|
+
try {
|
|
198
|
+
return keyPath.split(".").reduce((prev, curr) => prev[curr], obj);
|
|
199
|
+
} catch (error) {
|
|
200
|
+
return "";
|
|
201
|
+
}
|
|
202
|
+
};
|
|
46
203
|
function createComponent(name) {
|
|
204
|
+
const languages = Locale.languages();
|
|
47
205
|
const componentName2 = "nut-" + name;
|
|
48
206
|
return {
|
|
49
207
|
componentName: componentName2,
|
|
208
|
+
translate(keyPath, ...args) {
|
|
209
|
+
const text = getPropByPath(languages, `${name.replace("-", "")}.${keyPath}`) || getPropByPath(languages, keyPath);
|
|
210
|
+
return isFunction(text) ? text(...args) : text;
|
|
211
|
+
},
|
|
50
212
|
create: function(_component) {
|
|
51
213
|
_component.baseName = name;
|
|
52
214
|
_component.name = componentName2;
|
|
@@ -1319,7 +1481,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1319
1481
|
default: false
|
|
1320
1482
|
}
|
|
1321
1483
|
},
|
|
1322
|
-
emits: ["
|
|
1484
|
+
emits: ["on-click-back", "on-click-title", "on-click-icon", "on-click-right"],
|
|
1323
1485
|
setup(props, { emit }) {
|
|
1324
1486
|
const { fixed, safeAreaInsetTop } = vue.toRefs(props);
|
|
1325
1487
|
const classes = vue.computed(() => {
|
|
@@ -1393,7 +1555,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1393
1555
|
], 2);
|
|
1394
1556
|
}
|
|
1395
1557
|
var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1f]]);
|
|
1396
|
-
const { componentName: componentName$_, create: create$1j } = createComponent("fixednav");
|
|
1558
|
+
const { componentName: componentName$_, create: create$1j, translate: translate$f } = createComponent("fixednav");
|
|
1397
1559
|
const _sfc_main$1j = create$1j({
|
|
1398
1560
|
components: {
|
|
1399
1561
|
[OverLay.name]: OverLay
|
|
@@ -1412,11 +1574,11 @@ var __publicField = (obj, key, value) => {
|
|
|
1412
1574
|
type: Array
|
|
1413
1575
|
},
|
|
1414
1576
|
activeText: {
|
|
1415
|
-
default: "
|
|
1577
|
+
default: "",
|
|
1416
1578
|
type: String
|
|
1417
1579
|
},
|
|
1418
1580
|
unActiveText: {
|
|
1419
|
-
default: "
|
|
1581
|
+
default: "",
|
|
1420
1582
|
type: String
|
|
1421
1583
|
},
|
|
1422
1584
|
position: {
|
|
@@ -1433,7 +1595,6 @@ var __publicField = (obj, key, value) => {
|
|
|
1433
1595
|
type: String
|
|
1434
1596
|
}
|
|
1435
1597
|
},
|
|
1436
|
-
components: {},
|
|
1437
1598
|
emits: ["update:visible", "selected"],
|
|
1438
1599
|
setup(props, { emit }) {
|
|
1439
1600
|
const classes = vue.computed(() => {
|
|
@@ -1453,7 +1614,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1453
1614
|
event
|
|
1454
1615
|
});
|
|
1455
1616
|
};
|
|
1456
|
-
return { classes, updateValue, selected };
|
|
1617
|
+
return { classes, updateValue, selected, translate: translate$f };
|
|
1457
1618
|
}
|
|
1458
1619
|
});
|
|
1459
1620
|
const _hoisted_1$$ = { class: "nut-fixednav__list" };
|
|
@@ -1504,7 +1665,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1504
1665
|
name: "left",
|
|
1505
1666
|
color: "#fff"
|
|
1506
1667
|
}),
|
|
1507
|
-
vue.createElementVNode("view", _hoisted_6$k, vue.toDisplayString(_ctx.visible ? _ctx.activeText : _ctx.unActiveText), 1)
|
|
1668
|
+
vue.createElementVNode("view", _hoisted_6$k, vue.toDisplayString(_ctx.visible ? _ctx.activeText || _ctx.translate("activeText") : _ctx.unActiveText || _ctx.translate("unActiveText")), 1)
|
|
1508
1669
|
])
|
|
1509
1670
|
])
|
|
1510
1671
|
], 6);
|
|
@@ -2180,7 +2341,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2180
2341
|
], 2);
|
|
2181
2342
|
}
|
|
2182
2343
|
var Elevator = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$19]]);
|
|
2183
|
-
const { componentName: componentName$W, create: create$1d } = createComponent("pagination");
|
|
2344
|
+
const { componentName: componentName$W, create: create$1d, translate: translate$e } = createComponent("pagination");
|
|
2184
2345
|
const _sfc_main$1d = create$1d({
|
|
2185
2346
|
props: {
|
|
2186
2347
|
modelValue: {
|
|
@@ -2193,11 +2354,11 @@ var __publicField = (obj, key, value) => {
|
|
|
2193
2354
|
},
|
|
2194
2355
|
prevText: {
|
|
2195
2356
|
type: String,
|
|
2196
|
-
default: "
|
|
2357
|
+
default: ""
|
|
2197
2358
|
},
|
|
2198
2359
|
nextText: {
|
|
2199
2360
|
type: String,
|
|
2200
|
-
default: "
|
|
2361
|
+
default: ""
|
|
2201
2362
|
},
|
|
2202
2363
|
pageCount: {
|
|
2203
2364
|
type: [String, Number],
|
|
@@ -2282,7 +2443,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2282
2443
|
countRef,
|
|
2283
2444
|
mode,
|
|
2284
2445
|
pages,
|
|
2285
|
-
forceEllipses
|
|
2446
|
+
forceEllipses,
|
|
2447
|
+
translate: translate$e
|
|
2286
2448
|
};
|
|
2287
2449
|
}
|
|
2288
2450
|
});
|
|
@@ -2304,7 +2466,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2304
2466
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.select(_ctx.modelValue - 1, true))
|
|
2305
2467
|
}, [
|
|
2306
2468
|
vue.renderSlot(_ctx.$slots, "prev-text", {}, () => [
|
|
2307
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.prevText), 1)
|
|
2469
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.prevText || _ctx.translate("prev")), 1)
|
|
2308
2470
|
])
|
|
2309
2471
|
], 2),
|
|
2310
2472
|
_ctx.mode == "multi" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$M, [
|
|
@@ -2328,7 +2490,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2328
2490
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.select(_ctx.modelValue + 1, true))
|
|
2329
2491
|
}, [
|
|
2330
2492
|
vue.renderSlot(_ctx.$slots, "next-text", {}, () => [
|
|
2331
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.nextText), 1)
|
|
2493
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.nextText || _ctx.translate("next")), 1)
|
|
2332
2494
|
])
|
|
2333
2495
|
], 2)
|
|
2334
2496
|
]);
|
|
@@ -3164,7 +3326,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3164
3326
|
key: 0,
|
|
3165
3327
|
class: "number"
|
|
3166
3328
|
};
|
|
3167
|
-
const _hoisted_7$
|
|
3329
|
+
const _hoisted_7$e = {
|
|
3168
3330
|
key: 1,
|
|
3169
3331
|
class: "max"
|
|
3170
3332
|
};
|
|
@@ -3257,11 +3419,11 @@ var __publicField = (obj, key, value) => {
|
|
|
3257
3419
|
], 40, _hoisted_5$k))
|
|
3258
3420
|
], 4)
|
|
3259
3421
|
], 6),
|
|
3260
|
-
!_ctx.hiddenRange ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$
|
|
3422
|
+
!_ctx.hiddenRange ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$e, vue.toDisplayString(+_ctx.max), 1)) : vue.createCommentVNode("", true)
|
|
3261
3423
|
], 2);
|
|
3262
3424
|
}
|
|
3263
3425
|
var Range = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$11]]);
|
|
3264
|
-
const { create: create$15 } = createComponent("searchbar");
|
|
3426
|
+
const { create: create$15, translate: translate$d } = createComponent("searchbar");
|
|
3265
3427
|
const _sfc_main$15 = create$15({
|
|
3266
3428
|
props: {
|
|
3267
3429
|
modelValue: {
|
|
@@ -3278,7 +3440,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3278
3440
|
},
|
|
3279
3441
|
placeholder: {
|
|
3280
3442
|
type: String,
|
|
3281
|
-
default: "
|
|
3443
|
+
default: ""
|
|
3282
3444
|
},
|
|
3283
3445
|
clearable: {
|
|
3284
3446
|
type: Boolean,
|
|
@@ -3349,7 +3511,8 @@ var __publicField = (obj, key, value) => {
|
|
|
3349
3511
|
handleClear,
|
|
3350
3512
|
handleSubmit,
|
|
3351
3513
|
searchbarStyle,
|
|
3352
|
-
inputSearchbarStyle
|
|
3514
|
+
inputSearchbarStyle,
|
|
3515
|
+
translate: translate$d
|
|
3353
3516
|
});
|
|
3354
3517
|
}
|
|
3355
3518
|
});
|
|
@@ -3396,7 +3559,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3396
3559
|
class: "nut-searchbar__input-bar",
|
|
3397
3560
|
type: _ctx.inputType,
|
|
3398
3561
|
maxlength: _ctx.maxLength,
|
|
3399
|
-
placeholder: _ctx.placeholder,
|
|
3562
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
3400
3563
|
value: _ctx.modelValue,
|
|
3401
3564
|
onInput: _cache[0] || (_cache[0] = (...args) => _ctx.valueChange && _ctx.valueChange(...args)),
|
|
3402
3565
|
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.valueFocus && _ctx.valueFocus(...args)),
|
|
@@ -3548,7 +3711,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3548
3711
|
return Array.isArray(children) && Boolean(children.length);
|
|
3549
3712
|
}
|
|
3550
3713
|
}
|
|
3551
|
-
const { create: create$14 } = createComponent("cascader-item");
|
|
3714
|
+
const { create: create$14, translate: translate$c } = createComponent("cascader-item");
|
|
3552
3715
|
const _sfc_main$14 = create$14({
|
|
3553
3716
|
props: {
|
|
3554
3717
|
visible: Boolean,
|
|
@@ -3740,7 +3903,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3740
3903
|
tabsCursor.value = tab.paneKey;
|
|
3741
3904
|
},
|
|
3742
3905
|
formatTabTitle(pane) {
|
|
3743
|
-
return pane.selectedNode ? pane.selectedNode.text : "
|
|
3906
|
+
return pane.selectedNode ? pane.selectedNode.text : translate$c("select");
|
|
3744
3907
|
},
|
|
3745
3908
|
isSelected(pane, node) {
|
|
3746
3909
|
return pane.selectedNode && pane.selectedNode.value === node.value;
|
|
@@ -4023,7 +4186,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4023
4186
|
}
|
|
4024
4187
|
}
|
|
4025
4188
|
var requestAniFrame$1 = requestAniFrame();
|
|
4026
|
-
const { create: create$12 } = createComponent("calendar-item");
|
|
4189
|
+
const { create: create$12, translate: translate$b } = createComponent("calendar-item");
|
|
4027
4190
|
const _sfc_main$12 = create$12({
|
|
4028
4191
|
props: {
|
|
4029
4192
|
type: {
|
|
@@ -4052,19 +4215,19 @@ var __publicField = (obj, key, value) => {
|
|
|
4052
4215
|
},
|
|
4053
4216
|
title: {
|
|
4054
4217
|
type: String,
|
|
4055
|
-
default: "
|
|
4218
|
+
default: ""
|
|
4056
4219
|
},
|
|
4057
4220
|
confirmText: {
|
|
4058
4221
|
type: String,
|
|
4059
|
-
default: "
|
|
4222
|
+
default: ""
|
|
4060
4223
|
},
|
|
4061
4224
|
startText: {
|
|
4062
4225
|
type: String,
|
|
4063
|
-
default: "
|
|
4226
|
+
default: ""
|
|
4064
4227
|
},
|
|
4065
4228
|
endText: {
|
|
4066
4229
|
type: String,
|
|
4067
|
-
default: "
|
|
4230
|
+
default: ""
|
|
4068
4231
|
},
|
|
4069
4232
|
defaultValue: {
|
|
4070
4233
|
type: [String, Array],
|
|
@@ -4081,7 +4244,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4081
4244
|
},
|
|
4082
4245
|
emits: ["choose", "update", "close", "select"],
|
|
4083
4246
|
setup(props, { emit, slots }) {
|
|
4084
|
-
const weeks = vue.ref(
|
|
4247
|
+
const weeks = vue.ref(translate$b("weekdays"));
|
|
4085
4248
|
const months = vue.ref(null);
|
|
4086
4249
|
const monthsPanel = vue.ref(null);
|
|
4087
4250
|
const weeksPanel = vue.ref(null);
|
|
@@ -4263,7 +4426,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4263
4426
|
};
|
|
4264
4427
|
const monthInfo = {
|
|
4265
4428
|
curData,
|
|
4266
|
-
title:
|
|
4429
|
+
title: translate$b("monthTitle", title.year, title.month),
|
|
4267
4430
|
monthData: [
|
|
4268
4431
|
...getPreDaysStatus(preMonthDays, "prev", { month: preMonth, year: preYear }, preCurrMonthDays),
|
|
4269
4432
|
...getDaysStatus(currMonthDays, "curr", title)
|
|
@@ -4336,11 +4499,11 @@ var __publicField = (obj, key, value) => {
|
|
|
4336
4499
|
let current = 0;
|
|
4337
4500
|
let lastCurrent = 0;
|
|
4338
4501
|
state.monthsData.forEach((item, index) => {
|
|
4339
|
-
if (item.title ==
|
|
4502
|
+
if (item.title == translate$b("monthTitle", state.defaultData[0], state.defaultData[1])) {
|
|
4340
4503
|
current = index;
|
|
4341
4504
|
}
|
|
4342
4505
|
if (state.isRange) {
|
|
4343
|
-
if (item.title ==
|
|
4506
|
+
if (item.title == translate$b("monthTitle", state.defaultData[3], state.defaultData[4])) {
|
|
4344
4507
|
lastCurrent = index;
|
|
4345
4508
|
}
|
|
4346
4509
|
}
|
|
@@ -4446,7 +4609,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4446
4609
|
}
|
|
4447
4610
|
}
|
|
4448
4611
|
});
|
|
4449
|
-
return __spreadValues(__spreadValues({
|
|
4612
|
+
return __spreadProps(__spreadValues(__spreadValues({
|
|
4450
4613
|
weeks,
|
|
4451
4614
|
compConthsData,
|
|
4452
4615
|
showTopBtn,
|
|
@@ -4464,7 +4627,9 @@ var __publicField = (obj, key, value) => {
|
|
|
4464
4627
|
months,
|
|
4465
4628
|
weeksPanel,
|
|
4466
4629
|
viewArea
|
|
4467
|
-
}, vue.toRefs(state)), vue.toRefs(props))
|
|
4630
|
+
}, vue.toRefs(state)), vue.toRefs(props)), {
|
|
4631
|
+
translate: translate$b
|
|
4632
|
+
});
|
|
4468
4633
|
}
|
|
4469
4634
|
});
|
|
4470
4635
|
const _hoisted_1$N = {
|
|
@@ -4488,7 +4653,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4488
4653
|
ref: "monthsPanel"
|
|
4489
4654
|
};
|
|
4490
4655
|
const _hoisted_6$g = { class: "calendar-month-title" };
|
|
4491
|
-
const _hoisted_7$
|
|
4656
|
+
const _hoisted_7$d = { class: "calendar-month-con" };
|
|
4492
4657
|
const _hoisted_8$a = ["onClick"];
|
|
4493
4658
|
const _hoisted_9$6 = { class: "calendar-day" };
|
|
4494
4659
|
const _hoisted_10$4 = {
|
|
@@ -4521,7 +4686,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4521
4686
|
vue.createElementVNode("view", {
|
|
4522
4687
|
class: vue.normalizeClass(["nut-calendar-header", { "nut-calendar-header-tile": !_ctx.poppable }])
|
|
4523
4688
|
}, [
|
|
4524
|
-
_ctx.showTitle ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$N, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
|
|
4689
|
+
_ctx.showTitle ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$N, vue.toDisplayString(_ctx.title || _ctx.translate("title")), 1)) : vue.createCommentVNode("", true),
|
|
4525
4690
|
_ctx.showTopBtn ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$F, [
|
|
4526
4691
|
vue.renderSlot(_ctx.$slots, "btn")
|
|
4527
4692
|
])) : vue.createCommentVNode("", true),
|
|
@@ -4552,7 +4717,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4552
4717
|
key: index
|
|
4553
4718
|
}, [
|
|
4554
4719
|
vue.createElementVNode("view", _hoisted_6$g, vue.toDisplayString(month.title), 1),
|
|
4555
|
-
vue.createElementVNode("view", _hoisted_7$
|
|
4720
|
+
vue.createElementVNode("view", _hoisted_7$d, [
|
|
4556
4721
|
vue.createElementVNode("view", {
|
|
4557
4722
|
class: vue.normalizeClass(["calendar-month-item", _ctx.type === "range" ? "month-item-range" : ""])
|
|
4558
4723
|
}, [
|
|
@@ -4579,12 +4744,12 @@ var __publicField = (obj, key, value) => {
|
|
|
4579
4744
|
date: day.type == "curr" ? day : ""
|
|
4580
4745
|
})
|
|
4581
4746
|
])) : vue.createCommentVNode("", true),
|
|
4582
|
-
!_ctx.bottomInfo && _ctx.showToday && _ctx.isCurrDay(day) ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_12$4, "
|
|
4747
|
+
!_ctx.bottomInfo && _ctx.showToday && _ctx.isCurrDay(day) ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_12$4, vue.toDisplayString(_ctx.translate("today")), 1)) : vue.createCommentVNode("", true),
|
|
4583
4748
|
_ctx.isStartTip(day, month) ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
4584
4749
|
key: 3,
|
|
4585
4750
|
class: vue.normalizeClass(["calendar-day-tip", { "calendar-curr-tips-top": _ctx.rangeTip(day, month) }])
|
|
4586
|
-
}, vue.toDisplayString(_ctx.startText), 3)) : vue.createCommentVNode("", true),
|
|
4587
|
-
_ctx.isEndTip(day, month) ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_13$2, vue.toDisplayString(_ctx.endText), 1)) : vue.createCommentVNode("", true)
|
|
4751
|
+
}, vue.toDisplayString(_ctx.startText || _ctx.translate("start")), 3)) : vue.createCommentVNode("", true),
|
|
4752
|
+
_ctx.isEndTip(day, month) ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_13$2, vue.toDisplayString(_ctx.endText || _ctx.translate("end")), 1)) : vue.createCommentVNode("", true)
|
|
4588
4753
|
], 10, _hoisted_8$a);
|
|
4589
4754
|
}), 128))
|
|
4590
4755
|
], 2)
|
|
@@ -4598,7 +4763,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4598
4763
|
vue.createElementVNode("view", {
|
|
4599
4764
|
class: "calendar-confirm-btn",
|
|
4600
4765
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.confirm && _ctx.confirm(...args))
|
|
4601
|
-
}, vue.toDisplayString(_ctx.confirmText), 1)
|
|
4766
|
+
}, vue.toDisplayString(_ctx.confirmText || _ctx.translate("confirm")), 1)
|
|
4602
4767
|
])) : vue.createCommentVNode("", true)
|
|
4603
4768
|
], 2);
|
|
4604
4769
|
}
|
|
@@ -4639,19 +4804,19 @@ var __publicField = (obj, key, value) => {
|
|
|
4639
4804
|
},
|
|
4640
4805
|
title: {
|
|
4641
4806
|
type: String,
|
|
4642
|
-
default: "
|
|
4807
|
+
default: ""
|
|
4643
4808
|
},
|
|
4644
4809
|
confirmText: {
|
|
4645
4810
|
type: String,
|
|
4646
|
-
default: "
|
|
4811
|
+
default: ""
|
|
4647
4812
|
},
|
|
4648
4813
|
startText: {
|
|
4649
4814
|
type: String,
|
|
4650
|
-
default: "
|
|
4815
|
+
default: ""
|
|
4651
4816
|
},
|
|
4652
4817
|
endText: {
|
|
4653
4818
|
type: String,
|
|
4654
|
-
default: "
|
|
4819
|
+
default: ""
|
|
4655
4820
|
},
|
|
4656
4821
|
defaultValue: {
|
|
4657
4822
|
type: [String, Array]
|
|
@@ -5208,7 +5373,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5208
5373
|
], 32);
|
|
5209
5374
|
}
|
|
5210
5375
|
var column$1 = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$X]]);
|
|
5211
|
-
const { componentName: componentName$O, create: create$Z } = createComponent("picker");
|
|
5376
|
+
const { componentName: componentName$O, create: create$Z, translate: translate$a } = createComponent("picker");
|
|
5212
5377
|
const _sfc_main$Z = create$Z({
|
|
5213
5378
|
components: {
|
|
5214
5379
|
[column$1.name]: column$1,
|
|
@@ -5225,11 +5390,11 @@ var __publicField = (obj, key, value) => {
|
|
|
5225
5390
|
},
|
|
5226
5391
|
cancelText: {
|
|
5227
5392
|
type: String,
|
|
5228
|
-
default: "
|
|
5393
|
+
default: ""
|
|
5229
5394
|
},
|
|
5230
5395
|
okText: {
|
|
5231
5396
|
type: String,
|
|
5232
|
-
default: "
|
|
5397
|
+
default: ""
|
|
5233
5398
|
},
|
|
5234
5399
|
columns: {
|
|
5235
5400
|
type: Array,
|
|
@@ -5374,7 +5539,8 @@ var __publicField = (obj, key, value) => {
|
|
|
5374
5539
|
close,
|
|
5375
5540
|
changeHandler,
|
|
5376
5541
|
confirmHandler,
|
|
5377
|
-
defaultValues
|
|
5542
|
+
defaultValues,
|
|
5543
|
+
translate: translate$a
|
|
5378
5544
|
});
|
|
5379
5545
|
}
|
|
5380
5546
|
});
|
|
@@ -5404,12 +5570,12 @@ var __publicField = (obj, key, value) => {
|
|
|
5404
5570
|
vue.createElementVNode("view", {
|
|
5405
5571
|
class: "nut-picker__cancel nut-picker__left nut-picker__button",
|
|
5406
5572
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.close && _ctx.close(...args))
|
|
5407
|
-
}, vue.toDisplayString(_ctx.cancelText), 1),
|
|
5573
|
+
}, vue.toDisplayString(_ctx.cancelText || _ctx.translate("cancel")), 1),
|
|
5408
5574
|
vue.createElementVNode("view", _hoisted_2$D, vue.toDisplayString(_ctx.title), 1),
|
|
5409
5575
|
vue.createElementVNode("view", {
|
|
5410
5576
|
class: "nut-picker__confirm nut-picker__right nut-picker__button",
|
|
5411
5577
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.confirmHandler())
|
|
5412
|
-
}, vue.toDisplayString(_ctx.okText), 1)
|
|
5578
|
+
}, vue.toDisplayString(_ctx.okText || _ctx.translate("confirm")), 1)
|
|
5413
5579
|
]),
|
|
5414
5580
|
vue.createElementVNode("view", _hoisted_3$v, [
|
|
5415
5581
|
_hoisted_4$p,
|
|
@@ -5469,11 +5635,11 @@ var __publicField = (obj, key, value) => {
|
|
|
5469
5635
|
},
|
|
5470
5636
|
okText: {
|
|
5471
5637
|
type: String,
|
|
5472
|
-
default: "
|
|
5638
|
+
default: ""
|
|
5473
5639
|
},
|
|
5474
5640
|
cancelText: {
|
|
5475
5641
|
type: String,
|
|
5476
|
-
default: "
|
|
5642
|
+
default: ""
|
|
5477
5643
|
},
|
|
5478
5644
|
type: {
|
|
5479
5645
|
type: String,
|
|
@@ -5897,7 +6063,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5897
6063
|
const regExp = allowDot ? /[^-0-9.]/g : /[^-0-9]/g;
|
|
5898
6064
|
return value.replace(regExp, "");
|
|
5899
6065
|
}
|
|
5900
|
-
const { componentName: componentName$L, create: create$W } = createComponent("input");
|
|
6066
|
+
const { componentName: componentName$L, create: create$W, translate: translate$9 } = createComponent("input");
|
|
5901
6067
|
const _sfc_main$W = create$W({
|
|
5902
6068
|
props: {
|
|
5903
6069
|
ref: {
|
|
@@ -5914,7 +6080,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5914
6080
|
},
|
|
5915
6081
|
placeholder: {
|
|
5916
6082
|
type: String,
|
|
5917
|
-
default: "
|
|
6083
|
+
default: ""
|
|
5918
6084
|
},
|
|
5919
6085
|
label: {
|
|
5920
6086
|
type: String,
|
|
@@ -5960,7 +6126,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5960
6126
|
type: Boolean,
|
|
5961
6127
|
default: false
|
|
5962
6128
|
},
|
|
5963
|
-
|
|
6129
|
+
maxLength: {
|
|
5964
6130
|
type: [String, Number],
|
|
5965
6131
|
default: ""
|
|
5966
6132
|
},
|
|
@@ -6125,8 +6291,8 @@ var __publicField = (obj, key, value) => {
|
|
|
6125
6291
|
}, 200);
|
|
6126
6292
|
const input = event.target;
|
|
6127
6293
|
let value = input.value;
|
|
6128
|
-
if (props.
|
|
6129
|
-
value = value.slice(0, Number(props.
|
|
6294
|
+
if (props.maxLength && value.length > Number(props.maxLength)) {
|
|
6295
|
+
value = value.slice(0, Number(props.maxLength));
|
|
6130
6296
|
}
|
|
6131
6297
|
updateValue(getModelValue(), "onBlur");
|
|
6132
6298
|
emit("blur", value, event);
|
|
@@ -6167,14 +6333,15 @@ var __publicField = (obj, key, value) => {
|
|
|
6167
6333
|
clear,
|
|
6168
6334
|
onClickInput,
|
|
6169
6335
|
onClickLeftIcon,
|
|
6170
|
-
onClickRightIcon
|
|
6336
|
+
onClickRightIcon,
|
|
6337
|
+
translate: translate$9
|
|
6171
6338
|
};
|
|
6172
6339
|
}
|
|
6173
6340
|
});
|
|
6174
6341
|
const _hoisted_1$J = { class: "label-string" };
|
|
6175
6342
|
const _hoisted_2$C = { class: "nut-input-value" };
|
|
6176
6343
|
const _hoisted_3$u = ["maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
|
|
6177
|
-
const _hoisted_4$o = ["type", "
|
|
6344
|
+
const _hoisted_4$o = ["type", "maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
|
|
6178
6345
|
const _hoisted_5$h = {
|
|
6179
6346
|
key: 0,
|
|
6180
6347
|
class: "nut-input-word-limit"
|
|
@@ -6216,7 +6383,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6216
6383
|
ref: "inputRef",
|
|
6217
6384
|
style: vue.normalizeStyle(_ctx.stylesTextarea),
|
|
6218
6385
|
maxlength: _ctx.maxLength,
|
|
6219
|
-
placeholder: _ctx.placeholder,
|
|
6386
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
6220
6387
|
disabled: _ctx.disabled,
|
|
6221
6388
|
readonly: _ctx.readonly,
|
|
6222
6389
|
value: _ctx.modelValue,
|
|
@@ -6231,8 +6398,8 @@ var __publicField = (obj, key, value) => {
|
|
|
6231
6398
|
ref: "inputRef",
|
|
6232
6399
|
style: vue.normalizeStyle(_ctx.styles),
|
|
6233
6400
|
type: _ctx.inputType(_ctx.type),
|
|
6234
|
-
|
|
6235
|
-
placeholder: _ctx.placeholder,
|
|
6401
|
+
maxlength: _ctx.maxLength,
|
|
6402
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
6236
6403
|
disabled: _ctx.disabled,
|
|
6237
6404
|
readonly: _ctx.readonly,
|
|
6238
6405
|
value: _ctx.modelValue,
|
|
@@ -6266,9 +6433,9 @@ var __publicField = (obj, key, value) => {
|
|
|
6266
6433
|
class: "nut-input-button"
|
|
6267
6434
|
}) : vue.createCommentVNode("", true)
|
|
6268
6435
|
]),
|
|
6269
|
-
_ctx.showWordLimit && _ctx.
|
|
6436
|
+
_ctx.showWordLimit && _ctx.maxLength ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$h, [
|
|
6270
6437
|
vue.createElementVNode("span", _hoisted_6$f, vue.toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0), 1),
|
|
6271
|
-
vue.createTextVNode("/" + vue.toDisplayString(_ctx.
|
|
6438
|
+
vue.createTextVNode("/" + vue.toDisplayString(_ctx.maxLength), 1)
|
|
6272
6439
|
])) : vue.createCommentVNode("", true),
|
|
6273
6440
|
_ctx.errorMessage ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
6274
6441
|
key: 1,
|
|
@@ -6532,20 +6699,20 @@ var __publicField = (obj, key, value) => {
|
|
|
6532
6699
|
], 2);
|
|
6533
6700
|
}
|
|
6534
6701
|
var Rate = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$S]]);
|
|
6535
|
-
const { create: create$S } = createComponent("shortpassword");
|
|
6702
|
+
const { create: create$S, translate: translate$8 } = createComponent("shortpassword");
|
|
6536
6703
|
const _sfc_main$S = create$S({
|
|
6537
6704
|
props: {
|
|
6538
6705
|
title: {
|
|
6539
6706
|
type: String,
|
|
6540
|
-
default: "
|
|
6707
|
+
default: ""
|
|
6541
6708
|
},
|
|
6542
6709
|
desc: {
|
|
6543
6710
|
type: String,
|
|
6544
|
-
default: "
|
|
6711
|
+
default: ""
|
|
6545
6712
|
},
|
|
6546
6713
|
tips: {
|
|
6547
6714
|
type: String,
|
|
6548
|
-
default: "
|
|
6715
|
+
default: ""
|
|
6549
6716
|
},
|
|
6550
6717
|
visible: {
|
|
6551
6718
|
type: Boolean,
|
|
@@ -6653,7 +6820,8 @@ var __publicField = (obj, key, value) => {
|
|
|
6653
6820
|
onTips,
|
|
6654
6821
|
show,
|
|
6655
6822
|
systemStyle,
|
|
6656
|
-
closeIcon
|
|
6823
|
+
closeIcon,
|
|
6824
|
+
translate: translate$8
|
|
6657
6825
|
};
|
|
6658
6826
|
}
|
|
6659
6827
|
});
|
|
@@ -6666,7 +6834,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6666
6834
|
class: "nut-shortpsd-icon"
|
|
6667
6835
|
};
|
|
6668
6836
|
const _hoisted_6$e = { class: "nut-shortpsd-message" };
|
|
6669
|
-
const _hoisted_7$
|
|
6837
|
+
const _hoisted_7$c = { class: "nut-shortpsd-error" };
|
|
6670
6838
|
const _hoisted_8$9 = {
|
|
6671
6839
|
key: 0,
|
|
6672
6840
|
class: "nut-shortpsd-forget"
|
|
@@ -6694,8 +6862,8 @@ var __publicField = (obj, key, value) => {
|
|
|
6694
6862
|
isWrapTeleport: _ctx.isWrapTeleport
|
|
6695
6863
|
}, {
|
|
6696
6864
|
default: vue.withCtx(() => [
|
|
6697
|
-
vue.createElementVNode("view", _hoisted_1$H, vue.toDisplayString(_ctx.title), 1),
|
|
6698
|
-
vue.createElementVNode("view", _hoisted_2$B, vue.toDisplayString(_ctx.desc), 1),
|
|
6865
|
+
vue.createElementVNode("view", _hoisted_1$H, vue.toDisplayString(_ctx.title || _ctx.translate("title")), 1),
|
|
6866
|
+
vue.createElementVNode("view", _hoisted_2$B, vue.toDisplayString(_ctx.desc || _ctx.translate("desc")), 1),
|
|
6699
6867
|
vue.createElementVNode("div", _hoisted_3$t, [
|
|
6700
6868
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
6701
6869
|
ref: "realpwd",
|
|
@@ -6724,8 +6892,8 @@ var __publicField = (obj, key, value) => {
|
|
|
6724
6892
|
])
|
|
6725
6893
|
]),
|
|
6726
6894
|
vue.createElementVNode("view", _hoisted_6$e, [
|
|
6727
|
-
vue.createElementVNode("view", _hoisted_7$
|
|
6728
|
-
_ctx.tips ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_8$9, [
|
|
6895
|
+
vue.createElementVNode("view", _hoisted_7$c, vue.toDisplayString(_ctx.errorMsg), 1),
|
|
6896
|
+
_ctx.tips || _ctx.translate("tips") ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_8$9, [
|
|
6729
6897
|
vue.createVNode(_component_nut_icon, {
|
|
6730
6898
|
class: "icon",
|
|
6731
6899
|
size: "11px",
|
|
@@ -6733,18 +6901,18 @@ var __publicField = (obj, key, value) => {
|
|
|
6733
6901
|
}),
|
|
6734
6902
|
vue.createElementVNode("view", {
|
|
6735
6903
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.onTips && _ctx.onTips(...args))
|
|
6736
|
-
}, vue.toDisplayString(_ctx.tips), 1)
|
|
6904
|
+
}, vue.toDisplayString(_ctx.tips || _ctx.translate("tips")), 1)
|
|
6737
6905
|
])) : vue.createCommentVNode("", true)
|
|
6738
6906
|
]),
|
|
6739
6907
|
!_ctx.noButton ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_9$5, [
|
|
6740
6908
|
vue.createElementVNode("view", {
|
|
6741
6909
|
class: "nut-shortpsd-cancle",
|
|
6742
6910
|
onClick: _cache[4] || (_cache[4] = (...args) => _ctx.close && _ctx.close(...args))
|
|
6743
|
-
}, "
|
|
6911
|
+
}, vue.toDisplayString(_ctx.translate("cancel")), 1),
|
|
6744
6912
|
vue.createElementVNode("view", {
|
|
6745
6913
|
class: "nut-shortpsd-sure",
|
|
6746
6914
|
onClick: _cache[5] || (_cache[5] = (...args) => _ctx.sureClick && _ctx.sureClick(...args))
|
|
6747
|
-
}, "
|
|
6915
|
+
}, vue.toDisplayString(_ctx.translate("confirm")), 1)
|
|
6748
6916
|
])) : vue.createCommentVNode("", true)
|
|
6749
6917
|
]),
|
|
6750
6918
|
_: 1
|
|
@@ -6752,7 +6920,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6752
6920
|
]);
|
|
6753
6921
|
}
|
|
6754
6922
|
var ShortPassword = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$R]]);
|
|
6755
|
-
const { componentName: componentName$H, create: create$R } = createComponent("textarea");
|
|
6923
|
+
const { componentName: componentName$H, create: create$R, translate: translate$7 } = createComponent("textarea");
|
|
6756
6924
|
const _sfc_main$R = create$R({
|
|
6757
6925
|
props: {
|
|
6758
6926
|
modelValue: {
|
|
@@ -6777,7 +6945,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6777
6945
|
},
|
|
6778
6946
|
placeholder: {
|
|
6779
6947
|
type: String,
|
|
6780
|
-
default: "
|
|
6948
|
+
default: ""
|
|
6781
6949
|
},
|
|
6782
6950
|
readonly: {
|
|
6783
6951
|
type: Boolean,
|
|
@@ -6875,7 +7043,8 @@ var __publicField = (obj, key, value) => {
|
|
|
6875
7043
|
styles,
|
|
6876
7044
|
change,
|
|
6877
7045
|
focus,
|
|
6878
|
-
blur
|
|
7046
|
+
blur,
|
|
7047
|
+
translate: translate$7
|
|
6879
7048
|
};
|
|
6880
7049
|
}
|
|
6881
7050
|
});
|
|
@@ -6900,7 +7069,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6900
7069
|
onBlur: _cache[1] || (_cache[1] = (...args) => _ctx.blur && _ctx.blur(...args)),
|
|
6901
7070
|
onFocus: _cache[2] || (_cache[2] = (...args) => _ctx.focus && _ctx.focus(...args)),
|
|
6902
7071
|
maxlength: _ctx.maxLength,
|
|
6903
|
-
placeholder: _ctx.placeholder,
|
|
7072
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
6904
7073
|
autofocus: _ctx.autofocus
|
|
6905
7074
|
}, null, 44, _hoisted_1$G),
|
|
6906
7075
|
_ctx.limitShow ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$A, vue.toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0) + "/" + vue.toDisplayString(_ctx.maxLength), 1)) : vue.createCommentVNode("", true)
|
|
@@ -6991,11 +7160,11 @@ var __publicField = (obj, key, value) => {
|
|
|
6991
7160
|
});
|
|
6992
7161
|
}
|
|
6993
7162
|
}
|
|
6994
|
-
const { componentName: componentName$G, create: create$Q } = createComponent("uploader");
|
|
7163
|
+
const { componentName: componentName$G, create: create$Q, translate: translate$6 } = createComponent("uploader");
|
|
6995
7164
|
class FileItem {
|
|
6996
7165
|
constructor() {
|
|
6997
7166
|
__publicField(this, "status", "ready");
|
|
6998
|
-
__publicField(this, "message", "
|
|
7167
|
+
__publicField(this, "message", translate$6("ready"));
|
|
6999
7168
|
__publicField(this, "uid", new Date().getTime().toString());
|
|
7000
7169
|
__publicField(this, "name");
|
|
7001
7170
|
__publicField(this, "url");
|
|
@@ -7077,19 +7246,19 @@ var __publicField = (obj, key, value) => {
|
|
|
7077
7246
|
uploadOption.withCredentials = props.withCredentials;
|
|
7078
7247
|
uploadOption.onStart = (option) => {
|
|
7079
7248
|
fileItem.status = "ready";
|
|
7080
|
-
fileItem.message = "
|
|
7249
|
+
fileItem.message = translate$6("readyUpload");
|
|
7081
7250
|
clearUploadQueue(index);
|
|
7082
7251
|
emit("start", option);
|
|
7083
7252
|
};
|
|
7084
7253
|
uploadOption.onProgress = (event, option) => {
|
|
7085
7254
|
fileItem.status = "uploading";
|
|
7086
|
-
fileItem.message = "
|
|
7255
|
+
fileItem.message = translate$6("uploading");
|
|
7087
7256
|
fileItem.percentage = (event.loaded / event.total * 100).toFixed(0);
|
|
7088
7257
|
emit("progress", { event, option, percentage: fileItem.percentage });
|
|
7089
7258
|
};
|
|
7090
7259
|
uploadOption.onSuccess = (responseText, option) => {
|
|
7091
7260
|
fileItem.status = "success";
|
|
7092
|
-
fileItem.message = "
|
|
7261
|
+
fileItem.message = translate$6("success");
|
|
7093
7262
|
emit("success", {
|
|
7094
7263
|
responseText,
|
|
7095
7264
|
option,
|
|
@@ -7099,7 +7268,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7099
7268
|
};
|
|
7100
7269
|
uploadOption.onFailure = (responseText, option) => {
|
|
7101
7270
|
fileItem.status = "error";
|
|
7102
|
-
fileItem.message = "
|
|
7271
|
+
fileItem.message = translate$6("error");
|
|
7103
7272
|
emit("failure", {
|
|
7104
7273
|
responseText,
|
|
7105
7274
|
option,
|
|
@@ -7139,7 +7308,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7139
7308
|
fileItem.status = "ready";
|
|
7140
7309
|
fileItem.type = file.type;
|
|
7141
7310
|
fileItem.formData = formData;
|
|
7142
|
-
fileItem.message = "
|
|
7311
|
+
fileItem.message = translate$6("waitingUpload");
|
|
7143
7312
|
executeUpload(fileItem, index);
|
|
7144
7313
|
if (props.isPreview && file.type.includes("image")) {
|
|
7145
7314
|
const reader = new FileReader();
|
|
@@ -7234,7 +7403,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7234
7403
|
class: "nut-uploader__preview__progress"
|
|
7235
7404
|
};
|
|
7236
7405
|
const _hoisted_6$d = { class: "nut-uploader__preview__progress__msg" };
|
|
7237
|
-
const _hoisted_7$
|
|
7406
|
+
const _hoisted_7$b = {
|
|
7238
7407
|
key: 1,
|
|
7239
7408
|
class: "nut-uploader__preview__progress"
|
|
7240
7409
|
};
|
|
@@ -7292,7 +7461,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7292
7461
|
_ctx.listType == "picture" && !_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$m, [
|
|
7293
7462
|
item.status == "ready" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$f, [
|
|
7294
7463
|
vue.createElementVNode("view", _hoisted_6$d, vue.toDisplayString(item.message), 1)
|
|
7295
|
-
])) : item.status != "success" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$
|
|
7464
|
+
])) : item.status != "success" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$b, [
|
|
7296
7465
|
vue.createVNode(_component_nut_icon, {
|
|
7297
7466
|
color: "#fff",
|
|
7298
7467
|
name: item.status == "error" ? "failure" : "loading"
|
|
@@ -7381,12 +7550,12 @@ var __publicField = (obj, key, value) => {
|
|
|
7381
7550
|
], 2);
|
|
7382
7551
|
}
|
|
7383
7552
|
var Uploader = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$P]]);
|
|
7384
|
-
const { create: create$P } = createComponent("numberkeyboard");
|
|
7553
|
+
const { create: create$P, translate: translate$5 } = createComponent("numberkeyboard");
|
|
7385
7554
|
const _sfc_main$P = create$P({
|
|
7386
7555
|
props: {
|
|
7387
7556
|
confirmText: {
|
|
7388
7557
|
type: String,
|
|
7389
|
-
default: "
|
|
7558
|
+
default: ""
|
|
7390
7559
|
},
|
|
7391
7560
|
title: {
|
|
7392
7561
|
type: String,
|
|
@@ -7520,7 +7689,8 @@ var __publicField = (obj, key, value) => {
|
|
|
7520
7689
|
genCustomKeys,
|
|
7521
7690
|
getBasicKeys,
|
|
7522
7691
|
root,
|
|
7523
|
-
show
|
|
7692
|
+
show,
|
|
7693
|
+
translate: translate$5
|
|
7524
7694
|
};
|
|
7525
7695
|
}
|
|
7526
7696
|
});
|
|
@@ -7536,7 +7706,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7536
7706
|
const _hoisted_4$l = { class: "number-board-body" };
|
|
7537
7707
|
const _hoisted_5$e = { class: "number-board" };
|
|
7538
7708
|
const _hoisted_6$c = ["onTouchstart", "onTouchmove"];
|
|
7539
|
-
const _hoisted_7$
|
|
7709
|
+
const _hoisted_7$a = {
|
|
7540
7710
|
key: 1,
|
|
7541
7711
|
src: "https://img11.360buyimg.com/imagetools/jfs/t1/146371/38/8485/738/5f606425Eca239740/14f4b4f5f20d8a68.png"
|
|
7542
7712
|
};
|
|
@@ -7571,7 +7741,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7571
7741
|
vue.createElementVNode("span", {
|
|
7572
7742
|
class: "keyboard-close",
|
|
7573
7743
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.closeBoard())
|
|
7574
|
-
}, "
|
|
7744
|
+
}, vue.toDisplayString(_ctx.translate("done")), 1)
|
|
7575
7745
|
])) : vue.createCommentVNode("", true),
|
|
7576
7746
|
vue.createElementVNode("div", _hoisted_4$l, [
|
|
7577
7747
|
vue.createElementVNode("div", _hoisted_5$e, [
|
|
@@ -7599,7 +7769,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7599
7769
|
item.type == "number" || item.type == "custom" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
7600
7770
|
vue.createTextVNode(vue.toDisplayString(item.id), 1)
|
|
7601
7771
|
], 64)) : vue.createCommentVNode("", true),
|
|
7602
|
-
item.type == "lock" ? (vue.openBlock(), vue.createElementBlock("img", _hoisted_7$
|
|
7772
|
+
item.type == "lock" ? (vue.openBlock(), vue.createElementBlock("img", _hoisted_7$a)) : vue.createCommentVNode("", true),
|
|
7603
7773
|
item.type == "delete" ? (vue.openBlock(), vue.createElementBlock("img", _hoisted_8$7)) : vue.createCommentVNode("", true)
|
|
7604
7774
|
], 42, _hoisted_6$c)
|
|
7605
7775
|
], 2);
|
|
@@ -7621,7 +7791,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7621
7791
|
}, [
|
|
7622
7792
|
vue.createElementVNode("div", {
|
|
7623
7793
|
class: vue.normalizeClass(["key", "finish", { activeFinsh: _ctx.clickKeyIndex == "finish" }])
|
|
7624
|
-
}, vue.toDisplayString(_ctx.confirmText), 3)
|
|
7794
|
+
}, vue.toDisplayString(_ctx.confirmText || _ctx.translate("done")), 3)
|
|
7625
7795
|
])) : vue.createCommentVNode("", true)
|
|
7626
7796
|
])) : vue.createCommentVNode("", true)
|
|
7627
7797
|
])
|
|
@@ -7631,47 +7801,6 @@ var __publicField = (obj, key, value) => {
|
|
|
7631
7801
|
}, 8, ["visible", "overlay", "isWrapTeleport"]);
|
|
7632
7802
|
}
|
|
7633
7803
|
var NumberKeyboard = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$O]]);
|
|
7634
|
-
const TypeOfFun = (value) => {
|
|
7635
|
-
if (value === null) {
|
|
7636
|
-
return "null";
|
|
7637
|
-
}
|
|
7638
|
-
const type = typeof value;
|
|
7639
|
-
if (type === "undefined" || type === "string") {
|
|
7640
|
-
return type;
|
|
7641
|
-
}
|
|
7642
|
-
const typeString = toString.call(value);
|
|
7643
|
-
switch (typeString) {
|
|
7644
|
-
case "[object Array]":
|
|
7645
|
-
return "array";
|
|
7646
|
-
case "[object Date]":
|
|
7647
|
-
return "date";
|
|
7648
|
-
case "[object Boolean]":
|
|
7649
|
-
return "boolean";
|
|
7650
|
-
case "[object Number]":
|
|
7651
|
-
return "number";
|
|
7652
|
-
case "[object Function]":
|
|
7653
|
-
return "function";
|
|
7654
|
-
case "[object RegExp]":
|
|
7655
|
-
return "regexp";
|
|
7656
|
-
case "[object Object]":
|
|
7657
|
-
if (value.nodeType !== void 0) {
|
|
7658
|
-
if (value.nodeType == 3) {
|
|
7659
|
-
return /\S/.test(value.nodeValue) ? "textnode" : "whitespace";
|
|
7660
|
-
} else {
|
|
7661
|
-
return "element";
|
|
7662
|
-
}
|
|
7663
|
-
} else {
|
|
7664
|
-
return "object";
|
|
7665
|
-
}
|
|
7666
|
-
default:
|
|
7667
|
-
return "unknow";
|
|
7668
|
-
}
|
|
7669
|
-
};
|
|
7670
|
-
const isFunction = (val) => typeof val === "function";
|
|
7671
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
7672
|
-
const isPromise = (val) => {
|
|
7673
|
-
return isObject(val) && isFunction(val.then) && isFunction(val.catch);
|
|
7674
|
-
};
|
|
7675
7804
|
const component$2 = {
|
|
7676
7805
|
props: {
|
|
7677
7806
|
modelValue: {
|
|
@@ -7726,9 +7855,6 @@ var __publicField = (obj, key, value) => {
|
|
|
7726
7855
|
resolve(errorMsg2);
|
|
7727
7856
|
});
|
|
7728
7857
|
};
|
|
7729
|
-
const getPropByPath = (obj, keyPath) => {
|
|
7730
|
-
return keyPath.split(".").reduce((prev, curr) => prev[curr], obj);
|
|
7731
|
-
};
|
|
7732
7858
|
if (!prop) {
|
|
7733
7859
|
console.warn("[NutUI] <FormItem> \u4F7F\u7528 rules \u6821\u9A8C\u89C4\u5219\u65F6 , \u5FC5\u987B\u8BBE\u7F6E prop \u53C2\u6570");
|
|
7734
7860
|
}
|
|
@@ -8588,10 +8714,15 @@ var __publicField = (obj, key, value) => {
|
|
|
8588
8714
|
isWrapTeleport: {
|
|
8589
8715
|
type: Boolean,
|
|
8590
8716
|
default: true
|
|
8717
|
+
},
|
|
8718
|
+
safeAreaInsetBottom: {
|
|
8719
|
+
type: Boolean,
|
|
8720
|
+
default: false
|
|
8591
8721
|
}
|
|
8592
8722
|
}),
|
|
8593
8723
|
emits: ["cancel", "close", "choose", "update:visible"],
|
|
8594
8724
|
setup(props, { emit }) {
|
|
8725
|
+
const slotDefault = !!vue.useSlots().default;
|
|
8595
8726
|
const classes = vue.computed(() => {
|
|
8596
8727
|
const prefixCls = componentName$C;
|
|
8597
8728
|
return {
|
|
@@ -8599,23 +8730,24 @@ var __publicField = (obj, key, value) => {
|
|
|
8599
8730
|
};
|
|
8600
8731
|
});
|
|
8601
8732
|
const isHighlight = (item) => {
|
|
8602
|
-
return props.chooseTagValue && props.chooseTagValue === item[props.optionTag] ? props.color : "
|
|
8733
|
+
return props.chooseTagValue && props.chooseTagValue === item[props.optionTag] ? props.color : "";
|
|
8603
8734
|
};
|
|
8604
8735
|
const cancelActionSheet = () => {
|
|
8605
8736
|
emit("cancel");
|
|
8606
8737
|
emit("update:visible", false);
|
|
8607
8738
|
};
|
|
8608
8739
|
const chooseItem = (item, index) => {
|
|
8609
|
-
if (!item.disable) {
|
|
8740
|
+
if (!item.disable && !item.loading) {
|
|
8610
8741
|
emit("choose", item, index);
|
|
8611
8742
|
emit("update:visible", false);
|
|
8612
8743
|
}
|
|
8613
8744
|
};
|
|
8614
|
-
const close = () => {
|
|
8615
|
-
emit("close");
|
|
8745
|
+
const close = (e) => {
|
|
8746
|
+
emit("close", e);
|
|
8616
8747
|
emit("update:visible", false);
|
|
8617
8748
|
};
|
|
8618
8749
|
return {
|
|
8750
|
+
slotDefault,
|
|
8619
8751
|
isHighlight,
|
|
8620
8752
|
cancelActionSheet,
|
|
8621
8753
|
chooseItem,
|
|
@@ -8624,22 +8756,24 @@ var __publicField = (obj, key, value) => {
|
|
|
8624
8756
|
};
|
|
8625
8757
|
}
|
|
8626
8758
|
});
|
|
8627
|
-
const _hoisted_1$z = {
|
|
8628
|
-
const _hoisted_2$u = {
|
|
8759
|
+
const _hoisted_1$z = {
|
|
8629
8760
|
key: 0,
|
|
8630
8761
|
class: "nut-actionsheet-title"
|
|
8631
8762
|
};
|
|
8763
|
+
const _hoisted_2$u = { key: 1 };
|
|
8632
8764
|
const _hoisted_3$o = {
|
|
8633
|
-
key:
|
|
8765
|
+
key: 0,
|
|
8634
8766
|
class: "nut-actionsheet-item desc"
|
|
8635
8767
|
};
|
|
8636
8768
|
const _hoisted_4$j = {
|
|
8637
|
-
key:
|
|
8769
|
+
key: 1,
|
|
8638
8770
|
class: "nut-actionsheet-menu"
|
|
8639
8771
|
};
|
|
8640
8772
|
const _hoisted_5$d = ["onClick"];
|
|
8641
|
-
const _hoisted_6$b = {
|
|
8773
|
+
const _hoisted_6$b = { key: 1 };
|
|
8774
|
+
const _hoisted_7$9 = { class: "subdesc" };
|
|
8642
8775
|
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8776
|
+
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
8643
8777
|
const _component_nut_popup = vue.resolveComponent("nut-popup");
|
|
8644
8778
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
8645
8779
|
class: vue.normalizeClass(_ctx.classes)
|
|
@@ -8653,30 +8787,38 @@ var __publicField = (obj, key, value) => {
|
|
|
8653
8787
|
onClickOverlay: _ctx.close
|
|
8654
8788
|
}, {
|
|
8655
8789
|
default: vue.withCtx(() => [
|
|
8656
|
-
vue.createElementVNode("view",
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
_ctx.
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8790
|
+
vue.createElementVNode("view", {
|
|
8791
|
+
class: vue.normalizeClass(["nut-actionsheet-panel", { "nut-actionsheet-safebottom": _ctx.safeAreaInsetBottom }])
|
|
8792
|
+
}, [
|
|
8793
|
+
_ctx.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$z, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
|
|
8794
|
+
vue.renderSlot(_ctx.$slots, "default"),
|
|
8795
|
+
!_ctx.slotDefault ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$u, [
|
|
8796
|
+
_ctx.description ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$o, vue.toDisplayString(_ctx.description), 1)) : vue.createCommentVNode("", true),
|
|
8797
|
+
_ctx.menuItems.length ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$j, [
|
|
8798
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, (item, index) => {
|
|
8799
|
+
return vue.openBlock(), vue.createElementBlock("view", {
|
|
8800
|
+
class: vue.normalizeClass(["nut-actionsheet-item", { "nut-actionsheet-item-disabled": item.disable, "nut-actionsheet-item-loading": item.loading }]),
|
|
8801
|
+
style: vue.normalizeStyle({ color: _ctx.isHighlight(item) || item.color }),
|
|
8802
|
+
key: index,
|
|
8803
|
+
onClick: ($event) => _ctx.chooseItem(item, index)
|
|
8804
|
+
}, [
|
|
8805
|
+
item.loading ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
|
|
8806
|
+
key: 0,
|
|
8807
|
+
name: "loading"
|
|
8808
|
+
})) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$b, vue.toDisplayString(item[_ctx.optionTag]), 1)),
|
|
8809
|
+
vue.createElementVNode("view", _hoisted_7$9, vue.toDisplayString(item[_ctx.optionSubTag]), 1)
|
|
8810
|
+
], 14, _hoisted_5$d);
|
|
8811
|
+
}), 128))
|
|
8812
|
+
])) : vue.createCommentVNode("", true),
|
|
8813
|
+
_ctx.cancelTxt ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
8814
|
+
key: 2,
|
|
8815
|
+
class: "nut-actionsheet-cancel",
|
|
8816
|
+
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.cancelActionSheet && _ctx.cancelActionSheet(...args))
|
|
8817
|
+
}, vue.toDisplayString(_ctx.cancelTxt), 1)) : vue.createCommentVNode("", true)
|
|
8818
|
+
])) : vue.createCommentVNode("", true)
|
|
8819
|
+
], 2)
|
|
8678
8820
|
]),
|
|
8679
|
-
_:
|
|
8821
|
+
_: 3
|
|
8680
8822
|
}, 8, ["visible", "isWrapTeleport", "onClickOverlay"])
|
|
8681
8823
|
], 2);
|
|
8682
8824
|
}
|
|
@@ -9027,7 +9169,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9027
9169
|
], 34);
|
|
9028
9170
|
}
|
|
9029
9171
|
var Drag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$G]]);
|
|
9030
|
-
const { componentName: componentName$z, create: create$G } = createComponent("dialog");
|
|
9172
|
+
const { componentName: componentName$z, create: create$G, translate: translate$4 } = createComponent("dialog");
|
|
9031
9173
|
const _sfc_main$G = create$G({
|
|
9032
9174
|
inheritAttrs: false,
|
|
9033
9175
|
components: {
|
|
@@ -9061,11 +9203,11 @@ var __publicField = (obj, key, value) => {
|
|
|
9061
9203
|
},
|
|
9062
9204
|
cancelText: {
|
|
9063
9205
|
type: String,
|
|
9064
|
-
default: "
|
|
9206
|
+
default: ""
|
|
9065
9207
|
},
|
|
9066
9208
|
okText: {
|
|
9067
9209
|
type: String,
|
|
9068
|
-
default: "
|
|
9210
|
+
default: ""
|
|
9069
9211
|
},
|
|
9070
9212
|
okBtnDisabled: {
|
|
9071
9213
|
type: Boolean,
|
|
@@ -9129,7 +9271,8 @@ var __publicField = (obj, key, value) => {
|
|
|
9129
9271
|
classes,
|
|
9130
9272
|
onCancel,
|
|
9131
9273
|
onOk,
|
|
9132
|
-
showPopup
|
|
9274
|
+
showPopup,
|
|
9275
|
+
translate: translate$4
|
|
9133
9276
|
};
|
|
9134
9277
|
}
|
|
9135
9278
|
});
|
|
@@ -9183,7 +9326,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9183
9326
|
onClick: _ctx.onCancel
|
|
9184
9327
|
}, {
|
|
9185
9328
|
default: vue.withCtx(() => [
|
|
9186
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.cancelText), 1)
|
|
9329
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.cancelText || _ctx.translate("cancel")), 1)
|
|
9187
9330
|
]),
|
|
9188
9331
|
_: 1
|
|
9189
9332
|
}, 8, ["onClick"])) : vue.createCommentVNode("", true),
|
|
@@ -9196,7 +9339,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9196
9339
|
onClick: _ctx.onOk
|
|
9197
9340
|
}, {
|
|
9198
9341
|
default: vue.withCtx(() => [
|
|
9199
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.okText), 1)
|
|
9342
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.okText || _ctx.translate("confirm")), 1)
|
|
9200
9343
|
]),
|
|
9201
9344
|
_: 1
|
|
9202
9345
|
}, 8, ["class", "disabled", "onClick"])) : vue.createCommentVNode("", true)
|
|
@@ -9212,8 +9355,8 @@ var __publicField = (obj, key, value) => {
|
|
|
9212
9355
|
constructor() {
|
|
9213
9356
|
__publicField(this, "title", "");
|
|
9214
9357
|
__publicField(this, "content", "");
|
|
9215
|
-
__publicField(this, "cancelText", "
|
|
9216
|
-
__publicField(this, "okText", "
|
|
9358
|
+
__publicField(this, "cancelText", "");
|
|
9359
|
+
__publicField(this, "okText", "");
|
|
9217
9360
|
__publicField(this, "textAlign", "center");
|
|
9218
9361
|
__publicField(this, "teleport", "body");
|
|
9219
9362
|
__publicField(this, "id", new Date().getTime());
|
|
@@ -10986,6 +11129,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10986
11129
|
}
|
|
10987
11130
|
},
|
|
10988
11131
|
setup(props, { emit }) {
|
|
11132
|
+
const slotDefault = !!vue.useSlots().default;
|
|
10989
11133
|
const height = vue.ref(props.strokeWidth + "px");
|
|
10990
11134
|
const progressOuter = vue.ref();
|
|
10991
11135
|
const insideText = vue.ref();
|
|
@@ -11007,7 +11151,8 @@ var __publicField = (obj, key, value) => {
|
|
|
11007
11151
|
bgStyle,
|
|
11008
11152
|
textStyle,
|
|
11009
11153
|
progressOuter,
|
|
11010
|
-
insideText
|
|
11154
|
+
insideText,
|
|
11155
|
+
slotDefault
|
|
11011
11156
|
};
|
|
11012
11157
|
}
|
|
11013
11158
|
});
|
|
@@ -11024,7 +11169,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11024
11169
|
class: vue.normalizeClass(["nut-progress-inner", _ctx.status == "active" ? "nut-active" : ""]),
|
|
11025
11170
|
style: vue.normalizeStyle(_ctx.bgStyle)
|
|
11026
11171
|
}, [
|
|
11027
|
-
_ctx.showText && _ctx.textInside ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
11172
|
+
_ctx.showText && _ctx.textInside && !_ctx.slotDefault ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
11028
11173
|
key: 0,
|
|
11029
11174
|
class: "nut-progress-text nut-progress-insidetext",
|
|
11030
11175
|
ref: "insideText",
|
|
@@ -11038,6 +11183,18 @@ var __publicField = (obj, key, value) => {
|
|
|
11038
11183
|
vue.createElementVNode("span", {
|
|
11039
11184
|
style: vue.normalizeStyle(_ctx.textStyle)
|
|
11040
11185
|
}, vue.toDisplayString(_ctx.percentage) + vue.toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)
|
|
11186
|
+
], 4)) : vue.createCommentVNode("", true),
|
|
11187
|
+
_ctx.showText && _ctx.textInside && _ctx.slotDefault ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
11188
|
+
key: 1,
|
|
11189
|
+
ref: "insideText",
|
|
11190
|
+
style: vue.normalizeStyle({
|
|
11191
|
+
position: `absolute`,
|
|
11192
|
+
top: `50%`,
|
|
11193
|
+
left: `${_ctx.percentage}%`,
|
|
11194
|
+
transform: `translate(-${+_ctx.percentage}%,-50%)`
|
|
11195
|
+
})
|
|
11196
|
+
}, [
|
|
11197
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
11041
11198
|
], 4)) : vue.createCommentVNode("", true)
|
|
11042
11199
|
], 6)
|
|
11043
11200
|
], 6),
|
|
@@ -11534,7 +11691,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11534
11691
|
], 2);
|
|
11535
11692
|
}
|
|
11536
11693
|
var NoticeBar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$u]]);
|
|
11537
|
-
const { componentName: componentName$p, create: create$u } = createComponent("empty");
|
|
11694
|
+
const { componentName: componentName$p, create: create$u, translate: translate$3 } = createComponent("empty");
|
|
11538
11695
|
const defaultStatus = {
|
|
11539
11696
|
empty: "https://static-ftcms.jd.com/p/files/61a9e3183985005b3958672b.png",
|
|
11540
11697
|
error: "https://ftcms.jd.com/p/files/61a9e33ee7dcdbcc0ce62736.png",
|
|
@@ -11552,7 +11709,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11552
11709
|
},
|
|
11553
11710
|
description: {
|
|
11554
11711
|
type: String,
|
|
11555
|
-
default: "
|
|
11712
|
+
default: ""
|
|
11556
11713
|
}
|
|
11557
11714
|
},
|
|
11558
11715
|
setup(props) {
|
|
@@ -11570,7 +11727,8 @@ var __publicField = (obj, key, value) => {
|
|
|
11570
11727
|
const imageUrl = isHttpUrl ? image.value : defaultStatus[image.value];
|
|
11571
11728
|
return {
|
|
11572
11729
|
imageUrl,
|
|
11573
|
-
imgStyle
|
|
11730
|
+
imgStyle,
|
|
11731
|
+
translate: translate$3
|
|
11574
11732
|
};
|
|
11575
11733
|
}
|
|
11576
11734
|
});
|
|
@@ -11594,12 +11752,12 @@ var __publicField = (obj, key, value) => {
|
|
|
11594
11752
|
}, null, 8, _hoisted_2$m)) : vue.createCommentVNode("", true)
|
|
11595
11753
|
], 64))
|
|
11596
11754
|
], 4),
|
|
11597
|
-
_ctx.$slots.description ? vue.renderSlot(_ctx.$slots, "description", { key: 0 }) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$i, vue.toDisplayString(_ctx.description), 1)),
|
|
11755
|
+
_ctx.$slots.description ? vue.renderSlot(_ctx.$slots, "description", { key: 0 }) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$i, vue.toDisplayString(_ctx.description || _ctx.translate("noData")), 1)),
|
|
11598
11756
|
_ctx.$slots.default ? vue.renderSlot(_ctx.$slots, "default", { key: 2 }) : vue.createCommentVNode("", true)
|
|
11599
11757
|
]);
|
|
11600
11758
|
}
|
|
11601
11759
|
var Empty = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$t]]);
|
|
11602
|
-
const { create: create$t } = createComponent("video");
|
|
11760
|
+
const { create: create$t, translate: translate$2 } = createComponent("video");
|
|
11603
11761
|
const _sfc_main$t = create$t({
|
|
11604
11762
|
props: {
|
|
11605
11763
|
source: {
|
|
@@ -11817,7 +11975,8 @@ var __publicField = (obj, key, value) => {
|
|
|
11817
11975
|
touchSlidMove,
|
|
11818
11976
|
touchSlidEnd,
|
|
11819
11977
|
retry,
|
|
11820
|
-
fullScreen
|
|
11978
|
+
fullScreen,
|
|
11979
|
+
translate: translate$2
|
|
11821
11980
|
});
|
|
11822
11981
|
}
|
|
11823
11982
|
});
|
|
@@ -11843,7 +12002,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11843
12002
|
};
|
|
11844
12003
|
const _hoisted_10$1 = { class: "duration-time" };
|
|
11845
12004
|
const _hoisted_11$1 = { class: "nut-video-error" };
|
|
11846
|
-
const _hoisted_12$1 =
|
|
12005
|
+
const _hoisted_12$1 = { class: "lose" };
|
|
11847
12006
|
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11848
12007
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
|
|
11849
12008
|
vue.createElementVNode("video", {
|
|
@@ -11915,11 +12074,11 @@ var __publicField = (obj, key, value) => {
|
|
|
11915
12074
|
[vue.vShow, _ctx.showToolbox && !_ctx.isDisabled]
|
|
11916
12075
|
]),
|
|
11917
12076
|
vue.withDirectives(vue.createElementVNode("div", _hoisted_11$1, [
|
|
11918
|
-
_hoisted_12$1,
|
|
12077
|
+
vue.createElementVNode("p", _hoisted_12$1, vue.toDisplayString(_ctx.translate("errorTip")), 1),
|
|
11919
12078
|
vue.createElementVNode("p", {
|
|
11920
12079
|
class: "retry",
|
|
11921
12080
|
onClick: _cache[9] || (_cache[9] = (...args) => _ctx.retry && _ctx.retry(...args))
|
|
11922
|
-
}, "
|
|
12081
|
+
}, vue.toDisplayString(_ctx.translate("clickRetry")), 1)
|
|
11923
12082
|
], 512), [
|
|
11924
12083
|
[vue.vShow, _ctx.state.isError]
|
|
11925
12084
|
])
|
|
@@ -13567,7 +13726,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13567
13726
|
]);
|
|
13568
13727
|
}
|
|
13569
13728
|
var CountUp = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l]]);
|
|
13570
|
-
const { componentName: componentName$g, create: create$k } = createComponent("countdown");
|
|
13729
|
+
const { componentName: componentName$g, create: create$k, translate: translate$1 } = createComponent("countdown");
|
|
13571
13730
|
const _sfc_main$k = create$k({
|
|
13572
13731
|
props: {
|
|
13573
13732
|
modelValue: {
|
|
@@ -13623,7 +13782,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13623
13782
|
});
|
|
13624
13783
|
const plainText = vue.computed(() => {
|
|
13625
13784
|
const { d, h, m, s } = resttime.value;
|
|
13626
|
-
return `${d > 0 && props.showDays ? d + "
|
|
13785
|
+
return `${d > 0 && props.showDays ? d + translate$1("day") + h : h}${translate$1("hour")}${m}${translate$1("minute")}${s}${translate$1("second")}`;
|
|
13627
13786
|
});
|
|
13628
13787
|
vue.watch(() => props.value, (value) => {
|
|
13629
13788
|
});
|
|
@@ -13730,7 +13889,8 @@ var __publicField = (obj, key, value) => {
|
|
|
13730
13889
|
getTimeStamp,
|
|
13731
13890
|
initTimer,
|
|
13732
13891
|
resttime,
|
|
13733
|
-
plainText
|
|
13892
|
+
plainText,
|
|
13893
|
+
translate: translate$1
|
|
13734
13894
|
});
|
|
13735
13895
|
}
|
|
13736
13896
|
});
|
|
@@ -13739,7 +13899,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13739
13899
|
class: "nut-cd-block"
|
|
13740
13900
|
};
|
|
13741
13901
|
const _hoisted_2$g = { class: "nut-cd-block" };
|
|
13742
|
-
const _hoisted_3$f =
|
|
13902
|
+
const _hoisted_3$f = { class: "nut-cd-dot" };
|
|
13743
13903
|
const _hoisted_4$c = { class: "nut-cd-block" };
|
|
13744
13904
|
const _hoisted_5$8 = /* @__PURE__ */ vue.createElementVNode("view", { class: "nut-cd-dot" }, ":", -1);
|
|
13745
13905
|
const _hoisted_6$6 = { class: "nut-cd-block" };
|
|
@@ -13753,7 +13913,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13753
13913
|
_ctx.slots.default ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : _ctx.showPlainText ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$h, vue.toDisplayString(_ctx.plainText), 1)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
13754
13914
|
_ctx.resttime.d >= 0 && _ctx.showDays ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
13755
13915
|
vue.createElementVNode("view", _hoisted_2$g, vue.toDisplayString(_ctx.resttime.d), 1),
|
|
13756
|
-
_hoisted_3$f
|
|
13916
|
+
vue.createElementVNode("view", _hoisted_3$f, vue.toDisplayString(_ctx.translate("day")), 1)
|
|
13757
13917
|
], 64)) : vue.createCommentVNode("", true),
|
|
13758
13918
|
vue.createElementVNode("view", _hoisted_4$c, vue.toDisplayString(_ctx.resttime.h), 1),
|
|
13759
13919
|
_hoisted_5$8,
|
|
@@ -14570,7 +14730,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14570
14730
|
slots: Function
|
|
14571
14731
|
}
|
|
14572
14732
|
};
|
|
14573
|
-
const component = (componentName2) => {
|
|
14733
|
+
const component = (componentName2, translate2) => {
|
|
14574
14734
|
return {
|
|
14575
14735
|
components: {
|
|
14576
14736
|
RenderColumn
|
|
@@ -14640,13 +14800,14 @@ var __publicField = (obj, key, value) => {
|
|
|
14640
14800
|
cellClasses,
|
|
14641
14801
|
getColumnItem,
|
|
14642
14802
|
handleSorterClick,
|
|
14643
|
-
sortDataItem
|
|
14803
|
+
sortDataItem,
|
|
14804
|
+
translate: translate2
|
|
14644
14805
|
});
|
|
14645
14806
|
}
|
|
14646
14807
|
};
|
|
14647
14808
|
};
|
|
14648
|
-
const { componentName: componentName$c, create: create$d } = createComponent("table");
|
|
14649
|
-
const _sfc_main$d = create$d(component(componentName$c));
|
|
14809
|
+
const { componentName: componentName$c, create: create$d, translate } = createComponent("table");
|
|
14810
|
+
const _sfc_main$d = create$d(component(componentName$c, translate));
|
|
14650
14811
|
const _hoisted_1$c = { class: "nut-table__main__head" };
|
|
14651
14812
|
const _hoisted_2$b = { class: "nut-table__main__head__tr" };
|
|
14652
14813
|
const _hoisted_3$a = ["onClick"];
|
|
@@ -14725,7 +14886,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14725
14886
|
class: vue.normalizeClass(["nut-table__nodata", { "nut-table__nodata--border": _ctx.bordered }])
|
|
14726
14887
|
}, [
|
|
14727
14888
|
vue.renderSlot(_ctx.$slots, "nodata"),
|
|
14728
|
-
!_ctx.$slots.nodata ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, "
|
|
14889
|
+
!_ctx.$slots.nodata ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, vue.toDisplayString(_ctx.translate("noData")), 1)) : vue.createCommentVNode("", true)
|
|
14729
14890
|
], 2)
|
|
14730
14891
|
])) : vue.createCommentVNode("", true)
|
|
14731
14892
|
], 2);
|
|
@@ -16474,7 +16635,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16474
16635
|
}
|
|
16475
16636
|
});
|
|
16476
16637
|
}
|
|
16477
|
-
const version = "3.1.19-beta.
|
|
16638
|
+
const version = "3.1.19-beta.4";
|
|
16478
16639
|
var nutui_vue_build = { install, version };
|
|
16479
16640
|
exports2.ActionSheet = ActionSheet;
|
|
16480
16641
|
exports2.Address = Address;
|