@a2simcode/ui 0.0.32 → 0.0.33

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as ne, computed as j, openBlock as b, createElementBlock as P, mergeProps as _e, createVNode as J, unref as _, shallowRef as $t, ref as M, watch as Ee, withModifiers as Ke, normalizeClass as ae, createBlock as I, createCommentVNode as D, toDisplayString as he, renderSlot as Se, nextTick as Oe, inject as wt, provide as $a, resolveComponent as V, withCtx as N, resolveDynamicComponent as rt, getCurrentInstance as xt, render as ao, Fragment as Ce, renderList as $e, onMounted as Ve, createSlots as Yt, createTextVNode as jt, createElementVNode as R, useSlots as Dl, reactive as dn, onUnmounted as so, normalizeStyle as ke, watchEffect as _a, readonly as Mu, getCurrentScope as hs, onScopeDispose as Nl, isRef as vs, warn as Au, toRef as ma, useAttrs as Bu, onBeforeUnmount as qt, Text as Iu, h as ms, markRaw as gl, toRefs as Pu, Transition as Lu, withDirectives as Dt, withKeys as Tn, vShow as Zn, isVNode as gs, resolveDirective as Ma, useTemplateRef as jn, useModel as jo, mergeModels as $o, toValue as Hl, normalizeProps as Aa, guardReactiveProps as Wl } from "vue";
1
+ import { defineComponent as ne, computed as j, openBlock as b, createElementBlock as P, mergeProps as _e, createVNode as J, unref as _, shallowRef as $t, ref as M, watch as Ee, withModifiers as Ke, normalizeClass as ae, createBlock as I, createCommentVNode as D, toDisplayString as he, renderSlot as Se, nextTick as Oe, inject as wt, provide as _a, resolveComponent as V, withCtx as N, resolveDynamicComponent as rt, getCurrentInstance as xt, render as ao, Fragment as Ce, renderList as $e, onMounted as Ve, createSlots as Yt, createTextVNode as jt, createElementVNode as R, useSlots as Dl, reactive as dn, onUnmounted as so, normalizeStyle as ke, watchEffect as Ma, readonly as Mu, getCurrentScope as hs, onScopeDispose as Nl, isRef as vs, warn as Au, toRef as ga, useAttrs as Bu, onBeforeUnmount as qt, Text as Iu, h as ms, markRaw as gl, toRefs as Pu, Transition as Lu, withDirectives as Dt, withKeys as Tn, vShow as Zn, isVNode as gs, resolveDirective as Aa, useTemplateRef as jn, useModel as jo, mergeModels as $o, toValue as Hl, normalizeProps as Ba, guardReactiveProps as Wl } from "vue";
2
2
  import { getIcon as Kn, Icon as Pi } from "@iconify/vue";
3
3
  import ys from "dayjs";
4
4
  import Ou from "crypto-js/aes";
@@ -33,8 +33,8 @@ import wd from "async-validator";
33
33
  import { createEditor as xd, createToolbar as Cd } from "@wangeditor/editor";
34
34
  import Sd from "diagram-js";
35
35
  import { closest as ws, queryAll as kd, query as _o, delegate as Oi, classes as Ed, event as Ge, assignStyle as Td } from "min-dom";
36
- import { isNumber as Ft, assign as Be, forEach as we, isArray as _t, find as Qn, filter as lo, isUndefined as jd, isObject as fn, groupBy as $d, has as xs, map as Po, every as _d, sortBy as Cs, isNil as Ri, bind as Md, uniqueBy as Ad, isFunction as da, isDefined as Hn, some as Bd, omit as Id, pick as bl, values as Pd, without as Ld, reduce as Vi } from "min-dash";
37
- import { create as pt, attr as Xe, remove as ga, append as ft, clone as Ss, classes as ks, createTransform as Od, transform as Rd } from "tiny-svg";
36
+ import { isNumber as Ft, assign as Be, forEach as we, isArray as _t, find as Qn, filter as lo, isUndefined as jd, isObject as fn, groupBy as $d, has as xs, map as Po, every as _d, sortBy as Cs, isNil as Ri, bind as Md, uniqueBy as Ad, isFunction as fa, isDefined as Hn, some as Bd, omit as Id, pick as bl, values as Pd, without as Ld, reduce as Vi } from "min-dash";
37
+ import { create as pt, attr as Xe, remove as ya, append as ft, clone as Ss, classes as ks, createTransform as Od, transform as Rd } from "tiny-svg";
38
38
  import Lo from "inherits";
39
39
  const ve = (e) => (e.install = (t) => {
40
40
  t.component(e.name, e);
@@ -270,7 +270,7 @@ const un = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Arr
270
270
  ], 10, zd));
271
271
  }
272
272
  }), xl = ve(Dd);
273
- function ya(e) {
273
+ function ba(e) {
274
274
  Object.keys(e || {}).forEach((t) => {
275
275
  delete e[t];
276
276
  });
@@ -345,7 +345,7 @@ function Hd(e, t, n) {
345
345
  }
346
346
  return a[o[o.length - 1]] = n, e;
347
347
  }
348
- const Go = (e) => {
348
+ const qo = (e) => {
349
349
  let t = parseFloat(e);
350
350
  return isNaN(t) ? 0 : (t = Math.round(e * 100) / 100, t);
351
351
  }, LC = function(e, t, n) {
@@ -590,7 +590,7 @@ const Ts = (e, t, n, o) => {
590
590
  function ef(e, t = Zd) {
591
591
  return ys(e).format(t);
592
592
  }
593
- function qo(e, t = Qd) {
593
+ function Xo(e, t = Qd) {
594
594
  return ys(e).format(t);
595
595
  }
596
596
  function zi(e) {
@@ -622,7 +622,7 @@ const tf = /* @__PURE__ */ (() => {
622
622
  function ko(e) {
623
623
  tf(e);
624
624
  }
625
- const { decrypt: Ms, encrypt: nf } = Ou, ba = bs, Fi = bs.parse, Di = (e, t = 32) => {
625
+ const { decrypt: Ms, encrypt: nf } = Ou, wa = bs, Fi = bs.parse, Di = (e, t = 32) => {
626
626
  const { length: n } = e;
627
627
  if (n < t) {
628
628
  for (let o = 0, a = t - n; o < a; o++)
@@ -647,7 +647,7 @@ class of {
647
647
  return nf(t, this.key, this.getOptions).toString();
648
648
  }
649
649
  decrypt(t) {
650
- return Ms(t, this.key, this.getOptions).toString(ba);
650
+ return Ms(t, this.key, this.getOptions).toString(wa);
651
651
  }
652
652
  }
653
653
  class Jn {
@@ -660,10 +660,10 @@ class Jn {
660
660
  return Jn.instance || (Jn.instance = new Jn()), Jn.instance;
661
661
  }
662
662
  encrypt(t) {
663
- return ba.parse(t).toString(Li);
663
+ return wa.parse(t).toString(Li);
664
664
  }
665
665
  decrypt(t) {
666
- return Li.parse(t).toString(ba);
666
+ return Li.parse(t).toString(wa);
667
667
  }
668
668
  }
669
669
  class Yn {
@@ -724,7 +724,7 @@ class DC {
724
724
  return qn.getInstance();
725
725
  }
726
726
  }
727
- const NC = (e, t) => Ms(e, t).toString(ba);
727
+ const NC = (e, t) => Ms(e, t).toString(wa);
728
728
  function lf(e, t) {
729
729
  function n() {
730
730
  Oe(() => {
@@ -824,7 +824,7 @@ function In(e, t) {
824
824
  return wt(e, t);
825
825
  }
826
826
  function Pn(e, t) {
827
- $a(e, t);
827
+ _a(e, t);
828
828
  }
829
829
  function vt() {
830
830
  return In(Mt.APP_PROVIDE, {
@@ -853,7 +853,7 @@ function sf() {
853
853
  function Jl(e) {
854
854
  Pn(Mt.TABLE_PROVIDE, e);
855
855
  }
856
- function Ba() {
856
+ function Oo() {
857
857
  return In(Mt.MENU_PROVIDE, {});
858
858
  }
859
859
  function cf(e) {
@@ -1216,7 +1216,7 @@ const yf = ve(Is), bf = /* @__PURE__ */ ne({
1216
1216
  * @vModel
1217
1217
  */
1218
1218
  modelValue: {
1219
- type: [String],
1219
+ type: [String, Number],
1220
1220
  default: void 0
1221
1221
  },
1222
1222
  /**
@@ -2220,12 +2220,12 @@ const yf = ve(Is), bf = /* @__PURE__ */ ne({
2220
2220
  ], 4)) : D("", !0)
2221
2221
  ], 2));
2222
2222
  }
2223
- }), Kf = ve(Uf), Ps = /* @__PURE__ */ Symbol(), fa = "el", Jf = "is-", Sn = (e, t, n, o, a) => {
2223
+ }), Kf = ve(Uf), Ps = /* @__PURE__ */ Symbol(), pa = "el", Jf = "is-", Sn = (e, t, n, o, a) => {
2224
2224
  let l = `${e}-${t}`;
2225
2225
  return n && (l += `-${n}`), o && (l += `__${o}`), a && (l += `--${a}`), l;
2226
2226
  }, Ls = /* @__PURE__ */ Symbol("namespaceContextKey"), Os = (e) => {
2227
- const t = e || (xt() ? wt(Ls, M(fa)) : M(fa));
2228
- return j(() => _(t) || fa);
2227
+ const t = e || (xt() ? wt(Ls, M(pa)) : M(pa));
2228
+ return j(() => _(t) || pa);
2229
2229
  }, Gt = (e, t) => {
2230
2230
  const n = Os(t);
2231
2231
  return {
@@ -2260,7 +2260,7 @@ const yf = ve(Is), bf = /* @__PURE__ */ ne({
2260
2260
  process.env.NODE_ENV !== "production" && Object.freeze({});
2261
2261
  process.env.NODE_ENV !== "production" && Object.freeze([]);
2262
2262
  const An = () => {
2263
- }, Yf = Object.prototype.hasOwnProperty, wa = (e, t) => Yf.call(e, t), Gf = Array.isArray, io = (e) => typeof e == "function", Nt = (e) => typeof e == "string", ro = (e) => e !== null && typeof e == "object", qf = (e) => {
2263
+ }, Yf = Object.prototype.hasOwnProperty, xa = (e, t) => Yf.call(e, t), Gf = Array.isArray, io = (e) => typeof e == "function", Nt = (e) => typeof e == "string", ro = (e) => e !== null && typeof e == "object", qf = (e) => {
2264
2264
  const t = /* @__PURE__ */ Object.create(null);
2265
2265
  return ((n) => t[n] || (t[n] = e(n)));
2266
2266
  }, Xf = /-\w/g, Zf = qf(
@@ -2297,18 +2297,18 @@ function up(e, t) {
2297
2297
  a[n] = t(e[n], n, e);
2298
2298
  return a;
2299
2299
  }
2300
- var Oo = Array.isArray, Hi = hn ? hn.prototype : void 0, Wi = Hi ? Hi.toString : void 0;
2300
+ var Ro = Array.isArray, Hi = hn ? hn.prototype : void 0, Wi = Hi ? Hi.toString : void 0;
2301
2301
  function Vs(e) {
2302
2302
  if (typeof e == "string")
2303
2303
  return e;
2304
- if (Oo(e))
2304
+ if (Ro(e))
2305
2305
  return up(e, Vs) + "";
2306
2306
  if (Xl(e))
2307
2307
  return Wi ? Wi.call(e) : "";
2308
2308
  var t = e + "";
2309
2309
  return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
2310
2310
  }
2311
- function xa(e) {
2311
+ function Ca(e) {
2312
2312
  var t = typeof e;
2313
2313
  return e != null && (t == "object" || t == "function");
2314
2314
  }
@@ -2317,7 +2317,7 @@ function dp(e) {
2317
2317
  }
2318
2318
  var fp = "[object AsyncFunction]", pp = "[object Function]", hp = "[object GeneratorFunction]", vp = "[object Proxy]";
2319
2319
  function mp(e) {
2320
- if (!xa(e))
2320
+ if (!Ca(e))
2321
2321
  return !1;
2322
2322
  var t = Gl(e);
2323
2323
  return t == pp || t == hp || t == fp || t == vp;
@@ -2347,7 +2347,7 @@ var xp = /[\\^$.*+?()[\]{}|]/g, Cp = /^\[object .+?Constructor\]$/, Sp = Functio
2347
2347
  "^" + Ep.call(Tp).replace(xp, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2348
2348
  );
2349
2349
  function $p(e) {
2350
- if (!xa(e) || gp(e))
2350
+ if (!Ca(e) || gp(e))
2351
2351
  return !1;
2352
2352
  var t = mp(e) ? jp : Cp;
2353
2353
  return t.test(wp(e));
@@ -2390,14 +2390,14 @@ function Lp(e) {
2390
2390
  return e;
2391
2391
  };
2392
2392
  }
2393
- var Ca = (function() {
2393
+ var Sa = (function() {
2394
2394
  try {
2395
2395
  var e = Zl(Object, "defineProperty");
2396
2396
  return e({}, "", {}), e;
2397
2397
  } catch {
2398
2398
  }
2399
- })(), Op = Ca ? function(e, t) {
2400
- return Ca(e, "toString", {
2399
+ })(), Op = Sa ? function(e, t) {
2400
+ return Sa(e, "toString", {
2401
2401
  configurable: !0,
2402
2402
  enumerable: !1,
2403
2403
  value: Lp(t),
@@ -2409,7 +2409,7 @@ function zs(e, t) {
2409
2409
  return t = t ?? Vp, !!t && (n == "number" || n != "symbol" && zp.test(e)) && e > -1 && e % 1 == 0 && e < t;
2410
2410
  }
2411
2411
  function Fp(e, t, n) {
2412
- t == "__proto__" && Ca ? Ca(e, t, {
2412
+ t == "__proto__" && Sa ? Sa(e, t, {
2413
2413
  configurable: !0,
2414
2414
  enumerable: !0,
2415
2415
  value: n,
@@ -2449,7 +2449,7 @@ var Ds = Object.prototype, Yp = Ds.hasOwnProperty, Gp = Ds.propertyIsEnumerable,
2449
2449
  return ql(e) && Yp.call(e, "callee") && !Gp.call(e, "callee");
2450
2450
  }, qp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Xp = /^\w*$/;
2451
2451
  function Zp(e, t) {
2452
- if (Oo(e))
2452
+ if (Ro(e))
2453
2453
  return !1;
2454
2454
  var n = typeof e;
2455
2455
  return n == "number" || n == "symbol" || n == "boolean" || e == null || Xl(e) ? !0 : Xp.test(e) || !qp.test(e) || t != null && e in Object(t);
@@ -2606,7 +2606,7 @@ function Mh(e) {
2606
2606
  return e == null ? "" : Vs(e);
2607
2607
  }
2608
2608
  function Oa(e, t) {
2609
- return Oo(e) ? e : Zp(e, t) ? [e] : _h(Mh(e));
2609
+ return Ro(e) ? e : Zp(e, t) ? [e] : _h(Mh(e));
2610
2610
  }
2611
2611
  function ei(e) {
2612
2612
  if (typeof e == "string" || Xl(e))
@@ -2631,7 +2631,7 @@ function Bh(e, t) {
2631
2631
  }
2632
2632
  var Yi = hn ? hn.isConcatSpreadable : void 0;
2633
2633
  function Ih(e) {
2634
- return Oo(e) || Ns(e) || !!(Yi && e && e[Yi]);
2634
+ return Ro(e) || Ns(e) || !!(Yi && e && e[Yi]);
2635
2635
  }
2636
2636
  function Ph(e, t, n, o, a) {
2637
2637
  var l = -1, i = e.length;
@@ -2659,7 +2659,7 @@ function Vh(e, t, n) {
2659
2659
  break;
2660
2660
  e = e[i];
2661
2661
  }
2662
- return l || ++o != a ? l : (a = e == null ? 0 : e.length, !!a && Kp(a) && zs(i, a) && (Oo(e) || Ns(e)));
2662
+ return l || ++o != a ? l : (a = e == null ? 0 : e.length, !!a && Kp(a) && zs(i, a) && (Ro(e) || Ns(e)));
2663
2663
  }
2664
2664
  function zh(e, t) {
2665
2665
  return e != null && Vh(e, t, Rh);
@@ -2675,7 +2675,7 @@ function Us(e) {
2675
2675
  return e == null;
2676
2676
  }
2677
2677
  function Fh(e, t, n, o) {
2678
- if (!xa(e))
2678
+ if (!Ca(e))
2679
2679
  return e;
2680
2680
  t = Oa(t, e);
2681
2681
  for (var a = -1, l = t.length, i = l - 1, r = e; r != null && ++a < l; ) {
@@ -2684,7 +2684,7 @@ function Fh(e, t, n, o) {
2684
2684
  return e;
2685
2685
  if (a != i) {
2686
2686
  var d = r[s];
2687
- c = void 0, c === void 0 && (c = xa(d) ? d : zs(t[a + 1]) ? [] : {});
2687
+ c = void 0, c === void 0 && (c = Ca(d) ? d : zs(t[a + 1]) ? [] : {});
2688
2688
  }
2689
2689
  Hp(r, s, c), r = r[s];
2690
2690
  }
@@ -2705,11 +2705,11 @@ function Nh(e, t) {
2705
2705
  var Hh = Oh(function(e, t) {
2706
2706
  return e == null ? {} : Nh(e, t);
2707
2707
  });
2708
- const Wh = (e) => e === void 0, Sa = (e) => typeof e == "number", kl = (e) => typeof Element > "u" ? !1 : e instanceof Element, Uh = (e) => Nt(e) ? !Number.isNaN(Number(e)) : !1;
2708
+ const Wh = (e) => e === void 0, ka = (e) => typeof e == "number", kl = (e) => typeof Element > "u" ? !1 : e instanceof Element, Uh = (e) => Nt(e) ? !Number.isNaN(Number(e)) : !1;
2709
2709
  function Kh(e, t) {
2710
2710
  var n;
2711
2711
  const o = $t();
2712
- return _a(() => {
2712
+ return Ma(() => {
2713
2713
  o.value = e();
2714
2714
  }, {
2715
2715
  ...t,
@@ -2807,7 +2807,7 @@ const Gi = {
2807
2807
  }, qi = M(0), qs = 2e3, Xi = /* @__PURE__ */ Symbol("elZIndexContextKey"), Xs = /* @__PURE__ */ Symbol("zIndexContextKey"), ev = (e) => {
2808
2808
  const t = xt() ? wt(Xi, Gi) : Gi, n = e || (xt() ? wt(Xs, void 0) : void 0), o = j(() => {
2809
2809
  const i = _(n);
2810
- return Sa(i) ? i : qs;
2810
+ return ka(i) ? i : qs;
2811
2811
  }), a = j(() => o.value + qi.value), l = () => (t.current++, qi.value = t.current, a.value);
2812
2812
  return !Rt && !wt(Xi) && Ht(
2813
2813
  "ZIndexInjection",
@@ -3037,7 +3037,7 @@ const nv = (e) => (t, n) => ov(t, n, _(e)), ov = (e, t, n) => Ah(n, e, e).replac
3037
3037
  required: !!o,
3038
3038
  validator: n || i ? (c) => {
3039
3039
  let d = !1, u = [];
3040
- if (n && (u = Array.from(n), wa(e, "default") && u.push(a), d || (d = u.includes(c))), i && (d || (d = i(c))), !d && u.length > 0) {
3040
+ if (n && (u = Array.from(n), xa(e, "default") && u.push(a), d || (d = u.includes(c))), i && (d || (d = i(c))), !d && u.length > 0) {
3041
3041
  const h = [...new Set(u)].map((v) => JSON.stringify(v)).join(", ");
3042
3042
  Au(
3043
3043
  `Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${h}], got value ${JSON.stringify(
@@ -3049,7 +3049,7 @@ const nv = (e) => (t, n) => ov(t, n, _(e)), ov = (e, t, n) => Ah(n, e, e).replac
3049
3049
  } : void 0,
3050
3050
  [Qs]: !0
3051
3051
  };
3052
- return wa(e, "default") && (s.default = a), s;
3052
+ return xa(e, "default") && (s.default = a), s;
3053
3053
  }, fo = (e) => Ws(
3054
3054
  Object.entries(e).map(([t, n]) => [
3055
3055
  t,
@@ -3076,9 +3076,9 @@ fo({
3076
3076
  validator: (e) => (e = io(e) ? e() : e, Gf(e) ? e.every((t) => !t) : !e)
3077
3077
  }
3078
3078
  });
3079
- const Zi = (e) => Object.keys(e), ka = M();
3079
+ const Zi = (e) => Object.keys(e), Ea = M();
3080
3080
  function ti(e, t = void 0) {
3081
- const n = xt() ? wt(Ps, ka) : ka;
3081
+ const n = xt() ? wt(Ps, Ea) : Ea;
3082
3082
  return e ? j(() => {
3083
3083
  var o, a;
3084
3084
  return (a = (o = n.value) == null ? void 0 : o[e]) != null ? a : t;
@@ -3089,7 +3089,7 @@ function cv(e, t) {
3089
3089
  e,
3090
3090
  j(() => {
3091
3091
  var r;
3092
- return ((r = n.value) == null ? void 0 : r.namespace) || fa;
3092
+ return ((r = n.value) == null ? void 0 : r.namespace) || pa;
3093
3093
  })
3094
3094
  ), a = lv(j(() => {
3095
3095
  var r;
@@ -3112,7 +3112,7 @@ function cv(e, t) {
3112
3112
  }
3113
3113
  const uv = (e, t, n = !1) => {
3114
3114
  var o;
3115
- const a = !!xt(), l = a ? ti() : void 0, i = (o = void 0) != null ? o : a ? $a : void 0;
3115
+ const a = !!xt(), l = a ? ti() : void 0, i = (o = void 0) != null ? o : a ? _a : void 0;
3116
3116
  if (!i) {
3117
3117
  Ht(
3118
3118
  "provideGlobalConfig",
@@ -3141,7 +3141,7 @@ const uv = (e, t, n = !1) => {
3141
3141
  emptyValues: r.value.emptyValues,
3142
3142
  valueOnClear: r.value.valueOnClear
3143
3143
  }))
3144
- ), (n || !ka.value) && (ka.value = r.value), r;
3144
+ ), (n || !Ea.value) && (Ea.value = r.value), r;
3145
3145
  }, dv = (e, t) => {
3146
3146
  const n = [.../* @__PURE__ */ new Set([...Zi(e), ...Zi(t)])], o = {};
3147
3147
  for (const a of n)
@@ -3162,7 +3162,7 @@ const ni = (e, t) => {
3162
3162
  for (const [n, o] of Object.entries(t))
3163
3163
  e[n] = o;
3164
3164
  return e;
3165
- }, fv = (e) => (e.install = An, e), pa = "update:modelValue", Qi = "change", rl = "input", pv = "utils/dom/style", ac = (e = "") => e.split(" ").filter((t) => !!t.trim()), hv = (e, t) => {
3165
+ }, fv = (e) => (e.install = An, e), ha = "update:modelValue", Qi = "change", rl = "input", pv = "utils/dom/style", ac = (e = "") => e.split(" ").filter((t) => !!t.trim()), hv = (e, t) => {
3166
3166
  if (!e || !t)
3167
3167
  return !1;
3168
3168
  if (t.includes(" "))
@@ -3191,19 +3191,19 @@ const ni = (e, t) => {
3191
3191
  function Tl(e, t = "px") {
3192
3192
  if (!e && e !== 0)
3193
3193
  return "";
3194
- if (Sa(e) || Uh(e))
3194
+ if (ka(e) || Uh(e))
3195
3195
  return `${e}${t}`;
3196
3196
  if (Nt(e))
3197
3197
  return e;
3198
3198
  Ht(pv, "binding value must be a string or number");
3199
3199
  }
3200
- let Xo;
3200
+ let Zo;
3201
3201
  const yv = (e) => {
3202
3202
  var t;
3203
3203
  if (!Rt)
3204
3204
  return 0;
3205
- if (Xo !== void 0)
3206
- return Xo;
3205
+ if (Zo !== void 0)
3206
+ return Zo;
3207
3207
  const n = document.createElement("div");
3208
3208
  n.className = `${e}-scrollbar__wrap`, n.style.visibility = "hidden", n.style.width = "100px", n.style.position = "absolute", n.style.top = "-9999px", document.body.appendChild(n);
3209
3209
  const o = n.offsetWidth;
@@ -3211,7 +3211,7 @@ const yv = (e) => {
3211
3211
  const a = document.createElement("div");
3212
3212
  a.style.width = "100%", n.appendChild(a);
3213
3213
  const l = a.offsetWidth;
3214
- return (t = n.parentNode) == null || t.removeChild(n), Xo = o - l, Xo;
3214
+ return (t = n.parentNode) == null || t.removeChild(n), Zo = o - l, Zo;
3215
3215
  }, bv = fo({
3216
3216
  size: {
3217
3217
  type: Tt([Number, String])
@@ -3357,7 +3357,7 @@ var Cv = /* @__PURE__ */ ne({
3357
3357
  })
3358
3358
  ]));
3359
3359
  }
3360
- }), Ea = Av, Bv = /* @__PURE__ */ ne({
3360
+ }), Ta = Av, Bv = /* @__PURE__ */ ne({
3361
3361
  name: "SuccessFilled",
3362
3362
  __name: "success-filled",
3363
3363
  setup(e) {
@@ -3417,11 +3417,11 @@ const Eo = Tt([
3417
3417
  error: lc,
3418
3418
  info: jl
3419
3419
  }, Rv = {
3420
- validating: Ea,
3420
+ validating: Ta,
3421
3421
  success: Sv,
3422
3422
  error: ic
3423
3423
  };
3424
- var ha = /* @__PURE__ */ ((e) => (e[e.TEXT = 1] = "TEXT", e[e.CLASS = 2] = "CLASS", e[e.STYLE = 4] = "STYLE", e[e.PROPS = 8] = "PROPS", e[e.FULL_PROPS = 16] = "FULL_PROPS", e[e.HYDRATE_EVENTS = 32] = "HYDRATE_EVENTS", e[e.STABLE_FRAGMENT = 64] = "STABLE_FRAGMENT", e[e.KEYED_FRAGMENT = 128] = "KEYED_FRAGMENT", e[e.UNKEYED_FRAGMENT = 256] = "UNKEYED_FRAGMENT", e[e.NEED_PATCH = 512] = "NEED_PATCH", e[e.DYNAMIC_SLOTS = 1024] = "DYNAMIC_SLOTS", e[e.HOISTED = -1] = "HOISTED", e[e.BAIL = -2] = "BAIL", e))(ha || {});
3424
+ var va = /* @__PURE__ */ ((e) => (e[e.TEXT = 1] = "TEXT", e[e.CLASS = 2] = "CLASS", e[e.STYLE = 4] = "STYLE", e[e.PROPS = 8] = "PROPS", e[e.FULL_PROPS = 16] = "FULL_PROPS", e[e.HYDRATE_EVENTS = 32] = "HYDRATE_EVENTS", e[e.STABLE_FRAGMENT = 64] = "STABLE_FRAGMENT", e[e.KEYED_FRAGMENT = 128] = "KEYED_FRAGMENT", e[e.UNKEYED_FRAGMENT = 256] = "UNKEYED_FRAGMENT", e[e.NEED_PATCH = 512] = "NEED_PATCH", e[e.DYNAMIC_SLOTS = 1024] = "DYNAMIC_SLOTS", e[e.HOISTED = -1] = "HOISTED", e[e.BAIL = -2] = "BAIL", e))(va || {});
3425
3425
  const Vv = () => Rt && /firefox/i.test(window.navigator.userAgent), zv = () => Rt && /android/i.test(window.navigator.userAgent);
3426
3426
  let Et;
3427
3427
  const Fv = {
@@ -3473,11 +3473,11 @@ function nr(e, t = 1, n) {
3473
3473
  const d = {};
3474
3474
  r === "border-box" ? c = c + i : r === "content-box" && (c = c - l), Et.value = "";
3475
3475
  const u = Et.scrollHeight - l;
3476
- if (Sa(t)) {
3476
+ if (ka(t)) {
3477
3477
  let h = u * t;
3478
3478
  r === "border-box" && (h = h + l + i), c = Math.max(h, c), d.minHeight = `${h}px`;
3479
3479
  }
3480
- if (Sa(n)) {
3480
+ if (ka(n)) {
3481
3481
  let h = u * n;
3482
3482
  r === "border-box" && (h = h + l + i), c = Math.min(h, c);
3483
3483
  }
@@ -3593,7 +3593,7 @@ const Hv = (e) => e, Wv = fo({
3593
3593
  },
3594
3594
  name: String
3595
3595
  }), Jv = {
3596
- [pa]: (e) => Nt(e),
3596
+ [ha]: (e) => Nt(e),
3597
3597
  input: (e) => Nt(e),
3598
3598
  change: (e, t) => Nt(e) && (t instanceof Event || t === void 0),
3599
3599
  focus: (e) => e instanceof FocusEvent,
@@ -3667,7 +3667,7 @@ usage: app.provide(ID_INJECTION_KEY, {
3667
3667
  });
3668
3668
  return Ve(() => {
3669
3669
  r = Ee(
3670
- [ma(e, "id"), n],
3670
+ [ga(e, "id"), n],
3671
3671
  ([c, d]) => {
3672
3672
  const u = c ?? (d ? void 0 : _l().value);
3673
3673
  u !== i.value && (t?.removeInputId && !l() && (i.value && t.removeInputId(i.value), !o?.value && !d && u && t.addInputId(u)), i.value = u);
@@ -3925,10 +3925,10 @@ const rm = ["id", "name", "minlength", "maxlength", "type", "disabled", "readonl
3925
3925
  o.formatter && ce();
3926
3926
  return;
3927
3927
  }
3928
- Pe(), a(pa, Y), a(rl, Y), await Oe(), (o.formatter && o.parser || !Ie.value) && ce(), ge();
3928
+ Pe(), a(ha, Y), a(rl, Y), await Oe(), (o.formatter && o.parser || !Ie.value) && ce(), ge();
3929
3929
  }, nt = async (F) => {
3930
3930
  let { value: ie } = F.target;
3931
- ie = ye(ie), o.modelModifiers.lazy && a(pa, ie), a(Qi, ie, F), await Oe(), ce();
3931
+ ie = ye(ie), o.modelModifiers.lazy && a(ha, ie), a(Qi, ie, F), await Oe(), ce();
3932
3932
  }, {
3933
3933
  isComposing: st,
3934
3934
  handleCompositionStart: Ae,
@@ -3952,7 +3952,7 @@ const rm = ["id", "name", "minlength", "maxlength", "type", "disabled", "readonl
3952
3952
  var F;
3953
3953
  (F = T.value) == null || F.select();
3954
3954
  }, je = () => {
3955
- a(pa, ""), a(Qi, ""), a("clear"), a(rl, "");
3955
+ a(ha, ""), a(Qi, ""), a("clear"), a(rl, "");
3956
3956
  };
3957
3957
  return Ee(
3958
3958
  () => o.modelValue,
@@ -3980,7 +3980,7 @@ const rm = ["id", "name", "minlength", "maxlength", "type", "disabled", "readonl
3980
3980
  textarea: y,
3981
3981
  ref: T,
3982
3982
  textareaStyle: O,
3983
- autosize: ma(o, "autosize"),
3983
+ autosize: ga(o, "autosize"),
3984
3984
  isComposing: st,
3985
3985
  focus: U,
3986
3986
  blur: le,
@@ -4259,7 +4259,7 @@ const dm = ni(um), sl = "focus-trap.focus-after-trapped", cl = "focus-trap.focus
4259
4259
  cancelable: !0,
4260
4260
  bubbles: !1
4261
4261
  }, rr = "focusAfterTrapped", sr = "focusAfterReleased", hm = /* @__PURE__ */ Symbol("elFocusTrap"), ii = M(), Ra = M(0), ri = M(0);
4262
- let Zo = 0;
4262
+ let Qo = 0;
4263
4263
  const pc = (e) => {
4264
4264
  const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
4265
4265
  acceptNode: (o) => {
@@ -4317,19 +4317,19 @@ const ym = () => {
4317
4317
  for (const o of e)
4318
4318
  if (an(o, t), document.activeElement !== n)
4319
4319
  return;
4320
- }, dr = ym(), wm = () => Ra.value > ri.value, Qo = () => {
4320
+ }, dr = ym(), wm = () => Ra.value > ri.value, ea = () => {
4321
4321
  ii.value = "pointer", Ra.value = window.performance.now();
4322
4322
  }, fr = () => {
4323
4323
  ii.value = "keyboard", Ra.value = window.performance.now();
4324
4324
  }, xm = () => (Ve(() => {
4325
- Zo === 0 && (document.addEventListener("mousedown", Qo), document.addEventListener("touchstart", Qo), document.addEventListener("keydown", fr)), Zo++;
4325
+ Qo === 0 && (document.addEventListener("mousedown", ea), document.addEventListener("touchstart", ea), document.addEventListener("keydown", fr)), Qo++;
4326
4326
  }), qt(() => {
4327
- Zo--, Zo <= 0 && (document.removeEventListener("mousedown", Qo), document.removeEventListener("touchstart", Qo), document.removeEventListener("keydown", fr));
4327
+ Qo--, Qo <= 0 && (document.removeEventListener("mousedown", ea), document.removeEventListener("touchstart", ea), document.removeEventListener("keydown", fr));
4328
4328
  }), {
4329
4329
  focusReason: ii,
4330
4330
  lastUserFocusTimestamp: Ra,
4331
4331
  lastAutomatedFocusTimestamp: ri
4332
- }), ea = (e) => new CustomEvent(fm, {
4332
+ }), ta = (e) => new CustomEvent(fm, {
4333
4333
  ...pm,
4334
4334
  detail: e
4335
4335
  }), Ao = {
@@ -4417,25 +4417,25 @@ const pr = (e) => {
4417
4417
  const x = y, [E, L] = mm(x);
4418
4418
  if (E && L) {
4419
4419
  if (!S && T === L) {
4420
- const K = ea({
4420
+ const K = ta({
4421
4421
  focusReason: l.value
4422
4422
  });
4423
4423
  t("focusout-prevented", K), K.defaultPrevented || (f.preventDefault(), k && an(E, !0));
4424
4424
  } else if (S && [E, x].includes(T)) {
4425
- const K = ea({
4425
+ const K = ta({
4426
4426
  focusReason: l.value
4427
4427
  });
4428
4428
  t("focusout-prevented", K), K.defaultPrevented || (f.preventDefault(), k && an(L, !0));
4429
4429
  }
4430
4430
  } else if (T === x) {
4431
- const K = ea({
4431
+ const K = ta({
4432
4432
  focusReason: l.value
4433
4433
  });
4434
4434
  t("focusout-prevented", K), K.defaultPrevented || f.preventDefault();
4435
4435
  }
4436
4436
  }
4437
4437
  };
4438
- $a(hm, {
4438
+ _a(hm, {
4439
4439
  focusTrapRef: n,
4440
4440
  onKeydown: r
4441
4441
  }), Ee(
@@ -4462,7 +4462,7 @@ const pr = (e) => {
4462
4462
  const m = f.relatedTarget;
4463
4463
  !Us(m) && !p.contains(m) && setTimeout(() => {
4464
4464
  if (!i.paused && e.trapped) {
4465
- const g = ea({
4465
+ const g = ta({
4466
4466
  focusReason: l.value
4467
4467
  });
4468
4468
  t("focusout-prevented", g), g.defaultPrevented || an(a, !0);
@@ -4644,7 +4644,7 @@ For more detail, please visit: ${a}
4644
4644
  loading: Boolean,
4645
4645
  loadingIcon: {
4646
4646
  type: Eo,
4647
- default: () => Ea
4647
+ default: () => Ta
4648
4648
  },
4649
4649
  plain: {
4650
4650
  type: Boolean,
@@ -4680,7 +4680,7 @@ function ht(e, t) {
4680
4680
  var n = Im(e);
4681
4681
  return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
4682
4682
  }
4683
- function ta(e) {
4683
+ function na(e) {
4684
4684
  return Math.min(1, Math.max(0, e));
4685
4685
  }
4686
4686
  function Bm(e) {
@@ -4692,7 +4692,7 @@ function Im(e) {
4692
4692
  function vc(e) {
4693
4693
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
4694
4694
  }
4695
- function na(e) {
4695
+ function oa(e) {
4696
4696
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
4697
4697
  }
4698
4698
  function $n(e) {
@@ -4951,7 +4951,7 @@ var Al = {
4951
4951
  };
4952
4952
  function Fm(e) {
4953
4953
  var t = { r: 0, g: 0, b: 0 }, n = 1, o = null, a = null, l = null, i = !1, r = !1;
4954
- return typeof e == "string" && (e = Hm(e)), typeof e == "object" && (Kt(e.r) && Kt(e.g) && Kt(e.b) ? (t = Pm(e.r, e.g, e.b), i = !0, r = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Kt(e.h) && Kt(e.s) && Kt(e.v) ? (o = na(e.s), a = na(e.v), t = Om(e.h, o, a), i = !0, r = "hsv") : Kt(e.h) && Kt(e.s) && Kt(e.l) && (o = na(e.s), l = na(e.l), t = Lm(e.h, o, l), i = !0, r = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = vc(n), {
4954
+ return typeof e == "string" && (e = Hm(e)), typeof e == "object" && (Kt(e.r) && Kt(e.g) && Kt(e.b) ? (t = Pm(e.r, e.g, e.b), i = !0, r = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Kt(e.h) && Kt(e.s) && Kt(e.v) ? (o = oa(e.s), a = oa(e.v), t = Om(e.h, o, a), i = !0, r = "hsv") : Kt(e.h) && Kt(e.s) && Kt(e.l) && (o = oa(e.s), l = oa(e.l), t = Lm(e.h, o, l), i = !0, r = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = vc(n), {
4955
4955
  ok: i,
4956
4956
  format: e.format || r,
4957
4957
  r: Math.min(255, Math.max(t.r, 0)),
@@ -5108,7 +5108,7 @@ var Wm = (
5108
5108
  }, e.prototype.lighten = function(t) {
5109
5109
  t === void 0 && (t = 10);
5110
5110
  var n = this.toHsl();
5111
- return n.l += t / 100, n.l = ta(n.l), new e(n);
5111
+ return n.l += t / 100, n.l = na(n.l), new e(n);
5112
5112
  }, e.prototype.brighten = function(t) {
5113
5113
  t === void 0 && (t = 10);
5114
5114
  var n = this.toRgb();
@@ -5116,7 +5116,7 @@ var Wm = (
5116
5116
  }, e.prototype.darken = function(t) {
5117
5117
  t === void 0 && (t = 10);
5118
5118
  var n = this.toHsl();
5119
- return n.l -= t / 100, n.l = ta(n.l), new e(n);
5119
+ return n.l -= t / 100, n.l = na(n.l), new e(n);
5120
5120
  }, e.prototype.tint = function(t) {
5121
5121
  return t === void 0 && (t = 10), this.mix("white", t);
5122
5122
  }, e.prototype.shade = function(t) {
@@ -5124,11 +5124,11 @@ var Wm = (
5124
5124
  }, e.prototype.desaturate = function(t) {
5125
5125
  t === void 0 && (t = 10);
5126
5126
  var n = this.toHsl();
5127
- return n.s -= t / 100, n.s = ta(n.s), new e(n);
5127
+ return n.s -= t / 100, n.s = na(n.s), new e(n);
5128
5128
  }, e.prototype.saturate = function(t) {
5129
5129
  t === void 0 && (t = 10);
5130
5130
  var n = this.toHsl();
5131
- return n.s += t / 100, n.s = ta(n.s), new e(n);
5131
+ return n.s += t / 100, n.s = na(n.s), new e(n);
5132
5132
  }, e.prototype.greyscale = function() {
5133
5133
  return this.desaturate(100);
5134
5134
  }, e.prototype.spin = function(t) {
@@ -5325,11 +5325,11 @@ const Ym = {
5325
5325
  props: Ym,
5326
5326
  setup(e) {
5327
5327
  const t = e;
5328
- $a(
5328
+ _a(
5329
5329
  hc,
5330
5330
  dn({
5331
- size: ma(t, "size"),
5332
- type: ma(t, "type")
5331
+ size: ga(t, "size"),
5332
+ type: ga(t, "type")
5333
5333
  })
5334
5334
  );
5335
5335
  const n = Gt("button");
@@ -5402,7 +5402,7 @@ var eg = ne({
5402
5402
  onMouseup: r
5403
5403
  },
5404
5404
  [Se(t, "default")],
5405
- ha.STYLE | ha.CLASS | ha.PROPS,
5405
+ va.STYLE | va.CLASS | va.PROPS,
5406
5406
  ["onClick", "onMouseup", "onMousedown"]
5407
5407
  ) : ms(
5408
5408
  "div",
@@ -5452,7 +5452,7 @@ const tg = eg, ng = (e, t, n, o) => {
5452
5452
  i(h, v);
5453
5453
  };
5454
5454
  return Ve(() => {
5455
- _a(() => {
5455
+ Ma(() => {
5456
5456
  n.value ? s() : c();
5457
5457
  });
5458
5458
  }), qt(() => {
@@ -5610,8 +5610,8 @@ const tg = eg, ng = (e, t, n, o) => {
5610
5610
  action: "",
5611
5611
  confirmButtonLoading: !1,
5612
5612
  cancelButtonLoading: !1,
5613
- confirmButtonLoadingIcon: gl(Ea),
5614
- cancelButtonLoadingIcon: gl(Ea),
5613
+ confirmButtonLoadingIcon: gl(Ta),
5614
+ cancelButtonLoadingIcon: gl(Ta),
5615
5615
  confirmButtonDisabled: !1,
5616
5616
  editorErrorMessage: "",
5617
5617
  validateError: !1,
@@ -5983,7 +5983,7 @@ const Bo = /* @__PURE__ */ new Map(), fg = (e) => {
5983
5983
  };
5984
5984
  const o = pg(e, n, t), a = o.proxy;
5985
5985
  for (const l in e)
5986
- wa(e, l) && !wa(a.$props, l) && (l === "closeIcon" && ro(e[l]) ? a[l] = gl(e[l]) : a[l] = e[l]);
5986
+ xa(e, l) && !xa(a.$props, l) && (l === "closeIcon" && ro(e[l]) ? a[l] = gl(e[l]) : a[l] = e[l]);
5987
5987
  return a.visible = !0, a;
5988
5988
  };
5989
5989
  function ho(e, t = null) {
@@ -6875,14 +6875,14 @@ const Eg = { class: "j-table-footer" }, Tg = {
6875
6875
  elements: at
6876
6876
  };
6877
6877
  }, Pe = (W) => {
6878
- const { dataValue: te, rect: ue, table: fe, col: xe, row: be } = W, Ne = fe.getBodyField(xe, be), yt = fe.options?.columns || [], at = Te(yt, Ne)?._compConfig || {}, He = Number(at.min) || 0, We = Number(at.max) || 100, Fe = Number(te) || 0, ct = We - He, dt = ct === 0 ? 0 : Math.max(0, Math.min(100, (Fe - He) / ct * 100)), Le = 4, lt = 8, it = 8, De = (ue.height - Le) / 2, kt = String(Fe), tl = So(kt) || 0, nl = lt, Bi = De, Dn = ue.width - lt * 2 - tl - it, yo = Dn * dt / 100, Jo = [], Ii = (bt, mt, Yo) => {
6879
- const gt = Math.min(Yo, mt / 2, bt / 2);
6878
+ const { dataValue: te, rect: ue, table: fe, col: xe, row: be } = W, Ne = fe.getBodyField(xe, be), yt = fe.options?.columns || [], at = Te(yt, Ne)?._compConfig || {}, He = Number(at.min) || 0, We = Number(at.max) || 100, Fe = Number(te) || 0, ct = We - He, dt = ct === 0 ? 0 : Math.max(0, Math.min(100, (Fe - He) / ct * 100)), Le = 4, lt = 8, it = 8, De = (ue.height - Le) / 2, kt = String(Fe), tl = So(kt) || 0, nl = lt, Bi = De, Dn = ue.width - lt * 2 - tl - it, yo = Dn * dt / 100, Yo = [], Ii = (bt, mt, Go) => {
6879
+ const gt = Math.min(Go, mt / 2, bt / 2);
6880
6880
  return `M ${gt} 0 L ${bt - gt} 0 Q ${bt} 0 ${bt} ${gt} L ${bt} ${mt - gt} Q ${bt} ${mt} ${bt - gt} ${mt} L ${gt} ${mt} Q 0 ${mt} 0 ${mt - gt} L 0 ${gt} Q 0 0 ${gt} 0 Z`;
6881
- }, Eu = (bt, mt, Yo) => {
6882
- const gt = Math.min(Yo, mt / 2, bt / 2);
6883
- return bt <= gt * 2 ? Ii(bt, mt, Yo) : `M ${gt} 0 L ${bt} 0 L ${bt} ${mt} L ${gt} ${mt} Q 0 ${mt} 0 ${mt - gt} L 0 ${gt} Q 0 0 ${gt} 0 Z`;
6881
+ }, Eu = (bt, mt, Go) => {
6882
+ const gt = Math.min(Go, mt / 2, bt / 2);
6883
+ return bt <= gt * 2 ? Ii(bt, mt, Go) : `M ${gt} 0 L ${bt} 0 L ${bt} ${mt} L ${gt} ${mt} Q 0 ${mt} 0 ${mt - gt} L 0 ${gt} Q 0 0 ${gt} 0 Z`;
6884
6884
  }, Tu = Le / 2, ju = Ii(Dn, Le, Tu);
6885
- if (Jo.push({
6885
+ if (Yo.push({
6886
6886
  type: "icon",
6887
6887
  svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${Dn}" height="${Le}" viewBox="0 0 ${Dn} ${Le}"><path d="${ju}" fill="#e5e6eb"/></svg>`,
6888
6888
  x: nl,
@@ -6891,7 +6891,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
6891
6891
  height: Le
6892
6892
  }), yo > 0) {
6893
6893
  const bt = Le / 2, mt = Eu(yo, Le, bt);
6894
- Jo.push({
6894
+ Yo.push({
6895
6895
  type: "icon",
6896
6896
  svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${yo}" height="${Le}" viewBox="0 0 ${yo} ${Le}"><path d="${mt}" fill="#165dff"/></svg>`,
6897
6897
  x: nl,
@@ -6901,7 +6901,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
6901
6901
  });
6902
6902
  }
6903
6903
  const $u = nl + Dn + it, _u = ue.height / 2;
6904
- return Jo.push({
6904
+ return Yo.push({
6905
6905
  type: "text",
6906
6906
  text: kt,
6907
6907
  x: $u,
@@ -6911,7 +6911,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
6911
6911
  textAlign: "left",
6912
6912
  textBaseline: "middle"
6913
6913
  }), {
6914
- elements: Jo
6914
+ elements: Yo
6915
6915
  };
6916
6916
  }, ge = (W) => {
6917
6917
  const te = W.filter((ue) => ue.config?.display !== !1).map((ue) => {
@@ -7931,7 +7931,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
7931
7931
  A.click && await A.click();
7932
7932
  };
7933
7933
  return t({ showLoading: S, hideLoading: k }), (A, K) => {
7934
- const Z = V("el-step"), H = V("el-steps"), B = V("j-button"), C = V("el-space"), O = V("el-divider"), z = V("el-dialog"), Q = Ma("loading");
7934
+ const Z = V("el-step"), H = V("el-steps"), B = V("j-button"), C = V("el-space"), O = V("el-divider"), z = V("el-dialog"), Q = Aa("loading");
7935
7935
  return b(), I(z, {
7936
7936
  modelValue: r.value,
7937
7937
  "onUpdate:modelValue": K[0] || (K[0] = (se) => r.value = se),
@@ -8263,7 +8263,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
8263
8263
  }
8264
8264
  }, L = j(() => o.steps.map((A) => ({ title: A, disabled: !0 })));
8265
8265
  return t({ showLoading: d, hideLoading: u }), (A, K) => {
8266
- const Z = V("el-input"), H = V("j-button"), B = V("el-space"), C = V("el-step"), O = V("el-steps"), z = V("el-drawer"), Q = Ma("loading");
8266
+ const Z = V("el-input"), H = V("j-button"), B = V("el-space"), C = V("el-step"), O = V("el-steps"), z = V("el-drawer"), Q = Aa("loading");
8267
8267
  return b(), I(z, {
8268
8268
  modelValue: c.value,
8269
8269
  "onUpdate:modelValue": K[0] || (K[0] = (se) => c.value = se),
@@ -8767,7 +8767,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
8767
8767
  }, null, 8, ["modelValue", "min", "max", "disabled", "step", "show-input", "show-input-controls", "size", "input-size", "show-stops", "show-tooltip", "format-tooltip", "range", "vertical", "height", "aria-label", "range-start-label", "range-end-label", "format-value-text", "tooltip-class", "placement", "marks", "validate-event", "persistent"]);
8768
8768
  };
8769
8769
  }
8770
- }), cy = ve(sy), oa = (e) => e < 1024 ? Go(e) + " B" : e >= 1024 && e < 1048576 ? Go(e / 1024) + " KB" : e >= 1048576 && e < 1073741824 ? Go(e / 1024 / 1024) + " MB" : e >= 1073741824 ? Go(e / 1024 / 1024 / 1024) + " GB" : "", uy = (e) => {
8770
+ }), cy = ve(sy), aa = (e) => e < 1024 ? qo(e) + " B" : e >= 1024 && e < 1048576 ? qo(e / 1024) + " KB" : e >= 1048576 && e < 1073741824 ? qo(e / 1024 / 1024) + " MB" : e >= 1073741824 ? qo(e / 1024 / 1024 / 1024) + " GB" : "", uy = (e) => {
8771
8771
  const t = window.open("_blank");
8772
8772
  t && (t.location = e);
8773
8773
  }, dy = {
@@ -8849,13 +8849,13 @@ const Eg = { class: "j-table-footer" }, Tg = {
8849
8849
  R("div", null, [
8850
8850
  c.status === "uploading" ? (b(), I(l, { key: 0 }, {
8851
8851
  default: N(() => [
8852
- jt(he(_(oa)(c.uploadSize)) + "/", 1)
8852
+ jt(he(_(aa)(c.uploadSize)) + "/", 1)
8853
8853
  ]),
8854
8854
  _: 2
8855
8855
  }, 1024)) : D("", !0),
8856
8856
  J(l, null, {
8857
8857
  default: N(() => [
8858
- jt(he(_(oa)(c.size)), 1)
8858
+ jt(he(_(aa)(c.size)), 1)
8859
8859
  ]),
8860
8860
  _: 2
8861
8861
  }, 1024)
@@ -8943,13 +8943,13 @@ const Eg = { class: "j-table-footer" }, Tg = {
8943
8943
  ]),
8944
8944
  c.status === "uploading" ? (b(), I(l, { key: 0 }, {
8945
8945
  default: N(() => [
8946
- jt(he(_(oa)(c.uploadSize)) + "/", 1)
8946
+ jt(he(_(aa)(c.uploadSize)) + "/", 1)
8947
8947
  ]),
8948
8948
  _: 2
8949
8949
  }, 1024)) : D("", !0),
8950
8950
  J(l, null, {
8951
8951
  default: N(() => [
8952
- jt(he(_(oa)(c.size)), 1)
8952
+ jt(he(_(aa)(c.size)), 1)
8953
8953
  ]),
8954
8954
  _: 2
8955
8955
  }, 1024),
@@ -9215,7 +9215,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
9215
9215
  const ye = w(X);
9216
9216
  return ["webp", "bmp", "jpg", "jpge", "png", "tif", "gif", "svg"].includes(ye) ? "file-image" : $[ye] || "file-ufo";
9217
9217
  }, x = (X) => {
9218
- X.status = n.autoUpload ? "uploading" : "unUpload", X.uploadSize = 0, X.icon = T(X.name, X.type), u || (X.icon = "file-text"), X.id = X.uid, X.url = window.URL.createObjectURL(X), X.date = qo(), X.param = g.value;
9218
+ X.status = n.autoUpload ? "uploading" : "unUpload", X.uploadSize = 0, X.icon = T(X.name, X.type), u || (X.icon = "file-text"), X.id = X.uid, X.url = window.URL.createObjectURL(X), X.date = Xo(), X.param = g.value;
9219
9219
  }, E = (X) => {
9220
9220
  o("start", { file: X, list: y.value });
9221
9221
  }, L = (X, ce, ye) => {
@@ -9263,7 +9263,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
9263
9263
  await C(X) && O(X);
9264
9264
  }, Q = M(!1), se = M(""), pe = M(""), Te = M(!1), Je = M(!1);
9265
9265
  let ee = null;
9266
- const Ie = M(qo(/* @__PURE__ */ new Date(), "YYYY-MM-DD")), Pe = (X) => {
9266
+ const Ie = M(Xo(/* @__PURE__ */ new Date(), "YYYY-MM-DD")), Pe = (X) => {
9267
9267
  if (X.isPreview === !1 && !n.isUploadImg) {
9268
9268
  a && a("无权限预览!");
9269
9269
  return;
@@ -9294,12 +9294,12 @@ const Eg = { class: "j-table-footer" }, Tg = {
9294
9294
  Je.value = !0, Te.value = !0;
9295
9295
  break;
9296
9296
  }
9297
- Ie.value = qo(/* @__PURE__ */ new Date(), "YYYY-MM-DD HH:mm:ss");
9297
+ Ie.value = Xo(/* @__PURE__ */ new Date(), "YYYY-MM-DD HH:mm:ss");
9298
9298
  }, ge = (X) => {
9299
9299
  const ce = X.response?.fileId || X.id;
9300
9300
  if (!s)
9301
9301
  return "";
9302
- const ye = qo(/* @__PURE__ */ new Date(), "YYYY-MM-DD HH:mm:ss") + "|" + ce, Re = af.createAesEncryption({ key: "jianda" }).encrypt(ye).replace(/\//g, "|");
9302
+ const ye = Xo(/* @__PURE__ */ new Date(), "YYYY-MM-DD HH:mm:ss") + "|" + ce, Re = af.createAesEncryption({ key: "jianda" }).encrypt(ye).replace(/\//g, "|");
9303
9303
  return `${s}/system/annexesfile/preview/${Re}?token=${c?.value}`;
9304
9304
  }, Me = () => {
9305
9305
  ee.isDown === !1 && a && a("无权限下载!");
@@ -9310,7 +9310,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
9310
9310
  return a && a(`当前限制选择${n.limit}个文件`), !1;
9311
9311
  };
9312
9312
  return (X, ce) => {
9313
- const ye = V("j-icon"), Re = V("j-button"), nt = V("el-popover"), st = V("el-upload"), Ae = V("el-text"), ut = V("j-dialog-full"), ot = Ma("loading");
9313
+ const ye = V("j-icon"), Re = V("j-button"), nt = V("el-popover"), st = V("el-upload"), Ae = V("el-text"), ut = V("j-dialog-full"), ot = Aa("loading");
9314
9314
  return b(), P("div", yy, [
9315
9315
  J(st, {
9316
9316
  action: "",
@@ -9727,7 +9727,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
9727
9727
  }
9728
9728
  return d;
9729
9729
  };
9730
- return _a(() => {
9730
+ return Ma(() => {
9731
9731
  try {
9732
9732
  o.value = "";
9733
9733
  const d = { ...t };
@@ -10747,7 +10747,7 @@ const Eg = { class: "j-table-footer" }, Tg = {
10747
10747
  o("success", { isPassing: g, time: k.toFixed(1) }), a.value = g;
10748
10748
  }
10749
10749
  }
10750
- ), _a(() => {
10750
+ ), Ma(() => {
10751
10751
  l.isPassing = !!a.value;
10752
10752
  });
10753
10753
  function d(g) {
@@ -11059,7 +11059,7 @@ const j0 = /* @__PURE__ */ ne({
11059
11059
  },
11060
11060
  emits: ["click"],
11061
11061
  setup(e, { emit: t }) {
11062
- const n = e, o = t, { getMenuMap: a, toArray: l, activeMenu: i, theme: r } = Ba(), { getHMoreMenus: s } = uf(), c = M([]);
11062
+ const n = e, o = t, { getMenuMap: a, toArray: l, activeMenu: i, theme: r } = Oo(), { getHMoreMenus: s } = uf(), c = M([]);
11063
11063
  n.pId === "moreId" ? c.value = s.value : c.value = l(a()[n.pId || ""] || [], []);
11064
11064
  const d = (f) => {
11065
11065
  const p = c.value.find((m) => m.active);
@@ -11071,7 +11071,7 @@ const j0 = /* @__PURE__ */ ne({
11071
11071
  class: ["j-sub-menu-content", { "j-menu-dark": _(r) === "dark" }],
11072
11072
  style: { "max-height": "calc(100vh - 80px)", "border-radius": "8px" }
11073
11073
  }, _(h)), [
11074
- R("div", Aa(Wl(_(v))), [
11074
+ R("div", Ba(Wl(_(v))), [
11075
11075
  (b(!0), P(Ce, null, $e(_(u), (m) => (b(), I(Va, {
11076
11076
  key: m.data.value,
11077
11077
  "parent-actives": _(i)?.pid?.split(".") || [],
@@ -11122,12 +11122,12 @@ const j0 = /* @__PURE__ */ ne({
11122
11122
  },
11123
11123
  emits: ["click"],
11124
11124
  setup(e, { emit: t }) {
11125
- const { t: n } = vt(), o = t, a = (l) => {
11126
- o("click", l);
11125
+ const { t: n } = vt(), { activeMenuId: o } = Oo(), a = t, l = (i) => {
11126
+ a("click", i);
11127
11127
  };
11128
- return (l, i) => {
11129
- const r = V("j-icon"), s = V("el-tooltip"), c = V("el-popover");
11130
- return e.collapsed && !e.item.hasChildren ? (b(), I(s, {
11128
+ return (i, r) => {
11129
+ const s = V("j-icon"), c = V("el-tooltip"), d = V("el-popover");
11130
+ return e.collapsed && !e.item.hasChildren ? (b(), I(c, {
11131
11131
  key: 0,
11132
11132
  placement: "right"
11133
11133
  }, {
@@ -11137,16 +11137,19 @@ const j0 = /* @__PURE__ */ ne({
11137
11137
  default: N(() => [
11138
11138
  R("div", {
11139
11139
  class: ae(["j-menu-item", { collapsed: e.collapsed }]),
11140
- onClick: i[0] || (i[0] = Ke((d) => a(e.item), ["stop"]))
11140
+ onClick: r[0] || (r[0] = Ke((u) => l(e.item), ["stop"]))
11141
11141
  }, [
11142
11142
  R("div", {
11143
11143
  class: ae([
11144
11144
  "j-menu-item-content",
11145
- { active: e.item.active, "p-active": e.parentActives.includes(e.item.value) }
11145
+ {
11146
+ active: e.item.value === _(o),
11147
+ "p-active": e.parentActives.includes(e.item.value)
11148
+ }
11146
11149
  ]),
11147
11150
  style: ke({ "padding-left": `${e.item.indent * 24 + 16}px` })
11148
11151
  }, [
11149
- e.item.icon ? (b(), I(r, {
11152
+ e.item.icon ? (b(), I(s, {
11150
11153
  key: 0,
11151
11154
  icon: e.item.icon,
11152
11155
  class: "j-menu-item-icon",
@@ -11161,7 +11164,7 @@ const j0 = /* @__PURE__ */ ne({
11161
11164
  ], 2)
11162
11165
  ]),
11163
11166
  _: 1
11164
- })) : (e.collapsed || e.isSub || e.isHorizontal || e.isVertical) && e.item.hasChildren ? (b(), I(c, {
11167
+ })) : (e.collapsed || e.isSub || e.isHorizontal || e.isVertical) && e.item.hasChildren ? (b(), I(d, {
11165
11168
  key: 1,
11166
11169
  placement: e.isHorizontal ? "bottom-start" : "right-start",
11167
11170
  "show-arrow": !1,
@@ -11174,11 +11177,11 @@ const j0 = /* @__PURE__ */ ne({
11174
11177
  R("div", {
11175
11178
  class: ae([
11176
11179
  "j-menu-item-content",
11177
- { active: e.item.active, "p-active": e.parentActives.includes(e.item.value) }
11180
+ { active: e.item.value === _(o), "p-active": e.parentActives.includes(e.item.value) }
11178
11181
  ]),
11179
11182
  style: ke({ "padding-left": `${e.item.indent * 34 + 16}px` })
11180
11183
  }, [
11181
- e.item.icon ? (b(), I(r, {
11184
+ e.item.icon ? (b(), I(s, {
11182
11185
  key: 0,
11183
11186
  icon: e.item.icon,
11184
11187
  style: ke({
@@ -11196,23 +11199,23 @@ const j0 = /* @__PURE__ */ ne({
11196
11199
  default: N(() => [
11197
11200
  J(j0, {
11198
11201
  "p-id": e.item.value,
11199
- onClick: a
11202
+ onClick: l
11200
11203
  }, null, 8, ["p-id"])
11201
11204
  ]),
11202
11205
  _: 1
11203
11206
  }, 8, ["placement"])) : (b(), P("div", {
11204
11207
  key: 2,
11205
11208
  class: ae(["j-menu-item", { collapsed: e.collapsed, sub: e.item.indent > 0 }]),
11206
- onClick: i[1] || (i[1] = Ke((d) => a(e.item), ["stop"]))
11209
+ onClick: r[1] || (r[1] = Ke((u) => l(e.item), ["stop"]))
11207
11210
  }, [
11208
11211
  R("div", {
11209
11212
  class: ae([
11210
11213
  "j-menu-item-content",
11211
- { active: e.item.active, "p-active": e.parentActives.includes(e.item.value) }
11214
+ { active: e.item.value === _(o), "p-active": e.parentActives.includes(e.item.value) }
11212
11215
  ]),
11213
11216
  style: ke({ "padding-left": `${e.item.indent * 24 + 16}px` })
11214
11217
  }, [
11215
- e.item.icon ? (b(), I(r, {
11218
+ e.item.icon ? (b(), I(s, {
11216
11219
  key: 0,
11217
11220
  icon: e.item.icon,
11218
11221
  class: "j-menu-item-icon",
@@ -11249,7 +11252,7 @@ const j0 = /* @__PURE__ */ ne({
11249
11252
  },
11250
11253
  emits: ["click"],
11251
11254
  setup(e, { emit: t }) {
11252
- const n = e, o = t, { activeMenu: a, theme: l } = Ba(), i = (u) => {
11255
+ const n = e, o = t, { activeMenu: a, theme: l } = Oo(), i = (u) => {
11253
11256
  o("click", u);
11254
11257
  }, r = j(() => n.menuList), { list: s, containerProps: c, wrapperProps: d } = ci(r, {
11255
11258
  itemHeight: 44
@@ -11257,7 +11260,7 @@ const j0 = /* @__PURE__ */ ne({
11257
11260
  return (u, h) => (b(), P("div", _e({
11258
11261
  class: ["j-menu", { collapsed: e.collapsed, "j-menu-dark": _(l) === "dark" }]
11259
11262
  }, _(c)), [
11260
- R("div", Aa(Wl(_(d))), [
11263
+ R("div", Ba(Wl(_(d))), [
11261
11264
  (b(!0), P(Ce, null, $e(_(s), (v) => (b(), I(Va, {
11262
11265
  key: v.data.value,
11263
11266
  "parent-actives": _(a)?.pid?.split(".") || [],
@@ -11283,7 +11286,7 @@ const j0 = /* @__PURE__ */ ne({
11283
11286
  },
11284
11287
  emits: ["click"],
11285
11288
  setup(e, { emit: t }) {
11286
- const n = e, o = t, { activeMenu: a, theme: l } = Ba(), i = M(), r = M(0);
11289
+ const n = e, o = t, { activeMenu: a, theme: l } = Oo(), i = M(), r = M(0);
11287
11290
  let s = null;
11288
11291
  Ve(() => {
11289
11292
  typeof window < "u" && window.ResizeObserver && i.value && (s = new ResizeObserver(() => {
@@ -11349,7 +11352,7 @@ const j0 = /* @__PURE__ */ ne({
11349
11352
  },
11350
11353
  emits: ["click"],
11351
11354
  setup(e, { emit: t }) {
11352
- const n = e, o = t, { activeMenu: a, theme: l } = Ba(), i = [
11355
+ const n = e, o = t, { activeMenu: a, theme: l } = Oo(), i = [
11353
11356
  "var(--j-color-primary)",
11354
11357
  "var(--j-color-success)",
11355
11358
  "var(--j-color-warning)",
@@ -11366,7 +11369,7 @@ const j0 = /* @__PURE__ */ ne({
11366
11369
  return (v, f) => (b(), P("div", _e({
11367
11370
  class: ["j-menu-vertical", { "j-menu-dark": _(l) === "dark" }]
11368
11371
  }, _(u)), [
11369
- R("div", Aa(Wl(_(h))), [
11372
+ R("div", Ba(Wl(_(h))), [
11370
11373
  (b(!0), P(Ce, null, $e(_(d), (p) => (b(), I(Va, {
11371
11374
  key: p.data.value,
11372
11375
  "parent-actives": s.value,
@@ -11439,7 +11442,7 @@ const j0 = /* @__PURE__ */ ne({
11439
11442
  const m = c.find((g) => g.value === l.value);
11440
11443
  m && p.push(...m.pid.split("."));
11441
11444
  }
11442
- s.value = r(n.menus, p), console.log("showMenuList", s.value);
11445
+ s.value = r(n.menus, p);
11443
11446
  };
11444
11447
  Ee(
11445
11448
  () => n.menus,
@@ -11485,7 +11488,7 @@ const j0 = /* @__PURE__ */ ne({
11485
11488
  }
11486
11489
  );
11487
11490
  const v = j(() => n.theme), f = (p) => {
11488
- if (p.hasChildren) {
11491
+ if (console.log(p), p.hasChildren) {
11489
11492
  if (n.collapsed) return;
11490
11493
  const m = [];
11491
11494
  m.push(...p.pid.split(".")), p.open || m.push(p.value);
@@ -11500,15 +11503,15 @@ const j0 = /* @__PURE__ */ ne({
11500
11503
  });
11501
11504
  }, 300);
11502
11505
  } else {
11503
- const m = s.value.find((g) => g.active);
11504
- if (m?.value === p.value) return;
11505
- m && (m.active = !1), p.active = !0, l.value = p.value, o("click", p);
11506
+ if (l.value === p.value) return;
11507
+ l.value = p.value, o("click", p);
11506
11508
  }
11507
11509
  };
11508
11510
  return cf({
11509
11511
  getMenuMap: () => a,
11510
11512
  toArray: r,
11511
11513
  activeMenu: h,
11514
+ activeMenuId: l,
11512
11515
  theme: v
11513
11516
  }), (p, m) => e.mode === "inline" ? (b(), I(B0, {
11514
11517
  key: 0,
@@ -13009,7 +13012,7 @@ const j0 = /* @__PURE__ */ ne({
13009
13012
  setCheck: S,
13010
13013
  getCheck: k
13011
13014
  }), (H, B) => {
13012
- const C = V("j-icon"), O = V("j-button"), z = V("el-dropdown-item"), Q = V("el-dropdown-menu"), se = V("el-dropdown"), pe = V("el-tree"), Te = V("el-empty"), Je = Ma("loading");
13015
+ const C = V("j-icon"), O = V("j-button"), z = V("el-dropdown-item"), Q = V("el-dropdown-menu"), se = V("el-dropdown"), pe = V("el-tree"), Te = V("el-empty"), Je = Aa("loading");
13013
13016
  return Dt((b(), P("div", {
13014
13017
  class: ae(["j-block", "j-tree", { "j-tree-menu": e.theme === "menu" }]),
13015
13018
  style: { "min-height": "60px" }
@@ -13263,7 +13266,7 @@ const Mb = /* @__PURE__ */ ne({
13263
13266
  }, Te = async (U, le) => {
13264
13267
  m.value = !1;
13265
13268
  const G = !!le;
13266
- x.splice(0, x.length), A = {}, K = {}, Z = [], z = le, ya(w), L.value = {}, G && Q(le, ""), pe(U, x, G), H = pn(w), Oe(() => {
13269
+ x.splice(0, x.length), A = {}, K = {}, Z = [], z = le, ba(w), L.value = {}, G && Q(le, ""), pe(U, x, G), H = pn(w), Oe(() => {
13267
13270
  m.value = !0, Oe(() => {
13268
13271
  ot(o.config?.codeInit, {});
13269
13272
  });
@@ -13376,7 +13379,7 @@ const Mb = /* @__PURE__ */ ne({
13376
13379
  `${v(E[Object.keys(U)[0]]?.config?.label)}:${v(U[Object.keys(U)[0]].msg)}`
13377
13380
  ), !1) : !0;
13378
13381
  }, ce = () => {
13379
- T.value = {}, ya(w), Object.keys(H || {}).forEach((U) => {
13382
+ T.value = {}, ba(w), Object.keys(H || {}).forEach((U) => {
13380
13383
  w[U] = H[U];
13381
13384
  });
13382
13385
  }, ye = (U) => {
@@ -13581,7 +13584,7 @@ const Mb = /* @__PURE__ */ ne({
13581
13584
  l[m.id] = g, Cl(g.config, m.config || {}, ["defaultValue"]), m?.config?.defaultValue !== void 0 && (i.value[m.id] = m.config.defaultValue), p.push(g), y && y.length > 0 && h(y, g.children);
13582
13585
  });
13583
13586
  }, v = (f) => {
13584
- o.value = !1, a.splice(0, a.length), ya(l), ya(i), h(f, a), Oe(() => {
13587
+ o.value = !1, a.splice(0, a.length), ba(l), ba(i), h(f, a), Oe(() => {
13585
13588
  o.value = !0;
13586
13589
  });
13587
13590
  };
@@ -13910,7 +13913,9 @@ const Mb = /* @__PURE__ */ ne({
13910
13913
  }), r.value = p.join(","), s.value = m.join(","), a("change", { value: s.value, data: f });
13911
13914
  } else if (f.length > 0) {
13912
13915
  const p = f[0], m = p[o.labelKey], g = p[o.valueKey];
13913
- r.value = m != null ? String(m) : "", s.value = g != null ? String(g) : "", a("change", { value: s.value, data: p });
13916
+ r.value = m != null ? String(m) : "";
13917
+ const y = g != null ? String(g) : "";
13918
+ s.value = y, a("change", { value: y, data: p });
13914
13919
  } else
13915
13920
  r.value = "", s.value = "", a("change", { value: "", data: void 0 });
13916
13921
  console.log(l.value.close, "layerRef.value.close"), l.value.close();
@@ -14083,7 +14088,7 @@ const Mb = /* @__PURE__ */ ne({
14083
14088
  }, ["prevent"]))
14084
14089
  }, {
14085
14090
  default: N(() => [
14086
- s.value ? (b(), I(f, Aa(_e({ key: 0 }, e.schema[0])), null, 16)) : (b(), I(p, {
14091
+ s.value ? (b(), I(f, Ba(_e({ key: 0 }, e.schema[0])), null, 16)) : (b(), I(p, {
14087
14092
  key: 1,
14088
14093
  gutter: a.value
14089
14094
  }, {
@@ -14606,7 +14611,7 @@ function fw(e) {
14606
14611
  var t = za(e) || e;
14607
14612
  return Fa(e) && t.shiftKey;
14608
14613
  }
14609
- function Ro(e) {
14614
+ function Vo(e) {
14610
14615
  return e.flat().join(",").replace(/,?([A-Za-z]),?/g, "$1");
14611
14616
  }
14612
14617
  function pw(e) {
@@ -14635,12 +14640,12 @@ function vw(e, t) {
14635
14640
  o.push(vl(i));
14636
14641
  continue;
14637
14642
  }
14638
- const c = aa(i, l, s), d = aa(i, l, s * 0.5), u = aa(i, r, s), h = aa(i, r, s * 0.5);
14643
+ const c = la(i, l, s), d = la(i, l, s * 0.5), u = la(i, r, s), h = la(i, r, s * 0.5);
14639
14644
  o.push(vl(c)), o.push(hw(d, h, u));
14640
14645
  }
14641
14646
  return o;
14642
14647
  }
14643
- function aa(e, t, n) {
14648
+ function la(e, t, n) {
14644
14649
  const o = t.x - e.x, a = t.y - e.y, l = Il(o, a), i = n / l;
14645
14650
  return {
14646
14651
  x: e.x + o * i,
@@ -14658,13 +14663,13 @@ function Pc(e, t, n) {
14658
14663
  function Lc(e, t) {
14659
14664
  const n = parseInt(e.dataset.cornerRadius, 10) || 0;
14660
14665
  return Xe(e, {
14661
- d: Ro(vw(t, n))
14666
+ d: Vo(vw(t, n))
14662
14667
  }), e;
14663
14668
  }
14664
14669
  function mw(e) {
14665
14670
  return !0;
14666
14671
  }
14667
- function la(e) {
14672
+ function ia(e) {
14668
14673
  return Fa(e) || dw(e);
14669
14674
  }
14670
14675
  var kr = 500;
@@ -14699,10 +14704,10 @@ function Oc(e, t, n) {
14699
14704
  mouseup: "element.mouseup"
14700
14705
  }, c = {
14701
14706
  "element.contextmenu": mw,
14702
- "element.mousedown": la,
14703
- "element.mouseup": la,
14704
- "element.click": la,
14705
- "element.dblclick": la
14707
+ "element.mousedown": ia,
14708
+ "element.mouseup": ia,
14709
+ "element.click": ia,
14710
+ "element.dblclick": ia
14706
14711
  };
14707
14712
  function d(x, E, L) {
14708
14713
  var A = s[x];
@@ -14774,7 +14779,7 @@ function Oc(e, t, n) {
14774
14779
  }
14775
14780
  this.removeHits = function(x) {
14776
14781
  var E = kd(".djs-hit", x);
14777
- we(E, ga);
14782
+ we(E, ya);
14778
14783
  }, this.createDefaultHit = function(x, E) {
14779
14784
  var L = x.waypoints, A = x.isFrame, K;
14780
14785
  return L ? this.createWaypointsHit(E, L) : (K = A ? "stroke" : "all", this.createBoxHit(E, K, {
@@ -15421,10 +15426,10 @@ function Gc(e, t, n, o, a) {
15421
15426
  var r = i.hover, s = i.context, c = s.elements, d = s.dragGroup;
15422
15427
  d || (d = s.dragGroup = l(c));
15423
15428
  var u;
15424
- r ? (d.parentNode || (u = e.getActiveLayer(), ft(u, d)), Ll(d, i.x, i.y)) : ga(d);
15429
+ r ? (d.parentNode || (u = e.getActiveLayer(), ft(u, d)), Ll(d, i.x, i.y)) : ya(d);
15425
15430
  }), t.on("create.cleanup", function(i) {
15426
15431
  var r = i.context, s = r.dragGroup;
15427
- s && ga(s);
15432
+ s && ya(s);
15428
15433
  });
15429
15434
  }
15430
15435
  Gc.$inject = [
@@ -15547,8 +15552,8 @@ function qw(e) {
15547
15552
  function Fr(e, t, n, o, a, l, i, r, s) {
15548
15553
  var c = 1 - s, d = Vr(c, 3), u = Vr(c, 2), h = s * s, v = h * s, f = d * e + u * 3 * s * n + c * 3 * s * s * a + v * i, p = d * t + u * 3 * s * o + c * 3 * s * s * l + v * r;
15549
15554
  return {
15550
- x: Ta(f),
15551
- y: Ta(p)
15555
+ x: ja(f),
15556
+ y: ja(p)
15552
15557
  };
15553
15558
  }
15554
15559
  function Dr(e) {
@@ -15582,13 +15587,13 @@ function Zw(e, t, n, o, a, l, i, r) {
15582
15587
  if (!(zt(e, n) < Vt(a, i) || Vt(e, n) > zt(a, i) || zt(t, o) < Vt(l, r) || Vt(t, o) > zt(l, r))) {
15583
15588
  var s = (e * o - t * n) * (a - i) - (e - n) * (a * r - l * i), c = (e * o - t * n) * (l - r) - (t - o) * (a * r - l * i), d = (e - n) * (l - r) - (t - o) * (a - i);
15584
15589
  if (d) {
15585
- var u = Ta(s / d), h = Ta(c / d), v = +u.toFixed(2), f = +h.toFixed(2);
15590
+ var u = ja(s / d), h = ja(c / d), v = +u.toFixed(2), f = +h.toFixed(2);
15586
15591
  if (!(v < +Vt(e, n).toFixed(2) || v > +zt(e, n).toFixed(2) || v < +Vt(a, i).toFixed(2) || v > +zt(a, i).toFixed(2) || f < +Vt(t, o).toFixed(2) || f > +zt(t, o).toFixed(2) || f < +Vt(l, r).toFixed(2) || f > +zt(l, r).toFixed(2)))
15587
15592
  return { x: u, y: h };
15588
15593
  }
15589
15594
  }
15590
15595
  }
15591
- function Ta(e) {
15596
+ function ja(e) {
15592
15597
  return Math.round(e * 1e11) / 1e11;
15593
15598
  }
15594
15599
  function Qw(e, t, n) {
@@ -15696,7 +15701,7 @@ function n1(e) {
15696
15701
  function Wr(e) {
15697
15702
  return e[0] === e[2] && e[1] === e[3] && e[4] === e[6] && e[5] === e[7];
15698
15703
  }
15699
- function ia(e, t, n, o) {
15704
+ function ra(e, t, n, o) {
15700
15705
  return [
15701
15706
  e,
15702
15707
  t,
@@ -15788,16 +15793,16 @@ function Kr(e) {
15788
15793
  v.qx = h[1], v.qy = h[2], h = ["C", ...Ur(v.x, v.y, h[1], h[2], h[3], h[4])];
15789
15794
  break;
15790
15795
  case "L":
15791
- h = ["C", ...ia(v.x, v.y, h[1], h[2])];
15796
+ h = ["C", ...ra(v.x, v.y, h[1], h[2])];
15792
15797
  break;
15793
15798
  case "H":
15794
- h = ["C", ...ia(v.x, v.y, h[1], v.y)];
15799
+ h = ["C", ...ra(v.x, v.y, h[1], v.y)];
15795
15800
  break;
15796
15801
  case "V":
15797
- h = ["C", ...ia(v.x, v.y, v.x, h[1])];
15802
+ h = ["C", ...ra(v.x, v.y, v.x, h[1])];
15798
15803
  break;
15799
15804
  case "Z":
15800
- h = ["C", ...ia(v.x, v.y, v.X, v.Y)];
15805
+ h = ["C", ...ra(v.x, v.y, v.X, v.Y)];
15801
15806
  break;
15802
15807
  }
15803
15808
  return h;
@@ -15862,7 +15867,7 @@ function l1(e) {
15862
15867
  function Wt(e) {
15863
15868
  return Jt(e) ? l1(e) : a1(e);
15864
15869
  }
15865
- function Vo(e, t, n) {
15870
+ function zo(e, t, n) {
15866
15871
  n = n || 0, fn(n) || (n = { x: n, y: n });
15867
15872
  var o = Jr(e), a = Jr(t), l = o.bottom + n.y <= a.top, i = o.left - n.x >= a.right, r = o.top - n.y >= a.bottom, s = o.right + n.x <= a.left, c = l ? "top" : r ? "bottom" : null, d = s ? "left" : i ? "right" : null;
15868
15873
  return d && c ? c + "-" + d : d || c || "intersect";
@@ -16295,7 +16300,7 @@ function C1(e, t) {
16295
16300
  };
16296
16301
  }
16297
16302
  Ct.prototype.on = function(e, t, n, o, a, l) {
16298
- if ((da(t) || Ft(t)) && (l = a, a = o, o = n, n = t, t = null), da(n) && (l = a, a = o, o = n, n = x1), fn(a) && (l = a, a = !1), !da(o))
16303
+ if ((fa(t) || Ft(t)) && (l = a, a = o, o = n, n = t, t = null), fa(n) && (l = a, a = o, o = n, n = x1), fn(a) && (l = a, a = !1), !fa(o))
16299
16304
  throw new Error("handlerFn must be a function");
16300
16305
  _t(e) || (e = [e]);
16301
16306
  var i = this._eventBus;
@@ -16317,7 +16322,7 @@ Ct.prototype.revert = Xt("revert");
16317
16322
  Ct.prototype.reverted = Xt("reverted");
16318
16323
  function Xt(e) {
16319
16324
  return function(n, o, a, l, i) {
16320
- (da(n) || Ft(n)) && (i = l, l = a, a = o, o = n, n = null), this.on(n, e, o, a, l, i);
16325
+ (fa(n) || Ft(n)) && (i = l, l = a, a = o, o = n, n = null), this.on(n, e, o, a, l, i);
16321
16326
  };
16322
16327
  }
16323
16328
  var S1 = 250, qr = 1400;
@@ -16485,25 +16490,25 @@ function go() {
16485
16490
  }
16486
16491
  }), yi.bind(this, "parent"), lu.bind(this, "labels"), iu.bind(this, "outgoing"), ru.bind(this, "incoming");
16487
16492
  }
16488
- function zo() {
16493
+ function Fo() {
16489
16494
  go.call(this), yi.bind(this, "children"), Zr.bind(this, "host"), Zr.bind(this, "attachers");
16490
16495
  }
16491
- mo(zo, go);
16496
+ mo(Fo, go);
16492
16497
  function su() {
16493
16498
  go.call(this), yi.bind(this, "children");
16494
16499
  }
16495
- mo(su, zo);
16500
+ mo(su, Fo);
16496
16501
  function cu() {
16497
- zo.call(this), lu.bind(this, "labelTarget");
16502
+ Fo.call(this), lu.bind(this, "labelTarget");
16498
16503
  }
16499
- mo(cu, zo);
16504
+ mo(cu, Fo);
16500
16505
  function uu() {
16501
16506
  go.call(this), iu.bind(this, "source"), ru.bind(this, "target");
16502
16507
  }
16503
16508
  mo(uu, go);
16504
16509
  var _1 = {
16505
16510
  connection: uu,
16506
- shape: zo,
16511
+ shape: Fo,
16507
16512
  label: cu,
16508
16513
  root: su
16509
16514
  };
@@ -16643,7 +16648,7 @@ Ua.prototype.revert = function(e) {
16643
16648
  var t = e.connection;
16644
16649
  return this._canvas.removeConnection(t), t.source = null, t.target = null, t;
16645
16650
  };
16646
- var ra = Math.round;
16651
+ var sa = Math.round;
16647
16652
  function bi(e) {
16648
16653
  this._modeling = e;
16649
16654
  }
@@ -16661,12 +16666,12 @@ bi.prototype.preExecute = function(e) {
16661
16666
  we(t, function(u) {
16662
16667
  Jt(u) && (u.waypoints = Po(u.waypoints, function(h) {
16663
16668
  return {
16664
- x: ra(h.x - s.x - s.width / 2 + a.x),
16665
- y: ra(h.y - s.y - s.height / 2 + a.y)
16669
+ x: sa(h.x - s.x - s.width / 2 + a.x),
16670
+ y: sa(h.y - s.y - s.height / 2 + a.y)
16666
16671
  };
16667
16672
  })), Be(u, {
16668
- x: ra(u.x - s.x - s.width / 2 + a.x),
16669
- y: ra(u.y - s.y - s.height / 2 + a.y)
16673
+ x: sa(u.x - s.x - s.width / 2 + a.x),
16674
+ y: sa(u.y - s.y - s.height / 2 + a.y)
16670
16675
  });
16671
16676
  });
16672
16677
  var c = Bw(t), d = {};
@@ -16723,18 +16728,18 @@ yn.prototype.revert = function(e) {
16723
16728
  var t = e.shape;
16724
16729
  return this._canvas.removeShape(t), t;
16725
16730
  };
16726
- function Fo(e) {
16731
+ function Do(e) {
16727
16732
  yn.call(this, e);
16728
16733
  }
16729
- mo(Fo, yn);
16730
- Fo.$inject = ["canvas"];
16734
+ mo(Do, yn);
16735
+ Do.$inject = ["canvas"];
16731
16736
  var P1 = yn.prototype.execute;
16732
- Fo.prototype.execute = function(e) {
16737
+ Do.prototype.execute = function(e) {
16733
16738
  var t = e.shape;
16734
16739
  return O1(t), t.labelTarget = e.labelTarget, P1.call(this, e);
16735
16740
  };
16736
16741
  var L1 = yn.prototype.revert;
16737
- Fo.prototype.revert = function(e) {
16742
+ Do.prototype.revert = function(e) {
16738
16743
  return e.shape.labelTarget = null, L1.call(this, e);
16739
16744
  };
16740
16745
  function O1(e) {
@@ -16742,14 +16747,14 @@ function O1(e) {
16742
16747
  typeof e[t] > "u" && (e[t] = 0);
16743
16748
  });
16744
16749
  }
16745
- function Do(e, t) {
16750
+ function No(e, t) {
16746
16751
  this._canvas = e, this._modeling = t;
16747
16752
  }
16748
- Do.$inject = [
16753
+ No.$inject = [
16749
16754
  "canvas",
16750
16755
  "modeling"
16751
16756
  ];
16752
- Do.prototype.preExecute = function(e) {
16757
+ No.prototype.preExecute = function(e) {
16753
16758
  var t = this._modeling, n = e.connection;
16754
16759
  oo(n.incoming, function(o) {
16755
16760
  t.removeConnection(o, { nested: !0 });
@@ -16757,11 +16762,11 @@ Do.prototype.preExecute = function(e) {
16757
16762
  t.removeConnection(o, { nested: !0 });
16758
16763
  });
16759
16764
  };
16760
- Do.prototype.execute = function(e) {
16765
+ No.prototype.execute = function(e) {
16761
16766
  var t = e.connection, n = t.parent;
16762
16767
  return e.parent = n, e.parentIndex = mi(n.children, t), e.source = t.source, e.target = t.target, this._canvas.removeConnection(t), t.source = null, t.target = null, t;
16763
16768
  };
16764
- Do.prototype.revert = function(e) {
16769
+ No.prototype.revert = function(e) {
16765
16770
  var t = e.connection, n = e.parent, o = e.parentIndex;
16766
16771
  return t.source = e.source, t.target = e.target, mn(n.children, t, o), this._canvas.addConnection(t, n), t;
16767
16772
  };
@@ -16778,11 +16783,11 @@ wi.prototype.postExecute = function(e) {
16778
16783
  n.get(a.id) && (a.waypoints ? t.removeConnection(a) : t.removeShape(a));
16779
16784
  });
16780
16785
  };
16781
- function No(e, t) {
16786
+ function Ho(e, t) {
16782
16787
  this._canvas = e, this._modeling = t;
16783
16788
  }
16784
- No.$inject = ["canvas", "modeling"];
16785
- No.prototype.preExecute = function(e) {
16789
+ Ho.$inject = ["canvas", "modeling"];
16790
+ Ho.prototype.preExecute = function(e) {
16786
16791
  var t = this._modeling, n = e.shape;
16787
16792
  oo(n.incoming, function(o) {
16788
16793
  t.removeConnection(o, { nested: !0 });
@@ -16792,11 +16797,11 @@ No.prototype.preExecute = function(e) {
16792
16797
  Jt(o) ? t.removeConnection(o, { nested: !0 }) : t.removeShape(o, { nested: !0 });
16793
16798
  });
16794
16799
  };
16795
- No.prototype.execute = function(e) {
16800
+ Ho.prototype.execute = function(e) {
16796
16801
  var t = this._canvas, n = e.shape, o = n.parent;
16797
16802
  return e.oldParent = o, e.oldParentIndex = mi(o.children, n), t.removeShape(n), n;
16798
16803
  };
16799
- No.prototype.revert = function(e) {
16804
+ Ho.prototype.revert = function(e) {
16800
16805
  var t = this._canvas, n = e.shape, o = e.oldParent, a = e.oldParentIndex;
16801
16806
  return mn(o.children, n, a), t.addShape(n, o), n;
16802
16807
  };
@@ -16927,7 +16932,7 @@ function fu(e, t) {
16927
16932
  });
16928
16933
  }
16929
16934
  function R1(e, t) {
16930
- return Vo(t, e, 1) === "intersect";
16935
+ return zo(t, e, 1) === "intersect";
16931
16936
  }
16932
16937
  function V1(e) {
16933
16938
  return e.original || e;
@@ -16942,13 +16947,13 @@ Ti.prototype.addAll = function(e, t) {
16942
16947
  var n = Iw(e, !!t, this);
16943
16948
  return Be(this, n), this;
16944
16949
  };
16945
- function Ho(e) {
16950
+ function Wo(e) {
16946
16951
  this._modeling = e;
16947
16952
  }
16948
- Ho.prototype.moveRecursive = function(e, t, n) {
16953
+ Wo.prototype.moveRecursive = function(e, t, n) {
16949
16954
  return e ? this.moveClosure(this.getClosure(e), t, n) : [];
16950
16955
  };
16951
- Ho.prototype.moveClosure = function(e, t, n, o, a) {
16956
+ Wo.prototype.moveClosure = function(e, t, n, o, a) {
16952
16957
  var l = this._modeling, i = e.allShapes, r = e.allConnections, s = e.enclosedConnections, c = e.topLevel, d = !1;
16953
16958
  a && a.parent === n && (d = !0), we(i, function(u) {
16954
16959
  l.moveShape(u, t, c[u.id] && !d && n, {
@@ -16963,11 +16968,11 @@ Ho.prototype.moveClosure = function(e, t, n, o, a) {
16963
16968
  });
16964
16969
  });
16965
16970
  };
16966
- Ho.prototype.getClosure = function(e) {
16971
+ Wo.prototype.getClosure = function(e) {
16967
16972
  return new Ti().addAll(e, !0);
16968
16973
  };
16969
16974
  function qa(e) {
16970
- this._helper = new Ho(e);
16975
+ this._helper = new Wo(e);
16971
16976
  }
16972
16977
  qa.$inject = ["modeling"];
16973
16978
  qa.prototype.preExecute = function(e) {
@@ -16984,7 +16989,7 @@ qa.prototype.postExecute = function(e) {
16984
16989
  );
16985
16990
  };
16986
16991
  function Rn(e) {
16987
- this._modeling = e, this._helper = new Ho(e);
16992
+ this._modeling = e, this._helper = new Wo(e);
16988
16993
  }
16989
16994
  Rn.$inject = ["modeling"];
16990
16995
  Rn.prototype.execute = function(e) {
@@ -17022,21 +17027,21 @@ Rn.prototype.moveChildren = function(e) {
17022
17027
  Rn.prototype.getNewParent = function(e) {
17023
17028
  return e.newParent || e.shape.parent;
17024
17029
  };
17025
- function Wo(e) {
17030
+ function Uo(e) {
17026
17031
  this._modeling = e;
17027
17032
  }
17028
- Wo.$inject = ["modeling"];
17029
- Wo.prototype.execute = function(e) {
17033
+ Uo.$inject = ["modeling"];
17034
+ Uo.prototype.execute = function(e) {
17030
17035
  var t = e.newSource, n = e.newTarget, o = e.connection, a = e.dockingOrPoints;
17031
17036
  if (!t && !n)
17032
17037
  throw new Error("newSource or newTarget required");
17033
17038
  return _t(a) && (e.oldWaypoints = o.waypoints, o.waypoints = a), t && (e.oldSource = o.source, o.source = t), n && (e.oldTarget = o.target, o.target = n), o;
17034
17039
  };
17035
- Wo.prototype.postExecute = function(e) {
17040
+ Uo.prototype.postExecute = function(e) {
17036
17041
  var t = e.connection, n = e.newSource, o = e.newTarget, a = e.dockingOrPoints, l = e.hints || {}, i = {};
17037
17042
  l.connectionStart && (i.connectionStart = l.connectionStart), l.connectionEnd && (i.connectionEnd = l.connectionEnd), l.layoutConnection !== !1 && (n && (!o || l.docking === "source") && (i.connectionStart = i.connectionStart || ts(_t(a) ? a[0] : a)), o && (!n || l.docking === "target") && (i.connectionEnd = i.connectionEnd || ts(_t(a) ? a[a.length - 1] : a)), l.newWaypoints && (i.waypoints = l.newWaypoints), this._modeling.layoutConnection(t, i));
17038
17043
  };
17039
- Wo.prototype.revert = function(e) {
17044
+ Uo.prototype.revert = function(e) {
17040
17045
  var t = e.oldSource, n = e.oldTarget, o = e.oldWaypoints, a = e.connection;
17041
17046
  return t && (a.source = t), n && (a.target = n), o && (a.waypoints = o), a;
17042
17047
  };
@@ -17104,11 +17109,11 @@ Zt.prototype.reconnectStart = function(e, t, n, o) {
17104
17109
  Zt.prototype.reconnectEnd = function(e, t, n, o) {
17105
17110
  this._modeling.reconnectEnd(e, t, n, o);
17106
17111
  };
17107
- function Uo(e) {
17112
+ function Ko(e) {
17108
17113
  this._modeling = e;
17109
17114
  }
17110
- Uo.$inject = ["modeling"];
17111
- Uo.prototype.execute = function(e) {
17115
+ Ko.$inject = ["modeling"];
17116
+ Ko.prototype.execute = function(e) {
17112
17117
  var t = e.shape, n = e.newBounds, o = e.minBounds;
17113
17118
  if (n.x === void 0 || n.y === void 0 || n.width === void 0 || n.height === void 0)
17114
17119
  throw new Error("newBounds must have {x, y, width, height} properties");
@@ -17128,7 +17133,7 @@ Uo.prototype.execute = function(e) {
17128
17133
  y: n.y
17129
17134
  }), t;
17130
17135
  };
17131
- Uo.prototype.postExecute = function(e) {
17136
+ Ko.prototype.postExecute = function(e) {
17132
17137
  var t = this._modeling, n = e.shape, o = e.oldBounds, a = e.hints || {};
17133
17138
  a.layout !== !1 && (we(n.incoming, function(l) {
17134
17139
  t.layoutConnection(l, {
@@ -17140,7 +17145,7 @@ Uo.prototype.postExecute = function(e) {
17140
17145
  });
17141
17146
  }));
17142
17147
  };
17143
- Uo.prototype.revert = function(e) {
17148
+ Ko.prototype.revert = function(e) {
17144
17149
  var t = e.shape, n = e.oldBounds;
17145
17150
  return Be(t, {
17146
17151
  width: n.width,
@@ -17372,19 +17377,19 @@ ze.prototype.getHandlers = function() {
17372
17377
  return {
17373
17378
  "shape.append": Wa,
17374
17379
  "shape.create": yn,
17375
- "shape.delete": No,
17380
+ "shape.delete": Ho,
17376
17381
  "shape.move": Rn,
17377
- "shape.resize": Uo,
17382
+ "shape.resize": Ko,
17378
17383
  "shape.replace": Zt,
17379
17384
  "shape.toggleCollapse": Xa,
17380
17385
  spaceTool: bn,
17381
- "label.create": Fo,
17386
+ "label.create": Do,
17382
17387
  "connection.create": Ua,
17383
- "connection.delete": Do,
17388
+ "connection.delete": No,
17384
17389
  "connection.move": xi,
17385
17390
  "connection.layout": Ja,
17386
17391
  "connection.updateWaypoints": ji,
17387
- "connection.reconnect": Wo,
17392
+ "connection.reconnect": Uo,
17388
17393
  "elements.create": bi,
17389
17394
  "elements.move": qa,
17390
17395
  "elements.delete": wi,
@@ -17640,7 +17645,7 @@ function K1(e) {
17640
17645
  ].includes(e.type);
17641
17646
  }
17642
17647
  function J1(e) {
17643
- return va(e.label);
17648
+ return ma(e.label);
17644
17649
  }
17645
17650
  function Y1(e) {
17646
17651
  const t = e.length / 2 - 1, n = e[Math.floor(t)], o = e[Math.ceil(t + 0.01)], a = G1(e), l = Math.atan((o.y - n.y) / (o.x - n.x));
@@ -17660,7 +17665,7 @@ function q1(e) {
17660
17665
  y: e.y + e.height + U1.height / 2
17661
17666
  };
17662
17667
  }
17663
- function va(e) {
17668
+ function ma(e) {
17664
17669
  return e && !!e.labelTarget;
17665
17670
  }
17666
17671
  const X1 = {
@@ -17674,7 +17679,7 @@ function bu(e, t) {
17674
17679
  }
17675
17680
  function o(r) {
17676
17681
  const { element: s, newLabel: c } = r, { businessObject: d } = s;
17677
- if (!va(s) && K1(s) && !J1(s) && !is(c)) {
17682
+ if (!ma(s) && K1(s) && !J1(s) && !is(c)) {
17678
17683
  let h = q1(s);
17679
17684
  h = {
17680
17685
  x: h.x,
@@ -17694,9 +17699,9 @@ function bu(e, t) {
17694
17699
  function i(r) {
17695
17700
  const { element: s, newLabel: c } = r, d = s.label || s, u = r.hints || {};
17696
17701
  let { newBounds: h } = r;
17697
- if (!va(d))
17702
+ if (!ma(d))
17698
17703
  return;
17699
- if (va(d) && is(c)) {
17704
+ if (ma(d) && is(c)) {
17700
17705
  u.removeShape !== !1 && e.removeShape(d, { unsetLabel: !1 });
17701
17706
  return;
17702
17707
  }
@@ -17709,16 +17714,16 @@ bu.$inject = ["modeling", "textRenderer"];
17709
17714
  function is(e) {
17710
17715
  return !e || !e.trim();
17711
17716
  }
17712
- function Ko(e, t, n) {
17717
+ function Jo(e, t, n) {
17713
17718
  ze.call(this, e, t, n);
17714
17719
  }
17715
- Lo(Ko, ze);
17716
- Ko.$inject = ["eventBus", "elementFactory", "commandStack"];
17717
- Ko.prototype.getHandlers = function() {
17720
+ Lo(Jo, ze);
17721
+ Jo.$inject = ["eventBus", "elementFactory", "commandStack"];
17722
+ Jo.prototype.getHandlers = function() {
17718
17723
  const e = ze.prototype.getHandlers.call(this);
17719
17724
  return e["element.updateLabel"] = bu, e;
17720
17725
  };
17721
- Ko.prototype.updateLabel = function(e, t, n, o) {
17726
+ Jo.prototype.updateLabel = function(e, t, n, o) {
17722
17727
  this._commandStack.execute("element.updateLabel", {
17723
17728
  element: e,
17724
17729
  newLabel: t,
@@ -17745,7 +17750,7 @@ wu.prototype.layoutConnection = function(e, t) {
17745
17750
  t.connectionEnd || Wt(t.target || e.target)
17746
17751
  ];
17747
17752
  };
17748
- var sa = 20, Z1 = 5, ja = Math.round, rs = 20, Q1 = {
17753
+ var ca = 20, Z1 = 5, $a = Math.round, rs = 20, Q1 = {
17749
17754
  "h:h": 20,
17750
17755
  "v:v": 20,
17751
17756
  "h:v": -10,
@@ -17772,13 +17777,13 @@ function tx(e, t) {
17772
17777
  }[e].test(t);
17773
17778
  }
17774
17779
  function xu(e, t, n) {
17775
- var o = Vo(t, e, Z1), a = n.split(":")[0], l = ja((t.x - e.x) / 2 + e.x), i = ja((t.y - e.y) / 2 + e.y), r, s, c = tx(a, o), d = /h|r|l/.test(a), u = !1, h = !1;
17780
+ var o = zo(t, e, Z1), a = n.split(":")[0], l = $a((t.x - e.x) / 2 + e.x), i = $a((t.y - e.y) / 2 + e.y), r, s, c = tx(a, o), d = /h|r|l/.test(a), u = !1, h = !1;
17776
17781
  return c ? (r = d ? { x: l, y: e.y } : { x: e.x, y: i }, s = d ? "h:h" : "v:v") : (u = ex(o, a), s = d ? "h:v" : "v:h", u ? d ? (h = i === e.y, r = {
17777
- x: e.x + sa * (/l/.test(a) ? -1 : 1),
17778
- y: h ? i + sa : i
17782
+ x: e.x + ca * (/l/.test(a) ? -1 : 1),
17783
+ y: h ? i + ca : i
17779
17784
  }) : (h = l === e.x, r = {
17780
- x: h ? l + sa : l,
17781
- y: e.y + sa * (/t/.test(a) ? -1 : 1)
17785
+ x: h ? l + ca : l,
17786
+ y: e.y + ca * (/t/.test(a) ? -1 : 1)
17782
17787
  }) : r = {
17783
17788
  x: l,
17784
17789
  y: i
@@ -17816,7 +17821,7 @@ function ss(e) {
17816
17821
  return e.split(":").reverse().join(":");
17817
17822
  }
17818
17823
  function lx(e, t, n) {
17819
- var o = ja((t.x - e.x) / 2 + e.x), a = ja((t.y - e.y) / 2 + e.y);
17824
+ var o = $a((t.x - e.x) / 2 + e.x), a = $a((t.y - e.y) / 2 + e.y);
17820
17825
  if (n === "h:v")
17821
17826
  return [{ x: t.x, y: e.y }];
17822
17827
  if (n === "v:h")
@@ -17853,7 +17858,7 @@ function ix(e, t, n) {
17853
17858
  return o.unshift(e), o.push(t), Su(o);
17854
17859
  }
17855
17860
  function rx(e, t, n, o, a) {
17856
- var l = a && a.preferredLayouts || [], i = Ld(l, "straight")[0] || "h:h", r = Q1[i] || 0, s = Vo(e, t, r), c = px(s, i);
17861
+ var l = a && a.preferredLayouts || [], i = Ld(l, "straight")[0] || "h:h", r = Q1[i] || 0, s = zo(e, t, r), c = px(s, i);
17857
17862
  n = n || Wt(e), o = o || Wt(t);
17858
17863
  var d = c.split(":"), u = us(n, e, d[0], vx(s)), h = us(o, t, d[1], s);
17859
17864
  return ix(u, h, c);
@@ -17875,7 +17880,7 @@ function cs(e, t, n) {
17875
17880
  }
17876
17881
  function ux(e, t, n, o, a) {
17877
17882
  var l = {}, i, r;
17878
- return r = Vo(e, t), /^(top|bottom|left|right)$/.test(r) ? (/top|bottom/.test(r) && (i = "x"), /left|right/.test(r) && (i = "y"), a.preserveDocking === "target" ? cs(i, o, e) ? (l[i] = o[i], [
17883
+ return r = zo(e, t), /^(top|bottom|left|right)$/.test(r) ? (/top|bottom/.test(r) && (i = "x"), /left|right/.test(r) && (i = "y"), a.preserveDocking === "target" ? cs(i, o, e) ? (l[i] = o[i], [
17879
17884
  {
17880
17885
  x: l.x !== void 0 ? l.x : n.x,
17881
17886
  y: l.y !== void 0 ? l.y : n.y,
@@ -18002,7 +18007,7 @@ Ai.prototype.layoutConnection = function(e, t) {
18002
18007
  t || (t = {});
18003
18008
  const n = t.source || e.source, o = t.target || e.target, a = t.waypoints || e.waypoints;
18004
18009
  let { connectionStart: l, connectionEnd: i } = t, r, s;
18005
- return i === void 0 && (l = ca(a && a[0], n), i = ca(a && a[a.length - 1], o)), l || (l = ca(a && a[0], n)), i || (i = ca(a && a[a.length - 1], o)), En(e, "myline") && (n === o ? r = {
18010
+ return i === void 0 && (l = ua(a && a[0], n), i = ua(a && a[a.length - 1], o)), l || (l = ua(a && a[0], n)), i || (i = ua(a && a[a.length - 1], o)), En(e, "myline") && (n === o ? r = {
18006
18011
  preferredLayouts: mx(n, e)
18007
18012
  } : En(n, "gatewayAnd") || En(n, "gatewayXor") || En(n, "gatewayInclusive") ? r = {
18008
18013
  preferredLayouts: ["v:h"]
@@ -18014,11 +18019,11 @@ Ai.prototype.layoutConnection = function(e, t) {
18014
18019
  sx(n, o, l, i, a, r)
18015
18020
  )), s || [l, i];
18016
18021
  };
18017
- function ca(e, t) {
18022
+ function ua(e, t) {
18018
18023
  return e ? e.original || e : Wt(t);
18019
18024
  }
18020
18025
  function mx(e, t) {
18021
- const { waypoints: n } = t, o = n && n.length && Vo(n[0], e);
18026
+ const { waypoints: n } = t, o = n && n.length && zo(n[0], e);
18022
18027
  return o === "top" ? ["t:r"] : o === "right" ? ["r:b"] : o === "left" ? ["l:t"] : ["b:l"];
18023
18028
  }
18024
18029
  function ds(e) {
@@ -18057,7 +18062,7 @@ wn.prototype._getGfx = function(e) {
18057
18062
  const gx = {
18058
18063
  __depends__: [w1, k1, Da],
18059
18064
  __init__: ["modeling", "elementUpdater"],
18060
- modeling: ["type", Ko],
18065
+ modeling: ["type", Jo],
18061
18066
  layouter: ["type", Ai],
18062
18067
  elementUpdater: ["type", $i],
18063
18068
  elementFactory: ["type", On],
@@ -18088,7 +18093,7 @@ Vn.prototype.getConnectionPath = function(e) {
18088
18093
  function bx(e) {
18089
18094
  return e.businessObject;
18090
18095
  }
18091
- function ua(e, t) {
18096
+ function da(e, t) {
18092
18097
  return e.businessObject.strokeWidth || t || 1;
18093
18098
  }
18094
18099
  function Pt(e, t) {
@@ -18105,7 +18110,7 @@ function wx(e) {
18105
18110
  ["a", o, o, 0, 1, 1, 0, -2 * o],
18106
18111
  ["z"]
18107
18112
  ];
18108
- return Ro(a);
18113
+ return Vo(a);
18109
18114
  }
18110
18115
  function xx(e, t) {
18111
18116
  const { x: n, y: o, width: a, height: l } = e, i = [
@@ -18120,7 +18125,7 @@ function xx(e, t) {
18120
18125
  ["a", t, t, 0, 0, 1, t, -t],
18121
18126
  ["z"]
18122
18127
  ];
18123
- return Ro(i);
18128
+ return Vo(i);
18124
18129
  }
18125
18130
  function Cx(e) {
18126
18131
  const { x: t, y: n, width: o, height: a } = e, l = o / 2, i = a / 2, r = [
@@ -18130,11 +18135,11 @@ function Cx(e) {
18130
18135
  ["l", -l, -i],
18131
18136
  ["z"]
18132
18137
  ];
18133
- return Ro(r);
18138
+ return Vo(r);
18134
18139
  }
18135
18140
  function Sx(e) {
18136
18141
  const { x: t, y: n, width: o, height: a } = e, l = [["M", t, n], ["l", o, 0], ["l", 0, a], ["l", -o, 0], ["z"]];
18137
- return Ro(l);
18142
+ return Vo(l);
18138
18143
  }
18139
18144
  const Fl = 10, ml = 0.95, on = (e, t) => e.type === t;
18140
18145
  function zn(e, t, n, o, a, l, i) {
@@ -18349,7 +18354,7 @@ function zn(e, t, n, o, a, l, i) {
18349
18354
  const O = {
18350
18355
  fill: Pt(C, c.startEvent?.fill || C.fill),
18351
18356
  stroke: Ze(C, c.startEvent?.stroke || C.stroke),
18352
- strokeWidth: ua(
18357
+ strokeWidth: da(
18353
18358
  C,
18354
18359
  c.startEvent?.strokeWidth || C.strokeWidth
18355
18360
  )
@@ -18358,7 +18363,7 @@ function zn(e, t, n, o, a, l, i) {
18358
18363
  },
18359
18364
  endEvent(B, C) {
18360
18365
  const O = u("event")(B, C, {
18361
- strokeWidth: ua(
18366
+ strokeWidth: da(
18362
18367
  C,
18363
18368
  c.endEvent?.strokeWidth || C.strokeWidth || 4
18364
18369
  ),
@@ -18370,7 +18375,7 @@ function zn(e, t, n, o, a, l, i) {
18370
18375
  gateway(B, C) {
18371
18376
  const O = {
18372
18377
  fillOpacity: ml,
18373
- strokeWidth: ua(
18378
+ strokeWidth: da(
18374
18379
  C,
18375
18380
  c[C.type]?.strokeWidth || C.strokeWidth || 4
18376
18381
  ),
@@ -18523,7 +18528,7 @@ function zn(e, t, n, o, a, l, i) {
18523
18528
  },
18524
18529
  default(B, C) {
18525
18530
  const O = {
18526
- strokeWidth: ua(
18531
+ strokeWidth: da(
18527
18532
  C,
18528
18533
  c[C.type]?.strokeWidth || C.strokeWidth || 1
18529
18534
  ),
@@ -18678,7 +18683,7 @@ Qa.prototype.layoutText = function(e, t) {
18678
18683
  }
18679
18684
  var k = pt("tspan");
18680
18685
  Xe(k, { x: S, y: p }), k.textContent = y.text, ft(m, k);
18681
- }), ga(u);
18686
+ }), ya(u);
18682
18687
  var g = {
18683
18688
  width: f,
18684
18689
  height: v
@@ -19212,12 +19217,12 @@ export {
19212
19217
  Ot as assign,
19213
19218
  Ul as buildShortUUID,
19214
19219
  eo as buildUUID,
19215
- ya as clearJson,
19220
+ ba as clearJson,
19216
19221
  Cl as clone,
19217
19222
  pn as deepClone,
19218
19223
  WC as default,
19219
19224
  HC as eventBus,
19220
- qo as formatToDate,
19225
+ Xo as formatToDate,
19221
19226
  ef as formatToDateTime,
19222
19227
  ko as fullScreenLoading,
19223
19228
  to as getCompConfig,
@@ -19242,7 +19247,7 @@ export {
19242
19247
  Hd as set,
19243
19248
  Jd as setGroupMap,
19244
19249
  Yd as toArray,
19245
- Go as toDecimal,
19250
+ qo as toDecimal,
19246
19251
  Gd as toLeafArray,
19247
19252
  FC as toSimpleTree,
19248
19253
  zC as toTree,