ddy-process-h5 1.0.1-rc.3.97 → 1.0.1-rc.3.99
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 +33 -13
- package/v2/ddy-process-h5.umd.cjs +1 -1
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +276 -256
- package/v2.7/ddy-process-h5.umd.cjs +10 -10
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +578 -555
- package/v3/ddy-process-h5.umd.cjs +7 -7
- package/v3/style.css +1 -1
package/v2.7/ddy-process-h5.js
CHANGED
|
@@ -426,32 +426,32 @@ function bt(e, t, i, s, n, r) {
|
|
|
426
426
|
enumerable: !0,
|
|
427
427
|
configurable: !0,
|
|
428
428
|
get: function() {
|
|
429
|
-
var
|
|
429
|
+
var g = l ? l.call(e) : i;
|
|
430
430
|
return At.target && (process.env.NODE_ENV !== "production" ? a.depend({
|
|
431
431
|
target: e,
|
|
432
432
|
type: "get",
|
|
433
433
|
key: t
|
|
434
|
-
}) : a.depend(), h && (h.dep.depend(), re(
|
|
434
|
+
}) : a.depend(), h && (h.dep.depend(), re(g) && fu(g))), Ot(g) && !n ? g.value : g;
|
|
435
435
|
},
|
|
436
|
-
set: function(
|
|
436
|
+
set: function(g) {
|
|
437
437
|
var I = l ? l.call(e) : i;
|
|
438
|
-
if (!!gh(I,
|
|
438
|
+
if (!!gh(I, g)) {
|
|
439
439
|
if (process.env.NODE_ENV !== "production" && s && s(), p)
|
|
440
|
-
p.call(e,
|
|
440
|
+
p.call(e, g);
|
|
441
441
|
else {
|
|
442
442
|
if (l)
|
|
443
443
|
return;
|
|
444
|
-
if (!n && Ot(I) && !Ot(
|
|
445
|
-
I.value =
|
|
444
|
+
if (!n && Ot(I) && !Ot(g)) {
|
|
445
|
+
I.value = g;
|
|
446
446
|
return;
|
|
447
447
|
} else
|
|
448
|
-
i =
|
|
448
|
+
i = g;
|
|
449
449
|
}
|
|
450
|
-
h = !n && Vt(
|
|
450
|
+
h = !n && Vt(g, !1, r), process.env.NODE_ENV !== "production" ? a.notify({
|
|
451
451
|
type: "set",
|
|
452
452
|
target: e,
|
|
453
453
|
key: t,
|
|
454
|
-
newValue:
|
|
454
|
+
newValue: g,
|
|
455
455
|
oldValue: I
|
|
456
456
|
}) : a.notify();
|
|
457
457
|
}
|
|
@@ -714,8 +714,8 @@ function Rh(e, t, i, s, n) {
|
|
|
714
714
|
}
|
|
715
715
|
var h = Si(l), d = ji(l);
|
|
716
716
|
if (!(h in r) && !(d in r) && (r[l] = i[l], n)) {
|
|
717
|
-
var
|
|
718
|
-
|
|
717
|
+
var g = e.on || (e.on = {});
|
|
718
|
+
g["update:".concat(l)] = function(I) {
|
|
719
719
|
i[l] = I;
|
|
720
720
|
};
|
|
721
721
|
}
|
|
@@ -973,8 +973,8 @@ function Zh(e, t) {
|
|
|
973
973
|
return di(s, i);
|
|
974
974
|
});
|
|
975
975
|
var o = function(d) {
|
|
976
|
-
for (var
|
|
977
|
-
s[
|
|
976
|
+
for (var g = 0, I = s.length; g < I; g++)
|
|
977
|
+
s[g].$forceUpdate();
|
|
978
978
|
d && (s.length = 0, r !== null && (clearTimeout(r), r = null), a !== null && (clearTimeout(a), a = null));
|
|
979
979
|
}, l = Qn(function(d) {
|
|
980
980
|
e.resolved = wr(d, t), n ? s.length = 0 : o(!0);
|
|
@@ -1349,9 +1349,9 @@ function mf(e, t, i, s, n) {
|
|
|
1349
1349
|
var d = e.$options._parentListeners;
|
|
1350
1350
|
if (e._listenersProxy && Hn(e._listenersProxy, i, d || Ge, e, "$listeners"), e.$listeners = e.$options._parentListeners = i, Iu(e, i, d), t && e.$options.props) {
|
|
1351
1351
|
ti(!1);
|
|
1352
|
-
for (var
|
|
1352
|
+
for (var g = e._props, I = e.$options._propKeys || [], R = 0; R < I.length; R++) {
|
|
1353
1353
|
var Q = I[R], Z = e.$options.props;
|
|
1354
|
-
|
|
1354
|
+
g[Q] = Wa(Q, Z, t, e);
|
|
1355
1355
|
}
|
|
1356
1356
|
ti(!0), e.$options.propsData = t;
|
|
1357
1357
|
}
|
|
@@ -1505,11 +1505,11 @@ function Ga(e, t, i, s, n) {
|
|
|
1505
1505
|
get: function() {
|
|
1506
1506
|
return Os(s, e.scopedSlots, this.slots());
|
|
1507
1507
|
}
|
|
1508
|
-
}), l && (this.$options = a, this.$slots = this.slots(), this.$scopedSlots = Os(s, e.scopedSlots, this.$slots)), a._scopeId ? this._c = function(h, d,
|
|
1509
|
-
var R = Kn(o, h, d,
|
|
1508
|
+
}), l && (this.$options = a, this.$slots = this.slots(), this.$scopedSlots = Os(s, e.scopedSlots, this.$slots)), a._scopeId ? this._c = function(h, d, g, I) {
|
|
1509
|
+
var R = Kn(o, h, d, g, I, p);
|
|
1510
1510
|
return R && !re(R) && (R.fnScopeId = a._scopeId, R.fnContext = s), R;
|
|
1511
|
-
} : this._c = function(h, d,
|
|
1512
|
-
return Kn(o, h, d,
|
|
1511
|
+
} : this._c = function(h, d, g, I) {
|
|
1512
|
+
return Kn(o, h, d, g, I, p);
|
|
1513
1513
|
};
|
|
1514
1514
|
}
|
|
1515
1515
|
bu(Ga.prototype);
|
|
@@ -1524,9 +1524,9 @@ function If(e, t, i, s, n) {
|
|
|
1524
1524
|
if (h instanceof et)
|
|
1525
1525
|
return el(h, i, p.parent, r, p);
|
|
1526
1526
|
if (re(h)) {
|
|
1527
|
-
for (var d = Ra(h) || [],
|
|
1528
|
-
|
|
1529
|
-
return
|
|
1527
|
+
for (var d = Ra(h) || [], g = new Array(d.length), I = 0; I < d.length; I++)
|
|
1528
|
+
g[I] = el(d[I], i, p.parent, r, p);
|
|
1529
|
+
return g;
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
1532
|
function el(e, t, i, s, n) {
|
|
@@ -1872,8 +1872,8 @@ function Uf(e, t, i, 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(g) {
|
|
1876
|
+
return g;
|
|
1877
1877
|
});
|
|
1878
1878
|
if (!a && h) {
|
|
1879
1879
|
F(Jf(t, i, o), s);
|
|
@@ -2498,177 +2498,177 @@ function Xm(e) {
|
|
|
2498
2498
|
for (t = 0; t < Is.length; ++t)
|
|
2499
2499
|
for (s[Is[t]] = [], i = 0; i < n.length; ++i)
|
|
2500
2500
|
b(n[i][Is[t]]) && s[Is[t]].push(n[i][Is[t]]);
|
|
2501
|
-
function a(
|
|
2502
|
-
return new et(r.tagName(
|
|
2501
|
+
function a(y) {
|
|
2502
|
+
return new et(r.tagName(y).toLowerCase(), {}, [], void 0, y);
|
|
2503
2503
|
}
|
|
2504
|
-
function o(
|
|
2504
|
+
function o(y, v) {
|
|
2505
2505
|
function x() {
|
|
2506
|
-
--x.listeners === 0 && l(
|
|
2506
|
+
--x.listeners === 0 && l(y);
|
|
2507
2507
|
}
|
|
2508
2508
|
return x.listeners = v, x;
|
|
2509
2509
|
}
|
|
2510
|
-
function l(
|
|
2511
|
-
var v = r.parentNode(
|
|
2512
|
-
b(v) && r.removeChild(v,
|
|
2510
|
+
function l(y) {
|
|
2511
|
+
var v = r.parentNode(y);
|
|
2512
|
+
b(v) && r.removeChild(v, y);
|
|
2513
2513
|
}
|
|
2514
|
-
function p(
|
|
2515
|
-
return !v && !
|
|
2516
|
-
return eu(x) ? x.test(
|
|
2517
|
-
})) && ye.isUnknownElement(
|
|
2514
|
+
function p(y, v) {
|
|
2515
|
+
return !v && !y.ns && !(ye.ignoredElements.length && ye.ignoredElements.some(function(x) {
|
|
2516
|
+
return eu(x) ? x.test(y.tag) : x === y.tag;
|
|
2517
|
+
})) && ye.isUnknownElement(y.tag);
|
|
2518
2518
|
}
|
|
2519
2519
|
var h = 0;
|
|
2520
|
-
function d(
|
|
2521
|
-
if (b(
|
|
2522
|
-
var w =
|
|
2523
|
-
b(Y) ? (process.env.NODE_ENV !== "production" && (w && w.pre && h++, p(
|
|
2520
|
+
function d(y, v, x, M, H, ae, C) {
|
|
2521
|
+
if (b(y.elm) && b(ae) && (y = ae[C] = Hr(y)), y.isRootInsert = !H, !g(y, v, x, M)) {
|
|
2522
|
+
var w = y.data, O = y.children, Y = y.tag;
|
|
2523
|
+
b(Y) ? (process.env.NODE_ENV !== "production" && (w && w.pre && h++, p(y, h) && F("Unknown custom element: <" + Y + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.', y.context)), y.elm = y.ns ? r.createElementNS(y.ns, Y) : r.createElement(Y, y), k(y), Z(y, O, v), b(w) && U(y, v), Q(x, y.elm, M), process.env.NODE_ENV !== "production" && w && w.pre && h--) : Ee(y.isComment) ? (y.elm = r.createComment(y.text), Q(x, y.elm, M)) : (y.elm = r.createTextNode(y.text), Q(x, y.elm, M));
|
|
2524
2524
|
}
|
|
2525
2525
|
}
|
|
2526
|
-
function y
|
|
2527
|
-
var H =
|
|
2526
|
+
function g(y, v, x, M) {
|
|
2527
|
+
var H = y.data;
|
|
2528
2528
|
if (b(H)) {
|
|
2529
|
-
var ae = b(
|
|
2530
|
-
if (b(H = H.hook) && b(H = H.init) && H(
|
|
2531
|
-
return I(
|
|
2529
|
+
var ae = b(y.componentInstance) && H.keepAlive;
|
|
2530
|
+
if (b(H = H.hook) && b(H = H.init) && H(y, !1), b(y.componentInstance))
|
|
2531
|
+
return I(y, v), Q(x, y.elm, M), Ee(ae) && R(y, v, x, M), !0;
|
|
2532
2532
|
}
|
|
2533
2533
|
}
|
|
2534
|
-
function I(
|
|
2535
|
-
b(
|
|
2534
|
+
function I(y, v) {
|
|
2535
|
+
b(y.data.pendingInsert) && (v.push.apply(v, y.data.pendingInsert), y.data.pendingInsert = null), y.elm = y.componentInstance.$el, z(y) ? (U(y, v), k(y)) : (Zi(y), v.push(y));
|
|
2536
2536
|
}
|
|
2537
|
-
function R(
|
|
2538
|
-
for (var H, ae =
|
|
2537
|
+
function R(y, v, x, M) {
|
|
2538
|
+
for (var H, ae = y; ae.componentInstance; )
|
|
2539
2539
|
if (ae = ae.componentInstance._vnode, b(H = ae.data) && b(H = H.transition)) {
|
|
2540
2540
|
for (H = 0; H < s.activate.length; ++H)
|
|
2541
2541
|
s.activate[H](Yt, ae);
|
|
2542
2542
|
v.push(ae);
|
|
2543
2543
|
break;
|
|
2544
2544
|
}
|
|
2545
|
-
Q(x,
|
|
2545
|
+
Q(x, y.elm, M);
|
|
2546
2546
|
}
|
|
2547
|
-
function Q(
|
|
2548
|
-
b(
|
|
2547
|
+
function Q(y, v, x) {
|
|
2548
|
+
b(y) && (b(x) ? r.parentNode(x) === y && r.insertBefore(y, v, x) : r.appendChild(y, v));
|
|
2549
2549
|
}
|
|
2550
|
-
function Z(
|
|
2550
|
+
function Z(y, v, x) {
|
|
2551
2551
|
if (re(v)) {
|
|
2552
2552
|
process.env.NODE_ENV !== "production" && V(v);
|
|
2553
2553
|
for (var M = 0; M < v.length; ++M)
|
|
2554
|
-
d(v[M], x,
|
|
2554
|
+
d(v[M], x, y.elm, null, !0, v, M);
|
|
2555
2555
|
} else
|
|
2556
|
-
Ut(
|
|
2556
|
+
Ut(y.text) && r.appendChild(y.elm, r.createTextNode(String(y.text)));
|
|
2557
2557
|
}
|
|
2558
|
-
function z(
|
|
2559
|
-
for (;
|
|
2560
|
-
|
|
2561
|
-
return b(
|
|
2558
|
+
function z(y) {
|
|
2559
|
+
for (; y.componentInstance; )
|
|
2560
|
+
y = y.componentInstance._vnode;
|
|
2561
|
+
return b(y.tag);
|
|
2562
2562
|
}
|
|
2563
|
-
function U(
|
|
2563
|
+
function U(y, v) {
|
|
2564
2564
|
for (var x = 0; x < s.create.length; ++x)
|
|
2565
|
-
s.create[x](Yt,
|
|
2566
|
-
t =
|
|
2565
|
+
s.create[x](Yt, y);
|
|
2566
|
+
t = y.data.hook, b(t) && (b(t.create) && t.create(Yt, y), b(t.insert) && v.push(y));
|
|
2567
2567
|
}
|
|
2568
|
-
function k(
|
|
2568
|
+
function k(y) {
|
|
2569
2569
|
var v;
|
|
2570
|
-
if (b(v =
|
|
2571
|
-
r.setStyleScope(
|
|
2570
|
+
if (b(v = y.fnScopeId))
|
|
2571
|
+
r.setStyleScope(y.elm, v);
|
|
2572
2572
|
else
|
|
2573
|
-
for (var x =
|
|
2574
|
-
b(v = x.context) && b(v = v.$options._scopeId) && r.setStyleScope(
|
|
2575
|
-
b(v = Ei) && v !==
|
|
2573
|
+
for (var x = y; x; )
|
|
2574
|
+
b(v = x.context) && b(v = v.$options._scopeId) && r.setStyleScope(y.elm, v), x = x.parent;
|
|
2575
|
+
b(v = Ei) && v !== y.context && v !== y.fnContext && b(v = v.$options._scopeId) && r.setStyleScope(y.elm, v);
|
|
2576
2576
|
}
|
|
2577
|
-
function E(
|
|
2577
|
+
function E(y, v, x, M, H, ae) {
|
|
2578
2578
|
for (; M <= H; ++M)
|
|
2579
|
-
d(x[M], ae,
|
|
2579
|
+
d(x[M], ae, y, v, !1, x, M);
|
|
2580
2580
|
}
|
|
2581
|
-
function P(
|
|
2582
|
-
var v, x, M =
|
|
2581
|
+
function P(y) {
|
|
2582
|
+
var v, x, M = y.data;
|
|
2583
2583
|
if (b(M))
|
|
2584
|
-
for (b(v = M.hook) && b(v = v.destroy) && v(
|
|
2585
|
-
s.destroy[v](
|
|
2586
|
-
if (b(v =
|
|
2587
|
-
for (x = 0; x <
|
|
2588
|
-
P(
|
|
2584
|
+
for (b(v = M.hook) && b(v = v.destroy) && v(y), v = 0; v < s.destroy.length; ++v)
|
|
2585
|
+
s.destroy[v](y);
|
|
2586
|
+
if (b(v = y.children))
|
|
2587
|
+
for (x = 0; x < y.children.length; ++x)
|
|
2588
|
+
P(y.children[x]);
|
|
2589
2589
|
}
|
|
2590
|
-
function S(
|
|
2590
|
+
function S(y, v, x) {
|
|
2591
2591
|
for (; v <= x; ++v) {
|
|
2592
|
-
var M =
|
|
2592
|
+
var M = y[v];
|
|
2593
2593
|
b(M) && (b(M.tag) ? (_(M), P(M)) : l(M.elm));
|
|
2594
2594
|
}
|
|
2595
2595
|
}
|
|
2596
|
-
function _(
|
|
2597
|
-
if (b(v) || b(
|
|
2596
|
+
function _(y, v) {
|
|
2597
|
+
if (b(v) || b(y.data)) {
|
|
2598
2598
|
var x, M = s.remove.length + 1;
|
|
2599
|
-
for (b(v) ? v.listeners += M : v = o(
|
|
2600
|
-
s.remove[x](
|
|
2601
|
-
b(x =
|
|
2599
|
+
for (b(v) ? v.listeners += M : v = o(y.elm, M), b(x = y.componentInstance) && b(x = x._vnode) && b(x.data) && _(x, v), x = 0; x < s.remove.length; ++x)
|
|
2600
|
+
s.remove[x](y, v);
|
|
2601
|
+
b(x = y.data.hook) && b(x = x.remove) ? x(y, v) : v();
|
|
2602
2602
|
} else
|
|
2603
|
-
l(
|
|
2603
|
+
l(y.elm);
|
|
2604
2604
|
}
|
|
2605
|
-
function N(
|
|
2605
|
+
function N(y, v, x, M, H) {
|
|
2606
2606
|
var ae = 0, C = 0, w = v.length - 1, O = v[0], Y = v[w], ee = x.length - 1, ne = x[0], f = x[ee], c, u, m, A, T = !H;
|
|
2607
2607
|
for (process.env.NODE_ENV !== "production" && V(x); ae <= w && C <= ee; )
|
|
2608
|
-
ie(O) ? O = v[++ae] : ie(Y) ? Y = v[--w] : gi(O, ne) ? (L(O, ne, M, x, C), O = v[++ae], ne = x[++C]) : gi(Y, f) ? (L(Y, f, M, x, ee), Y = v[--w], f = x[--ee]) : gi(O, f) ? (L(O, f, M, x, ee), T && r.insertBefore(
|
|
2609
|
-
ae > w ? (A = ie(x[ee + 1]) ? null : x[ee + 1].elm, E(
|
|
2608
|
+
ie(O) ? O = v[++ae] : ie(Y) ? Y = v[--w] : gi(O, ne) ? (L(O, ne, M, x, C), O = v[++ae], ne = x[++C]) : gi(Y, f) ? (L(Y, f, M, x, ee), Y = v[--w], f = x[--ee]) : gi(O, f) ? (L(O, f, M, x, ee), T && r.insertBefore(y, O.elm, r.nextSibling(Y.elm)), O = v[++ae], f = x[--ee]) : gi(Y, ne) ? (L(Y, ne, M, x, C), T && r.insertBefore(y, Y.elm, O.elm), Y = v[--w], ne = x[++C]) : (ie(c) && (c = Ym(v, ae, w)), u = b(ne.key) ? c[ne.key] : D(ne, v, ae, w), ie(u) ? d(ne, M, y, O.elm, !1, x, C) : (m = v[u], gi(m, ne) ? (L(m, ne, M, x, C), v[u] = void 0, T && r.insertBefore(y, m.elm, O.elm)) : d(ne, M, y, O.elm, !1, x, C)), ne = x[++C]);
|
|
2609
|
+
ae > w ? (A = ie(x[ee + 1]) ? null : x[ee + 1].elm, E(y, A, x, C, ee, M)) : C > ee && S(v, ae, w);
|
|
2610
2610
|
}
|
|
2611
|
-
function V(
|
|
2612
|
-
for (var v = {}, x = 0; x <
|
|
2613
|
-
var M =
|
|
2611
|
+
function V(y) {
|
|
2612
|
+
for (var v = {}, x = 0; x < y.length; x++) {
|
|
2613
|
+
var M = y[x], H = M.key;
|
|
2614
2614
|
b(H) && (v[H] ? F("Duplicate keys detected: '".concat(H, "'. This may cause an update error."), M.context) : v[H] = !0);
|
|
2615
2615
|
}
|
|
2616
2616
|
}
|
|
2617
|
-
function D(
|
|
2617
|
+
function D(y, v, x, M) {
|
|
2618
2618
|
for (var H = x; H < M; H++) {
|
|
2619
2619
|
var ae = v[H];
|
|
2620
|
-
if (b(ae) && gi(
|
|
2620
|
+
if (b(ae) && gi(y, ae))
|
|
2621
2621
|
return H;
|
|
2622
2622
|
}
|
|
2623
2623
|
}
|
|
2624
|
-
function L(
|
|
2625
|
-
if (
|
|
2624
|
+
function L(y, v, x, M, H, ae) {
|
|
2625
|
+
if (y !== v) {
|
|
2626
2626
|
b(v.elm) && b(M) && (v = M[H] = Hr(v));
|
|
2627
|
-
var C = v.elm =
|
|
2628
|
-
if (Ee(
|
|
2629
|
-
b(v.asyncFactory.resolved) ? _e(
|
|
2627
|
+
var C = v.elm = y.elm;
|
|
2628
|
+
if (Ee(y.isAsyncPlaceholder)) {
|
|
2629
|
+
b(v.asyncFactory.resolved) ? _e(y.elm, v, x) : v.isAsyncPlaceholder = !0;
|
|
2630
2630
|
return;
|
|
2631
2631
|
}
|
|
2632
|
-
if (Ee(v.isStatic) && Ee(
|
|
2633
|
-
v.componentInstance =
|
|
2632
|
+
if (Ee(v.isStatic) && Ee(y.isStatic) && v.key === y.key && (Ee(v.isCloned) || Ee(v.isOnce))) {
|
|
2633
|
+
v.componentInstance = y.componentInstance;
|
|
2634
2634
|
return;
|
|
2635
2635
|
}
|
|
2636
2636
|
var w, O = v.data;
|
|
2637
|
-
b(O) && b(w = O.hook) && b(w = w.prepatch) && w(
|
|
2638
|
-
var Y =
|
|
2637
|
+
b(O) && b(w = O.hook) && b(w = w.prepatch) && w(y, v);
|
|
2638
|
+
var Y = y.children, ee = v.children;
|
|
2639
2639
|
if (b(O) && z(v)) {
|
|
2640
2640
|
for (w = 0; w < s.update.length; ++w)
|
|
2641
|
-
s.update[w](
|
|
2642
|
-
b(w = O.hook) && b(w = w.update) && w(
|
|
2641
|
+
s.update[w](y, v);
|
|
2642
|
+
b(w = O.hook) && b(w = w.update) && w(y, v);
|
|
2643
2643
|
}
|
|
2644
|
-
ie(v.text) ? b(Y) && b(ee) ? Y !== ee && N(C, Y, ee, x, ae) : b(ee) ? (process.env.NODE_ENV !== "production" && V(ee), b(
|
|
2644
|
+
ie(v.text) ? b(Y) && b(ee) ? Y !== ee && N(C, Y, ee, x, ae) : b(ee) ? (process.env.NODE_ENV !== "production" && V(ee), b(y.text) && r.setTextContent(C, ""), E(C, null, ee, 0, ee.length - 1, x)) : b(Y) ? S(Y, 0, Y.length - 1) : b(y.text) && r.setTextContent(C, "") : y.text !== v.text && r.setTextContent(C, v.text), b(O) && b(w = O.hook) && b(w = w.postpatch) && w(y, v);
|
|
2645
2645
|
}
|
|
2646
2646
|
}
|
|
2647
|
-
function B(
|
|
2648
|
-
if (Ee(x) && b(
|
|
2649
|
-
|
|
2647
|
+
function B(y, v, x) {
|
|
2648
|
+
if (Ee(x) && b(y.parent))
|
|
2649
|
+
y.parent.data.pendingInsert = v;
|
|
2650
2650
|
else
|
|
2651
2651
|
for (var M = 0; M < v.length; ++M)
|
|
2652
2652
|
v[M].data.hook.insert(v[M]);
|
|
2653
2653
|
}
|
|
2654
2654
|
var q = !1, $ = ot("attrs,class,staticClass,staticStyle,key");
|
|
2655
|
-
function _e(
|
|
2655
|
+
function _e(y, v, x, M) {
|
|
2656
2656
|
var H, ae = v.tag, C = v.data, w = v.children;
|
|
2657
|
-
if (M = M || C && C.pre, v.elm =
|
|
2657
|
+
if (M = M || C && C.pre, v.elm = y, Ee(v.isComment) && b(v.asyncFactory))
|
|
2658
2658
|
return v.isAsyncPlaceholder = !0, !0;
|
|
2659
|
-
if (process.env.NODE_ENV !== "production" && !oe(
|
|
2659
|
+
if (process.env.NODE_ENV !== "production" && !oe(y, v, M))
|
|
2660
2660
|
return !1;
|
|
2661
2661
|
if (b(C) && (b(H = C.hook) && b(H = H.init) && H(v, !0), b(H = v.componentInstance)))
|
|
2662
2662
|
return I(v, x), !0;
|
|
2663
2663
|
if (b(ae)) {
|
|
2664
2664
|
if (b(w))
|
|
2665
|
-
if (!
|
|
2665
|
+
if (!y.hasChildNodes())
|
|
2666
2666
|
Z(v, w, x);
|
|
2667
2667
|
else if (b(H = C) && b(H = H.domProps) && b(H = H.innerHTML)) {
|
|
2668
|
-
if (H !==
|
|
2669
|
-
return process.env.NODE_ENV !== "production" && typeof console < "u" && !q && (q = !0,
|
|
2668
|
+
if (H !== y.innerHTML)
|
|
2669
|
+
return process.env.NODE_ENV !== "production" && typeof console < "u" && !q && (q = !0, y.innerHTML), !1;
|
|
2670
2670
|
} else {
|
|
2671
|
-
for (var O = !0, Y =
|
|
2671
|
+
for (var O = !0, Y = y.firstChild, ee = 0; ee < w.length; ee++) {
|
|
2672
2672
|
if (!Y || !_e(Y, w[ee], x, M)) {
|
|
2673
2673
|
O = !1;
|
|
2674
2674
|
break;
|
|
@@ -2676,7 +2676,7 @@ function Xm(e) {
|
|
|
2676
2676
|
Y = Y.nextSibling;
|
|
2677
2677
|
}
|
|
2678
2678
|
if (!O || Y)
|
|
2679
|
-
return process.env.NODE_ENV !== "production" && typeof console < "u" && !q && (q = !0,
|
|
2679
|
+
return process.env.NODE_ENV !== "production" && typeof console < "u" && !q && (q = !0, y.childNodes), !1;
|
|
2680
2680
|
}
|
|
2681
2681
|
if (b(C)) {
|
|
2682
2682
|
var ne = !1;
|
|
@@ -2688,11 +2688,11 @@ function Xm(e) {
|
|
|
2688
2688
|
!ne && C.class && Wn(C.class);
|
|
2689
2689
|
}
|
|
2690
2690
|
} else
|
|
2691
|
-
|
|
2691
|
+
y.data !== v.text && (y.data = v.text);
|
|
2692
2692
|
return !0;
|
|
2693
2693
|
}
|
|
2694
|
-
function oe(
|
|
2695
|
-
return b(v.tag) ? v.tag.indexOf("vue-component") === 0 || !p(v, x) && v.tag.toLowerCase() === (
|
|
2694
|
+
function oe(y, v, x) {
|
|
2695
|
+
return b(v.tag) ? v.tag.indexOf("vue-component") === 0 || !p(v, x) && v.tag.toLowerCase() === (y.tagName && y.tagName.toLowerCase()) : y.nodeType === (v.isComment ? 8 : 3);
|
|
2696
2696
|
}
|
|
2697
2697
|
return function(v, x, M, H) {
|
|
2698
2698
|
if (ie(x)) {
|
|
@@ -2758,14 +2758,14 @@ function $m(e, t) {
|
|
|
2758
2758
|
p = n[l], h = r[l], p ? (h.oldValue = p.value, h.oldArg = p.arg, Ts(h, "update", t, e), h.def && h.def.componentUpdated && o.push(h)) : (Ts(h, "bind", t, e), h.def && h.def.inserted && a.push(h));
|
|
2759
2759
|
if (a.length) {
|
|
2760
2760
|
var d = function() {
|
|
2761
|
-
for (var
|
|
2762
|
-
Ts(a[
|
|
2761
|
+
for (var g = 0; g < a.length; g++)
|
|
2762
|
+
Ts(a[g], "inserted", t, e);
|
|
2763
2763
|
};
|
|
2764
2764
|
i ? zt(t, "insert", d) : d();
|
|
2765
2765
|
}
|
|
2766
2766
|
if (o.length && zt(t, "postpatch", function() {
|
|
2767
|
-
for (var
|
|
2768
|
-
Ts(o[
|
|
2767
|
+
for (var g = 0; g < o.length; g++)
|
|
2768
|
+
Ts(o[g], "componentUpdated", t, e);
|
|
2769
2769
|
}), !i)
|
|
2770
2770
|
for (l in n)
|
|
2771
2771
|
r[l] || Ts(n[l], "unbind", e, e, s);
|
|
@@ -3083,12 +3083,12 @@ var Ag = /\b(transform|all)(,|$)/;
|
|
|
3083
3083
|
function Ku(e, t) {
|
|
3084
3084
|
var i = window.getComputedStyle(e), s = (i[Bn + "Delay"] || "").split(", "), n = (i[Bn + "Duration"] || "").split(", "), r = Pl(s, n), a = (i[ra + "Delay"] || "").split(", "), o = (i[ra + "Duration"] || "").split(", "), l = Pl(a, o), p, h = 0, d = 0;
|
|
3085
3085
|
t === zi ? r > 0 && (p = zi, h = r, d = n.length) : t === Pr ? l > 0 && (p = Pr, h = l, d = o.length) : (h = Math.max(r, l), p = h > 0 ? r > l ? zi : Pr : null, d = p ? p === zi ? n.length : o.length : 0);
|
|
3086
|
-
var
|
|
3086
|
+
var g = p === zi && Ag.test(i[Bn + "Property"]);
|
|
3087
3087
|
return {
|
|
3088
3088
|
type: p,
|
|
3089
3089
|
timeout: h,
|
|
3090
3090
|
propCount: d,
|
|
3091
|
-
hasTransform:
|
|
3091
|
+
hasTransform: g
|
|
3092
3092
|
};
|
|
3093
3093
|
}
|
|
3094
3094
|
function Pl(e, t) {
|
|
@@ -3106,21 +3106,21 @@ function aa(e, t) {
|
|
|
3106
3106
|
b(i._leaveCb) && (i._leaveCb.cancelled = !0, i._leaveCb());
|
|
3107
3107
|
var s = Qu(e.data.transition);
|
|
3108
3108
|
if (!ie(s) && !(b(i._enterCb) || i.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, d = s.appearActiveClass,
|
|
3109
|
+
for (var n = s.css, r = s.type, a = s.enterClass, o = s.enterToClass, l = s.enterActiveClass, p = s.appearClass, h = s.appearToClass, d = s.appearActiveClass, g = s.beforeEnter, I = s.enter, R = s.afterEnter, Q = s.enterCancelled, Z = s.beforeAppear, z = s.appear, U = s.afterAppear, k = s.appearCancelled, E = s.duration, P = Ei, S = Ei.$vnode; S && S.parent; )
|
|
3110
3110
|
P = S.context, S = S.parent;
|
|
3111
3111
|
var _ = !P._isMounted || !e.isRootInsert;
|
|
3112
3112
|
if (!(_ && !z && z !== "")) {
|
|
3113
|
-
var N = _ && p ? p : a, V = _ && d ? d : l, D = _ && h ? h : o, L = _ && Z ||
|
|
3113
|
+
var N = _ && p ? p : a, V = _ && d ? d : l, D = _ && h ? h : o, L = _ && Z || g, B = _ && be(z) ? z : I, q = _ && U || R, $ = _ && k || Q, _e = Fs(Be(E) ? E.enter : E);
|
|
3114
3114
|
process.env.NODE_ENV !== "production" && _e != null && zu(_e, "enter", e);
|
|
3115
|
-
var oe = n !== !1 && !ms,
|
|
3115
|
+
var oe = n !== !1 && !ms, y = to(B), v = i._enterCb = Qn(function() {
|
|
3116
3116
|
oe && (Lt(i, D), Lt(i, V)), v.cancelled ? (oe && Lt(i, N), $ && $(i)) : q && q(i), i._enterCb = null;
|
|
3117
3117
|
});
|
|
3118
3118
|
e.data.show || zt(e, "insert", function() {
|
|
3119
3119
|
var x = i.parentNode, M = x && x._pending && x._pending[e.key];
|
|
3120
3120
|
M && M.tag === e.tag && M.elm._leaveCb && M.elm._leaveCb(), B && B(i, v);
|
|
3121
3121
|
}), L && L(i), oe && (xi(i, N), xi(i, V), Ju(function() {
|
|
3122
|
-
Lt(i, N), v.cancelled || (xi(i, D),
|
|
3123
|
-
})), e.data.show && (t && t(), B && B(i, v)), !oe && !
|
|
3122
|
+
Lt(i, N), v.cancelled || (xi(i, D), y || (Yu(_e) ? setTimeout(v, _e) : Hu(i, r, v)));
|
|
3123
|
+
})), e.data.show && (t && t(), B && B(i, v)), !oe && !y && v();
|
|
3124
3124
|
}
|
|
3125
3125
|
}
|
|
3126
3126
|
}
|
|
@@ -3132,10 +3132,10 @@ function Wu(e, t) {
|
|
|
3132
3132
|
return t();
|
|
3133
3133
|
if (b(i._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, d = s.afterLeave,
|
|
3135
|
+
var n = s.css, r = s.type, a = s.leaveClass, o = s.leaveToClass, l = s.leaveActiveClass, p = s.beforeLeave, h = s.leave, d = s.afterLeave, g = s.leaveCancelled, I = s.delayLeave, R = s.duration, Q = n !== !1 && !ms, Z = to(h), z = Fs(Be(R) ? R.leave : R);
|
|
3136
3136
|
process.env.NODE_ENV !== "production" && b(z) && zu(z, "leave", e);
|
|
3137
3137
|
var U = i._leaveCb = Qn(function() {
|
|
3138
|
-
i.parentNode && i.parentNode._pending && (i.parentNode._pending[e.key] = null), Q && (Lt(i, o), Lt(i, l)), U.cancelled ? (Q && Lt(i, a),
|
|
3138
|
+
i.parentNode && i.parentNode._pending && (i.parentNode._pending[e.key] = null), Q && (Lt(i, o), Lt(i, l)), U.cancelled ? (Q && Lt(i, a), g && g(i)) : (t(), d && d(i)), i._leaveCb = null;
|
|
3139
3139
|
});
|
|
3140
3140
|
I ? I(k) : k();
|
|
3141
3141
|
function k() {
|
|
@@ -3337,10 +3337,10 @@ var _g = function(e) {
|
|
|
3337
3337
|
if (s === "in-out") {
|
|
3338
3338
|
if (js(r))
|
|
3339
3339
|
return l;
|
|
3340
|
-
var d,
|
|
3340
|
+
var d, g = function() {
|
|
3341
3341
|
d();
|
|
3342
3342
|
};
|
|
3343
|
-
zt(o, "afterEnter",
|
|
3343
|
+
zt(o, "afterEnter", g), zt(o, "enterCancelled", g), zt(h, "delayLeave", function(I) {
|
|
3344
3344
|
d = I;
|
|
3345
3345
|
});
|
|
3346
3346
|
}
|
|
@@ -3380,11 +3380,11 @@ var Dg = {
|
|
|
3380
3380
|
}
|
|
3381
3381
|
}
|
|
3382
3382
|
if (s) {
|
|
3383
|
-
for (var d = [],
|
|
3383
|
+
for (var d = [], g = [], o = 0; o < s.length; o++) {
|
|
3384
3384
|
var l = s[o];
|
|
3385
|
-
l.data.transition = a, l.data.pos = l.elm.getBoundingClientRect(), i[l.key] ? d.push(l) :
|
|
3385
|
+
l.data.transition = a, l.data.pos = l.elm.getBoundingClientRect(), i[l.key] ? d.push(l) : g.push(l);
|
|
3386
3386
|
}
|
|
3387
|
-
this.kept = e(t, null, d), this.removed =
|
|
3387
|
+
this.kept = e(t, null, d), this.removed = g;
|
|
3388
3388
|
}
|
|
3389
3389
|
return e(t, null, r);
|
|
3390
3390
|
},
|
|
@@ -3597,8 +3597,8 @@ function Ae(e, t, i, s, n, r, a, o) {
|
|
|
3597
3597
|
var l = typeof e == "function" ? e.options : e;
|
|
3598
3598
|
t && (l.render = t, l.staticRenderFns = i, l._compiled = !0), s && (l.functional = !0), r && (l._scopeId = "data-v-" + r);
|
|
3599
3599
|
var p;
|
|
3600
|
-
if (a ? (p = function(
|
|
3601
|
-
|
|
3600
|
+
if (a ? (p = function(g) {
|
|
3601
|
+
g = g || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !g && typeof __VUE_SSR_CONTEXT__ < "u" && (g = __VUE_SSR_CONTEXT__), n && n.call(this, g), g && g._registeredComponents && g._registeredComponents.add(a);
|
|
3602
3602
|
}, l._ssrRegister = p) : n && (p = o ? function() {
|
|
3603
3603
|
n.call(
|
|
3604
3604
|
this,
|
|
@@ -4252,7 +4252,7 @@ function ly(e) {
|
|
|
4252
4252
|
function cy(e, t) {
|
|
4253
4253
|
let i, s, n, r;
|
|
4254
4254
|
function a(d) {
|
|
4255
|
-
let
|
|
4255
|
+
let g = Date.now(), I = d ? 0 : r + t - g;
|
|
4256
4256
|
if (I > 0)
|
|
4257
4257
|
return o(I);
|
|
4258
4258
|
e.apply(n, s), l();
|
|
@@ -4712,8 +4712,8 @@ function jy(e, t) {
|
|
|
4712
4712
|
s.push(Mr(a));
|
|
4713
4713
|
continue;
|
|
4714
4714
|
}
|
|
4715
|
-
const p = gn(a, r, l), h = gn(a, r, l * 0.5), d = gn(a, o, l),
|
|
4716
|
-
s.push(Mr(p)), s.push(Vy(h,
|
|
4715
|
+
const p = gn(a, r, l), h = gn(a, r, l * 0.5), d = gn(a, o, l), g = gn(a, o, l * 0.5);
|
|
4716
|
+
s.push(Mr(p)), s.push(Vy(h, g, d));
|
|
4717
4717
|
}
|
|
4718
4718
|
return s;
|
|
4719
4719
|
}
|
|
@@ -5069,7 +5069,7 @@ var hv = new jt(), fv = 10, vn = 3, mv = 1.5, Rn = 10, Hi = 0.95, gv = 1, yv = 0
|
|
|
5069
5069
|
function Qi(e, t, i, s, n, r, a) {
|
|
5070
5070
|
Qt.call(this, t, a);
|
|
5071
5071
|
var o = e && e.defaultFillColor, l = e && e.defaultStrokeColor, p = e && e.defaultLabelColor, h = hv.next(), d = {};
|
|
5072
|
-
function
|
|
5072
|
+
function g(f) {
|
|
5073
5073
|
return i.computeStyle(f, {
|
|
5074
5074
|
strokeLinecap: "round",
|
|
5075
5075
|
strokeLinejoin: "round",
|
|
@@ -5115,7 +5115,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5115
5115
|
if (c === "sequenceflow-end") {
|
|
5116
5116
|
var A = ge("path", {
|
|
5117
5117
|
d: "M 1 5 L 11 10 L 1 15 Z",
|
|
5118
|
-
...
|
|
5118
|
+
...g({
|
|
5119
5119
|
fill: m,
|
|
5120
5120
|
stroke: m,
|
|
5121
5121
|
strokeWidth: 1
|
|
@@ -5132,7 +5132,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5132
5132
|
cx: 6,
|
|
5133
5133
|
cy: 6,
|
|
5134
5134
|
r: 3.5,
|
|
5135
|
-
...
|
|
5135
|
+
...g({
|
|
5136
5136
|
fill: u,
|
|
5137
5137
|
stroke: m,
|
|
5138
5138
|
strokeWidth: 1,
|
|
@@ -5147,7 +5147,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5147
5147
|
if (c === "messageflow-end") {
|
|
5148
5148
|
var J = ge("path", {
|
|
5149
5149
|
d: "m 1 5 l 0 -3 l 7 3 l -7 3 z",
|
|
5150
|
-
...
|
|
5150
|
+
...g({
|
|
5151
5151
|
fill: u,
|
|
5152
5152
|
stroke: m,
|
|
5153
5153
|
strokeWidth: 1,
|
|
@@ -5194,7 +5194,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5194
5194
|
if (c === "conditional-flow-marker") {
|
|
5195
5195
|
var pe = ge("path", {
|
|
5196
5196
|
d: "M 0 10 L 8 6 L 16 10 L 8 14 Z",
|
|
5197
|
-
...
|
|
5197
|
+
...g({
|
|
5198
5198
|
fill: u,
|
|
5199
5199
|
stroke: m
|
|
5200
5200
|
})
|
|
@@ -5208,7 +5208,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5208
5208
|
if (c === "conditional-default-flow-marker") {
|
|
5209
5209
|
var Se = ge("path", {
|
|
5210
5210
|
d: "M 6 4 L 10 16",
|
|
5211
|
-
...
|
|
5211
|
+
...g({
|
|
5212
5212
|
stroke: m
|
|
5213
5213
|
})
|
|
5214
5214
|
});
|
|
@@ -5220,7 +5220,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5220
5220
|
}
|
|
5221
5221
|
}
|
|
5222
5222
|
function U(f, c, u, m, A = {}) {
|
|
5223
|
-
Oi(m) && (A = m, m = 0), m = m || 0, A =
|
|
5223
|
+
Oi(m) && (A = m, m = 0), m = m || 0, A = g(A);
|
|
5224
5224
|
var T = c / 2, J = u / 2, ue = ge("circle", {
|
|
5225
5225
|
cx: T,
|
|
5226
5226
|
cy: J,
|
|
@@ -5230,7 +5230,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5230
5230
|
return Ie(f, ue), ue;
|
|
5231
5231
|
}
|
|
5232
5232
|
function k(f, c, u, m, A, T) {
|
|
5233
|
-
Oi(A) && (T = A, A = 0), A = A || 0, T =
|
|
5233
|
+
Oi(A) && (T = A, A = 0), A = A || 0, T = g(T);
|
|
5234
5234
|
var J = ge("rect", {
|
|
5235
5235
|
x: A,
|
|
5236
5236
|
y: A,
|
|
@@ -5251,7 +5251,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5251
5251
|
], ue = J.map(function(pe) {
|
|
5252
5252
|
return pe.x + "," + pe.y;
|
|
5253
5253
|
}).join(" ");
|
|
5254
|
-
m =
|
|
5254
|
+
m = g(m);
|
|
5255
5255
|
var ce = ge("polygon", {
|
|
5256
5256
|
...m,
|
|
5257
5257
|
points: ue
|
|
@@ -5671,7 +5671,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5671
5671
|
var m = r.createText(c || "", u);
|
|
5672
5672
|
return at(m).add("djs-label"), Ie(f, m), m;
|
|
5673
5673
|
}
|
|
5674
|
-
function
|
|
5674
|
+
function y(f, c, u, m = {}) {
|
|
5675
5675
|
var A = xe(c), T = ks({
|
|
5676
5676
|
x: c.x,
|
|
5677
5677
|
y: c.y,
|
|
@@ -5814,11 +5814,11 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5814
5814
|
strokeWidth: 2.5
|
|
5815
5815
|
});
|
|
5816
5816
|
var A = vi(c);
|
|
5817
|
-
return
|
|
5817
|
+
return y(f, c, A ? "center-top" : "center-middle", u), A ? _e(f, c, void 0, u) : _e(f, c, ["SubProcessMarker"], u), m;
|
|
5818
5818
|
}
|
|
5819
5819
|
function ee(f, c, u = {}) {
|
|
5820
5820
|
var m = M(f, c, u);
|
|
5821
|
-
return
|
|
5821
|
+
return y(f, c, "center-middle", u), _e(f, c, void 0, u), m;
|
|
5822
5822
|
}
|
|
5823
5823
|
var ne = this.handlers = {
|
|
5824
5824
|
"bpmn:AdHocSubProcess": function(f, c, u = {}) {
|
|
@@ -6640,8 +6640,8 @@ fr.prototype.getDimensions = function(e, t) {
|
|
|
6640
6640
|
fr.prototype.layoutText = function(e, t) {
|
|
6641
6641
|
var i = X({}, this._config.size, t.box), s = X({}, this._config.style, t.style), n = bv(t.align || this._config.align), r = Cv(t.padding !== void 0 ? t.padding : this._config.padding), a = t.fitBox || !1, o = kv(s), l = e.split(/\u00AD?\r?\n/), p = [], h = i.width - r.left - r.right, d = ge("text");
|
|
6642
6642
|
fe(d, { x: 0, y: 0 }), fe(d, s);
|
|
6643
|
-
var
|
|
6644
|
-
for (Ie(
|
|
6643
|
+
var g = Nv();
|
|
6644
|
+
for (Ie(g, d); l.length; )
|
|
6645
6645
|
p.push(Ev(l, h, d));
|
|
6646
6646
|
n.vertical === "middle" && (r.top = r.bottom = 0);
|
|
6647
6647
|
var I = cs(p, function(U, k, E) {
|
|
@@ -7043,11 +7043,11 @@ function Uv(e) {
|
|
|
7043
7043
|
}
|
|
7044
7044
|
function Qv(e) {
|
|
7045
7045
|
for (var t = e.waypoints, i = t.reduce(function(p, h, d) {
|
|
7046
|
-
var
|
|
7047
|
-
if (
|
|
7048
|
-
var I = p[p.length - 1], R = I && I.endLength || 0, Q = Gv(
|
|
7046
|
+
var g = t[d - 1];
|
|
7047
|
+
if (g) {
|
|
7048
|
+
var I = p[p.length - 1], R = I && I.endLength || 0, Q = Gv(g, h);
|
|
7049
7049
|
p.push({
|
|
7050
|
-
start:
|
|
7050
|
+
start: g,
|
|
7051
7051
|
end: h,
|
|
7052
7052
|
startLength: R,
|
|
7053
7053
|
endLength: R + Q,
|
|
@@ -7125,12 +7125,12 @@ Gt.prototype.add = function(e, t, i) {
|
|
|
7125
7125
|
isFrame: p
|
|
7126
7126
|
})), K(e, "bpmn:BoundaryEvent") && this._attachBoundary(e, s), K(e, "bpmn:Lane") && (a = 0), K(e, "bpmn:DataStoreReference") && (Jv(i, ga(h)) || (i = this._canvas.findRoot(i))), this._canvas.addShape(s, i, a);
|
|
7127
7127
|
} else if (K(t, "bpmndi:BPMNEdge")) {
|
|
7128
|
-
var d = this._getSource(e),
|
|
7128
|
+
var d = this._getSource(e), g = this._getTarget(e);
|
|
7129
7129
|
r = i && (i.hidden || i.collapsed), s = this._elementFactory.createConnection(Ln(e, t, {
|
|
7130
7130
|
hidden: r,
|
|
7131
7131
|
source: d,
|
|
7132
|
-
target:
|
|
7133
|
-
waypoints: qv(t, d,
|
|
7132
|
+
target: g,
|
|
7133
|
+
waypoints: qv(t, d, g)
|
|
7134
7134
|
})), K(e, "bpmn:DataAssociation") && (i = this._canvas.findRoot(i)), this._canvas.addConnection(s, i, a);
|
|
7135
7135
|
} else
|
|
7136
7136
|
throw new Error(n("unknown di {di} for element {semantic}", {
|
|
@@ -7272,7 +7272,7 @@ function Sp(e, t, i) {
|
|
|
7272
7272
|
return n(L, V, D);
|
|
7273
7273
|
}
|
|
7274
7274
|
var d = "svg, .djs-element";
|
|
7275
|
-
function
|
|
7275
|
+
function g(N, V, D, L) {
|
|
7276
7276
|
var B = r[D] = function(q) {
|
|
7277
7277
|
n(D, q);
|
|
7278
7278
|
};
|
|
@@ -7284,7 +7284,7 @@ function Sp(e, t, i) {
|
|
|
7284
7284
|
}
|
|
7285
7285
|
function R(N) {
|
|
7286
7286
|
G(l, function(V, D) {
|
|
7287
|
-
|
|
7287
|
+
g(N, D, V);
|
|
7288
7288
|
});
|
|
7289
7289
|
}
|
|
7290
7290
|
function Q(N) {
|
|
@@ -7359,7 +7359,7 @@ function Sp(e, t, i) {
|
|
|
7359
7359
|
width: N.width,
|
|
7360
7360
|
height: N.height
|
|
7361
7361
|
}), D;
|
|
7362
|
-
}, this.fire = n, this.triggerMouseEvent = h, this.mouseHandler = a, this.registerEvent =
|
|
7362
|
+
}, this.fire = n, this.triggerMouseEvent = h, this.mouseHandler = a, this.registerEvent = g, this.unregisterEvent = I;
|
|
7363
7363
|
}
|
|
7364
7364
|
Sp.$inject = [
|
|
7365
7365
|
"eventBus",
|
|
@@ -7884,15 +7884,15 @@ function Vp(e, t, i) {
|
|
|
7884
7884
|
n.appendChild(s);
|
|
7885
7885
|
var a = [];
|
|
7886
7886
|
e.on("element.changed", function(l) {
|
|
7887
|
-
var p = l.element, h = xe(p), d = xt(a, function(
|
|
7888
|
-
return
|
|
7887
|
+
var p = l.element, h = xe(p), d = xt(a, function(g) {
|
|
7888
|
+
return g === h;
|
|
7889
7889
|
});
|
|
7890
7890
|
!d || o();
|
|
7891
7891
|
});
|
|
7892
7892
|
function o(l) {
|
|
7893
7893
|
l && (a = AA(l));
|
|
7894
7894
|
var p = a.map(function(d) {
|
|
7895
|
-
var
|
|
7895
|
+
var g = mA(d.name || d.id), I = lt('<li><span class="bjs-crumb"><a title="' + g + '">' + g + "</a></span></li>"), R = i.findRoot(uo(d)) || i.findRoot(d.id);
|
|
7896
7896
|
if (!R && K(d, "bpmn:Process")) {
|
|
7897
7897
|
var Q = t.find(function(Z) {
|
|
7898
7898
|
var z = xe(Z);
|
|
@@ -8231,7 +8231,7 @@ function Qp(e, t) {
|
|
|
8231
8231
|
} = p(k, P);
|
|
8232
8232
|
return S.apply(E, _);
|
|
8233
8233
|
}
|
|
8234
|
-
function
|
|
8234
|
+
function g(k) {
|
|
8235
8235
|
return Fn((E) => k.get(E));
|
|
8236
8236
|
}
|
|
8237
8237
|
function I(k, E) {
|
|
@@ -8239,7 +8239,7 @@ function Qp(e, t) {
|
|
|
8239
8239
|
const P = /* @__PURE__ */ Object.create(null), S = /* @__PURE__ */ Object.create(null), _ = [], N = [], V = [];
|
|
8240
8240
|
let D, L, B, q;
|
|
8241
8241
|
for (let $ in n)
|
|
8242
|
-
D = n[$], E.indexOf($) !== -1 && (D[2] === "private" ? (L = _.indexOf(D[3]), L === -1 ? (B = D[3].createChild([], E), q =
|
|
8242
|
+
D = n[$], E.indexOf($) !== -1 && (D[2] === "private" ? (L = _.indexOf(D[3]), L === -1 ? (B = D[3].createChild([], E), q = g(B), _.push(D[3]), N.push(B), V.push(q), P[$] = [q, $, "private", B]) : P[$] = [V[L], $, "private", N[L]]) : P[$] = [D[2], D[1]], S[$] = !0), (D[2] === "factory" || D[2] === "type") && D[1].$scope && E.forEach((_e) => {
|
|
8243
8243
|
D[1].$scope.indexOf(_e) !== -1 && (P[$] = [D[2], D[1]], S[_e] = !0);
|
|
8244
8244
|
});
|
|
8245
8245
|
E.forEach(($) => {
|
|
@@ -8710,8 +8710,8 @@ te.prototype.scrollToElement = function(e, t) {
|
|
|
8710
8710
|
if (!(n.width < a.width && n.height < a.height))
|
|
8711
8711
|
l = n.x - a.x, p = n.y - a.y;
|
|
8712
8712
|
else {
|
|
8713
|
-
const
|
|
8714
|
-
l =
|
|
8713
|
+
const g = Math.max(0, r.right - h.right), I = Math.min(0, r.left - h.left), R = Math.max(0, r.bottom - h.bottom), Q = Math.min(0, r.top - h.top);
|
|
8714
|
+
l = g || I, p = R || Q;
|
|
8715
8715
|
}
|
|
8716
8716
|
this.scroll({ dx: -l * o, dy: -p * o });
|
|
8717
8717
|
};
|
|
@@ -9629,7 +9629,7 @@ function pb(e) {
|
|
|
9629
9629
|
function rd(e) {
|
|
9630
9630
|
if (!this)
|
|
9631
9631
|
return new rd(e);
|
|
9632
|
-
var t = e && e.proxy, i, s, n, r, a = pb, o, l, p, h, d = cc,
|
|
9632
|
+
var t = e && e.proxy, i, s, n, r, a = pb, o, l, p, h, d = cc, g = !1, I = !1, R = null, Q = !1, Z;
|
|
9633
9633
|
function z(E) {
|
|
9634
9634
|
E instanceof Error || (E = Ki(E)), R = E, a(E, d);
|
|
9635
9635
|
}
|
|
@@ -9686,11 +9686,11 @@ function rd(e) {
|
|
|
9686
9686
|
Q = !0;
|
|
9687
9687
|
};
|
|
9688
9688
|
function k(E) {
|
|
9689
|
-
var P = I ? [] : null, S = I ? ub(Z) : null, _, N = [], V = 0, D = !1, L = !1, B = 0, q = 0, $, _e, oe,
|
|
9689
|
+
var P = I ? [] : null, S = I ? ub(Z) : null, _, N = [], V = 0, D = !1, L = !1, B = 0, q = 0, $, _e, oe, y, v, x, M, H, ae, C = "", w = 0, O;
|
|
9690
9690
|
function Y() {
|
|
9691
9691
|
if (O !== null)
|
|
9692
9692
|
return O;
|
|
9693
|
-
var ne, f, c, u = I && S.xmlns, m = I &&
|
|
9693
|
+
var ne, f, c, u = I && S.xmlns, m = I && g ? [] : null, A = w, T = C, J = T.length, ue, ce, pe, Se, de, Jt = {}, on = {}, ze, W, he;
|
|
9694
9694
|
e:
|
|
9695
9695
|
for (; A < J; A++)
|
|
9696
9696
|
if (ze = !1, W = T.charCodeAt(A), !(W === 32 || W < 14 && W > 8)) {
|
|
@@ -9723,7 +9723,7 @@ function rd(e) {
|
|
|
9723
9723
|
Jt[de] = pe;
|
|
9724
9724
|
continue;
|
|
9725
9725
|
}
|
|
9726
|
-
if (
|
|
9726
|
+
if (g) {
|
|
9727
9727
|
if (ce = de === "xmlns" ? "xmlns" : de.charCodeAt(0) === 120 && de.substr(0, 6) === "xmlns:" ? de.substr(6) : null, ce !== null) {
|
|
9728
9728
|
if (ne = yi(pe), f = Aa(ce), Se = Z[ne], !Se) {
|
|
9729
9729
|
if (ce === "xmlns" || f in S && S[f] !== ne)
|
|
@@ -9750,7 +9750,7 @@ function rd(e) {
|
|
|
9750
9750
|
}
|
|
9751
9751
|
de = u === c ? de.substr(W + 1) : c + de.substr(W), de === ac && (W = pe.indexOf(":"), W !== -1 ? (c = pe.substring(0, W), c = S[c] || c, pe = c + pe.substring(W)) : pe = u + ":" + pe), Jt[de] = pe;
|
|
9752
9752
|
}
|
|
9753
|
-
if (
|
|
9753
|
+
if (g)
|
|
9754
9754
|
for (A = 0, J = m.length; A < J; A++) {
|
|
9755
9755
|
if (de = m[A++], pe = m[A], W = de.indexOf(":"), W !== -1) {
|
|
9756
9756
|
if (!(c = S[de.substring(0, W)])) {
|
|
@@ -9799,7 +9799,7 @@ function rd(e) {
|
|
|
9799
9799
|
} else if (E.substring(q, B).trim() && (U(oc), Q))
|
|
9800
9800
|
return;
|
|
9801
9801
|
}
|
|
9802
|
-
if (
|
|
9802
|
+
if (y = E.charCodeAt(B + 1), y === 33) {
|
|
9803
9803
|
if (oe = E.charCodeAt(B + 2), oe === 91 && E.substr(B + 3, 6) === "CDATA[") {
|
|
9804
9804
|
if (q = E.indexOf("]]>", B), q === -1)
|
|
9805
9805
|
return z("unclosed cdata");
|
|
@@ -9817,7 +9817,7 @@ function rd(e) {
|
|
|
9817
9817
|
continue;
|
|
9818
9818
|
}
|
|
9819
9819
|
}
|
|
9820
|
-
if (
|
|
9820
|
+
if (y === 63) {
|
|
9821
9821
|
if (q = E.indexOf("?>", B), q === -1)
|
|
9822
9822
|
return z("unclosed question");
|
|
9823
9823
|
if (p && (p(E.substring(B, q + 2), d), Q))
|
|
@@ -9837,26 +9837,26 @@ function rd(e) {
|
|
|
9837
9837
|
break;
|
|
9838
9838
|
}
|
|
9839
9839
|
}
|
|
9840
|
-
if (
|
|
9840
|
+
if (y === 33) {
|
|
9841
9841
|
if (h && (h(E.substring(B, q + 1), yi, d), Q))
|
|
9842
9842
|
return;
|
|
9843
9843
|
q += 1;
|
|
9844
9844
|
continue;
|
|
9845
9845
|
}
|
|
9846
|
-
if (O = {},
|
|
9846
|
+
if (O = {}, y === 47) {
|
|
9847
9847
|
if (D = !1, L = !0, !N.length)
|
|
9848
9848
|
return z("missing open tag");
|
|
9849
9849
|
if ($ = M = N.pop(), oe = B + 2 + $.length, E.substring(B + 2, oe) !== $)
|
|
9850
9850
|
return z("closing tag mismatch");
|
|
9851
9851
|
for (; oe < q; oe++)
|
|
9852
|
-
if (
|
|
9852
|
+
if (y = E.charCodeAt(oe), !(y === 32 || y > 8 && y < 14))
|
|
9853
9853
|
return z("close tag");
|
|
9854
9854
|
} else {
|
|
9855
|
-
if (E.charCodeAt(q - 1) === 47 ? ($ = M = E.substring(B + 1, q - 1), D = !0, L = !0) : ($ = M = E.substring(B + 1, q), D = !0, L = !1), !(
|
|
9855
|
+
if (E.charCodeAt(q - 1) === 47 ? ($ = M = E.substring(B + 1, q - 1), D = !0, L = !0) : ($ = M = E.substring(B + 1, q), D = !0, L = !1), !(y > 96 && y < 123 || y > 64 && y < 91 || y === 95 || y === 58))
|
|
9856
9856
|
return z("illegal first char nodeName");
|
|
9857
9857
|
for (oe = 1, _e = $.length; oe < _e; oe++)
|
|
9858
|
-
if (
|
|
9859
|
-
if (
|
|
9858
|
+
if (y = $.charCodeAt(oe), !(y > 96 && y < 123 || y > 64 && y < 91 || y > 47 && y < 59 || y === 45 || y === 95 || y == 46)) {
|
|
9859
|
+
if (y === 32 || y < 14 && y > 8) {
|
|
9860
9860
|
M = $.substring(0, oe), O = null;
|
|
9861
9861
|
break;
|
|
9862
9862
|
}
|
|
@@ -9865,10 +9865,10 @@ function rd(e) {
|
|
|
9865
9865
|
L || N.push(M);
|
|
9866
9866
|
}
|
|
9867
9867
|
if (I) {
|
|
9868
|
-
if (_ = S, D && (L || P.push(_), O === null && (
|
|
9869
|
-
if (x = S[M.substring(0,
|
|
9868
|
+
if (_ = S, D && (L || P.push(_), O === null && (g = $.indexOf("xmlns", oe) !== -1) && (w = oe, C = $, Y(), g = !1)), H = M, y = M.indexOf(":"), y !== -1) {
|
|
9869
|
+
if (x = S[M.substring(0, y)], !x)
|
|
9870
9870
|
return z("missing namespace on <" + H + ">");
|
|
9871
|
-
M = M.substr(
|
|
9871
|
+
M = M.substr(y + 1);
|
|
9872
9872
|
} else
|
|
9873
9873
|
x = S.xmlns;
|
|
9874
9874
|
x && (M = x + ":" + M);
|
|
@@ -10012,11 +10012,11 @@ je.prototype.createElement = function(e) {
|
|
|
10012
10012
|
var t = e.attributes, i = this.type, s = Ft(i), n = this.context, r = new i({}), a = this.model, o;
|
|
10013
10013
|
return G(t, function(l, p) {
|
|
10014
10014
|
var h = s.propertiesByName[p], d;
|
|
10015
|
-
h && h.isReference ? h.isMany ? (d = l.split(" "), G(d, function(
|
|
10015
|
+
h && h.isReference ? h.isMany ? (d = l.split(" "), G(d, function(g) {
|
|
10016
10016
|
n.addReference({
|
|
10017
10017
|
element: r,
|
|
10018
10018
|
property: h.ns.name,
|
|
10019
|
-
id:
|
|
10019
|
+
id: g
|
|
10020
10020
|
});
|
|
10021
10021
|
})) : n.addReference({
|
|
10022
10022
|
element: r,
|
|
@@ -10140,7 +10140,7 @@ Ao.prototype.fromXML = function(e, t, i) {
|
|
|
10140
10140
|
V.set(L.name, D);
|
|
10141
10141
|
}
|
|
10142
10142
|
}
|
|
10143
|
-
function
|
|
10143
|
+
function g() {
|
|
10144
10144
|
l.pop().handleEnd();
|
|
10145
10145
|
}
|
|
10146
10146
|
var I = /^<\?xml /i, R = / encoding="([^"]+)"/i, Q = /^utf-8$/i;
|
|
@@ -10186,7 +10186,7 @@ Ao.prototype.fromXML = function(e, t, i) {
|
|
|
10186
10186
|
ns: P.ns
|
|
10187
10187
|
};
|
|
10188
10188
|
z(L, N);
|
|
10189
|
-
}).on("question", Z).on("closeTag",
|
|
10189
|
+
}).on("question", Z).on("closeTag", g).on("cdata", U).on("text", function(P, S, _) {
|
|
10190
10190
|
k(S(P), _);
|
|
10191
10191
|
}).on("error", p).on("warn", h), new Promise(function(P, S) {
|
|
10192
10192
|
var _;
|
|
@@ -14213,7 +14213,7 @@ function S0(e, t) {
|
|
|
14213
14213
|
function d(C, w) {
|
|
14214
14214
|
e.error(C, w);
|
|
14215
14215
|
}
|
|
14216
|
-
var
|
|
14216
|
+
var g = this.registerDi = function(w) {
|
|
14217
14217
|
var O = w.bpmnElement;
|
|
14218
14218
|
O ? n[O.id] ? d(
|
|
14219
14219
|
t("multiple DI elements defined for {element}", {
|
|
@@ -14231,10 +14231,10 @@ function S0(e, t) {
|
|
|
14231
14231
|
R(C.plane);
|
|
14232
14232
|
}
|
|
14233
14233
|
function R(C) {
|
|
14234
|
-
|
|
14234
|
+
g(C), G(C.planeElement, Q);
|
|
14235
14235
|
}
|
|
14236
14236
|
function Q(C) {
|
|
14237
|
-
|
|
14237
|
+
g(C);
|
|
14238
14238
|
}
|
|
14239
14239
|
this.handleDefinitions = function(w, O) {
|
|
14240
14240
|
var Y = w.diagrams;
|
|
@@ -14257,7 +14257,7 @@ function S0(e, t) {
|
|
|
14257
14257
|
plane: Re(ee),
|
|
14258
14258
|
rootElement: Re(ne)
|
|
14259
14259
|
})
|
|
14260
|
-
), ee.bpmnElement = ne,
|
|
14260
|
+
), ee.bpmnElement = ne, g(ee);
|
|
14261
14261
|
else
|
|
14262
14262
|
throw new Error(t("no process or collaboration to display"));
|
|
14263
14263
|
var f = p(ne, ee);
|
|
@@ -14339,11 +14339,11 @@ function S0(e, t) {
|
|
|
14339
14339
|
function oe(C, w) {
|
|
14340
14340
|
G(C.lanes, r(_e, w));
|
|
14341
14341
|
}
|
|
14342
|
-
function
|
|
14342
|
+
function y(C, w) {
|
|
14343
14343
|
G(C, r(oe, w));
|
|
14344
14344
|
}
|
|
14345
14345
|
function v(C, w) {
|
|
14346
|
-
x(C.flowElements, w), C.laneSets &&
|
|
14346
|
+
x(C.flowElements, w), C.laneSets && y(C.laneSets, w);
|
|
14347
14347
|
}
|
|
14348
14348
|
function x(C, w) {
|
|
14349
14349
|
G(C, function(O) {
|
|
@@ -14379,7 +14379,7 @@ function S0(e, t) {
|
|
|
14379
14379
|
function P0(e, t, i) {
|
|
14380
14380
|
var s, n, r, a, o, l = [];
|
|
14381
14381
|
function p(h, d) {
|
|
14382
|
-
var
|
|
14382
|
+
var g = {
|
|
14383
14383
|
root: function(Z, z) {
|
|
14384
14384
|
return s.add(Z, z);
|
|
14385
14385
|
},
|
|
@@ -14389,7 +14389,7 @@ function P0(e, t, i) {
|
|
|
14389
14389
|
error: function(Z, z) {
|
|
14390
14390
|
l.push({ message: Z, context: z });
|
|
14391
14391
|
}
|
|
14392
|
-
}, I = new S0(
|
|
14392
|
+
}, I = new S0(g, r);
|
|
14393
14393
|
d = d || h.diagrams && h.diagrams[0];
|
|
14394
14394
|
var R = D0(h, d);
|
|
14395
14395
|
if (!R)
|
|
@@ -14408,8 +14408,8 @@ function P0(e, t, i) {
|
|
|
14408
14408
|
error: o,
|
|
14409
14409
|
warnings: l
|
|
14410
14410
|
}), h({ warnings: l });
|
|
14411
|
-
} catch (
|
|
14412
|
-
return
|
|
14411
|
+
} catch (g) {
|
|
14412
|
+
return g.warnings = l, d(g);
|
|
14413
14413
|
}
|
|
14414
14414
|
});
|
|
14415
14415
|
}
|
|
@@ -14503,10 +14503,10 @@ Ne.prototype.importXML = async function(t, i) {
|
|
|
14503
14503
|
let a;
|
|
14504
14504
|
try {
|
|
14505
14505
|
a = await this._moddle.fromXML(t, "bpmn:Definitions");
|
|
14506
|
-
} catch (
|
|
14506
|
+
} catch (g) {
|
|
14507
14507
|
throw this._emit("import.parse.complete", {
|
|
14508
|
-
error:
|
|
14509
|
-
}),
|
|
14508
|
+
error: g
|
|
14509
|
+
}), g;
|
|
14510
14510
|
}
|
|
14511
14511
|
let o = a.rootElement;
|
|
14512
14512
|
const l = a.references, p = a.warnings, h = a.elementsById;
|
|
@@ -14727,8 +14727,8 @@ function Ad(e, t) {
|
|
|
14727
14727
|
function n(o) {
|
|
14728
14728
|
var l = i.start, p = i.button, h = dc(o), d = pc(h, l);
|
|
14729
14729
|
if (!i.dragging && Y0(d) > z0 && (i.dragging = !0, p === 0 && W0(e), vd("grab")), i.dragging) {
|
|
14730
|
-
var
|
|
14731
|
-
d = pc(h,
|
|
14730
|
+
var g = i.last || i.start;
|
|
14731
|
+
d = pc(h, g), t.scroll({
|
|
14732
14732
|
dx: d.x,
|
|
14733
14733
|
dy: d.y
|
|
14734
14734
|
}), i.last = h;
|
|
@@ -14918,8 +14918,8 @@ function tC(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
|
14918
14918
|
ss: l,
|
|
14919
14919
|
ww: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"][p]
|
|
14920
14920
|
};
|
|
14921
|
-
for (let
|
|
14922
|
-
t = t.replace(
|
|
14921
|
+
for (let g in d)
|
|
14922
|
+
t = t.replace(g, d[g]);
|
|
14923
14923
|
return t;
|
|
14924
14924
|
}
|
|
14925
14925
|
function iC(e) {
|
|
@@ -14950,8 +14950,8 @@ function iC(e) {
|
|
|
14950
14950
|
p += `<span title='${r}'>${d}</span><br>`;
|
|
14951
14951
|
}
|
|
14952
14952
|
if (o && o.length > 0) {
|
|
14953
|
-
let d, { type:
|
|
14954
|
-
|
|
14953
|
+
let d, { type: g, fullMessage: I } = o.find((R) => R.action == "AddComment") || {};
|
|
14954
|
+
g == "assigneeComment" && (d = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + I, l.class = "nodeWarn"), g == "dispatchComment" && (d = "\u8C03\u5EA6\uFF1A" + I, l.class = "nodeWarn"), g == "transferComment" && (d = "\u8F6C\u529E\uFF1A" + I, l.class = "nodeWarn"), g == "delegateComment" && (d = "\u59D4\u6258\uFF1A" + I, l.class = "nodeWarn"), g == "rollbackComment" && (d = "\u6307\u5B9A\u56DE\u9000\uFF1A" + I, l.class = "nodeError"), g == "terminateComment" && (d = "\u7EC8\u6B62\uFF1A" + I, l.class = "nodeError"), (g == "addMultiInstanceComment" || (g || "").includes("\u52A0\u7B7E")) && (d = "\u52A0\u7B7E\uFF1A" + I, l.class = "nodeWarn"), g == "deleteMultiInstanceComment" && (d = "\u51CF\u7B7E\uFF1A" + I, l.class = "nodeError"), g == "withdrawComment" && (d = "\u64A4\u9500\uFF1A" + I, l.class = "nodeWarn"), g == "deleteProcessComment" && (d = "\u5220\u9664\u6D41\u7A0B\uFF1A" + I, l.class = "nodeError"), g == "cancelProcessComment" && (d = "\u62D2\u7EDD\uFF1A" + I, l.class = "nodeError"), g == "comment" && (d = "\u5BA1\u6279\uFF1A" + I, l.class = "nodeSuccess"), d && (p += `<span title='${d}'>${d}</span>`);
|
|
14955
14955
|
}
|
|
14956
14956
|
l.tooltip = p;
|
|
14957
14957
|
}
|
|
@@ -14986,8 +14986,8 @@ function Ed(e) {
|
|
|
14986
14986
|
n,
|
|
14987
14987
|
"YYYY-MM-DD HH:mm"
|
|
14988
14988
|
)}</span><br>`), a && a.length > 0) {
|
|
14989
|
-
let h, { type: d, fullMessage:
|
|
14990
|
-
d == "assigneeComment" && (h = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" +
|
|
14989
|
+
let h, { type: d, fullMessage: g } = a.find((I) => I.action == "AddComment") || {};
|
|
14990
|
+
d == "assigneeComment" && (h = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + g, o.class = "nodeWarn"), d == "dispatchComment" && (h = "\u8C03\u5EA6\uFF1A" + g, o.class = "nodeWarn"), d == "transferComment" && (h = "\u8F6C\u529E\uFF1A" + g, o.class = "nodeWarn"), d == "delegateComment" && (h = "\u59D4\u6258\uFF1A" + g, o.class = "nodeWarn"), d == "rollbackComment" && (h = "\u6307\u5B9A\u56DE\u9000\uFF1A" + g, o.class = "nodeError"), d == "terminateComment" && (h = "\u7EC8\u6B62\uFF1A" + g, o.class = "nodeError"), (d == "addMultiInstanceComment" || (d || "").includes("\u52A0\u7B7E")) && (h = "\u52A0\u7B7E\uFF1A" + g, o.class = "nodeWarn"), d == "deleteMultiInstanceComment" && (h = "\u51CF\u7B7E\uFF1A" + g, o.class = "nodeError"), d == "withdrawComment" && (h = "\u64A4\u9500\uFF1A" + g, o.class = "nodeWarn"), d == "deleteProcessComment" && (h = "\u5220\u9664\u6D41\u7A0B\uFF1A" + g, o.class = "nodeError"), d == "cancelProcessComment" && (h = "\u62D2\u7EDD\uFF1A" + g, o.class = "nodeError"), d == "comment" && (h = "\u5BA1\u6279\uFF1A" + g, o.class = "nodeSuccess"), h && (l += `<span title='${h}'>${h}</span>`);
|
|
14991
14991
|
}
|
|
14992
14992
|
o.tooltip = l;
|
|
14993
14993
|
}
|
|
@@ -15356,10 +15356,10 @@ function kn(e, t, i) {
|
|
|
15356
15356
|
l ? Ia : Ii
|
|
15357
15357
|
), {
|
|
15358
15358
|
next() {
|
|
15359
|
-
const { value: d, done:
|
|
15360
|
-
return
|
|
15359
|
+
const { value: d, done: g } = p.next();
|
|
15360
|
+
return g ? { value: d, done: g } : {
|
|
15361
15361
|
value: o ? [h(d[0]), h(d[1])] : h(d),
|
|
15362
|
-
done:
|
|
15362
|
+
done: g
|
|
15363
15363
|
};
|
|
15364
15364
|
},
|
|
15365
15365
|
[Symbol.iterator]() {
|
|
@@ -15908,8 +15908,8 @@ function vw(e, t, { immediate: i, deep: s, flush: n, onTrack: r, onTrigger: a }
|
|
|
15908
15908
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
15909
15909
|
);
|
|
15910
15910
|
}, p = CC() === ((o = hs) == null ? void 0 : o.scope) ? hs : null;
|
|
15911
|
-
let h, d = !1,
|
|
15912
|
-
if (Ze(e) ? (h = () => e.value, d = Ta(e)) : Ni(e) ? (h = () => e, s = !0) : we(e) ? (
|
|
15911
|
+
let h, d = !1, g = !1;
|
|
15912
|
+
if (Ze(e) ? (h = () => e.value, d = Ta(e)) : Ni(e) ? (h = () => e, s = !0) : we(e) ? (g = !0, d = e.some((E) => Ni(E) || Ta(E)), h = () => e.map((E) => {
|
|
15913
15913
|
if (Ze(E))
|
|
15914
15914
|
return E.value;
|
|
15915
15915
|
if (Ni(E))
|
|
@@ -15933,16 +15933,16 @@ function vw(e, t, { immediate: i, deep: s, flush: n, onTrack: r, onTrigger: a }
|
|
|
15933
15933
|
I = U.onStop = () => {
|
|
15934
15934
|
_i(E, p, 4);
|
|
15935
15935
|
};
|
|
15936
|
-
}, Q =
|
|
15936
|
+
}, Q = g ? new Array(e.length).fill(Sn) : Sn;
|
|
15937
15937
|
const Z = () => {
|
|
15938
15938
|
if (!!U.active)
|
|
15939
15939
|
if (t) {
|
|
15940
15940
|
const E = U.run();
|
|
15941
|
-
(s || d || (
|
|
15941
|
+
(s || d || (g ? E.some(
|
|
15942
15942
|
(P, S) => ar(P, Q[S])
|
|
15943
15943
|
) : ar(E, Q))) && (I && I(), ka(t, p, 3, [
|
|
15944
15944
|
E,
|
|
15945
|
-
Q === Sn ? void 0 :
|
|
15945
|
+
Q === Sn ? void 0 : g && Q[0] === Sn ? [] : Q,
|
|
15946
15946
|
R
|
|
15947
15947
|
]), Q = E);
|
|
15948
15948
|
} else
|
|
@@ -16041,15 +16041,15 @@ const Cw = Symbol.for("v-ndc"), Sa = (e) => e ? Uw(e) ? Qw(e) || e.proxy : Sa(e.
|
|
|
16041
16041
|
}
|
|
16042
16042
|
}
|
|
16043
16043
|
const h = Ls[t];
|
|
16044
|
-
let d,
|
|
16044
|
+
let d, g;
|
|
16045
16045
|
if (h)
|
|
16046
16046
|
return t === "$attrs" ? (tt(e, "get", t), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && tt(e, "get", t), h(e);
|
|
16047
16047
|
if ((d = o.__cssModules) && (d = d[t]))
|
|
16048
16048
|
return d;
|
|
16049
16049
|
if (i !== Pt && Pe(i, t))
|
|
16050
16050
|
return a[t] = 4, i[t];
|
|
16051
|
-
if (
|
|
16052
|
-
return
|
|
16051
|
+
if (g = l.config.globalProperties, Pe(g, t))
|
|
16052
|
+
return g[t];
|
|
16053
16053
|
process.env.NODE_ENV !== "production" && Xt && (!It(t) || t.indexOf("__v") !== 0) && (n !== Pt && ww(t[0]) && Pe(n, t) ? qe(
|
|
16054
16054
|
`Property ${JSON.stringify(
|
|
16055
16055
|
t
|
|
@@ -16456,12 +16456,12 @@ function Jw() {
|
|
|
16456
16456
|
}
|
|
16457
16457
|
};
|
|
16458
16458
|
function r(d) {
|
|
16459
|
-
const
|
|
16460
|
-
d.type.props && d.props &&
|
|
16459
|
+
const g = [];
|
|
16460
|
+
d.type.props && d.props && g.push(a("props", me(d.props))), d.setupState !== Pt && g.push(a("setup", d.setupState)), d.data !== Pt && g.push(a("data", me(d.data)));
|
|
16461
16461
|
const I = l(d, "computed");
|
|
16462
|
-
I &&
|
|
16462
|
+
I && g.push(a("computed", I));
|
|
16463
16463
|
const R = l(d, "inject");
|
|
16464
|
-
return R &&
|
|
16464
|
+
return R && g.push(a("injected", R)), g.push([
|
|
16465
16465
|
"div",
|
|
16466
16466
|
{},
|
|
16467
16467
|
[
|
|
@@ -16472,10 +16472,10 @@ function Jw() {
|
|
|
16472
16472
|
"$ (internal): "
|
|
16473
16473
|
],
|
|
16474
16474
|
["object", { object: d }]
|
|
16475
|
-
]),
|
|
16475
|
+
]), g;
|
|
16476
16476
|
}
|
|
16477
|
-
function a(d,
|
|
16478
|
-
return
|
|
16477
|
+
function a(d, g) {
|
|
16478
|
+
return g = yt({}, g), Object.keys(g).length ? [
|
|
16479
16479
|
"div",
|
|
16480
16480
|
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
16481
16481
|
[
|
|
@@ -16490,30 +16490,30 @@ function Jw() {
|
|
|
16490
16490
|
{
|
|
16491
16491
|
style: "padding-left:1.25em"
|
|
16492
16492
|
},
|
|
16493
|
-
...Object.keys(
|
|
16493
|
+
...Object.keys(g).map((I) => [
|
|
16494
16494
|
"div",
|
|
16495
16495
|
{},
|
|
16496
16496
|
["span", s, I + ": "],
|
|
16497
|
-
o(
|
|
16497
|
+
o(g[I], !1)
|
|
16498
16498
|
])
|
|
16499
16499
|
]
|
|
16500
16500
|
] : ["span", {}];
|
|
16501
16501
|
}
|
|
16502
|
-
function o(d,
|
|
16503
|
-
return typeof d == "number" ? ["span", t, d] : typeof d == "string" ? ["span", i, JSON.stringify(d)] : typeof d == "boolean" ? ["span", s, d] : $e(d) ? ["object", { object:
|
|
16502
|
+
function o(d, g = !0) {
|
|
16503
|
+
return typeof d == "number" ? ["span", t, d] : typeof d == "string" ? ["span", i, JSON.stringify(d)] : typeof d == "boolean" ? ["span", s, d] : $e(d) ? ["object", { object: g ? me(d) : d }] : ["span", i, String(d)];
|
|
16504
16504
|
}
|
|
16505
|
-
function l(d,
|
|
16505
|
+
function l(d, g) {
|
|
16506
16506
|
const I = d.type;
|
|
16507
16507
|
if (He(I))
|
|
16508
16508
|
return;
|
|
16509
16509
|
const R = {};
|
|
16510
16510
|
for (const Q in d.ctx)
|
|
16511
|
-
p(I, Q,
|
|
16511
|
+
p(I, Q, g) && (R[Q] = d.ctx[Q]);
|
|
16512
16512
|
return R;
|
|
16513
16513
|
}
|
|
16514
|
-
function p(d,
|
|
16514
|
+
function p(d, g, I) {
|
|
16515
16515
|
const R = d[I];
|
|
16516
|
-
if (we(R) && R.includes(
|
|
16516
|
+
if (we(R) && R.includes(g) || $e(R) && g in R || d.extends && p(d.extends, g, I) || d.mixins && d.mixins.some((Q) => p(Q, g, I)))
|
|
16517
16517
|
return !0;
|
|
16518
16518
|
}
|
|
16519
16519
|
function h(d) {
|
|
@@ -17049,9 +17049,13 @@ var aE = function() {
|
|
|
17049
17049
|
timestamp: s.endTime || s.createTime,
|
|
17050
17050
|
placement: "top"
|
|
17051
17051
|
}
|
|
17052
|
-
}, [i("p", [i("span", {
|
|
17052
|
+
}, [s.historyActivityType == "endEvent" ? i("p", [i("b", [e._v("\u6D41\u7A0B\u5DF2\u7ED3\u675F")])]) : s.historyActivityType == "startEvent" ? i("p", [i("span", {
|
|
17053
17053
|
staticClass: "flow-name"
|
|
17054
|
-
}, [e._v(e._s(s.assigneeName || (s.comments && s.comments.length > 0 ?
|
|
17054
|
+
}, [e._v(e._s(s.assigneeName || (s.comments && s.comments.length > 0 ? e.my(s) : "")))]), e._v(" \u5728 "), i("span", {
|
|
17055
|
+
staticClass: "flow-time"
|
|
17056
|
+
}, [e._v(e._s(s.createTime))]), e._v(" \u53D1\u8D77\u4E86\u6D41\u7A0B ")]) : i("p", [i("span", {
|
|
17057
|
+
staticClass: "flow-name"
|
|
17058
|
+
}, [e._v(e._s(s.assigneeName || (s.comments && s.comments.length > 0 ? e.my(s) : "")))]), e._v(" \u5728 "), i("span", {
|
|
17055
17059
|
staticClass: "flow-time"
|
|
17056
17060
|
}, [e._v(e._s(s.createTime))]), e._v(" \u5F00\u59CB\u5904\u7406 "), i("span", {
|
|
17057
17061
|
staticClass: "flow-node"
|
|
@@ -17091,7 +17095,7 @@ var aE = function() {
|
|
|
17091
17095
|
"font-size": "12px"
|
|
17092
17096
|
}
|
|
17093
17097
|
}, [e._v(e._s(r.time))]) : e._e()] : e._e()];
|
|
17094
|
-
})] : e._e(), s.endTime ? i("p", {
|
|
17098
|
+
})] : e._e(), s.endTime && s.historyActivityType != "startEvent" ? i("p", {
|
|
17095
17099
|
staticClass: "flow-time"
|
|
17096
17100
|
}, [e._v("\u7ED3\u675F\u65F6\u95F4: " + e._s(s.endTime))]) : e._e(), i("div", {
|
|
17097
17101
|
staticClass: "p-file"
|
|
@@ -17152,6 +17156,15 @@ const lE = {
|
|
|
17152
17156
|
};
|
|
17153
17157
|
},
|
|
17154
17158
|
methods: {
|
|
17159
|
+
my(e) {
|
|
17160
|
+
let t = "->", i = "\u2192", s = e.comments[0].fullMessage;
|
|
17161
|
+
if (s.includes(t))
|
|
17162
|
+
return s.split(t)[1];
|
|
17163
|
+
if (s.includes(i)) {
|
|
17164
|
+
let n = s.split(i)[1];
|
|
17165
|
+
return n = n.split("\uFF1A")[0], n;
|
|
17166
|
+
}
|
|
17167
|
+
},
|
|
17155
17168
|
handleClick() {
|
|
17156
17169
|
this.isFlag = !this.isFlag, this.toggleText = this.isFlag ? "\u6536\u8D77" : "\u5C55\u5F00";
|
|
17157
17170
|
}
|
|
@@ -17163,7 +17176,7 @@ var cE = /* @__PURE__ */ Ae(
|
|
|
17163
17176
|
oE,
|
|
17164
17177
|
!1,
|
|
17165
17178
|
uE,
|
|
17166
|
-
"
|
|
17179
|
+
"75a69229",
|
|
17167
17180
|
null,
|
|
17168
17181
|
null
|
|
17169
17182
|
);
|
|
@@ -17345,8 +17358,8 @@ const AE = {
|
|
|
17345
17358
|
let n = !1, r, a, o = 0, l = 0, p = 0, h = 0;
|
|
17346
17359
|
t.addEventListener("touchstart", (d) => {
|
|
17347
17360
|
n = !0;
|
|
17348
|
-
const
|
|
17349
|
-
r =
|
|
17361
|
+
const g = d.touches[0];
|
|
17362
|
+
r = g.clientX, a = g.clientY;
|
|
17350
17363
|
const I = i.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);
|
|
17351
17364
|
o = parseFloat(I[4]), l = parseFloat(I[5]);
|
|
17352
17365
|
const R = this.getTransformMatrix(s.style.transform);
|
|
@@ -17354,7 +17367,7 @@ const AE = {
|
|
|
17354
17367
|
}), t.addEventListener("touchmove", (d) => {
|
|
17355
17368
|
if (!n)
|
|
17356
17369
|
return;
|
|
17357
|
-
const
|
|
17370
|
+
const g = d.touches[0], I = g.clientX - r, R = g.clientY - a;
|
|
17358
17371
|
l !== void 0 && (i.setAttribute("transform", `matrix(0.679276 0 0 0.679276 ${o + I} ${l + R})`), s.setAttribute("style", `position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${p + I}, ${h + R});`)), e._cachedViewbox && (e._cachedViewbox.x = I, e._cachedViewbox.y = R), d.preventDefault();
|
|
17359
17372
|
}), t.addEventListener("touchend", () => {
|
|
17360
17373
|
n = !1;
|
|
@@ -23821,7 +23834,8 @@ const cI = /* @__PURE__ */ function() {
|
|
|
23821
23834
|
userIdData: "",
|
|
23822
23835
|
TopPopup1: !1,
|
|
23823
23836
|
cctaskTopPopup: !1,
|
|
23824
|
-
cctaskTopPopupTitle: "\u6284\u9001"
|
|
23837
|
+
cctaskTopPopupTitle: "\u6284\u9001",
|
|
23838
|
+
user: ""
|
|
23825
23839
|
};
|
|
23826
23840
|
},
|
|
23827
23841
|
watch: {
|
|
@@ -23836,11 +23850,17 @@ const cI = /* @__PURE__ */ function() {
|
|
|
23836
23850
|
this.ProcessInsObj = {
|
|
23837
23851
|
...this.ProcessInsObj,
|
|
23838
23852
|
...i.data
|
|
23839
|
-
}
|
|
23840
|
-
|
|
23841
|
-
|
|
23842
|
-
|
|
23843
|
-
|
|
23853
|
+
};
|
|
23854
|
+
let n = (this.ProcessInsObj.flow || []).filter((l) => ["userTask"].includes(l.historyActivityType) && l.createTime), r = n[n.length - 1].assigneeName;
|
|
23855
|
+
if (!r) {
|
|
23856
|
+
let l = n[n.length - 1], p = "->", h = "\u2192", d = l.comments[0].fullMessage;
|
|
23857
|
+
d.includes(p) ? r = d.split(p)[1] : d.includes(h) && (r = d.split(h)[1].split("\uFF1A")[0]);
|
|
23858
|
+
}
|
|
23859
|
+
this.user = r, this.taskObj.buttons = this.ProcessInsObj.button || [], this.trackList = (((s = i.data) == null ? void 0 : s.flow) || []).filter((l) => ["userTask", "candidate"].includes(l.historyActivityType));
|
|
23860
|
+
const a = ((this.ProcessInsObj.process || {}).variables || {}).deptId;
|
|
23861
|
+
this.deptId = a;
|
|
23862
|
+
const o = (this.ProcessInsObj.process || {}).taskId;
|
|
23863
|
+
this.absoluteTaskId = o, this.approvalData = (i.data || {}).flow || [], this.processXml = ((i.data || {}).process || {}).xml || "", this.handleGetProcessStatus(), this.$emit("get-process-data", this.ProcessInsObj);
|
|
23844
23864
|
}
|
|
23845
23865
|
}), this.getCurrentProcess(), this.getUserInfo());
|
|
23846
23866
|
});
|
|
@@ -24380,7 +24400,7 @@ var pI = function() {
|
|
|
24380
24400
|
}
|
|
24381
24401
|
}, [i("span", {
|
|
24382
24402
|
staticClass: "process-mliv-jd"
|
|
24383
|
-
}, [e._v(e._s(`${e.
|
|
24403
|
+
}, [e._v(e._s(`${e.user}\u5BA1\u6279\u4E2D`))])])]) : e._e()]) : e._e(), i("div", {
|
|
24384
24404
|
staticClass: "process-card",
|
|
24385
24405
|
style: {
|
|
24386
24406
|
height: e.processCardHeight
|
|
@@ -24615,7 +24635,7 @@ var hI = /* @__PURE__ */ Ae(
|
|
|
24615
24635
|
dI,
|
|
24616
24636
|
!1,
|
|
24617
24637
|
fI,
|
|
24618
|
-
"
|
|
24638
|
+
"24df7d3f",
|
|
24619
24639
|
null,
|
|
24620
24640
|
null
|
|
24621
24641
|
);
|
|
@@ -24625,7 +24645,7 @@ function fI(e) {
|
|
|
24625
24645
|
}
|
|
24626
24646
|
const _I = /* @__PURE__ */ function() {
|
|
24627
24647
|
return hI.exports;
|
|
24628
|
-
}(), mI = "ddy-process-h5", gI = "1.0.1-rc.3.
|
|
24648
|
+
}(), mI = "ddy-process-h5", gI = "1.0.1-rc.3.99", yI = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", vI = "./ddy-process-h5.umd.cjs", AI = "./style.css", bI = "module", CI = {
|
|
24629
24649
|
".": {
|
|
24630
24650
|
import: "./ddy-process-h5.js",
|
|
24631
24651
|
require: "./ddy-process-h5.umd.cjs"
|