@zyzgroup/core-vue 0.0.30 → 0.0.31

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.
@@ -2751,7 +2751,7 @@ function Mf(s, t) {
2751
2751
  } = s, E = (w, I, $, H = null, q = null, st = null, ot = void 0, K = null, nt = {}.NODE_ENV !== "production" && nn ? !1 : !!I.dynamicChildren) => {
2752
2752
  if (w === I)
2753
2753
  return;
2754
- w && !In(w, I) && (H = Qt(w), Z(w, q, st, !0), w = null), I.patchFlag === -2 && (nt = !1, I.dynamicChildren = null);
2754
+ w && !In(w, I) && (H = Jt(w), Z(w, q, st, !0), w = null), I.patchFlag === -2 && (nt = !1, I.dynamicChildren = null);
2755
2755
  const { type: J, ref: ut, shapeFlag: vt } = I;
2756
2756
  switch (J) {
2757
2757
  case ar:
@@ -2990,11 +2990,11 @@ function Mf(s, t) {
2990
2990
  else if (nt & 2 && vt.class !== yt.class && i(K, "class", null, yt.class, q), nt & 4 && i(K, "style", vt.style, yt.style, q), nt & 8) {
2991
2991
  const Dt = I.dynamicProps;
2992
2992
  for (let Ft = 0; Ft < Dt.length; Ft++) {
2993
- const Xt = Dt[Ft], Jt = vt[Xt], Se = yt[Xt];
2994
- (Se !== Jt || Xt === "value") && i(
2993
+ const Xt = Dt[Ft], te = vt[Xt], Se = yt[Xt];
2994
+ (Se !== te || Xt === "value") && i(
2995
2995
  K,
2996
2996
  Xt,
2997
- Jt,
2997
+ te,
2998
2998
  Se,
2999
2999
  q,
3000
3000
  w.children,
@@ -3191,20 +3191,20 @@ function Mf(s, t) {
3191
3191
  }
3192
3192
  let Ft = ut, Xt;
3193
3193
  ({}).NODE_ENV !== "production" && Mr(ut || w.vnode), Gs(w, !1), ut ? (ut.el = Dt.el, rt(w, ut, ot)) : ut = Dt, vt && Pn(vt), (Xt = ut.props && ut.props.onVnodeBeforeUpdate) && Qe(Xt, wt, ut, Dt), Gs(w, !0), {}.NODE_ENV !== "production" && ds(w, "render");
3194
- const Jt = Xi(w);
3194
+ const te = Xi(w);
3195
3195
  ({}).NODE_ENV !== "production" && fs(w, "render");
3196
3196
  const Se = w.subTree;
3197
- w.subTree = Jt, {}.NODE_ENV !== "production" && ds(w, "patch"), E(
3197
+ w.subTree = te, {}.NODE_ENV !== "production" && ds(w, "patch"), E(
3198
3198
  Se,
3199
- Jt,
3199
+ te,
3200
3200
  // parent may have changed if it's in a teleport
3201
3201
  h(Se.el),
3202
3202
  // anchor may have changed if it's in a fragment
3203
- Qt(Se),
3203
+ Jt(Se),
3204
3204
  w,
3205
3205
  q,
3206
3206
  st
3207
- ), {}.NODE_ENV !== "production" && fs(w, "patch"), ut.el = Jt.el, Ft === null && Bd(w, Jt.el), yt && De(yt, q), (Xt = ut.props && ut.props.onVnodeUpdated) && De(
3207
+ ), {}.NODE_ENV !== "production" && fs(w, "patch"), ut.el = te.el, Ft === null && Bd(w, te.el), yt && De(yt, q), (Xt = ut.props && ut.props.onVnodeUpdated) && De(
3208
3208
  () => Qe(Xt, wt, ut, Dt),
3209
3209
  q
3210
3210
  ), {}.NODE_ENV !== "production" && Jc(w), {}.NODE_ENV !== "production" && Nr();
@@ -3212,7 +3212,7 @@ function Mf(s, t) {
3212
3212
  let ut;
3213
3213
  const { el: vt, props: yt } = I, { bm: wt, m: Dt, parent: Ft } = w, Xt = Vn(I);
3214
3214
  if (Gs(w, !1), wt && Pn(wt), !Xt && (ut = yt && yt.onVnodeBeforeMount) && Qe(ut, Ft, I), Gs(w, !0), vt && Oe) {
3215
- const Jt = () => {
3215
+ const te = () => {
3216
3216
  ({}).NODE_ENV !== "production" && ds(w, "render"), w.subTree = Xi(w), {}.NODE_ENV !== "production" && fs(w, "render"), {}.NODE_ENV !== "production" && ds(w, "hydrate"), Oe(
3217
3217
  vt,
3218
3218
  w.subTree,
@@ -3226,25 +3226,25 @@ function Mf(s, t) {
3226
3226
  // which means it won't track dependencies - but it's ok because
3227
3227
  // a server-rendered async wrapper is already in resolved state
3228
3228
  // and it will never need to change.
3229
- () => !w.isUnmounted && Jt()
3230
- ) : Jt();
3229
+ () => !w.isUnmounted && te()
3230
+ ) : te();
3231
3231
  } else {
3232
3232
  ({}).NODE_ENV !== "production" && ds(w, "render");
3233
- const Jt = w.subTree = Xi(w);
3233
+ const te = w.subTree = Xi(w);
3234
3234
  ({}).NODE_ENV !== "production" && fs(w, "render"), {}.NODE_ENV !== "production" && ds(w, "patch"), E(
3235
3235
  null,
3236
- Jt,
3236
+ te,
3237
3237
  $,
3238
3238
  H,
3239
3239
  w,
3240
3240
  q,
3241
3241
  st
3242
- ), {}.NODE_ENV !== "production" && fs(w, "patch"), I.el = Jt.el;
3242
+ ), {}.NODE_ENV !== "production" && fs(w, "patch"), I.el = te.el;
3243
3243
  }
3244
3244
  if (Dt && De(Dt, q), !Xt && (ut = yt && yt.onVnodeMounted)) {
3245
- const Jt = I;
3245
+ const te = I;
3246
3246
  De(
3247
- () => Qe(ut, Ft, Jt),
3247
+ () => Qe(ut, Ft, te),
3248
3248
  q
3249
3249
  );
3250
3250
  }
@@ -3420,7 +3420,7 @@ function Mf(s, t) {
3420
3420
  "Make sure keys are unique."
3421
3421
  ), Ft.set(fe.key, J));
3422
3422
  }
3423
- let Xt, Jt = 0;
3423
+ let Xt, te = 0;
3424
3424
  const Se = yt - Dt + 1;
3425
3425
  let bs = !1, ur = 0;
3426
3426
  const zs = new Array(Se);
@@ -3428,7 +3428,7 @@ function Mf(s, t) {
3428
3428
  zs[J] = 0;
3429
3429
  for (J = wt; J <= vt; J++) {
3430
3430
  const fe = w[J];
3431
- if (Jt >= Se) {
3431
+ if (te >= Se) {
3432
3432
  Z(fe, q, st, !0);
3433
3433
  continue;
3434
3434
  }
@@ -3451,7 +3451,7 @@ function Mf(s, t) {
3451
3451
  ot,
3452
3452
  K,
3453
3453
  nt
3454
- ), Jt++);
3454
+ ), te++);
3455
3455
  }
3456
3456
  const hr = bs ? Lf(zs) : mn;
3457
3457
  for (Xt = hr.length - 1, J = Se - 1; J >= 0; J--) {
@@ -3525,7 +3525,7 @@ function Mf(s, t) {
3525
3525
  const wt = ut & 1 && yt, Dt = !Vn(w);
3526
3526
  let Ft;
3527
3527
  if (Dt && (Ft = ot && ot.onVnodeBeforeUnmount) && Qe(Ft, I, w), ut & 6)
3528
- Kt(w.component, $, H);
3528
+ Qt(w.component, $, H);
3529
3529
  else {
3530
3530
  if (ut & 128) {
3531
3531
  w.suspense.unmount($, H);
@@ -3575,7 +3575,7 @@ function Mf(s, t) {
3575
3575
  for (; w !== I; )
3576
3576
  $ = d(w), r(w), w = $;
3577
3577
  r(I);
3578
- }, Kt = (w, I, $) => {
3578
+ }, Qt = (w, I, $) => {
3579
3579
  ({}).NODE_ENV !== "production" && w.type.__hmrId && kd(w);
3580
3580
  const { bum: H, scope: q, update: st, subTree: ot, um: K } = w;
3581
3581
  H && Pn(H), q.stop(), st && (st.active = !1, Z(ot, w, I, $)), K && De(K, I), De(() => {
@@ -3584,7 +3584,7 @@ function Mf(s, t) {
3584
3584
  }, Ot = (w, I, $, H = !1, q = !1, st = 0) => {
3585
3585
  for (let ot = st; ot < w.length; ot++)
3586
3586
  Z(w[ot], I, $, H, q);
3587
- }, Qt = (w) => w.shapeFlag & 6 ? Qt(w.component.subTree) : w.shapeFlag & 128 ? w.suspense.next() : d(w.anchor || w.el);
3587
+ }, Jt = (w) => w.shapeFlag & 6 ? Jt(w.component.subTree) : w.shapeFlag & 128 ? w.suspense.next() : d(w.anchor || w.el);
3588
3588
  let Vt = !1;
3589
3589
  const G = (w, I, $) => {
3590
3590
  w == null ? I._vnode && Z(I._vnode, null, null, !0) : E(
@@ -3605,7 +3605,7 @@ function Mf(s, t) {
3605
3605
  mc: O,
3606
3606
  pc: B,
3607
3607
  pbc: A,
3608
- n: Qt,
3608
+ n: Jt,
3609
3609
  o: s
3610
3610
  };
3611
3611
  let $e, Oe;
@@ -3837,7 +3837,7 @@ function xu(s) {
3837
3837
  const t = Ls(s);
3838
3838
  return xt(s.children) && (t.children = s.children.map(xu)), t;
3839
3839
  }
3840
- function te(s = " ", t = 0) {
3840
+ function Kt(s = " ", t = 0) {
3841
3841
  return ft(ar, null, s, t);
3842
3842
  }
3843
3843
  function Yf(s, t) {
@@ -3876,7 +3876,7 @@ function fa(s, t) {
3876
3876
  !r && !(wi in t) ? t._ctx = ae : r === 3 && ae && (ae.slots._ === 1 ? t._ = 1 : (t._ = 2, s.patchFlag |= 1024));
3877
3877
  }
3878
3878
  else
3879
- St(t) ? (t = { default: t, _ctx: ae }, e = 32) : (t = String(t), n & 64 ? (e = 16, t = [te(t)]) : e = 8);
3879
+ St(t) ? (t = { default: t, _ctx: ae }, e = 32) : (t = String(t), n & 64 ? (e = 16, t = [Kt(t)]) : e = 8);
3880
3880
  s.children = t, s.shapeFlag |= e;
3881
3881
  }
3882
3882
  function pa(...s) {
@@ -12799,7 +12799,7 @@ var oh = { exports: {} };
12799
12799
  var v = g.ownerDocument || g;
12800
12800
  return v.defaultView || v.parentWindow || t;
12801
12801
  }
12802
- var rt = /mobile|tablet|ip(ad|hone|od)|android/i, B = "ontouchstart" in t, j = X(t, "PointerEvent") !== r, gt = B && rt.test(navigator.userAgent), mt = "touch", Z = "pen", V = "mouse", Wt = "kinect", Kt = 25, Ot = 1, Qt = 2, Vt = 4, G = 8, Ne = 1, $e = 2, Oe = 4, w = 8, I = 16, $ = $e | Oe, H = w | I, q = $ | H, st = ["x", "y"], ot = ["clientX", "clientY"];
12802
+ var rt = /mobile|tablet|ip(ad|hone|od)|android/i, B = "ontouchstart" in t, j = X(t, "PointerEvent") !== r, gt = B && rt.test(navigator.userAgent), mt = "touch", Z = "pen", V = "mouse", Wt = "kinect", Qt = 25, Ot = 1, Jt = 2, Vt = 4, G = 8, Ne = 1, $e = 2, Oe = 4, w = 8, I = 16, $ = $e | Oe, H = w | I, q = $ | H, st = ["x", "y"], ot = ["clientX", "clientY"];
12803
12803
  function K(g, v) {
12804
12804
  var k = this;
12805
12805
  this.manager = g, this.callback = v, this.element = g.element, this.target = g.options.inputTarget, this.domHandler = function(N) {
@@ -12838,7 +12838,7 @@ var oh = { exports: {} };
12838
12838
  var k = g.session, N = v.pointers, tt = N.length;
12839
12839
  k.firstInput || (k.firstInput = wt(v)), tt > 1 && !k.firstMultiple ? k.firstMultiple = wt(v) : tt === 1 && (k.firstMultiple = !1);
12840
12840
  var dt = k.firstInput, Rt = k.firstMultiple, he = Rt ? Rt.center : dt.center, pe = v.center = Dt(N);
12841
- v.timeStamp = u(), v.deltaTime = v.timeStamp - dt.timeStamp, v.angle = Se(he, pe), v.distance = Jt(he, pe), vt(k, v), v.offsetDirection = Xt(v.deltaX, v.deltaY);
12841
+ v.timeStamp = u(), v.deltaTime = v.timeStamp - dt.timeStamp, v.angle = Se(he, pe), v.distance = te(he, pe), vt(k, v), v.offsetDirection = Xt(v.deltaX, v.deltaY);
12842
12842
  var Ee = Ft(v.deltaTime, v.deltaX, v.deltaY);
12843
12843
  v.overallVelocityX = Ee.x, v.overallVelocityY = Ee.y, v.overallVelocity = c(Ee.x) > c(Ee.y) ? Ee.x : Ee.y, v.scale = Rt ? ur(Rt.pointers, N) : 1, v.rotation = Rt ? bs(Rt.pointers, N) : 0, v.maxPointers = k.prevInput ? v.pointers.length > k.prevInput.maxPointers ? v.pointers.length : k.prevInput.maxPointers : v.pointers.length, yt(k, v);
12844
12844
  var Ke = g.element;
@@ -12856,7 +12856,7 @@ var oh = { exports: {} };
12856
12856
  }
12857
12857
  function yt(g, v) {
12858
12858
  var k = g.lastInterval || v, N = v.timeStamp - k.timeStamp, tt, dt, Rt, he;
12859
- if (v.eventType != G && (N > Kt || k.velocity === r)) {
12859
+ if (v.eventType != G && (N > Qt || k.velocity === r)) {
12860
12860
  var pe = v.deltaX - k.deltaX, Ee = v.deltaY - k.deltaY, Ke = Ft(N, pe, Ee);
12861
12861
  dt = Ke.x, Rt = Ke.y, tt = c(Ke.x) > c(Ke.y) ? Ke.x : Ke.y, he = Xt(pe, Ee), g.lastInterval = v;
12862
12862
  } else
@@ -12900,7 +12900,7 @@ var oh = { exports: {} };
12900
12900
  function Xt(g, v) {
12901
12901
  return g === v ? Ne : c(g) >= c(v) ? g < 0 ? $e : Oe : v < 0 ? w : I;
12902
12902
  }
12903
- function Jt(g, v, k) {
12903
+ function te(g, v, k) {
12904
12904
  k || (k = st);
12905
12905
  var N = v[k[0]] - g[k[0]], tt = v[k[1]] - g[k[1]];
12906
12906
  return Math.sqrt(N * N + tt * tt);
@@ -12914,11 +12914,11 @@ var oh = { exports: {} };
12914
12914
  return Se(v[1], v[0], ot) + Se(g[1], g[0], ot);
12915
12915
  }
12916
12916
  function ur(g, v) {
12917
- return Jt(v[0], v[1], ot) / Jt(g[0], g[1], ot);
12917
+ return te(v[0], v[1], ot) / te(g[0], g[1], ot);
12918
12918
  }
12919
12919
  var zs = {
12920
12920
  mousedown: Ot,
12921
- mousemove: Qt,
12921
+ mousemove: Jt,
12922
12922
  mouseup: Vt
12923
12923
  }, hr = "mousedown", fe = "mousemove mouseup";
12924
12924
  function Te() {
@@ -12931,7 +12931,7 @@ var oh = { exports: {} };
12931
12931
  */
12932
12932
  handler: function(v) {
12933
12933
  var k = zs[v.type];
12934
- k & Ot && v.button === 0 && (this.pressed = !0), k & Qt && v.which !== 1 && (k = Vt), this.pressed && (k & Vt && (this.pressed = !1), this.callback(this.manager, k, {
12934
+ k & Ot && v.button === 0 && (this.pressed = !0), k & Jt && v.which !== 1 && (k = Vt), this.pressed && (k & Vt && (this.pressed = !1), this.callback(this.manager, k, {
12935
12935
  pointers: [v],
12936
12936
  changedPointers: [v],
12937
12937
  pointerType: V,
@@ -12941,7 +12941,7 @@ var oh = { exports: {} };
12941
12941
  });
12942
12942
  var dr = {
12943
12943
  pointerdown: Ot,
12944
- pointermove: Qt,
12944
+ pointermove: Jt,
12945
12945
  pointerup: Vt,
12946
12946
  pointercancel: G,
12947
12947
  pointerout: G
@@ -12973,7 +12973,7 @@ var oh = { exports: {} };
12973
12973
  });
12974
12974
  var mh = {
12975
12975
  touchstart: Ot,
12976
- touchmove: Qt,
12976
+ touchmove: Jt,
12977
12977
  touchend: Vt,
12978
12978
  touchcancel: G
12979
12979
  }, gh = "touchstart", yh = "touchstart touchmove touchend touchcancel";
@@ -13000,7 +13000,7 @@ var oh = { exports: {} };
13000
13000
  }
13001
13001
  var _h = {
13002
13002
  touchstart: Ot,
13003
- touchmove: Qt,
13003
+ touchmove: Jt,
13004
13004
  touchend: Vt,
13005
13005
  touchcancel: G
13006
13006
  }, bh = "touchstart touchmove touchend touchcancel";
@@ -13020,7 +13020,7 @@ var oh = { exports: {} };
13020
13020
  });
13021
13021
  function xh(g, v) {
13022
13022
  var k = D(g.touches), N = this.targetIds;
13023
- if (v & (Ot | Qt) && k.length === 1)
13023
+ if (v & (Ot | Jt) && k.length === 1)
13024
13024
  return N[k[0].identifier] = !0, [k, k];
13025
13025
  var tt, dt, Rt = D(g.changedTouches), he = [], pe = this.target;
13026
13026
  if (dt = k.filter(function(Ee) {
@@ -13526,7 +13526,7 @@ var oh = { exports: {} };
13526
13526
  if (N && tt && k) {
13527
13527
  if (g.eventType != Vt)
13528
13528
  return this.failTimeout();
13529
- var dt = this.pTime ? g.timeStamp - this.pTime < v.interval : !0, Rt = !this.pCenter || Jt(this.pCenter, g.center) < v.posThreshold;
13529
+ var dt = this.pTime ? g.timeStamp - this.pTime < v.interval : !0, Rt = !this.pCenter || te(this.pCenter, g.center) < v.posThreshold;
13530
13530
  this.pTime = g.timeStamp, this.pCenter = g.center, !Rt || !dt ? this.count = 1 : this.count += 1, this._input = g;
13531
13531
  var he = this.count % v.taps;
13532
13532
  if (he === 0)
@@ -13796,7 +13796,7 @@ var oh = { exports: {} };
13796
13796
  }
13797
13797
  E(cs, {
13798
13798
  INPUT_START: Ot,
13799
- INPUT_MOVE: Qt,
13799
+ INPUT_MOVE: Jt,
13800
13800
  INPUT_END: Vt,
13801
13801
  INPUT_CANCEL: G,
13802
13802
  STATE_POSSIBLE: mr,
@@ -14018,20 +14018,20 @@ class vs extends Ii {
14018
14018
  this.emit("dragstart", G);
14019
14019
  }, Wt = (G) => {
14020
14020
  G.dataTransfer && (G.dataTransfer.dropEffect = "copy"), this.emit("dragover", G);
14021
- }, Kt = (G) => {
14021
+ }, Qt = (G) => {
14022
14022
  this.emit("dragenter", G);
14023
14023
  }, Ot = (G) => {
14024
14024
  this.emit("dragend", G);
14025
- }, Qt = (G) => {
14025
+ }, Jt = (G) => {
14026
14026
  G.dataTransfer, this.emit("drop", G, G.dataTransfer?.files);
14027
14027
  };
14028
- this.container.addEventListener("mousedown", t, !1), this.container.addEventListener("mouseup", e, !1), this.container.addEventListener("mousemove", n, !1), this.container.addEventListener("mouseover", r, !1), this.container.addEventListener("mouseout", i, !1), this.container.addEventListener("mouseenter", o, !1), this.container.addEventListener("mouseleave", a, !1), this.container.addEventListener("click", l, !1), this.container.addEventListener("dblclick", c, !1), this.container.addEventListener("wheel", u, !1), this.container.addEventListener("contextmenu", h, !1), this.container.addEventListener("touchstart", d, !1), this.container.addEventListener("touchend", m, !1), this.container.addEventListener("touchcancel", f, !1), this.container.addEventListener("touchmove", E, !1), this.container.addEventListener("pointerdown", S, !1), this.container.addEventListener("pointerup", _, !1), this.container.addEventListener("pointercancel", C, !1), this.container.addEventListener("pointermove", y, !1), this.hammer.on("pan", p), this.hammer.on("panstart", x), this.hammer.on("panmove", b), this.hammer.on("panend", Y), this.hammer.on("pancancel", ct), this.hammer.on("panleft", O), this.hammer.on("panright", R), this.hammer.on("panup", A), this.hammer.on("pandown", D), this.hammer.on("pinch", F), this.hammer.on("press", X), this.hammer.on("rotate", it), this.hammer.on("swipe", Q), this.hammer.on("swipeleft", W), this.hammer.on("swiperight", rt), this.hammer.on("swipeup", B), this.hammer.on("swipedown", j), this.hammer.on("tap", gt), document.addEventListener("pointerdown", mt, !1), this.container instanceof HTMLInputElement && this.container.addEventListener("change", Z, !1), this.container.addEventListener("dragstart", V, !1), this.container.addEventListener("dragover", Wt, !1), this.container.addEventListener("dragenter", Kt, !1), this.container.addEventListener("dragend", Ot, !1), this.container.addEventListener("drop", Qt, !1);
14028
+ this.container.addEventListener("mousedown", t, !1), this.container.addEventListener("mouseup", e, !1), this.container.addEventListener("mousemove", n, !1), this.container.addEventListener("mouseover", r, !1), this.container.addEventListener("mouseout", i, !1), this.container.addEventListener("mouseenter", o, !1), this.container.addEventListener("mouseleave", a, !1), this.container.addEventListener("click", l, !1), this.container.addEventListener("dblclick", c, !1), this.container.addEventListener("wheel", u, !1), this.container.addEventListener("contextmenu", h, !1), this.container.addEventListener("touchstart", d, !1), this.container.addEventListener("touchend", m, !1), this.container.addEventListener("touchcancel", f, !1), this.container.addEventListener("touchmove", E, !1), this.container.addEventListener("pointerdown", S, !1), this.container.addEventListener("pointerup", _, !1), this.container.addEventListener("pointercancel", C, !1), this.container.addEventListener("pointermove", y, !1), this.hammer.on("pan", p), this.hammer.on("panstart", x), this.hammer.on("panmove", b), this.hammer.on("panend", Y), this.hammer.on("pancancel", ct), this.hammer.on("panleft", O), this.hammer.on("panright", R), this.hammer.on("panup", A), this.hammer.on("pandown", D), this.hammer.on("pinch", F), this.hammer.on("press", X), this.hammer.on("rotate", it), this.hammer.on("swipe", Q), this.hammer.on("swipeleft", W), this.hammer.on("swiperight", rt), this.hammer.on("swipeup", B), this.hammer.on("swipedown", j), this.hammer.on("tap", gt), document.addEventListener("pointerdown", mt, !1), this.container instanceof HTMLInputElement && this.container.addEventListener("change", Z, !1), this.container.addEventListener("dragstart", V, !1), this.container.addEventListener("dragover", Wt, !1), this.container.addEventListener("dragenter", Qt, !1), this.container.addEventListener("dragend", Ot, !1), this.container.addEventListener("drop", Jt, !1);
14029
14029
  const Vt = () => {
14030
14030
  this.container.removeEventListener("mousedown", t, !1), this.container.removeEventListener("mouseup", e, !1), this.container.removeEventListener("mousemove", n, !1), this.container.removeEventListener("mouseover", r, !1), this.container.removeEventListener("mouseout", i, !1), this.container.removeEventListener("mouseenter", o, !1), this.container.removeEventListener("mouseleave", a, !1), this.container.removeEventListener("click", l, !1), this.container.removeEventListener("dblclick", c, !1), this.container.removeEventListener("wheel", u, !1), this.container.removeEventListener(
14031
14031
  "contextmenu",
14032
14032
  h,
14033
14033
  !1
14034
- ), this.container.removeEventListener("touchstart", d, !1), this.container.removeEventListener("touchend", m, !1), this.container.removeEventListener("touchcancel", f, !1), this.container.removeEventListener("touchmove", E, !1), this.container.removeEventListener("pointerdown", S, !1), this.container.removeEventListener("pointerup", _, !1), this.container.removeEventListener("pointercancel", C), this.container.removeEventListener("pointermove", y, !1), this.hammer.off("pan", p), this.hammer.off("panstart", x), this.hammer.off("panmove", b), this.hammer.off("panend", Y), this.hammer.off("pancancel", ct), this.hammer.off("panleft", O), this.hammer.off("panright", R), this.hammer.off("panup", A), this.hammer.off("pandown", D), this.hammer.off("pinch", F), this.hammer.off("press", X), this.hammer.off("rotate", it), this.hammer.off("swipe", Q), this.hammer.off("swipeleft", W), this.hammer.off("swiperight", rt), this.hammer.off("swipeup", B), this.hammer.off("swipedown", j), this.hammer.off("tap", gt), document.removeEventListener("pointerdown", mt, !1), document.removeEventListener("touchstart", mt, !1), document.removeEventListener("mousedown", mt, !1), this.container instanceof HTMLInputElement && this.container.removeEventListener("change", Z, !1), this.container.removeEventListener("dragstart", V, !1), this.container.removeEventListener("dragover", Wt, !1), this.container.removeEventListener("dragenter", Kt, !1), this.container.removeEventListener("dragend", Ot, !1), this.container.removeEventListener("drop", Qt, !1);
14034
+ ), this.container.removeEventListener("touchstart", d, !1), this.container.removeEventListener("touchend", m, !1), this.container.removeEventListener("touchcancel", f, !1), this.container.removeEventListener("touchmove", E, !1), this.container.removeEventListener("pointerdown", S, !1), this.container.removeEventListener("pointerup", _, !1), this.container.removeEventListener("pointercancel", C), this.container.removeEventListener("pointermove", y, !1), this.hammer.off("pan", p), this.hammer.off("panstart", x), this.hammer.off("panmove", b), this.hammer.off("panend", Y), this.hammer.off("pancancel", ct), this.hammer.off("panleft", O), this.hammer.off("panright", R), this.hammer.off("panup", A), this.hammer.off("pandown", D), this.hammer.off("pinch", F), this.hammer.off("press", X), this.hammer.off("rotate", it), this.hammer.off("swipe", Q), this.hammer.off("swipeleft", W), this.hammer.off("swiperight", rt), this.hammer.off("swipeup", B), this.hammer.off("swipedown", j), this.hammer.off("tap", gt), document.removeEventListener("pointerdown", mt, !1), document.removeEventListener("touchstart", mt, !1), document.removeEventListener("mousedown", mt, !1), this.container instanceof HTMLInputElement && this.container.removeEventListener("change", Z, !1), this.container.removeEventListener("dragstart", V, !1), this.container.removeEventListener("dragover", Wt, !1), this.container.removeEventListener("dragenter", Qt, !1), this.container.removeEventListener("dragend", Ot, !1), this.container.removeEventListener("drop", Jt, !1);
14035
14035
  };
14036
14036
  return this.addRemoves(Vt), Vt;
14037
14037
  }
@@ -18614,10 +18614,14 @@ const Q0 = {
18614
18614
  onDragleave: l,
18615
18615
  onDragover: c,
18616
18616
  onDrop: u
18617
- }, bt(n.placeholder), 35));
18617
+ }, [
18618
+ Tt(h.$slots, "default", {}, () => [
18619
+ Kt(bt(n.placeholder), 1)
18620
+ ], !0)
18621
+ ], 34));
18618
18622
  }
18619
18623
  });
18620
- const e_ = /* @__PURE__ */ pt(J0, [["__scopeId", "data-v-0c959dfd"]]), ty = ["width", "height"], ey = ["fill"], sy = /* @__PURE__ */ lt({
18624
+ const e_ = /* @__PURE__ */ pt(J0, [["__scopeId", "data-v-b0f06804"]]), ty = ["width", "height"], ey = ["fill"], sy = /* @__PURE__ */ lt({
18621
18625
  __name: "SVGDelete",
18622
18626
  props: {
18623
18627
  width: { default: "16px" },
@@ -18753,7 +18757,7 @@ const s_ = /* @__PURE__ */ pt(ny, [["__scopeId", "data-v-244215c2"]]), ry = /* @
18753
18757
  })
18754
18758
  }, [
18755
18759
  Tt(h.$slots, "title", {}, () => [
18756
- te("title")
18760
+ Kt("title")
18757
18761
  ], !0),
18758
18762
  ft(ai, {
18759
18763
  class: "arrow",
@@ -19834,8 +19838,8 @@ const uc = /* @__PURE__ */ pt(dy, [["__scopeId", "data-v-48bcfc9f"]]), hc = /* @
19834
19838
  position: "relative"
19835
19839
  }
19836
19840
  },
19837
- c.map((Kt, Ot) => {
19838
- const Qt = E(n.effect, Ot);
19841
+ c.map((Qt, Ot) => {
19842
+ const Jt = E(n.effect, Ot);
19839
19843
  return ms(
19840
19844
  "div",
19841
19845
  Object.assign(
@@ -19856,7 +19860,7 @@ const uc = /* @__PURE__ */ pt(dy, [["__scopeId", "data-v-48bcfc9f"]]), hc = /* @
19856
19860
  zIndex: V ? "1" : "0"
19857
19861
  }
19858
19862
  },
19859
- Kt.pageKey ? { key: Kt.pageKey } : {
19863
+ Qt.pageKey ? { key: Qt.pageKey } : {
19860
19864
  /// 无 key 不会重复利用
19861
19865
  }
19862
19866
  ),
@@ -19864,7 +19868,7 @@ const uc = /* @__PURE__ */ pt(dy, [["__scopeId", "data-v-48bcfc9f"]]), hc = /* @
19864
19868
  hc,
19865
19869
  {
19866
19870
  // ...page.pageAttributes,
19867
- effect: Qt,
19871
+ effect: Jt,
19868
19872
  duration: _(n.effect, Ot),
19869
19873
  easeFunction: p(n.effect, Ot),
19870
19874
  timingFunction: C,
@@ -19887,15 +19891,15 @@ const uc = /* @__PURE__ */ pt(dy, [["__scopeId", "data-v-48bcfc9f"]]), hc = /* @
19887
19891
  },
19888
19892
  // () => h(page.component, page.attributes)
19889
19893
  {
19890
- default: () => Kt.component instanceof HTMLElement ? ms(
19894
+ default: () => Qt.component instanceof HTMLElement ? ms(
19891
19895
  "div",
19892
19896
  {
19893
- ...Kt.attributes,
19894
- innerHTML: Kt.component.innerHTML
19897
+ ...Qt.attributes,
19898
+ innerHTML: Qt.component.innerHTML
19895
19899
  /// ce 动态设置的 props 丢失 !
19896
19900
  }
19897
19901
  // elementsToVNodes(page.component)
19898
- ) : ms(Kt.component, Kt.attributes, () => Kt.child)
19902
+ ) : ms(Qt.component, Qt.attributes, () => Qt.child)
19899
19903
  }
19900
19904
  )
19901
19905
  );
@@ -19937,18 +19941,18 @@ const uc = /* @__PURE__ */ pt(dy, [["__scopeId", "data-v-48bcfc9f"]]), hc = /* @
19937
19941
  function mt(Z, V) {
19938
19942
  gt.addTask(
19939
19943
  () => new Promise((Wt) => {
19940
- const Kt = () => {
19944
+ const Qt = () => {
19941
19945
  V?.(), Wt();
19942
19946
  };
19943
19947
  if (!d(Z)) {
19944
- Kt();
19948
+ Qt();
19945
19949
  return;
19946
19950
  }
19947
19951
  if (o = Z, o == i) {
19948
- Kt();
19952
+ Qt();
19949
19953
  return;
19950
19954
  }
19951
- l.push(Kt), it(), r(
19955
+ l.push(Qt), it(), r(
19952
19956
  "routeChangeStart",
19953
19957
  i,
19954
19958
  o,
@@ -20144,7 +20148,7 @@ const a_ = /* @__PURE__ */ pt(by, [["__scopeId", "data-v-37646611"]]), xy = /* @
20144
20148
  Tt(d.$slots, "button", {}, () => [
20145
20149
  ft(we, null, {
20146
20150
  default: Pt(() => [
20147
- te("popover")
20151
+ Kt("popover")
20148
20152
  ]),
20149
20153
  _: 1
20150
20154
  })
@@ -20273,7 +20277,7 @@ const a_ = /* @__PURE__ */ pt(by, [["__scopeId", "data-v-37646611"]]), xy = /* @
20273
20277
  borderRadius: "0"
20274
20278
  }, {
20275
20279
  default: Pt(() => [
20276
- te(bt(c.value), 1)
20280
+ Kt(bt(c.value), 1)
20277
20281
  ]),
20278
20282
  _: 1
20279
20283
  }, 8, ["bgColor", "borderColor", "fontColor"])) : zt("", !0),
@@ -20284,7 +20288,7 @@ const a_ = /* @__PURE__ */ pt(by, [["__scopeId", "data-v-37646611"]]), xy = /* @
20284
20288
  borderRadius: "0"
20285
20289
  }, {
20286
20290
  default: Pt(() => [
20287
- te(bt(u.value), 1)
20291
+ Kt(bt(u.value), 1)
20288
20292
  ]),
20289
20293
  _: 1
20290
20294
  })) : zt("", !0)
@@ -21347,7 +21351,7 @@ const O1 = /* @__PURE__ */ Object.assign({
21347
21351
  onClick: l
21348
21352
  }, {
21349
21353
  default: Pt(() => [
21350
- te(" 开始 ")
21354
+ Kt(" 开始 ")
21351
21355
  ]),
21352
21356
  _: 1
21353
21357
  })
@@ -21360,7 +21364,7 @@ const O1 = /* @__PURE__ */ Object.assign({
21360
21364
  onClick: c
21361
21365
  }, {
21362
21366
  default: Pt(() => [
21363
- te(" 选择 ")
21367
+ Kt(" 选择 ")
21364
21368
  ]),
21365
21369
  _: 1
21366
21370
  }, 8, ["stylePattern"])
@@ -21684,14 +21688,14 @@ const b_ = /* @__PURE__ */ pt(A1, [["__scopeId", "data-v-fa7ba01d"]]), M1 = { cl
21684
21688
  o.app.off("showInParent", f);
21685
21689
  }), t({ start: f }), (E, S) => (L(), U("div", M1, [
21686
21690
  P("div", null, [
21687
- te(" 插值:" + bt(E.interpolationName) + " ", 1),
21691
+ Kt(" 插值:" + bt(E.interpolationName) + " ", 1),
21688
21692
  ft(we, {
21689
21693
  stylePattern: "outline",
21690
21694
  height: "32px",
21691
21695
  onClick: f
21692
21696
  }, {
21693
21697
  default: Pt(() => [
21694
- te(" 开始 ")
21698
+ Kt(" 开始 ")
21695
21699
  ]),
21696
21700
  _: 1
21697
21701
  })
@@ -22015,7 +22019,7 @@ const _c = /* @__PURE__ */ pt($1, [["__scopeId", "data-v-132e642b"]]), V1 = '<sv
22015
22019
  fill: "none"
22016
22020
  },
22017
22021
  enableDrag: !0
22018
- }), Kt = new e0({
22022
+ }), Qt = new e0({
22019
22023
  x: jt(0, r),
22020
22024
  y: jt(0, i),
22021
22025
  degree: 30,
@@ -22035,7 +22039,7 @@ const _c = /* @__PURE__ */ pt($1, [["__scopeId", "data-v-132e642b"]]), V1 = '<sv
22035
22039
  stroke: Ct.random().toString()
22036
22040
  },
22037
22041
  enableDrag: !0
22038
- }), Qt = new uh({
22042
+ }), Jt = new uh({
22039
22043
  x: 200,
22040
22044
  y: 200,
22041
22045
  min: 0,
@@ -22044,7 +22048,7 @@ const _c = /* @__PURE__ */ pt($1, [["__scopeId", "data-v-132e642b"]]), V1 = '<sv
22044
22048
  defaultValue: 10,
22045
22049
  barWidth: 200
22046
22050
  });
22047
- Qt.on("change", (Oe) => {
22051
+ Jt.on("change", (Oe) => {
22048
22052
  console.log(`slider change: ${Oe}`);
22049
22053
  });
22050
22054
  const Vt = new jo({
@@ -22091,9 +22095,9 @@ const _c = /* @__PURE__ */ pt($1, [["__scopeId", "data-v-132e642b"]]), V1 = '<sv
22091
22095
  Z,
22092
22096
  V,
22093
22097
  Wt,
22094
- Kt,
22095
- Ot,
22096
22098
  Qt,
22099
+ Ot,
22100
+ Jt,
22097
22101
  Vt,
22098
22102
  G,
22099
22103
  Ne
@@ -22392,8 +22396,8 @@ const _c = /* @__PURE__ */ pt($1, [["__scopeId", "data-v-132e642b"]]), V1 = '<sv
22392
22396
  }
22393
22397
  const rt = -Math.PI / 2;
22394
22398
  function B(Z, V, Wt) {
22395
- const Kt = Math.sin(Wt) * 45 + 90, Ot = Math.sin(Wt + rt) * 45 + 45, Qt = V.getPin();
22396
- Z.degree = Kt, V.degree = Z.degree + Ot, V.x = Z.getPin().x, V.y = Z.getPin().y, V.vx = V.getPin().x - Qt.x, V.vy = V.getPin().y - Qt.y;
22399
+ const Qt = Math.sin(Wt) * 45 + 90, Ot = Math.sin(Wt + rt) * 45 + 45, Jt = V.getPin();
22400
+ Z.degree = Qt, V.degree = Z.degree + Ot, V.x = Z.getPin().x, V.y = Z.getPin().y, V.vx = V.getPin().x - Jt.x, V.vy = V.getPin().y - Jt.y;
22397
22401
  }
22398
22402
  function j(Z) {
22399
22403
  const V = Z.getPin().y + Z.height / 2;
@@ -23249,7 +23253,7 @@ const _c = /* @__PURE__ */ pt($1, [["__scopeId", "data-v-132e642b"]]), V1 = '<sv
23249
23253
  P("div", z1, [
23250
23254
  ft(we, { asyncClick: ct }, {
23251
23255
  default: Pt(() => [
23252
- te(" downloadFromCanvasToSVG ")
23256
+ Kt(" downloadFromCanvasToSVG ")
23253
23257
  ]),
23254
23258
  _: 1
23255
23259
  })
@@ -23262,7 +23266,7 @@ const _c = /* @__PURE__ */ pt($1, [["__scopeId", "data-v-132e642b"]]), V1 = '<sv
23262
23266
  stylePattern: c.value == A.type ? "fullfilled" : "outline"
23263
23267
  }, {
23264
23268
  default: Pt(() => [
23265
- te(bt(A.name), 1)
23269
+ Kt(bt(A.name), 1)
23266
23270
  ]),
23267
23271
  _: 2
23268
23272
  }, 1032, ["item", "onClick", "stylePattern"])), 64))
@@ -23278,7 +23282,7 @@ const _c = /* @__PURE__ */ pt($1, [["__scopeId", "data-v-132e642b"]]), V1 = '<sv
23278
23282
  stylePattern: u.value == A.type ? "fullfilled" : "outline"
23279
23283
  }, {
23280
23284
  default: Pt(() => [
23281
- te(bt(A.type), 1)
23285
+ Kt(bt(A.type), 1)
23282
23286
  ]),
23283
23287
  _: 2
23284
23288
  }, 1032, ["item", "onClick", "stylePattern"])), 64))
@@ -23603,12 +23607,12 @@ const D_ = /* @__PURE__ */ pt(vv, [["__scopeId", "data-v-361d898a"]]), _v = { cl
23603
23607
  }, [
23604
23608
  P("div", _v, [
23605
23609
  Tt(a.$slots, "front", {}, () => [
23606
- te("front")
23610
+ Kt("front")
23607
23611
  ], !0)
23608
23612
  ]),
23609
23613
  P("div", bv, [
23610
23614
  Tt(a.$slots, "back", {}, () => [
23611
- te("back")
23615
+ Kt("back")
23612
23616
  ], !0)
23613
23617
  ])
23614
23618
  ], 6)
@@ -23701,7 +23705,7 @@ const R_ = /* @__PURE__ */ pt(xv, [["__scopeId", "data-v-e37e840a"]]), wv = /* @
23701
23705
  })
23702
23706
  }, [
23703
23707
  Tt(p.$slots, "front", {}, () => [
23704
- te("front")
23708
+ Kt("front")
23705
23709
  ], !0)
23706
23710
  ], 4),
23707
23711
  P("div", {
@@ -23712,7 +23716,7 @@ const R_ = /* @__PURE__ */ pt(xv, [["__scopeId", "data-v-e37e840a"]]), wv = /* @
23712
23716
  })
23713
23717
  }, [
23714
23718
  Tt(p.$slots, "back", {}, () => [
23715
- te("back")
23719
+ Kt("back")
23716
23720
  ], !0)
23717
23721
  ], 4),
23718
23722
  P("div", {
@@ -23723,7 +23727,7 @@ const R_ = /* @__PURE__ */ pt(xv, [["__scopeId", "data-v-e37e840a"]]), wv = /* @
23723
23727
  })
23724
23728
  }, [
23725
23729
  Tt(p.$slots, "right", {}, () => [
23726
- te("right")
23730
+ Kt("right")
23727
23731
  ], !0)
23728
23732
  ], 4),
23729
23733
  P("div", {
@@ -23734,7 +23738,7 @@ const R_ = /* @__PURE__ */ pt(xv, [["__scopeId", "data-v-e37e840a"]]), wv = /* @
23734
23738
  })
23735
23739
  }, [
23736
23740
  Tt(p.$slots, "left", {}, () => [
23737
- te("left")
23741
+ Kt("left")
23738
23742
  ], !0)
23739
23743
  ], 4),
23740
23744
  P("div", {
@@ -23745,7 +23749,7 @@ const R_ = /* @__PURE__ */ pt(xv, [["__scopeId", "data-v-e37e840a"]]), wv = /* @
23745
23749
  })
23746
23750
  }, [
23747
23751
  Tt(p.$slots, "top", {}, () => [
23748
- te("top")
23752
+ Kt("top")
23749
23753
  ], !0)
23750
23754
  ], 4),
23751
23755
  P("div", {
@@ -23756,7 +23760,7 @@ const R_ = /* @__PURE__ */ pt(xv, [["__scopeId", "data-v-e37e840a"]]), wv = /* @
23756
23760
  })
23757
23761
  }, [
23758
23762
  Tt(p.$slots, "bottom", {}, () => [
23759
- te("bottom")
23763
+ Kt("bottom")
23760
23764
  ], !0)
23761
23765
  ], 4)
23762
23766
  ], 6)
@@ -23780,7 +23784,7 @@ const R_ = /* @__PURE__ */ pt(xv, [["__scopeId", "data-v-e37e840a"]]), wv = /* @
23780
23784
  })
23781
23785
  ]),
23782
23786
  P("div", null, [
23783
- te(" perspective: "),
23787
+ Kt(" perspective: "),
23784
23788
  ft(Zs, {
23785
23789
  min: 1,
23786
23790
  max: 2e3,
@@ -23790,7 +23794,7 @@ const R_ = /* @__PURE__ */ pt(xv, [["__scopeId", "data-v-e37e840a"]]), wv = /* @
23790
23794
  }, null, 8, ["defaultValue"])
23791
23795
  ]),
23792
23796
  P("div", null, [
23793
- te(" perspective-origin x: "),
23797
+ Kt(" perspective-origin x: "),
23794
23798
  ft(Zs, {
23795
23799
  min: 0,
23796
23800
  max: 100,
@@ -23800,7 +23804,7 @@ const R_ = /* @__PURE__ */ pt(xv, [["__scopeId", "data-v-e37e840a"]]), wv = /* @
23800
23804
  })
23801
23805
  ]),
23802
23806
  P("div", null, [
23803
- te(" perspective-origin y: "),
23807
+ Kt(" perspective-origin y: "),
23804
23808
  ft(Zs, {
23805
23809
  min: 0,
23806
23810
  max: 100,