@lazycatcloud/lzc-toolkit 0.0.70 → 0.0.72

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,9 +1,9 @@
1
- import { ref as h, watch as K, customRef as tt, getCurrentScope as lt, onScopeDispose as nt, getCurrentInstance as Be, onMounted as oe, nextTick as _e, unref as $, onUpdated as ot, readonly as st, shallowRef as at, computed as S, onUnmounted as Ie, inject as j, provide as z, defineComponent as U, h as Y, render as ue, openBlock as I, createBlock as Me, Transition as He, withCtx as Pe, createElementBlock as P, createElementVNode as C, withModifiers as rt, normalizeClass as Ae, renderSlot as ye, createCommentVNode as ut, normalizeProps as he, guardReactiveProps as pe, pushScopeId as ce, popScopeId as de, normalizeStyle as W, toDisplayString as Fe, useSlots as it, withDirectives as ct, vShow as dt, toRef as vt, Fragment as Ee, createVNode as ft, mergeProps as ht, renderList as pt, useCssVars as mt } from "vue";
1
+ import { ref as h, watch as j, customRef as tt, getCurrentScope as lt, onScopeDispose as nt, getCurrentInstance as Be, onMounted as oe, nextTick as _e, unref as B, onUpdated as ot, readonly as st, shallowRef as at, computed as S, onUnmounted as Ie, inject as V, provide as z, defineComponent as Y, h as q, render as ue, openBlock as M, createBlock as Me, Transition as He, withCtx as Pe, createElementBlock as P, createElementVNode as x, withModifiers as rt, normalizeClass as Ae, renderSlot as ye, createCommentVNode as ut, normalizeProps as he, guardReactiveProps as pe, pushScopeId as ce, popScopeId as de, normalizeStyle as W, toDisplayString as Fe, useSlots as it, withDirectives as ct, vShow as dt, toRef as vt, Fragment as Ee, createVNode as ft, mergeProps as ht, renderList as pt, useCssVars as mt } from "vue";
2
2
  var Ce;
3
3
  const we = typeof window < "u", xe = (e) => typeof e == "function";
4
4
  we && ((Ce = window?.navigator) == null ? void 0 : Ce.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
5
5
  function ie(e) {
6
- return typeof e == "function" ? e() : $(e);
6
+ return typeof e == "function" ? e() : B(e);
7
7
  }
8
8
  function ke(e, t) {
9
9
  function l(...n) {
@@ -46,7 +46,7 @@ function wt(e, t) {
46
46
  const a = h(!0), s = () => {
47
47
  a.value = !0, o();
48
48
  };
49
- K(e, s, { flush: "sync" });
49
+ j(e, s, { flush: "sync" });
50
50
  const i = xe(t) ? t : t.get, f = xe(t) ? void 0 : t.set, d = tt((v, c) => (n = v, o = c, {
51
51
  get() {
52
52
  return a.value && (l = i(), a.value = !1), n(), l;
@@ -100,7 +100,7 @@ function Ot(e, t, l = {}) {
100
100
  let s;
101
101
  const i = Et(() => o && "ResizeObserver" in o), f = () => {
102
102
  s && (s.disconnect(), s = void 0);
103
- }, d = K(() => Ve(e), (c) => {
103
+ }, d = j(() => Ve(e), (c) => {
104
104
  f(), i.value && o && c && (s = new ResizeObserver(t), s.observe(c, a));
105
105
  }, { immediate: !0, flush: "post" }), v = () => {
106
106
  f(), d();
@@ -115,7 +115,7 @@ function $t(e, t = { width: 0, height: 0 }, l = {}) {
115
115
  return Ot(e, ([s]) => {
116
116
  const i = n === "border-box" ? s.borderBoxSize : n === "content-box" ? s.contentBoxSize : s.devicePixelContentBoxSize;
117
117
  i ? (o.value = i.reduce((f, { inlineSize: d }) => f + d, 0), a.value = i.reduce((f, { blockSize: d }) => f + d, 0)) : (o.value = s.contentRect.width, a.value = s.contentRect.height);
118
- }, l), K(() => Ve(e), (s) => {
118
+ }, l), j(() => Ve(e), (s) => {
119
119
  o.value = s ? t.width : 0, a.value = s ? t.height : 0;
120
120
  }), {
121
121
  width: o,
@@ -140,7 +140,7 @@ function Rt(e, t = {}) {
140
140
  if (!n)
141
141
  return;
142
142
  const c = n.getElementById(s) || n.createElement("style");
143
- c.type = "text/css", c.id = s, t.media && (c.media = t.media), n.head.appendChild(c), !l.value && (f = K(i, (u) => {
143
+ c.type = "text/css", c.id = s, t.media && (c.media = t.media), n.head.appendChild(c), !l.value && (f = j(i, (u) => {
144
144
  c.innerText = u;
145
145
  }, { immediate: !0 }), l.value = !0);
146
146
  }, v = () => {
@@ -192,7 +192,7 @@ Ht({
192
192
  linear: yt
193
193
  }, Pt);
194
194
  function At(e, t) {
195
- const { scrollEndHook: l, itemHeight: n, overscan: o = 5 } = t, a = h(null), s = $t(a), i = h(!0), f = We(M, 100);
195
+ const { scrollEndHook: l, itemHeight: n, overscan: o = 5 } = t, a = h(null), s = $t(a), i = h(!0), f = We(Q, 100);
196
196
  let d;
197
197
  const v = at(e), c = h(0), u = h({ start: 0, end: 10 });
198
198
  let r = 0;
@@ -204,43 +204,43 @@ function At(e, t) {
204
204
  return m.value.slice(b, g);
205
205
  });
206
206
  oe(() => {
207
- }), Ie(() => cancelAnimationFrame(d)), K(
207
+ }), Ie(() => cancelAnimationFrame(d)), j(
208
208
  [s.width, s.height, v],
209
209
  ([g, b]) => {
210
- (g || b) && D();
210
+ (g || b) && K();
211
211
  },
212
212
  { deep: !0 }
213
- ), K(c, () => {
213
+ ), j(c, () => {
214
214
  F(), f();
215
215
  });
216
216
  function F() {
217
217
  i.value = !1;
218
218
  }
219
- function M() {
219
+ function Q() {
220
220
  i.value = !0, l?.();
221
221
  }
222
- function D() {
223
- cancelAnimationFrame(d), d = requestAnimationFrame(R);
222
+ function K() {
223
+ cancelAnimationFrame(d), d = requestAnimationFrame($);
224
224
  }
225
- function R() {
225
+ function $() {
226
226
  if (a.value) {
227
- c.value = a.value.scrollTop, r = q();
228
- let g = N(c.value), b = g + r + o;
227
+ c.value = a.value.scrollTop, r = O();
228
+ let g = C(c.value), b = g + r + o;
229
229
  g = g - o, g = g < 0 ? 0 : g, b = b > v.value.length ? v.value.length : b, u.value = { start: g, end: b }, m.value = v.value.slice(g, b).map((A, H) => ({
230
230
  data: A,
231
231
  index: H + g
232
232
  }));
233
233
  }
234
234
  }
235
- function N(g) {
235
+ function C(g) {
236
236
  let b = 0, A = E.value.length - 1, H = -1;
237
237
  for (; b <= A; ) {
238
- const O = Math.floor((b + A) / 2);
239
- E.value[O].sum >= g ? (H = O, A = O - 1) : b = O + 1;
238
+ const R = Math.floor((b + A) / 2);
239
+ E.value[R].sum >= g ? (H = R, A = R - 1) : b = R + 1;
240
240
  }
241
241
  return Math.max(0, H);
242
242
  }
243
- function q() {
243
+ function O() {
244
244
  let g = 0, b = 0, A = k();
245
245
  for (let H = A; H < E.value.length && (g++, b += E.value[H].height, !(b >= s.height.value)); H++)
246
246
  ;
@@ -262,7 +262,7 @@ function At(e, t) {
262
262
  function ee(g) {
263
263
  if (a.value) {
264
264
  const b = X(g);
265
- a.value.scrollTop = b.sum - b.height, R();
265
+ a.value.scrollTop = b.sum - b.height, $();
266
266
  }
267
267
  }
268
268
  const se = S(() => ({
@@ -283,7 +283,7 @@ function At(e, t) {
283
283
  list: m,
284
284
  visiableList: T,
285
285
  getItemHeightData: X,
286
- getoffsetTopIndex: N,
286
+ getoffsetTopIndex: C,
287
287
  totalHeight: w,
288
288
  clientHeight: s.height,
289
289
  scrollTo: ee,
@@ -292,7 +292,7 @@ function At(e, t) {
292
292
  containerProps: {
293
293
  ref: a,
294
294
  onScroll: () => {
295
- D();
295
+ K();
296
296
  },
297
297
  style: te
298
298
  },
@@ -300,7 +300,7 @@ function At(e, t) {
300
300
  innerProps: Z
301
301
  };
302
302
  }
303
- const je = Symbol(), Ke = Symbol(), Ue = Symbol(), qe = Symbol(), Qe = Symbol(), Ye = Symbol(), Ge = Symbol(), Xe = Symbol(), Ze = Symbol();
303
+ const je = Symbol(), Ye = Symbol(), Ke = Symbol(), Ue = Symbol(), qe = Symbol(), Qe = Symbol(), Ge = Symbol(), Xe = Symbol(), Ze = Symbol();
304
304
  function wl() {
305
305
  const { voidFn: e, boolFn: t, boolRef: l, arrayRef: n } = {
306
306
  voidFn: (r) => {
@@ -308,7 +308,7 @@ function wl() {
308
308
  boolFn: (r) => !1,
309
309
  boolRef: S(() => !1),
310
310
  arrayRef: S(() => [])
311
- }, o = j(qe, n), a = j(Ue, t), s = j(Xe, l), i = j(Ke, e), f = j(je, e), d = j(Qe, e), v = j(Ye, e), c = j(Ge, e), u = j(Ze, e);
311
+ }, o = V(Ue, n), a = V(Ke, t), s = V(Xe, l), i = V(Ye, e), f = V(je, e), d = V(qe, e), v = V(Qe, e), c = V(Ge, e), u = V(Ze, e);
312
312
  return {
313
313
  selected: o,
314
314
  isSelected: a,
@@ -352,7 +352,7 @@ function bl(e, t) {
352
352
  function c() {
353
353
  o.value ? s() : a();
354
354
  }
355
- return z(je, c), z(Ke, v), z(Ue, d), z(qe, n), z(Qe, i), z(Ye, a), z(Ge, f), z(Xe, o), z(Ze, s), {
355
+ return z(je, c), z(Ye, v), z(Ke, d), z(Ue, n), z(qe, i), z(Qe, a), z(Ge, f), z(Xe, o), z(Ze, s), {
356
356
  selected: n,
357
357
  select: i,
358
358
  selectAll: a,
@@ -382,7 +382,7 @@ function Je({
382
382
  } = n();
383
383
  let i = {};
384
384
  const f = S(
385
- () => Te(t === "colum" ? Q : ae, 50)
385
+ () => Te(t === "colum" ? U : ae, 50)
386
386
  ), d = /* @__PURE__ */ new Set(), v = h(!0), c = h(), u = h(!1), r = h({ x: 0, y: 0 }), m = h({ x: 0, y: 0, scrollTop: 0 }), E = new ResizeObserver(
387
387
  (p) => y.value = p[0].target.getBoundingClientRect()
388
388
  ), y = h({}), w = h({
@@ -396,31 +396,31 @@ function Je({
396
396
  top: Math.min(r.value.y, m.value.y) - y.value.top,
397
397
  width: Math.abs(r.value.x - m.value.x),
398
398
  height: Math.abs(r.value.y - m.value.y)
399
- } : { left: 0, top: 0, width: 0, height: 0 }), { margin: F = 50, startSpeed: M = 30, maxSpeed: D = 30 } = l;
400
- let R;
401
- const N = F, q = M, G = D, X = (p) => p ** 1;
399
+ } : { left: 0, top: 0, width: 0, height: 0 }), { margin: F = 50, startSpeed: Q = 30, maxSpeed: K = 30 } = l;
400
+ let $;
401
+ const C = F, O = Q, G = K, X = (p) => p ** 1;
402
402
  let k = 0;
403
403
  function ee(p) {
404
- if (cancelAnimationFrame(R), k = se(p), k = Math.max(
404
+ if (cancelAnimationFrame($), k = se(p), k = Math.max(
405
405
  Math.min(k, G),
406
406
  -G
407
407
  ), k !== 0) {
408
408
  const _ = c.value;
409
409
  if (!_ || !u.value)
410
410
  return;
411
- const B = w.value.height - y.value.height;
412
- let x = w.value.top + Number(k);
413
- x = Math.min(Math.max(0, x), B), _.scrollTop = x, te(), R = requestAnimationFrame(() => ee(p));
411
+ const I = w.value.height - y.value.height;
412
+ let L = w.value.top + Number(k);
413
+ L = Math.min(Math.max(0, L), I), _.scrollTop = L, te(), $ = requestAnimationFrame(() => ee(p));
414
414
  }
415
415
  }
416
416
  function se(p) {
417
417
  if (c.value) {
418
- const B = y.value, x = B.bottom - p;
419
- if (x < N)
420
- return q * X(1 - x / N);
421
- const V = p - B.top;
422
- if (V < N)
423
- return -q * X(1 - V / N);
418
+ const I = y.value, L = I.bottom - p;
419
+ if (L < C)
420
+ return O * X(1 - L / C);
421
+ const N = p - I.top;
422
+ if (N < C)
423
+ return -O * X(1 - N / C);
424
424
  }
425
425
  return 0;
426
426
  }
@@ -436,22 +436,22 @@ function Je({
436
436
  m.value.y + p - m.value.scrollTop
437
437
  ), m.value.scrollTop = p;
438
438
  }
439
- function g(p, _, B = "dynamic-styles") {
440
- let x = document.getElementById(B);
441
- x || (x = document.createElement("style"), x.id = B, document.head.appendChild(x));
442
- const V = x.sheet.cssRules, ne = V.length, et = `${p} { ${_} }`;
439
+ function g(p, _, I = "dynamic-styles") {
440
+ let L = document.getElementById(I);
441
+ L || (L = document.createElement("style"), L.id = I, document.head.appendChild(L));
442
+ const N = L.sheet.cssRules, ne = N.length, et = `${p} { ${_} }`;
443
443
  for (let ve = 0; ve < ne; ve++) {
444
- const Se = V[ve];
444
+ const Se = N[ve];
445
445
  if (Se.selectorText === p && Se.style.cssText === _)
446
446
  return;
447
447
  }
448
- x.sheet.insertRule(et, ne);
448
+ L.sheet.insertRule(et, ne);
449
449
  }
450
450
  function b(p, _) {
451
451
  v.value = !0, u.value = !0, w.value.height ? w.value.sync() : w.value.sync(!0), r.value.x = p, r.value.y = _ + w.value.top, m.value.x = r.value.x, m.value.y = r.value.y, c.value?.classList.add("disable-scroll-behavior"), d.clear();
452
452
  }
453
- function A(p, _, B) {
454
- !u.value || (v.value && t === "colum" && !L() && (s(), v.value = !1), B?.(), ee(_), m.value.x = Math.max(p, y.value.left), m.value.y = Math.min(
453
+ function A(p, _, I) {
454
+ !u.value || (v.value && t === "colum" && !D() && (s(), v.value = !1), I?.(), ee(_), m.value.x = Math.max(p, y.value.left), m.value.y = Math.min(
455
455
  _ + w.value.top,
456
456
  w.value.height + y.value.top
457
457
  ), m.value.scrollTop = w.value.top, f.value());
@@ -459,32 +459,32 @@ function Je({
459
459
  function H() {
460
460
  u.value = !1, c.value?.classList.remove("disable-scroll-behavior");
461
461
  }
462
- function O() {
462
+ function R() {
463
463
  !u.value || (k || te(), f.value());
464
464
  }
465
- function L() {
465
+ function D() {
466
466
  if (!u.value)
467
467
  return !1;
468
468
  const { width: p, height: _ } = T.value;
469
469
  return !(Math.max(p, _) > 5);
470
470
  }
471
471
  function le() {
472
- L() && s();
472
+ D() && s();
473
473
  }
474
- function Q() {
475
- L() || c.value?.querySelectorAll(`[${e}]`).forEach((p) => {
474
+ function U() {
475
+ D() || c.value?.querySelectorAll(`[${e}]`).forEach((p) => {
476
476
  i[`${e}`] = p.getAttribute(`${e}`), Z(p.getBoundingClientRect()) ? o([i]) : a([i]);
477
477
  });
478
478
  }
479
479
  function ae() {
480
480
  const p = [];
481
- let _ = null, B = 0;
482
- c.value?.querySelectorAll(`[${e}]`).forEach((x, V) => {
483
- const ne = x.getAttribute(`${e}`);
484
- p.push(ne), Z(x.getBoundingClientRect()) ? (_ === null && (_ = V), _ = Math.min(_, V), B = Math.max(B, V)) : (i[`${e}`] = ne, d.has(ne) && a([i]));
481
+ let _ = null, I = 0;
482
+ c.value?.querySelectorAll(`[${e}]`).forEach((L, N) => {
483
+ const ne = L.getAttribute(`${e}`);
484
+ p.push(ne), Z(L.getBoundingClientRect()) ? (_ === null && (_ = N), _ = Math.min(_, N), I = Math.max(I, N)) : (i[`${e}`] = ne, d.has(ne) && a([i]));
485
485
  });
486
- for (let x = _; x < B + 1; x++)
487
- i[`${e}`] = p[x], o([i]), d.add(p[x]);
486
+ for (let L = _; L < I + 1; L++)
487
+ i[`${e}`] = p[L], o([i]), d.add(p[L]);
488
488
  }
489
489
  function re(p) {
490
490
  return !p?.value || (c.value = p.value, !c?.value) ? !1 : (E.observe(c.value), g(
@@ -497,8 +497,8 @@ function Je({
497
497
  dragStart: b,
498
498
  dragMove: A,
499
499
  dragEnd: H,
500
- onScroll: O,
501
- isSingleClick: L,
500
+ onScroll: R,
501
+ isSingleClick: D,
502
502
  cancelSelectAllBySingleClick: le,
503
503
  selectFn: f,
504
504
  selectRange: T,
@@ -519,9 +519,9 @@ function Sl(e) {
519
519
  top: `${n.value.top}px`,
520
520
  width: `${n.value.width}px`,
521
521
  height: `${n.value.height}px`
522
- })), v = U({
522
+ })), v = Y({
523
523
  render() {
524
- return Y("div", {
524
+ return q("div", {
525
525
  id: "selectBoxEl",
526
526
  class: "absolute z-50 bg-blue-200 opacity-50",
527
527
  style: d.value
@@ -543,7 +543,7 @@ function Sl(e) {
543
543
  throw "\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";
544
544
  if (!t.containerEl?.value)
545
545
  return !1;
546
- ue(Y(v), t.containerEl.value), t.containerEl.value?.addEventListener("scroll", o), t.containerEl.value?.addEventListener("mousedown", c), window.addEventListener("mousemove", u), window.addEventListener("mouseup", r);
546
+ ue(q(v), t.containerEl.value), t.containerEl.value?.addEventListener("scroll", o), t.containerEl.value?.addEventListener("mousedown", c), window.addEventListener("mousemove", u), window.addEventListener("mouseup", r);
547
547
  } catch (w) {
548
548
  console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25", w);
549
549
  }
@@ -596,7 +596,7 @@ function El(e, t, l = 600) {
596
596
  }
597
597
  return { init: m, unMount: E };
598
598
  }
599
- const Ft = Symbol(), kt = /* @__PURE__ */ U({
599
+ const Ft = Symbol(), kt = /* @__PURE__ */ Y({
600
600
  __name: "Dialog",
601
601
  props: {
602
602
  visiable: { type: Boolean, default: !1 },
@@ -608,14 +608,14 @@ const Ft = Symbol(), kt = /* @__PURE__ */ U({
608
608
  const l = e, n = () => {
609
609
  l.closeOnClickOverlay && t("update:visiable", !1);
610
610
  };
611
- return z(Ft, () => t("update:visiable", !1)), (o, a) => (I(), Me(He, { name: "modal" }, {
611
+ return z(Ft, () => t("update:visiable", !1)), (o, a) => (M(), Me(He, { name: "modal" }, {
612
612
  default: Pe(() => [
613
- e.visiable ? (I(), P("div", {
613
+ e.visiable ? (M(), P("div", {
614
614
  key: 0,
615
615
  onClick: n,
616
616
  class: "lzc-modal"
617
617
  }, [
618
- C("div", {
618
+ x("div", {
619
619
  onClick: a[0] || (a[0] = rt(() => {
620
620
  }, ["stop"])),
621
621
  class: Ae(["lzc-dialog", e.dialogClass])
@@ -638,7 +638,7 @@ function Cl(e) {
638
638
  function t(l, n) {
639
639
  const o = document.createElement("div"), a = {
640
640
  setup() {
641
- return () => Y(
641
+ return () => q(
642
642
  zt,
643
643
  {
644
644
  visiable: !0,
@@ -648,12 +648,12 @@ function Cl(e) {
648
648
  ...e
649
649
  },
650
650
  {
651
- default: () => Y(l, n)
651
+ default: () => q(l, n)
652
652
  }
653
653
  );
654
654
  }
655
655
  };
656
- return document.body.appendChild(o), ue(Y(a), o), {
656
+ return document.body.appendChild(o), ue(q(a), o), {
657
657
  close: () => o?.remove()
658
658
  };
659
659
  }
@@ -676,12 +676,12 @@ function xl({
676
676
  opacity: 0;
677
677
  animation: lzcDelayLoad 0s ${n} forwards;
678
678
  }`
679
- ), s = U({
679
+ ), s = Y({
680
680
  setup() {
681
681
  const d = Ct();
682
682
  return oe(() => {
683
683
  a(), d.value.classList.add("lzc-delay-loading");
684
- }), () => Y(e, t);
684
+ }), () => q(e, t);
685
685
  }
686
686
  });
687
687
  function i() {
@@ -692,15 +692,15 @@ function xl({
692
692
  }
693
693
  return { LoadingComp: s, loading: o, load: i, unload: f };
694
694
  }
695
- const Wt = {}, Nt = (e) => (ce("data-v-76a2728a"), e = e(), de(), e), Vt = /* @__PURE__ */ Nt(() => /* @__PURE__ */ C("div", { class: "ldio-mm5gwljcryb" }, [
696
- /* @__PURE__ */ C("div")
695
+ const Wt = {}, Nt = (e) => (ce("data-v-76a2728a"), e = e(), de(), e), Vt = /* @__PURE__ */ Nt(() => /* @__PURE__ */ x("div", { class: "ldio-mm5gwljcryb" }, [
696
+ /* @__PURE__ */ x("div")
697
697
  ], -1)), jt = [
698
698
  Vt
699
699
  ];
700
- function Kt(e, t) {
701
- return I(), P("div", he(pe(e.$attrs)), jt, 16);
700
+ function Yt(e, t) {
701
+ return M(), P("div", he(pe(e.$attrs)), jt, 16);
702
702
  }
703
- const Tl = /* @__PURE__ */ J(Wt, [["render", Kt], ["__scopeId", "data-v-76a2728a"]]), Ut = /* @__PURE__ */ U({
703
+ const Tl = /* @__PURE__ */ J(Wt, [["render", Yt], ["__scopeId", "data-v-76a2728a"]]), Kt = /* @__PURE__ */ Y({
704
704
  __name: "Toast",
705
705
  props: {
706
706
  message: null,
@@ -733,22 +733,22 @@ const Tl = /* @__PURE__ */ J(Wt, [["render", Kt], ["__scopeId", "data-v-76a2728a
733
733
  }));
734
734
  return _e(() => {
735
735
  n.value = l.value.offsetWidth / 2, o.value = l.value.offsetHeight / 2;
736
- }), (f, d) => (I(), P("div", {
736
+ }), (f, d) => (M(), P("div", {
737
737
  id: "toastWrapper",
738
738
  ref_key: "toastWrapper",
739
739
  ref: l,
740
740
  class: "toastWrapper",
741
- style: W([$(s), { zIndex: 9999 }])
741
+ style: W([B(s), { zIndex: 9999 }])
742
742
  }, [
743
- C("div", {
744
- style: W($(i))
743
+ x("div", {
744
+ style: W(B(i))
745
745
  }, [
746
- C("span", null, Fe(e.message), 1)
746
+ x("span", null, Fe(e.message), 1)
747
747
  ], 4)
748
748
  ], 4));
749
749
  }
750
750
  });
751
- const qt = /* @__PURE__ */ J(Ut, [["__scopeId", "data-v-15ab4094"]]), Re = {
751
+ const Ut = /* @__PURE__ */ J(Kt, [["__scopeId", "data-v-15ab4094"]]), Re = {
752
752
  message: "\u61D2\u732B\u4E91 Yes!!!",
753
753
  position: "middle",
754
754
  duration: 1500
@@ -760,7 +760,7 @@ class Ll {
760
760
  this.options = t, this.container = document.createElement("div");
761
761
  }
762
762
  present() {
763
- const t = Y(Y(qt), { ...Re, ...this.options });
763
+ const t = q(q(Ut), { ...Re, ...this.options });
764
764
  ue(t, this.container), document.body.insertBefore(this.container, document.body.firstChild);
765
765
  const l = this.options.duration || Re.duration;
766
766
  setTimeout(() => {
@@ -778,7 +778,7 @@ class Ll {
778
778
  }
779
779
  }
780
780
  }
781
- const Qt = ["xlink:href", "fill", "color"], Ol = /* @__PURE__ */ U({
781
+ const qt = ["xlink:href", "fill", "color"], Ol = /* @__PURE__ */ Y({
782
782
  __name: "SvgIcon",
783
783
  props: {
784
784
  name: null,
@@ -793,19 +793,19 @@ const Qt = ["xlink:href", "fill", "color"], Ol = /* @__PURE__ */ U({
793
793
  height: `${t.height ?? t.width}px`,
794
794
  aspectRatio: t.width && t.height ? void 0 : "1/1"
795
795
  }));
796
- return (o, a) => (I(), P("svg", {
796
+ return (o, a) => (M(), P("svg", {
797
797
  "aria-hidden": "",
798
- style: W($(n))
798
+ style: W(B(n))
799
799
  }, [
800
- C("use", {
801
- "xlink:href": $(l),
800
+ x("use", {
801
+ "xlink:href": B(l),
802
802
  fill: e.color,
803
803
  color: e.color
804
- }, null, 8, Qt)
804
+ }, null, 8, qt)
805
805
  ], 4));
806
806
  }
807
807
  });
808
- function Yt(e) {
808
+ function Qt(e) {
809
809
  const {
810
810
  containerEl: t,
811
811
  sliderEl: l,
@@ -824,28 +824,28 @@ function Yt(e) {
824
824
  }), E = S(() => !!c.value), y = S(() => r.value.scrollHeight > r.value.clientHeight), w = S(() => r.value.clientHeight - m.value.clientHeight), T = S(() => r.value.scrollHeight - r.value.clientHeight), F = S(() => Math.max(
825
825
  r.value.clientHeight / r.value.scrollHeight,
826
826
  0.05
827
- )), M = S(() => F.value > a ? 0 : F.value * r.value.clientHeight), D = S(() => ({
827
+ )), Q = S(() => F.value > a ? 0 : F.value * r.value.clientHeight), K = S(() => ({
828
828
  willChange: "transform",
829
829
  transform: `translate3d(0,${u.value}px,0)`,
830
- height: n ? `${M.value}px` : void 0
830
+ height: n ? `${Q.value}px` : void 0
831
831
  }));
832
- function R(O) {
833
- q(), c.value = O.clientY - l.value.getBoundingClientRect().top || 1, d = getComputedStyle(t.value).scrollBehavior, d === "smooth" && (t.value.style.scrollBehavior = "unset");
832
+ function $(R) {
833
+ O(), c.value = R.clientY - l.value.getBoundingClientRect().top || 1, d = getComputedStyle(t.value).scrollBehavior, d === "smooth" && (t.value.style.scrollBehavior = "unset");
834
834
  }
835
- function N() {
835
+ function C() {
836
836
  t.value.style.scrollBehavior = d, c.value = 0, i();
837
837
  }
838
- function q() {
838
+ function O() {
839
839
  s.value = !1;
840
840
  }
841
841
  function G() {
842
842
  E.value || (s.value = !0);
843
843
  }
844
- function X(O) {
844
+ function X(R) {
845
845
  if (!E.value)
846
846
  return;
847
- let L = O.clientY - r.value.top - c.value;
848
- L < 0 ? u.value = 0 : L >= w.value ? u.value = w.value : u.value = L, t.value.scrollTo({
847
+ let D = R.clientY - r.value.top - c.value;
848
+ D < 0 ? u.value = 0 : D >= w.value ? u.value = w.value : u.value = D, t.value.scrollTo({
849
849
  top: u.value / w.value * T.value
850
850
  });
851
851
  }
@@ -858,33 +858,33 @@ function Yt(e) {
858
858
  function se() {
859
859
  t.value && (v.value = o.scrollTop?.value ?? t.value.scrollTop, u.value = v.value / T.value * w.value);
860
860
  }
861
- function Z(O) {
862
- let L = "addEventListener";
863
- O === "add" ? L = "addEventListener" : L = "removeEventListener", l.value?.[L]("pointerdown", R, {
861
+ function Z(R) {
862
+ let D = "addEventListener";
863
+ R === "add" ? D = "addEventListener" : D = "removeEventListener", l.value?.[D]("pointerdown", $, {
864
864
  passive: !0
865
- }), window[L]("pointermove", X, { passive: !0 }), window[L]("pointerup", N, { passive: !0 });
865
+ }), window[D]("pointermove", X, { passive: !0 }), window[D]("pointerup", C, { passive: !0 });
866
866
  }
867
- const te = new MutationObserver((O) => {
868
- O.map((le) => le.oldValue).join().includes("height") && g();
867
+ const te = new MutationObserver((R) => {
868
+ R.map((le) => le.oldValue).join().includes("height") && g();
869
869
  });
870
870
  function g() {
871
871
  r.value.top = t.value?.getBoundingClientRect().top ?? 0, r.value.scrollHeight = t.value?.scrollHeight ?? 0, r.value.clientHeight = t.value?.clientHeight ?? 0;
872
872
  }
873
873
  function b() {
874
- q(), setTimeout(() => {
874
+ O(), setTimeout(() => {
875
875
  m.value.clientHeight = l.value?.clientHeight ?? 0, G();
876
876
  }, 150);
877
877
  }
878
- function A(O, L, le = "dynamic-styles") {
879
- let Q = document.getElementById(le);
880
- Q || (Q = document.createElement("style"), Q.id = le, document.head.appendChild(Q));
881
- const ae = Q.sheet.cssRules, re = ae.length, p = `${O} { ${L} }`;
878
+ function A(R, D, le = "dynamic-styles") {
879
+ let U = document.getElementById(le);
880
+ U || (U = document.createElement("style"), U.id = le, document.head.appendChild(U));
881
+ const ae = U.sheet.cssRules, re = ae.length, p = `${R} { ${D} }`;
882
882
  for (let _ = 0; _ < re; _++) {
883
- const B = ae[_];
884
- if (B.selectorText === O && B.style.cssText === L)
883
+ const I = ae[_];
884
+ if (I.selectorText === R && I.style.cssText === D)
885
885
  return;
886
886
  }
887
- Q.sheet.insertRule(p, re);
887
+ U.sheet.insertRule(p, re);
888
888
  }
889
889
  function H() {
890
890
  t.value && l.value ? (A(
@@ -900,20 +900,20 @@ function Yt(e) {
900
900
  g();
901
901
  }, 100), b()) : console.error("useScrollBar:", "\u521D\u59CB\u5316\u5931\u8D25!", { containerEl: t, sliderEl: l });
902
902
  }
903
- return K(v, () => {
904
- q(), i();
903
+ return j(v, () => {
904
+ O(), i();
905
905
  }), {
906
906
  isScrollEnd: s,
907
907
  isDragSlider: E,
908
908
  offsetTop: u,
909
909
  scrollTop: v,
910
910
  scrollable: y,
911
- sliderPos: D,
911
+ sliderPos: K,
912
912
  init: H,
913
913
  modifySliderEventListener: Z
914
914
  };
915
915
  }
916
- const Gt = (e) => (ce("data-v-edec7292"), e = e(), de(), e), Xt = /* @__PURE__ */ Gt(() => /* @__PURE__ */ C("div", { class: "default-slider" }, null, -1)), Zt = /* @__PURE__ */ U({
916
+ const Gt = (e) => (ce("data-v-edec7292"), e = e(), de(), e), Xt = /* @__PURE__ */ Gt(() => /* @__PURE__ */ x("div", { class: "default-slider" }, null, -1)), Zt = /* @__PURE__ */ Y({
917
917
  __name: "ScrollBar",
918
918
  props: {
919
919
  containerEl: null,
@@ -922,7 +922,7 @@ const Gt = (e) => (ce("data-v-edec7292"), e = e(), de(), e), Xt = /* @__PURE__ *
922
922
  performance: null
923
923
  },
924
924
  setup(e, { expose: t }) {
925
- const l = e, n = !!it().default, o = h(null), a = S(() => l.containerEl), s = Yt({
925
+ const l = e, n = !!it().default, o = h(null), a = S(() => l.containerEl), s = Qt({
926
926
  containerEl: a,
927
927
  sliderEl: o,
928
928
  autoHeight: n ? l.autoHeight : !0,
@@ -941,34 +941,34 @@ const Gt = (e) => (ce("data-v-edec7292"), e = e(), de(), e), Xt = /* @__PURE__ *
941
941
  function r() {
942
942
  v.value = !1;
943
943
  }
944
- return t({ uScrollBarReturn: s }), (m, E) => (I(), Me(He, null, {
944
+ return t({ uScrollBarReturn: s }), (m, E) => (M(), Me(He, null, {
945
945
  default: Pe(() => [
946
- ct(C("div", {
946
+ ct(x("div", {
947
947
  ref_key: "sliderRef",
948
948
  ref: o,
949
949
  class: "slider-wrapper",
950
950
  onMouseenter: u,
951
951
  onMouseleave: r,
952
- style: W($(d))
952
+ style: W(B(d))
953
953
  }, [
954
954
  ye(m.$slots, "default", {}, () => [
955
955
  Xt
956
956
  ], !0)
957
957
  ], 36), [
958
- [dt, $(c)]
958
+ [dt, B(c)]
959
959
  ])
960
960
  ]),
961
961
  _: 3
962
962
  }));
963
963
  }
964
964
  });
965
- const $l = /* @__PURE__ */ J(Zt, [["__scopeId", "data-v-edec7292"]]), Jt = (e) => (ce("data-v-9bfa9cae"), e = e(), de(), e), el = { class: "pull-refresh" }, tl = {
965
+ const $l = /* @__PURE__ */ J(Zt, [["__scopeId", "data-v-edec7292"]]), Jt = (e) => (ce("data-v-3d9ba957"), e = e(), de(), e), el = { class: "pull-refresh" }, tl = {
966
966
  key: 0,
967
967
  class: "pull-arrow-circle"
968
968
  }, ll = {
969
969
  key: 0,
970
970
  class: "box-load"
971
- }, nl = { class: "left-load" }, ol = { class: "right-load" }, sl = /* @__PURE__ */ Jt(() => /* @__PURE__ */ C("div", { class: "among-load" }, null, -1)), al = { class: "pull-arrow" }, rl = { key: 1 }, ul = /* @__PURE__ */ U({
971
+ }, nl = { class: "left-load" }, ol = { class: "right-load" }, sl = /* @__PURE__ */ Jt(() => /* @__PURE__ */ x("div", { class: "among-load" }, null, -1)), al = { class: "pull-arrow" }, rl = { key: 1 }, ul = /* @__PURE__ */ Y({
972
972
  __name: "PullRefresh",
973
973
  props: {
974
974
  refresh: null,
@@ -986,67 +986,70 @@ const $l = /* @__PURE__ */ J(Zt, [["__scopeId", "data-v-edec7292"]]), Jt = (e) =
986
986
  transform: `rotate(${100 + s.value}deg)`,
987
987
  opacity: i.value
988
988
  }));
989
- K(r, (D) => {
990
- D === 0 && (o.value = -50, i.value = 0.3);
991
- }), K(v, (D) => {
989
+ j(r, (C) => {
990
+ C === 0 && (o.value = -50, i.value = 0.3);
991
+ }), j(v, (C) => {
992
992
  if (r.value === 2)
993
993
  return;
994
- const R = Math.pow(D, l);
995
- R === 0 && (o.value = -50), R <= 50 && R > 0 && (o.value = R - 45, s.value = Math.pow(R, 1.5), R > 15 ? f.value = !0 : f.value = !1), R > 50 && (o.value = 5, i.value = 1, r.value);
994
+ const O = Math.pow(C, l);
995
+ O === 0 && (o.value = -50), O <= 50 && O > 0 && (o.value = O - 45, s.value = Math.pow(O, 1.5), O > 15 ? f.value = !0 : f.value = !1), O > 50 && (o.value = 5, i.value = 1, r.value);
996
996
  });
997
- const T = (D) => {
998
- t.refreshOff || !t?.refresh || r.value !== 2 && E.value === 0 && (d.value === 0 && (d.value = D.touches[0].pageY), c.value = 0, M.value.style.transition = `${c.value}ms`, u.value = 0, v.value = D.touches[0].pageY - d.value, M.value.style.transform = `translate3d(0, ${Math.pow(v.value, l)}px, 0)`);
999
- }, F = () => {
997
+ const T = h(0), F = (C) => {
998
+ T.value = C.touches[0].pageY;
999
+ }, Q = (C) => {
1000
+ const O = C.touches[0].pageY - T.value;
1001
+ T.value = C.touches[0].pageY, !t.refreshOff && (!t?.refresh || r.value !== 2 && E.value === 0 && (d.value === 0 && (d.value = C.touches[0].pageY), c.value = 0, $.value.style.transition = `${c.value}ms`, u.value = 0, v.value = C.touches[0].pageY - d.value, $.value.style.transform = `translate3d(0, ${Math.pow(v.value, l)}px, 0)`, O > 0 && C.preventDefault()));
1002
+ }, K = () => {
1000
1003
  if (t.refreshOff || !t?.refresh || r.value === 2)
1001
1004
  return;
1002
1005
  d.value = 0, c.value = 300;
1003
- const D = Math.pow(v.value, l);
1004
- M.value.style.transition = `${c.value}ms`, D > 50 ? (r.value = 2, v.value = Math.pow(50, 1 / l), M.value.style.transform = `translate3d(0, ${Math.pow(v.value, l)}px, 0)`, u.value = 300, t?.refresh && t?.refresh().then(() => {
1006
+ const C = Math.pow(v.value, l);
1007
+ $.value.style.transition = `${c.value}ms`, C > 50 ? (r.value = 2, v.value = Math.pow(50, 1 / l), $.value.style.transform = `translate3d(0, ${Math.pow(v.value, l)}px, 0)`, u.value = 300, t?.refresh && t?.refresh().then(() => {
1005
1008
  m.value = "\u5237\u65B0\u6210\u529F";
1006
1009
  }).catch(() => {
1007
1010
  m.value = "\u5237\u65B0\u5931\u8D25";
1008
1011
  }).finally(() => {
1009
1012
  setTimeout(() => {
1010
- r.value = 0, v.value = 0, M.value.style.transform = `translate3d(0, ${Math.pow(
1013
+ r.value = 0, v.value = 0, $.value.style.transform = `translate3d(0, ${Math.pow(
1011
1014
  v.value,
1012
1015
  l
1013
1016
  )}px, 0)`, setTimeout(() => {
1014
1017
  m.value = void 0;
1015
1018
  }, u.value);
1016
1019
  }, 600);
1017
- })) : (v.value = 0, M.value.style.transform = `translate3d(0, ${Math.pow(v.value, l)}px, 0)`);
1018
- }, M = h(null);
1020
+ })) : (v.value = 0, $.value.style.transform = `translate3d(0, ${Math.pow(v.value, l)}px, 0)`);
1021
+ }, $ = h(null);
1019
1022
  return oe(() => {
1020
- M.value = document.querySelector(
1023
+ $.value = document.querySelector(
1021
1024
  t.pullRefreshContainer
1022
- ), M.value.addEventListener("touchmove", T), M.value.addEventListener("touchend", F);
1023
- }), (D, R) => (I(), P("div", el, [
1024
- C("div", {
1025
+ ), $.value.addEventListener("touchstart", F), $.value.addEventListener("touchmove", Q), $.value.addEventListener("touchend", K);
1026
+ }), (C, O) => (M(), P("div", el, [
1027
+ x("div", {
1025
1028
  class: "pull-refresh-box",
1026
- style: W($(y))
1029
+ style: W(B(y))
1027
1030
  }, [
1028
- m.value ? (I(), P("div", rl, Fe(m.value), 1)) : (I(), P("div", tl, [
1029
- r.value == 2 ? (I(), P("div", ll, [
1030
- C("div", nl, [
1031
- C("div", {
1031
+ m.value ? (M(), P("div", rl, Fe(m.value), 1)) : (M(), P("div", tl, [
1032
+ r.value == 2 ? (M(), P("div", ll, [
1033
+ x("div", nl, [
1034
+ x("div", {
1032
1035
  class: "left-circle",
1033
1036
  style: W({ backgroundColor: n })
1034
1037
  }, null, 4)
1035
1038
  ]),
1036
- C("div", ol, [
1037
- C("div", {
1039
+ x("div", ol, [
1040
+ x("div", {
1038
1041
  class: "right-circle",
1039
1042
  style: W({ backgroundColor: n })
1040
1043
  }, null, 4)
1041
1044
  ]),
1042
1045
  sl
1043
- ])) : (I(), P("div", {
1046
+ ])) : (M(), P("div", {
1044
1047
  key: 1,
1045
1048
  class: "pull-circle-line",
1046
- style: W($(w))
1049
+ style: W(B(w))
1047
1050
  }, [
1048
- C("div", al, [
1049
- C("div", {
1051
+ x("div", al, [
1052
+ x("div", {
1050
1053
  class: Ae(["arrows", { opacity: f.value }]),
1051
1054
  style: W({ borderBottomColor: n })
1052
1055
  }, null, 6)
@@ -1057,9 +1060,9 @@ const $l = /* @__PURE__ */ J(Zt, [["__scopeId", "data-v-edec7292"]]), Jt = (e) =
1057
1060
  ]));
1058
1061
  }
1059
1062
  });
1060
- const il = /* @__PURE__ */ J(ul, [["__scopeId", "data-v-9bfa9cae"]]), cl = {
1063
+ const il = /* @__PURE__ */ J(ul, [["__scopeId", "data-v-3d9ba957"]]), cl = {
1061
1064
  inheritAttrs: !1
1062
- }, dl = /* @__PURE__ */ U({
1065
+ }, dl = /* @__PURE__ */ Y({
1063
1066
  ...cl,
1064
1067
  __name: "VirtualList",
1065
1068
  props: {
@@ -1089,28 +1092,28 @@ const il = /* @__PURE__ */ J(ul, [["__scopeId", "data-v-9bfa9cae"]]), cl = {
1089
1092
  vListReturn: o
1090
1093
  });
1091
1094
  const c = "virtualListWrapper" + new Date().getTime();
1092
- return (u, r) => (I(), P(Ee, null, [
1095
+ return (u, r) => (M(), P(Ee, null, [
1093
1096
  ft(il, {
1094
1097
  refresh: e.refresh,
1095
1098
  refreshOff: e.refreshOff,
1096
- scrollTop: $(v),
1099
+ scrollTop: B(v),
1097
1100
  pullRefreshContainer: "#" + c
1098
1101
  }, null, 8, ["refresh", "refreshOff", "scrollTop", "pullRefreshContainer"]),
1099
- C("div", {
1102
+ x("div", {
1100
1103
  class: "virtualListWrapper",
1101
1104
  id: c
1102
1105
  }, [
1103
- C("div", ht({
1104
- onScrollPassive: r[0] || (r[0] = (...m) => $(s).onScroll && $(s).onScroll(...m)),
1105
- ref: $(s).ref,
1106
+ x("div", ht({
1107
+ onScrollPassive: r[0] || (r[0] = (...m) => B(s).onScroll && B(s).onScroll(...m)),
1108
+ ref: B(s).ref,
1106
1109
  class: "virtualList"
1107
1110
  }, u.$attrs), [
1108
- C("div", he(pe($(i))), [
1109
- C("div", he(pe($(f))), [
1110
- (I(!0), P(Ee, null, pt($(a), ({ index: m, data: E }) => (I(), P("div", {
1111
+ x("div", he(pe(B(i))), [
1112
+ x("div", he(pe(B(f))), [
1113
+ (M(!0), P(Ee, null, pt(B(a), ({ index: m, data: E }) => (M(), P("div", {
1111
1114
  key: m,
1112
1115
  style: W({
1113
- height: `${$(d)(m).height}px`,
1116
+ height: `${B(d)(m).height}px`,
1114
1117
  display: "flex"
1115
1118
  })
1116
1119
  }, [
@@ -1126,14 +1129,14 @@ const il = /* @__PURE__ */ J(ul, [["__scopeId", "data-v-9bfa9cae"]]), cl = {
1126
1129
  ], 64));
1127
1130
  }
1128
1131
  });
1129
- const Dl = /* @__PURE__ */ J(dl, [["__scopeId", "data-v-e0fb787f"]]), be = (e) => (ce("data-v-40e00f20"), e = e(), de(), e), vl = { style: { position: "absolute" } }, fl = /* @__PURE__ */ be(() => /* @__PURE__ */ C("div", { class: "wrapper" }, null, -1)), hl = ["width", "height"], pl = /* @__PURE__ */ be(() => /* @__PURE__ */ C("title", null, "logo", -1)), ml = /* @__PURE__ */ be(() => /* @__PURE__ */ C("g", {
1132
+ const Dl = /* @__PURE__ */ J(dl, [["__scopeId", "data-v-e0fb787f"]]), be = (e) => (ce("data-v-40e00f20"), e = e(), de(), e), vl = { style: { position: "absolute" } }, fl = /* @__PURE__ */ be(() => /* @__PURE__ */ x("div", { class: "wrapper" }, null, -1)), hl = ["width", "height"], pl = /* @__PURE__ */ be(() => /* @__PURE__ */ x("title", null, "logo", -1)), ml = /* @__PURE__ */ be(() => /* @__PURE__ */ x("g", {
1130
1133
  id: "group-1",
1131
1134
  stroke: "none",
1132
1135
  "stroke-width": "1",
1133
1136
  fill: "none",
1134
1137
  "fill-rule": "evenodd"
1135
1138
  }, [
1136
- /* @__PURE__ */ C("path", {
1139
+ /* @__PURE__ */ x("path", {
1137
1140
  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",
1138
1141
  id: "path-1",
1139
1142
  fill: "#FFF"
@@ -1141,7 +1144,7 @@ const Dl = /* @__PURE__ */ J(dl, [["__scopeId", "data-v-e0fb787f"]]), be = (e) =
1141
1144
  ], -1)), gl = [
1142
1145
  pl,
1143
1146
  ml
1144
- ], _l = /* @__PURE__ */ U({
1147
+ ], _l = /* @__PURE__ */ Y({
1145
1148
  __name: "Loading",
1146
1149
  props: {
1147
1150
  width: { default: "90" },
@@ -1154,9 +1157,9 @@ const Dl = /* @__PURE__ */ J(dl, [["__scopeId", "data-v-e0fb787f"]]), be = (e) =
1154
1157
  "703ef503": l
1155
1158
  }));
1156
1159
  const l = `${t.duration}ms`;
1157
- return (n, o) => (I(), P("div", vl, [
1160
+ return (n, o) => (M(), P("div", vl, [
1158
1161
  fl,
1159
- (I(), P("svg", {
1162
+ (M(), P("svg", {
1160
1163
  style: { position: "relative" },
1161
1164
  width: e.width,
1162
1165
  height: e.height,
@@ -1176,15 +1179,15 @@ export {
1176
1179
  Ol as SvgIcon,
1177
1180
  Ll as ToastCreator,
1178
1181
  Dl as VirtualList,
1179
- qe as allSelectedKey,
1182
+ Ue as allSelectedKey,
1180
1183
  Ft as closeDialogKey,
1181
1184
  Cl as dialogController,
1182
1185
  Xe as isAllSelectedKey,
1183
- Ue as isSelectedKey,
1184
- Ye as selectAllKey,
1185
- Qe as selectKey,
1186
+ Ke as isSelectedKey,
1187
+ Qe as selectAllKey,
1188
+ qe as selectKey,
1186
1189
  je as toggleAllKey,
1187
- Ke as toggleKey,
1190
+ Ye as toggleKey,
1188
1191
  Ze as unselectAllKey,
1189
1192
  Ge as unselectKey,
1190
1193
  xl as useDelayLoad,
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(w,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(w=typeof globalThis<"u"?globalThis:w||self,e(w.ui={},w.Vue))})(this,function(w,e){"use strict";var he;const Z=typeof window<"u",me=t=>typeof t=="function";Z&&((he=window?.navigator)==null?void 0:he.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Y(t){return typeof t=="function"?t():e.unref(t)}function ge(t,n){function o(...l){t(()=>n.apply(this,l),{fn:n,thisArg:this,args:l})}return o}function $e(t,n={}){let o,l;return s=>{const a=Y(t),u=Y(n.maxWait);if(o&&clearTimeout(o),a<=0||u!==void 0&&u<=0)return l&&(clearTimeout(l),l=null),s();u&&!l&&(l=setTimeout(()=>{o&&clearTimeout(o),l=null,s()},u)),o=setTimeout(()=>{l&&clearTimeout(l),l=null,s()},a)}}function Re(t,n=!0,o=!0){let l=0,r,s=!0;const a=()=>{r&&(clearTimeout(r),r=void 0)};return h=>{const f=Y(t),p=Date.now()-l;if(a(),f<=0)return l=Date.now(),h();p>f&&(o||!s)?(l=Date.now(),h()):n&&(r=setTimeout(()=>{l=Date.now(),s=!0,a(),h()},f)),!o&&!r&&(r=setTimeout(()=>s=!0,f)),s=!1}}function Ie(t){return t}function Me(t,n){let o,l,r;const s=e.ref(!0),a=()=>{s.value=!0,r()};e.watch(t,a,{flush:"sync"});const u=me(n)?n:n.get,h=me(n)?void 0:n.set,f=e.customRef((p,d)=>(l=p,r=d,{get(){return s.value&&(o=u(),s.value=!1),l(),o},set(c){h?.(c)}}));return Object.isExtensible(f)&&(f.trigger=a),f}function ve(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function ye(t,n=200,o={}){return ge($e(n,o),t)}function _e(t,n=200,o=!1,l=!0){return ge(Re(n,o,l),t)}function Ee(t,n=!0){e.getCurrentInstance()?e.onMounted(t):n?t():e.nextTick(t)}function Se(t){var n;const o=Y(t);return(n=o?.$el)!=null?n:o}const ke=Z?window:void 0,Pe=Z?window.document:void 0;function Ae(t,n=!1){const o=e.ref(),l=()=>o.value=Boolean(t());return l(),Ee(l,n),o}const J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ee="__vueuse_ssr_handlers__";J[ee]=J[ee]||{},J[ee];function He(){const t=e.getCurrentInstance(),n=Me(()=>null,()=>t.proxy.$el);return e.onUpdated(n.trigger),e.onMounted(n.trigger),n}var we=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ne=(t,n)=>{var o={};for(var l in t)Fe.call(t,l)&&n.indexOf(l)<0&&(o[l]=t[l]);if(t!=null&&we)for(var l of we(t))n.indexOf(l)<0&&Ve.call(t,l)&&(o[l]=t[l]);return o};function ze(t,n,o={}){const l=o,{window:r=ke}=l,s=Ne(l,["window"]);let a;const u=Ae(()=>r&&"ResizeObserver"in r),h=()=>{a&&(a.disconnect(),a=void 0)},f=e.watch(()=>Se(t),d=>{h(),u.value&&r&&d&&(a=new ResizeObserver(n),a.observe(d,s))},{immediate:!0,flush:"post"}),p=()=>{h(),f()};return ve(p),{isSupported:u,stop:p}}function je(t,n={width:0,height:0},o={}){const{box:l="content-box"}=o,r=e.ref(n.width),s=e.ref(n.height);return ze(t,([a])=>{const u=l==="border-box"?a.borderBoxSize:l==="content-box"?a.contentBoxSize:a.devicePixelContentBoxSize;u?(r.value=u.reduce((h,{inlineSize:f})=>h+f,0),s.value=u.reduce((h,{blockSize:f})=>h+f,0)):(r.value=a.contentRect.width,s.value=a.contentRect.height)},o),e.watch(()=>Se(t),a=>{r.value=a?n.width:0,s.value=a?n.height:0}),{width:r,height:s}}var be;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(be||(be={}));let Ke=0;function We(t,n={}){const o=e.ref(!1),{document:l=Pe,immediate:r=!0,manual:s=!1,id:a=`vueuse_styletag_${++Ke}`}=n,u=e.ref(t);let h=()=>{};const f=()=>{if(!l)return;const d=l.getElementById(a)||l.createElement("style");d.type="text/css",d.id=a,n.media&&(d.media=n.media),l.head.appendChild(d),!o.value&&(h=e.watch(u,c=>{d.innerText=c},{immediate:!0}),o.value=!0)},p=()=>{!l||!o.value||(h(),l.head.removeChild(l.getElementById(a)),o.value=!1)};return r&&!s&&Ee(f),s||ve(p),{id:a,css:u,unload:p,load:f,isLoaded:e.readonly(o)}}var Ue=Object.defineProperty,Ce=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Te=(t,n,o)=>n in t?Ue(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,Ye=(t,n)=>{for(var o in n||(n={}))qe.call(n,o)&&Te(t,o,n[o]);if(Ce)for(var o of Ce(n))Qe.call(n,o)&&Te(t,o,n[o]);return t};Ye({linear:Ie},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});function Le(t,n){const{scrollEndHook:o,itemHeight:l,overscan:r=5}=n,s=e.ref(null),a=je(s),u=e.ref(!0),h=ye($,100);let f;const p=e.shallowRef(t),d=e.ref(0),c=e.ref({start:0,end:10});let i=0;const g=e.ref([]),b=e.computed(()=>{let{sum:v,height:S}={sum:0,height:0};return p.value.map((I,R)=>(typeof l=="number"?S=l:S=l(R),v+=S,{height:S,sum:v}))}),_=e.computed(()=>N(c.value.start)),E=e.computed(()=>typeof l=="number"?b.value.length*l:b.value[b.value.length-1]?.sum||0),T=e.computed(()=>{let v=g.value.length-r,S=Math.max(v-i,0);return g.value.slice(S,v)});e.onMounted(()=>{}),e.onUnmounted(()=>cancelAnimationFrame(f)),e.watch([a.width,a.height,p],([v,S])=>{(v||S)&&x()},{deep:!0}),e.watch(d,()=>{M(),h()});function M(){u.value=!1}function $(){u.value=!0,o?.()}function x(){cancelAnimationFrame(f),f=requestAnimationFrame(D)}function D(){if(s.value){d.value=s.value.scrollTop,i=H();let v=P(d.value),S=v+i+r;v=v-r,v=v<0?0:v,S=S>p.value.length?p.value.length:S,c.value={start:v,end:S},g.value=p.value.slice(v,S).map((I,R)=>({data:I,index:R+v}))}}function P(v){let S=0,I=b.value.length-1,R=-1;for(;S<=I;){const B=Math.floor((S+I)/2);b.value[B].sum>=v?(R=B,I=B-1):S=B+1}return Math.max(0,R)}function H(){let v=0,S=0,I=k();for(let R=I;R<b.value.length&&(v++,S+=b.value[R].height,!(S>=a.height.value));R++);return v}function N(v){if(typeof l=="number")return v*l;let S=b.value[v];return S?S.sum-S.height:0}function z(v){return b.value[v]||{sum:0,height:0}}function k(){let v=c.value.start;return v>=r&&(v+=r),v}function K(v){if(s.value){const S=z(v);s.value.scrollTop=S.sum-S.height,D()}}const Q=e.computed(()=>({style:{width:"100%",height:`${E.value}px`,pointerEvents:u.value?void 0:"none"}})),j=e.computed(()=>({style:{transform:`translate3d(0, ${_.value}px, 0)`,"will-change":"transform"}})),W={overflowY:"auto"};return{list:g,visiableList:T,getItemHeightData:z,getoffsetTopIndex:P,totalHeight:E,clientHeight:a.height,scrollTo:K,scrollTop:d,isScrollEnd:u,containerProps:{ref:s,onScroll:()=>{x()},style:W},wrapperProps:Q,innerProps:j}}const te=Symbol(),ne=Symbol(),oe=Symbol(),le=Symbol(),re=Symbol(),ae=Symbol(),se=Symbol(),ie=Symbol(),ce=Symbol();function Ge(){const{voidFn:t,boolFn:n,boolRef:o,arrayRef:l}={voidFn:i=>{},boolFn:i=>!1,boolRef:e.computed(()=>!1),arrayRef:e.computed(()=>[])},r=e.inject(le,l),s=e.inject(oe,n),a=e.inject(ie,o),u=e.inject(ne,t),h=e.inject(te,t),f=e.inject(re,t),p=e.inject(ae,t),d=e.inject(se,t),c=e.inject(ce,t);return{selected:r,isSelected:s,isAllSelected:a,toggle:u,toggleAll:h,select:f,selectAll:p,unselect:d,unselectAll:c}}function Xe(t,n){const o=e.ref({}),l=e.computed(()=>t.value.filter(c=>o.value[c[n]])),r=e.computed(()=>l.value.length!=0&&Object.keys(o.value).length==t.value.length);function s(){t.value.forEach(c=>{o.value[c[n]]=!0})}function a(){o.value={}}function u(c){c.forEach(i=>{o.value[i[n]]||(o.value[i[n]]=!0)})}function h(c){c.forEach(i=>{o.value[i[n]]&&delete o.value[i[n]]})}function f(c){return!!o.value[c[n]]}function p(c){c.forEach(i=>{f(i)?delete o.value[i[n]]:o.value[i[n]]=!0})}function d(){r.value?a():s()}return e.provide(te,d),e.provide(ne,p),e.provide(oe,f),e.provide(le,l),e.provide(re,u),e.provide(ae,s),e.provide(se,h),e.provide(ie,r),e.provide(ce,a),{selected:l,select:u,selectAll:s,unselect:h,unselectAll:a,toggle:p,toggleAll:d,isSelected:f,isAllSelected:r}}function ue(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:r=ue("\u9009\u62E9"),unselect:s=ue("\u53D6\u6D88\u9009\u62E9"),unselectAll:a=ue("\u53D6\u6D88\u5168\u9009")}=l();let u={};const h=e.computed(()=>_e(n==="colum"?F:G,50)),f=new Set,p=e.ref(!0),d=e.ref(),c=e.ref(!1),i=e.ref({x:0,y:0}),g=e.ref({x:0,y:0,scrollTop:0}),b=new ResizeObserver(m=>_.value=m[0].target.getBoundingClientRect()),_=e.ref({}),E=e.ref({top:0,height:0,sync(m=!1){E.value.top=d.value?.scrollTop||0,m&&(E.value.height=d.value?.scrollHeight||0)}}),T=e.computed(()=>c.value?{left:Math.min(i.value.x,g.value.x)-_.value.left,top:Math.min(i.value.y,g.value.y)-_.value.top,width:Math.abs(i.value.x-g.value.x),height:Math.abs(i.value.y-g.value.y)}:{left:0,top:0,width:0,height:0}),{margin:M=50,startSpeed:$=30,maxSpeed:x=30}=o;let D;const P=M,H=$,N=x,z=m=>m**1;let k=0;function K(m){if(cancelAnimationFrame(D),k=Q(m),k=Math.max(Math.min(k,N),-N),k!==0){const y=d.value;if(!y||!c.value)return;const O=E.value.height-_.value.height;let C=E.value.top+Number(k);C=Math.min(Math.max(0,C),O),y.scrollTop=C,W(),D=requestAnimationFrame(()=>K(m))}}function Q(m){if(d.value){const O=_.value,C=O.bottom-m;if(C<P)return H*z(1-C/P);const A=m-O.top;if(A<P)return-H*z(1-A/P)}return 0}function j(m){const y={...T.value,right:0,bottom:0};return y.left+=_.value.left,y.top+=_.value.top-E.value.top,y.right=y.width+y.left,y.bottom=y.height+y.top,y.left<m.right&&y.right>m.left&&y.top<m.bottom&&y.bottom>m.top}function W(){E.value.sync();const{top:m,height:y}=E.value;g.value.y=Math.min(y+_.value.top,g.value.y+m-g.value.scrollTop),g.value.scrollTop=m}function v(m,y,O="dynamic-styles"){let C=document.getElementById(O);C||(C=document.createElement("style"),C.id=O,document.head.appendChild(C));const A=C.sheet.cssRules,q=A.length,Pt=`${m} { ${y} }`;for(let pe=0;pe<q;pe++){const Oe=A[pe];if(Oe.selectorText===m&&Oe.style.cssText===y)return}C.sheet.insertRule(Pt,q)}function S(m,y){p.value=!0,c.value=!0,E.value.height?E.value.sync():E.value.sync(!0),i.value.x=m,i.value.y=y+E.value.top,g.value.x=i.value.x,g.value.y=i.value.y,d.value?.classList.add("disable-scroll-behavior"),f.clear()}function I(m,y,O){!c.value||(p.value&&n==="colum"&&!L()&&(a(),p.value=!1),O?.(),K(y),g.value.x=Math.max(m,_.value.left),g.value.y=Math.min(y+E.value.top,E.value.height+_.value.top),g.value.scrollTop=E.value.top,h.value())}function R(){c.value=!1,d.value?.classList.remove("disable-scroll-behavior")}function B(){!c.value||(k||W(),h.value())}function L(){if(!c.value)return!1;const{width:m,height:y}=T.value;return!(Math.max(m,y)>5)}function U(){L()&&a()}function F(){L()||d.value?.querySelectorAll(`[${t}]`).forEach(m=>{u[`${t}`]=m.getAttribute(`${t}`),j(m.getBoundingClientRect())?r([u]):s([u])})}function G(){const m=[];let y=null,O=0;d.value?.querySelectorAll(`[${t}]`).forEach((C,A)=>{const q=C.getAttribute(`${t}`);m.push(q),j(C.getBoundingClientRect())?(y===null&&(y=A),y=Math.min(y,A),O=Math.max(O,A)):(u[`${t}`]=q,f.has(q)&&s([u]))});for(let C=y;C<O+1;C++)u[`${t}`]=m[C],r([u]),f.add(m[C])}function X(m){return!m?.value||(d.value=m.value,!d?.value)?!1:(b.observe(d.value),v(".disable-scroll-behavior","scroll-behavior: unset !important;"),!0)}return{init:X,dragStart:S,dragMove:I,dragEnd:R,onScroll:B,isSingleClick:L,cancelSelectAllBySingleClick:U,selectFn:h,selectRange:T,isPressing:c,containerEl:d,observer:b}}function Ze(t){const n=de(t),{observer:o,selectRange:l}=n,{onScroll:r,dragStart:s,dragMove:a,dragEnd:u,cancelSelectAllBySingleClick:h}=n,f=e.computed(()=>({left:`${l.value.left}px`,top:`${l.value.top}px`,width:`${l.value.width}px`,height:`${l.value.height}px`})),p=e.defineComponent({render(){return e.h("div",{id:"selectBoxEl",class:"absolute z-50 bg-blue-200 opacity-50",style:f.value})}});function d(_){_.button===0&&s(_.x,_.y)}function c(_){a(_.x,_.y)}function i(_){_.composedPath().some(T=>T?.getAttribute?.(t.attribute))||h(),u()}function g(_){try{if(!n.init(_))throw"\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";if(!n.containerEl?.value)return!1;e.render(e.h(p),n.containerEl.value),n.containerEl.value?.addEventListener("scroll",r),n.containerEl.value?.addEventListener("mousedown",d),window.addEventListener("mousemove",c),window.addEventListener("mouseup",i)}catch(E){console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25",E)}}function b(){o.disconnect(),n.containerEl.value?.removeEventListener("scroll",r),n.containerEl.value?.removeEventListener("mousedown",d),window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",i)}return{init:g,unMount:b}}function Je(t,n,o=600){const l=de({...t,selectWay:"row",scrollOptions:{startSpeed:5,maxSpeed:5}}),{observer:r}=l,{onScroll:s,dragStart:a,dragMove:u,dragEnd:h}=l;let f;function p(){clearTimeout(f)}function d(_){p(),_.composedPath().some(T=>!!T?.getAttribute?.(t.attribute))&&(f=setTimeout(()=>{const{clientX:T,clientY:M}=_.targetTouches[0];a(T,M),n?.(),u(T,M,()=>_.preventDefault()),_.preventDefault()},o))}function c(_){p();const{clientX:E,clientY:T}=_.targetTouches[0];u(E,T,()=>_.preventDefault())}function i(){p(),h()}function g(_){try{if(!l.init(_))throw"\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";if(!l.containerEl?.value)return!1;l.containerEl.value?.addEventListener("scroll",s),l.containerEl.value?.addEventListener("touchstart",d),l.containerEl.value?.addEventListener("touchmove",c),window.addEventListener("touchcancel",i),window.addEventListener("touchend",i)}catch(E){console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25",E)}}function b(){r.disconnect(),l.containerEl.value?.removeEventListener("scroll",s),l.containerEl.value?.removeEventListener("touchstart",d),l.containerEl.value?.removeEventListener("touchmove",c),window.removeEventListener("touchcancel",i),window.removeEventListener("touchEnd",i)}return{init:g,unMount:b}}const Be=Symbol(),et=e.defineComponent({__name:"Dialog",props:{visiable:{type:Boolean,default:!1},closeOnClickOverlay:{type:Boolean,default:!0},dialogClass:{default:""}},emits:["update:visiable"],setup(t,{emit:n}){const o=t,l=()=>{o.closeOnClickOverlay&&n("update:visiable",!1)};return e.provide(Be,()=>n("update:visiable",!1)),(r,s)=>(e.openBlock(),e.createBlock(e.Transition,{name:"modal"},{default:e.withCtx(()=>[t.visiable?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l,class:"lzc-modal"},[e.createElementVNode("div",{onClick:s[0]||(s[0]=e.withModifiers(()=>{},["stop"])),class:e.normalizeClass(["lzc-dialog",t.dialogClass])},[e.renderSlot(r.$slots,"default",{},void 0,!0)],2)])):e.createCommentVNode("",!0)]),_:3}))}}),Ht="",V=(t,n)=>{const o=t.__vccOpts||t;for(const[l,r]of n)o[l]=r;return o},tt=V(et,[["__scopeId","data-v-e171c24d"]]);function nt(t){function n(o,l){const r=document.createElement("div"),s={setup(){return()=>e.h(tt,{visiable:!0,"onUpdate:visiable":()=>{r?.remove()},...t},{default:()=>e.h(o,l)})}};return document.body.appendChild(r),e.render(e.h(s),r),{close:()=>r?.remove()}}return{create:n}}function ot({component:t,componentProps:n,delay:o=300}){const l=`${o}ms`,r=e.ref(!1),{load:s}=We(`@keyframes lzcDelayLoad {
1
+ (function(w,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(w=typeof globalThis<"u"?globalThis:w||self,e(w.ui={},w.Vue))})(this,function(w,e){"use strict";var he;const Z=typeof window<"u",me=t=>typeof t=="function";Z&&((he=window?.navigator)==null?void 0:he.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Q(t){return typeof t=="function"?t():e.unref(t)}function ge(t,n){function o(...l){t(()=>n.apply(this,l),{fn:n,thisArg:this,args:l})}return o}function $e(t,n={}){let o,l;return s=>{const a=Q(t),u=Q(n.maxWait);if(o&&clearTimeout(o),a<=0||u!==void 0&&u<=0)return l&&(clearTimeout(l),l=null),s();u&&!l&&(l=setTimeout(()=>{o&&clearTimeout(o),l=null,s()},u)),o=setTimeout(()=>{l&&clearTimeout(l),l=null,s()},a)}}function Re(t,n=!0,o=!0){let l=0,r,s=!0;const a=()=>{r&&(clearTimeout(r),r=void 0)};return h=>{const f=Q(t),p=Date.now()-l;if(a(),f<=0)return l=Date.now(),h();p>f&&(o||!s)?(l=Date.now(),h()):n&&(r=setTimeout(()=>{l=Date.now(),s=!0,a(),h()},f)),!o&&!r&&(r=setTimeout(()=>s=!0,f)),s=!1}}function Ie(t){return t}function Me(t,n){let o,l,r;const s=e.ref(!0),a=()=>{s.value=!0,r()};e.watch(t,a,{flush:"sync"});const u=me(n)?n:n.get,h=me(n)?void 0:n.set,f=e.customRef((p,d)=>(l=p,r=d,{get(){return s.value&&(o=u(),s.value=!1),l(),o},set(c){h?.(c)}}));return Object.isExtensible(f)&&(f.trigger=a),f}function ve(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function ye(t,n=200,o={}){return ge($e(n,o),t)}function _e(t,n=200,o=!1,l=!0){return ge(Re(n,o,l),t)}function Ee(t,n=!0){e.getCurrentInstance()?e.onMounted(t):n?t():e.nextTick(t)}function Se(t){var n;const o=Q(t);return(n=o?.$el)!=null?n:o}const ke=Z?window:void 0,Pe=Z?window.document:void 0;function Ae(t,n=!1){const o=e.ref(),l=()=>o.value=Boolean(t());return l(),Ee(l,n),o}const J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ee="__vueuse_ssr_handlers__";J[ee]=J[ee]||{},J[ee];function He(){const t=e.getCurrentInstance(),n=Me(()=>null,()=>t.proxy.$el);return e.onUpdated(n.trigger),e.onMounted(n.trigger),n}var we=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ne=(t,n)=>{var o={};for(var l in t)Fe.call(t,l)&&n.indexOf(l)<0&&(o[l]=t[l]);if(t!=null&&we)for(var l of we(t))n.indexOf(l)<0&&Ve.call(t,l)&&(o[l]=t[l]);return o};function ze(t,n,o={}){const l=o,{window:r=ke}=l,s=Ne(l,["window"]);let a;const u=Ae(()=>r&&"ResizeObserver"in r),h=()=>{a&&(a.disconnect(),a=void 0)},f=e.watch(()=>Se(t),d=>{h(),u.value&&r&&d&&(a=new ResizeObserver(n),a.observe(d,s))},{immediate:!0,flush:"post"}),p=()=>{h(),f()};return ve(p),{isSupported:u,stop:p}}function je(t,n={width:0,height:0},o={}){const{box:l="content-box"}=o,r=e.ref(n.width),s=e.ref(n.height);return ze(t,([a])=>{const u=l==="border-box"?a.borderBoxSize:l==="content-box"?a.contentBoxSize:a.devicePixelContentBoxSize;u?(r.value=u.reduce((h,{inlineSize:f})=>h+f,0),s.value=u.reduce((h,{blockSize:f})=>h+f,0)):(r.value=a.contentRect.width,s.value=a.contentRect.height)},o),e.watch(()=>Se(t),a=>{r.value=a?n.width:0,s.value=a?n.height:0}),{width:r,height:s}}var be;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(be||(be={}));let Ke=0;function We(t,n={}){const o=e.ref(!1),{document:l=Pe,immediate:r=!0,manual:s=!1,id:a=`vueuse_styletag_${++Ke}`}=n,u=e.ref(t);let h=()=>{};const f=()=>{if(!l)return;const d=l.getElementById(a)||l.createElement("style");d.type="text/css",d.id=a,n.media&&(d.media=n.media),l.head.appendChild(d),!o.value&&(h=e.watch(u,c=>{d.innerText=c},{immediate:!0}),o.value=!0)},p=()=>{!l||!o.value||(h(),l.head.removeChild(l.getElementById(a)),o.value=!1)};return r&&!s&&Ee(f),s||ve(p),{id:a,css:u,unload:p,load:f,isLoaded:e.readonly(o)}}var Ye=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Te=(t,n,o)=>n in t?Ye(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,Qe=(t,n)=>{for(var o in n||(n={}))Ue.call(n,o)&&Te(t,o,n[o]);if(Ce)for(var o of Ce(n))qe.call(n,o)&&Te(t,o,n[o]);return t};Qe({linear:Ie},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});function Le(t,n){const{scrollEndHook:o,itemHeight:l,overscan:r=5}=n,s=e.ref(null),a=je(s),u=e.ref(!0),h=ye(V,100);let f;const p=e.shallowRef(t),d=e.ref(0),c=e.ref({start:0,end:10});let i=0;const g=e.ref([]),b=e.computed(()=>{let{sum:v,height:S}={sum:0,height:0};return p.value.map((I,R)=>(typeof l=="number"?S=l:S=l(R),v+=S,{height:S,sum:v}))}),_=e.computed(()=>N(c.value.start)),E=e.computed(()=>typeof l=="number"?b.value.length*l:b.value[b.value.length-1]?.sum||0),T=e.computed(()=>{let v=g.value.length-r,S=Math.max(v-i,0);return g.value.slice(S,v)});e.onMounted(()=>{}),e.onUnmounted(()=>cancelAnimationFrame(f)),e.watch([a.width,a.height,p],([v,S])=>{(v||S)&&A()},{deep:!0}),e.watch(d,()=>{M(),h()});function M(){u.value=!1}function V(){u.value=!0,o?.()}function A(){cancelAnimationFrame(f),f=requestAnimationFrame(x)}function x(){if(s.value){d.value=s.value.scrollTop,i=B();let v=C(d.value),S=v+i+r;v=v-r,v=v<0?0:v,S=S>p.value.length?p.value.length:S,c.value={start:v,end:S},g.value=p.value.slice(v,S).map((I,R)=>({data:I,index:R+v}))}}function C(v){let S=0,I=b.value.length-1,R=-1;for(;S<=I;){const O=Math.floor((S+I)/2);b.value[O].sum>=v?(R=O,I=O-1):S=O+1}return Math.max(0,R)}function B(){let v=0,S=0,I=k();for(let R=I;R<b.value.length&&(v++,S+=b.value[R].height,!(S>=a.height.value));R++);return v}function N(v){if(typeof l=="number")return v*l;let S=b.value[v];return S?S.sum-S.height:0}function z(v){return b.value[v]||{sum:0,height:0}}function k(){let v=c.value.start;return v>=r&&(v+=r),v}function K(v){if(s.value){const S=z(v);s.value.scrollTop=S.sum-S.height,x()}}const q=e.computed(()=>({style:{width:"100%",height:`${E.value}px`,pointerEvents:u.value?void 0:"none"}})),j=e.computed(()=>({style:{transform:`translate3d(0, ${_.value}px, 0)`,"will-change":"transform"}})),W={overflowY:"auto"};return{list:g,visiableList:T,getItemHeightData:z,getoffsetTopIndex:C,totalHeight:E,clientHeight:a.height,scrollTo:K,scrollTop:d,isScrollEnd:u,containerProps:{ref:s,onScroll:()=>{A()},style:W},wrapperProps:q,innerProps:j}}const te=Symbol(),ne=Symbol(),oe=Symbol(),le=Symbol(),re=Symbol(),ae=Symbol(),se=Symbol(),ie=Symbol(),ce=Symbol();function Ge(){const{voidFn:t,boolFn:n,boolRef:o,arrayRef:l}={voidFn:i=>{},boolFn:i=>!1,boolRef:e.computed(()=>!1),arrayRef:e.computed(()=>[])},r=e.inject(le,l),s=e.inject(oe,n),a=e.inject(ie,o),u=e.inject(ne,t),h=e.inject(te,t),f=e.inject(re,t),p=e.inject(ae,t),d=e.inject(se,t),c=e.inject(ce,t);return{selected:r,isSelected:s,isAllSelected:a,toggle:u,toggleAll:h,select:f,selectAll:p,unselect:d,unselectAll:c}}function Xe(t,n){const o=e.ref({}),l=e.computed(()=>t.value.filter(c=>o.value[c[n]])),r=e.computed(()=>l.value.length!=0&&Object.keys(o.value).length==t.value.length);function s(){t.value.forEach(c=>{o.value[c[n]]=!0})}function a(){o.value={}}function u(c){c.forEach(i=>{o.value[i[n]]||(o.value[i[n]]=!0)})}function h(c){c.forEach(i=>{o.value[i[n]]&&delete o.value[i[n]]})}function f(c){return!!o.value[c[n]]}function p(c){c.forEach(i=>{f(i)?delete o.value[i[n]]:o.value[i[n]]=!0})}function d(){r.value?a():s()}return e.provide(te,d),e.provide(ne,p),e.provide(oe,f),e.provide(le,l),e.provide(re,u),e.provide(ae,s),e.provide(se,h),e.provide(ie,r),e.provide(ce,a),{selected:l,select:u,selectAll:s,unselect:h,unselectAll:a,toggle:p,toggleAll:d,isSelected:f,isAllSelected:r}}function ue(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:r=ue("\u9009\u62E9"),unselect:s=ue("\u53D6\u6D88\u9009\u62E9"),unselectAll:a=ue("\u53D6\u6D88\u5168\u9009")}=l();let u={};const h=e.computed(()=>_e(n==="colum"?H:G,50)),f=new Set,p=e.ref(!0),d=e.ref(),c=e.ref(!1),i=e.ref({x:0,y:0}),g=e.ref({x:0,y:0,scrollTop:0}),b=new ResizeObserver(m=>_.value=m[0].target.getBoundingClientRect()),_=e.ref({}),E=e.ref({top:0,height:0,sync(m=!1){E.value.top=d.value?.scrollTop||0,m&&(E.value.height=d.value?.scrollHeight||0)}}),T=e.computed(()=>c.value?{left:Math.min(i.value.x,g.value.x)-_.value.left,top:Math.min(i.value.y,g.value.y)-_.value.top,width:Math.abs(i.value.x-g.value.x),height:Math.abs(i.value.y-g.value.y)}:{left:0,top:0,width:0,height:0}),{margin:M=50,startSpeed:V=30,maxSpeed:A=30}=o;let x;const C=M,B=V,N=A,z=m=>m**1;let k=0;function K(m){if(cancelAnimationFrame(x),k=q(m),k=Math.max(Math.min(k,N),-N),k!==0){const y=d.value;if(!y||!c.value)return;const $=E.value.height-_.value.height;let L=E.value.top+Number(k);L=Math.min(Math.max(0,L),$),y.scrollTop=L,W(),x=requestAnimationFrame(()=>K(m))}}function q(m){if(d.value){const $=_.value,L=$.bottom-m;if(L<C)return B*z(1-L/C);const P=m-$.top;if(P<C)return-B*z(1-P/C)}return 0}function j(m){const y={...T.value,right:0,bottom:0};return y.left+=_.value.left,y.top+=_.value.top-E.value.top,y.right=y.width+y.left,y.bottom=y.height+y.top,y.left<m.right&&y.right>m.left&&y.top<m.bottom&&y.bottom>m.top}function W(){E.value.sync();const{top:m,height:y}=E.value;g.value.y=Math.min(y+_.value.top,g.value.y+m-g.value.scrollTop),g.value.scrollTop=m}function v(m,y,$="dynamic-styles"){let L=document.getElementById($);L||(L=document.createElement("style"),L.id=$,document.head.appendChild(L));const P=L.sheet.cssRules,U=P.length,Pt=`${m} { ${y} }`;for(let pe=0;pe<U;pe++){const Oe=P[pe];if(Oe.selectorText===m&&Oe.style.cssText===y)return}L.sheet.insertRule(Pt,U)}function S(m,y){p.value=!0,c.value=!0,E.value.height?E.value.sync():E.value.sync(!0),i.value.x=m,i.value.y=y+E.value.top,g.value.x=i.value.x,g.value.y=i.value.y,d.value?.classList.add("disable-scroll-behavior"),f.clear()}function I(m,y,$){!c.value||(p.value&&n==="colum"&&!D()&&(a(),p.value=!1),$?.(),K(y),g.value.x=Math.max(m,_.value.left),g.value.y=Math.min(y+E.value.top,E.value.height+_.value.top),g.value.scrollTop=E.value.top,h.value())}function R(){c.value=!1,d.value?.classList.remove("disable-scroll-behavior")}function O(){!c.value||(k||W(),h.value())}function D(){if(!c.value)return!1;const{width:m,height:y}=T.value;return!(Math.max(m,y)>5)}function Y(){D()&&a()}function H(){D()||d.value?.querySelectorAll(`[${t}]`).forEach(m=>{u[`${t}`]=m.getAttribute(`${t}`),j(m.getBoundingClientRect())?r([u]):s([u])})}function G(){const m=[];let y=null,$=0;d.value?.querySelectorAll(`[${t}]`).forEach((L,P)=>{const U=L.getAttribute(`${t}`);m.push(U),j(L.getBoundingClientRect())?(y===null&&(y=P),y=Math.min(y,P),$=Math.max($,P)):(u[`${t}`]=U,f.has(U)&&s([u]))});for(let L=y;L<$+1;L++)u[`${t}`]=m[L],r([u]),f.add(m[L])}function X(m){return!m?.value||(d.value=m.value,!d?.value)?!1:(b.observe(d.value),v(".disable-scroll-behavior","scroll-behavior: unset !important;"),!0)}return{init:X,dragStart:S,dragMove:I,dragEnd:R,onScroll:O,isSingleClick:D,cancelSelectAllBySingleClick:Y,selectFn:h,selectRange:T,isPressing:c,containerEl:d,observer:b}}function Ze(t){const n=de(t),{observer:o,selectRange:l}=n,{onScroll:r,dragStart:s,dragMove:a,dragEnd:u,cancelSelectAllBySingleClick:h}=n,f=e.computed(()=>({left:`${l.value.left}px`,top:`${l.value.top}px`,width:`${l.value.width}px`,height:`${l.value.height}px`})),p=e.defineComponent({render(){return e.h("div",{id:"selectBoxEl",class:"absolute z-50 bg-blue-200 opacity-50",style:f.value})}});function d(_){_.button===0&&s(_.x,_.y)}function c(_){a(_.x,_.y)}function i(_){_.composedPath().some(T=>T?.getAttribute?.(t.attribute))||h(),u()}function g(_){try{if(!n.init(_))throw"\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";if(!n.containerEl?.value)return!1;e.render(e.h(p),n.containerEl.value),n.containerEl.value?.addEventListener("scroll",r),n.containerEl.value?.addEventListener("mousedown",d),window.addEventListener("mousemove",c),window.addEventListener("mouseup",i)}catch(E){console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25",E)}}function b(){o.disconnect(),n.containerEl.value?.removeEventListener("scroll",r),n.containerEl.value?.removeEventListener("mousedown",d),window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",i)}return{init:g,unMount:b}}function Je(t,n,o=600){const l=de({...t,selectWay:"row",scrollOptions:{startSpeed:5,maxSpeed:5}}),{observer:r}=l,{onScroll:s,dragStart:a,dragMove:u,dragEnd:h}=l;let f;function p(){clearTimeout(f)}function d(_){p(),_.composedPath().some(T=>!!T?.getAttribute?.(t.attribute))&&(f=setTimeout(()=>{const{clientX:T,clientY:M}=_.targetTouches[0];a(T,M),n?.(),u(T,M,()=>_.preventDefault()),_.preventDefault()},o))}function c(_){p();const{clientX:E,clientY:T}=_.targetTouches[0];u(E,T,()=>_.preventDefault())}function i(){p(),h()}function g(_){try{if(!l.init(_))throw"\u521D\u59CB\u5316\u5931\u8D25,Ref\u5143\u7D20\u4E0D\u6B63\u786E";if(!l.containerEl?.value)return!1;l.containerEl.value?.addEventListener("scroll",s),l.containerEl.value?.addEventListener("touchstart",d),l.containerEl.value?.addEventListener("touchmove",c),window.addEventListener("touchcancel",i),window.addEventListener("touchend",i)}catch(E){console.error("\u62D6\u9009\u529F\u80FD\u521D\u59CB\u5316\u5931\u8D25",E)}}function b(){r.disconnect(),l.containerEl.value?.removeEventListener("scroll",s),l.containerEl.value?.removeEventListener("touchstart",d),l.containerEl.value?.removeEventListener("touchmove",c),window.removeEventListener("touchcancel",i),window.removeEventListener("touchEnd",i)}return{init:g,unMount:b}}const Be=Symbol(),et=e.defineComponent({__name:"Dialog",props:{visiable:{type:Boolean,default:!1},closeOnClickOverlay:{type:Boolean,default:!0},dialogClass:{default:""}},emits:["update:visiable"],setup(t,{emit:n}){const o=t,l=()=>{o.closeOnClickOverlay&&n("update:visiable",!1)};return e.provide(Be,()=>n("update:visiable",!1)),(r,s)=>(e.openBlock(),e.createBlock(e.Transition,{name:"modal"},{default:e.withCtx(()=>[t.visiable?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l,class:"lzc-modal"},[e.createElementVNode("div",{onClick:s[0]||(s[0]=e.withModifiers(()=>{},["stop"])),class:e.normalizeClass(["lzc-dialog",t.dialogClass])},[e.renderSlot(r.$slots,"default",{},void 0,!0)],2)])):e.createCommentVNode("",!0)]),_:3}))}}),Ht="",F=(t,n)=>{const o=t.__vccOpts||t;for(const[l,r]of n)o[l]=r;return o},tt=F(et,[["__scopeId","data-v-e171c24d"]]);function nt(t){function n(o,l){const r=document.createElement("div"),s={setup(){return()=>e.h(tt,{visiable:!0,"onUpdate:visiable":()=>{r?.remove()},...t},{default:()=>e.h(o,l)})}};return document.body.appendChild(r),e.render(e.h(s),r),{close:()=>r?.remove()}}return{create:n}}function ot({component:t,componentProps:n,delay:o=300}){const l=`${o}ms`,r=e.ref(!1),{load:s}=We(`@keyframes lzcDelayLoad {
2
2
  to {
3
3
  opacity: 1;
4
4
  }
@@ -6,4 +6,4 @@
6
6
  .lzc-delay-loading {
7
7
  opacity: 0;
8
8
  animation: lzcDelayLoad 0s ${l} forwards;
9
- }`),a=e.defineComponent({setup(){const f=He();return e.onMounted(()=>{s(),f.value.classList.add("lzc-delay-loading")}),()=>e.h(t,n)}});function u(){r.value=!0}function h(){r.value=!1}return{LoadingComp:a,loading:r,load:u,unload:h}}const Ft="",lt={},rt=[(t=>(e.pushScopeId("data-v-76a2728a"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"ldio-mm5gwljcryb"},[e.createElementVNode("div")],-1))];function at(t,n){return e.openBlock(),e.createElementBlock("div",e.normalizeProps(e.guardReactiveProps(t.$attrs)),rt,16)}const st=V(lt,[["render",at],["__scopeId","data-v-76a2728a"]]),it=e.defineComponent({__name:"Toast",props:{message:null,position:null},setup(t){const n=t,o=e.ref(),l=e.ref(),r=e.ref(),s=e.computed(()=>{switch(n.position){case"top":return 10;case"middle":return 50;case"bottom":return 85}}),a=e.computed(()=>({position:"absolute",borderRadius:"10px",backgroundColor:"rgba(0, 0, 0, 0.8)",padding:"14px 19px",top:`calc(${s.value}% - ${r.value}px)`,left:`calc(50% - ${l.value}px)`})),u=e.computed(()=>({width:"fit-content",display:"flex",justifyContent:"center",alignItems:"center",color:"white",fontSize:"14px"}));return e.nextTick(()=>{l.value=o.value.offsetWidth/2,r.value=o.value.offsetHeight/2}),(h,f)=>(e.openBlock(),e.createElementBlock("div",{id:"toastWrapper",ref_key:"toastWrapper",ref:o,class:"toastWrapper",style:e.normalizeStyle([e.unref(a),{zIndex:9999}])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(u))},[e.createElementVNode("span",null,e.toDisplayString(t.message),1)],4)],4))}}),zt="",ct=V(it,[["__scopeId","data-v-15ab4094"]]),xe={message:"\u61D2\u732B\u4E91 Yes!!!",position:"middle",duration:1500};class ut{options;container;constructor(n){this.options=n,this.container=document.createElement("div")}present(){const n=e.h(e.h(ct),{...xe,...this.options});e.render(n,this.container),document.body.insertBefore(this.container,document.body.firstChild);const o=this.options.duration||xe.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 dt=["xlink:href","fill","color"],ft=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"}));return(r,s)=>(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":"",style:e.normalizeStyle(e.unref(l))},[e.createElementVNode("use",{"xlink:href":e.unref(o),fill:t.color,color:t.color},null,8,dt)],4))}});function pt(t){const{containerEl:n,sliderEl:o,autoHeight:l,performance:r={},maxHeightRatio:s=.9}=t,a=e.ref(!0),u=ye(N,100);let h,f="";const p=e.ref(0),d=e.ref(0),c=e.ref(0),i=e.ref({top:0,scrollTop:0,scrollHeight:0,clientHeight:0}),g=e.ref({clientHeight:0}),b=e.computed(()=>!!d.value),_=e.computed(()=>i.value.scrollHeight>i.value.clientHeight),E=e.computed(()=>i.value.clientHeight-g.value.clientHeight),T=e.computed(()=>i.value.scrollHeight-i.value.clientHeight),M=e.computed(()=>Math.max(i.value.clientHeight/i.value.scrollHeight,.05)),$=e.computed(()=>M.value>s?0:M.value*i.value.clientHeight),x=e.computed(()=>({willChange:"transform",transform:`translate3d(0,${c.value}px,0)`,height:l?`${$.value}px`:void 0}));function D(B){H(),d.value=B.clientY-o.value.getBoundingClientRect().top||1,f=getComputedStyle(n.value).scrollBehavior,f==="smooth"&&(n.value.style.scrollBehavior="unset")}function P(){n.value.style.scrollBehavior=f,d.value=0,u()}function H(){a.value=!1}function N(){b.value||(a.value=!0)}function z(B){if(!b.value)return;let L=B.clientY-i.value.top-d.value;L<0?c.value=0:L>=E.value?c.value=E.value:c.value=L,n.value.scrollTo({top:c.value/E.value*T.value})}function k(){b.value||K()}function K(){cancelAnimationFrame(h),h=requestAnimationFrame(Q)}function Q(){n.value&&(p.value=r.scrollTop?.value??n.value.scrollTop,c.value=p.value/T.value*E.value)}function j(B){let L="addEventListener";B==="add"?L="addEventListener":L="removeEventListener",o.value?.[L]("pointerdown",D,{passive:!0}),window[L]("pointermove",z,{passive:!0}),window[L]("pointerup",P,{passive:!0})}const W=new MutationObserver(B=>{B.map(U=>U.oldValue).join().includes("height")&&v()});function v(){i.value.top=n.value?.getBoundingClientRect().top??0,i.value.scrollHeight=n.value?.scrollHeight??0,i.value.clientHeight=n.value?.clientHeight??0}function S(){H(),setTimeout(()=>{g.value.clientHeight=o.value?.clientHeight??0,N()},150)}function I(B,L,U="dynamic-styles"){let F=document.getElementById(U);F||(F=document.createElement("style"),F.id=U,document.head.appendChild(F));const G=F.sheet.cssRules,X=G.length,m=`${B} { ${L} }`;for(let y=0;y<X;y++){const O=G[y];if(O.selectorText===B&&O.style.cssText===L)return}F.sheet.insertRule(m,X)}function R(){n.value&&o.value?(I(".hide-scrollbar","scrollbar-width: none; -ms-overflow-style: none;"),I(".hide-scrollbar::-webkit-scrollbar","display: none"),n.value.classList.add("hide-scrollbar"),n.value.addEventListener("scroll",k,{passive:!0}),j("add"),W.observe(n.value,{subtree:!0,attributeOldValue:!0,attributeFilter:["style"]}),setTimeout(()=>{v()},100),S()):console.error("useScrollBar:","\u521D\u59CB\u5316\u5931\u8D25!",{containerEl:n,sliderEl:o})}return e.watch(p,()=>{H(),u()}),{isScrollEnd:a,isDragSlider:b,offsetTop:c,scrollTop:p,scrollable:_,sliderPos:x,init:R,modifySliderEventListener:j}}const ht=(t=>(e.pushScopeId("data-v-edec7292"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"default-slider"},null,-1)),mt=e.defineComponent({__name:"ScrollBar",props:{containerEl:null,autoHide:{type:Boolean},autoHeight:{type:Boolean},performance:null},setup(t,{expose:n}){const o=t,l=!!e.useSlots().default,r=e.ref(null),s=e.computed(()=>o.containerEl),a=pt({containerEl:s,sliderEl:r,autoHeight:l?o.autoHeight:!0,performance:o.performance}),{scrollable:u,isScrollEnd:h,sliderPos:f}=a,p=e.ref(!1),d=o.autoHide?e.computed(()=>p.value||!h.value):e.computed(()=>u.value);e.onMounted(()=>{e.nextTick(()=>{a.init()})}),e.onUnmounted(()=>{a.modifySliderEventListener("remove")});function c(){p.value=!0}function i(){p.value=!1}return n({uScrollBarReturn:a}),(g,b)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:r,class:"slider-wrapper",onMouseenter:c,onMouseleave:i,style:e.normalizeStyle(e.unref(f))},[e.renderSlot(g.$slots,"default",{},()=>[ht],!0)],36),[[e.vShow,e.unref(d)]])]),_:3}))}}),Kt="",gt=V(mt,[["__scopeId","data-v-edec7292"]]),vt=t=>(e.pushScopeId("data-v-9bfa9cae"),t=t(),e.popScopeId(),t),yt={class:"pull-refresh"},_t={key:0,class:"pull-arrow-circle"},Et={key:0,class:"box-load"},St={class:"left-load"},wt={class:"right-load"},bt=vt(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),Ct={class:"pull-arrow"},Tt={key:1},Lt=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",r=e.ref(-999),s=e.ref(1),a=e.ref(0),u=e.ref(.3),h=e.ref(!1),f=e.ref(0),p=e.ref(0),d=e.ref(0),c=e.ref(0),i=e.ref(0),g=e.ref(),b=e.computed(()=>n.scrollTop),_=e.computed(()=>({transition:`${c.value}ms`,transform:`translate3d(0,${r.value}px, 0) scale(${s.value})`})),E=e.computed(()=>({borderColor:l,transition:c.value,transform:`rotate(${100+a.value}deg)`,opacity:u.value}));e.watch(i,x=>{x===0&&(r.value=-50,u.value=.3)}),e.watch(p,x=>{if(i.value===2)return;const D=Math.pow(x,o);D===0&&(r.value=-50),D<=50&&D>0&&(r.value=D-45,a.value=Math.pow(D,1.5),D>15?h.value=!0:h.value=!1),D>50&&(r.value=5,u.value=1,i.value)});const T=x=>{n.refreshOff||!n?.refresh||i.value!==2&&b.value===0&&(f.value===0&&(f.value=x.touches[0].pageY),d.value=0,$.value.style.transition=`${d.value}ms`,c.value=0,p.value=x.touches[0].pageY-f.value,$.value.style.transform=`translate3d(0, ${Math.pow(p.value,o)}px, 0)`)},M=()=>{if(n.refreshOff||!n?.refresh||i.value===2)return;f.value=0,d.value=300;const x=Math.pow(p.value,o);$.value.style.transition=`${d.value}ms`,x>50?(i.value=2,p.value=Math.pow(50,1/o),$.value.style.transform=`translate3d(0, ${Math.pow(p.value,o)}px, 0)`,c.value=300,n?.refresh&&n?.refresh().then(()=>{g.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{g.value="\u5237\u65B0\u5931\u8D25"}).finally(()=>{setTimeout(()=>{i.value=0,p.value=0,$.value.style.transform=`translate3d(0, ${Math.pow(p.value,o)}px, 0)`,setTimeout(()=>{g.value=void 0},c.value)},600)})):(p.value=0,$.value.style.transform=`translate3d(0, ${Math.pow(p.value,o)}px, 0)`)},$=e.ref(null);return e.onMounted(()=>{$.value=document.querySelector(n.pullRefreshContainer),$.value.addEventListener("touchmove",T),$.value.addEventListener("touchend",M)}),(x,D)=>(e.openBlock(),e.createElementBlock("div",yt,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(_))},[g.value?(e.openBlock(),e.createElementBlock("div",Tt,e.toDisplayString(g.value),1)):(e.openBlock(),e.createElementBlock("div",_t,[i.value==2?(e.openBlock(),e.createElementBlock("div",Et,[e.createElementVNode("div",St,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",wt,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),bt])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(E))},[e.createElementVNode("div",Ct,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:h.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),Wt="",De=V(Lt,[["__scopeId","data-v-9bfa9cae"]]),Bt={inheritAttrs:!1},xt=e.defineComponent({...Bt,__name:"VirtualList",props:{data:null,itemHeight:null,overscan:{default:10},refresh:null,refreshOff:{type:Boolean,default:!1}},emits:["scrollEnd"],setup(t,{expose:n,emit:o}){const l=t,r=Le(e.toRef(l,"data"),{itemHeight:c=>l.itemHeight(l.data[c]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:s,containerProps:a,wrapperProps:u,innerProps:h,getItemHeightData:f,scrollTop:p}=r;n({vListReturn:r});const d="virtualListWrapper"+new Date().getTime();return(c,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(De,{refresh:t.refresh,refreshOff:t.refreshOff,scrollTop:e.unref(p),pullRefreshContainer:"#"+d},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:d},[e.createElementVNode("div",e.mergeProps({onScrollPassive:i[0]||(i[0]=(...g)=>e.unref(a).onScroll&&e.unref(a).onScroll(...g)),ref:e.unref(a).ref,class:"virtualList"},c.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(u))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(h))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(s),({index:g,data:b})=>(e.openBlock(),e.createElementBlock("div",{key:g,style:e.normalizeStyle({height:`${e.unref(f)(g).height}px`,display:"flex"})},[e.renderSlot(c.$slots,"default",{data:b,index:g},void 0,!0)],4))),128))],16)],16)],16)])],64))}}),Ut="",Dt=V(xt,[["__scopeId","data-v-e0fb787f"]]),fe=t=>(e.pushScopeId("data-v-40e00f20"),t=t(),e.popScopeId(),t),Ot={style:{position:"absolute"}},$t=fe(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),Rt=["width","height"],It=[fe(()=>e.createElementVNode("title",null,"logo",-1)),fe(()=>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))],Mt=e.defineComponent({__name:"Loading",props:{width:{default:"90"},height:{default:"90"},duration:{default:1300}},setup(t){const n=t;e.useCssVars(l=>({"703ef503":o}));const o=`${n.duration}ms`;return(l,r)=>(e.openBlock(),e.createElementBlock("div",Ot,[$t,(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"},It,8,Rt))]))}}),Yt="",kt=V(Mt,[["__scopeId","data-v-40e00f20"]]);w.DefaultLoading=st,w.Loading=kt,w.PullRefresh=De,w.ScrollBar=gt,w.SvgIcon=ft,w.ToastCreator=ut,w.VirtualList=Dt,w.allSelectedKey=le,w.closeDialogKey=Be,w.dialogController=nt,w.isAllSelectedKey=ie,w.isSelectedKey=oe,w.selectAllKey=ae,w.selectKey=re,w.toggleAllKey=te,w.toggleKey=ne,w.unselectAllKey=ce,w.unselectKey=se,w.useDelayLoad=ot,w.useDragSelect=de,w.useDragSelectByMobile=Je,w.useDragSelectByPc=Ze,w.useSelectable=Xe,w.useSelectableInjectors=Ge,w.useVirtualList=Le,Object.defineProperties(w,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
9
+ }`),a=e.defineComponent({setup(){const f=He();return e.onMounted(()=>{s(),f.value.classList.add("lzc-delay-loading")}),()=>e.h(t,n)}});function u(){r.value=!0}function h(){r.value=!1}return{LoadingComp:a,loading:r,load:u,unload:h}}const Ft="",lt={},rt=[(t=>(e.pushScopeId("data-v-76a2728a"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"ldio-mm5gwljcryb"},[e.createElementVNode("div")],-1))];function at(t,n){return e.openBlock(),e.createElementBlock("div",e.normalizeProps(e.guardReactiveProps(t.$attrs)),rt,16)}const st=F(lt,[["render",at],["__scopeId","data-v-76a2728a"]]),it=e.defineComponent({__name:"Toast",props:{message:null,position:null},setup(t){const n=t,o=e.ref(),l=e.ref(),r=e.ref(),s=e.computed(()=>{switch(n.position){case"top":return 10;case"middle":return 50;case"bottom":return 85}}),a=e.computed(()=>({position:"absolute",borderRadius:"10px",backgroundColor:"rgba(0, 0, 0, 0.8)",padding:"14px 19px",top:`calc(${s.value}% - ${r.value}px)`,left:`calc(50% - ${l.value}px)`})),u=e.computed(()=>({width:"fit-content",display:"flex",justifyContent:"center",alignItems:"center",color:"white",fontSize:"14px"}));return e.nextTick(()=>{l.value=o.value.offsetWidth/2,r.value=o.value.offsetHeight/2}),(h,f)=>(e.openBlock(),e.createElementBlock("div",{id:"toastWrapper",ref_key:"toastWrapper",ref:o,class:"toastWrapper",style:e.normalizeStyle([e.unref(a),{zIndex:9999}])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(u))},[e.createElementVNode("span",null,e.toDisplayString(t.message),1)],4)],4))}}),zt="",ct=F(it,[["__scopeId","data-v-15ab4094"]]),xe={message:"\u61D2\u732B\u4E91 Yes!!!",position:"middle",duration:1500};class ut{options;container;constructor(n){this.options=n,this.container=document.createElement("div")}present(){const n=e.h(e.h(ct),{...xe,...this.options});e.render(n,this.container),document.body.insertBefore(this.container,document.body.firstChild);const o=this.options.duration||xe.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 dt=["xlink:href","fill","color"],ft=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"}));return(r,s)=>(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":"",style:e.normalizeStyle(e.unref(l))},[e.createElementVNode("use",{"xlink:href":e.unref(o),fill:t.color,color:t.color},null,8,dt)],4))}});function pt(t){const{containerEl:n,sliderEl:o,autoHeight:l,performance:r={},maxHeightRatio:s=.9}=t,a=e.ref(!0),u=ye(N,100);let h,f="";const p=e.ref(0),d=e.ref(0),c=e.ref(0),i=e.ref({top:0,scrollTop:0,scrollHeight:0,clientHeight:0}),g=e.ref({clientHeight:0}),b=e.computed(()=>!!d.value),_=e.computed(()=>i.value.scrollHeight>i.value.clientHeight),E=e.computed(()=>i.value.clientHeight-g.value.clientHeight),T=e.computed(()=>i.value.scrollHeight-i.value.clientHeight),M=e.computed(()=>Math.max(i.value.clientHeight/i.value.scrollHeight,.05)),V=e.computed(()=>M.value>s?0:M.value*i.value.clientHeight),A=e.computed(()=>({willChange:"transform",transform:`translate3d(0,${c.value}px,0)`,height:l?`${V.value}px`:void 0}));function x(O){B(),d.value=O.clientY-o.value.getBoundingClientRect().top||1,f=getComputedStyle(n.value).scrollBehavior,f==="smooth"&&(n.value.style.scrollBehavior="unset")}function C(){n.value.style.scrollBehavior=f,d.value=0,u()}function B(){a.value=!1}function N(){b.value||(a.value=!0)}function z(O){if(!b.value)return;let D=O.clientY-i.value.top-d.value;D<0?c.value=0:D>=E.value?c.value=E.value:c.value=D,n.value.scrollTo({top:c.value/E.value*T.value})}function k(){b.value||K()}function K(){cancelAnimationFrame(h),h=requestAnimationFrame(q)}function q(){n.value&&(p.value=r.scrollTop?.value??n.value.scrollTop,c.value=p.value/T.value*E.value)}function j(O){let D="addEventListener";O==="add"?D="addEventListener":D="removeEventListener",o.value?.[D]("pointerdown",x,{passive:!0}),window[D]("pointermove",z,{passive:!0}),window[D]("pointerup",C,{passive:!0})}const W=new MutationObserver(O=>{O.map(Y=>Y.oldValue).join().includes("height")&&v()});function v(){i.value.top=n.value?.getBoundingClientRect().top??0,i.value.scrollHeight=n.value?.scrollHeight??0,i.value.clientHeight=n.value?.clientHeight??0}function S(){B(),setTimeout(()=>{g.value.clientHeight=o.value?.clientHeight??0,N()},150)}function I(O,D,Y="dynamic-styles"){let H=document.getElementById(Y);H||(H=document.createElement("style"),H.id=Y,document.head.appendChild(H));const G=H.sheet.cssRules,X=G.length,m=`${O} { ${D} }`;for(let y=0;y<X;y++){const $=G[y];if($.selectorText===O&&$.style.cssText===D)return}H.sheet.insertRule(m,X)}function R(){n.value&&o.value?(I(".hide-scrollbar","scrollbar-width: none; -ms-overflow-style: none;"),I(".hide-scrollbar::-webkit-scrollbar","display: none"),n.value.classList.add("hide-scrollbar"),n.value.addEventListener("scroll",k,{passive:!0}),j("add"),W.observe(n.value,{subtree:!0,attributeOldValue:!0,attributeFilter:["style"]}),setTimeout(()=>{v()},100),S()):console.error("useScrollBar:","\u521D\u59CB\u5316\u5931\u8D25!",{containerEl:n,sliderEl:o})}return e.watch(p,()=>{B(),u()}),{isScrollEnd:a,isDragSlider:b,offsetTop:c,scrollTop:p,scrollable:_,sliderPos:A,init:R,modifySliderEventListener:j}}const ht=(t=>(e.pushScopeId("data-v-edec7292"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",{class:"default-slider"},null,-1)),mt=e.defineComponent({__name:"ScrollBar",props:{containerEl:null,autoHide:{type:Boolean},autoHeight:{type:Boolean},performance:null},setup(t,{expose:n}){const o=t,l=!!e.useSlots().default,r=e.ref(null),s=e.computed(()=>o.containerEl),a=pt({containerEl:s,sliderEl:r,autoHeight:l?o.autoHeight:!0,performance:o.performance}),{scrollable:u,isScrollEnd:h,sliderPos:f}=a,p=e.ref(!1),d=o.autoHide?e.computed(()=>p.value||!h.value):e.computed(()=>u.value);e.onMounted(()=>{e.nextTick(()=>{a.init()})}),e.onUnmounted(()=>{a.modifySliderEventListener("remove")});function c(){p.value=!0}function i(){p.value=!1}return n({uScrollBarReturn:a}),(g,b)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:r,class:"slider-wrapper",onMouseenter:c,onMouseleave:i,style:e.normalizeStyle(e.unref(f))},[e.renderSlot(g.$slots,"default",{},()=>[ht],!0)],36),[[e.vShow,e.unref(d)]])]),_:3}))}}),Kt="",gt=F(mt,[["__scopeId","data-v-edec7292"]]),vt=t=>(e.pushScopeId("data-v-3d9ba957"),t=t(),e.popScopeId(),t),yt={class:"pull-refresh"},_t={key:0,class:"pull-arrow-circle"},Et={key:0,class:"box-load"},St={class:"left-load"},wt={class:"right-load"},bt=vt(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),Ct={class:"pull-arrow"},Tt={key:1},Lt=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",r=e.ref(-999),s=e.ref(1),a=e.ref(0),u=e.ref(.3),h=e.ref(!1),f=e.ref(0),p=e.ref(0),d=e.ref(0),c=e.ref(0),i=e.ref(0),g=e.ref(),b=e.computed(()=>n.scrollTop),_=e.computed(()=>({transition:`${c.value}ms`,transform:`translate3d(0,${r.value}px, 0) scale(${s.value})`})),E=e.computed(()=>({borderColor:l,transition:c.value,transform:`rotate(${100+a.value}deg)`,opacity:u.value}));e.watch(i,C=>{C===0&&(r.value=-50,u.value=.3)}),e.watch(p,C=>{if(i.value===2)return;const B=Math.pow(C,o);B===0&&(r.value=-50),B<=50&&B>0&&(r.value=B-45,a.value=Math.pow(B,1.5),B>15?h.value=!0:h.value=!1),B>50&&(r.value=5,u.value=1,i.value)});const T=e.ref(0),M=C=>{T.value=C.touches[0].pageY},V=C=>{const B=C.touches[0].pageY-T.value;T.value=C.touches[0].pageY,!n.refreshOff&&(!n?.refresh||i.value!==2&&b.value===0&&(f.value===0&&(f.value=C.touches[0].pageY),d.value=0,x.value.style.transition=`${d.value}ms`,c.value=0,p.value=C.touches[0].pageY-f.value,x.value.style.transform=`translate3d(0, ${Math.pow(p.value,o)}px, 0)`,B>0&&C.preventDefault()))},A=()=>{if(n.refreshOff||!n?.refresh||i.value===2)return;f.value=0,d.value=300;const C=Math.pow(p.value,o);x.value.style.transition=`${d.value}ms`,C>50?(i.value=2,p.value=Math.pow(50,1/o),x.value.style.transform=`translate3d(0, ${Math.pow(p.value,o)}px, 0)`,c.value=300,n?.refresh&&n?.refresh().then(()=>{g.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{g.value="\u5237\u65B0\u5931\u8D25"}).finally(()=>{setTimeout(()=>{i.value=0,p.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(p.value,o)}px, 0)`,setTimeout(()=>{g.value=void 0},c.value)},600)})):(p.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(p.value,o)}px, 0)`)},x=e.ref(null);return e.onMounted(()=>{x.value=document.querySelector(n.pullRefreshContainer),x.value.addEventListener("touchstart",M),x.value.addEventListener("touchmove",V),x.value.addEventListener("touchend",A)}),(C,B)=>(e.openBlock(),e.createElementBlock("div",yt,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(_))},[g.value?(e.openBlock(),e.createElementBlock("div",Tt,e.toDisplayString(g.value),1)):(e.openBlock(),e.createElementBlock("div",_t,[i.value==2?(e.openBlock(),e.createElementBlock("div",Et,[e.createElementVNode("div",St,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",wt,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),bt])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(E))},[e.createElementVNode("div",Ct,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:h.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),Wt="",De=F(Lt,[["__scopeId","data-v-3d9ba957"]]),Bt={inheritAttrs:!1},xt=e.defineComponent({...Bt,__name:"VirtualList",props:{data:null,itemHeight:null,overscan:{default:10},refresh:null,refreshOff:{type:Boolean,default:!1}},emits:["scrollEnd"],setup(t,{expose:n,emit:o}){const l=t,r=Le(e.toRef(l,"data"),{itemHeight:c=>l.itemHeight(l.data[c]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:s,containerProps:a,wrapperProps:u,innerProps:h,getItemHeightData:f,scrollTop:p}=r;n({vListReturn:r});const d="virtualListWrapper"+new Date().getTime();return(c,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(De,{refresh:t.refresh,refreshOff:t.refreshOff,scrollTop:e.unref(p),pullRefreshContainer:"#"+d},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:d},[e.createElementVNode("div",e.mergeProps({onScrollPassive:i[0]||(i[0]=(...g)=>e.unref(a).onScroll&&e.unref(a).onScroll(...g)),ref:e.unref(a).ref,class:"virtualList"},c.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(u))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(h))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(s),({index:g,data:b})=>(e.openBlock(),e.createElementBlock("div",{key:g,style:e.normalizeStyle({height:`${e.unref(f)(g).height}px`,display:"flex"})},[e.renderSlot(c.$slots,"default",{data:b,index:g},void 0,!0)],4))),128))],16)],16)],16)])],64))}}),Yt="",Dt=F(xt,[["__scopeId","data-v-e0fb787f"]]),fe=t=>(e.pushScopeId("data-v-40e00f20"),t=t(),e.popScopeId(),t),Ot={style:{position:"absolute"}},$t=fe(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),Rt=["width","height"],It=[fe(()=>e.createElementVNode("title",null,"logo",-1)),fe(()=>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))],Mt=e.defineComponent({__name:"Loading",props:{width:{default:"90"},height:{default:"90"},duration:{default:1300}},setup(t){const n=t;e.useCssVars(l=>({"703ef503":o}));const o=`${n.duration}ms`;return(l,r)=>(e.openBlock(),e.createElementBlock("div",Ot,[$t,(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"},It,8,Rt))]))}}),Qt="",kt=F(Mt,[["__scopeId","data-v-40e00f20"]]);w.DefaultLoading=st,w.Loading=kt,w.PullRefresh=De,w.ScrollBar=gt,w.SvgIcon=ft,w.ToastCreator=ut,w.VirtualList=Dt,w.allSelectedKey=le,w.closeDialogKey=Be,w.dialogController=nt,w.isAllSelectedKey=ie,w.isSelectedKey=oe,w.selectAllKey=ae,w.selectKey=re,w.toggleAllKey=te,w.toggleKey=ne,w.unselectAllKey=ce,w.unselectKey=se,w.useDelayLoad=ot,w.useDragSelect=de,w.useDragSelectByMobile=Je,w.useDragSelectByPc=Ze,w.useSelectable=Xe,w.useSelectableInjectors=Ge,w.useVirtualList=Le,Object.defineProperties(w,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .lzc-modal[data-v-e171c24d]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-e171c24d]{margin:auto;display:flex;flex-direction:column}.ldio-mm5gwljcryb[data-v-76a2728a]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}.ldio-mm5gwljcryb div[data-v-76a2728a]{box-sizing:content-box;position:absolute;top:50%;left:50%;width:24px;height:24px;border:4px solid #ddd;border-top-color:transparent;border-radius:50%;animation:ldio-mm5gwljcryb-76a2728a 1s linear infinite}@keyframes ldio-mm5gwljcryb-76a2728a{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.loadingio-spinner-rolling-5kajof80q6w[data-v-76a2728a]{width:100%;height:100%;display:inline-block;overflow:hidden;background:#ffffff}@keyframes slide-15ab4094{0%{opacity:1}to{opacity:0}}.animate-toastAnimation[data-v-15ab4094]{animation:slide-15ab4094 .3s linear}.v-leave-active[data-v-edec7292]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-edec7292]{opacity:0}.slider-wrapper[data-v-edec7292]{z-index:100;position:absolute;right:0;touch-action:none}.default-slider[data-v-edec7292]{width:6px;height:100%;background-color:#0003;border-radius:3px;margin-right:3px}.pull-refresh[data-v-9bfa9cae]{position:relative}.pull-refresh-box[data-v-9bfa9cae]{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-9bfa9cae]{position:relative;width:30px;height:30px;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.box-load[data-v-9bfa9cae]{position:relative;width:18px;height:18px;border-radius:50%;overflow:hidden;animation:boxs-9bfa9cae 3s infinite linear forwards}@keyframes boxs-9bfa9cae{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.left-load[data-v-9bfa9cae]{position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.left-circle[data-v-9bfa9cae]{position:absolute;width:9px;height:18px;border-radius:18px 0 0 18px;transform:rotate(-180deg);transform-origin:9px 9px;animation:pr1A-9bfa9cae 3s infinite linear forwards}@keyframes pr1A-9bfa9cae{0%{transform:rotate(-180deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(0)}75%{transform:rotate(0)}to{transform:rotate(180deg)}}.right-load[data-v-9bfa9cae]{left:9px;position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.right-circle[data-v-9bfa9cae]{position:absolute;width:9px;height:18px;border-radius:0 18px 18px 0;transform:rotate(-180deg);transform-origin:0px 9px;animation:pr2A-9bfa9cae 3s infinite linear forwards}@keyframes pr2A-9bfa9cae{0%{transform:rotate(-180deg)}25%{transform:rotate(0)}50%{transform:rotate(0)}75%{transform:rotate(180deg)}to{transform:rotate(180deg)}}.among-load[data-v-9bfa9cae]{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-9bfa9cae]{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-9bfa9cae]{position:absolute;left:-3px;transform:rotate(120deg);background-color:#fff;width:4px;height:6px}.arrows[data-v-9bfa9cae]{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-9bfa9cae]{opacity:1}.left-item[data-v-9bfa9cae]{text-align:center;height:100px;line-height:100px;color:#333}.left-item-active[data-v-9bfa9cae]{color:#e93b3d}.virtualList[data-v-e0fb787f]{width:100%;height:100%;position:absolute;overflow-y:auto;scroll-behavior:smooth;user-select:none}.virtualListWrapper[data-v-e0fb787f]{width:100%;height:100%;position:relative}@keyframes loading-rotate-40e00f20{to{transform:rotate(360deg);-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg)}}.wrapper[data-v-40e00f20]{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-40e00f20 var(--703ef503) linear infinite}
1
+ .lzc-modal[data-v-e171c24d]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-e171c24d]{margin:auto;display:flex;flex-direction:column}.ldio-mm5gwljcryb[data-v-76a2728a]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}.ldio-mm5gwljcryb div[data-v-76a2728a]{box-sizing:content-box;position:absolute;top:50%;left:50%;width:24px;height:24px;border:4px solid #ddd;border-top-color:transparent;border-radius:50%;animation:ldio-mm5gwljcryb-76a2728a 1s linear infinite}@keyframes ldio-mm5gwljcryb-76a2728a{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.loadingio-spinner-rolling-5kajof80q6w[data-v-76a2728a]{width:100%;height:100%;display:inline-block;overflow:hidden;background:#ffffff}@keyframes slide-15ab4094{0%{opacity:1}to{opacity:0}}.animate-toastAnimation[data-v-15ab4094]{animation:slide-15ab4094 .3s linear}.v-leave-active[data-v-edec7292]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-edec7292]{opacity:0}.slider-wrapper[data-v-edec7292]{z-index:100;position:absolute;right:0;touch-action:none}.default-slider[data-v-edec7292]{width:6px;height:100%;background-color:#0003;border-radius:3px;margin-right:3px}.pull-refresh[data-v-3d9ba957]{position:relative}.pull-refresh-box[data-v-3d9ba957]{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-3d9ba957]{position:relative;width:30px;height:30px;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.box-load[data-v-3d9ba957]{position:relative;width:18px;height:18px;border-radius:50%;overflow:hidden;animation:boxs-3d9ba957 3s infinite linear forwards}@keyframes boxs-3d9ba957{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.left-load[data-v-3d9ba957]{position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.left-circle[data-v-3d9ba957]{position:absolute;width:9px;height:18px;border-radius:18px 0 0 18px;transform:rotate(-180deg);transform-origin:9px 9px;animation:pr1A-3d9ba957 3s infinite linear forwards}@keyframes pr1A-3d9ba957{0%{transform:rotate(-180deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(0)}75%{transform:rotate(0)}to{transform:rotate(180deg)}}.right-load[data-v-3d9ba957]{left:9px;position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.right-circle[data-v-3d9ba957]{position:absolute;width:9px;height:18px;border-radius:0 18px 18px 0;transform:rotate(-180deg);transform-origin:0px 9px;animation:pr2A-3d9ba957 3s infinite linear forwards}@keyframes pr2A-3d9ba957{0%{transform:rotate(-180deg)}25%{transform:rotate(0)}50%{transform:rotate(0)}75%{transform:rotate(180deg)}to{transform:rotate(180deg)}}.among-load[data-v-3d9ba957]{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-3d9ba957]{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-3d9ba957]{position:absolute;left:-3px;transform:rotate(120deg);background-color:#fff;width:4px;height:6px}.arrows[data-v-3d9ba957]{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-3d9ba957]{opacity:1}.left-item[data-v-3d9ba957]{text-align:center;height:100px;line-height:100px;color:#333}.left-item-active[data-v-3d9ba957]{color:#e93b3d}.virtualList[data-v-e0fb787f]{width:100%;height:100%;position:absolute;overflow-y:auto;scroll-behavior:smooth;user-select:none}.virtualListWrapper[data-v-e0fb787f]{width:100%;height:100%;position:relative}@keyframes loading-rotate-40e00f20{to{transform:rotate(360deg);-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg)}}.wrapper[data-v-40e00f20]{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-40e00f20 var(--703ef503) linear infinite}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazycatcloud/lzc-toolkit",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "description": "lazycat ui toolkits",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",