ddy-process-h5 1.0.1-rc.2.35 → 1.0.1-rc.2.41
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/package.json +1 -1
- package/v2/ddy-process-h5.js +264 -262
- package/v2/ddy-process-h5.umd.cjs +9 -9
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +18 -16
- package/v2.7/ddy-process-h5.umd.cjs +1 -1
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +18 -16
- package/v3/ddy-process-h5.umd.cjs +1 -1
- package/v3/style.css +1 -1
package/v2/ddy-process-h5.js
CHANGED
|
@@ -151,7 +151,7 @@ function Ml(e, i) {
|
|
|
151
151
|
return t;
|
|
152
152
|
return -1;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Ys(e) {
|
|
155
155
|
var i = !1;
|
|
156
156
|
return function() {
|
|
157
157
|
i || (i = !0, e.apply(this, arguments));
|
|
@@ -224,7 +224,7 @@ Me && Me.indexOf("android") > 0;
|
|
|
224
224
|
var xp = Me && /iphone|ipad|ipod|ios/.test(Me) || Ll === "ios";
|
|
225
225
|
Me && /chrome\/\d+/.test(Me);
|
|
226
226
|
Me && /phantomjs/.test(Me);
|
|
227
|
-
var Na = Me && Me.match(/firefox\/(\d+)/),
|
|
227
|
+
var Na = Me && Me.match(/firefox\/(\d+)/), zn = {}.watch, Fl = !1;
|
|
228
228
|
if (Ge)
|
|
229
229
|
try {
|
|
230
230
|
var _a = {};
|
|
@@ -351,7 +351,7 @@ var si = function(e) {
|
|
|
351
351
|
function Ii(e) {
|
|
352
352
|
return new Ue(void 0, void 0, void 0, String(e));
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Yn(e) {
|
|
355
355
|
var i = new Ue(
|
|
356
356
|
e.tag,
|
|
357
357
|
e.data,
|
|
@@ -519,7 +519,7 @@ yn.forEach(function(e) {
|
|
|
519
519
|
st[e + "s"] = Op;
|
|
520
520
|
});
|
|
521
521
|
st.watch = function(e, i, t, s) {
|
|
522
|
-
if (e ===
|
|
522
|
+
if (e === zn && (e = void 0), i === zn && (i = void 0), !i)
|
|
523
523
|
return Object.create(e || null);
|
|
524
524
|
if (process.env.NODE_ENV !== "production" && Fr(s, i, t), !e)
|
|
525
525
|
return i;
|
|
@@ -845,7 +845,7 @@ function Qr(e, i) {
|
|
|
845
845
|
}
|
|
846
846
|
var ql;
|
|
847
847
|
if (process.env.NODE_ENV !== "production") {
|
|
848
|
-
var
|
|
848
|
+
var zp = We(
|
|
849
849
|
"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,require"
|
|
850
850
|
), La = function(e, i) {
|
|
851
851
|
U(
|
|
@@ -859,16 +859,16 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
859
859
|
);
|
|
860
860
|
}, Va = typeof Proxy < "u" && ii(Proxy);
|
|
861
861
|
if (Va) {
|
|
862
|
-
var
|
|
862
|
+
var Yp = We("stop,prevent,self,ctrl,shift,alt,meta,exact");
|
|
863
863
|
ue.keyCodes = new Proxy(ue.keyCodes, {
|
|
864
864
|
set: function(i, t, s) {
|
|
865
|
-
return
|
|
865
|
+
return Yp(t) ? (U("Avoid overwriting built-in modifier in config.keyCodes: ." + t), !1) : (i[t] = s, !0);
|
|
866
866
|
}
|
|
867
867
|
});
|
|
868
868
|
}
|
|
869
869
|
var Xp = {
|
|
870
870
|
has: function(i, t) {
|
|
871
|
-
var s = t in i, n =
|
|
871
|
+
var s = t in i, n = zp(t) || typeof t == "string" && t.charAt(0) === "_" && !(t in i.$data);
|
|
872
872
|
return !s && !n && (t in i.$data ? Fa(i, t) : La(i, t)), s || !n;
|
|
873
873
|
}
|
|
874
874
|
}, Zp = {
|
|
@@ -992,13 +992,13 @@ function ed(e) {
|
|
|
992
992
|
function Ur(e) {
|
|
993
993
|
return Gt(e) ? [Ii(e)] : Array.isArray(e) ? Hl(e) : void 0;
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function Yi(e) {
|
|
996
996
|
return b(e) && b(e.text) && pp(e.isComment);
|
|
997
997
|
}
|
|
998
998
|
function Hl(e, i) {
|
|
999
999
|
var t = [], s, n, r, a;
|
|
1000
1000
|
for (s = 0; s < e.length; s++)
|
|
1001
|
-
n = e[s], !($(n) || typeof n == "boolean") && (r = t.length - 1, a = t[r], Array.isArray(n) ? n.length > 0 && (n = Hl(n, (i || "") + "_" + s),
|
|
1001
|
+
n = e[s], !($(n) || typeof n == "boolean") && (r = t.length - 1, a = t[r], Array.isArray(n) ? n.length > 0 && (n = Hl(n, (i || "") + "_" + s), Yi(n[0]) && Yi(a) && (t[r] = Ii(a.text + n[0].text), n.shift()), t.push.apply(t, n)) : Gt(n) ? Yi(a) ? t[r] = Ii(a.text + n) : n !== "" && t.push(Ii(n)) : Yi(n) && Yi(a) ? t[r] = Ii(a.text + n.text) : (Ce(e._isVList) && b(n.tag) && $(n.key) && b(i) && (n.key = "__vlist" + i + "_" + s + "__"), t.push(n)));
|
|
1002
1002
|
return t;
|
|
1003
1003
|
}
|
|
1004
1004
|
function td(e) {
|
|
@@ -1195,11 +1195,11 @@ function hd(e, i) {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
return e;
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function zl(e, i, t, s) {
|
|
1199
1199
|
i = i || { $stable: !t };
|
|
1200
1200
|
for (var n = 0; n < e.length; n++) {
|
|
1201
1201
|
var r = e[n];
|
|
1202
|
-
Array.isArray(r) ?
|
|
1202
|
+
Array.isArray(r) ? zl(r, i, t) : r && (r.proxy && (r.fn.proxy = !0), i[r.key] = r.fn);
|
|
1203
1203
|
}
|
|
1204
1204
|
return s && (i.$key = s), i;
|
|
1205
1205
|
}
|
|
@@ -1216,8 +1216,8 @@ function fd(e, i) {
|
|
|
1216
1216
|
function md(e, i) {
|
|
1217
1217
|
return typeof e == "string" ? i + e : e;
|
|
1218
1218
|
}
|
|
1219
|
-
function
|
|
1220
|
-
e._o = dd, e._n = rs, e._s = dp, e._l = ad, e._t = od, e._q = ci, e._i = Ml, e._m = pd, e._f = ld, e._k = cd, e._b = ud, e._v = Ii, e._e = si, e._u =
|
|
1219
|
+
function Yl(e) {
|
|
1220
|
+
e._o = dd, e._n = rs, e._s = dp, e._l = ad, e._t = od, e._q = ci, e._i = Ml, e._m = pd, e._f = ld, e._k = cd, e._b = ud, e._v = Ii, e._e = si, e._u = zl, e._g = hd, e._d = fd, e._p = md;
|
|
1221
1221
|
}
|
|
1222
1222
|
function qr(e, i, t, s, n) {
|
|
1223
1223
|
var r = this, a = n.options, o;
|
|
@@ -1240,7 +1240,7 @@ function qr(e, i, t, s, n) {
|
|
|
1240
1240
|
return nn(o, h, f, C, I, p);
|
|
1241
1241
|
};
|
|
1242
1242
|
}
|
|
1243
|
-
|
|
1243
|
+
Yl(qr.prototype);
|
|
1244
1244
|
function gd(e, i, t, s, n) {
|
|
1245
1245
|
var r = e.options, a = {}, o = r.props;
|
|
1246
1246
|
if (b(o))
|
|
@@ -1264,7 +1264,7 @@ function gd(e, i, t, s, n) {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
function Ja(e, i, t, s, n) {
|
|
1267
|
-
var r =
|
|
1267
|
+
var r = Yn(e);
|
|
1268
1268
|
return r.fnContext = t, r.fnOptions = s, process.env.NODE_ENV !== "production" && ((r.devtoolsMeta = r.devtoolsMeta || {}).renderContext = n), i.slot && ((r.data || (r.data = {})).slot = i.slot), r;
|
|
1269
1269
|
}
|
|
1270
1270
|
function Ha(e, i) {
|
|
@@ -1319,7 +1319,7 @@ function Wa(e, i, t, s, n) {
|
|
|
1319
1319
|
s,
|
|
1320
1320
|
n
|
|
1321
1321
|
);
|
|
1322
|
-
i = i || {},
|
|
1322
|
+
i = i || {}, Yr(e), b(i.model) && bd(e.options, i);
|
|
1323
1323
|
var o = $p(i, e, n);
|
|
1324
1324
|
if (Ce(e.options.functional))
|
|
1325
1325
|
return gd(e, o, i, t, s);
|
|
@@ -1437,7 +1437,7 @@ function Ed(e) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
var nr = null;
|
|
1439
1439
|
function Td(e) {
|
|
1440
|
-
|
|
1440
|
+
Yl(e.prototype), e.prototype.$nextTick = function(i) {
|
|
1441
1441
|
return Qr(i, this);
|
|
1442
1442
|
}, e.prototype._render = function() {
|
|
1443
1443
|
var i = this, t = i.$options, s = t.render, n = t._parentVnode;
|
|
@@ -1491,9 +1491,9 @@ function kd(e, i) {
|
|
|
1491
1491
|
for (var C = 0, I = s.length; C < I; C++)
|
|
1492
1492
|
s[C].$forceUpdate();
|
|
1493
1493
|
f && (s.length = 0, r !== null && (clearTimeout(r), r = null), a !== null && (clearTimeout(a), a = null));
|
|
1494
|
-
}, l =
|
|
1494
|
+
}, l = Ys(function(f) {
|
|
1495
1495
|
e.resolved = Sn(f, i), n ? s.length = 0 : o(!0);
|
|
1496
|
-
}), p =
|
|
1496
|
+
}), p = Ys(function(f) {
|
|
1497
1497
|
process.env.NODE_ENV !== "production" && U(
|
|
1498
1498
|
"Failed to resolve async component: " + String(e) + (f ? `
|
|
1499
1499
|
Reason: ` + f : "")
|
|
@@ -1709,7 +1709,7 @@ if (Ge && !Gi) {
|
|
|
1709
1709
|
return Pn.now();
|
|
1710
1710
|
});
|
|
1711
1711
|
}
|
|
1712
|
-
function
|
|
1712
|
+
function za() {
|
|
1713
1713
|
nc = ar(), Wr = !0;
|
|
1714
1714
|
var e, i;
|
|
1715
1715
|
for (xt.sort(function(n, r) {
|
|
@@ -1750,10 +1750,10 @@ function Ud(e) {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
if (!rr) {
|
|
1752
1752
|
if (rr = !0, process.env.NODE_ENV !== "production" && !ue.async) {
|
|
1753
|
-
|
|
1753
|
+
za();
|
|
1754
1754
|
return;
|
|
1755
1755
|
}
|
|
1756
|
-
Qr(
|
|
1756
|
+
Qr(za);
|
|
1757
1757
|
}
|
|
1758
1758
|
}
|
|
1759
1759
|
}
|
|
@@ -1827,7 +1827,7 @@ var ft = {
|
|
|
1827
1827
|
get: ke,
|
|
1828
1828
|
set: ke
|
|
1829
1829
|
};
|
|
1830
|
-
function
|
|
1830
|
+
function zr(e, i, t) {
|
|
1831
1831
|
ft.get = function() {
|
|
1832
1832
|
return this[i][t];
|
|
1833
1833
|
}, ft.set = function(n) {
|
|
@@ -1837,7 +1837,7 @@ function Yr(e, i, t) {
|
|
|
1837
1837
|
function qd(e) {
|
|
1838
1838
|
e._watchers = [];
|
|
1839
1839
|
var i = e.$options;
|
|
1840
|
-
i.props && Jd(e, i.props), i.methods &&
|
|
1840
|
+
i.props && Jd(e, i.props), i.methods && Yd(e, i.methods), i.data ? Hd(e) : ui(e._data = {}, !0), i.computed && zd(e, i.computed), i.watch && i.watch !== zn && Xd(e, i.watch);
|
|
1841
1841
|
}
|
|
1842
1842
|
function Jd(e, i) {
|
|
1843
1843
|
var t = e.$options.propsData || {}, s = e._props = {}, n = e.$options._propKeys = [], r = !e.$parent;
|
|
@@ -1858,7 +1858,7 @@ function Jd(e, i) {
|
|
|
1858
1858
|
});
|
|
1859
1859
|
} else
|
|
1860
1860
|
at(s, l, p);
|
|
1861
|
-
l in e ||
|
|
1861
|
+
l in e || zr(e, "_props", l);
|
|
1862
1862
|
};
|
|
1863
1863
|
for (var o in i)
|
|
1864
1864
|
a(o);
|
|
@@ -1879,7 +1879,7 @@ https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function`,
|
|
|
1879
1879
|
), s && Ne(s, a) ? process.env.NODE_ENV !== "production" && U(
|
|
1880
1880
|
'The data property "' + a + '" is already declared as a prop. Use prop default value instead.',
|
|
1881
1881
|
e
|
|
1882
|
-
) : Rl(a) ||
|
|
1882
|
+
) : Rl(a) || zr(e, "_data", a);
|
|
1883
1883
|
}
|
|
1884
1884
|
ui(i, !0);
|
|
1885
1885
|
}
|
|
@@ -1894,7 +1894,7 @@ function Kd(e, i) {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
}
|
|
1896
1896
|
var Wd = { lazy: !0 };
|
|
1897
|
-
function
|
|
1897
|
+
function zd(e, i) {
|
|
1898
1898
|
var t = e._computedWatchers = /* @__PURE__ */ Object.create(null), s = vn();
|
|
1899
1899
|
for (var n in i) {
|
|
1900
1900
|
var r = i[n], a = typeof r == "function" ? r : r.get;
|
|
@@ -1911,14 +1911,14 @@ function Yd(e, i) {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
function rc(e, i, t) {
|
|
1913
1913
|
var s = !vn();
|
|
1914
|
-
typeof t == "function" ? (ft.get = s ?
|
|
1914
|
+
typeof t == "function" ? (ft.get = s ? Ya(i) : Xa(t), ft.set = ke) : (ft.get = t.get ? s && t.cache !== !1 ? Ya(i) : Xa(t.get) : ke, ft.set = t.set || ke), process.env.NODE_ENV !== "production" && ft.set === ke && (ft.set = function() {
|
|
1915
1915
|
U(
|
|
1916
1916
|
'Computed property "' + i + '" was assigned to but it has no setter.',
|
|
1917
1917
|
this
|
|
1918
1918
|
);
|
|
1919
1919
|
}), Object.defineProperty(e, i, ft);
|
|
1920
1920
|
}
|
|
1921
|
-
function
|
|
1921
|
+
function Ya(e) {
|
|
1922
1922
|
return function() {
|
|
1923
1923
|
var t = this._computedWatchers && this._computedWatchers[e];
|
|
1924
1924
|
if (t)
|
|
@@ -1930,7 +1930,7 @@ function Xa(e) {
|
|
|
1930
1930
|
return e.call(this, this);
|
|
1931
1931
|
};
|
|
1932
1932
|
}
|
|
1933
|
-
function
|
|
1933
|
+
function Yd(e, i) {
|
|
1934
1934
|
var t = e.$options.props;
|
|
1935
1935
|
for (var s in i)
|
|
1936
1936
|
process.env.NODE_ENV !== "production" && (typeof i[s] != "function" && U(
|
|
@@ -1993,7 +1993,7 @@ function eh(e) {
|
|
|
1993
1993
|
t._uid = $d++;
|
|
1994
1994
|
var s, n;
|
|
1995
1995
|
process.env.NODE_ENV !== "production" && ue.performance && gt && (s = "vue-perf-start:" + t._uid, n = "vue-perf-end:" + t._uid, gt(s)), t._isVue = !0, i && i._isComponent ? th(t, i) : t.$options = pi(
|
|
1996
|
-
|
|
1996
|
+
Yr(t.constructor),
|
|
1997
1997
|
i || {},
|
|
1998
1998
|
t
|
|
1999
1999
|
), process.env.NODE_ENV !== "production" ? ql(t) : t._renderProxy = t, t._self = t, Md(t), Nd(t), Ed(t), ot(t, "beforeCreate"), id(t), qd(t), td(t), ot(t, "created"), process.env.NODE_ENV !== "production" && ue.performance && gt && (t._name = Zt(t, !1), gt(n), sn("vue " + t._name + " init", s, n)), t.$options.el && t.$mount(t.$options.el);
|
|
@@ -2005,10 +2005,10 @@ function th(e, i) {
|
|
|
2005
2005
|
var n = s.componentOptions;
|
|
2006
2006
|
t.propsData = n.propsData, t._parentListeners = n.listeners, t._renderChildren = n.children, t._componentTag = n.tag, i.render && (t.render = i.render, t.staticRenderFns = i.staticRenderFns);
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2008
|
+
function Yr(e) {
|
|
2009
2009
|
var i = e.options;
|
|
2010
2010
|
if (e.super) {
|
|
2011
|
-
var t =
|
|
2011
|
+
var t = Yr(e.super), s = e.superOptions;
|
|
2012
2012
|
if (t !== s) {
|
|
2013
2013
|
e.superOptions = t;
|
|
2014
2014
|
var n = ih(e);
|
|
@@ -2069,7 +2069,7 @@ function rh(e) {
|
|
|
2069
2069
|
function ah(e) {
|
|
2070
2070
|
var i = e.options.props;
|
|
2071
2071
|
for (var t in i)
|
|
2072
|
-
|
|
2072
|
+
zr(e.prototype, "_props", t);
|
|
2073
2073
|
}
|
|
2074
2074
|
function oh(e) {
|
|
2075
2075
|
var i = e.options.computed;
|
|
@@ -2385,7 +2385,7 @@ function Gh(e) {
|
|
|
2385
2385
|
}
|
|
2386
2386
|
var h = 0;
|
|
2387
2387
|
function f(g, v, T, B, H, w, x) {
|
|
2388
|
-
if (b(g.elm) && b(w) && (g = w[x] =
|
|
2388
|
+
if (b(g.elm) && b(w) && (g = w[x] = Yn(g)), g.isRootInsert = !H, !C(g, v, T, B)) {
|
|
2389
2389
|
var N = g.data, K = g.children, ie = g.tag;
|
|
2390
2390
|
b(ie) ? (process.env.NODE_ENV !== "production" && (N && N.pre && h++, p(g, h) && U(
|
|
2391
2391
|
"Unknown custom element: <" + ie + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',
|
|
@@ -2496,7 +2496,7 @@ function Gh(e) {
|
|
|
2496
2496
|
}
|
|
2497
2497
|
function V(g, v, T, B, H, w) {
|
|
2498
2498
|
if (g !== v) {
|
|
2499
|
-
b(v.elm) && b(B) && (v = B[H] =
|
|
2499
|
+
b(v.elm) && b(B) && (v = B[H] = Yn(v));
|
|
2500
2500
|
var x = v.elm = g.elm;
|
|
2501
2501
|
if (Ce(g.isAsyncPlaceholder)) {
|
|
2502
2502
|
b(v.asyncFactory.resolved) ? xe(g.elm, v, T) : v.isAsyncPlaceholder = !0;
|
|
@@ -2699,7 +2699,7 @@ function ro(e, i, t) {
|
|
|
2699
2699
|
e.setAttribute(i, t);
|
|
2700
2700
|
}
|
|
2701
2701
|
}
|
|
2702
|
-
var
|
|
2702
|
+
var zh = {
|
|
2703
2703
|
create: so,
|
|
2704
2704
|
update: so
|
|
2705
2705
|
};
|
|
@@ -2710,7 +2710,7 @@ function ao(e, i) {
|
|
|
2710
2710
|
b(a) && (r = Zr(r, $r(a))), r !== t._prevClass && (t.setAttribute("class", r), t._prevClass = r);
|
|
2711
2711
|
}
|
|
2712
2712
|
}
|
|
2713
|
-
var
|
|
2713
|
+
var Yh = {
|
|
2714
2714
|
create: ao,
|
|
2715
2715
|
update: ao
|
|
2716
2716
|
}, Mn = "__r", On = "__c";
|
|
@@ -2985,7 +2985,7 @@ function dr(e, i) {
|
|
|
2985
2985
|
De(A) ? A.enter : A
|
|
2986
2986
|
);
|
|
2987
2987
|
process.env.NODE_ENV !== "production" && xe != null && Cc(xe, "enter", e);
|
|
2988
|
-
var oe = n !== !1 && !qi, g = ta(L), v = t._enterCb =
|
|
2988
|
+
var oe = n !== !1 && !qi, g = ta(L), v = t._enterCb = Ys(function() {
|
|
2989
2989
|
oe && (Et(t, O), Et(t, R)), v.cancelled ? (oe && Et(t, k), te && te(t)) : j && j(t), t._enterCb = null;
|
|
2990
2990
|
});
|
|
2991
2991
|
e.data.show || Dt(e, "insert", function() {
|
|
@@ -3009,7 +3009,7 @@ function bc(e, i) {
|
|
|
3009
3009
|
De(Q) ? Q.leave : Q
|
|
3010
3010
|
);
|
|
3011
3011
|
process.env.NODE_ENV !== "production" && b(ee) && Cc(ee, "leave", e);
|
|
3012
|
-
var X = t._leaveCb =
|
|
3012
|
+
var X = t._leaveCb = Ys(function() {
|
|
3013
3013
|
t.parentNode && t.parentNode._pending && (t.parentNode._pending[e.key] = null), M && (Et(t, o), Et(t, l)), X.cancelled ? (M && Et(t, a), C && C(t)) : (i(), f && f(t)), t._leaveCb = null;
|
|
3014
3014
|
});
|
|
3015
3015
|
I ? I(P) : P();
|
|
@@ -3049,8 +3049,8 @@ var hf = Ge ? {
|
|
|
3049
3049
|
i.data.show !== !0 ? bc(i, t) : t();
|
|
3050
3050
|
}
|
|
3051
3051
|
} : {}, ff = [
|
|
3052
|
-
Yh,
|
|
3053
3052
|
zh,
|
|
3053
|
+
Yh,
|
|
3054
3054
|
tf,
|
|
3055
3055
|
af,
|
|
3056
3056
|
pf,
|
|
@@ -3443,8 +3443,8 @@ function Mf(e) {
|
|
|
3443
3443
|
}
|
|
3444
3444
|
var yr = void 0;
|
|
3445
3445
|
try {
|
|
3446
|
-
var
|
|
3447
|
-
|
|
3446
|
+
var zt = require("vue");
|
|
3447
|
+
zt && Eo(zt) ? yr = zt : zt && "default" in zt && Eo(zt.default) && (yr = zt.default);
|
|
3448
3448
|
} catch {
|
|
3449
3449
|
}
|
|
3450
3450
|
var ai = null, Ti = null, qs = !0, _c = "__composition_api_installed__";
|
|
@@ -3680,10 +3680,10 @@ function Wf(e) {
|
|
|
3680
3680
|
return e;
|
|
3681
3681
|
var i = {};
|
|
3682
3682
|
for (var t in e)
|
|
3683
|
-
i[t] =
|
|
3683
|
+
i[t] = zf(e, t);
|
|
3684
3684
|
return i;
|
|
3685
3685
|
}
|
|
3686
|
-
function
|
|
3686
|
+
function zf(e, i) {
|
|
3687
3687
|
i in e || Kf(e, i, void 0);
|
|
3688
3688
|
var t = e[i];
|
|
3689
3689
|
return Le(t) ? t : Oc({
|
|
@@ -3747,7 +3747,7 @@ function Lc(e) {
|
|
|
3747
3747
|
function ra(e, i) {
|
|
3748
3748
|
var t, s;
|
|
3749
3749
|
if (i === void 0 && (i = /* @__PURE__ */ new Set()), !(i.has(e) || vt(e, "__ob__") || !Object.isExtensible(e))) {
|
|
3750
|
-
Pc(e, "__ob__",
|
|
3750
|
+
Pc(e, "__ob__", Yf(e)), i.add(e);
|
|
3751
3751
|
try {
|
|
3752
3752
|
for (var n = kc(Object.keys(e)), r = n.next(); !r.done; r = n.next()) {
|
|
3753
3753
|
var a = r.value, o = e[a];
|
|
@@ -3765,7 +3765,7 @@ function ra(e, i) {
|
|
|
3765
3765
|
}
|
|
3766
3766
|
}
|
|
3767
3767
|
}
|
|
3768
|
-
function
|
|
3768
|
+
function Yf(e) {
|
|
3769
3769
|
return e === void 0 && (e = {}), {
|
|
3770
3770
|
value: e,
|
|
3771
3771
|
dep: {
|
|
@@ -4257,7 +4257,7 @@ function cm(e) {
|
|
|
4257
4257
|
for (let i in Do)
|
|
4258
4258
|
this[i] = Do[i];
|
|
4259
4259
|
}
|
|
4260
|
-
const
|
|
4260
|
+
const Ye = /* @__PURE__ */ function() {
|
|
4261
4261
|
return lm.exports;
|
|
4262
4262
|
}(), um = {
|
|
4263
4263
|
name: "PreView",
|
|
@@ -4559,7 +4559,7 @@ const Cn = /* @__PURE__ */ function() {
|
|
|
4559
4559
|
name: "ViewAttchList",
|
|
4560
4560
|
components: {
|
|
4561
4561
|
PreView: Qc,
|
|
4562
|
-
TopPopup:
|
|
4562
|
+
TopPopup: Ye,
|
|
4563
4563
|
PreviewImage: Cn
|
|
4564
4564
|
},
|
|
4565
4565
|
computed: {
|
|
@@ -4782,7 +4782,7 @@ function Ar(e) {
|
|
|
4782
4782
|
function Di(e) {
|
|
4783
4783
|
return e !== void 0;
|
|
4784
4784
|
}
|
|
4785
|
-
function
|
|
4785
|
+
function zc(e) {
|
|
4786
4786
|
return e == null;
|
|
4787
4787
|
}
|
|
4788
4788
|
function lt(e) {
|
|
@@ -4802,7 +4802,7 @@ function ct(e) {
|
|
|
4802
4802
|
return gs.call(e) === "[object String]";
|
|
4803
4803
|
}
|
|
4804
4804
|
function Ji(e, i) {
|
|
4805
|
-
return !
|
|
4805
|
+
return !zc(e) && Im.call(e, i);
|
|
4806
4806
|
}
|
|
4807
4807
|
function ut(e, i) {
|
|
4808
4808
|
const t = aa(i);
|
|
@@ -4841,7 +4841,7 @@ function Vi(e, i, t) {
|
|
|
4841
4841
|
t = i(t, s, n);
|
|
4842
4842
|
}), t;
|
|
4843
4843
|
}
|
|
4844
|
-
function
|
|
4844
|
+
function Yc(e, i) {
|
|
4845
4845
|
return !!Vi(e, function(t, s, n) {
|
|
4846
4846
|
return t && i(s, n);
|
|
4847
4847
|
}, !0);
|
|
@@ -4857,7 +4857,7 @@ function Nm(e, i) {
|
|
|
4857
4857
|
}
|
|
4858
4858
|
function Ro(e) {
|
|
4859
4859
|
return function(i) {
|
|
4860
|
-
return
|
|
4860
|
+
return Yc(e, function(t, s) {
|
|
4861
4861
|
return i[s] === t;
|
|
4862
4862
|
});
|
|
4863
4863
|
};
|
|
@@ -4896,7 +4896,7 @@ function Pm(e, i) {
|
|
|
4896
4896
|
function Ft(e, i) {
|
|
4897
4897
|
return e.bind(i);
|
|
4898
4898
|
}
|
|
4899
|
-
function
|
|
4899
|
+
function z(e, ...i) {
|
|
4900
4900
|
return Object.assign(e, ...i);
|
|
4901
4901
|
}
|
|
4902
4902
|
function Dm(e, i, t) {
|
|
@@ -4909,7 +4909,7 @@ function Dm(e, i, t) {
|
|
|
4909
4909
|
if (n === "__proto__")
|
|
4910
4910
|
throw new Error("illegal key: __proto__");
|
|
4911
4911
|
let a = i[r + 1], o = s[n];
|
|
4912
|
-
Di(a) &&
|
|
4912
|
+
Di(a) && zc(o) && (o = s[n] = isNaN(+a) ? {} : []), Ar(a) ? Ar(t) ? delete s[n] : s[n] = t : s = o;
|
|
4913
4913
|
}), e;
|
|
4914
4914
|
}
|
|
4915
4915
|
function Mm(e, i) {
|
|
@@ -5011,7 +5011,7 @@ function Gm(e, i) {
|
|
|
5011
5011
|
}, t = {
|
|
5012
5012
|
x: n.x + n.width / 2,
|
|
5013
5013
|
y: n.y + n.height / 2
|
|
5014
|
-
}) : (t = Um(i), s = un),
|
|
5014
|
+
}) : (t = Um(i), s = un), z({
|
|
5015
5015
|
x: t.x - s.width / 2,
|
|
5016
5016
|
y: t.y - s.height / 2
|
|
5017
5017
|
}, s);
|
|
@@ -5132,7 +5132,7 @@ function de(e, i, t) {
|
|
|
5132
5132
|
Wm(e, i);
|
|
5133
5133
|
return e;
|
|
5134
5134
|
}
|
|
5135
|
-
const
|
|
5135
|
+
const zm = Object.prototype.toString;
|
|
5136
5136
|
function yt(e) {
|
|
5137
5137
|
return new Vt(e);
|
|
5138
5138
|
}
|
|
@@ -5145,7 +5145,7 @@ Vt.prototype.add = function(e) {
|
|
|
5145
5145
|
return this.list.add(e), this;
|
|
5146
5146
|
};
|
|
5147
5147
|
Vt.prototype.remove = function(e) {
|
|
5148
|
-
return
|
|
5148
|
+
return zm.call(e) == "[object RegExp]" ? this.removeMatching(e) : (this.list.remove(e), this);
|
|
5149
5149
|
};
|
|
5150
5150
|
Vt.prototype.removeMatching = function(e) {
|
|
5151
5151
|
const i = this.array();
|
|
@@ -5162,7 +5162,7 @@ Vt.prototype.array = function() {
|
|
|
5162
5162
|
Vt.prototype.has = Vt.prototype.contains = function(e) {
|
|
5163
5163
|
return this.list.contains(e);
|
|
5164
5164
|
};
|
|
5165
|
-
function
|
|
5165
|
+
function Ym(e) {
|
|
5166
5166
|
for (var i; i = e.firstChild; )
|
|
5167
5167
|
e.removeChild(i);
|
|
5168
5168
|
return e;
|
|
@@ -5261,7 +5261,7 @@ function iu(e, i) {
|
|
|
5261
5261
|
}
|
|
5262
5262
|
function tg(e, i) {
|
|
5263
5263
|
var t = tu(i);
|
|
5264
|
-
if (
|
|
5264
|
+
if (Ym(e), !!i) {
|
|
5265
5265
|
sg(t) || (t = t.documentElement);
|
|
5266
5266
|
for (var s = ng(t.childNodes), n = 0; n < s.length; n++)
|
|
5267
5267
|
Zc(s[n], e);
|
|
@@ -5592,7 +5592,7 @@ function Pg(e, i) {
|
|
|
5592
5592
|
p.appendChild(l.removeChild(l.firstChild));
|
|
5593
5593
|
return p;
|
|
5594
5594
|
}
|
|
5595
|
-
var
|
|
5595
|
+
var ze = Sg;
|
|
5596
5596
|
function Tt(e, i) {
|
|
5597
5597
|
return i = i || document, i.querySelector(e);
|
|
5598
5598
|
}
|
|
@@ -5903,7 +5903,7 @@ function Ai(e, i, t, s, n, r, a) {
|
|
|
5903
5903
|
return Te(d, m), m;
|
|
5904
5904
|
}
|
|
5905
5905
|
function _(d, u, c, m) {
|
|
5906
|
-
return A(u, c,
|
|
5906
|
+
return A(u, c, z({ "data-marker": d }, m));
|
|
5907
5907
|
}
|
|
5908
5908
|
function D(d) {
|
|
5909
5909
|
return ie[d];
|
|
@@ -6285,22 +6285,22 @@ function Ai(e, i, t, s, n, r, a) {
|
|
|
6285
6285
|
compensation: -7,
|
|
6286
6286
|
loop: 0,
|
|
6287
6287
|
adhoc: -8
|
|
6288
|
-
}, y.get("isForCompensation") && c.push("CompensationMarker"), W(y, "bpmn:AdHocSubProcess") && (c.push("AdhocMarker"), E ||
|
|
6288
|
+
}, y.get("isForCompensation") && c.push("CompensationMarker"), W(y, "bpmn:AdHocSubProcess") && (c.push("AdhocMarker"), E || z(m, { compensation: m.compensation - 18 }));
|
|
6289
6289
|
var S = y.get("loopCharacteristics"), q = S && S.get("isSequential");
|
|
6290
|
-
S && (
|
|
6290
|
+
S && (z(m, {
|
|
6291
6291
|
compensation: m.compensation - 18
|
|
6292
|
-
}), c.includes("AdhocMarker") &&
|
|
6292
|
+
}), c.includes("AdhocMarker") && z(m, {
|
|
6293
6293
|
seq: -23,
|
|
6294
6294
|
loop: -18,
|
|
6295
6295
|
parallel: -24
|
|
6296
|
-
}), q === void 0 && c.push("LoopMarker"), q === !1 && c.push("ParallelMarker"), q === !0 && c.push("SequentialMarker")), c.includes("CompensationMarker") && c.length === 1 &&
|
|
6296
|
+
}), q === void 0 && c.push("LoopMarker"), q === !1 && c.push("ParallelMarker"), q === !0 && c.push("SequentialMarker")), c.includes("CompensationMarker") && c.length === 1 && z(m, {
|
|
6297
6297
|
compensation: -8
|
|
6298
6298
|
}), J(c, function(re) {
|
|
6299
6299
|
V(re, d, u, m);
|
|
6300
6300
|
});
|
|
6301
6301
|
}
|
|
6302
6302
|
function j(d, u, c = {}) {
|
|
6303
|
-
c =
|
|
6303
|
+
c = z({
|
|
6304
6304
|
size: {
|
|
6305
6305
|
width: 100
|
|
6306
6306
|
}
|
|
@@ -6334,7 +6334,7 @@ function Ai(e, i, t, s, n, r, a) {
|
|
|
6334
6334
|
return j(d, pn(u), {
|
|
6335
6335
|
box: m,
|
|
6336
6336
|
fitBox: !0,
|
|
6337
|
-
style:
|
|
6337
|
+
style: z(
|
|
6338
6338
|
{},
|
|
6339
6339
|
r.getExternalStyle(),
|
|
6340
6340
|
{
|
|
@@ -7210,7 +7210,7 @@ function Gg(e) {
|
|
|
7210
7210
|
};
|
|
7211
7211
|
}
|
|
7212
7212
|
function qg(e) {
|
|
7213
|
-
return di(e) ?
|
|
7213
|
+
return di(e) ? z({ top: 0, left: 0, right: 0, bottom: 0 }, e) : {
|
|
7214
7214
|
top: e,
|
|
7215
7215
|
left: e,
|
|
7216
7216
|
right: e,
|
|
@@ -7234,7 +7234,7 @@ function Hg(e, i, t) {
|
|
|
7234
7234
|
for (var s = e.shift(), n = s, r; ; ) {
|
|
7235
7235
|
if (r = Jg(n, t), r.width = n ? r.width : 0, n === " " || n === "" || r.width < Math.round(i) || n.length < 2)
|
|
7236
7236
|
return Kg(e, n, s, r);
|
|
7237
|
-
n =
|
|
7237
|
+
n = zg(n, r.width, i);
|
|
7238
7238
|
}
|
|
7239
7239
|
}
|
|
7240
7240
|
function Kg(e, i, t, s) {
|
|
@@ -7262,11 +7262,11 @@ function Wg(e, i) {
|
|
|
7262
7262
|
var a = n[n.length - 1];
|
|
7263
7263
|
return a && a === qo && (n[n.length - 1] = "-"), n.join("");
|
|
7264
7264
|
}
|
|
7265
|
-
function
|
|
7265
|
+
function zg(e, i, t) {
|
|
7266
7266
|
var s = Math.max(e.length * (t / i), 1), n = Wg(e, s);
|
|
7267
7267
|
return n || (n = e.slice(0, Math.max(Math.round(s - 1), 1))), n;
|
|
7268
7268
|
}
|
|
7269
|
-
function
|
|
7269
|
+
function Yg() {
|
|
7270
7270
|
var e = document.getElementById("helper-svg");
|
|
7271
7271
|
return e || (e = pe("svg"), de(e, {
|
|
7272
7272
|
id: "helper-svg"
|
|
@@ -7278,7 +7278,7 @@ function zg() {
|
|
|
7278
7278
|
}), document.body.appendChild(e)), e;
|
|
7279
7279
|
}
|
|
7280
7280
|
function wn(e) {
|
|
7281
|
-
this._config =
|
|
7281
|
+
this._config = z({}, {
|
|
7282
7282
|
size: Ug,
|
|
7283
7283
|
padding: Qg,
|
|
7284
7284
|
style: {},
|
|
@@ -7292,9 +7292,9 @@ wn.prototype.getDimensions = function(e, i) {
|
|
|
7292
7292
|
return this.layoutText(e, i).dimensions;
|
|
7293
7293
|
};
|
|
7294
7294
|
wn.prototype.layoutText = function(e, i) {
|
|
7295
|
-
var t =
|
|
7295
|
+
var t = z({}, this._config.size, i.box), s = z({}, this._config.style, i.style), n = Gg(i.align || this._config.align), r = qg(i.padding !== void 0 ? i.padding : this._config.padding), a = i.fitBox || !1, o = Xg(s), l = e.split(/\u00AD?\r?\n/), p = [], h = t.width - r.left - r.right, f = pe("text");
|
|
7296
7296
|
de(f, { x: 0, y: 0 }), de(f, s);
|
|
7297
|
-
var C =
|
|
7297
|
+
var C = Yg();
|
|
7298
7298
|
for (Te(C, f); l.length; )
|
|
7299
7299
|
p.push(Hg(l, h, f));
|
|
7300
7300
|
n.vertical === "middle" && (r.top = r.bottom = 0);
|
|
@@ -7335,12 +7335,12 @@ function Xg(e) {
|
|
|
7335
7335
|
}
|
|
7336
7336
|
var Zg = 12, $g = 1.2, ey = 30;
|
|
7337
7337
|
function uu(e) {
|
|
7338
|
-
var i =
|
|
7338
|
+
var i = z({
|
|
7339
7339
|
fontFamily: "Arial, sans-serif",
|
|
7340
7340
|
fontSize: Zg,
|
|
7341
7341
|
fontWeight: "normal",
|
|
7342
7342
|
lineHeight: $g
|
|
7343
|
-
}, e && e.defaultStyle || {}), t = parseInt(i.fontSize, 10) - 1, s =
|
|
7343
|
+
}, e && e.defaultStyle || {}), t = parseInt(i.fontSize, 10) - 1, s = z({}, i, {
|
|
7344
7344
|
fontSize: t
|
|
7345
7345
|
}, e && e.externalStyle || {}), n = new wn({
|
|
7346
7346
|
style: i
|
|
@@ -7729,7 +7729,7 @@ function _e(e) {
|
|
|
7729
7729
|
return e ? "<" + e.$type + (e.id ? ' id="' + e.id : "") + '" />' : "<null>";
|
|
7730
7730
|
}
|
|
7731
7731
|
function Hs(e, i, t) {
|
|
7732
|
-
return
|
|
7732
|
+
return z({
|
|
7733
7733
|
id: e.id,
|
|
7734
7734
|
type: e.$type,
|
|
7735
7735
|
businessObject: e,
|
|
@@ -7877,7 +7877,7 @@ pa.prototype.next = function() {
|
|
|
7877
7877
|
};
|
|
7878
7878
|
var vy = new pa("ov"), Ay = 500;
|
|
7879
7879
|
function Ie(e, i, t, s) {
|
|
7880
|
-
this._eventBus = i, this._canvas = t, this._elementRegistry = s, this._ids = vy, this._overlayDefaults =
|
|
7880
|
+
this._eventBus = i, this._canvas = t, this._elementRegistry = s, this._ids = vy, this._overlayDefaults = z({
|
|
7881
7881
|
show: null,
|
|
7882
7882
|
scale: !0
|
|
7883
7883
|
}, e && e.defaults), this._overlays = {}, this._overlayContainers = [], this._overlayRoot = by(t.getContainer()), this._init();
|
|
@@ -7903,7 +7903,7 @@ Ie.prototype.add = function(e, i, t) {
|
|
|
7903
7903
|
if (!e)
|
|
7904
7904
|
throw new Error("invalid element specified");
|
|
7905
7905
|
var s = this._ids.next();
|
|
7906
|
-
return t =
|
|
7906
|
+
return t = z({}, this._overlayDefaults, t, {
|
|
7907
7907
|
id: s,
|
|
7908
7908
|
type: i,
|
|
7909
7909
|
element: e,
|
|
@@ -7955,7 +7955,7 @@ Ie.prototype._updateOverlay = function(e) {
|
|
|
7955
7955
|
mu(t, n || 0, r || 0), this._updateOverlayVisibilty(e, this._canvas.viewbox());
|
|
7956
7956
|
};
|
|
7957
7957
|
Ie.prototype._createOverlayContainer = function(e) {
|
|
7958
|
-
var i =
|
|
7958
|
+
var i = ze('<div class="djs-overlays" />');
|
|
7959
7959
|
Se(i, { position: "absolute" }), this._overlayRoot.appendChild(i);
|
|
7960
7960
|
var t = {
|
|
7961
7961
|
html: i,
|
|
@@ -7983,7 +7983,7 @@ Ie.prototype._getOverlayContainer = function(e, i) {
|
|
|
7983
7983
|
};
|
|
7984
7984
|
Ie.prototype._addOverlay = function(e) {
|
|
7985
7985
|
var i = e.id, t = e.element, s = e.html, n, r;
|
|
7986
|
-
s.get && s.constructor.prototype.jquery && (s = s.get(0)), ct(s) && (s =
|
|
7986
|
+
s.get && s.constructor.prototype.jquery && (s = s.get(0)), ct(s) && (s = ze(s)), r = this._getOverlayContainer(t), n = ze('<div class="djs-overlay" data-overlay-id="' + i + '">'), Se(n, { position: "absolute" }), n.appendChild(s), e.type && fi(n).add("djs-overlay-" + e.type);
|
|
7987
7987
|
var a = this._canvas.findRoot(t), o = this._canvas.getRootElement();
|
|
7988
7988
|
xn(n, a === o), e.htmlContainer = n, r.overlays.push(e), r.html.appendChild(n), this._overlays[i] = e, this._updateOverlay(e), this._updateOverlayVisibilty(e, this._canvas.viewbox());
|
|
7989
7989
|
};
|
|
@@ -8034,7 +8034,7 @@ Ie.prototype._init = function() {
|
|
|
8034
8034
|
}), e.on("diagram.clear", this.clear, this);
|
|
8035
8035
|
};
|
|
8036
8036
|
function by(e) {
|
|
8037
|
-
var i =
|
|
8037
|
+
var i = ze(
|
|
8038
8038
|
'<div class="djs-overlay-container" />'
|
|
8039
8039
|
);
|
|
8040
8040
|
return Se(i, {
|
|
@@ -8156,7 +8156,7 @@ function Ny(e) {
|
|
|
8156
8156
|
}
|
|
8157
8157
|
var _y = "bjs-breadcrumbs-shown";
|
|
8158
8158
|
function Au(e, i, t) {
|
|
8159
|
-
var s =
|
|
8159
|
+
var s = ze('<ul class="bjs-breadcrumbs"></ul>'), n = t.getContainer(), r = fi(n);
|
|
8160
8160
|
n.appendChild(s);
|
|
8161
8161
|
var a = [];
|
|
8162
8162
|
e.on("element.changed", function(l) {
|
|
@@ -8178,7 +8178,7 @@ function Au(e, i, t) {
|
|
|
8178
8178
|
}
|
|
8179
8179
|
if (!C)
|
|
8180
8180
|
return [];
|
|
8181
|
-
var Q = Iy(f.name || f.id), M =
|
|
8181
|
+
var Q = Iy(f.name || f.id), M = ze('<li><span class="bjs-crumb"><a title="' + Q + '">' + Q + "</a></span></li>");
|
|
8182
8182
|
return M.addEventListener("click", function() {
|
|
8183
8183
|
t.setRootElement(C);
|
|
8184
8184
|
}), M;
|
|
@@ -8394,7 +8394,7 @@ qt.prototype._updateOverlayVisibility = function(e) {
|
|
|
8394
8394
|
qt.prototype._addOverlay = function(e) {
|
|
8395
8395
|
var i = this._canvas, t = this._overlays, s = me(e), n = t.get({ element: e, type: "drilldown" });
|
|
8396
8396
|
n.length && this._removeOverlay(e);
|
|
8397
|
-
var r =
|
|
8397
|
+
var r = ze('<button type="button" class="bjs-drilldown">' + Oy + "</button>"), a = s.get("name") || s.get("id"), o = this._translate("Open {element}", { element: a });
|
|
8398
8398
|
r.setAttribute("title", o), r.addEventListener("click", function() {
|
|
8399
8399
|
i.setRootElement(i.findRoot(ha(e)));
|
|
8400
8400
|
}), t.add(e, "drilldown", {
|
|
@@ -8546,7 +8546,7 @@ function Eu(e, i, t) {
|
|
|
8546
8546
|
"no-move": P
|
|
8547
8547
|
};
|
|
8548
8548
|
function _(k, R) {
|
|
8549
|
-
return R =
|
|
8549
|
+
return R = z({
|
|
8550
8550
|
stroke: "white",
|
|
8551
8551
|
strokeWidth: 15
|
|
8552
8552
|
}, R || {}), t.cls(k, ["no-fill", "no-border"], R);
|
|
@@ -8573,7 +8573,7 @@ function Eu(e, i, t) {
|
|
|
8573
8573
|
var O = la(R);
|
|
8574
8574
|
return D(O, "stroke"), G(k, O), O;
|
|
8575
8575
|
}, this.createBoxHit = function(k, R, O) {
|
|
8576
|
-
O =
|
|
8576
|
+
O = z({
|
|
8577
8577
|
x: 0,
|
|
8578
8578
|
y: 0
|
|
8579
8579
|
}, O);
|
|
@@ -8632,7 +8632,7 @@ Hi.prototype.select = function(e, i) {
|
|
|
8632
8632
|
t.indexOf(a) === -1 && t.push(a);
|
|
8633
8633
|
}) : this._selectedElements = t = e.slice(), this._eventBus.fire("selection.changed", { oldSelection: s, newSelection: t });
|
|
8634
8634
|
};
|
|
8635
|
-
var Wo = "hover",
|
|
8635
|
+
var Wo = "hover", zo = "selected";
|
|
8636
8636
|
function Tu(e, i) {
|
|
8637
8637
|
this._canvas = e;
|
|
8638
8638
|
function t(n, r) {
|
|
@@ -8647,10 +8647,10 @@ function Tu(e, i) {
|
|
|
8647
8647
|
s(n.element, Wo);
|
|
8648
8648
|
}), i.on("selection.changed", function(n) {
|
|
8649
8649
|
function r(p) {
|
|
8650
|
-
s(p,
|
|
8650
|
+
s(p, zo);
|
|
8651
8651
|
}
|
|
8652
8652
|
function a(p) {
|
|
8653
|
-
t(p,
|
|
8653
|
+
t(p, zo);
|
|
8654
8654
|
}
|
|
8655
8655
|
var o = n.oldSelection, l = n.newSelection;
|
|
8656
8656
|
J(o, function(p) {
|
|
@@ -8848,7 +8848,7 @@ function ku(e, i) {
|
|
|
8848
8848
|
return;
|
|
8849
8849
|
}
|
|
8850
8850
|
const G = D[0], k = D[1];
|
|
8851
|
-
n[_] = [Q[G],
|
|
8851
|
+
n[_] = [Q[G], zy(G, k), G];
|
|
8852
8852
|
}), M(P, a);
|
|
8853
8853
|
}
|
|
8854
8854
|
function ee(P, A) {
|
|
@@ -8863,12 +8863,12 @@ function ku(e, i) {
|
|
|
8863
8863
|
}
|
|
8864
8864
|
this.get = l, this.invoke = f, this.instantiate = h, this.createChild = I, this.init = X(e);
|
|
8865
8865
|
}
|
|
8866
|
-
function
|
|
8866
|
+
function zy(e, i) {
|
|
8867
8867
|
return e !== "value" && fa(i) && (i = Ks(i.slice())), i;
|
|
8868
8868
|
}
|
|
8869
|
-
var
|
|
8869
|
+
var Yy = 1;
|
|
8870
8870
|
function Jt(e, i) {
|
|
8871
|
-
_t.call(this, e,
|
|
8871
|
+
_t.call(this, e, Yy), this.CONNECTION_STYLE = i.style(["no-fill"], { strokeWidth: 5, stroke: "fuchsia" }), this.SHAPE_STYLE = i.style({ fill: "white", stroke: "fuchsia", strokeWidth: 2 }), this.FRAME_STYLE = i.style(["no-fill"], { stroke: "fuchsia", strokeDasharray: 4, strokeWidth: 2 });
|
|
8872
8872
|
}
|
|
8873
8873
|
At(Jt, _t);
|
|
8874
8874
|
Jt.prototype.canRender = function() {
|
|
@@ -8881,10 +8881,10 @@ Jt.prototype.drawShape = function(i, t, s) {
|
|
|
8881
8881
|
y: 0,
|
|
8882
8882
|
width: t.width || 0,
|
|
8883
8883
|
height: t.height || 0
|
|
8884
|
-
}), fu(t) ? de(n,
|
|
8884
|
+
}), fu(t) ? de(n, z({}, this.FRAME_STYLE, s || {})) : de(n, z({}, this.SHAPE_STYLE, s || {})), Te(i, n), n;
|
|
8885
8885
|
};
|
|
8886
8886
|
Jt.prototype.drawConnection = function(i, t, s) {
|
|
8887
|
-
var n = la(t.waypoints,
|
|
8887
|
+
var n = la(t.waypoints, z({}, this.CONNECTION_STYLE, s || {}));
|
|
8888
8888
|
return Te(i, n), n;
|
|
8889
8889
|
};
|
|
8890
8890
|
Jt.prototype.getShapePath = function(i) {
|
|
@@ -8918,15 +8918,15 @@ function Xy() {
|
|
|
8918
8918
|
}, i = this;
|
|
8919
8919
|
this.cls = function(t, s, n) {
|
|
8920
8920
|
var r = this.style(s, n);
|
|
8921
|
-
return
|
|
8921
|
+
return z(r, { class: t });
|
|
8922
8922
|
}, this.style = function(t, s) {
|
|
8923
8923
|
!lt(t) && !s && (s = t, t = []);
|
|
8924
8924
|
var n = Vi(t, function(r, a) {
|
|
8925
|
-
return
|
|
8925
|
+
return z(r, e[a] || {});
|
|
8926
8926
|
}, {});
|
|
8927
|
-
return s ?
|
|
8927
|
+
return s ? z(n, s) : n;
|
|
8928
8928
|
}, this.computeStyle = function(t, s, n) {
|
|
8929
|
-
return lt(s) || (n = s, s = []), i.style(s || [],
|
|
8929
|
+
return lt(s) || (n = s, s = []), i.style(s || [], z({}, n, t || {}));
|
|
8930
8930
|
};
|
|
8931
8931
|
}
|
|
8932
8932
|
const Zy = {
|
|
@@ -8958,7 +8958,7 @@ function ev(e, i, t) {
|
|
|
8958
8958
|
function Ws(e, i) {
|
|
8959
8959
|
return Math.round(e * i) / i;
|
|
8960
8960
|
}
|
|
8961
|
-
function
|
|
8961
|
+
function Yo(e) {
|
|
8962
8962
|
return Lt(e) ? e + "px" : e;
|
|
8963
8963
|
}
|
|
8964
8964
|
function tv(e) {
|
|
@@ -8967,13 +8967,13 @@ function tv(e) {
|
|
|
8967
8967
|
return e;
|
|
8968
8968
|
}
|
|
8969
8969
|
function iv(e) {
|
|
8970
|
-
e =
|
|
8970
|
+
e = z({}, { width: "100%", height: "100%" }, e);
|
|
8971
8971
|
const i = e.container || document.body, t = document.createElement("div");
|
|
8972
8972
|
return t.setAttribute("class", "djs-container djs-parent"), Se(t, {
|
|
8973
8973
|
position: "relative",
|
|
8974
8974
|
overflow: "hidden",
|
|
8975
|
-
width:
|
|
8976
|
-
height:
|
|
8975
|
+
width: Yo(e.width),
|
|
8976
|
+
height: Yo(e.height)
|
|
8977
8977
|
}), i.appendChild(t), t;
|
|
8978
8978
|
}
|
|
8979
8979
|
function Nu(e, i, t) {
|
|
@@ -8986,16 +8986,16 @@ const sv = "base", _u = 0, nv = 1, rv = {
|
|
|
8986
8986
|
shape: ["x", "y", "width", "height"],
|
|
8987
8987
|
connection: ["waypoints"]
|
|
8988
8988
|
};
|
|
8989
|
-
function
|
|
8989
|
+
function Y(e, i, t, s) {
|
|
8990
8990
|
this._eventBus = i, this._elementRegistry = s, this._graphicsFactory = t, this._rootsIdx = 0, this._layers = {}, this._planes = [], this._rootElement = null, this._focused = !1, this._init(e || {});
|
|
8991
8991
|
}
|
|
8992
|
-
|
|
8992
|
+
Y.$inject = [
|
|
8993
8993
|
"config.canvas",
|
|
8994
8994
|
"eventBus",
|
|
8995
8995
|
"graphicsFactory",
|
|
8996
8996
|
"elementRegistry"
|
|
8997
8997
|
];
|
|
8998
|
-
|
|
8998
|
+
Y.prototype._init = function(e) {
|
|
8999
8999
|
const i = this._eventBus, t = this._container = iv(e), s = this._svg = pe("svg");
|
|
9000
9000
|
de(s, {
|
|
9001
9001
|
width: "100%",
|
|
@@ -9026,7 +9026,7 @@ z.prototype._init = function(e) {
|
|
|
9026
9026
|
delete this._cachedViewbox;
|
|
9027
9027
|
}), i.on("diagram.destroy", 500, this._destroy, this), i.on("diagram.clear", 500, this._clear, this);
|
|
9028
9028
|
};
|
|
9029
|
-
|
|
9029
|
+
Y.prototype._destroy = function() {
|
|
9030
9030
|
this._eventBus.fire("canvas.destroy", {
|
|
9031
9031
|
svg: this._svg,
|
|
9032
9032
|
viewport: this._viewport
|
|
@@ -9034,28 +9034,28 @@ z.prototype._destroy = function() {
|
|
|
9034
9034
|
const e = this._container.parentNode;
|
|
9035
9035
|
e && e.removeChild(this._container), delete this._svg, delete this._container, delete this._layers, delete this._planes, delete this._rootElement, delete this._viewport;
|
|
9036
9036
|
};
|
|
9037
|
-
|
|
9037
|
+
Y.prototype._setFocused = function(e) {
|
|
9038
9038
|
e != this._focused && (this._focused = e, this._eventBus.fire("canvas.focus.changed", { focused: e }));
|
|
9039
9039
|
};
|
|
9040
|
-
|
|
9040
|
+
Y.prototype._clear = function() {
|
|
9041
9041
|
this._elementRegistry.getAll().forEach((i) => {
|
|
9042
9042
|
const t = hu(i);
|
|
9043
9043
|
t === "root" ? this.removeRootElement(i) : this._removeElement(i, t);
|
|
9044
9044
|
}), this._planes = [], this._rootElement = null, delete this._cachedViewbox;
|
|
9045
9045
|
};
|
|
9046
|
-
|
|
9046
|
+
Y.prototype.focus = function() {
|
|
9047
9047
|
this._svg.focus({ preventScroll: !0 }), this._setFocused(!0);
|
|
9048
9048
|
};
|
|
9049
|
-
|
|
9049
|
+
Y.prototype.restoreFocus = function() {
|
|
9050
9050
|
document.activeElement === document.body && this.focus();
|
|
9051
9051
|
};
|
|
9052
|
-
|
|
9052
|
+
Y.prototype.isFocused = function() {
|
|
9053
9053
|
return this._focused;
|
|
9054
9054
|
};
|
|
9055
|
-
|
|
9055
|
+
Y.prototype.getDefaultLayer = function() {
|
|
9056
9056
|
return this.getLayer(sv, _u);
|
|
9057
9057
|
};
|
|
9058
|
-
|
|
9058
|
+
Y.prototype.getLayer = function(e, i) {
|
|
9059
9059
|
if (!e)
|
|
9060
9060
|
throw new Error("must specify a name");
|
|
9061
9061
|
let t = this._layers[e];
|
|
@@ -9063,12 +9063,12 @@ z.prototype.getLayer = function(e, i) {
|
|
|
9063
9063
|
throw new Error("layer <" + e + "> already created at index <" + i + ">");
|
|
9064
9064
|
return t.group;
|
|
9065
9065
|
};
|
|
9066
|
-
|
|
9066
|
+
Y.prototype._getChildIndex = function(e) {
|
|
9067
9067
|
return Vi(this._layers, function(i, t) {
|
|
9068
9068
|
return t.visible && e >= t.index && i++, i;
|
|
9069
9069
|
}, 0);
|
|
9070
9070
|
};
|
|
9071
|
-
|
|
9071
|
+
Y.prototype._createLayer = function(e, i) {
|
|
9072
9072
|
typeof i > "u" && (i = nv);
|
|
9073
9073
|
const t = this._getChildIndex(i);
|
|
9074
9074
|
return {
|
|
@@ -9077,7 +9077,7 @@ z.prototype._createLayer = function(e, i) {
|
|
|
9077
9077
|
visible: !0
|
|
9078
9078
|
};
|
|
9079
9079
|
};
|
|
9080
|
-
|
|
9080
|
+
Y.prototype.showLayer = function(e) {
|
|
9081
9081
|
if (!e)
|
|
9082
9082
|
throw new Error("must specify a name");
|
|
9083
9083
|
const i = this._layers[e];
|
|
@@ -9089,7 +9089,7 @@ z.prototype.showLayer = function(e) {
|
|
|
9089
9089
|
const r = this._getChildIndex(n);
|
|
9090
9090
|
return t.insertBefore(s, t.childNodes[r] || null), i.visible = !0, s;
|
|
9091
9091
|
};
|
|
9092
|
-
|
|
9092
|
+
Y.prototype.hideLayer = function(e) {
|
|
9093
9093
|
if (!e)
|
|
9094
9094
|
throw new Error("must specify a name");
|
|
9095
9095
|
const i = this._layers[e];
|
|
@@ -9098,55 +9098,55 @@ z.prototype.hideLayer = function(e) {
|
|
|
9098
9098
|
const t = i.group;
|
|
9099
9099
|
return i.visible && (ys(t), i.visible = !1), t;
|
|
9100
9100
|
};
|
|
9101
|
-
|
|
9101
|
+
Y.prototype._removeLayer = function(e) {
|
|
9102
9102
|
const i = this._layers[e];
|
|
9103
9103
|
i && (delete this._layers[e], ys(i.group));
|
|
9104
9104
|
};
|
|
9105
|
-
|
|
9105
|
+
Y.prototype.getActiveLayer = function() {
|
|
9106
9106
|
const e = this._findPlaneForRoot(this.getRootElement());
|
|
9107
9107
|
return e ? e.layer : null;
|
|
9108
9108
|
};
|
|
9109
|
-
|
|
9109
|
+
Y.prototype.findRoot = function(e) {
|
|
9110
9110
|
return typeof e == "string" && (e = this._elementRegistry.get(e)), e ? (this._findPlaneForRoot(
|
|
9111
9111
|
tv(e)
|
|
9112
9112
|
) || {}).rootElement : void 0;
|
|
9113
9113
|
};
|
|
9114
|
-
|
|
9114
|
+
Y.prototype.getRootElements = function() {
|
|
9115
9115
|
return this._planes.map(function(e) {
|
|
9116
9116
|
return e.rootElement;
|
|
9117
9117
|
});
|
|
9118
9118
|
};
|
|
9119
|
-
|
|
9119
|
+
Y.prototype._findPlaneForRoot = function(e) {
|
|
9120
9120
|
return ut(this._planes, function(i) {
|
|
9121
9121
|
return i.rootElement === e;
|
|
9122
9122
|
});
|
|
9123
9123
|
};
|
|
9124
|
-
|
|
9124
|
+
Y.prototype.getContainer = function() {
|
|
9125
9125
|
return this._container;
|
|
9126
9126
|
};
|
|
9127
|
-
|
|
9127
|
+
Y.prototype._updateMarker = function(e, i, t) {
|
|
9128
9128
|
let s;
|
|
9129
9129
|
e.id || (e = this._elementRegistry.get(e)), e.markers = e.markers || /* @__PURE__ */ new Set(), s = this._elementRegistry._elements[e.id], s && (J([s.gfx, s.secondaryGfx], function(n) {
|
|
9130
9130
|
n && (t ? (e.markers.add(i), yt(n).add(i)) : (e.markers.delete(i), yt(n).remove(i)));
|
|
9131
9131
|
}), this._eventBus.fire("element.marker.update", { element: e, gfx: s.gfx, marker: i, add: !!t }));
|
|
9132
9132
|
};
|
|
9133
|
-
|
|
9133
|
+
Y.prototype.addMarker = function(e, i) {
|
|
9134
9134
|
this._updateMarker(e, i, !0);
|
|
9135
9135
|
};
|
|
9136
|
-
|
|
9136
|
+
Y.prototype.removeMarker = function(e, i) {
|
|
9137
9137
|
this._updateMarker(e, i, !1);
|
|
9138
9138
|
};
|
|
9139
|
-
|
|
9139
|
+
Y.prototype.hasMarker = function(e, i) {
|
|
9140
9140
|
return e.id || (e = this._elementRegistry.get(e)), e.markers ? e.markers.has(i) : !1;
|
|
9141
9141
|
};
|
|
9142
|
-
|
|
9142
|
+
Y.prototype.toggleMarker = function(e, i) {
|
|
9143
9143
|
this.hasMarker(e, i) ? this.removeMarker(e, i) : this.addMarker(e, i);
|
|
9144
9144
|
};
|
|
9145
|
-
|
|
9145
|
+
Y.prototype.getRootElement = function() {
|
|
9146
9146
|
const e = this._rootElement;
|
|
9147
9147
|
return e || this._planes.length ? e : this.setRootElement(this.addRootElement(null));
|
|
9148
9148
|
};
|
|
9149
|
-
|
|
9149
|
+
Y.prototype.addRootElement = function(e) {
|
|
9150
9150
|
const i = this._rootsIdx++;
|
|
9151
9151
|
e || (e = {
|
|
9152
9152
|
id: "__implicitroot_" + i,
|
|
@@ -9161,13 +9161,13 @@ z.prototype.addRootElement = function(e) {
|
|
|
9161
9161
|
layer: s
|
|
9162
9162
|
}), e;
|
|
9163
9163
|
};
|
|
9164
|
-
|
|
9164
|
+
Y.prototype.removeRootElement = function(e) {
|
|
9165
9165
|
if (typeof e == "string" && (e = this._elementRegistry.get(e)), !!this._findPlaneForRoot(e))
|
|
9166
9166
|
return this._removeRoot(e), this._removeLayer(e.layer), this._planes = this._planes.filter(function(t) {
|
|
9167
9167
|
return t.rootElement !== e;
|
|
9168
9168
|
}), this._rootElement === e && (this._rootElement = null), e;
|
|
9169
9169
|
};
|
|
9170
|
-
|
|
9170
|
+
Y.prototype.setRootElement = function(e) {
|
|
9171
9171
|
if (e === this._rootElement)
|
|
9172
9172
|
return e;
|
|
9173
9173
|
let i;
|
|
@@ -9175,68 +9175,68 @@ z.prototype.setRootElement = function(e) {
|
|
|
9175
9175
|
throw new Error("rootElement required");
|
|
9176
9176
|
return i = this._findPlaneForRoot(e), i || (e = this.addRootElement(e)), this._setRoot(e), e;
|
|
9177
9177
|
};
|
|
9178
|
-
|
|
9178
|
+
Y.prototype._removeRoot = function(e) {
|
|
9179
9179
|
const i = this._elementRegistry, t = this._eventBus;
|
|
9180
9180
|
t.fire("root.remove", { element: e }), t.fire("root.removed", { element: e }), i.remove(e);
|
|
9181
9181
|
};
|
|
9182
|
-
|
|
9182
|
+
Y.prototype._addRoot = function(e, i) {
|
|
9183
9183
|
const t = this._elementRegistry, s = this._eventBus;
|
|
9184
9184
|
s.fire("root.add", { element: e }), t.add(e, i), s.fire("root.added", { element: e, gfx: i });
|
|
9185
9185
|
};
|
|
9186
|
-
|
|
9186
|
+
Y.prototype._setRoot = function(e, i) {
|
|
9187
9187
|
const t = this._rootElement;
|
|
9188
9188
|
t && (this._elementRegistry.updateGraphics(t, null, !0), this.hideLayer(t.layer)), e && (i || (i = this._findPlaneForRoot(e).layer), this._elementRegistry.updateGraphics(e, this._svg, !0), this.showLayer(e.layer)), this._rootElement = e, this._eventBus.fire("root.set", { element: e });
|
|
9189
9189
|
};
|
|
9190
|
-
|
|
9190
|
+
Y.prototype._ensureValid = function(e, i) {
|
|
9191
9191
|
if (!i.id)
|
|
9192
9192
|
throw new Error("element must have an id");
|
|
9193
9193
|
if (this._elementRegistry.get(i.id))
|
|
9194
9194
|
throw new Error("element <" + i.id + "> already exists");
|
|
9195
9195
|
const t = rv[e];
|
|
9196
|
-
if (!
|
|
9196
|
+
if (!Yc(t, function(n) {
|
|
9197
9197
|
return typeof i[n] < "u";
|
|
9198
9198
|
}))
|
|
9199
9199
|
throw new Error(
|
|
9200
9200
|
"must supply { " + t.join(", ") + " } with " + e
|
|
9201
9201
|
);
|
|
9202
9202
|
};
|
|
9203
|
-
|
|
9203
|
+
Y.prototype._setParent = function(e, i, t) {
|
|
9204
9204
|
ev(i.children, e, t), e.parent = i;
|
|
9205
9205
|
};
|
|
9206
|
-
|
|
9206
|
+
Y.prototype._addElement = function(e, i, t, s) {
|
|
9207
9207
|
t = t || this.getRootElement();
|
|
9208
9208
|
const n = this._eventBus, r = this._graphicsFactory;
|
|
9209
9209
|
this._ensureValid(e, i), n.fire(e + ".add", { element: i, parent: t }), this._setParent(i, t, s);
|
|
9210
9210
|
const a = r.create(e, i, s);
|
|
9211
9211
|
return this._elementRegistry.add(i, a), r.update(e, i, a), n.fire(e + ".added", { element: i, gfx: a }), i;
|
|
9212
9212
|
};
|
|
9213
|
-
|
|
9213
|
+
Y.prototype.addShape = function(e, i, t) {
|
|
9214
9214
|
return this._addElement("shape", e, i, t);
|
|
9215
9215
|
};
|
|
9216
|
-
|
|
9216
|
+
Y.prototype.addConnection = function(e, i, t) {
|
|
9217
9217
|
return this._addElement("connection", e, i, t);
|
|
9218
9218
|
};
|
|
9219
|
-
|
|
9219
|
+
Y.prototype._removeElement = function(e, i) {
|
|
9220
9220
|
const t = this._elementRegistry, s = this._graphicsFactory, n = this._eventBus;
|
|
9221
9221
|
if (e = t.get(e.id || e), !!e)
|
|
9222
9222
|
return n.fire(i + ".remove", { element: e }), s.remove(e), $y(e.parent && e.parent.children, e), e.parent = null, n.fire(i + ".removed", { element: e }), t.remove(e), e;
|
|
9223
9223
|
};
|
|
9224
|
-
|
|
9224
|
+
Y.prototype.removeShape = function(e) {
|
|
9225
9225
|
return this._removeElement(e, "shape");
|
|
9226
9226
|
};
|
|
9227
|
-
|
|
9227
|
+
Y.prototype.removeConnection = function(e) {
|
|
9228
9228
|
return this._removeElement(e, "connection");
|
|
9229
9229
|
};
|
|
9230
|
-
|
|
9230
|
+
Y.prototype.getGraphics = function(e, i) {
|
|
9231
9231
|
return this._elementRegistry.getGraphics(e, i);
|
|
9232
9232
|
};
|
|
9233
|
-
|
|
9233
|
+
Y.prototype._changeViewbox = function(e) {
|
|
9234
9234
|
this._eventBus.fire("canvas.viewbox.changing"), e.apply(this), this._cachedViewbox = null, this._viewboxChanged();
|
|
9235
9235
|
};
|
|
9236
|
-
|
|
9236
|
+
Y.prototype._viewboxChanged = function() {
|
|
9237
9237
|
this._eventBus.fire("canvas.viewbox.changed", { viewbox: this.viewbox() });
|
|
9238
9238
|
};
|
|
9239
|
-
|
|
9239
|
+
Y.prototype.viewbox = function(e) {
|
|
9240
9240
|
if (e === void 0 && this._cachedViewbox)
|
|
9241
9241
|
return structuredClone(this._cachedViewbox);
|
|
9242
9242
|
const i = this._viewport, t = this.getSize();
|
|
@@ -9264,14 +9264,14 @@ z.prototype.viewbox = function(e) {
|
|
|
9264
9264
|
}, e;
|
|
9265
9265
|
return e;
|
|
9266
9266
|
};
|
|
9267
|
-
|
|
9267
|
+
Y.prototype.scroll = function(e) {
|
|
9268
9268
|
const i = this._viewport;
|
|
9269
9269
|
let t = i.getCTM();
|
|
9270
9270
|
return e && this._changeViewbox(function() {
|
|
9271
|
-
e =
|
|
9271
|
+
e = z({ dx: 0, dy: 0 }, e || {}), t = this._svg.createSVGMatrix().translate(e.dx, e.dy).multiply(t), Su(i, t);
|
|
9272
9272
|
}), { x: t.e, y: t.f };
|
|
9273
9273
|
};
|
|
9274
|
-
|
|
9274
|
+
Y.prototype.scrollToElement = function(e, i) {
|
|
9275
9275
|
let t = 100;
|
|
9276
9276
|
typeof e == "string" && (e = this._elementRegistry.get(e));
|
|
9277
9277
|
const s = this.findRoot(e);
|
|
@@ -9295,7 +9295,7 @@ z.prototype.scrollToElement = function(e, i) {
|
|
|
9295
9295
|
}
|
|
9296
9296
|
this.scroll({ dx: -l * o, dy: -p * o });
|
|
9297
9297
|
};
|
|
9298
|
-
|
|
9298
|
+
Y.prototype.zoom = function(e, i) {
|
|
9299
9299
|
if (!e)
|
|
9300
9300
|
return this.viewbox(e).scale;
|
|
9301
9301
|
if (e === "fit-viewport")
|
|
@@ -9312,7 +9312,7 @@ function Su(e, i) {
|
|
|
9312
9312
|
const t = "matrix(" + i.a + "," + i.b + "," + i.c + "," + i.d + "," + i.e + "," + i.f + ")";
|
|
9313
9313
|
e.setAttribute("transform", t);
|
|
9314
9314
|
}
|
|
9315
|
-
|
|
9315
|
+
Y.prototype._fitViewport = function(e) {
|
|
9316
9316
|
const i = this.viewbox(), t = i.outer, s = i.inner;
|
|
9317
9317
|
let n, r;
|
|
9318
9318
|
return s.x >= 0 && s.y >= 0 && s.x + s.width <= t.width && s.y + s.height <= t.height && !e ? r = {
|
|
@@ -9327,20 +9327,20 @@ z.prototype._fitViewport = function(e) {
|
|
|
9327
9327
|
height: t.height / n
|
|
9328
9328
|
}), this.viewbox(r), this.viewbox(!1).scale;
|
|
9329
9329
|
};
|
|
9330
|
-
|
|
9330
|
+
Y.prototype._setZoom = function(e, i) {
|
|
9331
9331
|
const t = this._svg, s = this._viewport, n = t.createSVGMatrix(), r = t.createSVGPoint();
|
|
9332
9332
|
let a, o, l, p, h;
|
|
9333
9333
|
l = s.getCTM();
|
|
9334
9334
|
const f = l.a;
|
|
9335
|
-
return i ? (a =
|
|
9335
|
+
return i ? (a = z(r, i), o = a.matrixTransform(l.inverse()), p = n.translate(o.x, o.y).scale(1 / f * e).translate(-o.x, -o.y), h = l.multiply(p)) : h = n.scale(e), Su(this._viewport, h), h;
|
|
9336
9336
|
};
|
|
9337
|
-
|
|
9337
|
+
Y.prototype.getSize = function() {
|
|
9338
9338
|
return {
|
|
9339
9339
|
width: this._container.clientWidth,
|
|
9340
9340
|
height: this._container.clientHeight
|
|
9341
9341
|
};
|
|
9342
9342
|
};
|
|
9343
|
-
|
|
9343
|
+
Y.prototype.getAbsoluteBBox = function(e) {
|
|
9344
9344
|
const i = this.viewbox();
|
|
9345
9345
|
let t;
|
|
9346
9346
|
e.waypoints ? t = this.getGraphics(e).getBBox() : t = e;
|
|
@@ -9352,7 +9352,7 @@ z.prototype.getAbsoluteBBox = function(e) {
|
|
|
9352
9352
|
height: a
|
|
9353
9353
|
};
|
|
9354
9354
|
};
|
|
9355
|
-
|
|
9355
|
+
Y.prototype.resized = function() {
|
|
9356
9356
|
delete this._cachedViewbox, this._eventBus.fire("canvas.resized");
|
|
9357
9357
|
};
|
|
9358
9358
|
var Qi = "data-element-id";
|
|
@@ -9543,7 +9543,7 @@ function pv(e, i) {
|
|
|
9543
9543
|
var t = uv[e];
|
|
9544
9544
|
if (!t)
|
|
9545
9545
|
throw new Error("unknown type: <" + e + ">");
|
|
9546
|
-
return
|
|
9546
|
+
return z(new t(), i);
|
|
9547
9547
|
}
|
|
9548
9548
|
function Ki() {
|
|
9549
9549
|
this._uid = 12;
|
|
@@ -9561,7 +9561,7 @@ Ki.prototype.createConnection = function(e) {
|
|
|
9561
9561
|
return this.create("connection", e);
|
|
9562
9562
|
};
|
|
9563
9563
|
Ki.prototype.create = function(e, i) {
|
|
9564
|
-
return i =
|
|
9564
|
+
return i = z({}, i || {}), i.id || (i.id = e + "_" + this._uid++), pv(e, i);
|
|
9565
9565
|
};
|
|
9566
9566
|
var fn = "__fn", Fu = 1e3, dv = Array.prototype.slice;
|
|
9567
9567
|
function qe() {
|
|
@@ -9681,7 +9681,7 @@ bs.prototype.preventDefault = function() {
|
|
|
9681
9681
|
this.defaultPrevented = !0;
|
|
9682
9682
|
};
|
|
9683
9683
|
bs.prototype.init = function(e) {
|
|
9684
|
-
|
|
9684
|
+
z(this, e || {});
|
|
9685
9685
|
};
|
|
9686
9686
|
function hv(e, i) {
|
|
9687
9687
|
return e.apply(null, i);
|
|
@@ -9770,7 +9770,7 @@ function Vu(e, i, t) {
|
|
|
9770
9770
|
const gv = {
|
|
9771
9771
|
__depends__: [Zy],
|
|
9772
9772
|
__init__: ["canvas"],
|
|
9773
|
-
canvas: ["type",
|
|
9773
|
+
canvas: ["type", Y],
|
|
9774
9774
|
elementRegistry: ["type", Xe],
|
|
9775
9775
|
elementFactory: ["type", Ki],
|
|
9776
9776
|
eventBus: ["type", qe],
|
|
@@ -9961,7 +9961,7 @@ $e.prototype.addTrait = function(e, i) {
|
|
|
9961
9961
|
i && this.assertNotTrait(e);
|
|
9962
9962
|
var t = this.allTypesByName, s = this.allTypes, n = e.name;
|
|
9963
9963
|
n in t || (J(e.properties, Ft(function(r) {
|
|
9964
|
-
r =
|
|
9964
|
+
r = z({}, r, {
|
|
9965
9965
|
name: r.ns.localName,
|
|
9966
9966
|
inherited: i
|
|
9967
9967
|
}), Object.defineProperty(r, "definedBy", {
|
|
@@ -9981,27 +9981,27 @@ Kt.prototype.getPackages = function() {
|
|
|
9981
9981
|
return this.packages;
|
|
9982
9982
|
};
|
|
9983
9983
|
Kt.prototype.registerPackage = function(e) {
|
|
9984
|
-
e =
|
|
9984
|
+
e = z({}, e);
|
|
9985
9985
|
var i = this.packageMap;
|
|
9986
9986
|
Zo(i, e, "prefix"), Zo(i, e, "uri"), J(e.types, Ft(function(t) {
|
|
9987
9987
|
this.registerType(t, e);
|
|
9988
9988
|
}, this)), i[e.uri] = i[e.prefix] = e, this.packages.push(e);
|
|
9989
9989
|
};
|
|
9990
9990
|
Kt.prototype.registerType = function(e, i) {
|
|
9991
|
-
e =
|
|
9991
|
+
e = z({}, e, {
|
|
9992
9992
|
superClass: (e.superClass || []).slice(),
|
|
9993
9993
|
extends: (e.extends || []).slice(),
|
|
9994
9994
|
properties: (e.properties || []).slice(),
|
|
9995
|
-
meta:
|
|
9995
|
+
meta: z(e.meta || {})
|
|
9996
9996
|
});
|
|
9997
9997
|
var t = Pe(e.name, i.prefix), s = t.name, n = {};
|
|
9998
9998
|
J(e.properties, Ft(function(r) {
|
|
9999
9999
|
var a = Pe(r.name, t.prefix), o = a.name;
|
|
10000
|
-
kr(r.type) || (r.type = Pe(r.type, a.prefix).name),
|
|
10000
|
+
kr(r.type) || (r.type = Pe(r.type, a.prefix).name), z(r, {
|
|
10001
10001
|
ns: a,
|
|
10002
10002
|
name: o
|
|
10003
10003
|
}), n[o] = r;
|
|
10004
|
-
}, this)),
|
|
10004
|
+
}, this)), z(e, {
|
|
10005
10005
|
ns: t,
|
|
10006
10006
|
name: s,
|
|
10007
10007
|
propertiesByName: n
|
|
@@ -10061,7 +10061,7 @@ Ci.prototype.get = function(e, i) {
|
|
|
10061
10061
|
Ci.prototype.define = function(e, i, t) {
|
|
10062
10062
|
if (!t.writable) {
|
|
10063
10063
|
var s = t.value;
|
|
10064
|
-
t =
|
|
10064
|
+
t = z({}, t, {
|
|
10065
10065
|
get: function() {
|
|
10066
10066
|
return s;
|
|
10067
10067
|
}
|
|
@@ -10175,7 +10175,7 @@ Object.keys(ns).forEach(function(e) {
|
|
|
10175
10175
|
function xv(e, i, t, s) {
|
|
10176
10176
|
return s ? Cv.call(ns, s) ? ns[s] : "&" + s + ";" : $o(i || parseInt(t, 16));
|
|
10177
10177
|
}
|
|
10178
|
-
function
|
|
10178
|
+
function Yt(e) {
|
|
10179
10179
|
return e.length > 3 && e.indexOf("&") !== -1 ? e.replace(wv, xv) : e;
|
|
10180
10180
|
}
|
|
10181
10181
|
var el = "non-whitespace outside of root node";
|
|
@@ -10311,7 +10311,7 @@ function qu(e) {
|
|
|
10311
10311
|
}
|
|
10312
10312
|
if (C) {
|
|
10313
10313
|
if (ve = ce === "xmlns" ? "xmlns" : ce.charCodeAt(0) === 120 && ce.substr(0, 6) === "xmlns:" ? ce.substr(6) : null, ve !== null) {
|
|
10314
|
-
if (u =
|
|
10314
|
+
if (u = Yt(Ee), c = _r(ve), et = ne[u], !et) {
|
|
10315
10315
|
if (ve === "xmlns" || c in D && D[c] !== u)
|
|
10316
10316
|
do
|
|
10317
10317
|
et = "ns" + R++;
|
|
@@ -10380,7 +10380,7 @@ function qu(e) {
|
|
|
10380
10380
|
}
|
|
10381
10381
|
if (j !== L) {
|
|
10382
10382
|
if (k.length) {
|
|
10383
|
-
if (t && (t(A.substring(j, L),
|
|
10383
|
+
if (t && (t(A.substring(j, L), Yt, f), M))
|
|
10384
10384
|
return;
|
|
10385
10385
|
} else if (A.substring(j, L).trim() && (X(el), M))
|
|
10386
10386
|
return;
|
|
@@ -10397,7 +10397,7 @@ function qu(e) {
|
|
|
10397
10397
|
if (oe === 45 && A.charCodeAt(L + 3) === 45) {
|
|
10398
10398
|
if (j = A.indexOf("-->", L), j === -1)
|
|
10399
10399
|
return ee("unclosed comment");
|
|
10400
|
-
if (l && (l(A.substring(L + 4, j),
|
|
10400
|
+
if (l && (l(A.substring(L + 4, j), Yt, f), M))
|
|
10401
10401
|
return;
|
|
10402
10402
|
j += 3;
|
|
10403
10403
|
continue;
|
|
@@ -10424,7 +10424,7 @@ function qu(e) {
|
|
|
10424
10424
|
}
|
|
10425
10425
|
}
|
|
10426
10426
|
if (g === 33) {
|
|
10427
|
-
if (h && (h(A.substring(L, j + 1),
|
|
10427
|
+
if (h && (h(A.substring(L, j + 1), Yt, f), M))
|
|
10428
10428
|
return;
|
|
10429
10429
|
j += 1;
|
|
10430
10430
|
continue;
|
|
@@ -10459,10 +10459,10 @@ function qu(e) {
|
|
|
10459
10459
|
T = D.xmlns;
|
|
10460
10460
|
T && (B = T + ":" + B);
|
|
10461
10461
|
}
|
|
10462
|
-
if (O && (N = oe, x = te, s && (i ? s(w,
|
|
10462
|
+
if (O && (N = oe, x = te, s && (i ? s(w, Yt, V, f) : s(B, ie, Yt, V, f), M)))
|
|
10463
10463
|
return;
|
|
10464
10464
|
if (V) {
|
|
10465
|
-
if (n && (n(i ? w : B,
|
|
10465
|
+
if (n && (n(i ? w : B, Yt, O, f), M))
|
|
10466
10466
|
return;
|
|
10467
10467
|
I && (O ? D = G : D = _.pop());
|
|
10468
10468
|
}
|
|
@@ -10506,7 +10506,7 @@ function It(e) {
|
|
|
10506
10506
|
return e.$descriptor;
|
|
10507
10507
|
}
|
|
10508
10508
|
function Pv(e) {
|
|
10509
|
-
|
|
10509
|
+
z(this, e), this.elementsById = {}, this.references = [], this.warnings = [], this.addReference = function(i) {
|
|
10510
10510
|
this.references.push(i);
|
|
10511
10511
|
}, this.addElement = function(i) {
|
|
10512
10512
|
if (!i)
|
|
@@ -10623,7 +10623,7 @@ Oe.prototype.getPropertyForNode = function(e) {
|
|
|
10623
10623
|
const h = e.attributes[p];
|
|
10624
10624
|
if (h) {
|
|
10625
10625
|
const f = Sv(h, e.ns, n), C = n.getType(f);
|
|
10626
|
-
return
|
|
10626
|
+
return z({}, o, {
|
|
10627
10627
|
effectiveType: It(C).name
|
|
10628
10628
|
});
|
|
10629
10629
|
}
|
|
@@ -10636,7 +10636,7 @@ Oe.prototype.getPropertyForNode = function(e) {
|
|
|
10636
10636
|
if (o = ut(r.properties, function(f) {
|
|
10637
10637
|
return !f.isVirtual && !f.isReference && !f.isAttribute && h.hasType(f.type);
|
|
10638
10638
|
}), o)
|
|
10639
|
-
return
|
|
10639
|
+
return z({}, o, {
|
|
10640
10640
|
effectiveType: It(h).name
|
|
10641
10641
|
});
|
|
10642
10642
|
} else if (o = ut(r.properties, function(p) {
|
|
@@ -10663,7 +10663,7 @@ Oe.prototype.handleChild = function(e) {
|
|
|
10663
10663
|
return this.valueHandler(i, s);
|
|
10664
10664
|
i.isReference ? n = this.referenceHandler(i).handleNode(e) : n = this.handler(t).handleNode(e);
|
|
10665
10665
|
var r = n.element;
|
|
10666
|
-
return r !== void 0 && (i.isMany ? s.get(i.name).push(r) : s.set(i.name, r), i.isReference ? (
|
|
10666
|
+
return r !== void 0 && (i.isMany ? s.get(i.name).push(r) : s.set(i.name, r), i.isReference ? (z(r, {
|
|
10667
10667
|
element: s
|
|
10668
10668
|
}), this.context.addReference(r)) : r.$parent = s), n;
|
|
10669
10669
|
};
|
|
@@ -10695,12 +10695,12 @@ Ui.prototype.handleEnd = function() {
|
|
|
10695
10695
|
function Ca(e) {
|
|
10696
10696
|
e instanceof rt && (e = {
|
|
10697
10697
|
model: e
|
|
10698
|
-
}),
|
|
10698
|
+
}), z(this, { lax: !1 }, e);
|
|
10699
10699
|
}
|
|
10700
10700
|
Ca.prototype.fromXML = function(e, i, t) {
|
|
10701
10701
|
var s = i.rootHandler;
|
|
10702
10702
|
i instanceof Oe ? (s = i, i = {}) : typeof i == "string" ? (s = this.handler(i), i = {}) : typeof s == "string" && (s = this.handler(s));
|
|
10703
|
-
var n = this.model, r = this.lax, a = new Pv(
|
|
10703
|
+
var n = this.model, r = this.lax, a = new Pv(z({}, i, { rootHandler: s })), o = new qu({ proxy: !0 }), l = Dv();
|
|
10704
10704
|
s.context = a, l.push(s);
|
|
10705
10705
|
function p(_, D, G) {
|
|
10706
10706
|
var k = D(), R = k.line, O = k.column, V = k.data;
|
|
@@ -10813,7 +10813,7 @@ function Dv() {
|
|
|
10813
10813
|
}), e;
|
|
10814
10814
|
}
|
|
10815
10815
|
var Mv = `<?xml version="1.0" encoding="UTF-8"?>
|
|
10816
|
-
`, Ov = /<|>|'|"|&|\n\r|\n/g,
|
|
10816
|
+
`, Ov = /<|>|'|"|&|\n\r|\n/g, zu = /<|>|&/g;
|
|
10817
10817
|
function bt(e) {
|
|
10818
10818
|
this.prefixMap = {}, this.uriMap = {}, this.used = {}, this.wellknown = [], this.custom = [], this.parent = e, this.defaultPrefixMap = e && e.defaultPrefixMap || {};
|
|
10819
10819
|
}
|
|
@@ -10855,7 +10855,7 @@ function Bv(e) {
|
|
|
10855
10855
|
function Rv(e, i) {
|
|
10856
10856
|
return Ju(i) ? Bv(e) : e;
|
|
10857
10857
|
}
|
|
10858
|
-
function
|
|
10858
|
+
function Yu(e, i) {
|
|
10859
10859
|
e.super_ = i, e.prototype = Object.create(i.prototype, {
|
|
10860
10860
|
constructor: {
|
|
10861
10861
|
value: e,
|
|
@@ -10877,10 +10877,10 @@ function Lv(e) {
|
|
|
10877
10877
|
});
|
|
10878
10878
|
}
|
|
10879
10879
|
function Fv(e, i) {
|
|
10880
|
-
return i.isGeneric ?
|
|
10880
|
+
return i.isGeneric ? z({ localName: i.ns.localName }, e) : z({ localName: Rv(i.ns.localName, i.$pkg) }, e);
|
|
10881
10881
|
}
|
|
10882
10882
|
function Vv(e, i) {
|
|
10883
|
-
return
|
|
10883
|
+
return z({ localName: i.ns.localName }, e);
|
|
10884
10884
|
}
|
|
10885
10885
|
function jv(e) {
|
|
10886
10886
|
var i = e.$descriptor;
|
|
@@ -10914,7 +10914,7 @@ function Gv(e) {
|
|
|
10914
10914
|
return Zu(e, Ov, Qv);
|
|
10915
10915
|
}
|
|
10916
10916
|
function qv(e) {
|
|
10917
|
-
return Zu(e,
|
|
10917
|
+
return Zu(e, zu, Uv);
|
|
10918
10918
|
}
|
|
10919
10919
|
function Jv(e) {
|
|
10920
10920
|
return Fi(e, function(i) {
|
|
@@ -10943,12 +10943,12 @@ mi.prototype.serializeValue = mi.prototype.serializeTo = function(e) {
|
|
|
10943
10943
|
);
|
|
10944
10944
|
};
|
|
10945
10945
|
mi.prototype.build = function(e, i) {
|
|
10946
|
-
return this.value = i, e.type === "String" && i.search(
|
|
10946
|
+
return this.value = i, e.type === "String" && i.search(zu) !== -1 && (this.escape = !0), this;
|
|
10947
10947
|
};
|
|
10948
10948
|
function xa(e) {
|
|
10949
10949
|
this.tagName = e;
|
|
10950
10950
|
}
|
|
10951
|
-
|
|
10951
|
+
Yu(xa, mi);
|
|
10952
10952
|
xa.prototype.serializeTo = function(e) {
|
|
10953
10953
|
e.appendIndent().append("<" + this.tagName + ">"), this.serializeValue(e), e.append("</" + this.tagName + ">").appendNewLine();
|
|
10954
10954
|
};
|
|
@@ -10976,7 +10976,7 @@ fe.prototype.nsAttributeName = function(e) {
|
|
|
10976
10976
|
if (ct(e) ? i = Pe(e) : i = e.ns, e.inherited)
|
|
10977
10977
|
return { localName: i.localName };
|
|
10978
10978
|
var t = this.logNamespaceUsed(i);
|
|
10979
|
-
return this.getNamespaces().logUsed(t), this.isLocalNs(t) ? { localName: i.localName } :
|
|
10979
|
+
return this.getNamespaces().logUsed(t), this.isLocalNs(t) ? { localName: i.localName } : z({ localName: i.localName }, t);
|
|
10980
10980
|
};
|
|
10981
10981
|
fe.prototype.parseGenericNsAttributes = function(e) {
|
|
10982
10982
|
return Object.entries(e).filter(
|
|
@@ -11115,7 +11115,7 @@ fe.prototype.serializeTo = function(e) {
|
|
|
11115
11115
|
function In(e, i, t) {
|
|
11116
11116
|
fe.call(this, e, i), this.serialization = t;
|
|
11117
11117
|
}
|
|
11118
|
-
|
|
11118
|
+
Yu(In, fe);
|
|
11119
11119
|
In.prototype.parseNsAttributes = function(e) {
|
|
11120
11120
|
var i = fe.prototype.parseNsAttributes.call(this, e).filter(
|
|
11121
11121
|
(a) => a.name !== this.serialization
|
|
@@ -11153,20 +11153,20 @@ function Wv(e, i) {
|
|
|
11153
11153
|
return t.pop(), this;
|
|
11154
11154
|
};
|
|
11155
11155
|
}
|
|
11156
|
-
function
|
|
11157
|
-
e =
|
|
11156
|
+
function zv(e) {
|
|
11157
|
+
e = z({ format: !1, preamble: !0 }, e || {});
|
|
11158
11158
|
function i(t, s) {
|
|
11159
11159
|
var n = s || new Kv(), r = new Wv(n, e.format);
|
|
11160
11160
|
e.preamble && r.append(Mv);
|
|
11161
11161
|
var a = new fe(), o = t.$model;
|
|
11162
|
-
if (a.getNamespaces().mapDefaultPrefixes(
|
|
11162
|
+
if (a.getNamespaces().mapDefaultPrefixes(Yv(o)), a.build(t).serializeTo(r), !s)
|
|
11163
11163
|
return n.value;
|
|
11164
11164
|
}
|
|
11165
11165
|
return {
|
|
11166
11166
|
toXML: i
|
|
11167
11167
|
};
|
|
11168
11168
|
}
|
|
11169
|
-
function
|
|
11169
|
+
function Yv(e) {
|
|
11170
11170
|
const i = e.config && e.config.nsMap || {}, t = {};
|
|
11171
11171
|
for (const s in Sr)
|
|
11172
11172
|
t[s] = Sr[s];
|
|
@@ -11184,11 +11184,11 @@ function kn(e, i) {
|
|
|
11184
11184
|
kn.prototype = Object.create(rt.prototype);
|
|
11185
11185
|
kn.prototype.fromXML = function(e, i, t) {
|
|
11186
11186
|
ct(i) || (t = i, i = "bpmn:Definitions");
|
|
11187
|
-
var s = new Ca(
|
|
11187
|
+
var s = new Ca(z({ model: this, lax: !0 }, t)), n = s.handler(i);
|
|
11188
11188
|
return s.fromXML(e, n);
|
|
11189
11189
|
};
|
|
11190
11190
|
kn.prototype.toXML = function(e, i) {
|
|
11191
|
-
var t = new
|
|
11191
|
+
var t = new zv(i);
|
|
11192
11192
|
return new Promise(function(s, n) {
|
|
11193
11193
|
try {
|
|
11194
11194
|
var r = t.toXML(e);
|
|
@@ -14789,7 +14789,7 @@ const VA = {
|
|
|
14789
14789
|
color: FA
|
|
14790
14790
|
};
|
|
14791
14791
|
function jA(e, i) {
|
|
14792
|
-
const t =
|
|
14792
|
+
const t = z({}, VA, e);
|
|
14793
14793
|
return new kn(t, i);
|
|
14794
14794
|
}
|
|
14795
14795
|
var QA = "Tried to access di from the businessObject. The di is available through the diagram element only. For more information, see https://github.com/bpmn-io/bpmn-js/issues/1472";
|
|
@@ -15074,14 +15074,14 @@ var WA = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.02 5.57" width
|
|
|
15074
15074
|
verticalAlign: "middle"
|
|
15075
15075
|
}, ip = {
|
|
15076
15076
|
color: "#404040"
|
|
15077
|
-
},
|
|
15077
|
+
}, zA = {
|
|
15078
15078
|
zIndex: "1001",
|
|
15079
15079
|
position: "fixed",
|
|
15080
15080
|
top: "0",
|
|
15081
15081
|
left: "0",
|
|
15082
15082
|
right: "0",
|
|
15083
15083
|
bottom: "0"
|
|
15084
|
-
},
|
|
15084
|
+
}, YA = {
|
|
15085
15085
|
width: "100%",
|
|
15086
15086
|
height: "100%",
|
|
15087
15087
|
background: "rgba(40,40,40,0.2)"
|
|
@@ -15100,7 +15100,7 @@ var WA = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.02 5.57" width
|
|
|
15100
15100
|
lineHeight: "1.3"
|
|
15101
15101
|
}, ZA = '<div class="bjs-powered-by-lightbox"><div class="backdrop"></div><div class="notice"><a href="https://bpmn.io" target="_blank" rel="noopener" class="link">' + ep + '</a><span>Web-based tooling for BPMN, DMN and forms powered by <a href="https://bpmn.io" target="_blank" rel="noopener">bpmn.io</a>.</span></div></div>', mt;
|
|
15102
15102
|
function $A() {
|
|
15103
|
-
mt =
|
|
15103
|
+
mt = ze(ZA), Se(mt, zA), Se(Tt("svg", mt), tp), Se(Tt(".backdrop", mt), YA), Se(Tt(".notice", mt), XA), Se(Tt(".link", mt), ip, {
|
|
15104
15104
|
margin: "15px 20px 15px 10px",
|
|
15105
15105
|
alignSelf: "center"
|
|
15106
15106
|
});
|
|
@@ -15111,7 +15111,7 @@ function eb() {
|
|
|
15111
15111
|
})), document.body.appendChild(mt);
|
|
15112
15112
|
}
|
|
15113
15113
|
function Ae(e) {
|
|
15114
|
-
e =
|
|
15114
|
+
e = z({}, ib, e), this._moddle = this._createModdle(e), this._container = this._createContainer(e), this._init(this._container, this._moddle, e), nb(this._container);
|
|
15115
15115
|
}
|
|
15116
15116
|
At(Ae, Ht);
|
|
15117
15117
|
Ae.prototype.importXML = async function(i, t) {
|
|
@@ -15143,7 +15143,7 @@ Ae.prototype.importXML = async function(i, t) {
|
|
|
15143
15143
|
return r = r.concat(f.warnings), this._emit("import.done", { error: null, warnings: r }), { warnings: r };
|
|
15144
15144
|
} catch (a) {
|
|
15145
15145
|
let o = a;
|
|
15146
|
-
throw r = r.concat(o.warnings || []),
|
|
15146
|
+
throw r = r.concat(o.warnings || []), zs(o, r), o = tb(o), this._emit("import.done", { error: o, warnings: o.warnings }), o;
|
|
15147
15147
|
}
|
|
15148
15148
|
};
|
|
15149
15149
|
Ae.prototype.importDefinitions = async function(i, t) {
|
|
@@ -15154,16 +15154,16 @@ Ae.prototype.open = async function(i) {
|
|
|
15154
15154
|
let s = i;
|
|
15155
15155
|
if (!t) {
|
|
15156
15156
|
const r = new Error("no XML imported");
|
|
15157
|
-
throw
|
|
15157
|
+
throw zs(r, []), r;
|
|
15158
15158
|
}
|
|
15159
15159
|
if (typeof i == "string" && (s = sb(t, i), !s)) {
|
|
15160
15160
|
const r = new Error("BPMNDiagram <" + i + "> not found");
|
|
15161
|
-
throw
|
|
15161
|
+
throw zs(r, []), r;
|
|
15162
15162
|
}
|
|
15163
15163
|
try {
|
|
15164
15164
|
this.clear();
|
|
15165
15165
|
} catch (r) {
|
|
15166
|
-
throw
|
|
15166
|
+
throw zs(r, []), r;
|
|
15167
15167
|
}
|
|
15168
15168
|
const { warnings: n } = await JA(this, t, s);
|
|
15169
15169
|
return { warnings: n };
|
|
@@ -15242,8 +15242,8 @@ Ae.prototype._init = function(e, i, t) {
|
|
|
15242
15242
|
bpmnjs: ["value", this],
|
|
15243
15243
|
moddle: ["value", i]
|
|
15244
15244
|
}
|
|
15245
|
-
], a = [].concat(r, s, n), o =
|
|
15246
|
-
canvas:
|
|
15245
|
+
], a = [].concat(r, s, n), o = z(Om(t, ["additionalModules"]), {
|
|
15246
|
+
canvas: z({}, t.canvas, { container: e }),
|
|
15247
15247
|
modules: a
|
|
15248
15248
|
});
|
|
15249
15249
|
Ht.call(this, o), t && t.container && this.attachTo(t.container);
|
|
@@ -15252,7 +15252,7 @@ Ae.prototype._emit = function(e, i) {
|
|
|
15252
15252
|
return this.get("eventBus").fire(e, i);
|
|
15253
15253
|
};
|
|
15254
15254
|
Ae.prototype._createContainer = function(e) {
|
|
15255
|
-
const i =
|
|
15255
|
+
const i = ze('<div class="bjs-container"></div>');
|
|
15256
15256
|
return Se(i, {
|
|
15257
15257
|
width: sl(e.width),
|
|
15258
15258
|
height: sl(e.height),
|
|
@@ -15260,11 +15260,11 @@ Ae.prototype._createContainer = function(e) {
|
|
|
15260
15260
|
}), i;
|
|
15261
15261
|
};
|
|
15262
15262
|
Ae.prototype._createModdle = function(e) {
|
|
15263
|
-
const i =
|
|
15263
|
+
const i = z({}, this._moddleExtensions, e.moddleExtensions);
|
|
15264
15264
|
return new jA(i);
|
|
15265
15265
|
};
|
|
15266
15266
|
Ae.prototype._modules = [];
|
|
15267
|
-
function
|
|
15267
|
+
function zs(e, i) {
|
|
15268
15268
|
return e.warnings = i, e;
|
|
15269
15269
|
}
|
|
15270
15270
|
function tb(e) {
|
|
@@ -15285,7 +15285,7 @@ function sb(e, i) {
|
|
|
15285
15285
|
}) || null;
|
|
15286
15286
|
}
|
|
15287
15287
|
function nb(e) {
|
|
15288
|
-
const t = '<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >' + ep + "</a>", s =
|
|
15288
|
+
const t = '<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >' + ep + "</a>", s = ze(t);
|
|
15289
15289
|
Se(Tt("svg", s), tp), Se(s, ip, {
|
|
15290
15290
|
position: "absolute",
|
|
15291
15291
|
bottom: "15px",
|
|
@@ -15381,7 +15381,7 @@ const qn = {
|
|
|
15381
15381
|
};
|
|
15382
15382
|
var pb = new pa("tt");
|
|
15383
15383
|
function db(e) {
|
|
15384
|
-
var i =
|
|
15384
|
+
var i = ze(
|
|
15385
15385
|
'<div class="djs-tooltip-container" />'
|
|
15386
15386
|
);
|
|
15387
15387
|
return Se(i, {
|
|
@@ -15420,7 +15420,7 @@ je.prototype.add = function(e) {
|
|
|
15420
15420
|
if (!e.html)
|
|
15421
15421
|
throw new Error("must specifiy tooltip html");
|
|
15422
15422
|
var i = this._ids.next();
|
|
15423
|
-
return e =
|
|
15423
|
+
return e = z({}, this._tooltipDefaults, e, {
|
|
15424
15424
|
id: i
|
|
15425
15425
|
}), this._addTooltip(e), e.timeout && this.setTimeout(e), i;
|
|
15426
15426
|
};
|
|
@@ -15462,7 +15462,7 @@ je.prototype._updateRoot = function(e) {
|
|
|
15462
15462
|
};
|
|
15463
15463
|
je.prototype._addTooltip = function(e) {
|
|
15464
15464
|
var i = e.id, t = e.html, s, n = this._tooltipRoot;
|
|
15465
|
-
t.get && t.constructor.prototype.jquery && (t = t.get(0)), ct(t) && (t =
|
|
15465
|
+
t.get && t.constructor.prototype.jquery && (t = t.get(0)), ct(t) && (t = ze(t)), s = ze('<div data-tooltip-id="' + i + '" class="' + rp + '">'), Se(s, { position: "absolute" }), s.appendChild(t), e.type && fi(s).add("djs-tooltip-" + e.type), e.className && fi(s).add(e.className), e.htmlContainer = s, n.appendChild(s), this._tooltips[i] = e, this._updateTooltip(e);
|
|
15466
15466
|
};
|
|
15467
15467
|
je.prototype._updateTooltip = function(e) {
|
|
15468
15468
|
var i = e.position, t = e.htmlContainer;
|
|
@@ -15855,7 +15855,7 @@ const dt = /* @__PURE__ */ function() {
|
|
|
15855
15855
|
TopTips: dt,
|
|
15856
15856
|
PreviewImage: Cn,
|
|
15857
15857
|
PreView: Qc,
|
|
15858
|
-
TopPopup:
|
|
15858
|
+
TopPopup: Ye
|
|
15859
15859
|
},
|
|
15860
15860
|
props: {
|
|
15861
15861
|
request: {
|
|
@@ -16238,7 +16238,7 @@ function Ob(e) {
|
|
|
16238
16238
|
for (let i in ol)
|
|
16239
16239
|
this[i] = ol[i];
|
|
16240
16240
|
}
|
|
16241
|
-
const
|
|
16241
|
+
const zi = /* @__PURE__ */ function() {
|
|
16242
16242
|
return Mb.exports;
|
|
16243
16243
|
}();
|
|
16244
16244
|
var Bb = function() {
|
|
@@ -16303,7 +16303,7 @@ var Bb = function() {
|
|
|
16303
16303
|
const Lb = {
|
|
16304
16304
|
name: "nf-flow",
|
|
16305
16305
|
components: {
|
|
16306
|
-
attchViews:
|
|
16306
|
+
attchViews: zi
|
|
16307
16307
|
},
|
|
16308
16308
|
props: {
|
|
16309
16309
|
request: {
|
|
@@ -16364,7 +16364,7 @@ const jb = /* @__PURE__ */ function() {
|
|
|
16364
16364
|
components: {
|
|
16365
16365
|
processFlow: jb,
|
|
16366
16366
|
BpmnLook: op,
|
|
16367
|
-
TopPopup:
|
|
16367
|
+
TopPopup: Ye,
|
|
16368
16368
|
ViewAttchList: Tm,
|
|
16369
16369
|
PreviewImage: Cn
|
|
16370
16370
|
},
|
|
@@ -16705,7 +16705,7 @@ function Jb(e) {
|
|
|
16705
16705
|
}
|
|
16706
16706
|
const Hb = /* @__PURE__ */ function() {
|
|
16707
16707
|
return qb.exports;
|
|
16708
|
-
}(), Kb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACfVJREFUeF7tnT2S1FYYRaUCYgJ2wArYgRMIYQPGMVUQt8bDAoDRxFBFbLwBE5qEHbACdkBAbCi5HjxgGKbn6b7Wz9O7h9B8avV3rk7J6r7VtA1/IACBvQRa2EAAAvsJIAhXBwQuIYAgXB4QQBCuAQjkEeAOkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48ZRJgQQxCRo1swjgCB53DjKhACCmATNmnkEECSPG0eZEEAQk6BZM48AguRx4ygTA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SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBL4Csq/cvbKQGitAAAAAElFTkSuQmCC", zb = {
|
|
16709
16709
|
name: "TopDownSelect",
|
|
16710
16710
|
props: {
|
|
16711
16711
|
option: {
|
|
@@ -16793,7 +16793,7 @@ const Hb = /* @__PURE__ */ function() {
|
|
|
16793
16793
|
}
|
|
16794
16794
|
}
|
|
16795
16795
|
};
|
|
16796
|
-
var
|
|
16796
|
+
var Yb = function() {
|
|
16797
16797
|
var e = this, i = e.$createElement, t = e._self._c || i;
|
|
16798
16798
|
return t("div", {
|
|
16799
16799
|
staticClass: "top-select"
|
|
@@ -16845,8 +16845,8 @@ var zb = function() {
|
|
|
16845
16845
|
}, Xb = [];
|
|
16846
16846
|
const ul = {};
|
|
16847
16847
|
var Zb = /* @__PURE__ */ ge(
|
|
16848
|
-
Yb,
|
|
16849
16848
|
zb,
|
|
16849
|
+
Yb,
|
|
16850
16850
|
Xb,
|
|
16851
16851
|
!1,
|
|
16852
16852
|
$b,
|
|
@@ -16945,7 +16945,7 @@ var t0 = function() {
|
|
|
16945
16945
|
const s0 = {
|
|
16946
16946
|
name: "selectFixedPerson",
|
|
16947
16947
|
components: {
|
|
16948
|
-
TopPopup:
|
|
16948
|
+
TopPopup: Ye
|
|
16949
16949
|
},
|
|
16950
16950
|
props: {
|
|
16951
16951
|
multiple: {},
|
|
@@ -17027,7 +17027,7 @@ const cp = /* @__PURE__ */ function() {
|
|
|
17027
17027
|
components: {
|
|
17028
17028
|
SelectFixedPerson: cp,
|
|
17029
17029
|
BpmnLook: op,
|
|
17030
|
-
TopPopup:
|
|
17030
|
+
TopPopup: Ye,
|
|
17031
17031
|
TopDownSelect: lp,
|
|
17032
17032
|
PreviewImage: Cn,
|
|
17033
17033
|
departPerson: Ut,
|
|
@@ -17651,13 +17651,13 @@ const cp = /* @__PURE__ */ function() {
|
|
|
17651
17651
|
multiNodeParticipant: this.multiNodeParticipant,
|
|
17652
17652
|
firstNodeId: this.firstPerson && this.firstPerson.length > 0 ? this.firstPerson[0].id : "",
|
|
17653
17653
|
vars: {
|
|
17654
|
-
processBusinessKey: this.extraParams.businessKey,
|
|
17654
|
+
processBusinessKey: this.id || this.extraParams.businessKey,
|
|
17655
17655
|
showType: "all",
|
|
17656
17656
|
subjectId: this.businessSubjectId,
|
|
17657
17657
|
deptId: this.businessDeptIdData,
|
|
17658
17658
|
businessType: this.businessType,
|
|
17659
17659
|
name: this.extraParams.name,
|
|
17660
|
-
title: this.extraParams.title,
|
|
17660
|
+
title: this.title || this.extraParams.title,
|
|
17661
17661
|
applyUserId: this.extraParams.applyUserId
|
|
17662
17662
|
}
|
|
17663
17663
|
};
|
|
@@ -18124,7 +18124,7 @@ var h0 = function() {
|
|
|
18124
18124
|
const m0 = {
|
|
18125
18125
|
name: "msgList",
|
|
18126
18126
|
components: {
|
|
18127
|
-
TopPopup:
|
|
18127
|
+
TopPopup: Ye
|
|
18128
18128
|
},
|
|
18129
18129
|
props: {
|
|
18130
18130
|
visible: {
|
|
@@ -18412,8 +18412,8 @@ const b0 = {
|
|
|
18412
18412
|
},
|
|
18413
18413
|
components: {
|
|
18414
18414
|
TopTips: dt,
|
|
18415
|
-
attchViews:
|
|
18416
|
-
TopPopup:
|
|
18415
|
+
attchViews: zi,
|
|
18416
|
+
TopPopup: Ye,
|
|
18417
18417
|
departPerson: Ut,
|
|
18418
18418
|
MsgList: xs
|
|
18419
18419
|
},
|
|
@@ -18775,8 +18775,8 @@ const I0 = {
|
|
|
18775
18775
|
},
|
|
18776
18776
|
components: {
|
|
18777
18777
|
TopTips: dt,
|
|
18778
|
-
attchViews:
|
|
18779
|
-
TopPopup:
|
|
18778
|
+
attchViews: zi,
|
|
18779
|
+
TopPopup: Ye,
|
|
18780
18780
|
departPerson: Ut,
|
|
18781
18781
|
MsgList: xs
|
|
18782
18782
|
},
|
|
@@ -19204,7 +19204,7 @@ const M0 = {
|
|
|
19204
19204
|
name: "TreeNode",
|
|
19205
19205
|
components: {
|
|
19206
19206
|
SelectFixedPerson: cp,
|
|
19207
|
-
TopPopup:
|
|
19207
|
+
TopPopup: Ye,
|
|
19208
19208
|
TopTips: dt,
|
|
19209
19209
|
departPerson: Ut
|
|
19210
19210
|
},
|
|
@@ -20261,8 +20261,8 @@ var W0 = function() {
|
|
|
20261
20261
|
}
|
|
20262
20262
|
}
|
|
20263
20263
|
})], 1);
|
|
20264
|
-
},
|
|
20265
|
-
const
|
|
20264
|
+
}, z0 = [];
|
|
20265
|
+
const Y0 = {
|
|
20266
20266
|
props: {
|
|
20267
20267
|
request: {
|
|
20268
20268
|
type: Function,
|
|
@@ -20454,9 +20454,9 @@ const z0 = {
|
|
|
20454
20454
|
}
|
|
20455
20455
|
}, Al = {};
|
|
20456
20456
|
var X0 = /* @__PURE__ */ ge(
|
|
20457
|
-
z0,
|
|
20458
|
-
W0,
|
|
20459
20457
|
Y0,
|
|
20458
|
+
W0,
|
|
20459
|
+
z0,
|
|
20460
20460
|
!1,
|
|
20461
20461
|
Z0,
|
|
20462
20462
|
"58762489",
|
|
@@ -20706,8 +20706,8 @@ const iC = {
|
|
|
20706
20706
|
},
|
|
20707
20707
|
components: {
|
|
20708
20708
|
TopTips: dt,
|
|
20709
|
-
attchViews:
|
|
20710
|
-
TopPopup:
|
|
20709
|
+
attchViews: zi,
|
|
20710
|
+
TopPopup: Ye,
|
|
20711
20711
|
departPerson: Ut,
|
|
20712
20712
|
MsgList: xs,
|
|
20713
20713
|
TreePerson: U0,
|
|
@@ -21139,8 +21139,8 @@ const iC = {
|
|
|
21139
21139
|
})), Object.keys(e).forEach((o) => {
|
|
21140
21140
|
Array.isArray(e[o]) && (e[o] = e[o].filter((l) => l)), (!e[o] || Array.isArray(e[o]) && e[o].length <= 0) && delete e[o];
|
|
21141
21141
|
});
|
|
21142
|
-
let s = t && t.nodeType != "endEvent", n = t && t.branches && t.branches.length == 1 && t.branches[0].nodeInfoDTO && t.branches[0].nodeInfoDTO.nodeType != "endEvent", r = t && t.branches && t.branches.length == 1 && t.branches[0].nodeType != "endEvent";
|
|
21143
|
-
if (s
|
|
21142
|
+
let s = t && t.nodeType != "endEvent" && (!t.branches || t.branches.length <= 0), n = t && t.nodeType != "endEvent" && t.branches && t.branches.length == 1 && t.branches[0].nodeInfoDTO && t.branches[0].nodeInfoDTO.nodeType != "endEvent", r = t && t.nodeType != "endEvent" && t.branches && t.branches.length == 1 && !t.branches[0].nodeInfoDTO && t.branches[0].nodeType != "endEvent";
|
|
21143
|
+
if ((s || n || r) && !Object.keys(e).length)
|
|
21144
21144
|
return this.handleTips("\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9", !0, "error"), !1;
|
|
21145
21145
|
Date.now() && console.log("\u63D0\u4EA4\u6570\u636E", {
|
|
21146
21146
|
pass: !0,
|
|
@@ -21228,8 +21228,8 @@ const iC = {
|
|
|
21228
21228
|
})), Object.keys(i).forEach((l) => {
|
|
21229
21229
|
Array.isArray(i[l]) && (i[l] = i[l].filter((p) => p)), (!i[l] || Array.isArray(i[l]) && i[l].length <= 0) && delete i[l];
|
|
21230
21230
|
});
|
|
21231
|
-
let n = s && s.nodeType != "endEvent", r = s && s.branches && s.branches.length == 1 && s.branches[0].nodeInfoDTO && s.branches[0].nodeInfoDTO.nodeType != "endEvent", a = s && s.branches && s.branches.length == 1 && s.branches[0].nodeType != "endEvent";
|
|
21232
|
-
if (n
|
|
21231
|
+
let n = s && s.nodeType != "endEvent" && (!s.branches || s.branches.length <= 0), r = s && s.nodeType != "endEvent" && s.branches && s.branches.length == 1 && s.branches[0].nodeInfoDTO && s.branches[0].nodeInfoDTO.nodeType != "endEvent", a = s && s.nodeType != "endEvent" && s.branches && s.branches.length == 1 && !s.branches[0].nodeInfoDTO && s.branches[0].nodeType != "endEvent";
|
|
21232
|
+
if ((n || r || a) && !Object.keys(i).length)
|
|
21233
21233
|
return this.handleTips("\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9", !0, "error"), !1;
|
|
21234
21234
|
await this.param.request.post("/bladex/blade-workflow/tis/complete", {
|
|
21235
21235
|
pass: !0,
|
|
@@ -21322,7 +21322,7 @@ var sC = /* @__PURE__ */ ge(
|
|
|
21322
21322
|
tC,
|
|
21323
21323
|
!1,
|
|
21324
21324
|
nC,
|
|
21325
|
-
"
|
|
21325
|
+
"631c6834",
|
|
21326
21326
|
null,
|
|
21327
21327
|
null
|
|
21328
21328
|
);
|
|
@@ -21532,8 +21532,8 @@ const oC = {
|
|
|
21532
21532
|
},
|
|
21533
21533
|
components: {
|
|
21534
21534
|
TopTips: dt,
|
|
21535
|
-
attchViews:
|
|
21536
|
-
TopPopup:
|
|
21535
|
+
attchViews: zi,
|
|
21536
|
+
TopPopup: Ye,
|
|
21537
21537
|
departPerson: Ut,
|
|
21538
21538
|
MsgList: xs
|
|
21539
21539
|
},
|
|
@@ -21827,8 +21827,8 @@ const hC = {
|
|
|
21827
21827
|
},
|
|
21828
21828
|
components: {
|
|
21829
21829
|
TopTips: dt,
|
|
21830
|
-
attchViews:
|
|
21831
|
-
TopPopup:
|
|
21830
|
+
attchViews: zi,
|
|
21831
|
+
TopPopup: Ye,
|
|
21832
21832
|
departPerson: Ut,
|
|
21833
21833
|
TopDownSelect: lp,
|
|
21834
21834
|
MsgList: xs
|
|
@@ -22394,7 +22394,7 @@ const NC = /* @__PURE__ */ function() {
|
|
|
22394
22394
|
components: {
|
|
22395
22395
|
processBtns: NC,
|
|
22396
22396
|
TopTab: Hb,
|
|
22397
|
-
TopPopup:
|
|
22397
|
+
TopPopup: Ye,
|
|
22398
22398
|
TopTips: dt,
|
|
22399
22399
|
TopSumbitPopup: p0
|
|
22400
22400
|
},
|
|
@@ -22564,7 +22564,7 @@ const NC = /* @__PURE__ */ function() {
|
|
|
22564
22564
|
const n = ((this.ProcessInsObj.process || {}).variables || {}).deptId;
|
|
22565
22565
|
this.deptId = n;
|
|
22566
22566
|
const r = (this.ProcessInsObj.process || {}).taskId;
|
|
22567
|
-
this.absoluteTaskId = r, this.approvalData = (t.data || {}).flow || [], this.processXml = ((t.data || {}).process || {}).xml || "";
|
|
22567
|
+
this.absoluteTaskId = r, this.approvalData = (t.data || {}).flow || [], this.processXml = ((t.data || {}).process || {}).xml || "", this.handleGetProcessStatus();
|
|
22568
22568
|
}
|
|
22569
22569
|
}), this.getCurrentProcess(), this.getUserInfo());
|
|
22570
22570
|
},
|
|
@@ -22935,19 +22935,21 @@ const NC = /* @__PURE__ */ function() {
|
|
|
22935
22935
|
this.taskNode = [].concat(e), this.taskNodeShow = !1, this.actionShow = !1, this.handleGetProcessStatus(), this.handleGetUserTaskModel();
|
|
22936
22936
|
},
|
|
22937
22937
|
handleGetProcessStatus() {
|
|
22938
|
-
this.handleTips("", !0, "loading"), this.request.get("/
|
|
22938
|
+
this.handleTips("", !0, "loading"), this.request.get("/bladex/blade-workflow/repository/findTaskTodoInfoByTaskId", {
|
|
22939
22939
|
params: {
|
|
22940
|
-
|
|
22941
|
-
taskId: this.taskNode.length ? this.taskNode[0].taskId : ""
|
|
22940
|
+
taskId: this.absoluteTaskId || ""
|
|
22942
22941
|
}
|
|
22943
22942
|
}).then((e) => {
|
|
22944
|
-
e.code == 200 && (this.processStatus =
|
|
22945
|
-
|
|
22946
|
-
|
|
22947
|
-
|
|
22948
|
-
|
|
22943
|
+
e.code == 200 && (this.processStatus = {
|
|
22944
|
+
...e.data || {},
|
|
22945
|
+
...e.data.vars ? e.data.vars : {},
|
|
22946
|
+
bizStatusName: e.data.taskState,
|
|
22947
|
+
currUserName: e.data.currentName,
|
|
22948
|
+
allUserNames: e.data.currentName
|
|
22949
|
+
}), this.handleGetHeight(), this.handleTips("", !1, "success");
|
|
22949
22950
|
}).catch((e) => {
|
|
22950
22951
|
this.handleGetHeight();
|
|
22952
|
+
}).finally(() => {
|
|
22951
22953
|
});
|
|
22952
22954
|
},
|
|
22953
22955
|
handleGetUserTaskModel() {
|
|
@@ -23345,5 +23347,5 @@ export {
|
|
|
23345
23347
|
RC as TopProcess,
|
|
23346
23348
|
p0 as TopSumbitPopup,
|
|
23347
23349
|
Tm as ViewAttchList,
|
|
23348
|
-
|
|
23350
|
+
zi as attchViews
|
|
23349
23351
|
};
|