@skyfox2000/webui 1.5.16 → 1.5.17

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.
@@ -1,16 +1,16 @@
1
1
  var dr = Object.defineProperty;
2
2
  var mr = (e, t, a) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var ne = (e, t, a) => mr(e, typeof t != "symbol" ? t + "" : t, a);
4
- import * as Ra from "vue";
5
- import { effectScope as pr, ref as R, shallowRef as ke, computed as et, watch as B, isRef as _r, defineComponent as De, h as ye, Fragment as Ke, inject as at, onMounted as Rt, onUnmounted as ut, createVNode as Ye, Text as gr, nextTick as hr, provide as wa, toRaw as fs, reactive as Er, createBlock as zt, createCommentVNode as rt, openBlock as le, unref as X, mergeProps as wt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as Me, createTextVNode as ta, toDisplayString as Be, renderList as an, normalizeClass as ds, createElementVNode as vr } from "vue";
4
+ import * as wa from "vue";
5
+ import { effectScope as pr, ref as R, shallowRef as ke, computed as et, watch as B, isRef as _r, defineComponent as De, h as ye, Fragment as Ke, inject as at, onMounted as Rt, onUnmounted as ft, createVNode as Ye, Text as gr, nextTick as hr, provide as ka, toRaw as fs, reactive as Er, createBlock as zt, createCommentVNode as rt, openBlock as le, unref as X, mergeProps as wt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as Me, createTextVNode as ta, toDisplayString as Be, renderList as nn, normalizeClass as ds, createElementVNode as vr } from "vue";
6
6
  import { Switch as br, AutoComplete as yr, Input as Ir, CheckboxGroup as Nr, Checkbox as Sr, RadioGroup as Tr, Radio as Lr, Select as Or, SelectOption as Ar } from "ant-design-vue";
7
7
  import { createPinia as Pr, defineStore as kt } from "pinia";
8
8
  import Rr from "pinia-plugin-persistedstate";
9
9
  import { EnvConfig as Jt, AppAction as Sn, AppSource as Tn, isMicroApp as Ce, isBaseMicroApp as wr, combineParams as Dt } from "@skyfox2000/microbase";
10
- import { httpPost as Xe, ResStatus as ie, setToken as Ht, fieldMapping as kr, parseFieldTemplate as Qt, API_HOST as ka, SERVER_HOST as Dr } from "@skyfox2000/fapi";
10
+ import { httpPost as Xe, ResStatus as ie, setToken as Ht, fieldMapping as kr, parseFieldTemplate as Qt, API_HOST as Da, SERVER_HOST as Dr } from "@skyfox2000/fapi";
11
11
  import se from "vue-m-message";
12
12
  import { createRouter as Cr, createWebHashHistory as Fr } from "vue-router";
13
- import nn from "async-validator";
13
+ import aa from "async-validator";
14
14
  import "dayjs";
15
15
  import "vue-draggable-next";
16
16
  const Mr = Pr();
@@ -40,10 +40,10 @@ if (process.env.NODE_ENV !== "production") {
40
40
  });
41
41
  }
42
42
  const Ur = /\{([0-9a-zA-Z]+)\}/g;
43
- function aa(e, ...t) {
43
+ function na(e, ...t) {
44
44
  return t.length === 1 && U(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Ur, (a, n) => t.hasOwnProperty(n) ? t[n] : "");
45
45
  }
46
- const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), xr = (e, t, a) => Vr({ l: e, k: t, s: a }), Vr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), $r = (e) => rn(e) === "[object Date]", ot = (e) => rn(e) === "[object RegExp]", na = (e) => F(e) && Object.keys(e).length === 0, te = Object.assign, Hr = Object.create, W = (e = null) => Hr(e);
46
+ const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), xr = (e, t, a) => Vr({ l: e, k: t, s: a }), Vr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), $r = (e) => rn(e) === "[object Date]", ot = (e) => rn(e) === "[object RegExp]", sa = (e) => F(e) && Object.keys(e).length === 0, te = Object.assign, Hr = Object.create, W = (e = null) => Hr(e);
47
47
  let On;
48
48
  const We = () => On || (On = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
49
49
  function An(e) {
@@ -136,7 +136,7 @@ function Bt(e, t) {
136
136
  function jr(e, t, a) {
137
137
  return { line: e, column: t, offset: a };
138
138
  }
139
- function Va(e, t, a) {
139
+ function $a(e, t, a) {
140
140
  return { start: e, end: t };
141
141
  }
142
142
  const D = {
@@ -182,8 +182,8 @@ const D = {
182
182
  // minimizer error messages
183
183
  [D.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
184
184
  };
185
- function ft(e, t, a = {}) {
186
- const { domain: n, messages: s, args: r } = a, o = process.env.NODE_ENV !== "production" ? aa((s || Qr)[e] || "", ...r || []) : e, l = new SyntaxError(String(o));
185
+ function dt(e, t, a = {}) {
186
+ const { domain: n, messages: s, args: r } = a, o = process.env.NODE_ENV !== "production" ? na((s || Qr)[e] || "", ...r || []) : e, l = new SyntaxError(String(o));
187
187
  return l.code = e, t && (l.location = t), l.domain = n, l;
188
188
  }
189
189
  function Xr(e) {
@@ -246,7 +246,7 @@ function ro(e, t = {}) {
246
246
  function g(u, f, N, ...k) {
247
247
  const j = c();
248
248
  if (f.column += N, f.offset += N, m) {
249
- const q = a ? Va(j.startLoc, f) : null, V = ft(u, q, {
249
+ const q = a ? $a(j.startLoc, f) : null, V = dt(u, q, {
250
250
  domain: so,
251
251
  args: k
252
252
  });
@@ -256,7 +256,7 @@ function ro(e, t = {}) {
256
256
  function p(u, f, N) {
257
257
  u.endLoc = r(), u.currentType = f;
258
258
  const k = { type: f };
259
- return a && (k.loc = Va(u.startLoc, u.endLoc)), N != null && (k.value = N), k;
259
+ return a && (k.loc = $a(u.startLoc, u.endLoc)), N != null && (k.value = N), k;
260
260
  }
261
261
  const I = (u) => p(
262
262
  u,
@@ -372,10 +372,10 @@ function ro(e, t = {}) {
372
372
  f === 95 || // _
373
373
  f === 36;
374
374
  }
375
- function _a(u) {
375
+ function ga(u) {
376
376
  return Q(u, qe);
377
377
  }
378
- function ga(u) {
378
+ function ha(u) {
379
379
  const f = u.charCodeAt(0);
380
380
  return f >= 97 && f <= 122 || // a-z
381
381
  f >= 65 && f <= 90 || // A-Z
@@ -384,32 +384,32 @@ function ro(e, t = {}) {
384
384
  f === 36 || // $
385
385
  f === 45;
386
386
  }
387
- function ha(u) {
388
- return Q(u, ga);
389
- }
390
387
  function Ea(u) {
391
- const f = u.charCodeAt(0);
392
- return f >= 48 && f <= 57;
388
+ return Q(u, ha);
393
389
  }
394
390
  function va(u) {
395
- return Q(u, Ea);
391
+ const f = u.charCodeAt(0);
392
+ return f >= 48 && f <= 57;
396
393
  }
397
394
  function ba(u) {
395
+ return Q(u, va);
396
+ }
397
+ function ya(u) {
398
398
  const f = u.charCodeAt(0);
399
399
  return f >= 48 && f <= 57 || // 0-9
400
400
  f >= 65 && f <= 70 || // A-F
401
401
  f >= 97 && f <= 102;
402
402
  }
403
403
  function Ae(u) {
404
- return Q(u, ba);
404
+ return Q(u, ya);
405
405
  }
406
- function mt(u) {
406
+ function pt(u) {
407
407
  let f = "", N = "";
408
- for (; f = va(u); )
408
+ for (; f = ba(u); )
409
409
  N += f;
410
410
  return N;
411
411
  }
412
- function ya(u) {
412
+ function Ia(u) {
413
413
  let f = "";
414
414
  for (; ; ) {
415
415
  const N = u.currentChar();
@@ -428,10 +428,10 @@ function ro(e, t = {}) {
428
428
  }
429
429
  return f;
430
430
  }
431
- function Ia(u) {
431
+ function Na(u) {
432
432
  O(u);
433
433
  let f = "", N = "";
434
- for (; f = ha(u); )
434
+ for (; f = Ea(u); )
435
435
  N += f;
436
436
  const k = u.currentChar();
437
437
  if (k && k !== "}" && k !== Pe && k !== Se && k !== re && k !== " ") {
@@ -440,23 +440,23 @@ function ro(e, t = {}) {
440
440
  }
441
441
  return u.currentChar() === Pe && g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), N;
442
442
  }
443
- function Na(u) {
443
+ function Sa(u) {
444
444
  O(u);
445
445
  let f = "";
446
- return u.currentChar() === "-" ? (u.next(), f += `-${mt(u)}`) : f += mt(u), u.currentChar() === Pe && g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), f;
446
+ return u.currentChar() === "-" ? (u.next(), f += `-${pt(u)}`) : f += pt(u), u.currentChar() === Pe && g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), f;
447
447
  }
448
- function Sa(u) {
448
+ function Ta(u) {
449
449
  return u !== wn && u !== re;
450
450
  }
451
451
  function In(u) {
452
452
  O(u), P(u, "'");
453
453
  let f = "", N = "";
454
- for (; f = Q(u, Sa); )
455
- f === "\\" ? N += Ta(u) : N += f;
454
+ for (; f = Q(u, Ta); )
455
+ f === "\\" ? N += La(u) : N += f;
456
456
  const k = u.currentChar();
457
457
  return k === re || k === Pe ? (g(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), k === re && (u.next(), P(u, "'")), N) : (P(u, "'"), N);
458
458
  }
459
- function Ta(u) {
459
+ function La(u) {
460
460
  const f = u.currentChar();
461
461
  switch (f) {
462
462
  case "\\":
@@ -483,30 +483,30 @@ function ro(e, t = {}) {
483
483
  }
484
484
  return `\\${f}${k}`;
485
485
  }
486
- function La(u) {
486
+ function Oa(u) {
487
487
  return u !== "{" && u !== "}" && u !== Se && u !== re;
488
488
  }
489
489
  function Vt(u) {
490
490
  O(u);
491
491
  let f = "", N = "";
492
- for (; f = Q(u, La); )
492
+ for (; f = Q(u, Oa); )
493
493
  N += f;
494
494
  return N;
495
495
  }
496
- function Oa(u) {
496
+ function Aa(u) {
497
497
  let f = "", N = "";
498
- for (; f = _a(u); )
498
+ for (; f = ga(u); )
499
499
  N += f;
500
500
  return N;
501
501
  }
502
- function Aa(u) {
502
+ function Pa(u) {
503
503
  const f = (N) => {
504
504
  const k = u.currentChar();
505
505
  return k === "{" || k === "@" || k === "|" || k === "(" || k === ")" || !k || k === Se ? N : (N += k, u.next(), f(N));
506
506
  };
507
507
  return f("");
508
508
  }
509
- function pt(u) {
509
+ function _t(u) {
510
510
  O(u);
511
511
  const f = P(
512
512
  u,
@@ -515,7 +515,7 @@ function ro(e, t = {}) {
515
515
  );
516
516
  return O(u), f;
517
517
  }
518
- function _t(u, f) {
518
+ function gt(u, f) {
519
519
  let N = null;
520
520
  switch (u.currentChar()) {
521
521
  case "{":
@@ -537,13 +537,13 @@ function ro(e, t = {}) {
537
537
  default: {
538
538
  let j = !0, q = !0, V = !0;
539
539
  if (K(u))
540
- return f.braceNest > 0 && g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), N = p(f, 1, pt(u)), f.braceNest = 0, f.inLinked = !1, N;
540
+ return f.braceNest > 0 && g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), N = p(f, 1, _t(u)), f.braceNest = 0, f.inLinked = !1, N;
541
541
  if (f.braceNest > 0 && (f.currentType === 4 || f.currentType === 5 || f.currentType === 6))
542
- return g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), f.braceNest = 0, gt(u, f);
542
+ return g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), f.braceNest = 0, ht(u, f);
543
543
  if (j = y(u, f))
544
- return N = p(f, 4, Ia(u)), O(u), N;
544
+ return N = p(f, 4, Na(u)), O(u), N;
545
545
  if (q = E(u, f))
546
- return N = p(f, 5, Na(u)), O(u), N;
546
+ return N = p(f, 5, Sa(u)), O(u), N;
547
547
  if (V = b(u, f))
548
548
  return N = p(f, 6, In(u)), O(u), N;
549
549
  if (!j && !q && !V)
@@ -580,21 +580,21 @@ function ro(e, t = {}) {
580
580
  /* TokenChars.LinkedDelimiter */
581
581
  );
582
582
  default:
583
- return K(u) ? (k = p(f, 1, pt(u)), f.braceNest = 0, f.inLinked = !1, k) : L(u, f) || C(u, f) ? (O(u), Ve(u, f)) : v(u, f) ? (O(u), p(f, 11, Oa(u))) : M(u, f) ? (O(u), j === "{" ? _t(u, f) || k : p(f, 10, Aa(u))) : (N === 7 && g(D.INVALID_LINKED_FORMAT, r(), 0), f.braceNest = 0, f.inLinked = !1, gt(u, f));
583
+ return K(u) ? (k = p(f, 1, _t(u)), f.braceNest = 0, f.inLinked = !1, k) : L(u, f) || C(u, f) ? (O(u), Ve(u, f)) : v(u, f) ? (O(u), p(f, 11, Aa(u))) : M(u, f) ? (O(u), j === "{" ? gt(u, f) || k : p(f, 10, Pa(u))) : (N === 7 && g(D.INVALID_LINKED_FORMAT, r(), 0), f.braceNest = 0, f.inLinked = !1, ht(u, f));
584
584
  }
585
585
  }
586
- function gt(u, f) {
586
+ function ht(u, f) {
587
587
  let N = {
588
588
  type: 13
589
589
  /* TokenTypes.EOF */
590
590
  };
591
591
  if (f.braceNest > 0)
592
- return _t(u, f) || I(f);
592
+ return gt(u, f) || I(f);
593
593
  if (f.inLinked)
594
594
  return Ve(u, f) || I(f);
595
595
  switch (u.currentChar()) {
596
596
  case "{":
597
- return _t(u, f) || I(f);
597
+ return gt(u, f) || I(f);
598
598
  case "}":
599
599
  return g(D.UNBALANCED_CLOSING_BRACE, r(), 0), u.next(), p(
600
600
  f,
@@ -606,24 +606,24 @@ function ro(e, t = {}) {
606
606
  return Ve(u, f) || I(f);
607
607
  default: {
608
608
  if (K(u))
609
- return N = p(f, 1, pt(u)), f.braceNest = 0, f.inLinked = !1, N;
609
+ return N = p(f, 1, _t(u)), f.braceNest = 0, f.inLinked = !1, N;
610
610
  if (Ee(u))
611
- return p(f, 0, ya(u));
611
+ return p(f, 0, Ia(u));
612
612
  break;
613
613
  }
614
614
  }
615
615
  return N;
616
616
  }
617
- function Pa() {
617
+ function Ra() {
618
618
  const { currentType: u, offset: f, startLoc: N, endLoc: k } = i;
619
619
  return i.lastType = u, i.lastOffset = f, i.lastStartLoc = N, i.lastEndLoc = k, i.offset = s(), i.startLoc = r(), n.currentChar() === Pe ? p(
620
620
  i,
621
621
  13
622
622
  /* TokenTypes.EOF */
623
- ) : gt(n, i);
623
+ ) : ht(n, i);
624
624
  }
625
625
  return {
626
- nextToken: Pa,
626
+ nextToken: Ra,
627
627
  currentOffset: s,
628
628
  currentPosition: r,
629
629
  context: c
@@ -648,7 +648,7 @@ function co(e = {}) {
648
648
  function n(d, _, y, E, ...b) {
649
649
  const L = d.currentPosition();
650
650
  if (L.offset += E, L.column += E, a) {
651
- const v = t ? Va(y, L) : null, C = ft(_, v, {
651
+ const v = t ? $a(y, L) : null, C = dt(_, v, {
652
652
  domain: oo,
653
653
  args: b
654
654
  });
@@ -913,7 +913,7 @@ function tt(e) {
913
913
  }
914
914
  default:
915
915
  if (process.env.NODE_ENV !== "production")
916
- throw ft(D.UNHANDLED_MINIFIER_NODE_TYPE, null, {
916
+ throw dt(D.UNHANDLED_MINIFIER_NODE_TYPE, null, {
917
917
  domain: po,
918
918
  args: [e.type]
919
919
  });
@@ -1044,7 +1044,7 @@ function lt(e, t) {
1044
1044
  break;
1045
1045
  default:
1046
1046
  if (process.env.NODE_ENV !== "production")
1047
- throw ft(D.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1047
+ throw dt(D.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1048
1048
  domain: _o,
1049
1049
  args: [t.type]
1050
1050
  });
@@ -1108,7 +1108,7 @@ function Gt(e, t) {
1108
1108
  const a = Ue(e, vs);
1109
1109
  if (a != null)
1110
1110
  return a;
1111
- throw It(t);
1111
+ throw Nt(t);
1112
1112
  }
1113
1113
  const bs = ["m", "modifier"];
1114
1114
  function Ao(e) {
@@ -1119,7 +1119,7 @@ function Po(e) {
1119
1119
  const t = Ue(e, ys);
1120
1120
  if (t)
1121
1121
  return t;
1122
- throw It(
1122
+ throw Nt(
1123
1123
  6
1124
1124
  /* NodeTypes.Linked */
1125
1125
  );
@@ -1142,16 +1142,16 @@ const Is = [
1142
1142
  ...vs,
1143
1143
  ...Es
1144
1144
  ];
1145
- function It(e) {
1145
+ function Nt(e) {
1146
1146
  return new Error(`unhandled node type: ${e}`);
1147
1147
  }
1148
- function Da(e) {
1148
+ function Ca(e) {
1149
1149
  return (a) => Ro(a, e);
1150
1150
  }
1151
1151
  function Ro(e, t) {
1152
1152
  const a = So(t);
1153
1153
  if (a == null)
1154
- throw It(
1154
+ throw Nt(
1155
1155
  0
1156
1156
  /* NodeTypes.Resource */
1157
1157
  );
@@ -1169,11 +1169,11 @@ function Cn(e, t) {
1169
1169
  if (a != null)
1170
1170
  return e.type === "text" ? a : e.normalize([a]);
1171
1171
  {
1172
- const n = Oo(t).reduce((s, r) => [...s, $a(e, r)], []);
1172
+ const n = Oo(t).reduce((s, r) => [...s, Ha(e, r)], []);
1173
1173
  return e.normalize(n);
1174
1174
  }
1175
1175
  }
1176
- function $a(e, t) {
1176
+ function Ha(e, t) {
1177
1177
  const a = un(t);
1178
1178
  switch (a) {
1179
1179
  case 3:
@@ -1186,7 +1186,7 @@ function $a(e, t) {
1186
1186
  return e.interpolate(e.named(n.k));
1187
1187
  if (be(n, "key") && n.key)
1188
1188
  return e.interpolate(e.named(n.key));
1189
- throw It(a);
1189
+ throw Nt(a);
1190
1190
  }
1191
1191
  case 5: {
1192
1192
  const n = t;
@@ -1194,11 +1194,11 @@ function $a(e, t) {
1194
1194
  return e.interpolate(e.list(n.i));
1195
1195
  if (be(n, "index") && ee(n.index))
1196
1196
  return e.interpolate(e.list(n.index));
1197
- throw It(a);
1197
+ throw Nt(a);
1198
1198
  }
1199
1199
  case 6: {
1200
1200
  const n = t, s = Ao(n), r = Po(n);
1201
- return e.linked($a(e, r), s ? $a(e, s) : void 0, e.type);
1201
+ return e.linked(Ha(e, r), s ? Ha(e, s) : void 0, e.type);
1202
1202
  }
1203
1203
  case 7:
1204
1204
  return Gt(t, a);
@@ -1210,7 +1210,7 @@ function $a(e, t) {
1210
1210
  }
1211
1211
  const wo = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1212
1212
  function ko(e, t) {
1213
- t && zr(e) && Le(aa(wo, { source: e }));
1213
+ t && zr(e) && Le(na(wo, { source: e }));
1214
1214
  }
1215
1215
  const Do = (e) => e;
1216
1216
  let Kt = W();
@@ -1233,7 +1233,7 @@ function Fo(e, t) {
1233
1233
  ...t,
1234
1234
  location: process.env.NODE_ENV !== "production",
1235
1235
  jit: !0
1236
- }), i = Da(o);
1236
+ }), i = Ca(o);
1237
1237
  return l ? i : Kt[s] = i;
1238
1238
  } else {
1239
1239
  if (process.env.NODE_ENV !== "production" && !he(e))
@@ -1241,17 +1241,17 @@ function Fo(e, t) {
1241
1241
  const a = e.cacheKey;
1242
1242
  if (a) {
1243
1243
  const n = Kt[a];
1244
- return n || (Kt[a] = Da(e));
1244
+ return n || (Kt[a] = Ca(e));
1245
1245
  } else
1246
- return Da(e);
1246
+ return Ca(e);
1247
1247
  }
1248
1248
  }
1249
- let Nt = null;
1249
+ let St = null;
1250
1250
  function Mo(e) {
1251
- Nt = e;
1251
+ St = e;
1252
1252
  }
1253
1253
  function Uo(e, t, a) {
1254
- Nt && Nt.emit("i18n:init", {
1254
+ St && St.emit("i18n:init", {
1255
1255
  timestamp: Date.now(),
1256
1256
  i18n: e,
1257
1257
  version: t,
@@ -1260,7 +1260,7 @@ function Uo(e, t, a) {
1260
1260
  }
1261
1261
  const xo = /* @__PURE__ */ Vo("function:translate");
1262
1262
  function Vo(e) {
1263
- return (t) => Nt && Nt.emit(e, t);
1263
+ return (t) => St && St.emit(e, t);
1264
1264
  }
1265
1265
  const oe = {
1266
1266
  INVALID_ARGUMENT: Jr,
@@ -1273,7 +1273,7 @@ const oe = {
1273
1273
  NOT_SUPPORT_LOCALE_TYPE: 23
1274
1274
  }, $o = 24;
1275
1275
  function we(e) {
1276
- return ft(e, null, process.env.NODE_ENV !== "production" ? { messages: Ho } : void 0);
1276
+ return dt(e, null, process.env.NODE_ENV !== "production" ? { messages: Ho } : void 0);
1277
1277
  }
1278
1278
  const Ho = {
1279
1279
  [oe.INVALID_ARGUMENT]: "Invalid arguments",
@@ -1287,18 +1287,18 @@ const Ho = {
1287
1287
  function fn(e, t) {
1288
1288
  return t.locale != null ? Fn(t.locale) : Fn(e.locale);
1289
1289
  }
1290
- let Ca;
1290
+ let Fa;
1291
1291
  function Fn(e) {
1292
1292
  if (A(e))
1293
1293
  return e;
1294
1294
  if (G(e)) {
1295
- if (e.resolvedOnce && Ca != null)
1296
- return Ca;
1295
+ if (e.resolvedOnce && Fa != null)
1296
+ return Fa;
1297
1297
  if (e.constructor.name === "Function") {
1298
1298
  const t = e();
1299
1299
  if (Kr(t))
1300
1300
  throw we(oe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1301
- return Ca = t;
1301
+ return Fa = t;
1302
1302
  } else
1303
1303
  throw we(oe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1304
1304
  } else
@@ -1311,7 +1311,7 @@ function Wo(e, t, a) {
1311
1311
  ])];
1312
1312
  }
1313
1313
  function Ns(e, t, a) {
1314
- const n = A(a) ? a : St, s = e;
1314
+ const n = A(a) ? a : Tt, s = e;
1315
1315
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
1316
1316
  let r = s.__localeChainCache.get(n);
1317
1317
  if (!r) {
@@ -1657,9 +1657,9 @@ const ce = {
1657
1657
  [ce.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
1658
1658
  };
1659
1659
  function Je(e, ...t) {
1660
- return aa(el[e], ...t);
1660
+ return na(el[e], ...t);
1661
1661
  }
1662
- const tl = "11.2.7", sa = -1, St = "en-US", Xt = "", xn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1662
+ const tl = "11.2.7", ra = -1, Tt = "en-US", Xt = "", xn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1663
1663
  function al() {
1664
1664
  return {
1665
1665
  upper: (e, t) => t === "text" && A(e) ? e.toUpperCase() : t === "vnode" && U(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
@@ -1689,7 +1689,7 @@ const Vn = (e) => {
1689
1689
  }, il = () => As;
1690
1690
  let $n = 0;
1691
1691
  function cl(e = {}) {
1692
- const t = G(e.onWarn) ? e.onWarn : Le, a = A(e.version) ? e.version : tl, n = A(e.locale) || G(e.locale) ? e.locale : St, s = G(n) ? St : n, r = J(e.fallbackLocale) || F(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = F(e.messages) ? e.messages : Fa(s), l = F(e.datetimeFormats) ? e.datetimeFormats : Fa(s), i = F(e.numberFormats) ? e.numberFormats : Fa(s), c = te(W(), e.modifiers, al()), m = e.pluralRules || W(), g = G(e.missing) ? e.missing : null, p = x(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, I = x(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, P = !!e.fallbackFormat, S = !!e.unresolving, O = G(e.postTranslation) ? e.postTranslation : null, d = F(e.processor) ? e.processor : null, _ = x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, E = G(e.messageCompiler) ? e.messageCompiler : Ss;
1692
+ const t = G(e.onWarn) ? e.onWarn : Le, a = A(e.version) ? e.version : tl, n = A(e.locale) || G(e.locale) ? e.locale : Tt, s = G(n) ? Tt : n, r = J(e.fallbackLocale) || F(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = F(e.messages) ? e.messages : Ma(s), l = F(e.datetimeFormats) ? e.datetimeFormats : Ma(s), i = F(e.numberFormats) ? e.numberFormats : Ma(s), c = te(W(), e.modifiers, al()), m = e.pluralRules || W(), g = G(e.missing) ? e.missing : null, p = x(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, I = x(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, P = !!e.fallbackFormat, S = !!e.unresolving, O = G(e.postTranslation) ? e.postTranslation : null, d = F(e.processor) ? e.processor : null, _ = x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, E = G(e.messageCompiler) ? e.messageCompiler : Ss;
1693
1693
  process.env.NODE_ENV !== "production" && G(e.messageCompiler) && sn(Je(ce.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1694
1694
  const b = G(e.messageResolver) ? e.messageResolver : Ts || qo, L = G(e.localeFallbacker) ? e.localeFallbacker : Ls || Wo, v = U(e.fallbackContext) ? e.fallbackContext : void 0, C = e, M = U(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), K = U(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), Ee = U(C.__meta) ? C.__meta : {};
1695
1695
  $n++;
@@ -1719,8 +1719,8 @@ function cl(e = {}) {
1719
1719
  };
1720
1720
  return Q.datetimeFormats = l, Q.numberFormats = i, Q.__datetimeFormatters = M, Q.__numberFormatters = K, process.env.NODE_ENV !== "production" && (Q.__v_emitter = C.__v_emitter != null ? C.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Uo(Q, a, Ee), Q;
1721
1721
  }
1722
- const Fa = (e) => ({ [e]: W() });
1723
- function ra(e, t) {
1722
+ const Ma = (e) => ({ [e]: W() });
1723
+ function oa(e, t) {
1724
1724
  return e instanceof RegExp ? e.test(t) : e;
1725
1725
  }
1726
1726
  function Ps(e, t) {
@@ -1743,7 +1743,7 @@ function dn(e, t, a, n, s) {
1743
1743
  } else
1744
1744
  return process.env.NODE_ENV !== "production" && Ps(n, t) && o(Je(ce.NOT_FOUND_KEY, { key: t, locale: a })), t;
1745
1745
  }
1746
- function ht(e, t, a) {
1746
+ function Et(e, t, a) {
1747
1747
  const n = e;
1748
1748
  n.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, a, t);
1749
1749
  }
@@ -1767,7 +1767,7 @@ function Wn(e, ...t) {
1767
1767
  const { datetimeFormats: a, unresolving: n, fallbackLocale: s, onWarn: r, localeFallbacker: o } = e, { __datetimeFormatters: l } = e;
1768
1768
  if (process.env.NODE_ENV !== "production" && !ws.dateTimeFormat)
1769
1769
  return r(Je(ce.CANNOT_FORMAT_DATE)), Xt;
1770
- const [i, c, m, g] = Ha(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, I = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, P = !!m.part, S = fn(e, m), O = o(
1770
+ const [i, c, m, g] = Wa(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, I = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, P = !!m.part, S = fn(e, m), O = o(
1771
1771
  e,
1772
1772
  // eslint-disable-line @typescript-eslint/no-explicit-any
1773
1773
  s,
@@ -1778,7 +1778,7 @@ function Wn(e, ...t) {
1778
1778
  let d = {}, _, y = null, E = S, b = null;
1779
1779
  const L = "datetime format";
1780
1780
  for (let M = 0; M < O.length; M++) {
1781
- if (_ = b = O[M], process.env.NODE_ENV !== "production" && S !== _ && ra(I, i) && r(Je(ce.FALLBACK_TO_DATE_FORMAT, {
1781
+ if (_ = b = O[M], process.env.NODE_ENV !== "production" && S !== _ && oa(I, i) && r(Je(ce.FALLBACK_TO_DATE_FORMAT, {
1782
1782
  key: i,
1783
1783
  target: _
1784
1784
  })), process.env.NODE_ENV !== "production" && S !== _) {
@@ -1796,9 +1796,9 @@ function Wn(e, ...t) {
1796
1796
  dn(e, i, _, p, L), E = b;
1797
1797
  }
1798
1798
  if (!F(y) || !A(_))
1799
- return n ? sa : i;
1799
+ return n ? ra : i;
1800
1800
  let v = `${_}__${i}`;
1801
- na(g) || (v = `${v}__${JSON.stringify(g)}`);
1801
+ sa(g) || (v = `${v}__${JSON.stringify(g)}`);
1802
1802
  let C = l.get(v);
1803
1803
  return C || (C = new Intl.DateTimeFormat(_, te({}, y, g)), l.set(v, C)), P ? C.formatToParts(c) : C.format(c);
1804
1804
  }
@@ -1824,7 +1824,7 @@ const ks = [
1824
1824
  "hourCycle",
1825
1825
  "fractionalSecondDigits"
1826
1826
  ];
1827
- function Ha(...e) {
1827
+ function Wa(...e) {
1828
1828
  const [t, a, n, s] = e, r = W();
1829
1829
  let o = W(), l;
1830
1830
  if (A(t)) {
@@ -1861,7 +1861,7 @@ function Kn(e, ...t) {
1861
1861
  const { numberFormats: a, unresolving: n, fallbackLocale: s, onWarn: r, localeFallbacker: o } = e, { __numberFormatters: l } = e;
1862
1862
  if (process.env.NODE_ENV !== "production" && !ws.numberFormat)
1863
1863
  return r(Je(ce.CANNOT_FORMAT_NUMBER)), Xt;
1864
- const [i, c, m, g] = Wa(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, I = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, P = !!m.part, S = fn(e, m), O = o(
1864
+ const [i, c, m, g] = Ga(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, I = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, P = !!m.part, S = fn(e, m), O = o(
1865
1865
  e,
1866
1866
  // eslint-disable-line @typescript-eslint/no-explicit-any
1867
1867
  s,
@@ -1872,7 +1872,7 @@ function Kn(e, ...t) {
1872
1872
  let d = {}, _, y = null, E = S, b = null;
1873
1873
  const L = "number format";
1874
1874
  for (let M = 0; M < O.length; M++) {
1875
- if (_ = b = O[M], process.env.NODE_ENV !== "production" && S !== _ && ra(I, i) && r(Je(ce.FALLBACK_TO_NUMBER_FORMAT, {
1875
+ if (_ = b = O[M], process.env.NODE_ENV !== "production" && S !== _ && oa(I, i) && r(Je(ce.FALLBACK_TO_NUMBER_FORMAT, {
1876
1876
  key: i,
1877
1877
  target: _
1878
1878
  })), process.env.NODE_ENV !== "production" && S !== _) {
@@ -1890,9 +1890,9 @@ function Kn(e, ...t) {
1890
1890
  dn(e, i, _, p, L), E = b;
1891
1891
  }
1892
1892
  if (!F(y) || !A(_))
1893
- return n ? sa : i;
1893
+ return n ? ra : i;
1894
1894
  let v = `${_}__${i}`;
1895
- na(g) || (v = `${v}__${JSON.stringify(g)}`);
1895
+ sa(g) || (v = `${v}__${JSON.stringify(g)}`);
1896
1896
  let C = l.get(v);
1897
1897
  return C || (C = new Intl.NumberFormat(_, te({}, y, g)), l.set(v, C)), P ? C.formatToParts(c) : C.format(c);
1898
1898
  }
@@ -1918,7 +1918,7 @@ const Ds = [
1918
1918
  "roundingIncrement",
1919
1919
  "trailingZeroDisplay"
1920
1920
  ];
1921
- function Wa(...e) {
1921
+ function Ga(...e) {
1922
1922
  const [t, a, n, s] = e, r = W();
1923
1923
  let o = W();
1924
1924
  if (!ee(t))
@@ -1978,7 +1978,7 @@ function El(e = {}) {
1978
1978
  }
1979
1979
  const jn = () => "", pe = (e) => G(e);
1980
1980
  function Jn(e, ...t) {
1981
- const { fallbackFormat: a, postTranslation: n, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [i, c] = Ga(...t), m = x(c.missingWarn) ? c.missingWarn : e.missingWarn, g = x(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, p = x(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, I = !!c.resolvedMessage, P = A(c.default) || x(c.default) ? x(c.default) ? r ? i : () => i : c.default : a ? r ? i : () => i : null, S = a || P != null && (A(P) || G(P)), O = fn(e, c);
1981
+ const { fallbackFormat: a, postTranslation: n, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [i, c] = Ka(...t), m = x(c.missingWarn) ? c.missingWarn : e.missingWarn, g = x(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, p = x(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, I = !!c.resolvedMessage, P = A(c.default) || x(c.default) ? x(c.default) ? r ? i : () => i : c.default : a ? r ? i : () => i : null, S = a || P != null && (A(P) || G(P)), O = fn(e, c);
1982
1982
  p && vl(c);
1983
1983
  let [d, _, y] = I ? [
1984
1984
  i,
@@ -1986,7 +1986,7 @@ function Jn(e, ...t) {
1986
1986
  l[O] || W()
1987
1987
  ] : Cs(e, i, O, o, g, m), E = d, b = i;
1988
1988
  if (!I && !(A(E) || he(E) || pe(E)) && S && (E = P, b = E), !I && (!(A(E) || he(E) || pe(E)) || !A(_)))
1989
- return s ? sa : i;
1989
+ return s ? ra : i;
1990
1990
  if (process.env.NODE_ENV !== "production" && A(E) && e.messageCompiler == null)
1991
1991
  return Le(`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 '${i}'.`), i;
1992
1992
  let L = !1;
@@ -2019,7 +2019,7 @@ function Cs(e, t, a, n, s, r) {
2019
2019
  let g = W(), p, I = null, P = a, S = null;
2020
2020
  const O = "translate";
2021
2021
  for (let d = 0; d < m.length; d++) {
2022
- if (p = S = m[d], process.env.NODE_ENV !== "production" && a !== p && !Rs(a, p) && ra(s, t) && l(Je(ce.FALLBACK_TO_TRANSLATE, {
2022
+ if (p = S = m[d], process.env.NODE_ENV !== "production" && a !== p && !Rs(a, p) && oa(s, t) && l(Je(ce.FALLBACK_TO_TRANSLATE, {
2023
2023
  key: t,
2024
2024
  target: p
2025
2025
  })), process.env.NODE_ENV !== "production" && a !== p) {
@@ -2100,12 +2100,12 @@ function bl(e, t, a) {
2100
2100
  }
2101
2101
  return o;
2102
2102
  }
2103
- function Ga(...e) {
2103
+ function Ka(...e) {
2104
2104
  const [t, a, n] = e, s = W();
2105
2105
  if (!A(t) && !ee(t) && !pe(t) && !he(t))
2106
2106
  throw we(oe.INVALID_ARGUMENT);
2107
2107
  const r = ee(t) ? String(t) : (pe(t), t);
2108
- return ee(a) ? s.plural = a : A(a) ? s.default = a : F(a) && !na(a) ? s.named = a : J(a) && (s.list = a), ee(n) ? s.plural = n : A(n) ? s.default = n : F(n) && te(s, n), [r, s];
2108
+ return ee(a) ? s.plural = a : A(a) ? s.default = a : F(a) && !sa(a) ? s.named = a : J(a) && (s.list = a), ee(n) ? s.plural = n : A(n) ? s.default = n : F(n) && te(s, n), [r, s];
2109
2109
  }
2110
2110
  function yl(e, t, a, n, s, r) {
2111
2111
  return {
@@ -2173,13 +2173,13 @@ function Ms() {
2173
2173
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2174
2174
  }
2175
2175
  const Tl = typeof Proxy == "function", Ll = "devtools-plugin:setup", Ol = "plugin:settings:set";
2176
- let Ze, Ka;
2176
+ let Ze, Ya;
2177
2177
  function Al() {
2178
2178
  var e;
2179
- return Ze !== void 0 || (typeof window < "u" && window.performance ? (Ze = !0, Ka = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Ze = !0, Ka = globalThis.perf_hooks.performance) : Ze = !1), Ze;
2179
+ return Ze !== void 0 || (typeof window < "u" && window.performance ? (Ze = !0, Ya = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Ze = !0, Ya = globalThis.perf_hooks.performance) : Ze = !1), Ze;
2180
2180
  }
2181
2181
  function Pl() {
2182
- return Al() ? Ka.now() : Date.now();
2182
+ return Al() ? Ya.now() : Date.now();
2183
2183
  }
2184
2184
  class Rl {
2185
2185
  constructor(t, a) {
@@ -2288,7 +2288,7 @@ const Y = {
2288
2288
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2289
2289
  };
2290
2290
  function ue(e, ...t) {
2291
- return ft(e, null, process.env.NODE_ENV !== "production" ? { messages: Cl, args: t } : void 0);
2291
+ return dt(e, null, process.env.NODE_ENV !== "production" ? { messages: Cl, args: t } : void 0);
2292
2292
  }
2293
2293
  const Cl = {
2294
2294
  [Y.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
@@ -2302,7 +2302,7 @@ const Cl = {
2302
2302
  [Y.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2303
2303
  [Y.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2304
2304
  [Y.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2305
- }, Ya = /* @__PURE__ */ Oe("__translateVNode"), Ba = /* @__PURE__ */ Oe("__datetimeParts"), ja = /* @__PURE__ */ Oe("__numberParts"), Qe = /* @__PURE__ */ Oe("__enableEmitter"), Tt = /* @__PURE__ */ Oe("__disableEmitter"), Us = Oe("__setPluralRules"), xs = /* @__PURE__ */ Oe("__injectWithOption"), Ja = /* @__PURE__ */ Oe("__dispose"), _e = {
2305
+ }, Ba = /* @__PURE__ */ Oe("__translateVNode"), ja = /* @__PURE__ */ Oe("__datetimeParts"), Ja = /* @__PURE__ */ Oe("__numberParts"), Qe = /* @__PURE__ */ Oe("__enableEmitter"), Lt = /* @__PURE__ */ Oe("__disableEmitter"), Us = Oe("__setPluralRules"), xs = /* @__PURE__ */ Oe("__injectWithOption"), Qa = /* @__PURE__ */ Oe("__dispose"), _e = {
2306
2306
  FALLBACK_TO_ROOT: Zo,
2307
2307
  // 8
2308
2308
  NOT_FOUND_PARENT_SCOPE: 9,
@@ -2333,15 +2333,15 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2333
2333
  [_e.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
2334
2334
  };
2335
2335
  function it(e, ...t) {
2336
- return aa(Fl[e], ...t);
2336
+ return na(Fl[e], ...t);
2337
2337
  }
2338
- function Lt(e) {
2338
+ function Ot(e) {
2339
2339
  if (!U(e) || he(e))
2340
2340
  return e;
2341
2341
  for (const t in e)
2342
2342
  if (be(e, t))
2343
2343
  if (!t.includes("."))
2344
- U(e[t]) && Lt(e[t]);
2344
+ U(e[t]) && Ot(e[t]);
2345
2345
  else {
2346
2346
  const a = t.split("."), n = a.length - 1;
2347
2347
  let s = e, r = !1;
@@ -2358,7 +2358,7 @@ function Lt(e) {
2358
2358
  }
2359
2359
  if (r || (he(s) ? Is.includes(a[n]) || delete e[t] : (s[a[n]] = e[t], delete e[t])), !he(s)) {
2360
2360
  const o = s[a[n]];
2361
- U(o) && Lt(o);
2361
+ U(o) && Ot(o);
2362
2362
  }
2363
2363
  }
2364
2364
  return e;
@@ -2373,7 +2373,7 @@ function mn(e, t) {
2373
2373
  A(l) && Bt(JSON.parse(l), o);
2374
2374
  }), s == null && r)
2375
2375
  for (const l in o)
2376
- be(o, l) && Lt(o[l]);
2376
+ be(o, l) && Ot(o[l]);
2377
2377
  return o;
2378
2378
  }
2379
2379
  function Vs(e) {
@@ -2409,7 +2409,7 @@ function Qn(e) {
2409
2409
  }
2410
2410
  function st() {
2411
2411
  const e = "currentInstance";
2412
- return e in Ra ? Ra[e] : Ra.getCurrentInstance();
2412
+ return e in wa ? wa[e] : wa.getCurrentInstance();
2413
2413
  }
2414
2414
  const Xn = "__INTLIFY_META__", qn = () => [], Ml = () => !1;
2415
2415
  let zn = 0;
@@ -2426,7 +2426,7 @@ function pn(e = {}) {
2426
2426
  let o = x(e.inheritLocale) ? e.inheritLocale : !0;
2427
2427
  const l = r(
2428
2428
  // prettier-ignore
2429
- t && o ? t.locale.value : A(e.locale) ? e.locale : St
2429
+ t && o ? t.locale.value : A(e.locale) ? e.locale : Tt
2430
2430
  ), i = r(
2431
2431
  // prettier-ignore
2432
2432
  t && o ? t.fallbackLocale.value : A(e.fallbackLocale) || J(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
@@ -2458,7 +2458,7 @@ function pn(e = {}) {
2458
2458
  h.datetimeFormats = m.value, h.numberFormats = g.value, h.__datetimeFormatters = F(v) ? v.__datetimeFormatters : void 0, h.__numberFormatters = F(v) ? v.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (h.__v_emitter = F(v) ? v.__v_emitter : void 0);
2459
2459
  const T = cl(h);
2460
2460
  return n && Vn(T), T;
2461
- })(), ht(v, l.value, i.value);
2461
+ })(), Et(v, l.value, i.value);
2462
2462
  function M() {
2463
2463
  return [
2464
2464
  l.value,
@@ -2476,22 +2476,22 @@ function pn(e = {}) {
2476
2476
  }), Ee = et({
2477
2477
  get: () => i.value,
2478
2478
  set: (h) => {
2479
- v.fallbackLocale = h, i.value = h, ht(v, l.value, h);
2479
+ v.fallbackLocale = h, i.value = h, Et(v, l.value, h);
2480
2480
  }
2481
- }), Q = et(() => c.value), qe = /* @__PURE__ */ et(() => m.value), _a = /* @__PURE__ */ et(() => g.value);
2482
- function ga() {
2481
+ }), Q = et(() => c.value), qe = /* @__PURE__ */ et(() => m.value), ga = /* @__PURE__ */ et(() => g.value);
2482
+ function ha() {
2483
2483
  return G(_) ? _ : null;
2484
2484
  }
2485
- function ha(h) {
2485
+ function Ea(h) {
2486
2486
  _ = h, v.postTranslation = h;
2487
2487
  }
2488
- function Ea() {
2488
+ function va() {
2489
2489
  return O;
2490
2490
  }
2491
- function va(h) {
2491
+ function ba(h) {
2492
2492
  h !== null && (d = Zn(h)), O = h, v.missing = d;
2493
2493
  }
2494
- function ba(h, T) {
2494
+ function ya(h, T) {
2495
2495
  return h !== "translate" || !T.resolvedMessage;
2496
2496
  }
2497
2497
  const Ae = (h, T, H, z, $e, $t) => {
@@ -2503,9 +2503,9 @@ function pn(e = {}) {
2503
2503
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, n || (v.fallbackContext = void 0);
2504
2504
  }
2505
2505
  if (H !== "translate exists" && // for not `te` (e.g `t`)
2506
- ee(ze) && ze === sa || H === "translate exists" && !ze) {
2506
+ ee(ze) && ze === ra || H === "translate exists" && !ze) {
2507
2507
  const [He, fr] = T();
2508
- if (process.env.NODE_ENV !== "production" && t && A(He) && ba(H, fr) && (P && (ra(I, He) || Ps(p, He)) && Le(it(_e.FALLBACK_TO_ROOT, {
2508
+ if (process.env.NODE_ENV !== "production" && t && A(He) && ya(H, fr) && (P && (oa(I, He) || Ps(p, He)) && Le(it(_e.FALLBACK_TO_ROOT, {
2509
2509
  key: He,
2510
2510
  type: H
2511
2511
  })), process.env.NODE_ENV !== "production")) {
@@ -2524,26 +2524,26 @@ function pn(e = {}) {
2524
2524
  throw ue(Y.UNEXPECTED_RETURN_TYPE);
2525
2525
  }
2526
2526
  };
2527
- function mt(...h) {
2528
- return Ae((T) => Reflect.apply(Jn, null, [T, ...h]), () => Ga(...h), "translate", (T) => Reflect.apply(T.t, T, [...h]), (T) => T, (T) => A(T));
2527
+ function pt(...h) {
2528
+ return Ae((T) => Reflect.apply(Jn, null, [T, ...h]), () => Ka(...h), "translate", (T) => Reflect.apply(T.t, T, [...h]), (T) => T, (T) => A(T));
2529
2529
  }
2530
- function ya(...h) {
2530
+ function Ia(...h) {
2531
2531
  const [T, H, z] = h;
2532
2532
  if (z && !U(z))
2533
2533
  throw ue(Y.INVALID_ARGUMENT);
2534
- return mt(T, H, te({ resolvedMessage: !0 }, z || {}));
2535
- }
2536
- function Ia(...h) {
2537
- return Ae((T) => Reflect.apply(Wn, null, [T, ...h]), () => Ha(...h), "datetime format", (T) => Reflect.apply(T.d, T, [...h]), () => Xt, (T) => A(T) || J(T));
2534
+ return pt(T, H, te({ resolvedMessage: !0 }, z || {}));
2538
2535
  }
2539
2536
  function Na(...h) {
2540
- return Ae((T) => Reflect.apply(Kn, null, [T, ...h]), () => Wa(...h), "number format", (T) => Reflect.apply(T.n, T, [...h]), () => Xt, (T) => A(T) || J(T));
2537
+ return Ae((T) => Reflect.apply(Wn, null, [T, ...h]), () => Wa(...h), "datetime format", (T) => Reflect.apply(T.d, T, [...h]), () => Xt, (T) => A(T) || J(T));
2538
+ }
2539
+ function Sa(...h) {
2540
+ return Ae((T) => Reflect.apply(Kn, null, [T, ...h]), () => Ga(...h), "number format", (T) => Reflect.apply(T.n, T, [...h]), () => Xt, (T) => A(T) || J(T));
2541
2541
  }
2542
- function Sa(h) {
2542
+ function Ta(h) {
2543
2543
  return h.map((T) => A(T) || ee(T) || x(T) ? Qn(String(T)) : T);
2544
2544
  }
2545
- const Ta = {
2546
- normalize: Sa,
2545
+ const La = {
2546
+ normalize: Ta,
2547
2547
  interpolate: (h) => h,
2548
2548
  type: "vnode"
2549
2549
  };
@@ -2552,23 +2552,23 @@ function pn(e = {}) {
2552
2552
  let H;
2553
2553
  const z = T;
2554
2554
  try {
2555
- z.processor = Ta, H = Reflect.apply(Jn, null, [z, ...h]);
2555
+ z.processor = La, H = Reflect.apply(Jn, null, [z, ...h]);
2556
2556
  } finally {
2557
2557
  z.processor = null;
2558
2558
  }
2559
2559
  return H;
2560
- }, () => Ga(...h), "translate", (T) => T[Ya](...h), (T) => [Qn(T)], (T) => J(T));
2560
+ }, () => Ka(...h), "translate", (T) => T[Ba](...h), (T) => [Qn(T)], (T) => J(T));
2561
2561
  }
2562
- function La(...h) {
2563
- return Ae((T) => Reflect.apply(Kn, null, [T, ...h]), () => Wa(...h), "number format", (T) => T[ja](...h), qn, (T) => A(T) || J(T));
2562
+ function Oa(...h) {
2563
+ return Ae((T) => Reflect.apply(Kn, null, [T, ...h]), () => Ga(...h), "number format", (T) => T[Ja](...h), qn, (T) => A(T) || J(T));
2564
2564
  }
2565
2565
  function Vt(...h) {
2566
- return Ae((T) => Reflect.apply(Wn, null, [T, ...h]), () => Ha(...h), "datetime format", (T) => T[Ba](...h), qn, (T) => A(T) || J(T));
2566
+ return Ae((T) => Reflect.apply(Wn, null, [T, ...h]), () => Wa(...h), "datetime format", (T) => T[ja](...h), qn, (T) => A(T) || J(T));
2567
2567
  }
2568
- function Oa(h) {
2568
+ function Aa(h) {
2569
2569
  L = h, v.pluralRules = L;
2570
2570
  }
2571
- function Aa(h, T) {
2571
+ function Pa(h, T) {
2572
2572
  return Ae(() => {
2573
2573
  if (!h)
2574
2574
  return !1;
@@ -2576,7 +2576,7 @@ function pn(e = {}) {
2576
2576
  return he($e) || pe($e) || A($e);
2577
2577
  }, () => [h], "translate exists", (H) => Reflect.apply(H.te, H, [h, T]), Ml, (H) => x(H));
2578
2578
  }
2579
- function pt(h) {
2579
+ function _t(h) {
2580
2580
  let T = null;
2581
2581
  const H = Ns(v, i.value, l.value);
2582
2582
  for (let z = 0; z < H.length; z++) {
@@ -2588,28 +2588,28 @@ function pn(e = {}) {
2588
2588
  }
2589
2589
  return T;
2590
2590
  }
2591
- function _t(h) {
2592
- const T = pt(h);
2591
+ function gt(h) {
2592
+ const T = _t(h);
2593
2593
  return T ?? (t ? t.tm(h) || {} : {});
2594
2594
  }
2595
2595
  function Ve(h) {
2596
2596
  return c.value[h] || {};
2597
2597
  }
2598
- function gt(h, T) {
2598
+ function ht(h, T) {
2599
2599
  if (s) {
2600
2600
  const H = { [h]: T };
2601
2601
  for (const z in H)
2602
- be(H, z) && Lt(H[z]);
2602
+ be(H, z) && Ot(H[z]);
2603
2603
  T = H[h];
2604
2604
  }
2605
2605
  c.value[h] = T, v.messages = c.value;
2606
2606
  }
2607
- function Pa(h, T) {
2607
+ function Ra(h, T) {
2608
2608
  c.value[h] = c.value[h] || {};
2609
2609
  const H = { [h]: T };
2610
2610
  if (s)
2611
2611
  for (const z in H)
2612
- be(H, z) && Lt(H[z]);
2612
+ be(H, z) && Ot(H[z]);
2613
2613
  T = H[h], Bt(T, c.value[h]), v.messages = c.value;
2614
2614
  }
2615
2615
  function u(h) {
@@ -2631,9 +2631,9 @@ function pn(e = {}) {
2631
2631
  g.value[h] = te(g.value[h] || {}, T), v.numberFormats = g.value, Yn(v, h, T);
2632
2632
  }
2633
2633
  zn++, t && Ne && (B(t.locale, (h) => {
2634
- o && (l.value = h, v.locale = h, ht(v, l.value, i.value));
2634
+ o && (l.value = h, v.locale = h, Et(v, l.value, i.value));
2635
2635
  }), B(t.fallbackLocale, (h) => {
2636
- o && (i.value = h, v.fallbackLocale = h, ht(v, l.value, i.value));
2636
+ o && (i.value = h, v.fallbackLocale = h, Et(v, l.value, i.value));
2637
2637
  }));
2638
2638
  const V = {
2639
2639
  id: zn,
@@ -2643,7 +2643,7 @@ function pn(e = {}) {
2643
2643
  return o;
2644
2644
  },
2645
2645
  set inheritLocale(h) {
2646
- o = h, h && t && (l.value = t.locale.value, i.value = t.fallbackLocale.value, ht(v, l.value, i.value));
2646
+ o = h, h && t && (l.value = t.locale.value, i.value = t.fallbackLocale.value, Et(v, l.value, i.value));
2647
2647
  },
2648
2648
  get availableLocales() {
2649
2649
  return Object.keys(c.value).sort();
@@ -2694,23 +2694,23 @@ function pn(e = {}) {
2694
2694
  set escapeParameter(h) {
2695
2695
  E = h, v.escapeParameter = h;
2696
2696
  },
2697
- t: mt,
2697
+ t: pt,
2698
2698
  getLocaleMessage: Ve,
2699
- setLocaleMessage: gt,
2700
- mergeLocaleMessage: Pa,
2701
- getPostTranslationHandler: ga,
2702
- setPostTranslationHandler: ha,
2703
- getMissingHandler: Ea,
2704
- setMissingHandler: va,
2705
- [Us]: Oa
2699
+ setLocaleMessage: ht,
2700
+ mergeLocaleMessage: Ra,
2701
+ getPostTranslationHandler: ha,
2702
+ setPostTranslationHandler: Ea,
2703
+ getMissingHandler: va,
2704
+ setMissingHandler: ba,
2705
+ [Us]: Aa
2706
2706
  };
2707
- return V.datetimeFormats = qe, V.numberFormats = _a, V.rt = ya, V.te = Aa, V.tm = _t, V.d = Ia, V.n = Na, V.getDateTimeFormat = u, V.setDateTimeFormat = f, V.mergeDateTimeFormat = N, V.getNumberFormat = k, V.setNumberFormat = j, V.mergeNumberFormat = q, V[xs] = a, V[Ya] = xt, V[Ba] = Vt, V[ja] = La, process.env.NODE_ENV !== "production" && (V[Qe] = (h) => {
2707
+ return V.datetimeFormats = qe, V.numberFormats = ga, V.rt = Ia, V.te = Pa, V.tm = gt, V.d = Na, V.n = Sa, V.getDateTimeFormat = u, V.setDateTimeFormat = f, V.mergeDateTimeFormat = N, V.getNumberFormat = k, V.setNumberFormat = j, V.mergeNumberFormat = q, V[xs] = a, V[Ba] = xt, V[ja] = Vt, V[Ja] = Oa, process.env.NODE_ENV !== "production" && (V[Qe] = (h) => {
2708
2708
  v.__v_emitter = h;
2709
- }, V[Tt] = () => {
2709
+ }, V[Lt] = () => {
2710
2710
  v.__v_emitter = void 0;
2711
2711
  }), V;
2712
2712
  }
2713
- const Hs = "vue-i18n: composer properties", Ma = {
2713
+ const Hs = "vue-i18n: composer properties", Ua = {
2714
2714
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2715
2715
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
2716
2716
  "vue-i18n-timeline": "Vue I18n"
@@ -2719,13 +2719,13 @@ const Hs = "vue-i18n: composer properties", Ma = {
2719
2719
  }, Vl = {
2720
2720
  "vue-i18n-timeline": 16764185
2721
2721
  };
2722
- let Qa;
2722
+ let Xa;
2723
2723
  async function $l(e, t) {
2724
2724
  return new Promise((a, n) => {
2725
2725
  try {
2726
2726
  wl({
2727
2727
  id: "vue-devtools-plugin-vue-i18n",
2728
- label: Ma["vue-devtools-plugin-vue-i18n"],
2728
+ label: Ua["vue-devtools-plugin-vue-i18n"],
2729
2729
  packageName: "vue-i18n",
2730
2730
  homepage: "https://vue-i18n.intlify.dev",
2731
2731
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
@@ -2733,13 +2733,13 @@ async function $l(e, t) {
2733
2733
  app: e
2734
2734
  // eslint-disable-line @typescript-eslint/no-explicit-any
2735
2735
  }, (s) => {
2736
- Qa = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: l }) => {
2736
+ Xa = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: l }) => {
2737
2737
  Hl(o, l, t);
2738
2738
  }), s.on.inspectComponent(({ componentInstance: o, instanceData: l }) => {
2739
2739
  o.__VUE_I18N__ && l && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && es(l, o.__VUE_I18N__) : es(l, o.__VUE_I18N__));
2740
2740
  }), s.addInspector({
2741
2741
  id: "vue-i18n-resource-inspector",
2742
- label: Ma["vue-i18n-resource-inspector"],
2742
+ label: Ua["vue-i18n-resource-inspector"],
2743
2743
  icon: "language",
2744
2744
  treeFilterPlaceholder: xl["vue-i18n-resource-inspector"]
2745
2745
  }), s.on.getInspectorTree((o) => {
@@ -2762,7 +2762,7 @@ async function $l(e, t) {
2762
2762
  o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Xl(o, t);
2763
2763
  }), s.addTimelineLayer({
2764
2764
  id: "vue-i18n-timeline",
2765
- label: Ma["vue-i18n-timeline"],
2765
+ label: Ua["vue-i18n-timeline"],
2766
2766
  color: Vl["vue-i18n-timeline"]
2767
2767
  }), a(!0);
2768
2768
  });
@@ -2947,10 +2947,10 @@ function Ql(e) {
2947
2947
  }
2948
2948
  return t;
2949
2949
  }
2950
- function Ot(e, t) {
2951
- if (Qa) {
2950
+ function At(e, t) {
2951
+ if (Xa) {
2952
2952
  let a;
2953
- t && "groupId" in t && (a = t.groupId, delete t.groupId), Qa.addTimelineEvent({
2953
+ t && "groupId" in t && (a = t.groupId, delete t.groupId), Xa.addTimelineEvent({
2954
2954
  layerId: "vue-i18n-timeline",
2955
2955
  event: {
2956
2956
  title: e,
@@ -2971,7 +2971,7 @@ function Xl(e, t) {
2971
2971
  }
2972
2972
  }
2973
2973
  function ql(e) {
2974
- const t = A(e.locale) ? e.locale : St, a = A(e.fallbackLocale) || J(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, n = G(e.missing) ? e.missing : void 0, s = x(e.silentTranslationWarn) || ot(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = x(e.silentFallbackWarn) || ot(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = x(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = F(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, m = G(e.postTranslation) ? e.postTranslation : void 0, g = A(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, p = !!e.escapeParameterHtml, I = x(e.sync) ? e.sync : !0;
2974
+ const t = A(e.locale) ? e.locale : Tt, a = A(e.fallbackLocale) || J(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, n = G(e.missing) ? e.missing : void 0, s = x(e.silentTranslationWarn) || ot(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = x(e.silentFallbackWarn) || ot(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = x(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = F(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, m = G(e.postTranslation) ? e.postTranslation : void 0, g = A(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, p = !!e.escapeParameterHtml, I = x(e.sync) ? e.sync : !0;
2975
2975
  let P = e.messages;
2976
2976
  if (F(e.sharedMessages)) {
2977
2977
  const b = e.sharedMessages;
@@ -3005,7 +3005,7 @@ function ql(e) {
3005
3005
  __injectWithOption: d
3006
3006
  };
3007
3007
  }
3008
- function Xa(e = {}) {
3008
+ function qa(e = {}) {
3009
3009
  const t = pn(ql(e)), { __extender: a } = e, n = {
3010
3010
  // id
3011
3011
  id: t.id,
@@ -3171,7 +3171,7 @@ function Xa(e = {}) {
3171
3171
  r[Qe] && r[Qe](s);
3172
3172
  }, n.__disableEmitter = () => {
3173
3173
  const s = t;
3174
- s[Tt] && s[Tt]();
3174
+ s[Lt] && s[Lt]();
3175
3175
  }), n;
3176
3176
  }
3177
3177
  function zl(e, t, a) {
@@ -3186,7 +3186,7 @@ function zl(e, t, a) {
3186
3186
  if (s.__i18n && (r.__i18n = s.__i18n), r.__root = t, this === this.$root)
3187
3187
  this.$i18n = ts(e, r);
3188
3188
  else {
3189
- r.__injectWithOption = !0, r.__extender = a.__vueI18nExtend, this.$i18n = Xa(r);
3189
+ r.__injectWithOption = !0, r.__extender = a.__vueI18nExtend, this.$i18n = qa(r);
3190
3190
  const o = this.$i18n;
3191
3191
  o.__extender && (o.__disposer = o.__extender(this.$i18n));
3192
3192
  }
@@ -3194,7 +3194,7 @@ function zl(e, t, a) {
3194
3194
  if (this === this.$root)
3195
3195
  this.$i18n = ts(e, s);
3196
3196
  else {
3197
- this.$i18n = Xa({
3197
+ this.$i18n = qa({
3198
3198
  __i18n: s.__i18n,
3199
3199
  __injectWithOption: !0,
3200
3200
  __extender: a.__vueI18nExtend,
@@ -3215,7 +3215,7 @@ function zl(e, t, a) {
3215
3215
  const s = this.$i18n;
3216
3216
  n.__VUE_I18N__ = s.__composer;
3217
3217
  const r = this.__v_emitter = ln();
3218
- s.__enableEmitter && s.__enableEmitter(r), r.on("*", Ot);
3218
+ s.__enableEmitter && s.__enableEmitter(r), r.on("*", At);
3219
3219
  }
3220
3220
  },
3221
3221
  unmounted() {
@@ -3223,7 +3223,7 @@ function zl(e, t, a) {
3223
3223
  if (!n)
3224
3224
  throw ue(Y.UNEXPECTED_ERROR);
3225
3225
  const s = this.$i18n;
3226
- process.env.NODE_ENV !== "production" && n.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", Ot), delete this.__v_emitter), this.$i18n && (s.__disableEmitter && s.__disableEmitter(), delete n.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, s.__disposer && (s.__disposer(), delete s.__disposer, delete s.__extender), a.__deleteInstance(n), delete this.$i18n;
3226
+ process.env.NODE_ENV !== "production" && n.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", At), delete this.__v_emitter), this.$i18n && (s.__disableEmitter && s.__disableEmitter(), delete n.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, s.__disposer && (s.__disposer(), delete s.__disposer, delete s.__extender), a.__deleteInstance(n), delete this.$i18n;
3227
3227
  }
3228
3228
  };
3229
3229
  }
@@ -3282,14 +3282,14 @@ const ei = /* @__PURE__ */ De({
3282
3282
  /* eslint-enable */
3283
3283
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3284
3284
  setup(e, t) {
3285
- const { slots: a, attrs: n } = t, s = e.i18n || oa({
3285
+ const { slots: a, attrs: n } = t, s = e.i18n || la({
3286
3286
  useScope: e.scope,
3287
3287
  __useComponent: !0
3288
3288
  });
3289
3289
  return () => {
3290
3290
  const r = Object.keys(a).filter((g) => g[0] !== "_"), o = W();
3291
3291
  e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = A(e.plural) ? +e.plural : e.plural);
3292
- const l = Zl(t, r), i = s[Ya](e.keypath, l, o), c = te(W(), n), m = A(e.tag) || U(e.tag) ? e.tag : Ks();
3292
+ const l = Zl(t, r), i = s[Ba](e.keypath, l, o), c = te(W(), n), m = A(e.tag) || U(e.tag) ? e.tag : Ks();
3293
3293
  return ye(m, c, i);
3294
3294
  };
3295
3295
  }
@@ -3328,13 +3328,13 @@ const ai = /* @__PURE__ */ De({
3328
3328
  /* eslint-enable */
3329
3329
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3330
3330
  setup(e, t) {
3331
- const a = e.i18n || oa({
3331
+ const a = e.i18n || la({
3332
3332
  useScope: e.scope,
3333
3333
  __useComponent: !0
3334
3334
  });
3335
3335
  return Ys(e, t, Ds, (...n) => (
3336
3336
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3337
- a[ja](...n)
3337
+ a[Ja](...n)
3338
3338
  ));
3339
3339
  }
3340
3340
  }), ns = ai;
@@ -3442,7 +3442,7 @@ function li(e = {}) {
3442
3442
  const d = r;
3443
3443
  d[Qe] && d[Qe](O);
3444
3444
  }
3445
- O.on("*", Ot);
3445
+ O.on("*", At);
3446
3446
  }
3447
3447
  },
3448
3448
  // global accessor
@@ -3463,7 +3463,7 @@ function li(e = {}) {
3463
3463
  };
3464
3464
  return m;
3465
3465
  }
3466
- function oa(e = {}) {
3466
+ function la(e = {}) {
3467
3467
  const t = st();
3468
3468
  if (t == null)
3469
3469
  throw ue(Y.MUST_BE_CALL_SETUP_TOP);
@@ -3480,13 +3480,13 @@ function oa(e = {}) {
3480
3480
  let l = o.__getInstance(t);
3481
3481
  if (l == null) {
3482
3482
  const i = te({}, e);
3483
- "__i18n" in s && (i.__i18n = s.__i18n), n && (i.__root = n), l = pn(i), o.__composerExtend && (l[Ja] = o.__composerExtend(l)), pi(o, t, l), o.__setInstance(t, l);
3483
+ "__i18n" in s && (i.__i18n = s.__i18n), n && (i.__root = n), l = pn(i), o.__composerExtend && (l[Qa] = o.__composerExtend(l)), pi(o, t, l), o.__setInstance(t, l);
3484
3484
  } else
3485
3485
  process.env.NODE_ENV !== "production" && r === "local" && Le(it(_e.DUPLICATE_USE_I18N_CALLING));
3486
3486
  return l;
3487
3487
  }
3488
3488
  function ii(e, t) {
3489
- const a = pr(), n = __VUE_I18N_LEGACY_API__ && t ? a.run(() => Xa(e)) : a.run(() => pn(e));
3489
+ const a = pr(), n = __VUE_I18N_LEGACY_API__ && t ? a.run(() => qa(e)) : a.run(() => pn(e));
3490
3490
  if (n == null)
3491
3491
  throw ue(Y.UNEXPECTED_ERROR);
3492
3492
  return [a, n];
@@ -3498,7 +3498,7 @@ function ci(e) {
3498
3498
  return t;
3499
3499
  }
3500
3500
  function ui(e, t) {
3501
- return na(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3501
+ return sa(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3502
3502
  }
3503
3503
  function fi(e) {
3504
3504
  return e.mode === "composition" ? e.global : e.global.__composer;
@@ -3530,13 +3530,13 @@ function pi(e, t, a) {
3530
3530
  if (process.env.NODE_ENV !== "production") {
3531
3531
  t.__VUE_I18N__ = a, n = ln();
3532
3532
  const s = a;
3533
- s[Qe] && s[Qe](n), n.on("*", Ot);
3533
+ s[Qe] && s[Qe](n), n.on("*", At);
3534
3534
  }
3535
- }, t), ut(() => {
3535
+ }, t), ft(() => {
3536
3536
  const s = a;
3537
- process.env.NODE_ENV !== "production" && (n && n.off("*", Ot), s[Tt] && s[Tt](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3538
- const r = s[Ja];
3539
- r && (r(), delete s[Ja]);
3537
+ process.env.NODE_ENV !== "production" && (n && n.off("*", At), s[Lt] && s[Lt](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3538
+ const r = s[Qa];
3539
+ r && (r(), delete s[Qa]);
3540
3540
  }, t);
3541
3541
  }
3542
3542
  const _i = [
@@ -3590,13 +3590,13 @@ const hi = /* @__PURE__ */ De({
3590
3590
  /* eslint-enable */
3591
3591
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3592
3592
  setup(e, t) {
3593
- const a = e.i18n || oa({
3593
+ const a = e.i18n || la({
3594
3594
  useScope: e.scope,
3595
3595
  __useComponent: !0
3596
3596
  });
3597
3597
  return Ys(e, t, ks, (...n) => (
3598
3598
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3599
- a[Ba](...n)
3599
+ a[ja](...n)
3600
3600
  ));
3601
3601
  }
3602
3602
  }), ls = hi;
@@ -3964,15 +3964,15 @@ const Ei = {
3964
3964
  }
3965
3965
  }
3966
3966
  };
3967
- function At(e, t) {
3967
+ function Pt(e, t) {
3968
3968
  const a = Array.isArray(e) ? [] : {};
3969
3969
  for (const n in e)
3970
- e.hasOwnProperty(n) && (typeof e[n] == "object" && e[n] !== null && !Array.isArray(e[n]) ? a[n] = At(e[n], {}) : a[n] = Array.isArray(e[n]) ? [...e[n]] : e[n]);
3970
+ e.hasOwnProperty(n) && (typeof e[n] == "object" && e[n] !== null && !Array.isArray(e[n]) ? a[n] = Pt(e[n], {}) : a[n] = Array.isArray(e[n]) ? [...e[n]] : e[n]);
3971
3971
  for (const n in t)
3972
- t.hasOwnProperty(n) && (typeof t[n] == "object" && t[n] !== null && !Array.isArray(t[n]) ? a[n] = At(a[n] || {}, t[n]) : a[n] = Array.isArray(t[n]) ? [...t[n]] : t[n]);
3972
+ t.hasOwnProperty(n) && (typeof t[n] == "object" && t[n] !== null && !Array.isArray(t[n]) ? a[n] = Pt(a[n] || {}, t[n]) : a[n] = Array.isArray(t[n]) ? [...t[n]] : t[n]);
3973
3973
  return a;
3974
3974
  }
3975
- let qa = "/", qt = {
3975
+ let za = "/", qt = {
3976
3976
  "zh-CN": "简体中文"
3977
3977
  };
3978
3978
  const Bs = {};
@@ -3996,7 +3996,7 @@ const me = li({
3996
3996
  });
3997
3997
  async function bi(e) {
3998
3998
  try {
3999
- const t = await fetch(`${qa}locales/${e}.json`);
3999
+ const t = await fetch(`${za}locales/${e}.json`);
4000
4000
  if (!t.ok)
4001
4001
  throw new Error(`Failed to load locale ${e}`);
4002
4002
  return await t.json();
@@ -4025,35 +4025,35 @@ function Js(e, t) {
4025
4025
  console.error(`Error caching locale ${e}:`, a);
4026
4026
  }
4027
4027
  }
4028
- function za(e) {
4028
+ function Za(e) {
4029
4029
  if (e === null || typeof e != "object")
4030
4030
  return e;
4031
4031
  if (e instanceof Date)
4032
4032
  return new Date(e.getTime());
4033
4033
  if (e instanceof Array)
4034
- return e.map((t) => za(t));
4034
+ return e.map((t) => Za(t));
4035
4035
  if (typeof e == "object") {
4036
4036
  const t = {};
4037
4037
  for (const a in e)
4038
- e.hasOwnProperty(a) && (t[a] = za(e[a]));
4038
+ e.hasOwnProperty(a) && (t[a] = Za(e[a]));
4039
4039
  return t;
4040
4040
  }
4041
4041
  return e;
4042
4042
  }
4043
4043
  async function Qs(e) {
4044
- const t = za(Ei), a = js(e);
4044
+ const t = Za(Ei), a = js(e);
4045
4045
  let n = {};
4046
4046
  try {
4047
4047
  n = await bi(e);
4048
4048
  } catch {
4049
4049
  }
4050
4050
  let s = t;
4051
- a && Object.keys(a).length > 0 && (s = At(s, a)), n && Object.keys(n).length > 0 && (s = At(s, n)), Bs[e] = s, me.global.setLocaleMessage(e, s), Js(e, s);
4051
+ a && Object.keys(a).length > 0 && (s = Pt(s, a)), n && Object.keys(n).length > 0 && (s = Pt(s, n)), Bs[e] = s, me.global.setLocaleMessage(e, s), Js(e, s);
4052
4052
  }
4053
4053
  async function hc(e = "/", t) {
4054
- qa = e;
4054
+ za = e;
4055
4055
  try {
4056
- const n = await fetch(`${qa}locales/languages.json`);
4056
+ const n = await fetch(`${za}locales/languages.json`);
4057
4057
  n.ok && (qt = await n.json());
4058
4058
  } catch (n) {
4059
4059
  n instanceof TypeError && console.error("[Locale] Network error:", n);
@@ -4082,7 +4082,7 @@ function w(e, t) {
4082
4082
  if (!n || Object.keys(n).length === 0) {
4083
4083
  const r = js(me.global.locale.value);
4084
4084
  if (r) {
4085
- const o = At({}, r);
4085
+ const o = Pt({}, r);
4086
4086
  me.global.setLocaleMessage(me.global.locale.value, o), Js(me.global.locale.value, o);
4087
4087
  const l = me.global.t(e, t || {});
4088
4088
  return l === e ? e : l;
@@ -4195,8 +4195,8 @@ ne($, "YesNo", []), /**
4195
4195
  * - 女 F
4196
4196
  */
4197
4197
  ne($, "MaleFemale", []);
4198
- let Za = $, Xs = "";
4199
- const la = {
4198
+ let en = $, Xs = "";
4199
+ const ia = {
4200
4200
  login: {
4201
4201
  api: "PLATFORM_API",
4202
4202
  url: "/openapi/LoginSrv/login",
@@ -4226,7 +4226,7 @@ const la = {
4226
4226
  }
4227
4227
  };
4228
4228
  function yc() {
4229
- Xs = w("webui.stores.userInfo.tokenParseFailed"), la.logout.loadingText = w("webui.stores.userInfo.exiting"), qs.host.loadingText = w("webui.stores.hostInfo.loading");
4229
+ Xs = w("webui.stores.userInfo.tokenParseFailed"), ia.logout.loadingText = w("webui.stores.userInfo.exiting"), qs.host.loadingText = w("webui.stores.hostInfo.loading");
4230
4230
  }
4231
4231
  const Ct = {
4232
4232
  /**
@@ -4301,12 +4301,12 @@ const Ct = {
4301
4301
  }, ve = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, is = "/login/", jt = [], yi = (e) => {
4302
4302
  for (const t of e) {
4303
4303
  const a = jt.findIndex((n) => n.path === t.path);
4304
- a !== -1 && jt.splice(a, 1), jt.push(t), ia.addRoute(t);
4304
+ a !== -1 && jt.splice(a, 1), jt.push(t), ca.addRoute(t);
4305
4305
  }
4306
4306
  }, zs = (e, t, a, n = "") => {
4307
4307
  const s = n + (n ? "/" : "") + e.path;
4308
4308
  t[s] = { ...e, parent: a }, e.children && e.children.forEach((r) => zs(r, t, e, s));
4309
- }, ia = Cr({
4309
+ }, ca = Cr({
4310
4310
  history: Fr("/"),
4311
4311
  routes: jt
4312
4312
  }), Ii = (e, t) => {
@@ -4330,8 +4330,8 @@ const Ct = {
4330
4330
  }
4331
4331
  }
4332
4332
  return !1;
4333
- }, bt = R(null);
4334
- ia.beforeEach((e, t, a) => {
4333
+ }, yt = R(null);
4334
+ ca.beforeEach((e, t, a) => {
4335
4335
  var l;
4336
4336
  const n = e;
4337
4337
  if (e.path.startsWith("/error/") || e.path.startsWith(is))
@@ -4340,7 +4340,7 @@ ia.beforeEach((e, t, a) => {
4340
4340
  if (e.path === "/") {
4341
4341
  const i = Fe();
4342
4342
  if (!i.menuLoaded) {
4343
- bt.value = {
4343
+ yt.value = {
4344
4344
  to: e,
4345
4345
  next: (c) => {
4346
4346
  a({ path: c });
@@ -4359,7 +4359,7 @@ ia.beforeEach((e, t, a) => {
4359
4359
  a({ path: is });
4360
4360
  else {
4361
4361
  if (!Fe().menuLoaded) {
4362
- bt.value = {
4362
+ yt.value = {
4363
4363
  to: e,
4364
4364
  next: a
4365
4365
  };
@@ -4371,9 +4371,9 @@ ia.beforeEach((e, t, a) => {
4371
4371
  }
4372
4372
  });
4373
4373
  const Ni = (e) => {
4374
- if (bt.value) {
4375
- const { to: t, next: a } = bt.value;
4376
- bt.value = null, t.path === "/" ? a(e) : a(t.path);
4374
+ if (yt.value) {
4375
+ const { to: t, next: a } = yt.value;
4376
+ yt.value = null, t.path === "/" ? a(e) : a(t.path);
4377
4377
  }
4378
4378
  }, Si = (e) => {
4379
4379
  const t = hn();
@@ -4529,7 +4529,7 @@ class ae {
4529
4529
  }
4530
4530
  ne(ae, "messageId", 0), ne(ae, "callbacks", /* @__PURE__ */ new Map()), ne(ae, "pendingRequests", /* @__PURE__ */ new Map());
4531
4531
  ae.init();
4532
- const yt = {
4532
+ const It = {
4533
4533
  getAppInfo: ae.getAppInfo.bind(ae),
4534
4534
  getHostInfo: ae.getHostInfo.bind(ae),
4535
4535
  getUserInfo: ae.getUserInfo.bind(ae),
@@ -4544,7 +4544,7 @@ const yt = {
4544
4544
  url: "/api/RCTenanetOpSrv/getApps",
4545
4545
  loadingText: !1
4546
4546
  }
4547
- }, Ua = /* @__PURE__ */ new Map(), Oi = (e) => {
4547
+ }, xa = /* @__PURE__ */ new Map(), Oi = (e) => {
4548
4548
  const t = Ie(), { roles: a, permission: n } = e.meta || {};
4549
4549
  if (ve(a) && ve(n))
4550
4550
  return !0;
@@ -4612,7 +4612,7 @@ const yt = {
4612
4612
  }).then((e) => {
4613
4613
  if ((e == null ? void 0 : e.status) === ie.SUCCESS && e.data)
4614
4614
  this.appList.length = 0, this.appList.push(...e.data);
4615
- else if ((e == null ? void 0 : e.errno) == ca) {
4615
+ else if ((e == null ? void 0 : e.errno) == ua) {
4616
4616
  Ie().logout(!1);
4617
4617
  return;
4618
4618
  }
@@ -4672,7 +4672,7 @@ const yt = {
4672
4672
  if (yi(a), this.appInfo.defaultPage = er(a) || "", this.appInfo.defaultPage) {
4673
4673
  if (this.menuLoaded = !0, Ce()) {
4674
4674
  const n = this.formatRoute(this.appInfo.defaultPage);
4675
- yt.mainAppPush(n);
4675
+ It.mainAppPush(n);
4676
4676
  }
4677
4677
  Ni(this.appInfo.defaultPage);
4678
4678
  }
@@ -4693,9 +4693,9 @@ const yt = {
4693
4693
  */
4694
4694
  push(e) {
4695
4695
  this.findRoute(e) && hn().setTabActive(e), hr(() => {
4696
- if (ia.push({ path: e }), Ce()) {
4696
+ if (ca.push({ path: e }), Ce()) {
4697
4697
  const a = this.formatRoute(e);
4698
- yt.mainAppPush(a);
4698
+ It.mainAppPush(a);
4699
4699
  }
4700
4700
  });
4701
4701
  },
@@ -4714,7 +4714,7 @@ const yt = {
4714
4714
  * @returns 组件实例
4715
4715
  */
4716
4716
  cacheComponent(e, t) {
4717
- let a = Ua.get(t.path);
4717
+ let a = xa.get(t.path);
4718
4718
  if (!a)
4719
4719
  if (this.CachedComponents.includes(t.path))
4720
4720
  a = {
@@ -4723,7 +4723,7 @@ const yt = {
4723
4723
  render() {
4724
4724
  return ye(e);
4725
4725
  }
4726
- }, Ua.set(t.path, a);
4726
+ }, xa.set(t.path, a);
4727
4727
  else return e;
4728
4728
  return a;
4729
4729
  },
@@ -4732,7 +4732,7 @@ const yt = {
4732
4732
  * @param path 路由地址
4733
4733
  */
4734
4734
  excludeComponent(e) {
4735
- this.ExcludeComponents.includes(e) || this.ExcludeComponents.push(e), this.CachedComponents.splice(this.CachedComponents.indexOf(e), 1), Ua.delete(e);
4735
+ this.ExcludeComponents.includes(e) || this.ExcludeComponents.push(e), this.CachedComponents.splice(this.CachedComponents.indexOf(e), 1), xa.delete(e);
4736
4736
  },
4737
4737
  /**
4738
4738
  * 路由路径层级查询,返回面包屑
@@ -4763,28 +4763,28 @@ const yt = {
4763
4763
  }, this.CachedComponents.splice(0, this.CachedComponents.length), this.ExcludeComponents.splice(0, this.ExcludeComponents.length), this.appList.splice(0, this.appList.length), this.menuLoaded = !1;
4764
4764
  },
4765
4765
  logout() {
4766
- this.clean(), Ce() ? yt.mainAppPush("/") : window.location.assign("/");
4766
+ this.clean(), Ce() ? It.mainAppPush("/") : window.location.assign("/");
4767
4767
  }
4768
4768
  },
4769
4769
  persist: !1
4770
- }), ca = 1400, Ai = (e) => {
4770
+ }), ua = 1400, Ai = (e) => {
4771
4771
  let t = {
4772
4772
  Option: {
4773
4773
  Mode: "MicroApp"
4774
4774
  },
4775
4775
  Query: e
4776
4776
  };
4777
- return Xe(la.login, t).then((a) => (a == null ? void 0 : a.status) === ie.SUCCESS ? a : null);
4777
+ return Xe(ia.login, t).then((a) => (a == null ? void 0 : a.status) === ie.SUCCESS ? a : null);
4778
4778
  }, Pi = (e) => {
4779
4779
  let t = {
4780
4780
  Query: {
4781
4781
  AppId: e
4782
4782
  }
4783
4783
  };
4784
- return Xe(la.auth, t).then((a) => {
4784
+ return Xe(ia.auth, t).then((a) => {
4785
4785
  if ((a == null ? void 0 : a.status) === ie.SUCCESS)
4786
4786
  return a.data;
4787
- if ((a == null ? void 0 : a.errno) == ca) {
4787
+ if ((a == null ? void 0 : a.errno) == ua) {
4788
4788
  Ie().logout(!1);
4789
4789
  return;
4790
4790
  }
@@ -4795,7 +4795,7 @@ const yt = {
4795
4795
  Option: {},
4796
4796
  Query: {}
4797
4797
  };
4798
- return Xe(la.logout, e).then((t) => (t == null ? void 0 : t.status) === ie.SUCCESS ? t.data : null);
4798
+ return Xe(ia.logout, e).then((t) => (t == null ? void 0 : t.status) === ie.SUCCESS ? t.data : null);
4799
4799
  }, wi = (e) => {
4800
4800
  try {
4801
4801
  const t = JSON.parse(atob(e.token.split(".")[1]));
@@ -4803,7 +4803,7 @@ const yt = {
4803
4803
  } catch (t) {
4804
4804
  return console.error(Xs, t), !1;
4805
4805
  }
4806
- }, de = R(""), Et = R(null), Ie = kt("userInfo", {
4806
+ }, de = R(""), vt = R(null), Ie = kt("userInfo", {
4807
4807
  state: () => ({
4808
4808
  isLogin: !1,
4809
4809
  userInfo: {
@@ -4857,11 +4857,11 @@ const yt = {
4857
4857
  async getRolePermits(e) {
4858
4858
  if (!this.isLogin || !this.token)
4859
4859
  return !1;
4860
- if (Et.value && Et.value.appId === e)
4860
+ if (vt.value && vt.value.appId === e)
4861
4861
  return !0;
4862
4862
  try {
4863
4863
  const t = await Pi(e);
4864
- return t ? (Et.value = {
4864
+ return t ? (vt.value = {
4865
4865
  appId: e,
4866
4866
  permits: t.permits || [],
4867
4867
  lastTime: t.lastTime
@@ -4886,7 +4886,7 @@ const yt = {
4886
4886
  */
4887
4887
  hasPermit(e, t) {
4888
4888
  var n;
4889
- const a = Et.value;
4889
+ const a = vt.value;
4890
4890
  return !a || !a.permits ? !1 : ((n = a.permits[e]) == null ? void 0 : n.includes(t)) ?? !1;
4891
4891
  },
4892
4892
  /**
@@ -4944,7 +4944,7 @@ const yt = {
4944
4944
  Code: "",
4945
4945
  TenantId: "",
4946
4946
  UserLevel: ""
4947
- }, this.token = "", Ht(this.token), this.isLogin = !1, Et.value = null, de.value = "", Fe().clean(), Promise.resolve();
4947
+ }, this.token = "", Ht(this.token), this.isLogin = !1, vt.value = null, de.value = "", Fe().clean(), Promise.resolve();
4948
4948
  },
4949
4949
  /**
4950
4950
  * 登出操作
@@ -4953,7 +4953,7 @@ const yt = {
4953
4953
  */
4954
4954
  async logout(e) {
4955
4955
  if (Ce())
4956
- return yt.userLogout(), Promise.resolve();
4956
+ return It.userLogout(), Promise.resolve();
4957
4957
  try {
4958
4958
  e && await Ri();
4959
4959
  } catch (t) {
@@ -4977,7 +4977,7 @@ const yt = {
4977
4977
  e.store.init();
4978
4978
  }
4979
4979
  }
4980
- }), ua = (e, t) => {
4980
+ }), fa = (e, t) => {
4981
4981
  var s;
4982
4982
  const a = e.page;
4983
4983
  return {
@@ -4987,7 +4987,7 @@ const yt = {
4987
4987
  ...t.url,
4988
4988
  loadingText: t.loadingText
4989
4989
  };
4990
- }, fa = (e, t) => {
4990
+ }, da = (e, t) => {
4991
4991
  const a = e.page, n = t.url;
4992
4992
  if (!n || !n.url) {
4993
4993
  const r = w("webui.utils.data.urlNotSet", { urlKey: t.urlKey });
@@ -4998,12 +4998,12 @@ const yt = {
4998
4998
  JSON.parse(JSON.stringify(n.params ?? {})),
4999
4999
  JSON.parse(JSON.stringify(t.params ?? {}))
5000
5000
  );
5001
- return t.processParams && (s = t.processParams(s)), t.loadingState && (t.loadingState.value = !0), t.hideErrorToast && (n.hideErrorToast = !0), Xe(n, s).then((r) => (t.loadingState && (t.loadingState.value = !1), (r == null ? void 0 : r.errno) == ca ? (Ie().logout(!1), null) : r)).catch((r) => (t.loadingState && (t.loadingState.value = !1), null));
5001
+ return t.processParams && (s = t.processParams(s)), t.loadingState && (t.loadingState.value = !0), t.hideErrorToast && (n.hideErrorToast = !0), Xe(n, s).then((r) => (t.loadingState && (t.loadingState.value = !1), (r == null ? void 0 : r.errno) == ua ? (Ie().logout(!1), null) : r)).catch((r) => (t.loadingState && (t.loadingState.value = !1), null));
5002
5002
  }, En = (e, t) => {
5003
5003
  t.params || (t.params = {}), t.params.Query || (t.params.Query = {});
5004
- const a = ua(e, t);
5005
- return t.url = a, fa(e, t);
5006
- }, Ic = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || w("webui.utils.data.startExecute"), t.url = ua(e, t), fa(e, t).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && (t.hideErrorToast || se.success(w("webui.utils.data.executeSuccess"))), a))), tr = (e, t = {}) => {
5004
+ const a = fa(e, t);
5005
+ return t.url = a, da(e, t);
5006
+ }, Ic = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || w("webui.utils.data.startExecute"), t.url = fa(e, t), da(e, t).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && (t.hideErrorToast || se.success(w("webui.utils.data.executeSuccess"))), a))), tr = (e, t = {}) => {
5007
5007
  const a = t.primaryKey || "Id";
5008
5008
  if (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), !t.params.Data)
5009
5009
  return se.error(w("webui.utils.data.noSaveData")), Promise.resolve(null);
@@ -5013,8 +5013,8 @@ const yt = {
5013
5013
  loadingText: t.loadingText === !1 ? !1 : t.loadingText || w("webui.utils.data.savingData")
5014
5014
  };
5015
5015
  n.params.Query[a] = n.params.Data[a];
5016
- const s = ua(e, n);
5017
- return n.url = s, fa(e, n).then((r) => ((r == null ? void 0 : r.status) === ie.SUCCESS && (t.hideErrorToast || se.success(w("webui.utils.data.saveSuccess"))), r));
5016
+ const s = fa(e, n);
5017
+ return n.url = s, da(e, n).then((r) => ((r == null ? void 0 : r.status) === ie.SUCCESS && (t.hideErrorToast || se.success(w("webui.utils.data.saveSuccess"))), r));
5018
5018
  }, ki = (e, t, a = {}) => {
5019
5019
  const n = a.primaryKey || "Id";
5020
5020
  a.params || (a.params = {}), a.params.Query || (a.params.Query = {});
@@ -5025,8 +5025,8 @@ const yt = {
5025
5025
  };
5026
5026
  if (Array.isArray(t) ? s.params.Query[n] = t : s.params.Query[n] = t[n], ve(s.params.Query) || ve(s.params.Query[n]))
5027
5027
  return se.error(w("webui.utils.data.forbidDeleteWithoutCondition")), Promise.resolve(null);
5028
- const r = ua(e, s);
5029
- return s.url = r, fa(e, s).then((o) => ((o == null ? void 0 : o.status) === ie.SUCCESS && (a.hideErrorToast || se.success(w("webui.utils.data.deleteSuccess"))), o));
5028
+ const r = fa(e, s);
5029
+ return s.url = r, da(e, s).then((o) => ((o == null ? void 0 : o.status) === ie.SUCCESS && (a.hideErrorToast || se.success(w("webui.utils.data.deleteSuccess"))), o));
5030
5030
  }, Di = (e, t) => En(e, {
5031
5031
  urlKey: "tree",
5032
5032
  params: {},
@@ -5085,9 +5085,9 @@ const yt = {
5085
5085
  },
5086
5086
  persist: !1
5087
5087
  });
5088
- let Pt;
5088
+ let ct;
5089
5089
  const Sc = (e) => {
5090
- Pt = new nn({}), Pt.messages({
5090
+ ct = new aa({}), ct.messages({
5091
5091
  required: "${label}" + w("webui.utils.formValidate.required"),
5092
5092
  types: {
5093
5093
  number: "${label}" + w("webui.utils.formValidate.numberType")
@@ -5116,7 +5116,7 @@ const Sc = (e) => {
5116
5116
  }, Tc = (e) => {
5117
5117
  if (!e || ve(e))
5118
5118
  return [];
5119
- const t = [], a = Pt.messages(), n = (r, o, l) => {
5119
+ const t = [], a = ct.messages(), n = (r, o, l) => {
5120
5120
  const i = o.type;
5121
5121
  if (i && a.types && i in a.types) {
5122
5122
  const m = a.types[i];
@@ -5167,14 +5167,17 @@ const Sc = (e) => {
5167
5167
  rules: i
5168
5168
  });
5169
5169
  }), t;
5170
+ }, Lc = (e) => {
5171
+ const t = new aa({});
5172
+ return t.messages(ct.messages()), t.define(e), t;
5170
5173
  }, Ft = async (e) => {
5171
5174
  const t = e.formData.value, a = e.formRules.value;
5172
- ve(a) || (vn(e), e.ruleValidator || (e.ruleValidator = new nn({}), e.ruleValidator.messages(Pt.messages()), e.ruleValidator.define(a)), e.ruleResults.value = await e.ruleValidator.validate(t).then(() => {
5175
+ ve(a) || (vn(e), e.ruleValidator || (e.ruleValidator = new aa({}), e.ruleValidator.messages(ct.messages()), e.ruleValidator.define(a)), e.ruleResults.value = await e.ruleValidator.validate(t).then(() => {
5173
5176
  }).catch(({ fields: n }) => n));
5174
- }, Lc = async (e, t, a) => (a || (a = new nn({}), a.messages(Pt.messages()), a.define(t)), a.validate(e).then(() => {
5177
+ }, Oc = async (e, t, a) => (a || (a = new aa({}), a.messages(ct.messages()), a.define(t)), a.validate(e).then(() => {
5175
5178
  }).catch(({ fields: n }) => n)), vn = (e) => {
5176
5179
  e.ruleResults.value = void 0;
5177
- }, ct = () => {
5180
+ }, ut = () => {
5178
5181
  const e = at(Re.EditorControl, void 0), t = R(at(Re.LabelText, "")), a = R(at(Re.RuleKey, "")), n = at(Re.ErrInfo, void 0);
5179
5182
  return {
5180
5183
  editorCtrl: e,
@@ -5234,10 +5237,10 @@ const Sc = (e) => {
5234
5237
  });
5235
5238
  }
5236
5239
  }), n.value.length > 0 && (r.value = "error"), { msg: s, ruleErrors: n, errClass: r };
5237
- }, Oc = (e, t) => {
5238
- wa(Re.LabelText, e.label || ""), wa(Re.RuleKey, e.rule || "");
5240
+ }, Ac = (e, t) => {
5241
+ ka(Re.LabelText, e.label || ""), ka(Re.RuleKey, e.rule || "");
5239
5242
  const a = Fi(e, t);
5240
- return wa(Re.ErrInfo, a), a;
5243
+ return ka(Re.ErrInfo, a), a;
5241
5244
  }, Ui = (e, t) => {
5242
5245
  if (!t)
5243
5246
  return;
@@ -5246,12 +5249,12 @@ const Sc = (e) => {
5246
5249
  return t[a];
5247
5250
  if (t[a])
5248
5251
  return Ui(n, t[a].fields);
5249
- }, Ac = (e) => {
5250
- ar(e);
5251
5252
  }, Pc = (e) => {
5253
+ ar(e);
5254
+ }, Rc = (e) => {
5252
5255
  const t = e.page, a = e.formData.value;
5253
5256
  a[e.primaryKey ?? t.primaryKey] = null, ar(e);
5254
- }, Rc = (e) => {
5257
+ }, wc = (e) => {
5255
5258
  bn(e), e.visible.value = !1;
5256
5259
  }, ar = async (e) => {
5257
5260
  var n;
@@ -5304,14 +5307,14 @@ const Sc = (e) => {
5304
5307
  } else
5305
5308
  se.error((s == null ? void 0 : s.msg) ?? w("webui.utils.form.saveFailed")), e.afterSave && e.afterSave(s);
5306
5309
  });
5307
- }, wc = async (e) => {
5310
+ }, kc = async (e) => {
5308
5311
  const t = e.page, a = e.grid;
5309
5312
  e.isFormLoading.value = !0;
5310
5313
  const n = e.formData.value, s = e.primaryKey ?? t.primaryKey;
5311
5314
  return rr(a, { [s]: n[s] }, e.detailUrl).then((r) => {
5312
5315
  e.isFormLoading.value = !1, r && nr(e, r);
5313
5316
  });
5314
- }, kc = (e) => {
5317
+ }, Dc = (e) => {
5315
5318
  const t = e.grid;
5316
5319
  t && (t.rowData.value = void 0), e && (bn(e), e.visible && (e.visible.value = !1), setTimeout(() => {
5317
5320
  e.visible.value = !0;
@@ -5322,9 +5325,9 @@ const Sc = (e) => {
5322
5325
  e.formData.value = JSON.parse(JSON.stringify(a));
5323
5326
  }, bn = (e) => {
5324
5327
  e.formData.value = e.default ? JSON.parse(JSON.stringify(e.default)) : {}, vn(e);
5325
- }, Dc = (e, t) => {
5328
+ }, Cc = (e, t) => {
5326
5329
  const a = Ie();
5327
- return e.filter((s) => s.role && !a.hasRole(s.role) || s.permit && !a.hasPermit(ia.currentRoute.value.path, s.permit) || s.enabled === !1 ? !1 : typeof s.enabled == "function" ? s.enabled() : !0).filter((s) => {
5330
+ return e.filter((s) => s.role && !a.hasRole(s.role) || s.permit && !a.hasPermit(ca.currentRoute.value.path, s.permit) || s.enabled === !1 ? !1 : typeof s.enabled == "function" ? s.enabled() : !0).filter((s) => {
5328
5331
  if (!t) {
5329
5332
  if (s.visible === !1)
5330
5333
  return !1;
@@ -5333,7 +5336,7 @@ const Sc = (e) => {
5333
5336
  }
5334
5337
  return !0;
5335
5338
  });
5336
- }, Cc = (e, t) => {
5339
+ }, Fc = (e, t) => {
5337
5340
  const a = t == null ? void 0 : t.filter((n) => {
5338
5341
  const s = e.find(
5339
5342
  (r) => r.dataIndex === n.dataIndex || r.key === n.key || r.title === n.title
@@ -5380,7 +5383,7 @@ const Sc = (e) => {
5380
5383
  ...a
5381
5384
  }).then((n) => ((n == null ? void 0 : n.status) === ie.SUCCESS && setTimeout(() => {
5382
5385
  e.reload.value = !0, e.afterUpdate && e.afterUpdate(t);
5383
- }, 50), n)), Fc = (e, t) => {
5386
+ }, 50), n)), Mc = (e, t) => {
5384
5387
  const a = {};
5385
5388
  return a[e.primaryKey] = t[e.primaryKey], a[e.statusKey] = t[e.statusKey], Vi(e, a, {
5386
5389
  loadingText: !1,
@@ -5391,26 +5394,26 @@ const Sc = (e) => {
5391
5394
  url: a,
5392
5395
  params: t,
5393
5396
  loadingState: e.isGridLoading
5394
- }), Mc = (e, t) => {
5397
+ }), Uc = (e, t) => {
5395
5398
  const a = t;
5396
5399
  return rr(e, { [e.primaryKey]: a[e.primaryKey] }).then((n) => ((n == null ? void 0 : n.status) === ie.SUCCESS && n.data && (e.expandRows.value[a[e.primaryKey]] = n), n));
5397
- }, Uc = (e, t) => {
5400
+ }, xc = (e, t) => {
5398
5401
  let a = e.editor;
5399
5402
  e.rowData.value = t, a && (nr(a, t), a.visible.value = !0);
5400
- }, xc = (e, t) => ki(e, t, {
5403
+ }, Vc = (e, t) => ki(e, t, {
5401
5404
  url: e.deleteUrl,
5402
5405
  primaryKey: e.primaryKey
5403
5406
  }).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && setTimeout(() => {
5404
5407
  e.reload.value = !0, e.afterDelete && !Array.isArray(t) && e.afterDelete(t);
5405
5408
  }, 50), a));
5406
- var en = /* @__PURE__ */ ((e) => (e.SelectReload = "Select.Reload", e.RadioReload = "Radio.Reload", e.CheckboxReload = "Checkbox.Reload", e.TreeSelectReload = "TreeSelect.Reload", e.TreeCheckReload = "TreeCheck.Reload", e))(en || {});
5409
+ var tn = /* @__PURE__ */ ((e) => (e.SelectReload = "Select.Reload", e.RadioReload = "Radio.Reload", e.CheckboxReload = "Checkbox.Reload", e.TreeSelectReload = "TreeSelect.Reload", e.TreeCheckReload = "TreeCheck.Reload", e))(tn || {});
5407
5410
  class $i {
5408
5411
  constructor() {
5409
5412
  ne(this, "listeners", {});
5410
5413
  }
5411
5414
  // 检查事件名是否符合前缀
5412
5415
  isValidPrefix(t) {
5413
- return Object.values(en).some((a) => t.startsWith(a + "."));
5416
+ return Object.values(tn).some((a) => t.startsWith(a + "."));
5414
5417
  }
5415
5418
  /**
5416
5419
  * 事件订阅
@@ -5419,7 +5422,7 @@ class $i {
5419
5422
  */
5420
5423
  on(t, a) {
5421
5424
  if (!this.isValidPrefix(t)) {
5422
- console.error(`事件前缀不正确: ${t}, 事件名必须以 ${Object.values(en).join(", ")} 开头`);
5425
+ console.error(`事件前缀不正确: ${t}, 事件名必须以 ${Object.values(tn).join(", ")} 开头`);
5423
5426
  return;
5424
5427
  }
5425
5428
  this.listeners[t] || (this.listeners[t] = []), this.listeners[t].push(a);
@@ -5450,7 +5453,7 @@ class $i {
5450
5453
  this.listeners[t] && this.listeners[t].forEach((n) => n(t, ...a));
5451
5454
  }
5452
5455
  }
5453
- const nt = new $i(), dt = (e, t, a) => {
5456
+ const nt = new $i(), mt = (e, t, a) => {
5454
5457
  if (t.inputFactory && (a != null && a.reloadEvent)) {
5455
5458
  const n = t.inputFactory.value;
5456
5459
  n.reloadHandler = (s, r) => {
@@ -5510,7 +5513,7 @@ const nt = new $i(), dt = (e, t, a) => {
5510
5513
  if ((i == null ? void 0 : i.status) === ie.SUCCESS) {
5511
5514
  if (i.data)
5512
5515
  return i.data;
5513
- } else if ((i == null ? void 0 : i.errno) == ca) {
5516
+ } else if ((i == null ? void 0 : i.errno) == ua) {
5514
5517
  Ie().logout(!1);
5515
5518
  return;
5516
5519
  }
@@ -5538,7 +5541,7 @@ const nt = new $i(), dt = (e, t, a) => {
5538
5541
  const r = s([e], t);
5539
5542
  return r.length > 0 ? r[0] : void 0;
5540
5543
  }
5541
- }, da = (e) => e === void 0 ? [] : Array.isArray(e) ? e.map((t) => t.label) : [e.label], vt = (e, t, a) => {
5544
+ }, ma = (e) => e === void 0 ? [] : Array.isArray(e) ? e.map((t) => t.label) : [e.label], bt = (e, t, a) => {
5542
5545
  const n = t.split(".");
5543
5546
  let s = e;
5544
5547
  for (let r = 0; r < n.length - 1; r++) {
@@ -5549,7 +5552,7 @@ const nt = new $i(), dt = (e, t, a) => {
5549
5552
  }, lr = (e, t, a) => {
5550
5553
  if (a == null) {
5551
5554
  Object.entries(t).forEach(([n]) => {
5552
- vt(e, n, a);
5555
+ bt(e, n, a);
5553
5556
  });
5554
5557
  return;
5555
5558
  }
@@ -5560,9 +5563,9 @@ const nt = new $i(), dt = (e, t, a) => {
5560
5563
  const l = parseInt(((o = s.match(/\$\{(\d+)\}/)) == null ? void 0 : o[1]) ?? "0"), i = a[l], c = s.replace(/\$\{\d+\}\./, "");
5561
5564
  if (c && i) {
5562
5565
  const m = Qt(c, i);
5563
- vt(e, n, m);
5566
+ bt(e, n, m);
5564
5567
  } else
5565
- vt(e, n, i);
5568
+ bt(e, n, i);
5566
5569
  } catch {
5567
5570
  console.error("outFields 格式错误:" + s, "必须是 ${index} 或者 ${index}.${key}");
5568
5571
  }
@@ -5571,11 +5574,11 @@ const nt = new $i(), dt = (e, t, a) => {
5571
5574
  }) : Object.entries(t).forEach(([n, s]) => {
5572
5575
  if (s.includes("${")) {
5573
5576
  const r = Qt(s, a);
5574
- vt(e, n, r);
5577
+ bt(e, n, r);
5575
5578
  } else
5576
- vt(e, n, a[s]);
5579
+ bt(e, n, a[s]);
5577
5580
  });
5578
- }, ma = (e, t, a) => {
5581
+ }, pa = (e, t, a) => {
5579
5582
  var r, o;
5580
5583
  const n = (r = e.inputFactory) == null ? void 0 : r.value;
5581
5584
  n != null && n.editorCtrl && ((o = n.errInfo) != null && o.value.errClass) && Ft(n.editorCtrl), e.selected.value = a;
@@ -5646,7 +5649,7 @@ const nt = new $i(), dt = (e, t, a) => {
5646
5649
  value: "Id"
5647
5650
  }
5648
5651
  }
5649
- }, Vc = (e) => {
5652
+ }, $c = (e) => {
5650
5653
  Z.PageOption = {
5651
5654
  ...Z.PageOption,
5652
5655
  ...e.pageOption
@@ -5660,10 +5663,10 @@ const nt = new $i(), dt = (e, t, a) => {
5660
5663
  ...Z.TreeOption,
5661
5664
  ...e.treeOption
5662
5665
  };
5663
- }, pa = (e) => {
5666
+ }, _a = (e) => {
5664
5667
  for (let t in e.urls)
5665
5668
  e.urls[t].api || (e.urls[t].api = e.api), e.urls[t].authorize === void 0 && (e.urls[t].authorize = e.authorize);
5666
- }, Ki = (e, t, a, n) => (pa(e), {
5669
+ }, Ki = (e, t, a, n) => (_a(e), {
5667
5670
  editorCtrl: {
5668
5671
  ...Z.EditorOption,
5669
5672
  name: "",
@@ -5680,7 +5683,7 @@ const nt = new $i(), dt = (e, t, a) => {
5680
5683
  isFormLoading: R(!1)
5681
5684
  }
5682
5685
  }), Yi = (e, t, a) => {
5683
- pa(e);
5686
+ _a(e);
5684
5687
  const n = {
5685
5688
  ...Z.GridOption,
5686
5689
  tableSize: R(Z.GridOption.tableSize.value),
@@ -5718,8 +5721,8 @@ const nt = new $i(), dt = (e, t, a) => {
5718
5721
  ), {
5719
5722
  gridCtrl: n
5720
5723
  };
5721
- }, $c = (e, t) => {
5722
- pa(e);
5724
+ }, Hc = (e, t) => {
5725
+ _a(e);
5723
5726
  const a = {
5724
5727
  ...Z.TreeOption,
5725
5728
  reload: R(!1),
@@ -5756,13 +5759,13 @@ const nt = new $i(), dt = (e, t, a) => {
5756
5759
  (n) => {
5757
5760
  n && (setTimeout(() => {
5758
5761
  a.reload.value = !1;
5759
- }, 1), dt(!0, a, t));
5762
+ }, 1), mt(!0, a, t));
5760
5763
  }
5761
5764
  ), {
5762
5765
  optionCtrl: a
5763
5766
  };
5764
- }, Hc = (e, t, a) => {
5765
- pa(e);
5767
+ }, Wc = (e, t, a) => {
5768
+ _a(e);
5766
5769
  const n = {
5767
5770
  ...Z.PageOption,
5768
5771
  ...e
@@ -5772,9 +5775,9 @@ const nt = new $i(), dt = (e, t, a) => {
5772
5775
  editorCtrl: s,
5773
5776
  gridCtrl: r
5774
5777
  };
5775
- }, Bi = 10080 * 60 * 1e3, xa = /* @__PURE__ */ new Map(), cs = /* @__PURE__ */ new Set(), Ge = R({}), Wc = Ge, Gc = (e) => {
5778
+ }, Bi = 10080 * 60 * 1e3, Va = /* @__PURE__ */ new Map(), cs = /* @__PURE__ */ new Set(), Ge = R({}), Gc = Ge, Kc = (e) => {
5776
5779
  var s;
5777
- if (!e.iconUrl) return tn;
5780
+ if (!e.iconUrl) return an;
5778
5781
  const t = R(!0), a = R("");
5779
5782
  let n = !0;
5780
5783
  return (s = e.icons) != null && s.length && (n = e.icons.every((r) => Ge.value[r] !== void 0)), (e.icon && !Ge.value[e.icon] || !n) && ji(e, t).then(() => {
@@ -5836,7 +5839,7 @@ const nt = new $i(), dt = (e, t, a) => {
5836
5839
  },
5837
5840
  render() {
5838
5841
  if (!t.value)
5839
- return tn;
5842
+ return an;
5840
5843
  let r = this.class, o = "";
5841
5844
  Array.isArray(r) ? o = r.join(" ") : typeof r == "string" && (o = r);
5842
5845
  let l = [o];
@@ -5855,16 +5858,16 @@ const nt = new $i(), dt = (e, t, a) => {
5855
5858
  let a = e.iconUrl;
5856
5859
  if (!a)
5857
5860
  return console.error("图标库地址不能为空"), Promise.resolve();
5858
- if (xa.has(a))
5861
+ if (Va.has(a))
5859
5862
  return Promise.resolve();
5860
5863
  const n = cr(a);
5861
5864
  if (n)
5862
5865
  return new Promise(async (r) => (ir(n.scriptContent), r()));
5863
5866
  t.value = !1;
5864
5867
  const s = new Promise(async (r) => {
5865
- await Ji(a, e.monoColor || !1), r(), xa.delete(a);
5868
+ await Ji(a, e.monoColor || !1), r(), Va.delete(a);
5866
5869
  });
5867
- return xa.set(a, s), s;
5870
+ return Va.set(a, s), s;
5868
5871
  }, Ji = async (e, t) => {
5869
5872
  try {
5870
5873
  const a = await fetch(e);
@@ -5909,7 +5912,7 @@ const nt = new $i(), dt = (e, t, a) => {
5909
5912
  return console.error("解析缓存失败:", s), null;
5910
5913
  }
5911
5914
  return n.expireTime < Date.now() ? (localStorage.removeItem(e), null) : n;
5912
- }, Kc = () => {
5915
+ }, Yc = () => {
5913
5916
  const e = Date.now();
5914
5917
  for (const t in localStorage)
5915
5918
  if (t.startsWith("icon_cache:")) {
@@ -5920,7 +5923,7 @@ const nt = new $i(), dt = (e, t, a) => {
5920
5923
  setTimeout(() => {
5921
5924
  t.value = a, t.value && (e.value = Ge.value[t.value]);
5922
5925
  }, 1);
5923
- }, tn = ye(
5926
+ }, an = ye(
5924
5927
  "svg",
5925
5928
  { class: "w-4 h-4", viewBox: "0 0 50 50", style: { animation: "rotate 2s linear infinite" } },
5926
5929
  [
@@ -5956,7 +5959,7 @@ const nt = new $i(), dt = (e, t, a) => {
5956
5959
  }, zi = (e, t) => {
5957
5960
  let a = "";
5958
5961
  return e && (a += `rotate(${e}deg)`), t && (a += " scaleX(-1)"), a;
5959
- }, Yc = (e, t, a, n) => {
5962
+ }, Bc = (e, t, a, n) => {
5960
5963
  ur(e, [], a, n).forEach((r) => t.push(r));
5961
5964
  }, ur = (e, t, a, n) => {
5962
5965
  var o, l, i, c, m, g;
@@ -5977,7 +5980,7 @@ const nt = new $i(), dt = (e, t, a) => {
5977
5980
  (P.length > 0 || !p.children) && s.push(S);
5978
5981
  }
5979
5982
  return s;
5980
- }, us = Er([]), Bc = () => {
5983
+ }, us = Er([]), jc = () => {
5981
5984
  us.length = 0;
5982
5985
  const e = Fe();
5983
5986
  let a = hn().TabActive;
@@ -5990,7 +5993,7 @@ const nt = new $i(), dt = (e, t, a) => {
5990
5993
  };
5991
5994
  us.push(o);
5992
5995
  });
5993
- }, jc = kt("hostInfo", {
5996
+ }, Jc = kt("hostInfo", {
5994
5997
  state: () => ({
5995
5998
  hostInfo: {
5996
5999
  Host: "",
@@ -6015,13 +6018,13 @@ const nt = new $i(), dt = (e, t, a) => {
6015
6018
  */
6016
6019
  async loadHostInfo(e, t) {
6017
6020
  if (Ce()) {
6018
- const n = await yt.getHostInfo();
6021
+ const n = await It.getHostInfo();
6019
6022
  this._setHostInfo(n);
6020
6023
  return;
6021
6024
  }
6022
6025
  let a = (e || this.getSiteHostApi()).trim();
6023
6026
  return (!a || a === "/") && (a = window.location.origin), a.endsWith("/") && (a = a.slice(0, -1)), new Promise((n) => {
6024
- ka.SITEHOST_API || (ka.SITEHOST_API = a);
6027
+ Da.SITEHOST_API || (Da.SITEHOST_API = a);
6025
6028
  const s = t || window.location.origin;
6026
6029
  Xe(qs.host, {
6027
6030
  Query: {
@@ -6061,7 +6064,7 @@ const nt = new $i(), dt = (e, t, a) => {
6061
6064
  }, this.hostInfo.API_HOST)
6062
6065
  for (const t in this.hostInfo.API_HOST) {
6063
6066
  let a = this.hostInfo.API_HOST[t];
6064
- a = a.startsWith("http://") || a.startsWith("https://") || a.startsWith("//") ? a : window.location.origin + a, a.endsWith("/") && (a = a.slice(0, -1)), this.hostInfo.API_HOST[t] = a, ka[t] = a;
6067
+ a = a.startsWith("http://") || a.startsWith("https://") || a.startsWith("//") ? a : window.location.origin + a, a.endsWith("/") && (a = a.slice(0, -1)), this.hostInfo.API_HOST[t] = a, Da[t] = a;
6065
6068
  }
6066
6069
  if (this.hostInfo.SERVER_HOST)
6067
6070
  for (const t in this.hostInfo.SERVER_HOST) {
@@ -6080,7 +6083,7 @@ const nt = new $i(), dt = (e, t, a) => {
6080
6083
  // storage: localStorage,
6081
6084
  // pick: ['hostInfo'],
6082
6085
  // },
6083
- }), Jc = /* @__PURE__ */ De({
6086
+ }), Qc = /* @__PURE__ */ De({
6084
6087
  __name: "index",
6085
6088
  props: {
6086
6089
  ...Ct,
@@ -6098,7 +6101,7 @@ const nt = new $i(), dt = (e, t, a) => {
6098
6101
  },
6099
6102
  emits: ["change"],
6100
6103
  setup(e, { emit: t }) {
6101
- const a = e, n = ct(), s = Ut(a.url, a), r = a.optionCtrl ?? s.optionCtrl;
6104
+ const a = e, n = ut(), s = Ut(a.url, a), r = a.optionCtrl ?? s.optionCtrl;
6102
6105
  r.inputFactory = ke(n);
6103
6106
  const o = R([]);
6104
6107
  r && B(
@@ -6108,7 +6111,7 @@ const nt = new $i(), dt = (e, t, a) => {
6108
6111
  },
6109
6112
  { immediate: !0, deep: !0 }
6110
6113
  );
6111
- const l = t, { editorCtrl: i, errInfo: c } = ct(), { t: m } = oa(), g = et(() => {
6114
+ const l = t, { editorCtrl: i, errInfo: c } = ut(), { t: m } = la(), g = et(() => {
6112
6115
  switch (a.size) {
6113
6116
  case "small":
6114
6117
  return "w-[46px]";
@@ -6123,8 +6126,8 @@ const nt = new $i(), dt = (e, t, a) => {
6123
6126
  console.error("Switch组件: ", a.data), se.error(m("webui.components.form.switch.error"));
6124
6127
  return;
6125
6128
  }
6126
- r && dt(r.autoload, r, a);
6127
- }), ut(() => {
6129
+ r && mt(r.autoload, r, a);
6130
+ }), ft(() => {
6128
6131
  r && Mt(r, a);
6129
6132
  }), (I, P) => {
6130
6133
  var S;
@@ -6144,7 +6147,7 @@ const nt = new $i(), dt = (e, t, a) => {
6144
6147
  }, I.$attrs), null, 16, ["size", "class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : rt("", !0);
6145
6148
  };
6146
6149
  }
6147
- }), Qc = /* @__PURE__ */ De({
6150
+ }), Xc = /* @__PURE__ */ De({
6148
6151
  inheritAttrs: !1,
6149
6152
  __name: "index",
6150
6153
  props: {
@@ -6165,7 +6168,7 @@ const nt = new $i(), dt = (e, t, a) => {
6165
6168
  },
6166
6169
  emits: ["update:value", "select", "change", "update:labels"],
6167
6170
  setup(e, { emit: t }) {
6168
- const a = e, n = Zt(), s = ct(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6171
+ const a = e, n = Zt(), s = ut(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6169
6172
  o.inputFactory = ke(s), o.fieldMap = {
6170
6173
  label: "Name",
6171
6174
  value: "Id",
@@ -6201,16 +6204,16 @@ const nt = new $i(), dt = (e, t, a) => {
6201
6204
  SearchField: "%" + S.trim() + "%"
6202
6205
  }
6203
6206
  };
6204
- o.params = Dt(o.params, d), o && dt(!0, o, a);
6207
+ o.params = Dt(o.params, d), o && mt(!0, o, a);
6205
6208
  }, P = (S) => {
6206
- const O = ma(o, a, S);
6209
+ const O = pa(o, a, S);
6207
6210
  g("update:value", S), g("select", S);
6208
- const d = da(O);
6211
+ const d = ma(O);
6209
6212
  g("update:labels", d), c != null && c.value.errClass && i && Ft(i);
6210
6213
  };
6211
6214
  return ea(() => {
6212
6215
  o && o.autoload && (o.reload.value = !0);
6213
- }), ut(() => {
6216
+ }), ft(() => {
6214
6217
  o && Mt(o, a);
6215
6218
  }), (S, O) => {
6216
6219
  var d;
@@ -6240,7 +6243,7 @@ const nt = new $i(), dt = (e, t, a) => {
6240
6243
  }), Zi = { class: "min-h-[32px] pt-[5px]" }, ec = {
6241
6244
  key: 1,
6242
6245
  class: "text-center text-gray-500"
6243
- }, Xc = /* @__PURE__ */ De({
6246
+ }, qc = /* @__PURE__ */ De({
6244
6247
  inheritAttrs: !1,
6245
6248
  __name: "index",
6246
6249
  props: {
@@ -6262,7 +6265,7 @@ const nt = new $i(), dt = (e, t, a) => {
6262
6265
  emits: ["change", "update:labels"],
6263
6266
  setup(e, { emit: t }) {
6264
6267
  var p, I, P;
6265
- const a = e, n = Zt(), s = ct(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6268
+ const a = e, n = Zt(), s = ut(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6266
6269
  o.inputFactory = ke(s);
6267
6270
  const l = R({
6268
6271
  ...o == null ? void 0 : o.url,
@@ -6281,7 +6284,7 @@ const nt = new $i(), dt = (e, t, a) => {
6281
6284
  { immediate: !0, deep: !0 }
6282
6285
  );
6283
6286
  const g = (S) => {
6284
- const d = ma(o, a, S), _ = da(d);
6287
+ const d = pa(o, a, S), _ = ma(d);
6285
6288
  c("update:labels", _);
6286
6289
  };
6287
6290
  return ea(() => {
@@ -6292,8 +6295,8 @@ const nt = new $i(), dt = (e, t, a) => {
6292
6295
  label: "Name",
6293
6296
  value: "Id",
6294
6297
  key: "Id"
6295
- }), o && dt(o.autoload, o, a);
6296
- }), ut(() => {
6298
+ }), o && mt(o.autoload, o, a);
6299
+ }), ft(() => {
6297
6300
  o && Mt(o, a);
6298
6301
  }), (S, O) => (le(), ge("div", Zi, [
6299
6302
  Ye(X(Nr), wt({
@@ -6301,7 +6304,7 @@ const nt = new $i(), dt = (e, t, a) => {
6301
6304
  class: "w-full mb-[-3px]"
6302
6305
  }, X(n)), {
6303
6306
  default: Me(() => [
6304
- m.value.length > 0 ? (le(!0), ge(Ke, { key: 0 }, an(m.value, (d) => {
6307
+ m.value.length > 0 ? (le(!0), ge(Ke, { key: 0 }, nn(m.value, (d) => {
6305
6308
  var _;
6306
6309
  return le(), zt(X(Sr), {
6307
6310
  key: d.value,
@@ -6328,7 +6331,7 @@ const nt = new $i(), dt = (e, t, a) => {
6328
6331
  }), tc = { class: "min-h-[32px] pt-1" }, ac = {
6329
6332
  key: 1,
6330
6333
  class: "text-center text-gray-500"
6331
- }, qc = /* @__PURE__ */ De({
6334
+ }, zc = /* @__PURE__ */ De({
6332
6335
  inheritAttrs: !1,
6333
6336
  __name: "index",
6334
6337
  props: {
@@ -6351,7 +6354,7 @@ const nt = new $i(), dt = (e, t, a) => {
6351
6354
  emits: ["change", "update:value", "update:labels"],
6352
6355
  setup(e, { emit: t }) {
6353
6356
  var P, S, O;
6354
- const a = e, n = Zt(), s = ct(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6357
+ const a = e, n = Zt(), s = ut(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6355
6358
  o.inputFactory = ke(s);
6356
6359
  const l = R({
6357
6360
  ...o == null ? void 0 : o.url,
@@ -6384,7 +6387,7 @@ const nt = new $i(), dt = (e, t, a) => {
6384
6387
  }
6385
6388
  return d === _;
6386
6389
  }, I = (d) => {
6387
- const _ = d.target.value, y = ma(o, a, _), E = da(y);
6390
+ const _ = d.target.value, y = pa(o, a, _), E = ma(y);
6388
6391
  g("update:labels", E);
6389
6392
  };
6390
6393
  return ea(() => {
@@ -6394,8 +6397,8 @@ const nt = new $i(), dt = (e, t, a) => {
6394
6397
  label: "Name",
6395
6398
  value: "Id",
6396
6399
  key: "Id"
6397
- }), o && dt(o.autoload, o, a);
6398
- }), ut(() => {
6400
+ }), o && mt(o.autoload, o, a);
6401
+ }), ft(() => {
6399
6402
  o && Mt(o, a);
6400
6403
  }), (d, _) => (le(), ge("div", tc, [
6401
6404
  Ye(X(Tr), wt({
@@ -6406,7 +6409,7 @@ const nt = new $i(), dt = (e, t, a) => {
6406
6409
  class: "w-full flex align-items flex-wrap mb-[-3px]"
6407
6410
  }, X(n)), {
6408
6411
  default: Me(() => [
6409
- m.value.length > 0 ? (le(!0), ge(Ke, { key: 0 }, an(m.value, (y) => {
6412
+ m.value.length > 0 ? (le(!0), ge(Ke, { key: 0 }, nn(m.value, (y) => {
6410
6413
  var E;
6411
6414
  return le(), ge(Ke, {
6412
6415
  key: y.value
@@ -6437,7 +6440,7 @@ const nt = new $i(), dt = (e, t, a) => {
6437
6440
  }), nc = {
6438
6441
  key: 0,
6439
6442
  class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
6440
- }, zc = /* @__PURE__ */ De({
6443
+ }, Zc = /* @__PURE__ */ De({
6441
6444
  inheritAttrs: !1,
6442
6445
  __name: "index",
6443
6446
  props: {
@@ -6473,7 +6476,7 @@ const nt = new $i(), dt = (e, t, a) => {
6473
6476
  emits: ["change", "update:value", "update:label", "update:labels"],
6474
6477
  setup(e, { emit: t }) {
6475
6478
  var _, y, E;
6476
- const a = e, n = a.value === void 0 ? !0 : a.undefValue, s = ct(), { editorCtrl: r, errInfo: o, labelText: l } = s, i = Ut(a.url, a), c = a.optionCtrl ?? i.optionCtrl;
6479
+ const a = e, n = a.value === void 0 ? !0 : a.undefValue, s = ut(), { editorCtrl: r, errInfo: o, labelText: l } = s, i = Ut(a.url, a), c = a.optionCtrl ?? i.optionCtrl;
6477
6480
  c.inputFactory = ke(s);
6478
6481
  const m = Zt();
6479
6482
  c.autoload = a.autoload ?? !1;
@@ -6486,7 +6489,7 @@ const nt = new $i(), dt = (e, t, a) => {
6486
6489
  }), p = R(m.placeholder), I = R(c == null ? void 0 : c.selected.value), P = t;
6487
6490
  s.inputEmit = P;
6488
6491
  const S = (b) => {
6489
- const L = ma(c, a, b), v = da(L);
6492
+ const L = pa(c, a, b), v = ma(L);
6490
6493
  I.value = b, P("update:labels", v), P("update:label", v.join(";")), P("change", b, L), o != null && o.value.errClass && r && Ft(r);
6491
6494
  }, O = R((c == null ? void 0 : c.options.value) || []), d = (b) => {
6492
6495
  if (b.length > 0 && ve(a.value) && a.selectFirst)
@@ -6542,19 +6545,19 @@ const nt = new $i(), dt = (e, t, a) => {
6542
6545
  value: "Id",
6543
6546
  key: "Id"
6544
6547
  }), a.dataKey) {
6545
- const b = JSON.parse(JSON.stringify(Za.getOptions(a.dataKey)));
6548
+ const b = JSON.parse(JSON.stringify(en.getOptions(a.dataKey)));
6546
6549
  O.value = b, d(b);
6547
6550
  } else if (c) {
6548
6551
  const b = c.options.value || [];
6549
- b.length > 0 ? (O.value = b, d(b)) : dt(c.autoload, c, a);
6552
+ b.length > 0 ? (O.value = b, d(b)) : mt(c.autoload, c, a);
6550
6553
  }
6551
- }), ut(() => {
6554
+ }), ft(() => {
6552
6555
  c && Mt(c, a);
6553
6556
  }), (b, L) => {
6554
6557
  var v, C, M;
6555
6558
  return le(), ge("div", null, [
6556
6559
  (C = (v = X(c)) == null ? void 0 : v.url) != null && C.loading ? (le(), ge("div", nc, [
6557
- Ye(X(tn), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
6560
+ Ye(X(an), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
6558
6561
  vr("span", null, Be(X(w)("webui.components.form.upload.dataLoading")), 1)
6559
6562
  ])) : rt("", !0),
6560
6563
  Ye(X(Or), wt({
@@ -6567,7 +6570,7 @@ const nt = new $i(), dt = (e, t, a) => {
6567
6570
  "label-in-value": !1
6568
6571
  }, X(m)), {
6569
6572
  default: Me(() => [
6570
- (le(!0), ge(Ke, null, an(O.value, (K) => (le(), ge(Ke, {
6573
+ (le(!0), ge(Ke, null, nn(O.value, (K) => (le(), ge(Ke, {
6571
6574
  key: K.value
6572
6575
  }, [
6573
6576
  K.visible !== !1 ? (le(), zt(X(Ar), {
@@ -6586,7 +6589,7 @@ const nt = new $i(), dt = (e, t, a) => {
6586
6589
  ]);
6587
6590
  };
6588
6591
  }
6589
- }), sc = R(!1), Zc = {
6592
+ }), sc = R(!1), eu = {
6590
6593
  label: w("webui.utils.tools.templateManagement"),
6591
6594
  key: "uploadTemp",
6592
6595
  type: "primary",
@@ -6597,88 +6600,89 @@ const nt = new $i(), dt = (e, t, a) => {
6597
6600
  };
6598
6601
  export {
6599
6602
  w as $,
6600
- ma as A,
6601
- da as B,
6603
+ pa as A,
6604
+ ma as B,
6602
6605
  Ft as C,
6603
- Xc as D,
6604
- oa as E,
6605
- qc as F,
6606
- zc as G,
6606
+ qc as D,
6607
+ la as E,
6608
+ zc as F,
6609
+ Zc as G,
6607
6610
  En as H,
6608
6611
  Mr as I,
6609
6612
  yc as J,
6610
- Vc as K,
6611
- ca as L,
6612
- yt as M,
6613
+ $c as K,
6614
+ ua as L,
6615
+ It as M,
6613
6616
  Ki as N,
6614
- Za as O,
6617
+ en as O,
6615
6618
  Re as P,
6616
6619
  Yi as Q,
6617
- $c as R,
6618
- Hc as S,
6620
+ Hc as R,
6621
+ Wc as S,
6619
6622
  Gi as T,
6620
6623
  lr as U,
6621
- Wc as V,
6622
- Kc as W,
6624
+ Gc as V,
6625
+ Yc as W,
6623
6626
  qi as X,
6624
6627
  zi as Y,
6625
- Yc as Z,
6626
- Jc as _,
6628
+ Bc as Z,
6629
+ Qc as _,
6627
6630
  Nc as a,
6628
6631
  us as a0,
6629
- Bc as a1,
6632
+ jc as a1,
6630
6633
  ar as a2,
6631
- wc as a3,
6634
+ kc as a3,
6632
6635
  nr as a4,
6633
6636
  Sc as a5,
6634
- Lc as a6,
6637
+ Oc as a6,
6635
6638
  vn as a7,
6636
6639
  Tc as a8,
6637
- Cc as a9,
6638
- Vi as aa,
6639
- rr as ab,
6640
- Mc as ac,
6641
- Ic as ad,
6642
- tr as ae,
6643
- ki as af,
6644
- en as ag,
6645
- nt as ah,
6646
- bt as ai,
6647
- jt as aj,
6648
- Fe as ak,
6649
- jc as al,
6650
- hn as am,
6651
- sc as an,
6652
- Zc as ao,
6653
- me as ap,
6654
- hc as aq,
6655
- bc as ar,
6656
- vc as as,
6657
- Ec as at,
6658
- Pt as au,
6659
- Pc as b,
6660
- Gc as c,
6661
- Rc as d,
6662
- Oc as e,
6663
- Uc as f,
6640
+ Lc as a9,
6641
+ Fc as aa,
6642
+ Vi as ab,
6643
+ rr as ac,
6644
+ Uc as ad,
6645
+ Ic as ae,
6646
+ tr as af,
6647
+ ki as ag,
6648
+ tn as ah,
6649
+ nt as ai,
6650
+ yt as aj,
6651
+ jt as ak,
6652
+ Fe as al,
6653
+ Jc as am,
6654
+ hn as an,
6655
+ sc as ao,
6656
+ eu as ap,
6657
+ me as aq,
6658
+ hc as ar,
6659
+ bc as as,
6660
+ vc as at,
6661
+ Ec as au,
6662
+ ct as av,
6663
+ Rc as b,
6664
+ Kc as c,
6665
+ wc as d,
6666
+ Ac as e,
6667
+ xc as f,
6664
6668
  Ui as g,
6665
- xc as h,
6669
+ Vc as h,
6666
6670
  ve as i,
6667
- Dc as j,
6668
- kc as k,
6671
+ Cc as j,
6672
+ Dc as k,
6669
6673
  sr as l,
6670
6674
  xi as m,
6671
- Fc as n,
6672
- Ac as o,
6675
+ Mc as n,
6676
+ Pc as o,
6673
6677
  Ci as p,
6674
6678
  Di as q,
6675
- ia as r,
6676
- Qc as s,
6679
+ ca as r,
6680
+ Xc as s,
6677
6681
  Ct as t,
6678
6682
  Ie as u,
6679
- ct as v,
6683
+ ut as v,
6680
6684
  Ut as w,
6681
- dt as x,
6685
+ mt as x,
6682
6686
  Mt as y,
6683
- tn as z
6687
+ an as z
6684
6688
  };