@skyfox2000/webui 1.6.11 → 1.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as _, onMounted as I, openBlock as o, createBlock as s, unref as e, withCtx as l, createElementVNode as x, createVNode as p, createElementBlock as y, toDisplayString as g, createCommentVNode as r, renderSlot as h } from "vue";
2
2
  import { Layout as i, LayoutSider as k } from "ant-design-vue";
3
- import { a as b } from "./toolIcon-UCvhWJXc.js";
4
- import { I as C, _ as S, e as w, c as $, f as N } from "./menuTabs-DI8dZ2Gm.js";
5
- import { an as v, a as B, as as E } from "./upload-template-0m5syH0g.js";
3
+ import { a as b } from "./toolIcon-WFPoslp_.js";
4
+ import { I as C, _ as S, e as w, c as $, f as N } from "./menuTabs-THGG3jxk.js";
5
+ import { an as v, a as B, as as E } from "./upload-template-DVc1qyuw.js";
6
6
  import "@skyfox2000/microbase";
7
7
  import "@skyfox2000/fapi";
8
8
  import L from "vue-m-message";
@@ -4,7 +4,7 @@ var h = (i, e, a) => U(i, typeof e != "symbol" ? e + "" : e, a);
4
4
  import { hostUrl as E } from "@skyfox2000/fapi";
5
5
  import m from "dayjs";
6
6
  import f from "vue-m-message";
7
- import { $ as n, M as y, u as F } from "./upload-template-0m5syH0g.js";
7
+ import { $ as n, M as y, u as F } from "./upload-template-DVc1qyuw.js";
8
8
  import { isMicroApp as g } from "@skyfox2000/microbase";
9
9
  var l = /* @__PURE__ */ ((i) => (i.Pending = "pending", i.Uploading = "uploading", i.Success = "success", i.Error = "error", i.Online = "online", i.Offline = "offline", i))(l || {});
10
10
  class M {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as B, provide as N, ref as A, watch as m, onMounted as V, openBlock as r, createBlock as d, unref as o, withCtx as n, createElementVNode as $, renderSlot as C, createVNode as D, createTextVNode as u, toDisplayString as v, createCommentVNode as f } from "vue";
2
- import { _ as c } from "./index-CHodwCV7.js";
2
+ import { _ as c } from "./index-R9svKNdp.js";
3
3
  import { Modal as E, Space as M } from "ant-design-vue";
4
4
  import "@skyfox2000/fapi";
5
- import { P, d as K, $ as p, o as U, b as j } from "./upload-template-0m5syH0g.js";
5
+ import { P, d as K, $ as p, o as U, b as j } from "./upload-template-DVc1qyuw.js";
6
6
  import "vue-m-message";
7
7
  import "@skyfox2000/microbase";
8
8
  import "async-validator";
@@ -1,10 +1,10 @@
1
1
  import H from "async-validator";
2
2
  import { httpPost as $, ResStatus as M } from "@skyfox2000/fapi";
3
- import { $ as d, L as U, u as V, i as j, av as T } from "./upload-template-0m5syH0g.js";
3
+ import { $ as d, L as U, u as V, i as j, av as T } from "./upload-template-DVc1qyuw.js";
4
4
  import E from "vue-m-message";
5
5
  import { defineComponent as S, useAttrs as B, openBlock as y, createElementBlock as P, createVNode as z, unref as v, mergeProps as _, computed as x, createBlock as D, withCtx as A, normalizeStyle as L } from "vue";
6
6
  import { Spin as N, Alert as O } from "ant-design-vue";
7
- import { _ as K } from "./toolIcon-UCvhWJXc.js";
7
+ import { _ as K } from "./toolIcon-WFPoslp_.js";
8
8
  const W = (l) => {
9
9
  const e = l.split(`
10
10
  `).filter((i) => i.trim() !== "");
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as d, useAttrs as f, openBlock as u, createElementBlock as x, createVNode as e, withCtx as n, unref as o, mergeProps as r, renderSlot as p } from "vue";
2
2
  import { Button as _ } from "ant-design-vue";
3
- import { a as P, _ as k } from "./toolIcon-UCvhWJXc.js";
3
+ import { a as P, _ as k } from "./toolIcon-WFPoslp_.js";
4
4
  const C = /* @__PURE__ */ d({
5
5
  inheritAttrs: !1,
6
6
  __name: "index",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as x, openBlock as c, createBlock as _, unref as t, mergeProps as $, createCommentVNode as h, useAttrs as X, computed as O, ref as k, watch as S, withCtx as m, createElementBlock as f, normalizeStyle as T, createElementVNode as g, inject as G, onMounted as P, createVNode as u, toDisplayString as C, Fragment as L, renderList as R, createTextVNode as Q, reactive as Y, nextTick as Z, withModifiers as ee } from "vue";
2
- import { a as A, _ as b } from "./toolIcon-UCvhWJXc.js";
3
- import { c as D, W as j, as as E, ak as K, N as U, X as F, u as H, $ as w, M as te, U as V, aj as ne, a as W, a5 as oe, r as q, an as B } from "./upload-template-0m5syH0g.js";
2
+ import { a as A, _ as b } from "./toolIcon-WFPoslp_.js";
3
+ import { c as D, W as j, as as E, ak as K, N as U, X as F, u as H, $ as w, M as te, U as V, aj as ne, a as W, a5 as oe, r as q, an as B } from "./upload-template-DVc1qyuw.js";
4
4
  import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import { theme as M, Breadcrumb as ie, Modal as ae, Flex as ce, Dropdown as le, Menu as J, MenuItem as re, LayoutHeader as ue, Space as pe, Tabs as de, TabPane as me } from "ant-design-vue";
6
6
  import { isMicroApp as fe } from "@skyfox2000/microbase";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as i, openBlock as s, createBlock as l, unref as a, withCtx as p, renderSlot as f, mergeProps as u, createCommentVNode as d } from "vue";
2
2
  import { Tooltip as I } from "ant-design-vue";
3
3
  import { SERVER_HOST as r } from "@skyfox2000/fapi";
4
- import { c as S } from "./upload-template-0m5syH0g.js";
4
+ import { c as S } from "./upload-template-DVc1qyuw.js";
5
5
  const T = /* @__PURE__ */ i({
6
6
  __name: "index",
7
7
  props: {
@@ -2,12 +2,12 @@ var _s = Object.defineProperty;
2
2
  var gs = (e, t, a) => t in e ? _s(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var re = (e, t, a) => gs(e, typeof t != "symbol" ? t + "" : t, a);
4
4
  import * as Ra from "vue";
5
- import { effectScope as hs, computed as at, watch as j, isRef as Es, ref as R, shallowRef as ke, defineComponent as Me, h as ye, Fragment as Je, inject as rt, onMounted as Rt, onUnmounted as pt, createVNode as qe, Text as vs, nextTick as bs, provide as Da, toRaw as _r, reactive as ys, openBlock as ie, createBlock as Zt, unref as q, mergeProps as Dt, createCommentVNode as lt, useAttrs as ea, onActivated as ta, createElementBlock as he, withCtx as Ue, createTextVNode as aa, toDisplayString as Qe, renderList as on, normalizeClass as gr, createElementVNode as Is } from "vue";
5
+ import { effectScope as hs, computed as Be, watch as j, isRef as Es, ref as R, shallowRef as ke, defineComponent as Me, h as ye, Fragment as qe, inject as rt, onMounted as Rt, onUnmounted as pt, createVNode as Qe, Text as vs, nextTick as bs, provide as Da, toRaw as _r, reactive as ys, openBlock as ie, createBlock as Zt, unref as q, mergeProps as Dt, createCommentVNode as lt, useAttrs as ea, onActivated as ta, createElementBlock as he, withCtx as Ue, createTextVNode as aa, toDisplayString as Xe, renderList as on, normalizeClass as gr, createElementVNode as Is } from "vue";
6
6
  import { Switch as Ss, AutoComplete as Ns, Input as Ts, CheckboxGroup as Ls, Checkbox as Os, RadioGroup as As, Radio as Ps, Select as ws, SelectOption as Fs } from "ant-design-vue";
7
7
  import { createPinia as Rs, defineStore as Ct } from "pinia";
8
8
  import Ds from "pinia-plugin-persistedstate";
9
- import { EnvConfig as De, AppAction as On, AppSource as An, isMicroApp as Be, isBaseMicroApp as Cs, combineParams as kt } from "@skyfox2000/microbase";
10
- import { httpPost as Ze, ResStatus as ue, setToken as Gt, httpGet as hr, fieldMapping as ks, parseFieldTemplate as Qt, API_HOST as Ca, SERVER_HOST as Pn } from "@skyfox2000/fapi";
9
+ import { EnvConfig as De, AppAction as On, AppSource as An, isMicroApp as Ye, isBaseMicroApp as Cs, combineParams as kt } from "@skyfox2000/microbase";
10
+ import { httpPost as et, ResStatus as ue, setToken as Gt, httpGet as hr, fieldMapping as ks, parseFieldTemplate as Qt, API_HOST as Ca, SERVER_HOST as Pn } from "@skyfox2000/fapi";
11
11
  import se from "vue-m-message";
12
12
  import { createRouter as Ms, createWebHashHistory as xs } from "vue-router";
13
13
  import na from "async-validator";
@@ -29,13 +29,13 @@ function ln(e) {
29
29
  wn[e] || (wn[e] = !0, Le(e));
30
30
  }
31
31
  const Se = typeof window < "u";
32
- let de, Xe;
32
+ let de, ze;
33
33
  if (process.env.NODE_ENV !== "production") {
34
34
  const e = Se && window.performance;
35
35
  e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
36
36
  e.clearMeasures && (de = (t) => {
37
37
  e.mark(t);
38
- }, Xe = (t, a, n) => {
38
+ }, ze = (t, a, n) => {
39
39
  e.measure(t, a, n), e.clearMarks(a), e.clearMarks(n);
40
40
  });
41
41
  }
@@ -45,7 +45,7 @@ function ra(e, ...t) {
45
45
  }
46
46
  const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), $s = (e, t, a) => Hs({ l: e, k: t, s: a }), Hs = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), Er = (e) => cn(e) === "[object Date]", it = (e) => cn(e) === "[object RegExp]", sa = (e) => x(e) && Object.keys(e).length === 0, te = Object.assign, Ws = Object.create, G = (e = null) => Ws(e);
47
47
  let Fn;
48
- const Ye = () => Fn || (Fn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : G());
48
+ const je = () => Fn || (Fn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : G());
49
49
  function Rn(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
  }
@@ -1086,7 +1086,7 @@ function To(e, t = {}) {
1086
1086
  * Released under the MIT License.
1087
1087
  */
1088
1088
  function Lo() {
1089
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ye().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ye().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1089
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1090
1090
  }
1091
1091
  function ve(e) {
1092
1092
  return V(e) && mn(e) === 0 && (Ee(e, "b") || Ee(e, "body"));
@@ -1657,7 +1657,7 @@ const ne = {
1657
1657
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7,
1658
1658
  INVALID_NUMBER_ARGUMENT: 8,
1659
1659
  INVALID_DATE_ARGUMENT: 9
1660
- }, et = 10, al = {
1660
+ }, tt = 10, al = {
1661
1661
  [ne.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1662
1662
  [ne.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1663
1663
  [ne.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -2061,7 +2061,7 @@ function Vr(e, t, a, n, r, s) {
2061
2061
  message: I,
2062
2062
  time: b - g,
2063
2063
  groupId: `${L}:${t}`
2064
- }), N && v && de && Xe && (de(v), Xe("intlify message resolve", N, v));
2064
+ }), N && v && de && ze && (de(v), ze("intlify message resolve", N, v));
2065
2065
  }
2066
2066
  if (A(I) || ve(I) || _e(I))
2067
2067
  break;
@@ -2100,7 +2100,7 @@ function $r(e, t, a, n, r, s) {
2100
2100
  message: n,
2101
2101
  time: p - i,
2102
2102
  groupId: `translate:${t}`
2103
- }), c && m && de && Xe && (de(m), Xe("intlify message compilation", c, m));
2103
+ }), c && m && de && ze && (de(m), ze("intlify message compilation", c, m));
2104
2104
  }
2105
2105
  return _.locale = a, _.key = t, _.source = n, _;
2106
2106
  }
@@ -2115,7 +2115,7 @@ function yl(e, t, a) {
2115
2115
  value: o,
2116
2116
  time: l - n,
2117
2117
  groupId: `translate:${t.key}`
2118
- }), r && s && de && Xe && (de(s), Xe("intlify message evaluation", r, s));
2118
+ }), r && s && de && ze && (de(s), ze("intlify message evaluation", r, s));
2119
2119
  }
2120
2120
  return o;
2121
2121
  }
@@ -2194,10 +2194,10 @@ function Hr() {
2194
2194
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2195
2195
  }
2196
2196
  const Ll = typeof Proxy == "function", Ol = "devtools-plugin:setup", Al = "plugin:settings:set";
2197
- let tt, Ja;
2197
+ let at, Ja;
2198
2198
  function Pl() {
2199
2199
  var e;
2200
- return tt !== void 0 || (typeof window < "u" && window.performance ? (tt = !0, Ja = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (tt = !0, Ja = globalThis.perf_hooks.performance) : tt = !1), tt;
2200
+ return at !== void 0 || (typeof window < "u" && window.performance ? (at = !0, Ja = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (at = !0, Ja = globalThis.perf_hooks.performance) : at = !1), at;
2201
2201
  }
2202
2202
  function wl() {
2203
2203
  return Pl() ? Ja.now() : Date.now();
@@ -2284,7 +2284,7 @@ function Rl(e, t) {
2284
2284
  */
2285
2285
  const Dl = "11.3.0";
2286
2286
  function Cl() {
2287
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ye().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ye().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ye().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ye().__INTLIFY_PROD_DEVTOOLS__ = !1);
2287
+ typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (je().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (je().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1);
2288
2288
  }
2289
2289
  const B = {
2290
2290
  // composer module errors
@@ -2323,21 +2323,21 @@ const kl = {
2323
2323
  [B.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2324
2324
  [B.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2325
2325
  [B.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2326
- }, qa = /* @__PURE__ */ Oe("__translateVNode"), Qa = /* @__PURE__ */ Oe("__datetimeParts"), Xa = /* @__PURE__ */ Oe("__numberParts"), ze = /* @__PURE__ */ Oe("__enableEmitter"), Pt = /* @__PURE__ */ Oe("__disableEmitter"), Wr = Oe("__setPluralRules"), Gr = /* @__PURE__ */ Oe("__injectWithOption"), za = /* @__PURE__ */ Oe("__dispose"), ge = {
2327
- FALLBACK_TO_ROOT: et,
2326
+ }, qa = /* @__PURE__ */ Oe("__translateVNode"), Qa = /* @__PURE__ */ Oe("__datetimeParts"), Xa = /* @__PURE__ */ Oe("__numberParts"), Ze = /* @__PURE__ */ Oe("__enableEmitter"), Pt = /* @__PURE__ */ Oe("__disableEmitter"), Wr = Oe("__setPluralRules"), Gr = /* @__PURE__ */ Oe("__injectWithOption"), za = /* @__PURE__ */ Oe("__dispose"), ge = {
2327
+ FALLBACK_TO_ROOT: tt,
2328
2328
  // 10
2329
- NOT_FOUND_PARENT_SCOPE: et + 1,
2330
- IGNORE_OBJ_FLATTEN: et + 2,
2329
+ NOT_FOUND_PARENT_SCOPE: tt + 1,
2330
+ IGNORE_OBJ_FLATTEN: tt + 2,
2331
2331
  /**
2332
2332
  * @deprecated will be removed at vue-i18n v12
2333
2333
  */
2334
- DEPRECATE_LEGACY_MODE: et + 3,
2334
+ DEPRECATE_LEGACY_MODE: tt + 3,
2335
2335
  /**
2336
2336
  * @deprecated will be removed at vue-i18n v12
2337
2337
  */
2338
- DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: et + 4,
2338
+ DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: tt + 4,
2339
2339
  // duplicate `useI18n` calling
2340
- DUPLICATE_USE_I18N_CALLING: et + 5
2340
+ DUPLICATE_USE_I18N_CALLING: tt + 5
2341
2341
  }, Ml = {
2342
2342
  [ge.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
2343
2343
  [ge.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
@@ -2426,7 +2426,7 @@ function Br(e, t, a) {
2426
2426
  }
2427
2427
  }
2428
2428
  function zn(e) {
2429
- return qe(vs, null, e, 0);
2429
+ return Qe(vs, null, e, 0);
2430
2430
  }
2431
2431
  function ot() {
2432
2432
  const e = "currentInstance";
@@ -2489,17 +2489,17 @@ function hn(e = {}) {
2489
2489
  _.value
2490
2490
  ];
2491
2491
  }
2492
- const M = at({
2492
+ const M = Be({
2493
2493
  get: () => l.value,
2494
2494
  set: (h) => {
2495
2495
  E.locale = h, l.value = h;
2496
2496
  }
2497
- }), ce = at({
2497
+ }), ce = Be({
2498
2498
  get: () => i.value,
2499
2499
  set: (h) => {
2500
2500
  E.fallbackLocale = h, i.value = h, yt(E, l.value, h);
2501
2501
  }
2502
- }), K = at(() => c.value), Ae = /* @__PURE__ */ at(() => m.value), ha = /* @__PURE__ */ at(() => _.value);
2502
+ }), K = Be(() => c.value), Ae = /* @__PURE__ */ Be(() => m.value), ha = /* @__PURE__ */ Be(() => _.value);
2503
2503
  function Ea() {
2504
2504
  return Y(g) ? g : null;
2505
2505
  }
@@ -2731,7 +2731,7 @@ function hn(e = {}) {
2731
2731
  setMissingHandler: ya,
2732
2732
  [Wr]: Pa
2733
2733
  };
2734
- return $.datetimeFormats = Ae, $.numberFormats = ha, $.rt = Sa, $.te = wa, $.tm = vt, $.d = Na, $.n = Ta, $.getDateTimeFormat = u, $.setDateTimeFormat = f, $.mergeDateTimeFormat = y, $.getNumberFormat = w, $.setNumberFormat = J, $.mergeNumberFormat = z, $[Gr] = a, $[qa] = Ht, $[Qa] = Wt, $[Xa] = Aa, process.env.NODE_ENV !== "production" && ($[ze] = (h) => {
2734
+ return $.datetimeFormats = Ae, $.numberFormats = ha, $.rt = Sa, $.te = wa, $.tm = vt, $.d = Na, $.n = Ta, $.getDateTimeFormat = u, $.setDateTimeFormat = f, $.mergeDateTimeFormat = y, $.getNumberFormat = w, $.setNumberFormat = J, $.mergeNumberFormat = z, $[Gr] = a, $[qa] = Ht, $[Qa] = Wt, $[Xa] = Aa, process.env.NODE_ENV !== "production" && ($[Ze] = (h) => {
2735
2735
  E.__v_emitter = h;
2736
2736
  }, $[Pt] = () => {
2737
2737
  E.__v_emitter = void 0;
@@ -3195,7 +3195,7 @@ function en(e = {}) {
3195
3195
  };
3196
3196
  return n.__extender = a, process.env.NODE_ENV !== "production" && (n.__enableEmitter = (r) => {
3197
3197
  const s = t;
3198
- s[ze] && s[ze](r);
3198
+ s[Ze] && s[Ze](r);
3199
3199
  }, n.__disableEmitter = () => {
3200
3200
  const r = t;
3201
3201
  r[Pt] && r[Pt]();
@@ -3284,14 +3284,14 @@ function ei({ slots: e }, t) {
3284
3284
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((n, r) => [
3285
3285
  ...n,
3286
3286
  // prettier-ignore
3287
- ...r.type === Je ? r.children : [r]
3287
+ ...r.type === qe ? r.children : [r]
3288
3288
  ], []) : t.reduce((a, n) => {
3289
3289
  const r = e[n];
3290
3290
  return r && (a[n] = r()), a;
3291
3291
  }, G());
3292
3292
  }
3293
3293
  function qr() {
3294
- return Je;
3294
+ return qe;
3295
3295
  }
3296
3296
  const ti = /* @__PURE__ */ Me({
3297
3297
  /* eslint-disable */
@@ -3467,7 +3467,7 @@ function ii(e = {}) {
3467
3467
  d.__enableEmitter && d.__enableEmitter(L);
3468
3468
  } else {
3469
3469
  const d = s;
3470
- d[ze] && d[ze](L);
3470
+ d[Ze] && d[Ze](L);
3471
3471
  }
3472
3472
  L.on("*", Ft);
3473
3473
  }
@@ -3557,7 +3557,7 @@ function _i(e, t, a) {
3557
3557
  if (process.env.NODE_ENV !== "production") {
3558
3558
  t.__VUE_I18N__ = a, n = fn();
3559
3559
  const r = a;
3560
- r[ze] && r[ze](n), n.on("*", Ft);
3560
+ r[Ze] && r[Ze](n), n.on("*", Ft);
3561
3561
  }
3562
3562
  }, t), pt(() => {
3563
3563
  const r = a;
@@ -3632,7 +3632,7 @@ sl(Uo);
3632
3632
  ol(tl);
3633
3633
  ll(Ka);
3634
3634
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3635
- const e = Ye();
3635
+ const e = je();
3636
3636
  e.__INTLIFY__ = !0, Vo(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3637
3637
  }
3638
3638
  process.env.NODE_ENV;
@@ -5009,7 +5009,7 @@ const Tt = {
5009
5009
  });
5010
5010
  },
5011
5011
  async getRemoteAppList() {
5012
- return Ze(Fi.appList, {
5012
+ return et(Fi.appList, {
5013
5013
  Query: {
5014
5014
  AppCode: this.appInfo.AppCode,
5015
5015
  Enabled: 1
@@ -5053,7 +5053,7 @@ const Tt = {
5053
5053
  flattenRoutes: {},
5054
5054
  Routes: t ?? [],
5055
5055
  defaultPage: ""
5056
- }), !Be() || !Cs())) {
5056
+ }), !Ye() || !Cs())) {
5057
5057
  const n = Ie();
5058
5058
  De.VITE_PERMISSION_MODE !== "none" && await n.getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes);
5059
5059
  }
@@ -5078,7 +5078,7 @@ const Tt = {
5078
5078
  }), Ie().isLogin) {
5079
5079
  const a = as(this.appInfo.Routes);
5080
5080
  if (Li(a), this.appInfo.defaultPage = ns(a) || "", this.appInfo.defaultPage) {
5081
- if (this.menuLoaded = !0, Be()) {
5081
+ if (this.menuLoaded = !0, Ye()) {
5082
5082
  const n = this.formatRoute(this.appInfo.defaultPage);
5083
5083
  Tt.mainAppPush(n);
5084
5084
  }
@@ -5101,7 +5101,7 @@ const Tt = {
5101
5101
  */
5102
5102
  push(e) {
5103
5103
  this.findRoute(e) && bn().setTabActive(e), bs(() => {
5104
- if (ua.push({ path: e }), Be()) {
5104
+ if (ua.push({ path: e }), Ye()) {
5105
5105
  const a = this.formatRoute(e);
5106
5106
  Tt.mainAppPush(a);
5107
5107
  }
@@ -5171,7 +5171,7 @@ const Tt = {
5171
5171
  }, this.CachedComponents.splice(0, this.CachedComponents.length), this.ExcludeComponents.splice(0, this.ExcludeComponents.length), this.appList.splice(0, this.appList.length), this.menuLoaded = !1;
5172
5172
  },
5173
5173
  logout() {
5174
- this.clean(), Be() ? Tt.mainAppPush("/") : window.location.assign("/");
5174
+ this.clean(), Ye() ? Tt.mainAppPush("/") : window.location.assign("/");
5175
5175
  }
5176
5176
  },
5177
5177
  persist: !1
@@ -5182,14 +5182,14 @@ const Tt = {
5182
5182
  },
5183
5183
  Query: e
5184
5184
  };
5185
- return Ze(ca.login, t).then((a) => (a == null ? void 0 : a.status) === ue.SUCCESS ? a : null);
5185
+ return et(ca.login, t).then((a) => (a == null ? void 0 : a.status) === ue.SUCCESS ? a : null);
5186
5186
  }, Ci = (e) => {
5187
5187
  let t = {
5188
5188
  Query: {
5189
5189
  AppId: e
5190
5190
  }
5191
5191
  };
5192
- return Ze(ca.auth, t).then((a) => {
5192
+ return et(ca.auth, t).then((a) => {
5193
5193
  if ((a == null ? void 0 : a.status) === ue.SUCCESS)
5194
5194
  return a.data;
5195
5195
  if ((a == null ? void 0 : a.errno) == fa) {
@@ -5203,7 +5203,7 @@ const Tt = {
5203
5203
  Option: {},
5204
5204
  Query: {}
5205
5205
  };
5206
- return Ze(ca.logout, e).then((t) => (t == null ? void 0 : t.status) === ue.SUCCESS ? t.data : null);
5206
+ return et(ca.logout, e).then((t) => (t == null ? void 0 : t.status) === ue.SUCCESS ? t.data : null);
5207
5207
  }, Mi = (e) => {
5208
5208
  try {
5209
5209
  const t = JSON.parse(atob(e.token.split(".")[1]));
@@ -5229,7 +5229,7 @@ const Tt = {
5229
5229
  * 启动时初始化用户信息
5230
5230
  */
5231
5231
  init() {
5232
- Be() || (this.token ? (Gt(this.token), pe.value = this.userInfo.UserLevel, this.isLogin = !0) : this.clean());
5232
+ Ye() || (this.token ? (Gt(this.token), pe.value = this.userInfo.UserLevel, this.isLogin = !0) : this.clean());
5233
5233
  },
5234
5234
  /**
5235
5235
  * 登录操作
@@ -5360,7 +5360,7 @@ const Tt = {
5360
5360
  * @returns
5361
5361
  */
5362
5362
  async logout(e) {
5363
- if (Be())
5363
+ if (Ye())
5364
5364
  return Tt.userLogout(), Promise.resolve();
5365
5365
  try {
5366
5366
  e && await ki();
@@ -5398,7 +5398,7 @@ const Tt = {
5398
5398
  JSON.parse(JSON.stringify(n.params ?? {})),
5399
5399
  JSON.parse(JSON.stringify(t.params ?? {}))
5400
5400
  );
5401
- return t.processParams && (r = t.processParams(r)), t.loadingState && (t.loadingState.value = !0), t.hideErrorToast && (n.hideErrorToast = !0), (n.method === "GET" ? hr : Ze)(n, r).then((o) => (t.loadingState && (t.loadingState.value = !1), (o == null ? void 0 : o.errno) == fa ? (Ie().logout(!1), null) : o)).catch((o) => (t.loadingState && (t.loadingState.value = !1), null));
5401
+ return t.processParams && (r = t.processParams(r)), t.loadingState && (t.loadingState.value = !0), t.hideErrorToast && (n.hideErrorToast = !0), (n.method === "GET" ? hr : et)(n, r).then((o) => (t.loadingState && (t.loadingState.value = !1), (o == null ? void 0 : o.errno) == fa ? (Ie().logout(!1), null) : o)).catch((o) => (t.loadingState && (t.loadingState.value = !1), null));
5402
5402
  }, yn = (e, t) => {
5403
5403
  t.params || (t.params = {}), t.params.Query || (t.params.Query = {});
5404
5404
  const a = da(e, t);
@@ -5936,7 +5936,7 @@ const st = new Bi(), gt = (e, t, a) => {
5936
5936
  },
5937
5937
  ...s
5938
5938
  };
5939
- return l.loadingText = !1, n || (n = {}), n.Query || (n.Query = {}), t.optionQuery = n, t.isOptionLoading.value = !0, (l.method === "GET" ? hr : Ze)(l, n).then((c) => {
5939
+ return l.loadingText = !1, n || (n = {}), n.Query || (n.Query = {}), t.optionQuery = n, t.isOptionLoading.value = !0, (l.method === "GET" ? hr : et)(l, n).then((c) => {
5940
5940
  if ((c == null ? void 0 : c.status) === ue.SUCCESS) {
5941
5941
  if (c.data)
5942
5942
  return c.data;
@@ -6202,12 +6202,12 @@ const st = new Bi(), gt = (e, t, a) => {
6202
6202
  editorCtrl: r,
6203
6203
  gridCtrl: s
6204
6204
  };
6205
- }, Xi = 10080 * 60 * 1e3, Ha = /* @__PURE__ */ new Map(), mr = /* @__PURE__ */ new Set(), je = R({}), Jc = je, qc = (e) => {
6205
+ }, Xi = 10080 * 60 * 1e3, Ha = /* @__PURE__ */ new Map(), mr = /* @__PURE__ */ new Set(), Je = R({}), Jc = Je, qc = (e) => {
6206
6206
  var r;
6207
6207
  if (!e.iconUrl) return sn;
6208
6208
  const t = R(!0), a = R("");
6209
6209
  let n = !0;
6210
- return (r = e.icons) != null && r.length && (n = e.icons.every((s) => je.value[s] !== void 0)), (e.icon && !je.value[e.icon] || !n) && zi(e, t).then(() => {
6210
+ return (r = e.icons) != null && r.length && (n = e.icons.every((s) => Je.value[s] !== void 0)), (e.icon && !Je.value[e.icon] || !n) && zi(e, t).then(() => {
6211
6211
  tc(e.iconUrl, e.monoColor || !1), t.value = !0;
6212
6212
  }), Me({
6213
6213
  props: {
@@ -6252,7 +6252,7 @@ const st = new Bi(), gt = (e, t, a) => {
6252
6252
  },
6253
6253
  { immediate: !0 }
6254
6254
  ), j(
6255
- () => je.value,
6255
+ () => Je.value,
6256
6256
  () => {
6257
6257
  jt(a, l, l.value);
6258
6258
  },
@@ -6348,7 +6348,7 @@ const st = new Bi(), gt = (e, t, a) => {
6348
6348
  }
6349
6349
  }, jt = (e, t, a) => {
6350
6350
  setTimeout(() => {
6351
- t.value = a, t.value && (e.value = je.value[t.value]);
6351
+ t.value = a, t.value && (e.value = Je.value[t.value]);
6352
6352
  }, 1);
6353
6353
  }, sn = ye(
6354
6354
  "svg",
@@ -6381,7 +6381,7 @@ const st = new Bi(), gt = (e, t, a) => {
6381
6381
  const i = l.id, c = Array.from(o).find((m) => m.id === i);
6382
6382
  c && t && (c.innerHTML = l.innerHTML, c.querySelectorAll("*").forEach((m) => {
6383
6383
  m.hasAttribute("fill") && m.removeAttribute("fill");
6384
- })), je.value[i] || (je.value[i] = ye("svg", { fill: "currentColor" }, [ye("use", { "xlink:href": `#${i}` })]));
6384
+ })), Je.value[i] || (Je.value[i] = ye("svg", { fill: "currentColor" }, [ye("use", { "xlink:href": `#${i}` })]));
6385
6385
  }
6386
6386
  }, nc = (e, t) => {
6387
6387
  let a = "";
@@ -6444,7 +6444,7 @@ const st = new Bi(), gt = (e, t, a) => {
6444
6444
  * @param hostKey 站点信息,默认为当前主域名
6445
6445
  */
6446
6446
  async loadHostInfo(e, t) {
6447
- if (Be()) {
6447
+ if (Ye()) {
6448
6448
  const n = await Tt.getHostInfo();
6449
6449
  this._setHostInfo(n);
6450
6450
  return;
@@ -6453,7 +6453,7 @@ const st = new Bi(), gt = (e, t, a) => {
6453
6453
  return (!a || a === "/") && (a = window.location.origin), a.endsWith("/") && (a = a.slice(0, -1)), new Promise((n) => {
6454
6454
  Ca.SITEHOST_API || (Ca.SITEHOST_API = a);
6455
6455
  const r = t || window.location.origin;
6456
- Pn.SITE_HOST = r, Ze(es.host, {
6456
+ Pn.SITE_HOST = r, et(es.host, {
6457
6457
  Query: {
6458
6458
  Host: r
6459
6459
  }
@@ -6538,7 +6538,7 @@ const st = new Bi(), gt = (e, t, a) => {
6538
6538
  },
6539
6539
  { immediate: !0, deep: !0 }
6540
6540
  );
6541
- const l = t, { editorCtrl: i, errInfo: c } = mt(), { t: m } = ia(), _ = at(() => {
6541
+ const l = t, { editorCtrl: i, errInfo: c } = mt(), { t: m } = ia(), _ = Be(() => {
6542
6542
  switch (a.size) {
6543
6543
  case "small":
6544
6544
  return "w-[46px]";
@@ -6645,7 +6645,7 @@ const st = new Bi(), gt = (e, t, a) => {
6645
6645
  }), (S, L) => {
6646
6646
  var d;
6647
6647
  return ie(), he("div", null, [
6648
- qe(q(Ns), Dt({
6648
+ Qe(q(Ns), Dt({
6649
6649
  value: l.value,
6650
6650
  "onUpdate:value": L[0] || (L[0] = (g) => l.value = g),
6651
6651
  class: ["w-full", (d = q(c)) == null ? void 0 : d.errClass],
@@ -6654,10 +6654,10 @@ const st = new Bi(), gt = (e, t, a) => {
6654
6654
  onSelect: F
6655
6655
  }, q(n), { "allow-clear": !1 }), {
6656
6656
  option: Ue(({ label: g }) => [
6657
- aa(Qe(g), 1)
6657
+ aa(Xe(g), 1)
6658
6658
  ]),
6659
6659
  default: Ue(() => [
6660
- qe(q(Ts), {
6660
+ Qe(q(Ts), {
6661
6661
  "allow-clear": "",
6662
6662
  placeholder: q(P)("webui.components.form.autoComplete.pleaseInputAndSelect", [q(m)])
6663
6663
  }, null, 8, ["placeholder"])
@@ -6726,12 +6726,12 @@ const st = new Bi(), gt = (e, t, a) => {
6726
6726
  }), pt(() => {
6727
6727
  o && Vt(o, a);
6728
6728
  }), (S, L) => (ie(), he("div", rc, [
6729
- qe(q(Ls), Dt({
6729
+ Qe(q(Ls), Dt({
6730
6730
  onChange: _,
6731
6731
  class: "w-full mb-[-3px]"
6732
6732
  }, q(n)), {
6733
6733
  default: Ue(() => [
6734
- m.value.length > 0 ? (ie(!0), he(Je, { key: 0 }, on(m.value, (d) => {
6734
+ m.value.length > 0 ? (ie(!0), he(qe, { key: 0 }, on(m.value, (d) => {
6735
6735
  var g;
6736
6736
  return ie(), Zt(q(Os), {
6737
6737
  key: d.value,
@@ -6745,11 +6745,11 @@ const st = new Bi(), gt = (e, t, a) => {
6745
6745
  ])
6746
6746
  }, {
6747
6747
  default: Ue(() => [
6748
- aa(Qe(d.label), 1)
6748
+ aa(Xe(d.label), 1)
6749
6749
  ]),
6750
6750
  _: 2
6751
6751
  }, 1032, ["value", "disabled", "class"]);
6752
- }), 128)) : e.nodata ? (ie(), he("div", sc, Qe(e.nodata), 1)) : lt("", !0)
6752
+ }), 128)) : e.nodata ? (ie(), he("div", sc, Xe(e.nodata), 1)) : lt("", !0)
6753
6753
  ]),
6754
6754
  _: 1
6755
6755
  }, 16)
@@ -6828,7 +6828,7 @@ const st = new Bi(), gt = (e, t, a) => {
6828
6828
  }), pt(() => {
6829
6829
  o && Vt(o, a);
6830
6830
  }), (d, g) => (ie(), he("div", oc, [
6831
- qe(q(As), Dt({
6831
+ Qe(q(As), Dt({
6832
6832
  value: i.value,
6833
6833
  "onUpdate:value": g[0] || (g[0] = (N) => i.value = N),
6834
6834
  autocheck: !1,
@@ -6836,9 +6836,9 @@ const st = new Bi(), gt = (e, t, a) => {
6836
6836
  class: "w-full flex align-items flex-wrap mb-[-3px]"
6837
6837
  }, q(n)), {
6838
6838
  default: Ue(() => [
6839
- m.value.length > 0 ? (ie(!0), he(Je, { key: 0 }, on(m.value, (N) => {
6839
+ m.value.length > 0 ? (ie(!0), he(qe, { key: 0 }, on(m.value, (N) => {
6840
6840
  var v;
6841
- return ie(), he(Je, {
6841
+ return ie(), he(qe, {
6842
6842
  key: N.value
6843
6843
  }, [
6844
6844
  N.visible !== !1 ? (ie(), Zt(q(Ps), {
@@ -6853,12 +6853,12 @@ const st = new Bi(), gt = (e, t, a) => {
6853
6853
  ])
6854
6854
  }, {
6855
6855
  default: Ue(() => [
6856
- aa(Qe(N.label), 1)
6856
+ aa(Xe(N.label), 1)
6857
6857
  ]),
6858
6858
  _: 2
6859
6859
  }, 1032, ["checked", "value", "class"])) : lt("", !0)
6860
6860
  ], 64);
6861
- }), 128)) : e.nodata ? (ie(), he("div", lc, Qe(e.nodata), 1)) : lt("", !0)
6861
+ }), 128)) : e.nodata ? (ie(), he("div", lc, Xe(e.nodata), 1)) : lt("", !0)
6862
6862
  ]),
6863
6863
  _: 1
6864
6864
  }, 16, ["value"])
@@ -6984,10 +6984,10 @@ const st = new Bi(), gt = (e, t, a) => {
6984
6984
  var E, C, k;
6985
6985
  return ie(), he("div", null, [
6986
6986
  (C = (E = q(c)) == null ? void 0 : E.url) != null && C.loading ? (ie(), he("div", ic, [
6987
- qe(q(sn), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
6988
- Is("span", null, Qe(q(P)("webui.components.form.upload.dataLoading")), 1)
6987
+ Qe(q(sn), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
6988
+ Is("span", null, Xe(q(P)("webui.components.form.upload.dataLoading")), 1)
6989
6989
  ])) : lt("", !0),
6990
- qe(q(ws), Dt({
6990
+ Qe(q(ws), Dt({
6991
6991
  class: [(k = q(o)) == null ? void 0 : k.errClass, "w-full"],
6992
6992
  value: I.value,
6993
6993
  "onUpdate:value": O[0] || (O[0] = (M) => I.value = M),
@@ -6997,7 +6997,7 @@ const st = new Bi(), gt = (e, t, a) => {
6997
6997
  "label-in-value": !1
6998
6998
  }, q(m)), {
6999
6999
  default: Ue(() => [
7000
- (ie(!0), he(Je, null, on(L.value, (M) => (ie(), he(Je, {
7000
+ (ie(!0), he(qe, null, on(L.value, (M) => (ie(), he(qe, {
7001
7001
  key: M.value
7002
7002
  }, [
7003
7003
  M.visible !== !1 ? (ie(), Zt(q(Fs), {
@@ -7005,7 +7005,7 @@ const st = new Bi(), gt = (e, t, a) => {
7005
7005
  value: M.value
7006
7006
  }, {
7007
7007
  default: Ue(() => [
7008
- aa(Qe(M.label), 1)
7008
+ aa(Xe(M.label), 1)
7009
7009
  ]),
7010
7010
  _: 2
7011
7011
  }, 1032, ["value"])) : lt("", !0)
@@ -7016,7 +7016,7 @@ const st = new Bi(), gt = (e, t, a) => {
7016
7016
  ]);
7017
7017
  };
7018
7018
  }
7019
- }), cc = R(!1), su = {
7019
+ }), cc = R(!1), su = Be(() => ({
7020
7020
  label: P("webui.utils.tools.templateManagement"),
7021
7021
  key: "uploadTemp",
7022
7022
  type: "primary",
@@ -7024,7 +7024,7 @@ const st = new Bi(), gt = (e, t, a) => {
7024
7024
  click: () => {
7025
7025
  cc.value = !0;
7026
7026
  }
7027
- };
7027
+ }));
7028
7028
  export {
7029
7029
  P as $,
7030
7030
  _a as A,
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ue, ref as R, computed as I, watch as $, resolveDirective as de, openBlock as d, createElementBlock as m, normalizeClass as z, unref as n, createElementVNode as w, withDirectives as b, createBlock as V, mergeProps as G, withCtx as v, createVNode as p, createTextVNode as E, toDisplayString as U, createCommentVNode as y, Fragment as pe, renderList as me } from "vue";
2
- import { _ as H } from "./index-CHodwCV7.js";
3
- import { a as B, _ as K } from "./toolIcon-UCvhWJXc.js";
2
+ import { _ as H } from "./index-R9svKNdp.js";
3
+ import { a as B, _ as K } from "./toolIcon-WFPoslp_.js";
4
4
  import { httpPost as N, ResStatus as j } from "@skyfox2000/fapi";
5
- import { L as X, u as Y, $ as a, v as fe, _ as he } from "./upload-template-0m5syH0g.js";
5
+ import { L as X, u as Y, $ as a, v as fe, _ as he } from "./upload-template-DVc1qyuw.js";
6
6
  import F from "vue-m-message";
7
7
  import { Upload as J, Tag as we, Popconfirm as ve, Progress as xe } from "ant-design-vue";
8
- import { U as r, f as be, p as W } from "./file-upload-Cl0wcjbE.js";
8
+ import { U as r, f as be, p as W } from "./file-upload-1onUoGTf.js";
9
9
  import { combineParams as Z } from "@skyfox2000/microbase";
10
10
  import "async-validator";
11
11
  import "dayjs";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as V, defineAsyncComponent as J, ref as m, watch as K, onMounted as W, openBlock as p, createElementBlock as x, Fragment as z, createElementVNode as f, toDisplayString as $, unref as l, createVNode as N, createBlock as A, withKeys as v, withModifiers as w, normalizeClass as O, withCtx as L, createCommentVNode as q } from "vue";
2
2
  import "ant-design-vue";
3
- import { _ as D } from "../../assets/modules/toolIcon-UCvhWJXc.js";
3
+ import { _ as D } from "../../assets/modules/toolIcon-WFPoslp_.js";
4
4
  import "@skyfox2000/fapi";
5
- import { $ as b } from "../../assets/modules/upload-template-0m5syH0g.js";
5
+ import { $ as b } from "../../assets/modules/upload-template-DVc1qyuw.js";
6
6
  import "vue-m-message";
7
- import { _ as Q } from "../../assets/modules/index-egH3AWrg.js";
7
+ import { _ as Q } from "../../assets/modules/index-C9FBzx-i.js";
8
8
  import "@skyfox2000/microbase";
9
9
  import "async-validator";
10
10
  import "dayjs";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, openBlock as o, createBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as w, KeepAlive as y, unref as n, resolveDynamicComponent as I } from "vue";
2
- import { _ as g } from "../../assets/modules/baseLayout-Z_8I5P3r.js";
3
- import { an as A, a as S } from "../../assets/modules/upload-template-0m5syH0g.js";
2
+ import { _ as g } from "../../assets/modules/baseLayout-DBuJkmDP.js";
3
+ import { an as A, a as S } from "../../assets/modules/upload-template-DVc1qyuw.js";
4
4
  import "@skyfox2000/microbase";
5
5
  import "@skyfox2000/fapi";
6
6
  import b from "vue-m-message";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, openBlock as n, createBlock as p, unref as r, withCtx as e, createVNode as m, createTextVNode as c, toDisplayString as a } from "vue";
2
- import { r as s } from "../../assets/modules/upload-template-0m5syH0g.js";
2
+ import { r as s } from "../../assets/modules/upload-template-DVc1qyuw.js";
3
3
  import "@skyfox2000/microbase";
4
4
  import "@skyfox2000/fapi";
5
5
  import "vue-m-message";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, openBlock as n, createBlock as p, unref as e, withCtx as r, createVNode as m, createTextVNode as a, toDisplayString as c } from "vue";
2
- import { r as u } from "../../assets/modules/upload-template-0m5syH0g.js";
2
+ import { r as u } from "../../assets/modules/upload-template-DVc1qyuw.js";
3
3
  import "@skyfox2000/microbase";
4
4
  import "@skyfox2000/fapi";
5
5
  import "vue-m-message";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as be, ref as p, computed as S, watch as H, onMounted as he, openBlock as f, createBlock as Q, unref as r, withCtx as D, renderSlot as W, createElementBlock as g, createVNode as _, createTextVNode as Z, toDisplayString as E, createCommentVNode as B, createElementVNode as b, normalizeClass as Fe, Fragment as ie, renderList as ne } from "vue";
2
- import { _ as J } from "../../assets/modules/index-CHodwCV7.js";
2
+ import { _ as J } from "../../assets/modules/index-R9svKNdp.js";
3
3
  import { Modal as Ce, Upload as ce, Space as Ue } from "ant-design-vue";
4
4
  import { httpGet as _e, ResStatus as de } from "@skyfox2000/fapi";
5
- import { $ as a, H as Ee, Z as Te, S as Re } from "../../assets/modules/upload-template-0m5syH0g.js";
5
+ import { $ as a, H as Ee, Z as Te, S as Re } from "../../assets/modules/upload-template-DVc1qyuw.js";
6
6
  import m from "vue-m-message";
7
- import { c as pe, _ as Y, a as Se, p as De, i as ke } from "../../assets/modules/index-BPYPV4jB.js";
8
- import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-Cl0wcjbE.js";
7
+ import { c as pe, _ as Y, a as Se, p as De, i as ke } from "../../assets/modules/index-DrEUUYeh.js";
8
+ import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-1onUoGTf.js";
9
9
  import "@skyfox2000/microbase";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, openBlock as o, createBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as w, KeepAlive as I, unref as n, resolveDynamicComponent as g } from "vue";
2
- import { _ as y } from "../../assets/modules/baseLayout-Z_8I5P3r.js";
3
- import { an as A, a as S } from "../../assets/modules/upload-template-0m5syH0g.js";
2
+ import { _ as y } from "../../assets/modules/baseLayout-DBuJkmDP.js";
3
+ import { an as A, a as S } from "../../assets/modules/upload-template-DVc1qyuw.js";
4
4
  import "@skyfox2000/microbase";
5
5
  import "@skyfox2000/fapi";
6
6
  import k from "vue-m-message";
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as T, ref as l, watch as x, onMounted as F, openBlock as C, createBlock as q, unref as u, withCtx as d, createVNode as f, createTextVNode as L, toDisplayString as b } from "vue";
2
- import { _ as g } from "../../assets/modules/index-CHodwCV7.js";
2
+ import { _ as g } from "../../assets/modules/index-R9svKNdp.js";
3
3
  import { Modal as D, Space as z } from "ant-design-vue";
4
4
  import { httpPost as N, ResStatus as O } from "@skyfox2000/fapi";
5
- import { am as n, $ as w } from "../../assets/modules/upload-template-0m5syH0g.js";
5
+ import { am as n, $ as w } from "../../assets/modules/upload-template-DVc1qyuw.js";
6
6
  import "vue-m-message";
7
- import { U as M } from "../../assets/modules/file-upload-Cl0wcjbE.js";
7
+ import { U as M } from "../../assets/modules/file-upload-1onUoGTf.js";
8
8
  import "@skyfox2000/microbase";
9
9
  import "async-validator";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
12
- import { U as $ } from "../../assets/modules/uploadList-LIJgk4DF.js";
12
+ import { U as $ } from "../../assets/modules/uploadList-BrlcxnaO.js";
13
13
  const H = /* @__PURE__ */ T({
14
14
  __name: "templateFile",
15
15
  props: {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as F, ref as s, watch as y, onMounted as z, openBlock as D, createBlock as _, unref as u, withCtx as p, createVNode as m, mergeProps as L, createTextVNode as w, toDisplayString as C } from "vue";
2
- import { _ as g } from "../../assets/modules/index-CHodwCV7.js";
2
+ import { _ as g } from "../../assets/modules/index-R9svKNdp.js";
3
3
  import { Modal as k, Space as N } from "ant-design-vue";
4
4
  import { ResStatus as T } from "@skyfox2000/fapi";
5
- import { $ as v, a2 as $ } from "../../assets/modules/upload-template-0m5syH0g.js";
5
+ import { $ as v, a2 as $ } from "../../assets/modules/upload-template-DVc1qyuw.js";
6
6
  import A from "vue-m-message";
7
7
  import "@skyfox2000/microbase";
8
8
  import "async-validator";
9
9
  import "dayjs";
10
- import { A as E } from "../../assets/modules/file-upload-Cl0wcjbE.js";
10
+ import { A as E } from "../../assets/modules/file-upload-1onUoGTf.js";
11
11
  import "vue-draggable-next";
12
- import { U as B } from "../../assets/modules/uploadList-LIJgk4DF.js";
12
+ import { U as B } from "../../assets/modules/uploadList-BrlcxnaO.js";
13
13
  const W = /* @__PURE__ */ F({
14
14
  __name: "uploadForm",
15
15
  props: {
@@ -1,4 +1,4 @@
1
1
  import { ButtonTool } from '../typings/tools';
2
- import { Ref } from 'vue';
2
+ import { Ref, ComputedRef } from 'vue';
3
3
  export declare const uploadTempOpener: Ref<boolean, boolean>;
4
- export declare const uploadTempBtn: ButtonTool;
4
+ export declare const uploadTempBtn: ComputedRef<ButtonTool>;
package/lib/webui.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { u as Ae, i as ve, a as ze, $ as y, L as $t, c as Dt, P as oe, o as Qe, b as Ft, d as Pt, e as Je, g as Xe, r as fe, f as Ze, h as et, j as tt, k as It, l as be, m as at, _ as lt, n as rt, O as Oe, p as Et, q as ot, s as Lt, t as Ut, v as te, w as Mt, x as Nt, y as Rt, z as Bt, A as At, B as zt, C as se, D as Ot, E as de, F as Kt, G as jt, H as st, M as Vt } from "./assets/modules/upload-template-0m5syH0g.js";
2
- import { I as Vr, J as Yr, K as Gr, N as Wr, Q as Hr, R as qr, S as Qr, T as Jr, U as Xr, V as Zr, W as eo, X as to, Y as ao, Z as lo, a0 as ro, a1 as oo, a2 as so, a3 as no, a4 as io, a5 as co, a6 as uo, a7 as po, a8 as fo, a9 as vo, aa as mo, ab as go, ac as ho, ad as bo, ae as xo, af as yo, ag as wo, ah as ko, ai as _o, aj as Co, ak as So, al as To, am as $o, an as Do, ao as Fo, ap as Po, aq as Io, ar as Eo, as as Lo, at as Uo, au as Mo } from "./assets/modules/upload-template-0m5syH0g.js";
3
- import { f as Yt, p as Ye } from "./assets/modules/file-upload-Cl0wcjbE.js";
4
- import { A as Ro, U as Bo } from "./assets/modules/file-upload-Cl0wcjbE.js";
1
+ import { u as Ae, i as ve, a as ze, $ as y, L as $t, c as Dt, P as oe, o as Qe, b as Ft, d as Pt, e as Je, g as Xe, r as fe, f as Ze, h as et, j as tt, k as It, l as be, m as at, _ as lt, n as rt, O as Oe, p as Et, q as ot, s as Lt, t as Ut, v as te, w as Mt, x as Nt, y as Rt, z as Bt, A as At, B as zt, C as se, D as Ot, E as de, F as Kt, G as jt, H as st, M as Vt } from "./assets/modules/upload-template-DVc1qyuw.js";
2
+ import { I as Vr, J as Yr, K as Gr, N as Wr, Q as Hr, R as qr, S as Qr, T as Jr, U as Xr, V as Zr, W as eo, X as to, Y as ao, Z as lo, a0 as ro, a1 as oo, a2 as so, a3 as no, a4 as io, a5 as co, a6 as uo, a7 as po, a8 as fo, a9 as vo, aa as mo, ab as go, ac as ho, ad as bo, ae as xo, af as yo, ag as wo, ah as ko, ai as _o, aj as Co, ak as So, al as To, am as $o, an as Do, ao as Fo, ap as Po, aq as Io, ar as Eo, as as Lo, at as Uo, au as Mo } from "./assets/modules/upload-template-DVc1qyuw.js";
3
+ import { f as Yt, p as Ye } from "./assets/modules/file-upload-1onUoGTf.js";
4
+ import { A as Ro, U as Bo } from "./assets/modules/file-upload-1onUoGTf.js";
5
5
  import { EnvConfig as Ee, isMicroApp as Gt } from "@skyfox2000/microbase";
6
6
  import { FrontCache as he, httpPost as Ke, ResStatus as je, SERVER_HOST as Wt, fieldMapping as xe } from "@skyfox2000/fapi";
7
7
  import ae from "vue-m-message";
@@ -10,15 +10,15 @@ import "async-validator";
10
10
  import Re from "dayjs";
11
11
  import { Popover as Jt, theme as ct, Drawer as Xt, Space as pe, Form as ut, message as Zt, FormItem as dt, ConfigProvider as we, Popconfirm as pt, DropdownButton as ft, Menu as Te, MenuItem as $e, Dropdown as Be, Checkbox as ea, List as ta, ListItem as aa, Card as la, Button as vt, Table as mt, Tree as ra, Cascader as oa, DatePicker as sa, Input as me, InputPassword as na, InputNumber as ia, RangePicker as ca, Textarea as ua, TimePicker as da, Transfer as pa, TreeSelect as fa, Upload as va, Image as ma, LayoutContent as ga } from "ant-design-vue";
12
12
  import { VueDraggableNext as ha } from "vue-draggable-next";
13
- import { d as ba } from "./assets/modules/uploadList-LIJgk4DF.js";
14
- import { C as zo, U as Oo, a as Ko, p as jo } from "./assets/modules/uploadList-LIJgk4DF.js";
15
- import { c as gt } from "./assets/modules/index-BPYPV4jB.js";
16
- import { _ as Yo, a as Go, b as Wo, d as Ho, e as qo, f as Qo, g as Jo, h as Xo, n as Zo, p as es, t as ts, v as as } from "./assets/modules/index-BPYPV4jB.js";
17
- import { _ as ee } from "./assets/modules/index-CHodwCV7.js";
18
- import { _ as Y } from "./assets/modules/toolIcon-UCvhWJXc.js";
19
- import { a as rs } from "./assets/modules/toolIcon-UCvhWJXc.js";
20
- import { _ as ss, a as ns, b as is, c as cs, d as us, I as ds, e as ps, f as fs, g as vs } from "./assets/modules/menuTabs-DI8dZ2Gm.js";
21
- import { _ as gs } from "./assets/modules/index-egH3AWrg.js";
13
+ import { d as ba } from "./assets/modules/uploadList-BrlcxnaO.js";
14
+ import { C as zo, U as Oo, a as Ko, p as jo } from "./assets/modules/uploadList-BrlcxnaO.js";
15
+ import { c as gt } from "./assets/modules/index-DrEUUYeh.js";
16
+ import { _ as Yo, a as Go, b as Wo, d as Ho, e as qo, f as Qo, g as Jo, h as Xo, n as Zo, p as es, t as ts, v as as } from "./assets/modules/index-DrEUUYeh.js";
17
+ import { _ as ee } from "./assets/modules/index-R9svKNdp.js";
18
+ import { _ as Y } from "./assets/modules/toolIcon-WFPoslp_.js";
19
+ import { a as rs } from "./assets/modules/toolIcon-WFPoslp_.js";
20
+ import { _ as ss, a as ns, b as is, c as cs, d as us, I as ds, e as ps, f as fs, g as vs } from "./assets/modules/menuTabs-THGG3jxk.js";
21
+ import { _ as gs } from "./assets/modules/index-C9FBzx-i.js";
22
22
  import { _ as ce } from "./assets/modules/_plugin-vue_export-helper-CHgC5LLL.js";
23
23
  const We = (r, a, e, t = "remove") => {
24
24
  if (!e)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyfox2000/webui",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "description": "后台前端通用组件定义, 支持国际化",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -1,11 +1,11 @@
1
1
  import { ButtonTool } from '@/typings/tools';
2
- import { ref } from 'vue';
2
+ import { ref, computed } from 'vue';
3
3
  import { $t } from '@/locales';
4
4
 
5
5
  export const uploadTempOpener = ref<boolean>(false);
6
6
 
7
- // 添加上传模板按钮
8
- export const uploadTempBtn: ButtonTool = {
7
+ // 添加上传模板按钮 - 使用 computed 动态获取翻译
8
+ export const uploadTempBtn = computed<ButtonTool>(() => ({
9
9
  label: $t('webui.utils.tools.templateManagement'),
10
10
  key: 'uploadTemp',
11
11
  type: 'primary',
@@ -13,4 +13,4 @@ export const uploadTempBtn: ButtonTool = {
13
13
  click: () => {
14
14
  uploadTempOpener.value = true;
15
15
  },
16
- };
16
+ }));