@lazycatcloud/lzc-toolkit 0.0.207 → 0.0.208
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 +176 -174
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/image/Thumbnail.vue.d.ts +68 -7
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shallowRef as dt, watchEffect as
|
|
1
|
+
import { shallowRef as dt, watchEffect as bt, readonly as vt, getCurrentScope as _t, onScopeDispose as Mt, onMounted as ce, nextTick as Me, ref as m, watch as G, customRef as kt, unref as L, isRef as Qt, getCurrentInstance as Be, onUpdated as Yt, computed as j, reactive as pe, onUnmounted as gt, inject as ee, provide as F, defineComponent as q, h as ue, render as De, openBlock as H, createBlock as Ie, Transition as Ue, withCtx as Re, withDirectives as re, createElementBlock as P, normalizeClass as se, createElementVNode as R, withModifiers as ye, renderSlot as ge, createCommentVNode as fe, useCssVars as He, normalizeProps as _e, guardReactiveProps as ke, pushScopeId as Ae, popScopeId as ze, normalizeStyle as K, toDisplayString as $e, vShow as Le, createVNode as he, onBeforeUnmount as ht, onActivated as mt, onBeforeMount as Bt, onDeactivated as Ut, useSlots as Rt, toRef as Ht, Fragment as Qe, mergeProps as me, renderList as $t, toRefs as yt, createTextVNode as Pt } from "vue";
|
|
2
2
|
const Ft = {
|
|
3
3
|
created(e, t) {
|
|
4
4
|
let n, o;
|
|
@@ -35,7 +35,7 @@ const Ft = {
|
|
|
35
35
|
function Wt(e, t) {
|
|
36
36
|
var n;
|
|
37
37
|
const o = dt();
|
|
38
|
-
return
|
|
38
|
+
return bt(() => {
|
|
39
39
|
o.value = e();
|
|
40
40
|
}, {
|
|
41
41
|
...t,
|
|
@@ -59,7 +59,7 @@ function Xt(e, t) {
|
|
|
59
59
|
return Object.isExtensible(r) && (r.trigger = a), r;
|
|
60
60
|
}
|
|
61
61
|
function Pe(e) {
|
|
62
|
-
return
|
|
62
|
+
return _t() ? (Mt(e), !0) : !1;
|
|
63
63
|
}
|
|
64
64
|
function te(e) {
|
|
65
65
|
return typeof e == "function" ? e() : L(e);
|
|
@@ -131,7 +131,7 @@ function ie(e) {
|
|
|
131
131
|
return (t = n?.$el) != null ? t : n;
|
|
132
132
|
}
|
|
133
133
|
const xe = Dt ? window : void 0, Jt = Dt ? window.document : void 0;
|
|
134
|
-
function
|
|
134
|
+
function we(...e) {
|
|
135
135
|
let t, n, o, l;
|
|
136
136
|
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, l] = e, t = xe) : [t, n, o, l] = e, !t)
|
|
137
137
|
return de;
|
|
@@ -283,12 +283,12 @@ function ln(e, t = {}) {
|
|
|
283
283
|
behavior: te(u)
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
|
-
const D = m(!1), w =
|
|
286
|
+
const D = m(!1), w = pe({
|
|
287
287
|
left: !0,
|
|
288
288
|
right: !1,
|
|
289
289
|
top: !0,
|
|
290
290
|
bottom: !1
|
|
291
|
-
}), E =
|
|
291
|
+
}), E = pe({
|
|
292
292
|
left: !1,
|
|
293
293
|
right: !1,
|
|
294
294
|
top: !1,
|
|
@@ -301,12 +301,12 @@ function ln(e, t = {}) {
|
|
|
301
301
|
return;
|
|
302
302
|
const I = ((T = N?.document) == null ? void 0 : T.documentElement) || N?.documentElement || ie(N), { display: Y, flexDirection: y } = getComputedStyle(I), A = I.scrollLeft;
|
|
303
303
|
E.left = A < c.value, E.right = A > c.value;
|
|
304
|
-
const
|
|
305
|
-
Y === "flex" && y === "row-reverse" ? (w.left = B, w.right =
|
|
306
|
-
let
|
|
307
|
-
N === r.document && !
|
|
308
|
-
const z = Math.abs(
|
|
309
|
-
Y === "flex" && y === "column-reverse" ? (w.top = x, w.bottom = z) : (w.top = z, w.bottom = x), M.value =
|
|
304
|
+
const b = Math.abs(A) <= (a.left || 0), B = Math.abs(A) + I.clientWidth >= I.scrollWidth - (a.right || 0) - it;
|
|
305
|
+
Y === "flex" && y === "row-reverse" ? (w.left = B, w.right = b) : (w.left = b, w.right = B), c.value = A;
|
|
306
|
+
let _ = I.scrollTop;
|
|
307
|
+
N === r.document && !_ && (_ = r.document.body.scrollTop), E.top = _ < M.value, E.bottom = _ > M.value;
|
|
308
|
+
const z = Math.abs(_) <= (a.top || 0), x = Math.abs(_) + I.clientHeight >= I.scrollHeight - (a.bottom || 0) - it;
|
|
309
|
+
Y === "flex" && y === "column-reverse" ? (w.top = x, w.bottom = z) : (w.top = z, w.bottom = x), M.value = _;
|
|
310
310
|
}, O = (N) => {
|
|
311
311
|
var T;
|
|
312
312
|
if (!r)
|
|
@@ -314,7 +314,7 @@ function ln(e, t = {}) {
|
|
|
314
314
|
const I = (T = N.target.documentElement) != null ? T : N.target;
|
|
315
315
|
S(I), D.value = !0, p(N), s(N);
|
|
316
316
|
};
|
|
317
|
-
return
|
|
317
|
+
return we(
|
|
318
318
|
e,
|
|
319
319
|
"scroll",
|
|
320
320
|
n ? Ye(O, n, !0, !1) : O,
|
|
@@ -328,7 +328,7 @@ function ln(e, t = {}) {
|
|
|
328
328
|
} catch (N) {
|
|
329
329
|
v(N);
|
|
330
330
|
}
|
|
331
|
-
}),
|
|
331
|
+
}), we(
|
|
332
332
|
e,
|
|
333
333
|
"scrollend",
|
|
334
334
|
h,
|
|
@@ -474,7 +474,7 @@ function un(e, t) {
|
|
|
474
474
|
s.value.scrollTop = U.sum - U.height, N();
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
const
|
|
477
|
+
const b = j(() => ({
|
|
478
478
|
style: {
|
|
479
479
|
width: "100%",
|
|
480
480
|
height: `${E.value}px`,
|
|
@@ -485,7 +485,7 @@ function un(e, t) {
|
|
|
485
485
|
transform: `translate3d(0, ${w.value}px, 0)`,
|
|
486
486
|
"will-change": "transform"
|
|
487
487
|
}
|
|
488
|
-
})),
|
|
488
|
+
})), _ = {
|
|
489
489
|
overflowY: "auto"
|
|
490
490
|
};
|
|
491
491
|
return {
|
|
@@ -503,13 +503,13 @@ function un(e, t) {
|
|
|
503
503
|
onScroll: () => {
|
|
504
504
|
O();
|
|
505
505
|
},
|
|
506
|
-
style:
|
|
506
|
+
style: _
|
|
507
507
|
},
|
|
508
|
-
wrapperProps:
|
|
508
|
+
wrapperProps: b,
|
|
509
509
|
innerProps: B
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
|
-
const Nt = Symbol(), Ze = Symbol(), Ve = Symbol(), Ke = Symbol(), Ge = Symbol(), qe = Symbol(), Je = Symbol(), et = Symbol(), tt = Symbol(),
|
|
512
|
+
const Nt = Symbol(), Ze = Symbol(), Ve = Symbol(), Ke = Symbol(), Ge = Symbol(), qe = Symbol(), Je = Symbol(), et = Symbol(), tt = Symbol(), Te = Symbol(), nt = Symbol();
|
|
513
513
|
function So() {
|
|
514
514
|
const { voidFn: e, boolFn: t, boolRef: n, numberRef: o, arrayRef: l } = {
|
|
515
515
|
voidFn: (D) => {
|
|
@@ -518,7 +518,7 @@ function So() {
|
|
|
518
518
|
boolRef: j(() => !1),
|
|
519
519
|
numberRef: j(() => 0),
|
|
520
520
|
arrayRef: j(() => [])
|
|
521
|
-
}, s = ee(Nt, "id"), a = ee(Ge, l), f = ee(Ke, t), u = ee(tt, n), r = ee(Ve, e), v = ee(Ze, e), c = ee(qe, e), M = ee(Je, e), d = ee(et, e), i = ee(
|
|
521
|
+
}, s = ee(Nt, "id"), a = ee(Ge, l), f = ee(Ke, t), u = ee(tt, n), r = ee(Ve, e), v = ee(Ze, e), c = ee(qe, e), M = ee(Je, e), d = ee(et, e), i = ee(Te, e), g = ee(nt, o);
|
|
522
522
|
return {
|
|
523
523
|
itemKey: s,
|
|
524
524
|
selected: a,
|
|
@@ -534,7 +534,7 @@ function So() {
|
|
|
534
534
|
};
|
|
535
535
|
}
|
|
536
536
|
function Oo(e, t, n = { deep: !0, useAllFlagOptimizatiofn: !0 }) {
|
|
537
|
-
const o = m(!1), l = m(/* @__PURE__ */ new Set()), s =
|
|
537
|
+
const o = m(!1), l = m(/* @__PURE__ */ new Set()), s = pe(/* @__PURE__ */ new Map());
|
|
538
538
|
G(
|
|
539
539
|
e,
|
|
540
540
|
(h) => {
|
|
@@ -619,7 +619,7 @@ function Oo(e, t, n = { deep: !0, useAllFlagOptimizatiofn: !0 }) {
|
|
|
619
619
|
s.get(p) || h.push(p);
|
|
620
620
|
}), h.forEach((p) => l.value.delete(p));
|
|
621
621
|
}
|
|
622
|
-
return F(Nt, t), F(Ze, w), F(Ve, D), F(Ke, i), F(Ge, a), F(qe, M), F(Je, r), F(et, d), F(tt, u), F(
|
|
622
|
+
return F(Nt, t), F(Ze, w), F(Ve, D), F(Ke, i), F(Ge, a), F(qe, M), F(Je, r), F(et, d), F(tt, u), F(Te, v), F(Te, v), F(nt, f), {
|
|
623
623
|
selected: a,
|
|
624
624
|
select: M,
|
|
625
625
|
selectAll: r,
|
|
@@ -632,7 +632,7 @@ function Oo(e, t, n = { deep: !0, useAllFlagOptimizatiofn: !0 }) {
|
|
|
632
632
|
selectedCount: f
|
|
633
633
|
};
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function bo(e) {
|
|
636
636
|
const t = m(!1), n = m(/* @__PURE__ */ new Set()), o = j(() => {
|
|
637
637
|
let i = [];
|
|
638
638
|
return t.value != null ? t.value && (i = e.value) : n.value.size && (i = Array.from(n.value.values())), i;
|
|
@@ -686,7 +686,7 @@ function _o(e) {
|
|
|
686
686
|
const { value: i } = s;
|
|
687
687
|
i ? f() : a();
|
|
688
688
|
}
|
|
689
|
-
return F(Ze, d), F(Ve, M), F(Ke, v), F(Ge, o), F(qe, u), F(Je, a), F(et, r), F(tt, s), F(
|
|
689
|
+
return F(Ze, d), F(Ve, M), F(Ke, v), F(Ge, o), F(qe, u), F(Je, a), F(et, r), F(tt, s), F(Te, f), F(Te, f), F(nt, l), {
|
|
690
690
|
selected: o,
|
|
691
691
|
select: u,
|
|
692
692
|
selectAll: a,
|
|
@@ -733,18 +733,18 @@ function wt({
|
|
|
733
733
|
height: Math.abs(w.value.y - E.value.y)
|
|
734
734
|
} : { left: 0, top: 0, width: 0, height: 0 }), O = m(!1), { margin: N = 50, startSpeed: T = 30, maxSpeed: I = 30 } = l;
|
|
735
735
|
let Y;
|
|
736
|
-
const y = N, A = T,
|
|
737
|
-
let
|
|
736
|
+
const y = N, A = T, b = I, B = (C) => C ** 1;
|
|
737
|
+
let _ = 0;
|
|
738
738
|
function z(C) {
|
|
739
|
-
if (cancelAnimationFrame(Y),
|
|
740
|
-
Math.min(
|
|
741
|
-
-
|
|
742
|
-
),
|
|
739
|
+
if (cancelAnimationFrame(Y), _ = x(C), _ = Math.max(
|
|
740
|
+
Math.min(_, b),
|
|
741
|
+
-b
|
|
742
|
+
), _ !== 0) {
|
|
743
743
|
const k = g.value;
|
|
744
744
|
if (!k || !D.value)
|
|
745
745
|
return;
|
|
746
746
|
const Z = p.value.height - h.value.height;
|
|
747
|
-
let X = p.value.top + Number(
|
|
747
|
+
let X = p.value.top + Number(_);
|
|
748
748
|
X = Math.min(Math.max(0, X), Z), k.scrollTop = X, $(), Y = requestAnimationFrame(() => z(C));
|
|
749
749
|
}
|
|
750
750
|
}
|
|
@@ -788,7 +788,7 @@ function wt({
|
|
|
788
788
|
w.value.x = C, w.value.y = Z, E.value.x = C, E.value.y = Z, g.value?.classList.add("disable-scroll-behavior"), d.clear(), st();
|
|
789
789
|
}
|
|
790
790
|
function J(C, k, Z) {
|
|
791
|
-
!D.value || (i.value && o === "colum" && !
|
|
791
|
+
!D.value || (i.value && o === "colum" && !Ne() && (O.value || u(), i.value = !1), Z?.(), z(k), E.value.x = Math.max(C, h.value.left), E.value.y = Math.min(
|
|
792
792
|
k + p.value.top,
|
|
793
793
|
p.value.height + h.value.top
|
|
794
794
|
), E.value.scrollTop = p.value.top, v.value());
|
|
@@ -797,19 +797,19 @@ function wt({
|
|
|
797
797
|
D.value = !1, g.value?.classList.remove("disable-scroll-behavior");
|
|
798
798
|
}
|
|
799
799
|
function oe() {
|
|
800
|
-
!D.value || (
|
|
800
|
+
!D.value || (_ || $(), v.value());
|
|
801
801
|
}
|
|
802
|
-
function
|
|
802
|
+
function Ne() {
|
|
803
803
|
if (!D.value)
|
|
804
804
|
return !1;
|
|
805
805
|
const { width: C, height: k } = S.value;
|
|
806
806
|
return !(Math.max(C, k) > 5);
|
|
807
807
|
}
|
|
808
808
|
function jt() {
|
|
809
|
-
|
|
809
|
+
Ne() && u();
|
|
810
810
|
}
|
|
811
811
|
function xt() {
|
|
812
|
-
|
|
812
|
+
Ne() || g.value?.querySelectorAll(`[${n}]`).forEach((C) => {
|
|
813
813
|
r[c.value] = M(
|
|
814
814
|
C.getAttribute(`${n}`)
|
|
815
815
|
), U(C.getBoundingClientRect()) ? a([r]) : O.value || f([r]);
|
|
@@ -837,7 +837,7 @@ function wt({
|
|
|
837
837
|
dragMove: J,
|
|
838
838
|
dragEnd: V,
|
|
839
839
|
onScroll: oe,
|
|
840
|
-
isSingleClick:
|
|
840
|
+
isSingleClick: Ne,
|
|
841
841
|
cancelSelectAllBySingleClick: jt,
|
|
842
842
|
selectFn: v,
|
|
843
843
|
getAttributeValue: M,
|
|
@@ -847,7 +847,7 @@ function wt({
|
|
|
847
847
|
containerEl: g
|
|
848
848
|
};
|
|
849
849
|
}
|
|
850
|
-
function
|
|
850
|
+
function _o(e, t = !1) {
|
|
851
851
|
const n = wt(e), { selectRange: o } = n, {
|
|
852
852
|
onScroll: l,
|
|
853
853
|
dragStart: s,
|
|
@@ -895,7 +895,7 @@ function bo(e, t = !1) {
|
|
|
895
895
|
throw "\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";
|
|
896
896
|
if (!n.containerEl?.value)
|
|
897
897
|
return !1;
|
|
898
|
-
|
|
898
|
+
De(ue(c), n.containerEl.value), v(), n.containerEl.value?.addEventListener("scroll", l), n.containerEl.value?.addEventListener("mousedown", M);
|
|
899
899
|
} catch (E) {
|
|
900
900
|
console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25", E);
|
|
901
901
|
}
|
|
@@ -991,18 +991,18 @@ const rn = Symbol(), cn = /* @__PURE__ */ q({
|
|
|
991
991
|
const n = e, o = () => {
|
|
992
992
|
n.onClickOverlay?.(), n.closeOnClickOverlay && t("update:visiable", !1);
|
|
993
993
|
};
|
|
994
|
-
return F(rn, () => t("update:visiable", !1)), (l, s) => (
|
|
994
|
+
return F(rn, () => t("update:visiable", !1)), (l, s) => (H(), Ie(Ue, { name: "modal" }, {
|
|
995
995
|
default: Re(() => [
|
|
996
|
-
e.visiable ? re((
|
|
996
|
+
e.visiable ? re((H(), P("div", {
|
|
997
997
|
key: 0,
|
|
998
998
|
class: se([e.hiddenOverlay ? "no-overlay-modal" : "lzc-modal", e.modalClass])
|
|
999
999
|
}, [
|
|
1000
|
-
|
|
1001
|
-
onMousedown: s[0] || (s[0] =
|
|
1000
|
+
R("div", {
|
|
1001
|
+
onMousedown: s[0] || (s[0] = ye(() => {
|
|
1002
1002
|
}, ["stop"])),
|
|
1003
1003
|
class: se(["lzc-dialog", e.dialogClass])
|
|
1004
1004
|
}, [
|
|
1005
|
-
|
|
1005
|
+
ge(l.$slots, "default", {}, void 0, !0)
|
|
1006
1006
|
], 34)
|
|
1007
1007
|
], 2)), [
|
|
1008
1008
|
[L(Ft), () => o()]
|
|
@@ -1037,7 +1037,7 @@ function Qo(e) {
|
|
|
1037
1037
|
);
|
|
1038
1038
|
}
|
|
1039
1039
|
};
|
|
1040
|
-
return document.body.appendChild(l),
|
|
1040
|
+
return document.body.appendChild(l), De(ue(s), l), {
|
|
1041
1041
|
close: () => l?.remove()
|
|
1042
1042
|
};
|
|
1043
1043
|
}
|
|
@@ -1088,8 +1088,8 @@ function Yo({
|
|
|
1088
1088
|
}
|
|
1089
1089
|
return { LoadingComp: o, loading: l, load: s, unload: a };
|
|
1090
1090
|
}
|
|
1091
|
-
const dn = (e) => (Ae("data-v-92a1804d"), e = e(), ze(), e), vn = /* @__PURE__ */ dn(() => /* @__PURE__ */
|
|
1092
|
-
/* @__PURE__ */
|
|
1091
|
+
const dn = (e) => (Ae("data-v-92a1804d"), e = e(), ze(), e), vn = /* @__PURE__ */ dn(() => /* @__PURE__ */ R("div", { class: "ldio-mm5gwljcryb" }, [
|
|
1092
|
+
/* @__PURE__ */ R("div")
|
|
1093
1093
|
], -1)), Mn = [
|
|
1094
1094
|
vn
|
|
1095
1095
|
], gn = /* @__PURE__ */ q({
|
|
@@ -1102,7 +1102,7 @@ const dn = (e) => (Ae("data-v-92a1804d"), e = e(), ze(), e), vn = /* @__PURE__ *
|
|
|
1102
1102
|
return He((t) => ({
|
|
1103
1103
|
"4e4a9ce4": e.width + "px",
|
|
1104
1104
|
e56fe5c2: e.height + "px"
|
|
1105
|
-
})), (t, n) => (
|
|
1105
|
+
})), (t, n) => (H(), P("div", _e(ke(t.$attrs)), Mn, 16));
|
|
1106
1106
|
}
|
|
1107
1107
|
});
|
|
1108
1108
|
const hn = /* @__PURE__ */ ne(gn, [["__scopeId", "data-v-92a1804d"]]), mn = "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", yn = { class: "loading-wrap" }, pn = ["src"], Dn = /* @__PURE__ */ q({
|
|
@@ -1120,8 +1120,8 @@ const hn = /* @__PURE__ */ ne(gn, [["__scopeId", "data-v-92a1804d"]]), mn = "dat
|
|
|
1120
1120
|
const o = {};
|
|
1121
1121
|
return t.size === "mini" ? (o.width = "22px", o.height = "22px") : t.size === "large" && (o.width = "28px", o.height = "28px"), o;
|
|
1122
1122
|
});
|
|
1123
|
-
return (o, l) => (
|
|
1124
|
-
|
|
1123
|
+
return (o, l) => (H(), P("div", yn, [
|
|
1124
|
+
R("img", {
|
|
1125
1125
|
class: "loading-circle",
|
|
1126
1126
|
src: L(mn),
|
|
1127
1127
|
style: K(L(n))
|
|
@@ -1173,39 +1173,39 @@ const Tn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4Ii
|
|
|
1173
1173
|
function u() {
|
|
1174
1174
|
n.closeOnClick && t("close");
|
|
1175
1175
|
}
|
|
1176
|
-
return (r, v) => (
|
|
1176
|
+
return (r, v) => (H(), Ie(Ue, {
|
|
1177
1177
|
"enter-active-class": "lzc-animate-fade-in lzc-animate-duration-300",
|
|
1178
1178
|
"leave-active-class": "lzc-animate-fade-out lzc-animate-duration-300"
|
|
1179
1179
|
}, {
|
|
1180
1180
|
default: Re(() => [
|
|
1181
|
-
|
|
1181
|
+
R("div", {
|
|
1182
1182
|
id: o,
|
|
1183
1183
|
style: K(L(l))
|
|
1184
1184
|
}, [
|
|
1185
|
-
re(
|
|
1185
|
+
re(R("div", {
|
|
1186
1186
|
class: se(`${o} ${e.className}`),
|
|
1187
|
-
onClick:
|
|
1187
|
+
onClick: ye(f, ["stop"])
|
|
1188
1188
|
}, [
|
|
1189
|
-
|
|
1189
|
+
R("div", {
|
|
1190
1190
|
class: se(`${o}-wrap`),
|
|
1191
|
-
onClick:
|
|
1191
|
+
onClick: ye(u, ["stop"])
|
|
1192
1192
|
}, [
|
|
1193
|
-
|
|
1193
|
+
R("div", {
|
|
1194
1194
|
class: se(`${o}-content`),
|
|
1195
1195
|
style: K(L(s))
|
|
1196
1196
|
}, [
|
|
1197
|
-
e.showClose ? (
|
|
1197
|
+
e.showClose ? (H(), P("img", {
|
|
1198
1198
|
key: 0,
|
|
1199
|
-
onClick: v[0] || (v[0] =
|
|
1199
|
+
onClick: v[0] || (v[0] = ye((c) => t("close"), ["stop"])),
|
|
1200
1200
|
src: L(Tn),
|
|
1201
1201
|
class: se(`${o}-close`)
|
|
1202
1202
|
}, null, 10, In)) : fe("", !0),
|
|
1203
|
-
e.showIcon ? (
|
|
1203
|
+
e.showIcon ? (H(), P("img", {
|
|
1204
1204
|
key: 1,
|
|
1205
1205
|
src: e.icon || L(Nn),
|
|
1206
1206
|
class: se(`${o}-icon`)
|
|
1207
1207
|
}, null, 10, An)) : fe("", !0),
|
|
1208
|
-
e.message ? (
|
|
1208
|
+
e.message ? (H(), P("div", {
|
|
1209
1209
|
key: 2,
|
|
1210
1210
|
class: se(`${o}-message`),
|
|
1211
1211
|
style: K(L(a))
|
|
@@ -1234,8 +1234,8 @@ class jn {
|
|
|
1234
1234
|
async show() {
|
|
1235
1235
|
const t = this.options, o = { ...t, onClose: () => {
|
|
1236
1236
|
this.close(), t?.onClose?.();
|
|
1237
|
-
} }, l =
|
|
1238
|
-
|
|
1237
|
+
} }, l = he(this.loadingToast, o);
|
|
1238
|
+
De(l, this.el), document.body.insertBefore(this.el, document.body.firstChild), this.visible.value = !0, t.duration !== 0 && setTimeout(() => {
|
|
1239
1239
|
this.destory();
|
|
1240
1240
|
}, t.duration), await ot(t.duration + this.animateDuration);
|
|
1241
1241
|
}
|
|
@@ -1344,7 +1344,7 @@ function On(e) {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
return { startTap: l, checkTap: s };
|
|
1346
1346
|
}
|
|
1347
|
-
function
|
|
1347
|
+
function bn(e, t) {
|
|
1348
1348
|
const n = m(!1);
|
|
1349
1349
|
function o() {
|
|
1350
1350
|
n.value || (n.value = !0, L(e)?.addEventListener("transitionend", l));
|
|
@@ -1354,7 +1354,7 @@ function _n(e, t) {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
return { transitioning: n, startTransition: o };
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function _n(e, t, n, o) {
|
|
1358
1358
|
var l = Math.min(
|
|
1359
1359
|
n / e,
|
|
1360
1360
|
o / t
|
|
@@ -1373,7 +1373,7 @@ function Oe(e, t, n) {
|
|
|
1373
1373
|
function ae(e, t = 2) {
|
|
1374
1374
|
return parseFloat(e.toFixed(t));
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1376
|
+
function be(e, t, n) {
|
|
1377
1377
|
return e = ae(e), t = ae(t), `translate3d(${e}px, ${t}px, 0) scale3d(${n},${n},${n})`;
|
|
1378
1378
|
}
|
|
1379
1379
|
function ct(e) {
|
|
@@ -1388,14 +1388,14 @@ function Qn(e) {
|
|
|
1388
1388
|
};
|
|
1389
1389
|
}
|
|
1390
1390
|
function It(e) {
|
|
1391
|
-
const t = m(!1), n = m(1), o = m(9), l = m(), s = m(), a = m({ width: 0, height: 0 }), f = m({ width: 0, height: 0 }), u =
|
|
1391
|
+
const t = m(!1), n = m(1), o = m(9), l = m(), s = m(), a = m({ width: 0, height: 0 }), f = m({ width: 0, height: 0 }), u = pe({
|
|
1392
1392
|
level: 1,
|
|
1393
1393
|
offsetX: 0,
|
|
1394
1394
|
offsetY: 0,
|
|
1395
1395
|
zooming: !1,
|
|
1396
1396
|
preview: !0,
|
|
1397
1397
|
lastCenter: { x: 0, y: 0 }
|
|
1398
|
-
}), r = m({}), v = Cn(), c =
|
|
1398
|
+
}), r = m({}), v = Cn(), c = bn(s, {
|
|
1399
1399
|
onComplate() {
|
|
1400
1400
|
u.preview || D();
|
|
1401
1401
|
}
|
|
@@ -1431,24 +1431,24 @@ function It(e) {
|
|
|
1431
1431
|
const A = s.value;
|
|
1432
1432
|
if (!A)
|
|
1433
1433
|
return;
|
|
1434
|
-
const { scrollTop:
|
|
1434
|
+
const { scrollTop: b, scrollLeft: B } = A, { width: _, height: z } = a.value, { scaleW: x, scaleH: U } = O(y), { top: $, left: Q } = N(x, U), W = Q != 0 ? Q : B * -1, J = $ != 0 ? $ : b * -1;
|
|
1435
1435
|
A.scrollTop = 0, A.scrollLeft = 0;
|
|
1436
1436
|
const { value: V } = r;
|
|
1437
|
-
V.width = `${
|
|
1437
|
+
V.width = `${_}px`, V.height = `${z}px`, V.maxHeight = "none", V.transitionDuration = "0s", V.transform = be(W, J, y), r.value = V, await Me(), u.offsetX = W, u.offsetY = J, await ot(20);
|
|
1438
1438
|
}
|
|
1439
1439
|
async function D(y, A) {
|
|
1440
1440
|
if (!A && u.preview)
|
|
1441
1441
|
return;
|
|
1442
1442
|
u.preview = !0, y = y ?? u.level;
|
|
1443
|
-
const { value:
|
|
1444
|
-
y === 1 && (
|
|
1443
|
+
const { value: b } = r, { scaleW: B, scaleH: _ } = O(y), { left: z, top: x } = N(B, _);
|
|
1444
|
+
y === 1 && (b.maxHeight = "100%"), b.width = `${B}px`, b.height = `${_}px`, b.transitionDuration = "0s", b.transform = be(z, x, 1), r.value = b, await Me();
|
|
1445
1445
|
const U = s.value;
|
|
1446
1446
|
if (!U)
|
|
1447
1447
|
return;
|
|
1448
1448
|
const { offsetX: $, offsetY: Q } = u;
|
|
1449
1449
|
$ < 0 && (U.scrollLeft = Math.abs($)), Q < 0 && (U.scrollTop = Math.abs(Q));
|
|
1450
1450
|
}
|
|
1451
|
-
async function w(y, A,
|
|
1451
|
+
async function w(y, A, b) {
|
|
1452
1452
|
if (t.value || (y = ae(y), y = Oe(
|
|
1453
1453
|
y,
|
|
1454
1454
|
n.value - n.value * 0.5,
|
|
@@ -1456,14 +1456,14 @@ function It(e) {
|
|
|
1456
1456
|
), y == u.level))
|
|
1457
1457
|
return;
|
|
1458
1458
|
u.preview && await g(), A || (A = { x: v.startX.value, y: v.startY.value });
|
|
1459
|
-
const { value: B } = r, { width:
|
|
1460
|
-
left: Math.abs(
|
|
1459
|
+
const { value: B } = r, { width: _, height: z } = a.value, { scaleW: x, scaleH: U } = O(y), { top: $, left: Q } = N(x, U), W = y / u.level, J = {
|
|
1460
|
+
left: Math.abs(_ * y - f.value.width) * -1,
|
|
1461
1461
|
top: Math.abs(z * y - f.value.height) * -1,
|
|
1462
1462
|
right: Q,
|
|
1463
1463
|
bottom: $
|
|
1464
1464
|
};
|
|
1465
1465
|
let V = Q != 0 ? Q : (u.offsetX - A.x) * W + A.x, oe = $ != 0 ? $ : (u.offsetY - A.y) * W + A.y;
|
|
1466
|
-
V = ae(Oe(V, J.left, J.right)), oe = ae(Oe(oe, J.top, J.bottom)), B.width = `${
|
|
1466
|
+
V = ae(Oe(V, J.left, J.right)), oe = ae(Oe(oe, J.top, J.bottom)), B.width = `${_}px`, B.height = `${z}px`, B.transitionDuration = b ? kn(y) : "0s", B.transform = be(V, oe, y), u.offsetX = V, u.offsetY = oe, u.level = y, r.value = B, await Me(), b && c.startTransition(), e.onScale?.(y);
|
|
1467
1467
|
}
|
|
1468
1468
|
function E() {
|
|
1469
1469
|
const y = u.level > 1 ? 1 : S();
|
|
@@ -1472,8 +1472,8 @@ function It(e) {
|
|
|
1472
1472
|
function h(y, A) {
|
|
1473
1473
|
if (!u.preview)
|
|
1474
1474
|
return;
|
|
1475
|
-
const
|
|
1476
|
-
!
|
|
1475
|
+
const b = s.value;
|
|
1476
|
+
!b || b.scrollTo({
|
|
1477
1477
|
left: u.offsetX - y,
|
|
1478
1478
|
top: u.offsetY - A
|
|
1479
1479
|
});
|
|
@@ -1482,38 +1482,38 @@ function It(e) {
|
|
|
1482
1482
|
u.level >= n.value && u.level <= o.value ? u.zooming && await D() : u.level < n.value ? await w(n.value, void 0, !0) : u.level > o.value && await w(o.value, u.lastCenter, !0), u.zooming = !1;
|
|
1483
1483
|
}
|
|
1484
1484
|
function S() {
|
|
1485
|
-
const { width: y, height: A } = a.value, { width:
|
|
1485
|
+
const { width: y, height: A } = a.value, { width: b, height: B } = f.value, _ = 2.5;
|
|
1486
1486
|
let z;
|
|
1487
|
-
return A == B ? (z =
|
|
1487
|
+
return A == B ? (z = b / y, z - 1 < 0.1 && (z = _)) : z = Math.max(_, b / y, B / A), z;
|
|
1488
1488
|
}
|
|
1489
1489
|
function O(y) {
|
|
1490
|
-
const { width: A, height:
|
|
1490
|
+
const { width: A, height: b } = a.value;
|
|
1491
1491
|
return {
|
|
1492
1492
|
scaleW: ae(y * A),
|
|
1493
|
-
scaleH: ae(y *
|
|
1493
|
+
scaleH: ae(y * b)
|
|
1494
1494
|
};
|
|
1495
1495
|
}
|
|
1496
1496
|
function N(y, A) {
|
|
1497
|
-
const { width:
|
|
1498
|
-
return { top:
|
|
1497
|
+
const { width: b, height: B } = f.value, _ = Math.max(0, (B - A) * 0.5), z = Math.max(0, (b - y) * 0.5);
|
|
1498
|
+
return { top: _, left: z };
|
|
1499
1499
|
}
|
|
1500
1500
|
async function T(y, A) {
|
|
1501
1501
|
if (y = y ?? l.value, A = A ?? s.value, !A)
|
|
1502
1502
|
return;
|
|
1503
|
-
let
|
|
1503
|
+
let b, { clientWidth: B = 0, clientHeight: _ = 0 } = y || {};
|
|
1504
1504
|
const { clientWidth: z, clientHeight: x } = A;
|
|
1505
|
-
if (y instanceof HTMLImageElement ?
|
|
1506
|
-
const U =
|
|
1507
|
-
|
|
1508
|
-
|
|
1505
|
+
if (y instanceof HTMLImageElement ? b = { width: y.naturalWidth, height: y.naturalHeight } : y instanceof HTMLVideoElement && (b = { width: y.videoWidth, height: y.videoHeight }), b) {
|
|
1506
|
+
const U = _n(
|
|
1507
|
+
b.width,
|
|
1508
|
+
b.height,
|
|
1509
1509
|
z,
|
|
1510
1510
|
x
|
|
1511
1511
|
);
|
|
1512
|
-
B = U.width,
|
|
1512
|
+
B = U.width, _ = U.height;
|
|
1513
1513
|
}
|
|
1514
|
-
(B === 0 ||
|
|
1514
|
+
(B === 0 || _ === 0) && (B = a.value.width || z, _ = a.value.height || x), a.value = {
|
|
1515
1515
|
width: Math.min(B, z),
|
|
1516
|
-
height: Math.min(
|
|
1516
|
+
height: Math.min(_, x)
|
|
1517
1517
|
}, f.value = { width: z, height: x }, D(void 0, !0);
|
|
1518
1518
|
}
|
|
1519
1519
|
function I() {
|
|
@@ -1582,7 +1582,7 @@ function Ro(e) {
|
|
|
1582
1582
|
}), { state: n, touch: o, gesture: l, transition: s } = t;
|
|
1583
1583
|
let a = !1, f = null;
|
|
1584
1584
|
const u = { top: 0, left: 0 }, r = je(D, 150), { onSwipeEdge: v } = At(t, e.onSwipeEdge), c = m({ top: 0, left: 0 });
|
|
1585
|
-
|
|
1585
|
+
we("keyup", E), we("keydown", w);
|
|
1586
1586
|
function M(h) {
|
|
1587
1587
|
const p = t.containerRef.value;
|
|
1588
1588
|
if (!p)
|
|
@@ -1668,7 +1668,7 @@ function Ho(e) {
|
|
|
1668
1668
|
return { core: t, onTouchStart: v, onTouchMove: c, onTouchEnd: M };
|
|
1669
1669
|
}
|
|
1670
1670
|
function $o() {
|
|
1671
|
-
const e =
|
|
1671
|
+
const e = pe({
|
|
1672
1672
|
scale: 1,
|
|
1673
1673
|
startX: 0,
|
|
1674
1674
|
startY: 0,
|
|
@@ -1762,18 +1762,18 @@ const Un = ["onClick"], Rn = /* @__PURE__ */ q({
|
|
|
1762
1762
|
}
|
|
1763
1763
|
return Me(() => {
|
|
1764
1764
|
o.value = n.value.offsetWidth / 2, l.value = n.value.offsetHeight / 2;
|
|
1765
|
-
}), (r, v) => (
|
|
1766
|
-
onClick:
|
|
1765
|
+
}), (r, v) => (H(), P("div", {
|
|
1766
|
+
onClick: ye(u, ["stop"]),
|
|
1767
1767
|
id: "toastWrapper",
|
|
1768
1768
|
ref_key: "toastWrapper",
|
|
1769
1769
|
ref: n,
|
|
1770
1770
|
class: "toastWrapper",
|
|
1771
1771
|
style: K([L(a), { zIndex: 9999999 }])
|
|
1772
1772
|
}, [
|
|
1773
|
-
|
|
1773
|
+
R("div", {
|
|
1774
1774
|
style: K(L(f))
|
|
1775
1775
|
}, [
|
|
1776
|
-
|
|
1776
|
+
R("span", null, $e(e.message), 1)
|
|
1777
1777
|
], 4)
|
|
1778
1778
|
], 12, Un));
|
|
1779
1779
|
}
|
|
@@ -1793,7 +1793,7 @@ class Fo {
|
|
|
1793
1793
|
}
|
|
1794
1794
|
present() {
|
|
1795
1795
|
const t = ue(ue(Hn), { ...ft, ...this.options });
|
|
1796
|
-
|
|
1796
|
+
De(t, this.container), document.body.insertBefore(this.container, document.body.firstChild);
|
|
1797
1797
|
const n = this.options.duration || ft.duration;
|
|
1798
1798
|
setTimeout(() => {
|
|
1799
1799
|
this.dismiss();
|
|
@@ -1805,12 +1805,12 @@ class Fo {
|
|
|
1805
1805
|
"#toastWrapper"
|
|
1806
1806
|
);
|
|
1807
1807
|
t.style.opacity = "0", t.style.transition = "opacity 0.4s ease-in", setTimeout(() => {
|
|
1808
|
-
this.container && (
|
|
1808
|
+
this.container && (De(null, this.container), document.body.removeChild(this.container));
|
|
1809
1809
|
}, 500);
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|
|
1812
1812
|
}
|
|
1813
|
-
const $n = ["xlink:href", "fill", "color"],
|
|
1813
|
+
const $n = ["xlink:href", "fill", "color"], Ee = /* @__PURE__ */ q({
|
|
1814
1814
|
__name: "SvgIcon",
|
|
1815
1815
|
props: {
|
|
1816
1816
|
name: null,
|
|
@@ -1829,11 +1829,11 @@ const $n = ["xlink:href", "fill", "color"], we = /* @__PURE__ */ q({
|
|
|
1829
1829
|
const { style: a } = s;
|
|
1830
1830
|
return typeof a == "object" ? a : {};
|
|
1831
1831
|
}
|
|
1832
|
-
return (s, a) => (
|
|
1832
|
+
return (s, a) => (H(), P("svg", {
|
|
1833
1833
|
"aria-hidden": "",
|
|
1834
1834
|
style: K({ ...L(o), ...l(s.$attrs) })
|
|
1835
1835
|
}, [
|
|
1836
|
-
|
|
1836
|
+
R("use", {
|
|
1837
1837
|
"xlink:href": L(n),
|
|
1838
1838
|
fill: e.color,
|
|
1839
1839
|
color: e.color
|
|
@@ -1888,15 +1888,15 @@ function Pn(e) {
|
|
|
1888
1888
|
});
|
|
1889
1889
|
}
|
|
1890
1890
|
function A() {
|
|
1891
|
-
D.value ||
|
|
1891
|
+
D.value || b();
|
|
1892
1892
|
}
|
|
1893
|
-
function
|
|
1893
|
+
function b() {
|
|
1894
1894
|
cancelAnimationFrame(r), r = requestAnimationFrame(B);
|
|
1895
1895
|
}
|
|
1896
1896
|
function B() {
|
|
1897
1897
|
t.value && (c.value = l.scrollTop?.value ?? t.value.scrollTop, d.value = c.value / h.value * E.value);
|
|
1898
1898
|
}
|
|
1899
|
-
function
|
|
1899
|
+
function _(Q) {
|
|
1900
1900
|
let W = "addEventListener";
|
|
1901
1901
|
Q === "add" ? W = "addEventListener" : W = "removeEventListener", n.value?.[W]("pointerdown", N, {
|
|
1902
1902
|
passive: !0
|
|
@@ -1921,7 +1921,7 @@ function Pn(e) {
|
|
|
1921
1921
|
if (t.value && n.value) {
|
|
1922
1922
|
t.value.classList.add("hide-scrollbar"), t.value.addEventListener("scroll", A, {
|
|
1923
1923
|
passive: !0
|
|
1924
|
-
}),
|
|
1924
|
+
}), _("add");
|
|
1925
1925
|
const Q = {};
|
|
1926
1926
|
a === "classList" ? Object.assign(Q, { subtree: !0, childList: !0 }) : Object.assign(Q, {
|
|
1927
1927
|
subtree: !0,
|
|
@@ -1944,11 +1944,11 @@ function Pn(e) {
|
|
|
1944
1944
|
sliderPos: O,
|
|
1945
1945
|
sliderRollableHeight: E,
|
|
1946
1946
|
init: $,
|
|
1947
|
-
modifySliderEventListener:
|
|
1947
|
+
modifySliderEventListener: _,
|
|
1948
1948
|
heightRatio: p
|
|
1949
1949
|
};
|
|
1950
1950
|
}
|
|
1951
|
-
const Fn = (e) => (Ae("data-v-7fd39e51"), e = e(), ze(), e), Wn = /* @__PURE__ */ Fn(() => /* @__PURE__ */
|
|
1951
|
+
const Fn = (e) => (Ae("data-v-7fd39e51"), e = e(), ze(), e), Wn = /* @__PURE__ */ Fn(() => /* @__PURE__ */ R("div", { class: "default-slider" }, null, -1)), Xn = /* @__PURE__ */ q({
|
|
1952
1952
|
__name: "ScrollBar",
|
|
1953
1953
|
props: {
|
|
1954
1954
|
containerEl: null,
|
|
@@ -1988,9 +1988,9 @@ const Fn = (e) => (Ae("data-v-7fd39e51"), e = e(), ze(), e), Wn = /* @__PURE__ *
|
|
|
1988
1988
|
function g() {
|
|
1989
1989
|
c.value = !1;
|
|
1990
1990
|
}
|
|
1991
|
-
return t({ uScrollBarReturn: a }), (D, w) => (
|
|
1991
|
+
return t({ uScrollBarReturn: a }), (D, w) => (H(), Ie(Ue, null, {
|
|
1992
1992
|
default: Re(() => [
|
|
1993
|
-
re(
|
|
1993
|
+
re(R("div", {
|
|
1994
1994
|
ref_key: "sliderRef",
|
|
1995
1995
|
ref: l,
|
|
1996
1996
|
class: "slider-wrapper",
|
|
@@ -1998,7 +1998,7 @@ const Fn = (e) => (Ae("data-v-7fd39e51"), e = e(), ze(), e), Wn = /* @__PURE__ *
|
|
|
1998
1998
|
onMouseleave: g,
|
|
1999
1999
|
style: K(L(r))
|
|
2000
2000
|
}, [
|
|
2001
|
-
|
|
2001
|
+
ge(D.$slots, "default", {}, () => [
|
|
2002
2002
|
Wn
|
|
2003
2003
|
], !0)
|
|
2004
2004
|
], 36), [
|
|
@@ -2015,7 +2015,7 @@ const Wo = /* @__PURE__ */ ne(Xn, [["__scopeId", "data-v-7fd39e51"]]), Zn = (e)
|
|
|
2015
2015
|
}, Gn = {
|
|
2016
2016
|
key: 0,
|
|
2017
2017
|
class: "box-load"
|
|
2018
|
-
}, qn = { class: "left-load" }, Jn = { class: "right-load" }, eo = /* @__PURE__ */ Zn(() => /* @__PURE__ */
|
|
2018
|
+
}, qn = { class: "left-load" }, Jn = { class: "right-load" }, eo = /* @__PURE__ */ Zn(() => /* @__PURE__ */ R("div", { class: "among-load" }, null, -1)), to = { class: "pull-arrow" }, no = { key: 1 }, oo = /* @__PURE__ */ q({
|
|
2019
2019
|
__name: "PullRefresh",
|
|
2020
2020
|
props: {
|
|
2021
2021
|
refresh: null,
|
|
@@ -2070,33 +2070,33 @@ const Wo = /* @__PURE__ */ ne(Xn, [["__scopeId", "data-v-7fd39e51"]]), Zn = (e)
|
|
|
2070
2070
|
t?.refreshOff || (O.value = document.querySelector(
|
|
2071
2071
|
t.pullRefreshContainer
|
|
2072
2072
|
), O.value?.addEventListener("touchstart", h), O.value?.addEventListener("touchmove", p), O.value?.addEventListener("touchend", S));
|
|
2073
|
-
}), (N, T) => (
|
|
2074
|
-
|
|
2073
|
+
}), (N, T) => (H(), P("div", Vn, [
|
|
2074
|
+
R("div", {
|
|
2075
2075
|
class: "pull-refresh-box",
|
|
2076
2076
|
style: K(L(D))
|
|
2077
2077
|
}, [
|
|
2078
|
-
i.value ? (
|
|
2079
|
-
d.value == 2 ? (
|
|
2080
|
-
|
|
2081
|
-
|
|
2078
|
+
i.value ? (H(), P("div", no, $e(i.value), 1)) : (H(), P("div", Kn, [
|
|
2079
|
+
d.value == 2 ? (H(), P("div", Gn, [
|
|
2080
|
+
R("div", qn, [
|
|
2081
|
+
R("div", {
|
|
2082
2082
|
class: "left-circle",
|
|
2083
2083
|
style: K({ backgroundColor: o })
|
|
2084
2084
|
}, null, 4)
|
|
2085
2085
|
]),
|
|
2086
|
-
|
|
2087
|
-
|
|
2086
|
+
R("div", Jn, [
|
|
2087
|
+
R("div", {
|
|
2088
2088
|
class: "right-circle",
|
|
2089
2089
|
style: K({ backgroundColor: o })
|
|
2090
2090
|
}, null, 4)
|
|
2091
2091
|
]),
|
|
2092
2092
|
eo
|
|
2093
|
-
])) : (
|
|
2093
|
+
])) : (H(), P("div", {
|
|
2094
2094
|
key: 1,
|
|
2095
2095
|
class: "pull-circle-line",
|
|
2096
2096
|
style: K(L(w))
|
|
2097
2097
|
}, [
|
|
2098
|
-
|
|
2099
|
-
|
|
2098
|
+
R("div", to, [
|
|
2099
|
+
R("div", {
|
|
2100
2100
|
class: se(["arrows", { opacity: u.value }]),
|
|
2101
2101
|
style: K({ borderBottomColor: o })
|
|
2102
2102
|
}, null, 6)
|
|
@@ -2143,25 +2143,25 @@ const lo = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-df5da876"]]), so = ["da
|
|
|
2143
2143
|
function M(d, i) {
|
|
2144
2144
|
return o.getItemKey ? o.getItemKey(d, i) : `${i}`;
|
|
2145
2145
|
}
|
|
2146
|
-
return (d, i) => (
|
|
2147
|
-
|
|
2146
|
+
return (d, i) => (H(), P(Qe, null, [
|
|
2147
|
+
he(lo, {
|
|
2148
2148
|
refresh: e.refresh,
|
|
2149
2149
|
refreshOff: e.refreshOff,
|
|
2150
2150
|
scrollTop: L(v),
|
|
2151
2151
|
pullRefreshContainer: "#" + c
|
|
2152
2152
|
}, null, 8, ["refresh", "refreshOff", "scrollTop", "pullRefreshContainer"]),
|
|
2153
|
-
|
|
2153
|
+
R("div", {
|
|
2154
2154
|
class: "virtualListWrapper",
|
|
2155
2155
|
id: c
|
|
2156
2156
|
}, [
|
|
2157
|
-
|
|
2157
|
+
R("div", me({
|
|
2158
2158
|
onScrollPassive: i[0] || (i[0] = (...g) => L(a).onScroll && L(a).onScroll(...g)),
|
|
2159
2159
|
ref: L(a).ref,
|
|
2160
2160
|
class: "virtualList"
|
|
2161
2161
|
}, d.$attrs), [
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
(
|
|
2162
|
+
R("div", _e(ke(L(f))), [
|
|
2163
|
+
R("div", _e(ke(L(u))), [
|
|
2164
|
+
(H(!0), P(Qe, null, $t(L(s), ({ data: g, index: D }) => (H(), P("div", {
|
|
2165
2165
|
key: M(g, D),
|
|
2166
2166
|
"data-key": M(g, D),
|
|
2167
2167
|
style: K({
|
|
@@ -2169,7 +2169,7 @@ const lo = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-df5da876"]]), so = ["da
|
|
|
2169
2169
|
display: "flex"
|
|
2170
2170
|
})
|
|
2171
2171
|
}, [
|
|
2172
|
-
|
|
2172
|
+
ge(d.$slots, "default", {
|
|
2173
2173
|
data: g,
|
|
2174
2174
|
index: D
|
|
2175
2175
|
}, void 0, !0)
|
|
@@ -2181,14 +2181,14 @@ const lo = /* @__PURE__ */ ne(oo, [["__scopeId", "data-v-df5da876"]]), so = ["da
|
|
|
2181
2181
|
], 64));
|
|
2182
2182
|
}
|
|
2183
2183
|
});
|
|
2184
|
-
const Xo = /* @__PURE__ */ ne(io, [["__scopeId", "data-v-dfe60586"]]), lt = (e) => (Ae("data-v-33519afd"), e = e(), ze(), e), uo = { style: { position: "absolute" } }, ro = /* @__PURE__ */ lt(() => /* @__PURE__ */
|
|
2184
|
+
const Xo = /* @__PURE__ */ ne(io, [["__scopeId", "data-v-dfe60586"]]), lt = (e) => (Ae("data-v-33519afd"), e = e(), ze(), e), uo = { style: { position: "absolute" } }, ro = /* @__PURE__ */ lt(() => /* @__PURE__ */ R("div", { class: "wrapper" }, null, -1)), co = ["width", "height"], fo = /* @__PURE__ */ lt(() => /* @__PURE__ */ R("title", null, "logo", -1)), vo = /* @__PURE__ */ lt(() => /* @__PURE__ */ R("g", {
|
|
2185
2185
|
id: "group-1",
|
|
2186
2186
|
stroke: "none",
|
|
2187
2187
|
"stroke-width": "1",
|
|
2188
2188
|
fill: "none",
|
|
2189
2189
|
"fill-rule": "evenodd"
|
|
2190
2190
|
}, [
|
|
2191
|
-
/* @__PURE__ */
|
|
2191
|
+
/* @__PURE__ */ R("path", {
|
|
2192
2192
|
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",
|
|
2193
2193
|
id: "path-1",
|
|
2194
2194
|
fill: "#FFF"
|
|
@@ -2209,9 +2209,9 @@ const Xo = /* @__PURE__ */ ne(io, [["__scopeId", "data-v-dfe60586"]]), lt = (e)
|
|
|
2209
2209
|
"312487ac": n
|
|
2210
2210
|
}));
|
|
2211
2211
|
const n = `${t.duration}ms`;
|
|
2212
|
-
return (o, l) => (
|
|
2212
|
+
return (o, l) => (H(), P("div", uo, [
|
|
2213
2213
|
ro,
|
|
2214
|
-
(
|
|
2214
|
+
(H(), P("svg", {
|
|
2215
2215
|
style: { position: "relative" },
|
|
2216
2216
|
width: e.width,
|
|
2217
2217
|
height: e.height,
|
|
@@ -2295,24 +2295,24 @@ const mo = ["title"], yo = { class: "tip" }, po = /* @__PURE__ */ Pt("\u5F53\u52
|
|
|
2295
2295
|
function N() {
|
|
2296
2296
|
t("noSupport");
|
|
2297
2297
|
}
|
|
2298
|
-
return (T, I) => (
|
|
2299
|
-
L(c) && !s.value ? (
|
|
2300
|
-
L(c) ? L(M) ? (
|
|
2298
|
+
return (T, I) => (H(), P(Qe, null, [
|
|
2299
|
+
L(c) && !s.value ? (H(), Ie(L(g), { key: 0 })) : fe("", !0),
|
|
2300
|
+
L(c) ? L(M) ? (H(), P("div", me({ key: 3 }, T.$attrs, {
|
|
2301
2301
|
title: L(v),
|
|
2302
2302
|
class: "tip-wrap"
|
|
2303
2303
|
}), [
|
|
2304
|
-
|
|
2304
|
+
he(Ee, {
|
|
2305
2305
|
class: "bad-image",
|
|
2306
2306
|
name: e.badImageIconName
|
|
2307
2307
|
}, null, 8, ["name"])
|
|
2308
|
-
], 16, wo)) :
|
|
2308
|
+
], 16, wo)) : ge(T.$slots, "default", {
|
|
2309
2309
|
key: 2,
|
|
2310
2310
|
src: L(v),
|
|
2311
2311
|
onLoad: S,
|
|
2312
2312
|
onError: O,
|
|
2313
2313
|
vImageCancel: L(i)
|
|
2314
2314
|
}, () => [
|
|
2315
|
-
L(D) ? re((
|
|
2315
|
+
L(D) ? re((H(), P("img", me({ key: 0 }, T.$attrs, {
|
|
2316
2316
|
ref_key: "thumbnailRef",
|
|
2317
2317
|
ref: l,
|
|
2318
2318
|
onLoad: I[0] || (I[0] = (Y) => S()),
|
|
@@ -2321,7 +2321,7 @@ const mo = ["title"], yo = { class: "tip" }, po = /* @__PURE__ */ Pt("\u5F53\u52
|
|
|
2321
2321
|
}), null, 16, To)), [
|
|
2322
2322
|
[L(i)]
|
|
2323
2323
|
]) : fe("", !0),
|
|
2324
|
-
e.isShowSrc || a.value ? re((
|
|
2324
|
+
e.isShowSrc || a.value ? re((H(), P("img", me({ key: 1 }, T.$attrs, {
|
|
2325
2325
|
ref_key: "srcRef",
|
|
2326
2326
|
ref: o,
|
|
2327
2327
|
class: "src-class",
|
|
@@ -2332,15 +2332,15 @@ const mo = ["title"], yo = { class: "tip" }, po = /* @__PURE__ */ Pt("\u5F53\u52
|
|
|
2332
2332
|
[L(i)],
|
|
2333
2333
|
[Le, a.value]
|
|
2334
2334
|
]) : fe("", !0)
|
|
2335
|
-
], !0) : (
|
|
2335
|
+
], !0) : (H(), P("div", me({ key: 1 }, T.$attrs, {
|
|
2336
2336
|
title: L(v),
|
|
2337
2337
|
class: "tip-wrap"
|
|
2338
2338
|
}), [
|
|
2339
|
-
|
|
2339
|
+
he(Ee, {
|
|
2340
2340
|
class: "no-support-icon",
|
|
2341
2341
|
name: e.noSupportIconName
|
|
2342
2342
|
}, null, 8, ["name"]),
|
|
2343
|
-
re((
|
|
2343
|
+
re((H(), P("span", yo, Do)), [
|
|
2344
2344
|
[L(pt), N]
|
|
2345
2345
|
])
|
|
2346
2346
|
], 16, mo))
|
|
@@ -2359,16 +2359,17 @@ const Vo = /* @__PURE__ */ ne(Io, [["__scopeId", "data-v-bfec1a6b"]]), Ao = ["ti
|
|
|
2359
2359
|
function c() {
|
|
2360
2360
|
t("noSupport");
|
|
2361
2361
|
}
|
|
2362
|
-
return (M, d) => L(u) ? L(f) ? (
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2362
|
+
return (M, d) => L(u) ? L(f) ? ge(M.$slots, "imageError", { key: 2 }, () => [
|
|
2363
|
+
R("div", {
|
|
2364
|
+
title: L(a),
|
|
2365
|
+
class: "icon-wrap"
|
|
2366
|
+
}, [
|
|
2367
|
+
he(Ee, {
|
|
2368
|
+
class: "icon",
|
|
2369
|
+
name: "\u56FE\u7247\u635F\u574F"
|
|
2370
|
+
})
|
|
2371
|
+
], 8, Lo)
|
|
2372
|
+
], !0) : re((H(), P("img", {
|
|
2372
2373
|
key: 1,
|
|
2373
2374
|
fetchpriority: "high",
|
|
2374
2375
|
onLoad: d[0] || (d[0] = (i) => o.value = !0),
|
|
@@ -2377,21 +2378,22 @@ const Vo = /* @__PURE__ */ ne(Io, [["__scopeId", "data-v-bfec1a6b"]]), Ao = ["ti
|
|
|
2377
2378
|
}, null, 40, zo)), [
|
|
2378
2379
|
[L(v)],
|
|
2379
2380
|
[Le, o.value]
|
|
2380
|
-
]) : (
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2381
|
+
]) : ge(M.$slots, "noSupport", { key: 0 }, () => [
|
|
2382
|
+
R("div", {
|
|
2383
|
+
title: L(a),
|
|
2384
|
+
class: "icon-wrap"
|
|
2385
|
+
}, [
|
|
2386
|
+
re(he(Ee, {
|
|
2387
|
+
class: "icon",
|
|
2388
|
+
name: "\u672A\u77E5\u7C7B\u578B"
|
|
2389
|
+
}, null, 512), [
|
|
2390
|
+
[L(pt), c]
|
|
2391
|
+
])
|
|
2392
|
+
], 8, Ao)
|
|
2393
|
+
], !0);
|
|
2392
2394
|
}
|
|
2393
2395
|
});
|
|
2394
|
-
const Ko = /* @__PURE__ */ ne(jo, [["__scopeId", "data-v-
|
|
2396
|
+
const Ko = /* @__PURE__ */ ne(jo, [["__scopeId", "data-v-ab86da1e"]]);
|
|
2395
2397
|
export {
|
|
2396
2398
|
hn as DefaultLoading,
|
|
2397
2399
|
Vo as Image,
|
|
@@ -2400,14 +2402,14 @@ export {
|
|
|
2400
2402
|
Bo as PageLoading,
|
|
2401
2403
|
lo as PullRefresh,
|
|
2402
2404
|
Wo as ScrollBar,
|
|
2403
|
-
|
|
2405
|
+
Ee as SvgIcon,
|
|
2404
2406
|
Ko as Thumbnail,
|
|
2405
2407
|
Fo as ToastCreator,
|
|
2406
2408
|
Xo as VirtualList,
|
|
2407
2409
|
Ge as allSelectedKey,
|
|
2408
2410
|
rn as closeDialogKey,
|
|
2409
2411
|
Qo as dialogController,
|
|
2410
|
-
|
|
2412
|
+
be as getTransform,
|
|
2411
2413
|
tt as isAllSelectedKey,
|
|
2412
2414
|
Ke as isSelectedKey,
|
|
2413
2415
|
Nt as itemKeyKey,
|
|
@@ -2417,7 +2419,7 @@ export {
|
|
|
2417
2419
|
nt as selectedCountKey,
|
|
2418
2420
|
Ze as toggleAllKey,
|
|
2419
2421
|
Ve as toggleKey,
|
|
2420
|
-
|
|
2422
|
+
Te as unselectAllKey,
|
|
2421
2423
|
et as unselectKey,
|
|
2422
2424
|
Po as useBackPress,
|
|
2423
2425
|
Uo as useDelayAsync,
|
|
@@ -2426,12 +2428,12 @@ export {
|
|
|
2426
2428
|
$o as useDownDrag,
|
|
2427
2429
|
wt as useDragSelect,
|
|
2428
2430
|
ko as useDragSelectByMobile,
|
|
2429
|
-
|
|
2431
|
+
_o as useDragSelectByPc,
|
|
2430
2432
|
Yn as useRouterActivated,
|
|
2431
2433
|
Ho as useScaleImageByMobile,
|
|
2432
2434
|
Ro as useScaleImageByPc,
|
|
2433
2435
|
Oo as useSelectable,
|
|
2434
|
-
|
|
2436
|
+
bo as useSelectableByBase,
|
|
2435
2437
|
So as useSelectableInjectors,
|
|
2436
2438
|
un as useVirtualList,
|
|
2437
2439
|
Co as vDebounceClick,
|
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(()=>{M(),e.nextTick(()=>{i.init()})}),e.onUnmounted(()=>{i.modifySliderEventListener("remove")});function r(){d.value=!0}function h(){d.value=!1}return n({uScrollBarReturn:i}),(T,E)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:s,class:"slider-wrapper",onMouseenter:r,onMouseleave:h,style:e.normalizeStyle(e.unref(u))},[e.renderSlot(T.$slots,"default",{},()=>[nn],!0)],36),[[e.vShow,e.unref(m)]])]),_:3}))}}),to="",ln=W(on,[["__scopeId","data-v-7fd39e51"]]),sn=t=>(e.pushScopeId("data-v-df5da876"),t=t(),e.popScopeId(),t),an={class:"pull-refresh"},rn={key:0,class:"pull-arrow-circle"},cn={key:0,class:"box-load"},un={class:"left-load"},dn={class:"right-load"},fn=sn(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),Mn={class:"pull-arrow"},gn={key:1},mn=e.defineComponent({__name:"PullRefresh",props:{refresh:null,refreshOff:{type:Boolean,default:!1},scrollTop:null,pullRefreshContainer:null},setup(t){const n=t,o=.7,l="#2EC1CC",s=e.ref(-999),a=e.ref(1),i=e.ref(0),f=e.ref(.3),c=e.ref(!1),u=e.ref(0),g=e.ref(0),d=e.ref(0),m=e.ref(0),M=e.ref(0),r=e.ref(),h=e.computed(()=>n.scrollTop),T=e.computed(()=>({transition:`${m.value}ms`,transform:`translate3d(0,${s.value}px, 0) scale(${a.value})`})),E=e.computed(()=>({borderColor:l,transition:m.value,transform:`rotate(${100+i.value}deg)`,opacity:f.value}));e.watch(M,w=>{w===0&&(s.value=-50,f.value=.3)}),e.watch(g,w=>{if(M.value===2)return;const N=Math.pow(w,o);N===0&&(s.value=-50),N<=50&&N>0&&(s.value=N-45,i.value=Math.pow(N,1.5),N>15?c.value=!0:c.value=!1),N>50&&(s.value=5,f.value=1,M.value)});const v=e.ref(0),p=w=>{v.value=w.touches[0].pageY},D=w=>{const N=w.touches[0].pageY-v.value;v.value=w.touches[0].pageY,!n.refreshOff&&(!n?.refresh||M.value!==2&&h.value===0&&(u.value===0&&(u.value=w.touches[0].pageY),d.value=0,x.value.style.transition=`${d.value}ms`,m.value=0,g.value=w.touches[0].pageY-u.value,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,N>0&&w.preventDefault()))},S=()=>{if(n.refreshOff||!n?.refresh||M.value===2)return;u.value=0,d.value=300;const w=Math.pow(g.value,o);x.value.style.transition=`${d.value}ms`,w>50?(M.value=2,g.value=Math.pow(50,1/o),x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,m.value=300,n?.refresh&&n?.refresh().then(()=>{r.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{r.value="\u5237\u65B0\u5931\u8D25"}).finally(()=>{setTimeout(()=>{M.value=0,g.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,setTimeout(()=>{r.value=void 0},m.value)},600)})):(g.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`)},x=e.ref(null);return e.onMounted(()=>{n?.refreshOff||(x.value=document.querySelector(n.pullRefreshContainer),x.value?.addEventListener("touchstart",p),x.value?.addEventListener("touchmove",D),x.value?.addEventListener("touchend",S))}),(w,N)=>(e.openBlock(),e.createElementBlock("div",an,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(T))},[r.value?(e.openBlock(),e.createElementBlock("div",gn,e.toDisplayString(r.value),1)):(e.openBlock(),e.createElementBlock("div",rn,[M.value==2?(e.openBlock(),e.createElementBlock("div",cn,[e.createElementVNode("div",un,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",dn,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),fn])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(E))},[e.createElementVNode("div",Mn,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:c.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),no="",Ve=W(mn,[["__scopeId","data-v-df5da876"]]),hn=["data-key"],pn={inheritAttrs:!1},yn=e.defineComponent({...pn,__name:"VirtualList",props:{data:null,getItemKey:null,itemHeight:null,overscan:{default:10},refresh:null,refreshOff:{type:Boolean,default:!1}},emits:["scrollEnd"],setup(t,{expose:n,emit:o}){const l=t,s=be(e.toRef(l,"data"),{itemHeight:M=>l.itemHeight(l.data[M]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:a,containerProps:i,wrapperProps:f,innerProps:c,getItemHeightData:u,scrollTop:g}=s;n({vListReturn:s});const d="virtualListWrapper"+new Date().getTime();function m(M,r){return l.getItemKey?l.getItemKey(M,r):`${r}`}return(M,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Ve,{refresh:t.refresh,refreshOff:t.refreshOff,scrollTop:e.unref(g),pullRefreshContainer:"#"+d},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:d},[e.createElementVNode("div",e.mergeProps({onScrollPassive:r[0]||(r[0]=(...h)=>e.unref(i).onScroll&&e.unref(i).onScroll(...h)),ref:e.unref(i).ref,class:"virtualList"},M.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(f))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(c))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),({data:h,index:T})=>(e.openBlock(),e.createElementBlock("div",{key:m(h,T),"data-key":m(h,T),style:e.normalizeStyle({height:`${e.unref(u)(T).height}px`,display:"flex"})},[e.renderSlot(M.$slots,"default",{data:h,index:T},void 0,!0)],12,hn))),128))],16)],16)],16)])],64))}}),oo="",Dn=W(yn,[["__scopeId","data-v-dfe60586"]]),Le=t=>(e.pushScopeId("data-v-33519afd"),t=t(),e.popScopeId(),t),Tn={style:{position:"absolute"}},Nn=Le(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),wn=["width","height"],En=[Le(()=>e.createElementVNode("title",null,"logo",-1)),Le(()=>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))],vn=e.defineComponent({__name:"Loading",props:{width:{default:"90"},height:{default:"90"},duration:{default:1300}},setup(t){const n=t;e.useCssVars(l=>({"312487ac":o}));const o=`${n.duration}ms`;return(l,s)=>(e.openBlock(),e.createElementBlock("div",Tn,[Nn,(e.openBlock(),e.createElementBlock("svg",{style:{position:"relative"},width:t.width,height:t.height,viewBox:"0 0 260 260",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},En,8,wn))]))}}),ao="",In=W(vn,[["__scopeId","data-v-33519afd"]]),zn=["image/vnd.adobe.photoshop","image/x-photoshop","image/jp2","image/pcx"];function We(t,n){const o=e.ref(t?.value),l=e.computed(()=>o.value?.startsWith("/_lzc")),s=e.ref(!1),a=e.computed(()=>s.value),i=e.computed(()=>{const c=n?.value;return!c||c.startsWith("video/")?!0:c.startsWith("image/")?l.value?!0:!zn.includes(c):!1});t&&e.watch(t,c=>{o.value=c,s.value=!1});function f(){s.value=!0}return{imgSrc:o,isError:s,hasError:a,isSupport:i,handleError:f}}function Xe(){return{vImageCancel:{beforeUnmount(n){!n||(n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}}}}const An=["title"],Ln={class:"tip"},jn=[e.createTextVNode("\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301")],Cn=["src"],Sn=["src"],xn=["title"],_n={inheritAttrs:!1},bn=e.defineComponent({..._n,__name:"Image",props:{src:null,mime:null,thumbnail:null,isShowSrc:{type:Boolean},autoRemoveThumbnail:{type:Boolean},noSupportIconName:{default:"\u4E0D\u652F\u6301\u663E\u793A"},badImageIconName:{default:"\u56FE\u7247\u635F\u574F"}},emits:["load","noSupport","loadError"],setup(t,{emit:n}){const o=t,l=e.ref(),s=e.ref(),a=e.ref(!1),i=e.ref(!1),f=e.ref(!1),{src:c,mime:u}=e.toRefs(o),{imgSrc:g,isSupport:d,hasError:m,handleError:M}=We(c,u),{vImageCancel:r}=Xe(),{LoadingComp:h}=Ie({component:ke,delay:300}),T=qe(()=>f.value&&o.autoRemoveThumbnail?!1:o.thumbnail&&!f.value);function E(){i.value=!0}function v(){i.value&&(f.value=!0)}async function p(){E(),T.value?(l.value?.addEventListener("animationend",D),l.value?.classList.add("showing"),await ze(10)):l.value&&n("load",l.value),l.value?.classList.remove("src-class")}function D(){l.value?.removeEventListener("animationend",D),l.value?.classList.remove("showing"),l.value&&n("load",l.value),v()}async function S(N){N?p():s.value&&n("load",s.value),a.value=!0}function x(N){N?(M(),n("loadError")):E(),a.value=!0}function w(){n("noSupport")}return(N,I)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(d)&&!a.value?(e.openBlock(),e.createBlock(e.unref(h),{key:0})):e.createCommentVNode("",!0),e.unref(d)?e.unref(m)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},N.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(te,{class:"bad-image",name:t.badImageIconName},null,8,["name"])],16,xn)):e.renderSlot(N.$slots,"default",{key:2,src:e.unref(g),onLoad:S,onError:x,vImageCancel:e.unref(r)},()=>[e.unref(T)?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},N.$attrs,{ref_key:"thumbnailRef",ref:s,onLoad:I[0]||(I[0]=B=>S()),onError:I[1]||(I[1]=B=>x()),src:t.thumbnail}),null,16,Cn)),[[e.unref(r)]]):e.createCommentVNode("",!0),t.isShowSrc||i.value?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:1},N.$attrs,{ref_key:"srcRef",ref:l,class:"src-class",onLoad:I[2]||(I[2]=B=>S(!0)),onError:I[3]||(I[3]=B=>x(!0)),src:e.unref(g)}),null,16,Sn)),[[e.unref(r)],[e.vShow,i.value]]):e.createCommentVNode("",!0)],!0):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},N.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(te,{class:"no-support-icon",name:t.noSupportIconName},null,8,["name"]),e.withDirectives((e.openBlock(),e.createElementBlock("span",Ln,jn)),[[e.unref(he),w]])],16,An))],64))}}),ro="",On=W(bn,[["__scopeId","data-v-bfec1a6b"]]),kn=["title"],Bn=["src"],Qn=["title"],Yn=e.defineComponent({__name:"Thumbnail",props:{src:null,mime:null},emits:["noSupport"],setup(t,{emit:n}){const o=t,l=e.ref(!1),{src:s,mime:a}=e.toRefs(o),{imgSrc:i,hasError:f,isSupport:c,handleError:u}=We(s,a),{vImageCancel:g}=Xe();function d(){n("noSupport")}return(m,M)=>e.unref(c)?e.unref(f)?(e.openBlock(),e.createElementBlock("div",{key:2,title:e.unref(i),class:"icon-wrap"},[e.createVNode(te,{class:"icon",name:"\u56FE\u7247\u635F\u574F"})],8,Qn)):e.withDirectives((e.openBlock(),e.createElementBlock("img",{key:1,fetchpriority:"high",onLoad:M[0]||(M[0]=r=>l.value=!0),onError:M[1]||(M[1]=(...r)=>e.unref(u)&&e.unref(u)(...r)),src:e.unref(i)},null,40,Bn)),[[e.unref(g)],[e.vShow,l.value]]):(e.openBlock(),e.createElementBlock("div",{key:0,title:e.unref(i),class:"icon-wrap"},[e.withDirectives(e.createVNode(te,{class:"icon",name:"\u672A\u77E5\u7C7B\u578B"},null,512),[[e.unref(he),d]])],8,kn))}}),co="",Un=W(Yn,[["__scopeId","data-v-2f606efa"]]);L.DefaultLoading=ke,L.Image=On,L.Loading=In,L.LoadingToast=Be,L.PageLoading=Lt,L.PullRefresh=Ve,L.ScrollBar=ln,L.SvgIcon=te,L.Thumbnail=Un,L.ToastCreator=Jt,L.VirtualList=Dn,L.allSelectedKey=re,L.closeDialogKey=Oe,L.dialogController=Tt,L.getTransform=ge,L.isAllSelectedKey=fe,L.isSelectedKey=ie,L.itemKeyKey=we,L.once=He,L.selectAllKey=ue,L.selectKey=ce,L.selectedCountKey=Me,L.toggleAllKey=se,L.toggleKey=ae,L.unselectAllKey=J,L.unselectKey=de,L.useBackPress=Kt,L.useDelayAsync=Bt,L.useDelayLoad=Nt,L.useDelayLoadComp=Ie,L.useDownDrag=Xt,L.useDragSelect=ve,L.useDragSelectByMobile=pt,L.useDragSelectByPc=ht,L.useRouterActivated=$e,L.useScaleImageByMobile=Wt,L.useScaleImageByPc=Vt,L.useSelectable=gt,L.useSelectableByBase=mt,L.useSelectableInjectors=Mt,L.useVirtualList=be,L.vDebounceClick=Ge,L.vEnter=he,L.vSingleClick=Ce,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
20
|
+
}`,{id:"styletag_lzc_scrollbar",manual:!0});e.onMounted(()=>{M(),e.nextTick(()=>{i.init()})}),e.onUnmounted(()=>{i.modifySliderEventListener("remove")});function r(){d.value=!0}function h(){d.value=!1}return n({uScrollBarReturn:i}),(T,E)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:s,class:"slider-wrapper",onMouseenter:r,onMouseleave:h,style:e.normalizeStyle(e.unref(u))},[e.renderSlot(T.$slots,"default",{},()=>[nn],!0)],36),[[e.vShow,e.unref(m)]])]),_:3}))}}),to="",ln=W(on,[["__scopeId","data-v-7fd39e51"]]),sn=t=>(e.pushScopeId("data-v-df5da876"),t=t(),e.popScopeId(),t),an={class:"pull-refresh"},rn={key:0,class:"pull-arrow-circle"},cn={key:0,class:"box-load"},un={class:"left-load"},dn={class:"right-load"},fn=sn(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),Mn={class:"pull-arrow"},gn={key:1},mn=e.defineComponent({__name:"PullRefresh",props:{refresh:null,refreshOff:{type:Boolean,default:!1},scrollTop:null,pullRefreshContainer:null},setup(t){const n=t,o=.7,l="#2EC1CC",s=e.ref(-999),a=e.ref(1),i=e.ref(0),f=e.ref(.3),c=e.ref(!1),u=e.ref(0),g=e.ref(0),d=e.ref(0),m=e.ref(0),M=e.ref(0),r=e.ref(),h=e.computed(()=>n.scrollTop),T=e.computed(()=>({transition:`${m.value}ms`,transform:`translate3d(0,${s.value}px, 0) scale(${a.value})`})),E=e.computed(()=>({borderColor:l,transition:m.value,transform:`rotate(${100+i.value}deg)`,opacity:f.value}));e.watch(M,w=>{w===0&&(s.value=-50,f.value=.3)}),e.watch(g,w=>{if(M.value===2)return;const N=Math.pow(w,o);N===0&&(s.value=-50),N<=50&&N>0&&(s.value=N-45,i.value=Math.pow(N,1.5),N>15?c.value=!0:c.value=!1),N>50&&(s.value=5,f.value=1,M.value)});const v=e.ref(0),p=w=>{v.value=w.touches[0].pageY},D=w=>{const N=w.touches[0].pageY-v.value;v.value=w.touches[0].pageY,!n.refreshOff&&(!n?.refresh||M.value!==2&&h.value===0&&(u.value===0&&(u.value=w.touches[0].pageY),d.value=0,x.value.style.transition=`${d.value}ms`,m.value=0,g.value=w.touches[0].pageY-u.value,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,N>0&&w.preventDefault()))},S=()=>{if(n.refreshOff||!n?.refresh||M.value===2)return;u.value=0,d.value=300;const w=Math.pow(g.value,o);x.value.style.transition=`${d.value}ms`,w>50?(M.value=2,g.value=Math.pow(50,1/o),x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,m.value=300,n?.refresh&&n?.refresh().then(()=>{r.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{r.value="\u5237\u65B0\u5931\u8D25"}).finally(()=>{setTimeout(()=>{M.value=0,g.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,setTimeout(()=>{r.value=void 0},m.value)},600)})):(g.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`)},x=e.ref(null);return e.onMounted(()=>{n?.refreshOff||(x.value=document.querySelector(n.pullRefreshContainer),x.value?.addEventListener("touchstart",p),x.value?.addEventListener("touchmove",D),x.value?.addEventListener("touchend",S))}),(w,N)=>(e.openBlock(),e.createElementBlock("div",an,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(T))},[r.value?(e.openBlock(),e.createElementBlock("div",gn,e.toDisplayString(r.value),1)):(e.openBlock(),e.createElementBlock("div",rn,[M.value==2?(e.openBlock(),e.createElementBlock("div",cn,[e.createElementVNode("div",un,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",dn,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),fn])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(E))},[e.createElementVNode("div",Mn,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:c.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),no="",Ve=W(mn,[["__scopeId","data-v-df5da876"]]),hn=["data-key"],pn={inheritAttrs:!1},yn=e.defineComponent({...pn,__name:"VirtualList",props:{data:null,getItemKey:null,itemHeight:null,overscan:{default:10},refresh:null,refreshOff:{type:Boolean,default:!1}},emits:["scrollEnd"],setup(t,{expose:n,emit:o}){const l=t,s=be(e.toRef(l,"data"),{itemHeight:M=>l.itemHeight(l.data[M]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:a,containerProps:i,wrapperProps:f,innerProps:c,getItemHeightData:u,scrollTop:g}=s;n({vListReturn:s});const d="virtualListWrapper"+new Date().getTime();function m(M,r){return l.getItemKey?l.getItemKey(M,r):`${r}`}return(M,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Ve,{refresh:t.refresh,refreshOff:t.refreshOff,scrollTop:e.unref(g),pullRefreshContainer:"#"+d},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:d},[e.createElementVNode("div",e.mergeProps({onScrollPassive:r[0]||(r[0]=(...h)=>e.unref(i).onScroll&&e.unref(i).onScroll(...h)),ref:e.unref(i).ref,class:"virtualList"},M.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(f))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(c))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),({data:h,index:T})=>(e.openBlock(),e.createElementBlock("div",{key:m(h,T),"data-key":m(h,T),style:e.normalizeStyle({height:`${e.unref(u)(T).height}px`,display:"flex"})},[e.renderSlot(M.$slots,"default",{data:h,index:T},void 0,!0)],12,hn))),128))],16)],16)],16)])],64))}}),oo="",Dn=W(yn,[["__scopeId","data-v-dfe60586"]]),Le=t=>(e.pushScopeId("data-v-33519afd"),t=t(),e.popScopeId(),t),Tn={style:{position:"absolute"}},Nn=Le(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),wn=["width","height"],En=[Le(()=>e.createElementVNode("title",null,"logo",-1)),Le(()=>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))],vn=e.defineComponent({__name:"Loading",props:{width:{default:"90"},height:{default:"90"},duration:{default:1300}},setup(t){const n=t;e.useCssVars(l=>({"312487ac":o}));const o=`${n.duration}ms`;return(l,s)=>(e.openBlock(),e.createElementBlock("div",Tn,[Nn,(e.openBlock(),e.createElementBlock("svg",{style:{position:"relative"},width:t.width,height:t.height,viewBox:"0 0 260 260",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},En,8,wn))]))}}),ao="",In=W(vn,[["__scopeId","data-v-33519afd"]]),zn=["image/vnd.adobe.photoshop","image/x-photoshop","image/jp2","image/pcx"];function We(t,n){const o=e.ref(t?.value),l=e.computed(()=>o.value?.startsWith("/_lzc")),s=e.ref(!1),a=e.computed(()=>s.value),i=e.computed(()=>{const c=n?.value;return!c||c.startsWith("video/")?!0:c.startsWith("image/")?l.value?!0:!zn.includes(c):!1});t&&e.watch(t,c=>{o.value=c,s.value=!1});function f(){s.value=!0}return{imgSrc:o,isError:s,hasError:a,isSupport:i,handleError:f}}function Xe(){return{vImageCancel:{beforeUnmount(n){!n||(n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}}}}const An=["title"],Ln={class:"tip"},jn=[e.createTextVNode("\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301")],Cn=["src"],Sn=["src"],xn=["title"],_n={inheritAttrs:!1},bn=e.defineComponent({..._n,__name:"Image",props:{src:null,mime:null,thumbnail:null,isShowSrc:{type:Boolean},autoRemoveThumbnail:{type:Boolean},noSupportIconName:{default:"\u4E0D\u652F\u6301\u663E\u793A"},badImageIconName:{default:"\u56FE\u7247\u635F\u574F"}},emits:["load","noSupport","loadError"],setup(t,{emit:n}){const o=t,l=e.ref(),s=e.ref(),a=e.ref(!1),i=e.ref(!1),f=e.ref(!1),{src:c,mime:u}=e.toRefs(o),{imgSrc:g,isSupport:d,hasError:m,handleError:M}=We(c,u),{vImageCancel:r}=Xe(),{LoadingComp:h}=Ie({component:ke,delay:300}),T=qe(()=>f.value&&o.autoRemoveThumbnail?!1:o.thumbnail&&!f.value);function E(){i.value=!0}function v(){i.value&&(f.value=!0)}async function p(){E(),T.value?(l.value?.addEventListener("animationend",D),l.value?.classList.add("showing"),await ze(10)):l.value&&n("load",l.value),l.value?.classList.remove("src-class")}function D(){l.value?.removeEventListener("animationend",D),l.value?.classList.remove("showing"),l.value&&n("load",l.value),v()}async function S(N){N?p():s.value&&n("load",s.value),a.value=!0}function x(N){N?(M(),n("loadError")):E(),a.value=!0}function w(){n("noSupport")}return(N,I)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(d)&&!a.value?(e.openBlock(),e.createBlock(e.unref(h),{key:0})):e.createCommentVNode("",!0),e.unref(d)?e.unref(m)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},N.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(te,{class:"bad-image",name:t.badImageIconName},null,8,["name"])],16,xn)):e.renderSlot(N.$slots,"default",{key:2,src:e.unref(g),onLoad:S,onError:x,vImageCancel:e.unref(r)},()=>[e.unref(T)?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},N.$attrs,{ref_key:"thumbnailRef",ref:s,onLoad:I[0]||(I[0]=B=>S()),onError:I[1]||(I[1]=B=>x()),src:t.thumbnail}),null,16,Cn)),[[e.unref(r)]]):e.createCommentVNode("",!0),t.isShowSrc||i.value?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:1},N.$attrs,{ref_key:"srcRef",ref:l,class:"src-class",onLoad:I[2]||(I[2]=B=>S(!0)),onError:I[3]||(I[3]=B=>x(!0)),src:e.unref(g)}),null,16,Sn)),[[e.unref(r)],[e.vShow,i.value]]):e.createCommentVNode("",!0)],!0):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},N.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(te,{class:"no-support-icon",name:t.noSupportIconName},null,8,["name"]),e.withDirectives((e.openBlock(),e.createElementBlock("span",Ln,jn)),[[e.unref(he),w]])],16,An))],64))}}),ro="",On=W(bn,[["__scopeId","data-v-bfec1a6b"]]),kn=["title"],Bn=["src"],Qn=["title"],Yn=e.defineComponent({__name:"Thumbnail",props:{src:null,mime:null},emits:["noSupport"],setup(t,{emit:n}){const o=t,l=e.ref(!1),{src:s,mime:a}=e.toRefs(o),{imgSrc:i,hasError:f,isSupport:c,handleError:u}=We(s,a),{vImageCancel:g}=Xe();function d(){n("noSupport")}return(m,M)=>e.unref(c)?e.unref(f)?e.renderSlot(m.$slots,"imageError",{key:2},()=>[e.createElementVNode("div",{title:e.unref(i),class:"icon-wrap"},[e.createVNode(te,{class:"icon",name:"\u56FE\u7247\u635F\u574F"})],8,Qn)],!0):e.withDirectives((e.openBlock(),e.createElementBlock("img",{key:1,fetchpriority:"high",onLoad:M[0]||(M[0]=r=>l.value=!0),onError:M[1]||(M[1]=(...r)=>e.unref(u)&&e.unref(u)(...r)),src:e.unref(i)},null,40,Bn)),[[e.unref(g)],[e.vShow,l.value]]):e.renderSlot(m.$slots,"noSupport",{key:0},()=>[e.createElementVNode("div",{title:e.unref(i),class:"icon-wrap"},[e.withDirectives(e.createVNode(te,{class:"icon",name:"\u672A\u77E5\u7C7B\u578B"},null,512),[[e.unref(he),d]])],8,kn)],!0)}}),co="",Un=W(Yn,[["__scopeId","data-v-ab86da1e"]]);L.DefaultLoading=ke,L.Image=On,L.Loading=In,L.LoadingToast=Be,L.PageLoading=Lt,L.PullRefresh=Ve,L.ScrollBar=ln,L.SvgIcon=te,L.Thumbnail=Un,L.ToastCreator=Jt,L.VirtualList=Dn,L.allSelectedKey=re,L.closeDialogKey=Oe,L.dialogController=Tt,L.getTransform=ge,L.isAllSelectedKey=fe,L.isSelectedKey=ie,L.itemKeyKey=we,L.once=He,L.selectAllKey=ue,L.selectKey=ce,L.selectedCountKey=Me,L.toggleAllKey=se,L.toggleKey=ae,L.unselectAllKey=J,L.unselectKey=de,L.useBackPress=Kt,L.useDelayAsync=Bt,L.useDelayLoad=Nt,L.useDelayLoadComp=Ie,L.useDownDrag=Xt,L.useDragSelect=ve,L.useDragSelectByMobile=pt,L.useDragSelectByPc=ht,L.useRouterActivated=$e,L.useScaleImageByMobile=Wt,L.useScaleImageByPc=Vt,L.useSelectable=gt,L.useSelectableByBase=mt,L.useSelectableInjectors=Mt,L.useVirtualList=be,L.vDebounceClick=Ge,L.vEnter=he,L.vSingleClick=Ce,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.no-overlay-modal[data-v-3d61e60a]{position:absolute;inset:0;display:flex;z-index:999}.lzc-modal[data-v-3d61e60a]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-3d61e60a]{margin:auto;display:flex;flex-direction:column}.ldio-mm5gwljcryb[data-v-92a1804d]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}.ldio-mm5gwljcryb div[data-v-92a1804d]{box-sizing:content-box;position:absolute;top:50%;left:50%;width:var(--4e4a9ce4);height:var(--e56fe5c2);border:3px solid #dfdfdf;border-top-color:transparent;border-radius:50%;animation:ldio-mm5gwljcryb-92a1804d .7s linear infinite}@keyframes ldio-mm5gwljcryb-92a1804d{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.loadingio-spinner-rolling-5kajof80q6w[data-v-92a1804d]{width:100%;height:100%;display:inline-block;overflow:hidden;background:#ffffff}.loading-wrap[data-v-3c54972f]{display:flex;align-items:center;justify-content:center;width:100%;transform:rotateY(180deg)}.loading-circle[data-v-3c54972f]{opacity:0;animation:loading-spin-3c54972f .8s var(--b1cf73a8) linear infinite}@keyframes loading-spin-3c54972f{0%{opacity:1}to{opacity:1;transform:rotate(-360deg)}}.lzc-loading-toast[data-v-0947d1e3]{display:flex;position:fixed;top:0;width:100%;height:100%;z-index:2147483647;box-sizing:border-box}.lzc-loading-toast-wrap[data-v-0947d1e3]{margin:auto;text-align:center;box-sizing:border-box}.lzc-loading-toast-content[data-v-0947d1e3]{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-0947d1e3]>:not([hidden])~:not([hidden]){margin-top:4px;margin-bottom:0}.lzc-loading-toast-close[data-v-0947d1e3]{height:10px;width:10px;position:absolute;right:12px;top:12px;cursor:pointer;box-sizing:border-box}.lzc-loading-toast-icon[data-v-0947d1e3]{width:35px;height:35px;margin:0 auto;border-radius:9999px;animation:lzc-spin-0947d1e3 1s linear infinite;box-sizing:border-box}.lzc-loading-toast-message[data-v-0947d1e3]{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-0947d1e3{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-25d39b90{0%{opacity:1}to{opacity:0}}.animate-toastAnimation[data-v-25d39b90]{animation:slide-25d39b90 .3s linear}.v-leave-active[data-v-7fd39e51]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-7fd39e51]{opacity:0}.slider-wrapper[data-v-7fd39e51]{position:absolute;right:0;touch-action:none}.default-slider[data-v-7fd39e51]{width:6px;height:100%;background-color:#0003;border-radius:3px;margin-right:3px}.pull-refresh[data-v-df5da876]{position:relative}.pull-refresh-box[data-v-df5da876]{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-df5da876]{position:relative;width:30px;height:30px;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.box-load[data-v-df5da876]{position:relative;width:18px;height:18px;border-radius:50%;overflow:hidden;animation:boxs-df5da876 3s infinite linear forwards}@keyframes boxs-df5da876{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.left-load[data-v-df5da876]{position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.left-circle[data-v-df5da876]{position:absolute;width:9px;height:18px;border-radius:18px 0 0 18px;transform:rotate(-180deg);transform-origin:9px 9px;animation:pr1A-df5da876 3s infinite linear forwards}@keyframes pr1A-df5da876{0%{transform:rotate(-180deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(0)}75%{transform:rotate(0)}to{transform:rotate(180deg)}}.right-load[data-v-df5da876]{left:9px;position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.right-circle[data-v-df5da876]{position:absolute;width:9px;height:18px;border-radius:0 18px 18px 0;transform:rotate(-180deg);transform-origin:0px 9px;animation:pr2A-df5da876 3s infinite linear forwards}@keyframes pr2A-df5da876{0%{transform:rotate(-180deg)}25%{transform:rotate(0)}50%{transform:rotate(0)}75%{transform:rotate(180deg)}to{transform:rotate(180deg)}}.among-load[data-v-df5da876]{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-df5da876]{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-df5da876]{position:absolute;left:-3px;transform:rotate(120deg);background-color:#fff;width:4px;height:6px}.arrows[data-v-df5da876]{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-df5da876]{opacity:1}.left-item[data-v-df5da876]{text-align:center;height:100px;line-height:100px;color:#333}.left-item-active[data-v-df5da876]{color:#e93b3d}.virtualList[data-v-dfe60586]{width:100%;height:100%;position:absolute;overflow-y:auto;scroll-behavior:smooth;user-select:none}.virtualListWrapper[data-v-dfe60586]{width:100%;height:100%;position:relative}@keyframes loading-rotate-33519afd{to{transform:rotate(360deg);-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg)}}.wrapper[data-v-33519afd]{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-33519afd var(--312487ac) linear infinite}.v-enter-active[data-v-bfec1a6b],.v-leave-active[data-v-bfec1a6b]{transition:opacity .6s ease}.v-enter-from[data-v-bfec1a6b],.v-leave-to[data-v-bfec1a6b]{opacity:0}.tip[data-v-bfec1a6b]{font-size:14px;color:#aeaeae}.tip-wrap[data-v-bfec1a6b]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.no-support-icon[data-v-bfec1a6b]{width:162px;height:134px;cursor:default}.bad-image[data-v-bfec1a6b]{width:92px;height:92px;cursor:default}.src-class[data-v-bfec1a6b]{width:unset!important;height:unset!important;max-width:none!important;max-height:none!important;transform:scale(0);opacity:.00001}@keyframes fadeIn-bfec1a6b{0%{opacity:0}to{opacity:1}}.showing[data-v-bfec1a6b]{animation:fadeIn-bfec1a6b .35s linear}img[data-v-bfec1a6b]{user-select:none;pointer-events:none}img[data-v-
|
|
1
|
+
.no-overlay-modal[data-v-3d61e60a]{position:absolute;inset:0;display:flex;z-index:999}.lzc-modal[data-v-3d61e60a]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-3d61e60a]{margin:auto;display:flex;flex-direction:column}.ldio-mm5gwljcryb[data-v-92a1804d]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}.ldio-mm5gwljcryb div[data-v-92a1804d]{box-sizing:content-box;position:absolute;top:50%;left:50%;width:var(--4e4a9ce4);height:var(--e56fe5c2);border:3px solid #dfdfdf;border-top-color:transparent;border-radius:50%;animation:ldio-mm5gwljcryb-92a1804d .7s linear infinite}@keyframes ldio-mm5gwljcryb-92a1804d{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.loadingio-spinner-rolling-5kajof80q6w[data-v-92a1804d]{width:100%;height:100%;display:inline-block;overflow:hidden;background:#ffffff}.loading-wrap[data-v-3c54972f]{display:flex;align-items:center;justify-content:center;width:100%;transform:rotateY(180deg)}.loading-circle[data-v-3c54972f]{opacity:0;animation:loading-spin-3c54972f .8s var(--b1cf73a8) linear infinite}@keyframes loading-spin-3c54972f{0%{opacity:1}to{opacity:1;transform:rotate(-360deg)}}.lzc-loading-toast[data-v-0947d1e3]{display:flex;position:fixed;top:0;width:100%;height:100%;z-index:2147483647;box-sizing:border-box}.lzc-loading-toast-wrap[data-v-0947d1e3]{margin:auto;text-align:center;box-sizing:border-box}.lzc-loading-toast-content[data-v-0947d1e3]{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-0947d1e3]>:not([hidden])~:not([hidden]){margin-top:4px;margin-bottom:0}.lzc-loading-toast-close[data-v-0947d1e3]{height:10px;width:10px;position:absolute;right:12px;top:12px;cursor:pointer;box-sizing:border-box}.lzc-loading-toast-icon[data-v-0947d1e3]{width:35px;height:35px;margin:0 auto;border-radius:9999px;animation:lzc-spin-0947d1e3 1s linear infinite;box-sizing:border-box}.lzc-loading-toast-message[data-v-0947d1e3]{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-0947d1e3{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-25d39b90{0%{opacity:1}to{opacity:0}}.animate-toastAnimation[data-v-25d39b90]{animation:slide-25d39b90 .3s linear}.v-leave-active[data-v-7fd39e51]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-7fd39e51]{opacity:0}.slider-wrapper[data-v-7fd39e51]{position:absolute;right:0;touch-action:none}.default-slider[data-v-7fd39e51]{width:6px;height:100%;background-color:#0003;border-radius:3px;margin-right:3px}.pull-refresh[data-v-df5da876]{position:relative}.pull-refresh-box[data-v-df5da876]{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-df5da876]{position:relative;width:30px;height:30px;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.box-load[data-v-df5da876]{position:relative;width:18px;height:18px;border-radius:50%;overflow:hidden;animation:boxs-df5da876 3s infinite linear forwards}@keyframes boxs-df5da876{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.left-load[data-v-df5da876]{position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.left-circle[data-v-df5da876]{position:absolute;width:9px;height:18px;border-radius:18px 0 0 18px;transform:rotate(-180deg);transform-origin:9px 9px;animation:pr1A-df5da876 3s infinite linear forwards}@keyframes pr1A-df5da876{0%{transform:rotate(-180deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(0)}75%{transform:rotate(0)}to{transform:rotate(180deg)}}.right-load[data-v-df5da876]{left:9px;position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.right-circle[data-v-df5da876]{position:absolute;width:9px;height:18px;border-radius:0 18px 18px 0;transform:rotate(-180deg);transform-origin:0px 9px;animation:pr2A-df5da876 3s infinite linear forwards}@keyframes pr2A-df5da876{0%{transform:rotate(-180deg)}25%{transform:rotate(0)}50%{transform:rotate(0)}75%{transform:rotate(180deg)}to{transform:rotate(180deg)}}.among-load[data-v-df5da876]{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-df5da876]{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-df5da876]{position:absolute;left:-3px;transform:rotate(120deg);background-color:#fff;width:4px;height:6px}.arrows[data-v-df5da876]{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-df5da876]{opacity:1}.left-item[data-v-df5da876]{text-align:center;height:100px;line-height:100px;color:#333}.left-item-active[data-v-df5da876]{color:#e93b3d}.virtualList[data-v-dfe60586]{width:100%;height:100%;position:absolute;overflow-y:auto;scroll-behavior:smooth;user-select:none}.virtualListWrapper[data-v-dfe60586]{width:100%;height:100%;position:relative}@keyframes loading-rotate-33519afd{to{transform:rotate(360deg);-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg)}}.wrapper[data-v-33519afd]{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-33519afd var(--312487ac) linear infinite}.v-enter-active[data-v-bfec1a6b],.v-leave-active[data-v-bfec1a6b]{transition:opacity .6s ease}.v-enter-from[data-v-bfec1a6b],.v-leave-to[data-v-bfec1a6b]{opacity:0}.tip[data-v-bfec1a6b]{font-size:14px;color:#aeaeae}.tip-wrap[data-v-bfec1a6b]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.no-support-icon[data-v-bfec1a6b]{width:162px;height:134px;cursor:default}.bad-image[data-v-bfec1a6b]{width:92px;height:92px;cursor:default}.src-class[data-v-bfec1a6b]{width:unset!important;height:unset!important;max-width:none!important;max-height:none!important;transform:scale(0);opacity:.00001}@keyframes fadeIn-bfec1a6b{0%{opacity:0}to{opacity:1}}.showing[data-v-bfec1a6b]{animation:fadeIn-bfec1a6b .35s linear}img[data-v-bfec1a6b]{user-select:none;pointer-events:none}img[data-v-ab86da1e]{pointer-events:none}.icon-wrap[data-v-ab86da1e]{display:flex;align-items:center;justify-content:center}.icon[data-v-ab86da1e]{width:100%;height:100%}
|
|
@@ -1,14 +1,75 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
src?: string | undefined;
|
|
7
|
+
mime?: string | undefined;
|
|
8
|
+
}>>> & {
|
|
9
|
+
onNoSupport?: (() => any) | undefined;
|
|
10
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
11
|
+
$attrs: {
|
|
12
|
+
[x: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
$refs: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
$slots: Readonly<{
|
|
18
|
+
[name: string]: import("vue").Slot | undefined;
|
|
19
|
+
}>;
|
|
20
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
21
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
22
|
+
$emit: (event: "noSupport") => void;
|
|
23
|
+
$el: any;
|
|
24
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
25
|
+
src?: string | undefined;
|
|
26
|
+
mime?: string | undefined;
|
|
27
|
+
}>>> & {
|
|
28
|
+
onNoSupport?: (() => any) | undefined;
|
|
29
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
noSupport: () => void;
|
|
31
|
+
}, string, {}> & {
|
|
32
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
45
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
46
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
47
|
+
};
|
|
48
|
+
$forceUpdate: () => void;
|
|
49
|
+
$nextTick: typeof import("vue").nextTick;
|
|
50
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
51
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
52
|
+
src?: string | undefined;
|
|
53
|
+
mime?: string | undefined;
|
|
54
|
+
}>>> & {
|
|
55
|
+
onNoSupport?: (() => any) | undefined;
|
|
56
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
57
|
+
__isFragment?: undefined;
|
|
58
|
+
__isTeleport?: undefined;
|
|
59
|
+
__isSuspense?: undefined;
|
|
60
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
61
|
src?: string | undefined;
|
|
8
62
|
mime?: string | undefined;
|
|
9
63
|
}>>> & {
|
|
10
64
|
onNoSupport?: (() => any) | undefined;
|
|
11
|
-
}, {}
|
|
65
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
66
|
+
noSupport: () => void;
|
|
67
|
+
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
68
|
+
$slots: {
|
|
69
|
+
noSupport: (_: {}) => any;
|
|
70
|
+
imageError: (_: {}) => any;
|
|
71
|
+
};
|
|
72
|
+
});
|
|
12
73
|
export default _default;
|
|
13
74
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
75
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|