ddy-process-h5 1.0.1-rc.3.91 → 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 +3677 -3483
- package/v2/ddy-process-h5.umd.cjs +16 -16
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +464 -270
- package/v2.7/ddy-process-h5.umd.cjs +10 -10
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +2594 -2426
- package/v3/ddy-process-h5.umd.cjs +9 -9
- 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
|
},
|
|
@@ -3453,6 +3453,7 @@ Te.util.warn;
|
|
|
3453
3453
|
const Lg = {
|
|
3454
3454
|
name: "TopPopup",
|
|
3455
3455
|
props: {
|
|
3456
|
+
showHeader: { default: !0, type: Boolean },
|
|
3456
3457
|
titleText: { default: "top-popup", type: String },
|
|
3457
3458
|
context: { default: "\u5185\u5BB9", type: String },
|
|
3458
3459
|
cancelText: { default: "\u53D6\u6D88", type: String },
|
|
@@ -3535,7 +3536,7 @@ var Fg = function() {
|
|
|
3535
3536
|
}), !e.isTips && !e.isDrawer ? i("div", {
|
|
3536
3537
|
staticClass: "top-popup",
|
|
3537
3538
|
style: e.show ? "transform: translateY(0)" : "transform: translateY(150%)"
|
|
3538
|
-
}, [i("div", {
|
|
3539
|
+
}, [e.showHeader ? i("div", {
|
|
3539
3540
|
staticClass: "top-popup-header"
|
|
3540
3541
|
}, [i("div", {
|
|
3541
3542
|
staticClass: "header-cancel",
|
|
@@ -3549,7 +3550,7 @@ var Fg = function() {
|
|
|
3549
3550
|
on: {
|
|
3550
3551
|
click: e.handleComfig
|
|
3551
3552
|
}
|
|
3552
|
-
}, [e._v(" " + e._s(e.comfigText) + " ")])]), i("div", {
|
|
3553
|
+
}, [e._v(" " + e._s(e.comfigText) + " ")])]) : e._e(), i("div", {
|
|
3553
3554
|
staticClass: "top-popup-body"
|
|
3554
3555
|
}, [e._t("default")], 2)]) : !e.isTips && e.isDrawer ? i("div", {
|
|
3555
3556
|
staticClass: "top-popup-drawer",
|
|
@@ -3596,8 +3597,8 @@ function Ae(e, t, i, s, n, r, a, o) {
|
|
|
3596
3597
|
var l = typeof e == "function" ? e.options : e;
|
|
3597
3598
|
t && (l.render = t, l.staticRenderFns = i, l._compiled = !0), s && (l.functional = !0), r && (l._scopeId = "data-v-" + r);
|
|
3598
3599
|
var p;
|
|
3599
|
-
if (a ? (p = function(
|
|
3600
|
-
|
|
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);
|
|
3601
3602
|
}, l._ssrRegister = p) : n && (p = o ? function() {
|
|
3602
3603
|
n.call(
|
|
3603
3604
|
this,
|
|
@@ -3626,7 +3627,7 @@ var jg = /* @__PURE__ */ Ae(
|
|
|
3626
3627
|
Vg,
|
|
3627
3628
|
!1,
|
|
3628
3629
|
Ug,
|
|
3629
|
-
"
|
|
3630
|
+
"5fb4d1e1",
|
|
3630
3631
|
null,
|
|
3631
3632
|
null
|
|
3632
3633
|
);
|
|
@@ -4251,7 +4252,7 @@ function ly(e) {
|
|
|
4251
4252
|
function cy(e, t) {
|
|
4252
4253
|
let i, s, n, r;
|
|
4253
4254
|
function a(d) {
|
|
4254
|
-
let
|
|
4255
|
+
let g = Date.now(), I = d ? 0 : r + t - g;
|
|
4255
4256
|
if (I > 0)
|
|
4256
4257
|
return o(I);
|
|
4257
4258
|
e.apply(n, s), l();
|
|
@@ -4711,8 +4712,8 @@ function jy(e, t) {
|
|
|
4711
4712
|
s.push(Mr(a));
|
|
4712
4713
|
continue;
|
|
4713
4714
|
}
|
|
4714
|
-
const p = gn(a, r, l), h = gn(a, r, l * 0.5), d = gn(a, o, l),
|
|
4715
|
-
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));
|
|
4716
4717
|
}
|
|
4717
4718
|
return s;
|
|
4718
4719
|
}
|
|
@@ -5068,7 +5069,7 @@ var hv = new jt(), fv = 10, vn = 3, mv = 1.5, Rn = 10, Hi = 0.95, gv = 1, yv = 0
|
|
|
5068
5069
|
function Qi(e, t, i, s, n, r, a) {
|
|
5069
5070
|
Qt.call(this, t, a);
|
|
5070
5071
|
var o = e && e.defaultFillColor, l = e && e.defaultStrokeColor, p = e && e.defaultLabelColor, h = hv.next(), d = {};
|
|
5071
|
-
function
|
|
5072
|
+
function g(f) {
|
|
5072
5073
|
return i.computeStyle(f, {
|
|
5073
5074
|
strokeLinecap: "round",
|
|
5074
5075
|
strokeLinejoin: "round",
|
|
@@ -5114,7 +5115,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5114
5115
|
if (c === "sequenceflow-end") {
|
|
5115
5116
|
var A = ge("path", {
|
|
5116
5117
|
d: "M 1 5 L 11 10 L 1 15 Z",
|
|
5117
|
-
...
|
|
5118
|
+
...g({
|
|
5118
5119
|
fill: m,
|
|
5119
5120
|
stroke: m,
|
|
5120
5121
|
strokeWidth: 1
|
|
@@ -5131,7 +5132,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5131
5132
|
cx: 6,
|
|
5132
5133
|
cy: 6,
|
|
5133
5134
|
r: 3.5,
|
|
5134
|
-
...
|
|
5135
|
+
...g({
|
|
5135
5136
|
fill: u,
|
|
5136
5137
|
stroke: m,
|
|
5137
5138
|
strokeWidth: 1,
|
|
@@ -5146,7 +5147,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5146
5147
|
if (c === "messageflow-end") {
|
|
5147
5148
|
var J = ge("path", {
|
|
5148
5149
|
d: "m 1 5 l 0 -3 l 7 3 l -7 3 z",
|
|
5149
|
-
...
|
|
5150
|
+
...g({
|
|
5150
5151
|
fill: u,
|
|
5151
5152
|
stroke: m,
|
|
5152
5153
|
strokeWidth: 1,
|
|
@@ -5193,7 +5194,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5193
5194
|
if (c === "conditional-flow-marker") {
|
|
5194
5195
|
var pe = ge("path", {
|
|
5195
5196
|
d: "M 0 10 L 8 6 L 16 10 L 8 14 Z",
|
|
5196
|
-
...
|
|
5197
|
+
...g({
|
|
5197
5198
|
fill: u,
|
|
5198
5199
|
stroke: m
|
|
5199
5200
|
})
|
|
@@ -5207,7 +5208,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5207
5208
|
if (c === "conditional-default-flow-marker") {
|
|
5208
5209
|
var Se = ge("path", {
|
|
5209
5210
|
d: "M 6 4 L 10 16",
|
|
5210
|
-
...
|
|
5211
|
+
...g({
|
|
5211
5212
|
stroke: m
|
|
5212
5213
|
})
|
|
5213
5214
|
});
|
|
@@ -5219,7 +5220,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5219
5220
|
}
|
|
5220
5221
|
}
|
|
5221
5222
|
function U(f, c, u, m, A = {}) {
|
|
5222
|
-
Oi(m) && (A = m, m = 0), m = m || 0, A =
|
|
5223
|
+
Oi(m) && (A = m, m = 0), m = m || 0, A = g(A);
|
|
5223
5224
|
var T = c / 2, J = u / 2, ue = ge("circle", {
|
|
5224
5225
|
cx: T,
|
|
5225
5226
|
cy: J,
|
|
@@ -5229,7 +5230,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5229
5230
|
return Ie(f, ue), ue;
|
|
5230
5231
|
}
|
|
5231
5232
|
function k(f, c, u, m, A, T) {
|
|
5232
|
-
Oi(A) && (T = A, A = 0), A = A || 0, T =
|
|
5233
|
+
Oi(A) && (T = A, A = 0), A = A || 0, T = g(T);
|
|
5233
5234
|
var J = ge("rect", {
|
|
5234
5235
|
x: A,
|
|
5235
5236
|
y: A,
|
|
@@ -5250,7 +5251,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5250
5251
|
], ue = J.map(function(pe) {
|
|
5251
5252
|
return pe.x + "," + pe.y;
|
|
5252
5253
|
}).join(" ");
|
|
5253
|
-
m =
|
|
5254
|
+
m = g(m);
|
|
5254
5255
|
var ce = ge("polygon", {
|
|
5255
5256
|
...m,
|
|
5256
5257
|
points: ue
|
|
@@ -5670,7 +5671,7 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5670
5671
|
var m = r.createText(c || "", u);
|
|
5671
5672
|
return at(m).add("djs-label"), Ie(f, m), m;
|
|
5672
5673
|
}
|
|
5673
|
-
function
|
|
5674
|
+
function y(f, c, u, m = {}) {
|
|
5674
5675
|
var A = xe(c), T = ks({
|
|
5675
5676
|
x: c.x,
|
|
5676
5677
|
y: c.y,
|
|
@@ -5813,11 +5814,11 @@ function Qi(e, t, i, s, n, r, a) {
|
|
|
5813
5814
|
strokeWidth: 2.5
|
|
5814
5815
|
});
|
|
5815
5816
|
var A = vi(c);
|
|
5816
|
-
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;
|
|
5817
5818
|
}
|
|
5818
5819
|
function ee(f, c, u = {}) {
|
|
5819
5820
|
var m = M(f, c, u);
|
|
5820
|
-
return
|
|
5821
|
+
return y(f, c, "center-middle", u), _e(f, c, void 0, u), m;
|
|
5821
5822
|
}
|
|
5822
5823
|
var ne = this.handlers = {
|
|
5823
5824
|
"bpmn:AdHocSubProcess": function(f, c, u = {}) {
|
|
@@ -6639,8 +6640,8 @@ fr.prototype.getDimensions = function(e, t) {
|
|
|
6639
6640
|
fr.prototype.layoutText = function(e, t) {
|
|
6640
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");
|
|
6641
6642
|
fe(d, { x: 0, y: 0 }), fe(d, s);
|
|
6642
|
-
var
|
|
6643
|
-
for (Ie(
|
|
6643
|
+
var g = Nv();
|
|
6644
|
+
for (Ie(g, d); l.length; )
|
|
6644
6645
|
p.push(Ev(l, h, d));
|
|
6645
6646
|
n.vertical === "middle" && (r.top = r.bottom = 0);
|
|
6646
6647
|
var I = cs(p, function(U, k, E) {
|
|
@@ -7042,11 +7043,11 @@ function Uv(e) {
|
|
|
7042
7043
|
}
|
|
7043
7044
|
function Qv(e) {
|
|
7044
7045
|
for (var t = e.waypoints, i = t.reduce(function(p, h, d) {
|
|
7045
|
-
var
|
|
7046
|
-
if (
|
|
7047
|
-
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);
|
|
7048
7049
|
p.push({
|
|
7049
|
-
start:
|
|
7050
|
+
start: g,
|
|
7050
7051
|
end: h,
|
|
7051
7052
|
startLength: R,
|
|
7052
7053
|
endLength: R + Q,
|
|
@@ -7124,12 +7125,12 @@ Gt.prototype.add = function(e, t, i) {
|
|
|
7124
7125
|
isFrame: p
|
|
7125
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);
|
|
7126
7127
|
} else if (K(t, "bpmndi:BPMNEdge")) {
|
|
7127
|
-
var d = this._getSource(e),
|
|
7128
|
+
var d = this._getSource(e), g = this._getTarget(e);
|
|
7128
7129
|
r = i && (i.hidden || i.collapsed), s = this._elementFactory.createConnection(Ln(e, t, {
|
|
7129
7130
|
hidden: r,
|
|
7130
7131
|
source: d,
|
|
7131
|
-
target:
|
|
7132
|
-
waypoints: qv(t, d,
|
|
7132
|
+
target: g,
|
|
7133
|
+
waypoints: qv(t, d, g)
|
|
7133
7134
|
})), K(e, "bpmn:DataAssociation") && (i = this._canvas.findRoot(i)), this._canvas.addConnection(s, i, a);
|
|
7134
7135
|
} else
|
|
7135
7136
|
throw new Error(n("unknown di {di} for element {semantic}", {
|
|
@@ -7271,7 +7272,7 @@ function Sp(e, t, i) {
|
|
|
7271
7272
|
return n(L, V, D);
|
|
7272
7273
|
}
|
|
7273
7274
|
var d = "svg, .djs-element";
|
|
7274
|
-
function
|
|
7275
|
+
function g(N, V, D, L) {
|
|
7275
7276
|
var B = r[D] = function(q) {
|
|
7276
7277
|
n(D, q);
|
|
7277
7278
|
};
|
|
@@ -7283,7 +7284,7 @@ function Sp(e, t, i) {
|
|
|
7283
7284
|
}
|
|
7284
7285
|
function R(N) {
|
|
7285
7286
|
G(l, function(V, D) {
|
|
7286
|
-
|
|
7287
|
+
g(N, D, V);
|
|
7287
7288
|
});
|
|
7288
7289
|
}
|
|
7289
7290
|
function Q(N) {
|
|
@@ -7358,7 +7359,7 @@ function Sp(e, t, i) {
|
|
|
7358
7359
|
width: N.width,
|
|
7359
7360
|
height: N.height
|
|
7360
7361
|
}), D;
|
|
7361
|
-
}, 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;
|
|
7362
7363
|
}
|
|
7363
7364
|
Sp.$inject = [
|
|
7364
7365
|
"eventBus",
|
|
@@ -7883,15 +7884,15 @@ function Vp(e, t, i) {
|
|
|
7883
7884
|
n.appendChild(s);
|
|
7884
7885
|
var a = [];
|
|
7885
7886
|
e.on("element.changed", function(l) {
|
|
7886
|
-
var p = l.element, h = xe(p), d = xt(a, function(
|
|
7887
|
-
return
|
|
7887
|
+
var p = l.element, h = xe(p), d = xt(a, function(g) {
|
|
7888
|
+
return g === h;
|
|
7888
7889
|
});
|
|
7889
7890
|
!d || o();
|
|
7890
7891
|
});
|
|
7891
7892
|
function o(l) {
|
|
7892
7893
|
l && (a = AA(l));
|
|
7893
7894
|
var p = a.map(function(d) {
|
|
7894
|
-
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);
|
|
7895
7896
|
if (!R && K(d, "bpmn:Process")) {
|
|
7896
7897
|
var Q = t.find(function(Z) {
|
|
7897
7898
|
var z = xe(Z);
|
|
@@ -8230,7 +8231,7 @@ function Qp(e, t) {
|
|
|
8230
8231
|
} = p(k, P);
|
|
8231
8232
|
return S.apply(E, _);
|
|
8232
8233
|
}
|
|
8233
|
-
function
|
|
8234
|
+
function g(k) {
|
|
8234
8235
|
return Fn((E) => k.get(E));
|
|
8235
8236
|
}
|
|
8236
8237
|
function I(k, E) {
|
|
@@ -8238,7 +8239,7 @@ function Qp(e, t) {
|
|
|
8238
8239
|
const P = /* @__PURE__ */ Object.create(null), S = /* @__PURE__ */ Object.create(null), _ = [], N = [], V = [];
|
|
8239
8240
|
let D, L, B, q;
|
|
8240
8241
|
for (let $ in n)
|
|
8241
|
-
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) => {
|
|
8242
8243
|
D[1].$scope.indexOf(_e) !== -1 && (P[$] = [D[2], D[1]], S[_e] = !0);
|
|
8243
8244
|
});
|
|
8244
8245
|
E.forEach(($) => {
|
|
@@ -8709,8 +8710,8 @@ te.prototype.scrollToElement = function(e, t) {
|
|
|
8709
8710
|
if (!(n.width < a.width && n.height < a.height))
|
|
8710
8711
|
l = n.x - a.x, p = n.y - a.y;
|
|
8711
8712
|
else {
|
|
8712
|
-
const
|
|
8713
|
-
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;
|
|
8714
8715
|
}
|
|
8715
8716
|
this.scroll({ dx: -l * o, dy: -p * o });
|
|
8716
8717
|
};
|
|
@@ -9628,7 +9629,7 @@ function pb(e) {
|
|
|
9628
9629
|
function rd(e) {
|
|
9629
9630
|
if (!this)
|
|
9630
9631
|
return new rd(e);
|
|
9631
|
-
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;
|
|
9632
9633
|
function z(E) {
|
|
9633
9634
|
E instanceof Error || (E = Ki(E)), R = E, a(E, d);
|
|
9634
9635
|
}
|
|
@@ -9685,11 +9686,11 @@ function rd(e) {
|
|
|
9685
9686
|
Q = !0;
|
|
9686
9687
|
};
|
|
9687
9688
|
function k(E) {
|
|
9688
|
-
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;
|
|
9689
9690
|
function Y() {
|
|
9690
9691
|
if (O !== null)
|
|
9691
9692
|
return O;
|
|
9692
|
-
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;
|
|
9693
9694
|
e:
|
|
9694
9695
|
for (; A < J; A++)
|
|
9695
9696
|
if (ze = !1, W = T.charCodeAt(A), !(W === 32 || W < 14 && W > 8)) {
|
|
@@ -9722,7 +9723,7 @@ function rd(e) {
|
|
|
9722
9723
|
Jt[de] = pe;
|
|
9723
9724
|
continue;
|
|
9724
9725
|
}
|
|
9725
|
-
if (
|
|
9726
|
+
if (g) {
|
|
9726
9727
|
if (ce = de === "xmlns" ? "xmlns" : de.charCodeAt(0) === 120 && de.substr(0, 6) === "xmlns:" ? de.substr(6) : null, ce !== null) {
|
|
9727
9728
|
if (ne = yi(pe), f = Aa(ce), Se = Z[ne], !Se) {
|
|
9728
9729
|
if (ce === "xmlns" || f in S && S[f] !== ne)
|
|
@@ -9749,7 +9750,7 @@ function rd(e) {
|
|
|
9749
9750
|
}
|
|
9750
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;
|
|
9751
9752
|
}
|
|
9752
|
-
if (
|
|
9753
|
+
if (g)
|
|
9753
9754
|
for (A = 0, J = m.length; A < J; A++) {
|
|
9754
9755
|
if (de = m[A++], pe = m[A], W = de.indexOf(":"), W !== -1) {
|
|
9755
9756
|
if (!(c = S[de.substring(0, W)])) {
|
|
@@ -9798,7 +9799,7 @@ function rd(e) {
|
|
|
9798
9799
|
} else if (E.substring(q, B).trim() && (U(oc), Q))
|
|
9799
9800
|
return;
|
|
9800
9801
|
}
|
|
9801
|
-
if (
|
|
9802
|
+
if (y = E.charCodeAt(B + 1), y === 33) {
|
|
9802
9803
|
if (oe = E.charCodeAt(B + 2), oe === 91 && E.substr(B + 3, 6) === "CDATA[") {
|
|
9803
9804
|
if (q = E.indexOf("]]>", B), q === -1)
|
|
9804
9805
|
return z("unclosed cdata");
|
|
@@ -9816,7 +9817,7 @@ function rd(e) {
|
|
|
9816
9817
|
continue;
|
|
9817
9818
|
}
|
|
9818
9819
|
}
|
|
9819
|
-
if (
|
|
9820
|
+
if (y === 63) {
|
|
9820
9821
|
if (q = E.indexOf("?>", B), q === -1)
|
|
9821
9822
|
return z("unclosed question");
|
|
9822
9823
|
if (p && (p(E.substring(B, q + 2), d), Q))
|
|
@@ -9836,26 +9837,26 @@ function rd(e) {
|
|
|
9836
9837
|
break;
|
|
9837
9838
|
}
|
|
9838
9839
|
}
|
|
9839
|
-
if (
|
|
9840
|
+
if (y === 33) {
|
|
9840
9841
|
if (h && (h(E.substring(B, q + 1), yi, d), Q))
|
|
9841
9842
|
return;
|
|
9842
9843
|
q += 1;
|
|
9843
9844
|
continue;
|
|
9844
9845
|
}
|
|
9845
|
-
if (O = {},
|
|
9846
|
+
if (O = {}, y === 47) {
|
|
9846
9847
|
if (D = !1, L = !0, !N.length)
|
|
9847
9848
|
return z("missing open tag");
|
|
9848
9849
|
if ($ = M = N.pop(), oe = B + 2 + $.length, E.substring(B + 2, oe) !== $)
|
|
9849
9850
|
return z("closing tag mismatch");
|
|
9850
9851
|
for (; oe < q; oe++)
|
|
9851
|
-
if (
|
|
9852
|
+
if (y = E.charCodeAt(oe), !(y === 32 || y > 8 && y < 14))
|
|
9852
9853
|
return z("close tag");
|
|
9853
9854
|
} else {
|
|
9854
|
-
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))
|
|
9855
9856
|
return z("illegal first char nodeName");
|
|
9856
9857
|
for (oe = 1, _e = $.length; oe < _e; oe++)
|
|
9857
|
-
if (
|
|
9858
|
-
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) {
|
|
9859
9860
|
M = $.substring(0, oe), O = null;
|
|
9860
9861
|
break;
|
|
9861
9862
|
}
|
|
@@ -9864,10 +9865,10 @@ function rd(e) {
|
|
|
9864
9865
|
L || N.push(M);
|
|
9865
9866
|
}
|
|
9866
9867
|
if (I) {
|
|
9867
|
-
if (_ = S, D && (L || P.push(_), O === null && (
|
|
9868
|
-
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)
|
|
9869
9870
|
return z("missing namespace on <" + H + ">");
|
|
9870
|
-
M = M.substr(
|
|
9871
|
+
M = M.substr(y + 1);
|
|
9871
9872
|
} else
|
|
9872
9873
|
x = S.xmlns;
|
|
9873
9874
|
x && (M = x + ":" + M);
|
|
@@ -10011,11 +10012,11 @@ je.prototype.createElement = function(e) {
|
|
|
10011
10012
|
var t = e.attributes, i = this.type, s = Ft(i), n = this.context, r = new i({}), a = this.model, o;
|
|
10012
10013
|
return G(t, function(l, p) {
|
|
10013
10014
|
var h = s.propertiesByName[p], d;
|
|
10014
|
-
h && h.isReference ? h.isMany ? (d = l.split(" "), G(d, function(
|
|
10015
|
+
h && h.isReference ? h.isMany ? (d = l.split(" "), G(d, function(g) {
|
|
10015
10016
|
n.addReference({
|
|
10016
10017
|
element: r,
|
|
10017
10018
|
property: h.ns.name,
|
|
10018
|
-
id:
|
|
10019
|
+
id: g
|
|
10019
10020
|
});
|
|
10020
10021
|
})) : n.addReference({
|
|
10021
10022
|
element: r,
|
|
@@ -10139,7 +10140,7 @@ Ao.prototype.fromXML = function(e, t, i) {
|
|
|
10139
10140
|
V.set(L.name, D);
|
|
10140
10141
|
}
|
|
10141
10142
|
}
|
|
10142
|
-
function
|
|
10143
|
+
function g() {
|
|
10143
10144
|
l.pop().handleEnd();
|
|
10144
10145
|
}
|
|
10145
10146
|
var I = /^<\?xml /i, R = / encoding="([^"]+)"/i, Q = /^utf-8$/i;
|
|
@@ -10185,7 +10186,7 @@ Ao.prototype.fromXML = function(e, t, i) {
|
|
|
10185
10186
|
ns: P.ns
|
|
10186
10187
|
};
|
|
10187
10188
|
z(L, N);
|
|
10188
|
-
}).on("question", Z).on("closeTag",
|
|
10189
|
+
}).on("question", Z).on("closeTag", g).on("cdata", U).on("text", function(P, S, _) {
|
|
10189
10190
|
k(S(P), _);
|
|
10190
10191
|
}).on("error", p).on("warn", h), new Promise(function(P, S) {
|
|
10191
10192
|
var _;
|
|
@@ -14212,7 +14213,7 @@ function S0(e, t) {
|
|
|
14212
14213
|
function d(C, w) {
|
|
14213
14214
|
e.error(C, w);
|
|
14214
14215
|
}
|
|
14215
|
-
var
|
|
14216
|
+
var g = this.registerDi = function(w) {
|
|
14216
14217
|
var O = w.bpmnElement;
|
|
14217
14218
|
O ? n[O.id] ? d(
|
|
14218
14219
|
t("multiple DI elements defined for {element}", {
|
|
@@ -14230,10 +14231,10 @@ function S0(e, t) {
|
|
|
14230
14231
|
R(C.plane);
|
|
14231
14232
|
}
|
|
14232
14233
|
function R(C) {
|
|
14233
|
-
|
|
14234
|
+
g(C), G(C.planeElement, Q);
|
|
14234
14235
|
}
|
|
14235
14236
|
function Q(C) {
|
|
14236
|
-
|
|
14237
|
+
g(C);
|
|
14237
14238
|
}
|
|
14238
14239
|
this.handleDefinitions = function(w, O) {
|
|
14239
14240
|
var Y = w.diagrams;
|
|
@@ -14256,7 +14257,7 @@ function S0(e, t) {
|
|
|
14256
14257
|
plane: Re(ee),
|
|
14257
14258
|
rootElement: Re(ne)
|
|
14258
14259
|
})
|
|
14259
|
-
), ee.bpmnElement = ne,
|
|
14260
|
+
), ee.bpmnElement = ne, g(ee);
|
|
14260
14261
|
else
|
|
14261
14262
|
throw new Error(t("no process or collaboration to display"));
|
|
14262
14263
|
var f = p(ne, ee);
|
|
@@ -14338,11 +14339,11 @@ function S0(e, t) {
|
|
|
14338
14339
|
function oe(C, w) {
|
|
14339
14340
|
G(C.lanes, r(_e, w));
|
|
14340
14341
|
}
|
|
14341
|
-
function
|
|
14342
|
+
function y(C, w) {
|
|
14342
14343
|
G(C, r(oe, w));
|
|
14343
14344
|
}
|
|
14344
14345
|
function v(C, w) {
|
|
14345
|
-
x(C.flowElements, w), C.laneSets &&
|
|
14346
|
+
x(C.flowElements, w), C.laneSets && y(C.laneSets, w);
|
|
14346
14347
|
}
|
|
14347
14348
|
function x(C, w) {
|
|
14348
14349
|
G(C, function(O) {
|
|
@@ -14378,7 +14379,7 @@ function S0(e, t) {
|
|
|
14378
14379
|
function P0(e, t, i) {
|
|
14379
14380
|
var s, n, r, a, o, l = [];
|
|
14380
14381
|
function p(h, d) {
|
|
14381
|
-
var
|
|
14382
|
+
var g = {
|
|
14382
14383
|
root: function(Z, z) {
|
|
14383
14384
|
return s.add(Z, z);
|
|
14384
14385
|
},
|
|
@@ -14388,7 +14389,7 @@ function P0(e, t, i) {
|
|
|
14388
14389
|
error: function(Z, z) {
|
|
14389
14390
|
l.push({ message: Z, context: z });
|
|
14390
14391
|
}
|
|
14391
|
-
}, I = new S0(
|
|
14392
|
+
}, I = new S0(g, r);
|
|
14392
14393
|
d = d || h.diagrams && h.diagrams[0];
|
|
14393
14394
|
var R = D0(h, d);
|
|
14394
14395
|
if (!R)
|
|
@@ -14407,8 +14408,8 @@ function P0(e, t, i) {
|
|
|
14407
14408
|
error: o,
|
|
14408
14409
|
warnings: l
|
|
14409
14410
|
}), h({ warnings: l });
|
|
14410
|
-
} catch (
|
|
14411
|
-
return
|
|
14411
|
+
} catch (g) {
|
|
14412
|
+
return g.warnings = l, d(g);
|
|
14412
14413
|
}
|
|
14413
14414
|
});
|
|
14414
14415
|
}
|
|
@@ -14502,10 +14503,10 @@ Ne.prototype.importXML = async function(t, i) {
|
|
|
14502
14503
|
let a;
|
|
14503
14504
|
try {
|
|
14504
14505
|
a = await this._moddle.fromXML(t, "bpmn:Definitions");
|
|
14505
|
-
} catch (
|
|
14506
|
+
} catch (g) {
|
|
14506
14507
|
throw this._emit("import.parse.complete", {
|
|
14507
|
-
error:
|
|
14508
|
-
}),
|
|
14508
|
+
error: g
|
|
14509
|
+
}), g;
|
|
14509
14510
|
}
|
|
14510
14511
|
let o = a.rootElement;
|
|
14511
14512
|
const l = a.references, p = a.warnings, h = a.elementsById;
|
|
@@ -14726,8 +14727,8 @@ function Ad(e, t) {
|
|
|
14726
14727
|
function n(o) {
|
|
14727
14728
|
var l = i.start, p = i.button, h = dc(o), d = pc(h, l);
|
|
14728
14729
|
if (!i.dragging && Y0(d) > z0 && (i.dragging = !0, p === 0 && W0(e), vd("grab")), i.dragging) {
|
|
14729
|
-
var
|
|
14730
|
-
d = pc(h,
|
|
14730
|
+
var g = i.last || i.start;
|
|
14731
|
+
d = pc(h, g), t.scroll({
|
|
14731
14732
|
dx: d.x,
|
|
14732
14733
|
dy: d.y
|
|
14733
14734
|
}), i.last = h;
|
|
@@ -14917,8 +14918,8 @@ function tC(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
|
14917
14918
|
ss: l,
|
|
14918
14919
|
ww: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"][p]
|
|
14919
14920
|
};
|
|
14920
|
-
for (let
|
|
14921
|
-
t = t.replace(
|
|
14921
|
+
for (let g in d)
|
|
14922
|
+
t = t.replace(g, d[g]);
|
|
14922
14923
|
return t;
|
|
14923
14924
|
}
|
|
14924
14925
|
function iC(e) {
|
|
@@ -14949,8 +14950,8 @@ function iC(e) {
|
|
|
14949
14950
|
p += `<span title='${r}'>${d}</span><br>`;
|
|
14950
14951
|
}
|
|
14951
14952
|
if (o && o.length > 0) {
|
|
14952
|
-
let d, { type:
|
|
14953
|
-
|
|
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>`);
|
|
14954
14955
|
}
|
|
14955
14956
|
l.tooltip = p;
|
|
14956
14957
|
}
|
|
@@ -14985,8 +14986,8 @@ function Ed(e) {
|
|
|
14985
14986
|
n,
|
|
14986
14987
|
"YYYY-MM-DD HH:mm"
|
|
14987
14988
|
)}</span><br>`), a && a.length > 0) {
|
|
14988
|
-
let h, { type: d, fullMessage:
|
|
14989
|
-
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>`);
|
|
14990
14991
|
}
|
|
14991
14992
|
o.tooltip = l;
|
|
14992
14993
|
}
|
|
@@ -15355,10 +15356,10 @@ function kn(e, t, i) {
|
|
|
15355
15356
|
l ? Ia : Ii
|
|
15356
15357
|
), {
|
|
15357
15358
|
next() {
|
|
15358
|
-
const { value: d, done:
|
|
15359
|
-
return
|
|
15359
|
+
const { value: d, done: g } = p.next();
|
|
15360
|
+
return g ? { value: d, done: g } : {
|
|
15360
15361
|
value: o ? [h(d[0]), h(d[1])] : h(d),
|
|
15361
|
-
done:
|
|
15362
|
+
done: g
|
|
15362
15363
|
};
|
|
15363
15364
|
},
|
|
15364
15365
|
[Symbol.iterator]() {
|
|
@@ -15907,8 +15908,8 @@ function vw(e, t, { immediate: i, deep: s, flush: n, onTrack: r, onTrigger: a }
|
|
|
15907
15908
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
15908
15909
|
);
|
|
15909
15910
|
}, p = CC() === ((o = hs) == null ? void 0 : o.scope) ? hs : null;
|
|
15910
|
-
let h, d = !1,
|
|
15911
|
-
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) => {
|
|
15912
15913
|
if (Ze(E))
|
|
15913
15914
|
return E.value;
|
|
15914
15915
|
if (Ni(E))
|
|
@@ -15932,16 +15933,16 @@ function vw(e, t, { immediate: i, deep: s, flush: n, onTrack: r, onTrigger: a }
|
|
|
15932
15933
|
I = U.onStop = () => {
|
|
15933
15934
|
_i(E, p, 4);
|
|
15934
15935
|
};
|
|
15935
|
-
}, Q =
|
|
15936
|
+
}, Q = g ? new Array(e.length).fill(Sn) : Sn;
|
|
15936
15937
|
const Z = () => {
|
|
15937
15938
|
if (!!U.active)
|
|
15938
15939
|
if (t) {
|
|
15939
15940
|
const E = U.run();
|
|
15940
|
-
(s || d || (
|
|
15941
|
+
(s || d || (g ? E.some(
|
|
15941
15942
|
(P, S) => ar(P, Q[S])
|
|
15942
15943
|
) : ar(E, Q))) && (I && I(), ka(t, p, 3, [
|
|
15943
15944
|
E,
|
|
15944
|
-
Q === Sn ? void 0 :
|
|
15945
|
+
Q === Sn ? void 0 : g && Q[0] === Sn ? [] : Q,
|
|
15945
15946
|
R
|
|
15946
15947
|
]), Q = E);
|
|
15947
15948
|
} else
|
|
@@ -16040,15 +16041,15 @@ const Cw = Symbol.for("v-ndc"), Sa = (e) => e ? Uw(e) ? Qw(e) || e.proxy : Sa(e.
|
|
|
16040
16041
|
}
|
|
16041
16042
|
}
|
|
16042
16043
|
const h = Ls[t];
|
|
16043
|
-
let d,
|
|
16044
|
+
let d, g;
|
|
16044
16045
|
if (h)
|
|
16045
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);
|
|
16046
16047
|
if ((d = o.__cssModules) && (d = d[t]))
|
|
16047
16048
|
return d;
|
|
16048
16049
|
if (i !== Pt && Pe(i, t))
|
|
16049
16050
|
return a[t] = 4, i[t];
|
|
16050
|
-
if (
|
|
16051
|
-
return
|
|
16051
|
+
if (g = l.config.globalProperties, Pe(g, t))
|
|
16052
|
+
return g[t];
|
|
16052
16053
|
process.env.NODE_ENV !== "production" && Xt && (!It(t) || t.indexOf("__v") !== 0) && (n !== Pt && ww(t[0]) && Pe(n, t) ? qe(
|
|
16053
16054
|
`Property ${JSON.stringify(
|
|
16054
16055
|
t
|
|
@@ -16455,12 +16456,12 @@ function Jw() {
|
|
|
16455
16456
|
}
|
|
16456
16457
|
};
|
|
16457
16458
|
function r(d) {
|
|
16458
|
-
const
|
|
16459
|
-
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)));
|
|
16460
16461
|
const I = l(d, "computed");
|
|
16461
|
-
I &&
|
|
16462
|
+
I && g.push(a("computed", I));
|
|
16462
16463
|
const R = l(d, "inject");
|
|
16463
|
-
return R &&
|
|
16464
|
+
return R && g.push(a("injected", R)), g.push([
|
|
16464
16465
|
"div",
|
|
16465
16466
|
{},
|
|
16466
16467
|
[
|
|
@@ -16471,10 +16472,10 @@ function Jw() {
|
|
|
16471
16472
|
"$ (internal): "
|
|
16472
16473
|
],
|
|
16473
16474
|
["object", { object: d }]
|
|
16474
|
-
]),
|
|
16475
|
+
]), g;
|
|
16475
16476
|
}
|
|
16476
|
-
function a(d,
|
|
16477
|
-
return
|
|
16477
|
+
function a(d, g) {
|
|
16478
|
+
return g = yt({}, g), Object.keys(g).length ? [
|
|
16478
16479
|
"div",
|
|
16479
16480
|
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
16480
16481
|
[
|
|
@@ -16489,30 +16490,30 @@ function Jw() {
|
|
|
16489
16490
|
{
|
|
16490
16491
|
style: "padding-left:1.25em"
|
|
16491
16492
|
},
|
|
16492
|
-
...Object.keys(
|
|
16493
|
+
...Object.keys(g).map((I) => [
|
|
16493
16494
|
"div",
|
|
16494
16495
|
{},
|
|
16495
16496
|
["span", s, I + ": "],
|
|
16496
|
-
o(
|
|
16497
|
+
o(g[I], !1)
|
|
16497
16498
|
])
|
|
16498
16499
|
]
|
|
16499
16500
|
] : ["span", {}];
|
|
16500
16501
|
}
|
|
16501
|
-
function o(d,
|
|
16502
|
-
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)];
|
|
16503
16504
|
}
|
|
16504
|
-
function l(d,
|
|
16505
|
+
function l(d, g) {
|
|
16505
16506
|
const I = d.type;
|
|
16506
16507
|
if (He(I))
|
|
16507
16508
|
return;
|
|
16508
16509
|
const R = {};
|
|
16509
16510
|
for (const Q in d.ctx)
|
|
16510
|
-
p(I, Q,
|
|
16511
|
+
p(I, Q, g) && (R[Q] = d.ctx[Q]);
|
|
16511
16512
|
return R;
|
|
16512
16513
|
}
|
|
16513
|
-
function p(d,
|
|
16514
|
+
function p(d, g, I) {
|
|
16514
16515
|
const R = d[I];
|
|
16515
|
-
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)))
|
|
16516
16517
|
return !0;
|
|
16517
16518
|
}
|
|
16518
16519
|
function h(d) {
|
|
@@ -17048,9 +17049,13 @@ var aE = function() {
|
|
|
17048
17049
|
timestamp: s.endTime || s.createTime,
|
|
17049
17050
|
placement: "top"
|
|
17050
17051
|
}
|
|
17051
|
-
}, [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
|
+
staticClass: "flow-name"
|
|
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", {
|
|
17052
17057
|
staticClass: "flow-name"
|
|
17053
|
-
}, [e._v(e._s(s.assigneeName || (s.comments && s.comments.length > 0 ?
|
|
17058
|
+
}, [e._v(e._s(s.assigneeName || (s.comments && s.comments.length > 0 ? e.my(s) : "")))]), e._v(" \u5728 "), i("span", {
|
|
17054
17059
|
staticClass: "flow-time"
|
|
17055
17060
|
}, [e._v(e._s(s.createTime))]), e._v(" \u5F00\u59CB\u5904\u7406 "), i("span", {
|
|
17056
17061
|
staticClass: "flow-node"
|
|
@@ -17090,7 +17095,7 @@ var aE = function() {
|
|
|
17090
17095
|
"font-size": "12px"
|
|
17091
17096
|
}
|
|
17092
17097
|
}, [e._v(e._s(r.time))]) : e._e()] : e._e()];
|
|
17093
|
-
})] : e._e(), s.endTime ? i("p", {
|
|
17098
|
+
})] : e._e(), s.endTime && s.historyActivityType != "startEvent" ? i("p", {
|
|
17094
17099
|
staticClass: "flow-time"
|
|
17095
17100
|
}, [e._v("\u7ED3\u675F\u65F6\u95F4: " + e._s(s.endTime))]) : e._e(), i("div", {
|
|
17096
17101
|
staticClass: "p-file"
|
|
@@ -17151,6 +17156,15 @@ const lE = {
|
|
|
17151
17156
|
};
|
|
17152
17157
|
},
|
|
17153
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
|
+
},
|
|
17154
17168
|
handleClick() {
|
|
17155
17169
|
this.isFlag = !this.isFlag, this.toggleText = this.isFlag ? "\u6536\u8D77" : "\u5C55\u5F00";
|
|
17156
17170
|
}
|
|
@@ -17162,7 +17176,7 @@ var cE = /* @__PURE__ */ Ae(
|
|
|
17162
17176
|
oE,
|
|
17163
17177
|
!1,
|
|
17164
17178
|
uE,
|
|
17165
|
-
"
|
|
17179
|
+
"75a69229",
|
|
17166
17180
|
null,
|
|
17167
17181
|
null
|
|
17168
17182
|
);
|
|
@@ -17344,8 +17358,8 @@ const AE = {
|
|
|
17344
17358
|
let n = !1, r, a, o = 0, l = 0, p = 0, h = 0;
|
|
17345
17359
|
t.addEventListener("touchstart", (d) => {
|
|
17346
17360
|
n = !0;
|
|
17347
|
-
const
|
|
17348
|
-
r =
|
|
17361
|
+
const g = d.touches[0];
|
|
17362
|
+
r = g.clientX, a = g.clientY;
|
|
17349
17363
|
const I = i.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);
|
|
17350
17364
|
o = parseFloat(I[4]), l = parseFloat(I[5]);
|
|
17351
17365
|
const R = this.getTransformMatrix(s.style.transform);
|
|
@@ -17353,7 +17367,7 @@ const AE = {
|
|
|
17353
17367
|
}), t.addEventListener("touchmove", (d) => {
|
|
17354
17368
|
if (!n)
|
|
17355
17369
|
return;
|
|
17356
|
-
const
|
|
17370
|
+
const g = d.touches[0], I = g.clientX - r, R = g.clientY - a;
|
|
17357
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();
|
|
17358
17372
|
}), t.addEventListener("touchend", () => {
|
|
17359
17373
|
n = !1;
|
|
@@ -17931,7 +17945,7 @@ var RE = function() {
|
|
|
17931
17945
|
ref: "TopPopupFixedPerson",
|
|
17932
17946
|
attrs: {
|
|
17933
17947
|
visible: e.showFixedPerson,
|
|
17934
|
-
titleText: "\u9009\u62E9\u4EBA\u5458(" + e.
|
|
17948
|
+
titleText: "\u9009\u62E9\u4EBA\u5458(" + e.originFixedPersonList.length + "\u4EBA)",
|
|
17935
17949
|
isIndex: 99,
|
|
17936
17950
|
className: "sumbmitPopup-index",
|
|
17937
17951
|
comfigText: "\u786E\u5B9A",
|
|
@@ -17941,6 +17955,57 @@ var RE = function() {
|
|
|
17941
17955
|
"update:visible": e.updateVisible
|
|
17942
17956
|
}
|
|
17943
17957
|
}, [i("div", {
|
|
17958
|
+
staticClass: "st-head"
|
|
17959
|
+
}, [i("input", {
|
|
17960
|
+
directives: [{
|
|
17961
|
+
name: "model",
|
|
17962
|
+
rawName: "v-model",
|
|
17963
|
+
value: e.searchText,
|
|
17964
|
+
expression: "searchText"
|
|
17965
|
+
}],
|
|
17966
|
+
staticClass: "st-head-input",
|
|
17967
|
+
attrs: {
|
|
17968
|
+
type: "text",
|
|
17969
|
+
placeholder: "\u8F93\u5165\u67E5\u8BE2"
|
|
17970
|
+
},
|
|
17971
|
+
domProps: {
|
|
17972
|
+
value: e.searchText
|
|
17973
|
+
},
|
|
17974
|
+
on: {
|
|
17975
|
+
keyup: function(s) {
|
|
17976
|
+
return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.handleSearchPerson.apply(null, arguments);
|
|
17977
|
+
},
|
|
17978
|
+
input: function(s) {
|
|
17979
|
+
s.target.composing || (e.searchText = s.target.value);
|
|
17980
|
+
}
|
|
17981
|
+
}
|
|
17982
|
+
}), i("div", {
|
|
17983
|
+
directives: [{
|
|
17984
|
+
name: "show",
|
|
17985
|
+
rawName: "v-show",
|
|
17986
|
+
value: e.searchText,
|
|
17987
|
+
expression: "searchText"
|
|
17988
|
+
}],
|
|
17989
|
+
staticClass: "st-head-clear",
|
|
17990
|
+
on: {
|
|
17991
|
+
click: e.handleClearSearch
|
|
17992
|
+
}
|
|
17993
|
+
}, [i("svg", {
|
|
17994
|
+
staticClass: "icon",
|
|
17995
|
+
attrs: {
|
|
17996
|
+
t: "1766114768811",
|
|
17997
|
+
viewBox: "0 0 1024 1024",
|
|
17998
|
+
version: "1.1",
|
|
17999
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18000
|
+
"p-id": "7665"
|
|
18001
|
+
}
|
|
18002
|
+
}, [i("path", {
|
|
18003
|
+
attrs: {
|
|
18004
|
+
d: "M507.168 473.232L716.48 263.936a16 16 0 0 1 22.624 0l11.312 11.312a16 16 0 0 1 0 22.624L541.12 507.168 750.4 716.48a16 16 0 0 1 0 22.624l-11.312 11.312a16 16 0 0 1-22.624 0L507.168 541.12 297.872 750.4a16 16 0 0 1-22.624 0l-11.312-11.312a16 16 0 0 1 0-22.624l209.296-209.312-209.296-209.296a16 16 0 0 1 0-22.624l11.312-11.312a16 16 0 0 1 22.624 0l209.296 209.296z",
|
|
18005
|
+
"p-id": "7666",
|
|
18006
|
+
fill: "#cdcdcd"
|
|
18007
|
+
}
|
|
18008
|
+
})])])]), i("div", {
|
|
17944
18009
|
staticClass: "s-tree"
|
|
17945
18010
|
}, e._l([].concat(e.fixedPersonList), function(s) {
|
|
17946
18011
|
return i("div", {
|
|
@@ -18004,7 +18069,107 @@ var RE = function() {
|
|
|
18004
18069
|
}, [e._v(e._s(s.realName))]), i("div", {
|
|
18005
18070
|
staticClass: "node-name-phone"
|
|
18006
18071
|
}, [e._v(e._s(s.phonenumber))])])]);
|
|
18007
|
-
}), 0)
|
|
18072
|
+
}), 0), i("div", {
|
|
18073
|
+
staticClass: "st-footer-box"
|
|
18074
|
+
}, [i("div", {
|
|
18075
|
+
staticClass: "st-footer"
|
|
18076
|
+
}, [i("div", {
|
|
18077
|
+
staticClass: "st-footer-left",
|
|
18078
|
+
on: {
|
|
18079
|
+
click: e.expandSelect
|
|
18080
|
+
}
|
|
18081
|
+
}, [i("div", {
|
|
18082
|
+
staticClass: "st-footer-text"
|
|
18083
|
+
}, [e._v("\u5DF2\u9009\u62E9" + e._s(e.mySelectIds.length) + "\u4E2A\u6210\u5458")]), i("div", {
|
|
18084
|
+
staticClass: "st-footer-svg"
|
|
18085
|
+
}, [i("svg", {
|
|
18086
|
+
staticClass: "icon",
|
|
18087
|
+
attrs: {
|
|
18088
|
+
t: "1766111528552",
|
|
18089
|
+
viewBox: "0 0 1024 1024",
|
|
18090
|
+
version: "1.1",
|
|
18091
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18092
|
+
"p-id": "4604",
|
|
18093
|
+
id: "mx_n_1766111528554"
|
|
18094
|
+
}
|
|
18095
|
+
}, [i("path", {
|
|
18096
|
+
attrs: {
|
|
18097
|
+
d: "M166.997333 751.850667L106.666667 691.498667 520.832 277.333333l414.165333 414.165334L874.666667 751.850667 520.832 398.016z",
|
|
18098
|
+
fill: "#1389ff",
|
|
18099
|
+
"p-id": "4605"
|
|
18100
|
+
}
|
|
18101
|
+
})])])]), i("div", {
|
|
18102
|
+
staticClass: "st-footer-right"
|
|
18103
|
+
}, [i("div", {
|
|
18104
|
+
staticClass: "st-footer-btn",
|
|
18105
|
+
on: {
|
|
18106
|
+
click: e.handleSumbitFixedPerson
|
|
18107
|
+
}
|
|
18108
|
+
}, [e._v("\u786E\u5B9A")])])])]), i("TopPopup", {
|
|
18109
|
+
ref: "TopPopupSelectPerson",
|
|
18110
|
+
attrs: {
|
|
18111
|
+
visible: e.showSelectPerson,
|
|
18112
|
+
showHeader: !1,
|
|
18113
|
+
isIndex: 120,
|
|
18114
|
+
className: "sumbmitPopup-index"
|
|
18115
|
+
},
|
|
18116
|
+
on: {
|
|
18117
|
+
"update:visible": e.updateSelectVisible
|
|
18118
|
+
}
|
|
18119
|
+
}, [i("div", {
|
|
18120
|
+
staticClass: "s-thead"
|
|
18121
|
+
}, [i("div", {
|
|
18122
|
+
staticClass: "s-thead-left"
|
|
18123
|
+
}, [e._v(" \u5DF2\u9009\u62E9\u4EBA\u5458(" + e._s(e.mySelect.length) + ") ")]), i("div", {
|
|
18124
|
+
staticClass: "s-thead-right"
|
|
18125
|
+
}, [i("div", {
|
|
18126
|
+
staticClass: "s-thead-btn",
|
|
18127
|
+
on: {
|
|
18128
|
+
click: e.handleClearSelect
|
|
18129
|
+
}
|
|
18130
|
+
}, [e._v("\u6E05\u7A7A")]), i("div", {
|
|
18131
|
+
staticClass: "s-thead-btn s-thead-btn-close",
|
|
18132
|
+
on: {
|
|
18133
|
+
click: function(s) {
|
|
18134
|
+
return e.updateSelectVisible(!1);
|
|
18135
|
+
}
|
|
18136
|
+
}
|
|
18137
|
+
}, [e._v("\u5173\u95ED")])])]), i("div", {
|
|
18138
|
+
staticClass: "s-tree"
|
|
18139
|
+
}, e._l([].concat(e.mySelect), function(s) {
|
|
18140
|
+
return i("div", {
|
|
18141
|
+
key: s.userId,
|
|
18142
|
+
staticClass: "s-node stt-node",
|
|
18143
|
+
on: {
|
|
18144
|
+
click: function(n) {
|
|
18145
|
+
return e.handleClickFixedPerson(s);
|
|
18146
|
+
}
|
|
18147
|
+
}
|
|
18148
|
+
}, [i("div", {
|
|
18149
|
+
staticClass: "stt-node-left"
|
|
18150
|
+
}, [s.avatar ? i("img", {
|
|
18151
|
+
staticClass: "node-avatar stt-node-avatar",
|
|
18152
|
+
attrs: {
|
|
18153
|
+
src: s.avatar,
|
|
18154
|
+
alt: "\u5934\u50CF"
|
|
18155
|
+
}
|
|
18156
|
+
}) : i("div", {
|
|
18157
|
+
staticClass: "node-avatar-text stt-node-avatar-text"
|
|
18158
|
+
}, [e._v(" " + e._s((s.realName || "").slice(-2)) + " ")]), i("div", {
|
|
18159
|
+
staticClass: "node-name"
|
|
18160
|
+
}, [i("div", {
|
|
18161
|
+
staticClass: "node-name-text"
|
|
18162
|
+
}, [e._v(e._s(s.realName))]), i("div", {
|
|
18163
|
+
staticClass: "node-name-phone"
|
|
18164
|
+
}, [e._v(e._s(s.phonenumber))])])]), i("div", {
|
|
18165
|
+
staticClass: "stt-node-right"
|
|
18166
|
+
}, [i("div", {
|
|
18167
|
+
staticClass: "s-thead-btn s-thead-btn-close",
|
|
18168
|
+
on: {
|
|
18169
|
+
click: e.handleRemoveSelect
|
|
18170
|
+
}
|
|
18171
|
+
}, [e._v("\u79FB\u9664")])])]);
|
|
18172
|
+
}), 0)])], 1);
|
|
18008
18173
|
}, LE = [];
|
|
18009
18174
|
const FE = {
|
|
18010
18175
|
name: "selectFixedPerson",
|
|
@@ -18012,7 +18177,6 @@ const FE = {
|
|
|
18012
18177
|
TopPopup: ct
|
|
18013
18178
|
},
|
|
18014
18179
|
props: {
|
|
18015
|
-
multiple: {},
|
|
18016
18180
|
visible: {
|
|
18017
18181
|
type: Boolean,
|
|
18018
18182
|
default: !1
|
|
@@ -18038,18 +18202,24 @@ const FE = {
|
|
|
18038
18202
|
return {
|
|
18039
18203
|
showFixedPerson: !1,
|
|
18040
18204
|
fixedPersonList: [],
|
|
18205
|
+
originFixedPersonList: [],
|
|
18041
18206
|
mySelect: [],
|
|
18042
|
-
mySelectIds: []
|
|
18207
|
+
mySelectIds: [],
|
|
18208
|
+
searchText: "",
|
|
18209
|
+
showSelectPerson: !1
|
|
18043
18210
|
};
|
|
18044
18211
|
},
|
|
18045
18212
|
watch: {
|
|
18213
|
+
searchText() {
|
|
18214
|
+
this.handleSearchPerson();
|
|
18215
|
+
},
|
|
18046
18216
|
visible: {
|
|
18047
18217
|
handler(e, t) {
|
|
18048
|
-
this.showFixedPerson = e, e ? (this.fixedPersonList = this.list || [], this.mySelect = this.select || [], this.mySelectIds = this.mySelect.map((i) => i.userId)) : (this.fixedPersonList = [], this.mySelect = [], this.mySelectIds = []);
|
|
18218
|
+
this.showFixedPerson = e, e ? (this.originFixedPersonList = this.list || [], this.fixedPersonList = this.list || [], this.mySelect = this.select || [], this.mySelectIds = this.mySelect.map((i) => i.userId)) : (this.originFixedPersonList = [], this.fixedPersonList = [], this.mySelect = [], this.mySelectIds = []);
|
|
18049
18219
|
},
|
|
18050
18220
|
immediate: !0
|
|
18051
18221
|
},
|
|
18052
|
-
|
|
18222
|
+
originFixedPersonList: {
|
|
18053
18223
|
handler(e, t) {
|
|
18054
18224
|
e && e.length > 0 && JSON.stringify(e) !== JSON.stringify(this.list) && this.$emit("updateList", e);
|
|
18055
18225
|
},
|
|
@@ -18058,12 +18228,29 @@ const FE = {
|
|
|
18058
18228
|
}
|
|
18059
18229
|
},
|
|
18060
18230
|
methods: {
|
|
18231
|
+
handleClearSearch() {
|
|
18232
|
+
this.searchText = "", this.handleSearchPerson();
|
|
18233
|
+
},
|
|
18234
|
+
handleSearchPerson() {
|
|
18235
|
+
this.fixedPersonList = this.originFixedPersonList.filter((e) => e.realName.includes(this.searchText));
|
|
18236
|
+
},
|
|
18237
|
+
expandSelect() {
|
|
18238
|
+
this.showSelectPerson = !0;
|
|
18239
|
+
},
|
|
18240
|
+
updateSelectVisible(e) {
|
|
18241
|
+
this.showSelectPerson = e;
|
|
18242
|
+
},
|
|
18061
18243
|
updateVisible(e) {
|
|
18062
18244
|
this.$emit("updateVisible", e);
|
|
18063
18245
|
},
|
|
18246
|
+
handleRemoveSelect(e) {
|
|
18247
|
+
this.mySelect = this.mySelect.filter((t) => t.userId !== e.userId), this.mySelectIds = this.mySelect.map((t) => t.userId), this.$emit("updateSelect", this.mySelect);
|
|
18248
|
+
},
|
|
18249
|
+
handleClearSelect() {
|
|
18250
|
+
this.mySelect = [], this.mySelectIds = [], this.$emit("updateSelect", this.mySelect);
|
|
18251
|
+
},
|
|
18064
18252
|
handleClickFixedPerson(e) {
|
|
18065
|
-
|
|
18066
|
-
this.multiple || (this.mySelect = [], this.mySelectIds = []), t ? (this.mySelect = this.select.filter((i) => i.userId !== e.userId), this.mySelectIds = this.mySelect.map((i) => i.userId)) : (this.mySelect.push(e), this.mySelectIds.push(e.userId)), this.$emit("updateSelect", this.mySelect);
|
|
18253
|
+
this.multiple || (this.mySelect = [], this.mySelectIds = []), this.multiple ? this.mySelectIds.includes(e.userId) ? (this.mySelect = this.mySelect.filter((i) => i.userId !== e.userId), this.mySelectIds = this.mySelect.map((i) => i.userId)) : (this.mySelect.push(e), this.mySelectIds.push(e.userId)) : (this.mySelect.push(e), this.mySelectIds.push(e.userId)), this.$emit("updateSelect", this.mySelect);
|
|
18067
18254
|
},
|
|
18068
18255
|
handleSumbitFixedPerson() {
|
|
18069
18256
|
this.$emit("confirm", this.mySelect);
|
|
@@ -18076,7 +18263,7 @@ var VE = /* @__PURE__ */ Ae(
|
|
|
18076
18263
|
LE,
|
|
18077
18264
|
!1,
|
|
18078
18265
|
jE,
|
|
18079
|
-
"
|
|
18266
|
+
"9bc5e56c",
|
|
18080
18267
|
null,
|
|
18081
18268
|
null
|
|
18082
18269
|
);
|
|
@@ -19048,7 +19235,7 @@ var QE = function() {
|
|
|
19048
19235
|
attrs: {
|
|
19049
19236
|
visible: e.showFixedPerson,
|
|
19050
19237
|
list: e.fixedPersonList,
|
|
19051
|
-
multiple:
|
|
19238
|
+
multiple: !0,
|
|
19052
19239
|
select: e.fixedSelect[e.personObjId] || []
|
|
19053
19240
|
},
|
|
19054
19241
|
on: {
|
|
@@ -19161,7 +19348,7 @@ var qE = /* @__PURE__ */ Ae(
|
|
|
19161
19348
|
GE,
|
|
19162
19349
|
!1,
|
|
19163
19350
|
JE,
|
|
19164
|
-
"
|
|
19351
|
+
"31686e90",
|
|
19165
19352
|
null,
|
|
19166
19353
|
null
|
|
19167
19354
|
);
|
|
@@ -23647,7 +23834,8 @@ const cI = /* @__PURE__ */ function() {
|
|
|
23647
23834
|
userIdData: "",
|
|
23648
23835
|
TopPopup1: !1,
|
|
23649
23836
|
cctaskTopPopup: !1,
|
|
23650
|
-
cctaskTopPopupTitle: "\u6284\u9001"
|
|
23837
|
+
cctaskTopPopupTitle: "\u6284\u9001",
|
|
23838
|
+
user: ""
|
|
23651
23839
|
};
|
|
23652
23840
|
},
|
|
23653
23841
|
watch: {
|
|
@@ -23662,11 +23850,17 @@ const cI = /* @__PURE__ */ function() {
|
|
|
23662
23850
|
this.ProcessInsObj = {
|
|
23663
23851
|
...this.ProcessInsObj,
|
|
23664
23852
|
...i.data
|
|
23665
|
-
}
|
|
23666
|
-
|
|
23667
|
-
|
|
23668
|
-
|
|
23669
|
-
|
|
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);
|
|
23670
23864
|
}
|
|
23671
23865
|
}), this.getCurrentProcess(), this.getUserInfo());
|
|
23672
23866
|
});
|
|
@@ -24206,7 +24400,7 @@ var pI = function() {
|
|
|
24206
24400
|
}
|
|
24207
24401
|
}, [i("span", {
|
|
24208
24402
|
staticClass: "process-mliv-jd"
|
|
24209
|
-
}, [e._v(e._s(`${e.
|
|
24403
|
+
}, [e._v(e._s(`${e.user}\u5BA1\u6279\u4E2D`))])])]) : e._e()]) : e._e(), i("div", {
|
|
24210
24404
|
staticClass: "process-card",
|
|
24211
24405
|
style: {
|
|
24212
24406
|
height: e.processCardHeight
|
|
@@ -24441,7 +24635,7 @@ var hI = /* @__PURE__ */ Ae(
|
|
|
24441
24635
|
dI,
|
|
24442
24636
|
!1,
|
|
24443
24637
|
fI,
|
|
24444
|
-
"
|
|
24638
|
+
"24df7d3f",
|
|
24445
24639
|
null,
|
|
24446
24640
|
null
|
|
24447
24641
|
);
|
|
@@ -24451,7 +24645,7 @@ function fI(e) {
|
|
|
24451
24645
|
}
|
|
24452
24646
|
const _I = /* @__PURE__ */ function() {
|
|
24453
24647
|
return hI.exports;
|
|
24454
|
-
}(), 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 = {
|
|
24455
24649
|
".": {
|
|
24456
24650
|
import: "./ddy-process-h5.js",
|
|
24457
24651
|
require: "./ddy-process-h5.umd.cjs"
|