v-uni-app-ui 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v-uni-app-ui.es.js +90 -90
- package/dist/v-uni-app-ui.umd.js +1 -1
- package/package.json +1 -1
package/dist/v-uni-app-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as x, computed as V, watch as L, onUnmounted as ne, defineComponent as M, createElementBlock as h, openBlock as g, unref as c, normalizeStyle as R, normalizeClass as P, renderSlot as z, createCommentVNode as N, createElementVNode as y, withDirectives as re, vModelDynamic as It, useCssVars as j, inject as
|
|
1
|
+
import { ref as x, computed as V, watch as L, onUnmounted as ne, defineComponent as M, createElementBlock as h, openBlock as g, unref as c, normalizeStyle as R, normalizeClass as P, renderSlot as z, createCommentVNode as N, createElementVNode as y, withDirectives as re, vModelDynamic as It, useCssVars as j, inject as O, resolveComponent as D, createVNode as H, withCtx as E, Fragment as K, renderList as X, toDisplayString as B, vShow as ue, createBlock as oe, createTextVNode as U, withModifiers as me, onMounted as ae, reactive as we, isRef as Pt, nextTick as de, createSlots as Bt, provide as Se, watchEffect as ke, getCurrentInstance as _e, mergeProps as Mt } from "vue";
|
|
2
2
|
const Nt = {
|
|
3
3
|
id: {
|
|
4
4
|
type: String,
|
|
@@ -70,14 +70,14 @@ function Lt(t) {
|
|
|
70
70
|
};
|
|
71
71
|
return l.errorMessage = t || "此项为必填项", l;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function Dt(t) {
|
|
74
74
|
const l = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/, e = (o) => {
|
|
75
75
|
const n = l.test(o);
|
|
76
76
|
return !n && t && console.warn(t, { value: o }), n;
|
|
77
77
|
};
|
|
78
78
|
return e.errorMessage = t || "请输入有效的电子邮箱地址", e;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Ot(t) {
|
|
81
81
|
const l = /^1[3-9]\d{9}$/, e = (o) => {
|
|
82
82
|
const n = l.test(o);
|
|
83
83
|
return !n && t && console.warn(t, { value: o }), n;
|
|
@@ -129,8 +129,8 @@ const Q = {
|
|
|
129
129
|
pattern: fe,
|
|
130
130
|
required: Lt,
|
|
131
131
|
// 格式验证器
|
|
132
|
-
email:
|
|
133
|
-
phoneNumber:
|
|
132
|
+
email: Dt,
|
|
133
|
+
phoneNumber: Ot,
|
|
134
134
|
url: At,
|
|
135
135
|
idCard: jt,
|
|
136
136
|
number: ve,
|
|
@@ -1710,7 +1710,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
1710
1710
|
}));
|
|
1711
1711
|
const e = t, o = l, n = x(e.value), a = V(() => e.list || []), i = x(
|
|
1712
1712
|
e.selected !== null && e.selected !== void 0 ? e.selected : a.value.length > 0 && a.value[0].value !== void 0 ? a.value[0].value : ""
|
|
1713
|
-
), s =
|
|
1713
|
+
), s = O("config"), r = V(() => a.value.find((u) => u.value === i.value) || null);
|
|
1714
1714
|
L(
|
|
1715
1715
|
() => e.value,
|
|
1716
1716
|
(u) => {
|
|
@@ -1727,7 +1727,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
1727
1727
|
n.value = !1, o("confirm", r.value), o("update:value", !1);
|
|
1728
1728
|
}
|
|
1729
1729
|
return (u, f) => {
|
|
1730
|
-
const m =
|
|
1730
|
+
const m = D("v-null"), b = D("v-popup");
|
|
1731
1731
|
return g(), h("view", null, [
|
|
1732
1732
|
H(b, {
|
|
1733
1733
|
value: n.value,
|
|
@@ -1792,7 +1792,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
1792
1792
|
v609209f5: c(n).fontColor.mainText,
|
|
1793
1793
|
de7c461c: c(n).fontColor.default
|
|
1794
1794
|
}));
|
|
1795
|
-
const e = t, o = l, n =
|
|
1795
|
+
const e = t, o = l, n = O("config"), a = x(e.value), i = x(!1), s = x(e.selected || []), r = x([]), d = V(() => e.list || []), p = () => {
|
|
1796
1796
|
s.value = d.value.map((b, $) => $ === 0 ? d.value[0].value : "");
|
|
1797
1797
|
}, v = () => {
|
|
1798
1798
|
const b = [];
|
|
@@ -1850,7 +1850,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
1850
1850
|
}), a.value = !1, a.value = !1, i.value = !1, o("update:value", !1), o("confirm", b);
|
|
1851
1851
|
};
|
|
1852
1852
|
return (b, $) => {
|
|
1853
|
-
const w =
|
|
1853
|
+
const w = D("scroll-view"), W = D("v-null"), Y = D("v-popup");
|
|
1854
1854
|
return g(), oe(Y, {
|
|
1855
1855
|
value: a.value,
|
|
1856
1856
|
"onUpdate:value": $[0] || ($[0] = (T) => a.value = T),
|
|
@@ -1914,7 +1914,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
1914
1914
|
},
|
|
1915
1915
|
emits: ["update:value", "change"],
|
|
1916
1916
|
setup(t, { emit: l }) {
|
|
1917
|
-
const e = t, o =
|
|
1917
|
+
const e = t, o = O("radioGroup", null), n = V(() => o && o.disabled.value || e.disabled), a = V(() => o ? o.value.value === e.item.value : e.value === e.item.value), i = V(() => o ? o.defaultValue : ""), s = () => {
|
|
1918
1918
|
if (!n.value)
|
|
1919
1919
|
if (o)
|
|
1920
1920
|
a.value ? o.emitUpdate(i.value) : o.emitUpdate(e.item.value);
|
|
@@ -1962,7 +1962,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
1962
1962
|
},
|
|
1963
1963
|
emits: ["update:value", "change"],
|
|
1964
1964
|
setup(t, { emit: l }) {
|
|
1965
|
-
const e = t, o = l, n =
|
|
1965
|
+
const e = t, o = l, n = O("checkboxGroup", null), a = V(() => n ? n.checkedValues.value.some((p) => r(p, e.item.value)) : e.value.some((p) => r(p, e.item.value))), i = V(() => n && n.disabled.value || e.disabled), s = x(e.indeterminate), r = (p, v) => {
|
|
1966
1966
|
if (p === v) return !0;
|
|
1967
1967
|
if (typeof p == "object" && p !== null && typeof v == "object" && v !== null) {
|
|
1968
1968
|
if (Array.isArray(p))
|
|
@@ -2056,7 +2056,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2056
2056
|
v00bf4c4b: c(n).backgroundColor.disabled,
|
|
2057
2057
|
v603030dd: c(n).fontColor.text
|
|
2058
2058
|
}));
|
|
2059
|
-
const e = t, o = l, n =
|
|
2059
|
+
const e = t, o = l, n = O("config"), a = x(e.value), i = x(!1), s = x(e.value.length);
|
|
2060
2060
|
L(
|
|
2061
2061
|
() => e.value,
|
|
2062
2062
|
(u) => {
|
|
@@ -2159,7 +2159,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2159
2159
|
v2d7d90f6: c(n).border.info,
|
|
2160
2160
|
v0e74b793: c(n).fontColor.info
|
|
2161
2161
|
}));
|
|
2162
|
-
const e = t, o = l, n =
|
|
2162
|
+
const e = t, o = l, n = O("config"), a = x(!0), i = V(() => e.backgroundColor), s = V(() => e.fontColor), r = (p) => {
|
|
2163
2163
|
e.disabled || o("click", p);
|
|
2164
2164
|
}, d = () => {
|
|
2165
2165
|
!e.disabled && e.closable && (a.value = !1, o("close", e.content, a.value));
|
|
@@ -2228,7 +2228,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2228
2228
|
v02fc0c1f: c(e).fontSize.smallText,
|
|
2229
2229
|
de240f5a: c(e).fontSize.largeText
|
|
2230
2230
|
}));
|
|
2231
|
-
const l = t, e =
|
|
2231
|
+
const l = t, e = O("config"), o = V(() => l.dot ? "" : l.max && l.value > l.max ? `${l.max}+` : l.value), n = V(() => l.dot ? !1 : typeof l.value == "string" ? l.value.length > 0 : l.value > 0), a = V(() => ({
|
|
2232
2232
|
"--badge-color": l.color
|
|
2233
2233
|
}));
|
|
2234
2234
|
return (i, s) => (g(), h("view", {
|
|
@@ -2297,7 +2297,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2297
2297
|
ba5d1306: c(e).fontSize.smallText,
|
|
2298
2298
|
v30c362b1: c(e).fontSize.largeText
|
|
2299
2299
|
}));
|
|
2300
|
-
const l = t, e =
|
|
2300
|
+
const l = t, e = O("config"), o = V(() => {
|
|
2301
2301
|
let a = l.text;
|
|
2302
2302
|
if (l.mode === "timestamp" && l.format) {
|
|
2303
2303
|
let i;
|
|
@@ -2319,7 +2319,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2319
2319
|
return l.color && (a.color = l.color), l.lineHeight && (a.lineHeight = typeof l.lineHeight == "number" ? `${l.lineHeight}` : l.lineHeight), l.lines && (a.webkitLineClamp = typeof l.lines == "number" ? `${l.lines}` : l.lines, a.overflow = "hidden", a.textOverflow = "ellipsis", a.display = "-webkit-box", a.webkitBoxOrient = "vertical"), a;
|
|
2320
2320
|
});
|
|
2321
2321
|
return (a, i) => {
|
|
2322
|
-
const s =
|
|
2322
|
+
const s = D("rich-text");
|
|
2323
2323
|
return g(), h("view", {
|
|
2324
2324
|
class: P(["v-text", `v-text--${t.type}`, `v-text--${t.size}`]),
|
|
2325
2325
|
style: R(n.value)
|
|
@@ -2331,7 +2331,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2331
2331
|
], 6);
|
|
2332
2332
|
};
|
|
2333
2333
|
}
|
|
2334
|
-
}),
|
|
2334
|
+
}), De = /* @__PURE__ */ A(To, [["__scopeId", "data-v-9d215fd8"]]), zo = {
|
|
2335
2335
|
key: 0,
|
|
2336
2336
|
class: "v-loading-text"
|
|
2337
2337
|
}, Io = /* @__PURE__ */ M({
|
|
@@ -2373,7 +2373,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2373
2373
|
j((r) => ({
|
|
2374
2374
|
v1ebdc52f: c(n).fontSize.mediumText
|
|
2375
2375
|
}));
|
|
2376
|
-
const e = t, o = l, n =
|
|
2376
|
+
const e = t, o = l, n = O("config"), a = x(e.show);
|
|
2377
2377
|
let i = null;
|
|
2378
2378
|
L(
|
|
2379
2379
|
() => e.show,
|
|
@@ -2412,7 +2412,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2412
2412
|
t.text ? (g(), h("text", zo, B(t.text), 1)) : N("", !0)
|
|
2413
2413
|
], 6)) : N("", !0);
|
|
2414
2414
|
}
|
|
2415
|
-
}),
|
|
2415
|
+
}), Oe = /* @__PURE__ */ A(Io, [["__scopeId", "data-v-08bfaec8"]]), Po = /* @__PURE__ */ M({
|
|
2416
2416
|
__name: "v-row",
|
|
2417
2417
|
props: {
|
|
2418
2418
|
gutter: {
|
|
@@ -2439,7 +2439,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2439
2439
|
j((n) => ({
|
|
2440
2440
|
ed07fc82: c(e).border.color
|
|
2441
2441
|
}));
|
|
2442
|
-
const l = t, e =
|
|
2442
|
+
const l = t, e = O("config"), o = V(() => {
|
|
2443
2443
|
const n = {};
|
|
2444
2444
|
return l.gutter && (n.marginLeft = `-${l.gutter / 2}rpx`, n.marginRight = `-${l.gutter / 2}rpx`), n;
|
|
2445
2445
|
});
|
|
@@ -2464,7 +2464,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2464
2464
|
v5747f64a: c(l).backgroundColor.reversal,
|
|
2465
2465
|
v0951c496: c(l).border.color
|
|
2466
2466
|
}));
|
|
2467
|
-
const l =
|
|
2467
|
+
const l = O("config");
|
|
2468
2468
|
return (e, o) => (g(), h("view", {
|
|
2469
2469
|
class: P(["v-list", `v-list--border-${t.borderMode}`])
|
|
2470
2470
|
}, [
|
|
@@ -2503,7 +2503,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2503
2503
|
v06f440ec: c(n).fontSize.mediumTitle,
|
|
2504
2504
|
v57cb0c3b: c(n).fontSize.smallText
|
|
2505
2505
|
}));
|
|
2506
|
-
const e = t, o = l, n =
|
|
2506
|
+
const e = t, o = l, n = O("config"), a = V(() => ({
|
|
2507
2507
|
width: e.fullscreen ? "100%" : void 0,
|
|
2508
2508
|
height: e.fullscreen ? "100%" : void 0,
|
|
2509
2509
|
"--window-title-color": "#333",
|
|
@@ -2564,10 +2564,10 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2564
2564
|
[ue, s.value]
|
|
2565
2565
|
]);
|
|
2566
2566
|
}
|
|
2567
|
-
}), We = /* @__PURE__ */ A(Lo, [["__scopeId", "data-v-475cedbc"]]),
|
|
2567
|
+
}), We = /* @__PURE__ */ A(Lo, [["__scopeId", "data-v-475cedbc"]]), Do = {
|
|
2568
2568
|
key: 0,
|
|
2569
2569
|
class: "v-dialog-overlay"
|
|
2570
|
-
},
|
|
2570
|
+
}, Oo = { class: "v-dialog-header" }, Ao = { class: "v-dialog-title" }, jo = { class: "v-dialog-body" }, Wo = { class: "v-dialog-footer" }, Eo = { class: "v-dialog-buttons" }, Fo = /* @__PURE__ */ M({
|
|
2571
2571
|
__name: "v-dialog",
|
|
2572
2572
|
props: {
|
|
2573
2573
|
value: {
|
|
@@ -2607,7 +2607,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2607
2607
|
v558e0e51: c(n).fontSize.mediumText,
|
|
2608
2608
|
v727850d4: c(n).fontColor.text
|
|
2609
2609
|
}));
|
|
2610
|
-
const e = t, o = l, n =
|
|
2610
|
+
const e = t, o = l, n = O("config"), a = x(e.value);
|
|
2611
2611
|
L(
|
|
2612
2612
|
() => e.value,
|
|
2613
2613
|
(p) => {
|
|
@@ -2623,13 +2623,13 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2623
2623
|
a.value = !1, o("update:value", !1), o("submit");
|
|
2624
2624
|
}, d = e.isCover ? `rgba(0,0,0,${n.opacity.mask})` : "transparent";
|
|
2625
2625
|
return (p, v) => {
|
|
2626
|
-
const u =
|
|
2627
|
-
return a.value ? (g(), h("view",
|
|
2626
|
+
const u = D("v-button");
|
|
2627
|
+
return a.value ? (g(), h("view", Do, [
|
|
2628
2628
|
y("view", {
|
|
2629
2629
|
class: P(["v-dialog", `v-dialog--${t.size}`]),
|
|
2630
2630
|
style: R(i.value)
|
|
2631
2631
|
}, [
|
|
2632
|
-
y("view",
|
|
2632
|
+
y("view", Oo, [
|
|
2633
2633
|
z(p.$slots, "header", {}, () => [
|
|
2634
2634
|
y("text", Ao, B(t.title), 1),
|
|
2635
2635
|
y("button", {
|
|
@@ -2723,7 +2723,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2723
2723
|
label: null,
|
|
2724
2724
|
value: null
|
|
2725
2725
|
});
|
|
2726
|
-
const a = l, i =
|
|
2726
|
+
const a = l, i = O("config"), s = V(() => e.backgroundColor ? e.backgroundColor : i && i.backgroundColor && i.backgroundColor.reversal ? i.backgroundColor.reversal : "#ffffff");
|
|
2727
2727
|
ae(async () => {
|
|
2728
2728
|
await e.initializeCustomizeFunction(e.value), r(e.value);
|
|
2729
2729
|
}), L(
|
|
@@ -2751,7 +2751,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2751
2751
|
a("select", u);
|
|
2752
2752
|
}
|
|
2753
2753
|
return (u, f) => {
|
|
2754
|
-
const m =
|
|
2754
|
+
const m = D("v-picker-list");
|
|
2755
2755
|
return g(), h("view", qo, [
|
|
2756
2756
|
y("view", {
|
|
2757
2757
|
class: P(["select-input", `select-input--border-${t.borderModel}`, { "select-input--disabled": t.disabled }]),
|
|
@@ -2834,7 +2834,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2834
2834
|
label: null,
|
|
2835
2835
|
value: null
|
|
2836
2836
|
});
|
|
2837
|
-
const n = l, a =
|
|
2837
|
+
const n = l, a = O("config");
|
|
2838
2838
|
ae(async () => {
|
|
2839
2839
|
await e.initializeCustomizeFunction(e.value), i(e.value);
|
|
2840
2840
|
}), L(
|
|
@@ -2863,7 +2863,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2863
2863
|
n("select", v);
|
|
2864
2864
|
}
|
|
2865
2865
|
return (v, u) => {
|
|
2866
|
-
const f =
|
|
2866
|
+
const f = D("v-series-picker-list");
|
|
2867
2867
|
return g(), h("view", Yo, [
|
|
2868
2868
|
y("view", {
|
|
2869
2869
|
class: P(["select-input", `select-input--border-${t.borderModel}`, { "select-input--disabled": t.disabled }]),
|
|
@@ -2985,7 +2985,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
2985
2985
|
}), ae(() => {
|
|
2986
2986
|
f(), uni.onWindowResize(f);
|
|
2987
2987
|
}), L(() => e.tabs, p), (m, b) => {
|
|
2988
|
-
const $ =
|
|
2988
|
+
const $ = D("scroll-view");
|
|
2989
2989
|
return g(), h("view", Jo, [
|
|
2990
2990
|
H($, {
|
|
2991
2991
|
"scroll-x": "",
|
|
@@ -3039,7 +3039,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3039
3039
|
v0609f1cd: c(n).fontSize.largeText,
|
|
3040
3040
|
v3e934923: c(n).fontColor.mainText
|
|
3041
3041
|
}));
|
|
3042
|
-
const e = t, o = l, n =
|
|
3042
|
+
const e = t, o = l, n = O("config"), a = x(e.current), i = x(0);
|
|
3043
3043
|
L(
|
|
3044
3044
|
() => e.current,
|
|
3045
3045
|
(v) => a.value = v,
|
|
@@ -3059,7 +3059,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3059
3059
|
a.value = a.value >= v - 1 ? 0 : a.value + 1, o("change", a.value);
|
|
3060
3060
|
};
|
|
3061
3061
|
return (v, u) => {
|
|
3062
|
-
const f =
|
|
3062
|
+
const f = D("swiper-item"), m = D("swiper");
|
|
3063
3063
|
return g(), h("view", ol, [
|
|
3064
3064
|
re(y("view", ll, [
|
|
3065
3065
|
y("view", {
|
|
@@ -3167,7 +3167,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3167
3167
|
v3c70518a: c(n).fontSize.mediumText,
|
|
3168
3168
|
v050fe245: c(n).fontColor.mainText
|
|
3169
3169
|
}));
|
|
3170
|
-
const e = t, o = l, n =
|
|
3170
|
+
const e = t, o = l, n = O("config"), a = x(e.value);
|
|
3171
3171
|
L(
|
|
3172
3172
|
() => e.value,
|
|
3173
3173
|
(r) => {
|
|
@@ -3181,7 +3181,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3181
3181
|
a.value = r, o("update:value", r), o("change", r);
|
|
3182
3182
|
};
|
|
3183
3183
|
return (r, d) => {
|
|
3184
|
-
const p =
|
|
3184
|
+
const p = D("v-tabs"), v = D("v-loading"), u = D("v-carousel");
|
|
3185
3185
|
return g(), h("view", al, [
|
|
3186
3186
|
H(p, {
|
|
3187
3187
|
value: a.value,
|
|
@@ -3258,7 +3258,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3258
3258
|
v3d825f46: c(n).backgroundColor.default,
|
|
3259
3259
|
v18e66853: c(n).fontColor.reversal
|
|
3260
3260
|
}));
|
|
3261
|
-
const e = t, o = l, n =
|
|
3261
|
+
const e = t, o = l, n = O("config"), a = V(() => Math.ceil(e.total / e.pageSize)), i = V(() => {
|
|
3262
3262
|
const r = [], d = a.value, p = e.pageRange * 2 + 1;
|
|
3263
3263
|
if (d <= p)
|
|
3264
3264
|
for (let v = 1; v <= d; v++)
|
|
@@ -3275,7 +3275,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3275
3275
|
r < 1 || r > a.value || (o("update:currentPage", r), o("change", r));
|
|
3276
3276
|
};
|
|
3277
3277
|
return (r, d) => {
|
|
3278
|
-
const p =
|
|
3278
|
+
const p = D("v-button");
|
|
3279
3279
|
return g(), h("view", rl, [
|
|
3280
3280
|
y("view", ul, [
|
|
3281
3281
|
H(p, {
|
|
@@ -3360,7 +3360,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3360
3360
|
v8d2ba8ea: c(e).fontColor.mainText,
|
|
3361
3361
|
v8e929296: c(e).fontSize.mediumText
|
|
3362
3362
|
}));
|
|
3363
|
-
const l = t, e =
|
|
3363
|
+
const l = t, e = O("config"), o = x(!1), n = x(0), a = x(!0), i = x(0), r = ((f, m) => {
|
|
3364
3364
|
let b = 0;
|
|
3365
3365
|
return function(...$) {
|
|
3366
3366
|
const w = Date.now();
|
|
@@ -3395,7 +3395,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3395
3395
|
u();
|
|
3396
3396
|
}), ne(() => {
|
|
3397
3397
|
}), (f, m) => {
|
|
3398
|
-
const b =
|
|
3398
|
+
const b = D("scroll-view");
|
|
3399
3399
|
return g(), oe(b, {
|
|
3400
3400
|
class: "infinite-scroll-container",
|
|
3401
3401
|
"scroll-y": !0,
|
|
@@ -3559,7 +3559,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3559
3559
|
v1302a9c5: c(n).backgroundColor.default,
|
|
3560
3560
|
v8ce7006a: c(n).fontColor.info
|
|
3561
3561
|
}));
|
|
3562
|
-
const e = t, o = l, n =
|
|
3562
|
+
const e = t, o = l, n = O("config"), a = x(null), i = x(0), s = x(!1), r = x(!1), d = V(() => {
|
|
3563
3563
|
if (a.value) {
|
|
3564
3564
|
const m = a.value.name.split(".").pop().toLowerCase();
|
|
3565
3565
|
return ["jpg", "jpeg", "png", "gif", "bmp", "webp"].includes(m) ? "图片" : m === "pdf" ? "PDF" : "文件";
|
|
@@ -3736,7 +3736,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3736
3736
|
v4d4017c0: o.labelSpacing + "rpx",
|
|
3737
3737
|
v4ec48430: c(i).fontSize.mediumText
|
|
3738
3738
|
}));
|
|
3739
|
-
const o = t, n = e, a = x(!1), i =
|
|
3739
|
+
const o = t, n = e, a = x(!1), i = O("config"), s = /* @__PURE__ */ new Map(), r = x(!1), d = we({ ...o.model });
|
|
3740
3740
|
Se("form", {
|
|
3741
3741
|
rules: o.rules || {},
|
|
3742
3742
|
formData: d,
|
|
@@ -3767,7 +3767,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3767
3767
|
}), ke(() => {
|
|
3768
3768
|
Object.assign(d, o.model);
|
|
3769
3769
|
}), (f, m) => {
|
|
3770
|
-
const b =
|
|
3770
|
+
const b = D("v-button");
|
|
3771
3771
|
return g(), h("view", {
|
|
3772
3772
|
class: P(["v-form", [t.layout]])
|
|
3773
3773
|
}, [
|
|
@@ -3846,7 +3846,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3846
3846
|
j((v) => ({
|
|
3847
3847
|
v312a8c31: c(i).VFormItem.borderColor
|
|
3848
3848
|
}));
|
|
3849
|
-
const { proxy: l } = _e(), e = t, o = x(null), n = x(""), a = x(!1), i =
|
|
3849
|
+
const { proxy: l } = _e(), e = t, o = x(null), n = x(""), a = x(!1), i = O("config"), s = O("form", {
|
|
3850
3850
|
rules: {},
|
|
3851
3851
|
formData: {},
|
|
3852
3852
|
register: (v, u) => {
|
|
@@ -3918,7 +3918,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3918
3918
|
}), ne(() => {
|
|
3919
3919
|
s && s.unregister && s.unregister(e.name);
|
|
3920
3920
|
}), (v, u) => {
|
|
3921
|
-
const f =
|
|
3921
|
+
const f = D("v-text"), m = D("v-toast");
|
|
3922
3922
|
return g(), h("view", {
|
|
3923
3923
|
class: P(["form-item", `form-item--border--${t.borderModel}`, { "form-item--hint--model": !t.hintModel }])
|
|
3924
3924
|
}, [
|
|
@@ -3999,7 +3999,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
3999
3999
|
v2ecc11c6: c(n).fontColor.mainText,
|
|
4000
4000
|
v074ca22d: c(n).VMenu.reversal
|
|
4001
4001
|
}));
|
|
4002
|
-
const e = t, o = l, n =
|
|
4002
|
+
const e = t, o = l, n = O("config"), a = x(e.value || e.menuItems[0]?.id || ""), i = x(), s = x(0), r = x(0), d = x(!1), p = V(() => e.menuItems.findIndex((C) => C.id === a.value)), v = () => {
|
|
4003
4003
|
const C = e.menuItems.length, I = (p.value + 1 + C) % C;
|
|
4004
4004
|
f(e.menuItems[I].id, e.menuItems[I]);
|
|
4005
4005
|
}, u = () => {
|
|
@@ -4060,7 +4060,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4060
4060
|
])
|
|
4061
4061
|
], 34));
|
|
4062
4062
|
}
|
|
4063
|
-
}), ot = /* @__PURE__ */ A(Rl, [["__scopeId", "data-v-070d087d"]]), Ll = ["onClick"],
|
|
4063
|
+
}), ot = /* @__PURE__ */ A(Rl, [["__scopeId", "data-v-070d087d"]]), Ll = ["onClick"], Dl = { class: "menu-item__text" }, Ol = { class: "menu-content" }, Al = { class: "content-item" }, jl = { class: "content-default-text" }, Wl = {
|
|
4064
4064
|
__name: "v-menu-slide",
|
|
4065
4065
|
props: {
|
|
4066
4066
|
// 菜单项数据(合并格式)
|
|
@@ -4136,7 +4136,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4136
4136
|
), ae(() => {
|
|
4137
4137
|
e.items.length === 0 && e.titleItems.length === 0 && console.warn("v-menu-slide: 请提供菜单数据(items 或 titleItems/contentItems)"), e.items.length > 0 && (e.titleItems.length > 0 || e.contentItems.length > 0) && console.warn("v-menu-slide: 检测到同时提供了 items 和 titleItems/contentItems,将优先使用 titleItems/contentItems"), s.value && a.value && i.value && (e.titleItems.length > 0 && !e.titleItems[0].hasOwnProperty(a.value) && console.warn(`v-menu-slide: 标题数据中未找到键 "${a.value}",将按索引匹配`), e.contentItems.length > 0 && !e.contentItems[0].hasOwnProperty(i.value) && console.warn(`v-menu-slide: 内容数据中未找到键 "${i.value}",将按索引匹配`));
|
|
4138
4138
|
}), (u, f) => {
|
|
4139
|
-
const m =
|
|
4139
|
+
const m = D("swiper-item"), b = D("swiper");
|
|
4140
4140
|
return g(), h("view", {
|
|
4141
4141
|
class: P(["v-menu-slide", [`v-menu-slide--${t.direction}`]])
|
|
4142
4142
|
}, [
|
|
@@ -4157,12 +4157,12 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4157
4157
|
y("view", {
|
|
4158
4158
|
class: P(["menu-item__content", [`menu-item__content--${t.direction}`]])
|
|
4159
4159
|
}, [
|
|
4160
|
-
y("text",
|
|
4160
|
+
y("text", Dl, B($.title), 1)
|
|
4161
4161
|
], 2)
|
|
4162
4162
|
], !0)
|
|
4163
4163
|
], 10, Ll))), 128))
|
|
4164
4164
|
], 2),
|
|
4165
|
-
y("view",
|
|
4165
|
+
y("view", Ol, [
|
|
4166
4166
|
H(b, {
|
|
4167
4167
|
current: n.value,
|
|
4168
4168
|
vertical: t.direction === "y",
|
|
@@ -4222,7 +4222,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4222
4222
|
v74a0ec04: c(n).fontSize.mediumText,
|
|
4223
4223
|
v09cc905c: c(n).fontColor.mainText
|
|
4224
4224
|
}));
|
|
4225
|
-
const e = t, o = l, n =
|
|
4225
|
+
const e = t, o = l, n = O("config"), a = x(e.value);
|
|
4226
4226
|
L(
|
|
4227
4227
|
() => e.value,
|
|
4228
4228
|
(r) => {
|
|
@@ -4236,7 +4236,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4236
4236
|
a.value = !1, o("update:value", !1), o("confirm", !1);
|
|
4237
4237
|
}
|
|
4238
4238
|
return (r, d) => {
|
|
4239
|
-
const p =
|
|
4239
|
+
const p = D("v-overlay"), v = D("scroll-view"), u = D("v-button");
|
|
4240
4240
|
return a.value ? (g(), h("view", {
|
|
4241
4241
|
key: 0,
|
|
4242
4242
|
class: P(["popup-list-container", { active: e.value }])
|
|
@@ -4323,7 +4323,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4323
4323
|
v9fd661d8: c(n).backgroundColor.reversal,
|
|
4324
4324
|
v09a191f6: c(n).VGrid.backgroundColor
|
|
4325
4325
|
}));
|
|
4326
|
-
const e = t, o = l, n =
|
|
4326
|
+
const e = t, o = l, n = O("config"), a = x(3), i = () => {
|
|
4327
4327
|
const u = uni.getSystemInfoSync().screenWidth;
|
|
4328
4328
|
typeof e.cols == "object" ? a.value = u >= 1200 ? e.cols.xl || 4 : u >= 992 ? e.cols.lg || 3 : u >= 768 ? e.cols.md || 2 : u >= 576 ? e.cols.sm || 2 : e.cols.xs || 1 : a.value = e.cols;
|
|
4329
4329
|
};
|
|
@@ -4443,7 +4443,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4443
4443
|
v302869ea: e.iconSize,
|
|
4444
4444
|
v4262f5f2: c(n).fontSize.mediumText
|
|
4445
4445
|
}));
|
|
4446
|
-
const e = t, o = l, n =
|
|
4446
|
+
const e = t, o = l, n = O("config"), a = x(0), i = V(() => {
|
|
4447
4447
|
const d = e.icons.length;
|
|
4448
4448
|
return Math.ceil(d / e.rows);
|
|
4449
4449
|
}), s = V(() => {
|
|
@@ -4471,7 +4471,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4471
4471
|
a.value = d, o("select", d, e.icons[d]);
|
|
4472
4472
|
};
|
|
4473
4473
|
return (d, p) => {
|
|
4474
|
-
const v =
|
|
4474
|
+
const v = D("v-image"), u = D("scroll-view");
|
|
4475
4475
|
return g(), h("view", en, [
|
|
4476
4476
|
H(u, {
|
|
4477
4477
|
class: "scroll-container",
|
|
@@ -4617,7 +4617,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4617
4617
|
v7e649270: c(e).fontColor.mainText,
|
|
4618
4618
|
v44bad83a: c(e).fontColor.subTitle
|
|
4619
4619
|
}));
|
|
4620
|
-
const l = t, e =
|
|
4620
|
+
const l = t, e = O("config");
|
|
4621
4621
|
return V(() => ({
|
|
4622
4622
|
width: l.width,
|
|
4623
4623
|
padding: l.padding,
|
|
@@ -4673,7 +4673,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4673
4673
|
v2c5f1226: c(e).fontColor.text,
|
|
4674
4674
|
v3c18baa8: c(e).fontColor.default
|
|
4675
4675
|
}));
|
|
4676
|
-
const l = t, e =
|
|
4676
|
+
const l = t, e = O("config"), o = x({
|
|
4677
4677
|
prop: null,
|
|
4678
4678
|
order: null
|
|
4679
4679
|
}), n = V(() => !l.sortable || !l.data.length || !o.value.prop ? l.data : [...l.data].sort((i, s) => {
|
|
@@ -4770,7 +4770,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4770
4770
|
v58b4c3c6: c(n).opacity.mask,
|
|
4771
4771
|
a044392a: e.zIndex
|
|
4772
4772
|
}));
|
|
4773
|
-
const e = t, o = l, n =
|
|
4773
|
+
const e = t, o = l, n = O("config"), a = x(e.value), i = x(a.value ? "flex" : "none"), s = `rgba(0, 0, 0, ${e.opacity})`;
|
|
4774
4774
|
L(() => e.value, (d) => {
|
|
4775
4775
|
a.value = d, i.value = d ? "flex" : "none";
|
|
4776
4776
|
}), L(() => a.value, (d) => {
|
|
@@ -4829,7 +4829,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4829
4829
|
v7659fe08: c(n).VSwitch.backgroundColor,
|
|
4830
4830
|
v429af130: c(n).backgroundColor.reversal
|
|
4831
4831
|
}));
|
|
4832
|
-
const e = t, o = l, n =
|
|
4832
|
+
const e = t, o = l, n = O("config"), a = {
|
|
4833
4833
|
small: 40,
|
|
4834
4834
|
medium: 50,
|
|
4835
4835
|
large: 60
|
|
@@ -4844,7 +4844,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4844
4844
|
e.disabled || o("update:value", !e.value);
|
|
4845
4845
|
};
|
|
4846
4846
|
return (v, u) => {
|
|
4847
|
-
const f =
|
|
4847
|
+
const f = D("v-min-loading");
|
|
4848
4848
|
return g(), h("view", {
|
|
4849
4849
|
class: P(["v-switch", { "is-disabled": t.disabled }]),
|
|
4850
4850
|
onClick: p,
|
|
@@ -4896,7 +4896,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4896
4896
|
f0536174: c(n).fontColor.mianTitle,
|
|
4897
4897
|
v66377ab4: c(n).fontSize.mediumTitle
|
|
4898
4898
|
}));
|
|
4899
|
-
const e = t, o = l, n =
|
|
4899
|
+
const e = t, o = l, n = O("config"), a = () => {
|
|
4900
4900
|
e.showBack && o("back");
|
|
4901
4901
|
};
|
|
4902
4902
|
return (i, s) => (g(), h("view", {
|
|
@@ -4956,7 +4956,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4956
4956
|
v7562980c: c(e).border.succeed,
|
|
4957
4957
|
v6c55c9da: c(o)
|
|
4958
4958
|
}));
|
|
4959
|
-
const l = t, e =
|
|
4959
|
+
const l = t, e = O("config"), o = l.customizeColor === null ? "1px solid transparent" : `1px solid ${l.customizeColor}`;
|
|
4960
4960
|
return (n, a) => re((g(), h("view", {
|
|
4961
4961
|
class: P(["spinner", `spinner--type--${l.type}`])
|
|
4962
4962
|
}, null, 2)), [
|
|
@@ -4984,7 +4984,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
4984
4984
|
v0addf3d2: c(n).fontColor.mainText,
|
|
4985
4985
|
v41a208d0: c(n).border.color
|
|
4986
4986
|
}));
|
|
4987
|
-
const e = t, o = l, n =
|
|
4987
|
+
const e = t, o = l, n = O("config"), a = x("100%"), i = x(0), s = x(!1), r = x(!1);
|
|
4988
4988
|
let d = 0, p = 0, v = 0;
|
|
4989
4989
|
const u = (w) => {
|
|
4990
4990
|
d = w.touches[0].pageY;
|
|
@@ -5008,7 +5008,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5008
5008
|
const w = document.querySelector(".v-pull-up-refresh");
|
|
5009
5009
|
w && (w.removeEventListener("touchstart", u), w.removeEventListener("touchmove", f), w.removeEventListener("touchend", m));
|
|
5010
5010
|
}), (w, W) => {
|
|
5011
|
-
const Y =
|
|
5011
|
+
const Y = D("v-min-loading");
|
|
5012
5012
|
return g(), h("view", {
|
|
5013
5013
|
class: "v-pull-up-refresh",
|
|
5014
5014
|
style: R({ height: a.value })
|
|
@@ -5073,7 +5073,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5073
5073
|
v2f554639: o.value.height,
|
|
5074
5074
|
d0832cde: l.iconColor
|
|
5075
5075
|
}));
|
|
5076
|
-
const l = t, e =
|
|
5076
|
+
const l = t, e = O("config"), o = V(() => ({
|
|
5077
5077
|
width: `${l.iconSize}rpx`,
|
|
5078
5078
|
height: `${l.iconSize}rpx`
|
|
5079
5079
|
}));
|
|
@@ -5144,7 +5144,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5144
5144
|
v9f29cf52: c(a).VDateTime.backgroundColor,
|
|
5145
5145
|
e7b0ed3c: c(a).border.color
|
|
5146
5146
|
}));
|
|
5147
|
-
const e = t, o = l, n = x(e.show), a =
|
|
5147
|
+
const e = t, o = l, n = x(e.show), a = O("config");
|
|
5148
5148
|
function i(T, _) {
|
|
5149
5149
|
const q = [];
|
|
5150
5150
|
for (let k = T; k >= _; k--)
|
|
@@ -5231,7 +5231,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5231
5231
|
n.value = !1, o("update:show", !1), o("confirm", e.value);
|
|
5232
5232
|
};
|
|
5233
5233
|
return (T, _) => {
|
|
5234
|
-
const q =
|
|
5234
|
+
const q = D("v-scroll-list"), k = D("v-text"), C = D("v-popup");
|
|
5235
5235
|
return g(), oe(C, {
|
|
5236
5236
|
value: n.value,
|
|
5237
5237
|
"onUpdate:value": _[6] || (_[6] = (I) => n.value = I),
|
|
@@ -5317,7 +5317,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5317
5317
|
}, 8, ["value", "title", "scrollHeight"]);
|
|
5318
5318
|
};
|
|
5319
5319
|
}
|
|
5320
|
-
}), gt = /* @__PURE__ */ A(Rn, [["__scopeId", "data-v-5398a416"]]), Ln = { class: "drum-select-container" },
|
|
5320
|
+
}), gt = /* @__PURE__ */ A(Rn, [["__scopeId", "data-v-5398a416"]]), Ln = { class: "drum-select-container" }, Dn = { class: "drum-select-content" }, On = /* @__PURE__ */ M({
|
|
5321
5321
|
__name: "v-drum-select-picker",
|
|
5322
5322
|
props: {
|
|
5323
5323
|
title: {
|
|
@@ -5349,7 +5349,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5349
5349
|
emits: ["update:value", "close"],
|
|
5350
5350
|
setup(t, { emit: l }) {
|
|
5351
5351
|
const e = t, o = l, n = x(e.show), a = x(e.value);
|
|
5352
|
-
|
|
5352
|
+
O("config"), L(
|
|
5353
5353
|
() => e.value,
|
|
5354
5354
|
(r) => {
|
|
5355
5355
|
a.value = r;
|
|
@@ -5362,7 +5362,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5362
5362
|
o("update:value", r);
|
|
5363
5363
|
}
|
|
5364
5364
|
return (r, d) => {
|
|
5365
|
-
const p =
|
|
5365
|
+
const p = D("v-scroll-list"), v = D("v-popup");
|
|
5366
5366
|
return g(), oe(v, {
|
|
5367
5367
|
value: n.value,
|
|
5368
5368
|
"onUpdate:value": d[1] || (d[1] = (u) => n.value = u),
|
|
@@ -5373,7 +5373,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5373
5373
|
}, {
|
|
5374
5374
|
default: E(() => [
|
|
5375
5375
|
y("view", Ln, [
|
|
5376
|
-
y("view",
|
|
5376
|
+
y("view", Dn, [
|
|
5377
5377
|
H(p, {
|
|
5378
5378
|
options: t.options,
|
|
5379
5379
|
modelValue: a.value,
|
|
@@ -5389,7 +5389,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5389
5389
|
}, 8, ["value", "title"]);
|
|
5390
5390
|
};
|
|
5391
5391
|
}
|
|
5392
|
-
}), ht = /* @__PURE__ */ A(
|
|
5392
|
+
}), ht = /* @__PURE__ */ A(On, [["__scopeId", "data-v-9b6d3415"]]), An = { class: "v-scroll-list-container" }, jn = ["id"], Wn = /* @__PURE__ */ M({
|
|
5393
5393
|
__name: "v-scroll-list",
|
|
5394
5394
|
props: {
|
|
5395
5395
|
options: {
|
|
@@ -5417,7 +5417,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5417
5417
|
v7c2bdf04: c(n).fontColor.default,
|
|
5418
5418
|
v3a9d38a4: c(n).border.color
|
|
5419
5419
|
}));
|
|
5420
|
-
const e = t, o = l, n =
|
|
5420
|
+
const e = t, o = l, n = O("config"), a = x(e.value), i = x("");
|
|
5421
5421
|
x([]);
|
|
5422
5422
|
let s = 0, r = x(!0);
|
|
5423
5423
|
V(() => (e.scrollHeight - e.itemHeight) / 2);
|
|
@@ -5436,7 +5436,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5436
5436
|
return L(a, (u) => {
|
|
5437
5437
|
r.value && (i.value = `item_${s}`, r.value = !1);
|
|
5438
5438
|
}), L(() => e.options, p, { deep: !0 }), p(), (u, f) => {
|
|
5439
|
-
const m =
|
|
5439
|
+
const m = D("scroll-view");
|
|
5440
5440
|
return g(), h("view", An, [
|
|
5441
5441
|
H(m, {
|
|
5442
5442
|
class: "v-scroll-list",
|
|
@@ -5502,7 +5502,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5502
5502
|
v7330fd3e: c(n).border.color,
|
|
5503
5503
|
e33ccd48: c(n).border.default
|
|
5504
5504
|
}));
|
|
5505
|
-
const e = t, o = l, n =
|
|
5505
|
+
const e = t, o = l, n = O("config"), a = x(null), i = x([]), s = x([]);
|
|
5506
5506
|
ae(() => {
|
|
5507
5507
|
i.value.length = e.length, s.value.length = e.length;
|
|
5508
5508
|
});
|
|
@@ -5576,7 +5576,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5576
5576
|
v101a9a92: c(n).fontSize.smallTitle,
|
|
5577
5577
|
v5de17743: c(n).fontSize.mediumText
|
|
5578
5578
|
}));
|
|
5579
|
-
const e = t, o = l, n =
|
|
5579
|
+
const e = t, o = l, n = O("config"), a = x([...e.items]), i = () => {
|
|
5580
5580
|
a.value.forEach((r, d) => {
|
|
5581
5581
|
r.expanded = d === e.activeIndex;
|
|
5582
5582
|
});
|
|
@@ -5667,7 +5667,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5667
5667
|
v32f62e53: c(e).backgroundColor.default,
|
|
5668
5668
|
v0991e3fc: c(e).fontColor.text
|
|
5669
5669
|
}));
|
|
5670
|
-
const l = t, e =
|
|
5670
|
+
const l = t, e = O("config"), o = (n) => n < l.active ? "finished" : n === l.active ? "active" : "waiting";
|
|
5671
5671
|
return (n, a) => (g(), h("view", {
|
|
5672
5672
|
class: P(["v-steps", [t.direction]])
|
|
5673
5673
|
}, [
|
|
@@ -5716,7 +5716,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5716
5716
|
v1f106b88: c(e).fontSize.mediumText,
|
|
5717
5717
|
v661c6664: c(e).fontSize.smallText
|
|
5718
5718
|
}));
|
|
5719
|
-
const l = t, e =
|
|
5719
|
+
const l = t, e = O("config"), o = V(() => {
|
|
5720
5720
|
const n = {};
|
|
5721
5721
|
return l.fontSize && (n["font-size"] = l.fontSize), l.color && (n.color = l.color), n;
|
|
5722
5722
|
});
|
|
@@ -5823,7 +5823,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5823
5823
|
v7855c668: c(n).fontSize.smallText,
|
|
5824
5824
|
v7a83a938: c(n).fontColor.subTitle
|
|
5825
5825
|
}));
|
|
5826
|
-
const e = t, o = l, n =
|
|
5826
|
+
const e = t, o = l, n = O("config"), a = x(!1), i = x(e.isLoading), s = x(!1), r = x(null), d = x(null);
|
|
5827
5827
|
let p = null;
|
|
5828
5828
|
const v = x(0), u = x(e.retryCount), f = x(!1), m = (I) => /^https?:\/\//.test(I), b = V(() => e.src ? m(e.src) ? e.src : n.VImage.prefix + e.src : ""), $ = V(() => e.src ? m(e.src) ? e.src : n.VImage.prefix + e.src : "");
|
|
5829
5829
|
ae(() => {
|
|
@@ -5868,7 +5868,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
5868
5868
|
), ne(() => {
|
|
5869
5869
|
clearTimeout(p), window && window.removeEventListener("scroll", w);
|
|
5870
5870
|
}), (I, F) => {
|
|
5871
|
-
const Z =
|
|
5871
|
+
const Z = D("v-loading"), se = D("v-overlay");
|
|
5872
5872
|
return g(), h(K, null, [
|
|
5873
5873
|
y("view", {
|
|
5874
5874
|
class: "v-image-container",
|
|
@@ -6177,7 +6177,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
6177
6177
|
o("update:modelValue", s);
|
|
6178
6178
|
};
|
|
6179
6179
|
return (s, r) => {
|
|
6180
|
-
const d =
|
|
6180
|
+
const d = D("v-input");
|
|
6181
6181
|
return g(), oe(d, Mt({ value: a.value }, s.$props, {
|
|
6182
6182
|
class: "desensitize-input",
|
|
6183
6183
|
"onUpdate:value": i,
|
|
@@ -6264,7 +6264,7 @@ const lo = ["id"], no = ["type", "placeholder", "disabled", "placeholder-style",
|
|
|
6264
6264
|
s.value = k;
|
|
6265
6265
|
};
|
|
6266
6266
|
return (k, C) => {
|
|
6267
|
-
const I =
|
|
6267
|
+
const I = D("v-button"), F = D("v-text-button"), Z = D("v-input"), se = D("v-select-picker"), le = D("v-text"), pe = D("scroll-view");
|
|
6268
6268
|
return g(), h(K, null, [
|
|
6269
6269
|
l.value ? N("", !0) : (g(), h("view", {
|
|
6270
6270
|
key: 0,
|
|
@@ -6402,8 +6402,8 @@ const Pa = {
|
|
|
6402
6402
|
VTextarea: He,
|
|
6403
6403
|
VTag: Re,
|
|
6404
6404
|
VBadge: Le,
|
|
6405
|
-
VText:
|
|
6406
|
-
VLoading:
|
|
6405
|
+
VText: De,
|
|
6406
|
+
VLoading: Oe,
|
|
6407
6407
|
VRow: Ae,
|
|
6408
6408
|
VList: je,
|
|
6409
6409
|
VWindow: We,
|
|
@@ -6446,7 +6446,7 @@ const Pa = {
|
|
|
6446
6446
|
VInputDesensitize: kt,
|
|
6447
6447
|
VConsole: _t
|
|
6448
6448
|
}, Vt = (t, l = {}) => {
|
|
6449
|
-
if (t.component("VButton", ze), t.component("VInput", Ie), t.component("VPickerList", Pe), t.component("VSeriesPickerList", Be), t.component("VRadio", Me), t.component("VCheckbox", Ne), t.component("VTextarea", He), t.component("VTag", Re), t.component("VBadge", Le), t.component("VText",
|
|
6449
|
+
if (t.component("VButton", ze), t.component("VInput", Ie), t.component("VPickerList", Pe), t.component("VSeriesPickerList", Be), t.component("VRadio", Me), t.component("VCheckbox", Ne), t.component("VTextarea", He), t.component("VTag", Re), t.component("VBadge", Le), t.component("VText", De), t.component("VLoading", Oe), t.component("VRow", Ae), t.component("VList", je), t.component("VWindow", We), t.component("VDialog", Ee), t.component("VSelectPicker", Fe), t.component("VSeriesSelectPicker", qe), t.component("VTabs", Ue), t.component("VCarousel", Ke), t.component("VTabsPage", Ye), t.component("VPages", Ge), t.component("VInfiniteScroll", Xe), t.component("VRadioGroup", Je), t.component("VCheckboxGroup", Ze), t.component("VUploadFileButton", Qe), t.component("VForm", et), t.component("VFormItem", tt), t.component("VMenu", ot), t.component("VMenuSlide", lt), t.component("VPopup", nt), t.component("VGrid", at), t.component("VIconGrid", st), t.component("VWaterfall", it), t.component("VCard", rt), t.component("VTable", ut), t.component("VOverlay", ct), t.component("VSwitch", dt), t.component("VHeaderNavigationBar", ft), t.component("VMinLoading", vt), t.component("VPullUpRefresh", mt), t.component("VNull", pt), t.component("VDateTime", gt), t.component("VDrumSelectPicker", ht), t.component("VScrollList", bt), t.component("VInputCode", yt), t.component("VCollapse", wt), t.component("VSteps", St), t.component("VTitle", xt), t.component("VImage", Ct), t.component("VToast", $t), t.component("VInputDesensitize", kt), t.component("VConsole", _t), t.provide("vUniAppUiConfig", ie), l.config) {
|
|
6450
6450
|
const e = {
|
|
6451
6451
|
...ie,
|
|
6452
6452
|
...l.config
|
|
@@ -6500,11 +6500,11 @@ const Pa = {
|
|
|
6500
6500
|
} catch (e) {
|
|
6501
6501
|
console.warn("[v-uni-app-ui] Failed to init VConsole:", e.message);
|
|
6502
6502
|
}
|
|
6503
|
-
console.log("[v-uni-app-ui] 组件库已安装,版本:"
|
|
6503
|
+
console.log("[v-uni-app-ui] 组件库已安装,版本: 1.0.7");
|
|
6504
6504
|
};
|
|
6505
6505
|
typeof window < "u" && window.Vue && Vt(window.Vue);
|
|
6506
6506
|
const Ma = {
|
|
6507
|
-
version: "1.0.
|
|
6507
|
+
version: "1.0.7",
|
|
6508
6508
|
install: Vt,
|
|
6509
6509
|
...Pa,
|
|
6510
6510
|
config: ie
|
|
@@ -6532,7 +6532,7 @@ export {
|
|
|
6532
6532
|
yt as VInputCode,
|
|
6533
6533
|
kt as VInputDesensitize,
|
|
6534
6534
|
je as VList,
|
|
6535
|
-
|
|
6535
|
+
Oe as VLoading,
|
|
6536
6536
|
ot as VMenu,
|
|
6537
6537
|
lt as VMenuSlide,
|
|
6538
6538
|
vt as VMinLoading,
|
|
@@ -6555,7 +6555,7 @@ export {
|
|
|
6555
6555
|
Ue as VTabs,
|
|
6556
6556
|
Ye as VTabsPage,
|
|
6557
6557
|
Re as VTag,
|
|
6558
|
-
|
|
6558
|
+
De as VText,
|
|
6559
6559
|
He as VTextarea,
|
|
6560
6560
|
xt as VTitle,
|
|
6561
6561
|
$t as VToast,
|