workflow-editor 0.0.83-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-6a701dc9.js → 401-6d8d823d.js} +1 -1
- package/lib/{404-8ed89b16.js → 404-71e6f04b.js} +1 -1
- package/lib/{iframe-page-4ef6b386.js → iframe-page-f6d03745.js} +1 -1
- package/lib/{index-351e0152.js → index-acd72790.js} +879 -842
- package/lib/{tab-content-iframe-index-e7771116.js → tab-content-iframe-index-a109cac2.js} +1 -1
- package/lib/{tab-content-index-e4602841.js → tab-content-index-f39a83c1.js} +1 -1
- package/lib/{tache-subprocess-history-5d2e1d7a.js → tache-subprocess-history-8ec86536.js} +1 -1
- package/lib/workflow-editor.css +1 -1
- package/lib/workflow-editor.js +1 -1
- package/lib/workflow-editor.umd.cjs +13 -13
- package/package.json +2 -2
- package/packages/plugins/formValidatorUtil.js +38 -29
- package/packages/workflow-editor/src/workflow-editor.vue +17 -0
|
@@ -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)
|
|
@@ -4545,7 +4545,8 @@ const en$1 = {
|
|
|
4545
4545
|
collapse: "Collapse",
|
|
4546
4546
|
noData: "No Data",
|
|
4547
4547
|
confirmClosePage: "Are you sure you want to close this page? Unsaved data will be lost.",
|
|
4548
|
-
noMoreData: "No more data"
|
|
4548
|
+
noMoreData: "No more data",
|
|
4549
|
+
modifiedTime: "Modified Time"
|
|
4549
4550
|
},
|
|
4550
4551
|
imatrixUIMessage: {
|
|
4551
4552
|
whetherToConfirmDeletion: "Whether To Confirm Deletion",
|
|
@@ -4647,7 +4648,13 @@ const en$1 = {
|
|
|
4647
4648
|
orderType: "Order Type",
|
|
4648
4649
|
orderTypeAsc: "Asc",
|
|
4649
4650
|
orderTypeDesc: "Desc",
|
|
4650
|
-
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"
|
|
4651
4658
|
},
|
|
4652
4659
|
departmentTree: {},
|
|
4653
4660
|
departmentTreeInline: {
|
|
@@ -4714,6 +4721,7 @@ const en$1 = {
|
|
|
4714
4721
|
oppose: "Opposition",
|
|
4715
4722
|
kiken: "Abstention",
|
|
4716
4723
|
get_back_button: "Retrieve",
|
|
4724
|
+
retrieve_task: "Retrieve Task",
|
|
4717
4725
|
copy: "Copy",
|
|
4718
4726
|
draw: "Draw",
|
|
4719
4727
|
abandon_draw: "Give Up Draw",
|
|
@@ -4772,7 +4780,13 @@ const en$1 = {
|
|
|
4772
4780
|
stayDuration: "Stay Duration",
|
|
4773
4781
|
isOverdue: "Is Overdue",
|
|
4774
4782
|
taskStateDoing: "Doing",
|
|
4775
|
-
taskStateDone: "Done"
|
|
4783
|
+
taskStateDone: "Done",
|
|
4784
|
+
cancel_trust_task: "{key_1} canceled the delegated task of user [{key_2}]",
|
|
4785
|
+
restore_trust_task: "{key_1} has restored the task of the trustee [{key_2}]",
|
|
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",
|
|
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"
|
|
4776
4790
|
},
|
|
4777
4791
|
gateway: {
|
|
4778
4792
|
timeout: "Interface call timeout",
|
|
@@ -4885,7 +4899,8 @@ const en$1 = {
|
|
|
4885
4899
|
collapse: "收起",
|
|
4886
4900
|
noData: "暂无数据",
|
|
4887
4901
|
confirmClosePage: "确认关闭此页面吗?未保存的数据将会丢失。",
|
|
4888
|
-
noMoreData: "没有更多数据了"
|
|
4902
|
+
noMoreData: "没有更多数据了",
|
|
4903
|
+
modifiedTime: "更新时间"
|
|
4889
4904
|
},
|
|
4890
4905
|
imatrixUIMessage: {
|
|
4891
4906
|
whetherToConfirmDeletion: "是否确认删除",
|
|
@@ -4988,7 +5003,13 @@ const en$1 = {
|
|
|
4988
5003
|
orderType: "排序方式",
|
|
4989
5004
|
orderTypeAsc: "升序",
|
|
4990
5005
|
orderTypeDesc: "降序",
|
|
4991
|
-
close: "关闭"
|
|
5006
|
+
close: "关闭",
|
|
5007
|
+
tabConfig: "页签配置",
|
|
5008
|
+
tab: "所属页签",
|
|
5009
|
+
tabCode: "页签编码",
|
|
5010
|
+
tabName: "页签名称",
|
|
5011
|
+
emptyTabInfo: "页签信息为空,不能保存!",
|
|
5012
|
+
otherTabName: "其它信息"
|
|
4992
5013
|
},
|
|
4993
5014
|
// 部门树组件
|
|
4994
5015
|
departmentTree: {},
|
|
@@ -5057,6 +5078,7 @@ const en$1 = {
|
|
|
5057
5078
|
oppose: "反对",
|
|
5058
5079
|
kiken: "弃权",
|
|
5059
5080
|
get_back_button: "取回",
|
|
5081
|
+
retrieve_task: "取回",
|
|
5060
5082
|
copy: "抄送",
|
|
5061
5083
|
draw: "领取",
|
|
5062
5084
|
abandon_draw: "放弃领取",
|
|
@@ -5115,7 +5137,13 @@ const en$1 = {
|
|
|
5115
5137
|
stayDuration: "停留时长",
|
|
5116
5138
|
isOverdue: "是否超期",
|
|
5117
5139
|
taskStateDoing: "进行中",
|
|
5118
|
-
taskStateDone: "已完成"
|
|
5140
|
+
taskStateDone: "已完成",
|
|
5141
|
+
cancel_trust_task: "{key_1}取消了用户[{key_2}]的委托任务",
|
|
5142
|
+
restore_trust_task: "{key_1}恢复了受托人[{key_2}]的任务",
|
|
5143
|
+
cancel_trust_record_task: "{key_1}的委托已取消,办理人[{key_2}]环节[{key_3}]的委托任务被取消",
|
|
5144
|
+
cancel_trust_task_complete_task: "{key_1}执行了[{key_2}]操作,办理人[{key_3}]的任务被取消",
|
|
5145
|
+
stayDurationComment: "停留时长为上个节点完成的时间到当前节点完成时间的时长,根据自然日计算",
|
|
5146
|
+
processingDurationComment: "处理时长为上个节点完成的时间到当前节点完成时间的时长,根据工作日小时数计算"
|
|
5119
5147
|
},
|
|
5120
5148
|
gateway: {
|
|
5121
5149
|
timeout: "接口调用超时",
|
|
@@ -5212,27 +5240,27 @@ class AmountCalculator extends CalculatorFactoryWf {
|
|
|
5212
5240
|
super();
|
|
5213
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";
|
|
5214
5242
|
if (t.indexOf(o) > 0) {
|
|
5215
|
-
const c = o, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5216
|
-
|
|
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;
|
|
5217
5245
|
} else if (t.indexOf(r) > 0) {
|
|
5218
|
-
const c = r, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5219
|
-
|
|
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;
|
|
5220
5248
|
} else if (t.indexOf(n) > 0) {
|
|
5221
|
-
const c = n, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5222
|
-
|
|
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;
|
|
5223
5251
|
} else if (t.indexOf(i) > 0) {
|
|
5224
|
-
const c = i, d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5225
|
-
|
|
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;
|
|
5226
5254
|
} else if (t.indexOf(s) > 0 || t.indexOf(a) > 0) {
|
|
5227
5255
|
let c = s;
|
|
5228
5256
|
t.indexOf(a) > 0 && (c = a);
|
|
5229
|
-
const d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5230
|
-
|
|
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;
|
|
5231
5259
|
} else if (t.indexOf(l) > 0 || t.indexOf(u) > 0) {
|
|
5232
5260
|
let c = l;
|
|
5233
5261
|
t.indexOf(u) > 0 && (c = u);
|
|
5234
|
-
const d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim(),
|
|
5235
|
-
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;
|
|
5236
5264
|
}
|
|
5237
5265
|
}
|
|
5238
5266
|
}
|
|
@@ -5250,40 +5278,40 @@ class NumberCalculator extends CalculatorFactoryWf {
|
|
|
5250
5278
|
const c = o;
|
|
5251
5279
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5252
5280
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5253
|
-
const
|
|
5254
|
-
|
|
5281
|
+
const _ = Number(d), C = Number(m);
|
|
5282
|
+
_ === null ? this.result = !1 : this.result = _ >= C;
|
|
5255
5283
|
} else if (t.indexOf(r) > 0) {
|
|
5256
5284
|
const c = r;
|
|
5257
5285
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5258
5286
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5259
|
-
const
|
|
5260
|
-
|
|
5287
|
+
const _ = Number(d), C = Number(m);
|
|
5288
|
+
_ === null ? this.result = !1 : this.result = _ <= C;
|
|
5261
5289
|
} else if (t.indexOf(n) > 0) {
|
|
5262
5290
|
const c = n;
|
|
5263
5291
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5264
5292
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5265
|
-
const
|
|
5266
|
-
|
|
5293
|
+
const _ = Number(d), C = Number(m);
|
|
5294
|
+
_ === null ? this.result = !1 : this.result = _ > C;
|
|
5267
5295
|
} else if (t.indexOf(i) > 0) {
|
|
5268
5296
|
const c = i;
|
|
5269
5297
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5270
5298
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5271
|
-
const
|
|
5272
|
-
|
|
5299
|
+
const _ = Number(d), C = Number(m);
|
|
5300
|
+
_ === null ? this.result = !1 : this.result = _ < C;
|
|
5273
5301
|
} else if (t.indexOf(s) > 0 || t.indexOf(a) > 0) {
|
|
5274
5302
|
let c = s;
|
|
5275
5303
|
t.indexOf(a) > 0 && (c = a);
|
|
5276
5304
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5277
5305
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5278
|
-
const
|
|
5279
|
-
|
|
5306
|
+
const _ = Number(d), C = Number(m);
|
|
5307
|
+
_ === null ? this.result = !1 : this.result = _ !== C;
|
|
5280
5308
|
} else if (t.indexOf(l) > 0 || t.indexOf(u) > 0) {
|
|
5281
5309
|
let c = l;
|
|
5282
5310
|
t.indexOf(u) > 0 && (c = u);
|
|
5283
5311
|
let d = t.substring(0, t.indexOf(c)).trim(), m = t.substring(t.indexOf(c) + c.length).trim();
|
|
5284
5312
|
d || (d = "0"), m ? m = m.replaceAll("'", "") : m = "0";
|
|
5285
|
-
const
|
|
5286
|
-
this.isEQEmptyValue(
|
|
5313
|
+
const _ = Number(d), C = Number(m);
|
|
5314
|
+
this.isEQEmptyValue(_, c, C) ? this.result = !0 : _ === null ? this.result = !1 : this.result = _ === C;
|
|
5287
5315
|
}
|
|
5288
5316
|
}
|
|
5289
5317
|
}
|
|
@@ -5301,38 +5329,38 @@ class DateCalculator extends CalculatorFactoryWf {
|
|
|
5301
5329
|
const u = r;
|
|
5302
5330
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5303
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(":")));
|
|
5304
|
-
const m = new Date(c).getTime(),
|
|
5305
|
-
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 >= _;
|
|
5306
5334
|
} else if (t.indexOf(n) > 0) {
|
|
5307
5335
|
const u = n;
|
|
5308
5336
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5309
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(":")));
|
|
5310
|
-
const m = new Date(c).getTime(),
|
|
5311
|
-
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 <= _;
|
|
5312
5340
|
} else if (t.indexOf(i) > 0) {
|
|
5313
5341
|
const u = i;
|
|
5314
5342
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5315
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(":")));
|
|
5316
|
-
const m = new Date(c).getTime(),
|
|
5317
|
-
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 > _;
|
|
5318
5346
|
} else if (t.indexOf(s) > 0) {
|
|
5319
5347
|
const u = s;
|
|
5320
5348
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5321
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(":")));
|
|
5322
|
-
const m = new Date(c).getTime(),
|
|
5323
|
-
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 < _;
|
|
5324
5352
|
} else if (t.indexOf(l) > 0) {
|
|
5325
5353
|
const u = l;
|
|
5326
5354
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5327
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(":")));
|
|
5328
|
-
const m = new Date(c).getTime(),
|
|
5329
|
-
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 !== _;
|
|
5330
5358
|
} else if (t.indexOf(a) > 0) {
|
|
5331
5359
|
const u = a;
|
|
5332
5360
|
let c = t.substring(0, t.indexOf(u)).trim(), d = t.substring(t.indexOf(u) + u.length).trim();
|
|
5333
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(":")));
|
|
5334
|
-
const m = new Date(c).getTime(),
|
|
5335
|
-
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 === _;
|
|
5336
5364
|
}
|
|
5337
5365
|
}
|
|
5338
5366
|
}
|
|
@@ -5417,7 +5445,7 @@ function parseFieldCondition(e, t, o, r, n, i, s) {
|
|
|
5417
5445
|
const u = e.substring(
|
|
5418
5446
|
e.indexOf(l) + l.length,
|
|
5419
5447
|
e.indexOf(a)
|
|
5420
|
-
), 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(
|
|
5421
5449
|
m,
|
|
5422
5450
|
o,
|
|
5423
5451
|
n,
|
|
@@ -5426,7 +5454,7 @@ function parseFieldCondition(e, t, o, r, n, i, s) {
|
|
|
5426
5454
|
r,
|
|
5427
5455
|
i
|
|
5428
5456
|
);
|
|
5429
|
-
|
|
5457
|
+
_ != null && (e = e.replace(m, _.toString()));
|
|
5430
5458
|
let C;
|
|
5431
5459
|
if (c.startsWith("${parent[") ? C = getValue$2(o, u) : C = getValue$2(r, u), (C == null || C === "") && (t === "DATE" || t === "TIME"))
|
|
5432
5460
|
return !1;
|
|
@@ -6237,11 +6265,11 @@ function toFormData(e, t, o) {
|
|
|
6237
6265
|
if (utils$1.endsWith(y, "{}"))
|
|
6238
6266
|
y = r ? y : y.slice(0, -2), C = JSON.stringify(C);
|
|
6239
6267
|
else if (utils$1.isArray(C) && isFlatArray(C) || (utils$1.isFileList(C) || utils$1.endsWith(y, "[]")) && (p = utils$1.toArray(C)))
|
|
6240
|
-
return y = removeBrackets(y), p.forEach(function(
|
|
6241
|
-
!(utils$1.isUndefined(
|
|
6268
|
+
return y = removeBrackets(y), p.forEach(function(g, E) {
|
|
6269
|
+
!(utils$1.isUndefined(g) || g === null) && t.append(
|
|
6242
6270
|
// eslint-disable-next-line no-nested-ternary
|
|
6243
6271
|
s === !0 ? renderKey([y], E, i) : s === null ? y : y + "[]",
|
|
6244
|
-
u(
|
|
6272
|
+
u(g)
|
|
6245
6273
|
);
|
|
6246
6274
|
}), !1;
|
|
6247
6275
|
}
|
|
@@ -6252,7 +6280,7 @@ function toFormData(e, t, o) {
|
|
|
6252
6280
|
convertValue: u,
|
|
6253
6281
|
isVisitable
|
|
6254
6282
|
});
|
|
6255
|
-
function
|
|
6283
|
+
function _(C, y) {
|
|
6256
6284
|
if (!utils$1.isUndefined(C)) {
|
|
6257
6285
|
if (d.indexOf(C) !== -1)
|
|
6258
6286
|
throw Error("Circular reference detected in " + y.join("."));
|
|
@@ -6263,13 +6291,13 @@ function toFormData(e, t, o) {
|
|
|
6263
6291
|
utils$1.isString(f) ? f.trim() : f,
|
|
6264
6292
|
y,
|
|
6265
6293
|
m
|
|
6266
|
-
)) === !0 &&
|
|
6294
|
+
)) === !0 && _(p, y ? y.concat(f) : [f]);
|
|
6267
6295
|
}), d.pop();
|
|
6268
6296
|
}
|
|
6269
6297
|
}
|
|
6270
6298
|
if (!utils$1.isObject(e))
|
|
6271
6299
|
throw new TypeError("data must be an object");
|
|
6272
|
-
return
|
|
6300
|
+
return _(e), t;
|
|
6273
6301
|
}
|
|
6274
6302
|
function encode$1(e) {
|
|
6275
6303
|
const t = {
|
|
@@ -6741,8 +6769,8 @@ function speedometer(e, t) {
|
|
|
6741
6769
|
m += o[d++], d = d % e;
|
|
6742
6770
|
if (n = (n + 1) % e, n === i && (i = (i + 1) % e), u - s < t)
|
|
6743
6771
|
return;
|
|
6744
|
-
const
|
|
6745
|
-
return
|
|
6772
|
+
const _ = c && u - c;
|
|
6773
|
+
return _ ? Math.round(m * 1e3 / _) : void 0;
|
|
6746
6774
|
};
|
|
6747
6775
|
}
|
|
6748
6776
|
function throttle(e, t) {
|
|
@@ -6943,13 +6971,13 @@ const resolveConfig = (e) => {
|
|
|
6943
6971
|
function d() {
|
|
6944
6972
|
if (!c)
|
|
6945
6973
|
return;
|
|
6946
|
-
const
|
|
6974
|
+
const _ = AxiosHeaders$1.from(
|
|
6947
6975
|
"getAllResponseHeaders" in c && c.getAllResponseHeaders()
|
|
6948
6976
|
), y = {
|
|
6949
6977
|
data: !l || l === "text" || l === "json" ? c.responseText : c.response,
|
|
6950
6978
|
status: c.status,
|
|
6951
6979
|
statusText: c.statusText,
|
|
6952
|
-
headers:
|
|
6980
|
+
headers: _,
|
|
6953
6981
|
config: e,
|
|
6954
6982
|
request: c
|
|
6955
6983
|
};
|
|
@@ -6976,8 +7004,8 @@ const resolveConfig = (e) => {
|
|
|
6976
7004
|
)), c = null;
|
|
6977
7005
|
}, i === void 0 && s.setContentType(null), "setRequestHeader" in c && utils$1.forEach(s.toJSON(), function(C, y) {
|
|
6978
7006
|
c.setRequestHeader(y, C);
|
|
6979
|
-
}), 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 = (
|
|
6980
|
-
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);
|
|
6981
7009
|
}, n.cancelToken && n.cancelToken.subscribe(a), n.signal && (n.signal.aborted ? a() : n.signal.addEventListener("abort", a)));
|
|
6982
7010
|
const m = parseProtocol(n.url);
|
|
6983
7011
|
if (m && platform.protocols.indexOf(m) === -1) {
|
|
@@ -7102,10 +7130,10 @@ const getBodyLength = async (e) => {
|
|
|
7102
7130
|
fetchOptions: m
|
|
7103
7131
|
} = resolveConfig(e);
|
|
7104
7132
|
u = u ? (u + "").toLowerCase() : "text";
|
|
7105
|
-
let [
|
|
7133
|
+
let [_, C] = n || i || s ? composeSignals$1([n, i], s) : [], y, v;
|
|
7106
7134
|
const p = () => {
|
|
7107
7135
|
!y && setTimeout(() => {
|
|
7108
|
-
|
|
7136
|
+
_ && _.unsubscribe();
|
|
7109
7137
|
}), y = !0;
|
|
7110
7138
|
};
|
|
7111
7139
|
let f;
|
|
@@ -7123,23 +7151,23 @@ const getBodyLength = async (e) => {
|
|
|
7123
7151
|
}
|
|
7124
7152
|
utils$1.isString(d) || (d = d ? "cors" : "omit"), v = new Request(t, {
|
|
7125
7153
|
...m,
|
|
7126
|
-
signal:
|
|
7154
|
+
signal: _,
|
|
7127
7155
|
method: o.toUpperCase(),
|
|
7128
7156
|
headers: c.normalize().toJSON(),
|
|
7129
7157
|
body: r,
|
|
7130
7158
|
duplex: "half",
|
|
7131
7159
|
withCredentials: d
|
|
7132
7160
|
});
|
|
7133
|
-
let
|
|
7161
|
+
let g = await fetch(v);
|
|
7134
7162
|
const E = supportsResponseStream && (u === "stream" || u === "response");
|
|
7135
7163
|
if (supportsResponseStream && (l || E)) {
|
|
7136
7164
|
const P = {};
|
|
7137
7165
|
["status", "statusText", "headers"].forEach((D) => {
|
|
7138
|
-
P[D] =
|
|
7166
|
+
P[D] = g[D];
|
|
7139
7167
|
});
|
|
7140
|
-
const O = utils$1.toFiniteNumber(
|
|
7141
|
-
|
|
7142
|
-
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(
|
|
7143
7171
|
O,
|
|
7144
7172
|
progressEventReducer(l, !0)
|
|
7145
7173
|
), E && p, encodeText),
|
|
@@ -7147,24 +7175,24 @@ const getBodyLength = async (e) => {
|
|
|
7147
7175
|
);
|
|
7148
7176
|
}
|
|
7149
7177
|
u = u || "text";
|
|
7150
|
-
let k = await resolvers[utils$1.findKey(resolvers, u) || "text"](
|
|
7178
|
+
let k = await resolvers[utils$1.findKey(resolvers, u) || "text"](g, e);
|
|
7151
7179
|
return !E && p(), C && C(), await new Promise((P, O) => {
|
|
7152
7180
|
settle(P, O, {
|
|
7153
7181
|
data: k,
|
|
7154
|
-
headers: AxiosHeaders$1.from(
|
|
7155
|
-
status:
|
|
7156
|
-
statusText:
|
|
7182
|
+
headers: AxiosHeaders$1.from(g.headers),
|
|
7183
|
+
status: g.status,
|
|
7184
|
+
statusText: g.statusText,
|
|
7157
7185
|
config: e,
|
|
7158
7186
|
request: v
|
|
7159
7187
|
});
|
|
7160
7188
|
});
|
|
7161
|
-
} catch (
|
|
7162
|
-
throw p(),
|
|
7189
|
+
} catch (g) {
|
|
7190
|
+
throw p(), g && g.name === "TypeError" && /fetch/i.test(g.message) ? Object.assign(
|
|
7163
7191
|
new AxiosError("Network Error", AxiosError.ERR_NETWORK, e, v),
|
|
7164
7192
|
{
|
|
7165
|
-
cause:
|
|
7193
|
+
cause: g.cause || g
|
|
7166
7194
|
}
|
|
7167
|
-
) : AxiosError.from(
|
|
7195
|
+
) : AxiosError.from(g, g && g.code, e, v);
|
|
7168
7196
|
}
|
|
7169
7197
|
}), knownAdapters = {
|
|
7170
7198
|
http: httpAdapter,
|
|
@@ -7351,18 +7379,18 @@ class Axios {
|
|
|
7351
7379
|
return c;
|
|
7352
7380
|
}
|
|
7353
7381
|
m = l.length;
|
|
7354
|
-
let
|
|
7382
|
+
let _ = o;
|
|
7355
7383
|
for (d = 0; d < m; ) {
|
|
7356
7384
|
const C = l[d++], y = l[d++];
|
|
7357
7385
|
try {
|
|
7358
|
-
|
|
7386
|
+
_ = C(_);
|
|
7359
7387
|
} catch (v) {
|
|
7360
7388
|
y.call(this, v);
|
|
7361
7389
|
break;
|
|
7362
7390
|
}
|
|
7363
7391
|
}
|
|
7364
7392
|
try {
|
|
7365
|
-
c = dispatchRequest.call(this,
|
|
7393
|
+
c = dispatchRequest.call(this, _);
|
|
7366
7394
|
} catch (C) {
|
|
7367
7395
|
return Promise.reject(C);
|
|
7368
7396
|
}
|
|
@@ -7625,8 +7653,8 @@ function useEventListener(...e) {
|
|
|
7625
7653
|
Array.isArray(o) || (o = [o]), Array.isArray(r) || (r = [r]);
|
|
7626
7654
|
const i = [], s = () => {
|
|
7627
7655
|
i.forEach((c) => c()), i.length = 0;
|
|
7628
|
-
}, l = (c, d, m,
|
|
7629
|
-
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))));
|
|
7630
7658
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
7631
7659
|
a(), s();
|
|
7632
7660
|
};
|
|
@@ -8235,7 +8263,7 @@ const epPropKey = "__epPropKey", definePropType = (e) => e, isEpProp = (e) => is
|
|
|
8235
8263
|
validator: o || s ? (u) => {
|
|
8236
8264
|
let c = !1, d = [];
|
|
8237
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) {
|
|
8238
|
-
const m = [...new Set(d)].map((
|
|
8266
|
+
const m = [...new Set(d)].map((_) => JSON.stringify(_)).join(", ");
|
|
8239
8267
|
warn$2(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${m}], got value ${JSON.stringify(u)}.`);
|
|
8240
8268
|
}
|
|
8241
8269
|
return c;
|
|
@@ -8800,9 +8828,9 @@ var AsyncValidationError = /* @__PURE__ */ function(e) {
|
|
|
8800
8828
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
8801
8829
|
function asyncMap(e, t, o, r, n) {
|
|
8802
8830
|
if (t.first) {
|
|
8803
|
-
var i = new Promise(function(m,
|
|
8831
|
+
var i = new Promise(function(m, _) {
|
|
8804
8832
|
var C = function(p) {
|
|
8805
|
-
return r(p), p.length ?
|
|
8833
|
+
return r(p), p.length ? _(new AsyncValidationError(p, convertFieldsError(p))) : m(n);
|
|
8806
8834
|
}, y = flattenObjArr(e);
|
|
8807
8835
|
asyncSerialArray(y, o, C);
|
|
8808
8836
|
});
|
|
@@ -8810,10 +8838,10 @@ function asyncMap(e, t, o, r, n) {
|
|
|
8810
8838
|
return m;
|
|
8811
8839
|
}), i;
|
|
8812
8840
|
}
|
|
8813
|
-
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, _) {
|
|
8814
8842
|
var C = function(v) {
|
|
8815
8843
|
if (c.push.apply(c, v), u++, u === a)
|
|
8816
|
-
return r(c), c.length ?
|
|
8844
|
+
return r(c), c.length ? _(new AsyncValidationError(c, convertFieldsError(c))) : m(n);
|
|
8817
8845
|
};
|
|
8818
8846
|
l.length || (r(c), m(n)), l.forEach(function(y) {
|
|
8819
8847
|
var v = e[y];
|
|
@@ -8878,12 +8906,12 @@ var required$1 = function e(t, o, r, n, i, s) {
|
|
|
8878
8906
|
`).replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim(), i = new RegExp("(?:^" + o + "$)|(?:^" + n + "$)"), s = new RegExp("^" + o + "$"), l = new RegExp("^" + n + "$"), a = function(E) {
|
|
8879
8907
|
return E && E.exact ? i : new RegExp("(?:" + t(E) + o + t(E) + ")|(?:" + t(E) + n + t(E) + ")", "g");
|
|
8880
8908
|
};
|
|
8881
|
-
a.v4 = function(
|
|
8882
|
-
return
|
|
8883
|
-
}, a.v6 = function(
|
|
8884
|
-
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");
|
|
8885
8913
|
};
|
|
8886
|
-
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;
|
|
8887
8915
|
return urlReg = new RegExp("(?:^" + f + "$)", "i"), urlReg;
|
|
8888
8916
|
}, pattern$2 = {
|
|
8889
8917
|
// http://emailregex.com/
|
|
@@ -8941,10 +8969,10 @@ var required$1 = function e(t, o, r, n, i, s) {
|
|
|
8941
8969
|
var s = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], l = t.type;
|
|
8942
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));
|
|
8943
8971
|
}, range = function e(t, o, r, n, i) {
|
|
8944
|
-
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",
|
|
8945
|
-
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)
|
|
8946
8974
|
return !1;
|
|
8947
|
-
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));
|
|
8948
8976
|
}, ENUM$1 = "enum", enumerable$1 = function e(t, o, r, n, i) {
|
|
8949
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(", ")));
|
|
8950
8978
|
}, pattern$1 = function e(t, o, r, n, i) {
|
|
@@ -9186,8 +9214,8 @@ var messages$1 = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
9186
9214
|
} else
|
|
9187
9215
|
v.push(E);
|
|
9188
9216
|
}
|
|
9189
|
-
for (var
|
|
9190
|
-
f(y[
|
|
9217
|
+
for (var g = 0; g < y.length; g++)
|
|
9218
|
+
f(y[g]);
|
|
9191
9219
|
v.length ? (p = convertFieldsError(v), u(v, p)) : u(null, l);
|
|
9192
9220
|
}
|
|
9193
9221
|
if (a.messages) {
|
|
@@ -9195,15 +9223,15 @@ var messages$1 = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
9195
9223
|
d === messages$1 && (d = newMessages()), deepMerge(d, a.messages), a.messages = d;
|
|
9196
9224
|
} else
|
|
9197
9225
|
a.messages = this.messages();
|
|
9198
|
-
var m = {},
|
|
9199
|
-
|
|
9226
|
+
var m = {}, _ = a.keys || Object.keys(this.rules);
|
|
9227
|
+
_.forEach(function(y) {
|
|
9200
9228
|
var v = s.rules[y], p = l[y];
|
|
9201
9229
|
v.forEach(function(f) {
|
|
9202
|
-
var
|
|
9203
|
-
typeof
|
|
9204
|
-
validator:
|
|
9205
|
-
} :
|
|
9206
|
-
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,
|
|
9207
9235
|
value: p,
|
|
9208
9236
|
source: l,
|
|
9209
9237
|
field: y
|
|
@@ -9214,7 +9242,7 @@ var messages$1 = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
9214
9242
|
return asyncMap(m, a, function(y, v) {
|
|
9215
9243
|
var p = y.rule, f = (p.type === "object" || p.type === "array") && (typeof p.fields == "object" || typeof p.defaultField == "object");
|
|
9216
9244
|
f = f && (p.required || !p.required && y.value), p.field = y.field;
|
|
9217
|
-
function
|
|
9245
|
+
function g(P, O) {
|
|
9218
9246
|
return _extends({}, O, {
|
|
9219
9247
|
fullField: p.fullField + "." + P,
|
|
9220
9248
|
fullFields: p.fullFields ? [].concat(p.fullFields, [P]) : [P]
|
|
@@ -9239,7 +9267,7 @@ var messages$1 = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
9239
9267
|
var B = {};
|
|
9240
9268
|
Object.keys(S).forEach(function(L) {
|
|
9241
9269
|
var G = S[L], ne = Array.isArray(G) ? G : [G];
|
|
9242
|
-
B[L] = ne.map(
|
|
9270
|
+
B[L] = ne.map(g.bind(null, L));
|
|
9243
9271
|
});
|
|
9244
9272
|
var H = new e(B);
|
|
9245
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) {
|
|
@@ -9462,14 +9490,14 @@ const messageTypes = ["success", "info", "warning", "error"], messageDefaults =
|
|
|
9462
9490
|
setup(e, { expose: t }) {
|
|
9463
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);
|
|
9464
9492
|
let d;
|
|
9465
|
-
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(() => {
|
|
9466
9494
|
const O = o.type;
|
|
9467
9495
|
return { [n.bm("icon", O)]: O && TypeComponentsMap[O] };
|
|
9468
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(() => ({
|
|
9469
9497
|
top: `${v.value}px`,
|
|
9470
9498
|
zIndex: s.value
|
|
9471
9499
|
}));
|
|
9472
|
-
function
|
|
9500
|
+
function g() {
|
|
9473
9501
|
o.duration !== 0 && ({ stop: d } = useTimeoutFn(() => {
|
|
9474
9502
|
k();
|
|
9475
9503
|
}, o.duration));
|
|
@@ -9484,9 +9512,9 @@ const messageTypes = ["success", "info", "warning", "error"], messageDefaults =
|
|
|
9484
9512
|
O === EVENT_CODE.esc && k();
|
|
9485
9513
|
}
|
|
9486
9514
|
return onMounted(() => {
|
|
9487
|
-
|
|
9515
|
+
g(), l(), u.value = !0;
|
|
9488
9516
|
}), watch(() => o.repeatNum, () => {
|
|
9489
|
-
E(),
|
|
9517
|
+
E(), g();
|
|
9490
9518
|
}), useEventListener(document, "keydown", P), useResizeObserver(a, () => {
|
|
9491
9519
|
c.value = a.value.getBoundingClientRect().height;
|
|
9492
9520
|
}), t({
|
|
@@ -9514,7 +9542,7 @@ const messageTypes = ["success", "info", "warning", "error"], messageDefaults =
|
|
|
9514
9542
|
style: normalizeStyle(unref(f)),
|
|
9515
9543
|
role: "alert",
|
|
9516
9544
|
onMouseenter: E,
|
|
9517
|
-
onMouseleave:
|
|
9545
|
+
onMouseleave: g
|
|
9518
9546
|
}, [
|
|
9519
9547
|
O.repeatNum > 1 ? (openBlock(), createBlock(unref(ElBadge), {
|
|
9520
9548
|
key: 0,
|
|
@@ -9524,7 +9552,7 @@ const messageTypes = ["success", "info", "warning", "error"], messageDefaults =
|
|
|
9524
9552
|
}, null, 8, ["value", "type", "class"])) : createCommentVNode("v-if", !0),
|
|
9525
9553
|
unref(C) ? (openBlock(), createBlock(unref(ElIcon), {
|
|
9526
9554
|
key: 1,
|
|
9527
|
-
class: normalizeClass([unref(n).e("icon"), unref(
|
|
9555
|
+
class: normalizeClass([unref(n).e("icon"), unref(_)])
|
|
9528
9556
|
}, {
|
|
9529
9557
|
default: withCtx(() => [
|
|
9530
9558
|
(openBlock(), createBlock(resolveDynamicComponent(unref(C))))
|
|
@@ -10179,16 +10207,16 @@ function createCurrentLocation(e, t) {
|
|
|
10179
10207
|
function useHistoryListeners(e, t, o, r) {
|
|
10180
10208
|
let n = [], i = [], s = null;
|
|
10181
10209
|
const l = ({ state: m }) => {
|
|
10182
|
-
const
|
|
10210
|
+
const _ = createCurrentLocation(e, location), C = o.value, y = t.value;
|
|
10183
10211
|
let v = 0;
|
|
10184
10212
|
if (m) {
|
|
10185
|
-
if (o.value =
|
|
10213
|
+
if (o.value = _, t.value = m, s && s === C) {
|
|
10186
10214
|
s = null;
|
|
10187
10215
|
return;
|
|
10188
10216
|
}
|
|
10189
10217
|
v = y ? m.position - y.position : 0;
|
|
10190
10218
|
} else
|
|
10191
|
-
r(
|
|
10219
|
+
r(_);
|
|
10192
10220
|
n.forEach((p) => {
|
|
10193
10221
|
p(o.value, C, {
|
|
10194
10222
|
delta: v,
|
|
@@ -10202,11 +10230,11 @@ function useHistoryListeners(e, t, o, r) {
|
|
|
10202
10230
|
}
|
|
10203
10231
|
function u(m) {
|
|
10204
10232
|
n.push(m);
|
|
10205
|
-
const
|
|
10233
|
+
const _ = () => {
|
|
10206
10234
|
const C = n.indexOf(m);
|
|
10207
10235
|
C > -1 && n.splice(C, 1);
|
|
10208
10236
|
};
|
|
10209
|
-
return i.push(
|
|
10237
|
+
return i.push(_), _;
|
|
10210
10238
|
}
|
|
10211
10239
|
function c() {
|
|
10212
10240
|
const { history: m } = window;
|
|
@@ -10254,8 +10282,8 @@ function useHistoryStateNavigation(e) {
|
|
|
10254
10282
|
const d = e.indexOf("#"), m = d > -1 ? (o.host && document.querySelector("base") ? e : e.slice(d)) + a : createBaseLocation() + e + a;
|
|
10255
10283
|
try {
|
|
10256
10284
|
t[c ? "replaceState" : "pushState"](u, "", m), n.value = u;
|
|
10257
|
-
} catch (
|
|
10258
|
-
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);
|
|
10259
10287
|
}
|
|
10260
10288
|
}
|
|
10261
10289
|
function s(a, u) {
|
|
@@ -10403,9 +10431,9 @@ function tokensToParser(e, t) {
|
|
|
10403
10431
|
o.strict && !u.length && (n += "/");
|
|
10404
10432
|
for (let d = 0; d < u.length; d++) {
|
|
10405
10433
|
const m = u[d];
|
|
10406
|
-
let
|
|
10434
|
+
let _ = 40 + (o.sensitive ? 0.25 : 0);
|
|
10407
10435
|
if (m.type === 0)
|
|
10408
|
-
d || (n += "/"), n += m.value.replace(REGEX_CHARS_RE, "\\$&"),
|
|
10436
|
+
d || (n += "/"), n += m.value.replace(REGEX_CHARS_RE, "\\$&"), _ += 40;
|
|
10409
10437
|
else if (m.type === 1) {
|
|
10410
10438
|
const { value: C, repeatable: y, optional: v, regexp: p } = m;
|
|
10411
10439
|
i.push({
|
|
@@ -10415,19 +10443,19 @@ function tokensToParser(e, t) {
|
|
|
10415
10443
|
});
|
|
10416
10444
|
const f = p || BASE_PARAM_PATTERN;
|
|
10417
10445
|
if (f !== BASE_PARAM_PATTERN) {
|
|
10418
|
-
|
|
10446
|
+
_ += 10;
|
|
10419
10447
|
try {
|
|
10420
10448
|
new RegExp(`(${f})`);
|
|
10421
10449
|
} catch (E) {
|
|
10422
10450
|
throw new Error(`Invalid custom RegExp for param "${C}" (${f}): ` + E.message);
|
|
10423
10451
|
}
|
|
10424
10452
|
}
|
|
10425
|
-
let
|
|
10426
|
-
d || (
|
|
10453
|
+
let g = y ? `((?:${f})(?:/(?:${f}))*)` : `(${f})`;
|
|
10454
|
+
d || (g = // avoid an optional / if there are more segments e.g. /:p?-static
|
|
10427
10455
|
// or /:p?-:p2
|
|
10428
|
-
v && u.length < 2 ? `(?:/${
|
|
10456
|
+
v && u.length < 2 ? `(?:/${g})` : "/" + g), v && (g += "?"), n += g, _ += 20, v && (_ += -8), y && (_ += -20), f === ".*" && (_ += -50);
|
|
10429
10457
|
}
|
|
10430
|
-
c.push(
|
|
10458
|
+
c.push(_);
|
|
10431
10459
|
}
|
|
10432
10460
|
r.push(c);
|
|
10433
10461
|
}
|
|
@@ -10442,8 +10470,8 @@ function tokensToParser(e, t) {
|
|
|
10442
10470
|
if (!c)
|
|
10443
10471
|
return null;
|
|
10444
10472
|
for (let m = 1; m < c.length; m++) {
|
|
10445
|
-
const
|
|
10446
|
-
d[C.name] =
|
|
10473
|
+
const _ = c[m] || "", C = i[m - 1];
|
|
10474
|
+
d[C.name] = _ && C.repeatable ? _.split("/") : _;
|
|
10447
10475
|
}
|
|
10448
10476
|
return d;
|
|
10449
10477
|
}
|
|
@@ -10451,11 +10479,11 @@ function tokensToParser(e, t) {
|
|
|
10451
10479
|
let c = "", d = !1;
|
|
10452
10480
|
for (const m of e) {
|
|
10453
10481
|
(!d || !c.endsWith("/")) && (c += "/"), d = !1;
|
|
10454
|
-
for (const
|
|
10455
|
-
if (
|
|
10456
|
-
c +=
|
|
10457
|
-
else if (
|
|
10458
|
-
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] : "";
|
|
10459
10487
|
if (isArray$3(p) && !y)
|
|
10460
10488
|
throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);
|
|
10461
10489
|
const f = isArray$3(p) ? p.join("/") : p;
|
|
@@ -10519,8 +10547,8 @@ function tokenizePath(e) {
|
|
|
10519
10547
|
return [[ROOT_TOKEN]];
|
|
10520
10548
|
if (!e.startsWith("/"))
|
|
10521
10549
|
throw new Error(process.env.NODE_ENV !== "production" ? `Route paths should start with a "/": "${e}" should be "/${e}".` : `Invalid path "${e}"`);
|
|
10522
|
-
function t(
|
|
10523
|
-
throw new Error(`ERR (${o})/"${u}": ${
|
|
10550
|
+
function t(_) {
|
|
10551
|
+
throw new Error(`ERR (${o})/"${u}": ${_}`);
|
|
10524
10552
|
}
|
|
10525
10553
|
let o = 0, r = o;
|
|
10526
10554
|
const n = [];
|
|
@@ -10595,14 +10623,14 @@ function createRouterMatcher(e, t) {
|
|
|
10595
10623
|
return r.get(c);
|
|
10596
10624
|
}
|
|
10597
10625
|
function i(c, d, m) {
|
|
10598
|
-
const
|
|
10626
|
+
const _ = !m, C = normalizeRouteRecord(c);
|
|
10599
10627
|
process.env.NODE_ENV !== "production" && checkChildMissingNameWithEmptyPath(C, d), C.aliasOf = m && m.record;
|
|
10600
10628
|
const y = mergeOptions(t, c), v = [
|
|
10601
10629
|
C
|
|
10602
10630
|
];
|
|
10603
10631
|
if ("alias" in c) {
|
|
10604
|
-
const
|
|
10605
|
-
for (const E of
|
|
10632
|
+
const g = typeof c.alias == "string" ? [c.alias] : c.alias;
|
|
10633
|
+
for (const E of g)
|
|
10606
10634
|
v.push(assign({}, C, {
|
|
10607
10635
|
// this allows us to hold a copy of the `components` option
|
|
10608
10636
|
// so that async components cache is hold on the original record
|
|
@@ -10615,16 +10643,16 @@ function createRouterMatcher(e, t) {
|
|
|
10615
10643
|
}));
|
|
10616
10644
|
}
|
|
10617
10645
|
let p, f;
|
|
10618
|
-
for (const
|
|
10619
|
-
const { path: E } =
|
|
10646
|
+
for (const g of v) {
|
|
10647
|
+
const { path: E } = g;
|
|
10620
10648
|
if (d && E[0] !== "/") {
|
|
10621
10649
|
const k = d.record.path, P = k[k.length - 1] === "/" ? "" : "/";
|
|
10622
|
-
|
|
10650
|
+
g.path = d.record.path + (E && P + E);
|
|
10623
10651
|
}
|
|
10624
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
10652
|
+
if (process.env.NODE_ENV !== "production" && g.path === "*")
|
|
10625
10653
|
throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
|
|
10626
10654
|
See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.`);
|
|
10627
|
-
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) {
|
|
10628
10656
|
const k = C.children;
|
|
10629
10657
|
for (let P = 0; P < k.length; P++)
|
|
10630
10658
|
i(k[P], p, m && m.children[P]);
|
|
@@ -10656,17 +10684,17 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
10656
10684
|
o.splice(d, 0, c), c.record.name && !isAliasRecord(c) && r.set(c.record.name, c);
|
|
10657
10685
|
}
|
|
10658
10686
|
function u(c, d) {
|
|
10659
|
-
let m,
|
|
10687
|
+
let m, _ = {}, C, y;
|
|
10660
10688
|
if ("name" in c && c.name) {
|
|
10661
10689
|
if (m = r.get(c.name), !m)
|
|
10662
10690
|
throw createRouterError(1, {
|
|
10663
10691
|
location: c
|
|
10664
10692
|
});
|
|
10665
10693
|
if (process.env.NODE_ENV !== "production") {
|
|
10666
|
-
const f = Object.keys(c.params || {}).filter((
|
|
10694
|
+
const f = Object.keys(c.params || {}).filter((g) => !m.keys.find((E) => E.name === g));
|
|
10667
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.`);
|
|
10668
10696
|
}
|
|
10669
|
-
y = m.record.name,
|
|
10697
|
+
y = m.record.name, _ = assign(
|
|
10670
10698
|
// paramsFromLocation is a new object
|
|
10671
10699
|
paramsFromLocation(
|
|
10672
10700
|
d.params,
|
|
@@ -10677,16 +10705,16 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
10677
10705
|
// discard any existing params in the current location that do not exist here
|
|
10678
10706
|
// #1497 this ensures better active/exact matching
|
|
10679
10707
|
c.params && paramsFromLocation(c.params, m.keys.map((f) => f.name))
|
|
10680
|
-
), C = m.stringify(
|
|
10708
|
+
), C = m.stringify(_);
|
|
10681
10709
|
} else if ("path" in c)
|
|
10682
|
-
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);
|
|
10683
10711
|
else {
|
|
10684
10712
|
if (m = d.name ? r.get(d.name) : o.find((f) => f.re.test(d.path)), !m)
|
|
10685
10713
|
throw createRouterError(1, {
|
|
10686
10714
|
location: c,
|
|
10687
10715
|
currentLocation: d
|
|
10688
10716
|
});
|
|
10689
|
-
y = m.record.name,
|
|
10717
|
+
y = m.record.name, _ = assign({}, d.params, c.params), C = m.stringify(_);
|
|
10690
10718
|
}
|
|
10691
10719
|
const v = [];
|
|
10692
10720
|
let p = m;
|
|
@@ -10695,7 +10723,7 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
10695
10723
|
return {
|
|
10696
10724
|
name: y,
|
|
10697
10725
|
path: C,
|
|
10698
|
-
params:
|
|
10726
|
+
params: _,
|
|
10699
10727
|
matched: v,
|
|
10700
10728
|
meta: mergeMetaFields(v)
|
|
10701
10729
|
};
|
|
@@ -10937,14 +10965,14 @@ function useLink(e) {
|
|
|
10937
10965
|
const m = d.findIndex(isSameRouteRecord.bind(null, c));
|
|
10938
10966
|
if (m > -1)
|
|
10939
10967
|
return m;
|
|
10940
|
-
const
|
|
10968
|
+
const _ = getOriginalPath(a[u - 2]);
|
|
10941
10969
|
return (
|
|
10942
10970
|
// we are dealing with nested routes
|
|
10943
10971
|
u > 1 && // if the parent and matched route have the same path, this link is
|
|
10944
10972
|
// referring to the empty child. Or we currently are on a different
|
|
10945
10973
|
// child of the same parent
|
|
10946
|
-
getOriginalPath(c) ===
|
|
10947
|
-
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
|
|
10948
10976
|
);
|
|
10949
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));
|
|
10950
10978
|
function l(a = {}) {
|
|
@@ -11066,15 +11094,15 @@ const getLinkClass = (e, t, o) => e ?? t ?? o, RouterViewImpl = /* @__PURE__ */
|
|
|
11066
11094
|
}), l = computed(() => n.value.matched[s.value]);
|
|
11067
11095
|
provide(viewDepthKey, computed(() => s.value + 1)), provide(matchedRouteKey, l), provide(routerViewLocationKey, n);
|
|
11068
11096
|
const a = ref();
|
|
11069
|
-
return watch(() => [a.value, l.value, e.name], ([u, c, d], [m,
|
|
11070
|
-
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
|
|
11071
11099
|
// the first visit
|
|
11072
|
-
(!
|
|
11100
|
+
(!_ || !isSameRouteRecord(c, _) || !m) && (c.enterCallbacks[d] || []).forEach((y) => y(u));
|
|
11073
11101
|
}, { flush: "post" }), () => {
|
|
11074
11102
|
const u = n.value, c = e.name, d = l.value, m = d && d.components[c];
|
|
11075
11103
|
if (!m)
|
|
11076
11104
|
return normalizeSlot(o.default, { Component: m, route: u });
|
|
11077
|
-
const
|
|
11105
|
+
const _ = d.props[c], C = _ ? _ === !0 ? u.params : typeof _ == "function" ? _(u) : _ : null, v = h(m, assign({}, C, t, {
|
|
11078
11106
|
onVnodeUnmounted: (p) => {
|
|
11079
11107
|
p.component.isUnmounted && (d.instances[c] = null);
|
|
11080
11108
|
},
|
|
@@ -11087,8 +11115,8 @@ const getLinkClass = (e, t, o) => e ?? t ?? o, RouterViewImpl = /* @__PURE__ */
|
|
|
11087
11115
|
path: d.path,
|
|
11088
11116
|
meta: d.meta
|
|
11089
11117
|
};
|
|
11090
|
-
(isArray$3(v.ref) ? v.ref.map((
|
|
11091
|
-
|
|
11118
|
+
(isArray$3(v.ref) ? v.ref.map((g) => g.i) : [v.ref.i]).forEach((g) => {
|
|
11119
|
+
g.__vrv_devtools = p;
|
|
11092
11120
|
});
|
|
11093
11121
|
}
|
|
11094
11122
|
return (
|
|
@@ -11175,12 +11203,12 @@ function addDevtools(e, t, o) {
|
|
|
11175
11203
|
});
|
|
11176
11204
|
}
|
|
11177
11205
|
isArray$3(d.__vrl_devtools) && (d.__devtoolsApi = n, d.__vrl_devtools.forEach((m) => {
|
|
11178
|
-
let
|
|
11179
|
-
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({
|
|
11180
11208
|
label: m.route.path,
|
|
11181
11209
|
textColor: 0,
|
|
11182
11210
|
tooltip: C,
|
|
11183
|
-
backgroundColor:
|
|
11211
|
+
backgroundColor: _
|
|
11184
11212
|
});
|
|
11185
11213
|
}));
|
|
11186
11214
|
}), watch(t.currentRoute, () => {
|
|
@@ -11224,10 +11252,10 @@ function addDevtools(e, t, o) {
|
|
|
11224
11252
|
}
|
|
11225
11253
|
});
|
|
11226
11254
|
}), t.afterEach((c, d, m) => {
|
|
11227
|
-
const
|
|
11255
|
+
const _ = {
|
|
11228
11256
|
guard: formatDisplay("afterEach")
|
|
11229
11257
|
};
|
|
11230
|
-
m ? (
|
|
11258
|
+
m ? (_.failure = {
|
|
11231
11259
|
_custom: {
|
|
11232
11260
|
type: Error,
|
|
11233
11261
|
readOnly: !0,
|
|
@@ -11235,13 +11263,13 @@ function addDevtools(e, t, o) {
|
|
|
11235
11263
|
tooltip: "Navigation Failure",
|
|
11236
11264
|
value: m
|
|
11237
11265
|
}
|
|
11238
|
-
},
|
|
11266
|
+
}, _.status = formatDisplay("❌")) : _.status = formatDisplay("✅"), _.from = formatRouteLocation(d, "Current Location during this navigation"), _.to = formatRouteLocation(c, "Target location"), n.addTimelineEvent({
|
|
11239
11267
|
layerId: i,
|
|
11240
11268
|
event: {
|
|
11241
11269
|
title: "End of navigation",
|
|
11242
11270
|
subtitle: c.fullPath,
|
|
11243
11271
|
time: n.now(),
|
|
11244
|
-
data:
|
|
11272
|
+
data: _,
|
|
11245
11273
|
logType: m ? "warning" : "default",
|
|
11246
11274
|
groupId: c.meta.__navigationId
|
|
11247
11275
|
}
|
|
@@ -11271,7 +11299,7 @@ function addDevtools(e, t, o) {
|
|
|
11271
11299
|
u = c, c.app === e && c.inspectorId === l && a();
|
|
11272
11300
|
}), n.on.getInspectorState((c) => {
|
|
11273
11301
|
if (c.app === e && c.inspectorId === l) {
|
|
11274
|
-
const m = o.getRoutes().find((
|
|
11302
|
+
const m = o.getRoutes().find((_) => _.record.__vd_id === c.nodeId);
|
|
11275
11303
|
m && (c.state = {
|
|
11276
11304
|
options: formatRouteRecordMatcherForStateInspector(m)
|
|
11277
11305
|
});
|
|
@@ -11399,13 +11427,13 @@ function createRouter(e) {
|
|
|
11399
11427
|
// @ts-expect-error: intentionally avoid the type check
|
|
11400
11428
|
applyToParams.bind(null, decode)
|
|
11401
11429
|
);
|
|
11402
|
-
function
|
|
11430
|
+
function _(b, w) {
|
|
11403
11431
|
let $, V;
|
|
11404
|
-
return isRouteName(b) ? ($ = t.getRecordMatcher(b), V =
|
|
11432
|
+
return isRouteName(b) ? ($ = t.getRecordMatcher(b), V = w) : V = b, t.addRoute(V, $);
|
|
11405
11433
|
}
|
|
11406
11434
|
function C(b) {
|
|
11407
|
-
const
|
|
11408
|
-
|
|
11435
|
+
const w = t.getRecordMatcher(b);
|
|
11436
|
+
w ? t.removeRoute(w) : process.env.NODE_ENV !== "production" && warn(`Cannot remove non-existent route "${String(b)}"`);
|
|
11409
11437
|
}
|
|
11410
11438
|
function y() {
|
|
11411
11439
|
return t.getRoutes().map((b) => b.record);
|
|
@@ -11413,9 +11441,9 @@ function createRouter(e) {
|
|
|
11413
11441
|
function v(b) {
|
|
11414
11442
|
return !!t.getRecordMatcher(b);
|
|
11415
11443
|
}
|
|
11416
|
-
function p(b,
|
|
11417
|
-
if (
|
|
11418
|
-
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);
|
|
11419
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, {
|
|
11420
11448
|
params: m(I.params),
|
|
11421
11449
|
hash: decode(T.hash),
|
|
@@ -11427,7 +11455,7 @@ function createRouter(e) {
|
|
|
11427
11455
|
if ("path" in b)
|
|
11428
11456
|
process.env.NODE_ENV !== "production" && "params" in b && !("name" in b) && // @ts-expect-error: the type is never
|
|
11429
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, {
|
|
11430
|
-
path: parseURL(o, b.path,
|
|
11458
|
+
path: parseURL(o, b.path, w.path).path
|
|
11431
11459
|
});
|
|
11432
11460
|
else {
|
|
11433
11461
|
const T = assign({}, b.params);
|
|
@@ -11435,9 +11463,9 @@ function createRouter(e) {
|
|
|
11435
11463
|
T[I] == null && delete T[I];
|
|
11436
11464
|
$ = assign({}, b, {
|
|
11437
11465
|
params: d(T)
|
|
11438
|
-
}),
|
|
11466
|
+
}), w.params = d(w.params);
|
|
11439
11467
|
}
|
|
11440
|
-
const V = t.resolve($,
|
|
11468
|
+
const V = t.resolve($, w), R = b.hash || "";
|
|
11441
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));
|
|
11442
11470
|
const U = stringifyURL(r, assign({}, b, {
|
|
11443
11471
|
hash: encodeHash(R),
|
|
@@ -11464,10 +11492,10 @@ function createRouter(e) {
|
|
|
11464
11492
|
function f(b) {
|
|
11465
11493
|
return typeof b == "string" ? parseURL(o, b, a.value.path) : assign({}, b);
|
|
11466
11494
|
}
|
|
11467
|
-
function
|
|
11495
|
+
function g(b, w) {
|
|
11468
11496
|
if (u !== b)
|
|
11469
11497
|
return createRouterError(8, {
|
|
11470
|
-
from:
|
|
11498
|
+
from: w,
|
|
11471
11499
|
to: b
|
|
11472
11500
|
});
|
|
11473
11501
|
}
|
|
@@ -11478,9 +11506,9 @@ function createRouter(e) {
|
|
|
11478
11506
|
return E(assign(f(b), { replace: !0 }));
|
|
11479
11507
|
}
|
|
11480
11508
|
function P(b) {
|
|
11481
|
-
const
|
|
11482
|
-
if (
|
|
11483
|
-
const { redirect: $ } =
|
|
11509
|
+
const w = b.matched[b.matched.length - 1];
|
|
11510
|
+
if (w && w.redirect) {
|
|
11511
|
+
const { redirect: $ } = w;
|
|
11484
11512
|
let V = typeof $ == "function" ? $(b) : $;
|
|
11485
11513
|
if (typeof V == "string" && (V = V.includes("?") || V.includes("#") ? V = f(V) : (
|
|
11486
11514
|
// force empty params
|
|
@@ -11497,7 +11525,7 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11497
11525
|
}, V);
|
|
11498
11526
|
}
|
|
11499
11527
|
}
|
|
11500
|
-
function O(b,
|
|
11528
|
+
function O(b, w) {
|
|
11501
11529
|
const $ = u = p(b), V = a.value, R = b.state, U = b.force, N = b.replace === !0, T = P($);
|
|
11502
11530
|
if (T)
|
|
11503
11531
|
return O(
|
|
@@ -11507,10 +11535,10 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11507
11535
|
replace: N
|
|
11508
11536
|
}),
|
|
11509
11537
|
// keep original redirectedFrom if it exists
|
|
11510
|
-
|
|
11538
|
+
w || $
|
|
11511
11539
|
);
|
|
11512
11540
|
const I = $;
|
|
11513
|
-
I.redirectedFrom =
|
|
11541
|
+
I.redirectedFrom = w;
|
|
11514
11542
|
let F;
|
|
11515
11543
|
return !U && isSameRouteLocation(r, V, $) && (F = createRouterError(16, { to: I, from: V }), Q(
|
|
11516
11544
|
V,
|
|
@@ -11540,10 +11568,10 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11540
11568
|
))
|
|
11541
11569
|
return process.env.NODE_ENV !== "production" && // we are redirecting to the same location we were already at
|
|
11542
11570
|
isSameRouteLocation(r, p(M.to), I) && // and we have done it a couple of times
|
|
11543
|
-
|
|
11544
|
-
(
|
|
11571
|
+
w && // @ts-expect-error: added only in dev
|
|
11572
|
+
(w._count = w._count ? (
|
|
11545
11573
|
// @ts-expect-error
|
|
11546
|
-
|
|
11574
|
+
w._count + 1
|
|
11547
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.
|
|
11548
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(
|
|
11549
11577
|
// keep options
|
|
@@ -11555,40 +11583,40 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11555
11583
|
force: U
|
|
11556
11584
|
}),
|
|
11557
11585
|
// preserve the original redirectedFrom if any
|
|
11558
|
-
|
|
11586
|
+
w || I
|
|
11559
11587
|
);
|
|
11560
11588
|
} else
|
|
11561
11589
|
M = L(I, V, !0, N, R);
|
|
11562
11590
|
return H(I, V, M), M;
|
|
11563
11591
|
});
|
|
11564
11592
|
}
|
|
11565
|
-
function D(b,
|
|
11566
|
-
const $ =
|
|
11593
|
+
function D(b, w) {
|
|
11594
|
+
const $ = g(b, w);
|
|
11567
11595
|
return $ ? Promise.reject($) : Promise.resolve();
|
|
11568
11596
|
}
|
|
11569
11597
|
function S(b) {
|
|
11570
|
-
const
|
|
11571
|
-
return
|
|
11598
|
+
const w = X.values().next().value;
|
|
11599
|
+
return w && typeof w.runWithContext == "function" ? w.runWithContext(b) : b();
|
|
11572
11600
|
}
|
|
11573
|
-
function B(b,
|
|
11601
|
+
function B(b, w) {
|
|
11574
11602
|
let $;
|
|
11575
|
-
const [V, R, U] = extractChangingRecords(b,
|
|
11576
|
-
$ = extractComponentsGuards(V.reverse(), "beforeRouteLeave", b,
|
|
11603
|
+
const [V, R, U] = extractChangingRecords(b, w);
|
|
11604
|
+
$ = extractComponentsGuards(V.reverse(), "beforeRouteLeave", b, w);
|
|
11577
11605
|
for (const T of V)
|
|
11578
11606
|
T.leaveGuards.forEach((I) => {
|
|
11579
|
-
$.push(guardToPromiseFn(I, b,
|
|
11607
|
+
$.push(guardToPromiseFn(I, b, w));
|
|
11580
11608
|
});
|
|
11581
|
-
const N = D.bind(null, b,
|
|
11609
|
+
const N = D.bind(null, b, w);
|
|
11582
11610
|
return $.push(N), oe($).then(() => {
|
|
11583
11611
|
$ = [];
|
|
11584
11612
|
for (const T of i.list())
|
|
11585
|
-
$.push(guardToPromiseFn(T, b,
|
|
11613
|
+
$.push(guardToPromiseFn(T, b, w));
|
|
11586
11614
|
return $.push(N), oe($);
|
|
11587
11615
|
}).then(() => {
|
|
11588
|
-
$ = extractComponentsGuards(R, "beforeRouteUpdate", b,
|
|
11616
|
+
$ = extractComponentsGuards(R, "beforeRouteUpdate", b, w);
|
|
11589
11617
|
for (const T of R)
|
|
11590
11618
|
T.updateGuards.forEach((I) => {
|
|
11591
|
-
$.push(guardToPromiseFn(I, b,
|
|
11619
|
+
$.push(guardToPromiseFn(I, b, w));
|
|
11592
11620
|
});
|
|
11593
11621
|
return $.push(N), oe($);
|
|
11594
11622
|
}).then(() => {
|
|
@@ -11597,14 +11625,14 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11597
11625
|
if (T.beforeEnter)
|
|
11598
11626
|
if (isArray$3(T.beforeEnter))
|
|
11599
11627
|
for (const I of T.beforeEnter)
|
|
11600
|
-
$.push(guardToPromiseFn(I, b,
|
|
11628
|
+
$.push(guardToPromiseFn(I, b, w));
|
|
11601
11629
|
else
|
|
11602
|
-
$.push(guardToPromiseFn(T.beforeEnter, b,
|
|
11630
|
+
$.push(guardToPromiseFn(T.beforeEnter, b, w));
|
|
11603
11631
|
return $.push(N), oe($);
|
|
11604
|
-
}).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(() => {
|
|
11605
11633
|
$ = [];
|
|
11606
11634
|
for (const T of s.list())
|
|
11607
|
-
$.push(guardToPromiseFn(T, b,
|
|
11635
|
+
$.push(guardToPromiseFn(T, b, w));
|
|
11608
11636
|
return $.push(N), oe($);
|
|
11609
11637
|
}).catch((T) => isNavigationFailure(
|
|
11610
11638
|
T,
|
|
@@ -11612,21 +11640,21 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11612
11640
|
/* ErrorTypes.NAVIGATION_CANCELLED */
|
|
11613
11641
|
) ? T : Promise.reject(T));
|
|
11614
11642
|
}
|
|
11615
|
-
function H(b,
|
|
11616
|
-
l.list().forEach((V) => S(() => V(b,
|
|
11643
|
+
function H(b, w, $) {
|
|
11644
|
+
l.list().forEach((V) => S(() => V(b, w, $)));
|
|
11617
11645
|
}
|
|
11618
|
-
function L(b,
|
|
11619
|
-
const U =
|
|
11646
|
+
function L(b, w, $, V, R) {
|
|
11647
|
+
const U = g(b, w);
|
|
11620
11648
|
if (U)
|
|
11621
11649
|
return U;
|
|
11622
|
-
const N =
|
|
11650
|
+
const N = w === START_LOCATION_NORMALIZED, T = isBrowser ? history.state : {};
|
|
11623
11651
|
$ && (V || N ? n.replace(b.fullPath, assign({
|
|
11624
11652
|
scroll: N && T && T.scroll
|
|
11625
|
-
}, 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();
|
|
11626
11654
|
}
|
|
11627
11655
|
let G;
|
|
11628
11656
|
function ne() {
|
|
11629
|
-
G || (G = n.listen((b,
|
|
11657
|
+
G || (G = n.listen((b, w, $) => {
|
|
11630
11658
|
const V = p(b), R = P(V);
|
|
11631
11659
|
if (R) {
|
|
11632
11660
|
O(assign(R, { replace: !0 }), V).catch(noop);
|
|
@@ -11673,32 +11701,32 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11673
11701
|
}));
|
|
11674
11702
|
}
|
|
11675
11703
|
let re = useCallbacks(), te = useCallbacks(), j;
|
|
11676
|
-
function z(b,
|
|
11704
|
+
function z(b, w, $) {
|
|
11677
11705
|
q(b);
|
|
11678
11706
|
const V = te.list();
|
|
11679
|
-
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);
|
|
11680
11708
|
}
|
|
11681
11709
|
function Y() {
|
|
11682
|
-
return j && a.value !== START_LOCATION_NORMALIZED ? Promise.resolve() : new Promise((b,
|
|
11683
|
-
re.add([b,
|
|
11710
|
+
return j && a.value !== START_LOCATION_NORMALIZED ? Promise.resolve() : new Promise((b, w) => {
|
|
11711
|
+
re.add([b, w]);
|
|
11684
11712
|
});
|
|
11685
11713
|
}
|
|
11686
11714
|
function q(b) {
|
|
11687
|
-
return j || (j = !b, ne(), re.list().forEach(([
|
|
11715
|
+
return j || (j = !b, ne(), re.list().forEach(([w, $]) => b ? $(b) : w()), re.reset()), b;
|
|
11688
11716
|
}
|
|
11689
|
-
function Q(b,
|
|
11717
|
+
function Q(b, w, $, V) {
|
|
11690
11718
|
const { scrollBehavior: R } = e;
|
|
11691
11719
|
if (!isBrowser || !R)
|
|
11692
11720
|
return Promise.resolve();
|
|
11693
11721
|
const U = !$ && getSavedScrollPosition(getScrollKey(b.fullPath, 0)) || (V || !$) && history.state && history.state.scroll || null;
|
|
11694
|
-
return nextTick().then(() => R(b,
|
|
11722
|
+
return nextTick().then(() => R(b, w, U)).then((N) => N && scrollToPosition(N)).catch((N) => z(N, b, w));
|
|
11695
11723
|
}
|
|
11696
11724
|
const J = (b) => n.go(b);
|
|
11697
11725
|
let se;
|
|
11698
11726
|
const X = /* @__PURE__ */ new Set(), ie = {
|
|
11699
11727
|
currentRoute: a,
|
|
11700
11728
|
listening: !0,
|
|
11701
|
-
addRoute:
|
|
11729
|
+
addRoute: _,
|
|
11702
11730
|
removeRoute: C,
|
|
11703
11731
|
hasRoute: v,
|
|
11704
11732
|
getRoutes: y,
|
|
@@ -11715,8 +11743,8 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11715
11743
|
onError: te.add,
|
|
11716
11744
|
isReady: Y,
|
|
11717
11745
|
install(b) {
|
|
11718
|
-
const
|
|
11719
|
-
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", {
|
|
11720
11748
|
enumerable: !0,
|
|
11721
11749
|
get: () => unref(a)
|
|
11722
11750
|
}), isBrowser && // used for the initial navigation client side to avoid pushing
|
|
@@ -11730,15 +11758,15 @@ ${JSON.stringify(V, null, 2)}
|
|
|
11730
11758
|
get: () => a.value[R],
|
|
11731
11759
|
enumerable: !0
|
|
11732
11760
|
});
|
|
11733
|
-
b.provide(routerKey,
|
|
11761
|
+
b.provide(routerKey, w), b.provide(routeLocationKey, shallowReactive($)), b.provide(routerViewLocationKey, a);
|
|
11734
11762
|
const V = b.unmount;
|
|
11735
11763
|
X.add(b), b.unmount = function() {
|
|
11736
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();
|
|
11737
|
-
}, process.env.NODE_ENV !== "production" && isBrowser && addDevtools(b,
|
|
11765
|
+
}, process.env.NODE_ENV !== "production" && isBrowser && addDevtools(b, w, t);
|
|
11738
11766
|
}
|
|
11739
11767
|
};
|
|
11740
11768
|
function oe(b) {
|
|
11741
|
-
return b.reduce((
|
|
11769
|
+
return b.reduce((w, $) => w.then(() => S($)), Promise.resolve());
|
|
11742
11770
|
}
|
|
11743
11771
|
return ie;
|
|
11744
11772
|
}
|
|
@@ -11825,7 +11853,7 @@ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render
|
|
|
11825
11853
|
children: [
|
|
11826
11854
|
{
|
|
11827
11855
|
path: "page",
|
|
11828
|
-
component: () => import("./iframe-page-
|
|
11856
|
+
component: () => import("./iframe-page-f6d03745.js"),
|
|
11829
11857
|
hidden: !0
|
|
11830
11858
|
}
|
|
11831
11859
|
]
|
|
@@ -11842,27 +11870,27 @@ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render
|
|
|
11842
11870
|
},
|
|
11843
11871
|
{
|
|
11844
11872
|
path: "/404",
|
|
11845
|
-
component: () => import("./404-
|
|
11873
|
+
component: () => import("./404-71e6f04b.js"),
|
|
11846
11874
|
hidden: !0
|
|
11847
11875
|
},
|
|
11848
11876
|
{
|
|
11849
11877
|
path: "/401",
|
|
11850
|
-
component: () => import("./401-
|
|
11878
|
+
component: () => import("./401-6d8d823d.js"),
|
|
11851
11879
|
hidden: !0
|
|
11852
11880
|
},
|
|
11853
11881
|
{
|
|
11854
11882
|
path: "/show-sub-wf-history",
|
|
11855
|
-
component: () => import("./tache-subprocess-history-
|
|
11883
|
+
component: () => import("./tache-subprocess-history-8ec86536.js"),
|
|
11856
11884
|
hidden: !0
|
|
11857
11885
|
},
|
|
11858
11886
|
{
|
|
11859
11887
|
path: "/tab-content-index",
|
|
11860
|
-
component: () => import("./tab-content-index-
|
|
11888
|
+
component: () => import("./tab-content-index-f39a83c1.js"),
|
|
11861
11889
|
hidden: !0
|
|
11862
11890
|
},
|
|
11863
11891
|
{
|
|
11864
11892
|
path: "/tab-content-iframe-index",
|
|
11865
|
-
component: () => import("./tab-content-iframe-index-
|
|
11893
|
+
component: () => import("./tab-content-iframe-index-a109cac2.js"),
|
|
11866
11894
|
hidden: !0
|
|
11867
11895
|
}
|
|
11868
11896
|
], protectedRouterMap = [];
|
|
@@ -12312,7 +12340,7 @@ function getSystemFrontendUrl(e) {
|
|
|
12312
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);
|
|
12313
12341
|
}
|
|
12314
12342
|
function isPlateSys(e) {
|
|
12315
|
-
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"));
|
|
12316
12344
|
}
|
|
12317
12345
|
function getTimeZone() {
|
|
12318
12346
|
const e = /* @__PURE__ */ new Date() + "";
|
|
@@ -12331,7 +12359,12 @@ function setCustomSystemBackendUrl(e) {
|
|
|
12331
12359
|
}
|
|
12332
12360
|
}
|
|
12333
12361
|
function isMobileBrowser() {
|
|
12334
|
-
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(
|
|
12335
12368
|
navigator.userAgent
|
|
12336
12369
|
) ? !0 : !!(/Macintosh/i.test(navigator.userAgent) && navigator.maxTouchPoints !== void 0 && navigator.maxTouchPoints >= 1);
|
|
12337
12370
|
}
|
|
@@ -16231,7 +16264,7 @@ function _sfc_render$U(e, t, o, r, n, i) {
|
|
|
16231
16264
|
type: i.getType(d),
|
|
16232
16265
|
closable: "",
|
|
16233
16266
|
"disable-transitions": !1,
|
|
16234
|
-
onClose: (
|
|
16267
|
+
onClose: (_) => i.handleClose(d)
|
|
16235
16268
|
}, {
|
|
16236
16269
|
default: withCtx(() => [
|
|
16237
16270
|
createTextVNode(toDisplayString$1(i.showText(d)), 1)
|
|
@@ -16632,8 +16665,8 @@ function parseCondition$1(e, t) {
|
|
|
16632
16665
|
let s = "", l = "", a = "", u = "", c = "", d = "condition.operator.or", m = i.indexOf("${");
|
|
16633
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) {
|
|
16634
16667
|
u = i.substring(0, m);
|
|
16635
|
-
const
|
|
16636
|
-
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));
|
|
16637
16670
|
} else
|
|
16638
16671
|
m = i.indexOf(" condition."), m >= 0 ? (u = i.substring(0, m), d = i.substring(m + 1)) : u = i;
|
|
16639
16672
|
e.push({
|
|
@@ -17032,8 +17065,8 @@ const systemRoleTreeInline_vue_vue_type_style_index_0_lang = "", __default__$1 =
|
|
|
17032
17065
|
}
|
|
17033
17066
|
};
|
|
17034
17067
|
function _sfc_render$T(e, t, o, r, n, i) {
|
|
17035
|
-
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"),
|
|
17036
|
-
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, {
|
|
17037
17070
|
title: n.titleName,
|
|
17038
17071
|
"model-value": "",
|
|
17039
17072
|
top: "10vh",
|
|
@@ -17144,7 +17177,7 @@ function _sfc_render$T(e, t, o, r, n, i) {
|
|
|
17144
17177
|
default: withCtx(() => [
|
|
17145
17178
|
createVNode(l, { style: { width: "100%" } }, {
|
|
17146
17179
|
default: withCtx(() => [
|
|
17147
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.customFormFields, (E) => (openBlock(), createBlock(
|
|
17180
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.customFormFields, (E) => (openBlock(), createBlock(_, {
|
|
17148
17181
|
key: E.name,
|
|
17149
17182
|
span: 8
|
|
17150
17183
|
}, {
|
|
@@ -17176,7 +17209,7 @@ function _sfc_render$T(e, t, o, r, n, i) {
|
|
|
17176
17209
|
default: withCtx(() => [
|
|
17177
17210
|
createVNode(l, null, {
|
|
17178
17211
|
default: withCtx(() => [
|
|
17179
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.baseFormFields, (E) => (openBlock(), createBlock(
|
|
17212
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.baseFormFields, (E) => (openBlock(), createBlock(_, {
|
|
17180
17213
|
key: E.name,
|
|
17181
17214
|
span: 8
|
|
17182
17215
|
}, {
|
|
@@ -17351,7 +17384,7 @@ const ValueSelectionDialog = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render"
|
|
|
17351
17384
|
}
|
|
17352
17385
|
}, _hoisted_1$n = { style: { overflow: "auto", width: "100%" } };
|
|
17353
17386
|
function _sfc_render$S(e, t, o, r, n, i) {
|
|
17354
|
-
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");
|
|
17355
17388
|
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
17356
17389
|
createVNode(l, null, {
|
|
17357
17390
|
default: withCtx(() => [
|
|
@@ -17586,7 +17619,7 @@ function _sfc_render$S(e, t, o, r, n, i) {
|
|
|
17586
17619
|
]),
|
|
17587
17620
|
_: 1
|
|
17588
17621
|
}, 8, ["data", "onCurrentChange"]),
|
|
17589
|
-
n.currentInput ? (openBlock(), createBlock(
|
|
17622
|
+
n.currentInput ? (openBlock(), createBlock(_, {
|
|
17590
17623
|
key: 0,
|
|
17591
17624
|
title: n.valueDialogTitle,
|
|
17592
17625
|
"show-organization": n.showOrganization,
|
|
@@ -18011,17 +18044,17 @@ function _sfc_render$Q(e, t, o, r, n, i) {
|
|
|
18011
18044
|
"append-to-body": "",
|
|
18012
18045
|
"model-value": "",
|
|
18013
18046
|
top: "5vh",
|
|
18014
|
-
onOpen: t[2] || (t[2] = (
|
|
18015
|
-
onOpend: t[3] || (t[3] = (
|
|
18016
|
-
onClose: t[4] || (t[4] = (
|
|
18017
|
-
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"))
|
|
18018
18051
|
}, {
|
|
18019
18052
|
default: withCtx(() => [
|
|
18020
18053
|
createElementVNode("div", _hoisted_1$m, [
|
|
18021
18054
|
createVNode(s, {
|
|
18022
18055
|
type: "primary",
|
|
18023
18056
|
size: "small",
|
|
18024
|
-
onClick: t[0] || (t[0] = (
|
|
18057
|
+
onClick: t[0] || (t[0] = (_) => i.saveI18nSet("form"))
|
|
18025
18058
|
}, {
|
|
18026
18059
|
default: withCtx(() => [
|
|
18027
18060
|
createTextVNode(toDisplayString$1(e.$t("workflowEditorPublicModel.determine")), 1)
|
|
@@ -18056,7 +18089,7 @@ function _sfc_render$Q(e, t, o, r, n, i) {
|
|
|
18056
18089
|
default: withCtx(() => [
|
|
18057
18090
|
createVNode(l, {
|
|
18058
18091
|
modelValue: n.i18nModel.key,
|
|
18059
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
18092
|
+
"onUpdate:modelValue": t[1] || (t[1] = (_) => n.i18nModel.key = _),
|
|
18060
18093
|
style: { width: "80%" }
|
|
18061
18094
|
}, null, 8, ["modelValue"])
|
|
18062
18095
|
]),
|
|
@@ -18068,18 +18101,18 @@ function _sfc_render$Q(e, t, o, r, n, i) {
|
|
|
18068
18101
|
]),
|
|
18069
18102
|
_: 1
|
|
18070
18103
|
}),
|
|
18071
|
-
(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: _ }, {
|
|
18072
18105
|
default: withCtx(() => [
|
|
18073
18106
|
createVNode(u, { span: 24 }, {
|
|
18074
18107
|
default: withCtx(() => [
|
|
18075
18108
|
createVNode(a, {
|
|
18076
|
-
label: n.languages[
|
|
18077
|
-
prop:
|
|
18109
|
+
label: n.languages[_],
|
|
18110
|
+
prop: _
|
|
18078
18111
|
}, {
|
|
18079
18112
|
default: withCtx(() => [
|
|
18080
18113
|
createVNode(l, {
|
|
18081
|
-
modelValue: n.i18nModel.values[
|
|
18082
|
-
"onUpdate:modelValue": (C) => n.i18nModel.values[
|
|
18114
|
+
modelValue: n.i18nModel.values[_],
|
|
18115
|
+
"onUpdate:modelValue": (C) => n.i18nModel.values[_] = C
|
|
18083
18116
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
18084
18117
|
]),
|
|
18085
18118
|
_: 2
|
|
@@ -18354,7 +18387,7 @@ const SelectMailTemplates = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render",
|
|
|
18354
18387
|
}
|
|
18355
18388
|
}, _withScopeId = (e) => (pushScopeId("data-v-a219b06d"), e = e(), popScopeId(), e), _hoisted_1$j = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "percent" }, " % ", -1));
|
|
18356
18389
|
function _sfc_render$N(e, t, o, r, n, i) {
|
|
18357
|
-
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");
|
|
18358
18391
|
return openBlock(), createBlock(f, {
|
|
18359
18392
|
model: n.formModel,
|
|
18360
18393
|
"label-width": "110px"
|
|
@@ -18370,7 +18403,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18370
18403
|
default: withCtx(() => [
|
|
18371
18404
|
createVNode(s, {
|
|
18372
18405
|
modelValue: n.formModel.name,
|
|
18373
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
18406
|
+
"onUpdate:modelValue": t[0] || (t[0] = (g) => n.formModel.name = g),
|
|
18374
18407
|
"i18n-key": i.tache.i18nKey ? i.tache.i18nKey : "name." + n.formModel.id,
|
|
18375
18408
|
onSetI18n: i.setI18nValue
|
|
18376
18409
|
}, null, 8, ["modelValue", "i18n-key", "onSetI18n"])
|
|
@@ -18388,7 +18421,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18388
18421
|
default: withCtx(() => [
|
|
18389
18422
|
createVNode(u, {
|
|
18390
18423
|
modelValue: n.formModel.id,
|
|
18391
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
18424
|
+
"onUpdate:modelValue": t[1] || (t[1] = (g) => n.formModel.id = g),
|
|
18392
18425
|
onBlur: i.validateId
|
|
18393
18426
|
}, null, 8, ["modelValue", "onBlur"])
|
|
18394
18427
|
]),
|
|
@@ -18406,7 +18439,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18406
18439
|
default: withCtx(() => [
|
|
18407
18440
|
createVNode(d, {
|
|
18408
18441
|
modelValue: i.tache.taskTitle,
|
|
18409
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
18442
|
+
"onUpdate:modelValue": t[2] || (t[2] = (g) => i.tache.taskTitle = g)
|
|
18410
18443
|
}, null, 8, ["modelValue"])
|
|
18411
18444
|
]),
|
|
18412
18445
|
_: 1
|
|
@@ -18417,7 +18450,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18417
18450
|
default: withCtx(() => [
|
|
18418
18451
|
createVNode(m, {
|
|
18419
18452
|
modelValue: i.tache.rebuttable,
|
|
18420
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
18453
|
+
"onUpdate:modelValue": t[3] || (t[3] = (g) => i.tache.rebuttable = g)
|
|
18421
18454
|
}, null, 8, ["modelValue"])
|
|
18422
18455
|
]),
|
|
18423
18456
|
_: 1
|
|
@@ -18428,7 +18461,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18428
18461
|
default: withCtx(() => [
|
|
18429
18462
|
createVNode(m, {
|
|
18430
18463
|
modelValue: i.tache.mailNotice,
|
|
18431
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
18464
|
+
"onUpdate:modelValue": t[4] || (t[4] = (g) => i.tache.mailNotice = g)
|
|
18432
18465
|
}, null, 8, ["modelValue"])
|
|
18433
18466
|
]),
|
|
18434
18467
|
_: 1
|
|
@@ -18438,9 +18471,9 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18438
18471
|
label: e.$t("workflowEditor.task.selectNoticeTemplate")
|
|
18439
18472
|
}, {
|
|
18440
18473
|
default: withCtx(() => [
|
|
18441
|
-
createVNode(
|
|
18474
|
+
createVNode(_, {
|
|
18442
18475
|
modelValue: i.tache.mailTemplateCode,
|
|
18443
|
-
"onUpdate:modelValue": t[5] || (t[5] = (
|
|
18476
|
+
"onUpdate:modelValue": t[5] || (t[5] = (g) => i.tache.mailTemplateCode = g),
|
|
18444
18477
|
onSetValue: i.setMailTemplateCode
|
|
18445
18478
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
18446
18479
|
]),
|
|
@@ -18451,9 +18484,9 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18451
18484
|
label: e.$t("workflowEditor.task.selectMailTemplate")
|
|
18452
18485
|
}, {
|
|
18453
18486
|
default: withCtx(() => [
|
|
18454
|
-
createVNode(
|
|
18487
|
+
createVNode(_, {
|
|
18455
18488
|
modelValue: i.tache.mailPointTemplateCode,
|
|
18456
|
-
"onUpdate:modelValue": t[6] || (t[6] = (
|
|
18489
|
+
"onUpdate:modelValue": t[6] || (t[6] = (g) => i.tache.mailPointTemplateCode = g),
|
|
18457
18490
|
onSetValue: i.setMailPointTemplateCode
|
|
18458
18491
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
18459
18492
|
]),
|
|
@@ -18465,7 +18498,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18465
18498
|
default: withCtx(() => [
|
|
18466
18499
|
createVNode(y, {
|
|
18467
18500
|
modelValue: i.tache.processingMode.type,
|
|
18468
|
-
"onUpdate:modelValue": t[7] || (t[7] = (
|
|
18501
|
+
"onUpdate:modelValue": t[7] || (t[7] = (g) => i.tache.processingMode.type = g)
|
|
18469
18502
|
}, {
|
|
18470
18503
|
default: withCtx(() => [
|
|
18471
18504
|
createVNode(C, { label: "EDIT" }, {
|
|
@@ -18505,7 +18538,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18505
18538
|
default: withCtx(() => [
|
|
18506
18539
|
createVNode(y, {
|
|
18507
18540
|
modelValue: i.tache.processingMode.moreTransactor,
|
|
18508
|
-
"onUpdate:modelValue": t[8] || (t[8] = (
|
|
18541
|
+
"onUpdate:modelValue": t[8] || (t[8] = (g) => i.tache.processingMode.moreTransactor = g)
|
|
18509
18542
|
}, {
|
|
18510
18543
|
default: withCtx(() => [
|
|
18511
18544
|
createVNode(C, { label: !1 }, {
|
|
@@ -18533,7 +18566,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18533
18566
|
default: withCtx(() => [
|
|
18534
18567
|
createVNode(v, {
|
|
18535
18568
|
modelValue: i.tache.processingMode.passRate,
|
|
18536
|
-
"onUpdate:modelValue": t[9] || (t[9] = (
|
|
18569
|
+
"onUpdate:modelValue": t[9] || (t[9] = (g) => i.tache.processingMode.passRate = g),
|
|
18537
18570
|
step: 10,
|
|
18538
18571
|
size: "small",
|
|
18539
18572
|
min: 0,
|
|
@@ -18549,7 +18582,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18549
18582
|
default: withCtx(() => [
|
|
18550
18583
|
createVNode(m, {
|
|
18551
18584
|
modelValue: n.showActions,
|
|
18552
|
-
"onUpdate:modelValue": t[10] || (t[10] = (
|
|
18585
|
+
"onUpdate:modelValue": t[10] || (t[10] = (g) => n.showActions = g)
|
|
18553
18586
|
}, null, 8, ["modelValue"]),
|
|
18554
18587
|
n.showActions ? (openBlock(), createBlock(p, {
|
|
18555
18588
|
key: 0,
|
|
@@ -18565,7 +18598,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18565
18598
|
default: withCtx(() => [
|
|
18566
18599
|
createVNode(u, {
|
|
18567
18600
|
modelValue: i.tache.taskUrl,
|
|
18568
|
-
"onUpdate:modelValue": t[11] || (t[11] = (
|
|
18601
|
+
"onUpdate:modelValue": t[11] || (t[11] = (g) => i.tache.taskUrl = g)
|
|
18569
18602
|
}, null, 8, ["modelValue"])
|
|
18570
18603
|
]),
|
|
18571
18604
|
_: 1
|
|
@@ -18576,7 +18609,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
18576
18609
|
default: withCtx(() => [
|
|
18577
18610
|
createVNode(u, {
|
|
18578
18611
|
modelValue: i.tache.remark,
|
|
18579
|
-
"onUpdate:modelValue": t[12] || (t[12] = (
|
|
18612
|
+
"onUpdate:modelValue": t[12] || (t[12] = (g) => i.tache.remark = g),
|
|
18580
18613
|
type: "textarea",
|
|
18581
18614
|
autosize: ""
|
|
18582
18615
|
}, null, 8, ["modelValue"])
|
|
@@ -18675,8 +18708,8 @@ const BasicProperties$5 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _
|
|
|
18675
18708
|
}
|
|
18676
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"];
|
|
18677
18710
|
function _sfc_render$M(e, t, o, r, n, i) {
|
|
18678
|
-
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"),
|
|
18679
|
-
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, {
|
|
18680
18713
|
id: "appContainer",
|
|
18681
18714
|
width: "60%",
|
|
18682
18715
|
title: e.$t("workflowEditor.task.selectEditableField"),
|
|
@@ -18991,7 +19024,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
18991
19024
|
label: e.$t("workflowEditor.task.editingMethod")
|
|
18992
19025
|
}, {
|
|
18993
19026
|
default: withCtx(() => [
|
|
18994
|
-
createVNode(
|
|
19027
|
+
createVNode(_, {
|
|
18995
19028
|
modelValue: n.formModel.constraintRule,
|
|
18996
19029
|
"onUpdate:modelValue": t[2] || (t[2] = (E) => n.formModel.constraintRule = E)
|
|
18997
19030
|
}, {
|
|
@@ -19136,7 +19169,7 @@ const EditableFieldSelection = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["rende
|
|
|
19136
19169
|
}
|
|
19137
19170
|
}, _hoisted_1$h = { style: { width: "100%" } };
|
|
19138
19171
|
function _sfc_render$L(e, t, o, r, n, i) {
|
|
19139
|
-
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");
|
|
19140
19173
|
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
19141
19174
|
createVNode(l, { style: { "padding-bottom": "10px" } }, {
|
|
19142
19175
|
default: withCtx(() => [
|
|
@@ -19245,7 +19278,7 @@ function _sfc_render$L(e, t, o, r, n, i) {
|
|
|
19245
19278
|
]),
|
|
19246
19279
|
_: 1
|
|
19247
19280
|
}, 8, ["data", "onSelectionChange", "onCurrentChange"]),
|
|
19248
|
-
n.showFieldSelection ? (openBlock(), createBlock(
|
|
19281
|
+
n.showFieldSelection ? (openBlock(), createBlock(_, {
|
|
19249
19282
|
key: 0,
|
|
19250
19283
|
"disabled-fields": n.disabledFields,
|
|
19251
19284
|
onInputValue: i.setSelectedFields,
|
|
@@ -19271,8 +19304,8 @@ const EditableFields = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc
|
|
|
19271
19304
|
var r = n[o];
|
|
19272
19305
|
if (r.indexOf("(") !== -1) {
|
|
19273
19306
|
this.operationArr && this.operationArr.push([]), s = "", l = "", a = "", u = "", c = "", d = "";
|
|
19274
|
-
const
|
|
19275
|
-
if (s =
|
|
19307
|
+
const _ = r.split("${field[");
|
|
19308
|
+
if (s = _[0], l = _[1].replace("]}", ""), this.operationArr) {
|
|
19276
19309
|
const C = this.getOperators(this.fieldMap[l]);
|
|
19277
19310
|
this.operationArr[i - 1] = C;
|
|
19278
19311
|
}
|
|
@@ -19280,8 +19313,8 @@ const EditableFields = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc
|
|
|
19280
19313
|
}
|
|
19281
19314
|
if (r.indexOf("(") === -1 && r.indexOf("${field[") !== -1) {
|
|
19282
19315
|
if (this.operationArr && this.operationArr.push([]), s = "", l = "", a = "", u = "", c = "", d = "", l = r.replace("${field[", "").replace("]}", ""), this.operationArr) {
|
|
19283
|
-
const
|
|
19284
|
-
this.operationArr[i - 1] =
|
|
19316
|
+
const _ = this.getOperators(this.fieldMap[l]);
|
|
19317
|
+
this.operationArr[i - 1] = _;
|
|
19285
19318
|
}
|
|
19286
19319
|
continue;
|
|
19287
19320
|
}
|
|
@@ -19568,8 +19601,8 @@ function parseCondition(e, t) {
|
|
|
19568
19601
|
continue;
|
|
19569
19602
|
let s = "", l = "", a = "", u = "", c = "", d = "condition.operator.or";
|
|
19570
19603
|
const m = i.split(" ");
|
|
19571
|
-
let
|
|
19572
|
-
|
|
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({
|
|
19573
19606
|
id: n,
|
|
19574
19607
|
leftBracket: s,
|
|
19575
19608
|
key: l,
|
|
@@ -19710,7 +19743,7 @@ const _sfc_main$K = {
|
|
|
19710
19743
|
}
|
|
19711
19744
|
};
|
|
19712
19745
|
function _sfc_render$K(e, t, o, r, n, i) {
|
|
19713
|
-
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");
|
|
19714
19747
|
return openBlock(), createElementBlock("div", null, [
|
|
19715
19748
|
createVNode(l, null, {
|
|
19716
19749
|
default: withCtx(() => [
|
|
@@ -19948,7 +19981,7 @@ function _sfc_render$K(e, t, o, r, n, i) {
|
|
|
19948
19981
|
]),
|
|
19949
19982
|
_: 1
|
|
19950
19983
|
}, 8, ["data", "onCurrentChange"]),
|
|
19951
|
-
n.showValueDialog ? (openBlock(), createBlock(
|
|
19984
|
+
n.showValueDialog ? (openBlock(), createBlock(_, {
|
|
19952
19985
|
key: 0,
|
|
19953
19986
|
"standard-fields": i.standardFields,
|
|
19954
19987
|
"org-type": n.currentRow.key.substring(n.currentRow.key.indexOf("{") + 1, n.currentRow.key.lastIndexOf("}")),
|
|
@@ -20084,7 +20117,7 @@ const CommonUserCondition = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render",
|
|
|
20084
20117
|
}
|
|
20085
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" };
|
|
20086
20119
|
function _sfc_render$J(e, t, o, r, n, i) {
|
|
20087
|
-
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");
|
|
20088
20121
|
return openBlock(), createBlock(p, {
|
|
20089
20122
|
"show-close": !0,
|
|
20090
20123
|
"append-to-body": !0,
|
|
@@ -20198,7 +20231,7 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20198
20231
|
onCurrentChange: i.handleCurrentChange
|
|
20199
20232
|
}, {
|
|
20200
20233
|
default: withCtx(() => [
|
|
20201
|
-
createVNode(
|
|
20234
|
+
createVNode(_, {
|
|
20202
20235
|
prop: "leftBracket",
|
|
20203
20236
|
label: "(",
|
|
20204
20237
|
width: "90"
|
|
@@ -20206,10 +20239,10 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20206
20239
|
default: withCtx((f) => [
|
|
20207
20240
|
createVNode(m, {
|
|
20208
20241
|
modelValue: f.row.leftBracket,
|
|
20209
|
-
"onUpdate:modelValue": (
|
|
20242
|
+
"onUpdate:modelValue": (g) => f.row.leftBracket = g,
|
|
20210
20243
|
size: "small",
|
|
20211
20244
|
clearable: "",
|
|
20212
|
-
onFocus: (
|
|
20245
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20213
20246
|
}, {
|
|
20214
20247
|
default: withCtx(() => [
|
|
20215
20248
|
createVNode(d, {
|
|
@@ -20234,26 +20267,26 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20234
20267
|
]),
|
|
20235
20268
|
_: 1
|
|
20236
20269
|
}),
|
|
20237
|
-
createVNode(
|
|
20270
|
+
createVNode(_, {
|
|
20238
20271
|
label: e.$t("workflowEditor.common.fieldName"),
|
|
20239
20272
|
width: "200"
|
|
20240
20273
|
}, {
|
|
20241
20274
|
default: withCtx((f) => [
|
|
20242
20275
|
createVNode(m, {
|
|
20243
20276
|
modelValue: f.row.propName,
|
|
20244
|
-
"onUpdate:modelValue": (
|
|
20277
|
+
"onUpdate:modelValue": (g) => f.row.propName = g,
|
|
20245
20278
|
"filter-method": i.searchField,
|
|
20246
20279
|
size: "small",
|
|
20247
20280
|
clearable: "",
|
|
20248
20281
|
filterable: "",
|
|
20249
|
-
onFocus: (
|
|
20250
|
-
onChange: (
|
|
20282
|
+
onFocus: (g) => i.selectRow(f.row),
|
|
20283
|
+
onChange: (g) => i.changeFieldName(f.$index)
|
|
20251
20284
|
}, {
|
|
20252
20285
|
default: withCtx(() => [
|
|
20253
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.attributeArr, (
|
|
20254
|
-
key:
|
|
20255
|
-
label:
|
|
20256
|
-
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
|
|
20257
20290
|
}, null, 8, ["label", "value"]))), 128))
|
|
20258
20291
|
]),
|
|
20259
20292
|
_: 2
|
|
@@ -20261,23 +20294,23 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20261
20294
|
]),
|
|
20262
20295
|
_: 1
|
|
20263
20296
|
}, 8, ["label"]),
|
|
20264
|
-
createVNode(
|
|
20297
|
+
createVNode(_, {
|
|
20265
20298
|
label: e.$t("workflowEditor.common.operator"),
|
|
20266
20299
|
width: "110"
|
|
20267
20300
|
}, {
|
|
20268
20301
|
default: withCtx((f) => [
|
|
20269
20302
|
createVNode(m, {
|
|
20270
20303
|
modelValue: f.row.operator,
|
|
20271
|
-
"onUpdate:modelValue": (
|
|
20304
|
+
"onUpdate:modelValue": (g) => f.row.operator = g,
|
|
20272
20305
|
size: "small",
|
|
20273
20306
|
clearable: "",
|
|
20274
|
-
onFocus: (
|
|
20307
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20275
20308
|
}, {
|
|
20276
20309
|
default: withCtx(() => [
|
|
20277
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.operationArr[f.$index], (
|
|
20278
|
-
key:
|
|
20279
|
-
label:
|
|
20280
|
-
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
|
|
20281
20314
|
}, null, 8, ["label", "value"]))), 128))
|
|
20282
20315
|
]),
|
|
20283
20316
|
_: 2
|
|
@@ -20285,16 +20318,16 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20285
20318
|
]),
|
|
20286
20319
|
_: 1
|
|
20287
20320
|
}, 8, ["label"]),
|
|
20288
|
-
createVNode(
|
|
20321
|
+
createVNode(_, {
|
|
20289
20322
|
label: e.$t("workflowEditor.common.value")
|
|
20290
20323
|
}, {
|
|
20291
20324
|
default: withCtx((f) => [
|
|
20292
20325
|
f.row.propValueType ? createCommentVNode("", !0) : (openBlock(), createBlock(m, {
|
|
20293
20326
|
key: 0,
|
|
20294
20327
|
modelValue: f.row.propValueType,
|
|
20295
|
-
"onUpdate:modelValue": (
|
|
20328
|
+
"onUpdate:modelValue": (g) => f.row.propValueType = g,
|
|
20296
20329
|
size: "small",
|
|
20297
|
-
onFocus: (
|
|
20330
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20298
20331
|
}, {
|
|
20299
20332
|
default: withCtx(() => [
|
|
20300
20333
|
createVNode(d, {
|
|
@@ -20331,15 +20364,15 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20331
20364
|
f.row.propValueType === "context" ? (openBlock(), createBlock(m, {
|
|
20332
20365
|
key: 1,
|
|
20333
20366
|
modelValue: f.row.propValue,
|
|
20334
|
-
"onUpdate:modelValue": (
|
|
20367
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20335
20368
|
clearable: "",
|
|
20336
20369
|
size: "small",
|
|
20337
20370
|
title: f.row.propValue,
|
|
20338
20371
|
filterable: "",
|
|
20339
20372
|
"default-first-option": "",
|
|
20340
20373
|
"allow-create": "",
|
|
20341
|
-
onChange: (
|
|
20342
|
-
onFocus: (
|
|
20374
|
+
onChange: (g) => i.changePropValue(f.$index),
|
|
20375
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20343
20376
|
}, {
|
|
20344
20377
|
default: withCtx(() => [
|
|
20345
20378
|
createVNode(d, {
|
|
@@ -20388,15 +20421,15 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20388
20421
|
f.row.propValueType === "task" ? (openBlock(), createBlock(m, {
|
|
20389
20422
|
key: 2,
|
|
20390
20423
|
modelValue: f.row.propValue,
|
|
20391
|
-
"onUpdate:modelValue": (
|
|
20424
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20392
20425
|
clearable: "",
|
|
20393
20426
|
size: "small",
|
|
20394
20427
|
title: f.row.propValue,
|
|
20395
20428
|
filterable: "",
|
|
20396
20429
|
"default-first-option": "",
|
|
20397
20430
|
"allow-create": "",
|
|
20398
|
-
onChange: (
|
|
20399
|
-
onFocus: (
|
|
20431
|
+
onChange: (g) => i.changePropValue(f.$index),
|
|
20432
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20400
20433
|
}, {
|
|
20401
20434
|
default: withCtx(() => [
|
|
20402
20435
|
createVNode(d, {
|
|
@@ -20425,61 +20458,61 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20425
20458
|
f.row.dataType === "DATE" && f.row.propValueType === "input" ? (openBlock(), createBlock(C, {
|
|
20426
20459
|
key: 3,
|
|
20427
20460
|
modelValue: f.row.propValue,
|
|
20428
|
-
"onUpdate:modelValue": (
|
|
20461
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20429
20462
|
size: "small",
|
|
20430
20463
|
clearable: "",
|
|
20431
20464
|
"value-format": "YYYY-MM-DD",
|
|
20432
20465
|
title: f.row.propValue,
|
|
20433
20466
|
type: "date",
|
|
20434
|
-
onChange: (
|
|
20467
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20435
20468
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
20436
20469
|
f.row.dataType === "TIME" && f.row.propValueType === "input" ? (openBlock(), createBlock(C, {
|
|
20437
20470
|
key: 4,
|
|
20438
20471
|
modelValue: f.row.propValue,
|
|
20439
|
-
"onUpdate:modelValue": (
|
|
20472
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20440
20473
|
size: "small",
|
|
20441
20474
|
title: f.row.propValue,
|
|
20442
20475
|
clearable: "",
|
|
20443
20476
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
20444
20477
|
type: "datetime",
|
|
20445
|
-
onChange: (
|
|
20478
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20446
20479
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
20447
20480
|
f.row.dataType !== "TIME" && f.row.dataType !== "DATE" && f.row.propValueType === "input" ? (openBlock(), createBlock(y, {
|
|
20448
20481
|
key: 5,
|
|
20449
20482
|
modelValue: f.row.propValue,
|
|
20450
|
-
"onUpdate:modelValue": (
|
|
20483
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20451
20484
|
modelModifiers: { trim: !0 },
|
|
20452
20485
|
title: f.row.propValue,
|
|
20453
20486
|
clearable: "",
|
|
20454
20487
|
size: "small",
|
|
20455
|
-
onChange: (
|
|
20488
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20456
20489
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
20457
20490
|
f.row.propValueType === "request" ? (openBlock(), createBlock(y, {
|
|
20458
20491
|
key: 6,
|
|
20459
20492
|
modelValue: f.row.propValue,
|
|
20460
|
-
"onUpdate:modelValue": (
|
|
20493
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20461
20494
|
modelModifiers: { trim: !0 },
|
|
20462
20495
|
title: f.row.propValue,
|
|
20463
20496
|
clearable: "",
|
|
20464
20497
|
size: "small",
|
|
20465
|
-
onChange: (
|
|
20498
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20466
20499
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
20467
20500
|
f.row.propValueType === "subObj" ? (openBlock(), createBlock(m, {
|
|
20468
20501
|
key: 7,
|
|
20469
20502
|
modelValue: f.row.propValue,
|
|
20470
|
-
"onUpdate:modelValue": (
|
|
20503
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20471
20504
|
title: f.row.propValue,
|
|
20472
20505
|
"filter-method": i.searchField,
|
|
20473
20506
|
size: "small",
|
|
20474
20507
|
clearable: "",
|
|
20475
20508
|
filterable: "",
|
|
20476
|
-
onChange: (
|
|
20509
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20477
20510
|
}, {
|
|
20478
20511
|
default: withCtx(() => [
|
|
20479
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.attributeArr, (
|
|
20480
|
-
key: "${subObj." +
|
|
20481
|
-
label:
|
|
20482
|
-
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 + "}"
|
|
20483
20516
|
}, null, 8, ["label", "value"]))), 128))
|
|
20484
20517
|
]),
|
|
20485
20518
|
_: 2
|
|
@@ -20487,18 +20520,18 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20487
20520
|
f.row.propValueType === "obj" ? (openBlock(), createBlock(m, {
|
|
20488
20521
|
key: 8,
|
|
20489
20522
|
modelValue: f.row.propValue,
|
|
20490
|
-
"onUpdate:modelValue": (
|
|
20523
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20491
20524
|
title: f.row.propValue,
|
|
20492
20525
|
size: "small",
|
|
20493
20526
|
clearable: "",
|
|
20494
20527
|
filterable: "",
|
|
20495
|
-
onChange: (
|
|
20528
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20496
20529
|
}, {
|
|
20497
20530
|
default: withCtx(() => [
|
|
20498
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.parentAttributeArr, (
|
|
20499
|
-
key: "${obj." +
|
|
20500
|
-
label:
|
|
20501
|
-
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 + "}"
|
|
20502
20535
|
}, null, 8, ["label", "value"]))), 128))
|
|
20503
20536
|
]),
|
|
20504
20537
|
_: 2
|
|
@@ -20506,18 +20539,18 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20506
20539
|
f.row.propValueType === "custom" ? (openBlock(), createBlock(m, {
|
|
20507
20540
|
key: 9,
|
|
20508
20541
|
modelValue: f.row.propValue,
|
|
20509
|
-
"onUpdate:modelValue": (
|
|
20542
|
+
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
20510
20543
|
title: f.row.propValue,
|
|
20511
20544
|
size: "small",
|
|
20512
20545
|
clearable: "",
|
|
20513
20546
|
filterable: "",
|
|
20514
|
-
onChange: (
|
|
20547
|
+
onChange: (g) => i.changePropValue(f.$index)
|
|
20515
20548
|
}, {
|
|
20516
20549
|
default: withCtx(() => [
|
|
20517
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(e.propSettingKeyList, (
|
|
20518
|
-
key: "${custom." +
|
|
20519
|
-
label:
|
|
20520
|
-
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 + "}"
|
|
20521
20554
|
}, null, 8, ["label", "value"]))), 128))
|
|
20522
20555
|
]),
|
|
20523
20556
|
_: 2
|
|
@@ -20525,7 +20558,7 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20525
20558
|
]),
|
|
20526
20559
|
_: 1
|
|
20527
20560
|
}, 8, ["label"]),
|
|
20528
|
-
createVNode(
|
|
20561
|
+
createVNode(_, {
|
|
20529
20562
|
prop: "rightBracket",
|
|
20530
20563
|
label: ")",
|
|
20531
20564
|
width: "90",
|
|
@@ -20534,7 +20567,7 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20534
20567
|
default: withCtx((f) => [
|
|
20535
20568
|
createVNode(m, {
|
|
20536
20569
|
modelValue: f.row.rightBracket,
|
|
20537
|
-
"onUpdate:modelValue": (
|
|
20570
|
+
"onUpdate:modelValue": (g) => f.row.rightBracket = g,
|
|
20538
20571
|
size: "small",
|
|
20539
20572
|
clearable: ""
|
|
20540
20573
|
}, {
|
|
@@ -20561,7 +20594,7 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20561
20594
|
]),
|
|
20562
20595
|
_: 1
|
|
20563
20596
|
}),
|
|
20564
|
-
createVNode(
|
|
20597
|
+
createVNode(_, {
|
|
20565
20598
|
label: e.$t("workflowEditorPublicModel.andOr"),
|
|
20566
20599
|
prop: "logicOperator",
|
|
20567
20600
|
width: "110"
|
|
@@ -20569,10 +20602,10 @@ function _sfc_render$J(e, t, o, r, n, i) {
|
|
|
20569
20602
|
default: withCtx((f) => [
|
|
20570
20603
|
createVNode(m, {
|
|
20571
20604
|
modelValue: f.row.logicOperator,
|
|
20572
|
-
"onUpdate:modelValue": (
|
|
20605
|
+
"onUpdate:modelValue": (g) => f.row.logicOperator = g,
|
|
20573
20606
|
size: "small",
|
|
20574
20607
|
clearable: "",
|
|
20575
|
-
onFocus: (
|
|
20608
|
+
onFocus: (g) => i.selectRow(f.row)
|
|
20576
20609
|
}, {
|
|
20577
20610
|
default: withCtx(() => [
|
|
20578
20611
|
createVNode(d, {
|
|
@@ -20771,7 +20804,7 @@ const selectionConditions = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render",
|
|
|
20771
20804
|
}
|
|
20772
20805
|
};
|
|
20773
20806
|
function _sfc_render$I(e, t, o, r, n, i) {
|
|
20774
|
-
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");
|
|
20775
20808
|
return openBlock(), createElementBlock("div", null, [
|
|
20776
20809
|
createElementVNode("div", null, [
|
|
20777
20810
|
createVNode(d, {
|
|
@@ -20881,7 +20914,7 @@ function _sfc_render$I(e, t, o, r, n, i) {
|
|
|
20881
20914
|
createElementVNode("div", null, [
|
|
20882
20915
|
createVNode(c, null, {
|
|
20883
20916
|
default: withCtx(() => [
|
|
20884
|
-
createVNode(
|
|
20917
|
+
createVNode(_, {
|
|
20885
20918
|
type: "primary",
|
|
20886
20919
|
size: "small",
|
|
20887
20920
|
plain: "",
|
|
@@ -20893,7 +20926,7 @@ function _sfc_render$I(e, t, o, r, n, i) {
|
|
|
20893
20926
|
]),
|
|
20894
20927
|
_: 1
|
|
20895
20928
|
}, 8, ["onClick"]),
|
|
20896
|
-
createVNode(
|
|
20929
|
+
createVNode(_, {
|
|
20897
20930
|
type: "primary",
|
|
20898
20931
|
size: "small",
|
|
20899
20932
|
plain: "",
|
|
@@ -20908,7 +20941,7 @@ function _sfc_render$I(e, t, o, r, n, i) {
|
|
|
20908
20941
|
]),
|
|
20909
20942
|
_: 1
|
|
20910
20943
|
}),
|
|
20911
|
-
createVNode(
|
|
20944
|
+
createVNode(g, {
|
|
20912
20945
|
ref: "table",
|
|
20913
20946
|
data: n.fieldArr,
|
|
20914
20947
|
border: "",
|
|
@@ -21137,7 +21170,7 @@ const editableChildFieldSetting = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["re
|
|
|
21137
21170
|
function _sfc_render$H(e, t, o, r, n, i) {
|
|
21138
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");
|
|
21139
21172
|
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
21140
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(e.subtableConditionMap, (
|
|
21173
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(e.subtableConditionMap, (_, C) => (openBlock(), createElementBlock("span", { key: C }, [
|
|
21141
21174
|
createVNode(m, { class: "box-card" }, {
|
|
21142
21175
|
default: withCtx(() => [
|
|
21143
21176
|
createElementVNode("div", _hoisted_2$c, [
|
|
@@ -21479,7 +21512,7 @@ const SystemRoleTree = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc
|
|
|
21479
21512
|
style: { width: "100%", "vertical-align": "middle" }
|
|
21480
21513
|
}, _hoisted_2$b = { class: "el-dropdown-link" }, _hoisted_3$2 = /* @__PURE__ */ createElementVNode("i", { class: "fa fa-search" }, null, -1);
|
|
21481
21514
|
function _sfc_render$F(e, t, o, r, n, i) {
|
|
21482
|
-
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");
|
|
21483
21516
|
return openBlock(), createBlock(E, {
|
|
21484
21517
|
label: o.label,
|
|
21485
21518
|
"label-width": o.labelWidth
|
|
@@ -21539,7 +21572,7 @@ function _sfc_render$F(e, t, o, r, n, i) {
|
|
|
21539
21572
|
n.showUserList ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
21540
21573
|
createVNode(a, null, {
|
|
21541
21574
|
default: withCtx(() => [
|
|
21542
|
-
createVNode(
|
|
21575
|
+
createVNode(_, null, {
|
|
21543
21576
|
default: withCtx(() => [
|
|
21544
21577
|
createVNode(a, { span: 4 }, {
|
|
21545
21578
|
default: withCtx(() => [
|
|
@@ -21642,7 +21675,7 @@ function _sfc_render$F(e, t, o, r, n, i) {
|
|
|
21642
21675
|
]),
|
|
21643
21676
|
_: 1
|
|
21644
21677
|
}),
|
|
21645
|
-
createVNode(
|
|
21678
|
+
createVNode(_, null, {
|
|
21646
21679
|
default: withCtx(() => [
|
|
21647
21680
|
createVNode(a, null, {
|
|
21648
21681
|
default: withCtx(() => [
|
|
@@ -21685,7 +21718,7 @@ function _sfc_render$F(e, t, o, r, n, i) {
|
|
|
21685
21718
|
multiple: !0,
|
|
21686
21719
|
onClose: i.addPointRoles
|
|
21687
21720
|
}, null, 8, ["onClose"])) : createCommentVNode("", !0),
|
|
21688
|
-
n.showSelectField ? (openBlock(), createBlock(
|
|
21721
|
+
n.showSelectField ? (openBlock(), createBlock(g, {
|
|
21689
21722
|
key: 4,
|
|
21690
21723
|
onClose: i.setField
|
|
21691
21724
|
}, null, 8, ["onClose"])) : createCommentVNode("", !0)
|
|
@@ -21766,7 +21799,7 @@ const UserSelection = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_
|
|
|
21766
21799
|
methods: {}
|
|
21767
21800
|
};
|
|
21768
21801
|
function _sfc_render$E(e, t, o, r, n, i) {
|
|
21769
|
-
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");
|
|
21770
21803
|
return openBlock(), createBlock(C, { model: n.formModel }, {
|
|
21771
21804
|
default: withCtx(() => [
|
|
21772
21805
|
createVNode(l, {
|
|
@@ -22039,7 +22072,7 @@ function _sfc_render$E(e, t, o, r, n, i) {
|
|
|
22039
22072
|
]),
|
|
22040
22073
|
_: 1
|
|
22041
22074
|
}, 8, ["label"]),
|
|
22042
|
-
n.formModel.attachment.permission ? (openBlock(), createBlock(
|
|
22075
|
+
n.formModel.attachment.permission ? (openBlock(), createBlock(_, {
|
|
22043
22076
|
key: 0,
|
|
22044
22077
|
class: "box-card"
|
|
22045
22078
|
}, {
|
|
@@ -22238,8 +22271,8 @@ const PermissionSettings$2 = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render"
|
|
|
22238
22271
|
style: { width: "100%" }
|
|
22239
22272
|
}, _hoisted_2$a = { key: 1 }, _hoisted_3$1 = { key: 0 };
|
|
22240
22273
|
function _sfc_render$D(e, t, o, r, n, i) {
|
|
22241
|
-
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"),
|
|
22242
|
-
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 }, {
|
|
22243
22276
|
default: withCtx(() => [
|
|
22244
22277
|
createVNode(u, { label: "" }, {
|
|
22245
22278
|
default: withCtx(() => [
|
|
@@ -22605,9 +22638,9 @@ const TransactorSettings = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render",
|
|
|
22605
22638
|
}
|
|
22606
22639
|
};
|
|
22607
22640
|
function _sfc_render$C(e, t, o, r, n, i) {
|
|
22608
|
-
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");
|
|
22609
22642
|
return openBlock(), createElementBlock("div", null, [
|
|
22610
|
-
createVNode(
|
|
22643
|
+
createVNode(_, { class: "box-card" }, {
|
|
22611
22644
|
header: withCtx(() => [
|
|
22612
22645
|
createTextVNode(" 表单自动填充字段设置 ")
|
|
22613
22646
|
]),
|
|
@@ -22769,7 +22802,7 @@ function _sfc_render$C(e, t, o, r, n, i) {
|
|
|
22769
22802
|
]),
|
|
22770
22803
|
_: 1
|
|
22771
22804
|
}),
|
|
22772
|
-
createVNode(
|
|
22805
|
+
createVNode(_, {
|
|
22773
22806
|
class: "box-card",
|
|
22774
22807
|
style: { "margin-top": "10px" }
|
|
22775
22808
|
}, {
|
|
@@ -23236,7 +23269,7 @@ const CommonNoticeTool = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _s
|
|
|
23236
23269
|
}
|
|
23237
23270
|
}, _hoisted_1$b = { key: 0 }, _hoisted_2$9 = { key: 2 };
|
|
23238
23271
|
function _sfc_render$y(e, t, o, r, n, i) {
|
|
23239
|
-
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");
|
|
23240
23273
|
return openBlock(), createBlock(v, {
|
|
23241
23274
|
model: n.model,
|
|
23242
23275
|
"label-width": "80px"
|
|
@@ -23350,7 +23383,7 @@ function _sfc_render$y(e, t, o, r, n, i) {
|
|
|
23350
23383
|
}, 8, ["label"]),
|
|
23351
23384
|
createVNode(l, null, {
|
|
23352
23385
|
default: withCtx(() => [
|
|
23353
|
-
createVNode(
|
|
23386
|
+
createVNode(_, {
|
|
23354
23387
|
modelValue: n.showNotice,
|
|
23355
23388
|
"onUpdate:modelValue": t[8] || (t[8] = (p) => n.showNotice = p),
|
|
23356
23389
|
label: !1
|
|
@@ -23360,7 +23393,7 @@ function _sfc_render$y(e, t, o, r, n, i) {
|
|
|
23360
23393
|
]),
|
|
23361
23394
|
_: 1
|
|
23362
23395
|
}, 8, ["modelValue"]),
|
|
23363
|
-
createVNode(
|
|
23396
|
+
createVNode(_, {
|
|
23364
23397
|
modelValue: n.showNotice,
|
|
23365
23398
|
"onUpdate:modelValue": t[9] || (t[9] = (p) => n.showNotice = p),
|
|
23366
23399
|
label: !0
|
|
@@ -23510,9 +23543,9 @@ const Reminder = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_rende
|
|
|
23510
23543
|
}
|
|
23511
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" };
|
|
23512
23545
|
function _sfc_render$x(e, t, o, r, n, i) {
|
|
23513
|
-
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");
|
|
23514
23547
|
return openBlock(), createElementBlock("div", null, [
|
|
23515
|
-
createVNode(
|
|
23548
|
+
createVNode(_, { class: "box-card" }, {
|
|
23516
23549
|
header: withCtx(() => [
|
|
23517
23550
|
createElementVNode("div", _hoisted_1$a, [
|
|
23518
23551
|
createElementVNode("span", null, toDisplayString$1(e.$t("workflowEditor.common.taskNotice")), 1),
|
|
@@ -23583,7 +23616,7 @@ function _sfc_render$x(e, t, o, r, n, i) {
|
|
|
23583
23616
|
]),
|
|
23584
23617
|
_: 1
|
|
23585
23618
|
}),
|
|
23586
|
-
createVNode(
|
|
23619
|
+
createVNode(_, {
|
|
23587
23620
|
class: "box-card",
|
|
23588
23621
|
style: { "margin-top": "10px" }
|
|
23589
23622
|
}, {
|
|
@@ -23666,7 +23699,7 @@ const NoticeReminder = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc
|
|
|
23666
23699
|
}
|
|
23667
23700
|
};
|
|
23668
23701
|
function _sfc_render$w(e, t, o, r, n, i) {
|
|
23669
|
-
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");
|
|
23670
23703
|
return openBlock(), createBlock(y, {
|
|
23671
23704
|
"model-value": "",
|
|
23672
23705
|
top: "10vh",
|
|
@@ -23770,7 +23803,7 @@ function _sfc_render$w(e, t, o, r, n, i) {
|
|
|
23770
23803
|
name: "variables"
|
|
23771
23804
|
}, {
|
|
23772
23805
|
default: withCtx(() => [
|
|
23773
|
-
createVNode(
|
|
23806
|
+
createVNode(_, {
|
|
23774
23807
|
modelValue: o.model.ref.variables,
|
|
23775
23808
|
"onUpdate:modelValue": t[7] || (t[7] = (v) => o.model.ref.variables = v)
|
|
23776
23809
|
}, null, 8, ["modelValue"])
|
|
@@ -23891,7 +23924,7 @@ function requireString_decoder() {
|
|
|
23891
23924
|
this.fillLast = a, f = 4;
|
|
23892
23925
|
break;
|
|
23893
23926
|
case "base64":
|
|
23894
|
-
this.text =
|
|
23927
|
+
this.text = _, this.end = C, f = 3;
|
|
23895
23928
|
break;
|
|
23896
23929
|
default:
|
|
23897
23930
|
this.write = y, this.end = v;
|
|
@@ -23902,14 +23935,14 @@ function requireString_decoder() {
|
|
|
23902
23935
|
n.prototype.write = function(p) {
|
|
23903
23936
|
if (p.length === 0)
|
|
23904
23937
|
return "";
|
|
23905
|
-
var f,
|
|
23938
|
+
var f, g;
|
|
23906
23939
|
if (this.lastNeed) {
|
|
23907
23940
|
if (f = this.fillLast(p), f === void 0)
|
|
23908
23941
|
return "";
|
|
23909
|
-
|
|
23942
|
+
g = this.lastNeed, this.lastNeed = 0;
|
|
23910
23943
|
} else
|
|
23911
|
-
|
|
23912
|
-
return
|
|
23944
|
+
g = 0;
|
|
23945
|
+
return g < p.length ? f ? f + this.text(p, g) : this.text(p, g) : f || "";
|
|
23913
23946
|
}, n.prototype.end = c, n.prototype.text = u, n.prototype.fillLast = function(p) {
|
|
23914
23947
|
if (this.lastNeed <= p.length)
|
|
23915
23948
|
return p.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
@@ -23918,14 +23951,14 @@ function requireString_decoder() {
|
|
|
23918
23951
|
function i(p) {
|
|
23919
23952
|
return p <= 127 ? 0 : p >> 5 === 6 ? 2 : p >> 4 === 14 ? 3 : p >> 3 === 30 ? 4 : p >> 6 === 2 ? -1 : -2;
|
|
23920
23953
|
}
|
|
23921
|
-
function s(p, f,
|
|
23954
|
+
function s(p, f, g) {
|
|
23922
23955
|
var E = f.length - 1;
|
|
23923
|
-
if (E <
|
|
23956
|
+
if (E < g)
|
|
23924
23957
|
return 0;
|
|
23925
23958
|
var k = i(f[E]);
|
|
23926
|
-
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));
|
|
23927
23960
|
}
|
|
23928
|
-
function l(p, f,
|
|
23961
|
+
function l(p, f, g) {
|
|
23929
23962
|
if ((f[0] & 192) !== 128)
|
|
23930
23963
|
return p.lastNeed = 0, "�";
|
|
23931
23964
|
if (p.lastNeed > 1 && f.length > 1) {
|
|
@@ -23936,19 +23969,19 @@ function requireString_decoder() {
|
|
|
23936
23969
|
}
|
|
23937
23970
|
}
|
|
23938
23971
|
function a(p) {
|
|
23939
|
-
var f = this.lastTotal - this.lastNeed,
|
|
23940
|
-
if (
|
|
23941
|
-
return
|
|
23972
|
+
var f = this.lastTotal - this.lastNeed, g = l(this, p);
|
|
23973
|
+
if (g !== void 0)
|
|
23974
|
+
return g;
|
|
23942
23975
|
if (this.lastNeed <= p.length)
|
|
23943
23976
|
return p.copy(this.lastChar, f, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
23944
23977
|
p.copy(this.lastChar, f, 0, p.length), this.lastNeed -= p.length;
|
|
23945
23978
|
}
|
|
23946
23979
|
function u(p, f) {
|
|
23947
|
-
var
|
|
23980
|
+
var g = s(this, p, f);
|
|
23948
23981
|
if (!this.lastNeed)
|
|
23949
23982
|
return p.toString("utf8", f);
|
|
23950
|
-
this.lastTotal =
|
|
23951
|
-
var E = p.length - (
|
|
23983
|
+
this.lastTotal = g;
|
|
23984
|
+
var E = p.length - (g - this.lastNeed);
|
|
23952
23985
|
return p.copy(this.lastChar, 0, E), p.toString("utf8", f, E);
|
|
23953
23986
|
}
|
|
23954
23987
|
function c(p) {
|
|
@@ -23957,27 +23990,27 @@ function requireString_decoder() {
|
|
|
23957
23990
|
}
|
|
23958
23991
|
function d(p, f) {
|
|
23959
23992
|
if ((p.length - f) % 2 === 0) {
|
|
23960
|
-
var
|
|
23961
|
-
if (
|
|
23962
|
-
var E =
|
|
23993
|
+
var g = p.toString("utf16le", f);
|
|
23994
|
+
if (g) {
|
|
23995
|
+
var E = g.charCodeAt(g.length - 1);
|
|
23963
23996
|
if (E >= 55296 && E <= 56319)
|
|
23964
|
-
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);
|
|
23965
23998
|
}
|
|
23966
|
-
return
|
|
23999
|
+
return g;
|
|
23967
24000
|
}
|
|
23968
24001
|
return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = p[p.length - 1], p.toString("utf16le", f, p.length - 1);
|
|
23969
24002
|
}
|
|
23970
24003
|
function m(p) {
|
|
23971
24004
|
var f = p && p.length ? this.write(p) : "";
|
|
23972
24005
|
if (this.lastNeed) {
|
|
23973
|
-
var
|
|
23974
|
-
return f + this.lastChar.toString("utf16le", 0,
|
|
24006
|
+
var g = this.lastTotal - this.lastNeed;
|
|
24007
|
+
return f + this.lastChar.toString("utf16le", 0, g);
|
|
23975
24008
|
}
|
|
23976
24009
|
return f;
|
|
23977
24010
|
}
|
|
23978
|
-
function
|
|
23979
|
-
var
|
|
23980
|
-
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));
|
|
23981
24014
|
}
|
|
23982
24015
|
function C(p) {
|
|
23983
24016
|
var f = p && p.length ? this.write(p) : "";
|
|
@@ -23993,8 +24026,8 @@ function requireString_decoder() {
|
|
|
23993
24026
|
}
|
|
23994
24027
|
(function(e) {
|
|
23995
24028
|
(function(t) {
|
|
23996
|
-
t.parser = function(b,
|
|
23997
|
-
return new r(b,
|
|
24029
|
+
t.parser = function(b, w) {
|
|
24030
|
+
return new r(b, w);
|
|
23998
24031
|
}, t.SAXParser = r, t.SAXStream = c, t.createStream = u, t.MAX_BUFFER_LENGTH = 64 * 1024;
|
|
23999
24032
|
var o = [
|
|
24000
24033
|
"comment",
|
|
@@ -24030,28 +24063,28 @@ function requireString_decoder() {
|
|
|
24030
24063
|
"opennamespace",
|
|
24031
24064
|
"closenamespace"
|
|
24032
24065
|
];
|
|
24033
|
-
function r(b,
|
|
24066
|
+
function r(b, w) {
|
|
24034
24067
|
if (!(this instanceof r))
|
|
24035
|
-
return new r(b,
|
|
24068
|
+
return new r(b, w);
|
|
24036
24069
|
var $ = this;
|
|
24037
|
-
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");
|
|
24038
24071
|
}
|
|
24039
24072
|
Object.create || (Object.create = function(b) {
|
|
24040
|
-
function
|
|
24073
|
+
function w() {
|
|
24041
24074
|
}
|
|
24042
|
-
|
|
24043
|
-
var $ = new
|
|
24075
|
+
w.prototype = b;
|
|
24076
|
+
var $ = new w();
|
|
24044
24077
|
return $;
|
|
24045
24078
|
}), Object.keys || (Object.keys = function(b) {
|
|
24046
|
-
var
|
|
24079
|
+
var w = [];
|
|
24047
24080
|
for (var $ in b)
|
|
24048
|
-
b.hasOwnProperty($) &&
|
|
24049
|
-
return
|
|
24081
|
+
b.hasOwnProperty($) && w.push($);
|
|
24082
|
+
return w;
|
|
24050
24083
|
});
|
|
24051
24084
|
function n(b) {
|
|
24052
|
-
for (var
|
|
24085
|
+
for (var w = Math.max(t.MAX_BUFFER_LENGTH, 10), $ = 0, V = 0, R = o.length; V < R; V++) {
|
|
24053
24086
|
var U = b[o[V]].length;
|
|
24054
|
-
if (U >
|
|
24087
|
+
if (U > w)
|
|
24055
24088
|
switch (o[V]) {
|
|
24056
24089
|
case "textNode":
|
|
24057
24090
|
G(b);
|
|
@@ -24071,8 +24104,8 @@ function requireString_decoder() {
|
|
|
24071
24104
|
b.bufferCheckPosition = N + b.position;
|
|
24072
24105
|
}
|
|
24073
24106
|
function i(b) {
|
|
24074
|
-
for (var
|
|
24075
|
-
b[o[
|
|
24107
|
+
for (var w = 0, $ = o.length; w < $; w++)
|
|
24108
|
+
b[o[w]] = "";
|
|
24076
24109
|
}
|
|
24077
24110
|
function s(b) {
|
|
24078
24111
|
G(b), b.cdata !== "" && (L(b, "oncdata", b.cdata), b.cdata = ""), b.script !== "" && (L(b, "onscript", b.script), b.script = "");
|
|
@@ -24104,13 +24137,13 @@ function requireString_decoder() {
|
|
|
24104
24137
|
var a = t.EVENTS.filter(function(b) {
|
|
24105
24138
|
return b !== "error" && b !== "end";
|
|
24106
24139
|
});
|
|
24107
|
-
function u(b,
|
|
24108
|
-
return new c(b,
|
|
24140
|
+
function u(b, w) {
|
|
24141
|
+
return new c(b, w);
|
|
24109
24142
|
}
|
|
24110
|
-
function c(b,
|
|
24143
|
+
function c(b, w) {
|
|
24111
24144
|
if (!(this instanceof c))
|
|
24112
|
-
return new c(b,
|
|
24113
|
-
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;
|
|
24114
24147
|
var $ = this;
|
|
24115
24148
|
this._parser.onend = function() {
|
|
24116
24149
|
$.emit("end");
|
|
@@ -24138,22 +24171,22 @@ function requireString_decoder() {
|
|
|
24138
24171
|
}), c.prototype.write = function(b) {
|
|
24139
24172
|
if (typeof Buffer == "function" && typeof Buffer.isBuffer == "function" && Buffer.isBuffer(b)) {
|
|
24140
24173
|
if (!this._decoder) {
|
|
24141
|
-
var
|
|
24142
|
-
this._decoder = new
|
|
24174
|
+
var w = requireString_decoder().StringDecoder;
|
|
24175
|
+
this._decoder = new w("utf8");
|
|
24143
24176
|
}
|
|
24144
24177
|
b = this._decoder.write(b);
|
|
24145
24178
|
}
|
|
24146
24179
|
return this._parser.write(b.toString()), this.emit("data", b), !0;
|
|
24147
24180
|
}, c.prototype.end = function(b) {
|
|
24148
24181
|
return b && b.length && this.write(b), this._parser.end(), !0;
|
|
24149
|
-
}, c.prototype.on = function(b,
|
|
24182
|
+
}, c.prototype.on = function(b, w) {
|
|
24150
24183
|
var $ = this;
|
|
24151
24184
|
return !$._parser["on" + b] && a.indexOf(b) !== -1 && ($._parser["on" + b] = function() {
|
|
24152
24185
|
var V = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
|
|
24153
24186
|
V.splice(0, 0, b), $.emit.apply($, V);
|
|
24154
|
-
}), l.prototype.on.call($, b,
|
|
24187
|
+
}), l.prototype.on.call($, b, w);
|
|
24155
24188
|
};
|
|
24156
|
-
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-]/;
|
|
24157
24190
|
function E(b) {
|
|
24158
24191
|
return b === " " || b === `
|
|
24159
24192
|
` || b === "\r" || b === " ";
|
|
@@ -24164,11 +24197,11 @@ function requireString_decoder() {
|
|
|
24164
24197
|
function P(b) {
|
|
24165
24198
|
return b === ">" || E(b);
|
|
24166
24199
|
}
|
|
24167
|
-
function O(b,
|
|
24168
|
-
return b.test(
|
|
24200
|
+
function O(b, w) {
|
|
24201
|
+
return b.test(w);
|
|
24169
24202
|
}
|
|
24170
|
-
function D(b,
|
|
24171
|
-
return !O(b,
|
|
24203
|
+
function D(b, w) {
|
|
24204
|
+
return !O(b, w);
|
|
24172
24205
|
}
|
|
24173
24206
|
var S = 0;
|
|
24174
24207
|
t.STATE = {
|
|
@@ -24505,46 +24538,46 @@ function requireString_decoder() {
|
|
|
24505
24538
|
hearts: 9829,
|
|
24506
24539
|
diams: 9830
|
|
24507
24540
|
}, Object.keys(t.ENTITIES).forEach(function(b) {
|
|
24508
|
-
var
|
|
24541
|
+
var w = t.ENTITIES[b], $ = typeof w == "number" ? String.fromCharCode(w) : w;
|
|
24509
24542
|
t.ENTITIES[b] = $;
|
|
24510
24543
|
});
|
|
24511
24544
|
for (var B in t.STATE)
|
|
24512
24545
|
t.STATE[t.STATE[B]] = B;
|
|
24513
24546
|
S = t.STATE;
|
|
24514
|
-
function H(b,
|
|
24515
|
-
b[
|
|
24547
|
+
function H(b, w, $) {
|
|
24548
|
+
b[w] && b[w]($);
|
|
24516
24549
|
}
|
|
24517
|
-
function L(b,
|
|
24518
|
-
b.textNode && G(b), H(b,
|
|
24550
|
+
function L(b, w, $) {
|
|
24551
|
+
b.textNode && G(b), H(b, w, $);
|
|
24519
24552
|
}
|
|
24520
24553
|
function G(b) {
|
|
24521
24554
|
b.textNode = ne(b.opt, b.textNode), b.textNode && H(b, "ontext", b.textNode), b.textNode = "";
|
|
24522
24555
|
}
|
|
24523
|
-
function ne(b,
|
|
24524
|
-
return b.trim && (
|
|
24556
|
+
function ne(b, w) {
|
|
24557
|
+
return b.trim && (w = w.trim()), b.normalize && (w = w.replace(/\s+/g, " ")), w;
|
|
24525
24558
|
}
|
|
24526
|
-
function re(b,
|
|
24527
|
-
return G(b), b.trackPosition && (
|
|
24559
|
+
function re(b, w) {
|
|
24560
|
+
return G(b), b.trackPosition && (w += `
|
|
24528
24561
|
Line: ` + b.line + `
|
|
24529
24562
|
Column: ` + b.column + `
|
|
24530
|
-
Char: ` + b.c),
|
|
24563
|
+
Char: ` + b.c), w = new Error(w), b.error = w, H(b, "onerror", w), b;
|
|
24531
24564
|
}
|
|
24532
24565
|
function te(b) {
|
|
24533
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;
|
|
24534
24567
|
}
|
|
24535
|
-
function j(b,
|
|
24568
|
+
function j(b, w) {
|
|
24536
24569
|
if (typeof b != "object" || !(b instanceof r))
|
|
24537
24570
|
throw new Error("bad call to strictFail");
|
|
24538
|
-
b.strict && re(b,
|
|
24571
|
+
b.strict && re(b, w);
|
|
24539
24572
|
}
|
|
24540
24573
|
function z(b) {
|
|
24541
24574
|
b.strict || (b.tagName = b.tagName[b.looseCase]());
|
|
24542
|
-
var
|
|
24543
|
-
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", $);
|
|
24544
24577
|
}
|
|
24545
|
-
function Y(b,
|
|
24578
|
+
function Y(b, w) {
|
|
24546
24579
|
var $ = b.indexOf(":"), V = $ < 0 ? ["", b] : b.split(":"), R = V[0], U = V[1];
|
|
24547
|
-
return
|
|
24580
|
+
return w && b === "xmlns" && (R = "xmlns", U = ""), { prefix: R, local: U };
|
|
24548
24581
|
}
|
|
24549
24582
|
function q(b) {
|
|
24550
24583
|
if (b.strict || (b.attribName = b.attribName[b.looseCase]()), b.attribList.indexOf(b.attribName) !== -1 || b.tag.attributes.hasOwnProperty(b.attribName)) {
|
|
@@ -24552,12 +24585,12 @@ Char: ` + b.c), _ = new Error(_), b.error = _, H(b, "onerror", _), b;
|
|
|
24552
24585
|
return;
|
|
24553
24586
|
}
|
|
24554
24587
|
if (b.opt.xmlns) {
|
|
24555
|
-
var
|
|
24588
|
+
var w = Y(b.attribName, !0), $ = w.prefix, V = w.local;
|
|
24556
24589
|
if ($ === "xmlns")
|
|
24557
|
-
if (V === "xml" && b.attribValue !==
|
|
24590
|
+
if (V === "xml" && b.attribValue !== _)
|
|
24558
24591
|
j(
|
|
24559
24592
|
b,
|
|
24560
|
-
"xml: prefix must be bound to " +
|
|
24593
|
+
"xml: prefix must be bound to " + _ + `
|
|
24561
24594
|
Actual: ` + b.attribValue
|
|
24562
24595
|
);
|
|
24563
24596
|
else if (V === "xmlns" && b.attribValue !== C)
|
|
@@ -24578,7 +24611,7 @@ Actual: ` + b.attribValue
|
|
|
24578
24611
|
});
|
|
24579
24612
|
b.attribName = b.attribValue = "";
|
|
24580
24613
|
}
|
|
24581
|
-
function Q(b,
|
|
24614
|
+
function Q(b, w) {
|
|
24582
24615
|
if (b.opt.xmlns) {
|
|
24583
24616
|
var $ = b.tag, V = Y(b.tagName);
|
|
24584
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);
|
|
@@ -24601,7 +24634,7 @@ Actual: ` + b.attribValue
|
|
|
24601
24634
|
}
|
|
24602
24635
|
b.attribList.length = 0;
|
|
24603
24636
|
}
|
|
24604
|
-
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;
|
|
24605
24638
|
}
|
|
24606
24639
|
function J(b) {
|
|
24607
24640
|
if (!b.tagName) {
|
|
@@ -24615,21 +24648,21 @@ Actual: ` + b.attribValue
|
|
|
24615
24648
|
}
|
|
24616
24649
|
L(b, "onscript", b.script), b.script = "";
|
|
24617
24650
|
}
|
|
24618
|
-
var
|
|
24651
|
+
var w = b.tags.length, $ = b.tagName;
|
|
24619
24652
|
b.strict || ($ = $[b.looseCase]());
|
|
24620
|
-
for (var V = $;
|
|
24621
|
-
var R = b.tags[
|
|
24653
|
+
for (var V = $; w--; ) {
|
|
24654
|
+
var R = b.tags[w];
|
|
24622
24655
|
if (R.name !== V)
|
|
24623
24656
|
j(b, "Unexpected close tag");
|
|
24624
24657
|
else
|
|
24625
24658
|
break;
|
|
24626
24659
|
}
|
|
24627
|
-
if (
|
|
24660
|
+
if (w < 0) {
|
|
24628
24661
|
j(b, "Unmatched closing tag: " + b.tagName), b.textNode += "</" + b.tagName + ">", b.state = S.TEXT;
|
|
24629
24662
|
return;
|
|
24630
24663
|
}
|
|
24631
24664
|
b.tagName = $;
|
|
24632
|
-
for (var U = b.tags.length; U-- >
|
|
24665
|
+
for (var U = b.tags.length; U-- > w; ) {
|
|
24633
24666
|
var N = b.tag = b.tags.pop();
|
|
24634
24667
|
b.tagName = b.tag.name, L(b, "onclosetag", b.tagName);
|
|
24635
24668
|
var T = {};
|
|
@@ -24641,195 +24674,195 @@ Actual: ` + b.attribValue
|
|
|
24641
24674
|
L(b, "onclosenamespace", { prefix: M, uri: W });
|
|
24642
24675
|
});
|
|
24643
24676
|
}
|
|
24644
|
-
|
|
24677
|
+
w === 0 && (b.closedRoot = !0), b.tagName = b.attribValue = b.attribName = "", b.attribList.length = 0, b.state = S.TEXT;
|
|
24645
24678
|
}
|
|
24646
24679
|
function se(b) {
|
|
24647
|
-
var
|
|
24648
|
-
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));
|
|
24649
24682
|
}
|
|
24650
|
-
function X(b,
|
|
24651
|
-
|
|
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);
|
|
24652
24685
|
}
|
|
24653
|
-
function ie(b,
|
|
24686
|
+
function ie(b, w) {
|
|
24654
24687
|
var $ = "";
|
|
24655
|
-
return
|
|
24688
|
+
return w < b.length && ($ = b.charAt(w)), $;
|
|
24656
24689
|
}
|
|
24657
24690
|
function oe(b) {
|
|
24658
|
-
var
|
|
24691
|
+
var w = this;
|
|
24659
24692
|
if (this.error)
|
|
24660
24693
|
throw this.error;
|
|
24661
|
-
if (
|
|
24694
|
+
if (w.closed)
|
|
24662
24695
|
return re(
|
|
24663
|
-
|
|
24696
|
+
w,
|
|
24664
24697
|
"Cannot write after close. Assign an onready handler."
|
|
24665
24698
|
);
|
|
24666
24699
|
if (b === null)
|
|
24667
|
-
return te(
|
|
24700
|
+
return te(w);
|
|
24668
24701
|
typeof b == "object" && (b = b.toString());
|
|
24669
|
-
for (var $ = 0, V = ""; V = ie(b, $++),
|
|
24670
|
-
switch (
|
|
24671
|
-
` ? (
|
|
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) {
|
|
24672
24705
|
case S.BEGIN:
|
|
24673
|
-
if (
|
|
24706
|
+
if (w.state = S.BEGIN_WHITESPACE, V === "\uFEFF")
|
|
24674
24707
|
continue;
|
|
24675
|
-
X(
|
|
24708
|
+
X(w, V);
|
|
24676
24709
|
continue;
|
|
24677
24710
|
case S.BEGIN_WHITESPACE:
|
|
24678
|
-
X(
|
|
24711
|
+
X(w, V);
|
|
24679
24712
|
continue;
|
|
24680
24713
|
case S.TEXT:
|
|
24681
|
-
if (
|
|
24714
|
+
if (w.sawRoot && !w.closedRoot) {
|
|
24682
24715
|
for (var R = $ - 1; V && V !== "<" && V !== "&"; )
|
|
24683
|
-
V = ie(b, $++), V &&
|
|
24684
|
-
` ? (
|
|
24685
|
-
|
|
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);
|
|
24686
24719
|
}
|
|
24687
|
-
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);
|
|
24688
24721
|
continue;
|
|
24689
24722
|
case S.SCRIPT:
|
|
24690
|
-
V === "<" ?
|
|
24723
|
+
V === "<" ? w.state = S.SCRIPT_ENDING : w.script += V;
|
|
24691
24724
|
continue;
|
|
24692
24725
|
case S.SCRIPT_ENDING:
|
|
24693
|
-
V === "/" ?
|
|
24726
|
+
V === "/" ? w.state = S.CLOSE_TAG : (w.script += "<" + V, w.state = S.SCRIPT);
|
|
24694
24727
|
continue;
|
|
24695
24728
|
case S.OPEN_WAKA:
|
|
24696
24729
|
if (V === "!")
|
|
24697
|
-
|
|
24730
|
+
w.state = S.SGML_DECL, w.sgmlDecl = "";
|
|
24698
24731
|
else if (!E(V))
|
|
24699
24732
|
if (O(v, V))
|
|
24700
|
-
|
|
24733
|
+
w.state = S.OPEN_TAG, w.tagName = V;
|
|
24701
24734
|
else if (V === "/")
|
|
24702
|
-
|
|
24735
|
+
w.state = S.CLOSE_TAG, w.tagName = "";
|
|
24703
24736
|
else if (V === "?")
|
|
24704
|
-
|
|
24737
|
+
w.state = S.PROC_INST, w.procInstName = w.procInstBody = "";
|
|
24705
24738
|
else {
|
|
24706
|
-
if (j(
|
|
24707
|
-
var U =
|
|
24739
|
+
if (j(w, "Unencoded <"), w.startTagPosition + 1 < w.position) {
|
|
24740
|
+
var U = w.position - w.startTagPosition;
|
|
24708
24741
|
V = new Array(U).join(" ") + V;
|
|
24709
24742
|
}
|
|
24710
|
-
|
|
24743
|
+
w.textNode += "<" + V, w.state = S.TEXT;
|
|
24711
24744
|
}
|
|
24712
24745
|
continue;
|
|
24713
24746
|
case S.SGML_DECL:
|
|
24714
|
-
(
|
|
24715
|
-
|
|
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,
|
|
24716
24749
|
"Inappropriately located doctype declaration"
|
|
24717
|
-
),
|
|
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);
|
|
24718
24751
|
continue;
|
|
24719
24752
|
case S.SGML_DECL_QUOTED:
|
|
24720
|
-
V ===
|
|
24753
|
+
V === w.q && (w.state = S.SGML_DECL, w.q = ""), w.sgmlDecl += V;
|
|
24721
24754
|
continue;
|
|
24722
24755
|
case S.DOCTYPE:
|
|
24723
|
-
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));
|
|
24724
24757
|
continue;
|
|
24725
24758
|
case S.DOCTYPE_QUOTED:
|
|
24726
|
-
|
|
24759
|
+
w.doctype += V, V === w.q && (w.q = "", w.state = S.DOCTYPE);
|
|
24727
24760
|
continue;
|
|
24728
24761
|
case S.DOCTYPE_DTD:
|
|
24729
|
-
|
|
24762
|
+
w.doctype += V, V === "]" ? w.state = S.DOCTYPE : k(V) && (w.state = S.DOCTYPE_DTD_QUOTED, w.q = V);
|
|
24730
24763
|
continue;
|
|
24731
24764
|
case S.DOCTYPE_DTD_QUOTED:
|
|
24732
|
-
|
|
24765
|
+
w.doctype += V, V === w.q && (w.state = S.DOCTYPE_DTD, w.q = "");
|
|
24733
24766
|
continue;
|
|
24734
24767
|
case S.COMMENT:
|
|
24735
|
-
V === "-" ?
|
|
24768
|
+
V === "-" ? w.state = S.COMMENT_ENDING : w.comment += V;
|
|
24736
24769
|
continue;
|
|
24737
24770
|
case S.COMMENT_ENDING:
|
|
24738
|
-
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);
|
|
24739
24772
|
continue;
|
|
24740
24773
|
case S.COMMENT_ENDED:
|
|
24741
|
-
V !== ">" ? (j(
|
|
24774
|
+
V !== ">" ? (j(w, "Malformed comment"), w.comment += "--" + V, w.state = S.COMMENT) : w.state = S.TEXT;
|
|
24742
24775
|
continue;
|
|
24743
24776
|
case S.CDATA:
|
|
24744
|
-
V === "]" ?
|
|
24777
|
+
V === "]" ? w.state = S.CDATA_ENDING : w.cdata += V;
|
|
24745
24778
|
continue;
|
|
24746
24779
|
case S.CDATA_ENDING:
|
|
24747
|
-
V === "]" ?
|
|
24780
|
+
V === "]" ? w.state = S.CDATA_ENDING_2 : (w.cdata += "]" + V, w.state = S.CDATA);
|
|
24748
24781
|
continue;
|
|
24749
24782
|
case S.CDATA_ENDING_2:
|
|
24750
|
-
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);
|
|
24751
24784
|
continue;
|
|
24752
24785
|
case S.PROC_INST:
|
|
24753
|
-
V === "?" ?
|
|
24786
|
+
V === "?" ? w.state = S.PROC_INST_ENDING : E(V) ? w.state = S.PROC_INST_BODY : w.procInstName += V;
|
|
24754
24787
|
continue;
|
|
24755
24788
|
case S.PROC_INST_BODY:
|
|
24756
|
-
if (!
|
|
24789
|
+
if (!w.procInstBody && E(V))
|
|
24757
24790
|
continue;
|
|
24758
|
-
V === "?" ?
|
|
24791
|
+
V === "?" ? w.state = S.PROC_INST_ENDING : w.procInstBody += V;
|
|
24759
24792
|
continue;
|
|
24760
24793
|
case S.PROC_INST_ENDING:
|
|
24761
|
-
V === ">" ? (L(
|
|
24762
|
-
name:
|
|
24763
|
-
body:
|
|
24764
|
-
}),
|
|
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);
|
|
24765
24798
|
continue;
|
|
24766
24799
|
case S.OPEN_TAG:
|
|
24767
|
-
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));
|
|
24768
24801
|
continue;
|
|
24769
24802
|
case S.OPEN_TAG_SLASH:
|
|
24770
|
-
V === ">" ? (Q(
|
|
24803
|
+
V === ">" ? (Q(w, !0), J(w)) : (j(w, "Forward-slash in opening tag not followed by >"), w.state = S.ATTRIB);
|
|
24771
24804
|
continue;
|
|
24772
24805
|
case S.ATTRIB:
|
|
24773
24806
|
if (E(V))
|
|
24774
24807
|
continue;
|
|
24775
|
-
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");
|
|
24776
24809
|
continue;
|
|
24777
24810
|
case S.ATTRIB_NAME:
|
|
24778
|
-
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");
|
|
24779
24812
|
continue;
|
|
24780
24813
|
case S.ATTRIB_NAME_SAW_WHITE:
|
|
24781
24814
|
if (V === "=")
|
|
24782
|
-
|
|
24815
|
+
w.state = S.ATTRIB_VALUE;
|
|
24783
24816
|
else {
|
|
24784
24817
|
if (E(V))
|
|
24785
24818
|
continue;
|
|
24786
|
-
j(
|
|
24787
|
-
name:
|
|
24819
|
+
j(w, "Attribute without value"), w.tag.attributes[w.attribName] = "", w.attribValue = "", L(w, "onattribute", {
|
|
24820
|
+
name: w.attribName,
|
|
24788
24821
|
value: ""
|
|
24789
|
-
}),
|
|
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);
|
|
24790
24823
|
}
|
|
24791
24824
|
continue;
|
|
24792
24825
|
case S.ATTRIB_VALUE:
|
|
24793
24826
|
if (E(V))
|
|
24794
24827
|
continue;
|
|
24795
|
-
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);
|
|
24796
24829
|
continue;
|
|
24797
24830
|
case S.ATTRIB_VALUE_QUOTED:
|
|
24798
|
-
if (V !==
|
|
24799
|
-
V === "&" ?
|
|
24831
|
+
if (V !== w.q) {
|
|
24832
|
+
V === "&" ? w.state = S.ATTRIB_VALUE_ENTITY_Q : w.attribValue += V;
|
|
24800
24833
|
continue;
|
|
24801
24834
|
}
|
|
24802
|
-
q(
|
|
24835
|
+
q(w), w.q = "", w.state = S.ATTRIB_VALUE_CLOSED;
|
|
24803
24836
|
continue;
|
|
24804
24837
|
case S.ATTRIB_VALUE_CLOSED:
|
|
24805
|
-
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");
|
|
24806
24839
|
continue;
|
|
24807
24840
|
case S.ATTRIB_VALUE_UNQUOTED:
|
|
24808
24841
|
if (!P(V)) {
|
|
24809
|
-
V === "&" ?
|
|
24842
|
+
V === "&" ? w.state = S.ATTRIB_VALUE_ENTITY_U : w.attribValue += V;
|
|
24810
24843
|
continue;
|
|
24811
24844
|
}
|
|
24812
|
-
q(
|
|
24845
|
+
q(w), V === ">" ? Q(w) : w.state = S.ATTRIB;
|
|
24813
24846
|
continue;
|
|
24814
24847
|
case S.CLOSE_TAG:
|
|
24815
|
-
if (
|
|
24816
|
-
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);
|
|
24817
24850
|
else {
|
|
24818
24851
|
if (E(V))
|
|
24819
24852
|
continue;
|
|
24820
|
-
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;
|
|
24821
24854
|
}
|
|
24822
24855
|
continue;
|
|
24823
24856
|
case S.CLOSE_TAG_SAW_WHITE:
|
|
24824
24857
|
if (E(V))
|
|
24825
24858
|
continue;
|
|
24826
|
-
V === ">" ? J(
|
|
24859
|
+
V === ">" ? J(w) : j(w, "Invalid characters in closing tag");
|
|
24827
24860
|
continue;
|
|
24828
24861
|
case S.TEXT_ENTITY:
|
|
24829
24862
|
case S.ATTRIB_VALUE_ENTITY_Q:
|
|
24830
24863
|
case S.ATTRIB_VALUE_ENTITY_U:
|
|
24831
24864
|
var N, T;
|
|
24832
|
-
switch (
|
|
24865
|
+
switch (w.state) {
|
|
24833
24866
|
case S.TEXT_ENTITY:
|
|
24834
24867
|
N = S.TEXT, T = "textNode";
|
|
24835
24868
|
break;
|
|
@@ -24841,22 +24874,22 @@ Actual: ` + b.attribValue
|
|
|
24841
24874
|
break;
|
|
24842
24875
|
}
|
|
24843
24876
|
if (V === ";")
|
|
24844
|
-
if (
|
|
24845
|
-
var I = se(
|
|
24846
|
-
|
|
24877
|
+
if (w.opt.unparsedEntities) {
|
|
24878
|
+
var I = se(w);
|
|
24879
|
+
w.entity = "", w.state = N, w.write(I);
|
|
24847
24880
|
} else
|
|
24848
|
-
|
|
24881
|
+
w[T] += se(w), w.entity = "", w.state = N;
|
|
24849
24882
|
else
|
|
24850
|
-
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);
|
|
24851
24884
|
continue;
|
|
24852
24885
|
default:
|
|
24853
|
-
throw new Error(
|
|
24886
|
+
throw new Error(w, "Unknown state: " + w.state);
|
|
24854
24887
|
}
|
|
24855
|
-
return
|
|
24888
|
+
return w.position >= w.bufferCheckPosition && n(w), w;
|
|
24856
24889
|
}
|
|
24857
24890
|
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
|
|
24858
24891
|
String.fromCodePoint || function() {
|
|
24859
|
-
var b = String.fromCharCode,
|
|
24892
|
+
var b = String.fromCharCode, w = Math.floor, $ = function() {
|
|
24860
24893
|
var V = 16384, R = [], U, N, T = -1, I = arguments.length;
|
|
24861
24894
|
if (!I)
|
|
24862
24895
|
return "";
|
|
@@ -24865,7 +24898,7 @@ Actual: ` + b.attribValue
|
|
|
24865
24898
|
if (!isFinite(M) || // `NaN`, `+Infinity`, or `-Infinity`
|
|
24866
24899
|
M < 0 || // not a valid Unicode code point
|
|
24867
24900
|
M > 1114111 || // not a valid Unicode code point
|
|
24868
|
-
|
|
24901
|
+
w(M) !== M)
|
|
24869
24902
|
throw RangeError("Invalid code point: " + M);
|
|
24870
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);
|
|
24871
24904
|
}
|
|
@@ -25421,7 +25454,7 @@ const processService = {
|
|
|
25421
25454
|
}
|
|
25422
25455
|
};
|
|
25423
25456
|
function _sfc_render$v(e, t, o, r, n, i) {
|
|
25424
|
-
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");
|
|
25425
25458
|
return openBlock(), createBlock(y, {
|
|
25426
25459
|
model: n.formModel,
|
|
25427
25460
|
"label-width": "100px"
|
|
@@ -25585,7 +25618,7 @@ function _sfc_render$v(e, t, o, r, n, i) {
|
|
|
25585
25618
|
rules: [n.requiredRule]
|
|
25586
25619
|
}, {
|
|
25587
25620
|
default: withCtx(() => [
|
|
25588
|
-
createVNode(
|
|
25621
|
+
createVNode(_, {
|
|
25589
25622
|
modelValue: n.selectedForm,
|
|
25590
25623
|
"onUpdate:modelValue": t[7] || (t[7] = (v) => n.selectedForm = v),
|
|
25591
25624
|
"show-all-levels": !1,
|
|
@@ -26170,7 +26203,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26170
26203
|
default: withCtx(() => [
|
|
26171
26204
|
createVNode(s, {
|
|
26172
26205
|
modelValue: n.showNotice,
|
|
26173
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
26206
|
+
"onUpdate:modelValue": t[0] || (t[0] = (_) => n.showNotice = _)
|
|
26174
26207
|
}, null, 8, ["modelValue"])
|
|
26175
26208
|
]),
|
|
26176
26209
|
_: 1
|
|
@@ -26178,7 +26211,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26178
26211
|
n.showNotice ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
26179
26212
|
createVNode(a, {
|
|
26180
26213
|
modelValue: n.model.informType,
|
|
26181
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
26214
|
+
"onUpdate:modelValue": t[1] || (t[1] = (_) => n.model.informType = _),
|
|
26182
26215
|
label: e.$t("workflowEditor.common.notificationMethod"),
|
|
26183
26216
|
"custom-msg": n.model.customMsg,
|
|
26184
26217
|
onInputMsg: i.setCustomMsg
|
|
@@ -26191,7 +26224,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26191
26224
|
default: withCtx(() => [
|
|
26192
26225
|
createVNode(u, {
|
|
26193
26226
|
modelValue: n.model.mailTemplateCode,
|
|
26194
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
26227
|
+
"onUpdate:modelValue": t[2] || (t[2] = (_) => n.model.mailTemplateCode = _),
|
|
26195
26228
|
onSetValue: i.setMailTemplateCode
|
|
26196
26229
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
26197
26230
|
]),
|
|
@@ -26205,7 +26238,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26205
26238
|
default: withCtx(() => [
|
|
26206
26239
|
createVNode(u, {
|
|
26207
26240
|
modelValue: n.model.mailPointTemplateCode,
|
|
26208
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
26241
|
+
"onUpdate:modelValue": t[3] || (t[3] = (_) => n.model.mailPointTemplateCode = _),
|
|
26209
26242
|
onSetValue: i.setMailPointTemplateCode
|
|
26210
26243
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
26211
26244
|
]),
|
|
@@ -26213,7 +26246,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26213
26246
|
}, 8, ["label"])) : createCommentVNode("", !0),
|
|
26214
26247
|
createVNode(c, {
|
|
26215
26248
|
modelValue: n.model.userCondition,
|
|
26216
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
26249
|
+
"onUpdate:modelValue": t[4] || (t[4] = (_) => n.model.userCondition = _),
|
|
26217
26250
|
label: e.$t("workflowEditor.common.addressee")
|
|
26218
26251
|
}, null, 8, ["modelValue", "label"]),
|
|
26219
26252
|
createVNode(l, {
|
|
@@ -26222,7 +26255,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26222
26255
|
default: withCtx(() => [
|
|
26223
26256
|
createVNode(d, {
|
|
26224
26257
|
modelValue: n.model.subject,
|
|
26225
|
-
"onUpdate:modelValue": t[5] || (t[5] = (
|
|
26258
|
+
"onUpdate:modelValue": t[5] || (t[5] = (_) => n.model.subject = _),
|
|
26226
26259
|
placeholder: e.$t("workflowEditorMessage.pleaseEnterASubject")
|
|
26227
26260
|
}, null, 8, ["modelValue", "placeholder"])
|
|
26228
26261
|
]),
|
|
@@ -26234,7 +26267,7 @@ function _sfc_render$q(e, t, o, r, n, i) {
|
|
|
26234
26267
|
default: withCtx(() => [
|
|
26235
26268
|
createVNode(d, {
|
|
26236
26269
|
modelValue: n.model.content,
|
|
26237
|
-
"onUpdate:modelValue": t[6] || (t[6] = (
|
|
26270
|
+
"onUpdate:modelValue": t[6] || (t[6] = (_) => n.model.content = _),
|
|
26238
26271
|
type: "textarea",
|
|
26239
26272
|
autosize: { minRows: 4, maxRows: 10 },
|
|
26240
26273
|
placeholder: e.$t("workflowEditorMessage.pleaseEnterContent")
|
|
@@ -26390,7 +26423,7 @@ const NoticeSettings = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc
|
|
|
26390
26423
|
}
|
|
26391
26424
|
};
|
|
26392
26425
|
function _sfc_render$o(e, t, o, r, n, i) {
|
|
26393
|
-
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");
|
|
26394
26427
|
return openBlock(), createBlock(y, {
|
|
26395
26428
|
"model-value": "",
|
|
26396
26429
|
title: e.$t("workflowEditor.process.processProperties"),
|
|
@@ -26492,7 +26525,7 @@ function _sfc_render$o(e, t, o, r, n, i) {
|
|
|
26492
26525
|
name: "variables"
|
|
26493
26526
|
}, {
|
|
26494
26527
|
default: withCtx(() => [
|
|
26495
|
-
createVNode(
|
|
26528
|
+
createVNode(_, {
|
|
26496
26529
|
model: o.model.properties.variables
|
|
26497
26530
|
}, null, 8, ["model"])
|
|
26498
26531
|
]),
|
|
@@ -26710,7 +26743,7 @@ const BasicProperties$3 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _
|
|
|
26710
26743
|
}
|
|
26711
26744
|
};
|
|
26712
26745
|
function _sfc_render$l(e, t, o, r, n, i) {
|
|
26713
|
-
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");
|
|
26714
26747
|
return openBlock(), createBlock(y, {
|
|
26715
26748
|
"model-value": "",
|
|
26716
26749
|
title: e.$t("workflowEditor.transition.flowProperties"),
|
|
@@ -26773,7 +26806,7 @@ function _sfc_render$l(e, t, o, r, n, i) {
|
|
|
26773
26806
|
name: "events"
|
|
26774
26807
|
}, {
|
|
26775
26808
|
default: withCtx(() => [
|
|
26776
|
-
createVNode(
|
|
26809
|
+
createVNode(_, null, {
|
|
26777
26810
|
default: withCtx(() => [
|
|
26778
26811
|
createVNode(d, {
|
|
26779
26812
|
label: e.$t("workflowEditor.transition.triggerFlowThroughEvent")
|
|
@@ -27064,8 +27097,8 @@ const HumanDecisionPropertiesEditor = /* @__PURE__ */ _export_sfc(_sfc_main$i, [
|
|
|
27064
27097
|
}
|
|
27065
27098
|
};
|
|
27066
27099
|
function _sfc_render$h(e, t, o, r, n, i) {
|
|
27067
|
-
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"),
|
|
27068
|
-
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(_, {
|
|
27069
27102
|
model: n.formModel,
|
|
27070
27103
|
"label-width": "110px"
|
|
27071
27104
|
}, {
|
|
@@ -27451,8 +27484,8 @@ const PermissionSettings = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render",
|
|
|
27451
27484
|
}
|
|
27452
27485
|
};
|
|
27453
27486
|
function _sfc_render$f(e, t, o, r, n, i) {
|
|
27454
|
-
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"),
|
|
27455
|
-
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(_, {
|
|
27456
27489
|
"model-value": "",
|
|
27457
27490
|
title: e.$t("workflowEditor.task.propertiesOfCCTask"),
|
|
27458
27491
|
center: !0,
|
|
@@ -27897,7 +27930,7 @@ function _sfc_render$c(e, t, o, r, n, i) {
|
|
|
27897
27930
|
createVNode(u, {
|
|
27898
27931
|
value: i.showSourceFieldLabel(m.row.source),
|
|
27899
27932
|
placeholder: e.$t("workflowEditorMessage.pleaseSelect"),
|
|
27900
|
-
onClick: t[0] || (t[0] = (
|
|
27933
|
+
onClick: t[0] || (t[0] = (_) => n.showSourceFields = !0)
|
|
27901
27934
|
}, null, 8, ["value", "placeholder"])
|
|
27902
27935
|
]),
|
|
27903
27936
|
_: 1
|
|
@@ -27910,7 +27943,7 @@ function _sfc_render$c(e, t, o, r, n, i) {
|
|
|
27910
27943
|
createVNode(u, {
|
|
27911
27944
|
value: i.showTargetFieldLabel(m.row.target),
|
|
27912
27945
|
placeholder: e.$t("workflowEditorMessage.pleaseSelect"),
|
|
27913
|
-
onClick: t[1] || (t[1] = (
|
|
27946
|
+
onClick: t[1] || (t[1] = (_) => n.showTargetFields = !0)
|
|
27914
27947
|
}, null, 8, ["value", "placeholder"])
|
|
27915
27948
|
]),
|
|
27916
27949
|
_: 1
|
|
@@ -28028,7 +28061,7 @@ const FieldMappings = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_
|
|
|
28028
28061
|
}
|
|
28029
28062
|
};
|
|
28030
28063
|
function _sfc_render$b(e, t, o, r, n, i) {
|
|
28031
|
-
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");
|
|
28032
28065
|
return openBlock(), createBlock(p, { model: n.formModel }, {
|
|
28033
28066
|
default: withCtx(() => [
|
|
28034
28067
|
createVNode(c, null, {
|
|
@@ -28104,7 +28137,7 @@ function _sfc_render$b(e, t, o, r, n, i) {
|
|
|
28104
28137
|
"label-width": "140px"
|
|
28105
28138
|
}, {
|
|
28106
28139
|
default: withCtx(() => [
|
|
28107
|
-
createVNode(
|
|
28140
|
+
createVNode(_, {
|
|
28108
28141
|
modelValue: n.formModel.tache.isSharedForm,
|
|
28109
28142
|
"onUpdate:modelValue": t[4] || (t[4] = (f) => n.formModel.tache.isSharedForm = f)
|
|
28110
28143
|
}, null, 8, ["modelValue"])
|
|
@@ -28790,8 +28823,8 @@ var FileSaver_min = { exports: {} };
|
|
|
28790
28823
|
} : function(a, u, c, d) {
|
|
28791
28824
|
if (d = d || open("", "_blank"), d && (d.document.title = d.document.body.innerText = "downloading..."), typeof a == "string")
|
|
28792
28825
|
return r(a, u, c);
|
|
28793
|
-
var m = a.type === "application/octet-stream",
|
|
28794
|
-
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") {
|
|
28795
28828
|
var y = new FileReader();
|
|
28796
28829
|
y.onloadend = function() {
|
|
28797
28830
|
var f = y.result;
|
|
@@ -28876,8 +28909,8 @@ var prism = { exports: {} };
|
|
|
28876
28909
|
* @memberof Prism
|
|
28877
28910
|
*/
|
|
28878
28911
|
util: {
|
|
28879
|
-
encode: function f(
|
|
28880
|
-
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, " ");
|
|
28881
28914
|
},
|
|
28882
28915
|
/**
|
|
28883
28916
|
* Returns the name of the type of the given value.
|
|
@@ -28917,30 +28950,30 @@ var prism = { exports: {} };
|
|
|
28917
28950
|
* @returns {T}
|
|
28918
28951
|
* @template T
|
|
28919
28952
|
*/
|
|
28920
|
-
clone: function f(
|
|
28953
|
+
clone: function f(g, E) {
|
|
28921
28954
|
E = E || {};
|
|
28922
28955
|
var k, P;
|
|
28923
|
-
switch (l.util.type(
|
|
28956
|
+
switch (l.util.type(g)) {
|
|
28924
28957
|
case "Object":
|
|
28925
|
-
if (P = l.util.objId(
|
|
28958
|
+
if (P = l.util.objId(g), E[P])
|
|
28926
28959
|
return E[P];
|
|
28927
28960
|
k = /** @type {Record<string, any>} */
|
|
28928
28961
|
{}, E[P] = k;
|
|
28929
|
-
for (var O in
|
|
28930
|
-
|
|
28962
|
+
for (var O in g)
|
|
28963
|
+
g.hasOwnProperty(O) && (k[O] = f(g[O], E));
|
|
28931
28964
|
return (
|
|
28932
28965
|
/** @type {any} */
|
|
28933
28966
|
k
|
|
28934
28967
|
);
|
|
28935
28968
|
case "Array":
|
|
28936
|
-
return P = l.util.objId(
|
|
28969
|
+
return P = l.util.objId(g), E[P] ? E[P] : (k = [], E[P] = k, /** @type {Array} */
|
|
28937
28970
|
/** @type {any} */
|
|
28938
|
-
|
|
28971
|
+
g.forEach(function(D, S) {
|
|
28939
28972
|
k[S] = f(D, E);
|
|
28940
28973
|
}), /** @type {any} */
|
|
28941
28974
|
k);
|
|
28942
28975
|
default:
|
|
28943
|
-
return
|
|
28976
|
+
return g;
|
|
28944
28977
|
}
|
|
28945
28978
|
},
|
|
28946
28979
|
/**
|
|
@@ -28953,9 +28986,9 @@ var prism = { exports: {} };
|
|
|
28953
28986
|
*/
|
|
28954
28987
|
getLanguage: function(f) {
|
|
28955
28988
|
for (; f; ) {
|
|
28956
|
-
var
|
|
28957
|
-
if (
|
|
28958
|
-
return
|
|
28989
|
+
var g = n.exec(f.className);
|
|
28990
|
+
if (g)
|
|
28991
|
+
return g[1].toLowerCase();
|
|
28959
28992
|
f = f.parentElement;
|
|
28960
28993
|
}
|
|
28961
28994
|
return "none";
|
|
@@ -28967,8 +29000,8 @@ var prism = { exports: {} };
|
|
|
28967
29000
|
* @param {string} language
|
|
28968
29001
|
* @returns {void}
|
|
28969
29002
|
*/
|
|
28970
|
-
setLanguage: function(f,
|
|
28971
|
-
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);
|
|
28972
29005
|
},
|
|
28973
29006
|
/**
|
|
28974
29007
|
* Returns the script element that is currently executing.
|
|
@@ -28990,10 +29023,10 @@ var prism = { exports: {} };
|
|
|
28990
29023
|
} catch (k) {
|
|
28991
29024
|
var f = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(k.stack) || [])[1];
|
|
28992
29025
|
if (f) {
|
|
28993
|
-
var
|
|
28994
|
-
for (var E in
|
|
28995
|
-
if (
|
|
28996
|
-
return
|
|
29026
|
+
var g = document.getElementsByTagName("script");
|
|
29027
|
+
for (var E in g)
|
|
29028
|
+
if (g[E].src == f)
|
|
29029
|
+
return g[E];
|
|
28997
29030
|
}
|
|
28998
29031
|
return null;
|
|
28999
29032
|
}
|
|
@@ -29017,10 +29050,10 @@ var prism = { exports: {} };
|
|
|
29017
29050
|
* @param {boolean} [defaultActivation=false]
|
|
29018
29051
|
* @returns {boolean}
|
|
29019
29052
|
*/
|
|
29020
|
-
isActive: function(f,
|
|
29021
|
-
for (var k = "no-" +
|
|
29053
|
+
isActive: function(f, g, E) {
|
|
29054
|
+
for (var k = "no-" + g; f; ) {
|
|
29022
29055
|
var P = f.classList;
|
|
29023
|
-
if (P.contains(
|
|
29056
|
+
if (P.contains(g))
|
|
29024
29057
|
return !0;
|
|
29025
29058
|
if (P.contains(k))
|
|
29026
29059
|
return !1;
|
|
@@ -29072,10 +29105,10 @@ var prism = { exports: {} };
|
|
|
29072
29105
|
* 'color': /\b(?:red|green|blue)\b/
|
|
29073
29106
|
* });
|
|
29074
29107
|
*/
|
|
29075
|
-
extend: function(f,
|
|
29108
|
+
extend: function(f, g) {
|
|
29076
29109
|
var E = l.util.clone(l.languages[f]);
|
|
29077
|
-
for (var k in
|
|
29078
|
-
E[k] =
|
|
29110
|
+
for (var k in g)
|
|
29111
|
+
E[k] = g[k];
|
|
29079
29112
|
return E;
|
|
29080
29113
|
},
|
|
29081
29114
|
/**
|
|
@@ -29153,13 +29186,13 @@ var prism = { exports: {} };
|
|
|
29153
29186
|
* @returns {Grammar} The new grammar object.
|
|
29154
29187
|
* @public
|
|
29155
29188
|
*/
|
|
29156
|
-
insertBefore: function(f,
|
|
29189
|
+
insertBefore: function(f, g, E, k) {
|
|
29157
29190
|
k = k || /** @type {any} */
|
|
29158
29191
|
l.languages;
|
|
29159
29192
|
var P = k[f], O = {};
|
|
29160
29193
|
for (var D in P)
|
|
29161
29194
|
if (P.hasOwnProperty(D)) {
|
|
29162
|
-
if (D ==
|
|
29195
|
+
if (D == g)
|
|
29163
29196
|
for (var S in E)
|
|
29164
29197
|
E.hasOwnProperty(S) && (O[S] = E[S]);
|
|
29165
29198
|
E.hasOwnProperty(D) || (O[D] = P[D]);
|
|
@@ -29170,13 +29203,13 @@ var prism = { exports: {} };
|
|
|
29170
29203
|
}), O;
|
|
29171
29204
|
},
|
|
29172
29205
|
// Traverse a language definition with Depth First Search
|
|
29173
|
-
DFS: function f(
|
|
29206
|
+
DFS: function f(g, E, k, P) {
|
|
29174
29207
|
P = P || {};
|
|
29175
29208
|
var O = l.util.objId;
|
|
29176
|
-
for (var D in
|
|
29177
|
-
if (
|
|
29178
|
-
E.call(
|
|
29179
|
-
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);
|
|
29180
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));
|
|
29181
29214
|
}
|
|
29182
29215
|
}
|
|
@@ -29194,8 +29227,8 @@ var prism = { exports: {} };
|
|
|
29194
29227
|
* @memberof Prism
|
|
29195
29228
|
* @public
|
|
29196
29229
|
*/
|
|
29197
|
-
highlightAll: function(f,
|
|
29198
|
-
l.highlightAllUnder(document, f,
|
|
29230
|
+
highlightAll: function(f, g) {
|
|
29231
|
+
l.highlightAllUnder(document, f, g);
|
|
29199
29232
|
},
|
|
29200
29233
|
/**
|
|
29201
29234
|
* Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
|
|
@@ -29212,7 +29245,7 @@ var prism = { exports: {} };
|
|
|
29212
29245
|
* @memberof Prism
|
|
29213
29246
|
* @public
|
|
29214
29247
|
*/
|
|
29215
|
-
highlightAllUnder: function(f,
|
|
29248
|
+
highlightAllUnder: function(f, g, E) {
|
|
29216
29249
|
var k = {
|
|
29217
29250
|
callback: E,
|
|
29218
29251
|
container: f,
|
|
@@ -29220,7 +29253,7 @@ var prism = { exports: {} };
|
|
|
29220
29253
|
};
|
|
29221
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);
|
|
29222
29255
|
for (var P = 0, O; O = k.elements[P++]; )
|
|
29223
|
-
l.highlightElement(O,
|
|
29256
|
+
l.highlightElement(O, g === !0, k.callback);
|
|
29224
29257
|
},
|
|
29225
29258
|
/**
|
|
29226
29259
|
* Highlights the code inside a single element.
|
|
@@ -29250,7 +29283,7 @@ var prism = { exports: {} };
|
|
|
29250
29283
|
* @memberof Prism
|
|
29251
29284
|
* @public
|
|
29252
29285
|
*/
|
|
29253
|
-
highlightElement: function(f,
|
|
29286
|
+
highlightElement: function(f, g, E) {
|
|
29254
29287
|
var k = l.util.getLanguage(f), P = l.languages[k];
|
|
29255
29288
|
l.util.setLanguage(f, k);
|
|
29256
29289
|
var O = f.parentElement;
|
|
@@ -29272,7 +29305,7 @@ var prism = { exports: {} };
|
|
|
29272
29305
|
B(l.util.encode(S.code));
|
|
29273
29306
|
return;
|
|
29274
29307
|
}
|
|
29275
|
-
if (
|
|
29308
|
+
if (g && r.Worker) {
|
|
29276
29309
|
var H = new Worker(l.filename);
|
|
29277
29310
|
H.onmessage = function(L) {
|
|
29278
29311
|
B(L.data);
|
|
@@ -29304,10 +29337,10 @@ var prism = { exports: {} };
|
|
|
29304
29337
|
* @example
|
|
29305
29338
|
* Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
|
|
29306
29339
|
*/
|
|
29307
|
-
highlight: function(f,
|
|
29340
|
+
highlight: function(f, g, E) {
|
|
29308
29341
|
var k = {
|
|
29309
29342
|
code: f,
|
|
29310
|
-
grammar:
|
|
29343
|
+
grammar: g,
|
|
29311
29344
|
language: E
|
|
29312
29345
|
};
|
|
29313
29346
|
if (l.hooks.run("before-tokenize", k), !k.grammar)
|
|
@@ -29338,15 +29371,15 @@ var prism = { exports: {} };
|
|
|
29338
29371
|
* }
|
|
29339
29372
|
* });
|
|
29340
29373
|
*/
|
|
29341
|
-
tokenize: function(f,
|
|
29342
|
-
var E =
|
|
29374
|
+
tokenize: function(f, g) {
|
|
29375
|
+
var E = g.rest;
|
|
29343
29376
|
if (E) {
|
|
29344
29377
|
for (var k in E)
|
|
29345
|
-
|
|
29346
|
-
delete
|
|
29378
|
+
g[k] = E[k];
|
|
29379
|
+
delete g.rest;
|
|
29347
29380
|
}
|
|
29348
29381
|
var P = new d();
|
|
29349
|
-
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);
|
|
29350
29383
|
},
|
|
29351
29384
|
/**
|
|
29352
29385
|
* @namespace
|
|
@@ -29367,9 +29400,9 @@ var prism = { exports: {} };
|
|
|
29367
29400
|
* @param {HookCallback} callback The callback function which is given environment variables.
|
|
29368
29401
|
* @public
|
|
29369
29402
|
*/
|
|
29370
|
-
add: function(f,
|
|
29403
|
+
add: function(f, g) {
|
|
29371
29404
|
var E = l.hooks.all;
|
|
29372
|
-
E[f] = E[f] || [], E[f].push(
|
|
29405
|
+
E[f] = E[f] || [], E[f].push(g);
|
|
29373
29406
|
},
|
|
29374
29407
|
/**
|
|
29375
29408
|
* Runs a hook invoking all registered callbacks with the given environment variables.
|
|
@@ -29380,44 +29413,44 @@ var prism = { exports: {} };
|
|
|
29380
29413
|
* @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
|
|
29381
29414
|
* @public
|
|
29382
29415
|
*/
|
|
29383
|
-
run: function(f,
|
|
29416
|
+
run: function(f, g) {
|
|
29384
29417
|
var E = l.hooks.all[f];
|
|
29385
29418
|
if (!(!E || !E.length))
|
|
29386
29419
|
for (var k = 0, P; P = E[k++]; )
|
|
29387
|
-
P(
|
|
29420
|
+
P(g);
|
|
29388
29421
|
}
|
|
29389
29422
|
},
|
|
29390
29423
|
Token: a
|
|
29391
29424
|
};
|
|
29392
29425
|
r.Prism = l;
|
|
29393
|
-
function a(f,
|
|
29394
|
-
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;
|
|
29395
29428
|
}
|
|
29396
|
-
a.stringify = function f(
|
|
29397
|
-
if (typeof
|
|
29398
|
-
return
|
|
29399
|
-
if (Array.isArray(
|
|
29429
|
+
a.stringify = function f(g, E) {
|
|
29430
|
+
if (typeof g == "string")
|
|
29431
|
+
return g;
|
|
29432
|
+
if (Array.isArray(g)) {
|
|
29400
29433
|
var k = "";
|
|
29401
|
-
return
|
|
29434
|
+
return g.forEach(function(B) {
|
|
29402
29435
|
k += f(B, E);
|
|
29403
29436
|
}), k;
|
|
29404
29437
|
}
|
|
29405
29438
|
var P = {
|
|
29406
|
-
type:
|
|
29407
|
-
content: f(
|
|
29439
|
+
type: g.type,
|
|
29440
|
+
content: f(g.content, E),
|
|
29408
29441
|
tag: "span",
|
|
29409
|
-
classes: ["token",
|
|
29442
|
+
classes: ["token", g.type],
|
|
29410
29443
|
attributes: {},
|
|
29411
29444
|
language: E
|
|
29412
|
-
}, O =
|
|
29445
|
+
}, O = g.alias;
|
|
29413
29446
|
O && (Array.isArray(O) ? Array.prototype.push.apply(P.classes, O) : P.classes.push(O)), l.hooks.run("wrap", P);
|
|
29414
29447
|
var D = "";
|
|
29415
29448
|
for (var S in P.attributes)
|
|
29416
29449
|
D += " " + S + '="' + (P.attributes[S] || "").replace(/"/g, """) + '"';
|
|
29417
29450
|
return "<" + P.tag + ' class="' + P.classes.join(" ") + '"' + D + ">" + P.content + "</" + P.tag + ">";
|
|
29418
29451
|
};
|
|
29419
|
-
function u(f,
|
|
29420
|
-
f.lastIndex =
|
|
29452
|
+
function u(f, g, E, k) {
|
|
29453
|
+
f.lastIndex = g;
|
|
29421
29454
|
var P = f.exec(E);
|
|
29422
29455
|
if (P && k && P[1]) {
|
|
29423
29456
|
var O = P[1].length;
|
|
@@ -29425,7 +29458,7 @@ var prism = { exports: {} };
|
|
|
29425
29458
|
}
|
|
29426
29459
|
return P;
|
|
29427
29460
|
}
|
|
29428
|
-
function c(f,
|
|
29461
|
+
function c(f, g, E, k, P, O) {
|
|
29429
29462
|
for (var D in E)
|
|
29430
29463
|
if (!(!E.hasOwnProperty(D) || !E[D])) {
|
|
29431
29464
|
var S = E[D];
|
|
@@ -29438,9 +29471,9 @@ var prism = { exports: {} };
|
|
|
29438
29471
|
var te = H.pattern.toString().match(/[imsuy]*$/)[0];
|
|
29439
29472
|
H.pattern = RegExp(H.pattern.source, te + "g");
|
|
29440
29473
|
}
|
|
29441
|
-
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) {
|
|
29442
29475
|
var q = z.value;
|
|
29443
|
-
if (
|
|
29476
|
+
if (g.length > f.length)
|
|
29444
29477
|
return;
|
|
29445
29478
|
if (!(q instanceof a)) {
|
|
29446
29479
|
var Q = 1, J;
|
|
@@ -29452,22 +29485,22 @@ var prism = { exports: {} };
|
|
|
29452
29485
|
z = z.next, X += z.value.length;
|
|
29453
29486
|
if (X -= z.value.length, Y = X, z.value instanceof a)
|
|
29454
29487
|
continue;
|
|
29455
|
-
for (var ie = z; ie !==
|
|
29488
|
+
for (var ie = z; ie !== g.tail && (X < se || typeof ie.value == "string"); ie = ie.next)
|
|
29456
29489
|
Q++, X += ie.value.length;
|
|
29457
29490
|
Q--, q = f.slice(Y, X), J.index -= Y;
|
|
29458
29491
|
} else if (J = u(j, 0, q, G), !J)
|
|
29459
29492
|
continue;
|
|
29460
|
-
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;
|
|
29461
29494
|
O && V > O.reach && (O.reach = V);
|
|
29462
29495
|
var R = z.prev;
|
|
29463
|
-
|
|
29496
|
+
w && (R = m(g, R, w), Y += w.length), _(g, R, Q);
|
|
29464
29497
|
var U = new a(D, L ? l.tokenize(b, L) : b, re, b);
|
|
29465
|
-
if (z = m(
|
|
29498
|
+
if (z = m(g, R, U), $ && m(g, z, $), Q > 1) {
|
|
29466
29499
|
var N = {
|
|
29467
29500
|
cause: D + "," + B,
|
|
29468
29501
|
reach: V
|
|
29469
29502
|
};
|
|
29470
|
-
c(f,
|
|
29503
|
+
c(f, g, E, z.prev, Y, N), O && N.reach > O.reach && (O.reach = N.reach);
|
|
29471
29504
|
}
|
|
29472
29505
|
}
|
|
29473
29506
|
}
|
|
@@ -29475,26 +29508,26 @@ var prism = { exports: {} };
|
|
|
29475
29508
|
}
|
|
29476
29509
|
}
|
|
29477
29510
|
function d() {
|
|
29478
|
-
var f = { value: null, prev: null, next: null },
|
|
29479
|
-
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;
|
|
29480
29513
|
}
|
|
29481
|
-
function m(f,
|
|
29482
|
-
var k =
|
|
29483
|
-
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;
|
|
29484
29517
|
}
|
|
29485
|
-
function
|
|
29486
|
-
for (var k =
|
|
29518
|
+
function _(f, g, E) {
|
|
29519
|
+
for (var k = g.next, P = 0; P < E && k !== f.tail; P++)
|
|
29487
29520
|
k = k.next;
|
|
29488
|
-
|
|
29521
|
+
g.next = k, k.prev = g, f.length -= P;
|
|
29489
29522
|
}
|
|
29490
29523
|
function C(f) {
|
|
29491
|
-
for (var
|
|
29492
|
-
|
|
29493
|
-
return
|
|
29524
|
+
for (var g = [], E = f.head.next; E !== f.tail; )
|
|
29525
|
+
g.push(E.value), E = E.next;
|
|
29526
|
+
return g;
|
|
29494
29527
|
}
|
|
29495
29528
|
if (!r.document)
|
|
29496
29529
|
return r.addEventListener && (l.disableWorkerMessageHandler || r.addEventListener("message", function(f) {
|
|
29497
|
-
var
|
|
29530
|
+
var g = JSON.parse(f.data), E = g.language, k = g.code, P = g.immediateClose;
|
|
29498
29531
|
r.postMessage(l.highlight(k, l.languages[E], E)), P && r.close();
|
|
29499
29532
|
}, !1)), l;
|
|
29500
29533
|
var y = l.util.currentScript();
|
|
@@ -29905,11 +29938,11 @@ var prism = { exports: {} };
|
|
|
29905
29938
|
f.readyState == 4 && (f.status < 400 && f.responseText ? v(f.responseText) : f.status >= 400 ? p(n(f.status, f.statusText)) : p(i));
|
|
29906
29939
|
}, f.send(null);
|
|
29907
29940
|
}
|
|
29908
|
-
function
|
|
29941
|
+
function _(y) {
|
|
29909
29942
|
var v = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y || "");
|
|
29910
29943
|
if (v) {
|
|
29911
|
-
var p = Number(v[1]), f = v[2],
|
|
29912
|
-
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];
|
|
29913
29946
|
}
|
|
29914
29947
|
}
|
|
29915
29948
|
o.hooks.add("before-highlightall", function(y) {
|
|
@@ -29923,18 +29956,18 @@ var prism = { exports: {} };
|
|
|
29923
29956
|
y.code = "", v.setAttribute(l, a);
|
|
29924
29957
|
var p = v.appendChild(document.createElement("CODE"));
|
|
29925
29958
|
p.textContent = r;
|
|
29926
|
-
var f = v.getAttribute("data-src"),
|
|
29927
|
-
if (
|
|
29959
|
+
var f = v.getAttribute("data-src"), g = y.language;
|
|
29960
|
+
if (g === "none") {
|
|
29928
29961
|
var E = (/\.(\w+)$/.exec(f) || [, "none"])[1];
|
|
29929
|
-
|
|
29962
|
+
g = s[E] || E;
|
|
29930
29963
|
}
|
|
29931
|
-
o.util.setLanguage(p,
|
|
29964
|
+
o.util.setLanguage(p, g), o.util.setLanguage(v, g);
|
|
29932
29965
|
var k = o.plugins.autoloader;
|
|
29933
|
-
k && k.loadLanguages(
|
|
29966
|
+
k && k.loadLanguages(g), m(
|
|
29934
29967
|
f,
|
|
29935
29968
|
function(P) {
|
|
29936
29969
|
v.setAttribute(l, u);
|
|
29937
|
-
var O =
|
|
29970
|
+
var O = _(v.getAttribute("data-range"));
|
|
29938
29971
|
if (O) {
|
|
29939
29972
|
var D = P.split(/\r\n?|\n/g), S = O[0], B = O[1] == null ? D.length : O[1];
|
|
29940
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(`
|
|
@@ -29956,8 +29989,8 @@ var prism = { exports: {} };
|
|
|
29956
29989
|
* @param {ParentNode} [container=document]
|
|
29957
29990
|
*/
|
|
29958
29991
|
highlight: function(v) {
|
|
29959
|
-
for (var p = (v || document).querySelectorAll(d), f = 0,
|
|
29960
|
-
o.highlightElement(
|
|
29992
|
+
for (var p = (v || document).querySelectorAll(d), f = 0, g; g = p[f++]; )
|
|
29993
|
+
o.highlightElement(g);
|
|
29961
29994
|
}
|
|
29962
29995
|
};
|
|
29963
29996
|
var C = !1;
|
|
@@ -30034,7 +30067,7 @@ function _sfc_render$4(e, t, o, r, n, i) {
|
|
|
30034
30067
|
_: 1
|
|
30035
30068
|
}, 8, ["title"]);
|
|
30036
30069
|
}
|
|
30037
|
-
const AdminSaveDialog = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]),
|
|
30070
|
+
const AdminSaveDialog = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]), workflowEditor_vue_vue_type_style_index_0_scoped_021af657_lang = "", _sfc_main$3 = {
|
|
30038
30071
|
name: "WorkflowEditor",
|
|
30039
30072
|
components: {
|
|
30040
30073
|
WorkflowCanvas,
|
|
@@ -30199,7 +30232,7 @@ const AdminSaveDialog = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sf
|
|
|
30199
30232
|
}, r = convert.xml2js(e, o);
|
|
30200
30233
|
removeTextProperty(r.process), this.process = r.process;
|
|
30201
30234
|
}
|
|
30202
|
-
this.process && this.process.properties && this.process.properties.basicProperties ? this.setSystemCode(this.process.properties.basicProperties.systemCode) : this.setSystemCode(this.systemCode), this.process && this.process.attr && this.setProcessCode(this.process.attr.code), this.fetchFormFields(), this.clearCanvas(), initializeProcessData(this.process), this.count = this.getMaxCount() + 1;
|
|
30235
|
+
this.process && this.process.properties && this.process.properties.basicProperties ? this.setSystemCode(this.process.properties.basicProperties.systemCode) : this.setSystemCode(this.systemCode), this.process && this.process.attr && this.setProcessCode(this.process.attr.code), this.checkPageCode(), this.fetchFormFields(), this.clearCanvas(), initializeProcessData(this.process), this.count = this.getMaxCount() + 1;
|
|
30203
30236
|
},
|
|
30204
30237
|
initProcessBaseInfo(e) {
|
|
30205
30238
|
this.process.attr.name = e.name, this.process.attr.code = e.code, this.process.properties.basicProperties.systemCode = e.systemCode, this.pageCode && (this.process.properties.parameterSettings || (this.process.properties.parameterSettings = {}), this.process.properties.parameterSettings.doTask || (this.process.properties.parameterSettings.doTask = {}), this.process.properties.parameterSettings.doTask.url = "page:" + this.pageCode);
|
|
@@ -30422,6 +30455,13 @@ const AdminSaveDialog = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sf
|
|
|
30422
30455
|
this.definitionId && this.$http.put(this.baseAPI + "/wf-editor/workflow-editors/" + this.definitionId + "/states").then(() => {
|
|
30423
30456
|
this.getWorkflowDefVersionList(), this.isShowEnable = !1, this.$alert(this.$t("workflowEditorMessage.enabledSuccessfully"));
|
|
30424
30457
|
});
|
|
30458
|
+
},
|
|
30459
|
+
// 检查并更新页面编码
|
|
30460
|
+
checkPageCode() {
|
|
30461
|
+
if (this.pageCode && this.process.properties && this.process.properties.parameterSettings && this.process.properties.parameterSettings.doTask) {
|
|
30462
|
+
const e = this.process.properties.parameterSettings.doTask.url;
|
|
30463
|
+
e && e.startsWith("page:") && e.substring(5) !== this.pageCode && (this.process.properties.parameterSettings.doTask.url = "page:" + this.pageCode);
|
|
30464
|
+
}
|
|
30425
30465
|
}
|
|
30426
30466
|
}
|
|
30427
30467
|
}, _hoisted_1$3 = { style: { width: "100%", height: "100%", background: "#fff" } }, _hoisted_2$2 = {
|
|
@@ -30429,7 +30469,7 @@ const AdminSaveDialog = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sf
|
|
|
30429
30469
|
class: "xml line-numbers"
|
|
30430
30470
|
};
|
|
30431
30471
|
function _sfc_render$3(e, t, o, r, n, i) {
|
|
30432
|
-
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");
|
|
30433
30473
|
return openBlock(), createElementBlock("div", {
|
|
30434
30474
|
ref: "wfEditor",
|
|
30435
30475
|
style: { position: "relative", height: "100%" },
|
|
@@ -30543,7 +30583,7 @@ function _sfc_render$3(e, t, o, r, n, i) {
|
|
|
30543
30583
|
class: "tabBox",
|
|
30544
30584
|
key: e.canvasKey
|
|
30545
30585
|
}, [
|
|
30546
|
-
createVNode(
|
|
30586
|
+
createVNode(_, {
|
|
30547
30587
|
modelValue: e.activeTab,
|
|
30548
30588
|
"onUpdate:modelValue": t[3] || (t[3] = (f) => e.activeTab = f),
|
|
30549
30589
|
class: "tabs"
|
|
@@ -30615,7 +30655,7 @@ function _sfc_render$3(e, t, o, r, n, i) {
|
|
|
30615
30655
|
}, null, 8, ["onUpdate", "onAdd"])) : createCommentVNode("", !0)
|
|
30616
30656
|
], 544);
|
|
30617
30657
|
}
|
|
30618
|
-
const WorkflowEditor$1 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
30658
|
+
const WorkflowEditor$1 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-021af657"]]), getters = {
|
|
30619
30659
|
taches: (e) => e.taches,
|
|
30620
30660
|
transitions: (e) => e.transitions,
|
|
30621
30661
|
startJoint: (e) => e.startJoint,
|
|
@@ -30796,7 +30836,7 @@ function i18nOperation(e, t, o, r) {
|
|
|
30796
30836
|
const s = JSON.parse(e.transactionParams);
|
|
30797
30837
|
let l = i.toLowerCase();
|
|
30798
30838
|
const a = isCommonButtonOperation(i);
|
|
30799
|
-
if (a ? l = "commonButtonOperation" : l === "process_end" && (l = "processEnd"), a || i === "HISTORY_COMPLETE_TRANSFER") {
|
|
30839
|
+
if (a ? l = "commonButtonOperation" : l === "process_end" && (l = "processEnd"), a || i === "HISTORY_COMPLETE_TRANSFER" || i === "CANCEL_TRUST_TASK_COMPLETE_TASK") {
|
|
30800
30840
|
const u = s[2];
|
|
30801
30841
|
s.key_2 = getI18n$1().t("workflowButton." + u), s[2].indexOf("workflowButton.") === 0 && (s[2] = u);
|
|
30802
30842
|
}
|
|
@@ -30814,26 +30854,18 @@ function i18nOperation(e, t, o, r) {
|
|
|
30814
30854
|
(c + "").indexOf("key_") < 0 && (d = "key_" + d), u[d] = s[c];
|
|
30815
30855
|
const m = s[c];
|
|
30816
30856
|
if (m.indexOf("${taskNodeId:") >= 0) {
|
|
30817
|
-
const
|
|
30818
|
-
m.indexOf(":") + 1,
|
|
30819
|
-
m.indexOf("##")
|
|
30820
|
-
), C = m.substring(
|
|
30821
|
-
m.indexOf("##") + 2,
|
|
30822
|
-
m.lastIndexOf("}")
|
|
30823
|
-
), y = o[g];
|
|
30857
|
+
const _ = m.substring(m.indexOf(":") + 1, m.indexOf("##")), C = m.substring(m.indexOf("##") + 2, m.lastIndexOf("}")), y = o[_];
|
|
30824
30858
|
y && y[r] && y[r] !== "" ? u[d] = y[r] : u[d] = C;
|
|
30825
30859
|
}
|
|
30826
30860
|
}
|
|
30827
30861
|
n = getI18n$1().t("workflowHistoryList." + l, u);
|
|
30828
30862
|
}
|
|
30829
30863
|
} else
|
|
30830
|
-
n = getI18n$1().t(
|
|
30831
|
-
"workflowHistoryList." + i.toLowerCase()
|
|
30832
|
-
);
|
|
30864
|
+
n = getI18n$1().t("workflowHistoryList." + i.toLowerCase());
|
|
30833
30865
|
return n;
|
|
30834
30866
|
}
|
|
30835
30867
|
function isCommonButtonOperation(e) {
|
|
30836
|
-
return e === "HISTORY_SUBMIT" || e === "HISTORY_AGREE" || e === "HISTORY_DISAGREE" || e === "HISTORY_AGREEMENT" || e === "HISTORY_OPPOSE" || e === "HISTORY_KIKEN" || e === "HISTORY_SIGNOFF" || e === "HISTORY_SEND" || e === "HISTORY_DISTRIBUTE" || e === "HISTORY_READED";
|
|
30868
|
+
return e === "HISTORY_SUBMIT" || e === "HISTORY_AGREE" || e === "HISTORY_DISAGREE" || e === "HISTORY_AGREEMENT" || e === "HISTORY_OPPOSE" || e === "HISTORY_KIKEN" || e === "HISTORY_SIGNOFF" || e === "HISTORY_SEND" || e === "HISTORY_DISTRIBUTE" || e === "HISTORY_READED" || e === "HISTORY_RETRIEVE";
|
|
30837
30869
|
}
|
|
30838
30870
|
const tacheSubprocessHistoryDialog_vue_vue_type_style_index_0_scoped_2b195c05_lang = "", _sfc_main$2 = {
|
|
30839
30871
|
name: "TacheSubprocessHistoryDialog",
|
|
@@ -31236,12 +31268,12 @@ function getValidator(e, t, o, r, n, i) {
|
|
|
31236
31268
|
return e && e.forEach((d) => {
|
|
31237
31269
|
const m = d.canEdit;
|
|
31238
31270
|
if (typeof m < "u" && m === !0) {
|
|
31239
|
-
let
|
|
31240
|
-
if (
|
|
31241
|
-
o === !0 && (
|
|
31271
|
+
let _ = d.name;
|
|
31272
|
+
if (_) {
|
|
31273
|
+
o === !0 && (_ = _);
|
|
31242
31274
|
const C = d.condition, y = null;
|
|
31243
31275
|
let v = null;
|
|
31244
|
-
if (
|
|
31276
|
+
if (_.indexOf(".") > 0 && _.indexOf("$") === 0 ? v = !0 : v = parseSubTablePermissionCondition(
|
|
31245
31277
|
C,
|
|
31246
31278
|
l,
|
|
31247
31279
|
y,
|
|
@@ -31251,10 +31283,10 @@ function getValidator(e, t, o, r, n, i) {
|
|
|
31251
31283
|
i
|
|
31252
31284
|
), v != null && v === !0) {
|
|
31253
31285
|
let p = {};
|
|
31254
|
-
if (
|
|
31255
|
-
|
|
31256
|
-
else if (
|
|
31257
|
-
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);
|
|
31258
31290
|
a[f] = {
|
|
31259
31291
|
required: !0,
|
|
31260
31292
|
message: getI18n().t("workflowEditorMessage.subTableMustInputDatas", {
|
|
@@ -31262,7 +31294,7 @@ function getValidator(e, t, o, r, n, i) {
|
|
|
31262
31294
|
})
|
|
31263
31295
|
};
|
|
31264
31296
|
} else
|
|
31265
|
-
p = getLeafPropRule(d, l), s[
|
|
31297
|
+
p = getLeafPropRule(d, l), s[_] = p;
|
|
31266
31298
|
}
|
|
31267
31299
|
}
|
|
31268
31300
|
}
|
|
@@ -31328,13 +31360,13 @@ function validatorEntity(e, t, o, r, n, i, s, l) {
|
|
|
31328
31360
|
},
|
|
31329
31361
|
(d, m) => {
|
|
31330
31362
|
if (d) {
|
|
31331
|
-
const
|
|
31363
|
+
const _ = d[0].message;
|
|
31332
31364
|
c = d[0].field, typeof o < "u" && o !== null ? i !== void 0 && s !== void 0 ? a = getI18n().t("workflowEditorMessage.pageRecordLine", {
|
|
31333
31365
|
pageNum: i,
|
|
31334
31366
|
row: s
|
|
31335
|
-
}) + "," +
|
|
31367
|
+
}) + "," + _ : a = getI18n().t("workflowEditorMessage.recordLine", {
|
|
31336
31368
|
row: o + 1
|
|
31337
|
-
}) + "," +
|
|
31369
|
+
}) + "," + _ : a = _;
|
|
31338
31370
|
} else
|
|
31339
31371
|
a = !0;
|
|
31340
31372
|
if (c && r === !0 && n !== void 0 && n === !0 && /[A-Z]+/.test(c) && e[c.toLowerCase()] !== void 0) {
|
|
@@ -31354,17 +31386,17 @@ function validateSub(e, t, o, r, n, i, s, l, a, u) {
|
|
|
31354
31386
|
console.log("formValidator333--subRules=", t);
|
|
31355
31387
|
const d = Object.keys(t);
|
|
31356
31388
|
for (let m = 0; m < d.length; m++) {
|
|
31357
|
-
const
|
|
31389
|
+
const _ = d[m], C = t[_];
|
|
31358
31390
|
console.log("formValidator44--subFieldRule=", C);
|
|
31359
31391
|
const y = Object.keys(C);
|
|
31360
31392
|
console.log("formValidator555--subFieldProps=", y);
|
|
31361
|
-
let v = e[
|
|
31393
|
+
let v = e[_];
|
|
31362
31394
|
v || (v = []);
|
|
31363
|
-
const p = validateTotalSubTable(c, e,
|
|
31395
|
+
const p = validateTotalSubTable(c, e, _);
|
|
31364
31396
|
if (p !== !0)
|
|
31365
|
-
return delete c[
|
|
31366
|
-
let f,
|
|
31367
|
-
a && a[
|
|
31397
|
+
return delete c[_], u ? { msg: p, listCode: _ } : p;
|
|
31398
|
+
let f, g = [];
|
|
31399
|
+
a && a[_] && (f = a[_].pageSize, g = a[_].fields || []);
|
|
31368
31400
|
for (let E = 0; E < v.length; E++) {
|
|
31369
31401
|
const k = v[E], P = packageRowRule(
|
|
31370
31402
|
y,
|
|
@@ -31375,7 +31407,7 @@ function validateSub(e, t, o, r, n, i, s, l, a, u) {
|
|
|
31375
31407
|
i,
|
|
31376
31408
|
s,
|
|
31377
31409
|
l,
|
|
31378
|
-
|
|
31410
|
+
g
|
|
31379
31411
|
);
|
|
31380
31412
|
console.log("formValidator666--rowRule=", P);
|
|
31381
31413
|
let O, D;
|
|
@@ -31392,7 +31424,7 @@ function validateSub(e, t, o, r, n, i, s, l, a, u) {
|
|
|
31392
31424
|
});
|
|
31393
31425
|
const S = validator(k, P, E, r, O, D, u);
|
|
31394
31426
|
if (!u && S !== !0 || u && S.msg !== !0)
|
|
31395
|
-
return u && (a[
|
|
31427
|
+
return u && (a[_].title && (S.msg = a[_].title + ":" + S.msg), S.listCode = _), S;
|
|
31396
31428
|
}
|
|
31397
31429
|
}
|
|
31398
31430
|
}
|
|
@@ -31415,7 +31447,7 @@ function packageRowRule(e, t, o, r, n, i, s, l, a) {
|
|
|
31415
31447
|
const m = e[d];
|
|
31416
31448
|
if (a.indexOf(m) < 0)
|
|
31417
31449
|
continue;
|
|
31418
|
-
const
|
|
31450
|
+
const _ = t[m], C = _.condition, y = parseSubTablePermissionCondition(
|
|
31419
31451
|
C,
|
|
31420
31452
|
r,
|
|
31421
31453
|
n,
|
|
@@ -31426,10 +31458,10 @@ function packageRowRule(e, t, o, r, n, i, s, l, a) {
|
|
|
31426
31458
|
);
|
|
31427
31459
|
if (y != null && y === !0)
|
|
31428
31460
|
if (u === void 0)
|
|
31429
|
-
c[m] =
|
|
31461
|
+
c[m] = _;
|
|
31430
31462
|
else {
|
|
31431
|
-
const v =
|
|
31432
|
-
(!v || v.indexOf(u) >= 0) && (c[m] =
|
|
31463
|
+
const v = _.rowIndexes;
|
|
31464
|
+
(!v || v.indexOf(u) >= 0) && (c[m] = _);
|
|
31433
31465
|
}
|
|
31434
31466
|
}
|
|
31435
31467
|
return c;
|
|
@@ -31439,24 +31471,29 @@ function validateTotalSubTable(e, t, o) {
|
|
|
31439
31471
|
return r || (r = []), r.length === 0 && e && e[o] && e[o].required !== void 0 && e[o].required === !0 ? e[o].message : !0;
|
|
31440
31472
|
}
|
|
31441
31473
|
function formValidator$1(e, t, o, r, n, i, s, l) {
|
|
31442
|
-
|
|
31443
|
-
if (
|
|
31444
|
-
const u =
|
|
31445
|
-
|
|
31446
|
-
|
|
31447
|
-
e,
|
|
31448
|
-
|
|
31449
|
-
|
|
31450
|
-
|
|
31451
|
-
|
|
31452
|
-
|
|
31453
|
-
|
|
31454
|
-
|
|
31455
|
-
|
|
31456
|
-
|
|
31457
|
-
|
|
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
|
+
}
|
|
31458
31495
|
} else
|
|
31459
|
-
return
|
|
31496
|
+
return a;
|
|
31460
31497
|
}
|
|
31461
31498
|
function underscoreName(e) {
|
|
31462
31499
|
return e;
|