@a2simcode/ui 0.0.239 → 0.0.240

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 { Fragment as Me, computed as H, createBlock as N, createCommentVNode as ne, createElementBlock as D, createElementVNode as B, createSlots as Yn, createTextVNode as Wn, createVNode as Z, defineComponent as ye, getCurrentInstance as mc, guardReactiveProps as Io, h as Ei, inject as jd, mergeModels as Bo, mergeProps as Ue, nextTick as Ht, normalizeClass as We, normalizeProps as ja, normalizeStyle as ce, onBeforeUnmount as Lo, onMounted as Et, onUnmounted as zo, openBlock as R, provide as Pd, reactive as ra, ref as L, render as Ti, renderList as Ie, renderSlot as et, resolveComponent as V, resolveDirective as Do, resolveDynamicComponent as Ba, shallowRef as $o, toDisplayString as xe, unref as J, useModel as Ho, useSlots as Bd, useTemplateRef as Aa, vShow as br, watch as it, watchEffect as bc, withCtx as q, withDirectives as la, withKeys as wr, withModifiers as Xt } from "vue";
1
+ import { Fragment as Me, computed as H, createBlock as N, createCommentVNode as ne, createElementBlock as D, createElementVNode as B, createSlots as Yn, createTextVNode as Wn, createVNode as Z, defineComponent as ye, getCurrentInstance as mc, guardReactiveProps as Lo, h as Ei, inject as jd, mergeModels as Ho, mergeProps as Ue, nextTick as Ht, normalizeClass as We, normalizeProps as ja, normalizeStyle as ce, onBeforeUnmount as zo, onMounted as Et, onUnmounted as Do, openBlock as R, provide as Pd, reactive as ra, ref as L, render as Ti, renderList as Ie, renderSlot as et, resolveComponent as V, resolveDirective as $o, resolveDynamicComponent as Ba, shallowRef as Fo, toDisplayString as xe, unref as J, useModel as Oo, useSlots as Bd, useTemplateRef as Aa, vShow as br, watch as it, watchEffect as bc, withCtx as q, withDirectives as la, withKeys as wr, withModifiers as Xt } from "vue";
2
2
  import { Icon as zl, getIcon as Ta } from "@iconify/vue";
3
3
  import eo from "dayjs";
4
4
  import Hd from "sortablejs";
@@ -29,8 +29,8 @@ import gf from "async-validator";
29
29
  import { createEditor as vf, createToolbar as yf } from "@wangeditor/editor";
30
30
  import wc from "diagram-js";
31
31
  import { assignStyle as Vi, attr as Rn, classes as sn, clear as _c, closest as Nr, delegate as aa, domify as fn, event as ut, matches as mf, query as Zt, queryAll as _r, remove as xr } from "min-dom";
32
- import { assign as De, bind as Wr, debounce as bf, every as Ur, filter as mn, find as On, flatten as wf, forEach as ge, groupBy as Yr, has as xc, isArray as ft, isDefined as kn, isFunction as In, isNil as $l, isNumber as Bt, isObject as bn, isString as Cr, isUndefined as _f, map as Fo, matchPattern as Ai, omit as xf, pick as Mi, reduce as Sr, size as Cf, some as Sf, sortBy as Oo, uniqueBy as kf, values as Jr, without as Rf } from "min-dash";
33
- import { append as tt, attr as ze, classes as pt, clear as Gr, clone as Cc, create as Xe, createTransform as To, remove as yn, transform as Kr } from "tiny-svg";
32
+ import { assign as De, bind as Wr, debounce as bf, every as Ur, filter as mn, find as On, flatten as wf, forEach as ge, groupBy as Yr, has as xc, isArray as ft, isDefined as kn, isFunction as In, isNil as $l, isNumber as Bt, isObject as bn, isString as Cr, isUndefined as _f, map as Vo, matchPattern as Ai, omit as xf, pick as Mi, reduce as Sr, size as Cf, some as Sf, sortBy as Io, uniqueBy as kf, values as Jr, without as Rf } from "min-dash";
33
+ import { append as tt, attr as ze, classes as pt, clear as Gr, clone as Cc, create as Xe, createTransform as Ao, remove as yn, transform as Kr } from "tiny-svg";
34
34
  import Ha from "inherits";
35
35
  import Ef from "diagram-js-direct-editing";
36
36
  var Tf = Object.create, Sc = Object.defineProperty, Af = Object.getOwnPropertyDescriptor, Mf = Object.getOwnPropertyNames, jf = Object.getPrototypeOf, Pf = Object.prototype.hasOwnProperty, cn = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), Bf = (e, t, n, a) => {
@@ -157,7 +157,7 @@ var en = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
157
157
  setup(e, { expose: t, emit: n }) {
158
158
  const a = e, o = n, i = (u) => {
159
159
  a.isNotStopClick || u.stopPropagation(), !d.value && !a.disabled && (o("click", u), a.href && window.open(a.href, a.target ? a.target : "_self"));
160
- }, r = $o(null), l = () => {
160
+ }, r = Fo(null), l = () => {
161
161
  r.value?.focus();
162
162
  }, c = () => {
163
163
  r.value?.blur();
@@ -219,7 +219,7 @@ var en = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
219
219
  ], 10, Lf));
220
220
  }
221
221
  }), $f = Df, Ff = ke($f);
222
- function Ao(e) {
222
+ function Mo(e) {
223
223
  Object.keys(e || {}).forEach((t) => {
224
224
  delete e[t];
225
225
  });
@@ -1472,12 +1472,12 @@ var nh = /* @__PURE__ */ cn(((e, t) => {
1472
1472
  decrypt(e) {
1473
1473
  return Hc(e, this.key, this.getOptions).toString(Pi);
1474
1474
  }
1475
- }, mh = class So {
1475
+ }, mh = class ko {
1476
1476
  static instance;
1477
1477
  constructor() {
1478
1478
  }
1479
1479
  static getInstance() {
1480
- return So.instance || (So.instance = new So()), So.instance;
1480
+ return ko.instance || (ko.instance = new ko()), ko.instance;
1481
1481
  }
1482
1482
  encrypt(t) {
1483
1483
  return Pi.parse(t).toString(Nl.default);
@@ -1485,32 +1485,32 @@ var nh = /* @__PURE__ */ cn(((e, t) => {
1485
1485
  decrypt(t) {
1486
1486
  return Nl.default.parse(t).toString(Pi);
1487
1487
  }
1488
- }, bh = class ko {
1488
+ }, bh = class Ro {
1489
1489
  static instance;
1490
1490
  constructor() {
1491
1491
  }
1492
1492
  static getInstance() {
1493
- return ko.instance || (ko.instance = new ko()), ko.instance;
1493
+ return Ro.instance || (Ro.instance = new Ro()), Ro.instance;
1494
1494
  }
1495
1495
  hash(t) {
1496
1496
  return (0, hh.default)(t).toString();
1497
1497
  }
1498
- }, wh = class Ro {
1498
+ }, wh = class Eo {
1499
1499
  static instance;
1500
1500
  constructor() {
1501
1501
  }
1502
1502
  static getInstance() {
1503
- return Ro.instance || (Ro.instance = new Ro()), Ro.instance;
1503
+ return Eo.instance || (Eo.instance = new Eo()), Eo.instance;
1504
1504
  }
1505
1505
  hash(t) {
1506
1506
  return (0, ph.default)(t).toString();
1507
1507
  }
1508
- }, _h = class Eo {
1508
+ }, _h = class To {
1509
1509
  static instance;
1510
1510
  constructor() {
1511
1511
  }
1512
1512
  static getInstance() {
1513
- return Eo.instance || (Eo.instance = new Eo()), Eo.instance;
1513
+ return To.instance || (To.instance = new To()), To.instance;
1514
1514
  }
1515
1515
  hash(t) {
1516
1516
  return (0, gh.default)(t).toString();
@@ -1644,7 +1644,7 @@ function Ic(e) {
1644
1644
  function Ni() {
1645
1645
  return Jn(Vt.TABLE_PROVIDE, {});
1646
1646
  }
1647
- function Vo(e) {
1647
+ function ao(e) {
1648
1648
  Gn(Vt.TABLE_PROVIDE, e);
1649
1649
  }
1650
1650
  function kh() {
@@ -1687,7 +1687,7 @@ var Hh = /* @__PURE__ */ ye({
1687
1687
  name: "JDynamicLayer",
1688
1688
  __name: "dynamic-layer",
1689
1689
  setup(e, { expose: t }) {
1690
- const n = L(), a = L(600), o = L(400), i = L(!0), r = L(!0), l = L(!0), c = L(""), s = L([]), d = L(!0), f = L(), u = $o(), h = L(), { getPageName: p } = Ah(), g = () => {
1690
+ const n = L(), a = L(600), o = L(400), i = L(!0), r = L(!0), l = L(!0), c = L(""), s = L([]), d = L(!0), f = L(), u = Fo(), h = L(), { getPageName: p } = Ah(), g = () => {
1691
1691
  const z = p();
1692
1692
  return z || (typeof u.value == "string" ? u.value : "");
1693
1693
  }, b = L(!1), x = L([]), w = async (z) => {
@@ -1790,7 +1790,7 @@ var Hh = /* @__PURE__ */ ye({
1790
1790
  i && i(), Ti(null, a);
1791
1791
  }, o.component && o.component.exposed && o.component.exposed.open(e);
1792
1792
  };
1793
- function ao() {
1793
+ function oo() {
1794
1794
  const e = mc(), t = e?.appContext, n = e?.provides;
1795
1795
  return { openLayer: (o) => {
1796
1796
  Oh(o, t, n);
@@ -1819,7 +1819,7 @@ var Ih = ke(zc), Lh = /* @__PURE__ */ ye({
1819
1819
  s.groupId = s.groupId || qr(), i[s.groupId] = i[s.groupId] || [], i[s.groupId].push(s);
1820
1820
  }
1821
1821
  return i;
1822
- }), { openLayer: a } = ao(), o = (i) => {
1822
+ }), { openLayer: a } = oo(), o = (i) => {
1823
1823
  i.config?.disabled || i.click && i.click({ openLayer: a });
1824
1824
  };
1825
1825
  return (i, r) => {
@@ -3516,7 +3516,7 @@ var Ih = ke(zc), Lh = /* @__PURE__ */ ye({
3516
3516
  t.hideMidWhenNarrow && a.value && typeof window < "u" && window.ResizeObserver && (j(), z = new ResizeObserver(() => {
3517
3517
  j();
3518
3518
  }), z.observe(a.value));
3519
- }), zo(() => {
3519
+ }), Do(() => {
3520
3520
  z && z.disconnect();
3521
3521
  }), (O, M) => (R(), D("div", {
3522
3522
  ref_key: "layout",
@@ -3622,7 +3622,7 @@ function ln(e, t) {
3622
3622
  return ((n = wt(e).originalRowHeights) === null || n === void 0 ? void 0 : n.get(t)) || 0;
3623
3623
  }
3624
3624
  var Yl = /* @__PURE__ */ new WeakMap();
3625
- function Mo(e, t) {
3625
+ function jo(e, t) {
3626
3626
  let n = Yl.get(e);
3627
3627
  if (n || (n = /* @__PURE__ */ new Map(), Yl.set(e, n)), n.has(t)) return n.get(t);
3628
3628
  for (let a = 0; a < e.colCount; a++) if (e.getHeaderField(a, 0) === t) return n.set(t, a), a;
@@ -4059,12 +4059,12 @@ var jp = class {
4059
4059
  if (!e.stateManager) return;
4060
4060
  const n = t?.headerCheckedState || e.stateManager.headerCheckedState, a = t?.checkedState || {};
4061
4061
  Object.keys(n).forEach(((o) => {
4062
- const i = n[o], r = Mo(e, o);
4062
+ const i = n[o], r = jo(e, o);
4063
4063
  r !== -1 && e.isHeader(r, 0) && e.scenegraph.updateHeaderCheckboxCellState(r, 0, i);
4064
4064
  })), t?.checkedState ? Object.keys(a).forEach(((o) => {
4065
4065
  const i = a[o], r = Number(o);
4066
4066
  Object.keys(i).forEach(((l) => {
4067
- const c = i[l], s = Mo(e, l);
4067
+ const c = i[l], s = jo(e, l);
4068
4068
  if (s !== -1) {
4069
4069
  for (let d = e.columnHeaderLevelCount; d < e.rowCount; d++) if (e.getRecordIndexByCell(s, d) === r) {
4070
4070
  Bi(s, d, c, e);
@@ -4075,7 +4075,7 @@ var jp = class {
4075
4075
  })) : e.stateManager.checkedState.forEach(((o, i) => {
4076
4076
  const r = Number(i);
4077
4077
  Object.keys(o).forEach(((l) => {
4078
- const c = o[l], s = Mo(e, l);
4078
+ const c = o[l], s = jo(e, l);
4079
4079
  if (s !== -1) {
4080
4080
  for (let d = e.columnHeaderLevelCount; d < e.rowCount; d++) if (e.getRecordIndexByCell(s, d) === r) {
4081
4081
  Bi(s, d, c, e);
@@ -4883,7 +4883,7 @@ function zp(e, t, n, a) {
4883
4883
  let i = !1;
4884
4884
  const r = t.stateManager.headerCheckedState[a];
4885
4885
  r !== void 0 && (i = r);
4886
- const l = Mo(e, a);
4886
+ const l = jo(e, a);
4887
4887
  if (l !== -1 && e.stateManager && (e.stateManager.setCheckedState(l, o, a, i), e.getCellType(l, o) === "checkbox" && Bi(l, o, i, e), e.internalProps.enableCheckboxCascade)) {
4888
4888
  const c = e.stateManager.headerCheckedState[a], s = e.stateManager.updateHeaderCheckedState(a, l, 0);
4889
4889
  c !== s && e.isHeader(l, 0) && e.scenegraph.updateHeaderCheckboxCellState(l, 0, s);
@@ -4897,7 +4897,7 @@ function Jl(e, t, n) {
4897
4897
  let l = e.stateManager.checkedState.get(r);
4898
4898
  l || (l = {}, e.stateManager.checkedState.set(r, l)), l[t] = n;
4899
4899
  }));
4900
- const a = Mo(e, t);
4900
+ const a = jo(e, t);
4901
4901
  if (a >= 0) {
4902
4902
  e.scenegraph.updateHeaderCheckboxCellState(a, 0, n);
4903
4903
  for (let o = e.columnHeaderLevelCount; o < e.rowCount; o++) Bi(a, o, n, e);
@@ -5310,7 +5310,7 @@ var Dp = class {
5310
5310
  error: J(d)(y.value),
5311
5311
  class: We(`${u.value}-form-item`)
5312
5312
  }, {
5313
- default: q(() => [Z(_, ja(Io(g.value)), null, 16)]),
5313
+ default: q(() => [Z(_, ja(Lo(g.value)), null, 16)]),
5314
5314
  _: 1
5315
5315
  }, 8, [
5316
5316
  "label",
@@ -5387,7 +5387,7 @@ var Dp = class {
5387
5387
  emits: ["update:modelValue", "change"],
5388
5388
  setup(e, { emit: t }) {
5389
5389
  const n = e, a = t, { useData: o } = mt(), { loadDataByComp: i, getDataByComp: r, getLabel: l } = o(), { contextType: c } = kh(), { formData: s, formChange: d, gutter: f, runFlow: u, runFlowByNotRunActions: h } = Ia(), p = H(() => f?.value || 16), { registerMethod: g, runFlow: b, runFlowByNotRunActions: x } = Ph(), { getTableData: w, row: m, rowChange: y, pRowData: C } = Ni(), v = n.row || m;
5390
- Vo({
5390
+ ao({
5391
5391
  getTableData: w,
5392
5392
  row: v,
5393
5393
  rowChange: y,
@@ -5533,7 +5533,7 @@ var Dp = class {
5533
5533
  Ze();
5534
5534
  }, { immediate: !0 }), Et(() => {
5535
5535
  n.id && h && h(n.id), n.id && x && x(n.id);
5536
- }), Lo(() => {
5536
+ }), zo(() => {
5537
5537
  Pe();
5538
5538
  }), (te, Oe) => {
5539
5539
  const ee = V("JComp"), ie = V("el-row");
@@ -5751,7 +5751,7 @@ var Yp = /* @__PURE__ */ ye({
5751
5751
  },
5752
5752
  setup(e) {
5753
5753
  const t = e;
5754
- return Vo({
5754
+ return ao({
5755
5755
  ...Ni(),
5756
5756
  row: t.rowData
5757
5757
  }), (n, a) => (R(), N(Nc, {
@@ -5909,7 +5909,7 @@ var Yp = /* @__PURE__ */ ye({
5909
5909
  "change"
5910
5910
  ],
5911
5911
  setup(e, { expose: t, emit: n }) {
5912
- const a = mc(), o = e, i = n, { formData: r } = Ia(), { useData: l, t: c } = mt(), { getLabel: s, getCode: d, loadDataState: f, getObjectList: u } = l(), { openLayer: h } = ao(), p = H(() => o.heightMode === "auto" ? { height: "auto" } : {}), g = ra({}), b = () => {
5912
+ const a = mc(), o = e, i = n, { formData: r } = Ia(), { useData: l, t: c } = mt(), { getLabel: s, getCode: d, loadDataState: f, getObjectList: u } = l(), { openLayer: h } = oo(), p = H(() => o.heightMode === "auto" ? { height: "auto" } : {}), g = ra({}), b = () => {
5913
5913
  Object.keys(g).forEach((I) => {
5914
5914
  delete g[I];
5915
5915
  });
@@ -6142,16 +6142,16 @@ var Yp = /* @__PURE__ */ ye({
6142
6142
  formData: r || {},
6143
6143
  getTableData: lt,
6144
6144
  row: he
6145
- }) || {}, Ae = Number(be.min) || 0, He = Number(be.max) || 100, Ee = Number(Y) || 0, Ke = He - Ae, Ye = Ke === 0 ? 0 : Math.max(0, Math.min(100, (Ee - Ae) / Ke * 100)), Te = 4, Fe = 8, Ve = 8, ct = (oe.height - Te) / 2, yt = String(Ee), we = Sn(yt) || 0, ot = Fe, Ne = ct, Pt = oe.width - Fe * 2 - we - Ve, gn = Pt * Ye / 100, Tn = [], vo = (Ut, qt, kt) => {
6145
+ }) || {}, Ae = Number(be.min) || 0, He = Number(be.max) || 100, Ee = Number(Y) || 0, Ke = He - Ae, Ye = Ke === 0 ? 0 : Math.max(0, Math.min(100, (Ee - Ae) / Ke * 100)), Te = 4, Fe = 8, Ve = 8, ct = (oe.height - Te) / 2, yt = String(Ee), we = Sn(yt) || 0, ot = Fe, Ne = ct, Pt = oe.width - Fe * 2 - we - Ve, gn = Pt * Ye / 100, Tn = [], yo = (Ut, qt, kt) => {
6146
6146
  const nt = Math.min(kt, qt / 2, Ut / 2);
6147
6147
  return `M ${nt} 0 L ${Ut - nt} 0 Q ${Ut} 0 ${Ut} ${nt} L ${Ut} ${qt - nt} Q ${Ut} ${qt} ${Ut - nt} ${qt} L ${nt} ${qt} Q 0 ${qt} 0 ${qt - nt} L 0 ${nt} Q 0 0 ${nt} 0 Z`;
6148
6148
  }, An = (Ut, qt, kt) => {
6149
6149
  const nt = Math.min(kt, qt / 2, Ut / 2);
6150
- return Ut <= nt * 2 ? vo(Ut, qt, kt) : `M ${nt} 0 L ${Ut} 0 L ${Ut} ${qt} L ${nt} ${qt} Q 0 ${qt} 0 ${qt - nt} L 0 ${nt} Q 0 0 ${nt} 0 Z`;
6151
- }, yo = vo(Pt, Te, Te / 2);
6150
+ return Ut <= nt * 2 ? yo(Ut, qt, kt) : `M ${nt} 0 L ${Ut} 0 L ${Ut} ${qt} L ${nt} ${qt} Q 0 ${qt} 0 ${qt - nt} L 0 ${nt} Q 0 0 ${nt} 0 Z`;
6151
+ }, mo = yo(Pt, Te, Te / 2);
6152
6152
  if (Tn.push({
6153
6153
  type: "icon",
6154
- svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${Pt}" height="${Te}" viewBox="0 0 ${Pt} ${Te}"><path d="${yo}" fill="#e5e6eb"/></svg>`,
6154
+ svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${Pt}" height="${Te}" viewBox="0 0 ${Pt} ${Te}"><path d="${mo}" fill="#e5e6eb"/></svg>`,
6155
6155
  x: ot,
6156
6156
  y: Ne,
6157
6157
  width: Pt,
@@ -6275,7 +6275,7 @@ var Yp = /* @__PURE__ */ ye({
6275
6275
  width: Ja,
6276
6276
  height: Te
6277
6277
  }), { tagWidth: Ja };
6278
- }, vo = () => {
6278
+ }, yo = () => {
6279
6279
  const kt = [];
6280
6280
  let nt = [], Mn = 0;
6281
6281
  for (let jn = 0; jn < Ke.length; jn++) {
@@ -6298,11 +6298,11 @@ var Yp = /* @__PURE__ */ ye({
6298
6298
  needsWrap: kt.length > 1
6299
6299
  };
6300
6300
  };
6301
- let { lines: An, needsWrap: yo } = vo();
6302
- we !== 0 && yo && (we = 0, ot = Math.max(0, oe.width - we * 2), Ne = Math.max(0, ot - Ve * 2), { lines: An, needsWrap: yo } = vo());
6301
+ let { lines: An, needsWrap: mo } = yo();
6302
+ we !== 0 && mo && (we = 0, ot = Math.max(0, oe.width - we * 2), Ne = Math.max(0, ot - Ve * 2), { lines: An, needsWrap: mo } = yo());
6303
6303
  const ri = An.length * Te + (An.length > 1 ? (An.length - 1) * yt : 0);
6304
6304
  let li = Math.max(0, (oe.height - ri) / 2);
6305
- const Ut = yo;
6305
+ const Ut = mo;
6306
6306
  for (let kt = 0; kt < An.length; kt++) {
6307
6307
  const nt = An[kt];
6308
6308
  let Mn = Ut ? we : He === "center" ? we + Math.max(0, (ot - nt.lineWidth) / 2) : He === "right" ? we + Math.max(0, ot - nt.lineWidth) : we;
@@ -6874,7 +6874,7 @@ var Yp = /* @__PURE__ */ ye({
6874
6874
  }, lt = () => y ? y.records : [];
6875
6875
  Et(() => {
6876
6876
  de();
6877
- }), Lo(() => {
6877
+ }), zo(() => {
6878
6878
  Se(), Q(), document.removeEventListener("wheel", qe);
6879
6879
  });
6880
6880
  const Wt = H({
@@ -7076,7 +7076,7 @@ var Yp = /* @__PURE__ */ ye({
7076
7076
  Qt();
7077
7077
  }), it(() => o.actions, () => {
7078
7078
  Qt();
7079
- }, { deep: !0 }), Vo({
7079
+ }, { deep: !0 }), ao({
7080
7080
  getTableData: lt,
7081
7081
  rowChange: dn
7082
7082
  }), t({
@@ -7626,7 +7626,7 @@ var Yp = /* @__PURE__ */ ye({
7626
7626
  showLoading: m,
7627
7627
  hideLoading: y
7628
7628
  }), (A, j) => {
7629
- const z = V("el-step"), O = V("el-steps"), M = V("j-button"), E = V("el-space"), F = V("el-divider"), X = V("el-dialog"), ue = Do("loading");
7629
+ const z = V("el-step"), O = V("el-steps"), M = V("j-button"), E = V("el-space"), F = V("el-divider"), X = V("el-dialog"), ue = $o("loading");
7630
7630
  return R(), N(X, {
7631
7631
  modelValue: l.value,
7632
7632
  "onUpdate:modelValue": j[0] || (j[0] = (_e) => l.value = _e),
@@ -7895,7 +7895,7 @@ var Yp = /* @__PURE__ */ ye({
7895
7895
  showLoading: d,
7896
7896
  hideLoading: f
7897
7897
  }), (A, j) => {
7898
- const z = V("el-input"), O = V("j-button"), M = V("el-space"), E = V("el-step"), F = V("el-steps"), X = V("el-drawer"), ue = Do("loading");
7898
+ const z = V("el-input"), O = V("j-button"), M = V("el-space"), E = V("el-step"), F = V("el-steps"), X = V("el-drawer"), ue = $o("loading");
7899
7899
  return R(), N(X, {
7900
7900
  modelValue: s.value,
7901
7901
  "onUpdate:modelValue": j[0] || (j[0] = (_e) => s.value = _e),
@@ -8894,7 +8894,7 @@ var Yp = /* @__PURE__ */ ye({
8894
8894
  return o && o(`当前限制选择${n.limit}个文件`), !1;
8895
8895
  };
8896
8896
  return (ee, ie) => {
8897
- const Re = V("j-icon"), Ge = V("el-popover"), rt = V("j-button"), Qe = V("el-upload"), nn = V("el-text"), an = V("j-dialog-full"), on = Do("loading");
8897
+ const Re = V("j-icon"), Ge = V("el-popover"), rt = V("j-button"), Qe = V("el-upload"), nn = V("el-text"), an = V("j-dialog-full"), on = $o("loading");
8898
8898
  return R(), D("div", Gg, [
8899
8899
  Z(Qe, {
8900
8900
  action: "",
@@ -9032,7 +9032,7 @@ var Yp = /* @__PURE__ */ ye({
9032
9032
  },
9033
9033
  emits: ["click", "ready"],
9034
9034
  setup(e, { expose: t, emit: n }) {
9035
- const a = e, o = n, i = L(), r = $o();
9035
+ const a = e, o = n, i = L(), r = Fo();
9036
9036
  let l = null, c = null;
9037
9037
  const s = async () => {
9038
9038
  i.value && (r.value = Id.init(i.value, a.theme, a.initOptions), d(a.option), r.value && r.value.on("click", (p) => {
@@ -9049,7 +9049,7 @@ var Yp = /* @__PURE__ */ ye({
9049
9049
  d(p);
9050
9050
  }, { deep: !0 }), Et(() => {
9051
9051
  s();
9052
- }), zo(() => {
9052
+ }), Do(() => {
9053
9053
  c && clearTimeout(c), l && i.value && (l.unobserve(i.value), l.disconnect(), l = null), r.value && (r.value.dispose(), r.value = void 0);
9054
9054
  }), t({
9055
9055
  getInstance: () => r.value,
@@ -10072,9 +10072,9 @@ var Yp = /* @__PURE__ */ ye({
10072
10072
  n.callback?.(i.value);
10073
10073
  }));
10074
10074
  };
10075
- return zo(() => {
10075
+ return Do(() => {
10076
10076
  i.value = null;
10077
- }), Lo(() => {
10077
+ }), zo(() => {
10078
10078
  i.value = null;
10079
10079
  }), t({
10080
10080
  myProps: a,
@@ -10936,7 +10936,7 @@ var Yp = /* @__PURE__ */ ye({
10936
10936
  await Ht(), await d(), typeof window < "u" && window.ResizeObserver && i.value && (p = new ResizeObserver(() => {
10937
10937
  l && l.dispatch({ scrollIntoView: !0 });
10938
10938
  }), p.observe(i.value));
10939
- }), zo(() => {
10939
+ }), Do(() => {
10940
10940
  p && i.value && (p.unobserve(i.value), p.disconnect(), p = null), l && (l.destroy(), l = null);
10941
10941
  }), t({ sqlFormatter: h }), (g, b) => (R(), D("div", {
10942
10942
  ref_key: "codeWraperRef",
@@ -11062,7 +11062,7 @@ var Yp = /* @__PURE__ */ ye({
11062
11062
  }), em = Qy, tm = /* @__PURE__ */ ye({
11063
11063
  name: "JSliderCaptcha",
11064
11064
  __name: "slider-captcha",
11065
- props: /* @__PURE__ */ Bo({
11065
+ props: /* @__PURE__ */ Ho({
11066
11066
  class: {},
11067
11067
  actionStyle: { default: () => ({}) },
11068
11068
  barStyle: { default: () => ({}) },
@@ -11077,14 +11077,14 @@ var Yp = /* @__PURE__ */ ye({
11077
11077
  },
11078
11078
  modelModifiers: {}
11079
11079
  }),
11080
- emits: /* @__PURE__ */ Bo([
11080
+ emits: /* @__PURE__ */ Ho([
11081
11081
  "end",
11082
11082
  "move",
11083
11083
  "start",
11084
11084
  "success"
11085
11085
  ], ["update:modelValue"]),
11086
11086
  setup(e, { emit: t }) {
11087
- const n = e, a = t, o = Ho(e, "modelValue"), i = ra({
11087
+ const n = e, a = t, o = Oo(e, "modelValue"), i = ra({
11088
11088
  endTime: 0,
11089
11089
  isMoving: !1,
11090
11090
  isPassing: !1,
@@ -11206,7 +11206,7 @@ var Yp = /* @__PURE__ */ ye({
11206
11206
  "max-height": "calc(100vh - 80px)",
11207
11207
  "border-radius": "8px"
11208
11208
  }
11209
- }, J(u)), [B("div", ja(Io(J(h))), [(R(!0), D(Me, null, Ie(J(f), (b) => (R(), N(Wi, {
11209
+ }, J(u)), [B("div", ja(Lo(J(h))), [(R(!0), D(Me, null, Ie(J(f), (b) => (R(), N(Wi, {
11210
11210
  key: b.data.value,
11211
11211
  "parent-actives": J(r)?.pid?.split(".") || [],
11212
11212
  item: b.data,
@@ -11351,7 +11351,7 @@ var Yp = /* @__PURE__ */ ye({
11351
11351
  return (d, f) => (R(), D("div", Ue({ class: ["j-menu", {
11352
11352
  collapsed: e.collapsed,
11353
11353
  "j-menu-dark": J(i) === "dark"
11354
- }] }, J(c)), [B("div", ja(Io(J(s))), [(R(!0), D(Me, null, Ie(J(l), (u) => (R(), N(Wi, {
11354
+ }] }, J(c)), [B("div", ja(Lo(J(s))), [(R(!0), D(Me, null, Ie(J(l), (u) => (R(), N(Wi, {
11355
11355
  key: u.data.value,
11356
11356
  "parent-actives": J(o)?.pid?.split(".") || [],
11357
11357
  item: u.data,
@@ -11414,7 +11414,7 @@ var Yp = /* @__PURE__ */ ye({
11414
11414
  }), u = (h) => {
11415
11415
  a("click", h);
11416
11416
  };
11417
- return Th({ getHMoreMenus: d }), zo(() => {
11417
+ return Th({ getHMoreMenus: d }), Do(() => {
11418
11418
  c && r.value && (c.unobserve(r.value), c.disconnect(), c = null);
11419
11419
  }), (h, p) => (R(), D("div", {
11420
11420
  ref_key: "menuRef",
@@ -11449,7 +11449,7 @@ var Yp = /* @__PURE__ */ ye({
11449
11449
  }), n.menuList)), c = H(() => o.value?.pid?.split(".") || []), s = (h) => {
11450
11450
  a("click", h);
11451
11451
  }, { list: d, containerProps: f, wrapperProps: u } = Vr(l, { itemHeight: 96 });
11452
- return (h, p) => (R(), D("div", Ue({ class: ["j-menu-vertical", { "j-menu-dark": J(i) === "dark" }] }, J(f)), [B("div", ja(Io(J(u))), [(R(!0), D(Me, null, Ie(J(d), (g) => (R(), N(Wi, {
11452
+ return (h, p) => (R(), D("div", Ue({ class: ["j-menu-vertical", { "j-menu-dark": J(i) === "dark" }] }, J(f)), [B("div", ja(Lo(J(u))), [(R(!0), D(Me, null, Ie(J(d), (g) => (R(), N(Wi, {
11453
11453
  key: g.data.value,
11454
11454
  "parent-actives": c.value,
11455
11455
  item: g.data,
@@ -11583,7 +11583,7 @@ var Yp = /* @__PURE__ */ ye({
11583
11583
  }, Cm = /* @__PURE__ */ ye({
11584
11584
  name: "JKeywordPanel",
11585
11585
  __name: "keyword-panel",
11586
- props: /* @__PURE__ */ Bo({ columns: {
11586
+ props: /* @__PURE__ */ Ho({ columns: {
11587
11587
  type: Array,
11588
11588
  default: () => []
11589
11589
  } }, {
@@ -11594,7 +11594,7 @@ var Yp = /* @__PURE__ */ ye({
11594
11594
  }),
11595
11595
  emits: ["update:checkAll", "update:checkFields"],
11596
11596
  setup(e, { expose: t }) {
11597
- const { t: n } = mt(), a = e, o = Ho(e, "checkAll"), i = Ho(e, "checkFields"), r = L(!1), l = L(""), c = H(() => a.columns.filter((u) => u.config?.filter?.isSearchKeyword ? l.value ? u.config?.label?.indexOf(l.value) != -1 : !0 : !1).map((u) => ({
11597
+ const { t: n } = mt(), a = e, o = Oo(e, "checkAll"), i = Oo(e, "checkFields"), r = L(!1), l = L(""), c = H(() => a.columns.filter((u) => u.config?.filter?.isSearchKeyword ? l.value ? u.config?.label?.indexOf(l.value) != -1 : !0 : !1).map((u) => ({
11598
11598
  label: u.config?.label,
11599
11599
  value: u.id
11600
11600
  }))), s = () => {
@@ -11651,7 +11651,7 @@ var Yp = /* @__PURE__ */ ye({
11651
11651
  }, Tm = { class: "relation" }, Am = { style: { width: "72px" } }, Mm = { class: "btn-wrapper" }, jm = { class: "field-wrapper" }, Pm = { class: "buttons" }, Bm = /* @__PURE__ */ ye({
11652
11652
  name: "JFilterPanel",
11653
11653
  __name: "filter-panel",
11654
- props: /* @__PURE__ */ Bo({
11654
+ props: /* @__PURE__ */ Ho({
11655
11655
  columns: {
11656
11656
  type: Array,
11657
11657
  default: () => []
@@ -11670,9 +11670,9 @@ var Yp = /* @__PURE__ */ ye({
11670
11670
  isPin: { default: !1 },
11671
11671
  isPinModifiers: {}
11672
11672
  }),
11673
- emits: /* @__PURE__ */ Bo(["filter", "close"], ["update:relation", "update:isPin"]),
11673
+ emits: /* @__PURE__ */ Ho(["filter", "close"], ["update:relation", "update:isPin"]),
11674
11674
  setup(e, { expose: t, emit: n }) {
11675
- const { t: a } = mt(), o = e, i = Ho(e, "relation"), r = Ho(e, "isPin"), l = L([]), c = L([]), s = () => {
11675
+ const { t: a } = mt(), o = e, i = Oo(e, "relation"), r = Oo(e, "isPin"), l = L([]), c = L([]), s = () => {
11676
11676
  r.value = !r.value;
11677
11677
  }, d = [
11678
11678
  {
@@ -11969,7 +11969,7 @@ var Yp = /* @__PURE__ */ ye({
11969
11969
  c.value.forEach((C) => {
11970
11970
  C.value = void 0;
11971
11971
  }), p("filter");
11972
- }, w = () => c.value, m = $o();
11972
+ }, w = () => c.value, m = Fo();
11973
11973
  return t({
11974
11974
  getSearchFields: w,
11975
11975
  getFixedSearchData: () => m.value?.getFormData() || {}
@@ -12405,7 +12405,7 @@ var Yp = /* @__PURE__ */ ye({
12405
12405
  },
12406
12406
  emits: ["select", "ready"],
12407
12407
  setup(e, { expose: t, emit: n }) {
12408
- const { t: a } = mt(), { openLayer: o } = ao(), i = e, r = n;
12408
+ const { t: a } = mt(), { openLayer: o } = oo(), i = e, r = n;
12409
12409
  i.isMultiple && !i.rowKey && console.warn("rowKey is required when isMultiple is true");
12410
12410
  const l = L();
12411
12411
  let c = [];
@@ -12496,7 +12496,7 @@ var Yp = /* @__PURE__ */ ye({
12496
12496
  Ht(It), un = new ResizeObserver(() => {
12497
12497
  It();
12498
12498
  }), ht.value && un.observe(ht.value);
12499
- }), Lo(() => {
12499
+ }), zo(() => {
12500
12500
  un?.disconnect();
12501
12501
  }), it(() => on.value, () => {
12502
12502
  Ht(It);
@@ -12656,7 +12656,7 @@ var Yp = /* @__PURE__ */ ye({
12656
12656
  },
12657
12657
  getTableRef: at
12658
12658
  }), (de, Se) => {
12659
- const vt = V("j-buttons"), zt = V("j-icon"), Ce = V("el-popover"), lt = V("el-tooltip"), Wt = V("el-input"), Mt = V("j-button"), Ft = V("el-pagination"), jt = V("j-table"), Kt = Do("loading");
12659
+ const vt = V("j-buttons"), zt = V("j-icon"), Ce = V("el-popover"), lt = V("el-tooltip"), Wt = V("el-input"), Mt = V("j-button"), Ft = V("el-pagination"), jt = V("j-table"), Kt = $o("loading");
12660
12660
  return R(), D("div", { class: We(["j-table-panel-wrapper", {
12661
12661
  fullscreen: Ge.value,
12662
12662
  "no-padding": e.noPadding || Ge.value
@@ -13150,7 +13150,7 @@ var Yp = /* @__PURE__ */ ye({
13150
13150
  buttons: M,
13151
13151
  node: O
13152
13152
  }) : M;
13153
- }, { openLayer: k } = ao(), T = (O, M) => {
13153
+ }, { openLayer: k } = oo(), T = (O, M) => {
13154
13154
  O.config?.disabled || O.click && O.click({
13155
13155
  data: M,
13156
13156
  openLayer: k
@@ -13169,7 +13169,7 @@ var Yp = /* @__PURE__ */ ye({
13169
13169
  setCheck: m,
13170
13170
  getCheck: y
13171
13171
  }), (O, M) => {
13172
- const E = V("j-icon"), F = V("j-button"), X = V("el-dropdown-item"), ue = V("el-dropdown-menu"), _e = V("el-dropdown"), U = V("el-tree"), K = V("el-empty"), Q = Do("loading");
13172
+ const E = V("j-icon"), F = V("j-button"), X = V("el-dropdown-item"), ue = V("el-dropdown-menu"), _e = V("el-dropdown"), U = V("el-tree"), K = V("el-empty"), Q = $o("loading");
13173
13173
  return la((R(), D("div", {
13174
13174
  class: We([
13175
13175
  "j-block",
@@ -13527,7 +13527,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13527
13527
  const re = ++E, le = b.value;
13528
13528
  b.value = !1, le && await Ht();
13529
13529
  const me = !!pe;
13530
- if (S.length = 0, T = /* @__PURE__ */ Object.create(null), A = /* @__PURE__ */ Object.create(null), j = [], je = pe, Ao(v), Ao(k), me && qe(pe, ""), Ze(G, S, me), O = _e(), M = !1, z = O, ue(() => {
13530
+ if (S.length = 0, T = /* @__PURE__ */ Object.create(null), A = /* @__PURE__ */ Object.create(null), j = [], je = pe, Mo(v), Mo(k), me && qe(pe, ""), Ze(G, S, me), O = _e(), M = !1, z = O, ue(() => {
13531
13531
  re === E && (z = Yt(O), M = !0);
13532
13532
  }), b.value = !0, await Ht(), await X(), a.config?.codeInit) {
13533
13533
  const Be = a.config.codeInit;
@@ -13643,7 +13643,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13643
13643
  const G = await nn();
13644
13644
  return Object.keys(G).length > 0 ? (_.value = G, g(`${h(k[Object.keys(G)[0]]?.config?.label)}:${h(G[Object.keys(G)[0]].msg)}`), !1) : !0;
13645
13645
  }, on = () => {
13646
- _.value = {}, U(), Ao(v), Object.keys(z || {}).forEach((G) => {
13646
+ _.value = {}, U(), Mo(v), Object.keys(z || {}).forEach((G) => {
13647
13647
  v[G] = z[G];
13648
13648
  });
13649
13649
  }, ht = (G) => {
@@ -13776,7 +13776,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13776
13776
  const pe = Nt[G];
13777
13777
  pe && (delete Nt[G], await Lt(pe.data, pe.inputParams));
13778
13778
  }
13779
- }), Lc({ contextType: "form" }), t({
13779
+ }), Lc({ contextType: "form" }), ao({}), t({
13780
13780
  init: te,
13781
13781
  reset: on,
13782
13782
  validate: an,
@@ -13850,12 +13850,12 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13850
13850
  i[y.id] = C, C.config = [], ji(C.config, y.config || {}, ["defaultValue"]), y?.config?.defaultValue !== void 0 && (r[y.id] = y.config.defaultValue), m.push(C), v && v.length > 0 && (C.children = [], l(v, C.children));
13851
13851
  });
13852
13852
  }, c = (w) => {
13853
- a.value = !1, o.splice(0, o.length), Ao(i), Ao(r), l(w, o), Ht(() => {
13853
+ a.value = !1, o.splice(0, o.length), Mo(i), Mo(r), l(w, o), Ht(() => {
13854
13854
  a.value = !0;
13855
13855
  });
13856
13856
  };
13857
13857
  n.schema && c(n.schema);
13858
- const { openLayer: s } = ao(), d = {}, f = async (w, m) => {
13858
+ const { openLayer: s } = oo(), d = {}, f = async (w, m) => {
13859
13859
  const { run: y } = Wc({
13860
13860
  data: w,
13861
13861
  actions: n.actions,
@@ -13971,7 +13971,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13971
13971
  size: { default: "default" }
13972
13972
  },
13973
13973
  setup(e) {
13974
- const { openLayer: t } = ao(), n = (a) => {
13974
+ const { openLayer: t } = oo(), n = (a) => {
13975
13975
  a.config?.disabled || a.click && a.click({ openLayer: t });
13976
13976
  };
13977
13977
  return (a, o) => {
@@ -14149,7 +14149,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14149
14149
  _();
14150
14150
  });
14151
14151
  const { row: C } = Ni();
14152
- return Vo({
14152
+ return ao({
14153
14153
  getTableData: () => g.value,
14154
14154
  rowChange: y,
14155
14155
  pRowData: C
@@ -14815,7 +14815,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14815
14815
  },
14816
14816
  emits: ["update:value", "change"],
14817
14817
  setup(e, { emit: t }) {
14818
- const n = e, a = t, o = L(), i = L(), r = $o(), l = H(() => ({
14818
+ const n = e, a = t, o = L(), i = L(), r = Fo(), l = H(() => ({
14819
14819
  height: typeof n.height == "number" ? `${n.height}px` : n.height,
14820
14820
  overflowY: "hidden"
14821
14821
  }));
@@ -14865,7 +14865,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14865
14865
  }), it(() => n.readonly, (f) => {
14866
14866
  const u = r.value;
14867
14867
  u && (f ? u.disable() : u.enable());
14868
- }), Lo(() => {
14868
+ }), zo(() => {
14869
14869
  const f = r.value;
14870
14870
  f?.destroy();
14871
14871
  }), (f, u) => (R(), D("div", h0, [B("div", {
@@ -15110,7 +15110,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
15110
15110
  "size",
15111
15111
  "clearable"
15112
15112
  ]),
15113
- B("div", ja(Io(y.$attrs)), null, 16),
15113
+ B("div", ja(Lo(y.$attrs)), null, 16),
15114
15114
  Z(k, {
15115
15115
  ref_key: "layerRef",
15116
15116
  ref: i,
@@ -15137,11 +15137,11 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
15137
15137
  function Zl(e) {
15138
15138
  !e || typeof e.stopPropagation != "function" || e.stopPropagation();
15139
15139
  }
15140
- function oo(e) {
15140
+ function io(e) {
15141
15141
  return e.originalEvent || e.srcEvent;
15142
15142
  }
15143
15143
  function ur(e) {
15144
- Zl(e), Zl(oo(e));
15144
+ Zl(e), Zl(io(e));
15145
15145
  }
15146
15146
  function to(e) {
15147
15147
  return e.pointers && e.pointers.length && (e = e.pointers[0]), e.touches && e.touches.length && (e = e.touches[0]), e ? {
@@ -15199,7 +15199,7 @@ function Yc() {
15199
15199
  return /mac/i.test(navigator.platform);
15200
15200
  }
15201
15201
  function Jc(e, t) {
15202
- return (oo(e) || e).button === t;
15202
+ return (io(e) || e).button === t;
15203
15203
  }
15204
15204
  function ca(e) {
15205
15205
  return Jc(e, 0);
@@ -15208,11 +15208,11 @@ function R0(e) {
15208
15208
  return Jc(e, 1);
15209
15209
  }
15210
15210
  function es(e) {
15211
- var t = oo(e) || e;
15211
+ var t = io(e) || e;
15212
15212
  return ca(e) ? Yc() ? t.metaKey : t.ctrlKey : !1;
15213
15213
  }
15214
15214
  function Er(e) {
15215
- var t = oo(e) || e;
15215
+ var t = io(e) || e;
15216
15216
  return ca(e) && t.shiftKey;
15217
15217
  }
15218
15218
  function Wo(e) {
@@ -15426,7 +15426,7 @@ var tl = {
15426
15426
  __init__: ["interactionEvents"],
15427
15427
  interactionEvents: ["type", Kc]
15428
15428
  };
15429
- function io(e, t) {
15429
+ function ro(e, t) {
15430
15430
  this._eventBus = e, this._canvas = t, this._selectedElements = [];
15431
15431
  var n = this;
15432
15432
  e.on(["shape.remove", "connection.remove"], function(a) {
@@ -15436,8 +15436,8 @@ function io(e, t) {
15436
15436
  n.select(null);
15437
15437
  });
15438
15438
  }
15439
- io.$inject = ["eventBus", "canvas"];
15440
- io.prototype.deselect = function(e) {
15439
+ ro.$inject = ["eventBus", "canvas"];
15440
+ ro.prototype.deselect = function(e) {
15441
15441
  var t = this._selectedElements, n = t.indexOf(e);
15442
15442
  if (n !== -1) {
15443
15443
  var a = t.slice();
@@ -15447,13 +15447,13 @@ io.prototype.deselect = function(e) {
15447
15447
  });
15448
15448
  }
15449
15449
  };
15450
- io.prototype.get = function() {
15450
+ ro.prototype.get = function() {
15451
15451
  return this._selectedElements;
15452
15452
  };
15453
- io.prototype.isSelected = function(e) {
15453
+ ro.prototype.isSelected = function(e) {
15454
15454
  return this._selectedElements.indexOf(e) !== -1;
15455
15455
  };
15456
- io.prototype.select = function(e, t) {
15456
+ ro.prototype.select = function(e, t) {
15457
15457
  var n = this._selectedElements, a = n.slice();
15458
15458
  ft(e) || (e = e ? [e] : []);
15459
15459
  var o = this._canvas, i = o.getRootElement();
@@ -15529,10 +15529,10 @@ Xc.$inject = [
15529
15529
  function j0(e) {
15530
15530
  return !e.hidden;
15531
15531
  }
15532
- var ro = {
15532
+ var lo = {
15533
15533
  __init__: ["selectionVisuals", "selectionBehavior"],
15534
15534
  __depends__: [tl],
15535
- selection: ["type", io],
15535
+ selection: ["type", ro],
15536
15536
  selectionVisuals: ["type", qc],
15537
15537
  selectionBehavior: ["type", Xc]
15538
15538
  }, P0 = /^djs-cursor-.*$/;
@@ -15661,7 +15661,7 @@ function nu(e, t, n, a) {
15661
15661
  function w(m, y, C, v) {
15662
15662
  i && b(!1), typeof y == "string" && (v = C, C = y, y = null), v = De({}, o, v || {});
15663
15663
  var _ = v.data || {}, S, k, T, A, j;
15664
- v.trapClick ? A = u : A = d, m ? (S = oo(m) || m, k = to(m), ur(m), S.type === "dragstart" && Sa(S)) : (S = null, k = {
15664
+ v.trapClick ? A = u : A = d, m ? (S = io(m) || m, k = to(m), ur(m), S.type === "dragstart" && Sa(S)) : (S = null, k = {
15665
15665
  x: 0,
15666
15666
  y: 0
15667
15667
  }), T = r(k), y || (y = T), j = H0(S), i = De({
@@ -15687,7 +15687,7 @@ nu.$inject = [
15687
15687
  "elementRegistry"
15688
15688
  ];
15689
15689
  var La = {
15690
- __depends__: [k0, ro],
15690
+ __depends__: [k0, lo],
15691
15691
  dragging: ["type", nu]
15692
15692
  };
15693
15693
  function Ar(e) {
@@ -15793,7 +15793,7 @@ ol.prototype.allowed = function(e, t) {
15793
15793
  var n = !0, a = this._commandStack;
15794
15794
  return a && (n = a.canExecute(e, t)), n === void 0 ? !0 : n;
15795
15795
  };
15796
- var lo = {
15796
+ var so = {
15797
15797
  __init__: ["rules"],
15798
15798
  rules: ["type", ol]
15799
15799
  };
@@ -15835,7 +15835,7 @@ function U0(e, t) {
15835
15835
  }
15836
15836
  function Y0(e, t, n) {
15837
15837
  _f(t) && (t = !0), bn(t) && (n = t, t = !0), n = n || {};
15838
- var a = mo(n.allShapes), o = mo(n.allConnections), i = mo(n.enclosedElements), r = mo(n.enclosedConnections), l = mo(n.topLevel, t && Yr(e, function(d) {
15838
+ var a = bo(n.allShapes), o = bo(n.allConnections), i = bo(n.enclosedElements), r = bo(n.enclosedConnections), l = bo(n.topLevel, t && Yr(e, function(d) {
15839
15839
  return d.id;
15840
15840
  }));
15841
15841
  function c(d) {
@@ -15882,7 +15882,7 @@ function J0(e) {
15882
15882
  function G0(e) {
15883
15883
  return !!(e && e.isFrame);
15884
15884
  }
15885
- function mo(e, t) {
15885
+ function bo(e, t) {
15886
15886
  return De({}, e || {}, t || {});
15887
15887
  }
15888
15888
  function tn(e) {
@@ -16005,7 +16005,7 @@ function iu(e, t, n, a, o) {
16005
16005
  return !h.hidden;
16006
16006
  }));
16007
16007
  ge(s, function(h) {
16008
- tn(h) && (h.waypoints = Fo(h.waypoints, function(p) {
16008
+ tn(h) && (h.waypoints = Vo(h.waypoints, function(p) {
16009
16009
  return {
16010
16010
  x: p.x - u.x - u.width / 2,
16011
16011
  y: p.y - u.y - u.height / 2
@@ -16041,11 +16041,11 @@ function fs(e) {
16041
16041
  return e && e.length === 1 && !tn(e[0]);
16042
16042
  }
16043
16043
  function X0(e, t, n, a, o) {
16044
- var i = To();
16044
+ var i = Ao();
16045
16045
  i.setTranslate(t, n);
16046
- var r = To();
16046
+ var r = Ao();
16047
16047
  r.setRotate(a || 0, 0, 0);
16048
- var l = To();
16048
+ var l = Ao();
16049
16049
  l.setScale(o || 1, o || 1), Kr(e, [
16050
16050
  i,
16051
16051
  r,
@@ -16053,11 +16053,11 @@ function X0(e, t, n, a, o) {
16053
16053
  ]);
16054
16054
  }
16055
16055
  function Ln(e, t, n) {
16056
- var a = To();
16056
+ var a = Ao();
16057
16057
  a.setTranslate(t, n), Kr(e, a);
16058
16058
  }
16059
16059
  function Z0(e, t) {
16060
- var n = To();
16060
+ var n = Ao();
16061
16061
  n.setRotate(t, 0, 0), Kr(e, n);
16062
16062
  }
16063
16063
  var Q0 = 750;
@@ -16092,8 +16092,8 @@ var lu = {
16092
16092
  __depends__: [
16093
16093
  La,
16094
16094
  al,
16095
- lo,
16096
- ro
16095
+ so,
16096
+ lo
16097
16097
  ],
16098
16098
  __init__: ["create", "createPreview"],
16099
16099
  create: ["type", iu],
@@ -16569,7 +16569,7 @@ function mw(e) {
16569
16569
  height: Math.round(e.height)
16570
16570
  };
16571
16571
  }
16572
- function jo(e) {
16572
+ function Po(e) {
16573
16573
  return {
16574
16574
  x: Math.round(e.x),
16575
16575
  y: Math.round(e.y)
@@ -16592,7 +16592,7 @@ function uu(e) {
16592
16592
  };
16593
16593
  }
16594
16594
  function bw(e) {
16595
- return jo({
16595
+ return Po({
16596
16596
  x: e.x + (e.width || 0) / 2,
16597
16597
  y: e.y + (e.height || 0) / 2
16598
16598
  });
@@ -16633,10 +16633,10 @@ function sa(e, t, n) {
16633
16633
  }
16634
16634
  function Pr(e, t, n) {
16635
16635
  var a = _w(e, t);
16636
- return a.length === 1 || a.length === 2 && Uo(a[0], a[1]) < 1 ? jo(a[0]) : a.length > 1 ? (a = Oo(a, function(o) {
16636
+ return a.length === 1 || a.length === 2 && Uo(a[0], a[1]) < 1 ? Po(a[0]) : a.length > 1 ? (a = Io(a, function(o) {
16637
16637
  var i = Math.floor(o.t2 * 100) || 1;
16638
16638
  return i = 100 - i, i = (i < 10 ? "0" : "") + i, o.segment2 + "#" + i;
16639
- }), jo(a[n ? 0 : a.length - 1])) : null;
16639
+ }), Po(a[n ? 0 : a.length - 1])) : null;
16640
16640
  }
16641
16641
  function _w(e, t) {
16642
16642
  return su(e, t);
@@ -16737,8 +16737,8 @@ fu.$inject = [
16737
16737
  ];
16738
16738
  var sl = {
16739
16739
  __depends__: [
16740
- ro,
16741
16740
  lo,
16741
+ so,
16742
16742
  La
16743
16743
  ],
16744
16744
  __init__: ["connectPreview"],
@@ -17229,7 +17229,7 @@ var fl = new wn({
17229
17229
  name: "incoming",
17230
17230
  collection: !0
17231
17231
  }, { name: "target" });
17232
- function so() {
17232
+ function co() {
17233
17233
  Object.defineProperty(this, "businessObject", { writable: !0 }), Object.defineProperty(this, "label", {
17234
17234
  get: function() {
17235
17235
  return this.labels[0];
@@ -17241,11 +17241,11 @@ function so() {
17241
17241
  }), fl.bind(this, "parent"), _u.bind(this, "labels"), xu.bind(this, "outgoing"), Cu.bind(this, "incoming");
17242
17242
  }
17243
17243
  function Yo() {
17244
- so.call(this), fl.bind(this, "children"), Ts.bind(this, "host"), Ts.bind(this, "attachers");
17244
+ co.call(this), fl.bind(this, "children"), Ts.bind(this, "host"), Ts.bind(this, "attachers");
17245
17245
  }
17246
- za(Yo, so);
17246
+ za(Yo, co);
17247
17247
  function Su() {
17248
- so.call(this), fl.bind(this, "children");
17248
+ co.call(this), fl.bind(this, "children");
17249
17249
  }
17250
17250
  za(Su, Yo);
17251
17251
  function ku() {
@@ -17253,9 +17253,9 @@ function ku() {
17253
17253
  }
17254
17254
  za(ku, Yo);
17255
17255
  function Ru() {
17256
- so.call(this), xu.bind(this, "source"), Cu.bind(this, "target");
17256
+ co.call(this), xu.bind(this, "source"), Cu.bind(this, "target");
17257
17257
  }
17258
- za(Ru, so);
17258
+ za(Ru, co);
17259
17259
  var Fw = {
17260
17260
  connection: Ru,
17261
17261
  shape: Yo,
@@ -17268,7 +17268,7 @@ function Vw(e, t) {
17268
17268
  return De(new n(), t);
17269
17269
  }
17270
17270
  function Nw(e) {
17271
- return e instanceof so;
17271
+ return e instanceof co;
17272
17272
  }
17273
17273
  function fa() {
17274
17274
  this._uid = 12;
@@ -17408,7 +17408,7 @@ hl.prototype.preExecute = function(e) {
17408
17408
  return !d.hidden;
17409
17409
  }));
17410
17410
  ge(t, function(d) {
17411
- tn(d) && (d.waypoints = Fo(d.waypoints, function(f) {
17411
+ tn(d) && (d.waypoints = Vo(d.waypoints, function(f) {
17412
17412
  return {
17413
17413
  x: gi(f.x - l.x - l.width / 2 + o.x),
17414
17414
  y: gi(f.y - l.y - l.height / 2 + o.y)
@@ -17560,7 +17560,7 @@ qi.prototype.preExecute = function(e) {
17560
17560
  x && x !== n.length - 1 && (i(b, b.elements[0]), g += c(b.range));
17561
17561
  return;
17562
17562
  }
17563
- w = Oo(b.elements, a), m = w[0], x === f && (m = w[l(w)]), y = r(m), b.range = null, ge(w, function(C) {
17563
+ w = Io(b.elements, a), m = w[0], x === f && (m = w[l(w)]), y = r(m), b.range = null, ge(w, function(C) {
17564
17564
  if (s(y, C), b.range === null) {
17565
17565
  b.range = {
17566
17566
  min: C[a],
@@ -17610,7 +17610,7 @@ function Zi(e, t, n) {
17610
17610
  x: i.x * (n.width / t.width),
17611
17611
  y: i.y * (n.height / t.height)
17612
17612
  };
17613
- return jo({
17613
+ return Po({
17614
17614
  x: o.x + r.x,
17615
17615
  y: o.y + r.y
17616
17616
  });
@@ -17645,7 +17645,7 @@ function Qi(e) {
17645
17645
  return t;
17646
17646
  }
17647
17647
  function Tu(e, t) {
17648
- return mn(Fo(e, qw), function(n) {
17648
+ return mn(Vo(e, qw), function(n) {
17649
17649
  return Kw(n, t);
17650
17650
  });
17651
17651
  }
@@ -17858,11 +17858,11 @@ function Xw(e, t) {
17858
17858
  var o = a.incoming, i = a.outgoing;
17859
17859
  ge(o.concat(i), function(r) {
17860
17860
  var l = r.source, c = r.target;
17861
- (bo(e, l) || bo(e, c) || bo(t, l) || bo(t, c)) && (bo(n, r) || n.push(r));
17861
+ (wo(e, l) || wo(e, c) || wo(t, l) || wo(t, c)) && (wo(n, r) || n.push(r));
17862
17862
  });
17863
17863
  }), n;
17864
17864
  }
17865
- function bo(e, t) {
17865
+ function wo(e, t) {
17866
17866
  return e.indexOf(t) !== -1;
17867
17867
  }
17868
17868
  function Zw(e, t, n) {
@@ -17939,7 +17939,7 @@ pa.prototype.updateConnectionWaypoints = function(e, t, n, a, o, i, r) {
17939
17939
  var l = this, c = o.concat(i);
17940
17940
  ge(e, function(s) {
17941
17941
  var d = s.source, f = s.target, u = Qw(s), h = Au(n), p = {};
17942
- ta(c, d) && ta(c, f) ? (u = Fo(u, function(g) {
17942
+ ta(c, d) && ta(c, f) ? (u = Vo(u, function(g) {
17943
17943
  return Bs(g, a, n) && (g[h] = g[h] + t[h]), g.original && Bs(g.original, a, n) && (g.original[h] = g.original[h] + t[h]), g;
17944
17944
  }), l._modeling.updateWaypoints(s, u, { labelBehavior: !1 })) : (ta(c, d) || ta(c, f)) && (ta(o, d) ? p.connectionStart = ml(s, d, t) : ta(o, f) ? p.connectionEnd = bl(s, f, t) : ta(i, d) ? p.connectionStart = vl(s, d, r[d.id]) : ta(i, f) && (p.connectionEnd = yl(s, f, r[f.id])), l._modeling.layoutConnection(s, p));
17945
17945
  });
@@ -17948,7 +17948,7 @@ function Ps(e) {
17948
17948
  return De({}, e);
17949
17949
  }
17950
17950
  function Qw(e) {
17951
- return Fo(e.waypoints, function(t) {
17951
+ return Vo(e.waypoints, function(t) {
17952
17952
  return t = Ps(t), t.original && (t.original = Ps(t.original)), t;
17953
17953
  });
17954
17954
  }
@@ -18327,7 +18327,7 @@ function Cl(e) {
18327
18327
  ].includes(e.type);
18328
18328
  }
18329
18329
  function Ou(e) {
18330
- return Po(e.label);
18330
+ return Bo(e.label);
18331
18331
  }
18332
18332
  function o_(e) {
18333
18333
  const t = e.length / 2 - 1, n = e[Math.floor(t)], a = e[Math.ceil(t + 0.01)], o = i_(e), i = Math.atan((a.y - n.y) / (a.x - n.x));
@@ -18350,7 +18350,7 @@ function Iu(e) {
18350
18350
  y: e.y + e.height + a_.height / 2
18351
18351
  };
18352
18352
  }
18353
- function Po(e) {
18353
+ function Bo(e) {
18354
18354
  return e && !!e.labelTarget;
18355
18355
  }
18356
18356
  var r_ = {
@@ -18364,7 +18364,7 @@ function Lu(e, t) {
18364
18364
  }
18365
18365
  function a(l) {
18366
18366
  const { element: c, newLabel: s } = l, { businessObject: d } = c;
18367
- if (!Po(c) && Cl(c) && !Ou(c) && !Os(s)) {
18367
+ if (!Bo(c) && Cl(c) && !Ou(c) && !Os(s)) {
18368
18368
  let u = Iu(c);
18369
18369
  u = {
18370
18370
  x: u.x,
@@ -18384,8 +18384,8 @@ function Lu(e, t) {
18384
18384
  function r(l) {
18385
18385
  const { element: c, newLabel: s } = l, d = c.label || c, f = l.hints || {};
18386
18386
  let { newBounds: u } = l;
18387
- if (!Po(d)) return;
18388
- if (Po(d) && Os(s)) {
18387
+ if (!Bo(d)) return;
18388
+ if (Bo(d) && Os(s)) {
18389
18389
  f.removeShape !== !1 && e.removeShape(d, { unsetLabel: !1 });
18390
18390
  return;
18391
18391
  }
@@ -18745,7 +18745,7 @@ var Vu = {
18745
18745
  __depends__: [
18746
18746
  Pw,
18747
18747
  Iw,
18748
- ro
18748
+ lo
18749
18749
  ],
18750
18750
  __init__: ["modeling", "elementUpdater"],
18751
18751
  modeling: ["type", Qo],
@@ -19973,11 +19973,11 @@ var tx = {
19973
19973
  return e.y + e.height;
19974
19974
  }
19975
19975
  };
19976
- function co(e, t) {
19976
+ function uo(e, t) {
19977
19977
  this._modeling = e, this._rules = t;
19978
19978
  }
19979
- co.$inject = ["modeling", "rules"];
19980
- co.prototype._getOrientationDetails = function(e) {
19979
+ uo.$inject = ["modeling", "rules"];
19980
+ uo.prototype._getOrientationDetails = function(e) {
19981
19981
  var t = [
19982
19982
  "top",
19983
19983
  "bottom",
@@ -19988,10 +19988,10 @@ co.prototype._getOrientationDetails = function(e) {
19988
19988
  dimension: a
19989
19989
  };
19990
19990
  };
19991
- co.prototype._isType = function(e, t) {
19991
+ uo.prototype._isType = function(e, t) {
19992
19992
  return t.indexOf(e) !== -1;
19993
19993
  };
19994
- co.prototype._alignmentPosition = function(e, t) {
19994
+ uo.prototype._alignmentPosition = function(e, t) {
19995
19995
  var n = this._getOrientationDetails(e), a = n.axis, o = n.dimension, i = {}, r = {}, l = !1, c, s, d;
19996
19996
  function f(u, h) {
19997
19997
  return Math.round((u[a] + h[a] + h[o]) / 2);
@@ -20006,28 +20006,28 @@ co.prototype._alignmentPosition = function(e, t) {
20006
20006
  elements: [u],
20007
20007
  center: h
20008
20008
  };
20009
- }), c = Oo(r, function(u) {
20009
+ }), c = Io(r, function(u) {
20010
20010
  return u.elements.length > 1 && (l = !0), u.elements.length;
20011
20011
  }), l)
20012
20012
  return i[e] = pr(c).center, i;
20013
- s = t[0], t = Oo(t, function(u) {
20013
+ s = t[0], t = Io(t, function(u) {
20014
20014
  return u[a] + u[o];
20015
20015
  }), d = pr(t), i[e] = f(s, d);
20016
20016
  }
20017
20017
  return i;
20018
20018
  };
20019
- co.prototype.trigger = function(e, t) {
20019
+ uo.prototype.trigger = function(e, t) {
20020
20020
  var n = this._modeling, a, o = mn(e, function(c) {
20021
20021
  return !(c.waypoints || c.host || c.labelTarget);
20022
20022
  });
20023
20023
  if (a = this._rules.allowed("elements.align", { elements: o }), ft(a) && (o = a), !(o.length < 2 || !a)) {
20024
- var i = tx[t], r = Oo(o, i), l = this._alignmentPosition(t, r);
20024
+ var i = tx[t], r = Io(o, i), l = this._alignmentPosition(t, r);
20025
20025
  n.alignElements(r, l);
20026
20026
  }
20027
20027
  };
20028
20028
  var nx = {
20029
20029
  __init__: ["alignElements"],
20030
- alignElements: ["type", co]
20030
+ alignElements: ["type", uo]
20031
20031
  }, bi = Math.round, ax = Math.max;
20032
20032
  function ox(e, t) {
20033
20033
  return [
@@ -20326,12 +20326,12 @@ ed.$inject = [
20326
20326
  function yx(e) {
20327
20327
  return Zt(".djs-visual", e);
20328
20328
  }
20329
- var Us = Math.round, Ra = "reconnectStart", Ea = "reconnectEnd", wo = "updateWaypoints";
20329
+ var Us = Math.round, Ra = "reconnectStart", Ea = "reconnectEnd", _o = "updateWaypoints";
20330
20330
  function Al(e, t, n, a, o, i) {
20331
20331
  this._injector = e, this.start = function(r, l, c, s) {
20332
20332
  var d = n.getGraphics(l), f = l.source, u = l.target, h = l.waypoints, p;
20333
- !s && c === 0 ? p = Ra : !s && c === h.length - 1 ? p = Ea : p = wo;
20334
- var g = p === wo ? "connection.updateWaypoints" : "connection.reconnect", b = o.allowed(g, {
20333
+ !s && c === 0 ? p = Ra : !s && c === h.length - 1 ? p = Ea : p = _o;
20334
+ var g = p === _o ? "connection.updateWaypoints" : "connection.reconnect", b = o.allowed(g, {
20335
20335
  connection: l,
20336
20336
  source: f,
20337
20337
  target: u
@@ -20358,7 +20358,7 @@ function Al(e, t, n, a, o, i) {
20358
20358
  l.hover = f;
20359
20359
  var h;
20360
20360
  if (f) {
20361
- var p = u === wo ? "connection.updateWaypoints" : "connection.reconnect";
20361
+ var p = u === _o ? "connection.updateWaypoints" : "connection.reconnect";
20362
20362
  if (h = l.allowed = o.allowed(p, {
20363
20363
  connection: c,
20364
20364
  source: u === Ra ? f : s,
@@ -20375,14 +20375,14 @@ function Al(e, t, n, a, o, i) {
20375
20375
  }
20376
20376
  }), t.on(["bendpoint.move.out", "bendpoint.move.cleanup"], function(r) {
20377
20377
  var l = r.context, c = l.type;
20378
- l.hover = null, l.source = null, l.target = null, c !== wo && (l.allowed = !1);
20378
+ l.hover = null, l.source = null, l.target = null, c !== _o && (l.allowed = !1);
20379
20379
  }), t.on("bendpoint.move.end", function(r) {
20380
20380
  var l = r.context, c = l.allowed, s = l.bendpointIndex, d = l.connection, f = l.insert, u = d.waypoints.slice(), h = l.source, p = l.target, g = l.type, b = l.hints || {}, x = {
20381
20381
  x: Us(r.x),
20382
20382
  y: Us(r.y)
20383
20383
  };
20384
20384
  if (!c) return !1;
20385
- g === wo ? (f ? u.splice(s, 0, x) : u[s] = x, b.bendpointMove = {
20385
+ g === _o ? (f ? u.splice(s, 0, x) : u[s] = x, b.bendpointMove = {
20386
20386
  insert: f,
20387
20387
  bendpointIndex: s
20388
20388
  }, u = this.cropWaypoints(d, u), i.updateWaypoints(d, xw(u), b)) : (g === Ra ? (b.docking = "source", Li(l) && (b.docking = "target", b.newWaypoints = u.reverse())) : g === Ea && (b.docking = "target", Li(l) && (b.docking = "source", b.newWaypoints = u.reverse())), i.reconnect(d, h, p, x, b));
@@ -20407,7 +20407,7 @@ function Li(e) {
20407
20407
  if (o === Ra) return t && a && t === a && n !== a;
20408
20408
  if (o === Ea) return t && n && t === n && n !== a;
20409
20409
  }
20410
- var mx = "reconnectStart", bx = "reconnectEnd", Ys = "updateWaypoints", _o = "connect-ok", wi = "connect-not-ok", Js = "connect-hover", Gs = "djs-updating", Ks = "djs-dragging", qs = 1100;
20410
+ var mx = "reconnectStart", bx = "reconnectEnd", Ys = "updateWaypoints", xo = "connect-ok", wi = "connect-not-ok", Js = "connect-hover", Gs = "djs-updating", Ks = "djs-dragging", qs = 1100;
20411
20411
  function td(e, t, n, a) {
20412
20412
  this._injector = t;
20413
20413
  var o = t.get("connectionPreview", !1);
@@ -20421,11 +20421,11 @@ function td(e, t, n, a) {
20421
20421
  var r = i.context, l = r.allowed, c = r.hover, s = r.type;
20422
20422
  if (c) {
20423
20423
  if (a.addMarker(c, Js), s === Ys) return;
20424
- l ? (a.removeMarker(c, wi), a.addMarker(c, _o)) : l === !1 && (a.removeMarker(c, _o), a.addMarker(c, wi));
20424
+ l ? (a.removeMarker(c, wi), a.addMarker(c, xo)) : l === !1 && (a.removeMarker(c, xo), a.addMarker(c, wi));
20425
20425
  }
20426
20426
  }), n.on(["bendpoint.move.out", "bendpoint.move.cleanup"], qs, function(i) {
20427
20427
  var r = i.context, l = r.hover, c = r.target;
20428
- l && (a.removeMarker(l, Js), a.removeMarker(l, c ? _o : wi));
20428
+ l && (a.removeMarker(l, Js), a.removeMarker(l, c ? xo : wi));
20429
20429
  }), n.on("bendpoint.move.move", function(i) {
20430
20430
  var r = i.context, l = r.allowed, c = r.bendpointIndex, s = r.draggerGfx, d = r.hover, f = r.type, u = r.connection, h = u.source, p = u.target, g = u.waypoints.slice(), b = {
20431
20431
  x: i.x,
@@ -20434,7 +20434,7 @@ function td(e, t, n, a) {
20434
20434
  o && (x.connectionStart && (w.connectionStart = x.connectionStart), x.connectionEnd && (w.connectionEnd = x.connectionEnd), f === mx ? Li(r) ? (w.connectionEnd = w.connectionEnd || b, w.source = p, w.target = d || h, g = g.reverse()) : (w.connectionStart = w.connectionStart || b, w.source = d || h, w.target = p) : f === bx ? Li(r) ? (w.connectionStart = w.connectionStart || b, w.source = d || p, w.target = h, g = g.reverse()) : (w.connectionEnd = w.connectionEnd || b, w.source = h, w.target = d || p) : (w.noCropping = !0, w.noLayout = !0, g[c] = b), f === Ys && (g = e.cropWaypoints(u, g)), w.waypoints = g, o.drawPreview(r, l, w)), Ln(s, i.x, i.y);
20435
20435
  }, this), n.on(["bendpoint.move.end", "bendpoint.move.cancel"], qs, function(i) {
20436
20436
  var r = i.context, l = r.connection, c = r.draggerGfx, s = r.hover, d = r.target;
20437
- l.waypoints = r.waypoints, yn(c), a.removeMarker(l, Gs), a.removeMarker(l, Ks), s && (a.removeMarker(s, _o), a.removeMarker(s, d ? _o : wi)), o && o.cleanUp(r);
20437
+ l.waypoints = r.waypoints, yn(c), a.removeMarker(l, Gs), a.removeMarker(l, Ks), s && (a.removeMarker(s, xo), a.removeMarker(s, d ? xo : wi)), o && o.cleanUp(r);
20438
20438
  });
20439
20439
  }
20440
20440
  td.$inject = [
@@ -20673,7 +20673,7 @@ function id(e) {
20673
20673
  }
20674
20674
  id.$inject = ["eventBus"];
20675
20675
  var Rx = {
20676
- __depends__: [La, lo],
20676
+ __depends__: [La, so],
20677
20677
  __init__: [
20678
20678
  "bendpoints",
20679
20679
  "bendpointSnapping",
@@ -20935,20 +20935,20 @@ var Hx = {
20935
20935
  __init__: ["overlays"],
20936
20936
  overlays: ["type", $t]
20937
20937
  }, Ox = new Ui();
20938
- function uo(e) {
20938
+ function fo(e) {
20939
20939
  this._scheduled = {}, e.on("diagram.destroy", () => {
20940
20940
  Object.keys(this._scheduled).forEach((t) => {
20941
20941
  this.cancel(t);
20942
20942
  });
20943
20943
  });
20944
20944
  }
20945
- uo.$inject = ["eventBus"];
20946
- uo.prototype.schedule = function(e, t = Ox.next()) {
20945
+ fo.$inject = ["eventBus"];
20946
+ fo.prototype.schedule = function(e, t = Ox.next()) {
20947
20947
  this.cancel(t);
20948
20948
  const n = this._schedule(e, t);
20949
20949
  return this._scheduled[t] = n, n.promise;
20950
20950
  };
20951
- uo.prototype._schedule = function(e, t) {
20951
+ fo.prototype._schedule = function(e, t) {
20952
20952
  const n = Ix();
20953
20953
  return {
20954
20954
  executionId: setTimeout(() => {
@@ -20966,11 +20966,11 @@ uo.prototype._schedule = function(e, t) {
20966
20966
  promise: n.promise
20967
20967
  };
20968
20968
  };
20969
- uo.prototype.cancel = function(e) {
20969
+ fo.prototype.cancel = function(e) {
20970
20970
  const t = this._scheduled[e];
20971
20971
  t && (this._cancel(t), this._scheduled[e] = null);
20972
20972
  };
20973
- uo.prototype._cancel = function(e) {
20973
+ fo.prototype._cancel = function(e) {
20974
20974
  clearTimeout(e.executionId);
20975
20975
  };
20976
20976
  function Ix() {
@@ -20979,7 +20979,7 @@ function Ix() {
20979
20979
  e.resolve = t, e.reject = n;
20980
20980
  }), e;
20981
20981
  }
20982
- var Lx = { scheduler: ["type", uo] }, zx = "djs-element-hidden", _i = ".entry", Dx = 1e3, ac = 8, $x = 300;
20982
+ var Lx = { scheduler: ["type", fo] }, zx = "djs-element-hidden", _i = ".entry", Dx = 1e3, ac = 8, $x = 300;
20983
20983
  function At(e, t, n, a) {
20984
20984
  this._canvas = e, this._elementRegistry = t, this._eventBus = n, this._scheduler = a, this._current = null, this._init();
20985
20985
  }
@@ -21275,7 +21275,7 @@ var Bl = {
21275
21275
  __init__: ["mouse"],
21276
21276
  mouse: ["type", Pl]
21277
21277
  }, vr = 1500, sd = "grab";
21278
- function fo(e, t, n, a, o, i) {
21278
+ function ho(e, t, n, a, o, i) {
21279
21279
  this._dragging = n, this._mouse = i;
21280
21280
  var r = this, l = a.get("keyboard", !1);
21281
21281
  o.registerTool("hand", {
@@ -21310,7 +21310,7 @@ function fo(e, t, n, a, o, i) {
21310
21310
  }), !1;
21311
21311
  });
21312
21312
  }
21313
- fo.$inject = [
21313
+ ho.$inject = [
21314
21314
  "eventBus",
21315
21315
  "canvas",
21316
21316
  "dragging",
@@ -21318,14 +21318,14 @@ fo.$inject = [
21318
21318
  "toolManager",
21319
21319
  "mouse"
21320
21320
  ];
21321
- fo.prototype.activateMove = function(e, t, n) {
21321
+ ho.prototype.activateMove = function(e, t, n) {
21322
21322
  typeof t == "object" && (n = t, t = !1), this._dragging.init(e, "hand.move", {
21323
21323
  autoActivate: t,
21324
21324
  cursor: sd,
21325
21325
  data: { context: n || {} }
21326
21326
  });
21327
21327
  };
21328
- fo.prototype.activateHand = function(e, t, n) {
21328
+ ho.prototype.activateHand = function(e, t, n) {
21329
21329
  this._dragging.init(e, "hand", {
21330
21330
  trapClick: !1,
21331
21331
  autoActivate: t,
@@ -21333,12 +21333,12 @@ fo.prototype.activateHand = function(e, t, n) {
21333
21333
  data: { context: { reactivate: n } }
21334
21334
  });
21335
21335
  };
21336
- fo.prototype.toggle = function() {
21336
+ ho.prototype.toggle = function() {
21337
21337
  if (this.isActive()) return this._dragging.cancel();
21338
21338
  var e = this._mouse.getLastMoveEvent();
21339
21339
  this.activateHand(e, !!e);
21340
21340
  };
21341
- fo.prototype.isActive = function() {
21341
+ ho.prototype.isActive = function() {
21342
21342
  var e = this._dragging.context();
21343
21343
  return e ? /^(hand|hand\.move)$/.test(e.prefix) : !1;
21344
21344
  };
@@ -21348,7 +21348,7 @@ function oc(e) {
21348
21348
  var Gx = {
21349
21349
  __depends__: [jl, Bl],
21350
21350
  __init__: ["handTool"],
21351
- handTool: ["type", fo]
21351
+ handTool: ["type", ho]
21352
21352
  }, cd = "crosshair", ic = "selected", Kx = "djs-dragging-active-lasso";
21353
21353
  function ya(e, t, n, a, o, i, r) {
21354
21354
  this._selection = o, this._dragging = n, this._mouse = r;
@@ -21495,7 +21495,7 @@ var qx = {
21495
21495
  __init__: ["lassoTool"],
21496
21496
  lassoTool: ["type", ya]
21497
21497
  }, lc = "connect-ok", sc = "connect-not-ok";
21498
- function ho(e, t, n, a, o, i, r) {
21498
+ function po(e, t, n, a, o, i, r) {
21499
21499
  var l = this;
21500
21500
  this._dragging = t, this._rules = i, this._mouse = r, o.registerTool("global-connect", {
21501
21501
  tool: "global-connect",
@@ -21519,7 +21519,7 @@ function ho(e, t, n, a, o, i, r) {
21519
21519
  }), !1;
21520
21520
  });
21521
21521
  }
21522
- ho.$inject = [
21522
+ po.$inject = [
21523
21523
  "eventBus",
21524
21524
  "dragging",
21525
21525
  "connect",
@@ -21528,34 +21528,34 @@ ho.$inject = [
21528
21528
  "rules",
21529
21529
  "mouse"
21530
21530
  ];
21531
- ho.prototype.start = function(e, t) {
21531
+ po.prototype.start = function(e, t) {
21532
21532
  this._dragging.init(e, "global-connect", {
21533
21533
  autoActivate: t,
21534
21534
  trapClick: !1,
21535
21535
  data: { context: {} }
21536
21536
  });
21537
21537
  };
21538
- ho.prototype.toggle = function() {
21538
+ po.prototype.toggle = function() {
21539
21539
  if (this.isActive()) return this._dragging.cancel();
21540
21540
  var e = this._mouse.getLastMoveEvent();
21541
21541
  return this.start(e, !!e);
21542
21542
  };
21543
- ho.prototype.isActive = function() {
21543
+ po.prototype.isActive = function() {
21544
21544
  var e = this._dragging.context();
21545
21545
  return e && /^global-connect/.test(e.prefix);
21546
21546
  };
21547
- ho.prototype.canStartConnect = function(e) {
21547
+ po.prototype.canStartConnect = function(e) {
21548
21548
  return this._rules.allowed("connection.start", { source: e });
21549
21549
  };
21550
21550
  var Xx = {
21551
21551
  __depends__: [
21552
21552
  sl,
21553
- lo,
21553
+ so,
21554
21554
  La,
21555
21555
  jl,
21556
21556
  Bl
21557
21557
  ],
21558
- globalConnect: ["type", ho]
21558
+ globalConnect: ["type", po]
21559
21559
  }, Zx = 500, Qx = 1e3;
21560
21560
  function Wa(e, t) {
21561
21561
  this._eventBus = e, this.offset = 5;
@@ -21655,7 +21655,7 @@ function eC(e) {
21655
21655
  };
21656
21656
  }
21657
21657
  var ud = {
21658
- __depends__: [ro],
21658
+ __depends__: [lo],
21659
21659
  __init__: ["outline", "multiSelectionOutline"],
21660
21660
  outline: ["type", Wa],
21661
21661
  multiSelectionOutline: ["type", Hl]
@@ -21707,7 +21707,7 @@ function dd(e, t, n, a, o) {
21707
21707
  });
21708
21708
  }), e.on("element.mousedown", function(l) {
21709
21709
  if (ca(l)) {
21710
- var c = oo(l);
21710
+ var c = io(l);
21711
21711
  if (!c) throw new Error("must supply DOM mousedown event");
21712
21712
  return r(c, l.element);
21713
21713
  }
@@ -21806,9 +21806,9 @@ function lC(e) {
21806
21806
  var sC = {
21807
21807
  __depends__: [
21808
21808
  tl,
21809
- ro,
21810
- ud,
21811
21809
  lo,
21810
+ ud,
21811
+ so,
21812
21812
  La,
21813
21813
  al
21814
21814
  ],
@@ -22011,12 +22011,12 @@ function bC(e, t, n, a) {
22011
22011
  right: $i(i.right, r.right)
22012
22012
  });
22013
22013
  }
22014
- function xo(e, t) {
22014
+ function Co(e, t) {
22015
22015
  return typeof e < "u" ? e : vC;
22016
22016
  }
22017
22017
  function wC(e, t) {
22018
22018
  var n, a, o, i;
22019
- return typeof t == "object" ? (n = xo(t.left), a = xo(t.right), o = xo(t.top), i = xo(t.bottom)) : n = a = o = i = xo(t), {
22019
+ return typeof t == "object" ? (n = Co(t.left), a = Co(t.right), o = Co(t.top), i = Co(t.bottom)) : n = a = o = i = Co(t), {
22020
22020
  x: e.x - n,
22021
22021
  y: e.y - o,
22022
22022
  width: e.width + n + a,
@@ -22136,7 +22136,7 @@ yd.$inject = [
22136
22136
  "canvas",
22137
22137
  "previewSupport"
22138
22138
  ];
22139
- var Si = -6, ki = 8, Ri = 20, Co = "djs-resizer", RC = [
22139
+ var Si = -6, ki = 8, Ri = 20, So = "djs-resizer", RC = [
22140
22140
  "n",
22141
22141
  "w",
22142
22142
  "s",
@@ -22166,21 +22166,21 @@ ma.prototype.makeDraggable = function(e, t, n) {
22166
22166
  };
22167
22167
  ma.prototype._createResizer = function(e, t, n, a) {
22168
22168
  var o = this._getResizersParent(), i = EC(a), r = Xe("g");
22169
- pt(r).add(Co), pt(r).add(Co + "-" + e.id), pt(r).add(Co + "-" + a), tt(o, r);
22169
+ pt(r).add(So), pt(r).add(So + "-" + e.id), pt(r).add(So + "-" + a), tt(o, r);
22170
22170
  var l = Xe("rect");
22171
22171
  ze(l, {
22172
22172
  x: -ki / 2 + i.x,
22173
22173
  y: -ki / 2 + i.y,
22174
22174
  width: ki,
22175
22175
  height: ki
22176
- }), pt(l).add(Co + "-visual"), tt(r, l);
22176
+ }), pt(l).add(So + "-visual"), tt(r, l);
22177
22177
  var c = Xe("rect");
22178
22178
  return ze(c, {
22179
22179
  x: -Ri / 2 + i.x,
22180
22180
  y: -Ri / 2 + i.y,
22181
22181
  width: Ri,
22182
22182
  height: Ri
22183
- }), pt(c).add(Co + "-hit"), tt(r, c), X0(r, t, n), r;
22183
+ }), pt(c).add(So + "-hit"), tt(r, c), X0(r, t, n), r;
22184
22184
  };
22185
22185
  ma.prototype.createResizer = function(e, t) {
22186
22186
  var n = vd(e, t), a = this._createResizer(e, n.x, n.y, t);
@@ -22213,7 +22213,7 @@ function EC(e) {
22213
22213
  }
22214
22214
  var TC = {
22215
22215
  __depends__: [
22216
- lo,
22216
+ so,
22217
22217
  La,
22218
22218
  al
22219
22219
  ],
@@ -22312,7 +22312,7 @@ ti.prototype.getEditingBBox = function(e) {
22312
22312
  lineHeight: d,
22313
22313
  paddingTop: g + "px",
22314
22314
  paddingBottom: b + "px"
22315
- })), Cl(n) && !Ou(n) && !Po(n)) {
22315
+ })), Cl(n) && !Ou(n) && !Bo(n)) {
22316
22316
  const x = Iu(e), w = t.getAbsoluteBBox({
22317
22317
  x: x.x,
22318
22318
  y: x.y,
@@ -22472,18 +22472,18 @@ $n.prototype.getSnapTargets = function(e, t) {
22472
22472
  function PC(e) {
22473
22473
  return !!e.hidden;
22474
22474
  }
22475
- function po(e) {
22475
+ function go(e) {
22476
22476
  e.invoke($n, this);
22477
22477
  }
22478
- Ha(po, $n);
22479
- po.$inject = ["injector"];
22480
- po.prototype.initSnap = function(e) {
22478
+ Ha(go, $n);
22479
+ go.$inject = ["injector"];
22480
+ go.prototype.initSnap = function(e) {
22481
22481
  return $n.prototype.initSnap.call(this, e);
22482
22482
  };
22483
- po.prototype.addSnapTargetPoints = function(e, t, n) {
22483
+ go.prototype.addSnapTargetPoints = function(e, t, n) {
22484
22484
  return $n.prototype.addSnapTargetPoints.call(this, e, t, n);
22485
22485
  };
22486
- po.prototype.getSnapTargets = function(e, t) {
22486
+ go.prototype.getSnapTargets = function(e, t) {
22487
22487
  return $n.prototype.getSnapTargets.call(this, e, t);
22488
22488
  };
22489
22489
  var BC = 1250;
@@ -22609,14 +22609,14 @@ var $C = {
22609
22609
  }, FC = {
22610
22610
  __depends__: [$C],
22611
22611
  __init__: ["createMoveSnapping"],
22612
- createMoveSnapping: ["type", po]
22612
+ createMoveSnapping: ["type", go]
22613
22613
  };
22614
- function go(e) {
22614
+ function vo(e) {
22615
22615
  Jt.call(this, e), this.init();
22616
22616
  }
22617
- go.$inject = ["eventBus"];
22618
- za(go, Jt);
22619
- go.prototype.addRule = function(e, t, n) {
22617
+ vo.$inject = ["eventBus"];
22618
+ za(vo, Jt);
22619
+ vo.prototype.addRule = function(e, t, n) {
22620
22620
  var a = this;
22621
22621
  typeof e == "string" && (e = [e]), e.forEach(function(o) {
22622
22622
  a.canExecute(o, t, function(i, r, l) {
@@ -22624,13 +22624,13 @@ go.prototype.addRule = function(e, t, n) {
22624
22624
  }, !0);
22625
22625
  });
22626
22626
  };
22627
- go.prototype.init = function() {
22627
+ vo.prototype.init = function() {
22628
22628
  };
22629
22629
  function ai(e) {
22630
- go.call(this, e);
22630
+ vo.call(this, e);
22631
22631
  }
22632
22632
  ai.$inject = ["eventBus"];
22633
- Ha(ai, go);
22633
+ Ha(ai, vo);
22634
22634
  ai.prototype.init = function() {
22635
22635
  this.addRule("connection.start", function(e) {
22636
22636
  var t = e.source;
@@ -23228,7 +23228,7 @@ var s1 = {
23228
23228
  const _ = v || a.labelWidth;
23229
23229
  return typeof _ == "string" ? _ : typeof _ == "number" ? _ + "px" : _;
23230
23230
  };
23231
- return t({ validate: () => x() }), Vo({
23231
+ return t({ validate: () => x() }), ao({
23232
23232
  getTableData: () => h.value,
23233
23233
  rowChange: p
23234
23234
  }), (v, _) => {
@@ -23429,7 +23429,7 @@ export {
23429
23429
  eh as calcDate,
23430
23430
  oS as calcDateHours,
23431
23431
  iS as calcDateText,
23432
- Ao as clearJson,
23432
+ Mo as clearJson,
23433
23433
  ji as clone,
23434
23434
  Yt as deepClone,
23435
23435
  dS as default,
@@ -23477,7 +23477,7 @@ export {
23477
23477
  Eh as useHMenuInject,
23478
23478
  Th as useHMenuProvide,
23479
23479
  Jn as useInject,
23480
- ao as useLayer,
23480
+ oo as useLayer,
23481
23481
  uS as useLayerInject,
23482
23482
  jh as useLayerProvide,
23483
23483
  No as useMenuInject,
@@ -23487,5 +23487,5 @@ export {
23487
23487
  Gn as useProvide,
23488
23488
  Ch as useSortable,
23489
23489
  Ni as useTableInject,
23490
- Vo as useTableProvide
23490
+ ao as useTableProvide
23491
23491
  };