@skyfox2000/webui 1.6.5 → 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 Me, 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 Ce, AppAction as Sn, AppSource as Tn, isMicroApp as We, 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
  }
@@ -1081,42 +1081,42 @@ 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) {
1088
- return xe(e, gs);
1088
+ return Ue(e, gs);
1089
1089
  }
1090
1090
  const hs = ["c", "cases"];
1091
1091
  function Lo(e) {
1092
- return xe(e, hs, []);
1092
+ return Ue(e, hs, []);
1093
1093
  }
1094
1094
  const Es = ["s", "static"];
1095
1095
  function Oo(e) {
1096
- return xe(e, Es);
1096
+ return Ue(e, Es);
1097
1097
  }
1098
1098
  const vs = ["i", "items"];
1099
1099
  function Ao(e) {
1100
- return xe(e, vs, []);
1100
+ return Ue(e, vs, []);
1101
1101
  }
1102
1102
  const bs = ["t", "type"];
1103
1103
  function un(e) {
1104
- return xe(e, bs);
1104
+ return Ue(e, bs);
1105
1105
  }
1106
1106
  const Is = ["v", "value"];
1107
1107
  function Kt(e, t) {
1108
- const a = xe(e, Is);
1108
+ const a = Ue(e, Is);
1109
1109
  if (a != null)
1110
1110
  return a;
1111
1111
  throw St(t);
1112
1112
  }
1113
1113
  const ys = ["m", "modifier"];
1114
1114
  function Po(e) {
1115
- return xe(e, ys);
1115
+ return Ue(e, ys);
1116
1116
  }
1117
1117
  const Ns = ["k", "key"];
1118
1118
  function Ro(e) {
1119
- const t = xe(e, Ns);
1119
+ const t = Ue(e, Ns);
1120
1120
  if (t)
1121
1121
  return t;
1122
1122
  throw St(
@@ -1124,7 +1124,7 @@ function Ro(e) {
1124
1124
  /* NodeTypes.Linked */
1125
1125
  );
1126
1126
  }
1127
- function xe(e, t, a) {
1127
+ function Ue(e, t, a) {
1128
1128
  for (let n = 0; n < t.length; n++) {
1129
1129
  const s = t[n];
1130
1130
  if (be(e, s) && e[s] != null)
@@ -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 Ue = [];
1354
- Ue[
1353
+ const xe = [];
1354
+ xe[
1355
1355
  0
1356
1356
  /* States.BEFORE_PATH */
1357
1357
  ] = {
@@ -1373,7 +1373,7 @@ Ue[
1373
1373
  /* States.AFTER_PATH */
1374
1374
  ]
1375
1375
  };
1376
- Ue[
1376
+ xe[
1377
1377
  1
1378
1378
  /* States.IN_PATH */
1379
1379
  ] = {
@@ -1394,7 +1394,7 @@ Ue[
1394
1394
  /* States.AFTER_PATH */
1395
1395
  ]
1396
1396
  };
1397
- Ue[
1397
+ xe[
1398
1398
  2
1399
1399
  /* States.BEFORE_IDENT */
1400
1400
  ] = {
@@ -1413,7 +1413,7 @@ Ue[
1413
1413
  /* Actions.APPEND */
1414
1414
  ]
1415
1415
  };
1416
- Ue[
1416
+ xe[
1417
1417
  3
1418
1418
  /* States.IN_IDENT */
1419
1419
  ] = {
@@ -1448,7 +1448,7 @@ Ue[
1448
1448
  /* Actions.PUSH */
1449
1449
  ]
1450
1450
  };
1451
- Ue[
1451
+ xe[
1452
1452
  4
1453
1453
  /* States.IN_SUB_PATH */
1454
1454
  ] = {
@@ -1479,7 +1479,7 @@ Ue[
1479
1479
  /* Actions.APPEND */
1480
1480
  ]
1481
1481
  };
1482
- Ue[
1482
+ xe[
1483
1483
  5
1484
1484
  /* States.IN_SINGLE_QUOTE */
1485
1485
  ] = {
@@ -1495,7 +1495,7 @@ Ue[
1495
1495
  /* Actions.APPEND */
1496
1496
  ]
1497
1497
  };
1498
- Ue[
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 = 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))))
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, $e, 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) {
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
- type: H
2505
+ if (W !== "translate exists" && // for not `te` (e.g `t`)
2506
+ ee(Ze) && Ze === ra || W === "translate exists" && !Ze) {
2507
+ const [We, mr] = T();
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
+ key: We,
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,
2515
- key: He,
2514
+ type: W,
2515
+ key: We,
2516
2516
  to: "global",
2517
- groupId: `${H}:${He}`
2517
+ groupId: `${W}:${We}`
2518
2518
  });
2519
2519
  }
2520
- return t && R ? z(t) : $e(He);
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 = Ve(H), $e = v.messageResolver(z, h);
2575
+ const W = A(T) ? T : l.value, z = Ve(W), $e = v.messageResolver(z, h);
2576
2576
  return he($e) || pe($e) || A($e);
2577
- }, () => [h], "translate exists", (H) => Reflect.apply(H.te, H, [h, T]), xl, (H) => U(H));
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 $e = c.value[H[z]] || {}, Ht = v.messageResolver($e, 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
  }
@@ -2597,20 +2597,20 @@ function pn(e = {}) {
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] || {};
@@ -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 = {
@@ -4065,7 +4065,7 @@ async function qs(e) {
4065
4065
  let s = t;
4066
4066
  a && Object.keys(a).length > 0 && (s = Rt(s, a)), n && Object.keys(n).length > 0 && (s = Rt(s, n)), Js[e] = s, me.global.setLocaleMessage(e, s), Xs(e, s);
4067
4067
  }
4068
- async function Ec(e = "/", t) {
4068
+ async function vc(e = "/", t) {
4069
4069
  za = e;
4070
4070
  try {
4071
4071
  const n = await fetch(`${za}locales/languages.json`);
@@ -4076,14 +4076,14 @@ async function Ec(e = "/", t) {
4076
4076
  const a = localStorage.getItem("language") || t || "zh-CN";
4077
4077
  me.global.locale.value = a, localStorage.setItem("language", a), await qs(a);
4078
4078
  }
4079
- async function vc(e) {
4079
+ async function bc(e) {
4080
4080
  await qs(e), me.global.locale.value = e, localStorage.setItem("language", e);
4081
4081
  }
4082
- function bc(e = "code") {
4082
+ function Ic(e = "code") {
4083
4083
  const t = me.global.locale.value;
4084
4084
  return e === "display" ? qt[t] : t;
4085
4085
  }
4086
- function Ic() {
4086
+ function yc() {
4087
4087
  return Object.keys(qt).map((e) => ({
4088
4088
  label: qt[e],
4089
4089
  key: e
@@ -4240,7 +4240,7 @@ const ia = {
4240
4240
  hideErrorToast: !0
4241
4241
  }
4242
4242
  };
4243
- function yc() {
4243
+ function Nc() {
4244
4244
  zs = P("webui.stores.userInfo.tokenParseFailed"), ia.logout.loadingText = P("webui.stores.userInfo.exiting"), Zs.host.loadingText = P("webui.stores.hostInfo.loading");
4245
4245
  }
4246
4246
  const Ft = {
@@ -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 (Ce.VITE_PERMISSION_MODE === "none")
4339
+ if (ke.VITE_PERMISSION_MODE === "none")
4336
4340
  return !0;
4337
- if (Ce.VITE_PERMISSION_MODE === "role")
4341
+ if (ke.VITE_PERMISSION_MODE === "role")
4338
4342
  return a.length === 0 ? !0 : o.hasRole(a);
4339
- if (Ce.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;
@@ -4373,9 +4377,7 @@ 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 {
4380
+ if (i.isLogin) {
4379
4381
  if (!Fe().menuLoaded) {
4380
4382
  yt.value = {
4381
4383
  to: e,
@@ -4383,24 +4385,31 @@ ca.beforeEach((e, t, 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: [],
@@ -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) || Ce.VITE_PERMISSION_MODE === "none")
4576
+ if (ve(a) && ve(n) || ke.VITE_PERMISSION_MODE === "none")
4568
4577
  return !0;
4569
- if (Ce.VITE_PERMISSION_MODE === "role")
4578
+ if (ke.VITE_PERMISSION_MODE === "role")
4570
4579
  return ve(a) ? !0 : t.hasRole(a);
4571
- if (Ce.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) {
@@ -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
- }), !We() || !Dr())) {
4678
+ }), !He() || !Dr())) {
4670
4679
  const n = ye();
4671
- Ce.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, We()) {
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 }), We()) {
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,11 +4793,11 @@ 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(), We() ? Nt.mainAppPush("/") : window.location.assign("/");
4796
+ this.clean(), He() ? Nt.mainAppPush("/") : window.location.assign("/");
4788
4797
  }
4789
4798
  },
4790
4799
  persist: !1
4791
- }), ua = 1400, Pi = (e) => {
4800
+ }), ua = 1400, Ri = (e) => {
4792
4801
  let t = {
4793
4802
  Option: {
4794
4803
  Mode: "MicroApp"
@@ -4796,7 +4805,7 @@ const Nt = {
4796
4805
  Query: e
4797
4806
  };
4798
4807
  return qe(ia.login, t).then((a) => (a == null ? void 0 : a.status) === ie.SUCCESS ? a : null);
4799
- }, Ri = (e) => {
4808
+ }, wi = (e) => {
4800
4809
  let t = {
4801
4810
  Query: {
4802
4811
  AppId: e
@@ -4811,13 +4820,13 @@ const Nt = {
4811
4820
  }
4812
4821
  return se.error(P("webui.stores.userInfo.authInfoFailed") + "," + (a == null ? void 0 : a.msg)), null;
4813
4822
  });
4814
- }, wi = () => {
4823
+ }, ki = () => {
4815
4824
  let e = {
4816
4825
  Option: {},
4817
4826
  Query: {}
4818
4827
  };
4819
4828
  return qe(ia.logout, e).then((t) => (t == null ? void 0 : t.status) === ie.SUCCESS ? t.data : null);
4820
- }, ki = (e) => {
4829
+ }, Di = (e) => {
4821
4830
  try {
4822
4831
  const t = JSON.parse(atob(e.token.split(".")[1]));
4823
4832
  return t.user = JSON.parse(t.user), e.UserInfo = t.user, !0;
@@ -4842,7 +4851,7 @@ const Nt = {
4842
4851
  * 启动时初始化用户信息
4843
4852
  */
4844
4853
  init() {
4845
- We() || (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());
4846
4855
  },
4847
4856
  /**
4848
4857
  * 登录操作
@@ -4850,14 +4859,14 @@ const Nt = {
4850
4859
  * @returns
4851
4860
  */
4852
4861
  async login(e, t) {
4853
- const a = await Pi(e);
4862
+ const a = await Ri(e);
4854
4863
  if (a) {
4855
4864
  const n = a;
4856
4865
  if (n.errno)
4857
4866
  return n;
4858
4867
  {
4859
4868
  const s = a.data;
4860
- if (this.token = s.token, Wt(this.token), this.isLogin = !0, ki(s))
4869
+ if (this.token = s.token, Ht(this.token), this.isLogin = !0, Di(s))
4861
4870
  this.userInfo = {
4862
4871
  ...this.userInfo,
4863
4872
  ...s.UserInfo
@@ -4878,10 +4887,10 @@ const Nt = {
4878
4887
  async getRolePermits(e) {
4879
4888
  if (!this.isLogin || !this.token)
4880
4889
  return !1;
4881
- if (Ce.VITE_PERMISSION_MODE === "none" || bt.value && bt.value.appId === e)
4890
+ if (ke.VITE_PERMISSION_MODE === "none" || bt.value && bt.value.appId === e)
4882
4891
  return !0;
4883
4892
  try {
4884
- const t = await Ri(e);
4893
+ const t = await wi(e);
4885
4894
  return t ? (bt.value = {
4886
4895
  appId: e,
4887
4896
  permits: t.permits || [],
@@ -4927,7 +4936,7 @@ const Nt = {
4927
4936
  de.value || (de.value = e.UserLevel, this.userInfo = {
4928
4937
  ...this.userInfo,
4929
4938
  ...e
4930
- }, this.token = t, Wt(this.token), this.isLogin = !0);
4939
+ }, this.token = t, Ht(this.token), this.isLogin = !0);
4931
4940
  },
4932
4941
  /**
4933
4942
  * 获取用户Token
@@ -4965,7 +4974,7 @@ const Nt = {
4965
4974
  Code: "",
4966
4975
  TenantId: "",
4967
4976
  UserLevel: ""
4968
- }, this.token = "", Wt(this.token), this.isLogin = !1, bt.value = null, de.value = "", Fe().clean(), Promise.resolve();
4977
+ }, this.token = "", Ht(this.token), this.isLogin = !1, bt.value = null, de.value = "", Fe().clean(), Promise.resolve();
4969
4978
  },
4970
4979
  /**
4971
4980
  * 登出操作
@@ -4973,10 +4982,10 @@ const Nt = {
4973
4982
  * @returns
4974
4983
  */
4975
4984
  async logout(e) {
4976
- if (We())
4985
+ if (He())
4977
4986
  return Nt.userLogout(), Promise.resolve();
4978
4987
  try {
4979
- e && await wi();
4988
+ e && await ki();
4980
4989
  } catch (t) {
4981
4990
  console.error("调用登出接口失败", t);
4982
4991
  } finally {
@@ -5016,7 +5025,7 @@ const Nt = {
5016
5025
  t.params || (t.params = {}), t.params.Query || (t.params.Query = {});
5017
5026
  const a = fa(e, t);
5018
5027
  return t.url = a, da(e, t);
5019
- }, Nc = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || P("webui.utils.data.startExecute"), t.url = fa(e, t), da(e, t).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && (t.hideErrorToast || se.success(P("webui.utils.data.executeSuccess"))), a))), nr = (e, t = {}) => {
5028
+ }, Sc = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || P("webui.utils.data.startExecute"), t.url = fa(e, t), da(e, t).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && (t.hideErrorToast || se.success(P("webui.utils.data.executeSuccess"))), a))), nr = (e, t = {}) => {
5020
5029
  const a = t.primaryKey || "Id";
5021
5030
  if (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), !t.params.Data)
5022
5031
  return se.error(P("webui.utils.data.noSaveData")), Promise.resolve(null);
@@ -5028,7 +5037,7 @@ const Nt = {
5028
5037
  n.params.Query[a] = n.params.Data[a];
5029
5038
  const s = fa(e, n);
5030
5039
  return n.url = s, da(e, n).then((r) => ((r == null ? void 0 : r.status) === ie.SUCCESS && (t.hideErrorToast || se.success(P("webui.utils.data.saveSuccess"))), r));
5031
- }, Di = (e, t, a = {}) => {
5040
+ }, Ci = (e, t, a = {}) => {
5032
5041
  const n = a.primaryKey || "Id";
5033
5042
  a.params || (a.params = {}), a.params.Query || (a.params.Query = {});
5034
5043
  const s = {
@@ -5040,22 +5049,22 @@ const Nt = {
5040
5049
  return se.error(P("webui.utils.data.forbidDeleteWithoutCondition")), Promise.resolve(null);
5041
5050
  const r = fa(e, s);
5042
5051
  return s.url = r, da(e, s).then((o) => ((o == null ? void 0 : o.status) === ie.SUCCESS && (a.hideErrorToast || se.success(P("webui.utils.data.deleteSuccess"))), o));
5043
- }, Ci = (e, t) => En(e, {
5052
+ }, Fi = (e, t) => En(e, {
5044
5053
  urlKey: "tree",
5045
5054
  params: {},
5046
5055
  loadingState: e.isTreeLoading,
5047
5056
  loadingText: !1,
5048
5057
  processParams: () => Ct(e.treeQuery, t)
5049
- }).then((a) => (a == null ? void 0 : a.status) === ie.SUCCESS ? (e.data.value = a.data || [], e.afterLoad && e.afterLoad(e.data.value), e.data.value) : (e.afterLoad && e.afterLoad((a == null ? void 0 : a.data) || []), [])), Fi = (e, t) => {
5058
+ }).then((a) => (a == null ? void 0 : a.status) === ie.SUCCESS ? (e.data.value = a.data || [], e.afterLoad && e.afterLoad(e.data.value), e.data.value) : (e.afterLoad && e.afterLoad((a == null ? void 0 : a.data) || []), [])), Mi = (e, t) => {
5050
5059
  for (const a of e) {
5051
5060
  if (a.key === t) return a;
5052
5061
  if (a.children) {
5053
- const n = Fi(a.children, t);
5062
+ const n = Mi(a.children, t);
5054
5063
  if (n) return n;
5055
5064
  }
5056
5065
  }
5057
5066
  return null;
5058
- }, Sc = Dt("settingInfo", {
5067
+ }, Tc = Dt("settingInfo", {
5059
5068
  state: () => ({
5060
5069
  fullscreen: !1,
5061
5070
  menuCollapse: !1,
@@ -5120,7 +5129,7 @@ const Nt = {
5120
5129
  persist: !1
5121
5130
  });
5122
5131
  let ut;
5123
- const Tc = (e) => {
5132
+ const Lc = (e) => {
5124
5133
  ut = new aa({}), ut.messages({
5125
5134
  required: "${label}" + P("webui.utils.formValidate.required"),
5126
5135
  types: {
@@ -5147,7 +5156,7 @@ const Tc = (e) => {
5147
5156
  },
5148
5157
  ...e
5149
5158
  });
5150
- }, Lc = (e) => {
5159
+ }, Oc = (e) => {
5151
5160
  if (!e || ve(e))
5152
5161
  return [];
5153
5162
  const t = [], a = ut.messages(), n = (r, o, l) => {
@@ -5201,14 +5210,14 @@ const Tc = (e) => {
5201
5210
  rules: i
5202
5211
  });
5203
5212
  }), t;
5204
- }, Oc = (e) => {
5213
+ }, Ac = (e) => {
5205
5214
  const t = new aa({});
5206
5215
  return t.messages(ut.messages()), t.define(e), t;
5207
5216
  }, Mt = async (e) => {
5208
5217
  const t = e.formData.value, a = e.formRules.value;
5209
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(() => {
5210
5219
  }).catch(({ fields: n }) => n));
5211
- }, 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(() => {
5212
5221
  }).catch(({ fields: n }) => n)), vn = (e) => {
5213
5222
  e.ruleResults.value = void 0;
5214
5223
  }, ft = () => {
@@ -5219,7 +5228,7 @@ const Tc = (e) => {
5219
5228
  ruleKey: a,
5220
5229
  errInfo: n
5221
5230
  };
5222
- }, Mi = (e, t) => {
5231
+ }, Ui = (e, t) => {
5223
5232
  let a = w({
5224
5233
  msg: "",
5225
5234
  errClass: ""
@@ -5271,24 +5280,24 @@ const Tc = (e) => {
5271
5280
  });
5272
5281
  }
5273
5282
  }), n.value.length > 0 && (r.value = "error"), { msg: s, ruleErrors: n, errClass: r };
5274
- }, Pc = (e, t) => {
5283
+ }, Rc = (e, t) => {
5275
5284
  ka(Re.LabelText, e.label || ""), ka(Re.RuleKey, e.rule || "");
5276
- const a = Mi(e, t);
5285
+ const a = Ui(e, t);
5277
5286
  return ka(Re.ErrInfo, a), a;
5278
- }, Ui = (e, t) => {
5287
+ }, Vi = (e, t) => {
5279
5288
  if (!t)
5280
5289
  return;
5281
5290
  const [a, ...n] = e;
5282
5291
  if (e.length === 1)
5283
5292
  return t[a];
5284
5293
  if (t[a])
5285
- return Ui(n, t[a].fields);
5286
- }, Rc = (e) => {
5287
- sr(e);
5294
+ return Vi(n, t[a].fields);
5288
5295
  }, wc = (e) => {
5296
+ sr(e);
5297
+ }, kc = (e) => {
5289
5298
  const t = e.page, a = e.formData.value;
5290
5299
  a[e.primaryKey ?? t.primaryKey] = null, sr(e);
5291
- }, kc = (e) => {
5300
+ }, Dc = (e) => {
5292
5301
  bn(e), e.visible.value = !1;
5293
5302
  }, sr = async (e) => {
5294
5303
  var n;
@@ -5341,14 +5350,14 @@ const Tc = (e) => {
5341
5350
  } else
5342
5351
  se.error((s == null ? void 0 : s.msg) ?? P("webui.utils.form.saveFailed")), e.afterSave && e.afterSave(s);
5343
5352
  });
5344
- }, Dc = async (e) => {
5353
+ }, Cc = async (e) => {
5345
5354
  const t = e.page, a = e.grid;
5346
5355
  e.isFormLoading.value = !0;
5347
5356
  const n = e.formData.value, s = e.primaryKey ?? t.primaryKey;
5348
5357
  return lr(a, { [s]: n[s] }, e.detailUrl).then((r) => {
5349
5358
  e.isFormLoading.value = !1, r && rr(e, r);
5350
5359
  });
5351
- }, Cc = (e) => {
5360
+ }, Fc = (e) => {
5352
5361
  const t = e.grid;
5353
5362
  t && (t.rowData.value = void 0), e && (bn(e), e.visible && (e.visible.value = !1), setTimeout(() => {
5354
5363
  e.visible.value = !0;
@@ -5359,7 +5368,7 @@ const Tc = (e) => {
5359
5368
  e.formData.value = JSON.parse(JSON.stringify(a));
5360
5369
  }, bn = (e) => {
5361
5370
  e.formData.value = e.default ? JSON.parse(JSON.stringify(e.default)) : {}, vn(e);
5362
- }, Fc = (e, t) => {
5371
+ }, Mc = (e, t) => {
5363
5372
  const a = ye();
5364
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) => {
5365
5374
  if (!t) {
@@ -5370,7 +5379,7 @@ const Tc = (e) => {
5370
5379
  }
5371
5380
  return !0;
5372
5381
  });
5373
- }, Mc = (e, t) => {
5382
+ }, Uc = (e, t) => {
5374
5383
  const a = t == null ? void 0 : t.filter((n) => {
5375
5384
  const s = e.find(
5376
5385
  (r) => r.dataIndex === n.dataIndex || r.key === n.key || r.title === n.title
@@ -5378,7 +5387,7 @@ const Tc = (e) => {
5378
5387
  return s ? { ...n, ...s } : !1;
5379
5388
  });
5380
5389
  return [...a || [], ...e.filter((n) => !(a != null && a.includes(n)))];
5381
- }, Vi = (e) => or(e).then((t) => t.rows), or = (e) => {
5390
+ }, $i = (e) => or(e).then((t) => t.rows), or = (e) => {
5382
5391
  var a, n, s, r;
5383
5392
  e.gridQuery || (e.gridQuery = {});
5384
5393
  const t = e.remotePage ? "find" : "list";
@@ -5412,7 +5421,7 @@ const Tc = (e) => {
5412
5421
  rows: []
5413
5422
  };
5414
5423
  });
5415
- }, $i = (e, t, a = {}) => nr(e, {
5424
+ }, Wi = (e, t, a = {}) => nr(e, {
5416
5425
  urlKey: "update",
5417
5426
  url: e.updateUrl,
5418
5427
  params: {
@@ -5425,7 +5434,7 @@ const Tc = (e) => {
5425
5434
  e.reload.value = !0, e.afterUpdate && e.afterUpdate(t);
5426
5435
  }, 50), n)), xc = (e, t) => {
5427
5436
  const a = {};
5428
- return a[e.primaryKey] = t[e.primaryKey], a[e.statusKey] = t[e.statusKey], $i(e, a, {
5437
+ return a[e.primaryKey] = t[e.primaryKey], a[e.statusKey] = t[e.statusKey], Wi(e, a, {
5429
5438
  loadingText: !1,
5430
5439
  hideErrorToast: !0
5431
5440
  });
@@ -5434,13 +5443,13 @@ const Tc = (e) => {
5434
5443
  url: a,
5435
5444
  params: t,
5436
5445
  loadingState: e.isGridLoading
5437
- }), Uc = (e, t) => {
5446
+ }), Vc = (e, t) => {
5438
5447
  const a = t;
5439
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));
5440
- }, Vc = (e, t) => {
5449
+ }, $c = (e, t) => {
5441
5450
  let a = e.editor;
5442
5451
  e.rowData.value = t, a && (rr(a, t), a.visible.value = !0);
5443
- }, $c = (e, t) => Di(e, t, {
5452
+ }, Wc = (e, t) => Ci(e, t, {
5444
5453
  url: e.deleteUrl,
5445
5454
  primaryKey: e.primaryKey
5446
5455
  }).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && setTimeout(() => {
@@ -5497,7 +5506,7 @@ const st = new Hi(), pt = (e, t, a) => {
5497
5506
  if (t.inputFactory && (a != null && a.reloadEvent)) {
5498
5507
  const n = t.inputFactory.value;
5499
5508
  n.reloadHandler = (s, r) => {
5500
- Wi(t.url, t, r);
5509
+ Gi(t.url, t, r);
5501
5510
  }, st.on(a.reloadEvent, n.reloadHandler);
5502
5511
  }
5503
5512
  if (a != null && a.data)
@@ -5527,17 +5536,17 @@ const st = new Hi(), pt = (e, t, a) => {
5527
5536
  label: P("webui.components.form.radio.all"),
5528
5537
  value: e.allValue ?? void 0
5529
5538
  }), e.options.value = t;
5530
- }, Wi = (e, t, a) => {
5539
+ }, Gi = (e, t, a) => {
5531
5540
  Array.isArray(a) ? In(t, a, !0) : ir(e, t, a);
5532
- }, xt = (e, t) => {
5541
+ }, Ut = (e, t) => {
5533
5542
  var a;
5534
5543
  (a = e.inputFactory) != null && a.value && t.reloadEvent && e.inputFactory.value.reloadHandler && st.off(t.reloadEvent, e.inputFactory.value.reloadHandler);
5535
5544
  }, ir = (e, t, a) => {
5536
5545
  const n = JSON.parse(JSON.stringify(e.params ?? {})), s = JSON.parse(JSON.stringify(t.params ?? {})), r = Ct(n, s, a);
5537
- Gi(e, t, t.fieldMap, r).then((o) => {
5546
+ Ki(e, t, t.fieldMap, r).then((o) => {
5538
5547
  In(t, o, !1);
5539
5548
  });
5540
- }, Gi = (e, t, a, n) => {
5549
+ }, Ki = (e, t, a, n) => {
5541
5550
  const { fieldMap: s, ...r } = e, l = {
5542
5551
  ...{
5543
5552
  url: "",
@@ -5561,7 +5570,7 @@ const st = new Hi(), pt = (e, t, a) => {
5561
5570
  }).finally(() => {
5562
5571
  t.isOptionLoading.value = !1;
5563
5572
  });
5564
- }, Ki = (e, t, a) => {
5573
+ }, Yi = (e, t, a) => {
5565
5574
  if (e === void 0) return;
5566
5575
  const n = (r) => {
5567
5576
  const o = { ...r };
@@ -5622,7 +5631,7 @@ const st = new Hi(), pt = (e, t, a) => {
5622
5631
  var r, o;
5623
5632
  const n = (r = e.inputFactory) == null ? void 0 : r.value;
5624
5633
  n != null && n.editorCtrl && ((o = n.errInfo) != null && o.value.errClass) && Mt(n.editorCtrl), e.selected.value = a;
5625
- const s = Ki(a, e.options.value);
5634
+ const s = Yi(a, e.options.value);
5626
5635
  if (e.selectedOptions.value = s, t.formData && t.outFields && cr(t.formData, t.outFields, s), t.changeEvent) {
5627
5636
  const [l, i] = t.changeEvent;
5628
5637
  if (i)
@@ -5706,7 +5715,7 @@ const st = new Hi(), pt = (e, t, a) => {
5706
5715
  }, _a = (e) => {
5707
5716
  for (let t in e.urls)
5708
5717
  e.urls[t].api || (e.urls[t].api = e.api), e.urls[t].authorize === void 0 && (e.urls[t].authorize = e.authorize);
5709
- }, Yi = (e, t, a, n) => (_a(e), {
5718
+ }, Bi = (e, t, a, n) => (_a(e), {
5710
5719
  editorCtrl: {
5711
5720
  ...Z.EditorOption,
5712
5721
  name: "",
@@ -5722,7 +5731,7 @@ const st = new Hi(), pt = (e, t, a) => {
5722
5731
  isFormSaving: w(!1),
5723
5732
  isFormLoading: w(!1)
5724
5733
  }
5725
- }), Bi = (e, t, a) => {
5734
+ }), ji = (e, t, a) => {
5726
5735
  _a(e);
5727
5736
  const n = {
5728
5737
  ...Z.GridOption,
@@ -5743,7 +5752,7 @@ const st = new Hi(), pt = (e, t, a) => {
5743
5752
  selectRows: w([]),
5744
5753
  rowData: w(void 0),
5745
5754
  gridQuery: {},
5746
- tableData: ke(void 0),
5755
+ tableData: De(void 0),
5747
5756
  expandRows: w({}),
5748
5757
  isGridLoading: w(!1),
5749
5758
  isGridSaving: w(!1),
@@ -5756,12 +5765,12 @@ const st = new Hi(), pt = (e, t, a) => {
5756
5765
  (s) => {
5757
5766
  s && (setTimeout(() => {
5758
5767
  n.reload.value = !1;
5759
- }, 1), n.remotePage ? or(n) : Vi(n));
5768
+ }, 1), n.remotePage ? or(n) : $i(n));
5760
5769
  }
5761
5770
  ), {
5762
5771
  gridCtrl: n
5763
5772
  };
5764
- }, Wc = (e, t) => {
5773
+ }, Gc = (e, t) => {
5765
5774
  _a(e);
5766
5775
  const a = {
5767
5776
  ...Z.TreeOption,
@@ -5769,7 +5778,7 @@ const st = new Hi(), pt = (e, t, a) => {
5769
5778
  page: t,
5770
5779
  node: w(void 0),
5771
5780
  url: e.urls.tree,
5772
- data: ke(void 0),
5781
+ data: De(void 0),
5773
5782
  isTreeLoading: w(!1)
5774
5783
  };
5775
5784
  return B(
@@ -5777,18 +5786,18 @@ const st = new Hi(), pt = (e, t, a) => {
5777
5786
  (n) => {
5778
5787
  n && (setTimeout(() => {
5779
5788
  a.reload.value = !1;
5780
- }, 1), Ci(a));
5789
+ }, 1), Fi(a));
5781
5790
  }
5782
5791
  ), {
5783
5792
  treeCtrl: a
5784
5793
  };
5785
- }, Ut = (e, t) => {
5794
+ }, xt = (e, t) => {
5786
5795
  const a = {
5787
5796
  ...Z.OptionOption,
5788
5797
  url: e,
5789
5798
  reload: w(!1),
5790
5799
  optionQuery: {},
5791
- data: ke((t == null ? void 0 : t.data) ?? []),
5800
+ data: De((t == null ? void 0 : t.data) ?? []),
5792
5801
  selected: w([]),
5793
5802
  selectedOptions: w([]),
5794
5803
  options: w((t == null ? void 0 : t.data) ?? []),
@@ -5804,25 +5813,25 @@ const st = new Hi(), pt = (e, t, a) => {
5804
5813
  ), {
5805
5814
  optionCtrl: a
5806
5815
  };
5807
- }, Gc = (e, t, a) => {
5816
+ }, Kc = (e, t, a) => {
5808
5817
  _a(e);
5809
5818
  const n = {
5810
5819
  ...Z.PageOption,
5811
5820
  ...e
5812
- }, { editorCtrl: s } = Yi(e, n, t, a), { gridCtrl: r } = Bi(e, n);
5821
+ }, { editorCtrl: s } = Bi(e, n, t, a), { gridCtrl: r } = ji(e, n);
5813
5822
  return n.editor = s, n.grid = r, r.editor = s, r.tools = ["Reload", "RowHeight", "TableHeadset", "Fullscreen"], s.grid = r, {
5814
5823
  pageCtrl: n,
5815
5824
  editorCtrl: s,
5816
5825
  gridCtrl: r
5817
5826
  };
5818
- }, 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) => {
5819
5828
  var s;
5820
5829
  if (!e.iconUrl) return an;
5821
5830
  const t = w(!0), a = w("");
5822
5831
  let n = !0;
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(() => {
5824
- qi(e.iconUrl, e.monoColor || !1), t.value = !0;
5825
- }), De({
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(() => {
5833
+ zi(e.iconUrl, e.monoColor || !1), t.value = !0;
5834
+ }), Ce({
5826
5835
  props: {
5827
5836
  icon: {
5828
5837
  type: String
@@ -5889,12 +5898,12 @@ const st = new Hi(), pt = (e, t, a) => {
5889
5898
  style: {
5890
5899
  fill: "currentColor",
5891
5900
  cursor: this.$props.clickable ? "pointer" : "default",
5892
- transform: Zi(this.angle, this.flip)
5901
+ transform: ec(this.angle, this.flip)
5893
5902
  }
5894
5903
  }) : Ie("div", { class: "w-[14px] h-[14px]" });
5895
5904
  }
5896
5905
  });
5897
- }, Ji = (e, t) => {
5906
+ }, Qi = (e, t) => {
5898
5907
  let a = e.iconUrl;
5899
5908
  if (!a)
5900
5909
  return console.error("图标库地址不能为空"), Promise.resolve();
@@ -5905,10 +5914,10 @@ const st = new Hi(), pt = (e, t, a) => {
5905
5914
  return new Promise(async (r) => (ur(n.scriptContent), r()));
5906
5915
  t.value = !1;
5907
5916
  const s = new Promise(async (r) => {
5908
- await Qi(a, e.monoColor || !1), r(), Va.delete(a);
5917
+ await Xi(a, e.monoColor || !1), r(), Va.delete(a);
5909
5918
  });
5910
5919
  return Va.set(a, s), s;
5911
- }, Qi = async (e, t) => {
5920
+ }, Xi = async (e, t) => {
5912
5921
  try {
5913
5922
  const a = await fetch(e);
5914
5923
  if (!a.ok) {
@@ -5921,7 +5930,7 @@ const st = new Hi(), pt = (e, t, a) => {
5921
5930
  const r = n.match(s);
5922
5931
  if (r && r.length > 1) {
5923
5932
  let o = r[1];
5924
- Xi(e, o, t, n);
5933
+ qi(e, o, t, n);
5925
5934
  }
5926
5935
  ur(n);
5927
5936
  return;
@@ -5931,13 +5940,13 @@ const st = new Hi(), pt = (e, t, a) => {
5931
5940
  }, ur = (e) => {
5932
5941
  const t = document.createElement("script");
5933
5942
  t.textContent = e, document.head.appendChild(t);
5934
- }, Xi = (e, t, a, n) => {
5943
+ }, qi = (e, t, a, n) => {
5935
5944
  let s = `icon_cache:${e}`;
5936
5945
  const r = {
5937
5946
  windowKey: t,
5938
5947
  monoColor: a,
5939
5948
  scriptContent: n,
5940
- expireTime: Date.now() + ji
5949
+ expireTime: Date.now() + Ji
5941
5950
  // 缓存时间:7天
5942
5951
  };
5943
5952
  localStorage.setItem(s, JSON.stringify(r));
@@ -5952,7 +5961,7 @@ const st = new Hi(), pt = (e, t, a) => {
5952
5961
  return console.error("解析缓存失败:", s), null;
5953
5962
  }
5954
5963
  return n.expireTime < Date.now() ? (localStorage.removeItem(e), null) : n;
5955
- }, Bc = () => {
5964
+ }, jc = () => {
5956
5965
  const e = Date.now();
5957
5966
  for (const t in localStorage)
5958
5967
  if (t.startsWith("icon_cache:")) {
@@ -5983,12 +5992,12 @@ const st = new Hi(), pt = (e, t, a) => {
5983
5992
  fill: "currentColor"
5984
5993
  })
5985
5994
  ]
5986
- ), qi = (e, t) => {
5995
+ ), zi = (e, t) => {
5987
5996
  const a = fr(e);
5988
5997
  Object.keys(window).forEach((n) => {
5989
- n.startsWith("_iconfont_svg_string_") && (a == null ? void 0 : a.windowKey) === n && !us.has(n) && (us.add(n), zi(n, t));
5998
+ n.startsWith("_iconfont_svg_string_") && (a == null ? void 0 : a.windowKey) === n && !us.has(n) && (us.add(n), Zi(n, t));
5990
5999
  });
5991
- }, zi = (e, t) => {
6000
+ }, Zi = (e, t) => {
5992
6001
  const a = window[e], r = new DOMParser().parseFromString(a, "image/svg+xml").getElementsByTagName("symbol"), o = document.querySelectorAll("symbol");
5993
6002
  for (const l of r) {
5994
6003
  const i = l.id, c = Array.from(o).find((m) => m.id === i);
@@ -5996,10 +6005,10 @@ const st = new Hi(), pt = (e, t, a) => {
5996
6005
  m.hasAttribute("fill") && m.removeAttribute("fill");
5997
6006
  })), Ke.value[i] || (Ke.value[i] = Ie("svg", { fill: "currentColor" }, [Ie("use", { "xlink:href": `#${i}` })]));
5998
6007
  }
5999
- }, Zi = (e, t) => {
6008
+ }, ec = (e, t) => {
6000
6009
  let a = "";
6001
6010
  return e && (a += `rotate(${e}deg)`), t && (a += " scaleX(-1)"), a;
6002
- }, jc = (e, t, a, n) => {
6011
+ }, Jc = (e, t, a, n) => {
6003
6012
  dr(e, [], a, n).forEach((r) => t.push(r));
6004
6013
  }, dr = (e, t, a, n) => {
6005
6014
  var o, l, i, c, m, g;
@@ -6020,7 +6029,7 @@ const st = new Hi(), pt = (e, t, a) => {
6020
6029
  (R.length > 0 || !p.children) && s.push(S);
6021
6030
  }
6022
6031
  return s;
6023
- }, fs = br([]), Jc = () => {
6032
+ }, fs = br([]), Qc = () => {
6024
6033
  fs.length = 0;
6025
6034
  const e = Fe();
6026
6035
  let a = hn().TabActive;
@@ -6033,7 +6042,7 @@ const st = new Hi(), pt = (e, t, a) => {
6033
6042
  };
6034
6043
  fs.push(o);
6035
6044
  });
6036
- }, Qc = Dt("hostInfo", {
6045
+ }, Xc = Dt("hostInfo", {
6037
6046
  state: () => ({
6038
6047
  hostInfo: {
6039
6048
  Host: "",
@@ -6057,7 +6066,7 @@ const st = new Hi(), pt = (e, t, a) => {
6057
6066
  * @param hostKey 站点信息,默认为当前主域名
6058
6067
  */
6059
6068
  async loadHostInfo(e, t) {
6060
- if (We()) {
6069
+ if (He()) {
6061
6070
  const n = await Nt.getHostInfo();
6062
6071
  this._setHostInfo(n);
6063
6072
  return;
@@ -6123,7 +6132,7 @@ const st = new Hi(), pt = (e, t, a) => {
6123
6132
  // storage: localStorage,
6124
6133
  // pick: ['hostInfo'],
6125
6134
  // },
6126
- }), Xc = /* @__PURE__ */ De({
6135
+ }), qc = /* @__PURE__ */ Ce({
6127
6136
  __name: "index",
6128
6137
  props: {
6129
6138
  ...Ft,
@@ -6141,8 +6150,8 @@ const st = new Hi(), pt = (e, t, a) => {
6141
6150
  },
6142
6151
  emits: ["change"],
6143
6152
  setup(e, { emit: t }) {
6144
- const a = e, n = ft(), s = Ut(a.url, a), r = a.optionCtrl ?? s.optionCtrl;
6145
- 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);
6146
6155
  const o = w([]);
6147
6156
  r && B(
6148
6157
  () => r.options.value,
@@ -6168,7 +6177,7 @@ const st = new Hi(), pt = (e, t, a) => {
6168
6177
  }
6169
6178
  r && pt(r.autoload, r, a);
6170
6179
  }), dt(() => {
6171
- r && xt(r, a);
6180
+ r && Ut(r, a);
6172
6181
  }), (y, R) => {
6173
6182
  var S;
6174
6183
  return o.value.length === 2 ? (le(), zt(X(yr), kt({
@@ -6187,7 +6196,7 @@ const st = new Hi(), pt = (e, t, a) => {
6187
6196
  }, y.$attrs), null, 16, ["size", "class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : ot("", !0);
6188
6197
  };
6189
6198
  }
6190
- }), qc = /* @__PURE__ */ De({
6199
+ }), zc = /* @__PURE__ */ Ce({
6191
6200
  inheritAttrs: !1,
6192
6201
  __name: "index",
6193
6202
  props: {
@@ -6208,8 +6217,8 @@ const st = new Hi(), pt = (e, t, a) => {
6208
6217
  },
6209
6218
  emits: ["update:value", "select", "change", "update:labels"],
6210
6219
  setup(e, { emit: t }) {
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 = {
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 = {
6213
6222
  label: "Name",
6214
6223
  value: "Id",
6215
6224
  ...o == null ? void 0 : o.fieldMap
@@ -6254,7 +6263,7 @@ const st = new Hi(), pt = (e, t, a) => {
6254
6263
  return ea(() => {
6255
6264
  o && o.autoload && (o.reload.value = !0);
6256
6265
  }), dt(() => {
6257
- o && xt(o, a);
6266
+ o && Ut(o, a);
6258
6267
  }), (S, O) => {
6259
6268
  var d;
6260
6269
  return le(), ge("div", null, [
@@ -6280,10 +6289,10 @@ const st = new Hi(), pt = (e, t, a) => {
6280
6289
  ]);
6281
6290
  };
6282
6291
  }
6283
- }), ec = { class: "min-h-[32px] pt-[5px]" }, tc = {
6292
+ }), tc = { class: "min-h-[32px] pt-[5px]" }, ac = {
6284
6293
  key: 1,
6285
6294
  class: "text-center text-gray-500"
6286
- }, zc = /* @__PURE__ */ De({
6295
+ }, Zc = /* @__PURE__ */ Ce({
6287
6296
  inheritAttrs: !1,
6288
6297
  __name: "index",
6289
6298
  props: {
@@ -6305,8 +6314,8 @@ const st = new Hi(), pt = (e, t, a) => {
6305
6314
  emits: ["change", "update:labels"],
6306
6315
  setup(e, { emit: t }) {
6307
6316
  var p, y, R;
6308
- const a = e, n = Zt(), s = ft(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6309
- 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);
6310
6319
  const l = w({
6311
6320
  ...o == null ? void 0 : o.url,
6312
6321
  url: ((p = o == null ? void 0 : o.url) == null ? void 0 : p.url) || "",
@@ -6337,8 +6346,8 @@ const st = new Hi(), pt = (e, t, a) => {
6337
6346
  key: "Id"
6338
6347
  }), o && pt(o.autoload, o, a);
6339
6348
  }), dt(() => {
6340
- o && xt(o, a);
6341
- }), (S, O) => (le(), ge("div", ec, [
6349
+ o && Ut(o, a);
6350
+ }), (S, O) => (le(), ge("div", tc, [
6342
6351
  Be(X(Tr), kt({
6343
6352
  onChange: g,
6344
6353
  class: "w-full mb-[-3px]"
@@ -6362,16 +6371,16 @@ const st = new Hi(), pt = (e, t, a) => {
6362
6371
  ]),
6363
6372
  _: 2
6364
6373
  }, 1032, ["value", "disabled", "class"]);
6365
- }), 128)) : e.nodata ? (le(), ge("div", tc, je(e.nodata), 1)) : ot("", !0)
6374
+ }), 128)) : e.nodata ? (le(), ge("div", ac, je(e.nodata), 1)) : ot("", !0)
6366
6375
  ]),
6367
6376
  _: 1
6368
6377
  }, 16)
6369
6378
  ]));
6370
6379
  }
6371
- }), ac = { class: "min-h-[32px] pt-1" }, nc = {
6380
+ }), nc = { class: "min-h-[32px] pt-1" }, sc = {
6372
6381
  key: 1,
6373
6382
  class: "text-center text-gray-500"
6374
- }, Zc = /* @__PURE__ */ De({
6383
+ }, eu = /* @__PURE__ */ Ce({
6375
6384
  inheritAttrs: !1,
6376
6385
  __name: "index",
6377
6386
  props: {
@@ -6394,8 +6403,8 @@ const st = new Hi(), pt = (e, t, a) => {
6394
6403
  emits: ["change", "update:value", "update:labels"],
6395
6404
  setup(e, { emit: t }) {
6396
6405
  var R, S, O;
6397
- const a = e, n = Zt(), s = ft(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6398
- 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);
6399
6408
  const l = w({
6400
6409
  ...o == null ? void 0 : o.url,
6401
6410
  url: ((R = o == null ? void 0 : o.url) == null ? void 0 : R.url) || "",
@@ -6439,8 +6448,8 @@ const st = new Hi(), pt = (e, t, a) => {
6439
6448
  key: "Id"
6440
6449
  }), o && pt(o.autoload, o, a);
6441
6450
  }), dt(() => {
6442
- o && xt(o, a);
6443
- }), (d, _) => (le(), ge("div", ac, [
6451
+ o && Ut(o, a);
6452
+ }), (d, _) => (le(), ge("div", nc, [
6444
6453
  Be(X(Or), kt({
6445
6454
  value: i.value,
6446
6455
  "onUpdate:value": _[0] || (_[0] = (I) => i.value = I),
@@ -6471,16 +6480,16 @@ const st = new Hi(), pt = (e, t, a) => {
6471
6480
  _: 2
6472
6481
  }, 1032, ["checked", "value", "class"])) : ot("", !0)
6473
6482
  ], 64);
6474
- }), 128)) : e.nodata ? (le(), ge("div", nc, je(e.nodata), 1)) : ot("", !0)
6483
+ }), 128)) : e.nodata ? (le(), ge("div", sc, je(e.nodata), 1)) : ot("", !0)
6475
6484
  ]),
6476
6485
  _: 1
6477
6486
  }, 16, ["value"])
6478
6487
  ]));
6479
6488
  }
6480
- }), sc = {
6489
+ }), rc = {
6481
6490
  key: 0,
6482
6491
  class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
6483
- }, eu = /* @__PURE__ */ De({
6492
+ }, tu = /* @__PURE__ */ Ce({
6484
6493
  inheritAttrs: !1,
6485
6494
  __name: "index",
6486
6495
  props: {
@@ -6516,8 +6525,8 @@ const st = new Hi(), pt = (e, t, a) => {
6516
6525
  emits: ["change", "update:value", "update:label", "update:labels"],
6517
6526
  setup(e, { emit: t }) {
6518
6527
  var _, I, E;
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);
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);
6521
6530
  const m = Zt();
6522
6531
  c.autoload = a.autoload ?? c.autoload;
6523
6532
  const g = w({
@@ -6592,11 +6601,11 @@ const st = new Hi(), pt = (e, t, a) => {
6592
6601
  b.length > 0 ? (O.value = b, d(b)) : pt(c.autoload, c, a);
6593
6602
  }
6594
6603
  }), dt(() => {
6595
- c && xt(c, a);
6604
+ c && Ut(c, a);
6596
6605
  }), (b, L) => {
6597
6606
  var v, C, M;
6598
6607
  return le(), ge("div", null, [
6599
- (C = (v = X(c)) == null ? void 0 : v.url) != null && C.loading ? (le(), ge("div", sc, [
6608
+ (C = (v = X(c)) == null ? void 0 : v.url) != null && C.loading ? (le(), ge("div", rc, [
6600
6609
  Be(X(an), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
6601
6610
  Ir("span", null, je(X(P)("webui.components.form.upload.dataLoading")), 1)
6602
6611
  ])) : ot("", !0),
@@ -6629,13 +6638,13 @@ const st = new Hi(), pt = (e, t, a) => {
6629
6638
  ]);
6630
6639
  };
6631
6640
  }
6632
- }), rc = w(!1), tu = {
6641
+ }), oc = w(!1), au = {
6633
6642
  label: P("webui.utils.tools.templateManagement"),
6634
6643
  key: "uploadTemp",
6635
6644
  type: "primary",
6636
6645
  icon: "icon-download",
6637
6646
  click: () => {
6638
- rc.value = !0;
6647
+ oc.value = !0;
6639
6648
  }
6640
6649
  };
6641
6650
  export {
@@ -6643,86 +6652,86 @@ export {
6643
6652
  pa as A,
6644
6653
  ma as B,
6645
6654
  Mt as C,
6646
- zc as D,
6655
+ Zc as D,
6647
6656
  la as E,
6648
- Zc as F,
6649
- eu as G,
6657
+ eu as F,
6658
+ tu as G,
6650
6659
  En as H,
6651
- xr as I,
6652
- yc as J,
6660
+ Ur as I,
6661
+ Nc as J,
6653
6662
  Hc as K,
6654
6663
  ua as L,
6655
6664
  Nt as M,
6656
- Yi as N,
6665
+ Bi as N,
6657
6666
  en as O,
6658
6667
  Re as P,
6659
- Bi as Q,
6660
- Wc as R,
6661
- Gc as S,
6662
- Ki as T,
6668
+ ji as Q,
6669
+ Gc as R,
6670
+ Kc as S,
6671
+ Yi as T,
6663
6672
  cr as U,
6664
- Kc as V,
6665
- Bc as W,
6666
- zi as X,
6667
- Zi as Y,
6668
- jc as Z,
6669
- Xc as _,
6670
- Sc as a,
6673
+ Yc as V,
6674
+ jc as W,
6675
+ Zi as X,
6676
+ ec as Y,
6677
+ Jc as Z,
6678
+ qc as _,
6679
+ Tc as a,
6671
6680
  fs as a0,
6672
- Jc as a1,
6681
+ Qc as a1,
6673
6682
  sr as a2,
6674
- Dc as a3,
6683
+ Cc as a3,
6675
6684
  rr as a4,
6676
- Tc as a5,
6677
- Ac as a6,
6685
+ Lc as a5,
6686
+ Pc as a6,
6678
6687
  vn as a7,
6679
- Lc as a8,
6680
- Oc as a9,
6681
- Mc as aa,
6682
- $i as ab,
6688
+ Oc as a8,
6689
+ Ac as a9,
6690
+ Uc as aa,
6691
+ Wi as ab,
6683
6692
  lr as ac,
6684
- Uc as ad,
6685
- Nc as ae,
6693
+ Vc as ad,
6694
+ Sc as ae,
6686
6695
  nr as af,
6687
- Di as ag,
6696
+ Ci as ag,
6688
6697
  tn as ah,
6689
6698
  st as ai,
6690
6699
  yt as aj,
6691
6700
  Jt as ak,
6692
6701
  Fe as al,
6693
- Qc as am,
6702
+ Xc as am,
6694
6703
  hn as an,
6695
- rc as ao,
6696
- tu as ap,
6704
+ oc as ao,
6705
+ au as ap,
6697
6706
  me as aq,
6698
- Ec as ar,
6699
- Ic as as,
6700
- bc as at,
6701
- vc as au,
6707
+ vc as ar,
6708
+ yc as as,
6709
+ Ic as at,
6710
+ bc as au,
6702
6711
  ut as av,
6703
- wc as b,
6704
- Yc as c,
6705
- kc as d,
6706
- Pc as e,
6707
- Vc as f,
6708
- Ui as g,
6709
- $c as h,
6712
+ kc as b,
6713
+ Bc as c,
6714
+ Dc as d,
6715
+ Rc as e,
6716
+ $c as f,
6717
+ Vi as g,
6718
+ Wc as h,
6710
6719
  ve as i,
6711
- Fc as j,
6712
- Cc as k,
6720
+ Mc as j,
6721
+ Fc as k,
6713
6722
  or as l,
6714
- Vi as m,
6723
+ $i as m,
6715
6724
  xc as n,
6716
- Rc as o,
6717
- Fi as p,
6718
- Ci as q,
6725
+ wc as o,
6726
+ Mi as p,
6727
+ Fi as q,
6719
6728
  ca as r,
6720
- qc as s,
6729
+ zc as s,
6721
6730
  Ft as t,
6722
6731
  ye as u,
6723
6732
  ft as v,
6724
- Ut as w,
6733
+ xt as w,
6725
6734
  pt as x,
6726
- xt as y,
6735
+ Ut as y,
6727
6736
  an as z
6728
6737
  };