lyflowchart 1.0.63 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { defineComponent as oi, ref as Ne, reactive as Dl, watch as or, onMounted as go, resolveComponent as we, openBlock as Qe, createBlock as yt, withCtx as le, createVNode as ae, createTextVNode as tt, createCommentVNode as Fn, inject as Wh, computed as uo, nextTick as kl, createElementBlock as yn, createElementVNode as _t, withDirectives as Uh, vShow as Gh, Fragment as fa, renderList as da, withKeys as ZC, toDisplayString as so, provide as QC, normalizeClass as JC, onBeforeUnmount as e2 } from "vue";
2
- import { SearchOutlined as Vh, SyncOutlined as KE, RedoOutlined as t2, UserOutlined as n2, TeamOutlined as r2, CodeOutlined as i2, PlusOutlined as o2, QuestionCircleOutlined as a2, UploadOutlined as s2, DragOutlined as l2, ZoomInOutlined as u2, ZoomOutOutlined as c2 } from "@ant-design/icons-vue";
3
- import { Modal as p2, message as f2 } from "ant-design-vue";
1
+ import { defineComponent as oi, ref as Ne, reactive as Dl, watch as or, onMounted as go, resolveComponent as we, openBlock as Qe, createBlock as yt, withCtx as le, createVNode as ae, createTextVNode as tt, createCommentVNode as Fn, inject as Wh, computed as uo, nextTick as kl, createElementBlock as yn, createElementVNode as _t, withDirectives as Uh, vShow as Gh, Fragment as fa, renderList as da, withKeys as ZC, toDisplayString as so, provide as QC, normalizeClass as JC, onBeforeUnmount as eT } from "vue";
2
+ import { SearchOutlined as Vh, SyncOutlined as KE, RedoOutlined as tT, UserOutlined as nT, TeamOutlined as rT, CodeOutlined as iT, PlusOutlined as oT, QuestionCircleOutlined as aT, UploadOutlined as sT, DragOutlined as lT, ZoomInOutlined as uT, ZoomOutOutlined as cT } from "@ant-design/icons-vue";
3
+ import { Modal as pT, message as fT } from "ant-design-vue";
4
4
  var $c = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
5
  function ms(e) {
6
6
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -6441,10 +6441,10 @@ b`.split(/\n/).length != 3 ? function(i) {
6441
6441
  function Re(e, t) {
6442
6442
  t && (e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }));
6443
6443
  }
6444
- function d2(e, t) {
6444
+ function dT(e, t) {
6445
6445
  return t = { exports: {} }, e(t, t.exports), t.exports;
6446
6446
  }
6447
- var h2 = d2(function(e) {
6447
+ var hT = dT(function(e) {
6448
6448
  var t = e.exports = function(n, r) {
6449
6449
  if (r || (r = 16), n === void 0 && (n = 128), n <= 0)
6450
6450
  return "0";
@@ -6484,7 +6484,7 @@ var h2 = d2(function(e) {
6484
6484
  function ri(e) {
6485
6485
  if (!(this instanceof ri))
6486
6486
  return new ri(e);
6487
- e = e || [128, 36, 1], this._seed = e.length ? h2.rack(e[0], e[1], e[2]) : e;
6487
+ e = e || [128, 36, 1], this._seed = e.length ? hT.rack(e[0], e[1], e[2]) : e;
6488
6488
  }
6489
6489
  ri.prototype.next = function(e) {
6490
6490
  return this._seed(e || !0);
@@ -6513,7 +6513,7 @@ ri.prototype.clear = function() {
6513
6513
  function Qc(e) {
6514
6514
  return Array.prototype.concat.apply([], e);
6515
6515
  }
6516
- const jl = Object.prototype.toString, v2 = Object.prototype.hasOwnProperty;
6516
+ const jl = Object.prototype.toString, vT = Object.prototype.hasOwnProperty;
6517
6517
  function ki(e) {
6518
6518
  return e === void 0;
6519
6519
  }
@@ -6539,12 +6539,12 @@ function En(e) {
6539
6539
  function Yn(e) {
6540
6540
  return jl.call(e) === "[object String]";
6541
6541
  }
6542
- function m2(e) {
6542
+ function mT(e) {
6543
6543
  if (!et(e))
6544
6544
  throw new Error("must supply array");
6545
6545
  }
6546
6546
  function ei(e, t) {
6547
- return !Jc(e) && v2.call(e, t);
6547
+ return !Jc(e) && vT.call(e, t);
6548
6548
  }
6549
6549
  function ut(e, t) {
6550
6550
  const n = Ep(t);
@@ -6573,15 +6573,15 @@ function W(e, t) {
6573
6573
  let n, r;
6574
6574
  if (ki(e))
6575
6575
  return;
6576
- const o = et(e) ? _2 : E2;
6576
+ const o = et(e) ? _T : ET;
6577
6577
  for (let a in e)
6578
6578
  if (ei(e, a) && (n = e[a], r = t(n, o(a)), r === !1))
6579
6579
  return n;
6580
6580
  }
6581
- function g2(e, t) {
6581
+ function gT(e, t) {
6582
6582
  if (ki(e))
6583
6583
  return [];
6584
- m2(e);
6584
+ mT(e);
6585
6585
  const n = Ep(t);
6586
6586
  return e.filter(function(r, o) {
6587
6587
  return !n(r, o);
@@ -6609,7 +6609,7 @@ function fn(e, t) {
6609
6609
  function ep(e) {
6610
6610
  return e && Object.keys(e) || [];
6611
6611
  }
6612
- function y2(e) {
6612
+ function yT(e) {
6613
6613
  return ep(e).length;
6614
6614
  }
6615
6615
  function Kh(e) {
@@ -6628,7 +6628,7 @@ function XE(e, ...t) {
6628
6628
  return o[0];
6629
6629
  });
6630
6630
  }
6631
- const b2 = XE;
6631
+ const bT = XE;
6632
6632
  function $r(e, t) {
6633
6633
  t = qh(t);
6634
6634
  let n = [];
@@ -6660,10 +6660,10 @@ function qh(e) {
6660
6660
  function Ep(e) {
6661
6661
  return En(e) ? e : (t) => t === e;
6662
6662
  }
6663
- function E2(e) {
6663
+ function ET(e) {
6664
6664
  return e;
6665
6665
  }
6666
- function _2(e) {
6666
+ function _T(e) {
6667
6667
  return Number(e);
6668
6668
  }
6669
6669
  function ZE(e, t) {
@@ -6719,7 +6719,7 @@ function Mi(e, t) {
6719
6719
  t.indexOf(a) === -1 && (n[a] = o);
6720
6720
  }), n;
6721
6721
  }
6722
- function x2(e, t) {
6722
+ function xT(e, t) {
6723
6723
  return t.forEach(function(n) {
6724
6724
  n && typeof n != "string" && !Array.isArray(n) && Object.keys(n).forEach(function(r) {
6725
6725
  if (r !== "default" && !(r in e)) {
@@ -6734,29 +6734,29 @@ function x2(e, t) {
6734
6734
  });
6735
6735
  }), Object.freeze(e);
6736
6736
  }
6737
- const w2 = Object.prototype.toString, S2 = Object.prototype.hasOwnProperty;
6738
- function C2(e) {
6737
+ const wT = Object.prototype.toString, ST = Object.prototype.hasOwnProperty;
6738
+ function CT(e) {
6739
6739
  return e === void 0;
6740
6740
  }
6741
- function T2(e) {
6742
- return w2.call(e) === "[object Array]";
6741
+ function TT(e) {
6742
+ return wT.call(e) === "[object Array]";
6743
6743
  }
6744
- function A2(e, t) {
6745
- return S2.call(e, t);
6744
+ function AT(e, t) {
6745
+ return ST.call(e, t);
6746
6746
  }
6747
6747
  function By(e, t) {
6748
6748
  let n, r;
6749
- if (C2(e))
6749
+ if (CT(e))
6750
6750
  return;
6751
- const o = T2(e) ? R2 : P2;
6751
+ const o = TT(e) ? RT : PT;
6752
6752
  for (let a in e)
6753
- if (A2(e, a) && (n = e[a], r = t(n, o(a)), r === !1))
6753
+ if (AT(e, a) && (n = e[a], r = t(n, o(a)), r === !1))
6754
6754
  return n;
6755
6755
  }
6756
- function P2(e) {
6756
+ function PT(e) {
6757
6757
  return e;
6758
6758
  }
6759
- function R2(e) {
6759
+ function RT(e) {
6760
6760
  return Number(e);
6761
6761
  }
6762
6762
  function bn(e, ...t) {
@@ -6770,7 +6770,7 @@ function bn(e, ...t) {
6770
6770
  function $n(e, t, n) {
6771
6771
  return arguments.length == 2 ? e.getAttribute(t) : n === null ? e.removeAttribute(t) : (e.setAttribute(t, n), e);
6772
6772
  }
6773
- const D2 = Object.prototype.toString;
6773
+ const DT = Object.prototype.toString;
6774
6774
  function hn(e) {
6775
6775
  return new po(e);
6776
6776
  }
@@ -6783,7 +6783,7 @@ po.prototype.add = function(e) {
6783
6783
  return this.list.add(e), this;
6784
6784
  };
6785
6785
  po.prototype.remove = function(e) {
6786
- return D2.call(e) == "[object RegExp]" ? this.removeMatching(e) : (this.list.remove(e), this);
6786
+ return DT.call(e) == "[object RegExp]" ? this.removeMatching(e) : (this.list.remove(e), this);
6787
6787
  };
6788
6788
  po.prototype.removeMatching = function(e) {
6789
6789
  const t = this.array();
@@ -6813,29 +6813,29 @@ var tp = {}, np, eh, Yh;
6813
6813
  function JE() {
6814
6814
  np = window.addEventListener ? "addEventListener" : "attachEvent", eh = window.removeEventListener ? "removeEventListener" : "detachEvent", Yh = np !== "addEventListener" ? "on" : "";
6815
6815
  }
6816
- var k2 = tp.bind = function(e, t, n, r) {
6816
+ var kT = tp.bind = function(e, t, n, r) {
6817
6817
  return np || JE(), e[np](Yh + t, n, r || !1), n;
6818
- }, M2 = tp.unbind = function(e, t, n, r) {
6818
+ }, MT = tp.unbind = function(e, t, n, r) {
6819
6819
  return eh || JE(), e[eh](Yh + t, n, r || !1), n;
6820
- }, We = /* @__PURE__ */ x2({
6820
+ }, We = /* @__PURE__ */ xT({
6821
6821
  __proto__: null,
6822
- bind: k2,
6823
- unbind: M2,
6822
+ bind: kT,
6823
+ unbind: MT,
6824
6824
  default: tp
6825
6825
  }, [tp]), e_ = ["focus", "blur"];
6826
- function N2(e, t, n, r, o) {
6826
+ function NT(e, t, n, r, o) {
6827
6827
  return e_.indexOf(n) !== -1 && (o = !0), We.bind(e, n, function(a) {
6828
6828
  var l = a.target || a.srcElement;
6829
6829
  a.delegateTarget = Ni(l, t, !0), a.delegateTarget && r.call(e, a);
6830
6830
  }, o);
6831
6831
  }
6832
- function L2(e, t, n, r) {
6832
+ function LT(e, t, n, r) {
6833
6833
  return e_.indexOf(t) !== -1 && (r = !0), We.unbind(e, t, n, r);
6834
6834
  }
6835
6835
  var wr = {
6836
- bind: N2,
6837
- unbind: L2
6838
- }, O2 = I2, t_ = !1, uc;
6836
+ bind: NT,
6837
+ unbind: LT
6838
+ }, OT = IT, t_ = !1, uc;
6839
6839
  typeof document < "u" && (uc = document.createElement("div"), uc.innerHTML = ' <link/><table></table><a href="/a">a</a><input type="checkbox"/>', t_ = !uc.getElementsByTagName("link").length, uc = void 0);
6840
6840
  var Xt = {
6841
6841
  legend: [1, "<fieldset>", "</fieldset>"],
@@ -6849,7 +6849,7 @@ Xt.td = Xt.th = [3, "<table><tbody><tr>", "</tr></tbody></table>"];
6849
6849
  Xt.option = Xt.optgroup = [1, '<select multiple="multiple">', "</select>"];
6850
6850
  Xt.thead = Xt.tbody = Xt.colgroup = Xt.caption = Xt.tfoot = [1, "<table>", "</table>"];
6851
6851
  Xt.polyline = Xt.ellipse = Xt.polygon = Xt.circle = Xt.text = Xt.line = Xt.path = Xt.rect = Xt.g = [1, '<svg xmlns="http://www.w3.org/2000/svg" version="1.1">', "</svg>"];
6852
- function I2(e, t) {
6852
+ function IT(e, t) {
6853
6853
  if (typeof e != "string")
6854
6854
  throw new TypeError("String expected");
6855
6855
  t || (t = document);
@@ -6871,7 +6871,7 @@ function I2(e, t) {
6871
6871
  d.appendChild(c.removeChild(c.firstChild));
6872
6872
  return d;
6873
6873
  }
6874
- var wt = O2;
6874
+ var wt = OT;
6875
6875
  function Xh(e, t) {
6876
6876
  return e && typeof e.matches == "function" && e.matches(t) || !1;
6877
6877
  }
@@ -6884,7 +6884,7 @@ function th(e, t) {
6884
6884
  function ii(e) {
6885
6885
  e.parentNode && e.parentNode.removeChild(e);
6886
6886
  }
6887
- function B2(e, t) {
6887
+ function BT(e, t) {
6888
6888
  if (e.ownerDocument !== t.ownerDocument)
6889
6889
  try {
6890
6890
  return t.ownerDocument.importNode(e, !0);
@@ -6893,7 +6893,7 @@ function B2(e, t) {
6893
6893
  return e;
6894
6894
  }
6895
6895
  function n_(e, t) {
6896
- return t.appendChild(B2(e, t));
6896
+ return t.appendChild(BT(e, t));
6897
6897
  }
6898
6898
  function Ve(e, t) {
6899
6899
  return n_(t, e), e;
@@ -6961,14 +6961,14 @@ var nh = 2, r_ = {
6961
6961
  "word-spacing": 1,
6962
6962
  "writing-mode": 1
6963
6963
  };
6964
- function F2(e, t) {
6964
+ function FT(e, t) {
6965
6965
  return r_[t] ? e.style[t] : e.getAttributeNS(null, t);
6966
6966
  }
6967
6967
  function i_(e, t, n) {
6968
6968
  var r = t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), o = r_[r];
6969
6969
  o ? (o === nh && typeof n == "number" && (n = String(n) + "px"), e.style[r] = n) : e.setAttributeNS(null, t, n);
6970
6970
  }
6971
- function $2(e, t) {
6971
+ function $T(e, t) {
6972
6972
  var n = Object.keys(t), r, o;
6973
6973
  for (r = 0, o; o = n[r]; r++)
6974
6974
  i_(e, o, t[o]);
@@ -6978,12 +6978,12 @@ function Se(e, t, n) {
6978
6978
  if (n !== void 0)
6979
6979
  i_(e, t, n);
6980
6980
  else
6981
- return F2(e, t);
6981
+ return FT(e, t);
6982
6982
  else
6983
- $2(e, t);
6983
+ $T(e, t);
6984
6984
  return e;
6985
6985
  }
6986
- const H2 = Object.prototype.toString;
6986
+ const HT = Object.prototype.toString;
6987
6987
  function ot(e) {
6988
6988
  return new fo(e);
6989
6989
  }
@@ -6996,7 +6996,7 @@ fo.prototype.add = function(e) {
6996
6996
  return this.list.add(e), this;
6997
6997
  };
6998
6998
  fo.prototype.remove = function(e) {
6999
- return H2.call(e) == "[object RegExp]" ? this.removeMatching(e) : (this.list.remove(e), this);
6999
+ return HT.call(e) == "[object RegExp]" ? this.removeMatching(e) : (this.list.remove(e), this);
7000
7000
  };
7001
7001
  fo.prototype.removeMatching = function(e) {
7002
7002
  const t = this.array();
@@ -7027,14 +7027,14 @@ var Zh = {
7027
7027
  function a_(e) {
7028
7028
  var t = !1;
7029
7029
  e.substring(0, 4) === "<svg" ? e.indexOf(Zh.svg) === -1 && (e = Fy + e.substring(4)) : (e = Fy + ">" + e + "</svg>", t = !0);
7030
- var n = z2(e);
7030
+ var n = zT(e);
7031
7031
  if (!t)
7032
7032
  return n;
7033
7033
  for (var r = document.createDocumentFragment(), o = n.firstChild; o.firstChild; )
7034
7034
  r.appendChild(o.firstChild);
7035
7035
  return r;
7036
7036
  }
7037
- function z2(e) {
7037
+ function zT(e) {
7038
7038
  var t;
7039
7039
  return t = new DOMParser(), t.async = !1, t.parseFromString(e, "text/xml");
7040
7040
  }
@@ -7052,7 +7052,7 @@ function $y(e, t) {
7052
7052
  e[r] = t[r];
7053
7053
  return e;
7054
7054
  }
7055
- function j2(e, t, n, r, o, a) {
7055
+ function jT(e, t, n, r, o, a) {
7056
7056
  var l = rh().createSVGMatrix();
7057
7057
  switch (arguments.length) {
7058
7058
  case 0:
@@ -7073,7 +7073,7 @@ function j2(e, t, n, r, o, a) {
7073
7073
  function xl(e) {
7074
7074
  return e ? rh().createSVGTransformFromMatrix(e) : rh().createSVGTransform();
7075
7075
  }
7076
- var Hy = /([&<>]{1})/g, W2 = /([&<>\n\r"]{1})/g, U2 = {
7076
+ var Hy = /([&<>]{1})/g, WT = /([&<>\n\r"]{1})/g, UT = {
7077
7077
  "&": "&amp;",
7078
7078
  "<": "&lt;",
7079
7079
  ">": "&gt;",
@@ -7081,7 +7081,7 @@ var Hy = /([&<>]{1})/g, W2 = /([&<>\n\r"]{1})/g, U2 = {
7081
7081
  };
7082
7082
  function Pd(e, t) {
7083
7083
  function n(r, o) {
7084
- return U2[o] || o;
7084
+ return UT[o] || o;
7085
7085
  }
7086
7086
  return e.replace(t, n);
7087
7087
  }
@@ -7094,7 +7094,7 @@ function s_(e, t) {
7094
7094
  case 1:
7095
7095
  if (t.push("<", e.tagName), e.hasAttributes())
7096
7096
  for (o = e.attributes, n = 0, r = o.length; n < r; ++n)
7097
- a = o.item(n), t.push(" ", a.name, '="', Pd(a.value, W2), '"');
7097
+ a = o.item(n), t.push(" ", a.name, '="', Pd(a.value, WT), '"');
7098
7098
  if (e.hasChildNodes()) {
7099
7099
  for (t.push(">"), l = e.childNodes, n = 0, r = l.length; n < r; ++n)
7100
7100
  s_(l.item(n), t);
@@ -7113,55 +7113,55 @@ function s_(e, t) {
7113
7113
  }
7114
7114
  return t;
7115
7115
  }
7116
- function G2(e, t) {
7116
+ function GT(e, t) {
7117
7117
  var n = a_(t);
7118
7118
  if (xp(e), !!t) {
7119
- K2(n) || (n = n.documentElement);
7120
- for (var r = q2(n.childNodes), o = 0; o < r.length; o++)
7119
+ KT(n) || (n = n.documentElement);
7120
+ for (var r = qT(n.childNodes), o = 0; o < r.length; o++)
7121
7121
  n_(r[o], e);
7122
7122
  }
7123
7123
  }
7124
- function V2(e) {
7124
+ function VT(e) {
7125
7125
  for (var t = e.firstChild, n = []; t; )
7126
7126
  s_(t, n), t = t.nextSibling;
7127
7127
  return n.join("");
7128
7128
  }
7129
- function K2(e) {
7129
+ function KT(e) {
7130
7130
  return e.nodeName === "#document-fragment";
7131
7131
  }
7132
7132
  function zy(e, t) {
7133
7133
  if (t !== void 0) {
7134
7134
  try {
7135
- G2(e, t);
7135
+ GT(e, t);
7136
7136
  } catch (n) {
7137
7137
  throw new Error("error parsing SVG: " + n.message);
7138
7138
  }
7139
7139
  return e;
7140
7140
  } else
7141
- return V2(e);
7141
+ return VT(e);
7142
7142
  }
7143
- function q2(e) {
7143
+ function qT(e) {
7144
7144
  return Array.prototype.slice.call(e);
7145
7145
  }
7146
7146
  function zt(e) {
7147
7147
  var t = e.parentNode;
7148
7148
  return t && t.removeChild(e), e;
7149
7149
  }
7150
- function Y2(e, t) {
7150
+ function YT(e, t) {
7151
7151
  return t instanceof SVGMatrix ? e.createSVGTransformFromMatrix(t) : t;
7152
7152
  }
7153
- function X2(e, t) {
7153
+ function XT(e, t) {
7154
7154
  var n, r;
7155
7155
  for (e.clear(), n = 0; r = t[n]; n++)
7156
- e.appendItem(Y2(e, r));
7156
+ e.appendItem(YT(e, r));
7157
7157
  }
7158
7158
  function Ml(e, t) {
7159
7159
  var n = e.transform.baseVal;
7160
- return t && (Array.isArray(t) || (t = [t]), X2(n, t)), n.consolidate();
7160
+ return t && (Array.isArray(t) || (t = [t]), XT(n, t)), n.consolidate();
7161
7161
  }
7162
- const Z2 = /^class[ {]/;
7163
- function Q2(e) {
7164
- return Z2.test(e.toString());
7162
+ const ZT = /^class[ {]/;
7163
+ function QT(e) {
7164
+ return ZT.test(e.toString());
7165
7165
  }
7166
7166
  function Qh(e) {
7167
7167
  return Array.isArray(e);
@@ -7174,16 +7174,16 @@ function Hc(...e) {
7174
7174
  const t = e.pop();
7175
7175
  return t.$inject = e, t;
7176
7176
  }
7177
- const J2 = /constructor\s*[^(]*\(\s*([^)]*)\)/m, eT = /^(?:async\s+)?(?:function\s*[^(]*)?(?:\(\s*([^)]*)\)|(\w+))/m, tT = /\/\*([^*]*)\*\//m;
7178
- function nT(e) {
7177
+ const JT = /constructor\s*[^(]*\(\s*([^)]*)\)/m, e2 = /^(?:async\s+)?(?:function\s*[^(]*)?(?:\(\s*([^)]*)\)|(\w+))/m, t2 = /\/\*([^*]*)\*\//m;
7178
+ function n2(e) {
7179
7179
  if (typeof e != "function")
7180
7180
  throw new Error(`Cannot annotate "${e}". Expected a function!`);
7181
- const t = e.toString().match(Q2(e) ? J2 : eT);
7181
+ const t = e.toString().match(QT(e) ? JT : e2);
7182
7182
  if (!t)
7183
7183
  return [];
7184
7184
  const n = t[1] || t[2];
7185
7185
  return n && n.split(",").map((r) => {
7186
- const o = r.match(tT);
7186
+ const o = r.match(t2);
7187
7187
  return (o && o[1] || r).trim();
7188
7188
  }) || [];
7189
7189
  }
@@ -7222,7 +7222,7 @@ function l_(e, t) {
7222
7222
  D = Hc(D.slice());
7223
7223
  else
7224
7224
  throw l(`Cannot invoke "${D}". Expected a function!`);
7225
- const M = (D.$inject || nT(D)).map((L) => Rd(k, L) ? k[L] : u(L));
7225
+ const M = (D.$inject || n2(D)).map((L) => Rd(k, L) ? k[L] : u(L));
7226
7226
  return {
7227
7227
  fn: D,
7228
7228
  dependencies: M
@@ -7299,7 +7299,7 @@ function l_(e, t) {
7299
7299
  return;
7300
7300
  }
7301
7301
  const M = D[P][0], L = D[P][1];
7302
- r[P] = [b[M], rT(M, L), M];
7302
+ r[P] = [b[M], r2(M, L), M];
7303
7303
  }), _(D, a);
7304
7304
  }
7305
7305
  function T(D, k) {
@@ -7314,13 +7314,13 @@ function l_(e, t) {
7314
7314
  }
7315
7315
  this.get = u, this.invoke = v, this.instantiate = d, this.createChild = y, this.init = I(e);
7316
7316
  }
7317
- function rT(e, t) {
7317
+ function r2(e, t) {
7318
7318
  return e !== "value" && Qh(t) && (t = Hc(t.slice())), t;
7319
7319
  }
7320
- var iT = 1e3;
7320
+ var i2 = 1e3;
7321
7321
  function Li(e, t) {
7322
7322
  var n = this;
7323
- t = t || iT, e.on(["render.shape", "render.connection"], t, function(r, o) {
7323
+ t = t || i2, e.on(["render.shape", "render.connection"], t, function(r, o) {
7324
7324
  var a = r.type, l = o.element, u = o.gfx, c = o.attrs;
7325
7325
  if (n.canRender(l))
7326
7326
  return a === "render.shape" ? n.drawShape(u, l, c) : n.drawConnection(u, l, c);
@@ -7342,17 +7342,17 @@ Li.prototype.getConnectionPath = function(e) {
7342
7342
  function Ea(e) {
7343
7343
  return e.flat().join(",").replace(/,?([A-z]),?/g, "$1");
7344
7344
  }
7345
- function oT(e) {
7345
+ function o2(e) {
7346
7346
  return ["M", e.x, e.y];
7347
7347
  }
7348
7348
  function Dd(e) {
7349
7349
  return ["L", e.x, e.y];
7350
7350
  }
7351
- function aT(e, t, n) {
7351
+ function a2(e, t, n) {
7352
7352
  return ["C", e.x, e.y, t.x, t.y, n.x, n.y];
7353
7353
  }
7354
- function sT(e, t) {
7355
- const n = e.length, r = [oT(e[0])];
7354
+ function s2(e, t) {
7355
+ const n = e.length, r = [o2(e[0])];
7356
7356
  for (let o = 1; o < n; o++) {
7357
7357
  const a = e[o - 1], l = e[o], u = e[o + 1];
7358
7358
  if (!u || !t) {
@@ -7369,7 +7369,7 @@ function sT(e, t) {
7369
7369
  continue;
7370
7370
  }
7371
7371
  const d = cc(l, a, c), v = cc(l, a, c * 0.5), m = cc(l, u, c), y = cc(l, u, c * 0.5);
7372
- r.push(Dd(d)), r.push(aT(v, y, m));
7372
+ r.push(Dd(d)), r.push(a2(v, y, m));
7373
7373
  }
7374
7374
  return r;
7375
7375
  }
@@ -7391,7 +7391,7 @@ function wp(e, t, n) {
7391
7391
  function u_(e, t) {
7392
7392
  const n = parseInt(e.dataset.cornerRadius, 10) || 0;
7393
7393
  return Se(e, {
7394
- d: Ea(sT(t, n))
7394
+ d: Ea(s2(t, n))
7395
7395
  }), e;
7396
7396
  }
7397
7397
  function Sp(e) {
@@ -7419,7 +7419,7 @@ function _a(e, t, n) {
7419
7419
  et(a) && a.length && _a(a, t, n + 1);
7420
7420
  });
7421
7421
  }
7422
- function lT(e, t, n) {
7422
+ function l2(e, t, n) {
7423
7423
  var r = [], o = [];
7424
7424
  return _a(e, function(a, l, u) {
7425
7425
  jy(r, a, t);
@@ -7429,9 +7429,9 @@ function lT(e, t, n) {
7429
7429
  }), r;
7430
7430
  }
7431
7431
  function Wl(e, t) {
7432
- return lT(e, !t, -1);
7432
+ return l2(e, !t, -1);
7433
7433
  }
7434
- function uT(e, t, n) {
7434
+ function u2(e, t, n) {
7435
7435
  ki(t) && (t = !0), _n(t) && (n = t, t = !0), n = n || {};
7436
7436
  var r = cl(n.allShapes), o = cl(n.allConnections), a = cl(n.enclosedElements), l = cl(n.enclosedConnections), u = cl(
7437
7437
  n.topLevel,
@@ -7471,7 +7471,7 @@ function jt(e, t) {
7471
7471
  width: o - n
7472
7472
  };
7473
7473
  }
7474
- function cT(e, t) {
7474
+ function c2(e, t) {
7475
7475
  var n = {};
7476
7476
  return W(e, function(r) {
7477
7477
  var o = r;
@@ -7487,9 +7487,9 @@ function f_(e) {
7487
7487
  function cl(e, t) {
7488
7488
  return q({}, e || {}, t || {});
7489
7489
  }
7490
- var pT = 1;
7490
+ var p2 = 1;
7491
7491
  function Eo(e, t) {
7492
- Li.call(this, e, pT), this.CONNECTION_STYLE = t.style(["no-fill"], { strokeWidth: 5, stroke: "fuchsia" }), this.SHAPE_STYLE = t.style({ fill: "white", stroke: "fuchsia", strokeWidth: 2 }), this.FRAME_STYLE = t.style(["no-fill"], { stroke: "fuchsia", strokeDasharray: 4, strokeWidth: 2 });
7492
+ Li.call(this, e, p2), this.CONNECTION_STYLE = t.style(["no-fill"], { strokeWidth: 5, stroke: "fuchsia" }), this.SHAPE_STYLE = t.style({ fill: "white", stroke: "fuchsia", strokeWidth: 2 }), this.FRAME_STYLE = t.style(["no-fill"], { stroke: "fuchsia", strokeDasharray: 4, strokeWidth: 2 });
7493
7493
  }
7494
7494
  Re(Eo, Li);
7495
7495
  Eo.prototype.canRender = function() {
@@ -7525,7 +7525,7 @@ Eo.prototype.getConnectionPath = function(t) {
7525
7525
  return Ea(a);
7526
7526
  };
7527
7527
  Eo.$inject = ["eventBus", "styles"];
7528
- function fT() {
7528
+ function f2() {
7529
7529
  var e = {
7530
7530
  "no-fill": {
7531
7531
  fill: "none"
@@ -7550,10 +7550,10 @@ function fT() {
7550
7550
  return et(r) || (o = r, r = []), t.style(r || [], q({}, o, n || {}));
7551
7551
  };
7552
7552
  }
7553
- const dT = {
7553
+ const d2 = {
7554
7554
  __init__: ["defaultRenderer"],
7555
7555
  defaultRenderer: ["type", Eo],
7556
- styles: ["type", fT]
7556
+ styles: ["type", f2]
7557
7557
  };
7558
7558
  function Wt(e, t) {
7559
7559
  if (!e || !t)
@@ -7590,7 +7590,7 @@ function ev(e, t, n, r) {
7590
7590
  var o = (t.x - e.x) * (n.y - e.y) - (t.y - e.y) * (n.x - e.x), a = Ul(e, t);
7591
7591
  return Math.abs(o / a) <= r;
7592
7592
  }
7593
- var hT = 2;
7593
+ var h2 = 2;
7594
7594
  function Ci(e, t) {
7595
7595
  var n = Array.from(arguments).flat();
7596
7596
  const r = {
@@ -7598,14 +7598,14 @@ function Ci(e, t) {
7598
7598
  y: "h"
7599
7599
  };
7600
7600
  for (const [o, a] of Object.entries(r))
7601
- if (vT(o, n))
7601
+ if (v2(o, n))
7602
7602
  return a;
7603
7603
  return !1;
7604
7604
  }
7605
- function vT(e, t) {
7605
+ function v2(e, t) {
7606
7606
  const n = t[0];
7607
7607
  return yo(t, function(r) {
7608
- return Math.abs(n[e] - r[e]) <= hT;
7608
+ return Math.abs(n[e] - r[e]) <= h2;
7609
7609
  });
7610
7610
  }
7611
7611
  function Wy(e, t, n) {
@@ -7617,7 +7617,7 @@ function oh(e, t) {
7617
7617
  y: Math.round(e.y + (t.y - e.y) / 2)
7618
7618
  };
7619
7619
  }
7620
- var mT = /,?([a-z]),?/gi, Uy = parseFloat, Ft = Math, ro = Ft.PI, Zr = Ft.min, Qr = Ft.max, Gy = Ft.pow, lo = Ft.abs, gT = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/ig, yT = /(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/ig, rp = Array.isArray || function(e) {
7620
+ var m2 = /,?([a-z]),?/gi, Uy = parseFloat, Ft = Math, ro = Ft.PI, Zr = Ft.min, Qr = Ft.max, Gy = Ft.pow, lo = Ft.abs, g2 = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/ig, y2 = /(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/ig, rp = Array.isArray || function(e) {
7621
7621
  return e instanceof Array;
7622
7622
  };
7623
7623
  function tv(e, t) {
@@ -7631,28 +7631,28 @@ function wl(e) {
7631
7631
  tv(e, n) && (t[n] = wl(e[n]));
7632
7632
  return t;
7633
7633
  }
7634
- function bT(e, t) {
7634
+ function b2(e, t) {
7635
7635
  for (var n = 0, r = e.length; n < r; n++)
7636
7636
  if (e[n] === t)
7637
7637
  return e.push(e.splice(n, 1)[0]);
7638
7638
  }
7639
- function ET(e) {
7639
+ function E2(e) {
7640
7640
  function t() {
7641
7641
  var n = Array.prototype.slice.call(arguments, 0), r = n.join("␀"), o = t.cache = t.cache || {}, a = t.count = t.count || [];
7642
- return tv(o, r) ? (bT(a, r), o[r]) : (a.length >= 1e3 && delete o[a.shift()], a.push(r), o[r] = e.apply(0, n), o[r]);
7642
+ return tv(o, r) ? (b2(a, r), o[r]) : (a.length >= 1e3 && delete o[a.shift()], a.push(r), o[r] = e.apply(0, n), o[r]);
7643
7643
  }
7644
7644
  return t;
7645
7645
  }
7646
- function _T(e) {
7646
+ function _2(e) {
7647
7647
  if (!e)
7648
7648
  return null;
7649
7649
  var t = us(e);
7650
7650
  if (t.arr)
7651
7651
  return wl(t.arr);
7652
7652
  var n = { a: 7, c: 6, h: 1, l: 2, m: 2, q: 4, s: 4, t: 2, v: 1, z: 0 }, r = [];
7653
- return rp(e) && rp(e[0]) && (r = wl(e)), r.length || String(e).replace(gT, function(o, a, l) {
7653
+ return rp(e) && rp(e[0]) && (r = wl(e)), r.length || String(e).replace(g2, function(o, a, l) {
7654
7654
  var u = [], c = a.toLowerCase();
7655
- for (l.replace(yT, function(d, v) {
7655
+ for (l.replace(y2, function(d, v) {
7656
7656
  v && u.push(+v);
7657
7657
  }), c == "m" && u.length > 2 && (r.push([a].concat(u.splice(0, 2))), c = "l", a = a == "m" ? "l" : "L"); u.length >= n[c] && (r.push([a].concat(u.splice(0, n[c]))), !!n[c]); )
7658
7658
  ;
@@ -7678,7 +7678,7 @@ function ah(e, t, n, r) {
7678
7678
  };
7679
7679
  }
7680
7680
  function d_() {
7681
- return this.join(",").replace(mT, "$1");
7681
+ return this.join(",").replace(m2, "$1");
7682
7682
  }
7683
7683
  function ip(e) {
7684
7684
  var t = wl(e);
@@ -7692,7 +7692,7 @@ function Vy(e, t, n, r, o, a, l, u, c) {
7692
7692
  };
7693
7693
  }
7694
7694
  function Ky(e) {
7695
- var t = AT.apply(null, e);
7695
+ var t = A2.apply(null, e);
7696
7696
  return ah(
7697
7697
  t.x0,
7698
7698
  t.y0,
@@ -7703,7 +7703,7 @@ function Ky(e) {
7703
7703
  function io(e, t, n) {
7704
7704
  return t >= e.x && t <= e.x + e.width && n >= e.y && n <= e.y + e.height;
7705
7705
  }
7706
- function xT(e, t) {
7706
+ function x2(e, t) {
7707
7707
  return e = ah(e), t = ah(t), io(t, e.x, e.y) || io(t, e.x2, e.y) || io(t, e.x, e.y2) || io(t, e.x2, e.y2) || io(e, t.x, t.y) || io(e, t.x2, t.y) || io(e, t.x, t.y2) || io(e, t.x2, t.y2) || (e.x < t.x2 && e.x > t.x || t.x < e.x2 && t.x > e.x) && (e.y < t.y2 && e.y > t.y || t.y < e.y2 && t.y > e.y);
7708
7708
  }
7709
7709
  function qy(e, t, n, r, o) {
@@ -7718,7 +7718,7 @@ function Yy(e, t, n, r, o, a, l, u, c) {
7718
7718
  }
7719
7719
  return d * b;
7720
7720
  }
7721
- function wT(e, t, n, r, o, a, l, u) {
7721
+ function w2(e, t, n, r, o, a, l, u) {
7722
7722
  if (!(Qr(e, n) < Zr(o, l) || Zr(e, n) > Qr(o, l) || Qr(t, r) < Zr(a, u) || Zr(t, r) > Qr(a, u))) {
7723
7723
  var c = (e * r - t * n) * (o - l) - (e - n) * (o * u - a * l), d = (e * r - t * n) * (a - u) - (t - r) * (o * u - a * l), v = (e - n) * (a - u) - (t - r) * (o - l);
7724
7724
  if (v) {
@@ -7731,9 +7731,9 @@ function wT(e, t, n, r, o, a, l, u) {
7731
7731
  function op(e) {
7732
7732
  return Math.round(e * 1e11) / 1e11;
7733
7733
  }
7734
- function ST(e, t, n) {
7734
+ function S2(e, t, n) {
7735
7735
  var r = Ky(e), o = Ky(t);
7736
- if (!xT(r, o))
7736
+ if (!x2(r, o))
7737
7737
  return n ? 0 : [];
7738
7738
  for (var a = Yy.apply(0, e), l = Yy.apply(0, t), u = Xy(e) ? 1 : ~~(a / 5) || 1, c = Xy(t) ? 1 : ~~(l / 5) || 1, d = [], v = [], m = {}, y = n ? 0 : [], b = 0; b < u + 1; b++) {
7739
7739
  var _ = Vy.apply(0, e.concat(b / u));
@@ -7743,7 +7743,7 @@ function ST(e, t, n) {
7743
7743
  _ = Vy.apply(0, t.concat(b / c)), v.push({ x: _.x, y: _.y, t: b / c });
7744
7744
  for (b = 0; b < u; b++)
7745
7745
  for (var w = 0; w < c; w++) {
7746
- var T = d[b], I = d[b + 1], D = v[w], k = v[w + 1], P = lo(I.x - T.x) < 0.01 ? "y" : "x", M = lo(k.x - D.x) < 0.01 ? "y" : "x", L = wT(T.x, T.y, I.x, I.y, D.x, D.y, k.x, k.y), j;
7746
+ var T = d[b], I = d[b + 1], D = v[w], k = v[w + 1], P = lo(I.x - T.x) < 0.01 ? "y" : "x", M = lo(k.x - D.x) < 0.01 ? "y" : "x", L = w2(T.x, T.y, I.x, I.y, D.x, D.y, k.x, k.y), j;
7747
7747
  if (L) {
7748
7748
  if (j = L.x.toFixed(9) + "#" + L.y.toFixed(9), m[j])
7749
7749
  continue;
@@ -7759,7 +7759,7 @@ function ST(e, t, n) {
7759
7759
  }
7760
7760
  return y;
7761
7761
  }
7762
- function CT(e, t, n) {
7762
+ function C2(e, t, n) {
7763
7763
  e = Qy(e), t = Qy(t);
7764
7764
  for (var r, o, a, l, u, c, d, v, m, y, b = n ? 0 : [], _ = 0, w = e.length; _ < w; _++) {
7765
7765
  var T = e[_];
@@ -7773,7 +7773,7 @@ function CT(e, t, n) {
7773
7773
  a = d = k[1], l = v = k[2];
7774
7774
  else {
7775
7775
  k[0] == "C" ? (y = [a, l].concat(k.slice(1)), a = y[6], l = y[7]) : (y = [a, l, a, l, d, v, d, v], a = d, l = v);
7776
- var P = ST(m, y, n);
7776
+ var P = S2(m, y, n);
7777
7777
  if (n)
7778
7778
  b += P;
7779
7779
  else {
@@ -7787,11 +7787,11 @@ function CT(e, t, n) {
7787
7787
  }
7788
7788
  return b;
7789
7789
  }
7790
- function TT(e) {
7790
+ function T2(e) {
7791
7791
  var t = us(e);
7792
7792
  if (t.abs)
7793
7793
  return ip(t.abs);
7794
- if ((!rp(e) || !rp(e && e[0])) && (e = _T(e)), !e || !e.length)
7794
+ if ((!rp(e) || !rp(e && e[0])) && (e = _2(e)), !e || !e.length)
7795
7795
  return [["M", 0, 0]];
7796
7796
  var n = [], r = 0, o = 0, a = 0, l = 0, u = 0, c;
7797
7797
  e[0][0] == "M" && (r = +e[0][1], o = +e[0][2], a = r, l = o, u++, n[0] = ["M", r, o]);
@@ -7859,7 +7859,7 @@ function Zy(e, t, n, r, o, a) {
7859
7859
  ];
7860
7860
  }
7861
7861
  function h_(e, t, n, r, o, a, l, u, c, d) {
7862
- var v = ro * 120 / 180, m = ro / 180 * (+o || 0), y = [], b, _ = ET(function(He, ie, oe) {
7862
+ var v = ro * 120 / 180, m = ro / 180 * (+o || 0), y = [], b, _ = E2(function(He, ie, oe) {
7863
7863
  var me = He * Ft.cos(oe) - ie * Ft.sin(oe), Be = He * Ft.sin(oe) + ie * Ft.cos(oe);
7864
7864
  return { x: me, y: Be };
7865
7865
  });
@@ -7886,7 +7886,7 @@ function h_(e, t, n, r, o, a, l, u, c, d) {
7886
7886
  X[ee] = ee % 2 ? _(y[ee - 1], y[ee], m).y : _(y[ee], y[ee + 1], m).x;
7887
7887
  return X;
7888
7888
  }
7889
- function AT(e, t, n, r, o, a, l, u) {
7889
+ function A2(e, t, n, r, o, a, l, u) {
7890
7890
  for (var c = [], d = [[], []], v, m, y, b, _, w, T, I, D = 0; D < 2; ++D) {
7891
7891
  if (D == 0 ? (m = 6 * e - 12 * n + 6 * o, v = -3 * e + 9 * n - 9 * o + 3 * l, y = 3 * n - 3 * e) : (m = 6 * t - 12 * r + 6 * a, v = -3 * t + 9 * r - 9 * a + 3 * u, y = 3 * r - 3 * t), lo(v) < 1e-12) {
7892
7892
  if (lo(m) < 1e-12)
@@ -7909,7 +7909,7 @@ function Qy(e) {
7909
7909
  var t = us(e);
7910
7910
  if (t.curve)
7911
7911
  return ip(t.curve);
7912
- for (var n = TT(e), r = { x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null }, o = function(b, _, w) {
7912
+ for (var n = T2(e), r = { x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null }, o = function(b, _, w) {
7913
7913
  var T, I;
7914
7914
  if (!b)
7915
7915
  return ["C", _.x, _.y, _.x, _.y, _.x, _.y];
@@ -7957,8 +7957,8 @@ function Qy(e) {
7957
7957
  }
7958
7958
  return t.curve = ip(n), n;
7959
7959
  }
7960
- var PT = CT;
7961
- const v_ = /* @__PURE__ */ ms(PT);
7960
+ var P2 = C2;
7961
+ const v_ = /* @__PURE__ */ ms(P2);
7962
7962
  function m_(e) {
7963
7963
  return {
7964
7964
  x: Math.round(e.x),
@@ -7989,17 +7989,17 @@ function Cp(e) {
7989
7989
  height: e.bottom - e.top
7990
7990
  };
7991
7991
  }
7992
- function RT(e) {
7992
+ function R2(e) {
7993
7993
  return Pi({
7994
7994
  x: e.x + (e.width || 0) / 2,
7995
7995
  y: e.y + (e.height || 0) / 2
7996
7996
  });
7997
7997
  }
7998
- function DT(e) {
7998
+ function D2(e) {
7999
7999
  for (var t = e.waypoints, n = t.reduce(function(d, v, m) {
8000
8000
  var y = t[m - 1];
8001
8001
  if (y) {
8002
- var b = d[d.length - 1], _ = b && b.endLength || 0, w = NT(y, v);
8002
+ var b = d[d.length - 1], _ = b && b.endLength || 0, w = N2(y, v);
8003
8003
  d.push({
8004
8004
  start: y,
8005
8005
  end: v,
@@ -8020,7 +8020,7 @@ function DT(e) {
8020
8020
  return c;
8021
8021
  }
8022
8022
  function qe(e) {
8023
- return LT(e) ? DT(e) : RT(e);
8023
+ return L2(e) ? D2(e) : R2(e);
8024
8024
  }
8025
8025
  function Rn(e, t, n) {
8026
8026
  n = n || 0, _n(n) || (n = { x: n, y: n });
@@ -8028,25 +8028,25 @@ function Rn(e, t, n) {
8028
8028
  return v && d ? d + "-" + v : v || d || "intersect";
8029
8029
  }
8030
8030
  function sh(e, t, n) {
8031
- var r = kT(e, t);
8031
+ var r = k2(e, t);
8032
8032
  return r.length === 1 || r.length === 2 && Ul(r[0], r[1]) < 1 ? Pi(r[0]) : r.length > 1 ? (r = $r(r, function(o) {
8033
8033
  var a = Math.floor(o.t2 * 100) || 1;
8034
8034
  return a = 100 - a, a = (a < 10 ? "0" : "") + a, o.segment2 + "#" + a;
8035
8035
  }), Pi(r[n ? 0 : r.length - 1])) : null;
8036
8036
  }
8037
- function kT(e, t) {
8037
+ function k2(e, t) {
8038
8038
  return v_(e, t);
8039
8039
  }
8040
- function MT(e) {
8040
+ function M2(e) {
8041
8041
  e = e.slice();
8042
8042
  for (var t = 0, n, r, o; e[t]; )
8043
8043
  n = e[t], r = e[t - 1], o = e[t + 1], Ul(n, o) === 0 || ev(r, o, n) ? e.splice(t, 1) : t++;
8044
8044
  return e;
8045
8045
  }
8046
- function NT(e, t) {
8046
+ function N2(e, t) {
8047
8047
  return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
8048
8048
  }
8049
- function LT(e) {
8049
+ function L2(e) {
8050
8050
  return !!e.waypoints;
8051
8051
  }
8052
8052
  function zc(e, t) {
@@ -8055,12 +8055,12 @@ function zc(e, t) {
8055
8055
  function Jy(e) {
8056
8056
  return Ge(e) ? e + "px" : e;
8057
8057
  }
8058
- function OT(e) {
8058
+ function O2(e) {
8059
8059
  for (; e.parent; )
8060
8060
  e = e.parent;
8061
8061
  return e;
8062
8062
  }
8063
- function IT(e) {
8063
+ function I2(e) {
8064
8064
  e = q({}, { width: "100%", height: "100%" }, e);
8065
8065
  const t = e.container || document.body, n = document.createElement("div");
8066
8066
  return n.setAttribute("class", "djs-container djs-parent"), bn(n, {
@@ -8076,7 +8076,7 @@ function g_(e, t, n) {
8076
8076
  const o = n !== void 0 ? n : e.childNodes.length - 1;
8077
8077
  return e.insertBefore(r, e.childNodes[o] || null), r;
8078
8078
  }
8079
- const BT = "base", y_ = 0, FT = 1, $T = {
8079
+ const B2 = "base", y_ = 0, F2 = 1, $2 = {
8080
8080
  shape: ["x", "y", "width", "height"],
8081
8081
  connection: ["waypoints"]
8082
8082
  };
@@ -8090,7 +8090,7 @@ Ze.$inject = [
8090
8090
  "elementRegistry"
8091
8091
  ];
8092
8092
  Ze.prototype._init = function(e) {
8093
- const t = this._eventBus, n = this._container = IT(e), r = this._svg = $e("svg");
8093
+ const t = this._eventBus, n = this._container = I2(e), r = this._svg = $e("svg");
8094
8094
  Se(r, { width: "100%", height: "100%" }), Ve(n, r);
8095
8095
  const o = this._viewport = g_(r, "viewport");
8096
8096
  e.deferUpdate !== !1 && (this._viewboxChanged = ZE(Qt(this._viewboxChanged, this), 300)), t.on("diagram.init", () => {
@@ -8124,7 +8124,7 @@ Ze.prototype._clear = function() {
8124
8124
  }), this._planes = [], this._rootElement = null, delete this._cachedViewbox;
8125
8125
  };
8126
8126
  Ze.prototype.getDefaultLayer = function() {
8127
- return this.getLayer(BT, y_);
8127
+ return this.getLayer(B2, y_);
8128
8128
  };
8129
8129
  Ze.prototype.getLayer = function(e, t) {
8130
8130
  if (!e)
@@ -8140,7 +8140,7 @@ Ze.prototype._getChildIndex = function(e) {
8140
8140
  }, 0);
8141
8141
  };
8142
8142
  Ze.prototype._createLayer = function(e, t) {
8143
- typeof t > "u" && (t = FT);
8143
+ typeof t > "u" && (t = F2);
8144
8144
  const n = this._getChildIndex(t);
8145
8145
  return {
8146
8146
  group: g_(this._viewport, "layer-" + e, n),
@@ -8179,7 +8179,7 @@ Ze.prototype.getActiveLayer = function() {
8179
8179
  };
8180
8180
  Ze.prototype.findRoot = function(e) {
8181
8181
  return typeof e == "string" && (e = this._elementRegistry.get(e)), e ? (this._findPlaneForRoot(
8182
- OT(e)
8182
+ O2(e)
8183
8183
  ) || {}).rootElement : void 0;
8184
8184
  };
8185
8185
  Ze.prototype.getRootElements = function() {
@@ -8267,7 +8267,7 @@ Ze.prototype._ensureValid = function(e, t) {
8267
8267
  throw new Error("element must have an id");
8268
8268
  if (this._elementRegistry.get(t.id))
8269
8269
  throw new Error("element <" + t.id + "> already exists");
8270
- const n = $T[e];
8270
+ const n = $2[e];
8271
8271
  if (!yo(n, function(o) {
8272
8272
  return typeof t[o] < "u";
8273
8273
  }))
@@ -8323,7 +8323,7 @@ Ze.prototype.viewbox = function(e) {
8323
8323
  Ml(t, v);
8324
8324
  });
8325
8325
  else
8326
- return a = this._rootElement ? this.getActiveLayer() : null, r = a && a.getBBox() || {}, l = Ml(t), o = l ? l.matrix : j2(), u = zc(o.a, 1e3), c = zc(-o.e || 0, 1e3), d = zc(-o.f || 0, 1e3), e = this._cachedViewbox = {
8326
+ return a = this._rootElement ? this.getActiveLayer() : null, r = a && a.getBBox() || {}, l = Ml(t), o = l ? l.matrix : jT(), u = zc(o.a, 1e3), c = zc(-o.e || 0, 1e3), d = zc(-o.f || 0, 1e3), e = this._cachedViewbox = {
8327
8327
  x: c ? c / u : 0,
8328
8328
  y: d ? d / u : 0,
8329
8329
  width: n.width / u,
@@ -8495,7 +8495,7 @@ dr.prototype._validateId = function(e) {
8495
8495
  throw new Error("element with id " + e + " already added");
8496
8496
  };
8497
8497
  var nv = { exports: {} }, Tp = {};
8498
- function HT(e, t, n, r) {
8498
+ function H2(e, t, n, r) {
8499
8499
  var o = n.inverse;
8500
8500
  return Object.defineProperty(e, "remove", {
8501
8501
  value: function(a) {
@@ -8520,13 +8520,13 @@ function HT(e, t, n, r) {
8520
8520
  value: !0
8521
8521
  }), e;
8522
8522
  }
8523
- function zT(e) {
8523
+ function z2(e) {
8524
8524
  return e.__refs_collection === !0;
8525
8525
  }
8526
- Tp.extend = HT;
8527
- Tp.isExtended = zT;
8526
+ Tp.extend = H2;
8527
+ Tp.isExtended = z2;
8528
8528
  var E_ = Tp;
8529
- function jT(e, t) {
8529
+ function j2(e, t) {
8530
8530
  return Object.prototype.hasOwnProperty.call(e, t.name || t);
8531
8531
  }
8532
8532
  function __(e, t, n) {
@@ -8538,7 +8538,7 @@ function __(e, t, n) {
8538
8538
  e.set(o, t.inverse, n);
8539
8539
  });
8540
8540
  }
8541
- function WT(e, t, n) {
8541
+ function W2(e, t, n) {
8542
8542
  var r = t.inverse, o = n[t.name];
8543
8543
  Object.defineProperty(n, t.name, {
8544
8544
  configurable: t.configurable,
@@ -8565,14 +8565,14 @@ ho.prototype.bind = function(e, t) {
8565
8565
  throw new Error("no property <" + t + "> in ref");
8566
8566
  t = this.props[t];
8567
8567
  }
8568
- t.collection ? __(this, t, e) : WT(this, t, e);
8568
+ t.collection ? __(this, t, e) : W2(this, t, e);
8569
8569
  };
8570
8570
  ho.prototype.ensureRefsCollection = function(e, t) {
8571
8571
  var n = e[t.name];
8572
8572
  return E_.isExtended(n) || __(this, t, e), n;
8573
8573
  };
8574
8574
  ho.prototype.ensureBound = function(e, t) {
8575
- jT(e, t) || this.bind(e, t);
8575
+ j2(e, t) || this.bind(e, t);
8576
8576
  };
8577
8577
  ho.prototype.unset = function(e, t, n) {
8578
8578
  e && (this.ensureBound(e, t), t.collection ? this.ensureRefsCollection(e, t).remove(n) : e[t.name] = void 0);
@@ -8580,11 +8580,11 @@ ho.prototype.unset = function(e, t, n) {
8580
8580
  ho.prototype.set = function(e, t, n) {
8581
8581
  e && (this.ensureBound(e, t), t.collection ? this.ensureRefsCollection(e, t).add(n) : e[t.name] = n);
8582
8582
  };
8583
- var UT = ho;
8584
- nv.exports = UT;
8583
+ var U2 = ho;
8584
+ nv.exports = U2;
8585
8585
  nv.exports.Collection = Tp;
8586
- var GT = nv.exports;
8587
- const Gl = /* @__PURE__ */ ms(GT);
8586
+ var G2 = nv.exports;
8587
+ const Gl = /* @__PURE__ */ ms(G2);
8588
8588
  var x_ = new Gl({ name: "children", enumerable: !0, collection: !0 }, { name: "parent" }), w_ = new Gl({ name: "labels", enumerable: !0, collection: !0 }, { name: "labelTarget" }), e0 = new Gl({ name: "attachers", collection: !0 }, { name: "host" }), S_ = new Gl({ name: "outgoing", collection: !0 }, { name: "source" }), C_ = new Gl({ name: "incoming", collection: !0 }, { name: "target" });
8589
8589
  function Vl() {
8590
8590
  Object.defineProperty(this, "businessObject", {
@@ -8615,14 +8615,14 @@ function A_() {
8615
8615
  Vl.call(this), S_.bind(this, "source"), C_.bind(this, "target");
8616
8616
  }
8617
8617
  Re(A_, Vl);
8618
- var VT = {
8618
+ var V2 = {
8619
8619
  connection: A_,
8620
8620
  shape: ys,
8621
8621
  label: Ap,
8622
8622
  root: T_
8623
8623
  };
8624
- function KT(e, t) {
8625
- var n = VT[e];
8624
+ function K2(e, t) {
8625
+ var n = V2[e];
8626
8626
  if (!n)
8627
8627
  throw new Error("unknown type: <" + e + ">");
8628
8628
  return q(new n(), t);
@@ -8643,9 +8643,9 @@ Oi.prototype.createConnection = function(e) {
8643
8643
  return this.create("connection", e);
8644
8644
  };
8645
8645
  Oi.prototype.create = function(e, t) {
8646
- return t = q({}, t || {}), t.id || (t.id = e + "_" + this._uid++), KT(e, t);
8646
+ return t = q({}, t || {}), t.id || (t.id = e + "_" + this._uid++), K2(e, t);
8647
8647
  };
8648
- var ap = "__fn", P_ = 1e3, qT = Array.prototype.slice;
8648
+ var ap = "__fn", P_ = 1e3, q2 = Array.prototype.slice;
8649
8649
  function sr() {
8650
8650
  this._listeners = {}, this.on("diagram.destroy", 1, this._destroy, this);
8651
8651
  }
@@ -8687,7 +8687,7 @@ sr.prototype.createEvent = function(e) {
8687
8687
  };
8688
8688
  sr.prototype.fire = function(e, t) {
8689
8689
  var n, r, o, a;
8690
- if (a = qT.call(arguments), typeof e == "object" && (t = e, e = t.type), !e)
8690
+ if (a = q2.call(arguments), typeof e == "object" && (t = e, e = t.type), !e)
8691
8691
  throw new Error("no event type specified");
8692
8692
  if (r = this._listeners[e], !!r) {
8693
8693
  t instanceof Kl ? n = t : n = this.createEvent(t), a[0] = n;
@@ -8717,7 +8717,7 @@ sr.prototype._invokeListener = function(e, t, n) {
8717
8717
  if (n.callback.__isTomb)
8718
8718
  return r;
8719
8719
  try {
8720
- r = YT(n.callback, t), r !== void 0 && (e.returnValue = r, e.stopPropagation()), r === !1 && e.preventDefault();
8720
+ r = Y2(n.callback, t), r !== void 0 && (e.returnValue = r, e.stopPropagation()), r === !1 && e.preventDefault();
8721
8721
  } catch (o) {
8722
8722
  if (!this.handleError(o))
8723
8723
  throw console.error("unhandled error in event listener", o), o;
@@ -8765,13 +8765,13 @@ Kl.prototype.preventDefault = function() {
8765
8765
  Kl.prototype.init = function(e) {
8766
8766
  q(this, e || {});
8767
8767
  };
8768
- function YT(e, t) {
8768
+ function Y2(e, t) {
8769
8769
  return e.apply(null, t);
8770
8770
  }
8771
8771
  function sp(e) {
8772
8772
  return e.childNodes[0];
8773
8773
  }
8774
- function XT(e) {
8774
+ function X2(e) {
8775
8775
  return e.parentNode.childNodes[1];
8776
8776
  }
8777
8777
  function lh(e, t, n, r, o) {
@@ -8796,7 +8796,7 @@ function hr(e, t) {
8796
8796
  hr.$inject = ["eventBus", "elementRegistry"];
8797
8797
  hr.prototype._getChildrenContainer = function(e) {
8798
8798
  var t = this._elementRegistry.getGraphics(e), n;
8799
- return e.parent ? (n = XT(t), n || (n = $e("g"), ot(n).add("djs-children"), Ve(t.parentNode, n))) : n = t, n;
8799
+ return e.parent ? (n = X2(t), n || (n = $e("g"), ot(n).add("djs-children"), Ve(t.parentNode, n))) : n = t, n;
8800
8800
  };
8801
8801
  hr.prototype._clear = function(e) {
8802
8802
  var t = sp(e);
@@ -8865,8 +8865,8 @@ function D_(e, t, n) {
8865
8865
  var r = n || t.firstChild;
8866
8866
  e !== r && t.insertBefore(e, r);
8867
8867
  }
8868
- const ZT = {
8869
- __depends__: [dT],
8868
+ const Z2 = {
8869
+ __depends__: [d2],
8870
8870
  __init__: ["canvas"],
8871
8871
  canvas: ["type", Ze],
8872
8872
  elementRegistry: ["type", dr],
@@ -8874,19 +8874,19 @@ const ZT = {
8874
8874
  eventBus: ["type", sr],
8875
8875
  graphicsFactory: ["type", hr]
8876
8876
  };
8877
- function QT(e) {
8877
+ function Q2(e) {
8878
8878
  var t = new l_(e);
8879
8879
  return t.init(), t;
8880
8880
  }
8881
- function JT(e) {
8881
+ function J2(e) {
8882
8882
  e = e || {};
8883
8883
  var t = {
8884
8884
  config: ["value", e]
8885
- }, n = [t, ZT].concat(e.modules || []);
8886
- return QT(n);
8885
+ }, n = [t, Z2].concat(e.modules || []);
8886
+ return Q2(n);
8887
8887
  }
8888
8888
  function bs(e, t) {
8889
- this.injector = t = t || JT(e), this.get = t.get, this.invoke = t.invoke, this.get("eventBus").fire("diagram.init");
8889
+ this.injector = t = t || J2(e), this.get = t.get, this.invoke = t.invoke, this.get("eventBus").fire("diagram.init");
8890
8890
  }
8891
8891
  bs.prototype.destroy = function() {
8892
8892
  this.get("eventBus").fire("diagram.destroy");
@@ -21729,7 +21729,7 @@ function Nv(e, t, n, r, o, a) {
21729
21729
  w === fl ? (m ? y.splice(d, 0, I) : y[d] = I, T.bendpointMove = {
21730
21730
  insert: m,
21731
21731
  bendpointIndex: d
21732
- }, y = this.cropWaypoints(v, y), a.updateWaypoints(v, MT(y), T)) : (w === la ? (T.docking = "source", dp(u) && (T.docking = "target", T.newWaypoints = y.reverse())) : w === ua && (T.docking = "target", dp(u) && (T.docking = "source", T.newWaypoints = y.reverse())), a.reconnect(v, b, _, I, T));
21732
+ }, y = this.cropWaypoints(v, y), a.updateWaypoints(v, M2(y), T)) : (w === la ? (T.docking = "source", dp(u) && (T.docking = "target", T.newWaypoints = y.reverse())) : w === ua && (T.docking = "target", dp(u) && (T.docking = "source", T.newWaypoints = y.reverse())), a.reconnect(v, b, _, I, T));
21733
21733
  }, this);
21734
21734
  }
21735
21735
  Nv.$inject = [
@@ -30403,7 +30403,7 @@ function Fh(e) {
30403
30403
  }
30404
30404
  function gI(e) {
30405
30405
  var t = Fh(e);
30406
- return b2("id", e, t);
30406
+ return bT("id", e, t);
30407
30407
  }
30408
30408
  function yI(e) {
30409
30409
  var t = gs(e, "id");
@@ -31112,7 +31112,7 @@ Rm.prototype.add = function(e, t) {
31112
31112
  return this.addAll([e], t);
31113
31113
  };
31114
31114
  Rm.prototype.addAll = function(e, t) {
31115
- var n = uT(e, !!t, this);
31115
+ var n = u2(e, !!t, this);
31116
31116
  return q(this, n), this;
31117
31117
  };
31118
31118
  function vu(e) {
@@ -32345,7 +32345,7 @@ function e3(e, t, n) {
32345
32345
  return r.unshift(e), r.push(t), O1(r);
32346
32346
  }
32347
32347
  function t3(e, t, n, r, o) {
32348
- var a = o && o.preferredLayouts || [], l = g2(a, "straight")[0] || "h:h", u = KI[l] || 0, c = Rn(e, t, u), d = s3(c, l);
32348
+ var a = o && o.preferredLayouts || [], l = gT(a, "straight")[0] || "h:h", u = KI[l] || 0, c = Rn(e, t, u), d = s3(c, l);
32349
32349
  n = n || qe(e), r = r || qe(t);
32350
32350
  var v = d.split(":"), m = yE(n, e, v[0], u3(c)), y = yE(r, t, v[1], c);
32351
32351
  return e3(m, y, d);
@@ -32820,7 +32820,7 @@ function M3(e) {
32820
32820
  return t;
32821
32821
  }
32822
32822
  function N3(e) {
32823
- return y2(gs(e, function(t) {
32823
+ return yT(gs(e, function(t) {
32824
32824
  return t.parent && t.parent.id;
32825
32825
  })) !== 1;
32826
32826
  }
@@ -32926,7 +32926,7 @@ ka.prototype.activateSelection = function(e, t) {
32926
32926
  });
32927
32927
  };
32928
32928
  ka.prototype.select = function(e, t) {
32929
- var n = cT(e, t);
32929
+ var n = c2(e, t);
32930
32930
  this._selection.select(Kh(n));
32931
32931
  };
32932
32932
  ka.prototype.toggle = function() {
@@ -34627,11 +34627,11 @@ const Pn = {
34627
34627
  return;
34628
34628
  }
34629
34629
  if ((o == null ? void 0 : o.$type) == "bpmn:SequenceFlow") {
34630
- o.body = ((D = (I = n.element.businessObject) == null ? void 0 : I.conditionExpression) == null ? void 0 : D.body) || "", o.name == "通过" || o.body.indexOf("通过") > -1 ? r.value = "通过" : o.name == "拒绝" || o.body.indexOf("拒绝") > -1 ? r.value = "拒绝" : r.value = "其他", t("updateFlowType", r.value);
34630
+ o.body = ((D = (I = n.element.businessObject) == null ? void 0 : I.conditionExpression) == null ? void 0 : D.body) || "", o.name == "通过" || o.body.indexOf("通过") > -1 ? r.value = "通过" : o.name == "驳回" || o.body.indexOf("驳回") > -1 ? r.value = "驳回" : r.value = "其他", t("updateFlowType", r.value);
34631
34631
  return;
34632
34632
  }
34633
34633
  const w = o.body, T = y(w);
34634
- d.value = T.variable, v.value = T.operator, m.value = T.value, o.body && o.name == "通过" ? r.value = "通过" : o.body && o.name == "拒绝" && (r.value = "拒绝"), t("updateFlowType", r.value);
34634
+ d.value = T.variable, v.value = T.operator, m.value = T.value, o.body && o.name == "通过" ? r.value = "通过" : o.body && o.name == "驳回" && (r.value = "驳回"), t("updateFlowType", r.value);
34635
34635
  }, _ = () => {
34636
34636
  if (r.value === "其他") {
34637
34637
  n.modeling.updateProperties(n.element, { name: "" }), o.name = "", t("updateFlowType", r.value);
@@ -34641,7 +34641,7 @@ const Pn = {
34641
34641
  });
34642
34642
  } else {
34643
34643
  let w;
34644
- r.value === "通过" ? w = "通过" : r.value === "拒绝" && (w = "拒绝");
34644
+ r.value === "通过" ? w = "通过" : r.value === "驳回" && (w = "驳回");
34645
34645
  const I = `\${${n.element.businessObject.sourceRef.id}=="${w}"}`, D = n.moddle.create("bpmn:FormalExpression", { body: I });
34646
34646
  n.modeling.updateProperties(n.element, {
34647
34647
  conditionExpression: D,
@@ -34699,9 +34699,9 @@ function SB(e, t, n, r, o, a) {
34699
34699
  ])]),
34700
34700
  _: 1
34701
34701
  }),
34702
- ae(l, { value: "拒绝" }, {
34702
+ ae(l, { value: "驳回" }, {
34703
34703
  default: le(() => [...t[11] || (t[11] = [
34704
- tt("拒绝", -1)
34704
+ tt("驳回", -1)
34705
34705
  ])]),
34706
34706
  _: 1
34707
34707
  })
@@ -34729,9 +34729,9 @@ function SB(e, t, n, r, o, a) {
34729
34729
  ])]),
34730
34730
  _: 1
34731
34731
  }),
34732
- ae(l, { value: "拒绝" }, {
34732
+ ae(l, { value: "驳回" }, {
34733
34733
  default: le(() => [...t[13] || (t[13] = [
34734
- tt("拒绝", -1)
34734
+ tt("驳回", -1)
34735
34735
  ])]),
34736
34736
  _: 1
34737
34737
  }),
@@ -35283,7 +35283,7 @@ const IB = /* @__PURE__ */ pi(NB, [["render", OB], ["__scopeId", "data-v-56fb630
35283
35283
  },
35284
35284
  components: {
35285
35285
  SearchOutlined: Vh,
35286
- RedoOutlined: t2
35286
+ RedoOutlined: tT
35287
35287
  },
35288
35288
  setup(e, { emit: t }) {
35289
35289
  const n = Ne(!0), r = Ne(!0), o = Ne(0), a = Ne([]), l = Ne(null), u = Ne({
@@ -35460,10 +35460,10 @@ const zB = /* @__PURE__ */ pi(FB, [["render", HB], ["__scopeId", "data-v-8afeeb4
35460
35460
  FlowUser: MB,
35461
35461
  FlowRole: IB,
35462
35462
  FlowExp: zB,
35463
- UserOutlined: n2,
35464
- TeamOutlined: r2,
35465
- CodeOutlined: i2,
35466
- PlusOutlined: o2
35463
+ UserOutlined: nT,
35464
+ TeamOutlined: rT,
35465
+ CodeOutlined: iT,
35466
+ PlusOutlined: oT
35467
35467
  },
35468
35468
  emits: [],
35469
35469
  setup(e) {
@@ -36027,7 +36027,7 @@ const GB = /* @__PURE__ */ pi(jB, [["render", UB], ["__scopeId", "data-v-81d9605
36027
36027
  }
36028
36028
  },
36029
36029
  components: {
36030
- QuestionCircleOutlined: a2
36030
+ QuestionCircleOutlined: aT
36031
36031
  },
36032
36032
  setup(e) {
36033
36033
  const { modelerStore: t } = ba;
@@ -36571,7 +36571,7 @@ const JB = oi({
36571
36571
  r.value = !1;
36572
36572
  return;
36573
36573
  }
36574
- d == "通过" || d == "拒绝" ? r.value = !1 : d == "其他" && (r.value = !0);
36574
+ d == "通过" || d == "驳回" ? r.value = !1 : d == "其他" && (r.value = !0);
36575
36575
  };
36576
36576
  return go(() => {
36577
36577
  a();
@@ -36633,7 +36633,7 @@ function t5(e, t, n, r, o, a) {
36633
36633
  }, 8, ["activeKey"])
36634
36634
  ]);
36635
36635
  }
36636
- const n5 = /* @__PURE__ */ pi(JB, [["render", t5], ["__scopeId", "data-v-aca4c2b4"]]);
36636
+ const n5 = /* @__PURE__ */ pi(JB, [["render", t5], ["__scopeId", "data-v-33b8a345"]]);
36637
36637
  function r5(e, t) {
36638
36638
  return t = t || {}, e = XB[e] || e, e.replace(/{([^}]+)}/g, function(n, r) {
36639
36639
  return t[r] || "{" + r + "}";
@@ -39224,7 +39224,7 @@ const eF = oi({
39224
39224
  },
39225
39225
  components: {
39226
39226
  Designer: n5,
39227
- UploadOutlined: s2
39227
+ UploadOutlined: sT
39228
39228
  },
39229
39229
  emits: ["showXML", "save", "xmlChanged"],
39230
39230
  setup(e, { emit: t }) {
@@ -39249,7 +39249,7 @@ const eF = oi({
39249
39249
  }, c = () => r.value && r.value.getDefinitions().rootElements.find((L) => L.$type === "bpmn:Process") || null, d = () => {
39250
39250
  m($E(e.processId, e.processName));
39251
39251
  }, v = () => {
39252
- p2.confirm({
39252
+ pT.confirm({
39253
39253
  title: "提示",
39254
39254
  content: "确定要新建流程吗?当前编辑内容将丢失。",
39255
39255
  onOk() {
@@ -39920,9 +39920,9 @@ const CF = oi({
39920
39920
  }
39921
39921
  },
39922
39922
  components: {
39923
- DragOutlined: l2,
39924
- ZoomInOutlined: u2,
39925
- ZoomOutOutlined: c2
39923
+ DragOutlined: lT,
39924
+ ZoomInOutlined: uT,
39925
+ ZoomOutOutlined: cT
39926
39926
  },
39927
39927
  setup(e) {
39928
39928
  const t = Ne(null), n = Ne(null), r = Ne(!0), o = async (c) => {
@@ -39930,7 +39930,7 @@ const CF = oi({
39930
39930
  try {
39931
39931
  r.value = !0, await n.value.importXML(c.xmlData), await a(), ((d = c.nodeData) == null ? void 0 : d.length) > 0 && await u(c.nodeData);
39932
39932
  } catch (v) {
39933
- console.error("BPMN 加载失败:", v.message, v.warnings), f2.error("流程图加载失败");
39933
+ console.error("BPMN 加载失败:", v.message, v.warnings), fT.error("流程图加载失败");
39934
39934
  } finally {
39935
39935
  r.value = !1;
39936
39936
  }
@@ -39973,7 +39973,7 @@ const CF = oi({
39973
39973
  },
39974
39974
  { immediate: !0 }
39975
39975
  );
39976
- }), e2(() => {
39976
+ }), eT(() => {
39977
39977
  n.value && n.value.destroy();
39978
39978
  }), {
39979
39979
  flowCanvasRef: t,