@gonsin/gview 2.0.81 → 2.0.83
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/dist/index.mjs +88 -88
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3,12 +3,12 @@ var Fa = (n, e, t) => e in n ? Aa(n, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Ut = (n, e, t) => (Fa(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { useI18n as Le } from "gonsin-i18n";
|
|
5
5
|
import { useI18n as Lc } from "gonsin-i18n";
|
|
6
|
-
import { defineComponent as ce, ref as H, computed as O, resolveComponent as Q, openBlock as g, createBlock as B, normalizeClass as Z, withCtx as M, createElementBlock as W, Fragment as
|
|
6
|
+
import { defineComponent as ce, ref as H, computed as O, resolveComponent as Q, openBlock as g, createBlock as B, normalizeClass as Z, withCtx as M, createElementBlock as W, Fragment as pe, renderList as Se, createVNode as $, createElementVNode as le, unref as h, createTextVNode as ie, toDisplayString as ne, createCommentVNode as X, withModifiers as Bt, nextTick as $a, inject as Oe, normalizeStyle as kt, normalizeProps as Ct, mergeProps as Ie, guardReactiveProps as Gt, renderSlot as Re, onMounted as Ve, onBeforeUnmount as gt, isRef as Ba, Transition as xa, watch as Me, createSlots as Ht, useSlots as Po, resolveDynamicComponent as Pa, TransitionGroup as Va, toRefs as Oa, provide as St, reactive as Dn, onBeforeMount as qt, toRaw as Tn, shallowRef as Ua, defineAsyncComponent as Vo, watchEffect as ja } from "vue";
|
|
7
7
|
import { useRouter as it, useRoute as ut, onBeforeRouteLeave as Ra, onBeforeRouteUpdate as za } from "vue-router";
|
|
8
8
|
import { defineStore as Pt, storeToRefs as Ga } from "pinia";
|
|
9
9
|
import rt from "dayjs";
|
|
10
10
|
import Xn from "axios";
|
|
11
|
-
import { MessagePlugin as
|
|
11
|
+
import { MessagePlugin as he, Button as Ha, Loading as Ka, Tooltip as Mt, Link as Wa, Tree as Ya, Card as qa, DialogPlugin as mn, ConfigProvider as Qa } from "tdesign-vue-next";
|
|
12
12
|
import { get as me, set as Xe, cloneDeep as Ze } from "lodash-es";
|
|
13
13
|
import { customAlphabet as Xa } from "nanoid";
|
|
14
14
|
import { RefreshIcon as jn, CloseIcon as $t, ArrowLeftIcon as uo, ArrowRightIcon as co, CloseCircleIcon as mo, MoreIcon as Za, DeleteIcon as Ja, ViewListIcon as el, PoweroffIcon as tl, ChevronDownIcon as nl, Icon as fo, AppIcon as ft, UploadIcon as ol, CheckCircleFilledIcon as al, PlayCircleFilledIcon as ll, PauseCircleFilledIcon as rl, LinkIcon as sl, ErrorCircleFilledIcon as il, FileImageIcon as Kt, FilePdfIcon as Oo, VideoIcon as Rn, FileIconIcon as zn, FolderOpenIcon as ul, FolderIcon as cl, FilterIcon as dl, SearchIcon as ml, UserIcon as Nn, BrowseIcon as fl, ChevronRightIcon as pl, ChevronUpIcon as hl, MoveIcon as vl } from "tdesign-icons-vue-next";
|
|
@@ -405,7 +405,7 @@ function Gl(n, e) {
|
|
|
405
405
|
new RegExp(e[o], "gi"),
|
|
406
406
|
(a) => `<span class="highlight-result">${a}</span>`
|
|
407
407
|
));
|
|
408
|
-
}), t;
|
|
408
|
+
}), n === "" || n === null || typeof n == null ? "<span class='empty'>----</span>" : t;
|
|
409
409
|
}
|
|
410
410
|
return n;
|
|
411
411
|
}
|
|
@@ -428,19 +428,19 @@ function Hl(n) {
|
|
|
428
428
|
const { T: an } = Le();
|
|
429
429
|
function Mo(n, e = "", t = "file") {
|
|
430
430
|
if (n == "") {
|
|
431
|
-
|
|
431
|
+
he.info(`${an.t("未设置下载链接")}`);
|
|
432
432
|
return;
|
|
433
433
|
}
|
|
434
434
|
if (console.log("原下载链接", n), t == "blob")
|
|
435
435
|
Xn.get(n, { responseType: "blob" }).then((o) => {
|
|
436
436
|
const a = window.URL.createObjectURL(new Blob([o.data])), l = document.createElement("a");
|
|
437
|
-
l.href = a, l.setAttribute("download", e), document.body.appendChild(l), console.log(`下载链接:${a}`),
|
|
437
|
+
l.href = a, l.setAttribute("download", e), document.body.appendChild(l), console.log(`下载链接:${a}`), he.info(`${an.t("即将开始下载")} ${e}`), l.click(), l.remove();
|
|
438
438
|
}).catch((o) => {
|
|
439
|
-
|
|
439
|
+
he.error(`${an.t("下载失败")} ${o.message}`), console.error(o);
|
|
440
440
|
});
|
|
441
441
|
else if (t == "file") {
|
|
442
442
|
const o = document.createElement("a");
|
|
443
|
-
o.setAttribute("target", "_black"), o.setAttribute("download", e), o.setAttribute("href", n), document.body.appendChild(o), console.log(`下载链接:${n}`),
|
|
443
|
+
o.setAttribute("target", "_black"), o.setAttribute("download", e), o.setAttribute("href", n), document.body.appendChild(o), console.log(`下载链接:${n}`), he.info(`${an.t("即将开始下载")} ${e}`), o.click(), o.remove();
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
function Ue(n) {
|
|
@@ -601,7 +601,7 @@ class Ql {
|
|
|
601
601
|
const { data: o } = t, { state: a, message: l } = o, r = xe();
|
|
602
602
|
if (a != null) {
|
|
603
603
|
if (a === 302)
|
|
604
|
-
return
|
|
604
|
+
return he.error(l), r && r.userLogout(), this.router && this.router.push({
|
|
605
605
|
name: "login"
|
|
606
606
|
}), o;
|
|
607
607
|
if (a == "-409") {
|
|
@@ -622,17 +622,17 @@ class Ql {
|
|
|
622
622
|
}
|
|
623
623
|
if (a !== 200) {
|
|
624
624
|
if (console.error("http response state error:", o), l)
|
|
625
|
-
|
|
625
|
+
he.error(`${l}`);
|
|
626
626
|
else {
|
|
627
627
|
const { T: i } = Le();
|
|
628
|
-
|
|
628
|
+
he.error(`${i.t("服务器出错")}`);
|
|
629
629
|
}
|
|
630
630
|
return o;
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
return o;
|
|
634
634
|
},
|
|
635
|
-
async (t) => (console.error("http response error", t),
|
|
635
|
+
async (t) => (console.error("http response error", t), he.error(t.message), Promise.reject(t))
|
|
636
636
|
);
|
|
637
637
|
}
|
|
638
638
|
get(e, t, o = {}) {
|
|
@@ -800,7 +800,7 @@ const We = new Ql(Wo), Yo = Pt("column", {
|
|
|
800
800
|
const { token: o, expiredTime: a } = t.data;
|
|
801
801
|
o && a && this.setUserToken(o, a);
|
|
802
802
|
} else
|
|
803
|
-
t.state == 302 ? this.router && (
|
|
803
|
+
t.state == 302 ? this.router && (he.error(t.message), this.userLogout(), this.router.push({ name: "login" })) : t.state == 500 && this.router && (this.userLogout(), this.router.push({ name: "login" }));
|
|
804
804
|
this.isTokenRefreshing = !1;
|
|
805
805
|
}
|
|
806
806
|
}
|
|
@@ -1187,7 +1187,7 @@ const We = new Ql(Wo), Yo = Pt("column", {
|
|
|
1187
1187
|
"expand-type": "popup"
|
|
1188
1188
|
}, {
|
|
1189
1189
|
default: M(() => [
|
|
1190
|
-
(g(!0), W(
|
|
1190
|
+
(g(!0), W(pe, null, Se(I.value, (G, se) => (g(), B(v, {
|
|
1191
1191
|
key: se,
|
|
1192
1192
|
trigger: "context-menu",
|
|
1193
1193
|
"min-column-width": 128,
|
|
@@ -1308,7 +1308,7 @@ const We = new Ql(Wo), Yo = Pt("column", {
|
|
|
1308
1308
|
$(h(Za))
|
|
1309
1309
|
]),
|
|
1310
1310
|
default: M(() => [
|
|
1311
|
-
(g(!0), W(
|
|
1311
|
+
(g(!0), W(pe, null, Se(U.value, (G, se) => (g(), B(v, {
|
|
1312
1312
|
key: se,
|
|
1313
1313
|
trigger: "context-menu",
|
|
1314
1314
|
"min-column-width": 128,
|
|
@@ -1586,7 +1586,7 @@ const Xo = { render: wr }, Tr = { class: "username" }, kr = /* @__PURE__ */ ce({
|
|
|
1586
1586
|
le("div", {
|
|
1587
1587
|
class: Z(`${t}--operations`)
|
|
1588
1588
|
}, [
|
|
1589
|
-
(g(!0), W(
|
|
1589
|
+
(g(!0), W(pe, null, Se(h(r), (v, T) => (g(), W(pe, { key: T }, [
|
|
1590
1590
|
v != null && v.isPopup ? (g(), B(V, Ct(Ie({ key: 0 }, v == null ? void 0 : v.popupProps)), {
|
|
1591
1591
|
default: M(() => [
|
|
1592
1592
|
$(U, Ct(Gt(v == null ? void 0 : v.badgeProps)), {
|
|
@@ -1807,7 +1807,7 @@ const Xo = { render: wr }, Tr = { class: "username" }, kr = /* @__PURE__ */ ce({
|
|
|
1807
1807
|
};
|
|
1808
1808
|
return (l, r) => {
|
|
1809
1809
|
const i = Q("t-menu-item"), u = Q("GLayoutSideMenuContent", !0), d = Q("t-submenu");
|
|
1810
|
-
return g(!0), W(
|
|
1810
|
+
return g(!0), W(pe, null, Se(l.sideMenuTree, (s) => (g(), W("div", {
|
|
1811
1811
|
class: Z(`${e}`),
|
|
1812
1812
|
key: s.name
|
|
1813
1813
|
}, [
|
|
@@ -1819,7 +1819,7 @@ const Xo = { render: wr }, Tr = { class: "username" }, kr = /* @__PURE__ */ ce({
|
|
|
1819
1819
|
onClick: (c) => a(s.path)
|
|
1820
1820
|
}, {
|
|
1821
1821
|
icon: M(() => [
|
|
1822
|
-
s.level == 1 ? (g(), W(
|
|
1822
|
+
s.level == 1 ? (g(), W(pe, { key: 0 }, [
|
|
1823
1823
|
s.icon ? (g(), B(h(fo), {
|
|
1824
1824
|
key: 0,
|
|
1825
1825
|
name: s.icon,
|
|
@@ -1841,7 +1841,7 @@ const Xo = { render: wr }, Tr = { class: "username" }, kr = /* @__PURE__ */ ce({
|
|
|
1841
1841
|
key: s.name
|
|
1842
1842
|
}, {
|
|
1843
1843
|
icon: M(() => [
|
|
1844
|
-
s.level == 1 ? (g(), W(
|
|
1844
|
+
s.level == 1 ? (g(), W(pe, { key: 0 }, [
|
|
1845
1845
|
s.icon ? (g(), B(h(fo), {
|
|
1846
1846
|
key: 0,
|
|
1847
1847
|
name: s.icon,
|
|
@@ -1979,7 +1979,7 @@ const Xo = { render: wr }, Tr = { class: "username" }, kr = /* @__PURE__ */ ce({
|
|
|
1979
1979
|
onChange: u
|
|
1980
1980
|
}, {
|
|
1981
1981
|
default: M(() => [
|
|
1982
|
-
(g(!0), W(
|
|
1982
|
+
(g(!0), W(pe, null, Se(a.slice(0, a.length - 1), (E, j) => (g(), W("div", { key: j }, [
|
|
1983
1983
|
(g(), B(p, {
|
|
1984
1984
|
key: j,
|
|
1985
1985
|
value: E,
|
|
@@ -2007,7 +2007,7 @@ const Xo = { render: wr }, Tr = { class: "username" }, kr = /* @__PURE__ */ ce({
|
|
|
2007
2007
|
onChange: u
|
|
2008
2008
|
}, {
|
|
2009
2009
|
default: M(() => [
|
|
2010
|
-
(g(), W(
|
|
2010
|
+
(g(), W(pe, null, Se(l, (E, j) => le("div", { key: j }, [
|
|
2011
2011
|
(g(), B(p, {
|
|
2012
2012
|
key: j,
|
|
2013
2013
|
value: E.type
|
|
@@ -2165,7 +2165,7 @@ const Nr = /* @__PURE__ */ dt(Sr, [["render", Dr]]), Er = /* @__PURE__ */ ce({
|
|
|
2165
2165
|
expandType: "popup"
|
|
2166
2166
|
}, {
|
|
2167
2167
|
default: M(() => [
|
|
2168
|
-
(g(!0), W(
|
|
2168
|
+
(g(!0), W(pe, null, Se(u.value, (J) => (g(), W(pe, {
|
|
2169
2169
|
key: J.name
|
|
2170
2170
|
}, [
|
|
2171
2171
|
!J.children || !J.children.length ? (g(), B(q, {
|
|
@@ -2176,7 +2176,7 @@ const Nr = /* @__PURE__ */ dt(Sr, [["render", Dr]]), Er = /* @__PURE__ */ ce({
|
|
|
2176
2176
|
onClick: (ke) => p(J.path)
|
|
2177
2177
|
}, {
|
|
2178
2178
|
icon: M(() => [
|
|
2179
|
-
J.level == 1 ? (g(), W(
|
|
2179
|
+
J.level == 1 ? (g(), W(pe, { key: 0 }, [
|
|
2180
2180
|
J.icon ? (g(), B(z, {
|
|
2181
2181
|
key: 0,
|
|
2182
2182
|
name: J.icon,
|
|
@@ -2208,7 +2208,7 @@ const Nr = /* @__PURE__ */ dt(Sr, [["render", Dr]]), Er = /* @__PURE__ */ ce({
|
|
|
2208
2208
|
onMouseenter: (ke) => j(J)
|
|
2209
2209
|
}, {
|
|
2210
2210
|
icon: M(() => [
|
|
2211
|
-
J.level == 1 ? (g(), W(
|
|
2211
|
+
J.level == 1 ? (g(), W(pe, { key: 0 }, [
|
|
2212
2212
|
J.icon ? (g(), B(z, {
|
|
2213
2213
|
key: 0,
|
|
2214
2214
|
name: J.icon,
|
|
@@ -2253,7 +2253,7 @@ const Nr = /* @__PURE__ */ dt(Sr, [["render", Dr]]), Er = /* @__PURE__ */ ce({
|
|
|
2253
2253
|
expandType: "popup"
|
|
2254
2254
|
}, {
|
|
2255
2255
|
default: M(() => [
|
|
2256
|
-
(g(!0), W(
|
|
2256
|
+
(g(!0), W(pe, null, Se(k.value, (J) => (g(), W("div", {
|
|
2257
2257
|
key: J.name
|
|
2258
2258
|
}, [
|
|
2259
2259
|
!J.children || !J.children.length ? (g(), B(q, {
|
|
@@ -2268,7 +2268,7 @@ const Nr = /* @__PURE__ */ dt(Sr, [["render", Dr]]), Er = /* @__PURE__ */ ce({
|
|
|
2268
2268
|
onMouseenter: _
|
|
2269
2269
|
}, {
|
|
2270
2270
|
icon: M(() => [
|
|
2271
|
-
J.level == 1 ? (g(), W(
|
|
2271
|
+
J.level == 1 ? (g(), W(pe, { key: 0 }, [
|
|
2272
2272
|
J.icon ? (g(), B(z, {
|
|
2273
2273
|
key: 0,
|
|
2274
2274
|
name: J.icon,
|
|
@@ -2300,7 +2300,7 @@ const Nr = /* @__PURE__ */ dt(Sr, [["render", Dr]]), Er = /* @__PURE__ */ ce({
|
|
|
2300
2300
|
onMouseenter: (ke) => N(J)
|
|
2301
2301
|
}, {
|
|
2302
2302
|
icon: M(() => [
|
|
2303
|
-
J.level == 1 ? (g(), W(
|
|
2303
|
+
J.level == 1 ? (g(), W(pe, { key: 0 }, [
|
|
2304
2304
|
J.icon ? (g(), B(z, {
|
|
2305
2305
|
key: 0,
|
|
2306
2306
|
name: J.icon,
|
|
@@ -2345,7 +2345,7 @@ const Nr = /* @__PURE__ */ dt(Sr, [["render", Dr]]), Er = /* @__PURE__ */ ce({
|
|
|
2345
2345
|
expandType: "popup"
|
|
2346
2346
|
}, {
|
|
2347
2347
|
default: M(() => [
|
|
2348
|
-
(g(!0), W(
|
|
2348
|
+
(g(!0), W(pe, null, Se(w.value, (J) => (g(), W("div", {
|
|
2349
2349
|
key: J.name
|
|
2350
2350
|
}, [
|
|
2351
2351
|
!J.children || !J.children.length ? (g(), B(q, {
|
|
@@ -2359,7 +2359,7 @@ const Nr = /* @__PURE__ */ dt(Sr, [["render", Dr]]), Er = /* @__PURE__ */ ce({
|
|
|
2359
2359
|
onClick: (ke) => p(J.path)
|
|
2360
2360
|
}, {
|
|
2361
2361
|
icon: M(() => [
|
|
2362
|
-
J.level == 1 ? (g(), W(
|
|
2362
|
+
J.level == 1 ? (g(), W(pe, { key: 0 }, [
|
|
2363
2363
|
J.icon ? (g(), B(z, {
|
|
2364
2364
|
key: 0,
|
|
2365
2365
|
name: J.icon,
|
|
@@ -2395,7 +2395,7 @@ const Ar = /* @__PURE__ */ ce({
|
|
|
2395
2395
|
const e = `${Ye}__main`, t = `${Ye}__card`;
|
|
2396
2396
|
return (o, a) => {
|
|
2397
2397
|
const l = Q("t-card"), r = Q("t-content"), i = Q("t-layout");
|
|
2398
|
-
return g(), W(
|
|
2398
|
+
return g(), W(pe, null, [
|
|
2399
2399
|
le("div", {
|
|
2400
2400
|
class: Z(`${e}`)
|
|
2401
2401
|
}, [
|
|
@@ -3183,7 +3183,7 @@ const oa = /* @__PURE__ */ dt(Kr, [["__scopeId", "data-v-8a486150"]]), Wr = /* @
|
|
|
3183
3183
|
class: Z(o.value)
|
|
3184
3184
|
}, {
|
|
3185
3185
|
default: M(() => [
|
|
3186
|
-
(g(!0), W(
|
|
3186
|
+
(g(!0), W(pe, null, Se(n.fileList, (i, u) => (g(), B(Wr, {
|
|
3187
3187
|
key: `fileItem-${u}`,
|
|
3188
3188
|
file: i,
|
|
3189
3189
|
listType: n.listType
|
|
@@ -4187,7 +4187,7 @@ const ua = /* @__PURE__ */ ce({
|
|
|
4187
4187
|
disabled: c.disabled
|
|
4188
4188
|
}, {
|
|
4189
4189
|
default: M(() => [
|
|
4190
|
-
(g(!0), W(
|
|
4190
|
+
(g(!0), W(pe, null, Se(h(i), (E) => (g(), B(f, {
|
|
4191
4191
|
key: E.key,
|
|
4192
4192
|
value: E.value
|
|
4193
4193
|
}, {
|
|
@@ -4611,7 +4611,7 @@ const ua = /* @__PURE__ */ ce({
|
|
|
4611
4611
|
if (o.formItem.fileUploadType == "file")
|
|
4612
4612
|
if (s.length && s.every((c) => c.status == "done")) {
|
|
4613
4613
|
const { response: c, filename: p, url: f } = s[0];
|
|
4614
|
-
console.log("上传成功", c, p, f), c && c.state == 200 ? (
|
|
4614
|
+
console.log("上传成功", c, p, f), c && c.state == 200 ? (he.success(`${p} ${t.t("上传成功")}`), a("update:modelValue", f), a("blur:modelValue", f), a("update:fileName", p)) : he.error(`${t.t("上传失败")} ${c.message}`);
|
|
4615
4615
|
} else
|
|
4616
4616
|
s.length == 0 && (a("update:modelValue", ""), a("blur:modelValue", ""), a("update:fileName", ""));
|
|
4617
4617
|
else if (o.formItem.fileUploadType == "path")
|
|
@@ -4633,7 +4633,7 @@ const ua = /* @__PURE__ */ ce({
|
|
|
4633
4633
|
function i(d) {
|
|
4634
4634
|
}
|
|
4635
4635
|
function u(d) {
|
|
4636
|
-
console.error("上传失败", d),
|
|
4636
|
+
console.error("上传失败", d), he.error(`${d.filename} ${t.t("上传失败")}`);
|
|
4637
4637
|
}
|
|
4638
4638
|
return (d, s) => {
|
|
4639
4639
|
var c, p;
|
|
@@ -5045,7 +5045,7 @@ const ps = /* @__PURE__ */ ce({
|
|
|
5045
5045
|
direction: "vertical"
|
|
5046
5046
|
}, {
|
|
5047
5047
|
default: M(() => [
|
|
5048
|
-
(g(!0), W(
|
|
5048
|
+
(g(!0), W(pe, null, Se(l.value, (w, S) => (g(), B(j, { key: S }, {
|
|
5049
5049
|
default: M(() => [
|
|
5050
5050
|
$(E, {
|
|
5051
5051
|
style: { width: "200px" },
|
|
@@ -5186,7 +5186,7 @@ const vs = ["id"], gs = /* @__PURE__ */ ce({
|
|
|
5186
5186
|
class: Z(`${h(To)}`),
|
|
5187
5187
|
id: E.value
|
|
5188
5188
|
}, [
|
|
5189
|
-
p.value ? (g(), W(
|
|
5189
|
+
p.value ? (g(), W(pe, { key: 0 }, [
|
|
5190
5190
|
m.formItem.itemType === "line" && m.formItem.name && h(i)(m.formItem.showIf, m.formItem) ? (g(), B(I, {
|
|
5191
5191
|
key: 0,
|
|
5192
5192
|
align: "left"
|
|
@@ -5507,7 +5507,7 @@ const yn = /* @__PURE__ */ dt(gs, [["__scopeId", "data-v-56963e7e"]]), ys = ["id
|
|
|
5507
5507
|
F().then((C) => {
|
|
5508
5508
|
if (Object.keys(C).length) {
|
|
5509
5509
|
const P = m(C);
|
|
5510
|
-
|
|
5510
|
+
he.warning(P == null ? void 0 : P.message);
|
|
5511
5511
|
} else {
|
|
5512
5512
|
const P = y(i.value);
|
|
5513
5513
|
_("confirm-form", P, V.buttonId);
|
|
@@ -5519,7 +5519,7 @@ const yn = /* @__PURE__ */ dt(gs, [["__scopeId", "data-v-56963e7e"]]), ys = ["id
|
|
|
5519
5519
|
F().then((C) => {
|
|
5520
5520
|
if (Object.keys(C).length) {
|
|
5521
5521
|
const P = m(C);
|
|
5522
|
-
|
|
5522
|
+
he.warning(P == null ? void 0 : P.message);
|
|
5523
5523
|
} else {
|
|
5524
5524
|
const P = y(i.value);
|
|
5525
5525
|
_("confirm-and-close", P, V.buttonId);
|
|
@@ -5553,7 +5553,7 @@ const yn = /* @__PURE__ */ dt(gs, [["__scopeId", "data-v-56963e7e"]]), ys = ["id
|
|
|
5553
5553
|
}
|
|
5554
5554
|
}, {
|
|
5555
5555
|
body: M(() => [
|
|
5556
|
-
(g(!0), W(
|
|
5556
|
+
(g(!0), W(pe, null, Se(r.value, (L) => (g(), W(pe, {
|
|
5557
5557
|
key: `${L.name}_${L.keyName}`
|
|
5558
5558
|
}, [
|
|
5559
5559
|
L.itemType === "block_start" || L.itemType === "block_end" ? (g(), B(va, {
|
|
@@ -5602,9 +5602,9 @@ const yn = /* @__PURE__ */ dt(gs, [["__scopeId", "data-v-56963e7e"]]), ys = ["id
|
|
|
5602
5602
|
default: M(() => {
|
|
5603
5603
|
var A;
|
|
5604
5604
|
return [
|
|
5605
|
-
U.value ? (g(), W(
|
|
5605
|
+
U.value ? (g(), W(pe, { key: 1 }, [
|
|
5606
5606
|
ie(ne(h(o).t("提交中")), 1)
|
|
5607
|
-
], 64)) : (g(), W(
|
|
5607
|
+
], 64)) : (g(), W(pe, { key: 0 }, [
|
|
5608
5608
|
ie(ne((A = S.value) == null ? void 0 : A.name), 1)
|
|
5609
5609
|
], 64))
|
|
5610
5610
|
];
|
|
@@ -5657,7 +5657,7 @@ const ws = /* @__PURE__ */ ce({
|
|
|
5657
5657
|
buttonId: N,
|
|
5658
5658
|
props: _,
|
|
5659
5659
|
viewName: l.viewName
|
|
5660
|
-
})).state === 200 ? (
|
|
5660
|
+
})).state === 200 ? (he.success(`${o.t("提交成功")}`), p.value && (p.value.formOkButtonLoading = !1), !0) : (p.value && (p.value.formOkButtonLoading = !1), !1);
|
|
5661
5661
|
}
|
|
5662
5662
|
async function k(S, N) {
|
|
5663
5663
|
await f(S, N) && E();
|
|
@@ -5942,7 +5942,7 @@ const Cs = He(ks), Ms = { class: "g-form" }, _s = { class: "g-form-header" }, Is
|
|
|
5942
5942
|
y().then((T) => {
|
|
5943
5943
|
if (Object.keys(T).length) {
|
|
5944
5944
|
const x = P(T);
|
|
5945
|
-
|
|
5945
|
+
he.warning(x == null ? void 0 : x.message);
|
|
5946
5946
|
} else {
|
|
5947
5947
|
const x = L(s.value);
|
|
5948
5948
|
C("confirm-form", x, v.buttonId);
|
|
@@ -5954,7 +5954,7 @@ const Cs = He(ks), Ms = { class: "g-form" }, _s = { class: "g-form-header" }, Is
|
|
|
5954
5954
|
y().then((T) => {
|
|
5955
5955
|
if (Object.keys(T).length) {
|
|
5956
5956
|
const x = P(T);
|
|
5957
|
-
|
|
5957
|
+
he.warning(x == null ? void 0 : x.message);
|
|
5958
5958
|
} else {
|
|
5959
5959
|
const x = L(s.value);
|
|
5960
5960
|
C("confirm-and-close", x, v.buttonId);
|
|
@@ -6013,9 +6013,9 @@ const Cs = He(ks), Ms = { class: "g-form" }, _s = { class: "g-form-header" }, Is
|
|
|
6013
6013
|
default: M(() => {
|
|
6014
6014
|
var G;
|
|
6015
6015
|
return [
|
|
6016
|
-
b.value ? (g(), W(
|
|
6016
|
+
b.value ? (g(), W(pe, { key: 1 }, [
|
|
6017
6017
|
ie(ne(h(o).t("提交中")), 1)
|
|
6018
|
-
], 64)) : (g(), W(
|
|
6018
|
+
], 64)) : (g(), W(pe, { key: 0 }, [
|
|
6019
6019
|
ie(ne((G = U.value) == null ? void 0 : G.name), 1)
|
|
6020
6020
|
], 64))
|
|
6021
6021
|
];
|
|
@@ -6038,7 +6038,7 @@ const Cs = He(ks), Ms = { class: "g-form" }, _s = { class: "g-form-header" }, Is
|
|
|
6038
6038
|
}
|
|
6039
6039
|
}, {
|
|
6040
6040
|
body: M(() => [
|
|
6041
|
-
(g(!0), W(
|
|
6041
|
+
(g(!0), W(pe, null, Se(d.value, (q) => (g(), W(pe, {
|
|
6042
6042
|
key: `${q.name}_${q.keyName}`
|
|
6043
6043
|
}, [
|
|
6044
6044
|
q.itemType === "block_start" || q.itemType === "block_end" ? (g(), B(va, {
|
|
@@ -6106,12 +6106,12 @@ const Ss = /* @__PURE__ */ dt(Ls, [["__scopeId", "data-v-24093af1"]]), Ds = He(S
|
|
|
6106
6106
|
}
|
|
6107
6107
|
};
|
|
6108
6108
|
console.log(d), os(d).then((k) => {
|
|
6109
|
-
k.state == 200 ?
|
|
6109
|
+
k.state == 200 ? he.success(`${e.t("导入成功")}`) : console.log("导入失败", k.message);
|
|
6110
6110
|
});
|
|
6111
6111
|
}
|
|
6112
6112
|
function i(u) {
|
|
6113
6113
|
var d, s, c;
|
|
6114
|
-
console.error("上传失败", u), u != null && u.response && ((d = u == null ? void 0 : u.response) == null ? void 0 : d.state) != 200 && (s = u.response) != null && s.message &&
|
|
6114
|
+
console.error("上传失败", u), u != null && u.response && ((d = u == null ? void 0 : u.response) == null ? void 0 : d.state) != 200 && (s = u.response) != null && s.message && he.error(`${u.filename} ${e.t("上传失败")}: ${(c = u.response) == null ? void 0 : c.message}`);
|
|
6115
6115
|
}
|
|
6116
6116
|
return (u, d) => {
|
|
6117
6117
|
var s, c, p;
|
|
@@ -6204,7 +6204,7 @@ const Ss = /* @__PURE__ */ dt(Ls, [["__scopeId", "data-v-24093af1"]]), Ds = He(S
|
|
|
6204
6204
|
class: "g-header-button",
|
|
6205
6205
|
size: "8px"
|
|
6206
6206
|
}, {
|
|
6207
|
-
default: M(() => [(g(!0), W(
|
|
6207
|
+
default: M(() => [(g(!0), W(pe, null, Se(l.value, (m) => (g(), W(pe, {
|
|
6208
6208
|
key: m.buttonId
|
|
6209
6209
|
}, [m.action == "UPLOAD_FILE" ? (g(), B(Ns, {
|
|
6210
6210
|
key: 0,
|
|
@@ -6222,7 +6222,7 @@ const Ss = /* @__PURE__ */ dt(Ls, [["__scopeId", "data-v-24093af1"]]), Ds = He(S
|
|
|
6222
6222
|
}), u.value.length || d.value.length ? (g(), W("div", As, [$(_, {
|
|
6223
6223
|
size: "8px"
|
|
6224
6224
|
}, {
|
|
6225
|
-
default: M(() => [(g(!0), W(
|
|
6225
|
+
default: M(() => [(g(!0), W(pe, null, Se(u.value, (m, y) => (g(), W("div", {
|
|
6226
6226
|
key: y
|
|
6227
6227
|
}, [$(yn, {
|
|
6228
6228
|
formItem: m,
|
|
@@ -6236,7 +6236,7 @@ const Ss = /* @__PURE__ */ dt(Ls, [["__scopeId", "data-v-24093af1"]]), Ds = He(S
|
|
|
6236
6236
|
}), $(_, {
|
|
6237
6237
|
size: "8px"
|
|
6238
6238
|
}, {
|
|
6239
|
-
default: M(() => [(g(!0), W(
|
|
6239
|
+
default: M(() => [(g(!0), W(pe, null, Se(d.value, (m, y) => (g(), W("div", {
|
|
6240
6240
|
key: y
|
|
6241
6241
|
}, [$(yn, {
|
|
6242
6242
|
formItem: m,
|
|
@@ -6284,7 +6284,7 @@ const $s = /* @__PURE__ */ dt(Fs, [["__scopeId", "data-v-c50494b7"]]), Bs = He($
|
|
|
6284
6284
|
return St(Cn, {}), (s, c) => (g(), W("div", {
|
|
6285
6285
|
class: Z(`${o}`)
|
|
6286
6286
|
}, [
|
|
6287
|
-
(g(!0), W(
|
|
6287
|
+
(g(!0), W(pe, null, Se(r.value, (p) => {
|
|
6288
6288
|
var f;
|
|
6289
6289
|
return g(), W("div", {
|
|
6290
6290
|
key: p.keyName
|
|
@@ -8885,7 +8885,7 @@ const Ri = { key: 0 }, zi = ["innerHTML"], Gi = ["innerHTML"], Hi = ["innerHTML"
|
|
|
8885
8885
|
BUTTONS: M(({ col: P, row: L }) => [
|
|
8886
8886
|
$(C, { size: "0" }, {
|
|
8887
8887
|
default: M(() => [
|
|
8888
|
-
(g(!0), W(
|
|
8888
|
+
(g(!0), W(pe, null, Se(w(P.buttons, L), (A) => (g(), B(y, {
|
|
8889
8889
|
theme: "primary",
|
|
8890
8890
|
variant: "text",
|
|
8891
8891
|
key: A.buttonId,
|
|
@@ -8948,7 +8948,7 @@ const Qi = /* @__PURE__ */ dt(qi, [["__scopeId", "data-v-45aeff49"]]), Xi = /* @
|
|
|
8948
8948
|
onChange: d
|
|
8949
8949
|
}, {
|
|
8950
8950
|
default: M(() => [
|
|
8951
|
-
(g(!0), W(
|
|
8951
|
+
(g(!0), W(pe, null, Se(r.value, (w, S) => (g(), B(j, {
|
|
8952
8952
|
key: `${S}${w.title}`,
|
|
8953
8953
|
value: S,
|
|
8954
8954
|
label: w.title,
|
|
@@ -9127,7 +9127,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9127
9127
|
}), ee.destroy());
|
|
9128
9128
|
},
|
|
9129
9129
|
onCancel: () => {
|
|
9130
|
-
|
|
9130
|
+
he.info(`${t.t("已取消%s")}`.replace("%s", `${D.name}`));
|
|
9131
9131
|
}
|
|
9132
9132
|
});
|
|
9133
9133
|
break;
|
|
@@ -9156,7 +9156,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9156
9156
|
variant: "text",
|
|
9157
9157
|
loading: !0
|
|
9158
9158
|
}
|
|
9159
|
-
}), z.value.length == 0 ? (
|
|
9159
|
+
}), z.value.length == 0 ? (he.error(`${t.t("请选择批量操作对象!")}`), re.update({
|
|
9160
9160
|
confirmBtn: {
|
|
9161
9161
|
content: `${t.t("确定")}`,
|
|
9162
9162
|
variant: "text",
|
|
@@ -9171,7 +9171,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9171
9171
|
}), re.destroy());
|
|
9172
9172
|
},
|
|
9173
9173
|
onCancel: () => {
|
|
9174
|
-
|
|
9174
|
+
he.info(`${t.t("已取消%s")}`.replace("%s", `${D.name}`));
|
|
9175
9175
|
}
|
|
9176
9176
|
});
|
|
9177
9177
|
break;
|
|
@@ -9235,7 +9235,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9235
9235
|
const Te = ue.split("/").slice(-1)[0];
|
|
9236
9236
|
Mo(ee, Te, "file");
|
|
9237
9237
|
} else
|
|
9238
|
-
|
|
9238
|
+
he.info(`${t.t("未设置下载链接")}`);
|
|
9239
9239
|
}
|
|
9240
9240
|
break;
|
|
9241
9241
|
}
|
|
@@ -9257,7 +9257,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9257
9257
|
let K = Ze(D);
|
|
9258
9258
|
if (Object.keys(K).length)
|
|
9259
9259
|
for (const be in K)
|
|
9260
|
-
((oe = (te = E.value) == null ? void 0 : te.searchBar.filters.find((re) => re.keyName == be)) == null ? void 0 : oe.itemType) != "text_input" && delete K[be];
|
|
9260
|
+
(((oe = (te = E.value) == null ? void 0 : te.searchBar.filters.find((re) => re.keyName == be)) == null ? void 0 : oe.itemType) != "text_input" || K[be] == "") && delete K[be];
|
|
9261
9261
|
F.value = K;
|
|
9262
9262
|
}
|
|
9263
9263
|
const z = H([]);
|
|
@@ -9273,7 +9273,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9273
9273
|
) : fe.value), ke = H([]), we = H([]), ve = Yo();
|
|
9274
9274
|
async function Ee(D) {
|
|
9275
9275
|
const K = `${u.viewName}_${c.value}`;
|
|
9276
|
-
await ve.setColumnData(K, D) && (we.value = D,
|
|
9276
|
+
await ve.setColumnData(K, D) && (we.value = D, he.success(t.t("设置成功")), d());
|
|
9277
9277
|
}
|
|
9278
9278
|
function Pe() {
|
|
9279
9279
|
var D, K, te;
|
|
@@ -9306,7 +9306,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9306
9306
|
buttonId: K,
|
|
9307
9307
|
props: te,
|
|
9308
9308
|
viewName: u.viewName
|
|
9309
|
-
})).state === 200 ? (
|
|
9309
|
+
})).state === 200 ? (he.success(`${t.t("提交成功")}`), v.value && (v.value.formOkButtonLoading = !1), !0) : (v.value && (v.value.formOkButtonLoading = !1), !1);
|
|
9310
9310
|
}
|
|
9311
9311
|
function de(D, K) {
|
|
9312
9312
|
if (D.itemType == "selector" || D.itemType == "time_selector" || D.itemType == "date_time_selector" || D.itemType == "tree_check_box" || D.itemType === "multi_tree_selector" || D.itemType === "tree_selector") {
|
|
@@ -9318,7 +9318,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9318
9318
|
await ae(K, D.buttonId) && te.destroy();
|
|
9319
9319
|
},
|
|
9320
9320
|
onCancel: () => {
|
|
9321
|
-
|
|
9321
|
+
he.info(`${t.t("已取消修改")}`);
|
|
9322
9322
|
},
|
|
9323
9323
|
confirmBtn: {
|
|
9324
9324
|
content: `${t.t("确定")}`,
|
|
@@ -9341,7 +9341,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9341
9341
|
buttonId: D.buttonId,
|
|
9342
9342
|
props: te,
|
|
9343
9343
|
keys: K
|
|
9344
|
-
})).state == 200 ? (
|
|
9344
|
+
})).state == 200 ? (he.success(`${D.name}${t.t("操作成功")}!`), !0) : !1;
|
|
9345
9345
|
}
|
|
9346
9346
|
async function ye(D, K) {
|
|
9347
9347
|
let te = {};
|
|
@@ -9369,7 +9369,7 @@ const Zi = /* @__PURE__ */ ce({
|
|
|
9369
9369
|
}
|
|
9370
9370
|
return St(Nt, _.value), (D, K) => {
|
|
9371
9371
|
const te = Q("t-loading");
|
|
9372
|
-
return g(), W(
|
|
9372
|
+
return g(), W(pe, null, [
|
|
9373
9373
|
$(te, {
|
|
9374
9374
|
class: Z(`${h(Nl)}`),
|
|
9375
9375
|
loading: m.value,
|
|
@@ -9517,7 +9517,7 @@ const bn = He(Zi), Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
9517
9517
|
default: M(() => {
|
|
9518
9518
|
var N;
|
|
9519
9519
|
return [
|
|
9520
|
-
E.value ? (g(!0), W(
|
|
9520
|
+
E.value ? (g(!0), W(pe, { key: 0 }, Se((N = p.value) == null ? void 0 : N.boards, (_) => {
|
|
9521
9521
|
var m, y;
|
|
9522
9522
|
return g(), B(h(bn), {
|
|
9523
9523
|
key: `${(m = p.value) == null ? void 0 : m.viewName}_${_.boardType}`,
|
|
@@ -10411,7 +10411,7 @@ const au = { class: "gConfigProvider" }, lu = /* @__PURE__ */ ce({
|
|
|
10411
10411
|
}, 8, ["globalConfig"])
|
|
10412
10412
|
]));
|
|
10413
10413
|
}
|
|
10414
|
-
}), ru = He(lu), su = "@gonsin/gview", iu = "2.0.
|
|
10414
|
+
}), ru = He(lu), su = "@gonsin/gview", iu = "2.0.83", uu = "dist/index.mjs", cu = "dist/types/index.d.ts", du = [
|
|
10415
10415
|
"dist",
|
|
10416
10416
|
"README.md",
|
|
10417
10417
|
"CHANGELOG.md"
|
|
@@ -11117,7 +11117,7 @@ const yu = [
|
|
|
11117
11117
|
type: "error"
|
|
11118
11118
|
},
|
|
11119
11119
|
{
|
|
11120
|
-
validator: (R) => R.every((Y) => b(Y.name, "children") ? !0 : (
|
|
11120
|
+
validator: (R) => R.every((Y) => b(Y.name, "children") ? !0 : (he.error(
|
|
11121
11121
|
`${e.t("%s 与存在的菜单名称标识重复了")}`.replace("%s", `${Y.name}`)
|
|
11122
11122
|
), !1)),
|
|
11123
11123
|
message: `${e.t("输入的菜单标识存在重复项")}`,
|
|
@@ -11293,21 +11293,21 @@ const yu = [
|
|
|
11293
11293
|
if (!Object.keys(Y).length)
|
|
11294
11294
|
d.value == "addGroup" ? (f.value.edificeKey = l.value, f.value.children && ((D = f.value.children) != null && D.length) && f.value.children.forEach((ee) => {
|
|
11295
11295
|
ee.parent == "" && (ee.parent = f.value.name);
|
|
11296
|
-
}), (K = j.value) == null || K.appendTo("", f.value),
|
|
11296
|
+
}), (K = j.value) == null || K.appendTo("", f.value), he.success(`${e.t("保存新增组成功!")}`)) : d.value == "editGroup" || d.value == "editItem" ? ((te = j.value) == null || te.setData(f.value.name, f.value), f.value.isGroup ? ((be = (oe = f.value) == null ? void 0 : oe.children) == null || be.forEach((ee) => {
|
|
11297
11297
|
var Te;
|
|
11298
11298
|
(Te = j.value) == null || Te.setData(ee.name, ee);
|
|
11299
|
-
}),
|
|
11299
|
+
}), he.success(`${e.t("编辑组成功!")}`)) : (Ee(
|
|
11300
11300
|
f.value.name,
|
|
11301
11301
|
f.value.parent
|
|
11302
|
-
),
|
|
11302
|
+
), he.success(`${e.t("编辑菜单成功!")}`))) : d.value == "moveItemTo" && (Ee(
|
|
11303
11303
|
f.value.name,
|
|
11304
11304
|
f.value.parent
|
|
11305
|
-
),
|
|
11305
|
+
), he.success(`${e.t("转移组成功!")}`)), x(), ke();
|
|
11306
11306
|
else {
|
|
11307
11307
|
const ee = (ue = (re = Object.values(Y)[0]) == null ? void 0 : re.filter(
|
|
11308
11308
|
(Te) => Te.result === !1
|
|
11309
11309
|
)[0]) == null ? void 0 : ue.message;
|
|
11310
|
-
|
|
11310
|
+
he.error(`${ee}`);
|
|
11311
11311
|
}
|
|
11312
11312
|
});
|
|
11313
11313
|
}
|
|
@@ -11346,10 +11346,10 @@ const yu = [
|
|
|
11346
11346
|
(ee = j.value) == null || ee.appendTo(re, ue);
|
|
11347
11347
|
});
|
|
11348
11348
|
}
|
|
11349
|
-
Y.destroy(),
|
|
11349
|
+
Y.destroy(), he.success(`${e.t("撤销菜单组成功")}`);
|
|
11350
11350
|
},
|
|
11351
11351
|
onCancel: () => {
|
|
11352
|
-
Y.destroy(),
|
|
11352
|
+
Y.destroy(), he.info("已取消撤销菜单组操作");
|
|
11353
11353
|
},
|
|
11354
11354
|
confirmBtn: {
|
|
11355
11355
|
content: `${e.t("确定")}`,
|
|
@@ -11370,18 +11370,18 @@ const yu = [
|
|
|
11370
11370
|
async function $e() {
|
|
11371
11371
|
var R;
|
|
11372
11372
|
try {
|
|
11373
|
-
(R = j.value) == null || R.resetData(s.value),
|
|
11373
|
+
(R = j.value) == null || R.resetData(s.value), he.success(`${e.t("撤销菜单方案成功!")}`);
|
|
11374
11374
|
} catch (Y) {
|
|
11375
|
-
|
|
11375
|
+
he.error(`${e.t("撤销菜单方案出错")}`), console.error(`handleResetMenuTable ${Y}`);
|
|
11376
11376
|
}
|
|
11377
11377
|
}
|
|
11378
11378
|
async function ae() {
|
|
11379
11379
|
const R = Gn(S.value);
|
|
11380
11380
|
try {
|
|
11381
11381
|
const Y = await hu({ menus: [...R] });
|
|
11382
|
-
Y.state == 200 && (t.setSideMenuConfig(S.value), c.value = hn(Y.data, null, 1),
|
|
11382
|
+
Y.state == 200 && (t.setSideMenuConfig(S.value), c.value = hn(Y.data, null, 1), he.success(`${e.t("保存菜单方案成功!")}`));
|
|
11383
11383
|
} catch (Y) {
|
|
11384
|
-
|
|
11384
|
+
he.error(Y.message);
|
|
11385
11385
|
}
|
|
11386
11386
|
}
|
|
11387
11387
|
function de(R) {
|
|
@@ -11389,13 +11389,13 @@ const yu = [
|
|
|
11389
11389
|
if (oe == re) {
|
|
11390
11390
|
if (be == ue)
|
|
11391
11391
|
return !0;
|
|
11392
|
-
|
|
11392
|
+
he.info(`${e.t("不同父菜单的菜单项,请使用转移至功能转移菜单")}`);
|
|
11393
11393
|
} else
|
|
11394
|
-
|
|
11394
|
+
he.info(`${e.t("不同层级的菜单项,请使用转移至功能转移菜单")}`);
|
|
11395
11395
|
return x(), !1;
|
|
11396
11396
|
}
|
|
11397
11397
|
function ge(R) {
|
|
11398
|
-
R.code &&
|
|
11398
|
+
R.code && he.error(`${e.t("不同层级的菜单项,不允许调整顺序")}`);
|
|
11399
11399
|
}
|
|
11400
11400
|
function ye(R, Y) {
|
|
11401
11401
|
var K;
|
|
@@ -11417,14 +11417,14 @@ const yu = [
|
|
|
11417
11417
|
D != 0 ? [R[D - 1], R[D]] = [
|
|
11418
11418
|
R[D],
|
|
11419
11419
|
R[D - 1]
|
|
11420
|
-
] :
|
|
11420
|
+
] : he.info("该菜单项已经在该组的第一个了!");
|
|
11421
11421
|
break;
|
|
11422
11422
|
}
|
|
11423
11423
|
case "down": {
|
|
11424
11424
|
D != R.length - 1 ? [R[D + 1], R[D]] = [
|
|
11425
11425
|
R[D],
|
|
11426
11426
|
R[D + 1]
|
|
11427
|
-
] :
|
|
11427
|
+
] : he.info(`${e.t("该菜单项已经在该组的最后一个了!")}`);
|
|
11428
11428
|
break;
|
|
11429
11429
|
}
|
|
11430
11430
|
}
|
|
@@ -11509,7 +11509,7 @@ const yu = [
|
|
|
11509
11509
|
le("span", {
|
|
11510
11510
|
class: Z(["title", ee.isGroup ? "title-bold" : "title-child"])
|
|
11511
11511
|
}, [
|
|
11512
|
-
ee.level == 1 && ee.isGroup ? (g(), W(
|
|
11512
|
+
ee.level == 1 && ee.isGroup ? (g(), W(pe, { key: 0 }, [
|
|
11513
11513
|
ee.icon ? (g(), B(K, {
|
|
11514
11514
|
key: 0,
|
|
11515
11515
|
class: "title-icon",
|
|
@@ -11681,7 +11681,7 @@ const yu = [
|
|
|
11681
11681
|
])) : (g(), W("span", Mu, ne(h(e).t("请选择图标标识")), 1))
|
|
11682
11682
|
]),
|
|
11683
11683
|
default: M(() => [
|
|
11684
|
-
(g(!0), W(
|
|
11684
|
+
(g(!0), W(pe, null, Se(h(yu), (ee) => (g(), B(be, {
|
|
11685
11685
|
value: ee.stem,
|
|
11686
11686
|
key: ee.stem,
|
|
11687
11687
|
class: "overlay-options"
|
|
@@ -11735,7 +11735,7 @@ const yu = [
|
|
|
11735
11735
|
]),
|
|
11736
11736
|
_: 1
|
|
11737
11737
|
}, 8, ["label"])) : X("", !0),
|
|
11738
|
-
(g(!0), W(
|
|
11738
|
+
(g(!0), W(pe, null, Se(T(f.value.children), (ee, Te) => (g(), B(oe, {
|
|
11739
11739
|
name: "children",
|
|
11740
11740
|
key: "group" + Te,
|
|
11741
11741
|
label: Te == 0 ? h(e).t("分组") : " "
|
|
@@ -11808,7 +11808,7 @@ const yu = [
|
|
|
11808
11808
|
]),
|
|
11809
11809
|
_: 1
|
|
11810
11810
|
}, 8, ["label"])) : X("", !0),
|
|
11811
|
-
(g(!0), W(
|
|
11811
|
+
(g(!0), W(pe, null, Se(v(f.value.children), (ee, Te) => (g(), B(oe, {
|
|
11812
11812
|
name: "children",
|
|
11813
11813
|
key: "item" + Te,
|
|
11814
11814
|
label: Te == 0 ? h(e).t("子菜单项") : " "
|
|
@@ -11863,7 +11863,7 @@ const yu = [
|
|
|
11863
11863
|
]),
|
|
11864
11864
|
_: 2
|
|
11865
11865
|
}, 1032, ["label"]))), 128)),
|
|
11866
|
-
d.value == "editItem" ? (g(), W(
|
|
11866
|
+
d.value == "editItem" ? (g(), W(pe, { key: 4 }, [
|
|
11867
11867
|
$(oe, {
|
|
11868
11868
|
label: h(e).t("是否为内置菜单")
|
|
11869
11869
|
}, {
|