@skyfox2000/webui 1.5.19 → 1.5.21

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.
Files changed (30) hide show
  1. package/lib/assets/modules/{baseLayout-C2eVaICU.js → baseLayout-D1c-i5Jy.js} +3 -3
  2. package/lib/assets/modules/{file-upload-DKfepJc0.js → file-upload-D0PzDzw5.js} +1 -1
  3. package/lib/assets/modules/{index-BfFTvw-P.js → index-2FnjnZKE.js} +2 -2
  4. package/lib/assets/modules/{index-dujtLGLv.js → index-Br13CsSY.js} +2 -2
  5. package/lib/assets/modules/{index-DhEta5S0.js → index-xBhZt3kd.js} +1 -1
  6. package/lib/assets/modules/{menuTabs-DIPunhVY.js → menuTabs-DGBmIq_G.js} +2 -2
  7. package/lib/assets/modules/{toolIcon-EGPOu4oM.js → toolIcon-CQYHaCan.js} +1 -1
  8. package/lib/assets/modules/{upload-template-C03Q2sD8.js → upload-template-DBTaPGiN.js} +192 -188
  9. package/lib/assets/modules/{uploadList-Bekzvpj_.js → uploadList-2nN7g3jv.js} +4 -4
  10. package/lib/components/form/autoComplete/index.vue.d.ts +3 -0
  11. package/lib/components/form/cascader/index.vue.d.ts +5 -1
  12. package/lib/components/form/checkbox/index.vue.d.ts +3 -0
  13. package/lib/components/form/radio/index.vue.d.ts +3 -0
  14. package/lib/components/form/select/index.vue.d.ts +3 -0
  15. package/lib/components/form/switch/index.vue.d.ts +3 -0
  16. package/lib/es/AceEditor/index.js +3 -3
  17. package/lib/es/BasicLayout/index.js +2 -2
  18. package/lib/es/Error403/index.js +1 -1
  19. package/lib/es/Error404/index.js +1 -1
  20. package/lib/es/ExcelForm/index.js +4 -4
  21. package/lib/es/MenuLayout/index.js +2 -2
  22. package/lib/es/TemplateFile/index.js +4 -4
  23. package/lib/es/UploadForm/index.js +4 -4
  24. package/lib/locales/default.d.ts +1 -0
  25. package/lib/typings/option.d.ts +1 -0
  26. package/lib/webui.es.js +13 -13
  27. package/package.json +1 -1
  28. package/src/locales/default.ts +2 -1
  29. package/src/typings/option.d.ts +1 -0
  30. package/src/utils/table.ts +2 -0
@@ -2,7 +2,7 @@ var dr = Object.defineProperty;
2
2
  var mr = (e, t, a) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var ne = (e, t, a) => mr(e, typeof t != "symbol" ? t + "" : t, a);
4
4
  import * as wa from "vue";
5
- import { effectScope as pr, ref as R, shallowRef as ke, computed as et, watch as B, isRef as _r, defineComponent as De, h as ye, Fragment as Ke, inject as at, onMounted as Rt, onUnmounted as ft, createVNode as Ye, Text as gr, nextTick as hr, provide as ka, toRaw as fs, reactive as Er, createBlock as zt, createCommentVNode as rt, openBlock as le, unref as X, mergeProps as wt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as Me, createTextVNode as ta, toDisplayString as Be, renderList as nn, normalizeClass as ds, createElementVNode as vr } from "vue";
5
+ import { effectScope as pr, ref as w, shallowRef as ke, computed as et, watch as B, isRef as _r, defineComponent as De, h as ye, Fragment as Ke, inject as at, onMounted as Rt, onUnmounted as ft, createVNode as Ye, Text as gr, nextTick as hr, provide as ka, toRaw as fs, reactive as Er, createBlock as zt, createCommentVNode as rt, openBlock as le, unref as X, mergeProps as wt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as Me, createTextVNode as ta, toDisplayString as Be, renderList as nn, normalizeClass as ds, createElementVNode as vr } from "vue";
6
6
  import { Switch as br, AutoComplete as yr, Input as Ir, CheckboxGroup as Nr, Checkbox as Sr, RadioGroup as Tr, Radio as Lr, Select as Or, SelectOption as Ar } from "ant-design-vue";
7
7
  import { createPinia as Pr, defineStore as kt } from "pinia";
8
8
  import Rr from "pinia-plugin-persistedstate";
@@ -194,7 +194,7 @@ const qr = /<\/?[\w\s="/.':;#-\/]+>/, zr = (e) => qr.test(e), Se = " ", Zr = "\r
194
194
  function ao(e) {
195
195
  const t = e;
196
196
  let a = 0, n = 1, s = 1, r = 0;
197
- const o = (v) => t[v] === Zr && t[v + 1] === re, l = (v) => t[v] === re, i = (v) => t[v] === to, c = (v) => t[v] === eo, m = (v) => o(v) || l(v) || i(v) || c(v), g = () => a, p = () => n, I = () => s, P = () => r, S = (v) => o(v) || i(v) || c(v) ? re : t[v], O = () => S(a), d = () => S(a + r);
197
+ const o = (v) => t[v] === Zr && t[v + 1] === re, l = (v) => t[v] === re, i = (v) => t[v] === to, c = (v) => t[v] === eo, m = (v) => o(v) || l(v) || i(v) || c(v), g = () => a, p = () => n, I = () => s, R = () => r, S = (v) => o(v) || i(v) || c(v) ? re : t[v], O = () => S(a), d = () => S(a + r);
198
198
  function _() {
199
199
  return r = 0, m(a) && (n++, s = 0), o(a) && a++, a++, s++, t[a];
200
200
  }
@@ -217,7 +217,7 @@ function ao(e) {
217
217
  index: g,
218
218
  line: p,
219
219
  column: I,
220
- peekOffset: P,
220
+ peekOffset: R,
221
221
  charAt: S,
222
222
  currentChar: O,
223
223
  currentPeek: d,
@@ -263,7 +263,7 @@ function ro(e, t = {}) {
263
263
  13
264
264
  /* TokenTypes.EOF */
265
265
  );
266
- function P(u, f) {
266
+ function R(u, f) {
267
267
  return u.currentChar() === f ? (u.next(), f) : (g(D.EXPECTED_TOKEN, r(), 0, f), "");
268
268
  }
269
269
  function S(u) {
@@ -449,12 +449,12 @@ function ro(e, t = {}) {
449
449
  return u !== wn && u !== re;
450
450
  }
451
451
  function In(u) {
452
- O(u), P(u, "'");
452
+ O(u), R(u, "'");
453
453
  let f = "", N = "";
454
454
  for (; f = Q(u, Ta); )
455
455
  f === "\\" ? N += La(u) : N += f;
456
456
  const k = u.currentChar();
457
- return k === re || k === Pe ? (g(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), k === re && (u.next(), P(u, "'")), N) : (P(u, "'"), N);
457
+ return k === re || k === Pe ? (g(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), k === re && (u.next(), R(u, "'")), N) : (R(u, "'"), N);
458
458
  }
459
459
  function La(u) {
460
460
  const f = u.currentChar();
@@ -471,7 +471,7 @@ function ro(e, t = {}) {
471
471
  }
472
472
  }
473
473
  function xt(u, f, N) {
474
- P(u, f);
474
+ R(u, f);
475
475
  let k = "";
476
476
  for (let j = 0; j < N; j++) {
477
477
  const q = Ae(u);
@@ -508,7 +508,7 @@ function ro(e, t = {}) {
508
508
  }
509
509
  function _t(u) {
510
510
  O(u);
511
- const f = P(
511
+ const f = R(
512
512
  u,
513
513
  "|"
514
514
  /* TokenChars.Pipe */
@@ -753,7 +753,7 @@ function co(e = {}) {
753
753
  const v = _.currentType === 1 ? _.lastOffset : d.currentOffset(), C = _.currentType === 1 ? _.lastEndLoc : d.currentPosition();
754
754
  return r(b, v, C), b;
755
755
  }
756
- function P(d, _, y, E) {
756
+ function R(d, _, y, E) {
757
757
  const b = d.context();
758
758
  let L = E.items.length === 0;
759
759
  const v = s(1, _, y);
@@ -766,7 +766,7 @@ function co(e = {}) {
766
766
  }
767
767
  function S(d) {
768
768
  const _ = d.context(), { offset: y, startLoc: E } = _, b = I(d);
769
- return _.currentType === 13 ? b : P(d, y, E, b);
769
+ return _.currentType === 13 ? b : R(d, y, E, b);
770
770
  }
771
771
  function O(d) {
772
772
  const _ = ro(d, te({}, e)), y = _.context(), E = s(0, y.offset, y.startLoc);
@@ -1601,9 +1601,9 @@ function Xo(e) {
1601
1601
  }
1602
1602
  };
1603
1603
  function I() {
1604
- const P = e[a + 1];
1605
- if (n === 5 && P === "'" || n === 6 && P === '"')
1606
- return a++, l = "\\" + P, p[
1604
+ const R = e[a + 1];
1605
+ if (n === 5 && R === "'" || n === 6 && R === '"')
1606
+ return a++, l = "\\" + R, p[
1607
1607
  0
1608
1608
  /* Actions.APPEND */
1609
1609
  ](), !0;
@@ -1689,7 +1689,7 @@ const Vn = (e) => {
1689
1689
  }, il = () => As;
1690
1690
  let $n = 0;
1691
1691
  function cl(e = {}) {
1692
- const t = G(e.onWarn) ? e.onWarn : Le, a = A(e.version) ? e.version : tl, n = A(e.locale) || G(e.locale) ? e.locale : Tt, s = G(n) ? Tt : n, r = J(e.fallbackLocale) || F(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = F(e.messages) ? e.messages : Ma(s), l = F(e.datetimeFormats) ? e.datetimeFormats : Ma(s), i = F(e.numberFormats) ? e.numberFormats : Ma(s), c = te(W(), e.modifiers, al()), m = e.pluralRules || W(), g = G(e.missing) ? e.missing : null, p = x(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, I = x(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, P = !!e.fallbackFormat, S = !!e.unresolving, O = G(e.postTranslation) ? e.postTranslation : null, d = F(e.processor) ? e.processor : null, _ = x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, E = G(e.messageCompiler) ? e.messageCompiler : Ss;
1692
+ const t = G(e.onWarn) ? e.onWarn : Le, a = A(e.version) ? e.version : tl, n = A(e.locale) || G(e.locale) ? e.locale : Tt, s = G(n) ? Tt : n, r = J(e.fallbackLocale) || F(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = F(e.messages) ? e.messages : Ma(s), l = F(e.datetimeFormats) ? e.datetimeFormats : Ma(s), i = F(e.numberFormats) ? e.numberFormats : Ma(s), c = te(W(), e.modifiers, al()), m = e.pluralRules || W(), g = G(e.missing) ? e.missing : null, p = x(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, I = x(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, 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, y = !!e.escapeParameter, E = G(e.messageCompiler) ? e.messageCompiler : Ss;
1693
1693
  process.env.NODE_ENV !== "production" && G(e.messageCompiler) && sn(Je(ce.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1694
1694
  const b = G(e.messageResolver) ? e.messageResolver : Ts || qo, L = G(e.localeFallbacker) ? e.localeFallbacker : Ls || Wo, v = U(e.fallbackContext) ? e.fallbackContext : void 0, C = e, M = U(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), K = U(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), Ee = U(C.__meta) ? C.__meta : {};
1695
1695
  $n++;
@@ -1704,7 +1704,7 @@ function cl(e = {}) {
1704
1704
  missing: g,
1705
1705
  missingWarn: p,
1706
1706
  fallbackWarn: I,
1707
- fallbackFormat: P,
1707
+ fallbackFormat: R,
1708
1708
  unresolving: S,
1709
1709
  postTranslation: O,
1710
1710
  processor: d,
@@ -1767,7 +1767,7 @@ function Wn(e, ...t) {
1767
1767
  const { datetimeFormats: a, unresolving: n, fallbackLocale: s, onWarn: r, localeFallbacker: o } = e, { __datetimeFormatters: l } = e;
1768
1768
  if (process.env.NODE_ENV !== "production" && !ws.dateTimeFormat)
1769
1769
  return r(Je(ce.CANNOT_FORMAT_DATE)), Xt;
1770
- const [i, c, m, g] = Wa(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, I = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, P = !!m.part, S = fn(e, m), O = o(
1770
+ const [i, c, m, g] = Wa(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, I = 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,
@@ -1800,7 +1800,7 @@ function Wn(e, ...t) {
1800
1800
  let v = `${_}__${i}`;
1801
1801
  sa(g) || (v = `${v}__${JSON.stringify(g)}`);
1802
1802
  let C = l.get(v);
1803
- return C || (C = new Intl.DateTimeFormat(_, te({}, y, g)), l.set(v, C)), P ? C.formatToParts(c) : C.format(c);
1803
+ return C || (C = new Intl.DateTimeFormat(_, te({}, y, g)), l.set(v, C)), R ? C.formatToParts(c) : C.format(c);
1804
1804
  }
1805
1805
  const ks = [
1806
1806
  "localeMatcher",
@@ -1861,7 +1861,7 @@ function Kn(e, ...t) {
1861
1861
  const { numberFormats: a, unresolving: n, fallbackLocale: s, onWarn: r, localeFallbacker: o } = e, { __numberFormatters: l } = e;
1862
1862
  if (process.env.NODE_ENV !== "production" && !ws.numberFormat)
1863
1863
  return r(Je(ce.CANNOT_FORMAT_NUMBER)), Xt;
1864
- const [i, c, m, g] = Ga(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, I = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, P = !!m.part, S = fn(e, m), O = o(
1864
+ const [i, c, m, g] = Ga(...t), p = x(m.missingWarn) ? m.missingWarn : e.missingWarn, I = 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,
@@ -1894,7 +1894,7 @@ function Kn(e, ...t) {
1894
1894
  let v = `${_}__${i}`;
1895
1895
  sa(g) || (v = `${v}__${JSON.stringify(g)}`);
1896
1896
  let C = l.get(v);
1897
- return C || (C = new Intl.NumberFormat(_, te({}, y, g)), l.set(v, C)), P ? C.formatToParts(c) : C.format(c);
1897
+ return C || (C = new Intl.NumberFormat(_, te({}, y, g)), l.set(v, C)), R ? C.formatToParts(c) : C.format(c);
1898
1898
  }
1899
1899
  const Ds = [
1900
1900
  "localeMatcher",
@@ -1954,7 +1954,7 @@ function El(e = {}) {
1954
1954
  const y = G(e.messages) ? e.messages(d, !!_) : U(e.messages) ? e.messages[d] : !1;
1955
1955
  return y || (e.parent ? e.parent.message(d) : dl);
1956
1956
  }
1957
- const g = (d) => e.modifiers ? e.modifiers[d] : fl, p = F(e.processor) && G(e.processor.normalize) ? e.processor.normalize : pl, I = F(e.processor) && G(e.processor.interpolate) ? e.processor.interpolate : _l, P = F(e.processor) && A(e.processor.type) ? e.processor.type : ml, O = {
1957
+ const g = (d) => e.modifiers ? e.modifiers[d] : fl, p = F(e.processor) && G(e.processor.normalize) ? e.processor.normalize : pl, I = F(e.processor) && G(e.processor.interpolate) ? e.processor.interpolate : _l, R = F(e.processor) && A(e.processor.type) ? e.processor.type : ml, O = {
1958
1958
  list: l,
1959
1959
  named: c,
1960
1960
  plural: r,
@@ -1969,7 +1969,7 @@ function El(e = {}) {
1969
1969
  return L ? g(L)(C, b) : C;
1970
1970
  },
1971
1971
  message: m,
1972
- type: P,
1972
+ type: R,
1973
1973
  interpolate: I,
1974
1974
  normalize: p,
1975
1975
  values: te(W(), o, i)
@@ -1978,14 +1978,14 @@ function El(e = {}) {
1978
1978
  }
1979
1979
  const jn = () => "", pe = (e) => G(e);
1980
1980
  function Jn(e, ...t) {
1981
- const { fallbackFormat: a, postTranslation: n, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [i, c] = Ka(...t), m = x(c.missingWarn) ? c.missingWarn : e.missingWarn, g = x(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, p = x(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, I = !!c.resolvedMessage, P = A(c.default) || x(c.default) ? x(c.default) ? r ? i : () => i : c.default : a ? r ? i : () => i : null, S = a || P != null && (A(P) || G(P)), O = fn(e, c);
1981
+ const { fallbackFormat: a, postTranslation: n, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [i, c] = Ka(...t), m = x(c.missingWarn) ? c.missingWarn : e.missingWarn, g = x(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, p = x(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, I = !!c.resolvedMessage, 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 && vl(c);
1983
1983
  let [d, _, y] = I ? [
1984
1984
  i,
1985
1985
  O,
1986
1986
  l[O] || W()
1987
1987
  ] : Cs(e, i, O, o, g, m), E = d, b = i;
1988
- if (!I && !(A(E) || he(E) || pe(E)) && S && (E = P, b = E), !I && (!(A(E) || he(E) || pe(E)) || !A(_)))
1988
+ if (!I && !(A(E) || he(E) || pe(E)) && S && (E = R, b = E), !I && (!(A(E) || he(E) || pe(E)) || !A(_)))
1989
1989
  return s ? ra : i;
1990
1990
  if (process.env.NODE_ENV !== "production" && A(E) && e.messageCompiler == null)
1991
1991
  return Le(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`), i;
@@ -2016,7 +2016,7 @@ function vl(e) {
2016
2016
  }
2017
2017
  function Cs(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, I = null, P = a, S = null;
2019
+ let g = W(), p, I = 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 && !Rs(a, p) && oa(s, t) && l(Je(ce.FALLBACK_TO_TRANSLATE, {
@@ -2027,7 +2027,7 @@ function Cs(e, t, a, n, s, r) {
2027
2027
  b && b.emit("fallback", {
2028
2028
  type: O,
2029
2029
  key: t,
2030
- from: P,
2030
+ from: R,
2031
2031
  to: S,
2032
2032
  groupId: `${O}:${t}`
2033
2033
  });
@@ -2057,7 +2057,7 @@ function Cs(e, t, a, n, s, r) {
2057
2057
  );
2058
2058
  b !== t && (I = b);
2059
2059
  }
2060
- P = S;
2060
+ R = S;
2061
2061
  }
2062
2062
  return [I, p, g];
2063
2063
  }
@@ -2140,9 +2140,9 @@ function Nl(e, t, a, n) {
2140
2140
  locale: t,
2141
2141
  modifiers: s,
2142
2142
  pluralRules: r,
2143
- messages: (I, P) => {
2143
+ messages: (I, R) => {
2144
2144
  let S = o(a, I);
2145
- if (S == null && (m || P)) {
2145
+ if (S == null && (m || R)) {
2146
2146
  const [, , O] = Cs(
2147
2147
  m || e,
2148
2148
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
@@ -2422,7 +2422,7 @@ const Ul = /* @__NO_SIDE_EFFECTS__ */ () => {
2422
2422
  return e && (t = Vs(e)[Xn]) ? { [Xn]: 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 ? R : ke;
2425
+ const { __root: t, __injectWithOption: a } = e, n = t === void 0, s = e.flatJson, r = Ne ? w : ke;
2426
2426
  let o = x(e.inheritLocale) ? e.inheritLocale : !0;
2427
2427
  const l = r(
2428
2428
  // prettier-ignore
@@ -2431,7 +2431,7 @@ function pn(e = {}) {
2431
2431
  // prettier-ignore
2432
2432
  t && o ? t.fallbackLocale.value : A(e.fallbackLocale) || J(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
2433
2433
  ), c = r(mn(l.value, e)), m = r(F(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), g = r(F(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
2434
- let p = t ? t.missingWarn : x(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, I = t ? t.fallbackWarn : x(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, P = t ? t.fallbackRoot : x(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, O = G(e.missing) ? e.missing : null, d = G(e.missing) ? Zn(e.missing) : null, _ = G(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, E = !!e.escapeParameter;
2434
+ let p = t ? t.missingWarn : x(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, I = t ? t.fallbackWarn : x(e.fallbackWarn) || ot(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) ? Zn(e.missing) : null, _ = G(e.postTranslation) ? e.postTranslation : null, y = 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 = (() => {
@@ -2505,19 +2505,19 @@ function pn(e = {}) {
2505
2505
  if (H !== "translate exists" && // for not `te` (e.g `t`)
2506
2506
  ee(ze) && ze === ra || H === "translate exists" && !ze) {
2507
2507
  const [He, fr] = T();
2508
- if (process.env.NODE_ENV !== "production" && t && A(He) && ya(H, fr) && (P && (oa(I, He) || Ps(p, He)) && Le(it(_e.FALLBACK_TO_ROOT, {
2508
+ if (process.env.NODE_ENV !== "production" && t && A(He) && ya(H, fr) && (R && (oa(I, He) || Ps(p, He)) && Le(it(_e.FALLBACK_TO_ROOT, {
2509
2509
  key: He,
2510
2510
  type: H
2511
2511
  })), process.env.NODE_ENV !== "production")) {
2512
2512
  const { __v_emitter: Nn } = v;
2513
- Nn && P && Nn.emit("fallback", {
2513
+ Nn && R && Nn.emit("fallback", {
2514
2514
  type: H,
2515
2515
  key: He,
2516
2516
  to: "global",
2517
2517
  groupId: `${H}:${He}`
2518
2518
  });
2519
2519
  }
2520
- return t && P ? z(t) : $e(He);
2520
+ return t && R ? z(t) : $e(He);
2521
2521
  } else {
2522
2522
  if ($t(ze))
2523
2523
  return ze;
@@ -2671,10 +2671,10 @@ function pn(e = {}) {
2671
2671
  I = h, v.fallbackWarn = I;
2672
2672
  },
2673
2673
  get fallbackRoot() {
2674
- return P;
2674
+ return R;
2675
2675
  },
2676
2676
  set fallbackRoot(h) {
2677
- P = h;
2677
+ R = h;
2678
2678
  },
2679
2679
  get fallbackFormat() {
2680
2680
  return S;
@@ -2972,19 +2972,19 @@ function Xl(e, t) {
2972
2972
  }
2973
2973
  function ql(e) {
2974
2974
  const t = A(e.locale) ? e.locale : Tt, a = A(e.fallbackLocale) || J(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, n = G(e.missing) ? e.missing : void 0, s = x(e.silentTranslationWarn) || ot(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = x(e.silentFallbackWarn) || ot(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = x(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = F(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, m = G(e.postTranslation) ? e.postTranslation : void 0, g = A(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, p = !!e.escapeParameterHtml, I = x(e.sync) ? e.sync : !0;
2975
- let P = e.messages;
2975
+ let R = e.messages;
2976
2976
  if (F(e.sharedMessages)) {
2977
2977
  const b = e.sharedMessages;
2978
- P = Object.keys(b).reduce((v, C) => {
2978
+ R = Object.keys(b).reduce((v, C) => {
2979
2979
  const M = v[C] || (v[C] = {});
2980
2980
  return te(M, b[C]), v;
2981
- }, P || {});
2981
+ }, R || {});
2982
2982
  }
2983
2983
  const { __i18n: S, __root: O, __injectWithOption: d } = e, _ = e.datetimeFormats, y = e.numberFormats, E = e.flatJson;
2984
2984
  return {
2985
2985
  locale: t,
2986
2986
  fallbackLocale: a,
2987
- messages: P,
2987
+ messages: R,
2988
2988
  flatJson: E,
2989
2989
  datetimeFormats: _,
2990
2990
  numberFormats: y,
@@ -3306,7 +3306,7 @@ function Ys(e, t, a, n) {
3306
3306
  const i = n(e.value, o, l);
3307
3307
  let c = [o.key];
3308
3308
  J(i) ? c = i.map((p, I) => {
3309
- const P = s[p.type], S = P ? P({ [p.type]: p.value, index: I, parts: i }) : [p.value];
3309
+ const R = s[p.type], S = R ? R({ [p.type]: p.value, index: I, parts: i }) : [p.value];
3310
3310
  return ti(S) && (S[0].key = `${p.type}-${I}`), S;
3311
3311
  }) : A(i) && (c = [i]);
3312
3312
  const m = te(W(), r), g = A(e.tag) || U(e.tag) ? e.tag : Ks();
@@ -3428,9 +3428,9 @@ function li(e = {}) {
3428
3428
  }
3429
3429
  let I = null;
3430
3430
  !t && a && (I = gi(g, m.global)), __VUE_I18N_FULL_INSTALL__ && ri(g, m, ...p), __VUE_I18N_LEGACY_API__ && t && g.mixin(zl(r, r.__composer, m));
3431
- const P = g.unmount;
3431
+ const R = g.unmount;
3432
3432
  if (g.unmount = () => {
3433
- I && I(), m.dispose(), P();
3433
+ I && I(), m.dispose(), R();
3434
3434
  }, process.env.NODE_ENV !== "production") {
3435
3435
  if (!await $l(g, m))
3436
3436
  throw ue(Y.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
@@ -3648,7 +3648,8 @@ const Ei = {
3648
3648
  reset: "重置",
3649
3649
  more: "更多",
3650
3650
  moreActions: "更多操作",
3651
- uploadSave: "上传保存"
3651
+ uploadSave: "上传保存",
3652
+ dataLoading: "数据加载中..."
3652
3653
  },
3653
3654
  // 组件相关
3654
3655
  components: {
@@ -4088,7 +4089,7 @@ function bc() {
4088
4089
  key: e
4089
4090
  }));
4090
4091
  }
4091
- function w(e, t) {
4092
+ function P(e, t) {
4092
4093
  try {
4093
4094
  const a = me.global.t(e, t);
4094
4095
  if (a === e) {
@@ -4145,46 +4146,46 @@ ne($, "setOptions", (t, a) => {
4145
4146
  ne($, "initOptions", () => {
4146
4147
  $.initialized || ($.EnableDisable = [
4147
4148
  {
4148
- label: w("webui.common.enable"),
4149
- text: `✅ ${w("webui.common.enable")}`,
4149
+ label: P("webui.common.enable"),
4150
+ text: `✅ ${P("webui.common.enable")}`,
4150
4151
  value: 1
4151
4152
  },
4152
4153
  {
4153
- label: w("webui.common.disable"),
4154
- text: `🚫 ${w("webui.common.disable")}`,
4154
+ label: P("webui.common.disable"),
4155
+ text: `🚫 ${P("webui.common.disable")}`,
4155
4156
  value: 0
4156
4157
  }
4157
4158
  ], $.SuccessResult = [
4158
4159
  {
4159
- label: w("webui.common.success"),
4160
- text: `✅ ${w("webui.common.success")}`,
4160
+ label: P("webui.common.success"),
4161
+ text: `✅ ${P("webui.common.success")}`,
4161
4162
  value: 1
4162
4163
  },
4163
4164
  {
4164
- label: w("webui.common.failed"),
4165
- text: `🚫 ${w("webui.common.failed")}`,
4165
+ label: P("webui.common.failed"),
4166
+ text: `🚫 ${P("webui.common.failed")}`,
4166
4167
  value: 0
4167
4168
  }
4168
4169
  ], $.YesNo = [
4169
4170
  {
4170
- label: w("webui.common.yes"),
4171
- text: `✅ ${w("webui.common.yes")}`,
4171
+ label: P("webui.common.yes"),
4172
+ text: `✅ ${P("webui.common.yes")}`,
4172
4173
  value: 1
4173
4174
  },
4174
4175
  {
4175
- label: w("webui.common.no"),
4176
- text: `❎ ${w("webui.common.no")}`,
4176
+ label: P("webui.common.no"),
4177
+ text: `❎ ${P("webui.common.no")}`,
4177
4178
  value: 0
4178
4179
  }
4179
4180
  ], $.MaleFemale = [
4180
4181
  {
4181
- label: w("webui.common.male"),
4182
- text: `${w("webui.common.male")} 👨`,
4182
+ label: P("webui.common.male"),
4183
+ text: `${P("webui.common.male")} 👨`,
4183
4184
  value: "M"
4184
4185
  },
4185
4186
  {
4186
- label: w("webui.common.female"),
4187
- text: `${w("webui.common.female")} 👩`,
4187
+ label: P("webui.common.female"),
4188
+ text: `${P("webui.common.female")} 👩`,
4188
4189
  value: "F"
4189
4190
  }
4190
4191
  ], $.setOptions("EnableDisable", $.EnableDisable), $.setOptions("SuccessResult", $.SuccessResult), $.setOptions("YesNo", $.YesNo), $.setOptions("MaleFemale", $.MaleFemale), $.initialized = !0);
@@ -4240,7 +4241,7 @@ const ia = {
4240
4241
  }
4241
4242
  };
4242
4243
  function yc() {
4243
- Xs = w("webui.stores.userInfo.tokenParseFailed"), ia.logout.loadingText = w("webui.stores.userInfo.exiting"), qs.host.loadingText = w("webui.stores.hostInfo.loading");
4244
+ Xs = P("webui.stores.userInfo.tokenParseFailed"), ia.logout.loadingText = P("webui.stores.userInfo.exiting"), qs.host.loadingText = P("webui.stores.hostInfo.loading");
4244
4245
  }
4245
4246
  const Ct = {
4246
4247
  /**
@@ -4248,7 +4249,8 @@ const Ct = {
4248
4249
  */
4249
4250
  autoload: {
4250
4251
  type: Boolean,
4251
- required: !1
4252
+ required: !1,
4253
+ default: void 0
4252
4254
  },
4253
4255
  /**
4254
4256
  * 选项数据接口
@@ -4344,7 +4346,7 @@ const Ct = {
4344
4346
  }
4345
4347
  }
4346
4348
  return !1;
4347
- }, yt = R(null);
4349
+ }, yt = w(null);
4348
4350
  ca.beforeEach((e, t, a) => {
4349
4351
  var l;
4350
4352
  const n = e;
@@ -4462,13 +4464,13 @@ class ae {
4462
4464
  */
4463
4465
  static async callMainAppMethod(t, a) {
4464
4466
  if (!this.isInMicroApp())
4465
- throw new Error(w("webui.utils.microOpenapis.interfaceNotConfigured", { method: t }));
4467
+ throw new Error(P("webui.utils.microOpenapis.interfaceNotConfigured", { method: t }));
4466
4468
  const n = `${t}_${JSON.stringify(a)}`;
4467
4469
  if (this.pendingRequests.has(n))
4468
4470
  return this.pendingRequests.get(n);
4469
4471
  const s = ++this.messageId, r = new Promise((l, i) => {
4470
4472
  this.callbacks.set(s, { resolve: l, reject: i }), setTimeout(() => {
4471
- this.callbacks.has(s) && (this.callbacks.delete(s), this.pendingRequests.delete(n), i(new Error(w("webui.utils.microOpenapis.apiCallTimeout", { method: t }))));
4473
+ this.callbacks.has(s) && (this.callbacks.delete(s), this.pendingRequests.delete(n), i(new Error(P("webui.utils.microOpenapis.apiCallTimeout", { method: t }))));
4472
4474
  }, 1e4);
4473
4475
  });
4474
4476
  this.pendingRequests.set(n, r);
@@ -4493,7 +4495,7 @@ class ae {
4493
4495
  static handleResponseData(t) {
4494
4496
  if (t && t.type === "API_RESPONSE" && typeof t.id == "number") {
4495
4497
  const { id: a, success: n, result: s, error: r } = t, o = this.callbacks.get(a);
4496
- o && (this.callbacks.delete(a), n ? o.resolve(s) : o.reject(new Error(r || w("webui.utils.formCsv.unknownError"))));
4498
+ o && (this.callbacks.delete(a), n ? o.resolve(s) : o.reject(new Error(r || P("webui.utils.formCsv.unknownError"))));
4497
4499
  }
4498
4500
  }
4499
4501
  /**
@@ -4634,7 +4636,7 @@ const It = {
4634
4636
  },
4635
4637
  async toDefaultApp(e) {
4636
4638
  if (this.appList.length === 0 && await this.loadAppList(), this.appList.length === 0) {
4637
- se.error(w("webui.stores.appInfo.loadAppListFailed"));
4639
+ se.error(P("webui.stores.appInfo.loadAppListFailed"));
4638
4640
  return;
4639
4641
  }
4640
4642
  let t = "";
@@ -4802,7 +4804,7 @@ const It = {
4802
4804
  Ie().logout(!1);
4803
4805
  return;
4804
4806
  }
4805
- return se.error(w("webui.stores.userInfo.authInfoFailed") + "," + (a == null ? void 0 : a.msg)), null;
4807
+ return se.error(P("webui.stores.userInfo.authInfoFailed") + "," + (a == null ? void 0 : a.msg)), null;
4806
4808
  });
4807
4809
  }, Ri = () => {
4808
4810
  let e = {
@@ -4817,7 +4819,7 @@ const It = {
4817
4819
  } catch (t) {
4818
4820
  return console.error(Xs, t), !1;
4819
4821
  }
4820
- }, de = R(""), vt = R(null), Ie = kt("userInfo", {
4822
+ }, de = w(""), vt = w(null), Ie = kt("userInfo", {
4821
4823
  state: () => ({
4822
4824
  isLogin: !1,
4823
4825
  userInfo: {
@@ -4856,7 +4858,7 @@ const It = {
4856
4858
  ...s.UserInfo
4857
4859
  }, de.value = s.UserInfo.UserLevel;
4858
4860
  else {
4859
- se.error(w("webui.stores.userInfo.userInfoParseFailed"));
4861
+ se.error(P("webui.stores.userInfo.userInfoParseFailed"));
4860
4862
  return;
4861
4863
  }
4862
4864
  t && Fe().toDefaultApp();
@@ -4974,7 +4976,7 @@ const It = {
4974
4976
  console.error("调用登出接口失败", t);
4975
4977
  } finally {
4976
4978
  await this.clean(), e && setTimeout(async () => {
4977
- se.success(w("webui.stores.userInfo.logoutSuccess"));
4979
+ se.success(P("webui.stores.userInfo.logoutSuccess"));
4978
4980
  }, 1e3), setTimeout(async () => {
4979
4981
  Fe().logout();
4980
4982
  }, 2e3);
@@ -5004,7 +5006,7 @@ const It = {
5004
5006
  }, da = (e, t) => {
5005
5007
  const a = e.page, n = t.url;
5006
5008
  if (!n || !n.url) {
5007
- const r = w("webui.utils.data.urlNotSet", { urlKey: t.urlKey });
5009
+ const r = P("webui.utils.data.urlNotSet", { urlKey: t.urlKey });
5008
5010
  return console.warn(r), Promise.reject(new Error(r));
5009
5011
  }
5010
5012
  n.api || (n.api = a.api), n.authorize === void 0 && (n.authorize = a.authorize);
@@ -5017,30 +5019,30 @@ const It = {
5017
5019
  t.params || (t.params = {}), t.params.Query || (t.params.Query = {});
5018
5020
  const a = fa(e, t);
5019
5021
  return t.url = a, da(e, t);
5020
- }, Ic = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || w("webui.utils.data.startExecute"), t.url = fa(e, t), da(e, t).then((a) => ((a == null ? void 0 : a.status) === ie.SUCCESS && (t.hideErrorToast || se.success(w("webui.utils.data.executeSuccess"))), a))), tr = (e, t = {}) => {
5022
+ }, Ic = (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))), tr = (e, t = {}) => {
5021
5023
  const a = t.primaryKey || "Id";
5022
5024
  if (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), !t.params.Data)
5023
- return se.error(w("webui.utils.data.noSaveData")), Promise.resolve(null);
5025
+ return se.error(P("webui.utils.data.noSaveData")), Promise.resolve(null);
5024
5026
  const n = {
5025
5027
  ...t,
5026
5028
  urlKey: t.urlKey || "save",
5027
- loadingText: t.loadingText === !1 ? !1 : t.loadingText || w("webui.utils.data.savingData")
5029
+ loadingText: t.loadingText === !1 ? !1 : t.loadingText || P("webui.utils.data.savingData")
5028
5030
  };
5029
5031
  n.params.Query[a] = n.params.Data[a];
5030
5032
  const s = fa(e, n);
5031
- return n.url = s, da(e, n).then((r) => ((r == null ? void 0 : r.status) === ie.SUCCESS && (t.hideErrorToast || se.success(w("webui.utils.data.saveSuccess"))), r));
5033
+ 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));
5032
5034
  }, ki = (e, t, a = {}) => {
5033
5035
  const n = a.primaryKey || "Id";
5034
5036
  a.params || (a.params = {}), a.params.Query || (a.params.Query = {});
5035
5037
  const s = {
5036
5038
  ...a,
5037
5039
  urlKey: "delete",
5038
- loadingText: a.loadingText === !1 ? !1 : a.loadingText || w("webui.utils.data.deletingData")
5040
+ loadingText: a.loadingText === !1 ? !1 : a.loadingText || P("webui.utils.data.deletingData")
5039
5041
  };
5040
5042
  if (Array.isArray(t) ? s.params.Query[n] = t : s.params.Query[n] = t[n], ve(s.params.Query) || ve(s.params.Query[n]))
5041
- return se.error(w("webui.utils.data.forbidDeleteWithoutCondition")), Promise.resolve(null);
5043
+ return se.error(P("webui.utils.data.forbidDeleteWithoutCondition")), Promise.resolve(null);
5042
5044
  const r = fa(e, s);
5043
- return s.url = r, da(e, s).then((o) => ((o == null ? void 0 : o.status) === ie.SUCCESS && (a.hideErrorToast || se.success(w("webui.utils.data.deleteSuccess"))), o));
5045
+ 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));
5044
5046
  }, Di = (e, t) => En(e, {
5045
5047
  urlKey: "tree",
5046
5048
  params: {},
@@ -5102,28 +5104,28 @@ const It = {
5102
5104
  let ct;
5103
5105
  const Sc = (e) => {
5104
5106
  ct = new aa({}), ct.messages({
5105
- required: "${label}" + w("webui.utils.formValidate.required"),
5107
+ required: "${label}" + P("webui.utils.formValidate.required"),
5106
5108
  types: {
5107
- number: "${label}" + w("webui.utils.formValidate.numberType")
5109
+ number: "${label}" + P("webui.utils.formValidate.numberType")
5108
5110
  },
5109
- enum: "${label}" + w("webui.utils.formValidate.enum"),
5111
+ enum: "${label}" + P("webui.utils.formValidate.enum"),
5110
5112
  string: {
5111
- len: "${label}" + w("webui.utils.formValidate.stringLen"),
5112
- min: "${label}" + w("webui.utils.formValidate.stringMin"),
5113
- max: "${label}" + w("webui.utils.formValidate.stringMax"),
5114
- range: "${label}" + w("webui.utils.formValidate.stringRange")
5113
+ len: "${label}" + P("webui.utils.formValidate.stringLen"),
5114
+ min: "${label}" + P("webui.utils.formValidate.stringMin"),
5115
+ max: "${label}" + P("webui.utils.formValidate.stringMax"),
5116
+ range: "${label}" + P("webui.utils.formValidate.stringRange")
5115
5117
  },
5116
5118
  number: {
5117
- len: "${label}" + w("webui.utils.formValidate.numberLen"),
5118
- min: "${label}" + w("webui.utils.formValidate.numberMin"),
5119
- max: "${label}" + w("webui.utils.formValidate.numberMax"),
5120
- range: "${label}" + w("webui.utils.formValidate.numberRange")
5119
+ len: "${label}" + P("webui.utils.formValidate.numberLen"),
5120
+ min: "${label}" + P("webui.utils.formValidate.numberMin"),
5121
+ max: "${label}" + P("webui.utils.formValidate.numberMax"),
5122
+ range: "${label}" + P("webui.utils.formValidate.numberRange")
5121
5123
  },
5122
5124
  array: {
5123
- len: "${label}" + w("webui.utils.formValidate.arrayLen"),
5124
- min: "${label}" + w("webui.utils.formValidate.arrayMin"),
5125
- max: "${label}" + w("webui.utils.formValidate.arrayMax"),
5126
- range: "${label}" + w("webui.utils.formValidate.arrayRange")
5125
+ len: "${label}" + P("webui.utils.formValidate.arrayLen"),
5126
+ min: "${label}" + P("webui.utils.formValidate.arrayMin"),
5127
+ max: "${label}" + P("webui.utils.formValidate.arrayMax"),
5128
+ range: "${label}" + P("webui.utils.formValidate.arrayRange")
5127
5129
  },
5128
5130
  ...e
5129
5131
  });
@@ -5163,7 +5165,7 @@ const Sc = (e) => {
5163
5165
  c = c.replace(/\$\{label\}/g, ""), c && i.push(c);
5164
5166
  }
5165
5167
  } catch (c) {
5166
- console.error(w("webui.utils.formValidate.formatValidationError") + ":", c);
5168
+ console.error(P("webui.utils.formValidate.formatValidationError") + ":", c);
5167
5169
  }
5168
5170
  };
5169
5171
  return Object.keys(e).forEach((r) => {
@@ -5173,7 +5175,7 @@ const Sc = (e) => {
5173
5175
  c && typeof c == "object" && n(r, c, l);
5174
5176
  }), o && typeof o == "object" && "fields" in o;
5175
5177
  } catch (c) {
5176
- console.error(w("webui.utils.formValidate.processValidationError") + ":", c);
5178
+ console.error(P("webui.utils.formValidate.processValidationError") + ":", c);
5177
5179
  }
5178
5180
  const i = Array.from(new Set(l));
5179
5181
  r && i.length > 0 && t.push({
@@ -5192,7 +5194,7 @@ const Sc = (e) => {
5192
5194
  }).catch(({ fields: n }) => n)), vn = (e) => {
5193
5195
  e.ruleResults.value = void 0;
5194
5196
  }, ut = () => {
5195
- const e = at(Re.EditorControl, void 0), t = R(at(Re.LabelText, "")), a = R(at(Re.RuleKey, "")), n = at(Re.ErrInfo, void 0);
5197
+ const e = at(Re.EditorControl, void 0), t = w(at(Re.LabelText, "")), a = w(at(Re.RuleKey, "")), n = at(Re.ErrInfo, void 0);
5196
5198
  return {
5197
5199
  editorCtrl: e,
5198
5200
  labelText: t,
@@ -5200,7 +5202,7 @@ const Sc = (e) => {
5200
5202
  errInfo: n
5201
5203
  };
5202
5204
  }, Fi = (e, t) => {
5203
- let a = R({
5205
+ let a = w({
5204
5206
  msg: "",
5205
5207
  errClass: ""
5206
5208
  });
@@ -5225,7 +5227,7 @@ const Sc = (e) => {
5225
5227
  { deep: !0 }
5226
5228
  ), a;
5227
5229
  }, Mi = (e, t, a) => {
5228
- const n = R([]), s = R(""), r = R("");
5230
+ const n = w([]), s = w(""), r = w("");
5229
5231
  if (!e.rule || !t || !a)
5230
5232
  return { msg: s, ruleErrors: n, errClass: r };
5231
5233
  e.rule.split("|").forEach((i) => {
@@ -5276,7 +5278,7 @@ const Sc = (e) => {
5276
5278
  if (e.isFormSaving.value = !0, vn(e), e.beforeSave && e.beforeSave() === !1)
5277
5279
  return e.isFormSaving.value = !1, Promise.resolve();
5278
5280
  if (e.formRules.value && await Ft(e), e.ruleResults.value)
5279
- return se.error(w("webui.utils.form.submitValidationFailed")), console.error("表单验证失败!", e.ruleResults.value), e.isFormSaving.value = !1, Promise.resolve();
5281
+ return se.error(P("webui.utils.form.submitValidationFailed")), console.error("表单验证失败!", e.ruleResults.value), e.isFormSaving.value = !1, Promise.resolve();
5280
5282
  const a = e.formData.value;
5281
5283
  return tr(
5282
5284
  {
@@ -5298,7 +5300,7 @@ const Sc = (e) => {
5298
5300
  ).then((s) => {
5299
5301
  var r, o;
5300
5302
  if ((s == null ? void 0 : s.status) === ie.SUCCESS)
5301
- se.success(w("webui.utils.form.saveSuccess")), e.grid && (e.grid.reload.value = !0), e.afterSave && e.afterSave(s), e.autoClose !== !1 && (e.visible.value = !1);
5303
+ se.success(P("webui.utils.form.saveSuccess")), e.grid && (e.grid.reload.value = !0), e.afterSave && e.afterSave(s), e.autoClose !== !1 && (e.visible.value = !1);
5302
5304
  else if (s != null && s.msg && ((r = s == null ? void 0 : s.msg) == null ? void 0 : r.indexOf("Duplicate entry")) > -1) {
5303
5305
  const l = (o = s == null ? void 0 : s.msg) == null ? void 0 : o.match(/Duplicate entry '([^']+)' for key '([^']+)'/);
5304
5306
  if (l && l.length > 2 && l[1] && l[2]) {
@@ -5310,16 +5312,16 @@ const Sc = (e) => {
5310
5312
  {
5311
5313
  field: p,
5312
5314
  fieldValue: i,
5313
- message: w("webui.utils.form.dataDuplicate")
5315
+ message: P("webui.utils.form.dataDuplicate")
5314
5316
  }
5315
5317
  ]);
5316
5318
  }), Object.keys(g).length > 0 && (console.error("保存失败!", g), e.ruleResults.value = g);
5317
5319
  }
5318
- se.error(w("webui.utils.form.dataAlreadyExists").replace("{0}", i));
5319
- } else se.error((s == null ? void 0 : s.msg) ?? w("webui.utils.form.saveFailed"));
5320
+ se.error(P("webui.utils.form.dataAlreadyExists").replace("{0}", i));
5321
+ } else se.error((s == null ? void 0 : s.msg) ?? P("webui.utils.form.saveFailed"));
5320
5322
  e.afterSave && e.afterSave(s);
5321
5323
  } else
5322
- se.error((s == null ? void 0 : s.msg) ?? w("webui.utils.form.saveFailed")), e.afterSave && e.afterSave(s);
5324
+ se.error((s == null ? void 0 : s.msg) ?? P("webui.utils.form.saveFailed")), e.afterSave && e.afterSave(s);
5323
5325
  });
5324
5326
  }, kc = async (e) => {
5325
5327
  const t = e.page, a = e.grid;
@@ -5359,6 +5361,7 @@ const Sc = (e) => {
5359
5361
  });
5360
5362
  return [...a || [], ...e.filter((n) => !(a != null && a.includes(n)))];
5361
5363
  }, xi = (e) => sr(e).then((t) => t.rows), sr = (e) => {
5364
+ var a, n;
5362
5365
  e.gridQuery || (e.gridQuery = {});
5363
5366
  const t = e.remotePage ? "find" : "list";
5364
5367
  return En(e, {
@@ -5366,17 +5369,18 @@ const Sc = (e) => {
5366
5369
  url: e.gridUrl,
5367
5370
  params: e.gridQuery,
5368
5371
  loadingState: e.isGridLoading,
5369
- processParams: (a) => {
5370
- var s;
5371
- return e.remotePage && (a.Query.$limit = [(e.pageNo.value - 1) * e.pageSize.value, e.pageSize.value]), Dt((s = e.gridUrl) == null ? void 0 : s.params, a, e.gridQuery);
5372
+ loadingText: ((a = e.gridUrl) == null ? void 0 : a.loadingText) === !1 ? !1 : ((n = e.gridUrl) == null ? void 0 : n.loadingText) || P("webui.common.dataLoading"),
5373
+ processParams: (s) => {
5374
+ var o;
5375
+ return e.remotePage && (s.Query.$limit = [(e.pageNo.value - 1) * e.pageSize.value, e.pageSize.value]), Dt((o = e.gridUrl) == null ? void 0 : o.params, s, e.gridQuery);
5372
5376
  }
5373
- }).then((a) => {
5374
- if ((a == null ? void 0 : a.status) === ie.SUCCESS) {
5375
- let n = a.data;
5376
- return n.rows ? (e.tableData.value = n.rows, e.total.value = n.total) : (e.tableData.value = a.data, e.total.value = a.data.length, n = {
5377
+ }).then((s) => {
5378
+ if ((s == null ? void 0 : s.status) === ie.SUCCESS) {
5379
+ let r = s.data;
5380
+ return r.rows ? (e.tableData.value = r.rows, e.total.value = r.total) : (e.tableData.value = s.data, e.total.value = s.data.length, r = {
5377
5381
  total: e.total.value,
5378
- rows: a.data
5379
- }), e.afterLoad && e.afterLoad(n), n;
5382
+ rows: s.data
5383
+ }), e.afterLoad && e.afterLoad(r), r;
5380
5384
  }
5381
5385
  return e.tableData.value = [], e.total.value = 0, e.afterLoad && e.afterLoad({
5382
5386
  total: 0,
@@ -5485,8 +5489,8 @@ const nt = new $i(), mt = (e, t, a) => {
5485
5489
  else if (t.url && t.url.url)
5486
5490
  e && or(t.url, t, t.params ?? {});
5487
5491
  else {
5488
- const n = R(at(Re.LabelText, ""));
5489
- se.error("`" + n.value + "` " + w("webui.utils.options.notConfigured"), {
5492
+ const n = w(at(Re.LabelText, ""));
5493
+ se.error("`" + n.value + "` " + P("webui.utils.options.notConfigured"), {
5490
5494
  duration: 5e3
5491
5495
  });
5492
5496
  }
@@ -5498,7 +5502,7 @@ const nt = new $i(), mt = (e, t, a) => {
5498
5502
  t = kr(n, t);
5499
5503
  }
5500
5504
  t = JSON.parse(JSON.stringify(t ?? [])), e.all && t.unshift({
5501
- label: w("webui.components.form.radio.all"),
5505
+ label: P("webui.components.form.radio.all"),
5502
5506
  value: e.allValue ?? void 0
5503
5507
  }), e.options.value = t;
5504
5508
  }, Hi = (e, t, a) => {
@@ -5635,12 +5639,12 @@ const nt = new $i(), mt = (e, t, a) => {
5635
5639
  primaryKey: "Id",
5636
5640
  statusKey: "Enabled",
5637
5641
  remotePage: !0,
5638
- tableSize: R("small"),
5639
- selectable: R(!1),
5640
- searchBar: R(!0),
5641
- pageSize: R(10),
5642
- rowExpand: R(!1),
5643
- buttons: R(["New"]),
5642
+ tableSize: w("small"),
5643
+ selectable: w(!1),
5644
+ searchBar: w(!0),
5645
+ pageSize: w(10),
5646
+ rowExpand: w(!1),
5647
+ buttons: w(["New"]),
5644
5648
  tools: ["Reload", "RowHeight", "TableHeadset"],
5645
5649
  operates: ["Edit", "Delete"]
5646
5650
  },
@@ -5685,42 +5689,42 @@ const nt = new $i(), mt = (e, t, a) => {
5685
5689
  ...Z.EditorOption,
5686
5690
  name: "",
5687
5691
  default: a ? JSON.parse(JSON.stringify(a)) : void 0,
5688
- visible: R(!1),
5692
+ visible: w(!1),
5689
5693
  page: t,
5690
- formData: R(a ? JSON.parse(JSON.stringify(a)) : void 0),
5691
- formRules: R(n),
5692
- ruleResults: R({}),
5693
- updateData: R(void 0),
5694
+ formData: w(a ? JSON.parse(JSON.stringify(a)) : void 0),
5695
+ formRules: w(n),
5696
+ ruleResults: w({}),
5697
+ updateData: w(void 0),
5694
5698
  saveUrl: e.urls.save,
5695
5699
  detailUrl: e.urls.detail,
5696
- isFormSaving: R(!1),
5697
- isFormLoading: R(!1)
5700
+ isFormSaving: w(!1),
5701
+ isFormLoading: w(!1)
5698
5702
  }
5699
5703
  }), Yi = (e, t, a) => {
5700
5704
  _a(e);
5701
5705
  const n = {
5702
5706
  ...Z.GridOption,
5703
- tableSize: R(Z.GridOption.tableSize.value),
5704
- selectable: R(Z.GridOption.selectable.value),
5705
- searchBar: R(Z.GridOption.searchBar.value),
5706
- pageSize: R(Z.GridOption.pageSize.value),
5707
- rowExpand: R(Z.GridOption.rowExpand.value),
5708
- buttons: R([...Z.GridOption.buttons.value]),
5707
+ tableSize: w(Z.GridOption.tableSize.value),
5708
+ selectable: w(Z.GridOption.selectable.value),
5709
+ searchBar: w(Z.GridOption.searchBar.value),
5710
+ pageSize: w(Z.GridOption.pageSize.value),
5711
+ rowExpand: w(Z.GridOption.rowExpand.value),
5712
+ buttons: w([...Z.GridOption.buttons.value]),
5709
5713
  tools: [...Z.GridOption.tools],
5710
5714
  operates: [...Z.GridOption.operates],
5711
- columns: R(a || []),
5712
- reload: R(!1),
5713
- pageNo: R(1),
5714
- total: R(0),
5715
+ columns: w(a || []),
5716
+ reload: w(!1),
5717
+ pageNo: w(1),
5718
+ total: w(0),
5715
5719
  page: t,
5716
- selectKeys: R([]),
5717
- selectRows: R([]),
5718
- rowData: R(void 0),
5720
+ selectKeys: w([]),
5721
+ selectRows: w([]),
5722
+ rowData: w(void 0),
5719
5723
  gridQuery: {},
5720
5724
  tableData: ke(void 0),
5721
- expandRows: R({}),
5722
- isGridLoading: R(!1),
5723
- isGridSaving: R(!1),
5725
+ expandRows: w({}),
5726
+ isGridLoading: w(!1),
5727
+ isGridSaving: w(!1),
5724
5728
  gridUrl: e.urls.list || e.urls.find,
5725
5729
  updateUrl: e.urls.update,
5726
5730
  deleteUrl: e.urls.delete
@@ -5739,12 +5743,12 @@ const nt = new $i(), mt = (e, t, a) => {
5739
5743
  _a(e);
5740
5744
  const a = {
5741
5745
  ...Z.TreeOption,
5742
- reload: R(!1),
5746
+ reload: w(!1),
5743
5747
  page: t,
5744
- node: R(void 0),
5748
+ node: w(void 0),
5745
5749
  url: e.urls.tree,
5746
5750
  data: ke(void 0),
5747
- isTreeLoading: R(!1)
5751
+ isTreeLoading: w(!1)
5748
5752
  };
5749
5753
  return B(
5750
5754
  () => a.reload.value,
@@ -5760,13 +5764,13 @@ const nt = new $i(), mt = (e, t, a) => {
5760
5764
  const a = {
5761
5765
  ...Z.OptionOption,
5762
5766
  url: e,
5763
- reload: R(!1),
5767
+ reload: w(!1),
5764
5768
  optionQuery: {},
5765
5769
  data: ke((t == null ? void 0 : t.data) ?? []),
5766
- selected: R([]),
5767
- selectedOptions: R([]),
5768
- options: R((t == null ? void 0 : t.data) ?? []),
5769
- isOptionLoading: R(!1)
5770
+ selected: w([]),
5771
+ selectedOptions: w([]),
5772
+ options: w((t == null ? void 0 : t.data) ?? []),
5773
+ isOptionLoading: w(!1)
5770
5774
  };
5771
5775
  return B(
5772
5776
  () => a.reload.value,
@@ -5789,10 +5793,10 @@ const nt = new $i(), mt = (e, t, a) => {
5789
5793
  editorCtrl: s,
5790
5794
  gridCtrl: r
5791
5795
  };
5792
- }, Bi = 10080 * 60 * 1e3, Va = /* @__PURE__ */ new Map(), cs = /* @__PURE__ */ new Set(), Ge = R({}), Gc = Ge, Kc = (e) => {
5796
+ }, Bi = 10080 * 60 * 1e3, Va = /* @__PURE__ */ new Map(), cs = /* @__PURE__ */ new Set(), Ge = w({}), Gc = Ge, Kc = (e) => {
5793
5797
  var s;
5794
5798
  if (!e.iconUrl) return an;
5795
- const t = R(!0), a = R("");
5799
+ const t = w(!0), a = w("");
5796
5800
  let n = !0;
5797
5801
  return (s = e.icons) != null && s.length && (n = e.icons.every((r) => Ge.value[r] !== void 0)), (e.icon && !Ge.value[e.icon] || !n) && ji(e, t).then(() => {
5798
5802
  Xi(e.iconUrl, e.monoColor || !1), t.value = !0;
@@ -5823,7 +5827,7 @@ const nt = new $i(), mt = (e, t, a) => {
5823
5827
  },
5824
5828
  emits: ["update:iconIndex"],
5825
5829
  setup(r, { emit: o }) {
5826
- const l = R(r.icon), i = R(0), c = () => {
5830
+ const l = w(r.icon), i = w(0), c = () => {
5827
5831
  r.icons && i.value++;
5828
5832
  };
5829
5833
  return B(
@@ -5886,7 +5890,7 @@ const nt = new $i(), mt = (e, t, a) => {
5886
5890
  try {
5887
5891
  const a = await fetch(e);
5888
5892
  if (!a.ok) {
5889
- se.error(w("webui.utils.iconLoader.networkError"));
5893
+ se.error(P("webui.utils.iconLoader.networkError"));
5890
5894
  return;
5891
5895
  }
5892
5896
  let n = await a.text();
@@ -5900,7 +5904,7 @@ const nt = new $i(), mt = (e, t, a) => {
5900
5904
  ir(n);
5901
5905
  return;
5902
5906
  } catch (a) {
5903
- return console.error(w("webui.utils.iconLoader.networkError") + ":", a), null;
5907
+ return console.error(P("webui.utils.iconLoader.networkError") + ":", a), null;
5904
5908
  }
5905
5909
  }, ir = (e) => {
5906
5910
  const t = document.createElement("script");
@@ -5984,14 +5988,14 @@ const nt = new $i(), mt = (e, t, a) => {
5984
5988
  continue;
5985
5989
  const I = p.path.split("/");
5986
5990
  I.unshift(...t);
5987
- const P = ur(p.children || [], I, a, n), S = {
5991
+ const R = ur(p.children || [], I, a, n), S = {
5988
5992
  key: I.join("/"),
5989
5993
  label: ((m = p.name) == null ? void 0 : m.toString()) ?? "",
5990
5994
  title: ((g = p.name) == null ? void 0 : g.toString()) ?? "",
5991
5995
  icon: p.icon ? ye(a, { ...n, icon: p.icon }) : void 0,
5992
- children: P.length > 0 ? P : void 0
5996
+ children: R.length > 0 ? R : void 0
5993
5997
  };
5994
- (P.length > 0 || !p.children) && s.push(S);
5998
+ (R.length > 0 || !p.children) && s.push(S);
5995
5999
  }
5996
6000
  return s;
5997
6001
  }, us = Er([]), jc = () => {
@@ -6117,7 +6121,7 @@ const nt = new $i(), mt = (e, t, a) => {
6117
6121
  setup(e, { emit: t }) {
6118
6122
  const a = e, n = ut(), s = Ut(a.url, a), r = a.optionCtrl ?? s.optionCtrl;
6119
6123
  r.inputFactory = ke(n);
6120
- const o = R([]);
6124
+ const o = w([]);
6121
6125
  r && B(
6122
6126
  () => r.options.value,
6123
6127
  (I) => {
@@ -6143,7 +6147,7 @@ const nt = new $i(), mt = (e, t, a) => {
6143
6147
  r && mt(r.autoload, r, a);
6144
6148
  }), ft(() => {
6145
6149
  r && Mt(r, a);
6146
- }), (I, P) => {
6150
+ }), (I, R) => {
6147
6151
  var S;
6148
6152
  return o.value.length === 2 ? (le(), zt(X(br), wt({
6149
6153
  key: 0,
@@ -6188,7 +6192,7 @@ const nt = new $i(), mt = (e, t, a) => {
6188
6192
  value: "Id",
6189
6193
  ...o == null ? void 0 : o.fieldMap
6190
6194
  };
6191
- const l = R(void 0);
6195
+ const l = w(void 0);
6192
6196
  B(
6193
6197
  () => a.value,
6194
6198
  () => {
@@ -6203,7 +6207,7 @@ const nt = new $i(), mt = (e, t, a) => {
6203
6207
  );
6204
6208
  const { editorCtrl: i, errInfo: c, labelText: m } = s, g = t;
6205
6209
  s.inputEmit = g;
6206
- const p = R((o == null ? void 0 : o.options.value) || []);
6210
+ const p = w((o == null ? void 0 : o.options.value) || []);
6207
6211
  o && B(
6208
6212
  () => o.options.value,
6209
6213
  (S) => {
@@ -6219,7 +6223,7 @@ const nt = new $i(), mt = (e, t, a) => {
6219
6223
  }
6220
6224
  };
6221
6225
  o.params = Dt(o.params, d), o && mt(!0, o, a);
6222
- }, P = (S) => {
6226
+ }, R = (S) => {
6223
6227
  const O = pa(o, a, S);
6224
6228
  g("update:value", S), g("select", S);
6225
6229
  const d = ma(O);
@@ -6238,7 +6242,7 @@ const nt = new $i(), mt = (e, t, a) => {
6238
6242
  class: ["w-full", (d = X(c)) == null ? void 0 : d.errClass],
6239
6243
  options: p.value,
6240
6244
  onSearch: I,
6241
- onSelect: P
6245
+ onSelect: R
6242
6246
  }, X(n), { "allow-clear": !1 }), {
6243
6247
  option: Me(({ label: _ }) => [
6244
6248
  ta(Be(_), 1)
@@ -6278,18 +6282,18 @@ const nt = new $i(), mt = (e, t, a) => {
6278
6282
  },
6279
6283
  emits: ["change", "update:labels"],
6280
6284
  setup(e, { emit: t }) {
6281
- var p, I, P;
6285
+ var p, I, R;
6282
6286
  const a = e, n = Zt(), s = ut(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6283
6287
  o.inputFactory = ke(s);
6284
- const l = R({
6288
+ const l = w({
6285
6289
  ...o == null ? void 0 : o.url,
6286
6290
  url: ((p = o == null ? void 0 : o.url) == null ? void 0 : p.url) || "",
6287
6291
  fieldMap: (o == null ? void 0 : o.fieldMap) || ((I = o == null ? void 0 : o.url) == null ? void 0 : I.fieldMap),
6288
- params: (o == null ? void 0 : o.params) || ((P = o == null ? void 0 : o.url) == null ? void 0 : P.params),
6292
+ params: (o == null ? void 0 : o.params) || ((R = o == null ? void 0 : o.url) == null ? void 0 : R.params),
6289
6293
  loadingText: !1
6290
6294
  }), { errInfo: i } = s, c = t;
6291
6295
  s.inputEmit = c;
6292
- const m = R((o == null ? void 0 : o.options.value) || []);
6296
+ const m = w((o == null ? void 0 : o.options.value) || []);
6293
6297
  o && B(
6294
6298
  () => o.options.value,
6295
6299
  (S) => {
@@ -6356,7 +6360,7 @@ const nt = new $i(), mt = (e, t, a) => {
6356
6360
  },
6357
6361
  nodata: {
6358
6362
  type: String,
6359
- default: w("webui.components.form.radio.noData")
6363
+ default: P("webui.components.form.radio.noData")
6360
6364
  },
6361
6365
  /**
6362
6366
  * 换行数量
@@ -6367,16 +6371,16 @@ const nt = new $i(), mt = (e, t, a) => {
6367
6371
  },
6368
6372
  emits: ["change", "update:value", "update:labels"],
6369
6373
  setup(e, { emit: t }) {
6370
- var P, S, O;
6374
+ var R, S, O;
6371
6375
  const a = e, n = Zt(), s = ut(), r = Ut(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6372
6376
  o.inputFactory = ke(s);
6373
- const l = R({
6377
+ const l = w({
6374
6378
  ...o == null ? void 0 : o.url,
6375
- url: ((P = o == null ? void 0 : o.url) == null ? void 0 : P.url) || "",
6379
+ url: ((R = o == null ? void 0 : o.url) == null ? void 0 : R.url) || "",
6376
6380
  fieldMap: (o == null ? void 0 : o.fieldMap) || ((S = o == null ? void 0 : o.url) == null ? void 0 : S.fieldMap),
6377
6381
  params: (o == null ? void 0 : o.params) || ((O = o == null ? void 0 : o.url) == null ? void 0 : O.params),
6378
6382
  loadingText: !1
6379
- }), i = R(a.value), { errInfo: c } = s, m = R((o == null ? void 0 : o.options.value) || []), g = t;
6383
+ }), i = w(a.value), { errInfo: c } = s, m = w((o == null ? void 0 : o.options.value) || []), g = t;
6380
6384
  s.inputEmit = g, o && B(
6381
6385
  () => o.options.value,
6382
6386
  (d) => {
@@ -6494,18 +6498,18 @@ const nt = new $i(), mt = (e, t, a) => {
6494
6498
  c.inputFactory = ke(s);
6495
6499
  const m = Zt();
6496
6500
  c.autoload = a.autoload ?? c.autoload;
6497
- const g = R({
6501
+ const g = w({
6498
6502
  ...c == null ? void 0 : c.url,
6499
6503
  url: ((_ = c == null ? void 0 : c.url) == null ? void 0 : _.url) || "",
6500
6504
  fieldMap: (c == null ? void 0 : c.fieldMap) || ((y = c == null ? void 0 : c.url) == null ? void 0 : y.fieldMap),
6501
6505
  params: (c == null ? void 0 : c.params) || ((E = c == null ? void 0 : c.url) == null ? void 0 : E.params),
6502
6506
  loadingText: !1
6503
- }), p = R(m.placeholder), I = R(c == null ? void 0 : c.selected.value), P = t;
6504
- s.inputEmit = P;
6507
+ }), p = w(m.placeholder), I = w(c == null ? void 0 : c.selected.value), R = t;
6508
+ s.inputEmit = R;
6505
6509
  const S = (b) => {
6506
6510
  const L = pa(c, a, b), v = ma(L);
6507
- I.value = b, P("update:labels", v), P("update:label", v.join(";")), P("change", b, L), o != null && o.value.errClass && r && Ft(r);
6508
- }, O = R((c == null ? void 0 : c.options.value) || []), d = (b) => {
6511
+ I.value = b, R("update:labels", v), R("update:label", v.join(";")), R("change", b, L), o != null && o.value.errClass && r && Ft(r);
6512
+ }, O = w((c == null ? void 0 : c.options.value) || []), d = (b) => {
6509
6513
  if (b.length > 0 && ve(a.value) && a.selectFirst)
6510
6514
  for (let L = 0; L < b.length; L++) {
6511
6515
  const v = b[L];
@@ -6536,7 +6540,7 @@ const nt = new $i(), mt = (e, t, a) => {
6536
6540
  ), B(
6537
6541
  () => g.value.loading,
6538
6542
  (b) => {
6539
- b ? p.value = "" : p.value || (p.value = w("webui.components.form.select.pleaseSelect", [l.value]));
6543
+ b ? p.value = "" : p.value || (p.value = P("webui.components.form.select.pleaseSelect", [l.value]));
6540
6544
  },
6541
6545
  { immediate: !0 }
6542
6546
  ), B(
@@ -6549,7 +6553,7 @@ const nt = new $i(), mt = (e, t, a) => {
6549
6553
  () => I.value,
6550
6554
  (b) => {
6551
6555
  const L = b === void 0 ? n ? void 0 : null : b;
6552
- c && (c.selected.value = L), P("update:value", L);
6556
+ c && (c.selected.value = L), R("update:value", L);
6553
6557
  }
6554
6558
  ), ea(() => {
6555
6559
  c && c.autoload && (c.reload.value = !0);
@@ -6572,7 +6576,7 @@ const nt = new $i(), mt = (e, t, a) => {
6572
6576
  return le(), ge("div", null, [
6573
6577
  (C = (v = X(c)) == null ? void 0 : v.url) != null && C.loading ? (le(), ge("div", nc, [
6574
6578
  Ye(X(an), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
6575
- vr("span", null, Be(X(w)("webui.components.form.upload.dataLoading")), 1)
6579
+ vr("span", null, Be(X(P)("webui.components.form.upload.dataLoading")), 1)
6576
6580
  ])) : rt("", !0),
6577
6581
  Ye(X(Or), wt({
6578
6582
  class: [(M = X(o)) == null ? void 0 : M.errClass, "w-full"],
@@ -6603,8 +6607,8 @@ const nt = new $i(), mt = (e, t, a) => {
6603
6607
  ]);
6604
6608
  };
6605
6609
  }
6606
- }), sc = R(!1), eu = {
6607
- label: w("webui.utils.tools.templateManagement"),
6610
+ }), sc = w(!1), eu = {
6611
+ label: P("webui.utils.tools.templateManagement"),
6608
6612
  key: "uploadTemp",
6609
6613
  type: "primary",
6610
6614
  icon: "icon-download",
@@ -6613,7 +6617,7 @@ const nt = new $i(), mt = (e, t, a) => {
6613
6617
  }
6614
6618
  };
6615
6619
  export {
6616
- w as $,
6620
+ P as $,
6617
6621
  pa as A,
6618
6622
  ma as B,
6619
6623
  Ft as C,