@gonsin/gview 2.0.76 → 2.0.78
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 +424 -427
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2,8 +2,8 @@ var _a = Object.defineProperty;
|
|
|
2
2
|
var Ia = (n, e, t) => e in n ? _a(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var Vt = (n, e, t) => (Ia(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { useI18n as Ne } from "gonsin-i18n";
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { defineComponent as de, ref as Y, computed as V, resolveComponent as
|
|
5
|
+
import { useI18n as nc } from "gonsin-i18n";
|
|
6
|
+
import { defineComponent as de, ref as Y, computed as V, resolveComponent as Z, openBlock as v, createBlock as N, normalizeClass as Q, withCtx as k, createElementBlock as W, Fragment as ve, renderList as De, createVNode as E, createElementVNode as le, unref as h, createTextVNode as ce, toDisplayString as re, createCommentVNode as q, withModifiers as Ft, nextTick as La, inject as je, normalizeStyle as yt, normalizeProps as bt, mergeProps as Ie, guardReactiveProps as Rt, renderSlot as Ue, onMounted as Re, onBeforeUnmount as ft, isRef as Sa, Transition as Da, watch as Le, createSlots as Et, useSlots as Fo, resolveDynamicComponent as Na, TransitionGroup as Ea, toRefs as Aa, provide as Kt, reactive as Mn, defineAsyncComponent as Fa, onBeforeMount as Wt, toRaw as Hn, shallowRef as $a, watchEffect as xa } from "vue";
|
|
7
7
|
import { useRouter as rt, useRoute as pt, onBeforeRouteLeave as Ba, onBeforeRouteUpdate as Pa } from "vue-router";
|
|
8
8
|
import { defineStore as Yt, storeToRefs as Va } from "pinia";
|
|
9
9
|
import at from "dayjs";
|
|
@@ -15,7 +15,7 @@ import { customAlphabet as Ha } from "nanoid";
|
|
|
15
15
|
import $o from "qs";
|
|
16
16
|
import { RefreshIcon as $n, CloseIcon as Nt, ArrowLeftIcon as ao, ArrowRightIcon as lo, CloseCircleIcon as ro, MoreIcon as Ka, DeleteIcon as Wa, ViewListIcon as Ya, PoweroffIcon as qa, ChevronDownIcon as Qa, Icon as so, AppIcon as ut, UploadIcon as Xa, CheckCircleFilledIcon as Za, PlayCircleFilledIcon as Ja, PauseCircleFilledIcon as el, LinkIcon as tl, ErrorCircleFilledIcon as nl, FileImageIcon as zt, FilePdfIcon as xo, VideoIcon as xn, FileIconIcon as Bn, FolderOpenIcon as ol, FolderIcon as al, UserIcon as Cn, BrowseIcon as ll, ChevronRightIcon as rl, ChevronUpIcon as sl, MoveIcon as il } from "tdesign-icons-vue-next";
|
|
17
17
|
import ul from "nprogress";
|
|
18
|
-
import { default as
|
|
18
|
+
import { default as ac } from "nprogress";
|
|
19
19
|
import { Toolbar as cl, Editor as dl } from "@wangeditor/editor-for-vue";
|
|
20
20
|
import dt from "mustache";
|
|
21
21
|
import io from "he";
|
|
@@ -26,7 +26,7 @@ function Ke(n, e, t) {
|
|
|
26
26
|
a.component(e || l || o.name, n), t && a.directive(t.name, t.comp);
|
|
27
27
|
}, o;
|
|
28
28
|
}
|
|
29
|
-
const _n = "config", mo = "themeConfig", fl = "user", fo = "langConfig",
|
|
29
|
+
const _n = "config", mo = "themeConfig", fl = "user", fo = "langConfig", Fu = "menu", po = "initTabMenuList", ho = "tabMenu", Qt = "sideMenuConfig", go = "token", vo = "tokenExpiredTime", $u = "dataId", Gt = "sessionId", Xt = "formDataCache", pl = {
|
|
30
30
|
brandTheme: "default",
|
|
31
31
|
// 主题色
|
|
32
32
|
displayMode: "light"
|
|
@@ -117,7 +117,7 @@ class Vo {
|
|
|
117
117
|
this.storage.clear();
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
const xe = new Vo("session"), Qe = new Vo("local"),
|
|
120
|
+
const xe = new Vo("session"), Qe = new Vo("local"), xu = [
|
|
121
121
|
"#0052d9",
|
|
122
122
|
"#0594fa",
|
|
123
123
|
"#00a870",
|
|
@@ -126,7 +126,7 @@ const xe = new Vo("session"), Qe = new Vo("local"), Bu = [
|
|
|
126
126
|
"#ed7b2f",
|
|
127
127
|
"#ed49b4",
|
|
128
128
|
"#834ec2"
|
|
129
|
-
],
|
|
129
|
+
], Bu = [
|
|
130
130
|
"#4582e6",
|
|
131
131
|
"#29a4fb",
|
|
132
132
|
"#03a56f",
|
|
@@ -240,7 +240,7 @@ const xe = new Vo("session"), Qe = new Vo("local"), Bu = [
|
|
|
240
240
|
"--td-brand-color-9": "#dda204",
|
|
241
241
|
"--td-brand-color-10": "#603100"
|
|
242
242
|
}
|
|
243
|
-
},
|
|
243
|
+
}, Pu = "GView", gl = (n) => {
|
|
244
244
|
const { origin: e, protocol: t } = window.location;
|
|
245
245
|
switch (t) {
|
|
246
246
|
case "http:":
|
|
@@ -266,7 +266,7 @@ const xe = new Vo("session"), Qe = new Vo("local"), Bu = [
|
|
|
266
266
|
subcmd: n,
|
|
267
267
|
response: 0
|
|
268
268
|
}
|
|
269
|
-
}, yl = 3e4, bl = 3e3, dn = "g-dialog-plugin", wl = "g-common-dialog", Zt = "g-common-form", Jt = "g-common-header", Tl = "g-common-table", kl = "g-board",
|
|
269
|
+
}, yl = 3e4, bl = 3e3, dn = "g-dialog-plugin", wl = "g-common-dialog", Zt = "g-common-form", Jt = "g-common-header", Tl = "g-common-table", kl = "g-board", Vu = "g-dialog", Ml = "g-form", yo = "g-form-item", Cl = "g-header", _l = "g-tab", Dt = "g-table", We = "g-layout", en = "g-uploader", gt = "g-login";
|
|
270
270
|
function Il(n) {
|
|
271
271
|
return n.replace(/([A-Z])/g, "_$1").toUpperCase();
|
|
272
272
|
}
|
|
@@ -302,19 +302,19 @@ function Tt(n) {
|
|
|
302
302
|
return st(n, "Function");
|
|
303
303
|
}
|
|
304
304
|
const Al = (n) => typeof n < "u", Oo = (n) => !Al(n), Wn = (n) => n !== null && st(n, "Object");
|
|
305
|
-
function
|
|
305
|
+
function Ou(n) {
|
|
306
306
|
return st(n, "Date");
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function Uu(n) {
|
|
309
309
|
return st(n, "Number");
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function ju(n) {
|
|
312
312
|
return st(n, "AsyncFunction");
|
|
313
313
|
}
|
|
314
314
|
function Fl(n) {
|
|
315
315
|
return st(n, "Promise") && Wn(n) && Tt(n.then) && Tt(n.catch);
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function Ru(n) {
|
|
318
318
|
return st(n, "String");
|
|
319
319
|
}
|
|
320
320
|
function $l(n) {
|
|
@@ -323,7 +323,7 @@ function $l(n) {
|
|
|
323
323
|
function Yn(n) {
|
|
324
324
|
return n && Array.isArray(n);
|
|
325
325
|
}
|
|
326
|
-
const
|
|
326
|
+
const zu = () => typeof window < "u", Gu = (n) => typeof window < "u" && st(n, "Window"), Hu = (n) => Wn(n) && !!n.tagName, Ku = typeof window > "u";
|
|
327
327
|
function Mt(n) {
|
|
328
328
|
return n === null;
|
|
329
329
|
}
|
|
@@ -1022,7 +1022,7 @@ const Be = Yt("setting", {
|
|
|
1022
1022
|
() => b.value > 0 ? i.value.slice(b.value) : []
|
|
1023
1023
|
), j = V(() => P.value.map((C) => C.path));
|
|
1024
1024
|
return (C, R) => {
|
|
1025
|
-
const S =
|
|
1025
|
+
const S = Z("t-menu-item"), I = Z("t-dropdown-item"), g = Z("t-dropdown-menu"), y = Z("t-dropdown"), w = Z("t-divider"), x = Z("t-button"), z = Z("t-submenu"), K = Z("t-head-menu");
|
|
1026
1026
|
return v(), N(K, {
|
|
1027
1027
|
ref_key: "GLayoutHeaderRef",
|
|
1028
1028
|
ref: B,
|
|
@@ -1033,73 +1033,73 @@ const Be = Yt("setting", {
|
|
|
1033
1033
|
"expand-type": "popup"
|
|
1034
1034
|
}, {
|
|
1035
1035
|
default: k(() => [
|
|
1036
|
-
(v(!0), W(ve, null, De(M.value, (
|
|
1037
|
-
key:
|
|
1036
|
+
(v(!0), W(ve, null, De(M.value, (J, ae) => (v(), N(y, {
|
|
1037
|
+
key: ae,
|
|
1038
1038
|
trigger: "context-menu",
|
|
1039
1039
|
"min-column-width": 128,
|
|
1040
1040
|
"popup-props": {
|
|
1041
|
-
onVisibleChange: (fe,
|
|
1042
|
-
visible: l.value != "" ? l.value ===
|
|
1041
|
+
onVisibleChange: (fe, X) => d(fe, X, J.path),
|
|
1042
|
+
visible: l.value != "" ? l.value === J.path : !1
|
|
1043
1043
|
}
|
|
1044
1044
|
}, {
|
|
1045
1045
|
dropdown: k(() => [
|
|
1046
1046
|
E(g, null, {
|
|
1047
1047
|
default: k(() => [
|
|
1048
1048
|
E(I, {
|
|
1049
|
-
onClick: () => T(
|
|
1049
|
+
onClick: () => T(J)
|
|
1050
1050
|
}, {
|
|
1051
1051
|
default: k(() => [
|
|
1052
|
-
|
|
1052
|
+
le("span", null, [
|
|
1053
1053
|
E(h($n)),
|
|
1054
|
-
|
|
1054
|
+
ce(" " + re(h(e).t("刷新")), 1)
|
|
1055
1055
|
])
|
|
1056
1056
|
]),
|
|
1057
1057
|
_: 2
|
|
1058
1058
|
}, 1032, ["onClick"]),
|
|
1059
|
-
|
|
1059
|
+
J.isHome ? q("", !0) : (v(), N(I, {
|
|
1060
1060
|
key: 0,
|
|
1061
|
-
onClick: () => f({ value:
|
|
1061
|
+
onClick: () => f({ value: J.path, index: ae })
|
|
1062
1062
|
}, {
|
|
1063
1063
|
default: k(() => [
|
|
1064
|
-
|
|
1064
|
+
le("span", null, [
|
|
1065
1065
|
E(h(Nt)),
|
|
1066
|
-
|
|
1066
|
+
ce(" " + re(h(e).t("关闭")), 1)
|
|
1067
1067
|
])
|
|
1068
1068
|
]),
|
|
1069
1069
|
_: 2
|
|
1070
1070
|
}, 1032, ["onClick"])),
|
|
1071
|
-
|
|
1071
|
+
ae > 1 ? (v(), N(I, {
|
|
1072
1072
|
key: 1,
|
|
1073
|
-
onClick: () => D(
|
|
1073
|
+
onClick: () => D(J.path, ae)
|
|
1074
1074
|
}, {
|
|
1075
1075
|
default: k(() => [
|
|
1076
|
-
|
|
1076
|
+
le("span", null, [
|
|
1077
1077
|
E(h(ao)),
|
|
1078
|
-
|
|
1078
|
+
ce(" " + re(h(e).t("关闭左侧")), 1)
|
|
1079
1079
|
])
|
|
1080
1080
|
]),
|
|
1081
1081
|
_: 2
|
|
1082
1082
|
}, 1032, ["onClick"])) : q("", !0),
|
|
1083
|
-
|
|
1083
|
+
ae > 0 && ae < i.value.length - 1 ? (v(), N(I, {
|
|
1084
1084
|
key: 2,
|
|
1085
|
-
onClick: () => O(
|
|
1085
|
+
onClick: () => O(J.path, ae)
|
|
1086
1086
|
}, {
|
|
1087
1087
|
default: k(() => [
|
|
1088
|
-
|
|
1088
|
+
le("span", null, [
|
|
1089
1089
|
E(h(lo)),
|
|
1090
|
-
|
|
1090
|
+
ce(" " + re(h(e).t("关闭右侧")), 1)
|
|
1091
1091
|
])
|
|
1092
1092
|
]),
|
|
1093
1093
|
_: 2
|
|
1094
1094
|
}, 1032, ["onClick"])) : q("", !0),
|
|
1095
|
-
|
|
1095
|
+
ae > 0 && i.value.length > 2 ? (v(), N(I, {
|
|
1096
1096
|
key: 3,
|
|
1097
|
-
onClick: () => L(
|
|
1097
|
+
onClick: () => L(J.path, ae)
|
|
1098
1098
|
}, {
|
|
1099
1099
|
default: k(() => [
|
|
1100
|
-
|
|
1100
|
+
le("span", null, [
|
|
1101
1101
|
E(h(ro)),
|
|
1102
|
-
|
|
1102
|
+
ce(" " + re(h(e).t("关闭其他")), 1)
|
|
1103
1103
|
])
|
|
1104
1104
|
]),
|
|
1105
1105
|
_: 2
|
|
@@ -1110,23 +1110,23 @@ const Be = Yt("setting", {
|
|
|
1110
1110
|
]),
|
|
1111
1111
|
default: k(() => [
|
|
1112
1112
|
E(S, {
|
|
1113
|
-
value:
|
|
1113
|
+
value: J.path
|
|
1114
1114
|
}, {
|
|
1115
1115
|
default: k(() => [
|
|
1116
|
-
|
|
1116
|
+
J.isHome ? (v(), W("span", {
|
|
1117
1117
|
key: 0,
|
|
1118
|
-
title: h(e).t(
|
|
1119
|
-
}, re(h(e).t(
|
|
1118
|
+
title: h(e).t("首页")
|
|
1119
|
+
}, re(h(e).t("首页")), 9, jl)) : (v(), W("span", {
|
|
1120
1120
|
key: 1,
|
|
1121
|
-
title:
|
|
1122
|
-
}, re(
|
|
1123
|
-
|
|
1121
|
+
title: J.title
|
|
1122
|
+
}, re(J.title), 9, Rl)),
|
|
1123
|
+
J.isHome ? q("", !0) : (v(), W("div", {
|
|
1124
1124
|
key: 2,
|
|
1125
1125
|
class: "menu-item--close-button",
|
|
1126
1126
|
onClick: Ft(
|
|
1127
1127
|
() => f({
|
|
1128
|
-
value:
|
|
1129
|
-
index:
|
|
1128
|
+
value: J.path,
|
|
1129
|
+
index: ae
|
|
1130
1130
|
}),
|
|
1131
1131
|
["stop"]
|
|
1132
1132
|
)
|
|
@@ -1154,85 +1154,85 @@ const Be = Yt("setting", {
|
|
|
1154
1154
|
E(h(Ka))
|
|
1155
1155
|
]),
|
|
1156
1156
|
default: k(() => [
|
|
1157
|
-
(v(!0), W(ve, null, De(P.value, (
|
|
1158
|
-
key:
|
|
1157
|
+
(v(!0), W(ve, null, De(P.value, (J, ae) => (v(), N(y, {
|
|
1158
|
+
key: ae,
|
|
1159
1159
|
trigger: "context-menu",
|
|
1160
1160
|
"min-column-width": 128,
|
|
1161
1161
|
"popup-props": {
|
|
1162
|
-
onVisibleChange: (fe,
|
|
1163
|
-
visible: l.value != "" ? l.value ===
|
|
1162
|
+
onVisibleChange: (fe, X) => d(fe, X, J.path),
|
|
1163
|
+
visible: l.value != "" ? l.value === J.path : !1
|
|
1164
1164
|
}
|
|
1165
1165
|
}, {
|
|
1166
1166
|
dropdown: k(() => [
|
|
1167
1167
|
E(g, null, {
|
|
1168
1168
|
default: k(() => [
|
|
1169
1169
|
E(I, {
|
|
1170
|
-
onClick: () => T(
|
|
1170
|
+
onClick: () => T(J, M.value.length + ae - 1)
|
|
1171
1171
|
}, {
|
|
1172
1172
|
default: k(() => [
|
|
1173
|
-
|
|
1173
|
+
le("span", null, [
|
|
1174
1174
|
E(h($n)),
|
|
1175
|
-
|
|
1175
|
+
ce(" " + re(h(e).t("刷新")), 1)
|
|
1176
1176
|
])
|
|
1177
1177
|
]),
|
|
1178
1178
|
_: 2
|
|
1179
1179
|
}, 1032, ["onClick"]),
|
|
1180
|
-
|
|
1180
|
+
J.isHome ? q("", !0) : (v(), N(I, {
|
|
1181
1181
|
key: 0,
|
|
1182
1182
|
onClick: () => f({
|
|
1183
|
-
value:
|
|
1184
|
-
index: M.value.length +
|
|
1183
|
+
value: J.path,
|
|
1184
|
+
index: M.value.length + ae
|
|
1185
1185
|
})
|
|
1186
1186
|
}, {
|
|
1187
1187
|
default: k(() => [
|
|
1188
|
-
|
|
1188
|
+
le("span", null, [
|
|
1189
1189
|
E(h(Nt)),
|
|
1190
|
-
|
|
1190
|
+
ce(" " + re(h(e).t("关闭")), 1)
|
|
1191
1191
|
])
|
|
1192
1192
|
]),
|
|
1193
1193
|
_: 2
|
|
1194
1194
|
}, 1032, ["onClick"])),
|
|
1195
|
-
M.value.length +
|
|
1195
|
+
M.value.length + ae > 1 ? (v(), N(I, {
|
|
1196
1196
|
key: 1,
|
|
1197
1197
|
onClick: () => D(
|
|
1198
|
-
|
|
1199
|
-
M.value.length +
|
|
1198
|
+
J.path,
|
|
1199
|
+
M.value.length + ae
|
|
1200
1200
|
)
|
|
1201
1201
|
}, {
|
|
1202
1202
|
default: k(() => [
|
|
1203
|
-
|
|
1203
|
+
le("span", null, [
|
|
1204
1204
|
E(h(ao)),
|
|
1205
|
-
|
|
1205
|
+
ce(" " + re(h(e).t("关闭左侧")), 1)
|
|
1206
1206
|
])
|
|
1207
1207
|
]),
|
|
1208
1208
|
_: 2
|
|
1209
1209
|
}, 1032, ["onClick"])) : q("", !0),
|
|
1210
|
-
M.value.length +
|
|
1210
|
+
M.value.length + ae > 0 && ae < i.value.length ? (v(), N(I, {
|
|
1211
1211
|
key: 2,
|
|
1212
1212
|
onClick: () => O(
|
|
1213
|
-
|
|
1214
|
-
M.value.length +
|
|
1213
|
+
J.path,
|
|
1214
|
+
M.value.length + ae
|
|
1215
1215
|
)
|
|
1216
1216
|
}, {
|
|
1217
1217
|
default: k(() => [
|
|
1218
|
-
|
|
1218
|
+
le("span", null, [
|
|
1219
1219
|
E(h(lo)),
|
|
1220
|
-
|
|
1220
|
+
ce(" " + re(h(e).t("关闭右侧")), 1)
|
|
1221
1221
|
])
|
|
1222
1222
|
]),
|
|
1223
1223
|
_: 2
|
|
1224
1224
|
}, 1032, ["onClick"])) : q("", !0),
|
|
1225
|
-
M.value.length +
|
|
1225
|
+
M.value.length + ae > 0 && i.value.length > 2 ? (v(), N(I, {
|
|
1226
1226
|
key: 3,
|
|
1227
1227
|
onClick: () => L(
|
|
1228
|
-
|
|
1229
|
-
M.value.length +
|
|
1228
|
+
J.path,
|
|
1229
|
+
M.value.length + ae
|
|
1230
1230
|
)
|
|
1231
1231
|
}, {
|
|
1232
1232
|
default: k(() => [
|
|
1233
|
-
|
|
1233
|
+
le("span", null, [
|
|
1234
1234
|
E(h(ro)),
|
|
1235
|
-
|
|
1235
|
+
ce(" " + re(h(e).t("关闭其他")), 1)
|
|
1236
1236
|
])
|
|
1237
1237
|
]),
|
|
1238
1238
|
_: 2
|
|
@@ -1243,22 +1243,22 @@ const Be = Yt("setting", {
|
|
|
1243
1243
|
]),
|
|
1244
1244
|
default: k(() => [
|
|
1245
1245
|
E(S, {
|
|
1246
|
-
value:
|
|
1246
|
+
value: J.path
|
|
1247
1247
|
}, {
|
|
1248
1248
|
default: k(() => [
|
|
1249
|
-
|
|
1249
|
+
J.isHome ? (v(), W("span", {
|
|
1250
1250
|
key: 0,
|
|
1251
|
-
title: h(e).t(
|
|
1252
|
-
}, re(h(e).t(
|
|
1251
|
+
title: h(e).t("首页")
|
|
1252
|
+
}, re(h(e).t("首页")), 9, Gl)) : (v(), W("span", {
|
|
1253
1253
|
key: 1,
|
|
1254
|
-
title:
|
|
1255
|
-
}, re(
|
|
1256
|
-
|
|
1254
|
+
title: J.title
|
|
1255
|
+
}, re(J.title), 9, Hl)),
|
|
1256
|
+
le("div", {
|
|
1257
1257
|
class: "menu-item--close-button",
|
|
1258
1258
|
onClick: Ft(
|
|
1259
1259
|
() => f({
|
|
1260
|
-
value:
|
|
1261
|
-
index: M.value.length +
|
|
1260
|
+
value: J.path,
|
|
1261
|
+
index: M.value.length + ae
|
|
1262
1262
|
}),
|
|
1263
1263
|
["stop"]
|
|
1264
1264
|
)
|
|
@@ -1276,12 +1276,12 @@ const Be = Yt("setting", {
|
|
|
1276
1276
|
variant: "text",
|
|
1277
1277
|
theme: "danger",
|
|
1278
1278
|
block: "",
|
|
1279
|
-
onClick: R[0] || (R[0] = (
|
|
1279
|
+
onClick: R[0] || (R[0] = (J) => _())
|
|
1280
1280
|
}, {
|
|
1281
1281
|
default: k(() => [
|
|
1282
|
-
|
|
1282
|
+
le("span", null, [
|
|
1283
1283
|
E(h(Wa)),
|
|
1284
|
-
|
|
1284
|
+
ce(" " + re(h(e).t("全部清空")), 1)
|
|
1285
1285
|
])
|
|
1286
1286
|
]),
|
|
1287
1287
|
_: 1
|
|
@@ -1301,7 +1301,7 @@ const Bt = Symbol("PropsModel"), Un = Symbol("ConfigProvider"), gn = Symbol("for
|
|
|
1301
1301
|
height: "24",
|
|
1302
1302
|
fill: "none",
|
|
1303
1303
|
viewBox: "0 0 48 48"
|
|
1304
|
-
}, Ql = /* @__PURE__ */
|
|
1304
|
+
}, Ql = /* @__PURE__ */ le("path", {
|
|
1305
1305
|
fill: "currentColor",
|
|
1306
1306
|
stroke: "currentColor",
|
|
1307
1307
|
"stroke-linecap": "square",
|
|
@@ -1320,13 +1320,13 @@ const Jl = { render: Zl }, er = {
|
|
|
1320
1320
|
height: "24",
|
|
1321
1321
|
fill: "none",
|
|
1322
1322
|
viewBox: "0 0 48 48"
|
|
1323
|
-
}, tr = /* @__PURE__ */
|
|
1323
|
+
}, tr = /* @__PURE__ */ le("path", {
|
|
1324
1324
|
fill: "currentColor",
|
|
1325
1325
|
stroke: "currentColor",
|
|
1326
1326
|
"stroke-linejoin": "round",
|
|
1327
1327
|
"stroke-width": "4",
|
|
1328
1328
|
d: "m34 41 10-17L34 7H14L4 24l10 17h20Z"
|
|
1329
|
-
}, null, -1), nr = /* @__PURE__ */
|
|
1329
|
+
}, null, -1), nr = /* @__PURE__ */ le("path", {
|
|
1330
1330
|
fill: "var(--td-bg-color-container)",
|
|
1331
1331
|
stroke: "var(--td-bg-color-container)",
|
|
1332
1332
|
"stroke-linejoin": "round",
|
|
@@ -1349,7 +1349,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1349
1349
|
return a.userRealName;
|
|
1350
1350
|
case "admin":
|
|
1351
1351
|
case "root":
|
|
1352
|
-
return
|
|
1352
|
+
return e.t("管理员");
|
|
1353
1353
|
}
|
|
1354
1354
|
return a.userRealName;
|
|
1355
1355
|
}), s = V(() => a.displayMode), d = V(() => a.logoUrl), p = V(() => (d.value ?? "") != "" ? { backgroundImage: `url(${d.value})` } : { backgroundImage: `url(${Yl})` }), f = V(() => a.isSideMenuCollapse);
|
|
@@ -1373,7 +1373,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1373
1373
|
}, 500);
|
|
1374
1374
|
}
|
|
1375
1375
|
return (B, m) => {
|
|
1376
|
-
const b =
|
|
1376
|
+
const b = Z("t-button"), M = Z("t-icon"), P = Z("t-badge"), j = Z("t-popup"), C = Z("t-dropdown-item"), R = Z("t-dropdown-menu"), S = Z("t-dropdown"), I = Z("t-head-menu"), g = Z("t-header");
|
|
1377
1377
|
return v(), N(g, {
|
|
1378
1378
|
class: Q(t),
|
|
1379
1379
|
onMouseleave: A
|
|
@@ -1383,16 +1383,16 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1383
1383
|
logo: k(() => {
|
|
1384
1384
|
var y;
|
|
1385
1385
|
return [
|
|
1386
|
-
|
|
1386
|
+
le("div", {
|
|
1387
1387
|
class: Q(`${t}--logo`),
|
|
1388
1388
|
onMouseenter: $
|
|
1389
1389
|
}, [
|
|
1390
|
-
|
|
1390
|
+
le("div", {
|
|
1391
1391
|
class: Q(`${t}--logo-image`),
|
|
1392
1392
|
style: yt(p.value)
|
|
1393
1393
|
}, null, 6)
|
|
1394
1394
|
], 34),
|
|
1395
|
-
|
|
1395
|
+
le("div", {
|
|
1396
1396
|
class: Q(`${t}--collapse-button`)
|
|
1397
1397
|
}, [
|
|
1398
1398
|
(y = h(u)) != null && y.enableSideMenu ? (v(), N(b, {
|
|
@@ -1417,7 +1417,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1417
1417
|
];
|
|
1418
1418
|
}),
|
|
1419
1419
|
operations: k(() => [
|
|
1420
|
-
|
|
1420
|
+
le("div", {
|
|
1421
1421
|
class: Q(`${t}--operations`)
|
|
1422
1422
|
}, [
|
|
1423
1423
|
(v(!0), W(ve, null, De(h(r), (y, w) => (v(), W(ve, { key: w }, [
|
|
@@ -1458,7 +1458,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1458
1458
|
key: 0,
|
|
1459
1459
|
name: y.iconName
|
|
1460
1460
|
}, null, 8, ["name"])) : q("", !0),
|
|
1461
|
-
|
|
1461
|
+
ce(" " + re(y == null ? void 0 : y.text), 1)
|
|
1462
1462
|
]),
|
|
1463
1463
|
_: 2
|
|
1464
1464
|
}, 1040)
|
|
@@ -1502,7 +1502,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1502
1502
|
key: 0,
|
|
1503
1503
|
name: y.iconName
|
|
1504
1504
|
}, null, 8, ["name"])) : q("", !0),
|
|
1505
|
-
|
|
1505
|
+
ce(" " + re(y == null ? void 0 : y.text), 1)
|
|
1506
1506
|
]),
|
|
1507
1507
|
_: 2
|
|
1508
1508
|
}, 1040)
|
|
@@ -1521,7 +1521,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1521
1521
|
E(C, { onClick: L }, {
|
|
1522
1522
|
default: k(() => [
|
|
1523
1523
|
E(h(qa)),
|
|
1524
|
-
|
|
1524
|
+
ce(" " + re(h(e).t("退出登录")), 1)
|
|
1525
1525
|
]),
|
|
1526
1526
|
_: 1
|
|
1527
1527
|
})
|
|
@@ -1544,7 +1544,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1544
1544
|
E(h(Qa), { size: "20" })
|
|
1545
1545
|
]),
|
|
1546
1546
|
default: k(() => [
|
|
1547
|
-
|
|
1547
|
+
le("span", lr, re(c.value), 1)
|
|
1548
1548
|
]),
|
|
1549
1549
|
_: 1
|
|
1550
1550
|
})
|
|
@@ -1586,7 +1586,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1586
1586
|
setup(n) {
|
|
1587
1587
|
const e = Be(), t = V(() => e.isSideMenuCollapse);
|
|
1588
1588
|
return (o, a) => {
|
|
1589
|
-
const l =
|
|
1589
|
+
const l = Z("t-content"), r = Z("t-layout");
|
|
1590
1590
|
return v(), N(r, {
|
|
1591
1591
|
class: Q(`${h(We)}`)
|
|
1592
1592
|
}, {
|
|
@@ -1613,7 +1613,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1613
1613
|
item: {}
|
|
1614
1614
|
},
|
|
1615
1615
|
setup(n) {
|
|
1616
|
-
const { T: e, i18n: t } = Ne(), o = V(() => t.global.locale.value.toLowerCase() === "zh-cn"), a = n, l = V(() => a.item.translateTitle
|
|
1616
|
+
const { T: e, i18n: t } = Ne(), o = V(() => t.global.locale.value.toLowerCase() === "zh-cn"), a = n, l = V(() => a.item.translateTitle && a.item.translateTitle !== void 0 && a.item.translateTitle !== "" ? a.item.translateTitle : a.item.title), r = V(() => o.value ? a.item.title : l.value ?? "");
|
|
1617
1617
|
return (u, i) => (v(), W("span", { title: r.value }, re(r.value), 9, ir));
|
|
1618
1618
|
}
|
|
1619
1619
|
}), ur = /* @__PURE__ */ de({
|
|
@@ -1636,7 +1636,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1636
1636
|
o.push(l);
|
|
1637
1637
|
};
|
|
1638
1638
|
return (l, r) => {
|
|
1639
|
-
const u =
|
|
1639
|
+
const u = Z("t-menu-item"), i = Z("GLayoutSideMenuContent", !0), c = Z("t-submenu");
|
|
1640
1640
|
return v(!0), W(ve, null, De(l.sideMenuTree, (s) => (v(), W("div", {
|
|
1641
1641
|
class: Q(`${e}`),
|
|
1642
1642
|
key: s.name
|
|
@@ -1719,7 +1719,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1719
1719
|
const s = document.querySelector(".t-menu--scroll");
|
|
1720
1720
|
s && (c.value = s.scrollTop);
|
|
1721
1721
|
}), (s, d) => {
|
|
1722
|
-
const p =
|
|
1722
|
+
const p = Z("t-menu"), f = Z("t-drawer");
|
|
1723
1723
|
return v(), N(f, {
|
|
1724
1724
|
class: Q(`${e}`),
|
|
1725
1725
|
size: "232px",
|
|
@@ -1780,7 +1780,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1780
1780
|
background: Ll(s, hl)["--td-brand-color"]
|
|
1781
1781
|
});
|
|
1782
1782
|
return (s, d) => {
|
|
1783
|
-
const p =
|
|
1783
|
+
const p = Z("t-radio-button"), f = Z("t-radio-group"), T = Z("t-drawer");
|
|
1784
1784
|
return v(), N(T, {
|
|
1785
1785
|
class: Q(`${t}`),
|
|
1786
1786
|
visible: u.value,
|
|
@@ -1794,13 +1794,13 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1794
1794
|
width: "20px",
|
|
1795
1795
|
height: "20px"
|
|
1796
1796
|
} }),
|
|
1797
|
-
|
|
1797
|
+
ce(re(h(e).t("系统设置")), 1)
|
|
1798
1798
|
]),
|
|
1799
1799
|
default: k(() => [
|
|
1800
|
-
|
|
1800
|
+
le("div", {
|
|
1801
1801
|
class: Q(`${t}--container`)
|
|
1802
1802
|
}, [
|
|
1803
|
-
|
|
1803
|
+
le("div", {
|
|
1804
1804
|
class: Q(`${t}--container-title`)
|
|
1805
1805
|
}, re(h(e).t("主题色")), 3),
|
|
1806
1806
|
E(f, {
|
|
@@ -1816,7 +1816,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1816
1816
|
class: Q(`${t}--container-color-group`)
|
|
1817
1817
|
}, {
|
|
1818
1818
|
default: k(() => [
|
|
1819
|
-
|
|
1819
|
+
le("div", {
|
|
1820
1820
|
style: yt(c(D)),
|
|
1821
1821
|
class: Q(`${t}--container-color-item`)
|
|
1822
1822
|
}, null, 6)
|
|
@@ -1827,7 +1827,7 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1827
1827
|
]),
|
|
1828
1828
|
_: 1
|
|
1829
1829
|
}, 8, ["modelValue"]),
|
|
1830
|
-
|
|
1830
|
+
le("div", {
|
|
1831
1831
|
class: Q(`${t}--container-title`)
|
|
1832
1832
|
}, re(h(e).t("主题模式")), 3),
|
|
1833
1833
|
E(f, {
|
|
@@ -1837,13 +1837,13 @@ const zo = { render: ar }, lr = { class: "username" }, rr = /* @__PURE__ */ de({
|
|
|
1837
1837
|
onChange: i
|
|
1838
1838
|
}, {
|
|
1839
1839
|
default: k(() => [
|
|
1840
|
-
(v(), W(ve, null, De(l, (D, O) =>
|
|
1840
|
+
(v(), W(ve, null, De(l, (D, O) => le("div", { key: O }, [
|
|
1841
1841
|
(v(), N(p, {
|
|
1842
1842
|
key: O,
|
|
1843
1843
|
value: D.type
|
|
1844
1844
|
}, {
|
|
1845
1845
|
default: k(() => [
|
|
1846
|
-
|
|
1846
|
+
ce(re(D.text), 1)
|
|
1847
1847
|
]),
|
|
1848
1848
|
_: 2
|
|
1849
1849
|
}, 1032, ["value"]))
|
|
@@ -1968,7 +1968,7 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
1968
1968
|
}
|
|
1969
1969
|
const y = Y(null);
|
|
1970
1970
|
return co(y, "mouseleave", I), co(y, "mouseenter", g), (w, x) => {
|
|
1971
|
-
const z =
|
|
1971
|
+
const z = Z("t-icon"), K = Z("t-menu-item"), J = Z("t-submenu"), ae = Z("t-menu"), fe = Z("t-drawer");
|
|
1972
1972
|
return v(), W("div", {
|
|
1973
1973
|
ref_key: "menuRef",
|
|
1974
1974
|
ref: y
|
|
@@ -1978,7 +1978,7 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
1978
1978
|
size: "232px",
|
|
1979
1979
|
placement: "left",
|
|
1980
1980
|
visible: s.value,
|
|
1981
|
-
"onUpdate:visible": x[0] || (x[0] = (
|
|
1981
|
+
"onUpdate:visible": x[0] || (x[0] = (X) => s.value = X),
|
|
1982
1982
|
showOverlay: !1,
|
|
1983
1983
|
header: !1,
|
|
1984
1984
|
footer: !1,
|
|
@@ -1986,7 +1986,7 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
1986
1986
|
zIndex: 990
|
|
1987
1987
|
}, {
|
|
1988
1988
|
default: k(() => [
|
|
1989
|
-
E(
|
|
1989
|
+
E(ae, {
|
|
1990
1990
|
ref_key: "sideMenuLevel1Ref",
|
|
1991
1991
|
ref: m,
|
|
1992
1992
|
width: "100%",
|
|
@@ -1995,21 +1995,21 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
1995
1995
|
expandType: "popup"
|
|
1996
1996
|
}, {
|
|
1997
1997
|
default: k(() => [
|
|
1998
|
-
(v(!0), W(ve, null, De(i.value, (
|
|
1999
|
-
key:
|
|
1998
|
+
(v(!0), W(ve, null, De(i.value, (X) => (v(), W(ve, {
|
|
1999
|
+
key: X.name
|
|
2000
2000
|
}, [
|
|
2001
|
-
!
|
|
2002
|
-
class: Q([`${a}--level${
|
|
2003
|
-
name:
|
|
2004
|
-
value:
|
|
2005
|
-
key:
|
|
2006
|
-
onClick: (Ce) => p(
|
|
2001
|
+
!X.children || !X.children.length ? (v(), N(K, {
|
|
2002
|
+
class: Q([`${a}--level${X.level}`]),
|
|
2003
|
+
name: X.path,
|
|
2004
|
+
value: X.path,
|
|
2005
|
+
key: X.name,
|
|
2006
|
+
onClick: (Ce) => p(X.path)
|
|
2007
2007
|
}, {
|
|
2008
2008
|
icon: k(() => [
|
|
2009
|
-
|
|
2010
|
-
|
|
2009
|
+
X.level == 1 ? (v(), W(ve, { key: 0 }, [
|
|
2010
|
+
X.icon ? (v(), N(z, {
|
|
2011
2011
|
key: 0,
|
|
2012
|
-
name:
|
|
2012
|
+
name: X.icon,
|
|
2013
2013
|
size: "large"
|
|
2014
2014
|
}, null, 8, ["name"])) : (v(), N(h(ut), {
|
|
2015
2015
|
key: 1,
|
|
@@ -2018,30 +2018,30 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
2018
2018
|
], 64)) : q("", !0)
|
|
2019
2019
|
]),
|
|
2020
2020
|
content: k(() => [
|
|
2021
|
-
E(ht, { item:
|
|
2021
|
+
E(ht, { item: X }, null, 8, ["item"])
|
|
2022
2022
|
]),
|
|
2023
2023
|
_: 2
|
|
2024
|
-
}, 1032, ["class", "name", "value", "onClick"])) : (v(), N(
|
|
2024
|
+
}, 1032, ["class", "name", "value", "onClick"])) : (v(), N(J, {
|
|
2025
2025
|
key: 1,
|
|
2026
2026
|
class: Q([
|
|
2027
2027
|
`${a}--sub-menu`,
|
|
2028
|
-
`${a}--level${
|
|
2029
|
-
C.value ==
|
|
2030
|
-
D.value ==
|
|
2028
|
+
`${a}--level${X.level}`,
|
|
2029
|
+
C.value == X.name ? "t-is-active" : "",
|
|
2030
|
+
D.value == X.name ? "t-is-selected" : ""
|
|
2031
2031
|
]),
|
|
2032
|
-
name:
|
|
2033
|
-
value:
|
|
2032
|
+
name: X.name,
|
|
2033
|
+
value: X.name,
|
|
2034
2034
|
"popup-props": {
|
|
2035
2035
|
visible: !1,
|
|
2036
2036
|
overlayInnerClassName: `${a}--popup`
|
|
2037
2037
|
},
|
|
2038
|
-
onMouseenter: (Ce) => O(
|
|
2038
|
+
onMouseenter: (Ce) => O(X)
|
|
2039
2039
|
}, {
|
|
2040
2040
|
icon: k(() => [
|
|
2041
|
-
|
|
2042
|
-
|
|
2041
|
+
X.level == 1 ? (v(), W(ve, { key: 0 }, [
|
|
2042
|
+
X.icon ? (v(), N(z, {
|
|
2043
2043
|
key: 0,
|
|
2044
|
-
name:
|
|
2044
|
+
name: X.icon,
|
|
2045
2045
|
size: "large"
|
|
2046
2046
|
}, null, 8, ["name"])) : (v(), N(h(ut), {
|
|
2047
2047
|
key: 1,
|
|
@@ -2050,7 +2050,7 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
2050
2050
|
], 64)) : q("", !0)
|
|
2051
2051
|
]),
|
|
2052
2052
|
title: k(() => [
|
|
2053
|
-
E(ht, { item:
|
|
2053
|
+
E(ht, { item: X }, null, 8, ["item"])
|
|
2054
2054
|
]),
|
|
2055
2055
|
_: 2
|
|
2056
2056
|
}, 1032, ["class", "name", "value", "popup-props", "onMouseenter"]))
|
|
@@ -2074,7 +2074,7 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
2074
2074
|
style: { marginLeft: "232px" }
|
|
2075
2075
|
}, {
|
|
2076
2076
|
default: k(() => [
|
|
2077
|
-
E(
|
|
2077
|
+
E(ae, {
|
|
2078
2078
|
ref_key: "sideMenuLevel2Ref",
|
|
2079
2079
|
ref: b,
|
|
2080
2080
|
width: "100%",
|
|
@@ -2083,25 +2083,25 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
2083
2083
|
expandType: "popup"
|
|
2084
2084
|
}, {
|
|
2085
2085
|
default: k(() => [
|
|
2086
|
-
(v(!0), W(ve, null, De(T.value, (
|
|
2087
|
-
key:
|
|
2086
|
+
(v(!0), W(ve, null, De(T.value, (X) => (v(), W("div", {
|
|
2087
|
+
key: X.name
|
|
2088
2088
|
}, [
|
|
2089
|
-
!
|
|
2089
|
+
!X.children || !X.children.length ? (v(), N(K, {
|
|
2090
2090
|
class: Q([
|
|
2091
|
-
`${a}--level${
|
|
2091
|
+
`${a}--level${X.level}`,
|
|
2092
2092
|
`${a}--hover-menu-item`
|
|
2093
2093
|
]),
|
|
2094
|
-
name:
|
|
2095
|
-
value:
|
|
2096
|
-
key:
|
|
2097
|
-
onClick: (Ce) => p(
|
|
2094
|
+
name: X.path,
|
|
2095
|
+
value: X.path,
|
|
2096
|
+
key: X.name,
|
|
2097
|
+
onClick: (Ce) => p(X.path),
|
|
2098
2098
|
onMouseenter: B
|
|
2099
2099
|
}, {
|
|
2100
2100
|
icon: k(() => [
|
|
2101
|
-
|
|
2102
|
-
|
|
2101
|
+
X.level == 1 ? (v(), W(ve, { key: 0 }, [
|
|
2102
|
+
X.icon ? (v(), N(z, {
|
|
2103
2103
|
key: 0,
|
|
2104
|
-
name:
|
|
2104
|
+
name: X.icon,
|
|
2105
2105
|
size: "large"
|
|
2106
2106
|
}, null, 8, ["name"])) : (v(), N(h(ut), {
|
|
2107
2107
|
key: 1,
|
|
@@ -2110,30 +2110,30 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
2110
2110
|
], 64)) : q("", !0)
|
|
2111
2111
|
]),
|
|
2112
2112
|
content: k(() => [
|
|
2113
|
-
E(ht, { item:
|
|
2113
|
+
E(ht, { item: X }, null, 8, ["item"])
|
|
2114
2114
|
]),
|
|
2115
2115
|
_: 2
|
|
2116
|
-
}, 1032, ["class", "name", "value", "onClick"])) : (v(), N(
|
|
2117
|
-
key:
|
|
2116
|
+
}, 1032, ["class", "name", "value", "onClick"])) : (v(), N(J, {
|
|
2117
|
+
key: X.name,
|
|
2118
2118
|
class: Q([
|
|
2119
2119
|
`${a}--sub-menu`,
|
|
2120
2120
|
`${a}--hover-menu-item`,
|
|
2121
|
-
R.value ==
|
|
2122
|
-
$.value ==
|
|
2121
|
+
R.value == X.name ? "t-is-active" : "",
|
|
2122
|
+
$.value == X.name ? "t-is-selected" : ""
|
|
2123
2123
|
]),
|
|
2124
|
-
name:
|
|
2125
|
-
value:
|
|
2124
|
+
name: X.name,
|
|
2125
|
+
value: X.name,
|
|
2126
2126
|
"popup-props": {
|
|
2127
2127
|
visible: !1,
|
|
2128
2128
|
overlayInnerClassName: `${a}--popup`
|
|
2129
2129
|
},
|
|
2130
|
-
onMouseenter: (Ce) => A(
|
|
2130
|
+
onMouseenter: (Ce) => A(X)
|
|
2131
2131
|
}, {
|
|
2132
2132
|
icon: k(() => [
|
|
2133
|
-
|
|
2134
|
-
|
|
2133
|
+
X.level == 1 ? (v(), W(ve, { key: 0 }, [
|
|
2134
|
+
X.icon ? (v(), N(z, {
|
|
2135
2135
|
key: 0,
|
|
2136
|
-
name:
|
|
2136
|
+
name: X.icon,
|
|
2137
2137
|
size: "large"
|
|
2138
2138
|
}, null, 8, ["name"])) : (v(), N(h(ut), {
|
|
2139
2139
|
key: 1,
|
|
@@ -2142,7 +2142,7 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
2142
2142
|
], 64)) : q("", !0)
|
|
2143
2143
|
]),
|
|
2144
2144
|
title: k(() => [
|
|
2145
|
-
E(ht, { item:
|
|
2145
|
+
E(ht, { item: X }, null, 8, ["item"])
|
|
2146
2146
|
]),
|
|
2147
2147
|
_: 2
|
|
2148
2148
|
}, 1032, ["class", "name", "value", "popup-props", "onMouseenter"]))
|
|
@@ -2166,7 +2166,7 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
2166
2166
|
style: { marginLeft: "382px" }
|
|
2167
2167
|
}, {
|
|
2168
2168
|
default: k(() => [
|
|
2169
|
-
E(
|
|
2169
|
+
E(ae, {
|
|
2170
2170
|
ref_key: "sideMenuLevel3Ref",
|
|
2171
2171
|
ref: M,
|
|
2172
2172
|
width: "100%",
|
|
@@ -2175,24 +2175,24 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
2175
2175
|
expandType: "popup"
|
|
2176
2176
|
}, {
|
|
2177
2177
|
default: k(() => [
|
|
2178
|
-
(v(!0), W(ve, null, De(_.value, (
|
|
2179
|
-
key:
|
|
2178
|
+
(v(!0), W(ve, null, De(_.value, (X) => (v(), W("div", {
|
|
2179
|
+
key: X.name
|
|
2180
2180
|
}, [
|
|
2181
|
-
!
|
|
2181
|
+
!X.children || !X.children.length ? (v(), N(K, {
|
|
2182
2182
|
class: Q([
|
|
2183
|
-
`${a}--level${
|
|
2183
|
+
`${a}--level${X.level}`,
|
|
2184
2184
|
`${a}--hover-menu-item`
|
|
2185
2185
|
]),
|
|
2186
|
-
name:
|
|
2187
|
-
value:
|
|
2188
|
-
key:
|
|
2189
|
-
onClick: (Ce) => p(
|
|
2186
|
+
name: X.path,
|
|
2187
|
+
value: X.path,
|
|
2188
|
+
key: X.name,
|
|
2189
|
+
onClick: (Ce) => p(X.path)
|
|
2190
2190
|
}, {
|
|
2191
2191
|
icon: k(() => [
|
|
2192
|
-
|
|
2193
|
-
|
|
2192
|
+
X.level == 1 ? (v(), W(ve, { key: 0 }, [
|
|
2193
|
+
X.icon ? (v(), N(z, {
|
|
2194
2194
|
key: 0,
|
|
2195
|
-
name:
|
|
2195
|
+
name: X.icon,
|
|
2196
2196
|
size: "large"
|
|
2197
2197
|
}, null, 8, ["name"])) : (v(), N(h(ut), {
|
|
2198
2198
|
key: 1,
|
|
@@ -2201,7 +2201,7 @@ const pr = /* @__PURE__ */ It(mr, [["render", fr]]), hr = /* @__PURE__ */ de({
|
|
|
2201
2201
|
], 64)) : q("", !0)
|
|
2202
2202
|
]),
|
|
2203
2203
|
content: k(() => [
|
|
2204
|
-
E(ht, { item:
|
|
2204
|
+
E(ht, { item: X }, null, 8, ["item"])
|
|
2205
2205
|
]),
|
|
2206
2206
|
_: 2
|
|
2207
2207
|
}, 1032, ["class", "name", "value", "onClick"])) : q("", !0)
|
|
@@ -2224,9 +2224,9 @@ const gr = /* @__PURE__ */ de({
|
|
|
2224
2224
|
setup(n) {
|
|
2225
2225
|
const e = `${We}__main`, t = `${We}__card`;
|
|
2226
2226
|
return (o, a) => {
|
|
2227
|
-
const l =
|
|
2227
|
+
const l = Z("t-card"), r = Z("t-content"), u = Z("t-layout");
|
|
2228
2228
|
return v(), W(ve, null, [
|
|
2229
|
-
|
|
2229
|
+
le("div", {
|
|
2230
2230
|
class: Q(`${e}`)
|
|
2231
2231
|
}, [
|
|
2232
2232
|
E(u, null, {
|
|
@@ -2292,7 +2292,7 @@ const Go = Ke(vr), yr = /* @__PURE__ */ de({
|
|
|
2292
2292
|
},
|
|
2293
2293
|
setup(n) {
|
|
2294
2294
|
return (e, t) => {
|
|
2295
|
-
const o =
|
|
2295
|
+
const o = Z("t-dialog");
|
|
2296
2296
|
return v(), N(o, Ie({
|
|
2297
2297
|
class: h(wl),
|
|
2298
2298
|
placement: "center"
|
|
@@ -2317,7 +2317,7 @@ const Ho = Ke(yr), br = /* @__PURE__ */ de({
|
|
|
2317
2317
|
return e({
|
|
2318
2318
|
tFormRef: t
|
|
2319
2319
|
}), (o, a) => {
|
|
2320
|
-
const l =
|
|
2320
|
+
const l = Z("t-form");
|
|
2321
2321
|
return v(), W("div", {
|
|
2322
2322
|
class: Q(`${h(Zt)}`)
|
|
2323
2323
|
}, [
|
|
@@ -2327,7 +2327,7 @@ const Ho = Ke(yr), br = /* @__PURE__ */ de({
|
|
|
2327
2327
|
class: `${h(Zt)}--main`
|
|
2328
2328
|
}, o.commonFormProps), {
|
|
2329
2329
|
default: k(() => [
|
|
2330
|
-
|
|
2330
|
+
le("div", {
|
|
2331
2331
|
class: Q(`${h(Zt)}--main-body`),
|
|
2332
2332
|
ref: "commonFormBodyRef"
|
|
2333
2333
|
}, [
|
|
@@ -2336,7 +2336,7 @@ const Ho = Ke(yr), br = /* @__PURE__ */ de({
|
|
|
2336
2336
|
]),
|
|
2337
2337
|
_: 3
|
|
2338
2338
|
}, 16, ["class"]),
|
|
2339
|
-
|
|
2339
|
+
le("div", {
|
|
2340
2340
|
class: Q(`${h(Zt)}--footer`)
|
|
2341
2341
|
}, [
|
|
2342
2342
|
Ue(o.$slots, "footer")
|
|
@@ -2349,13 +2349,13 @@ const Ko = Ke(br), wr = /* @__PURE__ */ de({
|
|
|
2349
2349
|
__name: "GCommonHeader",
|
|
2350
2350
|
setup(n) {
|
|
2351
2351
|
return (e, t) => {
|
|
2352
|
-
const o =
|
|
2352
|
+
const o = Z("t-row");
|
|
2353
2353
|
return v(), W("div", {
|
|
2354
2354
|
class: Q(`${h(Jt)}`)
|
|
2355
2355
|
}, [
|
|
2356
2356
|
E(o, { justify: "space-between" }, {
|
|
2357
2357
|
default: k(() => [
|
|
2358
|
-
|
|
2358
|
+
le("div", {
|
|
2359
2359
|
class: Q(`${h(Jt)}--left`)
|
|
2360
2360
|
}, [
|
|
2361
2361
|
E(o, {
|
|
@@ -2367,7 +2367,7 @@ const Ko = Ke(br), wr = /* @__PURE__ */ de({
|
|
|
2367
2367
|
_: 3
|
|
2368
2368
|
}, 8, ["class"])
|
|
2369
2369
|
], 2),
|
|
2370
|
-
|
|
2370
|
+
le("div", {
|
|
2371
2371
|
class: Q(`${h(Jt)}--right`)
|
|
2372
2372
|
}, [
|
|
2373
2373
|
Ue(e.$slots, "right-operations")
|
|
@@ -2391,7 +2391,7 @@ const Wo = Ke(wr), Tr = /* @__PURE__ */ de({
|
|
|
2391
2391
|
return e({
|
|
2392
2392
|
tTableRef: t
|
|
2393
2393
|
}), (o, a) => {
|
|
2394
|
-
const l =
|
|
2394
|
+
const l = Z("t-table"), r = Z("t-primary-table"), u = Z("t-enhanced-table");
|
|
2395
2395
|
return v(), W("div", {
|
|
2396
2396
|
class: Q(`${h(Tl)}`)
|
|
2397
2397
|
}, [
|
|
@@ -2478,7 +2478,7 @@ const qo = {
|
|
|
2478
2478
|
function nn(n, e) {
|
|
2479
2479
|
return e ? n.indexOf("?") > -1 ? n += "&sessionId=" + e : n += "?sessionId=" + e : n;
|
|
2480
2480
|
}
|
|
2481
|
-
const
|
|
2481
|
+
const Wu = {
|
|
2482
2482
|
...qo
|
|
2483
2483
|
};
|
|
2484
2484
|
class Mr {
|
|
@@ -2823,7 +2823,7 @@ const on = (n) => {
|
|
|
2823
2823
|
class: Q(o.value),
|
|
2824
2824
|
onClick: u
|
|
2825
2825
|
}, [
|
|
2826
|
-
|
|
2826
|
+
le("input", Ie({
|
|
2827
2827
|
ref_key: "inputRef",
|
|
2828
2828
|
ref: l,
|
|
2829
2829
|
type: "file",
|
|
@@ -2840,7 +2840,7 @@ const on = (n) => {
|
|
|
2840
2840
|
E(h(Xa))
|
|
2841
2841
|
]),
|
|
2842
2842
|
default: k(() => [
|
|
2843
|
-
|
|
2843
|
+
ce(" " + re(n.uploaderText), 1)
|
|
2844
2844
|
]),
|
|
2845
2845
|
_: 1
|
|
2846
2846
|
}, 16, ["disabled"]),
|
|
@@ -2907,7 +2907,7 @@ const on = (n) => {
|
|
|
2907
2907
|
default: k(() => {
|
|
2908
2908
|
var p, f;
|
|
2909
2909
|
return [
|
|
2910
|
-
|
|
2910
|
+
le("span", {
|
|
2911
2911
|
class: Q([(p = h(e)) == null ? void 0 : p.iconClass, `${(f = h(e)) == null ? void 0 : f.iconClass}-start`]),
|
|
2912
2912
|
onClick: r[1] || (r[1] = (T) => {
|
|
2913
2913
|
var D;
|
|
@@ -2929,7 +2929,7 @@ const on = (n) => {
|
|
|
2929
2929
|
default: k(() => {
|
|
2930
2930
|
var p, f;
|
|
2931
2931
|
return [
|
|
2932
|
-
|
|
2932
|
+
le("span", {
|
|
2933
2933
|
class: Q([(p = h(e)) == null ? void 0 : p.iconClass, `${(f = h(e)) == null ? void 0 : f.iconClass}-cancel`]),
|
|
2934
2934
|
onClick: r[2] || (r[2] = (T) => {
|
|
2935
2935
|
var D;
|
|
@@ -2973,7 +2973,7 @@ const on = (n) => {
|
|
|
2973
2973
|
default: k(() => {
|
|
2974
2974
|
var c;
|
|
2975
2975
|
return [
|
|
2976
|
-
|
|
2976
|
+
le("span", {
|
|
2977
2977
|
class: Q([(c = h(t)) == null ? void 0 : c.iconClass]),
|
|
2978
2978
|
onClick: u[0] || (u[0] = Ft((s) => l(n.file), ["stop"]))
|
|
2979
2979
|
}, [
|
|
@@ -2993,7 +2993,7 @@ const on = (n) => {
|
|
|
2993
2993
|
default: k(() => {
|
|
2994
2994
|
var c, s;
|
|
2995
2995
|
return [
|
|
2996
|
-
|
|
2996
|
+
le("span", {
|
|
2997
2997
|
class: Q([(c = h(t)) == null ? void 0 : c.iconClass, `${(s = h(t)) == null ? void 0 : s.iconClass}-error`])
|
|
2998
2998
|
}, [
|
|
2999
2999
|
E(h(nl))
|
|
@@ -3017,7 +3017,7 @@ const on = (n) => {
|
|
|
3017
3017
|
theme: "light"
|
|
3018
3018
|
}, {
|
|
3019
3019
|
default: k(() => [
|
|
3020
|
-
|
|
3020
|
+
le("span", {
|
|
3021
3021
|
class: Q([h(t).iconClass, `${h(t).iconClass}-remove`])
|
|
3022
3022
|
}, [
|
|
3023
3023
|
E(h(Nt))
|
|
@@ -3059,10 +3059,10 @@ const Zo = /* @__PURE__ */ It(Er, [["__scopeId", "data-v-8a486150"]]), Ar = /* @
|
|
|
3059
3059
|
return v(), W("div", {
|
|
3060
3060
|
class: Q([a, `${a}--${n.file.status}`])
|
|
3061
3061
|
}, [
|
|
3062
|
-
|
|
3062
|
+
le("div", {
|
|
3063
3063
|
class: Q(`${a}-content`)
|
|
3064
3064
|
}, [
|
|
3065
|
-
|
|
3065
|
+
le("div", {
|
|
3066
3066
|
class: Q(`${a}-name`)
|
|
3067
3067
|
}, [
|
|
3068
3068
|
((c = h(e)) == null ? void 0 : c.listType) == "text" ? (v(), W("span", {
|
|
@@ -3090,7 +3090,7 @@ const Zo = /* @__PURE__ */ It(Er, [["__scopeId", "data-v-8a486150"]]), Ar = /* @
|
|
|
3090
3090
|
target: "_blank"
|
|
3091
3091
|
}, {
|
|
3092
3092
|
default: k(() => [
|
|
3093
|
-
|
|
3093
|
+
ce(re(n.file.filename), 1)
|
|
3094
3094
|
]),
|
|
3095
3095
|
_: 1
|
|
3096
3096
|
}, 8, ["class", "href"])) : (v(), W("span", {
|
|
@@ -3496,13 +3496,13 @@ const xr = /* @__PURE__ */ de({
|
|
|
3496
3496
|
} = Aa(o), O = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), _ = Y([]), $ = V(() => o.directory ? _.value.length ? Xo(_.value) : { fileId: "" } : { fileId: "" }), A = V(() => o.limit > 0 && _.value.length >= o.limit), B = V(() => o.buttonText ? o.buttonText : o.directory ? A.value ? `${t.t("重新选择")}` : `${t.t("上传文件夹")}` : A.value ? `${t.t("重新选择")}` : `${t.t("上传文件")}`), m = (y) => {
|
|
3497
3497
|
O.clear();
|
|
3498
3498
|
const w = y == null ? void 0 : y.map((x, z) => {
|
|
3499
|
-
const K = x.status ? x.status : x.url ? "done" : "error",
|
|
3499
|
+
const K = x.status ? x.status : x.url ? "done" : "error", J = Mn({
|
|
3500
3500
|
...x,
|
|
3501
3501
|
fileId: x.fileId ?? `${Ht(10)}-${x.filename}`,
|
|
3502
3502
|
status: K,
|
|
3503
3503
|
percent: x.percent ?? (["error", "init"].indexOf(K) > -1 ? 0 : 1)
|
|
3504
3504
|
});
|
|
3505
|
-
return O.set(
|
|
3505
|
+
return O.set(J.fileId, J), J;
|
|
3506
3506
|
});
|
|
3507
3507
|
_.value = w ?? [];
|
|
3508
3508
|
};
|
|
@@ -3530,21 +3530,21 @@ const xr = /* @__PURE__ */ de({
|
|
|
3530
3530
|
const K = (we, he) => {
|
|
3531
3531
|
const Ee = O.get(y.fileId);
|
|
3532
3532
|
Ee && (Ee.status = "uploading", Ee.percent = we, a("progress", Ee, he));
|
|
3533
|
-
},
|
|
3533
|
+
}, J = x ? (we) => {
|
|
3534
3534
|
const he = O.get(y.fileId);
|
|
3535
3535
|
he && z != "" && we.every((Ee) => Ee.state == 200) ? Promise.resolve(
|
|
3536
3536
|
_r({
|
|
3537
3537
|
key: z
|
|
3538
3538
|
}).then((Ee) => {
|
|
3539
|
-
Ee.state == 200 ? (console.log("getUploadFileRes", Ee), L.delete(he.fileId), he.status = "done", he.percent = 1, he.response = Ee, he.url = Ee.data.url, a("success", he), b(he)) :
|
|
3539
|
+
Ee.state == 200 ? (console.log("getUploadFileRes", Ee), L.delete(he.fileId), he.status = "done", he.percent = 1, he.response = Ee, he.url = Ee.data.url, a("success", he), b(he)) : ae(we);
|
|
3540
3540
|
}).catch(() => {
|
|
3541
|
-
|
|
3541
|
+
ae(we);
|
|
3542
3542
|
})
|
|
3543
|
-
) :
|
|
3543
|
+
) : ae(we);
|
|
3544
3544
|
} : (we) => {
|
|
3545
3545
|
const he = O.get(y.fileId);
|
|
3546
|
-
he && (we.state == 200 ? (he.status = "done", he.percent = 1, he.response = we, L.delete(he.fileId), he.url = we.data.url, b(he), a("success", he)) :
|
|
3547
|
-
},
|
|
3546
|
+
he && (we.state == 200 ? (he.status = "done", he.percent = 1, he.response = we, L.delete(he.fileId), he.url = we.data.url, b(he), a("success", he)) : ae(we));
|
|
3547
|
+
}, ae = (we) => {
|
|
3548
3548
|
const he = O.get(y.fileId);
|
|
3549
3549
|
console.warn("上传报错", we, he), he && (he.status = "error", he.percent = 0, he.response = we, L.delete(he.fileId), a("error", he), b(he));
|
|
3550
3550
|
}, fe = {
|
|
@@ -3560,20 +3560,20 @@ const xr = /* @__PURE__ */ de({
|
|
|
3560
3560
|
thread: o.thread,
|
|
3561
3561
|
chunkSize: o.chunkSize,
|
|
3562
3562
|
onProgress: K,
|
|
3563
|
-
onSuccess:
|
|
3564
|
-
onError:
|
|
3563
|
+
onSuccess: J,
|
|
3564
|
+
onError: ae
|
|
3565
3565
|
};
|
|
3566
3566
|
y.status = "uploading", y.percent = 0;
|
|
3567
|
-
const
|
|
3568
|
-
L.set(y.fileId,
|
|
3567
|
+
const X = Tt(o.customRequest) ? o.customRequest(fe) : Ir(fe);
|
|
3568
|
+
L.set(y.fileId, X);
|
|
3569
3569
|
}, j = (y) => {
|
|
3570
3570
|
var x;
|
|
3571
3571
|
const w = L.get(y.fileId);
|
|
3572
3572
|
if (w)
|
|
3573
3573
|
if (Yn(w)) {
|
|
3574
3574
|
console.log("req", w), w.forEach((K) => {
|
|
3575
|
-
var
|
|
3576
|
-
(
|
|
3575
|
+
var J;
|
|
3576
|
+
(J = K.abort) == null || J.call(K);
|
|
3577
3577
|
});
|
|
3578
3578
|
const z = O.get(y.fileId);
|
|
3579
3579
|
z && (z.status = "error", z.percent = 0, b(z));
|
|
@@ -3730,7 +3730,7 @@ const jn = Ke(xr), Br = ["src"], Pr = /* @__PURE__ */ de({
|
|
|
3730
3730
|
L.value = !1;
|
|
3731
3731
|
}
|
|
3732
3732
|
return ($, A) => {
|
|
3733
|
-
const B =
|
|
3733
|
+
const B = Z("t-loading");
|
|
3734
3734
|
return v(), N(h(Ho), {
|
|
3735
3735
|
commonDialogProps: {
|
|
3736
3736
|
visible: $.isDialogVisible,
|
|
@@ -3784,10 +3784,10 @@ const Vr = Ke(Pr), Or = /* @__PURE__ */ de({
|
|
|
3784
3784
|
setup(n) {
|
|
3785
3785
|
const e = n, t = V(() => e.formItem.keyName), o = V(() => (t.value === "startTime" || t.value === "endTime") && typeof e.modelValue == "number" ? at(e.modelValue).format("YYYY/MM/DD HH:mm:ss") : e.modelValue);
|
|
3786
3786
|
return (a, l) => {
|
|
3787
|
-
const r =
|
|
3787
|
+
const r = Z("t-tag");
|
|
3788
3788
|
return v(), N(r, { class: "g-label" }, {
|
|
3789
3789
|
default: k(() => [
|
|
3790
|
-
|
|
3790
|
+
ce(re(o.value), 1)
|
|
3791
3791
|
]),
|
|
3792
3792
|
_: 1
|
|
3793
3793
|
});
|
|
@@ -3836,7 +3836,7 @@ const Jo = /* @__PURE__ */ It(Or, [["__scopeId", "data-v-48c19901"]]), Rn = /* @
|
|
|
3836
3836
|
});
|
|
3837
3837
|
const d = je(gn);
|
|
3838
3838
|
return (p, f) => {
|
|
3839
|
-
const T =
|
|
3839
|
+
const T = Z("t-input"), D = Z("t-tooltip");
|
|
3840
3840
|
return v(), W("div", {
|
|
3841
3841
|
ref_key: "formInputRef",
|
|
3842
3842
|
ref: c,
|
|
@@ -3893,7 +3893,7 @@ const Jo = /* @__PURE__ */ It(Or, [["__scopeId", "data-v-48c19901"]]), Rn = /* @
|
|
|
3893
3893
|
a("update:modelValue", r), t.originValue != r && a("blur:modelValue", r);
|
|
3894
3894
|
}
|
|
3895
3895
|
return (r, u) => {
|
|
3896
|
-
const i =
|
|
3896
|
+
const i = Z("t-checkbox");
|
|
3897
3897
|
return v(), N(i, {
|
|
3898
3898
|
modelValue: o.value,
|
|
3899
3899
|
"onUpdate:modelValue": u[0] || (u[0] = (c) => o.value = c),
|
|
@@ -3935,7 +3935,7 @@ const Jo = /* @__PURE__ */ It(Or, [["__scopeId", "data-v-48c19901"]]), Rn = /* @
|
|
|
3935
3935
|
), Wt(() => {
|
|
3936
3936
|
l("update:modelValue", Ve(o.value));
|
|
3937
3937
|
}), (u, i) => {
|
|
3938
|
-
const c =
|
|
3938
|
+
const c = Z("t-switch");
|
|
3939
3939
|
return v(), N(c, {
|
|
3940
3940
|
modelValue: a.value,
|
|
3941
3941
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => a.value = s),
|
|
@@ -4111,7 +4111,7 @@ const oa = /* @__PURE__ */ de({
|
|
|
4111
4111
|
), Wt(() => {
|
|
4112
4112
|
c("update:modelValue", Ve(o.value));
|
|
4113
4113
|
}), (d, p) => {
|
|
4114
|
-
const f =
|
|
4114
|
+
const f = Z("t-radio"), T = Z("t-radio-group");
|
|
4115
4115
|
return v(), N(T, {
|
|
4116
4116
|
modelValue: i.value,
|
|
4117
4117
|
"onUpdate:modelValue": p[0] || (p[0] = (D) => i.value = D),
|
|
@@ -4124,7 +4124,7 @@ const oa = /* @__PURE__ */ de({
|
|
|
4124
4124
|
value: D.value
|
|
4125
4125
|
}, {
|
|
4126
4126
|
default: k(() => [
|
|
4127
|
-
|
|
4127
|
+
ce(re(D.label), 1)
|
|
4128
4128
|
]),
|
|
4129
4129
|
_: 2
|
|
4130
4130
|
}, 1032, ["value"]))), 128))
|
|
@@ -4193,7 +4193,7 @@ const oa = /* @__PURE__ */ de({
|
|
|
4193
4193
|
});
|
|
4194
4194
|
const T = je(gn);
|
|
4195
4195
|
return (D, O) => {
|
|
4196
|
-
const L =
|
|
4196
|
+
const L = Z("t-select"), _ = Z("t-tooltip");
|
|
4197
4197
|
return v(), W("div", {
|
|
4198
4198
|
ref_key: "formSelectRef",
|
|
4199
4199
|
ref: p,
|
|
@@ -4274,7 +4274,7 @@ const oa = /* @__PURE__ */ de({
|
|
|
4274
4274
|
return Re(() => {
|
|
4275
4275
|
i.value && (c.value = xt(i.value));
|
|
4276
4276
|
}), (s, d) => {
|
|
4277
|
-
const p =
|
|
4277
|
+
const p = Z("t-date-picker"), f = Z("t-time-picker"), T = Z("t-tooltip");
|
|
4278
4278
|
return v(), W("div", {
|
|
4279
4279
|
ref_key: "formSelectDateTimeRef",
|
|
4280
4280
|
ref: i,
|
|
@@ -4381,7 +4381,7 @@ const oa = /* @__PURE__ */ de({
|
|
|
4381
4381
|
immediate: !0
|
|
4382
4382
|
}
|
|
4383
4383
|
), (T, D) => {
|
|
4384
|
-
const O =
|
|
4384
|
+
const O = Z("t-tree-select"), L = Z("t-tooltip");
|
|
4385
4385
|
return v(), W("div", {
|
|
4386
4386
|
ref_key: "formTreeCheckBoxRef",
|
|
4387
4387
|
ref: d,
|
|
@@ -4473,7 +4473,7 @@ const oa = /* @__PURE__ */ de({
|
|
|
4473
4473
|
immediate: !0
|
|
4474
4474
|
}
|
|
4475
4475
|
), (T, D) => {
|
|
4476
|
-
const O =
|
|
4476
|
+
const O = Z("t-cascader"), L = Z("t-tooltip");
|
|
4477
4477
|
return v(), W("div", {
|
|
4478
4478
|
ref_key: "formCascaderRef",
|
|
4479
4479
|
ref: d,
|
|
@@ -4785,7 +4785,7 @@ const Qr = /* @__PURE__ */ Yr(qr), Xr = /* @__PURE__ */ de({
|
|
|
4785
4785
|
return Re(() => {
|
|
4786
4786
|
i.value && (c.value = xt(i.value));
|
|
4787
4787
|
}), (s, d) => {
|
|
4788
|
-
const p =
|
|
4788
|
+
const p = Z("t-time-picker"), f = Z("t-tooltip");
|
|
4789
4789
|
return v(), W("div", {
|
|
4790
4790
|
ref_key: "formSelectDelayRef",
|
|
4791
4791
|
ref: i,
|
|
@@ -4960,7 +4960,7 @@ const Zr = /* @__PURE__ */ de({
|
|
|
4960
4960
|
return ft(() => {
|
|
4961
4961
|
u(Ve(a.value));
|
|
4962
4962
|
}), (p, f) => {
|
|
4963
|
-
const T =
|
|
4963
|
+
const T = Z("t-button"), D = Z("t-input"), O = Z("t-input-group"), L = Z("t-space");
|
|
4964
4964
|
return v(), N(L, null, {
|
|
4965
4965
|
default: k(() => [
|
|
4966
4966
|
l.value.length == 0 ? (v(), N(T, {
|
|
@@ -4969,7 +4969,7 @@ const Zr = /* @__PURE__ */ de({
|
|
|
4969
4969
|
variant: "outline"
|
|
4970
4970
|
}, {
|
|
4971
4971
|
default: k(() => [
|
|
4972
|
-
|
|
4972
|
+
ce(re(`${h(t).t("添加")}${p.formItem.name}`), 1)
|
|
4973
4973
|
]),
|
|
4974
4974
|
_: 1
|
|
4975
4975
|
})) : (v(), N(L, {
|
|
@@ -4993,7 +4993,7 @@ const Zr = /* @__PURE__ */ de({
|
|
|
4993
4993
|
onClick: (A) => s($)
|
|
4994
4994
|
}, {
|
|
4995
4995
|
default: k(() => [
|
|
4996
|
-
|
|
4996
|
+
ce("- ")
|
|
4997
4997
|
]),
|
|
4998
4998
|
_: 2
|
|
4999
4999
|
}, 1032, ["onClick"]),
|
|
@@ -5004,7 +5004,7 @@ const Zr = /* @__PURE__ */ de({
|
|
|
5004
5004
|
onClick: i
|
|
5005
5005
|
}, {
|
|
5006
5006
|
default: k(() => [
|
|
5007
|
-
|
|
5007
|
+
ce("+ ")
|
|
5008
5008
|
]),
|
|
5009
5009
|
_: 1
|
|
5010
5010
|
})) : q("", !0)
|
|
@@ -5112,7 +5112,7 @@ const es = ["id"], ts = /* @__PURE__ */ de({
|
|
|
5112
5112
|
m && m && m - B.value > -15 && (A.value = !0);
|
|
5113
5113
|
}
|
|
5114
5114
|
}), Kt(gn, l.componentProps), (m, b) => {
|
|
5115
|
-
const M =
|
|
5115
|
+
const M = Z("t-divider"), P = Z("t-tooltip"), j = Z("t-form-item");
|
|
5116
5116
|
return v(), W("div", {
|
|
5117
5117
|
ref: "formItemRef",
|
|
5118
5118
|
class: Q(`${h(yo)}`),
|
|
@@ -5124,7 +5124,7 @@ const es = ["id"], ts = /* @__PURE__ */ de({
|
|
|
5124
5124
|
align: "left"
|
|
5125
5125
|
}, {
|
|
5126
5126
|
default: k(() => [
|
|
5127
|
-
|
|
5127
|
+
ce(re(m.formItem.name), 1)
|
|
5128
5128
|
]),
|
|
5129
5129
|
_: 1
|
|
5130
5130
|
})) : m.formItem.itemType !== "hidden" && h(u)(m.formItem.showIf, m.formItem) ? (v(), N(j, {
|
|
@@ -5145,7 +5145,7 @@ const es = ["id"], ts = /* @__PURE__ */ de({
|
|
|
5145
5145
|
placement: "mouse"
|
|
5146
5146
|
}, {
|
|
5147
5147
|
default: k(() => [
|
|
5148
|
-
|
|
5148
|
+
le("span", {
|
|
5149
5149
|
ref_key: "formItemLabel",
|
|
5150
5150
|
ref: $,
|
|
5151
5151
|
class: Q([
|
|
@@ -5435,7 +5435,7 @@ const da = /* @__PURE__ */ It(ts, [["__scopeId", "data-v-56963e7e"]]), ns = ["id
|
|
|
5435
5435
|
const x = i.value.filter((K) => K.itemType == "file" && K.fileUploadType == "path").map((K) => K.keyName);
|
|
5436
5436
|
w.length && w.forEach((K) => {
|
|
5437
5437
|
x.includes(K) && y[K] && Yn(y[K]) && (y[K] = y[K].filter(
|
|
5438
|
-
(
|
|
5438
|
+
(J) => J && J.url
|
|
5439
5439
|
));
|
|
5440
5440
|
});
|
|
5441
5441
|
const z = i.value.filter((K) => K.itemType == "hidden");
|
|
@@ -5489,7 +5489,7 @@ const da = /* @__PURE__ */ It(ts, [["__scopeId", "data-v-56963e7e"]]), ns = ["id
|
|
|
5489
5489
|
}), Pa((g, y) => {
|
|
5490
5490
|
f(y.fullPath);
|
|
5491
5491
|
}), (g, y) => {
|
|
5492
|
-
const w =
|
|
5492
|
+
const w = Z("t-button");
|
|
5493
5493
|
return v(), N(h(Ko), {
|
|
5494
5494
|
ref_key: "commonFormRef",
|
|
5495
5495
|
ref: T,
|
|
@@ -5536,7 +5536,7 @@ const da = /* @__PURE__ */ It(ts, [["__scopeId", "data-v-56963e7e"]]), ns = ["id
|
|
|
5536
5536
|
default: k(() => {
|
|
5537
5537
|
var z;
|
|
5538
5538
|
return [
|
|
5539
|
-
|
|
5539
|
+
ce(re((z = P.value) == null ? void 0 : z.name), 1)
|
|
5540
5540
|
];
|
|
5541
5541
|
}),
|
|
5542
5542
|
_: 1
|
|
@@ -5551,9 +5551,9 @@ const da = /* @__PURE__ */ It(ts, [["__scopeId", "data-v-56963e7e"]]), ns = ["id
|
|
|
5551
5551
|
var z;
|
|
5552
5552
|
return [
|
|
5553
5553
|
I.value ? (v(), W(ve, { key: 1 }, [
|
|
5554
|
-
|
|
5554
|
+
ce(re(h(o).t("提交中")), 1)
|
|
5555
5555
|
], 64)) : (v(), W(ve, { key: 0 }, [
|
|
5556
|
-
|
|
5556
|
+
ce(re((z = M.value) == null ? void 0 : z.name), 1)
|
|
5557
5557
|
], 64))
|
|
5558
5558
|
];
|
|
5559
5559
|
}),
|
|
@@ -5655,7 +5655,7 @@ const ls = Ke(as), rs = /* @__PURE__ */ de({
|
|
|
5655
5655
|
}, 500);
|
|
5656
5656
|
}
|
|
5657
5657
|
return (s, d) => {
|
|
5658
|
-
const p =
|
|
5658
|
+
const p = Z("t-button");
|
|
5659
5659
|
return v(), N(h(Wo), null, Et({
|
|
5660
5660
|
"left-operations": k(() => [
|
|
5661
5661
|
(v(!0), W(ve, null, De(a.value, (f) => (v(), W(ve, {
|
|
@@ -5671,7 +5671,7 @@ const ls = Ke(as), rs = /* @__PURE__ */ de({
|
|
|
5671
5671
|
onClick: (T) => l(f)
|
|
5672
5672
|
}, {
|
|
5673
5673
|
default: k(() => [
|
|
5674
|
-
|
|
5674
|
+
ce(re(f.name), 1)
|
|
5675
5675
|
]),
|
|
5676
5676
|
_: 2
|
|
5677
5677
|
}, 1032, ["onClick"]))
|
|
@@ -7371,13 +7371,13 @@ function ci(n, e, t, o) {
|
|
|
7371
7371
|
r[I] = -1;
|
|
7372
7372
|
}
|
|
7373
7373
|
function b(S, I) {
|
|
7374
|
-
var g, y, w, x, z, K,
|
|
7375
|
-
for (T = S, f = !1, $ = T, p = j($), D = 1 << S - 1, O = D + 1, d = D + 2, s = 0, x = C(),
|
|
7376
|
-
++
|
|
7377
|
-
|
|
7374
|
+
var g, y, w, x, z, K, J;
|
|
7375
|
+
for (T = S, f = !1, $ = T, p = j($), D = 1 << S - 1, O = D + 1, d = D + 2, s = 0, x = C(), J = 0, g = Ot; g < 65536; g *= 2)
|
|
7376
|
+
++J;
|
|
7377
|
+
J = 8 - J, K = Ot, m(K), R(D, I);
|
|
7378
7378
|
e:
|
|
7379
7379
|
for (; (y = C()) != No; ) {
|
|
7380
|
-
if (g = (y << ln) + x, w = y <<
|
|
7380
|
+
if (g = (y << ln) + x, w = y << J ^ x, r[w] === g) {
|
|
7381
7381
|
x = u[w];
|
|
7382
7382
|
continue;
|
|
7383
7383
|
} else if (r[w] >= 0) {
|
|
@@ -7782,23 +7782,23 @@ class ke {
|
|
|
7782
7782
|
w.drawImage(H, 0, 0, H.width, H.height, 0, 0, S, S), w.rect(0, 0, S, S), w.fillStyle = j, w.fill();
|
|
7783
7783
|
} else
|
|
7784
7784
|
w.rect(0, 0, S, S), w.fillStyle = this.options.colorLight, w.fill();
|
|
7785
|
-
const K = Me.getPatternPosition(this.qrCode.typeNumber),
|
|
7785
|
+
const K = Me.getPatternPosition(this.qrCode.typeNumber), J = ((o = (t = this.options.components) === null || t === void 0 ? void 0 : t.data) === null || o === void 0 ? void 0 : o.scale) || sn, ae = (1 - J) * 0.5;
|
|
7786
7786
|
for (let H = 0; H < A; H++)
|
|
7787
7787
|
for (let oe = 0; oe < A; oe++) {
|
|
7788
7788
|
const me = this.qrCode.isDark(H, oe), te = oe < 8 && (H < 8 || H >= A - 8) || oe >= A - 8 && H < 8, ie = H == 6 && oe >= 8 && oe <= A - 8 || oe == 6 && H >= 8 && H <= A - 8;
|
|
7789
7789
|
let F = te || ie;
|
|
7790
7790
|
for (let ye = 1; ye < K.length - 1; ye++)
|
|
7791
7791
|
F = F || H >= K[ye] - 2 && H <= K[ye] + 2 && oe >= K[ye] - 2 && oe <= K[ye] + 2;
|
|
7792
|
-
const G = oe * C + (F ? 0 :
|
|
7792
|
+
const G = oe * C + (F ? 0 : ae * C), ne = H * C + (F ? 0 : ae * C);
|
|
7793
7793
|
if (g.strokeStyle = me ? this.options.colorDark : this.options.colorLight, g.lineWidth = 0.5, g.fillStyle = me ? this.options.colorDark : this.options.colorLight, K.length === 0)
|
|
7794
|
-
F || g.fillRect(G, ne, (F ? 1 :
|
|
7794
|
+
F || g.fillRect(G, ne, (F ? 1 : J) * C, (F ? 1 : J) * C);
|
|
7795
7795
|
else {
|
|
7796
7796
|
const ye = oe < A - 4 && oe >= A - 4 - 5 && H < A - 4 && H >= A - 4 - 5;
|
|
7797
|
-
!F && !ye && g.fillRect(G, ne, (F ? 1 :
|
|
7797
|
+
!F && !ye && g.fillRect(G, ne, (F ? 1 : J) * C, (F ? 1 : J) * C);
|
|
7798
7798
|
}
|
|
7799
7799
|
}
|
|
7800
|
-
const fe = K[K.length - 1],
|
|
7801
|
-
if (g.fillStyle =
|
|
7800
|
+
const fe = K[K.length - 1], X = this.options.colorLight;
|
|
7801
|
+
if (g.fillStyle = X, g.fillRect(0, 0, 8 * C, 8 * C), g.fillRect(0, (A - 8) * C, 8 * C, 8 * C), g.fillRect((A - 8) * C, 0, 8 * C, 8 * C), !((l = (a = this.options.components) === null || a === void 0 ? void 0 : a.timing) === null || l === void 0) && l.protectors && (g.fillRect(8 * C, 6 * C, (A - 8 - 8) * C, C), g.fillRect(6 * C, 8 * C, C, (A - 8 - 8) * C)), !((u = (r = this.options.components) === null || r === void 0 ? void 0 : r.cornerAlignment) === null || u === void 0) && u.protectors && ke._drawAlignProtector(g, fe, fe, C), !((c = (i = this.options.components) === null || i === void 0 ? void 0 : i.alignment) === null || c === void 0) && c.protectors)
|
|
7802
7802
|
for (let H = 0; H < K.length; H++)
|
|
7803
7803
|
for (let oe = 0; oe < K.length; oe++) {
|
|
7804
7804
|
const me = K[oe], te = K[H];
|
|
@@ -7843,8 +7843,8 @@ class ke {
|
|
|
7843
7843
|
H || (H = new Se(B, B), H.setDelay(G.delay), H.setRepeat(0));
|
|
7844
7844
|
const { width: ne, height: ye } = G.dims;
|
|
7845
7845
|
oe || (oe = new tt(ne, ye), me = oe.getContext("2d"), me.rect(0, 0, oe.width, oe.height), me.fillStyle = "#ffffff", me.fill()), (!te || !F || ne !== te.width || ye !== te.height) && (te = new tt(ne, ye), ie = te.getContext("2d"), F = ie.createImageData(ne, ye)), F.data.set(G.patch), ie.putImageData(F, 0, 0), me.drawImage(te.getContext("2d").canvas, G.dims.left, G.dims.top);
|
|
7846
|
-
const be = new tt(S, S),
|
|
7847
|
-
|
|
7846
|
+
const be = new tt(S, S), ue = be.getContext("2d");
|
|
7847
|
+
ue.drawImage(oe.getContext("2d").canvas, 0, 0, S, S), ue.rect(0, 0, S, S), ue.fillStyle = j, ue.fill(), ue.drawImage(I.getContext("2d").canvas, 0, 0, S, S);
|
|
7848
7848
|
const _e = new tt(B, B), Te = _e.getContext("2d");
|
|
7849
7849
|
Te.drawImage(be.getContext("2d").canvas, 0, 0, B, B), H.addFrame(Te.getImageData(0, 0, _e.width, _e.height).data);
|
|
7850
7850
|
}), !H)
|
|
@@ -8211,7 +8211,7 @@ const vi = { key: 0 }, yi = ["innerHTML"], bi = ["innerHTML"], wi = ["innerHTML"
|
|
|
8211
8211
|
() => o(),
|
|
8212
8212
|
{ deep: !0 }
|
|
8213
8213
|
), (m, b) => {
|
|
8214
|
-
const M =
|
|
8214
|
+
const M = Z("t-button"), P = Z("t-popup"), j = Z("t-image"), C = Z("t-image-viewer");
|
|
8215
8215
|
return h(a) ? q("", !0) : (v(), N(h(Yo), {
|
|
8216
8216
|
key: 0,
|
|
8217
8217
|
tableType: "primary",
|
|
@@ -8226,7 +8226,7 @@ const vi = { key: 0 }, yi = ["innerHTML"], bi = ["innerHTML"], wi = ["innerHTML"
|
|
|
8226
8226
|
}, {
|
|
8227
8227
|
TEXT: k(({ col: R, row: S }) => [
|
|
8228
8228
|
D(T(R, S)) ? (v(), W("span", vi, [
|
|
8229
|
-
|
|
8229
|
+
le("span", {
|
|
8230
8230
|
innerHTML: T(R, S),
|
|
8231
8231
|
style: { "white-space": "pre-wrap" }
|
|
8232
8232
|
}, null, 8, yi)
|
|
@@ -8236,12 +8236,12 @@ const vi = { key: 0 }, yi = ["innerHTML"], bi = ["innerHTML"], wi = ["innerHTML"
|
|
|
8236
8236
|
}, null, 8, bi))
|
|
8237
8237
|
]),
|
|
8238
8238
|
ENUMS: k(({ col: R, row: S }) => [
|
|
8239
|
-
|
|
8239
|
+
le("span", {
|
|
8240
8240
|
innerHTML: L(R, S)
|
|
8241
8241
|
}, null, 8, wi)
|
|
8242
8242
|
]),
|
|
8243
8243
|
DATE: k(({ col: R, row: S }) => [
|
|
8244
|
-
|
|
8244
|
+
le("span", {
|
|
8245
8245
|
innerHTML: _(R, S)
|
|
8246
8246
|
}, null, 8, Ti)
|
|
8247
8247
|
]),
|
|
@@ -8253,7 +8253,7 @@ const vi = { key: 0 }, yi = ["innerHTML"], bi = ["innerHTML"], wi = ["innerHTML"
|
|
|
8253
8253
|
size: 80,
|
|
8254
8254
|
margin: 0
|
|
8255
8255
|
}, null, 8, ["text"]),
|
|
8256
|
-
|
|
8256
|
+
le("div", ki, re(S.code), 1)
|
|
8257
8257
|
]),
|
|
8258
8258
|
default: k(() => [
|
|
8259
8259
|
E(M, {
|
|
@@ -8261,7 +8261,7 @@ const vi = { key: 0 }, yi = ["innerHTML"], bi = ["innerHTML"], wi = ["innerHTML"
|
|
|
8261
8261
|
theme: "primary"
|
|
8262
8262
|
}, {
|
|
8263
8263
|
default: k(() => [
|
|
8264
|
-
|
|
8264
|
+
ce(re(h(t).t("预览")), 1)
|
|
8265
8265
|
]),
|
|
8266
8266
|
_: 1
|
|
8267
8267
|
})
|
|
@@ -8278,7 +8278,7 @@ const vi = { key: 0 }, yi = ["innerHTML"], bi = ["innerHTML"], wi = ["innerHTML"
|
|
|
8278
8278
|
}, null, 8, ["viewName", "col", "row"])
|
|
8279
8279
|
]),
|
|
8280
8280
|
IMAGE: k(({ col: R, row: S }) => [
|
|
8281
|
-
|
|
8281
|
+
le("div", {
|
|
8282
8282
|
class: Q(`${h(Dt)}__imageViewer`)
|
|
8283
8283
|
}, [
|
|
8284
8284
|
T(R, S) ? (v(), N(C, {
|
|
@@ -8286,7 +8286,7 @@ const vi = { key: 0 }, yi = ["innerHTML"], bi = ["innerHTML"], wi = ["innerHTML"
|
|
|
8286
8286
|
images: [T(R, S)]
|
|
8287
8287
|
}, {
|
|
8288
8288
|
trigger: k(({ open: I }) => [
|
|
8289
|
-
|
|
8289
|
+
le("div", {
|
|
8290
8290
|
class: Q(`${h(Dt)}__imageViewer--image`)
|
|
8291
8291
|
}, [
|
|
8292
8292
|
E(j, {
|
|
@@ -8306,13 +8306,13 @@ const vi = { key: 0 }, yi = ["innerHTML"], bi = ["innerHTML"], wi = ["innerHTML"
|
|
|
8306
8306
|
]),
|
|
8307
8307
|
_: 2
|
|
8308
8308
|
}, 1032, ["class", "src"]),
|
|
8309
|
-
|
|
8309
|
+
le("div", {
|
|
8310
8310
|
class: Q(`${h(Dt)}__imageViewer--hover`),
|
|
8311
8311
|
onClick: I
|
|
8312
8312
|
}, [
|
|
8313
|
-
|
|
8313
|
+
le("span", null, [
|
|
8314
8314
|
E(h(ll), { size: "1.4em" }),
|
|
8315
|
-
|
|
8315
|
+
ce(" " + re(h(t).t("预览")), 1)
|
|
8316
8316
|
])
|
|
8317
8317
|
], 10, Mi)
|
|
8318
8318
|
], 2)
|
|
@@ -8340,7 +8340,7 @@ const vi = { key: 0 }, yi = ["innerHTML"], bi = ["innerHTML"], wi = ["innerHTML"
|
|
|
8340
8340
|
onClick: (g) => A(I, S)
|
|
8341
8341
|
}, {
|
|
8342
8342
|
default: k(() => [
|
|
8343
|
-
|
|
8343
|
+
ce(re(I.name), 1)
|
|
8344
8344
|
]),
|
|
8345
8345
|
_: 2
|
|
8346
8346
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -8385,7 +8385,7 @@ const _i = /* @__PURE__ */ It(Ci, [["__scopeId", "data-v-76aa3d4f"]]), Ii = /* @
|
|
|
8385
8385
|
T && (t.removeTabMenuItemByPath(f), console.log(T), T != "/home" ? a.push(T) : d.value && a.push({ path: d.value, query: Ut(d.value) }));
|
|
8386
8386
|
}
|
|
8387
8387
|
return (f, T) => {
|
|
8388
|
-
const D =
|
|
8388
|
+
const D = Z("t-card"), O = Z("t-tab-panel"), L = Z("t-tabs");
|
|
8389
8389
|
return v(), N(L, {
|
|
8390
8390
|
class: Q(`${h(_l)}`),
|
|
8391
8391
|
placement: "left",
|
|
@@ -8558,7 +8558,7 @@ const Li = /* @__PURE__ */ de({
|
|
|
8558
8558
|
variant: "text",
|
|
8559
8559
|
loading: !0
|
|
8560
8560
|
}
|
|
8561
|
-
}), U.buttonId && (await
|
|
8561
|
+
}), U.buttonId && (await ae(ie, U.buttonId) && F.update({
|
|
8562
8562
|
confirmBtn: {
|
|
8563
8563
|
content: `${t.t("确定")}`,
|
|
8564
8564
|
variant: "text",
|
|
@@ -8602,7 +8602,7 @@ const Li = /* @__PURE__ */ de({
|
|
|
8602
8602
|
variant: "text",
|
|
8603
8603
|
loading: !1
|
|
8604
8604
|
}
|
|
8605
|
-
}), te.destroy()) : (await
|
|
8605
|
+
}), te.destroy()) : (await X(U, w.value) && te.update({
|
|
8606
8606
|
confirmBtn: {
|
|
8607
8607
|
content: `${t.t("确定")}`,
|
|
8608
8608
|
variant: "text",
|
|
@@ -8708,13 +8708,13 @@ const Li = /* @__PURE__ */ de({
|
|
|
8708
8708
|
function K(U) {
|
|
8709
8709
|
z.value = U;
|
|
8710
8710
|
}
|
|
8711
|
-
function
|
|
8711
|
+
function J(U) {
|
|
8712
8712
|
Object.assign(_.value, {
|
|
8713
8713
|
page: U.current - 1,
|
|
8714
8714
|
count: U.pageSize
|
|
8715
8715
|
}), B();
|
|
8716
8716
|
}
|
|
8717
|
-
async function
|
|
8717
|
+
async function ae(U, ee) {
|
|
8718
8718
|
I.value && (I.value.formOkButtonLoading || (I.value.formOkButtonLoading = !0));
|
|
8719
8719
|
let H = {};
|
|
8720
8720
|
return Object.keys($.value).length && Object.assign(H, $.value), Object.assign(H, U), (await Ur({
|
|
@@ -8730,7 +8730,7 @@ const Li = /* @__PURE__ */ de({
|
|
|
8730
8730
|
body: `${t.t("此操作将提交该修改,是否继续?")}`,
|
|
8731
8731
|
className: dn,
|
|
8732
8732
|
onConfirm: async () => {
|
|
8733
|
-
await
|
|
8733
|
+
await ae(ee, U.buttonId) && H.destroy();
|
|
8734
8734
|
},
|
|
8735
8735
|
onCancel: () => {
|
|
8736
8736
|
ge.info(`${t.t("已取消修改")}`);
|
|
@@ -8747,9 +8747,9 @@ const Li = /* @__PURE__ */ de({
|
|
|
8747
8747
|
}
|
|
8748
8748
|
});
|
|
8749
8749
|
} else
|
|
8750
|
-
|
|
8750
|
+
ae(ee, U.buttonId);
|
|
8751
8751
|
}
|
|
8752
|
-
async function
|
|
8752
|
+
async function X(U, ee) {
|
|
8753
8753
|
let H = {};
|
|
8754
8754
|
return Object.keys($.value).length && Object.assign(H, $.value), (await jr({
|
|
8755
8755
|
viewName: i.viewName,
|
|
@@ -8777,13 +8777,13 @@ const Li = /* @__PURE__ */ de({
|
|
|
8777
8777
|
});
|
|
8778
8778
|
}
|
|
8779
8779
|
async function he(U, ee) {
|
|
8780
|
-
await
|
|
8780
|
+
await ae(U, ee) && Ee();
|
|
8781
8781
|
}
|
|
8782
8782
|
function Ee() {
|
|
8783
8783
|
c("close-dialog");
|
|
8784
8784
|
}
|
|
8785
8785
|
return Kt(Bt, $.value), (U, ee) => {
|
|
8786
|
-
const H =
|
|
8786
|
+
const H = Z("t-loading");
|
|
8787
8787
|
return v(), W("div", {
|
|
8788
8788
|
class: Q(`${h(kl)}`)
|
|
8789
8789
|
}, [
|
|
@@ -8806,7 +8806,7 @@ const Li = /* @__PURE__ */ de({
|
|
|
8806
8806
|
viewName: U.viewName,
|
|
8807
8807
|
board: U.board,
|
|
8808
8808
|
formData: f.value,
|
|
8809
|
-
onConfirmForm:
|
|
8809
|
+
onConfirmForm: ae,
|
|
8810
8810
|
onConfirmAndClose: he,
|
|
8811
8811
|
onCloseDialog: Ee
|
|
8812
8812
|
}, null, 8, ["viewName", "board", "formData"])) : q("", !0),
|
|
@@ -8821,7 +8821,7 @@ const Li = /* @__PURE__ */ de({
|
|
|
8821
8821
|
onTableFormConfirm: fe,
|
|
8822
8822
|
onReturnSelectedKey: x,
|
|
8823
8823
|
onReturnSelectedRow: K,
|
|
8824
|
-
onReturnPaginationProps:
|
|
8824
|
+
onReturnPaginationProps: J
|
|
8825
8825
|
}, null, 8, ["viewName", "board", "tableData", "paginationProps", "headerFilterProps"])) : q("", !0),
|
|
8826
8826
|
s.value === "tab" ? (v(), N(Ii, {
|
|
8827
8827
|
key: 3,
|
|
@@ -9284,8 +9284,8 @@ var Ma = { exports: {} };
|
|
|
9284
9284
|
if (typeof w == "string" && !/Z$/i.test(w)) {
|
|
9285
9285
|
var z = w.match(O);
|
|
9286
9286
|
if (z) {
|
|
9287
|
-
var K = z[2] - 1 || 0,
|
|
9288
|
-
return x ? new Date(Date.UTC(z[1], K, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0,
|
|
9287
|
+
var K = z[2] - 1 || 0, J = (z[7] || "0").substring(0, 3);
|
|
9288
|
+
return x ? new Date(Date.UTC(z[1], K, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, J)) : new Date(z[1], K, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, J);
|
|
9289
9289
|
}
|
|
9290
9290
|
}
|
|
9291
9291
|
return new Date(w);
|
|
@@ -9314,38 +9314,38 @@ var Ma = { exports: {} };
|
|
|
9314
9314
|
var w = this, x = !!j.u(y) || y, z = j.p(g), K = function(U, ee) {
|
|
9315
9315
|
var H = j.w(w.$u ? Date.UTC(w.$y, ee, U) : new Date(w.$y, ee, U), w);
|
|
9316
9316
|
return x ? H : H.endOf(c);
|
|
9317
|
-
},
|
|
9317
|
+
}, J = function(U, ee) {
|
|
9318
9318
|
return j.w(w.toDate()[U].apply(w.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ee)), w);
|
|
9319
|
-
},
|
|
9319
|
+
}, ae = this.$W, fe = this.$M, X = this.$D, Ce = "set" + (this.$u ? "UTC" : "");
|
|
9320
9320
|
switch (z) {
|
|
9321
9321
|
case f:
|
|
9322
9322
|
return x ? K(1, 0) : K(31, 11);
|
|
9323
9323
|
case d:
|
|
9324
9324
|
return x ? K(1, fe) : K(0, fe + 1);
|
|
9325
9325
|
case s:
|
|
9326
|
-
var we = this.$locale().weekStart || 0, he = (
|
|
9327
|
-
return K(x ?
|
|
9326
|
+
var we = this.$locale().weekStart || 0, he = (ae < we ? ae + 7 : ae) - we;
|
|
9327
|
+
return K(x ? X - he : X + (6 - he), fe);
|
|
9328
9328
|
case c:
|
|
9329
9329
|
case T:
|
|
9330
|
-
return
|
|
9330
|
+
return J(Ce + "Hours", 0);
|
|
9331
9331
|
case i:
|
|
9332
|
-
return
|
|
9332
|
+
return J(Ce + "Minutes", 1);
|
|
9333
9333
|
case u:
|
|
9334
|
-
return
|
|
9334
|
+
return J(Ce + "Seconds", 2);
|
|
9335
9335
|
case r:
|
|
9336
|
-
return
|
|
9336
|
+
return J(Ce + "Milliseconds", 3);
|
|
9337
9337
|
default:
|
|
9338
9338
|
return this.clone();
|
|
9339
9339
|
}
|
|
9340
9340
|
}, I.endOf = function(g) {
|
|
9341
9341
|
return this.startOf(g, !1);
|
|
9342
9342
|
}, I.$set = function(g, y) {
|
|
9343
|
-
var w, x = j.p(g), z = "set" + (this.$u ? "UTC" : ""), K = (w = {}, w[c] = z + "Date", w[T] = z + "Date", w[d] = z + "Month", w[f] = z + "FullYear", w[i] = z + "Hours", w[u] = z + "Minutes", w[r] = z + "Seconds", w[l] = z + "Milliseconds", w)[x],
|
|
9343
|
+
var w, x = j.p(g), z = "set" + (this.$u ? "UTC" : ""), K = (w = {}, w[c] = z + "Date", w[T] = z + "Date", w[d] = z + "Month", w[f] = z + "FullYear", w[i] = z + "Hours", w[u] = z + "Minutes", w[r] = z + "Seconds", w[l] = z + "Milliseconds", w)[x], J = x === c ? this.$D + (y - this.$W) : y;
|
|
9344
9344
|
if (x === d || x === f) {
|
|
9345
|
-
var
|
|
9346
|
-
|
|
9345
|
+
var ae = this.clone().set(T, 1);
|
|
9346
|
+
ae.$d[K](J), ae.init(), this.$d = ae.set(T, Math.min(this.$D, ae.daysInMonth())).$d;
|
|
9347
9347
|
} else
|
|
9348
|
-
K && this.$d[K](
|
|
9348
|
+
K && this.$d[K](J);
|
|
9349
9349
|
return this.init(), this;
|
|
9350
9350
|
}, I.set = function(g, y) {
|
|
9351
9351
|
return this.clone().$set(g, y);
|
|
@@ -9354,9 +9354,9 @@ var Ma = { exports: {} };
|
|
|
9354
9354
|
}, I.add = function(g, y) {
|
|
9355
9355
|
var w, x = this;
|
|
9356
9356
|
g = Number(g);
|
|
9357
|
-
var z = j.p(y), K = function(
|
|
9357
|
+
var z = j.p(y), K = function(X) {
|
|
9358
9358
|
var Ce = P(x);
|
|
9359
|
-
return j.w(Ce.date(Ce.date() + Math.round(
|
|
9359
|
+
return j.w(Ce.date(Ce.date() + Math.round(X * g)), x);
|
|
9360
9360
|
};
|
|
9361
9361
|
if (z === d)
|
|
9362
9362
|
return this.set(d, this.$M + g);
|
|
@@ -9366,15 +9366,15 @@ var Ma = { exports: {} };
|
|
|
9366
9366
|
return K(1);
|
|
9367
9367
|
if (z === s)
|
|
9368
9368
|
return K(7);
|
|
9369
|
-
var
|
|
9370
|
-
return j.w(
|
|
9369
|
+
var J = (w = {}, w[u] = o, w[i] = a, w[r] = t, w)[z] || 1, ae = this.$d.getTime() + g * J;
|
|
9370
|
+
return j.w(ae, this);
|
|
9371
9371
|
}, I.subtract = function(g, y) {
|
|
9372
9372
|
return this.add(-1 * g, y);
|
|
9373
9373
|
}, I.format = function(g) {
|
|
9374
9374
|
var y = this, w = this.$locale();
|
|
9375
9375
|
if (!this.isValid())
|
|
9376
9376
|
return w.invalidDate || D;
|
|
9377
|
-
var x = g || "YYYY-MM-DDTHH:mm:ssZ", z = j.z(this), K = this.$H,
|
|
9377
|
+
var x = g || "YYYY-MM-DDTHH:mm:ssZ", z = j.z(this), K = this.$H, J = this.$m, ae = this.$M, fe = w.weekdays, X = w.months, Ce = w.meridiem, we = function(ee, H, oe, me) {
|
|
9378
9378
|
return ee && (ee[H] || ee(y, x)) || oe[H].slice(0, me);
|
|
9379
9379
|
}, he = function(ee) {
|
|
9380
9380
|
return j.s(K % 12 || 12, ee, "0");
|
|
@@ -9390,13 +9390,13 @@ var Ma = { exports: {} };
|
|
|
9390
9390
|
case "YYYY":
|
|
9391
9391
|
return j.s(y.$y, 4, "0");
|
|
9392
9392
|
case "M":
|
|
9393
|
-
return
|
|
9393
|
+
return ae + 1;
|
|
9394
9394
|
case "MM":
|
|
9395
|
-
return j.s(
|
|
9395
|
+
return j.s(ae + 1, 2, "0");
|
|
9396
9396
|
case "MMM":
|
|
9397
|
-
return we(w.monthsShort,
|
|
9397
|
+
return we(w.monthsShort, ae, X, 3);
|
|
9398
9398
|
case "MMMM":
|
|
9399
|
-
return we(
|
|
9399
|
+
return we(X, ae);
|
|
9400
9400
|
case "D":
|
|
9401
9401
|
return y.$D;
|
|
9402
9402
|
case "DD":
|
|
@@ -9418,13 +9418,13 @@ var Ma = { exports: {} };
|
|
|
9418
9418
|
case "hh":
|
|
9419
9419
|
return he(2);
|
|
9420
9420
|
case "a":
|
|
9421
|
-
return Ee(K,
|
|
9421
|
+
return Ee(K, J, !0);
|
|
9422
9422
|
case "A":
|
|
9423
|
-
return Ee(K,
|
|
9423
|
+
return Ee(K, J, !1);
|
|
9424
9424
|
case "m":
|
|
9425
|
-
return String(
|
|
9425
|
+
return String(J);
|
|
9426
9426
|
case "mm":
|
|
9427
|
-
return j.s(
|
|
9427
|
+
return j.s(J, 2, "0");
|
|
9428
9428
|
case "s":
|
|
9429
9429
|
return String(y.$s);
|
|
9430
9430
|
case "ss":
|
|
@@ -9440,24 +9440,24 @@ var Ma = { exports: {} };
|
|
|
9440
9440
|
}, I.utcOffset = function() {
|
|
9441
9441
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
9442
9442
|
}, I.diff = function(g, y, w) {
|
|
9443
|
-
var x, z = this, K = j.p(y),
|
|
9444
|
-
return j.m(z,
|
|
9443
|
+
var x, z = this, K = j.p(y), J = P(g), ae = (J.utcOffset() - this.utcOffset()) * o, fe = this - J, X = function() {
|
|
9444
|
+
return j.m(z, J);
|
|
9445
9445
|
};
|
|
9446
9446
|
switch (K) {
|
|
9447
9447
|
case f:
|
|
9448
|
-
x =
|
|
9448
|
+
x = X() / 12;
|
|
9449
9449
|
break;
|
|
9450
9450
|
case d:
|
|
9451
|
-
x =
|
|
9451
|
+
x = X();
|
|
9452
9452
|
break;
|
|
9453
9453
|
case p:
|
|
9454
|
-
x =
|
|
9454
|
+
x = X() / 3;
|
|
9455
9455
|
break;
|
|
9456
9456
|
case s:
|
|
9457
|
-
x = (fe -
|
|
9457
|
+
x = (fe - ae) / 6048e5;
|
|
9458
9458
|
break;
|
|
9459
9459
|
case c:
|
|
9460
|
-
x = (fe -
|
|
9460
|
+
x = (fe - ae) / 864e5;
|
|
9461
9461
|
break;
|
|
9462
9462
|
case i:
|
|
9463
9463
|
x = fe / a;
|
|
@@ -9811,7 +9811,7 @@ const $i = { class: "gConfigProvider" }, xi = /* @__PURE__ */ de({
|
|
|
9811
9811
|
}, 8, ["globalConfig"])
|
|
9812
9812
|
]));
|
|
9813
9813
|
}
|
|
9814
|
-
}), Bi = Ke(xi), Pi = "@gonsin/gview", Vi = "2.0.
|
|
9814
|
+
}), Bi = Ke(xi), Pi = "@gonsin/gview", Vi = "2.0.78", Oi = "dist/index.mjs", Ui = "dist/types/index.d.ts", ji = [
|
|
9815
9815
|
"dist",
|
|
9816
9816
|
"README.md",
|
|
9817
9817
|
"CHANGELOG.md"
|
|
@@ -10576,11 +10576,11 @@ const Yi = [
|
|
|
10576
10576
|
function g(F, G) {
|
|
10577
10577
|
var ne, ye;
|
|
10578
10578
|
if (B.value && B.value.length) {
|
|
10579
|
-
const be = B.value.map((
|
|
10579
|
+
const be = B.value.map((ue) => {
|
|
10580
10580
|
if (c.value == "addGroup")
|
|
10581
|
-
return
|
|
10582
|
-
if (
|
|
10583
|
-
return
|
|
10581
|
+
return ue.name;
|
|
10582
|
+
if (ue.parent != f.value.name)
|
|
10583
|
+
return ue.name;
|
|
10584
10584
|
});
|
|
10585
10585
|
if ((c.value == "addGroup" || G == "children") && be.includes(F))
|
|
10586
10586
|
return !1;
|
|
@@ -10591,10 +10591,10 @@ const Yi = [
|
|
|
10591
10591
|
} else if (G == "children") {
|
|
10592
10592
|
if (F === f.value.name)
|
|
10593
10593
|
return !1;
|
|
10594
|
-
const be = (ye = f.value.children) == null ? void 0 : ye.map((_e) => _e.name),
|
|
10594
|
+
const be = (ye = f.value.children) == null ? void 0 : ye.map((_e) => _e.name), ue = be == null ? void 0 : be.filter(
|
|
10595
10595
|
(_e, Te) => be.indexOf(_e) !== be.lastIndexOf(_e) && be.indexOf(_e) === Te
|
|
10596
10596
|
);
|
|
10597
|
-
if (
|
|
10597
|
+
if (ue != null && ue.length)
|
|
10598
10598
|
return !1;
|
|
10599
10599
|
}
|
|
10600
10600
|
return !0;
|
|
@@ -10611,9 +10611,9 @@ const Yi = [
|
|
|
10611
10611
|
if (O.value) {
|
|
10612
10612
|
const ne = O.value.getTreeExpandedRow("unique");
|
|
10613
10613
|
(G = O.value) == null || G.resetData(F);
|
|
10614
|
-
const be = O.value.getTreeExpandedRow("all").filter((
|
|
10615
|
-
be && be.forEach((
|
|
10616
|
-
(!
|
|
10614
|
+
const be = O.value.getTreeExpandedRow("all").filter((ue) => !ne.some((Te) => Te === ue.id));
|
|
10615
|
+
be && be.forEach((ue) => {
|
|
10616
|
+
(!ue.parent || ue.parent && ue.parent.id && !be.some((_e) => _e.id === ue.parent.id)) && O.value.toggleExpandData(ue);
|
|
10617
10617
|
});
|
|
10618
10618
|
}
|
|
10619
10619
|
} catch (ne) {
|
|
@@ -10637,13 +10637,13 @@ const Yi = [
|
|
|
10637
10637
|
children: []
|
|
10638
10638
|
});
|
|
10639
10639
|
}
|
|
10640
|
-
function
|
|
10640
|
+
function J(F) {
|
|
10641
10641
|
if (f.value.children) {
|
|
10642
10642
|
const G = f.value.children.indexOf(F);
|
|
10643
10643
|
G != -1 && f.value.children.splice(G, 1);
|
|
10644
10644
|
}
|
|
10645
10645
|
}
|
|
10646
|
-
function
|
|
10646
|
+
function ae() {
|
|
10647
10647
|
if ((f.value.level == 1 || f.value.level == 2) && f.value.children) {
|
|
10648
10648
|
const F = f.value.level + 1;
|
|
10649
10649
|
f.value.children.push({
|
|
@@ -10663,7 +10663,7 @@ const Yi = [
|
|
|
10663
10663
|
function fe(F) {
|
|
10664
10664
|
f.value = At(F), F.isGroup ? c.value = "editGroup" : (c.value = "editItem", f.value.isInner = S(F)), i.value = !0;
|
|
10665
10665
|
}
|
|
10666
|
-
function
|
|
10666
|
+
function X(F) {
|
|
10667
10667
|
f.value = At(F), i.value = !0, c.value = "moveItemTo";
|
|
10668
10668
|
}
|
|
10669
10669
|
function Ce() {
|
|
@@ -10689,11 +10689,11 @@ const Yi = [
|
|
|
10689
10689
|
function he() {
|
|
10690
10690
|
var F;
|
|
10691
10691
|
(F = _.value) == null || F.validate().then((G) => {
|
|
10692
|
-
var ne, ye, be,
|
|
10692
|
+
var ne, ye, be, ue, _e, Te, Pe;
|
|
10693
10693
|
if (!Object.keys(G).length)
|
|
10694
10694
|
c.value == "addGroup" ? (f.value.edificeKey = l.value, f.value.children && ((ne = f.value.children) != null && ne.length) && f.value.children.forEach((se) => {
|
|
10695
10695
|
se.parent == "" && (se.parent = f.value.name);
|
|
10696
|
-
}), (ye = O.value) == null || ye.appendTo("", f.value), ge.success(`${e.t("保存新增组成功!")}`)) : c.value == "editGroup" || c.value == "editItem" ? ((be = O.value) == null || be.setData(f.value.name, f.value), f.value.isGroup ? ((_e = (
|
|
10696
|
+
}), (ye = O.value) == null || ye.appendTo("", f.value), ge.success(`${e.t("保存新增组成功!")}`)) : c.value == "editGroup" || c.value == "editItem" ? ((be = O.value) == null || be.setData(f.value.name, f.value), f.value.isGroup ? ((_e = (ue = f.value) == null ? void 0 : ue.children) == null || _e.forEach((se) => {
|
|
10697
10697
|
var Fe;
|
|
10698
10698
|
(Fe = O.value) == null || Fe.setData(se.name, se);
|
|
10699
10699
|
}), ge.success(`${e.t("编辑组成功!")}`)) : (Ee(
|
|
@@ -10728,7 +10728,7 @@ const Yi = [
|
|
|
10728
10728
|
body: `${e.t("确定要撤销 %s 吗?")}`.replace("%s", `${F.title}`),
|
|
10729
10729
|
className: dn,
|
|
10730
10730
|
onConfirm: () => {
|
|
10731
|
-
var ye, be,
|
|
10731
|
+
var ye, be, ue, _e;
|
|
10732
10732
|
let ne = [];
|
|
10733
10733
|
if (F.level == 1)
|
|
10734
10734
|
(ye = F.children) == null || ye.forEach((Te) => {
|
|
@@ -10739,7 +10739,7 @@ const Yi = [
|
|
|
10739
10739
|
});
|
|
10740
10740
|
else if (F.level == 2) {
|
|
10741
10741
|
const { parent: Te } = F;
|
|
10742
|
-
(
|
|
10742
|
+
(ue = F.children) == null || ue.forEach((Pe) => {
|
|
10743
10743
|
Pe.level = 2, Pe.parent = Te, ne.push(Pe);
|
|
10744
10744
|
}), (_e = O.value) == null || _e.remove(F.name), x(), ne.forEach((Pe) => {
|
|
10745
10745
|
var se;
|
|
@@ -10785,8 +10785,8 @@ const Yi = [
|
|
|
10785
10785
|
}
|
|
10786
10786
|
}
|
|
10787
10787
|
function oe(F) {
|
|
10788
|
-
const { current: G, target: ne, currentIndex: ye, targetIndex: be } = F,
|
|
10789
|
-
if (
|
|
10788
|
+
const { current: G, target: ne, currentIndex: ye, targetIndex: be } = F, ue = G.level, _e = G.parent, Te = ne.level, Pe = ne.parent;
|
|
10789
|
+
if (ue == Te) {
|
|
10790
10790
|
if (_e == Pe)
|
|
10791
10791
|
return !0;
|
|
10792
10792
|
ge.info(`${e.t("不同父菜单的菜单项,请使用转移至功能转移菜单")}`);
|
|
@@ -10803,11 +10803,11 @@ const Yi = [
|
|
|
10803
10803
|
if (ne) {
|
|
10804
10804
|
const { parent: be } = ne;
|
|
10805
10805
|
if (be) {
|
|
10806
|
-
const { children:
|
|
10807
|
-
|
|
10806
|
+
const { children: ue } = be.row, _e = ue == null ? void 0 : ue.findIndex((Te) => Te.name == F.name);
|
|
10807
|
+
ue && (ie(ue, G, _e), x());
|
|
10808
10808
|
} else {
|
|
10809
|
-
const
|
|
10810
|
-
ie(
|
|
10809
|
+
const ue = At($.value), _e = ue.findIndex((Te) => Te.name == F.name);
|
|
10810
|
+
ie(ue, G, _e), x(ue);
|
|
10811
10811
|
}
|
|
10812
10812
|
}
|
|
10813
10813
|
}
|
|
@@ -10830,7 +10830,7 @@ const Yi = [
|
|
|
10830
10830
|
}
|
|
10831
10831
|
}
|
|
10832
10832
|
return (F, G) => {
|
|
10833
|
-
const ne =
|
|
10833
|
+
const ne = Z("t-button"), ye = Z("t-icon"), be = Z("t-input"), ue = Z("t-form-item"), _e = Z("t-option"), Te = Z("t-select"), Pe = Z("t-input-group");
|
|
10834
10834
|
return v(), N(h(Go), { title: o.value }, {
|
|
10835
10835
|
default: k(() => [
|
|
10836
10836
|
E(h(Wo), null, {
|
|
@@ -10840,7 +10840,7 @@ const Yi = [
|
|
|
10840
10840
|
onClick: z
|
|
10841
10841
|
}, {
|
|
10842
10842
|
default: k(() => [
|
|
10843
|
-
|
|
10843
|
+
ce(re(h(e).t("添加组")), 1)
|
|
10844
10844
|
]),
|
|
10845
10845
|
_: 1
|
|
10846
10846
|
}),
|
|
@@ -10849,7 +10849,7 @@ const Yi = [
|
|
|
10849
10849
|
onClick: u
|
|
10850
10850
|
}, {
|
|
10851
10851
|
default: k(() => [
|
|
10852
|
-
|
|
10852
|
+
ce(re(r.value ? `${h(e).t("收起全部")}` : `${h(e).t("展开全部")}`), 1)
|
|
10853
10853
|
]),
|
|
10854
10854
|
_: 1
|
|
10855
10855
|
})
|
|
@@ -10860,7 +10860,7 @@ const Yi = [
|
|
|
10860
10860
|
onClick: ee
|
|
10861
10861
|
}, {
|
|
10862
10862
|
default: k(() => [
|
|
10863
|
-
|
|
10863
|
+
ce(re(h(e).t("撤销方案")), 1)
|
|
10864
10864
|
]),
|
|
10865
10865
|
_: 1
|
|
10866
10866
|
}),
|
|
@@ -10869,7 +10869,7 @@ const Yi = [
|
|
|
10869
10869
|
onClick: H
|
|
10870
10870
|
}, {
|
|
10871
10871
|
default: k(() => [
|
|
10872
|
-
|
|
10872
|
+
ce(re(h(e).t("保存方案")), 1)
|
|
10873
10873
|
]),
|
|
10874
10874
|
_: 1
|
|
10875
10875
|
})
|
|
@@ -10905,8 +10905,8 @@ const Yi = [
|
|
|
10905
10905
|
E(h(il))
|
|
10906
10906
|
]),
|
|
10907
10907
|
title: k(({ row: se }) => [
|
|
10908
|
-
|
|
10909
|
-
|
|
10908
|
+
le("span", qi, [
|
|
10909
|
+
le("span", {
|
|
10910
10910
|
class: Q(["title", se.isGroup ? "title-bold" : "title-child"])
|
|
10911
10911
|
}, [
|
|
10912
10912
|
se.level == 1 && se.isGroup ? (v(), W(ve, { key: 0 }, [
|
|
@@ -10921,20 +10921,20 @@ const Yi = [
|
|
|
10921
10921
|
size: "large"
|
|
10922
10922
|
}))
|
|
10923
10923
|
], 64)) : q("", !0),
|
|
10924
|
-
|
|
10924
|
+
ce(" " + re(se.title), 1)
|
|
10925
10925
|
], 2),
|
|
10926
10926
|
se.isGroup ? (v(), W("span", Qi, re(se.children.length) + "项", 1)) : q("", !0)
|
|
10927
10927
|
])
|
|
10928
10928
|
]),
|
|
10929
10929
|
operations: k(({ row: se }) => [
|
|
10930
|
-
|
|
10930
|
+
le("div", Xi, [
|
|
10931
10931
|
E(ne, {
|
|
10932
10932
|
variant: "text",
|
|
10933
10933
|
theme: "primary",
|
|
10934
10934
|
onClick: (Fe) => fe(se)
|
|
10935
10935
|
}, {
|
|
10936
10936
|
default: k(() => [
|
|
10937
|
-
|
|
10937
|
+
ce(re(h(e).t("编辑修改")), 1)
|
|
10938
10938
|
]),
|
|
10939
10939
|
_: 2
|
|
10940
10940
|
}, 1032, ["onClick"]),
|
|
@@ -10942,10 +10942,10 @@ const Yi = [
|
|
|
10942
10942
|
variant: "text",
|
|
10943
10943
|
theme: "primary",
|
|
10944
10944
|
disabled: se.isGroup,
|
|
10945
|
-
onClick: (Fe) =>
|
|
10945
|
+
onClick: (Fe) => X(se)
|
|
10946
10946
|
}, {
|
|
10947
10947
|
default: k(() => [
|
|
10948
|
-
|
|
10948
|
+
ce(re(se.isGroup ? "---" : h(e).t("转移至")), 1)
|
|
10949
10949
|
]),
|
|
10950
10950
|
_: 2
|
|
10951
10951
|
}, 1032, ["disabled", "onClick"]),
|
|
@@ -10955,7 +10955,7 @@ const Yi = [
|
|
|
10955
10955
|
onClick: (Fe) => te(se, "up")
|
|
10956
10956
|
}, {
|
|
10957
10957
|
default: k(() => [
|
|
10958
|
-
|
|
10958
|
+
ce(re(h(e).t("上移")), 1)
|
|
10959
10959
|
]),
|
|
10960
10960
|
_: 2
|
|
10961
10961
|
}, 1032, ["onClick"]),
|
|
@@ -10965,7 +10965,7 @@ const Yi = [
|
|
|
10965
10965
|
onClick: (Fe) => te(se, "down")
|
|
10966
10966
|
}, {
|
|
10967
10967
|
default: k(() => [
|
|
10968
|
-
|
|
10968
|
+
ce(re(h(e).t("下移")), 1)
|
|
10969
10969
|
]),
|
|
10970
10970
|
_: 2
|
|
10971
10971
|
}, 1032, ["onClick"]),
|
|
@@ -10976,7 +10976,7 @@ const Yi = [
|
|
|
10976
10976
|
onClick: (Fe) => U(se)
|
|
10977
10977
|
}, {
|
|
10978
10978
|
default: k(() => [
|
|
10979
|
-
|
|
10979
|
+
ce(re(se.isGroup ? h(e).t("撤销组") : "---"), 1)
|
|
10980
10980
|
]),
|
|
10981
10981
|
_: 2
|
|
10982
10982
|
}, 1032, ["disabled", "onClick"])
|
|
@@ -11010,13 +11010,13 @@ const Yi = [
|
|
|
11010
11010
|
onClick: Ce
|
|
11011
11011
|
}, {
|
|
11012
11012
|
default: k(() => [
|
|
11013
|
-
|
|
11013
|
+
ce(re(h(e).t("取消")), 1)
|
|
11014
11014
|
]),
|
|
11015
11015
|
_: 1
|
|
11016
11016
|
}),
|
|
11017
11017
|
E(ne, { onClick: he }, {
|
|
11018
11018
|
default: k(() => [
|
|
11019
|
-
|
|
11019
|
+
ce(re(h(e).t("确定")), 1)
|
|
11020
11020
|
]),
|
|
11021
11021
|
_: 1
|
|
11022
11022
|
})
|
|
@@ -11026,7 +11026,7 @@ const Yi = [
|
|
|
11026
11026
|
c.value == "addGroup" || c.value == "editGroup" || c.value == "editItem" ? {
|
|
11027
11027
|
name: "body",
|
|
11028
11028
|
fn: k(() => [
|
|
11029
|
-
E(
|
|
11029
|
+
E(ue, {
|
|
11030
11030
|
name: "title",
|
|
11031
11031
|
label: h(e).t("组名称"),
|
|
11032
11032
|
requiredMark: !0
|
|
@@ -11041,7 +11041,7 @@ const Yi = [
|
|
|
11041
11041
|
]),
|
|
11042
11042
|
_: 1
|
|
11043
11043
|
}, 8, ["label"]),
|
|
11044
|
-
E(
|
|
11044
|
+
E(ue, {
|
|
11045
11045
|
name: "name",
|
|
11046
11046
|
label: h(e).t("名称标识"),
|
|
11047
11047
|
requiredMark: !0
|
|
@@ -11057,7 +11057,7 @@ const Yi = [
|
|
|
11057
11057
|
]),
|
|
11058
11058
|
_: 1
|
|
11059
11059
|
}, 8, ["label"]),
|
|
11060
|
-
f.value.level == 1 ? (v(), N(
|
|
11060
|
+
f.value.level == 1 ? (v(), N(ue, {
|
|
11061
11061
|
key: 0,
|
|
11062
11062
|
name: "icon",
|
|
11063
11063
|
label: h(e).t("图标标识")
|
|
@@ -11077,7 +11077,7 @@ const Yi = [
|
|
|
11077
11077
|
name: f.value.icon,
|
|
11078
11078
|
style: { marginRight: "8px" }
|
|
11079
11079
|
}, null, 8, ["name"]),
|
|
11080
|
-
|
|
11080
|
+
ce(re(f.value.icon), 1)
|
|
11081
11081
|
])) : (v(), W("span", eu, re(h(e).t("请选择图标标识")), 1))
|
|
11082
11082
|
]),
|
|
11083
11083
|
default: k(() => [
|
|
@@ -11087,7 +11087,7 @@ const Yi = [
|
|
|
11087
11087
|
class: "overlay-options"
|
|
11088
11088
|
}, {
|
|
11089
11089
|
default: k(() => [
|
|
11090
|
-
|
|
11090
|
+
le("span", Zi, [
|
|
11091
11091
|
E(ye, {
|
|
11092
11092
|
name: se.stem,
|
|
11093
11093
|
size: "small"
|
|
@@ -11102,7 +11102,7 @@ const Yi = [
|
|
|
11102
11102
|
]),
|
|
11103
11103
|
_: 1
|
|
11104
11104
|
}, 8, ["label"])) : q("", !0),
|
|
11105
|
-
f.value.isGroup ? q("", !0) : (v(), N(
|
|
11105
|
+
f.value.isGroup ? q("", !0) : (v(), N(ue, {
|
|
11106
11106
|
key: 1,
|
|
11107
11107
|
name: "parent",
|
|
11108
11108
|
label: h(e).t("父菜单"),
|
|
@@ -11117,7 +11117,7 @@ const Yi = [
|
|
|
11117
11117
|
]),
|
|
11118
11118
|
_: 1
|
|
11119
11119
|
}, 8, ["label"])),
|
|
11120
|
-
!w(f.value.children).length && f.value.level == 1 ? (v(), N(
|
|
11120
|
+
!w(f.value.children).length && f.value.level == 1 ? (v(), N(ue, {
|
|
11121
11121
|
key: 2,
|
|
11122
11122
|
name: "children",
|
|
11123
11123
|
label: h(e).t("分组")
|
|
@@ -11128,14 +11128,14 @@ const Yi = [
|
|
|
11128
11128
|
onClick: K
|
|
11129
11129
|
}, {
|
|
11130
11130
|
default: k(() => [
|
|
11131
|
-
|
|
11131
|
+
ce(re(h(e).t("添加分组")), 1)
|
|
11132
11132
|
]),
|
|
11133
11133
|
_: 1
|
|
11134
11134
|
})
|
|
11135
11135
|
]),
|
|
11136
11136
|
_: 1
|
|
11137
11137
|
}, 8, ["label"])) : q("", !0),
|
|
11138
|
-
(v(!0), W(ve, null, De(w(f.value.children), (se, Fe) => (v(), N(
|
|
11138
|
+
(v(!0), W(ve, null, De(w(f.value.children), (se, Fe) => (v(), N(ue, {
|
|
11139
11139
|
name: "children",
|
|
11140
11140
|
key: "group" + Fe,
|
|
11141
11141
|
label: Fe == 0 ? h(e).t("分组") : " "
|
|
@@ -11166,10 +11166,10 @@ const Yi = [
|
|
|
11166
11166
|
E(ne, {
|
|
11167
11167
|
variant: "outline",
|
|
11168
11168
|
theme: "default",
|
|
11169
|
-
onClick: (et) =>
|
|
11169
|
+
onClick: (et) => J(se)
|
|
11170
11170
|
}, {
|
|
11171
11171
|
default: k(() => [
|
|
11172
|
-
|
|
11172
|
+
ce("- ")
|
|
11173
11173
|
]),
|
|
11174
11174
|
_: 2
|
|
11175
11175
|
}, 1032, ["onClick"]),
|
|
@@ -11180,7 +11180,7 @@ const Yi = [
|
|
|
11180
11180
|
onClick: Ft(K, ["prevent"])
|
|
11181
11181
|
}, {
|
|
11182
11182
|
default: k(() => [
|
|
11183
|
-
|
|
11183
|
+
ce("+ ")
|
|
11184
11184
|
]),
|
|
11185
11185
|
_: 1
|
|
11186
11186
|
}, 8, ["onClick"])) : q("", !0)
|
|
@@ -11190,7 +11190,7 @@ const Yi = [
|
|
|
11190
11190
|
]),
|
|
11191
11191
|
_: 2
|
|
11192
11192
|
}, 1032, ["label"]))), 128)),
|
|
11193
|
-
!y(f.value.children).length && f.value.isGroup ? (v(), N(
|
|
11193
|
+
!y(f.value.children).length && f.value.isGroup ? (v(), N(ue, {
|
|
11194
11194
|
key: 3,
|
|
11195
11195
|
name: "children",
|
|
11196
11196
|
label: h(e).t("子菜单项")
|
|
@@ -11198,17 +11198,17 @@ const Yi = [
|
|
|
11198
11198
|
default: k(() => [
|
|
11199
11199
|
E(ne, {
|
|
11200
11200
|
variant: "outline",
|
|
11201
|
-
onClick:
|
|
11201
|
+
onClick: ae
|
|
11202
11202
|
}, {
|
|
11203
11203
|
default: k(() => [
|
|
11204
|
-
|
|
11204
|
+
ce(re(h(e).t("添加子菜单")), 1)
|
|
11205
11205
|
]),
|
|
11206
11206
|
_: 1
|
|
11207
11207
|
})
|
|
11208
11208
|
]),
|
|
11209
11209
|
_: 1
|
|
11210
11210
|
}, 8, ["label"])) : q("", !0),
|
|
11211
|
-
(v(!0), W(ve, null, De(y(f.value.children), (se, Fe) => (v(), N(
|
|
11211
|
+
(v(!0), W(ve, null, De(y(f.value.children), (se, Fe) => (v(), N(ue, {
|
|
11212
11212
|
name: "children",
|
|
11213
11213
|
key: "item" + Fe,
|
|
11214
11214
|
label: Fe == 0 ? h(e).t("子菜单项") : " "
|
|
@@ -11239,10 +11239,10 @@ const Yi = [
|
|
|
11239
11239
|
E(ne, {
|
|
11240
11240
|
variant: "outline",
|
|
11241
11241
|
theme: "default",
|
|
11242
|
-
onClick: (et) =>
|
|
11242
|
+
onClick: (et) => J(se)
|
|
11243
11243
|
}, {
|
|
11244
11244
|
default: k(() => [
|
|
11245
|
-
|
|
11245
|
+
ce("- ")
|
|
11246
11246
|
]),
|
|
11247
11247
|
_: 2
|
|
11248
11248
|
}, 1032, ["onClick"]),
|
|
@@ -11250,10 +11250,10 @@ const Yi = [
|
|
|
11250
11250
|
key: 0,
|
|
11251
11251
|
variant: "outline",
|
|
11252
11252
|
theme: "default",
|
|
11253
|
-
onClick: Ft(
|
|
11253
|
+
onClick: Ft(ae, ["prevent"])
|
|
11254
11254
|
}, {
|
|
11255
11255
|
default: k(() => [
|
|
11256
|
-
|
|
11256
|
+
ce("+ ")
|
|
11257
11257
|
]),
|
|
11258
11258
|
_: 1
|
|
11259
11259
|
}, 8, ["onClick"])) : q("", !0)
|
|
@@ -11264,7 +11264,7 @@ const Yi = [
|
|
|
11264
11264
|
_: 2
|
|
11265
11265
|
}, 1032, ["label"]))), 128)),
|
|
11266
11266
|
c.value == "editItem" ? (v(), W(ve, { key: 4 }, [
|
|
11267
|
-
E(
|
|
11267
|
+
E(ue, {
|
|
11268
11268
|
label: h(e).t("是否为内置菜单")
|
|
11269
11269
|
}, {
|
|
11270
11270
|
default: k(() => [
|
|
@@ -11278,7 +11278,7 @@ const Yi = [
|
|
|
11278
11278
|
label: h(e).t("内置菜单")
|
|
11279
11279
|
}, {
|
|
11280
11280
|
default: k(() => [
|
|
11281
|
-
|
|
11281
|
+
ce(re(h(e).t("内置菜单")), 1)
|
|
11282
11282
|
]),
|
|
11283
11283
|
_: 1
|
|
11284
11284
|
}, 8, ["label"]),
|
|
@@ -11287,7 +11287,7 @@ const Yi = [
|
|
|
11287
11287
|
label: h(e).t("外部菜单")
|
|
11288
11288
|
}, {
|
|
11289
11289
|
default: k(() => [
|
|
11290
|
-
|
|
11290
|
+
ce(re(h(e).t("外部菜单")), 1)
|
|
11291
11291
|
]),
|
|
11292
11292
|
_: 1
|
|
11293
11293
|
}, 8, ["label"])
|
|
@@ -11297,7 +11297,7 @@ const Yi = [
|
|
|
11297
11297
|
]),
|
|
11298
11298
|
_: 1
|
|
11299
11299
|
}, 8, ["label"]),
|
|
11300
|
-
f.value.isInner ? (v(), N(
|
|
11300
|
+
f.value.isInner ? (v(), N(ue, {
|
|
11301
11301
|
key: 0,
|
|
11302
11302
|
label: h(e).t("选择菜单")
|
|
11303
11303
|
}, {
|
|
@@ -11310,7 +11310,7 @@ const Yi = [
|
|
|
11310
11310
|
]),
|
|
11311
11311
|
_: 1
|
|
11312
11312
|
}, 8, ["label"])) : q("", !0),
|
|
11313
|
-
f.value.isInner ? q("", !0) : (v(), N(
|
|
11313
|
+
f.value.isInner ? q("", !0) : (v(), N(ue, {
|
|
11314
11314
|
key: 1,
|
|
11315
11315
|
label: h(e).t("菜单路径")
|
|
11316
11316
|
}, {
|
|
@@ -11328,7 +11328,7 @@ const Yi = [
|
|
|
11328
11328
|
} : c.value == "moveItemTo" ? {
|
|
11329
11329
|
name: "body",
|
|
11330
11330
|
fn: k(() => [
|
|
11331
|
-
f.value.isGroup ? q("", !0) : (v(), N(
|
|
11331
|
+
f.value.isGroup ? q("", !0) : (v(), N(ue, {
|
|
11332
11332
|
key: 0,
|
|
11333
11333
|
name: "parent",
|
|
11334
11334
|
label: h(e).t("转移至"),
|
|
@@ -11357,7 +11357,7 @@ const Yi = [
|
|
|
11357
11357
|
};
|
|
11358
11358
|
}
|
|
11359
11359
|
});
|
|
11360
|
-
const
|
|
11360
|
+
const qu = Ke(tu), nu = /* @__PURE__ */ de({
|
|
11361
11361
|
__name: "GLoginTitle",
|
|
11362
11362
|
props: {
|
|
11363
11363
|
title: { default: "公信会务管理系统" },
|
|
@@ -11368,15 +11368,15 @@ const Qu = Ke(tu), nu = /* @__PURE__ */ de({
|
|
|
11368
11368
|
return (t, o) => (v(), W("div", {
|
|
11369
11369
|
class: Q(`${e}`)
|
|
11370
11370
|
}, [
|
|
11371
|
-
|
|
11371
|
+
le("div", {
|
|
11372
11372
|
class: Q(`${e}--mainTitle`)
|
|
11373
11373
|
}, re(t.title), 3),
|
|
11374
|
-
|
|
11374
|
+
le("div", {
|
|
11375
11375
|
class: Q(`${e}--subTitle`)
|
|
11376
11376
|
}, re(t.subTitle), 3)
|
|
11377
11377
|
], 2));
|
|
11378
11378
|
}
|
|
11379
|
-
}), ou =
|
|
11379
|
+
}), ou = /* @__PURE__ */ de({
|
|
11380
11380
|
__name: "GLoginForm",
|
|
11381
11381
|
setup(n) {
|
|
11382
11382
|
const { T: e } = Ne(), t = `${gt}__form`;
|
|
@@ -11384,41 +11384,38 @@ const Qu = Ke(tu), nu = /* @__PURE__ */ de({
|
|
|
11384
11384
|
class: Q(`${t}`)
|
|
11385
11385
|
}, [
|
|
11386
11386
|
Ue(o.$slots, "tabs"),
|
|
11387
|
-
|
|
11387
|
+
le("div", {
|
|
11388
11388
|
class: Q(`${t}--footer`)
|
|
11389
11389
|
}, [
|
|
11390
|
-
|
|
11391
|
-
ue(re(h(e).t("登录即代表同意")) + " ", 1),
|
|
11392
|
-
ae("a", ou, re(h(e).t("服务条款或隐私协议")), 1)
|
|
11393
|
-
])
|
|
11390
|
+
le("span", null, re(h(e).t("登录即代表同意服务条款或隐私协议")), 1)
|
|
11394
11391
|
], 2)
|
|
11395
11392
|
], 2));
|
|
11396
11393
|
}
|
|
11397
|
-
}),
|
|
11394
|
+
}), au = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxODAuMjAyIDIyIiBjbGFzcz0iZGVzaWduLWljb25mb250Ij4KICA8cGF0aCBkPSJNMTI0LjY1LDMzMi41NjdoMTVMMTM4LjMsMzQzLjFhMi44MTEsMi44MTEsMCwwLDEtMy4xLDIuNDVIMTI0LjFhMzEuNjU2LDMxLjY1NiwwLDAsMS01LjYtLjQ0MSw3LjczOSw3LjczOSwwLDAsMS0zLjU1LTEuMzIzLDcuNTEsNy41MSwwLDAsMS0zLjc1LTYuNzEzdi0uNTM5Yy4xLS41ODguMS0xLjIyNS4yLTEuOTExYTEyLjA5NCwxMi4wOTQsMCwwLDEsMy4zNS02Ljk1OCwxMS40LDExLjQsMCwwLDEsNS4wNS0zLjAzOCwyNy45NDgsMjcuOTQ4LDAsMCwxLDcuNy0uOThoMTQuOWwtMi45NSwzLjkyaC0xMS44YTEyLjcsMTIuNywwLDAsMC02LjEsMS4yMjVjLTEuNiwxLjAyOS0yLjU1LDIuODkxLTIuOTUsNS4zOWExMS4zMSwxMS4zMSwwLDAsMCwwLDMuNjc1LDQuODQsNC44NCwwLDAsMCwxLjI1LDIuMzUyLDQuMTQ0LDQuMTQ0LDAsMCwwLDIuMywxLjAyOSwxNS45NTQsMTUuOTU0LDAsMCwwLDMuNzUuMzQzaDUuODVsLjgtNS4xOTRoLTguNmwuNy0zLjgyMlpNMjYxLjQsMzI5LjUyOWwtMS44NSwxNi4wMjJoLTYuNWwzLTIxLjhoOC4zNWw5Ljc1LDE2LjI2NywyLjQtMTYuMjY3aDYuMmwtLjQ1LDIuNzkzLTIuMTUsMTQuOWE1LjgsNS44LDAsMCwxLTEuNCwzLjAzOCw0LjMsNC4zLDAsMCwxLTIuODUsMS4xMjdoLTQuNDVMMjYxLjQsMzI5LjUyOVptLTIxLDE1Ljk3MywzLjEtMjEuOGg3LjFsLTMuMiwyMS44Wm0tMzMuMiwwLDIuODUtMy45MkgyMjMuMmExNy41MzYsMTcuNTM2LDAsMCwwLDQuNTUtLjQ0MSwzLjEsMy4xLDAsMCwwLDEuOTUtMi4xMDcsMi4xODYsMi4xODYsMCwwLDAtMS42LTIuMzUyLDEwLjUsMTAuNSwwLDAsMC0zLjM1LS4zNDNoLTUuN2MtMy40NSwwLTUuODUtLjUzOS03LjMtMS4zNzJhNS42MTksNS42MTksMCwwLDEtMS45NS0yLjEwNyw0LjgzOCw0LjgzOCwwLDAsMS0uMzUtMi43OTMsNi41MTgsNi41MTgsMCwwLDEsMi41LTQuMTY1YzEuNC0xLjIyNSwzLjQ1LTEuOTExLDYuMi0yLjE1Ni45LDAsMi4zLS4xLDQuMS0uMWgxNS4ybC0zLjEsMy45MmgtMTEuMmEzMy4xODQsMzMuMTg0LDAsMCwwLTQuMS4yLDIuNTk0LDIuNTk0LDAsMCwwLTIuNCwyLjE1NiwxLjgxNSwxLjgxNSwwLDAsMCwxLjQsMi4xNTYsMTMuODI4LDEzLjgyOCwwLDAsMCwzLjguMzQzaDQuOWEyOS45NjUsMjkuOTY1LDAsMCwxLDUuNi40NDFjMi4wNS41MzksMy40NSwxLjQ3LDQuMSwyLjc5M2E2LjM2LDYuMzYsMCwwLDEsLjQ1LDMuMzgxLDYuOTA4LDYuOTA4LDAsMCwxLTEuNzUsMy41NzcsOC45NTIsOC45NTIsMCwwLDEtNS43NSwyLjYsMzcuMiwzNy4yLDAsMCwxLTUuMy4yNDVIMjA3LjJabS0yMi43NS0xNS45NzMtMi4zLDE2LjAyMmgtNi4ybDMuMi0yMS44aDguMzVsOS43NSwxNi4yNjcsMi40LTE2LjI2N2g2LjJsLTMuMiwyMS44aC04bC0xMC4yLTE2LjAyMlpNMTU4LjEsMzQ1LjZoLTEuMTVhMjQuNTEzLDI0LjUxMywwLDAsMS04LjgtMS4zNzIsNy45LDcuOSwwLDAsMS00LjQ1LTMuNTc3LDkuMjc5LDkuMjc5LDAsMCwxLS44LTUuOTI5Yy42LTQuMTY1LDIuNS03LjE1NCw1LjctOC44NjksMi4zLTEuMzcyLDUuNS0yLjEwNyw5LjUtMi4yNTRoMS42YTI3LjAzLDI3LjAzLDAsMCwxLDcuOSwxLjAyOSw4LjEsOC4xLDAsMCwxLDUuMDUsNC41MDgsMTEuMjM3LDExLjIzNywwLDAsMSwuNDUsNS43MzMsMTAuNiwxMC42LDAsMCwxLTIuNCw1LjczMywxMi4yMzMsMTIuMjMzLDAsMCwxLTYuNjUsNC4wNjcsMjIuMjE3LDIyLjIxNywwLDAsMS01Ljk1LjkzMVptMC0xOC4zMjVhOS4yMTQsOS4yMTQsMCwwLDAtNS43LDIuMTA3LDguNDc5LDguNDc5LDAsMCwwLTIuMyw1LjE5NGMtLjM1LDIuNSwwLDQuNDU5LDEuMTUsNS42MzUsMS4wNSwxLjEyNywzLDEuNzE1LDUuNzUsMS43MTVoMS4wNWExMC4xMTcsMTAuMTE3LDAsMCwwLDUuMTUtMS43MTUsOC40NzEsOC40NzEsMCwwLDAsMi43NS01LjU4NmMuMzUtMi4zNTIuMS00LjA2Ny0uOC01LjI5Mi0xLTEuMzcyLTMtMi4xMDctNi4wNS0yLjEwN0E2LjUwNiw2LjUwNiwwLDAsMSwxNTguMSwzMjcuMjc1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTExMS4yIC0zMjMuNikiIGZpbGw9IiNiY2M0ZDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgogIDxwYXRoIGQ9Ik00NTkuMTUsMzUxLjJhNC4xNSw0LjE1LDAsMSwxLTQuMTUsNC4xNSw0LjE0LDQuMTQsMCwwLDEsNC4xNS00LjE1Wm0tMS45NSw2LjdoLjY1di0yLjI1SDQ1OWMuMS4wNS4yLjA1LjMuMTVhMi4yNTYsMi4yNTYsMCwwLDEsLjM1LjM1LDUuMjIxLDUuMjIxLDAsMCwxLC41LjdsLjY1LDEuMDVoLjg1bC0uOS0xLjRhOC41NDQsOC41NDQsMCwwLDAtLjU1LS43LDIuOCwyLjgsMCwwLDAtLjQtLjI1LDEuNzIsMS43MiwwLDAsMCwxLjEtLjQ1LDEuNCwxLjQsMCwwLDAsLjE1LTEuNjUsMS4zLDEuMywwLDAsMC0uNTUtLjUsMi45MjEsMi45MjEsMCwwLDAtMS4wNS0uMTVINDU3LjJ2NS4xWm0uNjUtMi44aDEuNDVhMi4zMTgsMi4zMTgsMCwwLDAsLjctLjEuNzc4Ljc3OCwwLDAsMCwuNC0uMy44MDYuODA2LDAsMCwwLC4xNS0uNDUuODI4LjgyOCwwLDAsMC0uMjUtLjYsMS4yMjksMS4yMjksMCwwLDAtLjg1LS4yNWgtMS42djEuN1ptMS4zLTMuMzVhMy42NSwzLjY1LDAsMSwwLDMuNjUsMy42NUEzLjY3MSwzLjY3MSwwLDAsMCw0NTkuMTUsMzUxLjc1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI4My4wOTggLTMzNy44NSkiIGZpbGw9IiNiY2M0ZDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgo8L3N2Zz4K", lu = ["innerHTML"], ru = ["innerHTML"], su = /* @__PURE__ */ de({
|
|
11398
11395
|
__name: "GLoginFooter",
|
|
11399
11396
|
props: {
|
|
11400
11397
|
copyrightInfoEng: { default: "Copyright 2023 All Rights Reserved. " },
|
|
11401
11398
|
copyrightInfoCN: { default: '版权所有:广东公信智能会议股份有限公司  -  <a href="#">粤ICP备08010133号-4</a>' },
|
|
11402
|
-
copyrightLogoSrc: { default:
|
|
11399
|
+
copyrightLogoSrc: { default: au }
|
|
11403
11400
|
},
|
|
11404
11401
|
setup(n) {
|
|
11405
11402
|
const e = `${gt}__footer`;
|
|
11406
11403
|
return (t, o) => (v(), W("div", {
|
|
11407
11404
|
class: Q(`${e}`)
|
|
11408
11405
|
}, [
|
|
11409
|
-
|
|
11406
|
+
le("span", {
|
|
11410
11407
|
class: Q(`${e}--logo`),
|
|
11411
11408
|
style: yt({ backgroundImage: `url(${t.copyrightLogoSrc})` })
|
|
11412
11409
|
}, null, 6),
|
|
11413
|
-
|
|
11410
|
+
le("div", {
|
|
11414
11411
|
class: Q(`${e}--copyright`)
|
|
11415
11412
|
}, [
|
|
11416
|
-
|
|
11417
|
-
|
|
11413
|
+
le("div", { innerHTML: t.copyrightInfoEng }, null, 8, lu),
|
|
11414
|
+
le("div", { innerHTML: t.copyrightInfoCN }, null, 8, ru)
|
|
11418
11415
|
], 2)
|
|
11419
11416
|
], 2));
|
|
11420
11417
|
}
|
|
11421
|
-
}),
|
|
11418
|
+
}), iu = ["poster"], uu = ["src"], cu = ["src"], du = /* @__PURE__ */ de({
|
|
11422
11419
|
__name: "GLogin",
|
|
11423
11420
|
props: {
|
|
11424
11421
|
bgVideoMp4Src: {},
|
|
@@ -11434,7 +11431,7 @@ const Qu = Ke(tu), nu = /* @__PURE__ */ de({
|
|
|
11434
11431
|
return (e, t) => (v(), W("div", {
|
|
11435
11432
|
class: Q(`${h(gt)}`)
|
|
11436
11433
|
}, [
|
|
11437
|
-
|
|
11434
|
+
le("video", {
|
|
11438
11435
|
class: Q(`${h(gt)}__bgVideo`),
|
|
11439
11436
|
style: yt({ backgroundImage: `url(${e.bgImgSrc})` }),
|
|
11440
11437
|
poster: e.bgImgSrc,
|
|
@@ -11442,33 +11439,33 @@ const Qu = Ke(tu), nu = /* @__PURE__ */ de({
|
|
|
11442
11439
|
muted: "",
|
|
11443
11440
|
loop: ""
|
|
11444
11441
|
}, [
|
|
11445
|
-
|
|
11442
|
+
le("source", {
|
|
11446
11443
|
src: e.bgVideoMp4Src,
|
|
11447
11444
|
type: "video/mp4"
|
|
11448
|
-
}, null, 8,
|
|
11449
|
-
|
|
11445
|
+
}, null, 8, uu),
|
|
11446
|
+
le("source", {
|
|
11450
11447
|
src: e.bgVideoWebmSrc,
|
|
11451
11448
|
type: "video/webm"
|
|
11452
|
-
}, null, 8,
|
|
11453
|
-
], 14,
|
|
11454
|
-
|
|
11449
|
+
}, null, 8, cu)
|
|
11450
|
+
], 14, iu),
|
|
11451
|
+
le("div", {
|
|
11455
11452
|
class: Q(`${h(gt)}__overlay`)
|
|
11456
11453
|
}, null, 2),
|
|
11457
|
-
|
|
11454
|
+
le("div", {
|
|
11458
11455
|
class: Q(`${h(gt)}__container`)
|
|
11459
11456
|
}, [
|
|
11460
11457
|
E(nu, {
|
|
11461
11458
|
title: e.title,
|
|
11462
11459
|
subTitle: e.subTitle
|
|
11463
11460
|
}, null, 8, ["title", "subTitle"]),
|
|
11464
|
-
E(
|
|
11461
|
+
E(ou, null, {
|
|
11465
11462
|
tabs: k(() => [
|
|
11466
11463
|
Ue(e.$slots, "tabs")
|
|
11467
11464
|
]),
|
|
11468
11465
|
_: 3
|
|
11469
11466
|
})
|
|
11470
11467
|
], 2),
|
|
11471
|
-
E(
|
|
11468
|
+
E(su, {
|
|
11472
11469
|
copyrightInfoCN: e.copyrightInfoCN,
|
|
11473
11470
|
copyrightInfoEng: e.copyrightInfoEng,
|
|
11474
11471
|
copyrightLogoSrc: e.copyrightLogoSrc
|
|
@@ -11476,10 +11473,10 @@ const Qu = Ke(tu), nu = /* @__PURE__ */ de({
|
|
|
11476
11473
|
], 2));
|
|
11477
11474
|
}
|
|
11478
11475
|
});
|
|
11479
|
-
const
|
|
11480
|
-
function
|
|
11476
|
+
const Qu = Ke(du), mu = Ca.name, fu = Ca.version;
|
|
11477
|
+
function pu(n, e) {
|
|
11481
11478
|
console.info(
|
|
11482
|
-
`%c ${
|
|
11479
|
+
`%c ${mu} %c ${fu} `,
|
|
11483
11480
|
"padding: 2px 1px; border-radius: 3px 0 0 3px; color: #fff; background: #d82128; font-weight: bold;",
|
|
11484
11481
|
"padding: 2px 1px; border-radius: 0 3px 3px 0; color: #fff; background: #606060; "
|
|
11485
11482
|
), n.component("GView", Di), n.component("GConfigProvider", Bi);
|
|
@@ -11489,18 +11486,18 @@ function hu(n, e) {
|
|
|
11489
11486
|
console.error("初始化GView", t);
|
|
11490
11487
|
}
|
|
11491
11488
|
}
|
|
11492
|
-
function
|
|
11489
|
+
function Xu(n) {
|
|
11493
11490
|
Be(n), _t(n), Xn(n), Qn(n);
|
|
11494
11491
|
}
|
|
11495
|
-
const { i18n:
|
|
11492
|
+
const { i18n: Zu } = Ne({
|
|
11496
11493
|
project: "venus"
|
|
11497
|
-
}),
|
|
11498
|
-
install:
|
|
11494
|
+
}), Ju = {
|
|
11495
|
+
install: pu
|
|
11499
11496
|
};
|
|
11500
11497
|
export {
|
|
11501
11498
|
hl as COLOR_TOKEN,
|
|
11502
|
-
|
|
11503
|
-
|
|
11499
|
+
Bu as DEFAULT_DARK_COLOR,
|
|
11500
|
+
xu as DEFAULT_LIGHT_COLOR,
|
|
11504
11501
|
pl as DEFAULT_THEME_CONFIG,
|
|
11505
11502
|
Ho as GCommonDialog,
|
|
11506
11503
|
Ko as GCommonForm,
|
|
@@ -11508,23 +11505,23 @@ export {
|
|
|
11508
11505
|
Yo as GCommonTable,
|
|
11509
11506
|
Bi as GConfigProvider,
|
|
11510
11507
|
Go as GLayout,
|
|
11511
|
-
|
|
11512
|
-
|
|
11508
|
+
Qu as GLogin,
|
|
11509
|
+
qu as GMenuManage,
|
|
11513
11510
|
jn as GUploader,
|
|
11514
11511
|
In as INIT_WS_MODEL,
|
|
11515
11512
|
fo as LANG_CONFIG,
|
|
11516
11513
|
_n as LOCAL_CONFIG,
|
|
11517
|
-
|
|
11514
|
+
$u as LOCAL_DATA_ID,
|
|
11518
11515
|
po as LOCAL_INIT_TAB_MENU_LIST,
|
|
11519
|
-
|
|
11516
|
+
Fu as LOCAL_MENU,
|
|
11520
11517
|
Gt as LOCAL_SESSION_ID,
|
|
11521
11518
|
Qt as LOCAL_SIDE_MENU_CONFIG,
|
|
11522
11519
|
ho as LOCAL_TAB_MENU,
|
|
11523
11520
|
mo as LOCAL_THEME_CONFIG,
|
|
11524
11521
|
fl as LOCAL_USER,
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
11522
|
+
ac as NProgress,
|
|
11523
|
+
Pu as PROJECT_PREFIX,
|
|
11524
|
+
Wu as RequestConfig,
|
|
11528
11525
|
Mr as RequestHttp,
|
|
11529
11526
|
Xt as SESSION_FORM_DATA_CACHE,
|
|
11530
11527
|
Vo as StorageUtils,
|
|
@@ -11540,8 +11537,8 @@ export {
|
|
|
11540
11537
|
Jt as commonHeaderClass,
|
|
11541
11538
|
Tl as commonTableClass,
|
|
11542
11539
|
jo as deepCompareObjects,
|
|
11543
|
-
|
|
11544
|
-
|
|
11540
|
+
Ju as default,
|
|
11541
|
+
Vu as dialogClass,
|
|
11545
11542
|
dn as dialogPluginClass,
|
|
11546
11543
|
wo as downloadFile,
|
|
11547
11544
|
Vn as evalContext,
|
|
@@ -11557,46 +11554,46 @@ export {
|
|
|
11557
11554
|
Cl as headerClass,
|
|
11558
11555
|
Bl as highlightSearchResult,
|
|
11559
11556
|
qe as http,
|
|
11560
|
-
|
|
11557
|
+
Zu as i18n,
|
|
11561
11558
|
Ve as initEmptyFormItems,
|
|
11562
11559
|
qn as initFormModel,
|
|
11563
11560
|
xl as initTableColumns,
|
|
11564
11561
|
Uo as initTreeSelectorData,
|
|
11565
11562
|
st as is,
|
|
11566
11563
|
Yn as isArray,
|
|
11567
|
-
|
|
11564
|
+
ju as isAsyncFunction,
|
|
11568
11565
|
$l as isBoolean,
|
|
11569
|
-
|
|
11570
|
-
|
|
11566
|
+
zu as isClient,
|
|
11567
|
+
Ou as isDate,
|
|
11571
11568
|
Al as isDef,
|
|
11572
|
-
|
|
11569
|
+
Hu as isElement,
|
|
11573
11570
|
On as isFormVoid,
|
|
11574
11571
|
Tt as isFunction,
|
|
11575
11572
|
Mt as isNull,
|
|
11576
11573
|
bo as isNullAndUnDef,
|
|
11577
11574
|
ze as isNullOrUnDef,
|
|
11578
|
-
|
|
11575
|
+
Uu as isNumber,
|
|
11579
11576
|
Wn as isObject,
|
|
11580
11577
|
qt as isOuterUrl,
|
|
11581
11578
|
Fl as isPromise,
|
|
11582
11579
|
Pl as isResourceUrl,
|
|
11583
|
-
|
|
11584
|
-
|
|
11580
|
+
Ku as isServer,
|
|
11581
|
+
Ru as isString,
|
|
11585
11582
|
Oo as isUnDef,
|
|
11586
|
-
|
|
11583
|
+
Gu as isWindow,
|
|
11587
11584
|
We as layoutClass,
|
|
11588
11585
|
kr as loadNanoId,
|
|
11589
11586
|
Qe as localStorageUtils,
|
|
11590
11587
|
Ht as nanoid,
|
|
11591
11588
|
mt as resolveUrl,
|
|
11592
11589
|
xe as sessionStorageUtils,
|
|
11593
|
-
|
|
11590
|
+
Xu as setupStore,
|
|
11594
11591
|
_l as tabClass,
|
|
11595
11592
|
Dt as tableClass,
|
|
11596
11593
|
en as uploaderClass,
|
|
11597
11594
|
Bo as urlToPath,
|
|
11598
11595
|
Ro as useCacheStore,
|
|
11599
|
-
|
|
11596
|
+
nc as useI18n,
|
|
11600
11597
|
Xn as usePropsStore,
|
|
11601
11598
|
Be as useSettingStore,
|
|
11602
11599
|
Qn as useSocketStore,
|