@lazycatcloud/lzc-toolkit 0.0.170 → 0.0.171

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { shallowRef as ut, watchEffect as Et, readonly as rt, getCurrentScope as At, onScopeDispose as zt, onMounted as ie, nextTick as fe, ref as m, watch as K, customRef as Lt, unref as E, isRef as jt, getCurrentInstance as Qe, onUpdated as xt, computed as N, reactive as Te, onUnmounted as ct, inject as te, provide as H, defineComponent as q, h as ae, render as me, openBlock as b, createBlock as Ie, Transition as Ye, withCtx as Be, withDirectives as ve, createElementBlock as $, normalizeClass as oe, createElementVNode as _, withModifiers as he, renderSlot as Ee, createCommentVNode as ue, useCssVars as Ue, normalizeProps as Oe, guardReactiveProps as _e, pushScopeId as pe, popScopeId as De, normalizeStyle as G, toDisplayString as Re, vShow as Ae, createVNode as Me, onBeforeUnmount as dt, onActivated as ft, onBeforeMount as Ct, onDeactivated as St, useSlots as Ot, toRef as _t, Fragment as be, mergeProps as ge, renderList as bt, toRefs as vt } from "vue";
1
+ import { shallowRef as ut, watchEffect as Et, readonly as rt, getCurrentScope as At, onScopeDispose as zt, onMounted as ie, nextTick as fe, ref as m, watch as K, customRef as Lt, unref as E, isRef as jt, getCurrentInstance as Qe, onUpdated as xt, computed as N, reactive as Te, onUnmounted as ct, inject as te, provide as H, defineComponent as q, h as ae, render as me, openBlock as _, createBlock as Ie, Transition as Ye, withCtx as Be, withDirectives as ve, createElementBlock as $, normalizeClass as oe, createElementVNode as O, withModifiers as he, renderSlot as Ee, createCommentVNode as ue, useCssVars as Ue, normalizeProps as be, guardReactiveProps as Oe, pushScopeId as pe, popScopeId as De, normalizeStyle as G, toDisplayString as Re, vShow as Ae, createVNode as Me, onBeforeUnmount as dt, onActivated as ft, onBeforeMount as Ct, onDeactivated as St, useSlots as bt, toRef as Ot, Fragment as _e, mergeProps as ge, renderList as _t, toRefs as vt } from "vue";
2
2
  const kt = {
3
3
  created(e, t) {
4
4
  let n, o;
@@ -303,7 +303,7 @@ function Vt(e, t = {}) {
303
303
  p === d.document && !C && (C = d.document.body.scrollTop), y.top = C < g.value, y.bottom = C > g.value;
304
304
  const L = Math.abs(C) <= (a.top || 0), I = Math.abs(C) + Y.clientHeight >= Y.scrollHeight - (a.bottom || 0) - ot;
305
305
  D === "flex" && w === "column-reverse" ? (c.top = I, c.bottom = L) : (c.top = L, c.bottom = I), g.value = C;
306
- }, O = (p) => {
306
+ }, b = (p) => {
307
307
  var z;
308
308
  if (!d)
309
309
  return;
@@ -313,7 +313,7 @@ function Vt(e, t = {}) {
313
313
  return we(
314
314
  e,
315
315
  "scroll",
316
- n ? ke(O, n, !0, !1) : O,
316
+ n ? ke(b, n, !0, !1) : b,
317
317
  f
318
318
  ), Pe(() => {
319
319
  try {
@@ -397,13 +397,13 @@ function qt(e, t) {
397
397
  }), ct(() => cancelAnimationFrame(d)), K(
398
398
  v,
399
399
  () => {
400
- (a.width.value || a.height.value) && O();
400
+ (a.width.value || a.height.value) && b();
401
401
  },
402
402
  { deep: !0 }
403
403
  ), K(
404
404
  [a.width, a.height],
405
405
  ([L, I]) => {
406
- (L || I) && O();
406
+ (L || I) && b();
407
407
  },
408
408
  { deep: !0 }
409
409
  ), K(i, () => {
@@ -415,7 +415,7 @@ function qt(e, t) {
415
415
  function F() {
416
416
  f.value = !0, n?.();
417
417
  }
418
- function O() {
418
+ function b() {
419
419
  cancelAnimationFrame(d), d = requestAnimationFrame(p);
420
420
  }
421
421
  function p() {
@@ -497,7 +497,7 @@ function qt(e, t) {
497
497
  containerProps: {
498
498
  ref: s,
499
499
  onScroll: () => {
500
- O();
500
+ b();
501
501
  },
502
502
  style: C
503
503
  },
@@ -714,11 +714,11 @@ function mt({
714
714
  width: Math.abs(M.value.x - r.value.x),
715
715
  height: Math.abs(M.value.y - r.value.y)
716
716
  } : { left: 0, top: 0, width: 0, height: 0 }), { margin: x = 50, startSpeed: W = 30, maxSpeed: F = 30 } = n;
717
- let O;
717
+ let b;
718
718
  const p = x, z = W, Y = F, D = (j) => j ** 1;
719
719
  let w = 0;
720
720
  function A(j) {
721
- if (cancelAnimationFrame(O), w = k(j), w = Math.max(
721
+ if (cancelAnimationFrame(b), w = k(j), w = Math.max(
722
722
  Math.min(w, Y),
723
723
  -Y
724
724
  ), w !== 0) {
@@ -727,7 +727,7 @@ function mt({
727
727
  return;
728
728
  const Z = c.value.height - h.value.height;
729
729
  let X = c.value.top + Number(w);
730
- X = Math.min(Math.max(0, X), Z), S.scrollTop = X, C(), O = requestAnimationFrame(() => A(j));
730
+ X = Math.min(Math.max(0, X), Z), S.scrollTop = X, C(), b = requestAnimationFrame(() => A(j));
731
731
  }
732
732
  }
733
733
  function k(j) {
@@ -934,13 +934,13 @@ const Jt = Symbol(), en = /* @__PURE__ */ q({
934
934
  const n = e, o = () => {
935
935
  n.closeOnClickOverlay && t("update:visiable", !1);
936
936
  };
937
- return H(Jt, () => t("update:visiable", !1)), (l, s) => (b(), Ie(Ye, { name: "modal" }, {
937
+ return H(Jt, () => t("update:visiable", !1)), (l, s) => (_(), Ie(Ye, { name: "modal" }, {
938
938
  default: Be(() => [
939
- e.visiable ? ve((b(), $("div", {
939
+ e.visiable ? ve((_(), $("div", {
940
940
  key: 0,
941
941
  class: oe([e.hiddenOverlay ? "no-overlay-modal" : "lzc-modal", e.modalClass])
942
942
  }, [
943
- _("div", {
943
+ O("div", {
944
944
  onMousedown: s[0] || (s[0] = he(() => {
945
945
  }, ["stop"])),
946
946
  class: oe(["lzc-dialog", e.dialogClass])
@@ -1031,8 +1031,8 @@ function jo({
1031
1031
  }
1032
1032
  return { LoadingComp: o, loading: l, load: s, unload: a };
1033
1033
  }
1034
- const nn = (e) => (pe("data-v-92a1804d"), e = e(), De(), e), on = /* @__PURE__ */ nn(() => /* @__PURE__ */ _("div", { class: "ldio-mm5gwljcryb" }, [
1035
- /* @__PURE__ */ _("div")
1034
+ const nn = (e) => (pe("data-v-92a1804d"), e = e(), De(), e), on = /* @__PURE__ */ nn(() => /* @__PURE__ */ O("div", { class: "ldio-mm5gwljcryb" }, [
1035
+ /* @__PURE__ */ O("div")
1036
1036
  ], -1)), ln = [
1037
1037
  on
1038
1038
  ], sn = /* @__PURE__ */ q({
@@ -1045,7 +1045,7 @@ const nn = (e) => (pe("data-v-92a1804d"), e = e(), De(), e), on = /* @__PURE__ *
1045
1045
  return Ue((t) => ({
1046
1046
  "4e4a9ce4": e.width + "px",
1047
1047
  e56fe5c2: e.height + "px"
1048
- })), (t, n) => (b(), $("div", Oe(_e(t.$attrs)), ln, 16));
1048
+ })), (t, n) => (_(), $("div", be(Oe(t.$attrs)), ln, 16));
1049
1049
  }
1050
1050
  });
1051
1051
  const an = /* @__PURE__ */ ee(sn, [["__scopeId", "data-v-92a1804d"]]), un = "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", rn = { class: "loading-wrap" }, cn = ["src"], dn = /* @__PURE__ */ q({
@@ -1063,8 +1063,8 @@ const an = /* @__PURE__ */ ee(sn, [["__scopeId", "data-v-92a1804d"]]), un = "dat
1063
1063
  const o = {};
1064
1064
  return t.size === "mini" ? (o.width = "22px", o.height = "22px") : t.size === "large" && (o.width = "28px", o.height = "28px"), o;
1065
1065
  });
1066
- return (o, l) => (b(), $("div", rn, [
1067
- _("img", {
1066
+ return (o, l) => (_(), $("div", rn, [
1067
+ O("img", {
1068
1068
  class: "loading-circle",
1069
1069
  src: E(un),
1070
1070
  style: G(E(n))
@@ -1116,39 +1116,39 @@ const fn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4Ii
1116
1116
  function u() {
1117
1117
  n.closeOnClick && t("close");
1118
1118
  }
1119
- return (d, v) => (b(), Ie(Ye, {
1119
+ return (d, v) => (_(), Ie(Ye, {
1120
1120
  "enter-active-class": "lzc-animate-fade-in lzc-animate-duration-300",
1121
1121
  "leave-active-class": "lzc-animate-fade-out lzc-animate-duration-300"
1122
1122
  }, {
1123
1123
  default: Be(() => [
1124
- _("div", {
1124
+ O("div", {
1125
1125
  id: o,
1126
1126
  style: G(E(l))
1127
1127
  }, [
1128
- ve(_("div", {
1128
+ ve(O("div", {
1129
1129
  class: oe(`${o} ${e.className}`),
1130
1130
  onClick: he(f, ["stop"])
1131
1131
  }, [
1132
- _("div", {
1132
+ O("div", {
1133
1133
  class: oe(`${o}-wrap`),
1134
1134
  onClick: he(u, ["stop"])
1135
1135
  }, [
1136
- _("div", {
1136
+ O("div", {
1137
1137
  class: oe(`${o}-content`),
1138
1138
  style: G(E(s))
1139
1139
  }, [
1140
- e.showClose ? (b(), $("img", {
1140
+ e.showClose ? (_(), $("img", {
1141
1141
  key: 0,
1142
1142
  onClick: v[0] || (v[0] = he((i) => t("close"), ["stop"])),
1143
1143
  src: E(fn),
1144
1144
  class: oe(`${o}-close`)
1145
1145
  }, null, 10, hn)) : ue("", !0),
1146
- e.showIcon ? (b(), $("img", {
1146
+ e.showIcon ? (_(), $("img", {
1147
1147
  key: 1,
1148
1148
  src: e.icon || E(vn),
1149
1149
  class: oe(`${o}-icon`)
1150
1150
  }, null, 10, mn)) : ue("", !0),
1151
- e.message ? (b(), $("div", {
1151
+ e.message ? (_(), $("div", {
1152
1152
  key: 2,
1153
1153
  class: oe(`${o}-message`),
1154
1154
  style: G(E(a))
@@ -1374,7 +1374,7 @@ function pt(e) {
1374
1374
  const w = s.value;
1375
1375
  if (!w)
1376
1376
  return;
1377
- const { scrollTop: A, scrollLeft: k } = w, { width: B, height: C } = a.value, { scaleW: L, scaleH: I } = O(D), { top: Q, left: U } = p(L, I), R = U != 0 ? U : k * -1, P = Q != 0 ? Q : A * -1;
1377
+ const { scrollTop: A, scrollLeft: k } = w, { width: B, height: C } = a.value, { scaleW: L, scaleH: I } = b(D), { top: Q, left: U } = p(L, I), R = U != 0 ? U : k * -1, P = Q != 0 ? Q : A * -1;
1378
1378
  w.scrollTop = 0, w.scrollLeft = 0;
1379
1379
  const { value: V } = d;
1380
1380
  V.width = `${B}px`, V.height = `${C}px`, V.maxHeight = "none", V.transitionDuration = "0s", V.transform = Se(R, P, D), d.value = V, await fe(), u.offsetX = R, u.offsetY = P, await et(20);
@@ -1383,7 +1383,7 @@ function pt(e) {
1383
1383
  if (!w && u.preview)
1384
1384
  return;
1385
1385
  u.preview = !0, D = D ?? u.level;
1386
- const { value: A } = d, { scaleW: k, scaleH: B } = O(D), { left: C, top: L } = p(k, B);
1386
+ const { value: A } = d, { scaleW: k, scaleH: B } = b(D), { left: C, top: L } = p(k, B);
1387
1387
  D === 1 && (A.maxHeight = "100%"), A.width = `${k}px`, A.height = `${B}px`, A.transitionDuration = "0s", A.transform = Se(C, L, 1), d.value = A, await fe();
1388
1388
  const I = s.value;
1389
1389
  if (!I)
@@ -1399,7 +1399,7 @@ function pt(e) {
1399
1399
  ), D == u.level))
1400
1400
  return;
1401
1401
  u.preview && await T(), w || (w = { x: v.startX.value, y: v.startY.value });
1402
- const { value: k } = d, { width: B, height: C } = a.value, { scaleW: L, scaleH: I } = O(D), { top: Q, left: U } = p(L, I), R = D / u.level, P = {
1402
+ const { value: k } = d, { width: B, height: C } = a.value, { scaleW: L, scaleH: I } = b(D), { top: Q, left: U } = p(L, I), R = D / u.level, P = {
1403
1403
  left: Math.abs(B * D - f.value.width) * -1,
1404
1404
  top: Math.abs(C * D - f.value.height) * -1,
1405
1405
  right: U,
@@ -1429,7 +1429,7 @@ function pt(e) {
1429
1429
  let C;
1430
1430
  return w == k ? (C = A / D, C - 1 < 0.1 && (C = B)) : C = Math.max(B, A / D, k / w), C;
1431
1431
  }
1432
- function O(D) {
1432
+ function b(D) {
1433
1433
  const { width: w, height: A } = a.value;
1434
1434
  return {
1435
1435
  scaleW: le(D * w),
@@ -1525,7 +1525,7 @@ function So(e) {
1525
1525
  }
1526
1526
  return { core: t, onPointerDown: v, onWheel: M };
1527
1527
  }
1528
- function Oo(e) {
1528
+ function bo(e) {
1529
1529
  const t = pt({
1530
1530
  onDoubleTap() {
1531
1531
  t.toggleZoom();
@@ -1551,9 +1551,9 @@ function Oo(e) {
1551
1551
  function T(h, c) {
1552
1552
  f.measure();
1553
1553
  let { clientX: y, clientY: x } = c.touches.length != 0 ? c.touches[0] : c.changedTouches[0];
1554
- const { top: W, left: F, right: O, bottom: p } = f.arrivedState;
1554
+ const { top: W, left: F, right: b, bottom: p } = f.arrivedState;
1555
1555
  if (h == "start")
1556
- i = W || F || O || p;
1556
+ i = W || F || b || p;
1557
1557
  else if (u == 2)
1558
1558
  i = !1;
1559
1559
  else if (i) {
@@ -1566,14 +1566,14 @@ function Oo(e) {
1566
1566
  }
1567
1567
  else if (o.direction.value == "horizontal") {
1568
1568
  const z = o.startX.value < y;
1569
- i = F && z || O && !z;
1569
+ i = F && z || b && !z;
1570
1570
  }
1571
1571
  }
1572
1572
  i && s.transitioning.value && (i = !1, c.preventDefault()), h == "end" && !i && (y = o.startX.value, x = o.startY.value, i = !0), (h != "move" || i) && e.onSwipeEdge?.(h, o.direction.value, y, x);
1573
1573
  }
1574
1574
  return { core: t, onTouchStart: g, onTouchMove: M, onTouchEnd: r };
1575
1575
  }
1576
- function _o() {
1576
+ function Oo() {
1577
1577
  const e = Te({
1578
1578
  scale: 1,
1579
1579
  startX: 0,
@@ -1612,7 +1612,7 @@ function xn(e) {
1612
1612
  t || (e(), t = !0);
1613
1613
  };
1614
1614
  }
1615
- function bo(e) {
1615
+ function _o(e) {
1616
1616
  let t = null;
1617
1617
  const { isActivated: n } = jn(), o = xn(() => t = window.onBackPress);
1618
1618
  function l() {
@@ -1668,7 +1668,7 @@ const Cn = ["onClick"], Sn = /* @__PURE__ */ q({
1668
1668
  }
1669
1669
  return fe(() => {
1670
1670
  o.value = n.value.offsetWidth / 2, l.value = n.value.offsetHeight / 2;
1671
- }), (d, v) => (b(), $("div", {
1671
+ }), (d, v) => (_(), $("div", {
1672
1672
  onClick: he(u, ["stop"]),
1673
1673
  id: "toastWrapper",
1674
1674
  ref_key: "toastWrapper",
@@ -1676,15 +1676,15 @@ const Cn = ["onClick"], Sn = /* @__PURE__ */ q({
1676
1676
  class: "toastWrapper",
1677
1677
  style: G([E(a), { zIndex: 9999999 }])
1678
1678
  }, [
1679
- _("div", {
1679
+ O("div", {
1680
1680
  style: G(E(f))
1681
1681
  }, [
1682
- _("span", null, Re(e.message), 1)
1682
+ O("span", null, Re(e.message), 1)
1683
1683
  ], 4)
1684
1684
  ], 12, Cn));
1685
1685
  }
1686
1686
  });
1687
- const On = /* @__PURE__ */ ee(Sn, [["__scopeId", "data-v-25d39b90"]]), it = {
1687
+ const bn = /* @__PURE__ */ ee(Sn, [["__scopeId", "data-v-25d39b90"]]), it = {
1688
1688
  message: "\u61D2\u732B\u4E91 Yes!!!",
1689
1689
  position: "middle",
1690
1690
  duration: 1500,
@@ -1698,7 +1698,7 @@ class ko {
1698
1698
  this.options = t, this.container = document.createElement("div");
1699
1699
  }
1700
1700
  present() {
1701
- const t = ae(ae(On), { ...it, ...this.options });
1701
+ const t = ae(ae(bn), { ...it, ...this.options });
1702
1702
  me(t, this.container), document.body.insertBefore(this.container, document.body.firstChild);
1703
1703
  const n = this.options.duration || it.duration;
1704
1704
  setTimeout(() => {
@@ -1716,7 +1716,7 @@ class ko {
1716
1716
  }
1717
1717
  }
1718
1718
  }
1719
- const _n = ["xlink:href", "fill", "color"], Ne = /* @__PURE__ */ q({
1719
+ const On = ["xlink:href", "fill", "color"], Ne = /* @__PURE__ */ q({
1720
1720
  __name: "SvgIcon",
1721
1721
  props: {
1722
1722
  name: null,
@@ -1735,19 +1735,19 @@ const _n = ["xlink:href", "fill", "color"], Ne = /* @__PURE__ */ q({
1735
1735
  const { style: a } = s;
1736
1736
  return typeof a == "object" ? a : {};
1737
1737
  }
1738
- return (s, a) => (b(), $("svg", {
1738
+ return (s, a) => (_(), $("svg", {
1739
1739
  "aria-hidden": "",
1740
1740
  style: G({ ...E(o), ...l(s.$attrs) })
1741
1741
  }, [
1742
- _("use", {
1742
+ O("use", {
1743
1743
  "xlink:href": E(n),
1744
1744
  fill: e.color,
1745
1745
  color: e.color
1746
- }, null, 8, _n)
1746
+ }, null, 8, On)
1747
1747
  ], 4));
1748
1748
  }
1749
1749
  });
1750
- function bn(e) {
1750
+ function _n(e) {
1751
1751
  const {
1752
1752
  containerEl: t,
1753
1753
  sliderEl: n,
@@ -1767,7 +1767,7 @@ function bn(e) {
1767
1767
  }), h = N(() => !!g.value), c = N(() => r.value.scrollHeight > r.value.clientHeight), y = N(() => o ? r.value.clientHeight - F.value : r.value.clientHeight - T.value.clientHeight), x = N(() => r.value.scrollHeight - r.value.clientHeight), W = N(() => Math.max(
1768
1768
  r.value.clientHeight / r.value.scrollHeight,
1769
1769
  0.05
1770
- )), F = N(() => W.value > s ? 0 : W.value * r.value.clientHeight), O = N(() => ({
1770
+ )), F = N(() => W.value > s ? 0 : W.value * r.value.clientHeight), b = N(() => ({
1771
1771
  willChange: "transform",
1772
1772
  transform: `translate3d(0,${M.value}px,0)`,
1773
1773
  height: o ? `${F.value}px` : void 0
@@ -1842,12 +1842,12 @@ function bn(e) {
1842
1842
  offsetTop: M,
1843
1843
  scrollTop: i,
1844
1844
  scrollable: c,
1845
- sliderPos: O,
1845
+ sliderPos: b,
1846
1846
  init: U,
1847
1847
  modifySliderEventListener: C
1848
1848
  };
1849
1849
  }
1850
- const kn = (e) => (pe("data-v-405c22cf"), e = e(), De(), e), Qn = /* @__PURE__ */ kn(() => /* @__PURE__ */ _("div", { class: "default-slider" }, null, -1)), Yn = /* @__PURE__ */ q({
1850
+ const kn = (e) => (pe("data-v-405c22cf"), e = e(), De(), e), Qn = /* @__PURE__ */ kn(() => /* @__PURE__ */ O("div", { class: "default-slider" }, null, -1)), Yn = /* @__PURE__ */ q({
1851
1851
  __name: "ScrollBar",
1852
1852
  props: {
1853
1853
  containerEl: null,
@@ -1857,7 +1857,7 @@ const kn = (e) => (pe("data-v-405c22cf"), e = e(), De(), e), Qn = /* @__PURE__ *
1857
1857
  performance: null
1858
1858
  },
1859
1859
  setup(e, { expose: t }) {
1860
- const n = e, o = !!Ot().default, l = m(null), s = N(() => n.containerEl), a = bn({
1860
+ const n = e, o = !!bt().default, l = m(null), s = N(() => n.containerEl), a = _n({
1861
1861
  containerEl: s,
1862
1862
  sliderEl: l,
1863
1863
  autoHeight: o ? n.autoHeight : !0,
@@ -1886,9 +1886,9 @@ const kn = (e) => (pe("data-v-405c22cf"), e = e(), De(), e), Qn = /* @__PURE__ *
1886
1886
  function r() {
1887
1887
  v.value = !1;
1888
1888
  }
1889
- return t({ uScrollBarReturn: a }), (T, h) => (b(), Ie(Ye, null, {
1889
+ return t({ uScrollBarReturn: a }), (T, h) => (_(), Ie(Ye, null, {
1890
1890
  default: Be(() => [
1891
- ve(_("div", {
1891
+ ve(O("div", {
1892
1892
  ref_key: "sliderRef",
1893
1893
  ref: l,
1894
1894
  class: "slider-wrapper",
@@ -1913,7 +1913,7 @@ const Qo = /* @__PURE__ */ ee(Yn, [["__scopeId", "data-v-405c22cf"]]), Bn = (e)
1913
1913
  }, $n = {
1914
1914
  key: 0,
1915
1915
  class: "box-load"
1916
- }, Pn = { class: "left-load" }, Hn = { class: "right-load" }, Fn = /* @__PURE__ */ Bn(() => /* @__PURE__ */ _("div", { class: "among-load" }, null, -1)), Wn = { class: "pull-arrow" }, Xn = { key: 1 }, Zn = /* @__PURE__ */ q({
1916
+ }, Pn = { class: "left-load" }, Hn = { class: "right-load" }, Fn = /* @__PURE__ */ Bn(() => /* @__PURE__ */ O("div", { class: "among-load" }, null, -1)), Wn = { class: "pull-arrow" }, Xn = { key: 1 }, Zn = /* @__PURE__ */ q({
1917
1917
  __name: "PullRefresh",
1918
1918
  props: {
1919
1919
  refresh: null,
@@ -1943,58 +1943,58 @@ const Qo = /* @__PURE__ */ ee(Yn, [["__scopeId", "data-v-405c22cf"]]), Bn = (e)
1943
1943
  y.value = p.touches[0].pageY;
1944
1944
  }, W = (p) => {
1945
1945
  const z = p.touches[0].pageY - y.value;
1946
- y.value = p.touches[0].pageY, !t.refreshOff && (!t?.refresh || M.value !== 2 && T.value === 0 && (d.value === 0 && (d.value = p.touches[0].pageY), i.value = 0, O.value.style.transition = `${i.value}ms`, g.value = 0, v.value = p.touches[0].pageY - d.value, O.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, z > 0 && p.preventDefault()));
1946
+ y.value = p.touches[0].pageY, !t.refreshOff && (!t?.refresh || M.value !== 2 && T.value === 0 && (d.value === 0 && (d.value = p.touches[0].pageY), i.value = 0, b.value.style.transition = `${i.value}ms`, g.value = 0, v.value = p.touches[0].pageY - d.value, b.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, z > 0 && p.preventDefault()));
1947
1947
  }, F = () => {
1948
1948
  if (t.refreshOff || !t?.refresh || M.value === 2)
1949
1949
  return;
1950
1950
  d.value = 0, i.value = 300;
1951
1951
  const p = Math.pow(v.value, n);
1952
- O.value.style.transition = `${i.value}ms`, p > 50 ? (M.value = 2, v.value = Math.pow(50, 1 / n), O.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, g.value = 300, t?.refresh && t?.refresh().then(() => {
1952
+ b.value.style.transition = `${i.value}ms`, p > 50 ? (M.value = 2, v.value = Math.pow(50, 1 / n), b.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`, g.value = 300, t?.refresh && t?.refresh().then(() => {
1953
1953
  r.value = "\u5237\u65B0\u6210\u529F";
1954
1954
  }).catch(() => {
1955
1955
  r.value = "\u5237\u65B0\u5931\u8D25";
1956
1956
  }).finally(() => {
1957
1957
  setTimeout(() => {
1958
- M.value = 0, v.value = 0, O.value.style.transform = `translate3d(0, ${Math.pow(
1958
+ M.value = 0, v.value = 0, b.value.style.transform = `translate3d(0, ${Math.pow(
1959
1959
  v.value,
1960
1960
  n
1961
1961
  )}px, 0)`, setTimeout(() => {
1962
1962
  r.value = void 0;
1963
1963
  }, g.value);
1964
1964
  }, 600);
1965
- })) : (v.value = 0, O.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`);
1966
- }, O = m(null);
1965
+ })) : (v.value = 0, b.value.style.transform = `translate3d(0, ${Math.pow(v.value, n)}px, 0)`);
1966
+ }, b = m(null);
1967
1967
  return ie(() => {
1968
- t?.refreshOff || (O.value = document.querySelector(
1968
+ t?.refreshOff || (b.value = document.querySelector(
1969
1969
  t.pullRefreshContainer
1970
- ), O.value?.addEventListener("touchstart", x), O.value?.addEventListener("touchmove", W), O.value?.addEventListener("touchend", F));
1971
- }), (p, z) => (b(), $("div", Un, [
1972
- _("div", {
1970
+ ), b.value?.addEventListener("touchstart", x), b.value?.addEventListener("touchmove", W), b.value?.addEventListener("touchend", F));
1971
+ }), (p, z) => (_(), $("div", Un, [
1972
+ O("div", {
1973
1973
  class: "pull-refresh-box",
1974
1974
  style: G(E(h))
1975
1975
  }, [
1976
- r.value ? (b(), $("div", Xn, Re(r.value), 1)) : (b(), $("div", Rn, [
1977
- M.value == 2 ? (b(), $("div", $n, [
1978
- _("div", Pn, [
1979
- _("div", {
1976
+ r.value ? (_(), $("div", Xn, Re(r.value), 1)) : (_(), $("div", Rn, [
1977
+ M.value == 2 ? (_(), $("div", $n, [
1978
+ O("div", Pn, [
1979
+ O("div", {
1980
1980
  class: "left-circle",
1981
1981
  style: G({ backgroundColor: o })
1982
1982
  }, null, 4)
1983
1983
  ]),
1984
- _("div", Hn, [
1985
- _("div", {
1984
+ O("div", Hn, [
1985
+ O("div", {
1986
1986
  class: "right-circle",
1987
1987
  style: G({ backgroundColor: o })
1988
1988
  }, null, 4)
1989
1989
  ]),
1990
1990
  Fn
1991
- ])) : (b(), $("div", {
1991
+ ])) : (_(), $("div", {
1992
1992
  key: 1,
1993
1993
  class: "pull-circle-line",
1994
1994
  style: G(E(c))
1995
1995
  }, [
1996
- _("div", Wn, [
1997
- _("div", {
1996
+ O("div", Wn, [
1997
+ O("div", {
1998
1998
  class: oe(["arrows", { opacity: u.value }]),
1999
1999
  style: G({ borderBottomColor: o })
2000
2000
  }, null, 6)
@@ -2020,7 +2020,7 @@ const Vn = /* @__PURE__ */ ee(Zn, [["__scopeId", "data-v-df5da876"]]), Kn = ["da
2020
2020
  },
2021
2021
  emits: ["scrollEnd"],
2022
2022
  setup(e, { expose: t, emit: n }) {
2023
- const o = e, l = qt(_t(o, "data"), {
2023
+ const o = e, l = qt(Ot(o, "data"), {
2024
2024
  itemHeight: (M) => o.itemHeight(o.data[M]),
2025
2025
  overscan: o.overscan,
2026
2026
  scrollEndHook: () => {
@@ -2041,25 +2041,25 @@ const Vn = /* @__PURE__ */ ee(Zn, [["__scopeId", "data-v-df5da876"]]), Kn = ["da
2041
2041
  function g(M, r) {
2042
2042
  return o.getItemKey ? o.getItemKey(M, r) : `${r}`;
2043
2043
  }
2044
- return (M, r) => (b(), $(be, null, [
2044
+ return (M, r) => (_(), $(_e, null, [
2045
2045
  Me(Vn, {
2046
2046
  refresh: e.refresh,
2047
2047
  refreshOff: e.refreshOff,
2048
2048
  scrollTop: E(v),
2049
2049
  pullRefreshContainer: "#" + i
2050
2050
  }, null, 8, ["refresh", "refreshOff", "scrollTop", "pullRefreshContainer"]),
2051
- _("div", {
2051
+ O("div", {
2052
2052
  class: "virtualListWrapper",
2053
2053
  id: i
2054
2054
  }, [
2055
- _("div", ge({
2055
+ O("div", ge({
2056
2056
  onScrollPassive: r[0] || (r[0] = (...T) => E(a).onScroll && E(a).onScroll(...T)),
2057
2057
  ref: E(a).ref,
2058
2058
  class: "virtualList"
2059
2059
  }, M.$attrs), [
2060
- _("div", Oe(_e(E(f))), [
2061
- _("div", Oe(_e(E(u))), [
2062
- (b(!0), $(be, null, bt(E(s), ({ data: T, index: h }) => (b(), $("div", {
2060
+ O("div", be(Oe(E(f))), [
2061
+ O("div", be(Oe(E(u))), [
2062
+ (_(!0), $(_e, null, _t(E(s), ({ data: T, index: h }) => (_(), $("div", {
2063
2063
  key: g(T, h),
2064
2064
  "data-key": g(T, h),
2065
2065
  style: G({
@@ -2079,14 +2079,14 @@ const Vn = /* @__PURE__ */ ee(Zn, [["__scopeId", "data-v-df5da876"]]), Kn = ["da
2079
2079
  ], 64));
2080
2080
  }
2081
2081
  });
2082
- const Yo = /* @__PURE__ */ ee(qn, [["__scopeId", "data-v-dfe60586"]]), tt = (e) => (pe("data-v-33519afd"), e = e(), De(), e), Jn = { style: { position: "absolute" } }, eo = /* @__PURE__ */ tt(() => /* @__PURE__ */ _("div", { class: "wrapper" }, null, -1)), to = ["width", "height"], no = /* @__PURE__ */ tt(() => /* @__PURE__ */ _("title", null, "logo", -1)), oo = /* @__PURE__ */ tt(() => /* @__PURE__ */ _("g", {
2082
+ const Yo = /* @__PURE__ */ ee(qn, [["__scopeId", "data-v-dfe60586"]]), tt = (e) => (pe("data-v-33519afd"), e = e(), De(), e), Jn = { style: { position: "absolute" } }, eo = /* @__PURE__ */ tt(() => /* @__PURE__ */ O("div", { class: "wrapper" }, null, -1)), to = ["width", "height"], no = /* @__PURE__ */ tt(() => /* @__PURE__ */ O("title", null, "logo", -1)), oo = /* @__PURE__ */ tt(() => /* @__PURE__ */ O("g", {
2083
2083
  id: "group-1",
2084
2084
  stroke: "none",
2085
2085
  "stroke-width": "1",
2086
2086
  fill: "none",
2087
2087
  "fill-rule": "evenodd"
2088
2088
  }, [
2089
- /* @__PURE__ */ _("path", {
2089
+ /* @__PURE__ */ O("path", {
2090
2090
  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",
2091
2091
  id: "path-1",
2092
2092
  fill: "#FFF"
@@ -2107,9 +2107,9 @@ const Yo = /* @__PURE__ */ ee(qn, [["__scopeId", "data-v-dfe60586"]]), tt = (e)
2107
2107
  "312487ac": n
2108
2108
  }));
2109
2109
  const n = `${t.duration}ms`;
2110
- return (o, l) => (b(), $("div", Jn, [
2110
+ return (o, l) => (_(), $("div", Jn, [
2111
2111
  eo,
2112
- (b(), $("svg", {
2112
+ (_(), $("svg", {
2113
2113
  style: { position: "relative" },
2114
2114
  width: e.width,
2115
2115
  height: e.height,
@@ -2170,7 +2170,7 @@ function Tt() {
2170
2170
  }
2171
2171
  } };
2172
2172
  }
2173
- const uo = (e) => (pe("data-v-a5909fc3"), e = e(), De(), e), ro = ["title"], co = /* @__PURE__ */ uo(() => /* @__PURE__ */ _("span", { class: "tip" }, "\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301", -1)), fo = ["src"], vo = ["src"], Mo = ["title"], go = { inheritAttrs: !1 }, ho = /* @__PURE__ */ q({
2173
+ const uo = (e) => (pe("data-v-c6edbcb9"), e = e(), De(), e), ro = ["title"], co = /* @__PURE__ */ uo(() => /* @__PURE__ */ O("span", { class: "tip" }, "\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301", -1)), fo = ["src"], vo = ["src"], Mo = ["title"], go = { inheritAttrs: !1 }, ho = /* @__PURE__ */ q({
2174
2174
  ...go,
2175
2175
  __name: "Image",
2176
2176
  props: {
@@ -2188,9 +2188,13 @@ const uo = (e) => (pe("data-v-a5909fc3"), e = e(), De(), e), ro = ["title"], co
2188
2188
  component: an,
2189
2189
  delay: 300
2190
2190
  }), h = Qt(() => f.value && n.autoRemoveThumbnail ? !1 : n.thumbnail && !f.value);
2191
- K(i, (p) => {
2192
- p || t("noSupport");
2193
- });
2191
+ K(
2192
+ i,
2193
+ (p) => {
2194
+ p || t("noSupport");
2195
+ },
2196
+ { immediate: !0 }
2197
+ );
2194
2198
  function c() {
2195
2199
  a.value = !0;
2196
2200
  }
@@ -2206,12 +2210,12 @@ const uo = (e) => (pe("data-v-a5909fc3"), e = e(), De(), e), ro = ["title"], co
2206
2210
  async function F(p) {
2207
2211
  p ? x() : l.value && t("load", l.value), s.value = !0;
2208
2212
  }
2209
- function O(p) {
2213
+ function b(p) {
2210
2214
  p ? M() : c(), s.value = !0;
2211
2215
  }
2212
- return (p, z) => (b(), $(be, null, [
2213
- E(i) && !s.value ? (b(), Ie(E(T), { key: 0 })) : ue("", !0),
2214
- E(i) ? E(g) ? (b(), $("div", ge({ key: 3 }, p.$attrs, {
2216
+ return (p, z) => (_(), $(_e, null, [
2217
+ E(i) && !s.value ? (_(), Ie(E(T), { key: 0 })) : ue("", !0),
2218
+ E(i) ? E(g) ? (_(), $("div", ge({ key: 3 }, p.$attrs, {
2215
2219
  title: E(v),
2216
2220
  class: "tip-wrap"
2217
2221
  }), [
@@ -2223,29 +2227,29 @@ const uo = (e) => (pe("data-v-a5909fc3"), e = e(), De(), e), ro = ["title"], co
2223
2227
  key: 2,
2224
2228
  src: E(v),
2225
2229
  onLoad: F,
2226
- onError: O
2230
+ onError: b
2227
2231
  }, () => [
2228
- E(h) ? ve((b(), $("img", ge({ key: 0 }, p.$attrs, {
2232
+ E(h) ? ve((_(), $("img", ge({ key: 0 }, p.$attrs, {
2229
2233
  ref_key: "thumbnailRef",
2230
2234
  ref: l,
2231
2235
  onLoad: z[0] || (z[0] = (Y) => F()),
2232
- onError: z[1] || (z[1] = (Y) => O()),
2236
+ onError: z[1] || (z[1] = (Y) => b()),
2233
2237
  src: e.thumbnail
2234
2238
  }), null, 16, fo)), [
2235
2239
  [E(r)]
2236
2240
  ]) : ue("", !0),
2237
- e.isShowSrc || a.value ? ve((b(), $("img", ge({ key: 1 }, p.$attrs, {
2241
+ e.isShowSrc || a.value ? ve((_(), $("img", ge({ key: 1 }, p.$attrs, {
2238
2242
  ref_key: "srcRef",
2239
2243
  ref: o,
2240
2244
  class: "src-class",
2241
2245
  onLoad: z[2] || (z[2] = (Y) => F(!0)),
2242
- onError: z[3] || (z[3] = (Y) => O(!0)),
2246
+ onError: z[3] || (z[3] = (Y) => b(!0)),
2243
2247
  src: E(v)
2244
2248
  }), null, 16, vo)), [
2245
2249
  [E(r)],
2246
2250
  [Ae, a.value]
2247
2251
  ]) : ue("", !0)
2248
- ], !0) : (b(), $("div", ge({ key: 1 }, p.$attrs, {
2252
+ ], !0) : (_(), $("div", ge({ key: 1 }, p.$attrs, {
2249
2253
  title: E(v),
2250
2254
  class: "tip-wrap"
2251
2255
  }), [
@@ -2258,7 +2262,7 @@ const uo = (e) => (pe("data-v-a5909fc3"), e = e(), De(), e), ro = ["title"], co
2258
2262
  ], 64));
2259
2263
  }
2260
2264
  });
2261
- const Uo = /* @__PURE__ */ ee(ho, [["__scopeId", "data-v-a5909fc3"]]), mo = ["title"], yo = ["src"], po = ["title"], Do = /* @__PURE__ */ q({
2265
+ const Uo = /* @__PURE__ */ ee(ho, [["__scopeId", "data-v-c6edbcb9"]]), mo = ["title"], yo = ["src"], po = ["title"], Do = /* @__PURE__ */ q({
2262
2266
  __name: "Thumbnail",
2263
2267
  props: {
2264
2268
  src: null,
@@ -2266,7 +2270,7 @@ const Uo = /* @__PURE__ */ ee(ho, [["__scopeId", "data-v-a5909fc3"]]), mo = ["ti
2266
2270
  },
2267
2271
  setup(e) {
2268
2272
  const t = e, n = m(!1), { src: o, mime: l } = vt(t), { imgSrc: s, hasError: a, isSupport: f, handleError: u } = Dt(o, l), { vImageCancel: d } = Tt();
2269
- return (v, i) => E(f) ? E(a) ? (b(), $("div", {
2273
+ return (v, i) => E(f) ? E(a) ? (_(), $("div", {
2270
2274
  key: 2,
2271
2275
  title: E(s),
2272
2276
  class: "icon-wrap"
@@ -2275,7 +2279,7 @@ const Uo = /* @__PURE__ */ ee(ho, [["__scopeId", "data-v-a5909fc3"]]), mo = ["ti
2275
2279
  class: "icon",
2276
2280
  name: "\u56FE\u7247\u635F\u574F"
2277
2281
  })
2278
- ], 8, po)) : ve((b(), $("img", {
2282
+ ], 8, po)) : ve((_(), $("img", {
2279
2283
  key: 1,
2280
2284
  fetchpriority: "high",
2281
2285
  onLoad: i[0] || (i[0] = (g) => n.value = !0),
@@ -2284,7 +2288,7 @@ const Uo = /* @__PURE__ */ ee(ho, [["__scopeId", "data-v-a5909fc3"]]), mo = ["ti
2284
2288
  }, null, 40, yo)), [
2285
2289
  [E(d)],
2286
2290
  [Ae, n.value]
2287
- ]) : (b(), $("div", {
2291
+ ]) : (_(), $("div", {
2288
2292
  key: 0,
2289
2293
  title: E(s),
2290
2294
  class: "icon-wrap"
@@ -2323,16 +2327,16 @@ export {
2323
2327
  We as toggleKey,
2324
2328
  ye as unselectAllKey,
2325
2329
  Ge as unselectKey,
2326
- bo as useBackPress,
2330
+ _o as useBackPress,
2327
2331
  Co as useDelayAsync,
2328
2332
  jo as useDelayLoad,
2329
2333
  yt as useDelayLoadComp,
2330
- _o as useDownDrag,
2334
+ Oo as useDownDrag,
2331
2335
  mt as useDragSelect,
2332
2336
  zo as useDragSelectByMobile,
2333
2337
  Ao as useDragSelectByPc,
2334
2338
  jn as useRouterActivated,
2335
- Oo as useScaleImageByMobile,
2339
+ bo as useScaleImageByMobile,
2336
2340
  So as useScaleImageByPc,
2337
2341
  Io as useSelectable,
2338
2342
  Eo as useSelectableByBase,
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(E,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(E=typeof globalThis<"u"?globalThis:E||self,e(E.ui={},E.Vue))})(this,function(E,e){"use strict";const Ie={created(t,n){let o,l;function s(i){i.button==0&&(o=i.clientX,l=i.clientY)}function a(i){if(i.button!=0||o===void 0)return;const M=i.clientX,c=i.clientY,f=Math.abs(M-o),g=Math.abs(c-l);f>5||g>5||n.value&&n.value(i)}t.__mouse_down__=s,t.__mouse_up__=a,t.addEventListener("mousedown",s),t.addEventListener("mouseup",a)},unmounted(t){t.removeEventListener("mousedown",t.__mouse_down__),t.removeEventListener("mouseup",t.__mouse_up__)}},He={created(t,n){const{fn:o,ms:l=1500}=n.value;let s=null;function a(i){s||(o(i),s=setTimeout(()=>{s=null},l))}t.addEventListener("click",a)}};function Ve(t,n){var o;const l=e.shallowRef();return e.watchEffect(()=>{l.value=t()},{...n,flush:(o=n?.flush)!=null?o:"sync"}),e.readonly(l)}function We(t,n){let o,l,s;const a=e.ref(!0),i=()=>{a.value=!0,s()};e.watch(t,i,{flush:"sync"});const M=typeof n=="function"?n:n.get,c=typeof n=="function"?void 0:n.set,f=e.customRef((g,r)=>(l=g,s=r,{get(){return a.value&&(o=M(),a.value=!1),l(),o},set(h){c?.(h)}}));return Object.isExtensible(f)&&(f.trigger=i),f}function ge(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function H(t){return typeof t=="function"?t():e.unref(t)}const ze=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Xe=Object.prototype.toString,Ze=t=>Xe.call(t)==="[object Object]",K=()=>{};function Ae(t,n){function o(...l){return new Promise((s,a)=>{Promise.resolve(t(()=>n.apply(this,l),{fn:n,thisArg:this,args:l})).then(s).catch(a)})}return o}function Ke(t,n={}){let o,l,s=K;const a=M=>{clearTimeout(M),s(),s=K};return M=>{const c=H(t),f=H(n.maxWait);return o&&a(o),c<=0||f!==void 0&&f<=0?(l&&(a(l),l=null),Promise.resolve(M())):new Promise((g,r)=>{s=n.rejectOnCancel?r:g,f&&!l&&(l=setTimeout(()=>{o&&a(o),l=null,g(M())},f)),o=setTimeout(()=>{l&&a(l),l=null,g(M())},c)})}}function Ge(...t){let n=0,o,l=!0,s=K,a,i,M,c,f;!e.isRef(t[0])&&typeof t[0]=="object"?{delay:i,trailing:M=!0,leading:c=!0,rejectOnCancel:f=!1}=t[0]:[i,M=!0,c=!0,f=!1]=t;const g=()=>{o&&(clearTimeout(o),o=void 0,s(),s=K)};return h=>{const m=H(i),u=Date.now()-n,N=()=>a=h();return g(),m<=0?(n=Date.now(),N()):(u>m&&(c||!l)?(n=Date.now(),N()):M&&(a=new Promise((p,d)=>{s=f?d:p,o=setTimeout(()=>{n=Date.now(),l=!0,p(N()),g()},Math.max(0,m-u))})),!c&&!o&&(o=setTimeout(()=>l=!0,m)),l=!1,a)}}function qe(t){return t||e.getCurrentInstance()}function te(t,n=200,o={}){return Ae(Ke(n,o),t)}function me(t,n=200,o=!1,l=!0,s=!1){return Ae(Ge(n,o,l,s),t)}function he(t,n=!0,o){qe()?e.onMounted(t,o):n?t():e.nextTick(t)}function W(t){var n;const o=H(t);return(n=o?.$el)!=null?n:o}const ne=ze?window:void 0,Je=ze?window.document:void 0;function oe(...t){let n,o,l,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,l,s]=t,n=ne):[n,o,l,s]=t,!n)return K;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(g=>g()),a.length=0},M=(g,r,h,m)=>(g.addEventListener(r,h,m),()=>g.removeEventListener(r,h,m)),c=e.watch(()=>[W(n),H(s)],([g,r])=>{if(i(),!g)return;const h=Ze(r)?{...r}:r;a.push(...o.flatMap(m=>l.map(u=>M(g,m,u,h))))},{immediate:!0,flush:"post"}),f=()=>{c(),i()};return ge(f),f}function et(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function tt(t){const n=et();return e.computed(()=>(n.value,Boolean(t())))}function nt(t){const n=e.getCurrentInstance(),o=We(()=>null,()=>t?W(t):n.proxy.$el);return e.onUpdated(o.trigger),e.onMounted(o.trigger),o}function Le(t,n,o={}){const{window:l=ne,...s}=o;let a;const i=tt(()=>l&&"ResizeObserver"in l),M=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>Array.isArray(t)?t.map(r=>W(r)):[W(t)]),f=e.watch(c,r=>{if(M(),i.value&&l){a=new ResizeObserver(n);for(const h of r)h&&a.observe(h,s)}},{immediate:!0,flush:"post"}),g=()=>{M(),f()};return ge(g),{isSupported:i,stop:g}}function ot(t,n={width:0,height:0},o={}){const{window:l=ne,box:s="content-box"}=o,a=e.computed(()=>{var r,h;return(h=(r=W(t))==null?void 0:r.namespaceURI)==null?void 0:h.includes("svg")}),i=e.ref(n.width),M=e.ref(n.height),{stop:c}=Le(t,([r])=>{const h=s==="border-box"?r.borderBoxSize:s==="content-box"?r.contentBoxSize:r.devicePixelContentBoxSize;if(l&&a.value){const m=W(t);if(m){const u=l.getComputedStyle(m);i.value=Number.parseFloat(u.width),M.value=Number.parseFloat(u.height)}}else if(h){const m=Array.isArray(h)?h:[h];i.value=m.reduce((u,{inlineSize:N})=>u+N,0),M.value=m.reduce((u,{blockSize:N})=>u+N,0)}else i.value=r.contentRect.width,M.value=r.contentRect.height},o);he(()=>{const r=W(t);r&&(i.value="offsetWidth"in r?r.offsetWidth:n.width,M.value="offsetHeight"in r?r.offsetHeight:n.height)});const f=e.watch(()=>W(t),r=>{i.value=r?n.width:0,M.value=r?n.height:0});function g(){c(),f()}return{width:i,height:M,stop:g}}const je=1;function lt(t,n={}){const{throttle:o=0,idle:l=200,onStop:s=K,onScroll:a=K,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:M={capture:!1,passive:!0},behavior:c="auto",window:f=ne,onError:g=D=>{console.error(D)}}=n,r=e.ref(0),h=e.ref(0),m=e.computed({get(){return r.value},set(D){N(D,void 0)}}),u=e.computed({get(){return h.value},set(D){N(void 0,D)}});function N(D,z){var O,T,w;if(!f)return;const I=H(t);!I||(w=I instanceof Document?f.document.body:I)==null||w.scrollTo({top:(O=H(z))!=null?O:u.value,left:(T=H(D))!=null?T:m.value,behavior:H(c)})}const p=e.ref(!1),d=e.reactive({left:!0,right:!1,top:!0,bottom:!1}),y=e.reactive({left:!1,right:!1,top:!1,bottom:!1}),j=D=>{!p.value||(p.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,s(D))},R=te(j,o+l),U=D=>{var z;if(!f)return;const O=((z=D?.document)==null?void 0:z.documentElement)||D?.documentElement||W(D),{display:T,flexDirection:w}=getComputedStyle(O),I=O.scrollLeft;y.left=I<r.value,y.right=I>r.value;const _=Math.abs(I)<=(i.left||0),k=Math.abs(I)+O.clientWidth>=O.scrollWidth-(i.right||0)-je;T==="flex"&&w==="row-reverse"?(d.left=k,d.right=_):(d.left=_,d.right=k),r.value=I;let C=O.scrollTop;D===f.document&&!C&&(C=f.document.body.scrollTop),y.top=C<h.value,y.bottom=C>h.value;const A=Math.abs(C)<=(i.top||0),v=Math.abs(C)+O.clientHeight>=O.scrollHeight-(i.bottom||0)-je;T==="flex"&&w==="column-reverse"?(d.top=v,d.bottom=A):(d.top=A,d.bottom=v),h.value=C},x=D=>{var z;if(!f)return;const O=(z=D.target.documentElement)!=null?z:D.target;U(O),p.value=!0,R(D),a(D)};return oe(t,"scroll",o?me(x,o,!0,!1):x,M),he(()=>{try{const D=H(t);if(!D)return;U(D)}catch(D){g(D)}}),oe(t,"scrollend",j,M),{x:m,y:u,isScrolling:p,arrivedState:d,directions:y,measure(){const D=H(t);f&&D&&U(D)}}}let st=0;function pe(t,n={}){const o=e.ref(!1),{document:l=Je,immediate:s=!0,manual:a=!1,id:i=`vueuse_styletag_${++st}`}=n,M=e.ref(t);let c=()=>{};const f=()=>{if(!l)return;const r=l.getElementById(i)||l.createElement("style");r.isConnected||(r.id=i,n.media&&(r.media=n.media),l.head.appendChild(r)),!o.value&&(c=e.watch(M,h=>{r.textContent=h},{immediate:!0}),o.value=!0)},g=()=>{!l||!o.value||(c(),l.head.removeChild(l.getElementById(i)),o.value=!1)};return s&&!a&&he(f),a||ge(g),{id:i,css:M,unload:g,load:f,isLoaded:e.readonly(o)}}function at(t,n,o){const l=t.style[n];return l!=o&&(t.style[n]=o),{reset(){l!=o&&(t.style[n]=l)}}}function Ce(t,n){const{scrollEndHook:o,itemHeight:l,overscan:s=5}=n,a=e.ref(null),i=ot(a),M=e.ref(!0),c=te(U,100);let f;const g=e.shallowRef(t),r=e.ref(0),h=e.ref({start:0,end:10}),m=e.ref({start:0,end:s});let u=0;const N=e.ref([]),p=e.computed(()=>{let{sum:A,height:v}={sum:0,height:0};return g.value.map((b,B)=>(typeof l=="number"?v=l:v=l(B),A+=v,{height:v,sum:A}))}),d=e.computed(()=>T(h.value.start)),y=e.computed(()=>typeof l=="number"?p.value.length*l:p.value[p.value.length-1]?.sum||0),j=e.computed(()=>{const{start:A,end:v}=m.value;return N.value.slice(A,v)});e.onMounted(()=>{}),e.onUnmounted(()=>cancelAnimationFrame(f)),e.watch(g,()=>{(i.width.value||i.height.value)&&x()},{deep:!0}),e.watch([i.width,i.height],([A,v])=>{(A||v)&&x()},{deep:!0}),e.watch(r,()=>{R(),c()});function R(){M.value=!1}function U(){M.value=!0,o?.()}function x(){cancelAnimationFrame(f),f=requestAnimationFrame(D)}function D(){if(a.value){r.value=a.value.scrollTop;let A=z(r.value);u=O(A);let v=Math.max(0,A-s),b=Math.min(A+u+s,g.value.length);h.value={start:v,end:b},N.value=g.value.slice(v,b).map((B,Q)=>({data:B,index:Q+v})),m.value.start=A-v,m.value.end=m.value.start+u}}function z(A){let v=0,b=p.value.length-1,B=-1;for(;v<=b;){const Q=Math.floor((v+b)/2);p.value[Q].sum>=A?(B=Q,b=Q-1):v=Q+1}return Math.max(0,B)}function O(A){let v=0,b=0;for(let B=A;B<p.value.length&&(v++,b+=p.value[B].height,!(b>=i.height.value));B++);return v}function T(A){if(typeof l=="number")return A*l;let v=p.value[A];return v?v.sum-v.height:0}function w(A){return p.value[A]||{sum:0,height:0}}function I(A,v="smooth"){if(a.value){const{reset:b}=at(a.value,"scrollBehavior",v),B=w(A);a.value.scrollTop=B.sum-B.height,D(),b()}if(a.value){const b=w(A);a.value.scrollTop=b.sum-b.height,D()}}const _=e.computed(()=>({style:{width:"100%",height:`${y.value}px`,pointerEvents:M.value?void 0:"none"}})),k=e.computed(()=>({style:{transform:`translate3d(0, ${d.value}px, 0)`,"will-change":"transform"}})),C={overflowY:"auto"};return{list:N,visiableList:j,getItemHeightData:w,getoffsetTopIndex:z,totalHeight:y,clientHeight:i.height,scrollTo:I,scrollTop:r,isScrollEnd:M,containerProps:{ref:a,onScroll:()=>{x()},style:C},wrapperProps:_,innerProps:k}}const le=Symbol(),se=Symbol(),ae=Symbol(),ie=Symbol(),re=Symbol(),ce=Symbol(),ue=Symbol(),de=Symbol(),G=Symbol(),fe=Symbol();function it(){const{voidFn:t,boolFn:n,boolRef:o,numberRef:l,arrayRef:s}={voidFn:N=>{},boolFn:N=>!1,boolRef:e.computed(()=>!1),numberRef:e.computed(()=>0),arrayRef:e.computed(()=>[])},a=e.inject(ie,s),i=e.inject(ae,n),M=e.inject(de,o),c=e.inject(se,t),f=e.inject(le,t),g=e.inject(re,t),r=e.inject(ce,t),h=e.inject(ue,t),m=e.inject(G,t),u=e.inject(fe,l);return{selected:a,isSelected:i,isAllSelected:M,toggle:c,toggleAll:f,select:g,selectAll:r,unselect:h,unselectAll:m,selectedCount:u}}function rt(t,n,o={deep:!0}){const l=e.ref(!1),s=e.ref(new Set),a=e.ref(new Map);e.watch(t,d=>{a.value=d.reduce((y,j)=>(y.set(j[n],j),y),new Map)},{deep:o.deep,immediate:!0});const i=e.computed(()=>{let d=[];if(l.value!=null)l.value&&(d=Array.from(a.value.values()));else if(s.value.size){let y;s.value.forEach(j=>{y=a.value.get(j),y&&d.push(y)})}return d}),M=e.computed(()=>{let d=0;return l.value!=null?l.value&&(d=a.value.size):d=s.value.size,d}),c=e.computed(()=>{let d;if(l.value!=null)d=l.value;else{const y=s.value.size,j=a.value.size;d=y==j}return d});function f(){l.value=!0}function g(){l.value=!1}function r(d){u(()=>{d.forEach(y=>{s.value.add(y[n])})})}function h(d){u(()=>{d.forEach(y=>{s.value.delete(y[n])})})}function m(d){return l.value!=null?l.value:s.value.has(d[n])}function u(d){l.value!=null&&(l.value?s.value=new Set(Array.from(a.value.keys())):s.value=new Set),d(),s.value.size==0?l.value=!1:s.value.size==a.value.size?l.value=!0:l.value=null}function N(d){u(()=>{d.forEach(y=>{m(y)?s.value.delete(y[n]):s.value.add(y[n])})})}function p(){const{value:d}=c;d?g():f()}return e.provide(le,p),e.provide(se,N),e.provide(ae,m),e.provide(ie,i),e.provide(re,r),e.provide(ce,f),e.provide(ue,h),e.provide(de,c),e.provide(G,g),e.provide(G,g),e.provide(fe,M),{selected:i,select:r,selectAll:f,unselect:h,unselectAll:g,toggle:N,toggleAll:p,isSelected:m,isAllSelected:c,selectedCount:M}}function ct(t){const n=e.ref(!1),o=e.ref(new Set),l=e.computed(()=>{let u=[];return n.value!=null?n.value&&(u=t.value):o.value.size&&(u=Array.from(o.value.values())),u}),s=e.computed(()=>{let u=0;return n.value!=null?n.value&&(u=t.value.length):u=o.value.size,u}),a=e.computed(()=>{let u;if(n.value!=null)u=n.value;else{const N=o.value.size,p=t.value.length;u=N==p}return u});function i(){n.value=!0}function M(){n.value=!1}function c(u){r(()=>{u.forEach(N=>{o.value.add(N)})})}function f(u){r(()=>{u.forEach(N=>{o.value.delete(N)})})}function g(u){return n.value!=null?n.value:o.value.has(u)}function r(u){n.value!=null&&(n.value?o.value=new Set(Array.from(t.value)):o.value=new Set),u(),o.value.size==0?n.value=!1:o.value.size==t.value.length?n.value=!0:n.value=null}function h(u){r(()=>{u.forEach(N=>{g(N)?o.value.delete(N):o.value.add(N)})})}function m(){const{value:u}=a;u?M():i()}return e.provide(le,m),e.provide(se,h),e.provide(ae,g),e.provide(ie,l),e.provide(re,c),e.provide(ce,i),e.provide(ue,f),e.provide(de,a),e.provide(G,M),e.provide(G,M),e.provide(fe,s),{selected:l,select:c,selectAll:i,unselect:f,unselectAll:M,toggle:h,toggleAll:m,isSelected:g,isAllSelected:a,selectedCount:s}}function ye(t){return()=>{console.debug(`\u9ED8\u8BA4${t}\u65B9\u6CD5,\u9700\u8981\u81EA\u5B9A\u4E49\u751F\u6548`)}}function De({attribute:t,selectWay:n="colum",scrollOptions:o={},getSelectMap:l=()=>({})}){const{select:s=ye("\u9009\u62E9"),unselect:a=ye("\u53D6\u6D88\u9009\u62E9"),unselectAll:i=ye("\u53D6\u6D88\u5168\u9009")}=l();let M={};const c=e.computed(()=>me(n==="colum"?q:kn,50)),f=new Set,g=e.ref(!0),r=e.ref(),h=e.ref(!1),m=e.ref({x:0,y:0}),u=e.ref({x:0,y:0,scrollTop:0}),N=new ResizeObserver(L=>p.value=L[0].target.getBoundingClientRect()),p=e.ref({}),d=e.ref({top:0,height:0,sync(L=!1){d.value.top=r.value?.scrollTop||0,L&&(d.value.height=r.value?.scrollHeight||0)}}),y=e.computed(()=>h.value?{left:Math.min(m.value.x,u.value.x)-p.value.left,top:Math.min(m.value.y,u.value.y)-p.value.top,width:Math.abs(m.value.x-u.value.x),height:Math.abs(m.value.y-u.value.y)}:{left:0,top:0,width:0,height:0}),{margin:j=50,startSpeed:R=30,maxSpeed:U=30}=o;let x;const D=j,z=R,O=U,T=L=>L**1;let w=0;function I(L){if(cancelAnimationFrame(x),w=_(L),w=Math.max(Math.min(w,O),-O),w!==0){const S=r.value;if(!S||!h.value)return;const $=d.value.height-p.value.height;let P=d.value.top+Number(w);P=Math.min(Math.max(0,P),$),S.scrollTop=P,C(),x=requestAnimationFrame(()=>I(L))}}function _(L){if(r.value){const $=p.value,P=$.bottom-L;if(P<D)return z*T(1-P/D);const Z=L-$.top;if(Z<D)return-z*T(1-Z/D)}return 0}function k(L){const S={...y.value,right:0,bottom:0};return S.left+=p.value.left,S.top+=p.value.top-d.value.top,S.right=S.width+S.left,S.bottom=S.height+S.top,S.left<L.right&&S.right>L.left&&S.top<L.bottom&&S.bottom>L.top}function C(){d.value.sync();const{top:L,height:S}=d.value;u.value.y=Math.min(S+p.value.top,u.value.y+L-u.value.scrollTop),u.value.scrollTop=L}function A(L,S,$="dynamic-styles"){let P=document.getElementById($);P||(P=document.createElement("style"),P.id=$,document.head.appendChild(P));const Z=P.sheet.cssRules,J=Z.length,Qn=`${L} { ${S} }`;for(let ve=0;ve<J;ve++){const Fe=Z[ve];if(Fe.selectorText===L&&Fe.style.cssText===S)return}P.sheet.insertRule(Qn,J)}function v(L,S){g.value=!0,h.value=!0,d.value.sync(!0);const $=S+d.value.top;m.value.x=L,m.value.y=$,u.value.x=L,u.value.y=$,r.value?.classList.add("disable-scroll-behavior"),f.clear()}function b(L,S,$){!h.value||(g.value&&n==="colum"&&!Y()&&(i(),g.value=!1),$?.(),I(S),u.value.x=Math.max(L,p.value.left),u.value.y=Math.min(S+d.value.top,d.value.height+p.value.top),u.value.scrollTop=d.value.top,c.value())}function B(){h.value=!1,r.value?.classList.remove("disable-scroll-behavior")}function Q(){!h.value||(w||C(),c.value())}function Y(){if(!h.value)return!1;const{width:L,height:S}=y.value;return!(Math.max(L,S)>5)}function F(){Y()&&i()}function q(){Y()||r.value?.querySelectorAll(`[${t}]`).forEach(L=>{M[`${t}`]=L.getAttribute(`${t}`),k(L.getBoundingClientRect())?s([M]):a([M])})}function kn(){const L=[];let S=null,$=0;r.value?.querySelectorAll(`[${t}]`).forEach((P,Z)=>{const J=P.getAttribute(`${t}`);L.push(J),k(P.getBoundingClientRect())?(S===null&&(S=Z),S=Math.min(S,Z),$=Math.max($,Z)):(M[`${t}`]=J,f.has(J)&&a([M]))});for(let P=S;P<$+1;P++)M[`${t}`]=L[P],s([M]),f.add(L[P])}function Bn(L){return!L?.value||(r.value=L.value,!r?.value)?!1:(N.observe(r.value),A(".disable-scroll-behavior","scroll-behavior: unset !important;"),!0)}return{init:Bn,dragStart:v,dragMove:b,dragEnd:B,onScroll:Q,isSingleClick:Y,cancelSelectAllBySingleClick:F,selectFn:c,selectRange:y,isPressing:h,containerEl:r,observer:N}}function ut(t){const n=De(t),{observer:o,selectRange:l}=n,{onScroll:s,dragStart:a,dragMove:i,dragEnd:M,cancelSelectAllBySingleClick:c}=n,f=e.computed(()=>({left:`${l.value.left}px`,top:`${l.value.top}px`,width:`${l.value.width}px`,height:`${l.value.height}px`})),{load:g}=pe(`.drag-select-box {
1
+ (function(E,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(E=typeof globalThis<"u"?globalThis:E||self,e(E.ui={},E.Vue))})(this,function(E,e){"use strict";const Ie={created(t,n){let o,l;function s(i){i.button==0&&(o=i.clientX,l=i.clientY)}function a(i){if(i.button!=0||o===void 0)return;const M=i.clientX,c=i.clientY,f=Math.abs(M-o),g=Math.abs(c-l);f>5||g>5||n.value&&n.value(i)}t.__mouse_down__=s,t.__mouse_up__=a,t.addEventListener("mousedown",s),t.addEventListener("mouseup",a)},unmounted(t){t.removeEventListener("mousedown",t.__mouse_down__),t.removeEventListener("mouseup",t.__mouse_up__)}},He={created(t,n){const{fn:o,ms:l=1500}=n.value;let s=null;function a(i){s||(o(i),s=setTimeout(()=>{s=null},l))}t.addEventListener("click",a)}};function Ve(t,n){var o;const l=e.shallowRef();return e.watchEffect(()=>{l.value=t()},{...n,flush:(o=n?.flush)!=null?o:"sync"}),e.readonly(l)}function We(t,n){let o,l,s;const a=e.ref(!0),i=()=>{a.value=!0,s()};e.watch(t,i,{flush:"sync"});const M=typeof n=="function"?n:n.get,c=typeof n=="function"?void 0:n.set,f=e.customRef((g,r)=>(l=g,s=r,{get(){return a.value&&(o=M(),a.value=!1),l(),o},set(h){c?.(h)}}));return Object.isExtensible(f)&&(f.trigger=i),f}function ge(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function H(t){return typeof t=="function"?t():e.unref(t)}const ze=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Xe=Object.prototype.toString,Ze=t=>Xe.call(t)==="[object Object]",K=()=>{};function Ae(t,n){function o(...l){return new Promise((s,a)=>{Promise.resolve(t(()=>n.apply(this,l),{fn:n,thisArg:this,args:l})).then(s).catch(a)})}return o}function Ke(t,n={}){let o,l,s=K;const a=M=>{clearTimeout(M),s(),s=K};return M=>{const c=H(t),f=H(n.maxWait);return o&&a(o),c<=0||f!==void 0&&f<=0?(l&&(a(l),l=null),Promise.resolve(M())):new Promise((g,r)=>{s=n.rejectOnCancel?r:g,f&&!l&&(l=setTimeout(()=>{o&&a(o),l=null,g(M())},f)),o=setTimeout(()=>{l&&a(l),l=null,g(M())},c)})}}function Ge(...t){let n=0,o,l=!0,s=K,a,i,M,c,f;!e.isRef(t[0])&&typeof t[0]=="object"?{delay:i,trailing:M=!0,leading:c=!0,rejectOnCancel:f=!1}=t[0]:[i,M=!0,c=!0,f=!1]=t;const g=()=>{o&&(clearTimeout(o),o=void 0,s(),s=K)};return h=>{const m=H(i),u=Date.now()-n,N=()=>a=h();return g(),m<=0?(n=Date.now(),N()):(u>m&&(c||!l)?(n=Date.now(),N()):M&&(a=new Promise((p,d)=>{s=f?d:p,o=setTimeout(()=>{n=Date.now(),l=!0,p(N()),g()},Math.max(0,m-u))})),!c&&!o&&(o=setTimeout(()=>l=!0,m)),l=!1,a)}}function qe(t){return t||e.getCurrentInstance()}function te(t,n=200,o={}){return Ae(Ke(n,o),t)}function me(t,n=200,o=!1,l=!0,s=!1){return Ae(Ge(n,o,l,s),t)}function he(t,n=!0,o){qe()?e.onMounted(t,o):n?t():e.nextTick(t)}function W(t){var n;const o=H(t);return(n=o?.$el)!=null?n:o}const ne=ze?window:void 0,Je=ze?window.document:void 0;function oe(...t){let n,o,l,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,l,s]=t,n=ne):[n,o,l,s]=t,!n)return K;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(g=>g()),a.length=0},M=(g,r,h,m)=>(g.addEventListener(r,h,m),()=>g.removeEventListener(r,h,m)),c=e.watch(()=>[W(n),H(s)],([g,r])=>{if(i(),!g)return;const h=Ze(r)?{...r}:r;a.push(...o.flatMap(m=>l.map(u=>M(g,m,u,h))))},{immediate:!0,flush:"post"}),f=()=>{c(),i()};return ge(f),f}function et(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function tt(t){const n=et();return e.computed(()=>(n.value,Boolean(t())))}function nt(t){const n=e.getCurrentInstance(),o=We(()=>null,()=>t?W(t):n.proxy.$el);return e.onUpdated(o.trigger),e.onMounted(o.trigger),o}function Le(t,n,o={}){const{window:l=ne,...s}=o;let a;const i=tt(()=>l&&"ResizeObserver"in l),M=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>Array.isArray(t)?t.map(r=>W(r)):[W(t)]),f=e.watch(c,r=>{if(M(),i.value&&l){a=new ResizeObserver(n);for(const h of r)h&&a.observe(h,s)}},{immediate:!0,flush:"post"}),g=()=>{M(),f()};return ge(g),{isSupported:i,stop:g}}function ot(t,n={width:0,height:0},o={}){const{window:l=ne,box:s="content-box"}=o,a=e.computed(()=>{var r,h;return(h=(r=W(t))==null?void 0:r.namespaceURI)==null?void 0:h.includes("svg")}),i=e.ref(n.width),M=e.ref(n.height),{stop:c}=Le(t,([r])=>{const h=s==="border-box"?r.borderBoxSize:s==="content-box"?r.contentBoxSize:r.devicePixelContentBoxSize;if(l&&a.value){const m=W(t);if(m){const u=l.getComputedStyle(m);i.value=Number.parseFloat(u.width),M.value=Number.parseFloat(u.height)}}else if(h){const m=Array.isArray(h)?h:[h];i.value=m.reduce((u,{inlineSize:N})=>u+N,0),M.value=m.reduce((u,{blockSize:N})=>u+N,0)}else i.value=r.contentRect.width,M.value=r.contentRect.height},o);he(()=>{const r=W(t);r&&(i.value="offsetWidth"in r?r.offsetWidth:n.width,M.value="offsetHeight"in r?r.offsetHeight:n.height)});const f=e.watch(()=>W(t),r=>{i.value=r?n.width:0,M.value=r?n.height:0});function g(){c(),f()}return{width:i,height:M,stop:g}}const je=1;function lt(t,n={}){const{throttle:o=0,idle:l=200,onStop:s=K,onScroll:a=K,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:M={capture:!1,passive:!0},behavior:c="auto",window:f=ne,onError:g=D=>{console.error(D)}}=n,r=e.ref(0),h=e.ref(0),m=e.computed({get(){return r.value},set(D){N(D,void 0)}}),u=e.computed({get(){return h.value},set(D){N(void 0,D)}});function N(D,z){var O,T,w;if(!f)return;const I=H(t);!I||(w=I instanceof Document?f.document.body:I)==null||w.scrollTo({top:(O=H(z))!=null?O:u.value,left:(T=H(D))!=null?T:m.value,behavior:H(c)})}const p=e.ref(!1),d=e.reactive({left:!0,right:!1,top:!0,bottom:!1}),y=e.reactive({left:!1,right:!1,top:!1,bottom:!1}),j=D=>{!p.value||(p.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,s(D))},R=te(j,o+l),U=D=>{var z;if(!f)return;const O=((z=D?.document)==null?void 0:z.documentElement)||D?.documentElement||W(D),{display:T,flexDirection:w}=getComputedStyle(O),I=O.scrollLeft;y.left=I<r.value,y.right=I>r.value;const b=Math.abs(I)<=(i.left||0),k=Math.abs(I)+O.clientWidth>=O.scrollWidth-(i.right||0)-je;T==="flex"&&w==="row-reverse"?(d.left=k,d.right=b):(d.left=b,d.right=k),r.value=I;let C=O.scrollTop;D===f.document&&!C&&(C=f.document.body.scrollTop),y.top=C<h.value,y.bottom=C>h.value;const A=Math.abs(C)<=(i.top||0),v=Math.abs(C)+O.clientHeight>=O.scrollHeight-(i.bottom||0)-je;T==="flex"&&w==="column-reverse"?(d.top=v,d.bottom=A):(d.top=A,d.bottom=v),h.value=C},x=D=>{var z;if(!f)return;const O=(z=D.target.documentElement)!=null?z:D.target;U(O),p.value=!0,R(D),a(D)};return oe(t,"scroll",o?me(x,o,!0,!1):x,M),he(()=>{try{const D=H(t);if(!D)return;U(D)}catch(D){g(D)}}),oe(t,"scrollend",j,M),{x:m,y:u,isScrolling:p,arrivedState:d,directions:y,measure(){const D=H(t);f&&D&&U(D)}}}let st=0;function pe(t,n={}){const o=e.ref(!1),{document:l=Je,immediate:s=!0,manual:a=!1,id:i=`vueuse_styletag_${++st}`}=n,M=e.ref(t);let c=()=>{};const f=()=>{if(!l)return;const r=l.getElementById(i)||l.createElement("style");r.isConnected||(r.id=i,n.media&&(r.media=n.media),l.head.appendChild(r)),!o.value&&(c=e.watch(M,h=>{r.textContent=h},{immediate:!0}),o.value=!0)},g=()=>{!l||!o.value||(c(),l.head.removeChild(l.getElementById(i)),o.value=!1)};return s&&!a&&he(f),a||ge(g),{id:i,css:M,unload:g,load:f,isLoaded:e.readonly(o)}}function at(t,n,o){const l=t.style[n];return l!=o&&(t.style[n]=o),{reset(){l!=o&&(t.style[n]=l)}}}function Ce(t,n){const{scrollEndHook:o,itemHeight:l,overscan:s=5}=n,a=e.ref(null),i=ot(a),M=e.ref(!0),c=te(U,100);let f;const g=e.shallowRef(t),r=e.ref(0),h=e.ref({start:0,end:10}),m=e.ref({start:0,end:s});let u=0;const N=e.ref([]),p=e.computed(()=>{let{sum:A,height:v}={sum:0,height:0};return g.value.map((_,B)=>(typeof l=="number"?v=l:v=l(B),A+=v,{height:v,sum:A}))}),d=e.computed(()=>T(h.value.start)),y=e.computed(()=>typeof l=="number"?p.value.length*l:p.value[p.value.length-1]?.sum||0),j=e.computed(()=>{const{start:A,end:v}=m.value;return N.value.slice(A,v)});e.onMounted(()=>{}),e.onUnmounted(()=>cancelAnimationFrame(f)),e.watch(g,()=>{(i.width.value||i.height.value)&&x()},{deep:!0}),e.watch([i.width,i.height],([A,v])=>{(A||v)&&x()},{deep:!0}),e.watch(r,()=>{R(),c()});function R(){M.value=!1}function U(){M.value=!0,o?.()}function x(){cancelAnimationFrame(f),f=requestAnimationFrame(D)}function D(){if(a.value){r.value=a.value.scrollTop;let A=z(r.value);u=O(A);let v=Math.max(0,A-s),_=Math.min(A+u+s,g.value.length);h.value={start:v,end:_},N.value=g.value.slice(v,_).map((B,Q)=>({data:B,index:Q+v})),m.value.start=A-v,m.value.end=m.value.start+u}}function z(A){let v=0,_=p.value.length-1,B=-1;for(;v<=_;){const Q=Math.floor((v+_)/2);p.value[Q].sum>=A?(B=Q,_=Q-1):v=Q+1}return Math.max(0,B)}function O(A){let v=0,_=0;for(let B=A;B<p.value.length&&(v++,_+=p.value[B].height,!(_>=i.height.value));B++);return v}function T(A){if(typeof l=="number")return A*l;let v=p.value[A];return v?v.sum-v.height:0}function w(A){return p.value[A]||{sum:0,height:0}}function I(A,v="smooth"){if(a.value){const{reset:_}=at(a.value,"scrollBehavior",v),B=w(A);a.value.scrollTop=B.sum-B.height,D(),_()}if(a.value){const _=w(A);a.value.scrollTop=_.sum-_.height,D()}}const b=e.computed(()=>({style:{width:"100%",height:`${y.value}px`,pointerEvents:M.value?void 0:"none"}})),k=e.computed(()=>({style:{transform:`translate3d(0, ${d.value}px, 0)`,"will-change":"transform"}})),C={overflowY:"auto"};return{list:N,visiableList:j,getItemHeightData:w,getoffsetTopIndex:z,totalHeight:y,clientHeight:i.height,scrollTo:I,scrollTop:r,isScrollEnd:M,containerProps:{ref:a,onScroll:()=>{x()},style:C},wrapperProps:b,innerProps:k}}const le=Symbol(),se=Symbol(),ae=Symbol(),ie=Symbol(),re=Symbol(),ce=Symbol(),ue=Symbol(),de=Symbol(),G=Symbol(),fe=Symbol();function it(){const{voidFn:t,boolFn:n,boolRef:o,numberRef:l,arrayRef:s}={voidFn:N=>{},boolFn:N=>!1,boolRef:e.computed(()=>!1),numberRef:e.computed(()=>0),arrayRef:e.computed(()=>[])},a=e.inject(ie,s),i=e.inject(ae,n),M=e.inject(de,o),c=e.inject(se,t),f=e.inject(le,t),g=e.inject(re,t),r=e.inject(ce,t),h=e.inject(ue,t),m=e.inject(G,t),u=e.inject(fe,l);return{selected:a,isSelected:i,isAllSelected:M,toggle:c,toggleAll:f,select:g,selectAll:r,unselect:h,unselectAll:m,selectedCount:u}}function rt(t,n,o={deep:!0}){const l=e.ref(!1),s=e.ref(new Set),a=e.ref(new Map);e.watch(t,d=>{a.value=d.reduce((y,j)=>(y.set(j[n],j),y),new Map)},{deep:o.deep,immediate:!0});const i=e.computed(()=>{let d=[];if(l.value!=null)l.value&&(d=Array.from(a.value.values()));else if(s.value.size){let y;s.value.forEach(j=>{y=a.value.get(j),y&&d.push(y)})}return d}),M=e.computed(()=>{let d=0;return l.value!=null?l.value&&(d=a.value.size):d=s.value.size,d}),c=e.computed(()=>{let d;if(l.value!=null)d=l.value;else{const y=s.value.size,j=a.value.size;d=y==j}return d});function f(){l.value=!0}function g(){l.value=!1}function r(d){u(()=>{d.forEach(y=>{s.value.add(y[n])})})}function h(d){u(()=>{d.forEach(y=>{s.value.delete(y[n])})})}function m(d){return l.value!=null?l.value:s.value.has(d[n])}function u(d){l.value!=null&&(l.value?s.value=new Set(Array.from(a.value.keys())):s.value=new Set),d(),s.value.size==0?l.value=!1:s.value.size==a.value.size?l.value=!0:l.value=null}function N(d){u(()=>{d.forEach(y=>{m(y)?s.value.delete(y[n]):s.value.add(y[n])})})}function p(){const{value:d}=c;d?g():f()}return e.provide(le,p),e.provide(se,N),e.provide(ae,m),e.provide(ie,i),e.provide(re,r),e.provide(ce,f),e.provide(ue,h),e.provide(de,c),e.provide(G,g),e.provide(G,g),e.provide(fe,M),{selected:i,select:r,selectAll:f,unselect:h,unselectAll:g,toggle:N,toggleAll:p,isSelected:m,isAllSelected:c,selectedCount:M}}function ct(t){const n=e.ref(!1),o=e.ref(new Set),l=e.computed(()=>{let u=[];return n.value!=null?n.value&&(u=t.value):o.value.size&&(u=Array.from(o.value.values())),u}),s=e.computed(()=>{let u=0;return n.value!=null?n.value&&(u=t.value.length):u=o.value.size,u}),a=e.computed(()=>{let u;if(n.value!=null)u=n.value;else{const N=o.value.size,p=t.value.length;u=N==p}return u});function i(){n.value=!0}function M(){n.value=!1}function c(u){r(()=>{u.forEach(N=>{o.value.add(N)})})}function f(u){r(()=>{u.forEach(N=>{o.value.delete(N)})})}function g(u){return n.value!=null?n.value:o.value.has(u)}function r(u){n.value!=null&&(n.value?o.value=new Set(Array.from(t.value)):o.value=new Set),u(),o.value.size==0?n.value=!1:o.value.size==t.value.length?n.value=!0:n.value=null}function h(u){r(()=>{u.forEach(N=>{g(N)?o.value.delete(N):o.value.add(N)})})}function m(){const{value:u}=a;u?M():i()}return e.provide(le,m),e.provide(se,h),e.provide(ae,g),e.provide(ie,l),e.provide(re,c),e.provide(ce,i),e.provide(ue,f),e.provide(de,a),e.provide(G,M),e.provide(G,M),e.provide(fe,s),{selected:l,select:c,selectAll:i,unselect:f,unselectAll:M,toggle:h,toggleAll:m,isSelected:g,isAllSelected:a,selectedCount:s}}function ye(t){return()=>{console.debug(`\u9ED8\u8BA4${t}\u65B9\u6CD5,\u9700\u8981\u81EA\u5B9A\u4E49\u751F\u6548`)}}function De({attribute:t,selectWay:n="colum",scrollOptions:o={},getSelectMap:l=()=>({})}){const{select:s=ye("\u9009\u62E9"),unselect:a=ye("\u53D6\u6D88\u9009\u62E9"),unselectAll:i=ye("\u53D6\u6D88\u5168\u9009")}=l();let M={};const c=e.computed(()=>me(n==="colum"?q:kn,50)),f=new Set,g=e.ref(!0),r=e.ref(),h=e.ref(!1),m=e.ref({x:0,y:0}),u=e.ref({x:0,y:0,scrollTop:0}),N=new ResizeObserver(L=>p.value=L[0].target.getBoundingClientRect()),p=e.ref({}),d=e.ref({top:0,height:0,sync(L=!1){d.value.top=r.value?.scrollTop||0,L&&(d.value.height=r.value?.scrollHeight||0)}}),y=e.computed(()=>h.value?{left:Math.min(m.value.x,u.value.x)-p.value.left,top:Math.min(m.value.y,u.value.y)-p.value.top,width:Math.abs(m.value.x-u.value.x),height:Math.abs(m.value.y-u.value.y)}:{left:0,top:0,width:0,height:0}),{margin:j=50,startSpeed:R=30,maxSpeed:U=30}=o;let x;const D=j,z=R,O=U,T=L=>L**1;let w=0;function I(L){if(cancelAnimationFrame(x),w=b(L),w=Math.max(Math.min(w,O),-O),w!==0){const S=r.value;if(!S||!h.value)return;const $=d.value.height-p.value.height;let P=d.value.top+Number(w);P=Math.min(Math.max(0,P),$),S.scrollTop=P,C(),x=requestAnimationFrame(()=>I(L))}}function b(L){if(r.value){const $=p.value,P=$.bottom-L;if(P<D)return z*T(1-P/D);const Z=L-$.top;if(Z<D)return-z*T(1-Z/D)}return 0}function k(L){const S={...y.value,right:0,bottom:0};return S.left+=p.value.left,S.top+=p.value.top-d.value.top,S.right=S.width+S.left,S.bottom=S.height+S.top,S.left<L.right&&S.right>L.left&&S.top<L.bottom&&S.bottom>L.top}function C(){d.value.sync();const{top:L,height:S}=d.value;u.value.y=Math.min(S+p.value.top,u.value.y+L-u.value.scrollTop),u.value.scrollTop=L}function A(L,S,$="dynamic-styles"){let P=document.getElementById($);P||(P=document.createElement("style"),P.id=$,document.head.appendChild(P));const Z=P.sheet.cssRules,J=Z.length,Qn=`${L} { ${S} }`;for(let ve=0;ve<J;ve++){const Fe=Z[ve];if(Fe.selectorText===L&&Fe.style.cssText===S)return}P.sheet.insertRule(Qn,J)}function v(L,S){g.value=!0,h.value=!0,d.value.sync(!0);const $=S+d.value.top;m.value.x=L,m.value.y=$,u.value.x=L,u.value.y=$,r.value?.classList.add("disable-scroll-behavior"),f.clear()}function _(L,S,$){!h.value||(g.value&&n==="colum"&&!Y()&&(i(),g.value=!1),$?.(),I(S),u.value.x=Math.max(L,p.value.left),u.value.y=Math.min(S+d.value.top,d.value.height+p.value.top),u.value.scrollTop=d.value.top,c.value())}function B(){h.value=!1,r.value?.classList.remove("disable-scroll-behavior")}function Q(){!h.value||(w||C(),c.value())}function Y(){if(!h.value)return!1;const{width:L,height:S}=y.value;return!(Math.max(L,S)>5)}function F(){Y()&&i()}function q(){Y()||r.value?.querySelectorAll(`[${t}]`).forEach(L=>{M[`${t}`]=L.getAttribute(`${t}`),k(L.getBoundingClientRect())?s([M]):a([M])})}function kn(){const L=[];let S=null,$=0;r.value?.querySelectorAll(`[${t}]`).forEach((P,Z)=>{const J=P.getAttribute(`${t}`);L.push(J),k(P.getBoundingClientRect())?(S===null&&(S=Z),S=Math.min(S,Z),$=Math.max($,Z)):(M[`${t}`]=J,f.has(J)&&a([M]))});for(let P=S;P<$+1;P++)M[`${t}`]=L[P],s([M]),f.add(L[P])}function Bn(L){return!L?.value||(r.value=L.value,!r?.value)?!1:(N.observe(r.value),A(".disable-scroll-behavior","scroll-behavior: unset !important;"),!0)}return{init:Bn,dragStart:v,dragMove:_,dragEnd:B,onScroll:Q,isSingleClick:Y,cancelSelectAllBySingleClick:F,selectFn:c,selectRange:y,isPressing:h,containerEl:r,observer:N}}function ut(t){const n=De(t),{observer:o,selectRange:l}=n,{onScroll:s,dragStart:a,dragMove:i,dragEnd:M,cancelSelectAllBySingleClick:c}=n,f=e.computed(()=>({left:`${l.value.left}px`,top:`${l.value.top}px`,width:`${l.value.width}px`,height:`${l.value.height}px`})),{load:g}=pe(`.drag-select-box {
2
2
  position: absolute;
3
3
  z-index: 99999;
4
4
  background-color: rgb(191 219 254);
@@ -11,10 +11,10 @@
11
11
  .${s} {
12
12
  opacity: 0;
13
13
  animation: lzcDelayLoad 0s ${a} forwards;
14
- }`),{LoadingComp:e.defineComponent({setup(){const M=nt();return e.onMounted(()=>{M.value?.classList?.add(s)}),()=>e.h(t,n)}})}}function mt({component:t,componentProps:n,delay:o=300}){const{LoadingComp:l}=Te({component:t,componentProps:n,delay:o}),s=e.ref(!1);function a(){s.value=!0}function i(){s.value=!1}return{LoadingComp:l,loading:s,load:a,unload:i}}const ht=[(t=>(e.pushScopeId("data-v-92a1804d"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"ldio-mm5gwljcryb"},[e.createElementVNode("div")],-1))],pt=e.defineComponent({__name:"DefaultLoading",props:{width:{default:24},height:{default:24}},setup(t){return e.useCssVars(n=>({"4e4a9ce4":t.width+"px",e56fe5c2:t.height+"px"})),(n,o)=>(e.openBlock(),e.createElementBlock("div",e.normalizeProps(e.guardReactiveProps(n.$attrs)),ht,16))}}),Pn="",xe=V(pt,[["__scopeId","data-v-92a1804d"]]),yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAQAAAC0jZKKAAAAAnNCSVQICFXsRgQAAAABc1JHQgCuzhzpAAAEMklEQVRIx62XzW9VZRDGn2fmPff23qYtlvIRqVVQICgGoS21wYUGEA0x0YUYE/8BNTHujBsNiS5cGBeujAtXLiTGjUnFjRKNQWgJVoqxC/m2RMpX7cf9OOedcXFrg1qutPc+ZzM5b84vc+bNZOYh6sp5tKWQr2qmBZ/Biqxq03Eybsh6I63+l7z90Wirts0VoyU2bYm1ZdFXZtf9shUMWckL8XGrBw+Lvx7pqHTN5Toy9cQSZMgtnLR7m19Hj//i9TNeBDyU7+jOWj2mDgBVlqXqRmHOgXZPvNOLXsHzSwWPdeKelMEiDKlkThMIhSVGTqGKaZRxxm/4VlsSeLTb17ojkpkESwlPrDhTLmn6VXbQACd4RFbhBoElgEfur6yJMXhE9Aoz+mz56sDM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ap"},Tt=["src"],Nt=e.defineComponent({__name:"PageLoading",props:{delay:{default:"0.15s"},size:{default:"mini"}},setup(t){const n=t;e.useCssVars(l=>({b1cf73a8:t.delay}));const o=e.computed(()=>{const l={};return n.size==="mini"?(l.width="22px",l.height="22px"):n.size==="large"&&(l.width="28px",l.height="28px"),l});return(l,s)=>(e.openBlock(),e.createElementBlock("div",Dt,[e.createElementVNode("img",{class:"loading-circle",src:e.unref(yt),style:e.normalizeStyle(e.unref(o))},null,12,Tt)]))}}),$n="",wt=V(Nt,[["__scopeId","data-v-3c54972f"]]);async function Ne(t){return new Promise(n=>setTimeout(()=>n(),t))}const Et="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMTAyLjAwMDAwMCwgLTQwNi4wMDAwMDApIiBmaWxsPSIjOTk5OTk5IiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDc5MC4wMDAwMDAsIDM5MC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzEyLjAwMDAwMCwgMTYuMDAwMDAwKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjU0NjQyODU3MiwwLjA5NjM0MjU1MTMgTDYuMDEsNS41NTUgTDExLjQ1MzU3MTQsMC4xMTc3NTIwMTEgQzExLjU4MjE0MjksLTAuMDEwNzA0NzIzNyAxMS43NzUsLTAuMDEwNzA0NzIzNyAxMS45MDM1N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AyOTQsMTUuMDExMTkwMiAxMy41NjI5MzEsMTUuMDExMTkwMiBDMTMuMTc4ODMyNywxNS4wMTExOTAyIDEyLjgxMDQ2OTksMTQuODU4NTg5MyAxMi41Mzg4OTY2LDE0LjU4Njk2NTUgTDcuMjcyMTM3OTMsOS4zMjAyMDY5IEM3LjAwMDUxNDE0LDkuMDQ4NjMzNTYgNi44NDc5MTMyNCw4LjY4MDI3MDc5IDYuODQ3OTEzMjQsOC4yOTYxNzI0MSBDNi44NDc5MTMyNCw3LjkxMjA3NDA0IDcuMDAwNTE0MTQsNy41NDM3MTEyNyA3LjI3MjEzNzkzLDcuMjcyMTM3OTMgWiI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+",It=["onClick"],zt=["onClick"],At=["src"],Lt=["src"],jt=e.defineComponent({__name:"index",props:{visible:null,message:{default:""},duration:{default:2e3},width:{default:void 0},maxWidth:{default:void 0},showIcon:{type:Boolean,default:!1},icon:{default:void 0},showClose:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!1},closeOnClickOverlay:{type:Boolean,default:!1},className:{default:""},overlayContentStyle:{default:void 0},captureEventP:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:n}){const o=t,l="lzc-loading-toast",s=e.computed(()=>{let f={};return o.captureEventP&&(f.pointerEvents="none"),f}),a=e.computed(()=>{let f={padding:"12px"};return(o.icon||o.showIcon)&&(f.padding="20px"),o.width&&(f.width=o.width),o.maxWidth&&(f.maxWidth=o.maxWidth),o.overlayContentStyle&&(f={...f,...o.overlayContentStyle}),f}),i=e.computed(()=>{let f={};return o.showClose&&!o.icon&&(f.paddingRight="16px"),f});function M(){o.closeOnClickOverlay&&n("close")}function c(){o.closeOnClick&&n("close")}return(f,g)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-active-class":"lzc-animate-fade-in lzc-animate-duration-300","leave-active-class":"lzc-animate-fade-out lzc-animate-duration-300"},{default:e.withCtx(()=>[e.createElementVNode("div",{id:l,style:e.normalizeStyle(e.unref(s))},[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(`${l} ${t.className}`),onClick:e.withModifiers(M,["stop"])},[e.createElementVNode("div",{class:e.normalizeClass(`${l}-wrap`),onClick:e.withModifiers(c,["stop"])},[e.createElementVNode("div",{class:e.normalizeClass(`${l}-content`),style:e.normalizeStyle(e.unref(a))},[t.showClose?(e.openBlock(),e.createElementBlock("img",{key:0,onClick:g[0]||(g[0]=e.withModifiers(r=>n("close"),["stop"])),src:e.unref(Et),class:e.normalizeClass(`${l}-close`)},null,10,At)):e.createCommentVNode("",!0),t.showIcon?(e.openBlock(),e.createElementBlock("img",{key:1,src:t.icon||e.unref(vt),class:e.normalizeClass(`${l}-icon`)},null,10,Lt)):e.createCommentVNode("",!0),t.message?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(`${l}-message`),style:e.normalizeStyle(e.unref(i))},e.toDisplayString(t.message),7)):e.createCommentVNode("",!0)],6)],10,zt)],10,It),[[e.vShow,t.visible]])],4)]),_:1}))}}),Fn="",Hn="",Ct=V(jt,[["__scopeId","data-v-0947d1e3"]]);class _e{loadingToast;el;options;visible=e.ref(!1);animateDuration=300;constructor(n){this.options={...n,visible:this.visible},this.options.duration==null&&(this.options.duration=60*10*1e3),this.el=document.createElement("div"),this.loadingToast=Ct}async show(){const n=this.options,l={...n,onClose:()=>{this.close(),n?.onClose?.()}},s=e.createVNode(this.loadingToast,l);e.render(s,this.el),document.body.insertBefore(this.el,document.body.firstChild),this.visible.value=!0,n.duration!==0&&setTimeout(()=>{this.destory()},n.duration),await Ne(n.duration+this.animateDuration)}async destory(){!this.visible.value||(this.visible.value=!1,await new Promise(n=>{setTimeout(()=>{if(!this.el){n();return}document.body.removeChild(this.el),n()},this.animateDuration-10)}))}close(){document.querySelector("#lzc-loading-toast")?.remove()}}function St(t,n){const o=!!n?.debug,l=n?.printErrorLog!==!1,s=n?.loading!==!1,a=n?.autoClose!==!1,i=n?.delay!==void 0?n.delay:300,M=n?.hook!==void 0?n.hook:!0,c={...n,showIcon:n?.showIcon!==!1,captureEventP:n?.captureEventP===!0};o&&console.log("useDelayAsync - loading: %s autoClose: %s delay: %s loadingToastOptions: %o",s,a,i,c);const f=e.ref(!1);let g=null;const r=new _e(c);async function h(...u){if(o&&console.log(`useDelayAsync - handler - processing: ${f.value}`),!f.value){f.value=!0,g=setTimeout(()=>{o&&console.log("useDelayAsync - handler - setTimeout - loading: %s processing: %s",s,f.value),s&&(!f.value||r.show())},i);try{o&&console.time("useDelayAsync - handler-execute-time");const N=await t(...u);return o&&console.log("useDelayAsync - execute res: ",N),o&&console.timeEnd("useDelayAsync - handler-execute-time"),await m(a),await n?.onSuccess?.(N,[...u]),N}catch(N){o&&console.timeEnd("useDelayAsync - handler-execute-time"),l&&console.error(N),await m(a),await n?.onError?.(N,[...u])}}}async function m(u=!0){o&&console.log("useDelayAsync - close - closeLoading: ",u),f.value=!1,g&&clearTimeout(g),g=null,u&&await r.destory()}return M&&e.onBeforeUnmount(()=>{o&&console.log("useDelayAsync - onBeforeUnmount - close"),m()}),{processing:f,handler:h,close:m}}function xt(t,n){return t>n?"horizontal":n>t?"vertical":""}function _t(){const t=e.ref(0),n=e.ref(0),o=e.ref(0),l=e.ref(0),s=e.ref(0),a=e.ref(0),i=e.ref(""),M=()=>i.value==="vertical",c=()=>i.value==="horizontal",f=()=>{o.value=0,l.value=0,s.value=0,a.value=0,i.value=""};function g(h,m){f(),t.value=h,n.value=m}function r(h,m){o.value=(h<0?0:h)-t.value,l.value=m-n.value,s.value=Math.abs(o.value),a.value=Math.abs(l.value);const u=10;(!i.value||s.value<u&&a.value<u)&&(i.value=xt(s.value,a.value))}return{move:r,start:g,reset:f,startX:t,startY:n,deltaX:o,deltaY:l,offsetX:s,offsetY:a,direction:i,isVertical:M,isHorizontal:c}}const be=250,Oe=5,bt=500;function Ot(t){const{isDouble:n=!0}=t;let o,l;function s(){o=Date.now()}async function a(i,M){const c=Date.now()-o;i<Oe&&M<Oe&&(c<be?n?l?(clearTimeout(l),l=null,t.onDoubleTap?.()):l=setTimeout(async()=>{t.onTap?.(),l=null},be):t.onTap?.():c>bt&&t.onLongPress?.())}return{startTap:s,checkTap:a}}function kt(t,n){const o=e.ref(!1);function l(){o.value||(o.value=!0,e.unref(t)?.addEventListener("transitionend",s))}function s(){e.unref(t)?.removeEventListener("transitionend",s),o.value=!1,n.onComplate?.()}return{transitioning:o,startTransition:l}}function Bt(t,n,o,l){var s=Math.min(o/t,l/n),a=t*s,i=n*s;return{width:X(a),height:X(i)}}function Qt(t){return t<3?"444ms":t<6?"555ms":"666ms"}function we(t,n,o){return Math.min(Math.max(t,n),o)}function X(t,n=2){return parseFloat(t.toFixed(n))}function Me(t,n,o){return t=X(t),n=X(n),`translate3d(${t}px, ${n}px, 0) scale3d(${o},${o},${o})`}function ke(t){return Math.sqrt((t[0].clientX-t[1].clientX)**2+(t[0].clientY-t[1].clientY)**2)}function Yt(t){return{x:(t[0].clientX+t[1].clientX)/2,y:(t[0].clientY+t[1].clientY)/2}}function Be(t){const{disableZoom:n}=t,o=e.ref(1),l=e.ref(9),s=e.ref(),a=e.ref(),i=e.ref({width:0,height:0}),M=e.ref({width:0,height:0}),c=e.reactive({level:1,offsetX:0,offsetY:0,zooming:!1,preview:!0,lastCenter:{x:0,y:0}}),f=e.ref({}),g=_t(),r=kt(a,{onComplate(){c.preview||p()}}),h=Ot({onTap(){t.onTap?.()},onDoubleTap(){t.onDoubleTap?.()},onLongPress(){t.onLongPress?.()}});Le(a,T=>m(T)),e.watch([s,a],([T,w])=>{u(T,w)},{immediate:!0});async function m(T){const[w]=T;w.contentRect.width==M.value.width&&w.contentRect.height==M.value.height||(await u(s.value),await p(c.level,!0))}async function u(T,w){await z(T,w),T&&O()}async function N(T){if(!c.preview)return;c.preview=!1,T=T??c.level;const w=a.value;if(!w)return;const{scrollTop:I,scrollLeft:_}=w,{width:k,height:C}=i.value,{scaleW:A,scaleH:v}=x(T),{top:b,left:B}=D(A,v),Q=B!=0?B:_*-1,Y=b!=0?b:I*-1;w.scrollTop=0,w.scrollLeft=0;const{value:F}=f;F.width=`${k}px`,F.height=`${C}px`,F.maxHeight="none",F.transitionDuration="0s",F.transform=Me(Q,Y,T),f.value=F,await e.nextTick(),c.offsetX=Q,c.offsetY=Y,await Ne(20)}async function p(T,w){if(!w&&c.preview)return;c.preview=!0,T=T??c.level;const{value:I}=f,{scaleW:_,scaleH:k}=x(T),{left:C,top:A}=D(_,k);T===1&&(I.maxHeight="100%"),I.width=`${_}px`,I.height=`${k}px`,I.transitionDuration="0s",I.transform=Me(C,A,1),f.value=I,await e.nextTick();const v=a.value;if(!v)return;const{offsetX:b,offsetY:B}=c;b<0&&(v.scrollLeft=Math.abs(b)),B<0&&(v.scrollTop=Math.abs(B))}async function d(T,w,I){if(n||(T=X(T),T=we(T,o.value-o.value*.5,l.value+l.value*.5),T==c.level))return;c.preview&&await N(),w||(w={x:g.startX.value,y:g.startY.value});const{value:_}=f,{width:k,height:C}=i.value,{scaleW:A,scaleH:v}=x(T),{top:b,left:B}=D(A,v),Q=T/c.level,Y={left:Math.abs(k*T-M.value.width)*-1,top:Math.abs(C*T-M.value.height)*-1,right:B,bottom:b};let F=B!=0?B:(c.offsetX-w.x)*Q+w.x,q=b!=0?b:(c.offsetY-w.y)*Q+w.y;F=X(we(F,Y.left,Y.right)),q=X(we(q,Y.top,Y.bottom)),_.width=`${k}px`,_.height=`${C}px`,_.transitionDuration=I?Qt(T):"0s",_.transform=Me(F,q,T),c.offsetX=F,c.offsetY=q,c.level=T,f.value=_,await e.nextTick(),I&&r.startTransition(),t.onScale?.(T)}function y(){const T=c.level>1?1:U();d(T,void 0,!0)}function j(T,w){if(!c.preview)return;const I=a.value;!I||I.scrollTo({left:c.offsetX-T,top:c.offsetY-w})}async function R(){c.level>=o.value&&c.level<=l.value?c.zooming&&await p():c.level<o.value?await d(o.value,void 0,!0):c.level>l.value&&await d(l.value,c.lastCenter,!0),c.zooming=!1}function U(){const{width:T,height:w}=i.value,{width:I,height:_}=M.value,k=2.5;let C;return w==_?(C=I/T,C-1<.1&&(C=k)):C=Math.max(k,I/T,_/w),C}function x(T){const{width:w,height:I}=i.value;return{scaleW:X(T*w),scaleH:X(T*I)}}function D(T,w){const{width:I,height:_}=M.value,k=Math.max(0,(_-w)*.5),C=Math.max(0,(I-T)*.5);return{top:k,left:C}}async function z(T,w){if(T=T??s.value,w=w??a.value,!w)return;let I,{clientWidth:_=0,clientHeight:k=0}=T||{};const{clientWidth:C,clientHeight:A}=w;if(T instanceof HTMLImageElement?I={width:T.naturalWidth,height:T.naturalHeight}:T instanceof HTMLVideoElement&&(I={width:T.videoWidth,height:T.videoHeight}),I){const v=Bt(I.width,I.height,C,A);_=v.width,k=v.height}(_===0||k===0)&&(_=i.value.width||C,k=i.value.height||A),i.value={width:Math.min(_,C),height:Math.min(k,A)},M.value={width:C,height:A}}function O(){const T=U();l.value=Math.max(l.value,T*2)}return{touch:g,state:c,style:f,gesture:h,transition:r,imageRef:s,containerRef:a,switchToZoom:N,switchToPreview:p,panTo:j,zoomTo:d,zoomFinished:R,toggleZoom:y}}function Ut(t){const n=Be({onDoubleTap(){n.toggleZoom()},...t}),{state:o,touch:l,gesture:s,transition:a}=n;let i=!1,M=null;const c={top:0,left:0},f=te(u,150);oe("keyup",p),oe("keydown",N);function g(d){const y=n.containerRef.value;if(!y)return;const{left:j,top:R}=y.getBoundingClientRect();s.startTap(),l.start(d.clientX-j,d.clientY-R),a.transitioning.value||(i=!0,c.left=j,c.top=R,o.offsetX=y.scrollLeft,o.offsetY=y.scrollTop),window.addEventListener("pointermove",r),window.addEventListener("pointerup",h)}function r(d){!i||(l.move(d.clientX,d.clientY),o.level!==1&&n.panTo(l.deltaX.value-c.left,l.deltaY.value-c.top))}function h(d){s.checkTap(l.offsetX.value,l.offsetY.value),l.reset(),i=!1,window.removeEventListener("pointermove",r),window.removeEventListener("pointerup",h)}function m(d){if(!d.ctrlKey)return;o.zooming||(o.zooming=!0,M=="Control"&&window.addEventListener("keyup",u)),d.preventDefault();let y=-d.deltaY;d.deltaMode===1?y*=.05:y*=d.deltaMode?1:.002,M!="Control"&&(y*=10),y=2**y;const j=o.level*y;o.lastCenter={x:d.offsetX,y:d.offsetY},n.zoomTo(j,o.lastCenter),M!="Control"&&f()}function u(){n.zoomFinished(),window.removeEventListener("keyup",u)}function N(d){M=d.key}function p(){M=null}return{core:n,onPointerDown:g,onWheel:m}}function Rt(t){const n=Be({onDoubleTap(){n.toggleZoom()},...t}),{state:o,touch:l,gesture:s,transition:a,containerRef:i}=n,M=lt(i);let c,f,g,r;async function h(p){const{touches:d}=p;c=d.length,o.zooming=c===2,s.startTap(),l.start(d[0].clientX,d[0].clientY),N("start",p),o.zooming&&(p.preventDefault(),f=o.level,g=ke(d),await n.switchToZoom(),o.lastCenter=Yt(d))}async function m(p){const{touches:d}=p;if(c=d.length,l.move(d[0].clientX,d[0].clientY),N("move",p),o.zooming&&c==2){p.preventDefault();const y=ke(d),j=f*y/g;n.zoomTo(j,o.lastCenter)}}async function u(p){p.touches.length||(N("end",p),s.checkTap(l.offsetX.value,l.offsetY.value),n.zoomFinished(),l.reset())}function N(p,d){M.measure();let{clientX:y,clientY:j}=d.touches.length!=0?d.touches[0]:d.changedTouches[0];const{top:R,left:U,right:x,bottom:D}=M.arrivedState;if(p=="start")r=R||U||x||D;else if(c==2)r=!1;else if(r){if(l.direction.value=="vertical")if(o.level!=1)r=!1;else{const z=l.startY.value<j;r=R&&z||D&&!z}else if(l.direction.value=="horizontal"){const z=l.startX.value<y;r=U&&z||x&&!z}}r&&a.transitioning.value&&(r=!1,d.preventDefault()),p=="end"&&!r&&(y=l.startX.value,j=l.startY.value,r=!0),(p!="move"||r)&&t.onSwipeEdge?.(p,l.direction.value,y,j)}return{core:n,onTouchStart:h,onTouchMove:m,onTouchEnd:u}}function Pt(){const t=e.reactive({scale:1,startX:0,startY:0,offsetX:0,offsetY:0,dragging:!1,started:!1});function n(s,a){t.startX=s,t.startY=a,t.scale=1}function o(s,a){t.started=!0,t.dragging=!0,t.offsetX=s-t.startX,t.offsetY=a-t.startY,t.scale=1-Math.abs(t.offsetY/a*.4)}function l(){!t.dragging||(Math.abs(t.offsetY)>window.innerHeight*.14?t.scale=.3:t.scale=1,t.dragging=!1,t.offsetX=0,t.offsetY=0)}return{state:t,dragStart:n,dragMove:o,dragEnd:l}}function Qe(){const t=e.ref(!1),n=e.ref(!1);return e.onActivated(()=>{!n.value||(t.value=!0)}),e.onMounted(()=>{n.value=!1,setTimeout(()=>{n.value=!0})}),{isActivated:t}}function Ye(t){let n=!1;return()=>{n||(t(),n=!0)}}function $t(t){let n=null;const{isActivated:o}=Qe(),l=Ye(()=>n=window.onBackPress);function s(){l(),window.onBackPress=()=>t()}function a(){window.onBackPress=n}return e.onActivated(()=>{!o.value||s()}),e.onBeforeMount(()=>{s()}),e.onBeforeUnmount(()=>{a()}),e.onDeactivated(()=>{a()}),{register:s,unregister:a}}const Ft=["onClick"],Ht=e.defineComponent({__name:"Toast",props:{message:null,position:null,buttonClickEvent:null},setup(t){const n=t,o=e.ref(),l=e.ref(),s=e.ref(),a=e.computed(()=>{switch(n.position){case"top":return 10;case"middle":return 50;case"bottom":return 85}}),i=e.computed(()=>({position:"absolute",borderRadius:"10px",backgroundColor:"rgba(0, 0, 0, 0.8)",padding:"14px 19px",top:`calc(${a.value}% - ${s.value}px)`,left:`calc(50% - ${l.value}px)`})),M=e.computed(()=>({width:"fit-content",display:"flex",justifyContent:"center",alignItems:"center",color:"white",fontSize:"14px"}));function c(){!n.buttonClickEvent||n.buttonClickEvent()}return e.nextTick(()=>{l.value=o.value.offsetWidth/2,s.value=o.value.offsetHeight/2}),(f,g)=>(e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(c,["stop"]),id:"toastWrapper",ref_key:"toastWrapper",ref:o,class:"toastWrapper",style:e.normalizeStyle([e.unref(i),{zIndex:9999999}])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(M))},[e.createElementVNode("span",null,e.toDisplayString(t.message),1)],4)],12,Ft))}}),Vn="",Vt=V(Ht,[["__scopeId","data-v-25d39b90"]]),Ue={message:"\u61D2\u732B\u4E91 Yes!!!",position:"middle",duration:1500,buttonClickEvent:()=>{}};class Wt{options;container;constructor(n){this.options=n,this.container=document.createElement("div")}present(){const n=e.h(e.h(Vt),{...Ue,...this.options});e.render(n,this.container),document.body.insertBefore(this.container,document.body.firstChild);const o=this.options.duration||Ue.duration;setTimeout(()=>{this.dismiss()},o)}dismiss(){if(this.container){const n=this.container.querySelector("#toastWrapper");n.style.opacity="0",n.style.transition="opacity 0.4s ease-in",setTimeout(()=>{this.container&&(e.render(null,this.container),document.body.removeChild(this.container))},500)}}}const Xt=["xlink:href","fill","color"],ee=e.defineComponent({__name:"SvgIcon",props:{name:null,prefix:{default:"icon"},color:{default:"#FFF"},width:null,height:null},setup(t){const n=t,o=e.computed(()=>`#${n.prefix}-${n.name}`),l=e.computed(()=>({width:`${n.width??n.height}px`,height:`${n.height??n.width}px`,aspectRatio:n.width&&n.height?void 0:"1/1"}));function s(a){const{style:i}=a;return typeof i=="object"?i:{}}return(a,i)=>(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":"",style:e.normalizeStyle({...e.unref(l),...s(a.$attrs)})},[e.createElementVNode("use",{"xlink:href":e.unref(o),fill:t.color,color:t.color},null,8,Xt)],4))}});function Zt(t){const{containerEl:n,sliderEl:o,autoHeight:l,performance:s={},maxHeightRatio:a=.9,observeMethod:i="classList"}=t,M=e.ref(!0),c=te(T,100);let f,g="";const r=e.ref(0),h=e.ref(0),m=e.ref(0),u=e.ref({top:0,scrollTop:0,scrollHeight:0,clientHeight:0}),N=e.ref({clientHeight:0}),p=e.computed(()=>!!h.value),d=e.computed(()=>u.value.scrollHeight>u.value.clientHeight),y=e.computed(()=>l?u.value.clientHeight-U.value:u.value.clientHeight-N.value.clientHeight),j=e.computed(()=>u.value.scrollHeight-u.value.clientHeight),R=e.computed(()=>Math.max(u.value.clientHeight/u.value.scrollHeight,.05)),U=e.computed(()=>R.value>a?0:R.value*u.value.clientHeight),x=e.computed(()=>({willChange:"transform",transform:`translate3d(0,${m.value}px,0)`,height:l?`${U.value}px`:void 0}));function D(Q){O(),h.value=Q.clientY-o.value.getBoundingClientRect().top||1,g=getComputedStyle(n.value).scrollBehavior,g==="smooth"&&(n.value.style.scrollBehavior="unset")}function z(){n.value.style.scrollBehavior=g,h.value=0,c()}function O(){M.value=!1}function T(){p.value||(M.value=!0)}function w(Q){if(!p.value)return;let Y=Q.clientY-u.value.top-h.value;Y<0?m.value=0:Y>=y.value?m.value=y.value:m.value=Y,n.value.scrollTo({top:m.value/y.value*j.value})}function I(){p.value||_()}function _(){cancelAnimationFrame(f),f=requestAnimationFrame(k)}function k(){n.value&&(r.value=s.scrollTop?.value??n.value.scrollTop,m.value=r.value/j.value*y.value)}function C(Q){let Y="addEventListener";Q==="add"?Y="addEventListener":Y="removeEventListener",o.value?.[Y]("pointerdown",D,{passive:!0}),window[Y]("pointermove",w,{passive:!0}),window[Y]("pointerup",z,{passive:!0})}const A=new MutationObserver(Q=>{(i=="classList"||Q.map(F=>F.oldValue).join().includes("height"))&&v()});function v(){u.value.top=n.value?.getBoundingClientRect().top??0,u.value.scrollHeight=n.value?.scrollHeight??0,u.value.clientHeight=n.value?.clientHeight??0}function b(){O(),setTimeout(()=>{N.value.clientHeight=o.value?.clientHeight??0,T()},150)}function B(){if(n.value&&o.value){n.value.classList.add("hide-scrollbar"),n.value.addEventListener("scroll",I,{passive:!0}),C("add");const Q={};i==="classList"?Object.assign(Q,{subtree:!0,childList:!0}):Object.assign(Q,{subtree:!0,attributeOldValue:!0,attributeFilter:["style"]}),A.observe(n.value,Q),setTimeout(()=>{v()},100),b()}else console.error("useScrollBar:","\u521D\u59CB\u5316\u5931\u8D25!",{containerEl:n,sliderEl:o})}return e.watch(r,()=>{O(),c()}),{isScrollEnd:M,isDragSlider:p,offsetTop:m,scrollTop:r,scrollable:d,sliderPos:x,init:B,modifySliderEventListener:C}}const Kt=(t=>(e.pushScopeId("data-v-405c22cf"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"default-slider"},null,-1)),Gt=e.defineComponent({__name:"ScrollBar",props:{containerEl:null,autoHide:{type:Boolean},autoHeight:{type:Boolean},observeMethod:null,performance:null},setup(t,{expose:n}){const o=t,l=!!e.useSlots().default,s=e.ref(null),a=e.computed(()=>o.containerEl),i=Zt({containerEl:a,sliderEl:s,autoHeight:l?o.autoHeight:!0,performance:o.performance,observeMethod:o.observeMethod}),{scrollable:M,isScrollEnd:c,sliderPos:f}=i,g=e.ref(!1),r=o.autoHide?e.computed(()=>g.value||!c.value):e.computed(()=>M.value),{load:h}=pe(`.hide-scrollbar {
14
+ }`),{LoadingComp:e.defineComponent({setup(){const M=nt();return e.onMounted(()=>{M.value?.classList?.add(s)}),()=>e.h(t,n)}})}}function mt({component:t,componentProps:n,delay:o=300}){const{LoadingComp:l}=Te({component:t,componentProps:n,delay:o}),s=e.ref(!1);function a(){s.value=!0}function i(){s.value=!1}return{LoadingComp:l,loading:s,load:a,unload:i}}const ht=[(t=>(e.pushScopeId("data-v-92a1804d"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"ldio-mm5gwljcryb"},[e.createElementVNode("div")],-1))],pt=e.defineComponent({__name:"DefaultLoading",props:{width:{default:24},height:{default:24}},setup(t){return e.useCssVars(n=>({"4e4a9ce4":t.width+"px",e56fe5c2:t.height+"px"})),(n,o)=>(e.openBlock(),e.createElementBlock("div",e.normalizeProps(e.guardReactiveProps(n.$attrs)),ht,16))}}),Pn="",xe=V(pt,[["__scopeId","data-v-92a1804d"]]),yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAQAAAC0jZKKAAAAAnNCSVQICFXsRgQAAAABc1JHQgCuzhzpAAAEMklEQVRIx62XzW9VZRDGn2fmPff23qYtlvIR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s8C68Id0QV9CV9I/6P1jUg5x4Tgar6hLoQgX9nH69/dRiy+Eh3fhofMl7QSoE4qT6Z/0Hb2tuTjyFJ10gLlTSleKzPMXx7FL75OUSUCjm11TW6yMYRBfpAURwUZroxzs+rOuaRnb4C1Ks/ZoFCNUFAZTg4oFiQeiJi4gJlOJKasnf6T38v3ZspAsv2hYq6YFCqZXFEsyDhAguVK/FiuPxvZ0X79DnDW/nM94DodRu/G+wEOriAQIlqfjNP+n7dokGcnirPma93jJf73ALWF00xVE/3HdsGc605vk6Nydb0GN38y4UqV7BjE/ggv48NfZE3UH2F3Kp4Zn6aTweAAAAAElFTkSuQmCC",Dt={class:"loading-wrap"},Tt=["src"],Nt=e.defineComponent({__name:"PageLoading",props:{delay:{default:"0.15s"},size:{default:"mini"}},setup(t){const n=t;e.useCssVars(l=>({b1cf73a8:t.delay}));const o=e.computed(()=>{const l={};return n.size==="mini"?(l.width="22px",l.height="22px"):n.size==="large"&&(l.width="28px",l.height="28px"),l});return(l,s)=>(e.openBlock(),e.createElementBlock("div",Dt,[e.createElementVNode("img",{class:"loading-circle",src:e.unref(yt),style:e.normalizeStyle(e.unref(o))},null,12,Tt)]))}}),$n="",wt=V(Nt,[["__scopeId","data-v-3c54972f"]]);async function Ne(t){return new Promise(n=>setTimeout(()=>n(),t))}const Et="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMTAyLjAwMDAwMCwgLTQwNi4wMDAwMDApIiBmaWxsPSIjOTk5OTk5IiBmaWxsLXJ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DEsNi44NDc5MTMyNCBDOC42ODAyNzA3OSw2Ljg0NzkxMzI0IDkuMDQ4NjMzNTYsNy4wMDA1MTQxNCA5LjMyMDIwNjksNy4yNzIxMzc5MyBMMTQuNTg2OTY1NSwxMi41Mzg4OTY2IEMxNC44NTg1ODkzLDEyLjgxMDQ2OTkgMTUuMDExMTkwMiwxMy4xNzg4MzI3IDE1LjAxMTE5MDIsMTMuNTYyOTMxIEMxNS4wMTExOTAyLDEzLjk0NzAyOTQgMTQuODU4NTg5MywxNC4zMTUzOTIyIDE0LjU4Njk2NTUsMTQuNTg2OTY1NSBDMTQuMzE1MzkyMiwxNC44NTg1ODkzIDEzLjk0NzAyOTQsMTUuMDExMTkwMiAxMy41NjI5MzEsMTUuMDExMTkwMiBDMTMuMTc4ODMyNywxNS4wMTExOTAyIDEyLjgxMDQ2OTksMTQuODU4NTg5MyAxMi41Mzg4OTY2LDE0LjU4Njk2NTUgTDcuMjcyMTM3OTMsOS4zMjAyMDY5IEM3LjAwMDUxNDE0LDkuMDQ4NjMzNTYgNi44NDc5MTMyNCw4LjY4MDI3MDc5IDYuODQ3OTEzMjQsOC4yOTYxNzI0MSBDNi44NDc5MTMyNCw3LjkxMjA3NDA0IDcuMDAwNTE0MTQsNy41NDM3MTEyNyA3LjI3MjEzNzkzLDcuMjcyMTM3OTMgWiI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+",It=["onClick"],zt=["onClick"],At=["src"],Lt=["src"],jt=e.defineComponent({__name:"index",props:{visible:null,message:{default:""},duration:{default:2e3},width:{default:void 0},maxWidth:{default:void 0},showIcon:{type:Boolean,default:!1},icon:{default:void 0},showClose:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!1},closeOnClickOverlay:{type:Boolean,default:!1},className:{default:""},overlayContentStyle:{default:void 0},captureEventP:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:n}){const o=t,l="lzc-loading-toast",s=e.computed(()=>{let f={};return o.captureEventP&&(f.pointerEvents="none"),f}),a=e.computed(()=>{let f={padding:"12px"};return(o.icon||o.showIcon)&&(f.padding="20px"),o.width&&(f.width=o.width),o.maxWidth&&(f.maxWidth=o.maxWidth),o.overlayContentStyle&&(f={...f,...o.overlayContentStyle}),f}),i=e.computed(()=>{let f={};return o.showClose&&!o.icon&&(f.paddingRight="16px"),f});function M(){o.closeOnClickOverlay&&n("close")}function c(){o.closeOnClick&&n("close")}return(f,g)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-active-class":"lzc-animate-fade-in lzc-animate-duration-300","leave-active-class":"lzc-animate-fade-out lzc-animate-duration-300"},{default:e.withCtx(()=>[e.createElementVNode("div",{id:l,style:e.normalizeStyle(e.unref(s))},[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(`${l} ${t.className}`),onClick:e.withModifiers(M,["stop"])},[e.createElementVNode("div",{class:e.normalizeClass(`${l}-wrap`),onClick:e.withModifiers(c,["stop"])},[e.createElementVNode("div",{class:e.normalizeClass(`${l}-content`),style:e.normalizeStyle(e.unref(a))},[t.showClose?(e.openBlock(),e.createElementBlock("img",{key:0,onClick:g[0]||(g[0]=e.withModifiers(r=>n("close"),["stop"])),src:e.unref(Et),class:e.normalizeClass(`${l}-close`)},null,10,At)):e.createCommentVNode("",!0),t.showIcon?(e.openBlock(),e.createElementBlock("img",{key:1,src:t.icon||e.unref(vt),class:e.normalizeClass(`${l}-icon`)},null,10,Lt)):e.createCommentVNode("",!0),t.message?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(`${l}-message`),style:e.normalizeStyle(e.unref(i))},e.toDisplayString(t.message),7)):e.createCommentVNode("",!0)],6)],10,zt)],10,It),[[e.vShow,t.visible]])],4)]),_:1}))}}),Fn="",Hn="",Ct=V(jt,[["__scopeId","data-v-0947d1e3"]]);class be{loadingToast;el;options;visible=e.ref(!1);animateDuration=300;constructor(n){this.options={...n,visible:this.visible},this.options.duration==null&&(this.options.duration=60*10*1e3),this.el=document.createElement("div"),this.loadingToast=Ct}async show(){const n=this.options,l={...n,onClose:()=>{this.close(),n?.onClose?.()}},s=e.createVNode(this.loadingToast,l);e.render(s,this.el),document.body.insertBefore(this.el,document.body.firstChild),this.visible.value=!0,n.duration!==0&&setTimeout(()=>{this.destory()},n.duration),await Ne(n.duration+this.animateDuration)}async destory(){!this.visible.value||(this.visible.value=!1,await new Promise(n=>{setTimeout(()=>{if(!this.el){n();return}document.body.removeChild(this.el),n()},this.animateDuration-10)}))}close(){document.querySelector("#lzc-loading-toast")?.remove()}}function St(t,n){const o=!!n?.debug,l=n?.printErrorLog!==!1,s=n?.loading!==!1,a=n?.autoClose!==!1,i=n?.delay!==void 0?n.delay:300,M=n?.hook!==void 0?n.hook:!0,c={...n,showIcon:n?.showIcon!==!1,captureEventP:n?.captureEventP===!0};o&&console.log("useDelayAsync - loading: %s autoClose: %s delay: %s loadingToastOptions: %o",s,a,i,c);const f=e.ref(!1);let g=null;const r=new be(c);async function h(...u){if(o&&console.log(`useDelayAsync - handler - processing: ${f.value}`),!f.value){f.value=!0,g=setTimeout(()=>{o&&console.log("useDelayAsync - handler - setTimeout - loading: %s processing: %s",s,f.value),s&&(!f.value||r.show())},i);try{o&&console.time("useDelayAsync - handler-execute-time");const N=await t(...u);return o&&console.log("useDelayAsync - execute res: ",N),o&&console.timeEnd("useDelayAsync - handler-execute-time"),await m(a),await n?.onSuccess?.(N,[...u]),N}catch(N){o&&console.timeEnd("useDelayAsync - handler-execute-time"),l&&console.error(N),await m(a),await n?.onError?.(N,[...u])}}}async function m(u=!0){o&&console.log("useDelayAsync - close - closeLoading: ",u),f.value=!1,g&&clearTimeout(g),g=null,u&&await r.destory()}return M&&e.onBeforeUnmount(()=>{o&&console.log("useDelayAsync - onBeforeUnmount - close"),m()}),{processing:f,handler:h,close:m}}function xt(t,n){return t>n?"horizontal":n>t?"vertical":""}function bt(){const t=e.ref(0),n=e.ref(0),o=e.ref(0),l=e.ref(0),s=e.ref(0),a=e.ref(0),i=e.ref(""),M=()=>i.value==="vertical",c=()=>i.value==="horizontal",f=()=>{o.value=0,l.value=0,s.value=0,a.value=0,i.value=""};function g(h,m){f(),t.value=h,n.value=m}function r(h,m){o.value=(h<0?0:h)-t.value,l.value=m-n.value,s.value=Math.abs(o.value),a.value=Math.abs(l.value);const u=10;(!i.value||s.value<u&&a.value<u)&&(i.value=xt(s.value,a.value))}return{move:r,start:g,reset:f,startX:t,startY:n,deltaX:o,deltaY:l,offsetX:s,offsetY:a,direction:i,isVertical:M,isHorizontal:c}}const _e=250,Oe=5,_t=500;function Ot(t){const{isDouble:n=!0}=t;let o,l;function s(){o=Date.now()}async function a(i,M){const c=Date.now()-o;i<Oe&&M<Oe&&(c<_e?n?l?(clearTimeout(l),l=null,t.onDoubleTap?.()):l=setTimeout(async()=>{t.onTap?.(),l=null},_e):t.onTap?.():c>_t&&t.onLongPress?.())}return{startTap:s,checkTap:a}}function kt(t,n){const o=e.ref(!1);function l(){o.value||(o.value=!0,e.unref(t)?.addEventListener("transitionend",s))}function s(){e.unref(t)?.removeEventListener("transitionend",s),o.value=!1,n.onComplate?.()}return{transitioning:o,startTransition:l}}function Bt(t,n,o,l){var s=Math.min(o/t,l/n),a=t*s,i=n*s;return{width:X(a),height:X(i)}}function Qt(t){return t<3?"444ms":t<6?"555ms":"666ms"}function we(t,n,o){return Math.min(Math.max(t,n),o)}function X(t,n=2){return parseFloat(t.toFixed(n))}function Me(t,n,o){return t=X(t),n=X(n),`translate3d(${t}px, ${n}px, 0) scale3d(${o},${o},${o})`}function ke(t){return Math.sqrt((t[0].clientX-t[1].clientX)**2+(t[0].clientY-t[1].clientY)**2)}function Yt(t){return{x:(t[0].clientX+t[1].clientX)/2,y:(t[0].clientY+t[1].clientY)/2}}function Be(t){const{disableZoom:n}=t,o=e.ref(1),l=e.ref(9),s=e.ref(),a=e.ref(),i=e.ref({width:0,height:0}),M=e.ref({width:0,height:0}),c=e.reactive({level:1,offsetX:0,offsetY:0,zooming:!1,preview:!0,lastCenter:{x:0,y:0}}),f=e.ref({}),g=bt(),r=kt(a,{onComplate(){c.preview||p()}}),h=Ot({onTap(){t.onTap?.()},onDoubleTap(){t.onDoubleTap?.()},onLongPress(){t.onLongPress?.()}});Le(a,T=>m(T)),e.watch([s,a],([T,w])=>{u(T,w)},{immediate:!0});async function m(T){const[w]=T;w.contentRect.width==M.value.width&&w.contentRect.height==M.value.height||(await u(s.value),await p(c.level,!0))}async function u(T,w){await z(T,w),T&&O()}async function N(T){if(!c.preview)return;c.preview=!1,T=T??c.level;const w=a.value;if(!w)return;const{scrollTop:I,scrollLeft:b}=w,{width:k,height:C}=i.value,{scaleW:A,scaleH:v}=x(T),{top:_,left:B}=D(A,v),Q=B!=0?B:b*-1,Y=_!=0?_:I*-1;w.scrollTop=0,w.scrollLeft=0;const{value:F}=f;F.width=`${k}px`,F.height=`${C}px`,F.maxHeight="none",F.transitionDuration="0s",F.transform=Me(Q,Y,T),f.value=F,await e.nextTick(),c.offsetX=Q,c.offsetY=Y,await Ne(20)}async function p(T,w){if(!w&&c.preview)return;c.preview=!0,T=T??c.level;const{value:I}=f,{scaleW:b,scaleH:k}=x(T),{left:C,top:A}=D(b,k);T===1&&(I.maxHeight="100%"),I.width=`${b}px`,I.height=`${k}px`,I.transitionDuration="0s",I.transform=Me(C,A,1),f.value=I,await e.nextTick();const v=a.value;if(!v)return;const{offsetX:_,offsetY:B}=c;_<0&&(v.scrollLeft=Math.abs(_)),B<0&&(v.scrollTop=Math.abs(B))}async function d(T,w,I){if(n||(T=X(T),T=we(T,o.value-o.value*.5,l.value+l.value*.5),T==c.level))return;c.preview&&await N(),w||(w={x:g.startX.value,y:g.startY.value});const{value:b}=f,{width:k,height:C}=i.value,{scaleW:A,scaleH:v}=x(T),{top:_,left:B}=D(A,v),Q=T/c.level,Y={left:Math.abs(k*T-M.value.width)*-1,top:Math.abs(C*T-M.value.height)*-1,right:B,bottom:_};let F=B!=0?B:(c.offsetX-w.x)*Q+w.x,q=_!=0?_:(c.offsetY-w.y)*Q+w.y;F=X(we(F,Y.left,Y.right)),q=X(we(q,Y.top,Y.bottom)),b.width=`${k}px`,b.height=`${C}px`,b.transitionDuration=I?Qt(T):"0s",b.transform=Me(F,q,T),c.offsetX=F,c.offsetY=q,c.level=T,f.value=b,await e.nextTick(),I&&r.startTransition(),t.onScale?.(T)}function y(){const T=c.level>1?1:U();d(T,void 0,!0)}function j(T,w){if(!c.preview)return;const I=a.value;!I||I.scrollTo({left:c.offsetX-T,top:c.offsetY-w})}async function R(){c.level>=o.value&&c.level<=l.value?c.zooming&&await p():c.level<o.value?await d(o.value,void 0,!0):c.level>l.value&&await d(l.value,c.lastCenter,!0),c.zooming=!1}function U(){const{width:T,height:w}=i.value,{width:I,height:b}=M.value,k=2.5;let C;return w==b?(C=I/T,C-1<.1&&(C=k)):C=Math.max(k,I/T,b/w),C}function x(T){const{width:w,height:I}=i.value;return{scaleW:X(T*w),scaleH:X(T*I)}}function D(T,w){const{width:I,height:b}=M.value,k=Math.max(0,(b-w)*.5),C=Math.max(0,(I-T)*.5);return{top:k,left:C}}async function z(T,w){if(T=T??s.value,w=w??a.value,!w)return;let I,{clientWidth:b=0,clientHeight:k=0}=T||{};const{clientWidth:C,clientHeight:A}=w;if(T instanceof HTMLImageElement?I={width:T.naturalWidth,height:T.naturalHeight}:T instanceof HTMLVideoElement&&(I={width:T.videoWidth,height:T.videoHeight}),I){const v=Bt(I.width,I.height,C,A);b=v.width,k=v.height}(b===0||k===0)&&(b=i.value.width||C,k=i.value.height||A),i.value={width:Math.min(b,C),height:Math.min(k,A)},M.value={width:C,height:A}}function O(){const T=U();l.value=Math.max(l.value,T*2)}return{touch:g,state:c,style:f,gesture:h,transition:r,imageRef:s,containerRef:a,switchToZoom:N,switchToPreview:p,panTo:j,zoomTo:d,zoomFinished:R,toggleZoom:y}}function Ut(t){const n=Be({onDoubleTap(){n.toggleZoom()},...t}),{state:o,touch:l,gesture:s,transition:a}=n;let i=!1,M=null;const c={top:0,left:0},f=te(u,150);oe("keyup",p),oe("keydown",N);function g(d){const y=n.containerRef.value;if(!y)return;const{left:j,top:R}=y.getBoundingClientRect();s.startTap(),l.start(d.clientX-j,d.clientY-R),a.transitioning.value||(i=!0,c.left=j,c.top=R,o.offsetX=y.scrollLeft,o.offsetY=y.scrollTop),window.addEventListener("pointermove",r),window.addEventListener("pointerup",h)}function r(d){!i||(l.move(d.clientX,d.clientY),o.level!==1&&n.panTo(l.deltaX.value-c.left,l.deltaY.value-c.top))}function h(d){s.checkTap(l.offsetX.value,l.offsetY.value),l.reset(),i=!1,window.removeEventListener("pointermove",r),window.removeEventListener("pointerup",h)}function m(d){if(!d.ctrlKey)return;o.zooming||(o.zooming=!0,M=="Control"&&window.addEventListener("keyup",u)),d.preventDefault();let y=-d.deltaY;d.deltaMode===1?y*=.05:y*=d.deltaMode?1:.002,M!="Control"&&(y*=10),y=2**y;const j=o.level*y;o.lastCenter={x:d.offsetX,y:d.offsetY},n.zoomTo(j,o.lastCenter),M!="Control"&&f()}function u(){n.zoomFinished(),window.removeEventListener("keyup",u)}function N(d){M=d.key}function p(){M=null}return{core:n,onPointerDown:g,onWheel:m}}function Rt(t){const n=Be({onDoubleTap(){n.toggleZoom()},...t}),{state:o,touch:l,gesture:s,transition:a,containerRef:i}=n,M=lt(i);let c,f,g,r;async function h(p){const{touches:d}=p;c=d.length,o.zooming=c===2,s.startTap(),l.start(d[0].clientX,d[0].clientY),N("start",p),o.zooming&&(p.preventDefault(),f=o.level,g=ke(d),await n.switchToZoom(),o.lastCenter=Yt(d))}async function m(p){const{touches:d}=p;if(c=d.length,l.move(d[0].clientX,d[0].clientY),N("move",p),o.zooming&&c==2){p.preventDefault();const y=ke(d),j=f*y/g;n.zoomTo(j,o.lastCenter)}}async function u(p){p.touches.length||(N("end",p),s.checkTap(l.offsetX.value,l.offsetY.value),n.zoomFinished(),l.reset())}function N(p,d){M.measure();let{clientX:y,clientY:j}=d.touches.length!=0?d.touches[0]:d.changedTouches[0];const{top:R,left:U,right:x,bottom:D}=M.arrivedState;if(p=="start")r=R||U||x||D;else if(c==2)r=!1;else if(r){if(l.direction.value=="vertical")if(o.level!=1)r=!1;else{const z=l.startY.value<j;r=R&&z||D&&!z}else if(l.direction.value=="horizontal"){const z=l.startX.value<y;r=U&&z||x&&!z}}r&&a.transitioning.value&&(r=!1,d.preventDefault()),p=="end"&&!r&&(y=l.startX.value,j=l.startY.value,r=!0),(p!="move"||r)&&t.onSwipeEdge?.(p,l.direction.value,y,j)}return{core:n,onTouchStart:h,onTouchMove:m,onTouchEnd:u}}function Pt(){const t=e.reactive({scale:1,startX:0,startY:0,offsetX:0,offsetY:0,dragging:!1,started:!1});function n(s,a){t.startX=s,t.startY=a,t.scale=1}function o(s,a){t.started=!0,t.dragging=!0,t.offsetX=s-t.startX,t.offsetY=a-t.startY,t.scale=1-Math.abs(t.offsetY/a*.4)}function l(){!t.dragging||(Math.abs(t.offsetY)>window.innerHeight*.14?t.scale=.3:t.scale=1,t.dragging=!1,t.offsetX=0,t.offsetY=0)}return{state:t,dragStart:n,dragMove:o,dragEnd:l}}function Qe(){const t=e.ref(!1),n=e.ref(!1);return e.onActivated(()=>{!n.value||(t.value=!0)}),e.onMounted(()=>{n.value=!1,setTimeout(()=>{n.value=!0})}),{isActivated:t}}function Ye(t){let n=!1;return()=>{n||(t(),n=!0)}}function $t(t){let n=null;const{isActivated:o}=Qe(),l=Ye(()=>n=window.onBackPress);function s(){l(),window.onBackPress=()=>t()}function a(){window.onBackPress=n}return e.onActivated(()=>{!o.value||s()}),e.onBeforeMount(()=>{s()}),e.onBeforeUnmount(()=>{a()}),e.onDeactivated(()=>{a()}),{register:s,unregister:a}}const Ft=["onClick"],Ht=e.defineComponent({__name:"Toast",props:{message:null,position:null,buttonClickEvent:null},setup(t){const n=t,o=e.ref(),l=e.ref(),s=e.ref(),a=e.computed(()=>{switch(n.position){case"top":return 10;case"middle":return 50;case"bottom":return 85}}),i=e.computed(()=>({position:"absolute",borderRadius:"10px",backgroundColor:"rgba(0, 0, 0, 0.8)",padding:"14px 19px",top:`calc(${a.value}% - ${s.value}px)`,left:`calc(50% - ${l.value}px)`})),M=e.computed(()=>({width:"fit-content",display:"flex",justifyContent:"center",alignItems:"center",color:"white",fontSize:"14px"}));function c(){!n.buttonClickEvent||n.buttonClickEvent()}return e.nextTick(()=>{l.value=o.value.offsetWidth/2,s.value=o.value.offsetHeight/2}),(f,g)=>(e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(c,["stop"]),id:"toastWrapper",ref_key:"toastWrapper",ref:o,class:"toastWrapper",style:e.normalizeStyle([e.unref(i),{zIndex:9999999}])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(M))},[e.createElementVNode("span",null,e.toDisplayString(t.message),1)],4)],12,Ft))}}),Vn="",Vt=V(Ht,[["__scopeId","data-v-25d39b90"]]),Ue={message:"\u61D2\u732B\u4E91 Yes!!!",position:"middle",duration:1500,buttonClickEvent:()=>{}};class Wt{options;container;constructor(n){this.options=n,this.container=document.createElement("div")}present(){const n=e.h(e.h(Vt),{...Ue,...this.options});e.render(n,this.container),document.body.insertBefore(this.container,document.body.firstChild);const o=this.options.duration||Ue.duration;setTimeout(()=>{this.dismiss()},o)}dismiss(){if(this.container){const n=this.container.querySelector("#toastWrapper");n.style.opacity="0",n.style.transition="opacity 0.4s ease-in",setTimeout(()=>{this.container&&(e.render(null,this.container),document.body.removeChild(this.container))},500)}}}const Xt=["xlink:href","fill","color"],ee=e.defineComponent({__name:"SvgIcon",props:{name:null,prefix:{default:"icon"},color:{default:"#FFF"},width:null,height:null},setup(t){const n=t,o=e.computed(()=>`#${n.prefix}-${n.name}`),l=e.computed(()=>({width:`${n.width??n.height}px`,height:`${n.height??n.width}px`,aspectRatio:n.width&&n.height?void 0:"1/1"}));function s(a){const{style:i}=a;return typeof i=="object"?i:{}}return(a,i)=>(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":"",style:e.normalizeStyle({...e.unref(l),...s(a.$attrs)})},[e.createElementVNode("use",{"xlink:href":e.unref(o),fill:t.color,color:t.color},null,8,Xt)],4))}});function Zt(t){const{containerEl:n,sliderEl:o,autoHeight:l,performance:s={},maxHeightRatio:a=.9,observeMethod:i="classList"}=t,M=e.ref(!0),c=te(T,100);let f,g="";const r=e.ref(0),h=e.ref(0),m=e.ref(0),u=e.ref({top:0,scrollTop:0,scrollHeight:0,clientHeight:0}),N=e.ref({clientHeight:0}),p=e.computed(()=>!!h.value),d=e.computed(()=>u.value.scrollHeight>u.value.clientHeight),y=e.computed(()=>l?u.value.clientHeight-U.value:u.value.clientHeight-N.value.clientHeight),j=e.computed(()=>u.value.scrollHeight-u.value.clientHeight),R=e.computed(()=>Math.max(u.value.clientHeight/u.value.scrollHeight,.05)),U=e.computed(()=>R.value>a?0:R.value*u.value.clientHeight),x=e.computed(()=>({willChange:"transform",transform:`translate3d(0,${m.value}px,0)`,height:l?`${U.value}px`:void 0}));function D(Q){O(),h.value=Q.clientY-o.value.getBoundingClientRect().top||1,g=getComputedStyle(n.value).scrollBehavior,g==="smooth"&&(n.value.style.scrollBehavior="unset")}function z(){n.value.style.scrollBehavior=g,h.value=0,c()}function O(){M.value=!1}function T(){p.value||(M.value=!0)}function w(Q){if(!p.value)return;let Y=Q.clientY-u.value.top-h.value;Y<0?m.value=0:Y>=y.value?m.value=y.value:m.value=Y,n.value.scrollTo({top:m.value/y.value*j.value})}function I(){p.value||b()}function b(){cancelAnimationFrame(f),f=requestAnimationFrame(k)}function k(){n.value&&(r.value=s.scrollTop?.value??n.value.scrollTop,m.value=r.value/j.value*y.value)}function C(Q){let Y="addEventListener";Q==="add"?Y="addEventListener":Y="removeEventListener",o.value?.[Y]("pointerdown",D,{passive:!0}),window[Y]("pointermove",w,{passive:!0}),window[Y]("pointerup",z,{passive:!0})}const A=new MutationObserver(Q=>{(i=="classList"||Q.map(F=>F.oldValue).join().includes("height"))&&v()});function v(){u.value.top=n.value?.getBoundingClientRect().top??0,u.value.scrollHeight=n.value?.scrollHeight??0,u.value.clientHeight=n.value?.clientHeight??0}function _(){O(),setTimeout(()=>{N.value.clientHeight=o.value?.clientHeight??0,T()},150)}function B(){if(n.value&&o.value){n.value.classList.add("hide-scrollbar"),n.value.addEventListener("scroll",I,{passive:!0}),C("add");const Q={};i==="classList"?Object.assign(Q,{subtree:!0,childList:!0}):Object.assign(Q,{subtree:!0,attributeOldValue:!0,attributeFilter:["style"]}),A.observe(n.value,Q),setTimeout(()=>{v()},100),_()}else console.error("useScrollBar:","\u521D\u59CB\u5316\u5931\u8D25!",{containerEl:n,sliderEl:o})}return e.watch(r,()=>{O(),c()}),{isScrollEnd:M,isDragSlider:p,offsetTop:m,scrollTop:r,scrollable:d,sliderPos:x,init:B,modifySliderEventListener:C}}const Kt=(t=>(e.pushScopeId("data-v-405c22cf"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"default-slider"},null,-1)),Gt=e.defineComponent({__name:"ScrollBar",props:{containerEl:null,autoHide:{type:Boolean},autoHeight:{type:Boolean},observeMethod:null,performance:null},setup(t,{expose:n}){const o=t,l=!!e.useSlots().default,s=e.ref(null),a=e.computed(()=>o.containerEl),i=Zt({containerEl:a,sliderEl:s,autoHeight:l?o.autoHeight:!0,performance:o.performance,observeMethod:o.observeMethod}),{scrollable:M,isScrollEnd:c,sliderPos:f}=i,g=e.ref(!1),r=o.autoHide?e.computed(()=>g.value||!c.value):e.computed(()=>M.value),{load:h}=pe(`.hide-scrollbar {
15
15
  scrollbar-width: none;
16
16
  -ms-overflow-style: none;
17
17
  }
18
18
  .hide-scrollbar::-webkit-scrollbar {
19
19
  display: none;
20
- }`,{id:"styletag_lzc_scrollbar",manual:!0});e.onMounted(()=>{h(),e.nextTick(()=>{i.init()})}),e.onUnmounted(()=>{i.modifySliderEventListener("remove")});function m(){g.value=!0}function u(){g.value=!1}return n({uScrollBarReturn:i}),(N,p)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:s,class:"slider-wrapper",onMouseenter:m,onMouseleave:u,style:e.normalizeStyle(e.unref(f))},[e.renderSlot(N.$slots,"default",{},()=>[Kt],!0)],36),[[e.vShow,e.unref(r)]])]),_:3}))}}),Xn="",qt=V(Gt,[["__scopeId","data-v-405c22cf"]]),Jt=t=>(e.pushScopeId("data-v-df5da876"),t=t(),e.popScopeId(),t),en={class:"pull-refresh"},tn={key:0,class:"pull-arrow-circle"},nn={key:0,class:"box-load"},on={class:"left-load"},ln={class:"right-load"},sn=Jt(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),an={class:"pull-arrow"},rn={key:1},cn=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),M=e.ref(.3),c=e.ref(!1),f=e.ref(0),g=e.ref(0),r=e.ref(0),h=e.ref(0),m=e.ref(0),u=e.ref(),N=e.computed(()=>n.scrollTop),p=e.computed(()=>({transition:`${h.value}ms`,transform:`translate3d(0,${s.value}px, 0) scale(${a.value})`})),d=e.computed(()=>({borderColor:l,transition:h.value,transform:`rotate(${100+i.value}deg)`,opacity:M.value}));e.watch(m,D=>{D===0&&(s.value=-50,M.value=.3)}),e.watch(g,D=>{if(m.value===2)return;const z=Math.pow(D,o);z===0&&(s.value=-50),z<=50&&z>0&&(s.value=z-45,i.value=Math.pow(z,1.5),z>15?c.value=!0:c.value=!1),z>50&&(s.value=5,M.value=1,m.value)});const y=e.ref(0),j=D=>{y.value=D.touches[0].pageY},R=D=>{const z=D.touches[0].pageY-y.value;y.value=D.touches[0].pageY,!n.refreshOff&&(!n?.refresh||m.value!==2&&N.value===0&&(f.value===0&&(f.value=D.touches[0].pageY),r.value=0,x.value.style.transition=`${r.value}ms`,h.value=0,g.value=D.touches[0].pageY-f.value,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,z>0&&D.preventDefault()))},U=()=>{if(n.refreshOff||!n?.refresh||m.value===2)return;f.value=0,r.value=300;const D=Math.pow(g.value,o);x.value.style.transition=`${r.value}ms`,D>50?(m.value=2,g.value=Math.pow(50,1/o),x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,h.value=300,n?.refresh&&n?.refresh().then(()=>{u.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{u.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(()=>{u.value=void 0},h.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",j),x.value?.addEventListener("touchmove",R),x.value?.addEventListener("touchend",U))}),(D,z)=>(e.openBlock(),e.createElementBlock("div",en,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(p))},[u.value?(e.openBlock(),e.createElementBlock("div",rn,e.toDisplayString(u.value),1)):(e.openBlock(),e.createElementBlock("div",tn,[m.value==2?(e.openBlock(),e.createElementBlock("div",nn,[e.createElementVNode("div",on,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",ln,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),sn])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(d))},[e.createElementVNode("div",an,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:c.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),Zn="",Re=V(cn,[["__scopeId","data-v-df5da876"]]),un=["data-key"],dn={inheritAttrs:!1},fn=e.defineComponent({...dn,__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=Ce(e.toRef(l,"data"),{itemHeight:m=>l.itemHeight(l.data[m]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:a,containerProps:i,wrapperProps:M,innerProps:c,getItemHeightData:f,scrollTop:g}=s;n({vListReturn:s});const r="virtualListWrapper"+new Date().getTime();function h(m,u){return l.getItemKey?l.getItemKey(m,u):`${u}`}return(m,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Re,{refresh:t.refresh,refreshOff:t.refreshOff,scrollTop:e.unref(g),pullRefreshContainer:"#"+r},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:r},[e.createElementVNode("div",e.mergeProps({onScrollPassive:u[0]||(u[0]=(...N)=>e.unref(i).onScroll&&e.unref(i).onScroll(...N)),ref:e.unref(i).ref,class:"virtualList"},m.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(M))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(c))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),({data:N,index:p})=>(e.openBlock(),e.createElementBlock("div",{key:h(N,p),"data-key":h(N,p),style:e.normalizeStyle({height:`${e.unref(f)(p).height}px`,display:"flex"})},[e.renderSlot(m.$slots,"default",{data:N,index:p},void 0,!0)],12,un))),128))],16)],16)],16)])],64))}}),Kn="",Mn=V(fn,[["__scopeId","data-v-dfe60586"]]),Ee=t=>(e.pushScopeId("data-v-33519afd"),t=t(),e.popScopeId(),t),gn={style:{position:"absolute"}},mn=Ee(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),hn=["width","height"],pn=[Ee(()=>e.createElementVNode("title",null,"logo",-1)),Ee(()=>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))],yn=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",gn,[mn,(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"},pn,8,hn))]))}}),Jn="",Dn=V(yn,[["__scopeId","data-v-33519afd"]]),Tn=["image/avif","image/bmp","image/jpg","image/jpeg","image/gif","image/heic","image/heif","image/png","image/tga","image/webp","image/wbmp","image/svg+xml"],Nn=["image/bmp","image/jpg","image/jpeg","image/gif","image/heic","image/heif","image/png","image/webp","image/svg+xml"];function Pe(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?Tn.includes(c):Nn.includes(c):!1});t&&e.watch(t,c=>{o.value=c,s.value=!1});function M(){s.value=!0}return{imgSrc:o,isError:s,hasError:a,isSupport:i,handleError:M}}function $e(){return{vImageCancel:{beforeUnmount(n){!n||(n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}}}}const wn=t=>(e.pushScopeId("data-v-a5909fc3"),t=t(),e.popScopeId(),t),En=["title"],vn=wn(()=>e.createElementVNode("span",{class:"tip"},"\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301",-1)),In=["src"],zn=["src"],An=["title"],Ln={inheritAttrs:!1},jn=e.defineComponent({...Ln,__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"],setup(t,{emit:n}){const o=t,l=e.ref(),s=e.ref(),a=e.ref(!1),i=e.ref(!1),M=e.ref(!1),{src:c,mime:f}=e.toRefs(o),{imgSrc:g,isSupport:r,hasError:h,handleError:m}=Pe(c,f),{vImageCancel:u}=$e(),{LoadingComp:N}=Te({component:xe,delay:300}),p=Ve(()=>M.value&&o.autoRemoveThumbnail?!1:o.thumbnail&&!M.value);e.watch(r,D=>{D||n("noSupport")});function d(){i.value=!0}function y(){i.value&&(M.value=!0)}async function j(){d(),p.value?(l.value?.addEventListener("animationend",R),l.value?.classList.add("showing"),await Ne(10)):l.value&&n("load",l.value),l.value?.classList.remove("src-class")}function R(){l.value?.removeEventListener("animationend",R),l.value?.classList.remove("showing"),l.value&&n("load",l.value),y()}async function U(D){D?j():s.value&&n("load",s.value),a.value=!0}function x(D){D?m():d(),a.value=!0}return(D,z)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(r)&&!a.value?(e.openBlock(),e.createBlock(e.unref(N),{key:0})):e.createCommentVNode("",!0),e.unref(r)?e.unref(h)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},D.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(ee,{class:"bad-image",name:t.badImageIconName},null,8,["name"])],16,An)):e.renderSlot(D.$slots,"default",{key:2,src:e.unref(g),onLoad:U,onError:x},()=>[e.unref(p)?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},D.$attrs,{ref_key:"thumbnailRef",ref:s,onLoad:z[0]||(z[0]=O=>U()),onError:z[1]||(z[1]=O=>x()),src:t.thumbnail}),null,16,In)),[[e.unref(u)]]):e.createCommentVNode("",!0),t.isShowSrc||i.value?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:1},D.$attrs,{ref_key:"srcRef",ref:l,class:"src-class",onLoad:z[2]||(z[2]=O=>U(!0)),onError:z[3]||(z[3]=O=>x(!0)),src:e.unref(g)}),null,16,zn)),[[e.unref(u)],[e.vShow,i.value]]):e.createCommentVNode("",!0)],!0):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},D.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(ee,{class:"no-support-icon",name:t.noSupportIconName},null,8,["name"]),vn],16,En))],64))}}),eo="",Cn=V(jn,[["__scopeId","data-v-a5909fc3"]]),Sn=["title"],xn=["src"],_n=["title"],bn=e.defineComponent({__name:"Thumbnail",props:{src:null,mime:null},setup(t){const n=t,o=e.ref(!1),{src:l,mime:s}=e.toRefs(n),{imgSrc:a,hasError:i,isSupport:M,handleError:c}=Pe(l,s),{vImageCancel:f}=$e();return(g,r)=>e.unref(M)?e.unref(i)?(e.openBlock(),e.createElementBlock("div",{key:2,title:e.unref(a),class:"icon-wrap"},[e.createVNode(ee,{class:"icon",name:"\u56FE\u7247\u635F\u574F"})],8,_n)):e.withDirectives((e.openBlock(),e.createElementBlock("img",{key:1,fetchpriority:"high",onLoad:r[0]||(r[0]=h=>o.value=!0),onError:r[1]||(r[1]=(...h)=>e.unref(c)&&e.unref(c)(...h)),src:e.unref(a)},null,40,xn)),[[e.unref(f)],[e.vShow,o.value]]):(e.openBlock(),e.createElementBlock("div",{key:0,title:e.unref(a),class:"icon-wrap"},[e.createVNode(ee,{class:"icon",name:"\u672A\u77E5\u7C7B\u578B"})],8,Sn))}}),to="",On=V(bn,[["__scopeId","data-v-5a7af152"]]);E.DefaultLoading=xe,E.Image=Cn,E.Loading=Dn,E.LoadingToast=_e,E.PageLoading=wt,E.PullRefresh=Re,E.ScrollBar=qt,E.SvgIcon=ee,E.Thumbnail=On,E.ToastCreator=Wt,E.VirtualList=Mn,E.allSelectedKey=ie,E.closeDialogKey=Se,E.dialogController=gt,E.getTransform=Me,E.isAllSelectedKey=de,E.isSelectedKey=ae,E.once=Ye,E.selectAllKey=ce,E.selectKey=re,E.selectedCountKey=fe,E.toggleAllKey=le,E.toggleKey=se,E.unselectAllKey=G,E.unselectKey=ue,E.useBackPress=$t,E.useDelayAsync=St,E.useDelayLoad=mt,E.useDelayLoadComp=Te,E.useDownDrag=Pt,E.useDragSelect=De,E.useDragSelectByMobile=dt,E.useDragSelectByPc=ut,E.useRouterActivated=Qe,E.useScaleImageByMobile=Rt,E.useScaleImageByPc=Ut,E.useSelectable=rt,E.useSelectableByBase=ct,E.useSelectableInjectors=it,E.useVirtualList=Ce,E.vDebounceClick=He,E.vSingleClick=Ie,Object.defineProperties(E,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
20
+ }`,{id:"styletag_lzc_scrollbar",manual:!0});e.onMounted(()=>{h(),e.nextTick(()=>{i.init()})}),e.onUnmounted(()=>{i.modifySliderEventListener("remove")});function m(){g.value=!0}function u(){g.value=!1}return n({uScrollBarReturn:i}),(N,p)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:s,class:"slider-wrapper",onMouseenter:m,onMouseleave:u,style:e.normalizeStyle(e.unref(f))},[e.renderSlot(N.$slots,"default",{},()=>[Kt],!0)],36),[[e.vShow,e.unref(r)]])]),_:3}))}}),Xn="",qt=V(Gt,[["__scopeId","data-v-405c22cf"]]),Jt=t=>(e.pushScopeId("data-v-df5da876"),t=t(),e.popScopeId(),t),en={class:"pull-refresh"},tn={key:0,class:"pull-arrow-circle"},nn={key:0,class:"box-load"},on={class:"left-load"},ln={class:"right-load"},sn=Jt(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),an={class:"pull-arrow"},rn={key:1},cn=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),M=e.ref(.3),c=e.ref(!1),f=e.ref(0),g=e.ref(0),r=e.ref(0),h=e.ref(0),m=e.ref(0),u=e.ref(),N=e.computed(()=>n.scrollTop),p=e.computed(()=>({transition:`${h.value}ms`,transform:`translate3d(0,${s.value}px, 0) scale(${a.value})`})),d=e.computed(()=>({borderColor:l,transition:h.value,transform:`rotate(${100+i.value}deg)`,opacity:M.value}));e.watch(m,D=>{D===0&&(s.value=-50,M.value=.3)}),e.watch(g,D=>{if(m.value===2)return;const z=Math.pow(D,o);z===0&&(s.value=-50),z<=50&&z>0&&(s.value=z-45,i.value=Math.pow(z,1.5),z>15?c.value=!0:c.value=!1),z>50&&(s.value=5,M.value=1,m.value)});const y=e.ref(0),j=D=>{y.value=D.touches[0].pageY},R=D=>{const z=D.touches[0].pageY-y.value;y.value=D.touches[0].pageY,!n.refreshOff&&(!n?.refresh||m.value!==2&&N.value===0&&(f.value===0&&(f.value=D.touches[0].pageY),r.value=0,x.value.style.transition=`${r.value}ms`,h.value=0,g.value=D.touches[0].pageY-f.value,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,z>0&&D.preventDefault()))},U=()=>{if(n.refreshOff||!n?.refresh||m.value===2)return;f.value=0,r.value=300;const D=Math.pow(g.value,o);x.value.style.transition=`${r.value}ms`,D>50?(m.value=2,g.value=Math.pow(50,1/o),x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,h.value=300,n?.refresh&&n?.refresh().then(()=>{u.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{u.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(()=>{u.value=void 0},h.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",j),x.value?.addEventListener("touchmove",R),x.value?.addEventListener("touchend",U))}),(D,z)=>(e.openBlock(),e.createElementBlock("div",en,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(p))},[u.value?(e.openBlock(),e.createElementBlock("div",rn,e.toDisplayString(u.value),1)):(e.openBlock(),e.createElementBlock("div",tn,[m.value==2?(e.openBlock(),e.createElementBlock("div",nn,[e.createElementVNode("div",on,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",ln,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),sn])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(d))},[e.createElementVNode("div",an,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:c.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),Zn="",Re=V(cn,[["__scopeId","data-v-df5da876"]]),un=["data-key"],dn={inheritAttrs:!1},fn=e.defineComponent({...dn,__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=Ce(e.toRef(l,"data"),{itemHeight:m=>l.itemHeight(l.data[m]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:a,containerProps:i,wrapperProps:M,innerProps:c,getItemHeightData:f,scrollTop:g}=s;n({vListReturn:s});const r="virtualListWrapper"+new Date().getTime();function h(m,u){return l.getItemKey?l.getItemKey(m,u):`${u}`}return(m,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Re,{refresh:t.refresh,refreshOff:t.refreshOff,scrollTop:e.unref(g),pullRefreshContainer:"#"+r},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:r},[e.createElementVNode("div",e.mergeProps({onScrollPassive:u[0]||(u[0]=(...N)=>e.unref(i).onScroll&&e.unref(i).onScroll(...N)),ref:e.unref(i).ref,class:"virtualList"},m.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(M))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(c))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),({data:N,index:p})=>(e.openBlock(),e.createElementBlock("div",{key:h(N,p),"data-key":h(N,p),style:e.normalizeStyle({height:`${e.unref(f)(p).height}px`,display:"flex"})},[e.renderSlot(m.$slots,"default",{data:N,index:p},void 0,!0)],12,un))),128))],16)],16)],16)])],64))}}),Kn="",Mn=V(fn,[["__scopeId","data-v-dfe60586"]]),Ee=t=>(e.pushScopeId("data-v-33519afd"),t=t(),e.popScopeId(),t),gn={style:{position:"absolute"}},mn=Ee(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),hn=["width","height"],pn=[Ee(()=>e.createElementVNode("title",null,"logo",-1)),Ee(()=>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))],yn=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",gn,[mn,(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"},pn,8,hn))]))}}),Jn="",Dn=V(yn,[["__scopeId","data-v-33519afd"]]),Tn=["image/avif","image/bmp","image/jpg","image/jpeg","image/gif","image/heic","image/heif","image/png","image/tga","image/webp","image/wbmp","image/svg+xml"],Nn=["image/bmp","image/jpg","image/jpeg","image/gif","image/heic","image/heif","image/png","image/webp","image/svg+xml"];function Pe(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?Tn.includes(c):Nn.includes(c):!1});t&&e.watch(t,c=>{o.value=c,s.value=!1});function M(){s.value=!0}return{imgSrc:o,isError:s,hasError:a,isSupport:i,handleError:M}}function $e(){return{vImageCancel:{beforeUnmount(n){!n||(n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}}}}const wn=t=>(e.pushScopeId("data-v-c6edbcb9"),t=t(),e.popScopeId(),t),En=["title"],vn=wn(()=>e.createElementVNode("span",{class:"tip"},"\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301",-1)),In=["src"],zn=["src"],An=["title"],Ln={inheritAttrs:!1},jn=e.defineComponent({...Ln,__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"],setup(t,{emit:n}){const o=t,l=e.ref(),s=e.ref(),a=e.ref(!1),i=e.ref(!1),M=e.ref(!1),{src:c,mime:f}=e.toRefs(o),{imgSrc:g,isSupport:r,hasError:h,handleError:m}=Pe(c,f),{vImageCancel:u}=$e(),{LoadingComp:N}=Te({component:xe,delay:300}),p=Ve(()=>M.value&&o.autoRemoveThumbnail?!1:o.thumbnail&&!M.value);e.watch(r,D=>{D||n("noSupport")},{immediate:!0});function d(){i.value=!0}function y(){i.value&&(M.value=!0)}async function j(){d(),p.value?(l.value?.addEventListener("animationend",R),l.value?.classList.add("showing"),await Ne(10)):l.value&&n("load",l.value),l.value?.classList.remove("src-class")}function R(){l.value?.removeEventListener("animationend",R),l.value?.classList.remove("showing"),l.value&&n("load",l.value),y()}async function U(D){D?j():s.value&&n("load",s.value),a.value=!0}function x(D){D?m():d(),a.value=!0}return(D,z)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(r)&&!a.value?(e.openBlock(),e.createBlock(e.unref(N),{key:0})):e.createCommentVNode("",!0),e.unref(r)?e.unref(h)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},D.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(ee,{class:"bad-image",name:t.badImageIconName},null,8,["name"])],16,An)):e.renderSlot(D.$slots,"default",{key:2,src:e.unref(g),onLoad:U,onError:x},()=>[e.unref(p)?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},D.$attrs,{ref_key:"thumbnailRef",ref:s,onLoad:z[0]||(z[0]=O=>U()),onError:z[1]||(z[1]=O=>x()),src:t.thumbnail}),null,16,In)),[[e.unref(u)]]):e.createCommentVNode("",!0),t.isShowSrc||i.value?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:1},D.$attrs,{ref_key:"srcRef",ref:l,class:"src-class",onLoad:z[2]||(z[2]=O=>U(!0)),onError:z[3]||(z[3]=O=>x(!0)),src:e.unref(g)}),null,16,zn)),[[e.unref(u)],[e.vShow,i.value]]):e.createCommentVNode("",!0)],!0):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},D.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(ee,{class:"no-support-icon",name:t.noSupportIconName},null,8,["name"]),vn],16,En))],64))}}),eo="",Cn=V(jn,[["__scopeId","data-v-c6edbcb9"]]),Sn=["title"],xn=["src"],bn=["title"],_n=e.defineComponent({__name:"Thumbnail",props:{src:null,mime:null},setup(t){const n=t,o=e.ref(!1),{src:l,mime:s}=e.toRefs(n),{imgSrc:a,hasError:i,isSupport:M,handleError:c}=Pe(l,s),{vImageCancel:f}=$e();return(g,r)=>e.unref(M)?e.unref(i)?(e.openBlock(),e.createElementBlock("div",{key:2,title:e.unref(a),class:"icon-wrap"},[e.createVNode(ee,{class:"icon",name:"\u56FE\u7247\u635F\u574F"})],8,bn)):e.withDirectives((e.openBlock(),e.createElementBlock("img",{key:1,fetchpriority:"high",onLoad:r[0]||(r[0]=h=>o.value=!0),onError:r[1]||(r[1]=(...h)=>e.unref(c)&&e.unref(c)(...h)),src:e.unref(a)},null,40,xn)),[[e.unref(f)],[e.vShow,o.value]]):(e.openBlock(),e.createElementBlock("div",{key:0,title:e.unref(a),class:"icon-wrap"},[e.createVNode(ee,{class:"icon",name:"\u672A\u77E5\u7C7B\u578B"})],8,Sn))}}),to="",On=V(_n,[["__scopeId","data-v-5a7af152"]]);E.DefaultLoading=xe,E.Image=Cn,E.Loading=Dn,E.LoadingToast=be,E.PageLoading=wt,E.PullRefresh=Re,E.ScrollBar=qt,E.SvgIcon=ee,E.Thumbnail=On,E.ToastCreator=Wt,E.VirtualList=Mn,E.allSelectedKey=ie,E.closeDialogKey=Se,E.dialogController=gt,E.getTransform=Me,E.isAllSelectedKey=de,E.isSelectedKey=ae,E.once=Ye,E.selectAllKey=ce,E.selectKey=re,E.selectedCountKey=fe,E.toggleAllKey=le,E.toggleKey=se,E.unselectAllKey=G,E.unselectKey=ue,E.useBackPress=$t,E.useDelayAsync=St,E.useDelayLoad=mt,E.useDelayLoadComp=Te,E.useDownDrag=Pt,E.useDragSelect=De,E.useDragSelectByMobile=dt,E.useDragSelectByPc=ut,E.useRouterActivated=Qe,E.useScaleImageByMobile=Rt,E.useScaleImageByPc=Ut,E.useSelectable=rt,E.useSelectableByBase=ct,E.useSelectableInjectors=it,E.useVirtualList=Ce,E.vDebounceClick=He,E.vSingleClick=Ie,Object.defineProperties(E,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .no-overlay-modal[data-v-783a5618]{position:absolute;inset:0;display:flex;z-index:999}.lzc-modal[data-v-783a5618]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-783a5618]{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-405c22cf]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-405c22cf]{opacity:0}.slider-wrapper[data-v-405c22cf]{position:absolute;right:0;touch-action:none}.default-slider[data-v-405c22cf]{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-a5909fc3],.v-leave-active[data-v-a5909fc3]{transition:opacity .6s ease}.v-enter-from[data-v-a5909fc3],.v-leave-to[data-v-a5909fc3]{opacity:0}.tip[data-v-a5909fc3]{font-size:14px;color:#aeaeae}.tip-wrap[data-v-a5909fc3]{display:flex;flex-direction:column;align-items:center;justify-content:center}.no-support-icon[data-v-a5909fc3]{width:162px;height:134px}.bad-image[data-v-a5909fc3]{width:92px;height:92px}.src-class[data-v-a5909fc3]{width:unset!important;height:unset!important;max-width:none!important;max-height:none!important;transform:scale(0);opacity:.00001}@keyframes fadeIn-a5909fc3{0%{opacity:0}to{opacity:1}}.showing[data-v-a5909fc3]{animation:fadeIn-a5909fc3 .35s linear}img[data-v-a5909fc3]{user-select:none;pointer-events:none}img[data-v-5a7af152]{pointer-events:none}.icon-wrap[data-v-5a7af152]{display:flex;align-items:center;justify-content:center}.icon[data-v-5a7af152]{width:100%;height:100%}
1
+ .no-overlay-modal[data-v-783a5618]{position:absolute;inset:0;display:flex;z-index:999}.lzc-modal[data-v-783a5618]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-783a5618]{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-405c22cf]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-405c22cf]{opacity:0}.slider-wrapper[data-v-405c22cf]{position:absolute;right:0;touch-action:none}.default-slider[data-v-405c22cf]{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-c6edbcb9],.v-leave-active[data-v-c6edbcb9]{transition:opacity .6s ease}.v-enter-from[data-v-c6edbcb9],.v-leave-to[data-v-c6edbcb9]{opacity:0}.tip[data-v-c6edbcb9]{font-size:14px;color:#aeaeae}.tip-wrap[data-v-c6edbcb9]{display:flex;flex-direction:column;align-items:center;justify-content:center}.no-support-icon[data-v-c6edbcb9]{width:162px;height:134px}.bad-image[data-v-c6edbcb9]{width:92px;height:92px}.src-class[data-v-c6edbcb9]{width:unset!important;height:unset!important;max-width:none!important;max-height:none!important;transform:scale(0);opacity:.00001}@keyframes fadeIn-c6edbcb9{0%{opacity:0}to{opacity:1}}.showing[data-v-c6edbcb9]{animation:fadeIn-c6edbcb9 .35s linear}img[data-v-c6edbcb9]{user-select:none;pointer-events:none}img[data-v-5a7af152]{pointer-events:none}.icon-wrap[data-v-5a7af152]{display:flex;align-items:center;justify-content:center}.icon[data-v-5a7af152]{width:100%;height:100%}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazycatcloud/lzc-toolkit",
3
- "version": "0.0.170",
3
+ "version": "0.0.171",
4
4
  "description": "lazycat ui toolkits",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",