ddy-process-h5 1.0.1-rc.2.29 → 1.0.1-rc.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/v2/ddy-process-h5.js +211 -207
- package/v2/ddy-process-h5.umd.cjs +9 -9
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +184 -180
- package/v2.7/ddy-process-h5.umd.cjs +7 -7
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +211 -207
- package/v3/ddy-process-h5.umd.cjs +3 -3
- package/v3/style.css +1 -1
package/v2.7/ddy-process-h5.js
CHANGED
|
@@ -434,15 +434,15 @@ function ot(e, i, t, s, n, r) {
|
|
|
434
434
|
}) : a.depend(), h && (h.dep.depend(), re(C) && vl(C))), yt(C) && !n ? C.value : C;
|
|
435
435
|
},
|
|
436
436
|
set: function(C) {
|
|
437
|
-
var
|
|
438
|
-
if (!!Lu(
|
|
437
|
+
var k = l ? l.call(e) : t;
|
|
438
|
+
if (!!Lu(k, C)) {
|
|
439
439
|
if (process.env.NODE_ENV !== "production" && s && s(), p)
|
|
440
440
|
p.call(e, C);
|
|
441
441
|
else {
|
|
442
442
|
if (l)
|
|
443
443
|
return;
|
|
444
|
-
if (!n && yt(
|
|
445
|
-
|
|
444
|
+
if (!n && yt(k) && !yt(C)) {
|
|
445
|
+
k.value = C;
|
|
446
446
|
return;
|
|
447
447
|
} else
|
|
448
448
|
t = C;
|
|
@@ -452,7 +452,7 @@ function ot(e, i, t, s, n, r) {
|
|
|
452
452
|
target: e,
|
|
453
453
|
key: i,
|
|
454
454
|
newValue: C,
|
|
455
|
-
oldValue:
|
|
455
|
+
oldValue: k
|
|
456
456
|
}) : a.notify();
|
|
457
457
|
}
|
|
458
458
|
}
|
|
@@ -715,8 +715,8 @@ function sp(e, i, t, s, n) {
|
|
|
715
715
|
var h = ai(l), g = fi(l);
|
|
716
716
|
if (!(h in r) && !(g in r) && (r[l] = t[l], n)) {
|
|
717
717
|
var C = e.on || (e.on = {});
|
|
718
|
-
C["update:".concat(l)] = function(
|
|
719
|
-
t[l] =
|
|
718
|
+
C["update:".concat(l)] = function(k) {
|
|
719
|
+
t[l] = k;
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
};
|
|
@@ -973,7 +973,7 @@ function Ap(e, i) {
|
|
|
973
973
|
return Jt(s, t);
|
|
974
974
|
});
|
|
975
975
|
var o = function(g) {
|
|
976
|
-
for (var C = 0,
|
|
976
|
+
for (var C = 0, k = s.length; C < k; C++)
|
|
977
977
|
s[C].$forceUpdate();
|
|
978
978
|
g && (s.length = 0, r !== null && (clearTimeout(r), r = null), a !== null && (clearTimeout(a), a = null));
|
|
979
979
|
}, l = Js(function(g) {
|
|
@@ -1349,8 +1349,8 @@ function Bp(e, i, t, s, n) {
|
|
|
1349
1349
|
var g = e.$options._parentListeners;
|
|
1350
1350
|
if (e._listenersProxy && Ys(e._listenersProxy, t, g || Fe, e, "$listeners"), e.$listeners = e.$options._parentListeners = t, Sl(e, t, g), i && e.$options.props) {
|
|
1351
1351
|
Rt(!1);
|
|
1352
|
-
for (var C = e._props,
|
|
1353
|
-
var Q =
|
|
1352
|
+
for (var C = e._props, k = e.$options._propKeys || [], J = 0; J < k.length; J++) {
|
|
1353
|
+
var Q = k[J], ne = e.$options.props;
|
|
1354
1354
|
C[Q] = Mr(Q, ne, i, e);
|
|
1355
1355
|
}
|
|
1356
1356
|
Rt(!0), e.$options.propsData = i;
|
|
@@ -1505,11 +1505,11 @@ function Nr(e, i, t, s, n) {
|
|
|
1505
1505
|
get: function() {
|
|
1506
1506
|
return zi(s, e.scopedSlots, this.slots());
|
|
1507
1507
|
}
|
|
1508
|
-
}), l && (this.$options = a, this.$slots = this.slots(), this.$scopedSlots = zi(s, e.scopedSlots, this.$slots)), a._scopeId ? this._c = function(h, g, C,
|
|
1509
|
-
var J = zs(o, h, g, C,
|
|
1508
|
+
}), l && (this.$options = a, this.$slots = this.slots(), this.$scopedSlots = zi(s, e.scopedSlots, this.$slots)), a._scopeId ? this._c = function(h, g, C, k) {
|
|
1509
|
+
var J = zs(o, h, g, C, k, p);
|
|
1510
1510
|
return J && !re(J) && (J.fnScopeId = a._scopeId, J.fnContext = s), J;
|
|
1511
|
-
} : this._c = function(h, g, C,
|
|
1512
|
-
return zs(o, h, g, C,
|
|
1511
|
+
} : this._c = function(h, g, C, k) {
|
|
1512
|
+
return zs(o, h, g, C, k, p);
|
|
1513
1513
|
};
|
|
1514
1514
|
}
|
|
1515
1515
|
El(Nr.prototype);
|
|
@@ -1524,8 +1524,8 @@ function Jp(e, i, t, s, n) {
|
|
|
1524
1524
|
if (h instanceof Ge)
|
|
1525
1525
|
return xa(h, t, p.parent, r, p);
|
|
1526
1526
|
if (re(h)) {
|
|
1527
|
-
for (var g = Cr(h) || [], C = new Array(g.length),
|
|
1528
|
-
C[
|
|
1527
|
+
for (var g = Cr(h) || [], C = new Array(g.length), k = 0; k < g.length; k++)
|
|
1528
|
+
C[k] = xa(g[k], t, p.parent, r, p);
|
|
1529
1529
|
return C;
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
@@ -2519,8 +2519,8 @@ function yh(e) {
|
|
|
2519
2519
|
var h = 0;
|
|
2520
2520
|
function g(m, v, T, O, H, w, x) {
|
|
2521
2521
|
if (b(m.elm) && b(w) && (m = w[x] = jn(m)), m.isRootInsert = !H, !C(m, v, T, O)) {
|
|
2522
|
-
var
|
|
2523
|
-
b(te) ? (process.env.NODE_ENV !== "production" && (
|
|
2522
|
+
var N = m.data, K = m.children, te = m.tag;
|
|
2523
|
+
b(te) ? (process.env.NODE_ENV !== "production" && (N && N.pre && h++, p(m, h) && B("Unknown custom element: <" + te + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.', m.context)), m.elm = m.ns ? r.createElementNS(m.ns, te) : r.createElement(te, m), P(m), ne(m, K, v), b(N) && Z(m, v), Q(T, m.elm, O), process.env.NODE_ENV !== "production" && N && N.pre && h--) : be(m.isComment) ? (m.elm = r.createComment(m.text), Q(T, m.elm, O)) : (m.elm = r.createTextNode(m.text), Q(T, m.elm, O));
|
|
2524
2524
|
}
|
|
2525
2525
|
}
|
|
2526
2526
|
function C(m, v, T, O) {
|
|
@@ -2528,10 +2528,10 @@ function yh(e) {
|
|
|
2528
2528
|
if (b(H)) {
|
|
2529
2529
|
var w = b(m.componentInstance) && H.keepAlive;
|
|
2530
2530
|
if (b(H = H.hook) && b(H = H.init) && H(m, !1), b(m.componentInstance))
|
|
2531
|
-
return
|
|
2531
|
+
return k(m, v), Q(T, m.elm, O), be(w) && J(m, v, T, O), !0;
|
|
2532
2532
|
}
|
|
2533
2533
|
}
|
|
2534
|
-
function
|
|
2534
|
+
function k(m, v) {
|
|
2535
2535
|
b(m.data.pendingInsert) && (v.push.apply(v, m.data.pendingInsert), m.data.pendingInsert = null), m.elm = m.componentInstance.$el, se(m) ? (Z(m, v), P(m)) : (Ei(m), v.push(m));
|
|
2536
2536
|
}
|
|
2537
2537
|
function J(m, v, T, O) {
|
|
@@ -2603,10 +2603,10 @@ function yh(e) {
|
|
|
2603
2603
|
l(m.elm);
|
|
2604
2604
|
}
|
|
2605
2605
|
function I(m, v, T, O, H) {
|
|
2606
|
-
var w = 0, x = 0,
|
|
2607
|
-
for (process.env.NODE_ENV !== "production" && R(T); w <=
|
|
2608
|
-
$(K) ? K = v[++w] : $(te) ? te = v[--
|
|
2609
|
-
w >
|
|
2606
|
+
var w = 0, x = 0, N = v.length - 1, K = v[0], te = v[N], d = T.length - 1, u = T[0], c = T[d], f, y, E, _, G = !H;
|
|
2607
|
+
for (process.env.NODE_ENV !== "production" && R(T); w <= N && x <= d; )
|
|
2608
|
+
$(K) ? K = v[++w] : $(te) ? te = v[--N] : zt(K, u) ? (V(K, u, O, T, x), K = v[++w], u = T[++x]) : zt(te, c) ? (V(te, c, O, T, d), te = v[--N], c = T[--d]) : zt(K, c) ? (V(K, c, O, T, d), G && r.insertBefore(m, K.elm, r.nextSibling(te.elm)), K = v[++w], c = T[--d]) : zt(te, u) ? (V(te, u, O, T, x), G && r.insertBefore(m, te.elm, K.elm), te = v[--N], u = T[++x]) : ($(f) && (f = gh(v, w, N)), y = b(u.key) ? f[u.key] : M(u, v, w, N), $(y) ? g(u, O, m, K.elm, !1, T, x) : (E = v[y], zt(E, u) ? (V(E, u, O, T, x), v[y] = void 0, G && r.insertBefore(m, E.elm, K.elm)) : g(u, O, m, K.elm, !1, T, x)), u = T[++x]);
|
|
2609
|
+
w > N ? (_ = $(T[d + 1]) ? null : T[d + 1].elm, A(m, _, T, x, d, O)) : x > d && D(v, w, N);
|
|
2610
2610
|
}
|
|
2611
2611
|
function R(m) {
|
|
2612
2612
|
for (var v = {}, T = 0; T < m.length; T++) {
|
|
@@ -2633,15 +2633,15 @@ function yh(e) {
|
|
|
2633
2633
|
v.componentInstance = m.componentInstance;
|
|
2634
2634
|
return;
|
|
2635
2635
|
}
|
|
2636
|
-
var
|
|
2637
|
-
b(K) && b(
|
|
2636
|
+
var N, K = v.data;
|
|
2637
|
+
b(K) && b(N = K.hook) && b(N = N.prepatch) && N(m, v);
|
|
2638
2638
|
var te = m.children, d = v.children;
|
|
2639
2639
|
if (b(K) && se(v)) {
|
|
2640
|
-
for (
|
|
2641
|
-
s.update[
|
|
2642
|
-
b(
|
|
2640
|
+
for (N = 0; N < s.update.length; ++N)
|
|
2641
|
+
s.update[N](m, v);
|
|
2642
|
+
b(N = K.hook) && b(N = N.update) && N(m, v);
|
|
2643
2643
|
}
|
|
2644
|
-
$(v.text) ? b(te) && b(d) ? te !== d && I(x, te, d, T, w) : b(d) ? (process.env.NODE_ENV !== "production" && R(d), b(m.text) && r.setTextContent(x, ""), A(x, null, d, 0, d.length - 1, T)) : b(te) ? D(te, 0, te.length - 1) : b(m.text) && r.setTextContent(x, "") : m.text !== v.text && r.setTextContent(x, v.text), b(K) && b(
|
|
2644
|
+
$(v.text) ? b(te) && b(d) ? te !== d && I(x, te, d, T, w) : b(d) ? (process.env.NODE_ENV !== "production" && R(d), b(m.text) && r.setTextContent(x, ""), A(x, null, d, 0, d.length - 1, T)) : b(te) ? D(te, 0, te.length - 1) : b(m.text) && r.setTextContent(x, "") : m.text !== v.text && r.setTextContent(x, v.text), b(K) && b(N = K.hook) && b(N = N.postpatch) && N(m, v);
|
|
2645
2645
|
}
|
|
2646
2646
|
}
|
|
2647
2647
|
function L(m, v, T) {
|
|
@@ -2653,30 +2653,30 @@ function yh(e) {
|
|
|
2653
2653
|
}
|
|
2654
2654
|
var j = !1, ee = Ye("attrs,class,staticClass,staticStyle,key");
|
|
2655
2655
|
function Ie(m, v, T, O) {
|
|
2656
|
-
var H, w = v.tag, x = v.data,
|
|
2656
|
+
var H, w = v.tag, x = v.data, N = v.children;
|
|
2657
2657
|
if (O = O || x && x.pre, v.elm = m, be(v.isComment) && b(v.asyncFactory))
|
|
2658
2658
|
return v.isAsyncPlaceholder = !0, !0;
|
|
2659
2659
|
if (process.env.NODE_ENV !== "production" && !le(m, v, O))
|
|
2660
2660
|
return !1;
|
|
2661
2661
|
if (b(x) && (b(H = x.hook) && b(H = H.init) && H(v, !0), b(H = v.componentInstance)))
|
|
2662
|
-
return
|
|
2662
|
+
return k(v, T), !0;
|
|
2663
2663
|
if (b(w)) {
|
|
2664
|
-
if (b(
|
|
2664
|
+
if (b(N))
|
|
2665
2665
|
if (!m.hasChildNodes())
|
|
2666
|
-
ne(v,
|
|
2666
|
+
ne(v, N, T);
|
|
2667
2667
|
else if (b(H = x) && b(H = H.domProps) && b(H = H.innerHTML)) {
|
|
2668
2668
|
if (H !== m.innerHTML)
|
|
2669
2669
|
return process.env.NODE_ENV !== "production" && typeof console < "u" && !j && (j = !0, console.warn("Parent: ", m), console.warn("server innerHTML: ", H), console.warn("client innerHTML: ", m.innerHTML)), !1;
|
|
2670
2670
|
} else {
|
|
2671
|
-
for (var K = !0, te = m.firstChild, d = 0; d <
|
|
2672
|
-
if (!te || !Ie(te,
|
|
2671
|
+
for (var K = !0, te = m.firstChild, d = 0; d < N.length; d++) {
|
|
2672
|
+
if (!te || !Ie(te, N[d], T, O)) {
|
|
2673
2673
|
K = !1;
|
|
2674
2674
|
break;
|
|
2675
2675
|
}
|
|
2676
2676
|
te = te.nextSibling;
|
|
2677
2677
|
}
|
|
2678
2678
|
if (!K || te)
|
|
2679
|
-
return process.env.NODE_ENV !== "production" && typeof console < "u" && !j && (j = !0, console.warn("Parent: ", m), console.warn("Mismatching childNodes vs. VNodes: ", m.childNodes,
|
|
2679
|
+
return process.env.NODE_ENV !== "production" && typeof console < "u" && !j && (j = !0, console.warn("Parent: ", m), console.warn("Mismatching childNodes vs. VNodes: ", m.childNodes, N)), !1;
|
|
2680
2680
|
}
|
|
2681
2681
|
if (b(x)) {
|
|
2682
2682
|
var u = !1;
|
|
@@ -2703,11 +2703,11 @@ function yh(e) {
|
|
|
2703
2703
|
if ($(v))
|
|
2704
2704
|
w = !0, g(T, x);
|
|
2705
2705
|
else {
|
|
2706
|
-
var
|
|
2707
|
-
if (!
|
|
2706
|
+
var N = b(v.nodeType);
|
|
2707
|
+
if (!N && zt(v, T))
|
|
2708
2708
|
V(v, T, x, null, null, H);
|
|
2709
2709
|
else {
|
|
2710
|
-
if (
|
|
2710
|
+
if (N) {
|
|
2711
2711
|
if (v.nodeType === 1 && v.hasAttribute(ca) && (v.removeAttribute(ca), O = !0), be(O)) {
|
|
2712
2712
|
if (Ie(v, T, x))
|
|
2713
2713
|
return L(T, x, !0), v;
|
|
@@ -3106,11 +3106,11 @@ function er(e, i) {
|
|
|
3106
3106
|
b(t._leaveCb) && (t._leaveCb.cancelled = !0, t._leaveCb());
|
|
3107
3107
|
var s = Hl(e.data.transition);
|
|
3108
3108
|
if (!$(s) && !(b(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, g = s.appearActiveClass, C = s.beforeEnter,
|
|
3109
|
+
for (var n = s.css, r = s.type, a = s.enterClass, o = s.enterToClass, l = s.enterActiveClass, p = s.appearClass, h = s.appearToClass, g = s.appearActiveClass, C = s.beforeEnter, k = s.enter, J = s.afterEnter, Q = s.enterCancelled, ne = s.beforeAppear, se = s.appear, Z = s.afterAppear, P = s.appearCancelled, A = s.duration, S = si, D = si.$vnode; D && D.parent; )
|
|
3110
3110
|
S = D.context, D = D.parent;
|
|
3111
3111
|
var U = !S._isMounted || !e.isRootInsert;
|
|
3112
3112
|
if (!(U && !se && se !== "")) {
|
|
3113
|
-
var I = U && p ? p : a, R = U && g ? g : l, M = U && h ? h : o, V = U && ne || C, L = U && ye(se) ? se :
|
|
3113
|
+
var I = U && p ? p : a, R = U && g ? g : l, M = U && h ? h : o, V = U && ne || C, L = U && ye(se) ? se : k, j = U && Z || J, ee = U && P || Q, Ie = $i(Pe(A) ? A.enter : A);
|
|
3114
3114
|
process.env.NODE_ENV !== "production" && Ie != null && $l(Ie, "enter", e);
|
|
3115
3115
|
var le = n !== !1 && !Ri, m = jr(L), v = t._enterCb = Js(function() {
|
|
3116
3116
|
le && (xt(t, M), xt(t, R)), v.cancelled ? (le && xt(t, I), ee && ee(t)) : j && j(t), t._enterCb = null;
|
|
@@ -3132,12 +3132,12 @@ function Xl(e, i) {
|
|
|
3132
3132
|
return i();
|
|
3133
3133
|
if (b(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, g = s.afterLeave, C = s.leaveCancelled,
|
|
3135
|
+
var n = s.css, r = s.type, a = s.leaveClass, o = s.leaveToClass, l = s.leaveActiveClass, p = s.beforeLeave, h = s.leave, g = s.afterLeave, C = s.leaveCancelled, k = s.delayLeave, J = s.duration, Q = n !== !1 && !Ri, ne = jr(h), se = $i(Pe(J) ? J.leave : J);
|
|
3136
3136
|
process.env.NODE_ENV !== "production" && b(se) && $l(se, "leave", e);
|
|
3137
3137
|
var Z = t._leaveCb = Js(function() {
|
|
3138
3138
|
t.parentNode && t.parentNode._pending && (t.parentNode._pending[e.key] = null), Q && (xt(t, o), xt(t, l)), Z.cancelled ? (Q && xt(t, a), C && C(t)) : (i(), g && g(t)), t._leaveCb = null;
|
|
3139
3139
|
});
|
|
3140
|
-
|
|
3140
|
+
k ? k(P) : P();
|
|
3141
3141
|
function P() {
|
|
3142
3142
|
Z.cancelled || (!e.data.show && t.parentNode && ((t.parentNode._pending || (t.parentNode._pending = {}))[e.key] = e), p && p(t), Q && (ni(t, a), ni(t, l), Yl(function() {
|
|
3143
3143
|
xt(t, a), Z.cancelled || (ni(t, o), ne || (ec(se) ? setTimeout(Z, se) : zl(t, r, Z)));
|
|
@@ -3340,8 +3340,8 @@ var Yh = function(e) {
|
|
|
3340
3340
|
var g, C = function() {
|
|
3341
3341
|
g();
|
|
3342
3342
|
};
|
|
3343
|
-
Dt(o, "afterEnter", C), Dt(o, "enterCancelled", C), Dt(h, "delayLeave", function(
|
|
3344
|
-
g =
|
|
3343
|
+
Dt(o, "afterEnter", C), Dt(o, "enterCancelled", C), Dt(h, "delayLeave", function(k) {
|
|
3344
|
+
g = k;
|
|
3345
3345
|
});
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
@@ -3607,8 +3607,8 @@ function ve(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(J), h(
|
|
3610
|
+
l.render = function(k, J) {
|
|
3611
|
+
return p.call(J), h(k, J);
|
|
3612
3612
|
};
|
|
3613
3613
|
} else {
|
|
3614
3614
|
var g = l.beforeCreate;
|
|
@@ -4251,9 +4251,9 @@ function Sf(e) {
|
|
|
4251
4251
|
function _f(e, i) {
|
|
4252
4252
|
let t, s, n, r;
|
|
4253
4253
|
function a(g) {
|
|
4254
|
-
let C = Date.now(),
|
|
4255
|
-
if (
|
|
4256
|
-
return o(
|
|
4254
|
+
let C = Date.now(), k = g ? 0 : r + i - C;
|
|
4255
|
+
if (k > 0)
|
|
4256
|
+
return o(k);
|
|
4257
4257
|
e.apply(n, s), l();
|
|
4258
4258
|
}
|
|
4259
4259
|
function o(g) {
|
|
@@ -5104,7 +5104,7 @@ function gi(e, i, t, s, n, r, a) {
|
|
|
5104
5104
|
var G = Et(":scope > defs", E);
|
|
5105
5105
|
G || (G = de("defs"), Ne(E, G)), Ne(G, _);
|
|
5106
5106
|
}
|
|
5107
|
-
function
|
|
5107
|
+
function k(d, u, c, f) {
|
|
5108
5108
|
var y = Bm.nextPrefixed("marker-");
|
|
5109
5109
|
return J(d, y, u, c, f), "url(#" + y + ")";
|
|
5110
5110
|
}
|
|
@@ -5750,7 +5750,7 @@ function gi(e, i, t, s, n, r, a) {
|
|
|
5750
5750
|
}
|
|
5751
5751
|
function v(d, u, c = {}) {
|
|
5752
5752
|
var f = ge(u), y = ie(u, o, c.fill), E = F(u, l, c.stroke);
|
|
5753
|
-
return (f.get("associationDirection") === "One" || f.get("associationDirection") === "Both") && (c.markerEnd =
|
|
5753
|
+
return (f.get("associationDirection") === "One" || f.get("associationDirection") === "Both") && (c.markerEnd = k(d, "association-end", y, E)), f.get("associationDirection") === "Both" && (c.markerStart = k(d, "association-start", y, E)), c = oe(c, [
|
|
5754
5754
|
"markerStart",
|
|
5755
5755
|
"markerEnd"
|
|
5756
5756
|
]), P(d, u.waypoints, {
|
|
@@ -5828,11 +5828,11 @@ function gi(e, i, t, s, n, r, a) {
|
|
|
5828
5828
|
strokeWidth: 2.5
|
|
5829
5829
|
}), !y)) {
|
|
5830
5830
|
var E = ge(u).flowElements || [], _ = E.filter((G) => W(G, "bpmn:StartEvent"));
|
|
5831
|
-
_.length === 1 &&
|
|
5831
|
+
_.length === 1 && N(_[0], d, c, u);
|
|
5832
5832
|
}
|
|
5833
5833
|
return ee(d, u, y ? "center-top" : "center-middle", c), y ? L(d, u, void 0, c) : L(d, u, ["SubProcessMarker"], c), f;
|
|
5834
5834
|
}
|
|
5835
|
-
function
|
|
5835
|
+
function N(d, u, c, f) {
|
|
5836
5836
|
var y = 22, E = {
|
|
5837
5837
|
fill: ie(f, o, c.fill),
|
|
5838
5838
|
stroke: F(f, l, c.stroke),
|
|
@@ -5964,7 +5964,7 @@ function gi(e, i, t, s, n, r, a) {
|
|
|
5964
5964
|
"stroke"
|
|
5965
5965
|
]), v(d, u, {
|
|
5966
5966
|
...c,
|
|
5967
|
-
markerEnd:
|
|
5967
|
+
markerEnd: k(d, "association-end", ie(u, o, c.fill), F(u, l, c.stroke))
|
|
5968
5968
|
});
|
|
5969
5969
|
},
|
|
5970
5970
|
"bpmn:DataObject": function(d, u, c = {}) {
|
|
@@ -5992,7 +5992,7 @@ function gi(e, i, t, s, n, r, a) {
|
|
|
5992
5992
|
"stroke"
|
|
5993
5993
|
]), v(d, u, {
|
|
5994
5994
|
...c,
|
|
5995
|
-
markerEnd:
|
|
5995
|
+
markerEnd: k(d, "association-end", ie(u, o, c.fill), F(u, l, c.stroke))
|
|
5996
5996
|
});
|
|
5997
5997
|
},
|
|
5998
5998
|
"bpmn:DataStoreReference": function(d, u, c = {}) {
|
|
@@ -6189,8 +6189,8 @@ function gi(e, i, t, s, n, r, a) {
|
|
|
6189
6189
|
"stroke"
|
|
6190
6190
|
]);
|
|
6191
6191
|
var f = ge(u), y = ui(u), E = ie(u, o, c.fill), _ = F(u, l, c.stroke), G = P(d, u.waypoints, {
|
|
6192
|
-
markerEnd:
|
|
6193
|
-
markerStart:
|
|
6192
|
+
markerEnd: k(d, "messageflow-end", E, _),
|
|
6193
|
+
markerStart: k(d, "messageflow-start", E, _),
|
|
6194
6194
|
stroke: _,
|
|
6195
6195
|
strokeDasharray: "10, 11",
|
|
6196
6196
|
strokeWidth: 1.5
|
|
@@ -6360,15 +6360,15 @@ function gi(e, i, t, s, n, r, a) {
|
|
|
6360
6360
|
"stroke"
|
|
6361
6361
|
]);
|
|
6362
6362
|
var f = ie(u, o, c.fill), y = F(u, l, c.stroke), E = P(d, u.waypoints, {
|
|
6363
|
-
markerEnd:
|
|
6363
|
+
markerEnd: k(d, "sequenceflow-end", f, y),
|
|
6364
6364
|
stroke: y
|
|
6365
6365
|
}), _ = ge(u), { source: G } = u;
|
|
6366
6366
|
if (G) {
|
|
6367
6367
|
var ae = ge(G);
|
|
6368
6368
|
_.get("conditionExpression") && W(ae, "bpmn:Activity") && he(E, {
|
|
6369
|
-
markerStart:
|
|
6369
|
+
markerStart: k(d, "conditional-flow-marker", f, y)
|
|
6370
6370
|
}), ae.get("default") && (W(ae, "bpmn:Gateway") || W(ae, "bpmn:Activity")) && ae.get("default") === _ && he(E, {
|
|
6371
|
-
markerStart:
|
|
6371
|
+
markerStart: k(d, "conditional-default-flow-marker", f, y)
|
|
6372
6372
|
});
|
|
6373
6373
|
}
|
|
6374
6374
|
return E;
|
|
@@ -6675,12 +6675,12 @@ hn.prototype.layoutText = function(e, i) {
|
|
|
6675
6675
|
for (Ne(C, g); l.length; )
|
|
6676
6676
|
p.push(Jm(l, h, g));
|
|
6677
6677
|
n.vertical === "middle" && (r.top = r.bottom = 0);
|
|
6678
|
-
var
|
|
6678
|
+
var k = Pi(p, function(Z, P, A) {
|
|
6679
6679
|
return Z + (o || P.height);
|
|
6680
6680
|
}, 0) + r.top + r.bottom, J = Pi(p, function(Z, P, A) {
|
|
6681
6681
|
return P.width > Z ? P.width : Z;
|
|
6682
6682
|
}, 0), Q = r.top;
|
|
6683
|
-
n.vertical === "middle" && (Q += (t.height -
|
|
6683
|
+
n.vertical === "middle" && (Q += (t.height - k) / 2), Q -= (o || p[0].height) / 4;
|
|
6684
6684
|
var ne = de("text");
|
|
6685
6685
|
he(ne, s), q(p, function(Z) {
|
|
6686
6686
|
var P;
|
|
@@ -6699,7 +6699,7 @@ hn.prototype.layoutText = function(e, i) {
|
|
|
6699
6699
|
}), hs(g);
|
|
6700
6700
|
var se = {
|
|
6701
6701
|
width: J,
|
|
6702
|
-
height:
|
|
6702
|
+
height: k
|
|
6703
6703
|
};
|
|
6704
6704
|
return {
|
|
6705
6705
|
dimensions: se,
|
|
@@ -7076,7 +7076,7 @@ function ug(e) {
|
|
|
7076
7076
|
for (var i = e.waypoints, t = i.reduce(function(p, h, g) {
|
|
7077
7077
|
var C = i[g - 1];
|
|
7078
7078
|
if (C) {
|
|
7079
|
-
var
|
|
7079
|
+
var k = p[p.length - 1], J = k && k.endLength || 0, Q = pg(C, h);
|
|
7080
7080
|
p.push({
|
|
7081
7081
|
start: C,
|
|
7082
7082
|
end: h,
|
|
@@ -7547,11 +7547,11 @@ function Lc(e, i, t) {
|
|
|
7547
7547
|
var p = a.flatMap(function(g) {
|
|
7548
7548
|
var C = t.findRoot(Yr(g)) || t.findRoot(g.id);
|
|
7549
7549
|
if (!C && W(g, "bpmn:Process")) {
|
|
7550
|
-
var
|
|
7550
|
+
var k = i.find(function(ne) {
|
|
7551
7551
|
var se = ge(ne);
|
|
7552
7552
|
return se && se.get("processRef") === g;
|
|
7553
7553
|
});
|
|
7554
|
-
C =
|
|
7554
|
+
C = k && t.findRoot(k.id);
|
|
7555
7555
|
}
|
|
7556
7556
|
if (!C)
|
|
7557
7557
|
return [];
|
|
@@ -7882,7 +7882,7 @@ function Uc(e, i, t) {
|
|
|
7882
7882
|
};
|
|
7883
7883
|
V && (p[M] = V), L.$delegate = ki.bind(I, g, R, L);
|
|
7884
7884
|
}
|
|
7885
|
-
function
|
|
7885
|
+
function k(I, R, M) {
|
|
7886
7886
|
var V = a(M);
|
|
7887
7887
|
!V || ki.unbind(I, R, V.$delegate);
|
|
7888
7888
|
}
|
|
@@ -7893,7 +7893,7 @@ function Uc(e, i, t) {
|
|
|
7893
7893
|
}
|
|
7894
7894
|
function Q(I) {
|
|
7895
7895
|
q(l, function(R, M) {
|
|
7896
|
-
|
|
7896
|
+
k(I, M, R);
|
|
7897
7897
|
});
|
|
7898
7898
|
}
|
|
7899
7899
|
e.on("canvas.destroy", function(I) {
|
|
@@ -7963,7 +7963,7 @@ function Uc(e, i, t) {
|
|
|
7963
7963
|
width: I.width,
|
|
7964
7964
|
height: I.height
|
|
7965
7965
|
}), M;
|
|
7966
|
-
}, this.fire = n, this.triggerMouseEvent = h, this.mouseHandler = a, this.registerEvent = C, this.unregisterEvent =
|
|
7966
|
+
}, this.fire = n, this.triggerMouseEvent = h, this.mouseHandler = a, this.registerEvent = C, this.unregisterEvent = k;
|
|
7967
7967
|
}
|
|
7968
7968
|
Uc.$inject = [
|
|
7969
7969
|
"eventBus",
|
|
@@ -8170,7 +8170,7 @@ function Jc(e, i) {
|
|
|
8170
8170
|
function C(P) {
|
|
8171
8171
|
return Us((A) => P.get(A));
|
|
8172
8172
|
}
|
|
8173
|
-
function
|
|
8173
|
+
function k(P, A) {
|
|
8174
8174
|
if (A && A.length) {
|
|
8175
8175
|
const S = /* @__PURE__ */ Object.create(null), D = /* @__PURE__ */ Object.create(null), U = [], I = [], R = [];
|
|
8176
8176
|
let M, V, L, j;
|
|
@@ -8203,7 +8203,7 @@ function Jc(e, i) {
|
|
|
8203
8203
|
function ne(P) {
|
|
8204
8204
|
const A = P.__exports__;
|
|
8205
8205
|
if (A) {
|
|
8206
|
-
const S = P.__modules__, D = Object.keys(P).reduce((V, L) => (L !== "__exports__" && L !== "__modules__" && L !== "__init__" && L !== "__depends__" && (V[L] = P[L]), V), /* @__PURE__ */ Object.create(null)), U = (S || []).concat(D), I =
|
|
8206
|
+
const S = P.__modules__, D = Object.keys(P).reduce((V, L) => (L !== "__exports__" && L !== "__modules__" && L !== "__init__" && L !== "__depends__" && (V[L] = P[L]), V), /* @__PURE__ */ Object.create(null)), U = (S || []).concat(D), I = k(U), R = Us(function(V) {
|
|
8207
8207
|
return I.get(V);
|
|
8208
8208
|
});
|
|
8209
8209
|
A.forEach(function(V) {
|
|
@@ -8238,7 +8238,7 @@ function Jc(e, i) {
|
|
|
8238
8238
|
S || (S = !0, A.forEach((D) => D()));
|
|
8239
8239
|
};
|
|
8240
8240
|
}
|
|
8241
|
-
this.get = l, this.invoke = g, this.instantiate = h, this.createChild =
|
|
8241
|
+
this.get = l, this.invoke = g, this.instantiate = h, this.createChild = k, this.init = Z(e);
|
|
8242
8242
|
}
|
|
8243
8243
|
function Wg(e, i) {
|
|
8244
8244
|
return e !== "value" && zr(i) && (i = Us(i.slice())), i;
|
|
@@ -8667,8 +8667,8 @@ z.prototype.scrollToElement = function(e, i) {
|
|
|
8667
8667
|
if (!(n.width < a.width && n.height < a.height))
|
|
8668
8668
|
l = n.x - a.x, p = n.y - a.y;
|
|
8669
8669
|
else {
|
|
8670
|
-
const C = Math.max(0, r.right - h.right),
|
|
8671
|
-
l = C ||
|
|
8670
|
+
const C = Math.max(0, r.right - h.right), k = Math.min(0, r.left - h.left), J = Math.max(0, r.bottom - h.bottom), Q = Math.min(0, r.top - h.top);
|
|
8671
|
+
l = C || k, p = J || Q;
|
|
8672
8672
|
}
|
|
8673
8673
|
this.scroll({ dx: -l * o, dy: -p * o });
|
|
8674
8674
|
};
|
|
@@ -9592,7 +9592,7 @@ function Ty(e) {
|
|
|
9592
9592
|
function lu(e) {
|
|
9593
9593
|
if (!this)
|
|
9594
9594
|
return new lu(e);
|
|
9595
|
-
var i = e && e.proxy, t, s, n, r, a = Ty, o, l, p, h, g = Mo, C = !1,
|
|
9595
|
+
var i = e && e.proxy, t, s, n, r, a = Ty, o, l, p, h, g = Mo, C = !1, k = !1, J = null, Q = !1, ne;
|
|
9596
9596
|
function se(A) {
|
|
9597
9597
|
A instanceof Error || (A = bi(A)), J = A, a(A, g);
|
|
9598
9598
|
}
|
|
@@ -9640,7 +9640,7 @@ function lu(e) {
|
|
|
9640
9640
|
var S = {}, D;
|
|
9641
9641
|
for (D in A)
|
|
9642
9642
|
S[D] = A[D];
|
|
9643
|
-
return
|
|
9643
|
+
return k = !0, ne = S, this;
|
|
9644
9644
|
}, this.parse = function(A) {
|
|
9645
9645
|
if (typeof A != "string")
|
|
9646
9646
|
throw bi("required args <xml=string>");
|
|
@@ -9649,11 +9649,11 @@ function lu(e) {
|
|
|
9649
9649
|
Q = !0;
|
|
9650
9650
|
};
|
|
9651
9651
|
function P(A) {
|
|
9652
|
-
var S =
|
|
9652
|
+
var S = k ? [] : null, D = k ? Ey(ne) : null, U, I = [], R = 0, M = !1, V = !1, L = 0, j = 0, ee, Ie, le, m, v, T, O, H, w, x = "", N = 0, K;
|
|
9653
9653
|
function te() {
|
|
9654
9654
|
if (K !== null)
|
|
9655
9655
|
return K;
|
|
9656
|
-
var u, c, f, y =
|
|
9656
|
+
var u, c, f, y = k && D.xmlns, E = k && C ? [] : null, _ = N, G = x, ae = G.length, xe, Ae, ke, tt, ue, bt = {}, bs = {}, He, X, ce;
|
|
9657
9657
|
e:
|
|
9658
9658
|
for (; _ < ae; _++)
|
|
9659
9659
|
if (He = !1, X = G.charCodeAt(_), !(X === 32 || X < 14 && X > 8)) {
|
|
@@ -9682,7 +9682,7 @@ function lu(e) {
|
|
|
9682
9682
|
Z("attribute <" + ue + "> already defined");
|
|
9683
9683
|
continue;
|
|
9684
9684
|
}
|
|
9685
|
-
if (bs[ue] = !0, !
|
|
9685
|
+
if (bs[ue] = !0, !k) {
|
|
9686
9686
|
bt[ue] = ke;
|
|
9687
9687
|
continue;
|
|
9688
9688
|
}
|
|
@@ -9827,8 +9827,8 @@ function lu(e) {
|
|
|
9827
9827
|
}
|
|
9828
9828
|
V || I.push(O);
|
|
9829
9829
|
}
|
|
9830
|
-
if (
|
|
9831
|
-
if (U = D, M && (V || S.push(U), K === null && (C = ee.indexOf("xmlns", le) !== -1) && (
|
|
9830
|
+
if (k) {
|
|
9831
|
+
if (U = D, M && (V || S.push(U), K === null && (C = ee.indexOf("xmlns", le) !== -1) && (N = le, x = ee, te(), C = !1)), H = O, m = O.indexOf(":"), m !== -1) {
|
|
9832
9832
|
if (T = D[O.substring(0, m)], !T)
|
|
9833
9833
|
return se("missing namespace on <" + H + ">");
|
|
9834
9834
|
O = O.substr(m + 1);
|
|
@@ -9836,12 +9836,12 @@ function lu(e) {
|
|
|
9836
9836
|
T = D.xmlns;
|
|
9837
9837
|
T && (O = T + ":" + O);
|
|
9838
9838
|
}
|
|
9839
|
-
if (M && (
|
|
9839
|
+
if (M && (N = le, x = ee, s && (i ? s(w, Zt, V, g) : s(O, te, Zt, V, g), Q)))
|
|
9840
9840
|
return;
|
|
9841
9841
|
if (V) {
|
|
9842
9842
|
if (n && (n(i ? w : O, Zt, M, g), Q))
|
|
9843
9843
|
return;
|
|
9844
|
-
|
|
9844
|
+
k && (M ? D = U : D = S.pop());
|
|
9845
9845
|
}
|
|
9846
9846
|
j += 1;
|
|
9847
9847
|
}
|
|
@@ -10115,9 +10115,9 @@ sa.prototype.fromXML = function(e, i, t) {
|
|
|
10115
10115
|
function C() {
|
|
10116
10116
|
l.pop().handleEnd();
|
|
10117
10117
|
}
|
|
10118
|
-
var
|
|
10118
|
+
var k = /^<\?xml /i, J = / encoding="([^"]+)"/i, Q = /^utf-8$/i;
|
|
10119
10119
|
function ne(S) {
|
|
10120
|
-
if (!!
|
|
10120
|
+
if (!!k.test(S)) {
|
|
10121
10121
|
var D = J.exec(S), U = D && D[1];
|
|
10122
10122
|
!U || Q.test(U) || a.addWarning({
|
|
10123
10123
|
message: "unsupported document encoding <" + U + ">, falling back to UTF-8"
|
|
@@ -14189,8 +14189,8 @@ function Uv(e) {
|
|
|
14189
14189
|
function Gv(e) {
|
|
14190
14190
|
var i = {}, t = [], s = {};
|
|
14191
14191
|
function n(w, x) {
|
|
14192
|
-
return function(
|
|
14193
|
-
w(
|
|
14192
|
+
return function(N) {
|
|
14193
|
+
w(N, x);
|
|
14194
14194
|
};
|
|
14195
14195
|
}
|
|
14196
14196
|
function r(w) {
|
|
@@ -14200,8 +14200,8 @@ function Gv(e) {
|
|
|
14200
14200
|
return i[w.id];
|
|
14201
14201
|
}
|
|
14202
14202
|
function o(w, x) {
|
|
14203
|
-
var
|
|
14204
|
-
if (
|
|
14203
|
+
var N = w.gfx;
|
|
14204
|
+
if (N)
|
|
14205
14205
|
throw new Error(
|
|
14206
14206
|
`already rendered ${De(w)}`
|
|
14207
14207
|
);
|
|
@@ -14212,8 +14212,8 @@ function Gv(e) {
|
|
|
14212
14212
|
}
|
|
14213
14213
|
function p(w, x) {
|
|
14214
14214
|
try {
|
|
14215
|
-
var
|
|
14216
|
-
return r(w),
|
|
14215
|
+
var N = s[w.id] && o(w, x);
|
|
14216
|
+
return r(w), N;
|
|
14217
14217
|
} catch (K) {
|
|
14218
14218
|
h(K.message, { element: w, error: K }), console.error(`failed to import ${De(w)}`, K);
|
|
14219
14219
|
}
|
|
@@ -14222,35 +14222,35 @@ function Gv(e) {
|
|
|
14222
14222
|
e.error(w, x);
|
|
14223
14223
|
}
|
|
14224
14224
|
var g = this.registerDi = function(x) {
|
|
14225
|
-
var
|
|
14226
|
-
|
|
14227
|
-
`multiple DI elements defined for ${De(
|
|
14228
|
-
{ element:
|
|
14229
|
-
) : (s[
|
|
14225
|
+
var N = x.bpmnElement;
|
|
14226
|
+
N ? s[N.id] ? h(
|
|
14227
|
+
`multiple DI elements defined for ${De(N)}`,
|
|
14228
|
+
{ element: N }
|
|
14229
|
+
) : (s[N.id] = x, Qv(N)) : h(
|
|
14230
14230
|
`no bpmnElement referenced in ${De(x)}`,
|
|
14231
14231
|
{ element: x }
|
|
14232
14232
|
);
|
|
14233
14233
|
};
|
|
14234
14234
|
function C(w) {
|
|
14235
|
-
|
|
14235
|
+
k(w.plane);
|
|
14236
14236
|
}
|
|
14237
|
-
function
|
|
14237
|
+
function k(w) {
|
|
14238
14238
|
g(w), q(w.planeElement, J);
|
|
14239
14239
|
}
|
|
14240
14240
|
function J(w) {
|
|
14241
14241
|
g(w);
|
|
14242
14242
|
}
|
|
14243
|
-
this.handleDefinitions = function(x,
|
|
14243
|
+
this.handleDefinitions = function(x, N) {
|
|
14244
14244
|
var K = x.diagrams;
|
|
14245
|
-
if (
|
|
14245
|
+
if (N && K.indexOf(N) === -1)
|
|
14246
14246
|
throw new Error("diagram not part of <bpmn:Definitions />");
|
|
14247
|
-
if (!
|
|
14247
|
+
if (!N && K && K.length && (N = K[0]), !N)
|
|
14248
14248
|
throw new Error("no diagram to display");
|
|
14249
|
-
s = {}, C(
|
|
14250
|
-
var te =
|
|
14249
|
+
s = {}, C(N);
|
|
14250
|
+
var te = N.plane;
|
|
14251
14251
|
if (!te)
|
|
14252
14252
|
throw new Error(
|
|
14253
|
-
`no plane for ${De(
|
|
14253
|
+
`no plane for ${De(N)}`
|
|
14254
14254
|
);
|
|
14255
14255
|
var d = te.bpmnElement;
|
|
14256
14256
|
if (!d)
|
|
@@ -14279,10 +14279,10 @@ function Gv(e) {
|
|
|
14279
14279
|
m(w, x), R(w.ioSpecification, x), I(w.artifacts, x), r(w);
|
|
14280
14280
|
}
|
|
14281
14281
|
function se(w, x) {
|
|
14282
|
-
var
|
|
14282
|
+
var N = _i(w, function(K) {
|
|
14283
14283
|
return !a(K) && Le(K, "bpmn:Process") && K.laneSets;
|
|
14284
14284
|
});
|
|
14285
|
-
|
|
14285
|
+
N.forEach(n(ne, x));
|
|
14286
14286
|
}
|
|
14287
14287
|
function Z(w, x) {
|
|
14288
14288
|
p(w, x);
|
|
@@ -14303,21 +14303,21 @@ function Gv(e) {
|
|
|
14303
14303
|
p(w, x);
|
|
14304
14304
|
}
|
|
14305
14305
|
function I(w, x) {
|
|
14306
|
-
q(w, function(
|
|
14307
|
-
Le(
|
|
14308
|
-
U(
|
|
14309
|
-
}) : U(
|
|
14306
|
+
q(w, function(N) {
|
|
14307
|
+
Le(N, "bpmn:Association") ? t.push(function() {
|
|
14308
|
+
U(N, x);
|
|
14309
|
+
}) : U(N, x);
|
|
14310
14310
|
});
|
|
14311
14311
|
}
|
|
14312
14312
|
function R(w, x) {
|
|
14313
14313
|
!w || (q(w.dataInputs, n(S, x)), q(w.dataOutputs, n(D, x)));
|
|
14314
14314
|
}
|
|
14315
|
-
var M = this.handleSubProcess = function(x,
|
|
14316
|
-
m(x,
|
|
14315
|
+
var M = this.handleSubProcess = function(x, N) {
|
|
14316
|
+
m(x, N), I(x.artifacts, N);
|
|
14317
14317
|
};
|
|
14318
14318
|
function V(w, x) {
|
|
14319
|
-
var
|
|
14320
|
-
Le(w, "bpmn:SubProcess") && M(w,
|
|
14319
|
+
var N = p(w, x);
|
|
14320
|
+
Le(w, "bpmn:SubProcess") && M(w, N || x), Le(w, "bpmn:Activity") && R(w.ioSpecification, x), t.push(function() {
|
|
14321
14321
|
q(w.dataInputAssociations, n(A, x)), q(w.dataOutputAssociations, n(A, x));
|
|
14322
14322
|
});
|
|
14323
14323
|
}
|
|
@@ -14329,8 +14329,8 @@ function Gv(e) {
|
|
|
14329
14329
|
}
|
|
14330
14330
|
function ee(w, x) {
|
|
14331
14331
|
t.push(function() {
|
|
14332
|
-
var
|
|
14333
|
-
w.childLaneSet && Ie(w.childLaneSet,
|
|
14332
|
+
var N = p(w, x);
|
|
14333
|
+
w.childLaneSet && Ie(w.childLaneSet, N || x), H(w);
|
|
14334
14334
|
});
|
|
14335
14335
|
}
|
|
14336
14336
|
function Ie(w, x) {
|
|
@@ -14343,23 +14343,23 @@ function Gv(e) {
|
|
|
14343
14343
|
v(w.flowElements, x), w.laneSets && le(w.laneSets, x);
|
|
14344
14344
|
}
|
|
14345
14345
|
function v(w, x) {
|
|
14346
|
-
q(w, function(
|
|
14347
|
-
Le(
|
|
14348
|
-
L(
|
|
14349
|
-
}) : Le(
|
|
14350
|
-
V(
|
|
14351
|
-
}) : Le(
|
|
14352
|
-
`unrecognized flowElement ${De(
|
|
14346
|
+
q(w, function(N) {
|
|
14347
|
+
Le(N, "bpmn:SequenceFlow") ? t.push(function() {
|
|
14348
|
+
L(N, x);
|
|
14349
|
+
}) : Le(N, "bpmn:BoundaryEvent") ? t.unshift(function() {
|
|
14350
|
+
V(N, x);
|
|
14351
|
+
}) : Le(N, "bpmn:FlowNode") ? V(N, x) : Le(N, "bpmn:DataObject") || (Le(N, "bpmn:DataStoreReference") || Le(N, "bpmn:DataObjectReference") ? j(N, x) : h(
|
|
14352
|
+
`unrecognized flowElement ${De(N)} in context ${De(x && x.businessObject)}`,
|
|
14353
14353
|
{
|
|
14354
|
-
element:
|
|
14354
|
+
element: N,
|
|
14355
14355
|
context: x
|
|
14356
14356
|
}
|
|
14357
14357
|
));
|
|
14358
14358
|
});
|
|
14359
14359
|
}
|
|
14360
14360
|
function T(w, x) {
|
|
14361
|
-
var
|
|
14362
|
-
K && ne(K,
|
|
14361
|
+
var N = p(w, x), K = w.processRef;
|
|
14362
|
+
K && ne(K, N || x);
|
|
14363
14363
|
}
|
|
14364
14364
|
function O(w, x) {
|
|
14365
14365
|
q(w.participants, n(T, x)), t.push(function() {
|
|
@@ -14368,8 +14368,8 @@ function Gv(e) {
|
|
|
14368
14368
|
}
|
|
14369
14369
|
function H(w) {
|
|
14370
14370
|
q(w.flowNodeRef, function(x) {
|
|
14371
|
-
var
|
|
14372
|
-
|
|
14371
|
+
var N = x.get("lanes");
|
|
14372
|
+
N && N.push(w);
|
|
14373
14373
|
});
|
|
14374
14374
|
}
|
|
14375
14375
|
}
|
|
@@ -14388,10 +14388,10 @@ function qv(e, i, t) {
|
|
|
14388
14388
|
}
|
|
14389
14389
|
}, C = new Gv(g);
|
|
14390
14390
|
h = h || p.diagrams && p.diagrams[0];
|
|
14391
|
-
var
|
|
14392
|
-
if (!
|
|
14391
|
+
var k = Jv(p, h);
|
|
14392
|
+
if (!k)
|
|
14393
14393
|
throw new Error("no diagram to display");
|
|
14394
|
-
q(
|
|
14394
|
+
q(k, function(Q) {
|
|
14395
14395
|
C.handleDefinitions(p, Q);
|
|
14396
14396
|
});
|
|
14397
14397
|
var J = h.plane.bpmnElement.id;
|
|
@@ -14936,8 +14936,8 @@ function mA(e) {
|
|
|
14936
14936
|
r,
|
|
14937
14937
|
"YYYY-MM-DD HH:mm"
|
|
14938
14938
|
)}</span><br>`), o && o.length > 0) {
|
|
14939
|
-
let g, { type: C, fullMessage:
|
|
14940
|
-
C == "assigneeComment" && (g = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" +
|
|
14939
|
+
let g, { type: C, fullMessage: k } = o.find((J) => J.action == "AddComment") || {};
|
|
14940
|
+
C == "assigneeComment" && (g = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + k, l.class = "nodeWarn"), C == "dispatchComment" && (g = "\u8C03\u5EA6\uFF1A" + k, l.class = "nodeWarn"), C == "transferComment" && (g = "\u8F6C\u529E\uFF1A" + k, l.class = "nodeWarn"), C == "delegateComment" && (g = "\u59D4\u6258\uFF1A" + k, l.class = "nodeWarn"), C == "rollbackComment" && (g = "\u9A73\u56DE\uFF1A" + k, l.class = "nodeError"), C == "terminateComment" && (g = "\u7EC8\u6B62\uFF1A" + k, l.class = "nodeError"), C == "addMultiInstanceComment" && (g = "\u52A0\u7B7E\uFF1A" + k, l.class = "nodeWarn"), C == "deleteMultiInstanceComment" && (g = "\u51CF\u7B7E\uFF1A" + k, l.class = "nodeError"), C == "withdrawComment" && (g = "\u64A4\u9500\uFF1A" + k, l.class = "nodeWarn"), C == "deleteProcessComment" && (g = "\u5220\u9664\u6D41\u7A0B\uFF1A" + k, l.class = "nodeError"), C == "cancelProcessComment" && (g = "\u64A4\u9500\u6D41\u7A0B\uFF1A" + k, l.class = "nodeError"), C == "comment" && (g = "\u5BA1\u6279\uFF1A" + k, l.class = "nodeSuccess"), g && (p += `<span title='${g}'>${g}</span>`);
|
|
14941
14941
|
}
|
|
14942
14942
|
l.tooltip = p;
|
|
14943
14943
|
}
|
|
@@ -15033,15 +15033,15 @@ const vA = {
|
|
|
15033
15033
|
n = !0;
|
|
15034
15034
|
const C = g.touches[0];
|
|
15035
15035
|
r = C.clientX, a = C.clientY;
|
|
15036
|
-
const
|
|
15037
|
-
o = parseFloat(
|
|
15036
|
+
const k = t.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);
|
|
15037
|
+
o = parseFloat(k[4]), l = parseFloat(k[5]);
|
|
15038
15038
|
const J = this.getTransformMatrix(s.style.transform);
|
|
15039
15039
|
this.isAdd ? (p = parseFloat(J[4]), h = parseFloat(J[5])) : (p = parseFloat(J[4]) + 30, h = parseFloat(J[5]) + 16, this.isAdd = !0);
|
|
15040
15040
|
}), i.addEventListener("touchmove", (g) => {
|
|
15041
15041
|
if (!n)
|
|
15042
15042
|
return;
|
|
15043
|
-
const C = g.touches[0],
|
|
15044
|
-
l !== void 0 && (t.setAttribute("transform", `matrix(0.679276 0 0 0.679276 ${o +
|
|
15043
|
+
const C = g.touches[0], k = C.clientX - r, J = C.clientY - a;
|
|
15044
|
+
l !== void 0 && (t.setAttribute("transform", `matrix(0.679276 0 0 0.679276 ${o + k} ${l + J})`), s.setAttribute("style", `position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${p + k}, ${h + J});`)), e._cachedViewbox && (e._cachedViewbox.x = k, e._cachedViewbox.y = J), g.preventDefault();
|
|
15045
15045
|
}), i.addEventListener("touchend", () => {
|
|
15046
15046
|
n = !1;
|
|
15047
15047
|
});
|
|
@@ -18917,7 +18917,7 @@ var Rb = function() {
|
|
|
18917
18917
|
return t("div", {
|
|
18918
18918
|
key: n,
|
|
18919
18919
|
staticClass: "treeperson"
|
|
18920
|
-
}, [s.branches && s.branches.length ? [e.nodeType == "nexting" && s.nodeType != "inclusiveGateway" ? [s.nodeType == "exclusiveGateway" && s.branches.length > 1 ? t("div", {
|
|
18920
|
+
}, [s.nodeType == "endEvent" ? [t("div", [e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")])] : s.branches && s.branches.length ? [e.nodeType == "nexting" && s.nodeType != "inclusiveGateway" ? [s.nodeType == "exclusiveGateway" && s.branches.length > 1 ? t("div", {
|
|
18921
18921
|
staticClass: "treeperson-firstnode"
|
|
18922
18922
|
}, [e._m(1, !0), e._l(s.branches, function(r, a) {
|
|
18923
18923
|
return t("div", {
|
|
@@ -19379,7 +19379,7 @@ var Vb = /* @__PURE__ */ ve(
|
|
|
19379
19379
|
Lb,
|
|
19380
19380
|
!1,
|
|
19381
19381
|
jb,
|
|
19382
|
-
"
|
|
19382
|
+
"6f3df13a",
|
|
19383
19383
|
null,
|
|
19384
19384
|
null
|
|
19385
19385
|
);
|
|
@@ -20479,14 +20479,14 @@ const t0 = {
|
|
|
20479
20479
|
let e = {};
|
|
20480
20480
|
if (this.radioCheckNameList && this.radioCheckNameList.length) {
|
|
20481
20481
|
if (this.radioCheckChild[0].type !== "EndEventModel") {
|
|
20482
|
-
let
|
|
20483
|
-
if (this.radioCheckNameList.map((
|
|
20484
|
-
(!this.multiNodeParticipant[
|
|
20485
|
-
|
|
20486
|
-
(!this.multiNodeParticipant[
|
|
20482
|
+
let o = 0;
|
|
20483
|
+
if (this.radioCheckNameList.map((l, p) => {
|
|
20484
|
+
(!this.multiNodeParticipant[l] || !this.multiNodeParticipant[l].length) && this.radioCheckChild.map((h, g) => {
|
|
20485
|
+
h.id == l && (h.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" || h.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && (!h.childNode || !h.childNode.length ? o += 1 : this.radioCheckNode.map((C, k) => {
|
|
20486
|
+
(!this.multiNodeParticipant[C] || !this.multiNodeParticipant[C].length) && (o += 1), e[C] = this.multiNodeParticipant[C];
|
|
20487
20487
|
}));
|
|
20488
|
-
}), e[
|
|
20489
|
-
}),
|
|
20488
|
+
}), e[l] = this.multiNodeParticipant[l];
|
|
20489
|
+
}), o > 0) {
|
|
20490
20490
|
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
20491
20491
|
return;
|
|
20492
20492
|
}
|
|
@@ -20504,18 +20504,20 @@ const t0 = {
|
|
|
20504
20504
|
}
|
|
20505
20505
|
if (this.param.beforeFunction && !await this.param.beforeFunction())
|
|
20506
20506
|
return;
|
|
20507
|
-
console.log(this, "this"), (this.param.incomingConditionItemList || []).forEach((
|
|
20508
|
-
let
|
|
20509
|
-
|
|
20507
|
+
console.log(this, "this"), (this.param.incomingConditionItemList || []).forEach((o) => {
|
|
20508
|
+
let l = this.param.vars || this.gateVars || {};
|
|
20509
|
+
l[o.itemName] || (l[o.itemName] = "");
|
|
20510
20510
|
}), this.handleTips("", !0, "loading");
|
|
20511
20511
|
let i = [];
|
|
20512
20512
|
const t = Array.isArray(this.param.nextNodeData) ? this.param.nextNodeData[0] : this.param.nextNodeData;
|
|
20513
|
-
|
|
20514
|
-
id:
|
|
20515
|
-
name:
|
|
20516
|
-
})), Object.keys(e).forEach((
|
|
20517
|
-
Array.isArray(e[
|
|
20518
|
-
})
|
|
20513
|
+
t.setPersonnel ? i = t.assignees : i = (this.partNodeArr[t.id] || []).map((o) => ({
|
|
20514
|
+
id: o.id,
|
|
20515
|
+
name: o.name
|
|
20516
|
+
})), Object.keys(e).forEach((o) => {
|
|
20517
|
+
Array.isArray(e[o]) && (e[o] = e[o].filter((l) => l)), (!e[o] || Array.isArray(e[o]) && e[o].length <= 0) && delete e[o];
|
|
20518
|
+
});
|
|
20519
|
+
let s = t && t.nodeType != "endEvent", n = t && t.branches && t.branches.length == 1 && t.branches[0].nodeInfoDTO && t.branches[0].nodeInfoDTO.nodeType != "endEvent", r = t && t.branches && t.branches.length == 1 && t.branches[0].nodeType != "endEvent";
|
|
20520
|
+
if (s && n && r && !Object.keys(e).length)
|
|
20519
20521
|
return this.handleTips("\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9", !0, "error"), !1;
|
|
20520
20522
|
Date.now() && console.log("\u63D0\u4EA4\u6570\u636E", {
|
|
20521
20523
|
pass: !0,
|
|
@@ -20537,8 +20539,8 @@ const t0 = {
|
|
|
20537
20539
|
vars: this.param.vars || this.gateVars,
|
|
20538
20540
|
multiNodeParticipant: e,
|
|
20539
20541
|
attachment: this.attchLists
|
|
20540
|
-
}).then((
|
|
20541
|
-
|
|
20542
|
+
}).then((o) => {
|
|
20543
|
+
o.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), window.top.postMessage("success", "*"), this.handleFinal(), this.commentMsg = "") : this.handleTips(o.msg, !0, "error");
|
|
20542
20544
|
});
|
|
20543
20545
|
},
|
|
20544
20546
|
async signConfirm(e = !0) {
|
|
@@ -20562,14 +20564,14 @@ const t0 = {
|
|
|
20562
20564
|
let i = {};
|
|
20563
20565
|
if (this.radioCheckNameList && this.radioCheckNameList.length) {
|
|
20564
20566
|
if (this.radioCheckChild[0].type !== "EndEventModel") {
|
|
20565
|
-
let
|
|
20566
|
-
if (this.radioCheckNameList.map((
|
|
20567
|
-
(!this.multiNodeParticipant[
|
|
20568
|
-
|
|
20569
|
-
(!this.multiNodeParticipant[
|
|
20567
|
+
let l = 0;
|
|
20568
|
+
if (this.radioCheckNameList.map((p, h) => {
|
|
20569
|
+
(!this.multiNodeParticipant[p] || !this.multiNodeParticipant[p].length) && this.radioCheckChild.map((g, C) => {
|
|
20570
|
+
g.id == p && (g.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" || g.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && (!g.childNode || !g.childNode.length ? l += 1 : this.radioCheckNode.map((k, J) => {
|
|
20571
|
+
(!this.multiNodeParticipant[k] || !this.multiNodeParticipant[k].length) && (l += 1), i[k] = this.multiNodeParticipant[k];
|
|
20570
20572
|
}));
|
|
20571
|
-
}), i[
|
|
20572
|
-
}),
|
|
20573
|
+
}), i[p] = this.multiNodeParticipant[p];
|
|
20574
|
+
}), l > 0) {
|
|
20573
20575
|
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
20574
20576
|
return;
|
|
20575
20577
|
}
|
|
@@ -20591,18 +20593,20 @@ const t0 = {
|
|
|
20591
20593
|
}
|
|
20592
20594
|
if (this.param.beforeFunction && !await this.param.beforeFunction())
|
|
20593
20595
|
return;
|
|
20594
|
-
this.handleTips("", !0, "loading"), this.signVisible = (!1)(this.param.incomingConditionItemList || []).forEach((
|
|
20595
|
-
let
|
|
20596
|
-
|
|
20596
|
+
this.handleTips("", !0, "loading"), this.signVisible = (!1)(this.param.incomingConditionItemList || []).forEach((l) => {
|
|
20597
|
+
let p = this.param.vars || this.gateVars || {};
|
|
20598
|
+
p[l.itemName] || (p[l.itemName] = "");
|
|
20597
20599
|
});
|
|
20598
20600
|
let t = [];
|
|
20599
20601
|
const s = Array.isArray(this.param.nextNodeData) ? this.param.nextNodeData[0] : this.param.nextNodeData;
|
|
20600
|
-
|
|
20601
|
-
id:
|
|
20602
|
-
name:
|
|
20603
|
-
})), Object.keys(i).forEach((
|
|
20604
|
-
Array.isArray(i[
|
|
20605
|
-
})
|
|
20602
|
+
s.setPersonnel ? t = s.assignees : t = (this.partNodeArr[s.id] || []).map((l) => ({
|
|
20603
|
+
id: l.id,
|
|
20604
|
+
name: l.name
|
|
20605
|
+
})), Object.keys(i).forEach((l) => {
|
|
20606
|
+
Array.isArray(i[l]) && (i[l] = i[l].filter((p) => p)), (!i[l] || Array.isArray(i[l]) && i[l].length <= 0) && delete i[l];
|
|
20607
|
+
});
|
|
20608
|
+
let n = s && s.nodeType != "endEvent", r = s && s.branches && s.branches.length == 1 && s.branches[0].nodeInfoDTO && s.branches[0].nodeInfoDTO.nodeType != "endEvent", a = s && s.branches && s.branches.length == 1 && s.branches[0].nodeType != "endEvent";
|
|
20609
|
+
if (n && r && a && !Object.keys(i).length)
|
|
20606
20610
|
return this.handleTips("\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9", !0, "error"), !1;
|
|
20607
20611
|
await this.param.request.post("/bladex/blade-workflow/tis/complete", {
|
|
20608
20612
|
pass: !0,
|
|
@@ -20615,8 +20619,8 @@ const t0 = {
|
|
|
20615
20619
|
multiNodeParticipant: i,
|
|
20616
20620
|
digitalSignature: this.digitalSignature,
|
|
20617
20621
|
attachment: this.attchLists
|
|
20618
|
-
}).then((
|
|
20619
|
-
|
|
20622
|
+
}).then((l) => {
|
|
20623
|
+
l.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), window.top.postMessage("success", "*"), this.handleFinal(), this.commentMsg = "") : this.handleTips(l.msg, !0, "error");
|
|
20620
20624
|
});
|
|
20621
20625
|
},
|
|
20622
20626
|
attachShow(e = "\u529E\u7406") {
|
|
@@ -20695,7 +20699,7 @@ var i0 = /* @__PURE__ */ ve(
|
|
|
20695
20699
|
e0,
|
|
20696
20700
|
!1,
|
|
20697
20701
|
s0,
|
|
20698
|
-
"
|
|
20702
|
+
"3b938894",
|
|
20699
20703
|
null,
|
|
20700
20704
|
null
|
|
20701
20705
|
);
|
|
@@ -22072,7 +22076,7 @@ const k0 = /* @__PURE__ */ function() {
|
|
|
22072
22076
|
methods: {
|
|
22073
22077
|
async getCurrentProcess() {
|
|
22074
22078
|
this.request.get("/bladex/blade-workflow/repository/queryTaskNodeList", {
|
|
22075
|
-
params: { processInstId: this.
|
|
22079
|
+
params: { processInstId: this.processIntId }
|
|
22076
22080
|
}).then((e) => {
|
|
22077
22081
|
if (console.log(e, "res"), e.code == 200) {
|
|
22078
22082
|
const i = {};
|
|
@@ -22186,7 +22190,7 @@ const k0 = /* @__PURE__ */ function() {
|
|
|
22186
22190
|
i = await this.request.get("/bladex/blade-workflow/tis/simulation", {
|
|
22187
22191
|
params: {
|
|
22188
22192
|
taskId: this.absoluteTaskId,
|
|
22189
|
-
processInstId: this.
|
|
22193
|
+
processInstId: this.processIntId
|
|
22190
22194
|
}
|
|
22191
22195
|
});
|
|
22192
22196
|
} catch (s) {
|