@skyfox2000/webui 1.6.8 → 1.6.9

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 (38) hide show
  1. package/lib/assets/modules/{baseLayout-CLYEvEZ4.js → baseLayout-BnwlI4vK.js} +4 -4
  2. package/lib/assets/modules/{file-upload-JSdbDIS7.js → file-upload-CWfVUeSn.js} +1 -1
  3. package/lib/assets/modules/{index-DDdkKF8p.js → index-7znR3nGt.js} +14 -14
  4. package/lib/assets/modules/{index-DeciUTEK.js → index-C6PIxlSk.js} +3 -3
  5. package/lib/assets/modules/{index--7cem1cg.js → index-CxITdYGV.js} +13 -13
  6. package/lib/assets/modules/{menuTabs-B6rKn3BF.js → menuTabs-5mpC7Vzh.js} +46 -46
  7. package/lib/assets/modules/{toolIcon-h7IPQaWC.js → toolIcon-x2jrUmnu.js} +5 -5
  8. package/lib/assets/modules/upload-template-BTj3zPWT.js +6764 -0
  9. package/lib/assets/modules/{uploadList-D4k7XnhK.js → uploadList-CzV1noAa.js} +68 -68
  10. package/lib/components/content/list/index.vue.d.ts +1 -1
  11. package/lib/es/AceEditor/index.js +4 -4
  12. package/lib/es/BasicLayout/index.js +6 -6
  13. package/lib/es/Error403/index.js +3 -3
  14. package/lib/es/Error404/index.js +3 -3
  15. package/lib/es/ExcelForm/index.js +18 -18
  16. package/lib/es/MenuLayout/index.js +9 -9
  17. package/lib/es/TemplateFile/index.js +6 -6
  18. package/lib/es/UploadForm/index.js +11 -11
  19. package/lib/webui.css +1 -1
  20. package/lib/webui.es.js +15 -15
  21. package/package.json +1 -1
  22. package/src/locales/en-US.json +44 -6
  23. package/src/utils/form-excel.ts +1 -1
  24. package/lib/assets/modules/upload-template-W04BQpEb.js +0 -6737
  25. package/lib/src/components/content/toolpanel/index.vue.d.ts +0 -15
  26. package/lib/src/components/form/autoComplete/index.vue.d.ts +0 -111
  27. package/lib/src/components/form/autoComplete/index.vue.js +0 -156
  28. package/lib/src/components/form/autoComplete/index.vue.js.map +0 -1
  29. package/lib/src/components/form/cascader/index.vue.d.ts +0 -91
  30. package/lib/src/components/form/input/index.vue.d.ts +0 -29
  31. package/lib/src/components/form/radio/index.vue.d.ts +0 -115
  32. package/lib/src/components/form/select/index.vue.d.ts +0 -130
  33. package/lib/src/components/form/switch/index.vue.d.ts +0 -96
  34. package/lib/src/components/form/transfer/index.vue.d.ts +0 -33
  35. package/lib/src/components/form/treeSelect/index.vue.d.ts +0 -48
  36. package/lib/src/components/form/upload/uploadList.vue.d.ts +0 -42
  37. package/lib/src/components/form/upload/uploadList.vue.js +0 -713
  38. package/lib/src/components/form/upload/uploadList.vue.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { defineComponent as _, onMounted as I, createBlock as s, openBlock as o, unref as e, withCtx as l, createCommentVNode as r, createVNode as p, createElementVNode as x, createElementBlock as y, toDisplayString as g, renderSlot as h } from "vue";
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-h7IPQaWC.js";
4
- import { I as C, _ as S, f as w, d as $, g as N } from "./menuTabs-B6rKn3BF.js";
5
- import { al as v, a as B, an as E } from "./upload-template-W04BQpEb.js";
3
+ import { a as b } from "./toolIcon-x2jrUmnu.js";
4
+ import { I as C, _ as S, e as w, c as $, f as N } from "./menuTabs-5mpC7Vzh.js";
5
+ import { an as v, a as B, as as E } from "./upload-template-BTj3zPWT.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-W04BQpEb.js";
7
+ import { $ as n, M as y, u as F } from "./upload-template-BTj3zPWT.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,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, i as U, av as V, L as j, u as T } from "./upload-template-W04BQpEb.js";
3
+ import { $ as d, L as U, u as V, i as j, av as T } from "./upload-template-BTj3zPWT.js";
4
4
  import E from "vue-m-message";
5
- import { defineComponent as S, useAttrs as B, createElementBlock as P, openBlock as y, createVNode as z, unref as v, mergeProps as _, computed as x, createBlock as D, withCtx as A, normalizeStyle as N } from "vue";
6
- import { Spin as L, Alert as O } from "ant-design-vue";
7
- import { _ as K } from "./toolIcon-h7IPQaWC.js";
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
+ import { Spin as N, Alert as O } from "ant-design-vue";
7
+ import { _ as K } from "./toolIcon-x2jrUmnu.js";
8
8
  const W = (l) => {
9
9
  const e = l.split(`
10
10
  `).filter((i) => i.trim() !== "");
@@ -153,7 +153,7 @@ const W = (l) => {
153
153
  });
154
154
  return await k({ headers: o, rows: t }, s, e);
155
155
  }, G = async (l, e) => {
156
- if (!e || U(e))
156
+ if (!e || j(e))
157
157
  return { hasError: !1 };
158
158
  const s = await g(l);
159
159
  if (!s) return { hasError: !0 };
@@ -163,7 +163,7 @@ const W = (l) => {
163
163
  }), c.length === 0 || a.length === 0)
164
164
  return E.error(d("webui.utils.formExcel.insufficientData")), { hasError: !0 };
165
165
  const r = new H({});
166
- r.messages(V.messages()), r.define(e);
166
+ r.messages(T.messages()), r.define(e);
167
167
  const o = await Q(c, a, r);
168
168
  return o.length > 0 || i.length > 0 ? {
169
169
  hasError: !0,
@@ -223,7 +223,7 @@ const W = (l) => {
223
223
  (n == null ? void 0 : n.data).forEach((u) => {
224
224
  t.add(u);
225
225
  });
226
- else throw (n == null ? void 0 : n.errno) == j ? (T().logout(!1), new Error("登录已过期")) : new Error(n == null ? void 0 : n.msg);
226
+ else throw (n == null ? void 0 : n.errno) == U ? (V().logout(!1), new Error("Login expired")) : new Error(n == null ? void 0 : n.msg);
227
227
  }
228
228
  if (t.size > 0) {
229
229
  const n = [];
@@ -315,7 +315,7 @@ const W = (l) => {
315
315
  setup(l) {
316
316
  const e = B();
317
317
  return (s, c) => (y(), P("div", Y, [
318
- z(v(L), _({ style: { "margin-top": "-10%" } }, v(e)), null, 16)
318
+ z(v(N), _({ style: { "margin-top": "-10%" } }, v(e)), null, 16)
319
319
  ]));
320
320
  }
321
321
  }), fe = /* @__PURE__ */ S({
@@ -346,7 +346,7 @@ const W = (l) => {
346
346
  icon: A(() => [
347
347
  (y(), D(K, {
348
348
  icon: r.value,
349
- style: N({ color: i.value }),
349
+ style: L({ color: i.value }),
350
350
  key: t.value
351
351
  }, null, 8, ["icon", "style"]))
352
352
  ]),
@@ -356,14 +356,14 @@ const W = (l) => {
356
356
  });
357
357
  export {
358
358
  fe as _,
359
- X as a,
359
+ ue as a,
360
360
  ie as b,
361
361
  ae as c,
362
- J as d,
363
- W as e,
364
- q as f,
362
+ X as d,
363
+ J as e,
364
+ W as f,
365
365
  ne as g,
366
- ue as h,
366
+ q as h,
367
367
  le as i,
368
368
  ce as n,
369
369
  g as p,
@@ -1,6 +1,6 @@
1
- import { defineComponent as d, useAttrs as f, createElementBlock as u, openBlock as x, createVNode as e, withCtx as n, unref as o, mergeProps as r, renderSlot as p } from "vue";
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-h7IPQaWC.js";
3
+ import { a as P, _ as k } from "./toolIcon-x2jrUmnu.js";
4
4
  const C = /* @__PURE__ */ d({
5
5
  inheritAttrs: !1,
6
6
  __name: "index",
@@ -73,7 +73,7 @@ const C = /* @__PURE__ */ d({
73
73
  const c = f(), t = i, a = l, m = () => {
74
74
  t.iconProps && t.iconProps.icons && (t.iconProps.iconIndex = (t.iconProps.iconIndex + 1) % t.iconProps.icons.length), a("click");
75
75
  };
76
- return (s, b) => (x(), u("div", null, [
76
+ return (s, b) => (u(), x("div", null, [
77
77
  e(P, {
78
78
  title: t.tiptext,
79
79
  disabled: t.tiptext ? void 0 : "disabled",
@@ -1,8 +1,8 @@
1
- import { defineComponent as B, provide as N, ref as A, watch as m, onMounted as V, createBlock as r, openBlock as d, unref as o, withCtx as n, createElementVNode as $, renderSlot as C, createVNode as D, createCommentVNode as u, createTextVNode as v, toDisplayString as f } from "vue";
2
- import { _ as c } from "./index-DeciUTEK.js";
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-C6PIxlSk.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-W04BQpEb.js";
5
+ import { P, d as K, $ as p, o as U, b as j } from "./upload-template-BTj3zPWT.js";
6
6
  import "vue-m-message";
7
7
  import "@skyfox2000/microbase";
8
8
  import "async-validator";
@@ -51,7 +51,7 @@ const q = { class: "overflow-y-auto w-full h-full" }, X = /* @__PURE__ */ B({
51
51
  }, g = () => {
52
52
  e ? K(e) : i.value = !1;
53
53
  };
54
- return (a, w) => (d(), r(o(E), {
54
+ return (a, w) => (r(), d(o(E), {
55
55
  open: i.value,
56
56
  "onUpdate:open": w[0] || (w[0] = (s) => i.value = s),
57
57
  wrapClassName: "modal mx-auto min-w-[430px] " + (t.full ? "full-modal w-full" : ""),
@@ -63,37 +63,37 @@ const q = { class: "overflow-y-auto w-full h-full" }, X = /* @__PURE__ */ B({
63
63
  default: n(() => {
64
64
  var s, S, x, y;
65
65
  return [
66
- t.cancelText !== "" ? (d(), r(o(c), {
66
+ t.cancelText !== "" ? (r(), d(o(c), {
67
67
  key: 0,
68
68
  onClick: g
69
69
  }, {
70
70
  default: n(() => [
71
- v(f(t.cancelText ?? o(p)("webui.common.cancel")), 1)
71
+ u(v(t.cancelText ?? o(p)("webui.common.cancel")), 1)
72
72
  ]),
73
73
  _: 1
74
- })) : u("", !0),
75
- t.saveAsText !== "" && ((s = o(e)) == null ? void 0 : s.saveAsBtnVisible) !== !1 ? (d(), r(o(c), {
74
+ })) : f("", !0),
75
+ t.saveAsText !== "" && ((s = o(e)) == null ? void 0 : s.saveAsBtnVisible) !== !1 ? (r(), d(o(c), {
76
76
  key: 1,
77
77
  onClick: F,
78
78
  type: "primary",
79
79
  loading: (S = o(e)) == null ? void 0 : S.isFormSaving.value
80
80
  }, {
81
81
  default: n(() => [
82
- v(f(t.saveAsText ?? o(p)("webui.common.saveAs")), 1)
82
+ u(v(t.saveAsText ?? o(p)("webui.common.saveAs")), 1)
83
83
  ]),
84
84
  _: 1
85
- }, 8, ["loading"])) : u("", !0),
86
- t.saveText !== "" && ((x = o(e)) == null ? void 0 : x.saveBtnVisible) !== !1 ? (d(), r(o(c), {
85
+ }, 8, ["loading"])) : f("", !0),
86
+ t.saveText !== "" && ((x = o(e)) == null ? void 0 : x.saveBtnVisible) !== !1 ? (r(), d(o(c), {
87
87
  key: 2,
88
88
  onClick: k,
89
89
  type: "primary",
90
90
  loading: (y = o(e)) == null ? void 0 : y.isFormSaving.value
91
91
  }, {
92
92
  default: n(() => [
93
- v(f(t.saveText ?? o(p)("webui.common.save")), 1)
93
+ u(v(t.saveText ?? o(p)("webui.common.save")), 1)
94
94
  ]),
95
95
  _: 1
96
- }, 8, ["loading"])) : u("", !0)
96
+ }, 8, ["loading"])) : f("", !0)
97
97
  ];
98
98
  }),
99
99
  _: 1
@@ -1,8 +1,8 @@
1
- import { defineComponent as x, createBlock as _, createCommentVNode as h, openBlock as c, unref as t, mergeProps as $, useAttrs as Y, computed as O, ref as b, watch as S, withCtx as m, createElementBlock as f, normalizeStyle as T, createElementVNode as g, inject as Z, onMounted as P, createVNode as u, toDisplayString as C, Fragment as L, renderList as U, createTextVNode as G, reactive as Q, nextTick as X, withModifiers as ee } from "vue";
2
- import { a as A, _ as k } from "./toolIcon-h7IPQaWC.js";
3
- import { c as D, Y as j, an as E, a1 as K, a0 as R, at as F, u as H, $ as w, M as te, as as V, au as ne, a as q, Z as oe, r as J, al as B } from "./upload-template-W04BQpEb.js";
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-x2jrUmnu.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-BTj3zPWT.js";
4
4
  import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { theme as M, Breadcrumb as ie, Modal as ae, Flex as ce, Dropdown as le, Menu as W, MenuItem as re, LayoutHeader as ue, Space as pe, Tabs as de, TabPane as me } from "ant-design-vue";
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";
7
7
  import { SERVER_HOST as N } from "@skyfox2000/fapi";
8
8
  import "vue-m-message";
@@ -272,13 +272,13 @@ const ge = /* @__PURE__ */ x({
272
272
  "update:iconIndex"
273
273
  ],
274
274
  setup(l, { emit: o }) {
275
- const s = Y(), e = l, r = o, i = O(() => {
275
+ const s = X(), e = l, r = o, i = O(() => {
276
276
  if (Array.isArray(e.size)) return e.size;
277
277
  {
278
278
  let a = e.size;
279
279
  return [a, a];
280
280
  }
281
- }), n = b(e.icon), p = b(e.iconIndex);
281
+ }), n = k(e.icon), p = k(e.iconIndex);
282
282
  S(
283
283
  () => e.icon,
284
284
  (a) => {
@@ -302,7 +302,7 @@ const ge = /* @__PURE__ */ x({
302
302
  const I = (a) => {
303
303
  if (a.stopPropagation(), e.clickEvent) {
304
304
  const v = e.clickEvent.split("#");
305
- v.length === 2 && Z("$" + v[0]).$emit(v[1], e.data);
305
+ v.length === 2 && G("$" + v[0]).$emit(v[1], e.data);
306
306
  }
307
307
  e.autoSwitch && e.icons.length > 0 && (d.value = (d.value + 1) % e.icons.length, n.value = e.icons[p.value]), r("click");
308
308
  }, y = () => {
@@ -361,7 +361,7 @@ const ge = /* @__PURE__ */ x({
361
361
  _: 1
362
362
  }, 8, ["title", "disabled", "color", "placement", "size"]));
363
363
  }
364
- }), We = /* @__PURE__ */ se(xe, [["__scopeId", "data-v-0146f00c"]]), ye = /* @__PURE__ */ x({
364
+ }), Je = /* @__PURE__ */ se(xe, [["__scopeId", "data-v-0146f00c"]]), ye = /* @__PURE__ */ x({
365
365
  __name: "projectIcon",
366
366
  props: {
367
367
  icon: {
@@ -395,7 +395,7 @@ const ge = /* @__PURE__ */ x({
395
395
  }), he = { class: "text-xs leading-[3]" }, ve = {
396
396
  key: 0,
397
397
  class: "leading-[2.5] mx-[6px] text-[rgba(0,0,0,0.45)]"
398
- }, be = /* @__PURE__ */ x({
398
+ }, ke = /* @__PURE__ */ x({
399
399
  __name: "index",
400
400
  setup(l) {
401
401
  const { useToken: o } = M, { token: s } = o(), e = E();
@@ -410,31 +410,31 @@ const ge = /* @__PURE__ */ x({
410
410
  backgroundColor: t(s).colorBgContainer
411
411
  })
412
412
  }, [
413
- u(t(k), {
413
+ u(t(b), {
414
414
  icon: "icon-home",
415
415
  class: "w-[15px] h-[15px]"
416
416
  }),
417
417
  i[0] || (i[0] = g("span", { class: "leading-[2.5] mx-[6px] text-[rgba(0,0,0,0.45)]" }, ">", -1)),
418
418
  u(t(ie), {
419
- routes: t(R),
419
+ routes: t(U),
420
420
  separator: ""
421
421
  }, {
422
422
  itemRender: m(({ route: n }) => [
423
423
  g("span", he, C(n.breadcrumbName), 1),
424
- u(t(k), {
424
+ u(t(b), {
425
425
  icon: n.icon,
426
426
  fontsize: "15px"
427
427
  }, null, 8, ["icon"]),
428
- n.index < t(R).length - 1 ? (c(), f("span", ve, ">")) : h("", !0)
428
+ n.index < t(U).length - 1 ? (c(), f("span", ve, ">")) : h("", !0)
429
429
  ]),
430
430
  _: 1
431
431
  }, 8, ["routes"])
432
432
  ], 4));
433
433
  }
434
- }), ke = { class: "font-['Courier'] text-[#666]" }, we = /* @__PURE__ */ x({
434
+ }), be = { class: "font-['Courier'] text-[#666]" }, we = /* @__PURE__ */ x({
435
435
  __name: "index",
436
436
  setup(l) {
437
- const o = b("");
437
+ const o = k("");
438
438
  return P(() => {
439
439
  setInterval(() => {
440
440
  const s = /* @__PURE__ */ new Date(), e = F(), r = {
@@ -448,12 +448,12 @@ const ge = /* @__PURE__ */ x({
448
448
  };
449
449
  o.value = s.toLocaleString(e, r);
450
450
  }, 1e3);
451
- }), (s, e) => (c(), f("div", ke, C(o.value), 1));
451
+ }), (s, e) => (c(), f("div", be, C(o.value), 1));
452
452
  }
453
453
  }), Se = { style: { margin: "0 0 0 20px", "font-weight": "400", "font-size": "16px" } }, Ce = /* @__PURE__ */ x({
454
454
  __name: "headerExits",
455
455
  setup(l) {
456
- const o = H(), s = b(!1), e = () => {
456
+ const o = H(), s = k(!1), e = () => {
457
457
  s.value = !1, fe() ? te.userLogout() : o.logout(!0);
458
458
  };
459
459
  return (r, i) => (c(), f(L, null, [
@@ -461,7 +461,7 @@ const ge = /* @__PURE__ */ x({
461
461
  title: t(w)("webui.components.layout.header.exitPlatform")
462
462
  }, {
463
463
  default: m(() => [
464
- u(t(k), {
464
+ u(t(b), {
465
465
  icon: "icon-logout",
466
466
  onClick: i[0] || (i[0] = (n) => s.value = !0),
467
467
  clickable: "",
@@ -487,7 +487,7 @@ const ge = /* @__PURE__ */ x({
487
487
  style: { padding: "0 32px", margin: "20px 0" }
488
488
  }, {
489
489
  default: m(() => [
490
- u(t(k), {
490
+ u(t(b), {
491
491
  icon: "icon-question-circle",
492
492
  color: "orange",
493
493
  class: "w-[60px] h-[60px]"
@@ -520,7 +520,7 @@ const ge = /* @__PURE__ */ x({
520
520
  }), Ae = { class: "flex items-center cursor-pointer" }, ze = /* @__PURE__ */ x({
521
521
  __name: "language",
522
522
  setup(l) {
523
- const o = V(), s = b(F()), e = o.length > 0, r = async (i) => {
523
+ const o = V(), s = k(F()), e = o.length > 0, r = async (i) => {
524
524
  try {
525
525
  await ne(i), s.value = i, window.location.reload();
526
526
  } catch (n) {
@@ -532,14 +532,14 @@ const ge = /* @__PURE__ */ x({
532
532
  placement: "bottomRight"
533
533
  }, {
534
534
  overlay: m(() => [
535
- u(t(W), null, {
535
+ u(t(J), null, {
536
536
  default: m(() => [
537
- (c(!0), f(L, null, U(t(o), (p) => (c(), _(t(re), {
537
+ (c(!0), f(L, null, R(t(o), (p) => (c(), _(t(re), {
538
538
  key: p.key,
539
539
  onClick: (d) => r(p.key)
540
540
  }, {
541
541
  default: m(() => [
542
- G(C(p.label), 1)
542
+ Q(C(p.label), 1)
543
543
  ]),
544
544
  _: 2
545
545
  }, 1032, ["onClick"]))), 128))
@@ -549,7 +549,7 @@ const ge = /* @__PURE__ */ x({
549
549
  ]),
550
550
  default: m(() => [
551
551
  g("div", Ae, [
552
- u(t(k), {
552
+ u(t(b), {
553
553
  icon: "icon-language",
554
554
  class: "w-[18px] h-[18px]"
555
555
  })
@@ -564,10 +564,10 @@ const ge = /* @__PURE__ */ x({
564
564
  }, Pe = {
565
565
  key: 2,
566
566
  class: "w-[1px] h-[16px] bg-[#d9d9d9] mx-[3px]"
567
- }, Ye = /* @__PURE__ */ x({
567
+ }, Xe = /* @__PURE__ */ x({
568
568
  __name: "index",
569
569
  setup(l) {
570
- const { useToken: o } = M, { token: s } = o(), e = q(), r = () => {
570
+ const { useToken: o } = M, { token: s } = o(), e = W(), r = () => {
571
571
  e.setMenuCollapse(!e.menuCollapse);
572
572
  }, i = (e.showLanguage ?? !0) && V().length > 1;
573
573
  return (n, p) => (c(), _(t(ue), {
@@ -582,14 +582,14 @@ const ge = /* @__PURE__ */ x({
582
582
  }, {
583
583
  default: m(() => [
584
584
  g("div", Be, [
585
- u(t(k), {
585
+ u(t(b), {
586
586
  icon: "icon-menu",
587
587
  clickable: "",
588
588
  class: "w-[18px] h-[18px]",
589
589
  angle: t(e).menuCollapse ? 90 : 0,
590
590
  onClick: r
591
591
  }, null, 8, ["angle"]),
592
- u(be)
592
+ u(ke)
593
593
  ]),
594
594
  g("div", null, [
595
595
  u(t(pe), {
@@ -612,15 +612,15 @@ const ge = /* @__PURE__ */ x({
612
612
  _: 1
613
613
  }, 8, ["style"]));
614
614
  }
615
- }), Ze = /* @__PURE__ */ x({
615
+ }), Ge = /* @__PURE__ */ x({
616
616
  __name: "index",
617
617
  props: {
618
618
  routes: {}
619
619
  },
620
620
  setup(l) {
621
- const o = l, s = b([]), e = b([]), r = Q([]), i = E(), n = (y) => {
621
+ const o = l, s = k([]), e = k([]), r = Y([]), i = E(), n = (y) => {
622
622
  B().push(y.key.toString());
623
- }, p = q(), d = b([]), I = () => {
623
+ }, p = W(), d = k([]), I = () => {
624
624
  let y = i.TabActive;
625
625
  const a = y.split("/");
626
626
  a.pop(), s.value = [a.join("/")], p.menuCollapse || (d.value = [a.join("/")]), e.value = [y];
@@ -628,7 +628,7 @@ const ge = /* @__PURE__ */ x({
628
628
  return S(
629
629
  () => p.menuCollapse,
630
630
  (y) => {
631
- y || (d.value = [], X(() => {
631
+ y || (d.value = [], Z(() => {
632
632
  d.value = [...s.value];
633
633
  }));
634
634
  }
@@ -638,8 +638,8 @@ const ge = /* @__PURE__ */ x({
638
638
  I();
639
639
  }
640
640
  ), P(() => {
641
- oe(o.routes, r, ye, { class: "!w-5 !h-5" }), i.setTabActive(J.currentRoute.value.path), I();
642
- }), (y, a) => (c(), _(t(W), {
641
+ oe(o.routes, r, ye, { class: "!w-5 !h-5" }), i.setTabActive(q.currentRoute.value.path), I();
642
+ }), (y, a) => (c(), _(t(J), {
643
643
  openKeys: d.value,
644
644
  "onUpdate:openKeys": a[0] || (a[0] = (v) => d.value = v),
645
645
  selectedKeys: e.value,
@@ -650,12 +650,12 @@ const ge = /* @__PURE__ */ x({
650
650
  onClick: n
651
651
  }, null, 8, ["openKeys", "selectedKeys", "items"]));
652
652
  }
653
- }), Le = { class: "flex items-center" }, Ee = { class: "flex" }, Me = ["onClick"], Ge = /* @__PURE__ */ x({
653
+ }), Le = { class: "flex items-center" }, Ee = { class: "flex" }, Me = ["onClick"], Qe = /* @__PURE__ */ x({
654
654
  __name: "menuTabs",
655
655
  setup(l) {
656
656
  const { useToken: o } = M, { token: s } = o(), e = E();
657
657
  S(
658
- () => J.currentRoute.value.path,
658
+ () => q.currentRoute.value.path,
659
659
  (n) => {
660
660
  n !== e.TabActive && e.setTabActive(n);
661
661
  }
@@ -676,7 +676,7 @@ const ge = /* @__PURE__ */ x({
676
676
  onTabClick: r
677
677
  }, {
678
678
  default: m(() => [
679
- (c(!0), f(L, null, U(t(e).TabPanes, (d) => (c(), _(t(me), {
679
+ (c(!0), f(L, null, R(t(e).TabPanes, (d) => (c(), _(t(me), {
680
680
  key: d.key
681
681
  }, {
682
682
  tab: m(() => [
@@ -693,7 +693,7 @@ const ge = /* @__PURE__ */ x({
693
693
  class: "inline-block mx-auto relative flex items-center",
694
694
  onClick: ee((I) => i(d.key), ["stop"])
695
695
  }, [
696
- u(t(k), {
696
+ u(t(b), {
697
697
  icon: "icon-new",
698
698
  angle: 45,
699
699
  clickable: "",
@@ -715,13 +715,13 @@ const ge = /* @__PURE__ */ x({
715
715
  }
716
716
  });
717
717
  export {
718
- We as I,
718
+ Je as I,
719
719
  ge as _,
720
- ye as a,
721
- be as b,
722
- we as c,
723
- Ye as d,
724
- Ce as e,
725
- Ze as f,
726
- Ge as g
720
+ ke as a,
721
+ we as b,
722
+ Xe as c,
723
+ Ce as d,
724
+ Ge as e,
725
+ Qe as f,
726
+ ye as g
727
727
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as i, createBlock as s, openBlock as l, unref as a, withCtx as p, renderSlot as f, createCommentVNode as u, mergeProps as d } from "vue";
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-W04BQpEb.js";
4
+ import { c as S } from "./upload-template-BTj3zPWT.js";
5
5
  const T = /* @__PURE__ */ i({
6
6
  __name: "index",
7
7
  props: {
@@ -9,7 +9,7 @@ const T = /* @__PURE__ */ i({
9
9
  },
10
10
  setup(o) {
11
11
  const e = o, t = {}, n = {};
12
- return e.size === "small" && (n.fontSize = "12px", n.padding = "4px 6px", n.minHeight = "26px", t.height = "30px"), (c, m) => (l(), s(a(I), {
12
+ return e.size === "small" && (n.fontSize = "12px", n.padding = "4px 6px", n.minHeight = "26px", t.height = "30px"), (c, m) => (s(), l(a(I), {
13
13
  overlayInnerStyle: n,
14
14
  overlayStyle: t
15
15
  }, {
@@ -36,12 +36,12 @@ const T = /* @__PURE__ */ i({
36
36
  icon: e.icon,
37
37
  icons: e.icons
38
38
  });
39
- return (c, m) => o.icon || o.icons ? (l(), s(a(n), d({
39
+ return (c, m) => o.icon || o.icons ? (s(), l(a(n), u({
40
40
  key: 0,
41
41
  icon: o.icon,
42
42
  icons: o.icons,
43
43
  class: ["align-middle"]
44
- }, c.$attrs), null, 16, ["icon", "icons"])) : u("", !0);
44
+ }, c.$attrs), null, 16, ["icon", "icons"])) : d("", !0);
45
45
  }
46
46
  });
47
47
  export {