workflow-editor 0.0.63-up → 0.0.64-up-rc1
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-1aecf9bd.js → 401-082f153a.js} +1 -1
- package/lib/{404-570ae1f7.js → 404-f95275e3.js} +1 -1
- package/lib/{iframe-page-90dc6be4.js → iframe-page-eac0213f.js} +1 -1
- package/lib/{index-e798e8b2.js → index-cd023a70.js} +677 -622
- package/lib/{tab-content-iframe-index-0a5a385c.js → tab-content-iframe-index-2d8801b1.js} +1 -1
- package/lib/{tab-content-index-ffaab575.js → tab-content-index-f83a413e.js} +1 -1
- package/lib/{tache-subprocess-history-b100fdff.js → tache-subprocess-history-8dab30b9.js} +1 -1
- package/lib/workflow-editor.css +1 -1
- package/lib/workflow-editor.js +1 -1
- package/lib/workflow-editor.umd.cjs +23 -23
- package/package.json +2 -2
- package/packages/plugins/formValidatorUtil.js +10 -2
- package/packages/workflow-editor/src/properties-editors/common/notice-reminder.vue +35 -1
- package/src/i18n/langs/cn.js +7 -1
- package/src/i18n/langs/en.js +7 -1
|
@@ -1014,7 +1014,7 @@ 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, C = () => n, y = () => i,
|
|
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, C = () => n, y = () => i, w = (O) => s(O) || a(O) || u(O) ? CHAR_LF : t[O], E = () => w(o), p = () => w(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
|
}
|
|
@@ -1038,7 +1038,7 @@ function createScanner(e) {
|
|
|
1038
1038
|
line: m,
|
|
1039
1039
|
column: C,
|
|
1040
1040
|
peekOffset: y,
|
|
1041
|
-
charAt:
|
|
1041
|
+
charAt: w,
|
|
1042
1042
|
currentChar: E,
|
|
1043
1043
|
currentPeek: p,
|
|
1044
1044
|
next: f,
|
|
@@ -1086,14 +1086,14 @@ function createTokenizer(e, t = {}) {
|
|
|
1086
1086
|
function y(N, T) {
|
|
1087
1087
|
return N.currentChar() === T ? (N.next(), T) : (d(CompileErrorCodes.EXPECTED_TOKEN, i(), 0, T), "");
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function w(N) {
|
|
1090
1090
|
let T = "";
|
|
1091
1091
|
for (; N.currentPeek() === CHAR_SP || N.currentPeek() === CHAR_LF; )
|
|
1092
1092
|
T += N.currentPeek(), N.peek();
|
|
1093
1093
|
return T;
|
|
1094
1094
|
}
|
|
1095
1095
|
function E(N) {
|
|
1096
|
-
const T =
|
|
1096
|
+
const T = w(N);
|
|
1097
1097
|
return N.skipToPeek(), T;
|
|
1098
1098
|
}
|
|
1099
1099
|
function p(N) {
|
|
@@ -1114,7 +1114,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1114
1114
|
const { currentType: I } = T;
|
|
1115
1115
|
if (I !== 2)
|
|
1116
1116
|
return !1;
|
|
1117
|
-
|
|
1117
|
+
w(N);
|
|
1118
1118
|
const F = p(N.currentPeek());
|
|
1119
1119
|
return N.resetPeek(), F;
|
|
1120
1120
|
}
|
|
@@ -1122,7 +1122,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1122
1122
|
const { currentType: I } = T;
|
|
1123
1123
|
if (I !== 2)
|
|
1124
1124
|
return !1;
|
|
1125
|
-
|
|
1125
|
+
w(N);
|
|
1126
1126
|
const F = N.currentPeek() === "-" ? N.peek() : N.currentPeek(), M = f(F);
|
|
1127
1127
|
return N.resetPeek(), M;
|
|
1128
1128
|
}
|
|
@@ -1130,7 +1130,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1130
1130
|
const { currentType: I } = T;
|
|
1131
1131
|
if (I !== 2)
|
|
1132
1132
|
return !1;
|
|
1133
|
-
|
|
1133
|
+
w(N);
|
|
1134
1134
|
const F = N.currentPeek() === LITERAL_DELIMITER;
|
|
1135
1135
|
return N.resetPeek(), F;
|
|
1136
1136
|
}
|
|
@@ -1138,7 +1138,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1138
1138
|
const { currentType: I } = T;
|
|
1139
1139
|
if (I !== 8)
|
|
1140
1140
|
return !1;
|
|
1141
|
-
|
|
1141
|
+
w(N);
|
|
1142
1142
|
const F = N.currentPeek() === ".";
|
|
1143
1143
|
return N.resetPeek(), F;
|
|
1144
1144
|
}
|
|
@@ -1146,7 +1146,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1146
1146
|
const { currentType: I } = T;
|
|
1147
1147
|
if (I !== 9)
|
|
1148
1148
|
return !1;
|
|
1149
|
-
|
|
1149
|
+
w(N);
|
|
1150
1150
|
const F = p(N.currentPeek());
|
|
1151
1151
|
return N.resetPeek(), F;
|
|
1152
1152
|
}
|
|
@@ -1154,7 +1154,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1154
1154
|
const { currentType: I } = T;
|
|
1155
1155
|
if (!(I === 8 || I === 12))
|
|
1156
1156
|
return !1;
|
|
1157
|
-
|
|
1157
|
+
w(N);
|
|
1158
1158
|
const F = N.currentPeek() === ":";
|
|
1159
1159
|
return N.resetPeek(), F;
|
|
1160
1160
|
}
|
|
@@ -1169,12 +1169,12 @@ function createTokenizer(e, t = {}) {
|
|
|
1169
1169
|
return N.resetPeek(), M;
|
|
1170
1170
|
}
|
|
1171
1171
|
function B(N) {
|
|
1172
|
-
|
|
1172
|
+
w(N);
|
|
1173
1173
|
const T = N.currentPeek() === "|";
|
|
1174
1174
|
return N.resetPeek(), T;
|
|
1175
1175
|
}
|
|
1176
|
-
function
|
|
1177
|
-
const T =
|
|
1176
|
+
function H(N) {
|
|
1177
|
+
const T = w(N), I = N.currentPeek() === "%" && N.peek() === "{";
|
|
1178
1178
|
return N.resetPeek(), {
|
|
1179
1179
|
isModulo: I,
|
|
1180
1180
|
hasSpace: T.length > 0
|
|
@@ -1215,7 +1215,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1215
1215
|
F >= 97 && F <= 102;
|
|
1216
1216
|
});
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function j(N) {
|
|
1219
1219
|
let T = "", I = "";
|
|
1220
1220
|
for (; T = re(N); )
|
|
1221
1221
|
I += T;
|
|
@@ -1260,7 +1260,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1260
1260
|
function Q(N) {
|
|
1261
1261
|
E(N);
|
|
1262
1262
|
let T = "";
|
|
1263
|
-
return N.currentChar() === "-" ? (N.next(), T += `-${
|
|
1263
|
+
return N.currentChar() === "-" ? (N.next(), T += `-${j(N)}`) : T += j(N), N.currentChar() === EOF && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), T;
|
|
1264
1264
|
}
|
|
1265
1265
|
function J(N) {
|
|
1266
1266
|
E(N), y(N, "'");
|
|
@@ -1319,7 +1319,7 @@ function createTokenizer(e, t = {}) {
|
|
|
1319
1319
|
};
|
|
1320
1320
|
return T(!1, "");
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function _(N) {
|
|
1323
1323
|
E(N);
|
|
1324
1324
|
const T = y(
|
|
1325
1325
|
N,
|
|
@@ -1350,7 +1350,7 @@ function createTokenizer(e, t = {}) {
|
|
|
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, _(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
1356
|
if (M = g(N, T))
|
|
@@ -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, _(N)), T.braceNest = 0, T.inLinked = !1, F) : $(N, T) || x(N, T) ? (E(N), V(N, T)) : O(N, T) ? (E(N), m(T, 12, oe(N))) : S(N, T) ? (E(N), M === "{" ? P(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) {
|
|
@@ -1418,8 +1418,8 @@ function createTokenizer(e, t = {}) {
|
|
|
1418
1418
|
return V(N, T) || C(T);
|
|
1419
1419
|
default:
|
|
1420
1420
|
if (B(N))
|
|
1421
|
-
return I = m(T, 1,
|
|
1422
|
-
const { isModulo: M, hasSpace: W } =
|
|
1421
|
+
return I = m(T, 1, _(N)), T.braceNest = 0, T.inLinked = !1, I;
|
|
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));
|
|
1425
1425
|
if (L(N))
|
|
@@ -1575,13 +1575,13 @@ function createParser(e = {}) {
|
|
|
1575
1575
|
} while (k.currentType !== 14);
|
|
1576
1576
|
return $ && r(p, CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL, g, 0), i(O, p.currentOffset(), p.currentPosition()), O;
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1578
|
+
function w(p) {
|
|
1579
1579
|
const f = p.context(), { offset: g, startLoc: v } = f, k = C(p);
|
|
1580
1580
|
return f.currentType === 14 ? k : y(p, g, v, k);
|
|
1581
1581
|
}
|
|
1582
1582
|
function E(p) {
|
|
1583
1583
|
const f = createTokenizer(p, assign$2({}, e)), g = f.context(), v = n(0, g.offset, g.startLoc);
|
|
1584
|
-
return t && v.loc && (v.loc.source = p), v.body =
|
|
1584
|
+
return t && v.loc && (v.loc.source = p), v.body = w(f), e.onCacheKey && (v.cacheKey = e.onCacheKey(p)), g.currentType !== 14 && r(f, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, g.lastStartLoc, 0, p[g.offset] || ""), i(v, f.currentOffset(), f.currentPosition()), v;
|
|
1585
1585
|
}
|
|
1586
1586
|
return { parse: E };
|
|
1587
1587
|
}
|
|
@@ -2319,9 +2319,9 @@ 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, C = isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, y = !!e.fallbackFormat,
|
|
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, C = isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, y = !!e.fallbackFormat, w = !!e.unresolving, E = 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, v = 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
|
-
const k = isFunction$3(e.messageResolver) ? e.messageResolver : _resolver || resolveWithKeyValue, $ = isFunction$3(e.localeFallbacker) ? e.localeFallbacker : _fallbacker || fallbackWithSimple, O = isObject$4(e.fallbackContext) ? e.fallbackContext : void 0, x = e, S = isObject$4(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), B = isObject$4(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(),
|
|
2324
|
+
const k = isFunction$3(e.messageResolver) ? e.messageResolver : _resolver || resolveWithKeyValue, $ = isFunction$3(e.localeFallbacker) ? e.localeFallbacker : _fallbacker || fallbackWithSimple, O = isObject$4(e.fallbackContext) ? e.fallbackContext : void 0, x = e, S = isObject$4(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), B = isObject$4(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), H = isObject$4(x.__meta) ? x.__meta : {};
|
|
2325
2325
|
_cid++;
|
|
2326
2326
|
const L = {
|
|
2327
2327
|
version: o,
|
|
@@ -2335,7 +2335,7 @@ function createCoreContext(e = {}) {
|
|
|
2335
2335
|
missingWarn: m,
|
|
2336
2336
|
fallbackWarn: C,
|
|
2337
2337
|
fallbackFormat: y,
|
|
2338
|
-
unresolving:
|
|
2338
|
+
unresolving: w,
|
|
2339
2339
|
postTranslation: E,
|
|
2340
2340
|
processor: p,
|
|
2341
2341
|
warnHtmlMessage: f,
|
|
@@ -2345,9 +2345,9 @@ function createCoreContext(e = {}) {
|
|
|
2345
2345
|
localeFallbacker: $,
|
|
2346
2346
|
fallbackContext: O,
|
|
2347
2347
|
onWarn: t,
|
|
2348
|
-
__meta:
|
|
2348
|
+
__meta: H
|
|
2349
2349
|
};
|
|
2350
|
-
return L.datetimeFormats = l, L.numberFormats = a, L.__datetimeFormatters = S, L.__numberFormatters = B, process.env.NODE_ENV !== "production" && (L.__v_emitter = x.__v_emitter != null ? x.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && initI18nDevTools(L, o,
|
|
2350
|
+
return L.datetimeFormats = l, L.numberFormats = a, L.__datetimeFormatters = S, L.__numberFormatters = B, process.env.NODE_ENV !== "production" && (L.__v_emitter = x.__v_emitter != null ? x.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && initI18nDevTools(L, o, H), L;
|
|
2351
2351
|
}
|
|
2352
2352
|
function isTranslateFallbackWarn(e, t) {
|
|
2353
2353
|
return e instanceof RegExp ? e.test(t) : e;
|
|
@@ -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, C = !!u.resolvedMessage, y = isString$5(u.default) || isBoolean$1(u.default) ? isBoolean$1(u.default) ? i ? a : () => a : u.default : o ? i ? a : () => a : "",
|
|
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, C = !!u.resolvedMessage, y = isString$5(u.default) || isBoolean$1(u.default) ? isBoolean$1(u.default) ? i ? a : () => a : u.default : o ? i ? a : () => a : "", w = o || y !== "", E = getLocale(e, u);
|
|
2500
2500
|
m && escapeParams(u);
|
|
2501
2501
|
let [p, f, g] = C ? [
|
|
2502
2502
|
a,
|
|
2503
2503
|
E,
|
|
2504
2504
|
l[E] || {}
|
|
2505
2505
|
] : resolveMessageFormat(e, a, E, s, d, c), v = p, k = a;
|
|
2506
|
-
if (!C && !(isString$5(v) || isMessageAST(v) || isMessageFunction(v)) &&
|
|
2506
|
+
if (!C && !(isString$5(v) || isMessageAST(v) || isMessageFunction(v)) && w && (v = y, k = v), !C && (!(isString$5(v) || isMessageAST(v) || isMessageFunction(v)) || !isString$5(f)))
|
|
2507
2507
|
return n ? NOT_REOSLVED : a;
|
|
2508
2508
|
if (process.env.NODE_ENV !== "production" && isString$5(v) && 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
|
}, x = isMessageFunction(v) ? v : compileMessageFormat(e, a, f, v, k, O);
|
|
2514
2514
|
if ($)
|
|
2515
2515
|
return v;
|
|
2516
|
-
const S = getMessageContextOptions(e, f, g, u), B = createMessageContext(S),
|
|
2516
|
+
const S = getMessageContextOptions(e, f, g, u), B = createMessageContext(S), H = evaluateMessage(e, x, 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,10 +2533,10 @@ 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, C = null, y = o,
|
|
2536
|
+
let d = {}, m, C = null, y = o, w = null;
|
|
2537
2537
|
const E = "translate";
|
|
2538
2538
|
for (let p = 0; p < c.length; p++) {
|
|
2539
|
-
if (m =
|
|
2539
|
+
if (m = w = c[p], process.env.NODE_ENV !== "production" && o !== m && isTranslateFallbackWarn(n, t) && l(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_TRANSLATE, {
|
|
2540
2540
|
key: t,
|
|
2541
2541
|
target: m
|
|
2542
2542
|
})), process.env.NODE_ENV !== "production" && o !== m) {
|
|
@@ -2545,7 +2545,7 @@ function resolveMessageFormat(e, t, o, r, n, i) {
|
|
|
2545
2545
|
type: E,
|
|
2546
2546
|
key: t,
|
|
2547
2547
|
from: y,
|
|
2548
|
-
to:
|
|
2548
|
+
to: w,
|
|
2549
2549
|
groupId: `${E}:${t}`
|
|
2550
2550
|
});
|
|
2551
2551
|
}
|
|
@@ -2571,7 +2571,7 @@ function resolveMessageFormat(e, t, o, r, n, i) {
|
|
|
2571
2571
|
i,
|
|
2572
2572
|
E
|
|
2573
2573
|
);
|
|
2574
|
-
k !== t && (C = k), y =
|
|
2574
|
+
k !== t && (C = k), y = w;
|
|
2575
2575
|
}
|
|
2576
2576
|
return [C, m, d];
|
|
2577
2577
|
}
|
|
@@ -2657,15 +2657,15 @@ function getMessageContextOptions(e, t, o, r) {
|
|
|
2657
2657
|
messages: (C) => {
|
|
2658
2658
|
let y = s(o, C);
|
|
2659
2659
|
if (y == null && c) {
|
|
2660
|
-
const [, ,
|
|
2661
|
-
y = s(
|
|
2660
|
+
const [, , w] = resolveMessageFormat(c, C, t, l, a, u);
|
|
2661
|
+
y = s(w, C);
|
|
2662
2662
|
}
|
|
2663
2663
|
if (isString$5(y) || isMessageAST(y)) {
|
|
2664
|
-
let
|
|
2664
|
+
let w = !1;
|
|
2665
2665
|
const p = compileMessageFormat(e, C, t, y, C, () => {
|
|
2666
|
-
|
|
2666
|
+
w = !0;
|
|
2667
2667
|
});
|
|
2668
|
-
return
|
|
2668
|
+
return w ? NOOP_MESSAGE_FUNCTION : p;
|
|
2669
2669
|
} else
|
|
2670
2670
|
return isMessageFunction(y) ? y : NOOP_MESSAGE_FUNCTION;
|
|
2671
2671
|
}
|
|
@@ -2680,21 +2680,21 @@ 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, C = isBoolean$1(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, y = !!c.part,
|
|
2683
|
+
const [a, u, c, d] = parseDateTimeArgs(...t), m = isBoolean$1(c.missingWarn) ? c.missingWarn : e.missingWarn, C = isBoolean$1(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, y = !!c.part, w = getLocale(e, c), E = s(
|
|
2684
2684
|
e,
|
|
2685
2685
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2686
2686
|
n,
|
|
2687
|
-
|
|
2687
|
+
w
|
|
2688
2688
|
);
|
|
2689
2689
|
if (!isString$5(a) || a === "")
|
|
2690
|
-
return new Intl.DateTimeFormat(
|
|
2691
|
-
let p = {}, f, g = null, v =
|
|
2690
|
+
return new Intl.DateTimeFormat(w, d).format(u);
|
|
2691
|
+
let p = {}, f, g = null, v = w, k = null;
|
|
2692
2692
|
const $ = "datetime format";
|
|
2693
2693
|
for (let S = 0; S < E.length; S++) {
|
|
2694
|
-
if (f = k = E[S], process.env.NODE_ENV !== "production" &&
|
|
2694
|
+
if (f = k = E[S], process.env.NODE_ENV !== "production" && w !== f && isTranslateFallbackWarn(C, a) && i(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_DATE_FORMAT, {
|
|
2695
2695
|
key: a,
|
|
2696
2696
|
target: f
|
|
2697
|
-
})), process.env.NODE_ENV !== "production" &&
|
|
2697
|
+
})), process.env.NODE_ENV !== "production" && w !== f) {
|
|
2698
2698
|
const B = e.__v_emitter;
|
|
2699
2699
|
B && B.emit("fallback", {
|
|
2700
2700
|
type: $,
|
|
@@ -2774,21 +2774,21 @@ 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, C = isBoolean$1(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, y = !!c.part,
|
|
2777
|
+
const [a, u, c, d] = parseNumberArgs(...t), m = isBoolean$1(c.missingWarn) ? c.missingWarn : e.missingWarn, C = isBoolean$1(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, y = !!c.part, w = getLocale(e, c), E = s(
|
|
2778
2778
|
e,
|
|
2779
2779
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2780
2780
|
n,
|
|
2781
|
-
|
|
2781
|
+
w
|
|
2782
2782
|
);
|
|
2783
2783
|
if (!isString$5(a) || a === "")
|
|
2784
|
-
return new Intl.NumberFormat(
|
|
2785
|
-
let p = {}, f, g = null, v =
|
|
2784
|
+
return new Intl.NumberFormat(w, d).format(u);
|
|
2785
|
+
let p = {}, f, g = null, v = w, k = null;
|
|
2786
2786
|
const $ = "number format";
|
|
2787
2787
|
for (let S = 0; S < E.length; S++) {
|
|
2788
|
-
if (f = k = E[S], process.env.NODE_ENV !== "production" &&
|
|
2788
|
+
if (f = k = E[S], process.env.NODE_ENV !== "production" && w !== f && isTranslateFallbackWarn(C, a) && i(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT, {
|
|
2789
2789
|
key: a,
|
|
2790
2790
|
target: f
|
|
2791
|
-
})), process.env.NODE_ENV !== "production" &&
|
|
2791
|
+
})), process.env.NODE_ENV !== "production" && w !== f) {
|
|
2792
2792
|
const B = e.__v_emitter;
|
|
2793
2793
|
B && B.emit("fallback", {
|
|
2794
2794
|
type: $,
|
|
@@ -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, C = o ? o.fallbackWarn : isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, y = o ? o.fallbackRoot : isBoolean$1(e.fallbackRoot) ? e.fallbackRoot : !0,
|
|
3028
|
+
let m = o ? o.missingWarn : isBoolean$1(e.missingWarn) || isRegExp$1(e.missingWarn) ? e.missingWarn : !0, C = o ? o.fallbackWarn : isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, y = o ? o.fallbackRoot : isBoolean$1(e.fallbackRoot) ? e.fallbackRoot : !0, w = !!e.fallbackFormat, E = 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, v = !!e.escapeParameter;
|
|
3029
3029
|
const k = o ? o.modifiers : isPlainObject$1(e.modifiers) ? e.modifiers : {};
|
|
3030
3030
|
let $ = e.pluralRules || o && o.pluralRules, O;
|
|
3031
3031
|
O = (() => {
|
|
@@ -3040,7 +3040,7 @@ function createComposer(e = {}, t) {
|
|
|
3040
3040
|
missing: p === null ? void 0 : p,
|
|
3041
3041
|
missingWarn: m,
|
|
3042
3042
|
fallbackWarn: C,
|
|
3043
|
-
fallbackFormat:
|
|
3043
|
+
fallbackFormat: w,
|
|
3044
3044
|
unresolving: !0,
|
|
3045
3045
|
postTranslation: f === null ? void 0 : f,
|
|
3046
3046
|
warnHtmlMessage: g,
|
|
@@ -3067,7 +3067,7 @@ function createComposer(e = {}, t) {
|
|
|
3067
3067
|
set: (A) => {
|
|
3068
3068
|
l.value = A, O.locale = l.value;
|
|
3069
3069
|
}
|
|
3070
|
-
}),
|
|
3070
|
+
}), H = computed({
|
|
3071
3071
|
get: () => a.value,
|
|
3072
3072
|
set: (A) => {
|
|
3073
3073
|
a.value = A, O.fallbackLocale = a.value, updateFallbackLocale(O, l.value, A);
|
|
@@ -3079,7 +3079,7 @@ function createComposer(e = {}, t) {
|
|
|
3079
3079
|
function te(A) {
|
|
3080
3080
|
f = A, O.postTranslation = A;
|
|
3081
3081
|
}
|
|
3082
|
-
function
|
|
3082
|
+
function j() {
|
|
3083
3083
|
return E;
|
|
3084
3084
|
}
|
|
3085
3085
|
function z(A) {
|
|
@@ -3141,7 +3141,7 @@ function createComposer(e = {}, t) {
|
|
|
3141
3141
|
interpolate: (A) => A,
|
|
3142
3142
|
type: "vnode"
|
|
3143
3143
|
};
|
|
3144
|
-
function
|
|
3144
|
+
function _(...A) {
|
|
3145
3145
|
return q(
|
|
3146
3146
|
(D) => {
|
|
3147
3147
|
let K;
|
|
@@ -3255,7 +3255,7 @@ function createComposer(e = {}, t) {
|
|
|
3255
3255
|
const ee = {
|
|
3256
3256
|
id: composerID,
|
|
3257
3257
|
locale: B,
|
|
3258
|
-
fallbackLocale:
|
|
3258
|
+
fallbackLocale: H,
|
|
3259
3259
|
get inheritLocale() {
|
|
3260
3260
|
return s;
|
|
3261
3261
|
},
|
|
@@ -3294,10 +3294,10 @@ function createComposer(e = {}, t) {
|
|
|
3294
3294
|
y = A;
|
|
3295
3295
|
},
|
|
3296
3296
|
get fallbackFormat() {
|
|
3297
|
-
return
|
|
3297
|
+
return w;
|
|
3298
3298
|
},
|
|
3299
3299
|
set fallbackFormat(A) {
|
|
3300
|
-
|
|
3300
|
+
w = A, O.fallbackFormat = w;
|
|
3301
3301
|
},
|
|
3302
3302
|
get warnHtmlMessage() {
|
|
3303
3303
|
return g;
|
|
@@ -3317,11 +3317,11 @@ function createComposer(e = {}, t) {
|
|
|
3317
3317
|
mergeLocaleMessage: M,
|
|
3318
3318
|
getPostTranslationHandler: re,
|
|
3319
3319
|
setPostTranslationHandler: te,
|
|
3320
|
-
getMissingHandler:
|
|
3320
|
+
getMissingHandler: j,
|
|
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] = _, ee[DatetimePartsSymbol] = V, ee[NumberPartsSymbol] = P, 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;
|
|
@@ -3338,7 +3338,7 @@ function convertComposerOptions(e) {
|
|
|
3338
3338
|
return assign$3(S, k[x]), O;
|
|
3339
3339
|
}, y || {});
|
|
3340
3340
|
}
|
|
3341
|
-
const { __i18n:
|
|
3341
|
+
const { __i18n: w, __root: E, __injectWithOption: p } = e, f = e.datetimeFormats, g = e.numberFormats, v = e.flatJson;
|
|
3342
3342
|
return {
|
|
3343
3343
|
locale: t,
|
|
3344
3344
|
fallbackLocale: o,
|
|
@@ -3358,7 +3358,7 @@ function convertComposerOptions(e) {
|
|
|
3358
3358
|
escapeParameter: m,
|
|
3359
3359
|
messageResolver: e.messageResolver,
|
|
3360
3360
|
inheritLocale: C,
|
|
3361
|
-
__i18n:
|
|
3361
|
+
__i18n: w,
|
|
3362
3362
|
__root: E,
|
|
3363
3363
|
__injectWithOption: p
|
|
3364
3364
|
};
|
|
@@ -3650,8 +3650,8 @@ function renderFormatter(e, t, o, r) {
|
|
|
3650
3650
|
const a = r(e.value, s, l);
|
|
3651
3651
|
let u = [s.key];
|
|
3652
3652
|
isArray$7(a) ? u = a.map((m, C) => {
|
|
3653
|
-
const y = n[m.type],
|
|
3654
|
-
return isVNode(
|
|
3653
|
+
const y = n[m.type], w = y ? y({ [m.type]: m.value, index: C, parts: a }) : [m.value];
|
|
3654
|
+
return isVNode(w) && (w[0].key = `${m.type}-${C}`), w;
|
|
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$1(d, c, u);
|
|
@@ -4134,11 +4134,11 @@ function createI18n(e = {}, t) {
|
|
|
4134
4134
|
const p = y[0];
|
|
4135
4135
|
m.__composerExtend = p.__composerExtend, m.__vueI18nExtend = p.__vueI18nExtend;
|
|
4136
4136
|
}
|
|
4137
|
-
let
|
|
4138
|
-
!o && r && (
|
|
4137
|
+
let w = null;
|
|
4138
|
+
!o && r && (w = injectGlobalFields(C, m.global)), __VUE_I18N_FULL_INSTALL__ && apply(C, m, ...y), __VUE_I18N_LEGACY_API__ && o && C.mixin(defineMixin(l, l.__composer, m));
|
|
4139
4139
|
const E = C.unmount;
|
|
4140
4140
|
if (C.unmount = () => {
|
|
4141
|
-
|
|
4141
|
+
w && w(), m.dispose(), E();
|
|
4142
4142
|
}, process.env.NODE_ENV !== "production") {
|
|
4143
4143
|
if (!await enableDevTools(C, m))
|
|
4144
4144
|
throw createI18nError(I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
@@ -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, C = n ? o.fallbackWarn : isBoolean$1(r.fallbackWarn) || isRegExp$1(r.fallbackWarn) ? r.fallbackWarn : !0, y = n ? o.fallbackRoot : isBoolean$1(r.fallbackRoot) ? r.fallbackRoot : !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, C = n ? o.fallbackWarn : isBoolean$1(r.fallbackWarn) || isRegExp$1(r.fallbackWarn) ? r.fallbackWarn : !0, y = n ? o.fallbackRoot : isBoolean$1(r.fallbackRoot) ? r.fallbackRoot : !0, w = !!r.fallbackFormat, E = 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, v = n ? o.modifiers : isPlainObject$1(r.modifiers) ? r.modifiers : {}, k = r.pluralRules || n && o.pluralRules;
|
|
4271
4271
|
function $() {
|
|
4272
4272
|
return [
|
|
4273
4273
|
l.value,
|
|
@@ -4287,7 +4287,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4287
4287
|
set: (T) => {
|
|
4288
4288
|
i.value && (i.value.fallbackLocale.value = T), a.value = T;
|
|
4289
4289
|
}
|
|
4290
|
-
}), S = computed(() => i.value ? i.value.messages.value : u.value), B = computed(() => c.value),
|
|
4290
|
+
}), S = computed(() => i.value ? i.value.messages.value : u.value), B = computed(() => c.value), H = computed(() => d.value);
|
|
4291
4291
|
function L() {
|
|
4292
4292
|
return i.value ? i.value.getPostTranslationHandler() : p;
|
|
4293
4293
|
}
|
|
@@ -4303,7 +4303,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4303
4303
|
function te(T) {
|
|
4304
4304
|
return $(), T();
|
|
4305
4305
|
}
|
|
4306
|
-
function
|
|
4306
|
+
function j(...T) {
|
|
4307
4307
|
return i.value ? te(() => Reflect.apply(i.value.t, null, [...T])) : te(() => "");
|
|
4308
4308
|
}
|
|
4309
4309
|
function z(...T) {
|
|
@@ -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 _(T, I) {
|
|
4340
4340
|
i.value && i.value.mergeDateTimeFormat(T, I);
|
|
4341
4341
|
}
|
|
4342
4342
|
function P(T) {
|
|
@@ -4356,7 +4356,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4356
4356
|
fallbackLocale: x,
|
|
4357
4357
|
messages: S,
|
|
4358
4358
|
datetimeFormats: B,
|
|
4359
|
-
numberFormats:
|
|
4359
|
+
numberFormats: H,
|
|
4360
4360
|
get inheritLocale() {
|
|
4361
4361
|
return i.value ? i.value.inheritLocale : s;
|
|
4362
4362
|
},
|
|
@@ -4394,7 +4394,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4394
4394
|
i.value && (i.value.fallbackRoot = T);
|
|
4395
4395
|
},
|
|
4396
4396
|
get fallbackFormat() {
|
|
4397
|
-
return i.value ? i.value.fallbackFormat :
|
|
4397
|
+
return i.value ? i.value.fallbackFormat : w;
|
|
4398
4398
|
},
|
|
4399
4399
|
set fallbackFormat(T) {
|
|
4400
4400
|
i.value && (i.value.fallbackFormat = T);
|
|
@@ -4411,7 +4411,7 @@ function useI18nForLegacy(e, t, o, r = {}) {
|
|
|
4411
4411
|
set escapeParameter(T) {
|
|
4412
4412
|
i.value && (i.value.escapeParameter = T);
|
|
4413
4413
|
},
|
|
4414
|
-
t:
|
|
4414
|
+
t: j,
|
|
4415
4415
|
getPostTranslationHandler: L,
|
|
4416
4416
|
setPostTranslationHandler: G,
|
|
4417
4417
|
getMissingHandler: ne,
|
|
@@ -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: _,
|
|
4430
4430
|
getNumberFormat: P,
|
|
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 = g, T.fallbackFormat =
|
|
4441
|
+
}), T.escapeParameter = g, T.fallbackFormat = w, T.fallbackRoot = y, T.fallbackWarn = C, T.missingWarn = m, T.warnHtmlMessage = f;
|
|
4442
4442
|
}
|
|
4443
4443
|
return onBeforeMount(() => {
|
|
4444
4444
|
if (e.proxy == null || e.proxy.$i18n == null)
|
|
@@ -5346,7 +5346,7 @@ function parseFieldCondition(e, t, o, r, n, i, s) {
|
|
|
5346
5346
|
if ((y == null || y === "") && (t === "DATE" || t === "TIME"))
|
|
5347
5347
|
return !1;
|
|
5348
5348
|
console.log("对应值为:", y);
|
|
5349
|
-
const
|
|
5349
|
+
const w = getAbstractUserFactoryWf(t), E = e.replace(c, y), f = new w(E).result;
|
|
5350
5350
|
return console.log("判断结果为:", f), f;
|
|
5351
5351
|
}
|
|
5352
5352
|
function splitExpression(e) {
|
|
@@ -6059,8 +6059,8 @@ function toFormData(e, t, o) {
|
|
|
6059
6059
|
metaTokens: !0,
|
|
6060
6060
|
dots: !1,
|
|
6061
6061
|
indexes: !1
|
|
6062
|
-
}, !1, function(
|
|
6063
|
-
return !utils$1.isUndefined(E[
|
|
6062
|
+
}, !1, function(w, E) {
|
|
6063
|
+
return !utils$1.isUndefined(E[w]);
|
|
6064
6064
|
});
|
|
6065
6065
|
const r = o.metaTokens, n = o.visitor || c, i = o.dots, s = o.indexes, a = (o.Blob || typeof Blob < "u" && Blob) && utils$1.isSpecCompliantForm(t);
|
|
6066
6066
|
if (!utils$1.isFunction(n))
|
|
@@ -6074,39 +6074,39 @@ function toFormData(e, t, o) {
|
|
|
6074
6074
|
throw new AxiosError("Blob is not supported. Use a Buffer instead.");
|
|
6075
6075
|
return utils$1.isArrayBuffer(y) || utils$1.isTypedArray(y) ? a && typeof Blob == "function" ? new Blob([y]) : Buffer.from(y) : y;
|
|
6076
6076
|
}
|
|
6077
|
-
function c(y,
|
|
6077
|
+
function c(y, w, E) {
|
|
6078
6078
|
let p = y;
|
|
6079
6079
|
if (y && !E && typeof y == "object") {
|
|
6080
|
-
if (utils$1.endsWith(
|
|
6081
|
-
|
|
6082
|
-
else if (utils$1.isArray(y) && isFlatArray(y) || (utils$1.isFileList(y) || utils$1.endsWith(
|
|
6083
|
-
return
|
|
6080
|
+
if (utils$1.endsWith(w, "{}"))
|
|
6081
|
+
w = r ? w : w.slice(0, -2), y = JSON.stringify(y);
|
|
6082
|
+
else if (utils$1.isArray(y) && isFlatArray(y) || (utils$1.isFileList(y) || utils$1.endsWith(w, "[]")) && (p = utils$1.toArray(y)))
|
|
6083
|
+
return w = removeBrackets(w), p.forEach(function(g, v) {
|
|
6084
6084
|
!(utils$1.isUndefined(g) || g === null) && t.append(
|
|
6085
6085
|
// eslint-disable-next-line no-nested-ternary
|
|
6086
|
-
s === !0 ? renderKey([
|
|
6086
|
+
s === !0 ? renderKey([w], v, i) : s === null ? w : w + "[]",
|
|
6087
6087
|
u(g)
|
|
6088
6088
|
);
|
|
6089
6089
|
}), !1;
|
|
6090
6090
|
}
|
|
6091
|
-
return isVisitable(y) ? !0 : (t.append(renderKey(E,
|
|
6091
|
+
return isVisitable(y) ? !0 : (t.append(renderKey(E, w, i), u(y)), !1);
|
|
6092
6092
|
}
|
|
6093
6093
|
const d = [], m = Object.assign(predicates, {
|
|
6094
6094
|
defaultVisitor: c,
|
|
6095
6095
|
convertValue: u,
|
|
6096
6096
|
isVisitable
|
|
6097
6097
|
});
|
|
6098
|
-
function C(y,
|
|
6098
|
+
function C(y, w) {
|
|
6099
6099
|
if (!utils$1.isUndefined(y)) {
|
|
6100
6100
|
if (d.indexOf(y) !== -1)
|
|
6101
|
-
throw Error("Circular reference detected in " +
|
|
6101
|
+
throw Error("Circular reference detected in " + w.join("."));
|
|
6102
6102
|
d.push(y), utils$1.forEach(y, function(p, f) {
|
|
6103
6103
|
(!(utils$1.isUndefined(p) || p === null) && n.call(
|
|
6104
6104
|
t,
|
|
6105
6105
|
p,
|
|
6106
6106
|
utils$1.isString(f) ? f.trim() : f,
|
|
6107
|
-
|
|
6107
|
+
w,
|
|
6108
6108
|
m
|
|
6109
|
-
)) === !0 && C(p,
|
|
6109
|
+
)) === !0 && C(p, w ? w.concat(f) : [f]);
|
|
6110
6110
|
}), d.pop();
|
|
6111
6111
|
}
|
|
6112
6112
|
}
|
|
@@ -6788,7 +6788,7 @@ const resolveConfig = (e) => {
|
|
|
6788
6788
|
return;
|
|
6789
6789
|
const C = AxiosHeaders$1.from(
|
|
6790
6790
|
"getAllResponseHeaders" in c && c.getAllResponseHeaders()
|
|
6791
|
-
),
|
|
6791
|
+
), w = {
|
|
6792
6792
|
data: !l || l === "text" || l === "json" ? c.responseText : c.response,
|
|
6793
6793
|
status: c.status,
|
|
6794
6794
|
statusText: c.statusText,
|
|
@@ -6800,7 +6800,7 @@ const resolveConfig = (e) => {
|
|
|
6800
6800
|
o(p), u();
|
|
6801
6801
|
}, function(p) {
|
|
6802
6802
|
r(p), u();
|
|
6803
|
-
},
|
|
6803
|
+
}, w), c = null;
|
|
6804
6804
|
}
|
|
6805
6805
|
"onloadend" in c ? c.onloadend = d : c.onreadystatechange = function() {
|
|
6806
6806
|
!c || c.readyState !== 4 || c.status === 0 && !(c.responseURL && c.responseURL.indexOf("file:") === 0) || setTimeout(d);
|
|
@@ -6810,15 +6810,15 @@ const resolveConfig = (e) => {
|
|
|
6810
6810
|
r(new AxiosError("Network Error", AxiosError.ERR_NETWORK, n, c)), c = null;
|
|
6811
6811
|
}, c.ontimeout = function() {
|
|
6812
6812
|
let y = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
|
|
6813
|
-
const
|
|
6813
|
+
const w = n.transitional || transitionalDefaults;
|
|
6814
6814
|
n.timeoutErrorMessage && (y = n.timeoutErrorMessage), r(new AxiosError(
|
|
6815
6815
|
y,
|
|
6816
|
-
|
|
6816
|
+
w.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
6817
6817
|
n,
|
|
6818
6818
|
c
|
|
6819
6819
|
)), c = null;
|
|
6820
|
-
}, i === void 0 && s.setContentType(null), "setRequestHeader" in c && utils$1.forEach(s.toJSON(), function(y,
|
|
6821
|
-
c.setRequestHeader(
|
|
6820
|
+
}, i === void 0 && s.setContentType(null), "setRequestHeader" in c && utils$1.forEach(s.toJSON(), function(y, w) {
|
|
6821
|
+
c.setRequestHeader(w, y);
|
|
6822
6822
|
}), 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 = (C) => {
|
|
6823
6823
|
c && (r(!C || C.type ? new CanceledError(null, e, c) : C), c.abort(), c = null);
|
|
6824
6824
|
}, n.cancelToken && n.cancelToken.subscribe(a), n.signal && (n.signal.aborted ? a() : n.signal.addEventListener("abort", a)));
|
|
@@ -6945,11 +6945,11 @@ const getBodyLength = async (e) => {
|
|
|
6945
6945
|
fetchOptions: m
|
|
6946
6946
|
} = resolveConfig(e);
|
|
6947
6947
|
u = u ? (u + "").toLowerCase() : "text";
|
|
6948
|
-
let [C, y] = n || i || s ? composeSignals$1([n, i], s) : [],
|
|
6948
|
+
let [C, y] = n || i || s ? composeSignals$1([n, i], s) : [], w, E;
|
|
6949
6949
|
const p = () => {
|
|
6950
|
-
!
|
|
6950
|
+
!w && setTimeout(() => {
|
|
6951
6951
|
C && C.unsubscribe();
|
|
6952
|
-
}),
|
|
6952
|
+
}), w = !0;
|
|
6953
6953
|
};
|
|
6954
6954
|
let f;
|
|
6955
6955
|
try {
|
|
@@ -7179,12 +7179,12 @@ class Axios {
|
|
|
7179
7179
|
), o.headers = AxiosHeaders$1.concat(s, i);
|
|
7180
7180
|
const l = [];
|
|
7181
7181
|
let a = !0;
|
|
7182
|
-
this.interceptors.request.forEach(function(
|
|
7183
|
-
typeof
|
|
7182
|
+
this.interceptors.request.forEach(function(w) {
|
|
7183
|
+
typeof w.runWhen == "function" && w.runWhen(o) === !1 || (a = a && w.synchronous, l.unshift(w.fulfilled, w.rejected));
|
|
7184
7184
|
});
|
|
7185
7185
|
const u = [];
|
|
7186
|
-
this.interceptors.response.forEach(function(
|
|
7187
|
-
u.push(
|
|
7186
|
+
this.interceptors.response.forEach(function(w) {
|
|
7187
|
+
u.push(w.fulfilled, w.rejected);
|
|
7188
7188
|
});
|
|
7189
7189
|
let c, d = 0, m;
|
|
7190
7190
|
if (!a) {
|
|
@@ -7196,11 +7196,11 @@ class Axios {
|
|
|
7196
7196
|
m = l.length;
|
|
7197
7197
|
let C = o;
|
|
7198
7198
|
for (d = 0; d < m; ) {
|
|
7199
|
-
const y = l[d++],
|
|
7199
|
+
const y = l[d++], w = l[d++];
|
|
7200
7200
|
try {
|
|
7201
7201
|
C = y(C);
|
|
7202
7202
|
} catch (E) {
|
|
7203
|
-
|
|
7203
|
+
w.call(this, E);
|
|
7204
7204
|
break;
|
|
7205
7205
|
}
|
|
7206
7206
|
}
|
|
@@ -8110,7 +8110,13 @@ const en = {
|
|
|
8110
8110
|
newAutoTask: "New Auto Task",
|
|
8111
8111
|
propertiesOfAutoTask: "Properties Of Auto Task",
|
|
8112
8112
|
custombeanName: "Custom Bean Name",
|
|
8113
|
-
baseField: "Base Field"
|
|
8113
|
+
baseField: "Base Field",
|
|
8114
|
+
reminderTipTemplateMsg: "Template Description:",
|
|
8115
|
+
reminderTipRemindMsg: "Reminder Description:",
|
|
8116
|
+
reminderTipTemplateNotice: 'Notification templates: DingTalk, Enterprise WeChat, Feishu, and Customization all use notification templates. When using email, if "email template" is not selected, use notification template',
|
|
8117
|
+
reminderTipTemplateEmail: "Email Template: Customized Email Template",
|
|
8118
|
+
reminderTipRemindImmediately: "The reminder method, notification template, email template, maximum number of reminders, notification method, notification personnel, and transfer personnel will take effect immediately after modification",
|
|
8119
|
+
reminderTipRemindHistory: "The processing time limit, processing time granularity (days/hours), reminder interval, reminder interval time granularity (days/hours) are only effective for newly initiated processes. If historical data also requires the latest configuration, please contact the operation and maintenance personnel to adjust"
|
|
8114
8120
|
},
|
|
8115
8121
|
// 流向属性
|
|
8116
8122
|
transition: {
|
|
@@ -8617,7 +8623,13 @@ const en = {
|
|
|
8617
8623
|
newAutoTask: "新自动任务",
|
|
8618
8624
|
propertiesOfAutoTask: "自动任务的属性",
|
|
8619
8625
|
custombeanName: "自定义bean",
|
|
8620
|
-
baseField: "基础字段"
|
|
8626
|
+
baseField: "基础字段",
|
|
8627
|
+
reminderTipTemplateMsg: "模板说明:",
|
|
8628
|
+
reminderTipRemindMsg: "催办说明:",
|
|
8629
|
+
reminderTipTemplateNotice: "通知模板:钉钉、企微、飞书、自定义都使用通知模板。邮件方式时,如果没有选“邮件模板”,则使用通知模板",
|
|
8630
|
+
reminderTipTemplateEmail: "邮件模板:邮件方式特制模板",
|
|
8631
|
+
reminderTipRemindImmediately: "催办方式、通知模板、邮件模板、催办次数、通知方式、通知人员、移交人员 修改后立即生效",
|
|
8632
|
+
reminderTipRemindHistory: "办理时限、办理时限的时间粒度(天/小时)、催办间隔、催办间隔的时间粒度(天/小时)仅对新发起的流程生效,如历史数据也需要应用最新配置,请联系运维人员调整"
|
|
8621
8633
|
},
|
|
8622
8634
|
// 流向属性
|
|
8623
8635
|
transition: {
|
|
@@ -10113,7 +10125,7 @@ const HumanTask = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["render", _sfc_r
|
|
|
10113
10125
|
]),
|
|
10114
10126
|
...tacheMethods
|
|
10115
10127
|
}
|
|
10116
|
-
}, _hoisted_1$L = ["width", "height", "x", "y"], _hoisted_2$t = ["x", "y", "width", "height"], _hoisted_3$
|
|
10128
|
+
}, _hoisted_1$L = ["width", "height", "x", "y"], _hoisted_2$t = ["x", "y", "width", "height"], _hoisted_3$d = ["x", "y"];
|
|
10117
10129
|
function _sfc_render$1f(e, t, o, r, n, i) {
|
|
10118
10130
|
const s = resolveComponent("joint");
|
|
10119
10131
|
return openBlock(), createElementBlock("g", {
|
|
@@ -10146,7 +10158,7 @@ function _sfc_render$1f(e, t, o, r, n, i) {
|
|
|
10146
10158
|
y: i.text.y,
|
|
10147
10159
|
"text-anchor": "middle",
|
|
10148
10160
|
class: "draggable"
|
|
10149
|
-
}, toDisplayString$1(n.name), 9, _hoisted_3$
|
|
10161
|
+
}, toDisplayString$1(n.name), 9, _hoisted_3$d),
|
|
10150
10162
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.jointPoints, (l) => (openBlock(), createBlock(s, {
|
|
10151
10163
|
key: l,
|
|
10152
10164
|
parent: o.model,
|
|
@@ -10360,7 +10372,7 @@ const CustomTask = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["render", _sfc_
|
|
|
10360
10372
|
]),
|
|
10361
10373
|
...tacheMethods
|
|
10362
10374
|
}
|
|
10363
|
-
}, _hoisted_1$I = ["width", "height", "x", "y"], _hoisted_2$q = ["x", "y", "width", "height"], _hoisted_3$
|
|
10375
|
+
}, _hoisted_1$I = ["width", "height", "x", "y"], _hoisted_2$q = ["x", "y", "width", "height"], _hoisted_3$c = ["x", "y"];
|
|
10364
10376
|
function _sfc_render$1c(e, t, o, r, n, i) {
|
|
10365
10377
|
const s = resolveComponent("joint");
|
|
10366
10378
|
return openBlock(), createElementBlock("g", {
|
|
@@ -10393,7 +10405,7 @@ function _sfc_render$1c(e, t, o, r, n, i) {
|
|
|
10393
10405
|
y: i.text.y,
|
|
10394
10406
|
"text-anchor": "middle",
|
|
10395
10407
|
class: "draggable"
|
|
10396
|
-
}, toDisplayString$1(n.name), 9, _hoisted_3$
|
|
10408
|
+
}, toDisplayString$1(n.name), 9, _hoisted_3$c),
|
|
10397
10409
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.jointPoints, (l) => (openBlock(), createBlock(s, {
|
|
10398
10410
|
key: l,
|
|
10399
10411
|
parent: o.model,
|
|
@@ -10437,7 +10449,7 @@ const Fork = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["render", _sfc_render
|
|
|
10437
10449
|
]),
|
|
10438
10450
|
...tacheMethods
|
|
10439
10451
|
}
|
|
10440
|
-
}, _hoisted_1$H = ["width", "height", "x", "y"], _hoisted_2$p = ["x", "y", "width", "height"], _hoisted_3$
|
|
10452
|
+
}, _hoisted_1$H = ["width", "height", "x", "y"], _hoisted_2$p = ["x", "y", "width", "height"], _hoisted_3$b = ["x", "y"];
|
|
10441
10453
|
function _sfc_render$1b(e, t, o, r, n, i) {
|
|
10442
10454
|
const s = resolveComponent("joint");
|
|
10443
10455
|
return openBlock(), createElementBlock("g", {
|
|
@@ -10470,7 +10482,7 @@ function _sfc_render$1b(e, t, o, r, n, i) {
|
|
|
10470
10482
|
y: i.text.y,
|
|
10471
10483
|
"text-anchor": "middle",
|
|
10472
10484
|
class: "draggable"
|
|
10473
|
-
}, toDisplayString$1(o.model.name), 9, _hoisted_3$
|
|
10485
|
+
}, toDisplayString$1(o.model.name), 9, _hoisted_3$b),
|
|
10474
10486
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.jointPoints, (l) => (openBlock(), createBlock(s, {
|
|
10475
10487
|
key: l,
|
|
10476
10488
|
parent: o.model,
|
|
@@ -10524,7 +10536,7 @@ const Join = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render
|
|
|
10524
10536
|
]),
|
|
10525
10537
|
...tacheMethods
|
|
10526
10538
|
}
|
|
10527
|
-
}, _hoisted_1$G = ["width", "height", "x", "y"], _hoisted_2$o = ["x", "y", "width", "height"], _hoisted_3$
|
|
10539
|
+
}, _hoisted_1$G = ["width", "height", "x", "y"], _hoisted_2$o = ["x", "y", "width", "height"], _hoisted_3$a = ["x", "y"];
|
|
10528
10540
|
function _sfc_render$1a(e, t, o, r, n, i) {
|
|
10529
10541
|
const s = resolveComponent("joint");
|
|
10530
10542
|
return openBlock(), createElementBlock("g", {
|
|
@@ -10557,7 +10569,7 @@ function _sfc_render$1a(e, t, o, r, n, i) {
|
|
|
10557
10569
|
y: i.text.y,
|
|
10558
10570
|
"text-anchor": "middle",
|
|
10559
10571
|
class: "draggable"
|
|
10560
|
-
}, toDisplayString$1(n.name), 9, _hoisted_3$
|
|
10572
|
+
}, toDisplayString$1(n.name), 9, _hoisted_3$a),
|
|
10561
10573
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.jointPoints, (l) => (openBlock(), createBlock(s, {
|
|
10562
10574
|
key: l,
|
|
10563
10575
|
parent: o.model,
|
|
@@ -10804,7 +10816,7 @@ const StraightLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["render", _sf
|
|
|
10804
10816
|
this.setControlPointToMove(null);
|
|
10805
10817
|
}
|
|
10806
10818
|
}
|
|
10807
|
-
}, _hoisted_1$C = ["d"], _hoisted_2$l = ["d"], _hoisted_3$
|
|
10819
|
+
}, _hoisted_1$C = ["d"], _hoisted_2$l = ["d"], _hoisted_3$9 = ["d"], _hoisted_4$4 = ["cx", "cy"];
|
|
10808
10820
|
function _sfc_render$16(e, t, o, r, n, i) {
|
|
10809
10821
|
return openBlock(), createElementBlock("g", null, [
|
|
10810
10822
|
createElementVNode("path", {
|
|
@@ -10819,7 +10831,7 @@ function _sfc_render$16(e, t, o, r, n, i) {
|
|
|
10819
10831
|
createElementVNode("path", {
|
|
10820
10832
|
d: i.pathToEndPoint,
|
|
10821
10833
|
class: "control-line"
|
|
10822
|
-
}, null, 8, _hoisted_3$
|
|
10834
|
+
}, null, 8, _hoisted_3$9),
|
|
10823
10835
|
createElementVNode("circle", {
|
|
10824
10836
|
cx: i.controlPoint.x,
|
|
10825
10837
|
cy: i.controlPoint.y,
|
|
@@ -10827,7 +10839,7 @@ function _sfc_render$16(e, t, o, r, n, i) {
|
|
|
10827
10839
|
class: "control-point",
|
|
10828
10840
|
onMousedown: t[0] || (t[0] = withModifiers((...s) => i.startDrag && i.startDrag(...s), ["stop"])),
|
|
10829
10841
|
onMouseup: t[1] || (t[1] = withModifiers((...s) => i.endDrag && i.endDrag(...s), ["stop"]))
|
|
10830
|
-
}, null, 40, _hoisted_4$
|
|
10842
|
+
}, null, 40, _hoisted_4$4)
|
|
10831
10843
|
], 64)) : createCommentVNode("", !0)
|
|
10832
10844
|
]);
|
|
10833
10845
|
}
|
|
@@ -11000,7 +11012,7 @@ const BrokenLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["render", _sfc_
|
|
|
11000
11012
|
this.model.endJoint.parent.type !== "Decision" && this.setPropertiesEditorFor("Transition");
|
|
11001
11013
|
}
|
|
11002
11014
|
}
|
|
11003
|
-
}, _hoisted_1$A = ["x", "y"], _hoisted_2$j = { key: 0 }, _hoisted_3$
|
|
11015
|
+
}, _hoisted_1$A = ["x", "y"], _hoisted_2$j = { key: 0 }, _hoisted_3$8 = ["cx", "cy", "onMousedown"];
|
|
11004
11016
|
function _sfc_render$14(e, t, o, r, n, i) {
|
|
11005
11017
|
return openBlock(), createElementBlock("g", {
|
|
11006
11018
|
class: normalizeClass({ "no-events": e.draggerToMove != null }),
|
|
@@ -11026,7 +11038,7 @@ function _sfc_render$14(e, t, o, r, n, i) {
|
|
|
11026
11038
|
r: "4",
|
|
11027
11039
|
onMousedown: withModifiers((l) => i.startDrag(l, s.position), ["stop"]),
|
|
11028
11040
|
onMouseup: t[0] || (t[0] = (...l) => i.endDrag && i.endDrag(...l))
|
|
11029
|
-
}, null, 40, _hoisted_3$
|
|
11041
|
+
}, null, 40, _hoisted_3$8))), 128))
|
|
11030
11042
|
])) : createCommentVNode("", !0)
|
|
11031
11043
|
], 34);
|
|
11032
11044
|
}
|
|
@@ -11141,7 +11153,7 @@ const SelectionRegion = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["render",
|
|
|
11141
11153
|
this.searchFormCode && this.searchFormCode !== "" ? this.showFields = this.copyAllFields.filter((e) => e.name.indexOf(this.searchFormCode) > -1 || e.label.indexOf(this.searchFormCode) > -1) : this.showFields = this.copyAllFields;
|
|
11142
11154
|
}
|
|
11143
11155
|
}
|
|
11144
|
-
}, _hoisted_1$x = { style: { "padding-bottom": "10px" } }, _hoisted_2$i = { style: { float: "left", width: "70%" } }, _hoisted_3$
|
|
11156
|
+
}, _hoisted_1$x = { style: { "padding-bottom": "10px" } }, _hoisted_2$i = { style: { float: "left", width: "70%" } }, _hoisted_3$7 = { class: "item-content" };
|
|
11145
11157
|
function _sfc_render$11(e, t, o, r, n, i) {
|
|
11146
11158
|
const s = resolveComponent("el-input"), l = resolveComponent("el-button"), a = resolveComponent("el-radio"), u = resolveComponent("el-radio-group"), c = resolveComponent("el-dialog");
|
|
11147
11159
|
return openBlock(), createBlock(c, {
|
|
@@ -11198,7 +11210,7 @@ function _sfc_render$11(e, t, o, r, n, i) {
|
|
|
11198
11210
|
}, 8, ["onClick"])
|
|
11199
11211
|
])
|
|
11200
11212
|
]),
|
|
11201
|
-
createElementVNode("div", _hoisted_3$
|
|
11213
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
11202
11214
|
createVNode(u, {
|
|
11203
11215
|
modelValue: n.selectedField,
|
|
11204
11216
|
"onUpdate:modelValue": t[1] || (t[1] = (d) => n.selectedField = d),
|
|
@@ -12265,7 +12277,7 @@ const systemRoleTreeInline_vue_vue_type_style_index_0_lang = "", __default__$5 =
|
|
|
12265
12277
|
}
|
|
12266
12278
|
};
|
|
12267
12279
|
function _sfc_render$$(e, t, o, r, n, i) {
|
|
12268
|
-
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"), C = resolveComponent("el-col"), y = resolveComponent("el-collapse-item"),
|
|
12280
|
+
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"), C = resolveComponent("el-col"), y = resolveComponent("el-collapse-item"), w = resolveComponent("el-collapse"), E = resolveComponent("el-radio-group"), p = resolveComponent("el-tabs"), f = resolveComponent("el-button"), g = resolveComponent("el-dialog");
|
|
12269
12281
|
return openBlock(), createBlock(g, {
|
|
12270
12282
|
title: n.titleName,
|
|
12271
12283
|
"model-value": "",
|
|
@@ -12396,7 +12408,7 @@ function _sfc_render$$(e, t, o, r, n, i) {
|
|
|
12396
12408
|
]),
|
|
12397
12409
|
_: 1
|
|
12398
12410
|
}),
|
|
12399
|
-
createVNode(
|
|
12411
|
+
createVNode(w, {
|
|
12400
12412
|
modelValue: n.activeNames,
|
|
12401
12413
|
"onUpdate:modelValue": t[1] || (t[1] = (v) => n.activeNames = v),
|
|
12402
12414
|
style: { width: "100%" }
|
|
@@ -12657,9 +12669,9 @@ function _sfc_render$_(e, t, o, r, n, i) {
|
|
|
12657
12669
|
default: withCtx((y) => [
|
|
12658
12670
|
createVNode(u, {
|
|
12659
12671
|
modelValue: y.row.leftBracket,
|
|
12660
|
-
"onUpdate:modelValue": (
|
|
12672
|
+
"onUpdate:modelValue": (w) => y.row.leftBracket = w,
|
|
12661
12673
|
placeholder: "",
|
|
12662
|
-
onFocus: (
|
|
12674
|
+
onFocus: (w) => i.selectRow(y.row)
|
|
12663
12675
|
}, {
|
|
12664
12676
|
default: withCtx(() => [
|
|
12665
12677
|
createVNode(a, {
|
|
@@ -12691,7 +12703,7 @@ function _sfc_render$_(e, t, o, r, n, i) {
|
|
|
12691
12703
|
default: withCtx((y) => [
|
|
12692
12704
|
createVNode(d, {
|
|
12693
12705
|
value: i.format(y.row.key),
|
|
12694
|
-
onClick: (
|
|
12706
|
+
onClick: (w) => i.selectField(y.row)
|
|
12695
12707
|
}, null, 8, ["value", "onClick"])
|
|
12696
12708
|
]),
|
|
12697
12709
|
_: 1
|
|
@@ -12703,15 +12715,15 @@ function _sfc_render$_(e, t, o, r, n, i) {
|
|
|
12703
12715
|
default: withCtx((y) => [
|
|
12704
12716
|
createVNode(u, {
|
|
12705
12717
|
modelValue: y.row.operator,
|
|
12706
|
-
"onUpdate:modelValue": (
|
|
12718
|
+
"onUpdate:modelValue": (w) => y.row.operator = w,
|
|
12707
12719
|
placeholder: "",
|
|
12708
|
-
onFocus: (
|
|
12720
|
+
onFocus: (w) => i.selectRow(y.row)
|
|
12709
12721
|
}, {
|
|
12710
12722
|
default: withCtx(() => [
|
|
12711
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.getOperatorOptions(y.row.key), (
|
|
12712
|
-
key:
|
|
12713
|
-
label:
|
|
12714
|
-
value:
|
|
12723
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.getOperatorOptions(y.row.key), (w) => (openBlock(), createBlock(a, {
|
|
12724
|
+
key: w.name,
|
|
12725
|
+
label: w.label,
|
|
12726
|
+
value: w.name
|
|
12715
12727
|
}, null, 8, ["label", "value"]))), 128))
|
|
12716
12728
|
]),
|
|
12717
12729
|
_: 2
|
|
@@ -12726,12 +12738,12 @@ function _sfc_render$_(e, t, o, r, n, i) {
|
|
|
12726
12738
|
y.row.key.indexOf("${field[") >= 0 || i.isTransitionOtherField(y.row.key) ? (openBlock(), createBlock(d, {
|
|
12727
12739
|
key: 0,
|
|
12728
12740
|
modelValue: y.row.value,
|
|
12729
|
-
"onUpdate:modelValue": (
|
|
12741
|
+
"onUpdate:modelValue": (w) => y.row.value = w,
|
|
12730
12742
|
modelModifiers: { trim: !0 }
|
|
12731
12743
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : y.row.key === "${approvalResult}" ? (openBlock(), createBlock(u, {
|
|
12732
12744
|
key: 1,
|
|
12733
12745
|
modelValue: y.row.value,
|
|
12734
|
-
"onUpdate:modelValue": (
|
|
12746
|
+
"onUpdate:modelValue": (w) => y.row.value = w,
|
|
12735
12747
|
modelModifiers: { trim: !0 }
|
|
12736
12748
|
}, {
|
|
12737
12749
|
default: withCtx(() => [
|
|
@@ -12763,7 +12775,7 @@ function _sfc_render$_(e, t, o, r, n, i) {
|
|
|
12763
12775
|
default: withCtx((y) => [
|
|
12764
12776
|
createVNode(u, {
|
|
12765
12777
|
modelValue: y.row.rightBracket,
|
|
12766
|
-
"onUpdate:modelValue": (
|
|
12778
|
+
"onUpdate:modelValue": (w) => y.row.rightBracket = w,
|
|
12767
12779
|
placeholder: ""
|
|
12768
12780
|
}, {
|
|
12769
12781
|
default: withCtx(() => [
|
|
@@ -12797,9 +12809,9 @@ function _sfc_render$_(e, t, o, r, n, i) {
|
|
|
12797
12809
|
default: withCtx((y) => [
|
|
12798
12810
|
createVNode(u, {
|
|
12799
12811
|
modelValue: y.row.logicOperator,
|
|
12800
|
-
"onUpdate:modelValue": (
|
|
12812
|
+
"onUpdate:modelValue": (w) => y.row.logicOperator = w,
|
|
12801
12813
|
placeholder: e.$t("workflowEditorMessage.pleaseSelect"),
|
|
12802
|
-
onFocus: (
|
|
12814
|
+
onFocus: (w) => i.selectRow(y.row)
|
|
12803
12815
|
}, {
|
|
12804
12816
|
default: withCtx(() => [
|
|
12805
12817
|
createVNode(a, {
|
|
@@ -13587,7 +13599,7 @@ const SelectMailTemplates = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render
|
|
|
13587
13599
|
}
|
|
13588
13600
|
}, _withScopeId = (e) => (pushScopeId("data-v-a219b06d"), e = e(), popScopeId(), e), _hoisted_1$s = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "percent" }, " % ", -1));
|
|
13589
13601
|
function _sfc_render$V(e, t, o, r, n, i) {
|
|
13590
|
-
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"), C = resolveComponent("select-mail-templates"), y = resolveComponent("el-radio"),
|
|
13602
|
+
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"), C = resolveComponent("select-mail-templates"), y = resolveComponent("el-radio"), w = resolveComponent("el-radio-group"), E = resolveComponent("el-input-number"), p = resolveComponent("custom-actions"), f = resolveComponent("el-form");
|
|
13591
13603
|
return openBlock(), createBlock(f, {
|
|
13592
13604
|
model: n.formModel,
|
|
13593
13605
|
"label-width": "110px"
|
|
@@ -13696,7 +13708,7 @@ function _sfc_render$V(e, t, o, r, n, i) {
|
|
|
13696
13708
|
label: e.$t("workflowEditor.task.HandlingMethod")
|
|
13697
13709
|
}, {
|
|
13698
13710
|
default: withCtx(() => [
|
|
13699
|
-
createVNode(
|
|
13711
|
+
createVNode(w, {
|
|
13700
13712
|
modelValue: i.tache.processingMode.type,
|
|
13701
13713
|
"onUpdate:modelValue": t[7] || (t[7] = (g) => i.tache.processingMode.type = g)
|
|
13702
13714
|
}, {
|
|
@@ -13736,7 +13748,7 @@ function _sfc_render$V(e, t, o, r, n, i) {
|
|
|
13736
13748
|
label: e.$t("workflowEditorMessage.whenThereAreMultipleManagers")
|
|
13737
13749
|
}, {
|
|
13738
13750
|
default: withCtx(() => [
|
|
13739
|
-
createVNode(
|
|
13751
|
+
createVNode(w, {
|
|
13740
13752
|
modelValue: i.tache.processingMode.moreTransactor,
|
|
13741
13753
|
"onUpdate:modelValue": t[8] || (t[8] = (g) => i.tache.processingMode.moreTransactor = g)
|
|
13742
13754
|
}, {
|
|
@@ -13906,9 +13918,9 @@ const BasicProperties$5 = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render",
|
|
|
13906
13918
|
this.origin = t;
|
|
13907
13919
|
}
|
|
13908
13920
|
}
|
|
13909
|
-
}, _hoisted_1$r = ["title"], _hoisted_2$h = ["title"], _hoisted_3$
|
|
13921
|
+
}, _hoisted_1$r = ["title"], _hoisted_2$h = ["title"], _hoisted_3$6 = ["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"];
|
|
13910
13922
|
function _sfc_render$U(e, t, o, r, n, i) {
|
|
13911
|
-
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"), C = resolveComponent("el-radio-group"), y = resolveComponent("el-form-item"),
|
|
13923
|
+
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"), C = resolveComponent("el-radio-group"), y = resolveComponent("el-form-item"), w = resolveComponent("el-switch"), E = resolveComponent("additional-condition"), p = resolveComponent("el-form"), f = resolveComponent("el-button"), g = resolveComponent("el-dialog");
|
|
13912
13924
|
return openBlock(), createBlock(g, {
|
|
13913
13925
|
id: "appContainer",
|
|
13914
13926
|
width: "60%",
|
|
@@ -14009,7 +14021,7 @@ function _sfc_render$U(e, t, o, r, n, i) {
|
|
|
14009
14021
|
default: withCtx(() => [
|
|
14010
14022
|
createElementVNode("span", {
|
|
14011
14023
|
title: n.availableFields[k * 3 + 1].label
|
|
14012
|
-
}, toDisplayString$1(n.availableFields[k * 3 + 1].label), 9, _hoisted_3$
|
|
14024
|
+
}, toDisplayString$1(n.availableFields[k * 3 + 1].label), 9, _hoisted_3$6)
|
|
14013
14025
|
]),
|
|
14014
14026
|
_: 2
|
|
14015
14027
|
}, 1032, ["label", "onChange"])) : (openBlock(), createBlock(s, {
|
|
@@ -14025,7 +14037,7 @@ function _sfc_render$U(e, t, o, r, n, i) {
|
|
|
14025
14037
|
style: { color: "#409eff" },
|
|
14026
14038
|
class: "ellipsis",
|
|
14027
14039
|
title: n.availableFields[k * 3 + 1].label
|
|
14028
|
-
}, toDisplayString$1(n.availableFields[k * 3 + 1].label), 9, _hoisted_4$
|
|
14040
|
+
}, toDisplayString$1(n.availableFields[k * 3 + 1].label), 9, _hoisted_4$3)
|
|
14029
14041
|
]),
|
|
14030
14042
|
_: 2
|
|
14031
14043
|
}, 1032, ["label", "onChange"]))
|
|
@@ -14048,7 +14060,7 @@ function _sfc_render$U(e, t, o, r, n, i) {
|
|
|
14048
14060
|
default: withCtx(() => [
|
|
14049
14061
|
createElementVNode("span", {
|
|
14050
14062
|
title: n.availableFields[k * 3 + 2].label
|
|
14051
|
-
}, toDisplayString$1(n.availableFields[k * 3 + 2].label), 9, _hoisted_5$
|
|
14063
|
+
}, toDisplayString$1(n.availableFields[k * 3 + 2].label), 9, _hoisted_5$2)
|
|
14052
14064
|
]),
|
|
14053
14065
|
_: 2
|
|
14054
14066
|
}, 1032, ["label", "onChange"])) : (openBlock(), createBlock(s, {
|
|
@@ -14064,7 +14076,7 @@ function _sfc_render$U(e, t, o, r, n, i) {
|
|
|
14064
14076
|
style: { color: "#409eff" },
|
|
14065
14077
|
class: "ellipsis",
|
|
14066
14078
|
title: n.availableFields[k * 3 + 2].label
|
|
14067
|
-
}, toDisplayString$1(n.availableFields[k * 3 + 2].label), 9, _hoisted_6$
|
|
14079
|
+
}, toDisplayString$1(n.availableFields[k * 3 + 2].label), 9, _hoisted_6$2)
|
|
14068
14080
|
]),
|
|
14069
14081
|
_: 2
|
|
14070
14082
|
}, 1032, ["label", "onChange"]))
|
|
@@ -14106,7 +14118,7 @@ function _sfc_render$U(e, t, o, r, n, i) {
|
|
|
14106
14118
|
default: withCtx(() => [
|
|
14107
14119
|
createElementVNode("span", {
|
|
14108
14120
|
title: n.availableFields[k * 3 + 0].label
|
|
14109
|
-
}, toDisplayString$1(n.availableFields[k * 3 + 0].label), 9, _hoisted_7)
|
|
14121
|
+
}, toDisplayString$1(n.availableFields[k * 3 + 0].label), 9, _hoisted_7$1)
|
|
14110
14122
|
]),
|
|
14111
14123
|
_: 2
|
|
14112
14124
|
}, 1032, ["label", "onChange"])) : (openBlock(), createBlock(s, {
|
|
@@ -14122,7 +14134,7 @@ function _sfc_render$U(e, t, o, r, n, i) {
|
|
|
14122
14134
|
style: { color: "#409eff" },
|
|
14123
14135
|
class: "ellipsis",
|
|
14124
14136
|
title: n.availableFields[k * 3 + 0].label
|
|
14125
|
-
}, toDisplayString$1(n.availableFields[k * 3 + 0].label), 9, _hoisted_8)
|
|
14137
|
+
}, toDisplayString$1(n.availableFields[k * 3 + 0].label), 9, _hoisted_8$1)
|
|
14126
14138
|
]),
|
|
14127
14139
|
_: 2
|
|
14128
14140
|
}, 1032, ["label", "onChange"]))
|
|
@@ -14251,7 +14263,7 @@ function _sfc_render$U(e, t, o, r, n, i) {
|
|
|
14251
14263
|
label: e.$t("workflowEditor.task.additionalConditions")
|
|
14252
14264
|
}, {
|
|
14253
14265
|
default: withCtx(() => [
|
|
14254
|
-
createVNode(
|
|
14266
|
+
createVNode(w, {
|
|
14255
14267
|
modelValue: n.formModel.showCondition,
|
|
14256
14268
|
"onUpdate:modelValue": t[3] || (t[3] = (v) => n.formModel.showCondition = v)
|
|
14257
14269
|
}, null, 8, ["modelValue"]),
|
|
@@ -14423,10 +14435,10 @@ function _sfc_render$T(e, t, o, r, n, i) {
|
|
|
14423
14435
|
label: e.$t("workflowEditor.common.name"),
|
|
14424
14436
|
width: "180"
|
|
14425
14437
|
}, {
|
|
14426
|
-
default: withCtx((
|
|
14438
|
+
default: withCtx((w) => [
|
|
14427
14439
|
createElementVNode("span", {
|
|
14428
|
-
style: normalizeStyle({ color:
|
|
14429
|
-
}, toDisplayString$1(i.getFieldLabel(
|
|
14440
|
+
style: normalizeStyle({ color: w.row.name && w.row.name.indexOf("$") === 0 ? "#409EFF" : "" })
|
|
14441
|
+
}, toDisplayString$1(i.getFieldLabel(w.row)), 5)
|
|
14430
14442
|
]),
|
|
14431
14443
|
_: 1
|
|
14432
14444
|
}, 8, ["label"]),
|
|
@@ -14439,10 +14451,10 @@ function _sfc_render$T(e, t, o, r, n, i) {
|
|
|
14439
14451
|
prop: "constraintRule",
|
|
14440
14452
|
label: e.$t("workflowEditor.task.editingMethod")
|
|
14441
14453
|
}, {
|
|
14442
|
-
default: withCtx((
|
|
14454
|
+
default: withCtx((w) => [
|
|
14443
14455
|
createVNode(c, {
|
|
14444
|
-
modelValue:
|
|
14445
|
-
"onUpdate:modelValue": (E) =>
|
|
14456
|
+
modelValue: w.row.constraintRule,
|
|
14457
|
+
"onUpdate:modelValue": (E) => w.row.constraintRule = E
|
|
14446
14458
|
}, {
|
|
14447
14459
|
default: withCtx(() => [
|
|
14448
14460
|
createVNode(u, { label: "REQUIRED" }, {
|
|
@@ -14467,12 +14479,12 @@ function _sfc_render$T(e, t, o, r, n, i) {
|
|
|
14467
14479
|
prop: "condition",
|
|
14468
14480
|
label: e.$t("workflowEditor.task.condition")
|
|
14469
14481
|
}, {
|
|
14470
|
-
default: withCtx((
|
|
14482
|
+
default: withCtx((w) => [
|
|
14471
14483
|
createVNode(d, {
|
|
14472
|
-
value: i.formatCondition(
|
|
14484
|
+
value: i.formatCondition(w.row.condition),
|
|
14473
14485
|
type: "textarea",
|
|
14474
14486
|
autosize: "",
|
|
14475
|
-
onFocus: (E) => i.selectCondition(
|
|
14487
|
+
onFocus: (E) => i.selectCondition(w.row)
|
|
14476
14488
|
}, null, 8, ["value", "onFocus"])
|
|
14477
14489
|
]),
|
|
14478
14490
|
_: 1
|
|
@@ -14484,13 +14496,13 @@ function _sfc_render$T(e, t, o, r, n, i) {
|
|
|
14484
14496
|
key: 0,
|
|
14485
14497
|
"disabled-fields": n.disabledFields,
|
|
14486
14498
|
onInputValue: i.setSelectedFields,
|
|
14487
|
-
onClose: t[0] || (t[0] = (
|
|
14499
|
+
onClose: t[0] || (t[0] = (w) => n.showFieldSelection = !1)
|
|
14488
14500
|
}, null, 8, ["disabled-fields", "onInputValue"])) : createCommentVNode("", !0),
|
|
14489
14501
|
n.showAdditionalCondition ? (openBlock(), createBlock(y, {
|
|
14490
14502
|
key: 1,
|
|
14491
14503
|
modelValue: n.currentRow.condition,
|
|
14492
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
14493
|
-
onClose: t[2] || (t[2] = (
|
|
14504
|
+
"onUpdate:modelValue": t[1] || (t[1] = (w) => n.currentRow.condition = w),
|
|
14505
|
+
onClose: t[2] || (t[2] = (w) => n.showAdditionalCondition = !1)
|
|
14494
14506
|
}, null, 8, ["modelValue"])) : createCommentVNode("", !0)
|
|
14495
14507
|
]);
|
|
14496
14508
|
}
|
|
@@ -14962,9 +14974,9 @@ function _sfc_render$S(e, t, o, r, n, i) {
|
|
|
14962
14974
|
default: withCtx((y) => [
|
|
14963
14975
|
createVNode(u, {
|
|
14964
14976
|
modelValue: y.row.leftBracket,
|
|
14965
|
-
"onUpdate:modelValue": (
|
|
14977
|
+
"onUpdate:modelValue": (w) => y.row.leftBracket = w,
|
|
14966
14978
|
placeholder: "",
|
|
14967
|
-
onFocus: (
|
|
14979
|
+
onFocus: (w) => i.selectRow(y.row)
|
|
14968
14980
|
}, {
|
|
14969
14981
|
default: withCtx(() => [
|
|
14970
14982
|
createVNode(a, {
|
|
@@ -14996,9 +15008,9 @@ function _sfc_render$S(e, t, o, r, n, i) {
|
|
|
14996
15008
|
default: withCtx((y) => [
|
|
14997
15009
|
createVNode(u, {
|
|
14998
15010
|
modelValue: y.row.key,
|
|
14999
|
-
"onUpdate:modelValue": (
|
|
15011
|
+
"onUpdate:modelValue": (w) => y.row.key = w,
|
|
15000
15012
|
placeholder: "",
|
|
15001
|
-
onFocus: (
|
|
15013
|
+
onFocus: (w) => i.selectRow(y.row),
|
|
15002
15014
|
onChange: i.handleKeyChange
|
|
15003
15015
|
}, {
|
|
15004
15016
|
default: withCtx(() => [
|
|
@@ -15031,9 +15043,9 @@ function _sfc_render$S(e, t, o, r, n, i) {
|
|
|
15031
15043
|
default: withCtx((y) => [
|
|
15032
15044
|
createVNode(u, {
|
|
15033
15045
|
modelValue: y.row.operator,
|
|
15034
|
-
"onUpdate:modelValue": (
|
|
15046
|
+
"onUpdate:modelValue": (w) => y.row.operator = w,
|
|
15035
15047
|
placeholder: "",
|
|
15036
|
-
onFocus: (
|
|
15048
|
+
onFocus: (w) => i.selectRow(y.row)
|
|
15037
15049
|
}, {
|
|
15038
15050
|
default: withCtx(() => [
|
|
15039
15051
|
createVNode(a, {
|
|
@@ -15057,7 +15069,7 @@ function _sfc_render$S(e, t, o, r, n, i) {
|
|
|
15057
15069
|
createVNode(d, {
|
|
15058
15070
|
value: i.format(y.row.value),
|
|
15059
15071
|
readonly: "",
|
|
15060
|
-
onClick: (
|
|
15072
|
+
onClick: (w) => i.openValueDialog(y.row)
|
|
15061
15073
|
}, null, 8, ["value", "onClick"])
|
|
15062
15074
|
]),
|
|
15063
15075
|
_: 1
|
|
@@ -15071,7 +15083,7 @@ function _sfc_render$S(e, t, o, r, n, i) {
|
|
|
15071
15083
|
default: withCtx((y) => [
|
|
15072
15084
|
createVNode(u, {
|
|
15073
15085
|
modelValue: y.row.rightBracket,
|
|
15074
|
-
"onUpdate:modelValue": (
|
|
15086
|
+
"onUpdate:modelValue": (w) => y.row.rightBracket = w,
|
|
15075
15087
|
placeholder: ""
|
|
15076
15088
|
}, {
|
|
15077
15089
|
default: withCtx(() => [
|
|
@@ -15105,9 +15117,9 @@ function _sfc_render$S(e, t, o, r, n, i) {
|
|
|
15105
15117
|
default: withCtx((y) => [
|
|
15106
15118
|
createVNode(u, {
|
|
15107
15119
|
modelValue: y.row.logicOperator,
|
|
15108
|
-
"onUpdate:modelValue": (
|
|
15120
|
+
"onUpdate:modelValue": (w) => y.row.logicOperator = w,
|
|
15109
15121
|
placeholder: e.$t("workflowEditorMessage.pleaseSelect"),
|
|
15110
|
-
onFocus: (
|
|
15122
|
+
onFocus: (w) => i.selectRow(y.row)
|
|
15111
15123
|
}, {
|
|
15112
15124
|
default: withCtx(() => [
|
|
15113
15125
|
createVNode(a, {
|
|
@@ -15261,9 +15273,9 @@ const CommonUserCondition = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render
|
|
|
15261
15273
|
this.tableData[e] && this.tableData[e].propValue ? this.tableData[e].propValueType && (this.tableData[e].propValueType === "request" && (this.tableData[e].propValue.indexOf("${request.") === -1 && (this.tableData[e].propValue = "${request." + this.tableData[e].propValue), this.tableData[e].propValue.indexOf("}") === -1 && (this.tableData[e].propValue = this.tableData[e].propValue + "}")), this.tableData[e].propValueType === "input" && (this.tableData[e].propValue.indexOf("${input.") === -1 && (this.tableData[e].propValue = "${input." + this.tableData[e].propValue), this.tableData[e].propValue.indexOf("}") === -1 && (this.tableData[e].propValue = this.tableData[e].propValue + "}"))) : this.tableData[e].propValueType = null;
|
|
15262
15274
|
}
|
|
15263
15275
|
}
|
|
15264
|
-
}, _hoisted_1$p = { style: { "overflow-y": "auto", "max-height": "500px" } }, _hoisted_2$g = { class: "operation-area" }, _hoisted_3$
|
|
15276
|
+
}, _hoisted_1$p = { style: { "overflow-y": "auto", "max-height": "500px" } }, _hoisted_2$g = { class: "operation-area" }, _hoisted_3$5 = { class: "clearfix" }, _hoisted_4$2 = { class: "clearfix" };
|
|
15265
15277
|
function _sfc_render$R(e, t, o, r, n, i) {
|
|
15266
|
-
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"), C = resolveComponent("el-table-column"), y = resolveComponent("el-date-picker"),
|
|
15278
|
+
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"), C = resolveComponent("el-table-column"), y = resolveComponent("el-date-picker"), w = resolveComponent("el-input"), E = resolveComponent("el-table"), p = resolveComponent("el-dialog");
|
|
15267
15279
|
return openBlock(), createBlock(p, {
|
|
15268
15280
|
"show-close": !0,
|
|
15269
15281
|
"append-to-body": !0,
|
|
@@ -15292,7 +15304,7 @@ function _sfc_render$R(e, t, o, r, n, i) {
|
|
|
15292
15304
|
shadow: "never"
|
|
15293
15305
|
}, {
|
|
15294
15306
|
header: withCtx(() => [
|
|
15295
|
-
createElementVNode("div", _hoisted_3$
|
|
15307
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
15296
15308
|
createElementVNode("span", null, toDisplayString$1(e.$t("workflowEditor.condition.personnelScope")), 1)
|
|
15297
15309
|
])
|
|
15298
15310
|
]),
|
|
@@ -15312,7 +15324,7 @@ function _sfc_render$R(e, t, o, r, n, i) {
|
|
|
15312
15324
|
shadow: "never"
|
|
15313
15325
|
}, {
|
|
15314
15326
|
header: withCtx(() => [
|
|
15315
|
-
createElementVNode("div", _hoisted_4$
|
|
15327
|
+
createElementVNode("div", _hoisted_4$2, [
|
|
15316
15328
|
createElementVNode("span", null, toDisplayString$1(e.$t("workflowEditor.condition.mainTableConditions")), 1)
|
|
15317
15329
|
])
|
|
15318
15330
|
]),
|
|
@@ -15623,7 +15635,7 @@ function _sfc_render$R(e, t, o, r, n, i) {
|
|
|
15623
15635
|
type: "datetime",
|
|
15624
15636
|
onChange: (g) => i.changePropValue(f.$index)
|
|
15625
15637
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
15626
|
-
f.row.dataType !== "TIME" && f.row.dataType !== "DATE" && f.row.propValueType === "input" ? (openBlock(), createBlock(
|
|
15638
|
+
f.row.dataType !== "TIME" && f.row.dataType !== "DATE" && f.row.propValueType === "input" ? (openBlock(), createBlock(w, {
|
|
15627
15639
|
key: 5,
|
|
15628
15640
|
modelValue: f.row.propValue,
|
|
15629
15641
|
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
@@ -15633,7 +15645,7 @@ function _sfc_render$R(e, t, o, r, n, i) {
|
|
|
15633
15645
|
size: "small",
|
|
15634
15646
|
onChange: (g) => i.changePropValue(f.$index)
|
|
15635
15647
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : createCommentVNode("", !0),
|
|
15636
|
-
f.row.propValueType === "request" ? (openBlock(), createBlock(
|
|
15648
|
+
f.row.propValueType === "request" ? (openBlock(), createBlock(w, {
|
|
15637
15649
|
key: 6,
|
|
15638
15650
|
modelValue: f.row.propValue,
|
|
15639
15651
|
"onUpdate:modelValue": (g) => f.row.propValue = g,
|
|
@@ -15950,7 +15962,7 @@ const selectionConditions = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render
|
|
|
15950
15962
|
}
|
|
15951
15963
|
};
|
|
15952
15964
|
function _sfc_render$Q(e, t, o, r, n, i) {
|
|
15953
|
-
const s = resolveComponent("el-checkbox"), l = resolveComponent("el-col"), a = resolveComponent("el-checkbox-group"), u = resolveComponent("el-row"), c = resolveComponent("selection-conditions"), d = resolveComponent("el-button"), m = resolveComponent("el-table-column"), C = resolveComponent("el-option"), y = resolveComponent("el-select"),
|
|
15965
|
+
const s = resolveComponent("el-checkbox"), l = resolveComponent("el-col"), a = resolveComponent("el-checkbox-group"), u = resolveComponent("el-row"), c = resolveComponent("selection-conditions"), d = resolveComponent("el-button"), m = resolveComponent("el-table-column"), C = resolveComponent("el-option"), y = resolveComponent("el-select"), w = resolveComponent("el-radio"), E = resolveComponent("el-radio-group"), p = resolveComponent("Tools"), f = resolveComponent("el-icon"), g = resolveComponent("el-table");
|
|
15954
15966
|
return openBlock(), createElementBlock("div", null, [
|
|
15955
15967
|
createElementVNode("div", null, [
|
|
15956
15968
|
createVNode(u, null, {
|
|
@@ -16118,13 +16130,13 @@ function _sfc_render$Q(e, t, o, r, n, i) {
|
|
|
16118
16130
|
onChange: i.combinationParameters
|
|
16119
16131
|
}, {
|
|
16120
16132
|
default: withCtx(() => [
|
|
16121
|
-
createVNode(
|
|
16133
|
+
createVNode(w, { label: "REQUIRED" }, {
|
|
16122
16134
|
default: withCtx(() => [
|
|
16123
16135
|
createTextVNode(toDisplayString$1(e.$t("workflowEditorMessage.mustFill")), 1)
|
|
16124
16136
|
]),
|
|
16125
16137
|
_: 1
|
|
16126
16138
|
}),
|
|
16127
|
-
createVNode(
|
|
16139
|
+
createVNode(w, { label: "READ_ONLY" }, {
|
|
16128
16140
|
default: withCtx(() => [
|
|
16129
16141
|
createTextVNode(toDisplayString$1(e.$t("workflowEditorMessage.readOnly")), 1)
|
|
16130
16142
|
]),
|
|
@@ -16280,7 +16292,7 @@ const editableChildFieldSetting = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["
|
|
|
16280
16292
|
this.$emit("update:modelValue", this.selectedFields);
|
|
16281
16293
|
}
|
|
16282
16294
|
}
|
|
16283
|
-
}, _hoisted_1$o = { style: { width: "100%", "margin-top": "10px" } }, _hoisted_2$f = { class: "clearfix" }, _hoisted_3$
|
|
16295
|
+
}, _hoisted_1$o = { style: { width: "100%", "margin-top": "10px" } }, _hoisted_2$f = { class: "clearfix" }, _hoisted_3$4 = { key: 0 }, _hoisted_4$1 = { style: { color: "cornflowerblue" } }, _hoisted_5$1 = { style: { "padding-left": "5px" } }, _hoisted_6$1 = { key: 0 };
|
|
16284
16296
|
function _sfc_render$P(e, t, o, r, n, i) {
|
|
16285
16297
|
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");
|
|
16286
16298
|
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
@@ -16303,9 +16315,9 @@ function _sfc_render$P(e, t, o, r, n, i) {
|
|
|
16303
16315
|
default: withCtx(() => [
|
|
16304
16316
|
createVNode(l, {
|
|
16305
16317
|
modelValue: n.selectedFieldMap[y].sumPermission,
|
|
16306
|
-
"onUpdate:modelValue": (
|
|
16318
|
+
"onUpdate:modelValue": (w) => n.selectedFieldMap[y].sumPermission = w,
|
|
16307
16319
|
"inactive-text": e.$t("workflowEditor.condition.accessControl"),
|
|
16308
|
-
onChange: (
|
|
16320
|
+
onChange: (w) => i.changeSumPermission(y)
|
|
16309
16321
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "inactive-text", "onChange"])
|
|
16310
16322
|
]),
|
|
16311
16323
|
_: 2
|
|
@@ -16317,19 +16329,19 @@ function _sfc_render$P(e, t, o, r, n, i) {
|
|
|
16317
16329
|
default: withCtx(() => [
|
|
16318
16330
|
createVNode(s, null, {
|
|
16319
16331
|
default: withCtx(() => [
|
|
16320
|
-
n.selectedFieldMap[y] && n.selectedFieldMap[y].sumPermission ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
16321
|
-
createElementVNode("span", _hoisted_4, toDisplayString$1(e.$t("workflowEditor.condition.formBindingModel")) + ":", 1),
|
|
16322
|
-
createElementVNode("span", _hoisted_5, [
|
|
16332
|
+
n.selectedFieldMap[y] && n.selectedFieldMap[y].sumPermission ? (openBlock(), createElementBlock("span", _hoisted_3$4, [
|
|
16333
|
+
createElementVNode("span", _hoisted_4$1, toDisplayString$1(e.$t("workflowEditor.condition.formBindingModel")) + ":", 1),
|
|
16334
|
+
createElementVNode("span", _hoisted_5$1, [
|
|
16323
16335
|
createVNode(u, {
|
|
16324
16336
|
modelValue: n.selectedFieldMap[y].modelName,
|
|
16325
|
-
"onUpdate:modelValue": (
|
|
16337
|
+
"onUpdate:modelValue": (w) => n.selectedFieldMap[y].modelName = w,
|
|
16326
16338
|
style: { width: "300px" }
|
|
16327
16339
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
16328
16340
|
]),
|
|
16329
16341
|
createVNode(c, {
|
|
16330
16342
|
icon: "el-icon-refresh",
|
|
16331
16343
|
type: "text",
|
|
16332
|
-
onClick: (
|
|
16344
|
+
onClick: (w) => i.refreshModelName(y)
|
|
16333
16345
|
}, null, 8, ["onClick"])
|
|
16334
16346
|
])) : createCommentVNode("", !0)
|
|
16335
16347
|
]),
|
|
@@ -16339,7 +16351,7 @@ function _sfc_render$P(e, t, o, r, n, i) {
|
|
|
16339
16351
|
_: 2
|
|
16340
16352
|
}, 1024)
|
|
16341
16353
|
]),
|
|
16342
|
-
n.selectedFieldMap[y] && n.selectedFieldMap[y].sumPermission ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
16354
|
+
n.selectedFieldMap[y] && n.selectedFieldMap[y].sumPermission ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
16343
16355
|
createVNode(d, {
|
|
16344
16356
|
setting: n.selectedFieldMap[y],
|
|
16345
16357
|
"table-name": y,
|
|
@@ -16624,9 +16636,9 @@ const SystemRoleTree = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _s
|
|
|
16624
16636
|
}, _hoisted_1$n = {
|
|
16625
16637
|
key: 0,
|
|
16626
16638
|
style: { width: "100%", "vertical-align": "middle" }
|
|
16627
|
-
}, _hoisted_2$e = { class: "el-dropdown-link" }, _hoisted_3$
|
|
16639
|
+
}, _hoisted_2$e = { class: "el-dropdown-link" }, _hoisted_3$3 = /* @__PURE__ */ createElementVNode("i", { class: "fa fa-search" }, null, -1);
|
|
16628
16640
|
function _sfc_render$N(e, t, o, r, n, i) {
|
|
16629
|
-
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"), C = resolveComponent("el-row"), y = resolveComponent("el-input"),
|
|
16641
|
+
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"), C = resolveComponent("el-row"), y = resolveComponent("el-input"), w = resolveComponent("department-user-tree"), E = resolveComponent("department-tree"), p = resolveComponent("workgroup-tree"), f = resolveComponent("system-role-tree"), g = resolveComponent("form-fields"), v = resolveComponent("el-form-item");
|
|
16630
16642
|
return openBlock(), createBlock(v, {
|
|
16631
16643
|
label: o.label,
|
|
16632
16644
|
"label-width": o.labelWidth
|
|
@@ -16760,7 +16772,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
16760
16772
|
]),
|
|
16761
16773
|
default: withCtx(() => [
|
|
16762
16774
|
createElementVNode("span", _hoisted_2$e, [
|
|
16763
|
-
_hoisted_3$
|
|
16775
|
+
_hoisted_3$3,
|
|
16764
16776
|
createTextVNode(" " + toDisplayString$1(e.$t("workflowEditorPublicModel.choice")), 1)
|
|
16765
16777
|
])
|
|
16766
16778
|
]),
|
|
@@ -16809,7 +16821,7 @@ function _sfc_render$N(e, t, o, r, n, i) {
|
|
|
16809
16821
|
]),
|
|
16810
16822
|
_: 1
|
|
16811
16823
|
}),
|
|
16812
|
-
n.showSelectUser ? (openBlock(), createBlock(
|
|
16824
|
+
n.showSelectUser ? (openBlock(), createBlock(w, {
|
|
16813
16825
|
key: 0,
|
|
16814
16826
|
width: "60%",
|
|
16815
16827
|
multiple: !0,
|
|
@@ -16922,7 +16934,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
16922
16934
|
default: withCtx(() => [
|
|
16923
16935
|
createVNode(s, {
|
|
16924
16936
|
modelValue: n.formModel.editForm.permission,
|
|
16925
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
16937
|
+
"onUpdate:modelValue": t[0] || (t[0] = (w) => n.formModel.editForm.permission = w)
|
|
16926
16938
|
}, null, 8, ["modelValue"])
|
|
16927
16939
|
]),
|
|
16928
16940
|
_: 1
|
|
@@ -16932,12 +16944,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
16932
16944
|
n.formModel.editForm.permission ? (openBlock(), createBlock(a, {
|
|
16933
16945
|
key: 0,
|
|
16934
16946
|
modelValue: n.formModel.editForm.field,
|
|
16935
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
16947
|
+
"onUpdate:modelValue": t[1] || (t[1] = (w) => n.formModel.editForm.field = w)
|
|
16936
16948
|
}, null, 8, ["modelValue"])) : createCommentVNode("", !0),
|
|
16937
16949
|
n.formModel.editForm.permission ? (openBlock(), createBlock(u, {
|
|
16938
16950
|
key: 1,
|
|
16939
16951
|
modelValue: n.formModel.editForm.subTablePermission,
|
|
16940
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
16952
|
+
"onUpdate:modelValue": t[2] || (t[2] = (w) => n.formModel.editForm.subTablePermission = w)
|
|
16941
16953
|
}, null, 8, ["modelValue"])) : createCommentVNode("", !0)
|
|
16942
16954
|
]),
|
|
16943
16955
|
_: 1
|
|
@@ -16950,12 +16962,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
16950
16962
|
default: withCtx(() => [
|
|
16951
16963
|
createVNode(s, {
|
|
16952
16964
|
modelValue: n.formModel.viewOpinion.permission,
|
|
16953
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
16965
|
+
"onUpdate:modelValue": t[3] || (t[3] = (w) => n.formModel.viewOpinion.permission = w)
|
|
16954
16966
|
}, null, 8, ["modelValue"]),
|
|
16955
16967
|
n.formModel.viewOpinion.permission ? (openBlock(), createBlock(c, {
|
|
16956
16968
|
key: 0,
|
|
16957
16969
|
modelValue: n.formModel.viewOpinionCheckbox,
|
|
16958
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
16970
|
+
"onUpdate:modelValue": t[4] || (t[4] = (w) => n.formModel.viewOpinionCheckbox = w)
|
|
16959
16971
|
}, {
|
|
16960
16972
|
default: withCtx(() => [
|
|
16961
16973
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -16969,7 +16981,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
16969
16981
|
default: withCtx(() => [
|
|
16970
16982
|
createVNode(d, {
|
|
16971
16983
|
modelValue: n.formModel.viewOpinion.condition,
|
|
16972
|
-
"onUpdate:modelValue": t[5] || (t[5] = (
|
|
16984
|
+
"onUpdate:modelValue": t[5] || (t[5] = (w) => n.formModel.viewOpinion.condition = w)
|
|
16973
16985
|
}, null, 8, ["modelValue"])
|
|
16974
16986
|
]),
|
|
16975
16987
|
_: 1
|
|
@@ -16982,12 +16994,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
16982
16994
|
default: withCtx(() => [
|
|
16983
16995
|
createVNode(s, {
|
|
16984
16996
|
modelValue: n.formModel.editOpinion.permission,
|
|
16985
|
-
"onUpdate:modelValue": t[6] || (t[6] = (
|
|
16997
|
+
"onUpdate:modelValue": t[6] || (t[6] = (w) => n.formModel.editOpinion.permission = w)
|
|
16986
16998
|
}, null, 8, ["modelValue"]),
|
|
16987
16999
|
n.formModel.editOpinion.permission ? (openBlock(), createBlock(c, {
|
|
16988
17000
|
key: 0,
|
|
16989
17001
|
modelValue: n.formModel.editOpinionCheckbox,
|
|
16990
|
-
"onUpdate:modelValue": t[7] || (t[7] = (
|
|
17002
|
+
"onUpdate:modelValue": t[7] || (t[7] = (w) => n.formModel.editOpinionCheckbox = w)
|
|
16991
17003
|
}, {
|
|
16992
17004
|
default: withCtx(() => [
|
|
16993
17005
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -17001,7 +17013,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17001
17013
|
default: withCtx(() => [
|
|
17002
17014
|
createVNode(d, {
|
|
17003
17015
|
modelValue: n.formModel.editOpinion.condition,
|
|
17004
|
-
"onUpdate:modelValue": t[8] || (t[8] = (
|
|
17016
|
+
"onUpdate:modelValue": t[8] || (t[8] = (w) => n.formModel.editOpinion.condition = w)
|
|
17005
17017
|
}, null, 8, ["modelValue"])
|
|
17006
17018
|
]),
|
|
17007
17019
|
_: 1
|
|
@@ -17014,12 +17026,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17014
17026
|
default: withCtx(() => [
|
|
17015
17027
|
createVNode(s, {
|
|
17016
17028
|
modelValue: n.formModel.requireOpinion.permission,
|
|
17017
|
-
"onUpdate:modelValue": t[9] || (t[9] = (
|
|
17029
|
+
"onUpdate:modelValue": t[9] || (t[9] = (w) => n.formModel.requireOpinion.permission = w)
|
|
17018
17030
|
}, null, 8, ["modelValue"]),
|
|
17019
17031
|
n.formModel.requireOpinion.permission ? (openBlock(), createBlock(c, {
|
|
17020
17032
|
key: 0,
|
|
17021
17033
|
modelValue: n.formModel.requireOpinionCheckbox,
|
|
17022
|
-
"onUpdate:modelValue": t[10] || (t[10] = (
|
|
17034
|
+
"onUpdate:modelValue": t[10] || (t[10] = (w) => n.formModel.requireOpinionCheckbox = w)
|
|
17023
17035
|
}, {
|
|
17024
17036
|
default: withCtx(() => [
|
|
17025
17037
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -17033,7 +17045,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17033
17045
|
default: withCtx(() => [
|
|
17034
17046
|
createVNode(d, {
|
|
17035
17047
|
modelValue: n.formModel.requireOpinion.condition,
|
|
17036
|
-
"onUpdate:modelValue": t[11] || (t[11] = (
|
|
17048
|
+
"onUpdate:modelValue": t[11] || (t[11] = (w) => n.formModel.requireOpinion.condition = w)
|
|
17037
17049
|
}, null, 8, ["modelValue"])
|
|
17038
17050
|
]),
|
|
17039
17051
|
_: 1
|
|
@@ -17046,12 +17058,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17046
17058
|
default: withCtx(() => [
|
|
17047
17059
|
createVNode(s, {
|
|
17048
17060
|
modelValue: n.formModel.viewMeetingResult.permission,
|
|
17049
|
-
"onUpdate:modelValue": t[12] || (t[12] = (
|
|
17061
|
+
"onUpdate:modelValue": t[12] || (t[12] = (w) => n.formModel.viewMeetingResult.permission = w)
|
|
17050
17062
|
}, null, 8, ["modelValue"]),
|
|
17051
17063
|
n.formModel.viewMeetingResult.permission ? (openBlock(), createBlock(c, {
|
|
17052
17064
|
key: 0,
|
|
17053
17065
|
modelValue: n.formModel.viewMeetingResultCheckbox,
|
|
17054
|
-
"onUpdate:modelValue": t[13] || (t[13] = (
|
|
17066
|
+
"onUpdate:modelValue": t[13] || (t[13] = (w) => n.formModel.viewMeetingResultCheckbox = w)
|
|
17055
17067
|
}, {
|
|
17056
17068
|
default: withCtx(() => [
|
|
17057
17069
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -17065,7 +17077,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17065
17077
|
default: withCtx(() => [
|
|
17066
17078
|
createVNode(d, {
|
|
17067
17079
|
modelValue: n.formModel.viewMeetingResult.condition,
|
|
17068
|
-
"onUpdate:modelValue": t[14] || (t[14] = (
|
|
17080
|
+
"onUpdate:modelValue": t[14] || (t[14] = (w) => n.formModel.viewMeetingResult.condition = w)
|
|
17069
17081
|
}, null, 8, ["modelValue"])
|
|
17070
17082
|
]),
|
|
17071
17083
|
_: 1
|
|
@@ -17078,12 +17090,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17078
17090
|
default: withCtx(() => [
|
|
17079
17091
|
createVNode(s, {
|
|
17080
17092
|
modelValue: n.formModel.viewVoteResult.permission,
|
|
17081
|
-
"onUpdate:modelValue": t[15] || (t[15] = (
|
|
17093
|
+
"onUpdate:modelValue": t[15] || (t[15] = (w) => n.formModel.viewVoteResult.permission = w)
|
|
17082
17094
|
}, null, 8, ["modelValue"]),
|
|
17083
17095
|
n.formModel.viewVoteResult.permission ? (openBlock(), createBlock(c, {
|
|
17084
17096
|
key: 0,
|
|
17085
17097
|
modelValue: n.formModel.viewVoteResultCheckbox,
|
|
17086
|
-
"onUpdate:modelValue": t[16] || (t[16] = (
|
|
17098
|
+
"onUpdate:modelValue": t[16] || (t[16] = (w) => n.formModel.viewVoteResultCheckbox = w)
|
|
17087
17099
|
}, {
|
|
17088
17100
|
default: withCtx(() => [
|
|
17089
17101
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -17097,7 +17109,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17097
17109
|
default: withCtx(() => [
|
|
17098
17110
|
createVNode(d, {
|
|
17099
17111
|
modelValue: n.formModel.viewVoteResult.condition,
|
|
17100
|
-
"onUpdate:modelValue": t[17] || (t[17] = (
|
|
17112
|
+
"onUpdate:modelValue": t[17] || (t[17] = (w) => n.formModel.viewVoteResult.condition = w)
|
|
17101
17113
|
}, null, 8, ["modelValue"])
|
|
17102
17114
|
]),
|
|
17103
17115
|
_: 1
|
|
@@ -17110,12 +17122,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17110
17122
|
default: withCtx(() => [
|
|
17111
17123
|
createVNode(s, {
|
|
17112
17124
|
modelValue: n.formModel.viewFlowHistory.permission,
|
|
17113
|
-
"onUpdate:modelValue": t[18] || (t[18] = (
|
|
17125
|
+
"onUpdate:modelValue": t[18] || (t[18] = (w) => n.formModel.viewFlowHistory.permission = w)
|
|
17114
17126
|
}, null, 8, ["modelValue"]),
|
|
17115
17127
|
n.formModel.viewFlowHistory.permission ? (openBlock(), createBlock(c, {
|
|
17116
17128
|
key: 0,
|
|
17117
17129
|
modelValue: n.formModel.viewFlowHistoryCheckbox,
|
|
17118
|
-
"onUpdate:modelValue": t[19] || (t[19] = (
|
|
17130
|
+
"onUpdate:modelValue": t[19] || (t[19] = (w) => n.formModel.viewFlowHistoryCheckbox = w)
|
|
17119
17131
|
}, {
|
|
17120
17132
|
default: withCtx(() => [
|
|
17121
17133
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -17129,7 +17141,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17129
17141
|
default: withCtx(() => [
|
|
17130
17142
|
createVNode(d, {
|
|
17131
17143
|
modelValue: n.formModel.viewFlowHistory.condition,
|
|
17132
|
-
"onUpdate:modelValue": t[20] || (t[20] = (
|
|
17144
|
+
"onUpdate:modelValue": t[20] || (t[20] = (w) => n.formModel.viewFlowHistory.condition = w)
|
|
17133
17145
|
}, null, 8, ["modelValue"])
|
|
17134
17146
|
]),
|
|
17135
17147
|
_: 1
|
|
@@ -17142,12 +17154,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17142
17154
|
default: withCtx(() => [
|
|
17143
17155
|
createVNode(s, {
|
|
17144
17156
|
modelValue: n.formModel.printForm.permission,
|
|
17145
|
-
"onUpdate:modelValue": t[21] || (t[21] = (
|
|
17157
|
+
"onUpdate:modelValue": t[21] || (t[21] = (w) => n.formModel.printForm.permission = w)
|
|
17146
17158
|
}, null, 8, ["modelValue"]),
|
|
17147
17159
|
n.formModel.printForm.permission ? (openBlock(), createBlock(c, {
|
|
17148
17160
|
key: 0,
|
|
17149
17161
|
modelValue: n.formModel.printFormCheckbox,
|
|
17150
|
-
"onUpdate:modelValue": t[22] || (t[22] = (
|
|
17162
|
+
"onUpdate:modelValue": t[22] || (t[22] = (w) => n.formModel.printFormCheckbox = w)
|
|
17151
17163
|
}, {
|
|
17152
17164
|
default: withCtx(() => [
|
|
17153
17165
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -17161,7 +17173,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17161
17173
|
default: withCtx(() => [
|
|
17162
17174
|
createVNode(d, {
|
|
17163
17175
|
modelValue: n.formModel.printForm.condition,
|
|
17164
|
-
"onUpdate:modelValue": t[23] || (t[23] = (
|
|
17176
|
+
"onUpdate:modelValue": t[23] || (t[23] = (w) => n.formModel.printForm.condition = w)
|
|
17165
17177
|
}, null, 8, ["modelValue"])
|
|
17166
17178
|
]),
|
|
17167
17179
|
_: 1
|
|
@@ -17170,7 +17182,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17170
17182
|
]),
|
|
17171
17183
|
createVNode(m, {
|
|
17172
17184
|
modelValue: n.formModel.deleteInstance.userCondition,
|
|
17173
|
-
"onUpdate:modelValue": t[24] || (t[24] = (
|
|
17185
|
+
"onUpdate:modelValue": t[24] || (t[24] = (w) => n.formModel.deleteInstance.userCondition = w),
|
|
17174
17186
|
label: e.$t("workflowEditor.task.deletePermission"),
|
|
17175
17187
|
"label-width": "100px",
|
|
17176
17188
|
"current-transactor": !0
|
|
@@ -17181,7 +17193,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17181
17193
|
default: withCtx(() => [
|
|
17182
17194
|
createVNode(s, {
|
|
17183
17195
|
modelValue: n.formModel.attachment.permission,
|
|
17184
|
-
"onUpdate:modelValue": t[25] || (t[25] = (
|
|
17196
|
+
"onUpdate:modelValue": t[25] || (t[25] = (w) => n.formModel.attachment.permission = w)
|
|
17185
17197
|
}, null, 8, ["modelValue"])
|
|
17186
17198
|
]),
|
|
17187
17199
|
_: 1
|
|
@@ -17197,12 +17209,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17197
17209
|
default: withCtx(() => [
|
|
17198
17210
|
createVNode(s, {
|
|
17199
17211
|
modelValue: n.formModel.attachment.add.permission,
|
|
17200
|
-
"onUpdate:modelValue": t[26] || (t[26] = (
|
|
17212
|
+
"onUpdate:modelValue": t[26] || (t[26] = (w) => n.formModel.attachment.add.permission = w)
|
|
17201
17213
|
}, null, 8, ["modelValue"]),
|
|
17202
17214
|
n.formModel.attachment.add.permission ? (openBlock(), createBlock(c, {
|
|
17203
17215
|
key: 0,
|
|
17204
17216
|
modelValue: n.formModel.attachment.addCheckbox,
|
|
17205
|
-
"onUpdate:modelValue": t[27] || (t[27] = (
|
|
17217
|
+
"onUpdate:modelValue": t[27] || (t[27] = (w) => n.formModel.attachment.addCheckbox = w)
|
|
17206
17218
|
}, {
|
|
17207
17219
|
default: withCtx(() => [
|
|
17208
17220
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -17212,7 +17224,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17212
17224
|
n.formModel.attachment.add.permission && n.formModel.attachment.addCheckbox ? (openBlock(), createBlock(d, {
|
|
17213
17225
|
key: 1,
|
|
17214
17226
|
modelValue: n.formModel.attachment.add.condition,
|
|
17215
|
-
"onUpdate:modelValue": t[28] || (t[28] = (
|
|
17227
|
+
"onUpdate:modelValue": t[28] || (t[28] = (w) => n.formModel.attachment.add.condition = w)
|
|
17216
17228
|
}, null, 8, ["modelValue"])) : createCommentVNode("", !0)
|
|
17217
17229
|
]),
|
|
17218
17230
|
_: 1
|
|
@@ -17223,12 +17235,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17223
17235
|
default: withCtx(() => [
|
|
17224
17236
|
createVNode(s, {
|
|
17225
17237
|
modelValue: n.formModel.attachment.delete.permission,
|
|
17226
|
-
"onUpdate:modelValue": t[29] || (t[29] = (
|
|
17238
|
+
"onUpdate:modelValue": t[29] || (t[29] = (w) => n.formModel.attachment.delete.permission = w)
|
|
17227
17239
|
}, null, 8, ["modelValue"]),
|
|
17228
17240
|
n.formModel.attachment.delete.permission ? (openBlock(), createBlock(c, {
|
|
17229
17241
|
key: 0,
|
|
17230
17242
|
modelValue: n.formModel.attachment.deleteCheckbox,
|
|
17231
|
-
"onUpdate:modelValue": t[30] || (t[30] = (
|
|
17243
|
+
"onUpdate:modelValue": t[30] || (t[30] = (w) => n.formModel.attachment.deleteCheckbox = w)
|
|
17232
17244
|
}, {
|
|
17233
17245
|
default: withCtx(() => [
|
|
17234
17246
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -17238,7 +17250,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17238
17250
|
n.formModel.attachment.delete.permission && n.formModel.attachment.deleteCheckbox ? (openBlock(), createBlock(d, {
|
|
17239
17251
|
key: 1,
|
|
17240
17252
|
modelValue: n.formModel.attachment.delete.condition,
|
|
17241
|
-
"onUpdate:modelValue": t[31] || (t[31] = (
|
|
17253
|
+
"onUpdate:modelValue": t[31] || (t[31] = (w) => n.formModel.attachment.delete.condition = w)
|
|
17242
17254
|
}, null, 8, ["modelValue"])) : createCommentVNode("", !0)
|
|
17243
17255
|
]),
|
|
17244
17256
|
_: 1
|
|
@@ -17249,12 +17261,12 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17249
17261
|
default: withCtx(() => [
|
|
17250
17262
|
createVNode(s, {
|
|
17251
17263
|
modelValue: n.formModel.attachment.download.permission,
|
|
17252
|
-
"onUpdate:modelValue": t[32] || (t[32] = (
|
|
17264
|
+
"onUpdate:modelValue": t[32] || (t[32] = (w) => n.formModel.attachment.download.permission = w)
|
|
17253
17265
|
}, null, 8, ["modelValue"]),
|
|
17254
17266
|
n.formModel.attachment.download.permission ? (openBlock(), createBlock(c, {
|
|
17255
17267
|
key: 0,
|
|
17256
17268
|
modelValue: n.formModel.attachment.downloadCheckbox,
|
|
17257
|
-
"onUpdate:modelValue": t[33] || (t[33] = (
|
|
17269
|
+
"onUpdate:modelValue": t[33] || (t[33] = (w) => n.formModel.attachment.downloadCheckbox = w)
|
|
17258
17270
|
}, {
|
|
17259
17271
|
default: withCtx(() => [
|
|
17260
17272
|
createTextVNode(toDisplayString$1(e.$t("workflowEditor.task.additionalConditions")), 1)
|
|
@@ -17264,7 +17276,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17264
17276
|
n.formModel.attachment.download.permission && n.formModel.attachment.downloadCheckbox ? (openBlock(), createBlock(d, {
|
|
17265
17277
|
key: 1,
|
|
17266
17278
|
modelValue: n.formModel.attachment.download.condition,
|
|
17267
|
-
"onUpdate:modelValue": t[34] || (t[34] = (
|
|
17279
|
+
"onUpdate:modelValue": t[34] || (t[34] = (w) => n.formModel.attachment.download.condition = w)
|
|
17268
17280
|
}, null, 8, ["modelValue"])) : createCommentVNode("", !0)
|
|
17269
17281
|
]),
|
|
17270
17282
|
_: 1
|
|
@@ -17278,7 +17290,7 @@ function _sfc_render$M(e, t, o, r, n, i) {
|
|
|
17278
17290
|
default: withCtx(() => [
|
|
17279
17291
|
createVNode(s, {
|
|
17280
17292
|
modelValue: n.formModel.officialText.permission,
|
|
17281
|
-
"onUpdate:modelValue": t[35] || (t[35] = (
|
|
17293
|
+
"onUpdate:modelValue": t[35] || (t[35] = (w) => n.formModel.officialText.permission = w)
|
|
17282
17294
|
}, null, 8, ["modelValue"])
|
|
17283
17295
|
]),
|
|
17284
17296
|
_: 1
|
|
@@ -17383,7 +17395,7 @@ const PermissionSettings$2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["rende
|
|
|
17383
17395
|
}, _hoisted_1$m = {
|
|
17384
17396
|
key: 0,
|
|
17385
17397
|
style: { width: "100%" }
|
|
17386
|
-
}, _hoisted_2$d = { key: 1 }, _hoisted_3$
|
|
17398
|
+
}, _hoisted_2$d = { key: 1 }, _hoisted_3$2 = { key: 0 };
|
|
17387
17399
|
function _sfc_render$L(e, t, o, r, n, i) {
|
|
17388
17400
|
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"), C = resolveComponent("el-form");
|
|
17389
17401
|
return openBlock(), createBlock(C, { model: n.formModel }, {
|
|
@@ -17525,7 +17537,7 @@ function _sfc_render$L(e, t, o, r, n, i) {
|
|
|
17525
17537
|
]),
|
|
17526
17538
|
_: 1
|
|
17527
17539
|
}, 8, ["label"]),
|
|
17528
|
-
n.formModel.additionalCondition.selectOneFromMultiple ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17540
|
+
n.formModel.additionalCondition.selectOneFromMultiple ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
17529
17541
|
createVNode(u, {
|
|
17530
17542
|
label: e.$t("workflowEditor.process.selectionMethod")
|
|
17531
17543
|
}, {
|
|
@@ -17781,8 +17793,8 @@ function _sfc_render$K(e, t, o, r, n, i) {
|
|
|
17781
17793
|
value: i.getFieldLabel(y.row.name),
|
|
17782
17794
|
placeholder: e.$t("workflowEditorMessage.pleaseEnterContent"),
|
|
17783
17795
|
readonly: "",
|
|
17784
|
-
onClick: t[0] || (t[0] = (
|
|
17785
|
-
onBlur: (
|
|
17796
|
+
onClick: t[0] || (t[0] = (w) => n.showFormFields = !0),
|
|
17797
|
+
onBlur: (w) => i.checkName(y.row.name)
|
|
17786
17798
|
}, null, 8, ["value", "placeholder", "onBlur"])
|
|
17787
17799
|
]),
|
|
17788
17800
|
_: 1
|
|
@@ -17795,19 +17807,19 @@ function _sfc_render$K(e, t, o, r, n, i) {
|
|
|
17795
17807
|
default: withCtx((y) => [
|
|
17796
17808
|
createVNode(d, {
|
|
17797
17809
|
modelValue: y.row.value,
|
|
17798
|
-
"onUpdate:modelValue": (
|
|
17810
|
+
"onUpdate:modelValue": (w) => y.row.value = w,
|
|
17799
17811
|
multiple: "",
|
|
17800
17812
|
filterable: "",
|
|
17801
17813
|
"allow-create": "",
|
|
17802
17814
|
"default-first-option": "",
|
|
17803
17815
|
placeholder: e.$t("workflowEditorMessage.pleaseSelect"),
|
|
17804
|
-
onBlur: (
|
|
17816
|
+
onBlur: (w) => i.checkValue(y.row.value)
|
|
17805
17817
|
}, {
|
|
17806
17818
|
default: withCtx(() => [
|
|
17807
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.keys, (
|
|
17808
|
-
key:
|
|
17809
|
-
label: n.standardValues[
|
|
17810
|
-
value:
|
|
17819
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.keys, (w) => (openBlock(), createBlock(c, {
|
|
17820
|
+
key: w,
|
|
17821
|
+
label: n.standardValues[w],
|
|
17822
|
+
value: w
|
|
17811
17823
|
}, null, 8, ["label", "value"]))), 128))
|
|
17812
17824
|
]),
|
|
17813
17825
|
_: 2
|
|
@@ -17822,7 +17834,7 @@ function _sfc_render$K(e, t, o, r, n, i) {
|
|
|
17822
17834
|
default: withCtx((y) => [
|
|
17823
17835
|
createVNode(u, {
|
|
17824
17836
|
modelValue: y.row.separator,
|
|
17825
|
-
"onUpdate:modelValue": (
|
|
17837
|
+
"onUpdate:modelValue": (w) => y.row.separator = w,
|
|
17826
17838
|
modelModifiers: { trim: !0 }
|
|
17827
17839
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
17828
17840
|
]),
|
|
@@ -17835,7 +17847,7 @@ function _sfc_render$K(e, t, o, r, n, i) {
|
|
|
17835
17847
|
default: withCtx((y) => [
|
|
17836
17848
|
createVNode(d, {
|
|
17837
17849
|
modelValue: y.row.fillType,
|
|
17838
|
-
"onUpdate:modelValue": (
|
|
17850
|
+
"onUpdate:modelValue": (w) => y.row.fillType = w
|
|
17839
17851
|
}, {
|
|
17840
17852
|
default: withCtx(() => [
|
|
17841
17853
|
createVNode(c, {
|
|
@@ -17863,7 +17875,7 @@ function _sfc_render$K(e, t, o, r, n, i) {
|
|
|
17863
17875
|
default: withCtx((y) => [
|
|
17864
17876
|
createVNode(d, {
|
|
17865
17877
|
modelValue: y.row.fillTime,
|
|
17866
|
-
"onUpdate:modelValue": (
|
|
17878
|
+
"onUpdate:modelValue": (w) => y.row.fillTime = w
|
|
17867
17879
|
}, {
|
|
17868
17880
|
default: withCtx(() => [
|
|
17869
17881
|
createVNode(c, {
|
|
@@ -18312,7 +18324,7 @@ const CommonNoticeTool = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render",
|
|
|
18312
18324
|
}
|
|
18313
18325
|
}, _hoisted_1$k = { key: 0 }, _hoisted_2$c = { key: 2 };
|
|
18314
18326
|
function _sfc_render$G(e, t, o, r, n, i) {
|
|
18315
|
-
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"), C = resolveComponent("el-radio"), y = resolveComponent("el-checkbox"),
|
|
18327
|
+
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"), C = resolveComponent("el-radio"), y = resolveComponent("el-checkbox"), w = resolveComponent("common-user-condition"), E = resolveComponent("el-form");
|
|
18316
18328
|
return openBlock(), createBlock(E, {
|
|
18317
18329
|
model: n.model,
|
|
18318
18330
|
"label-width": "80px"
|
|
@@ -18493,7 +18505,7 @@ function _sfc_render$G(e, t, o, r, n, i) {
|
|
|
18493
18505
|
}, 8, ["label"])),
|
|
18494
18506
|
createVNode(l, { "label-width": "0" }, {
|
|
18495
18507
|
default: withCtx(() => [
|
|
18496
|
-
createVNode(
|
|
18508
|
+
createVNode(w, {
|
|
18497
18509
|
modelValue: n.model.noticeUserCondition,
|
|
18498
18510
|
"onUpdate:modelValue": t[13] || (t[13] = (p) => n.model.noticeUserCondition = p)
|
|
18499
18511
|
}, null, 8, ["modelValue"])
|
|
@@ -18523,7 +18535,7 @@ function _sfc_render$G(e, t, o, r, n, i) {
|
|
|
18523
18535
|
"label-width": "0"
|
|
18524
18536
|
}, {
|
|
18525
18537
|
default: withCtx(() => [
|
|
18526
|
-
createVNode(
|
|
18538
|
+
createVNode(w, {
|
|
18527
18539
|
modelValue: n.model.transferUserCondition,
|
|
18528
18540
|
"onUpdate:modelValue": t[15] || (t[15] = (p) => n.model.transferUserCondition = p)
|
|
18529
18541
|
}, null, 8, ["modelValue"])
|
|
@@ -18536,7 +18548,7 @@ function _sfc_render$G(e, t, o, r, n, i) {
|
|
|
18536
18548
|
_: 1
|
|
18537
18549
|
}, 8, ["model"]);
|
|
18538
18550
|
}
|
|
18539
|
-
const Reminder = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$G], ["__scopeId", "data-v-4e29ea06"]]), _sfc_main$K = {
|
|
18551
|
+
const Reminder = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$G], ["__scopeId", "data-v-4e29ea06"]]), noticeReminder_vue_vue_type_style_index_0_scoped_39fac73c_lang = "", _sfc_main$K = {
|
|
18540
18552
|
name: "NoticeReminder",
|
|
18541
18553
|
components: {
|
|
18542
18554
|
Reminder,
|
|
@@ -18584,52 +18596,70 @@ const Reminder = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_ren
|
|
|
18584
18596
|
this.noticeObj.customMsg = e;
|
|
18585
18597
|
}
|
|
18586
18598
|
}
|
|
18587
|
-
}, _hoisted_1$j = { class: "clearfix" }, _hoisted_2$b = { class: "clearfix" };
|
|
18599
|
+
}, _hoisted_1$j = { class: "clearfix" }, _hoisted_2$b = { class: "sub-li" }, _hoisted_3$1 = { 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" };
|
|
18588
18600
|
function _sfc_render$F(e, t, o, r, n, i) {
|
|
18589
|
-
const s = resolveComponent("common-notice-tool"),
|
|
18601
|
+
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"), C = resolveComponent("el-card"), y = resolveComponent("reminder");
|
|
18590
18602
|
return openBlock(), createElementBlock("div", null, [
|
|
18591
|
-
createVNode(
|
|
18603
|
+
createVNode(C, { class: "box-card" }, {
|
|
18592
18604
|
header: withCtx(() => [
|
|
18593
18605
|
createElementVNode("div", _hoisted_1$j, [
|
|
18594
|
-
createElementVNode("span", null, toDisplayString$1(e.$t("workflowEditor.common.taskNotice")), 1)
|
|
18606
|
+
createElementVNode("span", null, toDisplayString$1(e.$t("workflowEditor.common.taskNotice")), 1),
|
|
18607
|
+
createVNode(a, null, {
|
|
18608
|
+
content: withCtx(() => [
|
|
18609
|
+
createElementVNode("ul", null, [
|
|
18610
|
+
createElementVNode("li", null, toDisplayString$1(e.$t("workflowEditor.task.reminderTipTemplateMsg")), 1),
|
|
18611
|
+
createElementVNode("li", _hoisted_2$b, toDisplayString$1(e.$t("workflowEditor.task.reminderTipTemplateNotice")), 1),
|
|
18612
|
+
createElementVNode("li", _hoisted_3$1, toDisplayString$1(e.$t("workflowEditor.task.reminderTipTemplateEmail")), 1)
|
|
18613
|
+
])
|
|
18614
|
+
]),
|
|
18615
|
+
default: withCtx(() => [
|
|
18616
|
+
createVNode(l, null, {
|
|
18617
|
+
default: withCtx(() => [
|
|
18618
|
+
createVNode(s)
|
|
18619
|
+
]),
|
|
18620
|
+
_: 1
|
|
18621
|
+
})
|
|
18622
|
+
]),
|
|
18623
|
+
_: 1
|
|
18624
|
+
})
|
|
18595
18625
|
])
|
|
18596
18626
|
]),
|
|
18597
18627
|
default: withCtx(() => [
|
|
18598
|
-
createVNode(
|
|
18628
|
+
createVNode(m, {
|
|
18599
18629
|
model: n.noticeObj,
|
|
18600
18630
|
"label-width": "80px"
|
|
18601
18631
|
}, {
|
|
18602
18632
|
default: withCtx(() => [
|
|
18603
|
-
createVNode(
|
|
18633
|
+
createVNode(u, {
|
|
18604
18634
|
modelValue: n.noticeObj.informType,
|
|
18605
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
18635
|
+
"onUpdate:modelValue": t[0] || (t[0] = (w) => n.noticeObj.informType = w),
|
|
18606
18636
|
label: e.$t("workflowEditor.common.notificationMethod"),
|
|
18607
18637
|
"custom-msg": n.noticeObj.customMsg,
|
|
18608
18638
|
onInputMsg: i.setCustomMsg
|
|
18609
18639
|
}, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]),
|
|
18610
|
-
n.noticeObj.informType && n.noticeObj.informType.length > 0 ? (openBlock(), createBlock(
|
|
18640
|
+
n.noticeObj.informType && n.noticeObj.informType.length > 0 ? (openBlock(), createBlock(d, {
|
|
18611
18641
|
key: 0,
|
|
18612
18642
|
"label-width": "100",
|
|
18613
18643
|
label: e.$t("workflowEditor.task.selectNoticeTemplate")
|
|
18614
18644
|
}, {
|
|
18615
18645
|
default: withCtx(() => [
|
|
18616
|
-
createVNode(
|
|
18646
|
+
createVNode(c, {
|
|
18617
18647
|
modelValue: n.noticeObj.mailTemplateCode,
|
|
18618
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
18648
|
+
"onUpdate:modelValue": t[1] || (t[1] = (w) => n.noticeObj.mailTemplateCode = w),
|
|
18619
18649
|
onSetValue: i.setNoticeCommonTemplateCode
|
|
18620
18650
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
18621
18651
|
]),
|
|
18622
18652
|
_: 1
|
|
18623
18653
|
}, 8, ["label"])) : createCommentVNode("", !0),
|
|
18624
|
-
n.noticeObj.informType && n.noticeObj.informType.length > 0 && n.noticeObj.informType.indexOf("mail") >= 0 ? (openBlock(), createBlock(
|
|
18654
|
+
n.noticeObj.informType && n.noticeObj.informType.length > 0 && n.noticeObj.informType.indexOf("mail") >= 0 ? (openBlock(), createBlock(d, {
|
|
18625
18655
|
key: 1,
|
|
18626
18656
|
"label-width": "100",
|
|
18627
18657
|
label: e.$t("workflowEditor.task.selectMailTemplate")
|
|
18628
18658
|
}, {
|
|
18629
18659
|
default: withCtx(() => [
|
|
18630
|
-
createVNode(
|
|
18660
|
+
createVNode(c, {
|
|
18631
18661
|
modelValue: n.noticeObj.mailPointTemplateCode,
|
|
18632
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
18662
|
+
"onUpdate:modelValue": t[2] || (t[2] = (w) => n.noticeObj.mailPointTemplateCode = w),
|
|
18633
18663
|
onSetValue: i.setMailTemplateCode
|
|
18634
18664
|
}, null, 8, ["modelValue", "onSetValue"])
|
|
18635
18665
|
]),
|
|
@@ -18641,19 +18671,40 @@ function _sfc_render$F(e, t, o, r, n, i) {
|
|
|
18641
18671
|
]),
|
|
18642
18672
|
_: 1
|
|
18643
18673
|
}),
|
|
18644
|
-
createVNode(
|
|
18674
|
+
createVNode(C, {
|
|
18645
18675
|
class: "box-card",
|
|
18646
18676
|
style: { "margin-top": "10px" }
|
|
18647
18677
|
}, {
|
|
18648
18678
|
header: withCtx(() => [
|
|
18649
|
-
createElementVNode("div",
|
|
18650
|
-
createElementVNode("span", null, toDisplayString$1(e.$t("workflowEditor.common.reminderNotice")), 1)
|
|
18679
|
+
createElementVNode("div", _hoisted_4, [
|
|
18680
|
+
createElementVNode("span", null, toDisplayString$1(e.$t("workflowEditor.common.reminderNotice")), 1),
|
|
18681
|
+
createVNode(a, null, {
|
|
18682
|
+
content: withCtx(() => [
|
|
18683
|
+
createElementVNode("ul", null, [
|
|
18684
|
+
createElementVNode("li", null, toDisplayString$1(e.$t("workflowEditor.task.reminderTipTemplateMsg")), 1),
|
|
18685
|
+
createElementVNode("li", _hoisted_5, toDisplayString$1(e.$t("workflowEditor.task.reminderTipTemplateNotice")), 1),
|
|
18686
|
+
createElementVNode("li", _hoisted_6, toDisplayString$1(e.$t("workflowEditor.task.reminderTipTemplateEmail")), 1),
|
|
18687
|
+
createElementVNode("li", null, toDisplayString$1(e.$t("workflowEditor.task.reminderTipRemindMsg")), 1),
|
|
18688
|
+
createElementVNode("li", _hoisted_7, toDisplayString$1(e.$t("workflowEditor.task.reminderTipRemindImmediately")), 1),
|
|
18689
|
+
createElementVNode("li", _hoisted_8, toDisplayString$1(e.$t("workflowEditor.task.reminderTipRemindHistory")), 1)
|
|
18690
|
+
])
|
|
18691
|
+
]),
|
|
18692
|
+
default: withCtx(() => [
|
|
18693
|
+
createVNode(l, null, {
|
|
18694
|
+
default: withCtx(() => [
|
|
18695
|
+
createVNode(s)
|
|
18696
|
+
]),
|
|
18697
|
+
_: 1
|
|
18698
|
+
})
|
|
18699
|
+
]),
|
|
18700
|
+
_: 1
|
|
18701
|
+
})
|
|
18651
18702
|
])
|
|
18652
18703
|
]),
|
|
18653
18704
|
default: withCtx(() => [
|
|
18654
|
-
createVNode(
|
|
18705
|
+
createVNode(y, {
|
|
18655
18706
|
modelValue: n.reminderObj,
|
|
18656
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
18707
|
+
"onUpdate:modelValue": t[3] || (t[3] = (w) => n.reminderObj = w),
|
|
18657
18708
|
isProcess: o.isProcess
|
|
18658
18709
|
}, null, 8, ["modelValue", "isProcess"])
|
|
18659
18710
|
]),
|
|
@@ -18661,7 +18712,7 @@ function _sfc_render$F(e, t, o, r, n, i) {
|
|
|
18661
18712
|
})
|
|
18662
18713
|
]);
|
|
18663
18714
|
}
|
|
18664
|
-
const NoticeReminder = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$F]]), humanTask_vue_vue_type_style_index_0_scoped_9bc8867a_lang = "", _sfc_main$J = {
|
|
18715
|
+
const NoticeReminder = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$F], ["__scopeId", "data-v-39fac73c"]]), humanTask_vue_vue_type_style_index_0_scoped_9bc8867a_lang = "", _sfc_main$J = {
|
|
18665
18716
|
name: "HumanTaskPropertiesEditor",
|
|
18666
18717
|
components: {
|
|
18667
18718
|
BasicProperties: BasicProperties$5,
|
|
@@ -18703,8 +18754,8 @@ const NoticeReminder = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _s
|
|
|
18703
18754
|
}
|
|
18704
18755
|
};
|
|
18705
18756
|
function _sfc_render$E(e, t, o, r, n, i) {
|
|
18706
|
-
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"), C = resolveComponent("variables"), y = resolveComponent("el-tabs"),
|
|
18707
|
-
return openBlock(), createBlock(
|
|
18757
|
+
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"), C = resolveComponent("variables"), y = resolveComponent("el-tabs"), w = resolveComponent("el-dialog");
|
|
18758
|
+
return openBlock(), createBlock(w, {
|
|
18708
18759
|
"model-value": "",
|
|
18709
18760
|
top: "10vh",
|
|
18710
18761
|
title: e.$t("workflowEditor.task.linkAttribute"),
|
|
@@ -18953,7 +19004,7 @@ function requireString_decoder() {
|
|
|
18953
19004
|
this.text = C, this.end = y, f = 3;
|
|
18954
19005
|
break;
|
|
18955
19006
|
default:
|
|
18956
|
-
this.write =
|
|
19007
|
+
this.write = w, this.end = E;
|
|
18957
19008
|
return;
|
|
18958
19009
|
}
|
|
18959
19010
|
this.lastNeed = 0, this.lastTotal = 0, this.lastChar = e.allocUnsafe(f);
|
|
@@ -19042,7 +19093,7 @@ function requireString_decoder() {
|
|
|
19042
19093
|
var f = p && p.length ? this.write(p) : "";
|
|
19043
19094
|
return this.lastNeed ? f + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : f;
|
|
19044
19095
|
}
|
|
19045
|
-
function
|
|
19096
|
+
function w(p) {
|
|
19046
19097
|
return p.toString(this.encoding);
|
|
19047
19098
|
}
|
|
19048
19099
|
function E(p) {
|
|
@@ -19052,8 +19103,8 @@ function requireString_decoder() {
|
|
|
19052
19103
|
}
|
|
19053
19104
|
(function(e) {
|
|
19054
19105
|
(function(t) {
|
|
19055
|
-
t.parser = function(b,
|
|
19056
|
-
return new r(b,
|
|
19106
|
+
t.parser = function(b, _) {
|
|
19107
|
+
return new r(b, _);
|
|
19057
19108
|
}, t.SAXParser = r, t.SAXStream = c, t.createStream = u, t.MAX_BUFFER_LENGTH = 64 * 1024;
|
|
19058
19109
|
var o = [
|
|
19059
19110
|
"comment",
|
|
@@ -19089,28 +19140,28 @@ function requireString_decoder() {
|
|
|
19089
19140
|
"opennamespace",
|
|
19090
19141
|
"closenamespace"
|
|
19091
19142
|
];
|
|
19092
|
-
function r(b,
|
|
19143
|
+
function r(b, _) {
|
|
19093
19144
|
if (!(this instanceof r))
|
|
19094
|
-
return new r(b,
|
|
19145
|
+
return new r(b, _);
|
|
19095
19146
|
var P = this;
|
|
19096
|
-
i(P), P.q = P.c = "", P.bufferCheckPosition = t.MAX_BUFFER_LENGTH, P.opt =
|
|
19147
|
+
i(P), P.q = P.c = "", P.bufferCheckPosition = t.MAX_BUFFER_LENGTH, P.opt = _ || {}, P.opt.lowercase = P.opt.lowercase || P.opt.lowercasetags, P.looseCase = P.opt.lowercase ? "toLowerCase" : "toUpperCase", P.tags = [], P.closed = P.closedRoot = P.sawRoot = !1, P.tag = P.error = null, P.strict = !!b, P.noscript = !!(b || P.opt.noscript), P.state = S.BEGIN, P.strictEntities = P.opt.strictEntities, P.ENTITIES = P.strictEntities ? Object.create(t.XML_ENTITIES) : Object.create(t.ENTITIES), P.attribList = [], P.opt.xmlns && (P.ns = Object.create(w)), P.trackPosition = P.opt.position !== !1, P.trackPosition && (P.position = P.line = P.column = 0), H(P, "onready");
|
|
19097
19148
|
}
|
|
19098
19149
|
Object.create || (Object.create = function(b) {
|
|
19099
|
-
function
|
|
19150
|
+
function _() {
|
|
19100
19151
|
}
|
|
19101
|
-
|
|
19102
|
-
var P = new
|
|
19152
|
+
_.prototype = b;
|
|
19153
|
+
var P = new _();
|
|
19103
19154
|
return P;
|
|
19104
19155
|
}), Object.keys || (Object.keys = function(b) {
|
|
19105
|
-
var
|
|
19156
|
+
var _ = [];
|
|
19106
19157
|
for (var P in b)
|
|
19107
|
-
b.hasOwnProperty(P) &&
|
|
19108
|
-
return
|
|
19158
|
+
b.hasOwnProperty(P) && _.push(P);
|
|
19159
|
+
return _;
|
|
19109
19160
|
});
|
|
19110
19161
|
function n(b) {
|
|
19111
|
-
for (var
|
|
19162
|
+
for (var _ = Math.max(t.MAX_BUFFER_LENGTH, 10), P = 0, V = 0, R = o.length; V < R; V++) {
|
|
19112
19163
|
var U = b[o[V]].length;
|
|
19113
|
-
if (U >
|
|
19164
|
+
if (U > _)
|
|
19114
19165
|
switch (o[V]) {
|
|
19115
19166
|
case "textNode":
|
|
19116
19167
|
G(b);
|
|
@@ -19130,8 +19181,8 @@ function requireString_decoder() {
|
|
|
19130
19181
|
b.bufferCheckPosition = N + b.position;
|
|
19131
19182
|
}
|
|
19132
19183
|
function i(b) {
|
|
19133
|
-
for (var
|
|
19134
|
-
b[o[
|
|
19184
|
+
for (var _ = 0, P = o.length; _ < P; _++)
|
|
19185
|
+
b[o[_]] = "";
|
|
19135
19186
|
}
|
|
19136
19187
|
function s(b) {
|
|
19137
19188
|
G(b), b.cdata !== "" && (L(b, "oncdata", b.cdata), b.cdata = ""), b.script !== "" && (L(b, "onscript", b.script), b.script = "");
|
|
@@ -19163,13 +19214,13 @@ function requireString_decoder() {
|
|
|
19163
19214
|
var a = t.EVENTS.filter(function(b) {
|
|
19164
19215
|
return b !== "error" && b !== "end";
|
|
19165
19216
|
});
|
|
19166
|
-
function u(b,
|
|
19167
|
-
return new c(b,
|
|
19217
|
+
function u(b, _) {
|
|
19218
|
+
return new c(b, _);
|
|
19168
19219
|
}
|
|
19169
|
-
function c(b,
|
|
19220
|
+
function c(b, _) {
|
|
19170
19221
|
if (!(this instanceof c))
|
|
19171
|
-
return new c(b,
|
|
19172
|
-
l.apply(this), this._parser = new r(b,
|
|
19222
|
+
return new c(b, _);
|
|
19223
|
+
l.apply(this), this._parser = new r(b, _), this.writable = !0, this.readable = !0;
|
|
19173
19224
|
var P = this;
|
|
19174
19225
|
this._parser.onend = function() {
|
|
19175
19226
|
P.emit("end");
|
|
@@ -19197,22 +19248,22 @@ function requireString_decoder() {
|
|
|
19197
19248
|
}), c.prototype.write = function(b) {
|
|
19198
19249
|
if (typeof Buffer == "function" && typeof Buffer.isBuffer == "function" && Buffer.isBuffer(b)) {
|
|
19199
19250
|
if (!this._decoder) {
|
|
19200
|
-
var
|
|
19201
|
-
this._decoder = new
|
|
19251
|
+
var _ = requireString_decoder().StringDecoder;
|
|
19252
|
+
this._decoder = new _("utf8");
|
|
19202
19253
|
}
|
|
19203
19254
|
b = this._decoder.write(b);
|
|
19204
19255
|
}
|
|
19205
19256
|
return this._parser.write(b.toString()), this.emit("data", b), !0;
|
|
19206
19257
|
}, c.prototype.end = function(b) {
|
|
19207
19258
|
return b && b.length && this.write(b), this._parser.end(), !0;
|
|
19208
|
-
}, c.prototype.on = function(b,
|
|
19259
|
+
}, c.prototype.on = function(b, _) {
|
|
19209
19260
|
var P = this;
|
|
19210
19261
|
return !P._parser["on" + b] && a.indexOf(b) !== -1 && (P._parser["on" + b] = function() {
|
|
19211
19262
|
var V = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
|
|
19212
19263
|
V.splice(0, 0, b), P.emit.apply(P, V);
|
|
19213
|
-
}), l.prototype.on.call(P, b,
|
|
19264
|
+
}), l.prototype.on.call(P, b, _);
|
|
19214
19265
|
};
|
|
19215
|
-
var d = "[CDATA[", m = "DOCTYPE", C = "http://www.w3.org/XML/1998/namespace", y = "http://www.w3.org/2000/xmlns/",
|
|
19266
|
+
var d = "[CDATA[", m = "DOCTYPE", C = "http://www.w3.org/XML/1998/namespace", y = "http://www.w3.org/2000/xmlns/", w = { xml: C, xmlns: y }, E = /[:_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-]/;
|
|
19216
19267
|
function v(b) {
|
|
19217
19268
|
return b === " " || b === `
|
|
19218
19269
|
` || b === "\r" || b === " ";
|
|
@@ -19223,11 +19274,11 @@ function requireString_decoder() {
|
|
|
19223
19274
|
function $(b) {
|
|
19224
19275
|
return b === ">" || v(b);
|
|
19225
19276
|
}
|
|
19226
|
-
function O(b,
|
|
19227
|
-
return b.test(
|
|
19277
|
+
function O(b, _) {
|
|
19278
|
+
return b.test(_);
|
|
19228
19279
|
}
|
|
19229
|
-
function x(b,
|
|
19230
|
-
return !O(b,
|
|
19280
|
+
function x(b, _) {
|
|
19281
|
+
return !O(b, _);
|
|
19231
19282
|
}
|
|
19232
19283
|
var S = 0;
|
|
19233
19284
|
t.STATE = {
|
|
@@ -19564,46 +19615,46 @@ function requireString_decoder() {
|
|
|
19564
19615
|
hearts: 9829,
|
|
19565
19616
|
diams: 9830
|
|
19566
19617
|
}, Object.keys(t.ENTITIES).forEach(function(b) {
|
|
19567
|
-
var
|
|
19618
|
+
var _ = t.ENTITIES[b], P = typeof _ == "number" ? String.fromCharCode(_) : _;
|
|
19568
19619
|
t.ENTITIES[b] = P;
|
|
19569
19620
|
});
|
|
19570
19621
|
for (var B in t.STATE)
|
|
19571
19622
|
t.STATE[t.STATE[B]] = B;
|
|
19572
19623
|
S = t.STATE;
|
|
19573
|
-
function
|
|
19574
|
-
b[
|
|
19624
|
+
function H(b, _, P) {
|
|
19625
|
+
b[_] && b[_](P);
|
|
19575
19626
|
}
|
|
19576
|
-
function L(b,
|
|
19577
|
-
b.textNode && G(b),
|
|
19627
|
+
function L(b, _, P) {
|
|
19628
|
+
b.textNode && G(b), H(b, _, P);
|
|
19578
19629
|
}
|
|
19579
19630
|
function G(b) {
|
|
19580
|
-
b.textNode = ne(b.opt, b.textNode), b.textNode &&
|
|
19631
|
+
b.textNode = ne(b.opt, b.textNode), b.textNode && H(b, "ontext", b.textNode), b.textNode = "";
|
|
19581
19632
|
}
|
|
19582
|
-
function ne(b,
|
|
19583
|
-
return b.trim && (
|
|
19633
|
+
function ne(b, _) {
|
|
19634
|
+
return b.trim && (_ = _.trim()), b.normalize && (_ = _.replace(/\s+/g, " ")), _;
|
|
19584
19635
|
}
|
|
19585
|
-
function re(b,
|
|
19586
|
-
return G(b), b.trackPosition && (
|
|
19636
|
+
function re(b, _) {
|
|
19637
|
+
return G(b), b.trackPosition && (_ += `
|
|
19587
19638
|
Line: ` + b.line + `
|
|
19588
19639
|
Column: ` + b.column + `
|
|
19589
|
-
Char: ` + b.c),
|
|
19640
|
+
Char: ` + b.c), _ = new Error(_), b.error = _, H(b, "onerror", _), b;
|
|
19590
19641
|
}
|
|
19591
19642
|
function te(b) {
|
|
19592
|
-
return b.sawRoot && !b.closedRoot &&
|
|
19643
|
+
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;
|
|
19593
19644
|
}
|
|
19594
|
-
function
|
|
19645
|
+
function j(b, _) {
|
|
19595
19646
|
if (typeof b != "object" || !(b instanceof r))
|
|
19596
19647
|
throw new Error("bad call to strictFail");
|
|
19597
|
-
b.strict && re(b,
|
|
19648
|
+
b.strict && re(b, _);
|
|
19598
19649
|
}
|
|
19599
19650
|
function z(b) {
|
|
19600
19651
|
b.strict || (b.tagName = b.tagName[b.looseCase]());
|
|
19601
|
-
var
|
|
19602
|
-
b.opt.xmlns && (P.ns =
|
|
19652
|
+
var _ = b.tags[b.tags.length - 1] || b, P = b.tag = { name: b.tagName, attributes: {} };
|
|
19653
|
+
b.opt.xmlns && (P.ns = _.ns), b.attribList.length = 0, L(b, "onopentagstart", P);
|
|
19603
19654
|
}
|
|
19604
|
-
function Y(b,
|
|
19655
|
+
function Y(b, _) {
|
|
19605
19656
|
var P = b.indexOf(":"), V = P < 0 ? ["", b] : b.split(":"), R = V[0], U = V[1];
|
|
19606
|
-
return
|
|
19657
|
+
return _ && b === "xmlns" && (R = "xmlns", U = ""), { prefix: R, local: U };
|
|
19607
19658
|
}
|
|
19608
19659
|
function q(b) {
|
|
19609
19660
|
if (b.strict || (b.attribName = b.attribName[b.looseCase]()), b.attribList.indexOf(b.attribName) !== -1 || b.tag.attributes.hasOwnProperty(b.attribName)) {
|
|
@@ -19611,16 +19662,16 @@ Char: ` + b.c), w = new Error(w), b.error = w, j(b, "onerror", w), b;
|
|
|
19611
19662
|
return;
|
|
19612
19663
|
}
|
|
19613
19664
|
if (b.opt.xmlns) {
|
|
19614
|
-
var
|
|
19665
|
+
var _ = Y(b.attribName, !0), P = _.prefix, V = _.local;
|
|
19615
19666
|
if (P === "xmlns")
|
|
19616
19667
|
if (V === "xml" && b.attribValue !== C)
|
|
19617
|
-
|
|
19668
|
+
j(
|
|
19618
19669
|
b,
|
|
19619
19670
|
"xml: prefix must be bound to " + C + `
|
|
19620
19671
|
Actual: ` + b.attribValue
|
|
19621
19672
|
);
|
|
19622
19673
|
else if (V === "xmlns" && b.attribValue !== y)
|
|
19623
|
-
|
|
19674
|
+
j(
|
|
19624
19675
|
b,
|
|
19625
19676
|
"xmlns: prefix must be bound to " + y + `
|
|
19626
19677
|
Actual: ` + b.attribValue
|
|
@@ -19637,10 +19688,10 @@ Actual: ` + b.attribValue
|
|
|
19637
19688
|
});
|
|
19638
19689
|
b.attribName = b.attribValue = "";
|
|
19639
19690
|
}
|
|
19640
|
-
function Q(b,
|
|
19691
|
+
function Q(b, _) {
|
|
19641
19692
|
if (b.opt.xmlns) {
|
|
19642
19693
|
var P = b.tag, V = Y(b.tagName);
|
|
19643
|
-
P.prefix = V.prefix, P.local = V.local, P.uri = P.ns[V.prefix] || "", P.prefix && !P.uri && (
|
|
19694
|
+
P.prefix = V.prefix, P.local = V.local, P.uri = P.ns[V.prefix] || "", P.prefix && !P.uri && (j(b, "Unbound namespace prefix: " + JSON.stringify(b.tagName)), P.uri = V.prefix);
|
|
19644
19695
|
var R = b.tags[b.tags.length - 1] || b;
|
|
19645
19696
|
P.ns && R.ns !== P.ns && Object.keys(P.ns).forEach(function(fe) {
|
|
19646
19697
|
L(b, "onopennamespace", {
|
|
@@ -19656,15 +19707,15 @@ Actual: ` + b.attribValue
|
|
|
19656
19707
|
local: le,
|
|
19657
19708
|
uri: ae
|
|
19658
19709
|
};
|
|
19659
|
-
W && W !== "xmlns" && !ae && (
|
|
19710
|
+
W && W !== "xmlns" && !ae && (j(b, "Unbound namespace prefix: " + JSON.stringify(W)), me.uri = W), b.tag.attributes[I] = me, L(b, "onattribute", me);
|
|
19660
19711
|
}
|
|
19661
19712
|
b.attribList.length = 0;
|
|
19662
19713
|
}
|
|
19663
|
-
b.tag.isSelfClosing = !!
|
|
19714
|
+
b.tag.isSelfClosing = !!_, b.sawRoot = !0, b.tags.push(b.tag), L(b, "onopentag", b.tag), _ || (!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;
|
|
19664
19715
|
}
|
|
19665
19716
|
function J(b) {
|
|
19666
19717
|
if (!b.tagName) {
|
|
19667
|
-
|
|
19718
|
+
j(b, "Weird empty close tag."), b.textNode += "</>", b.state = S.TEXT;
|
|
19668
19719
|
return;
|
|
19669
19720
|
}
|
|
19670
19721
|
if (b.script) {
|
|
@@ -19674,21 +19725,21 @@ Actual: ` + b.attribValue
|
|
|
19674
19725
|
}
|
|
19675
19726
|
L(b, "onscript", b.script), b.script = "";
|
|
19676
19727
|
}
|
|
19677
|
-
var
|
|
19728
|
+
var _ = b.tags.length, P = b.tagName;
|
|
19678
19729
|
b.strict || (P = P[b.looseCase]());
|
|
19679
|
-
for (var V = P;
|
|
19680
|
-
var R = b.tags[
|
|
19730
|
+
for (var V = P; _--; ) {
|
|
19731
|
+
var R = b.tags[_];
|
|
19681
19732
|
if (R.name !== V)
|
|
19682
|
-
|
|
19733
|
+
j(b, "Unexpected close tag");
|
|
19683
19734
|
else
|
|
19684
19735
|
break;
|
|
19685
19736
|
}
|
|
19686
|
-
if (
|
|
19687
|
-
|
|
19737
|
+
if (_ < 0) {
|
|
19738
|
+
j(b, "Unmatched closing tag: " + b.tagName), b.textNode += "</" + b.tagName + ">", b.state = S.TEXT;
|
|
19688
19739
|
return;
|
|
19689
19740
|
}
|
|
19690
19741
|
b.tagName = P;
|
|
19691
|
-
for (var U = b.tags.length; U-- >
|
|
19742
|
+
for (var U = b.tags.length; U-- > _; ) {
|
|
19692
19743
|
var N = b.tag = b.tags.pop();
|
|
19693
19744
|
b.tagName = b.tag.name, L(b, "onclosetag", b.tagName);
|
|
19694
19745
|
var T = {};
|
|
@@ -19700,195 +19751,195 @@ Actual: ` + b.attribValue
|
|
|
19700
19751
|
L(b, "onclosenamespace", { prefix: M, uri: W });
|
|
19701
19752
|
});
|
|
19702
19753
|
}
|
|
19703
|
-
|
|
19754
|
+
_ === 0 && (b.closedRoot = !0), b.tagName = b.attribValue = b.attribName = "", b.attribList.length = 0, b.state = S.TEXT;
|
|
19704
19755
|
}
|
|
19705
19756
|
function se(b) {
|
|
19706
|
-
var
|
|
19707
|
-
return b.ENTITIES[
|
|
19757
|
+
var _ = b.entity, P = _.toLowerCase(), V, R = "";
|
|
19758
|
+
return b.ENTITIES[_] ? b.ENTITIES[_] : b.ENTITIES[P] ? b.ENTITIES[P] : (_ = P, _.charAt(0) === "#" && (_.charAt(1) === "x" ? (_ = _.slice(2), V = parseInt(_, 16), R = V.toString(16)) : (_ = _.slice(1), V = parseInt(_, 10), R = V.toString(10))), _ = _.replace(/^0+/, ""), isNaN(V) || R.toLowerCase() !== _ ? (j(b, "Invalid character entity"), "&" + b.entity + ";") : String.fromCodePoint(V));
|
|
19708
19759
|
}
|
|
19709
|
-
function X(b,
|
|
19710
|
-
|
|
19760
|
+
function X(b, _) {
|
|
19761
|
+
_ === "<" ? (b.state = S.OPEN_WAKA, b.startTagPosition = b.position) : v(_) || (j(b, "Non-whitespace before first tag."), b.textNode = _, b.state = S.TEXT);
|
|
19711
19762
|
}
|
|
19712
|
-
function ie(b,
|
|
19763
|
+
function ie(b, _) {
|
|
19713
19764
|
var P = "";
|
|
19714
|
-
return
|
|
19765
|
+
return _ < b.length && (P = b.charAt(_)), P;
|
|
19715
19766
|
}
|
|
19716
19767
|
function oe(b) {
|
|
19717
|
-
var
|
|
19768
|
+
var _ = this;
|
|
19718
19769
|
if (this.error)
|
|
19719
19770
|
throw this.error;
|
|
19720
|
-
if (
|
|
19771
|
+
if (_.closed)
|
|
19721
19772
|
return re(
|
|
19722
|
-
|
|
19773
|
+
_,
|
|
19723
19774
|
"Cannot write after close. Assign an onready handler."
|
|
19724
19775
|
);
|
|
19725
19776
|
if (b === null)
|
|
19726
|
-
return te(
|
|
19777
|
+
return te(_);
|
|
19727
19778
|
typeof b == "object" && (b = b.toString());
|
|
19728
|
-
for (var P = 0, V = ""; V = ie(b, P++),
|
|
19729
|
-
switch (
|
|
19730
|
-
` ? (
|
|
19779
|
+
for (var P = 0, V = ""; V = ie(b, P++), _.c = V, !!V; )
|
|
19780
|
+
switch (_.trackPosition && (_.position++, V === `
|
|
19781
|
+
` ? (_.line++, _.column = 0) : _.column++), _.state) {
|
|
19731
19782
|
case S.BEGIN:
|
|
19732
|
-
if (
|
|
19783
|
+
if (_.state = S.BEGIN_WHITESPACE, V === "\uFEFF")
|
|
19733
19784
|
continue;
|
|
19734
|
-
X(
|
|
19785
|
+
X(_, V);
|
|
19735
19786
|
continue;
|
|
19736
19787
|
case S.BEGIN_WHITESPACE:
|
|
19737
|
-
X(
|
|
19788
|
+
X(_, V);
|
|
19738
19789
|
continue;
|
|
19739
19790
|
case S.TEXT:
|
|
19740
|
-
if (
|
|
19791
|
+
if (_.sawRoot && !_.closedRoot) {
|
|
19741
19792
|
for (var R = P - 1; V && V !== "<" && V !== "&"; )
|
|
19742
|
-
V = ie(b, P++), V &&
|
|
19743
|
-
` ? (
|
|
19744
|
-
|
|
19793
|
+
V = ie(b, P++), V && _.trackPosition && (_.position++, V === `
|
|
19794
|
+
` ? (_.line++, _.column = 0) : _.column++);
|
|
19795
|
+
_.textNode += b.substring(R, P - 1);
|
|
19745
19796
|
}
|
|
19746
|
-
V === "<" && !(
|
|
19797
|
+
V === "<" && !(_.sawRoot && _.closedRoot && !_.strict) ? (_.state = S.OPEN_WAKA, _.startTagPosition = _.position) : (!v(V) && (!_.sawRoot || _.closedRoot) && j(_, "Text data outside of root node."), V === "&" ? _.state = S.TEXT_ENTITY : _.textNode += V);
|
|
19747
19798
|
continue;
|
|
19748
19799
|
case S.SCRIPT:
|
|
19749
|
-
V === "<" ?
|
|
19800
|
+
V === "<" ? _.state = S.SCRIPT_ENDING : _.script += V;
|
|
19750
19801
|
continue;
|
|
19751
19802
|
case S.SCRIPT_ENDING:
|
|
19752
|
-
V === "/" ?
|
|
19803
|
+
V === "/" ? _.state = S.CLOSE_TAG : (_.script += "<" + V, _.state = S.SCRIPT);
|
|
19753
19804
|
continue;
|
|
19754
19805
|
case S.OPEN_WAKA:
|
|
19755
19806
|
if (V === "!")
|
|
19756
|
-
|
|
19807
|
+
_.state = S.SGML_DECL, _.sgmlDecl = "";
|
|
19757
19808
|
else if (!v(V))
|
|
19758
19809
|
if (O(E, V))
|
|
19759
|
-
|
|
19810
|
+
_.state = S.OPEN_TAG, _.tagName = V;
|
|
19760
19811
|
else if (V === "/")
|
|
19761
|
-
|
|
19812
|
+
_.state = S.CLOSE_TAG, _.tagName = "";
|
|
19762
19813
|
else if (V === "?")
|
|
19763
|
-
|
|
19814
|
+
_.state = S.PROC_INST, _.procInstName = _.procInstBody = "";
|
|
19764
19815
|
else {
|
|
19765
|
-
if (
|
|
19766
|
-
var U =
|
|
19816
|
+
if (j(_, "Unencoded <"), _.startTagPosition + 1 < _.position) {
|
|
19817
|
+
var U = _.position - _.startTagPosition;
|
|
19767
19818
|
V = new Array(U).join(" ") + V;
|
|
19768
19819
|
}
|
|
19769
|
-
|
|
19820
|
+
_.textNode += "<" + V, _.state = S.TEXT;
|
|
19770
19821
|
}
|
|
19771
19822
|
continue;
|
|
19772
19823
|
case S.SGML_DECL:
|
|
19773
|
-
(
|
|
19774
|
-
|
|
19824
|
+
(_.sgmlDecl + V).toUpperCase() === d ? (L(_, "onopencdata"), _.state = S.CDATA, _.sgmlDecl = "", _.cdata = "") : _.sgmlDecl + V === "--" ? (_.state = S.COMMENT, _.comment = "", _.sgmlDecl = "") : (_.sgmlDecl + V).toUpperCase() === m ? (_.state = S.DOCTYPE, (_.doctype || _.sawRoot) && j(
|
|
19825
|
+
_,
|
|
19775
19826
|
"Inappropriately located doctype declaration"
|
|
19776
|
-
),
|
|
19827
|
+
), _.doctype = "", _.sgmlDecl = "") : V === ">" ? (L(_, "onsgmldeclaration", _.sgmlDecl), _.sgmlDecl = "", _.state = S.TEXT) : (k(V) && (_.state = S.SGML_DECL_QUOTED), _.sgmlDecl += V);
|
|
19777
19828
|
continue;
|
|
19778
19829
|
case S.SGML_DECL_QUOTED:
|
|
19779
|
-
V ===
|
|
19830
|
+
V === _.q && (_.state = S.SGML_DECL, _.q = ""), _.sgmlDecl += V;
|
|
19780
19831
|
continue;
|
|
19781
19832
|
case S.DOCTYPE:
|
|
19782
|
-
V === ">" ? (
|
|
19833
|
+
V === ">" ? (_.state = S.TEXT, L(_, "ondoctype", _.doctype), _.doctype = !0) : (_.doctype += V, V === "[" ? _.state = S.DOCTYPE_DTD : k(V) && (_.state = S.DOCTYPE_QUOTED, _.q = V));
|
|
19783
19834
|
continue;
|
|
19784
19835
|
case S.DOCTYPE_QUOTED:
|
|
19785
|
-
|
|
19836
|
+
_.doctype += V, V === _.q && (_.q = "", _.state = S.DOCTYPE);
|
|
19786
19837
|
continue;
|
|
19787
19838
|
case S.DOCTYPE_DTD:
|
|
19788
|
-
|
|
19839
|
+
_.doctype += V, V === "]" ? _.state = S.DOCTYPE : k(V) && (_.state = S.DOCTYPE_DTD_QUOTED, _.q = V);
|
|
19789
19840
|
continue;
|
|
19790
19841
|
case S.DOCTYPE_DTD_QUOTED:
|
|
19791
|
-
|
|
19842
|
+
_.doctype += V, V === _.q && (_.state = S.DOCTYPE_DTD, _.q = "");
|
|
19792
19843
|
continue;
|
|
19793
19844
|
case S.COMMENT:
|
|
19794
|
-
V === "-" ?
|
|
19845
|
+
V === "-" ? _.state = S.COMMENT_ENDING : _.comment += V;
|
|
19795
19846
|
continue;
|
|
19796
19847
|
case S.COMMENT_ENDING:
|
|
19797
|
-
V === "-" ? (
|
|
19848
|
+
V === "-" ? (_.state = S.COMMENT_ENDED, _.comment = ne(_.opt, _.comment), _.comment && L(_, "oncomment", _.comment), _.comment = "") : (_.comment += "-" + V, _.state = S.COMMENT);
|
|
19798
19849
|
continue;
|
|
19799
19850
|
case S.COMMENT_ENDED:
|
|
19800
|
-
V !== ">" ? (
|
|
19851
|
+
V !== ">" ? (j(_, "Malformed comment"), _.comment += "--" + V, _.state = S.COMMENT) : _.state = S.TEXT;
|
|
19801
19852
|
continue;
|
|
19802
19853
|
case S.CDATA:
|
|
19803
|
-
V === "]" ?
|
|
19854
|
+
V === "]" ? _.state = S.CDATA_ENDING : _.cdata += V;
|
|
19804
19855
|
continue;
|
|
19805
19856
|
case S.CDATA_ENDING:
|
|
19806
|
-
V === "]" ?
|
|
19857
|
+
V === "]" ? _.state = S.CDATA_ENDING_2 : (_.cdata += "]" + V, _.state = S.CDATA);
|
|
19807
19858
|
continue;
|
|
19808
19859
|
case S.CDATA_ENDING_2:
|
|
19809
|
-
V === ">" ? (
|
|
19860
|
+
V === ">" ? (_.cdata && L(_, "oncdata", _.cdata), L(_, "onclosecdata"), _.cdata = "", _.state = S.TEXT) : V === "]" ? _.cdata += "]" : (_.cdata += "]]" + V, _.state = S.CDATA);
|
|
19810
19861
|
continue;
|
|
19811
19862
|
case S.PROC_INST:
|
|
19812
|
-
V === "?" ?
|
|
19863
|
+
V === "?" ? _.state = S.PROC_INST_ENDING : v(V) ? _.state = S.PROC_INST_BODY : _.procInstName += V;
|
|
19813
19864
|
continue;
|
|
19814
19865
|
case S.PROC_INST_BODY:
|
|
19815
|
-
if (!
|
|
19866
|
+
if (!_.procInstBody && v(V))
|
|
19816
19867
|
continue;
|
|
19817
|
-
V === "?" ?
|
|
19868
|
+
V === "?" ? _.state = S.PROC_INST_ENDING : _.procInstBody += V;
|
|
19818
19869
|
continue;
|
|
19819
19870
|
case S.PROC_INST_ENDING:
|
|
19820
|
-
V === ">" ? (L(
|
|
19821
|
-
name:
|
|
19822
|
-
body:
|
|
19823
|
-
}),
|
|
19871
|
+
V === ">" ? (L(_, "onprocessinginstruction", {
|
|
19872
|
+
name: _.procInstName,
|
|
19873
|
+
body: _.procInstBody
|
|
19874
|
+
}), _.procInstName = _.procInstBody = "", _.state = S.TEXT) : (_.procInstBody += "?" + V, _.state = S.PROC_INST_BODY);
|
|
19824
19875
|
continue;
|
|
19825
19876
|
case S.OPEN_TAG:
|
|
19826
|
-
O(p, V) ?
|
|
19877
|
+
O(p, V) ? _.tagName += V : (z(_), V === ">" ? Q(_) : V === "/" ? _.state = S.OPEN_TAG_SLASH : (v(V) || j(_, "Invalid character in tag name"), _.state = S.ATTRIB));
|
|
19827
19878
|
continue;
|
|
19828
19879
|
case S.OPEN_TAG_SLASH:
|
|
19829
|
-
V === ">" ? (Q(
|
|
19880
|
+
V === ">" ? (Q(_, !0), J(_)) : (j(_, "Forward-slash in opening tag not followed by >"), _.state = S.ATTRIB);
|
|
19830
19881
|
continue;
|
|
19831
19882
|
case S.ATTRIB:
|
|
19832
19883
|
if (v(V))
|
|
19833
19884
|
continue;
|
|
19834
|
-
V === ">" ? Q(
|
|
19885
|
+
V === ">" ? Q(_) : V === "/" ? _.state = S.OPEN_TAG_SLASH : O(E, V) ? (_.attribName = V, _.attribValue = "", _.state = S.ATTRIB_NAME) : j(_, "Invalid attribute name");
|
|
19835
19886
|
continue;
|
|
19836
19887
|
case S.ATTRIB_NAME:
|
|
19837
|
-
V === "=" ?
|
|
19888
|
+
V === "=" ? _.state = S.ATTRIB_VALUE : V === ">" ? (j(_, "Attribute without value"), _.attribValue = _.attribName, q(_), Q(_)) : v(V) ? _.state = S.ATTRIB_NAME_SAW_WHITE : O(p, V) ? _.attribName += V : j(_, "Invalid attribute name");
|
|
19838
19889
|
continue;
|
|
19839
19890
|
case S.ATTRIB_NAME_SAW_WHITE:
|
|
19840
19891
|
if (V === "=")
|
|
19841
|
-
|
|
19892
|
+
_.state = S.ATTRIB_VALUE;
|
|
19842
19893
|
else {
|
|
19843
19894
|
if (v(V))
|
|
19844
19895
|
continue;
|
|
19845
|
-
|
|
19846
|
-
name:
|
|
19896
|
+
j(_, "Attribute without value"), _.tag.attributes[_.attribName] = "", _.attribValue = "", L(_, "onattribute", {
|
|
19897
|
+
name: _.attribName,
|
|
19847
19898
|
value: ""
|
|
19848
|
-
}),
|
|
19899
|
+
}), _.attribName = "", V === ">" ? Q(_) : O(E, V) ? (_.attribName = V, _.state = S.ATTRIB_NAME) : (j(_, "Invalid attribute name"), _.state = S.ATTRIB);
|
|
19849
19900
|
}
|
|
19850
19901
|
continue;
|
|
19851
19902
|
case S.ATTRIB_VALUE:
|
|
19852
19903
|
if (v(V))
|
|
19853
19904
|
continue;
|
|
19854
|
-
k(V) ? (
|
|
19905
|
+
k(V) ? (_.q = V, _.state = S.ATTRIB_VALUE_QUOTED) : (j(_, "Unquoted attribute value"), _.state = S.ATTRIB_VALUE_UNQUOTED, _.attribValue = V);
|
|
19855
19906
|
continue;
|
|
19856
19907
|
case S.ATTRIB_VALUE_QUOTED:
|
|
19857
|
-
if (V !==
|
|
19858
|
-
V === "&" ?
|
|
19908
|
+
if (V !== _.q) {
|
|
19909
|
+
V === "&" ? _.state = S.ATTRIB_VALUE_ENTITY_Q : _.attribValue += V;
|
|
19859
19910
|
continue;
|
|
19860
19911
|
}
|
|
19861
|
-
q(
|
|
19912
|
+
q(_), _.q = "", _.state = S.ATTRIB_VALUE_CLOSED;
|
|
19862
19913
|
continue;
|
|
19863
19914
|
case S.ATTRIB_VALUE_CLOSED:
|
|
19864
|
-
v(V) ?
|
|
19915
|
+
v(V) ? _.state = S.ATTRIB : V === ">" ? Q(_) : V === "/" ? _.state = S.OPEN_TAG_SLASH : O(E, V) ? (j(_, "No whitespace between attributes"), _.attribName = V, _.attribValue = "", _.state = S.ATTRIB_NAME) : j(_, "Invalid attribute name");
|
|
19865
19916
|
continue;
|
|
19866
19917
|
case S.ATTRIB_VALUE_UNQUOTED:
|
|
19867
19918
|
if (!$(V)) {
|
|
19868
|
-
V === "&" ?
|
|
19919
|
+
V === "&" ? _.state = S.ATTRIB_VALUE_ENTITY_U : _.attribValue += V;
|
|
19869
19920
|
continue;
|
|
19870
19921
|
}
|
|
19871
|
-
q(
|
|
19922
|
+
q(_), V === ">" ? Q(_) : _.state = S.ATTRIB;
|
|
19872
19923
|
continue;
|
|
19873
19924
|
case S.CLOSE_TAG:
|
|
19874
|
-
if (
|
|
19875
|
-
V === ">" ? J(
|
|
19925
|
+
if (_.tagName)
|
|
19926
|
+
V === ">" ? J(_) : O(p, V) ? _.tagName += V : _.script ? (_.script += "</" + _.tagName, _.tagName = "", _.state = S.SCRIPT) : (v(V) || j(_, "Invalid tagname in closing tag"), _.state = S.CLOSE_TAG_SAW_WHITE);
|
|
19876
19927
|
else {
|
|
19877
19928
|
if (v(V))
|
|
19878
19929
|
continue;
|
|
19879
|
-
x(E, V) ?
|
|
19930
|
+
x(E, V) ? _.script ? (_.script += "</" + V, _.state = S.SCRIPT) : j(_, "Invalid tagname in closing tag.") : _.tagName = V;
|
|
19880
19931
|
}
|
|
19881
19932
|
continue;
|
|
19882
19933
|
case S.CLOSE_TAG_SAW_WHITE:
|
|
19883
19934
|
if (v(V))
|
|
19884
19935
|
continue;
|
|
19885
|
-
V === ">" ? J(
|
|
19936
|
+
V === ">" ? J(_) : j(_, "Invalid characters in closing tag");
|
|
19886
19937
|
continue;
|
|
19887
19938
|
case S.TEXT_ENTITY:
|
|
19888
19939
|
case S.ATTRIB_VALUE_ENTITY_Q:
|
|
19889
19940
|
case S.ATTRIB_VALUE_ENTITY_U:
|
|
19890
19941
|
var N, T;
|
|
19891
|
-
switch (
|
|
19942
|
+
switch (_.state) {
|
|
19892
19943
|
case S.TEXT_ENTITY:
|
|
19893
19944
|
N = S.TEXT, T = "textNode";
|
|
19894
19945
|
break;
|
|
@@ -19900,22 +19951,22 @@ Actual: ` + b.attribValue
|
|
|
19900
19951
|
break;
|
|
19901
19952
|
}
|
|
19902
19953
|
if (V === ";")
|
|
19903
|
-
if (
|
|
19904
|
-
var I = se(
|
|
19905
|
-
|
|
19954
|
+
if (_.opt.unparsedEntities) {
|
|
19955
|
+
var I = se(_);
|
|
19956
|
+
_.entity = "", _.state = N, _.write(I);
|
|
19906
19957
|
} else
|
|
19907
|
-
|
|
19958
|
+
_[T] += se(_), _.entity = "", _.state = N;
|
|
19908
19959
|
else
|
|
19909
|
-
O(
|
|
19960
|
+
O(_.entity.length ? g : f, V) ? _.entity += V : (j(_, "Invalid character in entity name"), _[T] += "&" + _.entity + V, _.entity = "", _.state = N);
|
|
19910
19961
|
continue;
|
|
19911
19962
|
default:
|
|
19912
|
-
throw new Error(
|
|
19963
|
+
throw new Error(_, "Unknown state: " + _.state);
|
|
19913
19964
|
}
|
|
19914
|
-
return
|
|
19965
|
+
return _.position >= _.bufferCheckPosition && n(_), _;
|
|
19915
19966
|
}
|
|
19916
19967
|
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
|
|
19917
19968
|
String.fromCodePoint || function() {
|
|
19918
|
-
var b = String.fromCharCode,
|
|
19969
|
+
var b = String.fromCharCode, _ = Math.floor, P = function() {
|
|
19919
19970
|
var V = 16384, R = [], U, N, T = -1, I = arguments.length;
|
|
19920
19971
|
if (!I)
|
|
19921
19972
|
return "";
|
|
@@ -19924,7 +19975,7 @@ Actual: ` + b.attribValue
|
|
|
19924
19975
|
if (!isFinite(M) || // `NaN`, `+Infinity`, or `-Infinity`
|
|
19925
19976
|
M < 0 || // not a valid Unicode code point
|
|
19926
19977
|
M > 1114111 || // not a valid Unicode code point
|
|
19927
|
-
|
|
19978
|
+
_(M) !== M)
|
|
19928
19979
|
throw RangeError("Invalid code point: " + M);
|
|
19929
19980
|
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);
|
|
19930
19981
|
}
|
|
@@ -20480,8 +20531,8 @@ const processService = {
|
|
|
20480
20531
|
}
|
|
20481
20532
|
};
|
|
20482
20533
|
function _sfc_render$D(e, t, o, r, n, i) {
|
|
20483
|
-
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"), C = resolveComponent("el-cascader"), y = resolveComponent("el-row"),
|
|
20484
|
-
return openBlock(), createBlock(
|
|
20534
|
+
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"), C = resolveComponent("el-cascader"), y = resolveComponent("el-row"), w = resolveComponent("el-form");
|
|
20535
|
+
return openBlock(), createBlock(w, {
|
|
20485
20536
|
model: n.formModel,
|
|
20486
20537
|
"label-width": "100px"
|
|
20487
20538
|
}, {
|
|
@@ -21449,8 +21500,8 @@ const NoticeSettings = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _s
|
|
|
21449
21500
|
}
|
|
21450
21501
|
};
|
|
21451
21502
|
function _sfc_render$w(e, t, o, r, n, i) {
|
|
21452
|
-
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"), C = resolveComponent("variables"), y = resolveComponent("el-tabs"),
|
|
21453
|
-
return openBlock(), createBlock(
|
|
21503
|
+
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"), C = resolveComponent("variables"), y = resolveComponent("el-tabs"), w = resolveComponent("el-dialog");
|
|
21504
|
+
return openBlock(), createBlock(w, {
|
|
21454
21505
|
"model-value": "",
|
|
21455
21506
|
title: e.$t("workflowEditor.process.processProperties"),
|
|
21456
21507
|
center: !0,
|
|
@@ -21769,8 +21820,8 @@ const BasicProperties$3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render",
|
|
|
21769
21820
|
}
|
|
21770
21821
|
};
|
|
21771
21822
|
function _sfc_render$t(e, t, o, r, n, i) {
|
|
21772
|
-
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"), C = resolveComponent("el-form"), y = resolveComponent("el-tabs"),
|
|
21773
|
-
return openBlock(), createBlock(
|
|
21823
|
+
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"), C = resolveComponent("el-form"), y = resolveComponent("el-tabs"), w = resolveComponent("el-dialog");
|
|
21824
|
+
return openBlock(), createBlock(w, {
|
|
21774
21825
|
"model-value": "",
|
|
21775
21826
|
title: e.$t("workflowEditor.transition.flowProperties"),
|
|
21776
21827
|
center: !0,
|
|
@@ -23087,7 +23138,7 @@ const FieldMappings = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sf
|
|
|
23087
23138
|
}
|
|
23088
23139
|
};
|
|
23089
23140
|
function _sfc_render$j(e, t, o, r, n, i) {
|
|
23090
|
-
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"), C = resolveComponent("el-switch"), y = resolveComponent("el-radio"),
|
|
23141
|
+
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"), C = resolveComponent("el-switch"), y = resolveComponent("el-radio"), w = resolveComponent("el-radio-group"), E = resolveComponent("field-mappings"), p = resolveComponent("el-form");
|
|
23091
23142
|
return openBlock(), createBlock(p, { model: n.formModel }, {
|
|
23092
23143
|
default: withCtx(() => [
|
|
23093
23144
|
createVNode(c, null, {
|
|
@@ -23170,7 +23221,7 @@ function _sfc_render$j(e, t, o, r, n, i) {
|
|
|
23170
23221
|
]),
|
|
23171
23222
|
_: 1
|
|
23172
23223
|
}, 8, ["label"]),
|
|
23173
|
-
createVNode(
|
|
23224
|
+
createVNode(w, {
|
|
23174
23225
|
modelValue: n.formModel.tache.moreTransactor,
|
|
23175
23226
|
"onUpdate:modelValue": t[5] || (t[5] = (f) => n.formModel.tache.moreTransactor = f)
|
|
23176
23227
|
}, {
|
|
@@ -23851,11 +23902,11 @@ var FileSaver_min = { exports: {} };
|
|
|
23851
23902
|
return r(a, u, c);
|
|
23852
23903
|
var m = a.type === "application/octet-stream", C = /constructor/i.test(s.HTMLElement) || s.safari, y = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
23853
23904
|
if ((y || m && C) && typeof FileReader == "object") {
|
|
23854
|
-
var
|
|
23855
|
-
|
|
23856
|
-
var f =
|
|
23905
|
+
var w = new FileReader();
|
|
23906
|
+
w.onloadend = function() {
|
|
23907
|
+
var f = w.result;
|
|
23857
23908
|
f = y ? f : f.replace(/^data:[^;]*;/, "data:attachment/file;"), d ? d.location.href = f : location = f, d = null;
|
|
23858
|
-
},
|
|
23909
|
+
}, w.readAsDataURL(a);
|
|
23859
23910
|
} else {
|
|
23860
23911
|
var E = s.URL || s.webkitURL, p = E.createObjectURL(a);
|
|
23861
23912
|
d ? d.location = p : location.href = p, d = null, setTimeout(function() {
|
|
@@ -24224,8 +24275,8 @@ var prism = { exports: {} };
|
|
|
24224
24275
|
v.hasOwnProperty(x) || (O[x] = $[x]);
|
|
24225
24276
|
}
|
|
24226
24277
|
var B = k[f];
|
|
24227
|
-
return k[f] = O, l.languages.DFS(l.languages, function(
|
|
24228
|
-
L === B &&
|
|
24278
|
+
return k[f] = O, l.languages.DFS(l.languages, function(H, L) {
|
|
24279
|
+
L === B && H != f && (this[H] = O);
|
|
24229
24280
|
}), O;
|
|
24230
24281
|
},
|
|
24231
24282
|
// Traverse a language definition with Depth First Search
|
|
@@ -24332,10 +24383,10 @@ var prism = { exports: {} };
|
|
|
24332
24383
|
return;
|
|
24333
24384
|
}
|
|
24334
24385
|
if (g && r.Worker) {
|
|
24335
|
-
var
|
|
24336
|
-
|
|
24386
|
+
var H = new Worker(l.filename);
|
|
24387
|
+
H.onmessage = function(L) {
|
|
24337
24388
|
B(L.data);
|
|
24338
|
-
},
|
|
24389
|
+
}, H.postMessage(JSON.stringify({
|
|
24339
24390
|
language: S.language,
|
|
24340
24391
|
code: S.code,
|
|
24341
24392
|
immediateClose: !0
|
|
@@ -24492,19 +24543,19 @@ var prism = { exports: {} };
|
|
|
24492
24543
|
for (var B = 0; B < S.length; ++B) {
|
|
24493
24544
|
if (O && O.cause == x + "," + B)
|
|
24494
24545
|
return;
|
|
24495
|
-
var
|
|
24496
|
-
if (ne && !
|
|
24497
|
-
var te =
|
|
24498
|
-
|
|
24546
|
+
var H = S[B], L = H.inside, G = !!H.lookbehind, ne = !!H.greedy, re = H.alias;
|
|
24547
|
+
if (ne && !H.pattern.global) {
|
|
24548
|
+
var te = H.pattern.toString().match(/[imsuy]*$/)[0];
|
|
24549
|
+
H.pattern = RegExp(H.pattern.source, te + "g");
|
|
24499
24550
|
}
|
|
24500
|
-
for (var
|
|
24551
|
+
for (var j = H.pattern || H, z = k.next, Y = $; z !== g.tail && !(O && Y >= O.reach); Y += z.value.length, z = z.next) {
|
|
24501
24552
|
var q = z.value;
|
|
24502
24553
|
if (g.length > f.length)
|
|
24503
24554
|
return;
|
|
24504
24555
|
if (!(q instanceof a)) {
|
|
24505
24556
|
var Q = 1, J;
|
|
24506
24557
|
if (ne) {
|
|
24507
|
-
if (J = u(
|
|
24558
|
+
if (J = u(j, Y, f, G), !J || J.index >= f.length)
|
|
24508
24559
|
break;
|
|
24509
24560
|
var oe = J.index, se = J.index + J[0].length, X = Y;
|
|
24510
24561
|
for (X += z.value.length; oe >= X; )
|
|
@@ -24514,12 +24565,12 @@ var prism = { exports: {} };
|
|
|
24514
24565
|
for (var ie = z; ie !== g.tail && (X < se || typeof ie.value == "string"); ie = ie.next)
|
|
24515
24566
|
Q++, X += ie.value.length;
|
|
24516
24567
|
Q--, q = f.slice(Y, X), J.index -= Y;
|
|
24517
|
-
} else if (J = u(
|
|
24568
|
+
} else if (J = u(j, 0, q, G), !J)
|
|
24518
24569
|
continue;
|
|
24519
|
-
var oe = J.index, b = J[0],
|
|
24570
|
+
var oe = J.index, b = J[0], _ = q.slice(0, oe), P = q.slice(oe + b.length), V = Y + q.length;
|
|
24520
24571
|
O && V > O.reach && (O.reach = V);
|
|
24521
24572
|
var R = z.prev;
|
|
24522
|
-
|
|
24573
|
+
_ && (R = m(g, R, _), Y += _.length), C(g, R, Q);
|
|
24523
24574
|
var U = new a(x, L ? l.tokenize(b, L) : b, re, b);
|
|
24524
24575
|
if (z = m(g, R, U), P && m(g, z, P), Q > 1) {
|
|
24525
24576
|
var N = {
|
|
@@ -24556,14 +24607,14 @@ var prism = { exports: {} };
|
|
|
24556
24607
|
var g = JSON.parse(f.data), v = g.language, k = g.code, $ = g.immediateClose;
|
|
24557
24608
|
r.postMessage(l.highlight(k, l.languages[v], v)), $ && r.close();
|
|
24558
24609
|
}, !1)), l;
|
|
24559
|
-
var
|
|
24560
|
-
|
|
24610
|
+
var w = l.util.currentScript();
|
|
24611
|
+
w && (l.filename = w.src, w.hasAttribute("data-manual") && (l.manual = !0));
|
|
24561
24612
|
function E() {
|
|
24562
24613
|
l.manual || l.highlightAll();
|
|
24563
24614
|
}
|
|
24564
24615
|
if (!l.manual) {
|
|
24565
24616
|
var p = document.readyState;
|
|
24566
|
-
p === "loading" || p === "interactive" &&
|
|
24617
|
+
p === "loading" || p === "interactive" && w && w.defer ? document.addEventListener("DOMContentLoaded", E) : window.requestAnimationFrame ? window.requestAnimationFrame(E) : window.setTimeout(E, 16);
|
|
24567
24618
|
}
|
|
24568
24619
|
return l;
|
|
24569
24620
|
}(t);
|
|
@@ -24945,8 +24996,8 @@ var prism = { exports: {} };
|
|
|
24945
24996
|
if (typeof o > "u" || typeof document > "u")
|
|
24946
24997
|
return;
|
|
24947
24998
|
Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
|
|
24948
|
-
var r = "Loading…", n = function(
|
|
24949
|
-
return "✖ Error " +
|
|
24999
|
+
var r = "Loading…", n = function(w, E) {
|
|
25000
|
+
return "✖ Error " + w + " while fetching file: " + E;
|
|
24950
25001
|
}, i = "✖ Error: File does not exist or is empty", s = {
|
|
24951
25002
|
js: "javascript",
|
|
24952
25003
|
py: "python",
|
|
@@ -24958,31 +25009,31 @@ var prism = { exports: {} };
|
|
|
24958
25009
|
h: "c",
|
|
24959
25010
|
tex: "latex"
|
|
24960
25011
|
}, l = "data-src-status", a = "loading", u = "loaded", c = "failed", d = "pre[data-src]:not([" + l + '="' + u + '"]):not([' + l + '="' + a + '"])';
|
|
24961
|
-
function m(
|
|
25012
|
+
function m(w, E, p) {
|
|
24962
25013
|
var f = new XMLHttpRequest();
|
|
24963
|
-
f.open("GET",
|
|
25014
|
+
f.open("GET", w, !0), f.onreadystatechange = function() {
|
|
24964
25015
|
f.readyState == 4 && (f.status < 400 && f.responseText ? E(f.responseText) : f.status >= 400 ? p(n(f.status, f.statusText)) : p(i));
|
|
24965
25016
|
}, f.send(null);
|
|
24966
25017
|
}
|
|
24967
|
-
function C(
|
|
24968
|
-
var E = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(
|
|
25018
|
+
function C(w) {
|
|
25019
|
+
var E = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(w || "");
|
|
24969
25020
|
if (E) {
|
|
24970
25021
|
var p = Number(E[1]), f = E[2], g = E[3];
|
|
24971
25022
|
return f ? g ? [p, Number(g)] : [p, void 0] : [p, p];
|
|
24972
25023
|
}
|
|
24973
25024
|
}
|
|
24974
|
-
o.hooks.add("before-highlightall", function(
|
|
24975
|
-
|
|
24976
|
-
}), o.hooks.add("before-sanity-check", function(
|
|
25025
|
+
o.hooks.add("before-highlightall", function(w) {
|
|
25026
|
+
w.selector += ", " + d;
|
|
25027
|
+
}), o.hooks.add("before-sanity-check", function(w) {
|
|
24977
25028
|
var E = (
|
|
24978
25029
|
/** @type {HTMLPreElement} */
|
|
24979
|
-
|
|
25030
|
+
w.element
|
|
24980
25031
|
);
|
|
24981
25032
|
if (E.matches(d)) {
|
|
24982
|
-
|
|
25033
|
+
w.code = "", E.setAttribute(l, a);
|
|
24983
25034
|
var p = E.appendChild(document.createElement("CODE"));
|
|
24984
25035
|
p.textContent = r;
|
|
24985
|
-
var f = E.getAttribute("data-src"), g =
|
|
25036
|
+
var f = E.getAttribute("data-src"), g = w.language;
|
|
24986
25037
|
if (g === "none") {
|
|
24987
25038
|
var v = (/\.(\w+)$/.exec(f) || [, "none"])[1];
|
|
24988
25039
|
g = s[v] || v;
|
|
@@ -25786,31 +25837,31 @@ const buildTranslator = (e) => (t, o) => translate(t, o, unref(e)), translate =
|
|
|
25786
25837
|
const o = useGetDerivedNamespace(t);
|
|
25787
25838
|
return {
|
|
25788
25839
|
namespace: o,
|
|
25789
|
-
b: (
|
|
25790
|
-
e: (
|
|
25791
|
-
m: (
|
|
25792
|
-
be: (
|
|
25793
|
-
em: (
|
|
25794
|
-
bm: (
|
|
25795
|
-
bem: (
|
|
25796
|
-
is: (
|
|
25840
|
+
b: (w = "") => _bem(o.value, e, w, "", ""),
|
|
25841
|
+
e: (w) => w ? _bem(o.value, e, "", w, "") : "",
|
|
25842
|
+
m: (w) => w ? _bem(o.value, e, "", "", w) : "",
|
|
25843
|
+
be: (w, E) => w && E ? _bem(o.value, e, w, E, "") : "",
|
|
25844
|
+
em: (w, E) => w && E ? _bem(o.value, e, "", w, E) : "",
|
|
25845
|
+
bm: (w, E) => w && E ? _bem(o.value, e, w, "", E) : "",
|
|
25846
|
+
bem: (w, E, p) => w && E && p ? _bem(o.value, e, w, E, p) : "",
|
|
25847
|
+
is: (w, ...E) => {
|
|
25797
25848
|
const p = E.length >= 1 ? E[0] : !0;
|
|
25798
|
-
return
|
|
25849
|
+
return w && p ? `${statePrefix}${w}` : "";
|
|
25799
25850
|
},
|
|
25800
|
-
cssVar: (
|
|
25851
|
+
cssVar: (w) => {
|
|
25801
25852
|
const E = {};
|
|
25802
|
-
for (const p in
|
|
25803
|
-
|
|
25853
|
+
for (const p in w)
|
|
25854
|
+
w[p] && (E[`--${o.value}-${p}`] = w[p]);
|
|
25804
25855
|
return E;
|
|
25805
25856
|
},
|
|
25806
|
-
cssVarName: (
|
|
25807
|
-
cssVarBlock: (
|
|
25857
|
+
cssVarName: (w) => `--${o.value}-${w}`,
|
|
25858
|
+
cssVarBlock: (w) => {
|
|
25808
25859
|
const E = {};
|
|
25809
|
-
for (const p in
|
|
25810
|
-
|
|
25860
|
+
for (const p in w)
|
|
25861
|
+
w[p] && (E[`--${o.value}-${e}-${p}`] = w[p]);
|
|
25811
25862
|
return E;
|
|
25812
25863
|
},
|
|
25813
|
-
cssVarBlockName: (
|
|
25864
|
+
cssVarBlockName: (w) => `--${o.value}-${e}-${w}`
|
|
25814
25865
|
};
|
|
25815
25866
|
}, zIndex = ref(0), defaultInitialZIndex = 2e3, zIndexContextKey = Symbol("zIndexContextKey"), useZIndex = (e) => {
|
|
25816
25867
|
const t = e || (getCurrentInstance() ? inject(zIndexContextKey, void 0) : void 0), o = computed(() => {
|
|
@@ -26116,8 +26167,8 @@ function asyncMap(e, t, o, r, n) {
|
|
|
26116
26167
|
var i = new Promise(function(m, C) {
|
|
26117
26168
|
var y = function(p) {
|
|
26118
26169
|
return r(p), p.length ? C(new AsyncValidationError(p, convertFieldsError(p))) : m(n);
|
|
26119
|
-
},
|
|
26120
|
-
asyncSerialArray(
|
|
26170
|
+
}, w = flattenObjArr(e);
|
|
26171
|
+
asyncSerialArray(w, o, y);
|
|
26121
26172
|
});
|
|
26122
26173
|
return i.catch(function(m) {
|
|
26123
26174
|
return m;
|
|
@@ -26128,9 +26179,9 @@ function asyncMap(e, t, o, r, n) {
|
|
|
26128
26179
|
if (c.push.apply(c, E), u++, u === a)
|
|
26129
26180
|
return r(c), c.length ? C(new AsyncValidationError(c, convertFieldsError(c))) : m(n);
|
|
26130
26181
|
};
|
|
26131
|
-
l.length || (r(c), m(n)), l.forEach(function(
|
|
26132
|
-
var E = e[
|
|
26133
|
-
s.indexOf(
|
|
26182
|
+
l.length || (r(c), m(n)), l.forEach(function(w) {
|
|
26183
|
+
var E = e[w];
|
|
26184
|
+
s.indexOf(w) !== -1 ? asyncSerialArray(E, o, y) : asyncParallelArray(E, o, y);
|
|
26134
26185
|
});
|
|
26135
26186
|
});
|
|
26136
26187
|
return d.catch(function(m) {
|
|
@@ -26196,7 +26247,7 @@ var required$1 = function e(t, o, r, n, i, s) {
|
|
|
26196
26247
|
}, a.v6 = function(g) {
|
|
26197
26248
|
return g && g.exact ? l : new RegExp("" + t(g) + n + t(g), "g");
|
|
26198
26249
|
};
|
|
26199
|
-
var u = "(?:(?:[a-z]+:)?//)", c = "(?:\\S+(?::\\S*)?@)?", d = a.v4().source, m = a.v6().source, C = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", y = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",
|
|
26250
|
+
var u = "(?:(?:[a-z]+:)?//)", c = "(?:\\S+(?::\\S*)?@)?", d = a.v4().source, m = a.v6().source, C = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", y = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", w = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", E = "(?::\\d{2,5})?", p = '(?:[/?#][^\\s"]*)?', f = "(?:" + u + "|www\\.)" + c + "(?:localhost|" + d + "|" + m + "|" + C + y + w + ")" + E + p;
|
|
26200
26251
|
return urlReg = new RegExp("(?:^" + f + "$)", "i"), urlReg;
|
|
26201
26252
|
}, pattern$2 = {
|
|
26202
26253
|
// http://emailregex.com/
|
|
@@ -26490,7 +26541,7 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
26490
26541
|
var l = r, a = n, u = i;
|
|
26491
26542
|
if (typeof a == "function" && (u = a, a = {}), !this.rules || Object.keys(this.rules).length === 0)
|
|
26492
26543
|
return u && u(null, l), Promise.resolve(l);
|
|
26493
|
-
function c(
|
|
26544
|
+
function c(w) {
|
|
26494
26545
|
var E = [], p = {};
|
|
26495
26546
|
function f(v) {
|
|
26496
26547
|
if (Array.isArray(v)) {
|
|
@@ -26499,8 +26550,8 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
26499
26550
|
} else
|
|
26500
26551
|
E.push(v);
|
|
26501
26552
|
}
|
|
26502
|
-
for (var g = 0; g <
|
|
26503
|
-
f(
|
|
26553
|
+
for (var g = 0; g < w.length; g++)
|
|
26554
|
+
f(w[g]);
|
|
26504
26555
|
E.length ? (p = convertFieldsError(E), u(E, p)) : u(null, l);
|
|
26505
26556
|
}
|
|
26506
26557
|
if (a.messages) {
|
|
@@ -26509,24 +26560,24 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
26509
26560
|
} else
|
|
26510
26561
|
a.messages = this.messages();
|
|
26511
26562
|
var m = {}, C = a.keys || Object.keys(this.rules);
|
|
26512
|
-
C.forEach(function(
|
|
26513
|
-
var E = s.rules[
|
|
26563
|
+
C.forEach(function(w) {
|
|
26564
|
+
var E = s.rules[w], p = l[w];
|
|
26514
26565
|
E.forEach(function(f) {
|
|
26515
26566
|
var g = f;
|
|
26516
|
-
typeof g.transform == "function" && (l === r && (l = _extends({}, l)), p = l[
|
|
26567
|
+
typeof g.transform == "function" && (l === r && (l = _extends({}, l)), p = l[w] = g.transform(p)), typeof g == "function" ? g = {
|
|
26517
26568
|
validator: g
|
|
26518
|
-
} : g = _extends({}, g), g.validator = s.getValidationMethod(g), g.validator && (g.field =
|
|
26569
|
+
} : g = _extends({}, g), g.validator = s.getValidationMethod(g), g.validator && (g.field = w, g.fullField = g.fullField || w, g.type = s.getType(g), m[w] = m[w] || [], m[w].push({
|
|
26519
26570
|
rule: g,
|
|
26520
26571
|
value: p,
|
|
26521
26572
|
source: l,
|
|
26522
|
-
field:
|
|
26573
|
+
field: w
|
|
26523
26574
|
}));
|
|
26524
26575
|
});
|
|
26525
26576
|
});
|
|
26526
26577
|
var y = {};
|
|
26527
|
-
return asyncMap(m, a, function(
|
|
26528
|
-
var p =
|
|
26529
|
-
f = f && (p.required || !p.required &&
|
|
26578
|
+
return asyncMap(m, a, function(w, E) {
|
|
26579
|
+
var p = w.rule, f = (p.type === "object" || p.type === "array") && (typeof p.fields == "object" || typeof p.defaultField == "object");
|
|
26580
|
+
f = f && (p.required || !p.required && w.value), p.field = w.field;
|
|
26530
26581
|
function g($, O) {
|
|
26531
26582
|
return _extends({}, O, {
|
|
26532
26583
|
fullField: p.fullField + "." + $,
|
|
@@ -26543,19 +26594,19 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
26543
26594
|
if (!f)
|
|
26544
26595
|
E(x);
|
|
26545
26596
|
else {
|
|
26546
|
-
if (p.required && !
|
|
26597
|
+
if (p.required && !w.value)
|
|
26547
26598
|
return p.message !== void 0 ? x = [].concat(p.message).map(complementError(p, l)) : a.error && (x = [a.error(p, format(a.messages.required, p.field))]), E(x);
|
|
26548
26599
|
var S = {};
|
|
26549
|
-
p.defaultField && Object.keys(
|
|
26600
|
+
p.defaultField && Object.keys(w.value).map(function(L) {
|
|
26550
26601
|
S[L] = p.defaultField;
|
|
26551
|
-
}), S = _extends({}, S,
|
|
26602
|
+
}), S = _extends({}, S, w.rule.fields);
|
|
26552
26603
|
var B = {};
|
|
26553
26604
|
Object.keys(S).forEach(function(L) {
|
|
26554
26605
|
var G = S[L], ne = Array.isArray(G) ? G : [G];
|
|
26555
26606
|
B[L] = ne.map(g.bind(null, L));
|
|
26556
26607
|
});
|
|
26557
|
-
var
|
|
26558
|
-
|
|
26608
|
+
var H = new e(B);
|
|
26609
|
+
H.messages(a.messages), w.rule.options && (w.rule.options.messages = a.messages, w.rule.options.error = a.error), H.validate(w.value, w.rule.options || a, function(L) {
|
|
26559
26610
|
var G = [];
|
|
26560
26611
|
x && x.length && G.push.apply(G, x), L && L.length && G.push.apply(G, L), E(G.length ? G : null);
|
|
26561
26612
|
});
|
|
@@ -26563,10 +26614,10 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
26563
26614
|
}
|
|
26564
26615
|
var k;
|
|
26565
26616
|
if (p.asyncValidator)
|
|
26566
|
-
k = p.asyncValidator(p,
|
|
26617
|
+
k = p.asyncValidator(p, w.value, v, w.source, a);
|
|
26567
26618
|
else if (p.validator) {
|
|
26568
26619
|
try {
|
|
26569
|
-
k = p.validator(p,
|
|
26620
|
+
k = p.validator(p, w.value, v, w.source, a);
|
|
26570
26621
|
} catch ($) {
|
|
26571
26622
|
console.error == null || console.error($), a.suppressValidatorError || setTimeout(function() {
|
|
26572
26623
|
throw $;
|
|
@@ -26579,8 +26630,8 @@ var messages = newMessages(), Schema = /* @__PURE__ */ function() {
|
|
|
26579
26630
|
}, function($) {
|
|
26580
26631
|
return v($);
|
|
26581
26632
|
});
|
|
26582
|
-
}, function(
|
|
26583
|
-
c(
|
|
26633
|
+
}, function(w) {
|
|
26634
|
+
c(w);
|
|
26584
26635
|
}, l);
|
|
26585
26636
|
}, t.getType = function(r) {
|
|
26586
26637
|
if (r.type === void 0 && r.pattern instanceof RegExp && (r.type = "pattern"), typeof r.validator != "function" && r.type && !validators.hasOwnProperty(r.type))
|
|
@@ -26752,7 +26803,7 @@ const ElBadge = withInstall(Badge), messageTypes = ["success", "info", "warning"
|
|
|
26752
26803
|
const m = computed(() => o.type ? o.type === "error" ? "danger" : o.type : "info"), C = computed(() => {
|
|
26753
26804
|
const O = o.type;
|
|
26754
26805
|
return { [n.bm("icon", O)]: O && TypeComponentsMap[O] };
|
|
26755
|
-
}), y = computed(() => o.icon || TypeComponentsMap[o.type] || ""),
|
|
26806
|
+
}), y = computed(() => o.icon || TypeComponentsMap[o.type] || ""), w = computed(() => getLastOffset(o.id)), E = computed(() => getOffsetOrSpace(o.id, o.offset) + w.value), p = computed(() => c.value + E.value), f = computed(() => ({
|
|
26756
26807
|
top: `${E.value}px`,
|
|
26757
26808
|
zIndex: s.value
|
|
26758
26809
|
}));
|
|
@@ -27581,14 +27632,14 @@ function createCurrentLocation(e, t) {
|
|
|
27581
27632
|
function useHistoryListeners(e, t, o, r) {
|
|
27582
27633
|
let n = [], i = [], s = null;
|
|
27583
27634
|
const l = ({ state: m }) => {
|
|
27584
|
-
const C = createCurrentLocation(e, location), y = o.value,
|
|
27635
|
+
const C = createCurrentLocation(e, location), y = o.value, w = t.value;
|
|
27585
27636
|
let E = 0;
|
|
27586
27637
|
if (m) {
|
|
27587
27638
|
if (o.value = C, t.value = m, s && s === y) {
|
|
27588
27639
|
s = null;
|
|
27589
27640
|
return;
|
|
27590
27641
|
}
|
|
27591
|
-
E =
|
|
27642
|
+
E = w ? m.position - w.position : 0;
|
|
27592
27643
|
} else
|
|
27593
27644
|
r(C);
|
|
27594
27645
|
n.forEach((p) => {
|
|
@@ -27809,10 +27860,10 @@ function tokensToParser(e, t) {
|
|
|
27809
27860
|
if (m.type === 0)
|
|
27810
27861
|
d || (n += "/"), n += m.value.replace(REGEX_CHARS_RE, "\\$&"), C += 40;
|
|
27811
27862
|
else if (m.type === 1) {
|
|
27812
|
-
const { value: y, repeatable:
|
|
27863
|
+
const { value: y, repeatable: w, optional: E, regexp: p } = m;
|
|
27813
27864
|
i.push({
|
|
27814
27865
|
name: y,
|
|
27815
|
-
repeatable:
|
|
27866
|
+
repeatable: w,
|
|
27816
27867
|
optional: E
|
|
27817
27868
|
});
|
|
27818
27869
|
const f = p || BASE_PARAM_PATTERN;
|
|
@@ -27824,10 +27875,10 @@ function tokensToParser(e, t) {
|
|
|
27824
27875
|
throw new Error(`Invalid custom RegExp for param "${y}" (${f}): ` + v.message);
|
|
27825
27876
|
}
|
|
27826
27877
|
}
|
|
27827
|
-
let g =
|
|
27878
|
+
let g = w ? `((?:${f})(?:/(?:${f}))*)` : `(${f})`;
|
|
27828
27879
|
d || (g = // avoid an optional / if there are more segments e.g. /:p?-static
|
|
27829
27880
|
// or /:p?-:p2
|
|
27830
|
-
E && u.length < 2 ? `(?:/${g})` : "/" + g), E && (g += "?"), n += g, C += 20, E && (C += -8),
|
|
27881
|
+
E && u.length < 2 ? `(?:/${g})` : "/" + g), E && (g += "?"), n += g, C += 20, E && (C += -8), w && (C += -20), f === ".*" && (C += -50);
|
|
27831
27882
|
}
|
|
27832
27883
|
c.push(C);
|
|
27833
27884
|
}
|
|
@@ -27857,8 +27908,8 @@ function tokensToParser(e, t) {
|
|
|
27857
27908
|
if (C.type === 0)
|
|
27858
27909
|
c += C.value;
|
|
27859
27910
|
else if (C.type === 1) {
|
|
27860
|
-
const { value: y, repeatable:
|
|
27861
|
-
if (isArray(p) && !
|
|
27911
|
+
const { value: y, repeatable: w, optional: E } = C, p = y in u ? u[y] : "";
|
|
27912
|
+
if (isArray(p) && !w)
|
|
27862
27913
|
throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);
|
|
27863
27914
|
const f = isArray(p) ? p.join("/") : p;
|
|
27864
27915
|
if (!f)
|
|
@@ -27999,7 +28050,7 @@ function createRouterMatcher(e, t) {
|
|
|
27999
28050
|
function i(c, d, m) {
|
|
28000
28051
|
const C = !m, y = normalizeRouteRecord(c);
|
|
28001
28052
|
process.env.NODE_ENV !== "production" && checkChildMissingNameWithEmptyPath(y, d), y.aliasOf = m && m.record;
|
|
28002
|
-
const
|
|
28053
|
+
const w = mergeOptions(t, c), E = [
|
|
28003
28054
|
y
|
|
28004
28055
|
];
|
|
28005
28056
|
if ("alias" in c) {
|
|
@@ -28026,7 +28077,7 @@ function createRouterMatcher(e, t) {
|
|
|
28026
28077
|
if (process.env.NODE_ENV !== "production" && g.path === "*")
|
|
28027
28078
|
throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
|
|
28028
28079
|
See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.`);
|
|
28029
|
-
if (p = createRouteRecordMatcher(g, d,
|
|
28080
|
+
if (p = createRouteRecordMatcher(g, d, w), process.env.NODE_ENV !== "production" && d && v[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 && c.name && !isAliasRecord(p) && s(c.name)), y.children) {
|
|
28030
28081
|
const k = y.children;
|
|
28031
28082
|
for (let $ = 0; $ < k.length; $++)
|
|
28032
28083
|
i(k[$], p, m && m.children[$]);
|
|
@@ -28058,7 +28109,7 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
28058
28109
|
o.splice(d, 0, c), c.record.name && !isAliasRecord(c) && r.set(c.record.name, c);
|
|
28059
28110
|
}
|
|
28060
28111
|
function u(c, d) {
|
|
28061
|
-
let m, C = {}, y,
|
|
28112
|
+
let m, C = {}, y, w;
|
|
28062
28113
|
if ("name" in c && c.name) {
|
|
28063
28114
|
if (m = r.get(c.name), !m)
|
|
28064
28115
|
throw createRouterError(1, {
|
|
@@ -28068,7 +28119,7 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
28068
28119
|
const f = Object.keys(c.params || {}).filter((g) => !m.keys.find((v) => v.name === g));
|
|
28069
28120
|
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.`);
|
|
28070
28121
|
}
|
|
28071
|
-
|
|
28122
|
+
w = m.record.name, C = assign(
|
|
28072
28123
|
// paramsFromLocation is a new object
|
|
28073
28124
|
paramsFromLocation(
|
|
28074
28125
|
d.params,
|
|
@@ -28081,21 +28132,21 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
28081
28132
|
c.params && paramsFromLocation(c.params, m.keys.map((f) => f.name))
|
|
28082
28133
|
), y = m.stringify(C);
|
|
28083
28134
|
} else if ("path" in c)
|
|
28084
|
-
y = c.path, process.env.NODE_ENV !== "production" && !y.startsWith("/") && warn(`The Matcher cannot resolve relative paths but received "${y}". Unless you directly called \`matcher.resolve("${y}")\`, 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(y)), m && (C = m.parse(y),
|
|
28135
|
+
y = c.path, process.env.NODE_ENV !== "production" && !y.startsWith("/") && warn(`The Matcher cannot resolve relative paths but received "${y}". Unless you directly called \`matcher.resolve("${y}")\`, 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(y)), m && (C = m.parse(y), w = m.record.name);
|
|
28085
28136
|
else {
|
|
28086
28137
|
if (m = d.name ? r.get(d.name) : o.find((f) => f.re.test(d.path)), !m)
|
|
28087
28138
|
throw createRouterError(1, {
|
|
28088
28139
|
location: c,
|
|
28089
28140
|
currentLocation: d
|
|
28090
28141
|
});
|
|
28091
|
-
|
|
28142
|
+
w = m.record.name, C = assign({}, d.params, c.params), y = m.stringify(C);
|
|
28092
28143
|
}
|
|
28093
28144
|
const E = [];
|
|
28094
28145
|
let p = m;
|
|
28095
28146
|
for (; p; )
|
|
28096
28147
|
E.unshift(p.record), p = p.parent;
|
|
28097
28148
|
return {
|
|
28098
|
-
name:
|
|
28149
|
+
name: w,
|
|
28099
28150
|
path: y,
|
|
28100
28151
|
params: C,
|
|
28101
28152
|
matched: E,
|
|
@@ -28471,7 +28522,7 @@ const getLinkClass = (e, t, o) => e ?? t ?? o, RouterViewImpl = /* @__PURE__ */
|
|
|
28471
28522
|
return watch(() => [a.value, l.value, e.name], ([u, c, d], [m, C, y]) => {
|
|
28472
28523
|
c && (c.instances[d] = u, C && C !== c && u && u === m && (c.leaveGuards.size || (c.leaveGuards = C.leaveGuards), c.updateGuards.size || (c.updateGuards = C.updateGuards))), u && c && // if there is no instance but to and from are the same this might be
|
|
28473
28524
|
// the first visit
|
|
28474
|
-
(!C || !isSameRouteRecord(c, C) || !m) && (c.enterCallbacks[d] || []).forEach((
|
|
28525
|
+
(!C || !isSameRouteRecord(c, C) || !m) && (c.enterCallbacks[d] || []).forEach((w) => w(u));
|
|
28475
28526
|
}, { flush: "post" }), () => {
|
|
28476
28527
|
const u = n.value, c = e.name, d = l.value, m = d && d.components[c];
|
|
28477
28528
|
if (!m)
|
|
@@ -28801,23 +28852,23 @@ function createRouter(e) {
|
|
|
28801
28852
|
// @ts-expect-error: intentionally avoid the type check
|
|
28802
28853
|
applyToParams.bind(null, decode)
|
|
28803
28854
|
);
|
|
28804
|
-
function C(b,
|
|
28855
|
+
function C(b, _) {
|
|
28805
28856
|
let P, V;
|
|
28806
|
-
return isRouteName(b) ? (P = t.getRecordMatcher(b), V =
|
|
28857
|
+
return isRouteName(b) ? (P = t.getRecordMatcher(b), V = _) : V = b, t.addRoute(V, P);
|
|
28807
28858
|
}
|
|
28808
28859
|
function y(b) {
|
|
28809
|
-
const
|
|
28810
|
-
|
|
28860
|
+
const _ = t.getRecordMatcher(b);
|
|
28861
|
+
_ ? t.removeRoute(_) : process.env.NODE_ENV !== "production" && warn(`Cannot remove non-existent route "${String(b)}"`);
|
|
28811
28862
|
}
|
|
28812
|
-
function
|
|
28863
|
+
function w() {
|
|
28813
28864
|
return t.getRoutes().map((b) => b.record);
|
|
28814
28865
|
}
|
|
28815
28866
|
function E(b) {
|
|
28816
28867
|
return !!t.getRecordMatcher(b);
|
|
28817
28868
|
}
|
|
28818
|
-
function p(b,
|
|
28819
|
-
if (
|
|
28820
|
-
const T = parseURL(o, b,
|
|
28869
|
+
function p(b, _) {
|
|
28870
|
+
if (_ = assign({}, _ || a.value), typeof b == "string") {
|
|
28871
|
+
const T = parseURL(o, b, _.path), I = t.resolve({ path: T.path }, _), F = n.createHref(T.fullPath);
|
|
28821
28872
|
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, {
|
|
28822
28873
|
params: m(I.params),
|
|
28823
28874
|
hash: decode(T.hash),
|
|
@@ -28829,7 +28880,7 @@ function createRouter(e) {
|
|
|
28829
28880
|
if ("path" in b)
|
|
28830
28881
|
process.env.NODE_ENV !== "production" && "params" in b && !("name" in b) && // @ts-expect-error: the type is never
|
|
28831
28882
|
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.`), P = assign({}, b, {
|
|
28832
|
-
path: parseURL(o, b.path,
|
|
28883
|
+
path: parseURL(o, b.path, _.path).path
|
|
28833
28884
|
});
|
|
28834
28885
|
else {
|
|
28835
28886
|
const T = assign({}, b.params);
|
|
@@ -28837,9 +28888,9 @@ function createRouter(e) {
|
|
|
28837
28888
|
T[I] == null && delete T[I];
|
|
28838
28889
|
P = assign({}, b, {
|
|
28839
28890
|
params: d(T)
|
|
28840
|
-
}),
|
|
28891
|
+
}), _.params = d(_.params);
|
|
28841
28892
|
}
|
|
28842
|
-
const V = t.resolve(P,
|
|
28893
|
+
const V = t.resolve(P, _), R = b.hash || "";
|
|
28843
28894
|
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));
|
|
28844
28895
|
const U = stringifyURL(r, assign({}, b, {
|
|
28845
28896
|
hash: encodeHash(R),
|
|
@@ -28866,10 +28917,10 @@ function createRouter(e) {
|
|
|
28866
28917
|
function f(b) {
|
|
28867
28918
|
return typeof b == "string" ? parseURL(o, b, a.value.path) : assign({}, b);
|
|
28868
28919
|
}
|
|
28869
|
-
function g(b,
|
|
28920
|
+
function g(b, _) {
|
|
28870
28921
|
if (u !== b)
|
|
28871
28922
|
return createRouterError(8, {
|
|
28872
|
-
from:
|
|
28923
|
+
from: _,
|
|
28873
28924
|
to: b
|
|
28874
28925
|
});
|
|
28875
28926
|
}
|
|
@@ -28880,9 +28931,9 @@ function createRouter(e) {
|
|
|
28880
28931
|
return v(assign(f(b), { replace: !0 }));
|
|
28881
28932
|
}
|
|
28882
28933
|
function $(b) {
|
|
28883
|
-
const
|
|
28884
|
-
if (
|
|
28885
|
-
const { redirect: P } =
|
|
28934
|
+
const _ = b.matched[b.matched.length - 1];
|
|
28935
|
+
if (_ && _.redirect) {
|
|
28936
|
+
const { redirect: P } = _;
|
|
28886
28937
|
let V = typeof P == "function" ? P(b) : P;
|
|
28887
28938
|
if (typeof V == "string" && (V = V.includes("?") || V.includes("#") ? V = f(V) : (
|
|
28888
28939
|
// force empty params
|
|
@@ -28899,7 +28950,7 @@ ${JSON.stringify(V, null, 2)}
|
|
|
28899
28950
|
}, V);
|
|
28900
28951
|
}
|
|
28901
28952
|
}
|
|
28902
|
-
function O(b,
|
|
28953
|
+
function O(b, _) {
|
|
28903
28954
|
const P = u = p(b), V = a.value, R = b.state, U = b.force, N = b.replace === !0, T = $(P);
|
|
28904
28955
|
if (T)
|
|
28905
28956
|
return O(
|
|
@@ -28909,10 +28960,10 @@ ${JSON.stringify(V, null, 2)}
|
|
|
28909
28960
|
replace: N
|
|
28910
28961
|
}),
|
|
28911
28962
|
// keep original redirectedFrom if it exists
|
|
28912
|
-
|
|
28963
|
+
_ || P
|
|
28913
28964
|
);
|
|
28914
28965
|
const I = P;
|
|
28915
|
-
I.redirectedFrom =
|
|
28966
|
+
I.redirectedFrom = _;
|
|
28916
28967
|
let F;
|
|
28917
28968
|
return !U && isSameRouteLocation(r, V, P) && (F = createRouterError(16, { to: I, from: V }), Q(
|
|
28918
28969
|
V,
|
|
@@ -28942,10 +28993,10 @@ ${JSON.stringify(V, null, 2)}
|
|
|
28942
28993
|
))
|
|
28943
28994
|
return process.env.NODE_ENV !== "production" && // we are redirecting to the same location we were already at
|
|
28944
28995
|
isSameRouteLocation(r, p(M.to), I) && // and we have done it a couple of times
|
|
28945
|
-
|
|
28946
|
-
(
|
|
28996
|
+
_ && // @ts-expect-error: added only in dev
|
|
28997
|
+
(_._count = _._count ? (
|
|
28947
28998
|
// @ts-expect-error
|
|
28948
|
-
|
|
28999
|
+
_._count + 1
|
|
28949
29000
|
) : 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.
|
|
28950
29001
|
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(
|
|
28951
29002
|
// keep options
|
|
@@ -28957,40 +29008,40 @@ ${JSON.stringify(V, null, 2)}
|
|
|
28957
29008
|
force: U
|
|
28958
29009
|
}),
|
|
28959
29010
|
// preserve the original redirectedFrom if any
|
|
28960
|
-
|
|
29011
|
+
_ || I
|
|
28961
29012
|
);
|
|
28962
29013
|
} else
|
|
28963
29014
|
M = L(I, V, !0, N, R);
|
|
28964
|
-
return
|
|
29015
|
+
return H(I, V, M), M;
|
|
28965
29016
|
});
|
|
28966
29017
|
}
|
|
28967
|
-
function x(b,
|
|
28968
|
-
const P = g(b,
|
|
29018
|
+
function x(b, _) {
|
|
29019
|
+
const P = g(b, _);
|
|
28969
29020
|
return P ? Promise.reject(P) : Promise.resolve();
|
|
28970
29021
|
}
|
|
28971
29022
|
function S(b) {
|
|
28972
|
-
const
|
|
28973
|
-
return
|
|
29023
|
+
const _ = X.values().next().value;
|
|
29024
|
+
return _ && typeof _.runWithContext == "function" ? _.runWithContext(b) : b();
|
|
28974
29025
|
}
|
|
28975
|
-
function B(b,
|
|
29026
|
+
function B(b, _) {
|
|
28976
29027
|
let P;
|
|
28977
|
-
const [V, R, U] = extractChangingRecords(b,
|
|
28978
|
-
P = extractComponentsGuards(V.reverse(), "beforeRouteLeave", b,
|
|
29028
|
+
const [V, R, U] = extractChangingRecords(b, _);
|
|
29029
|
+
P = extractComponentsGuards(V.reverse(), "beforeRouteLeave", b, _);
|
|
28979
29030
|
for (const T of V)
|
|
28980
29031
|
T.leaveGuards.forEach((I) => {
|
|
28981
|
-
P.push(guardToPromiseFn(I, b,
|
|
29032
|
+
P.push(guardToPromiseFn(I, b, _));
|
|
28982
29033
|
});
|
|
28983
|
-
const N = x.bind(null, b,
|
|
29034
|
+
const N = x.bind(null, b, _);
|
|
28984
29035
|
return P.push(N), oe(P).then(() => {
|
|
28985
29036
|
P = [];
|
|
28986
29037
|
for (const T of i.list())
|
|
28987
|
-
P.push(guardToPromiseFn(T, b,
|
|
29038
|
+
P.push(guardToPromiseFn(T, b, _));
|
|
28988
29039
|
return P.push(N), oe(P);
|
|
28989
29040
|
}).then(() => {
|
|
28990
|
-
P = extractComponentsGuards(R, "beforeRouteUpdate", b,
|
|
29041
|
+
P = extractComponentsGuards(R, "beforeRouteUpdate", b, _);
|
|
28991
29042
|
for (const T of R)
|
|
28992
29043
|
T.updateGuards.forEach((I) => {
|
|
28993
|
-
P.push(guardToPromiseFn(I, b,
|
|
29044
|
+
P.push(guardToPromiseFn(I, b, _));
|
|
28994
29045
|
});
|
|
28995
29046
|
return P.push(N), oe(P);
|
|
28996
29047
|
}).then(() => {
|
|
@@ -28999,14 +29050,14 @@ ${JSON.stringify(V, null, 2)}
|
|
|
28999
29050
|
if (T.beforeEnter)
|
|
29000
29051
|
if (isArray(T.beforeEnter))
|
|
29001
29052
|
for (const I of T.beforeEnter)
|
|
29002
|
-
P.push(guardToPromiseFn(I, b,
|
|
29053
|
+
P.push(guardToPromiseFn(I, b, _));
|
|
29003
29054
|
else
|
|
29004
|
-
P.push(guardToPromiseFn(T.beforeEnter, b,
|
|
29055
|
+
P.push(guardToPromiseFn(T.beforeEnter, b, _));
|
|
29005
29056
|
return P.push(N), oe(P);
|
|
29006
|
-
}).then(() => (b.matched.forEach((T) => T.enterCallbacks = {}), P = extractComponentsGuards(U, "beforeRouteEnter", b,
|
|
29057
|
+
}).then(() => (b.matched.forEach((T) => T.enterCallbacks = {}), P = extractComponentsGuards(U, "beforeRouteEnter", b, _), P.push(N), oe(P))).then(() => {
|
|
29007
29058
|
P = [];
|
|
29008
29059
|
for (const T of s.list())
|
|
29009
|
-
P.push(guardToPromiseFn(T, b,
|
|
29060
|
+
P.push(guardToPromiseFn(T, b, _));
|
|
29010
29061
|
return P.push(N), oe(P);
|
|
29011
29062
|
}).catch((T) => isNavigationFailure(
|
|
29012
29063
|
T,
|
|
@@ -29014,21 +29065,21 @@ ${JSON.stringify(V, null, 2)}
|
|
|
29014
29065
|
/* ErrorTypes.NAVIGATION_CANCELLED */
|
|
29015
29066
|
) ? T : Promise.reject(T));
|
|
29016
29067
|
}
|
|
29017
|
-
function
|
|
29018
|
-
l.list().forEach((V) => S(() => V(b,
|
|
29068
|
+
function H(b, _, P) {
|
|
29069
|
+
l.list().forEach((V) => S(() => V(b, _, P)));
|
|
29019
29070
|
}
|
|
29020
|
-
function L(b,
|
|
29021
|
-
const U = g(b,
|
|
29071
|
+
function L(b, _, P, V, R) {
|
|
29072
|
+
const U = g(b, _);
|
|
29022
29073
|
if (U)
|
|
29023
29074
|
return U;
|
|
29024
|
-
const N =
|
|
29075
|
+
const N = _ === START_LOCATION_NORMALIZED, T = isBrowser ? history.state : {};
|
|
29025
29076
|
P && (V || N ? n.replace(b.fullPath, assign({
|
|
29026
29077
|
scroll: N && T && T.scroll
|
|
29027
|
-
}, R)) : n.push(b.fullPath, R)), a.value = b, Q(b,
|
|
29078
|
+
}, R)) : n.push(b.fullPath, R)), a.value = b, Q(b, _, P, N), q();
|
|
29028
29079
|
}
|
|
29029
29080
|
let G;
|
|
29030
29081
|
function ne() {
|
|
29031
|
-
G || (G = n.listen((b,
|
|
29082
|
+
G || (G = n.listen((b, _, P) => {
|
|
29032
29083
|
const V = p(b), R = $(V);
|
|
29033
29084
|
if (R) {
|
|
29034
29085
|
O(assign(R, { replace: !0 }), V).catch(noop);
|
|
@@ -29070,30 +29121,30 @@ ${JSON.stringify(V, null, 2)}
|
|
|
29070
29121
|
N,
|
|
29071
29122
|
20
|
|
29072
29123
|
/* ErrorTypes.NAVIGATION_DUPLICATED */
|
|
29073
|
-
) && n.go(-1, !1)),
|
|
29124
|
+
) && n.go(-1, !1)), H(V, U, N);
|
|
29074
29125
|
}).catch(noop);
|
|
29075
29126
|
}));
|
|
29076
29127
|
}
|
|
29077
|
-
let re = useCallbacks(), te = useCallbacks(),
|
|
29078
|
-
function z(b,
|
|
29128
|
+
let re = useCallbacks(), te = useCallbacks(), j;
|
|
29129
|
+
function z(b, _, P) {
|
|
29079
29130
|
q(b);
|
|
29080
29131
|
const V = te.list();
|
|
29081
|
-
return V.length ? V.forEach((R) => R(b,
|
|
29132
|
+
return V.length ? V.forEach((R) => R(b, _, P)) : (process.env.NODE_ENV !== "production" && warn("uncaught error during route navigation:"), console.error(b)), Promise.reject(b);
|
|
29082
29133
|
}
|
|
29083
29134
|
function Y() {
|
|
29084
|
-
return
|
|
29085
|
-
re.add([b,
|
|
29135
|
+
return j && a.value !== START_LOCATION_NORMALIZED ? Promise.resolve() : new Promise((b, _) => {
|
|
29136
|
+
re.add([b, _]);
|
|
29086
29137
|
});
|
|
29087
29138
|
}
|
|
29088
29139
|
function q(b) {
|
|
29089
|
-
return
|
|
29140
|
+
return j || (j = !b, ne(), re.list().forEach(([_, P]) => b ? P(b) : _()), re.reset()), b;
|
|
29090
29141
|
}
|
|
29091
|
-
function Q(b,
|
|
29142
|
+
function Q(b, _, P, V) {
|
|
29092
29143
|
const { scrollBehavior: R } = e;
|
|
29093
29144
|
if (!isBrowser || !R)
|
|
29094
29145
|
return Promise.resolve();
|
|
29095
29146
|
const U = !P && getSavedScrollPosition(getScrollKey(b.fullPath, 0)) || (V || !P) && history.state && history.state.scroll || null;
|
|
29096
|
-
return nextTick().then(() => R(b,
|
|
29147
|
+
return nextTick().then(() => R(b, _, U)).then((N) => N && scrollToPosition(N)).catch((N) => z(N, b, _));
|
|
29097
29148
|
}
|
|
29098
29149
|
const J = (b) => n.go(b);
|
|
29099
29150
|
let se;
|
|
@@ -29103,7 +29154,7 @@ ${JSON.stringify(V, null, 2)}
|
|
|
29103
29154
|
addRoute: C,
|
|
29104
29155
|
removeRoute: y,
|
|
29105
29156
|
hasRoute: E,
|
|
29106
|
-
getRoutes:
|
|
29157
|
+
getRoutes: w,
|
|
29107
29158
|
resolve: p,
|
|
29108
29159
|
options: e,
|
|
29109
29160
|
push: v,
|
|
@@ -29117,8 +29168,8 @@ ${JSON.stringify(V, null, 2)}
|
|
|
29117
29168
|
onError: te.add,
|
|
29118
29169
|
isReady: Y,
|
|
29119
29170
|
install(b) {
|
|
29120
|
-
const
|
|
29121
|
-
b.component("RouterLink", RouterLink), b.component("RouterView", RouterView), b.config.globalProperties.$router =
|
|
29171
|
+
const _ = this;
|
|
29172
|
+
b.component("RouterLink", RouterLink), b.component("RouterView", RouterView), b.config.globalProperties.$router = _, Object.defineProperty(b.config.globalProperties, "$route", {
|
|
29122
29173
|
enumerable: !0,
|
|
29123
29174
|
get: () => unref(a)
|
|
29124
29175
|
}), isBrowser && // used for the initial navigation client side to avoid pushing
|
|
@@ -29132,15 +29183,15 @@ ${JSON.stringify(V, null, 2)}
|
|
|
29132
29183
|
get: () => a.value[R],
|
|
29133
29184
|
enumerable: !0
|
|
29134
29185
|
});
|
|
29135
|
-
b.provide(routerKey,
|
|
29186
|
+
b.provide(routerKey, _), b.provide(routeLocationKey, shallowReactive(P)), b.provide(routerViewLocationKey, a);
|
|
29136
29187
|
const V = b.unmount;
|
|
29137
29188
|
X.add(b), b.unmount = function() {
|
|
29138
|
-
X.delete(b), X.size < 1 && (u = START_LOCATION_NORMALIZED, G && G(), G = null, a.value = START_LOCATION_NORMALIZED, se = !1,
|
|
29139
|
-
}, process.env.NODE_ENV !== "production" && isBrowser && addDevtools(b,
|
|
29189
|
+
X.delete(b), X.size < 1 && (u = START_LOCATION_NORMALIZED, G && G(), G = null, a.value = START_LOCATION_NORMALIZED, se = !1, j = !1), V();
|
|
29190
|
+
}, process.env.NODE_ENV !== "production" && isBrowser && addDevtools(b, _, t);
|
|
29140
29191
|
}
|
|
29141
29192
|
};
|
|
29142
29193
|
function oe(b) {
|
|
29143
|
-
return b.reduce((
|
|
29194
|
+
return b.reduce((_, P) => _.then(() => S(P)), Promise.resolve());
|
|
29144
29195
|
}
|
|
29145
29196
|
return ie;
|
|
29146
29197
|
}
|
|
@@ -29950,7 +30001,7 @@ const Layout = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_rende
|
|
|
29950
30001
|
children: [
|
|
29951
30002
|
{
|
|
29952
30003
|
path: "page",
|
|
29953
|
-
component: () => import("./iframe-page-
|
|
30004
|
+
component: () => import("./iframe-page-eac0213f.js"),
|
|
29954
30005
|
hidden: !0
|
|
29955
30006
|
}
|
|
29956
30007
|
]
|
|
@@ -29967,27 +30018,27 @@ const Layout = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_rende
|
|
|
29967
30018
|
},
|
|
29968
30019
|
{
|
|
29969
30020
|
path: "/404",
|
|
29970
|
-
component: () => import("./404-
|
|
30021
|
+
component: () => import("./404-f95275e3.js"),
|
|
29971
30022
|
hidden: !0
|
|
29972
30023
|
},
|
|
29973
30024
|
{
|
|
29974
30025
|
path: "/401",
|
|
29975
|
-
component: () => import("./401-
|
|
30026
|
+
component: () => import("./401-082f153a.js"),
|
|
29976
30027
|
hidden: !0
|
|
29977
30028
|
},
|
|
29978
30029
|
{
|
|
29979
30030
|
path: "/show-sub-wf-history",
|
|
29980
|
-
component: () => import("./tache-subprocess-history-
|
|
30031
|
+
component: () => import("./tache-subprocess-history-8dab30b9.js"),
|
|
29981
30032
|
hidden: !0
|
|
29982
30033
|
},
|
|
29983
30034
|
{
|
|
29984
30035
|
path: "/tab-content-index",
|
|
29985
|
-
component: () => import("./tab-content-index-
|
|
30036
|
+
component: () => import("./tab-content-index-f83a413e.js"),
|
|
29986
30037
|
hidden: !0
|
|
29987
30038
|
},
|
|
29988
30039
|
{
|
|
29989
30040
|
path: "/tab-content-iframe-index",
|
|
29990
|
-
component: () => import("./tab-content-iframe-index-
|
|
30041
|
+
component: () => import("./tab-content-iframe-index-2d8801b1.js"),
|
|
29991
30042
|
hidden: !0
|
|
29992
30043
|
}
|
|
29993
30044
|
], protectedRouterMap = [];
|
|
@@ -30616,7 +30667,7 @@ const workflowEditor_vue_vue_type_style_index_0_scoped_22c505ff_lang = "", _sfc_
|
|
|
30616
30667
|
class: "xml line-numbers"
|
|
30617
30668
|
};
|
|
30618
30669
|
function _sfc_render$3(e, t, o, r, n, i) {
|
|
30619
|
-
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"), C = resolveComponent("el-tabs"), y = resolveComponent("icon-svg"),
|
|
30670
|
+
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"), C = resolveComponent("el-tabs"), y = resolveComponent("icon-svg"), w = resolveComponent("context-menu"), E = resolveComponent("admin-save-dialog"), p = resolveDirective("permission");
|
|
30620
30671
|
return openBlock(), createElementBlock("div", {
|
|
30621
30672
|
ref: "wfEditor",
|
|
30622
30673
|
style: { position: "relative", height: "100%" },
|
|
@@ -30783,7 +30834,7 @@ function _sfc_render$3(e, t, o, r, n, i) {
|
|
|
30783
30834
|
icon: i.componentInfo.icon,
|
|
30784
30835
|
class: "component-icon"
|
|
30785
30836
|
}, null, 8, ["style", "icon"])) : createCommentVNode("", !0),
|
|
30786
|
-
e.contextMenuVisible ? (openBlock(), createBlock(
|
|
30837
|
+
e.contextMenuVisible ? (openBlock(), createBlock(w, {
|
|
30787
30838
|
key: 1,
|
|
30788
30839
|
style: normalizeStyle({
|
|
30789
30840
|
position: "absolute",
|
|
@@ -31004,8 +31055,8 @@ function i18nOperation(e, t, o, r) {
|
|
|
31004
31055
|
), y = m.substring(
|
|
31005
31056
|
m.indexOf("##") + 2,
|
|
31006
31057
|
m.lastIndexOf("}")
|
|
31007
|
-
),
|
|
31008
|
-
|
|
31058
|
+
), w = o[C];
|
|
31059
|
+
w && w[r] && w[r] !== "" ? u[d] = w[r] : u[d] = y;
|
|
31009
31060
|
}
|
|
31010
31061
|
}
|
|
31011
31062
|
n = getI18n$1().t("workflowHistoryList." + l, u);
|
|
@@ -31423,12 +31474,12 @@ function getValidator(e, t, o, r, n, i) {
|
|
|
31423
31474
|
let C = d.name;
|
|
31424
31475
|
if (C) {
|
|
31425
31476
|
o === !0 && (C = C);
|
|
31426
|
-
const y = d.condition,
|
|
31477
|
+
const y = d.condition, w = null;
|
|
31427
31478
|
let E = null;
|
|
31428
31479
|
if (C.indexOf(".") > 0 && C.indexOf("$") === 0 ? E = !0 : E = parseSubTablePermissionCondition(
|
|
31429
31480
|
y,
|
|
31430
31481
|
l,
|
|
31431
|
-
|
|
31482
|
+
w,
|
|
31432
31483
|
t,
|
|
31433
31484
|
r,
|
|
31434
31485
|
n,
|
|
@@ -31537,40 +31588,41 @@ function validateSub(e, t, o, r, n, i, s, l, a) {
|
|
|
31537
31588
|
console.log("formValidator44--subFieldRule=", C);
|
|
31538
31589
|
const y = Object.keys(C);
|
|
31539
31590
|
console.log("formValidator555--subFieldProps=", y);
|
|
31540
|
-
let
|
|
31541
|
-
|
|
31591
|
+
let w = e[m];
|
|
31592
|
+
w || (w = []);
|
|
31542
31593
|
const E = validateTotalSubTable(u, e, m);
|
|
31543
31594
|
if (E !== !0)
|
|
31544
31595
|
return delete u[m], E;
|
|
31545
|
-
let p;
|
|
31546
|
-
a && a[m] && (p = a[m].pageSize);
|
|
31547
|
-
for (let
|
|
31548
|
-
const
|
|
31596
|
+
let p, f = [];
|
|
31597
|
+
a && a[m] && (p = a[m].pageSize, f = a[m].fields || []);
|
|
31598
|
+
for (let g = 0; g < w.length; g++) {
|
|
31599
|
+
const v = w[g], k = packageRowRule(
|
|
31549
31600
|
y,
|
|
31550
31601
|
C,
|
|
31551
|
-
|
|
31602
|
+
w[g],
|
|
31552
31603
|
n,
|
|
31553
31604
|
e,
|
|
31554
31605
|
i,
|
|
31555
31606
|
s,
|
|
31556
|
-
l
|
|
31607
|
+
l,
|
|
31608
|
+
f
|
|
31557
31609
|
);
|
|
31558
|
-
console.log("formValidator666--rowRule=",
|
|
31559
|
-
let
|
|
31560
|
-
p !== void 0 && p > 0 && (
|
|
31561
|
-
const
|
|
31562
|
-
if (
|
|
31563
|
-
const
|
|
31564
|
-
typeof
|
|
31565
|
-
row:
|
|
31610
|
+
console.log("formValidator666--rowRule=", k);
|
|
31611
|
+
let $, O;
|
|
31612
|
+
p !== void 0 && p > 0 && ($ = Math.ceil((g + 1) / p), O = g + 1 - ($ - 1) * p), Object.keys(k).forEach((S) => {
|
|
31613
|
+
const B = k[S];
|
|
31614
|
+
if (B && B.rules && (k[S] = B.rules), B && B.beforeValidate) {
|
|
31615
|
+
const H = B.beforeValidate;
|
|
31616
|
+
typeof H == "function" && H({
|
|
31617
|
+
row: v,
|
|
31566
31618
|
parent: e,
|
|
31567
|
-
rowIndex:
|
|
31568
|
-
}) === !1 && (
|
|
31619
|
+
rowIndex: g
|
|
31620
|
+
}) === !1 && (k[S] = []);
|
|
31569
31621
|
}
|
|
31570
31622
|
});
|
|
31571
|
-
const
|
|
31572
|
-
if (
|
|
31573
|
-
return
|
|
31623
|
+
const x = validator(v, k, g, r, $, O);
|
|
31624
|
+
if (x !== !0)
|
|
31625
|
+
return x;
|
|
31574
31626
|
}
|
|
31575
31627
|
}
|
|
31576
31628
|
}
|
|
@@ -31587,11 +31639,14 @@ function getEntityId(e) {
|
|
|
31587
31639
|
if (e && e.ID)
|
|
31588
31640
|
return e.ID;
|
|
31589
31641
|
}
|
|
31590
|
-
function packageRowRule(e, t, o, r, n, i, s, l) {
|
|
31591
|
-
const
|
|
31592
|
-
for (let
|
|
31593
|
-
const
|
|
31594
|
-
|
|
31642
|
+
function packageRowRule(e, t, o, r, n, i, s, l, a) {
|
|
31643
|
+
const u = getEntityId(o), c = {};
|
|
31644
|
+
for (let d = 0; d < e.length; d++) {
|
|
31645
|
+
const m = e[d];
|
|
31646
|
+
if (a.indexOf(m) < 0)
|
|
31647
|
+
continue;
|
|
31648
|
+
const C = t[m], y = C.condition, w = parseSubTablePermissionCondition(
|
|
31649
|
+
y,
|
|
31595
31650
|
r,
|
|
31596
31651
|
n,
|
|
31597
31652
|
o,
|
|
@@ -31599,15 +31654,15 @@ function packageRowRule(e, t, o, r, n, i, s, l) {
|
|
|
31599
31654
|
s,
|
|
31600
31655
|
l
|
|
31601
31656
|
);
|
|
31602
|
-
if (
|
|
31603
|
-
if (
|
|
31604
|
-
|
|
31657
|
+
if (w != null && w === !0)
|
|
31658
|
+
if (u === void 0)
|
|
31659
|
+
c[m] = C;
|
|
31605
31660
|
else {
|
|
31606
|
-
const
|
|
31607
|
-
(!
|
|
31661
|
+
const E = C.rowIndexes;
|
|
31662
|
+
(!E || E.indexOf(u) >= 0) && (c[m] = C);
|
|
31608
31663
|
}
|
|
31609
31664
|
}
|
|
31610
|
-
return
|
|
31665
|
+
return c;
|
|
31611
31666
|
}
|
|
31612
31667
|
function validateTotalSubTable(e, t, o) {
|
|
31613
31668
|
let r = t[o];
|