workflow-editor 0.0.84-up → 0.0.85-up
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/lib/{401-b7e48e35.js → 401-6d8d823d.js} +1 -1
- package/lib/{404-5cc6c62f.js → 404-71e6f04b.js} +1 -1
- package/lib/{iframe-page-b1c44766.js → iframe-page-f6d03745.js} +1 -1
- package/lib/{index-d9654a7a.js → index-acd72790.js} +852 -827
- package/lib/{tab-content-iframe-index-76ce0dc2.js → tab-content-iframe-index-a109cac2.js} +1 -1
- package/lib/{tab-content-index-dd617101.js → tab-content-index-f39a83c1.js} +1 -1
- package/lib/{tache-subprocess-history-16a4e565.js → tache-subprocess-history-8ec86536.js} +1 -1
- package/lib/workflow-editor.js +1 -1
- package/lib/workflow-editor.umd.cjs +3 -3
- package/package.json +2 -2
- package/packages/plugins/formValidatorUtil.js +38 -29
|
@@ -206,8 +206,8 @@ function installModule(e, t, o, r, n) {
|
|
|
206
206
|
var m = s + d;
|
|
207
207
|
registerMutation(e, m, c, u);
|
|
208
208
|
}), r.forEachAction(function(c, d) {
|
|
209
|
-
var m = c.root ? d : s + d,
|
|
210
|
-
registerAction(e, m,
|
|
209
|
+
var m = c.root ? d : s + d, _ = c.handler || c;
|
|
210
|
+
registerAction(e, m, _, u);
|
|
211
211
|
}), r.forEachGetter(function(c, d) {
|
|
212
212
|
var m = s + d;
|
|
213
213
|
registerGetter(e, m, c, u);
|
|
@@ -667,10 +667,10 @@ var Store = function e(t) {
|
|
|
667
667
|
var i = t.devtools;
|
|
668
668
|
this._committing = !1, this._actions = /* @__PURE__ */ Object.create(null), this._actionSubscribers = [], this._mutations = /* @__PURE__ */ Object.create(null), this._wrappedGetters = /* @__PURE__ */ Object.create(null), this._modules = new ModuleCollection(t), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null), this._scope = null, this._devtools = i;
|
|
669
669
|
var s = this, l = this, a = l.dispatch, u = l.commit;
|
|
670
|
-
this.dispatch = function(m,
|
|
671
|
-
return a.call(s, m,
|
|
672
|
-
}, this.commit = function(m,
|
|
673
|
-
return u.call(s, m,
|
|
670
|
+
this.dispatch = function(m, _) {
|
|
671
|
+
return a.call(s, m, _);
|
|
672
|
+
}, this.commit = function(m, _, C) {
|
|
673
|
+
return u.call(s, m, _, C);
|
|
674
674
|
}, this.strict = n;
|
|
675
675
|
var c = this._modules.root.state;
|
|
676
676
|
installModule(this, c, [], this._modules.root), resetStoreState(this, c), r.forEach(function(d) {
|
|
@@ -725,24 +725,24 @@ Store.prototype.dispatch = function(t, o) {
|
|
|
725
725
|
return new Promise(function(c, d) {
|
|
726
726
|
u.then(function(m) {
|
|
727
727
|
try {
|
|
728
|
-
r._actionSubscribers.filter(function(
|
|
729
|
-
return
|
|
730
|
-
}).forEach(function(
|
|
731
|
-
return
|
|
728
|
+
r._actionSubscribers.filter(function(_) {
|
|
729
|
+
return _.after;
|
|
730
|
+
}).forEach(function(_) {
|
|
731
|
+
return _.after(l, r.state);
|
|
732
732
|
});
|
|
733
|
-
} catch (
|
|
734
|
-
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(
|
|
733
|
+
} catch (_) {
|
|
734
|
+
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(_));
|
|
735
735
|
}
|
|
736
736
|
c(m);
|
|
737
737
|
}, function(m) {
|
|
738
738
|
try {
|
|
739
|
-
r._actionSubscribers.filter(function(
|
|
740
|
-
return
|
|
741
|
-
}).forEach(function(
|
|
742
|
-
return
|
|
739
|
+
r._actionSubscribers.filter(function(_) {
|
|
740
|
+
return _.error;
|
|
741
|
+
}).forEach(function(_) {
|
|
742
|
+
return _.error(l, r.state, m);
|
|
743
743
|
});
|
|
744
|
-
} catch (
|
|
745
|
-
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(
|
|
744
|
+
} catch (_) {
|
|
745
|
+
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(_));
|
|
746
746
|
}
|
|
747
747
|
d(m);
|
|
748
748
|
});
|
|
@@ -1014,11 +1014,11 @@ const RE_HTML_TAG = /<\/?[\w\s="/.':;#-\/]+>/, detectHtmlTag = (e) => RE_HTML_TA
|
|
|
1014
1014
|
function createScanner(e) {
|
|
1015
1015
|
const t = e;
|
|
1016
1016
|
let o = 0, r = 1, n = 1, i = 0;
|
|
1017
|
-
const s = (O) => t[O] === CHAR_CR && t[O + 1] === CHAR_LF, l = (O) => t[O] === CHAR_LF, a = (O) => t[O] === CHAR_PS, u = (O) => t[O] === CHAR_LS, c = (O) => s(O) || l(O) || a(O) || u(O), d = () => o, m = () => r,
|
|
1017
|
+
const s = (O) => t[O] === CHAR_CR && t[O + 1] === CHAR_LF, l = (O) => t[O] === CHAR_LF, a = (O) => t[O] === CHAR_PS, u = (O) => t[O] === CHAR_LS, c = (O) => s(O) || l(O) || a(O) || u(O), d = () => o, m = () => r, _ = () => n, C = () => i, y = (O) => s(O) || a(O) || u(O) ? CHAR_LF : t[O], v = () => y(o), p = () => y(o + i);
|
|
1018
1018
|
function f() {
|
|
1019
1019
|
return i = 0, c(o) && (r++, n = 0), s(o) && o++, o++, n++, t[o];
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function g() {
|
|
1022
1022
|
return s(o + i) && i++, i++, t[o + i];
|
|
1023
1023
|
}
|
|
1024
1024
|
function E() {
|
|
@@ -1036,13 +1036,13 @@ function createScanner(e) {
|
|
|
1036
1036
|
return {
|
|
1037
1037
|
index: d,
|
|
1038
1038
|
line: m,
|
|
1039
|
-
column:
|
|
1039
|
+
column: _,
|
|
1040
1040
|
peekOffset: C,
|
|
1041
1041
|
charAt: y,
|
|
1042
1042
|
currentChar: v,
|
|
1043
1043
|
currentPeek: p,
|
|
1044
1044
|
next: f,
|
|
1045
|
-
peek:
|
|
1045
|
+
peek: g,
|
|
1046
1046
|
reset: E,
|
|
1047
1047
|
resetPeek: k,
|
|
1048
1048
|
skipToPeek: P
|
|
@@ -1078,7 +1078,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1078
1078
|
const F = { type: T };
|
|
1079
1079
|
return o && (F.loc = createLocation(N.startLoc, N.endLoc)), I != null && (F.value = I), F;
|
|
1080
1080
|
}
|
|
1081
|
-
const
|
|
1081
|
+
const _ = (N) => m(
|
|
1082
1082
|
N,
|
|
1083
1083
|
14
|
|
1084
1084
|
/* TokenTypes.EOF */
|
|
@@ -1110,7 +1110,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1110
1110
|
const T = N.charCodeAt(0);
|
|
1111
1111
|
return T >= 48 && T <= 57;
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function g(N, T) {
|
|
1114
1114
|
const { currentType: I } = T;
|
|
1115
1115
|
if (I !== 2)
|
|
1116
1116
|
return !1;
|
|
@@ -1319,7 +1319,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1319
1319
|
};
|
|
1320
1320
|
return T(!1, "");
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function w(N) {
|
|
1323
1323
|
v(N);
|
|
1324
1324
|
const T = C(
|
|
1325
1325
|
N,
|
|
@@ -1346,14 +1346,14 @@ function createTokenizer(e, t = {}) {
|
|
|
1346
1346
|
/* TokenChars.BraceRight */
|
|
1347
1347
|
), T.braceNest--, T.braceNest > 0 && v(N), T.inLinked && T.braceNest === 0 && (T.inLinked = !1), I;
|
|
1348
1348
|
case "@":
|
|
1349
|
-
return T.braceNest > 0 && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), I = V(N, T) ||
|
|
1349
|
+
return T.braceNest > 0 && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), I = V(N, T) || _(T), T.braceNest = 0, I;
|
|
1350
1350
|
default:
|
|
1351
1351
|
let M = !0, W = !0, le = !0;
|
|
1352
1352
|
if (B(N))
|
|
1353
|
-
return T.braceNest > 0 && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), I = m(T, 1,
|
|
1353
|
+
return T.braceNest > 0 && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), I = m(T, 1, w(N)), T.braceNest = 0, T.inLinked = !1, I;
|
|
1354
1354
|
if (T.braceNest > 0 && (T.currentType === 5 || T.currentType === 6 || T.currentType === 7))
|
|
1355
1355
|
return d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), T.braceNest = 0, R(N, T);
|
|
1356
|
-
if (M =
|
|
1356
|
+
if (M = g(N, T))
|
|
1357
1357
|
return I = m(T, 5, q(N)), v(N), I;
|
|
1358
1358
|
if (W = E(N, T))
|
|
1359
1359
|
return I = m(T, 6, Q(N)), v(N), I;
|
|
@@ -1392,7 +1392,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1392
1392
|
/* TokenChars.LinkedDelimiter */
|
|
1393
1393
|
);
|
|
1394
1394
|
default:
|
|
1395
|
-
return B(N) ? (F = m(T, 1,
|
|
1395
|
+
return B(N) ? (F = m(T, 1, w(N)), T.braceNest = 0, T.inLinked = !1, F) : P(N, T) || D(N, T) ? (v(N), V(N, T)) : O(N, T) ? (v(N), m(T, 12, oe(N))) : S(N, T) ? (v(N), M === "{" ? $(N, T) || F : m(T, 11, b(N))) : (I === 8 && d(CompileErrorCodes.INVALID_LINKED_FORMAT, i(), 0), T.braceNest = 0, T.inLinked = !1, R(N, T));
|
|
1396
1396
|
}
|
|
1397
1397
|
}
|
|
1398
1398
|
function R(N, T) {
|
|
@@ -1401,12 +1401,12 @@ function createTokenizer(e, t = {}) {
|
|
|
1401
1401
|
/* TokenTypes.EOF */
|
|
1402
1402
|
};
|
|
1403
1403
|
if (T.braceNest > 0)
|
|
1404
|
-
return $(N, T) ||
|
|
1404
|
+
return $(N, T) || _(T);
|
|
1405
1405
|
if (T.inLinked)
|
|
1406
|
-
return V(N, T) ||
|
|
1406
|
+
return V(N, T) || _(T);
|
|
1407
1407
|
switch (N.currentChar()) {
|
|
1408
1408
|
case "{":
|
|
1409
|
-
return $(N, T) ||
|
|
1409
|
+
return $(N, T) || _(T);
|
|
1410
1410
|
case "}":
|
|
1411
1411
|
return d(CompileErrorCodes.UNBALANCED_CLOSING_BRACE, i(), 0), N.next(), m(
|
|
1412
1412
|
T,
|
|
@@ -1415,10 +1415,10 @@ function createTokenizer(e, t = {}) {
|
|
|
1415
1415
|
/* TokenChars.BraceRight */
|
|
1416
1416
|
);
|
|
1417
1417
|
case "@":
|
|
1418
|
-
return V(N, T) ||
|
|
1418
|
+
return V(N, T) || _(T);
|
|
1419
1419
|
default:
|
|
1420
1420
|
if (B(N))
|
|
1421
|
-
return I = m(T, 1,
|
|
1421
|
+
return I = m(T, 1, w(N)), T.braceNest = 0, T.inLinked = !1, I;
|
|
1422
1422
|
const { isModulo: M, hasSpace: W } = H(N);
|
|
1423
1423
|
if (M)
|
|
1424
1424
|
return W ? m(T, 0, Y(N)) : m(T, 4, z(N));
|
|
@@ -1458,86 +1458,86 @@ function fromEscapeSequence(e, t, o) {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
function createParser(e = {}) {
|
|
1460
1460
|
const t = e.location !== !1, { onError: o } = e;
|
|
1461
|
-
function r(p, f,
|
|
1461
|
+
function r(p, f, g, E, ...k) {
|
|
1462
1462
|
const P = p.currentPosition();
|
|
1463
1463
|
if (P.offset += E, P.column += E, o) {
|
|
1464
|
-
const O = t ? createLocation(
|
|
1464
|
+
const O = t ? createLocation(g, P) : null, D = createCompileError(f, O, {
|
|
1465
1465
|
domain: ERROR_DOMAIN$2,
|
|
1466
1466
|
args: k
|
|
1467
1467
|
});
|
|
1468
1468
|
o(D);
|
|
1469
1469
|
}
|
|
1470
1470
|
}
|
|
1471
|
-
function n(p, f,
|
|
1471
|
+
function n(p, f, g) {
|
|
1472
1472
|
const E = { type: p };
|
|
1473
|
-
return t && (E.start = f, E.end = f, E.loc = { start:
|
|
1473
|
+
return t && (E.start = f, E.end = f, E.loc = { start: g, end: g }), E;
|
|
1474
1474
|
}
|
|
1475
|
-
function i(p, f,
|
|
1476
|
-
E && (p.type = E), t && (p.end = f, p.loc && (p.loc.end =
|
|
1475
|
+
function i(p, f, g, E) {
|
|
1476
|
+
E && (p.type = E), t && (p.end = f, p.loc && (p.loc.end = g));
|
|
1477
1477
|
}
|
|
1478
1478
|
function s(p, f) {
|
|
1479
|
-
const
|
|
1479
|
+
const g = p.context(), E = n(3, g.offset, g.startLoc);
|
|
1480
1480
|
return E.value = f, i(E, p.currentOffset(), p.currentPosition()), E;
|
|
1481
1481
|
}
|
|
1482
1482
|
function l(p, f) {
|
|
1483
|
-
const
|
|
1483
|
+
const g = p.context(), { lastOffset: E, lastStartLoc: k } = g, P = n(5, E, k);
|
|
1484
1484
|
return P.index = parseInt(f, 10), p.nextToken(), i(P, p.currentOffset(), p.currentPosition()), P;
|
|
1485
1485
|
}
|
|
1486
1486
|
function a(p, f) {
|
|
1487
|
-
const
|
|
1487
|
+
const g = p.context(), { lastOffset: E, lastStartLoc: k } = g, P = n(4, E, k);
|
|
1488
1488
|
return P.key = f, p.nextToken(), i(P, p.currentOffset(), p.currentPosition()), P;
|
|
1489
1489
|
}
|
|
1490
1490
|
function u(p, f) {
|
|
1491
|
-
const
|
|
1491
|
+
const g = p.context(), { lastOffset: E, lastStartLoc: k } = g, P = n(9, E, k);
|
|
1492
1492
|
return P.value = f.replace(KNOWN_ESCAPES, fromEscapeSequence), p.nextToken(), i(P, p.currentOffset(), p.currentPosition()), P;
|
|
1493
1493
|
}
|
|
1494
1494
|
function c(p) {
|
|
1495
|
-
const f = p.nextToken(),
|
|
1496
|
-
return f.type !== 12 ? (r(p, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,
|
|
1495
|
+
const f = p.nextToken(), g = p.context(), { lastOffset: E, lastStartLoc: k } = g, P = n(8, E, k);
|
|
1496
|
+
return f.type !== 12 ? (r(p, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER, g.lastStartLoc, 0), P.value = "", i(P, E, k), {
|
|
1497
1497
|
nextConsumeToken: f,
|
|
1498
1498
|
node: P
|
|
1499
|
-
}) : (f.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
1499
|
+
}) : (f.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, getTokenCaption(f)), P.value = f.value || "", i(P, p.currentOffset(), p.currentPosition()), {
|
|
1500
1500
|
node: P
|
|
1501
1501
|
});
|
|
1502
1502
|
}
|
|
1503
1503
|
function d(p, f) {
|
|
1504
|
-
const
|
|
1504
|
+
const g = p.context(), E = n(7, g.offset, g.startLoc);
|
|
1505
1505
|
return E.value = f, i(E, p.currentOffset(), p.currentPosition()), E;
|
|
1506
1506
|
}
|
|
1507
1507
|
function m(p) {
|
|
1508
|
-
const f = p.context(),
|
|
1508
|
+
const f = p.context(), g = n(6, f.offset, f.startLoc);
|
|
1509
1509
|
let E = p.nextToken();
|
|
1510
1510
|
if (E.type === 9) {
|
|
1511
1511
|
const k = c(p);
|
|
1512
|
-
|
|
1512
|
+
g.modifier = k.node, E = k.nextConsumeToken || p.nextToken();
|
|
1513
1513
|
}
|
|
1514
1514
|
switch (E.type !== 10 && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, getTokenCaption(E)), E = p.nextToken(), E.type === 2 && (E = p.nextToken()), E.type) {
|
|
1515
1515
|
case 11:
|
|
1516
|
-
E.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, getTokenCaption(E)),
|
|
1516
|
+
E.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, getTokenCaption(E)), g.key = d(p, E.value || "");
|
|
1517
1517
|
break;
|
|
1518
1518
|
case 5:
|
|
1519
|
-
E.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, getTokenCaption(E)),
|
|
1519
|
+
E.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, getTokenCaption(E)), g.key = a(p, E.value || "");
|
|
1520
1520
|
break;
|
|
1521
1521
|
case 6:
|
|
1522
|
-
E.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, getTokenCaption(E)),
|
|
1522
|
+
E.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, getTokenCaption(E)), g.key = l(p, E.value || "");
|
|
1523
1523
|
break;
|
|
1524
1524
|
case 7:
|
|
1525
|
-
E.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, getTokenCaption(E)),
|
|
1525
|
+
E.value == null && r(p, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, getTokenCaption(E)), g.key = u(p, E.value || "");
|
|
1526
1526
|
break;
|
|
1527
1527
|
default:
|
|
1528
1528
|
r(p, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY, f.lastStartLoc, 0);
|
|
1529
1529
|
const k = p.context(), P = n(7, k.offset, k.startLoc);
|
|
1530
|
-
return P.value = "", i(P, k.offset, k.startLoc),
|
|
1530
|
+
return P.value = "", i(P, k.offset, k.startLoc), g.key = P, i(g, k.offset, k.startLoc), {
|
|
1531
1531
|
nextConsumeToken: E,
|
|
1532
|
-
node:
|
|
1532
|
+
node: g
|
|
1533
1533
|
};
|
|
1534
1534
|
}
|
|
1535
|
-
return i(
|
|
1536
|
-
node:
|
|
1535
|
+
return i(g, p.currentOffset(), p.currentPosition()), {
|
|
1536
|
+
node: g
|
|
1537
1537
|
};
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1540
|
-
const f = p.context(),
|
|
1539
|
+
function _(p) {
|
|
1540
|
+
const f = p.context(), g = f.currentType === 1 ? p.currentOffset() : f.offset, E = f.currentType === 1 ? f.endLoc : f.startLoc, k = n(2, g, E);
|
|
1541
1541
|
k.items = [];
|
|
1542
1542
|
let P = null;
|
|
1543
1543
|
do {
|
|
@@ -1564,24 +1564,24 @@ function createParser(e = {}) {
|
|
|
1564
1564
|
const O = f.currentType === 1 ? f.lastOffset : p.currentOffset(), D = f.currentType === 1 ? f.lastEndLoc : p.currentPosition();
|
|
1565
1565
|
return i(k, O, D), k;
|
|
1566
1566
|
}
|
|
1567
|
-
function C(p, f,
|
|
1567
|
+
function C(p, f, g, E) {
|
|
1568
1568
|
const k = p.context();
|
|
1569
1569
|
let P = E.items.length === 0;
|
|
1570
|
-
const O = n(1, f,
|
|
1570
|
+
const O = n(1, f, g);
|
|
1571
1571
|
O.cases = [], O.cases.push(E);
|
|
1572
1572
|
do {
|
|
1573
|
-
const D =
|
|
1573
|
+
const D = _(p);
|
|
1574
1574
|
P || (P = D.items.length === 0), O.cases.push(D);
|
|
1575
1575
|
} while (k.currentType !== 14);
|
|
1576
|
-
return P && r(p, CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,
|
|
1576
|
+
return P && r(p, CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL, g, 0), i(O, p.currentOffset(), p.currentPosition()), O;
|
|
1577
1577
|
}
|
|
1578
1578
|
function y(p) {
|
|
1579
|
-
const f = p.context(), { offset:
|
|
1580
|
-
return f.currentType === 14 ? k : C(p,
|
|
1579
|
+
const f = p.context(), { offset: g, startLoc: E } = f, k = _(p);
|
|
1580
|
+
return f.currentType === 14 ? k : C(p, g, E, k);
|
|
1581
1581
|
}
|
|
1582
1582
|
function v(p) {
|
|
1583
|
-
const f = createTokenizer(p, assign$2({}, e)),
|
|
1584
|
-
return t && E.loc && (E.loc.source = p), E.body = y(f), e.onCacheKey && (E.cacheKey = e.onCacheKey(p)),
|
|
1583
|
+
const f = createTokenizer(p, assign$2({}, e)), g = f.context(), E = n(0, g.offset, g.startLoc);
|
|
1584
|
+
return t && E.loc && (E.loc.source = p), E.body = y(f), e.onCacheKey && (E.cacheKey = e.onCacheKey(p)), g.currentType !== 14 && r(f, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, p[g.offset] || ""), i(E, f.currentOffset(), f.currentPosition()), E;
|
|
1585
1585
|
}
|
|
1586
1586
|
return { parse: v };
|
|
1587
1587
|
}
|
|
@@ -1752,7 +1752,7 @@ function createCodeGenerator(e, t) {
|
|
|
1752
1752
|
const p = --l.indentLevel;
|
|
1753
1753
|
v && c(p);
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1755
|
+
function _() {
|
|
1756
1756
|
c(l.indentLevel);
|
|
1757
1757
|
}
|
|
1758
1758
|
return {
|
|
@@ -1760,7 +1760,7 @@ function createCodeGenerator(e, t) {
|
|
|
1760
1760
|
push: u,
|
|
1761
1761
|
indent: d,
|
|
1762
1762
|
deindent: m,
|
|
1763
|
-
newline:
|
|
1763
|
+
newline: _,
|
|
1764
1764
|
helper: (v) => `_${v}`,
|
|
1765
1765
|
needIndent: () => l.needIndent
|
|
1766
1766
|
};
|
|
@@ -2119,7 +2119,7 @@ function parse(e) {
|
|
|
2119
2119
|
]();
|
|
2120
2120
|
}
|
|
2121
2121
|
};
|
|
2122
|
-
function
|
|
2122
|
+
function _() {
|
|
2123
2123
|
const C = e[o + 1];
|
|
2124
2124
|
if (r === 5 && C === "'" || r === 6 && C === '"')
|
|
2125
2125
|
return o++, l = "\\" + C, m[
|
|
@@ -2128,7 +2128,7 @@ function parse(e) {
|
|
|
2128
2128
|
](), !0;
|
|
2129
2129
|
}
|
|
2130
2130
|
for (; r !== null; )
|
|
2131
|
-
if (o++, i = e[o], !(i === "\\" &&
|
|
2131
|
+
if (o++, i = e[o], !(i === "\\" && _())) {
|
|
2132
2132
|
if (a = getPathCharType(i), d = pathStateMachine[r], u = d[a] || d.l || 8, u === 8 || (r = u[0], u[1] !== void 0 && (c = m[u[1]], c && (l = i, c() === !1))))
|
|
2133
2133
|
return;
|
|
2134
2134
|
if (r === 7)
|
|
@@ -2174,14 +2174,14 @@ function createMessageContext(e = {}) {
|
|
|
2174
2174
|
const f = isFunction$3(e.messages) ? e.messages(p) : isObject$4(e.messages) ? e.messages[p] : !1;
|
|
2175
2175
|
return f || (e.parent ? e.parent.message(p) : DEFAULT_MESSAGE);
|
|
2176
2176
|
}
|
|
2177
|
-
const d = (p) => e.modifiers ? e.modifiers[p] : DEFAULT_MODIFIER, m = isPlainObject$1(e.processor) && isFunction$3(e.processor.normalize) ? e.processor.normalize : DEFAULT_NORMALIZE,
|
|
2177
|
+
const d = (p) => e.modifiers ? e.modifiers[p] : DEFAULT_MODIFIER, m = isPlainObject$1(e.processor) && isFunction$3(e.processor.normalize) ? e.processor.normalize : DEFAULT_NORMALIZE, _ = isPlainObject$1(e.processor) && isFunction$3(e.processor.interpolate) ? e.processor.interpolate : DEFAULT_INTERPOLATE, C = isPlainObject$1(e.processor) && isString$5(e.processor.type) ? e.processor.type : DEFAULT_MESSAGE_DATA_TYPE, v = {
|
|
2178
2178
|
list: l,
|
|
2179
2179
|
named: u,
|
|
2180
2180
|
plural: i,
|
|
2181
2181
|
linked: (p, ...f) => {
|
|
2182
|
-
const [
|
|
2182
|
+
const [g, E] = f;
|
|
2183
2183
|
let k = "text", P = "";
|
|
2184
|
-
f.length === 1 ? isObject$4(
|
|
2184
|
+
f.length === 1 ? isObject$4(g) ? (P = g.modifier || P, k = g.type || k) : isString$5(g) && (P = g || P) : f.length === 2 && (isString$5(g) && (P = g || P), isString$5(E) && (k = E || k));
|
|
2185
2185
|
const O = c(p)(v), D = (
|
|
2186
2186
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
2187
2187
|
k === "vnode" && isArray$7(O) && P ? O[0] : O
|
|
@@ -2190,7 +2190,7 @@ function createMessageContext(e = {}) {
|
|
|
2190
2190
|
},
|
|
2191
2191
|
message: c,
|
|
2192
2192
|
type: C,
|
|
2193
|
-
interpolate:
|
|
2193
|
+
interpolate: _,
|
|
2194
2194
|
normalize: m,
|
|
2195
2195
|
values: assign$3({}, s, a)
|
|
2196
2196
|
};
|
|
@@ -2319,7 +2319,7 @@ const setFallbackContext = (e) => {
|
|
|
2319
2319
|
}, getFallbackContext = () => _fallbackContext;
|
|
2320
2320
|
let _cid = 0;
|
|
2321
2321
|
function createCoreContext(e = {}) {
|
|
2322
|
-
const t = isFunction$3(e.onWarn) ? e.onWarn : warn$1, o = isString$5(e.version) ? e.version : VERSION$2, r = isString$5(e.locale) || isFunction$3(e.locale) ? e.locale : DEFAULT_LOCALE, n = isFunction$3(r) ? DEFAULT_LOCALE : r, i = isArray$7(e.fallbackLocale) || isPlainObject$1(e.fallbackLocale) || isString$5(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, s = isPlainObject$1(e.messages) ? e.messages : { [n]: {} }, l = isPlainObject$1(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, a = isPlainObject$1(e.numberFormats) ? e.numberFormats : { [n]: {} }, u = assign$3({}, e.modifiers || {}, getDefaultLinkedModifiers()), c = e.pluralRules || {}, d = isFunction$3(e.missing) ? e.missing : null, m = isBoolean$1(e.missingWarn) || isRegExp$1(e.missingWarn) ? e.missingWarn : !0,
|
|
2322
|
+
const t = isFunction$3(e.onWarn) ? e.onWarn : warn$1, o = isString$5(e.version) ? e.version : VERSION$2, r = isString$5(e.locale) || isFunction$3(e.locale) ? e.locale : DEFAULT_LOCALE, n = isFunction$3(r) ? DEFAULT_LOCALE : r, i = isArray$7(e.fallbackLocale) || isPlainObject$1(e.fallbackLocale) || isString$5(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, s = isPlainObject$1(e.messages) ? e.messages : { [n]: {} }, l = isPlainObject$1(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, a = isPlainObject$1(e.numberFormats) ? e.numberFormats : { [n]: {} }, u = assign$3({}, e.modifiers || {}, getDefaultLinkedModifiers()), c = e.pluralRules || {}, d = isFunction$3(e.missing) ? e.missing : null, m = isBoolean$1(e.missingWarn) || isRegExp$1(e.missingWarn) ? e.missingWarn : !0, _ = isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, C = !!e.fallbackFormat, y = !!e.unresolving, v = isFunction$3(e.postTranslation) ? e.postTranslation : null, p = isPlainObject$1(e.processor) ? e.processor : null, f = isBoolean$1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter, E = isFunction$3(e.messageCompiler) ? e.messageCompiler : _compiler;
|
|
2323
2323
|
process.env.NODE_ENV !== "production" && isFunction$3(e.messageCompiler) && warnOnce(getWarnMessage$1(CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
2324
2324
|
const k = isFunction$3(e.messageResolver) ? e.messageResolver : _resolver || resolveWithKeyValue, P = isFunction$3(e.localeFallbacker) ? e.localeFallbacker : _fallbacker || fallbackWithSimple, O = isObject$4(e.fallbackContext) ? e.fallbackContext : void 0, D = e, S = isObject$4(D.__datetimeFormatters) ? D.__datetimeFormatters : /* @__PURE__ */ new Map(), B = isObject$4(D.__numberFormatters) ? D.__numberFormatters : /* @__PURE__ */ new Map(), H = isObject$4(D.__meta) ? D.__meta : {};
|
|
2325
2325
|
_cid++;
|
|
@@ -2333,13 +2333,13 @@ function createCoreContext(e = {}) {
|
|
|
2333
2333
|
pluralRules: c,
|
|
2334
2334
|
missing: d,
|
|
2335
2335
|
missingWarn: m,
|
|
2336
|
-
fallbackWarn:
|
|
2336
|
+
fallbackWarn: _,
|
|
2337
2337
|
fallbackFormat: C,
|
|
2338
2338
|
unresolving: y,
|
|
2339
2339
|
postTranslation: v,
|
|
2340
2340
|
processor: p,
|
|
2341
2341
|
warnHtmlMessage: f,
|
|
2342
|
-
escapeParameter:
|
|
2342
|
+
escapeParameter: g,
|
|
2343
2343
|
messageCompiler: E,
|
|
2344
2344
|
messageResolver: k,
|
|
2345
2345
|
localeFallbacker: P,
|
|
@@ -2496,14 +2496,14 @@ function compile(e, t) {
|
|
|
2496
2496
|
}
|
|
2497
2497
|
const NOOP_MESSAGE_FUNCTION = () => "", isMessageFunction = (e) => isFunction$3(e);
|
|
2498
2498
|
function translate$1(e, ...t) {
|
|
2499
|
-
const { fallbackFormat: o, postTranslation: r, unresolving: n, messageCompiler: i, fallbackLocale: s, messages: l } = e, [a, u] = parseTranslateArgs(...t), c = isBoolean$1(u.missingWarn) ? u.missingWarn : e.missingWarn, d = isBoolean$1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, m = isBoolean$1(u.escapeParameter) ? u.escapeParameter : e.escapeParameter,
|
|
2499
|
+
const { fallbackFormat: o, postTranslation: r, unresolving: n, messageCompiler: i, fallbackLocale: s, messages: l } = e, [a, u] = parseTranslateArgs(...t), c = isBoolean$1(u.missingWarn) ? u.missingWarn : e.missingWarn, d = isBoolean$1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, m = isBoolean$1(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, _ = !!u.resolvedMessage, C = isString$5(u.default) || isBoolean$1(u.default) ? isBoolean$1(u.default) ? i ? a : () => a : u.default : o ? i ? a : () => a : "", y = o || C !== "", v = getLocale(e, u);
|
|
2500
2500
|
m && escapeParams(u);
|
|
2501
|
-
let [p, f,
|
|
2501
|
+
let [p, f, g] = _ ? [
|
|
2502
2502
|
a,
|
|
2503
2503
|
v,
|
|
2504
2504
|
l[v] || {}
|
|
2505
2505
|
] : resolveMessageFormat(e, a, v, s, d, c), E = p, k = a;
|
|
2506
|
-
if (!
|
|
2506
|
+
if (!_ && !(isString$5(E) || isMessageAST(E) || isMessageFunction(E)) && y && (E = C, k = E), !_ && (!(isString$5(E) || isMessageAST(E) || isMessageFunction(E)) || !isString$5(f)))
|
|
2507
2507
|
return n ? NOT_REOSLVED : a;
|
|
2508
2508
|
if (process.env.NODE_ENV !== "production" && isString$5(E) && e.messageCompiler == null)
|
|
2509
2509
|
return warn$1(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${a}'.`), a;
|
|
@@ -2513,7 +2513,7 @@ function translate$1(e, ...t) {
|
|
|
2513
2513
|
}, D = isMessageFunction(E) ? E : compileMessageFormat(e, a, f, E, k, O);
|
|
2514
2514
|
if (P)
|
|
2515
2515
|
return E;
|
|
2516
|
-
const S = getMessageContextOptions(e, f,
|
|
2516
|
+
const S = getMessageContextOptions(e, f, g, u), B = createMessageContext(S), H = evaluateMessage(e, D, B), L = r ? r(H, a) : H;
|
|
2517
2517
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
2518
2518
|
const G = {
|
|
2519
2519
|
timestamp: Date.now(),
|
|
@@ -2533,7 +2533,7 @@ function escapeParams(e) {
|
|
|
2533
2533
|
}
|
|
2534
2534
|
function resolveMessageFormat(e, t, o, r, n, i) {
|
|
2535
2535
|
const { messages: s, onWarn: l, messageResolver: a, localeFallbacker: u } = e, c = u(e, r, o);
|
|
2536
|
-
let d = {}, m,
|
|
2536
|
+
let d = {}, m, _ = null, C = o, y = null;
|
|
2537
2537
|
const v = "translate";
|
|
2538
2538
|
for (let p = 0; p < c.length; p++) {
|
|
2539
2539
|
if (m = y = c[p], process.env.NODE_ENV !== "production" && o !== m && isTranslateFallbackWarn(n, t) && l(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_TRANSLATE, {
|
|
@@ -2550,18 +2550,18 @@ function resolveMessageFormat(e, t, o, r, n, i) {
|
|
|
2550
2550
|
});
|
|
2551
2551
|
}
|
|
2552
2552
|
d = s[m] || {};
|
|
2553
|
-
let f = null,
|
|
2554
|
-
if (process.env.NODE_ENV !== "production" && inBrowser && (f = window.performance.now(),
|
|
2553
|
+
let f = null, g, E;
|
|
2554
|
+
if (process.env.NODE_ENV !== "production" && inBrowser && (f = window.performance.now(), g = "intlify-message-resolve-start", E = "intlify-message-resolve-end", mark && mark(g)), (_ = a(d, t)) === null && (_ = d[t]), process.env.NODE_ENV !== "production" && inBrowser) {
|
|
2555
2555
|
const P = window.performance.now(), O = e.__v_emitter;
|
|
2556
|
-
O && f &&
|
|
2556
|
+
O && f && _ && O.emit("message-resolve", {
|
|
2557
2557
|
type: "message-resolve",
|
|
2558
2558
|
key: t,
|
|
2559
|
-
message:
|
|
2559
|
+
message: _,
|
|
2560
2560
|
time: P - f,
|
|
2561
2561
|
groupId: `${v}:${t}`
|
|
2562
|
-
}),
|
|
2562
|
+
}), g && E && mark && measure && (mark(E), measure("intlify message resolve", g, E));
|
|
2563
2563
|
}
|
|
2564
|
-
if (isString$5(
|
|
2564
|
+
if (isString$5(_) || isMessageAST(_) || isMessageFunction(_))
|
|
2565
2565
|
break;
|
|
2566
2566
|
const k = handleMissing(
|
|
2567
2567
|
e,
|
|
@@ -2571,9 +2571,9 @@ function resolveMessageFormat(e, t, o, r, n, i) {
|
|
|
2571
2571
|
i,
|
|
2572
2572
|
v
|
|
2573
2573
|
);
|
|
2574
|
-
k !== t && (
|
|
2574
|
+
k !== t && (_ = k), C = y;
|
|
2575
2575
|
}
|
|
2576
|
-
return [
|
|
2576
|
+
return [_, m, d];
|
|
2577
2577
|
}
|
|
2578
2578
|
function compileMessageFormat(e, t, o, r, n, i) {
|
|
2579
2579
|
const { messageCompiler: s, warnHtmlMessage: l } = e;
|
|
@@ -2589,8 +2589,8 @@ function compileMessageFormat(e, t, o, r, n, i) {
|
|
|
2589
2589
|
process.env.NODE_ENV !== "production" && inBrowser && (a = window.performance.now(), u = "intlify-message-compilation-start", c = "intlify-message-compilation-end", mark && mark(u));
|
|
2590
2590
|
const d = s(r, getCompileContext(e, o, n, r, l, i));
|
|
2591
2591
|
if (process.env.NODE_ENV !== "production" && inBrowser) {
|
|
2592
|
-
const m = window.performance.now(),
|
|
2593
|
-
|
|
2592
|
+
const m = window.performance.now(), _ = e.__v_emitter;
|
|
2593
|
+
_ && a && _.emit("message-compilation", {
|
|
2594
2594
|
type: "message-compilation",
|
|
2595
2595
|
message: r,
|
|
2596
2596
|
time: m - a,
|
|
@@ -2654,15 +2654,15 @@ function getMessageContextOptions(e, t, o, r) {
|
|
|
2654
2654
|
locale: t,
|
|
2655
2655
|
modifiers: n,
|
|
2656
2656
|
pluralRules: i,
|
|
2657
|
-
messages: (
|
|
2658
|
-
let C = s(o,
|
|
2657
|
+
messages: (_) => {
|
|
2658
|
+
let C = s(o, _);
|
|
2659
2659
|
if (C == null && c) {
|
|
2660
|
-
const [, , y] = resolveMessageFormat(c,
|
|
2661
|
-
C = s(y,
|
|
2660
|
+
const [, , y] = resolveMessageFormat(c, _, t, l, a, u);
|
|
2661
|
+
C = s(y, _);
|
|
2662
2662
|
}
|
|
2663
2663
|
if (isString$5(C) || isMessageAST(C)) {
|
|
2664
2664
|
let y = !1;
|
|
2665
|
-
const p = compileMessageFormat(e,
|
|
2665
|
+
const p = compileMessageFormat(e, _, t, C, _, () => {
|
|
2666
2666
|
y = !0;
|
|
2667
2667
|
});
|
|
2668
2668
|
return y ? NOOP_MESSAGE_FUNCTION : p;
|
|
@@ -2680,7 +2680,7 @@ function datetime(e, ...t) {
|
|
|
2680
2680
|
const { datetimeFormats: o, unresolving: r, fallbackLocale: n, onWarn: i, localeFallbacker: s } = e, { __datetimeFormatters: l } = e;
|
|
2681
2681
|
if (process.env.NODE_ENV !== "production" && !Availabilities.dateTimeFormat)
|
|
2682
2682
|
return i(getWarnMessage$1(CoreWarnCodes.CANNOT_FORMAT_DATE)), MISSING_RESOLVE_VALUE;
|
|
2683
|
-
const [a, u, c, d] = parseDateTimeArgs(...t), m = isBoolean$1(c.missingWarn) ? c.missingWarn : e.missingWarn,
|
|
2683
|
+
const [a, u, c, d] = parseDateTimeArgs(...t), m = isBoolean$1(c.missingWarn) ? c.missingWarn : e.missingWarn, _ = isBoolean$1(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, C = !!c.part, y = getLocale(e, c), v = s(
|
|
2684
2684
|
e,
|
|
2685
2685
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2686
2686
|
n,
|
|
@@ -2688,10 +2688,10 @@ function datetime(e, ...t) {
|
|
|
2688
2688
|
);
|
|
2689
2689
|
if (!isString$5(a) || a === "")
|
|
2690
2690
|
return new Intl.DateTimeFormat(y, d).format(u);
|
|
2691
|
-
let p = {}, f,
|
|
2691
|
+
let p = {}, f, g = null, E = y, k = null;
|
|
2692
2692
|
const P = "datetime format";
|
|
2693
2693
|
for (let S = 0; S < v.length; S++) {
|
|
2694
|
-
if (f = k = v[S], process.env.NODE_ENV !== "production" && y !== f && isTranslateFallbackWarn(
|
|
2694
|
+
if (f = k = v[S], process.env.NODE_ENV !== "production" && y !== f && isTranslateFallbackWarn(_, a) && i(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_DATE_FORMAT, {
|
|
2695
2695
|
key: a,
|
|
2696
2696
|
target: f
|
|
2697
2697
|
})), process.env.NODE_ENV !== "production" && y !== f) {
|
|
@@ -2704,16 +2704,16 @@ function datetime(e, ...t) {
|
|
|
2704
2704
|
groupId: `${P}:${a}`
|
|
2705
2705
|
});
|
|
2706
2706
|
}
|
|
2707
|
-
if (p = o[f] || {},
|
|
2707
|
+
if (p = o[f] || {}, g = p[a], isPlainObject$1(g))
|
|
2708
2708
|
break;
|
|
2709
2709
|
handleMissing(e, a, f, m, P), E = k;
|
|
2710
2710
|
}
|
|
2711
|
-
if (!isPlainObject$1(
|
|
2711
|
+
if (!isPlainObject$1(g) || !isString$5(f))
|
|
2712
2712
|
return r ? NOT_REOSLVED : a;
|
|
2713
2713
|
let O = `${f}__${a}`;
|
|
2714
2714
|
isEmptyObject(d) || (O = `${O}__${JSON.stringify(d)}`);
|
|
2715
2715
|
let D = l.get(O);
|
|
2716
|
-
return D || (D = new Intl.DateTimeFormat(f, assign$3({},
|
|
2716
|
+
return D || (D = new Intl.DateTimeFormat(f, assign$3({}, g, d)), l.set(O, D)), C ? D.formatToParts(u) : D.format(u);
|
|
2717
2717
|
}
|
|
2718
2718
|
const DATETIME_FORMAT_OPTIONS_KEYS = [
|
|
2719
2719
|
"localeMatcher",
|
|
@@ -2774,7 +2774,7 @@ function number$1(e, ...t) {
|
|
|
2774
2774
|
const { numberFormats: o, unresolving: r, fallbackLocale: n, onWarn: i, localeFallbacker: s } = e, { __numberFormatters: l } = e;
|
|
2775
2775
|
if (process.env.NODE_ENV !== "production" && !Availabilities.numberFormat)
|
|
2776
2776
|
return i(getWarnMessage$1(CoreWarnCodes.CANNOT_FORMAT_NUMBER)), MISSING_RESOLVE_VALUE;
|
|
2777
|
-
const [a, u, c, d] = parseNumberArgs(...t), m = isBoolean$1(c.missingWarn) ? c.missingWarn : e.missingWarn,
|
|
2777
|
+
const [a, u, c, d] = parseNumberArgs(...t), m = isBoolean$1(c.missingWarn) ? c.missingWarn : e.missingWarn, _ = isBoolean$1(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, C = !!c.part, y = getLocale(e, c), v = s(
|
|
2778
2778
|
e,
|
|
2779
2779
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2780
2780
|
n,
|
|
@@ -2782,10 +2782,10 @@ function number$1(e, ...t) {
|
|
|
2782
2782
|
);
|
|
2783
2783
|
if (!isString$5(a) || a === "")
|
|
2784
2784
|
return new Intl.NumberFormat(y, d).format(u);
|
|
2785
|
-
let p = {}, f,
|
|
2785
|
+
let p = {}, f, g = null, E = y, k = null;
|
|
2786
2786
|
const P = "number format";
|
|
2787
2787
|
for (let S = 0; S < v.length; S++) {
|
|
2788
|
-
if (f = k = v[S], process.env.NODE_ENV !== "production" && y !== f && isTranslateFallbackWarn(
|
|
2788
|
+
if (f = k = v[S], process.env.NODE_ENV !== "production" && y !== f && isTranslateFallbackWarn(_, a) && i(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT, {
|
|
2789
2789
|
key: a,
|
|
2790
2790
|
target: f
|
|
2791
2791
|
})), process.env.NODE_ENV !== "production" && y !== f) {
|
|
@@ -2798,16 +2798,16 @@ function number$1(e, ...t) {
|
|
|
2798
2798
|
groupId: `${P}:${a}`
|
|
2799
2799
|
});
|
|
2800
2800
|
}
|
|
2801
|
-
if (p = o[f] || {},
|
|
2801
|
+
if (p = o[f] || {}, g = p[a], isPlainObject$1(g))
|
|
2802
2802
|
break;
|
|
2803
2803
|
handleMissing(e, a, f, m, P), E = k;
|
|
2804
2804
|
}
|
|
2805
|
-
if (!isPlainObject$1(
|
|
2805
|
+
if (!isPlainObject$1(g) || !isString$5(f))
|
|
2806
2806
|
return r ? NOT_REOSLVED : a;
|
|
2807
2807
|
let O = `${f}__${a}`;
|
|
2808
2808
|
isEmptyObject(d) || (O = `${O}__${JSON.stringify(d)}`);
|
|
2809
2809
|
let D = l.get(O);
|
|
2810
|
-
return D || (D = new Intl.NumberFormat(f, assign$3({},
|
|
2810
|
+
return D || (D = new Intl.NumberFormat(f, assign$3({}, g, d)), l.set(O, D)), C ? D.formatToParts(u) : D.format(u);
|
|
2811
2811
|
}
|
|
2812
2812
|
const NUMBER_FORMAT_OPTIONS_KEYS = [
|
|
2813
2813
|
"localeMatcher",
|
|
@@ -3025,7 +3025,7 @@ function createComposer(e = {}, t) {
|
|
|
3025
3025
|
// prettier-ignore
|
|
3026
3026
|
o && s ? o.fallbackLocale.value : isString$5(e.fallbackLocale) || isArray$7(e.fallbackLocale) || isPlainObject$1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
|
|
3027
3027
|
), u = ref(getLocaleMessages(l.value, e)), c = ref(isPlainObject$1(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), d = ref(isPlainObject$1(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
|
|
3028
|
-
let m = o ? o.missingWarn : isBoolean$1(e.missingWarn) || isRegExp$1(e.missingWarn) ? e.missingWarn : !0,
|
|
3028
|
+
let m = o ? o.missingWarn : isBoolean$1(e.missingWarn) || isRegExp$1(e.missingWarn) ? e.missingWarn : !0, _ = o ? o.fallbackWarn : isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, C = o ? o.fallbackRoot : isBoolean$1(e.fallbackRoot) ? e.fallbackRoot : !0, y = !!e.fallbackFormat, v = isFunction$3(e.missing) ? e.missing : null, p = isFunction$3(e.missing) ? defineCoreMissingHandler(e.missing) : null, f = isFunction$3(e.postTranslation) ? e.postTranslation : null, g = o ? o.warnHtmlMessage : isBoolean$1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
|
|
3029
3029
|
const k = o ? o.modifiers : isPlainObject$1(e.modifiers) ? e.modifiers : {};
|
|
3030
3030
|
let P = e.pluralRules || o && o.pluralRules, O;
|
|
3031
3031
|
O = (() => {
|
|
@@ -3039,11 +3039,11 @@ function createComposer(e = {}, t) {
|
|
|
3039
3039
|
pluralRules: P,
|
|
3040
3040
|
missing: p === null ? void 0 : p,
|
|
3041
3041
|
missingWarn: m,
|
|
3042
|
-
fallbackWarn:
|
|
3042
|
+
fallbackWarn: _,
|
|
3043
3043
|
fallbackFormat: y,
|
|
3044
3044
|
unresolving: !0,
|
|
3045
3045
|
postTranslation: f === null ? void 0 : f,
|
|
3046
|
-
warnHtmlMessage:
|
|
3046
|
+
warnHtmlMessage: g,
|
|
3047
3047
|
escapeParameter: E,
|
|
3048
3048
|
messageResolver: e.messageResolver,
|
|
3049
3049
|
messageCompiler: e.messageCompiler,
|
|
@@ -3099,7 +3099,7 @@ function createComposer(e = {}, t) {
|
|
|
3099
3099
|
if (K !== "translate exists" && // for not `te` (e.g `t`)
|
|
3100
3100
|
isNumber$3(ue) && ue === NOT_REOSLVED || K === "translate exists" && !ue) {
|
|
3101
3101
|
const [de, we] = x();
|
|
3102
|
-
if (process.env.NODE_ENV !== "production" && o && isString$5(de) && Y(K, we) && (C && (isTranslateFallbackWarn(
|
|
3102
|
+
if (process.env.NODE_ENV !== "production" && o && isString$5(de) && Y(K, we) && (C && (isTranslateFallbackWarn(_, de) || isTranslateMissingWarn(m, de)) && warn$1(getWarnMessage(I18nWarnCodes.FALLBACK_TO_ROOT, {
|
|
3103
3103
|
key: de,
|
|
3104
3104
|
type: K
|
|
3105
3105
|
})), process.env.NODE_ENV !== "production")) {
|
|
@@ -3141,7 +3141,7 @@ function createComposer(e = {}, t) {
|
|
|
3141
3141
|
interpolate: (A) => A,
|
|
3142
3142
|
type: "vnode"
|
|
3143
3143
|
};
|
|
3144
|
-
function
|
|
3144
|
+
function w(...A) {
|
|
3145
3145
|
return q(
|
|
3146
3146
|
(x) => {
|
|
3147
3147
|
let K;
|
|
@@ -3282,10 +3282,10 @@ function createComposer(e = {}, t) {
|
|
|
3282
3282
|
m = A, O.missingWarn = m;
|
|
3283
3283
|
},
|
|
3284
3284
|
get fallbackWarn() {
|
|
3285
|
-
return
|
|
3285
|
+
return _;
|
|
3286
3286
|
},
|
|
3287
3287
|
set fallbackWarn(A) {
|
|
3288
|
-
|
|
3288
|
+
_ = A, O.fallbackWarn = _;
|
|
3289
3289
|
},
|
|
3290
3290
|
get fallbackRoot() {
|
|
3291
3291
|
return C;
|
|
@@ -3300,10 +3300,10 @@ function createComposer(e = {}, t) {
|
|
|
3300
3300
|
y = A, O.fallbackFormat = y;
|
|
3301
3301
|
},
|
|
3302
3302
|
get warnHtmlMessage() {
|
|
3303
|
-
return
|
|
3303
|
+
return g;
|
|
3304
3304
|
},
|
|
3305
3305
|
set warnHtmlMessage(A) {
|
|
3306
|
-
|
|
3306
|
+
g = A, O.warnHtmlMessage = A;
|
|
3307
3307
|
},
|
|
3308
3308
|
get escapeParameter() {
|
|
3309
3309
|
return E;
|
|
@@ -3321,14 +3321,14 @@ function createComposer(e = {}, t) {
|
|
|
3321
3321
|
setMissingHandler: z,
|
|
3322
3322
|
[SetPluralRulesSymbol]: R
|
|
3323
3323
|
};
|
|
3324
|
-
return ee.datetimeFormats = G, ee.numberFormats = ne, ee.rt = J, ee.te = U, ee.tm = T, ee.d = se, ee.n = X, ee.getDateTimeFormat = W, ee.setDateTimeFormat = le, ee.mergeDateTimeFormat = ae, ee.getNumberFormat = me, ee.setNumberFormat = fe, ee.mergeNumberFormat = ge, ee[InejctWithOptionSymbol] = r, ee[TranslateVNodeSymbol] =
|
|
3324
|
+
return ee.datetimeFormats = G, ee.numberFormats = ne, ee.rt = J, ee.te = U, ee.tm = T, ee.d = se, ee.n = X, ee.getDateTimeFormat = W, ee.setDateTimeFormat = le, ee.mergeDateTimeFormat = ae, ee.getNumberFormat = me, ee.setNumberFormat = fe, ee.mergeNumberFormat = ge, ee[InejctWithOptionSymbol] = r, ee[TranslateVNodeSymbol] = w, ee[DatetimePartsSymbol] = V, ee[NumberPartsSymbol] = $, process.env.NODE_ENV !== "production" && (ee[EnableEmitter] = (A) => {
|
|
3325
3325
|
O.__v_emitter = A;
|
|
3326
3326
|
}, ee[DisableEmitter] = () => {
|
|
3327
3327
|
O.__v_emitter = void 0;
|
|
3328
3328
|
}), ee;
|
|
3329
3329
|
}
|
|
3330
3330
|
function convertComposerOptions(e) {
|
|
3331
|
-
const t = isString$5(e.locale) ? e.locale : DEFAULT_LOCALE, o = isString$5(e.fallbackLocale) || isArray$7(e.fallbackLocale) || isPlainObject$1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = isFunction$3(e.missing) ? e.missing : void 0, n = isBoolean$1(e.silentTranslationWarn) || isRegExp$1(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, i = isBoolean$1(e.silentFallbackWarn) || isRegExp$1(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = isBoolean$1(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, a = isPlainObject$1(e.modifiers) ? e.modifiers : {}, u = e.pluralizationRules, c = isFunction$3(e.postTranslation) ? e.postTranslation : void 0, d = isString$5(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, m = !!e.escapeParameterHtml,
|
|
3331
|
+
const t = isString$5(e.locale) ? e.locale : DEFAULT_LOCALE, o = isString$5(e.fallbackLocale) || isArray$7(e.fallbackLocale) || isPlainObject$1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = isFunction$3(e.missing) ? e.missing : void 0, n = isBoolean$1(e.silentTranslationWarn) || isRegExp$1(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, i = isBoolean$1(e.silentFallbackWarn) || isRegExp$1(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = isBoolean$1(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, a = isPlainObject$1(e.modifiers) ? e.modifiers : {}, u = e.pluralizationRules, c = isFunction$3(e.postTranslation) ? e.postTranslation : void 0, d = isString$5(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, m = !!e.escapeParameterHtml, _ = isBoolean$1(e.sync) ? e.sync : !0;
|
|
3332
3332
|
process.env.NODE_ENV !== "production" && e.formatter && warn$1(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && e.preserveDirectiveContent && warn$1(getWarnMessage(I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
|
|
3333
3333
|
let C = e.messages;
|
|
3334
3334
|
if (isPlainObject$1(e.sharedMessages)) {
|
|
@@ -3338,14 +3338,14 @@ function convertComposerOptions(e) {
|
|
|
3338
3338
|
return assign$3(S, k[D]), O;
|
|
3339
3339
|
}, C || {});
|
|
3340
3340
|
}
|
|
3341
|
-
const { __i18n: y, __root: v, __injectWithOption: p } = e, f = e.datetimeFormats,
|
|
3341
|
+
const { __i18n: y, __root: v, __injectWithOption: p } = e, f = e.datetimeFormats, g = e.numberFormats, E = e.flatJson;
|
|
3342
3342
|
return {
|
|
3343
3343
|
locale: t,
|
|
3344
3344
|
fallbackLocale: o,
|
|
3345
3345
|
messages: C,
|
|
3346
3346
|
flatJson: E,
|
|
3347
3347
|
datetimeFormats: f,
|
|
3348
|
-
numberFormats:
|
|
3348
|
+
numberFormats: g,
|
|
3349
3349
|
missing: r,
|
|
3350
3350
|
missingWarn: n,
|
|
3351
3351
|
fallbackWarn: i,
|
|
@@ -3357,7 +3357,7 @@ function convertComposerOptions(e) {
|
|
|
3357
3357
|
warnHtmlMessage: d,
|
|
3358
3358
|
escapeParameter: m,
|
|
3359
3359
|
messageResolver: e.messageResolver,
|
|
3360
|
-
inheritLocale:
|
|
3360
|
+
inheritLocale: _,
|
|
3361
3361
|
__i18n: y,
|
|
3362
3362
|
__root: v,
|
|
3363
3363
|
__injectWithOption: p
|
|
@@ -3646,12 +3646,12 @@ function renderFormatter(e, t, o, r) {
|
|
|
3646
3646
|
return () => {
|
|
3647
3647
|
const s = { part: !0 };
|
|
3648
3648
|
let l = {};
|
|
3649
|
-
e.locale && (s.locale = e.locale), isString$5(e.format) ? s.key = e.format : isObject$4(e.format) && (isString$5(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((m,
|
|
3649
|
+
e.locale && (s.locale = e.locale), isString$5(e.format) ? s.key = e.format : isObject$4(e.format) && (isString$5(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((m, _) => o.includes(_) ? assign$3({}, m, { [_]: e.format[_] }) : m, {}));
|
|
3650
3650
|
const a = r(e.value, s, l);
|
|
3651
3651
|
let u = [s.key];
|
|
3652
|
-
isArray$7(a) ? u = a.map((m,
|
|
3653
|
-
const C = n[m.type], y = C ? C({ [m.type]: m.value, index:
|
|
3654
|
-
return isVNode(y) && (y[0].key = `${m.type}-${
|
|
3652
|
+
isArray$7(a) ? u = a.map((m, _) => {
|
|
3653
|
+
const C = n[m.type], y = C ? C({ [m.type]: m.value, index: _, parts: a }) : [m.value];
|
|
3654
|
+
return isVNode(y) && (y[0].key = `${m.type}-${_}`), y;
|
|
3655
3655
|
}) : isString$5(a) && (u = [a]);
|
|
3656
3656
|
const c = assign$3({}, i), d = isString$5(e.tag) || isObject$4(e.tag) ? e.tag : getFragmentableTag();
|
|
3657
3657
|
return h(d, c, u);
|
|
@@ -4112,8 +4112,8 @@ function createI18n(e = {}, t) {
|
|
|
4112
4112
|
function u(m) {
|
|
4113
4113
|
return i.get(m) || null;
|
|
4114
4114
|
}
|
|
4115
|
-
function c(m,
|
|
4116
|
-
i.set(m,
|
|
4115
|
+
function c(m, _) {
|
|
4116
|
+
i.set(m, _);
|
|
4117
4117
|
}
|
|
4118
4118
|
function d(m) {
|
|
4119
4119
|
i.delete(m);
|
|
@@ -4129,26 +4129,26 @@ function createI18n(e = {}, t) {
|
|
|
4129
4129
|
return n;
|
|
4130
4130
|
},
|
|
4131
4131
|
// install plugin
|
|
4132
|
-
async install(
|
|
4133
|
-
if (process.env.NODE_ENV !== "production" && (
|
|
4132
|
+
async install(_, ...C) {
|
|
4133
|
+
if (process.env.NODE_ENV !== "production" && (_.__VUE_I18N__ = m), _.__VUE_I18N_SYMBOL__ = a, _.provide(_.__VUE_I18N_SYMBOL__, m), isPlainObject$1(C[0])) {
|
|
4134
4134
|
const p = C[0];
|
|
4135
4135
|
m.__composerExtend = p.__composerExtend, m.__vueI18nExtend = p.__vueI18nExtend;
|
|
4136
4136
|
}
|
|
4137
4137
|
let y = null;
|
|
4138
|
-
!o && r && (y = injectGlobalFields(
|
|
4139
|
-
const v =
|
|
4140
|
-
if (
|
|
4138
|
+
!o && r && (y = injectGlobalFields(_, m.global)), __VUE_I18N_FULL_INSTALL__ && apply(_, m, ...C), __VUE_I18N_LEGACY_API__ && o && _.mixin(defineMixin(l, l.__composer, m));
|
|
4139
|
+
const v = _.unmount;
|
|
4140
|
+
if (_.unmount = () => {
|
|
4141
4141
|
y && y(), m.dispose(), v();
|
|
4142
4142
|
}, process.env.NODE_ENV !== "production") {
|
|
4143
|
-
if (!await enableDevTools(
|
|
4143
|
+
if (!await enableDevTools(_, m))
|
|
4144
4144
|
throw createI18nError(I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
4145
4145
|
const f = createEmitter();
|
|
4146
4146
|
if (o) {
|
|
4147
|
-
const
|
|
4148
|
-
|
|
4147
|
+
const g = l;
|
|
4148
|
+
g.__enableEmitter && g.__enableEmitter(f);
|
|
4149
4149
|
} else {
|
|
4150
|
-
const
|
|
4151
|
-
|
|
4150
|
+
const g = l;
|
|
4151
|
+
g[EnableEmitter] && g[EnableEmitter](f);
|
|
4152
4152
|
}
|
|
4153
4153
|
f.on("*", addTimelineEvent);
|
|
4154
4154
|
}
|
|
@@ -4267,7 +4267,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4267
4267
|
), a = ref(
|
|
4268
4268
|
// prettier-ignore
|
|
4269
4269
|
!n || s ? o.fallbackLocale.value : isString$5(r.fallbackLocale) || isArray$7(r.fallbackLocale) || isPlainObject$1(r.fallbackLocale) || r.fallbackLocale === !1 ? r.fallbackLocale : l.value
|
|
4270
|
-
), u = ref(getLocaleMessages(l.value, r)), c = ref(isPlainObject$1(r.datetimeFormats) ? r.datetimeFormats : { [l.value]: {} }), d = ref(isPlainObject$1(r.numberFormats) ? r.numberFormats : { [l.value]: {} }), m = n ? o.missingWarn : isBoolean$1(r.missingWarn) || isRegExp$1(r.missingWarn) ? r.missingWarn : !0,
|
|
4270
|
+
), u = ref(getLocaleMessages(l.value, r)), c = ref(isPlainObject$1(r.datetimeFormats) ? r.datetimeFormats : { [l.value]: {} }), d = ref(isPlainObject$1(r.numberFormats) ? r.numberFormats : { [l.value]: {} }), m = n ? o.missingWarn : isBoolean$1(r.missingWarn) || isRegExp$1(r.missingWarn) ? r.missingWarn : !0, _ = n ? o.fallbackWarn : isBoolean$1(r.fallbackWarn) || isRegExp$1(r.fallbackWarn) ? r.fallbackWarn : !0, C = n ? o.fallbackRoot : isBoolean$1(r.fallbackRoot) ? r.fallbackRoot : !0, y = !!r.fallbackFormat, v = isFunction$3(r.missing) ? r.missing : null, p = isFunction$3(r.postTranslation) ? r.postTranslation : null, f = n ? o.warnHtmlMessage : isBoolean$1(r.warnHtmlMessage) ? r.warnHtmlMessage : !0, g = !!r.escapeParameter, E = n ? o.modifiers : isPlainObject$1(r.modifiers) ? r.modifiers : {}, k = r.pluralRules || n && o.pluralRules;
|
|
4271
4271
|
function P() {
|
|
4272
4272
|
return [
|
|
4273
4273
|
l.value,
|
|
@@ -4336,7 +4336,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4336
4336
|
function b(T, I) {
|
|
4337
4337
|
i.value && (i.value.setDateTimeFormat(T, I), c.value[T] = I);
|
|
4338
4338
|
}
|
|
4339
|
-
function
|
|
4339
|
+
function w(T, I) {
|
|
4340
4340
|
i.value && i.value.mergeDateTimeFormat(T, I);
|
|
4341
4341
|
}
|
|
4342
4342
|
function $(T) {
|
|
@@ -4382,7 +4382,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4382
4382
|
i.value && (i.value.missingWarn = T);
|
|
4383
4383
|
},
|
|
4384
4384
|
get fallbackWarn() {
|
|
4385
|
-
return i.value ? i.value.fallbackWarn :
|
|
4385
|
+
return i.value ? i.value.fallbackWarn : _;
|
|
4386
4386
|
},
|
|
4387
4387
|
set fallbackWarn(T) {
|
|
4388
4388
|
i.value && (i.value.missingWarn = T);
|
|
@@ -4406,7 +4406,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4406
4406
|
i.value && (i.value.warnHtmlMessage = T);
|
|
4407
4407
|
},
|
|
4408
4408
|
get escapeParameter() {
|
|
4409
|
-
return i.value ? i.value.escapeParameter :
|
|
4409
|
+
return i.value ? i.value.escapeParameter : g;
|
|
4410
4410
|
},
|
|
4411
4411
|
set escapeParameter(T) {
|
|
4412
4412
|
i.value && (i.value.escapeParameter = T);
|
|
@@ -4426,7 +4426,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4426
4426
|
mergeLocaleMessage: ie,
|
|
4427
4427
|
getDateTimeFormat: oe,
|
|
4428
4428
|
setDateTimeFormat: b,
|
|
4429
|
-
mergeDateTimeFormat:
|
|
4429
|
+
mergeDateTimeFormat: w,
|
|
4430
4430
|
getNumberFormat: $,
|
|
4431
4431
|
setNumberFormat: V,
|
|
4432
4432
|
mergeNumberFormat: R
|
|
@@ -4438,7 +4438,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4438
4438
|
T.mergeDateTimeFormat(I, c.value[I]);
|
|
4439
4439
|
}), Object.keys(d.value).forEach((I) => {
|
|
4440
4440
|
T.mergeNumberFormat(I, d.value[I]);
|
|
4441
|
-
}), T.escapeParameter =
|
|
4441
|
+
}), T.escapeParameter = g, T.fallbackFormat = y, T.fallbackRoot = C, T.fallbackWarn = _, T.missingWarn = m, T.warnHtmlMessage = f;
|
|
4442
4442
|
}
|
|
4443
4443
|
return onBeforeMount(() => {
|
|
4444
4444
|
if (e.proxy == null || e.proxy.$i18n == null)
|
|
@@ -4648,7 +4648,13 @@ const en$1 = {
|
|
|
4648
4648
|
orderType: "Order Type",
|
|
4649
4649
|
orderTypeAsc: "Asc",
|
|
4650
4650
|
orderTypeDesc: "Desc",
|
|
4651
|
-
close: "Close"
|
|
4651
|
+
close: "Close",
|
|
4652
|
+
tabConfig: "Tab Config",
|
|
4653
|
+
tab: "Tab",
|
|
4654
|
+
tabCode: "Tab Code",
|
|
4655
|
+
tabName: "Tab Name",
|
|
4656
|
+
emptyTabInfo: "Tab Information is emtpty,cannot save!",
|
|
4657
|
+
otherTabName: "Other Information"
|
|
4652
4658
|
},
|
|
4653
4659
|
departmentTree: {},
|
|
4654
4660
|
departmentTreeInline: {
|
|
@@ -4778,7 +4784,9 @@ const en$1 = {
|
|
|
4778
4784
|
cancel_trust_task: "{key_1} canceled the delegated task of user [{key_2}]",
|
|
4779
4785
|
restore_trust_task: "{key_1} has restored the task of the trustee [{key_2}]",
|
|
4780
4786
|
cancel_trust_record_task: "The delegation of {key_1} has been canceled, and the delegated task in the [{key_2}] phase of [{key_3}] has been canceled",
|
|
4781
|
-
cancel_trust_task_complete_task: "{key_1} performed the [{key_2}] operation, and the task of the handler [{key_3}] was canceled"
|
|
4787
|
+
cancel_trust_task_complete_task: "{key_1} performed the [{key_2}] operation, and the task of the handler [{key_3}] was canceled",
|
|
4788
|
+
stayDurationComment: "The stay duration is the natural day duration from the completion time of the previous node to the completion time of the current node",
|
|
4789
|
+
processingDurationComment: "The processing duration is the duration from the completion time of the previous node to the completion time of the current node, measured in working hours between the two node tasks"
|
|
4782
4790
|
},
|
|
4783
4791
|
gateway: {
|
|
4784
4792
|
timeout: "Interface call timeout",
|
|
@@ -4995,7 +5003,13 @@ const en$1 = {
|
|
|
4995
5003
|
orderType: "排序方式",
|
|
4996
5004
|
orderTypeAsc: "升序",
|
|
4997
5005
|
orderTypeDesc: "降序",
|
|
4998
|
-
close: "关闭"
|
|
5006
|
+
close: "关闭",
|
|
5007
|
+
tabConfig: "页签配置",
|
|
5008
|
+
tab: "所属页签",
|
|
5009
|
+
tabCode: "页签编码",
|
|
5010
|
+
tabName: "页签名称",
|
|
5011
|
+
emptyTabInfo: "页签信息为空,不能保存!",
|
|
5012
|
+
otherTabName: "其它信息"
|
|
4999
5013
|
},
|
|
5000
5014
|
// 部门树组件
|
|
5001
5015
|
departmentTree: {},
|
|
@@ -5127,7 +5141,9 @@ const en$1 = {
|
|
|
5127
5141
|
cancel_trust_task: "{key_1}取消了用户[{key_2}]的委托任务",
|
|
5128
5142
|
restore_trust_task: "{key_1}恢复了受托人[{key_2}]的任务",
|
|
5129
5143
|
cancel_trust_record_task: "{key_1}的委托已取消,办理人[{key_2}]环节[{key_3}]的委托任务被取消",
|
|
5130
|
-
cancel_trust_task_complete_task: "{key_1}执行了[{key_2}]操作,办理人[{key_3}]的任务被取消"
|
|
5144
|
+
cancel_trust_task_complete_task: "{key_1}执行了[{key_2}]操作,办理人[{key_3}]的任务被取消",
|
|
5145
|
+
stayDurationComment: "停留时长为上个节点完成的时间到当前节点完成时间的时长,根据自然日计算",
|
|
5146
|
+
processingDurationComment: "处理时长为上个节点完成的时间到当前节点完成时间的时长,根据工作日小时数计算"
|
|
5131
5147
|
},
|
|
5132
5148
|
gateway: {
|
|
5133
5149
|
timeout: "接口调用超时",
|
|
@@ -5224,27 +5240,27 @@ class AmountCalculator extends CalculatorFactoryWf {
|
|
|
5224
5240
|
super();
|
|
5225
5241
|
const o = "operator.number.ge", r = "operator.number.le", n = "operator.number.gt", i = "operator.number.lt", s = "operator.number.ne", l = "operator.number.eq", a = "operator.text.neq", u = "operator.text.eq";
|
|
5226
5242
|
if (t.indexOf(o) > 0) {
|
|
5227
|
-
const c = o, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5228
|
-
|
|
5243
|
+
const c = o, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(), _ = Number(d), C = Number(m);
|
|
5244
|
+
_ === null ? this.result = !1 : this.result = _ >= C;
|
|
5229
5245
|
} else if (t.indexOf(r) > 0) {
|
|
5230
|
-
const c = r, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5231
|
-
|
|
5246
|
+
const c = r, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(), _ = Number(d), C = Number(m);
|
|
5247
|
+
_ === null ? this.result = !1 : this.result = _ <= C;
|
|
5232
5248
|
} else if (t.indexOf(n) > 0) {
|
|
5233
|
-
const c = n, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5234
|
-
|
|
5249
|
+
const c = n, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(), _ = Number(d), C = Number(m);
|
|
5250
|
+
_ === null ? this.result = !1 : this.result = _ > C;
|
|
5235
5251
|
} else if (t.indexOf(i) > 0) {
|
|
5236
|
-
const c = i, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5237
|
-
|
|
5252
|
+
const c = i, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(), _ = Number(d), C = Number(m);
|
|
5253
|
+
_ === null ? this.result = !1 : this.result = _ < C;
|
|
5238
5254
|
} else if (t.indexOf(s) > 0 || t.indexOf(a) > 0) {
|
|
5239
5255
|
let c = s;
|
|
5240
5256
|
t.indexOf(a) > 0 && (c = a);
|
|
5241
|
-
const d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5242
|
-
|
|
5257
|
+
const d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(), _ = Number(d), C = Number(m);
|
|
5258
|
+
_ === null ? this.result = !1 : this.result = _ !== C;
|
|
5243
5259
|
} else if (t.indexOf(l) > 0 || t.indexOf(u) > 0) {
|
|
5244
5260
|
let c = l;
|
|
5245
5261
|
t.indexOf(u) > 0 && (c = u);
|
|
5246
|
-
const d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5247
|
-
this.isEQEmptyValue(
|
|
5262
|
+
const d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(), _ = Number(d), C = Number(m);
|
|
5263
|
+
this.isEQEmptyValue(_, c, C) ? this.result = !0 : _ === null ? this.result = !1 : this.result = _ === C;
|
|
5248
5264
|
}
|
|
5249
5265
|
}
|
|
5250
5266
|
}
|
|
@@ -5262,40 +5278,40 @@ class NumberCalculator extends CalculatorFactoryWf {
|
|
|
5262
5278
|
const c = o;
|
|
5263
5279
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5264
5280
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5265
|
-
const
|
|
5266
|
-
|
|
5281
|
+
const _ = Number(d), C = Number(m);
|
|
5282
|
+
_ === null ? this.result = !1 : this.result = _ >= C;
|
|
5267
5283
|
} else if (t.indexOf(r) > 0) {
|
|
5268
5284
|
const c = r;
|
|
5269
5285
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5270
5286
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5271
|
-
const
|
|
5272
|
-
|
|
5287
|
+
const _ = Number(d), C = Number(m);
|
|
5288
|
+
_ === null ? this.result = !1 : this.result = _ <= C;
|
|
5273
5289
|
} else if (t.indexOf(n) > 0) {
|
|
5274
5290
|
const c = n;
|
|
5275
5291
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5276
5292
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5277
|
-
const
|
|
5278
|
-
|
|
5293
|
+
const _ = Number(d), C = Number(m);
|
|
5294
|
+
_ === null ? this.result = !1 : this.result = _ > C;
|
|
5279
5295
|
} else if (t.indexOf(i) > 0) {
|
|
5280
5296
|
const c = i;
|
|
5281
5297
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5282
5298
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5283
|
-
const
|
|
5284
|
-
|
|
5299
|
+
const _ = Number(d), C = Number(m);
|
|
5300
|
+
_ === null ? this.result = !1 : this.result = _ < C;
|
|
5285
5301
|
} else if (t.indexOf(s) > 0 || t.indexOf(a) > 0) {
|
|
5286
5302
|
let c = s;
|
|
5287
5303
|
t.indexOf(a) > 0 && (c = a);
|
|
5288
5304
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5289
5305
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5290
|
-
const
|
|
5291
|
-
|
|
5306
|
+
const _ = Number(d), C = Number(m);
|
|
5307
|
+
_ === null ? this.result = !1 : this.result = _ !== C;
|
|
5292
5308
|
} else if (t.indexOf(l) > 0 || t.indexOf(u) > 0) {
|
|
5293
5309
|
let c = l;
|
|
5294
5310
|
t.indexOf(u) > 0 && (c = u);
|
|
5295
5311
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5296
5312
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5297
|
-
const
|
|
5298
|
-
this.isEQEmptyValue(
|
|
5313
|
+
const _ = Number(d), C = Number(m);
|
|
5314
|
+
this.isEQEmptyValue(_, c, C) ? this.result = !0 : _ === null ? this.result = !1 : this.result = _ === C;
|
|
5299
5315
|
}
|
|
5300
5316
|
}
|
|
5301
5317
|
}
|
|
@@ -5313,38 +5329,38 @@ class DateCalculator extends CalculatorFactoryWf {
|
|
|
5313
5329
|
const u = r;
|
|
5314
5330
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5315
5331
|
o && o === "DATE" && c.indexOf(":") > 0 && (c = c.substring(0, c.indexOf(":"))), o && o === "DATE" && d.indexOf(":") > 0 && (d = d.substring(0, d.indexOf(":")));
|
|
5316
|
-
const m = new Date(c).getTime(),
|
|
5317
|
-
m === null ? this.result = !1 : this.result = m >=
|
|
5332
|
+
const m = new Date(c).getTime(), _ = new Date(d).getTime();
|
|
5333
|
+
m === null ? this.result = !1 : this.result = m >= _;
|
|
5318
5334
|
} else if (t.indexOf(n) > 0) {
|
|
5319
5335
|
const u = n;
|
|
5320
5336
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5321
5337
|
o && o === "DATE" && c.indexOf(":") > 0 && (c = c.substring(0, c.indexOf(":"))), o && o === "DATE" && d.indexOf(":") > 0 && (d = d.substring(0, d.indexOf(":")));
|
|
5322
|
-
const m = new Date(c).getTime(),
|
|
5323
|
-
m === null ? this.result = !1 : this.result = m <=
|
|
5338
|
+
const m = new Date(c).getTime(), _ = new Date(d).getTime();
|
|
5339
|
+
m === null ? this.result = !1 : this.result = m <= _;
|
|
5324
5340
|
} else if (t.indexOf(i) > 0) {
|
|
5325
5341
|
const u = i;
|
|
5326
5342
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5327
5343
|
o && o === "DATE" && c.indexOf(":") > 0 && (c = c.substring(0, c.indexOf(":"))), o && o === "DATE" && d.indexOf(":") > 0 && (d = d.substring(0, d.indexOf(":")));
|
|
5328
|
-
const m = new Date(c).getTime(),
|
|
5329
|
-
m === null ? this.result = !1 : this.result = m >
|
|
5344
|
+
const m = new Date(c).getTime(), _ = new Date(d).getTime();
|
|
5345
|
+
m === null ? this.result = !1 : this.result = m > _;
|
|
5330
5346
|
} else if (t.indexOf(s) > 0) {
|
|
5331
5347
|
const u = s;
|
|
5332
5348
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5333
5349
|
o && o === "DATE" && c.indexOf(":") > 0 && (c = c.substring(0, c.indexOf(":"))), o && o === "DATE" && d.indexOf(":") > 0 && (d = d.substring(0, d.indexOf(":")));
|
|
5334
|
-
const m = new Date(c).getTime(),
|
|
5335
|
-
m === null ? this.result = !1 : this.result = m <
|
|
5350
|
+
const m = new Date(c).getTime(), _ = new Date(d).getTime();
|
|
5351
|
+
m === null ? this.result = !1 : this.result = m < _;
|
|
5336
5352
|
} else if (t.indexOf(l) > 0) {
|
|
5337
5353
|
const u = l;
|
|
5338
5354
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5339
5355
|
o && o === "DATE" && c.indexOf(":") > 0 && (c = c.substring(0, c.indexOf(":"))), o && o === "DATE" && d.indexOf(":") > 0 && (d = d.substring(0, d.indexOf(":")));
|
|
5340
|
-
const m = new Date(c).getTime(),
|
|
5341
|
-
m === null ? this.result = !1 : this.result = m !==
|
|
5356
|
+
const m = new Date(c).getTime(), _ = new Date(d).getTime();
|
|
5357
|
+
m === null ? this.result = !1 : this.result = m !== _;
|
|
5342
5358
|
} else if (t.indexOf(a) > 0) {
|
|
5343
5359
|
const u = a;
|
|
5344
5360
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5345
5361
|
o && o === "DATE" && c.indexOf(":") > 0 && (c = c.substring(0, c.indexOf(":"))), o && o === "DATE" && d.indexOf(":") > 0 && (d = d.substring(0, d.indexOf(":")));
|
|
5346
|
-
const m = new Date(c).getTime(),
|
|
5347
|
-
this.isEQEmptyValue(m, u,
|
|
5362
|
+
const m = new Date(c).getTime(), _ = new Date(d).getTime();
|
|
5363
|
+
this.isEQEmptyValue(m, u, _) ? this.result = !0 : m === null ? this.result = !1 : this.result = m === _;
|
|
5348
5364
|
}
|
|
5349
5365
|
}
|
|
5350
5366
|
}
|
|
@@ -5429,7 +5445,7 @@ function parseFieldCondition(e, t, o, r, n, i, s) {
|
|
|
5429
5445
|
const u = e.substring(
|
|
5430
5446
|
e.indexOf(l) + l.length,
|
|
5431
5447
|
e.indexOf(a)
|
|
5432
|
-
), c = e.substring(0, e.indexOf(" ")), d = e.substring(e.indexOf(" ") + 1), m = d.substring(d.indexOf(" ") + 1).trim(),
|
|
5448
|
+
), c = e.substring(0, e.indexOf(" ")), d = e.substring(e.indexOf(" ") + 1), m = d.substring(d.indexOf(" ") + 1).trim(), _ = getPropValue(
|
|
5433
5449
|
m,
|
|
5434
5450
|
o,
|
|
5435
5451
|
n,
|
|
@@ -5438,7 +5454,7 @@ function parseFieldCondition(e, t, o, r, n, i, s) {
|
|
|
5438
5454
|
r,
|
|
5439
5455
|
i
|
|
5440
5456
|
);
|
|
5441
|
-
|
|
5457
|
+
_ != null && (e = e.replace(m, _.toString()));
|
|
5442
5458
|
let C;
|
|
5443
5459
|
if (c.startsWith("${parent[") ? C = getValue$2(o, u) : C = getValue$2(r, u), (C == null || C === "") && (t === "DATE" || t === "TIME"))
|
|
5444
5460
|
return !1;
|
|
@@ -6249,11 +6265,11 @@ function toFormData(e, t, o) {
|
|
|
6249
6265
|
if (utils$1.endsWith(y, "{}"))
|
|
6250
6266
|
y = r ? y : y.slice(0, -2), C = JSON.stringify(C);
|
|
6251
6267
|
else if (utils$1.isArray(C) && isFlatArray(C) || (utils$1.isFileList(C) || utils$1.endsWith(y, "[]")) && (p = utils$1.toArray(C)))
|
|
6252
|
-
return y = removeBrackets(y), p.forEach(function(
|
|
6253
|
-
!(utils$1.isUndefined(
|
|
6268
|
+
return y = removeBrackets(y), p.forEach(function(g, E) {
|
|
6269
|
+
!(utils$1.isUndefined(g) || g === null) && t.append(
|
|
6254
6270
|
// eslint-disable-next-line no-nested-ternary
|
|
6255
6271
|
s === !0 ? renderKey([y], E, i) : s === null ? y : y + "[]",
|
|
6256
|
-
u(
|
|
6272
|
+
u(g)
|
|
6257
6273
|
);
|
|
6258
6274
|
}), !1;
|
|
6259
6275
|
}
|
|
@@ -6264,7 +6280,7 @@ function toFormData(e, t, o) {
|
|
|
6264
6280
|
convertValue: u,
|
|
6265
6281
|
isVisitable
|
|
6266
6282
|
});
|
|
6267
|
-
function
|
|
6283
|
+
function _(C, y) {
|
|
6268
6284
|
if (!utils$1.isUndefined(C)) {
|
|
6269
6285
|
if (d.indexOf(C) !== -1)
|
|
6270
6286
|
throw Error("Circular reference detected in " + y.join("."));
|
|
@@ -6275,13 +6291,13 @@ function toFormData(e, t, o) {
|
|
|
6275
6291
|
utils$1.isString(f) ? f.trim() : f,
|
|
6276
6292
|
y,
|
|
6277
6293
|
m
|
|
6278
|
-
)) === !0 &&
|
|
6294
|
+
)) === !0 && _(p, y ? y.concat(f) : [f]);
|
|
6279
6295
|
}), d.pop();
|
|
6280
6296
|
}
|
|
6281
6297
|
}
|
|
6282
6298
|
if (!utils$1.isObject(e))
|
|
6283
6299
|
throw new TypeError("data must be an object");
|
|
6284
|
-
return
|
|
6300
|
+
return _(e), t;
|
|
6285
6301
|
}
|
|
6286
6302
|
function encode$1(e) {
|
|
6287
6303
|
const t = {
|
|
@@ -6753,8 +6769,8 @@ function speedometer(e, t) {
|
|
|
6753
6769
|
m += o[d++], d = d % e;
|
|
6754
6770
|
if (n = (n + 1) % e, n === i && (i = (i + 1) % e), u - s < t)
|
|
6755
6771
|
return;
|
|
6756
|
-
const
|
|
6757
|
-
return
|
|
6772
|
+
const _ = c && u - c;
|
|
6773
|
+
return _ ? Math.round(m * 1e3 / _) : void 0;
|
|
6758
6774
|
};
|
|
6759
6775
|
}
|
|
6760
6776
|
function throttle(e, t) {
|
|
@@ -6955,13 +6971,13 @@ const resolveConfig = (e) => {
|
|
|
6955
6971
|
function d() {
|
|
6956
6972
|
if (!c)
|
|
6957
6973
|
return;
|
|
6958
|
-
const
|
|
6974
|
+
const _ = AxiosHeaders$1.from(
|
|
6959
6975
|
"getAllResponseHeaders" in c && c.getAllResponseHeaders()
|
|
6960
6976
|
), y = {
|
|
6961
6977
|
data: !l || l === "text" || l === "json" ? c.responseText : c.response,
|
|
6962
6978
|
status: c.status,
|
|
6963
6979
|
statusText: c.statusText,
|
|
6964
|
-
headers:
|
|
6980
|
+
headers: _,
|
|
6965
6981
|
config: e,
|
|
6966
6982
|
request: c
|
|
6967
6983
|
};
|
|
@@ -6988,8 +7004,8 @@ const resolveConfig = (e) => {
|
|
|
6988
7004
|
)), c = null;
|
|
6989
7005
|
}, i === void 0 && s.setContentType(null), "setRequestHeader" in c && utils$1.forEach(s.toJSON(), function(C, y) {
|
|
6990
7006
|
c.setRequestHeader(y, C);
|
|
6991
|
-
}), utils$1.isUndefined(n.withCredentials) || (c.withCredentials = !!n.withCredentials), l && l !== "json" && (c.responseType = n.responseType), typeof n.onDownloadProgress == "function" && c.addEventListener("progress", progressEventReducer(n.onDownloadProgress, !0)), typeof n.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", progressEventReducer(n.onUploadProgress)), (n.cancelToken || n.signal) && (a = (
|
|
6992
|
-
c && (r(!
|
|
7007
|
+
}), utils$1.isUndefined(n.withCredentials) || (c.withCredentials = !!n.withCredentials), l && l !== "json" && (c.responseType = n.responseType), typeof n.onDownloadProgress == "function" && c.addEventListener("progress", progressEventReducer(n.onDownloadProgress, !0)), typeof n.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", progressEventReducer(n.onUploadProgress)), (n.cancelToken || n.signal) && (a = (_) => {
|
|
7008
|
+
c && (r(!_ || _.type ? new CanceledError(null, e, c) : _), c.abort(), c = null);
|
|
6993
7009
|
}, n.cancelToken && n.cancelToken.subscribe(a), n.signal && (n.signal.aborted ? a() : n.signal.addEventListener("abort", a)));
|
|
6994
7010
|
const m = parseProtocol(n.url);
|
|
6995
7011
|
if (m && platform.protocols.indexOf(m) === -1) {
|
|
@@ -7114,10 +7130,10 @@ const getBodyLength = async (e) => {
|
|
|
7114
7130
|
fetchOptions: m
|
|
7115
7131
|
} = resolveConfig(e);
|
|
7116
7132
|
u = u ? (u + "").toLowerCase() : "text";
|
|
7117
|
-
let [
|
|
7133
|
+
let [_, C] = n || i || s ? composeSignals$1([n, i], s) : [], y, v;
|
|
7118
7134
|
const p = () => {
|
|
7119
7135
|
!y && setTimeout(() => {
|
|
7120
|
-
|
|
7136
|
+
_ && _.unsubscribe();
|
|
7121
7137
|
}), y = !0;
|
|
7122
7138
|
};
|
|
7123
7139
|
let f;
|
|
@@ -7135,23 +7151,23 @@ const getBodyLength = async (e) => {
|
|
|
7135
7151
|
}
|
|
7136
7152
|
utils$1.isString(d) || (d = d ? "cors" : "omit"), v = new Request(t, {
|
|
7137
7153
|
...m,
|
|
7138
|
-
signal:
|
|
7154
|
+
signal: _,
|
|
7139
7155
|
method: o.toUpperCase(),
|
|
7140
7156
|
headers: c.normalize().toJSON(),
|
|
7141
7157
|
body: r,
|
|
7142
7158
|
duplex: "half",
|
|
7143
7159
|
withCredentials: d
|
|
7144
7160
|
});
|
|
7145
|
-
let
|
|
7161
|
+
let g = await fetch(v);
|
|
7146
7162
|
const E = supportsResponseStream && (u === "stream" || u === "response");
|
|
7147
7163
|
if (supportsResponseStream && (l || E)) {
|
|
7148
7164
|
const P = {};
|
|
7149
7165
|
["status", "statusText", "headers"].forEach((D) => {
|
|
7150
|
-
P[D] =
|
|
7166
|
+
P[D] = g[D];
|
|
7151
7167
|
});
|
|
7152
|
-
const O = utils$1.toFiniteNumber(
|
|
7153
|
-
|
|
7154
|
-
trackStream(
|
|
7168
|
+
const O = utils$1.toFiniteNumber(g.headers.get("content-length"));
|
|
7169
|
+
g = new Response(
|
|
7170
|
+
trackStream(g.body, DEFAULT_CHUNK_SIZE, l && fetchProgressDecorator(
|
|
7155
7171
|
O,
|
|
7156
7172
|
progressEventReducer(l, !0)
|
|
7157
7173
|
), E && p, encodeText),
|
|
@@ -7159,24 +7175,24 @@ const getBodyLength = async (e) => {
|
|
|
7159
7175
|
);
|
|
7160
7176
|
}
|
|
7161
7177
|
u = u || "text";
|
|
7162
|
-
let k = await resolvers[utils$1.findKey(resolvers, u) || "text"](
|
|
7178
|
+
let k = await resolvers[utils$1.findKey(resolvers, u) || "text"](g, e);
|
|
7163
7179
|
return !E && p(), C && C(), await new Promise((P, O) => {
|
|
7164
7180
|
settle(P, O, {
|
|
7165
7181
|
data: k,
|
|
7166
|
-
headers: AxiosHeaders$1.from(
|
|
7167
|
-
status:
|
|
7168
|
-
statusText:
|
|
7182
|
+
headers: AxiosHeaders$1.from(g.headers),
|
|
7183
|
+
status: g.status,
|
|
7184
|
+
statusText: g.statusText,
|
|
7169
7185
|
config: e,
|
|
7170
7186
|
request: v
|
|
7171
7187
|
});
|
|
7172
7188
|
});
|
|
7173
|
-
} catch (
|
|
7174
|
-
throw p(),
|
|
7189
|
+
} catch (g) {
|
|
7190
|
+
throw p(), g && g.name === "TypeError" && /fetch/i.test(g.message) ? Object.assign(
|
|
7175
7191
|
new AxiosError("Network Error", AxiosError.ERR_NETWORK, e, v),
|
|
7176
7192
|
{
|
|
7177
|
-
cause:
|
|
7193
|
+
cause: g.cause || g
|
|
7178
7194
|
}
|
|
7179
|
-
) : AxiosError.from(
|
|
7195
|
+
) : AxiosError.from(g, g && g.code, e, v);
|
|
7180
7196
|
}
|
|
7181
7197
|
}), knownAdapters = {
|
|
7182
7198
|
http: httpAdapter,
|
|
@@ -7363,18 +7379,18 @@ class Axios {
|
|
|
7363
7379
|
return c;
|
|
7364
7380
|
}
|
|
7365
7381
|
m = l.length;
|
|
7366
|
-
let
|
|
7382
|
+
let _ = o;
|
|
7367
7383
|
for (d = 0; d < m; ) {
|
|
7368
7384
|
const C = l[d++], y = l[d++];
|
|
7369
7385
|
try {
|
|
7370
|
-
|
|
7386
|
+
_ = C(_);
|
|
7371
7387
|
} catch (v) {
|
|
7372
7388
|
y.call(this, v);
|
|
7373
7389
|
break;
|
|
7374
7390
|
}
|
|
7375
7391
|
}
|
|
7376
7392
|
try {
|
|
7377
|
-
c = dispatchRequest.call(this,
|
|
7393
|
+
c = dispatchRequest.call(this, _);
|
|
7378
7394
|
} catch (C) {
|
|
7379
7395
|
return Promise.reject(C);
|
|
7380
7396
|
}
|
|
@@ -7637,8 +7653,8 @@ function useEventListener(...e) {
|
|
|
7637
7653
|
Array.isArray(o) || (o = [o]), Array.isArray(r) || (r = [r]);
|
|
7638
7654
|
const i = [], s = () => {
|
|
7639
7655
|
i.forEach((c) => c()), i.length = 0;
|
|
7640
|
-
}, l = (c, d, m,
|
|
7641
|
-
s(), c && i.push(...o.flatMap((m) => r.map((
|
|
7656
|
+
}, l = (c, d, m, _) => (c.addEventListener(d, m, _), () => c.removeEventListener(d, m, _)), a = watch(() => [unrefElement(t), resolveUnref(n)], ([c, d]) => {
|
|
7657
|
+
s(), c && i.push(...o.flatMap((m) => r.map((_) => l(c, m, _, d))));
|
|
7642
7658
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
7643
7659
|
a(), s();
|
|
7644
7660
|
};
|
|
@@ -8247,7 +8263,7 @@ const epPropKey = "__epPropKey", definePropType = (e) => e, isEpProp = (e) => is
|
|
|
8247
8263
|
validator: o || s ? (u) => {
|
|
8248
8264
|
let c = !1, d = [];
|
|
8249
8265
|
if (o && (d = Array.from(o), hasOwn(e, "default") && d.push(n), c || (c = d.includes(u))), s && (c || (c = s(u))), !c && d.length > 0) {
|
|
8250
|
-
const m = [...new Set(d)].map((
|
|
8266
|
+
const m = [...new Set(d)].map((_) => JSON.stringify(_)).join(", ");
|
|
8251
8267
|
warn$2(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${m}], got value ${JSON.stringify(u)}.`);
|
|
8252
8268
|
}
|
|
8253
8269
|
return c;
|
|
@@ -8812,9 +8828,9 @@ var AsyncValidationError = /* @__PURE__ */ function(e) {
|
|
|
8812
8828
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
8813
8829
|
function asyncMap(e, t, o, r, n) {
|
|
8814
8830
|
if (t.first) {
|
|
8815
|
-
var i = new Promise(function(m,
|
|
8831
|
+
var i = new Promise(function(m, _) {
|
|
8816
8832
|
var C = function(p) {
|
|
8817
|
-
return r(p), p.length ?
|
|
8833
|
+
return r(p), p.length ? _(new AsyncValidationError(p, convertFieldsError(p))) : m(n);
|
|
8818
8834
|
}, y = flattenObjArr(e);
|
|
8819
8835
|
asyncSerialArray(y, o, C);
|
|
8820
8836
|
});
|
|
@@ -8822,10 +8838,10 @@ function asyncMap(e, t, o, r, n) {
|
|
|
8822
8838
|
return m;
|
|
8823
8839
|
}), i;
|
|
8824
8840
|
}
|
|
8825
|
-
var s = t.firstFields === !0 ? Object.keys(e) : t.firstFields || [], l = Object.keys(e), a = l.length, u = 0, c = [], d = new Promise(function(m,
|
|
8841
|
+
var s = t.firstFields === !0 ? Object.keys(e) : t.firstFields || [], l = Object.keys(e), a = l.length, u = 0, c = [], d = new Promise(function(m, _) {
|
|
8826
8842
|
var C = function(v) {
|
|
8827
8843
|
if (c.push.apply(c, v), u++, u === a)
|
|
8828
|
-
return r(c), c.length ?
|
|
8844
|
+
return r(c), c.length ? _(new AsyncValidationError(c, convertFieldsError(c))) : m(n);
|
|
8829
8845
|
};
|
|
8830
8846
|
l.length || (r(c), m(n)), l.forEach(function(y) {
|
|
8831
8847
|
var v = e[y];
|
|
@@ -8890,12 +8906,12 @@ var required$1 = function e(t, o, r, n, i, s) {
|
|
|
8890
8906
|
`).replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim(), i = new RegExp("(?:^" + o + "$)|(?:^" + n + "$)"), s = new RegExp("^" + o + "$"), l = new RegExp("^" + n + "$"), a = function(E) {
|
|
8891
8907
|
return E && E.exact ? i : new RegExp("(?:" + t(E) + o + t(E) + ")|(?:" + t(E) + n + t(E) + ")", "g");
|
|
8892
8908
|
};
|
|
8893
|
-
a.v4 = function(
|
|
8894
|
-
return
|
|
8895
|
-
}, a.v6 = function(
|
|
8896
|
-
return
|
|
8909
|
+
a.v4 = function(g) {
|
|
8910
|
+
return g && g.exact ? s : new RegExp("" + t(g) + o + t(g), "g");
|
|
8911
|
+
}, a.v6 = function(g) {
|
|
8912
|
+
return g && g.exact ? l : new RegExp("" + t(g) + n + t(g), "g");
|
|
8897
8913
|
};
|
|
8898
|
-
var u = "(?:(?:[a-z]+:)?//)", c = "(?:\\S+(?::\\S*)?@)?", d = a.v4().source, m = a.v6().source,
|
|
8914
|
+
var u = "(?:(?:[a-z]+:)?//)", c = "(?:\\S+(?::\\S*)?@)?", d = a.v4().source, m = a.v6().source, _ = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", C = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", y = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", v = "(?::\\d{2,5})?", p = '(?:[/?#][^\\s"]*)?', f = "(?:" + u + "|www\\.)" + c + "(?:localhost|" + d + "|" + m + "|" + _ + C + y + ")" + v + p;
|
|
8899
8915
|
return urlReg = new RegExp("(?:^" + f + "$)", "i"), urlReg;
|
|
8900
8916
|
}, pattern$2 = {
|
|
8901
8917
|
// http://emailregex.com/
|
|
@@ -8953,10 +8969,10 @@ var required$1 = function e(t, o, r, n, i, s) {
|
|
|
8953
8969
|
var s = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], l = t.type;
|
|
8954
8970
|
s.indexOf(l) > -1 ? types[l](o) || n.push(format(i.messages.types[l], t.fullField, t.type)) : l && typeof o !== t.type && n.push(format(i.messages.types[l], t.fullField, t.type));
|
|
8955
8971
|
}, range = function e(t, o, r, n, i) {
|
|
8956
|
-
var s = typeof t.len == "number", l = typeof t.min == "number", a = typeof t.max == "number", u = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, c = o, d = null, m = typeof o == "number",
|
|
8957
|
-
if (m ? d = "number" :
|
|
8972
|
+
var s = typeof t.len == "number", l = typeof t.min == "number", a = typeof t.max == "number", u = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, c = o, d = null, m = typeof o == "number", _ = typeof o == "string", C = Array.isArray(o);
|
|
8973
|
+
if (m ? d = "number" : _ ? d = "string" : C && (d = "array"), !d)
|
|
8958
8974
|
return !1;
|
|
8959
|
-
C && (c = o.length),
|
|
8975
|
+
C && (c = o.length), _ && (c = o.replace(u, "_").length), s ? c !== t.len && n.push(format(i.messages[d].len, t.fullField, t.len)) : l && !a && c < t.min ? n.push(format(i.messages[d].min, t.fullField, t.min)) : a && !l && c > t.max ? n.push(format(i.messages[d].max, t.fullField, t.max)) : l && a && (c < t.min || c > t.max) && n.push(format(i.messages[d].range, t.fullField, t.min, t.max));
|
|
8960
8976
|
}, ENUM$1 = "enum", enumerable$1 = function e(t, o, r, n, i) {
|
|
8961
8977
|
t[ENUM$1] = Array.isArray(t[ENUM$1]) ? t[ENUM$1] : [], t[ENUM$1].indexOf(o) === -1 && n.push(format(i.messages[ENUM$1], t.fullField, t[ENUM$1].join(", ")));
|
|
8962
8978
|
}, pattern$1 = function e(t, o, r, n, i) {
|
|
@@ -9198,8 +9214,8 @@ var messages$1 = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
9198
9214
|
} else
|
|
9199
9215
|
v.push(E);
|
|
9200
9216
|
}
|
|
9201
|
-
for (var
|
|
9202
|
-
f(y[
|
|
9217
|
+
for (var g = 0; g < y.length; g++)
|
|
9218
|
+
f(y[g]);
|
|
9203
9219
|
v.length ? (p = convertFieldsError(v), u(v, p)) : u(null, l);
|
|
9204
9220
|
}
|
|
9205
9221
|
if (a.messages) {
|
|
@@ -9207,15 +9223,15 @@ var messages$1 = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
9207
9223
|
d === messages$1 && (d = newMessages()), deepMerge(d, a.messages), a.messages = d;
|
|
9208
9224
|
} else
|
|
9209
9225
|
a.messages = this.messages();
|
|
9210
|
-
var m = {},
|
|
9211
|
-
|
|
9226
|
+
var m = {}, _ = a.keys || Object.keys(this.rules);
|
|
9227
|
+
_.forEach(function(y) {
|
|
9212
9228
|
var v = s.rules[y], p = l[y];
|
|
9213
9229
|
v.forEach(function(f) {
|
|
9214
|
-
var
|
|
9215
|
-
typeof
|
|
9216
|
-
validator:
|
|
9217
|
-
} :
|
|
9218
|
-
rule:
|
|
9230
|
+
var g = f;
|
|
9231
|
+
typeof g.transform == "function" && (l === r && (l = _extends({}, l)), p = l[y] = g.transform(p)), typeof g == "function" ? g = {
|
|
9232
|
+
validator: g
|
|
9233
|
+
} : g = _extends({}, g), g.validator = s.getValidationMethod(g), g.validator && (g.field = y, g.fullField = g.fullField || y, g.type = s.getType(g), m[y] = m[y] || [], m[y].push({
|
|
9234
|
+
rule: g,
|
|
9219
9235
|
value: p,
|
|
9220
9236
|
source: l,
|
|
9221
9237
|
field: y
|
|
@@ -9226,7 +9242,7 @@ var messages$1 = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
9226
9242
|
return asyncMap(m, a, function(y, v) {
|
|
9227
9243
|
var p = y.rule, f = (p.type === "object" || p.type === "array") && (typeof p.fields == "object" || typeof p.defaultField == "object");
|
|
9228
9244
|
f = f && (p.required || !p.required && y.value), p.field = y.field;
|
|
9229
|
-
function
|
|
9245
|
+
function g(P, O) {
|
|
9230
9246
|
return _extends({}, O, {
|
|
9231
9247
|
fullField: p.fullField + "." + P,
|
|
9232
9248
|
fullFields: p.fullFields ? [].concat(p.fullFields, [P]) : [P]
|
|
@@ -9251,7 +9267,7 @@ var messages$1 = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
9251
9267
|
var B = {};
|
|
9252
9268
|
Object.keys(S).forEach(function(L) {
|
|
9253
9269
|
var G = S[L], ne = Array.isArray(G) ? G : [G];
|
|
9254
|
-
B[L] = ne.map(
|
|
9270
|
+
B[L] = ne.map(g.bind(null, L));
|
|
9255
9271
|
});
|
|
9256
9272
|
var H = new e(B);
|
|
9257
9273
|
H.messages(a.messages), y.rule.options && (y.rule.options.messages = a.messages, y.rule.options.error = a.error), H.validate(y.value, y.rule.options || a, function(L) {
|
|
@@ -9474,14 +9490,14 @@ const messageTypes = ["success", "info", "warning", "error"], messageDefaults =
|
|
|
9474
9490
|
setup(e, { expose: t }) {
|
|
9475
9491
|
const o = e, { Close: r } = TypeComponents, { ns: n, zIndex: i } = useGlobalComponentSettings("message"), { currentZIndex: s, nextZIndex: l } = i, a = ref(), u = ref(!1), c = ref(0);
|
|
9476
9492
|
let d;
|
|
9477
|
-
const m = computed(() => o.type ? o.type === "error" ? "danger" : o.type : "info"),
|
|
9493
|
+
const m = computed(() => o.type ? o.type === "error" ? "danger" : o.type : "info"), _ = computed(() => {
|
|
9478
9494
|
const O = o.type;
|
|
9479
9495
|
return { [n.bm("icon", O)]: O && TypeComponentsMap[O] };
|
|
9480
9496
|
}), C = computed(() => o.icon || TypeComponentsMap[o.type] || ""), y = computed(() => getLastOffset(o.id)), v = computed(() => getOffsetOrSpace(o.id, o.offset) + y.value), p = computed(() => c.value + v.value), f = computed(() => ({
|
|
9481
9497
|
top: `${v.value}px`,
|
|
9482
9498
|
zIndex: s.value
|
|
9483
9499
|
}));
|
|
9484
|
-
function
|
|
9500
|
+
function g() {
|
|
9485
9501
|
o.duration !== 0 && ({ stop: d } = useTimeoutFn(() => {
|
|
9486
9502
|
k();
|
|
9487
9503
|
}, o.duration));
|
|
@@ -9496,9 +9512,9 @@ const messageTypes = ["success", "info", "warning", "error"], messageDefaults =
|
|
|
9496
9512
|
O === EVENT_CODE.esc && k();
|
|
9497
9513
|
}
|
|
9498
9514
|
return onMounted(() => {
|
|
9499
|
-
|
|
9515
|
+
g(), l(), u.value = !0;
|
|
9500
9516
|
}), watch(() => o.repeatNum, () => {
|
|
9501
|
-
E(),
|
|
9517
|
+
E(), g();
|
|
9502
9518
|
}), useEventListener(document, "keydown", P), useResizeObserver(a, () => {
|
|
9503
9519
|
c.value = a.value.getBoundingClientRect().height;
|
|
9504
9520
|
}), t({
|
|
@@ -9526,7 +9542,7 @@ const messageTypes = ["success", "info", "warning", "error"], messageDefaults =
|
|
|
9526
9542
|
style: normalizeStyle(unref(f)),
|
|
9527
9543
|
role: "alert",
|
|
9528
9544
|
onMouseenter: E,
|
|
9529
|
-
onMouseleave:
|
|
9545
|
+
onMouseleave: g
|
|
9530
9546
|
}, [
|
|
9531
9547
|
O.repeatNum > 1 ? (openBlock(), createBlock(unref(ElBadge), {
|
|
9532
9548
|
key: 0,
|
|
@@ -9536,7 +9552,7 @@ const messageTypes = ["success", "info", "warning", "error"], messageDefaults =
|
|
|
9536
9552
|
}, null, 8, ["value", "type", "class"])) : createCommentVNode("v-if", !0),
|
|
9537
9553
|
unref(C) ? (openBlock(), createBlock(unref(ElIcon), {
|
|
9538
9554
|
key: 1,
|
|
9539
|
-
class: normalizeClass([unref(n).e("icon"), unref(
|
|
9555
|
+
class: normalizeClass([unref(n).e("icon"), unref(_)])
|
|
9540
9556
|
}, {
|
|
9541
9557
|
default: withCtx(() => [
|
|
9542
9558
|
(openBlock(), createBlock(resolveDynamicComponent(unref(C))))
|
|
@@ -10191,16 +10207,16 @@ function createCurrentLocation(e, t) {
|
|
|
10191
10207
|
function useHistoryListeners(e, t, o, r) {
|
|
10192
10208
|
let n = [], i = [], s = null;
|
|
10193
10209
|
const l = ({ state: m }) => {
|
|
10194
|
-
const
|
|
10210
|
+
const _ = createCurrentLocation(e, location), C = o.value, y = t.value;
|
|
10195
10211
|
let v = 0;
|
|
10196
10212
|
if (m) {
|
|
10197
|
-
if (o.value =
|
|
10213
|
+
if (o.value = _, t.value = m, s && s === C) {
|
|
10198
10214
|
s = null;
|
|
10199
10215
|
return;
|
|
10200
10216
|
}
|
|
10201
10217
|
v = y ? m.position - y.position : 0;
|
|
10202
10218
|
} else
|
|
10203
|
-
r(
|
|
10219
|
+
r(_);
|
|
10204
10220
|
n.forEach((p) => {
|
|
10205
10221
|
p(o.value, C, {
|
|
10206
10222
|
delta: v,
|
|
@@ -10214,11 +10230,11 @@ function useHistoryListeners(e, t, o, r) {
|
|
|
10214
10230
|
}
|
|
10215
10231
|
function u(m) {
|
|
10216
10232
|
n.push(m);
|
|
10217
|
-
const
|
|
10233
|
+
const _ = () => {
|
|
10218
10234
|
const C = n.indexOf(m);
|
|
10219
10235
|
C > -1 && n.splice(C, 1);
|
|
10220
10236
|
};
|
|
10221
|
-
return i.push(
|
|
10237
|
+
return i.push(_), _;
|
|
10222
10238
|
}
|
|
10223
10239
|
function c() {
|
|
10224
10240
|
const { history: m } = window;
|
|
@@ -10266,8 +10282,8 @@ function useHistoryStateNavigation(e) {
|
|
|
10266
10282
|
const d = e.indexOf("#"), m = d > -1 ? (o.host && document.querySelector("base") ? e : e.slice(d)) + a : createBaseLocation() + e + a;
|
|
10267
10283
|
try {
|
|
10268
10284
|
t[c ? "replaceState" : "pushState"](u, "", m), n.value = u;
|
|
10269
|
-
} catch (
|
|
10270
|
-
process.env.NODE_ENV !== "production" ? warn("Error with push/replace State",
|
|
10285
|
+
} catch (_) {
|
|
10286
|
+
process.env.NODE_ENV !== "production" ? warn("Error with push/replace State", _) : console.error(_), o[c ? "replace" : "assign"](m);
|
|
10271
10287
|
}
|
|
10272
10288
|
}
|
|
10273
10289
|
function s(a, u) {
|
|
@@ -10415,9 +10431,9 @@ function tokensToParser(e, t) {
|
|
|
10415
10431
|
o.strict && !u.length && (n += "/");
|
|
10416
10432
|
for (let d = 0; d < u.length; d++) {
|
|
10417
10433
|
const m = u[d];
|
|
10418
|
-
let
|
|
10434
|
+
let _ = 40 + (o.sensitive ? 0.25 : 0);
|
|
10419
10435
|
if (m.type === 0)
|
|
10420
|
-
d || (n += "/"), n += m.value.replace(REGEX_CHARS_RE, "\\$&"),
|
|
10436
|
+
d || (n += "/"), n += m.value.replace(REGEX_CHARS_RE, "\\$&"), _ += 40;
|
|
10421
10437
|
else if (m.type === 1) {
|
|
10422
10438
|
const { value: C, repeatable: y, optional: v, regexp: p } = m;
|
|
10423
10439
|
i.push({
|
|
@@ -10427,19 +10443,19 @@ function tokensToParser(e, t) {
|
|
|
10427
10443
|
});
|
|
10428
10444
|
const f = p || BASE_PARAM_PATTERN;
|
|
10429
10445
|
if (f !== BASE_PARAM_PATTERN) {
|
|
10430
|
-
|
|
10446
|
+
_ += 10;
|
|
10431
10447
|
try {
|
|
10432
10448
|
new RegExp(`(${f})`);
|
|
10433
10449
|
} catch (E) {
|
|
10434
10450
|
throw new Error(`Invalid custom RegExp for param "${C}" (${f}): ` + E.message);
|
|
10435
10451
|
}
|
|
10436
10452
|
}
|
|
10437
|
-
let
|
|
10438
|
-
d || (
|
|
10453
|
+
let g = y ? `((?:${f})(?:/(?:${f}))*)` : `(${f})`;
|
|
10454
|
+
d || (g = // avoid an optional / if there are more segments e.g. /:p?-static
|
|
10439
10455
|
// or /:p?-:p2
|
|
10440
|
-
v && u.length < 2 ? `(?:/${
|
|
10456
|
+
v && u.length < 2 ? `(?:/${g})` : "/" + g), v && (g += "?"), n += g, _ += 20, v && (_ += -8), y && (_ += -20), f === ".*" && (_ += -50);
|
|
10441
10457
|
}
|
|
10442
|
-
c.push(
|
|
10458
|
+
c.push(_);
|
|
10443
10459
|
}
|
|
10444
10460
|
r.push(c);
|
|
10445
10461
|
}
|
|
@@ -10454,8 +10470,8 @@ function tokensToParser(e, t) {
|
|
|
10454
10470
|
if (!c)
|
|
10455
10471
|
return null;
|
|
10456
10472
|
for (let m = 1; m < c.length; m++) {
|
|
10457
|
-
const
|
|
10458
|
-
d[C.name] =
|
|
10473
|
+
const _ = c[m] || "", C = i[m - 1];
|
|
10474
|
+
d[C.name] = _ && C.repeatable ? _.split("/") : _;
|
|
10459
10475
|
}
|
|
10460
10476
|
return d;
|
|
10461
10477
|
}
|
|
@@ -10463,11 +10479,11 @@ function tokensToParser(e, t) {
|
|
|
10463
10479
|
let c = "", d = !1;
|
|
10464
10480
|
for (const m of e) {
|
|
10465
10481
|
(!d || !c.endsWith("/")) && (c += "/"), d = !1;
|
|
10466
|
-
for (const
|
|
10467
|
-
if (
|
|
10468
|
-
c +=
|
|
10469
|
-
else if (
|
|
10470
|
-
const { value: C, repeatable: y, optional: v } =
|
|
10482
|
+
for (const _ of m)
|
|
10483
|
+
if (_.type === 0)
|
|
10484
|
+
c += _.value;
|
|
10485
|
+
else if (_.type === 1) {
|
|
10486
|
+
const { value: C, repeatable: y, optional: v } = _, p = C in u ? u[C] : "";
|
|
10471
10487
|
if (isArray$3(p) && !y)
|
|
10472
10488
|
throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);
|
|
10473
10489
|
const f = isArray$3(p) ? p.join("/") : p;
|
|
@@ -10531,8 +10547,8 @@ function tokenizePath(e) {
|
|
|
10531
10547
|
return [[ROOT_TOKEN]];
|
|
10532
10548
|
if (!e.startsWith("/"))
|
|
10533
10549
|
throw new Error(process.env.NODE_ENV !== "production" ? `Route paths should start with a "/": "${e}" should be "/${e}".` : `Invalid path "${e}"`);
|
|
10534
|
-
function t(
|
|
10535
|
-
throw new Error(`ERR (${o})/"${u}": ${
|
|
10550
|
+
function t(_) {
|
|
10551
|
+
throw new Error(`ERR (${o})/"${u}": ${_}`);
|
|
10536
10552
|
}
|
|
10537
10553
|
let o = 0, r = o;
|
|
10538
10554
|
const n = [];
|
|
@@ -10607,14 +10623,14 @@ function createRouterMatcher(e, t) {
|
|
|
10607
10623
|
return r.get(c);
|
|
10608
10624
|
}
|
|
10609
10625
|
function i(c, d, m) {
|
|
10610
|
-
const
|
|
10626
|
+
const _ = !m, C = normalizeRouteRecord(c);
|
|
10611
10627
|
process.env.NODE_ENV !== "production" && checkChildMissingNameWithEmptyPath(C, d), C.aliasOf = m && m.record;
|
|
10612
10628
|
const y = mergeOptions(t, c), v = [
|
|
10613
10629
|
C
|
|
10614
10630
|
];
|
|
10615
10631
|
if ("alias" in c) {
|
|
10616
|
-
const
|
|
10617
|
-
for (const E of
|
|
10632
|
+
const g = typeof c.alias == "string" ? [c.alias] : c.alias;
|
|
10633
|
+
for (const E of g)
|
|
10618
10634
|
v.push(assign({}, C, {
|
|
10619
10635
|
// this allows us to hold a copy of the `components` option
|
|
10620
10636
|
// so that async components cache is hold on the original record
|
|
@@ -10627,16 +10643,16 @@ function createRouterMatcher(e, t) {
|
|
|
10627
10643
|
}));
|
|
10628
10644
|
}
|
|
10629
10645
|
let p, f;
|
|
10630
|
-
for (const
|
|
10631
|
-
const { path: E } =
|
|
10646
|
+
for (const g of v) {
|
|
10647
|
+
const { path: E } = g;
|
|
10632
10648
|
if (d && E[0] !== "/") {
|
|
10633
10649
|
const k = d.record.path, P = k[k.length - 1] === "/" ? "" : "/";
|
|
10634
|
-
|
|
10650
|
+
g.path = d.record.path + (E && P + E);
|
|
10635
10651
|
}
|
|
10636
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
10652
|
+
if (process.env.NODE_ENV !== "production" && g.path === "*")
|
|
10637
10653
|
throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
|
|
10638
10654
|
See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.`);
|
|
10639
|
-
if (p = createRouteRecordMatcher(
|
|
10655
|
+
if (p = createRouteRecordMatcher(g, d, y), process.env.NODE_ENV !== "production" && d && E[0] === "/" && checkMissingParamsInAbsolutePath(p, d), m ? (m.alias.push(p), process.env.NODE_ENV !== "production" && checkSameParams(m, p)) : (f = f || p, f !== p && f.alias.push(p), _ && c.name && !isAliasRecord(p) && s(c.name)), C.children) {
|
|
10640
10656
|
const k = C.children;
|
|
10641
10657
|
for (let P = 0; P < k.length; P++)
|
|
10642
10658
|
i(k[P], p, m && m.children[P]);
|
|
@@ -10668,17 +10684,17 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
10668
10684
|
o.splice(d, 0, c), c.record.name && !isAliasRecord(c) && r.set(c.record.name, c);
|
|
10669
10685
|
}
|
|
10670
10686
|
function u(c, d) {
|
|
10671
|
-
let m,
|
|
10687
|
+
let m, _ = {}, C, y;
|
|
10672
10688
|
if ("name" in c && c.name) {
|
|
10673
10689
|
if (m = r.get(c.name), !m)
|
|
10674
10690
|
throw createRouterError(1, {
|
|
10675
10691
|
location: c
|
|
10676
10692
|
});
|
|
10677
10693
|
if (process.env.NODE_ENV !== "production") {
|
|
10678
|
-
const f = Object.keys(c.params || {}).filter((
|
|
10694
|
+
const f = Object.keys(c.params || {}).filter((g) => !m.keys.find((E) => E.name === g));
|
|
10679
10695
|
f.length && warn(`Discarded invalid param(s) "${f.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
|
|
10680
10696
|
}
|
|
10681
|
-
y = m.record.name,
|
|
10697
|
+
y = m.record.name, _ = assign(
|
|
10682
10698
|
// paramsFromLocation is a new object
|
|
10683
10699
|
paramsFromLocation(
|
|
10684
10700
|
d.params,
|
|
@@ -10689,16 +10705,16 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
10689
10705
|
// discard any existing params in the current location that do not exist here
|
|
10690
10706
|
// #1497 this ensures better active/exact matching
|
|
10691
10707
|
c.params && paramsFromLocation(c.params, m.keys.map((f) => f.name))
|
|
10692
|
-
), C = m.stringify(
|
|
10708
|
+
), C = m.stringify(_);
|
|
10693
10709
|
} else if ("path" in c)
|
|
10694
|
-
C = c.path, process.env.NODE_ENV !== "production" && !C.startsWith("/") && warn(`The Matcher cannot resolve relative paths but received "${C}". Unless you directly called \`matcher.resolve("${C}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`), m = o.find((f) => f.re.test(C)), m && (
|
|
10710
|
+
C = c.path, process.env.NODE_ENV !== "production" && !C.startsWith("/") && warn(`The Matcher cannot resolve relative paths but received "${C}". Unless you directly called \`matcher.resolve("${C}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`), m = o.find((f) => f.re.test(C)), m && (_ = m.parse(C), y = m.record.name);
|
|
10695
10711
|
else {
|
|
10696
10712
|
if (m = d.name ? r.get(d.name) : o.find((f) => f.re.test(d.path)), !m)
|
|
10697
10713
|
throw createRouterError(1, {
|
|
10698
10714
|
location: c,
|
|
10699
10715
|
currentLocation: d
|
|
10700
10716
|
});
|
|
10701
|
-
y = m.record.name,
|
|
10717
|
+
y = m.record.name, _ = assign({}, d.params, c.params), C = m.stringify(_);
|
|
10702
10718
|
}
|
|
10703
10719
|
const v = [];
|
|
10704
10720
|
let p = m;
|
|
@@ -10707,7 +10723,7 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
10707
10723
|
return {
|
|
10708
10724
|
name: y,
|
|
10709
10725
|
path: C,
|
|
10710
|
-
params:
|
|
10726
|
+
params: _,
|
|
10711
10727
|
matched: v,
|
|
10712
10728
|
meta: mergeMetaFields(v)
|
|
10713
10729
|
};
|
|
@@ -10949,14 +10965,14 @@ function useLink(e) {
|
|
|
10949
10965
|
const m = d.findIndex(isSameRouteRecord.bind(null, c));
|
|
10950
10966
|
if (m > -1)
|
|
10951
10967
|
return m;
|
|
10952
|
-
const
|
|
10968
|
+
const _ = getOriginalPath(a[u - 2]);
|
|
10953
10969
|
return (
|
|
10954
10970
|
// we are dealing with nested routes
|
|
10955
10971
|
u > 1 && // if the parent and matched route have the same path, this link is
|
|
10956
10972
|
// referring to the empty child. Or we currently are on a different
|
|
10957
10973
|
// child of the same parent
|
|
10958
|
-
getOriginalPath(c) ===
|
|
10959
|
-
d[d.length - 1].path !==
|
|
10974
|
+
getOriginalPath(c) === _ && // avoid comparing the child with its parent
|
|
10975
|
+
d[d.length - 1].path !== _ ? d.findIndex(isSameRouteRecord.bind(null, a[u - 2])) : m
|
|
10960
10976
|
);
|
|
10961
10977
|
}), i = computed(() => n.value > -1 && includesParams(o.params, r.value.params)), s = computed(() => n.value > -1 && n.value === o.matched.length - 1 && isSameRouteLocationParams(o.params, r.value.params));
|
|
10962
10978
|
function l(a = {}) {
|
|
@@ -11078,15 +11094,15 @@ const getLinkClass = (e, t, o) => e ?? t ?? o, RouterViewImpl = /* @__PURE__ */
|
|
|
11078
11094
|
}), l = computed(() => n.value.matched[s.value]);
|
|
11079
11095
|
provide(viewDepthKey, computed(() => s.value + 1)), provide(matchedRouteKey, l), provide(routerViewLocationKey, n);
|
|
11080
11096
|
const a = ref();
|
|
11081
|
-
return watch(() => [a.value, l.value, e.name], ([u, c, d], [m,
|
|
11082
|
-
c && (c.instances[d] = u,
|
|
11097
|
+
return watch(() => [a.value, l.value, e.name], ([u, c, d], [m, _, C]) => {
|
|
11098
|
+
c && (c.instances[d] = u, _ && _ !== c && u && u === m && (c.leaveGuards.size || (c.leaveGuards = _.leaveGuards), c.updateGuards.size || (c.updateGuards = _.updateGuards))), u && c && // if there is no instance but to and from are the same this might be
|
|
11083
11099
|
// the first visit
|
|
11084
|
-
(!
|
|
11100
|
+
(!_ || !isSameRouteRecord(c, _) || !m) && (c.enterCallbacks[d] || []).forEach((y) => y(u));
|
|
11085
11101
|
}, { flush: "post" }), () => {
|
|
11086
11102
|
const u = n.value, c = e.name, d = l.value, m = d && d.components[c];
|
|
11087
11103
|
if (!m)
|
|
11088
11104
|
return normalizeSlot(o.default, { Component: m, route: u });
|
|
11089
|
-
const
|
|
11105
|
+
const _ = d.props[c], C = _ ? _ === !0 ? u.params : typeof _ == "function" ? _(u) : _ : null, v = h(m, assign({}, C, t, {
|
|
11090
11106
|
onVnodeUnmounted: (p) => {
|
|
11091
11107
|
p.component.isUnmounted && (d.instances[c] = null);
|
|
11092
11108
|
},
|
|
@@ -11099,8 +11115,8 @@ const getLinkClass = (e, t, o) => e ?? t ?? o, RouterViewImpl = /* @__PURE__ */
|
|
|
11099
11115
|
path: d.path,
|
|
11100
11116
|
meta: d.meta
|
|
11101
11117
|
};
|
|
11102
|
-
(isArray$3(v.ref) ? v.ref.map((
|
|
11103
|
-
|
|
11118
|
+
(isArray$3(v.ref) ? v.ref.map((g) => g.i) : [v.ref.i]).forEach((g) => {
|
|
11119
|
+
g.__vrv_devtools = p;
|
|
11104
11120
|
});
|
|
11105
11121
|
}
|
|
11106
11122
|
return (
|
|
@@ -11187,12 +11203,12 @@ function addDevtools(e, t, o) {
|
|
|
11187
11203
|
});
|
|
11188
11204
|
}
|
|
11189
11205
|
isArray$3(d.__vrl_devtools) && (d.__devtoolsApi = n, d.__vrl_devtools.forEach((m) => {
|
|
11190
|
-
let
|
|
11191
|
-
m.isExactActive ? (
|
|
11206
|
+
let _ = ORANGE_400, C = "";
|
|
11207
|
+
m.isExactActive ? (_ = LIME_500, C = "This is exactly active") : m.isActive && (_ = BLUE_600, C = "This link is active"), c.tags.push({
|
|
11192
11208
|
label: m.route.path,
|
|
11193
11209
|
textColor: 0,
|
|
11194
11210
|
tooltip: C,
|
|
11195
|
-
backgroundColor:
|
|
11211
|
+
backgroundColor: _
|
|
11196
11212
|
});
|
|
11197
11213
|
}));
|
|
11198
11214
|
}), watch(t.currentRoute, () => {
|
|
@@ -11236,10 +11252,10 @@ function addDevtools(e, t, o) {
|
|
|
11236
11252
|
}
|
|
11237
11253
|
});
|
|
11238
11254
|
}), t.afterEach((c, d, m) => {
|
|
11239
|
-
const
|
|
11255
|
+
const _ = {
|
|
11240
11256
|
guard: formatDisplay("afterEach")
|
|
11241
11257
|
};
|
|
11242
|
-
m ? (
|
|
11258
|
+
m ? (_.failure = {
|
|
11243
11259
|
_custom: {
|
|
11244
11260
|
type: Error,
|
|
11245
11261
|
readOnly: !0,
|
|
@@ -11247,13 +11263,13 @@ function addDevtools(e, t, o) {
|
|
|
11247
11263
|
tooltip: "Navigation Failure",
|
|
11248
11264
|
value: m
|
|
11249
11265
|
}
|
|
11250
|
-
},
|
|
11266
|
+
}, _.status = formatDisplay("❌")) : _.status = formatDisplay("✅"), _.from = formatRouteLocation(d, "Current Location during this navigation"), _.to = formatRouteLocation(c, "Target location"), n.addTimelineEvent({
|
|
11251
11267
|
layerId: i,
|
|
11252
11268
|
event: {
|
|
11253
11269
|
title: "End of navigation",
|
|
11254
11270
|
subtitle: c.fullPath,
|
|
11255
11271
|
time: n.now(),
|
|
11256
|
-
data:
|
|
11272
|
+
data: _,
|
|
11257
11273
|
logType: m ? "warning" : "default",
|
|
11258
11274
|
groupId: c.meta.__navigationId
|
|
11259
11275
|
}
|
|
@@ -11283,7 +11299,7 @@ function addDevtools(e, t, o) {
|
|
|
11283
11299
|
u = c, c.app === e && c.inspectorId === l && a();
|
|
11284
11300
|
}), n.on.getInspectorState((c) => {
|
|
11285
11301
|
if (c.app === e && c.inspectorId === l) {
|
|
11286
|
-
const m = o.getRoutes().find((
|
|
11302
|
+
const m = o.getRoutes().find((_) => _.record.__vd_id === c.nodeId);
|
|
11287
11303
|
m && (c.state = {
|
|
11288
11304
|
options: formatRouteRecordMatcherForStateInspector(m)
|
|
11289
11305
|
});
|
|
@@ -11411,13 +11427,13 @@ function createRouter(e) {
|
|
|
11411
11427
|
// @ts-expect-error: intentionally avoid the type check
|
|
11412
11428
|
applyToParams.bind(null, decode)
|
|
11413
11429
|
);
|
|
11414
|
-
function
|
|
11430
|
+
function _(b, w) {
|
|
11415
11431
|
let $, V;
|
|
11416
|
-
return isRouteName(b) ? ($ = t.getRecordMatcher(b), V =
|
|
11432
|
+
return isRouteName(b) ? ($ = t.getRecordMatcher(b), V = w) : V = b, t.addRoute(V, $);
|
|
11417
11433
|
}
|
|
11418
11434
|
function C(b) {
|
|
11419
|
-
const
|
|
11420
|
-
|
|
11435
|
+
const w = t.getRecordMatcher(b);
|
|
11436
|
+
w ? t.removeRoute(w) : process.env.NODE_ENV !== "production" && warn(`Cannot remove non-existent route "${String(b)}"`);
|
|
11421
11437
|
}
|
|
11422
11438
|
function y() {
|
|
11423
11439
|
return t.getRoutes().map((b) => b.record);
|
|
@@ -11425,9 +11441,9 @@ function createRouter(e) {
|
|
|
11425
11441
|
function v(b) {
|
|
11426
11442
|
return !!t.getRecordMatcher(b);
|
|
11427
11443
|
}
|
|
11428
|
-
function p(b,
|
|
11429
|
-
if (
|
|
11430
|
-
const T = parseURL(o, b,
|
|
11444
|
+
function p(b, w) {
|
|
11445
|
+
if (w = assign({}, w || a.value), typeof b == "string") {
|
|
11446
|
+
const T = parseURL(o, b, w.path), I = t.resolve({ path: T.path }, w), F = n.createHref(T.fullPath);
|
|
11431
11447
|
return process.env.NODE_ENV !== "production" && (F.startsWith("//") ? warn(`Location "${b}" resolved to "${F}". A resolved location cannot start with multiple slashes.`) : I.matched.length || warn(`No match found for location with path "${b}"`)), assign(T, I, {
|
|
11432
11448
|
params: m(I.params),
|
|
11433
11449
|
hash: decode(T.hash),
|
|
@@ -11439,7 +11455,7 @@ function createRouter(e) {
|
|
|
11439
11455
|
if ("path" in b)
|
|
11440
11456
|
process.env.NODE_ENV !== "production" && "params" in b && !("name" in b) && // @ts-expect-error: the type is never
|
|
11441
11457
|
Object.keys(b.params).length && warn(`Path "${b.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`), $ = assign({}, b, {
|
|
11442
|
-
path: parseURL(o, b.path,
|
|
11458
|
+
path: parseURL(o, b.path, w.path).path
|
|
11443
11459
|
});
|
|
11444
11460
|
else {
|
|
11445
11461
|
const T = assign({}, b.params);
|
|
@@ -11447,9 +11463,9 @@ function createRouter(e) {
|
|
|
11447
11463
|
T[I] == null && delete T[I];
|
|
11448
11464
|
$ = assign({}, b, {
|
|
11449
11465
|
params: d(T)
|
|
11450
|
-
}),
|
|
11466
|
+
}), w.params = d(w.params);
|
|
11451
11467
|
}
|
|
11452
|
-
const V = t.resolve($,
|
|
11468
|
+
const V = t.resolve($, w), R = b.hash || "";
|
|
11453
11469
|
process.env.NODE_ENV !== "production" && R && !R.startsWith("#") && warn(`A \`hash\` should always start with the character "#". Replace "${R}" with "#${R}".`), V.params = c(m(V.params));
|
|
11454
11470
|
const U = stringifyURL(r, assign({}, b, {
|
|
11455
11471
|
hash: encodeHash(R),
|
|
@@ -11476,10 +11492,10 @@ function createRouter(e) {
|
|
|
11476
11492
|
function f(b) {
|
|
11477
11493
|
return typeof b == "string" ? parseURL(o, b, a.value.path) : assign({}, b);
|
|
11478
11494
|
}
|
|
11479
|
-
function
|
|
11495
|
+
function g(b, w) {
|
|
11480
11496
|
if (u !== b)
|
|
11481
11497
|
return createRouterError(8, {
|
|
11482
|
-
from:
|
|
11498
|
+
from: w,
|
|
11483
11499
|
to: b
|
|
11484
11500
|
});
|
|
11485
11501
|
}
|
|
@@ -11490,9 +11506,9 @@ function createRouter(e) {
|
|
|
11490
11506
|
return E(assign(f(b), { replace: !0 }));
|
|
11491
11507
|
}
|
|
11492
11508
|
function P(b) {
|
|
11493
|
-
const
|
|
11494
|
-
if (
|
|
11495
|
-
const { redirect: $ } =
|
|
11509
|
+
const w = b.matched[b.matched.length - 1];
|
|
11510
|
+
if (w && w.redirect) {
|
|
11511
|
+
const { redirect: $ } = w;
|
|
11496
11512
|
let V = typeof $ == "function" ? $(b) : $;
|
|
11497
11513
|
if (typeof V == "string" && (V = V.includes("?") || V.includes("#") ? V = f(V) : (
|
|
11498
11514
|
// force empty params
|
|
@@ -11509,7 +11525,7 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11509
11525
|
}, V);
|
|
11510
11526
|
}
|
|
11511
11527
|
}
|
|
11512
|
-
function O(b,
|
|
11528
|
+
function O(b, w) {
|
|
11513
11529
|
const $ = u = p(b), V = a.value, R = b.state, U = b.force, N = b.replace === !0, T = P($);
|
|
11514
11530
|
if (T)
|
|
11515
11531
|
return O(
|
|
@@ -11519,10 +11535,10 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11519
11535
|
replace: N
|
|
11520
11536
|
}),
|
|
11521
11537
|
// keep original redirectedFrom if it exists
|
|
11522
|
-
|
|
11538
|
+
w || $
|
|
11523
11539
|
);
|
|
11524
11540
|
const I = $;
|
|
11525
|
-
I.redirectedFrom =
|
|
11541
|
+
I.redirectedFrom = w;
|
|
11526
11542
|
let F;
|
|
11527
11543
|
return !U && isSameRouteLocation(r, V, $) && (F = createRouterError(16, { to: I, from: V }), Q(
|
|
11528
11544
|
V,
|
|
@@ -11552,10 +11568,10 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11552
11568
|
))
|
|
11553
11569
|
return process.env.NODE_ENV !== "production" && // we are redirecting to the same location we were already at
|
|
11554
11570
|
isSameRouteLocation(r, p(M.to), I) && // and we have done it a couple of times
|
|
11555
|
-
|
|
11556
|
-
(
|
|
11571
|
+
w && // @ts-expect-error: added only in dev
|
|
11572
|
+
(w._count = w._count ? (
|
|
11557
11573
|
// @ts-expect-error
|
|
11558
|
-
|
|
11574
|
+
w._count + 1
|
|
11559
11575
|
) : 1) > 30 ? (warn(`Detected a possibly infinite redirection in a navigation guard when going from "${V.fullPath}" to "${I.fullPath}". Aborting to avoid a Stack Overflow.
|
|
11560
11576
|
Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`), Promise.reject(new Error("Infinite redirect in navigation guard"))) : O(
|
|
11561
11577
|
// keep options
|
|
@@ -11567,40 +11583,40 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11567
11583
|
force: U
|
|
11568
11584
|
}),
|
|
11569
11585
|
// preserve the original redirectedFrom if any
|
|
11570
|
-
|
|
11586
|
+
w || I
|
|
11571
11587
|
);
|
|
11572
11588
|
} else
|
|
11573
11589
|
M = L(I, V, !0, N, R);
|
|
11574
11590
|
return H(I, V, M), M;
|
|
11575
11591
|
});
|
|
11576
11592
|
}
|
|
11577
|
-
function D(b,
|
|
11578
|
-
const $ =
|
|
11593
|
+
function D(b, w) {
|
|
11594
|
+
const $ = g(b, w);
|
|
11579
11595
|
return $ ? Promise.reject($) : Promise.resolve();
|
|
11580
11596
|
}
|
|
11581
11597
|
function S(b) {
|
|
11582
|
-
const
|
|
11583
|
-
return
|
|
11598
|
+
const w = X.values().next().value;
|
|
11599
|
+
return w && typeof w.runWithContext == "function" ? w.runWithContext(b) : b();
|
|
11584
11600
|
}
|
|
11585
|
-
function B(b,
|
|
11601
|
+
function B(b, w) {
|
|
11586
11602
|
let $;
|
|
11587
|
-
const [V, R, U] = extractChangingRecords(b,
|
|
11588
|
-
$ = extractComponentsGuards(V.reverse(), "beforeRouteLeave", b,
|
|
11603
|
+
const [V, R, U] = extractChangingRecords(b, w);
|
|
11604
|
+
$ = extractComponentsGuards(V.reverse(), "beforeRouteLeave", b, w);
|
|
11589
11605
|
for (const T of V)
|
|
11590
11606
|
T.leaveGuards.forEach((I) => {
|
|
11591
|
-
$.push(guardToPromiseFn(I, b,
|
|
11607
|
+
$.push(guardToPromiseFn(I, b, w));
|
|
11592
11608
|
});
|
|
11593
|
-
const N = D.bind(null, b,
|
|
11609
|
+
const N = D.bind(null, b, w);
|
|
11594
11610
|
return $.push(N), oe($).then(() => {
|
|
11595
11611
|
$ = [];
|
|
11596
11612
|
for (const T of i.list())
|
|
11597
|
-
$.push(guardToPromiseFn(T, b,
|
|
11613
|
+
$.push(guardToPromiseFn(T, b, w));
|
|
11598
11614
|
return $.push(N), oe($);
|
|
11599
11615
|
}).then(() => {
|
|
11600
|
-
$ = extractComponentsGuards(R, "beforeRouteUpdate", b,
|
|
11616
|
+
$ = extractComponentsGuards(R, "beforeRouteUpdate", b, w);
|
|
11601
11617
|
for (const T of R)
|
|
11602
11618
|
T.updateGuards.forEach((I) => {
|
|
11603
|
-
$.push(guardToPromiseFn(I, b,
|
|
11619
|
+
$.push(guardToPromiseFn(I, b, w));
|
|
11604
11620
|
});
|
|
11605
11621
|
return $.push(N), oe($);
|
|
11606
11622
|
}).then(() => {
|
|
@@ -11609,14 +11625,14 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11609
11625
|
if (T.beforeEnter)
|
|
11610
11626
|
if (isArray$3(T.beforeEnter))
|
|
11611
11627
|
for (const I of T.beforeEnter)
|
|
11612
|
-
$.push(guardToPromiseFn(I, b,
|
|
11628
|
+
$.push(guardToPromiseFn(I, b, w));
|
|
11613
11629
|
else
|
|
11614
|
-
$.push(guardToPromiseFn(T.beforeEnter, b,
|
|
11630
|
+
$.push(guardToPromiseFn(T.beforeEnter, b, w));
|
|
11615
11631
|
return $.push(N), oe($);
|
|
11616
|
-
}).then(() => (b.matched.forEach((T) => T.enterCallbacks = {}), $ = extractComponentsGuards(U, "beforeRouteEnter", b,
|
|
11632
|
+
}).then(() => (b.matched.forEach((T) => T.enterCallbacks = {}), $ = extractComponentsGuards(U, "beforeRouteEnter", b, w), $.push(N), oe($))).then(() => {
|
|
11617
11633
|
$ = [];
|
|
11618
11634
|
for (const T of s.list())
|
|
11619
|
-
$.push(guardToPromiseFn(T, b,
|
|
11635
|
+
$.push(guardToPromiseFn(T, b, w));
|
|
11620
11636
|
return $.push(N), oe($);
|
|
11621
11637
|
}).catch((T) => isNavigationFailure(
|
|
11622
11638
|
T,
|
|
@@ -11624,21 +11640,21 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11624
11640
|
/* ErrorTypes.NAVIGATION_CANCELLED */
|
|
11625
11641
|
) ? T : Promise.reject(T));
|
|
11626
11642
|
}
|
|
11627
|
-
function H(b,
|
|
11628
|
-
l.list().forEach((V) => S(() => V(b,
|
|
11643
|
+
function H(b, w, $) {
|
|
11644
|
+
l.list().forEach((V) => S(() => V(b, w, $)));
|
|
11629
11645
|
}
|
|
11630
|
-
function L(b,
|
|
11631
|
-
const U =
|
|
11646
|
+
function L(b, w, $, V, R) {
|
|
11647
|
+
const U = g(b, w);
|
|
11632
11648
|
if (U)
|
|
11633
11649
|
return U;
|
|
11634
|
-
const N =
|
|
11650
|
+
const N = w === START_LOCATION_NORMALIZED, T = isBrowser ? history.state : {};
|
|
11635
11651
|
$ && (V || N ? n.replace(b.fullPath, assign({
|
|
11636
11652
|
scroll: N && T && T.scroll
|
|
11637
|
-
}, R)) : n.push(b.fullPath, R)), a.value = b, Q(b,
|
|
11653
|
+
}, R)) : n.push(b.fullPath, R)), a.value = b, Q(b, w, $, N), q();
|
|
11638
11654
|
}
|
|
11639
11655
|
let G;
|
|
11640
11656
|
function ne() {
|
|
11641
|
-
G || (G = n.listen((b,
|
|
11657
|
+
G || (G = n.listen((b, w, $) => {
|
|
11642
11658
|
const V = p(b), R = P(V);
|
|
11643
11659
|
if (R) {
|
|
11644
11660
|
O(assign(R, { replace: !0 }), V).catch(noop);
|
|
@@ -11685,32 +11701,32 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11685
11701
|
}));
|
|
11686
11702
|
}
|
|
11687
11703
|
let re = useCallbacks(), te = useCallbacks(), j;
|
|
11688
|
-
function z(b,
|
|
11704
|
+
function z(b, w, $) {
|
|
11689
11705
|
q(b);
|
|
11690
11706
|
const V = te.list();
|
|
11691
|
-
return V.length ? V.forEach((R) => R(b,
|
|
11707
|
+
return V.length ? V.forEach((R) => R(b, w, $)) : (process.env.NODE_ENV !== "production" && warn("uncaught error during route navigation:"), console.error(b)), Promise.reject(b);
|
|
11692
11708
|
}
|
|
11693
11709
|
function Y() {
|
|
11694
|
-
return j && a.value !== START_LOCATION_NORMALIZED ? Promise.resolve() : new Promise((b,
|
|
11695
|
-
re.add([b,
|
|
11710
|
+
return j && a.value !== START_LOCATION_NORMALIZED ? Promise.resolve() : new Promise((b, w) => {
|
|
11711
|
+
re.add([b, w]);
|
|
11696
11712
|
});
|
|
11697
11713
|
}
|
|
11698
11714
|
function q(b) {
|
|
11699
|
-
return j || (j = !b, ne(), re.list().forEach(([
|
|
11715
|
+
return j || (j = !b, ne(), re.list().forEach(([w, $]) => b ? $(b) : w()), re.reset()), b;
|
|
11700
11716
|
}
|
|
11701
|
-
function Q(b,
|
|
11717
|
+
function Q(b, w, $, V) {
|
|
11702
11718
|
const { scrollBehavior: R } = e;
|
|
11703
11719
|
if (!isBrowser || !R)
|
|
11704
11720
|
return Promise.resolve();
|
|
11705
11721
|
const U = !$ && getSavedScrollPosition(getScrollKey(b.fullPath, 0)) || (V || !$) && history.state && history.state.scroll || null;
|
|
11706
|
-
return nextTick().then(() => R(b,
|
|
11722
|
+
return nextTick().then(() => R(b, w, U)).then((N) => N && scrollToPosition(N)).catch((N) => z(N, b, w));
|
|
11707
11723
|
}
|
|
11708
11724
|
const J = (b) => n.go(b);
|
|
11709
11725
|
let se;
|
|
11710
11726
|
const X = /* @__PURE__ */ new Set(), ie = {
|
|
11711
11727
|
currentRoute: a,
|
|
11712
11728
|
listening: !0,
|
|
11713
|
-
addRoute:
|
|
11729
|
+
addRoute: _,
|
|
11714
11730
|
removeRoute: C,
|
|
11715
11731
|
hasRoute: v,
|
|
11716
11732
|
getRoutes: y,
|
|
@@ -11727,8 +11743,8 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11727
11743
|
onError: te.add,
|
|
11728
11744
|
isReady: Y,
|
|
11729
11745
|
install(b) {
|
|
11730
|
-
const
|
|
11731
|
-
b.component("RouterLink", RouterLink), b.component("RouterView", RouterView), b.config.globalProperties.$router =
|
|
11746
|
+
const w = this;
|
|
11747
|
+
b.component("RouterLink", RouterLink), b.component("RouterView", RouterView), b.config.globalProperties.$router = w, Object.defineProperty(b.config.globalProperties, "$route", {
|
|
11732
11748
|
enumerable: !0,
|
|
11733
11749
|
get: () => unref(a)
|
|
11734
11750
|
}), isBrowser && // used for the initial navigation client side to avoid pushing
|
|
@@ -11742,15 +11758,15 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11742
11758
|
get: () => a.value[R],
|
|
11743
11759
|
enumerable: !0
|
|
11744
11760
|
});
|
|
11745
|
-
b.provide(routerKey,
|
|
11761
|
+
b.provide(routerKey, w), b.provide(routeLocationKey, shallowReactive($)), b.provide(routerViewLocationKey, a);
|
|
11746
11762
|
const V = b.unmount;
|
|
11747
11763
|
X.add(b), b.unmount = function() {
|
|
11748
11764
|
X.delete(b), X.size < 1 && (u = START_LOCATION_NORMALIZED, G && G(), G = null, a.value = START_LOCATION_NORMALIZED, se = !1, j = !1), V();
|
|
11749
|
-
}, process.env.NODE_ENV !== "production" && isBrowser && addDevtools(b,
|
|
11765
|
+
}, process.env.NODE_ENV !== "production" && isBrowser && addDevtools(b, w, t);
|
|
11750
11766
|
}
|
|
11751
11767
|
};
|
|
11752
11768
|
function oe(b) {
|
|
11753
|
-
return b.reduce((
|
|
11769
|
+
return b.reduce((w, $) => w.then(() => S($)), Promise.resolve());
|
|
11754
11770
|
}
|
|
11755
11771
|
return ie;
|
|
11756
11772
|
}
|
|
@@ -11837,7 +11853,7 @@ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render
|
|
|
11837
11853
|
children: [
|
|
11838
11854
|
{
|
|
11839
11855
|
path: "page",
|
|
11840
|
-
component: () => import("./iframe-page-
|
|
11856
|
+
component: () => import("./iframe-page-f6d03745.js"),
|
|
11841
11857
|
hidden: !0
|
|
11842
11858
|
}
|
|
11843
11859
|
]
|
|
@@ -11854,27 +11870,27 @@ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render
|
|
|
11854
11870
|
},
|
|
11855
11871
|
{
|
|
11856
11872
|
path: "/404",
|
|
11857
|
-
component: () => import("./404-
|
|
11873
|
+
component: () => import("./404-71e6f04b.js"),
|
|
11858
11874
|
hidden: !0
|
|
11859
11875
|
},
|
|
11860
11876
|
{
|
|
11861
11877
|
path: "/401",
|
|
11862
|
-
component: () => import("./401-
|
|
11878
|
+
component: () => import("./401-6d8d823d.js"),
|
|
11863
11879
|
hidden: !0
|
|
11864
11880
|
},
|
|
11865
11881
|
{
|
|
11866
11882
|
path: "/show-sub-wf-history",
|
|
11867
|
-
component: () => import("./tache-subprocess-history-
|
|
11883
|
+
component: () => import("./tache-subprocess-history-8ec86536.js"),
|
|
11868
11884
|
hidden: !0
|
|
11869
11885
|
},
|
|
11870
11886
|
{
|
|
11871
11887
|
path: "/tab-content-index",
|
|
11872
|
-
component: () => import("./tab-content-index-
|
|
11888
|
+
component: () => import("./tab-content-index-f39a83c1.js"),
|
|
11873
11889
|
hidden: !0
|
|
11874
11890
|
},
|
|
11875
11891
|
{
|
|
11876
11892
|
path: "/tab-content-iframe-index",
|
|
11877
|
-
component: () => import("./tab-content-iframe-index-
|
|
11893
|
+
component: () => import("./tab-content-iframe-index-a109cac2.js"),
|
|
11878
11894
|
hidden: !0
|
|
11879
11895
|
}
|
|
11880
11896
|
], protectedRouterMap = [];
|
|
@@ -12324,7 +12340,7 @@ function getSystemFrontendUrl(e) {
|
|
|
12324
12340
|
return window.$vueApp.config.globalProperties.projectModel && window.$vueApp.config.globalProperties.projectModel === "developing.model" && window.$vueApp.config.globalProperties.frontUrl ? window.$vueApp.config.globalProperties.frontUrl : getRelativeBaseUrl(e);
|
|
12325
12341
|
}
|
|
12326
12342
|
function isPlateSys(e) {
|
|
12327
|
-
return !!(e && (e === "agilebuilder" || e === "portal" || e === "mms" || e === "task" || e === "wf" || e === "dc" || e === "mc" || e === "mobile" || e === "acs" || e === "bs" || e === "pcm" || e === "hc" || e === "devp"));
|
|
12343
|
+
return !!(e && (e === "agilebuilder" || e === "portal" || e === "mms" || e === "task" || e === "wf" || e === "dc" || e === "mc" || e === "mobile" || e === "acs" || e === "bs" || e === "pcm" || e === "hc" || e === "devp" || e === "ucr"));
|
|
12328
12344
|
}
|
|
12329
12345
|
function getTimeZone() {
|
|
12330
12346
|
const e = /* @__PURE__ */ new Date() + "";
|
|
@@ -12343,7 +12359,12 @@ function setCustomSystemBackendUrl(e) {
|
|
|
12343
12359
|
}
|
|
12344
12360
|
}
|
|
12345
12361
|
function isMobileBrowser() {
|
|
12346
|
-
return console.log(
|
|
12362
|
+
return console.log(
|
|
12363
|
+
"isMobileBrowser---navigator.userAgent=",
|
|
12364
|
+
navigator.userAgent,
|
|
12365
|
+
"navigator.maxTouchPoints=",
|
|
12366
|
+
navigator.maxTouchPoints
|
|
12367
|
+
), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Opera Mobi|Windows CE|Symbian|Windows Phone|POLARIS|lgtelecom|nokia|SonyEricsson|LG|SAMSUNG|Samsung|Mobile/i.test(
|
|
12347
12368
|
navigator.userAgent
|
|
12348
12369
|
) ? !0 : !!(/Macintosh/i.test(navigator.userAgent) && navigator.maxTouchPoints !== void 0 && navigator.maxTouchPoints >= 1);
|
|
12349
12370
|
}
|
|
@@ -16243,7 +16264,7 @@ function _sfc_render$U(e, t, o, r, n, i) {
|
|
|
16243
16264
|
type: i.getType(d),
|
|
16244
16265
|
closable: "",
|
|
16245
16266
|
"disable-transitions": !1,
|
|
16246
|
-
onClose: (
|
|
16267
|
+
onClose: (_) => i.handleClose(d)
|
|
16247
16268
|
}, {
|
|
16248
16269
|
default: withCtx(() => [
|
|
16249
16270
|
createTextVNode(toDisplayString$1(i.showText(d)), 1)
|
|
@@ -16644,8 +16665,8 @@ function parseCondition$1(e, t) {
|
|
|
16644
16665
|
let s = "", l = "", a = "", u = "", c = "", d = "condition.operator.or", m = i.indexOf("${");
|
|
16645
16666
|
if (m > 0 && (s = i.substring(0, m)), l = i.substring(m, i.indexOf(" ")), i = i.substring(i.indexOf(" ") + 1), a = i.substring(0, i.indexOf(" ")), i = i.substring(i.indexOf(" ") + 1), m = i.indexOf(")"), m >= 0) {
|
|
16646
16667
|
u = i.substring(0, m);
|
|
16647
|
-
const
|
|
16648
|
-
m =
|
|
16668
|
+
const _ = i.substring(m);
|
|
16669
|
+
m = _.indexOf(")"), _.indexOf(" ") >= 0 ? c = _.substring(m, _.indexOf(" ")) : c = _.substring(m), m = i.indexOf(" condition."), m >= 0 && (d = i.substring(m + 1));
|
|
16649
16670
|
} else
|
|
16650
16671
|
m = i.indexOf(" condition."), m >= 0 ? (u = i.substring(0, m), d = i.substring(m + 1)) : u = i;
|
|
16651
16672
|
e.push({
|
|
@@ -17044,8 +17065,8 @@ const systemRoleTreeInline_vue_vue_type_style_index_0_lang = "", __default__$1 =
|
|
|
17044
17065
|
}
|
|
17045
17066
|
};
|
|
17046
17067
|
function _sfc_render$T(e, t, o, r, n, i) {
|
|
17047
|
-
const s = resolveComponent("el-radio"), l = resolveComponent("el-row"), a = resolveComponent("el-tab-pane"), u = resolveComponent("inline-department-user-tree"), c = resolveComponent("inline-department-tree"), d = resolveComponent("inline-workgroup-tree"), m = resolveComponent("inline-system-role-tree"),
|
|
17048
|
-
return openBlock(), createBlock(
|
|
17068
|
+
const s = resolveComponent("el-radio"), l = resolveComponent("el-row"), a = resolveComponent("el-tab-pane"), u = resolveComponent("inline-department-user-tree"), c = resolveComponent("inline-department-tree"), d = resolveComponent("inline-workgroup-tree"), m = resolveComponent("inline-system-role-tree"), _ = resolveComponent("el-col"), C = resolveComponent("el-collapse-item"), y = resolveComponent("el-collapse"), v = resolveComponent("el-radio-group"), p = resolveComponent("el-tabs"), f = resolveComponent("el-button"), g = resolveComponent("el-dialog");
|
|
17069
|
+
return openBlock(), createBlock(g, {
|
|
17049
17070
|
title: n.titleName,
|
|
17050
17071
|
"model-value": "",
|
|
17051
17072
|
top: "10vh",
|
|
@@ -17156,7 +17177,7 @@ function _sfc_render$T(e, t, o, r, n, i) {
|
|
|
17156
17177
|
default: withCtx(() => [
|
|
17157
17178
|
createVNode(l, { style: { width: "100%" } }, {
|
|
17158
17179
|
default: withCtx(() => [
|
|
17159
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.customFormFields, (E) => (openBlock(), createBlock(
|
|
17180
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.customFormFields, (E) => (openBlock(), createBlock(_, {
|
|
17160
17181
|
key: E.name,
|
|
17161
17182
|
span: 8
|
|
17162
17183
|
}, {
|
|
@@ -17188,7 +17209,7 @@ function _sfc_render$T(e, t, o, r, n, i) {
|
|
|
17188
17209
|
default: withCtx(() => [
|
|
17189
17210
|
createVNode(l, null, {
|
|
17190
17211
|
default: withCtx(() => [
|
|
17191
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.baseFormFields, (E) => (openBlock(), createBlock(
|
|
17212
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.baseFormFields, (E) => (openBlock(), createBlock(_, {
|
|
17192
17213
|
key: E.name,
|
|
17193
17214
|
span: 8
|
|
17194
17215
|
}, {
|
|
@@ -17363,7 +17384,7 @@ const ValueSelectionDialog = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render"
|
|
|
17363
17384
|
}
|
|
17364
17385
|
}, _hoisted_1$n = { style: { overflow: "auto", width: "100%" } };
|
|
17365
17386
|
function _sfc_render$S(e, t, o, r, n, i) {
|
|
17366
|
-
const s = resolveComponent("el-button"), l = resolveComponent("el-row"), a = resolveComponent("el-option"), u = resolveComponent("el-select"), c = resolveComponent("el-table-column"), d = resolveComponent("el-input"), m = resolveComponent("el-table"),
|
|
17387
|
+
const s = resolveComponent("el-button"), l = resolveComponent("el-row"), a = resolveComponent("el-option"), u = resolveComponent("el-select"), c = resolveComponent("el-table-column"), d = resolveComponent("el-input"), m = resolveComponent("el-table"), _ = resolveComponent("value-selection-dialog");
|
|
17367
17388
|
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
17368
17389
|
createVNode(l, null, {
|
|
17369
17390
|
default: withCtx(() => [
|
|
@@ -17598,7 +17619,7 @@ function _sfc_render$S(e, t, o, r, n, i) {
|
|
|
17598
17619
|
]),
|
|
17599
17620
|
_: 1
|
|
17600
17621
|
}, 8, ["data", "onCurrentChange"]),
|
|
17601
|
-
n.currentInput ? (openBlock(), createBlock(
|
|
17622
|
+
n.currentInput ? (openBlock(), createBlock(_, {
|
|
17602
17623
|
key: 0,
|
|
17603
17624
|
title: n.valueDialogTitle,
|
|
17604
17625
|
"show-organization": n.showOrganization,
|
|
@@ -18023,17 +18044,17 @@ function _sfc_render$Q(e, t, o, r, n, i) {
|
|
|
18023
18044
|
"append-to-body": "",
|
|
18024
18045
|
"model-value": "",
|
|
18025
18046
|
top: "5vh",
|
|
18026
|
-
onOpen: t[2] || (t[2] = (
|
|
18027
|
-
onOpend: t[3] || (t[3] = (
|
|
18028
|
-
onClose: t[4] || (t[4] = (
|
|
18029
|
-
onClosed: t[5] || (t[5] = (
|
|
18047
|
+
onOpen: t[2] || (t[2] = (_) => e.$emit("open")),
|
|
18048
|
+
onOpend: t[3] || (t[3] = (_) => e.$emit("opend")),
|
|
18049
|
+
onClose: t[4] || (t[4] = (_) => e.$emit("close")),
|
|
18050
|
+
onClosed: t[5] || (t[5] = (_) => e.$emit("closed"))
|
|
18030
18051
|
}, {
|
|
18031
18052
|
default: withCtx(() => [
|
|
18032
18053
|
createElementVNode("div", _hoisted_1$m, [
|
|
18033
18054
|
createVNode(s, {
|
|
18034
18055
|
type: "primary",
|
|
18035
18056
|
size: "small",
|
|
18036
|
-
onClick: t[0] || (t[0] = (
|
|
18057
|
+
onClick: t[0] || (t[0] = (_) => i.saveI18nSet("form"))
|
|
18037
18058
|
}, {
|
|
18038
18059
|
default: withCtx(() => [
|
|
18039
18060
|
createTextVNode(toDisplayString$1(e.$t("workflowEditorPublicModel.determine")), 1)
|
|
@@ -18068,7 +18089,7 @@ function _sfc_render$Q(e, t, o, r, n, i) {
|
|
|
18068
18089
|
default: withCtx(() => [
|
|
18069
18090
|
createVNode(l, {
|
|
18070
18091
|
modelValue: n.i18nModel.key,
|
|
18071
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
18092
|
+
"onUpdate:modelValue": t[1] || (t[1] = (_) => n.i18nModel.key = _),
|
|
18072
18093
|
style: { width: "80%" }
|
|
18073
18094
|
}, null, 8, ["modelValue"])
|
|
18074
18095
|
]),
|
|
@@ -18080,18 +18101,18 @@ function _sfc_render$Q(e, t, o, r, n, i) {
|
|
|
18080
18101
|
]),
|
|
18081
18102
|
_: 1
|
|
18082
18103
|
}),
|
|
18083
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(Object.keys(n.languages), (
|
|
18104
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(Object.keys(n.languages), (_) => (openBlock(), createBlock(c, { key: _ }, {
|
|
18084
18105
|
default: withCtx(() => [
|
|
18085
18106
|
createVNode(u, { span: 24 }, {
|
|
18086
18107
|
default: withCtx(() => [
|
|
18087
18108
|
createVNode(a, {
|
|
18088
|
-
label: n.languages[
|
|
18089
|
-
prop:
|
|
18109
|
+
label: n.languages[_],
|
|
18110
|
+
prop: _
|
|
18090
18111
|
}, {
|
|
18091
18112
|
default: withCtx(() => [
|
|
18092
18113
|
createVNode(l, {
|
|
18093
|
-
modelValue: n.i18nModel.values[
|
|
18094
|
-
"onUpdate:modelValue": (C) => n.i18nModel.values[
|
|
18114
|
+
modelValue: n.i18nModel.values[_],
|
|
18115
|
+
"onUpdate:modelValue": (C) => n.i18nModel.values[_] = C
|
|
18095
18116
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
18096
18117
|
]),
|
|
18097
18118
|
_: 2
|
|
@@ -18366,7 +18387,7 @@ const SelectMailTemplates = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render",
|
|
|
18366
18387
|
}
|
|
18367
18388
|
}, _withScopeId = (e) => (pushScopeId("data-v-a219b06d"), e = e(), popScopeId(), e), _hoisted_1$j = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "percent" }, " % ", -1));
|
|
18368
18389
|
function _sfc_render$N(e, t, o, r, n, i) {
|
|
18369
|
-
const s = resolveComponent("i18n-input"), l = resolveComponent("el-form-item"), a = resolveComponent("el-col"), u = resolveComponent("el-input"), c = resolveComponent("el-row"), d = resolveComponent("task-title"), m = resolveComponent("el-switch"),
|
|
18390
|
+
const s = resolveComponent("i18n-input"), l = resolveComponent("el-form-item"), a = resolveComponent("el-col"), u = resolveComponent("el-input"), c = resolveComponent("el-row"), d = resolveComponent("task-title"), m = resolveComponent("el-switch"), _ = resolveComponent("select-mail-templates"), C = resolveComponent("el-radio"), y = resolveComponent("el-radio-group"), v = resolveComponent("el-input-number"), p = resolveComponent("custom-actions"), f = resolveComponent("el-form");
|
|
18370
18391
|
return openBlock(), createBlock(f, {
|
|
18371
18392
|
model: n.formModel,
|
|
18372
18393
|
"label-width": "110px"
|
|
@@ -18382,7 +18403,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18382
18403
|
default: withCtx(() => [
|
|
18383
18404
|
createVNode(s, {
|
|
18384
18405
|
modelValue: n.formModel.name,
|
|
18385
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
18406
|
+
"onUpdate:modelValue": t[0] || (t[0] = (g) => n.formModel.name = g),
|
|
18386
18407
|
"i18n-key": i.tache.i18nKey ? i.tache.i18nKey : "name." + n.formModel.id,
|
|
18387
18408
|
onSetI18n: i.setI18nValue
|
|
18388
18409
|
}, null, 8, ["modelValue", "i18n-key", "onSetI18n"])
|
|
@@ -18400,7 +18421,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18400
18421
|
default: withCtx(() => [
|
|
18401
18422
|
createVNode(u, {
|
|
18402
18423
|
modelValue: n.formModel.id,
|
|
18403
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
18424
|
+
"onUpdate:modelValue": t[1] || (t[1] = (g) => n.formModel.id = g),
|
|
18404
18425
|
onBlur: i.validateId
|
|
18405
18426
|
}, null, 8, ["modelValue", "onBlur"])
|
|
18406
18427
|
]),
|
|
@@ -18418,7 +18439,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18418
18439
|
default: withCtx(() => [
|
|
18419
18440
|
createVNode(d, {
|
|
18420
18441
|
modelValue: i.tache.taskTitle,
|
|
18421
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
18442
|
+
"onUpdate:modelValue": t[2] || (t[2] = (g) => i.tache.taskTitle = g)
|
|
18422
18443
|
}, null, 8, ["modelValue"])
|
|
18423
18444
|
]),
|
|
18424
18445
|
_: 1
|
|
@@ -18429,7 +18450,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18429
18450
|
default: withCtx(() => [
|
|
18430
18451
|
createVNode(m, {
|
|
18431
18452
|
modelValue: i.tache.rebuttable,
|
|
18432
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
18453
|
+
"onUpdate:modelValue": t[3] || (t[3] = (g) => i.tache.rebuttable = g)
|
|
18433
18454
|
}, null, 8, ["modelValue"])
|
|
18434
18455
|
]),
|
|
18435
18456
|
_: 1
|
|
@@ -18440,7 +18461,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18440
18461
|
default: withCtx(() => [
|
|
18441
18462
|
createVNode(m, {
|
|
18442
18463
|
modelValue: i.tache.mailNotice,
|
|
18443
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
18464
|
+
"onUpdate:modelValue": t[4] || (t[4] = (g) => i.tache.mailNotice = g)
|
|
18444
18465
|
}, null, 8, ["modelValue"])
|
|
18445
18466
|
]),
|
|
18446
18467
|
_: 1
|
|
@@ -18450,9 +18471,9 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18450
18471
|
label: e.$t("workflowEditor.task.selectNoticeTemplate")
|
|
18451
18472
|
}, {
|
|
18452
18473
|
default: withCtx(() => [
|
|
18453
|
-
createVNode(
|
|
18474
|
+
createVNode(_, {
|
|
18454
18475
|
modelValue: i.tache.mailTemplateCode,
|
|
18455
|
-
"onUpdate:modelValue": t[5] || (t[5] = (
|
|
18476
|
+
"onUpdate:modelValue": t[5] || (t[5] = (g) => i.tache.mailTemplateCode = g),
|
|
18456
18477
|
onSetValue: i.setMailTemplateCode
|
|
18457
18478
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
18458
18479
|
]),
|
|
@@ -18463,9 +18484,9 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18463
18484
|
label: e.$t("workflowEditor.task.selectMailTemplate")
|
|
18464
18485
|
}, {
|
|
18465
18486
|
default: withCtx(() => [
|
|
18466
|
-
createVNode(
|
|
18487
|
+
createVNode(_, {
|
|
18467
18488
|
modelValue: i.tache.mailPointTemplateCode,
|
|
18468
|
-
"onUpdate:modelValue": t[6] || (t[6] = (
|
|
18489
|
+
"onUpdate:modelValue": t[6] || (t[6] = (g) => i.tache.mailPointTemplateCode = g),
|
|
18469
18490
|
onSetValue: i.setMailPointTemplateCode
|
|
18470
18491
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
18471
18492
|
]),
|
|
@@ -18477,7 +18498,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18477
18498
|
default: withCtx(() => [
|
|
18478
18499
|
createVNode(y, {
|
|
18479
18500
|
modelValue: i.tache.processingMode.type,
|
|
18480
|
-
"onUpdate:modelValue": t[7] || (t[7] = (
|
|
18501
|
+
"onUpdate:modelValue": t[7] || (t[7] = (g) => i.tache.processingMode.type = g)
|
|
18481
18502
|
}, {
|
|
18482
18503
|
default: withCtx(() => [
|
|
18483
18504
|
createVNode(C, { label: "EDIT" }, {
|
|
@@ -18517,7 +18538,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18517
18538
|
default: withCtx(() => [
|
|
18518
18539
|
createVNode(y, {
|
|
18519
18540
|
modelValue: i.tache.processingMode.moreTransactor,
|
|
18520
|
-
"onUpdate:modelValue": t[8] || (t[8] = (
|
|
18541
|
+
"onUpdate:modelValue": t[8] || (t[8] = (g) => i.tache.processingMode.moreTransactor = g)
|
|
18521
18542
|
}, {
|
|
18522
18543
|
default: withCtx(() => [
|
|
18523
18544
|
createVNode(C, { label: !1 }, {
|
|
@@ -18545,7 +18566,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18545
18566
|
default: withCtx(() => [
|
|
18546
18567
|
createVNode(v, {
|
|
18547
18568
|
modelValue: i.tache.processingMode.passRate,
|
|
18548
|
-
"onUpdate:modelValue": t[9] || (t[9] = (
|
|
18569
|
+
"onUpdate:modelValue": t[9] || (t[9] = (g) => i.tache.processingMode.passRate = g),
|
|
18549
18570
|
step: 10,
|
|
18550
18571
|
size: "small",
|
|
18551
18572
|
min: 0,
|
|
@@ -18561,7 +18582,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18561
18582
|
default: withCtx(() => [
|
|
18562
18583
|
createVNode(m, {
|
|
18563
18584
|
modelValue: n.showActions,
|
|
18564
|
-
"onUpdate:modelValue": t[10] || (t[10] = (
|
|
18585
|
+
"onUpdate:modelValue": t[10] || (t[10] = (g) => n.showActions = g)
|
|
18565
18586
|
}, null, 8, ["modelValue"]),
|
|
18566
18587
|
n.showActions ? (openBlock(), createBlock(p, {
|
|
18567
18588
|
key: 0,
|
|
@@ -18577,7 +18598,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18577
18598
|
default: withCtx(() => [
|
|
18578
18599
|
createVNode(u, {
|
|
18579
18600
|
modelValue: i.tache.taskUrl,
|
|
18580
|
-
"onUpdate:modelValue": t[11] || (t[11] = (
|
|
18601
|
+
"onUpdate:modelValue": t[11] || (t[11] = (g) => i.tache.taskUrl = g)
|
|
18581
18602
|
}, null, 8, ["modelValue"])
|
|
18582
18603
|
]),
|
|
18583
18604
|
_: 1
|
|
@@ -18588,7 +18609,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18588
18609
|
default: withCtx(() => [
|
|
18589
18610
|
createVNode(u, {
|
|
18590
18611
|
modelValue: i.tache.remark,
|
|
18591
|
-
"onUpdate:modelValue": t[12] || (t[12] = (
|
|
18612
|
+
"onUpdate:modelValue": t[12] || (t[12] = (g) => i.tache.remark = g),
|
|
18592
18613
|
type: "textarea",
|
|
18593
18614
|
autosize: ""
|
|
18594
18615
|
}, null, 8, ["modelValue"])
|
|
@@ -18687,8 +18708,8 @@ const BasicProperties$5 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _
|
|
|
18687
18708
|
}
|
|
18688
18709
|
}, _hoisted_1$i = ["title"], _hoisted_2$e = ["title"], _hoisted_3$5 = ["title"], _hoisted_4$3 = ["title"], _hoisted_5$2 = ["title"], _hoisted_6$2 = ["title"], _hoisted_7$1 = ["title"], _hoisted_8$1 = ["title"], _hoisted_9 = ["title"], _hoisted_10 = ["title"], _hoisted_11 = ["title"], _hoisted_12 = ["title"];
|
|
18689
18710
|
function _sfc_render$M(e, t, o, r, n, i) {
|
|
18690
|
-
const s = resolveComponent("el-checkbox"), l = resolveComponent("el-col"), a = resolveComponent("el-row"), u = resolveComponent("el-collapse-item"), c = resolveComponent("el-collapse"), d = resolveComponent("el-checkbox-group"), m = resolveComponent("el-radio"),
|
|
18691
|
-
return openBlock(), createBlock(
|
|
18711
|
+
const s = resolveComponent("el-checkbox"), l = resolveComponent("el-col"), a = resolveComponent("el-row"), u = resolveComponent("el-collapse-item"), c = resolveComponent("el-collapse"), d = resolveComponent("el-checkbox-group"), m = resolveComponent("el-radio"), _ = resolveComponent("el-radio-group"), C = resolveComponent("el-form-item"), y = resolveComponent("el-switch"), v = resolveComponent("additional-condition"), p = resolveComponent("el-form"), f = resolveComponent("el-button"), g = resolveComponent("el-dialog");
|
|
18712
|
+
return openBlock(), createBlock(g, {
|
|
18692
18713
|
id: "appContainer",
|
|
18693
18714
|
width: "60%",
|
|
18694
18715
|
title: e.$t("workflowEditor.task.selectEditableField"),
|
|
@@ -19003,7 +19024,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
19003
19024
|
label: e.$t("workflowEditor.task.editingMethod")
|
|
19004
19025
|
}, {
|
|
19005
19026
|
default: withCtx(() => [
|
|
19006
|
-
createVNode(
|
|
19027
|
+
createVNode(_, {
|
|
19007
19028
|
modelValue: n.formModel.constraintRule,
|
|
19008
19029
|
"onUpdate:modelValue": t[2] || (t[2] = (E) => n.formModel.constraintRule = E)
|
|
19009
19030
|
}, {
|
|
@@ -19148,7 +19169,7 @@ const EditableFieldSelection = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["rende
|
|
|
19148
19169
|
}
|
|
19149
19170
|
}, _hoisted_1$h = { style: { width: "100%" } };
|
|
19150
19171
|
function _sfc_render$L(e, t, o, r, n, i) {
|
|
19151
|
-
const s = resolveComponent("el-button"), l = resolveComponent("el-row"), a = resolveComponent("el-table-column"), u = resolveComponent("el-radio"), c = resolveComponent("el-radio-group"), d = resolveComponent("el-input"), m = resolveComponent("el-table"),
|
|
19172
|
+
const s = resolveComponent("el-button"), l = resolveComponent("el-row"), a = resolveComponent("el-table-column"), u = resolveComponent("el-radio"), c = resolveComponent("el-radio-group"), d = resolveComponent("el-input"), m = resolveComponent("el-table"), _ = resolveComponent("editable-field-selection"), C = resolveComponent("additional-condition-dialog");
|
|
19152
19173
|
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
19153
19174
|
createVNode(l, { style: { "padding-bottom": "10px" } }, {
|
|
19154
19175
|
default: withCtx(() => [
|
|
@@ -19257,7 +19278,7 @@ function _sfc_render$L(e, t, o, r, n, i) {
|
|
|
19257
19278
|
]),
|
|
19258
19279
|
_: 1
|
|
19259
19280
|
}, 8, ["data", "onSelectionChange", "onCurrentChange"]),
|
|
19260
|
-
n.showFieldSelection ? (openBlock(), createBlock(
|
|
19281
|
+
n.showFieldSelection ? (openBlock(), createBlock(_, {
|
|
19261
19282
|
key: 0,
|
|
19262
19283
|
"disabled-fields": n.disabledFields,
|
|
19263
19284
|
onInputValue: i.setSelectedFields,
|
|
@@ -19283,8 +19304,8 @@ const EditableFields = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc
|
|
|
19283
19304
|
var r = n[o];
|
|
19284
19305
|
if (r.indexOf("(") !== -1) {
|
|
19285
19306
|
this.operationArr && this.operationArr.push([]), s = "", l = "", a = "", u = "", c = "", d = "";
|
|
19286
|
-
const
|
|
19287
|
-
if (s =
|
|
19307
|
+
const _ = r.split("${field[");
|
|
19308
|
+
if (s = _[0], l = _[1].replace("]}", ""), this.operationArr) {
|
|
19288
19309
|
const C = this.getOperators(this.fieldMap[l]);
|
|
19289
19310
|
this.operationArr[i - 1] = C;
|
|
19290
19311
|
}
|
|
@@ -19292,8 +19313,8 @@ const EditableFields = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc
|
|
|
19292
19313
|
}
|
|
19293
19314
|
if (r.indexOf("(") === -1 && r.indexOf("${field[") !== -1) {
|
|
19294
19315
|
if (this.operationArr && this.operationArr.push([]), s = "", l = "", a = "", u = "", c = "", d = "", l = r.replace("${field[", "").replace("]}", ""), this.operationArr) {
|
|
19295
|
-
const
|
|
19296
|
-
this.operationArr[i - 1] =
|
|
19316
|
+
const _ = this.getOperators(this.fieldMap[l]);
|
|
19317
|
+
this.operationArr[i - 1] = _;
|
|
19297
19318
|
}
|
|
19298
19319
|
continue;
|
|
19299
19320
|
}
|
|
@@ -19580,8 +19601,8 @@ function parseCondition(e, t) {
|
|
|
19580
19601
|
continue;
|
|
19581
19602
|
let s = "", l = "", a = "", u = "", c = "", d = "condition.operator.or";
|
|
19582
19603
|
const m = i.split(" ");
|
|
19583
|
-
let
|
|
19584
|
-
|
|
19604
|
+
let _ = m[0].indexOf("${");
|
|
19605
|
+
_ > 0 ? (s = m[0].substring(0, _), l = m[0].substring(_)) : l = m[0], a = m[1], _ = m[2].indexOf(")"), _ > 0 ? (u = m[2].substring(0, _), c = m[2].substring(_)) : u = m[2], m.length === 4 && (d = m[3]), e.push({
|
|
19585
19606
|
id: n,
|
|
19586
19607
|
leftBracket: s,
|
|
19587
19608
|
key: l,
|
|
@@ -19722,7 +19743,7 @@ const _sfc_main$K = {
|
|
|
19722
19743
|
}
|
|
19723
19744
|
};
|
|
19724
19745
|
function _sfc_render$K(e, t, o, r, n, i) {
|
|
19725
|
-
const s = resolveComponent("el-button"), l = resolveComponent("el-row"), a = resolveComponent("el-option"), u = resolveComponent("el-select"), c = resolveComponent("el-table-column"), d = resolveComponent("el-input"), m = resolveComponent("el-table"),
|
|
19746
|
+
const s = resolveComponent("el-button"), l = resolveComponent("el-row"), a = resolveComponent("el-option"), u = resolveComponent("el-select"), c = resolveComponent("el-table-column"), d = resolveComponent("el-input"), m = resolveComponent("el-table"), _ = resolveComponent("value-selection-dialog");
|
|
19726
19747
|
return openBlock(), createElementBlock("div", null, [
|
|
19727
19748
|
createVNode(l, null, {
|
|
19728
19749
|
default: withCtx(() => [
|
|
@@ -19960,7 +19981,7 @@ function _sfc_render$K(e, t, o, r, n, i) {
|
|
|
19960
19981
|
]),
|
|
19961
19982
|
_: 1
|
|
19962
19983
|
}, 8, ["data", "onCurrentChange"]),
|
|
19963
|
-
n.showValueDialog ? (openBlock(), createBlock(
|
|
19984
|
+
n.showValueDialog ? (openBlock(), createBlock(_, {
|
|
19964
19985
|
key: 0,
|
|
19965
19986
|
"standard-fields": i.standardFields,
|
|
19966
19987
|
"org-type": n.currentRow.key.substring(n.currentRow.key.indexOf("{") + 1, n.currentRow.key.lastIndexOf("}")),
|
|
@@ -20096,7 +20117,7 @@ const CommonUserCondition = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render",
|
|
|
20096
20117
|
}
|
|
20097
20118
|
}, _hoisted_1$g = { style: { "overflow-y": "auto", "max-height": "500px" } }, _hoisted_2$d = { class: "operation-area" }, _hoisted_3$4 = { class: "clearfix" }, _hoisted_4$2 = { class: "clearfix" };
|
|
20098
20119
|
function _sfc_render$J(e, t, o, r, n, i) {
|
|
20099
|
-
const s = resolveComponent("el-button"), l = resolveComponent("common-user-condition"), a = resolveComponent("el-card"), u = resolveComponent("additional-condition"), c = resolveComponent("el-row"), d = resolveComponent("el-option"), m = resolveComponent("el-select"),
|
|
20120
|
+
const s = resolveComponent("el-button"), l = resolveComponent("common-user-condition"), a = resolveComponent("el-card"), u = resolveComponent("additional-condition"), c = resolveComponent("el-row"), d = resolveComponent("el-option"), m = resolveComponent("el-select"), _ = resolveComponent("el-table-column"), C = resolveComponent("el-date-picker"), y = resolveComponent("el-input"), v = resolveComponent("el-table"), p = resolveComponent("el-dialog");
|
|
20100
20121
|
return openBlock(), createBlock(p, {
|
|
20101
20122
|
"show-close": !0,
|
|
20102
20123
|
"append-to-body": !0,
|
|
@@ -20210,7 +20231,7 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20210
20231
|
onCurrentChange: i.handleCurrentChange
|
|
20211
20232
|
}, {
|
|
20212
20233
|
default: withCtx(() => [
|
|
20213
|
-
createVNode(
|
|
20234
|
+
createVNode(_, {
|
|
20214
20235
|
prop: "leftBracket",
|
|
20215
20236
|
label: "(",
|
|
20216
20237
|
width: "90"
|
|
@@ -20218,10 +20239,10 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20218
20239
|
default: withCtx((f) => [
|
|
20219
20240
|
createVNode(m, {
|
|
20220
20241
|
modelValue: f.row.leftBracket,
|
|
20221
|
-
"onUpdate:modelValue": (
|
|
20242
|
+
"onUpdate:modelValue": (g) => f.row.leftBracket = g,
|
|
20222
20243
|
size: "small",
|
|
20223
20244
|
clearable: "",
|
|
20224
|
-
onFocus: (
|
|
20245
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20225
20246
|
}, {
|
|
20226
20247
|
default: withCtx(() => [
|
|
20227
20248
|
createVNode(d, {
|
|
@@ -20246,26 +20267,26 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20246
20267
|
]),
|
|
20247
20268
|
_: 1
|
|
20248
20269
|
}),
|
|
20249
|
-
createVNode(
|
|
20270
|
+
createVNode(_, {
|
|
20250
20271
|
label: e.$t("workflowEditor.common.fieldName"),
|
|
20251
20272
|
width: "200"
|
|
20252
20273
|
}, {
|
|
20253
20274
|
default: withCtx((f) => [
|
|
20254
20275
|
createVNode(m, {
|
|
20255
20276
|
modelValue: f.row.propName,
|
|
20256
|
-
"onUpdate:modelValue": (
|
|
20277
|
+
"onUpdate:modelValue": (g) => f.row.propName = g,
|
|
20257
20278
|
"filter-method": i.searchField,
|
|
20258
20279
|
size: "small",
|
|
20259
20280
|
clearable: "",
|
|
20260
20281
|
filterable: "",
|
|
20261
|
-
onFocus: (
|
|
20262
|
-
onChange: (
|
|
20282
|
+
onFocus: (g) => i.selectRow(f.row),
|
|
20283
|
+
onChange: (g) => i.changeFieldName(f.$index)
|
|
20263
20284
|
}, {
|
|
20264
20285
|
default: withCtx(() => [
|
|
20265
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.attributeArr, (
|
|
20266
|
-
key:
|
|
20267
|
-
label:
|
|
20268
|
-
value:
|
|
20286
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.attributeArr, (g) => (openBlock(), createBlock(d, {
|
|
20287
|
+
key: g.value,
|
|
20288
|
+
label: g.label,
|
|
20289
|
+
value: g.value
|
|
20269
20290
|
}, null, 8, ["label", "value"]))), 128))
|
|
20270
20291
|
]),
|
|
20271
20292
|
_: 2
|
|
@@ -20273,23 +20294,23 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20273
20294
|
]),
|
|
20274
20295
|
_: 1
|
|
20275
20296
|
}, 8, ["label"]),
|
|
20276
|
-
createVNode(
|
|
20297
|
+
createVNode(_, {
|
|
20277
20298
|
label: e.$t("workflowEditor.common.operator"),
|
|
20278
20299
|
width: "110"
|
|
20279
20300
|
}, {
|
|
20280
20301
|
default: withCtx((f) => [
|
|
20281
20302
|
createVNode(m, {
|
|
20282
20303
|
modelValue: f.row.operator,
|
|
20283
|
-
"onUpdate:modelValue": (
|
|
20304
|
+
"onUpdate:modelValue": (g) => f.row.operator = g,
|
|
20284
20305
|
size: "small",
|
|
20285
20306
|
clearable: "",
|
|
20286
|
-
onFocus: (
|
|
20307
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20287
20308
|
}, {
|
|
20288
20309
|
default: withCtx(() => [
|
|
20289
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.operationArr[f.$index], (
|
|
20290
|
-
key:
|
|
20291
|
-
label:
|
|
20292
|
-
value:
|
|
20310
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.operationArr[f.$index], (g) => (openBlock(), createBlock(d, {
|
|
20311
|
+
key: g.name,
|
|
20312
|
+
label: g.label,
|
|
20313
|
+
value: g.name
|
|
20293
20314
|
}, null, 8, ["label", "value"]))), 128))
|
|
20294
20315
|
]),
|
|
20295
20316
|
_: 2
|
|
@@ -20297,16 +20318,16 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20297
20318
|
]),
|
|
20298
20319
|
_: 1
|
|
20299
20320
|
}, 8, ["label"]),
|
|
20300
|
-
createVNode(
|
|
20321
|
+
createVNode(_, {
|
|
20301
20322
|
label: e.$t("workflowEditor.common.value")
|
|
20302
20323
|
}, {
|
|
20303
20324
|
default: withCtx((f) => [
|
|
20304
20325
|
f.row.propValueType ? createCommentVNode("", !0) : (openBlock(), createBlock(m, {
|
|
20305
20326
|
key: 0,
|
|
20306
20327
|
modelValue: f.row.propValueType,
|
|
20307
|
-
"onUpdate:modelValue": (
|
|
20328
|
+
"onUpdate:modelValue": (g) => f.row.propValueType = g,
|
|
20308
20329
|
size: "small",
|
|
20309
|
-
onFocus: (
|
|
20330
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20310
20331
|
}, {
|
|
20311
20332
|
default: withCtx(() => [
|
|
20312
20333
|
createVNode(d, {
|
|
@@ -20343,15 +20364,15 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20343
20364
|
f.row.propValueType === "context" ? (openBlock(), createBlock(m, {
|
|
20344
20365
|
key: 1,
|
|
20345
20366
|
modelValue: f.row.propValue,
|
|
20346
|
-
"onUpdate:modelValue": (
|
|
20367
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20347
20368
|
clearable: "",
|
|
20348
20369
|
size: "small",
|
|
20349
20370
|
title: f.row.propValue,
|
|
20350
20371
|
filterable: "",
|
|
20351
20372
|
"default-first-option": "",
|
|
20352
20373
|
"allow-create": "",
|
|
20353
|
-
onChange: (
|
|
20354
|
-
onFocus: (
|
|
20374
|
+
onChange: (g) => i.changePropValue(f.$index),
|
|
20375
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20355
20376
|
}, {
|
|
20356
20377
|
default: withCtx(() => [
|
|
20357
20378
|
createVNode(d, {
|
|
@@ -20400,15 +20421,15 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20400
20421
|
f.row.propValueType === "task" ? (openBlock(), createBlock(m, {
|
|
20401
20422
|
key: 2,
|
|
20402
20423
|
modelValue: f.row.propValue,
|
|
20403
|
-
"onUpdate:modelValue": (
|
|
20424
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20404
20425
|
clearable: "",
|
|
20405
20426
|
size: "small",
|
|
20406
20427
|
title: f.row.propValue,
|
|
20407
20428
|
filterable: "",
|
|
20408
20429
|
"default-first-option": "",
|
|
20409
20430
|
"allow-create": "",
|
|
20410
|
-
onChange: (
|
|
20411
|
-
onFocus: (
|
|
20431
|
+
onChange: (g) => i.changePropValue(f.$index),
|
|
20432
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20412
20433
|
}, {
|
|
20413
20434
|
default: withCtx(() => [
|
|
20414
20435
|
createVNode(d, {
|
|
@@ -20437,61 +20458,61 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20437
20458
|
f.row.dataType === "DATE" && f.row.propValueType === "input" ? (openBlock(), createBlock(C, {
|
|
20438
20459
|
key: 3,
|
|
20439
20460
|
modelValue: f.row.propValue,
|
|
20440
|
-
"onUpdate:modelValue": (
|
|
20461
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20441
20462
|
size: "small",
|
|
20442
20463
|
clearable: "",
|
|
20443
20464
|
"value-format": "YYYY-MM-DD",
|
|
20444
20465
|
title: f.row.propValue,
|
|
20445
20466
|
type: "date",
|
|
20446
|
-
onChange: (
|
|
20467
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20447
20468
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
20448
20469
|
f.row.dataType === "TIME" && f.row.propValueType === "input" ? (openBlock(), createBlock(C, {
|
|
20449
20470
|
key: 4,
|
|
20450
20471
|
modelValue: f.row.propValue,
|
|
20451
|
-
"onUpdate:modelValue": (
|
|
20472
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20452
20473
|
size: "small",
|
|
20453
20474
|
title: f.row.propValue,
|
|
20454
20475
|
clearable: "",
|
|
20455
20476
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
20456
20477
|
type: "datetime",
|
|
20457
|
-
onChange: (
|
|
20478
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20458
20479
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
20459
20480
|
f.row.dataType !== "TIME" && f.row.dataType !== "DATE" && f.row.propValueType === "input" ? (openBlock(), createBlock(y, {
|
|
20460
20481
|
key: 5,
|
|
20461
20482
|
modelValue: f.row.propValue,
|
|
20462
|
-
"onUpdate:modelValue": (
|
|
20483
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20463
20484
|
modelModifiers: { trim: !0 },
|
|
20464
20485
|
title: f.row.propValue,
|
|
20465
20486
|
clearable: "",
|
|
20466
20487
|
size: "small",
|
|
20467
|
-
onChange: (
|
|
20488
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20468
20489
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
20469
20490
|
f.row.propValueType === "request" ? (openBlock(), createBlock(y, {
|
|
20470
20491
|
key: 6,
|
|
20471
20492
|
modelValue: f.row.propValue,
|
|
20472
|
-
"onUpdate:modelValue": (
|
|
20493
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20473
20494
|
modelModifiers: { trim: !0 },
|
|
20474
20495
|
title: f.row.propValue,
|
|
20475
20496
|
clearable: "",
|
|
20476
20497
|
size: "small",
|
|
20477
|
-
onChange: (
|
|
20498
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20478
20499
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
20479
20500
|
f.row.propValueType === "subObj" ? (openBlock(), createBlock(m, {
|
|
20480
20501
|
key: 7,
|
|
20481
20502
|
modelValue: f.row.propValue,
|
|
20482
|
-
"onUpdate:modelValue": (
|
|
20503
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20483
20504
|
title: f.row.propValue,
|
|
20484
20505
|
"filter-method": i.searchField,
|
|
20485
20506
|
size: "small",
|
|
20486
20507
|
clearable: "",
|
|
20487
20508
|
filterable: "",
|
|
20488
|
-
onChange: (
|
|
20509
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20489
20510
|
}, {
|
|
20490
20511
|
default: withCtx(() => [
|
|
20491
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.attributeArr, (
|
|
20492
|
-
key: "${subObj." +
|
|
20493
|
-
label:
|
|
20494
|
-
value: "${subObj." +
|
|
20512
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.attributeArr, (g) => (openBlock(), createBlock(d, {
|
|
20513
|
+
key: "${subObj." + g.value + "}",
|
|
20514
|
+
label: g.label,
|
|
20515
|
+
value: "${subObj." + g.value + "}"
|
|
20495
20516
|
}, null, 8, ["label", "value"]))), 128))
|
|
20496
20517
|
]),
|
|
20497
20518
|
_: 2
|
|
@@ -20499,18 +20520,18 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20499
20520
|
f.row.propValueType === "obj" ? (openBlock(), createBlock(m, {
|
|
20500
20521
|
key: 8,
|
|
20501
20522
|
modelValue: f.row.propValue,
|
|
20502
|
-
"onUpdate:modelValue": (
|
|
20523
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20503
20524
|
title: f.row.propValue,
|
|
20504
20525
|
size: "small",
|
|
20505
20526
|
clearable: "",
|
|
20506
20527
|
filterable: "",
|
|
20507
|
-
onChange: (
|
|
20528
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20508
20529
|
}, {
|
|
20509
20530
|
default: withCtx(() => [
|
|
20510
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.parentAttributeArr, (
|
|
20511
|
-
key: "${obj." +
|
|
20512
|
-
label:
|
|
20513
|
-
value: "${obj." +
|
|
20531
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.parentAttributeArr, (g) => (openBlock(), createBlock(d, {
|
|
20532
|
+
key: "${obj." + g.value + "}",
|
|
20533
|
+
label: g.label,
|
|
20534
|
+
value: "${obj." + g.value + "}"
|
|
20514
20535
|
}, null, 8, ["label", "value"]))), 128))
|
|
20515
20536
|
]),
|
|
20516
20537
|
_: 2
|
|
@@ -20518,18 +20539,18 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20518
20539
|
f.row.propValueType === "custom" ? (openBlock(), createBlock(m, {
|
|
20519
20540
|
key: 9,
|
|
20520
20541
|
modelValue: f.row.propValue,
|
|
20521
|
-
"onUpdate:modelValue": (
|
|
20542
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20522
20543
|
title: f.row.propValue,
|
|
20523
20544
|
size: "small",
|
|
20524
20545
|
clearable: "",
|
|
20525
20546
|
filterable: "",
|
|
20526
|
-
onChange: (
|
|
20547
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20527
20548
|
}, {
|
|
20528
20549
|
default: withCtx(() => [
|
|
20529
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(e.propSettingKeyList, (
|
|
20530
|
-
key: "${custom." +
|
|
20531
|
-
label:
|
|
20532
|
-
value: "${custom." +
|
|
20550
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(e.propSettingKeyList, (g) => (openBlock(), createBlock(d, {
|
|
20551
|
+
key: "${custom." + g + "}",
|
|
20552
|
+
label: g,
|
|
20553
|
+
value: "${custom." + g + "}"
|
|
20533
20554
|
}, null, 8, ["label", "value"]))), 128))
|
|
20534
20555
|
]),
|
|
20535
20556
|
_: 2
|
|
@@ -20537,7 +20558,7 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20537
20558
|
]),
|
|
20538
20559
|
_: 1
|
|
20539
20560
|
}, 8, ["label"]),
|
|
20540
|
-
createVNode(
|
|
20561
|
+
createVNode(_, {
|
|
20541
20562
|
prop: "rightBracket",
|
|
20542
20563
|
label: ")",
|
|
20543
20564
|
width: "90",
|
|
@@ -20546,7 +20567,7 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20546
20567
|
default: withCtx((f) => [
|
|
20547
20568
|
createVNode(m, {
|
|
20548
20569
|
modelValue: f.row.rightBracket,
|
|
20549
|
-
"onUpdate:modelValue": (
|
|
20570
|
+
"onUpdate:modelValue": (g) => f.row.rightBracket = g,
|
|
20550
20571
|
size: "small",
|
|
20551
20572
|
clearable: ""
|
|
20552
20573
|
}, {
|
|
@@ -20573,7 +20594,7 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20573
20594
|
]),
|
|
20574
20595
|
_: 1
|
|
20575
20596
|
}),
|
|
20576
|
-
createVNode(
|
|
20597
|
+
createVNode(_, {
|
|
20577
20598
|
label: e.$t("workflowEditorPublicModel.andOr"),
|
|
20578
20599
|
prop: "logicOperator",
|
|
20579
20600
|
width: "110"
|
|
@@ -20581,10 +20602,10 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20581
20602
|
default: withCtx((f) => [
|
|
20582
20603
|
createVNode(m, {
|
|
20583
20604
|
modelValue: f.row.logicOperator,
|
|
20584
|
-
"onUpdate:modelValue": (
|
|
20605
|
+
"onUpdate:modelValue": (g) => f.row.logicOperator = g,
|
|
20585
20606
|
size: "small",
|
|
20586
20607
|
clearable: "",
|
|
20587
|
-
onFocus: (
|
|
20608
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20588
20609
|
}, {
|
|
20589
20610
|
default: withCtx(() => [
|
|
20590
20611
|
createVNode(d, {
|
|
@@ -20783,7 +20804,7 @@ const selectionConditions = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render",
|
|
|
20783
20804
|
}
|
|
20784
20805
|
};
|
|
20785
20806
|
function _sfc_render$I(e, t, o, r, n, i) {
|
|
20786
|
-
const s = resolveComponent("Tools"), l = resolveComponent("el-icon"), a = resolveComponent("el-checkbox"), u = resolveComponent("el-col"), c = resolveComponent("el-row"), d = resolveComponent("el-checkbox-group"), m = resolveComponent("selection-conditions"),
|
|
20807
|
+
const s = resolveComponent("Tools"), l = resolveComponent("el-icon"), a = resolveComponent("el-checkbox"), u = resolveComponent("el-col"), c = resolveComponent("el-row"), d = resolveComponent("el-checkbox-group"), m = resolveComponent("selection-conditions"), _ = resolveComponent("el-button"), C = resolveComponent("el-table-column"), y = resolveComponent("el-option"), v = resolveComponent("el-select"), p = resolveComponent("el-radio"), f = resolveComponent("el-radio-group"), g = resolveComponent("el-table");
|
|
20787
20808
|
return openBlock(), createElementBlock("div", null, [
|
|
20788
20809
|
createElementVNode("div", null, [
|
|
20789
20810
|
createVNode(d, {
|
|
@@ -20893,7 +20914,7 @@ function _sfc_render$I(e, t, o, r, n, i) {
|
|
|
20893
20914
|
createElementVNode("div", null, [
|
|
20894
20915
|
createVNode(c, null, {
|
|
20895
20916
|
default: withCtx(() => [
|
|
20896
|
-
createVNode(
|
|
20917
|
+
createVNode(_, {
|
|
20897
20918
|
type: "primary",
|
|
20898
20919
|
size: "small",
|
|
20899
20920
|
plain: "",
|
|
@@ -20905,7 +20926,7 @@ function _sfc_render$I(e, t, o, r, n, i) {
|
|
|
20905
20926
|
]),
|
|
20906
20927
|
_: 1
|
|
20907
20928
|
}, 8, ["onClick"]),
|
|
20908
|
-
createVNode(
|
|
20929
|
+
createVNode(_, {
|
|
20909
20930
|
type: "primary",
|
|
20910
20931
|
size: "small",
|
|
20911
20932
|
plain: "",
|
|
@@ -20920,7 +20941,7 @@ function _sfc_render$I(e, t, o, r, n, i) {
|
|
|
20920
20941
|
]),
|
|
20921
20942
|
_: 1
|
|
20922
20943
|
}),
|
|
20923
|
-
createVNode(
|
|
20944
|
+
createVNode(g, {
|
|
20924
20945
|
ref: "table",
|
|
20925
20946
|
data: n.fieldArr,
|
|
20926
20947
|
border: "",
|
|
@@ -21149,7 +21170,7 @@ const editableChildFieldSetting = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["re
|
|
|
21149
21170
|
function _sfc_render$H(e, t, o, r, n, i) {
|
|
21150
21171
|
const s = resolveComponent("el-col"), l = resolveComponent("el-switch"), a = resolveComponent("el-row"), u = resolveComponent("el-input"), c = resolveComponent("el-button"), d = resolveComponent("editable-child-field-setting"), m = resolveComponent("el-card");
|
|
21151
21172
|
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
21152
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(e.subtableConditionMap, (
|
|
21173
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(e.subtableConditionMap, (_, C) => (openBlock(), createElementBlock("span", { key: C }, [
|
|
21153
21174
|
createVNode(m, { class: "box-card" }, {
|
|
21154
21175
|
default: withCtx(() => [
|
|
21155
21176
|
createElementVNode("div", _hoisted_2$c, [
|
|
@@ -21491,7 +21512,7 @@ const SystemRoleTree = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc
|
|
|
21491
21512
|
style: { width: "100%", "vertical-align": "middle" }
|
|
21492
21513
|
}, _hoisted_2$b = { class: "el-dropdown-link" }, _hoisted_3$2 = /* @__PURE__ */ createElementVNode("i", { class: "fa fa-search" }, null, -1);
|
|
21493
21514
|
function _sfc_render$F(e, t, o, r, n, i) {
|
|
21494
|
-
const s = resolveComponent("el-checkbox"), l = resolveComponent("el-checkbox-group"), a = resolveComponent("el-col"), u = resolveComponent("el-dropdown-item"), c = resolveComponent("el-dropdown-menu"), d = resolveComponent("el-dropdown"), m = resolveComponent("el-button"),
|
|
21515
|
+
const s = resolveComponent("el-checkbox"), l = resolveComponent("el-checkbox-group"), a = resolveComponent("el-col"), u = resolveComponent("el-dropdown-item"), c = resolveComponent("el-dropdown-menu"), d = resolveComponent("el-dropdown"), m = resolveComponent("el-button"), _ = resolveComponent("el-row"), C = resolveComponent("el-input"), y = resolveComponent("department-user-tree"), v = resolveComponent("department-tree"), p = resolveComponent("workgroup-tree"), f = resolveComponent("system-role-tree"), g = resolveComponent("form-fields"), E = resolveComponent("el-form-item");
|
|
21495
21516
|
return openBlock(), createBlock(E, {
|
|
21496
21517
|
label: o.label,
|
|
21497
21518
|
"label-width": o.labelWidth
|
|
@@ -21551,7 +21572,7 @@ function _sfc_render$F(e, t, o, r, n, i) {
|
|
|
21551
21572
|
n.showUserList ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
21552
21573
|
createVNode(a, null, {
|
|
21553
21574
|
default: withCtx(() => [
|
|
21554
|
-
createVNode(
|
|
21575
|
+
createVNode(_, null, {
|
|
21555
21576
|
default: withCtx(() => [
|
|
21556
21577
|
createVNode(a, { span: 4 }, {
|
|
21557
21578
|
default: withCtx(() => [
|
|
@@ -21654,7 +21675,7 @@ function _sfc_render$F(e, t, o, r, n, i) {
|
|
|
21654
21675
|
]),
|
|
21655
21676
|
_: 1
|
|
21656
21677
|
}),
|
|
21657
|
-
createVNode(
|
|
21678
|
+
createVNode(_, null, {
|
|
21658
21679
|
default: withCtx(() => [
|
|
21659
21680
|
createVNode(a, null, {
|
|
21660
21681
|
default: withCtx(() => [
|
|
@@ -21697,7 +21718,7 @@ function _sfc_render$F(e, t, o, r, n, i) {
|
|
|
21697
21718
|
multiple: !0,
|
|
21698
21719
|
onClose: i.addPointRoles
|
|
21699
21720
|
}, null, 8, ["onClose"])) : createCommentVNode("", !0),
|
|
21700
|
-
n.showSelectField ? (openBlock(), createBlock(
|
|
21721
|
+
n.showSelectField ? (openBlock(), createBlock(g, {
|
|
21701
21722
|
key: 4,
|
|
21702
21723
|
onClose: i.setField
|
|
21703
21724
|
}, null, 8, ["onClose"])) : createCommentVNode("", !0)
|
|
@@ -21778,7 +21799,7 @@ const UserSelection = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_
|
|
|
21778
21799
|
methods: {}
|
|
21779
21800
|
};
|
|
21780
21801
|
function _sfc_render$E(e, t, o, r, n, i) {
|
|
21781
|
-
const s = resolveComponent("el-switch"), l = resolveComponent("el-form-item"), a = resolveComponent("editable-fields"), u = resolveComponent("editable-child-fields"), c = resolveComponent("el-checkbox"), d = resolveComponent("additional-condition"), m = resolveComponent("user-selection"),
|
|
21802
|
+
const s = resolveComponent("el-switch"), l = resolveComponent("el-form-item"), a = resolveComponent("editable-fields"), u = resolveComponent("editable-child-fields"), c = resolveComponent("el-checkbox"), d = resolveComponent("additional-condition"), m = resolveComponent("user-selection"), _ = resolveComponent("el-card"), C = resolveComponent("el-form");
|
|
21782
21803
|
return openBlock(), createBlock(C, { model: n.formModel }, {
|
|
21783
21804
|
default: withCtx(() => [
|
|
21784
21805
|
createVNode(l, {
|
|
@@ -22051,7 +22072,7 @@ function _sfc_render$E(e, t, o, r, n, i) {
|
|
|
22051
22072
|
]),
|
|
22052
22073
|
_: 1
|
|
22053
22074
|
}, 8, ["label"]),
|
|
22054
|
-
n.formModel.attachment.permission ? (openBlock(), createBlock(
|
|
22075
|
+
n.formModel.attachment.permission ? (openBlock(), createBlock(_, {
|
|
22055
22076
|
key: 0,
|
|
22056
22077
|
class: "box-card"
|
|
22057
22078
|
}, {
|
|
@@ -22250,8 +22271,8 @@ const PermissionSettings$2 = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render"
|
|
|
22250
22271
|
style: { width: "100%" }
|
|
22251
22272
|
}, _hoisted_2$a = { key: 1 }, _hoisted_3$1 = { key: 0 };
|
|
22252
22273
|
function _sfc_render$D(e, t, o, r, n, i) {
|
|
22253
|
-
const s = resolveComponent("el-radio"), l = resolveComponent("el-radio-group"), a = resolveComponent("common-user-condition"), u = resolveComponent("el-form-item"), c = resolveComponent("el-input"), d = resolveComponent("form-fields"), m = resolveComponent("el-checkbox"),
|
|
22254
|
-
return openBlock(), createBlock(
|
|
22274
|
+
const s = resolveComponent("el-radio"), l = resolveComponent("el-radio-group"), a = resolveComponent("common-user-condition"), u = resolveComponent("el-form-item"), c = resolveComponent("el-input"), d = resolveComponent("form-fields"), m = resolveComponent("el-checkbox"), _ = resolveComponent("el-form");
|
|
22275
|
+
return openBlock(), createBlock(_, { model: n.formModel }, {
|
|
22255
22276
|
default: withCtx(() => [
|
|
22256
22277
|
createVNode(u, { label: "" }, {
|
|
22257
22278
|
default: withCtx(() => [
|
|
@@ -22617,9 +22638,9 @@ const TransactorSettings = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render",
|
|
|
22617
22638
|
}
|
|
22618
22639
|
};
|
|
22619
22640
|
function _sfc_render$C(e, t, o, r, n, i) {
|
|
22620
|
-
const s = resolveComponent("el-button"), l = resolveComponent("el-row"), a = resolveComponent("el-table-column"), u = resolveComponent("el-input"), c = resolveComponent("el-option"), d = resolveComponent("el-select"), m = resolveComponent("el-table"),
|
|
22641
|
+
const s = resolveComponent("el-button"), l = resolveComponent("el-row"), a = resolveComponent("el-table-column"), u = resolveComponent("el-input"), c = resolveComponent("el-option"), d = resolveComponent("el-select"), m = resolveComponent("el-table"), _ = resolveComponent("el-card"), C = resolveComponent("el-form-item"), y = resolveComponent("form-fields");
|
|
22621
22642
|
return openBlock(), createElementBlock("div", null, [
|
|
22622
|
-
createVNode(
|
|
22643
|
+
createVNode(_, { class: "box-card" }, {
|
|
22623
22644
|
header: withCtx(() => [
|
|
22624
22645
|
createTextVNode(" 表单自动填充字段设置 ")
|
|
22625
22646
|
]),
|
|
@@ -22781,7 +22802,7 @@ function _sfc_render$C(e, t, o, r, n, i) {
|
|
|
22781
22802
|
]),
|
|
22782
22803
|
_: 1
|
|
22783
22804
|
}),
|
|
22784
|
-
createVNode(
|
|
22805
|
+
createVNode(_, {
|
|
22785
22806
|
class: "box-card",
|
|
22786
22807
|
style: { "margin-top": "10px" }
|
|
22787
22808
|
}, {
|
|
@@ -23248,7 +23269,7 @@ const CommonNoticeTool = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _s
|
|
|
23248
23269
|
}
|
|
23249
23270
|
}, _hoisted_1$b = { key: 0 }, _hoisted_2$9 = { key: 2 };
|
|
23250
23271
|
function _sfc_render$y(e, t, o, r, n, i) {
|
|
23251
|
-
const s = resolveComponent("el-switch"), l = resolveComponent("el-form-item"), a = resolveComponent("common-notice-tool"), u = resolveComponent("select-mail-templates"), c = resolveComponent("el-input-number"), d = resolveComponent("el-option"), m = resolveComponent("el-select"),
|
|
23272
|
+
const s = resolveComponent("el-switch"), l = resolveComponent("el-form-item"), a = resolveComponent("common-notice-tool"), u = resolveComponent("select-mail-templates"), c = resolveComponent("el-input-number"), d = resolveComponent("el-option"), m = resolveComponent("el-select"), _ = resolveComponent("el-radio"), C = resolveComponent("el-checkbox"), y = resolveComponent("common-user-condition"), v = resolveComponent("el-form");
|
|
23252
23273
|
return openBlock(), createBlock(v, {
|
|
23253
23274
|
model: n.model,
|
|
23254
23275
|
"label-width": "80px"
|
|
@@ -23362,7 +23383,7 @@ function _sfc_render$y(e, t, o, r, n, i) {
|
|
|
23362
23383
|
}, 8, ["label"]),
|
|
23363
23384
|
createVNode(l, null, {
|
|
23364
23385
|
default: withCtx(() => [
|
|
23365
|
-
createVNode(
|
|
23386
|
+
createVNode(_, {
|
|
23366
23387
|
modelValue: n.showNotice,
|
|
23367
23388
|
"onUpdate:modelValue": t[8] || (t[8] = (p) => n.showNotice = p),
|
|
23368
23389
|
label: !1
|
|
@@ -23372,7 +23393,7 @@ function _sfc_render$y(e, t, o, r, n, i) {
|
|
|
23372
23393
|
]),
|
|
23373
23394
|
_: 1
|
|
23374
23395
|
}, 8, ["modelValue"]),
|
|
23375
|
-
createVNode(
|
|
23396
|
+
createVNode(_, {
|
|
23376
23397
|
modelValue: n.showNotice,
|
|
23377
23398
|
"onUpdate:modelValue": t[9] || (t[9] = (p) => n.showNotice = p),
|
|
23378
23399
|
label: !0
|
|
@@ -23522,9 +23543,9 @@ const Reminder = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_rende
|
|
|
23522
23543
|
}
|
|
23523
23544
|
}, _hoisted_1$a = { class: "clearfix" }, _hoisted_2$8 = { class: "sub-li" }, _hoisted_3 = { class: "sub-li" }, _hoisted_4 = { class: "clearfix" }, _hoisted_5 = { class: "sub-li" }, _hoisted_6 = { class: "sub-li" }, _hoisted_7 = { class: "sub-li" }, _hoisted_8 = { class: "sub-li" };
|
|
23524
23545
|
function _sfc_render$x(e, t, o, r, n, i) {
|
|
23525
|
-
const s = resolveComponent("Warning"), l = resolveComponent("el-icon"), a = resolveComponent("el-tooltip"), u = resolveComponent("common-notice-tool"), c = resolveComponent("select-mail-templates"), d = resolveComponent("el-form-item"), m = resolveComponent("el-form"),
|
|
23546
|
+
const s = resolveComponent("Warning"), l = resolveComponent("el-icon"), a = resolveComponent("el-tooltip"), u = resolveComponent("common-notice-tool"), c = resolveComponent("select-mail-templates"), d = resolveComponent("el-form-item"), m = resolveComponent("el-form"), _ = resolveComponent("el-card"), C = resolveComponent("reminder");
|
|
23526
23547
|
return openBlock(), createElementBlock("div", null, [
|
|
23527
|
-
createVNode(
|
|
23548
|
+
createVNode(_, { class: "box-card" }, {
|
|
23528
23549
|
header: withCtx(() => [
|
|
23529
23550
|
createElementVNode("div", _hoisted_1$a, [
|
|
23530
23551
|
createElementVNode("span", null, toDisplayString$1(e.$t("workflowEditor.common.taskNotice")), 1),
|
|
@@ -23595,7 +23616,7 @@ function _sfc_render$x(e, t, o, r, n, i) {
|
|
|
23595
23616
|
]),
|
|
23596
23617
|
_: 1
|
|
23597
23618
|
}),
|
|
23598
|
-
createVNode(
|
|
23619
|
+
createVNode(_, {
|
|
23599
23620
|
class: "box-card",
|
|
23600
23621
|
style: { "margin-top": "10px" }
|
|
23601
23622
|
}, {
|
|
@@ -23678,7 +23699,7 @@ const NoticeReminder = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc
|
|
|
23678
23699
|
}
|
|
23679
23700
|
};
|
|
23680
23701
|
function _sfc_render$w(e, t, o, r, n, i) {
|
|
23681
|
-
const s = resolveComponent("basic-properties"), l = resolveComponent("el-tab-pane"), a = resolveComponent("transactor-settings"), u = resolveComponent("permission-settings"), c = resolveComponent("auto-filled-fields"), d = resolveComponent("notice-reminder"), m = resolveComponent("events"),
|
|
23702
|
+
const s = resolveComponent("basic-properties"), l = resolveComponent("el-tab-pane"), a = resolveComponent("transactor-settings"), u = resolveComponent("permission-settings"), c = resolveComponent("auto-filled-fields"), d = resolveComponent("notice-reminder"), m = resolveComponent("events"), _ = resolveComponent("variables"), C = resolveComponent("el-tabs"), y = resolveComponent("el-dialog");
|
|
23682
23703
|
return openBlock(), createBlock(y, {
|
|
23683
23704
|
"model-value": "",
|
|
23684
23705
|
top: "10vh",
|
|
@@ -23782,7 +23803,7 @@ function _sfc_render$w(e, t, o, r, n, i) {
|
|
|
23782
23803
|
name: "variables"
|
|
23783
23804
|
}, {
|
|
23784
23805
|
default: withCtx(() => [
|
|
23785
|
-
createVNode(
|
|
23806
|
+
createVNode(_, {
|
|
23786
23807
|
modelValue: o.model.ref.variables,
|
|
23787
23808
|
"onUpdate:modelValue": t[7] || (t[7] = (v) => o.model.ref.variables = v)
|
|
23788
23809
|
}, null, 8, ["modelValue"])
|
|
@@ -23903,7 +23924,7 @@ function requireString_decoder() {
|
|
|
23903
23924
|
this.fillLast = a, f = 4;
|
|
23904
23925
|
break;
|
|
23905
23926
|
case "base64":
|
|
23906
|
-
this.text =
|
|
23927
|
+
this.text = _, this.end = C, f = 3;
|
|
23907
23928
|
break;
|
|
23908
23929
|
default:
|
|
23909
23930
|
this.write = y, this.end = v;
|
|
@@ -23914,14 +23935,14 @@ function requireString_decoder() {
|
|
|
23914
23935
|
n.prototype.write = function(p) {
|
|
23915
23936
|
if (p.length === 0)
|
|
23916
23937
|
return "";
|
|
23917
|
-
var f,
|
|
23938
|
+
var f, g;
|
|
23918
23939
|
if (this.lastNeed) {
|
|
23919
23940
|
if (f = this.fillLast(p), f === void 0)
|
|
23920
23941
|
return "";
|
|
23921
|
-
|
|
23942
|
+
g = this.lastNeed, this.lastNeed = 0;
|
|
23922
23943
|
} else
|
|
23923
|
-
|
|
23924
|
-
return
|
|
23944
|
+
g = 0;
|
|
23945
|
+
return g < p.length ? f ? f + this.text(p, g) : this.text(p, g) : f || "";
|
|
23925
23946
|
}, n.prototype.end = c, n.prototype.text = u, n.prototype.fillLast = function(p) {
|
|
23926
23947
|
if (this.lastNeed <= p.length)
|
|
23927
23948
|
return p.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
@@ -23930,14 +23951,14 @@ function requireString_decoder() {
|
|
|
23930
23951
|
function i(p) {
|
|
23931
23952
|
return p <= 127 ? 0 : p >> 5 === 6 ? 2 : p >> 4 === 14 ? 3 : p >> 3 === 30 ? 4 : p >> 6 === 2 ? -1 : -2;
|
|
23932
23953
|
}
|
|
23933
|
-
function s(p, f,
|
|
23954
|
+
function s(p, f, g) {
|
|
23934
23955
|
var E = f.length - 1;
|
|
23935
|
-
if (E <
|
|
23956
|
+
if (E < g)
|
|
23936
23957
|
return 0;
|
|
23937
23958
|
var k = i(f[E]);
|
|
23938
|
-
return k >= 0 ? (k > 0 && (p.lastNeed = k - 1), k) : --E <
|
|
23959
|
+
return k >= 0 ? (k > 0 && (p.lastNeed = k - 1), k) : --E < g || k === -2 ? 0 : (k = i(f[E]), k >= 0 ? (k > 0 && (p.lastNeed = k - 2), k) : --E < g || k === -2 ? 0 : (k = i(f[E]), k >= 0 ? (k > 0 && (k === 2 ? k = 0 : p.lastNeed = k - 3), k) : 0));
|
|
23939
23960
|
}
|
|
23940
|
-
function l(p, f,
|
|
23961
|
+
function l(p, f, g) {
|
|
23941
23962
|
if ((f[0] & 192) !== 128)
|
|
23942
23963
|
return p.lastNeed = 0, "�";
|
|
23943
23964
|
if (p.lastNeed > 1 && f.length > 1) {
|
|
@@ -23948,19 +23969,19 @@ function requireString_decoder() {
|
|
|
23948
23969
|
}
|
|
23949
23970
|
}
|
|
23950
23971
|
function a(p) {
|
|
23951
|
-
var f = this.lastTotal - this.lastNeed,
|
|
23952
|
-
if (
|
|
23953
|
-
return
|
|
23972
|
+
var f = this.lastTotal - this.lastNeed, g = l(this, p);
|
|
23973
|
+
if (g !== void 0)
|
|
23974
|
+
return g;
|
|
23954
23975
|
if (this.lastNeed <= p.length)
|
|
23955
23976
|
return p.copy(this.lastChar, f, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
23956
23977
|
p.copy(this.lastChar, f, 0, p.length), this.lastNeed -= p.length;
|
|
23957
23978
|
}
|
|
23958
23979
|
function u(p, f) {
|
|
23959
|
-
var
|
|
23980
|
+
var g = s(this, p, f);
|
|
23960
23981
|
if (!this.lastNeed)
|
|
23961
23982
|
return p.toString("utf8", f);
|
|
23962
|
-
this.lastTotal =
|
|
23963
|
-
var E = p.length - (
|
|
23983
|
+
this.lastTotal = g;
|
|
23984
|
+
var E = p.length - (g - this.lastNeed);
|
|
23964
23985
|
return p.copy(this.lastChar, 0, E), p.toString("utf8", f, E);
|
|
23965
23986
|
}
|
|
23966
23987
|
function c(p) {
|
|
@@ -23969,27 +23990,27 @@ function requireString_decoder() {
|
|
|
23969
23990
|
}
|
|
23970
23991
|
function d(p, f) {
|
|
23971
23992
|
if ((p.length - f) % 2 === 0) {
|
|
23972
|
-
var
|
|
23973
|
-
if (
|
|
23974
|
-
var E =
|
|
23993
|
+
var g = p.toString("utf16le", f);
|
|
23994
|
+
if (g) {
|
|
23995
|
+
var E = g.charCodeAt(g.length - 1);
|
|
23975
23996
|
if (E >= 55296 && E <= 56319)
|
|
23976
|
-
return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = p[p.length - 2], this.lastChar[1] = p[p.length - 1],
|
|
23997
|
+
return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = p[p.length - 2], this.lastChar[1] = p[p.length - 1], g.slice(0, -1);
|
|
23977
23998
|
}
|
|
23978
|
-
return
|
|
23999
|
+
return g;
|
|
23979
24000
|
}
|
|
23980
24001
|
return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = p[p.length - 1], p.toString("utf16le", f, p.length - 1);
|
|
23981
24002
|
}
|
|
23982
24003
|
function m(p) {
|
|
23983
24004
|
var f = p && p.length ? this.write(p) : "";
|
|
23984
24005
|
if (this.lastNeed) {
|
|
23985
|
-
var
|
|
23986
|
-
return f + this.lastChar.toString("utf16le", 0,
|
|
24006
|
+
var g = this.lastTotal - this.lastNeed;
|
|
24007
|
+
return f + this.lastChar.toString("utf16le", 0, g);
|
|
23987
24008
|
}
|
|
23988
24009
|
return f;
|
|
23989
24010
|
}
|
|
23990
|
-
function
|
|
23991
|
-
var
|
|
23992
|
-
return
|
|
24011
|
+
function _(p, f) {
|
|
24012
|
+
var g = (p.length - f) % 3;
|
|
24013
|
+
return g === 0 ? p.toString("base64", f) : (this.lastNeed = 3 - g, this.lastTotal = 3, g === 1 ? this.lastChar[0] = p[p.length - 1] : (this.lastChar[0] = p[p.length - 2], this.lastChar[1] = p[p.length - 1]), p.toString("base64", f, p.length - g));
|
|
23993
24014
|
}
|
|
23994
24015
|
function C(p) {
|
|
23995
24016
|
var f = p && p.length ? this.write(p) : "";
|
|
@@ -24005,8 +24026,8 @@ function requireString_decoder() {
|
|
|
24005
24026
|
}
|
|
24006
24027
|
(function(e) {
|
|
24007
24028
|
(function(t) {
|
|
24008
|
-
t.parser = function(b,
|
|
24009
|
-
return new r(b,
|
|
24029
|
+
t.parser = function(b, w) {
|
|
24030
|
+
return new r(b, w);
|
|
24010
24031
|
}, t.SAXParser = r, t.SAXStream = c, t.createStream = u, t.MAX_BUFFER_LENGTH = 64 * 1024;
|
|
24011
24032
|
var o = [
|
|
24012
24033
|
"comment",
|
|
@@ -24042,28 +24063,28 @@ function requireString_decoder() {
|
|
|
24042
24063
|
"opennamespace",
|
|
24043
24064
|
"closenamespace"
|
|
24044
24065
|
];
|
|
24045
|
-
function r(b,
|
|
24066
|
+
function r(b, w) {
|
|
24046
24067
|
if (!(this instanceof r))
|
|
24047
|
-
return new r(b,
|
|
24068
|
+
return new r(b, w);
|
|
24048
24069
|
var $ = this;
|
|
24049
|
-
i($), $.q = $.c = "", $.bufferCheckPosition = t.MAX_BUFFER_LENGTH, $.opt =
|
|
24070
|
+
i($), $.q = $.c = "", $.bufferCheckPosition = t.MAX_BUFFER_LENGTH, $.opt = w || {}, $.opt.lowercase = $.opt.lowercase || $.opt.lowercasetags, $.looseCase = $.opt.lowercase ? "toLowerCase" : "toUpperCase", $.tags = [], $.closed = $.closedRoot = $.sawRoot = !1, $.tag = $.error = null, $.strict = !!b, $.noscript = !!(b || $.opt.noscript), $.state = S.BEGIN, $.strictEntities = $.opt.strictEntities, $.ENTITIES = $.strictEntities ? Object.create(t.XML_ENTITIES) : Object.create(t.ENTITIES), $.attribList = [], $.opt.xmlns && ($.ns = Object.create(y)), $.trackPosition = $.opt.position !== !1, $.trackPosition && ($.position = $.line = $.column = 0), H($, "onready");
|
|
24050
24071
|
}
|
|
24051
24072
|
Object.create || (Object.create = function(b) {
|
|
24052
|
-
function
|
|
24073
|
+
function w() {
|
|
24053
24074
|
}
|
|
24054
|
-
|
|
24055
|
-
var $ = new
|
|
24075
|
+
w.prototype = b;
|
|
24076
|
+
var $ = new w();
|
|
24056
24077
|
return $;
|
|
24057
24078
|
}), Object.keys || (Object.keys = function(b) {
|
|
24058
|
-
var
|
|
24079
|
+
var w = [];
|
|
24059
24080
|
for (var $ in b)
|
|
24060
|
-
b.hasOwnProperty($) &&
|
|
24061
|
-
return
|
|
24081
|
+
b.hasOwnProperty($) && w.push($);
|
|
24082
|
+
return w;
|
|
24062
24083
|
});
|
|
24063
24084
|
function n(b) {
|
|
24064
|
-
for (var
|
|
24085
|
+
for (var w = Math.max(t.MAX_BUFFER_LENGTH, 10), $ = 0, V = 0, R = o.length; V < R; V++) {
|
|
24065
24086
|
var U = b[o[V]].length;
|
|
24066
|
-
if (U >
|
|
24087
|
+
if (U > w)
|
|
24067
24088
|
switch (o[V]) {
|
|
24068
24089
|
case "textNode":
|
|
24069
24090
|
G(b);
|
|
@@ -24083,8 +24104,8 @@ function requireString_decoder() {
|
|
|
24083
24104
|
b.bufferCheckPosition = N + b.position;
|
|
24084
24105
|
}
|
|
24085
24106
|
function i(b) {
|
|
24086
|
-
for (var
|
|
24087
|
-
b[o[
|
|
24107
|
+
for (var w = 0, $ = o.length; w < $; w++)
|
|
24108
|
+
b[o[w]] = "";
|
|
24088
24109
|
}
|
|
24089
24110
|
function s(b) {
|
|
24090
24111
|
G(b), b.cdata !== "" && (L(b, "oncdata", b.cdata), b.cdata = ""), b.script !== "" && (L(b, "onscript", b.script), b.script = "");
|
|
@@ -24116,13 +24137,13 @@ function requireString_decoder() {
|
|
|
24116
24137
|
var a = t.EVENTS.filter(function(b) {
|
|
24117
24138
|
return b !== "error" && b !== "end";
|
|
24118
24139
|
});
|
|
24119
|
-
function u(b,
|
|
24120
|
-
return new c(b,
|
|
24140
|
+
function u(b, w) {
|
|
24141
|
+
return new c(b, w);
|
|
24121
24142
|
}
|
|
24122
|
-
function c(b,
|
|
24143
|
+
function c(b, w) {
|
|
24123
24144
|
if (!(this instanceof c))
|
|
24124
|
-
return new c(b,
|
|
24125
|
-
l.apply(this), this._parser = new r(b,
|
|
24145
|
+
return new c(b, w);
|
|
24146
|
+
l.apply(this), this._parser = new r(b, w), this.writable = !0, this.readable = !0;
|
|
24126
24147
|
var $ = this;
|
|
24127
24148
|
this._parser.onend = function() {
|
|
24128
24149
|
$.emit("end");
|
|
@@ -24150,22 +24171,22 @@ function requireString_decoder() {
|
|
|
24150
24171
|
}), c.prototype.write = function(b) {
|
|
24151
24172
|
if (typeof Buffer == "function" && typeof Buffer.isBuffer == "function" && Buffer.isBuffer(b)) {
|
|
24152
24173
|
if (!this._decoder) {
|
|
24153
|
-
var
|
|
24154
|
-
this._decoder = new
|
|
24174
|
+
var w = requireString_decoder().StringDecoder;
|
|
24175
|
+
this._decoder = new w("utf8");
|
|
24155
24176
|
}
|
|
24156
24177
|
b = this._decoder.write(b);
|
|
24157
24178
|
}
|
|
24158
24179
|
return this._parser.write(b.toString()), this.emit("data", b), !0;
|
|
24159
24180
|
}, c.prototype.end = function(b) {
|
|
24160
24181
|
return b && b.length && this.write(b), this._parser.end(), !0;
|
|
24161
|
-
}, c.prototype.on = function(b,
|
|
24182
|
+
}, c.prototype.on = function(b, w) {
|
|
24162
24183
|
var $ = this;
|
|
24163
24184
|
return !$._parser["on" + b] && a.indexOf(b) !== -1 && ($._parser["on" + b] = function() {
|
|
24164
24185
|
var V = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
|
|
24165
24186
|
V.splice(0, 0, b), $.emit.apply($, V);
|
|
24166
|
-
}), l.prototype.on.call($, b,
|
|
24187
|
+
}), l.prototype.on.call($, b, w);
|
|
24167
24188
|
};
|
|
24168
|
-
var d = "[CDATA[", m = "DOCTYPE",
|
|
24189
|
+
var d = "[CDATA[", m = "DOCTYPE", _ = "http://www.w3.org/XML/1998/namespace", C = "http://www.w3.org/2000/xmlns/", y = { xml: _, xmlns: C }, v = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, p = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, f = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, g = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
|
|
24169
24190
|
function E(b) {
|
|
24170
24191
|
return b === " " || b === `
|
|
24171
24192
|
` || b === "\r" || b === " ";
|
|
@@ -24176,11 +24197,11 @@ function requireString_decoder() {
|
|
|
24176
24197
|
function P(b) {
|
|
24177
24198
|
return b === ">" || E(b);
|
|
24178
24199
|
}
|
|
24179
|
-
function O(b,
|
|
24180
|
-
return b.test(
|
|
24200
|
+
function O(b, w) {
|
|
24201
|
+
return b.test(w);
|
|
24181
24202
|
}
|
|
24182
|
-
function D(b,
|
|
24183
|
-
return !O(b,
|
|
24203
|
+
function D(b, w) {
|
|
24204
|
+
return !O(b, w);
|
|
24184
24205
|
}
|
|
24185
24206
|
var S = 0;
|
|
24186
24207
|
t.STATE = {
|
|
@@ -24517,46 +24538,46 @@ function requireString_decoder() {
|
|
|
24517
24538
|
hearts: 9829,
|
|
24518
24539
|
diams: 9830
|
|
24519
24540
|
}, Object.keys(t.ENTITIES).forEach(function(b) {
|
|
24520
|
-
var
|
|
24541
|
+
var w = t.ENTITIES[b], $ = typeof w == "number" ? String.fromCharCode(w) : w;
|
|
24521
24542
|
t.ENTITIES[b] = $;
|
|
24522
24543
|
});
|
|
24523
24544
|
for (var B in t.STATE)
|
|
24524
24545
|
t.STATE[t.STATE[B]] = B;
|
|
24525
24546
|
S = t.STATE;
|
|
24526
|
-
function H(b,
|
|
24527
|
-
b[
|
|
24547
|
+
function H(b, w, $) {
|
|
24548
|
+
b[w] && b[w]($);
|
|
24528
24549
|
}
|
|
24529
|
-
function L(b,
|
|
24530
|
-
b.textNode && G(b), H(b,
|
|
24550
|
+
function L(b, w, $) {
|
|
24551
|
+
b.textNode && G(b), H(b, w, $);
|
|
24531
24552
|
}
|
|
24532
24553
|
function G(b) {
|
|
24533
24554
|
b.textNode = ne(b.opt, b.textNode), b.textNode && H(b, "ontext", b.textNode), b.textNode = "";
|
|
24534
24555
|
}
|
|
24535
|
-
function ne(b,
|
|
24536
|
-
return b.trim && (
|
|
24556
|
+
function ne(b, w) {
|
|
24557
|
+
return b.trim && (w = w.trim()), b.normalize && (w = w.replace(/\s+/g, " ")), w;
|
|
24537
24558
|
}
|
|
24538
|
-
function re(b,
|
|
24539
|
-
return G(b), b.trackPosition && (
|
|
24559
|
+
function re(b, w) {
|
|
24560
|
+
return G(b), b.trackPosition && (w += `
|
|
24540
24561
|
Line: ` + b.line + `
|
|
24541
24562
|
Column: ` + b.column + `
|
|
24542
|
-
Char: ` + b.c),
|
|
24563
|
+
Char: ` + b.c), w = new Error(w), b.error = w, H(b, "onerror", w), b;
|
|
24543
24564
|
}
|
|
24544
24565
|
function te(b) {
|
|
24545
24566
|
return b.sawRoot && !b.closedRoot && j(b, "Unclosed root tag"), b.state !== S.BEGIN && b.state !== S.BEGIN_WHITESPACE && b.state !== S.TEXT && re(b, "Unexpected end"), G(b), b.c = "", b.closed = !0, H(b, "onend"), r.call(b, b.strict, b.opt), b;
|
|
24546
24567
|
}
|
|
24547
|
-
function j(b,
|
|
24568
|
+
function j(b, w) {
|
|
24548
24569
|
if (typeof b != "object" || !(b instanceof r))
|
|
24549
24570
|
throw new Error("bad call to strictFail");
|
|
24550
|
-
b.strict && re(b,
|
|
24571
|
+
b.strict && re(b, w);
|
|
24551
24572
|
}
|
|
24552
24573
|
function z(b) {
|
|
24553
24574
|
b.strict || (b.tagName = b.tagName[b.looseCase]());
|
|
24554
|
-
var
|
|
24555
|
-
b.opt.xmlns && ($.ns =
|
|
24575
|
+
var w = b.tags[b.tags.length - 1] || b, $ = b.tag = { name: b.tagName, attributes: {} };
|
|
24576
|
+
b.opt.xmlns && ($.ns = w.ns), b.attribList.length = 0, L(b, "onopentagstart", $);
|
|
24556
24577
|
}
|
|
24557
|
-
function Y(b,
|
|
24578
|
+
function Y(b, w) {
|
|
24558
24579
|
var $ = b.indexOf(":"), V = $ < 0 ? ["", b] : b.split(":"), R = V[0], U = V[1];
|
|
24559
|
-
return
|
|
24580
|
+
return w && b === "xmlns" && (R = "xmlns", U = ""), { prefix: R, local: U };
|
|
24560
24581
|
}
|
|
24561
24582
|
function q(b) {
|
|
24562
24583
|
if (b.strict || (b.attribName = b.attribName[b.looseCase]()), b.attribList.indexOf(b.attribName) !== -1 || b.tag.attributes.hasOwnProperty(b.attribName)) {
|
|
@@ -24564,12 +24585,12 @@ Char: ` + b.c), _ = new Error(_), b.error = _, H(b, "onerror", _), b;
|
|
|
24564
24585
|
return;
|
|
24565
24586
|
}
|
|
24566
24587
|
if (b.opt.xmlns) {
|
|
24567
|
-
var
|
|
24588
|
+
var w = Y(b.attribName, !0), $ = w.prefix, V = w.local;
|
|
24568
24589
|
if ($ === "xmlns")
|
|
24569
|
-
if (V === "xml" && b.attribValue !==
|
|
24590
|
+
if (V === "xml" && b.attribValue !== _)
|
|
24570
24591
|
j(
|
|
24571
24592
|
b,
|
|
24572
|
-
"xml: prefix must be bound to " +
|
|
24593
|
+
"xml: prefix must be bound to " + _ + `
|
|
24573
24594
|
Actual: ` + b.attribValue
|
|
24574
24595
|
);
|
|
24575
24596
|
else if (V === "xmlns" && b.attribValue !== C)
|
|
@@ -24590,7 +24611,7 @@ Actual: ` + b.attribValue
|
|
|
24590
24611
|
});
|
|
24591
24612
|
b.attribName = b.attribValue = "";
|
|
24592
24613
|
}
|
|
24593
|
-
function Q(b,
|
|
24614
|
+
function Q(b, w) {
|
|
24594
24615
|
if (b.opt.xmlns) {
|
|
24595
24616
|
var $ = b.tag, V = Y(b.tagName);
|
|
24596
24617
|
$.prefix = V.prefix, $.local = V.local, $.uri = $.ns[V.prefix] || "", $.prefix && !$.uri && (j(b, "Unbound namespace prefix: " + JSON.stringify(b.tagName)), $.uri = V.prefix);
|
|
@@ -24613,7 +24634,7 @@ Actual: ` + b.attribValue
|
|
|
24613
24634
|
}
|
|
24614
24635
|
b.attribList.length = 0;
|
|
24615
24636
|
}
|
|
24616
|
-
b.tag.isSelfClosing = !!
|
|
24637
|
+
b.tag.isSelfClosing = !!w, b.sawRoot = !0, b.tags.push(b.tag), L(b, "onopentag", b.tag), w || (!b.noscript && b.tagName.toLowerCase() === "script" ? b.state = S.SCRIPT : b.state = S.TEXT, b.tag = null, b.tagName = ""), b.attribName = b.attribValue = "", b.attribList.length = 0;
|
|
24617
24638
|
}
|
|
24618
24639
|
function J(b) {
|
|
24619
24640
|
if (!b.tagName) {
|
|
@@ -24627,21 +24648,21 @@ Actual: ` + b.attribValue
|
|
|
24627
24648
|
}
|
|
24628
24649
|
L(b, "onscript", b.script), b.script = "";
|
|
24629
24650
|
}
|
|
24630
|
-
var
|
|
24651
|
+
var w = b.tags.length, $ = b.tagName;
|
|
24631
24652
|
b.strict || ($ = $[b.looseCase]());
|
|
24632
|
-
for (var V = $;
|
|
24633
|
-
var R = b.tags[
|
|
24653
|
+
for (var V = $; w--; ) {
|
|
24654
|
+
var R = b.tags[w];
|
|
24634
24655
|
if (R.name !== V)
|
|
24635
24656
|
j(b, "Unexpected close tag");
|
|
24636
24657
|
else
|
|
24637
24658
|
break;
|
|
24638
24659
|
}
|
|
24639
|
-
if (
|
|
24660
|
+
if (w < 0) {
|
|
24640
24661
|
j(b, "Unmatched closing tag: " + b.tagName), b.textNode += "</" + b.tagName + ">", b.state = S.TEXT;
|
|
24641
24662
|
return;
|
|
24642
24663
|
}
|
|
24643
24664
|
b.tagName = $;
|
|
24644
|
-
for (var U = b.tags.length; U-- >
|
|
24665
|
+
for (var U = b.tags.length; U-- > w; ) {
|
|
24645
24666
|
var N = b.tag = b.tags.pop();
|
|
24646
24667
|
b.tagName = b.tag.name, L(b, "onclosetag", b.tagName);
|
|
24647
24668
|
var T = {};
|
|
@@ -24653,195 +24674,195 @@ Actual: ` + b.attribValue
|
|
|
24653
24674
|
L(b, "onclosenamespace", { prefix: M, uri: W });
|
|
24654
24675
|
});
|
|
24655
24676
|
}
|
|
24656
|
-
|
|
24677
|
+
w === 0 && (b.closedRoot = !0), b.tagName = b.attribValue = b.attribName = "", b.attribList.length = 0, b.state = S.TEXT;
|
|
24657
24678
|
}
|
|
24658
24679
|
function se(b) {
|
|
24659
|
-
var
|
|
24660
|
-
return b.ENTITIES[
|
|
24680
|
+
var w = b.entity, $ = w.toLowerCase(), V, R = "";
|
|
24681
|
+
return b.ENTITIES[w] ? b.ENTITIES[w] : b.ENTITIES[$] ? b.ENTITIES[$] : (w = $, w.charAt(0) === "#" && (w.charAt(1) === "x" ? (w = w.slice(2), V = parseInt(w, 16), R = V.toString(16)) : (w = w.slice(1), V = parseInt(w, 10), R = V.toString(10))), w = w.replace(/^0+/, ""), isNaN(V) || R.toLowerCase() !== w ? (j(b, "Invalid character entity"), "&" + b.entity + ";") : String.fromCodePoint(V));
|
|
24661
24682
|
}
|
|
24662
|
-
function X(b,
|
|
24663
|
-
|
|
24683
|
+
function X(b, w) {
|
|
24684
|
+
w === "<" ? (b.state = S.OPEN_WAKA, b.startTagPosition = b.position) : E(w) || (j(b, "Non-whitespace before first tag."), b.textNode = w, b.state = S.TEXT);
|
|
24664
24685
|
}
|
|
24665
|
-
function ie(b,
|
|
24686
|
+
function ie(b, w) {
|
|
24666
24687
|
var $ = "";
|
|
24667
|
-
return
|
|
24688
|
+
return w < b.length && ($ = b.charAt(w)), $;
|
|
24668
24689
|
}
|
|
24669
24690
|
function oe(b) {
|
|
24670
|
-
var
|
|
24691
|
+
var w = this;
|
|
24671
24692
|
if (this.error)
|
|
24672
24693
|
throw this.error;
|
|
24673
|
-
if (
|
|
24694
|
+
if (w.closed)
|
|
24674
24695
|
return re(
|
|
24675
|
-
|
|
24696
|
+
w,
|
|
24676
24697
|
"Cannot write after close. Assign an onready handler."
|
|
24677
24698
|
);
|
|
24678
24699
|
if (b === null)
|
|
24679
|
-
return te(
|
|
24700
|
+
return te(w);
|
|
24680
24701
|
typeof b == "object" && (b = b.toString());
|
|
24681
|
-
for (var $ = 0, V = ""; V = ie(b, $++),
|
|
24682
|
-
switch (
|
|
24683
|
-
` ? (
|
|
24702
|
+
for (var $ = 0, V = ""; V = ie(b, $++), w.c = V, !!V; )
|
|
24703
|
+
switch (w.trackPosition && (w.position++, V === `
|
|
24704
|
+
` ? (w.line++, w.column = 0) : w.column++), w.state) {
|
|
24684
24705
|
case S.BEGIN:
|
|
24685
|
-
if (
|
|
24706
|
+
if (w.state = S.BEGIN_WHITESPACE, V === "\uFEFF")
|
|
24686
24707
|
continue;
|
|
24687
|
-
X(
|
|
24708
|
+
X(w, V);
|
|
24688
24709
|
continue;
|
|
24689
24710
|
case S.BEGIN_WHITESPACE:
|
|
24690
|
-
X(
|
|
24711
|
+
X(w, V);
|
|
24691
24712
|
continue;
|
|
24692
24713
|
case S.TEXT:
|
|
24693
|
-
if (
|
|
24714
|
+
if (w.sawRoot && !w.closedRoot) {
|
|
24694
24715
|
for (var R = $ - 1; V && V !== "<" && V !== "&"; )
|
|
24695
|
-
V = ie(b, $++), V &&
|
|
24696
|
-
` ? (
|
|
24697
|
-
|
|
24716
|
+
V = ie(b, $++), V && w.trackPosition && (w.position++, V === `
|
|
24717
|
+
` ? (w.line++, w.column = 0) : w.column++);
|
|
24718
|
+
w.textNode += b.substring(R, $ - 1);
|
|
24698
24719
|
}
|
|
24699
|
-
V === "<" && !(
|
|
24720
|
+
V === "<" && !(w.sawRoot && w.closedRoot && !w.strict) ? (w.state = S.OPEN_WAKA, w.startTagPosition = w.position) : (!E(V) && (!w.sawRoot || w.closedRoot) && j(w, "Text data outside of root node."), V === "&" ? w.state = S.TEXT_ENTITY : w.textNode += V);
|
|
24700
24721
|
continue;
|
|
24701
24722
|
case S.SCRIPT:
|
|
24702
|
-
V === "<" ?
|
|
24723
|
+
V === "<" ? w.state = S.SCRIPT_ENDING : w.script += V;
|
|
24703
24724
|
continue;
|
|
24704
24725
|
case S.SCRIPT_ENDING:
|
|
24705
|
-
V === "/" ?
|
|
24726
|
+
V === "/" ? w.state = S.CLOSE_TAG : (w.script += "<" + V, w.state = S.SCRIPT);
|
|
24706
24727
|
continue;
|
|
24707
24728
|
case S.OPEN_WAKA:
|
|
24708
24729
|
if (V === "!")
|
|
24709
|
-
|
|
24730
|
+
w.state = S.SGML_DECL, w.sgmlDecl = "";
|
|
24710
24731
|
else if (!E(V))
|
|
24711
24732
|
if (O(v, V))
|
|
24712
|
-
|
|
24733
|
+
w.state = S.OPEN_TAG, w.tagName = V;
|
|
24713
24734
|
else if (V === "/")
|
|
24714
|
-
|
|
24735
|
+
w.state = S.CLOSE_TAG, w.tagName = "";
|
|
24715
24736
|
else if (V === "?")
|
|
24716
|
-
|
|
24737
|
+
w.state = S.PROC_INST, w.procInstName = w.procInstBody = "";
|
|
24717
24738
|
else {
|
|
24718
|
-
if (j(
|
|
24719
|
-
var U =
|
|
24739
|
+
if (j(w, "Unencoded <"), w.startTagPosition + 1 < w.position) {
|
|
24740
|
+
var U = w.position - w.startTagPosition;
|
|
24720
24741
|
V = new Array(U).join(" ") + V;
|
|
24721
24742
|
}
|
|
24722
|
-
|
|
24743
|
+
w.textNode += "<" + V, w.state = S.TEXT;
|
|
24723
24744
|
}
|
|
24724
24745
|
continue;
|
|
24725
24746
|
case S.SGML_DECL:
|
|
24726
|
-
(
|
|
24727
|
-
|
|
24747
|
+
(w.sgmlDecl + V).toUpperCase() === d ? (L(w, "onopencdata"), w.state = S.CDATA, w.sgmlDecl = "", w.cdata = "") : w.sgmlDecl + V === "--" ? (w.state = S.COMMENT, w.comment = "", w.sgmlDecl = "") : (w.sgmlDecl + V).toUpperCase() === m ? (w.state = S.DOCTYPE, (w.doctype || w.sawRoot) && j(
|
|
24748
|
+
w,
|
|
24728
24749
|
"Inappropriately located doctype declaration"
|
|
24729
|
-
),
|
|
24750
|
+
), w.doctype = "", w.sgmlDecl = "") : V === ">" ? (L(w, "onsgmldeclaration", w.sgmlDecl), w.sgmlDecl = "", w.state = S.TEXT) : (k(V) && (w.state = S.SGML_DECL_QUOTED), w.sgmlDecl += V);
|
|
24730
24751
|
continue;
|
|
24731
24752
|
case S.SGML_DECL_QUOTED:
|
|
24732
|
-
V ===
|
|
24753
|
+
V === w.q && (w.state = S.SGML_DECL, w.q = ""), w.sgmlDecl += V;
|
|
24733
24754
|
continue;
|
|
24734
24755
|
case S.DOCTYPE:
|
|
24735
|
-
V === ">" ? (
|
|
24756
|
+
V === ">" ? (w.state = S.TEXT, L(w, "ondoctype", w.doctype), w.doctype = !0) : (w.doctype += V, V === "[" ? w.state = S.DOCTYPE_DTD : k(V) && (w.state = S.DOCTYPE_QUOTED, w.q = V));
|
|
24736
24757
|
continue;
|
|
24737
24758
|
case S.DOCTYPE_QUOTED:
|
|
24738
|
-
|
|
24759
|
+
w.doctype += V, V === w.q && (w.q = "", w.state = S.DOCTYPE);
|
|
24739
24760
|
continue;
|
|
24740
24761
|
case S.DOCTYPE_DTD:
|
|
24741
|
-
|
|
24762
|
+
w.doctype += V, V === "]" ? w.state = S.DOCTYPE : k(V) && (w.state = S.DOCTYPE_DTD_QUOTED, w.q = V);
|
|
24742
24763
|
continue;
|
|
24743
24764
|
case S.DOCTYPE_DTD_QUOTED:
|
|
24744
|
-
|
|
24765
|
+
w.doctype += V, V === w.q && (w.state = S.DOCTYPE_DTD, w.q = "");
|
|
24745
24766
|
continue;
|
|
24746
24767
|
case S.COMMENT:
|
|
24747
|
-
V === "-" ?
|
|
24768
|
+
V === "-" ? w.state = S.COMMENT_ENDING : w.comment += V;
|
|
24748
24769
|
continue;
|
|
24749
24770
|
case S.COMMENT_ENDING:
|
|
24750
|
-
V === "-" ? (
|
|
24771
|
+
V === "-" ? (w.state = S.COMMENT_ENDED, w.comment = ne(w.opt, w.comment), w.comment && L(w, "oncomment", w.comment), w.comment = "") : (w.comment += "-" + V, w.state = S.COMMENT);
|
|
24751
24772
|
continue;
|
|
24752
24773
|
case S.COMMENT_ENDED:
|
|
24753
|
-
V !== ">" ? (j(
|
|
24774
|
+
V !== ">" ? (j(w, "Malformed comment"), w.comment += "--" + V, w.state = S.COMMENT) : w.state = S.TEXT;
|
|
24754
24775
|
continue;
|
|
24755
24776
|
case S.CDATA:
|
|
24756
|
-
V === "]" ?
|
|
24777
|
+
V === "]" ? w.state = S.CDATA_ENDING : w.cdata += V;
|
|
24757
24778
|
continue;
|
|
24758
24779
|
case S.CDATA_ENDING:
|
|
24759
|
-
V === "]" ?
|
|
24780
|
+
V === "]" ? w.state = S.CDATA_ENDING_2 : (w.cdata += "]" + V, w.state = S.CDATA);
|
|
24760
24781
|
continue;
|
|
24761
24782
|
case S.CDATA_ENDING_2:
|
|
24762
|
-
V === ">" ? (
|
|
24783
|
+
V === ">" ? (w.cdata && L(w, "oncdata", w.cdata), L(w, "onclosecdata"), w.cdata = "", w.state = S.TEXT) : V === "]" ? w.cdata += "]" : (w.cdata += "]]" + V, w.state = S.CDATA);
|
|
24763
24784
|
continue;
|
|
24764
24785
|
case S.PROC_INST:
|
|
24765
|
-
V === "?" ?
|
|
24786
|
+
V === "?" ? w.state = S.PROC_INST_ENDING : E(V) ? w.state = S.PROC_INST_BODY : w.procInstName += V;
|
|
24766
24787
|
continue;
|
|
24767
24788
|
case S.PROC_INST_BODY:
|
|
24768
|
-
if (!
|
|
24789
|
+
if (!w.procInstBody && E(V))
|
|
24769
24790
|
continue;
|
|
24770
|
-
V === "?" ?
|
|
24791
|
+
V === "?" ? w.state = S.PROC_INST_ENDING : w.procInstBody += V;
|
|
24771
24792
|
continue;
|
|
24772
24793
|
case S.PROC_INST_ENDING:
|
|
24773
|
-
V === ">" ? (L(
|
|
24774
|
-
name:
|
|
24775
|
-
body:
|
|
24776
|
-
}),
|
|
24794
|
+
V === ">" ? (L(w, "onprocessinginstruction", {
|
|
24795
|
+
name: w.procInstName,
|
|
24796
|
+
body: w.procInstBody
|
|
24797
|
+
}), w.procInstName = w.procInstBody = "", w.state = S.TEXT) : (w.procInstBody += "?" + V, w.state = S.PROC_INST_BODY);
|
|
24777
24798
|
continue;
|
|
24778
24799
|
case S.OPEN_TAG:
|
|
24779
|
-
O(p, V) ?
|
|
24800
|
+
O(p, V) ? w.tagName += V : (z(w), V === ">" ? Q(w) : V === "/" ? w.state = S.OPEN_TAG_SLASH : (E(V) || j(w, "Invalid character in tag name"), w.state = S.ATTRIB));
|
|
24780
24801
|
continue;
|
|
24781
24802
|
case S.OPEN_TAG_SLASH:
|
|
24782
|
-
V === ">" ? (Q(
|
|
24803
|
+
V === ">" ? (Q(w, !0), J(w)) : (j(w, "Forward-slash in opening tag not followed by >"), w.state = S.ATTRIB);
|
|
24783
24804
|
continue;
|
|
24784
24805
|
case S.ATTRIB:
|
|
24785
24806
|
if (E(V))
|
|
24786
24807
|
continue;
|
|
24787
|
-
V === ">" ? Q(
|
|
24808
|
+
V === ">" ? Q(w) : V === "/" ? w.state = S.OPEN_TAG_SLASH : O(v, V) ? (w.attribName = V, w.attribValue = "", w.state = S.ATTRIB_NAME) : j(w, "Invalid attribute name");
|
|
24788
24809
|
continue;
|
|
24789
24810
|
case S.ATTRIB_NAME:
|
|
24790
|
-
V === "=" ?
|
|
24811
|
+
V === "=" ? w.state = S.ATTRIB_VALUE : V === ">" ? (j(w, "Attribute without value"), w.attribValue = w.attribName, q(w), Q(w)) : E(V) ? w.state = S.ATTRIB_NAME_SAW_WHITE : O(p, V) ? w.attribName += V : j(w, "Invalid attribute name");
|
|
24791
24812
|
continue;
|
|
24792
24813
|
case S.ATTRIB_NAME_SAW_WHITE:
|
|
24793
24814
|
if (V === "=")
|
|
24794
|
-
|
|
24815
|
+
w.state = S.ATTRIB_VALUE;
|
|
24795
24816
|
else {
|
|
24796
24817
|
if (E(V))
|
|
24797
24818
|
continue;
|
|
24798
|
-
j(
|
|
24799
|
-
name:
|
|
24819
|
+
j(w, "Attribute without value"), w.tag.attributes[w.attribName] = "", w.attribValue = "", L(w, "onattribute", {
|
|
24820
|
+
name: w.attribName,
|
|
24800
24821
|
value: ""
|
|
24801
|
-
}),
|
|
24822
|
+
}), w.attribName = "", V === ">" ? Q(w) : O(v, V) ? (w.attribName = V, w.state = S.ATTRIB_NAME) : (j(w, "Invalid attribute name"), w.state = S.ATTRIB);
|
|
24802
24823
|
}
|
|
24803
24824
|
continue;
|
|
24804
24825
|
case S.ATTRIB_VALUE:
|
|
24805
24826
|
if (E(V))
|
|
24806
24827
|
continue;
|
|
24807
|
-
k(V) ? (
|
|
24828
|
+
k(V) ? (w.q = V, w.state = S.ATTRIB_VALUE_QUOTED) : (j(w, "Unquoted attribute value"), w.state = S.ATTRIB_VALUE_UNQUOTED, w.attribValue = V);
|
|
24808
24829
|
continue;
|
|
24809
24830
|
case S.ATTRIB_VALUE_QUOTED:
|
|
24810
|
-
if (V !==
|
|
24811
|
-
V === "&" ?
|
|
24831
|
+
if (V !== w.q) {
|
|
24832
|
+
V === "&" ? w.state = S.ATTRIB_VALUE_ENTITY_Q : w.attribValue += V;
|
|
24812
24833
|
continue;
|
|
24813
24834
|
}
|
|
24814
|
-
q(
|
|
24835
|
+
q(w), w.q = "", w.state = S.ATTRIB_VALUE_CLOSED;
|
|
24815
24836
|
continue;
|
|
24816
24837
|
case S.ATTRIB_VALUE_CLOSED:
|
|
24817
|
-
E(V) ?
|
|
24838
|
+
E(V) ? w.state = S.ATTRIB : V === ">" ? Q(w) : V === "/" ? w.state = S.OPEN_TAG_SLASH : O(v, V) ? (j(w, "No whitespace between attributes"), w.attribName = V, w.attribValue = "", w.state = S.ATTRIB_NAME) : j(w, "Invalid attribute name");
|
|
24818
24839
|
continue;
|
|
24819
24840
|
case S.ATTRIB_VALUE_UNQUOTED:
|
|
24820
24841
|
if (!P(V)) {
|
|
24821
|
-
V === "&" ?
|
|
24842
|
+
V === "&" ? w.state = S.ATTRIB_VALUE_ENTITY_U : w.attribValue += V;
|
|
24822
24843
|
continue;
|
|
24823
24844
|
}
|
|
24824
|
-
q(
|
|
24845
|
+
q(w), V === ">" ? Q(w) : w.state = S.ATTRIB;
|
|
24825
24846
|
continue;
|
|
24826
24847
|
case S.CLOSE_TAG:
|
|
24827
|
-
if (
|
|
24828
|
-
V === ">" ? J(
|
|
24848
|
+
if (w.tagName)
|
|
24849
|
+
V === ">" ? J(w) : O(p, V) ? w.tagName += V : w.script ? (w.script += "</" + w.tagName, w.tagName = "", w.state = S.SCRIPT) : (E(V) || j(w, "Invalid tagname in closing tag"), w.state = S.CLOSE_TAG_SAW_WHITE);
|
|
24829
24850
|
else {
|
|
24830
24851
|
if (E(V))
|
|
24831
24852
|
continue;
|
|
24832
|
-
D(v, V) ?
|
|
24853
|
+
D(v, V) ? w.script ? (w.script += "</" + V, w.state = S.SCRIPT) : j(w, "Invalid tagname in closing tag.") : w.tagName = V;
|
|
24833
24854
|
}
|
|
24834
24855
|
continue;
|
|
24835
24856
|
case S.CLOSE_TAG_SAW_WHITE:
|
|
24836
24857
|
if (E(V))
|
|
24837
24858
|
continue;
|
|
24838
|
-
V === ">" ? J(
|
|
24859
|
+
V === ">" ? J(w) : j(w, "Invalid characters in closing tag");
|
|
24839
24860
|
continue;
|
|
24840
24861
|
case S.TEXT_ENTITY:
|
|
24841
24862
|
case S.ATTRIB_VALUE_ENTITY_Q:
|
|
24842
24863
|
case S.ATTRIB_VALUE_ENTITY_U:
|
|
24843
24864
|
var N, T;
|
|
24844
|
-
switch (
|
|
24865
|
+
switch (w.state) {
|
|
24845
24866
|
case S.TEXT_ENTITY:
|
|
24846
24867
|
N = S.TEXT, T = "textNode";
|
|
24847
24868
|
break;
|
|
@@ -24853,22 +24874,22 @@ Actual: ` + b.attribValue
|
|
|
24853
24874
|
break;
|
|
24854
24875
|
}
|
|
24855
24876
|
if (V === ";")
|
|
24856
|
-
if (
|
|
24857
|
-
var I = se(
|
|
24858
|
-
|
|
24877
|
+
if (w.opt.unparsedEntities) {
|
|
24878
|
+
var I = se(w);
|
|
24879
|
+
w.entity = "", w.state = N, w.write(I);
|
|
24859
24880
|
} else
|
|
24860
|
-
|
|
24881
|
+
w[T] += se(w), w.entity = "", w.state = N;
|
|
24861
24882
|
else
|
|
24862
|
-
O(
|
|
24883
|
+
O(w.entity.length ? g : f, V) ? w.entity += V : (j(w, "Invalid character in entity name"), w[T] += "&" + w.entity + V, w.entity = "", w.state = N);
|
|
24863
24884
|
continue;
|
|
24864
24885
|
default:
|
|
24865
|
-
throw new Error(
|
|
24886
|
+
throw new Error(w, "Unknown state: " + w.state);
|
|
24866
24887
|
}
|
|
24867
|
-
return
|
|
24888
|
+
return w.position >= w.bufferCheckPosition && n(w), w;
|
|
24868
24889
|
}
|
|
24869
24890
|
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
|
|
24870
24891
|
String.fromCodePoint || function() {
|
|
24871
|
-
var b = String.fromCharCode,
|
|
24892
|
+
var b = String.fromCharCode, w = Math.floor, $ = function() {
|
|
24872
24893
|
var V = 16384, R = [], U, N, T = -1, I = arguments.length;
|
|
24873
24894
|
if (!I)
|
|
24874
24895
|
return "";
|
|
@@ -24877,7 +24898,7 @@ Actual: ` + b.attribValue
|
|
|
24877
24898
|
if (!isFinite(M) || // `NaN`, `+Infinity`, or `-Infinity`
|
|
24878
24899
|
M < 0 || // not a valid Unicode code point
|
|
24879
24900
|
M > 1114111 || // not a valid Unicode code point
|
|
24880
|
-
|
|
24901
|
+
w(M) !== M)
|
|
24881
24902
|
throw RangeError("Invalid code point: " + M);
|
|
24882
24903
|
M <= 65535 ? R.push(M) : (M -= 65536, U = (M >> 10) + 55296, N = M % 1024 + 56320, R.push(U, N)), (T + 1 === I || R.length > V) && (F += b.apply(null, R), R.length = 0);
|
|
24883
24904
|
}
|
|
@@ -25433,7 +25454,7 @@ const processService = {
|
|
|
25433
25454
|
}
|
|
25434
25455
|
};
|
|
25435
25456
|
function _sfc_render$v(e, t, o, r, n, i) {
|
|
25436
|
-
const s = resolveComponent("i18n-input"), l = resolveComponent("el-form-item"), a = resolveComponent("el-col"), u = resolveComponent("el-input"), c = resolveComponent("department-user-tree"), d = resolveComponent("el-option"), m = resolveComponent("el-select"),
|
|
25457
|
+
const s = resolveComponent("i18n-input"), l = resolveComponent("el-form-item"), a = resolveComponent("el-col"), u = resolveComponent("el-input"), c = resolveComponent("department-user-tree"), d = resolveComponent("el-option"), m = resolveComponent("el-select"), _ = resolveComponent("el-cascader"), C = resolveComponent("el-row"), y = resolveComponent("el-form");
|
|
25437
25458
|
return openBlock(), createBlock(y, {
|
|
25438
25459
|
model: n.formModel,
|
|
25439
25460
|
"label-width": "100px"
|
|
@@ -25597,7 +25618,7 @@ function _sfc_render$v(e, t, o, r, n, i) {
|
|
|
25597
25618
|
rules: [n.requiredRule]
|
|
25598
25619
|
}, {
|
|
25599
25620
|
default: withCtx(() => [
|
|
25600
|
-
createVNode(
|
|
25621
|
+
createVNode(_, {
|
|
25601
25622
|
modelValue: n.selectedForm,
|
|
25602
25623
|
"onUpdate:modelValue": t[7] || (t[7] = (v) => n.selectedForm = v),
|
|
25603
25624
|
"show-all-levels": !1,
|
|
@@ -26182,7 +26203,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26182
26203
|
default: withCtx(() => [
|
|
26183
26204
|
createVNode(s, {
|
|
26184
26205
|
modelValue: n.showNotice,
|
|
26185
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
26206
|
+
"onUpdate:modelValue": t[0] || (t[0] = (_) => n.showNotice = _)
|
|
26186
26207
|
}, null, 8, ["modelValue"])
|
|
26187
26208
|
]),
|
|
26188
26209
|
_: 1
|
|
@@ -26190,7 +26211,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26190
26211
|
n.showNotice ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
26191
26212
|
createVNode(a, {
|
|
26192
26213
|
modelValue: n.model.informType,
|
|
26193
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
26214
|
+
"onUpdate:modelValue": t[1] || (t[1] = (_) => n.model.informType = _),
|
|
26194
26215
|
label: e.$t("workflowEditor.common.notificationMethod"),
|
|
26195
26216
|
"custom-msg": n.model.customMsg,
|
|
26196
26217
|
onInputMsg: i.setCustomMsg
|
|
@@ -26203,7 +26224,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26203
26224
|
default: withCtx(() => [
|
|
26204
26225
|
createVNode(u, {
|
|
26205
26226
|
modelValue: n.model.mailTemplateCode,
|
|
26206
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
26227
|
+
"onUpdate:modelValue": t[2] || (t[2] = (_) => n.model.mailTemplateCode = _),
|
|
26207
26228
|
onSetValue: i.setMailTemplateCode
|
|
26208
26229
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
26209
26230
|
]),
|
|
@@ -26217,7 +26238,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26217
26238
|
default: withCtx(() => [
|
|
26218
26239
|
createVNode(u, {
|
|
26219
26240
|
modelValue: n.model.mailPointTemplateCode,
|
|
26220
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
26241
|
+
"onUpdate:modelValue": t[3] || (t[3] = (_) => n.model.mailPointTemplateCode = _),
|
|
26221
26242
|
onSetValue: i.setMailPointTemplateCode
|
|
26222
26243
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
26223
26244
|
]),
|
|
@@ -26225,7 +26246,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26225
26246
|
}, 8, ["label"])) : createCommentVNode("", !0),
|
|
26226
26247
|
createVNode(c, {
|
|
26227
26248
|
modelValue: n.model.userCondition,
|
|
26228
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
26249
|
+
"onUpdate:modelValue": t[4] || (t[4] = (_) => n.model.userCondition = _),
|
|
26229
26250
|
label: e.$t("workflowEditor.common.addressee")
|
|
26230
26251
|
}, null, 8, ["modelValue", "label"]),
|
|
26231
26252
|
createVNode(l, {
|
|
@@ -26234,7 +26255,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26234
26255
|
default: withCtx(() => [
|
|
26235
26256
|
createVNode(d, {
|
|
26236
26257
|
modelValue: n.model.subject,
|
|
26237
|
-
"onUpdate:modelValue": t[5] || (t[5] = (
|
|
26258
|
+
"onUpdate:modelValue": t[5] || (t[5] = (_) => n.model.subject = _),
|
|
26238
26259
|
placeholder: e.$t("workflowEditorMessage.pleaseEnterASubject")
|
|
26239
26260
|
}, null, 8, ["modelValue", "placeholder"])
|
|
26240
26261
|
]),
|
|
@@ -26246,7 +26267,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26246
26267
|
default: withCtx(() => [
|
|
26247
26268
|
createVNode(d, {
|
|
26248
26269
|
modelValue: n.model.content,
|
|
26249
|
-
"onUpdate:modelValue": t[6] || (t[6] = (
|
|
26270
|
+
"onUpdate:modelValue": t[6] || (t[6] = (_) => n.model.content = _),
|
|
26250
26271
|
type: "textarea",
|
|
26251
26272
|
autosize: { minRows: 4, maxRows: 10 },
|
|
26252
26273
|
placeholder: e.$t("workflowEditorMessage.pleaseEnterContent")
|
|
@@ -26402,7 +26423,7 @@ const NoticeSettings = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc
|
|
|
26402
26423
|
}
|
|
26403
26424
|
};
|
|
26404
26425
|
function _sfc_render$o(e, t, o, r, n, i) {
|
|
26405
|
-
const s = resolveComponent("basic-properties"), l = resolveComponent("el-tab-pane"), a = resolveComponent("permission-settings"), u = resolveComponent("notice-settings"), c = resolveComponent("notice-reminder"), d = resolveComponent("parameter-settings"), m = resolveComponent("events"),
|
|
26426
|
+
const s = resolveComponent("basic-properties"), l = resolveComponent("el-tab-pane"), a = resolveComponent("permission-settings"), u = resolveComponent("notice-settings"), c = resolveComponent("notice-reminder"), d = resolveComponent("parameter-settings"), m = resolveComponent("events"), _ = resolveComponent("variables"), C = resolveComponent("el-tabs"), y = resolveComponent("el-dialog");
|
|
26406
26427
|
return openBlock(), createBlock(y, {
|
|
26407
26428
|
"model-value": "",
|
|
26408
26429
|
title: e.$t("workflowEditor.process.processProperties"),
|
|
@@ -26504,7 +26525,7 @@ function _sfc_render$o(e, t, o, r, n, i) {
|
|
|
26504
26525
|
name: "variables"
|
|
26505
26526
|
}, {
|
|
26506
26527
|
default: withCtx(() => [
|
|
26507
|
-
createVNode(
|
|
26528
|
+
createVNode(_, {
|
|
26508
26529
|
model: o.model.properties.variables
|
|
26509
26530
|
}, null, 8, ["model"])
|
|
26510
26531
|
]),
|
|
@@ -26722,7 +26743,7 @@ const BasicProperties$3 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _
|
|
|
26722
26743
|
}
|
|
26723
26744
|
};
|
|
26724
26745
|
function _sfc_render$l(e, t, o, r, n, i) {
|
|
26725
|
-
const s = resolveComponent("basic-properties"), l = resolveComponent("el-tab-pane"), a = resolveComponent("notice"), u = resolveComponent("auto-filled-fields"), c = resolveComponent("el-switch"), d = resolveComponent("el-form-item"), m = resolveComponent("el-input"),
|
|
26746
|
+
const s = resolveComponent("basic-properties"), l = resolveComponent("el-tab-pane"), a = resolveComponent("notice"), u = resolveComponent("auto-filled-fields"), c = resolveComponent("el-switch"), d = resolveComponent("el-form-item"), m = resolveComponent("el-input"), _ = resolveComponent("el-form"), C = resolveComponent("el-tabs"), y = resolveComponent("el-dialog");
|
|
26726
26747
|
return openBlock(), createBlock(y, {
|
|
26727
26748
|
"model-value": "",
|
|
26728
26749
|
title: e.$t("workflowEditor.transition.flowProperties"),
|
|
@@ -26785,7 +26806,7 @@ function _sfc_render$l(e, t, o, r, n, i) {
|
|
|
26785
26806
|
name: "events"
|
|
26786
26807
|
}, {
|
|
26787
26808
|
default: withCtx(() => [
|
|
26788
|
-
createVNode(
|
|
26809
|
+
createVNode(_, null, {
|
|
26789
26810
|
default: withCtx(() => [
|
|
26790
26811
|
createVNode(d, {
|
|
26791
26812
|
label: e.$t("workflowEditor.transition.triggerFlowThroughEvent")
|
|
@@ -27076,8 +27097,8 @@ const HumanDecisionPropertiesEditor = /* @__PURE__ */ _export_sfc(_sfc_main$i, [
|
|
|
27076
27097
|
}
|
|
27077
27098
|
};
|
|
27078
27099
|
function _sfc_render$h(e, t, o, r, n, i) {
|
|
27079
|
-
const s = resolveComponent("i18n-input"), l = resolveComponent("el-form-item"), a = resolveComponent("el-col"), u = resolveComponent("el-input"), c = resolveComponent("el-row"), d = resolveComponent("task-title"), m = resolveComponent("el-switch"),
|
|
27080
|
-
return openBlock(), createBlock(
|
|
27100
|
+
const s = resolveComponent("i18n-input"), l = resolveComponent("el-form-item"), a = resolveComponent("el-col"), u = resolveComponent("el-input"), c = resolveComponent("el-row"), d = resolveComponent("task-title"), m = resolveComponent("el-switch"), _ = resolveComponent("el-form");
|
|
27101
|
+
return openBlock(), createBlock(_, {
|
|
27081
27102
|
model: n.formModel,
|
|
27082
27103
|
"label-width": "110px"
|
|
27083
27104
|
}, {
|
|
@@ -27463,8 +27484,8 @@ const PermissionSettings = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render",
|
|
|
27463
27484
|
}
|
|
27464
27485
|
};
|
|
27465
27486
|
function _sfc_render$f(e, t, o, r, n, i) {
|
|
27466
|
-
const s = resolveComponent("basic-properties"), l = resolveComponent("el-tab-pane"), a = resolveComponent("transactor-settings"), u = resolveComponent("notice-reminder"), c = resolveComponent("events"), d = resolveComponent("permission-settings"), m = resolveComponent("el-tabs"),
|
|
27467
|
-
return openBlock(), createBlock(
|
|
27487
|
+
const s = resolveComponent("basic-properties"), l = resolveComponent("el-tab-pane"), a = resolveComponent("transactor-settings"), u = resolveComponent("notice-reminder"), c = resolveComponent("events"), d = resolveComponent("permission-settings"), m = resolveComponent("el-tabs"), _ = resolveComponent("el-dialog");
|
|
27488
|
+
return openBlock(), createBlock(_, {
|
|
27468
27489
|
"model-value": "",
|
|
27469
27490
|
title: e.$t("workflowEditor.task.propertiesOfCCTask"),
|
|
27470
27491
|
center: !0,
|
|
@@ -27909,7 +27930,7 @@ function _sfc_render$c(e, t, o, r, n, i) {
|
|
|
27909
27930
|
createVNode(u, {
|
|
27910
27931
|
value: i.showSourceFieldLabel(m.row.source),
|
|
27911
27932
|
placeholder: e.$t("workflowEditorMessage.pleaseSelect"),
|
|
27912
|
-
onClick: t[0] || (t[0] = (
|
|
27933
|
+
onClick: t[0] || (t[0] = (_) => n.showSourceFields = !0)
|
|
27913
27934
|
}, null, 8, ["value", "placeholder"])
|
|
27914
27935
|
]),
|
|
27915
27936
|
_: 1
|
|
@@ -27922,7 +27943,7 @@ function _sfc_render$c(e, t, o, r, n, i) {
|
|
|
27922
27943
|
createVNode(u, {
|
|
27923
27944
|
value: i.showTargetFieldLabel(m.row.target),
|
|
27924
27945
|
placeholder: e.$t("workflowEditorMessage.pleaseSelect"),
|
|
27925
|
-
onClick: t[1] || (t[1] = (
|
|
27946
|
+
onClick: t[1] || (t[1] = (_) => n.showTargetFields = !0)
|
|
27926
27947
|
}, null, 8, ["value", "placeholder"])
|
|
27927
27948
|
]),
|
|
27928
27949
|
_: 1
|
|
@@ -28040,7 +28061,7 @@ const FieldMappings = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_
|
|
|
28040
28061
|
}
|
|
28041
28062
|
};
|
|
28042
28063
|
function _sfc_render$b(e, t, o, r, n, i) {
|
|
28043
|
-
const s = resolveComponent("i18n-input"), l = resolveComponent("el-form-item"), a = resolveComponent("el-col"), u = resolveComponent("el-input"), c = resolveComponent("el-row"), d = resolveComponent("task-title"), m = resolveComponent("el-cascader"),
|
|
28064
|
+
const s = resolveComponent("i18n-input"), l = resolveComponent("el-form-item"), a = resolveComponent("el-col"), u = resolveComponent("el-input"), c = resolveComponent("el-row"), d = resolveComponent("task-title"), m = resolveComponent("el-cascader"), _ = resolveComponent("el-switch"), C = resolveComponent("el-radio"), y = resolveComponent("el-radio-group"), v = resolveComponent("field-mappings"), p = resolveComponent("el-form");
|
|
28044
28065
|
return openBlock(), createBlock(p, { model: n.formModel }, {
|
|
28045
28066
|
default: withCtx(() => [
|
|
28046
28067
|
createVNode(c, null, {
|
|
@@ -28116,7 +28137,7 @@ function _sfc_render$b(e, t, o, r, n, i) {
|
|
|
28116
28137
|
"label-width": "140px"
|
|
28117
28138
|
}, {
|
|
28118
28139
|
default: withCtx(() => [
|
|
28119
|
-
createVNode(
|
|
28140
|
+
createVNode(_, {
|
|
28120
28141
|
modelValue: n.formModel.tache.isSharedForm,
|
|
28121
28142
|
"onUpdate:modelValue": t[4] || (t[4] = (f) => n.formModel.tache.isSharedForm = f)
|
|
28122
28143
|
}, null, 8, ["modelValue"])
|
|
@@ -28802,8 +28823,8 @@ var FileSaver_min = { exports: {} };
|
|
|
28802
28823
|
} : function(a, u, c, d) {
|
|
28803
28824
|
if (d = d || open("", "_blank"), d && (d.document.title = d.document.body.innerText = "downloading..."), typeof a == "string")
|
|
28804
28825
|
return r(a, u, c);
|
|
28805
|
-
var m = a.type === "application/octet-stream",
|
|
28806
|
-
if ((C || m &&
|
|
28826
|
+
var m = a.type === "application/octet-stream", _ = /constructor/i.test(s.HTMLElement) || s.safari, C = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
28827
|
+
if ((C || m && _) && typeof FileReader == "object") {
|
|
28807
28828
|
var y = new FileReader();
|
|
28808
28829
|
y.onloadend = function() {
|
|
28809
28830
|
var f = y.result;
|
|
@@ -28888,8 +28909,8 @@ var prism = { exports: {} };
|
|
|
28888
28909
|
* @memberof Prism
|
|
28889
28910
|
*/
|
|
28890
28911
|
util: {
|
|
28891
|
-
encode: function f(
|
|
28892
|
-
return
|
|
28912
|
+
encode: function f(g) {
|
|
28913
|
+
return g instanceof a ? new a(g.type, f(g.content), g.alias) : Array.isArray(g) ? g.map(f) : g.replace(/&/g, "&").replace(/</g, "<").replace(/\u00a0/g, " ");
|
|
28893
28914
|
},
|
|
28894
28915
|
/**
|
|
28895
28916
|
* Returns the name of the type of the given value.
|
|
@@ -28929,30 +28950,30 @@ var prism = { exports: {} };
|
|
|
28929
28950
|
* @returns {T}
|
|
28930
28951
|
* @template T
|
|
28931
28952
|
*/
|
|
28932
|
-
clone: function f(
|
|
28953
|
+
clone: function f(g, E) {
|
|
28933
28954
|
E = E || {};
|
|
28934
28955
|
var k, P;
|
|
28935
|
-
switch (l.util.type(
|
|
28956
|
+
switch (l.util.type(g)) {
|
|
28936
28957
|
case "Object":
|
|
28937
|
-
if (P = l.util.objId(
|
|
28958
|
+
if (P = l.util.objId(g), E[P])
|
|
28938
28959
|
return E[P];
|
|
28939
28960
|
k = /** @type {Record<string, any>} */
|
|
28940
28961
|
{}, E[P] = k;
|
|
28941
|
-
for (var O in
|
|
28942
|
-
|
|
28962
|
+
for (var O in g)
|
|
28963
|
+
g.hasOwnProperty(O) && (k[O] = f(g[O], E));
|
|
28943
28964
|
return (
|
|
28944
28965
|
/** @type {any} */
|
|
28945
28966
|
k
|
|
28946
28967
|
);
|
|
28947
28968
|
case "Array":
|
|
28948
|
-
return P = l.util.objId(
|
|
28969
|
+
return P = l.util.objId(g), E[P] ? E[P] : (k = [], E[P] = k, /** @type {Array} */
|
|
28949
28970
|
/** @type {any} */
|
|
28950
|
-
|
|
28971
|
+
g.forEach(function(D, S) {
|
|
28951
28972
|
k[S] = f(D, E);
|
|
28952
28973
|
}), /** @type {any} */
|
|
28953
28974
|
k);
|
|
28954
28975
|
default:
|
|
28955
|
-
return
|
|
28976
|
+
return g;
|
|
28956
28977
|
}
|
|
28957
28978
|
},
|
|
28958
28979
|
/**
|
|
@@ -28965,9 +28986,9 @@ var prism = { exports: {} };
|
|
|
28965
28986
|
*/
|
|
28966
28987
|
getLanguage: function(f) {
|
|
28967
28988
|
for (; f; ) {
|
|
28968
|
-
var
|
|
28969
|
-
if (
|
|
28970
|
-
return
|
|
28989
|
+
var g = n.exec(f.className);
|
|
28990
|
+
if (g)
|
|
28991
|
+
return g[1].toLowerCase();
|
|
28971
28992
|
f = f.parentElement;
|
|
28972
28993
|
}
|
|
28973
28994
|
return "none";
|
|
@@ -28979,8 +29000,8 @@ var prism = { exports: {} };
|
|
|
28979
29000
|
* @param {string} language
|
|
28980
29001
|
* @returns {void}
|
|
28981
29002
|
*/
|
|
28982
|
-
setLanguage: function(f,
|
|
28983
|
-
f.className = f.className.replace(RegExp(n, "gi"), ""), f.classList.add("language-" +
|
|
29003
|
+
setLanguage: function(f, g) {
|
|
29004
|
+
f.className = f.className.replace(RegExp(n, "gi"), ""), f.classList.add("language-" + g);
|
|
28984
29005
|
},
|
|
28985
29006
|
/**
|
|
28986
29007
|
* Returns the script element that is currently executing.
|
|
@@ -29002,10 +29023,10 @@ var prism = { exports: {} };
|
|
|
29002
29023
|
} catch (k) {
|
|
29003
29024
|
var f = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(k.stack) || [])[1];
|
|
29004
29025
|
if (f) {
|
|
29005
|
-
var
|
|
29006
|
-
for (var E in
|
|
29007
|
-
if (
|
|
29008
|
-
return
|
|
29026
|
+
var g = document.getElementsByTagName("script");
|
|
29027
|
+
for (var E in g)
|
|
29028
|
+
if (g[E].src == f)
|
|
29029
|
+
return g[E];
|
|
29009
29030
|
}
|
|
29010
29031
|
return null;
|
|
29011
29032
|
}
|
|
@@ -29029,10 +29050,10 @@ var prism = { exports: {} };
|
|
|
29029
29050
|
* @param {boolean} [defaultActivation=false]
|
|
29030
29051
|
* @returns {boolean}
|
|
29031
29052
|
*/
|
|
29032
|
-
isActive: function(f,
|
|
29033
|
-
for (var k = "no-" +
|
|
29053
|
+
isActive: function(f, g, E) {
|
|
29054
|
+
for (var k = "no-" + g; f; ) {
|
|
29034
29055
|
var P = f.classList;
|
|
29035
|
-
if (P.contains(
|
|
29056
|
+
if (P.contains(g))
|
|
29036
29057
|
return !0;
|
|
29037
29058
|
if (P.contains(k))
|
|
29038
29059
|
return !1;
|
|
@@ -29084,10 +29105,10 @@ var prism = { exports: {} };
|
|
|
29084
29105
|
* 'color': /\b(?:red|green|blue)\b/
|
|
29085
29106
|
* });
|
|
29086
29107
|
*/
|
|
29087
|
-
extend: function(f,
|
|
29108
|
+
extend: function(f, g) {
|
|
29088
29109
|
var E = l.util.clone(l.languages[f]);
|
|
29089
|
-
for (var k in
|
|
29090
|
-
E[k] =
|
|
29110
|
+
for (var k in g)
|
|
29111
|
+
E[k] = g[k];
|
|
29091
29112
|
return E;
|
|
29092
29113
|
},
|
|
29093
29114
|
/**
|
|
@@ -29165,13 +29186,13 @@ var prism = { exports: {} };
|
|
|
29165
29186
|
* @returns {Grammar} The new grammar object.
|
|
29166
29187
|
* @public
|
|
29167
29188
|
*/
|
|
29168
|
-
insertBefore: function(f,
|
|
29189
|
+
insertBefore: function(f, g, E, k) {
|
|
29169
29190
|
k = k || /** @type {any} */
|
|
29170
29191
|
l.languages;
|
|
29171
29192
|
var P = k[f], O = {};
|
|
29172
29193
|
for (var D in P)
|
|
29173
29194
|
if (P.hasOwnProperty(D)) {
|
|
29174
|
-
if (D ==
|
|
29195
|
+
if (D == g)
|
|
29175
29196
|
for (var S in E)
|
|
29176
29197
|
E.hasOwnProperty(S) && (O[S] = E[S]);
|
|
29177
29198
|
E.hasOwnProperty(D) || (O[D] = P[D]);
|
|
@@ -29182,13 +29203,13 @@ var prism = { exports: {} };
|
|
|
29182
29203
|
}), O;
|
|
29183
29204
|
},
|
|
29184
29205
|
// Traverse a language definition with Depth First Search
|
|
29185
|
-
DFS: function f(
|
|
29206
|
+
DFS: function f(g, E, k, P) {
|
|
29186
29207
|
P = P || {};
|
|
29187
29208
|
var O = l.util.objId;
|
|
29188
|
-
for (var D in
|
|
29189
|
-
if (
|
|
29190
|
-
E.call(
|
|
29191
|
-
var S =
|
|
29209
|
+
for (var D in g)
|
|
29210
|
+
if (g.hasOwnProperty(D)) {
|
|
29211
|
+
E.call(g, D, g[D], k || D);
|
|
29212
|
+
var S = g[D], B = l.util.type(S);
|
|
29192
29213
|
B === "Object" && !P[O(S)] ? (P[O(S)] = !0, f(S, E, null, P)) : B === "Array" && !P[O(S)] && (P[O(S)] = !0, f(S, E, D, P));
|
|
29193
29214
|
}
|
|
29194
29215
|
}
|
|
@@ -29206,8 +29227,8 @@ var prism = { exports: {} };
|
|
|
29206
29227
|
* @memberof Prism
|
|
29207
29228
|
* @public
|
|
29208
29229
|
*/
|
|
29209
|
-
highlightAll: function(f,
|
|
29210
|
-
l.highlightAllUnder(document, f,
|
|
29230
|
+
highlightAll: function(f, g) {
|
|
29231
|
+
l.highlightAllUnder(document, f, g);
|
|
29211
29232
|
},
|
|
29212
29233
|
/**
|
|
29213
29234
|
* Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
|
|
@@ -29224,7 +29245,7 @@ var prism = { exports: {} };
|
|
|
29224
29245
|
* @memberof Prism
|
|
29225
29246
|
* @public
|
|
29226
29247
|
*/
|
|
29227
|
-
highlightAllUnder: function(f,
|
|
29248
|
+
highlightAllUnder: function(f, g, E) {
|
|
29228
29249
|
var k = {
|
|
29229
29250
|
callback: E,
|
|
29230
29251
|
container: f,
|
|
@@ -29232,7 +29253,7 @@ var prism = { exports: {} };
|
|
|
29232
29253
|
};
|
|
29233
29254
|
l.hooks.run("before-highlightall", k), k.elements = Array.prototype.slice.apply(k.container.querySelectorAll(k.selector)), l.hooks.run("before-all-elements-highlight", k);
|
|
29234
29255
|
for (var P = 0, O; O = k.elements[P++]; )
|
|
29235
|
-
l.highlightElement(O,
|
|
29256
|
+
l.highlightElement(O, g === !0, k.callback);
|
|
29236
29257
|
},
|
|
29237
29258
|
/**
|
|
29238
29259
|
* Highlights the code inside a single element.
|
|
@@ -29262,7 +29283,7 @@ var prism = { exports: {} };
|
|
|
29262
29283
|
* @memberof Prism
|
|
29263
29284
|
* @public
|
|
29264
29285
|
*/
|
|
29265
|
-
highlightElement: function(f,
|
|
29286
|
+
highlightElement: function(f, g, E) {
|
|
29266
29287
|
var k = l.util.getLanguage(f), P = l.languages[k];
|
|
29267
29288
|
l.util.setLanguage(f, k);
|
|
29268
29289
|
var O = f.parentElement;
|
|
@@ -29284,7 +29305,7 @@ var prism = { exports: {} };
|
|
|
29284
29305
|
B(l.util.encode(S.code));
|
|
29285
29306
|
return;
|
|
29286
29307
|
}
|
|
29287
|
-
if (
|
|
29308
|
+
if (g && r.Worker) {
|
|
29288
29309
|
var H = new Worker(l.filename);
|
|
29289
29310
|
H.onmessage = function(L) {
|
|
29290
29311
|
B(L.data);
|
|
@@ -29316,10 +29337,10 @@ var prism = { exports: {} };
|
|
|
29316
29337
|
* @example
|
|
29317
29338
|
* Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
|
|
29318
29339
|
*/
|
|
29319
|
-
highlight: function(f,
|
|
29340
|
+
highlight: function(f, g, E) {
|
|
29320
29341
|
var k = {
|
|
29321
29342
|
code: f,
|
|
29322
|
-
grammar:
|
|
29343
|
+
grammar: g,
|
|
29323
29344
|
language: E
|
|
29324
29345
|
};
|
|
29325
29346
|
if (l.hooks.run("before-tokenize", k), !k.grammar)
|
|
@@ -29350,15 +29371,15 @@ var prism = { exports: {} };
|
|
|
29350
29371
|
* }
|
|
29351
29372
|
* });
|
|
29352
29373
|
*/
|
|
29353
|
-
tokenize: function(f,
|
|
29354
|
-
var E =
|
|
29374
|
+
tokenize: function(f, g) {
|
|
29375
|
+
var E = g.rest;
|
|
29355
29376
|
if (E) {
|
|
29356
29377
|
for (var k in E)
|
|
29357
|
-
|
|
29358
|
-
delete
|
|
29378
|
+
g[k] = E[k];
|
|
29379
|
+
delete g.rest;
|
|
29359
29380
|
}
|
|
29360
29381
|
var P = new d();
|
|
29361
|
-
return m(P, P.head, f), c(f, P,
|
|
29382
|
+
return m(P, P.head, f), c(f, P, g, P.head, 0), C(P);
|
|
29362
29383
|
},
|
|
29363
29384
|
/**
|
|
29364
29385
|
* @namespace
|
|
@@ -29379,9 +29400,9 @@ var prism = { exports: {} };
|
|
|
29379
29400
|
* @param {HookCallback} callback The callback function which is given environment variables.
|
|
29380
29401
|
* @public
|
|
29381
29402
|
*/
|
|
29382
|
-
add: function(f,
|
|
29403
|
+
add: function(f, g) {
|
|
29383
29404
|
var E = l.hooks.all;
|
|
29384
|
-
E[f] = E[f] || [], E[f].push(
|
|
29405
|
+
E[f] = E[f] || [], E[f].push(g);
|
|
29385
29406
|
},
|
|
29386
29407
|
/**
|
|
29387
29408
|
* Runs a hook invoking all registered callbacks with the given environment variables.
|
|
@@ -29392,44 +29413,44 @@ var prism = { exports: {} };
|
|
|
29392
29413
|
* @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
|
|
29393
29414
|
* @public
|
|
29394
29415
|
*/
|
|
29395
|
-
run: function(f,
|
|
29416
|
+
run: function(f, g) {
|
|
29396
29417
|
var E = l.hooks.all[f];
|
|
29397
29418
|
if (!(!E || !E.length))
|
|
29398
29419
|
for (var k = 0, P; P = E[k++]; )
|
|
29399
|
-
P(
|
|
29420
|
+
P(g);
|
|
29400
29421
|
}
|
|
29401
29422
|
},
|
|
29402
29423
|
Token: a
|
|
29403
29424
|
};
|
|
29404
29425
|
r.Prism = l;
|
|
29405
|
-
function a(f,
|
|
29406
|
-
this.type = f, this.content =
|
|
29426
|
+
function a(f, g, E, k) {
|
|
29427
|
+
this.type = f, this.content = g, this.alias = E, this.length = (k || "").length | 0;
|
|
29407
29428
|
}
|
|
29408
|
-
a.stringify = function f(
|
|
29409
|
-
if (typeof
|
|
29410
|
-
return
|
|
29411
|
-
if (Array.isArray(
|
|
29429
|
+
a.stringify = function f(g, E) {
|
|
29430
|
+
if (typeof g == "string")
|
|
29431
|
+
return g;
|
|
29432
|
+
if (Array.isArray(g)) {
|
|
29412
29433
|
var k = "";
|
|
29413
|
-
return
|
|
29434
|
+
return g.forEach(function(B) {
|
|
29414
29435
|
k += f(B, E);
|
|
29415
29436
|
}), k;
|
|
29416
29437
|
}
|
|
29417
29438
|
var P = {
|
|
29418
|
-
type:
|
|
29419
|
-
content: f(
|
|
29439
|
+
type: g.type,
|
|
29440
|
+
content: f(g.content, E),
|
|
29420
29441
|
tag: "span",
|
|
29421
|
-
classes: ["token",
|
|
29442
|
+
classes: ["token", g.type],
|
|
29422
29443
|
attributes: {},
|
|
29423
29444
|
language: E
|
|
29424
|
-
}, O =
|
|
29445
|
+
}, O = g.alias;
|
|
29425
29446
|
O && (Array.isArray(O) ? Array.prototype.push.apply(P.classes, O) : P.classes.push(O)), l.hooks.run("wrap", P);
|
|
29426
29447
|
var D = "";
|
|
29427
29448
|
for (var S in P.attributes)
|
|
29428
29449
|
D += " " + S + '="' + (P.attributes[S] || "").replace(/"/g, """) + '"';
|
|
29429
29450
|
return "<" + P.tag + ' class="' + P.classes.join(" ") + '"' + D + ">" + P.content + "</" + P.tag + ">";
|
|
29430
29451
|
};
|
|
29431
|
-
function u(f,
|
|
29432
|
-
f.lastIndex =
|
|
29452
|
+
function u(f, g, E, k) {
|
|
29453
|
+
f.lastIndex = g;
|
|
29433
29454
|
var P = f.exec(E);
|
|
29434
29455
|
if (P && k && P[1]) {
|
|
29435
29456
|
var O = P[1].length;
|
|
@@ -29437,7 +29458,7 @@ var prism = { exports: {} };
|
|
|
29437
29458
|
}
|
|
29438
29459
|
return P;
|
|
29439
29460
|
}
|
|
29440
|
-
function c(f,
|
|
29461
|
+
function c(f, g, E, k, P, O) {
|
|
29441
29462
|
for (var D in E)
|
|
29442
29463
|
if (!(!E.hasOwnProperty(D) || !E[D])) {
|
|
29443
29464
|
var S = E[D];
|
|
@@ -29450,9 +29471,9 @@ var prism = { exports: {} };
|
|
|
29450
29471
|
var te = H.pattern.toString().match(/[imsuy]*$/)[0];
|
|
29451
29472
|
H.pattern = RegExp(H.pattern.source, te + "g");
|
|
29452
29473
|
}
|
|
29453
|
-
for (var j = H.pattern || H, z = k.next, Y = P; z !==
|
|
29474
|
+
for (var j = H.pattern || H, z = k.next, Y = P; z !== g.tail && !(O && Y >= O.reach); Y += z.value.length, z = z.next) {
|
|
29454
29475
|
var q = z.value;
|
|
29455
|
-
if (
|
|
29476
|
+
if (g.length > f.length)
|
|
29456
29477
|
return;
|
|
29457
29478
|
if (!(q instanceof a)) {
|
|
29458
29479
|
var Q = 1, J;
|
|
@@ -29464,22 +29485,22 @@ var prism = { exports: {} };
|
|
|
29464
29485
|
z = z.next, X += z.value.length;
|
|
29465
29486
|
if (X -= z.value.length, Y = X, z.value instanceof a)
|
|
29466
29487
|
continue;
|
|
29467
|
-
for (var ie = z; ie !==
|
|
29488
|
+
for (var ie = z; ie !== g.tail && (X < se || typeof ie.value == "string"); ie = ie.next)
|
|
29468
29489
|
Q++, X += ie.value.length;
|
|
29469
29490
|
Q--, q = f.slice(Y, X), J.index -= Y;
|
|
29470
29491
|
} else if (J = u(j, 0, q, G), !J)
|
|
29471
29492
|
continue;
|
|
29472
|
-
var oe = J.index, b = J[0],
|
|
29493
|
+
var oe = J.index, b = J[0], w = q.slice(0, oe), $ = q.slice(oe + b.length), V = Y + q.length;
|
|
29473
29494
|
O && V > O.reach && (O.reach = V);
|
|
29474
29495
|
var R = z.prev;
|
|
29475
|
-
|
|
29496
|
+
w && (R = m(g, R, w), Y += w.length), _(g, R, Q);
|
|
29476
29497
|
var U = new a(D, L ? l.tokenize(b, L) : b, re, b);
|
|
29477
|
-
if (z = m(
|
|
29498
|
+
if (z = m(g, R, U), $ && m(g, z, $), Q > 1) {
|
|
29478
29499
|
var N = {
|
|
29479
29500
|
cause: D + "," + B,
|
|
29480
29501
|
reach: V
|
|
29481
29502
|
};
|
|
29482
|
-
c(f,
|
|
29503
|
+
c(f, g, E, z.prev, Y, N), O && N.reach > O.reach && (O.reach = N.reach);
|
|
29483
29504
|
}
|
|
29484
29505
|
}
|
|
29485
29506
|
}
|
|
@@ -29487,26 +29508,26 @@ var prism = { exports: {} };
|
|
|
29487
29508
|
}
|
|
29488
29509
|
}
|
|
29489
29510
|
function d() {
|
|
29490
|
-
var f = { value: null, prev: null, next: null },
|
|
29491
|
-
f.next =
|
|
29511
|
+
var f = { value: null, prev: null, next: null }, g = { value: null, prev: f, next: null };
|
|
29512
|
+
f.next = g, this.head = f, this.tail = g, this.length = 0;
|
|
29492
29513
|
}
|
|
29493
|
-
function m(f,
|
|
29494
|
-
var k =
|
|
29495
|
-
return
|
|
29514
|
+
function m(f, g, E) {
|
|
29515
|
+
var k = g.next, P = { value: E, prev: g, next: k };
|
|
29516
|
+
return g.next = P, k.prev = P, f.length++, P;
|
|
29496
29517
|
}
|
|
29497
|
-
function
|
|
29498
|
-
for (var k =
|
|
29518
|
+
function _(f, g, E) {
|
|
29519
|
+
for (var k = g.next, P = 0; P < E && k !== f.tail; P++)
|
|
29499
29520
|
k = k.next;
|
|
29500
|
-
|
|
29521
|
+
g.next = k, k.prev = g, f.length -= P;
|
|
29501
29522
|
}
|
|
29502
29523
|
function C(f) {
|
|
29503
|
-
for (var
|
|
29504
|
-
|
|
29505
|
-
return
|
|
29524
|
+
for (var g = [], E = f.head.next; E !== f.tail; )
|
|
29525
|
+
g.push(E.value), E = E.next;
|
|
29526
|
+
return g;
|
|
29506
29527
|
}
|
|
29507
29528
|
if (!r.document)
|
|
29508
29529
|
return r.addEventListener && (l.disableWorkerMessageHandler || r.addEventListener("message", function(f) {
|
|
29509
|
-
var
|
|
29530
|
+
var g = JSON.parse(f.data), E = g.language, k = g.code, P = g.immediateClose;
|
|
29510
29531
|
r.postMessage(l.highlight(k, l.languages[E], E)), P && r.close();
|
|
29511
29532
|
}, !1)), l;
|
|
29512
29533
|
var y = l.util.currentScript();
|
|
@@ -29917,11 +29938,11 @@ var prism = { exports: {} };
|
|
|
29917
29938
|
f.readyState == 4 && (f.status < 400 && f.responseText ? v(f.responseText) : f.status >= 400 ? p(n(f.status, f.statusText)) : p(i));
|
|
29918
29939
|
}, f.send(null);
|
|
29919
29940
|
}
|
|
29920
|
-
function
|
|
29941
|
+
function _(y) {
|
|
29921
29942
|
var v = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y || "");
|
|
29922
29943
|
if (v) {
|
|
29923
|
-
var p = Number(v[1]), f = v[2],
|
|
29924
|
-
return f ?
|
|
29944
|
+
var p = Number(v[1]), f = v[2], g = v[3];
|
|
29945
|
+
return f ? g ? [p, Number(g)] : [p, void 0] : [p, p];
|
|
29925
29946
|
}
|
|
29926
29947
|
}
|
|
29927
29948
|
o.hooks.add("before-highlightall", function(y) {
|
|
@@ -29935,18 +29956,18 @@ var prism = { exports: {} };
|
|
|
29935
29956
|
y.code = "", v.setAttribute(l, a);
|
|
29936
29957
|
var p = v.appendChild(document.createElement("CODE"));
|
|
29937
29958
|
p.textContent = r;
|
|
29938
|
-
var f = v.getAttribute("data-src"),
|
|
29939
|
-
if (
|
|
29959
|
+
var f = v.getAttribute("data-src"), g = y.language;
|
|
29960
|
+
if (g === "none") {
|
|
29940
29961
|
var E = (/\.(\w+)$/.exec(f) || [, "none"])[1];
|
|
29941
|
-
|
|
29962
|
+
g = s[E] || E;
|
|
29942
29963
|
}
|
|
29943
|
-
o.util.setLanguage(p,
|
|
29964
|
+
o.util.setLanguage(p, g), o.util.setLanguage(v, g);
|
|
29944
29965
|
var k = o.plugins.autoloader;
|
|
29945
|
-
k && k.loadLanguages(
|
|
29966
|
+
k && k.loadLanguages(g), m(
|
|
29946
29967
|
f,
|
|
29947
29968
|
function(P) {
|
|
29948
29969
|
v.setAttribute(l, u);
|
|
29949
|
-
var O =
|
|
29970
|
+
var O = _(v.getAttribute("data-range"));
|
|
29950
29971
|
if (O) {
|
|
29951
29972
|
var D = P.split(/\r\n?|\n/g), S = O[0], B = O[1] == null ? D.length : O[1];
|
|
29952
29973
|
S < 0 && (S += D.length), S = Math.max(0, Math.min(S - 1, D.length)), B < 0 && (B += D.length), B = Math.max(0, Math.min(B, D.length)), P = D.slice(S, B).join(`
|
|
@@ -29968,8 +29989,8 @@ var prism = { exports: {} };
|
|
|
29968
29989
|
* @param {ParentNode} [container=document]
|
|
29969
29990
|
*/
|
|
29970
29991
|
highlight: function(v) {
|
|
29971
|
-
for (var p = (v || document).querySelectorAll(d), f = 0,
|
|
29972
|
-
o.highlightElement(
|
|
29992
|
+
for (var p = (v || document).querySelectorAll(d), f = 0, g; g = p[f++]; )
|
|
29993
|
+
o.highlightElement(g);
|
|
29973
29994
|
}
|
|
29974
29995
|
};
|
|
29975
29996
|
var C = !1;
|
|
@@ -30448,7 +30469,7 @@ const AdminSaveDialog = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sf
|
|
|
30448
30469
|
class: "xml line-numbers"
|
|
30449
30470
|
};
|
|
30450
30471
|
function _sfc_render$3(e, t, o, r, n, i) {
|
|
30451
|
-
const s = resolveComponent("el-button"), l = resolveComponent("el-option"), a = resolveComponent("el-select"), u = resolveComponent("el-row"), c = resolveComponent("toolbox"), d = resolveComponent("workflow-canvas"), m = resolveComponent("el-tab-pane"),
|
|
30472
|
+
const s = resolveComponent("el-button"), l = resolveComponent("el-option"), a = resolveComponent("el-select"), u = resolveComponent("el-row"), c = resolveComponent("toolbox"), d = resolveComponent("workflow-canvas"), m = resolveComponent("el-tab-pane"), _ = resolveComponent("el-tabs"), C = resolveComponent("icon-svg"), y = resolveComponent("context-menu"), v = resolveComponent("admin-save-dialog"), p = resolveDirective("permission");
|
|
30452
30473
|
return openBlock(), createElementBlock("div", {
|
|
30453
30474
|
ref: "wfEditor",
|
|
30454
30475
|
style: { position: "relative", height: "100%" },
|
|
@@ -30562,7 +30583,7 @@ function _sfc_render$3(e, t, o, r, n, i) {
|
|
|
30562
30583
|
class: "tabBox",
|
|
30563
30584
|
key: e.canvasKey
|
|
30564
30585
|
}, [
|
|
30565
|
-
createVNode(
|
|
30586
|
+
createVNode(_, {
|
|
30566
30587
|
modelValue: e.activeTab,
|
|
30567
30588
|
"onUpdate:modelValue": t[3] || (t[3] = (f) => e.activeTab = f),
|
|
30568
30589
|
class: "tabs"
|
|
@@ -30808,7 +30829,6 @@ const WorkflowEditor$1 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _s
|
|
|
30808
30829
|
}
|
|
30809
30830
|
};
|
|
30810
30831
|
function i18nOperation(e, t, o, r) {
|
|
30811
|
-
debugger;
|
|
30812
30832
|
let n = e.transactionResult;
|
|
30813
30833
|
const i = e.historyType;
|
|
30814
30834
|
if (!e.current && i)
|
|
@@ -30834,7 +30854,7 @@ function i18nOperation(e, t, o, r) {
|
|
|
30834
30854
|
(c + "").indexOf("key_") < 0 && (d = "key_" + d), u[d] = s[c];
|
|
30835
30855
|
const m = s[c];
|
|
30836
30856
|
if (m.indexOf("${taskNodeId:") >= 0) {
|
|
30837
|
-
const
|
|
30857
|
+
const _ = m.substring(m.indexOf(":") + 1, m.indexOf("##")), C = m.substring(m.indexOf("##") + 2, m.lastIndexOf("}")), y = o[_];
|
|
30838
30858
|
y && y[r] && y[r] !== "" ? u[d] = y[r] : u[d] = C;
|
|
30839
30859
|
}
|
|
30840
30860
|
}
|
|
@@ -31248,12 +31268,12 @@ function getValidator(e, t, o, r, n, i) {
|
|
|
31248
31268
|
return e && e.forEach((d) => {
|
|
31249
31269
|
const m = d.canEdit;
|
|
31250
31270
|
if (typeof m < "u" && m === !0) {
|
|
31251
|
-
let
|
|
31252
|
-
if (
|
|
31253
|
-
o === !0 && (
|
|
31271
|
+
let _ = d.name;
|
|
31272
|
+
if (_) {
|
|
31273
|
+
o === !0 && (_ = _);
|
|
31254
31274
|
const C = d.condition, y = null;
|
|
31255
31275
|
let v = null;
|
|
31256
|
-
if (
|
|
31276
|
+
if (_.indexOf(".") > 0 && _.indexOf("$") === 0 ? v = !0 : v = parseSubTablePermissionCondition(
|
|
31257
31277
|
C,
|
|
31258
31278
|
l,
|
|
31259
31279
|
y,
|
|
@@ -31263,10 +31283,10 @@ function getValidator(e, t, o, r, n, i) {
|
|
|
31263
31283
|
i
|
|
31264
31284
|
), v != null && v === !0) {
|
|
31265
31285
|
let p = {};
|
|
31266
|
-
if (
|
|
31267
|
-
|
|
31268
|
-
else if (
|
|
31269
|
-
const f =
|
|
31286
|
+
if (_.indexOf(".") > 0)
|
|
31287
|
+
_.indexOf("$") === 0 ? setSubObjectFieldRule(d, u, t, o, l) : setMainObjectFieldRule(d, s, t, o, l);
|
|
31288
|
+
else if (_.indexOf("$") === 0) {
|
|
31289
|
+
const f = _.substring(_.indexOf("$") + 1);
|
|
31270
31290
|
a[f] = {
|
|
31271
31291
|
required: !0,
|
|
31272
31292
|
message: getI18n().t("workflowEditorMessage.subTableMustInputDatas", {
|
|
@@ -31274,7 +31294,7 @@ function getValidator(e, t, o, r, n, i) {
|
|
|
31274
31294
|
})
|
|
31275
31295
|
};
|
|
31276
31296
|
} else
|
|
31277
|
-
p = getLeafPropRule(d, l), s[
|
|
31297
|
+
p = getLeafPropRule(d, l), s[_] = p;
|
|
31278
31298
|
}
|
|
31279
31299
|
}
|
|
31280
31300
|
}
|
|
@@ -31340,13 +31360,13 @@ function validatorEntity(e, t, o, r, n, i, s, l) {
|
|
|
31340
31360
|
},
|
|
31341
31361
|
(d, m) => {
|
|
31342
31362
|
if (d) {
|
|
31343
|
-
const
|
|
31363
|
+
const _ = d[0].message;
|
|
31344
31364
|
c = d[0].field, typeof o < "u" && o !== null ? i !== void 0 && s !== void 0 ? a = getI18n().t("workflowEditorMessage.pageRecordLine", {
|
|
31345
31365
|
pageNum: i,
|
|
31346
31366
|
row: s
|
|
31347
|
-
}) + "," +
|
|
31367
|
+
}) + "," + _ : a = getI18n().t("workflowEditorMessage.recordLine", {
|
|
31348
31368
|
row: o + 1
|
|
31349
|
-
}) + "," +
|
|
31369
|
+
}) + "," + _ : a = _;
|
|
31350
31370
|
} else
|
|
31351
31371
|
a = !0;
|
|
31352
31372
|
if (c && r === !0 && n !== void 0 && n === !0 && /[A-Z]+/.test(c) && e[c.toLowerCase()] !== void 0) {
|
|
@@ -31366,17 +31386,17 @@ function validateSub(e, t, o, r, n, i, s, l, a, u) {
|
|
|
31366
31386
|
console.log("formValidator333--subRules=", t);
|
|
31367
31387
|
const d = Object.keys(t);
|
|
31368
31388
|
for (let m = 0; m < d.length; m++) {
|
|
31369
|
-
const
|
|
31389
|
+
const _ = d[m], C = t[_];
|
|
31370
31390
|
console.log("formValidator44--subFieldRule=", C);
|
|
31371
31391
|
const y = Object.keys(C);
|
|
31372
31392
|
console.log("formValidator555--subFieldProps=", y);
|
|
31373
|
-
let v = e[
|
|
31393
|
+
let v = e[_];
|
|
31374
31394
|
v || (v = []);
|
|
31375
|
-
const p = validateTotalSubTable(c, e,
|
|
31395
|
+
const p = validateTotalSubTable(c, e, _);
|
|
31376
31396
|
if (p !== !0)
|
|
31377
|
-
return delete c[
|
|
31378
|
-
let f,
|
|
31379
|
-
a && a[
|
|
31397
|
+
return delete c[_], u ? { msg: p, listCode: _ } : p;
|
|
31398
|
+
let f, g = [];
|
|
31399
|
+
a && a[_] && (f = a[_].pageSize, g = a[_].fields || []);
|
|
31380
31400
|
for (let E = 0; E < v.length; E++) {
|
|
31381
31401
|
const k = v[E], P = packageRowRule(
|
|
31382
31402
|
y,
|
|
@@ -31387,7 +31407,7 @@ function validateSub(e, t, o, r, n, i, s, l, a, u) {
|
|
|
31387
31407
|
i,
|
|
31388
31408
|
s,
|
|
31389
31409
|
l,
|
|
31390
|
-
|
|
31410
|
+
g
|
|
31391
31411
|
);
|
|
31392
31412
|
console.log("formValidator666--rowRule=", P);
|
|
31393
31413
|
let O, D;
|
|
@@ -31404,7 +31424,7 @@ function validateSub(e, t, o, r, n, i, s, l, a, u) {
|
|
|
31404
31424
|
});
|
|
31405
31425
|
const S = validator(k, P, E, r, O, D, u);
|
|
31406
31426
|
if (!u && S !== !0 || u && S.msg !== !0)
|
|
31407
|
-
return u && (a[
|
|
31427
|
+
return u && (a[_].title && (S.msg = a[_].title + ":" + S.msg), S.listCode = _), S;
|
|
31408
31428
|
}
|
|
31409
31429
|
}
|
|
31410
31430
|
}
|
|
@@ -31427,7 +31447,7 @@ function packageRowRule(e, t, o, r, n, i, s, l, a) {
|
|
|
31427
31447
|
const m = e[d];
|
|
31428
31448
|
if (a.indexOf(m) < 0)
|
|
31429
31449
|
continue;
|
|
31430
|
-
const
|
|
31450
|
+
const _ = t[m], C = _.condition, y = parseSubTablePermissionCondition(
|
|
31431
31451
|
C,
|
|
31432
31452
|
r,
|
|
31433
31453
|
n,
|
|
@@ -31438,10 +31458,10 @@ function packageRowRule(e, t, o, r, n, i, s, l, a) {
|
|
|
31438
31458
|
);
|
|
31439
31459
|
if (y != null && y === !0)
|
|
31440
31460
|
if (u === void 0)
|
|
31441
|
-
c[m] =
|
|
31461
|
+
c[m] = _;
|
|
31442
31462
|
else {
|
|
31443
|
-
const v =
|
|
31444
|
-
(!v || v.indexOf(u) >= 0) && (c[m] =
|
|
31463
|
+
const v = _.rowIndexes;
|
|
31464
|
+
(!v || v.indexOf(u) >= 0) && (c[m] = _);
|
|
31445
31465
|
}
|
|
31446
31466
|
}
|
|
31447
31467
|
return c;
|
|
@@ -31451,24 +31471,29 @@ function validateTotalSubTable(e, t, o) {
|
|
|
31451
31471
|
return r || (r = []), r.length === 0 && e && e[o] && e[o].required !== void 0 && e[o].required === !0 ? e[o].message : !0;
|
|
31452
31472
|
}
|
|
31453
31473
|
function formValidator$1(e, t, o, r, n, i, s, l) {
|
|
31454
|
-
|
|
31455
|
-
if (
|
|
31456
|
-
const u =
|
|
31457
|
-
|
|
31458
|
-
|
|
31459
|
-
e,
|
|
31460
|
-
|
|
31461
|
-
|
|
31462
|
-
|
|
31463
|
-
|
|
31464
|
-
|
|
31465
|
-
|
|
31466
|
-
|
|
31467
|
-
|
|
31468
|
-
|
|
31469
|
-
|
|
31474
|
+
let a = validator(e, t, null, o, null, null, l);
|
|
31475
|
+
if (!l && a === !0 || l && a.msg === !0) {
|
|
31476
|
+
const u = Object.keys(t);
|
|
31477
|
+
if (u.indexOf("rules") >= 0 && u.indexOf("subRules") >= 0 && u.indexOf("totalSubRules") >= 0) {
|
|
31478
|
+
const c = t.rules, d = t.subRules, m = t.totalSubRules, _ = t.dataTypeMap;
|
|
31479
|
+
return a = validator(e, c, null, o, null, null, l), (!l && a === !0 || l && a.msg === !0) && (d || m) && (a = validateSub(
|
|
31480
|
+
e,
|
|
31481
|
+
d,
|
|
31482
|
+
m,
|
|
31483
|
+
o,
|
|
31484
|
+
_,
|
|
31485
|
+
r,
|
|
31486
|
+
n,
|
|
31487
|
+
i,
|
|
31488
|
+
s,
|
|
31489
|
+
l
|
|
31490
|
+
)), a;
|
|
31491
|
+
} else if (u.indexOf("rules") >= 0) {
|
|
31492
|
+
const c = t.rules;
|
|
31493
|
+
return validator(e, c, null, o, null, null, l);
|
|
31494
|
+
}
|
|
31470
31495
|
} else
|
|
31471
|
-
return
|
|
31496
|
+
return a;
|
|
31472
31497
|
}
|
|
31473
31498
|
function underscoreName(e) {
|
|
31474
31499
|
return e;
|