@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.
- package/lib/assets/modules/{baseLayout-B8Oyfzfi.js → baseLayout-LU1ysAJM.js} +9 -9
- package/lib/assets/modules/{file-upload-BFUScC4k.js → file-upload-BvIYPDBD.js} +1 -1
- package/lib/assets/modules/{index-crPOh8wI.js → index-Bi3hR8Gf.js} +2 -2
- package/lib/assets/modules/{index-bx6gDQTB.js → index-C6RrxZBR.js} +1 -1
- package/lib/assets/modules/{index-BiRM1pnL.js → index-CHG5bbZG.js} +2 -2
- package/lib/assets/modules/{menuTabs-BnjAvzNj.js → menuTabs-Bk8A-zzL.js} +222 -173
- package/lib/assets/modules/{toolIcon-CIuou75Q.js → toolIcon-ADz-Bt4_.js} +1 -1
- package/lib/assets/modules/{upload-template-Bs_uvXeO.js → upload-template-mzLL4UUU.js} +108 -117
- package/lib/assets/modules/{uploadList-C6vb1JKs.js → uploadList-DRGJEXDH.js} +4 -4
- package/lib/components/layout/header/language.vue.d.ts +3 -0
- package/lib/es/AceEditor/index.js +3 -3
- package/lib/es/BasicLayout/index.js +4 -4
- package/lib/es/Error403/index.js +1 -1
- package/lib/es/Error404/index.js +1 -1
- package/lib/es/ExcelForm/index.js +5 -5
- package/lib/es/MenuLayout/index.js +5 -5
- package/lib/es/TemplateFile/index.js +4 -4
- package/lib/es/UploadForm/index.js +4 -4
- package/lib/index.d.ts +1 -3
- package/lib/locales/index.d.ts +1 -2
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +13 -13
- package/package.json +1 -1
- package/src/components/layout/header/index.vue +9 -0
- package/src/components/layout/header/language.vue +39 -0
- package/src/index.ts +1 -4
- package/src/locales/index.ts +17 -26
|
@@ -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
|
-
},
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
1106
|
+
}, Ec = (e) => {
|
|
1107
1107
|
_r(e);
|
|
1108
|
-
},
|
|
1108
|
+
}, vc = (e) => {
|
|
1109
1109
|
const t = e.page, n = e.formData.value;
|
|
1110
1110
|
n[e.primaryKey ?? t.primaryKey] = null, _r(e);
|
|
1111
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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)),
|
|
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
|
-
}),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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({}),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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([]),
|
|
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
|
-
},
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
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
|
|
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 =
|
|
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
|
|
6343
|
-
at[e] = n, ut.global.setLocaleMessage(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
|
|
6339
|
+
async function Kc(e = "/", t = "zh-CN") {
|
|
6350
6340
|
try {
|
|
6351
|
-
await
|
|
6352
|
-
|
|
6353
|
-
|
|
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
|
|
6356
|
-
ut.global.locale.value =
|
|
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
|
|
6349
|
+
async function Yc(e) {
|
|
6359
6350
|
await as(e), ut.global.locale.value = e, localStorage.setItem("language", e);
|
|
6360
6351
|
}
|
|
6361
|
-
function
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
6375
|
+
ec.value = !0;
|
|
6385
6376
|
}
|
|
6386
6377
|
};
|
|
6387
6378
|
export {
|
|
6388
|
-
|
|
6379
|
+
_r as $,
|
|
6389
6380
|
ln as A,
|
|
6390
6381
|
on as B,
|
|
6391
6382
|
Mt as C,
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6383
|
+
Hc as D,
|
|
6384
|
+
Wc as E,
|
|
6385
|
+
Gc as F,
|
|
6395
6386
|
na as G,
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
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
|
-
|
|
6393
|
+
Rc as N,
|
|
6403
6394
|
Ie as O,
|
|
6404
6395
|
Pe as P,
|
|
6405
6396
|
kc as Q,
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
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
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
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
|
-
|
|
6443
|
+
Ac as h,
|
|
6453
6444
|
he as i,
|
|
6454
|
-
|
|
6455
|
-
|
|
6445
|
+
Nc as j,
|
|
6446
|
+
yc as k,
|
|
6456
6447
|
hr as l,
|
|
6457
6448
|
Qs as m,
|
|
6458
|
-
|
|
6459
|
-
|
|
6449
|
+
Lc as n,
|
|
6450
|
+
Ec as o,
|
|
6460
6451
|
Ks as p,
|
|
6461
6452
|
Gs as q,
|
|
6462
6453
|
nn as r,
|
|
6463
|
-
|
|
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-
|
|
3
|
-
import { a as B, _ as R } from "./toolIcon-
|
|
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-
|
|
6
|
-
import { U as i, f as ye, p as H } from "./file-upload-
|
|
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-
|
|
3
|
+
import { _ as q } from "../../assets/modules/toolIcon-ADz-Bt4_.js";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
-
import "../../assets/modules/upload-template-
|
|
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-
|
|
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-
|
|
3
|
-
import {
|
|
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:
|
|
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(
|
|
40
|
+
(t(), o(I(n(e).cacheComponent(u, i))))
|
|
41
41
|
], 1032, ["include", "exclude"]))
|
|
42
42
|
]),
|
|
43
43
|
_: 1
|
package/lib/es/Error403/index.js
CHANGED
|
@@ -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-
|
|
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";
|
package/lib/es/Error404/index.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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,
|
|
6
|
-
import { A as Re, p as De, U as ce } from "../../assets/modules/file-upload-
|
|
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-
|
|
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-
|
|
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
|
|
2
|
-
import { _ as y } from "../../assets/modules/baseLayout-
|
|
3
|
-
import {
|
|
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
|
-
),
|
|
23
|
+
), h(() => {
|
|
24
24
|
k.closeAll();
|
|
25
25
|
}), (c, B) => {
|
|
26
|
-
const m =
|
|
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-
|
|
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 {
|
|
6
|
-
import { U as b } from "../../assets/modules/file-upload-
|
|
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-
|
|
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-
|
|
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 {
|
|
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-
|
|
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-
|
|
12
|
+
import { U as A } from "../../assets/modules/uploadList-DRGJEXDH.js";
|
|
13
13
|
const K = /* @__PURE__ */ S({
|
|
14
14
|
__name: "uploadForm",
|
|
15
15
|
props: {
|