ddy-process-h5 1.0.1-rc.3.35 → 1.0.1-rc.3.53
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 +894 -884
- package/v2/ddy-process-h5.umd.cjs +10 -10
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +566 -556
- package/v2.7/ddy-process-h5.umd.cjs +10 -10
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +1355 -1345
- package/v3/ddy-process-h5.umd.cjs +8 -8
- package/v3/style.css +1 -1
package/v2.7/ddy-process-h5.js
CHANGED
|
@@ -9,7 +9,7 @@ var je = Object.freeze({}), re = Array.isArray;
|
|
|
9
9
|
function te(e) {
|
|
10
10
|
return e == null;
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function A(e) {
|
|
13
13
|
return e != null;
|
|
14
14
|
}
|
|
15
15
|
function Ce(e) {
|
|
@@ -42,7 +42,7 @@ function ll(e) {
|
|
|
42
42
|
return i >= 0 && Math.floor(i) === i && isFinite(e);
|
|
43
43
|
}
|
|
44
44
|
function jn(e) {
|
|
45
|
-
return
|
|
45
|
+
return A(e) && typeof e.then == "function" && typeof e.catch == "function";
|
|
46
46
|
}
|
|
47
47
|
function Lu(e) {
|
|
48
48
|
return e == null ? "" : Array.isArray(e) || Ve(e) && e.toString === dn ? JSON.stringify(e, null, 2) : String(e);
|
|
@@ -426,33 +426,33 @@ function lt(e, i, t, s, n, r) {
|
|
|
426
426
|
enumerable: !0,
|
|
427
427
|
configurable: !0,
|
|
428
428
|
get: function() {
|
|
429
|
-
var
|
|
429
|
+
var b = l ? l.call(e) : t;
|
|
430
430
|
return ot.target && (process.env.NODE_ENV !== "production" ? a.depend({
|
|
431
431
|
target: e,
|
|
432
432
|
type: "get",
|
|
433
433
|
key: i
|
|
434
|
-
}) : a.depend(), h && (h.dep.depend(), re(
|
|
434
|
+
}) : a.depend(), h && (h.dep.depend(), re(b) && Cl(b))), vt(b) && !n ? b.value : b;
|
|
435
435
|
},
|
|
436
|
-
set: function(
|
|
437
|
-
var
|
|
438
|
-
if (!!qu(
|
|
436
|
+
set: function(b) {
|
|
437
|
+
var P = l ? l.call(e) : t;
|
|
438
|
+
if (!!qu(P, b)) {
|
|
439
439
|
if (process.env.NODE_ENV !== "production" && s && s(), p)
|
|
440
|
-
p.call(e,
|
|
440
|
+
p.call(e, b);
|
|
441
441
|
else {
|
|
442
442
|
if (l)
|
|
443
443
|
return;
|
|
444
|
-
if (!n && vt(
|
|
445
|
-
|
|
444
|
+
if (!n && vt(P) && !vt(b)) {
|
|
445
|
+
P.value = b;
|
|
446
446
|
return;
|
|
447
447
|
} else
|
|
448
|
-
t =
|
|
448
|
+
t = b;
|
|
449
449
|
}
|
|
450
|
-
h = !n && Et(
|
|
450
|
+
h = !n && Et(b, !1, r), process.env.NODE_ENV !== "production" ? a.notify({
|
|
451
451
|
type: "set",
|
|
452
452
|
target: e,
|
|
453
453
|
key: i,
|
|
454
|
-
newValue:
|
|
455
|
-
oldValue:
|
|
454
|
+
newValue: b,
|
|
455
|
+
oldValue: P
|
|
456
456
|
}) : a.notify();
|
|
457
457
|
}
|
|
458
458
|
}
|
|
@@ -618,13 +618,13 @@ function Pt(e, i, t) {
|
|
|
618
618
|
function r() {
|
|
619
619
|
t.apply(this, arguments), Jt(s.fns, r);
|
|
620
620
|
}
|
|
621
|
-
te(n) ? s = qn([r]) :
|
|
621
|
+
te(n) ? s = qn([r]) : A(n.fns) && Ce(n.merged) ? (s = n, s.fns.push(r)) : s = qn([n, r]), s.merged = !0, e[i] = s;
|
|
622
622
|
}
|
|
623
623
|
function np(e, i, t) {
|
|
624
624
|
var s = i.options.props;
|
|
625
625
|
if (!te(s)) {
|
|
626
626
|
var n = {}, r = e.attrs, a = e.props;
|
|
627
|
-
if (
|
|
627
|
+
if (A(r) || A(a))
|
|
628
628
|
for (var o in s) {
|
|
629
629
|
var l = hi(o);
|
|
630
630
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -639,7 +639,7 @@ function np(e, i, t) {
|
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
function ga(e, i, t, s, n) {
|
|
642
|
-
if (
|
|
642
|
+
if (A(i)) {
|
|
643
643
|
if (Pe(i, t))
|
|
644
644
|
return e[t] = i[t], n || delete i[t], !0;
|
|
645
645
|
if (Pe(i, s))
|
|
@@ -657,12 +657,12 @@ function wr(e) {
|
|
|
657
657
|
return It(e) ? [wi(e)] : re(e) ? El(e) : void 0;
|
|
658
658
|
}
|
|
659
659
|
function Ji(e) {
|
|
660
|
-
return
|
|
660
|
+
return A(e) && A(e.text) && Ru(e.isComment);
|
|
661
661
|
}
|
|
662
662
|
function El(e, i) {
|
|
663
663
|
var t = [], s, n, r, a;
|
|
664
664
|
for (s = 0; s < e.length; s++)
|
|
665
|
-
n = e[s], !(te(n) || typeof n == "boolean") && (r = t.length - 1, a = t[r], re(n) ? n.length > 0 && (n = El(n, "".concat(i || "", "_").concat(s)), Ji(n[0]) && Ji(a) && (t[r] = wi(a.text + n[0].text), n.shift()), t.push.apply(t, n)) : It(n) ? Ji(a) ? t[r] = wi(a.text + n) : n !== "" && t.push(wi(n)) : Ji(n) && Ji(a) ? t[r] = wi(a.text + n.text) : (Ce(e._isVList) &&
|
|
665
|
+
n = e[s], !(te(n) || typeof n == "boolean") && (r = t.length - 1, a = t[r], re(n) ? n.length > 0 && (n = El(n, "".concat(i || "", "_").concat(s)), Ji(n[0]) && Ji(a) && (t[r] = wi(a.text + n[0].text), n.shift()), t.push.apply(t, n)) : It(n) ? Ji(a) ? t[r] = wi(a.text + n) : n !== "" && t.push(wi(n)) : Ji(n) && Ji(a) ? t[r] = wi(a.text + n.text) : (Ce(e._isVList) && A(n.tag) && te(n.key) && A(i) && (n.key = "__vlist".concat(i, "_").concat(s, "__")), t.push(n)));
|
|
666
666
|
return t;
|
|
667
667
|
}
|
|
668
668
|
function ap(e, i) {
|
|
@@ -681,7 +681,7 @@ function ap(e, i) {
|
|
|
681
681
|
} else
|
|
682
682
|
for (r = Object.keys(e), t = new Array(r.length), s = 0, n = r.length; s < n; s++)
|
|
683
683
|
a = r[s], t[s] = i(e[a], a, s);
|
|
684
|
-
return
|
|
684
|
+
return A(t) || (t = []), t._isVList = !0, t;
|
|
685
685
|
}
|
|
686
686
|
function op(e, i, t, s) {
|
|
687
687
|
var n = this.$scopedSlots[e], r;
|
|
@@ -714,9 +714,9 @@ function up(e, i, t, s, n) {
|
|
|
714
714
|
}
|
|
715
715
|
var h = ni(l), m = hi(l);
|
|
716
716
|
if (!(h in r) && !(m in r) && (r[l] = t[l], n)) {
|
|
717
|
-
var
|
|
718
|
-
|
|
719
|
-
t[l] =
|
|
717
|
+
var b = e.on || (e.on = {});
|
|
718
|
+
b["update:".concat(l)] = function(P) {
|
|
719
|
+
t[l] = P;
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
};
|
|
@@ -960,31 +960,31 @@ function Tp(e, i, t, s, n) {
|
|
|
960
960
|
return r.asyncFactory = e, r.asyncMeta = { data: i, context: t, children: s, tag: n }, r;
|
|
961
961
|
}
|
|
962
962
|
function Ip(e, i) {
|
|
963
|
-
if (Ce(e.error) &&
|
|
963
|
+
if (Ce(e.error) && A(e.errorComp))
|
|
964
964
|
return e.errorComp;
|
|
965
|
-
if (
|
|
965
|
+
if (A(e.resolved))
|
|
966
966
|
return e.resolved;
|
|
967
967
|
var t = Jn;
|
|
968
|
-
if (t &&
|
|
968
|
+
if (t && A(e.owners) && e.owners.indexOf(t) === -1 && e.owners.push(t), Ce(e.loading) && A(e.loadingComp))
|
|
969
969
|
return e.loadingComp;
|
|
970
|
-
if (t && !
|
|
970
|
+
if (t && !A(e.owners)) {
|
|
971
971
|
var s = e.owners = [t], n = !0, r = null, a = null;
|
|
972
972
|
t.$on("hook:destroyed", function() {
|
|
973
973
|
return Jt(s, t);
|
|
974
974
|
});
|
|
975
975
|
var o = function(m) {
|
|
976
|
-
for (var
|
|
977
|
-
s[
|
|
976
|
+
for (var b = 0, P = s.length; b < P; b++)
|
|
977
|
+
s[b].$forceUpdate();
|
|
978
978
|
m && (s.length = 0, r !== null && (clearTimeout(r), r = null), a !== null && (clearTimeout(a), a = null));
|
|
979
979
|
}, l = Ks(function(m) {
|
|
980
980
|
e.resolved = Cn(m, i), n ? s.length = 0 : o(!0);
|
|
981
981
|
}), p = Ks(function(m) {
|
|
982
982
|
process.env.NODE_ENV !== "production" && L("Failed to resolve async component: ".concat(String(e)) + (m ? `
|
|
983
|
-
Reason: `.concat(m) : "")),
|
|
983
|
+
Reason: `.concat(m) : "")), A(e.errorComp) && (e.error = !0, o(!0));
|
|
984
984
|
}), h = e(l, p);
|
|
985
|
-
return De(h) && (jn(h) ? te(e.resolved) && h.then(l, p) : jn(h.component) && (h.component.then(l, p),
|
|
985
|
+
return De(h) && (jn(h) ? te(e.resolved) && h.then(l, p) : jn(h.component) && (h.component.then(l, p), A(h.error) && (e.errorComp = Cn(h.error, i)), A(h.loading) && (e.loadingComp = Cn(h.loading, i), h.delay === 0 ? e.loading = !0 : r = setTimeout(function() {
|
|
986
986
|
r = null, te(e.resolved) && te(e.error) && (e.loading = !0, o(!1));
|
|
987
|
-
}, h.delay || 200)),
|
|
987
|
+
}, h.delay || 200)), A(h.timeout) && (a = setTimeout(function() {
|
|
988
988
|
a = null, te(e.resolved) && p(process.env.NODE_ENV !== "production" ? "timeout (".concat(h.timeout, "ms)") : null);
|
|
989
989
|
}, h.timeout)))), n = !1, e.loading ? e.loadingComp : e.resolved;
|
|
990
990
|
}
|
|
@@ -993,7 +993,7 @@ function Sl(e) {
|
|
|
993
993
|
if (re(e))
|
|
994
994
|
for (var i = 0; i < e.length; i++) {
|
|
995
995
|
var t = e[i];
|
|
996
|
-
if (
|
|
996
|
+
if (A(t) && (A(t.componentOptions) || is(t)))
|
|
997
997
|
return t;
|
|
998
998
|
}
|
|
999
999
|
}
|
|
@@ -1002,25 +1002,25 @@ function Zs(e, i, t, s, n, r) {
|
|
|
1002
1002
|
return (re(t) || It(t)) && (n = s, s = t, t = void 0), Ce(r) && (n = _l), Np(e, i, t, s, n);
|
|
1003
1003
|
}
|
|
1004
1004
|
function Np(e, i, t, s, n) {
|
|
1005
|
-
if (
|
|
1005
|
+
if (A(t) && A(t.__ob__))
|
|
1006
1006
|
return process.env.NODE_ENV !== "production" && L("Avoid using observed data object as vnode data: ".concat(JSON.stringify(t), `
|
|
1007
1007
|
`) + "Always create fresh vnode data objects in each render!", e), ti();
|
|
1008
|
-
if (
|
|
1008
|
+
if (A(t) && A(t.is) && (i = t.is), !i)
|
|
1009
1009
|
return ti();
|
|
1010
|
-
process.env.NODE_ENV !== "production" &&
|
|
1010
|
+
process.env.NODE_ENV !== "production" && A(t) && A(t.key) && !It(t.key) && L("Avoid using non-primitive value as key, use string/number value instead.", e), re(s) && ve(s[0]) && (t = t || {}, t.scopedSlots = { default: s[0] }, s.length = 0), n === _l ? s = wr(s) : n === kp && (s = rp(s));
|
|
1011
1011
|
var r, a;
|
|
1012
1012
|
if (typeof i == "string") {
|
|
1013
1013
|
var o = void 0;
|
|
1014
|
-
a = e.$vnode && e.$vnode.ns || ge.getTagNamespace(i), ge.isReservedTag(i) ? (process.env.NODE_ENV !== "production" &&
|
|
1014
|
+
a = e.$vnode && e.$vnode.ns || ge.getTagNamespace(i), ge.isReservedTag(i) ? (process.env.NODE_ENV !== "production" && A(t) && A(t.nativeOn) && t.tag !== "component" && L("The .native modifier for v-on is only valid on components but it was used on <".concat(i, ">."), e), r = new Je(ge.parsePlatformTagName(i), t, s, void 0, void 0, e)) : (!t || !t.pre) && A(o = tn(e.$options, "components", i)) ? r = ka(o, t, e, s, i) : r = new Je(i, t, s, void 0, void 0, e);
|
|
1015
1015
|
} else
|
|
1016
1016
|
r = ka(i, t, e, s);
|
|
1017
|
-
return re(r) ? r :
|
|
1017
|
+
return re(r) ? r : A(r) ? (A(a) && Pl(r, a), A(t) && Sp(t), r) : ti();
|
|
1018
1018
|
}
|
|
1019
1019
|
function Pl(e, i, t) {
|
|
1020
|
-
if (e.ns = i, e.tag === "foreignObject" && (i = void 0, t = !0),
|
|
1020
|
+
if (e.ns = i, e.tag === "foreignObject" && (i = void 0, t = !0), A(e.children))
|
|
1021
1021
|
for (var s = 0, n = e.children.length; s < n; s++) {
|
|
1022
1022
|
var r = e.children[s];
|
|
1023
|
-
|
|
1023
|
+
A(r.tag) && (te(r.ns) || Ce(t) && r.tag !== "svg") && Pl(r, i, t);
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
function Sp(e) {
|
|
@@ -1349,9 +1349,9 @@ function Up(e, i, t, s, n) {
|
|
|
1349
1349
|
var m = e.$options._parentListeners;
|
|
1350
1350
|
if (e._listenersProxy && Xs(e._listenersProxy, t, m || je, e, "$listeners"), e.$listeners = e.$options._parentListeners = t, Dl(e, t, m), i && e.$options.props) {
|
|
1351
1351
|
Rt(!1);
|
|
1352
|
-
for (var
|
|
1353
|
-
var z =
|
|
1354
|
-
|
|
1352
|
+
for (var b = e._props, P = e.$options._propKeys || [], V = 0; V < P.length; V++) {
|
|
1353
|
+
var z = P[V], ie = e.$options.props;
|
|
1354
|
+
b[z] = Mr(z, ie, i, e);
|
|
1355
1355
|
}
|
|
1356
1356
|
Rt(!0), e.$options.propsData = i;
|
|
1357
1357
|
}
|
|
@@ -1505,28 +1505,28 @@ function Sr(e, i, t, s, n) {
|
|
|
1505
1505
|
get: function() {
|
|
1506
1506
|
return Xi(s, e.scopedSlots, this.slots());
|
|
1507
1507
|
}
|
|
1508
|
-
}), l && (this.$options = a, this.$slots = this.slots(), this.$scopedSlots = Xi(s, e.scopedSlots, this.$slots)), a._scopeId ? this._c = function(h, m,
|
|
1509
|
-
var V = Zs(o, h, m,
|
|
1508
|
+
}), l && (this.$options = a, this.$slots = this.slots(), this.$scopedSlots = Xi(s, e.scopedSlots, this.$slots)), a._scopeId ? this._c = function(h, m, b, P) {
|
|
1509
|
+
var V = Zs(o, h, m, b, P, p);
|
|
1510
1510
|
return V && !re(V) && (V.fnScopeId = a._scopeId, V.fnContext = s), V;
|
|
1511
|
-
} : this._c = function(h, m,
|
|
1512
|
-
return Zs(o, h, m,
|
|
1511
|
+
} : this._c = function(h, m, b, P) {
|
|
1512
|
+
return Zs(o, h, m, b, P, p);
|
|
1513
1513
|
};
|
|
1514
1514
|
}
|
|
1515
1515
|
kl(Sr.prototype);
|
|
1516
1516
|
function Zp(e, i, t, s, n) {
|
|
1517
1517
|
var r = e.options, a = {}, o = r.props;
|
|
1518
|
-
if (
|
|
1518
|
+
if (A(o))
|
|
1519
1519
|
for (var l in o)
|
|
1520
1520
|
a[l] = Mr(l, o, i || je);
|
|
1521
1521
|
else
|
|
1522
|
-
|
|
1522
|
+
A(t.attrs) && Ta(a, t.attrs), A(t.props) && Ta(a, t.props);
|
|
1523
1523
|
var p = new Sr(t, a, n, s, e), h = r.render.call(null, p._c, p);
|
|
1524
1524
|
if (h instanceof Je)
|
|
1525
1525
|
return Ea(h, t, p.parent, r, p);
|
|
1526
1526
|
if (re(h)) {
|
|
1527
|
-
for (var m = wr(h) || [],
|
|
1528
|
-
|
|
1529
|
-
return
|
|
1527
|
+
for (var m = wr(h) || [], b = new Array(m.length), P = 0; P < m.length; P++)
|
|
1528
|
+
b[P] = Ea(m[P], t, p.parent, r, p);
|
|
1529
|
+
return b;
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
1532
|
function Ea(e, i, t, s, n) {
|
|
@@ -1579,7 +1579,7 @@ function ka(e, i, t, s, n) {
|
|
|
1579
1579
|
var a;
|
|
1580
1580
|
if (te(e.cid) && (a = e, e = Ip(a, r), e === void 0))
|
|
1581
1581
|
return Tp(a, i, t, s, n);
|
|
1582
|
-
i = i || {}, Rr(e),
|
|
1582
|
+
i = i || {}, Rr(e), A(i.model) && id(e.options, i);
|
|
1583
1583
|
var o = np(i, e, n);
|
|
1584
1584
|
if (Ce(e.options.functional))
|
|
1585
1585
|
return Zp(e, o, i, t, s);
|
|
@@ -1608,7 +1608,7 @@ function $p(e, i) {
|
|
|
1608
1608
|
_parentVnode: e,
|
|
1609
1609
|
parent: i
|
|
1610
1610
|
}, s = e.data.inlineTemplate;
|
|
1611
|
-
return
|
|
1611
|
+
return A(s) && (t.render = s.render, t.staticRenderFns = s.staticRenderFns), new e.componentOptions.Ctor(t);
|
|
1612
1612
|
}
|
|
1613
1613
|
function ed(e) {
|
|
1614
1614
|
for (var i = e.hook || (e.hook = {}), t = 0; t < Ia.length; t++) {
|
|
@@ -1626,7 +1626,7 @@ function id(e, i) {
|
|
|
1626
1626
|
var t = e.model && e.model.prop || "value", s = e.model && e.model.event || "input";
|
|
1627
1627
|
(i.attrs || (i.attrs = {}))[t] = i.model.value;
|
|
1628
1628
|
var n = i.on || (i.on = {}), r = n[s], a = i.model.callback;
|
|
1629
|
-
|
|
1629
|
+
A(r) ? (re(r) ? r.indexOf(a) === -1 : r !== a) && (n[s] = [a].concat(r)) : n[s] = a;
|
|
1630
1630
|
}
|
|
1631
1631
|
var L = Se, Pr = Se, xn, Zt;
|
|
1632
1632
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1872,8 +1872,8 @@ function fd(e, i, t, s, n) {
|
|
|
1872
1872
|
o.push(p.expectedType || ""), a = p.valid;
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
|
-
var h = o.some(function(
|
|
1876
|
-
return
|
|
1875
|
+
var h = o.some(function(b) {
|
|
1876
|
+
return b;
|
|
1877
1877
|
});
|
|
1878
1878
|
if (!a && h) {
|
|
1879
1879
|
L(vd(i, t, o), s);
|
|
@@ -2323,20 +2323,20 @@ var Kd = Xe("style,class"), Wd = Xe("input,textarea,option,select,progress"), Yd
|
|
|
2323
2323
|
return e == null || e === !1;
|
|
2324
2324
|
};
|
|
2325
2325
|
function $d(e) {
|
|
2326
|
-
for (var i = e.data, t = e, s = e;
|
|
2326
|
+
for (var i = e.data, t = e, s = e; A(s.componentInstance); )
|
|
2327
2327
|
s = s.componentInstance._vnode, s && s.data && (i = Qa(s.data, i));
|
|
2328
|
-
for (;
|
|
2328
|
+
for (; A(t = t.parent); )
|
|
2329
2329
|
t && t.data && (i = Qa(i, t.data));
|
|
2330
2330
|
return eh(i.staticClass, i.class);
|
|
2331
2331
|
}
|
|
2332
2332
|
function Qa(e, i) {
|
|
2333
2333
|
return {
|
|
2334
2334
|
staticClass: Fr(e.staticClass, i.staticClass),
|
|
2335
|
-
class:
|
|
2335
|
+
class: A(e.class) ? [e.class, i.class] : i.class
|
|
2336
2336
|
};
|
|
2337
2337
|
}
|
|
2338
2338
|
function eh(e, i) {
|
|
2339
|
-
return
|
|
2339
|
+
return A(e) || A(i) ? Fr(e, jr(i)) : "";
|
|
2340
2340
|
}
|
|
2341
2341
|
function Fr(e, i) {
|
|
2342
2342
|
return e ? i ? e + " " + i : e : i || "";
|
|
@@ -2346,7 +2346,7 @@ function jr(e) {
|
|
|
2346
2346
|
}
|
|
2347
2347
|
function th(e) {
|
|
2348
2348
|
for (var i = "", t, s = 0, n = e.length; s < n; s++)
|
|
2349
|
-
|
|
2349
|
+
A(t = jr(e[s])) && t !== "" && (i && (i += " "), i += t);
|
|
2350
2350
|
return i;
|
|
2351
2351
|
}
|
|
2352
2352
|
function ih(e) {
|
|
@@ -2450,7 +2450,7 @@ var bh = /* @__PURE__ */ Object.freeze({
|
|
|
2450
2450
|
};
|
|
2451
2451
|
function Ei(e, i) {
|
|
2452
2452
|
var t = e.data.ref;
|
|
2453
|
-
if (!!
|
|
2453
|
+
if (!!A(t)) {
|
|
2454
2454
|
var s = e.context, n = e.componentInstance || e.elm, r = i ? null : n, a = i ? void 0 : n;
|
|
2455
2455
|
if (ve(t)) {
|
|
2456
2456
|
Ft(t, s, [r], s, "template ref function");
|
|
@@ -2479,25 +2479,25 @@ function Ua(e, i, t) {
|
|
|
2479
2479
|
}
|
|
2480
2480
|
var Dt = new Je("", {}, []), Hi = ["create", "activate", "update", "remove", "destroy"];
|
|
2481
2481
|
function Yt(e, i) {
|
|
2482
|
-
return e.key === i.key && e.asyncFactory === i.asyncFactory && (e.tag === i.tag && e.isComment === i.isComment &&
|
|
2482
|
+
return e.key === i.key && e.asyncFactory === i.asyncFactory && (e.tag === i.tag && e.isComment === i.isComment && A(e.data) === A(i.data) && wh(e, i) || Ce(e.isAsyncPlaceholder) && te(i.asyncFactory.error));
|
|
2483
2483
|
}
|
|
2484
2484
|
function wh(e, i) {
|
|
2485
2485
|
if (e.tag !== "input")
|
|
2486
2486
|
return !0;
|
|
2487
|
-
var t, s =
|
|
2487
|
+
var t, s = A(t = e.data) && A(t = t.attrs) && t.type, n = A(t = i.data) && A(t = t.attrs) && t.type;
|
|
2488
2488
|
return s === n || er(s) && er(n);
|
|
2489
2489
|
}
|
|
2490
2490
|
function xh(e, i, t) {
|
|
2491
2491
|
var s, n, r = {};
|
|
2492
2492
|
for (s = i; s <= t; ++s)
|
|
2493
|
-
n = e[s].key,
|
|
2493
|
+
n = e[s].key, A(n) && (r[n] = s);
|
|
2494
2494
|
return r;
|
|
2495
2495
|
}
|
|
2496
2496
|
function Eh(e) {
|
|
2497
2497
|
var i, t, s = {}, n = e.modules, r = e.nodeOps;
|
|
2498
2498
|
for (i = 0; i < Hi.length; ++i)
|
|
2499
2499
|
for (s[Hi[i]] = [], t = 0; t < n.length; ++t)
|
|
2500
|
-
|
|
2500
|
+
A(n[t][Hi[i]]) && s[Hi[i]].push(n[t][Hi[i]]);
|
|
2501
2501
|
function a(g) {
|
|
2502
2502
|
return new Je(r.tagName(g).toLowerCase(), {}, [], void 0, g);
|
|
2503
2503
|
}
|
|
@@ -2509,7 +2509,7 @@ function Eh(e) {
|
|
|
2509
2509
|
}
|
|
2510
2510
|
function l(g) {
|
|
2511
2511
|
var y = r.parentNode(g);
|
|
2512
|
-
|
|
2512
|
+
A(y) && r.removeChild(y, g);
|
|
2513
2513
|
}
|
|
2514
2514
|
function p(g, y) {
|
|
2515
2515
|
return !y && !g.ns && !(ge.ignoredElements.length && ge.ignoredElements.some(function(x) {
|
|
@@ -2518,25 +2518,25 @@ function Eh(e) {
|
|
|
2518
2518
|
}
|
|
2519
2519
|
var h = 0;
|
|
2520
2520
|
function m(g, y, x, M, J, ae, C) {
|
|
2521
|
-
if (
|
|
2521
|
+
if (A(g.elm) && A(ae) && (g = ae[C] = Un(g)), g.isRootInsert = !J, !b(g, y, x, M)) {
|
|
2522
2522
|
var w = g.data, O = g.children, W = g.tag;
|
|
2523
|
-
|
|
2523
|
+
A(W) ? (process.env.NODE_ENV !== "production" && (w && w.pre && h++, p(g, h) && L("Unknown custom element: <" + W + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.', g.context)), g.elm = g.ns ? r.createElementNS(g.ns, W) : r.createElement(W, g), k(g), ie(g, O, y), A(w) && G(g, y), z(x, g.elm, M), process.env.NODE_ENV !== "production" && w && w.pre && h--) : Ce(g.isComment) ? (g.elm = r.createComment(g.text), z(x, g.elm, M)) : (g.elm = r.createTextNode(g.text), z(x, g.elm, M));
|
|
2524
2524
|
}
|
|
2525
2525
|
}
|
|
2526
|
-
function
|
|
2526
|
+
function b(g, y, x, M) {
|
|
2527
2527
|
var J = g.data;
|
|
2528
|
-
if (
|
|
2529
|
-
var ae =
|
|
2530
|
-
if (
|
|
2531
|
-
return
|
|
2528
|
+
if (A(J)) {
|
|
2529
|
+
var ae = A(g.componentInstance) && J.keepAlive;
|
|
2530
|
+
if (A(J = J.hook) && A(J = J.init) && J(g, !1), A(g.componentInstance))
|
|
2531
|
+
return P(g, y), z(x, g.elm, M), Ce(ae) && V(g, y, x, M), !0;
|
|
2532
2532
|
}
|
|
2533
2533
|
}
|
|
2534
|
-
function
|
|
2535
|
-
|
|
2534
|
+
function P(g, y) {
|
|
2535
|
+
A(g.data.pendingInsert) && (y.push.apply(y, g.data.pendingInsert), g.data.pendingInsert = null), g.elm = g.componentInstance.$el, Z(g) ? (G(g, y), k(g)) : (Ei(g), y.push(g));
|
|
2536
2536
|
}
|
|
2537
2537
|
function V(g, y, x, M) {
|
|
2538
2538
|
for (var J, ae = g; ae.componentInstance; )
|
|
2539
|
-
if (ae = ae.componentInstance._vnode,
|
|
2539
|
+
if (ae = ae.componentInstance._vnode, A(J = ae.data) && A(J = J.transition)) {
|
|
2540
2540
|
for (J = 0; J < s.activate.length; ++J)
|
|
2541
2541
|
s.activate[J](Dt, ae);
|
|
2542
2542
|
y.push(ae);
|
|
@@ -2545,7 +2545,7 @@ function Eh(e) {
|
|
|
2545
2545
|
z(x, g.elm, M);
|
|
2546
2546
|
}
|
|
2547
2547
|
function z(g, y, x) {
|
|
2548
|
-
|
|
2548
|
+
A(g) && (A(x) ? r.parentNode(x) === g && r.insertBefore(g, y, x) : r.appendChild(g, y));
|
|
2549
2549
|
}
|
|
2550
2550
|
function ie(g, y, x) {
|
|
2551
2551
|
if (re(y)) {
|
|
@@ -2558,21 +2558,21 @@ function Eh(e) {
|
|
|
2558
2558
|
function Z(g) {
|
|
2559
2559
|
for (; g.componentInstance; )
|
|
2560
2560
|
g = g.componentInstance._vnode;
|
|
2561
|
-
return
|
|
2561
|
+
return A(g.tag);
|
|
2562
2562
|
}
|
|
2563
2563
|
function G(g, y) {
|
|
2564
2564
|
for (var x = 0; x < s.create.length; ++x)
|
|
2565
2565
|
s.create[x](Dt, g);
|
|
2566
|
-
i = g.data.hook,
|
|
2566
|
+
i = g.data.hook, A(i) && (A(i.create) && i.create(Dt, g), A(i.insert) && y.push(g));
|
|
2567
2567
|
}
|
|
2568
|
-
function
|
|
2568
|
+
function k(g) {
|
|
2569
2569
|
var y;
|
|
2570
|
-
if (
|
|
2570
|
+
if (A(y = g.fnScopeId))
|
|
2571
2571
|
r.setStyleScope(g.elm, y);
|
|
2572
2572
|
else
|
|
2573
2573
|
for (var x = g; x; )
|
|
2574
|
-
|
|
2575
|
-
|
|
2574
|
+
A(y = x.context) && A(y = y.$options._scopeId) && r.setStyleScope(g.elm, y), x = x.parent;
|
|
2575
|
+
A(y = ii) && y !== g.context && y !== g.fnContext && A(y = y.$options._scopeId) && r.setStyleScope(g.elm, y);
|
|
2576
2576
|
}
|
|
2577
2577
|
function T(g, y, x, M, J, ae) {
|
|
2578
2578
|
for (; M <= J; ++M)
|
|
@@ -2580,53 +2580,53 @@ function Eh(e) {
|
|
|
2580
2580
|
}
|
|
2581
2581
|
function D(g) {
|
|
2582
2582
|
var y, x, M = g.data;
|
|
2583
|
-
if (
|
|
2584
|
-
for (
|
|
2583
|
+
if (A(M))
|
|
2584
|
+
for (A(y = M.hook) && A(y = y.destroy) && y(g), y = 0; y < s.destroy.length; ++y)
|
|
2585
2585
|
s.destroy[y](g);
|
|
2586
|
-
if (
|
|
2586
|
+
if (A(y = g.children))
|
|
2587
2587
|
for (x = 0; x < g.children.length; ++x)
|
|
2588
2588
|
D(g.children[x]);
|
|
2589
2589
|
}
|
|
2590
|
-
function
|
|
2590
|
+
function S(g, y, x) {
|
|
2591
2591
|
for (; y <= x; ++y) {
|
|
2592
2592
|
var M = g[y];
|
|
2593
|
-
|
|
2593
|
+
A(M) && (A(M.tag) ? (N(M), D(M)) : l(M.elm));
|
|
2594
2594
|
}
|
|
2595
2595
|
}
|
|
2596
|
-
function
|
|
2597
|
-
if (
|
|
2596
|
+
function N(g, y) {
|
|
2597
|
+
if (A(y) || A(g.data)) {
|
|
2598
2598
|
var x, M = s.remove.length + 1;
|
|
2599
|
-
for (
|
|
2599
|
+
for (A(y) ? y.listeners += M : y = o(g.elm, M), A(x = g.componentInstance) && A(x = x._vnode) && A(x.data) && N(x, y), x = 0; x < s.remove.length; ++x)
|
|
2600
2600
|
s.remove[x](g, y);
|
|
2601
|
-
|
|
2601
|
+
A(x = g.data.hook) && A(x = x.remove) ? x(g, y) : y();
|
|
2602
2602
|
} else
|
|
2603
2603
|
l(g.elm);
|
|
2604
2604
|
}
|
|
2605
2605
|
function I(g, y, x, M, J) {
|
|
2606
2606
|
var ae = 0, C = 0, w = y.length - 1, O = y[0], W = y[w], $ = x.length - 1, ne = x[0], d = x[$], c, u, f, v, E = !J;
|
|
2607
2607
|
for (process.env.NODE_ENV !== "production" && F(x); ae <= w && C <= $; )
|
|
2608
|
-
te(O) ? O = y[++ae] : te(W) ? W = y[--w] : Yt(O, ne) ? (R(O, ne, M, x, C), O = y[++ae], ne = x[++C]) : Yt(W, d) ? (R(W, d, M, x, $), W = y[--w], d = x[--$]) : Yt(O, d) ? (R(O, d, M, x, $), E && r.insertBefore(g, O.elm, r.nextSibling(W.elm)), O = y[++ae], d = x[--$]) : Yt(W, ne) ? (R(W, ne, M, x, C), E && r.insertBefore(g, W.elm, O.elm), W = y[--w], ne = x[++C]) : (te(c) && (c = xh(y, ae, w)), u =
|
|
2609
|
-
ae > w ? (v = te(x[$ + 1]) ? null : x[$ + 1].elm, T(g, v, x, C, $, M)) : C > $ &&
|
|
2608
|
+
te(O) ? O = y[++ae] : te(W) ? W = y[--w] : Yt(O, ne) ? (R(O, ne, M, x, C), O = y[++ae], ne = x[++C]) : Yt(W, d) ? (R(W, d, M, x, $), W = y[--w], d = x[--$]) : Yt(O, d) ? (R(O, d, M, x, $), E && r.insertBefore(g, O.elm, r.nextSibling(W.elm)), O = y[++ae], d = x[--$]) : Yt(W, ne) ? (R(W, ne, M, x, C), E && r.insertBefore(g, W.elm, O.elm), W = y[--w], ne = x[++C]) : (te(c) && (c = xh(y, ae, w)), u = A(ne.key) ? c[ne.key] : _(ne, y, ae, w), te(u) ? m(ne, M, g, O.elm, !1, x, C) : (f = y[u], Yt(f, ne) ? (R(f, ne, M, x, C), y[u] = void 0, E && r.insertBefore(g, f.elm, O.elm)) : m(ne, M, g, O.elm, !1, x, C)), ne = x[++C]);
|
|
2609
|
+
ae > w ? (v = te(x[$ + 1]) ? null : x[$ + 1].elm, T(g, v, x, C, $, M)) : C > $ && S(y, ae, w);
|
|
2610
2610
|
}
|
|
2611
2611
|
function F(g) {
|
|
2612
2612
|
for (var y = {}, x = 0; x < g.length; x++) {
|
|
2613
2613
|
var M = g[x], J = M.key;
|
|
2614
|
-
|
|
2614
|
+
A(J) && (y[J] ? L("Duplicate keys detected: '".concat(J, "'. This may cause an update error."), M.context) : y[J] = !0);
|
|
2615
2615
|
}
|
|
2616
2616
|
}
|
|
2617
|
-
function
|
|
2617
|
+
function _(g, y, x, M) {
|
|
2618
2618
|
for (var J = x; J < M; J++) {
|
|
2619
2619
|
var ae = y[J];
|
|
2620
|
-
if (
|
|
2620
|
+
if (A(ae) && Yt(g, ae))
|
|
2621
2621
|
return J;
|
|
2622
2622
|
}
|
|
2623
2623
|
}
|
|
2624
2624
|
function R(g, y, x, M, J, ae) {
|
|
2625
2625
|
if (g !== y) {
|
|
2626
|
-
|
|
2626
|
+
A(y.elm) && A(M) && (y = M[J] = Un(y));
|
|
2627
2627
|
var C = y.elm = g.elm;
|
|
2628
2628
|
if (Ce(g.isAsyncPlaceholder)) {
|
|
2629
|
-
|
|
2629
|
+
A(y.asyncFactory.resolved) ? ke(g.elm, y, x) : y.isAsyncPlaceholder = !0;
|
|
2630
2630
|
return;
|
|
2631
2631
|
}
|
|
2632
2632
|
if (Ce(y.isStatic) && Ce(g.isStatic) && y.key === g.key && (Ce(y.isCloned) || Ce(y.isOnce))) {
|
|
@@ -2634,18 +2634,18 @@ function Eh(e) {
|
|
|
2634
2634
|
return;
|
|
2635
2635
|
}
|
|
2636
2636
|
var w, O = y.data;
|
|
2637
|
-
|
|
2637
|
+
A(O) && A(w = O.hook) && A(w = w.prepatch) && w(g, y);
|
|
2638
2638
|
var W = g.children, $ = y.children;
|
|
2639
|
-
if (
|
|
2639
|
+
if (A(O) && Z(y)) {
|
|
2640
2640
|
for (w = 0; w < s.update.length; ++w)
|
|
2641
2641
|
s.update[w](g, y);
|
|
2642
|
-
|
|
2642
|
+
A(w = O.hook) && A(w = w.update) && w(g, y);
|
|
2643
2643
|
}
|
|
2644
|
-
te(y.text) ?
|
|
2644
|
+
te(y.text) ? A(W) && A($) ? W !== $ && I(C, W, $, x, ae) : A($) ? (process.env.NODE_ENV !== "production" && F($), A(g.text) && r.setTextContent(C, ""), T(C, null, $, 0, $.length - 1, x)) : A(W) ? S(W, 0, W.length - 1) : A(g.text) && r.setTextContent(C, "") : g.text !== y.text && r.setTextContent(C, y.text), A(O) && A(w = O.hook) && A(w = w.postpatch) && w(g, y);
|
|
2645
2645
|
}
|
|
2646
2646
|
}
|
|
2647
2647
|
function B(g, y, x) {
|
|
2648
|
-
if (Ce(x) &&
|
|
2648
|
+
if (Ce(x) && A(g.parent))
|
|
2649
2649
|
g.parent.data.pendingInsert = y;
|
|
2650
2650
|
else
|
|
2651
2651
|
for (var M = 0; M < y.length; ++M)
|
|
@@ -2654,17 +2654,17 @@ function Eh(e) {
|
|
|
2654
2654
|
var U = !1, X = Xe("attrs,class,staticClass,staticStyle,key");
|
|
2655
2655
|
function ke(g, y, x, M) {
|
|
2656
2656
|
var J, ae = y.tag, C = y.data, w = y.children;
|
|
2657
|
-
if (M = M || C && C.pre, y.elm = g, Ce(y.isComment) &&
|
|
2657
|
+
if (M = M || C && C.pre, y.elm = g, Ce(y.isComment) && A(y.asyncFactory))
|
|
2658
2658
|
return y.isAsyncPlaceholder = !0, !0;
|
|
2659
2659
|
if (process.env.NODE_ENV !== "production" && !oe(g, y, M))
|
|
2660
2660
|
return !1;
|
|
2661
|
-
if (
|
|
2662
|
-
return
|
|
2663
|
-
if (
|
|
2664
|
-
if (
|
|
2661
|
+
if (A(C) && (A(J = C.hook) && A(J = J.init) && J(y, !0), A(J = y.componentInstance)))
|
|
2662
|
+
return P(y, x), !0;
|
|
2663
|
+
if (A(ae)) {
|
|
2664
|
+
if (A(w))
|
|
2665
2665
|
if (!g.hasChildNodes())
|
|
2666
2666
|
ie(y, w, x);
|
|
2667
|
-
else if (
|
|
2667
|
+
else if (A(J = C) && A(J = J.domProps) && A(J = J.innerHTML)) {
|
|
2668
2668
|
if (J !== g.innerHTML)
|
|
2669
2669
|
return process.env.NODE_ENV !== "production" && typeof console < "u" && !U && (U = !0, g.innerHTML), !1;
|
|
2670
2670
|
} else {
|
|
@@ -2678,7 +2678,7 @@ function Eh(e) {
|
|
|
2678
2678
|
if (!O || W)
|
|
2679
2679
|
return process.env.NODE_ENV !== "production" && typeof console < "u" && !U && (U = !0, g.childNodes), !1;
|
|
2680
2680
|
}
|
|
2681
|
-
if (
|
|
2681
|
+
if (A(C)) {
|
|
2682
2682
|
var ne = !1;
|
|
2683
2683
|
for (var d in C)
|
|
2684
2684
|
if (!X(d)) {
|
|
@@ -2692,18 +2692,18 @@ function Eh(e) {
|
|
|
2692
2692
|
return !0;
|
|
2693
2693
|
}
|
|
2694
2694
|
function oe(g, y, x) {
|
|
2695
|
-
return
|
|
2695
|
+
return A(y.tag) ? y.tag.indexOf("vue-component") === 0 || !p(y, x) && y.tag.toLowerCase() === (g.tagName && g.tagName.toLowerCase()) : g.nodeType === (y.isComment ? 8 : 3);
|
|
2696
2696
|
}
|
|
2697
2697
|
return function(y, x, M, J) {
|
|
2698
2698
|
if (te(x)) {
|
|
2699
|
-
|
|
2699
|
+
A(y) && D(y);
|
|
2700
2700
|
return;
|
|
2701
2701
|
}
|
|
2702
2702
|
var ae = !1, C = [];
|
|
2703
2703
|
if (te(y))
|
|
2704
2704
|
ae = !0, m(x, C);
|
|
2705
2705
|
else {
|
|
2706
|
-
var w =
|
|
2706
|
+
var w = A(y.nodeType);
|
|
2707
2707
|
if (!w && Yt(y, x))
|
|
2708
2708
|
R(y, x, C, null, null, J);
|
|
2709
2709
|
else {
|
|
@@ -2721,7 +2721,7 @@ function Eh(e) {
|
|
|
2721
2721
|
C,
|
|
2722
2722
|
O._leaveCb ? null : W,
|
|
2723
2723
|
r.nextSibling(O)
|
|
2724
|
-
),
|
|
2724
|
+
), A(x.parent))
|
|
2725
2725
|
for (var $ = x.parent, ne = Z(x); $; ) {
|
|
2726
2726
|
for (var d = 0; d < s.destroy.length; ++d)
|
|
2727
2727
|
s.destroy[d]($);
|
|
@@ -2736,7 +2736,7 @@ function Eh(e) {
|
|
|
2736
2736
|
Ei($);
|
|
2737
2737
|
$ = $.parent;
|
|
2738
2738
|
}
|
|
2739
|
-
|
|
2739
|
+
A(W) ? S([y], 0, 0) : A(y.tag) && D(y);
|
|
2740
2740
|
}
|
|
2741
2741
|
}
|
|
2742
2742
|
return B(x, C, ae), x.elm;
|
|
@@ -2758,14 +2758,14 @@ function Ih(e, i) {
|
|
|
2758
2758
|
p = n[l], h = r[l], p ? (h.oldValue = p.value, h.oldArg = p.arg, Ki(h, "update", i, e), h.def && h.def.componentUpdated && o.push(h)) : (Ki(h, "bind", i, e), h.def && h.def.inserted && a.push(h));
|
|
2759
2759
|
if (a.length) {
|
|
2760
2760
|
var m = function() {
|
|
2761
|
-
for (var
|
|
2762
|
-
Ki(a[
|
|
2761
|
+
for (var b = 0; b < a.length; b++)
|
|
2762
|
+
Ki(a[b], "inserted", i, e);
|
|
2763
2763
|
};
|
|
2764
2764
|
t ? Pt(i, "insert", m) : m();
|
|
2765
2765
|
}
|
|
2766
2766
|
if (o.length && Pt(i, "postpatch", function() {
|
|
2767
|
-
for (var
|
|
2768
|
-
Ki(o[
|
|
2767
|
+
for (var b = 0; b < o.length; b++)
|
|
2768
|
+
Ki(o[b], "componentUpdated", i, e);
|
|
2769
2769
|
}), !t)
|
|
2770
2770
|
for (l in n)
|
|
2771
2771
|
r[l] || Ki(n[l], "unbind", e, e, s);
|
|
@@ -2803,9 +2803,9 @@ function Ki(e, i, t, s, n) {
|
|
|
2803
2803
|
var Sh = [Ch, Th];
|
|
2804
2804
|
function qa(e, i) {
|
|
2805
2805
|
var t = i.componentOptions;
|
|
2806
|
-
if (!(
|
|
2806
|
+
if (!(A(t) && t.Ctor.options.inheritAttrs === !1) && !(te(e.data.attrs) && te(i.data.attrs))) {
|
|
2807
2807
|
var s, n, r, a = i.elm, o = e.data.attrs || {}, l = i.data.attrs || {};
|
|
2808
|
-
(
|
|
2808
|
+
(A(l.__ob__) || Ce(l._v_attr_proxy)) && (l = i.data.attrs = ye({}, l));
|
|
2809
2809
|
for (s in l)
|
|
2810
2810
|
n = l[s], r = o[s], r !== n && Ja(a, s, n, i.data.pre);
|
|
2811
2811
|
(Bi || vr) && l.value !== o.value && Ja(a, "value", l.value);
|
|
@@ -2837,7 +2837,7 @@ function Ka(e, i) {
|
|
|
2837
2837
|
var t = i.elm, s = i.data, n = e.data;
|
|
2838
2838
|
if (!(te(s.staticClass) && te(s.class) && (te(n) || te(n.staticClass) && te(n.class)))) {
|
|
2839
2839
|
var r = $d(i), a = t._transitionClasses;
|
|
2840
|
-
|
|
2840
|
+
A(a) && (r = Fr(r, jr(a))), r !== t._prevClass && (t.setAttribute("class", r), t._prevClass = r);
|
|
2841
2841
|
}
|
|
2842
2842
|
}
|
|
2843
2843
|
var Ph = {
|
|
@@ -2845,11 +2845,11 @@ var Ph = {
|
|
|
2845
2845
|
update: Ka
|
|
2846
2846
|
}, In = "__r", kn = "__c";
|
|
2847
2847
|
function Dh(e) {
|
|
2848
|
-
if (
|
|
2848
|
+
if (A(e[In])) {
|
|
2849
2849
|
var i = Bi ? "change" : "input";
|
|
2850
2850
|
e[i] = [].concat(e[In], e[i] || []), delete e[In];
|
|
2851
2851
|
}
|
|
2852
|
-
|
|
2852
|
+
A(e[kn]) && (e.change = [].concat(e[kn], e.change || []), delete e[kn]);
|
|
2853
2853
|
}
|
|
2854
2854
|
var os;
|
|
2855
2855
|
function Oh(e, i, t) {
|
|
@@ -2893,7 +2893,7 @@ var Rh = {
|
|
|
2893
2893
|
function Wa(e, i) {
|
|
2894
2894
|
if (!(te(e.data.domProps) && te(i.data.domProps))) {
|
|
2895
2895
|
var t, s, n = i.elm, r = e.data.domProps || {}, a = i.data.domProps || {};
|
|
2896
|
-
(
|
|
2896
|
+
(A(a.__ob__) || Ce(a._v_attr_proxy)) && (a = i.data.domProps = ye({}, a));
|
|
2897
2897
|
for (t in r)
|
|
2898
2898
|
t in a || (n[t] = "");
|
|
2899
2899
|
for (t in a) {
|
|
@@ -2933,7 +2933,7 @@ function Fh(e, i) {
|
|
|
2933
2933
|
}
|
|
2934
2934
|
function jh(e, i) {
|
|
2935
2935
|
var t = e.value, s = e._vModifiers;
|
|
2936
|
-
if (
|
|
2936
|
+
if (A(s)) {
|
|
2937
2937
|
if (s.number)
|
|
2938
2938
|
return es(t) !== es(i);
|
|
2939
2939
|
if (s.trim)
|
|
@@ -2996,7 +2996,7 @@ function Za(e, i) {
|
|
|
2996
2996
|
var t = i.data, s = e.data;
|
|
2997
2997
|
if (!(te(t.staticStyle) && te(t.style) && te(s.staticStyle) && te(s.style))) {
|
|
2998
2998
|
var n, r, a = i.elm, o = s.staticStyle, l = s.normalizedStyle || s.style || {}, p = o || l, h = Jl(i.data.style) || {};
|
|
2999
|
-
i.data.normalizedStyle =
|
|
2999
|
+
i.data.normalizedStyle = A(h.__ob__) ? ye({}, h) : h;
|
|
3000
3000
|
var m = Uh(i, !0);
|
|
3001
3001
|
for (r in p)
|
|
3002
3002
|
te(m[r]) && za(a, r, "");
|
|
@@ -3083,12 +3083,12 @@ var Hh = /\b(transform|all)(,|$)/;
|
|
|
3083
3083
|
function ec(e, i) {
|
|
3084
3084
|
var t = window.getComputedStyle(e), s = (t[Qs + "Delay"] || "").split(", "), n = (t[Qs + "Duration"] || "").split(", "), r = to(s, n), a = (t[tr + "Delay"] || "").split(", "), o = (t[tr + "Duration"] || "").split(", "), l = to(a, o), p, h = 0, m = 0;
|
|
3085
3085
|
i === Ci ? r > 0 && (p = Ci, h = r, m = n.length) : i === _n ? l > 0 && (p = _n, h = l, m = o.length) : (h = Math.max(r, l), p = h > 0 ? r > l ? Ci : _n : null, m = p ? p === Ci ? n.length : o.length : 0);
|
|
3086
|
-
var
|
|
3086
|
+
var b = p === Ci && Hh.test(t[Qs + "Property"]);
|
|
3087
3087
|
return {
|
|
3088
3088
|
type: p,
|
|
3089
3089
|
timeout: h,
|
|
3090
3090
|
propCount: m,
|
|
3091
|
-
hasTransform:
|
|
3091
|
+
hasTransform: b
|
|
3092
3092
|
};
|
|
3093
3093
|
}
|
|
3094
3094
|
function to(e, i) {
|
|
@@ -3103,42 +3103,42 @@ function io(e) {
|
|
|
3103
3103
|
}
|
|
3104
3104
|
function ir(e, i) {
|
|
3105
3105
|
var t = e.elm;
|
|
3106
|
-
|
|
3106
|
+
A(t._leaveCb) && (t._leaveCb.cancelled = !0, t._leaveCb());
|
|
3107
3107
|
var s = Yl(e.data.transition);
|
|
3108
|
-
if (!te(s) && !(
|
|
3109
|
-
for (var n = s.css, r = s.type, a = s.enterClass, o = s.enterToClass, l = s.enterActiveClass, p = s.appearClass, h = s.appearToClass, m = s.appearActiveClass,
|
|
3110
|
-
D =
|
|
3111
|
-
var
|
|
3112
|
-
if (!(
|
|
3113
|
-
var I =
|
|
3108
|
+
if (!te(s) && !(A(t._enterCb) || t.nodeType !== 1)) {
|
|
3109
|
+
for (var n = s.css, r = s.type, a = s.enterClass, o = s.enterToClass, l = s.enterActiveClass, p = s.appearClass, h = s.appearToClass, m = s.appearActiveClass, b = s.beforeEnter, P = s.enter, V = s.afterEnter, z = s.enterCancelled, ie = s.beforeAppear, Z = s.appear, G = s.afterAppear, k = s.appearCancelled, T = s.duration, D = ii, S = ii.$vnode; S && S.parent; )
|
|
3110
|
+
D = S.context, S = S.parent;
|
|
3111
|
+
var N = !D._isMounted || !e.isRootInsert;
|
|
3112
|
+
if (!(N && !Z && Z !== "")) {
|
|
3113
|
+
var I = N && p ? p : a, F = N && m ? m : l, _ = N && h ? h : o, R = N && ie || b, B = N && ve(Z) ? Z : P, U = N && G || V, X = N && k || z, ke = es(De(T) ? T.enter : T);
|
|
3114
3114
|
process.env.NODE_ENV !== "production" && ke != null && ic(ke, "enter", e);
|
|
3115
3115
|
var oe = n !== !1 && !Ri, g = Qr(B), y = t._enterCb = Ks(function() {
|
|
3116
|
-
oe && (wt(t,
|
|
3116
|
+
oe && (wt(t, _), wt(t, F)), y.cancelled ? (oe && wt(t, I), X && X(t)) : U && U(t), t._enterCb = null;
|
|
3117
3117
|
});
|
|
3118
3118
|
e.data.show || Pt(e, "insert", function() {
|
|
3119
3119
|
var x = t.parentNode, M = x && x._pending && x._pending[e.key];
|
|
3120
3120
|
M && M.tag === e.tag && M.elm._leaveCb && M.elm._leaveCb(), B && B(t, y);
|
|
3121
3121
|
}), R && R(t), oe && (si(t, I), si(t, F), Zl(function() {
|
|
3122
|
-
wt(t, I), y.cancelled || (si(t,
|
|
3122
|
+
wt(t, I), y.cancelled || (si(t, _), g || (sc(ke) ? setTimeout(y, ke) : $l(t, r, y)));
|
|
3123
3123
|
})), e.data.show && (i && i(), B && B(t, y)), !oe && !g && y();
|
|
3124
3124
|
}
|
|
3125
3125
|
}
|
|
3126
3126
|
}
|
|
3127
3127
|
function tc(e, i) {
|
|
3128
3128
|
var t = e.elm;
|
|
3129
|
-
|
|
3129
|
+
A(t._enterCb) && (t._enterCb.cancelled = !0, t._enterCb());
|
|
3130
3130
|
var s = Yl(e.data.transition);
|
|
3131
3131
|
if (te(s) || t.nodeType !== 1)
|
|
3132
3132
|
return i();
|
|
3133
|
-
if (
|
|
3133
|
+
if (A(t._leaveCb))
|
|
3134
3134
|
return;
|
|
3135
|
-
var n = s.css, r = s.type, a = s.leaveClass, o = s.leaveToClass, l = s.leaveActiveClass, p = s.beforeLeave, h = s.leave, m = s.afterLeave,
|
|
3136
|
-
process.env.NODE_ENV !== "production" &&
|
|
3135
|
+
var n = s.css, r = s.type, a = s.leaveClass, o = s.leaveToClass, l = s.leaveActiveClass, p = s.beforeLeave, h = s.leave, m = s.afterLeave, b = s.leaveCancelled, P = s.delayLeave, V = s.duration, z = n !== !1 && !Ri, ie = Qr(h), Z = es(De(V) ? V.leave : V);
|
|
3136
|
+
process.env.NODE_ENV !== "production" && A(Z) && ic(Z, "leave", e);
|
|
3137
3137
|
var G = t._leaveCb = Ks(function() {
|
|
3138
|
-
t.parentNode && t.parentNode._pending && (t.parentNode._pending[e.key] = null), z && (wt(t, o), wt(t, l)), G.cancelled ? (z && wt(t, a),
|
|
3138
|
+
t.parentNode && t.parentNode._pending && (t.parentNode._pending[e.key] = null), z && (wt(t, o), wt(t, l)), G.cancelled ? (z && wt(t, a), b && b(t)) : (i(), m && m(t)), t._leaveCb = null;
|
|
3139
3139
|
});
|
|
3140
|
-
|
|
3141
|
-
function
|
|
3140
|
+
P ? P(k) : k();
|
|
3141
|
+
function k() {
|
|
3142
3142
|
G.cancelled || (!e.data.show && t.parentNode && ((t.parentNode._pending || (t.parentNode._pending = {}))[e.key] = e), p && p(t), z && (si(t, a), si(t, l), Zl(function() {
|
|
3143
3143
|
wt(t, a), G.cancelled || (si(t, o), ie || (sc(Z) ? setTimeout(G, Z) : $l(t, r, G)));
|
|
3144
3144
|
})), h && h(t, G), !z && !ie && G());
|
|
@@ -3154,7 +3154,7 @@ function Qr(e) {
|
|
|
3154
3154
|
if (te(e))
|
|
3155
3155
|
return !1;
|
|
3156
3156
|
var i = e.fns;
|
|
3157
|
-
return
|
|
3157
|
+
return A(i) ? Qr(Array.isArray(i) ? i[0] : i) : (e._length || e.length) > 1;
|
|
3158
3158
|
}
|
|
3159
3159
|
function so(e, i) {
|
|
3160
3160
|
i.data.show !== !0 && ir(i);
|
|
@@ -3337,11 +3337,11 @@ var sf = function(e) {
|
|
|
3337
3337
|
if (s === "in-out") {
|
|
3338
3338
|
if (is(r))
|
|
3339
3339
|
return l;
|
|
3340
|
-
var m,
|
|
3340
|
+
var m, b = function() {
|
|
3341
3341
|
m();
|
|
3342
3342
|
};
|
|
3343
|
-
Pt(o, "afterEnter",
|
|
3344
|
-
m =
|
|
3343
|
+
Pt(o, "afterEnter", b), Pt(o, "enterCancelled", b), Pt(h, "delayLeave", function(P) {
|
|
3344
|
+
m = P;
|
|
3345
3345
|
});
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
@@ -3380,11 +3380,11 @@ var af = {
|
|
|
3380
3380
|
}
|
|
3381
3381
|
}
|
|
3382
3382
|
if (s) {
|
|
3383
|
-
for (var m = [],
|
|
3383
|
+
for (var m = [], b = [], o = 0; o < s.length; o++) {
|
|
3384
3384
|
var l = s[o];
|
|
3385
|
-
l.data.transition = a, l.data.pos = l.elm.getBoundingClientRect(), t[l.key] ? m.push(l) :
|
|
3385
|
+
l.data.transition = a, l.data.pos = l.elm.getBoundingClientRect(), t[l.key] ? m.push(l) : b.push(l);
|
|
3386
3386
|
}
|
|
3387
|
-
this.kept = e(i, null, m), this.removed =
|
|
3387
|
+
this.kept = e(i, null, m), this.removed = b;
|
|
3388
3388
|
}
|
|
3389
3389
|
return e(i, null, r);
|
|
3390
3390
|
},
|
|
@@ -3596,8 +3596,8 @@ function be(e, i, t, s, n, r, a, o) {
|
|
|
3596
3596
|
var l = typeof e == "function" ? e.options : e;
|
|
3597
3597
|
i && (l.render = i, l.staticRenderFns = t, l._compiled = !0), s && (l.functional = !0), r && (l._scopeId = "data-v-" + r);
|
|
3598
3598
|
var p;
|
|
3599
|
-
if (a ? (p = function(
|
|
3600
|
-
|
|
3599
|
+
if (a ? (p = function(b) {
|
|
3600
|
+
b = b || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !b && typeof __VUE_SSR_CONTEXT__ < "u" && (b = __VUE_SSR_CONTEXT__), n && n.call(this, b), b && b._registeredComponents && b._registeredComponents.add(a);
|
|
3601
3601
|
}, l._ssrRegister = p) : n && (p = o ? function() {
|
|
3602
3602
|
n.call(
|
|
3603
3603
|
this,
|
|
@@ -3607,8 +3607,8 @@ function be(e, i, t, s, n, r, a, o) {
|
|
|
3607
3607
|
if (l.functional) {
|
|
3608
3608
|
l._injectStyles = p;
|
|
3609
3609
|
var h = l.render;
|
|
3610
|
-
l.render = function(
|
|
3611
|
-
return p.call(V), h(
|
|
3610
|
+
l.render = function(P, V) {
|
|
3611
|
+
return p.call(V), h(P, V);
|
|
3612
3612
|
};
|
|
3613
3613
|
} else {
|
|
3614
3614
|
var m = l.beforeCreate;
|
|
@@ -4251,9 +4251,9 @@ function Rf(e) {
|
|
|
4251
4251
|
function Lf(e, i) {
|
|
4252
4252
|
let t, s, n, r;
|
|
4253
4253
|
function a(m) {
|
|
4254
|
-
let
|
|
4255
|
-
if (
|
|
4256
|
-
return o(
|
|
4254
|
+
let b = Date.now(), P = m ? 0 : r + i - b;
|
|
4255
|
+
if (P > 0)
|
|
4256
|
+
return o(P);
|
|
4257
4257
|
e.apply(n, s), l();
|
|
4258
4258
|
}
|
|
4259
4259
|
function o(m) {
|
|
@@ -4711,8 +4711,8 @@ function fm(e, i) {
|
|
|
4711
4711
|
s.push(On(a));
|
|
4712
4712
|
continue;
|
|
4713
4713
|
}
|
|
4714
|
-
const p = _s(a, r, l), h = _s(a, r, l * 0.5), m = _s(a, o, l),
|
|
4715
|
-
s.push(On(p)), s.push(hm(h,
|
|
4714
|
+
const p = _s(a, r, l), h = _s(a, r, l * 0.5), m = _s(a, o, l), b = _s(a, o, l * 0.5);
|
|
4715
|
+
s.push(On(p)), s.push(hm(h, b, m));
|
|
4716
4716
|
}
|
|
4717
4717
|
return s;
|
|
4718
4718
|
}
|
|
@@ -5068,7 +5068,7 @@ var Qm = new Tt(), Um = 10, Ds = 3, Gm = 1.5, Us = 10, Ai = 0.95, qm = 1, Jm = 0
|
|
|
5068
5068
|
function mi(e, i, t, s, n, r, a) {
|
|
5069
5069
|
kt.call(this, i, a);
|
|
5070
5070
|
var o = e && e.defaultFillColor, l = e && e.defaultStrokeColor, p = e && e.defaultLabelColor, h = Qm.next(), m = {};
|
|
5071
|
-
function
|
|
5071
|
+
function b(d) {
|
|
5072
5072
|
return t.computeStyle(d, {
|
|
5073
5073
|
strokeLinecap: "round",
|
|
5074
5074
|
strokeLinejoin: "round",
|
|
@@ -5077,7 +5077,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5077
5077
|
fill: "white"
|
|
5078
5078
|
});
|
|
5079
5079
|
}
|
|
5080
|
-
function
|
|
5080
|
+
function P(d) {
|
|
5081
5081
|
return t.computeStyle(d, ["no-fill"], {
|
|
5082
5082
|
strokeLinecap: "round",
|
|
5083
5083
|
strokeLinejoin: "round",
|
|
@@ -5114,7 +5114,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5114
5114
|
if (c === "sequenceflow-end") {
|
|
5115
5115
|
var v = me("path", {
|
|
5116
5116
|
d: "M 1 5 L 11 10 L 1 15 Z",
|
|
5117
|
-
...
|
|
5117
|
+
...b({
|
|
5118
5118
|
fill: f,
|
|
5119
5119
|
stroke: f,
|
|
5120
5120
|
strokeWidth: 1
|
|
@@ -5131,7 +5131,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5131
5131
|
cx: 6,
|
|
5132
5132
|
cy: 6,
|
|
5133
5133
|
r: 3.5,
|
|
5134
|
-
...
|
|
5134
|
+
...b({
|
|
5135
5135
|
fill: u,
|
|
5136
5136
|
stroke: f,
|
|
5137
5137
|
strokeWidth: 1,
|
|
@@ -5146,7 +5146,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5146
5146
|
if (c === "messageflow-end") {
|
|
5147
5147
|
var q = me("path", {
|
|
5148
5148
|
d: "m 1 5 l 0 -3 l 7 3 l -7 3 z",
|
|
5149
|
-
...
|
|
5149
|
+
...b({
|
|
5150
5150
|
fill: u,
|
|
5151
5151
|
stroke: f,
|
|
5152
5152
|
strokeWidth: 1,
|
|
@@ -5161,7 +5161,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5161
5161
|
if (c === "association-start") {
|
|
5162
5162
|
var ue = me("path", {
|
|
5163
5163
|
d: "M 11 5 L 1 10 L 11 15",
|
|
5164
|
-
...
|
|
5164
|
+
...P({
|
|
5165
5165
|
fill: "none",
|
|
5166
5166
|
stroke: f,
|
|
5167
5167
|
strokeWidth: 1.5,
|
|
@@ -5177,7 +5177,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5177
5177
|
if (c === "association-end") {
|
|
5178
5178
|
var ce = me("path", {
|
|
5179
5179
|
d: "M 1 5 L 11 10 L 1 15",
|
|
5180
|
-
...
|
|
5180
|
+
...P({
|
|
5181
5181
|
fill: "none",
|
|
5182
5182
|
stroke: f,
|
|
5183
5183
|
strokeWidth: 1.5,
|
|
@@ -5193,7 +5193,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5193
5193
|
if (c === "conditional-flow-marker") {
|
|
5194
5194
|
var pe = me("path", {
|
|
5195
5195
|
d: "M 0 10 L 8 6 L 16 10 L 8 14 Z",
|
|
5196
|
-
...
|
|
5196
|
+
...b({
|
|
5197
5197
|
fill: u,
|
|
5198
5198
|
stroke: f
|
|
5199
5199
|
})
|
|
@@ -5207,7 +5207,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5207
5207
|
if (c === "conditional-default-flow-marker") {
|
|
5208
5208
|
var Ne = me("path", {
|
|
5209
5209
|
d: "M 6 4 L 10 16",
|
|
5210
|
-
...
|
|
5210
|
+
...b({
|
|
5211
5211
|
stroke: f
|
|
5212
5212
|
})
|
|
5213
5213
|
});
|
|
@@ -5219,7 +5219,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5219
5219
|
}
|
|
5220
5220
|
}
|
|
5221
5221
|
function G(d, c, u, f, v = {}) {
|
|
5222
|
-
oi(f) && (v = f, f = 0), f = f || 0, v =
|
|
5222
|
+
oi(f) && (v = f, f = 0), f = f || 0, v = b(v);
|
|
5223
5223
|
var E = c / 2, q = u / 2, ue = me("circle", {
|
|
5224
5224
|
cx: E,
|
|
5225
5225
|
cy: q,
|
|
@@ -5228,8 +5228,8 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5228
5228
|
});
|
|
5229
5229
|
return xe(d, ue), ue;
|
|
5230
5230
|
}
|
|
5231
|
-
function
|
|
5232
|
-
oi(v) && (E = v, v = 0), v = v || 0, E =
|
|
5231
|
+
function k(d, c, u, f, v, E) {
|
|
5232
|
+
oi(v) && (E = v, v = 0), v = v || 0, E = b(E);
|
|
5233
5233
|
var q = me("rect", {
|
|
5234
5234
|
x: v,
|
|
5235
5235
|
y: v,
|
|
@@ -5250,7 +5250,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5250
5250
|
], ue = q.map(function(pe) {
|
|
5251
5251
|
return pe.x + "," + pe.y;
|
|
5252
5252
|
}).join(" ");
|
|
5253
|
-
f =
|
|
5253
|
+
f = b(f);
|
|
5254
5254
|
var ce = me("polygon", {
|
|
5255
5255
|
...f,
|
|
5256
5256
|
points: ue
|
|
@@ -5258,15 +5258,15 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5258
5258
|
return xe(d, ce), ce;
|
|
5259
5259
|
}
|
|
5260
5260
|
function D(d, c, u, f) {
|
|
5261
|
-
u =
|
|
5261
|
+
u = P(u);
|
|
5262
5262
|
var v = Jr(c, u, f);
|
|
5263
5263
|
return xe(d, v), v;
|
|
5264
5264
|
}
|
|
5265
|
-
function
|
|
5265
|
+
function S(d, c, u) {
|
|
5266
5266
|
return D(d, c, u, 5);
|
|
5267
5267
|
}
|
|
5268
|
-
function
|
|
5269
|
-
u =
|
|
5268
|
+
function N(d, c, u) {
|
|
5269
|
+
u = P(u);
|
|
5270
5270
|
var f = me("path", {
|
|
5271
5271
|
...u,
|
|
5272
5272
|
d: c
|
|
@@ -5274,12 +5274,12 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5274
5274
|
return xe(d, f), f;
|
|
5275
5275
|
}
|
|
5276
5276
|
function I(d, c, u, f) {
|
|
5277
|
-
return
|
|
5277
|
+
return N(c, u, Y({ "data-marker": d }, f));
|
|
5278
5278
|
}
|
|
5279
5279
|
function F(d) {
|
|
5280
5280
|
return ne[d];
|
|
5281
5281
|
}
|
|
5282
|
-
function
|
|
5282
|
+
function _(d) {
|
|
5283
5283
|
return function(c, u, f) {
|
|
5284
5284
|
return F(d)(c, u, f);
|
|
5285
5285
|
};
|
|
@@ -5295,7 +5295,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5295
5295
|
mx: 0.235,
|
|
5296
5296
|
my: 0.315
|
|
5297
5297
|
}
|
|
5298
|
-
}), E = f ? j(c, l, u.stroke) : se(c, o, u.fill), q = f ? se(c, o, u.fill) : j(c, l, u.stroke), ue =
|
|
5298
|
+
}), E = f ? j(c, l, u.stroke) : se(c, o, u.fill), q = f ? se(c, o, u.fill) : j(c, l, u.stroke), ue = N(d, v, {
|
|
5299
5299
|
fill: E,
|
|
5300
5300
|
stroke: q,
|
|
5301
5301
|
strokeWidth: 1
|
|
@@ -5317,7 +5317,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5317
5317
|
my: 0.5
|
|
5318
5318
|
}
|
|
5319
5319
|
});
|
|
5320
|
-
|
|
5320
|
+
N(d, v, {
|
|
5321
5321
|
stroke: j(c, l, u.stroke),
|
|
5322
5322
|
strokeWidth: 2
|
|
5323
5323
|
});
|
|
@@ -5332,7 +5332,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5332
5332
|
my: 0.5
|
|
5333
5333
|
}
|
|
5334
5334
|
}), ue = c.width / 2, ce = c.height / 2;
|
|
5335
|
-
|
|
5335
|
+
N(d, q, {
|
|
5336
5336
|
strokeWidth: 1,
|
|
5337
5337
|
stroke: j(c, l, u.stroke),
|
|
5338
5338
|
transform: "rotate(" + E * 30 + "," + ce + "," + ue + ")"
|
|
@@ -5351,7 +5351,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5351
5351
|
my: 0.2
|
|
5352
5352
|
}
|
|
5353
5353
|
}), E = f ? j(c, l, u.stroke) : se(c, o, u.fill);
|
|
5354
|
-
return
|
|
5354
|
+
return N(d, v, {
|
|
5355
5355
|
fill: E,
|
|
5356
5356
|
stroke: j(c, l, u.stroke),
|
|
5357
5357
|
strokeWidth: 1
|
|
@@ -5368,7 +5368,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5368
5368
|
my: 0.222
|
|
5369
5369
|
}
|
|
5370
5370
|
});
|
|
5371
|
-
return
|
|
5371
|
+
return N(d, f, {
|
|
5372
5372
|
fill: se(c, o, u.fill),
|
|
5373
5373
|
stroke: j(c, l, u.stroke),
|
|
5374
5374
|
strokeWidth: 1
|
|
@@ -5385,7 +5385,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5385
5385
|
my: 0.263
|
|
5386
5386
|
}
|
|
5387
5387
|
}), E = f ? j(c, l, u.stroke) : se(c, o, u.fill);
|
|
5388
|
-
return
|
|
5388
|
+
return N(d, v, {
|
|
5389
5389
|
fill: E,
|
|
5390
5390
|
stroke: j(c, l, u.stroke),
|
|
5391
5391
|
strokeWidth: 1
|
|
@@ -5402,7 +5402,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5402
5402
|
my: 0.722
|
|
5403
5403
|
}
|
|
5404
5404
|
}), E = f ? j(c, l, u.stroke) : se(c, o, u.fill);
|
|
5405
|
-
return
|
|
5405
|
+
return N(d, v, {
|
|
5406
5406
|
fill: E,
|
|
5407
5407
|
stroke: j(c, l, u.stroke),
|
|
5408
5408
|
strokeWidth: 1
|
|
@@ -5418,7 +5418,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5418
5418
|
mx: 0.638,
|
|
5419
5419
|
my: -0.055
|
|
5420
5420
|
}
|
|
5421
|
-
}), E = f ? j(c, l, u.stroke) : "none", q =
|
|
5421
|
+
}), E = f ? j(c, l, u.stroke) : "none", q = N(d, v, {
|
|
5422
5422
|
fill: E,
|
|
5423
5423
|
stroke: j(c, l, u.stroke),
|
|
5424
5424
|
strokeWidth: 1
|
|
@@ -5436,7 +5436,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5436
5436
|
my: 0.5
|
|
5437
5437
|
}
|
|
5438
5438
|
}), E = f ? j(c, l, u.stroke) : se(c, o, u.fill);
|
|
5439
|
-
return
|
|
5439
|
+
return N(d, v, {
|
|
5440
5440
|
fill: E,
|
|
5441
5441
|
stroke: j(c, l, u.stroke),
|
|
5442
5442
|
strokeWidth: 1
|
|
@@ -5453,7 +5453,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5453
5453
|
my: 0.2
|
|
5454
5454
|
}
|
|
5455
5455
|
}), E = f ? j(c, l, u.stroke) : se(c, o, u.fill);
|
|
5456
|
-
return
|
|
5456
|
+
return N(d, v, {
|
|
5457
5457
|
strokeWidth: 1,
|
|
5458
5458
|
fill: E,
|
|
5459
5459
|
stroke: j(c, l, u.stroke)
|
|
@@ -5470,7 +5470,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5470
5470
|
my: 0.36
|
|
5471
5471
|
}
|
|
5472
5472
|
}), E = f ? j(c, l, u.stroke) : se(c, o, u.fill);
|
|
5473
|
-
return
|
|
5473
|
+
return N(d, v, {
|
|
5474
5474
|
fill: E,
|
|
5475
5475
|
strokeWidth: 1
|
|
5476
5476
|
});
|
|
@@ -5486,7 +5486,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5486
5486
|
my: 0.194
|
|
5487
5487
|
}
|
|
5488
5488
|
});
|
|
5489
|
-
return
|
|
5489
|
+
return N(d, f, {
|
|
5490
5490
|
fill: se(c, o, u.fill),
|
|
5491
5491
|
stroke: j(c, l, u.stroke),
|
|
5492
5492
|
strokeWidth: 1
|
|
@@ -5524,7 +5524,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5524
5524
|
});
|
|
5525
5525
|
},
|
|
5526
5526
|
SubProcessMarker: function(d, c, u = {}) {
|
|
5527
|
-
var f =
|
|
5527
|
+
var f = k(d, 14, 14, 0, {
|
|
5528
5528
|
strokeWidth: 1,
|
|
5529
5529
|
fill: se(c, o, u.fill),
|
|
5530
5530
|
stroke: j(c, l, u.stroke)
|
|
@@ -5726,7 +5726,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5726
5726
|
width: f,
|
|
5727
5727
|
height: v
|
|
5728
5728
|
} = Yi(c, u);
|
|
5729
|
-
return
|
|
5729
|
+
return k(d, f, v, Us, {
|
|
5730
5730
|
...u,
|
|
5731
5731
|
fill: se(c, o, u.fill),
|
|
5732
5732
|
fillOpacity: Ai,
|
|
@@ -5738,7 +5738,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5738
5738
|
return (f.get("associationDirection") === "One" || f.get("associationDirection") === "Both") && (u.markerEnd = ie("association-end", v, E)), f.get("associationDirection") === "Both" && (u.markerStart = ie("association-start", v, E)), u = le(u, [
|
|
5739
5739
|
"markerStart",
|
|
5740
5740
|
"markerEnd"
|
|
5741
|
-
]),
|
|
5741
|
+
]), S(d, c.waypoints, {
|
|
5742
5742
|
...u,
|
|
5743
5743
|
stroke: E,
|
|
5744
5744
|
strokeDasharray: "0, 5"
|
|
@@ -5754,7 +5754,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5754
5754
|
mx: 0.474,
|
|
5755
5755
|
my: 0.296
|
|
5756
5756
|
}
|
|
5757
|
-
}), q =
|
|
5757
|
+
}), q = N(d, E, {
|
|
5758
5758
|
fill: f,
|
|
5759
5759
|
fillOpacity: Ai,
|
|
5760
5760
|
stroke: v
|
|
@@ -5770,7 +5770,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5770
5770
|
my: (c.height - 18) / c.height
|
|
5771
5771
|
}
|
|
5772
5772
|
});
|
|
5773
|
-
|
|
5773
|
+
N(d, ce, {
|
|
5774
5774
|
strokeWidth: 2,
|
|
5775
5775
|
fill: f,
|
|
5776
5776
|
stroke: v
|
|
@@ -5794,7 +5794,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5794
5794
|
});
|
|
5795
5795
|
}
|
|
5796
5796
|
function O(d, c, u = {}) {
|
|
5797
|
-
var f =
|
|
5797
|
+
var f = k(d, st(c, u), qe(c, u), 0, {
|
|
5798
5798
|
fill: se(c, o, u.fill),
|
|
5799
5799
|
fillOpacity: u.fillOpacity || Ai,
|
|
5800
5800
|
stroke: j(c, l, u.stroke),
|
|
@@ -5866,7 +5866,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5866
5866
|
x: 8,
|
|
5867
5867
|
y: 8
|
|
5868
5868
|
}
|
|
5869
|
-
}), E =
|
|
5869
|
+
}), E = N(d, v);
|
|
5870
5870
|
fe(E, {
|
|
5871
5871
|
fill: se(c, o, u.fill),
|
|
5872
5872
|
stroke: j(c, l, u.stroke),
|
|
@@ -5877,7 +5877,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5877
5877
|
x: 8,
|
|
5878
5878
|
y: 8
|
|
5879
5879
|
}
|
|
5880
|
-
}), ue =
|
|
5880
|
+
}), ue = N(d, q);
|
|
5881
5881
|
return fe(ue, {
|
|
5882
5882
|
fill: j(c, l, u.stroke),
|
|
5883
5883
|
stroke: j(c, l, u.stroke),
|
|
@@ -5908,7 +5908,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5908
5908
|
my: 0.26
|
|
5909
5909
|
}
|
|
5910
5910
|
});
|
|
5911
|
-
return
|
|
5911
|
+
return N(d, v, {
|
|
5912
5912
|
fill: j(c, l, u.stroke),
|
|
5913
5913
|
stroke: j(c, l, u.stroke),
|
|
5914
5914
|
strokeWidth: 1
|
|
@@ -5920,7 +5920,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5920
5920
|
"stroke"
|
|
5921
5921
|
]);
|
|
5922
5922
|
var f = s.getRawPath("DATA_ARROW"), v = ae(d, c, u);
|
|
5923
|
-
return
|
|
5923
|
+
return N(d, f, {
|
|
5924
5924
|
fill: "none",
|
|
5925
5925
|
stroke: j(c, l, u.stroke),
|
|
5926
5926
|
strokeWidth: 1
|
|
@@ -5941,14 +5941,14 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5941
5941
|
"stroke"
|
|
5942
5942
|
]), ae(d, c, u);
|
|
5943
5943
|
},
|
|
5944
|
-
"bpmn:DataObjectReference":
|
|
5944
|
+
"bpmn:DataObjectReference": _("bpmn:DataObject"),
|
|
5945
5945
|
"bpmn:DataOutput": function(d, c, u = {}) {
|
|
5946
5946
|
u = le(u, [
|
|
5947
5947
|
"fill",
|
|
5948
5948
|
"stroke"
|
|
5949
5949
|
]);
|
|
5950
5950
|
var f = s.getRawPath("DATA_ARROW"), v = ae(d, c, u);
|
|
5951
|
-
return
|
|
5951
|
+
return N(d, f, {
|
|
5952
5952
|
strokeWidth: 1,
|
|
5953
5953
|
fill: se(c, o, u.fill),
|
|
5954
5954
|
stroke: j(c, l, u.stroke)
|
|
@@ -5978,7 +5978,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
5978
5978
|
my: 0.133
|
|
5979
5979
|
}
|
|
5980
5980
|
});
|
|
5981
|
-
return
|
|
5981
|
+
return N(d, f, {
|
|
5982
5982
|
fill: se(c, o, u.fill),
|
|
5983
5983
|
fillOpacity: Ai,
|
|
5984
5984
|
stroke: j(c, l, u.stroke),
|
|
@@ -6020,7 +6020,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6020
6020
|
my: 0.44
|
|
6021
6021
|
}
|
|
6022
6022
|
});
|
|
6023
|
-
|
|
6023
|
+
N(d, pe, {
|
|
6024
6024
|
fill: "none",
|
|
6025
6025
|
stroke: j(c, l, u.stroke),
|
|
6026
6026
|
strokeWidth: 2
|
|
@@ -6037,7 +6037,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6037
6037
|
my: 0.296
|
|
6038
6038
|
}
|
|
6039
6039
|
});
|
|
6040
|
-
|
|
6040
|
+
N(d, ce, {
|
|
6041
6041
|
fill: "none",
|
|
6042
6042
|
stroke: j(c, l, u.stroke),
|
|
6043
6043
|
strokeWidth: 1
|
|
@@ -6065,7 +6065,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6065
6065
|
my: 0.3
|
|
6066
6066
|
}
|
|
6067
6067
|
}), E = li(c);
|
|
6068
|
-
return E.get("isMarkerVisible") &&
|
|
6068
|
+
return E.get("isMarkerVisible") && N(d, v, {
|
|
6069
6069
|
fill: j(c, l, u.stroke),
|
|
6070
6070
|
stroke: j(c, l, u.stroke),
|
|
6071
6071
|
strokeWidth: 1
|
|
@@ -6083,7 +6083,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6083
6083
|
"stroke",
|
|
6084
6084
|
"width",
|
|
6085
6085
|
"height"
|
|
6086
|
-
]),
|
|
6086
|
+
]), k(d, c.width, c.height, Us, {
|
|
6087
6087
|
stroke: j(c, l, u.stroke),
|
|
6088
6088
|
strokeWidth: 1.5,
|
|
6089
6089
|
strokeDasharray: "10, 6, 0, 6",
|
|
@@ -6121,8 +6121,8 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6121
6121
|
strokeWidth: 1.5
|
|
6122
6122
|
}), f && B(c, d, u), v;
|
|
6123
6123
|
},
|
|
6124
|
-
"bpmn:IntermediateCatchEvent":
|
|
6125
|
-
"bpmn:IntermediateThrowEvent":
|
|
6124
|
+
"bpmn:IntermediateCatchEvent": _("bpmn:IntermediateEvent"),
|
|
6125
|
+
"bpmn:IntermediateThrowEvent": _("bpmn:IntermediateEvent"),
|
|
6126
6126
|
"bpmn:Lane": function(d, c, u = {}) {
|
|
6127
6127
|
return u = le(u, [
|
|
6128
6128
|
"fill",
|
|
@@ -6145,7 +6145,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6145
6145
|
y: 15
|
|
6146
6146
|
}
|
|
6147
6147
|
});
|
|
6148
|
-
return
|
|
6148
|
+
return N(d, v, {
|
|
6149
6149
|
fill: se(c, o, u.fill),
|
|
6150
6150
|
stroke: j(c, l, u.stroke),
|
|
6151
6151
|
strokeWidth: 0.5
|
|
@@ -6156,7 +6156,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6156
6156
|
"fill",
|
|
6157
6157
|
"stroke"
|
|
6158
6158
|
]);
|
|
6159
|
-
var f = we(c), v = li(c), E = se(c, o, u.fill), q = j(c, l, u.stroke), ue =
|
|
6159
|
+
var f = we(c), v = li(c), E = se(c, o, u.fill), q = j(c, l, u.stroke), ue = S(d, c.waypoints, {
|
|
6160
6160
|
markerEnd: ie("messageflow-end", E, q),
|
|
6161
6161
|
markerStart: ie("messageflow-start", E, q),
|
|
6162
6162
|
stroke: q,
|
|
@@ -6173,7 +6173,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6173
6173
|
strokeWidth: 1
|
|
6174
6174
|
};
|
|
6175
6175
|
v.get("messageVisibleKind") === "initiating" ? (Ne.fill = E, Ne.stroke = q) : (Ne.fill = q, Ne.stroke = E);
|
|
6176
|
-
var de =
|
|
6176
|
+
var de = N(d, pe, Ne), _t = f.get("messageRef"), Cs = _t.get("name"), Ge = oe(d, Cs, {
|
|
6177
6177
|
align: "center-top",
|
|
6178
6178
|
fitBox: !0,
|
|
6179
6179
|
style: {
|
|
@@ -6199,7 +6199,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6199
6199
|
my: 0.2
|
|
6200
6200
|
}
|
|
6201
6201
|
});
|
|
6202
|
-
return
|
|
6202
|
+
return N(d, v, {
|
|
6203
6203
|
fill: j(c, l, u.stroke),
|
|
6204
6204
|
stroke: j(c, l, u.stroke),
|
|
6205
6205
|
strokeWidth: 1
|
|
@@ -6278,7 +6278,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6278
6278
|
mx: 0.3,
|
|
6279
6279
|
my: 0.4
|
|
6280
6280
|
}
|
|
6281
|
-
}),
|
|
6281
|
+
}), N(d, E, {
|
|
6282
6282
|
fill: se(c, o, u.fill),
|
|
6283
6283
|
stroke: j(c, l, u.stroke),
|
|
6284
6284
|
strokeWidth: 1
|
|
@@ -6295,7 +6295,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6295
6295
|
y: 20
|
|
6296
6296
|
}
|
|
6297
6297
|
});
|
|
6298
|
-
return
|
|
6298
|
+
return N(d, v, {
|
|
6299
6299
|
fill: se(c, o, u.fill),
|
|
6300
6300
|
stroke: j(c, l, u.stroke),
|
|
6301
6301
|
strokeWidth: 1
|
|
@@ -6316,7 +6316,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6316
6316
|
my: 0.357
|
|
6317
6317
|
}
|
|
6318
6318
|
});
|
|
6319
|
-
return
|
|
6319
|
+
return N(d, v, {
|
|
6320
6320
|
fill: j(c, l, u.stroke),
|
|
6321
6321
|
stroke: se(c, o, u.fill),
|
|
6322
6322
|
strokeWidth: 1
|
|
@@ -6327,7 +6327,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6327
6327
|
"fill",
|
|
6328
6328
|
"stroke"
|
|
6329
6329
|
]);
|
|
6330
|
-
var f = se(c, o, u.fill), v = j(c, l, u.stroke), E =
|
|
6330
|
+
var f = se(c, o, u.fill), v = j(c, l, u.stroke), E = S(d, c.waypoints, {
|
|
6331
6331
|
markerEnd: ie("sequenceflow-end", f, v),
|
|
6332
6332
|
stroke: v
|
|
6333
6333
|
}), q = we(c), { source: ue } = c;
|
|
@@ -6358,7 +6358,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6358
6358
|
y: 18
|
|
6359
6359
|
}
|
|
6360
6360
|
});
|
|
6361
|
-
|
|
6361
|
+
N(d, v, {
|
|
6362
6362
|
fill: se(c, o, u.fill),
|
|
6363
6363
|
stroke: j(c, l, u.stroke),
|
|
6364
6364
|
strokeWidth: 1
|
|
@@ -6373,7 +6373,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6373
6373
|
y: 22
|
|
6374
6374
|
}
|
|
6375
6375
|
});
|
|
6376
|
-
return
|
|
6376
|
+
return N(d, E, {
|
|
6377
6377
|
fill: se(c, o, u.fill),
|
|
6378
6378
|
stroke: j(c, l, u.stroke),
|
|
6379
6379
|
strokeWidth: 1
|
|
@@ -6420,7 +6420,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6420
6420
|
var {
|
|
6421
6421
|
width: f,
|
|
6422
6422
|
height: v
|
|
6423
|
-
} = Yi(c, u), E =
|
|
6423
|
+
} = Yi(c, u), E = k(d, f, v, 0, 0, {
|
|
6424
6424
|
fill: "none",
|
|
6425
6425
|
stroke: "none"
|
|
6426
6426
|
}), q = s.getScaledPath("TEXT_ANNOTATION", {
|
|
@@ -6433,7 +6433,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6433
6433
|
my: 0
|
|
6434
6434
|
}
|
|
6435
6435
|
});
|
|
6436
|
-
|
|
6436
|
+
N(d, q, {
|
|
6437
6437
|
stroke: j(c, l, u.stroke)
|
|
6438
6438
|
});
|
|
6439
6439
|
var ue = we(c), ce = ue.get("text") || "";
|
|
@@ -6463,7 +6463,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6463
6463
|
stroke: j(c, l, u.stroke),
|
|
6464
6464
|
strokeWidth: 1.5
|
|
6465
6465
|
}), E = Xt(c);
|
|
6466
|
-
return E || (u = {}),
|
|
6466
|
+
return E || (u = {}), k(
|
|
6467
6467
|
d,
|
|
6468
6468
|
st(c, u),
|
|
6469
6469
|
qe(c, u),
|
|
@@ -6483,7 +6483,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6483
6483
|
y: E
|
|
6484
6484
|
}
|
|
6485
6485
|
});
|
|
6486
|
-
|
|
6486
|
+
N(d, q, {
|
|
6487
6487
|
fill: se(c, o, u.fill),
|
|
6488
6488
|
stroke: j(c, l, u.stroke),
|
|
6489
6489
|
strokeWidth: 0.5
|
|
@@ -6494,7 +6494,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6494
6494
|
y: E
|
|
6495
6495
|
}
|
|
6496
6496
|
});
|
|
6497
|
-
|
|
6497
|
+
N(d, ue, {
|
|
6498
6498
|
fill: se(c, o, u.fill),
|
|
6499
6499
|
stroke: j(c, l, u.stroke),
|
|
6500
6500
|
strokeWidth: 0.5
|
|
@@ -6505,7 +6505,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6505
6505
|
y: E
|
|
6506
6506
|
}
|
|
6507
6507
|
});
|
|
6508
|
-
return
|
|
6508
|
+
return N(d, ce, {
|
|
6509
6509
|
fill: j(c, l, u.stroke),
|
|
6510
6510
|
stroke: j(c, l, u.stroke),
|
|
6511
6511
|
strokeWidth: 0.5
|
|
@@ -6515,7 +6515,7 @@ function mi(e, i, t, s, n, r, a) {
|
|
|
6515
6515
|
return y(d, c, u);
|
|
6516
6516
|
}
|
|
6517
6517
|
};
|
|
6518
|
-
this._drawPath =
|
|
6518
|
+
this._drawPath = N, this._renderer = F;
|
|
6519
6519
|
}
|
|
6520
6520
|
At(mi, kt);
|
|
6521
6521
|
mi.$inject = [
|
|
@@ -6639,35 +6639,35 @@ mn.prototype.getDimensions = function(e, i) {
|
|
|
6639
6639
|
mn.prototype.layoutText = function(e, i) {
|
|
6640
6640
|
var t = Y({}, this._config.size, i.box), s = Y({}, this._config.style, i.style), n = Wm(i.align || this._config.align), r = Ym(i.padding !== void 0 ? i.padding : this._config.padding), a = i.fitBox || !1, o = ig(s), l = e.split(/\u00AD?\r?\n/), p = [], h = t.width - r.left - r.right, m = me("text");
|
|
6641
6641
|
fe(m, { x: 0, y: 0 }), fe(m, s);
|
|
6642
|
-
var
|
|
6643
|
-
for (xe(
|
|
6642
|
+
var b = tg();
|
|
6643
|
+
for (xe(b, m); l.length; )
|
|
6644
6644
|
p.push(Xm(l, h, m));
|
|
6645
6645
|
n.vertical === "middle" && (r.top = r.bottom = 0);
|
|
6646
|
-
var
|
|
6647
|
-
return G + (o ||
|
|
6648
|
-
}, 0) + r.top + r.bottom, V = Pi(p, function(G,
|
|
6649
|
-
return
|
|
6646
|
+
var P = Pi(p, function(G, k, T) {
|
|
6647
|
+
return G + (o || k.height);
|
|
6648
|
+
}, 0) + r.top + r.bottom, V = Pi(p, function(G, k, T) {
|
|
6649
|
+
return k.width > G ? k.width : G;
|
|
6650
6650
|
}, 0), z = r.top;
|
|
6651
|
-
n.vertical === "middle" && (z += (t.height -
|
|
6651
|
+
n.vertical === "middle" && (z += (t.height - P) / 2), z -= (o || p[0].height) / 4;
|
|
6652
6652
|
var ie = me("text");
|
|
6653
6653
|
fe(ie, s), Q(p, function(G) {
|
|
6654
|
-
var
|
|
6654
|
+
var k;
|
|
6655
6655
|
switch (z += o || G.height, n.horizontal) {
|
|
6656
6656
|
case "left":
|
|
6657
|
-
|
|
6657
|
+
k = r.left;
|
|
6658
6658
|
break;
|
|
6659
6659
|
case "right":
|
|
6660
|
-
|
|
6660
|
+
k = (a ? V : h) - r.right - G.width;
|
|
6661
6661
|
break;
|
|
6662
6662
|
default:
|
|
6663
|
-
|
|
6663
|
+
k = Math.max(((a ? V : h) - G.width) / 2 + r.left, 0);
|
|
6664
6664
|
}
|
|
6665
6665
|
var T = me("tspan");
|
|
6666
|
-
fe(T, { x:
|
|
6666
|
+
fe(T, { x: k, y: z }), T.textContent = G.text, xe(ie, T);
|
|
6667
6667
|
}), hs(m);
|
|
6668
6668
|
var Z = {
|
|
6669
6669
|
width: V,
|
|
6670
|
-
height:
|
|
6670
|
+
height: P
|
|
6671
6671
|
};
|
|
6672
6672
|
return {
|
|
6673
6673
|
dimensions: Z,
|
|
@@ -7042,11 +7042,11 @@ function mg(e) {
|
|
|
7042
7042
|
}
|
|
7043
7043
|
function gg(e) {
|
|
7044
7044
|
for (var i = e.waypoints, t = i.reduce(function(p, h, m) {
|
|
7045
|
-
var
|
|
7046
|
-
if (
|
|
7047
|
-
var
|
|
7045
|
+
var b = i[m - 1];
|
|
7046
|
+
if (b) {
|
|
7047
|
+
var P = p[p.length - 1], V = P && P.endLength || 0, z = yg(b, h);
|
|
7048
7048
|
p.push({
|
|
7049
|
-
start:
|
|
7049
|
+
start: b,
|
|
7050
7050
|
end: h,
|
|
7051
7051
|
startLength: V,
|
|
7052
7052
|
endLength: V + z,
|
|
@@ -7124,12 +7124,12 @@ Nt.prototype.add = function(e, i, t) {
|
|
|
7124
7124
|
isFrame: p
|
|
7125
7125
|
})), H(e, "bpmn:BoundaryEvent") && this._attachBoundary(e, s), H(e, "bpmn:Lane") && (a = 0), H(e, "bpmn:DataStoreReference") && (Ag(t, dr(h)) || (t = this._canvas.findRoot(t))), this._canvas.addShape(s, t, a);
|
|
7126
7126
|
} else if (H(i, "bpmndi:BPMNEdge")) {
|
|
7127
|
-
var m = this._getSource(e),
|
|
7127
|
+
var m = this._getSource(e), b = this._getTarget(e);
|
|
7128
7128
|
r = t && (t.hidden || t.collapsed), s = this._elementFactory.createConnection(Gs(e, i, {
|
|
7129
7129
|
hidden: r,
|
|
7130
7130
|
source: m,
|
|
7131
|
-
target:
|
|
7132
|
-
waypoints: vg(i, m,
|
|
7131
|
+
target: b,
|
|
7132
|
+
waypoints: vg(i, m, b)
|
|
7133
7133
|
})), H(e, "bpmn:DataAssociation") && (t = this._canvas.findRoot(t)), this._canvas.addConnection(s, t, a);
|
|
7134
7134
|
} else
|
|
7135
7135
|
throw new Error(n("unknown di {di} for element {semantic}", {
|
|
@@ -7230,11 +7230,11 @@ function Os(e) {
|
|
|
7230
7230
|
var xo = 500;
|
|
7231
7231
|
function Lc(e, i, t) {
|
|
7232
7232
|
var s = this;
|
|
7233
|
-
function n(I, F,
|
|
7233
|
+
function n(I, F, _) {
|
|
7234
7234
|
if (!o(I, F)) {
|
|
7235
7235
|
var R, B, U;
|
|
7236
|
-
|
|
7237
|
-
element:
|
|
7236
|
+
_ ? B = i.getGraphics(_) : (R = F.delegateTarget || F.target, R && (B = R, _ = i.get(B))), !(!B || !_) && (U = e.fire(I, {
|
|
7237
|
+
element: _,
|
|
7238
7238
|
gfx: B,
|
|
7239
7239
|
originalEvent: F
|
|
7240
7240
|
}), U === !1 && (F.stopPropagation(), F.preventDefault()));
|
|
@@ -7245,8 +7245,8 @@ function Lc(e, i, t) {
|
|
|
7245
7245
|
return r[I];
|
|
7246
7246
|
}
|
|
7247
7247
|
function o(I, F) {
|
|
7248
|
-
var
|
|
7249
|
-
return !
|
|
7248
|
+
var _ = p[I] || fs;
|
|
7249
|
+
return !_(F);
|
|
7250
7250
|
}
|
|
7251
7251
|
var l = {
|
|
7252
7252
|
click: "element.click",
|
|
@@ -7264,31 +7264,31 @@ function Lc(e, i, t) {
|
|
|
7264
7264
|
"element.click": Os,
|
|
7265
7265
|
"element.dblclick": Os
|
|
7266
7266
|
};
|
|
7267
|
-
function h(I, F,
|
|
7267
|
+
function h(I, F, _) {
|
|
7268
7268
|
var R = l[I];
|
|
7269
7269
|
if (!R)
|
|
7270
7270
|
throw new Error("unmapped DOM event name <" + I + ">");
|
|
7271
|
-
return n(R, F,
|
|
7271
|
+
return n(R, F, _);
|
|
7272
7272
|
}
|
|
7273
7273
|
var m = "svg, .djs-element";
|
|
7274
|
-
function
|
|
7275
|
-
var B = r[
|
|
7276
|
-
n(
|
|
7274
|
+
function b(I, F, _, R) {
|
|
7275
|
+
var B = r[_] = function(U) {
|
|
7276
|
+
n(_, U);
|
|
7277
7277
|
};
|
|
7278
|
-
R && (p[
|
|
7278
|
+
R && (p[_] = R), B.$delegate = ki.bind(I, m, F, B);
|
|
7279
7279
|
}
|
|
7280
|
-
function
|
|
7281
|
-
var R = a(
|
|
7280
|
+
function P(I, F, _) {
|
|
7281
|
+
var R = a(_);
|
|
7282
7282
|
!R || ki.unbind(I, F, R.$delegate);
|
|
7283
7283
|
}
|
|
7284
7284
|
function V(I) {
|
|
7285
|
-
Q(l, function(F,
|
|
7286
|
-
|
|
7285
|
+
Q(l, function(F, _) {
|
|
7286
|
+
b(I, _, F);
|
|
7287
7287
|
});
|
|
7288
7288
|
}
|
|
7289
7289
|
function z(I) {
|
|
7290
|
-
Q(l, function(F,
|
|
7291
|
-
|
|
7290
|
+
Q(l, function(F, _) {
|
|
7291
|
+
P(I, _, F);
|
|
7292
7292
|
});
|
|
7293
7293
|
}
|
|
7294
7294
|
e.on("canvas.destroy", function(I) {
|
|
@@ -7296,26 +7296,26 @@ function Lc(e, i, t) {
|
|
|
7296
7296
|
}), e.on("canvas.init", function(I) {
|
|
7297
7297
|
V(I.svg);
|
|
7298
7298
|
}), e.on(["shape.added", "connection.added"], function(I) {
|
|
7299
|
-
var F = I.element,
|
|
7300
|
-
e.fire("interactionEvents.createHit", { element: F, gfx:
|
|
7299
|
+
var F = I.element, _ = I.gfx;
|
|
7300
|
+
e.fire("interactionEvents.createHit", { element: F, gfx: _ });
|
|
7301
7301
|
}), e.on([
|
|
7302
7302
|
"shape.changed",
|
|
7303
7303
|
"connection.changed"
|
|
7304
7304
|
], xo, function(I) {
|
|
7305
|
-
var F = I.element,
|
|
7306
|
-
e.fire("interactionEvents.updateHit", { element: F, gfx:
|
|
7305
|
+
var F = I.element, _ = I.gfx;
|
|
7306
|
+
e.fire("interactionEvents.updateHit", { element: F, gfx: _ });
|
|
7307
7307
|
}), e.on("interactionEvents.createHit", xo, function(I) {
|
|
7308
|
-
var F = I.element,
|
|
7309
|
-
s.createDefaultHit(F,
|
|
7308
|
+
var F = I.element, _ = I.gfx;
|
|
7309
|
+
s.createDefaultHit(F, _);
|
|
7310
7310
|
}), e.on("interactionEvents.updateHit", function(I) {
|
|
7311
|
-
var F = I.element,
|
|
7312
|
-
s.updateDefaultHit(F,
|
|
7311
|
+
var F = I.element, _ = I.gfx;
|
|
7312
|
+
s.updateDefaultHit(F, _);
|
|
7313
7313
|
});
|
|
7314
|
-
var ie = D("djs-hit djs-hit-stroke"), Z = D("djs-hit djs-hit-click-stroke"), G = D("djs-hit djs-hit-all"),
|
|
7314
|
+
var ie = D("djs-hit djs-hit-stroke"), Z = D("djs-hit djs-hit-click-stroke"), G = D("djs-hit djs-hit-all"), k = D("djs-hit djs-hit-no-move"), T = {
|
|
7315
7315
|
all: G,
|
|
7316
7316
|
"click-stroke": Z,
|
|
7317
7317
|
stroke: ie,
|
|
7318
|
-
"no-move":
|
|
7318
|
+
"no-move": k
|
|
7319
7319
|
};
|
|
7320
7320
|
function D(I, F) {
|
|
7321
7321
|
return F = Y({
|
|
@@ -7323,42 +7323,42 @@ function Lc(e, i, t) {
|
|
|
7323
7323
|
strokeWidth: 15
|
|
7324
7324
|
}, F || {}), t.cls(I, ["no-fill", "no-border"], F);
|
|
7325
7325
|
}
|
|
7326
|
-
function
|
|
7327
|
-
var
|
|
7328
|
-
if (!
|
|
7326
|
+
function S(I, F) {
|
|
7327
|
+
var _ = T[F];
|
|
7328
|
+
if (!_)
|
|
7329
7329
|
throw new Error("invalid hit type <" + F + ">");
|
|
7330
|
-
return fe(I,
|
|
7330
|
+
return fe(I, _), I;
|
|
7331
7331
|
}
|
|
7332
|
-
function
|
|
7332
|
+
function N(I, F) {
|
|
7333
7333
|
xe(I, F);
|
|
7334
7334
|
}
|
|
7335
7335
|
this.removeHits = function(I) {
|
|
7336
7336
|
var F = Lm(".djs-hit", I);
|
|
7337
7337
|
Q(F, hs);
|
|
7338
7338
|
}, this.createDefaultHit = function(I, F) {
|
|
7339
|
-
var
|
|
7340
|
-
return
|
|
7339
|
+
var _ = I.waypoints, R = I.isFrame, B;
|
|
7340
|
+
return _ ? this.createWaypointsHit(F, _) : (B = R ? "stroke" : "all", this.createBoxHit(F, B, {
|
|
7341
7341
|
width: I.width,
|
|
7342
7342
|
height: I.height
|
|
7343
7343
|
}));
|
|
7344
7344
|
}, this.createWaypointsHit = function(I, F) {
|
|
7345
|
-
var
|
|
7346
|
-
return _
|
|
7347
|
-
}, this.createBoxHit = function(I, F,
|
|
7348
|
-
|
|
7345
|
+
var _ = Jr(F);
|
|
7346
|
+
return S(_, "stroke"), N(I, _), _;
|
|
7347
|
+
}, this.createBoxHit = function(I, F, _) {
|
|
7348
|
+
_ = Y({
|
|
7349
7349
|
x: 0,
|
|
7350
7350
|
y: 0
|
|
7351
|
-
},
|
|
7351
|
+
}, _);
|
|
7352
7352
|
var R = me("rect");
|
|
7353
|
-
return
|
|
7353
|
+
return S(R, F), fe(R, _), N(I, R), R;
|
|
7354
7354
|
}, this.updateDefaultHit = function(I, F) {
|
|
7355
|
-
var
|
|
7356
|
-
if (!!
|
|
7357
|
-
return I.waypoints ? Tc(
|
|
7355
|
+
var _ = ct(".djs-hit", F);
|
|
7356
|
+
if (!!_)
|
|
7357
|
+
return I.waypoints ? Tc(_, I.waypoints) : fe(_, {
|
|
7358
7358
|
width: I.width,
|
|
7359
7359
|
height: I.height
|
|
7360
|
-
}),
|
|
7361
|
-
}, this.fire = n, this.triggerMouseEvent = h, this.mouseHandler = a, this.registerEvent =
|
|
7360
|
+
}), _;
|
|
7361
|
+
}, this.fire = n, this.triggerMouseEvent = h, this.mouseHandler = a, this.registerEvent = b, this.unregisterEvent = P;
|
|
7362
7362
|
}
|
|
7363
7363
|
Lc.$inject = [
|
|
7364
7364
|
"eventBus",
|
|
@@ -7883,15 +7883,15 @@ function Hc(e, i, t) {
|
|
|
7883
7883
|
n.appendChild(s);
|
|
7884
7884
|
var a = [];
|
|
7885
7885
|
e.on("element.changed", function(l) {
|
|
7886
|
-
var p = l.element, h = we(p), m = dt(a, function(
|
|
7887
|
-
return
|
|
7886
|
+
var p = l.element, h = we(p), m = dt(a, function(b) {
|
|
7887
|
+
return b === h;
|
|
7888
7888
|
});
|
|
7889
7889
|
!m || o();
|
|
7890
7890
|
});
|
|
7891
7891
|
function o(l) {
|
|
7892
7892
|
l && (a = Kg(l));
|
|
7893
7893
|
var p = a.map(function(m) {
|
|
7894
|
-
var
|
|
7894
|
+
var b = Gg(m.name || m.id), P = Ze('<li><span class="bjs-crumb"><a title="' + b + '">' + b + "</a></span></li>"), V = t.findRoot(zr(m)) || t.findRoot(m.id);
|
|
7895
7895
|
if (!V && H(m, "bpmn:Process")) {
|
|
7896
7896
|
var z = i.find(function(ie) {
|
|
7897
7897
|
var Z = we(ie);
|
|
@@ -7899,9 +7899,9 @@ function Hc(e, i, t) {
|
|
|
7899
7899
|
});
|
|
7900
7900
|
V = t.findRoot(z.id);
|
|
7901
7901
|
}
|
|
7902
|
-
return
|
|
7902
|
+
return P.addEventListener("click", function() {
|
|
7903
7903
|
t.setRootElement(V);
|
|
7904
|
-
}),
|
|
7904
|
+
}), P;
|
|
7905
7905
|
});
|
|
7906
7906
|
s.innerHTML = "";
|
|
7907
7907
|
var h = p.length > 1;
|
|
@@ -8178,130 +8178,130 @@ function ry(e) {
|
|
|
8178
8178
|
}
|
|
8179
8179
|
function Yc(e, i) {
|
|
8180
8180
|
const t = i || {
|
|
8181
|
-
get: function(
|
|
8182
|
-
if (s.push(
|
|
8181
|
+
get: function(k, T) {
|
|
8182
|
+
if (s.push(k), T === !1)
|
|
8183
8183
|
return null;
|
|
8184
|
-
throw o(`No provider for "${
|
|
8184
|
+
throw o(`No provider for "${k}"!`);
|
|
8185
8185
|
}
|
|
8186
|
-
}, s = [], n = this._providers = Object.create(t._providers || null), r = this._instances = /* @__PURE__ */ Object.create(null), a = r.injector = this, o = function(
|
|
8186
|
+
}, s = [], n = this._providers = Object.create(t._providers || null), r = this._instances = /* @__PURE__ */ Object.create(null), a = r.injector = this, o = function(k) {
|
|
8187
8187
|
const T = s.join(" -> ");
|
|
8188
|
-
return s.length = 0, new Error(T ? `${
|
|
8188
|
+
return s.length = 0, new Error(T ? `${k} (Resolving: ${T})` : k);
|
|
8189
8189
|
};
|
|
8190
|
-
function l(
|
|
8191
|
-
if (!n[
|
|
8192
|
-
const D =
|
|
8193
|
-
let
|
|
8190
|
+
function l(k, T) {
|
|
8191
|
+
if (!n[k] && k.includes(".")) {
|
|
8192
|
+
const D = k.split(".");
|
|
8193
|
+
let S = l(D.shift());
|
|
8194
8194
|
for (; D.length; )
|
|
8195
|
-
|
|
8196
|
-
return
|
|
8197
|
-
}
|
|
8198
|
-
if (Bn(r,
|
|
8199
|
-
return r[
|
|
8200
|
-
if (Bn(n,
|
|
8201
|
-
if (s.indexOf(
|
|
8202
|
-
throw s.push(
|
|
8203
|
-
return s.push(
|
|
8204
|
-
}
|
|
8205
|
-
return t.get(
|
|
8206
|
-
}
|
|
8207
|
-
function p(
|
|
8208
|
-
if (typeof T > "u" && (T = {}), typeof
|
|
8209
|
-
if (Xr(
|
|
8210
|
-
|
|
8195
|
+
S = S[D.shift()];
|
|
8196
|
+
return S;
|
|
8197
|
+
}
|
|
8198
|
+
if (Bn(r, k))
|
|
8199
|
+
return r[k];
|
|
8200
|
+
if (Bn(n, k)) {
|
|
8201
|
+
if (s.indexOf(k) !== -1)
|
|
8202
|
+
throw s.push(k), o("Cannot resolve circular dependency!");
|
|
8203
|
+
return s.push(k), r[k] = n[k][0](n[k][1]), s.pop(), r[k];
|
|
8204
|
+
}
|
|
8205
|
+
return t.get(k, T);
|
|
8206
|
+
}
|
|
8207
|
+
function p(k, T) {
|
|
8208
|
+
if (typeof T > "u" && (T = {}), typeof k != "function")
|
|
8209
|
+
if (Xr(k))
|
|
8210
|
+
k = qs(k.slice());
|
|
8211
8211
|
else
|
|
8212
|
-
throw o(`Cannot invoke "${
|
|
8213
|
-
const
|
|
8212
|
+
throw o(`Cannot invoke "${k}". Expected a function!`);
|
|
8213
|
+
const S = (k.$inject || ry(k)).map((N) => Bn(T, N) ? T[N] : l(N));
|
|
8214
8214
|
return {
|
|
8215
|
-
fn:
|
|
8216
|
-
dependencies:
|
|
8215
|
+
fn: k,
|
|
8216
|
+
dependencies: S
|
|
8217
8217
|
};
|
|
8218
8218
|
}
|
|
8219
|
-
function h(
|
|
8219
|
+
function h(k) {
|
|
8220
8220
|
const {
|
|
8221
8221
|
fn: T,
|
|
8222
8222
|
dependencies: D
|
|
8223
|
-
} = p(
|
|
8224
|
-
return new
|
|
8223
|
+
} = p(k), S = Function.prototype.bind.call(T, null, ...D);
|
|
8224
|
+
return new S();
|
|
8225
8225
|
}
|
|
8226
|
-
function m(
|
|
8226
|
+
function m(k, T, D) {
|
|
8227
8227
|
const {
|
|
8228
|
-
fn:
|
|
8229
|
-
dependencies:
|
|
8230
|
-
} = p(
|
|
8231
|
-
return
|
|
8228
|
+
fn: S,
|
|
8229
|
+
dependencies: N
|
|
8230
|
+
} = p(k, D);
|
|
8231
|
+
return S.apply(T, N);
|
|
8232
8232
|
}
|
|
8233
|
-
function
|
|
8234
|
-
return qs((T) =>
|
|
8233
|
+
function b(k) {
|
|
8234
|
+
return qs((T) => k.get(T));
|
|
8235
8235
|
}
|
|
8236
|
-
function k
|
|
8236
|
+
function P(k, T) {
|
|
8237
8237
|
if (T && T.length) {
|
|
8238
|
-
const D = /* @__PURE__ */ Object.create(null),
|
|
8239
|
-
let
|
|
8238
|
+
const D = /* @__PURE__ */ Object.create(null), S = /* @__PURE__ */ Object.create(null), N = [], I = [], F = [];
|
|
8239
|
+
let _, R, B, U;
|
|
8240
8240
|
for (let X in n)
|
|
8241
|
-
|
|
8242
|
-
|
|
8241
|
+
_ = n[X], T.indexOf(X) !== -1 && (_[2] === "private" ? (R = N.indexOf(_[3]), R === -1 ? (B = _[3].createChild([], T), U = b(B), N.push(_[3]), I.push(B), F.push(U), D[X] = [U, X, "private", B]) : D[X] = [F[R], X, "private", I[R]]) : D[X] = [_[2], _[1]], S[X] = !0), (_[2] === "factory" || _[2] === "type") && _[1].$scope && T.forEach((ke) => {
|
|
8242
|
+
_[1].$scope.indexOf(ke) !== -1 && (D[X] = [_[2], _[1]], S[ke] = !0);
|
|
8243
8243
|
});
|
|
8244
8244
|
T.forEach((X) => {
|
|
8245
|
-
if (!
|
|
8245
|
+
if (!S[X])
|
|
8246
8246
|
throw new Error('No provider for "' + X + '". Cannot use provider from the parent!');
|
|
8247
|
-
}),
|
|
8247
|
+
}), k.unshift(D);
|
|
8248
8248
|
}
|
|
8249
|
-
return new Yc(
|
|
8249
|
+
return new Yc(k, a);
|
|
8250
8250
|
}
|
|
8251
8251
|
const V = {
|
|
8252
8252
|
factory: m,
|
|
8253
8253
|
type: h,
|
|
8254
|
-
value: function(
|
|
8255
|
-
return
|
|
8254
|
+
value: function(k) {
|
|
8255
|
+
return k;
|
|
8256
8256
|
}
|
|
8257
8257
|
};
|
|
8258
|
-
function z(
|
|
8259
|
-
const D =
|
|
8258
|
+
function z(k, T) {
|
|
8259
|
+
const D = k.__init__ || [];
|
|
8260
8260
|
return function() {
|
|
8261
|
-
D.forEach((
|
|
8262
|
-
typeof
|
|
8261
|
+
D.forEach((S) => {
|
|
8262
|
+
typeof S == "string" ? T.get(S) : T.invoke(S);
|
|
8263
8263
|
});
|
|
8264
8264
|
};
|
|
8265
8265
|
}
|
|
8266
|
-
function ie(
|
|
8267
|
-
const T =
|
|
8266
|
+
function ie(k) {
|
|
8267
|
+
const T = k.__exports__;
|
|
8268
8268
|
if (T) {
|
|
8269
|
-
const D =
|
|
8269
|
+
const D = k.__modules__, S = Object.keys(k).reduce((R, B) => (B !== "__exports__" && B !== "__modules__" && B !== "__init__" && B !== "__depends__" && (R[B] = k[B]), R), /* @__PURE__ */ Object.create(null)), N = (D || []).concat(S), I = P(N), F = qs(function(R) {
|
|
8270
8270
|
return I.get(R);
|
|
8271
8271
|
});
|
|
8272
8272
|
T.forEach(function(R) {
|
|
8273
8273
|
n[R] = [F, R, "private", I];
|
|
8274
8274
|
});
|
|
8275
|
-
const
|
|
8276
|
-
return
|
|
8275
|
+
const _ = (k.__init__ || []).slice();
|
|
8276
|
+
return _.unshift(function() {
|
|
8277
8277
|
I.init();
|
|
8278
|
-
}),
|
|
8279
|
-
__init__:
|
|
8280
|
-
}), z(
|
|
8278
|
+
}), k = Object.assign({}, k, {
|
|
8279
|
+
__init__: _
|
|
8280
|
+
}), z(k, I);
|
|
8281
8281
|
}
|
|
8282
|
-
return Object.keys(
|
|
8282
|
+
return Object.keys(k).forEach(function(D) {
|
|
8283
8283
|
if (D === "__init__" || D === "__depends__")
|
|
8284
8284
|
return;
|
|
8285
|
-
const
|
|
8286
|
-
if (
|
|
8287
|
-
n[D] =
|
|
8285
|
+
const S = k[D];
|
|
8286
|
+
if (S[2] === "private") {
|
|
8287
|
+
n[D] = S;
|
|
8288
8288
|
return;
|
|
8289
8289
|
}
|
|
8290
|
-
const
|
|
8291
|
-
n[D] = [V[
|
|
8292
|
-
}), z(
|
|
8290
|
+
const N = S[0], I = S[1];
|
|
8291
|
+
n[D] = [V[N], ay(N, I), N];
|
|
8292
|
+
}), z(k, a);
|
|
8293
8293
|
}
|
|
8294
|
-
function Z(
|
|
8295
|
-
return
|
|
8294
|
+
function Z(k, T) {
|
|
8295
|
+
return k.indexOf(T) !== -1 || (k = (T.__depends__ || []).reduce(Z, k), k.indexOf(T) !== -1) ? k : k.concat(T);
|
|
8296
8296
|
}
|
|
8297
|
-
function G(
|
|
8298
|
-
const T =
|
|
8297
|
+
function G(k) {
|
|
8298
|
+
const T = k.reduce(Z, []).map(ie);
|
|
8299
8299
|
let D = !1;
|
|
8300
8300
|
return function() {
|
|
8301
|
-
D || (D = !0, T.forEach((
|
|
8301
|
+
D || (D = !0, T.forEach((S) => S()));
|
|
8302
8302
|
};
|
|
8303
8303
|
}
|
|
8304
|
-
this.get = l, this.invoke = m, this.instantiate = h, this.createChild =
|
|
8304
|
+
this.get = l, this.invoke = m, this.instantiate = h, this.createChild = P, this.init = G(e);
|
|
8305
8305
|
}
|
|
8306
8306
|
function ay(e, i) {
|
|
8307
8307
|
return e !== "value" && Xr(i) && (i = qs(i.slice())), i;
|
|
@@ -8709,8 +8709,8 @@ ee.prototype.scrollToElement = function(e, i) {
|
|
|
8709
8709
|
if (!(n.width < a.width && n.height < a.height))
|
|
8710
8710
|
l = n.x - a.x, p = n.y - a.y;
|
|
8711
8711
|
else {
|
|
8712
|
-
const
|
|
8713
|
-
l =
|
|
8712
|
+
const b = Math.max(0, r.right - h.right), P = Math.min(0, r.left - h.left), V = Math.max(0, r.bottom - h.bottom), z = Math.min(0, r.top - h.top);
|
|
8713
|
+
l = b || P, p = V || z;
|
|
8714
8714
|
}
|
|
8715
8715
|
this.scroll({ dx: -l * o, dy: -p * o });
|
|
8716
8716
|
};
|
|
@@ -9628,7 +9628,7 @@ function jy(e) {
|
|
|
9628
9628
|
function du(e) {
|
|
9629
9629
|
if (!this)
|
|
9630
9630
|
return new du(e);
|
|
9631
|
-
var i = e && e.proxy, t, s, n, r, a = jy, o, l, p, h, m = Mo,
|
|
9631
|
+
var i = e && e.proxy, t, s, n, r, a = jy, o, l, p, h, m = Mo, b = !1, P = !1, V = null, z = !1, ie;
|
|
9632
9632
|
function Z(T) {
|
|
9633
9633
|
T instanceof Error || (T = bi(T)), V = T, a(T, m);
|
|
9634
9634
|
}
|
|
@@ -9673,23 +9673,23 @@ function du(e) {
|
|
|
9673
9673
|
}, this.ns = function(T) {
|
|
9674
9674
|
if (typeof T > "u" && (T = {}), typeof T != "object")
|
|
9675
9675
|
throw bi("required args <nsMap={}>");
|
|
9676
|
-
var D = {},
|
|
9677
|
-
for (
|
|
9678
|
-
D[
|
|
9679
|
-
return D[By] = Ry,
|
|
9676
|
+
var D = {}, S;
|
|
9677
|
+
for (S in T)
|
|
9678
|
+
D[S] = T[S];
|
|
9679
|
+
return D[By] = Ry, P = !0, ie = D, this;
|
|
9680
9680
|
}, this.parse = function(T) {
|
|
9681
9681
|
if (typeof T != "string")
|
|
9682
9682
|
throw bi("required args <xml=string>");
|
|
9683
|
-
return V = null,
|
|
9683
|
+
return V = null, k(T), m = Mo, z = !1, V;
|
|
9684
9684
|
}, this.stop = function() {
|
|
9685
9685
|
z = !0;
|
|
9686
9686
|
};
|
|
9687
|
-
function
|
|
9688
|
-
var D =
|
|
9687
|
+
function k(T) {
|
|
9688
|
+
var D = P ? [] : null, S = P ? Fy(ie) : null, N, I = [], F = 0, _ = !1, R = !1, B = 0, U = 0, X, ke, oe, g, y, x, M, J, ae, C = "", w = 0, O;
|
|
9689
9689
|
function W() {
|
|
9690
9690
|
if (O !== null)
|
|
9691
9691
|
return O;
|
|
9692
|
-
var ne, d, c, u =
|
|
9692
|
+
var ne, d, c, u = P && S.xmlns, f = P && b ? [] : null, v = w, E = C, q = E.length, ue, ce, pe, Ne, de, _t = {}, Cs = {}, Ge, K, he;
|
|
9693
9693
|
e:
|
|
9694
9694
|
for (; v < q; v++)
|
|
9695
9695
|
if (Ge = !1, K = E.charCodeAt(v), !(K === 32 || K < 14 && K > 8)) {
|
|
@@ -9718,22 +9718,22 @@ function du(e) {
|
|
|
9718
9718
|
G("attribute <" + de + "> already defined");
|
|
9719
9719
|
continue;
|
|
9720
9720
|
}
|
|
9721
|
-
if (Cs[de] = !0, !
|
|
9721
|
+
if (Cs[de] = !0, !P) {
|
|
9722
9722
|
_t[de] = pe;
|
|
9723
9723
|
continue;
|
|
9724
9724
|
}
|
|
9725
|
-
if (
|
|
9725
|
+
if (b) {
|
|
9726
9726
|
if (ce = de === "xmlns" ? "xmlns" : de.charCodeAt(0) === 120 && de.substr(0, 6) === "xmlns:" ? de.substr(6) : null, ce !== null) {
|
|
9727
9727
|
if (ne = zt(pe), d = mr(ce), Ne = ie[ne], !Ne) {
|
|
9728
|
-
if (ce === "xmlns" || d in
|
|
9728
|
+
if (ce === "xmlns" || d in S && S[d] !== ne)
|
|
9729
9729
|
do
|
|
9730
9730
|
Ne = "ns" + F++;
|
|
9731
|
-
while (typeof
|
|
9731
|
+
while (typeof S[Ne] < "u");
|
|
9732
9732
|
else
|
|
9733
9733
|
Ne = ce;
|
|
9734
9734
|
ie[ne] = Ne;
|
|
9735
9735
|
}
|
|
9736
|
-
|
|
9736
|
+
S[ce] !== Ne && (ue || (S = Ly(S), ue = !0), S[ce] = Ne, ce === "xmlns" && (S[mr(Ne)] = ne, u = Ne), S[d] = ne), _t[de] = pe;
|
|
9737
9737
|
continue;
|
|
9738
9738
|
}
|
|
9739
9739
|
f.push(de, pe);
|
|
@@ -9743,20 +9743,20 @@ function du(e) {
|
|
|
9743
9743
|
_t[de] = pe;
|
|
9744
9744
|
continue;
|
|
9745
9745
|
}
|
|
9746
|
-
if (!(c =
|
|
9746
|
+
if (!(c = S[de.substring(0, K)])) {
|
|
9747
9747
|
G(Oo(de.substring(0, K)));
|
|
9748
9748
|
continue;
|
|
9749
9749
|
}
|
|
9750
|
-
de = u === c ? de.substr(K + 1) : c + de.substr(K), de === Po && (K = pe.indexOf(":"), K !== -1 ? (c = pe.substring(0, K), c =
|
|
9750
|
+
de = u === c ? de.substr(K + 1) : c + de.substr(K), de === Po && (K = pe.indexOf(":"), K !== -1 ? (c = pe.substring(0, K), c = S[c] || c, pe = c + pe.substring(K)) : pe = u + ":" + pe), _t[de] = pe;
|
|
9751
9751
|
}
|
|
9752
|
-
if (
|
|
9752
|
+
if (b)
|
|
9753
9753
|
for (v = 0, q = f.length; v < q; v++) {
|
|
9754
9754
|
if (de = f[v++], pe = f[v], K = de.indexOf(":"), K !== -1) {
|
|
9755
|
-
if (!(c =
|
|
9755
|
+
if (!(c = S[de.substring(0, K)])) {
|
|
9756
9756
|
G(Oo(de.substring(0, K)));
|
|
9757
9757
|
continue;
|
|
9758
9758
|
}
|
|
9759
|
-
de = u === c ? de.substr(K + 1) : c + de.substr(K), de === Po && (K = pe.indexOf(":"), K !== -1 ? (c = pe.substring(0, K), c =
|
|
9759
|
+
de = u === c ? de.substr(K + 1) : c + de.substr(K), de === Po && (K = pe.indexOf(":"), K !== -1 ? (c = pe.substring(0, K), c = S[c] || c, pe = c + pe.substring(K)) : pe = u + ":" + pe);
|
|
9760
9760
|
}
|
|
9761
9761
|
_t[de] = pe;
|
|
9762
9762
|
}
|
|
@@ -9780,7 +9780,7 @@ function du(e) {
|
|
|
9780
9780
|
}),
|
|
9781
9781
|
attrs: Rs(W),
|
|
9782
9782
|
ns: Rs(function() {
|
|
9783
|
-
return
|
|
9783
|
+
return S;
|
|
9784
9784
|
})
|
|
9785
9785
|
})); U !== -1; ) {
|
|
9786
9786
|
if (T.charCodeAt(U) === 60 ? B = U : B = T.indexOf("<", U), B === -1) {
|
|
@@ -9843,7 +9843,7 @@ function du(e) {
|
|
|
9843
9843
|
continue;
|
|
9844
9844
|
}
|
|
9845
9845
|
if (O = {}, g === 47) {
|
|
9846
|
-
if (
|
|
9846
|
+
if (_ = !1, R = !0, !I.length)
|
|
9847
9847
|
return Z("missing open tag");
|
|
9848
9848
|
if (X = M = I.pop(), oe = B + 2 + X.length, T.substring(B + 2, oe) !== X)
|
|
9849
9849
|
return Z("closing tag mismatch");
|
|
@@ -9851,7 +9851,7 @@ function du(e) {
|
|
|
9851
9851
|
if (g = T.charCodeAt(oe), !(g === 32 || g > 8 && g < 14))
|
|
9852
9852
|
return Z("close tag");
|
|
9853
9853
|
} else {
|
|
9854
|
-
if (T.charCodeAt(U - 1) === 47 ? (X = M = T.substring(B + 1, U - 1),
|
|
9854
|
+
if (T.charCodeAt(U - 1) === 47 ? (X = M = T.substring(B + 1, U - 1), _ = !0, R = !0) : (X = M = T.substring(B + 1, U), _ = !0, R = !1), !(g > 96 && g < 123 || g > 64 && g < 91 || g === 95 || g === 58))
|
|
9855
9855
|
return Z("illegal first char nodeName");
|
|
9856
9856
|
for (oe = 1, ke = X.length; oe < ke; oe++)
|
|
9857
9857
|
if (g = X.charCodeAt(oe), !(g > 96 && g < 123 || g > 64 && g < 91 || g > 47 && g < 59 || g === 45 || g === 95 || g == 46)) {
|
|
@@ -9863,21 +9863,21 @@ function du(e) {
|
|
|
9863
9863
|
}
|
|
9864
9864
|
R || I.push(M);
|
|
9865
9865
|
}
|
|
9866
|
-
if (
|
|
9867
|
-
if (
|
|
9868
|
-
if (x =
|
|
9866
|
+
if (P) {
|
|
9867
|
+
if (N = S, _ && (R || D.push(N), O === null && (b = X.indexOf("xmlns", oe) !== -1) && (w = oe, C = X, W(), b = !1)), J = M, g = M.indexOf(":"), g !== -1) {
|
|
9868
|
+
if (x = S[M.substring(0, g)], !x)
|
|
9869
9869
|
return Z("missing namespace on <" + J + ">");
|
|
9870
9870
|
M = M.substr(g + 1);
|
|
9871
9871
|
} else
|
|
9872
|
-
x =
|
|
9872
|
+
x = S.xmlns;
|
|
9873
9873
|
x && (M = x + ":" + M);
|
|
9874
9874
|
}
|
|
9875
|
-
if (
|
|
9875
|
+
if (_ && (w = oe, C = X, s && (i ? s(ae, zt, R, m) : s(M, W, zt, R, m), z)))
|
|
9876
9876
|
return;
|
|
9877
9877
|
if (R) {
|
|
9878
|
-
if (n && (n(i ? ae : M, zt,
|
|
9878
|
+
if (n && (n(i ? ae : M, zt, _, m), z))
|
|
9879
9879
|
return;
|
|
9880
|
-
|
|
9880
|
+
P && (_ ? S = N : S = D.pop());
|
|
9881
9881
|
}
|
|
9882
9882
|
U += 1;
|
|
9883
9883
|
}
|
|
@@ -10011,11 +10011,11 @@ Le.prototype.createElement = function(e) {
|
|
|
10011
10011
|
var i = e.attributes, t = this.type, s = xt(t), n = this.context, r = new t({}), a = this.model, o;
|
|
10012
10012
|
return Q(i, function(l, p) {
|
|
10013
10013
|
var h = s.propertiesByName[p], m;
|
|
10014
|
-
h && h.isReference ? h.isMany ? (m = l.split(" "), Q(m, function(
|
|
10014
|
+
h && h.isReference ? h.isMany ? (m = l.split(" "), Q(m, function(b) {
|
|
10015
10015
|
n.addReference({
|
|
10016
10016
|
element: r,
|
|
10017
10017
|
property: h.ns.name,
|
|
10018
|
-
id:
|
|
10018
|
+
id: b
|
|
10019
10019
|
});
|
|
10020
10020
|
})) : n.addReference({
|
|
10021
10021
|
element: r,
|
|
@@ -10106,101 +10106,101 @@ na.prototype.fromXML = function(e, i, t) {
|
|
|
10106
10106
|
i instanceof Le ? (s = i, i = {}) : typeof i == "string" ? (s = this.handler(i), i = {}) : typeof s == "string" && (s = this.handler(s));
|
|
10107
10107
|
var n = this.model, r = this.lax, a = new Jy(Y({}, i, { rootHandler: s })), o = new du({ proxy: !0 }), l = Hy();
|
|
10108
10108
|
s.context = a, l.push(s);
|
|
10109
|
-
function p(D,
|
|
10110
|
-
var I =
|
|
10109
|
+
function p(D, S, N) {
|
|
10110
|
+
var I = S(), F = I.line, _ = I.column, R = I.data;
|
|
10111
10111
|
R.charAt(0) === "<" && R.indexOf(" ") !== -1 && (R = R.slice(0, R.indexOf(" ")) + ">");
|
|
10112
10112
|
var B = "unparsable content " + (R ? R + " " : "") + `detected
|
|
10113
10113
|
line: ` + F + `
|
|
10114
|
-
column: ` +
|
|
10114
|
+
column: ` + _ + `
|
|
10115
10115
|
nested error: ` + D.message;
|
|
10116
|
-
if (
|
|
10116
|
+
if (N)
|
|
10117
10117
|
return a.addWarning({
|
|
10118
10118
|
message: B,
|
|
10119
10119
|
error: D
|
|
10120
10120
|
}), !0;
|
|
10121
10121
|
throw Gt(B);
|
|
10122
10122
|
}
|
|
10123
|
-
function h(D,
|
|
10124
|
-
return p(D,
|
|
10123
|
+
function h(D, S) {
|
|
10124
|
+
return p(D, S, !0);
|
|
10125
10125
|
}
|
|
10126
10126
|
function m() {
|
|
10127
|
-
var D = a.elementsById,
|
|
10128
|
-
for (
|
|
10129
|
-
var F = I.element,
|
|
10130
|
-
if (
|
|
10127
|
+
var D = a.elementsById, S = a.references, N, I;
|
|
10128
|
+
for (N = 0; I = S[N]; N++) {
|
|
10129
|
+
var F = I.element, _ = D[I.id], R = xt(F).propertiesByName[I.property];
|
|
10130
|
+
if (_ || a.addWarning({
|
|
10131
10131
|
message: "unresolved reference <" + I.id + ">",
|
|
10132
10132
|
element: I.element,
|
|
10133
10133
|
property: I.property,
|
|
10134
10134
|
value: I.id
|
|
10135
10135
|
}), R.isMany) {
|
|
10136
10136
|
var B = F.get(R.name), U = B.indexOf(I);
|
|
10137
|
-
U === -1 && (U = B.length),
|
|
10137
|
+
U === -1 && (U = B.length), _ ? B[U] = _ : B.splice(U, 1);
|
|
10138
10138
|
} else
|
|
10139
|
-
F.set(R.name,
|
|
10139
|
+
F.set(R.name, _);
|
|
10140
10140
|
}
|
|
10141
10141
|
}
|
|
10142
|
-
function
|
|
10142
|
+
function b() {
|
|
10143
10143
|
l.pop().handleEnd();
|
|
10144
10144
|
}
|
|
10145
|
-
var
|
|
10145
|
+
var P = /^<\?xml /i, V = / encoding="([^"]+)"/i, z = /^utf-8$/i;
|
|
10146
10146
|
function ie(D) {
|
|
10147
|
-
if (!!
|
|
10148
|
-
var
|
|
10149
|
-
!
|
|
10150
|
-
message: "unsupported document encoding <" +
|
|
10147
|
+
if (!!P.test(D)) {
|
|
10148
|
+
var S = V.exec(D), N = S && S[1];
|
|
10149
|
+
!N || z.test(N) || a.addWarning({
|
|
10150
|
+
message: "unsupported document encoding <" + N + ">, falling back to UTF-8"
|
|
10151
10151
|
});
|
|
10152
10152
|
}
|
|
10153
10153
|
}
|
|
10154
|
-
function Z(D,
|
|
10155
|
-
var
|
|
10154
|
+
function Z(D, S) {
|
|
10155
|
+
var N = l.peek();
|
|
10156
10156
|
try {
|
|
10157
|
-
l.push(
|
|
10157
|
+
l.push(N.handleNode(D));
|
|
10158
10158
|
} catch (I) {
|
|
10159
|
-
p(I,
|
|
10159
|
+
p(I, S, r) && l.push(new ta());
|
|
10160
10160
|
}
|
|
10161
10161
|
}
|
|
10162
|
-
function G(D,
|
|
10162
|
+
function G(D, S) {
|
|
10163
10163
|
try {
|
|
10164
10164
|
l.peek().handleText(D);
|
|
10165
|
-
} catch (
|
|
10166
|
-
h(
|
|
10165
|
+
} catch (N) {
|
|
10166
|
+
h(N, S);
|
|
10167
10167
|
}
|
|
10168
10168
|
}
|
|
10169
|
-
function
|
|
10170
|
-
!D.trim() || G(D,
|
|
10169
|
+
function k(D, S) {
|
|
10170
|
+
!D.trim() || G(D, S);
|
|
10171
10171
|
}
|
|
10172
|
-
var T = n.getPackages().reduce(function(D,
|
|
10173
|
-
return D[
|
|
10172
|
+
var T = n.getPackages().reduce(function(D, S) {
|
|
10173
|
+
return D[S.uri] = S.prefix, D;
|
|
10174
10174
|
}, {
|
|
10175
10175
|
"http://www.w3.org/XML/1998/namespace": "xml"
|
|
10176
10176
|
});
|
|
10177
|
-
return o.ns(T).on("openTag", function(D,
|
|
10178
|
-
var F = D.attrs || {},
|
|
10179
|
-
var X =
|
|
10177
|
+
return o.ns(T).on("openTag", function(D, S, N, I) {
|
|
10178
|
+
var F = D.attrs || {}, _ = Object.keys(F).reduce(function(B, U) {
|
|
10179
|
+
var X = S(F[U]);
|
|
10180
10180
|
return B[U] = X, B;
|
|
10181
10181
|
}, {}), R = {
|
|
10182
10182
|
name: D.name,
|
|
10183
10183
|
originalName: D.originalName,
|
|
10184
|
-
attributes:
|
|
10184
|
+
attributes: _,
|
|
10185
10185
|
ns: D.ns
|
|
10186
10186
|
};
|
|
10187
10187
|
Z(R, I);
|
|
10188
|
-
}).on("question", ie).on("closeTag",
|
|
10189
|
-
|
|
10190
|
-
}).on("error", p).on("warn", h), new Promise(function(D,
|
|
10191
|
-
var
|
|
10188
|
+
}).on("question", ie).on("closeTag", b).on("cdata", G).on("text", function(D, S, N) {
|
|
10189
|
+
k(S(D), N);
|
|
10190
|
+
}).on("error", p).on("warn", h), new Promise(function(D, S) {
|
|
10191
|
+
var N;
|
|
10192
10192
|
try {
|
|
10193
10193
|
o.parse(e), m();
|
|
10194
10194
|
} catch (B) {
|
|
10195
|
-
|
|
10195
|
+
N = B;
|
|
10196
10196
|
}
|
|
10197
10197
|
var I = s.element;
|
|
10198
|
-
!
|
|
10199
|
-
var F = a.warnings,
|
|
10200
|
-
return
|
|
10198
|
+
!N && !I && (N = Gt("failed to parse document as <" + s.type.$descriptor.name + ">"));
|
|
10199
|
+
var F = a.warnings, _ = a.references, R = a.elementsById;
|
|
10200
|
+
return N ? (N.warnings = F, S(N)) : D({
|
|
10201
10201
|
rootElement: I,
|
|
10202
10202
|
elementsById: R,
|
|
10203
|
-
references:
|
|
10203
|
+
references: _,
|
|
10204
10204
|
warnings: F
|
|
10205
10205
|
});
|
|
10206
10206
|
});
|
|
@@ -14212,7 +14212,7 @@ function nA(e, i) {
|
|
|
14212
14212
|
function m(C, w) {
|
|
14213
14213
|
e.error(C, w);
|
|
14214
14214
|
}
|
|
14215
|
-
var
|
|
14215
|
+
var b = this.registerDi = function(w) {
|
|
14216
14216
|
var O = w.bpmnElement;
|
|
14217
14217
|
O ? n[O.id] ? m(
|
|
14218
14218
|
i("multiple DI elements defined for {element}", {
|
|
@@ -14226,14 +14226,14 @@ function nA(e, i) {
|
|
|
14226
14226
|
{ element: w }
|
|
14227
14227
|
);
|
|
14228
14228
|
};
|
|
14229
|
-
function
|
|
14229
|
+
function P(C) {
|
|
14230
14230
|
V(C.plane);
|
|
14231
14231
|
}
|
|
14232
14232
|
function V(C) {
|
|
14233
|
-
|
|
14233
|
+
b(C), Q(C.planeElement, z);
|
|
14234
14234
|
}
|
|
14235
14235
|
function z(C) {
|
|
14236
|
-
|
|
14236
|
+
b(C);
|
|
14237
14237
|
}
|
|
14238
14238
|
this.handleDefinitions = function(w, O) {
|
|
14239
14239
|
var W = w.diagrams;
|
|
@@ -14241,7 +14241,7 @@ function nA(e, i) {
|
|
|
14241
14241
|
throw new Error(i("diagram not part of bpmn:Definitions"));
|
|
14242
14242
|
if (!O && W && W.length && (O = W[0]), !O)
|
|
14243
14243
|
throw new Error(i("no diagram to display"));
|
|
14244
|
-
n = {},
|
|
14244
|
+
n = {}, P(O);
|
|
14245
14245
|
var $ = O.plane;
|
|
14246
14246
|
if (!$)
|
|
14247
14247
|
throw new Error(i(
|
|
@@ -14256,7 +14256,7 @@ function nA(e, i) {
|
|
|
14256
14256
|
plane: Oe($),
|
|
14257
14257
|
rootElement: Oe(ne)
|
|
14258
14258
|
})
|
|
14259
|
-
), $.bpmnElement = ne,
|
|
14259
|
+
), $.bpmnElement = ne, b($);
|
|
14260
14260
|
else
|
|
14261
14261
|
throw new Error(i("no process or collaboration to display"));
|
|
14262
14262
|
var d = p(ne, $);
|
|
@@ -14278,7 +14278,7 @@ function nA(e, i) {
|
|
|
14278
14278
|
w = s.shift(), w();
|
|
14279
14279
|
};
|
|
14280
14280
|
function Z(C, w) {
|
|
14281
|
-
y(C, w),
|
|
14281
|
+
y(C, w), _(C.ioSpecification, w), F(C.artifacts, w), a(C);
|
|
14282
14282
|
}
|
|
14283
14283
|
function G(C, w) {
|
|
14284
14284
|
var O = _i(C, function(W) {
|
|
@@ -14286,19 +14286,19 @@ function nA(e, i) {
|
|
|
14286
14286
|
});
|
|
14287
14287
|
O.forEach(r(Z, w));
|
|
14288
14288
|
}
|
|
14289
|
-
function
|
|
14289
|
+
function k(C, w) {
|
|
14290
14290
|
h(C, w);
|
|
14291
14291
|
}
|
|
14292
14292
|
function T(C, w) {
|
|
14293
|
-
Q(C, r(
|
|
14293
|
+
Q(C, r(k, w));
|
|
14294
14294
|
}
|
|
14295
14295
|
function D(C, w) {
|
|
14296
14296
|
h(C, w);
|
|
14297
14297
|
}
|
|
14298
|
-
function
|
|
14298
|
+
function S(C, w) {
|
|
14299
14299
|
h(C, w);
|
|
14300
14300
|
}
|
|
14301
|
-
function
|
|
14301
|
+
function N(C, w) {
|
|
14302
14302
|
h(C, w);
|
|
14303
14303
|
}
|
|
14304
14304
|
function I(C, w) {
|
|
@@ -14311,15 +14311,15 @@ function nA(e, i) {
|
|
|
14311
14311
|
}) : I(O, w);
|
|
14312
14312
|
});
|
|
14313
14313
|
}
|
|
14314
|
-
function
|
|
14315
|
-
!C || (Q(C.dataInputs, r(
|
|
14314
|
+
function _(C, w) {
|
|
14315
|
+
!C || (Q(C.dataInputs, r(S, w)), Q(C.dataOutputs, r(N, w)));
|
|
14316
14316
|
}
|
|
14317
14317
|
var R = this.handleSubProcess = function(w, O) {
|
|
14318
14318
|
y(w, O), F(w.artifacts, O);
|
|
14319
14319
|
};
|
|
14320
14320
|
function B(C, w) {
|
|
14321
14321
|
var O = h(C, w);
|
|
14322
|
-
Fe(C, "bpmn:SubProcess") && R(C, O || w), Fe(C, "bpmn:Activity") &&
|
|
14322
|
+
Fe(C, "bpmn:SubProcess") && R(C, O || w), Fe(C, "bpmn:Activity") && _(C.ioSpecification, w), s.push(function() {
|
|
14323
14323
|
Q(C.dataInputAssociations, r(D, w)), Q(C.dataOutputAssociations, r(D, w));
|
|
14324
14324
|
});
|
|
14325
14325
|
}
|
|
@@ -14378,7 +14378,7 @@ function nA(e, i) {
|
|
|
14378
14378
|
function rA(e, i, t) {
|
|
14379
14379
|
var s, n, r, a, o, l = [];
|
|
14380
14380
|
function p(h, m) {
|
|
14381
|
-
var
|
|
14381
|
+
var b = {
|
|
14382
14382
|
root: function(ie, Z) {
|
|
14383
14383
|
return s.add(ie, Z);
|
|
14384
14384
|
},
|
|
@@ -14388,13 +14388,13 @@ function rA(e, i, t) {
|
|
|
14388
14388
|
error: function(ie, Z) {
|
|
14389
14389
|
l.push({ message: ie, context: Z });
|
|
14390
14390
|
}
|
|
14391
|
-
},
|
|
14391
|
+
}, P = new nA(b, r);
|
|
14392
14392
|
m = m || h.diagrams && h.diagrams[0];
|
|
14393
14393
|
var V = aA(h, m);
|
|
14394
14394
|
if (!V)
|
|
14395
14395
|
throw new Error(r("no diagram to display"));
|
|
14396
14396
|
Q(V, function(ie) {
|
|
14397
|
-
|
|
14397
|
+
P.handleDefinitions(h, ie);
|
|
14398
14398
|
});
|
|
14399
14399
|
var z = m.plane.bpmnElement.id;
|
|
14400
14400
|
a.setRootElement(
|
|
@@ -14407,8 +14407,8 @@ function rA(e, i, t) {
|
|
|
14407
14407
|
error: o,
|
|
14408
14408
|
warnings: l
|
|
14409
14409
|
}), h({ warnings: l });
|
|
14410
|
-
} catch (
|
|
14411
|
-
return
|
|
14410
|
+
} catch (b) {
|
|
14411
|
+
return b.warnings = l, m(b);
|
|
14412
14412
|
}
|
|
14413
14413
|
});
|
|
14414
14414
|
}
|
|
@@ -14502,10 +14502,10 @@ Te.prototype.importXML = async function(i, t) {
|
|
|
14502
14502
|
let a;
|
|
14503
14503
|
try {
|
|
14504
14504
|
a = await this._moddle.fromXML(i, "bpmn:Definitions");
|
|
14505
|
-
} catch (
|
|
14505
|
+
} catch (b) {
|
|
14506
14506
|
throw this._emit("import.parse.complete", {
|
|
14507
|
-
error:
|
|
14508
|
-
}),
|
|
14507
|
+
error: b
|
|
14508
|
+
}), b;
|
|
14509
14509
|
}
|
|
14510
14510
|
let o = a.rootElement;
|
|
14511
14511
|
const l = a.references, p = a.warnings, h = a.elementsById;
|
|
@@ -14726,8 +14726,8 @@ function Iu(e, i) {
|
|
|
14726
14726
|
function n(o) {
|
|
14727
14727
|
var l = t.start, p = t.button, h = Lo(o), m = Ro(h, l);
|
|
14728
14728
|
if (!t.dragging && EA(m) > xA && (t.dragging = !0, p === 0 && wA(e), Tu("grab")), t.dragging) {
|
|
14729
|
-
var
|
|
14730
|
-
m = Ro(h,
|
|
14729
|
+
var b = t.last || t.start;
|
|
14730
|
+
m = Ro(h, b), i.scroll({
|
|
14731
14731
|
dx: m.x,
|
|
14732
14732
|
dy: m.y
|
|
14733
14733
|
}), t.last = h;
|
|
@@ -14917,8 +14917,8 @@ function SA(e, i = "YYYY-MM-DD HH:mm:ss") {
|
|
|
14917
14917
|
ss: l,
|
|
14918
14918
|
ww: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"][p]
|
|
14919
14919
|
};
|
|
14920
|
-
for (let
|
|
14921
|
-
i = i.replace(
|
|
14920
|
+
for (let b in m)
|
|
14921
|
+
i = i.replace(b, m[b]);
|
|
14922
14922
|
return i;
|
|
14923
14923
|
}
|
|
14924
14924
|
function _A(e) {
|
|
@@ -14948,8 +14948,8 @@ function _A(e) {
|
|
|
14948
14948
|
r,
|
|
14949
14949
|
"YYYY-MM-DD HH:mm"
|
|
14950
14950
|
)}</span><br>`), o && o.length > 0) {
|
|
14951
|
-
let m, { type:
|
|
14952
|
-
|
|
14951
|
+
let m, { type: b, fullMessage: P } = o.find((V) => V.action == "AddComment") || {};
|
|
14952
|
+
b == "assigneeComment" && (m = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + P, l.class = "nodeWarn"), b == "dispatchComment" && (m = "\u8C03\u5EA6\uFF1A" + P, l.class = "nodeWarn"), b == "transferComment" && (m = "\u8F6C\u529E\uFF1A" + P, l.class = "nodeWarn"), b == "delegateComment" && (m = "\u59D4\u6258\uFF1A" + P, l.class = "nodeWarn"), b == "rollbackComment" && (m = "\u6307\u5B9A\u56DE\u9000\uFF1A" + P, l.class = "nodeError"), b == "terminateComment" && (m = "\u7EC8\u6B62\uFF1A" + P, l.class = "nodeError"), (b == "addMultiInstanceComment" || (b || "").includes("\u52A0\u7B7E")) && (m = "\u52A0\u7B7E\uFF1A" + P, l.class = "nodeWarn"), b == "deleteMultiInstanceComment" && (m = "\u51CF\u7B7E\uFF1A" + P, l.class = "nodeError"), b == "withdrawComment" && (m = "\u64A4\u9500\uFF1A" + P, l.class = "nodeWarn"), b == "deleteProcessComment" && (m = "\u5220\u9664\u6D41\u7A0B\uFF1A" + P, l.class = "nodeError"), b == "cancelProcessComment" && (m = "\u62D2\u7EDD\uFF1A" + P, l.class = "nodeError"), b == "comment" && (m = "\u5BA1\u6279\uFF1A" + P, l.class = "nodeSuccess"), m && (p += `<span title='${m}'>${m}</span>`);
|
|
14953
14953
|
}
|
|
14954
14954
|
l.tooltip = p;
|
|
14955
14955
|
}
|
|
@@ -15043,17 +15043,17 @@ const OA = {
|
|
|
15043
15043
|
let n = !1, r, a, o = 0, l = 0, p = 0, h = 0;
|
|
15044
15044
|
i.addEventListener("touchstart", (m) => {
|
|
15045
15045
|
n = !0;
|
|
15046
|
-
const
|
|
15047
|
-
r =
|
|
15048
|
-
const
|
|
15049
|
-
o = parseFloat(
|
|
15046
|
+
const b = m.touches[0];
|
|
15047
|
+
r = b.clientX, a = b.clientY;
|
|
15048
|
+
const P = t.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);
|
|
15049
|
+
o = parseFloat(P[4]), l = parseFloat(P[5]);
|
|
15050
15050
|
const V = this.getTransformMatrix(s.style.transform);
|
|
15051
15051
|
this.isAdd ? (p = parseFloat(V[4]), h = parseFloat(V[5])) : (p = parseFloat(V[4]) + 30, h = parseFloat(V[5]) + 16, this.isAdd = !0);
|
|
15052
15052
|
}), i.addEventListener("touchmove", (m) => {
|
|
15053
15053
|
if (!n)
|
|
15054
15054
|
return;
|
|
15055
|
-
const
|
|
15056
|
-
l !== void 0 && (t.setAttribute("transform", `matrix(0.679276 0 0 0.679276 ${o +
|
|
15055
|
+
const b = m.touches[0], P = b.clientX - r, V = b.clientY - a;
|
|
15056
|
+
l !== void 0 && (t.setAttribute("transform", `matrix(0.679276 0 0 0.679276 ${o + P} ${l + V})`), s.setAttribute("style", `position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${p + P}, ${h + V});`)), e._cachedViewbox && (e._cachedViewbox.x = P, e._cachedViewbox.y = V), m.preventDefault();
|
|
15057
15057
|
}), i.addEventListener("touchend", () => {
|
|
15058
15058
|
n = !1;
|
|
15059
15059
|
});
|
|
@@ -16688,6 +16688,7 @@ const Du = /* @__PURE__ */ function() {
|
|
|
16688
16688
|
let e = {
|
|
16689
16689
|
businessCode: this.businessType,
|
|
16690
16690
|
appId: this.appId,
|
|
16691
|
+
subjectId: this.businessSubjectId,
|
|
16691
16692
|
processGroupName: this.processNameData,
|
|
16692
16693
|
...this.extraParams
|
|
16693
16694
|
};
|
|
@@ -20487,7 +20488,7 @@ const g0 = {
|
|
|
20487
20488
|
this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!", !1, "success");
|
|
20488
20489
|
return;
|
|
20489
20490
|
}
|
|
20490
|
-
if (this.isSelectPerson !== !1) {
|
|
20491
|
+
if (this.isSelectPerson !== !1 && this.param.ProcessInsObj && !this.param.ProcessInsObj.taskParentId) {
|
|
20491
20492
|
this.handleTips(
|
|
20492
20493
|
this.pureTip ? this.isSelectPerson : "\u8BF7\u9009\u62E9[" + this.isSelectPerson + "]\u5BA1\u6279\u4EBA!",
|
|
20493
20494
|
!1,
|
|
@@ -20497,51 +20498,55 @@ const g0 = {
|
|
|
20497
20498
|
}
|
|
20498
20499
|
this.commentMsg || (this.commentMsg = " ");
|
|
20499
20500
|
let e = {};
|
|
20500
|
-
if (this.
|
|
20501
|
-
if (this.
|
|
20502
|
-
|
|
20503
|
-
|
|
20504
|
-
(
|
|
20505
|
-
|
|
20506
|
-
(!
|
|
20507
|
-
|
|
20508
|
-
|
|
20509
|
-
|
|
20501
|
+
if (this.param.ProcessInsObj && !this.param.ProcessInsObj.taskParentId)
|
|
20502
|
+
if (this.radioCheckNameList && this.radioCheckNameList.length) {
|
|
20503
|
+
if (this.radioCheckChild[0].type !== "EndEventModel") {
|
|
20504
|
+
let t = 0;
|
|
20505
|
+
if (this.radioCheckNameList.map((s, n) => {
|
|
20506
|
+
(!this.multiNodeParticipant[s] || !this.multiNodeParticipant[s].length) && this.radioCheckChild.map((r, a) => {
|
|
20507
|
+
r.id == s && (r.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" || r.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && (!r.childNode || !r.childNode.length ? t += 1 : this.radioCheckNode.map((o, l) => {
|
|
20508
|
+
(!this.multiNodeParticipant[o] || !this.multiNodeParticipant[o].length) && (t += 1), e[o] = this.multiNodeParticipant[o];
|
|
20509
|
+
}));
|
|
20510
|
+
}), e[s] = this.multiNodeParticipant[s];
|
|
20511
|
+
}), t > 0) {
|
|
20512
|
+
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
20513
|
+
return;
|
|
20514
|
+
}
|
|
20515
|
+
}
|
|
20516
|
+
} else {
|
|
20517
|
+
if (this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
|
|
20510
20518
|
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
20511
20519
|
return;
|
|
20512
20520
|
}
|
|
20521
|
+
e = this.multiNodeParticipant;
|
|
20513
20522
|
}
|
|
20514
|
-
} else {
|
|
20515
|
-
if (this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
|
|
20516
|
-
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
20517
|
-
return;
|
|
20518
|
-
}
|
|
20519
|
-
e = this.multiNodeParticipant;
|
|
20520
|
-
}
|
|
20521
20523
|
if (this.signRequired) {
|
|
20522
20524
|
this.signVisible = !0;
|
|
20523
20525
|
return;
|
|
20524
20526
|
}
|
|
20525
20527
|
if (this.param.beforeFunction && !await this.param.beforeFunction())
|
|
20526
20528
|
return;
|
|
20527
|
-
(this.param.incomingConditionItemList || []).forEach((
|
|
20528
|
-
let
|
|
20529
|
-
|
|
20529
|
+
(this.param.incomingConditionItemList || []).forEach((t) => {
|
|
20530
|
+
let s = this.param.vars || this.gateVars || {};
|
|
20531
|
+
s[t.itemName] || (s[t.itemName] = "");
|
|
20530
20532
|
}), this.handleTips("", !0, "loading");
|
|
20531
20533
|
let i = [];
|
|
20532
|
-
|
|
20533
|
-
|
|
20534
|
-
|
|
20535
|
-
|
|
20536
|
-
|
|
20537
|
-
|
|
20538
|
-
|
|
20539
|
-
|
|
20540
|
-
|
|
20541
|
-
|
|
20542
|
-
|
|
20534
|
+
if (this.param.ProcessInsObj && !this.param.ProcessInsObj.taskParentId) {
|
|
20535
|
+
const t = Array.isArray(this.param.nextNodeData) ? this.param.nextNodeData[0] : this.param.nextNodeData;
|
|
20536
|
+
t.setPersonnel ? i = t.assignees : i = (this.partNodeArr[t.id] || []).map((o) => ({
|
|
20537
|
+
id: o.id,
|
|
20538
|
+
name: o.name
|
|
20539
|
+
})), Object.keys(e).forEach((o) => {
|
|
20540
|
+
Array.isArray(e[o]) && (e[o] = e[o].filter((l) => l)), (!e[o] || Array.isArray(e[o]) && e[o].length <= 0) && delete e[o];
|
|
20541
|
+
});
|
|
20542
|
+
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";
|
|
20543
|
+
if ((s || n || r) && !Object.keys(e).length) {
|
|
20544
|
+
let l = {};
|
|
20545
|
+
return s ? l = t : n ? l = t.branches[0].nodeInfoDTO : r && (l = t.branches[0]), this.handleTips(l.nodeType ? "\u8BF7\u9009\u62E9[" + l.name + "]\u5BA1\u6279\u4EBA!" : "\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA", !0, "error"), !1;
|
|
20546
|
+
}
|
|
20547
|
+
Date.now() && (this.param.processInstId, this.param.actionComplete, this.commentMsg, this.param.taskInstId, this.param.vars || this.gateVars, this.attchLists);
|
|
20543
20548
|
}
|
|
20544
|
-
|
|
20549
|
+
await this.param.request.post("/bladex/blade-workflow/tis/complete", {
|
|
20545
20550
|
pass: !0,
|
|
20546
20551
|
assignees: i,
|
|
20547
20552
|
processInstanceId: this.param.processInstId,
|
|
@@ -20551,8 +20556,8 @@ const g0 = {
|
|
|
20551
20556
|
vars: this.param.vars || this.gateVars,
|
|
20552
20557
|
multiNodeParticipant: e,
|
|
20553
20558
|
attachment: this.attchLists
|
|
20554
|
-
}).then((
|
|
20555
|
-
|
|
20559
|
+
}).then((t) => {
|
|
20560
|
+
t.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), window.top.postMessage("success", "*"), this.handleFinal(), this.commentMsg = "") : this.handleTips(t.msg, !0, "error");
|
|
20556
20561
|
});
|
|
20557
20562
|
},
|
|
20558
20563
|
async signConfirm(e = !0) {
|
|
@@ -20564,7 +20569,7 @@ const g0 = {
|
|
|
20564
20569
|
this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!", !1, "success");
|
|
20565
20570
|
return;
|
|
20566
20571
|
}
|
|
20567
|
-
if (this.isSelectPerson !== !1) {
|
|
20572
|
+
if (this.isSelectPerson !== !1 && this.param.ProcessInsObj && !this.param.ProcessInsObj.taskParentId) {
|
|
20568
20573
|
this.handleTips(
|
|
20569
20574
|
this.pureTip ? this.isSelectPerson : "\u8BF7\u9009\u62E9[" + this.isSelectPerson + "]\u5BA1\u6279\u4EBA!",
|
|
20570
20575
|
!1,
|
|
@@ -20574,27 +20579,28 @@ const g0 = {
|
|
|
20574
20579
|
}
|
|
20575
20580
|
this.commentMsg || (this.commentMsg = " ");
|
|
20576
20581
|
let i = {};
|
|
20577
|
-
if (this.
|
|
20578
|
-
if (this.
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
(
|
|
20582
|
-
|
|
20583
|
-
(!
|
|
20584
|
-
|
|
20585
|
-
|
|
20586
|
-
|
|
20582
|
+
if (this.param.ProcessInsObj && !this.param.ProcessInsObj.taskParentId)
|
|
20583
|
+
if (this.radioCheckNameList && this.radioCheckNameList.length) {
|
|
20584
|
+
if (this.radioCheckChild[0].type !== "EndEventModel") {
|
|
20585
|
+
let s = 0;
|
|
20586
|
+
if (this.radioCheckNameList.map((n, r) => {
|
|
20587
|
+
(!this.multiNodeParticipant[n] || !this.multiNodeParticipant[n].length) && this.radioCheckChild.map((a, o) => {
|
|
20588
|
+
a.id == n && (a.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" || a.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && (!a.childNode || !a.childNode.length ? s += 1 : this.radioCheckNode.map((l, p) => {
|
|
20589
|
+
(!this.multiNodeParticipant[l] || !this.multiNodeParticipant[l].length) && (s += 1), i[l] = this.multiNodeParticipant[l];
|
|
20590
|
+
}));
|
|
20591
|
+
}), i[n] = this.multiNodeParticipant[n];
|
|
20592
|
+
}), s > 0) {
|
|
20593
|
+
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
20594
|
+
return;
|
|
20595
|
+
}
|
|
20596
|
+
}
|
|
20597
|
+
} else {
|
|
20598
|
+
if (this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
|
|
20587
20599
|
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
20588
20600
|
return;
|
|
20589
20601
|
}
|
|
20602
|
+
i = this.multiNodeParticipant;
|
|
20590
20603
|
}
|
|
20591
|
-
} else {
|
|
20592
|
-
if (this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
|
|
20593
|
-
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
20594
|
-
return;
|
|
20595
|
-
}
|
|
20596
|
-
i = this.multiNodeParticipant;
|
|
20597
|
-
}
|
|
20598
20604
|
if (e) {
|
|
20599
20605
|
this.signVisible = !0;
|
|
20600
20606
|
return;
|
|
@@ -20605,22 +20611,24 @@ const g0 = {
|
|
|
20605
20611
|
}
|
|
20606
20612
|
if (this.param.beforeFunction && !await this.param.beforeFunction())
|
|
20607
20613
|
return;
|
|
20608
|
-
this.handleTips("", !0, "loading"), this.signVisible = (!1)(this.param.incomingConditionItemList || []).forEach((
|
|
20609
|
-
let
|
|
20610
|
-
|
|
20614
|
+
this.handleTips("", !0, "loading"), this.signVisible = (!1)(this.param.incomingConditionItemList || []).forEach((s) => {
|
|
20615
|
+
let n = this.param.vars || this.gateVars || {};
|
|
20616
|
+
n[s.itemName] || (n[s.itemName] = "");
|
|
20611
20617
|
});
|
|
20612
20618
|
let t = [];
|
|
20613
|
-
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
|
|
20622
|
-
|
|
20623
|
-
|
|
20619
|
+
if (this.param.ProcessInsObj && !this.param.ProcessInsObj.taskParentId) {
|
|
20620
|
+
const s = Array.isArray(this.param.nextNodeData) ? this.param.nextNodeData[0] : this.param.nextNodeData;
|
|
20621
|
+
s.setPersonnel ? t = s.assignees : t = (this.partNodeArr[s.id] || []).map((l) => ({
|
|
20622
|
+
id: l.id,
|
|
20623
|
+
name: l.name
|
|
20624
|
+
})), Object.keys(i).forEach((l) => {
|
|
20625
|
+
Array.isArray(i[l]) && (i[l] = i[l].filter((p) => p)), (!i[l] || Array.isArray(i[l]) && i[l].length <= 0) && delete i[l];
|
|
20626
|
+
});
|
|
20627
|
+
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";
|
|
20628
|
+
if ((n || r || a) && !Object.keys(i).length) {
|
|
20629
|
+
let p = {};
|
|
20630
|
+
return n ? p = s : r ? p = s.branches[0].nodeInfoDTO : a && (p = s.branches[0]), this.handleTips(p.nodeType ? "\u8BF7\u9009\u62E9[" + p.name + "]\u5BA1\u6279\u4EBA!" : "\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA", !0, "error"), !1;
|
|
20631
|
+
}
|
|
20624
20632
|
}
|
|
20625
20633
|
await this.param.request.post("/bladex/blade-workflow/tis/complete", {
|
|
20626
20634
|
pass: !0,
|
|
@@ -20633,8 +20641,8 @@ const g0 = {
|
|
|
20633
20641
|
multiNodeParticipant: i,
|
|
20634
20642
|
digitalSignature: this.digitalSignature,
|
|
20635
20643
|
attachment: this.attchLists
|
|
20636
|
-
}).then((
|
|
20637
|
-
|
|
20644
|
+
}).then((s) => {
|
|
20645
|
+
s.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), window.top.postMessage("success", "*"), this.handleFinal(), this.commentMsg = "") : this.handleTips(s.msg, !0, "error");
|
|
20638
20646
|
});
|
|
20639
20647
|
},
|
|
20640
20648
|
attachShow(e = "\u529E\u7406") {
|
|
@@ -20713,7 +20721,7 @@ var y0 = /* @__PURE__ */ be(
|
|
|
20713
20721
|
m0,
|
|
20714
20722
|
!1,
|
|
20715
20723
|
v0,
|
|
20716
|
-
"
|
|
20724
|
+
"74890402",
|
|
20717
20725
|
null,
|
|
20718
20726
|
null
|
|
20719
20727
|
);
|
|
@@ -21800,6 +21808,7 @@ const U0 = /* @__PURE__ */ function() {
|
|
|
21800
21808
|
processInstId: { require: !0, default: "", type: String },
|
|
21801
21809
|
isAdditional: { require: !1, default: !1, type: Boolean },
|
|
21802
21810
|
isView: { default: !1, type: Boolean },
|
|
21811
|
+
businessSubjectId: { default: "", type: String },
|
|
21803
21812
|
formData: { default: {}, type: Object },
|
|
21804
21813
|
getVarsStatus: { default: !0, type: Boolean },
|
|
21805
21814
|
getVars: { default: null, type: Function },
|
|
@@ -22428,7 +22437,8 @@ const U0 = /* @__PURE__ */ function() {
|
|
|
22428
22437
|
},
|
|
22429
22438
|
async handleRestart() {
|
|
22430
22439
|
this.handleTips("", !0, "loading"), await this.request.post("/bladex/blade-workflow/repository/getProcessDefList", {
|
|
22431
|
-
appId: this.processStatus.appId
|
|
22440
|
+
appId: this.processStatus.appId,
|
|
22441
|
+
subjectId: this.formData.subjectId || this.businessSubjectId
|
|
22432
22442
|
}).then((e) => {
|
|
22433
22443
|
this.processDefList = e.data, this.request.get("/aws/pis/getProcessInstanceByBusinessKey", {
|
|
22434
22444
|
params: {
|
|
@@ -22744,7 +22754,7 @@ function K0(e) {
|
|
|
22744
22754
|
}
|
|
22745
22755
|
const lC = /* @__PURE__ */ function() {
|
|
22746
22756
|
return H0.exports;
|
|
22747
|
-
}(), W0 = "ddy-process-h5", Y0 = "1.0.1-rc.3.
|
|
22757
|
+
}(), W0 = "ddy-process-h5", Y0 = "1.0.1-rc.3.53", z0 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", X0 = "./ddy-process-h5.umd.cjs", Z0 = "./style.css", $0 = "module", eC = {
|
|
22748
22758
|
".": {
|
|
22749
22759
|
import: "./ddy-process-h5.js",
|
|
22750
22760
|
require: "./ddy-process-h5.umd.cjs"
|