@skyfox2000/webui 1.6.3 → 1.6.5

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 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 Ue, 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 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 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 ke, AppAction as Sn, AppSource as Tn, isMicroApp as Fe, isBaseMicroApp as Dr, combineParams as Ct } from "@skyfox2000/microbase";
9
+ import { EnvConfig as Ce, AppAction as Sn, AppSource as Tn, isMicroApp as We, isBaseMicroApp as Dr, combineParams as Ct } from "@skyfox2000/microbase";
10
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";
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 Ur = wr();
17
- Ur.use(kr);
16
+ const xr = wr();
17
+ xr.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,9 +39,9 @@ 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 xr = /\{([0-9a-zA-Z]+)\}/g;
42
+ const Ur = /\{([0-9a-zA-Z]+)\}/g;
43
43
  function na(e, ...t) {
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] : "");
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] : "");
45
45
  }
46
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);
47
47
  let An;
@@ -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", 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);
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);
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) => !U(e) || J(e);
119
+ const Gt = (e) => !x(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__" && (U(n[r]) && !U(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__" && (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] }));
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 U(e) && un(e) === 0 && (be(e, "b") || be(e, "body"));
1084
+ return x(e) && un(e) === 0 && (be(e, "b") || be(e, "body"));
1085
1085
  }
1086
1086
  const gs = ["b", "body"];
1087
1087
  function To(e) {
@@ -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 = x(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1227
+ const a = U(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 Uo(e) {
1250
+ function xo(e) {
1251
1251
  Tt = e;
1252
1252
  }
1253
- function xo(e, t, a) {
1253
+ function Uo(e, t, a) {
1254
1254
  Tt && Tt.emit("i18n:init", {
1255
1255
  timestamp: Date.now(),
1256
1256
  i18n: e,
@@ -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 : U(t) ? Object.keys(t) : A(t) ? [t] : [a]
1310
+ ...J(t) ? t : x(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 = Un(r, o, t);
1321
+ o = xn(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) && Un(r, o, !1), s.__localeChainCache.set(n, r);
1323
+ o = A(l) ? [l] : l, J(o) && xn(r, o, !1), s.__localeChainCache.set(n, r);
1324
1324
  }
1325
1325
  return r;
1326
1326
  }
1327
- function Un(e, t, a) {
1327
+ function xn(e, t, a) {
1328
1328
  let n = !0;
1329
- for (let s = 0; s < t.length && x(n); s++) {
1329
+ for (let s = 0; s < t.length && U(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 Ue = [];
1354
+ Ue[
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
+ Ue[
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
+ Ue[
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
+ Ue[
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
+ Ue[
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
+ Ue[
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
+ Ue[
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 = Ue[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 xn = /* @__PURE__ */ new Map();
1619
+ const Un = /* @__PURE__ */ new Map();
1620
1620
  function zo(e, t) {
1621
- return U(e) ? e[t] : null;
1621
+ return x(e) ? e[t] : null;
1622
1622
  }
1623
1623
  function Zo(e, t) {
1624
- if (!U(e))
1624
+ if (!x(e))
1625
1625
  return null;
1626
- let a = xn.get(t);
1627
- if (a || (a = qo(t), a && xn.set(t, a)), !a)
1626
+ let a = Un.get(t);
1627
+ if (a || (a = qo(t), a && Un.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" && 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
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
1668
1668
  };
1669
1669
  }
1670
1670
  let Ls;
@@ -1689,9 +1689,9 @@ const $n = (e) => {
1689
1689
  }, cl = () => Rs;
1690
1690
  let Hn = 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 = 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;
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;
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 = 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 : {};
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
1695
  Hn++;
1696
1696
  const Q = {
1697
1697
  version: a,
@@ -1717,7 +1717,7 @@ 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__) && xo(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__) && Uo(Q, a, Ee), Q;
1721
1721
  }
1722
1722
  const Ma = (e) => ({ [e]: W() });
1723
1723
  function oa(e, t) {
@@ -1767,7 +1767,7 @@ 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 = x(m.missingWarn) ? m.missingWarn : e.missingWarn, y = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, R = !!m.part, S = fn(e, m), O = o(
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(
1771
1771
  e,
1772
1772
  // eslint-disable-line @typescript-eslint/no-explicit-any
1773
1773
  s,
@@ -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 = x(m.missingWarn) ? m.missingWarn : e.missingWarn, y = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, R = !!m.part, S = fn(e, m), O = o(
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(
1865
1865
  e,
1866
1866
  // eslint-disable-line @typescript-eslint/no-explicit-any
1867
1867
  s,
@@ -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 = 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 || W();
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();
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, !!_) : U(e.messages) ? e.messages[d] : !1;
1954
+ const I = G(e.messages) ? e.messages(d, !!_) : x(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 ? 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));
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));
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
@@ -1978,7 +1978,7 @@ function vl(e = {}) {
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 = 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);
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);
1982
1982
  p && bl(c);
1983
1983
  let [d, _, I] = y ? [
1984
1984
  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 : Us(e, i, _, E, b, v);
1995
+ }, C = pe(E) ? E : xs(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,7 +2010,7 @@ 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) : U(e.named) && Object.keys(e.named).forEach((t) => {
2013
+ J(e.list) ? e.list = e.list.map((t) => A(t) ? Pn(t) : t) : x(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
  }
@@ -2061,7 +2061,7 @@ function Ms(e, t, a, n, s, r) {
2061
2061
  }
2062
2062
  return [y, p, g];
2063
2063
  }
2064
- function Us(e, t, a, n, s, r) {
2064
+ function xs(e, t, a, n, s, r) {
2065
2065
  const { messageCompiler: o, warnHtmlMessage: l } = e;
2066
2066
  if (pe(n)) {
2067
2067
  const p = n;
@@ -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 _ = Us(e, y, t, S, y, () => {
2159
+ const _ = xs(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 xs().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2170
+ return Us().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2171
2171
  }
2172
- function xs() {
2172
+ function Us() {
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 = xs(), s = Tl(), r = Ll && a.enableEarlyProxy;
2247
+ const a = e, n = Us(), 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 {
@@ -2336,19 +2336,19 @@ function ct(e, ...t) {
2336
2336
  return na(Ml[e], ...t);
2337
2337
  }
2338
2338
  function At(e) {
2339
- if (!U(e) || he(e))
2339
+ if (!x(e) || he(e))
2340
2340
  return e;
2341
2341
  for (const t in e)
2342
2342
  if (be(e, t))
2343
2343
  if (!t.includes("."))
2344
- U(e[t]) && At(e[t]);
2344
+ x(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()), !U(s[a[o]])) {
2351
+ if (a[o] in s || (s[a[o]] = W()), !x(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,7 +2358,7 @@ 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
- U(o) && At(o);
2361
+ x(o) && At(o);
2362
2362
  }
2363
2363
  }
2364
2364
  return e;
@@ -2380,7 +2380,7 @@ function Hs(e) {
2380
2380
  return e.type;
2381
2381
  }
2382
2382
  function Ws(e, t, a) {
2383
- let n = U(t.messages) ? t.messages : W();
2383
+ let n = x(t.messages) ? t.messages : W();
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 (U(t.datetimeFormats)) {
2393
+ if (x(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 (U(t.numberFormats)) {
2399
+ if (x(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 = () => [], Ul = () => !1;
2414
+ const qn = "__INTLIFY_META__", zn = () => [], xl = () => !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 xl = /* @__NO_SIDE_EFFECTS__ */ () => {
2419
+ const Ul = /* @__NO_SIDE_EFFECTS__ */ () => {
2420
2420
  const e = rt();
2421
2421
  let t = null;
2422
2422
  return e && (t = Hs(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 : De;
2426
- let o = x(e.inheritLocale) ? e.inheritLocale : !0;
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;
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 : 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;
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;
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, H, z, $e, Ht) => {
2498
2498
  M();
2499
2499
  let Ze;
2500
2500
  try {
@@ -2504,20 +2504,20 @@ function pn(e = {}) {
2504
2504
  }
2505
2505
  if (H !== "translate exists" && // for not `te` (e.g `t`)
2506
2506
  ee(Ze) && Ze === ra || H === "translate exists" && !Ze) {
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, {
2509
- key: We,
2507
+ const [He, mr] = T();
2508
+ if (process.env.NODE_ENV !== "production" && t && A(He) && Ia(H, mr) && (R && (oa(y, He) || ws(p, He)) && Le(ct(_e.FALLBACK_TO_ROOT, {
2509
+ key: He,
2510
2510
  type: H
2511
2511
  })), process.env.NODE_ENV !== "production")) {
2512
2512
  const { __v_emitter: Nn } = v;
2513
2513
  Nn && R && Nn.emit("fallback", {
2514
2514
  type: H,
2515
- key: We,
2515
+ key: He,
2516
2516
  to: "global",
2517
- groupId: `${H}:${We}`
2517
+ groupId: `${H}:${He}`
2518
2518
  });
2519
2519
  }
2520
- return t && R ? z(t) : He(We);
2520
+ return t && R ? z(t) : $e(He);
2521
2521
  } else {
2522
2522
  if (Ht(Ze))
2523
2523
  return Ze;
@@ -2529,7 +2529,7 @@ function pn(e = {}) {
2529
2529
  }
2530
2530
  function ya(...h) {
2531
2531
  const [T, H, z] = h;
2532
- if (z && !U(z))
2532
+ if (z && !x(z))
2533
2533
  throw ue(Y.INVALID_ARGUMENT);
2534
2534
  return _t(T, H, te({ resolvedMessage: !0 }, z || {}));
2535
2535
  }
@@ -2540,7 +2540,7 @@ function pn(e = {}) {
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) || x(T) ? Xn(String(T)) : T);
2543
+ return h.map((T) => A(T) || ee(T) || U(T) ? Xn(String(T)) : T);
2544
2544
  }
2545
2545
  const La = {
2546
2546
  normalize: Ta,
@@ -2572,15 +2572,15 @@ 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]), Ul, (H) => x(H));
2575
+ const H = A(T) ? T : l.value, z = Ve(H), $e = v.messageResolver(z, h);
2576
+ return he($e) || pe($e) || A($e);
2577
+ }, () => [h], "translate exists", (H) => Reflect.apply(H.te, H, [h, T]), xl, (H) => U(H));
2578
2578
  }
2579
2579
  function gt(h) {
2580
2580
  let T = null;
2581
2581
  const H = Ts(v, i.value, l.value);
2582
2582
  for (let z = 0; z < H.length; z++) {
2583
- const He = c.value[H[z]] || {}, Ht = v.messageResolver(He, h);
2583
+ const $e = c.value[H[z]] || {}, Ht = v.messageResolver($e, h);
2584
2584
  if (Ht != null) {
2585
2585
  T = Ht;
2586
2586
  break;
@@ -2592,7 +2592,7 @@ 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) {
@@ -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", Ua = {
2713
+ const Gs = "vue-i18n: composer properties", xa = {
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"
@@ -2725,7 +2725,7 @@ async function Hl(e, t) {
2725
2725
  try {
2726
2726
  kl({
2727
2727
  id: "vue-devtools-plugin-vue-i18n",
2728
- label: Ua["vue-devtools-plugin-vue-i18n"],
2728
+ label: xa["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",
@@ -2739,7 +2739,7 @@ async function Hl(e, t) {
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: Ua["vue-i18n-resource-inspector"],
2742
+ label: xa["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: Ua["vue-i18n-timeline"],
2765
+ label: xa["vue-i18n-timeline"],
2766
2766
  color: $l["vue-i18n-timeline"]
2767
2767
  }), a(!0);
2768
2768
  });
@@ -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 : U(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 : x(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) || U(e.state.value)) ? a.fallbackLocale.value = e.state.value : n === "inheritLocale" && x(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) || x(e.state.value)) ? a.fallbackLocale.value = e.state.value : n === "inheritLocale" && U(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 = 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;
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;
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 x(t.missingWarn) ? !t.missingWarn : t.missingWarn;
3051
+ return U(t.missingWarn) ? !t.missingWarn : t.missingWarn;
3052
3052
  },
3053
3053
  set silentTranslationWarn(s) {
3054
- t.missingWarn = x(s) ? !s : s;
3054
+ t.missingWarn = U(s) ? !s : s;
3055
3055
  },
3056
3056
  // silentFallbackWarn
3057
3057
  get silentFallbackWarn() {
3058
- return x(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
3058
+ return U(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
3059
3059
  },
3060
3060
  set silentFallbackWarn(s) {
3061
- t.fallbackWarn = x(s) ? !s : s;
3061
+ t.fallbackWarn = U(s) ? !s : s;
3062
3062
  },
3063
3063
  // modifiers
3064
3064
  get modifiers() {
@@ -3266,7 +3266,7 @@ function ei({ slots: e }, t) {
3266
3266
  function Bs() {
3267
3267
  return Ye;
3268
3268
  }
3269
- const ti = /* @__PURE__ */ Ce({
3269
+ const ti = /* @__PURE__ */ De({
3270
3270
  /* eslint-disable */
3271
3271
  name: "i18n-t",
3272
3272
  props: te({
@@ -3289,7 +3289,7 @@ const ti = /* @__PURE__ */ Ce({
3289
3289
  return () => {
3290
3290
  const r = Object.keys(a).filter((g) => g[0] !== "_"), o = W();
3291
3291
  e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = A(e.plural) ? +e.plural : e.plural);
3292
- const l = ei(t, r), i = s[Ba](e.keypath, l, o), c = te(W(), n), m = A(e.tag) || U(e.tag) ? e.tag : Bs();
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();
3293
3293
  return Ie(m, c, i);
3294
3294
  };
3295
3295
  }
@@ -3302,18 +3302,18 @@ function js(e, t, a, n) {
3302
3302
  return () => {
3303
3303
  const o = { part: !0 };
3304
3304
  let l = W();
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(W(), p, { [y]: e.format[y] }) : p, 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()));
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) || U(e.tag) ? e.tag : Bs();
3312
+ const m = te(W(), r), g = A(e.tag) || x(e.tag) ? e.tag : Bs();
3313
3313
  return Ie(g, m, c);
3314
3314
  };
3315
3315
  }
3316
- const ni = /* @__PURE__ */ Ce({
3316
+ const ni = /* @__PURE__ */ De({
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
- (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));
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));
3403
3403
  }
3404
3404
  const li = /* @__PURE__ */ Oe("global-vue-i18n");
3405
3405
  function ii(e = {}) {
3406
- const t = __VUE_I18N_LEGACY_API__ && x(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3406
+ const t = __VUE_I18N_LEGACY_API__ && U(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 = 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" : "");
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" : "");
3409
3409
  function l(g) {
3410
3410
  return n.get(g) || null;
3411
3411
  }
@@ -3575,7 +3575,7 @@ function hi(e, t) {
3575
3575
  });
3576
3576
  };
3577
3577
  }
3578
- const Ei = /* @__PURE__ */ Ce({
3578
+ const Ei = /* @__PURE__ */ De({
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, Uo(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3609
+ e.__INTLIFY__ = !0, xo(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3610
3610
  }
3611
3611
  process.env.NODE_ENV;
3612
3612
  const vi = {
@@ -4332,11 +4332,11 @@ const Ft = {
4332
4332
  return a.length === 0 && !n;
4333
4333
  if (t) {
4334
4334
  const o = ye();
4335
- if (ke.VITE_PERMISSION_MODE === "none")
4335
+ if (Ce.VITE_PERMISSION_MODE === "none")
4336
4336
  return !0;
4337
- if (ke.VITE_PERMISSION_MODE === "role")
4337
+ if (Ce.VITE_PERMISSION_MODE === "role")
4338
4338
  return a.length === 0 ? !0 : o.hasRole(a);
4339
- if (ke.VITE_PERMISSION_MODE === "permit") {
4339
+ if (Ce.VITE_PERMISSION_MODE === "permit") {
4340
4340
  if (a.length === 0 && !n)
4341
4341
  return !0;
4342
4342
  let l = !1, i = !1;
@@ -4356,7 +4356,7 @@ ca.beforeEach((e, t, a) => {
4356
4356
  return a();
4357
4357
  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
4358
  if (e.path === "/") {
4359
- const i = Me();
4359
+ const i = Fe();
4360
4360
  if (!i.menuLoaded) {
4361
4361
  yt.value = {
4362
4362
  to: e,
@@ -4376,7 +4376,7 @@ ca.beforeEach((e, t, a) => {
4376
4376
  if (!i.isLogin)
4377
4377
  a({ path: cs });
4378
4378
  else {
4379
- if (!Me().menuLoaded) {
4379
+ if (!Fe().menuLoaded) {
4380
4380
  yt.value = {
4381
4381
  to: e,
4382
4382
  next: a
@@ -4413,7 +4413,7 @@ const Si = (e) => {
4413
4413
  */
4414
4414
  removeTabPane(e) {
4415
4415
  if (this.TabEnabled) {
4416
- Me().excludeComponent(e);
4416
+ Fe().excludeComponent(e);
4417
4417
  let a = 0, n = [...this.TabPanes];
4418
4418
  for (let s = 0; s < n.length; s++)
4419
4419
  if (n[s].key === e) {
@@ -4434,7 +4434,7 @@ const Si = (e) => {
4434
4434
  * @returns
4435
4435
  */
4436
4436
  async setTabActive(e) {
4437
- let a = Me().findRoute(e);
4437
+ let a = Fe().findRoute(e);
4438
4438
  if (!a) return;
4439
4439
  const n = {
4440
4440
  key: e,
@@ -4562,13 +4562,13 @@ const Nt = {
4562
4562
  url: "/api/RCTenanetOpSrv/getApps",
4563
4563
  loadingText: !1
4564
4564
  }
4565
- }, xa = /* @__PURE__ */ new Map(), Ai = (e) => {
4565
+ }, Ua = /* @__PURE__ */ new Map(), Ai = (e) => {
4566
4566
  const t = ye(), { roles: a, permission: n } = e.meta || {};
4567
- if (ve(a) && ve(n) || ke.VITE_PERMISSION_MODE === "none")
4567
+ if (ve(a) && ve(n) || Ce.VITE_PERMISSION_MODE === "none")
4568
4568
  return !0;
4569
- if (ke.VITE_PERMISSION_MODE === "role")
4569
+ if (Ce.VITE_PERMISSION_MODE === "role")
4570
4570
  return ve(a) ? !0 : t.hasRole(a);
4571
- if (ke.VITE_PERMISSION_MODE === "permit") {
4571
+ if (Ce.VITE_PERMISSION_MODE === "permit") {
4572
4572
  let s = !1, r = !1;
4573
4573
  return ve(a) || (s = t.hasRole(a)), t.isAdmin() ? s : (ve(n) || (r = t.hasPermit(e.path, n)), s || r);
4574
4574
  }
@@ -4588,7 +4588,7 @@ const Nt = {
4588
4588
  return n;
4589
4589
  }
4590
4590
  }
4591
- }, Me = Dt("appInfo", {
4591
+ }, Fe = Dt("appInfo", {
4592
4592
  state: () => ({
4593
4593
  appInfo: {
4594
4594
  Id: "",
@@ -4666,9 +4666,9 @@ const Nt = {
4666
4666
  flattenRoutes: {},
4667
4667
  Routes: t ?? [],
4668
4668
  defaultPage: ""
4669
- }), !Fe() || !Dr())) {
4669
+ }), !We() || !Dr())) {
4670
4670
  const n = ye();
4671
- ke.VITE_PERMISSION_MODE !== "none" && await n.getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes);
4671
+ Ce.VITE_PERMISSION_MODE !== "none" && await n.getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes);
4672
4672
  }
4673
4673
  },
4674
4674
  /**
@@ -4691,7 +4691,7 @@ const Nt = {
4691
4691
  }), ye().isLogin) {
4692
4692
  const a = tr(this.appInfo.Routes);
4693
4693
  if (yi(a), this.appInfo.defaultPage = ar(a) || "", this.appInfo.defaultPage) {
4694
- if (this.menuLoaded = !0, Fe()) {
4694
+ if (this.menuLoaded = !0, We()) {
4695
4695
  const n = this.formatRoute(this.appInfo.defaultPage);
4696
4696
  Nt.mainAppPush(n);
4697
4697
  }
@@ -4714,7 +4714,7 @@ const Nt = {
4714
4714
  */
4715
4715
  push(e) {
4716
4716
  this.findRoute(e) && hn().setTabActive(e), vr(() => {
4717
- if (ca.push({ path: e }), Fe()) {
4717
+ if (ca.push({ path: e }), We()) {
4718
4718
  const a = this.formatRoute(e);
4719
4719
  Nt.mainAppPush(a);
4720
4720
  }
@@ -4735,7 +4735,7 @@ const Nt = {
4735
4735
  * @returns 组件实例
4736
4736
  */
4737
4737
  cacheComponent(e, t) {
4738
- let a = xa.get(t.path);
4738
+ let a = Ua.get(t.path);
4739
4739
  if (!a)
4740
4740
  if (this.CachedComponents.includes(t.path))
4741
4741
  a = {
@@ -4744,7 +4744,7 @@ const Nt = {
4744
4744
  render() {
4745
4745
  return Ie(e);
4746
4746
  }
4747
- }, xa.set(t.path, a);
4747
+ }, Ua.set(t.path, a);
4748
4748
  else return e;
4749
4749
  return a;
4750
4750
  },
@@ -4753,7 +4753,7 @@ const Nt = {
4753
4753
  * @param path 路由地址
4754
4754
  */
4755
4755
  excludeComponent(e) {
4756
- this.ExcludeComponents.includes(e) || this.ExcludeComponents.push(e), this.CachedComponents.splice(this.CachedComponents.indexOf(e), 1), xa.delete(e);
4756
+ this.ExcludeComponents.includes(e) || this.ExcludeComponents.push(e), this.CachedComponents.splice(this.CachedComponents.indexOf(e), 1), Ua.delete(e);
4757
4757
  },
4758
4758
  /**
4759
4759
  * 路由路径层级查询,返回面包屑
@@ -4784,7 +4784,7 @@ const Nt = {
4784
4784
  }, 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
4785
  },
4786
4786
  logout() {
4787
- this.clean(), Fe() ? Nt.mainAppPush("/") : window.location.assign("/");
4787
+ this.clean(), We() ? Nt.mainAppPush("/") : window.location.assign("/");
4788
4788
  }
4789
4789
  },
4790
4790
  persist: !1
@@ -4842,7 +4842,7 @@ const Nt = {
4842
4842
  * 启动时初始化用户信息
4843
4843
  */
4844
4844
  init() {
4845
- Fe() || (this.token ? (Wt(this.token), de.value = this.userInfo.UserLevel, this.isLogin = !0) : this.clean());
4845
+ We() || (this.token ? (Wt(this.token), de.value = this.userInfo.UserLevel, this.isLogin = !0) : this.clean());
4846
4846
  },
4847
4847
  /**
4848
4848
  * 登录操作
@@ -4866,7 +4866,7 @@ const Nt = {
4866
4866
  se.error(P("webui.stores.userInfo.userInfoParseFailed"));
4867
4867
  return;
4868
4868
  }
4869
- t && Me().toDefaultApp();
4869
+ t && Fe().toDefaultApp();
4870
4870
  }
4871
4871
  }
4872
4872
  },
@@ -4878,7 +4878,7 @@ const Nt = {
4878
4878
  async getRolePermits(e) {
4879
4879
  if (!this.isLogin || !this.token)
4880
4880
  return !1;
4881
- if (ke.VITE_PERMISSION_MODE === "none" || bt.value && bt.value.appId === e)
4881
+ if (Ce.VITE_PERMISSION_MODE === "none" || bt.value && bt.value.appId === e)
4882
4882
  return !0;
4883
4883
  try {
4884
4884
  const t = await Ri(e);
@@ -4965,7 +4965,7 @@ const Nt = {
4965
4965
  Code: "",
4966
4966
  TenantId: "",
4967
4967
  UserLevel: ""
4968
- }, this.token = "", Wt(this.token), this.isLogin = !1, bt.value = null, de.value = "", Me().clean(), Promise.resolve();
4968
+ }, this.token = "", Wt(this.token), this.isLogin = !1, bt.value = null, de.value = "", Fe().clean(), Promise.resolve();
4969
4969
  },
4970
4970
  /**
4971
4971
  * 登出操作
@@ -4973,7 +4973,7 @@ const Nt = {
4973
4973
  * @returns
4974
4974
  */
4975
4975
  async logout(e) {
4976
- if (Fe())
4976
+ if (We())
4977
4977
  return Nt.userLogout(), Promise.resolve();
4978
4978
  try {
4979
4979
  e && await wi();
@@ -4983,21 +4983,13 @@ const Nt = {
4983
4983
  await this.clean(), e && setTimeout(async () => {
4984
4984
  se.success(P("webui.stores.userInfo.logoutSuccess"));
4985
4985
  }, 1e3), setTimeout(async () => {
4986
- Me().logout();
4986
+ Fe().logout();
4987
4987
  }, 2e3);
4988
4988
  }
4989
4989
  return Promise.resolve();
4990
4990
  }
4991
4991
  },
4992
- persist: !Fe() && ke.VITE_IS_JCIAPP !== "true" ? {
4993
- key: "MICROAPP_USER_INFO",
4994
- storage: localStorage,
4995
- pick: ["token", "userInfo"],
4996
- // 只存储token和userInfo
4997
- afterHydrate: (e) => {
4998
- e.store.init();
4999
- }
5000
- } : !1
4992
+ persist: !1
5001
4993
  }), fa = (e, t) => {
5002
4994
  var s;
5003
4995
  const a = e.page;
@@ -5067,7 +5059,10 @@ const Nt = {
5067
5059
  state: () => ({
5068
5060
  fullscreen: !1,
5069
5061
  menuCollapse: !1,
5070
- tableColumns: {}
5062
+ tableColumns: {},
5063
+ userInfoPersist: !0,
5064
+ showExit: !0,
5065
+ showLanguage: !0
5071
5066
  }),
5072
5067
  actions: {
5073
5068
  /**
@@ -5102,6 +5097,24 @@ const Nt = {
5102
5097
  [e]: t
5103
5098
  }
5104
5099
  });
5100
+ },
5101
+ /**
5102
+ * 设置用户信息是否持久化
5103
+ */
5104
+ setUserInfoPersist(e) {
5105
+ this.userInfoPersist = e;
5106
+ },
5107
+ /**
5108
+ * 设置是否显示退出按钮
5109
+ */
5110
+ setShowExit(e) {
5111
+ this.showExit = e;
5112
+ },
5113
+ /**
5114
+ * 设置是否显示语言选择
5115
+ */
5116
+ setShowLanguage(e) {
5117
+ this.showLanguage = e;
5105
5118
  }
5106
5119
  },
5107
5120
  persist: !1
@@ -5218,7 +5231,7 @@ const Tc = (e) => {
5218
5231
  () => n == null ? void 0 : n.value,
5219
5232
  (s) => {
5220
5233
  if (a.value.errClass = "", a.value.msg = "", !ve(s)) {
5221
- const r = Ui(
5234
+ const r = xi(
5222
5235
  {
5223
5236
  label: e.label,
5224
5237
  rule: e.rule
@@ -5231,7 +5244,7 @@ const Tc = (e) => {
5231
5244
  },
5232
5245
  { deep: !0 }
5233
5246
  ), a;
5234
- }, Ui = (e, t, a) => {
5247
+ }, xi = (e, t, a) => {
5235
5248
  const n = w([]), s = w(""), r = w("");
5236
5249
  if (!e.rule || !t || !a)
5237
5250
  return { msg: s, ruleErrors: n, errClass: r };
@@ -5262,14 +5275,14 @@ const Tc = (e) => {
5262
5275
  ka(Re.LabelText, e.label || ""), ka(Re.RuleKey, e.rule || "");
5263
5276
  const a = Mi(e, t);
5264
5277
  return ka(Re.ErrInfo, a), a;
5265
- }, xi = (e, t) => {
5278
+ }, Ui = (e, t) => {
5266
5279
  if (!t)
5267
5280
  return;
5268
5281
  const [a, ...n] = e;
5269
5282
  if (e.length === 1)
5270
5283
  return t[a];
5271
5284
  if (t[a])
5272
- return xi(n, t[a].fields);
5285
+ return Ui(n, t[a].fields);
5273
5286
  }, Rc = (e) => {
5274
5287
  sr(e);
5275
5288
  }, wc = (e) => {
@@ -5410,7 +5423,7 @@ const Tc = (e) => {
5410
5423
  ...a
5411
5424
  }).then((n) => ((n == null ? void 0 : n.status) === ie.SUCCESS && setTimeout(() => {
5412
5425
  e.reload.value = !0, e.afterUpdate && e.afterUpdate(t);
5413
- }, 50), n)), Uc = (e, t) => {
5426
+ }, 50), n)), xc = (e, t) => {
5414
5427
  const a = {};
5415
5428
  return a[e.primaryKey] = t[e.primaryKey], a[e.statusKey] = t[e.statusKey], $i(e, a, {
5416
5429
  loadingText: !1,
@@ -5421,7 +5434,7 @@ const Tc = (e) => {
5421
5434
  url: a,
5422
5435
  params: t,
5423
5436
  loadingState: e.isGridLoading
5424
- }), xc = (e, t) => {
5437
+ }), Uc = (e, t) => {
5425
5438
  const a = t;
5426
5439
  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));
5427
5440
  }, Vc = (e, t) => {
@@ -5516,7 +5529,7 @@ const st = new Hi(), pt = (e, t, a) => {
5516
5529
  }), e.options.value = t;
5517
5530
  }, Wi = (e, t, a) => {
5518
5531
  Array.isArray(a) ? In(t, a, !0) : ir(e, t, a);
5519
- }, Ut = (e, t) => {
5532
+ }, xt = (e, t) => {
5520
5533
  var a;
5521
5534
  (a = e.inputFactory) != null && a.value && t.reloadEvent && e.inputFactory.value.reloadHandler && st.off(t.reloadEvent, e.inputFactory.value.reloadHandler);
5522
5535
  }, ir = (e, t, a) => {
@@ -5730,7 +5743,7 @@ const st = new Hi(), pt = (e, t, a) => {
5730
5743
  selectRows: w([]),
5731
5744
  rowData: w(void 0),
5732
5745
  gridQuery: {},
5733
- tableData: De(void 0),
5746
+ tableData: ke(void 0),
5734
5747
  expandRows: w({}),
5735
5748
  isGridLoading: w(!1),
5736
5749
  isGridSaving: w(!1),
@@ -5756,7 +5769,7 @@ const st = new Hi(), pt = (e, t, a) => {
5756
5769
  page: t,
5757
5770
  node: w(void 0),
5758
5771
  url: e.urls.tree,
5759
- data: De(void 0),
5772
+ data: ke(void 0),
5760
5773
  isTreeLoading: w(!1)
5761
5774
  };
5762
5775
  return B(
@@ -5769,13 +5782,13 @@ const st = new Hi(), pt = (e, t, a) => {
5769
5782
  ), {
5770
5783
  treeCtrl: a
5771
5784
  };
5772
- }, xt = (e, t) => {
5785
+ }, Ut = (e, t) => {
5773
5786
  const a = {
5774
5787
  ...Z.OptionOption,
5775
5788
  url: e,
5776
5789
  reload: w(!1),
5777
5790
  optionQuery: {},
5778
- data: De((t == null ? void 0 : t.data) ?? []),
5791
+ data: ke((t == null ? void 0 : t.data) ?? []),
5779
5792
  selected: w([]),
5780
5793
  selectedOptions: w([]),
5781
5794
  options: w((t == null ? void 0 : t.data) ?? []),
@@ -5809,7 +5822,7 @@ const st = new Hi(), pt = (e, t, a) => {
5809
5822
  let n = !0;
5810
5823
  return (s = e.icons) != null && s.length && (n = e.icons.every((r) => Ke.value[r] !== void 0)), (e.icon && !Ke.value[e.icon] || !n) && Ji(e, t).then(() => {
5811
5824
  qi(e.iconUrl, e.monoColor || !1), t.value = !0;
5812
- }), Ce({
5825
+ }), De({
5813
5826
  props: {
5814
5827
  icon: {
5815
5828
  type: String
@@ -6009,7 +6022,7 @@ const st = new Hi(), pt = (e, t, a) => {
6009
6022
  return s;
6010
6023
  }, fs = br([]), Jc = () => {
6011
6024
  fs.length = 0;
6012
- const e = Me();
6025
+ const e = Fe();
6013
6026
  let a = hn().TabActive;
6014
6027
  e.matchedRoutes(a).forEach((s, r) => {
6015
6028
  var l;
@@ -6044,7 +6057,7 @@ const st = new Hi(), pt = (e, t, a) => {
6044
6057
  * @param hostKey 站点信息,默认为当前主域名
6045
6058
  */
6046
6059
  async loadHostInfo(e, t) {
6047
- if (Fe()) {
6060
+ if (We()) {
6048
6061
  const n = await Nt.getHostInfo();
6049
6062
  this._setHostInfo(n);
6050
6063
  return;
@@ -6110,7 +6123,7 @@ const st = new Hi(), pt = (e, t, a) => {
6110
6123
  // storage: localStorage,
6111
6124
  // pick: ['hostInfo'],
6112
6125
  // },
6113
- }), Xc = /* @__PURE__ */ Ce({
6126
+ }), Xc = /* @__PURE__ */ De({
6114
6127
  __name: "index",
6115
6128
  props: {
6116
6129
  ...Ft,
@@ -6128,8 +6141,8 @@ const st = new Hi(), pt = (e, t, a) => {
6128
6141
  },
6129
6142
  emits: ["change"],
6130
6143
  setup(e, { emit: t }) {
6131
- const a = e, n = ft(), s = xt(a.url, a), r = a.optionCtrl ?? s.optionCtrl;
6132
- r.inputFactory = De(n);
6144
+ const a = e, n = ft(), s = Ut(a.url, a), r = a.optionCtrl ?? s.optionCtrl;
6145
+ r.inputFactory = ke(n);
6133
6146
  const o = w([]);
6134
6147
  r && B(
6135
6148
  () => r.options.value,
@@ -6155,7 +6168,7 @@ const st = new Hi(), pt = (e, t, a) => {
6155
6168
  }
6156
6169
  r && pt(r.autoload, r, a);
6157
6170
  }), dt(() => {
6158
- r && Ut(r, a);
6171
+ r && xt(r, a);
6159
6172
  }), (y, R) => {
6160
6173
  var S;
6161
6174
  return o.value.length === 2 ? (le(), zt(X(yr), kt({
@@ -6174,7 +6187,7 @@ const st = new Hi(), pt = (e, t, a) => {
6174
6187
  }, y.$attrs), null, 16, ["size", "class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : ot("", !0);
6175
6188
  };
6176
6189
  }
6177
- }), qc = /* @__PURE__ */ Ce({
6190
+ }), qc = /* @__PURE__ */ De({
6178
6191
  inheritAttrs: !1,
6179
6192
  __name: "index",
6180
6193
  props: {
@@ -6195,8 +6208,8 @@ const st = new Hi(), pt = (e, t, a) => {
6195
6208
  },
6196
6209
  emits: ["update:value", "select", "change", "update:labels"],
6197
6210
  setup(e, { emit: t }) {
6198
- const a = e, n = Zt(), s = ft(), r = xt(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6199
- o.inputFactory = De(s), o.fieldMap = {
6211
+ const a = e, n = Zt(), s = ft(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6212
+ o.inputFactory = ke(s), o.fieldMap = {
6200
6213
  label: "Name",
6201
6214
  value: "Id",
6202
6215
  ...o == null ? void 0 : o.fieldMap
@@ -6241,7 +6254,7 @@ const st = new Hi(), pt = (e, t, a) => {
6241
6254
  return ea(() => {
6242
6255
  o && o.autoload && (o.reload.value = !0);
6243
6256
  }), dt(() => {
6244
- o && Ut(o, a);
6257
+ o && xt(o, a);
6245
6258
  }), (S, O) => {
6246
6259
  var d;
6247
6260
  return le(), ge("div", null, [
@@ -6253,10 +6266,10 @@ const st = new Hi(), pt = (e, t, a) => {
6253
6266
  onSearch: y,
6254
6267
  onSelect: R
6255
6268
  }, X(n), { "allow-clear": !1 }), {
6256
- option: Ue(({ label: _ }) => [
6269
+ option: Me(({ label: _ }) => [
6257
6270
  ta(je(_), 1)
6258
6271
  ]),
6259
- default: Ue(() => [
6272
+ default: Me(() => [
6260
6273
  Be(X(Sr), {
6261
6274
  "allow-clear": "",
6262
6275
  placeholder: "请输入并选择" + X(m)
@@ -6270,7 +6283,7 @@ const st = new Hi(), pt = (e, t, a) => {
6270
6283
  }), ec = { class: "min-h-[32px] pt-[5px]" }, tc = {
6271
6284
  key: 1,
6272
6285
  class: "text-center text-gray-500"
6273
- }, zc = /* @__PURE__ */ Ce({
6286
+ }, zc = /* @__PURE__ */ De({
6274
6287
  inheritAttrs: !1,
6275
6288
  __name: "index",
6276
6289
  props: {
@@ -6292,8 +6305,8 @@ const st = new Hi(), pt = (e, t, a) => {
6292
6305
  emits: ["change", "update:labels"],
6293
6306
  setup(e, { emit: t }) {
6294
6307
  var p, y, R;
6295
- const a = e, n = Zt(), s = ft(), r = xt(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6296
- o.inputFactory = De(s);
6308
+ const a = e, n = Zt(), s = ft(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6309
+ o.inputFactory = ke(s);
6297
6310
  const l = w({
6298
6311
  ...o == null ? void 0 : o.url,
6299
6312
  url: ((p = o == null ? void 0 : o.url) == null ? void 0 : p.url) || "",
@@ -6324,13 +6337,13 @@ const st = new Hi(), pt = (e, t, a) => {
6324
6337
  key: "Id"
6325
6338
  }), o && pt(o.autoload, o, a);
6326
6339
  }), dt(() => {
6327
- o && Ut(o, a);
6340
+ o && xt(o, a);
6328
6341
  }), (S, O) => (le(), ge("div", ec, [
6329
6342
  Be(X(Tr), kt({
6330
6343
  onChange: g,
6331
6344
  class: "w-full mb-[-3px]"
6332
6345
  }, X(n)), {
6333
- default: Ue(() => [
6346
+ default: Me(() => [
6334
6347
  m.value.length > 0 ? (le(!0), ge(Ye, { key: 0 }, nn(m.value, (d) => {
6335
6348
  var _;
6336
6349
  return le(), zt(X(Lr), {
@@ -6344,7 +6357,7 @@ const st = new Hi(), pt = (e, t, a) => {
6344
6357
  e.wrap ? `w-1/${a.wrap}` : ""
6345
6358
  ])
6346
6359
  }, {
6347
- default: Ue(() => [
6360
+ default: Me(() => [
6348
6361
  ta(je(d.label), 1)
6349
6362
  ]),
6350
6363
  _: 2
@@ -6358,7 +6371,7 @@ const st = new Hi(), pt = (e, t, a) => {
6358
6371
  }), ac = { class: "min-h-[32px] pt-1" }, nc = {
6359
6372
  key: 1,
6360
6373
  class: "text-center text-gray-500"
6361
- }, Zc = /* @__PURE__ */ Ce({
6374
+ }, Zc = /* @__PURE__ */ De({
6362
6375
  inheritAttrs: !1,
6363
6376
  __name: "index",
6364
6377
  props: {
@@ -6381,8 +6394,8 @@ const st = new Hi(), pt = (e, t, a) => {
6381
6394
  emits: ["change", "update:value", "update:labels"],
6382
6395
  setup(e, { emit: t }) {
6383
6396
  var R, S, O;
6384
- const a = e, n = Zt(), s = ft(), r = xt(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6385
- o.inputFactory = De(s);
6397
+ const a = e, n = Zt(), s = ft(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6398
+ o.inputFactory = ke(s);
6386
6399
  const l = w({
6387
6400
  ...o == null ? void 0 : o.url,
6388
6401
  url: ((R = o == null ? void 0 : o.url) == null ? void 0 : R.url) || "",
@@ -6426,7 +6439,7 @@ const st = new Hi(), pt = (e, t, a) => {
6426
6439
  key: "Id"
6427
6440
  }), o && pt(o.autoload, o, a);
6428
6441
  }), dt(() => {
6429
- o && Ut(o, a);
6442
+ o && xt(o, a);
6430
6443
  }), (d, _) => (le(), ge("div", ac, [
6431
6444
  Be(X(Or), kt({
6432
6445
  value: i.value,
@@ -6435,7 +6448,7 @@ const st = new Hi(), pt = (e, t, a) => {
6435
6448
  onChange: y,
6436
6449
  class: "w-full flex align-items flex-wrap mb-[-3px]"
6437
6450
  }, X(n)), {
6438
- default: Ue(() => [
6451
+ default: Me(() => [
6439
6452
  m.value.length > 0 ? (le(!0), ge(Ye, { key: 0 }, nn(m.value, (I) => {
6440
6453
  var E;
6441
6454
  return le(), ge(Ye, {
@@ -6452,7 +6465,7 @@ const st = new Hi(), pt = (e, t, a) => {
6452
6465
  e.wrap ? `w-1/${a.wrap}` : ""
6453
6466
  ])
6454
6467
  }, {
6455
- default: Ue(() => [
6468
+ default: Me(() => [
6456
6469
  ta(je(I.label), 1)
6457
6470
  ]),
6458
6471
  _: 2
@@ -6467,7 +6480,7 @@ const st = new Hi(), pt = (e, t, a) => {
6467
6480
  }), sc = {
6468
6481
  key: 0,
6469
6482
  class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
6470
- }, eu = /* @__PURE__ */ Ce({
6483
+ }, eu = /* @__PURE__ */ De({
6471
6484
  inheritAttrs: !1,
6472
6485
  __name: "index",
6473
6486
  props: {
@@ -6503,8 +6516,8 @@ const st = new Hi(), pt = (e, t, a) => {
6503
6516
  emits: ["change", "update:value", "update:label", "update:labels"],
6504
6517
  setup(e, { emit: t }) {
6505
6518
  var _, I, E;
6506
- 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;
6507
- c.inputFactory = De(s);
6519
+ 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;
6520
+ c.inputFactory = ke(s);
6508
6521
  const m = Zt();
6509
6522
  c.autoload = a.autoload ?? c.autoload;
6510
6523
  const g = w({
@@ -6579,7 +6592,7 @@ const st = new Hi(), pt = (e, t, a) => {
6579
6592
  b.length > 0 ? (O.value = b, d(b)) : pt(c.autoload, c, a);
6580
6593
  }
6581
6594
  }), dt(() => {
6582
- c && Ut(c, a);
6595
+ c && xt(c, a);
6583
6596
  }), (b, L) => {
6584
6597
  var v, C, M;
6585
6598
  return le(), ge("div", null, [
@@ -6596,7 +6609,7 @@ const st = new Hi(), pt = (e, t, a) => {
6596
6609
  placeholder: p.value,
6597
6610
  "label-in-value": !1
6598
6611
  }, X(m)), {
6599
- default: Ue(() => [
6612
+ default: Me(() => [
6600
6613
  (le(!0), ge(Ye, null, nn(O.value, (K) => (le(), ge(Ye, {
6601
6614
  key: K.value
6602
6615
  }, [
@@ -6604,7 +6617,7 @@ const st = new Hi(), pt = (e, t, a) => {
6604
6617
  key: 0,
6605
6618
  value: K.value
6606
6619
  }, {
6607
- default: Ue(() => [
6620
+ default: Me(() => [
6608
6621
  ta(je(K.label), 1)
6609
6622
  ]),
6610
6623
  _: 2
@@ -6635,7 +6648,7 @@ export {
6635
6648
  Zc as F,
6636
6649
  eu as G,
6637
6650
  En as H,
6638
- Ur as I,
6651
+ xr as I,
6639
6652
  yc as J,
6640
6653
  Hc as K,
6641
6654
  ua as L,
@@ -6668,7 +6681,7 @@ export {
6668
6681
  Mc as aa,
6669
6682
  $i as ab,
6670
6683
  lr as ac,
6671
- xc as ad,
6684
+ Uc as ad,
6672
6685
  Nc as ae,
6673
6686
  nr as af,
6674
6687
  Di as ag,
@@ -6676,7 +6689,7 @@ export {
6676
6689
  st as ai,
6677
6690
  yt as aj,
6678
6691
  Jt as ak,
6679
- Me as al,
6692
+ Fe as al,
6680
6693
  Qc as am,
6681
6694
  hn as an,
6682
6695
  rc as ao,
@@ -6692,14 +6705,14 @@ export {
6692
6705
  kc as d,
6693
6706
  Pc as e,
6694
6707
  Vc as f,
6695
- xi as g,
6708
+ Ui as g,
6696
6709
  $c as h,
6697
6710
  ve as i,
6698
6711
  Fc as j,
6699
6712
  Cc as k,
6700
6713
  or as l,
6701
6714
  Vi as m,
6702
- Uc as n,
6715
+ xc as n,
6703
6716
  Rc as o,
6704
6717
  Fi as p,
6705
6718
  Ci as q,
@@ -6708,8 +6721,8 @@ export {
6708
6721
  Ft as t,
6709
6722
  ye as u,
6710
6723
  ft as v,
6711
- xt as w,
6724
+ Ut as w,
6712
6725
  pt as x,
6713
- Ut as y,
6726
+ xt as y,
6714
6727
  an as z
6715
6728
  };