@gonsin/gview 2.0.93 → 2.0.94
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 +458 -458
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var Wa = Object.defineProperty;
|
|
2
2
|
var Ya = (n, e, t) => e in n ? Wa(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var zt = (n, e, t) => (Ya(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
-
import { useI18n as
|
|
4
|
+
import { useI18n as Ce } from "gonsin-i18n";
|
|
5
5
|
import { useI18n as Oc } from "gonsin-i18n";
|
|
6
|
-
import { defineComponent as ue, ref as Y, computed as V, resolveComponent as Q, openBlock as v, createBlock as $, normalizeClass as Z, withCtx as
|
|
6
|
+
import { defineComponent as ue, ref as Y, computed as V, resolveComponent as Q, openBlock as v, createBlock as $, normalizeClass as Z, withCtx as k, createElementBlock as W, Fragment as de, renderList as Se, createVNode as F, createElementVNode as ne, unref as h, createTextVNode as re, toDisplayString as te, createCommentVNode as X, withModifiers as Vt, nextTick as qa, inject as ze, normalizeStyle as bt, normalizeProps as Lt, mergeProps as Ee, guardReactiveProps as Yt, renderSlot as Ke, onMounted as Ue, onBeforeUnmount as Tt, isRef as Qa, Transition as Xa, watch as De, createSlots as qt, useSlots as Yo, resolveDynamicComponent as Za, TransitionGroup as Ja, toRefs as el, provide as At, reactive as $n, onBeforeMount as Jt, toRaw as _n, shallowRef as tl, defineAsyncComponent as qo, watchEffect as nl } from "vue";
|
|
7
7
|
import { useRouter as ft, useRoute as st, onBeforeRouteLeave as Qo, onBeforeRouteUpdate as Xo } from "vue-router";
|
|
8
8
|
import { defineStore as Ut, storeToRefs as ol } from "pinia";
|
|
9
9
|
import dt from "dayjs";
|
|
@@ -11,8 +11,8 @@ import to from "axios";
|
|
|
11
11
|
import { MessagePlugin as he, Button as al, Progress as Zo, Tooltip as St, Link as ll, Tree as rl, Card as sl, DialogPlugin as vn, ConfigProvider as il } from "tdesign-vue-next";
|
|
12
12
|
import { get as fe, set as je, cloneDeep as Xe, isPlainObject as ho, isArray as vo, isEqual as go } from "lodash-es";
|
|
13
13
|
import { customAlphabet as ul } from "nanoid";
|
|
14
|
-
import { RefreshIcon as Hn, CloseIcon as xt, ArrowLeftIcon as yo, ArrowRightIcon as bo, CloseCircleIcon as wo, MoreIcon as cl, DeleteIcon as dl, ViewListIcon as ml, PoweroffIcon as fl, ChevronDownIcon as pl, Icon as To, AppIcon as gt, UploadIcon as
|
|
15
|
-
import { useElementSize as Sl, onClickOutside as
|
|
14
|
+
import { RefreshIcon as Hn, CloseIcon as xt, ArrowLeftIcon as yo, ArrowRightIcon as bo, CloseCircleIcon as wo, MoreIcon as cl, DeleteIcon as dl, ViewListIcon as ml, PoweroffIcon as fl, ChevronDownIcon as pl, Icon as To, AppIcon as gt, UploadIcon as ko, CheckCircleFilledIcon as hl, PlayCircleFilledIcon as vl, PauseCircleFilledIcon as gl, LinkIcon as yl, ErrorCircleFilledIcon as bl, FileImageIcon as Qt, FilePdfIcon as Jo, VideoIcon as Kn, FileIconIcon as Wn, FolderOpenIcon as wl, FolderIcon as Tl, FilterIcon as kl, SearchIcon as Cl, UserIcon as Bn, BrowseIcon as Ml, ChevronRightIcon as _l, ChevronUpIcon as Il, MoveIcon as Ll } from "tdesign-icons-vue-next";
|
|
15
|
+
import { useElementSize as Sl, onClickOutside as Co, useEventListener as Mo } from "@vueuse/core";
|
|
16
16
|
import gn from "number-precision";
|
|
17
17
|
import no from "qs";
|
|
18
18
|
import Dl from "nprogress";
|
|
@@ -305,10 +305,10 @@ const Yl = (n) => typeof n < "u", la = (n) => !Yl(n), oo = (n) => n !== null &&
|
|
|
305
305
|
function Tc(n) {
|
|
306
306
|
return pt(n, "Date");
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function kc(n) {
|
|
309
309
|
return pt(n, "Number");
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Cc(n) {
|
|
312
312
|
return pt(n, "AsyncFunction");
|
|
313
313
|
}
|
|
314
314
|
function ql(n) {
|
|
@@ -320,7 +320,7 @@ function Mc(n) {
|
|
|
320
320
|
function Ql(n) {
|
|
321
321
|
return pt(n, "Boolean");
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function kt(n) {
|
|
324
324
|
return n && Array.isArray(n);
|
|
325
325
|
}
|
|
326
326
|
const _c = () => typeof window < "u", Ic = (n) => typeof window < "u" && pt(n, "Window"), Lc = (n) => oo(n) && !!n.tagName, Sc = typeof window > "u";
|
|
@@ -425,7 +425,7 @@ function en(n) {
|
|
|
425
425
|
function er(n) {
|
|
426
426
|
return n.startsWith("/files") || n.startsWith("/temp") || n.startsWith("/lang");
|
|
427
427
|
}
|
|
428
|
-
const { T: cn } =
|
|
428
|
+
const { T: cn } = Ce();
|
|
429
429
|
function $o(n, e = "", t = "file") {
|
|
430
430
|
if (n == "") {
|
|
431
431
|
he.info(`${cn.t("未设置下载链接")}`);
|
|
@@ -627,7 +627,7 @@ class lr {
|
|
|
627
627
|
if (console.error("http response state error:", o), l)
|
|
628
628
|
he.error(`${l}`);
|
|
629
629
|
else {
|
|
630
|
-
const { T: u } =
|
|
630
|
+
const { T: u } = Ce();
|
|
631
631
|
he.error(`${u.t("服务器出错")}`);
|
|
632
632
|
}
|
|
633
633
|
return o;
|
|
@@ -637,7 +637,7 @@ class lr {
|
|
|
637
637
|
},
|
|
638
638
|
async (t) => {
|
|
639
639
|
console.error("http response error", t);
|
|
640
|
-
const { T: o } =
|
|
640
|
+
const { T: o } = Ce();
|
|
641
641
|
return t.code === "ECONNABORTED" ? Promise.reject({
|
|
642
642
|
message: o.t("请求超时,请检查网络连接或尝试重新发送请求。")
|
|
643
643
|
}) : (he.error(t.message), Promise.reject(t));
|
|
@@ -789,7 +789,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
789
789
|
if (n)
|
|
790
790
|
try {
|
|
791
791
|
this.userLang = n, et.setItem(Lo, n);
|
|
792
|
-
const { setupI18n: e } =
|
|
792
|
+
const { setupI18n: e } = Ce();
|
|
793
793
|
await e(n);
|
|
794
794
|
} catch {
|
|
795
795
|
}
|
|
@@ -826,7 +826,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
826
826
|
}
|
|
827
827
|
},
|
|
828
828
|
setUserPermission(n) {
|
|
829
|
-
n && Array.isArray(n) && (this.userPermission = n, Be.setItem(No, n)
|
|
829
|
+
n && Array.isArray(n) && (this.userPermission = n, Be.setItem(No, n));
|
|
830
830
|
},
|
|
831
831
|
/**
|
|
832
832
|
* @description 用户登录后初始化配置
|
|
@@ -922,7 +922,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
922
922
|
);
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
|
-
}),
|
|
925
|
+
}), Ct = Ut("tabMenu", {
|
|
926
926
|
state: () => ({
|
|
927
927
|
// 初始化tab菜单列表
|
|
928
928
|
initTabMenuList: Be.getItem(Pn) || [],
|
|
@@ -1141,47 +1141,47 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1141
1141
|
}), rr = ["title"], sr = ["title"], ir = ["onClick"], ur = ["title"], cr = ["title"], dr = ["onClick"], mr = ["title"], fr = ["title"], pr = ["title"], hr = ["title"], vr = ["title"], gr = ["title"], yr = /* @__PURE__ */ ue({
|
|
1142
1142
|
__name: "GLayoutHeaderTab",
|
|
1143
1143
|
setup(n) {
|
|
1144
|
-
const { T: e } =
|
|
1145
|
-
function c(
|
|
1146
|
-
x.trigger === "document" && (l.value = null),
|
|
1144
|
+
const { T: e } = Ce(), t = `${tt}__layoutHeaderTab`, o = ft(), a = st(), l = Y(""), r = Ct(), u = Ve(), i = V(() => r.tabMenuList), d = V(() => u.homeUrl), s = V(() => u.displayMode);
|
|
1145
|
+
function c(C, x, D) {
|
|
1146
|
+
x.trigger === "document" && (l.value = null), C && (l.value = D);
|
|
1147
1147
|
}
|
|
1148
|
-
function f(
|
|
1149
|
-
|
|
1148
|
+
function f(C) {
|
|
1149
|
+
C === "/HomePage" ? o.push({ path: d.value, query: Kt(d.value) }) : o.push({ path: C, query: Kt(C) });
|
|
1150
1150
|
}
|
|
1151
|
-
function p({ value:
|
|
1151
|
+
function p({ value: C, index: x }) {
|
|
1152
1152
|
const { tabMenuList: D } = r;
|
|
1153
1153
|
if (D.length > 1) {
|
|
1154
1154
|
const A = D[x + 1] || D[x - 1];
|
|
1155
|
-
r.subtractCurrentTabMenuItem({ path:
|
|
1155
|
+
r.subtractCurrentTabMenuItem({ path: C, itemIdx: x });
|
|
1156
1156
|
const T = decodeURIComponent(a.fullPath);
|
|
1157
|
-
|
|
1157
|
+
C === T && o.push({
|
|
1158
1158
|
path: A.path,
|
|
1159
1159
|
query: A.query
|
|
1160
1160
|
});
|
|
1161
1161
|
}
|
|
1162
1162
|
}
|
|
1163
|
-
function y(
|
|
1164
|
-
const { path: D } =
|
|
1163
|
+
function y(C, x) {
|
|
1164
|
+
const { path: D } = C;
|
|
1165
1165
|
qa(() => {
|
|
1166
1166
|
D === "/HomePage" ? o.push({ path: d.value, query: Kt(d.value) }) : o.push({ path: D, query: Kt(D) });
|
|
1167
1167
|
}), u.toggleGlobalReload(), l.value = null;
|
|
1168
1168
|
}
|
|
1169
|
-
function N(
|
|
1170
|
-
r.subtractTabMenuItemAhead({ path:
|
|
1169
|
+
function N(C, x) {
|
|
1170
|
+
r.subtractTabMenuItemAhead({ path: C, itemIdx: x }), L("ahead", x);
|
|
1171
1171
|
}
|
|
1172
|
-
function j(
|
|
1173
|
-
r.subtractTabMenuItemBehind({ path:
|
|
1172
|
+
function j(C, x) {
|
|
1173
|
+
r.subtractTabMenuItemBehind({ path: C, itemIdx: x }), L("behind", x);
|
|
1174
1174
|
}
|
|
1175
|
-
function E(
|
|
1176
|
-
i.value.length > 2 && (r.subtractTabMenuItemOther({ path:
|
|
1175
|
+
function E(C, x) {
|
|
1176
|
+
i.value.length > 2 && (r.subtractTabMenuItemOther({ path: C, itemIdx: x }), L("other", x));
|
|
1177
1177
|
}
|
|
1178
1178
|
function S() {
|
|
1179
1179
|
i.value.length > 2 && (r.subtractTabMenuItemOther({ itemIdx: 0, path: "/" }), L("all", 0));
|
|
1180
1180
|
}
|
|
1181
|
-
function L(
|
|
1181
|
+
function L(C, x) {
|
|
1182
1182
|
const D = a.fullPath, { tabMenuList: A } = r, T = A.findIndex((g) => g.path === D);
|
|
1183
|
-
if (
|
|
1184
|
-
const g =
|
|
1183
|
+
if (C === "other" && T !== x || C === "ahead" && T < x || C === "behind" && T === -1 || C == "all") {
|
|
1184
|
+
const g = C !== "all" ? C === "behind" ? A.length - 1 : 1 : 0, b = A[g];
|
|
1185
1185
|
o.push({
|
|
1186
1186
|
path: b.path,
|
|
1187
1187
|
query: b.query
|
|
@@ -1193,8 +1193,8 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1193
1193
|
() => w.value > 0 ? i.value.slice(0, w.value) : i.value.slice(0)
|
|
1194
1194
|
), U = V(
|
|
1195
1195
|
() => w.value > 0 ? i.value.slice(w.value) : []
|
|
1196
|
-
), P = V(() => U.value.map((
|
|
1197
|
-
return (
|
|
1196
|
+
), P = V(() => U.value.map((C) => C.path));
|
|
1197
|
+
return (C, x) => {
|
|
1198
1198
|
const D = Q("t-menu-item"), A = Q("t-dropdown-item"), T = Q("t-dropdown-menu"), B = Q("t-dropdown"), g = Q("t-divider"), b = Q("t-button"), z = Q("t-submenu"), G = Q("t-head-menu");
|
|
1199
1199
|
return v(), $(G, {
|
|
1200
1200
|
ref_key: "GLayoutHeaderRef",
|
|
@@ -1205,7 +1205,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1205
1205
|
onChange: f,
|
|
1206
1206
|
"expand-type": "popup"
|
|
1207
1207
|
}, {
|
|
1208
|
-
default:
|
|
1208
|
+
default: k(() => [
|
|
1209
1209
|
(v(!0), W(de, null, Se(M.value, (H, ae) => (v(), $(B, {
|
|
1210
1210
|
key: ae,
|
|
1211
1211
|
trigger: "context-menu",
|
|
@@ -1215,13 +1215,13 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1215
1215
|
visible: l.value != "" ? l.value === H.path : !1
|
|
1216
1216
|
}
|
|
1217
1217
|
}, {
|
|
1218
|
-
dropdown:
|
|
1218
|
+
dropdown: k(() => [
|
|
1219
1219
|
F(T, null, {
|
|
1220
|
-
default:
|
|
1220
|
+
default: k(() => [
|
|
1221
1221
|
F(A, {
|
|
1222
1222
|
onClick: () => y(H)
|
|
1223
1223
|
}, {
|
|
1224
|
-
default:
|
|
1224
|
+
default: k(() => [
|
|
1225
1225
|
ne("span", null, [
|
|
1226
1226
|
F(h(Hn)),
|
|
1227
1227
|
re(" " + te(h(e).t("刷新")), 1)
|
|
@@ -1233,7 +1233,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1233
1233
|
key: 0,
|
|
1234
1234
|
onClick: () => p({ value: H.path, index: ae })
|
|
1235
1235
|
}, {
|
|
1236
|
-
default:
|
|
1236
|
+
default: k(() => [
|
|
1237
1237
|
ne("span", null, [
|
|
1238
1238
|
F(h(xt)),
|
|
1239
1239
|
re(" " + te(h(e).t("关闭")), 1)
|
|
@@ -1245,7 +1245,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1245
1245
|
key: 1,
|
|
1246
1246
|
onClick: () => N(H.path, ae)
|
|
1247
1247
|
}, {
|
|
1248
|
-
default:
|
|
1248
|
+
default: k(() => [
|
|
1249
1249
|
ne("span", null, [
|
|
1250
1250
|
F(h(yo)),
|
|
1251
1251
|
re(" " + te(h(e).t("关闭左侧")), 1)
|
|
@@ -1257,7 +1257,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1257
1257
|
key: 2,
|
|
1258
1258
|
onClick: () => j(H.path, ae)
|
|
1259
1259
|
}, {
|
|
1260
|
-
default:
|
|
1260
|
+
default: k(() => [
|
|
1261
1261
|
ne("span", null, [
|
|
1262
1262
|
F(h(bo)),
|
|
1263
1263
|
re(" " + te(h(e).t("关闭右侧")), 1)
|
|
@@ -1269,7 +1269,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1269
1269
|
key: 3,
|
|
1270
1270
|
onClick: () => E(H.path, ae)
|
|
1271
1271
|
}, {
|
|
1272
|
-
default:
|
|
1272
|
+
default: k(() => [
|
|
1273
1273
|
ne("span", null, [
|
|
1274
1274
|
F(h(wo)),
|
|
1275
1275
|
re(" " + te(h(e).t("关闭其他")), 1)
|
|
@@ -1281,11 +1281,11 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1281
1281
|
_: 2
|
|
1282
1282
|
}, 1024)
|
|
1283
1283
|
]),
|
|
1284
|
-
default:
|
|
1284
|
+
default: k(() => [
|
|
1285
1285
|
F(D, {
|
|
1286
1286
|
value: H.path
|
|
1287
1287
|
}, {
|
|
1288
|
-
default:
|
|
1288
|
+
default: k(() => [
|
|
1289
1289
|
H.isHome ? (v(), W("span", {
|
|
1290
1290
|
key: 0,
|
|
1291
1291
|
title: h(e).t("首页")
|
|
@@ -1323,10 +1323,10 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1323
1323
|
},
|
|
1324
1324
|
value: P.value.includes(_.value) ? _.value : ""
|
|
1325
1325
|
}, {
|
|
1326
|
-
title:
|
|
1326
|
+
title: k(() => [
|
|
1327
1327
|
F(h(cl))
|
|
1328
1328
|
]),
|
|
1329
|
-
default:
|
|
1329
|
+
default: k(() => [
|
|
1330
1330
|
(v(!0), W(de, null, Se(U.value, (H, ae) => (v(), $(B, {
|
|
1331
1331
|
key: ae,
|
|
1332
1332
|
trigger: "context-menu",
|
|
@@ -1336,13 +1336,13 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1336
1336
|
visible: l.value != "" ? l.value === H.path : !1
|
|
1337
1337
|
}
|
|
1338
1338
|
}, {
|
|
1339
|
-
dropdown:
|
|
1339
|
+
dropdown: k(() => [
|
|
1340
1340
|
F(T, null, {
|
|
1341
|
-
default:
|
|
1341
|
+
default: k(() => [
|
|
1342
1342
|
F(A, {
|
|
1343
1343
|
onClick: () => y(H, M.value.length + ae - 1)
|
|
1344
1344
|
}, {
|
|
1345
|
-
default:
|
|
1345
|
+
default: k(() => [
|
|
1346
1346
|
ne("span", {
|
|
1347
1347
|
title: h(e).t("刷新")
|
|
1348
1348
|
}, [
|
|
@@ -1359,7 +1359,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1359
1359
|
index: M.value.length + ae
|
|
1360
1360
|
})
|
|
1361
1361
|
}, {
|
|
1362
|
-
default:
|
|
1362
|
+
default: k(() => [
|
|
1363
1363
|
ne("span", {
|
|
1364
1364
|
title: h(e).t("关闭")
|
|
1365
1365
|
}, [
|
|
@@ -1376,7 +1376,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1376
1376
|
M.value.length + ae
|
|
1377
1377
|
)
|
|
1378
1378
|
}, {
|
|
1379
|
-
default:
|
|
1379
|
+
default: k(() => [
|
|
1380
1380
|
ne("span", {
|
|
1381
1381
|
title: h(e).t("关闭左侧")
|
|
1382
1382
|
}, [
|
|
@@ -1393,7 +1393,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1393
1393
|
M.value.length + ae
|
|
1394
1394
|
)
|
|
1395
1395
|
}, {
|
|
1396
|
-
default:
|
|
1396
|
+
default: k(() => [
|
|
1397
1397
|
ne("span", {
|
|
1398
1398
|
title: h(e).t("关闭右侧")
|
|
1399
1399
|
}, [
|
|
@@ -1410,7 +1410,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1410
1410
|
M.value.length + ae
|
|
1411
1411
|
)
|
|
1412
1412
|
}, {
|
|
1413
|
-
default:
|
|
1413
|
+
default: k(() => [
|
|
1414
1414
|
ne("span", {
|
|
1415
1415
|
title: h(e).t("关闭其他")
|
|
1416
1416
|
}, [
|
|
@@ -1424,11 +1424,11 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1424
1424
|
_: 2
|
|
1425
1425
|
}, 1024)
|
|
1426
1426
|
]),
|
|
1427
|
-
default:
|
|
1427
|
+
default: k(() => [
|
|
1428
1428
|
F(D, {
|
|
1429
1429
|
value: H.path
|
|
1430
1430
|
}, {
|
|
1431
|
-
default:
|
|
1431
|
+
default: k(() => [
|
|
1432
1432
|
H.isHome ? (v(), W("span", {
|
|
1433
1433
|
key: 0,
|
|
1434
1434
|
title: h(e).t("首页")
|
|
@@ -1461,7 +1461,7 @@ const Ze = new lr(ia), ua = Ut("column", {
|
|
|
1461
1461
|
block: "",
|
|
1462
1462
|
onClick: x[0] || (x[0] = (H) => S())
|
|
1463
1463
|
}, {
|
|
1464
|
-
default:
|
|
1464
|
+
default: k(() => [
|
|
1465
1465
|
ne("span", {
|
|
1466
1466
|
title: h(e).t("全部清空")
|
|
1467
1467
|
}, [
|
|
@@ -1493,13 +1493,13 @@ const Ft = Symbol("PropsModel"), Qn = Symbol("ConfigProvider"), Sn = Symbol("for
|
|
|
1493
1493
|
"stroke-linejoin": "round",
|
|
1494
1494
|
"stroke-width": "4",
|
|
1495
1495
|
d: "M24 20a7 7 0 1 0 0-14 7 7 0 0 0 0 14ZM6 40.8V42h36v-1.2c0-4.48 0-6.72-.872-8.432a8 8 0 0 0-3.496-3.496C35.92 28 33.68 28 29.2 28H18.8c-4.48 0-6.72 0-8.432.872a8 8 0 0 0-3.496 3.496C6 34.08 6 36.32 6 40.8Z"
|
|
1496
|
-
}, null, -1),
|
|
1496
|
+
}, null, -1), kr = [
|
|
1497
1497
|
Tr
|
|
1498
1498
|
];
|
|
1499
|
-
function
|
|
1500
|
-
return v(), W("svg", wr, [...
|
|
1499
|
+
function Cr(n, e) {
|
|
1500
|
+
return v(), W("svg", wr, [...kr]);
|
|
1501
1501
|
}
|
|
1502
|
-
const Mr = { render:
|
|
1502
|
+
const Mr = { render: Cr }, _r = {
|
|
1503
1503
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1504
1504
|
width: "24",
|
|
1505
1505
|
height: "24",
|
|
@@ -1527,7 +1527,7 @@ function Dr(n, e) {
|
|
|
1527
1527
|
const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
1528
1528
|
__name: "GLayoutHeader",
|
|
1529
1529
|
setup(n) {
|
|
1530
|
-
const { T: e } =
|
|
1530
|
+
const { T: e } = Ce(), t = `${tt}__header`, o = ft(), a = Ve(), l = ze(Qn, null), r = l == null ? void 0 : l.GLayoutHeaderOperationsRef, u = l == null ? void 0 : l.GLayoutHeaderConfigRef, i = l == null ? void 0 : l.SideMenuConfigRef, d = V(() => a.userType), s = V(() => {
|
|
1531
1531
|
if ((d.value ?? "") != "")
|
|
1532
1532
|
switch (d.value) {
|
|
1533
1533
|
case "normal":
|
|
@@ -1544,7 +1544,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1544
1544
|
function j() {
|
|
1545
1545
|
a.toggleSettingPanel();
|
|
1546
1546
|
}
|
|
1547
|
-
const E =
|
|
1547
|
+
const E = Ct();
|
|
1548
1548
|
function S() {
|
|
1549
1549
|
o.push({ name: "login" }), a.userLogout(), E.clearTabMenu();
|
|
1550
1550
|
}
|
|
@@ -1558,14 +1558,14 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1558
1558
|
}, 500);
|
|
1559
1559
|
}
|
|
1560
1560
|
return (m, w) => {
|
|
1561
|
-
const M = Q("t-button"), U = Q("t-icon"), P = Q("t-badge"),
|
|
1561
|
+
const M = Q("t-button"), U = Q("t-icon"), P = Q("t-badge"), C = Q("t-popup"), x = Q("t-dropdown-item"), D = Q("t-dropdown-menu"), A = Q("t-dropdown"), T = Q("t-head-menu"), B = Q("t-header");
|
|
1562
1562
|
return v(), $(B, {
|
|
1563
1563
|
class: Z(t),
|
|
1564
1564
|
onMouseleave: I
|
|
1565
1565
|
}, {
|
|
1566
|
-
default:
|
|
1566
|
+
default: k(() => [
|
|
1567
1567
|
F(T, { theme: c.value }, {
|
|
1568
|
-
logo:
|
|
1568
|
+
logo: k(() => {
|
|
1569
1569
|
var g;
|
|
1570
1570
|
return [
|
|
1571
1571
|
ne("div", {
|
|
@@ -1587,7 +1587,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1587
1587
|
variant: "text",
|
|
1588
1588
|
onClick: N
|
|
1589
1589
|
}, {
|
|
1590
|
-
default:
|
|
1590
|
+
default: k(() => [
|
|
1591
1591
|
y.value ? (v(), $(h(xt), {
|
|
1592
1592
|
key: 1,
|
|
1593
1593
|
size: "large"
|
|
@@ -1601,17 +1601,17 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1601
1601
|
], 2)
|
|
1602
1602
|
];
|
|
1603
1603
|
}),
|
|
1604
|
-
operations:
|
|
1604
|
+
operations: k(() => {
|
|
1605
1605
|
var g;
|
|
1606
1606
|
return [
|
|
1607
1607
|
ne("div", {
|
|
1608
1608
|
class: Z(`${t}--operations`)
|
|
1609
1609
|
}, [
|
|
1610
1610
|
(v(!0), W(de, null, Se(h(r), (b, z) => (v(), W(de, { key: z }, [
|
|
1611
|
-
b != null && b.isPopup ? (v(), $(
|
|
1612
|
-
default:
|
|
1611
|
+
b != null && b.isPopup ? (v(), $(C, Lt(Ee({ key: 0 }, b == null ? void 0 : b.popupProps)), {
|
|
1612
|
+
default: k(() => [
|
|
1613
1613
|
F(P, Lt(Yt(b == null ? void 0 : b.badgeProps)), {
|
|
1614
|
-
default:
|
|
1614
|
+
default: k(() => [
|
|
1615
1615
|
F(M, Ee({
|
|
1616
1616
|
theme: "default",
|
|
1617
1617
|
shape: "square",
|
|
@@ -1621,7 +1621,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1621
1621
|
...b.title != "" ? { title: b.title } : {},
|
|
1622
1622
|
...b.buttonProps
|
|
1623
1623
|
}), {
|
|
1624
|
-
icon:
|
|
1624
|
+
icon: k(() => {
|
|
1625
1625
|
var G;
|
|
1626
1626
|
return [
|
|
1627
1627
|
b != null && b.iconSrc && (b == null ? void 0 : b.iconSrc) != "" ? (v(), W("span", {
|
|
@@ -1640,7 +1640,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1640
1640
|
}, null, 6)) : X("", !0)
|
|
1641
1641
|
];
|
|
1642
1642
|
}),
|
|
1643
|
-
default:
|
|
1643
|
+
default: k(() => [
|
|
1644
1644
|
b != null && b.iconName && (b == null ? void 0 : b.iconName) != "" ? (v(), $(U, {
|
|
1645
1645
|
key: 0,
|
|
1646
1646
|
name: b.iconName
|
|
@@ -1655,7 +1655,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1655
1655
|
]),
|
|
1656
1656
|
_: 2
|
|
1657
1657
|
}, 1040)) : (v(), $(P, Lt(Ee({ key: 1 }, b == null ? void 0 : b.badgeProps)), {
|
|
1658
|
-
default:
|
|
1658
|
+
default: k(() => [
|
|
1659
1659
|
F(M, Ee({
|
|
1660
1660
|
theme: "default",
|
|
1661
1661
|
shape: "square",
|
|
@@ -1665,7 +1665,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1665
1665
|
...b.title != "" ? { title: b.title } : {},
|
|
1666
1666
|
...b.buttonProps
|
|
1667
1667
|
}), {
|
|
1668
|
-
icon:
|
|
1668
|
+
icon: k(() => {
|
|
1669
1669
|
var G;
|
|
1670
1670
|
return [
|
|
1671
1671
|
b != null && b.iconSrc && (b == null ? void 0 : b.iconSrc) != "" ? (v(), W("span", {
|
|
@@ -1684,7 +1684,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1684
1684
|
}, null, 6)) : X("", !0)
|
|
1685
1685
|
];
|
|
1686
1686
|
}),
|
|
1687
|
-
default:
|
|
1687
|
+
default: k(() => [
|
|
1688
1688
|
b != null && b.iconName && (b == null ? void 0 : b.iconName) != "" ? (v(), $(U, {
|
|
1689
1689
|
key: 0,
|
|
1690
1690
|
name: b.iconName
|
|
@@ -1703,14 +1703,14 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1703
1703
|
placement: "bottom-right",
|
|
1704
1704
|
class: Z(`${t}--operations-userInfo`)
|
|
1705
1705
|
}, {
|
|
1706
|
-
dropdown:
|
|
1706
|
+
dropdown: k(() => [
|
|
1707
1707
|
F(D, null, {
|
|
1708
|
-
default:
|
|
1708
|
+
default: k(() => [
|
|
1709
1709
|
F(x, {
|
|
1710
1710
|
onClick: S,
|
|
1711
1711
|
title: h(e).t("退出登录")
|
|
1712
1712
|
}, {
|
|
1713
|
-
default:
|
|
1713
|
+
default: k(() => [
|
|
1714
1714
|
F(h(fl)),
|
|
1715
1715
|
re(" " + te(h(e).t("退出登录")), 1)
|
|
1716
1716
|
]),
|
|
@@ -1720,22 +1720,22 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1720
1720
|
_: 1
|
|
1721
1721
|
})
|
|
1722
1722
|
]),
|
|
1723
|
-
default:
|
|
1723
|
+
default: k(() => [
|
|
1724
1724
|
F(M, {
|
|
1725
1725
|
theme: "default",
|
|
1726
1726
|
variant: "text",
|
|
1727
1727
|
style: { width: "150px" },
|
|
1728
1728
|
title: s.value
|
|
1729
1729
|
}, {
|
|
1730
|
-
icon:
|
|
1730
|
+
icon: k(() => [
|
|
1731
1731
|
F(h(Mr), {
|
|
1732
1732
|
class: Z(`${t}--operations-icon`)
|
|
1733
1733
|
}, null, 8, ["class"])
|
|
1734
1734
|
]),
|
|
1735
|
-
suffix:
|
|
1735
|
+
suffix: k(() => [
|
|
1736
1736
|
F(h(pl), { size: "20" })
|
|
1737
1737
|
]),
|
|
1738
|
-
default:
|
|
1738
|
+
default: k(() => [
|
|
1739
1739
|
ne("span", Nr, te(s.value), 1)
|
|
1740
1740
|
]),
|
|
1741
1741
|
_: 1
|
|
@@ -1749,7 +1749,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1749
1749
|
variant: "text",
|
|
1750
1750
|
onClick: j
|
|
1751
1751
|
}, {
|
|
1752
|
-
default:
|
|
1752
|
+
default: k(() => [
|
|
1753
1753
|
F(h(da), {
|
|
1754
1754
|
style: {
|
|
1755
1755
|
marginRight: "5px",
|
|
@@ -1765,7 +1765,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1765
1765
|
], 2)
|
|
1766
1766
|
];
|
|
1767
1767
|
}),
|
|
1768
|
-
default:
|
|
1768
|
+
default: k(() => [
|
|
1769
1769
|
F(yr)
|
|
1770
1770
|
]),
|
|
1771
1771
|
_: 1
|
|
@@ -1784,14 +1784,14 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1784
1784
|
return v(), $(r, {
|
|
1785
1785
|
class: Z(`${h(tt)}`)
|
|
1786
1786
|
}, {
|
|
1787
|
-
default:
|
|
1787
|
+
default: k(() => [
|
|
1788
1788
|
F(l, {
|
|
1789
1789
|
class: Z([
|
|
1790
1790
|
`${h(tt)}--content`,
|
|
1791
1791
|
`${t.value ? `${h(tt)}--content__collapse` : ""}`
|
|
1792
1792
|
])
|
|
1793
1793
|
}, {
|
|
1794
|
-
default:
|
|
1794
|
+
default: k(() => [
|
|
1795
1795
|
Ke(o.$slots, "default")
|
|
1796
1796
|
]),
|
|
1797
1797
|
_: 3
|
|
@@ -1807,7 +1807,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1807
1807
|
item: {}
|
|
1808
1808
|
},
|
|
1809
1809
|
setup(n) {
|
|
1810
|
-
const { T: e, i18n: t } =
|
|
1810
|
+
const { T: e, i18n: t } = Ce(), 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 ?? "");
|
|
1811
1811
|
return (u, i) => (v(), W("span", { title: r.value }, te(r.value), 9, Fr));
|
|
1812
1812
|
}
|
|
1813
1813
|
}), $r = /* @__PURE__ */ ue({
|
|
@@ -1846,7 +1846,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1846
1846
|
key: s.name,
|
|
1847
1847
|
onClick: (c) => a(s.path)
|
|
1848
1848
|
}, {
|
|
1849
|
-
icon:
|
|
1849
|
+
icon: k(() => [
|
|
1850
1850
|
s.level == 1 ? (v(), W(de, { key: 0 }, [
|
|
1851
1851
|
s.icon ? (v(), $(h(To), {
|
|
1852
1852
|
key: 0,
|
|
@@ -1858,7 +1858,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1858
1858
|
}))
|
|
1859
1859
|
], 64)) : X("", !0)
|
|
1860
1860
|
]),
|
|
1861
|
-
content:
|
|
1861
|
+
content: k(() => [
|
|
1862
1862
|
F(Mt, { item: s }, null, 8, ["item"])
|
|
1863
1863
|
]),
|
|
1864
1864
|
_: 2
|
|
@@ -1868,7 +1868,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1868
1868
|
value: s.name,
|
|
1869
1869
|
key: s.name
|
|
1870
1870
|
}, {
|
|
1871
|
-
icon:
|
|
1871
|
+
icon: k(() => [
|
|
1872
1872
|
s.level == 1 ? (v(), W(de, { key: 0 }, [
|
|
1873
1873
|
s.icon ? (v(), $(h(To), {
|
|
1874
1874
|
key: 0,
|
|
@@ -1880,10 +1880,10 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1880
1880
|
}))
|
|
1881
1881
|
], 64)) : X("", !0)
|
|
1882
1882
|
]),
|
|
1883
|
-
title:
|
|
1883
|
+
title: k(() => [
|
|
1884
1884
|
F(Mt, { item: s }, null, 8, ["item"])
|
|
1885
1885
|
]),
|
|
1886
|
-
default:
|
|
1886
|
+
default: k(() => [
|
|
1887
1887
|
s.children ? (v(), $(i, {
|
|
1888
1888
|
sideMenuTree: s.children,
|
|
1889
1889
|
key: s.name
|
|
@@ -1930,7 +1930,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1930
1930
|
showInAttachedElement: !0,
|
|
1931
1931
|
"z-index": 980
|
|
1932
1932
|
}, {
|
|
1933
|
-
default:
|
|
1933
|
+
default: k(() => [
|
|
1934
1934
|
F(f, {
|
|
1935
1935
|
width: "100%",
|
|
1936
1936
|
theme: l.value,
|
|
@@ -1938,7 +1938,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1938
1938
|
expanded: h(i),
|
|
1939
1939
|
"onUpdate:expanded": c[0] || (c[0] = (y) => Qa(i) ? i.value = y : null)
|
|
1940
1940
|
}, {
|
|
1941
|
-
default:
|
|
1941
|
+
default: k(() => [
|
|
1942
1942
|
F($r, { sideMenuTree: a.value }, null, 8, ["sideMenuTree"])
|
|
1943
1943
|
]),
|
|
1944
1944
|
_: 1
|
|
@@ -1951,7 +1951,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1951
1951
|
}), Pr = /* @__PURE__ */ ue({
|
|
1952
1952
|
__name: "GLayoutSettingPanel",
|
|
1953
1953
|
setup(n) {
|
|
1954
|
-
const { T: e } =
|
|
1954
|
+
const { T: e } = Ce(), t = `${tt}__settingPanel`, o = Ve(), a = [
|
|
1955
1955
|
"default",
|
|
1956
1956
|
"red",
|
|
1957
1957
|
"cyan",
|
|
@@ -1986,7 +1986,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1986
1986
|
closeOnEscKeydown: !1,
|
|
1987
1987
|
footer: !1
|
|
1988
1988
|
}, {
|
|
1989
|
-
header:
|
|
1989
|
+
header: k(() => [
|
|
1990
1990
|
F(h(da), { style: {
|
|
1991
1991
|
marginRight: "5px",
|
|
1992
1992
|
width: "20px",
|
|
@@ -1994,7 +1994,7 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
1994
1994
|
} }),
|
|
1995
1995
|
re(te(h(e).t("系统设置")), 1)
|
|
1996
1996
|
]),
|
|
1997
|
-
default:
|
|
1997
|
+
default: k(() => [
|
|
1998
1998
|
ne("div", {
|
|
1999
1999
|
class: Z(`${t}--container`)
|
|
2000
2000
|
}, [
|
|
@@ -2006,14 +2006,14 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
2006
2006
|
"onUpdate:modelValue": c[0] || (c[0] = (N) => r.value.brandTheme = N),
|
|
2007
2007
|
onChange: i
|
|
2008
2008
|
}, {
|
|
2009
|
-
default:
|
|
2009
|
+
default: k(() => [
|
|
2010
2010
|
(v(!0), W(de, null, Se(a.slice(0, a.length - 1), (N, j) => (v(), W("div", { key: j }, [
|
|
2011
2011
|
(v(), $(f, {
|
|
2012
2012
|
key: j,
|
|
2013
2013
|
value: N,
|
|
2014
2014
|
class: Z(`${t}--container-color-group`)
|
|
2015
2015
|
}, {
|
|
2016
|
-
default:
|
|
2016
|
+
default: k(() => [
|
|
2017
2017
|
ne("div", {
|
|
2018
2018
|
style: bt(d(N)),
|
|
2019
2019
|
class: Z(`${t}--container-color-item`)
|
|
@@ -2034,13 +2034,13 @@ const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
|
2034
2034
|
variant: "default-filled",
|
|
2035
2035
|
onChange: i
|
|
2036
2036
|
}, {
|
|
2037
|
-
default:
|
|
2037
|
+
default: k(() => [
|
|
2038
2038
|
(v(), W(de, null, Se(l, (N, j) => ne("div", { key: j }, [
|
|
2039
2039
|
(v(), $(f, {
|
|
2040
2040
|
key: j,
|
|
2041
2041
|
value: N.type
|
|
2042
2042
|
}, {
|
|
2043
|
-
default:
|
|
2043
|
+
default: k(() => [
|
|
2044
2044
|
re(te(N.text), 1)
|
|
2045
2045
|
]),
|
|
2046
2046
|
_: 2
|
|
@@ -2067,7 +2067,7 @@ function Vr(n, e) {
|
|
|
2067
2067
|
mode: "out-in",
|
|
2068
2068
|
appear: ""
|
|
2069
2069
|
}, {
|
|
2070
|
-
default:
|
|
2070
|
+
default: k(() => [
|
|
2071
2071
|
Ke(n.$slots, "default")
|
|
2072
2072
|
]),
|
|
2073
2073
|
_: 3
|
|
@@ -2076,7 +2076,7 @@ function Vr(n, e) {
|
|
|
2076
2076
|
const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
2077
2077
|
__name: "GLayoutSideHoverMenu",
|
|
2078
2078
|
setup(n) {
|
|
2079
|
-
const { T: e, i18n: t } =
|
|
2079
|
+
const { T: e, i18n: t } = Ce();
|
|
2080
2080
|
V(() => t.global.locale.value.toLowerCase() === "zh-cn");
|
|
2081
2081
|
const o = `${tt}__side-hover-menu`, a = `${tt}__side-hover-menu-content`, l = ft(), r = st(), u = Ve(), i = V(() => u.sideMenuTree), d = V(() => u.displayMode), s = V({
|
|
2082
2082
|
get: () => u.isSideHoverMenuShow,
|
|
@@ -2123,7 +2123,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2123
2123
|
}
|
|
2124
2124
|
);
|
|
2125
2125
|
const m = Y(null), w = Y(null), M = Y(null);
|
|
2126
|
-
|
|
2126
|
+
Co(
|
|
2127
2127
|
w,
|
|
2128
2128
|
() => {
|
|
2129
2129
|
p.value = !1;
|
|
@@ -2132,7 +2132,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2132
2132
|
ignore: [m, M, w],
|
|
2133
2133
|
capture: !1
|
|
2134
2134
|
}
|
|
2135
|
-
),
|
|
2135
|
+
), Co(
|
|
2136
2136
|
M,
|
|
2137
2137
|
() => {
|
|
2138
2138
|
E.value = !1;
|
|
@@ -2145,7 +2145,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2145
2145
|
const U = V(() => Yn(i.value)), P = V(() => {
|
|
2146
2146
|
var g;
|
|
2147
2147
|
return ((g = U.value.find((b) => b.url === c.value)) == null ? void 0 : g.level) ?? 0;
|
|
2148
|
-
}),
|
|
2148
|
+
}), C = V(() => {
|
|
2149
2149
|
var g, b;
|
|
2150
2150
|
switch (P.value) {
|
|
2151
2151
|
case 2:
|
|
@@ -2187,7 +2187,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2187
2187
|
showInAttachedElement: !1,
|
|
2188
2188
|
zIndex: 990
|
|
2189
2189
|
}, {
|
|
2190
|
-
default:
|
|
2190
|
+
default: k(() => [
|
|
2191
2191
|
F(ae, {
|
|
2192
2192
|
ref_key: "sideMenuLevel1Ref",
|
|
2193
2193
|
ref: m,
|
|
@@ -2196,7 +2196,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2196
2196
|
value: c.value,
|
|
2197
2197
|
expandType: "popup"
|
|
2198
2198
|
}, {
|
|
2199
|
-
default:
|
|
2199
|
+
default: k(() => [
|
|
2200
2200
|
(v(!0), W(de, null, Se(i.value, (J) => (v(), W(de, {
|
|
2201
2201
|
key: J.name
|
|
2202
2202
|
}, [
|
|
@@ -2207,7 +2207,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2207
2207
|
key: J.name,
|
|
2208
2208
|
onClick: (Me) => f(J.path)
|
|
2209
2209
|
}, {
|
|
2210
|
-
icon:
|
|
2210
|
+
icon: k(() => [
|
|
2211
2211
|
J.level == 1 ? (v(), W(de, { key: 0 }, [
|
|
2212
2212
|
J.icon ? (v(), $(z, {
|
|
2213
2213
|
key: 0,
|
|
@@ -2219,7 +2219,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2219
2219
|
}))
|
|
2220
2220
|
], 64)) : X("", !0)
|
|
2221
2221
|
]),
|
|
2222
|
-
content:
|
|
2222
|
+
content: k(() => [
|
|
2223
2223
|
F(Mt, { item: J }, null, 8, ["item"])
|
|
2224
2224
|
]),
|
|
2225
2225
|
_: 2
|
|
@@ -2228,7 +2228,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2228
2228
|
class: Z([
|
|
2229
2229
|
`${a}--sub-menu`,
|
|
2230
2230
|
`${a}--level${J.level}`,
|
|
2231
|
-
|
|
2231
|
+
C.value == J.name ? "t-is-active" : "",
|
|
2232
2232
|
N.value == J.name ? "t-is-selected" : ""
|
|
2233
2233
|
]),
|
|
2234
2234
|
name: J.name,
|
|
@@ -2239,7 +2239,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2239
2239
|
},
|
|
2240
2240
|
onMouseenter: (Me) => j(J)
|
|
2241
2241
|
}, {
|
|
2242
|
-
icon:
|
|
2242
|
+
icon: k(() => [
|
|
2243
2243
|
J.level == 1 ? (v(), W(de, { key: 0 }, [
|
|
2244
2244
|
J.icon ? (v(), $(z, {
|
|
2245
2245
|
key: 0,
|
|
@@ -2251,7 +2251,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2251
2251
|
}))
|
|
2252
2252
|
], 64)) : X("", !0)
|
|
2253
2253
|
]),
|
|
2254
|
-
title:
|
|
2254
|
+
title: k(() => [
|
|
2255
2255
|
F(Mt, { item: J }, null, 8, ["item"])
|
|
2256
2256
|
]),
|
|
2257
2257
|
_: 2
|
|
@@ -2275,7 +2275,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2275
2275
|
zIndex: 980,
|
|
2276
2276
|
style: { marginLeft: "232px" }
|
|
2277
2277
|
}, {
|
|
2278
|
-
default:
|
|
2278
|
+
default: k(() => [
|
|
2279
2279
|
F(ae, {
|
|
2280
2280
|
ref_key: "sideMenuLevel2Ref",
|
|
2281
2281
|
ref: w,
|
|
@@ -2284,7 +2284,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2284
2284
|
value: c.value,
|
|
2285
2285
|
expandType: "popup"
|
|
2286
2286
|
}, {
|
|
2287
|
-
default:
|
|
2287
|
+
default: k(() => [
|
|
2288
2288
|
(v(!0), W(de, null, Se(y.value, (J) => (v(), W("div", {
|
|
2289
2289
|
key: J.name
|
|
2290
2290
|
}, [
|
|
@@ -2299,7 +2299,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2299
2299
|
onClick: (Me) => f(J.path),
|
|
2300
2300
|
onMouseenter: I
|
|
2301
2301
|
}, {
|
|
2302
|
-
icon:
|
|
2302
|
+
icon: k(() => [
|
|
2303
2303
|
J.level == 1 ? (v(), W(de, { key: 0 }, [
|
|
2304
2304
|
J.icon ? (v(), $(z, {
|
|
2305
2305
|
key: 0,
|
|
@@ -2311,7 +2311,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2311
2311
|
}))
|
|
2312
2312
|
], 64)) : X("", !0)
|
|
2313
2313
|
]),
|
|
2314
|
-
content:
|
|
2314
|
+
content: k(() => [
|
|
2315
2315
|
F(Mt, { item: J }, null, 8, ["item"])
|
|
2316
2316
|
]),
|
|
2317
2317
|
_: 2
|
|
@@ -2331,7 +2331,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2331
2331
|
},
|
|
2332
2332
|
onMouseenter: (Me) => _(J)
|
|
2333
2333
|
}, {
|
|
2334
|
-
icon:
|
|
2334
|
+
icon: k(() => [
|
|
2335
2335
|
J.level == 1 ? (v(), W(de, { key: 0 }, [
|
|
2336
2336
|
J.icon ? (v(), $(z, {
|
|
2337
2337
|
key: 0,
|
|
@@ -2343,7 +2343,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2343
2343
|
}))
|
|
2344
2344
|
], 64)) : X("", !0)
|
|
2345
2345
|
]),
|
|
2346
|
-
title:
|
|
2346
|
+
title: k(() => [
|
|
2347
2347
|
F(Mt, { item: J }, null, 8, ["item"])
|
|
2348
2348
|
]),
|
|
2349
2349
|
_: 2
|
|
@@ -2367,7 +2367,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2367
2367
|
zIndex: 970,
|
|
2368
2368
|
style: { marginLeft: "382px" }
|
|
2369
2369
|
}, {
|
|
2370
|
-
default:
|
|
2370
|
+
default: k(() => [
|
|
2371
2371
|
F(ae, {
|
|
2372
2372
|
ref_key: "sideMenuLevel3Ref",
|
|
2373
2373
|
ref: M,
|
|
@@ -2376,7 +2376,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2376
2376
|
value: c.value,
|
|
2377
2377
|
expandType: "popup"
|
|
2378
2378
|
}, {
|
|
2379
|
-
default:
|
|
2379
|
+
default: k(() => [
|
|
2380
2380
|
(v(!0), W(de, null, Se(S.value, (J) => (v(), W("div", {
|
|
2381
2381
|
key: J.name
|
|
2382
2382
|
}, [
|
|
@@ -2390,7 +2390,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2390
2390
|
key: J.name,
|
|
2391
2391
|
onClick: (Me) => f(J.path)
|
|
2392
2392
|
}, {
|
|
2393
|
-
icon:
|
|
2393
|
+
icon: k(() => [
|
|
2394
2394
|
J.level == 1 ? (v(), W(de, { key: 0 }, [
|
|
2395
2395
|
J.icon ? (v(), $(z, {
|
|
2396
2396
|
key: 0,
|
|
@@ -2402,7 +2402,7 @@ const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
|
2402
2402
|
}))
|
|
2403
2403
|
], 64)) : X("", !0)
|
|
2404
2404
|
]),
|
|
2405
|
-
content:
|
|
2405
|
+
content: k(() => [
|
|
2406
2406
|
F(Mt, { item: J }, null, 8, ["item"])
|
|
2407
2407
|
]),
|
|
2408
2408
|
_: 2
|
|
@@ -2432,21 +2432,21 @@ const Rr = /* @__PURE__ */ ue({
|
|
|
2432
2432
|
class: Z(`${e}`)
|
|
2433
2433
|
}, [
|
|
2434
2434
|
F(u, null, {
|
|
2435
|
-
default:
|
|
2435
|
+
default: k(() => [
|
|
2436
2436
|
F(Er),
|
|
2437
2437
|
F(r, null, {
|
|
2438
|
-
default:
|
|
2438
|
+
default: k(() => [
|
|
2439
2439
|
F(Ar, null, {
|
|
2440
|
-
default:
|
|
2440
|
+
default: k(() => [
|
|
2441
2441
|
F(Or, null, {
|
|
2442
|
-
default:
|
|
2442
|
+
default: k(() => [
|
|
2443
2443
|
(v(), $(l, {
|
|
2444
2444
|
key: `${o.title}}`,
|
|
2445
2445
|
class: Z(`${t}`),
|
|
2446
2446
|
bordered: !1,
|
|
2447
2447
|
title: o.title
|
|
2448
2448
|
}, {
|
|
2449
|
-
default:
|
|
2449
|
+
default: k(() => [
|
|
2450
2450
|
Ke(o.$slots, "default")
|
|
2451
2451
|
]),
|
|
2452
2452
|
_: 3
|
|
@@ -2480,7 +2480,7 @@ const Rr = /* @__PURE__ */ ue({
|
|
|
2480
2480
|
return Ue(() => {
|
|
2481
2481
|
e.loadLocalThemeConfig();
|
|
2482
2482
|
}), (t, o) => (v(), $(Rr, { title: t.title }, {
|
|
2483
|
-
default:
|
|
2483
|
+
default: k(() => [
|
|
2484
2484
|
Ke(t.$slots, "default")
|
|
2485
2485
|
]),
|
|
2486
2486
|
_: 3
|
|
@@ -2501,7 +2501,7 @@ const ma = Ye(jr), fa = /* @__PURE__ */ ue({
|
|
|
2501
2501
|
}, e.commonDialogProps), qt({ _: 2 }, [
|
|
2502
2502
|
Se(e.$slots, (a, l) => ({
|
|
2503
2503
|
name: l,
|
|
2504
|
-
fn:
|
|
2504
|
+
fn: k((r) => [
|
|
2505
2505
|
Ke(e.$slots, l, Lt(Yt({ ...r })))
|
|
2506
2506
|
])
|
|
2507
2507
|
}))
|
|
@@ -2528,7 +2528,7 @@ const pa = Ye(fa), zr = /* @__PURE__ */ ue({
|
|
|
2528
2528
|
ref: t,
|
|
2529
2529
|
class: `${h(rn)}--main`
|
|
2530
2530
|
}, o.commonFormProps), {
|
|
2531
|
-
default:
|
|
2531
|
+
default: k(() => [
|
|
2532
2532
|
ne("div", {
|
|
2533
2533
|
class: Z(`${h(rn)}--main-body`),
|
|
2534
2534
|
ref: "commonFormBodyRef"
|
|
@@ -2556,14 +2556,14 @@ const ro = Ye(zr), Gr = /* @__PURE__ */ ue({
|
|
|
2556
2556
|
class: Z(`${h(sn)}`)
|
|
2557
2557
|
}, [
|
|
2558
2558
|
F(o, { justify: "space-between" }, {
|
|
2559
|
-
default:
|
|
2559
|
+
default: k(() => [
|
|
2560
2560
|
ne("div", {
|
|
2561
2561
|
class: Z(`${h(sn)}--left`)
|
|
2562
2562
|
}, [
|
|
2563
2563
|
F(o, {
|
|
2564
2564
|
class: Z(`${h(sn)}--left-row`)
|
|
2565
2565
|
}, {
|
|
2566
|
-
default:
|
|
2566
|
+
default: k(() => [
|
|
2567
2567
|
Ke(e.$slots, "left-operations")
|
|
2568
2568
|
]),
|
|
2569
2569
|
_: 3
|
|
@@ -2588,7 +2588,7 @@ const Hr = Ye(Gr), Kr = /* @__PURE__ */ ue({
|
|
|
2588
2588
|
commonTableProps: {}
|
|
2589
2589
|
},
|
|
2590
2590
|
setup(n, { expose: e }) {
|
|
2591
|
-
|
|
2591
|
+
Ce();
|
|
2592
2592
|
const t = Y();
|
|
2593
2593
|
e({
|
|
2594
2594
|
tTableRef: t
|
|
@@ -2612,7 +2612,7 @@ const Hr = Ye(Gr), Kr = /* @__PURE__ */ ue({
|
|
|
2612
2612
|
}, { ...o.value, ...a.commonTableProps }), qt({ _: 2 }, [
|
|
2613
2613
|
Se(a.$slots, (d, s) => ({
|
|
2614
2614
|
name: s,
|
|
2615
|
-
fn:
|
|
2615
|
+
fn: k((c) => [
|
|
2616
2616
|
Ke(a.$slots, s, Lt(Yt({ ...c })))
|
|
2617
2617
|
])
|
|
2618
2618
|
}))
|
|
@@ -2623,7 +2623,7 @@ const Hr = Ye(Gr), Kr = /* @__PURE__ */ ue({
|
|
|
2623
2623
|
}, { ...o.value, ...a.commonTableProps }), qt({ _: 2 }, [
|
|
2624
2624
|
Se(a.$slots, (d, s) => ({
|
|
2625
2625
|
name: s,
|
|
2626
|
-
fn:
|
|
2626
|
+
fn: k((c) => [
|
|
2627
2627
|
Ke(a.$slots, s, Lt(Yt({ ...c })))
|
|
2628
2628
|
])
|
|
2629
2629
|
}))
|
|
@@ -2634,7 +2634,7 @@ const Hr = Ye(Gr), Kr = /* @__PURE__ */ ue({
|
|
|
2634
2634
|
}, { ...o.value, ...a.commonTableProps }), qt({ _: 2 }, [
|
|
2635
2635
|
Se(a.$slots, (d, s) => ({
|
|
2636
2636
|
name: s,
|
|
2637
|
-
fn:
|
|
2637
|
+
fn: k((c) => [
|
|
2638
2638
|
Ke(a.$slots, s, Lt(Yt({ ...c })))
|
|
2639
2639
|
])
|
|
2640
2640
|
}))
|
|
@@ -2702,7 +2702,7 @@ const Gt = (n) => {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
function L(I, m) {
|
|
2704
2704
|
let w = 0, M = 0, U = !1, P = [];
|
|
2705
|
-
const
|
|
2705
|
+
const C = I.length, x = async () => {
|
|
2706
2706
|
if (U)
|
|
2707
2707
|
return;
|
|
2708
2708
|
const A = I.shift();
|
|
@@ -2718,7 +2718,7 @@ const Gt = (n) => {
|
|
|
2718
2718
|
f(Gt(B));
|
|
2719
2719
|
return;
|
|
2720
2720
|
}
|
|
2721
|
-
if (w ==
|
|
2721
|
+
if (w == C - 1) {
|
|
2722
2722
|
const g = P.map((b) => Gt(b));
|
|
2723
2723
|
c(g);
|
|
2724
2724
|
} else
|
|
@@ -2727,7 +2727,7 @@ const Gt = (n) => {
|
|
|
2727
2727
|
for (const g of Object.keys(o))
|
|
2728
2728
|
B.setRequestHeader(g, o[g]);
|
|
2729
2729
|
B.send(A), P.push(B);
|
|
2730
|
-
} else if (w ===
|
|
2730
|
+
} else if (w === C) {
|
|
2731
2731
|
const T = P.map((B) => Gt(B));
|
|
2732
2732
|
c(T);
|
|
2733
2733
|
}
|
|
@@ -2743,7 +2743,7 @@ const Gt = (n) => {
|
|
|
2743
2743
|
I.push(U);
|
|
2744
2744
|
}
|
|
2745
2745
|
const m = I == null ? void 0 : I.map((M, U) => {
|
|
2746
|
-
const P = new FormData(),
|
|
2746
|
+
const P = new FormData(), C = {
|
|
2747
2747
|
key: u,
|
|
2748
2748
|
end: U == I.length - 1,
|
|
2749
2749
|
index: U,
|
|
@@ -2752,8 +2752,8 @@ const Gt = (n) => {
|
|
|
2752
2752
|
if (y)
|
|
2753
2753
|
for (const x of Object.keys(y))
|
|
2754
2754
|
P.append(x, y[x]);
|
|
2755
|
-
for (const x of Object.keys(
|
|
2756
|
-
P.append(x,
|
|
2755
|
+
for (const x of Object.keys(C))
|
|
2756
|
+
P.append(x, C[x]);
|
|
2757
2757
|
return P;
|
|
2758
2758
|
});
|
|
2759
2759
|
let w = [];
|
|
@@ -2792,7 +2792,7 @@ const Gt = (n) => {
|
|
|
2792
2792
|
}
|
|
2793
2793
|
}, va = (n) => (n.indexOf(".") > -1 ? `.${n.split(".").pop()}` : "").toLowerCase(), Qr = (n, e) => {
|
|
2794
2794
|
if (e && n) {
|
|
2795
|
-
const t =
|
|
2795
|
+
const t = kt(e) ? e : e.split(",").map((a) => a.trim()).filter((a) => a), o = va(n.name);
|
|
2796
2796
|
return t.some((a) => {
|
|
2797
2797
|
const l = a && a.toLowerCase(), r = (n.type || "").toLowerCase(), u = r.split("/")[0];
|
|
2798
2798
|
if (l === r || `${u}${o.replace(".", "/")}` === l || /^\*(\/\*)?$/.test(l))
|
|
@@ -2933,11 +2933,11 @@ const Gt = (n) => {
|
|
|
2933
2933
|
variant: "outline",
|
|
2934
2934
|
disabled: n.disabled
|
|
2935
2935
|
}, n.buttonProps), {
|
|
2936
|
-
icon:
|
|
2936
|
+
icon: k(() => {
|
|
2937
2937
|
var p;
|
|
2938
2938
|
return [
|
|
2939
2939
|
(p = h(e)) != null && p.showButtonProgress ? (v(), W(de, { key: 0 }, [
|
|
2940
|
-
d.value == "normal" ? (v(), $(h(
|
|
2940
|
+
d.value == "normal" ? (v(), $(h(ko), {
|
|
2941
2941
|
key: 0,
|
|
2942
2942
|
size: "14"
|
|
2943
2943
|
})) : (v(), $(h(Zo), {
|
|
@@ -2949,13 +2949,13 @@ const Gt = (n) => {
|
|
|
2949
2949
|
theme: "circle",
|
|
2950
2950
|
style: { marginRight: "5px" }
|
|
2951
2951
|
}, null, 8, ["percentage"]))
|
|
2952
|
-
], 64)) : (v(), $(h(
|
|
2952
|
+
], 64)) : (v(), $(h(ko), {
|
|
2953
2953
|
key: 1,
|
|
2954
2954
|
size: "14"
|
|
2955
2955
|
}))
|
|
2956
2956
|
];
|
|
2957
2957
|
}),
|
|
2958
|
-
default:
|
|
2958
|
+
default: k(() => [
|
|
2959
2959
|
re(" " + te(n.uploaderText), 1)
|
|
2960
2960
|
]),
|
|
2961
2961
|
_: 1
|
|
@@ -3008,7 +3008,7 @@ const Gt = (n) => {
|
|
|
3008
3008
|
showArrow: !1,
|
|
3009
3009
|
theme: "light"
|
|
3010
3010
|
}, {
|
|
3011
|
-
default:
|
|
3011
|
+
default: k(() => {
|
|
3012
3012
|
var y;
|
|
3013
3013
|
return [
|
|
3014
3014
|
(y = h(e)) != null && y.showRetryButton ? (v(), $(h(Hn), { key: 0 })) : X("", !0)
|
|
@@ -3028,7 +3028,7 @@ const Gt = (n) => {
|
|
|
3028
3028
|
showArrow: !1,
|
|
3029
3029
|
theme: "light"
|
|
3030
3030
|
}, {
|
|
3031
|
-
default:
|
|
3031
|
+
default: k(() => {
|
|
3032
3032
|
var y, N;
|
|
3033
3033
|
return [
|
|
3034
3034
|
ne("span", {
|
|
@@ -3050,7 +3050,7 @@ const Gt = (n) => {
|
|
|
3050
3050
|
showArrow: !1,
|
|
3051
3051
|
theme: "light"
|
|
3052
3052
|
}, {
|
|
3053
|
-
default:
|
|
3053
|
+
default: k(() => {
|
|
3054
3054
|
var y, N;
|
|
3055
3055
|
return [
|
|
3056
3056
|
ne("span", {
|
|
@@ -3078,7 +3078,7 @@ const Gt = (n) => {
|
|
|
3078
3078
|
}
|
|
3079
3079
|
},
|
|
3080
3080
|
setup(n) {
|
|
3081
|
-
const { T: e } =
|
|
3081
|
+
const { T: e } = Ce(), t = ze($t, void 0), a = `${V(() => `${t == null ? void 0 : t.uploaderClass}`).value}__operations`;
|
|
3082
3082
|
function l(r) {
|
|
3083
3083
|
r.url && window.open(r.url, "_blank");
|
|
3084
3084
|
}
|
|
@@ -3094,7 +3094,7 @@ const Gt = (n) => {
|
|
|
3094
3094
|
showArrow: !1,
|
|
3095
3095
|
theme: "light"
|
|
3096
3096
|
}, {
|
|
3097
|
-
default:
|
|
3097
|
+
default: k(() => {
|
|
3098
3098
|
var d;
|
|
3099
3099
|
return [
|
|
3100
3100
|
ne("span", {
|
|
@@ -3114,7 +3114,7 @@ const Gt = (n) => {
|
|
|
3114
3114
|
showArrow: !1,
|
|
3115
3115
|
theme: "light"
|
|
3116
3116
|
}, {
|
|
3117
|
-
default:
|
|
3117
|
+
default: k(() => {
|
|
3118
3118
|
var d, s;
|
|
3119
3119
|
return [
|
|
3120
3120
|
ne("span", {
|
|
@@ -3140,7 +3140,7 @@ const Gt = (n) => {
|
|
|
3140
3140
|
showArrow: !1,
|
|
3141
3141
|
theme: "light"
|
|
3142
3142
|
}, {
|
|
3143
|
-
default:
|
|
3143
|
+
default: k(() => [
|
|
3144
3144
|
ne("span", {
|
|
3145
3145
|
class: Z([h(t).iconClass, `${h(t).iconClass}-remove`])
|
|
3146
3146
|
}, [
|
|
@@ -3201,7 +3201,7 @@ const ya = /* @__PURE__ */ ht(es, [["__scopeId", "data-v-8a486150"]]), ts = /* @
|
|
|
3201
3201
|
showArrow: !1,
|
|
3202
3202
|
theme: "light"
|
|
3203
3203
|
}, {
|
|
3204
|
-
default:
|
|
3204
|
+
default: k(() => {
|
|
3205
3205
|
var c;
|
|
3206
3206
|
return [
|
|
3207
3207
|
(c = h(e)) != null && c.showLink && l.file.url ? (v(), $(h(ll), {
|
|
@@ -3213,7 +3213,7 @@ const ya = /* @__PURE__ */ ht(es, [["__scopeId", "data-v-8a486150"]]), ts = /* @
|
|
|
3213
3213
|
href: n.file.url,
|
|
3214
3214
|
target: "_blank"
|
|
3215
3215
|
}, {
|
|
3216
|
-
default:
|
|
3216
|
+
default: k(() => [
|
|
3217
3217
|
re(te(u.value), 1)
|
|
3218
3218
|
]),
|
|
3219
3219
|
_: 1
|
|
@@ -3252,7 +3252,7 @@ const ya = /* @__PURE__ */ ht(es, [["__scopeId", "data-v-8a486150"]]), ts = /* @
|
|
|
3252
3252
|
tag: "div",
|
|
3253
3253
|
class: Z(o.value)
|
|
3254
3254
|
}, {
|
|
3255
|
-
default:
|
|
3255
|
+
default: k(() => [
|
|
3256
3256
|
(v(!0), W(de, null, Se(n.fileList, (u, i) => (v(), $(ts, {
|
|
3257
3257
|
key: `fileItem-${i}`,
|
|
3258
3258
|
file: u,
|
|
@@ -3302,7 +3302,7 @@ const ya = /* @__PURE__ */ ht(es, [["__scopeId", "data-v-8a486150"]]), ts = /* @
|
|
|
3302
3302
|
expandOnClickNode: !0,
|
|
3303
3303
|
keys: { value: "fileId", label: "filename", children: "childFiles" }
|
|
3304
3304
|
}, {
|
|
3305
|
-
operations:
|
|
3305
|
+
operations: k(({ node: f }) => [
|
|
3306
3306
|
f.data.fileUploadType == "file" ? (v(), $(ya, {
|
|
3307
3307
|
key: 0,
|
|
3308
3308
|
file: f.data
|
|
@@ -3610,7 +3610,7 @@ const as = /* @__PURE__ */ ue({
|
|
|
3610
3610
|
error: (n) => !0
|
|
3611
3611
|
},
|
|
3612
3612
|
setup(n, { emit: e }) {
|
|
3613
|
-
const { T: t } =
|
|
3613
|
+
const { T: t } = Ce(), o = n, a = e, l = Yo(), {
|
|
3614
3614
|
fileList: r,
|
|
3615
3615
|
disabled: u,
|
|
3616
3616
|
listType: i,
|
|
@@ -3695,11 +3695,11 @@ const as = /* @__PURE__ */ ue({
|
|
|
3695
3695
|
g.status = "uploading", g.percent = 0;
|
|
3696
3696
|
const Me = Dt(o.customRequest) ? o.customRequest(J) : qr(J);
|
|
3697
3697
|
S.set(g.fileId, Me);
|
|
3698
|
-
},
|
|
3698
|
+
}, C = (g) => {
|
|
3699
3699
|
var z;
|
|
3700
3700
|
const b = S.get(g.fileId);
|
|
3701
3701
|
if (b)
|
|
3702
|
-
if (
|
|
3702
|
+
if (kt(b)) {
|
|
3703
3703
|
b.forEach((H) => {
|
|
3704
3704
|
var ae;
|
|
3705
3705
|
(ae = H.abort) == null || ae.call(H);
|
|
@@ -3769,7 +3769,7 @@ const as = /* @__PURE__ */ ue({
|
|
|
3769
3769
|
download: y,
|
|
3770
3770
|
slots: l,
|
|
3771
3771
|
onUpload: P,
|
|
3772
|
-
onAbort:
|
|
3772
|
+
onAbort: C,
|
|
3773
3773
|
onRemove: T
|
|
3774
3774
|
})
|
|
3775
3775
|
), (g, b) => {
|
|
@@ -3796,7 +3796,7 @@ const as = /* @__PURE__ */ ue({
|
|
|
3796
3796
|
class: Z(`${h(un)}__card`),
|
|
3797
3797
|
size: "small"
|
|
3798
3798
|
}, {
|
|
3799
|
-
default:
|
|
3799
|
+
default: k(() => [
|
|
3800
3800
|
n.directory ? n.directory && _.value ? (v(), $(os, {
|
|
3801
3801
|
key: 1,
|
|
3802
3802
|
fileTree: _.value
|
|
@@ -3820,7 +3820,7 @@ const Xn = Ye(as), ls = { class: "display-column-checkbox" }, rs = { class: "foo
|
|
|
3820
3820
|
},
|
|
3821
3821
|
emits: ["confirm"],
|
|
3822
3822
|
setup(n, { emit: e }) {
|
|
3823
|
-
const t = n, { T: o } =
|
|
3823
|
+
const t = n, { T: o } = Ce(), a = Y(!1), l = Y([]);
|
|
3824
3824
|
De(
|
|
3825
3825
|
() => t.displayColumns,
|
|
3826
3826
|
() => {
|
|
@@ -3853,20 +3853,20 @@ const Xn = Ye(as), ls = { class: "display-column-checkbox" }, rs = { class: "foo
|
|
|
3853
3853
|
"onUpdate:visible": y[2] || (y[2] = (_) => a.value = _),
|
|
3854
3854
|
onVisibleChange: r
|
|
3855
3855
|
}, {
|
|
3856
|
-
content:
|
|
3856
|
+
content: k(() => [
|
|
3857
3857
|
ne("div", ls, [
|
|
3858
3858
|
F(S, {
|
|
3859
3859
|
size: "8px",
|
|
3860
3860
|
direction: "vertical",
|
|
3861
3861
|
class: "checkbox"
|
|
3862
3862
|
}, {
|
|
3863
|
-
default:
|
|
3863
|
+
default: k(() => [
|
|
3864
3864
|
F(j, {
|
|
3865
3865
|
checked: i.value,
|
|
3866
3866
|
indeterminate: d.value,
|
|
3867
3867
|
"on-change": u
|
|
3868
3868
|
}, {
|
|
3869
|
-
default:
|
|
3869
|
+
default: k(() => [
|
|
3870
3870
|
re(te(h(o).t("全选")), 1)
|
|
3871
3871
|
]),
|
|
3872
3872
|
_: 1
|
|
@@ -3885,7 +3885,7 @@ const Xn = Ye(as), ls = { class: "display-column-checkbox" }, rs = { class: "foo
|
|
|
3885
3885
|
size: "small",
|
|
3886
3886
|
onClick: y[1] || (y[1] = (_) => u(!0))
|
|
3887
3887
|
}, {
|
|
3888
|
-
default:
|
|
3888
|
+
default: k(() => [
|
|
3889
3889
|
re(te(h(o).t("重置")), 1)
|
|
3890
3890
|
]),
|
|
3891
3891
|
_: 1
|
|
@@ -3896,7 +3896,7 @@ const Xn = Ye(as), ls = { class: "display-column-checkbox" }, rs = { class: "foo
|
|
|
3896
3896
|
onClick: f,
|
|
3897
3897
|
disabled: c.value
|
|
3898
3898
|
}, {
|
|
3899
|
-
default:
|
|
3899
|
+
default: k(() => [
|
|
3900
3900
|
re(te(h(o).t("确定")), 1)
|
|
3901
3901
|
]),
|
|
3902
3902
|
_: 1
|
|
@@ -3904,12 +3904,12 @@ const Xn = Ye(as), ls = { class: "display-column-checkbox" }, rs = { class: "foo
|
|
|
3904
3904
|
])
|
|
3905
3905
|
])
|
|
3906
3906
|
]),
|
|
3907
|
-
default:
|
|
3907
|
+
default: k(() => [
|
|
3908
3908
|
F(N, { theme: "default" }, {
|
|
3909
|
-
icon:
|
|
3910
|
-
F(h(
|
|
3909
|
+
icon: k(() => [
|
|
3910
|
+
F(h(kl))
|
|
3911
3911
|
]),
|
|
3912
|
-
default:
|
|
3912
|
+
default: k(() => [
|
|
3913
3913
|
re(te(h(o).t("表头")), 1)
|
|
3914
3914
|
]),
|
|
3915
3915
|
_: 1
|
|
@@ -3928,7 +3928,7 @@ const is = /* @__PURE__ */ ht(ss, [["__scopeId", "data-v-05da5ebe"]]), us = Ye(i
|
|
|
3928
3928
|
dialogProps: {}
|
|
3929
3929
|
},
|
|
3930
3930
|
setup(n) {
|
|
3931
|
-
const { T: e } =
|
|
3931
|
+
const { T: e } = Ce(), t = [
|
|
3932
3932
|
"default",
|
|
3933
3933
|
"red",
|
|
3934
3934
|
"cyan",
|
|
@@ -3959,31 +3959,31 @@ const is = /* @__PURE__ */ ht(ss, [["__scopeId", "data-v-05da5ebe"]]), us = Ye(i
|
|
|
3959
3959
|
...i.dialogProps
|
|
3960
3960
|
}
|
|
3961
3961
|
}, {
|
|
3962
|
-
default:
|
|
3962
|
+
default: k(() => [
|
|
3963
3963
|
F(p, {
|
|
3964
3964
|
class: "setting-dialog-form",
|
|
3965
3965
|
labelAlign: "right",
|
|
3966
3966
|
labelWidth: "200px"
|
|
3967
3967
|
}, {
|
|
3968
|
-
default:
|
|
3968
|
+
default: k(() => [
|
|
3969
3969
|
F(f, {
|
|
3970
3970
|
label: h(e).t("主题色设置")
|
|
3971
3971
|
}, {
|
|
3972
|
-
default:
|
|
3972
|
+
default: k(() => [
|
|
3973
3973
|
F(c, {
|
|
3974
3974
|
modelValue: l.value.brandTheme,
|
|
3975
3975
|
"onUpdate:modelValue": d[0] || (d[0] = (y) => l.value.brandTheme = y),
|
|
3976
3976
|
onChange: r,
|
|
3977
3977
|
class: "color-group"
|
|
3978
3978
|
}, {
|
|
3979
|
-
default:
|
|
3979
|
+
default: k(() => [
|
|
3980
3980
|
(v(!0), W(de, null, Se(t.slice(0, t.length - 1), (y, N) => (v(), W("div", { key: N }, [
|
|
3981
3981
|
(v(), $(s, {
|
|
3982
3982
|
key: N,
|
|
3983
3983
|
value: y,
|
|
3984
3984
|
class: "color-button"
|
|
3985
3985
|
}, {
|
|
3986
|
-
default:
|
|
3986
|
+
default: k(() => [
|
|
3987
3987
|
ne("div", {
|
|
3988
3988
|
style: bt(u(y)),
|
|
3989
3989
|
class: "color-item"
|
|
@@ -4001,20 +4001,20 @@ const is = /* @__PURE__ */ ht(ss, [["__scopeId", "data-v-05da5ebe"]]), us = Ye(i
|
|
|
4001
4001
|
F(f, {
|
|
4002
4002
|
label: h(e).t("主题模式")
|
|
4003
4003
|
}, {
|
|
4004
|
-
default:
|
|
4004
|
+
default: k(() => [
|
|
4005
4005
|
F(c, {
|
|
4006
4006
|
modelValue: l.value.displayMode,
|
|
4007
4007
|
"onUpdate:modelValue": d[1] || (d[1] = (y) => l.value.displayMode = y),
|
|
4008
4008
|
variant: "default-filled",
|
|
4009
4009
|
onChange: r
|
|
4010
4010
|
}, {
|
|
4011
|
-
default:
|
|
4011
|
+
default: k(() => [
|
|
4012
4012
|
(v(!0), W(de, null, Se(o.value, (y, N) => (v(), W("div", { key: N }, [
|
|
4013
4013
|
(v(), $(s, {
|
|
4014
4014
|
key: N,
|
|
4015
4015
|
value: y.type
|
|
4016
4016
|
}, {
|
|
4017
|
-
default:
|
|
4017
|
+
default: k(() => [
|
|
4018
4018
|
re(te(y.text), 1)
|
|
4019
4019
|
]),
|
|
4020
4020
|
_: 2
|
|
@@ -4074,7 +4074,7 @@ const Nc = Ye(cs), jt = {
|
|
|
4074
4074
|
return (a, l) => {
|
|
4075
4075
|
const r = Q("t-tag");
|
|
4076
4076
|
return v(), $(r, { class: "g-label" }, {
|
|
4077
|
-
default:
|
|
4077
|
+
default: k(() => [
|
|
4078
4078
|
re(te(o.value), 1)
|
|
4079
4079
|
]),
|
|
4080
4080
|
_: 1
|
|
@@ -4138,7 +4138,7 @@ const Ta = /* @__PURE__ */ ht(ps, [["__scopeId", "data-v-b9a9d3f9"]]), Zn = /* @
|
|
|
4138
4138
|
content: f.placeholder,
|
|
4139
4139
|
placement: "bottom"
|
|
4140
4140
|
}, {
|
|
4141
|
-
default:
|
|
4141
|
+
default: k(() => [
|
|
4142
4142
|
F(y, Ee({
|
|
4143
4143
|
modelValue: l.value,
|
|
4144
4144
|
"onUpdate:modelValue": p[0] || (p[0] = (j) => l.value = j)
|
|
@@ -4156,7 +4156,7 @@ const Ta = /* @__PURE__ */ ht(ps, [["__scopeId", "data-v-b9a9d3f9"]]), Zn = /* @
|
|
|
4156
4156
|
], 512);
|
|
4157
4157
|
};
|
|
4158
4158
|
}
|
|
4159
|
-
}),
|
|
4159
|
+
}), ka = /* @__PURE__ */ ue({
|
|
4160
4160
|
__name: "GFormCheckBox",
|
|
4161
4161
|
props: {
|
|
4162
4162
|
modelValue: {},
|
|
@@ -4190,7 +4190,7 @@ const Ta = /* @__PURE__ */ ht(ps, [["__scopeId", "data-v-b9a9d3f9"]]), Zn = /* @
|
|
|
4190
4190
|
}, null, 8, ["modelValue", "disabled"]);
|
|
4191
4191
|
};
|
|
4192
4192
|
}
|
|
4193
|
-
}),
|
|
4193
|
+
}), Ca = /* @__PURE__ */ ue({
|
|
4194
4194
|
__name: "GFormSwitch",
|
|
4195
4195
|
props: {
|
|
4196
4196
|
modelValue: {},
|
|
@@ -4389,12 +4389,12 @@ const Ma = /* @__PURE__ */ ue({
|
|
|
4389
4389
|
onChange: s,
|
|
4390
4390
|
disabled: c.disabled
|
|
4391
4391
|
}, {
|
|
4392
|
-
default:
|
|
4392
|
+
default: k(() => [
|
|
4393
4393
|
(v(!0), W(de, null, Se(h(u), (N) => (v(), $(p, {
|
|
4394
4394
|
key: N.key,
|
|
4395
4395
|
value: N.value
|
|
4396
4396
|
}, {
|
|
4397
|
-
default:
|
|
4397
|
+
default: k(() => [
|
|
4398
4398
|
re(te(N.label), 1)
|
|
4399
4399
|
]),
|
|
4400
4400
|
_: 2
|
|
@@ -4478,7 +4478,7 @@ const Ma = /* @__PURE__ */ ue({
|
|
|
4478
4478
|
content: N.placeholder,
|
|
4479
4479
|
placement: "bottom"
|
|
4480
4480
|
}, {
|
|
4481
|
-
default:
|
|
4481
|
+
default: k(() => [
|
|
4482
4482
|
F(E, Ee({
|
|
4483
4483
|
modelValue: i.value,
|
|
4484
4484
|
"onUpdate:modelValue": j[0] || (j[0] = (L) => i.value = L)
|
|
@@ -4511,7 +4511,7 @@ const Ma = /* @__PURE__ */ ue({
|
|
|
4511
4511
|
},
|
|
4512
4512
|
emits: ["update:modelValue", "blur:modelValue"],
|
|
4513
4513
|
setup(n, { emit: e }) {
|
|
4514
|
-
|
|
4514
|
+
Ce();
|
|
4515
4515
|
const t = n, o = V(() => {
|
|
4516
4516
|
var s;
|
|
4517
4517
|
return (s = t.formItem) == null ? void 0 : s.itemType;
|
|
@@ -4560,7 +4560,7 @@ const Ma = /* @__PURE__ */ ue({
|
|
|
4560
4560
|
content: s.placeholder,
|
|
4561
4561
|
placement: "bottom"
|
|
4562
4562
|
}, {
|
|
4563
|
-
default:
|
|
4563
|
+
default: k(() => {
|
|
4564
4564
|
var N, j, E, S, L;
|
|
4565
4565
|
return [
|
|
4566
4566
|
((N = s.formItem) == null ? void 0 : N.itemType) === "date_selector" || ((j = s.formItem) == null ? void 0 : j.itemType) === "date_time_selector" ? (v(), $(f, {
|
|
@@ -4667,7 +4667,7 @@ const Ma = /* @__PURE__ */ ue({
|
|
|
4667
4667
|
content: y.placeholder,
|
|
4668
4668
|
placement: "bottom"
|
|
4669
4669
|
}, {
|
|
4670
|
-
default:
|
|
4670
|
+
default: k(() => [
|
|
4671
4671
|
F(j, {
|
|
4672
4672
|
modelValue: p.value,
|
|
4673
4673
|
"onUpdate:modelValue": N[0] || (N[0] = (S) => p.value = S),
|
|
@@ -4759,7 +4759,7 @@ const Ma = /* @__PURE__ */ ue({
|
|
|
4759
4759
|
content: y.placeholder,
|
|
4760
4760
|
placement: "bottom"
|
|
4761
4761
|
}, {
|
|
4762
|
-
default:
|
|
4762
|
+
default: k(() => [
|
|
4763
4763
|
F(j, {
|
|
4764
4764
|
modelValue: p.value,
|
|
4765
4765
|
"onUpdate:modelValue": N[0] || (N[0] = (S) => p.value = S),
|
|
@@ -4791,7 +4791,7 @@ const Ma = /* @__PURE__ */ ue({
|
|
|
4791
4791
|
},
|
|
4792
4792
|
emits: ["update:modelValue", "blur:modelValue", "update:fileName"],
|
|
4793
4793
|
setup(n, { emit: e }) {
|
|
4794
|
-
const { T: t } =
|
|
4794
|
+
const { T: t } = Ce(), o = n, a = e, l = Y([]);
|
|
4795
4795
|
De(
|
|
4796
4796
|
() => o.modelValue,
|
|
4797
4797
|
() => {
|
|
@@ -4891,14 +4891,14 @@ var Na = { exports: {} };
|
|
|
4891
4891
|
return m ? j(m) ? { negative: !0, format: "" + S(m) + w } : { negative: !1, format: "" + m + w } : { negative: !1, format: "" };
|
|
4892
4892
|
}, _ = function() {
|
|
4893
4893
|
function m(M, U, P) {
|
|
4894
|
-
var
|
|
4894
|
+
var C = this;
|
|
4895
4895
|
if (this.$d = {}, this.$l = P, M === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), U)
|
|
4896
4896
|
return y(M * f[N(U)], this);
|
|
4897
4897
|
if (typeof M == "number")
|
|
4898
4898
|
return this.$ms = M, this.parseFromMilliseconds(), this;
|
|
4899
4899
|
if (typeof M == "object")
|
|
4900
4900
|
return Object.keys(M).forEach(function(A) {
|
|
4901
|
-
|
|
4901
|
+
C.$d[N(A)] = M[A];
|
|
4902
4902
|
}), this.calMilliseconds(), this;
|
|
4903
4903
|
if (typeof M == "string") {
|
|
4904
4904
|
var x = M.match(c);
|
|
@@ -4923,16 +4923,16 @@ var Na = { exports: {} };
|
|
|
4923
4923
|
}, w.toISOString = function() {
|
|
4924
4924
|
var M = L(this.$d.years, "Y"), U = L(this.$d.months, "M"), P = +this.$d.days || 0;
|
|
4925
4925
|
this.$d.weeks && (P += 7 * this.$d.weeks);
|
|
4926
|
-
var
|
|
4926
|
+
var C = L(P, "D"), x = L(this.$d.hours, "H"), D = L(this.$d.minutes, "M"), A = this.$d.seconds || 0;
|
|
4927
4927
|
this.$d.milliseconds && (A += this.$d.milliseconds / 1e3, A = Math.round(1e3 * A) / 1e3);
|
|
4928
|
-
var T = L(A, "S"), B = M.negative || U.negative ||
|
|
4928
|
+
var T = L(A, "S"), B = M.negative || U.negative || C.negative || x.negative || D.negative || T.negative, g = x.format || D.format || T.format ? "T" : "", b = (B ? "-" : "") + "P" + M.format + U.format + C.format + g + x.format + D.format + T.format;
|
|
4929
4929
|
return b === "P" || b === "-P" ? "P0D" : b;
|
|
4930
4930
|
}, w.toJSON = function() {
|
|
4931
4931
|
return this.toISOString();
|
|
4932
4932
|
}, w.format = function(M) {
|
|
4933
4933
|
var U = M || "YYYY-MM-DDTHH:mm:ss", P = { Y: this.$d.years, YY: o.s(this.$d.years, 2, "0"), YYYY: o.s(this.$d.years, 4, "0"), M: this.$d.months, MM: o.s(this.$d.months, 2, "0"), D: this.$d.days, DD: o.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: o.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: o.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: o.s(this.$d.seconds, 2, "0"), SSS: o.s(this.$d.milliseconds, 3, "0") };
|
|
4934
|
-
return U.replace(i, function(
|
|
4935
|
-
return x || String(P[
|
|
4934
|
+
return U.replace(i, function(C, x) {
|
|
4935
|
+
return x || String(P[C]);
|
|
4936
4936
|
});
|
|
4937
4937
|
}, w.as = function(M) {
|
|
4938
4938
|
return this.$ms / f[N(M)];
|
|
@@ -4940,8 +4940,8 @@ var Na = { exports: {} };
|
|
|
4940
4940
|
var U = this.$ms, P = N(M);
|
|
4941
4941
|
return P === "milliseconds" ? U %= 1e3 : U = P === "weeks" ? E(U / f[P]) : this.$d[P], U || 0;
|
|
4942
4942
|
}, w.add = function(M, U, P) {
|
|
4943
|
-
var
|
|
4944
|
-
return
|
|
4943
|
+
var C;
|
|
4944
|
+
return C = U ? M * f[N(U)] : p(M) ? M.$ms : y(M, this).$ms, y(this.$ms + C * (P ? -1 : 1), this);
|
|
4945
4945
|
}, w.subtract = function(M, U) {
|
|
4946
4946
|
return this.add(M, U, !0);
|
|
4947
4947
|
}, w.locale = function(M) {
|
|
@@ -4990,21 +4990,21 @@ var Na = { exports: {} };
|
|
|
4990
4990
|
return m.add(w.years() * M, "y").add(w.months() * M, "M").add(w.days() * M, "d").add(w.hours() * M, "h").add(w.minutes() * M, "m").add(w.seconds() * M, "s").add(w.milliseconds() * M, "ms");
|
|
4991
4991
|
};
|
|
4992
4992
|
return function(m, w, M) {
|
|
4993
|
-
t = M, o = M().$utils(), M.duration = function(
|
|
4993
|
+
t = M, o = M().$utils(), M.duration = function(C, x) {
|
|
4994
4994
|
var D = M.locale();
|
|
4995
|
-
return y(
|
|
4995
|
+
return y(C, { $l: D }, x);
|
|
4996
4996
|
}, M.isDuration = p;
|
|
4997
4997
|
var U = w.prototype.add, P = w.prototype.subtract;
|
|
4998
|
-
w.prototype.add = function(
|
|
4999
|
-
return p(
|
|
5000
|
-
}, w.prototype.subtract = function(
|
|
5001
|
-
return p(
|
|
4998
|
+
w.prototype.add = function(C, x) {
|
|
4999
|
+
return p(C) ? I(this, C, 1) : U.bind(this)(C, x);
|
|
5000
|
+
}, w.prototype.subtract = function(C, x) {
|
|
5001
|
+
return p(C) ? I(this, C, -1) : P.bind(this)(C, x);
|
|
5002
5002
|
};
|
|
5003
5003
|
};
|
|
5004
5004
|
});
|
|
5005
5005
|
})(Na);
|
|
5006
5006
|
var ws = Na.exports;
|
|
5007
|
-
const Ts = /* @__PURE__ */ bs(ws),
|
|
5007
|
+
const Ts = /* @__PURE__ */ bs(ws), ks = /* @__PURE__ */ ue({
|
|
5008
5008
|
__name: "GFormSelectDelay",
|
|
5009
5009
|
props: {
|
|
5010
5010
|
modelValue: {},
|
|
@@ -5071,7 +5071,7 @@ const Ts = /* @__PURE__ */ bs(ws), Cs = /* @__PURE__ */ ue({
|
|
|
5071
5071
|
content: s.placeholder,
|
|
5072
5072
|
placement: "bottom"
|
|
5073
5073
|
}, {
|
|
5074
|
-
default:
|
|
5074
|
+
default: k(() => {
|
|
5075
5075
|
var y;
|
|
5076
5076
|
return [
|
|
5077
5077
|
F(f, {
|
|
@@ -5092,7 +5092,7 @@ const Ts = /* @__PURE__ */ bs(ws), Cs = /* @__PURE__ */ ue({
|
|
|
5092
5092
|
};
|
|
5093
5093
|
}
|
|
5094
5094
|
});
|
|
5095
|
-
const
|
|
5095
|
+
const Cs = /* @__PURE__ */ ue({
|
|
5096
5096
|
__name: "GFormEditor",
|
|
5097
5097
|
props: {
|
|
5098
5098
|
modelValue: {},
|
|
@@ -5190,7 +5190,7 @@ const ks = /* @__PURE__ */ ue({
|
|
|
5190
5190
|
},
|
|
5191
5191
|
emits: ["update:modelValue", "blur:modelValue"],
|
|
5192
5192
|
setup(n, { emit: e }) {
|
|
5193
|
-
const { T: t } =
|
|
5193
|
+
const { T: t } = Ce(), o = n, a = V(() => {
|
|
5194
5194
|
var f;
|
|
5195
5195
|
return (f = o.formItem) == null ? void 0 : f.itemType;
|
|
5196
5196
|
}), l = Y(o.modelValue);
|
|
@@ -5234,13 +5234,13 @@ const ks = /* @__PURE__ */ ue({
|
|
|
5234
5234
|
}), (f, p) => {
|
|
5235
5235
|
const y = Q("t-button"), N = Q("t-input"), j = Q("t-input-group"), E = Q("t-space");
|
|
5236
5236
|
return v(), $(E, null, {
|
|
5237
|
-
default:
|
|
5237
|
+
default: k(() => [
|
|
5238
5238
|
l.value.length == 0 ? (v(), $(y, {
|
|
5239
5239
|
key: 0,
|
|
5240
5240
|
onClick: i,
|
|
5241
5241
|
variant: "outline"
|
|
5242
5242
|
}, {
|
|
5243
|
-
default:
|
|
5243
|
+
default: k(() => [
|
|
5244
5244
|
re(te(`${h(t).t("添加")}${f.formItem.name}`), 1)
|
|
5245
5245
|
]),
|
|
5246
5246
|
_: 1
|
|
@@ -5248,9 +5248,9 @@ const ks = /* @__PURE__ */ ue({
|
|
|
5248
5248
|
key: 1,
|
|
5249
5249
|
direction: "vertical"
|
|
5250
5250
|
}, {
|
|
5251
|
-
default:
|
|
5251
|
+
default: k(() => [
|
|
5252
5252
|
(v(!0), W(de, null, Se(l.value, (S, L) => (v(), $(j, { key: L }, {
|
|
5253
|
-
default:
|
|
5253
|
+
default: k(() => [
|
|
5254
5254
|
F(N, {
|
|
5255
5255
|
style: { width: "200px" },
|
|
5256
5256
|
value: S,
|
|
@@ -5264,7 +5264,7 @@ const ks = /* @__PURE__ */ ue({
|
|
|
5264
5264
|
theme: "default",
|
|
5265
5265
|
onClick: (_) => s(L)
|
|
5266
5266
|
}, {
|
|
5267
|
-
default:
|
|
5267
|
+
default: k(() => [
|
|
5268
5268
|
re("- ")
|
|
5269
5269
|
]),
|
|
5270
5270
|
_: 2
|
|
@@ -5275,7 +5275,7 @@ const ks = /* @__PURE__ */ ue({
|
|
|
5275
5275
|
theme: "default",
|
|
5276
5276
|
onClick: i
|
|
5277
5277
|
}, {
|
|
5278
|
-
default:
|
|
5278
|
+
default: k(() => [
|
|
5279
5279
|
re("+ ")
|
|
5280
5280
|
]),
|
|
5281
5281
|
_: 1
|
|
@@ -5332,7 +5332,7 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5332
5332
|
},
|
|
5333
5333
|
emits: ["after-update-value"],
|
|
5334
5334
|
setup(n, { expose: e, emit: t }) {
|
|
5335
|
-
const { T: o, localLanguage: a } =
|
|
5335
|
+
const { T: o, localLanguage: a } = Ce(), l = n, r = V(() => l.formModel), { handleItemShowIf: u, handleItemDisableIf: i } = so({ formModel: r }), d = t;
|
|
5336
5336
|
function s(m, w) {
|
|
5337
5337
|
d("after-update-value", m, w);
|
|
5338
5338
|
}
|
|
@@ -5395,7 +5395,7 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5395
5395
|
key: 0,
|
|
5396
5396
|
align: "left"
|
|
5397
5397
|
}, {
|
|
5398
|
-
default:
|
|
5398
|
+
default: k(() => [
|
|
5399
5399
|
re(te(m.formItem.name), 1)
|
|
5400
5400
|
]),
|
|
5401
5401
|
_: 1
|
|
@@ -5407,7 +5407,7 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5407
5407
|
name: m.formItem.inputType != "RE_PASSWORD" ? m.formItem.keyName : "rePassword",
|
|
5408
5408
|
class: Z([`${m.isLabelNameShow ? "" : `${h(Eo)}-label--hidden`}`])
|
|
5409
5409
|
}, {
|
|
5410
|
-
label:
|
|
5410
|
+
label: k(() => [
|
|
5411
5411
|
F(U, {
|
|
5412
5412
|
trigger: "hover",
|
|
5413
5413
|
theme: "light",
|
|
@@ -5416,7 +5416,7 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5416
5416
|
content: S.value,
|
|
5417
5417
|
placement: "mouse"
|
|
5418
5418
|
}, {
|
|
5419
|
-
default:
|
|
5419
|
+
default: k(() => [
|
|
5420
5420
|
ne("span", {
|
|
5421
5421
|
ref_key: "formItemLabel",
|
|
5422
5422
|
ref: L,
|
|
@@ -5432,8 +5432,8 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5432
5432
|
_: 1
|
|
5433
5433
|
}, 8, ["disabled", "content"])
|
|
5434
5434
|
]),
|
|
5435
|
-
default:
|
|
5436
|
-
var
|
|
5435
|
+
default: k(() => {
|
|
5436
|
+
var C, x, D, A;
|
|
5437
5437
|
return [
|
|
5438
5438
|
m.formItem.itemType === "label" ? (v(), $(Ta, {
|
|
5439
5439
|
key: 0,
|
|
@@ -5443,7 +5443,7 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5443
5443
|
}, null, 8, ["formItem", "formModel", "modelValue"])) : X("", !0),
|
|
5444
5444
|
m.formItem.itemType === "text_input" && m.formItem.inputType != "RE_PASSWORD" ? (v(), $(Zn, Ee({ key: 1 }, m.componentProps, {
|
|
5445
5445
|
formItem: m.formItem,
|
|
5446
|
-
inputType: (x = (
|
|
5446
|
+
inputType: (x = (C = m.formItem) == null ? void 0 : C.inputType) == null ? void 0 : x.toLowerCase(),
|
|
5447
5447
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5448
5448
|
placeholder: E.value,
|
|
5449
5449
|
disabled: c.value,
|
|
@@ -5457,12 +5457,12 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5457
5457
|
disabled: c.value,
|
|
5458
5458
|
"onUpdate:modelValue": w[1] || (w[1] = (T) => s("rePassword", T))
|
|
5459
5459
|
}), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : X("", !0),
|
|
5460
|
-
m.formItem.itemType === "check_box" ? (v(), $(
|
|
5460
|
+
m.formItem.itemType === "check_box" ? (v(), $(ka, Ee({ key: 3 }, m.componentProps, {
|
|
5461
5461
|
modelValue: h(fe)(r.value, m.formItem.keyName, !1),
|
|
5462
5462
|
disabled: c.value,
|
|
5463
5463
|
"onUpdate:modelValue": w[2] || (w[2] = (T) => s(m.formItem.keyName, T))
|
|
5464
5464
|
}), null, 16, ["modelValue", "disabled"])) : X("", !0),
|
|
5465
|
-
m.formItem.itemType === "switch" ? (v(), $(
|
|
5465
|
+
m.formItem.itemType === "switch" ? (v(), $(Ca, Ee({ key: 4 }, m.componentProps, {
|
|
5466
5466
|
formItem: m.formItem,
|
|
5467
5467
|
viewName: m.viewName,
|
|
5468
5468
|
modelValue: h(fe)(r.value, m.formItem.keyName, !1),
|
|
@@ -5494,7 +5494,7 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5494
5494
|
placeholder: E.value,
|
|
5495
5495
|
"onUpdate:modelValue": w[6] || (w[6] = (T) => s(m.formItem.keyName, T))
|
|
5496
5496
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : X("", !0),
|
|
5497
|
-
m.formItem.itemType == "delay_selector" ? (v(), $(
|
|
5497
|
+
m.formItem.itemType == "delay_selector" ? (v(), $(ks, Ee({ key: 8 }, m.componentProps, {
|
|
5498
5498
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5499
5499
|
formItem: m.formItem,
|
|
5500
5500
|
viewName: m.viewName,
|
|
@@ -5537,7 +5537,7 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5537
5537
|
placeholder: E.value,
|
|
5538
5538
|
"onUpdate:modelValue": w[12] || (w[12] = (T) => s(m.formItem.keyName, T))
|
|
5539
5539
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : X("", !0),
|
|
5540
|
-
m.formItem.itemType === "rich_text" ? (v(), $(
|
|
5540
|
+
m.formItem.itemType === "rich_text" ? (v(), $(Cs, Ee({ key: 13 }, m.componentProps, {
|
|
5541
5541
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5542
5542
|
formItem: m.formItem,
|
|
5543
5543
|
viewName: m.viewName,
|
|
@@ -5554,7 +5554,7 @@ const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
|
5554
5554
|
};
|
|
5555
5555
|
}
|
|
5556
5556
|
});
|
|
5557
|
-
const
|
|
5557
|
+
const kn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id"], Ea = /* @__PURE__ */ ue({
|
|
5558
5558
|
__name: "GFormBlock",
|
|
5559
5559
|
props: {
|
|
5560
5560
|
name: {},
|
|
@@ -5601,7 +5601,7 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5601
5601
|
},
|
|
5602
5602
|
emits: ["confirm-form", "confirm-and-close", "close-dialog"],
|
|
5603
5603
|
setup(n, { expose: e, emit: t }) {
|
|
5604
|
-
const { T: o } =
|
|
5604
|
+
const { T: o } = Ce(), a = n, l = V(() => "280px"), r = V(() => {
|
|
5605
5605
|
var P;
|
|
5606
5606
|
return (P = a.board) == null ? void 0 : P.formItems;
|
|
5607
5607
|
}), u = Y({}), { handleItemShowIf: i } = so({ formModel: u });
|
|
@@ -5621,8 +5621,8 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5621
5621
|
}), c = Y({});
|
|
5622
5622
|
async function f() {
|
|
5623
5623
|
let P = [];
|
|
5624
|
-
return p.value && (P = p == null ? void 0 : p.value.map((
|
|
5625
|
-
const { formItem: x } =
|
|
5624
|
+
return p.value && (P = p == null ? void 0 : p.value.map((C) => {
|
|
5625
|
+
const { formItem: x } = C, D = [];
|
|
5626
5626
|
return x.required && x.keyName && D.push({
|
|
5627
5627
|
validator: () => {
|
|
5628
5628
|
const A = fe(u.value, x.keyName);
|
|
@@ -5647,32 +5647,32 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5647
5647
|
keyName: x.inputType !== "RE_PASSWORD" ? x.keyName : "rePassword",
|
|
5648
5648
|
rules: D
|
|
5649
5649
|
};
|
|
5650
|
-
})), P == null ? void 0 : P.reduce((
|
|
5650
|
+
})), P == null ? void 0 : P.reduce((C, x) => (x.rules.length && (C[x.keyName] = x.rules), C), {});
|
|
5651
5651
|
}
|
|
5652
5652
|
const p = Y(), y = Y();
|
|
5653
|
-
function N(P,
|
|
5653
|
+
function N(P, C, x) {
|
|
5654
5654
|
p.value && p.value.forEach((D) => {
|
|
5655
|
-
D.formItemId &&
|
|
5655
|
+
D.formItemId && C.includes(D.formItemId) && D.$el.classList.contains(P) && D.setBlockShowFlag(x);
|
|
5656
5656
|
});
|
|
5657
5657
|
}
|
|
5658
5658
|
Ue(async () => {
|
|
5659
5659
|
c.value = await f();
|
|
5660
5660
|
});
|
|
5661
|
-
function j(P,
|
|
5662
|
-
je(u.value, P,
|
|
5661
|
+
function j(P, C) {
|
|
5662
|
+
je(u.value, P, C), s.value && E([P]);
|
|
5663
5663
|
}
|
|
5664
5664
|
async function E(P = []) {
|
|
5665
5665
|
var D;
|
|
5666
|
-
const
|
|
5667
|
-
return (P.length ? P.some((A) =>
|
|
5668
|
-
fields: P.length ? P :
|
|
5666
|
+
const C = S();
|
|
5667
|
+
return (P.length ? P.some((A) => C.includes(A)) : !0) ? (D = s.value) == null ? void 0 : D.validate({
|
|
5668
|
+
fields: P.length ? P : C
|
|
5669
5669
|
}) : Promise.resolve({});
|
|
5670
5670
|
}
|
|
5671
5671
|
const S = () => {
|
|
5672
5672
|
var P;
|
|
5673
|
-
return (P = p == null ? void 0 : p.value) == null ? void 0 : P.flatMap((
|
|
5674
|
-
const { formItem: x } =
|
|
5675
|
-
return (x.keyName ?? "") != "" && !
|
|
5673
|
+
return (P = p == null ? void 0 : p.value) == null ? void 0 : P.flatMap((C) => {
|
|
5674
|
+
const { formItem: x } = C;
|
|
5675
|
+
return (x.keyName ?? "") != "" && !C.getDisableFlag() ? x.inputType !== "RE_PASSWORD" ? x.keyName : "rePassword" : [];
|
|
5676
5676
|
});
|
|
5677
5677
|
}, L = V(() => {
|
|
5678
5678
|
var P;
|
|
@@ -5682,36 +5682,36 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5682
5682
|
return (P = a.board) == null ? void 0 : P.cancelButton;
|
|
5683
5683
|
}), I = t;
|
|
5684
5684
|
function m(P) {
|
|
5685
|
-
for (const
|
|
5686
|
-
const x = P[
|
|
5685
|
+
for (const C in P) {
|
|
5686
|
+
const x = P[C].find((D) => D.result === !1);
|
|
5687
5687
|
if (x)
|
|
5688
5688
|
return { ...x };
|
|
5689
5689
|
}
|
|
5690
5690
|
return null;
|
|
5691
5691
|
}
|
|
5692
5692
|
function w(P) {
|
|
5693
|
-
let
|
|
5694
|
-
const x = Object.keys(
|
|
5693
|
+
let C = _n(P);
|
|
5694
|
+
const x = Object.keys(C);
|
|
5695
5695
|
if (r.value && x.length) {
|
|
5696
5696
|
const D = r.value.filter((T) => T.itemType == "file" && T.fileUploadType == "path").map((T) => T.keyName);
|
|
5697
5697
|
x.length && x.forEach((T) => {
|
|
5698
|
-
D.includes(T) &&
|
|
5698
|
+
D.includes(T) && C[T] && kt(C[T]) && (C[T] = C[T].filter(
|
|
5699
5699
|
(B) => B && B.url
|
|
5700
5700
|
));
|
|
5701
5701
|
});
|
|
5702
5702
|
const A = r.value.filter((T) => T.itemType == "hidden");
|
|
5703
5703
|
A.length && A.forEach((T) => {
|
|
5704
|
-
T.keyName && T.valueName && (
|
|
5704
|
+
T.keyName && T.valueName && (C[T.keyName] = a.formData[T.valueName]);
|
|
5705
5705
|
});
|
|
5706
5706
|
}
|
|
5707
|
-
return
|
|
5707
|
+
return C;
|
|
5708
5708
|
}
|
|
5709
5709
|
function M(P) {
|
|
5710
5710
|
switch (P.action) {
|
|
5711
5711
|
case "CONFIRM": {
|
|
5712
|
-
E().then((
|
|
5713
|
-
if (Object.keys(
|
|
5714
|
-
const x = m(
|
|
5712
|
+
E().then((C) => {
|
|
5713
|
+
if (Object.keys(C).length) {
|
|
5714
|
+
const x = m(C);
|
|
5715
5715
|
he.warning(x == null ? void 0 : x.message);
|
|
5716
5716
|
} else {
|
|
5717
5717
|
const x = w(u.value);
|
|
@@ -5721,9 +5721,9 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5721
5721
|
break;
|
|
5722
5722
|
}
|
|
5723
5723
|
case "CONFIRM_AND_CLOSE": {
|
|
5724
|
-
E().then((
|
|
5725
|
-
if (Object.keys(
|
|
5726
|
-
const x = m(
|
|
5724
|
+
E().then((C) => {
|
|
5725
|
+
if (Object.keys(C).length) {
|
|
5726
|
+
const x = m(C);
|
|
5727
5727
|
he.warning(x == null ? void 0 : x.message);
|
|
5728
5728
|
} else {
|
|
5729
5729
|
const x = w(u.value);
|
|
@@ -5745,7 +5745,7 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5745
5745
|
const U = Y(!1);
|
|
5746
5746
|
return e({
|
|
5747
5747
|
formOkButtonLoading: U
|
|
5748
|
-
}), (P,
|
|
5748
|
+
}), (P, C) => {
|
|
5749
5749
|
const x = Q("t-button");
|
|
5750
5750
|
return v(), $(h(ro), {
|
|
5751
5751
|
ref_key: "commonFormRef",
|
|
@@ -5757,7 +5757,7 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5757
5757
|
labelWidth: l.value
|
|
5758
5758
|
}
|
|
5759
5759
|
}, {
|
|
5760
|
-
body:
|
|
5760
|
+
body: k(() => [
|
|
5761
5761
|
(v(!0), W(de, null, Se(r.value, (D) => (v(), W(de, {
|
|
5762
5762
|
key: `${D.name}_${D.keyName}`
|
|
5763
5763
|
}, [
|
|
@@ -5770,7 +5770,7 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5770
5770
|
blockType: D.itemType,
|
|
5771
5771
|
showIf: h(i)(D.showIf),
|
|
5772
5772
|
onBlockShowIfChange: N
|
|
5773
|
-
}, null, 8, ["name", "blockType", "showIf"])) : (v(), $(
|
|
5773
|
+
}, null, 8, ["name", "blockType", "showIf"])) : (v(), $(kn, {
|
|
5774
5774
|
key: 1,
|
|
5775
5775
|
ref_for: !0,
|
|
5776
5776
|
ref_key: "formItemRef",
|
|
@@ -5782,15 +5782,15 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5782
5782
|
}, null, 8, ["formModel", "formItem", "viewName"]))
|
|
5783
5783
|
], 64))), 128))
|
|
5784
5784
|
]),
|
|
5785
|
-
footer:
|
|
5785
|
+
footer: k(() => {
|
|
5786
5786
|
var D;
|
|
5787
5787
|
return [
|
|
5788
5788
|
_.value && _.value.name != "" && _.value.action !== "NONE" ? (v(), $(x, {
|
|
5789
5789
|
key: 0,
|
|
5790
5790
|
theme: "default",
|
|
5791
|
-
onClick:
|
|
5791
|
+
onClick: C[0] || (C[0] = (A) => _.value && M(_.value))
|
|
5792
5792
|
}, {
|
|
5793
|
-
default:
|
|
5793
|
+
default: k(() => {
|
|
5794
5794
|
var A;
|
|
5795
5795
|
return [
|
|
5796
5796
|
re(te((A = _.value) == null ? void 0 : A.name), 1)
|
|
@@ -5801,10 +5801,10 @@ const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id
|
|
|
5801
5801
|
L.value && L.value.name != "" && ((D = L.value) == null ? void 0 : D.action) !== "NONE" ? (v(), $(x, {
|
|
5802
5802
|
key: 1,
|
|
5803
5803
|
theme: "primary",
|
|
5804
|
-
onClick:
|
|
5804
|
+
onClick: C[1] || (C[1] = (A) => L.value && M(L.value)),
|
|
5805
5805
|
loading: U.value
|
|
5806
5806
|
}, {
|
|
5807
|
-
default:
|
|
5807
|
+
default: k(() => {
|
|
5808
5808
|
var A;
|
|
5809
5809
|
return [
|
|
5810
5810
|
U.value ? (v(), W(de, { key: 1 }, [
|
|
@@ -5833,7 +5833,7 @@ const Ds = /* @__PURE__ */ ue({
|
|
|
5833
5833
|
},
|
|
5834
5834
|
emits: ["close-dialog"],
|
|
5835
5835
|
setup(n, { emit: e }) {
|
|
5836
|
-
const t = qo(() => Promise.resolve().then(() => Ga)), { T: o } =
|
|
5836
|
+
const t = qo(() => Promise.resolve().then(() => Ga)), { T: o } = Ce(), a = st(), l = n, r = V(() => {
|
|
5837
5837
|
var L, _, I;
|
|
5838
5838
|
return (L = l.board) != null && L.data ? (_ = l.board) == null ? void 0 : _.data.dataId : (I = l.board) != null && I.tableData ? l.board.tableData.dataId : null;
|
|
5839
5839
|
}), u = V(() => {
|
|
@@ -5905,7 +5905,7 @@ const Ds = /* @__PURE__ */ ue({
|
|
|
5905
5905
|
loading: E.value,
|
|
5906
5906
|
size: "medium"
|
|
5907
5907
|
}, {
|
|
5908
|
-
default:
|
|
5908
|
+
default: k(() => [
|
|
5909
5909
|
F(Ss, {
|
|
5910
5910
|
ref_key: "gFormRef",
|
|
5911
5911
|
ref: f,
|
|
@@ -5933,7 +5933,7 @@ const Ds = /* @__PURE__ */ ue({
|
|
|
5933
5933
|
},
|
|
5934
5934
|
emits: ["update:isDialogVisible", "close-dialog"],
|
|
5935
5935
|
setup(n, { emit: e }) {
|
|
5936
|
-
const { T: t } =
|
|
5936
|
+
const { T: t } = Ce();
|
|
5937
5937
|
qo(() => Promise.resolve().then(() => Ga));
|
|
5938
5938
|
const o = n, a = e, l = lo(), r = V(() => o.dialogViewInfo.view), u = V(() => o.dialogViewInfo.name), i = V(() => {
|
|
5939
5939
|
var S;
|
|
@@ -5984,13 +5984,13 @@ const Ds = /* @__PURE__ */ ue({
|
|
|
5984
5984
|
destroyOnClose: !0
|
|
5985
5985
|
}
|
|
5986
5986
|
}, {
|
|
5987
|
-
body:
|
|
5987
|
+
body: k(() => [
|
|
5988
5988
|
F(_, {
|
|
5989
5989
|
loading: S.dialogType === "iframe" && j.value,
|
|
5990
5990
|
size: "medium",
|
|
5991
5991
|
text: `${h(t).t("加载中")}`
|
|
5992
5992
|
}, {
|
|
5993
|
-
default:
|
|
5993
|
+
default: k(() => [
|
|
5994
5994
|
S.dialogType === "view" ? (v(), $(Ds, {
|
|
5995
5995
|
key: 0,
|
|
5996
5996
|
viewName: r.value,
|
|
@@ -6026,7 +6026,7 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6026
6026
|
},
|
|
6027
6027
|
emits: ["confirm-form", "confirm-and-close", "close-dialog"],
|
|
6028
6028
|
setup(n, { expose: e, emit: t }) {
|
|
6029
|
-
const { T: o } =
|
|
6029
|
+
const { T: o } = Ce(), a = Ln(), l = Ct(), r = ze(ca, ""), u = n, i = V(() => "280px"), d = V(() => {
|
|
6030
6030
|
var B;
|
|
6031
6031
|
return (B = u.board) == null ? void 0 : B.formItems;
|
|
6032
6032
|
}), s = Y({}), { handleItemShowIf: c } = so({ formModel: s }), f = st();
|
|
@@ -6117,7 +6117,7 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6117
6117
|
}), P = V(() => {
|
|
6118
6118
|
var B;
|
|
6119
6119
|
return (B = u.board) == null ? void 0 : B.cancelButton;
|
|
6120
|
-
}),
|
|
6120
|
+
}), C = t;
|
|
6121
6121
|
function x(B) {
|
|
6122
6122
|
for (const g in B) {
|
|
6123
6123
|
const b = B[g].find((z) => z.result === !1);
|
|
@@ -6132,7 +6132,7 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6132
6132
|
if (d.value && b.length) {
|
|
6133
6133
|
const z = d.value.filter((H) => H.itemType == "file" && H.fileUploadType == "path").map((H) => H.keyName);
|
|
6134
6134
|
b.length && b.forEach((H) => {
|
|
6135
|
-
z.includes(H) && g[H] &&
|
|
6135
|
+
z.includes(H) && g[H] && kt(g[H]) && (g[H] = g[H].filter(
|
|
6136
6136
|
(ae) => ae && ae.url
|
|
6137
6137
|
));
|
|
6138
6138
|
});
|
|
@@ -6152,7 +6152,7 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6152
6152
|
he.warning(b == null ? void 0 : b.message);
|
|
6153
6153
|
} else {
|
|
6154
6154
|
const b = D(s.value);
|
|
6155
|
-
|
|
6155
|
+
C("confirm-form", b, B.buttonId);
|
|
6156
6156
|
}
|
|
6157
6157
|
});
|
|
6158
6158
|
break;
|
|
@@ -6164,13 +6164,13 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6164
6164
|
he.warning(b == null ? void 0 : b.message);
|
|
6165
6165
|
} else {
|
|
6166
6166
|
const b = D(s.value);
|
|
6167
|
-
|
|
6167
|
+
C("confirm-and-close", b, B.buttonId);
|
|
6168
6168
|
}
|
|
6169
6169
|
});
|
|
6170
6170
|
break;
|
|
6171
6171
|
}
|
|
6172
6172
|
case "CLOSE_DIALOG": {
|
|
6173
|
-
|
|
6173
|
+
C("close-dialog");
|
|
6174
6174
|
break;
|
|
6175
6175
|
}
|
|
6176
6176
|
default: {
|
|
@@ -6195,7 +6195,7 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6195
6195
|
size: "8px",
|
|
6196
6196
|
class: "buttons"
|
|
6197
6197
|
}, {
|
|
6198
|
-
default:
|
|
6198
|
+
default: k(() => {
|
|
6199
6199
|
var G;
|
|
6200
6200
|
return [
|
|
6201
6201
|
P.value && P.value.name != "" && P.value.action !== "NONE" ? (v(), $(b, {
|
|
@@ -6203,7 +6203,7 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6203
6203
|
theme: "default",
|
|
6204
6204
|
onClick: g[0] || (g[0] = (H) => P.value && A(P.value))
|
|
6205
6205
|
}, {
|
|
6206
|
-
default:
|
|
6206
|
+
default: k(() => {
|
|
6207
6207
|
var H;
|
|
6208
6208
|
return [
|
|
6209
6209
|
re(te((H = P.value) == null ? void 0 : H.name), 1)
|
|
@@ -6217,7 +6217,7 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6217
6217
|
onClick: g[1] || (g[1] = (H) => U.value && A(U.value)),
|
|
6218
6218
|
loading: T.value
|
|
6219
6219
|
}, {
|
|
6220
|
-
default:
|
|
6220
|
+
default: k(() => {
|
|
6221
6221
|
var H;
|
|
6222
6222
|
return [
|
|
6223
6223
|
T.value ? (v(), W(de, { key: 1 }, [
|
|
@@ -6244,7 +6244,7 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6244
6244
|
labelWidth: i.value
|
|
6245
6245
|
}
|
|
6246
6246
|
}, {
|
|
6247
|
-
body:
|
|
6247
|
+
body: k(() => [
|
|
6248
6248
|
(v(!0), W(de, null, Se(d.value, (G) => (v(), W(de, {
|
|
6249
6249
|
key: `${G.name}_${G.keyName}`
|
|
6250
6250
|
}, [
|
|
@@ -6257,7 +6257,7 @@ const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs
|
|
|
6257
6257
|
blockType: G.itemType,
|
|
6258
6258
|
showIf: h(c)(G.showIf),
|
|
6259
6259
|
onBlockShowIfChange: I
|
|
6260
|
-
}, null, 8, ["name", "blockType", "showIf"])) : (v(), $(
|
|
6260
|
+
}, null, 8, ["name", "blockType", "showIf"])) : (v(), $(kn, {
|
|
6261
6261
|
key: 1,
|
|
6262
6262
|
ref_for: !0,
|
|
6263
6263
|
ref_key: "formItemRef",
|
|
@@ -6282,7 +6282,7 @@ const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(x
|
|
|
6282
6282
|
viewName: {}
|
|
6283
6283
|
},
|
|
6284
6284
|
setup(n) {
|
|
6285
|
-
const { T: e } =
|
|
6285
|
+
const { T: e } = Ce(), t = n;
|
|
6286
6286
|
function o(i) {
|
|
6287
6287
|
var s, c;
|
|
6288
6288
|
const d = _n(i);
|
|
@@ -6360,7 +6360,7 @@ const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(x
|
|
|
6360
6360
|
}) {
|
|
6361
6361
|
const {
|
|
6362
6362
|
T: t
|
|
6363
|
-
} =
|
|
6363
|
+
} = Ce(), o = n, a = e, l = V(() => {
|
|
6364
6364
|
var _;
|
|
6365
6365
|
return ((_ = o.headerInfo) == null ? void 0 : _.buttons) || [];
|
|
6366
6366
|
});
|
|
@@ -6372,10 +6372,10 @@ const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(x
|
|
|
6372
6372
|
return (_ = o.headerInfo.searchBar) == null ? void 0 : _.filters;
|
|
6373
6373
|
}), i = V(() => {
|
|
6374
6374
|
var _;
|
|
6375
|
-
return
|
|
6375
|
+
return kt((_ = o.headerInfo.searchBar) == null ? void 0 : _.filters) ? o.headerInfo.searchBar.filters.filter((I) => I.itemType !== "text_input") : [];
|
|
6376
6376
|
}), d = V(() => {
|
|
6377
6377
|
var _;
|
|
6378
|
-
return
|
|
6378
|
+
return kt((_ = o.headerInfo.searchBar) == null ? void 0 : _.filters) ? o.headerInfo.searchBar.filters.filter((I) => I.itemType === "text_input") : [];
|
|
6379
6379
|
}), s = In({}, u.value), c = Y(Xe(s));
|
|
6380
6380
|
let f = Y(0);
|
|
6381
6381
|
function p(_, I) {
|
|
@@ -6389,7 +6389,7 @@ const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(x
|
|
|
6389
6389
|
return _.itemType == "selector" ? {
|
|
6390
6390
|
filterable: !0
|
|
6391
6391
|
} : _.itemType == "text_input" ? {
|
|
6392
|
-
suffixIcon: () => F(
|
|
6392
|
+
suffixIcon: () => F(Cl, null, null)
|
|
6393
6393
|
} : {};
|
|
6394
6394
|
}
|
|
6395
6395
|
function N() {
|
|
@@ -6410,14 +6410,14 @@ const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(x
|
|
|
6410
6410
|
const _ = L.getFormData(S.fullPath);
|
|
6411
6411
|
_ != null && _.formData && (c.value = {
|
|
6412
6412
|
..._.formData
|
|
6413
|
-
}, a("header-filter-change", c.value));
|
|
6413
|
+
}, Object.keys(c.value).length && a("header-filter-change", c.value));
|
|
6414
6414
|
}), (_, I) => {
|
|
6415
6415
|
const m = Q("t-button"), w = Q("t-space");
|
|
6416
6416
|
return v(), W("div", Us, [F(w, {
|
|
6417
6417
|
class: "g-header-button",
|
|
6418
6418
|
size: "8px"
|
|
6419
6419
|
}, {
|
|
6420
|
-
default:
|
|
6420
|
+
default: k(() => [(v(!0), W(de, null, Se(l.value, (M) => (v(), W(de, {
|
|
6421
6421
|
key: M.buttonId
|
|
6422
6422
|
}, [M.action == "UPLOAD_FILE" ? (v(), $(Os, {
|
|
6423
6423
|
key: 0,
|
|
@@ -6428,16 +6428,16 @@ const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(x
|
|
|
6428
6428
|
theme: "primary",
|
|
6429
6429
|
onClick: (U) => r(M)
|
|
6430
6430
|
}, {
|
|
6431
|
-
default:
|
|
6431
|
+
default: k(() => [re(te(M.name), 1)]),
|
|
6432
6432
|
_: 2
|
|
6433
6433
|
}, 1032, ["onClick"]))], 64))), 128))]),
|
|
6434
6434
|
_: 1
|
|
6435
6435
|
}), i.value.length || d.value.length ? (v(), W("div", Rs, [F(w, {
|
|
6436
6436
|
size: "8px"
|
|
6437
6437
|
}, {
|
|
6438
|
-
default:
|
|
6438
|
+
default: k(() => [(v(!0), W(de, null, Se(i.value, (M, U) => (v(), W("div", {
|
|
6439
6439
|
key: U
|
|
6440
|
-
}, [F(
|
|
6440
|
+
}, [F(kn, {
|
|
6441
6441
|
formItem: M,
|
|
6442
6442
|
formModel: c.value,
|
|
6443
6443
|
viewName: _.viewName,
|
|
@@ -6449,9 +6449,9 @@ const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(x
|
|
|
6449
6449
|
}), F(w, {
|
|
6450
6450
|
size: "8px"
|
|
6451
6451
|
}, {
|
|
6452
|
-
default:
|
|
6452
|
+
default: k(() => [(v(!0), W(de, null, Se(d.value, (M, U) => (v(), W("div", {
|
|
6453
6453
|
key: U
|
|
6454
|
-
}, [F(
|
|
6454
|
+
}, [F(kn, {
|
|
6455
6455
|
formItem: M,
|
|
6456
6456
|
formModel: c.value,
|
|
6457
6457
|
viewName: _.viewName,
|
|
@@ -6462,7 +6462,7 @@ const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(x
|
|
|
6462
6462
|
theme: "default",
|
|
6463
6463
|
onClick: N
|
|
6464
6464
|
}, {
|
|
6465
|
-
default:
|
|
6465
|
+
default: k(() => [re(te(h(t).t("重置")), 1)]),
|
|
6466
6466
|
_: 1
|
|
6467
6467
|
}), F(h(us), {
|
|
6468
6468
|
columnOptions: j.value,
|
|
@@ -6474,7 +6474,7 @@ const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(x
|
|
|
6474
6474
|
};
|
|
6475
6475
|
}
|
|
6476
6476
|
});
|
|
6477
|
-
const zs = /* @__PURE__ */ ht(js, [["__scopeId", "data-v-
|
|
6477
|
+
const zs = /* @__PURE__ */ ht(js, [["__scopeId", "data-v-fcd955b9"]]), Gs = Ye(zs), Hs = /* @__PURE__ */ ue({
|
|
6478
6478
|
__name: "GTableForm",
|
|
6479
6479
|
props: {
|
|
6480
6480
|
col: {},
|
|
@@ -6484,7 +6484,7 @@ const zs = /* @__PURE__ */ ht(js, [["__scopeId", "data-v-0d8085b8"]]), Gs = Ye(z
|
|
|
6484
6484
|
},
|
|
6485
6485
|
emits: ["blur"],
|
|
6486
6486
|
setup(n, { emit: e }) {
|
|
6487
|
-
const { T: t } =
|
|
6487
|
+
const { T: t } = Ce(), o = `${Pt}__form`, a = n, l = e, r = V(() => {
|
|
6488
6488
|
var s;
|
|
6489
6489
|
return (s = a.col) == null ? void 0 : s.formItems;
|
|
6490
6490
|
}), u = V(() => In(a.row, r.value));
|
|
@@ -6518,7 +6518,7 @@ const zs = /* @__PURE__ */ ht(js, [["__scopeId", "data-v-0d8085b8"]]), Gs = Ye(z
|
|
|
6518
6518
|
"onUpdate:modelValue": c[0] || (c[0] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6519
6519
|
"onBlur:modelValue": (y) => d(f)
|
|
6520
6520
|
}, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : X("", !0),
|
|
6521
|
-
f.itemType === "check_box" ? (v(), $(
|
|
6521
|
+
f.itemType === "check_box" ? (v(), $(ka, {
|
|
6522
6522
|
key: 2,
|
|
6523
6523
|
formItem: f,
|
|
6524
6524
|
viewName: s.viewName,
|
|
@@ -6527,7 +6527,7 @@ const zs = /* @__PURE__ */ ht(js, [["__scopeId", "data-v-0d8085b8"]]), Gs = Ye(z
|
|
|
6527
6527
|
"onUpdate:modelValue": c[1] || (c[1] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6528
6528
|
"onBlur:modelValue": (y) => d(f)
|
|
6529
6529
|
}, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : X("", !0),
|
|
6530
|
-
f.itemType === "switch" ? (v(), $(
|
|
6530
|
+
f.itemType === "switch" ? (v(), $(Ca, {
|
|
6531
6531
|
key: 3,
|
|
6532
6532
|
formItem: f,
|
|
6533
6533
|
viewName: s.viewName,
|
|
@@ -7206,7 +7206,7 @@ const yi = Et(
|
|
|
7206
7206
|
var e = An(2)(n);
|
|
7207
7207
|
return e[0] === 33 && e[1] === 255;
|
|
7208
7208
|
}
|
|
7209
|
-
),
|
|
7209
|
+
), ki = Et(
|
|
7210
7210
|
{
|
|
7211
7211
|
comment: [{ codes: rt(2) }, Fn]
|
|
7212
7212
|
},
|
|
@@ -7214,7 +7214,7 @@ const yi = Et(
|
|
|
7214
7214
|
var e = An(2)(n);
|
|
7215
7215
|
return e[0] === 33 && e[1] === 254;
|
|
7216
7216
|
}
|
|
7217
|
-
),
|
|
7217
|
+
), Ci = [
|
|
7218
7218
|
{ header: [{ signature: Jn(3) }, { version: Jn(3) }] },
|
|
7219
7219
|
{
|
|
7220
7220
|
lsd: [
|
|
@@ -7244,7 +7244,7 @@ const yi = Et(
|
|
|
7244
7244
|
// content frames
|
|
7245
7245
|
{
|
|
7246
7246
|
frames: hi(
|
|
7247
|
-
[yi, Ti,
|
|
7247
|
+
[yi, Ti, ki, bi, wi],
|
|
7248
7248
|
(n) => {
|
|
7249
7249
|
var e = Ba()(n);
|
|
7250
7250
|
return e === 33 || e === 44;
|
|
@@ -7294,7 +7294,7 @@ const yi = Et(
|
|
|
7294
7294
|
return j;
|
|
7295
7295
|
}, Ii = (n) => {
|
|
7296
7296
|
const e = new Uint8Array(n);
|
|
7297
|
-
return Wt(vi(e),
|
|
7297
|
+
return Wt(vi(e), Ci);
|
|
7298
7298
|
}, Li = (n) => {
|
|
7299
7299
|
const e = n.pixels.length, t = new Uint8ClampedArray(e * 4);
|
|
7300
7300
|
for (var o = 0; o < e; o++) {
|
|
@@ -8055,13 +8055,13 @@ function zi(n, e) {
|
|
|
8055
8055
|
t[S][0] -= E * (t[S][0] - L) / mn, t[S][1] -= E * (t[S][1] - _) / mn, t[S][2] -= E * (t[S][2] - I) / mn;
|
|
8056
8056
|
}
|
|
8057
8057
|
function s(E, S, L, _, I) {
|
|
8058
|
-
for (var m = Math.abs(S - E), w = Math.min(S + E, Oe), M = S + 1, U = S - 1, P = 1,
|
|
8059
|
-
x = r[P++], M < w && (
|
|
8058
|
+
for (var m = Math.abs(S - E), w = Math.min(S + E, Oe), M = S + 1, U = S - 1, P = 1, C, x; M < w || U > m; )
|
|
8059
|
+
x = r[P++], M < w && (C = t[M++], C[0] -= x * (C[0] - L) / Bt, C[1] -= x * (C[1] - _) / Bt, C[2] -= x * (C[2] - I) / Bt), U > m && (C = t[U--], C[0] -= x * (C[0] - L) / Bt, C[1] -= x * (C[1] - _) / Bt, C[2] -= x * (C[2] - I) / Bt);
|
|
8060
8060
|
}
|
|
8061
8061
|
function c(E, S, L) {
|
|
8062
|
-
var _ = 2147483647, I = _, m = -1, w = m, M, U, P,
|
|
8062
|
+
var _ = 2147483647, I = _, m = -1, w = m, M, U, P, C, x;
|
|
8063
8063
|
for (M = 0; M < Oe; M++)
|
|
8064
|
-
U = t[M], P = Math.abs(U[0] - E) + Math.abs(U[1] - S) + Math.abs(U[2] - L), P < _ && (_ = P, m = M),
|
|
8064
|
+
U = t[M], P = Math.abs(U[0] - E) + Math.abs(U[1] - S) + Math.abs(U[2] - L), P < _ && (_ = P, m = M), C = P - (a[M] >> Va - vt), C < I && (I = C, w = M), x = l[M] >> mo, l[M] -= x, a[M] += x << Oa;
|
|
8065
8065
|
return l[m] += Bi, a[m] -= Pi, w;
|
|
8066
8066
|
}
|
|
8067
8067
|
function f() {
|
|
@@ -8089,9 +8089,9 @@ function zi(n, e) {
|
|
|
8089
8089
|
r[E] = m * ((M * M - E * E) * Uo / (M * M));
|
|
8090
8090
|
var U;
|
|
8091
8091
|
S < ji ? (e = 1, U = 3) : S % Ro !== 0 ? U = 3 * Ro : S % jo !== 0 ? U = 3 * jo : S % zo !== 0 ? U = 3 * zo : U = 3 * ja;
|
|
8092
|
-
var P,
|
|
8092
|
+
var P, C, x, D, A = 0;
|
|
8093
8093
|
for (E = 0; E < _; )
|
|
8094
|
-
if (P = (n[A] & 255) << vt,
|
|
8094
|
+
if (P = (n[A] & 255) << vt, C = (n[A + 1] & 255) << vt, x = (n[A + 2] & 255) << vt, D = c(P, C, x), d(m, D, P, C, x), M !== 0 && s(M, D, P, C, x), A += U, A >= S && (A -= S), E++, I === 0 && (I = 1), E % I === 0)
|
|
8095
8095
|
for (m -= m / L, w -= w / Ui, M = w >> eo, M <= 1 && (M = 0), D = 0; D < M; D++)
|
|
8096
8096
|
r[D] = m * ((M * M - D * D) * Uo / (M * M));
|
|
8097
8097
|
}
|
|
@@ -8143,11 +8143,11 @@ function Hi(n, e, t, o) {
|
|
|
8143
8143
|
}
|
|
8144
8144
|
function w(D, A) {
|
|
8145
8145
|
var T, B, g, b, z, G, H;
|
|
8146
|
-
for (y = D, p = !1, L = y, f = P(L), N = 1 << D - 1, j = N + 1, c = N + 2, s = 0, b =
|
|
8146
|
+
for (y = D, p = !1, L = y, f = P(L), N = 1 << D - 1, j = N + 1, c = N + 2, s = 0, b = C(), H = 0, T = Ht; T < 65536; T *= 2)
|
|
8147
8147
|
++H;
|
|
8148
8148
|
H = 8 - H, G = Ht, m(G), x(N, A);
|
|
8149
8149
|
e:
|
|
8150
|
-
for (; (B =
|
|
8150
|
+
for (; (B = C()) != Go; ) {
|
|
8151
8151
|
if (T = (B << fn) + b, g = B << H ^ b, r[g] === T) {
|
|
8152
8152
|
b = u[g];
|
|
8153
8153
|
continue;
|
|
@@ -8173,7 +8173,7 @@ function Hi(n, e, t, o) {
|
|
|
8173
8173
|
function P(D) {
|
|
8174
8174
|
return (1 << D) - 1;
|
|
8175
8175
|
}
|
|
8176
|
-
function
|
|
8176
|
+
function C() {
|
|
8177
8177
|
if (E === 0)
|
|
8178
8178
|
return Go;
|
|
8179
8179
|
--E;
|
|
@@ -8530,7 +8530,7 @@ class Le {
|
|
|
8530
8530
|
const _ = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, I = this.options.size;
|
|
8531
8531
|
let m = this.options.margin;
|
|
8532
8532
|
(m < 0 || m * 2 >= I) && (m = 0);
|
|
8533
|
-
const w = Math.ceil(m), M = I - 2 * m, U = this.options.whiteMargin, P = this.options.backgroundDimming,
|
|
8533
|
+
const w = Math.ceil(m), M = I - 2 * m, U = this.options.whiteMargin, P = this.options.backgroundDimming, C = Math.ceil(M / _), x = C * _, D = x + 2 * w, A = new it(D, D), T = A.getContext("2d");
|
|
8534
8534
|
this._clear(), T.save(), T.translate(w, w);
|
|
8535
8535
|
const B = new it(D, D), g = B.getContext("2d");
|
|
8536
8536
|
let b = null, z = [];
|
|
@@ -8560,16 +8560,16 @@ class Le {
|
|
|
8560
8560
|
let R = we || Ae;
|
|
8561
8561
|
for (let ye = 1; ye < G.length - 1; ye++)
|
|
8562
8562
|
R = R || le >= G[ye] - 2 && le <= G[ye] + 2 && ce >= G[ye] - 2 && ce <= G[ye] + 2;
|
|
8563
|
-
const q = ce *
|
|
8563
|
+
const q = ce * C + (R ? 0 : ae * C), oe = le * C + (R ? 0 : ae * C);
|
|
8564
8564
|
if (T.strokeStyle = ve ? this.options.colorDark : this.options.colorLight, T.lineWidth = 0.5, T.fillStyle = ve ? this.options.colorDark : this.options.colorLight, G.length === 0)
|
|
8565
|
-
R || T.fillRect(q, oe, (R ? 1 : H) *
|
|
8565
|
+
R || T.fillRect(q, oe, (R ? 1 : H) * C, (R ? 1 : H) * C);
|
|
8566
8566
|
else {
|
|
8567
8567
|
const ye = ce < _ - 4 && ce >= _ - 4 - 5 && le < _ - 4 && le >= _ - 4 - 5;
|
|
8568
|
-
!R && !ye && T.fillRect(q, oe, (R ? 1 : H) *
|
|
8568
|
+
!R && !ye && T.fillRect(q, oe, (R ? 1 : H) * C, (R ? 1 : H) * C);
|
|
8569
8569
|
}
|
|
8570
8570
|
}
|
|
8571
8571
|
const me = G[G.length - 1], J = this.options.colorLight;
|
|
8572
|
-
if (T.fillStyle = J, T.fillRect(0, 0, 8 *
|
|
8572
|
+
if (T.fillStyle = J, T.fillRect(0, 0, 8 * C, 8 * C), T.fillRect(0, (_ - 8) * C, 8 * C, 8 * C), T.fillRect((_ - 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 && (T.fillRect(8 * C, 6 * C, (_ - 8 - 8) * C, C), T.fillRect(6 * C, 8 * C, C, (_ - 8 - 8) * C)), !((u = (r = this.options.components) === null || r === void 0 ? void 0 : r.cornerAlignment) === null || u === void 0) && u.protectors && Le._drawAlignProtector(T, me, me, C), !((d = (i = this.options.components) === null || i === void 0 ? void 0 : i.alignment) === null || d === void 0) && d.protectors)
|
|
8573
8573
|
for (let le = 0; le < G.length; le++)
|
|
8574
8574
|
for (let ce = 0; ce < G.length; ce++) {
|
|
8575
8575
|
const ve = G[ce], we = G[le];
|
|
@@ -8578,15 +8578,15 @@ class Le {
|
|
|
8578
8578
|
continue;
|
|
8579
8579
|
if (ve === me && we === me)
|
|
8580
8580
|
continue;
|
|
8581
|
-
Le._drawAlignProtector(T, ve, we,
|
|
8581
|
+
Le._drawAlignProtector(T, ve, we, C);
|
|
8582
8582
|
}
|
|
8583
8583
|
}
|
|
8584
|
-
T.fillStyle = this.options.colorDark, T.fillRect(0, 0, 7 *
|
|
8584
|
+
T.fillStyle = this.options.colorDark, T.fillRect(0, 0, 7 * C, C), T.fillRect((_ - 7) * C, 0, 7 * C, C), T.fillRect(0, 6 * C, 7 * C, C), T.fillRect((_ - 7) * C, 6 * C, 7 * C, C), T.fillRect(0, (_ - 7) * C, 7 * C, C), T.fillRect(0, (_ - 7 + 6) * C, 7 * C, C), T.fillRect(0, 0, C, 7 * C), T.fillRect(6 * C, 0, C, 7 * C), T.fillRect((_ - 7) * C, 0, C, 7 * C), T.fillRect((_ - 7 + 6) * C, 0, C, 7 * C), T.fillRect(0, (_ - 7) * C, C, 7 * C), T.fillRect(6 * C, (_ - 7) * C, C, 7 * C), T.fillRect(2 * C, 2 * C, 3 * C, 3 * C), T.fillRect((_ - 7 + 2) * C, 2 * C, 3 * C, 3 * C), T.fillRect(2 * C, (_ - 7 + 2) * C, 3 * C, 3 * C);
|
|
8585
8585
|
const Me = ((c = (s = this.options.components) === null || s === void 0 ? void 0 : s.timing) === null || c === void 0 ? void 0 : c.scale) || hn, Re = (1 - Me) * 0.5;
|
|
8586
8586
|
for (let le = 0; le < _ - 8; le += 2)
|
|
8587
|
-
Le._drawDot(T, 8 + le, 6,
|
|
8587
|
+
Le._drawDot(T, 8 + le, 6, C, Re, Me), Le._drawDot(T, 6, 8 + le, C, Re, Me);
|
|
8588
8588
|
const _e = ((p = (f = this.options.components) === null || f === void 0 ? void 0 : f.cornerAlignment) === null || p === void 0 ? void 0 : p.scale) || hn, ge = (1 - _e) * 0.5;
|
|
8589
|
-
Le._drawAlign(T, me, me,
|
|
8589
|
+
Le._drawAlign(T, me, me, C, ge, _e, this.options.colorDark, ((N = (y = this.options.components) === null || y === void 0 ? void 0 : y.cornerAlignment) === null || N === void 0 ? void 0 : N.protectors) || !1);
|
|
8590
8590
|
const Ie = ((E = (j = this.options.components) === null || j === void 0 ? void 0 : j.alignment) === null || E === void 0 ? void 0 : E.scale) || hn, $e = (1 - Ie) * 0.5;
|
|
8591
8591
|
for (let le = 0; le < G.length; le++)
|
|
8592
8592
|
for (let ce = 0; ce < G.length; ce++) {
|
|
@@ -8596,7 +8596,7 @@ class Le {
|
|
|
8596
8596
|
continue;
|
|
8597
8597
|
if (ve === me && we === me)
|
|
8598
8598
|
continue;
|
|
8599
|
-
Le._drawAlign(T, ve, we,
|
|
8599
|
+
Le._drawAlign(T, ve, we, C, $e, Ie, this.options.colorDark, ((L = (S = this.options.components) === null || S === void 0 ? void 0 : S.alignment) === null || L === void 0 ? void 0 : L.protectors) || !1);
|
|
8600
8600
|
}
|
|
8601
8601
|
}
|
|
8602
8602
|
if (U && (T.fillStyle = this.options.backgroundColor, T.fillRect(-w, -w, D, w), T.fillRect(-w, x, D, w), T.fillRect(x, -w, w, D), T.fillRect(-w, -w, w, D)), this.options.logoImage) {
|
|
@@ -8895,7 +8895,7 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
8895
8895
|
"return-pagination-props"
|
|
8896
8896
|
],
|
|
8897
8897
|
setup(n, { emit: e }) {
|
|
8898
|
-
const { T: t } =
|
|
8898
|
+
const { T: t } = Ce(), { reload: o, reloadFlag: a } = za(), l = n, r = e, u = V(() => {
|
|
8899
8899
|
var I, m, w, M;
|
|
8900
8900
|
return (m = (I = l.board) == null ? void 0 : I.tableData) != null && m.keyName ? (M = (w = l.board) == null ? void 0 : w.tableData) == null ? void 0 : M.keyName : "";
|
|
8901
8901
|
}), i = Y([]);
|
|
@@ -8972,7 +8972,7 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
8972
8972
|
() => o(),
|
|
8973
8973
|
{ deep: !0 }
|
|
8974
8974
|
), (I, m) => {
|
|
8975
|
-
const w = Q("t-button"), M = Q("t-popup"), U = Q("t-image"), P = Q("t-image-viewer"),
|
|
8975
|
+
const w = Q("t-button"), M = Q("t-popup"), U = Q("t-image"), P = Q("t-image-viewer"), C = Q("t-space");
|
|
8976
8976
|
return h(a) ? X("", !0) : (v(), $(h(ha), {
|
|
8977
8977
|
key: 0,
|
|
8978
8978
|
class: "g-table",
|
|
@@ -8988,7 +8988,7 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
8988
8988
|
tableLayout: "auto"
|
|
8989
8989
|
}
|
|
8990
8990
|
}, {
|
|
8991
|
-
TEXT:
|
|
8991
|
+
TEXT: k(({ col: x, row: D }) => [
|
|
8992
8992
|
y(p(x, D)) ? (v(), W("span", Xi, [
|
|
8993
8993
|
ne("span", {
|
|
8994
8994
|
innerHTML: p(x, D),
|
|
@@ -8999,19 +8999,19 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
8999
8999
|
innerHTML: N()
|
|
9000
9000
|
}, null, 8, Ji))
|
|
9001
9001
|
]),
|
|
9002
|
-
ENUMS:
|
|
9002
|
+
ENUMS: k(({ col: x, row: D }) => [
|
|
9003
9003
|
ne("span", {
|
|
9004
9004
|
innerHTML: j(x, D)
|
|
9005
9005
|
}, null, 8, eu)
|
|
9006
9006
|
]),
|
|
9007
|
-
DATE:
|
|
9007
|
+
DATE: k(({ col: x, row: D }) => [
|
|
9008
9008
|
ne("span", {
|
|
9009
9009
|
innerHTML: E(x, D)
|
|
9010
9010
|
}, null, 8, tu)
|
|
9011
9011
|
]),
|
|
9012
|
-
QR_CODE:
|
|
9012
|
+
QR_CODE: k(({ col: x, row: D }) => [
|
|
9013
9013
|
F(M, null, {
|
|
9014
|
-
content:
|
|
9014
|
+
content: k(() => [
|
|
9015
9015
|
F(Qi, {
|
|
9016
9016
|
text: p(x, D),
|
|
9017
9017
|
size: 80,
|
|
@@ -9019,12 +9019,12 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
9019
9019
|
}, null, 8, ["text"]),
|
|
9020
9020
|
ne("div", nu, te(D.code), 1)
|
|
9021
9021
|
]),
|
|
9022
|
-
default:
|
|
9022
|
+
default: k(() => [
|
|
9023
9023
|
F(w, {
|
|
9024
9024
|
variant: "text",
|
|
9025
9025
|
theme: "primary"
|
|
9026
9026
|
}, {
|
|
9027
|
-
default:
|
|
9027
|
+
default: k(() => [
|
|
9028
9028
|
re(te(h(t).t("预览")), 1)
|
|
9029
9029
|
]),
|
|
9030
9030
|
_: 1
|
|
@@ -9033,7 +9033,7 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
9033
9033
|
_: 2
|
|
9034
9034
|
}, 1024)
|
|
9035
9035
|
]),
|
|
9036
|
-
FORM_ITEM:
|
|
9036
|
+
FORM_ITEM: k(({ col: x, row: D }) => [
|
|
9037
9037
|
F(Hs, {
|
|
9038
9038
|
viewName: I.viewName,
|
|
9039
9039
|
col: x,
|
|
@@ -9041,7 +9041,7 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
9041
9041
|
onBlur: _
|
|
9042
9042
|
}, null, 8, ["viewName", "col", "row"])
|
|
9043
9043
|
]),
|
|
9044
|
-
IMAGE:
|
|
9044
|
+
IMAGE: k(({ col: x, row: D }) => [
|
|
9045
9045
|
ne("div", {
|
|
9046
9046
|
class: Z(`${h(Pt)}__imageViewer`)
|
|
9047
9047
|
}, [
|
|
@@ -9049,7 +9049,7 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
9049
9049
|
key: 0,
|
|
9050
9050
|
images: [p(x, D)]
|
|
9051
9051
|
}, {
|
|
9052
|
-
trigger:
|
|
9052
|
+
trigger: k(({ open: A }) => [
|
|
9053
9053
|
ne("div", {
|
|
9054
9054
|
class: Z(`${h(Pt)}__imageViewer--image`)
|
|
9055
9055
|
}, [
|
|
@@ -9059,10 +9059,10 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
9059
9059
|
shape: "round",
|
|
9060
9060
|
fit: "scale-down"
|
|
9061
9061
|
}, {
|
|
9062
|
-
error:
|
|
9062
|
+
error: k(() => [
|
|
9063
9063
|
x.name == `${h(t).t("头像")}` ? (v(), $(h(Bn), { key: 0 })) : (v(), $(h(Qt), { key: 1 }))
|
|
9064
9064
|
]),
|
|
9065
|
-
loading:
|
|
9065
|
+
loading: k(() => [
|
|
9066
9066
|
x.name == `${h(t).t("头像")}` ? (v(), $(h(Bn), { key: 0 })) : (v(), $(h(Qt), {
|
|
9067
9067
|
key: 1,
|
|
9068
9068
|
size: "large"
|
|
@@ -9096,16 +9096,16 @@ const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"
|
|
|
9096
9096
|
], 2))
|
|
9097
9097
|
], 2)
|
|
9098
9098
|
]),
|
|
9099
|
-
BUTTONS:
|
|
9100
|
-
F(
|
|
9101
|
-
default:
|
|
9099
|
+
BUTTONS: k(({ col: x, row: D }) => [
|
|
9100
|
+
F(C, { size: "0" }, {
|
|
9101
|
+
default: k(() => [
|
|
9102
9102
|
(v(!0), W(de, null, Se(S(x.buttons, D), (A) => (v(), $(w, {
|
|
9103
9103
|
theme: "primary",
|
|
9104
9104
|
variant: "text",
|
|
9105
9105
|
key: A.buttonId,
|
|
9106
9106
|
onClick: (T) => L(A, D)
|
|
9107
9107
|
}, {
|
|
9108
|
-
default:
|
|
9108
|
+
default: k(() => [
|
|
9109
9109
|
re(te(A.name), 1)
|
|
9110
9110
|
]),
|
|
9111
9111
|
_: 2
|
|
@@ -9126,7 +9126,7 @@ const lu = /* @__PURE__ */ ht(au, [["__scopeId", "data-v-45aeff49"]]), ru = /* @
|
|
|
9126
9126
|
board: {}
|
|
9127
9127
|
},
|
|
9128
9128
|
setup(n) {
|
|
9129
|
-
const e = n, t =
|
|
9129
|
+
const e = n, t = Ct(), o = st(), a = ft(), l = V(() => o.fullPath), r = V(() => {
|
|
9130
9130
|
var p;
|
|
9131
9131
|
return (p = e == null ? void 0 : e.board) == null ? void 0 : p.tabs;
|
|
9132
9132
|
}), u = Y(0), i = V(() => t.returnTabMenuItemActiveTab(l.value));
|
|
@@ -9161,17 +9161,17 @@ const lu = /* @__PURE__ */ ht(au, [["__scopeId", "data-v-45aeff49"]]), ru = /* @
|
|
|
9161
9161
|
value: u.value,
|
|
9162
9162
|
onChange: d
|
|
9163
9163
|
}, {
|
|
9164
|
-
default:
|
|
9164
|
+
default: k(() => [
|
|
9165
9165
|
(v(!0), W(de, null, Se(r.value, (S, L) => (v(), $(j, {
|
|
9166
9166
|
key: `${L}${S.title}`,
|
|
9167
9167
|
value: L,
|
|
9168
9168
|
label: S.title,
|
|
9169
9169
|
destroyOnHide: !0
|
|
9170
9170
|
}, {
|
|
9171
|
-
default:
|
|
9171
|
+
default: k(() => [
|
|
9172
9172
|
F(N, { bordered: !1 }, {
|
|
9173
|
-
content:
|
|
9174
|
-
S.board ? (v(), $(h(
|
|
9173
|
+
content: k(() => [
|
|
9174
|
+
S.board ? (v(), $(h(Cn), {
|
|
9175
9175
|
key: S.title,
|
|
9176
9176
|
viewName: p.viewName,
|
|
9177
9177
|
board: S.board,
|
|
@@ -9202,7 +9202,7 @@ const su = /* @__PURE__ */ ue({
|
|
|
9202
9202
|
},
|
|
9203
9203
|
emits: ["close-dialog"],
|
|
9204
9204
|
setup(n, { emit: e }) {
|
|
9205
|
-
const { T: t } =
|
|
9205
|
+
const { T: t } = Ce(), o = ft(), a = st(), l = Ve(), r = ao(), u = lo(), i = n, { reload: d } = za(), s = e, c = V(() => {
|
|
9206
9206
|
var O;
|
|
9207
9207
|
return (O = i.board) == null ? void 0 : O.boardType;
|
|
9208
9208
|
}), f = V(() => {
|
|
@@ -9214,7 +9214,7 @@ const su = /* @__PURE__ */ ue({
|
|
|
9214
9214
|
}), j = Y({}), E = Y({}), S = V(
|
|
9215
9215
|
() => {
|
|
9216
9216
|
var O, K;
|
|
9217
|
-
return N.value && (
|
|
9217
|
+
return N.value && (kt(N.value.buttons) && N.value.buttons.length || kt((O = N.value.searchBar) == null ? void 0 : O.filters) && ((K = N.value.searchBar) == null ? void 0 : K.filters.length));
|
|
9218
9218
|
}
|
|
9219
9219
|
), L = V(() => {
|
|
9220
9220
|
if (We(a.query))
|
|
@@ -9268,8 +9268,8 @@ const su = /* @__PURE__ */ ue({
|
|
|
9268
9268
|
f.value === K && M();
|
|
9269
9269
|
});
|
|
9270
9270
|
});
|
|
9271
|
-
const U =
|
|
9272
|
-
function
|
|
9271
|
+
const U = Ct(), P = Ln();
|
|
9272
|
+
function C(O) {
|
|
9273
9273
|
const K = Xe(j.value), se = Xe(_.value);
|
|
9274
9274
|
U.findExistTabMenuItem({ path: O }) && P.setFormData(O, {
|
|
9275
9275
|
formData: K,
|
|
@@ -9277,9 +9277,9 @@ const su = /* @__PURE__ */ ue({
|
|
|
9277
9277
|
});
|
|
9278
9278
|
}
|
|
9279
9279
|
Xo((O, K) => {
|
|
9280
|
-
i.from != "dialog" &&
|
|
9280
|
+
i.from != "dialog" && C(K.fullPath);
|
|
9281
9281
|
}), Qo((O, K) => {
|
|
9282
|
-
i.from != "dialog" &&
|
|
9282
|
+
i.from != "dialog" && C(K.fullPath);
|
|
9283
9283
|
}), De(
|
|
9284
9284
|
() => i.board,
|
|
9285
9285
|
async () => {
|
|
@@ -9302,7 +9302,7 @@ const su = /* @__PURE__ */ ue({
|
|
|
9302
9302
|
}
|
|
9303
9303
|
const G = Y();
|
|
9304
9304
|
async function H(O, K = {}) {
|
|
9305
|
-
var se, ee,
|
|
9305
|
+
var se, ee, ke;
|
|
9306
9306
|
try {
|
|
9307
9307
|
switch (O.action) {
|
|
9308
9308
|
case "VIEW_BY_DIALOG": {
|
|
@@ -9412,7 +9412,7 @@ const su = /* @__PURE__ */ ue({
|
|
|
9412
9412
|
}
|
|
9413
9413
|
case "LINK": {
|
|
9414
9414
|
let pe = {};
|
|
9415
|
-
(
|
|
9415
|
+
(ke = O == null ? void 0 : O.props) == null || ke.forEach((xe) => {
|
|
9416
9416
|
xe.keyName && (K[xe.keyName] ?? "") != "" && (pe[xe.keyName] = K[xe.keyName]);
|
|
9417
9417
|
});
|
|
9418
9418
|
const be = _o.decode(mt.render(O.link, { item: K }));
|
|
@@ -9492,8 +9492,8 @@ const su = /* @__PURE__ */ ue({
|
|
|
9492
9492
|
}, M();
|
|
9493
9493
|
let K = Xe(O);
|
|
9494
9494
|
if (Object.keys(K).length)
|
|
9495
|
-
for (const
|
|
9496
|
-
(((ee = (se = N.value) == null ? void 0 : se.searchBar.filters.find((pe) => pe.keyName ==
|
|
9495
|
+
for (const ke in K)
|
|
9496
|
+
(((ee = (se = N.value) == null ? void 0 : se.searchBar.filters.find((pe) => pe.keyName == ke)) == null ? void 0 : ee.itemType) != "text_input" || K[ke] == "") && delete K[ke];
|
|
9497
9497
|
E.value = K;
|
|
9498
9498
|
}
|
|
9499
9499
|
const me = Y([]);
|
|
@@ -9523,7 +9523,7 @@ const su = /* @__PURE__ */ ue({
|
|
|
9523
9523
|
_e.value = ee, Ie.value = Zl(
|
|
9524
9524
|
(se = i.board) == null ? void 0 : se.columns
|
|
9525
9525
|
);
|
|
9526
|
-
const
|
|
9526
|
+
const ke = `${i.viewName}_${c.value}`, pe = le.getColumnData(ke);
|
|
9527
9527
|
pe ? $e.value = Xe(pe) : $e.value = Xe(
|
|
9528
9528
|
Ie.value.map((be) => be.colKey)
|
|
9529
9529
|
);
|
|
@@ -9588,8 +9588,8 @@ const su = /* @__PURE__ */ ue({
|
|
|
9588
9588
|
viewName: O.viewName
|
|
9589
9589
|
});
|
|
9590
9590
|
if (ee.state == 200) {
|
|
9591
|
-
const
|
|
9592
|
-
return { url:
|
|
9591
|
+
const ke = ee.data.url, pe = ee.data.filename;
|
|
9592
|
+
return { url: ke, filename: pe };
|
|
9593
9593
|
}
|
|
9594
9594
|
}
|
|
9595
9595
|
function ye() {
|
|
@@ -9611,7 +9611,7 @@ const su = /* @__PURE__ */ ue({
|
|
|
9611
9611
|
loading: m.value,
|
|
9612
9612
|
size: "medium"
|
|
9613
9613
|
}, {
|
|
9614
|
-
default:
|
|
9614
|
+
default: k(() => [
|
|
9615
9615
|
S.value ? (v(), $(h(Gs), {
|
|
9616
9616
|
key: 0,
|
|
9617
9617
|
viewName: O.viewName,
|
|
@@ -9675,17 +9675,17 @@ const su = /* @__PURE__ */ ue({
|
|
|
9675
9675
|
};
|
|
9676
9676
|
}
|
|
9677
9677
|
});
|
|
9678
|
-
const
|
|
9678
|
+
const Cn = Ye(su), Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9679
9679
|
__proto__: null,
|
|
9680
|
-
GBoard:
|
|
9681
|
-
default:
|
|
9680
|
+
GBoard: Cn,
|
|
9681
|
+
default: Cn
|
|
9682
9682
|
}, Symbol.toStringTag, { value: "Module" })), iu = /* @__PURE__ */ ue({
|
|
9683
9683
|
__name: "index",
|
|
9684
9684
|
props: {
|
|
9685
9685
|
config: {}
|
|
9686
9686
|
},
|
|
9687
9687
|
setup(n) {
|
|
9688
|
-
const e = ft(), t = st(), o = Ve(), a =
|
|
9688
|
+
const e = ft(), t = st(), o = Ve(), a = Ct(), l = ao(), r = n, u = Y(""), i = V(() => o.isUserLogin), d = V(() => o.homeUrl);
|
|
9689
9689
|
Jt(async () => {
|
|
9690
9690
|
i.value || (await o.initUserConfig(r.config), await a.initTabMenu());
|
|
9691
9691
|
}), Ue(async () => {
|
|
@@ -9760,12 +9760,12 @@ const kn = Ye(su), Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
9760
9760
|
};
|
|
9761
9761
|
});
|
|
9762
9762
|
return At(ca, u), (S, L) => (v(), $(h(ma), Ee({ key: u.value }, E.value), {
|
|
9763
|
-
default:
|
|
9763
|
+
default: k(() => {
|
|
9764
9764
|
var _;
|
|
9765
9765
|
return [
|
|
9766
9766
|
N.value ? (v(!0), W(de, { key: 0 }, Se((_ = f.value) == null ? void 0 : _.boards, (I) => {
|
|
9767
9767
|
var m, w;
|
|
9768
|
-
return v(), $(h(
|
|
9768
|
+
return v(), $(h(Cn), {
|
|
9769
9769
|
key: `${(m = f.value) == null ? void 0 : m.viewName}_${I.boardType}`,
|
|
9770
9770
|
board: I,
|
|
9771
9771
|
viewName: p.value,
|
|
@@ -10083,7 +10083,7 @@ var Ha = { exports: {} };
|
|
|
10083
10083
|
}, I = "en", m = {};
|
|
10084
10084
|
m[I] = S;
|
|
10085
10085
|
var w = function(A) {
|
|
10086
|
-
return A instanceof
|
|
10086
|
+
return A instanceof C;
|
|
10087
10087
|
}, M = function D(A, T, B) {
|
|
10088
10088
|
var g;
|
|
10089
10089
|
if (!A)
|
|
@@ -10103,7 +10103,7 @@ var Ha = { exports: {} };
|
|
|
10103
10103
|
if (w(A))
|
|
10104
10104
|
return A.clone();
|
|
10105
10105
|
var B = Mn(T) == "object" ? T : {};
|
|
10106
|
-
return B.date = A, B.args = arguments, new
|
|
10106
|
+
return B.date = A, B.args = arguments, new C(B);
|
|
10107
10107
|
}, P = _;
|
|
10108
10108
|
P.l = M, P.i = w, P.w = function(D, A) {
|
|
10109
10109
|
return U(D, {
|
|
@@ -10113,7 +10113,7 @@ var Ha = { exports: {} };
|
|
|
10113
10113
|
$offset: A.$offset
|
|
10114
10114
|
});
|
|
10115
10115
|
};
|
|
10116
|
-
var
|
|
10116
|
+
var C = function() {
|
|
10117
10117
|
function D(T) {
|
|
10118
10118
|
this.$L = M(T.locale, null, !0), this.parse(T);
|
|
10119
10119
|
}
|
|
@@ -10338,13 +10338,13 @@ var Ha = { exports: {} };
|
|
|
10338
10338
|
}, A.toString = function() {
|
|
10339
10339
|
return this.$d.toUTCString();
|
|
10340
10340
|
}, D;
|
|
10341
|
-
}(), x =
|
|
10341
|
+
}(), x = C.prototype;
|
|
10342
10342
|
return U.prototype = x, [["$ms", l], ["$s", r], ["$m", u], ["$H", i], ["$W", d], ["$M", c], ["$y", p], ["$D", y]].forEach(function(D) {
|
|
10343
10343
|
x[D[1]] = function(A) {
|
|
10344
10344
|
return this.$g(A, D[0], D[1]);
|
|
10345
10345
|
};
|
|
10346
10346
|
}), U.extend = function(D, A) {
|
|
10347
|
-
return D.$i || (D(A,
|
|
10347
|
+
return D.$i || (D(A, C, U), D.$i = !0), U;
|
|
10348
10348
|
}, U.locale = M, U.isDayjs = w, U.unix = function(D) {
|
|
10349
10349
|
return U(1e3 * D);
|
|
10350
10350
|
}, U.en = m[I], U.Ls = m, U.p = {}, U;
|
|
@@ -10632,7 +10632,7 @@ const fu = { class: "gConfigProvider" }, pu = /* @__PURE__ */ ue({
|
|
|
10632
10632
|
localeConfig: {}
|
|
10633
10633
|
},
|
|
10634
10634
|
setup(n) {
|
|
10635
|
-
const { T: e, i18n: t } =
|
|
10635
|
+
const { T: e, i18n: t } = Ce();
|
|
10636
10636
|
ze(Qn, null);
|
|
10637
10637
|
const o = n, a = V(() => ({ ...o.localeConfig })), l = V(() => ({ ...o.dateLocaleConfig })), r = V(() => [...o.layoutHeaderOperations.slice(0, 5)]), u = V(() => ({
|
|
10638
10638
|
enableDefaultOperations: !0,
|
|
@@ -10655,7 +10655,7 @@ const fu = { class: "gConfigProvider" }, pu = /* @__PURE__ */ ue({
|
|
|
10655
10655
|
SideMenuConfigRef: i
|
|
10656
10656
|
}), (c, f) => (v(), W("div", fu, [
|
|
10657
10657
|
F(h(il), { globalConfig: s.value }, {
|
|
10658
|
-
default:
|
|
10658
|
+
default: k(() => [
|
|
10659
10659
|
Ke(c.$slots, "default")
|
|
10660
10660
|
]),
|
|
10661
10661
|
_: 3
|
|
@@ -10665,7 +10665,7 @@ const fu = { class: "gConfigProvider" }, pu = /* @__PURE__ */ ue({
|
|
|
10665
10665
|
}), hu = Ye(pu), vu = {
|
|
10666
10666
|
mounted(n, e) {
|
|
10667
10667
|
const { value: t } = e, a = Ve().userPermission;
|
|
10668
|
-
|
|
10668
|
+
t && Array.isArray(t) && t.length > 0 && (a.some((r) => t.includes(r)) || n.parentNode && n.parentNode.removeChild(n));
|
|
10669
10669
|
}
|
|
10670
10670
|
}, Wo = {
|
|
10671
10671
|
permission: vu
|
|
@@ -10675,11 +10675,11 @@ const fu = { class: "gConfigProvider" }, pu = /* @__PURE__ */ ue({
|
|
|
10675
10675
|
n.directive(e, Wo[e]);
|
|
10676
10676
|
});
|
|
10677
10677
|
}
|
|
10678
|
-
}, yu = "@gonsin/gview", bu = "2.0.
|
|
10678
|
+
}, yu = "@gonsin/gview", bu = "2.0.94", wu = "dist/index.mjs", Tu = "dist/types/index.d.ts", ku = [
|
|
10679
10679
|
"dist",
|
|
10680
10680
|
"README.md",
|
|
10681
10681
|
"CHANGELOG.md"
|
|
10682
|
-
],
|
|
10682
|
+
], Cu = {
|
|
10683
10683
|
dev: "cd develop && vite --host",
|
|
10684
10684
|
preview: "cd develop && vite preview --host",
|
|
10685
10685
|
"build:preview": "cd develop && vite build",
|
|
@@ -10702,7 +10702,7 @@ const fu = { class: "gConfigProvider" }, pu = /* @__PURE__ */ ue({
|
|
|
10702
10702
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
10703
10703
|
axios: "^1.3.4",
|
|
10704
10704
|
dayjs: "^1.11.7",
|
|
10705
|
-
"gonsin-i18n": "^0.2.
|
|
10705
|
+
"gonsin-i18n": "^0.2.4",
|
|
10706
10706
|
he: "^1.2.0",
|
|
10707
10707
|
"lodash-es": "^4.17.21",
|
|
10708
10708
|
mustache: "^4.2.0",
|
|
@@ -10756,8 +10756,8 @@ const fu = { class: "gConfigProvider" }, pu = /* @__PURE__ */ ue({
|
|
|
10756
10756
|
version: bu,
|
|
10757
10757
|
main: wu,
|
|
10758
10758
|
typings: Tu,
|
|
10759
|
-
files:
|
|
10760
|
-
scripts:
|
|
10759
|
+
files: ku,
|
|
10760
|
+
scripts: Cu,
|
|
10761
10761
|
dependencies: Mu,
|
|
10762
10762
|
devDependencies: _u
|
|
10763
10763
|
}, po = {
|
|
@@ -11311,7 +11311,7 @@ const Du = [
|
|
|
11311
11311
|
}, Pu = /* @__PURE__ */ ue({
|
|
11312
11312
|
__name: "GMenuManage",
|
|
11313
11313
|
setup(n) {
|
|
11314
|
-
const { T: e } =
|
|
11314
|
+
const { T: e } = Ce(), t = Ve(), o = Y(`${e.t("菜单管理")}`), a = [
|
|
11315
11315
|
{
|
|
11316
11316
|
title: e.t("排序"),
|
|
11317
11317
|
colKey: "drag",
|
|
@@ -11411,7 +11411,7 @@ const Du = [
|
|
|
11411
11411
|
label: R.title,
|
|
11412
11412
|
value: R.name
|
|
11413
11413
|
}))
|
|
11414
|
-
), w = st(), M =
|
|
11414
|
+
), w = st(), M = Ct();
|
|
11415
11415
|
function U() {
|
|
11416
11416
|
const { fullPath: R, query: q } = w, oe = decodeURIComponent(R);
|
|
11417
11417
|
M.appendTabMenuItem({
|
|
@@ -11421,7 +11421,7 @@ const Du = [
|
|
|
11421
11421
|
});
|
|
11422
11422
|
}
|
|
11423
11423
|
const P = Y([]);
|
|
11424
|
-
function
|
|
11424
|
+
function C(R) {
|
|
11425
11425
|
return R && R.length ? R.filter((q) => q.url && q.url !== "") : [];
|
|
11426
11426
|
}
|
|
11427
11427
|
const x = V(() => P.value.map((R) => ({
|
|
@@ -11433,7 +11433,7 @@ const Du = [
|
|
|
11433
11433
|
}
|
|
11434
11434
|
async function A() {
|
|
11435
11435
|
const R = await Su();
|
|
11436
|
-
R.state == 200 ? P.value =
|
|
11436
|
+
R.state == 200 ? P.value = C(R.data) : console.error(`getInnerMenuOptionList ${R.message}`);
|
|
11437
11437
|
}
|
|
11438
11438
|
Ue(() => {
|
|
11439
11439
|
f(), A(), U();
|
|
@@ -11559,8 +11559,8 @@ const Du = [
|
|
|
11559
11559
|
d.value == "addGroup" ? (p.value.edificeKey = l.value, p.value.children && ((oe = p.value.children) != null && oe.length) && p.value.children.forEach((ee) => {
|
|
11560
11560
|
ee.parent == "" && (ee.parent = p.value.name);
|
|
11561
11561
|
}), (ye = j.value) == null || ye.appendTo("", p.value), he.success(`${e.t("保存新增组成功!")}`)) : d.value == "editGroup" || d.value == "editItem" ? ((Te = j.value) == null || Te.setData(p.value.name, p.value), p.value.isGroup ? ((O = (ie = p.value) == null ? void 0 : ie.children) == null || O.forEach((ee) => {
|
|
11562
|
-
var
|
|
11563
|
-
(
|
|
11562
|
+
var ke;
|
|
11563
|
+
(ke = j.value) == null || ke.setData(ee.name, ee);
|
|
11564
11564
|
}), he.success(`${e.t("编辑组成功!")}`)) : (ge(
|
|
11565
11565
|
p.value.name,
|
|
11566
11566
|
p.value.parent
|
|
@@ -11570,7 +11570,7 @@ const Du = [
|
|
|
11570
11570
|
), he.success(`${e.t("转移组成功!")}`)), b(), Me();
|
|
11571
11571
|
else {
|
|
11572
11572
|
const ee = (se = (K = Object.values(q)[0]) == null ? void 0 : K.filter(
|
|
11573
|
-
(
|
|
11573
|
+
(ke) => ke.result === !1
|
|
11574
11574
|
)[0]) == null ? void 0 : se.message;
|
|
11575
11575
|
he.error(`${ee}`);
|
|
11576
11576
|
}
|
|
@@ -11697,14 +11697,14 @@ const Du = [
|
|
|
11697
11697
|
return (R, q) => {
|
|
11698
11698
|
const oe = Q("t-button"), ye = Q("t-icon"), Te = Q("t-input"), ie = Q("t-form-item"), O = Q("t-option"), K = Q("t-select"), se = Q("t-input-group");
|
|
11699
11699
|
return v(), $(h(ma), { title: o.value }, {
|
|
11700
|
-
default:
|
|
11700
|
+
default: k(() => [
|
|
11701
11701
|
F(h(Hr), null, {
|
|
11702
|
-
"left-operations":
|
|
11702
|
+
"left-operations": k(() => [
|
|
11703
11703
|
F(oe, {
|
|
11704
11704
|
theme: "primary",
|
|
11705
11705
|
onClick: z
|
|
11706
11706
|
}, {
|
|
11707
|
-
default:
|
|
11707
|
+
default: k(() => [
|
|
11708
11708
|
re(te(h(e).t("添加组")), 1)
|
|
11709
11709
|
]),
|
|
11710
11710
|
_: 1
|
|
@@ -11713,18 +11713,18 @@ const Du = [
|
|
|
11713
11713
|
theme: "default",
|
|
11714
11714
|
onClick: u
|
|
11715
11715
|
}, {
|
|
11716
|
-
default:
|
|
11716
|
+
default: k(() => [
|
|
11717
11717
|
re(te(r.value ? `${h(e).t("收起全部")}` : `${h(e).t("展开全部")}`), 1)
|
|
11718
11718
|
]),
|
|
11719
11719
|
_: 1
|
|
11720
11720
|
})
|
|
11721
11721
|
]),
|
|
11722
|
-
"right-operations":
|
|
11722
|
+
"right-operations": k(() => [
|
|
11723
11723
|
F(oe, {
|
|
11724
11724
|
theme: "default",
|
|
11725
11725
|
onClick: $e
|
|
11726
11726
|
}, {
|
|
11727
|
-
default:
|
|
11727
|
+
default: k(() => [
|
|
11728
11728
|
re(te(h(e).t("撤销方案")), 1)
|
|
11729
11729
|
]),
|
|
11730
11730
|
_: 1
|
|
@@ -11733,7 +11733,7 @@ const Du = [
|
|
|
11733
11733
|
theme: "primary",
|
|
11734
11734
|
onClick: le
|
|
11735
11735
|
}, {
|
|
11736
|
-
default:
|
|
11736
|
+
default: k(() => [
|
|
11737
11737
|
re(te(h(e).t("保存方案")), 1)
|
|
11738
11738
|
]),
|
|
11739
11739
|
_: 1
|
|
@@ -11763,13 +11763,13 @@ const Du = [
|
|
|
11763
11763
|
maxHeight: "calc(100vh - 233px)"
|
|
11764
11764
|
}
|
|
11765
11765
|
}, {
|
|
11766
|
-
treeExpandAndFoldIcon:
|
|
11766
|
+
treeExpandAndFoldIcon: k(({ type: ee }) => [
|
|
11767
11767
|
ee === "expand" ? (v(), $(h(_l), { key: 0 })) : (v(), $(h(Il), { key: 1 }))
|
|
11768
11768
|
]),
|
|
11769
|
-
drag:
|
|
11769
|
+
drag: k(() => [
|
|
11770
11770
|
F(h(Ll))
|
|
11771
11771
|
]),
|
|
11772
|
-
title:
|
|
11772
|
+
title: k(({ row: ee }) => [
|
|
11773
11773
|
ne("span", Nu, [
|
|
11774
11774
|
ne("span", {
|
|
11775
11775
|
class: Z(["title", ee.isGroup ? "title-bold" : "title-child"])
|
|
@@ -11791,14 +11791,14 @@ const Du = [
|
|
|
11791
11791
|
ee.isGroup ? (v(), W("span", Eu, te(ee.children.length) + "项", 1)) : X("", !0)
|
|
11792
11792
|
])
|
|
11793
11793
|
]),
|
|
11794
|
-
operations:
|
|
11794
|
+
operations: k(({ row: ee }) => [
|
|
11795
11795
|
ne("div", Au, [
|
|
11796
11796
|
F(oe, {
|
|
11797
11797
|
variant: "text",
|
|
11798
11798
|
theme: "primary",
|
|
11799
|
-
onClick: (
|
|
11799
|
+
onClick: (ke) => me(ee)
|
|
11800
11800
|
}, {
|
|
11801
|
-
default:
|
|
11801
|
+
default: k(() => [
|
|
11802
11802
|
re(te(h(e).t("编辑修改")), 1)
|
|
11803
11803
|
]),
|
|
11804
11804
|
_: 2
|
|
@@ -11807,9 +11807,9 @@ const Du = [
|
|
|
11807
11807
|
variant: "text",
|
|
11808
11808
|
theme: "primary",
|
|
11809
11809
|
disabled: ee.isGroup,
|
|
11810
|
-
onClick: (
|
|
11810
|
+
onClick: (ke) => J(ee)
|
|
11811
11811
|
}, {
|
|
11812
|
-
default:
|
|
11812
|
+
default: k(() => [
|
|
11813
11813
|
re(te(ee.isGroup ? "---" : h(e).t("转移至")), 1)
|
|
11814
11814
|
]),
|
|
11815
11815
|
_: 2
|
|
@@ -11817,9 +11817,9 @@ const Du = [
|
|
|
11817
11817
|
F(oe, {
|
|
11818
11818
|
variant: "text",
|
|
11819
11819
|
theme: "primary",
|
|
11820
|
-
onClick: (
|
|
11820
|
+
onClick: (ke) => we(ee, "up")
|
|
11821
11821
|
}, {
|
|
11822
|
-
default:
|
|
11822
|
+
default: k(() => [
|
|
11823
11823
|
re(te(h(e).t("上移")), 1)
|
|
11824
11824
|
]),
|
|
11825
11825
|
_: 2
|
|
@@ -11827,9 +11827,9 @@ const Du = [
|
|
|
11827
11827
|
F(oe, {
|
|
11828
11828
|
variant: "text",
|
|
11829
11829
|
theme: "primary",
|
|
11830
|
-
onClick: (
|
|
11830
|
+
onClick: (ke) => we(ee, "down")
|
|
11831
11831
|
}, {
|
|
11832
|
-
default:
|
|
11832
|
+
default: k(() => [
|
|
11833
11833
|
re(te(h(e).t("下移")), 1)
|
|
11834
11834
|
]),
|
|
11835
11835
|
_: 2
|
|
@@ -11838,9 +11838,9 @@ const Du = [
|
|
|
11838
11838
|
variant: "text",
|
|
11839
11839
|
theme: "primary",
|
|
11840
11840
|
disabled: !ee.isGroup,
|
|
11841
|
-
onClick: (
|
|
11841
|
+
onClick: (ke) => Ie(ee)
|
|
11842
11842
|
}, {
|
|
11843
|
-
default:
|
|
11843
|
+
default: k(() => [
|
|
11844
11844
|
re(te(ee.isGroup ? h(e).t("撤销组") : "---"), 1)
|
|
11845
11845
|
]),
|
|
11846
11846
|
_: 2
|
|
@@ -11858,7 +11858,7 @@ const Du = [
|
|
|
11858
11858
|
width: "650px"
|
|
11859
11859
|
}
|
|
11860
11860
|
}, {
|
|
11861
|
-
default:
|
|
11861
|
+
default: k(() => [
|
|
11862
11862
|
F(h(ro), {
|
|
11863
11863
|
ref_key: "commonFormRef",
|
|
11864
11864
|
ref: E,
|
|
@@ -11869,18 +11869,18 @@ const Du = [
|
|
|
11869
11869
|
labelWidth: "150px"
|
|
11870
11870
|
}
|
|
11871
11871
|
}, qt({
|
|
11872
|
-
footer:
|
|
11872
|
+
footer: k(() => [
|
|
11873
11873
|
F(oe, {
|
|
11874
11874
|
theme: "default",
|
|
11875
11875
|
onClick: Me
|
|
11876
11876
|
}, {
|
|
11877
|
-
default:
|
|
11877
|
+
default: k(() => [
|
|
11878
11878
|
re(te(h(e).t("取消")), 1)
|
|
11879
11879
|
]),
|
|
11880
11880
|
_: 1
|
|
11881
11881
|
}),
|
|
11882
11882
|
F(oe, { onClick: _e }, {
|
|
11883
|
-
default:
|
|
11883
|
+
default: k(() => [
|
|
11884
11884
|
re(te(h(e).t("确定")), 1)
|
|
11885
11885
|
]),
|
|
11886
11886
|
_: 1
|
|
@@ -11890,13 +11890,13 @@ const Du = [
|
|
|
11890
11890
|
}, [
|
|
11891
11891
|
d.value == "addGroup" || d.value == "editGroup" || d.value == "editItem" ? {
|
|
11892
11892
|
name: "body",
|
|
11893
|
-
fn:
|
|
11893
|
+
fn: k(() => [
|
|
11894
11894
|
F(ie, {
|
|
11895
11895
|
name: "title",
|
|
11896
11896
|
label: h(e).t("组名称"),
|
|
11897
11897
|
requiredMark: !0
|
|
11898
11898
|
}, {
|
|
11899
|
-
default:
|
|
11899
|
+
default: k(() => [
|
|
11900
11900
|
F(Te, {
|
|
11901
11901
|
style: { width: "360px" },
|
|
11902
11902
|
modelValue: p.value.title,
|
|
@@ -11911,7 +11911,7 @@ const Du = [
|
|
|
11911
11911
|
label: h(e).t("名称标识"),
|
|
11912
11912
|
requiredMark: !0
|
|
11913
11913
|
}, {
|
|
11914
|
-
default:
|
|
11914
|
+
default: k(() => [
|
|
11915
11915
|
F(Te, {
|
|
11916
11916
|
style: { width: "360px" },
|
|
11917
11917
|
modelValue: p.value.name,
|
|
@@ -11927,7 +11927,7 @@ const Du = [
|
|
|
11927
11927
|
name: "icon",
|
|
11928
11928
|
label: h(e).t("图标标识")
|
|
11929
11929
|
}, {
|
|
11930
|
-
default:
|
|
11930
|
+
default: k(() => [
|
|
11931
11931
|
F(K, {
|
|
11932
11932
|
style: { width: "360px" },
|
|
11933
11933
|
modelValue: p.value.icon,
|
|
@@ -11936,7 +11936,7 @@ const Du = [
|
|
|
11936
11936
|
popupProps: { overlayInnerStyle: { width: "326px" } },
|
|
11937
11937
|
clearable: !0
|
|
11938
11938
|
}, {
|
|
11939
|
-
valueDisplay:
|
|
11939
|
+
valueDisplay: k(() => [
|
|
11940
11940
|
p.value.icon ? (v(), W("span", $u, [
|
|
11941
11941
|
F(ye, {
|
|
11942
11942
|
name: p.value.icon,
|
|
@@ -11945,13 +11945,13 @@ const Du = [
|
|
|
11945
11945
|
re(te(p.value.icon), 1)
|
|
11946
11946
|
])) : (v(), W("span", Bu, te(h(e).t("请选择图标标识")), 1))
|
|
11947
11947
|
]),
|
|
11948
|
-
default:
|
|
11948
|
+
default: k(() => [
|
|
11949
11949
|
(v(!0), W(de, null, Se(h(Du), (ee) => (v(), $(O, {
|
|
11950
11950
|
value: ee.stem,
|
|
11951
11951
|
key: ee.stem,
|
|
11952
11952
|
class: "overlay-options"
|
|
11953
11953
|
}, {
|
|
11954
|
-
default:
|
|
11954
|
+
default: k(() => [
|
|
11955
11955
|
ne("span", Fu, [
|
|
11956
11956
|
F(ye, {
|
|
11957
11957
|
name: ee.stem,
|
|
@@ -11973,7 +11973,7 @@ const Du = [
|
|
|
11973
11973
|
label: h(e).t("父菜单"),
|
|
11974
11974
|
requiredMark: !0
|
|
11975
11975
|
}, {
|
|
11976
|
-
default:
|
|
11976
|
+
default: k(() => [
|
|
11977
11977
|
F(K, {
|
|
11978
11978
|
options: m.value,
|
|
11979
11979
|
modelValue: p.value.parent,
|
|
@@ -11987,12 +11987,12 @@ const Du = [
|
|
|
11987
11987
|
name: "children",
|
|
11988
11988
|
label: h(e).t("分组")
|
|
11989
11989
|
}, {
|
|
11990
|
-
default:
|
|
11990
|
+
default: k(() => [
|
|
11991
11991
|
F(oe, {
|
|
11992
11992
|
variant: "outline",
|
|
11993
11993
|
onClick: G
|
|
11994
11994
|
}, {
|
|
11995
|
-
default:
|
|
11995
|
+
default: k(() => [
|
|
11996
11996
|
re(te(h(e).t("添加分组")), 1)
|
|
11997
11997
|
]),
|
|
11998
11998
|
_: 1
|
|
@@ -12000,21 +12000,21 @@ const Du = [
|
|
|
12000
12000
|
]),
|
|
12001
12001
|
_: 1
|
|
12002
12002
|
}, 8, ["label"])) : X("", !0),
|
|
12003
|
-
(v(!0), W(de, null, Se(g(p.value.children), (ee,
|
|
12003
|
+
(v(!0), W(de, null, Se(g(p.value.children), (ee, ke) => (v(), $(ie, {
|
|
12004
12004
|
name: "children",
|
|
12005
|
-
key: "group" +
|
|
12006
|
-
label:
|
|
12005
|
+
key: "group" + ke,
|
|
12006
|
+
label: ke == 0 ? h(e).t("分组") : " "
|
|
12007
12007
|
}, {
|
|
12008
|
-
default:
|
|
12008
|
+
default: k(() => [
|
|
12009
12009
|
F(se, null, {
|
|
12010
|
-
default:
|
|
12010
|
+
default: k(() => [
|
|
12011
12011
|
F(Te, {
|
|
12012
12012
|
placeholder: h(e).t("请输入分组名称"),
|
|
12013
12013
|
style: { width: "180px" },
|
|
12014
12014
|
value: ee.title,
|
|
12015
12015
|
onChange: (pe) => h(je)(
|
|
12016
12016
|
g(p.value.children),
|
|
12017
|
-
`[${
|
|
12017
|
+
`[${ke}].title`,
|
|
12018
12018
|
pe
|
|
12019
12019
|
)
|
|
12020
12020
|
}, null, 8, ["placeholder", "value", "onChange"]),
|
|
@@ -12024,7 +12024,7 @@ const Du = [
|
|
|
12024
12024
|
value: ee.name,
|
|
12025
12025
|
onChange: (pe) => h(je)(
|
|
12026
12026
|
g(p.value.children),
|
|
12027
|
-
`[${
|
|
12027
|
+
`[${ke}].name`,
|
|
12028
12028
|
pe
|
|
12029
12029
|
)
|
|
12030
12030
|
}, null, 8, ["placeholder", "value", "onChange"]),
|
|
@@ -12033,18 +12033,18 @@ const Du = [
|
|
|
12033
12033
|
theme: "default",
|
|
12034
12034
|
onClick: (pe) => H(ee)
|
|
12035
12035
|
}, {
|
|
12036
|
-
default:
|
|
12036
|
+
default: k(() => [
|
|
12037
12037
|
re("- ")
|
|
12038
12038
|
]),
|
|
12039
12039
|
_: 2
|
|
12040
12040
|
}, 1032, ["onClick"]),
|
|
12041
|
-
|
|
12041
|
+
ke == g(p.value.children).length - 1 ? (v(), $(oe, {
|
|
12042
12042
|
key: 0,
|
|
12043
12043
|
variant: "outline",
|
|
12044
12044
|
theme: "default",
|
|
12045
12045
|
onClick: Vt(G, ["prevent"])
|
|
12046
12046
|
}, {
|
|
12047
|
-
default:
|
|
12047
|
+
default: k(() => [
|
|
12048
12048
|
re("+ ")
|
|
12049
12049
|
]),
|
|
12050
12050
|
_: 1
|
|
@@ -12060,12 +12060,12 @@ const Du = [
|
|
|
12060
12060
|
name: "children",
|
|
12061
12061
|
label: h(e).t("子菜单项")
|
|
12062
12062
|
}, {
|
|
12063
|
-
default:
|
|
12063
|
+
default: k(() => [
|
|
12064
12064
|
F(oe, {
|
|
12065
12065
|
variant: "outline",
|
|
12066
12066
|
onClick: ae
|
|
12067
12067
|
}, {
|
|
12068
|
-
default:
|
|
12068
|
+
default: k(() => [
|
|
12069
12069
|
re(te(h(e).t("添加子菜单")), 1)
|
|
12070
12070
|
]),
|
|
12071
12071
|
_: 1
|
|
@@ -12073,21 +12073,21 @@ const Du = [
|
|
|
12073
12073
|
]),
|
|
12074
12074
|
_: 1
|
|
12075
12075
|
}, 8, ["label"])) : X("", !0),
|
|
12076
|
-
(v(!0), W(de, null, Se(B(p.value.children), (ee,
|
|
12076
|
+
(v(!0), W(de, null, Se(B(p.value.children), (ee, ke) => (v(), $(ie, {
|
|
12077
12077
|
name: "children",
|
|
12078
|
-
key: "item" +
|
|
12079
|
-
label:
|
|
12078
|
+
key: "item" + ke,
|
|
12079
|
+
label: ke == 0 ? h(e).t("子菜单项") : " "
|
|
12080
12080
|
}, {
|
|
12081
|
-
default:
|
|
12081
|
+
default: k(() => [
|
|
12082
12082
|
F(se, null, {
|
|
12083
|
-
default:
|
|
12083
|
+
default: k(() => [
|
|
12084
12084
|
F(Te, {
|
|
12085
12085
|
placeholder: h(e).t("请输入子菜单名称"),
|
|
12086
12086
|
style: { width: "180px" },
|
|
12087
12087
|
value: ee.title,
|
|
12088
12088
|
onChange: (pe) => h(je)(
|
|
12089
12089
|
B(p.value.children),
|
|
12090
|
-
`[${
|
|
12090
|
+
`[${ke}].title`,
|
|
12091
12091
|
pe
|
|
12092
12092
|
)
|
|
12093
12093
|
}, null, 8, ["placeholder", "value", "onChange"]),
|
|
@@ -12097,7 +12097,7 @@ const Du = [
|
|
|
12097
12097
|
value: ee.name,
|
|
12098
12098
|
onChange: (pe) => h(je)(
|
|
12099
12099
|
B(p.value.children),
|
|
12100
|
-
`[${
|
|
12100
|
+
`[${ke}].name`,
|
|
12101
12101
|
pe
|
|
12102
12102
|
)
|
|
12103
12103
|
}, null, 8, ["placeholder", "value", "onChange"]),
|
|
@@ -12106,18 +12106,18 @@ const Du = [
|
|
|
12106
12106
|
theme: "default",
|
|
12107
12107
|
onClick: (pe) => H(ee)
|
|
12108
12108
|
}, {
|
|
12109
|
-
default:
|
|
12109
|
+
default: k(() => [
|
|
12110
12110
|
re("- ")
|
|
12111
12111
|
]),
|
|
12112
12112
|
_: 2
|
|
12113
12113
|
}, 1032, ["onClick"]),
|
|
12114
|
-
|
|
12114
|
+
ke == B(p.value.children).length - 1 ? (v(), $(oe, {
|
|
12115
12115
|
key: 0,
|
|
12116
12116
|
variant: "outline",
|
|
12117
12117
|
theme: "default",
|
|
12118
12118
|
onClick: Vt(ae, ["prevent"])
|
|
12119
12119
|
}, {
|
|
12120
|
-
default:
|
|
12120
|
+
default: k(() => [
|
|
12121
12121
|
re("+ ")
|
|
12122
12122
|
]),
|
|
12123
12123
|
_: 1
|
|
@@ -12132,17 +12132,17 @@ const Du = [
|
|
|
12132
12132
|
F(ie, {
|
|
12133
12133
|
label: h(e).t("是否为内置菜单")
|
|
12134
12134
|
}, {
|
|
12135
|
-
default:
|
|
12135
|
+
default: k(() => [
|
|
12136
12136
|
F(K, {
|
|
12137
12137
|
modelValue: p.value.isInner,
|
|
12138
12138
|
"onUpdate:modelValue": q[4] || (q[4] = (ee) => p.value.isInner = ee)
|
|
12139
12139
|
}, {
|
|
12140
|
-
default:
|
|
12140
|
+
default: k(() => [
|
|
12141
12141
|
F(O, {
|
|
12142
12142
|
value: !0,
|
|
12143
12143
|
label: h(e).t("内置菜单")
|
|
12144
12144
|
}, {
|
|
12145
|
-
default:
|
|
12145
|
+
default: k(() => [
|
|
12146
12146
|
re(te(h(e).t("内置菜单")), 1)
|
|
12147
12147
|
]),
|
|
12148
12148
|
_: 1
|
|
@@ -12151,7 +12151,7 @@ const Du = [
|
|
|
12151
12151
|
value: !1,
|
|
12152
12152
|
label: h(e).t("外部菜单")
|
|
12153
12153
|
}, {
|
|
12154
|
-
default:
|
|
12154
|
+
default: k(() => [
|
|
12155
12155
|
re(te(h(e).t("外部菜单")), 1)
|
|
12156
12156
|
]),
|
|
12157
12157
|
_: 1
|
|
@@ -12166,7 +12166,7 @@ const Du = [
|
|
|
12166
12166
|
key: 0,
|
|
12167
12167
|
label: h(e).t("选择菜单")
|
|
12168
12168
|
}, {
|
|
12169
|
-
default:
|
|
12169
|
+
default: k(() => [
|
|
12170
12170
|
F(K, {
|
|
12171
12171
|
modelValue: p.value.url,
|
|
12172
12172
|
"onUpdate:modelValue": q[5] || (q[5] = (ee) => p.value.url = ee),
|
|
@@ -12179,7 +12179,7 @@ const Du = [
|
|
|
12179
12179
|
key: 1,
|
|
12180
12180
|
label: h(e).t("菜单路径")
|
|
12181
12181
|
}, {
|
|
12182
|
-
default:
|
|
12182
|
+
default: k(() => [
|
|
12183
12183
|
F(Te, {
|
|
12184
12184
|
modelValue: p.value.url,
|
|
12185
12185
|
"onUpdate:modelValue": q[6] || (q[6] = (ee) => p.value.url = ee)
|
|
@@ -12192,14 +12192,14 @@ const Du = [
|
|
|
12192
12192
|
key: "0"
|
|
12193
12193
|
} : d.value == "moveItemTo" ? {
|
|
12194
12194
|
name: "body",
|
|
12195
|
-
fn:
|
|
12195
|
+
fn: k(() => [
|
|
12196
12196
|
p.value.isGroup ? X("", !0) : (v(), $(ie, {
|
|
12197
12197
|
key: 0,
|
|
12198
12198
|
name: "parent",
|
|
12199
12199
|
label: h(e).t("转移至"),
|
|
12200
12200
|
requiredMark: !0
|
|
12201
12201
|
}, {
|
|
12202
|
-
default:
|
|
12202
|
+
default: k(() => [
|
|
12203
12203
|
F(K, {
|
|
12204
12204
|
options: m.value,
|
|
12205
12205
|
modelValue: p.value.parent,
|
|
@@ -12244,7 +12244,7 @@ const Ac = Ye(Pu), xu = /* @__PURE__ */ ue({
|
|
|
12244
12244
|
}), Vu = /* @__PURE__ */ ue({
|
|
12245
12245
|
__name: "GLoginForm",
|
|
12246
12246
|
setup(n) {
|
|
12247
|
-
const { T: e } =
|
|
12247
|
+
const { T: e } = Ce(), t = `${_t}__form`;
|
|
12248
12248
|
return (o, a) => (v(), W("div", {
|
|
12249
12249
|
class: Z(`${t}`)
|
|
12250
12250
|
}, [
|
|
@@ -12324,7 +12324,7 @@ const Ac = Ye(Pu), xu = /* @__PURE__ */ ue({
|
|
|
12324
12324
|
subTitle: e.subTitle
|
|
12325
12325
|
}, null, 8, ["title", "subTitle"]),
|
|
12326
12326
|
F(Vu, null, {
|
|
12327
|
-
tabs:
|
|
12327
|
+
tabs: k(() => [
|
|
12328
12328
|
Ke(e.$slots, "tabs")
|
|
12329
12329
|
]),
|
|
12330
12330
|
_: 3
|
|
@@ -12352,9 +12352,9 @@ function qu(n, e) {
|
|
|
12352
12352
|
}
|
|
12353
12353
|
}
|
|
12354
12354
|
function $c(n) {
|
|
12355
|
-
Ve(n),
|
|
12355
|
+
Ve(n), Ct(n), lo(n), ao(n);
|
|
12356
12356
|
}
|
|
12357
|
-
const { i18n: Bc } =
|
|
12357
|
+
const { i18n: Bc } = Ce({
|
|
12358
12358
|
project: "venus"
|
|
12359
12359
|
}), Pc = {
|
|
12360
12360
|
install: qu
|
|
@@ -12430,8 +12430,8 @@ export {
|
|
|
12430
12430
|
Zl as initTableDisplayColumns,
|
|
12431
12431
|
ra as initTreeSelectorData,
|
|
12432
12432
|
pt as is,
|
|
12433
|
-
|
|
12434
|
-
|
|
12433
|
+
kt as isArray,
|
|
12434
|
+
Cc as isAsyncFunction,
|
|
12435
12435
|
Ql as isBoolean,
|
|
12436
12436
|
_c as isClient,
|
|
12437
12437
|
Tc as isDate,
|
|
@@ -12442,7 +12442,7 @@ export {
|
|
|
12442
12442
|
lt as isNull,
|
|
12443
12443
|
Ao as isNullAndUnDef,
|
|
12444
12444
|
We as isNullOrUnDef,
|
|
12445
|
-
|
|
12445
|
+
kc as isNumber,
|
|
12446
12446
|
oo as isObject,
|
|
12447
12447
|
en as isOuterUrl,
|
|
12448
12448
|
ql as isPromise,
|
|
@@ -12468,7 +12468,7 @@ export {
|
|
|
12468
12468
|
lo as usePropsStore,
|
|
12469
12469
|
Ve as useSettingStore,
|
|
12470
12470
|
ao as useSocketStore,
|
|
12471
|
-
|
|
12471
|
+
Ct as useTabMenuStore,
|
|
12472
12472
|
Kl as v,
|
|
12473
12473
|
Ye as withInstall
|
|
12474
12474
|
};
|