lyflowchart 1.0.21 → 1.0.22
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/dist/index.js +305 -337
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ni, reactive as Ud, watch as _r, onMounted as co, resolveComponent as we, openBlock as Qe, createBlock as Et, withCtx as
|
|
1
|
+
import { defineComponent as ni, reactive as Ud, watch as _r, onMounted as co, resolveComponent as we, openBlock as Qe, createBlock as Et, withCtx as ue, createVNode as oe, createCommentVNode as tn, ref as je, inject as Lh, computed as $c, nextTick as _l, createElementBlock as er, createElementVNode as wt, withDirectives as Hc, createTextVNode as lt, vShow as zc, Fragment as jc, renderList as Gd, withKeys as wC, toDisplayString as Oh, provide as SC, normalizeClass as CC, onBeforeUnmount as TC } from "vue";
|
|
2
2
|
import { SearchOutlined as Ih, SyncOutlined as RE, RedoOutlined as AC, UserOutlined as PC, TeamOutlined as RC, CodeOutlined as DC, PlusOutlined as kC, QuestionCircleOutlined as MC, UploadOutlined as NC, DragOutlined as LC, ZoomInOutlined as OC, ZoomOutOutlined as IC } from "@ant-design/icons-vue";
|
|
3
3
|
import { Modal as BC, message as FC } from "ant-design-vue";
|
|
4
4
|
var $C = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -17,7 +17,7 @@ function DE() {
|
|
|
17
17
|
function J(i) {
|
|
18
18
|
return new RegExp("(^|\\s)" + i + "(?:$|\\s)\\s*");
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var le = function(i, a) {
|
|
21
21
|
var f = i.className, p = J(a).exec(f);
|
|
22
22
|
if (p) {
|
|
23
23
|
var h = f.slice(p.index + p[0].length);
|
|
@@ -253,9 +253,9 @@ function DE() {
|
|
|
253
253
|
return !1;
|
|
254
254
|
for (var q = P.length, V = [], re = 0; re < q; ++re)
|
|
255
255
|
V.push(f(P.charCodeAt(re)));
|
|
256
|
-
for (var
|
|
257
|
-
var be = V[
|
|
258
|
-
be == "m" ? V[
|
|
256
|
+
for (var se = 0, ve = $; se < q; ++se) {
|
|
257
|
+
var be = V[se];
|
|
258
|
+
be == "m" ? V[se] = ve : ve = be;
|
|
259
259
|
}
|
|
260
260
|
for (var xe = 0, Ee = $; xe < q; ++xe) {
|
|
261
261
|
var Ae = V[xe];
|
|
@@ -723,17 +723,17 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
723
723
|
f.baseTokens = h;
|
|
724
724
|
var O = i.state.overlays[P], $ = 1, q = 0;
|
|
725
725
|
f.state = !0, Qt(i, a.text, O.mode, f, function(V, re) {
|
|
726
|
-
for (var
|
|
726
|
+
for (var se = $; q < V; ) {
|
|
727
727
|
var ve = h[$];
|
|
728
728
|
ve > V && h.splice($, 1, V, h[$ + 1], ve), $ += 2, q = Math.min(V, ve);
|
|
729
729
|
}
|
|
730
730
|
if (re)
|
|
731
731
|
if (O.opaque)
|
|
732
|
-
h.splice(
|
|
732
|
+
h.splice(se, $ - se, V, "overlay " + re), $ = se + 2;
|
|
733
733
|
else
|
|
734
|
-
for (;
|
|
735
|
-
var be = h[
|
|
736
|
-
h[
|
|
734
|
+
for (; se < $; se += 2) {
|
|
735
|
+
var be = h[se + 1];
|
|
736
|
+
h[se + 1] = (be ? be + " " : "") + "overlay " + re;
|
|
737
737
|
}
|
|
738
738
|
}, g), f.state = E, f.baseTokens = null, f.baseTokenPos = 1;
|
|
739
739
|
}, w = 0; w < i.state.overlays.length; ++w)
|
|
@@ -921,12 +921,12 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
921
921
|
}
|
|
922
922
|
if (w)
|
|
923
923
|
for (var re = 0; re < w.length; ++re) {
|
|
924
|
-
var
|
|
925
|
-
if (
|
|
926
|
-
var ve = Ds(x,
|
|
927
|
-
ve || (
|
|
924
|
+
var se = w[re];
|
|
925
|
+
if (se.to != null && (se.to += O), se.from == null) {
|
|
926
|
+
var ve = Ds(x, se.marker);
|
|
927
|
+
ve || (se.from = O, P && (x || (x = [])).push(se));
|
|
928
928
|
} else
|
|
929
|
-
|
|
929
|
+
se.from += O, P && (x || (x = [])).push(se);
|
|
930
930
|
}
|
|
931
931
|
x && (x = Om(x)), w && w != x && (w = Om(w));
|
|
932
932
|
var be = [x];
|
|
@@ -953,8 +953,8 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
953
953
|
if (i.iter(a.line, f.line + 1, function(V) {
|
|
954
954
|
if (V.markedSpans)
|
|
955
955
|
for (var re = 0; re < V.markedSpans.length; ++re) {
|
|
956
|
-
var
|
|
957
|
-
|
|
956
|
+
var se = V.markedSpans[re].marker;
|
|
957
|
+
se.readOnly && (!p || Be(p, se) == -1) && (p || (p = [])).push(se);
|
|
958
958
|
}
|
|
959
959
|
}), !p)
|
|
960
960
|
return null;
|
|
@@ -1187,14 +1187,14 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
1187
1187
|
if (!q)
|
|
1188
1188
|
break;
|
|
1189
1189
|
$ += V + 1;
|
|
1190
|
-
var
|
|
1190
|
+
var se = void 0;
|
|
1191
1191
|
if (q[0] == " ") {
|
|
1192
1192
|
var ve = i.cm.options.tabSize, be = ve - i.col % ve;
|
|
1193
|
-
|
|
1193
|
+
se = O.appendChild(Y("span", _n(be), "cm-tab")), se.setAttribute("role", "presentation"), se.setAttribute("cm-text", " "), i.col += be;
|
|
1194
1194
|
} else
|
|
1195
1195
|
q[0] == "\r" || q[0] == `
|
|
1196
|
-
` ? (
|
|
1197
|
-
i.map.push(i.pos, i.pos + 1,
|
|
1196
|
+
` ? (se = O.appendChild(Y("span", q[0] == "\r" ? "␍" : "", "cm-invalidchar")), se.setAttribute("cm-text", q[0]), i.col += 1) : (se = i.cm.options.specialCharPlaceholder(q[0]), se.setAttribute("cm-text", q[0]), c && d < 9 ? O.appendChild(Y("span", [se])) : O.appendChild(se), i.col += 1);
|
|
1197
|
+
i.map.push(i.pos, i.pos + 1, se), i.pos++;
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
if (i.trailingSpace = x.charCodeAt(a.length - 1) == 32, f || p || h || P || g || E) {
|
|
@@ -1241,15 +1241,15 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
1241
1241
|
a.addToken(a, h.slice(g, g = f[E]), jm(f[E + 1], a.cm.options));
|
|
1242
1242
|
return;
|
|
1243
1243
|
}
|
|
1244
|
-
for (var x = h.length, w = 0, P = 1, O = "", $, q, V = 0, re,
|
|
1244
|
+
for (var x = h.length, w = 0, P = 1, O = "", $, q, V = 0, re, se, ve, be, xe; ; ) {
|
|
1245
1245
|
if (V == w) {
|
|
1246
|
-
re =
|
|
1246
|
+
re = se = ve = q = "", xe = null, be = null, V = 1 / 0;
|
|
1247
1247
|
for (var Ee = [], Ae = void 0, $e = 0; $e < p.length; ++$e) {
|
|
1248
1248
|
var Oe = p[$e], tt = Oe.marker;
|
|
1249
1249
|
if (tt.type == "bookmark" && Oe.from == w && tt.widgetNode)
|
|
1250
1250
|
Ee.push(tt);
|
|
1251
1251
|
else if (Oe.from <= w && (Oe.to == null || Oe.to > w || tt.collapsed && Oe.to == w && Oe.from == w)) {
|
|
1252
|
-
if (Oe.to != null && Oe.to != w && V > Oe.to && (V = Oe.to,
|
|
1252
|
+
if (Oe.to != null && Oe.to != w && V > Oe.to && (V = Oe.to, se = ""), tt.className && (re += " " + tt.className), tt.css && (q = (q ? q + ";" : "") + tt.css), tt.startStyle && Oe.from == w && (ve += " " + tt.startStyle), tt.endStyle && Oe.to == V && (Ae || (Ae = [])).push(tt.endStyle, Oe.to), tt.title && ((xe || (xe = {})).title = tt.title), tt.attributes)
|
|
1253
1253
|
for (var _t in tt.attributes)
|
|
1254
1254
|
(xe || (xe = {}))[_t] = tt.attributes[_t];
|
|
1255
1255
|
tt.collapsed && (!be || Tf(be.marker, tt) < 0) && (be = Oe);
|
|
@@ -1258,7 +1258,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
if (Ae)
|
|
1260
1260
|
for (var sn = 0; sn < Ae.length; sn += 2)
|
|
1261
|
-
Ae[sn + 1] == V && (
|
|
1261
|
+
Ae[sn + 1] == V && (se += " " + Ae[sn]);
|
|
1262
1262
|
if (!be || be.from == w)
|
|
1263
1263
|
for (var kt = 0; kt < Ee.length; ++kt)
|
|
1264
1264
|
Um(a, 0, Ee[kt]);
|
|
@@ -1285,7 +1285,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
1285
1285
|
Ut,
|
|
1286
1286
|
$ ? $ + re : re,
|
|
1287
1287
|
ve,
|
|
1288
|
-
w + Ut.length == V ?
|
|
1288
|
+
w + Ut.length == V ? se : "",
|
|
1289
1289
|
q,
|
|
1290
1290
|
xe
|
|
1291
1291
|
);
|
|
@@ -1604,7 +1604,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
1604
1604
|
var q = g.parentNode.getClientRects()[0];
|
|
1605
1605
|
q ? P = { left: q.left, right: q.left + Na(i.display), top: q.top, bottom: q.bottom } : P = eg;
|
|
1606
1606
|
}
|
|
1607
|
-
for (var V = P.top - a.rect.top, re = P.bottom - a.rect.top,
|
|
1607
|
+
for (var V = P.top - a.rect.top, re = P.bottom - a.rect.top, se = (V + re) / 2, ve = a.view.measure.heights, be = 0; be < ve.length - 1 && !(se < ve[be]); be++)
|
|
1608
1608
|
;
|
|
1609
1609
|
var xe = be ? ve[be - 1] : 0, Ee = ve[be], Ae = {
|
|
1610
1610
|
left: (w == "right" ? P.right : P.left) - a.rect.left,
|
|
@@ -1686,15 +1686,15 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
1686
1686
|
}
|
|
1687
1687
|
function Dr(i, a, f, p, h, g) {
|
|
1688
1688
|
p = p || Pe(i.doc, a.line), h || (h = ka(i, p));
|
|
1689
|
-
function E(re,
|
|
1690
|
-
var ve = Gr(i, h, re,
|
|
1691
|
-
return
|
|
1689
|
+
function E(re, se) {
|
|
1690
|
+
var ve = Gr(i, h, re, se ? "right" : "left", g);
|
|
1691
|
+
return se ? ve.left = ve.right : ve.right = ve.left, ku(i, p, ve, f);
|
|
1692
1692
|
}
|
|
1693
1693
|
var x = Pr(p, i.doc.direction), w = a.ch, P = a.sticky;
|
|
1694
1694
|
if (w >= p.text.length ? (w = p.text.length, P = "before") : w <= 0 && (w = 0, P = "after"), !x)
|
|
1695
1695
|
return E(P == "before" ? w - 1 : w, P == "before");
|
|
1696
|
-
function O(re,
|
|
1697
|
-
var be = x[
|
|
1696
|
+
function O(re, se, ve) {
|
|
1697
|
+
var be = x[se], xe = be.level == 1;
|
|
1698
1698
|
return E(ve ? re - 1 : re, xe != ve);
|
|
1699
1699
|
}
|
|
1700
1700
|
var $ = Mo(x, w, P), q = ko, V = O(w, $, P == "before");
|
|
@@ -1755,16 +1755,16 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
1755
1755
|
var q = null, V = null, re = ui(function($e) {
|
|
1756
1756
|
var Oe = Gr(i, g, $e);
|
|
1757
1757
|
return Oe.top += E, Oe.bottom += E, Bf(Oe, p, h, !1) ? (Oe.top <= h && Oe.left <= p && (q = $e, V = Oe), !0) : !1;
|
|
1758
|
-
}, x, w),
|
|
1758
|
+
}, x, w), se, ve, be = !1;
|
|
1759
1759
|
if (V) {
|
|
1760
1760
|
var xe = p - V.left < V.right - p, Ee = xe == P;
|
|
1761
|
-
re = q + (Ee ? 0 : 1), ve = Ee ? "after" : "before",
|
|
1761
|
+
re = q + (Ee ? 0 : 1), ve = Ee ? "after" : "before", se = xe ? V.left : V.right;
|
|
1762
1762
|
} else {
|
|
1763
1763
|
!P && (re == w || re == x) && re++, ve = re == 0 ? "after" : re == a.text.length ? "before" : Gr(i, g, re - (P ? 1 : 0)).bottom + E <= h == P ? "after" : "before";
|
|
1764
1764
|
var Ae = Dr(i, de(f, re, ve), "line", a, g);
|
|
1765
|
-
|
|
1765
|
+
se = Ae.left, be = h < Ae.top ? -1 : h >= Ae.bottom ? 1 : 0;
|
|
1766
1766
|
}
|
|
1767
|
-
return re = Do(a.text, re, 1), Of(f, re, ve, be, p -
|
|
1767
|
+
return re = Do(a.text, re, 1), Of(f, re, ve, be, p - se);
|
|
1768
1768
|
}
|
|
1769
1769
|
function sS(i, a, f, p, h, g, E) {
|
|
1770
1770
|
var x = ui(function($) {
|
|
@@ -1795,7 +1795,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
1795
1795
|
for (var O = null, $ = null, q = 0; q < h.length; q++) {
|
|
1796
1796
|
var V = h[q];
|
|
1797
1797
|
if (!(V.from >= P || V.to <= w)) {
|
|
1798
|
-
var re = V.level != 1,
|
|
1798
|
+
var re = V.level != 1, se = Gr(i, p, re ? Math.min(P, V.to) - 1 : Math.max(w, V.from)).right, ve = se < g ? g - se + 1e9 : se - g;
|
|
1799
1799
|
(!O || $ > ve) && (O = V, $ = ve);
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
@@ -2020,7 +2020,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
2020
2020
|
if (q.line == V.line)
|
|
2021
2021
|
$(q.line, q.ch, V.ch);
|
|
2022
2022
|
else {
|
|
2023
|
-
var re = Pe(h, q.line),
|
|
2023
|
+
var re = Pe(h, q.line), se = Pe(h, V.line), ve = Rr(re) == Rr(se), be = $(q.line, q.ch, ve ? re.text.length + 1 : null).end, xe = $(V.line, ve ? 0 : null, V.ch).start;
|
|
2024
2024
|
ve && (be.top < xe.top - 2 ? (O(be.right, be.top, null, be.bottom), O(x, xe.top, xe.left, xe.bottom)) : O(be.right, be.top, xe.left - be.right, be.bottom)), be.bottom < xe.top && O(x, be.bottom, null, xe.top);
|
|
2025
2025
|
}
|
|
2026
2026
|
f.appendChild(g);
|
|
@@ -2049,7 +2049,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
2049
2049
|
}, 20)), i.display.input.receivedFocus()), jf(i));
|
|
2050
2050
|
}
|
|
2051
2051
|
function La(i, a) {
|
|
2052
|
-
i.state.delayingBlurEvent || (i.state.focused && (Dt(i, "blur", i, a), i.state.focused = !1,
|
|
2052
|
+
i.state.delayingBlurEvent || (i.state.focused && (Dt(i, "blur", i, a), i.state.focused = !1, le(i.display.wrapper, "CodeMirror-focused")), clearInterval(i.display.blinker), setTimeout(function() {
|
|
2053
2053
|
i.state.focused || (i.display.shift = !1);
|
|
2054
2054
|
}, 150));
|
|
2055
2055
|
}
|
|
@@ -2069,8 +2069,8 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
2069
2069
|
for (var re = 0; re < x.rest.length; re++)
|
|
2070
2070
|
hg(x.rest[re]);
|
|
2071
2071
|
if (O > i.display.sizerWidth) {
|
|
2072
|
-
var
|
|
2073
|
-
|
|
2072
|
+
var se = Math.ceil(O / Na(i.display));
|
|
2073
|
+
se > i.display.maxLineLength && (i.display.maxLineLength = se, i.display.maxLine = x.line, i.display.maxLineChanged = !0);
|
|
2074
2074
|
}
|
|
2075
2075
|
}
|
|
2076
2076
|
}
|
|
@@ -2260,7 +2260,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
2260
2260
|
}
|
|
2261
2261
|
var yg = { native: Ko, null: $s };
|
|
2262
2262
|
function bg(i) {
|
|
2263
|
-
i.display.scrollbars && (i.display.scrollbars.clear(), i.display.scrollbars.addClass &&
|
|
2263
|
+
i.display.scrollbars && (i.display.scrollbars.clear(), i.display.scrollbars.addClass && le(i.display.wrapper, i.display.scrollbars.addClass)), i.display.scrollbars = new yg[i.options.scrollbarStyle](function(a) {
|
|
2264
2264
|
i.display.wrapper.insertBefore(a, i.display.scrollbarFiller), He(a, "mousedown", function() {
|
|
2265
2265
|
i.state.focused && setTimeout(function() {
|
|
2266
2266
|
return i.display.input.focus();
|
|
@@ -2512,8 +2512,8 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
2512
2512
|
function TS(i, a, f) {
|
|
2513
2513
|
var p = i.display, h = i.options.lineNumbers, g = p.lineDiv, E = g.firstChild;
|
|
2514
2514
|
function x(re) {
|
|
2515
|
-
var
|
|
2516
|
-
return v && k && i.display.currentWheelTarget == re ? re.style.display = "none" : re.parentNode.removeChild(re),
|
|
2515
|
+
var se = re.nextSibling;
|
|
2516
|
+
return v && k && i.display.currentWheelTarget == re ? re.style.display = "none" : re.parentNode.removeChild(re), se;
|
|
2517
2517
|
}
|
|
2518
2518
|
for (var w = p.view, P = p.viewFrom, O = 0; O < w.length; O++) {
|
|
2519
2519
|
var $ = w[O];
|
|
@@ -2634,8 +2634,8 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
2634
2634
|
return;
|
|
2635
2635
|
}
|
|
2636
2636
|
if (h && g != null) {
|
|
2637
|
-
var V = h * g, re = i.doc.scrollTop,
|
|
2638
|
-
V < 0 ? re = Math.max(0, re + V - 50) :
|
|
2637
|
+
var V = h * g, re = i.doc.scrollTop, se = re + E.wrapper.clientHeight;
|
|
2638
|
+
V < 0 ? re = Math.max(0, re + V - 50) : se = Math.min(i.doc.height, se + V + 50), Yf(i, { top: re, bottom: se });
|
|
2639
2639
|
}
|
|
2640
2640
|
$u < 20 && a.deltaMode !== 0 && (E.wheelStartX == null ? (E.wheelStartX = x.scrollLeft, E.wheelStartY = x.scrollTop, E.wheelDX = p, E.wheelDY = h, setTimeout(function() {
|
|
2641
2641
|
if (E.wheelStartX != null) {
|
|
@@ -2771,8 +2771,8 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
2771
2771
|
if (a.full)
|
|
2772
2772
|
i.insert(0, E(0, P.length)), i.remove(P.length, i.size - P.length);
|
|
2773
2773
|
else if (Pg(i, a)) {
|
|
2774
|
-
var
|
|
2775
|
-
g($, $.text, V), re && i.remove(x.line, re),
|
|
2774
|
+
var se = E(0, P.length - 1);
|
|
2775
|
+
g($, $.text, V), re && i.remove(x.line, re), se.length && i.insert(x.line, se);
|
|
2776
2776
|
} else if (O == $)
|
|
2777
2777
|
if (P.length == 1)
|
|
2778
2778
|
g(O, O.text.slice(0, x.ch) + q + O.text.slice(w.ch), V);
|
|
@@ -2808,7 +2808,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
2808
2808
|
i.doc = a, a.cm = i, Hf(i), Qf(i), Dg(i), i.options.direction = a.direction, i.options.lineWrapping || Rf(i), i.options.mode = a.modeOption, Hn(i);
|
|
2809
2809
|
}
|
|
2810
2810
|
function Dg(i) {
|
|
2811
|
-
(i.doc.direction == "rtl" ? C :
|
|
2811
|
+
(i.doc.direction == "rtl" ? C : le)(i.display.lineDiv, "CodeMirror-rtl");
|
|
2812
2812
|
}
|
|
2813
2813
|
function DS(i) {
|
|
2814
2814
|
Jn(i, function() {
|
|
@@ -3092,13 +3092,13 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
3092
3092
|
break;
|
|
3093
3093
|
var O = [];
|
|
3094
3094
|
zu(E, w), w.push({ changes: O, generation: h.generation }), h.generation = g.generation || ++h.maxGeneration;
|
|
3095
|
-
for (var $ = qn(i, "beforeChange") || i.cm && qn(i.cm, "beforeChange"), q = function(
|
|
3096
|
-
var ve = g.changes[
|
|
3095
|
+
for (var $ = qn(i, "beforeChange") || i.cm && qn(i.cm, "beforeChange"), q = function(se) {
|
|
3096
|
+
var ve = g.changes[se];
|
|
3097
3097
|
if (ve.origin = a, $ && !Wg(i, ve, !1))
|
|
3098
3098
|
return x.length = 0, {};
|
|
3099
3099
|
O.push(td(i, ve));
|
|
3100
|
-
var be =
|
|
3101
|
-
Ws(i, ve, be, Lg(i, ve)), !
|
|
3100
|
+
var be = se ? Jf(i, ve) : Ne(x);
|
|
3101
|
+
Ws(i, ve, be, Lg(i, ve)), !se && i.cm && i.cm.scrollIntoView({ from: ve.from, to: Yi(ve) });
|
|
3102
3102
|
var xe = [];
|
|
3103
3103
|
qi(i, function(Ee, Ae) {
|
|
3104
3104
|
!Ae && Be(xe, Ee.history) == -1 && (Yg(Ee.history, ve), xe.push(Ee.history)), Ws(Ee, ve, null, Lg(Ee, ve));
|
|
@@ -3919,17 +3919,17 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
3919
3919
|
x();
|
|
3920
3920
|
return;
|
|
3921
3921
|
}
|
|
3922
|
-
var
|
|
3923
|
-
|
|
3922
|
+
var se = new FileReader();
|
|
3923
|
+
se.onerror = function() {
|
|
3924
3924
|
return x();
|
|
3925
|
-
},
|
|
3926
|
-
var ve =
|
|
3925
|
+
}, se.onload = function() {
|
|
3926
|
+
var ve = se.result;
|
|
3927
3927
|
if (/[\x00-\x08\x0e-\x1f]{2}/.test(ve)) {
|
|
3928
3928
|
x();
|
|
3929
3929
|
return;
|
|
3930
3930
|
}
|
|
3931
3931
|
g[re] = ve, x();
|
|
3932
|
-
},
|
|
3932
|
+
}, se.readAsText(V);
|
|
3933
3933
|
}, P = 0; P < p.length; P++)
|
|
3934
3934
|
w(p[P], P);
|
|
3935
3935
|
else {
|
|
@@ -4313,11 +4313,11 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
4313
4313
|
if ($e.from <= tt && tt < $e.to || (tt = Oe ? $e.from : x($e.to, -1), Ee.begin <= tt && tt < Ee.end))
|
|
4314
4314
|
return Ae(tt, Oe);
|
|
4315
4315
|
}
|
|
4316
|
-
},
|
|
4317
|
-
if (
|
|
4318
|
-
return
|
|
4316
|
+
}, se = re(g + p, p, O);
|
|
4317
|
+
if (se)
|
|
4318
|
+
return se;
|
|
4319
4319
|
var ve = p > 0 ? O.end : x(O.begin, -1);
|
|
4320
|
-
return ve != null && !(p > 0 && ve == a.text.length) && (
|
|
4320
|
+
return ve != null && !(p > 0 && ve == a.text.length) && (se = re(p > 0 ? 0 : h.length - 1, p, P(ve)), se) ? se : null;
|
|
4321
4321
|
}
|
|
4322
4322
|
var Zs = {
|
|
4323
4323
|
selectAll: jg,
|
|
@@ -4634,7 +4634,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
4634
4634
|
var a = i.display.lineDiv;
|
|
4635
4635
|
C(a, "CodeMirror-crosshair");
|
|
4636
4636
|
function f(p) {
|
|
4637
|
-
(p.keyCode == 18 || !p.altKey) && (
|
|
4637
|
+
(p.keyCode == 18 || !p.altKey) && (le(a, "CodeMirror-crosshair"), Dn(document, "keyup", f), Dn(document, "mouseover", f));
|
|
4638
4638
|
}
|
|
4639
4639
|
He(document, "keyup", f), He(document, "mouseover", f);
|
|
4640
4640
|
}
|
|
@@ -4775,19 +4775,19 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
4775
4775
|
}
|
|
4776
4776
|
}
|
|
4777
4777
|
var V = h.wrapper.getBoundingClientRect(), re = 0;
|
|
4778
|
-
function
|
|
4778
|
+
function se(Ee) {
|
|
4779
4779
|
var Ae = ++re, $e = Uo(i, Ee, !0, p.unit == "rectangle");
|
|
4780
4780
|
if ($e)
|
|
4781
4781
|
if (Ke($e, $) != 0) {
|
|
4782
4782
|
i.curOp.focus = I(X(i)), q($e);
|
|
4783
4783
|
var Oe = Iu(h, g);
|
|
4784
4784
|
($e.line >= Oe.to || $e.line < Oe.from) && setTimeout(on(i, function() {
|
|
4785
|
-
re == Ae &&
|
|
4785
|
+
re == Ae && se(Ee);
|
|
4786
4786
|
}), 150);
|
|
4787
4787
|
} else {
|
|
4788
4788
|
var tt = Ee.clientY < V.top ? -20 : Ee.clientY > V.bottom ? 20 : 0;
|
|
4789
4789
|
tt && setTimeout(on(i, function() {
|
|
4790
|
-
re == Ae && (h.scroller.scrollTop += tt,
|
|
4790
|
+
re == Ae && (h.scroller.scrollTop += tt, se(Ee));
|
|
4791
4791
|
}), 50);
|
|
4792
4792
|
}
|
|
4793
4793
|
}
|
|
@@ -4795,7 +4795,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
4795
4795
|
i.state.selectingText = !1, re = 1 / 0, Ee && (vn(Ee), h.input.focus()), Dn(h.wrapper.ownerDocument, "mousemove", be), Dn(h.wrapper.ownerDocument, "mouseup", xe), g.history.lastSelOrigin = null;
|
|
4796
4796
|
}
|
|
4797
4797
|
var be = on(i, function(Ee) {
|
|
4798
|
-
Ee.buttons === 0 || !gu(Ee) ? ve(Ee) :
|
|
4798
|
+
Ee.buttons === 0 || !gu(Ee) ? ve(Ee) : se(Ee);
|
|
4799
4799
|
}), xe = on(i, ve);
|
|
4800
4800
|
i.state.selectingText = xe, He(h.wrapper.ownerDocument, "mousemove", be), He(h.wrapper.ownerDocument, "mouseup", xe);
|
|
4801
4801
|
}
|
|
@@ -4819,8 +4819,8 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
4819
4819
|
var O = Mo(g, p.ch, p.sticky), $ = O - E || (p.ch - f.ch) * (x.level == 1 ? -1 : 1);
|
|
4820
4820
|
O == w - 1 || O == w ? P = $ < 0 : P = $ > 0;
|
|
4821
4821
|
}
|
|
4822
|
-
var q = g[w + (P ? -1 : 0)], V = P == (q.level == 1), re = V ? q.from : q.to,
|
|
4823
|
-
return f.ch == re && f.sticky ==
|
|
4822
|
+
var q = g[w + (P ? -1 : 0)], V = P == (q.level == 1), re = V ? q.from : q.to, se = V ? "after" : "before";
|
|
4823
|
+
return f.ch == re && f.sticky == se ? a : new ht(new de(f.line, re, se), p);
|
|
4824
4824
|
}
|
|
4825
4825
|
function hy(i, a, f, p) {
|
|
4826
4826
|
var h, g;
|
|
@@ -4945,7 +4945,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
4945
4945
|
}
|
|
4946
4946
|
}
|
|
4947
4947
|
function hC(i) {
|
|
4948
|
-
i.options.lineWrapping ? (C(i.display.wrapper, "CodeMirror-wrap"), i.display.sizer.style.minWidth = "", i.display.sizerWidth = null) : (
|
|
4948
|
+
i.options.lineWrapping ? (C(i.display.wrapper, "CodeMirror-wrap"), i.display.sizer.style.minWidth = "", i.display.sizerWidth = null) : (le(i.display.wrapper, "CodeMirror-wrap"), Rf(i)), Hf(i), Hn(i), Ls(i), setTimeout(function() {
|
|
4949
4949
|
return Ia(i);
|
|
4950
4950
|
}, 100);
|
|
4951
4951
|
}
|
|
@@ -5104,8 +5104,8 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
5104
5104
|
if (q < O && ($ += _n(O - q)), $ != P)
|
|
5105
5105
|
return Ha(h, $, de(a, 0), de(a, P.length), "+input"), x.stateAfter = null, !0;
|
|
5106
5106
|
for (var re = 0; re < h.sel.ranges.length; re++) {
|
|
5107
|
-
var
|
|
5108
|
-
if (
|
|
5107
|
+
var se = h.sel.ranges[re];
|
|
5108
|
+
if (se.head.line == a && se.head.ch < P.length) {
|
|
5109
5109
|
var ve = de(a, P.length);
|
|
5110
5110
|
rd(h, re, new ht(ve, ve));
|
|
5111
5111
|
break;
|
|
@@ -5133,13 +5133,13 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
5133
5133
|
return [be];
|
|
5134
5134
|
}));
|
|
5135
5135
|
for (var $ = i.curOp.updateInput, q = p.ranges.length - 1; q >= 0; q--) {
|
|
5136
|
-
var V = p.ranges[q], re = V.from(),
|
|
5137
|
-
V.empty() && (f && f > 0 ? re = de(re.line, re.ch - f) : i.state.overwrite && !x ?
|
|
5136
|
+
var V = p.ranges[q], re = V.from(), se = V.to();
|
|
5137
|
+
V.empty() && (f && f > 0 ? re = de(re.line, re.ch - f) : i.state.overwrite && !x ? se = de(se.line, Math.min(Pe(g, se.line).text.length, se.ch + Ne(w).length)) : x && Mr && Mr.lineWise && Mr.text.join(`
|
|
5138
5138
|
`) == w.join(`
|
|
5139
|
-
`) && (re =
|
|
5139
|
+
`) && (re = se = de(re.line, 0)));
|
|
5140
5140
|
var ve = {
|
|
5141
5141
|
from: re,
|
|
5142
|
-
to:
|
|
5142
|
+
to: se,
|
|
5143
5143
|
text: P ? P[q % P.length] : w,
|
|
5144
5144
|
origin: h || (x ? "paste" : i.state.cutIncoming > E ? "cut" : "+input")
|
|
5145
5145
|
};
|
|
@@ -5431,7 +5431,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
5431
5431
|
return new ht(de(p.line, E), de(p.line, x));
|
|
5432
5432
|
},
|
|
5433
5433
|
toggleOverwrite: function(p) {
|
|
5434
|
-
p != null && p == this.state.overwrite || ((this.state.overwrite = !this.state.overwrite) ? C(this.display.cursorDiv, "CodeMirror-overwrite") :
|
|
5434
|
+
p != null && p == this.state.overwrite || ((this.state.overwrite = !this.state.overwrite) ? C(this.display.cursorDiv, "CodeMirror-overwrite") : le(this.display.cursorDiv, "CodeMirror-overwrite"), Dt(this, "overwriteToggle", this, this.state.overwrite));
|
|
5435
5435
|
},
|
|
5436
5436
|
hasFocus: function() {
|
|
5437
5437
|
return this.display.input.getField() == I(X(this));
|
|
@@ -5545,9 +5545,9 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
5545
5545
|
O(!0);
|
|
5546
5546
|
else if (p == "word" || p == "group")
|
|
5547
5547
|
for (var $ = null, q = p == "group", V = i.cm && i.cm.getHelper(a, "wordChars"), re = !0; !(f < 0 && !O(!re)); re = !1) {
|
|
5548
|
-
var
|
|
5549
|
-
`, ve = Ro(
|
|
5550
|
-
` ? "n" : !q || /\s/.test(
|
|
5548
|
+
var se = x.text.charAt(a.ch) || `
|
|
5549
|
+
`, ve = Ro(se, V) ? "w" : q && se == `
|
|
5550
|
+
` ? "n" : !q || /\s/.test(se) ? null : "p";
|
|
5551
5551
|
if (q && !re && !ve && (ve = "s"), $ && $ != ve) {
|
|
5552
5552
|
f < 0 && (f = 1, O(), a.sticky = "after");
|
|
5553
5553
|
break;
|
|
@@ -5739,7 +5739,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
5739
5739
|
$.shift(), q.shift(), E++;
|
|
5740
5740
|
else
|
|
5741
5741
|
break;
|
|
5742
|
-
for (var V = 0, re = 0,
|
|
5742
|
+
for (var V = 0, re = 0, se = $[0], ve = q[0], be = Math.min(se.length, ve.length); V < be && se.charCodeAt(V) == ve.charCodeAt(V); )
|
|
5743
5743
|
++V;
|
|
5744
5744
|
for (var xe = Ne($), Ee = Ne(q), Ae = Math.min(
|
|
5745
5745
|
xe.length - ($.length == 1 ? V : 0),
|
|
@@ -5824,9 +5824,9 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
5824
5824
|
$(re);
|
|
5825
5825
|
return;
|
|
5826
5826
|
}
|
|
5827
|
-
var
|
|
5828
|
-
if (
|
|
5829
|
-
var be = i.findMarks(de(p, 0), de(h + 1, 0), P(+
|
|
5827
|
+
var se = V.getAttribute("cm-marker"), ve;
|
|
5828
|
+
if (se) {
|
|
5829
|
+
var be = i.findMarks(de(p, 0), de(h + 1, 0), P(+se));
|
|
5830
5830
|
be.length && (ve = be[0].find(0)) && $(sr(i.doc, ve.from, ve.to).join(x));
|
|
5831
5831
|
return;
|
|
5832
5832
|
}
|
|
@@ -5895,10 +5895,10 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
5895
5895
|
return Ga(de($.line, $.ch - V), h);
|
|
5896
5896
|
V += q.textContent.length;
|
|
5897
5897
|
}
|
|
5898
|
-
for (var re = x.previousSibling,
|
|
5898
|
+
for (var re = x.previousSibling, se = f; re; re = re.previousSibling) {
|
|
5899
5899
|
if ($ = O(re, re.firstChild, -1), $)
|
|
5900
|
-
return Ga(de($.line, $.ch +
|
|
5901
|
-
|
|
5900
|
+
return Ga(de($.line, $.ch + se), h);
|
|
5901
|
+
se += re.textContent.length;
|
|
5902
5902
|
}
|
|
5903
5903
|
}
|
|
5904
5904
|
var Ot = function(i) {
|
|
@@ -6059,15 +6059,15 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
6059
6059
|
v && ($ = h.ownerDocument.defaultView.scrollY), p.input.focus(), v && h.ownerDocument.defaultView.scrollTo(null, $), p.input.reset(), f.somethingSelected() || (h.value = a.prevInput = " "), a.contextMenuPending = V, p.selForContextMenu = f.doc.sel, clearTimeout(p.detectingSelectAll);
|
|
6060
6060
|
function q() {
|
|
6061
6061
|
if (h.selectionStart != null) {
|
|
6062
|
-
var
|
|
6063
|
-
h.value = "⇚", h.value = ve, a.prevInput =
|
|
6062
|
+
var se = f.somethingSelected(), ve = "" + (se ? h.value : "");
|
|
6063
|
+
h.value = "⇚", h.value = ve, a.prevInput = se ? "" : "", h.selectionStart = 1, h.selectionEnd = ve.length, p.selForContextMenu = f.doc.sel;
|
|
6064
6064
|
}
|
|
6065
6065
|
}
|
|
6066
6066
|
function V() {
|
|
6067
6067
|
if (a.contextMenuPending == V && (a.contextMenuPending = !1, a.wrapper.style.cssText = P, h.style.cssText = w, c && d < 9 && p.scrollbars.setScrollTop(p.scroller.scrollTop = E), h.selectionStart != null)) {
|
|
6068
6068
|
(!c || c && d < 9) && q();
|
|
6069
|
-
var
|
|
6070
|
-
p.selForContextMenu == f.doc.sel && h.selectionStart == 0 && h.selectionEnd > 0 && a.prevInput == "" ? on(f, jg)(f) :
|
|
6069
|
+
var se = 0, ve = function() {
|
|
6070
|
+
p.selForContextMenu == f.doc.sel && h.selectionStart == 0 && h.selectionEnd > 0 && a.prevInput == "" ? on(f, jg)(f) : se++ < 10 ? p.detectingSelectAll = setTimeout(ve, 500) : (p.selForContextMenu = null, p.input.reset());
|
|
6071
6071
|
};
|
|
6072
6072
|
p.detectingSelectAll = setTimeout(ve, 200);
|
|
6073
6073
|
}
|
|
@@ -6119,7 +6119,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
6119
6119
|
return x;
|
|
6120
6120
|
}
|
|
6121
6121
|
function _C(i) {
|
|
6122
|
-
i.off = Dn, i.on = He, i.wheelEventPixels = PS, i.Doc = zn, i.splitLines = Rs, i.countColumn = Se, i.findColumn = Zt, i.isWordChar = ws, i.Pass = Je, i.signal = Dt, i.Line = Ra, i.changeEnd = Yi, i.scrollbarModel = yg, i.Pos = de, i.cmpPos = Ke, i.modes = Oo, i.mimeModes = Xn, i.resolveMode = ci, i.getMode = Fo, i.modeExtensions = ji, i.extendMode = Sf, i.copyState = hr, i.startState = pi, i.innerMode = kn, i.commands = Zs, i.keyMap = gi, i.keyName = iy, i.isModifierKey = ny, i.lookupKey = ja, i.normalizeKeyMap = XS, i.StringStream = mt, i.SharedTextMarker = Ys, i.TextMarker = Xi, i.LineWidget = Ks, i.e_preventDefault = vn, i.e_stopPropagation = mu, i.e_stop = Lo, i.addClass = C, i.contains = ke, i.rmClass =
|
|
6122
|
+
i.off = Dn, i.on = He, i.wheelEventPixels = PS, i.Doc = zn, i.splitLines = Rs, i.countColumn = Se, i.findColumn = Zt, i.isWordChar = ws, i.Pass = Je, i.signal = Dt, i.Line = Ra, i.changeEnd = Yi, i.scrollbarModel = yg, i.Pos = de, i.cmpPos = Ke, i.modes = Oo, i.mimeModes = Xn, i.resolveMode = ci, i.getMode = Fo, i.modeExtensions = ji, i.extendMode = Sf, i.copyState = hr, i.startState = pi, i.innerMode = kn, i.commands = Zs, i.keyMap = gi, i.keyName = iy, i.isModifierKey = ny, i.lookupKey = ja, i.normalizeKeyMap = XS, i.StringStream = mt, i.SharedTextMarker = Ys, i.TextMarker = Xi, i.LineWidget = Ks, i.e_preventDefault = vn, i.e_stopPropagation = mu, i.e_stop = Lo, i.addClass = C, i.contains = ke, i.rmClass = le, i.keyNames = Zi;
|
|
6123
6123
|
}
|
|
6124
6124
|
fC(St), mC(St);
|
|
6125
6125
|
var xC = "iter insert remove copy getEditor constructor".split(" ");
|
|
@@ -6349,14 +6349,14 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
6349
6349
|
}
|
|
6350
6350
|
function J(Y, ce, ie) {
|
|
6351
6351
|
if (Y == "word")
|
|
6352
|
-
return y = "attribute",
|
|
6352
|
+
return y = "attribute", le;
|
|
6353
6353
|
if (Y == "endTag" || Y == "selfcloseTag") {
|
|
6354
6354
|
var ke = ie.tagName, I = ie.tagStart;
|
|
6355
6355
|
return ie.tagName = ie.tagStart = null, Y == "selfcloseTag" || c.autoSelfClosers.hasOwnProperty(D(ke)) ? k(ie, ke) : (k(ie, ke), ie.context = new M(ie, ke, I == ie.indented)), F;
|
|
6356
6356
|
}
|
|
6357
6357
|
return y = "error", J;
|
|
6358
6358
|
}
|
|
6359
|
-
function
|
|
6359
|
+
function le(Y, ce, ie) {
|
|
6360
6360
|
return Y == "equals" ? pe : (c.allowMissing || (y = "error"), J(Y, ce, ie));
|
|
6361
6361
|
}
|
|
6362
6362
|
function pe(Y, ce, ie) {
|
|
@@ -7248,9 +7248,9 @@ function UE(e, t) {
|
|
|
7248
7248
|
function y(D, M) {
|
|
7249
7249
|
if (M && M.length) {
|
|
7250
7250
|
const T = /* @__PURE__ */ Object.create(null), k = /* @__PURE__ */ Object.create(null), F = [], G = [], j = [];
|
|
7251
|
-
let W, ee, J,
|
|
7251
|
+
let W, ee, J, le;
|
|
7252
7252
|
for (let pe in r)
|
|
7253
|
-
W = r[pe], M.indexOf(pe) !== -1 && (W[2] === "private" ? (ee = F.indexOf(W[3]), ee === -1 ? (J = W[3].createChild([], M),
|
|
7253
|
+
W = r[pe], M.indexOf(pe) !== -1 && (W[2] === "private" ? (ee = F.indexOf(W[3]), ee === -1 ? (J = W[3].createChild([], M), le = m(J), F.push(W[3]), G.push(J), j.push(le), T[pe] = [le, pe, "private", J]) : T[pe] = [j[ee], pe, "private", G[ee]]) : T[pe] = [W[2], W[1]], k[pe] = !0), (W[2] === "factory" || W[2] === "type") && W[1].$scope && M.forEach((ge) => {
|
|
7254
7254
|
W[1].$scope.indexOf(ge) !== -1 && (T[pe] = [W[2], W[1]], k[ge] = !0);
|
|
7255
7255
|
});
|
|
7256
7256
|
M.forEach((pe) => {
|
|
@@ -7874,8 +7874,8 @@ function XE(e, t, n, r, o, s, l, u, c, d) {
|
|
|
7874
7874
|
}
|
|
7875
7875
|
var W = j - G;
|
|
7876
7876
|
if (ro(W) > v) {
|
|
7877
|
-
var ee = j, J = u,
|
|
7878
|
-
j = G + v * (l && j > G ? 1 : -1), u = k + n * It.cos(j), c = F + r * It.sin(j), y = XE(u, c, n, r, o, 0, l, J,
|
|
7877
|
+
var ee = j, J = u, le = c;
|
|
7878
|
+
j = G + v * (l && j > G ? 1 : -1), u = k + n * It.cos(j), c = F + r * It.sin(j), y = XE(u, c, n, r, o, 0, l, J, le, [j, ee, k, F]);
|
|
7879
7879
|
}
|
|
7880
7880
|
W = j - G;
|
|
7881
7881
|
var pe = It.cos(G), ge = It.sin(G), Y = It.cos(j), ce = It.sin(j), ie = It.tan(W / 4), ke = 4 / 3 * n * ie, I = 4 / 3 * r * ie, C = [e, t], U = [e + ke * ge, t - I * pe], Z = [u + ke * ce, c - I * Y], fe = [u, c];
|
|
@@ -9344,7 +9344,7 @@ function v_(e) {
|
|
|
9344
9344
|
S = !0;
|
|
9345
9345
|
};
|
|
9346
9346
|
function M(T) {
|
|
9347
|
-
var k = b ? [] : null, F = b ? O2(A) : null, G, j = [], W = 0, ee = !1, J = !1,
|
|
9347
|
+
var k = b ? [] : null, F = b ? O2(A) : null, G, j = [], W = 0, ee = !1, J = !1, le = 0, pe = 0, ge, Y, ce, ie, ke, I, C, U, Z, fe = "", X = 0, Q;
|
|
9348
9348
|
function te() {
|
|
9349
9349
|
if (Q !== null)
|
|
9350
9350
|
return Q;
|
|
@@ -9424,9 +9424,9 @@ function v_(e) {
|
|
|
9424
9424
|
return Q = Rt;
|
|
9425
9425
|
}
|
|
9426
9426
|
function ae() {
|
|
9427
|
-
for (var me = /(\r\n|\r|\n)/g, Se = 0, Me = 0, Be = 0, ct = pe, Je, it;
|
|
9427
|
+
for (var me = /(\r\n|\r|\n)/g, Se = 0, Me = 0, Be = 0, ct = pe, Je, it; le >= Be && (Je = me.exec(T), !(!Je || (ct = Je[0].length + Je.index, ct > le))); )
|
|
9428
9428
|
Se += 1, Be = ct;
|
|
9429
|
-
return
|
|
9429
|
+
return le == -1 ? (Me = ct, it = T.substring(pe)) : pe === 0 ? it = T.substring(pe, le) : (Me = le - Be, it = pe == -1 ? T.substring(le) : T.substring(le, pe + 1)), {
|
|
9430
9430
|
data: it,
|
|
9431
9431
|
line: Se,
|
|
9432
9432
|
column: Me
|
|
@@ -9444,7 +9444,7 @@ function v_(e) {
|
|
|
9444
9444
|
return F;
|
|
9445
9445
|
})
|
|
9446
9446
|
})); pe !== -1; ) {
|
|
9447
|
-
if (T.charCodeAt(pe) === 60 ?
|
|
9447
|
+
if (T.charCodeAt(pe) === 60 ? le = pe : le = T.indexOf("<", pe), le === -1) {
|
|
9448
9448
|
if (j.length)
|
|
9449
9449
|
return B("unexpected end of file");
|
|
9450
9450
|
if (pe === 0)
|
|
@@ -9452,40 +9452,40 @@ function v_(e) {
|
|
|
9452
9452
|
pe < T.length && T.substring(pe).trim() && D(Vy);
|
|
9453
9453
|
return;
|
|
9454
9454
|
}
|
|
9455
|
-
if (pe !==
|
|
9455
|
+
if (pe !== le) {
|
|
9456
9456
|
if (j.length) {
|
|
9457
|
-
if (n && (n(T.substring(pe,
|
|
9457
|
+
if (n && (n(T.substring(pe, le), Jo, m), S))
|
|
9458
9458
|
return;
|
|
9459
|
-
} else if (T.substring(pe,
|
|
9459
|
+
} else if (T.substring(pe, le).trim() && (D(Vy), S))
|
|
9460
9460
|
return;
|
|
9461
9461
|
}
|
|
9462
|
-
if (ie = T.charCodeAt(
|
|
9463
|
-
if (ce = T.charCodeAt(
|
|
9464
|
-
if (pe = T.indexOf("]]>",
|
|
9462
|
+
if (ie = T.charCodeAt(le + 1), ie === 33) {
|
|
9463
|
+
if (ce = T.charCodeAt(le + 2), ce === 91 && T.substr(le + 3, 6) === "CDATA[") {
|
|
9464
|
+
if (pe = T.indexOf("]]>", le), pe === -1)
|
|
9465
9465
|
return B("unclosed cdata");
|
|
9466
|
-
if (s && (s(T.substring(
|
|
9466
|
+
if (s && (s(T.substring(le + 9, pe), m), S))
|
|
9467
9467
|
return;
|
|
9468
9468
|
pe += 3;
|
|
9469
9469
|
continue;
|
|
9470
9470
|
}
|
|
9471
|
-
if (ce === 45 && T.charCodeAt(
|
|
9472
|
-
if (pe = T.indexOf("-->",
|
|
9471
|
+
if (ce === 45 && T.charCodeAt(le + 3) === 45) {
|
|
9472
|
+
if (pe = T.indexOf("-->", le), pe === -1)
|
|
9473
9473
|
return B("unclosed comment");
|
|
9474
|
-
if (c && (c(T.substring(
|
|
9474
|
+
if (c && (c(T.substring(le + 4, pe), Jo, m), S))
|
|
9475
9475
|
return;
|
|
9476
9476
|
pe += 3;
|
|
9477
9477
|
continue;
|
|
9478
9478
|
}
|
|
9479
9479
|
}
|
|
9480
9480
|
if (ie === 63) {
|
|
9481
|
-
if (pe = T.indexOf("?>",
|
|
9481
|
+
if (pe = T.indexOf("?>", le), pe === -1)
|
|
9482
9482
|
return B("unclosed question");
|
|
9483
|
-
if (d && (d(T.substring(
|
|
9483
|
+
if (d && (d(T.substring(le, pe + 2), m), S))
|
|
9484
9484
|
return;
|
|
9485
9485
|
pe += 2;
|
|
9486
9486
|
continue;
|
|
9487
9487
|
}
|
|
9488
|
-
for (ge =
|
|
9488
|
+
for (ge = le + 1; ; ge++) {
|
|
9489
9489
|
if (ke = T.charCodeAt(ge), isNaN(ke))
|
|
9490
9490
|
return pe = -1, B("unclosed tag");
|
|
9491
9491
|
if (ke === 34)
|
|
@@ -9498,7 +9498,7 @@ function v_(e) {
|
|
|
9498
9498
|
}
|
|
9499
9499
|
}
|
|
9500
9500
|
if (ie === 33) {
|
|
9501
|
-
if (v && (v(T.substring(
|
|
9501
|
+
if (v && (v(T.substring(le, pe + 1), Jo, m), S))
|
|
9502
9502
|
return;
|
|
9503
9503
|
pe += 1;
|
|
9504
9504
|
continue;
|
|
@@ -9506,13 +9506,13 @@ function v_(e) {
|
|
|
9506
9506
|
if (Q = {}, ie === 47) {
|
|
9507
9507
|
if (ee = !1, J = !0, !j.length)
|
|
9508
9508
|
return B("missing open tag");
|
|
9509
|
-
if (ge = C = j.pop(), ce =
|
|
9509
|
+
if (ge = C = j.pop(), ce = le + 2 + ge.length, T.substring(le + 2, ce) !== ge)
|
|
9510
9510
|
return B("closing tag mismatch");
|
|
9511
9511
|
for (; ce < pe; ce++)
|
|
9512
9512
|
if (ie = T.charCodeAt(ce), !(ie === 32 || ie > 8 && ie < 14))
|
|
9513
9513
|
return B("close tag");
|
|
9514
9514
|
} else {
|
|
9515
|
-
if (T.charCodeAt(pe - 1) === 47 ? (ge = C = T.substring(
|
|
9515
|
+
if (T.charCodeAt(pe - 1) === 47 ? (ge = C = T.substring(le + 1, pe - 1), ee = !0, J = !0) : (ge = C = T.substring(le + 1, pe), ee = !0, J = !1), !(ie > 96 && ie < 123 || ie > 64 && ie < 91 || ie === 95 || ie === 58))
|
|
9516
9516
|
return B("illegal first char nodeName");
|
|
9517
9517
|
for (ce = 1, Y = ge.length; ce < Y; ce++)
|
|
9518
9518
|
if (ie = ge.charCodeAt(ce), !(ie > 96 && ie < 123 || ie > 64 && ie < 91 || ie > 47 && ie < 59 || ie === 45 || ie === 95 || ie == 46)) {
|
|
@@ -10130,16 +10130,16 @@ Qh.prototype.fromXML = function(e, t, n) {
|
|
|
10130
10130
|
function d(k, F, G) {
|
|
10131
10131
|
var j = F(), W = j.line, ee = j.column, J = j.data;
|
|
10132
10132
|
J.charAt(0) === "<" && J.indexOf(" ") !== -1 && (J = J.slice(0, J.indexOf(" ")) + ">");
|
|
10133
|
-
var
|
|
10133
|
+
var le = "unparsable content " + (J ? J + " " : "") + `detected
|
|
10134
10134
|
line: ` + W + `
|
|
10135
10135
|
column: ` + ee + `
|
|
10136
10136
|
nested error: ` + k.message;
|
|
10137
10137
|
if (G)
|
|
10138
10138
|
return l.addWarning({
|
|
10139
|
-
message:
|
|
10139
|
+
message: le,
|
|
10140
10140
|
error: k
|
|
10141
10141
|
}), !0;
|
|
10142
|
-
throw lo(
|
|
10142
|
+
throw lo(le);
|
|
10143
10143
|
}
|
|
10144
10144
|
function v(k, F) {
|
|
10145
10145
|
return d(k, F, !0);
|
|
@@ -10154,8 +10154,8 @@ Qh.prototype.fromXML = function(e, t, n) {
|
|
|
10154
10154
|
property: j.property,
|
|
10155
10155
|
value: j.id
|
|
10156
10156
|
}), J.isMany) {
|
|
10157
|
-
var
|
|
10158
|
-
pe === -1 && (pe =
|
|
10157
|
+
var le = W.get(J.name), pe = le.indexOf(j);
|
|
10158
|
+
pe === -1 && (pe = le.length), ee ? le[pe] = ee : le.splice(pe, 1);
|
|
10159
10159
|
} else
|
|
10160
10160
|
W.set(J.name, ee);
|
|
10161
10161
|
}
|
|
@@ -10197,9 +10197,9 @@ Qh.prototype.fromXML = function(e, t, n) {
|
|
|
10197
10197
|
// add default xml ns
|
|
10198
10198
|
});
|
|
10199
10199
|
return u.ns(T).on("openTag", function(k, F, G, j) {
|
|
10200
|
-
var W = k.attrs || {}, ee = Object.keys(W).reduce(function(
|
|
10200
|
+
var W = k.attrs || {}, ee = Object.keys(W).reduce(function(le, pe) {
|
|
10201
10201
|
var ge = F(W[pe]);
|
|
10202
|
-
return
|
|
10202
|
+
return le[pe] = ge, le;
|
|
10203
10203
|
}, {}), J = {
|
|
10204
10204
|
name: k.name,
|
|
10205
10205
|
originalName: k.originalName,
|
|
@@ -10213,8 +10213,8 @@ Qh.prototype.fromXML = function(e, t, n) {
|
|
|
10213
10213
|
var G;
|
|
10214
10214
|
try {
|
|
10215
10215
|
u.parse(e), m();
|
|
10216
|
-
} catch (
|
|
10217
|
-
G =
|
|
10216
|
+
} catch (le) {
|
|
10217
|
+
G = le;
|
|
10218
10218
|
}
|
|
10219
10219
|
var j = r.element;
|
|
10220
10220
|
!G && !j && (G = lo("failed to parse document as <" + r.type.$descriptor.name + ">"));
|
|
@@ -14368,12 +14368,12 @@ function nP(e, t) {
|
|
|
14368
14368
|
function J(X, Q) {
|
|
14369
14369
|
X && (H(X.dataInputs, s(G, Q)), H(X.dataOutputs, s(j, Q)));
|
|
14370
14370
|
}
|
|
14371
|
-
function
|
|
14371
|
+
function le(X, Q) {
|
|
14372
14372
|
I(X, Q), ee(X.artifacts, Q);
|
|
14373
14373
|
}
|
|
14374
14374
|
function pe(X, Q) {
|
|
14375
14375
|
var te = v(X, Q);
|
|
14376
|
-
Gn(X, "bpmn:SubProcess") &&
|
|
14376
|
+
Gn(X, "bpmn:SubProcess") && le(X, te || Q), Gn(X, "bpmn:Activity") && J(X.ioSpecification, Q), r.push(function() {
|
|
14377
14377
|
H(X.dataInputAssociations, s(F, Q)), H(X.dataOutputAssociations, s(F, Q));
|
|
14378
14378
|
});
|
|
14379
14379
|
}
|
|
@@ -14431,7 +14431,7 @@ function nP(e, t) {
|
|
|
14431
14431
|
return {
|
|
14432
14432
|
handleDeferred: B,
|
|
14433
14433
|
handleDefinitions: A,
|
|
14434
|
-
handleSubProcess:
|
|
14434
|
+
handleSubProcess: le,
|
|
14435
14435
|
registerDi: y
|
|
14436
14436
|
};
|
|
14437
14437
|
}
|
|
@@ -15132,7 +15132,7 @@ function ma(e, t, n, r, o, s, l) {
|
|
|
15132
15132
|
var U = Ln(I), Z = wP(U);
|
|
15133
15133
|
return U.eventDefinitions && U.eventDefinitions.length > 1 ? U.parallelMultiple ? W("bpmn:ParallelMultipleEventDefinition")(C, I, Z) : W("bpmn:MultipleEventDefinition")(C, I, Z) : Kr(U, "bpmn:MessageEventDefinition") ? W("bpmn:MessageEventDefinition")(C, I, Z) : Kr(U, "bpmn:TimerEventDefinition") ? W("bpmn:TimerEventDefinition")(C, I, Z) : Kr(U, "bpmn:ConditionalEventDefinition") ? W("bpmn:ConditionalEventDefinition")(C, I) : Kr(U, "bpmn:SignalEventDefinition") ? W("bpmn:SignalEventDefinition")(C, I, Z) : Kr(U, "bpmn:EscalationEventDefinition") ? W("bpmn:EscalationEventDefinition")(C, I, Z) : Kr(U, "bpmn:LinkEventDefinition") ? W("bpmn:LinkEventDefinition")(C, I, Z) : Kr(U, "bpmn:ErrorEventDefinition") ? W("bpmn:ErrorEventDefinition")(C, I, Z) : Kr(U, "bpmn:CancelEventDefinition") ? W("bpmn:CancelEventDefinition")(C, I, Z) : Kr(U, "bpmn:CompensateEventDefinition") ? W("bpmn:CompensateEventDefinition")(C, I, Z) : Kr(U, "bpmn:TerminateEventDefinition") ? W("bpmn:TerminateEventDefinition")(C, I, Z) : null;
|
|
15134
15134
|
}
|
|
15135
|
-
function
|
|
15135
|
+
function le(I, C, U) {
|
|
15136
15136
|
U = K({
|
|
15137
15137
|
size: {
|
|
15138
15138
|
width: 100
|
|
@@ -15143,7 +15143,7 @@ function ma(e, t, n, r, o, s, l) {
|
|
|
15143
15143
|
}
|
|
15144
15144
|
function pe(I, C, U) {
|
|
15145
15145
|
var Z = Ln(C);
|
|
15146
|
-
return
|
|
15146
|
+
return le(I, Z.name, {
|
|
15147
15147
|
box: C,
|
|
15148
15148
|
align: U,
|
|
15149
15149
|
padding: 7,
|
|
@@ -15159,7 +15159,7 @@ function ma(e, t, n, r, o, s, l) {
|
|
|
15159
15159
|
x: C.width / 2 + C.x,
|
|
15160
15160
|
y: C.height / 2 + C.y
|
|
15161
15161
|
};
|
|
15162
|
-
return
|
|
15162
|
+
return le(I, Br(C), {
|
|
15163
15163
|
box: U,
|
|
15164
15164
|
fitBox: !0,
|
|
15165
15165
|
style: K(
|
|
@@ -15172,7 +15172,7 @@ function ma(e, t, n, r, o, s, l) {
|
|
|
15172
15172
|
});
|
|
15173
15173
|
}
|
|
15174
15174
|
function Y(I, C, U) {
|
|
15175
|
-
var Z =
|
|
15175
|
+
var Z = le(I, C, {
|
|
15176
15176
|
box: {
|
|
15177
15177
|
height: 30,
|
|
15178
15178
|
width: U.height
|
|
@@ -15650,7 +15650,7 @@ function ma(e, t, n, r, o, s, l) {
|
|
|
15650
15650
|
Y(I, Q, C);
|
|
15651
15651
|
} else {
|
|
15652
15652
|
var te = Ln(C).name;
|
|
15653
|
-
|
|
15653
|
+
le(I, te, {
|
|
15654
15654
|
box: C,
|
|
15655
15655
|
align: "center-middle",
|
|
15656
15656
|
style: {
|
|
@@ -15836,7 +15836,7 @@ function ma(e, t, n, r, o, s, l) {
|
|
|
15836
15836
|
}
|
|
15837
15837
|
}), me = { strokeWidth: 1 };
|
|
15838
15838
|
Z.messageVisibleKind === "initiating" ? (me.fill = "white", me.stroke = pl) : (me.fill = "#888", me.stroke = "white");
|
|
15839
|
-
var Se = G(I, ae, me), Me = U.messageRef.name, Be =
|
|
15839
|
+
var Se = G(I, ae, me), Me = U.messageRef.name, Be = le(I, Me, {
|
|
15840
15840
|
align: "center-top",
|
|
15841
15841
|
fitBox: !0,
|
|
15842
15842
|
style: {
|
|
@@ -15940,7 +15940,7 @@ function ma(e, t, n, r, o, s, l) {
|
|
|
15940
15940
|
stroke: _e(C, c)
|
|
15941
15941
|
});
|
|
15942
15942
|
var fe = Ln(C).text || "";
|
|
15943
|
-
return
|
|
15943
|
+
return le(I, fe, {
|
|
15944
15944
|
box: C,
|
|
15945
15945
|
align: "left-top",
|
|
15946
15946
|
padding: 7,
|
|
@@ -16821,10 +16821,10 @@ function F_(e, t, n) {
|
|
|
16821
16821
|
var r = this;
|
|
16822
16822
|
function o(j, W, ee) {
|
|
16823
16823
|
if (!u(j, W)) {
|
|
16824
|
-
var J,
|
|
16825
|
-
ee ?
|
|
16824
|
+
var J, le, pe;
|
|
16825
|
+
ee ? le = t.getGraphics(ee) : (J = W.delegateTarget || W.target, J && (le = J, ee = t.get(le))), !(!le || !ee) && (pe = e.fire(j, {
|
|
16826
16826
|
element: ee,
|
|
16827
|
-
gfx:
|
|
16827
|
+
gfx: le,
|
|
16828
16828
|
originalEvent: W
|
|
16829
16829
|
}), pe === !1 && (W.stopPropagation(), W.preventDefault()));
|
|
16830
16830
|
}
|
|
@@ -16861,10 +16861,10 @@ function F_(e, t, n) {
|
|
|
16861
16861
|
}
|
|
16862
16862
|
var m = "svg, .djs-element";
|
|
16863
16863
|
function y(j, W, ee, J) {
|
|
16864
|
-
var
|
|
16864
|
+
var le = s[ee] = function(pe) {
|
|
16865
16865
|
o(ee, pe);
|
|
16866
16866
|
};
|
|
16867
|
-
J && (d[ee] = J),
|
|
16867
|
+
J && (d[ee] = J), le.$delegate = Er.bind(j, m, W, le);
|
|
16868
16868
|
}
|
|
16869
16869
|
function b(j, W, ee) {
|
|
16870
16870
|
var J = l(ee);
|
|
@@ -16925,8 +16925,8 @@ function F_(e, t, n) {
|
|
|
16925
16925
|
var W = Kd(".djs-hit", j);
|
|
16926
16926
|
H(W, $t);
|
|
16927
16927
|
}, this.createDefaultHit = function(j, W) {
|
|
16928
|
-
var ee = j.waypoints, J = j.isFrame,
|
|
16929
|
-
return ee ? this.createWaypointsHit(W, ee) : (
|
|
16928
|
+
var ee = j.waypoints, J = j.isFrame, le;
|
|
16929
|
+
return ee ? this.createWaypointsHit(W, ee) : (le = J ? "stroke" : "all", this.createBoxHit(W, le, {
|
|
16930
16930
|
width: j.width,
|
|
16931
16931
|
height: j.height
|
|
16932
16932
|
}));
|
|
@@ -18227,7 +18227,7 @@ var rx = { exports: {} };
|
|
|
18227
18227
|
}
|
|
18228
18228
|
return -1;
|
|
18229
18229
|
}
|
|
18230
|
-
function
|
|
18230
|
+
function le(N) {
|
|
18231
18231
|
return Array.prototype.slice.call(N, 0);
|
|
18232
18232
|
}
|
|
18233
18233
|
function pe(N, L, z) {
|
|
@@ -18451,7 +18451,7 @@ var rx = { exports: {} };
|
|
|
18451
18451
|
}
|
|
18452
18452
|
});
|
|
18453
18453
|
function mu(N, L) {
|
|
18454
|
-
var z =
|
|
18454
|
+
var z = le(N.touches), ne = le(N.changedTouches);
|
|
18455
18455
|
return L & (Se | Me) && (z = pe(z.concat(ne), "identifier", !0)), [z, ne];
|
|
18456
18456
|
}
|
|
18457
18457
|
var Ts = {
|
|
@@ -18475,10 +18475,10 @@ var rx = { exports: {} };
|
|
|
18475
18475
|
}
|
|
18476
18476
|
});
|
|
18477
18477
|
function gu(N, L) {
|
|
18478
|
-
var z =
|
|
18478
|
+
var z = le(N.touches), ne = this.targetIds;
|
|
18479
18479
|
if (L & (ae | me) && z.length === 1)
|
|
18480
18480
|
return ne[z[0].identifier] = !0, [z, z];
|
|
18481
|
-
var he, Re, nt =
|
|
18481
|
+
var he, Re, nt = le(N.changedTouches), Wt = [], Qt = this.target;
|
|
18482
18482
|
if (Re = z.filter(function(xn) {
|
|
18483
18483
|
return j(xn.target, Qt);
|
|
18484
18484
|
}), L === ae)
|
|
@@ -19843,8 +19843,8 @@ function vv(e, t, n, r, o, s, l, u, c, d) {
|
|
|
19843
19843
|
D && J.getDerivedStateFromProps == null && m.componentWillMount != null && m.componentWillMount(), D && m.componentDidMount != null && m.__h.push(m.componentDidMount);
|
|
19844
19844
|
else {
|
|
19845
19845
|
if (D && J.getDerivedStateFromProps == null && B !== b && m.componentWillReceiveProps != null && m.componentWillReceiveProps(B, T), !m.__e && m.shouldComponentUpdate != null && m.shouldComponentUpdate(B, m.__s, T) === !1 || t.__v == n.__v) {
|
|
19846
|
-
for (t.__v != n.__v && (m.props = B, m.state = m.__s, m.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(
|
|
19847
|
-
|
|
19846
|
+
for (t.__v != n.__v && (m.props = B, m.state = m.__s, m.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(le) {
|
|
19847
|
+
le && (le.__ = t);
|
|
19848
19848
|
}), k = 0; k < m._sb.length; k++)
|
|
19849
19849
|
m.__h.push(m._sb[k]);
|
|
19850
19850
|
m._sb = [], m.__h.length && l.push(m);
|
|
@@ -19863,9 +19863,9 @@ function vv(e, t, n, r, o, s, l, u, c, d) {
|
|
|
19863
19863
|
m.__d = !1, F && F(t), v = m.render(m.props, m.state, m.context), m.state = m.__s;
|
|
19864
19864
|
while (m.__d && ++G < 25);
|
|
19865
19865
|
m.state = m.__s, m.getChildContext != null && (r = wi(wi({}, r), m.getChildContext())), D && !y && m.getSnapshotBeforeUpdate != null && (S = m.getSnapshotBeforeUpdate(b, _)), W = v, v != null && v.type === Op && v.key == null && (W = mx(v.props.children)), u = dx(e, Lp(W) ? W : [W], t, n, r, o, s, l, u, c, d), m.base = t.__e, t.__u &= -161, m.__h.length && l.push(m), A && (m.__E = m.__ = null);
|
|
19866
|
-
} catch (
|
|
19866
|
+
} catch (le) {
|
|
19867
19867
|
if (t.__v = null, c || s != null)
|
|
19868
|
-
if (
|
|
19868
|
+
if (le.then) {
|
|
19869
19869
|
for (t.__u |= c ? 160 : 128; u && u.nodeType == 8 && u.nextSibling; )
|
|
19870
19870
|
u = u.nextSibling;
|
|
19871
19871
|
s[s.indexOf(u)] = null, t.__e = u;
|
|
@@ -19875,8 +19875,8 @@ function vv(e, t, n, r, o, s, l, u, c, d) {
|
|
|
19875
19875
|
ph(t);
|
|
19876
19876
|
}
|
|
19877
19877
|
else
|
|
19878
|
-
t.__e = n.__e, t.__k = n.__k,
|
|
19879
|
-
Ct.__e(
|
|
19878
|
+
t.__e = n.__e, t.__k = n.__k, le.then || ph(t);
|
|
19879
|
+
Ct.__e(le, t, n);
|
|
19880
19880
|
}
|
|
19881
19881
|
else
|
|
19882
19882
|
s == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : u = t.__e = uD(n.__e, t, n, r, o, s, l, c, d);
|
|
@@ -20297,18 +20297,18 @@ function bD(e) {
|
|
|
20297
20297
|
entries: v,
|
|
20298
20298
|
onOpened: m,
|
|
20299
20299
|
onClosed: y
|
|
20300
|
-
} = e, b = Pl(() => Yt(d) ? v.length > 5 : !1, [d, v]), _ = gv(), [S, A] = Ad(""), B = Qa((J,
|
|
20300
|
+
} = e, b = Pl(() => Yt(d) ? v.length > 5 : !1, [d, v]), _ = gv(), [S, A] = Ad(""), B = Qa((J, le) => {
|
|
20301
20301
|
if (!b)
|
|
20302
20302
|
return J;
|
|
20303
20303
|
const pe = (ge) => {
|
|
20304
|
-
if (!
|
|
20304
|
+
if (!le)
|
|
20305
20305
|
return (ge.rank || 0) >= 0;
|
|
20306
20306
|
const Y = [
|
|
20307
20307
|
ge.description || "",
|
|
20308
20308
|
ge.label || "",
|
|
20309
20309
|
ge.search || ""
|
|
20310
20310
|
].join("---").toLowerCase();
|
|
20311
|
-
return
|
|
20311
|
+
return le.toLowerCase().split(/\s/g).every((ce) => Y.includes(ce));
|
|
20312
20312
|
};
|
|
20313
20313
|
return J.filter(pe);
|
|
20314
20314
|
}, [b]), [D, M] = Ad(B(v, S)), [T, k] = Ad(D[0]), F = Qa((J) => {
|
|
@@ -20317,9 +20317,9 @@ function bD(e) {
|
|
|
20317
20317
|
Pd(() => {
|
|
20318
20318
|
F(B(v, S));
|
|
20319
20319
|
}, [S, v]), Pd(() => {
|
|
20320
|
-
const J = (
|
|
20321
|
-
if (
|
|
20322
|
-
return
|
|
20320
|
+
const J = (le) => {
|
|
20321
|
+
if (le.key === "Escape")
|
|
20322
|
+
return le.preventDefault(), t();
|
|
20323
20323
|
};
|
|
20324
20324
|
return document.documentElement.addEventListener("keydown", J), () => {
|
|
20325
20325
|
document.documentElement.removeEventListener("keydown", J);
|
|
@@ -20360,7 +20360,7 @@ function bD(e) {
|
|
|
20360
20360
|
${o.map((J) => un`
|
|
20361
20361
|
<span
|
|
20362
20362
|
class=${_D(J, J === T)}
|
|
20363
|
-
onClick=${(
|
|
20363
|
+
onClick=${(le) => n(le, J)}
|
|
20364
20364
|
title=${J.title || J.label}
|
|
20365
20365
|
data-id=${J.id}
|
|
20366
20366
|
onMouseEnter=${() => k(J)}
|
|
@@ -21230,7 +21230,7 @@ function Nx(e, t, n, r) {
|
|
|
21230
21230
|
T.length && n.select(T);
|
|
21231
21231
|
}
|
|
21232
21232
|
function d(M, T) {
|
|
21233
|
-
var k = s.payload, F = s.displacement, G = s.globalStart, j = uo(M), W = Or(j, G), ee = s.localStart, J = l(j),
|
|
21233
|
+
var k = s.payload, F = s.displacement, G = s.globalStart, j = uo(M), W = Or(j, G), ee = s.localStart, J = l(j), le = Or(J, ee);
|
|
21234
21234
|
if (!s.active && (T || qD(W) > s.threshold)) {
|
|
21235
21235
|
if (K(k, {
|
|
21236
21236
|
x: Xa(ee.x + F.x),
|
|
@@ -21244,8 +21244,8 @@ function Nx(e, t, n, r) {
|
|
|
21244
21244
|
xd(M), s.active && (K(k, {
|
|
21245
21245
|
x: Xa(J.x + F.x),
|
|
21246
21246
|
y: Xa(J.y + F.y),
|
|
21247
|
-
dx: Xa(
|
|
21248
|
-
dy: Xa(
|
|
21247
|
+
dx: Xa(le.x),
|
|
21248
|
+
dy: Xa(le.y)
|
|
21249
21249
|
}, { originalEvent: M }), u("move"));
|
|
21250
21250
|
}
|
|
21251
21251
|
function v(M) {
|
|
@@ -21286,16 +21286,16 @@ function Nx(e, t, n, r) {
|
|
|
21286
21286
|
}
|
|
21287
21287
|
function D(M, T, k, F) {
|
|
21288
21288
|
s && A(!1), typeof T == "string" && (F = k, k = T, T = null), F = K({}, o, F || {});
|
|
21289
|
-
var G = F.data || {}, j, W, ee, J,
|
|
21290
|
-
F.trapClick ? J = y : J = v, M ? (j = hs(M) || M, W = uo(M), xd(M), j.type === "dragstart" && ta(j)) : (j = null, W = { x: 0, y: 0 }), ee = l(W), T || (T = ee),
|
|
21289
|
+
var G = F.data || {}, j, W, ee, J, le;
|
|
21290
|
+
F.trapClick ? J = y : J = v, M ? (j = hs(M) || M, W = uo(M), xd(M), j.type === "dragstart" && ta(j)) : (j = null, W = { x: 0, y: 0 }), ee = l(W), T || (T = ee), le = YD(j), s = K({
|
|
21291
21291
|
prefix: k,
|
|
21292
21292
|
data: G,
|
|
21293
21293
|
payload: {},
|
|
21294
21294
|
globalStart: W,
|
|
21295
21295
|
displacement: Or(T, ee),
|
|
21296
21296
|
localStart: ee,
|
|
21297
|
-
isTouch:
|
|
21298
|
-
}, F), F.manual || (
|
|
21297
|
+
isTouch: le
|
|
21298
|
+
}, F), F.manual || (le ? (ze.bind(document, "touchstart", b, !0), ze.bind(document, "touchcancel", A, !0), ze.bind(document, "touchmove", d, !0), ze.bind(document, "touchend", v, !0)) : (ze.bind(document, "mousemove", d), ze.bind(document, "dragstart", ta), ze.bind(document, "selectstart", ta), ze.bind(document, "mousedown", J, !0), ze.bind(document, "mouseup", J, !0)), ze.bind(document, "keyup", m), e.on("element.hover", _), e.on("element.out", S)), u("init"), F.autoActivate && d(M, !0);
|
|
21299
21299
|
}
|
|
21300
21300
|
e.on("diagram.destroy", A), this.init = D, this.move = d, this.hover = _, this.out = S, this.end = v, this.cancel = A, this.context = function() {
|
|
21301
21301
|
return s;
|
|
@@ -21548,8 +21548,8 @@ function uk(e, t) {
|
|
|
21548
21548
|
}
|
|
21549
21549
|
function Hx(e, t, n, r, o) {
|
|
21550
21550
|
function s(M, T, k) {
|
|
21551
|
-
var F = M.index, G = M.point, j, W, ee, J,
|
|
21552
|
-
return F <= 0 || M.bendpoint ? !1 : (j = T[F - 1], W = T[F], ee = Zd(j, W), J = _i(j, W),
|
|
21551
|
+
var F = M.index, G = M.point, j, W, ee, J, le, pe;
|
|
21552
|
+
return F <= 0 || M.bendpoint ? !1 : (j = T[F - 1], W = T[F], ee = Zd(j, W), J = _i(j, W), le = Math.abs(G.x - ee.x), pe = Math.abs(G.y - ee.y), J && le <= k && pe <= k);
|
|
21553
21553
|
}
|
|
21554
21554
|
function l(M, T) {
|
|
21555
21555
|
var k = M.waypoints, F, G, j, W;
|
|
@@ -21611,14 +21611,14 @@ function Hx(e, t, n, r, o) {
|
|
|
21611
21611
|
k && tr(k, F.x, F.y);
|
|
21612
21612
|
}
|
|
21613
21613
|
function D(M, T, k) {
|
|
21614
|
-
var F = v(T.index, M), G = k[T.index - 1], j = k[T.index], W = T.point, ee = Zd(G, j), J = _i(G, j),
|
|
21615
|
-
F && (
|
|
21614
|
+
var F = v(T.index, M), G = k[T.index - 1], j = k[T.index], W = T.point, ee = Zd(G, j), J = _i(G, j), le, pe;
|
|
21615
|
+
F && (le = ck(F), pe = {
|
|
21616
21616
|
x: W.x - ee.x,
|
|
21617
21617
|
y: W.y - ee.y
|
|
21618
21618
|
}, J === "v" && (pe = {
|
|
21619
21619
|
x: pe.y,
|
|
21620
21620
|
y: pe.x
|
|
21621
|
-
}), tr(
|
|
21621
|
+
}), tr(le, pe.x, pe.y));
|
|
21622
21622
|
}
|
|
21623
21623
|
e.on("connection.changed", function(M) {
|
|
21624
21624
|
A(M.element);
|
|
@@ -34634,13 +34634,13 @@ function ZB(e, t, n, r, o, s) {
|
|
|
34634
34634
|
rules: e.rules,
|
|
34635
34635
|
size: "small"
|
|
34636
34636
|
}, {
|
|
34637
|
-
default:
|
|
34637
|
+
default: ue(() => [
|
|
34638
34638
|
e.bpmnFormData.$type !== "bpmn:Process" ? (Qe(), Et(u, {
|
|
34639
34639
|
key: 0,
|
|
34640
34640
|
label: "节点ID",
|
|
34641
34641
|
prop: "id"
|
|
34642
34642
|
}, {
|
|
34643
|
-
default:
|
|
34643
|
+
default: ue(() => [
|
|
34644
34644
|
oe(l, {
|
|
34645
34645
|
value: e.bpmnFormData.id,
|
|
34646
34646
|
"onUpdate:value": t[0] || (t[0] = (v) => e.bpmnFormData.id = v),
|
|
@@ -34654,7 +34654,7 @@ function ZB(e, t, n, r, o, s) {
|
|
|
34654
34654
|
label: "节点名称",
|
|
34655
34655
|
prop: "name"
|
|
34656
34656
|
}, {
|
|
34657
|
-
default:
|
|
34657
|
+
default: ue(() => [
|
|
34658
34658
|
oe(l, {
|
|
34659
34659
|
value: e.bpmnFormData.name,
|
|
34660
34660
|
"onUpdate:value": t[2] || (t[2] = (v) => e.bpmnFormData.name = v),
|
|
@@ -34667,7 +34667,7 @@ function ZB(e, t, n, r, o, s) {
|
|
|
34667
34667
|
key: 2,
|
|
34668
34668
|
label: "状态"
|
|
34669
34669
|
}, {
|
|
34670
|
-
default:
|
|
34670
|
+
default: ue(() => [
|
|
34671
34671
|
oe(c, {
|
|
34672
34672
|
checked: e.bpmnFormData.isExpanded,
|
|
34673
34673
|
"onUpdate:checked": t[4] || (t[4] = (v) => e.bpmnFormData.isExpanded = v),
|
|
@@ -34679,7 +34679,7 @@ function ZB(e, t, n, r, o, s) {
|
|
|
34679
34679
|
_: 1
|
|
34680
34680
|
})) : tn("", !0),
|
|
34681
34681
|
oe(u, { label: "节点描述" }, {
|
|
34682
|
-
default:
|
|
34682
|
+
default: ue(() => [
|
|
34683
34683
|
oe(l, {
|
|
34684
34684
|
rows: 2,
|
|
34685
34685
|
type: "textarea",
|
|
@@ -34758,7 +34758,7 @@ const JB = /* @__PURE__ */ li(XB, [["render", ZB]]), QB = ni({
|
|
|
34758
34758
|
b.value.pageNum = ge, b.value.pageSize = Y, pe();
|
|
34759
34759
|
}, J = (ge, Y) => {
|
|
34760
34760
|
b.value.pageNum = ge, pe();
|
|
34761
|
-
},
|
|
34761
|
+
}, le = () => {
|
|
34762
34762
|
}, pe = async () => {
|
|
34763
34763
|
n.value = !0;
|
|
34764
34764
|
const ge = await c.fetchUsers(b.value);
|
|
@@ -34807,7 +34807,7 @@ const JB = /* @__PURE__ */ li(XB, [["render", ZB]]), QB = ni({
|
|
|
34807
34807
|
resetQuery: W,
|
|
34808
34808
|
onPageSizeChange: ee,
|
|
34809
34809
|
onPageChange: J,
|
|
34810
|
-
onDeptNameChange:
|
|
34810
|
+
onDeptNameChange: le
|
|
34811
34811
|
};
|
|
34812
34812
|
}
|
|
34813
34813
|
});
|
|
@@ -34830,7 +34830,7 @@ function o3(e, t, n, r, o, s) {
|
|
|
34830
34830
|
onChange: e.onDeptNameChange,
|
|
34831
34831
|
style: { "margin-bottom": "20px" }
|
|
34832
34832
|
}, {
|
|
34833
|
-
prefix:
|
|
34833
|
+
prefix: ue(() => [
|
|
34834
34834
|
oe(l)
|
|
34835
34835
|
]),
|
|
34836
34836
|
_: 1
|
|
@@ -34857,12 +34857,12 @@ function o3(e, t, n, r, o, s) {
|
|
|
34857
34857
|
"label-align": "left",
|
|
34858
34858
|
"label-col": { style: { width: "68px" } }
|
|
34859
34859
|
}, {
|
|
34860
|
-
default:
|
|
34860
|
+
default: ue(() => [
|
|
34861
34861
|
oe(d, {
|
|
34862
34862
|
label: "用户名称",
|
|
34863
34863
|
name: "userName"
|
|
34864
34864
|
}, {
|
|
34865
|
-
default:
|
|
34865
|
+
default: ue(() => [
|
|
34866
34866
|
oe(u, {
|
|
34867
34867
|
value: e.queryParams.userName,
|
|
34868
34868
|
"onUpdate:value": t[1] || (t[1] = (A) => e.queryParams.userName = A),
|
|
@@ -34875,16 +34875,16 @@ function o3(e, t, n, r, o, s) {
|
|
|
34875
34875
|
_: 1
|
|
34876
34876
|
}),
|
|
34877
34877
|
oe(d, null, {
|
|
34878
|
-
default:
|
|
34878
|
+
default: ue(() => [
|
|
34879
34879
|
oe(v, {
|
|
34880
34880
|
type: "primary",
|
|
34881
34881
|
size: "small",
|
|
34882
34882
|
onClick: e.handleQuery
|
|
34883
34883
|
}, {
|
|
34884
|
-
icon:
|
|
34884
|
+
icon: ue(() => [
|
|
34885
34885
|
oe(l)
|
|
34886
34886
|
]),
|
|
34887
|
-
default:
|
|
34887
|
+
default: ue(() => [
|
|
34888
34888
|
t[2] || (t[2] = lt(" 搜索 ", -1))
|
|
34889
34889
|
]),
|
|
34890
34890
|
_: 1
|
|
@@ -34894,10 +34894,10 @@ function o3(e, t, n, r, o, s) {
|
|
|
34894
34894
|
onClick: e.resetQuery,
|
|
34895
34895
|
style: { "margin-left": "8px" }
|
|
34896
34896
|
}, {
|
|
34897
|
-
icon:
|
|
34897
|
+
icon: ue(() => [
|
|
34898
34898
|
oe(m)
|
|
34899
34899
|
]),
|
|
34900
|
-
default:
|
|
34900
|
+
default: ue(() => [
|
|
34901
34901
|
t[3] || (t[3] = lt(" 重置 ", -1))
|
|
34902
34902
|
]),
|
|
34903
34903
|
_: 1
|
|
@@ -34924,7 +34924,7 @@ function o3(e, t, n, r, o, s) {
|
|
|
34924
34924
|
pagination: !1,
|
|
34925
34925
|
size: "small"
|
|
34926
34926
|
}, {
|
|
34927
|
-
default:
|
|
34927
|
+
default: ue(() => [
|
|
34928
34928
|
(Qe(!0), er(jc, null, Gd(e.visibleColumns, (A) => (Qe(), Et(b, {
|
|
34929
34929
|
key: A.key,
|
|
34930
34930
|
title: A.label,
|
|
@@ -34947,7 +34947,7 @@ function o3(e, t, n, r, o, s) {
|
|
|
34947
34947
|
onChange: e.handleSingleUserSelect
|
|
34948
34948
|
}
|
|
34949
34949
|
}, {
|
|
34950
|
-
default:
|
|
34950
|
+
default: ue(() => [
|
|
34951
34951
|
(Qe(!0), er(jc, null, Gd(e.visibleColumns, (A) => (Qe(), Et(b, {
|
|
34952
34952
|
key: A.key,
|
|
34953
34953
|
title: A.label,
|
|
@@ -35061,12 +35061,12 @@ function u3(e, t, n, r, o, s) {
|
|
|
35061
35061
|
size: "small",
|
|
35062
35062
|
onFinish: e.handleQuery
|
|
35063
35063
|
}, {
|
|
35064
|
-
default:
|
|
35064
|
+
default: ue(() => [
|
|
35065
35065
|
oe(u, {
|
|
35066
35066
|
label: "角色名称",
|
|
35067
35067
|
name: "roleName"
|
|
35068
35068
|
}, {
|
|
35069
|
-
default:
|
|
35069
|
+
default: ue(() => [
|
|
35070
35070
|
oe(l, {
|
|
35071
35071
|
value: e.queryParams.roleName,
|
|
35072
35072
|
"onUpdate:value": t[0] || (t[0] = (S) => e.queryParams.roleName = S),
|
|
@@ -35079,15 +35079,15 @@ function u3(e, t, n, r, o, s) {
|
|
|
35079
35079
|
_: 1
|
|
35080
35080
|
}),
|
|
35081
35081
|
oe(u, null, {
|
|
35082
|
-
default:
|
|
35082
|
+
default: ue(() => [
|
|
35083
35083
|
oe(d, {
|
|
35084
35084
|
type: "primary",
|
|
35085
35085
|
onClick: e.handleQuery
|
|
35086
35086
|
}, {
|
|
35087
|
-
icon:
|
|
35087
|
+
icon: ue(() => [
|
|
35088
35088
|
oe(c)
|
|
35089
35089
|
]),
|
|
35090
|
-
default:
|
|
35090
|
+
default: ue(() => [
|
|
35091
35091
|
t[1] || (t[1] = lt(" 搜索 ", -1))
|
|
35092
35092
|
]),
|
|
35093
35093
|
_: 1
|
|
@@ -35096,10 +35096,10 @@ function u3(e, t, n, r, o, s) {
|
|
|
35096
35096
|
onClick: e.resetQuery,
|
|
35097
35097
|
style: { "margin-left": "8px" }
|
|
35098
35098
|
}, {
|
|
35099
|
-
icon:
|
|
35099
|
+
icon: ue(() => [
|
|
35100
35100
|
oe(v)
|
|
35101
35101
|
]),
|
|
35102
|
-
default:
|
|
35102
|
+
default: ue(() => [
|
|
35103
35103
|
t[2] || (t[2] = lt(" 重置 ", -1))
|
|
35104
35104
|
]),
|
|
35105
35105
|
_: 1
|
|
@@ -35124,7 +35124,7 @@ function u3(e, t, n, r, o, s) {
|
|
|
35124
35124
|
},
|
|
35125
35125
|
pagination: !1
|
|
35126
35126
|
}, {
|
|
35127
|
-
default:
|
|
35127
|
+
default: ue(() => [
|
|
35128
35128
|
oe(y, {
|
|
35129
35129
|
title: "角色编号",
|
|
35130
35130
|
"data-index": "id",
|
|
@@ -35156,7 +35156,7 @@ function u3(e, t, n, r, o, s) {
|
|
|
35156
35156
|
},
|
|
35157
35157
|
pagination: !1
|
|
35158
35158
|
}, {
|
|
35159
|
-
default:
|
|
35159
|
+
default: ue(() => [
|
|
35160
35160
|
oe(y, {
|
|
35161
35161
|
title: "角色编号",
|
|
35162
35162
|
"data-index": "id",
|
|
@@ -35216,10 +35216,8 @@ const c3 = /* @__PURE__ */ li(s3, [["render", u3], ["__scopeId", "data-v-aef69da
|
|
|
35216
35216
|
}), c = (S) => p3[S] || S, d = () => {
|
|
35217
35217
|
n.value = !0, setTimeout(() => {
|
|
35218
35218
|
s.value = [
|
|
35219
|
-
{ id: 1, name: "
|
|
35220
|
-
{ id: 2, name: "审批流程指定接收人", expression: "${候选人1}", dataType: "dynamic" }
|
|
35221
|
-
{ id: 3, name: "审批流程指定接收人", expression: "${候选人1},${候选人2}", dataType: "dynamic" },
|
|
35222
|
-
{ id: 4, name: "经理", expression: "经理", dataType: "string" }
|
|
35219
|
+
{ id: 1, name: "审批流程指定接收人(单人)", expression: "${候选人1}", dataType: "dynamic" },
|
|
35220
|
+
{ id: 2, name: "审批流程指定接收人(多人)", expression: "${候选人1},${候选人2}", dataType: "dynamic" }
|
|
35223
35221
|
], o.value = 2, n.value = !1;
|
|
35224
35222
|
}, 300);
|
|
35225
35223
|
}, v = () => {
|
|
@@ -35277,9 +35275,9 @@ function h3(e, t, n, r, o, s) {
|
|
|
35277
35275
|
layout: "inline",
|
|
35278
35276
|
onKeyup: wC(e.handleQuery, ["enter"])
|
|
35279
35277
|
}, {
|
|
35280
|
-
default:
|
|
35278
|
+
default: ue(() => [
|
|
35281
35279
|
oe(u, { label: "名称" }, {
|
|
35282
|
-
default:
|
|
35280
|
+
default: ue(() => [
|
|
35283
35281
|
oe(l, {
|
|
35284
35282
|
value: e.queryParams.name,
|
|
35285
35283
|
"onUpdate:value": t[0] || (t[0] = (S) => e.queryParams.name = S),
|
|
@@ -35291,15 +35289,15 @@ function h3(e, t, n, r, o, s) {
|
|
|
35291
35289
|
_: 1
|
|
35292
35290
|
}),
|
|
35293
35291
|
oe(u, null, {
|
|
35294
|
-
default:
|
|
35292
|
+
default: ue(() => [
|
|
35295
35293
|
oe(d, {
|
|
35296
35294
|
type: "primary",
|
|
35297
35295
|
onClick: e.handleQuery
|
|
35298
35296
|
}, {
|
|
35299
|
-
icon:
|
|
35297
|
+
icon: ue(() => [
|
|
35300
35298
|
oe(c)
|
|
35301
35299
|
]),
|
|
35302
|
-
default:
|
|
35300
|
+
default: ue(() => [
|
|
35303
35301
|
t[1] || (t[1] = lt(" 搜索 ", -1))
|
|
35304
35302
|
]),
|
|
35305
35303
|
_: 1
|
|
@@ -35308,10 +35306,10 @@ function h3(e, t, n, r, o, s) {
|
|
|
35308
35306
|
onClick: e.resetQuery,
|
|
35309
35307
|
style: { "margin-left": "8px" }
|
|
35310
35308
|
}, {
|
|
35311
|
-
icon:
|
|
35309
|
+
icon: ue(() => [
|
|
35312
35310
|
oe(v)
|
|
35313
35311
|
]),
|
|
35314
|
-
default:
|
|
35312
|
+
default: ue(() => [
|
|
35315
35313
|
t[2] || (t[2] = lt(" 重置 ", -1))
|
|
35316
35314
|
]),
|
|
35317
35315
|
_: 1
|
|
@@ -35336,7 +35334,7 @@ function h3(e, t, n, r, o, s) {
|
|
|
35336
35334
|
onChange: e.handleRowClick
|
|
35337
35335
|
}
|
|
35338
35336
|
}, {
|
|
35339
|
-
default:
|
|
35337
|
+
default: ue(() => [
|
|
35340
35338
|
oe(y, {
|
|
35341
35339
|
title: "名称",
|
|
35342
35340
|
"data-index": "name",
|
|
@@ -35351,7 +35349,7 @@ function h3(e, t, n, r, o, s) {
|
|
|
35351
35349
|
title: "表达式类型",
|
|
35352
35350
|
align: "center"
|
|
35353
35351
|
}, {
|
|
35354
|
-
customRender:
|
|
35352
|
+
customRender: ue(({ record: S }) => [
|
|
35355
35353
|
lt(Oh(e.getDataTypeLabel(S.dataType)), 1)
|
|
35356
35354
|
]),
|
|
35357
35355
|
_: 1
|
|
@@ -35371,7 +35369,7 @@ function h3(e, t, n, r, o, s) {
|
|
|
35371
35369
|
}, null, 8, ["total", "current", "page-size", "onChange", "onShowSizeChange"])) : tn("", !0)
|
|
35372
35370
|
]);
|
|
35373
35371
|
}
|
|
35374
|
-
const v3 = /* @__PURE__ */ li(f3, [["render", h3], ["__scopeId", "data-v-
|
|
35372
|
+
const v3 = /* @__PURE__ */ li(f3, [["render", h3], ["__scopeId", "data-v-8afeeb4c"]]), m3 = ni({
|
|
35375
35373
|
name: "UserTaskPanel",
|
|
35376
35374
|
props: {
|
|
35377
35375
|
id: {
|
|
@@ -35436,7 +35434,7 @@ const v3 = /* @__PURE__ */ li(f3, [["render", h3], ["__scopeId", "data-v-26f8ada
|
|
|
35436
35434
|
te === "async" && (me = me ? "true" : "false"), ae.modeling.updateProperties(ae.element, { [te]: me });
|
|
35437
35435
|
}, D = (te) => {
|
|
35438
35436
|
const ae = te.target.value;
|
|
35439
|
-
S(), b.assignee = null, b.candidateUsers = null, b.candidateGroups = null, b.exp = null;
|
|
35437
|
+
S(), delete t.element.businessObject.userType, y[ae] = null, b.assignee = null, b.candidateUsers = null, b.candidateGroups = null, b.exp = null;
|
|
35440
35438
|
const me = _();
|
|
35441
35439
|
me && me.modeling.updateProperties(me.element, { userType: ae });
|
|
35442
35440
|
}, M = (te) => {
|
|
@@ -35477,7 +35475,7 @@ const v3 = /* @__PURE__ */ li(f3, [["render", h3], ["__scopeId", "data-v-26f8ada
|
|
|
35477
35475
|
expId: te.id.toString(),
|
|
35478
35476
|
[y.userType]: te.expression
|
|
35479
35477
|
}), b.exp = te.id);
|
|
35480
|
-
},
|
|
35478
|
+
}, le = (te) => {
|
|
35481
35479
|
if (!te)
|
|
35482
35480
|
return;
|
|
35483
35481
|
const ae = _();
|
|
@@ -35552,7 +35550,7 @@ const v3 = /* @__PURE__ */ li(f3, [["render", h3], ["__scopeId", "data-v-26f8ada
|
|
|
35552
35550
|
updateElementTask: B,
|
|
35553
35551
|
updateUserType: D,
|
|
35554
35552
|
expSelect: J,
|
|
35555
|
-
userSelect:
|
|
35553
|
+
userSelect: le,
|
|
35556
35554
|
roleSelect: pe,
|
|
35557
35555
|
checkUserComplete: ge,
|
|
35558
35556
|
checkRoleComplete: Y,
|
|
@@ -35618,28 +35616,28 @@ const v3 = /* @__PURE__ */ li(f3, [["render", h3], ["__scopeId", "data-v-26f8ada
|
|
|
35618
35616
|
}
|
|
35619
35617
|
});
|
|
35620
35618
|
function g3(e, t, n, r, o, s) {
|
|
35621
|
-
const l = we("a-radio-button"), u = we("a-radio-group"), c = we("a-form-item"), d = we("a-select"), v = we("UserOutlined"), m = we("a-button"), y = we("a-tooltip"), b = we("
|
|
35619
|
+
const l = we("a-radio-button"), u = we("a-radio-group"), c = we("a-form-item"), d = we("a-select"), v = we("UserOutlined"), m = we("a-button"), y = we("a-tooltip"), b = we("a-space"), _ = we("CodeOutlined"), S = we("TeamOutlined"), A = we("a-form"), B = we("flow-user"), D = we("a-modal"), M = we("flow-role"), T = we("flow-exp");
|
|
35622
35620
|
return Qe(), er("div", null, [
|
|
35623
35621
|
oe(A, {
|
|
35624
35622
|
"label-col": { span: 6 },
|
|
35625
35623
|
"wrapper-col": { span: 18 },
|
|
35626
35624
|
size: "small"
|
|
35627
35625
|
}, {
|
|
35628
|
-
default:
|
|
35626
|
+
default: ue(() => [
|
|
35629
35627
|
oe(c, { label: "用户类型" }, {
|
|
35630
|
-
default:
|
|
35628
|
+
default: ue(() => [
|
|
35631
35629
|
oe(u, {
|
|
35632
35630
|
value: e.bpmnFormData.userType,
|
|
35633
35631
|
"onUpdate:value": t[0] || (t[0] = (k) => e.bpmnFormData.userType = k),
|
|
35634
35632
|
"button-style": "solid",
|
|
35635
35633
|
onChange: e.updateUserType
|
|
35636
35634
|
}, {
|
|
35637
|
-
default:
|
|
35635
|
+
default: ue(() => [
|
|
35638
35636
|
(Qe(!0), er(jc, null, Gd(e.userTypeOption, (k) => (Qe(), Et(l, {
|
|
35639
35637
|
value: k.value,
|
|
35640
35638
|
key: k.value
|
|
35641
35639
|
}, {
|
|
35642
|
-
default:
|
|
35640
|
+
default: ue(() => [
|
|
35643
35641
|
lt(Oh(k.label), 1)
|
|
35644
35642
|
]),
|
|
35645
35643
|
_: 2
|
|
@@ -35654,44 +35652,29 @@ function g3(e, t, n, r, o, s) {
|
|
|
35654
35652
|
key: 0,
|
|
35655
35653
|
label: "指定人员"
|
|
35656
35654
|
}, {
|
|
35657
|
-
default:
|
|
35655
|
+
default: ue(() => [
|
|
35658
35656
|
oe(d, {
|
|
35659
35657
|
value: e.bpmnFormData.assignee,
|
|
35660
35658
|
"onUpdate:value": t[1] || (t[1] = (k) => e.bpmnFormData.assignee = k),
|
|
35661
35659
|
allowClear: !0,
|
|
35662
35660
|
style: { width: "100%" }
|
|
35663
35661
|
}, null, 8, ["value"]),
|
|
35664
|
-
oe(
|
|
35665
|
-
default:
|
|
35662
|
+
oe(b, { style: { "margin-top": "4px" } }, {
|
|
35663
|
+
default: ue(() => [
|
|
35666
35664
|
oe(y, { title: "指定人员" }, {
|
|
35667
|
-
default:
|
|
35665
|
+
default: ue(() => [
|
|
35668
35666
|
oe(m, {
|
|
35669
35667
|
size: "small",
|
|
35670
35668
|
type: "primary",
|
|
35671
35669
|
onClick: e.singleUserCheck
|
|
35672
35670
|
}, {
|
|
35673
|
-
icon:
|
|
35671
|
+
icon: ue(() => [
|
|
35674
35672
|
oe(v)
|
|
35675
35673
|
]),
|
|
35676
35674
|
_: 1
|
|
35677
35675
|
}, 8, ["onClick"])
|
|
35678
35676
|
]),
|
|
35679
35677
|
_: 1
|
|
35680
|
-
}),
|
|
35681
|
-
oe(y, { title: "选择表达式" }, {
|
|
35682
|
-
default: se(() => [
|
|
35683
|
-
oe(m, {
|
|
35684
|
-
size: "small",
|
|
35685
|
-
type: "primary",
|
|
35686
|
-
onClick: e.singleExpCheck
|
|
35687
|
-
}, {
|
|
35688
|
-
icon: se(() => [
|
|
35689
|
-
oe(b)
|
|
35690
|
-
]),
|
|
35691
|
-
_: 1
|
|
35692
|
-
}, 8, ["onClick"])
|
|
35693
|
-
]),
|
|
35694
|
-
_: 1
|
|
35695
35678
|
})
|
|
35696
35679
|
]),
|
|
35697
35680
|
_: 1
|
|
@@ -35702,7 +35685,7 @@ function g3(e, t, n, r, o, s) {
|
|
|
35702
35685
|
key: 1,
|
|
35703
35686
|
label: "候选人员"
|
|
35704
35687
|
}, {
|
|
35705
|
-
default:
|
|
35688
|
+
default: ue(() => [
|
|
35706
35689
|
oe(d, {
|
|
35707
35690
|
value: e.candidateUsersList,
|
|
35708
35691
|
"onUpdate:value": t[2] || (t[2] = (k) => e.candidateUsersList = k),
|
|
@@ -35711,16 +35694,16 @@ function g3(e, t, n, r, o, s) {
|
|
|
35711
35694
|
"token-separators": [",", " "],
|
|
35712
35695
|
options: []
|
|
35713
35696
|
}, null, 8, ["value"]),
|
|
35714
|
-
oe(
|
|
35715
|
-
default:
|
|
35697
|
+
oe(b, { style: { "margin-top": "4px" } }, {
|
|
35698
|
+
default: ue(() => [
|
|
35716
35699
|
oe(y, { title: "候选人员" }, {
|
|
35717
|
-
default:
|
|
35700
|
+
default: ue(() => [
|
|
35718
35701
|
oe(m, {
|
|
35719
35702
|
size: "small",
|
|
35720
35703
|
type: "primary",
|
|
35721
35704
|
onClick: e.multipleUserCheck
|
|
35722
35705
|
}, {
|
|
35723
|
-
icon:
|
|
35706
|
+
icon: ue(() => [
|
|
35724
35707
|
oe(v)
|
|
35725
35708
|
]),
|
|
35726
35709
|
_: 1
|
|
@@ -35729,14 +35712,14 @@ function g3(e, t, n, r, o, s) {
|
|
|
35729
35712
|
_: 1
|
|
35730
35713
|
}),
|
|
35731
35714
|
oe(y, { title: "选择表达式" }, {
|
|
35732
|
-
default:
|
|
35715
|
+
default: ue(() => [
|
|
35733
35716
|
oe(m, {
|
|
35734
35717
|
size: "small",
|
|
35735
35718
|
type: "primary",
|
|
35736
35719
|
onClick: e.singleExpCheck
|
|
35737
35720
|
}, {
|
|
35738
|
-
icon:
|
|
35739
|
-
oe(
|
|
35721
|
+
icon: ue(() => [
|
|
35722
|
+
oe(_)
|
|
35740
35723
|
]),
|
|
35741
35724
|
_: 1
|
|
35742
35725
|
}, 8, ["onClick"])
|
|
@@ -35752,7 +35735,7 @@ function g3(e, t, n, r, o, s) {
|
|
|
35752
35735
|
key: 2,
|
|
35753
35736
|
label: "候选角色"
|
|
35754
35737
|
}, {
|
|
35755
|
-
default:
|
|
35738
|
+
default: ue(() => [
|
|
35756
35739
|
oe(d, {
|
|
35757
35740
|
value: e.candidateGroupsList,
|
|
35758
35741
|
"onUpdate:value": t[3] || (t[3] = (k) => e.candidateGroupsList = k),
|
|
@@ -35761,37 +35744,22 @@ function g3(e, t, n, r, o, s) {
|
|
|
35761
35744
|
"token-separators": [",", " "],
|
|
35762
35745
|
options: []
|
|
35763
35746
|
}, null, 8, ["value"]),
|
|
35764
|
-
oe(
|
|
35765
|
-
default:
|
|
35747
|
+
oe(b, { style: { "margin-top": "4px" } }, {
|
|
35748
|
+
default: ue(() => [
|
|
35766
35749
|
oe(y, { title: "候选角色" }, {
|
|
35767
|
-
default:
|
|
35750
|
+
default: ue(() => [
|
|
35768
35751
|
oe(m, {
|
|
35769
35752
|
size: "small",
|
|
35770
35753
|
type: "primary",
|
|
35771
35754
|
onClick: e.multipleRoleCheck
|
|
35772
35755
|
}, {
|
|
35773
|
-
icon:
|
|
35756
|
+
icon: ue(() => [
|
|
35774
35757
|
oe(S)
|
|
35775
35758
|
]),
|
|
35776
35759
|
_: 1
|
|
35777
35760
|
}, 8, ["onClick"])
|
|
35778
35761
|
]),
|
|
35779
35762
|
_: 1
|
|
35780
|
-
}),
|
|
35781
|
-
oe(y, { title: "选择表达式" }, {
|
|
35782
|
-
default: se(() => [
|
|
35783
|
-
oe(m, {
|
|
35784
|
-
size: "small",
|
|
35785
|
-
type: "primary",
|
|
35786
|
-
onClick: e.singleExpCheck
|
|
35787
|
-
}, {
|
|
35788
|
-
icon: se(() => [
|
|
35789
|
-
oe(b)
|
|
35790
|
-
]),
|
|
35791
|
-
_: 1
|
|
35792
|
-
}, 8, ["onClick"])
|
|
35793
|
-
]),
|
|
35794
|
-
_: 1
|
|
35795
35763
|
})
|
|
35796
35764
|
]),
|
|
35797
35765
|
_: 1
|
|
@@ -35810,12 +35778,12 @@ function g3(e, t, n, r, o, s) {
|
|
|
35810
35778
|
"mask-closable": !1,
|
|
35811
35779
|
closable: !1
|
|
35812
35780
|
}, {
|
|
35813
|
-
footer:
|
|
35781
|
+
footer: ue(() => [
|
|
35814
35782
|
oe(m, {
|
|
35815
35783
|
size: "small",
|
|
35816
35784
|
onClick: t[4] || (t[4] = (k) => e.userVisible = !1)
|
|
35817
35785
|
}, {
|
|
35818
|
-
default:
|
|
35786
|
+
default: ue(() => [...t[12] || (t[12] = [
|
|
35819
35787
|
lt("取 消", -1)
|
|
35820
35788
|
])]),
|
|
35821
35789
|
_: 1
|
|
@@ -35825,13 +35793,13 @@ function g3(e, t, n, r, o, s) {
|
|
|
35825
35793
|
type: "primary",
|
|
35826
35794
|
onClick: e.checkUserComplete
|
|
35827
35795
|
}, {
|
|
35828
|
-
default:
|
|
35796
|
+
default: ue(() => [...t[13] || (t[13] = [
|
|
35829
35797
|
lt("确 定", -1)
|
|
35830
35798
|
])]),
|
|
35831
35799
|
_: 1
|
|
35832
35800
|
}, 8, ["onClick"])
|
|
35833
35801
|
]),
|
|
35834
|
-
default:
|
|
35802
|
+
default: ue(() => [
|
|
35835
35803
|
e.userVisible ? (Qe(), Et(B, {
|
|
35836
35804
|
key: 0,
|
|
35837
35805
|
"check-type": e.checkType,
|
|
@@ -35849,12 +35817,12 @@ function g3(e, t, n, r, o, s) {
|
|
|
35849
35817
|
"mask-closable": !1,
|
|
35850
35818
|
closable: !1
|
|
35851
35819
|
}, {
|
|
35852
|
-
footer:
|
|
35820
|
+
footer: ue(() => [
|
|
35853
35821
|
oe(m, {
|
|
35854
35822
|
size: "small",
|
|
35855
35823
|
onClick: t[6] || (t[6] = (k) => e.roleVisible = !1)
|
|
35856
35824
|
}, {
|
|
35857
|
-
default:
|
|
35825
|
+
default: ue(() => [...t[14] || (t[14] = [
|
|
35858
35826
|
lt("取 消", -1)
|
|
35859
35827
|
])]),
|
|
35860
35828
|
_: 1
|
|
@@ -35864,13 +35832,13 @@ function g3(e, t, n, r, o, s) {
|
|
|
35864
35832
|
type: "primary",
|
|
35865
35833
|
onClick: e.checkRoleComplete
|
|
35866
35834
|
}, {
|
|
35867
|
-
default:
|
|
35835
|
+
default: ue(() => [...t[15] || (t[15] = [
|
|
35868
35836
|
lt("确 定", -1)
|
|
35869
35837
|
])]),
|
|
35870
35838
|
_: 1
|
|
35871
35839
|
}, 8, ["onClick"])
|
|
35872
35840
|
]),
|
|
35873
|
-
default:
|
|
35841
|
+
default: ue(() => [
|
|
35874
35842
|
e.roleVisible ? (Qe(), Et(M, {
|
|
35875
35843
|
key: 0,
|
|
35876
35844
|
"select-values": e.selectData.candidateGroups,
|
|
@@ -35887,12 +35855,12 @@ function g3(e, t, n, r, o, s) {
|
|
|
35887
35855
|
"mask-closable": !1,
|
|
35888
35856
|
closable: !1
|
|
35889
35857
|
}, {
|
|
35890
|
-
footer:
|
|
35858
|
+
footer: ue(() => [
|
|
35891
35859
|
oe(m, {
|
|
35892
35860
|
size: "small",
|
|
35893
35861
|
onClick: t[8] || (t[8] = (k) => e.expVisible = !1)
|
|
35894
35862
|
}, {
|
|
35895
|
-
default:
|
|
35863
|
+
default: ue(() => [...t[16] || (t[16] = [
|
|
35896
35864
|
lt("取 消", -1)
|
|
35897
35865
|
])]),
|
|
35898
35866
|
_: 1
|
|
@@ -35902,13 +35870,13 @@ function g3(e, t, n, r, o, s) {
|
|
|
35902
35870
|
type: "primary",
|
|
35903
35871
|
onClick: e.checkExpComplete
|
|
35904
35872
|
}, {
|
|
35905
|
-
default:
|
|
35873
|
+
default: ue(() => [...t[17] || (t[17] = [
|
|
35906
35874
|
lt("确 定", -1)
|
|
35907
35875
|
])]),
|
|
35908
35876
|
_: 1
|
|
35909
35877
|
}, 8, ["onClick"])
|
|
35910
35878
|
]),
|
|
35911
|
-
default:
|
|
35879
|
+
default: ue(() => [
|
|
35912
35880
|
e.expVisible ? (Qe(), Et(T, {
|
|
35913
35881
|
key: 0,
|
|
35914
35882
|
"select-values": e.selectData.exp,
|
|
@@ -35925,12 +35893,12 @@ function g3(e, t, n, r, o, s) {
|
|
|
35925
35893
|
"mask-closable": !1,
|
|
35926
35894
|
closable: !1
|
|
35927
35895
|
}, {
|
|
35928
|
-
footer:
|
|
35896
|
+
footer: ue(() => [
|
|
35929
35897
|
oe(m, {
|
|
35930
35898
|
size: "small",
|
|
35931
35899
|
onClick: t[10] || (t[10] = (k) => e.carbonCopyVisible = !1)
|
|
35932
35900
|
}, {
|
|
35933
|
-
default:
|
|
35901
|
+
default: ue(() => [...t[18] || (t[18] = [
|
|
35934
35902
|
lt("取 消", -1)
|
|
35935
35903
|
])]),
|
|
35936
35904
|
_: 1
|
|
@@ -35940,13 +35908,13 @@ function g3(e, t, n, r, o, s) {
|
|
|
35940
35908
|
type: "primary",
|
|
35941
35909
|
onClick: e.copyItemComplete
|
|
35942
35910
|
}, {
|
|
35943
|
-
default:
|
|
35911
|
+
default: ue(() => [...t[19] || (t[19] = [
|
|
35944
35912
|
lt("确 定", -1)
|
|
35945
35913
|
])]),
|
|
35946
35914
|
_: 1
|
|
35947
35915
|
}, 8, ["onClick"])
|
|
35948
35916
|
]),
|
|
35949
|
-
default:
|
|
35917
|
+
default: ue(() => [
|
|
35950
35918
|
e.carbonCopyVisible ? (Qe(), Et(B, {
|
|
35951
35919
|
key: 0,
|
|
35952
35920
|
"check-type": "multiple",
|
|
@@ -35958,7 +35926,7 @@ function g3(e, t, n, r, o, s) {
|
|
|
35958
35926
|
}, 8, ["open"])
|
|
35959
35927
|
]);
|
|
35960
35928
|
}
|
|
35961
|
-
const y3 = /* @__PURE__ */ li(m3, [["render", g3], ["__scopeId", "data-v-
|
|
35929
|
+
const y3 = /* @__PURE__ */ li(m3, [["render", g3], ["__scopeId", "data-v-1e6acf6d"]]), b3 = ni({
|
|
35962
35930
|
name: "FlowConditionPanel",
|
|
35963
35931
|
props: {
|
|
35964
35932
|
id: {
|
|
@@ -36041,13 +36009,13 @@ function E3(e, t, n, r, o, s) {
|
|
|
36041
36009
|
"label-col": { span: 6 },
|
|
36042
36010
|
layout: "horizontal"
|
|
36043
36011
|
}, {
|
|
36044
|
-
default:
|
|
36012
|
+
default: ue(() => [
|
|
36045
36013
|
oe(v, null, {
|
|
36046
|
-
label:
|
|
36014
|
+
label: ue(() => [
|
|
36047
36015
|
wt("span", null, [
|
|
36048
36016
|
t[8] || (t[8] = lt(" 流转类型 ", -1)),
|
|
36049
36017
|
oe(u, { placement: "top" }, {
|
|
36050
|
-
title:
|
|
36018
|
+
title: ue(() => [...t[7] || (t[7] = [
|
|
36051
36019
|
wt("div", null, [
|
|
36052
36020
|
lt(" 普通流转路径:流程执行过程中,一个元素被访问后,会沿着其所有出口顺序流继续执行。 "),
|
|
36053
36021
|
wt("br"),
|
|
@@ -36056,35 +36024,35 @@ function E3(e, t, n, r, o, s) {
|
|
|
36056
36024
|
lt("条件流转路径:是计算其每个出口顺序流上的条件。当条件计算为true时,选择该出口顺序流。如果该方法选择了多条顺序流,则会生成多个执行,流程会以并行方式继续。 ")
|
|
36057
36025
|
], -1)
|
|
36058
36026
|
])]),
|
|
36059
|
-
default:
|
|
36027
|
+
default: ue(() => [
|
|
36060
36028
|
oe(l, { style: { "margin-left": "4px", cursor: "pointer" } })
|
|
36061
36029
|
]),
|
|
36062
36030
|
_: 1
|
|
36063
36031
|
})
|
|
36064
36032
|
])
|
|
36065
36033
|
]),
|
|
36066
|
-
default:
|
|
36034
|
+
default: ue(() => [
|
|
36067
36035
|
oe(d, {
|
|
36068
36036
|
value: e.bpmnFormData.type,
|
|
36069
36037
|
"onUpdate:value": t[0] || (t[0] = (_) => e.bpmnFormData.type = _),
|
|
36070
36038
|
onChange: e.updateFlowType,
|
|
36071
36039
|
placeholder: "请选择流转类型"
|
|
36072
36040
|
}, {
|
|
36073
|
-
default:
|
|
36041
|
+
default: ue(() => [
|
|
36074
36042
|
oe(c, { value: "normal" }, {
|
|
36075
|
-
default:
|
|
36043
|
+
default: ue(() => [...t[9] || (t[9] = [
|
|
36076
36044
|
lt("普通流转路径", -1)
|
|
36077
36045
|
])]),
|
|
36078
36046
|
_: 1
|
|
36079
36047
|
}),
|
|
36080
36048
|
oe(c, { value: "default" }, {
|
|
36081
|
-
default:
|
|
36049
|
+
default: ue(() => [...t[10] || (t[10] = [
|
|
36082
36050
|
lt("默认流转路径", -1)
|
|
36083
36051
|
])]),
|
|
36084
36052
|
_: 1
|
|
36085
36053
|
}),
|
|
36086
36054
|
oe(c, { value: "condition" }, {
|
|
36087
|
-
default:
|
|
36055
|
+
default: ue(() => [...t[11] || (t[11] = [
|
|
36088
36056
|
lt("条件流转路径", -1)
|
|
36089
36057
|
])]),
|
|
36090
36058
|
_: 1
|
|
@@ -36099,21 +36067,21 @@ function E3(e, t, n, r, o, s) {
|
|
|
36099
36067
|
label: "条件格式",
|
|
36100
36068
|
key: "condition"
|
|
36101
36069
|
}, {
|
|
36102
|
-
default:
|
|
36070
|
+
default: ue(() => [
|
|
36103
36071
|
oe(d, {
|
|
36104
36072
|
value: e.bpmnFormData.conditionType,
|
|
36105
36073
|
"onUpdate:value": t[1] || (t[1] = (_) => e.bpmnFormData.conditionType = _),
|
|
36106
36074
|
placeholder: "请选择条件格式"
|
|
36107
36075
|
}, {
|
|
36108
|
-
default:
|
|
36076
|
+
default: ue(() => [
|
|
36109
36077
|
oe(c, { value: "expression" }, {
|
|
36110
|
-
default:
|
|
36078
|
+
default: ue(() => [...t[12] || (t[12] = [
|
|
36111
36079
|
lt("表达式", -1)
|
|
36112
36080
|
])]),
|
|
36113
36081
|
_: 1
|
|
36114
36082
|
}),
|
|
36115
36083
|
oe(c, { value: "script" }, {
|
|
36116
|
-
default:
|
|
36084
|
+
default: ue(() => [...t[13] || (t[13] = [
|
|
36117
36085
|
lt("脚本", -1)
|
|
36118
36086
|
])]),
|
|
36119
36087
|
_: 1
|
|
@@ -36128,7 +36096,7 @@ function E3(e, t, n, r, o, s) {
|
|
|
36128
36096
|
label: "表达式",
|
|
36129
36097
|
key: "express"
|
|
36130
36098
|
}, {
|
|
36131
|
-
default:
|
|
36099
|
+
default: ue(() => [
|
|
36132
36100
|
oe(m, {
|
|
36133
36101
|
value: e.bpmnFormData.body,
|
|
36134
36102
|
"onUpdate:value": t[2] || (t[2] = (_) => e.bpmnFormData.body = _),
|
|
@@ -36144,7 +36112,7 @@ function E3(e, t, n, r, o, s) {
|
|
|
36144
36112
|
label: "脚本语言",
|
|
36145
36113
|
key: "language"
|
|
36146
36114
|
}, {
|
|
36147
|
-
default:
|
|
36115
|
+
default: ue(() => [
|
|
36148
36116
|
oe(m, {
|
|
36149
36117
|
value: e.bpmnFormData.language,
|
|
36150
36118
|
"onUpdate:value": t[3] || (t[3] = (_) => e.bpmnFormData.language = _),
|
|
@@ -36158,21 +36126,21 @@ function E3(e, t, n, r, o, s) {
|
|
|
36158
36126
|
label: "脚本类型",
|
|
36159
36127
|
key: "scriptType"
|
|
36160
36128
|
}, {
|
|
36161
|
-
default:
|
|
36129
|
+
default: ue(() => [
|
|
36162
36130
|
oe(d, {
|
|
36163
36131
|
value: e.bpmnFormData.scriptType,
|
|
36164
36132
|
"onUpdate:value": t[4] || (t[4] = (_) => e.bpmnFormData.scriptType = _),
|
|
36165
36133
|
placeholder: "请选择脚本类型"
|
|
36166
36134
|
}, {
|
|
36167
|
-
default:
|
|
36135
|
+
default: ue(() => [
|
|
36168
36136
|
oe(c, { value: "inlineScript" }, {
|
|
36169
|
-
default:
|
|
36137
|
+
default: ue(() => [...t[14] || (t[14] = [
|
|
36170
36138
|
lt("内联脚本", -1)
|
|
36171
36139
|
])]),
|
|
36172
36140
|
_: 1
|
|
36173
36141
|
}),
|
|
36174
36142
|
oe(c, { value: "externalScript" }, {
|
|
36175
|
-
default:
|
|
36143
|
+
default: ue(() => [...t[15] || (t[15] = [
|
|
36176
36144
|
lt("外部脚本", -1)
|
|
36177
36145
|
])]),
|
|
36178
36146
|
_: 1
|
|
@@ -36187,7 +36155,7 @@ function E3(e, t, n, r, o, s) {
|
|
|
36187
36155
|
label: "脚本",
|
|
36188
36156
|
key: "body"
|
|
36189
36157
|
}, {
|
|
36190
|
-
default:
|
|
36158
|
+
default: ue(() => [
|
|
36191
36159
|
oe(y, {
|
|
36192
36160
|
value: e.bpmnFormData.body,
|
|
36193
36161
|
"onUpdate:value": t[5] || (t[5] = (_) => e.bpmnFormData.body = _),
|
|
@@ -36203,7 +36171,7 @@ function E3(e, t, n, r, o, s) {
|
|
|
36203
36171
|
label: "资源地址",
|
|
36204
36172
|
key: "resource"
|
|
36205
36173
|
}, {
|
|
36206
|
-
default:
|
|
36174
|
+
default: ue(() => [
|
|
36207
36175
|
oe(m, {
|
|
36208
36176
|
value: e.bpmnFormData.resource,
|
|
36209
36177
|
"onUpdate:value": t[6] || (t[6] = (_) => e.bpmnFormData.resource = _),
|
|
@@ -36527,12 +36495,12 @@ function A3(e, t, n, r, o, s) {
|
|
|
36527
36495
|
activeKey: e.activeName,
|
|
36528
36496
|
"onUpdate:activeKey": t[0] || (t[0] = (m) => e.activeName = m)
|
|
36529
36497
|
}, {
|
|
36530
|
-
default:
|
|
36498
|
+
default: ue(() => [
|
|
36531
36499
|
oe(u, {
|
|
36532
36500
|
key: "common",
|
|
36533
36501
|
header: "常规信息"
|
|
36534
36502
|
}, {
|
|
36535
|
-
default:
|
|
36503
|
+
default: ue(() => [
|
|
36536
36504
|
oe(l, { id: e.elementId }, null, 8, ["id"])
|
|
36537
36505
|
]),
|
|
36538
36506
|
_: 1
|
|
@@ -36541,7 +36509,7 @@ function A3(e, t, n, r, o, s) {
|
|
|
36541
36509
|
key: "Task",
|
|
36542
36510
|
header: "任务配置"
|
|
36543
36511
|
}, {
|
|
36544
|
-
default:
|
|
36512
|
+
default: ue(() => [
|
|
36545
36513
|
oe(c, { id: e.elementId }, null, 8, ["id"])
|
|
36546
36514
|
]),
|
|
36547
36515
|
_: 1
|
|
@@ -36550,7 +36518,7 @@ function A3(e, t, n, r, o, s) {
|
|
|
36550
36518
|
key: "condition",
|
|
36551
36519
|
header: "流转条件"
|
|
36552
36520
|
}, {
|
|
36553
|
-
default:
|
|
36521
|
+
default: ue(() => [
|
|
36554
36522
|
oe(d, { id: e.elementId }, null, 8, ["id"])
|
|
36555
36523
|
]),
|
|
36556
36524
|
_: 1
|
|
@@ -38616,13 +38584,13 @@ function q3(e, t, n, r, o, s) {
|
|
|
38616
38584
|
wt("div", j3, [
|
|
38617
38585
|
wt("div", W3, [
|
|
38618
38586
|
oe(d, null, {
|
|
38619
|
-
default:
|
|
38587
|
+
default: ue(() => [
|
|
38620
38588
|
oe(l, {
|
|
38621
38589
|
type: "primary",
|
|
38622
38590
|
size: "small",
|
|
38623
38591
|
onClick: e.handleNewDiagram
|
|
38624
38592
|
}, {
|
|
38625
|
-
default:
|
|
38593
|
+
default: ue(() => [...t[7] || (t[7] = [
|
|
38626
38594
|
lt("新建", -1)
|
|
38627
38595
|
])]),
|
|
38628
38596
|
_: 1
|
|
@@ -38632,7 +38600,7 @@ function q3(e, t, n, r, o, s) {
|
|
|
38632
38600
|
size: "small",
|
|
38633
38601
|
onClick: e.fitViewport
|
|
38634
38602
|
}, {
|
|
38635
|
-
default:
|
|
38603
|
+
default: ue(() => [...t[8] || (t[8] = [
|
|
38636
38604
|
lt("自适应屏幕", -1)
|
|
38637
38605
|
])]),
|
|
38638
38606
|
_: 1
|
|
@@ -38642,7 +38610,7 @@ function q3(e, t, n, r, o, s) {
|
|
|
38642
38610
|
size: "small",
|
|
38643
38611
|
onClick: t[0] || (t[0] = () => e.zoomViewport(!0))
|
|
38644
38612
|
}, {
|
|
38645
|
-
default:
|
|
38613
|
+
default: ue(() => [...t[9] || (t[9] = [
|
|
38646
38614
|
lt("放大", -1)
|
|
38647
38615
|
])]),
|
|
38648
38616
|
_: 1
|
|
@@ -38652,7 +38620,7 @@ function q3(e, t, n, r, o, s) {
|
|
|
38652
38620
|
size: "small",
|
|
38653
38621
|
onClick: t[1] || (t[1] = () => e.zoomViewport(!1))
|
|
38654
38622
|
}, {
|
|
38655
|
-
default:
|
|
38623
|
+
default: ue(() => [...t[10] || (t[10] = [
|
|
38656
38624
|
lt("缩小", -1)
|
|
38657
38625
|
])]),
|
|
38658
38626
|
_: 1
|
|
@@ -38666,7 +38634,7 @@ function q3(e, t, n, r, o, s) {
|
|
|
38666
38634
|
}),
|
|
38667
38635
|
disabled: !e.modeler
|
|
38668
38636
|
}, {
|
|
38669
|
-
default:
|
|
38637
|
+
default: ue(() => [...t[11] || (t[11] = [
|
|
38670
38638
|
lt("后退", -1)
|
|
38671
38639
|
])]),
|
|
38672
38640
|
_: 1
|
|
@@ -38680,7 +38648,7 @@ function q3(e, t, n, r, o, s) {
|
|
|
38680
38648
|
}),
|
|
38681
38649
|
disabled: !e.modeler
|
|
38682
38650
|
}, {
|
|
38683
|
-
default:
|
|
38651
|
+
default: ue(() => [...t[12] || (t[12] = [
|
|
38684
38652
|
lt("前进", -1)
|
|
38685
38653
|
])]),
|
|
38686
38654
|
_: 1
|
|
@@ -38692,9 +38660,9 @@ function q3(e, t, n, r, o, s) {
|
|
|
38692
38660
|
"before-upload": e.openBpmn,
|
|
38693
38661
|
"show-upload-list": !1
|
|
38694
38662
|
}, {
|
|
38695
|
-
default:
|
|
38663
|
+
default: ue(() => [
|
|
38696
38664
|
oe(l, null, {
|
|
38697
|
-
default:
|
|
38665
|
+
default: ue(() => [
|
|
38698
38666
|
oe(u),
|
|
38699
38667
|
t[13] || (t[13] = lt(" 加载xml ", -1))
|
|
38700
38668
|
]),
|
|
@@ -38707,13 +38675,13 @@ function q3(e, t, n, r, o, s) {
|
|
|
38707
38675
|
_: 1
|
|
38708
38676
|
}),
|
|
38709
38677
|
oe(d, null, {
|
|
38710
|
-
default:
|
|
38678
|
+
default: ue(() => [
|
|
38711
38679
|
oe(l, {
|
|
38712
38680
|
type: "primary",
|
|
38713
38681
|
size: "small",
|
|
38714
38682
|
onClick: e.showXML
|
|
38715
38683
|
}, {
|
|
38716
|
-
default:
|
|
38684
|
+
default: ue(() => [...t[14] || (t[14] = [
|
|
38717
38685
|
lt("查看xml", -1)
|
|
38718
38686
|
])]),
|
|
38719
38687
|
_: 1
|
|
@@ -38723,7 +38691,7 @@ function q3(e, t, n, r, o, s) {
|
|
|
38723
38691
|
size: "small",
|
|
38724
38692
|
onClick: t[5] || (t[5] = () => e.saveXML(!0))
|
|
38725
38693
|
}, {
|
|
38726
|
-
default:
|
|
38694
|
+
default: ue(() => [...t[15] || (t[15] = [
|
|
38727
38695
|
lt("下载xml", -1)
|
|
38728
38696
|
])]),
|
|
38729
38697
|
_: 1
|
|
@@ -38733,7 +38701,7 @@ function q3(e, t, n, r, o, s) {
|
|
|
38733
38701
|
size: "small",
|
|
38734
38702
|
onClick: t[6] || (t[6] = () => e.saveImg("svg", !0))
|
|
38735
38703
|
}, {
|
|
38736
|
-
default:
|
|
38704
|
+
default: ue(() => [...t[16] || (t[16] = [
|
|
38737
38705
|
lt("下载svg", -1)
|
|
38738
38706
|
])]),
|
|
38739
38707
|
_: 1
|
|
@@ -38744,7 +38712,7 @@ function q3(e, t, n, r, o, s) {
|
|
|
38744
38712
|
size: "small",
|
|
38745
38713
|
onClick: e.save
|
|
38746
38714
|
}, {
|
|
38747
|
-
default:
|
|
38715
|
+
default: ue(() => [...t[17] || (t[17] = [
|
|
38748
38716
|
lt("保存模型", -1)
|
|
38749
38717
|
])]),
|
|
38750
38718
|
_: 1
|
|
@@ -38765,7 +38733,7 @@ function q3(e, t, n, r, o, s) {
|
|
|
38765
38733
|
bordered: !1,
|
|
38766
38734
|
class: "normalPanel"
|
|
38767
38735
|
}, {
|
|
38768
|
-
default:
|
|
38736
|
+
default: ue(() => [
|
|
38769
38737
|
e.loadCanvas ? (Qe(), Et(v, { key: 0 })) : tn("", !0)
|
|
38770
38738
|
]),
|
|
38771
38739
|
_: 1
|
|
@@ -39040,7 +39008,7 @@ function sF(e, t, n, r, o, s) {
|
|
|
39040
39008
|
onAfterOpenChange: e.onDrawerChange,
|
|
39041
39009
|
width: "700"
|
|
39042
39010
|
}, {
|
|
39043
|
-
default:
|
|
39011
|
+
default: ue(() => [
|
|
39044
39012
|
wt("div", oF, [
|
|
39045
39013
|
wt("textarea", aF, null, 512)
|
|
39046
39014
|
])
|
|
@@ -39159,9 +39127,9 @@ function dF(e, t, n, r, o, s) {
|
|
|
39159
39127
|
const l = we("a-spin"), u = we("DragOutlined"), c = we("a-button"), d = we("a-tooltip"), v = we("ZoomInOutlined"), m = we("ZoomOutOutlined"), y = we("a-space"), b = we("a-layout-content"), _ = we("a-layout");
|
|
39160
39128
|
return Qe(), er("div", pF, [
|
|
39161
39129
|
oe(_, { style: { "align-items": "stretch", height: "100%" } }, {
|
|
39162
|
-
default:
|
|
39130
|
+
default: ue(() => [
|
|
39163
39131
|
oe(b, { class: "flow-viewer" }, {
|
|
39164
|
-
default:
|
|
39132
|
+
default: ue(() => [
|
|
39165
39133
|
t[2] || (t[2] = wt("div", { class: "process-status" }, [
|
|
39166
39134
|
wt("span", { class: "intro" }, "状态:"),
|
|
39167
39135
|
wt("span", { class: "finish" }, "已办理"),
|
|
@@ -39172,7 +39140,7 @@ function dF(e, t, n, r, o, s) {
|
|
|
39172
39140
|
spinning: e.loading,
|
|
39173
39141
|
wrapperClassName: "canvas-wrapper"
|
|
39174
39142
|
}, {
|
|
39175
|
-
default:
|
|
39143
|
+
default: ue(() => [
|
|
39176
39144
|
wt("div", fF, null, 512)
|
|
39177
39145
|
]),
|
|
39178
39146
|
_: 1
|
|
@@ -39181,14 +39149,14 @@ function dF(e, t, n, r, o, s) {
|
|
|
39181
39149
|
class: "button-group",
|
|
39182
39150
|
size: "small"
|
|
39183
39151
|
}, {
|
|
39184
|
-
default:
|
|
39152
|
+
default: ue(() => [
|
|
39185
39153
|
oe(d, { title: "适中" }, {
|
|
39186
|
-
default:
|
|
39154
|
+
default: ue(() => [
|
|
39187
39155
|
oe(c, {
|
|
39188
39156
|
onClick: e.fitViewport,
|
|
39189
39157
|
size: "small"
|
|
39190
39158
|
}, {
|
|
39191
|
-
icon:
|
|
39159
|
+
icon: ue(() => [
|
|
39192
39160
|
oe(u)
|
|
39193
39161
|
]),
|
|
39194
39162
|
_: 1
|
|
@@ -39197,12 +39165,12 @@ function dF(e, t, n, r, o, s) {
|
|
|
39197
39165
|
_: 1
|
|
39198
39166
|
}),
|
|
39199
39167
|
oe(d, { title: "放大" }, {
|
|
39200
|
-
default:
|
|
39168
|
+
default: ue(() => [
|
|
39201
39169
|
oe(c, {
|
|
39202
39170
|
onClick: t[0] || (t[0] = () => e.zoomViewport(!0)),
|
|
39203
39171
|
size: "small"
|
|
39204
39172
|
}, {
|
|
39205
|
-
icon:
|
|
39173
|
+
icon: ue(() => [
|
|
39206
39174
|
oe(v)
|
|
39207
39175
|
]),
|
|
39208
39176
|
_: 1
|
|
@@ -39211,12 +39179,12 @@ function dF(e, t, n, r, o, s) {
|
|
|
39211
39179
|
_: 1
|
|
39212
39180
|
}),
|
|
39213
39181
|
oe(d, { title: "缩小" }, {
|
|
39214
|
-
default:
|
|
39182
|
+
default: ue(() => [
|
|
39215
39183
|
oe(c, {
|
|
39216
39184
|
onClick: t[1] || (t[1] = () => e.zoomViewport(!1)),
|
|
39217
39185
|
size: "small"
|
|
39218
39186
|
}, {
|
|
39219
|
-
icon:
|
|
39187
|
+
icon: ue(() => [
|
|
39220
39188
|
oe(m)
|
|
39221
39189
|
]),
|
|
39222
39190
|
_: 1
|