super-pages 0.0.20-up → 0.0.22-up

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -985,11 +985,11 @@ const RE_HTML_TAG = /<\/?[\w\s="/.':;#-\/]+>/, detectHtmlTag = (e) => RE_HTML_TA
985
985
  function createScanner(e) {
986
986
  const t = e;
987
987
  let o = 0, s = 1, n = 1, i = 0;
988
- const a = (k) => t[k] === CHAR_CR && t[k + 1] === CHAR_LF, r = (k) => t[k] === CHAR_LF, l = (k) => t[k] === CHAR_PS, c = (k) => t[k] === CHAR_LS, u = (k) => a(k) || r(k) || l(k) || c(k), d = () => o, m = () => s, p = () => n, f = () => i, _ = (k) => a(k) || l(k) || c(k) ? CHAR_LF : t[k], y = () => _(o), C = () => _(o + i);
989
- function S() {
988
+ const a = (k) => t[k] === CHAR_CR && t[k + 1] === CHAR_LF, r = (k) => t[k] === CHAR_LF, l = (k) => t[k] === CHAR_PS, c = (k) => t[k] === CHAR_LS, u = (k) => a(k) || r(k) || l(k) || c(k), d = () => o, m = () => s, p = () => n, f = () => i, b = (k) => a(k) || l(k) || c(k) ? CHAR_LF : t[k], S = () => b(o), y = () => b(o + i);
989
+ function C() {
990
990
  return i = 0, u(o) && (s++, n = 0), a(o) && o++, o++, n++, t[o];
991
991
  }
992
- function v() {
992
+ function P() {
993
993
  return a(o + i) && i++, i++, t[o + i];
994
994
  }
995
995
  function E() {
@@ -1001,7 +1001,7 @@ function createScanner(e) {
1001
1001
  function N() {
1002
1002
  const k = o + i;
1003
1003
  for (; k !== o; )
1004
- S();
1004
+ C();
1005
1005
  i = 0;
1006
1006
  }
1007
1007
  return {
@@ -1009,11 +1009,11 @@ function createScanner(e) {
1009
1009
  line: m,
1010
1010
  column: p,
1011
1011
  peekOffset: f,
1012
- charAt: _,
1013
- currentChar: y,
1014
- currentPeek: C,
1015
- next: S,
1016
- peek: v,
1012
+ charAt: b,
1013
+ currentChar: S,
1014
+ currentPeek: y,
1015
+ next: C,
1016
+ peek: P,
1017
1017
  reset: E,
1018
1018
  resetPeek: I,
1019
1019
  skipToPeek: N
@@ -1034,136 +1034,136 @@ function createTokenizer(e, t = {}) {
1034
1034
  inLinked: !1,
1035
1035
  text: ""
1036
1036
  }, c = () => l, { onError: u } = t;
1037
- function d(b, g, w, ...O) {
1037
+ function d(_, g, w, ...O) {
1038
1038
  const R = c();
1039
1039
  if (g.column += w, g.offset += w, u) {
1040
- const L = o ? createLocation(R.startLoc, g) : null, G = createCompileError(b, L, {
1040
+ const L = o ? createLocation(R.startLoc, g) : null, G = createCompileError(_, L, {
1041
1041
  domain: ERROR_DOMAIN$3,
1042
1042
  args: O
1043
1043
  });
1044
1044
  u(G);
1045
1045
  }
1046
1046
  }
1047
- function m(b, g, w) {
1048
- b.endLoc = i(), b.currentType = g;
1047
+ function m(_, g, w) {
1048
+ _.endLoc = i(), _.currentType = g;
1049
1049
  const O = { type: g };
1050
- return o && (O.loc = createLocation(b.startLoc, b.endLoc)), w != null && (O.value = w), O;
1050
+ return o && (O.loc = createLocation(_.startLoc, _.endLoc)), w != null && (O.value = w), O;
1051
1051
  }
1052
- const p = (b) => m(
1053
- b,
1052
+ const p = (_) => m(
1053
+ _,
1054
1054
  14
1055
1055
  /* TokenTypes.EOF */
1056
1056
  );
1057
- function f(b, g) {
1058
- return b.currentChar() === g ? (b.next(), g) : (d(CompileErrorCodes.EXPECTED_TOKEN, i(), 0, g), "");
1057
+ function f(_, g) {
1058
+ return _.currentChar() === g ? (_.next(), g) : (d(CompileErrorCodes.EXPECTED_TOKEN, i(), 0, g), "");
1059
1059
  }
1060
- function _(b) {
1060
+ function b(_) {
1061
1061
  let g = "";
1062
- for (; b.currentPeek() === CHAR_SP || b.currentPeek() === CHAR_LF; )
1063
- g += b.currentPeek(), b.peek();
1062
+ for (; _.currentPeek() === CHAR_SP || _.currentPeek() === CHAR_LF; )
1063
+ g += _.currentPeek(), _.peek();
1064
1064
  return g;
1065
1065
  }
1066
- function y(b) {
1067
- const g = _(b);
1068
- return b.skipToPeek(), g;
1066
+ function S(_) {
1067
+ const g = b(_);
1068
+ return _.skipToPeek(), g;
1069
1069
  }
1070
- function C(b) {
1071
- if (b === EOF)
1070
+ function y(_) {
1071
+ if (_ === EOF)
1072
1072
  return !1;
1073
- const g = b.charCodeAt(0);
1073
+ const g = _.charCodeAt(0);
1074
1074
  return g >= 97 && g <= 122 || // a-z
1075
1075
  g >= 65 && g <= 90 || // A-Z
1076
1076
  g === 95;
1077
1077
  }
1078
- function S(b) {
1079
- if (b === EOF)
1078
+ function C(_) {
1079
+ if (_ === EOF)
1080
1080
  return !1;
1081
- const g = b.charCodeAt(0);
1081
+ const g = _.charCodeAt(0);
1082
1082
  return g >= 48 && g <= 57;
1083
1083
  }
1084
- function v(b, g) {
1084
+ function P(_, g) {
1085
1085
  const { currentType: w } = g;
1086
1086
  if (w !== 2)
1087
1087
  return !1;
1088
- _(b);
1089
- const O = C(b.currentPeek());
1090
- return b.resetPeek(), O;
1088
+ b(_);
1089
+ const O = y(_.currentPeek());
1090
+ return _.resetPeek(), O;
1091
1091
  }
1092
- function E(b, g) {
1092
+ function E(_, g) {
1093
1093
  const { currentType: w } = g;
1094
1094
  if (w !== 2)
1095
1095
  return !1;
1096
- _(b);
1097
- const O = b.currentPeek() === "-" ? b.peek() : b.currentPeek(), R = S(O);
1098
- return b.resetPeek(), R;
1096
+ b(_);
1097
+ const O = _.currentPeek() === "-" ? _.peek() : _.currentPeek(), R = C(O);
1098
+ return _.resetPeek(), R;
1099
1099
  }
1100
- function I(b, g) {
1100
+ function I(_, g) {
1101
1101
  const { currentType: w } = g;
1102
1102
  if (w !== 2)
1103
1103
  return !1;
1104
- _(b);
1105
- const O = b.currentPeek() === LITERAL_DELIMITER;
1106
- return b.resetPeek(), O;
1104
+ b(_);
1105
+ const O = _.currentPeek() === LITERAL_DELIMITER;
1106
+ return _.resetPeek(), O;
1107
1107
  }
1108
- function N(b, g) {
1108
+ function N(_, g) {
1109
1109
  const { currentType: w } = g;
1110
1110
  if (w !== 8)
1111
1111
  return !1;
1112
- _(b);
1113
- const O = b.currentPeek() === ".";
1114
- return b.resetPeek(), O;
1112
+ b(_);
1113
+ const O = _.currentPeek() === ".";
1114
+ return _.resetPeek(), O;
1115
1115
  }
1116
- function k(b, g) {
1116
+ function k(_, g) {
1117
1117
  const { currentType: w } = g;
1118
1118
  if (w !== 9)
1119
1119
  return !1;
1120
- _(b);
1121
- const O = C(b.currentPeek());
1122
- return b.resetPeek(), O;
1120
+ b(_);
1121
+ const O = y(_.currentPeek());
1122
+ return _.resetPeek(), O;
1123
1123
  }
1124
- function D(b, g) {
1124
+ function D(_, g) {
1125
1125
  const { currentType: w } = g;
1126
1126
  if (!(w === 8 || w === 12))
1127
1127
  return !1;
1128
- _(b);
1129
- const O = b.currentPeek() === ":";
1130
- return b.resetPeek(), O;
1128
+ b(_);
1129
+ const O = _.currentPeek() === ":";
1130
+ return _.resetPeek(), O;
1131
1131
  }
1132
- function F(b, g) {
1132
+ function F(_, g) {
1133
1133
  const { currentType: w } = g;
1134
1134
  if (w !== 10)
1135
1135
  return !1;
1136
1136
  const O = () => {
1137
- const L = b.currentPeek();
1138
- return L === "{" ? C(b.peek()) : L === "@" || L === "%" || L === "|" || L === ":" || L === "." || L === CHAR_SP || !L ? !1 : L === CHAR_LF ? (b.peek(), O()) : C(L);
1137
+ const L = _.currentPeek();
1138
+ return L === "{" ? y(_.peek()) : L === "@" || L === "%" || L === "|" || L === ":" || L === "." || L === CHAR_SP || !L ? !1 : L === CHAR_LF ? (_.peek(), O()) : y(L);
1139
1139
  }, R = O();
1140
- return b.resetPeek(), R;
1140
+ return _.resetPeek(), R;
1141
1141
  }
1142
- function M(b) {
1143
- _(b);
1144
- const g = b.currentPeek() === "|";
1145
- return b.resetPeek(), g;
1142
+ function M(_) {
1143
+ b(_);
1144
+ const g = _.currentPeek() === "|";
1145
+ return _.resetPeek(), g;
1146
1146
  }
1147
- function $(b) {
1148
- const g = _(b), w = b.currentPeek() === "%" && b.peek() === "{";
1149
- return b.resetPeek(), {
1147
+ function $(_) {
1148
+ const g = b(_), w = _.currentPeek() === "%" && _.peek() === "{";
1149
+ return _.resetPeek(), {
1150
1150
  isModulo: w,
1151
1151
  hasSpace: g.length > 0
1152
1152
  };
1153
1153
  }
1154
- function B(b, g = !0) {
1154
+ function B(_, g = !0) {
1155
1155
  const w = (R = !1, L = "", G = !1) => {
1156
- const H = b.currentPeek();
1157
- return H === "{" ? L === "%" ? !1 : R : H === "@" || !H ? L === "%" ? !0 : R : H === "%" ? (b.peek(), w(R, "%", !0)) : H === "|" ? L === "%" || G ? !0 : !(L === CHAR_SP || L === CHAR_LF) : H === CHAR_SP ? (b.peek(), w(!0, CHAR_SP, G)) : H === CHAR_LF ? (b.peek(), w(!0, CHAR_LF, G)) : !0;
1156
+ const H = _.currentPeek();
1157
+ return H === "{" ? L === "%" ? !1 : R : H === "@" || !H ? L === "%" ? !0 : R : H === "%" ? (_.peek(), w(R, "%", !0)) : H === "|" ? L === "%" || G ? !0 : !(L === CHAR_SP || L === CHAR_LF) : H === CHAR_SP ? (_.peek(), w(!0, CHAR_SP, G)) : H === CHAR_LF ? (_.peek(), w(!0, CHAR_LF, G)) : !0;
1158
1158
  }, O = w();
1159
- return g && b.resetPeek(), O;
1159
+ return g && _.resetPeek(), O;
1160
1160
  }
1161
- function U(b, g) {
1162
- const w = b.currentChar();
1163
- return w === EOF ? EOF : g(w) ? (b.next(), w) : null;
1161
+ function U(_, g) {
1162
+ const w = _.currentChar();
1163
+ return w === EOF ? EOF : g(w) ? (_.next(), w) : null;
1164
1164
  }
1165
- function X(b) {
1166
- return U(b, (w) => {
1165
+ function X(_) {
1166
+ return U(_, (w) => {
1167
1167
  const O = w.charCodeAt(0);
1168
1168
  return O >= 97 && O <= 122 || // a-z
1169
1169
  O >= 65 && O <= 90 || // A-Z
@@ -1172,236 +1172,236 @@ function createTokenizer(e, t = {}) {
1172
1172
  O === 36;
1173
1173
  });
1174
1174
  }
1175
- function ne(b) {
1176
- return U(b, (w) => {
1175
+ function ne(_) {
1176
+ return U(_, (w) => {
1177
1177
  const O = w.charCodeAt(0);
1178
1178
  return O >= 48 && O <= 57;
1179
1179
  });
1180
1180
  }
1181
- function W(b) {
1182
- return U(b, (w) => {
1181
+ function W(_) {
1182
+ return U(_, (w) => {
1183
1183
  const O = w.charCodeAt(0);
1184
1184
  return O >= 48 && O <= 57 || // 0-9
1185
1185
  O >= 65 && O <= 70 || // A-F
1186
1186
  O >= 97 && O <= 102;
1187
1187
  });
1188
1188
  }
1189
- function Z(b) {
1189
+ function Z(_) {
1190
1190
  let g = "", w = "";
1191
- for (; g = ne(b); )
1191
+ for (; g = ne(_); )
1192
1192
  w += g;
1193
1193
  return w;
1194
1194
  }
1195
- function ie(b) {
1196
- y(b);
1197
- const g = b.currentChar();
1198
- return g !== "%" && d(CompileErrorCodes.EXPECTED_TOKEN, i(), 0, g), b.next(), "%";
1195
+ function ie(_) {
1196
+ S(_);
1197
+ const g = _.currentChar();
1198
+ return g !== "%" && d(CompileErrorCodes.EXPECTED_TOKEN, i(), 0, g), _.next(), "%";
1199
1199
  }
1200
- function ee(b) {
1200
+ function ee(_) {
1201
1201
  let g = "";
1202
1202
  for (; ; ) {
1203
- const w = b.currentChar();
1203
+ const w = _.currentChar();
1204
1204
  if (w === "{" || w === "}" || w === "@" || w === "|" || !w)
1205
1205
  break;
1206
1206
  if (w === "%")
1207
- if (B(b))
1208
- g += w, b.next();
1207
+ if (B(_))
1208
+ g += w, _.next();
1209
1209
  else
1210
1210
  break;
1211
1211
  else if (w === CHAR_SP || w === CHAR_LF)
1212
- if (B(b))
1213
- g += w, b.next();
1212
+ if (B(_))
1213
+ g += w, _.next();
1214
1214
  else {
1215
- if (M(b))
1215
+ if (M(_))
1216
1216
  break;
1217
- g += w, b.next();
1217
+ g += w, _.next();
1218
1218
  }
1219
1219
  else
1220
- g += w, b.next();
1220
+ g += w, _.next();
1221
1221
  }
1222
1222
  return g;
1223
1223
  }
1224
- function j(b) {
1225
- y(b);
1224
+ function j(_) {
1225
+ S(_);
1226
1226
  let g = "", w = "";
1227
- for (; g = X(b); )
1227
+ for (; g = X(_); )
1228
1228
  w += g;
1229
- return b.currentChar() === EOF && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), w;
1229
+ return _.currentChar() === EOF && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), w;
1230
1230
  }
1231
- function te(b) {
1232
- y(b);
1231
+ function te(_) {
1232
+ S(_);
1233
1233
  let g = "";
1234
- return b.currentChar() === "-" ? (b.next(), g += `-${Z(b)}`) : g += Z(b), b.currentChar() === EOF && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), g;
1234
+ return _.currentChar() === "-" ? (_.next(), g += `-${Z(_)}`) : g += Z(_), _.currentChar() === EOF && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), g;
1235
1235
  }
1236
- function ae(b) {
1237
- y(b), f(b, "'");
1236
+ function ae(_) {
1237
+ S(_), f(_, "'");
1238
1238
  let g = "", w = "";
1239
1239
  const O = (L) => L !== LITERAL_DELIMITER && L !== CHAR_LF;
1240
- for (; g = U(b, O); )
1241
- g === "\\" ? w += re(b) : w += g;
1242
- const R = b.currentChar();
1243
- return R === CHAR_LF || R === EOF ? (d(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), R === CHAR_LF && (b.next(), f(b, "'")), w) : (f(b, "'"), w);
1240
+ for (; g = U(_, O); )
1241
+ g === "\\" ? w += re(_) : w += g;
1242
+ const R = _.currentChar();
1243
+ return R === CHAR_LF || R === EOF ? (d(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), R === CHAR_LF && (_.next(), f(_, "'")), w) : (f(_, "'"), w);
1244
1244
  }
1245
- function re(b) {
1246
- const g = b.currentChar();
1245
+ function re(_) {
1246
+ const g = _.currentChar();
1247
1247
  switch (g) {
1248
1248
  case "\\":
1249
1249
  case "'":
1250
- return b.next(), `\\${g}`;
1250
+ return _.next(), `\\${g}`;
1251
1251
  case "u":
1252
- return oe(b, g, 4);
1252
+ return oe(_, g, 4);
1253
1253
  case "U":
1254
- return oe(b, g, 6);
1254
+ return oe(_, g, 6);
1255
1255
  default:
1256
1256
  return d(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, g), "";
1257
1257
  }
1258
1258
  }
1259
- function oe(b, g, w) {
1260
- f(b, g);
1259
+ function oe(_, g, w) {
1260
+ f(_, g);
1261
1261
  let O = "";
1262
1262
  for (let R = 0; R < w; R++) {
1263
- const L = W(b);
1263
+ const L = W(_);
1264
1264
  if (!L) {
1265
- d(CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${g}${O}${b.currentChar()}`);
1265
+ d(CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${g}${O}${_.currentChar()}`);
1266
1266
  break;
1267
1267
  }
1268
1268
  O += L;
1269
1269
  }
1270
1270
  return `\\${g}${O}`;
1271
1271
  }
1272
- function le(b) {
1273
- y(b);
1272
+ function le(_) {
1273
+ S(_);
1274
1274
  let g = "", w = "";
1275
1275
  const O = (R) => R !== "{" && R !== "}" && R !== CHAR_SP && R !== CHAR_LF;
1276
- for (; g = U(b, O); )
1276
+ for (; g = U(_, O); )
1277
1277
  w += g;
1278
1278
  return w;
1279
1279
  }
1280
- function de(b) {
1280
+ function de(_) {
1281
1281
  let g = "", w = "";
1282
- for (; g = X(b); )
1282
+ for (; g = X(_); )
1283
1283
  w += g;
1284
1284
  return w;
1285
1285
  }
1286
- function ce(b) {
1286
+ function ce(_) {
1287
1287
  const g = (w = !1, O) => {
1288
- const R = b.currentChar();
1289
- return R === "{" || R === "%" || R === "@" || R === "|" || R === "(" || R === ")" || !R || R === CHAR_SP ? O : R === CHAR_LF || R === DOT ? (O += R, b.next(), g(w, O)) : (O += R, b.next(), g(!0, O));
1288
+ const R = _.currentChar();
1289
+ return R === "{" || R === "%" || R === "@" || R === "|" || R === "(" || R === ")" || !R || R === CHAR_SP ? O : R === CHAR_LF || R === DOT ? (O += R, _.next(), g(w, O)) : (O += R, _.next(), g(!0, O));
1290
1290
  };
1291
1291
  return g(!1, "");
1292
1292
  }
1293
- function J(b) {
1294
- y(b);
1293
+ function J(_) {
1294
+ S(_);
1295
1295
  const g = f(
1296
- b,
1296
+ _,
1297
1297
  "|"
1298
1298
  /* TokenChars.Pipe */
1299
1299
  );
1300
- return y(b), g;
1300
+ return S(_), g;
1301
1301
  }
1302
- function Q(b, g) {
1302
+ function Q(_, g) {
1303
1303
  let w = null;
1304
- switch (b.currentChar()) {
1304
+ switch (_.currentChar()) {
1305
1305
  case "{":
1306
- return g.braceNest >= 1 && d(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), b.next(), w = m(
1306
+ return g.braceNest >= 1 && d(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), _.next(), w = m(
1307
1307
  g,
1308
1308
  2,
1309
1309
  "{"
1310
1310
  /* TokenChars.BraceLeft */
1311
- ), y(b), g.braceNest++, w;
1311
+ ), S(_), g.braceNest++, w;
1312
1312
  case "}":
1313
- return g.braceNest > 0 && g.currentType === 2 && d(CompileErrorCodes.EMPTY_PLACEHOLDER, i(), 0), b.next(), w = m(
1313
+ return g.braceNest > 0 && g.currentType === 2 && d(CompileErrorCodes.EMPTY_PLACEHOLDER, i(), 0), _.next(), w = m(
1314
1314
  g,
1315
1315
  3,
1316
1316
  "}"
1317
1317
  /* TokenChars.BraceRight */
1318
- ), g.braceNest--, g.braceNest > 0 && y(b), g.inLinked && g.braceNest === 0 && (g.inLinked = !1), w;
1318
+ ), g.braceNest--, g.braceNest > 0 && S(_), g.inLinked && g.braceNest === 0 && (g.inLinked = !1), w;
1319
1319
  case "@":
1320
- return g.braceNest > 0 && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), w = q(b, g) || p(g), g.braceNest = 0, w;
1320
+ return g.braceNest > 0 && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), w = q(_, g) || p(g), g.braceNest = 0, w;
1321
1321
  default:
1322
1322
  let R = !0, L = !0, G = !0;
1323
- if (M(b))
1324
- return g.braceNest > 0 && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), w = m(g, 1, J(b)), g.braceNest = 0, g.inLinked = !1, w;
1323
+ if (M(_))
1324
+ return g.braceNest > 0 && d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), w = m(g, 1, J(_)), g.braceNest = 0, g.inLinked = !1, w;
1325
1325
  if (g.braceNest > 0 && (g.currentType === 5 || g.currentType === 6 || g.currentType === 7))
1326
- return d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), g.braceNest = 0, z(b, g);
1327
- if (R = v(b, g))
1328
- return w = m(g, 5, j(b)), y(b), w;
1329
- if (L = E(b, g))
1330
- return w = m(g, 6, te(b)), y(b), w;
1331
- if (G = I(b, g))
1332
- return w = m(g, 7, ae(b)), y(b), w;
1326
+ return d(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE, i(), 0), g.braceNest = 0, z(_, g);
1327
+ if (R = P(_, g))
1328
+ return w = m(g, 5, j(_)), S(_), w;
1329
+ if (L = E(_, g))
1330
+ return w = m(g, 6, te(_)), S(_), w;
1331
+ if (G = I(_, g))
1332
+ return w = m(g, 7, ae(_)), S(_), w;
1333
1333
  if (!R && !L && !G)
1334
- return w = m(g, 13, le(b)), d(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, w.value), y(b), w;
1334
+ return w = m(g, 13, le(_)), d(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, w.value), S(_), w;
1335
1335
  break;
1336
1336
  }
1337
1337
  return w;
1338
1338
  }
1339
- function q(b, g) {
1339
+ function q(_, g) {
1340
1340
  const { currentType: w } = g;
1341
1341
  let O = null;
1342
- const R = b.currentChar();
1342
+ const R = _.currentChar();
1343
1343
  switch ((w === 8 || w === 9 || w === 12 || w === 10) && (R === CHAR_LF || R === CHAR_SP) && d(CompileErrorCodes.INVALID_LINKED_FORMAT, i(), 0), R) {
1344
1344
  case "@":
1345
- return b.next(), O = m(
1345
+ return _.next(), O = m(
1346
1346
  g,
1347
1347
  8,
1348
1348
  "@"
1349
1349
  /* TokenChars.LinkedAlias */
1350
1350
  ), g.inLinked = !0, O;
1351
1351
  case ".":
1352
- return y(b), b.next(), m(
1352
+ return S(_), _.next(), m(
1353
1353
  g,
1354
1354
  9,
1355
1355
  "."
1356
1356
  /* TokenChars.LinkedDot */
1357
1357
  );
1358
1358
  case ":":
1359
- return y(b), b.next(), m(
1359
+ return S(_), _.next(), m(
1360
1360
  g,
1361
1361
  10,
1362
1362
  ":"
1363
1363
  /* TokenChars.LinkedDelimiter */
1364
1364
  );
1365
1365
  default:
1366
- return M(b) ? (O = m(g, 1, J(b)), g.braceNest = 0, g.inLinked = !1, O) : N(b, g) || D(b, g) ? (y(b), q(b, g)) : k(b, g) ? (y(b), m(g, 12, de(b))) : F(b, g) ? (y(b), R === "{" ? Q(b, g) || O : m(g, 11, ce(b))) : (w === 8 && d(CompileErrorCodes.INVALID_LINKED_FORMAT, i(), 0), g.braceNest = 0, g.inLinked = !1, z(b, g));
1366
+ return M(_) ? (O = m(g, 1, J(_)), g.braceNest = 0, g.inLinked = !1, O) : N(_, g) || D(_, g) ? (S(_), q(_, g)) : k(_, g) ? (S(_), m(g, 12, de(_))) : F(_, g) ? (S(_), R === "{" ? Q(_, g) || O : m(g, 11, ce(_))) : (w === 8 && d(CompileErrorCodes.INVALID_LINKED_FORMAT, i(), 0), g.braceNest = 0, g.inLinked = !1, z(_, g));
1367
1367
  }
1368
1368
  }
1369
- function z(b, g) {
1369
+ function z(_, g) {
1370
1370
  let w = {
1371
1371
  type: 14
1372
1372
  /* TokenTypes.EOF */
1373
1373
  };
1374
1374
  if (g.braceNest > 0)
1375
- return Q(b, g) || p(g);
1375
+ return Q(_, g) || p(g);
1376
1376
  if (g.inLinked)
1377
- return q(b, g) || p(g);
1378
- switch (b.currentChar()) {
1377
+ return q(_, g) || p(g);
1378
+ switch (_.currentChar()) {
1379
1379
  case "{":
1380
- return Q(b, g) || p(g);
1380
+ return Q(_, g) || p(g);
1381
1381
  case "}":
1382
- return d(CompileErrorCodes.UNBALANCED_CLOSING_BRACE, i(), 0), b.next(), m(
1382
+ return d(CompileErrorCodes.UNBALANCED_CLOSING_BRACE, i(), 0), _.next(), m(
1383
1383
  g,
1384
1384
  3,
1385
1385
  "}"
1386
1386
  /* TokenChars.BraceRight */
1387
1387
  );
1388
1388
  case "@":
1389
- return q(b, g) || p(g);
1389
+ return q(_, g) || p(g);
1390
1390
  default:
1391
- if (M(b))
1392
- return w = m(g, 1, J(b)), g.braceNest = 0, g.inLinked = !1, w;
1393
- const { isModulo: R, hasSpace: L } = $(b);
1391
+ if (M(_))
1392
+ return w = m(g, 1, J(_)), g.braceNest = 0, g.inLinked = !1, w;
1393
+ const { isModulo: R, hasSpace: L } = $(_);
1394
1394
  if (R)
1395
- return L ? m(g, 0, ee(b)) : m(g, 4, ie(b));
1396
- if (B(b))
1397
- return m(g, 0, ee(b));
1395
+ return L ? m(g, 0, ee(_)) : m(g, 4, ie(_));
1396
+ if (B(_))
1397
+ return m(g, 0, ee(_));
1398
1398
  break;
1399
1399
  }
1400
1400
  return w;
1401
1401
  }
1402
1402
  function ue() {
1403
- const { currentType: b, offset: g, startLoc: w, endLoc: O } = l;
1404
- return l.lastType = b, l.lastOffset = g, l.lastStartLoc = w, l.lastEndLoc = O, l.offset = n(), l.startLoc = i(), s.currentChar() === EOF ? m(
1403
+ const { currentType: _, offset: g, startLoc: w, endLoc: O } = l;
1404
+ return l.lastType = _, l.lastOffset = g, l.lastStartLoc = w, l.lastEndLoc = O, l.offset = n(), l.startLoc = i(), s.currentChar() === EOF ? m(
1405
1405
  l,
1406
1406
  14
1407
1407
  /* TokenTypes.EOF */
@@ -1429,132 +1429,132 @@ function fromEscapeSequence(e, t, o) {
1429
1429
  }
1430
1430
  function createParser(e = {}) {
1431
1431
  const t = e.location !== !1, { onError: o } = e;
1432
- function s(C, S, v, E, ...I) {
1433
- const N = C.currentPosition();
1432
+ function s(y, C, P, E, ...I) {
1433
+ const N = y.currentPosition();
1434
1434
  if (N.offset += E, N.column += E, o) {
1435
- const k = t ? createLocation(v, N) : null, D = createCompileError(S, k, {
1435
+ const k = t ? createLocation(P, N) : null, D = createCompileError(C, k, {
1436
1436
  domain: ERROR_DOMAIN$2,
1437
1437
  args: I
1438
1438
  });
1439
1439
  o(D);
1440
1440
  }
1441
1441
  }
1442
- function n(C, S, v) {
1443
- const E = { type: C };
1444
- return t && (E.start = S, E.end = S, E.loc = { start: v, end: v }), E;
1442
+ function n(y, C, P) {
1443
+ const E = { type: y };
1444
+ return t && (E.start = C, E.end = C, E.loc = { start: P, end: P }), E;
1445
1445
  }
1446
- function i(C, S, v, E) {
1447
- E && (C.type = E), t && (C.end = S, C.loc && (C.loc.end = v));
1446
+ function i(y, C, P, E) {
1447
+ E && (y.type = E), t && (y.end = C, y.loc && (y.loc.end = P));
1448
1448
  }
1449
- function a(C, S) {
1450
- const v = C.context(), E = n(3, v.offset, v.startLoc);
1451
- return E.value = S, i(E, C.currentOffset(), C.currentPosition()), E;
1449
+ function a(y, C) {
1450
+ const P = y.context(), E = n(3, P.offset, P.startLoc);
1451
+ return E.value = C, i(E, y.currentOffset(), y.currentPosition()), E;
1452
1452
  }
1453
- function r(C, S) {
1454
- const v = C.context(), { lastOffset: E, lastStartLoc: I } = v, N = n(5, E, I);
1455
- return N.index = parseInt(S, 10), C.nextToken(), i(N, C.currentOffset(), C.currentPosition()), N;
1453
+ function r(y, C) {
1454
+ const P = y.context(), { lastOffset: E, lastStartLoc: I } = P, N = n(5, E, I);
1455
+ return N.index = parseInt(C, 10), y.nextToken(), i(N, y.currentOffset(), y.currentPosition()), N;
1456
1456
  }
1457
- function l(C, S) {
1458
- const v = C.context(), { lastOffset: E, lastStartLoc: I } = v, N = n(4, E, I);
1459
- return N.key = S, C.nextToken(), i(N, C.currentOffset(), C.currentPosition()), N;
1457
+ function l(y, C) {
1458
+ const P = y.context(), { lastOffset: E, lastStartLoc: I } = P, N = n(4, E, I);
1459
+ return N.key = C, y.nextToken(), i(N, y.currentOffset(), y.currentPosition()), N;
1460
1460
  }
1461
- function c(C, S) {
1462
- const v = C.context(), { lastOffset: E, lastStartLoc: I } = v, N = n(9, E, I);
1463
- return N.value = S.replace(KNOWN_ESCAPES, fromEscapeSequence), C.nextToken(), i(N, C.currentOffset(), C.currentPosition()), N;
1461
+ function c(y, C) {
1462
+ const P = y.context(), { lastOffset: E, lastStartLoc: I } = P, N = n(9, E, I);
1463
+ return N.value = C.replace(KNOWN_ESCAPES, fromEscapeSequence), y.nextToken(), i(N, y.currentOffset(), y.currentPosition()), N;
1464
1464
  }
1465
- function u(C) {
1466
- const S = C.nextToken(), v = C.context(), { lastOffset: E, lastStartLoc: I } = v, N = n(8, E, I);
1467
- return S.type !== 12 ? (s(C, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER, v.lastStartLoc, 0), N.value = "", i(N, E, I), {
1468
- nextConsumeToken: S,
1465
+ function u(y) {
1466
+ const C = y.nextToken(), P = y.context(), { lastOffset: E, lastStartLoc: I } = P, N = n(8, E, I);
1467
+ return C.type !== 12 ? (s(y, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER, P.lastStartLoc, 0), N.value = "", i(N, E, I), {
1468
+ nextConsumeToken: C,
1469
1469
  node: N
1470
- }) : (S.value == null && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, v.lastStartLoc, 0, getTokenCaption(S)), N.value = S.value || "", i(N, C.currentOffset(), C.currentPosition()), {
1470
+ }) : (C.value == null && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, P.lastStartLoc, 0, getTokenCaption(C)), N.value = C.value || "", i(N, y.currentOffset(), y.currentPosition()), {
1471
1471
  node: N
1472
1472
  });
1473
1473
  }
1474
- function d(C, S) {
1475
- const v = C.context(), E = n(7, v.offset, v.startLoc);
1476
- return E.value = S, i(E, C.currentOffset(), C.currentPosition()), E;
1474
+ function d(y, C) {
1475
+ const P = y.context(), E = n(7, P.offset, P.startLoc);
1476
+ return E.value = C, i(E, y.currentOffset(), y.currentPosition()), E;
1477
1477
  }
1478
- function m(C) {
1479
- const S = C.context(), v = n(6, S.offset, S.startLoc);
1480
- let E = C.nextToken();
1478
+ function m(y) {
1479
+ const C = y.context(), P = n(6, C.offset, C.startLoc);
1480
+ let E = y.nextToken();
1481
1481
  if (E.type === 9) {
1482
- const I = u(C);
1483
- v.modifier = I.node, E = I.nextConsumeToken || C.nextToken();
1482
+ const I = u(y);
1483
+ P.modifier = I.node, E = I.nextConsumeToken || y.nextToken();
1484
1484
  }
1485
- switch (E.type !== 10 && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, getTokenCaption(E)), E = C.nextToken(), E.type === 2 && (E = C.nextToken()), E.type) {
1485
+ switch (E.type !== 10 && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, getTokenCaption(E)), E = y.nextToken(), E.type === 2 && (E = y.nextToken()), E.type) {
1486
1486
  case 11:
1487
- E.value == null && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, getTokenCaption(E)), v.key = d(C, E.value || "");
1487
+ E.value == null && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, getTokenCaption(E)), P.key = d(y, E.value || "");
1488
1488
  break;
1489
1489
  case 5:
1490
- E.value == null && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, getTokenCaption(E)), v.key = l(C, E.value || "");
1490
+ E.value == null && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, getTokenCaption(E)), P.key = l(y, E.value || "");
1491
1491
  break;
1492
1492
  case 6:
1493
- E.value == null && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, getTokenCaption(E)), v.key = r(C, E.value || "");
1493
+ E.value == null && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, getTokenCaption(E)), P.key = r(y, E.value || "");
1494
1494
  break;
1495
1495
  case 7:
1496
- E.value == null && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, getTokenCaption(E)), v.key = c(C, E.value || "");
1496
+ E.value == null && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, getTokenCaption(E)), P.key = c(y, E.value || "");
1497
1497
  break;
1498
1498
  default:
1499
- s(C, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY, S.lastStartLoc, 0);
1500
- const I = C.context(), N = n(7, I.offset, I.startLoc);
1501
- return N.value = "", i(N, I.offset, I.startLoc), v.key = N, i(v, I.offset, I.startLoc), {
1499
+ s(y, CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY, C.lastStartLoc, 0);
1500
+ const I = y.context(), N = n(7, I.offset, I.startLoc);
1501
+ return N.value = "", i(N, I.offset, I.startLoc), P.key = N, i(P, I.offset, I.startLoc), {
1502
1502
  nextConsumeToken: E,
1503
- node: v
1503
+ node: P
1504
1504
  };
1505
1505
  }
1506
- return i(v, C.currentOffset(), C.currentPosition()), {
1507
- node: v
1506
+ return i(P, y.currentOffset(), y.currentPosition()), {
1507
+ node: P
1508
1508
  };
1509
1509
  }
1510
- function p(C) {
1511
- const S = C.context(), v = S.currentType === 1 ? C.currentOffset() : S.offset, E = S.currentType === 1 ? S.endLoc : S.startLoc, I = n(2, v, E);
1510
+ function p(y) {
1511
+ const C = y.context(), P = C.currentType === 1 ? y.currentOffset() : C.offset, E = C.currentType === 1 ? C.endLoc : C.startLoc, I = n(2, P, E);
1512
1512
  I.items = [];
1513
1513
  let N = null;
1514
1514
  do {
1515
- const F = N || C.nextToken();
1515
+ const F = N || y.nextToken();
1516
1516
  switch (N = null, F.type) {
1517
1517
  case 0:
1518
- F.value == null && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, getTokenCaption(F)), I.items.push(a(C, F.value || ""));
1518
+ F.value == null && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, getTokenCaption(F)), I.items.push(a(y, F.value || ""));
1519
1519
  break;
1520
1520
  case 6:
1521
- F.value == null && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, getTokenCaption(F)), I.items.push(r(C, F.value || ""));
1521
+ F.value == null && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, getTokenCaption(F)), I.items.push(r(y, F.value || ""));
1522
1522
  break;
1523
1523
  case 5:
1524
- F.value == null && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, getTokenCaption(F)), I.items.push(l(C, F.value || ""));
1524
+ F.value == null && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, getTokenCaption(F)), I.items.push(l(y, F.value || ""));
1525
1525
  break;
1526
1526
  case 7:
1527
- F.value == null && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, getTokenCaption(F)), I.items.push(c(C, F.value || ""));
1527
+ F.value == null && s(y, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, getTokenCaption(F)), I.items.push(c(y, F.value || ""));
1528
1528
  break;
1529
1529
  case 8:
1530
- const M = m(C);
1530
+ const M = m(y);
1531
1531
  I.items.push(M.node), N = M.nextConsumeToken || null;
1532
1532
  break;
1533
1533
  }
1534
- } while (S.currentType !== 14 && S.currentType !== 1);
1535
- const k = S.currentType === 1 ? S.lastOffset : C.currentOffset(), D = S.currentType === 1 ? S.lastEndLoc : C.currentPosition();
1534
+ } while (C.currentType !== 14 && C.currentType !== 1);
1535
+ const k = C.currentType === 1 ? C.lastOffset : y.currentOffset(), D = C.currentType === 1 ? C.lastEndLoc : y.currentPosition();
1536
1536
  return i(I, k, D), I;
1537
1537
  }
1538
- function f(C, S, v, E) {
1539
- const I = C.context();
1538
+ function f(y, C, P, E) {
1539
+ const I = y.context();
1540
1540
  let N = E.items.length === 0;
1541
- const k = n(1, S, v);
1541
+ const k = n(1, C, P);
1542
1542
  k.cases = [], k.cases.push(E);
1543
1543
  do {
1544
- const D = p(C);
1544
+ const D = p(y);
1545
1545
  N || (N = D.items.length === 0), k.cases.push(D);
1546
1546
  } while (I.currentType !== 14);
1547
- return N && s(C, CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL, v, 0), i(k, C.currentOffset(), C.currentPosition()), k;
1547
+ return N && s(y, CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL, P, 0), i(k, y.currentOffset(), y.currentPosition()), k;
1548
1548
  }
1549
- function _(C) {
1550
- const S = C.context(), { offset: v, startLoc: E } = S, I = p(C);
1551
- return S.currentType === 14 ? I : f(C, v, E, I);
1549
+ function b(y) {
1550
+ const C = y.context(), { offset: P, startLoc: E } = C, I = p(y);
1551
+ return C.currentType === 14 ? I : f(y, P, E, I);
1552
1552
  }
1553
- function y(C) {
1554
- const S = createTokenizer(C, assign$1({}, e)), v = S.context(), E = n(0, v.offset, v.startLoc);
1555
- return t && E.loc && (E.loc.source = C), E.body = _(S), e.onCacheKey && (E.cacheKey = e.onCacheKey(C)), v.currentType !== 14 && s(S, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, v.lastStartLoc, 0, C[v.offset] || ""), i(E, S.currentOffset(), S.currentPosition()), E;
1553
+ function S(y) {
1554
+ const C = createTokenizer(y, assign$1({}, e)), P = C.context(), E = n(0, P.offset, P.startLoc);
1555
+ return t && E.loc && (E.loc.source = y), E.body = b(C), e.onCacheKey && (E.cacheKey = e.onCacheKey(y)), P.currentType !== 14 && s(C, CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS, P.lastStartLoc, 0, y[P.offset] || ""), i(E, C.currentOffset(), C.currentPosition()), E;
1556
1556
  }
1557
- return { parse: y };
1557
+ return { parse: S };
1558
1558
  }
1559
1559
  function getTokenCaption(e) {
1560
1560
  if (e.type === 14)
@@ -1708,20 +1708,20 @@ function createCodeGenerator(e, t) {
1708
1708
  };
1709
1709
  a && e.loc && (r.source = e.loc.source);
1710
1710
  const l = () => r;
1711
- function c(y, C) {
1712
- r.code += y;
1711
+ function c(S, y) {
1712
+ r.code += S;
1713
1713
  }
1714
- function u(y, C = !0) {
1715
- const S = C ? n : "";
1716
- c(i ? S + " ".repeat(y) : S);
1714
+ function u(S, y = !0) {
1715
+ const C = y ? n : "";
1716
+ c(i ? C + " ".repeat(S) : C);
1717
1717
  }
1718
- function d(y = !0) {
1719
- const C = ++r.indentLevel;
1720
- y && u(C);
1718
+ function d(S = !0) {
1719
+ const y = ++r.indentLevel;
1720
+ S && u(y);
1721
1721
  }
1722
- function m(y = !0) {
1723
- const C = --r.indentLevel;
1724
- y && u(C);
1722
+ function m(S = !0) {
1723
+ const y = --r.indentLevel;
1724
+ S && u(y);
1725
1725
  }
1726
1726
  function p() {
1727
1727
  u(r.indentLevel);
@@ -1732,7 +1732,7 @@ function createCodeGenerator(e, t) {
1732
1732
  indent: d,
1733
1733
  deindent: m,
1734
1734
  newline: p,
1735
- helper: (y) => `_${y}`,
1735
+ helper: (S) => `_${S}`,
1736
1736
  needIndent: () => r.needIndent
1737
1737
  };
1738
1738
  }
@@ -2138,22 +2138,22 @@ function normalizeNamed(e, t) {
2138
2138
  t.count || (t.count = e), t.n || (t.n = e);
2139
2139
  }
2140
2140
  function createMessageContext(e = {}) {
2141
- const t = e.locale, o = getPluralIndex(e), s = isObject$2(e.pluralRules) && isString$2(t) && isFunction$1(e.pluralRules[t]) ? e.pluralRules[t] : pluralDefault, n = isObject$2(e.pluralRules) && isString$2(t) && isFunction$1(e.pluralRules[t]) ? pluralDefault : void 0, i = (C) => C[s(o, C.length, n)], a = e.list || [], r = (C) => a[C], l = e.named || {};
2141
+ const t = e.locale, o = getPluralIndex(e), s = isObject$2(e.pluralRules) && isString$2(t) && isFunction$1(e.pluralRules[t]) ? e.pluralRules[t] : pluralDefault, n = isObject$2(e.pluralRules) && isString$2(t) && isFunction$1(e.pluralRules[t]) ? pluralDefault : void 0, i = (y) => y[s(o, y.length, n)], a = e.list || [], r = (y) => a[y], l = e.named || {};
2142
2142
  isNumber$1(e.pluralIndex) && normalizeNamed(o, l);
2143
- const c = (C) => l[C];
2144
- function u(C) {
2145
- const S = isFunction$1(e.messages) ? e.messages(C) : isObject$2(e.messages) ? e.messages[C] : !1;
2146
- return S || (e.parent ? e.parent.message(C) : DEFAULT_MESSAGE);
2143
+ const c = (y) => l[y];
2144
+ function u(y) {
2145
+ const C = isFunction$1(e.messages) ? e.messages(y) : isObject$2(e.messages) ? e.messages[y] : !1;
2146
+ return C || (e.parent ? e.parent.message(y) : DEFAULT_MESSAGE);
2147
2147
  }
2148
- const d = (C) => e.modifiers ? e.modifiers[C] : DEFAULT_MODIFIER, m = isPlainObject$1(e.processor) && isFunction$1(e.processor.normalize) ? e.processor.normalize : DEFAULT_NORMALIZE, p = isPlainObject$1(e.processor) && isFunction$1(e.processor.interpolate) ? e.processor.interpolate : DEFAULT_INTERPOLATE, f = isPlainObject$1(e.processor) && isString$2(e.processor.type) ? e.processor.type : DEFAULT_MESSAGE_DATA_TYPE, y = {
2148
+ const d = (y) => e.modifiers ? e.modifiers[y] : DEFAULT_MODIFIER, m = isPlainObject$1(e.processor) && isFunction$1(e.processor.normalize) ? e.processor.normalize : DEFAULT_NORMALIZE, p = isPlainObject$1(e.processor) && isFunction$1(e.processor.interpolate) ? e.processor.interpolate : DEFAULT_INTERPOLATE, f = isPlainObject$1(e.processor) && isString$2(e.processor.type) ? e.processor.type : DEFAULT_MESSAGE_DATA_TYPE, S = {
2149
2149
  list: r,
2150
2150
  named: c,
2151
2151
  plural: i,
2152
- linked: (C, ...S) => {
2153
- const [v, E] = S;
2152
+ linked: (y, ...C) => {
2153
+ const [P, E] = C;
2154
2154
  let I = "text", N = "";
2155
- S.length === 1 ? isObject$2(v) ? (N = v.modifier || N, I = v.type || I) : isString$2(v) && (N = v || N) : S.length === 2 && (isString$2(v) && (N = v || N), isString$2(E) && (I = E || I));
2156
- const k = u(C)(y), D = (
2155
+ C.length === 1 ? isObject$2(P) ? (N = P.modifier || N, I = P.type || I) : isString$2(P) && (N = P || N) : C.length === 2 && (isString$2(P) && (N = P || N), isString$2(E) && (I = E || I));
2156
+ const k = u(y)(S), D = (
2157
2157
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
2158
2158
  I === "vnode" && isArray$1(k) && N ? k[0] : k
2159
2159
  );
@@ -2165,7 +2165,7 @@ function createMessageContext(e = {}) {
2165
2165
  normalize: m,
2166
2166
  values: assign$2({}, a, l)
2167
2167
  };
2168
- return y;
2168
+ return S;
2169
2169
  }
2170
2170
  let devtools = null;
2171
2171
  function setDevToolsHook(e) {
@@ -2326,7 +2326,7 @@ const setFallbackContext = (e) => {
2326
2326
  }, getFallbackContext = () => _fallbackContext;
2327
2327
  let _cid = 0;
2328
2328
  function createCoreContext(e = {}) {
2329
- const t = isFunction$1(e.onWarn) ? e.onWarn : warn, o = isString$2(e.version) ? e.version : VERSION$2, s = isString$2(e.locale) || isFunction$1(e.locale) ? e.locale : DEFAULT_LOCALE, n = isFunction$1(s) ? DEFAULT_LOCALE : s, i = isArray$1(e.fallbackLocale) || isPlainObject$1(e.fallbackLocale) || isString$2(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, a = isPlainObject$1(e.messages) ? e.messages : { [n]: {} }, r = isPlainObject$1(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, l = isPlainObject$1(e.numberFormats) ? e.numberFormats : { [n]: {} }, c = assign$2({}, e.modifiers || {}, getDefaultLinkedModifiers()), u = e.pluralRules || {}, d = isFunction$1(e.missing) ? e.missing : null, m = isBoolean$1(e.missingWarn) || isRegExp$1(e.missingWarn) ? e.missingWarn : !0, p = isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, f = !!e.fallbackFormat, _ = !!e.unresolving, y = isFunction$1(e.postTranslation) ? e.postTranslation : null, C = isPlainObject$1(e.processor) ? e.processor : null, S = isBoolean$1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter, E = isFunction$1(e.messageCompiler) ? e.messageCompiler : _compiler;
2329
+ const t = isFunction$1(e.onWarn) ? e.onWarn : warn, o = isString$2(e.version) ? e.version : VERSION$2, s = isString$2(e.locale) || isFunction$1(e.locale) ? e.locale : DEFAULT_LOCALE, n = isFunction$1(s) ? DEFAULT_LOCALE : s, i = isArray$1(e.fallbackLocale) || isPlainObject$1(e.fallbackLocale) || isString$2(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, a = isPlainObject$1(e.messages) ? e.messages : { [n]: {} }, r = isPlainObject$1(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, l = isPlainObject$1(e.numberFormats) ? e.numberFormats : { [n]: {} }, c = assign$2({}, e.modifiers || {}, getDefaultLinkedModifiers()), u = e.pluralRules || {}, d = isFunction$1(e.missing) ? e.missing : null, m = isBoolean$1(e.missingWarn) || isRegExp$1(e.missingWarn) ? e.missingWarn : !0, p = isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, f = !!e.fallbackFormat, b = !!e.unresolving, S = isFunction$1(e.postTranslation) ? e.postTranslation : null, y = isPlainObject$1(e.processor) ? e.processor : null, C = isBoolean$1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, P = !!e.escapeParameter, E = isFunction$1(e.messageCompiler) ? e.messageCompiler : _compiler;
2330
2330
  process.env.NODE_ENV !== "production" && isFunction$1(e.messageCompiler) && warnOnce(getWarnMessage$1(CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
2331
2331
  const I = isFunction$1(e.messageResolver) ? e.messageResolver : _resolver || resolveWithKeyValue, N = isFunction$1(e.localeFallbacker) ? e.localeFallbacker : _fallbacker || fallbackWithSimple, k = isObject$2(e.fallbackContext) ? e.fallbackContext : void 0, D = e, F = isObject$2(D.__datetimeFormatters) ? D.__datetimeFormatters : /* @__PURE__ */ new Map(), M = isObject$2(D.__numberFormatters) ? D.__numberFormatters : /* @__PURE__ */ new Map(), $ = isObject$2(D.__meta) ? D.__meta : {};
2332
2332
  _cid++;
@@ -2342,11 +2342,11 @@ function createCoreContext(e = {}) {
2342
2342
  missingWarn: m,
2343
2343
  fallbackWarn: p,
2344
2344
  fallbackFormat: f,
2345
- unresolving: _,
2346
- postTranslation: y,
2347
- processor: C,
2348
- warnHtmlMessage: S,
2349
- escapeParameter: v,
2345
+ unresolving: b,
2346
+ postTranslation: S,
2347
+ processor: y,
2348
+ warnHtmlMessage: C,
2349
+ escapeParameter: P,
2350
2350
  messageCompiler: E,
2351
2351
  messageResolver: I,
2352
2352
  localeFallbacker: N,
@@ -2487,29 +2487,29 @@ function compile(e, t) {
2487
2487
  }
2488
2488
  const NOOP_MESSAGE_FUNCTION = () => "", isMessageFunction = (e) => isFunction$1(e);
2489
2489
  function translate(e, ...t) {
2490
- const { fallbackFormat: o, postTranslation: s, unresolving: n, messageCompiler: i, fallbackLocale: a, messages: r } = e, [l, c] = parseTranslateArgs(...t), u = isBoolean$1(c.missingWarn) ? c.missingWarn : e.missingWarn, d = isBoolean$1(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, m = isBoolean$1(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, p = !!c.resolvedMessage, f = isString$2(c.default) || isBoolean$1(c.default) ? isBoolean$1(c.default) ? i ? l : () => l : c.default : o ? i ? l : () => l : "", _ = o || f !== "", y = getLocale(e, c);
2490
+ const { fallbackFormat: o, postTranslation: s, unresolving: n, messageCompiler: i, fallbackLocale: a, messages: r } = e, [l, c] = parseTranslateArgs(...t), u = isBoolean$1(c.missingWarn) ? c.missingWarn : e.missingWarn, d = isBoolean$1(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, m = isBoolean$1(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, p = !!c.resolvedMessage, f = isString$2(c.default) || isBoolean$1(c.default) ? isBoolean$1(c.default) ? i ? l : () => l : c.default : o ? i ? l : () => l : "", b = o || f !== "", S = getLocale(e, c);
2491
2491
  m && escapeParams(c);
2492
- let [C, S, v] = p ? [
2492
+ let [y, C, P] = p ? [
2493
2493
  l,
2494
- y,
2495
- r[y] || {}
2496
- ] : resolveMessageFormat(e, l, y, a, d, u), E = C, I = l;
2497
- if (!p && !(isString$2(E) || isMessageAST(E) || isMessageFunction(E)) && _ && (E = f, I = E), !p && (!(isString$2(E) || isMessageAST(E) || isMessageFunction(E)) || !isString$2(S)))
2494
+ S,
2495
+ r[S] || {}
2496
+ ] : resolveMessageFormat(e, l, S, a, d, u), E = y, I = l;
2497
+ if (!p && !(isString$2(E) || isMessageAST(E) || isMessageFunction(E)) && b && (E = f, I = E), !p && (!(isString$2(E) || isMessageAST(E) || isMessageFunction(E)) || !isString$2(C)))
2498
2498
  return n ? NOT_REOSLVED : l;
2499
2499
  if (process.env.NODE_ENV !== "production" && isString$2(E) && e.messageCompiler == null)
2500
2500
  return warn(`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 '${l}'.`), l;
2501
2501
  let N = !1;
2502
2502
  const k = () => {
2503
2503
  N = !0;
2504
- }, D = isMessageFunction(E) ? E : compileMessageFormat(e, l, S, E, I, k);
2504
+ }, D = isMessageFunction(E) ? E : compileMessageFormat(e, l, C, E, I, k);
2505
2505
  if (N)
2506
2506
  return E;
2507
- const F = getMessageContextOptions(e, S, v, c), M = createMessageContext(F), $ = evaluateMessage(e, D, M), B = s ? s($, l) : $;
2507
+ const F = getMessageContextOptions(e, C, P, c), M = createMessageContext(F), $ = evaluateMessage(e, D, M), B = s ? s($, l) : $;
2508
2508
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2509
2509
  const U = {
2510
2510
  timestamp: Date.now(),
2511
2511
  key: isString$2(l) ? l : isMessageFunction(E) ? E.key : "",
2512
- locale: S || (isMessageFunction(E) ? E.locale : ""),
2512
+ locale: C || (isMessageFunction(E) ? E.locale : ""),
2513
2513
  format: isString$2(E) ? E : isMessageFunction(E) ? E.source : "",
2514
2514
  message: B
2515
2515
  };
@@ -2524,33 +2524,33 @@ function escapeParams(e) {
2524
2524
  }
2525
2525
  function resolveMessageFormat(e, t, o, s, n, i) {
2526
2526
  const { messages: a, onWarn: r, messageResolver: l, localeFallbacker: c } = e, u = c(e, s, o);
2527
- let d = {}, m, p = null, f = o, _ = null;
2528
- const y = "translate";
2529
- for (let C = 0; C < u.length; C++) {
2530
- if (m = _ = u[C], process.env.NODE_ENV !== "production" && o !== m && isTranslateFallbackWarn(n, t) && r(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_TRANSLATE, {
2527
+ let d = {}, m, p = null, f = o, b = null;
2528
+ const S = "translate";
2529
+ for (let y = 0; y < u.length; y++) {
2530
+ if (m = b = u[y], process.env.NODE_ENV !== "production" && o !== m && isTranslateFallbackWarn(n, t) && r(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_TRANSLATE, {
2531
2531
  key: t,
2532
2532
  target: m
2533
2533
  })), process.env.NODE_ENV !== "production" && o !== m) {
2534
2534
  const N = e.__v_emitter;
2535
2535
  N && N.emit("fallback", {
2536
- type: y,
2536
+ type: S,
2537
2537
  key: t,
2538
2538
  from: f,
2539
- to: _,
2540
- groupId: `${y}:${t}`
2539
+ to: b,
2540
+ groupId: `${S}:${t}`
2541
2541
  });
2542
2542
  }
2543
2543
  d = a[m] || {};
2544
- let S = null, v, E;
2545
- if (process.env.NODE_ENV !== "production" && inBrowser && (S = window.performance.now(), v = "intlify-message-resolve-start", E = "intlify-message-resolve-end", mark && mark(v)), (p = l(d, t)) === null && (p = d[t]), process.env.NODE_ENV !== "production" && inBrowser) {
2544
+ let C = null, P, E;
2545
+ if (process.env.NODE_ENV !== "production" && inBrowser && (C = window.performance.now(), P = "intlify-message-resolve-start", E = "intlify-message-resolve-end", mark && mark(P)), (p = l(d, t)) === null && (p = d[t]), process.env.NODE_ENV !== "production" && inBrowser) {
2546
2546
  const N = window.performance.now(), k = e.__v_emitter;
2547
- k && S && p && k.emit("message-resolve", {
2547
+ k && C && p && k.emit("message-resolve", {
2548
2548
  type: "message-resolve",
2549
2549
  key: t,
2550
2550
  message: p,
2551
- time: N - S,
2552
- groupId: `${y}:${t}`
2553
- }), v && E && mark && measure && (mark(E), measure("intlify message resolve", v, E));
2551
+ time: N - C,
2552
+ groupId: `${S}:${t}`
2553
+ }), P && E && mark && measure && (mark(E), measure("intlify message resolve", P, E));
2554
2554
  }
2555
2555
  if (isString$2(p) || isMessageAST(p) || isMessageFunction(p))
2556
2556
  break;
@@ -2560,9 +2560,9 @@ function resolveMessageFormat(e, t, o, s, n, i) {
2560
2560
  t,
2561
2561
  m,
2562
2562
  i,
2563
- y
2563
+ S
2564
2564
  );
2565
- I !== t && (p = I), f = _;
2565
+ I !== t && (p = I), f = b;
2566
2566
  }
2567
2567
  return [p, m, d];
2568
2568
  }
@@ -2648,15 +2648,15 @@ function getMessageContextOptions(e, t, o, s) {
2648
2648
  messages: (p) => {
2649
2649
  let f = a(o, p);
2650
2650
  if (f == null && u) {
2651
- const [, , _] = resolveMessageFormat(u, p, t, r, l, c);
2652
- f = a(_, p);
2651
+ const [, , b] = resolveMessageFormat(u, p, t, r, l, c);
2652
+ f = a(b, p);
2653
2653
  }
2654
2654
  if (isString$2(f) || isMessageAST(f)) {
2655
- let _ = !1;
2656
- const C = compileMessageFormat(e, p, t, f, p, () => {
2657
- _ = !0;
2655
+ let b = !1;
2656
+ const y = compileMessageFormat(e, p, t, f, p, () => {
2657
+ b = !0;
2658
2658
  });
2659
- return _ ? NOOP_MESSAGE_FUNCTION : C;
2659
+ return b ? NOOP_MESSAGE_FUNCTION : y;
2660
2660
  } else
2661
2661
  return isMessageFunction(f) ? f : NOOP_MESSAGE_FUNCTION;
2662
2662
  }
@@ -2671,21 +2671,21 @@ function datetime(e, ...t) {
2671
2671
  const { datetimeFormats: o, unresolving: s, fallbackLocale: n, onWarn: i, localeFallbacker: a } = e, { __datetimeFormatters: r } = e;
2672
2672
  if (process.env.NODE_ENV !== "production" && !Availabilities.dateTimeFormat)
2673
2673
  return i(getWarnMessage$1(CoreWarnCodes.CANNOT_FORMAT_DATE)), MISSING_RESOLVE_VALUE;
2674
- const [l, c, u, d] = parseDateTimeArgs(...t), m = isBoolean$1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = isBoolean$1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, f = !!u.part, _ = getLocale(e, u), y = a(
2674
+ const [l, c, u, d] = parseDateTimeArgs(...t), m = isBoolean$1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = isBoolean$1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, f = !!u.part, b = getLocale(e, u), S = a(
2675
2675
  e,
2676
2676
  // eslint-disable-line @typescript-eslint/no-explicit-any
2677
2677
  n,
2678
- _
2678
+ b
2679
2679
  );
2680
2680
  if (!isString$2(l) || l === "")
2681
- return new Intl.DateTimeFormat(_, d).format(c);
2682
- let C = {}, S, v = null, E = _, I = null;
2681
+ return new Intl.DateTimeFormat(b, d).format(c);
2682
+ let y = {}, C, P = null, E = b, I = null;
2683
2683
  const N = "datetime format";
2684
- for (let F = 0; F < y.length; F++) {
2685
- if (S = I = y[F], process.env.NODE_ENV !== "production" && _ !== S && isTranslateFallbackWarn(p, l) && i(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_DATE_FORMAT, {
2684
+ for (let F = 0; F < S.length; F++) {
2685
+ if (C = I = S[F], process.env.NODE_ENV !== "production" && b !== C && isTranslateFallbackWarn(p, l) && i(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_DATE_FORMAT, {
2686
2686
  key: l,
2687
- target: S
2688
- })), process.env.NODE_ENV !== "production" && _ !== S) {
2687
+ target: C
2688
+ })), process.env.NODE_ENV !== "production" && b !== C) {
2689
2689
  const M = e.__v_emitter;
2690
2690
  M && M.emit("fallback", {
2691
2691
  type: N,
@@ -2695,16 +2695,16 @@ function datetime(e, ...t) {
2695
2695
  groupId: `${N}:${l}`
2696
2696
  });
2697
2697
  }
2698
- if (C = o[S] || {}, v = C[l], isPlainObject$1(v))
2698
+ if (y = o[C] || {}, P = y[l], isPlainObject$1(P))
2699
2699
  break;
2700
- handleMissing(e, l, S, m, N), E = I;
2700
+ handleMissing(e, l, C, m, N), E = I;
2701
2701
  }
2702
- if (!isPlainObject$1(v) || !isString$2(S))
2702
+ if (!isPlainObject$1(P) || !isString$2(C))
2703
2703
  return s ? NOT_REOSLVED : l;
2704
- let k = `${S}__${l}`;
2704
+ let k = `${C}__${l}`;
2705
2705
  isEmptyObject(d) || (k = `${k}__${JSON.stringify(d)}`);
2706
2706
  let D = r.get(k);
2707
- return D || (D = new Intl.DateTimeFormat(S, assign$2({}, v, d)), r.set(k, D)), f ? D.formatToParts(c) : D.format(c);
2707
+ return D || (D = new Intl.DateTimeFormat(C, assign$2({}, P, d)), r.set(k, D)), f ? D.formatToParts(c) : D.format(c);
2708
2708
  }
2709
2709
  const DATETIME_FORMAT_OPTIONS_KEYS = [
2710
2710
  "localeMatcher",
@@ -2765,21 +2765,21 @@ function number(e, ...t) {
2765
2765
  const { numberFormats: o, unresolving: s, fallbackLocale: n, onWarn: i, localeFallbacker: a } = e, { __numberFormatters: r } = e;
2766
2766
  if (process.env.NODE_ENV !== "production" && !Availabilities.numberFormat)
2767
2767
  return i(getWarnMessage$1(CoreWarnCodes.CANNOT_FORMAT_NUMBER)), MISSING_RESOLVE_VALUE;
2768
- const [l, c, u, d] = parseNumberArgs(...t), m = isBoolean$1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = isBoolean$1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, f = !!u.part, _ = getLocale(e, u), y = a(
2768
+ const [l, c, u, d] = parseNumberArgs(...t), m = isBoolean$1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = isBoolean$1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, f = !!u.part, b = getLocale(e, u), S = a(
2769
2769
  e,
2770
2770
  // eslint-disable-line @typescript-eslint/no-explicit-any
2771
2771
  n,
2772
- _
2772
+ b
2773
2773
  );
2774
2774
  if (!isString$2(l) || l === "")
2775
- return new Intl.NumberFormat(_, d).format(c);
2776
- let C = {}, S, v = null, E = _, I = null;
2775
+ return new Intl.NumberFormat(b, d).format(c);
2776
+ let y = {}, C, P = null, E = b, I = null;
2777
2777
  const N = "number format";
2778
- for (let F = 0; F < y.length; F++) {
2779
- if (S = I = y[F], process.env.NODE_ENV !== "production" && _ !== S && isTranslateFallbackWarn(p, l) && i(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT, {
2778
+ for (let F = 0; F < S.length; F++) {
2779
+ if (C = I = S[F], process.env.NODE_ENV !== "production" && b !== C && isTranslateFallbackWarn(p, l) && i(getWarnMessage$1(CoreWarnCodes.FALLBACK_TO_NUMBER_FORMAT, {
2780
2780
  key: l,
2781
- target: S
2782
- })), process.env.NODE_ENV !== "production" && _ !== S) {
2781
+ target: C
2782
+ })), process.env.NODE_ENV !== "production" && b !== C) {
2783
2783
  const M = e.__v_emitter;
2784
2784
  M && M.emit("fallback", {
2785
2785
  type: N,
@@ -2789,16 +2789,16 @@ function number(e, ...t) {
2789
2789
  groupId: `${N}:${l}`
2790
2790
  });
2791
2791
  }
2792
- if (C = o[S] || {}, v = C[l], isPlainObject$1(v))
2792
+ if (y = o[C] || {}, P = y[l], isPlainObject$1(P))
2793
2793
  break;
2794
- handleMissing(e, l, S, m, N), E = I;
2794
+ handleMissing(e, l, C, m, N), E = I;
2795
2795
  }
2796
- if (!isPlainObject$1(v) || !isString$2(S))
2796
+ if (!isPlainObject$1(P) || !isString$2(C))
2797
2797
  return s ? NOT_REOSLVED : l;
2798
- let k = `${S}__${l}`;
2798
+ let k = `${C}__${l}`;
2799
2799
  isEmptyObject(d) || (k = `${k}__${JSON.stringify(d)}`);
2800
2800
  let D = r.get(k);
2801
- return D || (D = new Intl.NumberFormat(S, assign$2({}, v, d)), r.set(k, D)), f ? D.formatToParts(c) : D.format(c);
2801
+ return D || (D = new Intl.NumberFormat(C, assign$2({}, P, d)), r.set(k, D)), f ? D.formatToParts(c) : D.format(c);
2802
2802
  }
2803
2803
  const NUMBER_FORMAT_OPTIONS_KEYS = [
2804
2804
  "localeMatcher",
@@ -3009,32 +3009,32 @@ function createComposer(e = {}, t) {
3009
3009
  // prettier-ignore
3010
3010
  o && a ? o.fallbackLocale.value : isString$2(e.fallbackLocale) || isArray$1(e.fallbackLocale) || isPlainObject$1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r.value
3011
3011
  ), c = ref(getLocaleMessages(r.value, e)), u = ref(isPlainObject$1(e.datetimeFormats) ? e.datetimeFormats : { [r.value]: {} }), d = ref(isPlainObject$1(e.numberFormats) ? e.numberFormats : { [r.value]: {} });
3012
- let m = o ? o.missingWarn : isBoolean$1(e.missingWarn) || isRegExp$1(e.missingWarn) ? e.missingWarn : !0, p = o ? o.fallbackWarn : isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, f = o ? o.fallbackRoot : isBoolean$1(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, y = isFunction$1(e.missing) ? e.missing : null, C = isFunction$1(e.missing) ? defineCoreMissingHandler(e.missing) : null, S = isFunction$1(e.postTranslation) ? e.postTranslation : null, v = o ? o.warnHtmlMessage : isBoolean$1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
3012
+ let m = o ? o.missingWarn : isBoolean$1(e.missingWarn) || isRegExp$1(e.missingWarn) ? e.missingWarn : !0, p = o ? o.fallbackWarn : isBoolean$1(e.fallbackWarn) || isRegExp$1(e.fallbackWarn) ? e.fallbackWarn : !0, f = o ? o.fallbackRoot : isBoolean$1(e.fallbackRoot) ? e.fallbackRoot : !0, b = !!e.fallbackFormat, S = isFunction$1(e.missing) ? e.missing : null, y = isFunction$1(e.missing) ? defineCoreMissingHandler(e.missing) : null, C = isFunction$1(e.postTranslation) ? e.postTranslation : null, P = o ? o.warnHtmlMessage : isBoolean$1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
3013
3013
  const I = o ? o.modifiers : isPlainObject$1(e.modifiers) ? e.modifiers : {};
3014
3014
  let N = e.pluralRules || o && o.pluralRules, k;
3015
3015
  k = (() => {
3016
3016
  n && setFallbackContext(null);
3017
- const P = {
3017
+ const v = {
3018
3018
  version: VERSION$1,
3019
3019
  locale: r.value,
3020
3020
  fallbackLocale: l.value,
3021
3021
  messages: c.value,
3022
3022
  modifiers: I,
3023
3023
  pluralRules: N,
3024
- missing: C === null ? void 0 : C,
3024
+ missing: y === null ? void 0 : y,
3025
3025
  missingWarn: m,
3026
3026
  fallbackWarn: p,
3027
- fallbackFormat: _,
3027
+ fallbackFormat: b,
3028
3028
  unresolving: !0,
3029
- postTranslation: S === null ? void 0 : S,
3030
- warnHtmlMessage: v,
3029
+ postTranslation: C === null ? void 0 : C,
3030
+ warnHtmlMessage: P,
3031
3031
  escapeParameter: E,
3032
3032
  messageResolver: e.messageResolver,
3033
3033
  messageCompiler: e.messageCompiler,
3034
3034
  __meta: { framework: "vue" }
3035
3035
  };
3036
- P.datetimeFormats = u.value, P.numberFormats = d.value, P.__datetimeFormatters = isPlainObject$1(k) ? k.__datetimeFormatters : void 0, P.__numberFormatters = isPlainObject$1(k) ? k.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (P.__v_emitter = isPlainObject$1(k) ? k.__v_emitter : void 0);
3037
- const T = createCoreContext(P);
3036
+ v.datetimeFormats = u.value, v.numberFormats = d.value, v.__datetimeFormatters = isPlainObject$1(k) ? k.__datetimeFormatters : void 0, v.__numberFormatters = isPlainObject$1(k) ? k.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (v.__v_emitter = isPlainObject$1(k) ? k.__v_emitter : void 0);
3037
+ const T = createCoreContext(v);
3038
3038
  return n && setFallbackContext(T), T;
3039
3039
  })(), updateFallbackLocale(k, r.value, l.value);
3040
3040
  function F() {
@@ -3048,35 +3048,35 @@ function createComposer(e = {}, t) {
3048
3048
  }
3049
3049
  const M = computed({
3050
3050
  get: () => r.value,
3051
- set: (P) => {
3052
- r.value = P, k.locale = r.value;
3051
+ set: (v) => {
3052
+ r.value = v, k.locale = r.value;
3053
3053
  }
3054
3054
  }), $ = computed({
3055
3055
  get: () => l.value,
3056
- set: (P) => {
3057
- l.value = P, k.fallbackLocale = l.value, updateFallbackLocale(k, r.value, P);
3056
+ set: (v) => {
3057
+ l.value = v, k.fallbackLocale = l.value, updateFallbackLocale(k, r.value, v);
3058
3058
  }
3059
3059
  }), B = computed(() => c.value), U = /* @__PURE__ */ computed(() => u.value), X = /* @__PURE__ */ computed(() => d.value);
3060
3060
  function ne() {
3061
- return isFunction$1(S) ? S : null;
3061
+ return isFunction$1(C) ? C : null;
3062
3062
  }
3063
- function W(P) {
3064
- S = P, k.postTranslation = P;
3063
+ function W(v) {
3064
+ C = v, k.postTranslation = v;
3065
3065
  }
3066
3066
  function Z() {
3067
- return y;
3067
+ return S;
3068
3068
  }
3069
- function ie(P) {
3070
- P !== null && (C = defineCoreMissingHandler(P)), y = P, k.missing = C;
3069
+ function ie(v) {
3070
+ v !== null && (y = defineCoreMissingHandler(v)), S = v, k.missing = y;
3071
3071
  }
3072
- function ee(P, T) {
3073
- return P !== "translate" || !T.resolvedMessage;
3072
+ function ee(v, T) {
3073
+ return v !== "translate" || !T.resolvedMessage;
3074
3074
  }
3075
- const j = (P, T, A, x, K, fe) => {
3075
+ const j = (v, T, A, x, K, fe) => {
3076
3076
  F();
3077
3077
  let se;
3078
3078
  try {
3079
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, n || (k.fallbackContext = o ? getFallbackContext() : void 0), se = P(k);
3079
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, n || (k.fallbackContext = o ? getFallbackContext() : void 0), se = v(k);
3080
3080
  } finally {
3081
3081
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, n || (k.fallbackContext = void 0);
3082
3082
  }
@@ -3102,87 +3102,87 @@ function createComposer(e = {}, t) {
3102
3102
  throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE);
3103
3103
  }
3104
3104
  };
3105
- function te(...P) {
3106
- return j((T) => Reflect.apply(translate, null, [T, ...P]), () => parseTranslateArgs(...P), "translate", (T) => Reflect.apply(T.t, T, [...P]), (T) => T, (T) => isString$2(T));
3105
+ function te(...v) {
3106
+ return j((T) => Reflect.apply(translate, null, [T, ...v]), () => parseTranslateArgs(...v), "translate", (T) => Reflect.apply(T.t, T, [...v]), (T) => T, (T) => isString$2(T));
3107
3107
  }
3108
- function ae(...P) {
3109
- const [T, A, x] = P;
3108
+ function ae(...v) {
3109
+ const [T, A, x] = v;
3110
3110
  if (x && !isObject$2(x))
3111
3111
  throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);
3112
3112
  return te(T, A, assign$2({ resolvedMessage: !0 }, x || {}));
3113
3113
  }
3114
- function re(...P) {
3115
- return j((T) => Reflect.apply(datetime, null, [T, ...P]), () => parseDateTimeArgs(...P), "datetime format", (T) => Reflect.apply(T.d, T, [...P]), () => MISSING_RESOLVE_VALUE, (T) => isString$2(T));
3114
+ function re(...v) {
3115
+ return j((T) => Reflect.apply(datetime, null, [T, ...v]), () => parseDateTimeArgs(...v), "datetime format", (T) => Reflect.apply(T.d, T, [...v]), () => MISSING_RESOLVE_VALUE, (T) => isString$2(T));
3116
3116
  }
3117
- function oe(...P) {
3118
- return j((T) => Reflect.apply(number, null, [T, ...P]), () => parseNumberArgs(...P), "number format", (T) => Reflect.apply(T.n, T, [...P]), () => MISSING_RESOLVE_VALUE, (T) => isString$2(T));
3117
+ function oe(...v) {
3118
+ return j((T) => Reflect.apply(number, null, [T, ...v]), () => parseNumberArgs(...v), "number format", (T) => Reflect.apply(T.n, T, [...v]), () => MISSING_RESOLVE_VALUE, (T) => isString$2(T));
3119
3119
  }
3120
- function le(P) {
3121
- return P.map((T) => isString$2(T) || isNumber$1(T) || isBoolean$1(T) ? createTextNode(String(T)) : T);
3120
+ function le(v) {
3121
+ return v.map((T) => isString$2(T) || isNumber$1(T) || isBoolean$1(T) ? createTextNode(String(T)) : T);
3122
3122
  }
3123
3123
  const ce = {
3124
3124
  normalize: le,
3125
- interpolate: (P) => P,
3125
+ interpolate: (v) => v,
3126
3126
  type: "vnode"
3127
3127
  };
3128
- function J(...P) {
3128
+ function J(...v) {
3129
3129
  return j(
3130
3130
  (T) => {
3131
3131
  let A;
3132
3132
  const x = T;
3133
3133
  try {
3134
- x.processor = ce, A = Reflect.apply(translate, null, [x, ...P]);
3134
+ x.processor = ce, A = Reflect.apply(translate, null, [x, ...v]);
3135
3135
  } finally {
3136
3136
  x.processor = null;
3137
3137
  }
3138
3138
  return A;
3139
3139
  },
3140
- () => parseTranslateArgs(...P),
3140
+ () => parseTranslateArgs(...v),
3141
3141
  "translate",
3142
3142
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3143
- (T) => T[TranslateVNodeSymbol](...P),
3143
+ (T) => T[TranslateVNodeSymbol](...v),
3144
3144
  (T) => [createTextNode(T)],
3145
3145
  (T) => isArray$1(T)
3146
3146
  );
3147
3147
  }
3148
- function Q(...P) {
3148
+ function Q(...v) {
3149
3149
  return j(
3150
- (T) => Reflect.apply(number, null, [T, ...P]),
3151
- () => parseNumberArgs(...P),
3150
+ (T) => Reflect.apply(number, null, [T, ...v]),
3151
+ () => parseNumberArgs(...v),
3152
3152
  "number format",
3153
3153
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3154
- (T) => T[NumberPartsSymbol](...P),
3154
+ (T) => T[NumberPartsSymbol](...v),
3155
3155
  NOOP_RETURN_ARRAY,
3156
3156
  (T) => isString$2(T) || isArray$1(T)
3157
3157
  );
3158
3158
  }
3159
- function q(...P) {
3159
+ function q(...v) {
3160
3160
  return j(
3161
- (T) => Reflect.apply(datetime, null, [T, ...P]),
3162
- () => parseDateTimeArgs(...P),
3161
+ (T) => Reflect.apply(datetime, null, [T, ...v]),
3162
+ () => parseDateTimeArgs(...v),
3163
3163
  "datetime format",
3164
3164
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3165
- (T) => T[DatetimePartsSymbol](...P),
3165
+ (T) => T[DatetimePartsSymbol](...v),
3166
3166
  NOOP_RETURN_ARRAY,
3167
3167
  (T) => isString$2(T) || isArray$1(T)
3168
3168
  );
3169
3169
  }
3170
- function z(P) {
3171
- N = P, k.pluralRules = N;
3170
+ function z(v) {
3171
+ N = v, k.pluralRules = N;
3172
3172
  }
3173
- function ue(P, T) {
3173
+ function ue(v, T) {
3174
3174
  return j(() => {
3175
- if (!P)
3175
+ if (!v)
3176
3176
  return !1;
3177
- const A = isString$2(T) ? T : r.value, x = w(A), K = k.messageResolver(x, P);
3177
+ const A = isString$2(T) ? T : r.value, x = w(A), K = k.messageResolver(x, v);
3178
3178
  return isMessageAST(K) || isMessageFunction(K) || isString$2(K);
3179
- }, () => [P], "translate exists", (A) => Reflect.apply(A.te, A, [P, T]), NOOP_RETURN_FALSE, (A) => isBoolean$1(A));
3179
+ }, () => [v], "translate exists", (A) => Reflect.apply(A.te, A, [v, T]), NOOP_RETURN_FALSE, (A) => isBoolean$1(A));
3180
3180
  }
3181
- function b(P) {
3181
+ function _(v) {
3182
3182
  let T = null;
3183
3183
  const A = fallbackWithLocaleChain(k, l.value, r.value);
3184
3184
  for (let x = 0; x < A.length; x++) {
3185
- const K = c.value[A[x]] || {}, fe = k.messageResolver(K, P);
3185
+ const K = c.value[A[x]] || {}, fe = k.messageResolver(K, v);
3186
3186
  if (fe != null) {
3187
3187
  T = fe;
3188
3188
  break;
@@ -3190,51 +3190,51 @@ function createComposer(e = {}, t) {
3190
3190
  }
3191
3191
  return T;
3192
3192
  }
3193
- function g(P) {
3194
- const T = b(P);
3195
- return T ?? (o ? o.tm(P) || {} : {});
3193
+ function g(v) {
3194
+ const T = _(v);
3195
+ return T ?? (o ? o.tm(v) || {} : {});
3196
3196
  }
3197
- function w(P) {
3198
- return c.value[P] || {};
3197
+ function w(v) {
3198
+ return c.value[v] || {};
3199
3199
  }
3200
- function O(P, T) {
3200
+ function O(v, T) {
3201
3201
  if (i) {
3202
- const A = { [P]: T };
3202
+ const A = { [v]: T };
3203
3203
  for (const x in A)
3204
3204
  hasOwn(A, x) && handleFlatJson(A[x]);
3205
- T = A[P];
3205
+ T = A[v];
3206
3206
  }
3207
- c.value[P] = T, k.messages = c.value;
3207
+ c.value[v] = T, k.messages = c.value;
3208
3208
  }
3209
- function R(P, T) {
3210
- c.value[P] = c.value[P] || {};
3211
- const A = { [P]: T };
3209
+ function R(v, T) {
3210
+ c.value[v] = c.value[v] || {};
3211
+ const A = { [v]: T };
3212
3212
  for (const x in A)
3213
3213
  hasOwn(A, x) && handleFlatJson(A[x]);
3214
- T = A[P], deepCopy(T, c.value[P]), k.messages = c.value;
3214
+ T = A[v], deepCopy(T, c.value[v]), k.messages = c.value;
3215
3215
  }
3216
- function L(P) {
3217
- return u.value[P] || {};
3216
+ function L(v) {
3217
+ return u.value[v] || {};
3218
3218
  }
3219
- function G(P, T) {
3220
- u.value[P] = T, k.datetimeFormats = u.value, clearDateTimeFormat(k, P, T);
3219
+ function G(v, T) {
3220
+ u.value[v] = T, k.datetimeFormats = u.value, clearDateTimeFormat(k, v, T);
3221
3221
  }
3222
- function H(P, T) {
3223
- u.value[P] = assign$2(u.value[P] || {}, T), k.datetimeFormats = u.value, clearDateTimeFormat(k, P, T);
3222
+ function H(v, T) {
3223
+ u.value[v] = assign$2(u.value[v] || {}, T), k.datetimeFormats = u.value, clearDateTimeFormat(k, v, T);
3224
3224
  }
3225
- function pe(P) {
3226
- return d.value[P] || {};
3225
+ function pe(v) {
3226
+ return d.value[v] || {};
3227
3227
  }
3228
- function he(P, T) {
3229
- d.value[P] = T, k.numberFormats = d.value, clearNumberFormat(k, P, T);
3228
+ function he(v, T) {
3229
+ d.value[v] = T, k.numberFormats = d.value, clearNumberFormat(k, v, T);
3230
3230
  }
3231
- function ge(P, T) {
3232
- d.value[P] = assign$2(d.value[P] || {}, T), k.numberFormats = d.value, clearNumberFormat(k, P, T);
3231
+ function ge(v, T) {
3232
+ d.value[v] = assign$2(d.value[v] || {}, T), k.numberFormats = d.value, clearNumberFormat(k, v, T);
3233
3233
  }
3234
- composerID++, o && inBrowser && (watch(o.locale, (P) => {
3235
- a && (r.value = P, k.locale = P, updateFallbackLocale(k, r.value, l.value));
3236
- }), watch(o.fallbackLocale, (P) => {
3237
- a && (l.value = P, k.fallbackLocale = P, updateFallbackLocale(k, r.value, l.value));
3234
+ composerID++, o && inBrowser && (watch(o.locale, (v) => {
3235
+ a && (r.value = v, k.locale = v, updateFallbackLocale(k, r.value, l.value));
3236
+ }), watch(o.fallbackLocale, (v) => {
3237
+ a && (l.value = v, k.fallbackLocale = v, updateFallbackLocale(k, r.value, l.value));
3238
3238
  }));
3239
3239
  const V = {
3240
3240
  id: composerID,
@@ -3243,8 +3243,8 @@ function createComposer(e = {}, t) {
3243
3243
  get inheritLocale() {
3244
3244
  return a;
3245
3245
  },
3246
- set inheritLocale(P) {
3247
- a = P, P && o && (r.value = o.locale.value, l.value = o.fallbackLocale.value, updateFallbackLocale(k, r.value, l.value));
3246
+ set inheritLocale(v) {
3247
+ a = v, v && o && (r.value = o.locale.value, l.value = o.fallbackLocale.value, updateFallbackLocale(k, r.value, l.value));
3248
3248
  },
3249
3249
  get availableLocales() {
3250
3250
  return Object.keys(c.value).sort();
@@ -3262,38 +3262,38 @@ function createComposer(e = {}, t) {
3262
3262
  get missingWarn() {
3263
3263
  return m;
3264
3264
  },
3265
- set missingWarn(P) {
3266
- m = P, k.missingWarn = m;
3265
+ set missingWarn(v) {
3266
+ m = v, k.missingWarn = m;
3267
3267
  },
3268
3268
  get fallbackWarn() {
3269
3269
  return p;
3270
3270
  },
3271
- set fallbackWarn(P) {
3272
- p = P, k.fallbackWarn = p;
3271
+ set fallbackWarn(v) {
3272
+ p = v, k.fallbackWarn = p;
3273
3273
  },
3274
3274
  get fallbackRoot() {
3275
3275
  return f;
3276
3276
  },
3277
- set fallbackRoot(P) {
3278
- f = P;
3277
+ set fallbackRoot(v) {
3278
+ f = v;
3279
3279
  },
3280
3280
  get fallbackFormat() {
3281
- return _;
3281
+ return b;
3282
3282
  },
3283
- set fallbackFormat(P) {
3284
- _ = P, k.fallbackFormat = _;
3283
+ set fallbackFormat(v) {
3284
+ b = v, k.fallbackFormat = b;
3285
3285
  },
3286
3286
  get warnHtmlMessage() {
3287
- return v;
3287
+ return P;
3288
3288
  },
3289
- set warnHtmlMessage(P) {
3290
- v = P, k.warnHtmlMessage = P;
3289
+ set warnHtmlMessage(v) {
3290
+ P = v, k.warnHtmlMessage = v;
3291
3291
  },
3292
3292
  get escapeParameter() {
3293
3293
  return E;
3294
3294
  },
3295
- set escapeParameter(P) {
3296
- E = P, k.escapeParameter = P;
3295
+ set escapeParameter(v) {
3296
+ E = v, k.escapeParameter = v;
3297
3297
  },
3298
3298
  t: te,
3299
3299
  getLocaleMessage: w,
@@ -3305,8 +3305,8 @@ function createComposer(e = {}, t) {
3305
3305
  setMissingHandler: ie,
3306
3306
  [SetPluralRulesSymbol]: z
3307
3307
  };
3308
- return V.datetimeFormats = U, V.numberFormats = X, V.rt = ae, V.te = ue, V.tm = g, V.d = re, V.n = oe, V.getDateTimeFormat = L, V.setDateTimeFormat = G, V.mergeDateTimeFormat = H, V.getNumberFormat = pe, V.setNumberFormat = he, V.mergeNumberFormat = ge, V[InejctWithOptionSymbol] = s, V[TranslateVNodeSymbol] = J, V[DatetimePartsSymbol] = q, V[NumberPartsSymbol] = Q, process.env.NODE_ENV !== "production" && (V[EnableEmitter] = (P) => {
3309
- k.__v_emitter = P;
3308
+ return V.datetimeFormats = U, V.numberFormats = X, V.rt = ae, V.te = ue, V.tm = g, V.d = re, V.n = oe, V.getDateTimeFormat = L, V.setDateTimeFormat = G, V.mergeDateTimeFormat = H, V.getNumberFormat = pe, V.setNumberFormat = he, V.mergeNumberFormat = ge, V[InejctWithOptionSymbol] = s, V[TranslateVNodeSymbol] = J, V[DatetimePartsSymbol] = q, V[NumberPartsSymbol] = Q, process.env.NODE_ENV !== "production" && (V[EnableEmitter] = (v) => {
3309
+ k.__v_emitter = v;
3310
3310
  }, V[DisableEmitter] = () => {
3311
3311
  k.__v_emitter = void 0;
3312
3312
  }), V;
@@ -3322,14 +3322,14 @@ function convertComposerOptions(e) {
3322
3322
  return assign$2(F, I[D]), k;
3323
3323
  }, f || {});
3324
3324
  }
3325
- const { __i18n: _, __root: y, __injectWithOption: C } = e, S = e.datetimeFormats, v = e.numberFormats, E = e.flatJson;
3325
+ const { __i18n: b, __root: S, __injectWithOption: y } = e, C = e.datetimeFormats, P = e.numberFormats, E = e.flatJson;
3326
3326
  return {
3327
3327
  locale: t,
3328
3328
  fallbackLocale: o,
3329
3329
  messages: f,
3330
3330
  flatJson: E,
3331
- datetimeFormats: S,
3332
- numberFormats: v,
3331
+ datetimeFormats: C,
3332
+ numberFormats: P,
3333
3333
  missing: s,
3334
3334
  missingWarn: n,
3335
3335
  fallbackWarn: i,
@@ -3342,9 +3342,9 @@ function convertComposerOptions(e) {
3342
3342
  escapeParameter: m,
3343
3343
  messageResolver: e.messageResolver,
3344
3344
  inheritLocale: p,
3345
- __i18n: _,
3346
- __root: y,
3347
- __injectWithOption: C
3345
+ __i18n: b,
3346
+ __root: S,
3347
+ __injectWithOption: y
3348
3348
  };
3349
3349
  }
3350
3350
  function createVueI18n(e = {}, t) {
@@ -3634,8 +3634,8 @@ function renderFormatter(e, t, o, s) {
3634
3634
  const l = s(e.value, a, r);
3635
3635
  let c = [a.key];
3636
3636
  isArray$1(l) ? c = l.map((m, p) => {
3637
- const f = n[m.type], _ = f ? f({ [m.type]: m.value, index: p, parts: l }) : [m.value];
3638
- return isVNode(_) && (_[0].key = `${m.type}-${p}`), _;
3637
+ const f = n[m.type], b = f ? f({ [m.type]: m.value, index: p, parts: l }) : [m.value];
3638
+ return isVNode(b) && (b[0].key = `${m.type}-${p}`), b;
3639
3639
  }) : isString$2(l) && (c = [l]);
3640
3640
  const u = assign$2({}, i), d = isString$2(e.tag) || isObject$2(e.tag) ? e.tag : getFragmentableTag();
3641
3641
  return h(d, u, c);
@@ -4115,26 +4115,26 @@ function createI18n(e = {}, t) {
4115
4115
  // install plugin
4116
4116
  async install(p, ...f) {
4117
4117
  if (process.env.NODE_ENV !== "production" && (p.__VUE_I18N__ = m), p.__VUE_I18N_SYMBOL__ = l, p.provide(p.__VUE_I18N_SYMBOL__, m), isPlainObject$1(f[0])) {
4118
- const C = f[0];
4119
- m.__composerExtend = C.__composerExtend, m.__vueI18nExtend = C.__vueI18nExtend;
4118
+ const y = f[0];
4119
+ m.__composerExtend = y.__composerExtend, m.__vueI18nExtend = y.__vueI18nExtend;
4120
4120
  }
4121
- let _ = null;
4122
- !o && s && (_ = injectGlobalFields(p, m.global)), __VUE_I18N_FULL_INSTALL__ && apply(p, m, ...f), __VUE_I18N_LEGACY_API__ && o && p.mixin(defineMixin(r, r.__composer, m));
4123
- const y = p.unmount;
4121
+ let b = null;
4122
+ !o && s && (b = injectGlobalFields(p, m.global)), __VUE_I18N_FULL_INSTALL__ && apply(p, m, ...f), __VUE_I18N_LEGACY_API__ && o && p.mixin(defineMixin(r, r.__composer, m));
4123
+ const S = p.unmount;
4124
4124
  if (p.unmount = () => {
4125
- _ && _(), m.dispose(), y();
4125
+ b && b(), m.dispose(), S();
4126
4126
  }, process.env.NODE_ENV !== "production") {
4127
4127
  if (!await enableDevTools(p, m))
4128
4128
  throw createI18nError(I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
4129
- const S = createEmitter();
4129
+ const C = createEmitter();
4130
4130
  if (o) {
4131
- const v = r;
4132
- v.__enableEmitter && v.__enableEmitter(S);
4131
+ const P = r;
4132
+ P.__enableEmitter && P.__enableEmitter(C);
4133
4133
  } else {
4134
- const v = r;
4135
- v[EnableEmitter] && v[EnableEmitter](S);
4134
+ const P = r;
4135
+ P[EnableEmitter] && P[EnableEmitter](C);
4136
4136
  }
4137
- S.on("*", addTimelineEvent);
4137
+ C.on("*", addTimelineEvent);
4138
4138
  }
4139
4139
  },
4140
4140
  // global accessor
@@ -4251,7 +4251,7 @@ function useI18nForLegacy(e, t, o, s = {}) {
4251
4251
  ), l = ref(
4252
4252
  // prettier-ignore
4253
4253
  !n || a ? o.fallbackLocale.value : isString$2(s.fallbackLocale) || isArray$1(s.fallbackLocale) || isPlainObject$1(s.fallbackLocale) || s.fallbackLocale === !1 ? s.fallbackLocale : r.value
4254
- ), c = ref(getLocaleMessages(r.value, s)), u = ref(isPlainObject$1(s.datetimeFormats) ? s.datetimeFormats : { [r.value]: {} }), d = ref(isPlainObject$1(s.numberFormats) ? s.numberFormats : { [r.value]: {} }), m = n ? o.missingWarn : isBoolean$1(s.missingWarn) || isRegExp$1(s.missingWarn) ? s.missingWarn : !0, p = n ? o.fallbackWarn : isBoolean$1(s.fallbackWarn) || isRegExp$1(s.fallbackWarn) ? s.fallbackWarn : !0, f = n ? o.fallbackRoot : isBoolean$1(s.fallbackRoot) ? s.fallbackRoot : !0, _ = !!s.fallbackFormat, y = isFunction$1(s.missing) ? s.missing : null, C = isFunction$1(s.postTranslation) ? s.postTranslation : null, S = n ? o.warnHtmlMessage : isBoolean$1(s.warnHtmlMessage) ? s.warnHtmlMessage : !0, v = !!s.escapeParameter, E = n ? o.modifiers : isPlainObject$1(s.modifiers) ? s.modifiers : {}, I = s.pluralRules || n && o.pluralRules;
4254
+ ), c = ref(getLocaleMessages(r.value, s)), u = ref(isPlainObject$1(s.datetimeFormats) ? s.datetimeFormats : { [r.value]: {} }), d = ref(isPlainObject$1(s.numberFormats) ? s.numberFormats : { [r.value]: {} }), m = n ? o.missingWarn : isBoolean$1(s.missingWarn) || isRegExp$1(s.missingWarn) ? s.missingWarn : !0, p = n ? o.fallbackWarn : isBoolean$1(s.fallbackWarn) || isRegExp$1(s.fallbackWarn) ? s.fallbackWarn : !0, f = n ? o.fallbackRoot : isBoolean$1(s.fallbackRoot) ? s.fallbackRoot : !0, b = !!s.fallbackFormat, S = isFunction$1(s.missing) ? s.missing : null, y = isFunction$1(s.postTranslation) ? s.postTranslation : null, C = n ? o.warnHtmlMessage : isBoolean$1(s.warnHtmlMessage) ? s.warnHtmlMessage : !0, P = !!s.escapeParameter, E = n ? o.modifiers : isPlainObject$1(s.modifiers) ? s.modifiers : {}, I = s.pluralRules || n && o.pluralRules;
4255
4255
  function N() {
4256
4256
  return [
4257
4257
  r.value,
@@ -4273,13 +4273,13 @@ function useI18nForLegacy(e, t, o, s = {}) {
4273
4273
  }
4274
4274
  }), F = computed(() => i.value ? i.value.messages.value : c.value), M = computed(() => u.value), $ = computed(() => d.value);
4275
4275
  function B() {
4276
- return i.value ? i.value.getPostTranslationHandler() : C;
4276
+ return i.value ? i.value.getPostTranslationHandler() : y;
4277
4277
  }
4278
4278
  function U(g) {
4279
4279
  i.value && i.value.setPostTranslationHandler(g);
4280
4280
  }
4281
4281
  function X() {
4282
- return i.value ? i.value.getMissingHandler() : y;
4282
+ return i.value ? i.value.getMissingHandler() : S;
4283
4283
  }
4284
4284
  function ne(g) {
4285
4285
  i.value && i.value.setMissingHandler(g);
@@ -4378,19 +4378,19 @@ function useI18nForLegacy(e, t, o, s = {}) {
4378
4378
  i.value && (i.value.fallbackRoot = g);
4379
4379
  },
4380
4380
  get fallbackFormat() {
4381
- return i.value ? i.value.fallbackFormat : _;
4381
+ return i.value ? i.value.fallbackFormat : b;
4382
4382
  },
4383
4383
  set fallbackFormat(g) {
4384
4384
  i.value && (i.value.fallbackFormat = g);
4385
4385
  },
4386
4386
  get warnHtmlMessage() {
4387
- return i.value ? i.value.warnHtmlMessage : S;
4387
+ return i.value ? i.value.warnHtmlMessage : C;
4388
4388
  },
4389
4389
  set warnHtmlMessage(g) {
4390
4390
  i.value && (i.value.warnHtmlMessage = g);
4391
4391
  },
4392
4392
  get escapeParameter() {
4393
- return i.value ? i.value.escapeParameter : v;
4393
+ return i.value ? i.value.escapeParameter : P;
4394
4394
  },
4395
4395
  set escapeParameter(g) {
4396
4396
  i.value && (i.value.escapeParameter = g);
@@ -4415,20 +4415,20 @@ function useI18nForLegacy(e, t, o, s = {}) {
4415
4415
  setNumberFormat: q,
4416
4416
  mergeNumberFormat: z
4417
4417
  };
4418
- function b(g) {
4418
+ function _(g) {
4419
4419
  g.locale.value = r.value, g.fallbackLocale.value = l.value, Object.keys(c.value).forEach((w) => {
4420
4420
  g.mergeLocaleMessage(w, c.value[w]);
4421
4421
  }), Object.keys(u.value).forEach((w) => {
4422
4422
  g.mergeDateTimeFormat(w, u.value[w]);
4423
4423
  }), Object.keys(d.value).forEach((w) => {
4424
4424
  g.mergeNumberFormat(w, d.value[w]);
4425
- }), g.escapeParameter = v, g.fallbackFormat = _, g.fallbackRoot = f, g.fallbackWarn = p, g.missingWarn = m, g.warnHtmlMessage = S;
4425
+ }), g.escapeParameter = P, g.fallbackFormat = b, g.fallbackRoot = f, g.fallbackWarn = p, g.missingWarn = m, g.warnHtmlMessage = C;
4426
4426
  }
4427
4427
  return onBeforeMount(() => {
4428
4428
  if (e.proxy == null || e.proxy.$i18n == null)
4429
4429
  throw createI18nError(I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
4430
4430
  const g = i.value = e.proxy.$i18n.__composer;
4431
- t === "global" ? (r.value = g.locale.value, l.value = g.fallbackLocale.value, c.value = g.messages.value, u.value = g.datetimeFormats.value, d.value = g.numberFormats.value) : n && b(g);
4431
+ t === "global" ? (r.value = g.locale.value, l.value = g.fallbackLocale.value, c.value = g.messages.value, u.value = g.datetimeFormats.value, d.value = g.numberFormats.value) : n && _(g);
4432
4432
  }), ue;
4433
4433
  }
4434
4434
  const globalExportProps = [
@@ -4933,8 +4933,8 @@ function toFormData(e, t, o) {
4933
4933
  metaTokens: !0,
4934
4934
  dots: !1,
4935
4935
  indexes: !1
4936
- }, !1, function(_, y) {
4937
- return !utils$1.isUndefined(y[_]);
4936
+ }, !1, function(b, S) {
4937
+ return !utils$1.isUndefined(S[b]);
4938
4938
  });
4939
4939
  const s = o.metaTokens, n = o.visitor || u, i = o.dots, a = o.indexes, l = (o.Blob || typeof Blob < "u" && Blob) && utils$1.isSpecCompliantForm(t);
4940
4940
  if (!utils$1.isFunction(n))
@@ -4948,39 +4948,39 @@ function toFormData(e, t, o) {
4948
4948
  throw new AxiosError("Blob is not supported. Use a Buffer instead.");
4949
4949
  return utils$1.isArrayBuffer(f) || utils$1.isTypedArray(f) ? l && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
4950
4950
  }
4951
- function u(f, _, y) {
4952
- let C = f;
4953
- if (f && !y && typeof f == "object") {
4954
- if (utils$1.endsWith(_, "{}"))
4955
- _ = s ? _ : _.slice(0, -2), f = JSON.stringify(f);
4956
- else if (utils$1.isArray(f) && isFlatArray(f) || (utils$1.isFileList(f) || utils$1.endsWith(_, "[]")) && (C = utils$1.toArray(f)))
4957
- return _ = removeBrackets(_), C.forEach(function(v, E) {
4958
- !(utils$1.isUndefined(v) || v === null) && t.append(
4951
+ function u(f, b, S) {
4952
+ let y = f;
4953
+ if (f && !S && typeof f == "object") {
4954
+ if (utils$1.endsWith(b, "{}"))
4955
+ b = s ? b : b.slice(0, -2), f = JSON.stringify(f);
4956
+ else if (utils$1.isArray(f) && isFlatArray(f) || (utils$1.isFileList(f) || utils$1.endsWith(b, "[]")) && (y = utils$1.toArray(f)))
4957
+ return b = removeBrackets(b), y.forEach(function(P, E) {
4958
+ !(utils$1.isUndefined(P) || P === null) && t.append(
4959
4959
  // eslint-disable-next-line no-nested-ternary
4960
- a === !0 ? renderKey([_], E, i) : a === null ? _ : _ + "[]",
4961
- c(v)
4960
+ a === !0 ? renderKey([b], E, i) : a === null ? b : b + "[]",
4961
+ c(P)
4962
4962
  );
4963
4963
  }), !1;
4964
4964
  }
4965
- return isVisitable(f) ? !0 : (t.append(renderKey(y, _, i), c(f)), !1);
4965
+ return isVisitable(f) ? !0 : (t.append(renderKey(S, b, i), c(f)), !1);
4966
4966
  }
4967
4967
  const d = [], m = Object.assign(predicates, {
4968
4968
  defaultVisitor: u,
4969
4969
  convertValue: c,
4970
4970
  isVisitable
4971
4971
  });
4972
- function p(f, _) {
4972
+ function p(f, b) {
4973
4973
  if (!utils$1.isUndefined(f)) {
4974
4974
  if (d.indexOf(f) !== -1)
4975
- throw Error("Circular reference detected in " + _.join("."));
4976
- d.push(f), utils$1.forEach(f, function(C, S) {
4977
- (!(utils$1.isUndefined(C) || C === null) && n.call(
4975
+ throw Error("Circular reference detected in " + b.join("."));
4976
+ d.push(f), utils$1.forEach(f, function(y, C) {
4977
+ (!(utils$1.isUndefined(y) || y === null) && n.call(
4978
4978
  t,
4979
- C,
4980
- utils$1.isString(S) ? S.trim() : S,
4981
- _,
4979
+ y,
4980
+ utils$1.isString(C) ? C.trim() : C,
4981
+ b,
4982
4982
  m
4983
- )) === !0 && p(C, _ ? _.concat(S) : [S]);
4983
+ )) === !0 && p(y, b ? b.concat(C) : [C]);
4984
4984
  }), d.pop();
4985
4985
  }
4986
4986
  }
@@ -5547,35 +5547,35 @@ const isXHRAdapterSupported = typeof XMLHttpRequest < "u", xhrAdapter = isXHRAda
5547
5547
  if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv)
5548
5548
  i.setContentType(!1);
5549
5549
  else if ((u = i.getContentType()) !== !1) {
5550
- const [_, ...y] = u ? u.split(";").map((C) => C.trim()).filter(Boolean) : [];
5551
- i.setContentType([_ || "multipart/form-data", ...y].join("; "));
5550
+ const [b, ...S] = u ? u.split(";").map((y) => y.trim()).filter(Boolean) : [];
5551
+ i.setContentType([b || "multipart/form-data", ...S].join("; "));
5552
5552
  }
5553
5553
  }
5554
5554
  let d = new XMLHttpRequest();
5555
5555
  if (e.auth) {
5556
- const _ = e.auth.username || "", y = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
5557
- i.set("Authorization", "Basic " + btoa(_ + ":" + y));
5556
+ const b = e.auth.username || "", S = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
5557
+ i.set("Authorization", "Basic " + btoa(b + ":" + S));
5558
5558
  }
5559
5559
  const m = buildFullPath(e.baseURL, e.url);
5560
5560
  d.open(e.method.toUpperCase(), buildURL(m, e.params, e.paramsSerializer), !0), d.timeout = e.timeout;
5561
5561
  function p() {
5562
5562
  if (!d)
5563
5563
  return;
5564
- const _ = AxiosHeaders$1.from(
5564
+ const b = AxiosHeaders$1.from(
5565
5565
  "getAllResponseHeaders" in d && d.getAllResponseHeaders()
5566
- ), C = {
5566
+ ), y = {
5567
5567
  data: !a || a === "text" || a === "json" ? d.responseText : d.response,
5568
5568
  status: d.status,
5569
5569
  statusText: d.statusText,
5570
- headers: _,
5570
+ headers: b,
5571
5571
  config: e,
5572
5572
  request: d
5573
5573
  };
5574
- settle(function(v) {
5575
- o(v), c();
5576
- }, function(v) {
5577
- s(v), c();
5578
- }, C), d = null;
5574
+ settle(function(P) {
5575
+ o(P), c();
5576
+ }, function(P) {
5577
+ s(P), c();
5578
+ }, y), d = null;
5579
5579
  }
5580
5580
  if ("onloadend" in d ? d.onloadend = p : d.onreadystatechange = function() {
5581
5581
  !d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(p);
@@ -5584,22 +5584,22 @@ const isXHRAdapterSupported = typeof XMLHttpRequest < "u", xhrAdapter = isXHRAda
5584
5584
  }, d.onerror = function() {
5585
5585
  s(new AxiosError("Network Error", AxiosError.ERR_NETWORK, e, d)), d = null;
5586
5586
  }, d.ontimeout = function() {
5587
- let y = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
5588
- const C = e.transitional || transitionalDefaults;
5589
- e.timeoutErrorMessage && (y = e.timeoutErrorMessage), s(new AxiosError(
5590
- y,
5591
- C.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
5587
+ let S = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
5588
+ const y = e.transitional || transitionalDefaults;
5589
+ e.timeoutErrorMessage && (S = e.timeoutErrorMessage), s(new AxiosError(
5590
+ S,
5591
+ y.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
5592
5592
  e,
5593
5593
  d
5594
5594
  )), d = null;
5595
5595
  }, platform.hasStandardBrowserEnv && (r && utils$1.isFunction(r) && (r = r(e)), r || r !== !1 && isURLSameOrigin(m))) {
5596
- const _ = e.xsrfHeaderName && e.xsrfCookieName && cookies.read(e.xsrfCookieName);
5597
- _ && i.set(e.xsrfHeaderName, _);
5596
+ const b = e.xsrfHeaderName && e.xsrfCookieName && cookies.read(e.xsrfCookieName);
5597
+ b && i.set(e.xsrfHeaderName, b);
5598
5598
  }
5599
- n === void 0 && i.setContentType(null), "setRequestHeader" in d && utils$1.forEach(i.toJSON(), function(y, C) {
5600
- d.setRequestHeader(C, y);
5601
- }), utils$1.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), a && a !== "json" && (d.responseType = e.responseType), typeof e.onDownloadProgress == "function" && d.addEventListener("progress", progressEventReducer(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", progressEventReducer(e.onUploadProgress)), (e.cancelToken || e.signal) && (l = (_) => {
5602
- d && (s(!_ || _.type ? new CanceledError(null, e, d) : _), d.abort(), d = null);
5599
+ n === void 0 && i.setContentType(null), "setRequestHeader" in d && utils$1.forEach(i.toJSON(), function(S, y) {
5600
+ d.setRequestHeader(y, S);
5601
+ }), utils$1.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), a && a !== "json" && (d.responseType = e.responseType), typeof e.onDownloadProgress == "function" && d.addEventListener("progress", progressEventReducer(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", progressEventReducer(e.onUploadProgress)), (e.cancelToken || e.signal) && (l = (b) => {
5602
+ d && (s(!b || b.type ? new CanceledError(null, e, d) : b), d.abort(), d = null);
5603
5603
  }, e.cancelToken && e.cancelToken.subscribe(l), e.signal && (e.signal.aborted ? l() : e.signal.addEventListener("abort", l)));
5604
5604
  const f = parseProtocol(m);
5605
5605
  if (f && platform.protocols.indexOf(f) === -1) {
@@ -5827,12 +5827,12 @@ class Axios {
5827
5827
  ), o.headers = AxiosHeaders$1.concat(a, i);
5828
5828
  const r = [];
5829
5829
  let l = !0;
5830
- this.interceptors.request.forEach(function(_) {
5831
- typeof _.runWhen == "function" && _.runWhen(o) === !1 || (l = l && _.synchronous, r.unshift(_.fulfilled, _.rejected));
5830
+ this.interceptors.request.forEach(function(b) {
5831
+ typeof b.runWhen == "function" && b.runWhen(o) === !1 || (l = l && b.synchronous, r.unshift(b.fulfilled, b.rejected));
5832
5832
  });
5833
5833
  const c = [];
5834
- this.interceptors.response.forEach(function(_) {
5835
- c.push(_.fulfilled, _.rejected);
5834
+ this.interceptors.response.forEach(function(b) {
5835
+ c.push(b.fulfilled, b.rejected);
5836
5836
  });
5837
5837
  let u, d = 0, m;
5838
5838
  if (!l) {
@@ -5844,11 +5844,11 @@ class Axios {
5844
5844
  m = r.length;
5845
5845
  let p = o;
5846
5846
  for (d = 0; d < m; ) {
5847
- const f = r[d++], _ = r[d++];
5847
+ const f = r[d++], b = r[d++];
5848
5848
  try {
5849
5849
  p = f(p);
5850
- } catch (y) {
5851
- _.call(this, y);
5850
+ } catch (S) {
5851
+ b.call(this, S);
5852
5852
  break;
5853
5853
  }
5854
5854
  }
@@ -6065,102 +6065,78 @@ axios.getAdapter = adapters.getAdapter;
6065
6065
  axios.HttpStatusCode = HttpStatusCode$1;
6066
6066
  axios.default = axios;
6067
6067
  const axios$1 = axios;
6068
- function getDefaultExportFromCjs(e) {
6069
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6068
+ /*! js-cookie v3.0.5 | MIT */
6069
+ function assign(e) {
6070
+ for (var t = 1; t < arguments.length; t++) {
6071
+ var o = arguments[t];
6072
+ for (var s in o)
6073
+ e[s] = o[s];
6074
+ }
6075
+ return e;
6070
6076
  }
6071
- var js_cookie = { exports: {} };
6072
- /*!
6073
- * JavaScript Cookie v2.2.1
6074
- * https://github.com/js-cookie/js-cookie
6075
- *
6076
- * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
6077
- * Released under the MIT license
6078
- */
6079
- (function(e, t) {
6080
- (function(o) {
6081
- var s;
6082
- if (e.exports = o(), s = !0, !s) {
6083
- var n = window.Cookies, i = window.Cookies = o();
6084
- i.noConflict = function() {
6085
- return window.Cookies = n, i;
6086
- };
6087
- }
6088
- })(function() {
6089
- function o() {
6090
- for (var i = 0, a = {}; i < arguments.length; i++) {
6091
- var r = arguments[i];
6092
- for (var l in r)
6093
- a[l] = r[l];
6094
- }
6095
- return a;
6096
- }
6097
- function s(i) {
6098
- return i.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
6077
+ var defaultConverter = {
6078
+ read: function(e) {
6079
+ return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
6080
+ },
6081
+ write: function(e) {
6082
+ return encodeURIComponent(e).replace(
6083
+ /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
6084
+ decodeURIComponent
6085
+ );
6086
+ }
6087
+ };
6088
+ function init(e, t) {
6089
+ function o(n, i, a) {
6090
+ if (!(typeof document > "u")) {
6091
+ a = assign({}, t, a), typeof a.expires == "number" && (a.expires = new Date(Date.now() + a.expires * 864e5)), a.expires && (a.expires = a.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
6092
+ var r = "";
6093
+ for (var l in a)
6094
+ a[l] && (r += "; " + l, a[l] !== !0 && (r += "=" + a[l].split(";")[0]));
6095
+ return document.cookie = n + "=" + e.write(i, n) + r;
6099
6096
  }
6100
- function n(i) {
6101
- function a() {
6102
- }
6103
- function r(c, u, d) {
6104
- if (!(typeof document > "u")) {
6105
- d = o({
6106
- path: "/"
6107
- }, a.defaults, d), typeof d.expires == "number" && (d.expires = new Date(/* @__PURE__ */ new Date() * 1 + d.expires * 864e5)), d.expires = d.expires ? d.expires.toUTCString() : "";
6108
- try {
6109
- var m = JSON.stringify(u);
6110
- /^[\{\[]/.test(m) && (u = m);
6111
- } catch {
6112
- }
6113
- u = i.write ? i.write(u, c) : encodeURIComponent(String(u)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), c = encodeURIComponent(String(c)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape);
6114
- var p = "";
6115
- for (var f in d)
6116
- d[f] && (p += "; " + f, d[f] !== !0 && (p += "=" + d[f].split(";")[0]));
6117
- return document.cookie = c + "=" + u + p;
6118
- }
6119
- }
6120
- function l(c, u) {
6121
- if (!(typeof document > "u")) {
6122
- for (var d = {}, m = document.cookie ? document.cookie.split("; ") : [], p = 0; p < m.length; p++) {
6123
- var f = m[p].split("="), _ = f.slice(1).join("=");
6124
- !u && _.charAt(0) === '"' && (_ = _.slice(1, -1));
6125
- try {
6126
- var y = s(f[0]);
6127
- if (_ = (i.read || i)(_, y) || s(_), u)
6128
- try {
6129
- _ = JSON.parse(_);
6130
- } catch {
6131
- }
6132
- if (d[y] = _, c === y)
6133
- break;
6134
- } catch {
6135
- }
6136
- }
6137
- return c ? d[c] : d;
6097
+ }
6098
+ function s(n) {
6099
+ if (!(typeof document > "u" || arguments.length && !n)) {
6100
+ for (var i = document.cookie ? document.cookie.split("; ") : [], a = {}, r = 0; r < i.length; r++) {
6101
+ var l = i[r].split("="), c = l.slice(1).join("=");
6102
+ try {
6103
+ var u = decodeURIComponent(l[0]);
6104
+ if (a[u] = e.read(c, u), n === u)
6105
+ break;
6106
+ } catch {
6138
6107
  }
6139
6108
  }
6140
- return a.set = r, a.get = function(c) {
6141
- return l(
6142
- c,
6143
- !1
6144
- /* read as raw */
6145
- );
6146
- }, a.getJSON = function(c) {
6147
- return l(
6148
- c,
6149
- !0
6150
- /* read as json */
6109
+ return n ? a[n] : a;
6110
+ }
6111
+ }
6112
+ return Object.create(
6113
+ {
6114
+ set: o,
6115
+ get: s,
6116
+ remove: function(n, i) {
6117
+ o(
6118
+ n,
6119
+ "",
6120
+ assign({}, i, {
6121
+ expires: -1
6122
+ })
6151
6123
  );
6152
- }, a.remove = function(c, u) {
6153
- r(c, "", o(u, {
6154
- expires: -1
6155
- }));
6156
- }, a.defaults = {}, a.withConverter = n, a;
6124
+ },
6125
+ withAttributes: function(n) {
6126
+ return init(this.converter, assign({}, this.attributes, n));
6127
+ },
6128
+ withConverter: function(n) {
6129
+ return init(assign({}, this.converter, n), this.attributes);
6130
+ }
6131
+ },
6132
+ {
6133
+ attributes: { value: Object.freeze(t) },
6134
+ converter: { value: Object.freeze(e) }
6157
6135
  }
6158
- return n(function() {
6159
- });
6160
- });
6161
- })(js_cookie);
6162
- var js_cookieExports = js_cookie.exports;
6163
- const Cookies = /* @__PURE__ */ getDefaultExportFromCjs(js_cookieExports), store = /* @__PURE__ */ new Map(), en = {
6136
+ );
6137
+ }
6138
+ var api$1 = init(defaultConverter, { path: "/" });
6139
+ const store = /* @__PURE__ */ new Map(), en = {
6164
6140
  imatrixUIPublicModel: {
6165
6141
  sure: "Sure",
6166
6142
  cancel: "Cancel",
@@ -6202,7 +6178,10 @@ const Cookies = /* @__PURE__ */ getDefaultExportFromCjs(js_cookieExports), store
6202
6178
  isNull: "Is Null",
6203
6179
  isNotNull: "Is Not Null",
6204
6180
  previewImage: "Preview image",
6205
- fullScreen: "Full Screen"
6181
+ fullScreen: "Full Screen",
6182
+ forbidden: "forbidden",
6183
+ startUsing: "Start Using",
6184
+ systemCode: "System Code"
6206
6185
  },
6207
6186
  imatrixUIMessage: {
6208
6187
  whetherToConfirmDeletion: "Whether To Confirm Deletion",
@@ -6305,7 +6284,8 @@ const Cookies = /* @__PURE__ */ getDefaultExportFromCjs(js_cookieExports), store
6305
6284
  branch: "Branch",
6306
6285
  removeUser: "Remove User",
6307
6286
  email: "Email",
6308
- loginName: "Login Name"
6287
+ loginName: "Login Name",
6288
+ superiorDeptNameFullPath: "Department full path"
6309
6289
  },
6310
6290
  // 工作组树
6311
6291
  workgroupTree: {
@@ -6351,34 +6331,34 @@ const Cookies = /* @__PURE__ */ getDefaultExportFromCjs(js_cookieExports), store
6351
6331
  processEnd: "Process End",
6352
6332
  process_start: "[{1}] process start",
6353
6333
  prcoess_end: "[{1}] process End",
6354
- force_end_process: "{1}forced to end the process, and the task of [{2}] was canceled",
6355
- history_jump: "Process {3} to [{1}], [{2}] task cancelled",
6356
- history_back: "{1} returned to task,process returned to [{2}]",
6357
- history_removesign: "{1} minus [{2}]",
6358
- history_changetransactor_and_delegate: "{1} changed the handler [{2}] to [{3}], [{4}] delegated the task to [{5}]",
6359
- history_changetransactor: "{1} changed handler [{2}] to [{3}]",
6360
- history_addsign: "{1} sign [{2}]",
6361
- history_addtransactor: "{1} add handler [{2}]",
6362
- history_removetransactor: "{1} decrease handler [{2}]",
6363
- history_delegate_and_assign: "{1} assigned tasks to [{2}], [{3}] delegated tasks to [{4}]",
6364
- history_assign: "{1} assigned task to [{2}]",
6365
- transfer: "{1} transferred to [{2}]",
6366
- history_complete_transfer: "{1} execute [{2}] operation and canceled the task of other receivers [{3}]",
6367
- history_delegate_receive: "{1} retracts the task entrusted to [{2}]",
6368
- history_delegate: "{1} has delegated task [{2}] to [{3}]",
6369
- history_quit_transfer: "{1} Resignation, has transferred task [{2}] to [{3}",
6370
- history_change_job_transfer: "{1} Change job,has transferred task [{2}] to [{3}",
6371
- commonButtonOperation: "{1} execute [{2}] operation",
6372
- history_draw_task: "{1} received the task and cancelled the task of the candidate [{2}]",
6373
- history_abandon_draw: "{1} gives up the task and restores the task of candidate [{2}]",
6374
- create_copy_task: "{1} The task was copied to [{2}",
6334
+ force_end_process: "{key_1}forced to end the process, and the task of [{key_2}] was canceled",
6335
+ history_jump: "Process {key_3} to [{key_1}], [{key_2}] task cancelled",
6336
+ history_back: "{key_1} returned to task,process returned to [{key_2}]",
6337
+ history_removesign: "{key_1} minus [{key_2}]",
6338
+ history_changetransactor_and_delegate: "{key_1} changed the handler [{key_2}] to [{key_3}], [{key_4}] delegated the task to [{key_5}]",
6339
+ history_changetransactor: "{key_1} changed handler [{key_2}] to [{key_3}]",
6340
+ history_addsign: "{key_1} sign [{key_2}]",
6341
+ history_addtransactor: "{key_1} add handler [{key_2}]",
6342
+ history_removetransactor: "{key_1} decrease handler [{key_2}]",
6343
+ history_delegate_and_assign: "{key_1} assigned tasks to [{key_2}], [{key_3}] delegated tasks to [{key_4}]",
6344
+ history_assign: "{key_1} assigned task to [{key_2}]",
6345
+ transfer: "{key_1} transferred to [{key_2}]",
6346
+ history_complete_transfer: "{key_1} execute [{key_2}] operation and canceled the task of other receivers [{key_3}]",
6347
+ history_delegate_receive: "{key_1} retracts the task entrusted to [{key_2}]",
6348
+ history_delegate: "{key_1} has delegated task [{key_2}] to [{key_3}]",
6349
+ history_quit_transfer: "{key_1} Resignation, has transferred task [{key_2}] to [{key_3}",
6350
+ history_change_job_transfer: "{key_1} Change job,has transferred task [{key_2}] to [{key_3}",
6351
+ commonButtonOperation: "{key_1} execute [{key_2}] operation",
6352
+ history_draw_task: "{key_1} received the task and cancelled the task of the candidate [{key_2}]",
6353
+ history_abandon_draw: "{key_1} gives up the task and restores the task of candidate [{key_2}]",
6354
+ create_copy_task: "{key_1} The task was copied to [{key_2}",
6375
6355
  toDoText: "Todo",
6376
6356
  operator: "Operator",
6377
6357
  operatorLg: "Operator Login Name",
6378
6358
  operatorDept: "Operator Dept",
6379
6359
  operationTime: "Operation Time",
6380
- history_draw_dept_task: "{1} Received tasks from department [{2}]",
6381
- history_abandon_draw_dept_task: "{1} Abandon the task of receiving department [{2}]"
6360
+ history_draw_dept_task: "{key_1} Received tasks from department [{key_2}]",
6361
+ history_abandon_draw_dept_task: "{key_1} Abandon the task of receiving department [{key_2}]"
6382
6362
  },
6383
6363
  gateway: {
6384
6364
  timeout: "Interface call timeout",
@@ -6409,6 +6389,9 @@ const Cookies = /* @__PURE__ */ getDefaultExportFromCjs(js_cookieExports), store
6409
6389
  quarter: "quarter",
6410
6390
  auxiliary: "auxiliary word for ordinal numbers",
6411
6391
  week: "week"
6392
+ },
6393
+ imatrixUIPromptMessage: {
6394
+ NoContent: "No content"
6412
6395
  }
6413
6396
  }, cn = {
6414
6397
  imatrixUIPublicModel: {
@@ -6452,7 +6435,10 @@ const Cookies = /* @__PURE__ */ getDefaultExportFromCjs(js_cookieExports), store
6452
6435
  isNull: "等于Null",
6453
6436
  isNotNull: "不等于Null",
6454
6437
  previewImage: "预览图片",
6455
- fullScreen: "全屏"
6438
+ fullScreen: "全屏",
6439
+ forbidden: "禁用",
6440
+ startUsing: "启用",
6441
+ systemCode: "系统编码"
6456
6442
  },
6457
6443
  imatrixUIMessage: {
6458
6444
  whetherToConfirmDeletion: "是否确认删除",
@@ -6558,7 +6544,8 @@ const Cookies = /* @__PURE__ */ getDefaultExportFromCjs(js_cookieExports), store
6558
6544
  branch: "所属分支",
6559
6545
  removeUser: "移除用户",
6560
6546
  email: "邮箱",
6561
- loginName: "登录名"
6547
+ loginName: "登录名",
6548
+ superiorDeptNameFullPath: "组织全路径"
6562
6549
  },
6563
6550
  // 工作组树
6564
6551
  workgroupTree: {
@@ -6602,36 +6589,36 @@ const Cookies = /* @__PURE__ */ getDefaultExportFromCjs(js_cookieExports), store
6602
6589
  opinion: "办理意见",
6603
6590
  processStart: "流程开始",
6604
6591
  processEnd: "流程结束",
6605
- process_start: "[{1}]流程开始",
6606
- prcoess_end: "[{1}]流程结束",
6607
- force_end_process: "{1}强制结束了该流程,[{2}]的任务被取消",
6608
- history_jump: "流程{3}到[{1}],[{2}]的任务被取消",
6609
- history_back: "{1}退回任务,流程退回到[{2}]",
6610
- history_removesign: "{1}给[{2}]减签",
6611
- history_changetransactor_and_delegate: "{1}把办理人[{2}]更改成[{3})],{4}把任务委托给了[{5}]",
6612
- history_changetransactor: "{1}把办理人[{2}]更改成[{3}]",
6613
- history_addsign: "{1}给[{2}]加签",
6614
- history_addtransactor: "{1}增加办理人[{2}]",
6615
- history_removetransactor: "{1}减少办理人[{2}]",
6616
- history_delegate_and_assign: "{1}把任务指派给了[{2}],[{3}]把任务委托给了[{4}]",
6617
- history_assign: "{1}把任务指派给了[{2}]",
6618
- transfer: "{1}移交给[{2}]",
6619
- history_complete_transfer: "{1}执行了[{2}]操作,取消了其它接收人[{3}]的任务",
6620
- history_delegate_receive: "{1}收回委托给[{2}]的任务",
6621
- history_delegate: "{1}已把任务[{2}]委托给[{3}]",
6622
- history_quit_transfer: "{1}离职,已把任务[{2}]移交给了[{3}]",
6623
- history_change_job_transfer: "{1}换岗,已把任务[{2}]移交给了[{3}]",
6624
- commonButtonOperation: "{1}执行了[{2}]操作",
6625
- history_draw_task: "{1}领取了任务,取消了候选人[{2}]的任务",
6626
- history_abandon_draw: "{1}放弃领取该任务,还原了候选人[{2}]的任务",
6627
- create_copy_task: "{1}把任务抄送给了[{2}]",
6592
+ process_start: "[{key_1}]流程开始",
6593
+ prcoess_end: "[{key_1}]流程结束",
6594
+ force_end_process: "{key_1}强制结束了该流程,[{key_2}]的任务被取消",
6595
+ history_jump: "流程{key_3}到[{key_1}],[{key_2}]的任务被取消",
6596
+ history_back: "{key_1}退回任务,流程退回到[{key_2}]",
6597
+ history_removesign: "{key_1}给[{key_2}]减签",
6598
+ history_changetransactor_and_delegate: "{key_1}把办理人[{key_2}]更改成[{key_3})],{key_4}把任务委托给了[{key_5}]",
6599
+ history_changetransactor: "{key_1}把办理人[{2}]更改成[{key_3}]",
6600
+ history_addsign: "{key_1}给[{key_2}]加签",
6601
+ history_addtransactor: "{key_1}增加办理人[{key_2}]",
6602
+ history_removetransactor: "{key_1}减少办理人[{key_2}]",
6603
+ history_delegate_and_assign: "{key_1}把任务指派给了[{key_2}],[{key_3}]把任务委托给了[{key_4}]",
6604
+ history_assign: "{key_1}把任务指派给了[{key_2}]",
6605
+ transfer: "{key_1}移交给[{key_2}]",
6606
+ history_complete_transfer: "{key_1}执行了[{key_2}]操作,取消了其它接收人[{key_3}]的任务",
6607
+ history_delegate_receive: "{key_1}收回委托给[{key_2}]的任务",
6608
+ history_delegate: "{key_1}已把任务[{key_2}]委托给[{key_3}]",
6609
+ history_quit_transfer: "{key_1}离职,已把任务[{2}]移交给了[{key_3}]",
6610
+ history_change_job_transfer: "{1}换岗,已把任务[{2}]移交给了[{key_3}]",
6611
+ commonButtonOperation: "{key_1}执行了[{key_2}]操作",
6612
+ history_draw_task: "{key_1}领取了任务,取消了候选人[{key_2}]的任务",
6613
+ history_abandon_draw: "{key_1}放弃领取该任务,还原了候选人[{key_2}]的任务",
6614
+ create_copy_task: "{key_1}把任务抄送给了[{key_2}]",
6628
6615
  toDoText: "待处理",
6629
6616
  operator: "操作人",
6630
6617
  operatorLg: "操作人登录名",
6631
6618
  operatorDept: "操作人部门",
6632
6619
  operationTime: "操作时间",
6633
- history_draw_dept_task: "{1}领取了部门[{2}]的任务",
6634
- history_abandon_draw_dept_task: "{1}放弃领取部门[{2}]的任务"
6620
+ history_draw_dept_task: "{key_1}领取了部门[{key_2}]的任务",
6621
+ history_abandon_draw_dept_task: "{key_1}放弃领取部门[{key_2}]的任务"
6635
6622
  },
6636
6623
  gateway: {
6637
6624
  timeout: "接口调用超时",
@@ -6662,6 +6649,9 @@ const Cookies = /* @__PURE__ */ getDefaultExportFromCjs(js_cookieExports), store
6662
6649
  quarter: "季度",
6663
6650
  auxiliary: "第",
6664
6651
  week: "周"
6652
+ },
6653
+ imatrixUIPromptMessage: {
6654
+ NoContent: "暂无内容"
6665
6655
  }
6666
6656
  }, messages = {
6667
6657
  en,
@@ -6794,78 +6784,7 @@ function executeExpression(e, t, o, s) {
6794
6784
  const n = getAbstractUserFactory(s);
6795
6785
  return new n(e, t, o).result;
6796
6786
  }
6797
- /*! js-cookie v3.0.5 | MIT */
6798
- function assign(e) {
6799
- for (var t = 1; t < arguments.length; t++) {
6800
- var o = arguments[t];
6801
- for (var s in o)
6802
- e[s] = o[s];
6803
- }
6804
- return e;
6805
- }
6806
- var defaultConverter = {
6807
- read: function(e) {
6808
- return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
6809
- },
6810
- write: function(e) {
6811
- return encodeURIComponent(e).replace(
6812
- /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
6813
- decodeURIComponent
6814
- );
6815
- }
6816
- };
6817
- function init(e, t) {
6818
- function o(n, i, a) {
6819
- if (!(typeof document > "u")) {
6820
- a = assign({}, t, a), typeof a.expires == "number" && (a.expires = new Date(Date.now() + a.expires * 864e5)), a.expires && (a.expires = a.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
6821
- var r = "";
6822
- for (var l in a)
6823
- a[l] && (r += "; " + l, a[l] !== !0 && (r += "=" + a[l].split(";")[0]));
6824
- return document.cookie = n + "=" + e.write(i, n) + r;
6825
- }
6826
- }
6827
- function s(n) {
6828
- if (!(typeof document > "u" || arguments.length && !n)) {
6829
- for (var i = document.cookie ? document.cookie.split("; ") : [], a = {}, r = 0; r < i.length; r++) {
6830
- var l = i[r].split("="), c = l.slice(1).join("=");
6831
- try {
6832
- var u = decodeURIComponent(l[0]);
6833
- if (a[u] = e.read(c, u), n === u)
6834
- break;
6835
- } catch {
6836
- }
6837
- }
6838
- return n ? a[n] : a;
6839
- }
6840
- }
6841
- return Object.create(
6842
- {
6843
- set: o,
6844
- get: s,
6845
- remove: function(n, i) {
6846
- o(
6847
- n,
6848
- "",
6849
- assign({}, i, {
6850
- expires: -1
6851
- })
6852
- );
6853
- },
6854
- withAttributes: function(n) {
6855
- return init(this.converter, assign({}, this.attributes, n));
6856
- },
6857
- withConverter: function(n) {
6858
- return init(assign({}, this.converter, n), this.attributes);
6859
- }
6860
- },
6861
- {
6862
- attributes: { value: Object.freeze(t) },
6863
- converter: { value: Object.freeze(e) }
6864
- }
6865
- );
6866
- }
6867
- var api$1 = init(defaultConverter, { path: "/" });
6868
- const jwtKey = "JWT", currentUserNameKey = "USERNAME", currentUserInfoKey = "CURRENT_USER", currentSystemUrlKey = "CURRENT_SYSTEM_URL_";
6787
+ const jwtKey = "JWT", currentUserNameKey = "USERNAME", currentUserInfoKey = "CURRENT_USER", currentSystemUrlKey = "CURRENT_SYSTEM_URL_", langKey = "CURRENT_LANGUAGE", allLangKey = "AMB_LANG_INFO";
6869
6788
  function getToken$1() {
6870
6789
  let e = getCookieCache(jwtKey);
6871
6790
  const t = window.$vueApp.config.globalProperties.projectModel;
@@ -6903,7 +6822,7 @@ function removeCurrentUser() {
6903
6822
  removeSessionCache(currentUserInfoKey), removeCookieCache(currentUserInfoKey);
6904
6823
  }
6905
6824
  function getCookieCache(e) {
6906
- return console.log("%c描述-173122", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", api$1), console.dir(api$1), api$1.get(e);
6825
+ return api$1.get(e);
6907
6826
  }
6908
6827
  function setCookieCache(e, t) {
6909
6828
  api$1.set(e, t, {
@@ -6945,6 +6864,28 @@ function setSystemCacheUrl(e) {
6945
6864
  function removeSystemCacheUrl() {
6946
6865
  removeSessionCache(currentSystemUrlKey), removeCookieCache(currentSystemUrlKey);
6947
6866
  }
6867
+ function getLanguage() {
6868
+ let e = getCookieCache(langKey);
6869
+ const t = window.$vueApp.config.globalProperties.projectModel;
6870
+ return !e && t && t === "developing.model" && (e = getSessionCache(langKey)), e;
6871
+ }
6872
+ function setLanguage(e) {
6873
+ setCookieCache(langKey, e), setSessionCache(langKey, e);
6874
+ }
6875
+ function removeLanguage() {
6876
+ removeCookieCache(langKey), removeSessionCache(langKey);
6877
+ }
6878
+ function getAllLanguages$1() {
6879
+ let e = getCookieCache(allLangKey);
6880
+ const t = window.$vueApp.config.globalProperties.projectModel;
6881
+ return !e && t && t === "developing.model" && (e = getSessionCache(allLangKey)), e;
6882
+ }
6883
+ function setAllLanguages(e) {
6884
+ setCookieCache(allLangKey, e), setSessionCache(allLangKey, e);
6885
+ }
6886
+ function removeAllLanguages() {
6887
+ removeCookieCache(allLangKey), removeSessionCache(allLangKey);
6888
+ }
6948
6889
  const authApi = {
6949
6890
  getToken: getToken$1,
6950
6891
  setToken,
@@ -6964,11 +6905,20 @@ const authApi = {
6964
6905
  getSystemCacheUrlByCode,
6965
6906
  getSystemCacheUrl,
6966
6907
  setSystemCacheUrl,
6967
- removeSystemCacheUrl
6908
+ removeSystemCacheUrl,
6909
+ getLanguage,
6910
+ setLanguage,
6911
+ removeLanguage,
6912
+ getAllLanguages: getAllLanguages$1,
6913
+ setAllLanguages,
6914
+ removeAllLanguages
6968
6915
  };
6969
6916
  function getToken() {
6970
6917
  return authApi.getToken();
6971
6918
  }
6919
+ function getAllLanguages() {
6920
+ return authApi.getAllLanguages();
6921
+ }
6972
6922
  function getRelativeBaseUrl(e) {
6973
6923
  if (window.$vueApp.config.globalProperties.projectModel === void 0 || window.$vueApp.config.globalProperties.projectModel !== "developing.model") {
6974
6924
  let t = getUrlPrefix(location.href);
@@ -7004,9 +6954,8 @@ function getSystemBackendUrl(e) {
7004
6954
  function isPromise(e) {
7005
6955
  return e && Object.prototype.toString.call(e) === "[object Promise]";
7006
6956
  }
7007
- const langKey = "AMB_LANG_INFO";
7008
6957
  function getLangs() {
7009
- return authApi.getCookieCache(langKey);
6958
+ return getAllLanguages();
7010
6959
  }
7011
6960
  function getLangByShort(e) {
7012
6961
  let t;
@@ -7229,12 +7178,7 @@ function packageTemplateFiles(e) {
7229
7178
  return e.forEach((i) => {
7230
7179
  let a = i.templateShowPath;
7231
7180
  if (a.indexOf(n) > 0) {
7232
- const r = a.substring(0, a.indexOf(n)), l = a.substring(
7233
- a.indexOf(n) + n.length,
7234
- a.lastIndexOf(n)
7235
- ), c = a.substring(
7236
- a.lastIndexOf(n) + n.length
7237
- );
7181
+ const r = a.substring(0, a.indexOf(n)), l = a.substring(a.indexOf(n) + n.length, a.lastIndexOf(n)), c = a.substring(a.lastIndexOf(n) + n.length);
7238
7182
  t === l && s.indexOf(r) < 0 && (o.push({
7239
7183
  templateUUID: i.templateUUID,
7240
7184
  templateShowPath: c
@@ -7264,19 +7208,19 @@ function jumpToPage(e, t, o, s, n, i, a, r) {
7264
7208
  e.jumpPageAdditional
7265
7209
  );
7266
7210
  window.$vueApp.config.globalProperties.$http.post(d, m).then((f) => {
7267
- let _ = "";
7268
- f && f.uuid && (_ = f.uuid + "_additionalParamMap", window.sessionStorage.setItem(
7269
- _,
7211
+ let b = "";
7212
+ f && f.uuid && (b = f.uuid + "_additionalParamMap", window.sessionStorage.setItem(
7213
+ b,
7270
7214
  JSON.stringify(f.paramMap)
7271
- )), e.paramStoreId = _, jumpToPageTwo(
7215
+ )), e.paramStoreId = b, jumpToPageTwo(
7272
7216
  e,
7273
7217
  u,
7274
7218
  o,
7275
7219
  i,
7276
7220
  a,
7277
7221
  p
7278
- ).then((y) => {
7279
- l(y);
7222
+ ).then((S) => {
7223
+ l(S);
7280
7224
  });
7281
7225
  });
7282
7226
  } else
@@ -7654,9 +7598,9 @@ const Util = {
7654
7598
  for (let d = 0; d < t.length; d++) {
7655
7599
  const m = t[d];
7656
7600
  for (let p = 0; p < e.length; p++) {
7657
- const f = e[p], _ = f.toolTips, y = f.conditionList;
7601
+ const f = e[p], b = f.toolTips, S = f.conditionList;
7658
7602
  if (!analysisCondition(
7659
- y,
7603
+ S,
7660
7604
  m,
7661
7605
  n,
7662
7606
  r,
@@ -7664,7 +7608,7 @@ const Util = {
7664
7608
  s,
7665
7609
  null
7666
7610
  )) {
7667
- l = !1, c = _, u = m;
7611
+ l = !1, c = b, u = m;
7668
7612
  break;
7669
7613
  }
7670
7614
  }
@@ -7788,7 +7732,7 @@ const Util = {
7788
7732
  return typeof Array.isArray == "function" ? Array.isArray(e) : Object.prototype.toString.call(e) === "[object Array]";
7789
7733
  },
7790
7734
  // 获得普通表单保存时的request请求,表单页面和行编辑保存时使用了
7791
- getSaveFormRequest(e, t, o, s, n, i, a, r, l, c, u, d, m, p, f, _, y, C, S, v, E, I, N) {
7735
+ getSaveFormRequest(e, t, o, s, n, i, a, r, l, c, u, d, m, p, f, b, S, y, C, P, E, I, N) {
7792
7736
  N = N === void 0 || N === "true";
7793
7737
  const k = {
7794
7738
  entity: i,
@@ -7796,11 +7740,11 @@ const Util = {
7796
7740
  formViewVersion: s,
7797
7741
  tableName: n,
7798
7742
  formNoRuleCode: l,
7799
- isWorkflowEntity: v,
7743
+ isWorkflowEntity: P,
7800
7744
  functionCode: E,
7801
7745
  isPermission: N + ""
7802
7746
  };
7803
- return this.judgeHeavyList && (k.judgeHeavyList = JSON.stringify(this.judgeHeavyList)), c && (this.isArrayFn(c) ? k.dataConversionRule = c.join(",") : typeof c == "string" && (k.dataConversionRule = c)), u && (k.autoSetValueData = JSON.stringify(u)), m && (k.logSettingText = m), k.systemCode || (k.systemCode = e.code), a && (k.entityName = a), S && (k.beanName = S), _ && (k.taskMap = _), y && (k.needDeleteFileUuidS = y), this.dataTypeMap && (k.dataTypeMap = this.dataTypeMap), p && (k.dynamicColumnInfo = p), f && (k.mainDefaultValueColumns = f), C && (k.additionalParamMap = C), I !== void 0 && (k.unControlVersion = I), this.getSaveFormRequestByParam(
7747
+ return this.judgeHeavyList && (k.judgeHeavyList = JSON.stringify(this.judgeHeavyList)), c && (this.isArrayFn(c) ? k.dataConversionRule = c.join(",") : typeof c == "string" && (k.dataConversionRule = c)), u && (k.autoSetValueData = JSON.stringify(u)), m && (k.logSettingText = m), k.systemCode || (k.systemCode = e.code), a && (k.entityName = a), C && (k.beanName = C), b && (k.taskMap = b), S && (k.needDeleteFileUuidS = S), this.dataTypeMap && (k.dataTypeMap = this.dataTypeMap), p && (k.dynamicColumnInfo = p), f && (k.mainDefaultValueColumns = f), y && (k.additionalParamMap = y), I !== void 0 && (k.unControlVersion = I), this.getSaveFormRequestByParam(
7804
7748
  e,
7805
7749
  t,
7806
7750
  k,
@@ -7840,7 +7784,7 @@ const Util = {
7840
7784
  isPermission: p + ""
7841
7785
  };
7842
7786
  i && (f.logSettingText = i), f.systemCode || (f.systemCode = n.code), a && (f.taskMap = a), r && (f.additionalParamMap = r);
7843
- let _ = this.callBeforeClickButton(
7787
+ let b = this.callBeforeClickButton(
7844
7788
  this.formEvents,
7845
7789
  this.formViewCode + "__exportForm",
7846
7790
  {
@@ -7849,10 +7793,10 @@ const Util = {
7849
7793
  exportParam: f
7850
7794
  }
7851
7795
  );
7852
- isPromise(_) && await _.then((y) => {
7853
- console.log("点击前事件返回结果--Promise--resolve---", y), _ = y;
7854
- }), _ && (isPromise(_) ? _.then((y) => {
7855
- y && this.exportFormReportSuccess(
7796
+ isPromise(b) && await b.then((S) => {
7797
+ console.log("点击前事件返回结果--Promise--resolve---", S), b = S;
7798
+ }), b && (isPromise(b) ? b.then((S) => {
7799
+ S && (u.code === "exportPDF" ? this.exportFormPdf(t, o, n, f) : this.exportFormReportSuccess(
7856
7800
  e,
7857
7801
  t,
7858
7802
  o,
@@ -7866,8 +7810,8 @@ const Util = {
7866
7810
  u,
7867
7811
  d,
7868
7812
  f
7869
- );
7870
- }) : this.exportFormReportSuccess(
7813
+ ));
7814
+ }) : u.code === "exportPDF" ? this.exportFormPdf(t, o, n, f) : this.exportFormReportSuccess(
7871
7815
  e,
7872
7816
  t,
7873
7817
  o,
@@ -7920,6 +7864,35 @@ const Util = {
7920
7864
  );
7921
7865
  });
7922
7866
  },
7867
+ // 导出报告按钮实现
7868
+ exportFormPdf(fileName, myJsContent, system, param) {
7869
+ let request;
7870
+ if (myJsContent) {
7871
+ const buttonFun = eval("(" + myJsContent + ")");
7872
+ request = buttonFun(this, param);
7873
+ } else {
7874
+ const t = this.getBaseUrl(system) + "/dsc/commons/export-pdf";
7875
+ axios$1.defaults.headers.common.Authorization = getToken(), request = axios$1.post(
7876
+ t,
7877
+ param,
7878
+ {
7879
+ responseType: "blob"
7880
+ },
7881
+ {
7882
+ headers: {
7883
+ "content-type": "application/x-www-form-urlencoded"
7884
+ }
7885
+ }
7886
+ );
7887
+ }
7888
+ request.then((e) => {
7889
+ const t = new Blob([e.data]), o = document.createElement("a");
7890
+ o.download = fileName.substring(0, fileName.lastIndexOf(".")) + ".pdf", o.style.display = "none", o.target = "_blank", o.href = URL.createObjectURL(t), document.body.appendChild(o), o.click(), URL.revokeObjectURL(o.href), document.body.removeChild(o), this.callAfterClickButton(this.formEvents, this.formViewCode + "__exportForm", {
7891
+ params: this.additionalParamMap,
7892
+ entity: this.formData
7893
+ });
7894
+ });
7895
+ },
7923
7896
  // 首字母大写
7924
7897
  upperFirstCase(e) {
7925
7898
  return e.toLowerCase().replace(/( |^)[a-z]/g, (t) => t.toUpperCase());
@@ -7939,7 +7912,7 @@ const Util = {
7939
7912
  $emit$1(this, "click", e);
7940
7913
  },
7941
7914
  // 流程页面中按钮点击事件
7942
- workflowButtonClick(e, t, o, s, n) {
7915
+ workflowButtonClick(e, t, o, s, n, i) {
7943
7916
  $emit$1(
7944
7917
  this,
7945
7918
  "workflowClick",
@@ -7947,7 +7920,8 @@ const Util = {
7947
7920
  t,
7948
7921
  o,
7949
7922
  s,
7950
- n
7923
+ n,
7924
+ i
7951
7925
  );
7952
7926
  },
7953
7927
  // 是否是查看详情页面
@@ -8114,7 +8088,7 @@ const Util = {
8114
8088
  if (sessionStorage.removeItem(e + "-jumpMode"), !s)
8115
8089
  return;
8116
8090
  const n = JSON.parse(s), i = n.jumpMode;
8117
- if (i === "popup") {
8091
+ if (n.successOperation = t, i === "popup") {
8118
8092
  let a = sessionStorage.getItem(
8119
8093
  e + "_source_page_code"
8120
8094
  );
@@ -8293,10 +8267,10 @@ const Util = {
8293
8267
  exportParam: p
8294
8268
  }
8295
8269
  );
8296
- isPromise(f) && await f.then((_) => {
8297
- console.log("点击前事件返回结果--Promise--resolve---", _), f = _;
8298
- }), f && (isPromise(f) ? f.then((_) => {
8299
- _ && this.previewFormReportSuccess(
8270
+ isPromise(f) && await f.then((b) => {
8271
+ console.log("点击前事件返回结果--Promise--resolve---", b), f = b;
8272
+ }), f && (isPromise(f) ? f.then((b) => {
8273
+ b && this.previewFormReportSuccess(
8300
8274
  e,
8301
8275
  t,
8302
8276
  o,
@@ -8335,7 +8309,7 @@ const Util = {
8335
8309
  request = buttonFun(this, param);
8336
8310
  } else {
8337
8311
  const t = this.getBaseUrl(system) + "/dsc/commons/create-preview-file";
8338
- axios$1.defaults.headers.common.Authorization = Cookies.get("JWT"), request = axios$1.post(
8312
+ axios$1.defaults.headers.common.Authorization = api$1.get("JWT"), request = axios$1.post(
8339
8313
  t,
8340
8314
  param,
8341
8315
  {},
@@ -8369,6 +8343,12 @@ const Util = {
8369
8343
  // 刷新页签内容:列表数据或表单数据
8370
8344
  refreshTab(e, t) {
8371
8345
  e == null && (e = getStoreInfo(this.pageCode, "_activeTab")), $emit$1(bus, this.pageCode + "-refresh-tab", { tabCode: e, entity: t });
8346
+ },
8347
+ // 流程页面中按钮点击事件
8348
+ getPageParam(e, t) {
8349
+ this.$emit("getPageParam", e, (o) => {
8350
+ t(this[e]);
8351
+ });
8372
8352
  }
8373
8353
  }, _export_sfc = (e, t) => {
8374
8354
  const o = e.__vccOpts || e;
@@ -8388,12 +8368,8 @@ const Util = {
8388
8368
  }
8389
8369
  },
8390
8370
  data() {
8391
- let e = [];
8392
- return this.button.templateFiles && this.button.templateFiles.length > 0 ? e = packageTemplateFiles(this.button.templateFiles) : this.button.templateUUID && this.button.templateShowPath && e.push({
8393
- templateUUID: this.button.templateUUID,
8394
- templateShowPath: this.button.templateShowPath
8395
- }), {
8396
- templateFiles: e,
8371
+ return {
8372
+ templateFiles: [],
8397
8373
  fields: [],
8398
8374
  prefix: "${",
8399
8375
  suffix: "}"
@@ -8401,6 +8377,11 @@ const Util = {
8401
8377
  },
8402
8378
  created() {
8403
8379
  },
8380
+ mounted() {
8381
+ this.button.templateFiles && this.button.templateFiles.length > 0 ? this.templateFiles = packageTemplateFiles(this.button.templateFiles) : this.button.templateUUID && this.button.templateShowPath && this.templateFiles.push({ templateUUID: this.button.templateUUID, templateShowPath: this.button.templateShowPath }), this.templateFiles.forEach((e) => {
8382
+ e && e.templateShowPath && (e.templateShowPath = this.formatTemplateShowPath(e.templateShowPath));
8383
+ });
8384
+ },
8404
8385
  methods: {
8405
8386
  getFileds(e) {
8406
8387
  console.log("templateShowPath", e);
@@ -8423,9 +8404,7 @@ const Util = {
8423
8404
  }), e;
8424
8405
  },
8425
8406
  exportForm(e) {
8426
- e.templateShowPath && (e.templateShowPath = this.formatTemplateShowPath(
8427
- e.templateShowPath
8428
- )), $emit$1(this, "before-export-form-report", e);
8407
+ $emit$1(this, "before-export-form-report", e);
8429
8408
  },
8430
8409
  previewExportForm(e) {
8431
8410
  $emit$1(this, "preview-export-form-report", e);
@@ -8456,7 +8435,7 @@ function _sfc_render$q(e, t, o, s, n, i) {
8456
8435
  prop: "templateShowPath"
8457
8436
  }, {
8458
8437
  default: withCtx((u) => [
8459
- createTextVNode(toDisplayString$1(i.formatTemplateShowPath(u.row.templateShowPath)), 1)
8438
+ createTextVNode(toDisplayString$1(u.row.templateShowPath), 1)
8460
8439
  ]),
8461
8440
  _: 1
8462
8441
  }, 8, ["label"]),
@@ -8718,11 +8697,12 @@ const ExportFormReportDialog = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["rende
8718
8697
  null,
8719
8698
  null,
8720
8699
  t,
8721
- e.completeTaskParam
8700
+ e.completeTaskParam,
8701
+ e
8722
8702
  );
8723
8703
  }
8724
8704
  },
8725
- emits: ["click", "prohibi-edit"]
8705
+ emits: ["click", "prohibi-edit", "workflowClick", "getPageParam"]
8726
8706
  }, _hoisted_1$a = ["id"], _hoisted_2$6 = {
8727
8707
  key: 0,
8728
8708
  style: { "margin-right": "10px" }
@@ -8751,8 +8731,9 @@ function _sfc_render$p(e, t, o, s, n, i) {
8751
8731
  onProhibiEdit: i.fnProhibitToEdit,
8752
8732
  onRefreshTab: e.refreshTab,
8753
8733
  onRefreshFrom: e.refreshFrom,
8754
- onClick: t[0] || (t[0] = (u) => i.clickMyButton(o.button))
8755
- }, null, 40, ["search-form-data", "selections", "entity", "get-entity", "refresh-list", "class", "custom-params", "button-groups", "onWorkflowButtonClick", "additional-param-map", "onRefresh", "onProhibiEdit", "onRefreshTab", "onRefreshFrom"])) : (openBlock(), createBlock(a, {
8734
+ onClick: t[0] || (t[0] = (u) => i.clickMyButton(o.button)),
8735
+ onGetPageParam: e.getPageParam
8736
+ }, null, 40, ["search-form-data", "selections", "entity", "get-entity", "refresh-list", "class", "custom-params", "button-groups", "onWorkflowButtonClick", "additional-param-map", "onRefresh", "onProhibiEdit", "onRefreshTab", "onRefreshFrom", "onGetPageParam"])) : (openBlock(), createBlock(a, {
8756
8737
  key: 1,
8757
8738
  loading: o.button.loading === void 0 ? !1 : o.button.loading,
8758
8739
  disabled: o.disabled ? o.disabled : e.preventReclick,
@@ -8783,13 +8764,16 @@ function _sfc_render$p(e, t, o, s, n, i) {
8783
8764
  ])) : (openBlock(), createElementBlock("span", _hoisted_4$1, [
8784
8765
  n.showPdfButton ? (openBlock(), createBlock(r, {
8785
8766
  key: 0,
8767
+ button: o.button,
8786
8768
  "pdf-template-code": o.button.pdfTemplateCode,
8787
8769
  entity: n.formData,
8770
+ disabled: o.disabled,
8788
8771
  "base-props": o.button,
8789
8772
  "watermark-setting": n.watermarkSetting,
8790
8773
  "befoer-open": i.befoerOpenPdf,
8774
+ onClick: t[2] || (t[2] = (u) => e.$emit("click", o.button)),
8791
8775
  onClosePreview: i.closePreview
8792
- }, null, 8, ["pdf-template-code", "entity", "base-props", "watermark-setting", "befoer-open", "onClosePreview"])) : createCommentVNode("", !0)
8776
+ }, null, 8, ["button", "pdf-template-code", "entity", "disabled", "base-props", "watermark-setting", "befoer-open", "onClosePreview"])) : createCommentVNode("", !0)
8793
8777
  ]))
8794
8778
  ])), [
8795
8779
  [c, n.permission]
@@ -8937,7 +8921,7 @@ const myButtonBase = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
8937
8921
  clickFun: function() {
8938
8922
  o.workflowEventBus("endInstance");
8939
8923
  }
8940
- }), this.formButtonPosition === "bottomRight" ? this.buttons = t.slice().reverse() : this.buttons = t);
8924
+ }), this.formButtonPosition === "bottomRight" ? this.buttons = t.slice().reverse() : this.buttons = t), this.getCurrentActivityName();
8941
8925
  },
8942
8926
  methods: {
8943
8927
  ...Util,
@@ -8966,7 +8950,8 @@ const myButtonBase = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
8966
8950
  }
8967
8951
  },
8968
8952
  getCurrentActivityName() {
8969
- return getStoreInfo(this.pageCode, "_currentActivityName");
8953
+ let e;
8954
+ this.myFormDataFun && (e = this.myFormDataFun(), this.currentActivityName = getValueByField(e, "current_activity_name"));
8970
8955
  },
8971
8956
  updateButton(e) {
8972
8957
  console.log(this.workflowButtonComponent), this.afterFlag = !0, this.isShowButtons = !1, this.getWorkflowButtonVisible(
@@ -8976,7 +8961,7 @@ const myButtonBase = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
8976
8961
  ).then((t) => {
8977
8962
  this.buttonVisibleSetting = t;
8978
8963
  const o = this.packageButtonInfoForVisible();
8979
- this.buttonInfo = Object.assign({}, e, o), this.buttonInfo.active === "DRAW_WAIT" && (this.buttonInfo.isShowButtonSave = !1, this.buttonInfo.showButtonSave = !1), this.isShowButtons = !0;
8964
+ this.buttonInfo = Object.assign({}, e, o), (this.buttonInfo.active === "DRAW_WAIT" || this.buttonInfo.active === "DEPT_DRAW_WAIT") && (this.buttonInfo.isShowButtonSave = !1, this.buttonInfo.showButtonSave = !1), this.isShowButtons = !0;
8980
8965
  });
8981
8966
  },
8982
8967
  // 点击流程按钮发起事件监听
@@ -9081,7 +9066,7 @@ const myButtonBase = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_r
9081
9066
  $emit$1(this, "prohibi-edit", e);
9082
9067
  }
9083
9068
  },
9084
- emits: ["workflowClick", "prohibi-edit", "click"]
9069
+ emits: ["workflowClick", "prohibi-edit", "click", "workflowClick", "getPageParam"]
9085
9070
  }, _hoisted_1$9 = {
9086
9071
  key: 1,
9087
9072
  style: { "margin-left": "10px" }
@@ -9115,13 +9100,13 @@ function _sfc_render$o(e, t, o, s, n, i) {
9115
9100
  }, {
9116
9101
  after: withCtx(() => [
9117
9102
  o.formButtonPosition === "bottomRight" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
9118
- !i.isTaskComplete() && i.getCurrentActivityName() ? (openBlock(), createElementBlock("span", {
9103
+ n.currentActivityName ? (openBlock(), createElementBlock("span", {
9119
9104
  key: 0,
9120
9105
  style: normalizeStyle({
9121
9106
  "margin-left": "5px",
9122
9107
  color: o.workNameColor ? o.workNameColor : "red"
9123
9108
  })
9124
- }, toDisplayString$1(e.$t("superPage.currentActivityName")) + " " + toDisplayString$1(i.getCurrentActivityName()), 5)) : createCommentVNode("", !0),
9109
+ }, toDisplayString$1(e.$t("superPage.currentActivityName")) + " " + toDisplayString$1(n.currentActivityName), 5)) : createCommentVNode("", !0),
9125
9110
  n.isBackButton && o.isTaskInput ? (openBlock(), createBlock(a, {
9126
9111
  key: 1,
9127
9112
  disabled: e.preventReclick,
@@ -9172,22 +9157,22 @@ function _sfc_render$o(e, t, o, s, n, i) {
9172
9157
  dropdown: withCtx(() => [
9173
9158
  createVNode(l, null, {
9174
9159
  default: withCtx(() => [
9175
- (openBlock(!0), createElementBlock(Fragment, null, renderList(p.buttons, (_, y) => (openBlock(), createElementBlock("span", {
9176
- key: _.code + y,
9177
- class: normalizeClass(_.code)
9160
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(p.buttons, (b, S) => (openBlock(), createElementBlock("span", {
9161
+ key: b.code + S,
9162
+ class: normalizeClass(b.code)
9178
9163
  }, [
9179
9164
  withDirectives((openBlock(), createBlock(r, {
9180
- command: _.code,
9165
+ command: b.code,
9181
9166
  disabled: e.preventReclick
9182
9167
  }, {
9183
9168
  default: withCtx(() => [
9184
- createTextVNode(toDisplayString$1(_.label ? _.label : _.code === "search" ? e.$t("superPageMessage.searchButtonLabel") : ""), 1)
9169
+ createTextVNode(toDisplayString$1(b.label ? b.label : b.code === "search" ? e.$t("superPageMessage.searchButtonLabel") : ""), 1)
9185
9170
  ]),
9186
9171
  _: 2
9187
9172
  }, 1032, ["command", "disabled"])), [
9188
9173
  [
9189
9174
  m,
9190
- n.myPermissionPrefix && n.myPermissionPrefix !== "" ? n.myPermissionPrefix + _.code : ""
9175
+ n.myPermissionPrefix && n.myPermissionPrefix !== "" ? n.myPermissionPrefix + b.code : ""
9191
9176
  ]
9192
9177
  ])
9193
9178
  ], 2))), 128))
@@ -9215,8 +9200,9 @@ function _sfc_render$o(e, t, o, s, n, i) {
9215
9200
  onClick: e.commonButtonClick,
9216
9201
  onWorkflowClick: e.workflowButtonClick,
9217
9202
  onProhibiEdit: i.fnProhibitToEdit,
9218
- onRefreshFrom: e.refreshFrom
9219
- }, null, 8, ["button", "permission-prefix", "table-name", "page-code", "get-form-data", "my-form-data-fun", "button-groups", "onRefresh", "onClick", "onWorkflowClick", "onProhibiEdit", "onRefreshFrom"])) : createCommentVNode("", !0)
9203
+ onRefreshFrom: e.refreshFrom,
9204
+ onGetPageParam: e.getPageParam
9205
+ }, null, 8, ["button", "permission-prefix", "table-name", "page-code", "get-form-data", "my-form-data-fun", "button-groups", "onRefresh", "onClick", "onWorkflowClick", "onProhibiEdit", "onRefreshFrom", "onGetPageParam"])) : createCommentVNode("", !0)
9220
9206
  ]))
9221
9207
  ], 64))), 128))
9222
9208
  ])) : createCommentVNode("", !0),
@@ -9244,13 +9230,13 @@ function _sfc_render$o(e, t, o, s, n, i) {
9244
9230
  ]),
9245
9231
  _: 1
9246
9232
  }, 8, ["disabled"])) : createCommentVNode("", !0),
9247
- !i.isTaskComplete() && i.getCurrentActivityName() ? (openBlock(), createElementBlock("span", {
9233
+ n.currentActivityName ? (openBlock(), createElementBlock("span", {
9248
9234
  key: 2,
9249
9235
  style: normalizeStyle({
9250
9236
  "margin-left": "5px",
9251
9237
  color: o.workNameColor ? o.workNameColor : "red"
9252
9238
  })
9253
- }, toDisplayString$1(e.$t("superPage.currentActivityName")) + " " + toDisplayString$1(i.getCurrentActivityName()), 5)) : createCommentVNode("", !0)
9239
+ }, toDisplayString$1(e.$t("superPage.currentActivityName")) + " " + toDisplayString$1(n.currentActivityName), 5)) : createCommentVNode("", !0)
9254
9240
  ], 64)) : createCommentVNode("", !0)
9255
9241
  ]),
9256
9242
  _: 1
@@ -9386,7 +9372,7 @@ const workflowButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render",
9386
9372
  $emit$1(this, "prohibi-edit", e);
9387
9373
  }
9388
9374
  },
9389
- emits: ["prohibi-edit", "click"]
9375
+ emits: ["prohibi-edit", "click", "workflowClick", "getPageParam"]
9390
9376
  }, _hoisted_1$8 = { key: 0 };
9391
9377
  function _sfc_render$n(e, t, o, s, n, i) {
9392
9378
  const a = resolveComponent("workflow-button-group"), r = resolveComponent("my-button-base");
@@ -9409,8 +9395,9 @@ function _sfc_render$n(e, t, o, s, n, i) {
9409
9395
  onClick: e.commonButtonClick,
9410
9396
  onWorkflowClick: e.workflowButtonClick,
9411
9397
  onProhibiEdit: i.fnProhibitToEdit,
9412
- onRefreshFrom: e.refreshFrom
9413
- }, null, 8, ["permission-prefix", "workflow-button-component", "is-task-input", "table-name", "button", "button-groups", "page-code", "work-name-color", "get-form-data", "my-form-data-fun", "form-button-position", "onRefresh", "onClick", "onWorkflowClick", "onProhibiEdit", "onRefreshFrom"])) : (openBlock(), createBlock(r, {
9398
+ onRefreshFrom: e.refreshFrom,
9399
+ onGetPageParam: e.getPageParam
9400
+ }, null, 8, ["permission-prefix", "workflow-button-component", "is-task-input", "table-name", "button", "button-groups", "page-code", "work-name-color", "get-form-data", "my-form-data-fun", "form-button-position", "onRefresh", "onClick", "onWorkflowClick", "onProhibiEdit", "onRefreshFrom", "onGetPageParam"])) : (openBlock(), createBlock(r, {
9414
9401
  key: 1,
9415
9402
  "search-form-info": o.searchFormInfo,
9416
9403
  button: o.button,
@@ -9429,8 +9416,9 @@ function _sfc_render$n(e, t, o, s, n, i) {
9429
9416
  onClick: e.commonButtonClick,
9430
9417
  onWorkflowClick: e.workflowButtonClick,
9431
9418
  onProhibiEdit: i.fnProhibitToEdit,
9432
- onRefreshFrom: e.refreshFrom
9433
- }, null, 8, ["search-form-info", "button", "permission-prefix", "disabled", "position", "table-name", "page-code", "get-form-data", "selections", "my-form-data-fun", "get-system-ref", "button-groups", "onRefresh", "onClick", "onWorkflowClick", "onProhibiEdit", "onRefreshFrom"]))
9419
+ onRefreshFrom: e.refreshFrom,
9420
+ onGetPageParam: e.getPageParam
9421
+ }, null, 8, ["search-form-info", "button", "permission-prefix", "disabled", "position", "table-name", "page-code", "get-form-data", "selections", "my-form-data-fun", "get-system-ref", "button-groups", "onRefresh", "onClick", "onWorkflowClick", "onProhibiEdit", "onRefreshFrom", "onGetPageParam"]))
9434
9422
  ])) : createCommentVNode("", !0);
9435
9423
  }
9436
9424
  const MyButton = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]), _sfc_main$m = {
@@ -9654,8 +9642,8 @@ const ListToolbarDynamicSource = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["ren
9654
9642
  function _sfc_render$l(e, t, o, s, n, i) {
9655
9643
  const a = resolveComponent("list-toolbar-dynamic-source"), r = resolveComponent("el-option"), l = resolveComponent("el-select"), c = resolveComponent("el-radio"), u = resolveComponent("el-radio-group"), d = resolveComponent("el-checkbox"), m = resolveComponent("el-checkbox-group"), p = resolveComponent("el-date-picker");
9656
9644
  return openBlock(), createElementBlock("span", null, [
9657
- (openBlock(!0), createElementBlock(Fragment, null, renderList(o.listToolbarList, (f, _) => (openBlock(), createElementBlock("span", {
9658
- key: _,
9645
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(o.listToolbarList, (f, b) => (openBlock(), createElementBlock("span", {
9646
+ key: b,
9659
9647
  style: { display: "inline-block", "margin-bottom": "10px" }
9660
9648
  }, [
9661
9649
  createTextVNode(toDisplayString$1(f.label) + " ", 1),
@@ -9670,17 +9658,17 @@ function _sfc_render$l(e, t, o, s, n, i) {
9670
9658
  f.controlType === "select" ? (openBlock(), createBlock(l, {
9671
9659
  key: 0,
9672
9660
  modelValue: n.modelObj[f.propDbName],
9673
- "onUpdate:modelValue": (y) => n.modelObj[f.propDbName] = y,
9661
+ "onUpdate:modelValue": (S) => n.modelObj[f.propDbName] = S,
9674
9662
  placeholder: f.nullLabel,
9675
9663
  size: f.size ? f.size : e.small,
9676
9664
  clearable: "",
9677
9665
  onChange: i.searchGridData
9678
9666
  }, {
9679
9667
  default: withCtx(() => [
9680
- (openBlock(!0), createElementBlock(Fragment, null, renderList(f.dynamicDataSourceCode ? n.optionsList[f.dynamicDataSourceCode] : f.optionGroupCode ? n.optionsList[f.optionGroupCode] : null, (y) => (openBlock(), createBlock(r, {
9681
- key: y.value,
9682
- label: y.label,
9683
- value: y.value
9668
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(f.dynamicDataSourceCode ? n.optionsList[f.dynamicDataSourceCode] : f.optionGroupCode ? n.optionsList[f.optionGroupCode] : null, (S) => (openBlock(), createBlock(r, {
9669
+ key: S.value,
9670
+ label: S.label,
9671
+ value: S.value
9684
9672
  }, null, 8, ["label", "value"]))), 128))
9685
9673
  ]),
9686
9674
  _: 2
@@ -9688,7 +9676,7 @@ function _sfc_render$l(e, t, o, s, n, i) {
9688
9676
  f.controlType === "multipleSelect" ? (openBlock(), createBlock(l, {
9689
9677
  key: 1,
9690
9678
  modelValue: n.modelObj[f.propDbName],
9691
- "onUpdate:modelValue": (y) => n.modelObj[f.propDbName] = y,
9679
+ "onUpdate:modelValue": (S) => n.modelObj[f.propDbName] = S,
9692
9680
  placeholder: f.nullLabel,
9693
9681
  size: f.size ? f.size : e.small,
9694
9682
  "collapse-tags": "",
@@ -9697,10 +9685,10 @@ function _sfc_render$l(e, t, o, s, n, i) {
9697
9685
  onChange: i.searchGridData
9698
9686
  }, {
9699
9687
  default: withCtx(() => [
9700
- (openBlock(!0), createElementBlock(Fragment, null, renderList(f.dynamicDataSourceCode ? n.optionsList[f.dynamicDataSourceCode] : f.optionGroupCode ? n.optionsList[f.optionGroupCode] : null, (y) => (openBlock(), createBlock(r, {
9701
- key: y.value,
9702
- label: y.label,
9703
- value: y.value
9688
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(f.dynamicDataSourceCode ? n.optionsList[f.dynamicDataSourceCode] : f.optionGroupCode ? n.optionsList[f.optionGroupCode] : null, (S) => (openBlock(), createBlock(r, {
9689
+ key: S.value,
9690
+ label: S.label,
9691
+ value: S.value
9704
9692
  }, null, 8, ["label", "value"]))), 128))
9705
9693
  ]),
9706
9694
  _: 2
@@ -9708,17 +9696,17 @@ function _sfc_render$l(e, t, o, s, n, i) {
9708
9696
  f.controlType === "radio" ? (openBlock(), createBlock(u, {
9709
9697
  key: 2,
9710
9698
  modelValue: n.modelObj[f.propDbName],
9711
- "onUpdate:modelValue": (y) => n.modelObj[f.propDbName] = y,
9699
+ "onUpdate:modelValue": (S) => n.modelObj[f.propDbName] = S,
9712
9700
  size: f.size ? f.size : e.small,
9713
9701
  onChange: i.searchGridData
9714
9702
  }, {
9715
9703
  default: withCtx(() => [
9716
- (openBlock(!0), createElementBlock(Fragment, null, renderList(f.dynamicDataSourceCode ? n.optionsList[f.dynamicDataSourceCode] : f.optionGroupCode ? n.optionsList[f.optionGroupCode] : null, (y) => (openBlock(), createBlock(c, {
9717
- key: y.value,
9718
- label: y.value
9704
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(f.dynamicDataSourceCode ? n.optionsList[f.dynamicDataSourceCode] : f.optionGroupCode ? n.optionsList[f.optionGroupCode] : null, (S) => (openBlock(), createBlock(c, {
9705
+ key: S.value,
9706
+ label: S.value
9719
9707
  }, {
9720
9708
  default: withCtx(() => [
9721
- createTextVNode(toDisplayString$1(y.name == null ? y.label : y.name), 1)
9709
+ createTextVNode(toDisplayString$1(S.name == null ? S.label : S.name), 1)
9722
9710
  ]),
9723
9711
  _: 2
9724
9712
  }, 1032, ["label"]))), 128))
@@ -9728,17 +9716,17 @@ function _sfc_render$l(e, t, o, s, n, i) {
9728
9716
  f.controlType === "checkbox" ? (openBlock(), createBlock(m, {
9729
9717
  key: 3,
9730
9718
  modelValue: n.modelObj[f.propDbName],
9731
- "onUpdate:modelValue": (y) => n.modelObj[f.propDbName] = y,
9719
+ "onUpdate:modelValue": (S) => n.modelObj[f.propDbName] = S,
9732
9720
  size: f.size ? f.size : e.small,
9733
9721
  onChange: i.searchGridData
9734
9722
  }, {
9735
9723
  default: withCtx(() => [
9736
- (openBlock(!0), createElementBlock(Fragment, null, renderList(f.dynamicDataSourceCode ? n.optionsList[f.dynamicDataSourceCode] : f.optionGroupCode ? n.optionsList[f.optionGroupCode] : null, (y) => (openBlock(), createBlock(d, {
9737
- key: y.value,
9738
- label: y.value
9724
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(f.dynamicDataSourceCode ? n.optionsList[f.dynamicDataSourceCode] : f.optionGroupCode ? n.optionsList[f.optionGroupCode] : null, (S) => (openBlock(), createBlock(d, {
9725
+ key: S.value,
9726
+ label: S.value
9739
9727
  }, {
9740
9728
  default: withCtx(() => [
9741
- createTextVNode(toDisplayString$1(y.name == null ? y.label : y.name), 1)
9729
+ createTextVNode(toDisplayString$1(S.name == null ? S.label : S.name), 1)
9742
9730
  ]),
9743
9731
  _: 2
9744
9732
  }, 1032, ["label"]))), 128))
@@ -9748,22 +9736,22 @@ function _sfc_render$l(e, t, o, s, n, i) {
9748
9736
  f.controlType === "year" ? (openBlock(), createBlock(p, {
9749
9737
  key: 4,
9750
9738
  modelValue: n.modelObj[f.propDbName],
9751
- "onUpdate:modelValue": (y) => n.modelObj[f.propDbName] = y,
9739
+ "onUpdate:modelValue": (S) => n.modelObj[f.propDbName] = S,
9752
9740
  size: f.size ? f.size : e.small,
9753
9741
  placeholder: f.nullLabel,
9754
9742
  type: "year",
9755
9743
  "value-format": "yyyy",
9756
- onChange: (y) => i.searchGridData(f.controlType)
9744
+ onChange: (S) => i.searchGridData(f.controlType)
9757
9745
  }, null, 8, ["modelValue", "onUpdate:modelValue", "size", "placeholder", "onChange"])) : createCommentVNode("", !0),
9758
9746
  f.controlType === "month" ? (openBlock(), createBlock(p, {
9759
9747
  key: 5,
9760
9748
  modelValue: n.modelObj[f.propDbName],
9761
- "onUpdate:modelValue": (y) => n.modelObj[f.propDbName] = y,
9749
+ "onUpdate:modelValue": (S) => n.modelObj[f.propDbName] = S,
9762
9750
  size: f.size ? f.size : e.small,
9763
9751
  placeholder: f.nullLabel,
9764
9752
  type: "month",
9765
9753
  "value-format": "yyyy-MM",
9766
- onChange: (y) => i.searchGridData(f.controlType)
9754
+ onChange: (S) => i.searchGridData(f.controlType)
9767
9755
  }, null, 8, ["modelValue", "onUpdate:modelValue", "size", "placeholder", "onChange"])) : createCommentVNode("", !0)
9768
9756
  ], 64))
9769
9757
  ]))), 128))
@@ -9982,7 +9970,7 @@ const pageCustomComponent = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render",
9982
9970
  return this.position === "chart" ? "operation-area-chart" : this.position === "list" && this.toolbarRightShow ? "operation-area toolbar_flex" : this.position === "list" ? "operation-area" : this.formButtonPosition === "topLeft" ? "form-top-button" : "form-bottom-button";
9983
9971
  }
9984
9972
  },
9985
- emits: ["searchGridData", "getSystemRef", "prohibi-edit", "click"]
9973
+ emits: ["searchGridData", "getSystemRef", "prohibi-edit", "click", "workflowClick", "getPageParam"]
9986
9974
  }, _hoisted_1$7 = { style: { width: "100%" } }, _hoisted_2$4 = { style: { "white-space": "nowrap" } };
9987
9975
  function _sfc_render$j(e, t, o, s, n, i) {
9988
9976
  const a = resolveComponent("el-dropdown-item"), r = resolveComponent("el-dropdown-menu"), l = resolveComponent("el-dropdown"), c = resolveComponent("my-button"), u = resolveComponent("list-toolbar-page"), d = resolveComponent("page-custom-component"), m = resolveDirective("permission");
@@ -10003,21 +9991,21 @@ function _sfc_render$j(e, t, o, s, n, i) {
10003
9991
  dropdown: withCtx(() => [
10004
9992
  createVNode(r, null, {
10005
9993
  default: withCtx(() => [
10006
- (openBlock(!0), createElementBlock(Fragment, null, renderList(p.buttons, (_, y) => (openBlock(), createElementBlock("span", {
10007
- key: _.code + y
9994
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(p.buttons, (b, S) => (openBlock(), createElementBlock("span", {
9995
+ key: b.code + S
10008
9996
  }, [
10009
9997
  withDirectives((openBlock(), createBlock(a, {
10010
- command: _.code,
9998
+ command: b.code,
10011
9999
  disabled: e.preventReclick
10012
10000
  }, {
10013
10001
  default: withCtx(() => [
10014
- createTextVNode(toDisplayString$1(_.label ? _.label : _.code === "search" ? e.$t("superPageMessage.searchButtonLabel") : ""), 1)
10002
+ createTextVNode(toDisplayString$1(b.label ? b.label : b.code === "search" ? e.$t("superPageMessage.searchButtonLabel") : ""), 1)
10015
10003
  ]),
10016
10004
  _: 2
10017
10005
  }, 1032, ["command", "disabled"])), [
10018
10006
  [
10019
10007
  m,
10020
- o.permissionPrefix && o.permissionPrefix !== "" ? o.permissionPrefix + _.code : ""
10008
+ o.permissionPrefix && o.permissionPrefix !== "" ? o.permissionPrefix + b.code : ""
10021
10009
  ]
10022
10010
  ])
10023
10011
  ]))), 128))
@@ -10051,8 +10039,9 @@ function _sfc_render$j(e, t, o, s, n, i) {
10051
10039
  onClick: e.commonButtonClick,
10052
10040
  onWorkflowClick: e.workflowButtonClick,
10053
10041
  onProhibiEdit: i.fnProhibitToEdit,
10054
- onRefreshFrom: e.refreshFrom
10055
- }, null, 8, ["search-form-info", "button", "permission-prefix", "workflow-button-component", "position", "is-task-input", "table-name", "page-code", "work-name-color", "button-groups", "get-form-data", "selections", "form-data-fun", "get-system-ref", "form-button-position", "disabled", "onRefresh", "onClick", "onWorkflowClick", "onProhibiEdit", "onRefreshFrom"])) : createCommentVNode("", !0)
10042
+ onRefreshFrom: e.refreshFrom,
10043
+ onGetPageParam: e.getPageParam
10044
+ }, null, 8, ["search-form-info", "button", "permission-prefix", "workflow-button-component", "position", "is-task-input", "table-name", "page-code", "work-name-color", "button-groups", "get-form-data", "selections", "form-data-fun", "get-system-ref", "form-button-position", "disabled", "onRefresh", "onClick", "onWorkflowClick", "onProhibiEdit", "onRefreshFrom", "onGetPageParam"])) : createCommentVNode("", !0)
10056
10045
  ], 64))), 256))
10057
10046
  ]),
10058
10047
  o.listToolbarList ? (openBlock(), createBlock(u, {
@@ -10452,24 +10441,24 @@ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_re
10452
10441
  type: "warning"
10453
10442
  }
10454
10443
  ).then(() => {
10455
- const _ = a.isPermission === void 0 || a.isPermission === "true", y = {
10444
+ const b = a.isPermission === void 0 || a.isPermission === "true", S = {
10456
10445
  ids: e,
10457
10446
  formNoRuleCode: r,
10458
10447
  tableName: s,
10459
10448
  functionCode: a.functionCode,
10460
- isPermission: _ + ""
10449
+ isPermission: b + ""
10461
10450
  };
10462
- this.judgeHeavyList && (y.judgeHeavyList = JSON.stringify(this.judgeHeavyList)), a.dataConversionRule && (y.dataConversionRule = a.dataConversionRule.join(",")), a.autoSetValueData && (y.autoSetValueData = JSON.stringify(a.autoSetValueData)), a.logSetting && (y.logSettingText = a.logSetting), y.systemCode || (y.systemCode = t.code), a.taskMap && (y.taskMap = a.taskMap), n && (y.entityName = n), m && (y.beanName = m), u && (y.additionalParamMap = u), y.isWorkflowEntity = p;
10463
- let C;
10464
- a.code === "submit" ? C = "/dsc/commons/batch-submits" : a.code === "agree" ? C = "/dsc/commons/batch-approves" : a.code === "disagree" && (C = "/dsc/commons/batch-refuses");
10465
- const S = this.getSaveFormRequestByParam(
10451
+ this.judgeHeavyList && (S.judgeHeavyList = JSON.stringify(this.judgeHeavyList)), a.dataConversionRule && (S.dataConversionRule = a.dataConversionRule.join(",")), a.autoSetValueData && (S.autoSetValueData = JSON.stringify(a.autoSetValueData)), a.logSetting && (S.logSettingText = a.logSetting), S.systemCode || (S.systemCode = t.code), a.taskMap && (S.taskMap = a.taskMap), n && (S.entityName = n), m && (S.beanName = m), u && (S.additionalParamMap = u), S.isWorkflowEntity = p;
10452
+ let y;
10453
+ a.code === "submit" ? y = "/dsc/commons/batch-submits" : a.code === "agree" ? y = "/dsc/commons/batch-approves" : a.code === "disagree" && (y = "/dsc/commons/batch-refuses");
10454
+ const C = this.getSaveFormRequestByParam(
10466
10455
  t,
10467
10456
  o,
10468
- y,
10457
+ S,
10469
10458
  i,
10470
- C
10459
+ y
10471
10460
  );
10472
- S && (a.loading = !0, S.then((v) => {
10461
+ C && (a.loading = !0, C.then((P) => {
10473
10462
  this.refreshMyList(a.successOperation), this.$message({
10474
10463
  showClose: !0,
10475
10464
  type: "success",
@@ -10482,11 +10471,11 @@ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_re
10482
10471
  additionalParamMap: this.additionalParamMap
10483
10472
  }
10484
10473
  ), a.loading = !1;
10485
- }).catch((v) => {
10474
+ }).catch((P) => {
10486
10475
  this.refreshMyList(a.successOperation), a.loading = !1;
10487
10476
  }));
10488
- }).catch((_) => {
10489
- console.log(_);
10477
+ }).catch((b) => {
10478
+ console.log(b);
10490
10479
  });
10491
10480
  },
10492
10481
  // 获得字段类型集合
@@ -10661,32 +10650,32 @@ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_re
10661
10650
  })) : this.colSetting.options.listViewOrderProp && this.colSetting.options.listViewOrderMode && (f.initSortInfo = {
10662
10651
  order: this.colSetting.options.listViewOrderMode
10663
10652
  }, n ? f.initSortInfo.prop = this.colSetting.options.listViewOrderPropDbName : f.initSortInfo.prop = this.colSetting.options.listViewOrderProp), this.colSetting.options.isWithDataPermission && (f.isWithDataPermission = this.colSetting.options.isWithDataPermission);
10664
- const _ = this.colSetting.options.listViewTreeTableSetting;
10665
- if (_) {
10666
- const D = _.parentProp;
10653
+ const b = this.colSetting.options.listViewTreeTableSetting;
10654
+ if (b) {
10655
+ const D = b.parentProp;
10667
10656
  let F, M;
10668
10657
  if (D && D.indexOf("~~") > 0 && (F = D.substring(0, D.indexOf("~~")), M = D.substring(
10669
10658
  D.indexOf("~~") + 2
10670
10659
  )), n ? f.parentProp = M : f.parentProp = F, f.parentProp) {
10671
10660
  f.extraParam.listViewTreeSetting = JSON.stringify(
10672
- _
10661
+ b
10673
10662
  );
10674
- const $ = _.lazy;
10663
+ const $ = b.lazy;
10675
10664
  $ == null ? f.lazy = !0 : f.lazy = $;
10676
- const B = _.defaultExpandAll;
10665
+ const B = b.defaultExpandAll;
10677
10666
  B == null ? f.defaultExpandAll = !1 : f.defaultExpandAll = B, n && (f.subRowUrl = e + "/dsc/commons/list-subs");
10678
10667
  }
10679
10668
  }
10680
- const y = getStoreInfo(this.pageCode, "_pagePreview");
10681
- y !== void 0 && y === !0 && (f.loadBeforeSend = function() {
10669
+ const S = getStoreInfo(this.pageCode, "_pagePreview");
10670
+ S !== void 0 && S === !0 && (f.loadBeforeSend = function() {
10682
10671
  return !1;
10683
10672
  });
10684
- let C = getStoreInfo(this.pageCode, "_pageDevMode");
10685
- C == null && (C = !1), f.pageDevMode = C;
10686
- let S = "";
10687
- this.colSetting.options && this.colSetting.options.formNoRuleCode && (S = this.colSetting.options.formNoRuleCode);
10688
- let v;
10689
- this.colSetting.options && this.colSetting.options.listToolbarList && (v = this.colSetting.options.listToolbarList);
10673
+ let y = getStoreInfo(this.pageCode, "_pageDevMode");
10674
+ y == null && (y = !1), f.pageDevMode = y;
10675
+ let C = "";
10676
+ this.colSetting.options && this.colSetting.options.formNoRuleCode && (C = this.colSetting.options.formNoRuleCode);
10677
+ let P;
10678
+ this.colSetting.options && this.colSetting.options.listToolbarList && (P = this.colSetting.options.listToolbarList);
10690
10679
  const E = this.colSetting.baseSetting.modelCode;
10691
10680
  let I = "";
10692
10681
  this.colSetting.options && this.colSetting.options.importRuleCode && (I = this.colSetting.options.importRuleCode), f.isWorkflowEntity = o;
@@ -10698,7 +10687,7 @@ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_re
10698
10687
  D && (f.eventCallBack = D, this.colSetting.options.styleCustomMethod && this.colSetting.options.styleCustomMethod !== "" && D && D[this.colSetting.options.styleCustomMethod] && (f.rowStyleRender = D[this.colSetting.options.styleCustomMethod]));
10699
10688
  }
10700
10689
  return {
10701
- listToolbarList: v,
10690
+ listToolbarList: P,
10702
10691
  urlToListData: a,
10703
10692
  // 列表组件配置属性
10704
10693
  options: f,
@@ -10729,11 +10718,11 @@ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_re
10729
10718
  // 按钮的“自动设值”配置
10730
10719
  dataConversionRule: null,
10731
10720
  // 数据转换规则编码
10732
- formNoRuleCode: S,
10721
+ formNoRuleCode: C,
10733
10722
  // 表单编号规则
10734
10723
  importRuleCode: I,
10735
10724
  // 导入编码
10736
- isPreview: y,
10725
+ isPreview: S,
10737
10726
  // 是否是预览
10738
10727
  button: null,
10739
10728
  // 点击的当前按钮
@@ -10747,7 +10736,7 @@ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_re
10747
10736
  operationButtonObj: {},
10748
10737
  // 操作列按钮对象,key为按钮编码,value为按钮对象
10749
10738
  listEvents: N,
10750
- pageDevMode: C,
10739
+ pageDevMode: y,
10751
10740
  isShowPageDialog: !1,
10752
10741
  // 是否显示弹框页面
10753
10742
  isShowContentPageDialog: !1,
@@ -10807,7 +10796,8 @@ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_re
10807
10796
  n
10808
10797
  ), t.$refs.grid && t.$refs.grid.closePageDialog({
10809
10798
  entity: s,
10810
- pageCode: n
10799
+ pageCode: n,
10800
+ jumpInfo: o
10811
10801
  });
10812
10802
  }
10813
10803
  ), bus.$on(t.pageCode + "-refresh-tab", function({ tabCode: o, entity: s }) {
@@ -11701,10 +11691,10 @@ const formHead = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rende
11701
11691
  this.reviewButton(), this.$message.success(this.$t(o));
11702
11692
  },
11703
11693
  // 表单页面(非流程)-提交/同意/不同意
11704
- getSubmitFormRequest(e, t, o, s, n, i, a, r, l, c, u, d, m, p, f, _) {
11705
- const y = "superPageMessage.whetherToConfirm" + this.upperFirstCase(c);
11694
+ getSubmitFormRequest(e, t, o, s, n, i, a, r, l, c, u, d, m, p, f, b) {
11695
+ const S = "superPageMessage.whetherToConfirm" + this.upperFirstCase(c);
11706
11696
  this.$confirm(
11707
- this.$t(y, { name: a.label }),
11697
+ this.$t(S, { name: a.label }),
11708
11698
  this.$t("superPageMessage.tips"),
11709
11699
  {
11710
11700
  confirmButtonText: this.$t("superPageMessage.sure"),
@@ -11712,22 +11702,22 @@ const formHead = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rende
11712
11702
  type: "warning"
11713
11703
  }
11714
11704
  ).then(() => {
11715
- const C = a.isPermission === void 0 || a.isPermission === "true", S = {
11705
+ const y = a.isPermission === void 0 || a.isPermission === "true", C = {
11716
11706
  entity: e,
11717
11707
  tableName: s,
11718
11708
  formNoRuleCode: r,
11719
11709
  functionCode: a.functionCode,
11720
- isPermission: C + ""
11710
+ isPermission: y + ""
11721
11711
  };
11722
- this.judgeHeavyList && (S.judgeHeavyList = JSON.stringify(this.judgeHeavyList)), a.dataConversionRule && (S.dataConversionRule = a.dataConversionRule.join(",")), a.autoSetValueData && (S.autoSetValueData = JSON.stringify(a.autoSetValueData)), a.logSetting && (S.logSettingText = a.logSetting), a.taskMap && (S.taskMap = a.taskMap), S.systemCode || (S.systemCode = t.code), n && (S.entityName = n), f && (S.beanName = f), u && u.length > 0 && (S.ids = u), m && (S.needDeleteFileUuidS = m), p && (S.additionalParamMap = p), _ != null && (S.isWorkflowEntity = _), a.successOperation && a.successOperation === "noOperation" && (S.unControlVersion = !0), S.isBatchProcessing = d;
11723
- const v = this.getSaveFormRequestByParam(
11712
+ this.judgeHeavyList && (C.judgeHeavyList = JSON.stringify(this.judgeHeavyList)), a.dataConversionRule && (C.dataConversionRule = a.dataConversionRule.join(",")), a.autoSetValueData && (C.autoSetValueData = JSON.stringify(a.autoSetValueData)), a.logSetting && (C.logSettingText = a.logSetting), a.taskMap && (C.taskMap = a.taskMap), C.systemCode || (C.systemCode = t.code), n && (C.entityName = n), f && (C.beanName = f), u && u.length > 0 && (C.ids = u), m && (C.needDeleteFileUuidS = m), p && (C.additionalParamMap = p), b != null && (C.isWorkflowEntity = b), a.successOperation && a.successOperation === "noOperation" && (C.unControlVersion = !0), C.isBatchProcessing = d;
11713
+ const P = this.getSaveFormRequestByParam(
11724
11714
  t,
11725
11715
  o,
11726
- S,
11716
+ C,
11727
11717
  i,
11728
11718
  l
11729
11719
  );
11730
- return v && v.then((E) => {
11720
+ return P && P.then((E) => {
11731
11721
  this.dealAfterSaveForm(
11732
11722
  E,
11733
11723
  t.standard,
@@ -11738,7 +11728,7 @@ const formHead = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rende
11738
11728
  );
11739
11729
  }).catch((E) => {
11740
11730
  console.log("getSubmitFormRequest error", E);
11741
- }), v;
11731
+ }), P;
11742
11732
  }).catch(() => {
11743
11733
  });
11744
11734
  },
@@ -11856,19 +11846,19 @@ const formHead = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rende
11856
11846
  pageHeight: m
11857
11847
  };
11858
11848
  this.isViewDetail() && (p.fieldPermissions = [{ name: "all_fields", canEdit: !1 }]), p.devMode = r;
11859
- let _ = null;
11860
- this.colSetting.baseSetting.modelVersion && (_ = parseInt(this.colSetting.baseSetting.modelVersion));
11861
- const y = this.colSetting.baseSetting.modelCode;
11862
- let C = [];
11863
- const S = getStoreInfo(this.pageCode, "_pageEvents");
11864
- S && (C = S.formEvents), p.events = this.packageFormEvents(y);
11865
- let v = getStoreInfo(
11849
+ let b = null;
11850
+ this.colSetting.baseSetting.modelVersion && (b = parseInt(this.colSetting.baseSetting.modelVersion));
11851
+ const S = this.colSetting.baseSetting.modelCode;
11852
+ let y = [];
11853
+ const C = getStoreInfo(this.pageCode, "_pageEvents");
11854
+ C && (y = C.formEvents), p.events = this.packageFormEvents(S);
11855
+ let P = getStoreInfo(
11866
11856
  getStoreInfo(this.pageCode, "_pageCode"),
11867
11857
  "_formButtonPosition"
11868
11858
  );
11869
- return v || (v = "topLeft"), {
11870
- formViewCode: y,
11871
- formViewVersion: _,
11859
+ return P || (P = "topLeft"), {
11860
+ formViewCode: S,
11861
+ formViewVersion: b,
11872
11862
  tableName: this.colSetting.baseSetting.modelDataTableCode,
11873
11863
  entityName: e,
11874
11864
  beanName: t,
@@ -11905,7 +11895,7 @@ const formHead = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rende
11905
11895
  // 解析完的附加参数
11906
11896
  dataTypeMap: null,
11907
11897
  // 数据类型map集合,key为字段名,value为字段类型,优化保存速度
11908
- formEvents: C,
11898
+ formEvents: y,
11909
11899
  pathQuery: i,
11910
11900
  pageDevMode: r,
11911
11901
  refreshButton: !0,
@@ -11918,9 +11908,9 @@ const formHead = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rende
11918
11908
  // 是否是表单内部控件(超链接、按钮等)显示弹框
11919
11909
  jumpPageSetting: null,
11920
11910
  // 弹框页面的设置信息
11921
- customEvents: S ? S.customEvents : null,
11911
+ customEvents: C ? C.customEvents : null,
11922
11912
  isShowBuuton: !0,
11923
- formButtonPosition: v,
11913
+ formButtonPosition: P,
11924
11914
  pageType: "form",
11925
11915
  // 页面类型
11926
11916
  subTablePageInfo: {}
@@ -12076,7 +12066,7 @@ const formHead = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_rende
12076
12066
  systemCode: this.system.code,
12077
12067
  functionCode: this.permissionPrefix + ".get"
12078
12068
  };
12079
- !o.id && sessionStorage.getItem(this.$route.query._t_) && sessionStorage.getItem(this.$route.query._t_ + "_id") && (o.id = sessionStorage.getItem(this.$route.query._t_ + "_id")), this.ids && (o.ids = this.ids), this.notIdInitializationList && (o.noIdAndTaskIdInitSetting = JSON.stringify(
12069
+ !o.id && this.$route.query._t_ && sessionStorage.getItem(this.$route.query._t_ + "_id") && (o.id = sessionStorage.getItem(this.$route.query._t_ + "_id")), this.ids && (o.ids = this.ids), this.notIdInitializationList && (o.noIdAndTaskIdInitSetting = JSON.stringify(
12080
12070
  this.notIdInitializationList
12081
12071
  )), this.additionalParamMap && (o.additionalParamMap = JSON.parse(
12082
12072
  JSON.stringify(this.additionalParamMap)
@@ -12258,7 +12248,7 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12258
12248
  }
12259
12249
  },
12260
12250
  // 按钮组中各按钮的操作
12261
- clickWorflowButton(e, t, o, s, n, i, a, r, l, c, u, d, m, p, f, _, y, C, S, v, E, I, N, k) {
12251
+ clickWorflowButton(e, t, o, s, n, i, a, r, l, c, u, d, m, p, f, b, S, y, C, P, E, I, N, k) {
12262
12252
  if (e === "startInstance" || e === "update")
12263
12253
  this.startInstance(
12264
12254
  t,
@@ -12273,10 +12263,10 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12273
12263
  d,
12274
12264
  m,
12275
12265
  p,
12276
- _,
12277
- y,
12266
+ b,
12267
+ S,
12278
12268
  e,
12279
- v,
12269
+ P,
12280
12270
  E,
12281
12271
  I,
12282
12272
  N
@@ -12296,10 +12286,10 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12296
12286
  m,
12297
12287
  p,
12298
12288
  f,
12299
- _,
12300
- y,
12289
+ b,
12290
+ S,
12301
12291
  e,
12302
- v,
12292
+ P,
12303
12293
  E,
12304
12294
  I,
12305
12295
  N
@@ -12317,10 +12307,10 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12317
12307
  m,
12318
12308
  p,
12319
12309
  f,
12320
- _,
12321
- y,
12310
+ b,
12311
+ S,
12322
12312
  e,
12323
- v,
12313
+ P,
12324
12314
  E,
12325
12315
  I,
12326
12316
  N
@@ -12335,9 +12325,9 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12335
12325
  c,
12336
12326
  u,
12337
12327
  m,
12338
- y,
12328
+ S,
12339
12329
  e,
12340
- v,
12330
+ P,
12341
12331
  E,
12342
12332
  N
12343
12333
  );
@@ -12351,9 +12341,9 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12351
12341
  c,
12352
12342
  u,
12353
12343
  m,
12354
- y,
12344
+ S,
12355
12345
  e,
12356
- v,
12346
+ P,
12357
12347
  E,
12358
12348
  N
12359
12349
  );
@@ -12367,9 +12357,9 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12367
12357
  c,
12368
12358
  u,
12369
12359
  m,
12370
- y,
12360
+ S,
12371
12361
  e,
12372
- v,
12362
+ P,
12373
12363
  E,
12374
12364
  N
12375
12365
  );
@@ -12391,13 +12381,13 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12391
12381
  d,
12392
12382
  m,
12393
12383
  p,
12394
- _,
12384
+ b,
12395
12385
  D,
12396
- y,
12386
+ S,
12397
12387
  F,
12388
+ y,
12398
12389
  C,
12399
- S,
12400
- v,
12390
+ P,
12401
12391
  E,
12402
12392
  I,
12403
12393
  N,
@@ -12405,7 +12395,7 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12405
12395
  );
12406
12396
  }
12407
12397
  } else
12408
- e === "addSigner" ? this.addSigner() : e === "createCopyTask" ? this.createCopyTask() : e === "removeSigner" && this.removeSigner(t, c, s, y, N);
12398
+ e === "addSigner" ? this.addSigner() : e === "createCopyTask" ? this.createCopyTask() : e === "removeSigner" && this.removeSigner(t, c, s, S, N);
12409
12399
  },
12410
12400
  // 发起流程。保存按钮的操作
12411
12401
  startInstance(system, tableName, model, definitionId, emailTemplateCode, formViewCode, formViewVersion, myEntityName, myJsContent, formNoRuleCode, successOperation, dataConversionRule, autoSetValueData, logSettingText, buttonType, isNeedValueMapping, taskMap, needDeleteFileUuid, beanName) {
@@ -12827,6 +12817,22 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12827
12817
  this.showTaskInformitions = !1;
12828
12818
  });
12829
12819
  },
12820
+ // 自定义退回某环节
12821
+ customReturnTaskTo(e, t) {
12822
+ this.returnTaskTo(
12823
+ this.system,
12824
+ this.tableName,
12825
+ e,
12826
+ t,
12827
+ this.formViewCode,
12828
+ this.formViewVersion,
12829
+ this.entityName,
12830
+ this.myJsContent,
12831
+ this.successOperation,
12832
+ this.isNeedValueMapping,
12833
+ this.beanName
12834
+ );
12835
+ },
12830
12836
  // 退回到某环节,只能退回到已办理过的环节
12831
12837
  returnTaskTo(e, t, o, s, n, i, a, r, l, c, u) {
12832
12838
  let d;
@@ -12888,7 +12894,7 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12888
12894
  );
12889
12895
  },
12890
12896
  // 流程表单页面(非流程处理的)-提交/同意/不同意
12891
- submitForm(e, t, o, s, n, i, a, r, l, c, u, d, m, p, f, _, y, C, S, v, E) {
12897
+ submitForm(e, t, o, s, n, i, a, r, l, c, u, d, m, p, f, b, S, y, C, P, E) {
12892
12898
  let I;
12893
12899
  e.standard === !1 && (I = this.getBaseUrl(e) + d), this.transactTask(
12894
12900
  e,
@@ -12910,11 +12916,11 @@ const CommonFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc
12910
12916
  m,
12911
12917
  p,
12912
12918
  f,
12913
- _,
12919
+ b,
12920
+ S,
12914
12921
  y,
12915
12922
  C,
12916
- S,
12917
- v,
12923
+ P,
12918
12924
  E
12919
12925
  );
12920
12926
  },
@@ -13357,7 +13363,7 @@ function _sfc_render$e(e, t, o, s, n, i) {
13357
13363
  }, 8, ["title"])
13358
13364
  ]);
13359
13365
  }
13360
- const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e]]), workflowFormPage_vue_vue_type_style_index_0_scoped_7b8493da_lang = "", _sfc_main$d = {
13366
+ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e]]), workflowFormPage_vue_vue_type_style_index_0_scoped_fe5625ee_lang = "", _sfc_main$d = {
13361
13367
  name: "WorkflowFormPage",
13362
13368
  components: {
13363
13369
  ButtonGroup,
@@ -13418,19 +13424,19 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13418
13424
  p === void 0 && (p = !1);
13419
13425
  let f = getStoreInfo(this.pageCode, "_pageDevMode");
13420
13426
  f == null && (f = !1), d.devMode = f;
13421
- let _ = null;
13422
- this.colSetting.baseSetting.modelVersion && (_ = parseInt(this.colSetting.baseSetting.modelVersion));
13423
- const y = this.colSetting.baseSetting.modelCode;
13424
- let C = [];
13425
- const S = getStoreInfo(this.pageCode, "_pageEvents");
13426
- S && (C = S.formEvents), d.events = this.packageFormEvents(y);
13427
- let v = getStoreInfo(
13427
+ let b = null;
13428
+ this.colSetting.baseSetting.modelVersion && (b = parseInt(this.colSetting.baseSetting.modelVersion));
13429
+ const S = this.colSetting.baseSetting.modelCode;
13430
+ let y = [];
13431
+ const C = getStoreInfo(this.pageCode, "_pageEvents");
13432
+ C && (y = C.formEvents), d.events = this.packageFormEvents(S);
13433
+ let P = getStoreInfo(
13428
13434
  getStoreInfo(this.pageCode, "_pageCode"),
13429
13435
  "_formButtonPosition"
13430
13436
  );
13431
- return v || (v = "topLeft"), {
13432
- formViewCode: y,
13433
- formViewVersion: _,
13437
+ return P || (P = "topLeft"), {
13438
+ formViewCode: S,
13439
+ formViewVersion: b,
13434
13440
  tableName: this.colSetting.baseSetting.modelDataTableCode,
13435
13441
  entityName: o,
13436
13442
  beanName: s,
@@ -13506,7 +13512,7 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13506
13512
  // 解析好的附加参数
13507
13513
  dataTypeMap: null,
13508
13514
  // 数据类型map集合,key为字段名,value为字段类型,优化保存速度
13509
- formEvents: C,
13515
+ formEvents: y,
13510
13516
  // 表单事件维护
13511
13517
  logSetting: null,
13512
13518
  // 日志维护
@@ -13527,9 +13533,9 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13527
13533
  // 关闭弹框时是否需要字段映射
13528
13534
  firstNodeInfo: null,
13529
13535
  // 第一节点的信息
13530
- customEvents: S ? S.customEvents : null,
13536
+ customEvents: C ? C.customEvents : null,
13531
13537
  isShowBuuton: !1,
13532
- formButtonPosition: v,
13538
+ formButtonPosition: P,
13533
13539
  // 表单按钮显示位置,
13534
13540
  pageType: "form",
13535
13541
  // 页面类型
@@ -13595,21 +13601,21 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13595
13601
  e && e.currentLinkNameColor && (this.workNameColor = e.currentLinkNameColor);
13596
13602
  },
13597
13603
  // 响应点击流程按钮
13598
- clickWorkflowButtonOn(e, t, o, s, n) {
13604
+ clickWorkflowButtonOn(e, t, o, s, n, i) {
13599
13605
  if (console.log("clickWorkflowButtonOn-eventSetting", o), this.isPreview)
13600
13606
  return;
13601
- let i = !1;
13602
- o && typeof o.isRequired < "u" ? i = o.isRequired : this.isDealFlowButton(e) && (i = !0), (e === "startInstance" || e === "update") && (i = !1), this.isEnableRequired = i, this.saveWorkflowFormData(i).then(async (a) => {
13603
- if (a && a !== !1) {
13604
- let r = this.formViewCode + "__" + e;
13605
- e === "update" && (r = this.formViewCode + "__startInstance");
13606
- let l = this.callBeforeClickButton(
13607
+ let a = !1;
13608
+ o && typeof o.isRequired < "u" ? a = o.isRequired : this.isDealFlowButton(e) && (a = !0), (e === "startInstance" || e === "update") && (a = !1), this.isEnableRequired = a, this.saveWorkflowFormData(a).then(async (r) => {
13609
+ if (r && r !== !1) {
13610
+ let l = this.formViewCode + "__" + e;
13611
+ e === "update" && (l = this.formViewCode + "__startInstance");
13612
+ let c = this.callBeforeClickButton(
13607
13613
  this.formEvents,
13608
- r,
13614
+ l,
13609
13615
  {
13610
13616
  params: this.additionalParamMap,
13611
13617
  additionalParamMap: this.additionalParamMap,
13612
- entity: a,
13618
+ entity: r,
13613
13619
  operation: t,
13614
13620
  eventSetting: o,
13615
13621
  button: s,
@@ -13617,26 +13623,26 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13617
13623
  subTablePageInfo: this.subTablePageInfo
13618
13624
  }
13619
13625
  );
13620
- if (console.log("点击前事件返回结果-------", l), isPromise(l) && await l.then((c) => {
13621
- console.log("点击前事件返回结果--Promise--resolve---", c), l = c;
13622
- }), !l) {
13626
+ if (console.log("点击前事件返回结果-------", c), isPromise(c) && await c.then((u) => {
13627
+ console.log("点击前事件返回结果--Promise--resolve---", u), c = u;
13628
+ }), !c) {
13623
13629
  this.hasLoaded = !0;
13624
13630
  return;
13625
13631
  }
13626
- isPromise(l) ? l.then((c) => {
13627
- c && this.clickWorkflowButtonOnSuccess(
13632
+ isPromise(c) ? c.then((u) => {
13633
+ u && this.clickWorkflowButtonOnSuccess(
13628
13634
  e,
13629
13635
  t,
13630
13636
  o,
13631
13637
  s,
13632
- a
13638
+ r
13633
13639
  );
13634
13640
  }) : this.clickWorkflowButtonOnSuccess(
13635
13641
  e,
13636
13642
  t,
13637
13643
  o,
13638
13644
  s,
13639
- a
13645
+ r
13640
13646
  );
13641
13647
  }
13642
13648
  });
@@ -13660,7 +13666,7 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13660
13666
  let u = null;
13661
13667
  o && o.taskMap && typeof o.taskMap < "u" && (u = o.taskMap);
13662
13668
  const d = this.getNeedDeleteFileUuidS();
13663
- e === "returnTaskTo" ? (this.dataConversionRule = l, this.getTaskInformitions(this.system, this.entityName, this.beanName)) : e === "returnToPreviousTask" ? this.returnToPreviousTask(
13669
+ e === "returnTaskTo" ? (this.dataConversionRule = l, this.getTaskInformitions(this.system, this.entityName, this.beanName)) : e === "customReturnTaskTo" ? this.customReturnTaskTo(n, clickParam.selectTaskNode) : e === "returnToPreviousTask" ? this.returnToPreviousTask(
13664
13670
  this.system,
13665
13671
  this.tableName,
13666
13672
  n,
@@ -13727,7 +13733,7 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13727
13733
  return;
13728
13734
  }
13729
13735
  let o = !1;
13730
- typeof e.isRequired > "u" && e.code === "exportForm" && (o = !1), typeof e.isRequired < "u" && (o = e.isRequired), t.saveWorkflowFormData(o).then(async (s) => {
13736
+ typeof e.isRequired > "u" && (e.code === "exportForm" || e.code === "exportPDF") && (o = !1), typeof e.isRequired < "u" && (o = e.isRequired), t.saveWorkflowFormData(o).then(async (s) => {
13731
13737
  if (s && s !== !1) {
13732
13738
  let n = this.callBeforeClickButton(
13733
13739
  this.formEvents,
@@ -13801,7 +13807,7 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13801
13807
  u,
13802
13808
  this.beanName,
13803
13809
  e
13804
- ) : e.code === "exportForm" ? this.exportFormReport(
13810
+ ) : e.code === "exportForm" || e.code === "exportPDF" ? this.exportFormReport(
13805
13811
  e.templateUUID,
13806
13812
  e.templateShowPath,
13807
13813
  i,
@@ -13918,7 +13924,7 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13918
13924
  isWorkflowEntity: !0,
13919
13925
  functionCode: this.permissionPrefix + ".get"
13920
13926
  }, o = this.getBaseUrl(this.system) + "/dsc/workflow-commons/gets";
13921
- this.ids && (e.ids = this.ids), this.taskId ? e.taskId = this.taskId : this.dataId ? e.id = this.dataId : (sessionStorage.getItem(this.$route.query._t_) && sessionStorage.getItem(this.$route.query._t_ + "_id") && (e.id = sessionStorage.getItem(this.$route.query._t_ + "_id")), this.notIdInitializationList && (e.noIdAndTaskIdInitSetting = JSON.stringify(
13927
+ this.ids && (e.ids = this.ids), this.taskId ? e.taskId = this.taskId : this.dataId ? e.id = this.dataId : (this.$route.query._t_ && sessionStorage.getItem(this.$route.query._t_ + "_id") && (e.id = sessionStorage.getItem(this.$route.query._t_ + "_id")), this.notIdInitializationList && (e.noIdAndTaskIdInitSetting = JSON.stringify(
13922
13928
  this.notIdInitializationList
13923
13929
  ))), this.additionalParamMap && (e.additionalParamMap = JSON.parse(
13924
13930
  JSON.stringify(this.additionalParamMap)
@@ -13956,11 +13962,11 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
13956
13962
  u.forEach((m) => {
13957
13963
  if (m === "__subRules") {
13958
13964
  const p = d.__subRules;
13959
- Object.keys(p).forEach((_) => {
13960
- l.subRules || (l.subRules = {}), l.subRules[_] ? Object.assign(
13961
- l.subRules[_],
13962
- p[_]
13963
- ) : l.subRules[_] = p[_];
13965
+ Object.keys(p).forEach((b) => {
13966
+ l.subRules || (l.subRules = {}), l.subRules[b] ? Object.assign(
13967
+ l.subRules[b],
13968
+ p[b]
13969
+ ) : l.subRules[b] = p[b];
13964
13970
  });
13965
13971
  } else
13966
13972
  l[m] = d[m];
@@ -14097,6 +14103,9 @@ const RemoveSignerDialog = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render",
14097
14103
  refresMainTableFields(e) {
14098
14104
  if (console.log("this.$refs.superForm", this.$refs.superForm), this.$refs.superForm)
14099
14105
  return this.reviewButton(e), this.$refs.superForm.refresMainTableFields(e);
14106
+ },
14107
+ getFormPageParam(e, t) {
14108
+ t(this[e]);
14100
14109
  }
14101
14110
  },
14102
14111
  emits: []
@@ -14128,8 +14137,9 @@ function _sfc_render$d(e, t, o, s, n, i) {
14128
14137
  onWorkflowClick: i.clickWorkflowButtonOn,
14129
14138
  onClick: i.clickWorkflowExtensionButtonOn,
14130
14139
  onRefreshFrom: i.clickRefreshFrom,
14131
- onProhibiEdit: i.fnProhibitToEdit
14132
- }, null, 8, ["button-groups", "permission-prefix", "is-task-input", "workflow-button-component", "table-name", "work-name-color", "task-name", "button-area-custom-component-arr", "form-button-position", "class", "page-code", "form-data-fun", "get-form-data", "onRefresh", "onWorkflowClick", "onClick", "onRefreshFrom", "onProhibiEdit"])) : createCommentVNode("", !0),
14140
+ onProhibiEdit: i.fnProhibitToEdit,
14141
+ onGetPageParam: i.getFormPageParam
14142
+ }, null, 8, ["button-groups", "permission-prefix", "is-task-input", "workflow-button-component", "table-name", "work-name-color", "task-name", "button-area-custom-component-arr", "form-button-position", "class", "page-code", "form-data-fun", "get-form-data", "onRefresh", "onWorkflowClick", "onClick", "onRefreshFrom", "onProhibiEdit", "onGetPageParam"])) : createCommentVNode("", !0),
14133
14143
  n.formTitle || n.formNo || n.formNoLabel ? (openBlock(), createBlock(r, {
14134
14144
  key: 1,
14135
14145
  "form-title": n.formTitle,
@@ -14197,7 +14207,7 @@ function _sfc_render$d(e, t, o, s, n, i) {
14197
14207
  }, null, 8, ["preview", "dev-mode", "jump-page-setting", "onUpdateValue", "onClose"])) : createCommentVNode("", !0)
14198
14208
  ]);
14199
14209
  }
14200
- const WorkflowFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-7b8493da"]]), _sfc_main$c = {
14210
+ const WorkflowFormPage = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-fe5625ee"]]), _sfc_main$c = {
14201
14211
  name: "FormPage",
14202
14212
  components: {
14203
14213
  CommonFormPage,
@@ -14767,8 +14777,9 @@ const GroupTag = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_rende
14767
14777
  permissionPrefix: o,
14768
14778
  additionalParamMap: null,
14769
14779
  // 解析好的附加参数
14770
- isTabChartView: a
14780
+ isTabChartView: a,
14771
14781
  // 是否是图表tab页签页面,如果是,图表显示时不需要使用card显示。
14782
+ maxHeight: window.innerHeight - 120
14772
14783
  };
14773
14784
  },
14774
14785
  computed: {
@@ -14835,7 +14846,7 @@ const GroupTag = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_rende
14835
14846
  }
14836
14847
  },
14837
14848
  emits: ["prohibi-edit", "update-value", "export"]
14838
- }, _hoisted_1$2 = { key: 7 }, _hoisted_2$1 = { key: 8 };
14849
+ }, _hoisted_1$2 = ["id"], _hoisted_2$1 = { key: 8 };
14839
14850
  function _sfc_render$8(e, t, o, s, n, i) {
14840
14851
  const a = resolveComponent("el-button"), r = resolveComponent("list-page"), l = resolveComponent("form-page"), c = resolveComponent("chart-query-page"), u = resolveComponent("chart-view-page"), d = resolveComponent("workflow-history-list"), m = resolveComponent("workflow-history"), p = resolveComponent("group-tag"), f = resolveDirective("permission");
14841
14852
  return openBlock(), createElementBlock("div", {
@@ -14850,7 +14861,7 @@ function _sfc_render$8(e, t, o, s, n, i) {
14850
14861
  plain: o.col.options.buttonPlain ? o.col.options.buttonPlain : !1,
14851
14862
  round: o.col.options.buttonRound ? o.col.options.buttonRound : !1,
14852
14863
  circle: o.col.options.buttonCircle ? o.col.options.buttonCircle : !1,
14853
- onClick: t[0] || (t[0] = (_) => e.clickButtonEvent(o.col, n.system))
14864
+ onClick: t[0] || (t[0] = (b) => e.clickButtonEvent(o.col, n.system))
14854
14865
  }, {
14855
14866
  default: withCtx(() => [
14856
14867
  createTextVNode(toDisplayString$1(e.$t(o.col.baseSetting.label)), 1)
@@ -14906,16 +14917,20 @@ function _sfc_render$8(e, t, o, s, n, i) {
14906
14917
  key: 0,
14907
14918
  ref: "historyList",
14908
14919
  "workflow-id": o.workflowId,
14909
- "max-height": o.col.options.height
14910
- }, null, 8, ["workflow-id", "max-height"])) : o.col.baseSetting.type === "workflowHistoryGraph" ? (openBlock(), createBlock(m, {
14920
+ style: normalizeStyle({ maxHeight: n.maxHeight + "px" })
14921
+ }, null, 8, ["workflow-id", "style"])) : o.col.baseSetting.type === "workflowHistoryGraph" ? (openBlock(), createBlock(m, {
14911
14922
  key: 1,
14912
14923
  id: o.workflowId,
14913
- ref: "historyGraph"
14914
- }, null, 8, ["id"])) : createCommentVNode("", !0)
14924
+ ref: "historyGraph",
14925
+ style: normalizeStyle({ maxHeight: n.maxHeight + "px" })
14926
+ }, null, 8, ["id", "style"])) : createCommentVNode("", !0)
14915
14927
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
14916
14928
  createTextVNode(toDisplayString$1(e.$t("superPage.unSubmitProcess")), 1)
14917
14929
  ], 64))
14918
- ], 64)) : o.col.baseSetting.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_1$2, toDisplayString$1(o.col.baseSetting.label), 1)) : o.col.baseSetting.type === "placeholder" || o.col.baseSetting.type === "enter" ? (openBlock(), createElementBlock("div", _hoisted_2$1)) : o.col.baseSetting.type === "groupTag" ? (openBlock(), createBlock(p, {
14930
+ ], 64)) : o.col.baseSetting.type === "label" ? (openBlock(), createElementBlock("div", {
14931
+ key: 7,
14932
+ id: o.col.baseSetting.componentCode
14933
+ }, toDisplayString$1(o.col.baseSetting.label), 9, _hoisted_1$2)) : o.col.baseSetting.type === "placeholder" || o.col.baseSetting.type === "enter" ? (openBlock(), createElementBlock("div", _hoisted_2$1)) : o.col.baseSetting.type === "groupTag" ? (openBlock(), createBlock(p, {
14919
14934
  key: 9,
14920
14935
  label: o.col.baseSetting.label
14921
14936
  }, null, 8, ["label"])) : createCommentVNode("", !0)
@@ -15623,7 +15638,7 @@ const TabPage = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render
15623
15638
  };
15624
15639
  let a;
15625
15640
  const r = window.$vueApp.config.globalProperties.baseURL + "/dsc/commons/exportChart";
15626
- axios$1.defaults.headers.common.Authorization = Cookies.get("JWT"), a = axios$1.post(r, i, { responseType: "blob" }), a.then((l) => {
15641
+ axios$1.defaults.headers.common.Authorization = api$1.get("JWT"), a = axios$1.post(r, i, { responseType: "blob" }), a.then((l) => {
15627
15642
  const c = document.createElement("a");
15628
15643
  c.style.display = "none", c.href = URL.createObjectURL(l.data), c.setAttribute("download", s + ".xlsx"), document.body.appendChild(c), c.click(), document.body.removeChild(c);
15629
15644
  });
@@ -15706,9 +15721,9 @@ function _sfc_render$3(e, t, o, s, n, i) {
15706
15721
  n.isTabChartView ? (openBlock(), createElementBlock("div", _hoisted_2, [
15707
15722
  (openBlock(!0), createElementBlock(Fragment, null, renderList(n.pageSettingList, (m, p) => (openBlock(), createBlock(l, { key: p }, {
15708
15723
  default: withCtx(() => [
15709
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.colList, (f, _) => (openBlock(), createElementBlock(Fragment, null, [
15724
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(m.colList, (f, b) => (openBlock(), createElementBlock(Fragment, null, [
15710
15725
  !n.chartQuerySetting || n.isTabView || n.chartQuerySetting && n.chartQuerySetting.baseSetting.modelCode !== f.baseSetting.modelCode ? (openBlock(), createBlock(r, {
15711
- key: _,
15726
+ key: b,
15712
15727
  span: f.options && f.options.colWidth ? f.options.colWidth : 24,
15713
15728
  class: normalizeClass({
15714
15729
  placeholder: f.baseSetting.type === "placeholder" || f.baseSetting.type === "enter",
@@ -15740,9 +15755,9 @@ function _sfc_render$3(e, t, o, s, n, i) {
15740
15755
  }, [
15741
15756
  (openBlock(!0), createElementBlock(Fragment, null, renderList(n.pageSettingList, (m, p) => (openBlock(), createBlock(l, { key: p }, {
15742
15757
  default: withCtx(() => [
15743
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.colList, (f, _) => (openBlock(), createElementBlock(Fragment, null, [
15758
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(m.colList, (f, b) => (openBlock(), createElementBlock(Fragment, null, [
15744
15759
  n.isListView ? (openBlock(), createBlock(r, {
15745
- key: _,
15760
+ key: b,
15746
15761
  span: i.getMyColWidth(f),
15747
15762
  class: normalizeClass({
15748
15763
  placeholder: f.baseSetting.type === "placeholder" || f.baseSetting.type === "enter"
@@ -15777,9 +15792,9 @@ function _sfc_render$3(e, t, o, s, n, i) {
15777
15792
  gutter: 16
15778
15793
  }, {
15779
15794
  default: withCtx(() => [
15780
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.colList, (f, _) => (openBlock(), createElementBlock(Fragment, null, [
15795
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(m.colList, (f, b) => (openBlock(), createElementBlock(Fragment, null, [
15781
15796
  n.isChartView && f.baseSetting.type !== "chartQuery" ? (openBlock(), createBlock(r, {
15782
- key: _,
15797
+ key: b,
15783
15798
  span: i.getMyColWidth(f),
15784
15799
  class: normalizeClass({
15785
15800
  placeholder: f.baseSetting.type === "placeholder" || f.baseSetting.type === "enter"
@@ -15808,9 +15823,9 @@ function _sfc_render$3(e, t, o, s, n, i) {
15808
15823
  ])) : (openBlock(), createElementBlock("div", _hoisted_4, [
15809
15824
  (openBlock(!0), createElementBlock(Fragment, null, renderList(n.pageSettingList, (m, p) => (openBlock(), createBlock(l, { key: p }, {
15810
15825
  default: withCtx(() => [
15811
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.colList, (f, _) => (openBlock(), createElementBlock(Fragment, null, [
15826
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(m.colList, (f, b) => (openBlock(), createElementBlock(Fragment, null, [
15812
15827
  !n.chartQuerySetting || n.isTabView || n.chartQuerySetting && n.chartQuerySetting.baseSetting.modelCode !== f.baseSetting.modelCode ? (openBlock(), createBlock(r, {
15813
- key: _,
15828
+ key: b,
15814
15829
  span: f.options && f.options.colWidth ? f.options.colWidth : 24,
15815
15830
  class: normalizeClass({
15816
15831
  placeholder: f.baseSetting.type === "placeholder" || f.baseSetting.type === "enter"