@lazycatcloud/lzc-toolkit 0.0.122 → 0.0.124
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/index.es.js +108 -108
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shallowRef as tt, watchEffect as pt, readonly as nt, getCurrentScope as Nt, onScopeDispose as mt, getCurrentInstance as lt, onMounted as ae, nextTick as Le, ref as D, watch as R, customRef as Tt, unref as p, onUpdated as wt, computed as N, onUnmounted as ot, inject as W, provide as C, defineComponent as U, h as J, render as ce, openBlock as A, createBlock as he, Transition as Me, withCtx as de, withDirectives as se, createElementBlock as z, createElementVNode as E, withModifiers as re, normalizeClass as K, renderSlot as pe, createCommentVNode as te, useCssVars as xe, normalizeProps as Ie, guardReactiveProps as Ee, pushScopeId as
|
|
1
|
+
import { shallowRef as tt, watchEffect as pt, readonly as nt, getCurrentScope as Nt, onScopeDispose as mt, getCurrentInstance as lt, onMounted as ae, nextTick as Le, ref as D, watch as R, customRef as Tt, unref as p, onUpdated as wt, computed as N, onUnmounted as ot, inject as W, provide as C, defineComponent as U, h as J, render as ce, openBlock as A, createBlock as he, Transition as Me, withCtx as de, withDirectives as se, createElementBlock as z, createElementVNode as E, withModifiers as re, normalizeClass as K, renderSlot as pe, createCommentVNode as te, useCssVars as xe, normalizeProps as Ie, guardReactiveProps as Ee, pushScopeId as ge, popScopeId as fe, normalizeStyle as P, toDisplayString as Ce, vShow as Ne, createVNode as X, onBeforeUnmount as It, useSlots as Et, toRef as At, Fragment as Ae, mergeProps as ie, renderList as jt, toRefs as st } from "vue";
|
|
2
2
|
const zt = {
|
|
3
3
|
created(t, e) {
|
|
4
4
|
let n, l;
|
|
@@ -97,8 +97,8 @@ function Yt(t, e) {
|
|
|
97
97
|
get() {
|
|
98
98
|
return a.value && (n = i(), a.value = !1), l(), n;
|
|
99
99
|
},
|
|
100
|
-
set(
|
|
101
|
-
c?.(
|
|
100
|
+
set(f) {
|
|
101
|
+
c?.(f);
|
|
102
102
|
}
|
|
103
103
|
}));
|
|
104
104
|
return Object.isExtensible(r) && (r.trigger = s), r;
|
|
@@ -186,8 +186,8 @@ function _e(t, e = {}) {
|
|
|
186
186
|
if (!l)
|
|
187
187
|
return;
|
|
188
188
|
const d = l.getElementById(s) || l.createElement("style");
|
|
189
|
-
d.type = "text/css", d.id = s, e.media && (d.media = e.media), l.head.appendChild(d), !n.value && (c = R(i, (
|
|
190
|
-
d.innerText =
|
|
189
|
+
d.type = "text/css", d.id = s, e.media && (d.media = e.media), l.head.appendChild(d), !n.value && (c = R(i, (f) => {
|
|
190
|
+
d.innerText = f;
|
|
191
191
|
}, { immediate: !0 }), n.value = !0);
|
|
192
192
|
}, v = () => {
|
|
193
193
|
!l || !n.value || (c(), l.head.removeChild(l.getElementById(s)), n.value = !1);
|
|
@@ -240,13 +240,13 @@ en({
|
|
|
240
240
|
function nn(t, e) {
|
|
241
241
|
const { scrollEndHook: n, itemHeight: l, overscan: o = 5 } = e, a = D(null), s = Gt(a), i = D(!0), c = it(V, 100);
|
|
242
242
|
let r;
|
|
243
|
-
const v = tt(t), d = D(0),
|
|
243
|
+
const v = tt(t), d = D(0), f = D({ start: 0, end: 10 }), g = D({ start: 0, end: o });
|
|
244
244
|
let u = 0;
|
|
245
245
|
const T = D([]), M = N(() => {
|
|
246
246
|
let { sum: j, height: I } = { sum: 0, height: 0 };
|
|
247
247
|
return v.value.map((k, B) => (typeof l == "number" ? I = l : I = l(B), j += I, { height: I, sum: j }));
|
|
248
|
-
}), y = N(() => q(
|
|
249
|
-
const { start: j, end: I } =
|
|
248
|
+
}), y = N(() => q(f.value.start)), h = N(() => typeof l == "number" ? M.value.length * l : M.value[M.value.length - 1]?.sum || 0), L = N(() => {
|
|
249
|
+
const { start: j, end: I } = g.value;
|
|
250
250
|
return T.value.slice(j, I);
|
|
251
251
|
});
|
|
252
252
|
ae(() => {
|
|
@@ -283,10 +283,10 @@ function nn(t, e) {
|
|
|
283
283
|
j + u + o,
|
|
284
284
|
v.value.length
|
|
285
285
|
);
|
|
286
|
-
|
|
286
|
+
f.value = { start: I, end: k }, T.value = v.value.slice(I, k).map((B, _) => ({
|
|
287
287
|
data: B,
|
|
288
288
|
index: _ + I
|
|
289
|
-
})),
|
|
289
|
+
})), g.value.start = j - I, g.value.end = g.value.start + u;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
function b(j) {
|
|
@@ -362,7 +362,7 @@ function Dl() {
|
|
|
362
362
|
boolRef: N(() => !1),
|
|
363
363
|
numberRef: N(() => 0),
|
|
364
364
|
arrayRef: N(() => [])
|
|
365
|
-
}, a = W(ke, o), s = W(Qe, e), i = W($e, n), c = W(be, t), r = W(Se, t), v = W(Be, t), d = W(Ue, t),
|
|
365
|
+
}, a = W(ke, o), s = W(Qe, e), i = W($e, n), c = W(be, t), r = W(Se, t), v = W(Be, t), d = W(Ue, t), f = W(Ye, t), g = W(ve, t), u = W(Pe, l);
|
|
366
366
|
return {
|
|
367
367
|
selected: a,
|
|
368
368
|
isSelected: s,
|
|
@@ -371,8 +371,8 @@ function Dl() {
|
|
|
371
371
|
toggleAll: r,
|
|
372
372
|
select: v,
|
|
373
373
|
selectAll: d,
|
|
374
|
-
unselect:
|
|
375
|
-
unselectAll:
|
|
374
|
+
unselect: f,
|
|
375
|
+
unselectAll: g,
|
|
376
376
|
selectedCount: u
|
|
377
377
|
};
|
|
378
378
|
}
|
|
@@ -419,29 +419,29 @@ function hl(t, e) {
|
|
|
419
419
|
n.value = !1;
|
|
420
420
|
}
|
|
421
421
|
function v(M) {
|
|
422
|
-
|
|
422
|
+
g(() => {
|
|
423
423
|
M.forEach((y) => {
|
|
424
424
|
l.value.add(y[e]);
|
|
425
425
|
});
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
function d(M) {
|
|
429
|
-
|
|
429
|
+
g(() => {
|
|
430
430
|
M.forEach((y) => {
|
|
431
431
|
l.value.delete(y[e]);
|
|
432
432
|
});
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function f(M) {
|
|
436
436
|
return n.value != null ? n.value : l.value.has(M[e]);
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function g(M) {
|
|
439
439
|
n.value != null && (n.value ? l.value = new Set(Array.from(o.value.keys())) : l.value = /* @__PURE__ */ new Set()), M(), l.value.size == 0 ? n.value = !1 : l.value.size == o.value.size ? n.value = !0 : n.value = null;
|
|
440
440
|
}
|
|
441
441
|
function u(M) {
|
|
442
|
-
|
|
442
|
+
g(() => {
|
|
443
443
|
M.forEach((y) => {
|
|
444
|
-
|
|
444
|
+
f(y) ? l.value.delete(y[e]) : l.value.add(y[e]);
|
|
445
445
|
});
|
|
446
446
|
});
|
|
447
447
|
}
|
|
@@ -449,7 +449,7 @@ function hl(t, e) {
|
|
|
449
449
|
const { value: M } = i;
|
|
450
450
|
M ? r() : c();
|
|
451
451
|
}
|
|
452
|
-
return C(Se, T), C(be, u), C(Qe,
|
|
452
|
+
return C(Se, T), C(be, u), C(Qe, f), C(ke, a), C(Be, v), C(Ue, c), C(Ye, d), C($e, i), C(ve, r), C(ve, r), C(Pe, s), {
|
|
453
453
|
selected: a,
|
|
454
454
|
select: v,
|
|
455
455
|
selectAll: c,
|
|
@@ -457,7 +457,7 @@ function hl(t, e) {
|
|
|
457
457
|
unselectAll: r,
|
|
458
458
|
toggle: u,
|
|
459
459
|
toggleAll: T,
|
|
460
|
-
isSelected:
|
|
460
|
+
isSelected: f,
|
|
461
461
|
isAllSelected: i,
|
|
462
462
|
selectedCount: s
|
|
463
463
|
};
|
|
@@ -505,25 +505,25 @@ function pl(t) {
|
|
|
505
505
|
function d(u) {
|
|
506
506
|
e.value != null && (e.value ? n.value = new Set(Array.from(t.value)) : n.value = /* @__PURE__ */ new Set()), u(), n.value.size == 0 ? e.value = !1 : n.value.size == t.value.length ? e.value = !0 : e.value = null;
|
|
507
507
|
}
|
|
508
|
-
function
|
|
508
|
+
function f(u) {
|
|
509
509
|
d(() => {
|
|
510
510
|
u.forEach((T) => {
|
|
511
511
|
v(T) ? n.value.delete(T) : n.value.add(T);
|
|
512
512
|
});
|
|
513
513
|
});
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function g() {
|
|
516
516
|
const { value: u } = a;
|
|
517
517
|
u ? i() : s();
|
|
518
518
|
}
|
|
519
|
-
return C(Se,
|
|
519
|
+
return C(Se, g), C(be, f), C(Qe, v), C(ke, l), C(Be, c), C(Ue, s), C(Ye, r), C($e, a), C(ve, i), C(ve, i), C(Pe, o), {
|
|
520
520
|
selected: l,
|
|
521
521
|
select: c,
|
|
522
522
|
selectAll: s,
|
|
523
523
|
unselect: r,
|
|
524
524
|
unselectAll: i,
|
|
525
|
-
toggle:
|
|
526
|
-
toggleAll:
|
|
525
|
+
toggle: f,
|
|
526
|
+
toggleAll: g,
|
|
527
527
|
isSelected: v,
|
|
528
528
|
isAllSelected: a,
|
|
529
529
|
selectedCount: o
|
|
@@ -547,8 +547,8 @@ function Mt({
|
|
|
547
547
|
} = l();
|
|
548
548
|
let i = {};
|
|
549
549
|
const c = N(
|
|
550
|
-
() => Ge(e === "colum" ?
|
|
551
|
-
), r = /* @__PURE__ */ new Set(), v = D(!0), d = D(),
|
|
550
|
+
() => Ge(e === "colum" ? ft : yt, 50)
|
|
551
|
+
), r = /* @__PURE__ */ new Set(), v = D(!0), d = D(), f = D(!1), g = D({ x: 0, y: 0 }), u = D({ x: 0, y: 0, scrollTop: 0 }), T = new ResizeObserver(
|
|
552
552
|
(m) => M.value = m[0].target.getBoundingClientRect()
|
|
553
553
|
), M = D({}), y = D({
|
|
554
554
|
top: 0,
|
|
@@ -556,11 +556,11 @@ function Mt({
|
|
|
556
556
|
sync(m = !1) {
|
|
557
557
|
y.value.top = d.value?.scrollTop || 0, m && (y.value.height = d.value?.scrollHeight || 0);
|
|
558
558
|
}
|
|
559
|
-
}), h = N(() =>
|
|
560
|
-
left: Math.min(
|
|
561
|
-
top: Math.min(
|
|
562
|
-
width: Math.abs(
|
|
563
|
-
height: Math.abs(
|
|
559
|
+
}), h = N(() => f.value ? {
|
|
560
|
+
left: Math.min(g.value.x, u.value.x) - M.value.left,
|
|
561
|
+
top: Math.min(g.value.y, u.value.y) - M.value.top,
|
|
562
|
+
width: Math.abs(g.value.x - u.value.x),
|
|
563
|
+
height: Math.abs(g.value.y - u.value.y)
|
|
564
564
|
} : { left: 0, top: 0, width: 0, height: 0 }), { margin: L = 50, startSpeed: Y = 30, maxSpeed: V = 30 } = n;
|
|
565
565
|
let S;
|
|
566
566
|
const x = L, b = Y, G = V, q = (m) => m ** 1;
|
|
@@ -571,7 +571,7 @@ function Mt({
|
|
|
571
571
|
-G
|
|
572
572
|
), F !== 0) {
|
|
573
573
|
const w = d.value;
|
|
574
|
-
if (!w || !
|
|
574
|
+
if (!w || !f.value)
|
|
575
575
|
return;
|
|
576
576
|
const $ = y.value.height - M.value.height;
|
|
577
577
|
let O = y.value.top + Number(F);
|
|
@@ -613,22 +613,22 @@ function Mt({
|
|
|
613
613
|
O.sheet.insertRule(ht, oe);
|
|
614
614
|
}
|
|
615
615
|
function I(m, w) {
|
|
616
|
-
v.value = !0,
|
|
616
|
+
v.value = !0, f.value = !0, y.value.height ? y.value.sync() : y.value.sync(!0), g.value.x = m, g.value.y = w + y.value.top, u.value.x = g.value.x, u.value.y = g.value.y, d.value?.classList.add("disable-scroll-behavior"), r.clear();
|
|
617
617
|
}
|
|
618
618
|
function k(m, w, $) {
|
|
619
|
-
!
|
|
619
|
+
!f.value || (v.value && e === "colum" && !Q() && (s(), v.value = !1), $?.(), ne(w), u.value.x = Math.max(m, M.value.left), u.value.y = Math.min(
|
|
620
620
|
w + y.value.top,
|
|
621
621
|
y.value.height + M.value.top
|
|
622
622
|
), u.value.scrollTop = y.value.top, c.value());
|
|
623
623
|
}
|
|
624
624
|
function B() {
|
|
625
|
-
|
|
625
|
+
f.value = !1, d.value?.classList.remove("disable-scroll-behavior");
|
|
626
626
|
}
|
|
627
627
|
function _() {
|
|
628
|
-
!
|
|
628
|
+
!f.value || (F || ee(), c.value());
|
|
629
629
|
}
|
|
630
630
|
function Q() {
|
|
631
|
-
if (!
|
|
631
|
+
if (!f.value)
|
|
632
632
|
return !1;
|
|
633
633
|
const { width: m, height: w } = h.value;
|
|
634
634
|
return !(Math.max(m, w) > 5);
|
|
@@ -636,7 +636,7 @@ function Mt({
|
|
|
636
636
|
function me() {
|
|
637
637
|
Q() && s();
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function ft() {
|
|
640
640
|
Q() || d.value?.querySelectorAll(`[${t}]`).forEach((m) => {
|
|
641
641
|
i[`${t}`] = m.getAttribute(`${t}`), le(m.getBoundingClientRect()) ? o([i]) : a([i]);
|
|
642
642
|
});
|
|
@@ -667,7 +667,7 @@ function Mt({
|
|
|
667
667
|
cancelSelectAllBySingleClick: me,
|
|
668
668
|
selectFn: c,
|
|
669
669
|
selectRange: h,
|
|
670
|
-
isPressing:
|
|
670
|
+
isPressing: f,
|
|
671
671
|
containerEl: d,
|
|
672
672
|
observer: T
|
|
673
673
|
};
|
|
@@ -701,10 +701,10 @@ function Nl(t) {
|
|
|
701
701
|
});
|
|
702
702
|
}
|
|
703
703
|
});
|
|
704
|
-
function
|
|
704
|
+
function f(y) {
|
|
705
705
|
y.button === 0 && a(y.x, y.y);
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function g(y) {
|
|
708
708
|
s(y.x, y.y);
|
|
709
709
|
}
|
|
710
710
|
function u(y) {
|
|
@@ -716,13 +716,13 @@ function Nl(t) {
|
|
|
716
716
|
throw "\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";
|
|
717
717
|
if (!e.containerEl?.value)
|
|
718
718
|
return !1;
|
|
719
|
-
ce(J(d), e.containerEl.value), v(), e.containerEl.value?.addEventListener("scroll", o), e.containerEl.value?.addEventListener("mousedown",
|
|
719
|
+
ce(J(d), e.containerEl.value), v(), e.containerEl.value?.addEventListener("scroll", o), e.containerEl.value?.addEventListener("mousedown", f), window.addEventListener("mousemove", g), window.addEventListener("mouseup", u);
|
|
720
720
|
} catch (h) {
|
|
721
721
|
console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25", h);
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
724
|
function M() {
|
|
725
|
-
n.disconnect(), e.containerEl.value?.removeEventListener("scroll", o), e.containerEl.value?.removeEventListener("mousedown",
|
|
725
|
+
n.disconnect(), e.containerEl.value?.removeEventListener("scroll", o), e.containerEl.value?.removeEventListener("mousedown", f), window.removeEventListener("mousemove", g), window.removeEventListener("mouseup", u);
|
|
726
726
|
}
|
|
727
727
|
return { init: T, unMount: M };
|
|
728
728
|
}
|
|
@@ -745,12 +745,12 @@ function ml(t, e, n = 600) {
|
|
|
745
745
|
s(h, L), e?.(), i(h, L, () => M.preventDefault()), M.preventDefault();
|
|
746
746
|
}, n));
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function f(M) {
|
|
749
749
|
v();
|
|
750
750
|
const { clientX: y, clientY: h } = M.targetTouches[0];
|
|
751
751
|
i(y, h, () => M.preventDefault());
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function g() {
|
|
754
754
|
v(), c();
|
|
755
755
|
}
|
|
756
756
|
function u(M) {
|
|
@@ -759,13 +759,13 @@ function ml(t, e, n = 600) {
|
|
|
759
759
|
throw "\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";
|
|
760
760
|
if (!l.containerEl?.value)
|
|
761
761
|
return !1;
|
|
762
|
-
l.containerEl.value?.addEventListener("scroll", a), l.containerEl.value?.addEventListener("touchstart", d), l.containerEl.value?.addEventListener("touchmove",
|
|
762
|
+
l.containerEl.value?.addEventListener("scroll", a), l.containerEl.value?.addEventListener("touchstart", d), l.containerEl.value?.addEventListener("touchmove", f), window.addEventListener("touchcancel", g), window.addEventListener("touchend", g);
|
|
763
763
|
} catch (y) {
|
|
764
764
|
console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25", y);
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
function T() {
|
|
768
|
-
o.disconnect(), l.containerEl.value?.removeEventListener("scroll", a), l.containerEl.value?.removeEventListener("touchstart", d), l.containerEl.value?.removeEventListener("touchmove",
|
|
768
|
+
o.disconnect(), l.containerEl.value?.removeEventListener("scroll", a), l.containerEl.value?.removeEventListener("touchstart", d), l.containerEl.value?.removeEventListener("touchmove", f), window.removeEventListener("touchcancel", g), window.removeEventListener("touchEnd", g);
|
|
769
769
|
}
|
|
770
770
|
return { init: u, unMount: T };
|
|
771
771
|
}
|
|
@@ -878,7 +878,7 @@ function wl({
|
|
|
878
878
|
}
|
|
879
879
|
return { LoadingComp: l, loading: o, load: a, unload: s };
|
|
880
880
|
}
|
|
881
|
-
const un = (t) => (
|
|
881
|
+
const un = (t) => (ge("data-v-9a328d05"), t = t(), fe(), t), rn = /* @__PURE__ */ un(() => /* @__PURE__ */ E("div", { class: "ldio-mm5gwljcryb" }, [
|
|
882
882
|
/* @__PURE__ */ E("div")
|
|
883
883
|
], -1)), cn = [
|
|
884
884
|
rn
|
|
@@ -895,7 +895,7 @@ const un = (t) => (fe("data-v-9a328d05"), t = t(), ge(), t), rn = /* @__PURE__ *
|
|
|
895
895
|
})), (e, n) => (A(), z("div", Ie(Ee(e.$attrs)), cn, 16));
|
|
896
896
|
}
|
|
897
897
|
});
|
|
898
|
-
const dn = /* @__PURE__ */ H(Mn, [["__scopeId", "data-v-9a328d05"]]), vn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAQAAAC0jZKKAAAAAnNCSVQICFXsRgQAAAABc1JHQgCuzhzpAAAEMklEQVRIx62XzW9VZRDGn2fmPff23qYtlvIRqVVQICgGoS21wYUGEA0x0YUYE/8BNTHujBsNiS5cGBeujAtXLiTGjUnFjRKNQWgJVoqxC/m2RMpX7cf9OOedcXFrg1qutPc+ZzM5b84vc+bNZOYh6sp5tKWQr2qmBZ/Biqxq03Eybsh6I63+l7z90Wirts0VoyU2bYm1ZdFXZtf9shUMWckL8XGrBw+Lvx7pqHTN5Toy9cQSZMgtnLR7m19Hj//i9TNeBDyU7+jOWj2mDgBVlqXqRmHOgXZPvNOLXsHzSwWPdeKelMEiDKlkThMIhSVGTqGKaZRxxm/4VlsSeLTb17ojkpkESwlPrDhTLmn6VXbQACd4RFbhBoElgEfur6yJMXhE9Aoz+mz56sDMP+7a4TDcgW4Bn7wPax05VpGnQ6u4NPgnlq0F8Ojq6n2puxehXkFydeAsDWgYfLFwcYtLztQjieLv2y6hQc2DJx5qSYAUZJV+rr9hLCAAcGoNu6oSSZrI5K7zaIICAJQ2iwZGuGHuwjiaIgFGV2sHmQpIJr8eiM0BB6Byr6i7OBAmd0yiSRJXWQeQFDA5g6YpDK+SxB2As7z1SvPA0rKKJElQ/qA3MeNyp4Raxuk1NFGBHSZwcUFhqqlgKZgAjoj8bFPBlhephQ+kDdM4vKkWmAdXE0DRjL4YCfiiFmk1MGPemEFxJIdyg+QO3zQ/+q8FTa1VCER2tDUM7kE2v1BcEUyBoItLpavRUtiDNNSeccFNBARqIi3dDXfbIFJkyBD9tJQmMq1lbBvelkawrthDh8Hd9XvJT+Qi1NUSa9+3oRHw8T2+0iNNImbtqPSl6VkToVAlP9BQIV6hubuZyVDfnAA4LSoaNaqv/3HjsvPdLb3IkDFjhk8BAQbOZpNGpRCUp8dyy8GOtspBczgNjtO938wP08IP1BiyQJWVc88uB1x5F+sYEd0Y/f2FKb1tPJ4nhVFMuO34niW38mu639ycRuN3/UMLYCAbktSFKkrVvcf2LQV74lW8jChRMzOfxpv/2uhHHrYDokYVYab4acWhjZU7yLWIt3w/1Uklo+D1nV/+xyqc3Bt3O11JCMmb9nn/WH3s8C68Id0QV9CV9I/6P1jUg5x4Tgar6hLoQgX9nH69/dRiy+Eh3fhofMl7QSoE4qT6Z/0Hb2tuTjyFJ10gLlTSleKzPMXx7FL75OUSUCjm11TW6yMYRBfpAURwUZroxzs+rOuaRnb4C1Ks/ZoFCNUFAZTg4oFiQeiJi4gJlOJKasnf6T38v3ZspAsv2hYq6YFCqZXFEsyDhAguVK/FiuPxvZ0X79DnDW/nM94DodRu/G+wEOriAQIlqfjNP+n7dokGcnirPma93jJf73ALWF00xVE/3HdsGc605vk6Nydb0GN38y4UqV7BjE/ggv48NfZE3UH2F3Kp4Zn6aTweAAAAAElFTkSuQmCC",
|
|
898
|
+
const dn = /* @__PURE__ */ H(Mn, [["__scopeId", "data-v-9a328d05"]]), vn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAQAAAC0jZKKAAAAAnNCSVQICFXsRgQAAAABc1JHQgCuzhzpAAAEMklEQVRIx62XzW9VZRDGn2fmPff23qYtlvIRqVVQICgGoS21wYUGEA0x0YUYE/8BNTHujBsNiS5cGBeujAtXLiTGjUnFjRKNQWgJVoqxC/m2RMpX7cf9OOedcXFrg1qutPc+ZzM5b84vc+bNZOYh6sp5tKWQr2qmBZ/Biqxq03Eybsh6I63+l7z90Wirts0VoyU2bYm1ZdFXZtf9shUMWckL8XGrBw+Lvx7pqHTN5Toy9cQSZMgtnLR7m19Hj//i9TNeBDyU7+jOWj2mDgBVlqXqRmHOgXZPvNOLXsHzSwWPdeKelMEiDKlkThMIhSVGTqGKaZRxxm/4VlsSeLTb17ojkpkESwlPrDhTLmn6VXbQACd4RFbhBoElgEfur6yJMXhE9Aoz+mz56sDMP+7a4TDcgW4Bn7wPax05VpGnQ6u4NPgnlq0F8Ojq6n2puxehXkFydeAsDWgYfLFwcYtLztQjieLv2y6hQc2DJx5qSYAUZJV+rr9hLCAAcGoNu6oSSZrI5K7zaIICAJQ2iwZGuGHuwjiaIgFGV2sHmQpIJr8eiM0BB6Byr6i7OBAmd0yiSRJXWQeQFDA5g6YpDK+SxB2As7z1SvPA0rKKJElQ/qA3MeNyp4Raxuk1NFGBHSZwcUFhqqlgKZgAjoj8bFPBlhephQ+kDdM4vKkWmAdXE0DRjL4YCfiiFmk1MGPemEFxJIdyg+QO3zQ/+q8FTa1VCER2tDUM7kE2v1BcEUyBoItLpavRUtiDNNSeccFNBARqIi3dDXfbIFJkyBD9tJQmMq1lbBvelkawrthDh8Hd9XvJT+Qi1NUSa9+3oRHw8T2+0iNNImbtqPSl6VkToVAlP9BQIV6hubuZyVDfnAA4LSoaNaqv/3HjsvPdLb3IkDFjhk8BAQbOZpNGpRCUp8dyy8GOtspBczgNjtO938wP08IP1BiyQJWVc88uB1x5F+sYEd0Y/f2FKb1tPJ4nhVFMuO34niW38mu639ycRuN3/UMLYCAbktSFKkrVvcf2LQV74lW8jChRMzOfxpv/2uhHHrYDokYVYab4acWhjZU7yLWIt3w/1Uklo+D1nV/+xyqc3Bt3O11JCMmb9nn/WH3s8C68Id0QV9CV9I/6P1jUg5x4Tgar6hLoQgX9nH69/dRiy+Eh3fhofMl7QSoE4qT6Z/0Hb2tuTjyFJ10gLlTSleKzPMXx7FL75OUSUCjm11TW6yMYRBfpAURwUZroxzs+rOuaRnb4C1Ks/ZoFCNUFAZTg4oFiQeiJi4gJlOJKasnf6T38v3ZspAsv2hYq6YFCqZXFEsyDhAguVK/FiuPxvZ0X79DnDW/nM94DodRu/G+wEOriAQIlqfjNP+n7dokGcnirPma93jJf73ALWF00xVE/3HdsGc605vk6Nydb0GN38y4UqV7BjE/ggv48NfZE3UH2F3Kp4Zn6aTweAAAAAElFTkSuQmCC", gn = { class: "loading-wrap" }, fn = ["src"], yn = /* @__PURE__ */ U({
|
|
899
899
|
__name: "PageLoading",
|
|
900
900
|
props: {
|
|
901
901
|
delay: { default: "0.15s" }
|
|
@@ -903,11 +903,11 @@ const dn = /* @__PURE__ */ H(Mn, [["__scopeId", "data-v-9a328d05"]]), vn = "data
|
|
|
903
903
|
setup(t) {
|
|
904
904
|
return xe((e) => ({
|
|
905
905
|
"05ced5ee": t.delay
|
|
906
|
-
})), (e, n) => (A(), z("div",
|
|
906
|
+
})), (e, n) => (A(), z("div", gn, [
|
|
907
907
|
E("img", {
|
|
908
908
|
class: "loading-circle",
|
|
909
909
|
src: p(vn)
|
|
910
|
-
}, null, 8,
|
|
910
|
+
}, null, 8, fn)
|
|
911
911
|
]));
|
|
912
912
|
}
|
|
913
913
|
});
|
|
@@ -1052,7 +1052,7 @@ function El(t, e) {
|
|
|
1052
1052
|
const c = D(!1);
|
|
1053
1053
|
let r = null;
|
|
1054
1054
|
const v = new An(i);
|
|
1055
|
-
async function d(...
|
|
1055
|
+
async function d(...g) {
|
|
1056
1056
|
if (n && console.log(`useDelayAsync - handler - processing: ${c.value}`), !c.value) {
|
|
1057
1057
|
c.value = !0, r = setTimeout(() => {
|
|
1058
1058
|
n && console.log(
|
|
@@ -1063,22 +1063,22 @@ function El(t, e) {
|
|
|
1063
1063
|
}, s);
|
|
1064
1064
|
try {
|
|
1065
1065
|
n && console.time("useDelayAsync - handler-execute-time");
|
|
1066
|
-
const u = await t(...
|
|
1067
|
-
n && console.log("useDelayAsync - execute res: ", u), n && console.timeEnd("useDelayAsync - handler-execute-time"), await
|
|
1066
|
+
const u = await t(...g);
|
|
1067
|
+
n && console.log("useDelayAsync - execute res: ", u), n && console.timeEnd("useDelayAsync - handler-execute-time"), await f(a), await e?.onSuccess?.(u);
|
|
1068
1068
|
} catch (u) {
|
|
1069
|
-
n && console.timeEnd("useDelayAsync - handler-execute-time"), l && console.error(u), await
|
|
1069
|
+
n && console.timeEnd("useDelayAsync - handler-execute-time"), l && console.error(u), await f(a), await e?.onError?.(u);
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
1072
|
}
|
|
1073
|
-
async function g
|
|
1074
|
-
n && console.log("useDelayAsync - close - closeLoading: ",
|
|
1073
|
+
async function f(g = !0) {
|
|
1074
|
+
n && console.log("useDelayAsync - close - closeLoading: ", g), c.value = !1, r && clearTimeout(r), r = null, g && await v.destory();
|
|
1075
1075
|
}
|
|
1076
1076
|
return It(() => {
|
|
1077
|
-
n && console.log("useDelayAsync - onBeforeUnmount - close"),
|
|
1077
|
+
n && console.log("useDelayAsync - onBeforeUnmount - close"), f();
|
|
1078
1078
|
}), {
|
|
1079
1079
|
processing: c,
|
|
1080
1080
|
handler: d,
|
|
1081
|
-
close:
|
|
1081
|
+
close: f
|
|
1082
1082
|
};
|
|
1083
1083
|
}
|
|
1084
1084
|
const jn = ["onClick"], zn = /* @__PURE__ */ U({
|
|
@@ -1207,26 +1207,26 @@ function Cn(t) {
|
|
|
1207
1207
|
observeMethod: s = "classList"
|
|
1208
1208
|
} = t, i = D(!0), c = it(q, 100);
|
|
1209
1209
|
let r, v = "";
|
|
1210
|
-
const d = D(0),
|
|
1210
|
+
const d = D(0), f = D(0), g = D(0), u = D({
|
|
1211
1211
|
top: 0,
|
|
1212
1212
|
scrollTop: 0,
|
|
1213
1213
|
scrollHeight: 0,
|
|
1214
1214
|
clientHeight: 0
|
|
1215
1215
|
}), T = D({
|
|
1216
1216
|
clientHeight: 0
|
|
1217
|
-
}), M = N(() => !!
|
|
1217
|
+
}), M = N(() => !!f.value), y = N(() => u.value.scrollHeight > u.value.clientHeight), h = N(() => l ? u.value.clientHeight - V.value : u.value.clientHeight - T.value.clientHeight), L = N(() => u.value.scrollHeight - u.value.clientHeight), Y = N(() => Math.max(
|
|
1218
1218
|
u.value.clientHeight / u.value.scrollHeight,
|
|
1219
1219
|
0.05
|
|
1220
1220
|
)), V = N(() => Y.value > a ? 0 : Y.value * u.value.clientHeight), S = N(() => ({
|
|
1221
1221
|
willChange: "transform",
|
|
1222
|
-
transform: `translate3d(0,${
|
|
1222
|
+
transform: `translate3d(0,${g.value}px,0)`,
|
|
1223
1223
|
height: l ? `${V.value}px` : void 0
|
|
1224
1224
|
}));
|
|
1225
1225
|
function x(_) {
|
|
1226
|
-
G(),
|
|
1226
|
+
G(), f.value = _.clientY - n.value.getBoundingClientRect().top || 1, v = getComputedStyle(e.value).scrollBehavior, v === "smooth" && (e.value.style.scrollBehavior = "unset");
|
|
1227
1227
|
}
|
|
1228
1228
|
function b() {
|
|
1229
|
-
e.value.style.scrollBehavior = v,
|
|
1229
|
+
e.value.style.scrollBehavior = v, f.value = 0, c();
|
|
1230
1230
|
}
|
|
1231
1231
|
function G() {
|
|
1232
1232
|
i.value = !1;
|
|
@@ -1237,9 +1237,9 @@ function Cn(t) {
|
|
|
1237
1237
|
function F(_) {
|
|
1238
1238
|
if (!M.value)
|
|
1239
1239
|
return;
|
|
1240
|
-
let Q = _.clientY - u.value.top -
|
|
1241
|
-
Q < 0 ?
|
|
1242
|
-
top:
|
|
1240
|
+
let Q = _.clientY - u.value.top - f.value;
|
|
1241
|
+
Q < 0 ? g.value = 0 : Q >= h.value ? g.value = h.value : g.value = Q, e.value.scrollTo({
|
|
1242
|
+
top: g.value / h.value * L.value
|
|
1243
1243
|
});
|
|
1244
1244
|
}
|
|
1245
1245
|
function ne() {
|
|
@@ -1249,7 +1249,7 @@ function Cn(t) {
|
|
|
1249
1249
|
cancelAnimationFrame(r), r = requestAnimationFrame(le);
|
|
1250
1250
|
}
|
|
1251
1251
|
function le() {
|
|
1252
|
-
e.value && (d.value = o.scrollTop?.value ?? e.value.scrollTop,
|
|
1252
|
+
e.value && (d.value = o.scrollTop?.value ?? e.value.scrollTop, g.value = d.value / L.value * h.value);
|
|
1253
1253
|
}
|
|
1254
1254
|
function ee(_) {
|
|
1255
1255
|
let Q = "addEventListener";
|
|
@@ -1289,7 +1289,7 @@ function Cn(t) {
|
|
|
1289
1289
|
}), {
|
|
1290
1290
|
isScrollEnd: i,
|
|
1291
1291
|
isDragSlider: M,
|
|
1292
|
-
offsetTop:
|
|
1292
|
+
offsetTop: g,
|
|
1293
1293
|
scrollTop: d,
|
|
1294
1294
|
scrollable: y,
|
|
1295
1295
|
sliderPos: S,
|
|
@@ -1297,7 +1297,7 @@ function Cn(t) {
|
|
|
1297
1297
|
modifySliderEventListener: ee
|
|
1298
1298
|
};
|
|
1299
1299
|
}
|
|
1300
|
-
const On = (t) => (
|
|
1300
|
+
const On = (t) => (ge("data-v-efefe52c"), t = t(), fe(), t), _n = /* @__PURE__ */ On(() => /* @__PURE__ */ E("div", { class: "default-slider" }, null, -1)), Sn = /* @__PURE__ */ U({
|
|
1301
1301
|
__name: "ScrollBar",
|
|
1302
1302
|
props: {
|
|
1303
1303
|
containerEl: null,
|
|
@@ -1313,7 +1313,7 @@ const On = (t) => (fe("data-v-efefe52c"), t = t(), ge(), t), _n = /* @__PURE__ *
|
|
|
1313
1313
|
autoHeight: l ? n.autoHeight : !0,
|
|
1314
1314
|
performance: n.performance,
|
|
1315
1315
|
observeMethod: n.observeMethod
|
|
1316
|
-
}), { scrollable: i, isScrollEnd: c, sliderPos: r } = s, v = D(!1), d = n.autoHide ? N(() => v.value || !c.value) : N(() => i.value), { load:
|
|
1316
|
+
}), { scrollable: i, isScrollEnd: c, sliderPos: r } = s, v = D(!1), d = n.autoHide ? N(() => v.value || !c.value) : N(() => i.value), { load: f } = _e(
|
|
1317
1317
|
`.hide-scrollbar {
|
|
1318
1318
|
scrollbar-width: none;
|
|
1319
1319
|
-ms-overflow-style: none;
|
|
@@ -1324,13 +1324,13 @@ const On = (t) => (fe("data-v-efefe52c"), t = t(), ge(), t), _n = /* @__PURE__ *
|
|
|
1324
1324
|
{ id: "styletag_lzc_scrollbar", manual: !0 }
|
|
1325
1325
|
);
|
|
1326
1326
|
ae(() => {
|
|
1327
|
-
|
|
1327
|
+
f(), Le(() => {
|
|
1328
1328
|
s.init();
|
|
1329
1329
|
});
|
|
1330
1330
|
}), ot(() => {
|
|
1331
1331
|
s.modifySliderEventListener("remove");
|
|
1332
1332
|
});
|
|
1333
|
-
function
|
|
1333
|
+
function g() {
|
|
1334
1334
|
v.value = !0;
|
|
1335
1335
|
}
|
|
1336
1336
|
function u() {
|
|
@@ -1342,7 +1342,7 @@ const On = (t) => (fe("data-v-efefe52c"), t = t(), ge(), t), _n = /* @__PURE__ *
|
|
|
1342
1342
|
ref_key: "sliderRef",
|
|
1343
1343
|
ref: o,
|
|
1344
1344
|
class: "slider-wrapper",
|
|
1345
|
-
onMouseenter:
|
|
1345
|
+
onMouseenter: g,
|
|
1346
1346
|
onMouseleave: u,
|
|
1347
1347
|
style: P(p(r))
|
|
1348
1348
|
}, [
|
|
@@ -1357,7 +1357,7 @@ const On = (t) => (fe("data-v-efefe52c"), t = t(), ge(), t), _n = /* @__PURE__ *
|
|
|
1357
1357
|
}));
|
|
1358
1358
|
}
|
|
1359
1359
|
});
|
|
1360
|
-
const jl = /* @__PURE__ */ H(Sn, [["__scopeId", "data-v-efefe52c"]]), bn = (t) => (
|
|
1360
|
+
const jl = /* @__PURE__ */ H(Sn, [["__scopeId", "data-v-efefe52c"]]), bn = (t) => (ge("data-v-18377f18"), t = t(), fe(), t), Qn = { class: "pull-refresh" }, kn = {
|
|
1361
1361
|
key: 0,
|
|
1362
1362
|
class: "pull-arrow-circle"
|
|
1363
1363
|
}, Bn = {
|
|
@@ -1372,45 +1372,45 @@ const jl = /* @__PURE__ */ H(Sn, [["__scopeId", "data-v-efefe52c"]]), bn = (t) =
|
|
|
1372
1372
|
pullRefreshContainer: null
|
|
1373
1373
|
},
|
|
1374
1374
|
setup(t) {
|
|
1375
|
-
const e = t, n = 0.7, l = "#2EC1CC", o = D(-999), a = D(1), s = D(0), i = D(0.3), c = D(!1), r = D(0), v = D(0), d = D(0),
|
|
1376
|
-
transition: `${
|
|
1375
|
+
const e = t, n = 0.7, l = "#2EC1CC", o = D(-999), a = D(1), s = D(0), i = D(0.3), c = D(!1), r = D(0), v = D(0), d = D(0), f = D(0), g = D(0), u = D(), T = N(() => e.scrollTop), M = N(() => ({
|
|
1376
|
+
transition: `${f.value}ms`,
|
|
1377
1377
|
transform: `translate3d(0,${o.value}px, 0) scale(${a.value})`
|
|
1378
1378
|
})), y = N(() => ({
|
|
1379
1379
|
borderColor: l,
|
|
1380
|
-
transition:
|
|
1380
|
+
transition: f.value,
|
|
1381
1381
|
transform: `rotate(${100 + s.value}deg)`,
|
|
1382
1382
|
opacity: i.value
|
|
1383
1383
|
}));
|
|
1384
|
-
R(
|
|
1384
|
+
R(g, (x) => {
|
|
1385
1385
|
x === 0 && (o.value = -50, i.value = 0.3);
|
|
1386
1386
|
}), R(v, (x) => {
|
|
1387
|
-
if (
|
|
1387
|
+
if (g.value === 2)
|
|
1388
1388
|
return;
|
|
1389
1389
|
const b = Math.pow(x, n);
|
|
1390
|
-
b === 0 && (o.value = -50), b <= 50 && b > 0 && (o.value = b - 45, s.value = Math.pow(b, 1.5), b > 15 ? c.value = !0 : c.value = !1), b > 50 && (o.value = 5, i.value = 1,
|
|
1390
|
+
b === 0 && (o.value = -50), b <= 50 && b > 0 && (o.value = b - 45, s.value = Math.pow(b, 1.5), b > 15 ? c.value = !0 : c.value = !1), b > 50 && (o.value = 5, i.value = 1, g.value);
|
|
1391
1391
|
});
|
|
1392
1392
|
const h = D(0), L = (x) => {
|
|
1393
1393
|
h.value = x.touches[0].pageY;
|
|
1394
1394
|
}, Y = (x) => {
|
|
1395
1395
|
const b = x.touches[0].pageY - h.value;
|
|
1396
|
-
h.value = x.touches[0].pageY, !e.refreshOff && (!e?.refresh ||
|
|
1396
|
+
h.value = x.touches[0].pageY, !e.refreshOff && (!e?.refresh || g.value !== 2 && T.value === 0 && (r.value === 0 && (r.value = x.touches[0].pageY), d.value = 0, S.value.style.transition = `${d.value}ms`, f.value = 0, v.value = x.touches[0].pageY - r.value, S.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, b > 0 && x.preventDefault()));
|
|
1397
1397
|
}, V = () => {
|
|
1398
|
-
if (e.refreshOff || !e?.refresh ||
|
|
1398
|
+
if (e.refreshOff || !e?.refresh || g.value === 2)
|
|
1399
1399
|
return;
|
|
1400
1400
|
r.value = 0, d.value = 300;
|
|
1401
1401
|
const x = Math.pow(v.value, n);
|
|
1402
|
-
S.value.style.transition = `${d.value}ms`, x > 50 ? (
|
|
1402
|
+
S.value.style.transition = `${d.value}ms`, x > 50 ? (g.value = 2, v.value = Math.pow(50, 1 / n), S.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, f.value = 300, e?.refresh && e?.refresh().then(() => {
|
|
1403
1403
|
u.value = "\u5237\u65B0\u6210\u529F";
|
|
1404
1404
|
}).catch(() => {
|
|
1405
1405
|
u.value = "\u5237\u65B0\u5931\u8D25";
|
|
1406
1406
|
}).finally(() => {
|
|
1407
1407
|
setTimeout(() => {
|
|
1408
|
-
|
|
1408
|
+
g.value = 0, v.value = 0, S.value.style.transform = `translate3d(0, ${Math.pow(
|
|
1409
1409
|
v.value,
|
|
1410
1410
|
n
|
|
1411
1411
|
)}px, 0)`, setTimeout(() => {
|
|
1412
1412
|
u.value = void 0;
|
|
1413
|
-
},
|
|
1413
|
+
}, f.value);
|
|
1414
1414
|
}, 600);
|
|
1415
1415
|
})) : (v.value = 0, S.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`);
|
|
1416
1416
|
}, S = D(null);
|
|
@@ -1424,7 +1424,7 @@ const jl = /* @__PURE__ */ H(Sn, [["__scopeId", "data-v-efefe52c"]]), bn = (t) =
|
|
|
1424
1424
|
style: P(p(M))
|
|
1425
1425
|
}, [
|
|
1426
1426
|
u.value ? (A(), z("div", Rn, Ce(u.value), 1)) : (A(), z("div", kn, [
|
|
1427
|
-
|
|
1427
|
+
g.value == 2 ? (A(), z("div", Bn, [
|
|
1428
1428
|
E("div", Un, [
|
|
1429
1429
|
E("div", {
|
|
1430
1430
|
class: "left-circle",
|
|
@@ -1470,7 +1470,7 @@ const Hn = /* @__PURE__ */ H(Fn, [["__scopeId", "data-v-18377f18"]]), Wn = {
|
|
|
1470
1470
|
emits: ["scrollEnd"],
|
|
1471
1471
|
setup(t, { expose: e, emit: n }) {
|
|
1472
1472
|
const l = t, o = nn(At(l, "data"), {
|
|
1473
|
-
itemHeight: (
|
|
1473
|
+
itemHeight: (f) => l.itemHeight(l.data[f]),
|
|
1474
1474
|
overscan: l.overscan,
|
|
1475
1475
|
scrollEndHook: () => {
|
|
1476
1476
|
n("scrollEnd");
|
|
@@ -1487,7 +1487,7 @@ const Hn = /* @__PURE__ */ H(Fn, [["__scopeId", "data-v-18377f18"]]), Wn = {
|
|
|
1487
1487
|
vListReturn: o
|
|
1488
1488
|
});
|
|
1489
1489
|
const d = "virtualListWrapper" + new Date().getTime();
|
|
1490
|
-
return (
|
|
1490
|
+
return (f, g) => (A(), z(Ae, null, [
|
|
1491
1491
|
X(Hn, {
|
|
1492
1492
|
refresh: t.refresh,
|
|
1493
1493
|
refreshOff: t.refreshOff,
|
|
@@ -1499,10 +1499,10 @@ const Hn = /* @__PURE__ */ H(Fn, [["__scopeId", "data-v-18377f18"]]), Wn = {
|
|
|
1499
1499
|
id: d
|
|
1500
1500
|
}, [
|
|
1501
1501
|
E("div", ie({
|
|
1502
|
-
onScrollPassive:
|
|
1502
|
+
onScrollPassive: g[0] || (g[0] = (...u) => p(s).onScroll && p(s).onScroll(...u)),
|
|
1503
1503
|
ref: p(s).ref,
|
|
1504
1504
|
class: "virtualList"
|
|
1505
|
-
},
|
|
1505
|
+
}, f.$attrs), [
|
|
1506
1506
|
E("div", Ie(Ee(p(i))), [
|
|
1507
1507
|
E("div", Ie(Ee(p(c))), [
|
|
1508
1508
|
(A(!0), z(Ae, null, jt(p(a), ({ index: u, data: T }) => (A(), z("div", {
|
|
@@ -1512,7 +1512,7 @@ const Hn = /* @__PURE__ */ H(Fn, [["__scopeId", "data-v-18377f18"]]), Wn = {
|
|
|
1512
1512
|
display: "flex"
|
|
1513
1513
|
})
|
|
1514
1514
|
}, [
|
|
1515
|
-
pe(
|
|
1515
|
+
pe(f.$slots, "default", {
|
|
1516
1516
|
data: T,
|
|
1517
1517
|
index: u
|
|
1518
1518
|
}, void 0, !0)
|
|
@@ -1524,7 +1524,7 @@ const Hn = /* @__PURE__ */ H(Fn, [["__scopeId", "data-v-18377f18"]]), Wn = {
|
|
|
1524
1524
|
], 64));
|
|
1525
1525
|
}
|
|
1526
1526
|
});
|
|
1527
|
-
const zl = /* @__PURE__ */ H(Zn, [["__scopeId", "data-v-e0fb787f"]]), Re = (t) => (
|
|
1527
|
+
const zl = /* @__PURE__ */ H(Zn, [["__scopeId", "data-v-e0fb787f"]]), Re = (t) => (ge("data-v-c986249d"), t = t(), fe(), t), Vn = { style: { position: "absolute" } }, Gn = /* @__PURE__ */ Re(() => /* @__PURE__ */ E("div", { class: "wrapper" }, null, -1)), Kn = ["width", "height"], Xn = /* @__PURE__ */ Re(() => /* @__PURE__ */ E("title", null, "logo", -1)), Jn = /* @__PURE__ */ Re(() => /* @__PURE__ */ E("g", {
|
|
1528
1528
|
id: "group-1",
|
|
1529
1529
|
stroke: "none",
|
|
1530
1530
|
"stroke-width": "1",
|
|
@@ -1574,7 +1574,6 @@ const Ll = /* @__PURE__ */ H(el, [["__scopeId", "data-v-c986249d"]]), tl = [
|
|
|
1574
1574
|
"image/heif",
|
|
1575
1575
|
"image/png",
|
|
1576
1576
|
"image/tga",
|
|
1577
|
-
"image/tiff",
|
|
1578
1577
|
"image/webp",
|
|
1579
1578
|
"image/wbmp",
|
|
1580
1579
|
"image/svg+xml"
|
|
@@ -1607,14 +1606,14 @@ function vt(t, e) {
|
|
|
1607
1606
|
handleError: i
|
|
1608
1607
|
};
|
|
1609
1608
|
}
|
|
1610
|
-
function
|
|
1609
|
+
function gt() {
|
|
1611
1610
|
return { vImageCancel: {
|
|
1612
1611
|
beforeUnmount(e) {
|
|
1613
1612
|
!e || (e.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
|
1614
1613
|
}
|
|
1615
1614
|
} };
|
|
1616
1615
|
}
|
|
1617
|
-
const ll = (t) => (
|
|
1616
|
+
const ll = (t) => (ge("data-v-be7f0617"), t = t(), fe(), t), ol = ["title"], sl = /* @__PURE__ */ ll(() => /* @__PURE__ */ E("span", { class: "tip" }, "\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301", -1)), al = ["src"], ul = ["src"], il = ["title"], rl = { inheritAttrs: !1 }, cl = /* @__PURE__ */ U({
|
|
1618
1617
|
...rl,
|
|
1619
1618
|
__name: "Image",
|
|
1620
1619
|
props: {
|
|
@@ -1625,10 +1624,10 @@ const ll = (t) => (fe("data-v-9f3f463f"), t = t(), ge(), t), ol = ["title"], sl
|
|
|
1625
1624
|
autoRemoveThumbnail: { type: Boolean }
|
|
1626
1625
|
},
|
|
1627
1626
|
setup(t) {
|
|
1628
|
-
const e = t, n = D(!1), l = D(!1), o = D(!1), { src: a, mime: s } = st(e), { imgSrc: i, isSupport: c, hasError: r, handleError: v } = vt(a, s), { vImageCancel: d } =
|
|
1627
|
+
const e = t, n = D(!1), l = D(!1), o = D(!1), { src: a, mime: s } = st(e), { imgSrc: i, isSupport: c, hasError: r, handleError: v } = vt(a, s), { vImageCancel: d } = gt(), { LoadingComp: f } = dt({
|
|
1629
1628
|
component: dn,
|
|
1630
1629
|
delay: 300
|
|
1631
|
-
}),
|
|
1630
|
+
}), g = Qt(() => o.value && e.autoRemoveThumbnail ? !1 : e.thumbnail && !o.value);
|
|
1632
1631
|
function u() {
|
|
1633
1632
|
l.value = !0;
|
|
1634
1633
|
}
|
|
@@ -1642,7 +1641,7 @@ const ll = (t) => (fe("data-v-9f3f463f"), t = t(), ge(), t), ol = ["title"], sl
|
|
|
1642
1641
|
h ? v() : u(), n.value = !0;
|
|
1643
1642
|
}
|
|
1644
1643
|
return (h, L) => (A(), z(Ae, null, [
|
|
1645
|
-
n.value ? te("", !0) : (A(), he(p(
|
|
1644
|
+
n.value ? te("", !0) : (A(), he(p(f), { key: 0 })),
|
|
1646
1645
|
p(c) ? p(r) ? (A(), z("div", ie({ key: 3 }, h.$attrs, {
|
|
1647
1646
|
title: p(i),
|
|
1648
1647
|
class: "tip-wrap"
|
|
@@ -1659,8 +1658,8 @@ const ll = (t) => (fe("data-v-9f3f463f"), t = t(), ge(), t), ol = ["title"], sl
|
|
|
1659
1658
|
}, () => [
|
|
1660
1659
|
X(Me, null, {
|
|
1661
1660
|
default: de(() => [
|
|
1662
|
-
p(
|
|
1663
|
-
class: "preview-
|
|
1661
|
+
p(g) ? se((A(), z("img", ie({ key: 0 }, h.$attrs, {
|
|
1662
|
+
class: "preview-class",
|
|
1664
1663
|
onLoad: L[0] || (L[0] = (Y) => M()),
|
|
1665
1664
|
onError: L[1] || (L[1] = (Y) => y()),
|
|
1666
1665
|
src: t.thumbnail
|
|
@@ -1675,6 +1674,7 @@ const ll = (t) => (fe("data-v-9f3f463f"), t = t(), ge(), t), ol = ["title"], sl
|
|
|
1675
1674
|
}, {
|
|
1676
1675
|
default: de(() => [
|
|
1677
1676
|
t.isShowSrc || l.value ? se((A(), z("img", ie({ key: 0 }, h.$attrs, {
|
|
1677
|
+
class: "src-class",
|
|
1678
1678
|
onLoad: L[2] || (L[2] = (Y) => M(!0)),
|
|
1679
1679
|
onError: L[3] || (L[3] = (Y) => y(!0)),
|
|
1680
1680
|
src: p(i)
|
|
@@ -1698,14 +1698,14 @@ const ll = (t) => (fe("data-v-9f3f463f"), t = t(), ge(), t), ol = ["title"], sl
|
|
|
1698
1698
|
], 64));
|
|
1699
1699
|
}
|
|
1700
1700
|
});
|
|
1701
|
-
const xl = /* @__PURE__ */ H(cl, [["__scopeId", "data-v-
|
|
1701
|
+
const xl = /* @__PURE__ */ H(cl, [["__scopeId", "data-v-be7f0617"]]), Ml = ["title"], dl = ["src"], vl = ["title"], gl = /* @__PURE__ */ U({
|
|
1702
1702
|
__name: "Thumbnail",
|
|
1703
1703
|
props: {
|
|
1704
1704
|
src: null,
|
|
1705
1705
|
mime: null
|
|
1706
1706
|
},
|
|
1707
1707
|
setup(t) {
|
|
1708
|
-
const e = t, n = D(!1), { src: l, mime: o } = st(e), { imgSrc: a, hasError: s, isSupport: i, handleError: c } = vt(l, o), { vImageCancel: r } =
|
|
1708
|
+
const e = t, n = D(!1), { src: l, mime: o } = st(e), { imgSrc: a, hasError: s, isSupport: i, handleError: c } = vt(l, o), { vImageCancel: r } = gt();
|
|
1709
1709
|
return (v, d) => p(i) ? p(s) ? (A(), z("div", {
|
|
1710
1710
|
key: 2,
|
|
1711
1711
|
title: p(a),
|
|
@@ -1718,8 +1718,8 @@ const xl = /* @__PURE__ */ H(cl, [["__scopeId", "data-v-9f3f463f"]]), Ml = ["tit
|
|
|
1718
1718
|
], 8, vl)) : se((A(), z("img", {
|
|
1719
1719
|
key: 1,
|
|
1720
1720
|
fetchpriority: "high",
|
|
1721
|
-
onLoad: d[0] || (d[0] = (
|
|
1722
|
-
onError: d[1] || (d[1] = (...
|
|
1721
|
+
onLoad: d[0] || (d[0] = (f) => n.value = !0),
|
|
1722
|
+
onError: d[1] || (d[1] = (...f) => p(c) && p(c)(...f)),
|
|
1723
1723
|
src: p(a)
|
|
1724
1724
|
}, null, 40, dl)), [
|
|
1725
1725
|
[p(r)],
|
|
@@ -1736,7 +1736,7 @@ const xl = /* @__PURE__ */ H(cl, [["__scopeId", "data-v-9f3f463f"]]), Ml = ["tit
|
|
|
1736
1736
|
], 8, Ml));
|
|
1737
1737
|
}
|
|
1738
1738
|
});
|
|
1739
|
-
const Cl = /* @__PURE__ */ H(
|
|
1739
|
+
const Cl = /* @__PURE__ */ H(gl, [["__scopeId", "data-v-9fad8239"]]);
|
|
1740
1740
|
export {
|
|
1741
1741
|
dn as DefaultLoading,
|
|
1742
1742
|
xl as Image,
|
package/dist/index.umd.js
CHANGED
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
}
|
|
18
18
|
.hide-scrollbar::-webkit-scrollbar {
|
|
19
19
|
display: none;
|
|
20
|
-
}`,{id:"styletag_lzc_scrollbar",manual:!0});e.onMounted(()=>{p(),e.nextTick(()=>{a.init()})}),e.onUnmounted(()=>{a.modifySliderEventListener("remove")});function m(){g.value=!0}function i(){g.value=!1}return t({uScrollBarReturn:a}),(T,M)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:s,class:"slider-wrapper",onMouseenter:m,onMouseleave:i,style:e.normalizeStyle(e.unref(u))},[e.renderSlot(T.$slots,"default",{},()=>[Vt],!0)],36),[[e.vShow,e.unref(f)]])]),_:3}))}}),Fn="",Wt=k(Ht,[["__scopeId","data-v-efefe52c"]]),Zt=n=>(e.pushScopeId("data-v-18377f18"),n=n(),e.popScopeId(),n),Kt={class:"pull-refresh"},Gt={key:0,class:"pull-arrow-circle"},Xt={key:0,class:"box-load"},qt={class:"left-load"},Jt={class:"right-load"},en=Zt(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),tn={class:"pull-arrow"},nn={key:1},on=e.defineComponent({__name:"PullRefresh",props:{refresh:null,refreshOff:{type:Boolean,default:!1},scrollTop:null,pullRefreshContainer:null},setup(n){const t=n,o=.7,l="#2EC1CC",s=e.ref(-999),r=e.ref(1),a=e.ref(0),c=e.ref(.3),d=e.ref(!1),u=e.ref(0),g=e.ref(0),f=e.ref(0),p=e.ref(0),m=e.ref(0),i=e.ref(),T=e.computed(()=>t.scrollTop),M=e.computed(()=>({transition:`${p.value}ms`,transform:`translate3d(0,${s.value}px, 0) scale(${r.value})`})),y=e.computed(()=>({borderColor:l,transition:p.value,transform:`rotate(${100+a.value}deg)`,opacity:c.value}));e.watch(m,j=>{j===0&&(s.value=-50,c.value=.3)}),e.watch(g,j=>{if(m.value===2)return;const v=Math.pow(j,o);v===0&&(s.value=-50),v<=50&&v>0&&(s.value=v-45,a.value=Math.pow(v,1.5),v>15?d.value=!0:d.value=!1),v>50&&(s.value=5,c.value=1,m.value)});const h=e.ref(0),z=j=>{h.value=j.touches[0].pageY},x=j=>{const v=j.touches[0].pageY-h.value;h.value=j.touches[0].pageY,!t.refreshOff&&(!t?.refresh||m.value!==2&&T.value===0&&(u.value===0&&(u.value=j.touches[0].pageY),f.value=0,C.value.style.transition=`${f.value}ms`,p.value=0,g.value=j.touches[0].pageY-u.value,C.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,v>0&&j.preventDefault()))},U=()=>{if(t.refreshOff||!t?.refresh||m.value===2)return;u.value=0,f.value=300;const j=Math.pow(g.value,o);C.value.style.transition=`${f.value}ms`,j>50?(m.value=2,g.value=Math.pow(50,1/o),C.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,p.value=300,t?.refresh&&t?.refresh().then(()=>{i.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{i.value="\u5237\u65B0\u5931\u8D25"}).finally(()=>{setTimeout(()=>{m.value=0,g.value=0,C.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,setTimeout(()=>{i.value=void 0},p.value)},600)})):(g.value=0,C.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`)},C=e.ref(null);return e.onMounted(()=>{t?.refreshOff||(C.value=document.querySelector(t.pullRefreshContainer),C.value?.addEventListener("touchstart",z),C.value?.addEventListener("touchmove",x),C.value?.addEventListener("touchend",U))}),(j,v)=>(e.openBlock(),e.createElementBlock("div",Kt,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(M))},[i.value?(e.openBlock(),e.createElementBlock("div",nn,e.toDisplayString(i.value),1)):(e.openBlock(),e.createElementBlock("div",Gt,[m.value==2?(e.openBlock(),e.createElementBlock("div",Xt,[e.createElementVNode("div",qt,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",Jt,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),en])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(y))},[e.createElementVNode("div",tn,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:d.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),Vn="",be=k(on,[["__scopeId","data-v-18377f18"]]),ln={inheritAttrs:!1},sn=e.defineComponent({...ln,__name:"VirtualList",props:{data:null,itemHeight:null,overscan:{default:10},refresh:null,refreshOff:{type:Boolean,default:!1}},emits:["scrollEnd"],setup(n,{expose:t,emit:o}){const l=n,s=ve(e.toRef(l,"data"),{itemHeight:p=>l.itemHeight(l.data[p]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:r,containerProps:a,wrapperProps:c,innerProps:d,getItemHeightData:u,scrollTop:g}=s;t({vListReturn:s});const f="virtualListWrapper"+new Date().getTime();return(p,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(be,{refresh:n.refresh,refreshOff:n.refreshOff,scrollTop:e.unref(g),pullRefreshContainer:"#"+f},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:f},[e.createElementVNode("div",e.mergeProps({onScrollPassive:m[0]||(m[0]=(...i)=>e.unref(a).onScroll&&e.unref(a).onScroll(...i)),ref:e.unref(a).ref,class:"virtualList"},p.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(c))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(d))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),({index:i,data:T})=>(e.openBlock(),e.createElementBlock("div",{key:i,style:e.normalizeStyle({height:`${e.unref(u)(i).height}px`,display:"flex"})},[e.renderSlot(p.$slots,"default",{data:T,index:i},void 0,!0)],4))),128))],16)],16)],16)])],64))}}),Hn="",an=k(sn,[["__scopeId","data-v-e0fb787f"]]),Me=n=>(e.pushScopeId("data-v-c986249d"),n=n(),e.popScopeId(),n),rn={style:{position:"absolute"}},cn=Me(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),un=["width","height"],dn=[Me(()=>e.createElementVNode("title",null,"logo",-1)),Me(()=>e.createElementVNode("g",{id:"group-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M260,0 L260,260 L0,260 L0,0 L260,0 Z M173.523673,59.478426 L168.543315,62.4752911 C160.9116,67.0675753 153.089651,71.6349169 145.95806,75.5800674 C142.130471,77.697465 141.695584,77.8197038 137.842227,77.8197038 L123.620155,77.8194132 C120.16747,77.8127705 119.807362,77.673506 116.200006,75.5626777 L115.86045,75.3641139 C113.295911,73.8653877 110.281688,72.1255413 103.60737,68.2932221 C100.032855,66.2486474 96.3694634,64.1645054 92.8123362,62.1486494 L88.1098826,59.4837265 L86.4238232,64.6191026 C83.7525911,72.7551036 81.4062856,80.7653112 79.9222326,87.4417622 C78.9474243,91.8460343 78.2380884,93.2327734 74.2195073,98.9752733 C73.3694777,100.207223 72.630007,101.343155 72.0710109,102.283257 C67.5201215,110.313953 65.2975905,119.339776 65.6004928,128.457001 C66.1750084,143.318086 73.5375842,157.955758 85.6992798,168.473706 C96.9509724,178.204645 111.5737,183.826593 127.858154,184.209647 L130.088901,184.229303 C130.3376,186.684365 130.531293,189.982467 130.67329,193.770543 L130.951876,201.202421 L137.351863,197.414204 C154.766094,187.106546 169.345402,176.172255 180.160428,163.526119 C190.679421,151.226139 196.179795,138.745301 195.345608,125.762609 C194.727393,116.39373 192.289395,107.848059 187.082918,99.046007 C186.275378,97.7498121 185.738167,97.0056347 184.495395,95.37077 C181.975467,92.0558065 181.159964,90.5424149 180.493634,87.4039653 C178.713605,78.9218624 176.863265,71.4211865 175.088993,65.0761883 L173.523673,59.478426 Z M93.177,72.537 L93.8226224,72.9040486 C95.6240552,73.9292933 97.4266638,74.9575498 99.2051531,75.9748184 C106.15023,79.9626119 109.111289,81.6727026 111.728598,83.2042091 C116.752992,86.1442112 118.538634,86.6733184 123.964152,86.6733184 L137.842227,86.6733184 C143.264867,86.6733184 145.156143,86.1417146 150.243765,83.3272749 L153.915953,81.276117 C157.635687,79.179445 161.486156,76.9543599 165.360239,74.6740288 L168.062636,73.0710869 L168.527808,74.8705095 C169.630114,79.2468106 170.742831,84.0476913 171.830914,89.2325336 C172.820403,93.8931438 174.207097,96.4665356 177.447051,100.728693 C178.530829,102.154402 178.952253,102.738183 179.517404,103.643654 C183.925243,111.098001 185.980436,118.301862 186.51071,126.337939 C187.173867,136.658947 182.587388,147.066077 173.431821,157.771787 L171.503004,159.959402 C163.609627,168.649028 153.591728,176.617571 141.90907,184.187495 L139.123121,185.960576 L139.113767,185.819152 C139.047016,184.932364 138.975009,184.102769 138.897435,183.336992 C138.769034,182.069465 138.589718,180.629122 138.367155,179.053334 L137.795381,175.005053 L133.714496,175.253822 C132.500079,175.327852 131.274186,175.368647 130.037423,175.375838 C114.999567,175.463276 101.629066,170.545082 91.4908024,161.777083 C81.1421175,152.827103 74.9249947,140.466728 74.4483613,128.138982 C74.2004611,120.675327 76.0261036,113.26129 79.7275986,106.727863 C80.126032,106.059698 80.7615655,105.083428 81.4902403,104.02721 C86.0997527,97.4404488 87.2937074,95.1062887 88.5657754,89.358959 C89.6596645,84.4377825 91.2792852,78.6447463 93.1627518,72.6043699 L93.177,72.537 Z",id:"path-1",fill:"#FFF"})],-1))],Mn=e.defineComponent({__name:"Loading",props:{width:{default:"90"},height:{default:"90"},duration:{default:1300}},setup(n){const t=n;e.useCssVars(l=>({"5e400569":o}));const o=`${t.duration}ms`;return(l,s)=>(e.openBlock(),e.createElementBlock("div",rn,[cn,(e.openBlock(),e.createElementBlock("svg",{style:{position:"relative"},width:n.width,height:n.height,viewBox:"0 0 260 260",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},dn,8,un))]))}}),Kn="",fn=k(Mn,[["__scopeId","data-v-c986249d"]]),gn=["image/avif","image/bmp","image/jpeg","image/gif","image/heic","image/heif","image/png","image/tga","image/tiff","image/webp","image/wbmp","image/svg+xml"],mn=["image/bmp","image/jpeg","image/gif","image/heic","image/heif","image/png","image/webp","image/svg+xml"];function ke(n,t){const o=e.ref(n?.value),l=e.computed(()=>o.value?.startsWith("/_lzc")),s=e.ref(!1),r=e.computed(()=>s.value),a=e.computed(()=>{const d=t?.value;return!d||d.startsWith("video/")?!0:d.startsWith("image/")?l.value?gn.includes(d):mn.includes(d):!1});n&&e.watch(n,d=>{o.value=d,s.value=!1});function c(){s.value=!0}return{imgSrc:o,isError:s,hasError:r,isSupport:a,handleError:c}}function Be(){return{vImageCancel:{beforeUnmount(t){!t||(t.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}}}}const pn=n=>(e.pushScopeId("data-v-9f3f463f"),n=n(),e.popScopeId(),n),yn=["title"],hn=pn(()=>e.createElementVNode("span",{class:"tip"},"\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301",-1)),Nn=["src"],Dn=["src"],Tn=["title"],wn={inheritAttrs:!1},En=e.defineComponent({...wn,__name:"Image",props:{src:null,mime:null,thumbnail:null,isShowSrc:{type:Boolean},autoRemoveThumbnail:{type:Boolean}},setup(n){const t=n,o=e.ref(!1),l=e.ref(!1),s=e.ref(!1),{src:r,mime:a}=e.toRefs(t),{imgSrc:c,isSupport:d,hasError:u,handleError:g}=ke(r,a),{vImageCancel:f}=Be(),{LoadingComp:p}=de({component:_e,delay:300}),m=We(()=>s.value&&t.autoRemoveThumbnail?!1:t.thumbnail&&!s.value);function i(){l.value=!0}function T(){l.value&&(s.value=!0)}function M(h){h&&i(),o.value=!0}function y(h){h?g():i(),o.value=!0}return(h,z)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(p),{key:0})),e.unref(d)?e.unref(u)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},h.$attrs,{title:e.unref(c),class:"tip-wrap"}),[e.createVNode(W,{class:"bad-image",name:"\u56FE\u7247\u635F\u574F"})],16,Tn)):e.renderSlot(h.$slots,"default",{key:2,src:e.unref(c),onLoad:M,onError:y},()=>[e.createVNode(e.Transition,null,{default:e.withCtx(()=>[e.unref(m)?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},h.$attrs,{class:"preview-blur",onLoad:z[0]||(z[0]=x=>M()),onError:z[1]||(z[1]=x=>y()),src:n.thumbnail}),null,16,Nn)),[[e.unref(f)]]):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{onAfterEnter:z[4]||(z[4]=x=>T())},{default:e.withCtx(()=>[n.isShowSrc||l.value?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},h.$attrs,{onLoad:z[2]||(z[2]=x=>M(!0)),onError:z[3]||(z[3]=x=>y(!0)),src:e.unref(c)}),null,16,Dn)),[[e.unref(f)],[e.vShow,l.value]]):e.createCommentVNode("",!0)]),_:1})],!0):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},h.$attrs,{title:e.unref(c),class:"tip-wrap"}),[e.createVNode(W,{class:"no-support-icon",name:"\u4E0D\u652F\u6301\u663E\u793A"}),hn],16,yn))],64))}}),Gn="",In=k(En,[["__scopeId","data-v-9f3f463f"]]),zn=["title"],jn=["src"],An=["title"],Ln=e.defineComponent({__name:"Thumbnail",props:{src:null,mime:null},setup(n){const t=n,o=e.ref(!1),{src:l,mime:s}=e.toRefs(t),{imgSrc:r,hasError:a,isSupport:c,handleError:d}=ke(l,s),{vImageCancel:u}=Be();return(g,f)=>e.unref(c)?e.unref(a)?(e.openBlock(),e.createElementBlock("div",{key:2,title:e.unref(r),class:"icon-wrap"},[e.createVNode(W,{class:"icon",name:"\u56FE\u7247\u635F\u574F"})],8,An)):e.withDirectives((e.openBlock(),e.createElementBlock("img",{key:1,fetchpriority:"high",onLoad:f[0]||(f[0]=p=>o.value=!0),onError:f[1]||(f[1]=(...p)=>e.unref(d)&&e.unref(d)(...p)),src:e.unref(r)},null,40,jn)),[[e.unref(u)],[e.vShow,o.value]]):(e.openBlock(),e.createElementBlock("div",{key:0,title:e.unref(r),class:"icon-wrap"},[e.createVNode(W,{class:"icon",name:"\u672A\u77E5\u7C7B\u578B"})],8,zn))}}),Xn="",Cn=k(Ln,[["__scopeId","data-v-9fad8239"]]);N.DefaultLoading=_e,N.Image=In,N.Loading=fn,N.LoadingToast=Oe,N.PageLoading=Lt,N.PullRefresh=be,N.ScrollBar=Wt,N.SvgIcon=W,N.Thumbnail=Cn,N.ToastCreator=$t,N.VirtualList=an,N.allSelectedKey=J,N.closeDialogKey=Se,N.dialogController=Dt,N.isAllSelectedKey=oe,N.isSelectedKey=q,N.selectAllKey=te,N.selectKey=ee,N.selectedCountKey=le,N.toggleAllKey=G,N.toggleKey=X,N.unselectAllKey=R,N.unselectKey=ne,N.useDelayAsync=Qt,N.useDelayLoad=Tt,N.useDelayLoadComp=de,N.useDragSelect=ue,N.useDragSelectByMobile=pt,N.useDragSelectByPc=mt,N.useSelectable=ft,N.useSelectableByBase=gt,N.useSelectableInjectors=Mt,N.useVirtualList=ve,N.vDebounceClick=Ue,N.vSingleClick=me,Object.defineProperties(N,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
20
|
+
}`,{id:"styletag_lzc_scrollbar",manual:!0});e.onMounted(()=>{p(),e.nextTick(()=>{a.init()})}),e.onUnmounted(()=>{a.modifySliderEventListener("remove")});function m(){g.value=!0}function i(){g.value=!1}return t({uScrollBarReturn:a}),(T,M)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:s,class:"slider-wrapper",onMouseenter:m,onMouseleave:i,style:e.normalizeStyle(e.unref(u))},[e.renderSlot(T.$slots,"default",{},()=>[Vt],!0)],36),[[e.vShow,e.unref(f)]])]),_:3}))}}),Fn="",Wt=k(Ht,[["__scopeId","data-v-efefe52c"]]),Zt=n=>(e.pushScopeId("data-v-18377f18"),n=n(),e.popScopeId(),n),Kt={class:"pull-refresh"},Gt={key:0,class:"pull-arrow-circle"},Xt={key:0,class:"box-load"},qt={class:"left-load"},Jt={class:"right-load"},en=Zt(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),tn={class:"pull-arrow"},nn={key:1},on=e.defineComponent({__name:"PullRefresh",props:{refresh:null,refreshOff:{type:Boolean,default:!1},scrollTop:null,pullRefreshContainer:null},setup(n){const t=n,o=.7,l="#2EC1CC",s=e.ref(-999),r=e.ref(1),a=e.ref(0),c=e.ref(.3),d=e.ref(!1),u=e.ref(0),g=e.ref(0),f=e.ref(0),p=e.ref(0),m=e.ref(0),i=e.ref(),T=e.computed(()=>t.scrollTop),M=e.computed(()=>({transition:`${p.value}ms`,transform:`translate3d(0,${s.value}px, 0) scale(${r.value})`})),y=e.computed(()=>({borderColor:l,transition:p.value,transform:`rotate(${100+a.value}deg)`,opacity:c.value}));e.watch(m,j=>{j===0&&(s.value=-50,c.value=.3)}),e.watch(g,j=>{if(m.value===2)return;const v=Math.pow(j,o);v===0&&(s.value=-50),v<=50&&v>0&&(s.value=v-45,a.value=Math.pow(v,1.5),v>15?d.value=!0:d.value=!1),v>50&&(s.value=5,c.value=1,m.value)});const h=e.ref(0),z=j=>{h.value=j.touches[0].pageY},x=j=>{const v=j.touches[0].pageY-h.value;h.value=j.touches[0].pageY,!t.refreshOff&&(!t?.refresh||m.value!==2&&T.value===0&&(u.value===0&&(u.value=j.touches[0].pageY),f.value=0,C.value.style.transition=`${f.value}ms`,p.value=0,g.value=j.touches[0].pageY-u.value,C.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,v>0&&j.preventDefault()))},U=()=>{if(t.refreshOff||!t?.refresh||m.value===2)return;u.value=0,f.value=300;const j=Math.pow(g.value,o);C.value.style.transition=`${f.value}ms`,j>50?(m.value=2,g.value=Math.pow(50,1/o),C.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,p.value=300,t?.refresh&&t?.refresh().then(()=>{i.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{i.value="\u5237\u65B0\u5931\u8D25"}).finally(()=>{setTimeout(()=>{m.value=0,g.value=0,C.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,setTimeout(()=>{i.value=void 0},p.value)},600)})):(g.value=0,C.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`)},C=e.ref(null);return e.onMounted(()=>{t?.refreshOff||(C.value=document.querySelector(t.pullRefreshContainer),C.value?.addEventListener("touchstart",z),C.value?.addEventListener("touchmove",x),C.value?.addEventListener("touchend",U))}),(j,v)=>(e.openBlock(),e.createElementBlock("div",Kt,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(M))},[i.value?(e.openBlock(),e.createElementBlock("div",nn,e.toDisplayString(i.value),1)):(e.openBlock(),e.createElementBlock("div",Gt,[m.value==2?(e.openBlock(),e.createElementBlock("div",Xt,[e.createElementVNode("div",qt,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",Jt,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),en])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(y))},[e.createElementVNode("div",tn,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:d.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),Vn="",be=k(on,[["__scopeId","data-v-18377f18"]]),ln={inheritAttrs:!1},sn=e.defineComponent({...ln,__name:"VirtualList",props:{data:null,itemHeight:null,overscan:{default:10},refresh:null,refreshOff:{type:Boolean,default:!1}},emits:["scrollEnd"],setup(n,{expose:t,emit:o}){const l=n,s=ve(e.toRef(l,"data"),{itemHeight:p=>l.itemHeight(l.data[p]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:r,containerProps:a,wrapperProps:c,innerProps:d,getItemHeightData:u,scrollTop:g}=s;t({vListReturn:s});const f="virtualListWrapper"+new Date().getTime();return(p,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(be,{refresh:n.refresh,refreshOff:n.refreshOff,scrollTop:e.unref(g),pullRefreshContainer:"#"+f},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:f},[e.createElementVNode("div",e.mergeProps({onScrollPassive:m[0]||(m[0]=(...i)=>e.unref(a).onScroll&&e.unref(a).onScroll(...i)),ref:e.unref(a).ref,class:"virtualList"},p.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(c))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(d))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),({index:i,data:T})=>(e.openBlock(),e.createElementBlock("div",{key:i,style:e.normalizeStyle({height:`${e.unref(u)(i).height}px`,display:"flex"})},[e.renderSlot(p.$slots,"default",{data:T,index:i},void 0,!0)],4))),128))],16)],16)],16)])],64))}}),Hn="",an=k(sn,[["__scopeId","data-v-e0fb787f"]]),Me=n=>(e.pushScopeId("data-v-c986249d"),n=n(),e.popScopeId(),n),rn={style:{position:"absolute"}},cn=Me(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),un=["width","height"],dn=[Me(()=>e.createElementVNode("title",null,"logo",-1)),Me(()=>e.createElementVNode("g",{id:"group-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M260,0 L260,260 L0,260 L0,0 L260,0 Z M173.523673,59.478426 L168.543315,62.4752911 C160.9116,67.0675753 153.089651,71.6349169 145.95806,75.5800674 C142.130471,77.697465 141.695584,77.8197038 137.842227,77.8197038 L123.620155,77.8194132 C120.16747,77.8127705 119.807362,77.673506 116.200006,75.5626777 L115.86045,75.3641139 C113.295911,73.8653877 110.281688,72.1255413 103.60737,68.2932221 C100.032855,66.2486474 96.3694634,64.1645054 92.8123362,62.1486494 L88.1098826,59.4837265 L86.4238232,64.6191026 C83.7525911,72.7551036 81.4062856,80.7653112 79.9222326,87.4417622 C78.9474243,91.8460343 78.2380884,93.2327734 74.2195073,98.9752733 C73.3694777,100.207223 72.630007,101.343155 72.0710109,102.283257 C67.5201215,110.313953 65.2975905,119.339776 65.6004928,128.457001 C66.1750084,143.318086 73.5375842,157.955758 85.6992798,168.473706 C96.9509724,178.204645 111.5737,183.826593 127.858154,184.209647 L130.088901,184.229303 C130.3376,186.684365 130.531293,189.982467 130.67329,193.770543 L130.951876,201.202421 L137.351863,197.414204 C154.766094,187.106546 169.345402,176.172255 180.160428,163.526119 C190.679421,151.226139 196.179795,138.745301 195.345608,125.762609 C194.727393,116.39373 192.289395,107.848059 187.082918,99.046007 C186.275378,97.7498121 185.738167,97.0056347 184.495395,95.37077 C181.975467,92.0558065 181.159964,90.5424149 180.493634,87.4039653 C178.713605,78.9218624 176.863265,71.4211865 175.088993,65.0761883 L173.523673,59.478426 Z M93.177,72.537 L93.8226224,72.9040486 C95.6240552,73.9292933 97.4266638,74.9575498 99.2051531,75.9748184 C106.15023,79.9626119 109.111289,81.6727026 111.728598,83.2042091 C116.752992,86.1442112 118.538634,86.6733184 123.964152,86.6733184 L137.842227,86.6733184 C143.264867,86.6733184 145.156143,86.1417146 150.243765,83.3272749 L153.915953,81.276117 C157.635687,79.179445 161.486156,76.9543599 165.360239,74.6740288 L168.062636,73.0710869 L168.527808,74.8705095 C169.630114,79.2468106 170.742831,84.0476913 171.830914,89.2325336 C172.820403,93.8931438 174.207097,96.4665356 177.447051,100.728693 C178.530829,102.154402 178.952253,102.738183 179.517404,103.643654 C183.925243,111.098001 185.980436,118.301862 186.51071,126.337939 C187.173867,136.658947 182.587388,147.066077 173.431821,157.771787 L171.503004,159.959402 C163.609627,168.649028 153.591728,176.617571 141.90907,184.187495 L139.123121,185.960576 L139.113767,185.819152 C139.047016,184.932364 138.975009,184.102769 138.897435,183.336992 C138.769034,182.069465 138.589718,180.629122 138.367155,179.053334 L137.795381,175.005053 L133.714496,175.253822 C132.500079,175.327852 131.274186,175.368647 130.037423,175.375838 C114.999567,175.463276 101.629066,170.545082 91.4908024,161.777083 C81.1421175,152.827103 74.9249947,140.466728 74.4483613,128.138982 C74.2004611,120.675327 76.0261036,113.26129 79.7275986,106.727863 C80.126032,106.059698 80.7615655,105.083428 81.4902403,104.02721 C86.0997527,97.4404488 87.2937074,95.1062887 88.5657754,89.358959 C89.6596645,84.4377825 91.2792852,78.6447463 93.1627518,72.6043699 L93.177,72.537 Z",id:"path-1",fill:"#FFF"})],-1))],Mn=e.defineComponent({__name:"Loading",props:{width:{default:"90"},height:{default:"90"},duration:{default:1300}},setup(n){const t=n;e.useCssVars(l=>({"5e400569":o}));const o=`${t.duration}ms`;return(l,s)=>(e.openBlock(),e.createElementBlock("div",rn,[cn,(e.openBlock(),e.createElementBlock("svg",{style:{position:"relative"},width:n.width,height:n.height,viewBox:"0 0 260 260",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},dn,8,un))]))}}),Kn="",fn=k(Mn,[["__scopeId","data-v-c986249d"]]),gn=["image/avif","image/bmp","image/jpeg","image/gif","image/heic","image/heif","image/png","image/tga","image/webp","image/wbmp","image/svg+xml"],mn=["image/bmp","image/jpeg","image/gif","image/heic","image/heif","image/png","image/webp","image/svg+xml"];function ke(n,t){const o=e.ref(n?.value),l=e.computed(()=>o.value?.startsWith("/_lzc")),s=e.ref(!1),r=e.computed(()=>s.value),a=e.computed(()=>{const d=t?.value;return!d||d.startsWith("video/")?!0:d.startsWith("image/")?l.value?gn.includes(d):mn.includes(d):!1});n&&e.watch(n,d=>{o.value=d,s.value=!1});function c(){s.value=!0}return{imgSrc:o,isError:s,hasError:r,isSupport:a,handleError:c}}function Be(){return{vImageCancel:{beforeUnmount(t){!t||(t.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}}}}const pn=n=>(e.pushScopeId("data-v-be7f0617"),n=n(),e.popScopeId(),n),yn=["title"],hn=pn(()=>e.createElementVNode("span",{class:"tip"},"\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301",-1)),Nn=["src"],Dn=["src"],Tn=["title"],wn={inheritAttrs:!1},En=e.defineComponent({...wn,__name:"Image",props:{src:null,mime:null,thumbnail:null,isShowSrc:{type:Boolean},autoRemoveThumbnail:{type:Boolean}},setup(n){const t=n,o=e.ref(!1),l=e.ref(!1),s=e.ref(!1),{src:r,mime:a}=e.toRefs(t),{imgSrc:c,isSupport:d,hasError:u,handleError:g}=ke(r,a),{vImageCancel:f}=Be(),{LoadingComp:p}=de({component:_e,delay:300}),m=We(()=>s.value&&t.autoRemoveThumbnail?!1:t.thumbnail&&!s.value);function i(){l.value=!0}function T(){l.value&&(s.value=!0)}function M(h){h&&i(),o.value=!0}function y(h){h?g():i(),o.value=!0}return(h,z)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(p),{key:0})),e.unref(d)?e.unref(u)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},h.$attrs,{title:e.unref(c),class:"tip-wrap"}),[e.createVNode(W,{class:"bad-image",name:"\u56FE\u7247\u635F\u574F"})],16,Tn)):e.renderSlot(h.$slots,"default",{key:2,src:e.unref(c),onLoad:M,onError:y},()=>[e.createVNode(e.Transition,null,{default:e.withCtx(()=>[e.unref(m)?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},h.$attrs,{class:"preview-class",onLoad:z[0]||(z[0]=x=>M()),onError:z[1]||(z[1]=x=>y()),src:n.thumbnail}),null,16,Nn)),[[e.unref(f)]]):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{onAfterEnter:z[4]||(z[4]=x=>T())},{default:e.withCtx(()=>[n.isShowSrc||l.value?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},h.$attrs,{class:"src-class",onLoad:z[2]||(z[2]=x=>M(!0)),onError:z[3]||(z[3]=x=>y(!0)),src:e.unref(c)}),null,16,Dn)),[[e.unref(f)],[e.vShow,l.value]]):e.createCommentVNode("",!0)]),_:1})],!0):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},h.$attrs,{title:e.unref(c),class:"tip-wrap"}),[e.createVNode(W,{class:"no-support-icon",name:"\u4E0D\u652F\u6301\u663E\u793A"}),hn],16,yn))],64))}}),Gn="",In=k(En,[["__scopeId","data-v-be7f0617"]]),zn=["title"],jn=["src"],An=["title"],Ln=e.defineComponent({__name:"Thumbnail",props:{src:null,mime:null},setup(n){const t=n,o=e.ref(!1),{src:l,mime:s}=e.toRefs(t),{imgSrc:r,hasError:a,isSupport:c,handleError:d}=ke(l,s),{vImageCancel:u}=Be();return(g,f)=>e.unref(c)?e.unref(a)?(e.openBlock(),e.createElementBlock("div",{key:2,title:e.unref(r),class:"icon-wrap"},[e.createVNode(W,{class:"icon",name:"\u56FE\u7247\u635F\u574F"})],8,An)):e.withDirectives((e.openBlock(),e.createElementBlock("img",{key:1,fetchpriority:"high",onLoad:f[0]||(f[0]=p=>o.value=!0),onError:f[1]||(f[1]=(...p)=>e.unref(d)&&e.unref(d)(...p)),src:e.unref(r)},null,40,jn)),[[e.unref(u)],[e.vShow,o.value]]):(e.openBlock(),e.createElementBlock("div",{key:0,title:e.unref(r),class:"icon-wrap"},[e.createVNode(W,{class:"icon",name:"\u672A\u77E5\u7C7B\u578B"})],8,zn))}}),Xn="",Cn=k(Ln,[["__scopeId","data-v-9fad8239"]]);N.DefaultLoading=_e,N.Image=In,N.Loading=fn,N.LoadingToast=Oe,N.PageLoading=Lt,N.PullRefresh=be,N.ScrollBar=Wt,N.SvgIcon=W,N.Thumbnail=Cn,N.ToastCreator=$t,N.VirtualList=an,N.allSelectedKey=J,N.closeDialogKey=Se,N.dialogController=Dt,N.isAllSelectedKey=oe,N.isSelectedKey=q,N.selectAllKey=te,N.selectKey=ee,N.selectedCountKey=le,N.toggleAllKey=G,N.toggleKey=X,N.unselectAllKey=R,N.unselectKey=ne,N.useDelayAsync=Qt,N.useDelayLoad=Tt,N.useDelayLoadComp=de,N.useDragSelect=ue,N.useDragSelectByMobile=pt,N.useDragSelectByPc=mt,N.useSelectable=ft,N.useSelectableByBase=gt,N.useSelectableInjectors=Mt,N.useVirtualList=ve,N.vDebounceClick=Ue,N.vSingleClick=me,Object.defineProperties(N,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.lzc-modal[data-v-4ff684af]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-4ff684af]{margin:auto;display:flex;flex-direction:column}.ldio-mm5gwljcryb[data-v-9a328d05]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}.ldio-mm5gwljcryb div[data-v-9a328d05]{box-sizing:content-box;position:absolute;top:50%;left:50%;width:var(--eebbc516);height:var(--5323c3d0);border:3px solid #dfdfdf;border-top-color:transparent;border-radius:50%;animation:ldio-mm5gwljcryb-9a328d05 .7s linear infinite}@keyframes ldio-mm5gwljcryb-9a328d05{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.loadingio-spinner-rolling-5kajof80q6w[data-v-9a328d05]{width:100%;height:100%;display:inline-block;overflow:hidden;background:#ffffff}.loading-wrap[data-v-9526fa37]{display:flex;align-items:center;justify-content:center;width:100%;transform:rotateY(180deg)}.loading-circle[data-v-9526fa37]{width:22px;height:22px;opacity:0;animation:loading-spin-9526fa37 .8s var(--05ced5ee) linear infinite}@keyframes loading-spin-9526fa37{0%{opacity:1}to{opacity:1;transform:rotate(-360deg)}}.lzc-loading-toast[data-v-ef098d79]{display:flex;position:fixed;width:100%;height:100%;z-index:2147483647;box-sizing:border-box}.lzc-loading-toast-wrap[data-v-ef098d79]{margin:auto;text-align:center;box-sizing:border-box}.lzc-loading-toast-content[data-v-ef098d79]{display:flex;flex-direction:column;border-radius:8px;position:relative;pointer-events:auto;background-color:#000c;box-sizing:border-box}.lzc-loading-toast-content[data-v-ef098d79]>:not([hidden])~:not([hidden]){margin-top:4px;margin-bottom:0}.lzc-loading-toast-close[data-v-ef098d79]{height:10px;width:10px;position:absolute;right:12px;top:12px;cursor:pointer;box-sizing:border-box}.lzc-loading-toast-icon[data-v-ef098d79]{width:35px;height:35px;margin:0 auto;border-radius:9999px;animation:lzc-spin-ef098d79 1s linear infinite;box-sizing:border-box}.lzc-loading-toast-message[data-v-ef098d79]{display:flex;flex-wrap:wrap;font-size:16px;color:#fff;margin-left:auto;margin-right:auto;box-sizing:border-box;white-space:pre-wrap;line-height:26px}@keyframes lzc-spin-ef098d79{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes lzc-fade-in{0%{opacity:0}to{opacity:1}}.lzc-animate-fade-in{animation:lzc-fade-in 1s linear 1}.lzc-animate-duration-300{animation-duration:.3s}@keyframes lzc-fade-out{0%{opacity:1}to{opacity:0}}.lzc-animate-fade-out{animation:lzc-fade-out 1s linear 1}@keyframes slide-533e986b{0%{opacity:1}to{opacity:0}}.animate-toastAnimation[data-v-533e986b]{animation:slide-533e986b .3s linear}.v-leave-active[data-v-efefe52c]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-efefe52c]{opacity:0}.slider-wrapper[data-v-efefe52c]{position:absolute;right:0;touch-action:none}.default-slider[data-v-efefe52c]{width:6px;height:100%;background-color:#0003;border-radius:3px;margin-right:3px}.pull-refresh[data-v-18377f18]{position:relative}.pull-refresh-box[data-v-18377f18]{position:absolute;display:flex;justify-content:center;width:100%;font-size:14px;color:#85898b99;text-align:center;z-index:500}.pull-arrow-circle[data-v-18377f18]{position:relative;width:30px;height:30px;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.box-load[data-v-18377f18]{position:relative;width:18px;height:18px;border-radius:50%;overflow:hidden;animation:boxs-18377f18 3s infinite linear forwards}@keyframes boxs-18377f18{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.left-load[data-v-18377f18]{position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.left-circle[data-v-18377f18]{position:absolute;width:9px;height:18px;border-radius:18px 0 0 18px;transform:rotate(-180deg);transform-origin:9px 9px;animation:pr1A-18377f18 3s infinite linear forwards}@keyframes pr1A-18377f18{0%{transform:rotate(-180deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(0)}75%{transform:rotate(0)}to{transform:rotate(180deg)}}.right-load[data-v-18377f18]{left:9px;position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.right-circle[data-v-18377f18]{position:absolute;width:9px;height:18px;border-radius:0 18px 18px 0;transform:rotate(-180deg);transform-origin:0px 9px;animation:pr2A-18377f18 3s infinite linear forwards}@keyframes pr2A-18377f18{0%{transform:rotate(-180deg)}25%{transform:rotate(0)}50%{transform:rotate(0)}75%{transform:rotate(180deg)}to{transform:rotate(180deg)}}.among-load[data-v-18377f18]{top:2px;left:2px;width:14px;height:14px;border-radius:50%;position:absolute;background:#fff;z-index:5;overflow:hidden}.pull-circle-line[data-v-18377f18]{position:relative;width:15px;height:15px;border-radius:50%;background-color:#fff;box-sizing:border-box;border-width:2px;border-style:solid;display:flex;align-items:center;justify-content:center}.pull-arrow[data-v-18377f18]{position:absolute;left:-3px;transform:rotate(120deg);background-color:#fff;width:4px;height:6px}.arrows[data-v-18377f18]{width:0;height:0;position:absolute;right:-4px;bottom:4px;transform:rotate(-30deg);border-bottom-width:6px;border-bottom-style:solid;border-right:6px solid transparent;transition:.5s;opacity:0}.opacity[data-v-18377f18]{opacity:1}.left-item[data-v-18377f18]{text-align:center;height:100px;line-height:100px;color:#333}.left-item-active[data-v-18377f18]{color:#e93b3d}.virtualList[data-v-e0fb787f]{width:100%;height:100%;position:absolute;overflow-y:auto;scroll-behavior:smooth;user-select:none}.virtualListWrapper[data-v-e0fb787f]{width:100%;height:100%;position:relative}@keyframes loading-rotate-c986249d{to{transform:rotate(360deg);-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg)}}.wrapper[data-v-c986249d]{width:100%;height:100%;border-radius:100%;background:conic-gradient(from .25turn at 50% 50%,rgba(255,255,255,0),240deg,#2ec1cc);position:absolute;top:0;animation:loading-rotate-c986249d var(--5e400569) linear infinite}.v-enter-active[data-v-
|
|
1
|
+
.lzc-modal[data-v-4ff684af]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-4ff684af]{margin:auto;display:flex;flex-direction:column}.ldio-mm5gwljcryb[data-v-9a328d05]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}.ldio-mm5gwljcryb div[data-v-9a328d05]{box-sizing:content-box;position:absolute;top:50%;left:50%;width:var(--eebbc516);height:var(--5323c3d0);border:3px solid #dfdfdf;border-top-color:transparent;border-radius:50%;animation:ldio-mm5gwljcryb-9a328d05 .7s linear infinite}@keyframes ldio-mm5gwljcryb-9a328d05{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.loadingio-spinner-rolling-5kajof80q6w[data-v-9a328d05]{width:100%;height:100%;display:inline-block;overflow:hidden;background:#ffffff}.loading-wrap[data-v-9526fa37]{display:flex;align-items:center;justify-content:center;width:100%;transform:rotateY(180deg)}.loading-circle[data-v-9526fa37]{width:22px;height:22px;opacity:0;animation:loading-spin-9526fa37 .8s var(--05ced5ee) linear infinite}@keyframes loading-spin-9526fa37{0%{opacity:1}to{opacity:1;transform:rotate(-360deg)}}.lzc-loading-toast[data-v-ef098d79]{display:flex;position:fixed;width:100%;height:100%;z-index:2147483647;box-sizing:border-box}.lzc-loading-toast-wrap[data-v-ef098d79]{margin:auto;text-align:center;box-sizing:border-box}.lzc-loading-toast-content[data-v-ef098d79]{display:flex;flex-direction:column;border-radius:8px;position:relative;pointer-events:auto;background-color:#000c;box-sizing:border-box}.lzc-loading-toast-content[data-v-ef098d79]>:not([hidden])~:not([hidden]){margin-top:4px;margin-bottom:0}.lzc-loading-toast-close[data-v-ef098d79]{height:10px;width:10px;position:absolute;right:12px;top:12px;cursor:pointer;box-sizing:border-box}.lzc-loading-toast-icon[data-v-ef098d79]{width:35px;height:35px;margin:0 auto;border-radius:9999px;animation:lzc-spin-ef098d79 1s linear infinite;box-sizing:border-box}.lzc-loading-toast-message[data-v-ef098d79]{display:flex;flex-wrap:wrap;font-size:16px;color:#fff;margin-left:auto;margin-right:auto;box-sizing:border-box;white-space:pre-wrap;line-height:26px}@keyframes lzc-spin-ef098d79{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes lzc-fade-in{0%{opacity:0}to{opacity:1}}.lzc-animate-fade-in{animation:lzc-fade-in 1s linear 1}.lzc-animate-duration-300{animation-duration:.3s}@keyframes lzc-fade-out{0%{opacity:1}to{opacity:0}}.lzc-animate-fade-out{animation:lzc-fade-out 1s linear 1}@keyframes slide-533e986b{0%{opacity:1}to{opacity:0}}.animate-toastAnimation[data-v-533e986b]{animation:slide-533e986b .3s linear}.v-leave-active[data-v-efefe52c]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-efefe52c]{opacity:0}.slider-wrapper[data-v-efefe52c]{position:absolute;right:0;touch-action:none}.default-slider[data-v-efefe52c]{width:6px;height:100%;background-color:#0003;border-radius:3px;margin-right:3px}.pull-refresh[data-v-18377f18]{position:relative}.pull-refresh-box[data-v-18377f18]{position:absolute;display:flex;justify-content:center;width:100%;font-size:14px;color:#85898b99;text-align:center;z-index:500}.pull-arrow-circle[data-v-18377f18]{position:relative;width:30px;height:30px;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.box-load[data-v-18377f18]{position:relative;width:18px;height:18px;border-radius:50%;overflow:hidden;animation:boxs-18377f18 3s infinite linear forwards}@keyframes boxs-18377f18{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.left-load[data-v-18377f18]{position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.left-circle[data-v-18377f18]{position:absolute;width:9px;height:18px;border-radius:18px 0 0 18px;transform:rotate(-180deg);transform-origin:9px 9px;animation:pr1A-18377f18 3s infinite linear forwards}@keyframes pr1A-18377f18{0%{transform:rotate(-180deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(0)}75%{transform:rotate(0)}to{transform:rotate(180deg)}}.right-load[data-v-18377f18]{left:9px;position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.right-circle[data-v-18377f18]{position:absolute;width:9px;height:18px;border-radius:0 18px 18px 0;transform:rotate(-180deg);transform-origin:0px 9px;animation:pr2A-18377f18 3s infinite linear forwards}@keyframes pr2A-18377f18{0%{transform:rotate(-180deg)}25%{transform:rotate(0)}50%{transform:rotate(0)}75%{transform:rotate(180deg)}to{transform:rotate(180deg)}}.among-load[data-v-18377f18]{top:2px;left:2px;width:14px;height:14px;border-radius:50%;position:absolute;background:#fff;z-index:5;overflow:hidden}.pull-circle-line[data-v-18377f18]{position:relative;width:15px;height:15px;border-radius:50%;background-color:#fff;box-sizing:border-box;border-width:2px;border-style:solid;display:flex;align-items:center;justify-content:center}.pull-arrow[data-v-18377f18]{position:absolute;left:-3px;transform:rotate(120deg);background-color:#fff;width:4px;height:6px}.arrows[data-v-18377f18]{width:0;height:0;position:absolute;right:-4px;bottom:4px;transform:rotate(-30deg);border-bottom-width:6px;border-bottom-style:solid;border-right:6px solid transparent;transition:.5s;opacity:0}.opacity[data-v-18377f18]{opacity:1}.left-item[data-v-18377f18]{text-align:center;height:100px;line-height:100px;color:#333}.left-item-active[data-v-18377f18]{color:#e93b3d}.virtualList[data-v-e0fb787f]{width:100%;height:100%;position:absolute;overflow-y:auto;scroll-behavior:smooth;user-select:none}.virtualListWrapper[data-v-e0fb787f]{width:100%;height:100%;position:relative}@keyframes loading-rotate-c986249d{to{transform:rotate(360deg);-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg)}}.wrapper[data-v-c986249d]{width:100%;height:100%;border-radius:100%;background:conic-gradient(from .25turn at 50% 50%,rgba(255,255,255,0),240deg,#2ec1cc);position:absolute;top:0;animation:loading-rotate-c986249d var(--5e400569) linear infinite}.v-enter-active[data-v-be7f0617],.v-leave-active[data-v-be7f0617]{transition:opacity .6s ease}.v-enter-from[data-v-be7f0617],.v-leave-to[data-v-be7f0617]{opacity:0}img[data-v-be7f0617]{pointer-events:none}.tip[data-v-be7f0617]{font-size:14px;color:#aeaeae}.tip-wrap[data-v-be7f0617]{display:flex;flex-direction:column;align-items:center;justify-content:center}.no-support-icon[data-v-be7f0617]{width:162px;height:134px}.bad-image[data-v-be7f0617]{width:92px;height:92px}.preview-class[data-v-be7f0617],.src-class[data-v-be7f0617]{filter:blur(1px)}img[data-v-9fad8239]{pointer-events:none}.icon-wrap[data-v-9fad8239]{display:flex;align-items:center;justify-content:center}.icon[data-v-9fad8239]{width:100%;height:100%}
|