@skyfox2000/webui 1.5.1 → 1.5.3

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.
@@ -902,7 +902,7 @@ const yt = {
902
902
  t.params || (t.params = {}), t.params.Query || (t.params.Query = {});
903
903
  const n = rn(e, t);
904
904
  return t.url = n, sn(e, t);
905
- }, pc = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || "开始执行...", t.url = rn(e, t), sn(e, t).then((n) => ((n == null ? void 0 : n.status) === le.SUCCESS && (t.hideErrorToast || te.success("执行成功!")), n))), pr = (e, t = {}) => {
905
+ }, mc = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || "开始执行...", t.url = rn(e, t), sn(e, t).then((n) => ((n == null ? void 0 : n.status) === le.SUCCESS && (t.hideErrorToast || te.success("执行成功!")), n))), pr = (e, t = {}) => {
906
906
  const n = t.primaryKey || "Id";
907
907
  if (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), !t.params.Data)
908
908
  return te.error("错误!无保存数据!"), Promise.resolve(null);
@@ -943,7 +943,7 @@ const yt = {
943
943
  return null;
944
944
  };
945
945
  let Nt;
946
- const _c = (e) => {
946
+ const pc = (e) => {
947
947
  Nt = new zn({}), Nt.messages({
948
948
  required: "${label}不能为空",
949
949
  types: {
@@ -970,7 +970,7 @@ const _c = (e) => {
970
970
  },
971
971
  ...e
972
972
  });
973
- }, gc = (e) => {
973
+ }, _c = (e) => {
974
974
  if (!e || he(e))
975
975
  return [];
976
976
  const t = [], n = Nt.messages(), a = (s, o, l) => {
@@ -1028,7 +1028,7 @@ const _c = (e) => {
1028
1028
  const t = e.formData.value, n = e.formRules.value;
1029
1029
  he(n) || (aa(e), e.ruleValidator || (e.ruleValidator = new zn({}), e.ruleValidator.messages(Nt.messages()), e.ruleValidator.define(n)), e.ruleResults.value = await e.ruleValidator.validate(t).then(() => {
1030
1030
  }).catch(({ fields: a }) => a));
1031
- }, hc = async (e, t, n) => (n || (n = new zn({}), n.messages(Nt.messages()), n.define(t)), n.validate(e).then(() => {
1031
+ }, gc = async (e, t, n) => (n || (n = new zn({}), n.messages(Nt.messages()), n.define(t)), n.validate(e).then(() => {
1032
1032
  }).catch(({ fields: a }) => a)), aa = (e) => {
1033
1033
  e.ruleResults.value = void 0;
1034
1034
  }, ot = () => {
@@ -1091,7 +1091,7 @@ const _c = (e) => {
1091
1091
  });
1092
1092
  }
1093
1093
  }), a.value.length > 0 && (s.value = "error"), { msg: r, ruleErrors: a, errClass: s };
1094
- }, Ec = (e, t) => {
1094
+ }, hc = (e, t) => {
1095
1095
  Rn(Pe.LabelText, e.label || ""), Rn(Pe.RuleKey, e.rule || "");
1096
1096
  const n = Ys(e, t);
1097
1097
  return Rn(Pe.ErrInfo, n), n;
@@ -1103,12 +1103,12 @@ const _c = (e) => {
1103
1103
  return t[n];
1104
1104
  if (t[n])
1105
1105
  return Bs(a, t[n].fields);
1106
- }, vc = (e) => {
1106
+ }, Ec = (e) => {
1107
1107
  _r(e);
1108
- }, bc = (e) => {
1108
+ }, vc = (e) => {
1109
1109
  const t = e.page, n = e.formData.value;
1110
1110
  n[e.primaryKey ?? t.primaryKey] = null, _r(e);
1111
- }, Ic = (e) => {
1111
+ }, bc = (e) => {
1112
1112
  ra(e), e.visible.value = !1;
1113
1113
  }, _r = async (e) => {
1114
1114
  var a;
@@ -1161,14 +1161,14 @@ const _c = (e) => {
1161
1161
  } else
1162
1162
  te.error((r == null ? void 0 : r.msg) ?? "保存失败!"), e.afterSave && e.afterSave(r);
1163
1163
  });
1164
- }, yc = async (e) => {
1164
+ }, Ic = async (e) => {
1165
1165
  const t = e.page, n = e.grid;
1166
1166
  e.isFormLoading.value = !0;
1167
1167
  const a = e.formData.value, r = e.primaryKey ?? t.primaryKey;
1168
1168
  return Er(n, { [r]: a[r] }, e.detailUrl).then((s) => {
1169
1169
  e.isFormLoading.value = !1, s && gr(e, s);
1170
1170
  });
1171
- }, Nc = (e) => {
1171
+ }, yc = (e) => {
1172
1172
  const t = e.grid;
1173
1173
  t && (t.rowData.value = void 0), e && (ra(e), e.visible && (e.visible.value = !1), setTimeout(() => {
1174
1174
  e.visible.value = !0;
@@ -1179,7 +1179,7 @@ const _c = (e) => {
1179
1179
  e.formData.value = JSON.parse(JSON.stringify(n));
1180
1180
  }, ra = (e) => {
1181
1181
  e.formData.value = e.default ? JSON.parse(JSON.stringify(e.default)) : {}, aa(e);
1182
- }, Tc = (e, t) => {
1182
+ }, Nc = (e, t) => {
1183
1183
  const n = be();
1184
1184
  return e.filter((r) => r.role && !n.hasRole(r.role) || r.permit && !n.hasPermit(nn.currentRoute.value.path, r.permit) || r.enabled === !1 ? !1 : typeof r.enabled == "function" ? r.enabled() : !0).filter((r) => {
1185
1185
  if (!t) {
@@ -1190,7 +1190,7 @@ const _c = (e) => {
1190
1190
  }
1191
1191
  return !0;
1192
1192
  });
1193
- }, Lc = (e, t) => {
1193
+ }, Tc = (e, t) => {
1194
1194
  const n = t == null ? void 0 : t.filter((a) => {
1195
1195
  const r = e.find(
1196
1196
  (s) => s.dataIndex === a.dataIndex || s.key === a.key || s.title === a.title
@@ -1237,7 +1237,7 @@ const _c = (e) => {
1237
1237
  ...n
1238
1238
  }).then((a) => ((a == null ? void 0 : a.status) === le.SUCCESS && setTimeout(() => {
1239
1239
  e.reload.value = !0, e.afterUpdate && e.afterUpdate(t);
1240
- }, 50), a)), Oc = (e, t) => {
1240
+ }, 50), a)), Lc = (e, t) => {
1241
1241
  const n = {};
1242
1242
  return n[e.primaryKey] = t[e.primaryKey], n[e.statusKey] = t[e.statusKey], Js(e, n, {
1243
1243
  loadingText: !1,
@@ -1248,13 +1248,13 @@ const _c = (e) => {
1248
1248
  url: n,
1249
1249
  params: t,
1250
1250
  loadingState: e.isGridLoading
1251
- }), Sc = (e, t) => {
1251
+ }), Oc = (e, t) => {
1252
1252
  const n = t;
1253
1253
  return Er(e, { [e.primaryKey]: n[e.primaryKey] }).then((a) => ((a == null ? void 0 : a.status) === le.SUCCESS && a.data && (e.expandRows.value[n[e.primaryKey]] = a), a));
1254
- }, Ac = (e, t) => {
1254
+ }, Sc = (e, t) => {
1255
1255
  let n = e.editor;
1256
1256
  e.rowData.value = t, n && (gr(n, t), n.visible.value = !0);
1257
- }, Pc = (e, t) => Ws(e, t, {
1257
+ }, Ac = (e, t) => Ws(e, t, {
1258
1258
  url: e.deleteUrl,
1259
1259
  primaryKey: e.primaryKey
1260
1260
  }).then((n) => ((n == null ? void 0 : n.status) === le.SUCCESS && setTimeout(() => {
@@ -1503,7 +1503,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1503
1503
  value: "Id"
1504
1504
  }
1505
1505
  }
1506
- }, Rc = (e) => {
1506
+ }, Pc = (e) => {
1507
1507
  X.PageOption = {
1508
1508
  ...X.PageOption,
1509
1509
  ...e.pageOption
@@ -1575,7 +1575,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1575
1575
  ), {
1576
1576
  gridCtrl: a
1577
1577
  };
1578
- }, kc = (e, t) => {
1578
+ }, Rc = (e, t) => {
1579
1579
  cn(e);
1580
1580
  const n = {
1581
1581
  ...X.TreeOption,
@@ -1618,7 +1618,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1618
1618
  ), {
1619
1619
  optionCtrl: n
1620
1620
  };
1621
- }, Dc = (e, t, n) => {
1621
+ }, kc = (e, t, n) => {
1622
1622
  cn(e);
1623
1623
  const a = {
1624
1624
  ...X.PageOption,
@@ -1629,7 +1629,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1629
1629
  editorCtrl: r,
1630
1630
  gridCtrl: s
1631
1631
  };
1632
- }, no = 7 * 24 * 60 * 60 * 1e3, Cn = /* @__PURE__ */ new Map(), La = /* @__PURE__ */ new Set(), We = R({}), Cc = We, wc = (e) => {
1632
+ }, no = 7 * 24 * 60 * 60 * 1e3, Cn = /* @__PURE__ */ new Map(), La = /* @__PURE__ */ new Set(), We = R({}), Dc = We, Cc = (e) => {
1633
1633
  var r;
1634
1634
  if (!e.iconUrl) return Vn;
1635
1635
  const t = R(!0), n = R("");
@@ -1766,7 +1766,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1766
1766
  return console.error("解析缓存失败:", r), null;
1767
1767
  }
1768
1768
  return a.expireTime < Date.now() ? (localStorage.removeItem(e), null) : a;
1769
- }, Mc = () => {
1769
+ }, wc = () => {
1770
1770
  const e = Date.now();
1771
1771
  for (const t in localStorage)
1772
1772
  if (t.startsWith("icon_cache:")) {
@@ -1813,7 +1813,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1813
1813
  }, io = (e, t) => {
1814
1814
  let n = "";
1815
1815
  return e && (n += `rotate(${e}deg)`), t && (n += " scaleX(-1)"), n;
1816
- }, Fc = (e, t, n, a) => {
1816
+ }, Mc = (e, t, n, a) => {
1817
1817
  Nr(e, [], n, a).forEach((s) => t.push(s));
1818
1818
  }, Nr = (e, t, n, a) => {
1819
1819
  var o, l, i, c, m, g;
@@ -1834,7 +1834,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1834
1834
  (P.length > 0 || !p.children) && r.push(T);
1835
1835
  }
1836
1836
  return r;
1837
- }, Oa = is([]), Uc = () => {
1837
+ }, Oa = is([]), Fc = () => {
1838
1838
  Oa.length = 0;
1839
1839
  const e = we();
1840
1840
  let n = ea().TabActive;
@@ -1859,7 +1859,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1859
1859
  // 不显示错误
1860
1860
  hideErrorToast: !0
1861
1861
  }
1862
- }, xc = Dt("hostInfo", {
1862
+ }, Uc = Dt("hostInfo", {
1863
1863
  state: () => ({
1864
1864
  hostInfo: {
1865
1865
  Host: "",
@@ -1949,7 +1949,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1949
1949
  // storage: localStorage,
1950
1950
  // pick: ['hostInfo'],
1951
1951
  // },
1952
- }), Vc = Dt("settingInfo", {
1952
+ }), xc = Dt("settingInfo", {
1953
1953
  state: () => ({
1954
1954
  fullscreen: !1,
1955
1955
  menuCollapse: !1,
@@ -1991,7 +1991,7 @@ const tt = new Xs(), dt = (e, t, n) => {
1991
1991
  }
1992
1992
  },
1993
1993
  persist: !1
1994
- }), $c = /* @__PURE__ */ De({
1994
+ }), Vc = /* @__PURE__ */ De({
1995
1995
  __name: "index",
1996
1996
  props: {
1997
1997
  ...wt,
@@ -2055,7 +2055,7 @@ const tt = new Xs(), dt = (e, t, n) => {
2055
2055
  }, p.$attrs), null, 16, ["size", "class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : rt("", !0);
2056
2056
  };
2057
2057
  }
2058
- }), Hc = /* @__PURE__ */ De({
2058
+ }), $c = /* @__PURE__ */ De({
2059
2059
  inheritAttrs: !1,
2060
2060
  __name: "index",
2061
2061
  props: {
@@ -2151,7 +2151,7 @@ const tt = new Xs(), dt = (e, t, n) => {
2151
2151
  }), uo = { class: "min-h-[32px] pt-[5px]" }, fo = {
2152
2152
  key: 1,
2153
2153
  class: "text-center text-gray-500"
2154
- }, Wc = /* @__PURE__ */ De({
2154
+ }, Hc = /* @__PURE__ */ De({
2155
2155
  inheritAttrs: !1,
2156
2156
  __name: "index",
2157
2157
  props: {
@@ -2239,7 +2239,7 @@ const tt = new Xs(), dt = (e, t, n) => {
2239
2239
  }), mo = { class: "min-h-[32px] pt-1" }, po = {
2240
2240
  key: 1,
2241
2241
  class: "text-center text-gray-500"
2242
- }, Gc = /* @__PURE__ */ De({
2242
+ }, Wc = /* @__PURE__ */ De({
2243
2243
  inheritAttrs: !1,
2244
2244
  __name: "index",
2245
2245
  props: {
@@ -2348,7 +2348,7 @@ const tt = new Xs(), dt = (e, t, n) => {
2348
2348
  }), _o = {
2349
2349
  key: 0,
2350
2350
  class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
2351
- }, Kc = /* @__PURE__ */ De({
2351
+ }, Gc = /* @__PURE__ */ De({
2352
2352
  inheritAttrs: !1,
2353
2353
  __name: "index",
2354
2354
  props: {
@@ -6293,17 +6293,7 @@ const at = {
6293
6293
  missingWarn: !1
6294
6294
  // 禁用缺失警告
6295
6295
  });
6296
- async function qi() {
6297
- try {
6298
- const e = await fetch("/locales/languages.json");
6299
- if (!e.ok)
6300
- throw new Error("Failed to load available languages");
6301
- qt = await e.json();
6302
- } catch (e) {
6303
- throw console.error("Error loading available languages:", e), e;
6304
- }
6305
- }
6306
- async function Zi(e) {
6296
+ async function qi(e) {
6307
6297
  try {
6308
6298
  const t = await fetch(`/locales/${e}.json`);
6309
6299
  if (!t.ok)
@@ -6314,7 +6304,7 @@ async function Zi(e) {
6314
6304
  return console.error(`Error loading locale ${e}:`, t), at[e] || {};
6315
6305
  }
6316
6306
  }
6317
- function zi(e) {
6307
+ function Zi(e) {
6318
6308
  try {
6319
6309
  const t = localStorage.getItem(`locale_cache_${e}`);
6320
6310
  if (t)
@@ -6324,7 +6314,7 @@ function zi(e) {
6324
6314
  }
6325
6315
  return null;
6326
6316
  }
6327
- function ec(e, t) {
6317
+ function zi(e, t) {
6328
6318
  try {
6329
6319
  const n = {
6330
6320
  messages: t,
@@ -6336,131 +6326,132 @@ function ec(e, t) {
6336
6326
  }
6337
6327
  }
6338
6328
  async function as(e) {
6339
- const t = zi(e);
6329
+ const t = Zi(e);
6340
6330
  t && (at[e] = t, ut.global.setLocaleMessage(e, t)), setTimeout(async () => {
6341
6331
  try {
6342
- const n = await Zi(e);
6343
- at[e] = n, ut.global.setLocaleMessage(e, n), ec(e, n);
6332
+ const n = await qi(e);
6333
+ at[e] = n, ut.global.setLocaleMessage(e, n), zi(e, n);
6344
6334
  } catch (n) {
6345
6335
  console.error("[Locale] Background update failed:", n);
6346
6336
  }
6347
6337
  }, 0);
6348
6338
  }
6349
- async function Yc() {
6339
+ async function Kc(e = "/", t = "zh-CN") {
6350
6340
  try {
6351
- await qi();
6352
- } catch (t) {
6353
- throw console.error("Failed to load available languages:", t), t;
6341
+ const a = await fetch(`${e}locales/languages.json`);
6342
+ a.ok && (qt = await a.json());
6343
+ } catch (a) {
6344
+ a instanceof TypeError && console.error("Network error during language initialization:", a);
6354
6345
  }
6355
- const e = localStorage.getItem("language") || "zh-CN";
6356
- ut.global.locale.value = e, localStorage.setItem("language", e), await as(e);
6346
+ const n = localStorage.getItem("language") || t;
6347
+ ut.global.locale.value = n, localStorage.setItem("language", n), await as(n);
6357
6348
  }
6358
- async function jc(e) {
6349
+ async function Yc(e) {
6359
6350
  await as(e), ut.global.locale.value = e, localStorage.setItem("language", e);
6360
6351
  }
6361
- function Bc(e = "code") {
6352
+ function jc(e = "code") {
6362
6353
  const t = ut.global.locale.value;
6363
6354
  return e === "display" ? qt[t] : t;
6364
6355
  }
6365
- function Qc() {
6356
+ function Bc() {
6366
6357
  return Object.keys(qt).map((e) => ({
6367
6358
  label: qt[e],
6368
6359
  key: e
6369
6360
  }));
6370
6361
  }
6371
- function Jc(e, t) {
6362
+ function Qc(e, t) {
6372
6363
  try {
6373
6364
  return ut.global.t(e, t);
6374
6365
  } catch {
6375
6366
  return e;
6376
6367
  }
6377
6368
  }
6378
- const tc = R(!1), Xc = {
6369
+ const ec = R(!1), Jc = {
6379
6370
  label: "模板管理",
6380
6371
  key: "uploadTemp",
6381
6372
  type: "primary",
6382
6373
  icon: "icon-download",
6383
6374
  click: () => {
6384
- tc.value = !0;
6375
+ ec.value = !0;
6385
6376
  }
6386
6377
  };
6387
6378
  export {
6388
- Uc as $,
6379
+ _r as $,
6389
6380
  ln as A,
6390
6381
  on as B,
6391
6382
  Mt as C,
6392
- Wc as D,
6393
- Gc as E,
6394
- Kc as F,
6383
+ Hc as D,
6384
+ Wc as E,
6385
+ Gc as F,
6395
6386
  na as G,
6396
- ut as H,
6397
- Ps as I,
6398
- Rc as J,
6399
- eo as K,
6387
+ Ps as H,
6388
+ Pc as I,
6389
+ eo as J,
6390
+ to as K,
6400
6391
  an as L,
6401
6392
  yt as M,
6402
- to as N,
6393
+ Rc as N,
6403
6394
  Ie as O,
6404
6395
  Pe as P,
6405
6396
  kc as Q,
6406
- Dc as R,
6407
- zs as S,
6408
- br as T,
6409
- Cc as U,
6410
- Mc as V,
6411
- lo as W,
6412
- io as X,
6413
- Fc as Y,
6414
- Oa as Z,
6415
- $c as _,
6416
- Vc as a,
6417
- _r as a0,
6418
- yc as a1,
6419
- gr as a2,
6420
- _c as a3,
6421
- hc as a4,
6422
- aa as a5,
6423
- gc as a6,
6424
- Lc as a7,
6425
- Js as a8,
6426
- Er as a9,
6427
- Sc as aa,
6428
- pc as ab,
6429
- pr as ac,
6430
- Ws as ad,
6431
- xn as ae,
6432
- tt as af,
6433
- It as ag,
6434
- jt as ah,
6435
- we as ai,
6436
- xc as aj,
6437
- ea as ak,
6438
- tc as al,
6439
- Xc as am,
6440
- Yc as an,
6441
- Jc as ao,
6442
- Qc as ap,
6443
- Bc as aq,
6444
- jc as ar,
6397
+ zs as R,
6398
+ br as S,
6399
+ Dc as T,
6400
+ wc as U,
6401
+ lo as V,
6402
+ io as W,
6403
+ Mc as X,
6404
+ Oa as Y,
6405
+ Fc as Z,
6406
+ Vc as _,
6407
+ xc as a,
6408
+ Ic as a0,
6409
+ gr as a1,
6410
+ pc as a2,
6411
+ gc as a3,
6412
+ aa as a4,
6413
+ _c as a5,
6414
+ Tc as a6,
6415
+ Js as a7,
6416
+ Er as a8,
6417
+ Oc as a9,
6418
+ mc as aa,
6419
+ pr as ab,
6420
+ Ws as ac,
6421
+ xn as ad,
6422
+ tt as ae,
6423
+ It as af,
6424
+ jt as ag,
6425
+ we as ah,
6426
+ Uc as ai,
6427
+ ea as aj,
6428
+ ec as ak,
6429
+ Jc as al,
6430
+ ut as am,
6431
+ Kc as an,
6432
+ Qc as ao,
6433
+ Bc as ap,
6434
+ jc as aq,
6435
+ Yc as ar,
6445
6436
  Nt as as,
6446
- bc as b,
6447
- wc as c,
6448
- Ic as d,
6449
- Ec as e,
6450
- Ac as f,
6437
+ vc as b,
6438
+ Cc as c,
6439
+ bc as d,
6440
+ hc as e,
6441
+ Sc as f,
6451
6442
  Bs as g,
6452
- Pc as h,
6443
+ Ac as h,
6453
6444
  he as i,
6454
- Tc as j,
6455
- Nc as k,
6445
+ Nc as j,
6446
+ yc as k,
6456
6447
  hr as l,
6457
6448
  Qs as m,
6458
- Oc as n,
6459
- vc as o,
6449
+ Lc as n,
6450
+ Ec as o,
6460
6451
  Ks as p,
6461
6452
  Gs as q,
6462
6453
  nn as r,
6463
- Hc as s,
6454
+ $c as s,
6464
6455
  wt as t,
6465
6456
  be as u,
6466
6457
  ot as v,
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as pe, ref as O, computed as $, watch as T, resolveDirective as de, createElementBlock as d, openBlock as c, normalizeClass as z, unref as n, createElementVNode as h, withDirectives as x, createCommentVNode as w, createBlock as V, mergeProps as q, withCtx as v, createVNode as p, createTextVNode as P, toDisplayString as I, Fragment as me, renderList as fe } from "vue";
2
- import { _ as G } from "./index-bx6gDQTB.js";
3
- import { a as B, _ as R } from "./toolIcon-CIuou75Q.js";
2
+ import { _ as G } from "./index-C6RrxZBR.js";
3
+ import { a as B, _ as R } from "./toolIcon-ADz-Bt4_.js";
4
4
  import { httpPost as K, ResStatus as N } from "@skyfox2000/fapi";
5
- import { L as W, u as X, v as he, _ as ve } from "./upload-template-Bs_uvXeO.js";
6
- import { U as i, f as ye, p as H } from "./file-upload-BFUScC4k.js";
5
+ import { L as W, u as X, v as he, _ as ve } from "./upload-template-mzLL4UUU.js";
6
+ import { U as i, f as ye, p as H } from "./file-upload-BvIYPDBD.js";
7
7
  import { combineParams as Y } from "@skyfox2000/microbase";
8
8
  import _ from "vue-m-message";
9
9
  import "async-validator";
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
+ export default _default;
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as F, defineAsyncComponent as M, ref as m, watch as V, onMounted as J, createElementBlock as x, openBlock as p, Fragment as K, createElementVNode as v, createVNode as _, toDisplayString as W, unref as i, createBlock as P, withKeys as f, normalizeClass as N, withModifiers as w, withCtx as z, createCommentVNode as L } from "vue";
2
2
  import "ant-design-vue";
3
- import { _ as q } from "../../assets/modules/toolIcon-CIuou75Q.js";
3
+ import { _ as q } from "../../assets/modules/toolIcon-ADz-Bt4_.js";
4
4
  import "@skyfox2000/fapi";
5
- import "../../assets/modules/upload-template-Bs_uvXeO.js";
5
+ import "../../assets/modules/upload-template-mzLL4UUU.js";
6
6
  import "@skyfox2000/microbase";
7
7
  import "vue-m-message";
8
8
  import "async-validator";
9
9
  import "dayjs";
10
- import { _ as D } from "../../assets/modules/index-crPOh8wI.js";
10
+ import { _ as D } from "../../assets/modules/index-Bi3hR8Gf.js";
11
11
  import "vue-draggable-next";
12
12
  const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
13
13
  const o = document.createElement("script");
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, createBlock as o, openBlock 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-B8Oyfzfi.js";
3
- import { ai as A, a as S } from "../../assets/modules/upload-template-Bs_uvXeO.js";
2
+ import { _ as g } from "../../assets/modules/baseLayout-LU1ysAJM.js";
3
+ import { ah as A, a as S } from "../../assets/modules/upload-template-mzLL4UUU.js";
4
4
  import "@skyfox2000/microbase";
5
5
  import "@skyfox2000/fapi";
6
6
  import b from "vue-m-message";
@@ -32,12 +32,12 @@ const j = /* @__PURE__ */ f({
32
32
  class: x(["relative overflow-y-auto", r.value])
33
33
  }, [
34
34
  w(m, null, {
35
- default: s(({ Component: i, route: u }) => [
35
+ default: s(({ Component: u, route: i }) => [
36
36
  (t(), o(y, {
37
37
  include: n(e).CachedComponents,
38
38
  exclude: n(e).ExcludeComponents
39
39
  }, [
40
- (t(), o(I(n(e).cacheComponent(i, u))))
40
+ (t(), o(I(n(e).cacheComponent(u, i))))
41
41
  ], 1032, ["include", "exclude"]))
42
42
  ]),
43
43
  _: 1
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
2
- import { r as s } from "../../assets/modules/upload-template-Bs_uvXeO.js";
2
+ import { r as s } from "../../assets/modules/upload-template-mzLL4UUU.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, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
2
- import { r as s } from "../../assets/modules/upload-template-Bs_uvXeO.js";
2
+ import { r as s } from "../../assets/modules/upload-template-mzLL4UUU.js";
3
3
  import "@skyfox2000/microbase";
4
4
  import "@skyfox2000/fapi";
5
5
  import "vue-m-message";
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as we, ref as f, computed as T, watch as H, onMounted as be, createBlock as W, openBlock as d, unref as n, withCtx as S, renderSlot as J, createElementBlock as g, createCommentVNode as K, createElementVNode as h, createVNode as C, createTextVNode as X, toDisplayString as E, normalizeClass as Ce, Fragment as ie, renderList as ne } from "vue";
2
- import { _ as Y } from "../../assets/modules/index-bx6gDQTB.js";
2
+ import { _ as Y } from "../../assets/modules/index-C6RrxZBR.js";
3
3
  import { Modal as Fe, Upload as ue, Space as _e } from "ant-design-vue";
4
4
  import { httpGet as Ue, ResStatus as fe } from "@skyfox2000/fapi";
5
- import { G as Te, a6 as Se, ac as Ee } from "../../assets/modules/upload-template-Bs_uvXeO.js";
6
- import { A as Re, p as De, U as ce } from "../../assets/modules/file-upload-BFUScC4k.js";
5
+ import { G as Te, a5 as Se, ab as Ee } from "../../assets/modules/upload-template-mzLL4UUU.js";
6
+ import { A as Re, p as De, U as ce } from "../../assets/modules/file-upload-BvIYPDBD.js";
7
7
  import "@skyfox2000/microbase";
8
8
  import p from "vue-m-message";
9
- import { c as ke, _ as Z, h as Le, p as Ne, i as Ke } from "../../assets/modules/index-BiRM1pnL.js";
9
+ import { c as ke, _ as Z, h as Le, p as Ne, i as Ke } from "../../assets/modules/index-CHG5bbZG.js";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
12
12
  import "async-validator";
@@ -307,7 +307,7 @@ const Be = (l) => l.includes(",") || l.includes(`
307
307
  return p.error(v), ue.LIST_IGNORE;
308
308
  try {
309
309
  if (A(), y.value = t.name, q.value = u ? "text/csv" : "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", u) {
310
- const w = await t.arrayBuffer(), O = new TextDecoder("utf-8").decode(w), { csvToExcelView: G } = await import("../../assets/modules/index-BiRM1pnL.js").then((he) => he.j), M = await G(O, t.name);
310
+ const w = await t.arrayBuffer(), O = new TextDecoder("utf-8").decode(w), { csvToExcelView: G } = await import("../../assets/modules/index-CHG5bbZG.js").then((he) => he.j), M = await G(O, t.name);
311
311
  if (!M.success)
312
312
  throw new Error(M.error || "CSV文件处理失败");
313
313
  const oe = await (await fetch(M.blobUrl)).arrayBuffer();
@@ -1,6 +1,6 @@
1
- import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, createBlock as o, openBlock 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-B8Oyfzfi.js";
3
- import { ai as A, a as S } from "../../assets/modules/upload-template-Bs_uvXeO.js";
1
+ import { defineComponent as f, ref as d, watch as _, onMounted as h, resolveComponent as v, createBlock as o, openBlock 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-LU1ysAJM.js";
3
+ import { ah as A, a as S } from "../../assets/modules/upload-template-mzLL4UUU.js";
4
4
  import "@skyfox2000/microbase";
5
5
  import "@skyfox2000/fapi";
6
6
  import k from "vue-m-message";
@@ -20,10 +20,10 @@ const j = /* @__PURE__ */ f({
20
20
  (c) => {
21
21
  r.value = c ? "h-[calc(100vh-40px)]" : "h-[calc(100vh-81px)]";
22
22
  }
23
- ), v(() => {
23
+ ), h(() => {
24
24
  k.closeAll();
25
25
  }), (c, B) => {
26
- const m = h("router-view");
26
+ const m = v("router-view");
27
27
  return t(), o(y, {
28
28
  routes: p.routes
29
29
  }, {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as x, ref as o, watch as S, onMounted as h, createBlock as C, openBlock as F, unref as m, withCtx as s, createVNode as f, createTextVNode as q } from "vue";
2
- import { _ as L } from "../../assets/modules/index-bx6gDQTB.js";
2
+ import { _ as L } from "../../assets/modules/index-C6RrxZBR.js";
3
3
  import { Modal as z, Space as D } from "ant-design-vue";
4
4
  import { httpPost as N, ResStatus as O } from "@skyfox2000/fapi";
5
- import { al as d } from "../../assets/modules/upload-template-Bs_uvXeO.js";
6
- import { U as b } from "../../assets/modules/file-upload-BFUScC4k.js";
5
+ import { ak as d } from "../../assets/modules/upload-template-mzLL4UUU.js";
6
+ import { U as b } from "../../assets/modules/file-upload-BvIYPDBD.js";
7
7
  import "@skyfox2000/microbase";
8
8
  import "vue-m-message";
9
9
  import "async-validator";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
12
- import { U as g } from "../../assets/modules/uploadList-C6vb1JKs.js";
12
+ import { U as g } from "../../assets/modules/uploadList-DRGJEXDH.js";
13
13
  const _ = /* @__PURE__ */ x({
14
14
  __name: "templateFile",
15
15
  props: {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as S, ref as s, watch as b, onMounted as F, createBlock as z, openBlock as y, unref as p, withCtx as n, createVNode as v, mergeProps as D, createTextVNode as w } from "vue";
2
- import { _ as c } from "../../assets/modules/index-bx6gDQTB.js";
2
+ import { _ as c } from "../../assets/modules/index-C6RrxZBR.js";
3
3
  import { Modal as _, Space as L } from "ant-design-vue";
4
4
  import { ResStatus as k } from "@skyfox2000/fapi";
5
- import { a8 as T } from "../../assets/modules/upload-template-Bs_uvXeO.js";
5
+ import { a7 as T } from "../../assets/modules/upload-template-mzLL4UUU.js";
6
6
  import "@skyfox2000/microbase";
7
7
  import E from "vue-m-message";
8
8
  import "async-validator";
9
9
  import "dayjs";
10
- import { A as N } from "../../assets/modules/file-upload-BFUScC4k.js";
10
+ import { A as N } from "../../assets/modules/file-upload-BvIYPDBD.js";
11
11
  import "vue-draggable-next";
12
- import { U as A } from "../../assets/modules/uploadList-C6vb1JKs.js";
12
+ import { U as A } from "../../assets/modules/uploadList-DRGJEXDH.js";
13
13
  const K = /* @__PURE__ */ S({
14
14
  __name: "uploadForm",
15
15
  props: {