@skyfox2000/webui 1.6.4 → 1.6.6

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.
@@ -2,19 +2,19 @@ var pr = Object.defineProperty;
2
2
  var _r = (e, t, a) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var ne = (e, t, a) => _r(e, typeof t != "symbol" ? t + "" : t, a);
4
4
  import * as wa from "vue";
5
- import { effectScope as gr, ref as w, shallowRef as ke, computed as tt, watch as B, isRef as hr, defineComponent as De, h as Ie, Fragment as Ye, inject as nt, onMounted as wt, onUnmounted as dt, createVNode as Be, Text as Er, nextTick as vr, provide as ka, toRaw as ds, reactive as br, createBlock as zt, createCommentVNode as ot, openBlock as le, unref as X, mergeProps as kt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as xe, createTextVNode as ta, toDisplayString as je, renderList as nn, normalizeClass as ms, createElementVNode as Ir } from "vue";
5
+ import { effectScope as gr, ref as w, shallowRef as De, computed as tt, watch as B, isRef as hr, defineComponent as Ce, h as Ie, Fragment as Ye, inject as nt, onMounted as wt, onUnmounted as dt, createVNode as Be, Text as Er, nextTick as vr, provide as ka, toRaw as ds, reactive as br, createBlock as zt, createCommentVNode as ot, openBlock as le, unref as X, mergeProps as kt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as Me, createTextVNode as ta, toDisplayString as je, renderList as nn, normalizeClass as ms, createElementVNode as Ir } from "vue";
6
6
  import { Switch as yr, AutoComplete as Nr, Input as Sr, CheckboxGroup as Tr, Checkbox as Lr, RadioGroup as Or, Radio as Ar, Select as Pr, SelectOption as Rr } from "ant-design-vue";
7
7
  import { createPinia as wr, defineStore as Dt } from "pinia";
8
8
  import kr from "pinia-plugin-persistedstate";
9
- import { EnvConfig as Fe, AppAction as Sn, AppSource as Tn, isMicroApp as Ce, isBaseMicroApp as Dr, combineParams as Ct } from "@skyfox2000/microbase";
10
- import { httpPost as qe, ResStatus as ie, setToken as Wt, httpGet as ps, fieldMapping as Cr, parseFieldTemplate as Qt, API_HOST as Da, SERVER_HOST as Ln } from "@skyfox2000/fapi";
9
+ import { EnvConfig as ke, AppAction as Sn, AppSource as Tn, isMicroApp as He, isBaseMicroApp as Dr, combineParams as Ct } from "@skyfox2000/microbase";
10
+ import { httpPost as qe, ResStatus as ie, setToken as Ht, httpGet as ps, fieldMapping as Cr, parseFieldTemplate as Qt, API_HOST as Da, SERVER_HOST as Ln } from "@skyfox2000/fapi";
11
11
  import se from "vue-m-message";
12
12
  import { createRouter as Fr, createWebHashHistory as Mr } from "vue-router";
13
13
  import aa from "async-validator";
14
14
  import "dayjs";
15
15
  import "vue-draggable-next";
16
- const xr = wr();
17
- xr.use(kr);
16
+ const Ur = wr();
17
+ Ur.use(kr);
18
18
  var Re = /* @__PURE__ */ ((e) => (e.PageControl = "Page.PageControl", e.EditorControl = "Page.EditorControl", e.GridControl = "Page.GridControl", e.LabelText = "FormItem.LabelText", e.LabelWidth = "FormItem.LabelWidth", e.RuleKey = "FormItem.RuleKey", e.ErrInfo = "FormItem.ErrInfo", e))(Re || {});
19
19
  /*!
20
20
  * shared v11.2.7
@@ -39,13 +39,13 @@ if (process.env.NODE_ENV !== "production") {
39
39
  e.measure(t, a, n), e.clearMarks(a), e.clearMarks(n);
40
40
  });
41
41
  }
42
- const Ur = /\{([0-9a-zA-Z]+)\}/g;
42
+ const xr = /\{([0-9a-zA-Z]+)\}/g;
43
43
  function na(e, ...t) {
44
- return t.length === 1 && x(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Ur, (a, n) => t.hasOwnProperty(n) ? t[n] : "");
44
+ return t.length === 1 && U(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(xr, (a, n) => t.hasOwnProperty(n) ? t[n] : "");
45
45
  }
46
- const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Vr = (e, t, a) => $r({ l: e, k: t, s: a }), $r = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), Hr = (e) => rn(e) === "[object Date]", lt = (e) => rn(e) === "[object RegExp]", sa = (e) => F(e) && Object.keys(e).length === 0, te = Object.assign, Wr = Object.create, W = (e = null) => Wr(e);
46
+ const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Vr = (e, t, a) => $r({ l: e, k: t, s: a }), $r = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), Wr = (e) => rn(e) === "[object Date]", lt = (e) => rn(e) === "[object RegExp]", sa = (e) => F(e) && Object.keys(e).length === 0, te = Object.assign, Hr = Object.create, H = (e = null) => Hr(e);
47
47
  let An;
48
- const Ge = () => An || (An = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
48
+ const Ge = () => An || (An = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : H());
49
49
  function Pn(e) {
50
50
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
51
51
  }
@@ -66,7 +66,7 @@ const Kr = Object.prototype.hasOwnProperty;
66
66
  function be(e, t) {
67
67
  return Kr.call(e, t);
68
68
  }
69
- const J = Array.isArray, G = (e) => typeof e == "function", A = (e) => typeof e == "string", U = (e) => typeof e == "boolean", x = (e) => e !== null && typeof e == "object", Yr = (e) => x(e) && G(e.then) && G(e.catch), _s = Object.prototype.toString, rn = (e) => _s.call(e), F = (e) => rn(e) === "[object Object]", Br = (e) => e == null ? "" : J(e) || F(e) && e.toString === _s ? JSON.stringify(e, null, 2) : String(e);
69
+ const J = Array.isArray, G = (e) => typeof e == "function", A = (e) => typeof e == "string", x = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", Yr = (e) => U(e) && G(e.then) && G(e.catch), _s = Object.prototype.toString, rn = (e) => _s.call(e), F = (e) => rn(e) === "[object Object]", Br = (e) => e == null ? "" : J(e) || F(e) && e.toString === _s ? JSON.stringify(e, null, 2) : String(e);
70
70
  function on(e, t = "") {
71
71
  return e.reduce((a, n, s) => s === 0 ? a + n : a + t + n, "");
72
72
  }
@@ -116,7 +116,7 @@ function ln() {
116
116
  }
117
117
  };
118
118
  }
119
- const Gt = (e) => !x(e) || J(e);
119
+ const Gt = (e) => !U(e) || J(e);
120
120
  function jt(e, t) {
121
121
  if (Gt(e) || Gt(t))
122
122
  throw new Error("Invalid value");
@@ -124,7 +124,7 @@ function jt(e, t) {
124
124
  for (; a.length; ) {
125
125
  const { src: n, des: s } = a.pop();
126
126
  Object.keys(n).forEach((r) => {
127
- r !== "__proto__" && (x(n[r]) && !x(s[r]) && (s[r] = Array.isArray(n[r]) ? [] : W()), Gt(s[r]) || Gt(n[r]) ? s[r] = n[r] : a.push({ src: n[r], des: s[r] }));
127
+ r !== "__proto__" && (U(n[r]) && !U(s[r]) && (s[r] = Array.isArray(n[r]) ? [] : H()), Gt(s[r]) || Gt(n[r]) ? s[r] = n[r] : a.push({ src: n[r], des: s[r] }));
128
128
  });
129
129
  }
130
130
  }
@@ -533,7 +533,7 @@ function oo(e, t = {}) {
533
533
  /* TokenChars.BraceRight */
534
534
  ), f.braceNest--, f.braceNest > 0 && O(u), f.inLinked && f.braceNest === 0 && (f.inLinked = !1), N;
535
535
  case "@":
536
- return f.braceNest > 0 && g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), N = $e(u, f) || y(f), f.braceNest = 0, N;
536
+ return f.braceNest > 0 && g(D.UNTERMINATED_CLOSING_BRACE, r(), 0), N = Ve(u, f) || y(f), f.braceNest = 0, N;
537
537
  default: {
538
538
  let j = !0, q = !0, V = !0;
539
539
  if (K(u))
@@ -553,7 +553,7 @@ function oo(e, t = {}) {
553
553
  }
554
554
  return N;
555
555
  }
556
- function $e(u, f) {
556
+ function Ve(u, f) {
557
557
  const { currentType: N } = f;
558
558
  let k = null;
559
559
  const j = u.currentChar();
@@ -580,7 +580,7 @@ function oo(e, t = {}) {
580
580
  /* TokenChars.LinkedDelimiter */
581
581
  );
582
582
  default:
583
- return K(u) ? (k = p(f, 1, gt(u)), f.braceNest = 0, f.inLinked = !1, k) : L(u, f) || C(u, f) ? (O(u), $e(u, f)) : v(u, f) ? (O(u), p(f, 11, Aa(u))) : M(u, f) ? (O(u), j === "{" ? ht(u, f) || k : p(f, 10, Pa(u))) : (N === 7 && g(D.INVALID_LINKED_FORMAT, r(), 0), f.braceNest = 0, f.inLinked = !1, Et(u, f));
583
+ return K(u) ? (k = p(f, 1, gt(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 === "{" ? ht(u, f) || k : p(f, 10, Pa(u))) : (N === 7 && g(D.INVALID_LINKED_FORMAT, r(), 0), f.braceNest = 0, f.inLinked = !1, Et(u, f));
584
584
  }
585
585
  }
586
586
  function Et(u, f) {
@@ -591,7 +591,7 @@ function oo(e, t = {}) {
591
591
  if (f.braceNest > 0)
592
592
  return ht(u, f) || y(f);
593
593
  if (f.inLinked)
594
- return $e(u, f) || y(f);
594
+ return Ve(u, f) || y(f);
595
595
  switch (u.currentChar()) {
596
596
  case "{":
597
597
  return ht(u, f) || y(f);
@@ -603,7 +603,7 @@ function oo(e, t = {}) {
603
603
  /* TokenChars.BraceRight */
604
604
  );
605
605
  case "@":
606
- return $e(u, f) || y(f);
606
+ return Ve(u, f) || y(f);
607
607
  default: {
608
608
  if (K(u))
609
609
  return N = p(f, 1, gt(u)), f.braceNest = 0, f.inLinked = !1, N;
@@ -1081,7 +1081,7 @@ function So() {
1081
1081
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ge().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ge().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1082
1082
  }
1083
1083
  function he(e) {
1084
- return x(e) && un(e) === 0 && (be(e, "b") || be(e, "body"));
1084
+ return U(e) && un(e) === 0 && (be(e, "b") || be(e, "body"));
1085
1085
  }
1086
1086
  const gs = ["b", "body"];
1087
1087
  function To(e) {
@@ -1169,11 +1169,11 @@ function Fn(e, t) {
1169
1169
  if (a != null)
1170
1170
  return e.type === "text" ? a : e.normalize([a]);
1171
1171
  {
1172
- const n = Ao(t).reduce((s, r) => [...s, Ha(e, r)], []);
1172
+ const n = Ao(t).reduce((s, r) => [...s, Wa(e, r)], []);
1173
1173
  return e.normalize(n);
1174
1174
  }
1175
1175
  }
1176
- function Ha(e, t) {
1176
+ function Wa(e, t) {
1177
1177
  const a = un(t);
1178
1178
  switch (a) {
1179
1179
  case 3:
@@ -1198,7 +1198,7 @@ function Ha(e, t) {
1198
1198
  }
1199
1199
  case 6: {
1200
1200
  const n = t, s = Po(n), r = Ro(n);
1201
- return e.linked(Ha(e, r), s ? Ha(e, s) : void 0, e.type);
1201
+ return e.linked(Wa(e, r), s ? Wa(e, s) : void 0, e.type);
1202
1202
  }
1203
1203
  case 7:
1204
1204
  return Kt(t, a);
@@ -1213,7 +1213,7 @@ function Do(e, t) {
1213
1213
  t && Zr(e) && Le(na(ko, { source: e }));
1214
1214
  }
1215
1215
  const Co = (e) => e;
1216
- let Yt = W();
1216
+ let Yt = H();
1217
1217
  function Fo(e, t = {}) {
1218
1218
  let a = !1;
1219
1219
  const n = t.onError || qr;
@@ -1224,7 +1224,7 @@ function Fo(e, t = {}) {
1224
1224
  // @__NO_SIDE_EFFECTS__
1225
1225
  function Mo(e, t) {
1226
1226
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && A(e)) {
1227
- const a = U(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1227
+ const a = x(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1228
1228
  process.env.NODE_ENV !== "production" && Do(e, a);
1229
1229
  const s = (t.onCacheKey || Co)(e), r = Yt[s];
1230
1230
  if (r)
@@ -1247,10 +1247,10 @@ function Mo(e, t) {
1247
1247
  }
1248
1248
  }
1249
1249
  let Tt = null;
1250
- function xo(e) {
1250
+ function Uo(e) {
1251
1251
  Tt = e;
1252
1252
  }
1253
- function Uo(e, t, a) {
1253
+ function xo(e, t, a) {
1254
1254
  Tt && Tt.emit("i18n:init", {
1255
1255
  timestamp: Date.now(),
1256
1256
  i18n: e,
@@ -1271,11 +1271,11 @@ const oe = {
1271
1271
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1272
1272
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1273
1273
  NOT_SUPPORT_LOCALE_TYPE: 23
1274
- }, Ho = 24;
1274
+ }, Wo = 24;
1275
1275
  function we(e) {
1276
- return mt(e, null, process.env.NODE_ENV !== "production" ? { messages: Wo } : void 0);
1276
+ return mt(e, null, process.env.NODE_ENV !== "production" ? { messages: Ho } : void 0);
1277
1277
  }
1278
- const Wo = {
1278
+ const Ho = {
1279
1279
  [oe.INVALID_ARGUMENT]: "Invalid arguments",
1280
1280
  [oe.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1281
1281
  [oe.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
@@ -1307,7 +1307,7 @@ function Mn(e) {
1307
1307
  function Go(e, t, a) {
1308
1308
  return [.../* @__PURE__ */ new Set([
1309
1309
  a,
1310
- ...J(t) ? t : x(t) ? Object.keys(t) : A(t) ? [t] : [a]
1310
+ ...J(t) ? t : U(t) ? Object.keys(t) : A(t) ? [t] : [a]
1311
1311
  ])];
1312
1312
  }
1313
1313
  function Ts(e, t, a) {
@@ -1318,15 +1318,15 @@ function Ts(e, t, a) {
1318
1318
  r = [];
1319
1319
  let o = [a];
1320
1320
  for (; J(o); )
1321
- o = xn(r, o, t);
1321
+ o = Un(r, o, t);
1322
1322
  const l = J(t) || !F(t) ? t : t.default ? t.default : null;
1323
- o = A(l) ? [l] : l, J(o) && xn(r, o, !1), s.__localeChainCache.set(n, r);
1323
+ o = A(l) ? [l] : l, J(o) && Un(r, o, !1), s.__localeChainCache.set(n, r);
1324
1324
  }
1325
1325
  return r;
1326
1326
  }
1327
- function xn(e, t, a) {
1327
+ function Un(e, t, a) {
1328
1328
  let n = !0;
1329
- for (let s = 0; s < t.length && U(n); s++) {
1329
+ for (let s = 0; s < t.length && x(n); s++) {
1330
1330
  const r = t[s];
1331
1331
  A(r) && (n = Ko(e, t[s], a));
1332
1332
  }
@@ -1350,8 +1350,8 @@ function Yo(e, t, a) {
1350
1350
  }
1351
1351
  return n;
1352
1352
  }
1353
- const Ve = [];
1354
- Ve[
1353
+ const xe = [];
1354
+ xe[
1355
1355
  0
1356
1356
  /* States.BEFORE_PATH */
1357
1357
  ] = {
@@ -1373,7 +1373,7 @@ Ve[
1373
1373
  /* States.AFTER_PATH */
1374
1374
  ]
1375
1375
  };
1376
- Ve[
1376
+ xe[
1377
1377
  1
1378
1378
  /* States.IN_PATH */
1379
1379
  ] = {
@@ -1394,7 +1394,7 @@ Ve[
1394
1394
  /* States.AFTER_PATH */
1395
1395
  ]
1396
1396
  };
1397
- Ve[
1397
+ xe[
1398
1398
  2
1399
1399
  /* States.BEFORE_IDENT */
1400
1400
  ] = {
@@ -1413,7 +1413,7 @@ Ve[
1413
1413
  /* Actions.APPEND */
1414
1414
  ]
1415
1415
  };
1416
- Ve[
1416
+ xe[
1417
1417
  3
1418
1418
  /* States.IN_IDENT */
1419
1419
  ] = {
@@ -1448,7 +1448,7 @@ Ve[
1448
1448
  /* Actions.PUSH */
1449
1449
  ]
1450
1450
  };
1451
- Ve[
1451
+ xe[
1452
1452
  4
1453
1453
  /* States.IN_SUB_PATH */
1454
1454
  ] = {
@@ -1479,7 +1479,7 @@ Ve[
1479
1479
  /* Actions.APPEND */
1480
1480
  ]
1481
1481
  };
1482
- Ve[
1482
+ xe[
1483
1483
  5
1484
1484
  /* States.IN_SINGLE_QUOTE */
1485
1485
  ] = {
@@ -1495,7 +1495,7 @@ Ve[
1495
1495
  /* Actions.APPEND */
1496
1496
  ]
1497
1497
  };
1498
- Ve[
1498
+ xe[
1499
1499
  6
1500
1500
  /* States.IN_DOUBLE_QUOTE */
1501
1501
  ] = {
@@ -1610,21 +1610,21 @@ function qo(e) {
1610
1610
  }
1611
1611
  for (; n !== null; )
1612
1612
  if (a++, r = e[a], !(r === "\\" && y())) {
1613
- if (i = Qo(r), g = Ve[n], c = g[i] || g.l || 8, c === 8 || (n = c[0], c[1] !== void 0 && (m = p[c[1]], m && (l = r, m() === !1))))
1613
+ if (i = Qo(r), g = xe[n], c = g[i] || g.l || 8, c === 8 || (n = c[0], c[1] !== void 0 && (m = p[c[1]], m && (l = r, m() === !1))))
1614
1614
  return;
1615
1615
  if (n === 7)
1616
1616
  return t;
1617
1617
  }
1618
1618
  }
1619
- const Un = /* @__PURE__ */ new Map();
1619
+ const xn = /* @__PURE__ */ new Map();
1620
1620
  function zo(e, t) {
1621
- return x(e) ? e[t] : null;
1621
+ return U(e) ? e[t] : null;
1622
1622
  }
1623
1623
  function Zo(e, t) {
1624
- if (!x(e))
1624
+ if (!U(e))
1625
1625
  return null;
1626
- let a = Un.get(t);
1627
- if (a || (a = qo(t), a && Un.set(t, a)), !a)
1626
+ let a = xn.get(t);
1627
+ if (a || (a = qo(t), a && xn.set(t, a)), !a)
1628
1628
  return null;
1629
1629
  const n = a.length;
1630
1630
  let s = e, r = 0;
@@ -1662,9 +1662,9 @@ function Qe(e, ...t) {
1662
1662
  const al = "11.2.7", ra = -1, Lt = "en-US", Xt = "", Vn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1663
1663
  function nl() {
1664
1664
  return {
1665
- upper: (e, t) => t === "text" && A(e) ? e.toUpperCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1666
- lower: (e, t) => t === "text" && A(e) ? e.toLowerCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1667
- capitalize: (e, t) => t === "text" && A(e) ? Vn(e) : t === "vnode" && x(e) && "__v_isVNode" in e ? Vn(e.children) : e
1665
+ upper: (e, t) => t === "text" && A(e) ? e.toUpperCase() : t === "vnode" && U(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1666
+ lower: (e, t) => t === "text" && A(e) ? e.toLowerCase() : t === "vnode" && U(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1667
+ capitalize: (e, t) => t === "text" && A(e) ? Vn(e) : t === "vnode" && U(e) && "__v_isVNode" in e ? Vn(e.children) : e
1668
1668
  };
1669
1669
  }
1670
1670
  let Ls;
@@ -1687,15 +1687,15 @@ let Rs = null;
1687
1687
  const $n = (e) => {
1688
1688
  Rs = e;
1689
1689
  }, cl = () => Rs;
1690
- let Hn = 0;
1690
+ let Wn = 0;
1691
1691
  function ul(e = {}) {
1692
- const t = G(e.onWarn) ? e.onWarn : Le, a = A(e.version) ? e.version : al, n = A(e.locale) || G(e.locale) ? e.locale : Lt, s = G(n) ? Lt : 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, nl()), m = e.pluralRules || W(), g = G(e.missing) ? e.missing : null, p = U(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, y = U(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, R = !!e.fallbackFormat, S = !!e.unresolving, O = G(e.postTranslation) ? e.postTranslation : null, d = F(e.processor) ? e.processor : null, _ = U(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, I = !!e.escapeParameter, E = G(e.messageCompiler) ? e.messageCompiler : Ls;
1692
+ const t = G(e.onWarn) ? e.onWarn : Le, a = A(e.version) ? e.version : al, n = A(e.locale) || G(e.locale) ? e.locale : Lt, s = G(n) ? Lt : 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(H(), e.modifiers, nl()), m = e.pluralRules || H(), g = G(e.missing) ? e.missing : null, p = x(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, y = x(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, R = !!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, I = !!e.escapeParameter, E = G(e.messageCompiler) ? e.messageCompiler : Ls;
1693
1693
  process.env.NODE_ENV !== "production" && G(e.messageCompiler) && sn(Qe(ce.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1694
- const b = G(e.messageResolver) ? e.messageResolver : Os || zo, L = G(e.localeFallbacker) ? e.localeFallbacker : As || Go, v = x(e.fallbackContext) ? e.fallbackContext : void 0, C = e, M = x(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), K = x(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), Ee = x(C.__meta) ? C.__meta : {};
1695
- Hn++;
1694
+ const b = G(e.messageResolver) ? e.messageResolver : Os || zo, L = G(e.localeFallbacker) ? e.localeFallbacker : As || Go, 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
+ Wn++;
1696
1696
  const Q = {
1697
1697
  version: a,
1698
- cid: Hn,
1698
+ cid: Wn,
1699
1699
  locale: n,
1700
1700
  fallbackLocale: r,
1701
1701
  messages: o,
@@ -1717,9 +1717,9 @@ function ul(e = {}) {
1717
1717
  onWarn: t,
1718
1718
  __meta: Ee
1719
1719
  };
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;
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__) && xo(Q, a, Ee), Q;
1721
1721
  }
1722
- const Ma = (e) => ({ [e]: W() });
1722
+ const Ma = (e) => ({ [e]: H() });
1723
1723
  function oa(e, t) {
1724
1724
  return e instanceof RegExp ? e.test(t) : e;
1725
1725
  }
@@ -1759,15 +1759,15 @@ function fl(e, t) {
1759
1759
  return !0;
1760
1760
  return !1;
1761
1761
  }
1762
- const Wn = typeof Intl < "u", Ds = {
1763
- dateTimeFormat: Wn && typeof Intl.DateTimeFormat < "u",
1764
- numberFormat: Wn && typeof Intl.NumberFormat < "u"
1762
+ const Hn = typeof Intl < "u", Ds = {
1763
+ dateTimeFormat: Hn && typeof Intl.DateTimeFormat < "u",
1764
+ numberFormat: Hn && typeof Intl.NumberFormat < "u"
1765
1765
  };
1766
1766
  function Gn(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" && !Ds.dateTimeFormat)
1769
1769
  return r(Qe(ce.CANNOT_FORMAT_DATE)), Xt;
1770
- const [i, c, m, g] = Wa(...t), p = U(m.missingWarn) ? m.missingWarn : e.missingWarn, y = U(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, R = !!m.part, S = fn(e, m), O = o(
1770
+ const [i, c, m, g] = Ha(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, y = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, R = !!m.part, S = fn(e, m), O = o(
1771
1771
  e,
1772
1772
  // eslint-disable-line @typescript-eslint/no-explicit-any
1773
1773
  s,
@@ -1824,9 +1824,9 @@ const Cs = [
1824
1824
  "hourCycle",
1825
1825
  "fractionalSecondDigits"
1826
1826
  ];
1827
- function Wa(...e) {
1828
- const [t, a, n, s] = e, r = W();
1829
- let o = W(), l;
1827
+ function Ha(...e) {
1828
+ const [t, a, n, s] = e, r = H();
1829
+ let o = H(), l;
1830
1830
  if (A(t)) {
1831
1831
  const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1832
1832
  if (!i)
@@ -1838,7 +1838,7 @@ function Wa(...e) {
1838
1838
  } catch {
1839
1839
  throw we(oe.INVALID_ISO_DATE_ARGUMENT);
1840
1840
  }
1841
- } else if (Hr(t)) {
1841
+ } else if (Wr(t)) {
1842
1842
  if (isNaN(t.getTime()))
1843
1843
  throw we(oe.INVALID_DATE_ARGUMENT);
1844
1844
  l = t;
@@ -1861,7 +1861,7 @@ function Yn(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" && !Ds.numberFormat)
1863
1863
  return r(Qe(ce.CANNOT_FORMAT_NUMBER)), Xt;
1864
- const [i, c, m, g] = Ga(...t), p = U(m.missingWarn) ? m.missingWarn : e.missingWarn, y = U(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, R = !!m.part, S = fn(e, m), O = o(
1864
+ const [i, c, m, g] = Ga(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, y = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, R = !!m.part, S = fn(e, m), O = o(
1865
1865
  e,
1866
1866
  // eslint-disable-line @typescript-eslint/no-explicit-any
1867
1867
  s,
@@ -1919,8 +1919,8 @@ const Fs = [
1919
1919
  "trailingZeroDisplay"
1920
1920
  ];
1921
1921
  function Ga(...e) {
1922
- const [t, a, n, s] = e, r = W();
1923
- let o = W();
1922
+ const [t, a, n, s] = e, r = H();
1923
+ let o = H();
1924
1924
  if (!ee(t))
1925
1925
  throw we(oe.INVALID_ARGUMENT);
1926
1926
  const l = t;
@@ -1947,11 +1947,11 @@ function El(e, t) {
1947
1947
  t.count || (t.count = e), t.n || (t.n = e);
1948
1948
  }
1949
1949
  function vl(e = {}) {
1950
- const t = e.locale, a = hl(e), n = x(e.pluralRules) && A(t) && G(e.pluralRules[t]) ? e.pluralRules[t] : jn, s = x(e.pluralRules) && A(t) && G(e.pluralRules[t]) ? jn : void 0, r = (d) => d[n(a, d.length, s)], o = e.list || [], l = (d) => o[d], i = e.named || W();
1950
+ const t = e.locale, a = hl(e), n = U(e.pluralRules) && A(t) && G(e.pluralRules[t]) ? e.pluralRules[t] : jn, s = U(e.pluralRules) && A(t) && G(e.pluralRules[t]) ? jn : void 0, r = (d) => d[n(a, d.length, s)], o = e.list || [], l = (d) => o[d], i = e.named || H();
1951
1951
  ee(e.pluralIndex) && El(a, i);
1952
1952
  const c = (d) => i[d];
1953
1953
  function m(d, _) {
1954
- const I = G(e.messages) ? e.messages(d, !!_) : x(e.messages) ? e.messages[d] : !1;
1954
+ const I = G(e.messages) ? e.messages(d, !!_) : U(e.messages) ? e.messages[d] : !1;
1955
1955
  return I || (e.parent ? e.parent.message(d) : ml);
1956
1956
  }
1957
1957
  const g = (d) => e.modifiers ? e.modifiers[d] : dl, p = F(e.processor) && G(e.processor.normalize) ? e.processor.normalize : _l, y = F(e.processor) && G(e.processor.interpolate) ? e.processor.interpolate : gl, R = F(e.processor) && A(e.processor.type) ? e.processor.type : pl, O = {
@@ -1961,7 +1961,7 @@ function vl(e = {}) {
1961
1961
  linked: (d, ..._) => {
1962
1962
  const [I, E] = _;
1963
1963
  let b = "text", L = "";
1964
- _.length === 1 ? x(I) ? (L = I.modifier || L, b = I.type || b) : A(I) && (L = I || L) : _.length === 2 && (A(I) && (L = I || L), A(E) && (b = E || b));
1964
+ _.length === 1 ? U(I) ? (L = I.modifier || L, b = I.type || b) : A(I) && (L = I || L) : _.length === 2 && (A(I) && (L = I || L), A(E) && (b = E || b));
1965
1965
  const v = m(d, !0)(O), C = (
1966
1966
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1967
1967
  b === "vnode" && J(v) && L ? v[0] : v
@@ -1972,18 +1972,18 @@ function vl(e = {}) {
1972
1972
  type: R,
1973
1973
  interpolate: y,
1974
1974
  normalize: p,
1975
- values: te(W(), o, i)
1975
+ values: te(H(), o, i)
1976
1976
  };
1977
1977
  return O;
1978
1978
  }
1979
1979
  const Jn = () => "", pe = (e) => G(e);
1980
1980
  function Qn(e, ...t) {
1981
- const { fallbackFormat: a, postTranslation: n, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [i, c] = Ka(...t), m = U(c.missingWarn) ? c.missingWarn : e.missingWarn, g = U(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, p = U(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, y = !!c.resolvedMessage, R = A(c.default) || U(c.default) ? U(c.default) ? r ? i : () => i : c.default : a ? r ? i : () => i : null, S = a || R != null && (A(R) || G(R)), 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, y = !!c.resolvedMessage, R = A(c.default) || x(c.default) ? x(c.default) ? r ? i : () => i : c.default : a ? r ? i : () => i : null, S = a || R != null && (A(R) || G(R)), O = fn(e, c);
1982
1982
  p && bl(c);
1983
1983
  let [d, _, I] = y ? [
1984
1984
  i,
1985
1985
  O,
1986
- l[O] || W()
1986
+ l[O] || H()
1987
1987
  ] : Ms(e, i, O, o, g, m), E = d, b = i;
1988
1988
  if (!y && !(A(E) || he(E) || pe(E)) && S && (E = R, b = E), !y && (!(A(E) || he(E) || pe(E)) || !A(_)))
1989
1989
  return s ? ra : i;
@@ -1992,7 +1992,7 @@ function Qn(e, ...t) {
1992
1992
  let L = !1;
1993
1993
  const v = () => {
1994
1994
  L = !0;
1995
- }, C = pe(E) ? E : xs(e, i, _, E, b, v);
1995
+ }, C = pe(E) ? E : Us(e, i, _, E, b, v);
1996
1996
  if (L)
1997
1997
  return E;
1998
1998
  const M = Sl(e, _, I, c), K = vl(M), Ee = Il(e, C, K);
@@ -2010,13 +2010,13 @@ function Qn(e, ...t) {
2010
2010
  return Q;
2011
2011
  }
2012
2012
  function bl(e) {
2013
- J(e.list) ? e.list = e.list.map((t) => A(t) ? Pn(t) : t) : x(e.named) && Object.keys(e.named).forEach((t) => {
2013
+ J(e.list) ? e.list = e.list.map((t) => A(t) ? Pn(t) : t) : U(e.named) && Object.keys(e.named).forEach((t) => {
2014
2014
  A(e.named[t]) && (e.named[t] = Pn(e.named[t]));
2015
2015
  });
2016
2016
  }
2017
2017
  function Ms(e, t, a, n, s, r) {
2018
2018
  const { messages: o, onWarn: l, messageResolver: i, localeFallbacker: c } = e, m = c(e, n, a);
2019
- let g = W(), p, y = null, R = a, S = null;
2019
+ let g = H(), p, y = null, R = a, S = null;
2020
2020
  const O = "translate";
2021
2021
  for (let d = 0; d < m.length; d++) {
2022
2022
  if (p = S = m[d], process.env.NODE_ENV !== "production" && a !== p && !ks(a, p) && oa(s, t) && l(Qe(ce.FALLBACK_TO_TRANSLATE, {
@@ -2032,7 +2032,7 @@ function Ms(e, t, a, n, s, r) {
2032
2032
  groupId: `${O}:${t}`
2033
2033
  });
2034
2034
  }
2035
- g = o[p] || W();
2035
+ g = o[p] || H();
2036
2036
  let _ = null, I, E;
2037
2037
  if (process.env.NODE_ENV !== "production" && Ne && (_ = window.performance.now(), I = "intlify-message-resolve-start", E = "intlify-message-resolve-end", fe && fe(I)), (y = i(g, t)) === null && (y = g[t]), process.env.NODE_ENV !== "production" && Ne) {
2038
2038
  const b = window.performance.now(), L = e.__v_emitter;
@@ -2061,7 +2061,7 @@ function Ms(e, t, a, n, s, r) {
2061
2061
  }
2062
2062
  return [y, p, g];
2063
2063
  }
2064
- function xs(e, t, a, n, s, r) {
2064
+ function Us(e, t, a, n, s, r) {
2065
2065
  const { messageCompiler: o, warnHtmlMessage: l } = e;
2066
2066
  if (pe(n)) {
2067
2067
  const p = n;
@@ -2101,7 +2101,7 @@ function Il(e, t, a) {
2101
2101
  return o;
2102
2102
  }
2103
2103
  function Ka(...e) {
2104
- const [t, a, n] = e, s = W();
2104
+ const [t, a, n] = e, s = H();
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);
@@ -2156,7 +2156,7 @@ function Sl(e, t, a, n) {
2156
2156
  }
2157
2157
  if (A(S) || he(S)) {
2158
2158
  let O = !1;
2159
- const _ = xs(e, y, t, S, y, () => {
2159
+ const _ = Us(e, y, t, S, y, () => {
2160
2160
  O = !0;
2161
2161
  });
2162
2162
  return O ? Jn : _;
@@ -2167,9 +2167,9 @@ function Sl(e, t, a, n) {
2167
2167
  }
2168
2168
  So();
2169
2169
  function Tl() {
2170
- return Us().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2170
+ return xs().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2171
2171
  }
2172
- function Us() {
2172
+ function xs() {
2173
2173
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2174
2174
  }
2175
2175
  const Ll = typeof Proxy == "function", Ol = "devtools-plugin:setup", Al = "plugin:settings:set";
@@ -2244,7 +2244,7 @@ class wl {
2244
2244
  }
2245
2245
  }
2246
2246
  function kl(e, t) {
2247
- const a = e, n = Us(), s = Tl(), r = Ll && a.enableEarlyProxy;
2247
+ const a = e, n = xs(), s = Tl(), r = Ll && a.enableEarlyProxy;
2248
2248
  if (s && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !r))
2249
2249
  s.emit(Ol, e, t);
2250
2250
  else {
@@ -2267,7 +2267,7 @@ function Cl() {
2267
2267
  }
2268
2268
  const Y = {
2269
2269
  // composer module errors
2270
- UNEXPECTED_RETURN_TYPE: Ho,
2270
+ UNEXPECTED_RETURN_TYPE: Wo,
2271
2271
  // 24
2272
2272
  // legacy module errors
2273
2273
  INVALID_ARGUMENT: 25,
@@ -2336,19 +2336,19 @@ function ct(e, ...t) {
2336
2336
  return na(Ml[e], ...t);
2337
2337
  }
2338
2338
  function At(e) {
2339
- if (!x(e) || he(e))
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
- x(e[t]) && At(e[t]);
2344
+ U(e[t]) && At(e[t]);
2345
2345
  else {
2346
2346
  const a = t.split("."), n = a.length - 1;
2347
2347
  let s = e, r = !1;
2348
2348
  for (let o = 0; o < n; o++) {
2349
2349
  if (a[o] === "__proto__")
2350
2350
  throw new Error(`unsafe key: ${a[o]}`);
2351
- if (a[o] in s || (s[a[o]] = W()), !x(s[a[o]])) {
2351
+ if (a[o] in s || (s[a[o]] = H()), !U(s[a[o]])) {
2352
2352
  process.env.NODE_ENV !== "production" && Le(ct(_e.IGNORE_OBJ_FLATTEN, {
2353
2353
  key: a[o]
2354
2354
  })), r = !0;
@@ -2358,17 +2358,17 @@ function At(e) {
2358
2358
  }
2359
2359
  if (r || (he(s) ? Ss.includes(a[n]) || delete e[t] : (s[a[n]] = e[t], delete e[t])), !he(s)) {
2360
2360
  const o = s[a[n]];
2361
- x(o) && At(o);
2361
+ U(o) && At(o);
2362
2362
  }
2363
2363
  }
2364
2364
  return e;
2365
2365
  }
2366
2366
  function mn(e, t) {
2367
- const { messages: a, __i18n: n, messageResolver: s, flatJson: r } = t, o = F(a) ? a : J(n) ? W() : { [e]: W() };
2367
+ const { messages: a, __i18n: n, messageResolver: s, flatJson: r } = t, o = F(a) ? a : J(n) ? H() : { [e]: H() };
2368
2368
  if (J(n) && n.forEach((l) => {
2369
2369
  if ("locale" in l && "resource" in l) {
2370
2370
  const { locale: i, resource: c } = l;
2371
- i ? (o[i] = o[i] || W(), jt(c, o[i])) : jt(c, o);
2371
+ i ? (o[i] = o[i] || H(), jt(c, o[i])) : jt(c, o);
2372
2372
  } else
2373
2373
  A(l) && jt(JSON.parse(l), o);
2374
2374
  }), s == null && r)
@@ -2376,11 +2376,11 @@ function mn(e, t) {
2376
2376
  be(o, l) && At(o[l]);
2377
2377
  return o;
2378
2378
  }
2379
- function Hs(e) {
2379
+ function Ws(e) {
2380
2380
  return e.type;
2381
2381
  }
2382
- function Ws(e, t, a) {
2383
- let n = x(t.messages) ? t.messages : W();
2382
+ function Hs(e, t, a) {
2383
+ let n = U(t.messages) ? t.messages : H();
2384
2384
  "__i18nGlobal" in a && (n = mn(e.locale.value, {
2385
2385
  messages: n,
2386
2386
  __i18n: a.__i18nGlobal
@@ -2390,13 +2390,13 @@ function Ws(e, t, a) {
2390
2390
  e.mergeLocaleMessage(r, n[r]);
2391
2391
  });
2392
2392
  {
2393
- if (x(t.datetimeFormats)) {
2393
+ if (U(t.datetimeFormats)) {
2394
2394
  const r = Object.keys(t.datetimeFormats);
2395
2395
  r.length && r.forEach((o) => {
2396
2396
  e.mergeDateTimeFormat(o, t.datetimeFormats[o]);
2397
2397
  });
2398
2398
  }
2399
- if (x(t.numberFormats)) {
2399
+ if (U(t.numberFormats)) {
2400
2400
  const r = Object.keys(t.numberFormats);
2401
2401
  r.length && r.forEach((o) => {
2402
2402
  e.mergeNumberFormat(o, t.numberFormats[o]);
@@ -2411,19 +2411,19 @@ function rt() {
2411
2411
  const e = "currentInstance";
2412
2412
  return e in wa ? wa[e] : wa.getCurrentInstance();
2413
2413
  }
2414
- const qn = "__INTLIFY_META__", zn = () => [], xl = () => !1;
2414
+ const qn = "__INTLIFY_META__", zn = () => [], Ul = () => !1;
2415
2415
  let Zn = 0;
2416
2416
  function es(e) {
2417
2417
  return ((t, a, n, s) => e(a, n, rt() || void 0, s));
2418
2418
  }
2419
- const Ul = /* @__NO_SIDE_EFFECTS__ */ () => {
2419
+ const xl = /* @__NO_SIDE_EFFECTS__ */ () => {
2420
2420
  const e = rt();
2421
2421
  let t = null;
2422
- return e && (t = Hs(e)[qn]) ? { [qn]: t } : null;
2422
+ return e && (t = Ws(e)[qn]) ? { [qn]: t } : null;
2423
2423
  };
2424
2424
  function pn(e = {}) {
2425
- const { __root: t, __injectWithOption: a } = e, n = t === void 0, s = e.flatJson, r = Ne ? w : ke;
2426
- let o = U(e.inheritLocale) ? e.inheritLocale : !0;
2425
+ const { __root: t, __injectWithOption: a } = e, n = t === void 0, s = e.flatJson, r = Ne ? w : De;
2426
+ let o = x(e.inheritLocale) ? e.inheritLocale : !0;
2427
2427
  const l = r(
2428
2428
  // prettier-ignore
2429
2429
  t && o ? t.locale.value : A(e.locale) ? e.locale : Lt
@@ -2431,7 +2431,7 @@ function pn(e = {}) {
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
2433
2433
  ), c = r(mn(l.value, e)), m = r(F(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), g = r(F(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
2434
- let p = t ? t.missingWarn : U(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, y = t ? t.fallbackWarn : U(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, R = t ? t.fallbackRoot : U(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, O = G(e.missing) ? e.missing : null, d = G(e.missing) ? es(e.missing) : null, _ = G(e.postTranslation) ? e.postTranslation : null, I = t ? t.warnHtmlMessage : U(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
2434
+ let p = t ? t.missingWarn : x(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, y = t ? t.fallbackWarn : x(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, R = t ? t.fallbackRoot : x(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, O = G(e.missing) ? e.missing : null, d = G(e.missing) ? es(e.missing) : null, _ = G(e.postTranslation) ? e.postTranslation : null, I = t ? t.warnHtmlMessage : x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
2435
2435
  const b = t ? t.modifiers : F(e.modifiers) ? e.modifiers : {};
2436
2436
  let L = e.pluralRules || t && t.pluralRules, v;
2437
2437
  v = (() => {
@@ -2494,7 +2494,7 @@ function pn(e = {}) {
2494
2494
  function Ia(h, T) {
2495
2495
  return h !== "translate" || !T.resolvedMessage;
2496
2496
  }
2497
- const Ae = (h, T, H, z, He, Ht) => {
2497
+ const Ae = (h, T, W, z, $e, Wt) => {
2498
2498
  M();
2499
2499
  let Ze;
2500
2500
  try {
@@ -2502,24 +2502,24 @@ function pn(e = {}) {
2502
2502
  } finally {
2503
2503
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, n || (v.fallbackContext = void 0);
2504
2504
  }
2505
- if (H !== "translate exists" && // for not `te` (e.g `t`)
2506
- ee(Ze) && Ze === ra || H === "translate exists" && !Ze) {
2505
+ if (W !== "translate exists" && // for not `te` (e.g `t`)
2506
+ ee(Ze) && Ze === ra || W === "translate exists" && !Ze) {
2507
2507
  const [We, mr] = T();
2508
- if (process.env.NODE_ENV !== "production" && t && A(We) && Ia(H, mr) && (R && (oa(y, We) || ws(p, We)) && Le(ct(_e.FALLBACK_TO_ROOT, {
2508
+ if (process.env.NODE_ENV !== "production" && t && A(We) && Ia(W, mr) && (R && (oa(y, We) || ws(p, We)) && Le(ct(_e.FALLBACK_TO_ROOT, {
2509
2509
  key: We,
2510
- type: H
2510
+ type: W
2511
2511
  })), process.env.NODE_ENV !== "production")) {
2512
2512
  const { __v_emitter: Nn } = v;
2513
2513
  Nn && R && Nn.emit("fallback", {
2514
- type: H,
2514
+ type: W,
2515
2515
  key: We,
2516
2516
  to: "global",
2517
- groupId: `${H}:${We}`
2517
+ groupId: `${W}:${We}`
2518
2518
  });
2519
2519
  }
2520
- return t && R ? z(t) : He(We);
2520
+ return t && R ? z(t) : $e(We);
2521
2521
  } else {
2522
- if (Ht(Ze))
2522
+ if (Wt(Ze))
2523
2523
  return Ze;
2524
2524
  throw ue(Y.UNEXPECTED_RETURN_TYPE);
2525
2525
  }
@@ -2528,19 +2528,19 @@ function pn(e = {}) {
2528
2528
  return Ae((T) => Reflect.apply(Qn, null, [T, ...h]), () => Ka(...h), "translate", (T) => Reflect.apply(T.t, T, [...h]), (T) => T, (T) => A(T));
2529
2529
  }
2530
2530
  function ya(...h) {
2531
- const [T, H, z] = h;
2532
- if (z && !x(z))
2531
+ const [T, W, z] = h;
2532
+ if (z && !U(z))
2533
2533
  throw ue(Y.INVALID_ARGUMENT);
2534
- return _t(T, H, te({ resolvedMessage: !0 }, z || {}));
2534
+ return _t(T, W, te({ resolvedMessage: !0 }, z || {}));
2535
2535
  }
2536
2536
  function Na(...h) {
2537
- return Ae((T) => Reflect.apply(Gn, null, [T, ...h]), () => Wa(...h), "datetime format", (T) => Reflect.apply(T.d, T, [...h]), () => Xt, (T) => A(T) || J(T));
2537
+ return Ae((T) => Reflect.apply(Gn, null, [T, ...h]), () => Ha(...h), "datetime format", (T) => Reflect.apply(T.d, T, [...h]), () => Xt, (T) => A(T) || J(T));
2538
2538
  }
2539
2539
  function Sa(...h) {
2540
2540
  return Ae((T) => Reflect.apply(Yn, null, [T, ...h]), () => Ga(...h), "number format", (T) => Reflect.apply(T.n, T, [...h]), () => Xt, (T) => A(T) || J(T));
2541
2541
  }
2542
2542
  function Ta(h) {
2543
- return h.map((T) => A(T) || ee(T) || U(T) ? Xn(String(T)) : T);
2543
+ return h.map((T) => A(T) || ee(T) || x(T) ? Xn(String(T)) : T);
2544
2544
  }
2545
2545
  const La = {
2546
2546
  normalize: Ta,
@@ -2549,21 +2549,21 @@ function pn(e = {}) {
2549
2549
  };
2550
2550
  function Vt(...h) {
2551
2551
  return Ae((T) => {
2552
- let H;
2552
+ let W;
2553
2553
  const z = T;
2554
2554
  try {
2555
- z.processor = La, H = Reflect.apply(Qn, null, [z, ...h]);
2555
+ z.processor = La, W = Reflect.apply(Qn, null, [z, ...h]);
2556
2556
  } finally {
2557
2557
  z.processor = null;
2558
2558
  }
2559
- return H;
2559
+ return W;
2560
2560
  }, () => Ka(...h), "translate", (T) => T[Ba](...h), (T) => [Xn(T)], (T) => J(T));
2561
2561
  }
2562
2562
  function Oa(...h) {
2563
2563
  return Ae((T) => Reflect.apply(Yn, null, [T, ...h]), () => Ga(...h), "number format", (T) => T[Ja](...h), zn, (T) => A(T) || J(T));
2564
2564
  }
2565
2565
  function $t(...h) {
2566
- return Ae((T) => Reflect.apply(Gn, null, [T, ...h]), () => Wa(...h), "datetime format", (T) => T[ja](...h), zn, (T) => A(T) || J(T));
2566
+ return Ae((T) => Reflect.apply(Gn, null, [T, ...h]), () => Ha(...h), "datetime format", (T) => T[ja](...h), zn, (T) => A(T) || J(T));
2567
2567
  }
2568
2568
  function Aa(h) {
2569
2569
  L = h, v.pluralRules = L;
@@ -2572,17 +2572,17 @@ function pn(e = {}) {
2572
2572
  return Ae(() => {
2573
2573
  if (!h)
2574
2574
  return !1;
2575
- const H = A(T) ? T : l.value, z = $e(H), He = v.messageResolver(z, h);
2576
- return he(He) || pe(He) || A(He);
2577
- }, () => [h], "translate exists", (H) => Reflect.apply(H.te, H, [h, T]), xl, (H) => U(H));
2575
+ const W = A(T) ? T : l.value, z = Ve(W), $e = v.messageResolver(z, h);
2576
+ return he($e) || pe($e) || A($e);
2577
+ }, () => [h], "translate exists", (W) => Reflect.apply(W.te, W, [h, T]), Ul, (W) => x(W));
2578
2578
  }
2579
2579
  function gt(h) {
2580
2580
  let T = null;
2581
- const H = Ts(v, i.value, l.value);
2582
- for (let z = 0; z < H.length; z++) {
2583
- const He = c.value[H[z]] || {}, Ht = v.messageResolver(He, h);
2584
- if (Ht != null) {
2585
- T = Ht;
2581
+ const W = Ts(v, i.value, l.value);
2582
+ for (let z = 0; z < W.length; z++) {
2583
+ const $e = c.value[W[z]] || {}, Wt = v.messageResolver($e, h);
2584
+ if (Wt != null) {
2585
+ T = Wt;
2586
2586
  break;
2587
2587
  }
2588
2588
  }
@@ -2592,25 +2592,25 @@ function pn(e = {}) {
2592
2592
  const T = gt(h);
2593
2593
  return T ?? (t ? t.tm(h) || {} : {});
2594
2594
  }
2595
- function $e(h) {
2595
+ function Ve(h) {
2596
2596
  return c.value[h] || {};
2597
2597
  }
2598
2598
  function Et(h, T) {
2599
2599
  if (s) {
2600
- const H = { [h]: T };
2601
- for (const z in H)
2602
- be(H, z) && At(H[z]);
2603
- T = H[h];
2600
+ const W = { [h]: T };
2601
+ for (const z in W)
2602
+ be(W, z) && At(W[z]);
2603
+ T = W[h];
2604
2604
  }
2605
2605
  c.value[h] = T, v.messages = c.value;
2606
2606
  }
2607
2607
  function Ra(h, T) {
2608
2608
  c.value[h] = c.value[h] || {};
2609
- const H = { [h]: T };
2609
+ const W = { [h]: T };
2610
2610
  if (s)
2611
- for (const z in H)
2612
- be(H, z) && At(H[z]);
2613
- T = H[h], jt(T, c.value[h]), v.messages = c.value;
2611
+ for (const z in W)
2612
+ be(W, z) && At(W[z]);
2613
+ T = W[h], jt(T, c.value[h]), v.messages = c.value;
2614
2614
  }
2615
2615
  function u(h) {
2616
2616
  return m.value[h] || {};
@@ -2695,7 +2695,7 @@ function pn(e = {}) {
2695
2695
  E = h, v.escapeParameter = h;
2696
2696
  },
2697
2697
  t: _t,
2698
- getLocaleMessage: $e,
2698
+ getLocaleMessage: Ve,
2699
2699
  setLocaleMessage: Et,
2700
2700
  mergeLocaleMessage: Ra,
2701
2701
  getPostTranslationHandler: ha,
@@ -2710,7 +2710,7 @@ function pn(e = {}) {
2710
2710
  v.__v_emitter = void 0;
2711
2711
  }), V;
2712
2712
  }
2713
- const Gs = "vue-i18n: composer properties", xa = {
2713
+ const Gs = "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"
@@ -2720,12 +2720,12 @@ const Gs = "vue-i18n: composer properties", xa = {
2720
2720
  "vue-i18n-timeline": 16764185
2721
2721
  };
2722
2722
  let Xa;
2723
- async function Hl(e, t) {
2723
+ async function Wl(e, t) {
2724
2724
  return new Promise((a, n) => {
2725
2725
  try {
2726
2726
  kl({
2727
2727
  id: "vue-devtools-plugin-vue-i18n",
2728
- label: xa["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",
@@ -2734,12 +2734,12 @@ async function Hl(e, t) {
2734
2734
  // eslint-disable-line @typescript-eslint/no-explicit-any
2735
2735
  }, (s) => {
2736
2736
  Xa = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: l }) => {
2737
- Wl(o, l, t);
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 && ts(l, o.__VUE_I18N__) : ts(l, o.__VUE_I18N__));
2740
2740
  }), s.addInspector({
2741
2741
  id: "vue-i18n-resource-inspector",
2742
- label: xa["vue-i18n-resource-inspector"],
2742
+ label: Ua["vue-i18n-resource-inspector"],
2743
2743
  icon: "language",
2744
2744
  treeFilterPlaceholder: Vl["vue-i18n-resource-inspector"]
2745
2745
  }), s.on.getInspectorTree((o) => {
@@ -2762,7 +2762,7 @@ async function Hl(e, t) {
2762
2762
  o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && ql(o, t);
2763
2763
  }), s.addTimelineLayer({
2764
2764
  id: "vue-i18n-timeline",
2765
- label: xa["vue-i18n-timeline"],
2765
+ label: Ua["vue-i18n-timeline"],
2766
2766
  color: $l["vue-i18n-timeline"]
2767
2767
  }), a(!0);
2768
2768
  });
@@ -2774,7 +2774,7 @@ async function Hl(e, t) {
2774
2774
  function Ks(e) {
2775
2775
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
2776
2776
  }
2777
- function Wl(e, t, a) {
2777
+ function Hl(e, t, a) {
2778
2778
  const n = a.mode === "composition" ? a.global : a.global.__composer;
2779
2779
  if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== n) {
2780
2780
  const s = {
@@ -2828,7 +2828,7 @@ function _n(e) {
2828
2828
  const t = {};
2829
2829
  return Object.keys(e).forEach((a) => {
2830
2830
  const n = e[a];
2831
- G(n) && "source" in n ? t[a] = Bl(n) : he(n) && n.loc && n.loc.source ? t[a] = n.loc.source : x(n) ? t[a] = _n(n) : t[a] = n;
2831
+ G(n) && "source" in n ? t[a] = Bl(n) : he(n) && n.loc && n.loc.source ? t[a] = n.loc.source : U(n) ? t[a] = _n(n) : t[a] = n;
2832
2832
  }), t;
2833
2833
  }
2834
2834
  const Gl = {
@@ -2967,11 +2967,11 @@ function ql(e, t) {
2967
2967
  const a = Ys(e.nodeId, t);
2968
2968
  if (a) {
2969
2969
  const [n] = e.path;
2970
- n === "locale" && A(e.state.value) ? a.locale.value = e.state.value : n === "fallbackLocale" && (A(e.state.value) || J(e.state.value) || x(e.state.value)) ? a.fallbackLocale.value = e.state.value : n === "inheritLocale" && U(e.state.value) && (a.inheritLocale = e.state.value);
2970
+ n === "locale" && A(e.state.value) ? a.locale.value = e.state.value : n === "fallbackLocale" && (A(e.state.value) || J(e.state.value) || U(e.state.value)) ? a.fallbackLocale.value = e.state.value : n === "inheritLocale" && x(e.state.value) && (a.inheritLocale = e.state.value);
2971
2971
  }
2972
2972
  }
2973
2973
  function zl(e) {
2974
- const t = A(e.locale) ? e.locale : Lt, 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 = U(e.silentTranslationWarn) || lt(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = U(e.silentFallbackWarn) || lt(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = U(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, y = U(e.sync) ? e.sync : !0;
2974
+ const t = A(e.locale) ? e.locale : Lt, 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) || lt(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = x(e.silentFallbackWarn) || lt(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, y = x(e.sync) ? e.sync : !0;
2975
2975
  let R = e.messages;
2976
2976
  if (F(e.sharedMessages)) {
2977
2977
  const b = e.sharedMessages;
@@ -3048,17 +3048,17 @@ function qa(e = {}) {
3048
3048
  },
3049
3049
  // silentTranslationWarn
3050
3050
  get silentTranslationWarn() {
3051
- return U(t.missingWarn) ? !t.missingWarn : t.missingWarn;
3051
+ return x(t.missingWarn) ? !t.missingWarn : t.missingWarn;
3052
3052
  },
3053
3053
  set silentTranslationWarn(s) {
3054
- t.missingWarn = U(s) ? !s : s;
3054
+ t.missingWarn = x(s) ? !s : s;
3055
3055
  },
3056
3056
  // silentFallbackWarn
3057
3057
  get silentFallbackWarn() {
3058
- return U(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
3058
+ return x(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
3059
3059
  },
3060
3060
  set silentFallbackWarn(s) {
3061
- t.fallbackWarn = U(s) ? !s : s;
3061
+ t.fallbackWarn = x(s) ? !s : s;
3062
3062
  },
3063
3063
  // modifiers
3064
3064
  get modifiers() {
@@ -3205,7 +3205,7 @@ function Zl(e, t, a) {
3205
3205
  }
3206
3206
  else
3207
3207
  this.$i18n = e;
3208
- s.__i18nGlobal && Ws(t, s, s), this.$t = (...r) => this.$i18n.t(...r), this.$rt = (...r) => this.$i18n.rt(...r), this.$te = (r, o) => this.$i18n.te(r, o), this.$d = (...r) => this.$i18n.d(...r), this.$n = (...r) => this.$i18n.n(...r), this.$tm = (r) => this.$i18n.tm(r), a.__setInstance(n, this.$i18n);
3208
+ s.__i18nGlobal && Hs(t, s, s), this.$t = (...r) => this.$i18n.t(...r), this.$rt = (...r) => this.$i18n.rt(...r), this.$te = (r, o) => this.$i18n.te(r, o), this.$d = (...r) => this.$i18n.d(...r), this.$n = (...r) => this.$i18n.n(...r), this.$tm = (r) => this.$i18n.tm(r), a.__setInstance(n, this.$i18n);
3209
3209
  },
3210
3210
  mounted() {
3211
3211
  if (process.env.NODE_ENV !== "production" && this.$i18n) {
@@ -3261,12 +3261,12 @@ function ei({ slots: e }, t) {
3261
3261
  ], []) : t.reduce((a, n) => {
3262
3262
  const s = e[n];
3263
3263
  return s && (a[n] = s()), a;
3264
- }, W());
3264
+ }, H());
3265
3265
  }
3266
3266
  function Bs() {
3267
3267
  return Ye;
3268
3268
  }
3269
- const ti = /* @__PURE__ */ De({
3269
+ const ti = /* @__PURE__ */ Ce({
3270
3270
  /* eslint-disable */
3271
3271
  name: "i18n-t",
3272
3272
  props: te({
@@ -3287,9 +3287,9 @@ const ti = /* @__PURE__ */ De({
3287
3287
  __useComponent: !0
3288
3288
  });
3289
3289
  return () => {
3290
- const r = Object.keys(a).filter((g) => g[0] !== "_"), o = W();
3290
+ const r = Object.keys(a).filter((g) => g[0] !== "_"), o = H();
3291
3291
  e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = A(e.plural) ? +e.plural : e.plural);
3292
- const l = ei(t, r), i = s[Ba](e.keypath, l, o), c = te(W(), n), m = A(e.tag) || x(e.tag) ? e.tag : Bs();
3292
+ const l = ei(t, r), i = s[Ba](e.keypath, l, o), c = te(H(), n), m = A(e.tag) || U(e.tag) ? e.tag : Bs();
3293
3293
  return Ie(m, c, i);
3294
3294
  };
3295
3295
  }
@@ -3301,19 +3301,19 @@ function js(e, t, a, n) {
3301
3301
  const { slots: s, attrs: r } = t;
3302
3302
  return () => {
3303
3303
  const o = { part: !0 };
3304
- let l = W();
3305
- e.locale && (o.locale = e.locale), A(e.format) ? o.key = e.format : x(e.format) && (A(e.format.key) && (o.key = e.format.key), l = Object.keys(e.format).reduce((p, y) => a.includes(y) ? te(W(), p, { [y]: e.format[y] }) : p, W()));
3304
+ let l = H();
3305
+ e.locale && (o.locale = e.locale), A(e.format) ? o.key = e.format : U(e.format) && (A(e.format.key) && (o.key = e.format.key), l = Object.keys(e.format).reduce((p, y) => a.includes(y) ? te(H(), p, { [y]: e.format[y] }) : p, H()));
3306
3306
  const i = n(e.value, o, l);
3307
3307
  let c = [o.key];
3308
3308
  J(i) ? c = i.map((p, y) => {
3309
3309
  const R = s[p.type], S = R ? R({ [p.type]: p.value, index: y, parts: i }) : [p.value];
3310
3310
  return ai(S) && (S[0].key = `${p.type}-${y}`), S;
3311
3311
  }) : A(i) && (c = [i]);
3312
- const m = te(W(), r), g = A(e.tag) || x(e.tag) ? e.tag : Bs();
3312
+ const m = te(H(), r), g = A(e.tag) || U(e.tag) ? e.tag : Bs();
3313
3313
  return Ie(g, m, c);
3314
3314
  };
3315
3315
  }
3316
- const ni = /* @__PURE__ */ De({
3316
+ const ni = /* @__PURE__ */ Ce({
3317
3317
  /* eslint-disable */
3318
3318
  name: "i18n-n",
3319
3319
  props: te({
@@ -3399,13 +3399,13 @@ function os(e) {
3399
3399
  }
3400
3400
  function oi(e, t, ...a) {
3401
3401
  const n = F(a[0]) ? a[0] : {};
3402
- (U(n.globalInstall) ? n.globalInstall : !0) && ([ns.name, "I18nT"].forEach((r) => e.component(r, ns)), [ss.name, "I18nN"].forEach((r) => e.component(r, ss)), [is.name, "I18nD"].forEach((r) => e.component(r, is))), e.directive("t", ri(t));
3402
+ (x(n.globalInstall) ? n.globalInstall : !0) && ([ns.name, "I18nT"].forEach((r) => e.component(r, ns)), [ss.name, "I18nN"].forEach((r) => e.component(r, ss)), [is.name, "I18nD"].forEach((r) => e.component(r, is))), e.directive("t", ri(t));
3403
3403
  }
3404
3404
  const li = /* @__PURE__ */ Oe("global-vue-i18n");
3405
3405
  function ii(e = {}) {
3406
- const t = __VUE_I18N_LEGACY_API__ && U(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3406
+ const t = __VUE_I18N_LEGACY_API__ && x(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3407
3407
  process.env.NODE_ENV !== "production" && t && sn(ct(_e.DEPRECATE_LEGACY_MODE));
3408
- const a = U(e.globalInjection) ? e.globalInjection : !0, n = /* @__PURE__ */ new Map(), [s, r] = ci(e, t), o = /* @__PURE__ */ Oe(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3408
+ const a = x(e.globalInjection) ? e.globalInjection : !0, n = /* @__PURE__ */ new Map(), [s, r] = ci(e, t), o = /* @__PURE__ */ Oe(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3409
3409
  function l(g) {
3410
3410
  return n.get(g) || null;
3411
3411
  }
@@ -3432,7 +3432,7 @@ function ii(e = {}) {
3432
3432
  if (g.unmount = () => {
3433
3433
  y && y(), m.dispose(), R();
3434
3434
  }, process.env.NODE_ENV !== "production") {
3435
- if (!await Hl(g, m))
3435
+ if (!await Wl(g, m))
3436
3436
  throw ue(Y.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3437
3437
  const O = ln();
3438
3438
  if (t) {
@@ -3469,9 +3469,9 @@ function la(e = {}) {
3469
3469
  throw ue(Y.MUST_BE_CALL_SETUP_TOP);
3470
3470
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3471
3471
  throw ue(Y.NOT_INSTALLED);
3472
- const a = ui(t), n = di(a), s = Hs(t), r = fi(e, s);
3472
+ const a = ui(t), n = di(a), s = Ws(t), r = fi(e, s);
3473
3473
  if (r === "global")
3474
- return Ws(n, e, s), n;
3474
+ return Hs(n, e, s), n;
3475
3475
  if (r === "parent") {
3476
3476
  let i = mi(a, t, e.__useComponent);
3477
3477
  return i == null && (process.env.NODE_ENV !== "production" && Le(ct(_e.NOT_FOUND_PARENT_SCOPE)), i = n), i;
@@ -3575,7 +3575,7 @@ function hi(e, t) {
3575
3575
  });
3576
3576
  };
3577
3577
  }
3578
- const Ei = /* @__PURE__ */ De({
3578
+ const Ei = /* @__PURE__ */ Ce({
3579
3579
  /* eslint-disable */
3580
3580
  name: "i18n-d",
3581
3581
  props: te({
@@ -3606,7 +3606,7 @@ rl(Zo);
3606
3606
  ol(Ts);
3607
3607
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3608
3608
  const e = Ge();
3609
- e.__INTLIFY__ = !0, xo(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3609
+ e.__INTLIFY__ = !0, Uo(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3610
3610
  }
3611
3611
  process.env.NODE_ENV;
3612
3612
  const vi = {
@@ -4314,7 +4314,11 @@ const Ft = {
4314
4314
  type: Object,
4315
4315
  required: !1
4316
4316
  }
4317
- }, ve = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, cs = "/login/", Jt = [], yi = (e) => {
4317
+ }, ve = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, cs = "/login/", yi = () => {
4318
+ const e = ke.VITE_LOGIN_URL;
4319
+ if (e && (e.startsWith("http://") || e.startsWith("https://")))
4320
+ return e;
4321
+ }, Jt = [], Ni = (e) => {
4318
4322
  for (const t of e) {
4319
4323
  const a = Jt.findIndex((n) => n.path === t.path);
4320
4324
  a !== -1 && Jt.splice(a, 1), Jt.push(t), ca.addRoute(t);
@@ -4325,18 +4329,18 @@ const Ft = {
4325
4329
  }, ca = Fr({
4326
4330
  history: Mr("/"),
4327
4331
  routes: Jt
4328
- }), Ni = (e, t) => {
4332
+ }), Si = (e, t) => {
4329
4333
  var s, r;
4330
4334
  const a = ((s = e.meta) == null ? void 0 : s.roles) ?? [], n = (r = e.meta) == null ? void 0 : r.permission;
4331
4335
  if (!t)
4332
4336
  return a.length === 0 && !n;
4333
4337
  if (t) {
4334
4338
  const o = ye();
4335
- if (Fe.VITE_PERMISSION_MODE === "none")
4339
+ if (ke.VITE_PERMISSION_MODE === "none")
4336
4340
  return !0;
4337
- if (Fe.VITE_PERMISSION_MODE === "role")
4341
+ if (ke.VITE_PERMISSION_MODE === "role")
4338
4342
  return a.length === 0 ? !0 : o.hasRole(a);
4339
- if (Fe.VITE_PERMISSION_MODE === "permit") {
4343
+ if (ke.VITE_PERMISSION_MODE === "permit") {
4340
4344
  if (a.length === 0 && !n)
4341
4345
  return !0;
4342
4346
  let l = !1, i = !1;
@@ -4356,7 +4360,7 @@ ca.beforeEach((e, t, a) => {
4356
4360
  return a();
4357
4361
  const s = n.meta, o = ((s == null ? void 0 : s.roles) ?? []).length > 0 || ((l = s == null ? void 0 : s.permission) == null ? void 0 : l.length);
4358
4362
  if (e.path === "/") {
4359
- const i = Me();
4363
+ const i = Fe();
4360
4364
  if (!i.menuLoaded) {
4361
4365
  yt.value = {
4362
4366
  to: e,
@@ -4373,34 +4377,39 @@ ca.beforeEach((e, t, a) => {
4373
4377
  a();
4374
4378
  else {
4375
4379
  const i = ye();
4376
- if (!i.isLogin)
4377
- a({ path: cs });
4378
- else {
4379
- if (!Me().menuLoaded) {
4380
+ if (i.isLogin) {
4381
+ if (!Fe().menuLoaded) {
4380
4382
  yt.value = {
4381
4383
  to: e,
4382
4384
  next: a
4383
4385
  };
4384
4386
  return;
4385
4387
  }
4386
- const m = Ni(n, i.isLogin);
4388
+ const m = Si(n, i.isLogin);
4387
4389
  a();
4390
+ } else {
4391
+ const c = yi();
4392
+ if (c) {
4393
+ window.location.href = c;
4394
+ return;
4395
+ }
4396
+ a({ path: cs });
4388
4397
  }
4389
4398
  }
4390
4399
  });
4391
- const Si = (e) => {
4400
+ const Ti = (e) => {
4392
4401
  if (yt.value) {
4393
4402
  const { to: t, next: a } = yt.value;
4394
4403
  yt.value = null, t.path === "/" ? a(e) : a(t.path);
4395
4404
  }
4396
- }, Ti = (e) => {
4405
+ }, Li = (e) => {
4397
4406
  const t = hn();
4398
4407
  if (t.TabEnabled) {
4399
- if (Li(e.key, t.TabPanes))
4408
+ if (Oi(e.key, t.TabPanes))
4400
4409
  return;
4401
4410
  t.TabPanes.push(e);
4402
4411
  }
4403
- }, Li = (e, t) => t.find((a) => a.key === e), hn = Dt("pageInfo", {
4412
+ }, Oi = (e, t) => t.find((a) => a.key === e), hn = Dt("pageInfo", {
4404
4413
  state: () => ({
4405
4414
  TabActive: "",
4406
4415
  TabPanes: [],
@@ -4413,7 +4422,7 @@ const Si = (e) => {
4413
4422
  */
4414
4423
  removeTabPane(e) {
4415
4424
  if (this.TabEnabled) {
4416
- Me().excludeComponent(e);
4425
+ Fe().excludeComponent(e);
4417
4426
  let a = 0, n = [...this.TabPanes];
4418
4427
  for (let s = 0; s < n.length; s++)
4419
4428
  if (n[s].key === e) {
@@ -4434,7 +4443,7 @@ const Si = (e) => {
4434
4443
  * @returns
4435
4444
  */
4436
4445
  async setTabActive(e) {
4437
- let a = Me().findRoute(e);
4446
+ let a = Fe().findRoute(e);
4438
4447
  if (!a) return;
4439
4448
  const n = {
4440
4449
  key: e,
@@ -4445,7 +4454,7 @@ const Si = (e) => {
4445
4454
  // 默认为true
4446
4455
  keepAlive: !(a.meta && !a.meta.keepAlive)
4447
4456
  };
4448
- Ti(n), this.TabActive = e;
4457
+ Li(n), this.TabActive = e;
4449
4458
  }
4450
4459
  },
4451
4460
  persist: !1
@@ -4555,27 +4564,27 @@ const Nt = {
4555
4564
  userLogout: ae.userLogout.bind(ae),
4556
4565
  mainAppPush: ae.mainAppPush.bind(ae),
4557
4566
  isInMicroApp: ae.isInMicroApp.bind(ae)
4558
- }, Oi = {
4567
+ }, Ai = {
4559
4568
  appList: {
4560
4569
  api: "PLATFORM_API",
4561
4570
  authorize: !0,
4562
4571
  url: "/api/RCTenanetOpSrv/getApps",
4563
4572
  loadingText: !1
4564
4573
  }
4565
- }, Ua = /* @__PURE__ */ new Map(), Ai = (e) => {
4574
+ }, xa = /* @__PURE__ */ new Map(), Pi = (e) => {
4566
4575
  const t = ye(), { roles: a, permission: n } = e.meta || {};
4567
- if (ve(a) && ve(n) || Fe.VITE_PERMISSION_MODE === "none")
4576
+ if (ve(a) && ve(n) || ke.VITE_PERMISSION_MODE === "none")
4568
4577
  return !0;
4569
- if (Fe.VITE_PERMISSION_MODE === "role")
4578
+ if (ke.VITE_PERMISSION_MODE === "role")
4570
4579
  return ve(a) ? !0 : t.hasRole(a);
4571
- if (Fe.VITE_PERMISSION_MODE === "permit") {
4580
+ if (ke.VITE_PERMISSION_MODE === "permit") {
4572
4581
  let s = !1, r = !1;
4573
4582
  return ve(a) || (s = t.hasRole(a)), t.isAdmin() ? s : (ve(n) || (r = t.hasPermit(e.path, n)), s || r);
4574
4583
  }
4575
4584
  return !1;
4576
4585
  }, tr = (e) => e.map((t) => {
4577
4586
  const a = { ...t };
4578
- return Ai(a) ? (a.children && (a.children = tr(a.children)), a) : null;
4587
+ return Pi(a) ? (a.children && (a.children = tr(a.children)), a) : null;
4579
4588
  }).filter(Boolean), ar = (e, t = "") => {
4580
4589
  for (const a of e) {
4581
4590
  if (!a.children && !a.redirect) {
@@ -4588,7 +4597,7 @@ const Nt = {
4588
4597
  return n;
4589
4598
  }
4590
4599
  }
4591
- }, Me = Dt("appInfo", {
4600
+ }, Fe = Dt("appInfo", {
4592
4601
  state: () => ({
4593
4602
  appInfo: {
4594
4603
  Id: "",
@@ -4622,7 +4631,7 @@ const Nt = {
4622
4631
  });
4623
4632
  },
4624
4633
  async getRemoteAppList() {
4625
- return qe(Oi.appList, {
4634
+ return qe(Ai.appList, {
4626
4635
  Query: {
4627
4636
  AppCode: this.appInfo.AppCode,
4628
4637
  Enabled: 1
@@ -4666,9 +4675,9 @@ const Nt = {
4666
4675
  flattenRoutes: {},
4667
4676
  Routes: t ?? [],
4668
4677
  defaultPage: ""
4669
- }), !Ce() || !Dr())) {
4678
+ }), !He() || !Dr())) {
4670
4679
  const n = ye();
4671
- Fe.VITE_PERMISSION_MODE !== "none" && await n.getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes);
4680
+ ke.VITE_PERMISSION_MODE !== "none" && await n.getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes);
4672
4681
  }
4673
4682
  },
4674
4683
  /**
@@ -4690,12 +4699,12 @@ const Nt = {
4690
4699
  n.children || !n.component || (n.meta && n.meta.keepAlive === !1 ? this.ExcludeComponents.push(a) : this.CachedComponents.push(a));
4691
4700
  }), ye().isLogin) {
4692
4701
  const a = tr(this.appInfo.Routes);
4693
- if (yi(a), this.appInfo.defaultPage = ar(a) || "", this.appInfo.defaultPage) {
4694
- if (this.menuLoaded = !0, Ce()) {
4702
+ if (Ni(a), this.appInfo.defaultPage = ar(a) || "", this.appInfo.defaultPage) {
4703
+ if (this.menuLoaded = !0, He()) {
4695
4704
  const n = this.formatRoute(this.appInfo.defaultPage);
4696
4705
  Nt.mainAppPush(n);
4697
4706
  }
4698
- Si(this.appInfo.defaultPage);
4707
+ Ti(this.appInfo.defaultPage);
4699
4708
  }
4700
4709
  }
4701
4710
  },
@@ -4714,7 +4723,7 @@ const Nt = {
4714
4723
  */
4715
4724
  push(e) {
4716
4725
  this.findRoute(e) && hn().setTabActive(e), vr(() => {
4717
- if (ca.push({ path: e }), Ce()) {
4726
+ if (ca.push({ path: e }), He()) {
4718
4727
  const a = this.formatRoute(e);
4719
4728
  Nt.mainAppPush(a);
4720
4729
  }
@@ -4735,7 +4744,7 @@ const Nt = {
4735
4744
  * @returns 组件实例
4736
4745
  */
4737
4746
  cacheComponent(e, t) {
4738
- let a = Ua.get(t.path);
4747
+ let a = xa.get(t.path);
4739
4748
  if (!a)
4740
4749
  if (this.CachedComponents.includes(t.path))
4741
4750
  a = {
@@ -4744,7 +4753,7 @@ const Nt = {
4744
4753
  render() {
4745
4754
  return Ie(e);
4746
4755
  }
4747
- }, Ua.set(t.path, a);
4756
+ }, xa.set(t.path, a);
4748
4757
  else return e;
4749
4758
  return a;
4750
4759
  },
@@ -4753,7 +4762,7 @@ const Nt = {
4753
4762
  * @param path 路由地址
4754
4763
  */
4755
4764
  excludeComponent(e) {
4756
- this.ExcludeComponents.includes(e) || this.ExcludeComponents.push(e), this.CachedComponents.splice(this.CachedComponents.indexOf(e), 1), Ua.delete(e);
4765
+ this.ExcludeComponents.includes(e) || this.ExcludeComponents.push(e), this.CachedComponents.splice(this.CachedComponents.indexOf(e), 1), xa.delete(e);
4757
4766
  },
4758
4767
  /**
4759
4768
  * 路由路径层级查询,返回面包屑
@@ -4784,70 +4793,7 @@ const Nt = {
4784
4793
  }, this.CachedComponents.splice(0, this.CachedComponents.length), this.ExcludeComponents.splice(0, this.ExcludeComponents.length), this.appList.splice(0, this.appList.length), this.menuLoaded = !1;
4785
4794
  },
4786
4795
  logout() {
4787
- this.clean(), Ce() ? Nt.mainAppPush("/") : window.location.assign("/");
4788
- }
4789
- },
4790
- persist: !1
4791
- }), Pi = Dt("settingInfo", {
4792
- state: () => ({
4793
- fullscreen: !1,
4794
- menuCollapse: !1,
4795
- tableColumns: {},
4796
- userInfoPersist: !0,
4797
- showExit: !0,
4798
- showLanguage: !0
4799
- }),
4800
- actions: {
4801
- /**
4802
- * 设置全屏
4803
- */
4804
- setFullscreen(e) {
4805
- this.$patch({
4806
- fullscreen: e
4807
- });
4808
- },
4809
- /**
4810
- * 设置主菜单区折叠
4811
- */
4812
- setMenuCollapse(e) {
4813
- this.$patch({
4814
- menuCollapse: e
4815
- });
4816
- },
4817
- /**
4818
- * 获取表格头配置
4819
- */
4820
- getTableColumns(e) {
4821
- return this.tableColumns[e];
4822
- },
4823
- /**
4824
- * 设置表格头配置
4825
- */
4826
- setTableColumns(e, t) {
4827
- this.$patch({
4828
- tableColumns: {
4829
- ...this.tableColumns,
4830
- [e]: t
4831
- }
4832
- });
4833
- },
4834
- /**
4835
- * 设置用户信息是否持久化
4836
- */
4837
- setUserInfoPersist(e) {
4838
- this.userInfoPersist = e;
4839
- },
4840
- /**
4841
- * 设置是否显示退出按钮
4842
- */
4843
- setShowExit(e) {
4844
- this.showExit = e;
4845
- },
4846
- /**
4847
- * 设置是否显示语言选择
4848
- */
4849
- setShowLanguage(e) {
4850
- this.showLanguage = e;
4796
+ this.clean(), He() ? Nt.mainAppPush("/") : window.location.assign("/");
4851
4797
  }
4852
4798
  },
4853
4799
  persist: !1
@@ -4905,7 +4851,7 @@ const Nt = {
4905
4851
  * 启动时初始化用户信息
4906
4852
  */
4907
4853
  init() {
4908
- Ce() || (this.token ? (Wt(this.token), de.value = this.userInfo.UserLevel, this.isLogin = !0) : this.clean());
4854
+ He() || (this.token ? (Ht(this.token), de.value = this.userInfo.UserLevel, this.isLogin = !0) : this.clean());
4909
4855
  },
4910
4856
  /**
4911
4857
  * 登录操作
@@ -4920,7 +4866,7 @@ const Nt = {
4920
4866
  return n;
4921
4867
  {
4922
4868
  const s = a.data;
4923
- if (this.token = s.token, Wt(this.token), this.isLogin = !0, Di(s))
4869
+ if (this.token = s.token, Ht(this.token), this.isLogin = !0, Di(s))
4924
4870
  this.userInfo = {
4925
4871
  ...this.userInfo,
4926
4872
  ...s.UserInfo
@@ -4929,7 +4875,7 @@ const Nt = {
4929
4875
  se.error(P("webui.stores.userInfo.userInfoParseFailed"));
4930
4876
  return;
4931
4877
  }
4932
- t && Me().toDefaultApp();
4878
+ t && Fe().toDefaultApp();
4933
4879
  }
4934
4880
  }
4935
4881
  },
@@ -4941,7 +4887,7 @@ const Nt = {
4941
4887
  async getRolePermits(e) {
4942
4888
  if (!this.isLogin || !this.token)
4943
4889
  return !1;
4944
- if (Fe.VITE_PERMISSION_MODE === "none" || bt.value && bt.value.appId === e)
4890
+ if (ke.VITE_PERMISSION_MODE === "none" || bt.value && bt.value.appId === e)
4945
4891
  return !0;
4946
4892
  try {
4947
4893
  const t = await wi(e);
@@ -4990,7 +4936,7 @@ const Nt = {
4990
4936
  de.value || (de.value = e.UserLevel, this.userInfo = {
4991
4937
  ...this.userInfo,
4992
4938
  ...e
4993
- }, this.token = t, Wt(this.token), this.isLogin = !0);
4939
+ }, this.token = t, Ht(this.token), this.isLogin = !0);
4994
4940
  },
4995
4941
  /**
4996
4942
  * 获取用户Token
@@ -5028,7 +4974,7 @@ const Nt = {
5028
4974
  Code: "",
5029
4975
  TenantId: "",
5030
4976
  UserLevel: ""
5031
- }, this.token = "", Wt(this.token), this.isLogin = !1, bt.value = null, de.value = "", Me().clean(), Promise.resolve();
4977
+ }, this.token = "", Ht(this.token), this.isLogin = !1, bt.value = null, de.value = "", Fe().clean(), Promise.resolve();
5032
4978
  },
5033
4979
  /**
5034
4980
  * 登出操作
@@ -5036,7 +4982,7 @@ const Nt = {
5036
4982
  * @returns
5037
4983
  */
5038
4984
  async logout(e) {
5039
- if (Ce())
4985
+ if (He())
5040
4986
  return Nt.userLogout(), Promise.resolve();
5041
4987
  try {
5042
4988
  e && await ki();
@@ -5046,20 +4992,13 @@ const Nt = {
5046
4992
  await this.clean(), e && setTimeout(async () => {
5047
4993
  se.success(P("webui.stores.userInfo.logoutSuccess"));
5048
4994
  }, 1e3), setTimeout(async () => {
5049
- Me().logout();
4995
+ Fe().logout();
5050
4996
  }, 2e3);
5051
4997
  }
5052
4998
  return Promise.resolve();
5053
4999
  }
5054
5000
  },
5055
- persist: !Ce() && Pi().userInfoPersist ? {
5056
- key: "MICROAPP_USER_INFO",
5057
- storage: localStorage,
5058
- pick: ["token", "userInfo"],
5059
- afterHydrate: (e) => {
5060
- e.store.init();
5061
- }
5062
- } : !1
5001
+ persist: !1
5063
5002
  }), fa = (e, t) => {
5064
5003
  var s;
5065
5004
  const a = e.page;
@@ -5125,9 +5064,72 @@ const Nt = {
5125
5064
  }
5126
5065
  }
5127
5066
  return null;
5128
- };
5067
+ }, Tc = Dt("settingInfo", {
5068
+ state: () => ({
5069
+ fullscreen: !1,
5070
+ menuCollapse: !1,
5071
+ tableColumns: {},
5072
+ userInfoPersist: !0,
5073
+ showExit: !0,
5074
+ showLanguage: !0
5075
+ }),
5076
+ actions: {
5077
+ /**
5078
+ * 设置全屏
5079
+ */
5080
+ setFullscreen(e) {
5081
+ this.$patch({
5082
+ fullscreen: e
5083
+ });
5084
+ },
5085
+ /**
5086
+ * 设置主菜单区折叠
5087
+ */
5088
+ setMenuCollapse(e) {
5089
+ this.$patch({
5090
+ menuCollapse: e
5091
+ });
5092
+ },
5093
+ /**
5094
+ * 获取表格头配置
5095
+ */
5096
+ getTableColumns(e) {
5097
+ return this.tableColumns[e];
5098
+ },
5099
+ /**
5100
+ * 设置表格头配置
5101
+ */
5102
+ setTableColumns(e, t) {
5103
+ this.$patch({
5104
+ tableColumns: {
5105
+ ...this.tableColumns,
5106
+ [e]: t
5107
+ }
5108
+ });
5109
+ },
5110
+ /**
5111
+ * 设置用户信息是否持久化
5112
+ */
5113
+ setUserInfoPersist(e) {
5114
+ this.userInfoPersist = e;
5115
+ },
5116
+ /**
5117
+ * 设置是否显示退出按钮
5118
+ */
5119
+ setShowExit(e) {
5120
+ this.showExit = e;
5121
+ },
5122
+ /**
5123
+ * 设置是否显示语言选择
5124
+ */
5125
+ setShowLanguage(e) {
5126
+ this.showLanguage = e;
5127
+ }
5128
+ },
5129
+ persist: !1
5130
+ });
5129
5131
  let ut;
5130
- const Tc = (e) => {
5132
+ const Lc = (e) => {
5131
5133
  ut = new aa({}), ut.messages({
5132
5134
  required: "${label}" + P("webui.utils.formValidate.required"),
5133
5135
  types: {
@@ -5154,7 +5156,7 @@ const Tc = (e) => {
5154
5156
  },
5155
5157
  ...e
5156
5158
  });
5157
- }, Lc = (e) => {
5159
+ }, Oc = (e) => {
5158
5160
  if (!e || ve(e))
5159
5161
  return [];
5160
5162
  const t = [], a = ut.messages(), n = (r, o, l) => {
@@ -5208,14 +5210,14 @@ const Tc = (e) => {
5208
5210
  rules: i
5209
5211
  });
5210
5212
  }), t;
5211
- }, Oc = (e) => {
5213
+ }, Ac = (e) => {
5212
5214
  const t = new aa({});
5213
5215
  return t.messages(ut.messages()), t.define(e), t;
5214
5216
  }, Mt = async (e) => {
5215
5217
  const t = e.formData.value, a = e.formRules.value;
5216
5218
  ve(a) || (vn(e), e.ruleValidator || (e.ruleValidator = new aa({}), e.ruleValidator.messages(ut.messages()), e.ruleValidator.define(a)), e.ruleResults.value = await e.ruleValidator.validate(t).then(() => {
5217
5219
  }).catch(({ fields: n }) => n));
5218
- }, Ac = async (e, t, a) => (a || (a = new aa({}), a.messages(ut.messages()), a.define(t)), a.validate(e).then(() => {
5220
+ }, Pc = async (e, t, a) => (a || (a = new aa({}), a.messages(ut.messages()), a.define(t)), a.validate(e).then(() => {
5219
5221
  }).catch(({ fields: n }) => n)), vn = (e) => {
5220
5222
  e.ruleResults.value = void 0;
5221
5223
  }, ft = () => {
@@ -5226,7 +5228,7 @@ const Tc = (e) => {
5226
5228
  ruleKey: a,
5227
5229
  errInfo: n
5228
5230
  };
5229
- }, xi = (e, t) => {
5231
+ }, Ui = (e, t) => {
5230
5232
  let a = w({
5231
5233
  msg: "",
5232
5234
  errClass: ""
@@ -5238,7 +5240,7 @@ const Tc = (e) => {
5238
5240
  () => n == null ? void 0 : n.value,
5239
5241
  (s) => {
5240
5242
  if (a.value.errClass = "", a.value.msg = "", !ve(s)) {
5241
- const r = Ui(
5243
+ const r = xi(
5242
5244
  {
5243
5245
  label: e.label,
5244
5246
  rule: e.rule
@@ -5251,7 +5253,7 @@ const Tc = (e) => {
5251
5253
  },
5252
5254
  { deep: !0 }
5253
5255
  ), a;
5254
- }, Ui = (e, t, a) => {
5256
+ }, xi = (e, t, a) => {
5255
5257
  const n = w([]), s = w(""), r = w("");
5256
5258
  if (!e.rule || !t || !a)
5257
5259
  return { msg: s, ruleErrors: n, errClass: r };
@@ -5278,9 +5280,9 @@ const Tc = (e) => {
5278
5280
  });
5279
5281
  }
5280
5282
  }), n.value.length > 0 && (r.value = "error"), { msg: s, ruleErrors: n, errClass: r };
5281
- }, Pc = (e, t) => {
5283
+ }, Rc = (e, t) => {
5282
5284
  ka(Re.LabelText, e.label || ""), ka(Re.RuleKey, e.rule || "");
5283
- const a = xi(e, t);
5285
+ const a = Ui(e, t);
5284
5286
  return ka(Re.ErrInfo, a), a;
5285
5287
  }, Vi = (e, t) => {
5286
5288
  if (!t)
@@ -5290,12 +5292,12 @@ const Tc = (e) => {
5290
5292
  return t[a];
5291
5293
  if (t[a])
5292
5294
  return Vi(n, t[a].fields);
5293
- }, Rc = (e) => {
5294
- sr(e);
5295
5295
  }, wc = (e) => {
5296
+ sr(e);
5297
+ }, kc = (e) => {
5296
5298
  const t = e.page, a = e.formData.value;
5297
5299
  a[e.primaryKey ?? t.primaryKey] = null, sr(e);
5298
- }, kc = (e) => {
5300
+ }, Dc = (e) => {
5299
5301
  bn(e), e.visible.value = !1;
5300
5302
  }, sr = async (e) => {
5301
5303
  var n;
@@ -5348,14 +5350,14 @@ const Tc = (e) => {
5348
5350
  } else
5349
5351
  se.error((s == null ? void 0 : s.msg) ?? P("webui.utils.form.saveFailed")), e.afterSave && e.afterSave(s);
5350
5352
  });
5351
- }, Dc = async (e) => {
5353
+ }, Cc = async (e) => {
5352
5354
  const t = e.page, a = e.grid;
5353
5355
  e.isFormLoading.value = !0;
5354
5356
  const n = e.formData.value, s = e.primaryKey ?? t.primaryKey;
5355
5357
  return lr(a, { [s]: n[s] }, e.detailUrl).then((r) => {
5356
5358
  e.isFormLoading.value = !1, r && rr(e, r);
5357
5359
  });
5358
- }, Cc = (e) => {
5360
+ }, Fc = (e) => {
5359
5361
  const t = e.grid;
5360
5362
  t && (t.rowData.value = void 0), e && (bn(e), e.visible && (e.visible.value = !1), setTimeout(() => {
5361
5363
  e.visible.value = !0;
@@ -5366,7 +5368,7 @@ const Tc = (e) => {
5366
5368
  e.formData.value = JSON.parse(JSON.stringify(a));
5367
5369
  }, bn = (e) => {
5368
5370
  e.formData.value = e.default ? JSON.parse(JSON.stringify(e.default)) : {}, vn(e);
5369
- }, Fc = (e, t) => {
5371
+ }, Mc = (e, t) => {
5370
5372
  const a = ye();
5371
5373
  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) => {
5372
5374
  if (!t) {
@@ -5377,7 +5379,7 @@ const Tc = (e) => {
5377
5379
  }
5378
5380
  return !0;
5379
5381
  });
5380
- }, Mc = (e, t) => {
5382
+ }, Uc = (e, t) => {
5381
5383
  const a = t == null ? void 0 : t.filter((n) => {
5382
5384
  const s = e.find(
5383
5385
  (r) => r.dataIndex === n.dataIndex || r.key === n.key || r.title === n.title
@@ -5419,7 +5421,7 @@ const Tc = (e) => {
5419
5421
  rows: []
5420
5422
  };
5421
5423
  });
5422
- }, Hi = (e, t, a = {}) => nr(e, {
5424
+ }, Wi = (e, t, a = {}) => nr(e, {
5423
5425
  urlKey: "update",
5424
5426
  url: e.updateUrl,
5425
5427
  params: {
@@ -5432,7 +5434,7 @@ const Tc = (e) => {
5432
5434
  e.reload.value = !0, e.afterUpdate && e.afterUpdate(t);
5433
5435
  }, 50), n)), xc = (e, t) => {
5434
5436
  const a = {};
5435
- return a[e.primaryKey] = t[e.primaryKey], a[e.statusKey] = t[e.statusKey], Hi(e, a, {
5437
+ return a[e.primaryKey] = t[e.primaryKey], a[e.statusKey] = t[e.statusKey], Wi(e, a, {
5436
5438
  loadingText: !1,
5437
5439
  hideErrorToast: !0
5438
5440
  });
@@ -5441,20 +5443,20 @@ const Tc = (e) => {
5441
5443
  url: a,
5442
5444
  params: t,
5443
5445
  loadingState: e.isGridLoading
5444
- }), Uc = (e, t) => {
5446
+ }), Vc = (e, t) => {
5445
5447
  const a = t;
5446
5448
  return lr(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));
5447
- }, Vc = (e, t) => {
5449
+ }, $c = (e, t) => {
5448
5450
  let a = e.editor;
5449
5451
  e.rowData.value = t, a && (rr(a, t), a.visible.value = !0);
5450
- }, $c = (e, t) => Ci(e, t, {
5452
+ }, Wc = (e, t) => Ci(e, t, {
5451
5453
  url: e.deleteUrl,
5452
5454
  primaryKey: e.primaryKey
5453
5455
  }).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && setTimeout(() => {
5454
5456
  e.reload.value = !0, e.afterDelete && !Array.isArray(t) && e.afterDelete(t);
5455
5457
  }, 50), a));
5456
5458
  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 || {});
5457
- class Wi {
5459
+ class Hi {
5458
5460
  constructor() {
5459
5461
  ne(this, "listeners", {});
5460
5462
  }
@@ -5500,7 +5502,7 @@ class Wi {
5500
5502
  this.listeners[t] && this.listeners[t].forEach((n) => n(t, ...a));
5501
5503
  }
5502
5504
  }
5503
- const st = new Wi(), pt = (e, t, a) => {
5505
+ const st = new Hi(), pt = (e, t, a) => {
5504
5506
  if (t.inputFactory && (a != null && a.reloadEvent)) {
5505
5507
  const n = t.inputFactory.value;
5506
5508
  n.reloadHandler = (s, r) => {
@@ -5536,7 +5538,7 @@ const st = new Wi(), pt = (e, t, a) => {
5536
5538
  }), e.options.value = t;
5537
5539
  }, Gi = (e, t, a) => {
5538
5540
  Array.isArray(a) ? In(t, a, !0) : ir(e, t, a);
5539
- }, xt = (e, t) => {
5541
+ }, Ut = (e, t) => {
5540
5542
  var a;
5541
5543
  (a = e.inputFactory) != null && a.value && t.reloadEvent && e.inputFactory.value.reloadHandler && st.off(t.reloadEvent, e.inputFactory.value.reloadHandler);
5542
5544
  }, ir = (e, t, a) => {
@@ -5750,7 +5752,7 @@ const st = new Wi(), pt = (e, t, a) => {
5750
5752
  selectRows: w([]),
5751
5753
  rowData: w(void 0),
5752
5754
  gridQuery: {},
5753
- tableData: ke(void 0),
5755
+ tableData: De(void 0),
5754
5756
  expandRows: w({}),
5755
5757
  isGridLoading: w(!1),
5756
5758
  isGridSaving: w(!1),
@@ -5768,7 +5770,7 @@ const st = new Wi(), pt = (e, t, a) => {
5768
5770
  ), {
5769
5771
  gridCtrl: n
5770
5772
  };
5771
- }, Wc = (e, t) => {
5773
+ }, Gc = (e, t) => {
5772
5774
  _a(e);
5773
5775
  const a = {
5774
5776
  ...Z.TreeOption,
@@ -5776,7 +5778,7 @@ const st = new Wi(), pt = (e, t, a) => {
5776
5778
  page: t,
5777
5779
  node: w(void 0),
5778
5780
  url: e.urls.tree,
5779
- data: ke(void 0),
5781
+ data: De(void 0),
5780
5782
  isTreeLoading: w(!1)
5781
5783
  };
5782
5784
  return B(
@@ -5789,13 +5791,13 @@ const st = new Wi(), pt = (e, t, a) => {
5789
5791
  ), {
5790
5792
  treeCtrl: a
5791
5793
  };
5792
- }, Ut = (e, t) => {
5794
+ }, xt = (e, t) => {
5793
5795
  const a = {
5794
5796
  ...Z.OptionOption,
5795
5797
  url: e,
5796
5798
  reload: w(!1),
5797
5799
  optionQuery: {},
5798
- data: ke((t == null ? void 0 : t.data) ?? []),
5800
+ data: De((t == null ? void 0 : t.data) ?? []),
5799
5801
  selected: w([]),
5800
5802
  selectedOptions: w([]),
5801
5803
  options: w((t == null ? void 0 : t.data) ?? []),
@@ -5811,7 +5813,7 @@ const st = new Wi(), pt = (e, t, a) => {
5811
5813
  ), {
5812
5814
  optionCtrl: a
5813
5815
  };
5814
- }, Gc = (e, t, a) => {
5816
+ }, Kc = (e, t, a) => {
5815
5817
  _a(e);
5816
5818
  const n = {
5817
5819
  ...Z.PageOption,
@@ -5822,14 +5824,14 @@ const st = new Wi(), pt = (e, t, a) => {
5822
5824
  editorCtrl: s,
5823
5825
  gridCtrl: r
5824
5826
  };
5825
- }, Ji = 10080 * 60 * 1e3, Va = /* @__PURE__ */ new Map(), us = /* @__PURE__ */ new Set(), Ke = w({}), Kc = Ke, Yc = (e) => {
5827
+ }, Ji = 10080 * 60 * 1e3, Va = /* @__PURE__ */ new Map(), us = /* @__PURE__ */ new Set(), Ke = w({}), Yc = Ke, Bc = (e) => {
5826
5828
  var s;
5827
5829
  if (!e.iconUrl) return an;
5828
5830
  const t = w(!0), a = w("");
5829
5831
  let n = !0;
5830
5832
  return (s = e.icons) != null && s.length && (n = e.icons.every((r) => Ke.value[r] !== void 0)), (e.icon && !Ke.value[e.icon] || !n) && Qi(e, t).then(() => {
5831
5833
  zi(e.iconUrl, e.monoColor || !1), t.value = !0;
5832
- }), De({
5834
+ }), Ce({
5833
5835
  props: {
5834
5836
  icon: {
5835
5837
  type: String
@@ -5959,7 +5961,7 @@ const st = new Wi(), pt = (e, t, a) => {
5959
5961
  return console.error("解析缓存失败:", s), null;
5960
5962
  }
5961
5963
  return n.expireTime < Date.now() ? (localStorage.removeItem(e), null) : n;
5962
- }, Bc = () => {
5964
+ }, jc = () => {
5963
5965
  const e = Date.now();
5964
5966
  for (const t in localStorage)
5965
5967
  if (t.startsWith("icon_cache:")) {
@@ -6006,7 +6008,7 @@ const st = new Wi(), pt = (e, t, a) => {
6006
6008
  }, ec = (e, t) => {
6007
6009
  let a = "";
6008
6010
  return e && (a += `rotate(${e}deg)`), t && (a += " scaleX(-1)"), a;
6009
- }, jc = (e, t, a, n) => {
6011
+ }, Jc = (e, t, a, n) => {
6010
6012
  dr(e, [], a, n).forEach((r) => t.push(r));
6011
6013
  }, dr = (e, t, a, n) => {
6012
6014
  var o, l, i, c, m, g;
@@ -6027,9 +6029,9 @@ const st = new Wi(), pt = (e, t, a) => {
6027
6029
  (R.length > 0 || !p.children) && s.push(S);
6028
6030
  }
6029
6031
  return s;
6030
- }, fs = br([]), Jc = () => {
6032
+ }, fs = br([]), Qc = () => {
6031
6033
  fs.length = 0;
6032
- const e = Me();
6034
+ const e = Fe();
6033
6035
  let a = hn().TabActive;
6034
6036
  e.matchedRoutes(a).forEach((s, r) => {
6035
6037
  var l;
@@ -6040,7 +6042,7 @@ const st = new Wi(), pt = (e, t, a) => {
6040
6042
  };
6041
6043
  fs.push(o);
6042
6044
  });
6043
- }, Qc = Dt("hostInfo", {
6045
+ }, Xc = Dt("hostInfo", {
6044
6046
  state: () => ({
6045
6047
  hostInfo: {
6046
6048
  Host: "",
@@ -6064,7 +6066,7 @@ const st = new Wi(), pt = (e, t, a) => {
6064
6066
  * @param hostKey 站点信息,默认为当前主域名
6065
6067
  */
6066
6068
  async loadHostInfo(e, t) {
6067
- if (Ce()) {
6069
+ if (He()) {
6068
6070
  const n = await Nt.getHostInfo();
6069
6071
  this._setHostInfo(n);
6070
6072
  return;
@@ -6130,7 +6132,7 @@ const st = new Wi(), pt = (e, t, a) => {
6130
6132
  // storage: localStorage,
6131
6133
  // pick: ['hostInfo'],
6132
6134
  // },
6133
- }), Xc = /* @__PURE__ */ De({
6135
+ }), qc = /* @__PURE__ */ Ce({
6134
6136
  __name: "index",
6135
6137
  props: {
6136
6138
  ...Ft,
@@ -6148,8 +6150,8 @@ const st = new Wi(), pt = (e, t, a) => {
6148
6150
  },
6149
6151
  emits: ["change"],
6150
6152
  setup(e, { emit: t }) {
6151
- const a = e, n = ft(), s = Ut(a.url, a), r = a.optionCtrl ?? s.optionCtrl;
6152
- r.inputFactory = ke(n);
6153
+ const a = e, n = ft(), s = xt(a.url, a), r = a.optionCtrl ?? s.optionCtrl;
6154
+ r.inputFactory = De(n);
6153
6155
  const o = w([]);
6154
6156
  r && B(
6155
6157
  () => r.options.value,
@@ -6175,7 +6177,7 @@ const st = new Wi(), pt = (e, t, a) => {
6175
6177
  }
6176
6178
  r && pt(r.autoload, r, a);
6177
6179
  }), dt(() => {
6178
- r && xt(r, a);
6180
+ r && Ut(r, a);
6179
6181
  }), (y, R) => {
6180
6182
  var S;
6181
6183
  return o.value.length === 2 ? (le(), zt(X(yr), kt({
@@ -6194,7 +6196,7 @@ const st = new Wi(), pt = (e, t, a) => {
6194
6196
  }, y.$attrs), null, 16, ["size", "class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : ot("", !0);
6195
6197
  };
6196
6198
  }
6197
- }), qc = /* @__PURE__ */ De({
6199
+ }), zc = /* @__PURE__ */ Ce({
6198
6200
  inheritAttrs: !1,
6199
6201
  __name: "index",
6200
6202
  props: {
@@ -6215,8 +6217,8 @@ const st = new Wi(), pt = (e, t, a) => {
6215
6217
  },
6216
6218
  emits: ["update:value", "select", "change", "update:labels"],
6217
6219
  setup(e, { emit: t }) {
6218
- const a = e, n = Zt(), s = ft(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6219
- o.inputFactory = ke(s), o.fieldMap = {
6220
+ const a = e, n = Zt(), s = ft(), r = xt(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6221
+ o.inputFactory = De(s), o.fieldMap = {
6220
6222
  label: "Name",
6221
6223
  value: "Id",
6222
6224
  ...o == null ? void 0 : o.fieldMap
@@ -6261,7 +6263,7 @@ const st = new Wi(), pt = (e, t, a) => {
6261
6263
  return ea(() => {
6262
6264
  o && o.autoload && (o.reload.value = !0);
6263
6265
  }), dt(() => {
6264
- o && xt(o, a);
6266
+ o && Ut(o, a);
6265
6267
  }), (S, O) => {
6266
6268
  var d;
6267
6269
  return le(), ge("div", null, [
@@ -6273,10 +6275,10 @@ const st = new Wi(), pt = (e, t, a) => {
6273
6275
  onSearch: y,
6274
6276
  onSelect: R
6275
6277
  }, X(n), { "allow-clear": !1 }), {
6276
- option: xe(({ label: _ }) => [
6278
+ option: Me(({ label: _ }) => [
6277
6279
  ta(je(_), 1)
6278
6280
  ]),
6279
- default: xe(() => [
6281
+ default: Me(() => [
6280
6282
  Be(X(Sr), {
6281
6283
  "allow-clear": "",
6282
6284
  placeholder: "请输入并选择" + X(m)
@@ -6290,7 +6292,7 @@ const st = new Wi(), pt = (e, t, a) => {
6290
6292
  }), tc = { class: "min-h-[32px] pt-[5px]" }, ac = {
6291
6293
  key: 1,
6292
6294
  class: "text-center text-gray-500"
6293
- }, zc = /* @__PURE__ */ De({
6295
+ }, Zc = /* @__PURE__ */ Ce({
6294
6296
  inheritAttrs: !1,
6295
6297
  __name: "index",
6296
6298
  props: {
@@ -6312,8 +6314,8 @@ const st = new Wi(), pt = (e, t, a) => {
6312
6314
  emits: ["change", "update:labels"],
6313
6315
  setup(e, { emit: t }) {
6314
6316
  var p, y, R;
6315
- const a = e, n = Zt(), s = ft(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6316
- o.inputFactory = ke(s);
6317
+ const a = e, n = Zt(), s = ft(), r = xt(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6318
+ o.inputFactory = De(s);
6317
6319
  const l = w({
6318
6320
  ...o == null ? void 0 : o.url,
6319
6321
  url: ((p = o == null ? void 0 : o.url) == null ? void 0 : p.url) || "",
@@ -6344,13 +6346,13 @@ const st = new Wi(), pt = (e, t, a) => {
6344
6346
  key: "Id"
6345
6347
  }), o && pt(o.autoload, o, a);
6346
6348
  }), dt(() => {
6347
- o && xt(o, a);
6349
+ o && Ut(o, a);
6348
6350
  }), (S, O) => (le(), ge("div", tc, [
6349
6351
  Be(X(Tr), kt({
6350
6352
  onChange: g,
6351
6353
  class: "w-full mb-[-3px]"
6352
6354
  }, X(n)), {
6353
- default: xe(() => [
6355
+ default: Me(() => [
6354
6356
  m.value.length > 0 ? (le(!0), ge(Ye, { key: 0 }, nn(m.value, (d) => {
6355
6357
  var _;
6356
6358
  return le(), zt(X(Lr), {
@@ -6364,7 +6366,7 @@ const st = new Wi(), pt = (e, t, a) => {
6364
6366
  e.wrap ? `w-1/${a.wrap}` : ""
6365
6367
  ])
6366
6368
  }, {
6367
- default: xe(() => [
6369
+ default: Me(() => [
6368
6370
  ta(je(d.label), 1)
6369
6371
  ]),
6370
6372
  _: 2
@@ -6378,7 +6380,7 @@ const st = new Wi(), pt = (e, t, a) => {
6378
6380
  }), nc = { class: "min-h-[32px] pt-1" }, sc = {
6379
6381
  key: 1,
6380
6382
  class: "text-center text-gray-500"
6381
- }, Zc = /* @__PURE__ */ De({
6383
+ }, eu = /* @__PURE__ */ Ce({
6382
6384
  inheritAttrs: !1,
6383
6385
  __name: "index",
6384
6386
  props: {
@@ -6401,8 +6403,8 @@ const st = new Wi(), pt = (e, t, a) => {
6401
6403
  emits: ["change", "update:value", "update:labels"],
6402
6404
  setup(e, { emit: t }) {
6403
6405
  var R, S, O;
6404
- const a = e, n = Zt(), s = ft(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6405
- o.inputFactory = ke(s);
6406
+ const a = e, n = Zt(), s = ft(), r = xt(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6407
+ o.inputFactory = De(s);
6406
6408
  const l = w({
6407
6409
  ...o == null ? void 0 : o.url,
6408
6410
  url: ((R = o == null ? void 0 : o.url) == null ? void 0 : R.url) || "",
@@ -6446,7 +6448,7 @@ const st = new Wi(), pt = (e, t, a) => {
6446
6448
  key: "Id"
6447
6449
  }), o && pt(o.autoload, o, a);
6448
6450
  }), dt(() => {
6449
- o && xt(o, a);
6451
+ o && Ut(o, a);
6450
6452
  }), (d, _) => (le(), ge("div", nc, [
6451
6453
  Be(X(Or), kt({
6452
6454
  value: i.value,
@@ -6455,7 +6457,7 @@ const st = new Wi(), pt = (e, t, a) => {
6455
6457
  onChange: y,
6456
6458
  class: "w-full flex align-items flex-wrap mb-[-3px]"
6457
6459
  }, X(n)), {
6458
- default: xe(() => [
6460
+ default: Me(() => [
6459
6461
  m.value.length > 0 ? (le(!0), ge(Ye, { key: 0 }, nn(m.value, (I) => {
6460
6462
  var E;
6461
6463
  return le(), ge(Ye, {
@@ -6472,7 +6474,7 @@ const st = new Wi(), pt = (e, t, a) => {
6472
6474
  e.wrap ? `w-1/${a.wrap}` : ""
6473
6475
  ])
6474
6476
  }, {
6475
- default: xe(() => [
6477
+ default: Me(() => [
6476
6478
  ta(je(I.label), 1)
6477
6479
  ]),
6478
6480
  _: 2
@@ -6487,7 +6489,7 @@ const st = new Wi(), pt = (e, t, a) => {
6487
6489
  }), rc = {
6488
6490
  key: 0,
6489
6491
  class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
6490
- }, eu = /* @__PURE__ */ De({
6492
+ }, tu = /* @__PURE__ */ Ce({
6491
6493
  inheritAttrs: !1,
6492
6494
  __name: "index",
6493
6495
  props: {
@@ -6523,8 +6525,8 @@ const st = new Wi(), pt = (e, t, a) => {
6523
6525
  emits: ["change", "update:value", "update:label", "update:labels"],
6524
6526
  setup(e, { emit: t }) {
6525
6527
  var _, I, E;
6526
- const a = e, n = a.value === void 0 ? !0 : a.undefValue, s = ft(), { editorCtrl: r, errInfo: o, labelText: l } = s, i = Ut(a.url, a), c = a.optionCtrl ?? i.optionCtrl;
6527
- c.inputFactory = ke(s);
6528
+ const a = e, n = a.value === void 0 ? !0 : a.undefValue, s = ft(), { editorCtrl: r, errInfo: o, labelText: l } = s, i = xt(a.url, a), c = a.optionCtrl ?? i.optionCtrl;
6529
+ c.inputFactory = De(s);
6528
6530
  const m = Zt();
6529
6531
  c.autoload = a.autoload ?? c.autoload;
6530
6532
  const g = w({
@@ -6599,7 +6601,7 @@ const st = new Wi(), pt = (e, t, a) => {
6599
6601
  b.length > 0 ? (O.value = b, d(b)) : pt(c.autoload, c, a);
6600
6602
  }
6601
6603
  }), dt(() => {
6602
- c && xt(c, a);
6604
+ c && Ut(c, a);
6603
6605
  }), (b, L) => {
6604
6606
  var v, C, M;
6605
6607
  return le(), ge("div", null, [
@@ -6616,7 +6618,7 @@ const st = new Wi(), pt = (e, t, a) => {
6616
6618
  placeholder: p.value,
6617
6619
  "label-in-value": !1
6618
6620
  }, X(m)), {
6619
- default: xe(() => [
6621
+ default: Me(() => [
6620
6622
  (le(!0), ge(Ye, null, nn(O.value, (K) => (le(), ge(Ye, {
6621
6623
  key: K.value
6622
6624
  }, [
@@ -6624,7 +6626,7 @@ const st = new Wi(), pt = (e, t, a) => {
6624
6626
  key: 0,
6625
6627
  value: K.value
6626
6628
  }, {
6627
- default: xe(() => [
6629
+ default: Me(() => [
6628
6630
  ta(je(K.label), 1)
6629
6631
  ]),
6630
6632
  _: 2
@@ -6636,7 +6638,7 @@ const st = new Wi(), pt = (e, t, a) => {
6636
6638
  ]);
6637
6639
  };
6638
6640
  }
6639
- }), oc = w(!1), tu = {
6641
+ }), oc = w(!1), au = {
6640
6642
  label: P("webui.utils.tools.templateManagement"),
6641
6643
  key: "uploadTemp",
6642
6644
  type: "primary",
@@ -6650,12 +6652,12 @@ export {
6650
6652
  pa as A,
6651
6653
  ma as B,
6652
6654
  Mt as C,
6653
- zc as D,
6655
+ Zc as D,
6654
6656
  la as E,
6655
- Zc as F,
6656
- eu as G,
6657
+ eu as F,
6658
+ tu as G,
6657
6659
  En as H,
6658
- xr as I,
6660
+ Ur as I,
6659
6661
  Nc as J,
6660
6662
  Hc as K,
6661
6663
  ua as L,
@@ -6664,31 +6666,31 @@ export {
6664
6666
  en as O,
6665
6667
  Re as P,
6666
6668
  ji as Q,
6667
- Wc as R,
6668
- Gc as S,
6669
+ Gc as R,
6670
+ Kc as S,
6669
6671
  Yi as T,
6670
6672
  cr as U,
6671
- Kc as V,
6672
- Bc as W,
6673
+ Yc as V,
6674
+ jc as W,
6673
6675
  Zi as X,
6674
6676
  ec as Y,
6675
- jc as Z,
6676
- Xc as _,
6677
- Pi as a,
6677
+ Jc as Z,
6678
+ qc as _,
6679
+ Tc as a,
6678
6680
  fs as a0,
6679
- Jc as a1,
6681
+ Qc as a1,
6680
6682
  sr as a2,
6681
- Dc as a3,
6683
+ Cc as a3,
6682
6684
  rr as a4,
6683
- Tc as a5,
6684
- Ac as a6,
6685
+ Lc as a5,
6686
+ Pc as a6,
6685
6687
  vn as a7,
6686
- Lc as a8,
6687
- Oc as a9,
6688
- Mc as aa,
6689
- Hi as ab,
6688
+ Oc as a8,
6689
+ Ac as a9,
6690
+ Uc as aa,
6691
+ Wi as ab,
6690
6692
  lr as ac,
6691
- Uc as ad,
6693
+ Vc as ad,
6692
6694
  Sc as ae,
6693
6695
  nr as af,
6694
6696
  Ci as ag,
@@ -6696,40 +6698,40 @@ export {
6696
6698
  st as ai,
6697
6699
  yt as aj,
6698
6700
  Jt as ak,
6699
- Me as al,
6700
- Qc as am,
6701
+ Fe as al,
6702
+ Xc as am,
6701
6703
  hn as an,
6702
6704
  oc as ao,
6703
- tu as ap,
6705
+ au as ap,
6704
6706
  me as aq,
6705
6707
  vc as ar,
6706
6708
  yc as as,
6707
6709
  Ic as at,
6708
6710
  bc as au,
6709
6711
  ut as av,
6710
- wc as b,
6711
- Yc as c,
6712
- kc as d,
6713
- Pc as e,
6714
- Vc as f,
6712
+ kc as b,
6713
+ Bc as c,
6714
+ Dc as d,
6715
+ Rc as e,
6716
+ $c as f,
6715
6717
  Vi as g,
6716
- $c as h,
6718
+ Wc as h,
6717
6719
  ve as i,
6718
- Fc as j,
6719
- Cc as k,
6720
+ Mc as j,
6721
+ Fc as k,
6720
6722
  or as l,
6721
6723
  $i as m,
6722
6724
  xc as n,
6723
- Rc as o,
6725
+ wc as o,
6724
6726
  Mi as p,
6725
6727
  Fi as q,
6726
6728
  ca as r,
6727
- qc as s,
6729
+ zc as s,
6728
6730
  Ft as t,
6729
6731
  ye as u,
6730
6732
  ft as v,
6731
- Ut as w,
6733
+ xt as w,
6732
6734
  pt as x,
6733
- xt as y,
6735
+ Ut as y,
6734
6736
  an as z
6735
6737
  };