v-uni-app-ui 1.1.2 → 1.1.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/style.css +1 -1
- package/dist/v-uni-app-ui.es.js +351 -337
- package/dist/v-uni-app-ui.umd.js +3 -3
- package/package.json +1 -1
package/dist/v-uni-app-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as C, computed as _, watch as R, onUnmounted as ie, defineComponent as M, openBlock as g, createElementBlock as h, unref as c, normalizeStyle as B, normalizeClass as I, renderSlot as V, createCommentVNode as N, createElementVNode as y, onMounted as se, withDirectives as ue, toDisplayString as P, vShow as ce, useSlots as At, createVNode as
|
|
1
|
+
import { ref as C, computed as _, watch as R, onUnmounted as ie, defineComponent as M, openBlock as g, createElementBlock as h, unref as c, normalizeStyle as B, normalizeClass as I, renderSlot as V, createCommentVNode as N, createElementVNode as y, onMounted as se, withDirectives as ue, toDisplayString as P, vShow as ce, useSlots as At, createVNode as L, pushScopeId as de, popScopeId as fe, useCssVars as D, inject as O, resolveComponent as q, withCtx as Y, Fragment as X, renderList as ee, createBlock as re, createTextVNode as G, withModifiers as ye, reactive as $e, isRef as Lt, nextTick as ge, createSlots as Dt, provide as _e, watchEffect as Ne, getCurrentInstance as Me, mergeProps as jt } from "vue";
|
|
2
2
|
const Wt = {
|
|
3
3
|
id: {
|
|
4
4
|
type: String,
|
|
@@ -21,7 +21,7 @@ const Wt = {
|
|
|
21
21
|
default: () => ({})
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function Re(t, l = {}) {
|
|
25
25
|
const { exclude: e = [], override: o = {} } = l, n = {};
|
|
26
26
|
return Object.entries(Wt).forEach(([a, i]) => {
|
|
27
27
|
if (!e.includes(a)) {
|
|
@@ -121,7 +121,7 @@ function Xt(t) {
|
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
const
|
|
124
|
+
const Q = {
|
|
125
125
|
// 基础验证器
|
|
126
126
|
enum: Ft,
|
|
127
127
|
numberRange: Et,
|
|
@@ -183,7 +183,7 @@ const E = {
|
|
|
183
183
|
object: (t = {}) => ne(Object, () => t),
|
|
184
184
|
function: (t) => ne(Function, t),
|
|
185
185
|
// 枚举类型
|
|
186
|
-
enum: (t, l, e) => ne(String, l,
|
|
186
|
+
enum: (t, l, e) => ne(String, l, Q.enum(t, `${e || "属性"}必须是以下值之一: ${t.join(", ")}`)),
|
|
187
187
|
// 任意类型
|
|
188
188
|
any: (t = null) => ne(null, t),
|
|
189
189
|
// 常用属性
|
|
@@ -191,20 +191,20 @@ const E = {
|
|
|
191
191
|
className: () => ne(String, ""),
|
|
192
192
|
style: () => ne(Object, () => ({})),
|
|
193
193
|
// 带验证的属性
|
|
194
|
-
stringLength: (t = "", l, e) => ne(String, t,
|
|
195
|
-
numberRange: (t, l, e) => ne(Number, t,
|
|
194
|
+
stringLength: (t = "", l, e) => ne(String, t, Q.length(l, e)),
|
|
195
|
+
numberRange: (t, l, e) => ne(Number, t, Q.numberRange(l, e)),
|
|
196
196
|
// 格式验证
|
|
197
|
-
email: (t = "") => ne(String, t,
|
|
198
|
-
phoneNumber: (t = "") => ne(String, t,
|
|
199
|
-
url: (t = "") => ne(String, t,
|
|
200
|
-
}, Zt =
|
|
197
|
+
email: (t = "") => ne(String, t, Q.email()),
|
|
198
|
+
phoneNumber: (t = "") => ne(String, t, Q.phoneNumber()),
|
|
199
|
+
url: (t = "") => ne(String, t, Q.url())
|
|
200
|
+
}, Zt = Re(
|
|
201
201
|
{
|
|
202
202
|
//使用PropTools简写
|
|
203
203
|
shape: E.enum(["default", "none", "circle"], "default", "buttonShape"),
|
|
204
204
|
type: {
|
|
205
205
|
type: String,
|
|
206
206
|
default: "default",
|
|
207
|
-
validator:
|
|
207
|
+
validator: Q.enum(["default", "success", "warning", "info", "delete"], "buttonType")
|
|
208
208
|
},
|
|
209
209
|
size: E.enum(["small", "medium", "large"], "medium", "buttonSize"),
|
|
210
210
|
disabled: E.boolean(!1),
|
|
@@ -214,33 +214,33 @@ const E = {
|
|
|
214
214
|
stabilizationTime: {
|
|
215
215
|
type: Number,
|
|
216
216
|
default: 0,
|
|
217
|
-
validator:
|
|
217
|
+
validator: Q.numberRange(0, 1e6, "Stabilization time must be between 0 and 1,000,000 ms.")
|
|
218
218
|
},
|
|
219
219
|
debounceTime: {
|
|
220
220
|
type: Number,
|
|
221
221
|
default: 0,
|
|
222
|
-
validator:
|
|
222
|
+
validator: Q.numberRange(0, 1e6, "The anti-shake waiting time must be between 0 and 1,000,000 milliseconds.")
|
|
223
223
|
},
|
|
224
224
|
intervalUpdateTime: {
|
|
225
225
|
type: Number,
|
|
226
226
|
default: 1e3,
|
|
227
|
-
validator:
|
|
227
|
+
validator: Q.numberRange(100, 1e5, "Interval must be between 100 and 100,000 ms.")
|
|
228
228
|
},
|
|
229
229
|
degressionTime: {
|
|
230
230
|
type: Number,
|
|
231
231
|
default: 1e3,
|
|
232
|
-
validator:
|
|
232
|
+
validator: Q.numberRange(100, 1e4, "Degression time must be between 100 and 10,000 ms.")
|
|
233
233
|
},
|
|
234
234
|
resetOnClick: E.boolean(!1),
|
|
235
235
|
hoverStartTime: {
|
|
236
236
|
type: Number,
|
|
237
237
|
default: 20,
|
|
238
|
-
validator:
|
|
238
|
+
validator: Q.numberRange(10, 1e4, "hover start time must be between 10 and 10,000 ms.")
|
|
239
239
|
},
|
|
240
240
|
hoverStayTime: {
|
|
241
241
|
type: Number,
|
|
242
242
|
default: 70,
|
|
243
|
-
validator:
|
|
243
|
+
validator: Q.numberRange(10, 1e4, "hover stay time must be between 10 and 10,000 ms.")
|
|
244
244
|
}
|
|
245
245
|
//组合校验
|
|
246
246
|
// customProp: {
|
|
@@ -402,7 +402,7 @@ const E = {
|
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
},
|
|
405
|
+
}, He = [
|
|
406
406
|
"key",
|
|
407
407
|
"ref",
|
|
408
408
|
"class",
|
|
@@ -603,7 +603,7 @@ class Qt {
|
|
|
603
603
|
* 检查是否应该跳过该属性
|
|
604
604
|
*/
|
|
605
605
|
shouldSkipProperty(l) {
|
|
606
|
-
return l.startsWith("on") || l.startsWith("@") ? !0 :
|
|
606
|
+
return l.startsWith("on") || l.startsWith("@") ? !0 : He.includes(l);
|
|
607
607
|
}
|
|
608
608
|
/**
|
|
609
609
|
* 应用自定义映射
|
|
@@ -952,14 +952,14 @@ const eo = {
|
|
|
952
952
|
}
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
|
-
}, lo = {},
|
|
955
|
+
}, lo = {}, ze = {
|
|
956
956
|
button: eo,
|
|
957
957
|
input: to,
|
|
958
958
|
uniInput: oo,
|
|
959
959
|
default: lo
|
|
960
960
|
};
|
|
961
|
-
function
|
|
962
|
-
const l =
|
|
961
|
+
function Pe(t) {
|
|
962
|
+
const l = ze[t] || ze.default;
|
|
963
963
|
if (l) {
|
|
964
964
|
const e = {
|
|
965
965
|
...l
|
|
@@ -1116,7 +1116,7 @@ const le = {
|
|
|
1116
1116
|
* 根据组件名称和 props 生成分离的样式对象
|
|
1117
1117
|
*/
|
|
1118
1118
|
generateSeparatedStyle(t, l, e = {}) {
|
|
1119
|
-
const o =
|
|
1119
|
+
const o = Pe(t), n = new Qt(t, o, e), i = {
|
|
1120
1120
|
parent: {
|
|
1121
1121
|
...n.mapAllProperties(l)
|
|
1122
1122
|
},
|
|
@@ -1159,7 +1159,7 @@ const le = {
|
|
|
1159
1159
|
* 获取组件的分离伪类样式配置
|
|
1160
1160
|
*/
|
|
1161
1161
|
getSeparatedPseudoStyles(t, l = {}) {
|
|
1162
|
-
const e =
|
|
1162
|
+
const e = Pe(t), o = {
|
|
1163
1163
|
parent: {},
|
|
1164
1164
|
son: {}
|
|
1165
1165
|
};
|
|
@@ -1317,7 +1317,7 @@ const le = {
|
|
|
1317
1317
|
* 检查是否应该跳过生成类名的属性
|
|
1318
1318
|
*/
|
|
1319
1319
|
shouldSkipClassProperty(t) {
|
|
1320
|
-
return t.startsWith("on") || t.startsWith("@") ? !0 :
|
|
1320
|
+
return t.startsWith("on") || t.startsWith("@") ? !0 : He.includes(t);
|
|
1321
1321
|
},
|
|
1322
1322
|
/**
|
|
1323
1323
|
* 将样式对象转换为 CSS 字符串
|
|
@@ -1346,7 +1346,7 @@ const le = {
|
|
|
1346
1346
|
} : l, {});
|
|
1347
1347
|
}
|
|
1348
1348
|
};
|
|
1349
|
-
function
|
|
1349
|
+
function ke(t, l, e = {}) {
|
|
1350
1350
|
const o = C(!1), n = C(!1), a = C(!1), i = C(!1), s = _(() => le.generateSeparatedInlineStyle(t, l, e)), r = _(() => le.getSeparatedPseudoStyles(t, e)), d = _(() => {
|
|
1351
1351
|
let S = {
|
|
1352
1352
|
parent: {
|
|
@@ -1384,9 +1384,9 @@ function _e(t, l, e = {}) {
|
|
|
1384
1384
|
}), p = _(() => {
|
|
1385
1385
|
const {
|
|
1386
1386
|
son: S,
|
|
1387
|
-
...
|
|
1387
|
+
...F
|
|
1388
1388
|
} = d.value.parent;
|
|
1389
|
-
return
|
|
1389
|
+
return F;
|
|
1390
1390
|
}), v = _(() => d.value.son), u = _(() => {
|
|
1391
1391
|
const S = le.generateClassNames(t, l);
|
|
1392
1392
|
return o.value && S.push(`${t}--hover`), n.value && S.push(`${t}--focus`), a.value && S.push(`${t}--active`), i.value && S.push(`${t}--disabled`), S;
|
|
@@ -1515,12 +1515,12 @@ function ro(t) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
const uo = ["id", "disabled", "hover-start-time", "hover-stay-time"], co = /* @__PURE__ */ y("view", { class: "loading-icon" }, [
|
|
1517
1517
|
/* @__PURE__ */ y("view", { class: "spinner" })
|
|
1518
|
-
], -1),
|
|
1518
|
+
], -1), Oe = /* @__PURE__ */ M({
|
|
1519
1519
|
__name: "v-button",
|
|
1520
1520
|
props: Zt,
|
|
1521
1521
|
emits: ["click", "countdown"],
|
|
1522
1522
|
setup(t, { emit: l }) {
|
|
1523
|
-
const e = t, { style: o, classes: n, hover: a, active: i } =
|
|
1523
|
+
const e = t, { style: o, classes: n, hover: a, active: i } = ke("button", e), s = l, {
|
|
1524
1524
|
cancel: r
|
|
1525
1525
|
} = io(u, {
|
|
1526
1526
|
wait: e.debounceTime || 0
|
|
@@ -1569,11 +1569,12 @@ const uo = ["id", "disabled", "hover-start-time", "hover-stay-time"], co = /* @_
|
|
|
1569
1569
|
maxlength: {
|
|
1570
1570
|
type: Number,
|
|
1571
1571
|
default: -1,
|
|
1572
|
-
validator:
|
|
1572
|
+
validator: Q.numberRange(-1, 1e8, "maxlength must be between -1 and 100,000,000.")
|
|
1573
1573
|
},
|
|
1574
1574
|
autocomplete: E.boolean(!1),
|
|
1575
1575
|
focus: E.boolean(!1),
|
|
1576
|
-
textPosition: E.enum(["left", "right", "center"], "left", "inputTextPosition")
|
|
1576
|
+
textPosition: E.enum(["left", "right", "center"], "left", "inputTextPosition"),
|
|
1577
|
+
isAppPlus: E.boolean(!1)
|
|
1577
1578
|
};
|
|
1578
1579
|
function vo(t) {
|
|
1579
1580
|
return "source" in t && t.source !== void 0;
|
|
@@ -1592,15 +1593,15 @@ function pe(t, l, e, o) {
|
|
|
1592
1593
|
let s = [], r = !1;
|
|
1593
1594
|
const d = () => {
|
|
1594
1595
|
s.length && (s.forEach((f) => f()), s = []), i.forEach((f) => {
|
|
1595
|
-
const { propertyName: m, onChange: b, emitEvent: $, enabled: S, ...
|
|
1596
|
+
const { propertyName: m, onChange: b, emitEvent: $, enabled: S, ...F } = f;
|
|
1596
1597
|
if (!(S ? S.value : !0))
|
|
1597
1598
|
return;
|
|
1598
1599
|
const T = vo(f) ? f.source : () => t[m], k = R(
|
|
1599
1600
|
T,
|
|
1600
|
-
(
|
|
1601
|
-
b == null || b(
|
|
1601
|
+
(U, K) => {
|
|
1602
|
+
b == null || b(U, K), a($ ?? `update:${m}`, U);
|
|
1602
1603
|
},
|
|
1603
|
-
|
|
1604
|
+
F
|
|
1604
1605
|
);
|
|
1605
1606
|
s.push(k);
|
|
1606
1607
|
});
|
|
@@ -1621,14 +1622,14 @@ function pe(t, l, e, o) {
|
|
|
1621
1622
|
};
|
|
1622
1623
|
return i.some((f) => f.lazy) || p(), ie(v), Object.assign(v, { start: p });
|
|
1623
1624
|
}
|
|
1624
|
-
const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "disabled", "autocomplete"], go = ["value", "type", "placeholder", "placeholder-style", "placeholder-class", "disabled", "maxlength", "password", "auto-complete", "focus"],
|
|
1625
|
+
const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "disabled", "autocomplete"], go = ["value", "type", "placeholder", "placeholder-style", "placeholder-class", "disabled", "maxlength", "password", "auto-complete", "focus"], Ce = /* @__PURE__ */ M({
|
|
1625
1626
|
__name: "v-uni-input",
|
|
1626
1627
|
props: fo,
|
|
1627
1628
|
emits: ["input", "blur", "focus", "update:value", "update:placeholderConfig", "update:disabled"],
|
|
1628
1629
|
setup(t, { emit: l }) {
|
|
1629
|
-
const e = t, { style: o, sonStyle: n } =
|
|
1630
|
-
let v = C(e.value)
|
|
1631
|
-
const
|
|
1630
|
+
const e = t, { style: o, sonStyle: n } = ke("uniInput", e), a = ($) => n.value[$] || {}, i = _(() => Object.assign(a("h5Input"), e.fontStyle)), s = _(() => Object.assign(a("uniInput"), e.fontStyle)), r = _(() => Object.assign(a("h5PlaceholderInput"), e.placeholderStyle)), d = l, p = C(null);
|
|
1631
|
+
let v = C(e.value);
|
|
1632
|
+
const u = _(() => {
|
|
1632
1633
|
if (e.autocomplete)
|
|
1633
1634
|
switch (e.type) {
|
|
1634
1635
|
case "email":
|
|
@@ -1641,36 +1642,31 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1641
1642
|
return "off";
|
|
1642
1643
|
});
|
|
1643
1644
|
se(() => {
|
|
1644
|
-
if (typeof uni < "u" && uni.getSystemInfoSync) {
|
|
1645
|
-
const S = uni.getSystemInfoSync();
|
|
1646
|
-
u.value = S.uniPlatform || S.platform;
|
|
1647
|
-
} else
|
|
1648
|
-
u.value = "h5";
|
|
1649
1645
|
e.focus && p.value && p.value.focus();
|
|
1650
1646
|
});
|
|
1651
|
-
const
|
|
1652
|
-
var
|
|
1653
|
-
const
|
|
1654
|
-
v.value =
|
|
1655
|
-
},
|
|
1656
|
-
d("focus",
|
|
1657
|
-
},
|
|
1658
|
-
d("blur",
|
|
1647
|
+
const f = ($) => {
|
|
1648
|
+
var F;
|
|
1649
|
+
const S = ((F = $.detail) == null ? void 0 : F.value) || "";
|
|
1650
|
+
v.value = S, d("update:value", S);
|
|
1651
|
+
}, m = ($) => {
|
|
1652
|
+
d("focus", $);
|
|
1653
|
+
}, b = ($) => {
|
|
1654
|
+
d("blur", $);
|
|
1659
1655
|
};
|
|
1660
1656
|
return pe({ source: v, propertyName: "value" }, d), pe(
|
|
1661
1657
|
{
|
|
1662
1658
|
source: () => e.value,
|
|
1663
1659
|
propertyName: "value",
|
|
1664
|
-
onChange: (
|
|
1665
|
-
v.value =
|
|
1660
|
+
onChange: ($) => {
|
|
1661
|
+
v.value = $;
|
|
1666
1662
|
},
|
|
1667
1663
|
immediate: !0
|
|
1668
1664
|
},
|
|
1669
1665
|
d
|
|
1670
|
-
), (S
|
|
1666
|
+
), ($, S) => (g(), h("view", {
|
|
1671
1667
|
style: B(c(o))
|
|
1672
1668
|
}, [
|
|
1673
|
-
|
|
1669
|
+
e.isAppPlus === !1 ? (g(), h("view", {
|
|
1674
1670
|
key: 0,
|
|
1675
1671
|
class: "uni-input-input",
|
|
1676
1672
|
style: B(a("uniInput"))
|
|
@@ -1687,12 +1683,12 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1687
1683
|
type: e.type,
|
|
1688
1684
|
maxlength: e.maxlength,
|
|
1689
1685
|
disabled: e.disabled,
|
|
1690
|
-
autocomplete:
|
|
1686
|
+
autocomplete: u.value,
|
|
1691
1687
|
style: B(i.value),
|
|
1692
1688
|
class: "uni-input-input",
|
|
1693
|
-
onFocus:
|
|
1694
|
-
onBlur:
|
|
1695
|
-
onInput:
|
|
1689
|
+
onFocus: m,
|
|
1690
|
+
onBlur: b,
|
|
1691
|
+
onInput: f,
|
|
1696
1692
|
ref_key: "h5InputRef",
|
|
1697
1693
|
ref: p
|
|
1698
1694
|
}, null, 44, po)
|
|
@@ -1710,13 +1706,13 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1710
1706
|
style: B(s.value),
|
|
1711
1707
|
"auto-complete": e.autocomplete,
|
|
1712
1708
|
focus: e.focus,
|
|
1713
|
-
onFocus:
|
|
1714
|
-
onBlur:
|
|
1715
|
-
onInput:
|
|
1709
|
+
onFocus: m,
|
|
1710
|
+
onBlur: b,
|
|
1711
|
+
onInput: f
|
|
1716
1712
|
}, null, 44, go))
|
|
1717
1713
|
], 4));
|
|
1718
1714
|
}
|
|
1719
|
-
}), ho =
|
|
1715
|
+
}), ho = Re(
|
|
1720
1716
|
{
|
|
1721
1717
|
value: E.string(),
|
|
1722
1718
|
size: E.enum(["small", "medium", "large"], "medium", "inputSize"),
|
|
@@ -1725,7 +1721,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1725
1721
|
placeholderTimeNumber: {
|
|
1726
1722
|
type: Number,
|
|
1727
1723
|
default: 0,
|
|
1728
|
-
validator:
|
|
1724
|
+
validator: Q.numberRange(
|
|
1729
1725
|
0,
|
|
1730
1726
|
1e6,
|
|
1731
1727
|
"The prompt switching time must be between 0 and 1,000,000 milliseconds."
|
|
@@ -1734,7 +1730,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1734
1730
|
maxlength: {
|
|
1735
1731
|
type: Number,
|
|
1736
1732
|
default: 150,
|
|
1737
|
-
validator:
|
|
1733
|
+
validator: Q.numberRange(-1, 1e8, "maxlength must be between -1 and 100,000,000.")
|
|
1738
1734
|
},
|
|
1739
1735
|
disabled: E.boolean(!1),
|
|
1740
1736
|
type: E.enum(
|
|
@@ -1770,13 +1766,13 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1770
1766
|
selectionStart: {
|
|
1771
1767
|
type: Number,
|
|
1772
1768
|
default: -1,
|
|
1773
|
-
validator:
|
|
1769
|
+
validator: Q.numberRange(-1, 1e4, "selection start must be between -1 and 10,000 milliseconds.")
|
|
1774
1770
|
},
|
|
1775
1771
|
isIcon: E.boolean(!1),
|
|
1776
1772
|
selectionEnd: {
|
|
1777
1773
|
type: Number,
|
|
1778
1774
|
default: -1,
|
|
1779
|
-
validator:
|
|
1775
|
+
validator: Q.numberRange(-1, 1e4, "selection end must be between -1 and 10,000 milliseconds.")
|
|
1780
1776
|
},
|
|
1781
1777
|
randomNumber: E.boolean(!1),
|
|
1782
1778
|
cursorColor: E.string(),
|
|
@@ -1797,16 +1793,16 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1797
1793
|
}
|
|
1798
1794
|
}
|
|
1799
1795
|
}
|
|
1800
|
-
), bo = (t) => (de("data-v-
|
|
1796
|
+
), bo = (t) => (de("data-v-13ded622"), t = t(), fe(), t), yo = ["id"], wo = /* @__PURE__ */ bo(() => /* @__PURE__ */ y("view", { class: "iconfont icon-url" }, null, -1)), So = /* @__PURE__ */ M({
|
|
1801
1797
|
__name: "v-input",
|
|
1802
1798
|
props: ho,
|
|
1803
1799
|
emits: ["input", "blur", "focus", "update:value", "update:placeholderConfig", "update:disabled", "update:isValid", "validate"],
|
|
1804
1800
|
setup(t, { emit: l }) {
|
|
1805
|
-
const e = At(), o = t, n = l, a = C(!0), { style: i, classes: s, sonStyle: r, focus: d } =
|
|
1801
|
+
const e = At(), o = t, n = l, a = C(!0), { style: i, classes: s, sonStyle: r, focus: d } = ke("input", o), p = C(!1), v = _({
|
|
1806
1802
|
get: () => o.value ?? "",
|
|
1807
1803
|
set: (H) => {
|
|
1808
|
-
const
|
|
1809
|
-
n("update:value",
|
|
1804
|
+
const W = String(H ?? "");
|
|
1805
|
+
n("update:value", W), o.validateTrigger === "input" && p.value && oe(W);
|
|
1810
1806
|
}
|
|
1811
1807
|
});
|
|
1812
1808
|
se(() => {
|
|
@@ -1819,9 +1815,9 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1819
1815
|
}, m = (H) => {
|
|
1820
1816
|
v.value = H, n("input", H), n("update:value", H);
|
|
1821
1817
|
}, b = (H) => r.value[H] || {}, $ = _(() => b("input")), S = _(() => {
|
|
1822
|
-
const { maxWidth: H, width:
|
|
1818
|
+
const { maxWidth: H, width: W, height: J, margin: Te, padding: Ie, ...Ot } = $.value;
|
|
1823
1819
|
return Ot;
|
|
1824
|
-
}),
|
|
1820
|
+
}), F = _(() => b("leftSlot")), Z = _(() => b("rightSlot")), T = _(() => b("icon")), k = _(() => b("iconFill")), U = _(() => b("wordCounter")), K = _(() => ({
|
|
1825
1821
|
text: "text",
|
|
1826
1822
|
id: "idcard",
|
|
1827
1823
|
password: "text",
|
|
@@ -1838,33 +1834,33 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1838
1834
|
search: "search",
|
|
1839
1835
|
none: "none"
|
|
1840
1836
|
})[o.type] || "text"), ae = {
|
|
1841
|
-
id:
|
|
1842
|
-
email:
|
|
1843
|
-
phone:
|
|
1844
|
-
url:
|
|
1845
|
-
name:
|
|
1837
|
+
id: Q.idCard("身份证格式不正确"),
|
|
1838
|
+
email: Q.email("邮箱格式不正确"),
|
|
1839
|
+
phone: Q.phoneNumber("手机号格式不正确"),
|
|
1840
|
+
url: Q.url("URL格式不正确"),
|
|
1841
|
+
name: Q.username,
|
|
1846
1842
|
number: (H) => {
|
|
1847
|
-
const
|
|
1848
|
-
return isNaN(
|
|
1843
|
+
const W = Number(H);
|
|
1844
|
+
return isNaN(W) ? !1 : Q.number({ integerOnly: !0, positiveOnly: !0 })(W);
|
|
1849
1845
|
},
|
|
1850
1846
|
numeric: (H) => {
|
|
1851
1847
|
if (H.trim() === "")
|
|
1852
1848
|
return !1;
|
|
1853
|
-
const
|
|
1854
|
-
return isNaN(
|
|
1849
|
+
const W = Number(H);
|
|
1850
|
+
return isNaN(W) || !isFinite(W) ? !1 : Q.number({ integerOnly: !1, positiveOnly: !1 })(W);
|
|
1855
1851
|
},
|
|
1856
1852
|
decimal: (H) => {
|
|
1857
1853
|
if (H.trim() === "")
|
|
1858
1854
|
return !1;
|
|
1859
|
-
const
|
|
1860
|
-
return isNaN(
|
|
1855
|
+
const W = Number(H);
|
|
1856
|
+
return isNaN(W) || !isFinite(W) ? !1 : Q.number({ integerOnly: !1, positiveOnly: !1 })(W);
|
|
1861
1857
|
}
|
|
1862
1858
|
}, w = C(0), z = _(() => {
|
|
1863
1859
|
const H = o.placeholder;
|
|
1864
1860
|
if (!H || H.length === 0)
|
|
1865
1861
|
return "";
|
|
1866
|
-
const
|
|
1867
|
-
return H[
|
|
1862
|
+
const W = w.value % H.length;
|
|
1863
|
+
return H[W];
|
|
1868
1864
|
});
|
|
1869
1865
|
let j = null;
|
|
1870
1866
|
const te = () => {
|
|
@@ -1873,18 +1869,18 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1873
1869
|
w.value = (w.value + 1) % H.length;
|
|
1874
1870
|
}, o.placeholderTimeNumber));
|
|
1875
1871
|
}, oe = (H) => {
|
|
1876
|
-
let
|
|
1872
|
+
let W = !0;
|
|
1877
1873
|
if (o.validators && o.validators.trim() !== "")
|
|
1878
1874
|
try {
|
|
1879
|
-
|
|
1875
|
+
W = new RegExp(o.validators).test(H);
|
|
1880
1876
|
} catch {
|
|
1881
|
-
console.error("Invalid regex pattern:", o.validators),
|
|
1877
|
+
console.error("Invalid regex pattern:", o.validators), W = !1;
|
|
1882
1878
|
}
|
|
1883
1879
|
else {
|
|
1884
|
-
const
|
|
1885
|
-
|
|
1880
|
+
const J = ae[o.type];
|
|
1881
|
+
J && (W = J(H));
|
|
1886
1882
|
}
|
|
1887
|
-
return a.value =
|
|
1883
|
+
return a.value = W, n("update:isValid", W), n("validate", W), W;
|
|
1888
1884
|
};
|
|
1889
1885
|
return pe({ source: v, propertyName: "value" }, n), pe(
|
|
1890
1886
|
{
|
|
@@ -1915,14 +1911,14 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1915
1911
|
n
|
|
1916
1912
|
), ie(() => {
|
|
1917
1913
|
j && (clearInterval(j), j = null);
|
|
1918
|
-
}), (H,
|
|
1914
|
+
}), (H, W) => (g(), h("view", {
|
|
1919
1915
|
id: o.id,
|
|
1920
1916
|
class: I(c(s)),
|
|
1921
1917
|
style: B(c(i))
|
|
1922
1918
|
}, [
|
|
1923
1919
|
c(e).left || o.isIcon ? (g(), h("view", {
|
|
1924
1920
|
key: 0,
|
|
1925
|
-
style: B(
|
|
1921
|
+
style: B(F.value),
|
|
1926
1922
|
class: "left-slot"
|
|
1927
1923
|
}, [
|
|
1928
1924
|
V(H.$slots, "left", {}, () => [
|
|
@@ -1943,10 +1939,10 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1943
1939
|
style: B($.value),
|
|
1944
1940
|
class: "center-input"
|
|
1945
1941
|
}, [
|
|
1946
|
-
|
|
1942
|
+
L(Ce, {
|
|
1947
1943
|
value: v.value,
|
|
1948
|
-
"onUpdate:value":
|
|
1949
|
-
type:
|
|
1944
|
+
"onUpdate:value": W[0] || (W[0] = (J) => v.value = J),
|
|
1945
|
+
type: K.value,
|
|
1950
1946
|
placeholder: z.value,
|
|
1951
1947
|
"placeholder-style": H.placeholderStyle,
|
|
1952
1948
|
size: o.size,
|
|
@@ -1959,17 +1955,35 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1959
1955
|
onFocus: u,
|
|
1960
1956
|
onBlur: f,
|
|
1961
1957
|
onInput: m
|
|
1958
|
+
}, null, 8, ["value", "type", "placeholder", "placeholder-style", "size", "disabled", "autocomplete", "text-position", "maxlength", "focus", "font-style"]),
|
|
1959
|
+
L(Ce, {
|
|
1960
|
+
value: v.value,
|
|
1961
|
+
"onUpdate:value": W[1] || (W[1] = (J) => v.value = J),
|
|
1962
|
+
type: K.value,
|
|
1963
|
+
placeholder: z.value,
|
|
1964
|
+
"placeholder-style": H.placeholderStyle,
|
|
1965
|
+
size: o.size,
|
|
1966
|
+
disabled: o.disabled,
|
|
1967
|
+
autocomplete: o.autocomplete,
|
|
1968
|
+
"text-position": o.textPosition,
|
|
1969
|
+
maxlength: o.maxlength,
|
|
1970
|
+
focus: o.focus,
|
|
1971
|
+
"font-style": S.value,
|
|
1972
|
+
onFocus: u,
|
|
1973
|
+
onBlur: f,
|
|
1974
|
+
onInput: m,
|
|
1975
|
+
"is-app-plus": ""
|
|
1962
1976
|
}, null, 8, ["value", "type", "placeholder", "placeholder-style", "size", "disabled", "autocomplete", "text-position", "maxlength", "focus", "font-style"])
|
|
1963
1977
|
], 4),
|
|
1964
1978
|
c(e).right || o.isWordCounter ? (g(), h("view", {
|
|
1965
1979
|
key: 1,
|
|
1966
|
-
style: B(
|
|
1980
|
+
style: B(Z.value),
|
|
1967
1981
|
class: "right-slot"
|
|
1968
1982
|
}, [
|
|
1969
1983
|
V(H.$slots, "right", {}, () => [
|
|
1970
1984
|
y("view", {
|
|
1971
1985
|
class: "word-counter",
|
|
1972
|
-
style: B(
|
|
1986
|
+
style: B(U.value)
|
|
1973
1987
|
}, P(v.value.length) + " / " + P(H.maxlength), 5)
|
|
1974
1988
|
], !0)
|
|
1975
1989
|
], 4)) : N("", !0)
|
|
@@ -1980,7 +1994,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
1980
1994
|
for (const [o, n] of l)
|
|
1981
1995
|
e[o] = n;
|
|
1982
1996
|
return e;
|
|
1983
|
-
}, Ae = /* @__PURE__ */ A(So, [["__scopeId", "data-v-
|
|
1997
|
+
}, Ae = /* @__PURE__ */ A(So, [["__scopeId", "data-v-13ded622"]]), xo = { class: "popup-content" }, Co = ["onClick"], Le = /* @__PURE__ */ M({
|
|
1984
1998
|
__name: "v-picker-list",
|
|
1985
1999
|
props: {
|
|
1986
2000
|
value: {
|
|
@@ -2007,7 +2021,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2007
2021
|
},
|
|
2008
2022
|
emits: ["update:value", "close", "confirm", "select"],
|
|
2009
2023
|
setup(t, { emit: l }) {
|
|
2010
|
-
|
|
2024
|
+
D((u) => ({
|
|
2011
2025
|
"23c42af9": c(s).fontSize.mediumText,
|
|
2012
2026
|
"307b1ec7": c(s).fontColor.mainText,
|
|
2013
2027
|
"1bf54f70": c(s).border.color,
|
|
@@ -2034,7 +2048,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2034
2048
|
return (u, f) => {
|
|
2035
2049
|
const m = q("v-null"), b = q("v-popup");
|
|
2036
2050
|
return g(), h("view", null, [
|
|
2037
|
-
|
|
2051
|
+
L(b, {
|
|
2038
2052
|
value: n.value,
|
|
2039
2053
|
"onUpdate:value": f[0] || (f[0] = ($) => n.value = $),
|
|
2040
2054
|
title: t.title,
|
|
@@ -2044,14 +2058,14 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2044
2058
|
}, {
|
|
2045
2059
|
default: Y(() => [
|
|
2046
2060
|
y("view", xo, [
|
|
2047
|
-
(g(!0), h(
|
|
2061
|
+
(g(!0), h(X, null, ee(a.value, ($, S) => (g(), h("view", {
|
|
2048
2062
|
key: S,
|
|
2049
2063
|
class: I(["picker-item", { active: $.value === i.value }]),
|
|
2050
|
-
onClick: (
|
|
2064
|
+
onClick: (F) => p($)
|
|
2051
2065
|
}, P($.label), 11, Co))), 128)),
|
|
2052
2066
|
ue(y("view", null, [
|
|
2053
2067
|
V(u.$slots, "is-null", {}, () => [
|
|
2054
|
-
|
|
2068
|
+
L(m, { text: "暂无数据" })
|
|
2055
2069
|
])
|
|
2056
2070
|
], 512), [
|
|
2057
2071
|
[ce, a.value.length === 0]
|
|
@@ -2091,7 +2105,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2091
2105
|
},
|
|
2092
2106
|
emits: ["update:value", "close", "confirm", "select"],
|
|
2093
2107
|
setup(t, { emit: l }) {
|
|
2094
|
-
|
|
2108
|
+
D((b) => ({
|
|
2095
2109
|
"0bbfbdf6": c(n).border.color,
|
|
2096
2110
|
"12eab4ea": c(n).fontSize.mediumText,
|
|
2097
2111
|
"609209f5": c(n).fontColor.mainText,
|
|
@@ -2103,18 +2117,18 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2103
2117
|
const b = [];
|
|
2104
2118
|
let $ = [...d.value];
|
|
2105
2119
|
for (let S = 0; S < s.value.length; S++) {
|
|
2106
|
-
const
|
|
2120
|
+
const F = s.value[S];
|
|
2107
2121
|
if (S === 0)
|
|
2108
2122
|
b.push($);
|
|
2109
2123
|
else if (b[S - 1] && b[S - 1].length > 0) {
|
|
2110
|
-
const
|
|
2111
|
-
if (T !== -1 &&
|
|
2112
|
-
$ =
|
|
2124
|
+
const Z = b[S - 1], T = Z.findIndex((k) => k.value === s.value[S - 1]);
|
|
2125
|
+
if (T !== -1 && Z[T].children)
|
|
2126
|
+
$ = Z[T].children, b.push($);
|
|
2113
2127
|
else
|
|
2114
2128
|
break;
|
|
2115
2129
|
} else
|
|
2116
2130
|
break;
|
|
2117
|
-
if (
|
|
2131
|
+
if (F && $.length && $.findIndex((T) => T.value === F) === -1) {
|
|
2118
2132
|
s.value = s.value.map((T, k) => k <= S ? s.value[k] : "");
|
|
2119
2133
|
break;
|
|
2120
2134
|
}
|
|
@@ -2144,21 +2158,21 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2144
2158
|
}, f = (b, $) => {
|
|
2145
2159
|
const S = [...s.value];
|
|
2146
2160
|
if (S[$] = b.value, $ < S.length - 1)
|
|
2147
|
-
for (let
|
|
2148
|
-
S[
|
|
2161
|
+
for (let F = $ + 1; F < S.length; F++)
|
|
2162
|
+
S[F] = "";
|
|
2149
2163
|
s.value = S, o("select", S[$]), v();
|
|
2150
2164
|
}, m = () => {
|
|
2151
2165
|
const b = [];
|
|
2152
2166
|
r.value.forEach(($, S) => {
|
|
2153
|
-
const
|
|
2154
|
-
|
|
2167
|
+
const F = s.value[S], Z = $.find((T) => T.value === F);
|
|
2168
|
+
Z && b.push(Z);
|
|
2155
2169
|
}), a.value = !1, a.value = !1, i.value = !1, o("update:value", !1), o("confirm", b);
|
|
2156
2170
|
};
|
|
2157
2171
|
return (b, $) => {
|
|
2158
|
-
const S = q("v-null"),
|
|
2159
|
-
return g(), re(
|
|
2172
|
+
const S = q("v-null"), F = q("v-popup");
|
|
2173
|
+
return g(), re(F, {
|
|
2160
2174
|
value: a.value,
|
|
2161
|
-
"onUpdate:value": $[0] || ($[0] = (
|
|
2175
|
+
"onUpdate:value": $[0] || ($[0] = (Z) => a.value = Z),
|
|
2162
2176
|
title: t.title,
|
|
2163
2177
|
scrollHeight: t.scrollHeight,
|
|
2164
2178
|
onClose: u,
|
|
@@ -2166,7 +2180,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2166
2180
|
}, {
|
|
2167
2181
|
default: Y(() => [
|
|
2168
2182
|
y("view", $o, [
|
|
2169
|
-
(g(!0), h(
|
|
2183
|
+
(g(!0), h(X, null, ee(r.value, (Z, T) => (g(), h("view", {
|
|
2170
2184
|
key: T,
|
|
2171
2185
|
class: "series-picker-column"
|
|
2172
2186
|
}, [
|
|
@@ -2175,16 +2189,16 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2175
2189
|
"scroll-y": "",
|
|
2176
2190
|
style: B({ height: t.scrollHeight + "rpx" })
|
|
2177
2191
|
}, [
|
|
2178
|
-
(g(!0), h(
|
|
2179
|
-
key:
|
|
2192
|
+
(g(!0), h(X, null, ee(Z, (k, U) => (g(), h("view", {
|
|
2193
|
+
key: U,
|
|
2180
2194
|
class: I(["series-picker-item", { active: k.value === s.value[T] }]),
|
|
2181
|
-
onClick: (
|
|
2195
|
+
onClick: (K) => f(k, T)
|
|
2182
2196
|
}, P(k.label), 11, _o))), 128))
|
|
2183
2197
|
], 4)
|
|
2184
2198
|
]))), 128)),
|
|
2185
2199
|
ue(y("view", null, [
|
|
2186
2200
|
V(b.$slots, "is-null", {}, () => [
|
|
2187
|
-
|
|
2201
|
+
L(S, { text: "暂无数据" })
|
|
2188
2202
|
], !0)
|
|
2189
2203
|
], 512), [
|
|
2190
2204
|
[ce, d.value.length === 0]
|
|
@@ -2234,7 +2248,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2234
2248
|
]),
|
|
2235
2249
|
y("span", Io, [
|
|
2236
2250
|
V(d.$slots, "default", {}, () => [
|
|
2237
|
-
|
|
2251
|
+
G(P(t.item.label), 1)
|
|
2238
2252
|
], !0)
|
|
2239
2253
|
])
|
|
2240
2254
|
], 2));
|
|
@@ -2303,7 +2317,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2303
2317
|
]),
|
|
2304
2318
|
y("span", No, [
|
|
2305
2319
|
V(p.$slots, "default", {}, () => [
|
|
2306
|
-
|
|
2320
|
+
G(P(t.item.label), 1)
|
|
2307
2321
|
], !0)
|
|
2308
2322
|
])
|
|
2309
2323
|
], 2));
|
|
@@ -2350,7 +2364,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2350
2364
|
},
|
|
2351
2365
|
emits: ["update:value", "input", "focus", "blur", "confirm"],
|
|
2352
2366
|
setup(t, { emit: l }) {
|
|
2353
|
-
|
|
2367
|
+
D((u) => ({
|
|
2354
2368
|
"1819696a": c(n).fontSize.mediumText,
|
|
2355
2369
|
bf2d3de8: e.inputTextPosition,
|
|
2356
2370
|
"421e06f7": c(n).border.color,
|
|
@@ -2438,7 +2452,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2438
2452
|
},
|
|
2439
2453
|
emits: ["click", "close"],
|
|
2440
2454
|
setup(t, { emit: l }) {
|
|
2441
|
-
|
|
2455
|
+
D((p) => ({
|
|
2442
2456
|
"95bd3c9a": c(n).fontColor.reversal,
|
|
2443
2457
|
"042d613e": c(n).fontSize.smallText,
|
|
2444
2458
|
"0d093b55": c(n).fontSize.mediumText,
|
|
@@ -2480,7 +2494,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2480
2494
|
}, "×")) : N("", !0),
|
|
2481
2495
|
y("text", Lo, [
|
|
2482
2496
|
V(p.$slots, "default", {}, () => [
|
|
2483
|
-
|
|
2497
|
+
G(P(t.content), 1)
|
|
2484
2498
|
], !0)
|
|
2485
2499
|
])
|
|
2486
2500
|
], 6)), [
|
|
@@ -2525,7 +2539,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2525
2539
|
}
|
|
2526
2540
|
},
|
|
2527
2541
|
setup(t) {
|
|
2528
|
-
|
|
2542
|
+
D((i) => ({
|
|
2529
2543
|
"622304f1": t.fontColor,
|
|
2530
2544
|
"1dc6f937": c(e).borderRadius.circle,
|
|
2531
2545
|
b9c4e4ae: c(e).fontSize.hintText,
|
|
@@ -2590,7 +2604,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2590
2604
|
keywordColor: { type: String, default: "#ff5e5e" }
|
|
2591
2605
|
},
|
|
2592
2606
|
setup(t) {
|
|
2593
|
-
|
|
2607
|
+
D((a) => ({
|
|
2594
2608
|
"0525f7b9": c(e).fontSize.mediumText,
|
|
2595
2609
|
"7c2ca5a4": c(e).fontColor.text,
|
|
2596
2610
|
ee703ac0: c(e).fontColor.default,
|
|
@@ -2629,9 +2643,9 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2629
2643
|
style: B(n.value)
|
|
2630
2644
|
}, [
|
|
2631
2645
|
o.value ? N("", !0) : V(a.$slots, "default", { key: 0 }, () => [
|
|
2632
|
-
|
|
2646
|
+
G(P(o.value), 1)
|
|
2633
2647
|
], !0),
|
|
2634
|
-
|
|
2648
|
+
L(s, { nodes: o.value }, null, 8, ["nodes"])
|
|
2635
2649
|
], 6);
|
|
2636
2650
|
};
|
|
2637
2651
|
}
|
|
@@ -2677,7 +2691,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2677
2691
|
},
|
|
2678
2692
|
emits: ["update:show"],
|
|
2679
2693
|
setup(t, { emit: l }) {
|
|
2680
|
-
|
|
2694
|
+
D((r) => ({
|
|
2681
2695
|
"1ebdc52f": c(n).fontSize.mediumText
|
|
2682
2696
|
}));
|
|
2683
2697
|
const e = t, o = l, n = O("config"), a = C(e.show);
|
|
@@ -2740,7 +2754,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2740
2754
|
}
|
|
2741
2755
|
},
|
|
2742
2756
|
setup(t) {
|
|
2743
|
-
|
|
2757
|
+
D((n) => ({
|
|
2744
2758
|
ed07fc82: c(e).border.color
|
|
2745
2759
|
}));
|
|
2746
2760
|
const l = t, e = O("config"), o = _(() => {
|
|
@@ -2764,7 +2778,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2764
2778
|
}
|
|
2765
2779
|
},
|
|
2766
2780
|
setup(t) {
|
|
2767
|
-
|
|
2781
|
+
D((e) => ({
|
|
2768
2782
|
"5747f64a": c(l).backgroundColor.reversal,
|
|
2769
2783
|
"0951c496": c(l).border.color
|
|
2770
2784
|
}));
|
|
@@ -2775,17 +2789,17 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2775
2789
|
V(e.$slots, "default", {}, void 0, !0)
|
|
2776
2790
|
], 2));
|
|
2777
2791
|
}
|
|
2778
|
-
}), Ge = /* @__PURE__ */ A(Go, [["__scopeId", "data-v-39b4856c"]]),
|
|
2792
|
+
}), Ge = /* @__PURE__ */ A(Go, [["__scopeId", "data-v-39b4856c"]]), Ve = (t) => (de("data-v-475cedbc"), t = t(), fe(), t), Xo = {
|
|
2779
2793
|
key: 0,
|
|
2780
2794
|
class: "v-window-header"
|
|
2781
2795
|
}, Zo = { class: "v-window-title" }, Jo = {
|
|
2782
2796
|
key: 0,
|
|
2783
2797
|
class: "v-window-actions"
|
|
2784
|
-
}, Qo = /* @__PURE__ */
|
|
2798
|
+
}, Qo = /* @__PURE__ */ Ve(() => /* @__PURE__ */ y("text", { class: "icon-minimize" }, "-", -1)), el = [
|
|
2785
2799
|
Qo
|
|
2786
|
-
], tl = /* @__PURE__ */
|
|
2800
|
+
], tl = /* @__PURE__ */ Ve(() => /* @__PURE__ */ y("text", { class: "icon-maximize" }, "□", -1)), ol = [
|
|
2787
2801
|
tl
|
|
2788
|
-
], ll = /* @__PURE__ */
|
|
2802
|
+
], ll = /* @__PURE__ */ Ve(() => /* @__PURE__ */ y("text", { class: "icon-close" }, "×", -1)), nl = [
|
|
2789
2803
|
ll
|
|
2790
2804
|
], al = { class: "v-window-content" }, sl = /* @__PURE__ */ M({
|
|
2791
2805
|
__name: "v-window",
|
|
@@ -2809,7 +2823,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2809
2823
|
},
|
|
2810
2824
|
emits: ["update:show", "update:showActions", "update:fullscreen", "close", "minimize", "maximize"],
|
|
2811
2825
|
setup(t, { emit: l }) {
|
|
2812
|
-
|
|
2826
|
+
D((u) => ({
|
|
2813
2827
|
"06f440ec": c(n).fontSize.mediumTitle,
|
|
2814
2828
|
"57cb0c3b": c(n).fontSize.smallText
|
|
2815
2829
|
}));
|
|
@@ -2902,7 +2916,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2902
2916
|
},
|
|
2903
2917
|
emits: ["update:value", "close", "submit"],
|
|
2904
2918
|
setup(t, { emit: l }) {
|
|
2905
|
-
|
|
2919
|
+
D((p) => ({
|
|
2906
2920
|
"6051b31a": c(d),
|
|
2907
2921
|
"50d66e96": c(n).backgroundColor.reversal,
|
|
2908
2922
|
"0cae07f0": c(n).border.color,
|
|
@@ -2948,18 +2962,18 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
2948
2962
|
y("view", dl, [
|
|
2949
2963
|
V(p.$slots, "footer", {}, () => [
|
|
2950
2964
|
y("view", fl, [
|
|
2951
|
-
|
|
2965
|
+
L(u, {
|
|
2952
2966
|
type: "info",
|
|
2953
2967
|
onClick: s
|
|
2954
2968
|
}, {
|
|
2955
2969
|
default: Y(() => [
|
|
2956
|
-
|
|
2970
|
+
G("取消")
|
|
2957
2971
|
]),
|
|
2958
2972
|
_: 1
|
|
2959
2973
|
}),
|
|
2960
|
-
|
|
2974
|
+
L(u, { onClick: r }, {
|
|
2961
2975
|
default: Y(() => [
|
|
2962
|
-
|
|
2976
|
+
G("确定")
|
|
2963
2977
|
]),
|
|
2964
2978
|
_: 1
|
|
2965
2979
|
})
|
|
@@ -3014,7 +3028,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3014
3028
|
},
|
|
3015
3029
|
emits: ["update:value", "confirm", "select"],
|
|
3016
3030
|
setup(t, { emit: l }) {
|
|
3017
|
-
|
|
3031
|
+
D((u) => ({
|
|
3018
3032
|
"6bc0e65b": s.value,
|
|
3019
3033
|
"3bddb620": c(i).border.color,
|
|
3020
3034
|
"186c85f4": c(i).backgroundColor.disabled,
|
|
@@ -3023,7 +3037,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3023
3037
|
"0a370a21": c(i).fontSize.mediumText
|
|
3024
3038
|
}));
|
|
3025
3039
|
const e = t;
|
|
3026
|
-
let o = C(!1), n =
|
|
3040
|
+
let o = C(!1), n = $e({
|
|
3027
3041
|
label: null,
|
|
3028
3042
|
value: null
|
|
3029
3043
|
});
|
|
@@ -3068,7 +3082,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3068
3082
|
y("view", pl, P(c(n).label != null ? c(n).label : e.placeholder), 1)
|
|
3069
3083
|
], !0)
|
|
3070
3084
|
], 2),
|
|
3071
|
-
|
|
3085
|
+
L(m, {
|
|
3072
3086
|
value: c(o),
|
|
3073
3087
|
"onUpdate:value": f[0] || (f[0] = (b) => Lt(o) ? o.value = b : o = b),
|
|
3074
3088
|
list: t.options,
|
|
@@ -3125,7 +3139,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3125
3139
|
},
|
|
3126
3140
|
emits: ["update:value", "confirm", "select"],
|
|
3127
3141
|
setup(t, { emit: l }) {
|
|
3128
|
-
|
|
3142
|
+
D((v) => ({
|
|
3129
3143
|
f754e808: c(a).backgroundColor.reversal,
|
|
3130
3144
|
"1f118e56": c(a).border.color,
|
|
3131
3145
|
b78085ac: c(a).backgroundColor.disabled,
|
|
@@ -3134,7 +3148,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3134
3148
|
c200adaa: c(a).fontSize.mediumText
|
|
3135
3149
|
}));
|
|
3136
3150
|
const e = t;
|
|
3137
|
-
let o =
|
|
3151
|
+
let o = $e({
|
|
3138
3152
|
label: null,
|
|
3139
3153
|
value: null
|
|
3140
3154
|
});
|
|
@@ -3180,7 +3194,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3180
3194
|
y("view", bl, P(c(o).label !== null ? c(o).label : e.placeholder), 1)
|
|
3181
3195
|
], !0)
|
|
3182
3196
|
], 2),
|
|
3183
|
-
|
|
3197
|
+
L(f, {
|
|
3184
3198
|
value: s.value,
|
|
3185
3199
|
"onUpdate:value": u[0] || (u[0] = (m) => s.value = m),
|
|
3186
3200
|
list: e.options,
|
|
@@ -3243,7 +3257,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3243
3257
|
},
|
|
3244
3258
|
emits: ["update:value", "change"],
|
|
3245
3259
|
setup(t, { emit: l }) {
|
|
3246
|
-
|
|
3260
|
+
D((m) => ({
|
|
3247
3261
|
"6a9f8f78": e.activeColor,
|
|
3248
3262
|
30895673: e.inactiveColor,
|
|
3249
3263
|
"3277a140": e.lineHeight
|
|
@@ -3281,7 +3295,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3281
3295
|
const b = a.value[m];
|
|
3282
3296
|
if (!b)
|
|
3283
3297
|
return;
|
|
3284
|
-
const $ = uni.getSystemInfoSync(), S = b.width,
|
|
3298
|
+
const $ = uni.getSystemInfoSync(), S = b.width, F = b.left, Z = $.windowWidth / 2, T = F + S / 2, k = Math.max(0, T - Z);
|
|
3285
3299
|
requestAnimationFrame(() => {
|
|
3286
3300
|
i.value = k;
|
|
3287
3301
|
});
|
|
@@ -3302,14 +3316,14 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3302
3316
|
"scroll-with-animation": !0
|
|
3303
3317
|
}, [
|
|
3304
3318
|
y("view", xl, [
|
|
3305
|
-
(g(!0), h(
|
|
3319
|
+
(g(!0), h(X, null, ee(t.tabs, ($, S) => (g(), h("view", {
|
|
3306
3320
|
key: $.key || S,
|
|
3307
3321
|
class: I(["tab-item", [{ active: S === n.value }, t.hoverClass]]),
|
|
3308
3322
|
style: B({
|
|
3309
3323
|
minWidth: `${t.minTabWidth}rpx`,
|
|
3310
3324
|
padding: `0 ${t.itemPadding}rpx`
|
|
3311
3325
|
}),
|
|
3312
|
-
onClick: (
|
|
3326
|
+
onClick: (F) => v(S),
|
|
3313
3327
|
id: `tab_${S}`
|
|
3314
3328
|
}, [
|
|
3315
3329
|
y("text", $l, P($.title), 1)
|
|
@@ -3338,7 +3352,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3338
3352
|
},
|
|
3339
3353
|
emits: ["update:current", "change"],
|
|
3340
3354
|
setup(t, { emit: l }) {
|
|
3341
|
-
|
|
3355
|
+
D((v) => ({
|
|
3342
3356
|
"0609f1cd": c(n).fontSize.largeText,
|
|
3343
3357
|
"3e934923": c(n).fontColor.mainText
|
|
3344
3358
|
}));
|
|
@@ -3394,7 +3408,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3394
3408
|
onChange: r,
|
|
3395
3409
|
class: "swiper-box"
|
|
3396
3410
|
}, [
|
|
3397
|
-
(g(!0), h(
|
|
3411
|
+
(g(!0), h(X, null, ee(t.items, (f, m) => (g(), h("swiper-item", {
|
|
3398
3412
|
key: m,
|
|
3399
3413
|
class: "carousel-item"
|
|
3400
3414
|
}, [
|
|
@@ -3458,7 +3472,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3458
3472
|
},
|
|
3459
3473
|
emits: ["update:value", "change"],
|
|
3460
3474
|
setup(t, { emit: l }) {
|
|
3461
|
-
|
|
3475
|
+
D((r) => ({
|
|
3462
3476
|
"3c70518a": c(n).fontSize.mediumText,
|
|
3463
3477
|
"050fe245": c(n).fontColor.mainText
|
|
3464
3478
|
}));
|
|
@@ -3478,7 +3492,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3478
3492
|
return (r, d) => {
|
|
3479
3493
|
const p = q("v-tabs"), v = q("v-loading"), u = q("v-carousel");
|
|
3480
3494
|
return g(), h("view", Bl, [
|
|
3481
|
-
|
|
3495
|
+
L(p, {
|
|
3482
3496
|
value: a.value,
|
|
3483
3497
|
"onUpdate:value": d[0] || (d[0] = (f) => a.value = f),
|
|
3484
3498
|
tabs: t.items,
|
|
@@ -3493,7 +3507,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3493
3507
|
"item-padding": t.itemPadding,
|
|
3494
3508
|
"hover-class": t.hoverClass
|
|
3495
3509
|
}, null, 8, ["value", "tabs", "activeColor", "inactiveColor", "is-line", "line-height", "line-width", "line-offset", "min-tab-width", "item-padding", "hover-class"]),
|
|
3496
|
-
|
|
3510
|
+
L(u, {
|
|
3497
3511
|
current: a.value,
|
|
3498
3512
|
"onUpdate:current": d[1] || (d[1] = (f) => a.value = f),
|
|
3499
3513
|
items: t.items,
|
|
@@ -3511,7 +3525,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3511
3525
|
index: m
|
|
3512
3526
|
}, () => [
|
|
3513
3527
|
y("view", Nl, [
|
|
3514
|
-
|
|
3528
|
+
L(v, {
|
|
3515
3529
|
text: "加载中...",
|
|
3516
3530
|
show: !0
|
|
3517
3531
|
})
|
|
@@ -3545,7 +3559,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3545
3559
|
},
|
|
3546
3560
|
emits: ["update:currentPage", "change"],
|
|
3547
3561
|
setup(t, { emit: l }) {
|
|
3548
|
-
|
|
3562
|
+
D((r) => ({
|
|
3549
3563
|
"107052b2": c(n).backgroundColor.reversal,
|
|
3550
3564
|
"01c8360c": c(n).border.color,
|
|
3551
3565
|
"57e452ac": c(n).border.default,
|
|
@@ -3573,17 +3587,17 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3573
3587
|
const p = q("v-button");
|
|
3574
3588
|
return g(), h("view", Rl, [
|
|
3575
3589
|
y("view", Hl, [
|
|
3576
|
-
|
|
3590
|
+
L(p, {
|
|
3577
3591
|
disabled: t.currentPage <= 1,
|
|
3578
3592
|
onClick: d[0] || (d[0] = (v) => s(t.currentPage - 1)),
|
|
3579
3593
|
size: "small"
|
|
3580
3594
|
}, {
|
|
3581
3595
|
default: Y(() => [
|
|
3582
|
-
|
|
3596
|
+
G("上一页")
|
|
3583
3597
|
]),
|
|
3584
3598
|
_: 1
|
|
3585
3599
|
}, 8, ["disabled"]),
|
|
3586
|
-
(g(!0), h(
|
|
3600
|
+
(g(!0), h(X, null, ee(i.value, (v, u) => (g(), h(X, { key: u }, [
|
|
3587
3601
|
v === "..." ? (g(), h("view", {
|
|
3588
3602
|
key: 0,
|
|
3589
3603
|
class: I(["page-item", { active: t.currentPage === v }]),
|
|
@@ -3594,13 +3608,13 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3594
3608
|
onClick: (f) => s(v)
|
|
3595
3609
|
}, P(v), 11, Ol))
|
|
3596
3610
|
], 64))), 128)),
|
|
3597
|
-
|
|
3611
|
+
L(p, {
|
|
3598
3612
|
disabled: t.currentPage >= a.value,
|
|
3599
3613
|
onClick: d[1] || (d[1] = (v) => s(t.currentPage + 1)),
|
|
3600
3614
|
size: "small"
|
|
3601
3615
|
}, {
|
|
3602
3616
|
default: Y(() => [
|
|
3603
|
-
|
|
3617
|
+
G("下一页")
|
|
3604
3618
|
]),
|
|
3605
3619
|
_: 1
|
|
3606
3620
|
}, 8, ["disabled"])
|
|
@@ -3651,7 +3665,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3651
3665
|
}
|
|
3652
3666
|
},
|
|
3653
3667
|
setup(t) {
|
|
3654
|
-
|
|
3668
|
+
D((f) => ({
|
|
3655
3669
|
"8d2ba8ea": c(e).fontColor.mainText,
|
|
3656
3670
|
"8e929296": c(e).fontSize.mediumText
|
|
3657
3671
|
}));
|
|
@@ -3736,7 +3750,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3736
3750
|
(a) => {
|
|
3737
3751
|
n.value = a;
|
|
3738
3752
|
}
|
|
3739
|
-
),
|
|
3753
|
+
), _e("radioGroup", {
|
|
3740
3754
|
value: n,
|
|
3741
3755
|
disabled: _(() => e.disabled),
|
|
3742
3756
|
defaultValue: _(() => e.defaultValue),
|
|
@@ -3781,7 +3795,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3781
3795
|
emits: ["update:value", "change"],
|
|
3782
3796
|
setup(t, { expose: l, emit: e }) {
|
|
3783
3797
|
const o = t, n = e, a = C([...o.value]);
|
|
3784
|
-
return
|
|
3798
|
+
return _e("checkboxGroup", {
|
|
3785
3799
|
name: "vCheckboxGroup",
|
|
3786
3800
|
checkedValues: a,
|
|
3787
3801
|
disabled: _(() => o.disabled),
|
|
@@ -3841,7 +3855,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3841
3855
|
},
|
|
3842
3856
|
emits: ["success", "error", "cancel"],
|
|
3843
3857
|
setup(t, { emit: l }) {
|
|
3844
|
-
|
|
3858
|
+
D((f) => ({
|
|
3845
3859
|
e223a4b8: c(n).border.color,
|
|
3846
3860
|
"3a02412a": c(n).borderRadius.semicircle,
|
|
3847
3861
|
"6c0dad69": c(n).VUploadFileButton.backgroundColor,
|
|
@@ -3865,7 +3879,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3865
3879
|
}
|
|
3866
3880
|
return "";
|
|
3867
3881
|
});
|
|
3868
|
-
|
|
3882
|
+
Ne(() => {
|
|
3869
3883
|
e.disabled && (s.value = !1);
|
|
3870
3884
|
});
|
|
3871
3885
|
const v = () => {
|
|
@@ -3935,7 +3949,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
3935
3949
|
!s.value && !r.value ? V(f.$slots, "default", { key: 0 }, () => [
|
|
3936
3950
|
Fl,
|
|
3937
3951
|
y("view", El, P(t.buttonText), 1)
|
|
3938
|
-
], !0) : (g(), h(
|
|
3952
|
+
], !0) : (g(), h(X, { key: 1 }, [
|
|
3939
3953
|
s.value ? (g(), h("view", ql, [
|
|
3940
3954
|
V(f.$slots, "loading", { progress: i.value }, () => [
|
|
3941
3955
|
y("view", Ul, [
|
|
@@ -4016,7 +4030,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4016
4030
|
},
|
|
4017
4031
|
emits: ["submit", "validate", "rest"],
|
|
4018
4032
|
setup(t, { expose: l, emit: e }) {
|
|
4019
|
-
|
|
4033
|
+
D((f) => ({
|
|
4020
4034
|
"16ee719d": c(i).fontColor.delete,
|
|
4021
4035
|
"280f747a": o.labelWidth + "rpx",
|
|
4022
4036
|
"5f156a2b": o.labelPosition,
|
|
@@ -4027,8 +4041,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4027
4041
|
"4d4017c0": o.labelSpacing + "rpx",
|
|
4028
4042
|
"4ec48430": c(i).fontSize.mediumText
|
|
4029
4043
|
}));
|
|
4030
|
-
const o = t, n = e, a = C(!1), i = O("config"), s = /* @__PURE__ */ new Map(), r = C(!1), d =
|
|
4031
|
-
|
|
4044
|
+
const o = t, n = e, a = C(!1), i = O("config"), s = /* @__PURE__ */ new Map(), r = C(!1), d = $e({ ...o.model });
|
|
4045
|
+
_e("form", {
|
|
4032
4046
|
rules: o.rules || {},
|
|
4033
4047
|
formData: d,
|
|
4034
4048
|
register: (f, m) => {
|
|
@@ -4055,7 +4069,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4055
4069
|
s.forEach((f) => f.resetField());
|
|
4056
4070
|
},
|
|
4057
4071
|
validate: p
|
|
4058
|
-
}),
|
|
4072
|
+
}), Ne(() => {
|
|
4059
4073
|
Object.assign(d, o.model);
|
|
4060
4074
|
}), (f, m) => {
|
|
4061
4075
|
const b = q("v-button");
|
|
@@ -4070,7 +4084,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4070
4084
|
buttonSize: t.buttonSize
|
|
4071
4085
|
}, () => [
|
|
4072
4086
|
y("view", Jl, [
|
|
4073
|
-
|
|
4087
|
+
L(b, {
|
|
4074
4088
|
disabled: r.value,
|
|
4075
4089
|
onClick: p,
|
|
4076
4090
|
size: t.buttonSize
|
|
@@ -4087,7 +4101,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4087
4101
|
size: t.buttonSize
|
|
4088
4102
|
}, {
|
|
4089
4103
|
default: Y(() => [
|
|
4090
|
-
|
|
4104
|
+
G("重置")
|
|
4091
4105
|
]),
|
|
4092
4106
|
_: 1
|
|
4093
4107
|
}, 8, ["size"])) : N("", !0)
|
|
@@ -4134,10 +4148,10 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4134
4148
|
}
|
|
4135
4149
|
},
|
|
4136
4150
|
setup(t) {
|
|
4137
|
-
|
|
4151
|
+
D((v) => ({
|
|
4138
4152
|
"312a8c31": c(i).VFormItem.borderColor
|
|
4139
4153
|
}));
|
|
4140
|
-
const { proxy: l } =
|
|
4154
|
+
const { proxy: l } = Me(), e = t, o = C(null), n = C(""), a = C(!1), i = O("config"), s = O("form", {
|
|
4141
4155
|
rules: {},
|
|
4142
4156
|
formData: {},
|
|
4143
4157
|
register: (v, u) => {
|
|
@@ -4217,7 +4231,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4217
4231
|
t.requiredPosition == "left" ? (g(), h("view", on, [
|
|
4218
4232
|
a.value ? (g(), re(f, { key: 0 }, {
|
|
4219
4233
|
default: Y(() => [
|
|
4220
|
-
|
|
4234
|
+
G("*")
|
|
4221
4235
|
]),
|
|
4222
4236
|
_: 1
|
|
4223
4237
|
})) : N("", !0)
|
|
@@ -4226,7 +4240,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4226
4240
|
t.requiredPosition == "right" ? (g(), h("view", nn, [
|
|
4227
4241
|
a.value ? (g(), re(f, { key: 0 }, {
|
|
4228
4242
|
default: Y(() => [
|
|
4229
|
-
|
|
4243
|
+
G("*")
|
|
4230
4244
|
]),
|
|
4231
4245
|
_: 1
|
|
4232
4246
|
})) : N("", !0)
|
|
@@ -4240,20 +4254,20 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4240
4254
|
type: "danger"
|
|
4241
4255
|
}, {
|
|
4242
4256
|
default: Y(() => [
|
|
4243
|
-
|
|
4257
|
+
G(P(n.value), 1)
|
|
4244
4258
|
]),
|
|
4245
4259
|
_: 1
|
|
4246
4260
|
})) : N("", !0)
|
|
4247
4261
|
])) : N("", !0)
|
|
4248
4262
|
]),
|
|
4249
|
-
|
|
4263
|
+
L(m, {
|
|
4250
4264
|
ref_key: "toast",
|
|
4251
4265
|
ref: o
|
|
4252
4266
|
}, null, 512)
|
|
4253
4267
|
], 2);
|
|
4254
4268
|
};
|
|
4255
4269
|
}
|
|
4256
|
-
}), ct = /* @__PURE__ */ A(rn, [["__scopeId", "data-v-f88ee711"]]), un = { class: "v-menu" }, cn = ["onClick"], dn = { class: "menu-content" },
|
|
4270
|
+
}), ct = /* @__PURE__ */ A(rn, [["__scopeId", "data-v-f88ee711"]]), un = { class: "v-menu" }, cn = ["onClick"], dn = { class: "menu-content" }, Be = 50, fn = /* @__PURE__ */ M({
|
|
4257
4271
|
__name: "v-menu",
|
|
4258
4272
|
props: {
|
|
4259
4273
|
menuPosition: {
|
|
@@ -4283,7 +4297,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4283
4297
|
emits: ["update:value", "select"],
|
|
4284
4298
|
setup(t, { emit: l }) {
|
|
4285
4299
|
var ae;
|
|
4286
|
-
|
|
4300
|
+
D((w) => ({
|
|
4287
4301
|
53727516: c(n).VMenu.backgroundColor,
|
|
4288
4302
|
"1e6792f2": c(n).border.color,
|
|
4289
4303
|
"9a8d9990": c(n).fontColor.subTitle,
|
|
@@ -4311,14 +4325,14 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4311
4325
|
return;
|
|
4312
4326
|
d.value = !1;
|
|
4313
4327
|
const j = e.slideAxis === "x" ? w - s.value : z - r.value;
|
|
4314
|
-
j >
|
|
4315
|
-
}, S = (w) => m(w.touches[0].clientX, w.touches[0].clientY),
|
|
4328
|
+
j > Be ? u() : j < -Be && v();
|
|
4329
|
+
}, S = (w) => m(w.touches[0].clientX, w.touches[0].clientY), F = (w) => {
|
|
4316
4330
|
var z;
|
|
4317
4331
|
e.isSlide && (b(w.touches[0].clientX, w.touches[0].clientY), (z = w.preventDefault) == null || z.call(w));
|
|
4318
|
-
},
|
|
4332
|
+
}, Z = (w) => $(w.changedTouches[0].clientX, w.changedTouches[0].clientY), T = (w) => m(w.clientX, w.clientY), k = (w) => {
|
|
4319
4333
|
var z;
|
|
4320
4334
|
d.value && (b(w.clientX, w.clientY), (z = w.preventDefault) == null || z.call(w));
|
|
4321
|
-
},
|
|
4335
|
+
}, U = (w) => $(w.clientX, w.clientY);
|
|
4322
4336
|
return R(
|
|
4323
4337
|
() => e.value,
|
|
4324
4338
|
(w) => {
|
|
@@ -4326,28 +4340,28 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4326
4340
|
}
|
|
4327
4341
|
), typeof plus > "u" && ge(() => {
|
|
4328
4342
|
var z, j;
|
|
4329
|
-
const w = (j = (z =
|
|
4343
|
+
const w = (j = (z = Me()) == null ? void 0 : z.proxy) == null ? void 0 : j.$el;
|
|
4330
4344
|
w && (w.style.overscrollBehaviorX = e.slideAxis === "x" ? "contain" : "auto", w.style.overscrollBehaviorY = e.slideAxis === "y" ? "contain" : "auto");
|
|
4331
4345
|
}), (w, z) => (g(), h("view", {
|
|
4332
4346
|
ref_key: "rootRef",
|
|
4333
4347
|
ref: i,
|
|
4334
4348
|
class: I(["v-menu-container", [`v-menu-container--position--${t.menuPosition}`, { "v-slide-x": t.slideAxis === "x" }, { "v-slide-y": t.slideAxis === "y" }]]),
|
|
4335
4349
|
onTouchstart: S,
|
|
4336
|
-
onTouchmove:
|
|
4337
|
-
onTouchend:
|
|
4350
|
+
onTouchmove: F,
|
|
4351
|
+
onTouchend: Z,
|
|
4338
4352
|
onMousedown: T,
|
|
4339
4353
|
onMousemove: k,
|
|
4340
|
-
onMouseup:
|
|
4354
|
+
onMouseup: U
|
|
4341
4355
|
}, [
|
|
4342
4356
|
y("view", un, [
|
|
4343
|
-
(g(!0), h(
|
|
4357
|
+
(g(!0), h(X, null, ee(t.menuItems, (j) => (g(), h("view", {
|
|
4344
4358
|
key: j.id,
|
|
4345
4359
|
class: I(["menu-item", { active: a.value === j.id }]),
|
|
4346
4360
|
onClick: (te) => f(j.id, j)
|
|
4347
4361
|
}, P(j.title), 11, cn))), 128))
|
|
4348
4362
|
]),
|
|
4349
4363
|
y("view", dn, [
|
|
4350
|
-
(g(!0), h(
|
|
4364
|
+
(g(!0), h(X, null, ee(t.menuItems, (j, te) => ue((g(), h("view", {
|
|
4351
4365
|
key: j.id
|
|
4352
4366
|
}, [
|
|
4353
4367
|
V(w.$slots, `content-${te}`, { item: j }, void 0, !0)
|
|
@@ -4438,7 +4452,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4438
4452
|
y("view", {
|
|
4439
4453
|
class: I(["menu-header", `menu-header--${t.direction}`])
|
|
4440
4454
|
}, [
|
|
4441
|
-
(g(!0), h(
|
|
4455
|
+
(g(!0), h(X, null, ee(r.value, (m, b) => (g(), h("view", {
|
|
4442
4456
|
key: b,
|
|
4443
4457
|
class: I(["menu-item", { "menu-item--active": n.value === b }]),
|
|
4444
4458
|
onClick: ($) => p(b)
|
|
@@ -4465,7 +4479,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4465
4479
|
onChange: v,
|
|
4466
4480
|
class: "menu-content-swiper"
|
|
4467
4481
|
}, [
|
|
4468
|
-
(g(!0), h(
|
|
4482
|
+
(g(!0), h(X, null, ee(d.value, (m, b) => (g(), h("swiper-item", { key: b }, [
|
|
4469
4483
|
y("view", hn, [
|
|
4470
4484
|
V(u.$slots, "content", {
|
|
4471
4485
|
item: m,
|
|
@@ -4502,7 +4516,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4502
4516
|
},
|
|
4503
4517
|
emits: ["update:value", "close", "confirm"],
|
|
4504
4518
|
setup(t, { emit: l }) {
|
|
4505
|
-
|
|
4519
|
+
D((r) => ({
|
|
4506
4520
|
"1d7928c3": c(n).backgroundColor.reversal,
|
|
4507
4521
|
"3b5cdd9d": c(n).border.color,
|
|
4508
4522
|
"26da0f53": c(n).fontSize.smallTitle,
|
|
@@ -4529,7 +4543,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4529
4543
|
key: 0,
|
|
4530
4544
|
class: I(["popup-list-container", { active: e.value }])
|
|
4531
4545
|
}, [
|
|
4532
|
-
|
|
4546
|
+
L(p, {
|
|
4533
4547
|
value: e.value,
|
|
4534
4548
|
"onUpdate:value": d[0] || (d[0] = (u) => e.value = u),
|
|
4535
4549
|
"z-index": 8,
|
|
@@ -4558,13 +4572,13 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4558
4572
|
]),
|
|
4559
4573
|
y("view", Cn, [
|
|
4560
4574
|
V(r.$slots, "buttons-footer", {}, () => [
|
|
4561
|
-
|
|
4575
|
+
L(v, {
|
|
4562
4576
|
class: "popup-confirm",
|
|
4563
4577
|
onClick: s,
|
|
4564
4578
|
model: "circle"
|
|
4565
4579
|
}, {
|
|
4566
4580
|
default: Y(() => [
|
|
4567
|
-
|
|
4581
|
+
G("确定")
|
|
4568
4582
|
]),
|
|
4569
4583
|
_: 1
|
|
4570
4584
|
})
|
|
@@ -4604,7 +4618,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4604
4618
|
},
|
|
4605
4619
|
emits: ["item-click", "image-error"],
|
|
4606
4620
|
setup(t, { emit: l }) {
|
|
4607
|
-
|
|
4621
|
+
D((u) => ({
|
|
4608
4622
|
"9fd661d8": c(n).backgroundColor.reversal,
|
|
4609
4623
|
"09a191f6": c(n).VGrid.backgroundColor
|
|
4610
4624
|
}));
|
|
@@ -4638,7 +4652,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4638
4652
|
class: "v-grid",
|
|
4639
4653
|
style: B(s.value)
|
|
4640
4654
|
}, [
|
|
4641
|
-
(g(!0), h(
|
|
4655
|
+
(g(!0), h(X, null, ee(t.items, (m, b) => (g(), h("view", {
|
|
4642
4656
|
key: b,
|
|
4643
4657
|
class: "grid-item",
|
|
4644
4658
|
style: B(r.value),
|
|
@@ -4723,7 +4737,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4723
4737
|
},
|
|
4724
4738
|
emits: ["select"],
|
|
4725
4739
|
setup(t, { emit: l }) {
|
|
4726
|
-
|
|
4740
|
+
D((d) => ({
|
|
4727
4741
|
"50f1e36c": e.activeColor,
|
|
4728
4742
|
"302869ea": e.iconSize,
|
|
4729
4743
|
"4262f5f2": c(n).fontSize.mediumText
|
|
@@ -4768,7 +4782,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4768
4782
|
class: "icon-grid",
|
|
4769
4783
|
style: B({ "grid-template-columns": `repeat(${i.value}, 1fr)` })
|
|
4770
4784
|
}, [
|
|
4771
|
-
(g(!0), h(
|
|
4785
|
+
(g(!0), h(X, null, ee(t.icons, (u, f) => (g(), h("view", {
|
|
4772
4786
|
key: f,
|
|
4773
4787
|
class: I(["icon-item", { "icon-item-active": a.value === f }]),
|
|
4774
4788
|
onClick: (m) => r(f),
|
|
@@ -4822,7 +4836,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4822
4836
|
}
|
|
4823
4837
|
},
|
|
4824
4838
|
setup(t) {
|
|
4825
|
-
|
|
4839
|
+
D((n) => ({
|
|
4826
4840
|
"80c566ec": 100 / l.columns + "%"
|
|
4827
4841
|
}));
|
|
4828
4842
|
const l = t, e = C([]), o = () => {
|
|
@@ -4844,11 +4858,11 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4844
4858
|
o();
|
|
4845
4859
|
}
|
|
4846
4860
|
), (n, a) => (g(), h("view", Hn, [
|
|
4847
|
-
(g(!0), h(
|
|
4861
|
+
(g(!0), h(X, null, ee(e.value, (i, s) => (g(), h("view", {
|
|
4848
4862
|
key: s,
|
|
4849
4863
|
class: "column"
|
|
4850
4864
|
}, [
|
|
4851
|
-
(g(!0), h(
|
|
4865
|
+
(g(!0), h(X, null, ee(i, (r, d) => (g(), h("view", {
|
|
4852
4866
|
key: d,
|
|
4853
4867
|
class: "waterfall-item"
|
|
4854
4868
|
}, [
|
|
@@ -4892,7 +4906,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4892
4906
|
}
|
|
4893
4907
|
},
|
|
4894
4908
|
setup(t) {
|
|
4895
|
-
|
|
4909
|
+
D((o) => ({
|
|
4896
4910
|
"4da6ce2f": c(e).backgroundColor.reversal,
|
|
4897
4911
|
"0bb375ee": c(e).border.color,
|
|
4898
4912
|
c476d9d0: c(e).fontSize.mediumText,
|
|
@@ -4947,7 +4961,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4947
4961
|
}
|
|
4948
4962
|
},
|
|
4949
4963
|
setup(t) {
|
|
4950
|
-
|
|
4964
|
+
D((i) => ({
|
|
4951
4965
|
bc12b300: c(e).border.color,
|
|
4952
4966
|
"31ad9ac4": c(e).VTable.backgroundColor,
|
|
4953
4967
|
"7a9ecbb6": c(e).fontColor.mianTitle,
|
|
@@ -4977,12 +4991,12 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4977
4991
|
class: "v-table-header",
|
|
4978
4992
|
onClick: a
|
|
4979
4993
|
}, [
|
|
4980
|
-
(g(!0), h(
|
|
4994
|
+
(g(!0), h(X, null, ee(t.columns, (r, d) => (g(), h("view", {
|
|
4981
4995
|
class: "v-table-header-cell",
|
|
4982
4996
|
key: d,
|
|
4983
4997
|
style: B({ width: r.width, flex: "1 1 0%" })
|
|
4984
4998
|
}, [
|
|
4985
|
-
|
|
4999
|
+
G(P(r.label) + " ", 1),
|
|
4986
5000
|
r.prop && t.sortable ? (g(), h("view", Un, [
|
|
4987
5001
|
y("text", {
|
|
4988
5002
|
class: I(["arrow-up", { active: r.prop === o.value.prop && o.value.order === "asc" }])
|
|
@@ -4996,14 +5010,14 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
4996
5010
|
y("view", Kn, [
|
|
4997
5011
|
t.data.length ? N("", !0) : (g(), h("view", Yn, [
|
|
4998
5012
|
V(i.$slots, "empty", {}, () => [
|
|
4999
|
-
|
|
5013
|
+
G("暂无数据")
|
|
5000
5014
|
], !0)
|
|
5001
5015
|
])),
|
|
5002
|
-
(g(!0), h(
|
|
5016
|
+
(g(!0), h(X, null, ee(n.value, (r, d) => (g(), h("view", {
|
|
5003
5017
|
class: "v-table-row",
|
|
5004
5018
|
key: d
|
|
5005
5019
|
}, [
|
|
5006
|
-
(g(!0), h(
|
|
5020
|
+
(g(!0), h(X, null, ee(t.columns, (p, v) => (g(), h("view", {
|
|
5007
5021
|
class: "v-table-cell",
|
|
5008
5022
|
key: v,
|
|
5009
5023
|
style: B({ width: p.width, flex: "1 1 0%" })
|
|
@@ -5013,7 +5027,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5013
5027
|
column: p,
|
|
5014
5028
|
index: d
|
|
5015
5029
|
}, () => [
|
|
5016
|
-
|
|
5030
|
+
G(P(r[p.prop]), 1)
|
|
5017
5031
|
], !0)
|
|
5018
5032
|
], 4))), 128))
|
|
5019
5033
|
]))), 128))
|
|
@@ -5047,7 +5061,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5047
5061
|
},
|
|
5048
5062
|
emits: ["update:value", "click"],
|
|
5049
5063
|
setup(t, { emit: l }) {
|
|
5050
|
-
|
|
5064
|
+
D((d) => ({
|
|
5051
5065
|
"1a8fa400": s,
|
|
5052
5066
|
"93f4fac6": i.value,
|
|
5053
5067
|
"58b4c3c6": c(n).opacity.mask,
|
|
@@ -5107,7 +5121,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5107
5121
|
},
|
|
5108
5122
|
emits: ["update:value"],
|
|
5109
5123
|
setup(t, { emit: l }) {
|
|
5110
|
-
|
|
5124
|
+
D((v) => ({
|
|
5111
5125
|
"5b7fd230": c(n).opacity.disabled,
|
|
5112
5126
|
"7659fe08": c(n).VSwitch.backgroundColor,
|
|
5113
5127
|
"429af130": c(n).backgroundColor.reversal
|
|
@@ -5141,7 +5155,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5141
5155
|
class: "switch-thumb",
|
|
5142
5156
|
style: B(r.value)
|
|
5143
5157
|
}, [
|
|
5144
|
-
|
|
5158
|
+
L(f, {
|
|
5145
5159
|
value: e.loading,
|
|
5146
5160
|
"onUpdate:value": u[0] || (u[0] = (m) => e.loading = m),
|
|
5147
5161
|
type: "customize",
|
|
@@ -5174,7 +5188,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5174
5188
|
},
|
|
5175
5189
|
emits: ["back"],
|
|
5176
5190
|
setup(t, { emit: l }) {
|
|
5177
|
-
|
|
5191
|
+
D((i) => ({
|
|
5178
5192
|
ba05f620: c(n).border.color,
|
|
5179
5193
|
f0536174: c(n).fontColor.mianTitle,
|
|
5180
5194
|
"66377ab4": c(n).fontSize.mediumTitle
|
|
@@ -5229,7 +5243,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5229
5243
|
}
|
|
5230
5244
|
},
|
|
5231
5245
|
setup(t) {
|
|
5232
|
-
|
|
5246
|
+
D((n) => ({
|
|
5233
5247
|
"0bfdf206": l.vacancyColor,
|
|
5234
5248
|
"47ae1aed": l.opacity,
|
|
5235
5249
|
"40c1300b": c(e).border.default,
|
|
@@ -5262,7 +5276,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5262
5276
|
},
|
|
5263
5277
|
emits: ["refresh"],
|
|
5264
5278
|
setup(t, { emit: l }) {
|
|
5265
|
-
|
|
5279
|
+
D((S) => ({
|
|
5266
5280
|
"487f263e": c(n).backgroundColor.reversal,
|
|
5267
5281
|
"0addf3d2": c(n).fontColor.mainText,
|
|
5268
5282
|
"41a208d0": c(n).border.color
|
|
@@ -5290,8 +5304,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5290
5304
|
}), ie(() => {
|
|
5291
5305
|
const S = document.querySelector(".v-pull-up-refresh");
|
|
5292
5306
|
S && (S.removeEventListener("touchstart", u), S.removeEventListener("touchmove", f), S.removeEventListener("touchend", m));
|
|
5293
|
-
}), (S,
|
|
5294
|
-
const
|
|
5307
|
+
}), (S, F) => {
|
|
5308
|
+
const Z = q("v-min-loading");
|
|
5295
5309
|
return g(), h("view", {
|
|
5296
5310
|
class: "v-pull-up-refresh",
|
|
5297
5311
|
style: B({ height: a.value })
|
|
@@ -5303,9 +5317,9 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5303
5317
|
}, () => [
|
|
5304
5318
|
y("view", la, [
|
|
5305
5319
|
r.value ? N("", !0) : (g(), h("view", na)),
|
|
5306
|
-
|
|
5320
|
+
L(Z, {
|
|
5307
5321
|
value: r.value,
|
|
5308
|
-
"onUpdate:value":
|
|
5322
|
+
"onUpdate:value": F[0] || (F[0] = (T) => r.value = T),
|
|
5309
5323
|
type: "info"
|
|
5310
5324
|
}, null, 8, ["value"])
|
|
5311
5325
|
]),
|
|
@@ -5349,7 +5363,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5349
5363
|
}
|
|
5350
5364
|
},
|
|
5351
5365
|
setup(t) {
|
|
5352
|
-
|
|
5366
|
+
D((n) => ({
|
|
5353
5367
|
68603567: c(e).fontSize.smallText,
|
|
5354
5368
|
a6729d46: l.textColor,
|
|
5355
5369
|
"6ee4e318": o.value.width,
|
|
@@ -5422,38 +5436,38 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5422
5436
|
"update:show"
|
|
5423
5437
|
],
|
|
5424
5438
|
setup(t, { emit: l }) {
|
|
5425
|
-
|
|
5439
|
+
D((T) => ({
|
|
5426
5440
|
"34512ec2": c(a).fontSize.mediumText,
|
|
5427
5441
|
"9f29cf52": c(a).VDateTime.backgroundColor,
|
|
5428
5442
|
e7b0ed3c: c(a).border.color
|
|
5429
5443
|
}));
|
|
5430
5444
|
const e = t, o = l, n = C(e.show), a = O("config");
|
|
5431
5445
|
function i(T, k) {
|
|
5432
|
-
const
|
|
5433
|
-
for (let
|
|
5434
|
-
|
|
5435
|
-
value:
|
|
5436
|
-
label: `${
|
|
5446
|
+
const U = [];
|
|
5447
|
+
for (let K = T; K >= k; K--)
|
|
5448
|
+
U.push({
|
|
5449
|
+
value: K,
|
|
5450
|
+
label: `${K}`
|
|
5437
5451
|
});
|
|
5438
|
-
return
|
|
5452
|
+
return U;
|
|
5439
5453
|
}
|
|
5440
5454
|
function s(T, k) {
|
|
5441
|
-
const
|
|
5442
|
-
for (let
|
|
5443
|
-
|
|
5444
|
-
value:
|
|
5445
|
-
label: `${
|
|
5455
|
+
const U = [];
|
|
5456
|
+
for (let K = T + 1; K > k; K--)
|
|
5457
|
+
U.push({
|
|
5458
|
+
value: K,
|
|
5459
|
+
label: `${K}`
|
|
5446
5460
|
});
|
|
5447
|
-
return
|
|
5461
|
+
return U;
|
|
5448
5462
|
}
|
|
5449
5463
|
function r(T, k) {
|
|
5450
|
-
const
|
|
5464
|
+
const U = [], K = new Date(e.value.getFullYear(), e.value.getMonth() + 1, 0).getDate(), ae = Math.min(T, K);
|
|
5451
5465
|
for (let w = ae; w >= k; w--)
|
|
5452
|
-
|
|
5466
|
+
U.push({
|
|
5453
5467
|
value: w,
|
|
5454
5468
|
label: `${w}`
|
|
5455
5469
|
});
|
|
5456
|
-
return
|
|
5470
|
+
return U;
|
|
5457
5471
|
}
|
|
5458
5472
|
function d() {
|
|
5459
5473
|
const T = [];
|
|
@@ -5508,86 +5522,86 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5508
5522
|
n.value = T;
|
|
5509
5523
|
}
|
|
5510
5524
|
);
|
|
5511
|
-
const
|
|
5525
|
+
const F = () => {
|
|
5512
5526
|
n.value = !1, o("update:show", !1), o("close", !1);
|
|
5513
|
-
},
|
|
5527
|
+
}, Z = () => {
|
|
5514
5528
|
n.value = !1, o("update:show", !1), o("confirm", e.value);
|
|
5515
5529
|
};
|
|
5516
5530
|
return (T, k) => {
|
|
5517
|
-
const
|
|
5531
|
+
const U = q("v-scroll-list"), K = q("v-text"), ae = q("v-popup");
|
|
5518
5532
|
return g(), re(ae, {
|
|
5519
5533
|
value: n.value,
|
|
5520
5534
|
"onUpdate:value": k[6] || (k[6] = (w) => n.value = w),
|
|
5521
5535
|
title: t.title,
|
|
5522
5536
|
scrollHeight: t.scrollHeight,
|
|
5523
5537
|
model: "semicircle",
|
|
5524
|
-
onClose:
|
|
5525
|
-
onConfirm:
|
|
5538
|
+
onClose: F,
|
|
5539
|
+
onConfirm: Z
|
|
5526
5540
|
}, {
|
|
5527
5541
|
default: Y(() => [
|
|
5528
5542
|
y("view", va, [
|
|
5529
5543
|
y("view", ma, [
|
|
5530
|
-
|
|
5544
|
+
L(U, {
|
|
5531
5545
|
value: t.value.getFullYear(),
|
|
5532
5546
|
options: i(e.maxDateTime.getFullYear(), e.minDateTime.getFullYear()),
|
|
5533
5547
|
scrollHeight: t.scrollHeight,
|
|
5534
5548
|
"onUpdate:value": k[0] || (k[0] = (w) => u(w))
|
|
5535
5549
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5536
|
-
|
|
5550
|
+
L(K, { class: "separate-symbol" }, {
|
|
5537
5551
|
default: Y(() => [
|
|
5538
|
-
|
|
5552
|
+
G(":")
|
|
5539
5553
|
]),
|
|
5540
5554
|
_: 1
|
|
5541
5555
|
}),
|
|
5542
|
-
|
|
5556
|
+
L(U, {
|
|
5543
5557
|
value: t.value.getMonth() + 1,
|
|
5544
5558
|
options: s(e.maxDateTime.getMonth(), e.minDateTime.getMonth()),
|
|
5545
5559
|
scrollHeight: t.scrollHeight,
|
|
5546
5560
|
"onUpdate:value": k[1] || (k[1] = (w) => f(w))
|
|
5547
5561
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5548
|
-
|
|
5562
|
+
L(K, { class: "separate-symbol" }, {
|
|
5549
5563
|
default: Y(() => [
|
|
5550
|
-
|
|
5564
|
+
G(":")
|
|
5551
5565
|
]),
|
|
5552
5566
|
_: 1
|
|
5553
5567
|
}),
|
|
5554
|
-
|
|
5568
|
+
L(U, {
|
|
5555
5569
|
value: t.value.getDate(),
|
|
5556
5570
|
options: r(e.maxDateTime.getDate(), e.minDateTime.getDate()),
|
|
5557
5571
|
scrollHeight: t.scrollHeight,
|
|
5558
5572
|
"onUpdate:value": k[2] || (k[2] = (w) => m(w))
|
|
5559
5573
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5560
|
-
|
|
5574
|
+
L(K, { class: "separate-symbol" }, {
|
|
5561
5575
|
default: Y(() => [
|
|
5562
|
-
|
|
5576
|
+
G(":")
|
|
5563
5577
|
]),
|
|
5564
5578
|
_: 1
|
|
5565
5579
|
}),
|
|
5566
|
-
|
|
5580
|
+
L(U, {
|
|
5567
5581
|
value: t.hoursSystem ? t.value.getHours() || 24 : t.value.getHours() % 12 || 12,
|
|
5568
5582
|
options: d(e.maxDateTime.getHours(), e.minDateTime.getHours()),
|
|
5569
5583
|
scrollHeight: t.scrollHeight,
|
|
5570
5584
|
"onUpdate:value": k[3] || (k[3] = (w) => b(w))
|
|
5571
5585
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5572
|
-
|
|
5586
|
+
L(K, { class: "separate-symbol" }, {
|
|
5573
5587
|
default: Y(() => [
|
|
5574
|
-
|
|
5588
|
+
G(":")
|
|
5575
5589
|
]),
|
|
5576
5590
|
_: 1
|
|
5577
5591
|
}),
|
|
5578
|
-
|
|
5592
|
+
L(U, {
|
|
5579
5593
|
value: t.value.getMinutes(),
|
|
5580
5594
|
options: p(e.maxDateTime.getMinutes(), e.minDateTime.getMinutes()),
|
|
5581
5595
|
scrollHeight: t.scrollHeight,
|
|
5582
5596
|
"onUpdate:value": k[4] || (k[4] = (w) => $(w))
|
|
5583
5597
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5584
|
-
|
|
5598
|
+
L(K, { class: "separate-symbol" }, {
|
|
5585
5599
|
default: Y(() => [
|
|
5586
|
-
|
|
5600
|
+
G(":")
|
|
5587
5601
|
]),
|
|
5588
5602
|
_: 1
|
|
5589
5603
|
}),
|
|
5590
|
-
|
|
5604
|
+
L(U, {
|
|
5591
5605
|
value: t.value.getSeconds(),
|
|
5592
5606
|
options: v(e.maxDateTime.getSeconds(), e.minDateTime.getSeconds()),
|
|
5593
5607
|
scrollHeight: t.scrollHeight,
|
|
@@ -5657,7 +5671,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5657
5671
|
default: Y(() => [
|
|
5658
5672
|
y("view", ga, [
|
|
5659
5673
|
y("view", ha, [
|
|
5660
|
-
|
|
5674
|
+
L(p, {
|
|
5661
5675
|
options: t.options,
|
|
5662
5676
|
modelValue: a.value,
|
|
5663
5677
|
"onUpdate:modelValue": d[0] || (d[0] = (u) => a.value = u),
|
|
@@ -5694,7 +5708,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5694
5708
|
},
|
|
5695
5709
|
emits: ["update:value"],
|
|
5696
5710
|
setup(t, { emit: l }) {
|
|
5697
|
-
|
|
5711
|
+
D((u) => ({
|
|
5698
5712
|
a10729c6: c(n).fontSize.mediumText,
|
|
5699
5713
|
"3b2f6bba": c(n).fontColor.mainText,
|
|
5700
5714
|
"7c2bdf04": c(n).fontColor.default,
|
|
@@ -5730,7 +5744,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5730
5744
|
}),
|
|
5731
5745
|
onScroll: v
|
|
5732
5746
|
}, [
|
|
5733
|
-
(g(!0), h(
|
|
5747
|
+
(g(!0), h(X, null, ee(t.options, (m, b) => (g(), h("view", {
|
|
5734
5748
|
key: b,
|
|
5735
5749
|
id: `item_${m.value}`,
|
|
5736
5750
|
class: I(["v-scroll-list-item", { "v-scroll-list-item-active": m.value === a.value }]),
|
|
@@ -5773,7 +5787,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5773
5787
|
},
|
|
5774
5788
|
emits: ["update:value", "complete"],
|
|
5775
5789
|
setup(t, { emit: l }) {
|
|
5776
|
-
|
|
5790
|
+
D((f) => ({
|
|
5777
5791
|
"67e8b8ca": t.inputWidth + "rpx",
|
|
5778
5792
|
c8cea57e: t.inputHeight + "rpx",
|
|
5779
5793
|
"7330fd3e": c(n).border.color,
|
|
@@ -5808,7 +5822,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5808
5822
|
class: "input-box",
|
|
5809
5823
|
style: B({ width: `${t.inputWidth * t.length + (t.length - 1) * 20}px`, height: `${t.inputHeight}px` })
|
|
5810
5824
|
}, [
|
|
5811
|
-
(g(!0), h(
|
|
5825
|
+
(g(!0), h(X, null, ee(t.length, (b, $) => (g(), h("input", {
|
|
5812
5826
|
key: $,
|
|
5813
5827
|
type: "text",
|
|
5814
5828
|
class: I(["input-item", { "input-focus": a.value === $ }]),
|
|
@@ -5846,7 +5860,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5846
5860
|
},
|
|
5847
5861
|
emits: ["update:activeIndex", "change"],
|
|
5848
5862
|
setup(t, { emit: l }) {
|
|
5849
|
-
|
|
5863
|
+
D((r) => ({
|
|
5850
5864
|
"2580eb3e": c(n).border.color,
|
|
5851
5865
|
"5e4f3302": c(n).fontSize.mediumTitle,
|
|
5852
5866
|
f3966c32: c(n).fontSize.largeText,
|
|
@@ -5875,7 +5889,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5875
5889
|
o("update:activeIndex", p), o("change", p);
|
|
5876
5890
|
};
|
|
5877
5891
|
return (r, d) => (g(), h("view", ka, [
|
|
5878
|
-
(g(!0), h(
|
|
5892
|
+
(g(!0), h(X, null, ee(a.value, (p, v) => (g(), h("view", {
|
|
5879
5893
|
key: v,
|
|
5880
5894
|
class: I(["collapse-item", { expanded: p.expanded }])
|
|
5881
5895
|
}, [
|
|
@@ -5893,7 +5907,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5893
5907
|
y("view", za, [
|
|
5894
5908
|
y("view", Pa, [
|
|
5895
5909
|
V(r.$slots, "content", { item: p }, () => [
|
|
5896
|
-
|
|
5910
|
+
G(P(p.content), 1)
|
|
5897
5911
|
], !0)
|
|
5898
5912
|
])
|
|
5899
5913
|
])
|
|
@@ -5934,7 +5948,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5934
5948
|
}
|
|
5935
5949
|
},
|
|
5936
5950
|
setup(t) {
|
|
5937
|
-
|
|
5951
|
+
D((n) => ({
|
|
5938
5952
|
"35f6f939": c(e).VSteps.lineBackgroundColor,
|
|
5939
5953
|
27801454: c(e).border.color,
|
|
5940
5954
|
"252dfb47": c(e).fontColor.subTitle,
|
|
@@ -5948,7 +5962,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5948
5962
|
return (n, a) => (g(), h("view", {
|
|
5949
5963
|
class: I(["v-steps", [t.direction]])
|
|
5950
5964
|
}, [
|
|
5951
|
-
(g(!0), h(
|
|
5965
|
+
(g(!0), h(X, null, ee(t.steps, (i, s) => (g(), h("view", {
|
|
5952
5966
|
key: s,
|
|
5953
5967
|
class: I(["step-item", [o(s), { "last-item": s === t.steps.length - 1 }]])
|
|
5954
5968
|
}, [
|
|
@@ -5983,7 +5997,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
5983
5997
|
}
|
|
5984
5998
|
},
|
|
5985
5999
|
setup(t) {
|
|
5986
|
-
|
|
6000
|
+
D((n) => ({
|
|
5987
6001
|
"01952923": c(e).fontSize.largeTitle,
|
|
5988
6002
|
"720e497d": c(e).fontColor.mianTitle,
|
|
5989
6003
|
"7a027146": c(e).fontSize.mediumTitle,
|
|
@@ -6091,7 +6105,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6091
6105
|
},
|
|
6092
6106
|
emits: ["update:enablePreview", "update:loading", "handleLoading", "handError", "click"],
|
|
6093
6107
|
setup(t, { emit: l }) {
|
|
6094
|
-
|
|
6108
|
+
D((w) => ({
|
|
6095
6109
|
b11f59a4: e.width,
|
|
6096
6110
|
"2ccb18bf": e.height,
|
|
6097
6111
|
"23aa9577": t.fit,
|
|
@@ -6112,20 +6126,20 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6112
6126
|
if (!e.lazy || !e.src || !r.value)
|
|
6113
6127
|
return;
|
|
6114
6128
|
const w = r.value.getBoundingClientRect();
|
|
6115
|
-
w.top < (window.innerHeight || document.documentElement.clientHeight) && w.bottom > 0 &&
|
|
6116
|
-
},
|
|
6129
|
+
w.top < (window.innerHeight || document.documentElement.clientHeight) && w.bottom > 0 && F();
|
|
6130
|
+
}, F = () => {
|
|
6117
6131
|
clearTimeout(p), p = setTimeout(() => {
|
|
6118
6132
|
d.value = b.value, d.value && d.value.trim() && (i.value = !1, s.value = !1);
|
|
6119
6133
|
}, e.delay);
|
|
6120
|
-
},
|
|
6134
|
+
}, Z = () => {
|
|
6121
6135
|
i.value = !1, o("handleLoading"), v.value = 0;
|
|
6122
6136
|
}, T = () => {
|
|
6123
|
-
v.value < u.value && (v.value++, d.value = null, i.value = !0, s.value = !1,
|
|
6137
|
+
v.value < u.value && (v.value++, d.value = null, i.value = !0, s.value = !1, F()), o("handError", v.value);
|
|
6124
6138
|
}, k = () => {
|
|
6125
6139
|
i.value = !1, s.value = !0, T();
|
|
6126
|
-
},
|
|
6140
|
+
}, U = () => {
|
|
6127
6141
|
e.enablePreview && e.src && !e.disabled && (a.value = !0);
|
|
6128
|
-
},
|
|
6142
|
+
}, K = () => {
|
|
6129
6143
|
o("click");
|
|
6130
6144
|
}, ae = () => {
|
|
6131
6145
|
a.value = !1;
|
|
@@ -6143,26 +6157,26 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6143
6157
|
), R(
|
|
6144
6158
|
() => e.src,
|
|
6145
6159
|
(w) => {
|
|
6146
|
-
e.lazy ? r.value && window &&
|
|
6160
|
+
e.lazy ? r.value && window && F() : (d.value = b.value, w && (i.value = !0, s.value = !1));
|
|
6147
6161
|
}
|
|
6148
6162
|
), ie(() => {
|
|
6149
6163
|
clearTimeout(p), window && window.removeEventListener("scroll", S);
|
|
6150
6164
|
}), (w, z) => {
|
|
6151
6165
|
const j = q("v-loading"), te = q("v-overlay");
|
|
6152
|
-
return g(), h(
|
|
6166
|
+
return g(), h(X, null, [
|
|
6153
6167
|
y("view", {
|
|
6154
6168
|
class: "v-image-container",
|
|
6155
|
-
onClick:
|
|
6169
|
+
onClick: K
|
|
6156
6170
|
}, [
|
|
6157
|
-
s.value ? N("", !0) : (g(), h(
|
|
6171
|
+
s.value ? N("", !0) : (g(), h(X, { key: 0 }, [
|
|
6158
6172
|
f.value ? (g(), h("image", {
|
|
6159
6173
|
key: 0,
|
|
6160
6174
|
ref_key: "imgElement",
|
|
6161
6175
|
ref: r,
|
|
6162
6176
|
src: b.value,
|
|
6163
6177
|
class: I(["v-image", `v-image--${t.model}`, { "v-image--loading": i.value, "v-image--disabled": t.disabled }]),
|
|
6164
|
-
onClick:
|
|
6165
|
-
onLoad:
|
|
6178
|
+
onClick: U,
|
|
6179
|
+
onLoad: Z,
|
|
6166
6180
|
onError: k
|
|
6167
6181
|
}, null, 42, qa)) : (g(), h("img", {
|
|
6168
6182
|
key: 1,
|
|
@@ -6170,14 +6184,14 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6170
6184
|
ref: r,
|
|
6171
6185
|
src: b.value,
|
|
6172
6186
|
class: I(["v-image", `v-image--${t.model}`, { "v-image--loading": i.value, "v-image--disabled": t.disabled }]),
|
|
6173
|
-
onClick:
|
|
6174
|
-
onLoad:
|
|
6187
|
+
onClick: U,
|
|
6188
|
+
onLoad: Z,
|
|
6175
6189
|
onError: k
|
|
6176
6190
|
}, null, 42, Ua))
|
|
6177
6191
|
], 64)),
|
|
6178
6192
|
i.value ? V(w.$slots, "loading", { key: 1 }, () => [
|
|
6179
6193
|
y("view", Ka, [
|
|
6180
|
-
|
|
6194
|
+
L(j, {
|
|
6181
6195
|
text: "加载中……",
|
|
6182
6196
|
show: ""
|
|
6183
6197
|
})
|
|
@@ -6364,7 +6378,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6364
6378
|
], fs = { class: "toast-message" }, Nt = /* @__PURE__ */ M({
|
|
6365
6379
|
__name: "v-toast",
|
|
6366
6380
|
setup(t, { expose: l }) {
|
|
6367
|
-
|
|
6381
|
+
D((i) => ({
|
|
6368
6382
|
"5ef640e0": c(ve).opacity.toast,
|
|
6369
6383
|
"49c0fc1c": c(ve).fontColor.reversal,
|
|
6370
6384
|
"19a274ca": c(ve).backgroundColor.info,
|
|
@@ -6397,7 +6411,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6397
6411
|
return ie(() => {
|
|
6398
6412
|
a();
|
|
6399
6413
|
}), l({ show: o, clearAll: a }), (i, s) => e.value.length > 0 ? (g(), h("view", Ja, [
|
|
6400
|
-
(g(!0), h(
|
|
6414
|
+
(g(!0), h(X, null, ee(e.value, (r, d) => (g(), h("view", {
|
|
6401
6415
|
key: d,
|
|
6402
6416
|
class: "toast-content-wrapper",
|
|
6403
6417
|
style: B({ top: `${20 + d * 10}%` })
|
|
@@ -6484,7 +6498,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6484
6498
|
}, ys = ["onLongpress"], me = "v-console-logs", ws = {
|
|
6485
6499
|
__name: "v-console",
|
|
6486
6500
|
setup(t) {
|
|
6487
|
-
var
|
|
6501
|
+
var K, ae;
|
|
6488
6502
|
const l = C(!1), e = () => l.value = !l.value, o = C(!1), n = () => o.value = !o.value, a = C([]), i = C(""), s = C(0), r = [
|
|
6489
6503
|
{ label: "全部", value: 0 },
|
|
6490
6504
|
{ label: "log", value: 1 },
|
|
@@ -6494,25 +6508,25 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6494
6508
|
{ label: "debug", value: 5 }
|
|
6495
6509
|
], d = C({ x: 30, y: 100 }), p = C(!1), v = C({ x: 0, y: 0 });
|
|
6496
6510
|
se(() => {
|
|
6497
|
-
|
|
6511
|
+
F();
|
|
6498
6512
|
});
|
|
6499
6513
|
const u = (w) => ({ x: w.clientX, y: w.clientY }), f = (w) => {
|
|
6500
6514
|
p.value = !0, v.value = u(w);
|
|
6501
6515
|
}, m = (w) => {
|
|
6502
6516
|
if (!p.value)
|
|
6503
6517
|
return;
|
|
6504
|
-
const { windowWidth: z, windowHeight: j } = uni.getSystemInfoSync(), te = u(w), oe = te.x - v.value.x, H = te.y - v.value.y,
|
|
6505
|
-
d.value.x = Math.max(0, Math.min(
|
|
6518
|
+
const { windowWidth: z, windowHeight: j } = uni.getSystemInfoSync(), te = u(w), oe = te.x - v.value.x, H = te.y - v.value.y, W = d.value.x + oe * 750 / z, J = d.value.y + H * 750 / j;
|
|
6519
|
+
d.value.x = Math.max(0, Math.min(W, z * 750 / z - 120)), d.value.y = Math.max(0, Math.min(J, j * 750 / z - 120)), v.value = te;
|
|
6506
6520
|
}, b = () => p.value = !1;
|
|
6507
6521
|
typeof window < "u" ? (window.onerror = (w, z, j, te, oe) => {
|
|
6508
6522
|
console.error("[Global Error]", w, `${z}:${j}:${te}`, oe == null ? void 0 : oe.stack);
|
|
6509
6523
|
}, window.onunhandledrejection = (w) => {
|
|
6510
6524
|
console.error("[Unhandled Promise]", w.reason);
|
|
6511
|
-
}) : ((
|
|
6525
|
+
}) : ((K = wx.onError) == null || K.call(wx, (w) => console.error("[wx Error]", w)), (ae = wx.onUnhandledRejection) == null || ae.call(wx, (w) => console.error("[wx Promise]", w.reason))), ["log", "info", "warn", "error", "debug"].forEach((w) => {
|
|
6512
6526
|
const z = console[w];
|
|
6513
6527
|
console[w] = (...j) => {
|
|
6514
6528
|
z.apply(console, j);
|
|
6515
|
-
const te = (/* @__PURE__ */ new Date()).toLocaleTimeString(), oe = j.map((
|
|
6529
|
+
const te = (/* @__PURE__ */ new Date()).toLocaleTimeString(), oe = j.map((W) => typeof W == "object" ? JSON.stringify(W) : String(W)).join(" "), H = { type: w, msg: oe, time: te, blockLines: 2 };
|
|
6516
6530
|
a.value.unshift(H), S();
|
|
6517
6531
|
};
|
|
6518
6532
|
});
|
|
@@ -6528,13 +6542,13 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6528
6542
|
sessionStorage.setItem(me, JSON.stringify(a.value)), uni.setStorageSync(me, a.value);
|
|
6529
6543
|
} catch {
|
|
6530
6544
|
}
|
|
6531
|
-
},
|
|
6545
|
+
}, F = () => {
|
|
6532
6546
|
try {
|
|
6533
6547
|
let w = null;
|
|
6534
6548
|
w = JSON.parse(sessionStorage.getItem(me) || "[]"), w = uni.getStorageSync(me) || [], a.value = w;
|
|
6535
6549
|
} catch {
|
|
6536
6550
|
}
|
|
6537
|
-
},
|
|
6551
|
+
}, Z = () => {
|
|
6538
6552
|
a.value = [];
|
|
6539
6553
|
try {
|
|
6540
6554
|
sessionStorage.removeItem(me), uni.removeStorageSync(me);
|
|
@@ -6545,12 +6559,12 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6545
6559
|
z.value = w, document.body.appendChild(z), z.select(), document.execCommand("copy"), document.body.removeChild(z), uni.showToast({ title: "已复制", icon: "none" }), uni.setClipboardData({ data: w, showToast: !1 }), uni.showToast({ title: "已复制", icon: "none" });
|
|
6546
6560
|
}, k = (w) => {
|
|
6547
6561
|
console.log(w), i.value = w;
|
|
6548
|
-
},
|
|
6562
|
+
}, U = (w) => {
|
|
6549
6563
|
s.value = w;
|
|
6550
6564
|
};
|
|
6551
6565
|
return (w, z) => {
|
|
6552
|
-
const j = q("v-button"), te = q("v-text-button"), oe = q("v-input"), H = q("v-select-picker"),
|
|
6553
|
-
return g(), h(
|
|
6566
|
+
const j = q("v-button"), te = q("v-text-button"), oe = q("v-input"), H = q("v-select-picker"), W = q("v-text");
|
|
6567
|
+
return g(), h(X, null, [
|
|
6554
6568
|
l.value ? N("", !0) : (g(), h("view", {
|
|
6555
6569
|
key: 0,
|
|
6556
6570
|
class: "console-toggle",
|
|
@@ -6563,9 +6577,9 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6563
6577
|
onMouseup: b,
|
|
6564
6578
|
onClick: e
|
|
6565
6579
|
}, [
|
|
6566
|
-
|
|
6580
|
+
L(j, null, {
|
|
6567
6581
|
default: Y(() => [
|
|
6568
|
-
|
|
6582
|
+
G("控制台")
|
|
6569
6583
|
]),
|
|
6570
6584
|
_: 1
|
|
6571
6585
|
})
|
|
@@ -6576,75 +6590,75 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6576
6590
|
}, [
|
|
6577
6591
|
y("view", ms, [
|
|
6578
6592
|
y("view", ps, [
|
|
6579
|
-
|
|
6593
|
+
L(te, {
|
|
6580
6594
|
size: "medium",
|
|
6581
6595
|
onClick: e
|
|
6582
6596
|
}, {
|
|
6583
6597
|
default: Y(() => [
|
|
6584
|
-
|
|
6598
|
+
G("关闭")
|
|
6585
6599
|
]),
|
|
6586
6600
|
_: 1
|
|
6587
6601
|
}),
|
|
6588
|
-
|
|
6602
|
+
L(te, {
|
|
6589
6603
|
size: "medium",
|
|
6590
6604
|
onClick: n
|
|
6591
6605
|
}, {
|
|
6592
6606
|
default: Y(() => [
|
|
6593
|
-
|
|
6607
|
+
G(P(o.value ? "收起" : "展开"), 1)
|
|
6594
6608
|
]),
|
|
6595
6609
|
_: 1
|
|
6596
6610
|
}),
|
|
6597
|
-
|
|
6611
|
+
L(te, {
|
|
6598
6612
|
size: "medium",
|
|
6599
|
-
onClick:
|
|
6613
|
+
onClick: Z
|
|
6600
6614
|
}, {
|
|
6601
6615
|
default: Y(() => [
|
|
6602
|
-
|
|
6616
|
+
G("清空")
|
|
6603
6617
|
]),
|
|
6604
6618
|
_: 1
|
|
6605
6619
|
})
|
|
6606
6620
|
]),
|
|
6607
6621
|
y("view", gs, [
|
|
6608
|
-
|
|
6622
|
+
L(oe, {
|
|
6609
6623
|
modelValue: i.value,
|
|
6610
|
-
"onUpdate:modelValue": z[0] || (z[0] = (
|
|
6624
|
+
"onUpdate:modelValue": z[0] || (z[0] = (J) => i.value = J),
|
|
6611
6625
|
placeholder: "关键字筛选",
|
|
6612
6626
|
class: "keyword",
|
|
6613
6627
|
onConfirm: k
|
|
6614
6628
|
}, null, 8, ["modelValue"]),
|
|
6615
|
-
|
|
6629
|
+
L(H, {
|
|
6616
6630
|
options: r,
|
|
6617
6631
|
value: s.value,
|
|
6618
|
-
onConfirm:
|
|
6632
|
+
onConfirm: U,
|
|
6619
6633
|
class: "level"
|
|
6620
6634
|
}, null, 8, ["value"])
|
|
6621
6635
|
])
|
|
6622
6636
|
]),
|
|
6623
6637
|
y("scroll-view", hs, [
|
|
6624
|
-
(g(!0), h(
|
|
6625
|
-
key:
|
|
6626
|
-
class: I("log " +
|
|
6638
|
+
(g(!0), h(X, null, ee($.value, (J, Te) => (g(), h("view", {
|
|
6639
|
+
key: Te,
|
|
6640
|
+
class: I("log " + J.type)
|
|
6627
6641
|
}, [
|
|
6628
|
-
|
|
6642
|
+
J.time ? (g(), h("text", bs, P(J.time) + " " + P(J.type), 1)) : N("", !0),
|
|
6629
6643
|
y("view", {
|
|
6630
|
-
class: I(["msg",
|
|
6631
|
-
onLongpress: (
|
|
6644
|
+
class: I(["msg", J.type]),
|
|
6645
|
+
onLongpress: (Ie) => T(J.msg)
|
|
6632
6646
|
}, [
|
|
6633
|
-
|
|
6634
|
-
lines:
|
|
6647
|
+
L(W, {
|
|
6648
|
+
lines: J.blockLines
|
|
6635
6649
|
}, {
|
|
6636
6650
|
default: Y(() => [
|
|
6637
|
-
|
|
6651
|
+
G(P(J.msg), 1)
|
|
6638
6652
|
]),
|
|
6639
6653
|
_: 2
|
|
6640
6654
|
}, 1032, ["lines"])
|
|
6641
6655
|
], 42, ys),
|
|
6642
|
-
|
|
6656
|
+
L(te, {
|
|
6643
6657
|
class: "detail-info",
|
|
6644
|
-
onClick: (
|
|
6658
|
+
onClick: (Ie) => J.blockLines == 2 ? J.blockLines = 999 : J.blockLines = 2
|
|
6645
6659
|
}, {
|
|
6646
6660
|
default: Y(() => [
|
|
6647
|
-
|
|
6661
|
+
G(P(J.blockLines == 2 ? "详细" : "简略"), 1)
|
|
6648
6662
|
]),
|
|
6649
6663
|
_: 2
|
|
6650
6664
|
}, 1032, ["onClick"])
|
|
@@ -6655,9 +6669,9 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6655
6669
|
};
|
|
6656
6670
|
}
|
|
6657
6671
|
}, Rt = /* @__PURE__ */ A(ws, [["__scopeId", "data-v-d59ec57e"]]), Ss = {
|
|
6658
|
-
VButton:
|
|
6672
|
+
VButton: Oe,
|
|
6659
6673
|
VInput: Ae,
|
|
6660
|
-
VUniInput:
|
|
6674
|
+
VUniInput: Ce,
|
|
6661
6675
|
VPickerList: Le,
|
|
6662
6676
|
VSeriesPickerList: De,
|
|
6663
6677
|
VRadio: je,
|
|
@@ -6709,7 +6723,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
|
|
|
6709
6723
|
VInputDesensitize: Mt,
|
|
6710
6724
|
VConsole: Rt
|
|
6711
6725
|
}, Ht = (t, l = {}) => {
|
|
6712
|
-
t.component("VButton",
|
|
6726
|
+
t.component("VButton", Oe), t.component("VInput", Ae), t.component("VPickerList", Le), t.component("VSeriesPickerList", De), t.component("VRadio", je), t.component("VCheckbox", We), t.component("VTextarea", Fe), t.component("VTag", Ee), t.component("VBadge", qe), t.component("VText", Ue), t.component("VLoading", Ke), t.component("VRow", Ye), t.component("VList", Ge), t.component("VWindow", Xe), t.component("VDialog", Ze), t.component("VSelectPicker", Je), t.component("VSeriesSelectPicker", Qe), t.component("VTabs", et), t.component("VCarousel", ot), t.component("VTabsPage", lt), t.component("VPages", nt), t.component("VInfiniteScroll", at), t.component("VRadioGroup", st), t.component("VCheckboxGroup", it), t.component("VUploadFileButton", rt), t.component("VForm", ut), t.component("VFormItem", ct), t.component("VMenu", dt), t.component("VMenuSlide", ft), t.component("VPopup", vt), t.component("VGrid", mt), t.component("VIconGrid", pt), t.component("VWaterfall", gt), t.component("VCard", ht), t.component("VTable", bt), t.component("VOverlay", yt), t.component("VSwitch", wt), t.component("VHeaderNavigationBar", St), t.component("VMinLoading", xt), t.component("VPullUpRefresh", Ct), t.component("VNull", $t), t.component("VDateTime", _t), t.component("VDrumSelectPicker", kt), t.component("VScrollList", Vt), t.component("VInputCode", Tt), t.component("VCollapse", It), t.component("VSteps", zt), t.component("VTitle", Pt), t.component("VImage", Bt), t.component("VToast", Nt), t.component("VInputDesensitize", Mt), t.component("VConsole", Rt), console.log(`
|
|
6713
6727
|
|
|
6714
6728
|
██╗ ██╗ ██╗ ██╗███╗ ██╗ ██╗ █████╗ ██████╗ ██████╗ ██╗ ██╗ ██╗
|
|
6715
6729
|
██║ ██║ ██║ ██║████╗ ██║ ██║ ██╔══██╗██╔══██╗██╔══██╗ ██║ ██║ ██║
|
|
@@ -6727,7 +6741,7 @@ const Cs = {
|
|
|
6727
6741
|
};
|
|
6728
6742
|
export {
|
|
6729
6743
|
qe as VBadge,
|
|
6730
|
-
|
|
6744
|
+
Oe as VButton,
|
|
6731
6745
|
ht as VCard,
|
|
6732
6746
|
ot as VCarousel,
|
|
6733
6747
|
We as VCheckbox,
|