@lazycatcloud/lzc-toolkit 0.0.169 → 0.0.170

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { shallowRef as ut, watchEffect as Et, readonly as rt, getCurrentScope as At, onScopeDispose as zt, onMounted as ie, nextTick as fe, ref as m, watch as G, customRef as Lt, unref as E, isRef as jt, getCurrentInstance as Qe, onUpdated as xt, computed as N, reactive as Te, onUnmounted as ct, inject as te, provide as H, defineComponent as q, h as ae, render as me, openBlock as b, createBlock as Ie, Transition as Ye, withCtx as Be, withDirectives as ve, createElementBlock as $, normalizeClass as oe, createElementVNode as _, withModifiers as he, renderSlot as Ee, createCommentVNode as ue, useCssVars as Ue, normalizeProps as Oe, guardReactiveProps as _e, pushScopeId as pe, popScopeId as De, normalizeStyle as K, toDisplayString as Re, vShow as Ae, createVNode as Me, onBeforeUnmount as dt, onActivated as ft, onBeforeMount as Ct, onDeactivated as St, useSlots as Ot, toRef as _t, Fragment as be, mergeProps as ge, renderList as bt, toRefs as vt } from "vue";
1
+ import { shallowRef as ut, watchEffect as Et, readonly as rt, getCurrentScope as At, onScopeDispose as zt, onMounted as ie, nextTick as fe, ref as m, watch as K, customRef as Lt, unref as E, isRef as jt, getCurrentInstance as Qe, onUpdated as xt, computed as N, reactive as Te, onUnmounted as ct, inject as te, provide as H, defineComponent as q, h as ae, render as me, openBlock as b, createBlock as Ie, Transition as Ye, withCtx as Be, withDirectives as ve, createElementBlock as $, normalizeClass as oe, createElementVNode as _, withModifiers as he, renderSlot as Ee, createCommentVNode as ue, useCssVars as Ue, normalizeProps as Oe, guardReactiveProps as _e, pushScopeId as pe, popScopeId as De, normalizeStyle as G, toDisplayString as Re, vShow as Ae, createVNode as Me, onBeforeUnmount as dt, onActivated as ft, onBeforeMount as Ct, onDeactivated as St, useSlots as Ot, toRef as _t, Fragment as be, mergeProps as ge, renderList as bt, toRefs as vt } from "vue";
2
2
  const kt = {
3
3
  created(e, t) {
4
4
  let n, o;
@@ -43,7 +43,7 @@ function Yt(e, t) {
43
43
  const s = m(!0), a = () => {
44
44
  s.value = !0, l();
45
45
  };
46
- G(e, a, { flush: "sync" });
46
+ K(e, a, { flush: "sync" });
47
47
  const f = typeof t == "function" ? t : t.get, u = typeof t == "function" ? void 0 : t.set, d = Lt((v, i) => (o = v, l = i, {
48
48
  get() {
49
49
  return s.value && (n = f(), s.value = !1), o(), n;
@@ -134,7 +134,7 @@ function we(...e) {
134
134
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
135
135
  const s = [], a = () => {
136
136
  s.forEach((v) => v()), s.length = 0;
137
- }, f = (v, i, g, M) => (v.addEventListener(i, g, M), () => v.removeEventListener(i, g, M)), u = G(
137
+ }, f = (v, i, g, M) => (v.addEventListener(i, g, M), () => v.removeEventListener(i, g, M)), u = K(
138
138
  () => [se(t), J(l)],
139
139
  ([v, i]) => {
140
140
  if (a(), !v)
@@ -172,7 +172,7 @@ function ht(e, t, n = {}) {
172
172
  let s;
173
173
  const a = Wt(() => o && "ResizeObserver" in o), f = () => {
174
174
  s && (s.disconnect(), s = void 0);
175
- }, u = N(() => Array.isArray(e) ? e.map((i) => se(i)) : [se(e)]), d = G(
175
+ }, u = N(() => Array.isArray(e) ? e.map((i) => se(i)) : [se(e)]), d = K(
176
176
  u,
177
177
  (i) => {
178
178
  if (f(), a.value && o) {
@@ -216,7 +216,7 @@ function Zt(e, t = { width: 0, height: 0 }, n = {}) {
216
216
  const i = se(e);
217
217
  i && (a.value = "offsetWidth" in i ? i.offsetWidth : t.width, f.value = "offsetHeight" in i ? i.offsetHeight : t.height);
218
218
  });
219
- const d = G(
219
+ const d = K(
220
220
  () => se(e),
221
221
  (i) => {
222
222
  a.value = i ? t.width : 0, f.value = i ? t.height : 0;
@@ -355,7 +355,7 @@ function He(e, t = {}) {
355
355
  if (!o)
356
356
  return;
357
357
  const i = o.getElementById(a) || o.createElement("style");
358
- i.isConnected || (i.id = a, t.media && (i.media = t.media), o.head.appendChild(i)), !n.value && (u = G(
358
+ i.isConnected || (i.id = a, t.media && (i.media = t.media), o.head.appendChild(i)), !n.value && (u = K(
359
359
  f,
360
360
  (g) => {
361
361
  i.textContent = g;
@@ -394,19 +394,19 @@ function qt(e, t) {
394
394
  return T.value.slice(L, I);
395
395
  });
396
396
  ie(() => {
397
- }), ct(() => cancelAnimationFrame(d)), G(
397
+ }), ct(() => cancelAnimationFrame(d)), K(
398
398
  v,
399
399
  () => {
400
400
  (a.width.value || a.height.value) && O();
401
401
  },
402
402
  { deep: !0 }
403
- ), G(
403
+ ), K(
404
404
  [a.width, a.height],
405
405
  ([L, I]) => {
406
406
  (L || I) && O();
407
407
  },
408
408
  { deep: !0 }
409
- ), G(i, () => {
409
+ ), K(i, () => {
410
410
  W(), u();
411
411
  });
412
412
  function W() {
@@ -530,7 +530,7 @@ function No() {
530
530
  }
531
531
  function Io(e, t, n = { deep: !0 }) {
532
532
  const o = m(!1), l = m(/* @__PURE__ */ new Set()), s = m(/* @__PURE__ */ new Map());
533
- G(
533
+ K(
534
534
  e,
535
535
  (c) => {
536
536
  s.value = c.reduce((y, x) => (y.set(x[t], x), y), /* @__PURE__ */ new Map());
@@ -1067,7 +1067,7 @@ const an = /* @__PURE__ */ ee(sn, [["__scopeId", "data-v-92a1804d"]]), un = "dat
1067
1067
  _("img", {
1068
1068
  class: "loading-circle",
1069
1069
  src: E(un),
1070
- style: K(E(n))
1070
+ style: G(E(n))
1071
1071
  }, null, 12, cn)
1072
1072
  ]));
1073
1073
  }
@@ -1123,7 +1123,7 @@ const fn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4Ii
1123
1123
  default: Be(() => [
1124
1124
  _("div", {
1125
1125
  id: o,
1126
- style: K(E(l))
1126
+ style: G(E(l))
1127
1127
  }, [
1128
1128
  ve(_("div", {
1129
1129
  class: oe(`${o} ${e.className}`),
@@ -1135,7 +1135,7 @@ const fn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4Ii
1135
1135
  }, [
1136
1136
  _("div", {
1137
1137
  class: oe(`${o}-content`),
1138
- style: K(E(s))
1138
+ style: G(E(s))
1139
1139
  }, [
1140
1140
  e.showClose ? (b(), $("img", {
1141
1141
  key: 0,
@@ -1151,7 +1151,7 @@ const fn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4Ii
1151
1151
  e.message ? (b(), $("div", {
1152
1152
  key: 2,
1153
1153
  class: oe(`${o}-message`),
1154
- style: K(E(a))
1154
+ style: G(E(a))
1155
1155
  }, Re(e.message), 7)) : ue("", !0)
1156
1156
  ], 6)
1157
1157
  ], 10, gn)
@@ -1353,7 +1353,7 @@ function pt(e) {
1353
1353
  e.onLongPress?.();
1354
1354
  }
1355
1355
  });
1356
- ht(s, (D) => M(D)), G(
1356
+ ht(s, (D) => M(D)), K(
1357
1357
  [l, s],
1358
1358
  ([D, w]) => {
1359
1359
  r(D, w);
@@ -1674,10 +1674,10 @@ const Cn = ["onClick"], Sn = /* @__PURE__ */ q({
1674
1674
  ref_key: "toastWrapper",
1675
1675
  ref: n,
1676
1676
  class: "toastWrapper",
1677
- style: K([E(a), { zIndex: 9999999 }])
1677
+ style: G([E(a), { zIndex: 9999999 }])
1678
1678
  }, [
1679
1679
  _("div", {
1680
- style: K(E(f))
1680
+ style: G(E(f))
1681
1681
  }, [
1682
1682
  _("span", null, Re(e.message), 1)
1683
1683
  ], 4)
@@ -1737,7 +1737,7 @@ const _n = ["xlink:href", "fill", "color"], Ne = /* @__PURE__ */ q({
1737
1737
  }
1738
1738
  return (s, a) => (b(), $("svg", {
1739
1739
  "aria-hidden": "",
1740
- style: K({ ...E(o), ...l(s.$attrs) })
1740
+ style: G({ ...E(o), ...l(s.$attrs) })
1741
1741
  }, [
1742
1742
  _("use", {
1743
1743
  "xlink:href": E(n),
@@ -1834,7 +1834,7 @@ function bn(e) {
1834
1834
  } else
1835
1835
  console.error("useScrollBar:", "\u521D\u59CB\u5316\u5931\u8D25!", { containerEl: t, sliderEl: n });
1836
1836
  }
1837
- return G(i, () => {
1837
+ return K(i, () => {
1838
1838
  Y(), u();
1839
1839
  }), {
1840
1840
  isScrollEnd: f,
@@ -1894,7 +1894,7 @@ const kn = (e) => (pe("data-v-405c22cf"), e = e(), De(), e), Qn = /* @__PURE__ *
1894
1894
  class: "slider-wrapper",
1895
1895
  onMouseenter: M,
1896
1896
  onMouseleave: r,
1897
- style: K(E(d))
1897
+ style: G(E(d))
1898
1898
  }, [
1899
1899
  Ee(T.$slots, "default", {}, () => [
1900
1900
  Qn
@@ -1931,9 +1931,9 @@ const Qo = /* @__PURE__ */ ee(Yn, [["__scopeId", "data-v-405c22cf"]]), Bn = (e)
1931
1931
  transform: `rotate(${100 + a.value}deg)`,
1932
1932
  opacity: f.value
1933
1933
  }));
1934
- G(M, (p) => {
1934
+ K(M, (p) => {
1935
1935
  p === 0 && (l.value = -50, f.value = 0.3);
1936
- }), G(v, (p) => {
1936
+ }), K(v, (p) => {
1937
1937
  if (M.value === 2)
1938
1938
  return;
1939
1939
  const z = Math.pow(p, n);
@@ -1971,32 +1971,32 @@ const Qo = /* @__PURE__ */ ee(Yn, [["__scopeId", "data-v-405c22cf"]]), Bn = (e)
1971
1971
  }), (p, z) => (b(), $("div", Un, [
1972
1972
  _("div", {
1973
1973
  class: "pull-refresh-box",
1974
- style: K(E(h))
1974
+ style: G(E(h))
1975
1975
  }, [
1976
1976
  r.value ? (b(), $("div", Xn, Re(r.value), 1)) : (b(), $("div", Rn, [
1977
1977
  M.value == 2 ? (b(), $("div", $n, [
1978
1978
  _("div", Pn, [
1979
1979
  _("div", {
1980
1980
  class: "left-circle",
1981
- style: K({ backgroundColor: o })
1981
+ style: G({ backgroundColor: o })
1982
1982
  }, null, 4)
1983
1983
  ]),
1984
1984
  _("div", Hn, [
1985
1985
  _("div", {
1986
1986
  class: "right-circle",
1987
- style: K({ backgroundColor: o })
1987
+ style: G({ backgroundColor: o })
1988
1988
  }, null, 4)
1989
1989
  ]),
1990
1990
  Fn
1991
1991
  ])) : (b(), $("div", {
1992
1992
  key: 1,
1993
1993
  class: "pull-circle-line",
1994
- style: K(E(c))
1994
+ style: G(E(c))
1995
1995
  }, [
1996
1996
  _("div", Wn, [
1997
1997
  _("div", {
1998
1998
  class: oe(["arrows", { opacity: u.value }]),
1999
- style: K({ borderBottomColor: o })
1999
+ style: G({ borderBottomColor: o })
2000
2000
  }, null, 6)
2001
2001
  ])
2002
2002
  ], 4))
@@ -2062,7 +2062,7 @@ const Vn = /* @__PURE__ */ ee(Zn, [["__scopeId", "data-v-df5da876"]]), Kn = ["da
2062
2062
  (b(!0), $(be, null, bt(E(s), ({ data: T, index: h }) => (b(), $("div", {
2063
2063
  key: g(T, h),
2064
2064
  "data-key": g(T, h),
2065
- style: K({
2065
+ style: G({
2066
2066
  height: `${E(d)(h).height}px`,
2067
2067
  display: "flex"
2068
2068
  })
@@ -2149,7 +2149,7 @@ function Dt(e, t) {
2149
2149
  const u = t?.value;
2150
2150
  return !u || u.startsWith("video/") ? !0 : u.startsWith("image/") ? o.value ? ao.includes(u) : io.includes(u) : !1;
2151
2151
  });
2152
- e && G(e, (u) => {
2152
+ e && K(e, (u) => {
2153
2153
  n.value = u, l.value = !1;
2154
2154
  });
2155
2155
  function f() {
@@ -2170,7 +2170,7 @@ function Tt() {
2170
2170
  }
2171
2171
  } };
2172
2172
  }
2173
- const uo = (e) => (pe("data-v-91e59dea"), e = e(), De(), e), ro = ["title"], co = /* @__PURE__ */ uo(() => /* @__PURE__ */ _("span", { class: "tip" }, "\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301", -1)), fo = ["src"], vo = ["src"], Mo = ["title"], go = { inheritAttrs: !1 }, ho = /* @__PURE__ */ q({
2173
+ const uo = (e) => (pe("data-v-a5909fc3"), e = e(), De(), e), ro = ["title"], co = /* @__PURE__ */ uo(() => /* @__PURE__ */ _("span", { class: "tip" }, "\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301", -1)), fo = ["src"], vo = ["src"], Mo = ["title"], go = { inheritAttrs: !1 }, ho = /* @__PURE__ */ q({
2174
2174
  ...go,
2175
2175
  __name: "Image",
2176
2176
  props: {
@@ -2182,12 +2182,15 @@ const uo = (e) => (pe("data-v-91e59dea"), e = e(), De(), e), ro = ["title"], co
2182
2182
  noSupportIconName: { default: "\u4E0D\u652F\u6301\u663E\u793A" },
2183
2183
  badImageIconName: { default: "\u56FE\u7247\u635F\u574F" }
2184
2184
  },
2185
- emits: ["load"],
2185
+ emits: ["load", "noSupport"],
2186
2186
  setup(e, { emit: t }) {
2187
2187
  const n = e, o = m(), l = m(), s = m(!1), a = m(!1), f = m(!1), { src: u, mime: d } = vt(n), { imgSrc: v, isSupport: i, hasError: g, handleError: M } = Dt(u, d), { vImageCancel: r } = Tt(), { LoadingComp: T } = yt({
2188
2188
  component: an,
2189
2189
  delay: 300
2190
2190
  }), h = Qt(() => f.value && n.autoRemoveThumbnail ? !1 : n.thumbnail && !f.value);
2191
+ K(i, (p) => {
2192
+ p || t("noSupport");
2193
+ });
2191
2194
  function c() {
2192
2195
  a.value = !0;
2193
2196
  }
@@ -2255,7 +2258,7 @@ const uo = (e) => (pe("data-v-91e59dea"), e = e(), De(), e), ro = ["title"], co
2255
2258
  ], 64));
2256
2259
  }
2257
2260
  });
2258
- const Uo = /* @__PURE__ */ ee(ho, [["__scopeId", "data-v-91e59dea"]]), mo = ["title"], yo = ["src"], po = ["title"], Do = /* @__PURE__ */ q({
2261
+ const Uo = /* @__PURE__ */ ee(ho, [["__scopeId", "data-v-a5909fc3"]]), mo = ["title"], yo = ["src"], po = ["title"], Do = /* @__PURE__ */ q({
2259
2262
  __name: "Thumbnail",
2260
2263
  props: {
2261
2264
  src: null,
package/dist/index.umd.js CHANGED
@@ -17,4 +17,4 @@
17
17
  }
18
18
  .hide-scrollbar::-webkit-scrollbar {
19
19
  display: none;
20
- }`,{id:"styletag_lzc_scrollbar",manual:!0});e.onMounted(()=>{h(),e.nextTick(()=>{i.init()})}),e.onUnmounted(()=>{i.modifySliderEventListener("remove")});function m(){g.value=!0}function u(){g.value=!1}return n({uScrollBarReturn:i}),(N,p)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:s,class:"slider-wrapper",onMouseenter:m,onMouseleave:u,style:e.normalizeStyle(e.unref(f))},[e.renderSlot(N.$slots,"default",{},()=>[Kt],!0)],36),[[e.vShow,e.unref(r)]])]),_:3}))}}),Xn="",qt=V(Gt,[["__scopeId","data-v-405c22cf"]]),Jt=t=>(e.pushScopeId("data-v-df5da876"),t=t(),e.popScopeId(),t),en={class:"pull-refresh"},tn={key:0,class:"pull-arrow-circle"},nn={key:0,class:"box-load"},on={class:"left-load"},ln={class:"right-load"},sn=Jt(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),an={class:"pull-arrow"},rn={key:1},cn=e.defineComponent({__name:"PullRefresh",props:{refresh:null,refreshOff:{type:Boolean,default:!1},scrollTop:null,pullRefreshContainer:null},setup(t){const n=t,o=.7,l="#2EC1CC",s=e.ref(-999),a=e.ref(1),i=e.ref(0),M=e.ref(.3),c=e.ref(!1),f=e.ref(0),g=e.ref(0),r=e.ref(0),h=e.ref(0),m=e.ref(0),u=e.ref(),N=e.computed(()=>n.scrollTop),p=e.computed(()=>({transition:`${h.value}ms`,transform:`translate3d(0,${s.value}px, 0) scale(${a.value})`})),d=e.computed(()=>({borderColor:l,transition:h.value,transform:`rotate(${100+i.value}deg)`,opacity:M.value}));e.watch(m,D=>{D===0&&(s.value=-50,M.value=.3)}),e.watch(g,D=>{if(m.value===2)return;const z=Math.pow(D,o);z===0&&(s.value=-50),z<=50&&z>0&&(s.value=z-45,i.value=Math.pow(z,1.5),z>15?c.value=!0:c.value=!1),z>50&&(s.value=5,M.value=1,m.value)});const y=e.ref(0),j=D=>{y.value=D.touches[0].pageY},R=D=>{const z=D.touches[0].pageY-y.value;y.value=D.touches[0].pageY,!n.refreshOff&&(!n?.refresh||m.value!==2&&N.value===0&&(f.value===0&&(f.value=D.touches[0].pageY),r.value=0,x.value.style.transition=`${r.value}ms`,h.value=0,g.value=D.touches[0].pageY-f.value,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,z>0&&D.preventDefault()))},U=()=>{if(n.refreshOff||!n?.refresh||m.value===2)return;f.value=0,r.value=300;const D=Math.pow(g.value,o);x.value.style.transition=`${r.value}ms`,D>50?(m.value=2,g.value=Math.pow(50,1/o),x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,h.value=300,n?.refresh&&n?.refresh().then(()=>{u.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{u.value="\u5237\u65B0\u5931\u8D25"}).finally(()=>{setTimeout(()=>{m.value=0,g.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,setTimeout(()=>{u.value=void 0},h.value)},600)})):(g.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`)},x=e.ref(null);return e.onMounted(()=>{n?.refreshOff||(x.value=document.querySelector(n.pullRefreshContainer),x.value?.addEventListener("touchstart",j),x.value?.addEventListener("touchmove",R),x.value?.addEventListener("touchend",U))}),(D,z)=>(e.openBlock(),e.createElementBlock("div",en,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(p))},[u.value?(e.openBlock(),e.createElementBlock("div",rn,e.toDisplayString(u.value),1)):(e.openBlock(),e.createElementBlock("div",tn,[m.value==2?(e.openBlock(),e.createElementBlock("div",nn,[e.createElementVNode("div",on,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",ln,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),sn])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(d))},[e.createElementVNode("div",an,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:c.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),Zn="",Re=V(cn,[["__scopeId","data-v-df5da876"]]),un=["data-key"],dn={inheritAttrs:!1},fn=e.defineComponent({...dn,__name:"VirtualList",props:{data:null,getItemKey:null,itemHeight:null,overscan:{default:10},refresh:null,refreshOff:{type:Boolean,default:!1}},emits:["scrollEnd"],setup(t,{expose:n,emit:o}){const l=t,s=Ce(e.toRef(l,"data"),{itemHeight:m=>l.itemHeight(l.data[m]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:a,containerProps:i,wrapperProps:M,innerProps:c,getItemHeightData:f,scrollTop:g}=s;n({vListReturn:s});const r="virtualListWrapper"+new Date().getTime();function h(m,u){return l.getItemKey?l.getItemKey(m,u):`${u}`}return(m,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Re,{refresh:t.refresh,refreshOff:t.refreshOff,scrollTop:e.unref(g),pullRefreshContainer:"#"+r},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:r},[e.createElementVNode("div",e.mergeProps({onScrollPassive:u[0]||(u[0]=(...N)=>e.unref(i).onScroll&&e.unref(i).onScroll(...N)),ref:e.unref(i).ref,class:"virtualList"},m.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(M))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(c))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),({data:N,index:p})=>(e.openBlock(),e.createElementBlock("div",{key:h(N,p),"data-key":h(N,p),style:e.normalizeStyle({height:`${e.unref(f)(p).height}px`,display:"flex"})},[e.renderSlot(m.$slots,"default",{data:N,index:p},void 0,!0)],12,un))),128))],16)],16)],16)])],64))}}),Kn="",Mn=V(fn,[["__scopeId","data-v-dfe60586"]]),Ee=t=>(e.pushScopeId("data-v-33519afd"),t=t(),e.popScopeId(),t),gn={style:{position:"absolute"}},mn=Ee(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),hn=["width","height"],pn=[Ee(()=>e.createElementVNode("title",null,"logo",-1)),Ee(()=>e.createElementVNode("g",{id:"group-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M260,0 L260,260 L0,260 L0,0 L260,0 Z M173.523673,59.478426 L168.543315,62.4752911 C160.9116,67.0675753 153.089651,71.6349169 145.95806,75.5800674 C142.130471,77.697465 141.695584,77.8197038 137.842227,77.8197038 L123.620155,77.8194132 C120.16747,77.8127705 119.807362,77.673506 116.200006,75.5626777 L115.86045,75.3641139 C113.295911,73.8653877 110.281688,72.1255413 103.60737,68.2932221 C100.032855,66.2486474 96.3694634,64.1645054 92.8123362,62.1486494 L88.1098826,59.4837265 L86.4238232,64.6191026 C83.7525911,72.7551036 81.4062856,80.7653112 79.9222326,87.4417622 C78.9474243,91.8460343 78.2380884,93.2327734 74.2195073,98.9752733 C73.3694777,100.207223 72.630007,101.343155 72.0710109,102.283257 C67.5201215,110.313953 65.2975905,119.339776 65.6004928,128.457001 C66.1750084,143.318086 73.5375842,157.955758 85.6992798,168.473706 C96.9509724,178.204645 111.5737,183.826593 127.858154,184.209647 L130.088901,184.229303 C130.3376,186.684365 130.531293,189.982467 130.67329,193.770543 L130.951876,201.202421 L137.351863,197.414204 C154.766094,187.106546 169.345402,176.172255 180.160428,163.526119 C190.679421,151.226139 196.179795,138.745301 195.345608,125.762609 C194.727393,116.39373 192.289395,107.848059 187.082918,99.046007 C186.275378,97.7498121 185.738167,97.0056347 184.495395,95.37077 C181.975467,92.0558065 181.159964,90.5424149 180.493634,87.4039653 C178.713605,78.9218624 176.863265,71.4211865 175.088993,65.0761883 L173.523673,59.478426 Z M93.177,72.537 L93.8226224,72.9040486 C95.6240552,73.9292933 97.4266638,74.9575498 99.2051531,75.9748184 C106.15023,79.9626119 109.111289,81.6727026 111.728598,83.2042091 C116.752992,86.1442112 118.538634,86.6733184 123.964152,86.6733184 L137.842227,86.6733184 C143.264867,86.6733184 145.156143,86.1417146 150.243765,83.3272749 L153.915953,81.276117 C157.635687,79.179445 161.486156,76.9543599 165.360239,74.6740288 L168.062636,73.0710869 L168.527808,74.8705095 C169.630114,79.2468106 170.742831,84.0476913 171.830914,89.2325336 C172.820403,93.8931438 174.207097,96.4665356 177.447051,100.728693 C178.530829,102.154402 178.952253,102.738183 179.517404,103.643654 C183.925243,111.098001 185.980436,118.301862 186.51071,126.337939 C187.173867,136.658947 182.587388,147.066077 173.431821,157.771787 L171.503004,159.959402 C163.609627,168.649028 153.591728,176.617571 141.90907,184.187495 L139.123121,185.960576 L139.113767,185.819152 C139.047016,184.932364 138.975009,184.102769 138.897435,183.336992 C138.769034,182.069465 138.589718,180.629122 138.367155,179.053334 L137.795381,175.005053 L133.714496,175.253822 C132.500079,175.327852 131.274186,175.368647 130.037423,175.375838 C114.999567,175.463276 101.629066,170.545082 91.4908024,161.777083 C81.1421175,152.827103 74.9249947,140.466728 74.4483613,128.138982 C74.2004611,120.675327 76.0261036,113.26129 79.7275986,106.727863 C80.126032,106.059698 80.7615655,105.083428 81.4902403,104.02721 C86.0997527,97.4404488 87.2937074,95.1062887 88.5657754,89.358959 C89.6596645,84.4377825 91.2792852,78.6447463 93.1627518,72.6043699 L93.177,72.537 Z",id:"path-1",fill:"#FFF"})],-1))],yn=e.defineComponent({__name:"Loading",props:{width:{default:"90"},height:{default:"90"},duration:{default:1300}},setup(t){const n=t;e.useCssVars(l=>({"312487ac":o}));const o=`${n.duration}ms`;return(l,s)=>(e.openBlock(),e.createElementBlock("div",gn,[mn,(e.openBlock(),e.createElementBlock("svg",{style:{position:"relative"},width:t.width,height:t.height,viewBox:"0 0 260 260",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},pn,8,hn))]))}}),Jn="",Dn=V(yn,[["__scopeId","data-v-33519afd"]]),Tn=["image/avif","image/bmp","image/jpg","image/jpeg","image/gif","image/heic","image/heif","image/png","image/tga","image/webp","image/wbmp","image/svg+xml"],Nn=["image/bmp","image/jpg","image/jpeg","image/gif","image/heic","image/heif","image/png","image/webp","image/svg+xml"];function Pe(t,n){const o=e.ref(t?.value),l=e.computed(()=>o.value?.startsWith("/_lzc")),s=e.ref(!1),a=e.computed(()=>s.value),i=e.computed(()=>{const c=n?.value;return!c||c.startsWith("video/")?!0:c.startsWith("image/")?l.value?Tn.includes(c):Nn.includes(c):!1});t&&e.watch(t,c=>{o.value=c,s.value=!1});function M(){s.value=!0}return{imgSrc:o,isError:s,hasError:a,isSupport:i,handleError:M}}function $e(){return{vImageCancel:{beforeUnmount(n){!n||(n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}}}}const wn=t=>(e.pushScopeId("data-v-91e59dea"),t=t(),e.popScopeId(),t),En=["title"],vn=wn(()=>e.createElementVNode("span",{class:"tip"},"\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301",-1)),In=["src"],zn=["src"],An=["title"],Ln={inheritAttrs:!1},jn=e.defineComponent({...Ln,__name:"Image",props:{src:null,mime:null,thumbnail:null,isShowSrc:{type:Boolean},autoRemoveThumbnail:{type:Boolean},noSupportIconName:{default:"\u4E0D\u652F\u6301\u663E\u793A"},badImageIconName:{default:"\u56FE\u7247\u635F\u574F"}},emits:["load"],setup(t,{emit:n}){const o=t,l=e.ref(),s=e.ref(),a=e.ref(!1),i=e.ref(!1),M=e.ref(!1),{src:c,mime:f}=e.toRefs(o),{imgSrc:g,isSupport:r,hasError:h,handleError:m}=Pe(c,f),{vImageCancel:u}=$e(),{LoadingComp:N}=Te({component:xe,delay:300}),p=Ve(()=>M.value&&o.autoRemoveThumbnail?!1:o.thumbnail&&!M.value);function d(){i.value=!0}function y(){i.value&&(M.value=!0)}async function j(){d(),p.value?(l.value?.addEventListener("animationend",R),l.value?.classList.add("showing"),await Ne(10)):l.value&&n("load",l.value),l.value?.classList.remove("src-class")}function R(){l.value?.removeEventListener("animationend",R),l.value?.classList.remove("showing"),l.value&&n("load",l.value),y()}async function U(D){D?j():s.value&&n("load",s.value),a.value=!0}function x(D){D?m():d(),a.value=!0}return(D,z)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(r)&&!a.value?(e.openBlock(),e.createBlock(e.unref(N),{key:0})):e.createCommentVNode("",!0),e.unref(r)?e.unref(h)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},D.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(ee,{class:"bad-image",name:t.badImageIconName},null,8,["name"])],16,An)):e.renderSlot(D.$slots,"default",{key:2,src:e.unref(g),onLoad:U,onError:x},()=>[e.unref(p)?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},D.$attrs,{ref_key:"thumbnailRef",ref:s,onLoad:z[0]||(z[0]=O=>U()),onError:z[1]||(z[1]=O=>x()),src:t.thumbnail}),null,16,In)),[[e.unref(u)]]):e.createCommentVNode("",!0),t.isShowSrc||i.value?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:1},D.$attrs,{ref_key:"srcRef",ref:l,class:"src-class",onLoad:z[2]||(z[2]=O=>U(!0)),onError:z[3]||(z[3]=O=>x(!0)),src:e.unref(g)}),null,16,zn)),[[e.unref(u)],[e.vShow,i.value]]):e.createCommentVNode("",!0)],!0):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},D.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(ee,{class:"no-support-icon",name:t.noSupportIconName},null,8,["name"]),vn],16,En))],64))}}),eo="",Cn=V(jn,[["__scopeId","data-v-91e59dea"]]),Sn=["title"],xn=["src"],_n=["title"],bn=e.defineComponent({__name:"Thumbnail",props:{src:null,mime:null},setup(t){const n=t,o=e.ref(!1),{src:l,mime:s}=e.toRefs(n),{imgSrc:a,hasError:i,isSupport:M,handleError:c}=Pe(l,s),{vImageCancel:f}=$e();return(g,r)=>e.unref(M)?e.unref(i)?(e.openBlock(),e.createElementBlock("div",{key:2,title:e.unref(a),class:"icon-wrap"},[e.createVNode(ee,{class:"icon",name:"\u56FE\u7247\u635F\u574F"})],8,_n)):e.withDirectives((e.openBlock(),e.createElementBlock("img",{key:1,fetchpriority:"high",onLoad:r[0]||(r[0]=h=>o.value=!0),onError:r[1]||(r[1]=(...h)=>e.unref(c)&&e.unref(c)(...h)),src:e.unref(a)},null,40,xn)),[[e.unref(f)],[e.vShow,o.value]]):(e.openBlock(),e.createElementBlock("div",{key:0,title:e.unref(a),class:"icon-wrap"},[e.createVNode(ee,{class:"icon",name:"\u672A\u77E5\u7C7B\u578B"})],8,Sn))}}),to="",On=V(bn,[["__scopeId","data-v-5a7af152"]]);E.DefaultLoading=xe,E.Image=Cn,E.Loading=Dn,E.LoadingToast=_e,E.PageLoading=wt,E.PullRefresh=Re,E.ScrollBar=qt,E.SvgIcon=ee,E.Thumbnail=On,E.ToastCreator=Wt,E.VirtualList=Mn,E.allSelectedKey=ie,E.closeDialogKey=Se,E.dialogController=gt,E.getTransform=Me,E.isAllSelectedKey=de,E.isSelectedKey=ae,E.once=Ye,E.selectAllKey=ce,E.selectKey=re,E.selectedCountKey=fe,E.toggleAllKey=le,E.toggleKey=se,E.unselectAllKey=G,E.unselectKey=ue,E.useBackPress=$t,E.useDelayAsync=St,E.useDelayLoad=mt,E.useDelayLoadComp=Te,E.useDownDrag=Pt,E.useDragSelect=De,E.useDragSelectByMobile=dt,E.useDragSelectByPc=ut,E.useRouterActivated=Qe,E.useScaleImageByMobile=Rt,E.useScaleImageByPc=Ut,E.useSelectable=rt,E.useSelectableByBase=ct,E.useSelectableInjectors=it,E.useVirtualList=Ce,E.vDebounceClick=He,E.vSingleClick=Ie,Object.defineProperties(E,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
20
+ }`,{id:"styletag_lzc_scrollbar",manual:!0});e.onMounted(()=>{h(),e.nextTick(()=>{i.init()})}),e.onUnmounted(()=>{i.modifySliderEventListener("remove")});function m(){g.value=!0}function u(){g.value=!1}return n({uScrollBarReturn:i}),(N,p)=>(e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"sliderRef",ref:s,class:"slider-wrapper",onMouseenter:m,onMouseleave:u,style:e.normalizeStyle(e.unref(f))},[e.renderSlot(N.$slots,"default",{},()=>[Kt],!0)],36),[[e.vShow,e.unref(r)]])]),_:3}))}}),Xn="",qt=V(Gt,[["__scopeId","data-v-405c22cf"]]),Jt=t=>(e.pushScopeId("data-v-df5da876"),t=t(),e.popScopeId(),t),en={class:"pull-refresh"},tn={key:0,class:"pull-arrow-circle"},nn={key:0,class:"box-load"},on={class:"left-load"},ln={class:"right-load"},sn=Jt(()=>e.createElementVNode("div",{class:"among-load"},null,-1)),an={class:"pull-arrow"},rn={key:1},cn=e.defineComponent({__name:"PullRefresh",props:{refresh:null,refreshOff:{type:Boolean,default:!1},scrollTop:null,pullRefreshContainer:null},setup(t){const n=t,o=.7,l="#2EC1CC",s=e.ref(-999),a=e.ref(1),i=e.ref(0),M=e.ref(.3),c=e.ref(!1),f=e.ref(0),g=e.ref(0),r=e.ref(0),h=e.ref(0),m=e.ref(0),u=e.ref(),N=e.computed(()=>n.scrollTop),p=e.computed(()=>({transition:`${h.value}ms`,transform:`translate3d(0,${s.value}px, 0) scale(${a.value})`})),d=e.computed(()=>({borderColor:l,transition:h.value,transform:`rotate(${100+i.value}deg)`,opacity:M.value}));e.watch(m,D=>{D===0&&(s.value=-50,M.value=.3)}),e.watch(g,D=>{if(m.value===2)return;const z=Math.pow(D,o);z===0&&(s.value=-50),z<=50&&z>0&&(s.value=z-45,i.value=Math.pow(z,1.5),z>15?c.value=!0:c.value=!1),z>50&&(s.value=5,M.value=1,m.value)});const y=e.ref(0),j=D=>{y.value=D.touches[0].pageY},R=D=>{const z=D.touches[0].pageY-y.value;y.value=D.touches[0].pageY,!n.refreshOff&&(!n?.refresh||m.value!==2&&N.value===0&&(f.value===0&&(f.value=D.touches[0].pageY),r.value=0,x.value.style.transition=`${r.value}ms`,h.value=0,g.value=D.touches[0].pageY-f.value,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,z>0&&D.preventDefault()))},U=()=>{if(n.refreshOff||!n?.refresh||m.value===2)return;f.value=0,r.value=300;const D=Math.pow(g.value,o);x.value.style.transition=`${r.value}ms`,D>50?(m.value=2,g.value=Math.pow(50,1/o),x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,h.value=300,n?.refresh&&n?.refresh().then(()=>{u.value="\u5237\u65B0\u6210\u529F"}).catch(()=>{u.value="\u5237\u65B0\u5931\u8D25"}).finally(()=>{setTimeout(()=>{m.value=0,g.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`,setTimeout(()=>{u.value=void 0},h.value)},600)})):(g.value=0,x.value.style.transform=`translate3d(0, ${Math.pow(g.value,o)}px, 0)`)},x=e.ref(null);return e.onMounted(()=>{n?.refreshOff||(x.value=document.querySelector(n.pullRefreshContainer),x.value?.addEventListener("touchstart",j),x.value?.addEventListener("touchmove",R),x.value?.addEventListener("touchend",U))}),(D,z)=>(e.openBlock(),e.createElementBlock("div",en,[e.createElementVNode("div",{class:"pull-refresh-box",style:e.normalizeStyle(e.unref(p))},[u.value?(e.openBlock(),e.createElementBlock("div",rn,e.toDisplayString(u.value),1)):(e.openBlock(),e.createElementBlock("div",tn,[m.value==2?(e.openBlock(),e.createElementBlock("div",nn,[e.createElementVNode("div",on,[e.createElementVNode("div",{class:"left-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),e.createElementVNode("div",ln,[e.createElementVNode("div",{class:"right-circle",style:e.normalizeStyle({backgroundColor:l})},null,4)]),sn])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"pull-circle-line",style:e.normalizeStyle(e.unref(d))},[e.createElementVNode("div",an,[e.createElementVNode("div",{class:e.normalizeClass(["arrows",{opacity:c.value}]),style:e.normalizeStyle({borderBottomColor:l})},null,6)])],4))]))],4)]))}}),Zn="",Re=V(cn,[["__scopeId","data-v-df5da876"]]),un=["data-key"],dn={inheritAttrs:!1},fn=e.defineComponent({...dn,__name:"VirtualList",props:{data:null,getItemKey:null,itemHeight:null,overscan:{default:10},refresh:null,refreshOff:{type:Boolean,default:!1}},emits:["scrollEnd"],setup(t,{expose:n,emit:o}){const l=t,s=Ce(e.toRef(l,"data"),{itemHeight:m=>l.itemHeight(l.data[m]),overscan:l.overscan,scrollEndHook:()=>{o("scrollEnd")}}),{list:a,containerProps:i,wrapperProps:M,innerProps:c,getItemHeightData:f,scrollTop:g}=s;n({vListReturn:s});const r="virtualListWrapper"+new Date().getTime();function h(m,u){return l.getItemKey?l.getItemKey(m,u):`${u}`}return(m,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Re,{refresh:t.refresh,refreshOff:t.refreshOff,scrollTop:e.unref(g),pullRefreshContainer:"#"+r},null,8,["refresh","refreshOff","scrollTop","pullRefreshContainer"]),e.createElementVNode("div",{class:"virtualListWrapper",id:r},[e.createElementVNode("div",e.mergeProps({onScrollPassive:u[0]||(u[0]=(...N)=>e.unref(i).onScroll&&e.unref(i).onScroll(...N)),ref:e.unref(i).ref,class:"virtualList"},m.$attrs),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(M))),[e.createElementVNode("div",e.normalizeProps(e.guardReactiveProps(e.unref(c))),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),({data:N,index:p})=>(e.openBlock(),e.createElementBlock("div",{key:h(N,p),"data-key":h(N,p),style:e.normalizeStyle({height:`${e.unref(f)(p).height}px`,display:"flex"})},[e.renderSlot(m.$slots,"default",{data:N,index:p},void 0,!0)],12,un))),128))],16)],16)],16)])],64))}}),Kn="",Mn=V(fn,[["__scopeId","data-v-dfe60586"]]),Ee=t=>(e.pushScopeId("data-v-33519afd"),t=t(),e.popScopeId(),t),gn={style:{position:"absolute"}},mn=Ee(()=>e.createElementVNode("div",{class:"wrapper"},null,-1)),hn=["width","height"],pn=[Ee(()=>e.createElementVNode("title",null,"logo",-1)),Ee(()=>e.createElementVNode("g",{id:"group-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M260,0 L260,260 L0,260 L0,0 L260,0 Z M173.523673,59.478426 L168.543315,62.4752911 C160.9116,67.0675753 153.089651,71.6349169 145.95806,75.5800674 C142.130471,77.697465 141.695584,77.8197038 137.842227,77.8197038 L123.620155,77.8194132 C120.16747,77.8127705 119.807362,77.673506 116.200006,75.5626777 L115.86045,75.3641139 C113.295911,73.8653877 110.281688,72.1255413 103.60737,68.2932221 C100.032855,66.2486474 96.3694634,64.1645054 92.8123362,62.1486494 L88.1098826,59.4837265 L86.4238232,64.6191026 C83.7525911,72.7551036 81.4062856,80.7653112 79.9222326,87.4417622 C78.9474243,91.8460343 78.2380884,93.2327734 74.2195073,98.9752733 C73.3694777,100.207223 72.630007,101.343155 72.0710109,102.283257 C67.5201215,110.313953 65.2975905,119.339776 65.6004928,128.457001 C66.1750084,143.318086 73.5375842,157.955758 85.6992798,168.473706 C96.9509724,178.204645 111.5737,183.826593 127.858154,184.209647 L130.088901,184.229303 C130.3376,186.684365 130.531293,189.982467 130.67329,193.770543 L130.951876,201.202421 L137.351863,197.414204 C154.766094,187.106546 169.345402,176.172255 180.160428,163.526119 C190.679421,151.226139 196.179795,138.745301 195.345608,125.762609 C194.727393,116.39373 192.289395,107.848059 187.082918,99.046007 C186.275378,97.7498121 185.738167,97.0056347 184.495395,95.37077 C181.975467,92.0558065 181.159964,90.5424149 180.493634,87.4039653 C178.713605,78.9218624 176.863265,71.4211865 175.088993,65.0761883 L173.523673,59.478426 Z M93.177,72.537 L93.8226224,72.9040486 C95.6240552,73.9292933 97.4266638,74.9575498 99.2051531,75.9748184 C106.15023,79.9626119 109.111289,81.6727026 111.728598,83.2042091 C116.752992,86.1442112 118.538634,86.6733184 123.964152,86.6733184 L137.842227,86.6733184 C143.264867,86.6733184 145.156143,86.1417146 150.243765,83.3272749 L153.915953,81.276117 C157.635687,79.179445 161.486156,76.9543599 165.360239,74.6740288 L168.062636,73.0710869 L168.527808,74.8705095 C169.630114,79.2468106 170.742831,84.0476913 171.830914,89.2325336 C172.820403,93.8931438 174.207097,96.4665356 177.447051,100.728693 C178.530829,102.154402 178.952253,102.738183 179.517404,103.643654 C183.925243,111.098001 185.980436,118.301862 186.51071,126.337939 C187.173867,136.658947 182.587388,147.066077 173.431821,157.771787 L171.503004,159.959402 C163.609627,168.649028 153.591728,176.617571 141.90907,184.187495 L139.123121,185.960576 L139.113767,185.819152 C139.047016,184.932364 138.975009,184.102769 138.897435,183.336992 C138.769034,182.069465 138.589718,180.629122 138.367155,179.053334 L137.795381,175.005053 L133.714496,175.253822 C132.500079,175.327852 131.274186,175.368647 130.037423,175.375838 C114.999567,175.463276 101.629066,170.545082 91.4908024,161.777083 C81.1421175,152.827103 74.9249947,140.466728 74.4483613,128.138982 C74.2004611,120.675327 76.0261036,113.26129 79.7275986,106.727863 C80.126032,106.059698 80.7615655,105.083428 81.4902403,104.02721 C86.0997527,97.4404488 87.2937074,95.1062887 88.5657754,89.358959 C89.6596645,84.4377825 91.2792852,78.6447463 93.1627518,72.6043699 L93.177,72.537 Z",id:"path-1",fill:"#FFF"})],-1))],yn=e.defineComponent({__name:"Loading",props:{width:{default:"90"},height:{default:"90"},duration:{default:1300}},setup(t){const n=t;e.useCssVars(l=>({"312487ac":o}));const o=`${n.duration}ms`;return(l,s)=>(e.openBlock(),e.createElementBlock("div",gn,[mn,(e.openBlock(),e.createElementBlock("svg",{style:{position:"relative"},width:t.width,height:t.height,viewBox:"0 0 260 260",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},pn,8,hn))]))}}),Jn="",Dn=V(yn,[["__scopeId","data-v-33519afd"]]),Tn=["image/avif","image/bmp","image/jpg","image/jpeg","image/gif","image/heic","image/heif","image/png","image/tga","image/webp","image/wbmp","image/svg+xml"],Nn=["image/bmp","image/jpg","image/jpeg","image/gif","image/heic","image/heif","image/png","image/webp","image/svg+xml"];function Pe(t,n){const o=e.ref(t?.value),l=e.computed(()=>o.value?.startsWith("/_lzc")),s=e.ref(!1),a=e.computed(()=>s.value),i=e.computed(()=>{const c=n?.value;return!c||c.startsWith("video/")?!0:c.startsWith("image/")?l.value?Tn.includes(c):Nn.includes(c):!1});t&&e.watch(t,c=>{o.value=c,s.value=!1});function M(){s.value=!0}return{imgSrc:o,isError:s,hasError:a,isSupport:i,handleError:M}}function $e(){return{vImageCancel:{beforeUnmount(n){!n||(n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}}}}const wn=t=>(e.pushScopeId("data-v-a5909fc3"),t=t(),e.popScopeId(),t),En=["title"],vn=wn(()=>e.createElementVNode("span",{class:"tip"},"\u5F53\u524D\u683C\u5F0F\u4E0D\u652F\u6301",-1)),In=["src"],zn=["src"],An=["title"],Ln={inheritAttrs:!1},jn=e.defineComponent({...Ln,__name:"Image",props:{src:null,mime:null,thumbnail:null,isShowSrc:{type:Boolean},autoRemoveThumbnail:{type:Boolean},noSupportIconName:{default:"\u4E0D\u652F\u6301\u663E\u793A"},badImageIconName:{default:"\u56FE\u7247\u635F\u574F"}},emits:["load","noSupport"],setup(t,{emit:n}){const o=t,l=e.ref(),s=e.ref(),a=e.ref(!1),i=e.ref(!1),M=e.ref(!1),{src:c,mime:f}=e.toRefs(o),{imgSrc:g,isSupport:r,hasError:h,handleError:m}=Pe(c,f),{vImageCancel:u}=$e(),{LoadingComp:N}=Te({component:xe,delay:300}),p=Ve(()=>M.value&&o.autoRemoveThumbnail?!1:o.thumbnail&&!M.value);e.watch(r,D=>{D||n("noSupport")});function d(){i.value=!0}function y(){i.value&&(M.value=!0)}async function j(){d(),p.value?(l.value?.addEventListener("animationend",R),l.value?.classList.add("showing"),await Ne(10)):l.value&&n("load",l.value),l.value?.classList.remove("src-class")}function R(){l.value?.removeEventListener("animationend",R),l.value?.classList.remove("showing"),l.value&&n("load",l.value),y()}async function U(D){D?j():s.value&&n("load",s.value),a.value=!0}function x(D){D?m():d(),a.value=!0}return(D,z)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(r)&&!a.value?(e.openBlock(),e.createBlock(e.unref(N),{key:0})):e.createCommentVNode("",!0),e.unref(r)?e.unref(h)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},D.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(ee,{class:"bad-image",name:t.badImageIconName},null,8,["name"])],16,An)):e.renderSlot(D.$slots,"default",{key:2,src:e.unref(g),onLoad:U,onError:x},()=>[e.unref(p)?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},D.$attrs,{ref_key:"thumbnailRef",ref:s,onLoad:z[0]||(z[0]=O=>U()),onError:z[1]||(z[1]=O=>x()),src:t.thumbnail}),null,16,In)),[[e.unref(u)]]):e.createCommentVNode("",!0),t.isShowSrc||i.value?e.withDirectives((e.openBlock(),e.createElementBlock("img",e.mergeProps({key:1},D.$attrs,{ref_key:"srcRef",ref:l,class:"src-class",onLoad:z[2]||(z[2]=O=>U(!0)),onError:z[3]||(z[3]=O=>x(!0)),src:e.unref(g)}),null,16,zn)),[[e.unref(u)],[e.vShow,i.value]]):e.createCommentVNode("",!0)],!0):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},D.$attrs,{title:e.unref(g),class:"tip-wrap"}),[e.createVNode(ee,{class:"no-support-icon",name:t.noSupportIconName},null,8,["name"]),vn],16,En))],64))}}),eo="",Cn=V(jn,[["__scopeId","data-v-a5909fc3"]]),Sn=["title"],xn=["src"],_n=["title"],bn=e.defineComponent({__name:"Thumbnail",props:{src:null,mime:null},setup(t){const n=t,o=e.ref(!1),{src:l,mime:s}=e.toRefs(n),{imgSrc:a,hasError:i,isSupport:M,handleError:c}=Pe(l,s),{vImageCancel:f}=$e();return(g,r)=>e.unref(M)?e.unref(i)?(e.openBlock(),e.createElementBlock("div",{key:2,title:e.unref(a),class:"icon-wrap"},[e.createVNode(ee,{class:"icon",name:"\u56FE\u7247\u635F\u574F"})],8,_n)):e.withDirectives((e.openBlock(),e.createElementBlock("img",{key:1,fetchpriority:"high",onLoad:r[0]||(r[0]=h=>o.value=!0),onError:r[1]||(r[1]=(...h)=>e.unref(c)&&e.unref(c)(...h)),src:e.unref(a)},null,40,xn)),[[e.unref(f)],[e.vShow,o.value]]):(e.openBlock(),e.createElementBlock("div",{key:0,title:e.unref(a),class:"icon-wrap"},[e.createVNode(ee,{class:"icon",name:"\u672A\u77E5\u7C7B\u578B"})],8,Sn))}}),to="",On=V(bn,[["__scopeId","data-v-5a7af152"]]);E.DefaultLoading=xe,E.Image=Cn,E.Loading=Dn,E.LoadingToast=_e,E.PageLoading=wt,E.PullRefresh=Re,E.ScrollBar=qt,E.SvgIcon=ee,E.Thumbnail=On,E.ToastCreator=Wt,E.VirtualList=Mn,E.allSelectedKey=ie,E.closeDialogKey=Se,E.dialogController=gt,E.getTransform=Me,E.isAllSelectedKey=de,E.isSelectedKey=ae,E.once=Ye,E.selectAllKey=ce,E.selectKey=re,E.selectedCountKey=fe,E.toggleAllKey=le,E.toggleKey=se,E.unselectAllKey=G,E.unselectKey=ue,E.useBackPress=$t,E.useDelayAsync=St,E.useDelayLoad=mt,E.useDelayLoadComp=Te,E.useDownDrag=Pt,E.useDragSelect=De,E.useDragSelectByMobile=dt,E.useDragSelectByPc=ut,E.useRouterActivated=Qe,E.useScaleImageByMobile=Rt,E.useScaleImageByPc=Ut,E.useSelectable=rt,E.useSelectableByBase=ct,E.useSelectableInjectors=it,E.useVirtualList=Ce,E.vDebounceClick=He,E.vSingleClick=Ie,Object.defineProperties(E,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .no-overlay-modal[data-v-783a5618]{position:absolute;inset:0;display:flex;z-index:999}.lzc-modal[data-v-783a5618]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-783a5618]{margin:auto;display:flex;flex-direction:column}.ldio-mm5gwljcryb[data-v-92a1804d]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}.ldio-mm5gwljcryb div[data-v-92a1804d]{box-sizing:content-box;position:absolute;top:50%;left:50%;width:var(--4e4a9ce4);height:var(--e56fe5c2);border:3px solid #dfdfdf;border-top-color:transparent;border-radius:50%;animation:ldio-mm5gwljcryb-92a1804d .7s linear infinite}@keyframes ldio-mm5gwljcryb-92a1804d{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.loadingio-spinner-rolling-5kajof80q6w[data-v-92a1804d]{width:100%;height:100%;display:inline-block;overflow:hidden;background:#ffffff}.loading-wrap[data-v-3c54972f]{display:flex;align-items:center;justify-content:center;width:100%;transform:rotateY(180deg)}.loading-circle[data-v-3c54972f]{opacity:0;animation:loading-spin-3c54972f .8s var(--b1cf73a8) linear infinite}@keyframes loading-spin-3c54972f{0%{opacity:1}to{opacity:1;transform:rotate(-360deg)}}.lzc-loading-toast[data-v-0947d1e3]{display:flex;position:fixed;top:0;width:100%;height:100%;z-index:2147483647;box-sizing:border-box}.lzc-loading-toast-wrap[data-v-0947d1e3]{margin:auto;text-align:center;box-sizing:border-box}.lzc-loading-toast-content[data-v-0947d1e3]{display:flex;flex-direction:column;border-radius:8px;position:relative;pointer-events:auto;background-color:#000c;box-sizing:border-box}.lzc-loading-toast-content[data-v-0947d1e3]>:not([hidden])~:not([hidden]){margin-top:4px;margin-bottom:0}.lzc-loading-toast-close[data-v-0947d1e3]{height:10px;width:10px;position:absolute;right:12px;top:12px;cursor:pointer;box-sizing:border-box}.lzc-loading-toast-icon[data-v-0947d1e3]{width:35px;height:35px;margin:0 auto;border-radius:9999px;animation:lzc-spin-0947d1e3 1s linear infinite;box-sizing:border-box}.lzc-loading-toast-message[data-v-0947d1e3]{display:flex;flex-wrap:wrap;font-size:16px;color:#fff;margin-left:auto;margin-right:auto;box-sizing:border-box;white-space:pre-wrap;line-height:26px}@keyframes lzc-spin-0947d1e3{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes lzc-fade-in{0%{opacity:0}to{opacity:1}}.lzc-animate-fade-in{animation:lzc-fade-in 1s linear 1}.lzc-animate-duration-300{animation-duration:.3s}@keyframes lzc-fade-out{0%{opacity:1}to{opacity:0}}.lzc-animate-fade-out{animation:lzc-fade-out 1s linear 1}@keyframes slide-25d39b90{0%{opacity:1}to{opacity:0}}.animate-toastAnimation[data-v-25d39b90]{animation:slide-25d39b90 .3s linear}.v-leave-active[data-v-405c22cf]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-405c22cf]{opacity:0}.slider-wrapper[data-v-405c22cf]{position:absolute;right:0;touch-action:none}.default-slider[data-v-405c22cf]{width:6px;height:100%;background-color:#0003;border-radius:3px;margin-right:3px}.pull-refresh[data-v-df5da876]{position:relative}.pull-refresh-box[data-v-df5da876]{position:absolute;display:flex;justify-content:center;width:100%;font-size:14px;color:#85898b99;text-align:center;z-index:500}.pull-arrow-circle[data-v-df5da876]{position:relative;width:30px;height:30px;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.box-load[data-v-df5da876]{position:relative;width:18px;height:18px;border-radius:50%;overflow:hidden;animation:boxs-df5da876 3s infinite linear forwards}@keyframes boxs-df5da876{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.left-load[data-v-df5da876]{position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.left-circle[data-v-df5da876]{position:absolute;width:9px;height:18px;border-radius:18px 0 0 18px;transform:rotate(-180deg);transform-origin:9px 9px;animation:pr1A-df5da876 3s infinite linear forwards}@keyframes pr1A-df5da876{0%{transform:rotate(-180deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(0)}75%{transform:rotate(0)}to{transform:rotate(180deg)}}.right-load[data-v-df5da876]{left:9px;position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.right-circle[data-v-df5da876]{position:absolute;width:9px;height:18px;border-radius:0 18px 18px 0;transform:rotate(-180deg);transform-origin:0px 9px;animation:pr2A-df5da876 3s infinite linear forwards}@keyframes pr2A-df5da876{0%{transform:rotate(-180deg)}25%{transform:rotate(0)}50%{transform:rotate(0)}75%{transform:rotate(180deg)}to{transform:rotate(180deg)}}.among-load[data-v-df5da876]{top:2px;left:2px;width:14px;height:14px;border-radius:50%;position:absolute;background:#fff;z-index:5;overflow:hidden}.pull-circle-line[data-v-df5da876]{position:relative;width:15px;height:15px;border-radius:50%;background-color:#fff;box-sizing:border-box;border-width:2px;border-style:solid;display:flex;align-items:center;justify-content:center}.pull-arrow[data-v-df5da876]{position:absolute;left:-3px;transform:rotate(120deg);background-color:#fff;width:4px;height:6px}.arrows[data-v-df5da876]{width:0;height:0;position:absolute;right:-4px;bottom:4px;transform:rotate(-30deg);border-bottom-width:6px;border-bottom-style:solid;border-right:6px solid transparent;transition:.5s;opacity:0}.opacity[data-v-df5da876]{opacity:1}.left-item[data-v-df5da876]{text-align:center;height:100px;line-height:100px;color:#333}.left-item-active[data-v-df5da876]{color:#e93b3d}.virtualList[data-v-dfe60586]{width:100%;height:100%;position:absolute;overflow-y:auto;scroll-behavior:smooth;user-select:none}.virtualListWrapper[data-v-dfe60586]{width:100%;height:100%;position:relative}@keyframes loading-rotate-33519afd{to{transform:rotate(360deg);-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg)}}.wrapper[data-v-33519afd]{width:100%;height:100%;border-radius:100%;background:conic-gradient(from .25turn at 50% 50%,rgba(255,255,255,0),240deg,#2ec1cc);position:absolute;top:0;animation:loading-rotate-33519afd var(--312487ac) linear infinite}.v-enter-active[data-v-91e59dea],.v-leave-active[data-v-91e59dea]{transition:opacity .6s ease}.v-enter-from[data-v-91e59dea],.v-leave-to[data-v-91e59dea]{opacity:0}.tip[data-v-91e59dea]{font-size:14px;color:#aeaeae}.tip-wrap[data-v-91e59dea]{display:flex;flex-direction:column;align-items:center;justify-content:center}.no-support-icon[data-v-91e59dea]{width:162px;height:134px}.bad-image[data-v-91e59dea]{width:92px;height:92px}.src-class[data-v-91e59dea]{width:unset!important;height:unset!important;max-width:none!important;max-height:none!important;transform:scale(0);opacity:.00001}@keyframes fadeIn-91e59dea{0%{opacity:0}to{opacity:1}}.showing[data-v-91e59dea]{animation:fadeIn-91e59dea .35s linear}img[data-v-91e59dea]{user-select:none;pointer-events:none}img[data-v-5a7af152]{pointer-events:none}.icon-wrap[data-v-5a7af152]{display:flex;align-items:center;justify-content:center}.icon[data-v-5a7af152]{width:100%;height:100%}
1
+ .no-overlay-modal[data-v-783a5618]{position:absolute;inset:0;display:flex;z-index:999}.lzc-modal[data-v-783a5618]{position:absolute;inset:0;display:flex;z-index:999;background-color:#1c191780}.lzc-dialog[data-v-783a5618]{margin:auto;display:flex;flex-direction:column}.ldio-mm5gwljcryb[data-v-92a1804d]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}.ldio-mm5gwljcryb div[data-v-92a1804d]{box-sizing:content-box;position:absolute;top:50%;left:50%;width:var(--4e4a9ce4);height:var(--e56fe5c2);border:3px solid #dfdfdf;border-top-color:transparent;border-radius:50%;animation:ldio-mm5gwljcryb-92a1804d .7s linear infinite}@keyframes ldio-mm5gwljcryb-92a1804d{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.loadingio-spinner-rolling-5kajof80q6w[data-v-92a1804d]{width:100%;height:100%;display:inline-block;overflow:hidden;background:#ffffff}.loading-wrap[data-v-3c54972f]{display:flex;align-items:center;justify-content:center;width:100%;transform:rotateY(180deg)}.loading-circle[data-v-3c54972f]{opacity:0;animation:loading-spin-3c54972f .8s var(--b1cf73a8) linear infinite}@keyframes loading-spin-3c54972f{0%{opacity:1}to{opacity:1;transform:rotate(-360deg)}}.lzc-loading-toast[data-v-0947d1e3]{display:flex;position:fixed;top:0;width:100%;height:100%;z-index:2147483647;box-sizing:border-box}.lzc-loading-toast-wrap[data-v-0947d1e3]{margin:auto;text-align:center;box-sizing:border-box}.lzc-loading-toast-content[data-v-0947d1e3]{display:flex;flex-direction:column;border-radius:8px;position:relative;pointer-events:auto;background-color:#000c;box-sizing:border-box}.lzc-loading-toast-content[data-v-0947d1e3]>:not([hidden])~:not([hidden]){margin-top:4px;margin-bottom:0}.lzc-loading-toast-close[data-v-0947d1e3]{height:10px;width:10px;position:absolute;right:12px;top:12px;cursor:pointer;box-sizing:border-box}.lzc-loading-toast-icon[data-v-0947d1e3]{width:35px;height:35px;margin:0 auto;border-radius:9999px;animation:lzc-spin-0947d1e3 1s linear infinite;box-sizing:border-box}.lzc-loading-toast-message[data-v-0947d1e3]{display:flex;flex-wrap:wrap;font-size:16px;color:#fff;margin-left:auto;margin-right:auto;box-sizing:border-box;white-space:pre-wrap;line-height:26px}@keyframes lzc-spin-0947d1e3{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes lzc-fade-in{0%{opacity:0}to{opacity:1}}.lzc-animate-fade-in{animation:lzc-fade-in 1s linear 1}.lzc-animate-duration-300{animation-duration:.3s}@keyframes lzc-fade-out{0%{opacity:1}to{opacity:0}}.lzc-animate-fade-out{animation:lzc-fade-out 1s linear 1}@keyframes slide-25d39b90{0%{opacity:1}to{opacity:0}}.animate-toastAnimation[data-v-25d39b90]{animation:slide-25d39b90 .3s linear}.v-leave-active[data-v-405c22cf]{transition:all .15s ease-out;transition-delay:.9s}.v-leave-to[data-v-405c22cf]{opacity:0}.slider-wrapper[data-v-405c22cf]{position:absolute;right:0;touch-action:none}.default-slider[data-v-405c22cf]{width:6px;height:100%;background-color:#0003;border-radius:3px;margin-right:3px}.pull-refresh[data-v-df5da876]{position:relative}.pull-refresh-box[data-v-df5da876]{position:absolute;display:flex;justify-content:center;width:100%;font-size:14px;color:#85898b99;text-align:center;z-index:500}.pull-arrow-circle[data-v-df5da876]{position:relative;width:30px;height:30px;border-radius:50%;background-color:#fff;display:flex;justify-content:center;align-items:center}.box-load[data-v-df5da876]{position:relative;width:18px;height:18px;border-radius:50%;overflow:hidden;animation:boxs-df5da876 3s infinite linear forwards}@keyframes boxs-df5da876{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.left-load[data-v-df5da876]{position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.left-circle[data-v-df5da876]{position:absolute;width:9px;height:18px;border-radius:18px 0 0 18px;transform:rotate(-180deg);transform-origin:9px 9px;animation:pr1A-df5da876 3s infinite linear forwards}@keyframes pr1A-df5da876{0%{transform:rotate(-180deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(0)}75%{transform:rotate(0)}to{transform:rotate(180deg)}}.right-load[data-v-df5da876]{left:9px;position:absolute;width:50%;height:18px;background:#fff;overflow:hidden}.right-circle[data-v-df5da876]{position:absolute;width:9px;height:18px;border-radius:0 18px 18px 0;transform:rotate(-180deg);transform-origin:0px 9px;animation:pr2A-df5da876 3s infinite linear forwards}@keyframes pr2A-df5da876{0%{transform:rotate(-180deg)}25%{transform:rotate(0)}50%{transform:rotate(0)}75%{transform:rotate(180deg)}to{transform:rotate(180deg)}}.among-load[data-v-df5da876]{top:2px;left:2px;width:14px;height:14px;border-radius:50%;position:absolute;background:#fff;z-index:5;overflow:hidden}.pull-circle-line[data-v-df5da876]{position:relative;width:15px;height:15px;border-radius:50%;background-color:#fff;box-sizing:border-box;border-width:2px;border-style:solid;display:flex;align-items:center;justify-content:center}.pull-arrow[data-v-df5da876]{position:absolute;left:-3px;transform:rotate(120deg);background-color:#fff;width:4px;height:6px}.arrows[data-v-df5da876]{width:0;height:0;position:absolute;right:-4px;bottom:4px;transform:rotate(-30deg);border-bottom-width:6px;border-bottom-style:solid;border-right:6px solid transparent;transition:.5s;opacity:0}.opacity[data-v-df5da876]{opacity:1}.left-item[data-v-df5da876]{text-align:center;height:100px;line-height:100px;color:#333}.left-item-active[data-v-df5da876]{color:#e93b3d}.virtualList[data-v-dfe60586]{width:100%;height:100%;position:absolute;overflow-y:auto;scroll-behavior:smooth;user-select:none}.virtualListWrapper[data-v-dfe60586]{width:100%;height:100%;position:relative}@keyframes loading-rotate-33519afd{to{transform:rotate(360deg);-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg)}}.wrapper[data-v-33519afd]{width:100%;height:100%;border-radius:100%;background:conic-gradient(from .25turn at 50% 50%,rgba(255,255,255,0),240deg,#2ec1cc);position:absolute;top:0;animation:loading-rotate-33519afd var(--312487ac) linear infinite}.v-enter-active[data-v-a5909fc3],.v-leave-active[data-v-a5909fc3]{transition:opacity .6s ease}.v-enter-from[data-v-a5909fc3],.v-leave-to[data-v-a5909fc3]{opacity:0}.tip[data-v-a5909fc3]{font-size:14px;color:#aeaeae}.tip-wrap[data-v-a5909fc3]{display:flex;flex-direction:column;align-items:center;justify-content:center}.no-support-icon[data-v-a5909fc3]{width:162px;height:134px}.bad-image[data-v-a5909fc3]{width:92px;height:92px}.src-class[data-v-a5909fc3]{width:unset!important;height:unset!important;max-width:none!important;max-height:none!important;transform:scale(0);opacity:.00001}@keyframes fadeIn-a5909fc3{0%{opacity:0}to{opacity:1}}.showing[data-v-a5909fc3]{animation:fadeIn-a5909fc3 .35s linear}img[data-v-a5909fc3]{user-select:none;pointer-events:none}img[data-v-5a7af152]{pointer-events:none}.icon-wrap[data-v-5a7af152]{display:flex;align-items:center;justify-content:center}.icon[data-v-5a7af152]{width:100%;height:100%}
@@ -18,6 +18,7 @@ declare const _default: {
18
18
  badImageIconName: string;
19
19
  }>>> & {
20
20
  onLoad?: ((val: HTMLElement) => any) | undefined;
21
+ onNoSupport?: (() => any) | undefined;
21
22
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "noSupportIconName" | "badImageIconName">;
22
23
  $attrs: {
23
24
  [x: string]: unknown;
@@ -30,7 +31,7 @@ declare const _default: {
30
31
  }>;
31
32
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
32
33
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
33
- $emit: (event: "load", val: HTMLElement) => void;
34
+ $emit: ((event: "load", val: HTMLElement) => void) & ((event: "noSupport") => void);
34
35
  $el: any;
35
36
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
36
37
  src?: string | undefined;
@@ -45,8 +46,11 @@ declare const _default: {
45
46
  badImageIconName: string;
46
47
  }>>> & {
47
48
  onLoad?: ((val: HTMLElement) => any) | undefined;
49
+ onNoSupport?: (() => any) | undefined;
48
50
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
51
  load: (val: HTMLElement) => void;
52
+ } & {
53
+ noSupport: () => void;
50
54
  }, string, {
51
55
  noSupportIconName: string;
52
56
  badImageIconName: string;
@@ -83,6 +87,7 @@ declare const _default: {
83
87
  badImageIconName: string;
84
88
  }>>> & {
85
89
  onLoad?: ((val: HTMLElement) => any) | undefined;
90
+ onNoSupport?: (() => any) | undefined;
86
91
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
87
92
  __isFragment?: undefined;
88
93
  __isTeleport?: undefined;
@@ -100,8 +105,11 @@ declare const _default: {
100
105
  badImageIconName: string;
101
106
  }>>> & {
102
107
  onLoad?: ((val: HTMLElement) => any) | undefined;
108
+ onNoSupport?: (() => any) | undefined;
103
109
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
104
110
  load: (val: HTMLElement) => void;
111
+ } & {
112
+ noSupport: () => void;
105
113
  }, string, {
106
114
  noSupportIconName: string;
107
115
  badImageIconName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazycatcloud/lzc-toolkit",
3
- "version": "0.0.169",
3
+ "version": "0.0.170",
4
4
  "description": "lazycat ui toolkits",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",