@utogether/udp-core 1.0.3 → 1.0.4-beta.2
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/{403-D6H3sArg.js → 403-BPYvIpL0.js} +1 -1
- package/dist/{404-DTyfysQ2.js → 404-DsNi_zbJ.js} +1 -1
- package/dist/{500-DKaVDaBm.js → 500-CFPwM06i.js} +1 -1
- package/dist/{AuthorityInfo-DQULR69Y.js → AuthorityInfo-Cz9aXzyD.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-CzAnoTnO.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DV82YhIl.js} +1 -1
- package/dist/{AuthorityPanel-BeBNiwqc.js → AuthorityPanel-BzIh29KB.js} +1 -1
- package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js → AuthorityPanel.vue_vue_type_style_index_0_lang-D3GN0Ybz.js} +32 -24
- package/dist/{Company-BWFrR-Cq.js → Company-C7mOu--3.js} +3 -3
- package/dist/{CompanyPanel-Dh814lsw.js → CompanyPanel-mO9FMZiX.js} +1 -1
- package/dist/{Department-DagPxerl.js → Department--Y1ImWfA.js} +3 -3
- package/dist/{DepartmentPanel-BVy2YGED.js → DepartmentPanel-CE3L2ZMy.js} +1 -1
- package/dist/{DesignPanel-DKfjfj2S.js → DesignPanel-CYSTRBOI.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-D-a8W08Y.js → DesignPanel.vue_vue_type_style_index_0_lang-NutQ08_L.js} +2 -2
- package/dist/{DictView-CE5nEiKu.js → DictView-P7SkFNgn.js} +1 -1
- package/dist/{InvOrganization-CZk_EbFZ.js → InvOrganization-C1JEXt2a.js} +1 -1
- package/dist/{Org-BO8jfnqN.js → Org-DfjFoe_o.js} +1 -1
- package/dist/{Preview-DYJaP96f.js → Preview-r4la57mV.js} +1 -1
- package/dist/{ReportDefine-DZXbs7iX.js → ReportDefine-BUbrcRFp.js} +1 -1
- package/dist/{ReportDesign-CSdqOQ1D.js → ReportDesign-B00bAfau.js} +2 -2
- package/dist/{ReportQuery-_Vdt3CnA.js → ReportQuery-DAM_-RUB.js} +1 -1
- package/dist/{ReportQueryFrom-BWKddh9p.js → ReportQueryFrom-CEvoJKlF.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-DbdGwioi.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Bt59l-8f.js} +1 -1
- package/dist/{ReportTemplate-DS-DGao8.js → ReportTemplate-Du8i8rfg.js} +1 -1
- package/dist/{Role-BM0kEu7y.js → Role-D3nk1IUQ.js} +3 -3
- package/dist/{RoleAssign-Cp05HUWn.js → RoleAssign-BiO5MZhU.js} +3 -3
- package/dist/{RolePanel-hXeshcCZ.js → RolePanel-BhIqx_Wa.js} +1 -1
- package/dist/{RolePanel-DeuHpCdK.js → RolePanel-VLyqWJVN.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Bf0pSCTN.js → RolePanel.vue_vue_type_script_setup_true_lang-B0OPjDCv.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CNyWCIJm.js → RolePanel.vue_vue_type_script_setup_true_lang-C3IFDt_Z.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BiKe39xG.js → ScrollPanel.vue_vue_type_style_index_0_lang-DCs1XL39.js} +1 -1
- package/dist/{Staff-DLltLFMl.js → Staff-BJeVPfVm.js} +3 -3
- package/dist/{StaffInfo-pfELaI_i.js → StaffInfo-CJ8N1Iaa.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BKKdNggm.js → StaffInfo.vue_vue_type_script_setup_true_lang-C9Qs0y63.js} +1 -1
- package/dist/{StaffPanel-D3Pk28JN.js → StaffPanel-oprQQONO.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-D9HLeyKe.js → StaffPanel.vue_vue_type_script_setup_true_lang-C5I61KMa.js} +2 -2
- package/dist/{SysUser-BOh7ejz3.js → SysUser-B4os0MUF.js} +2 -2
- package/dist/{SysUserPanel-RElVo0BV.js → SysUserPanel-D_CBonTD.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DoW0v5y9.js → SysUserPanel.vue_vue_type_script_setup_true_lang-5ziTNsQJ.js} +1 -1
- package/dist/{SystemMenu-DZneBqKO.js → SystemMenu-CTq48lhl.js} +52 -49
- package/dist/{UserInfo-D9qo_f_9.js → UserInfo-CmCYIois.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CY4dtMnZ.js → UserInfo.vue_vue_type_style_index_0_lang-JR50b-om.js} +1 -1
- package/dist/{childView-CmlGxD9G.js → childView-BdTLKLdV.js} +1 -1
- package/dist/{childView-DStrPumM.js → childView-BpjMQxXA.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-B9k694be.js → childView.vue_vue_type_style_index_0_lang-B6YHspP9.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Dtv1rrdP.js → childView.vue_vue_type_style_index_0_lang-CWEjc6-V.js} +1 -1
- package/dist/{code-rule-CxzgQDH_.js → code-rule-CohepEa6.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-kbyRTz97.js → cron-task-CW0DC8mB.js} +1 -1
- package/dist/{frameView-BawZlIge.js → frameView-CpSq5t6q.js} +1 -1
- package/dist/{index-nkstuOxE.js → index-BIkiQ8sW.js} +3562 -962
- package/dist/{layoutView-DVGqPJmA.js → layoutView-Cb-Sr4QH.js} +144 -145
- package/dist/{log-in-j2PZGLQH.js → log-in-CwE0UTx5.js} +1 -1
- package/dist/{log-out-DIJU-Vpf.js → log-out-C2YJ4VtB.js} +1 -1
- package/dist/{login-DvmHMcgD.js → login-DgulHC3K.js} +124 -134
- package/dist/{lov-view-C-dIDLh8.js → lov-view-DHruXqpk.js} +2 -2
- package/dist/{menuInfo-D0mcKmrT.js → menuInfo-TK_M-mrs.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CbwS7aGl.js → menuInfo.vue_vue_type_style_index_0_lang-CaTPaJe-.js} +37 -35
- package/dist/{pda-app-BjvyTDkw.js → pda-app-C7JJ5ioL.js} +1 -1
- package/dist/{resource-BknIxaTQ.js → resource-DnnZBwMv.js} +1 -1
- package/dist/{su-welcome-CwtvamZC.js → su-welcome-CuYdpLi1.js} +1 -1
- package/dist/{sys-config-CCKhGcCL.js → sys-config-D1h0L-xV.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +71 -65
- package/src/components/udp/form-upload/form-upload.vue +492 -0
- package/src/components/udp/index.ts +2 -1
- package/src/layout/components/lay-content/index.vue +136 -143
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +1 -1
- package/src/layout/layoutView.vue +7 -6
- package/src/main.ts +2 -2
- package/src/plugins/i18n/zh.ts +1 -0
- package/src/plugins/vxe-table/index.ts +1 -1
- package/src/plugins/vxe-table/render.tsx +19 -1
- package/src/style/vxetable.scss +356 -348
- package/src/views/system/menu/AuthorityPanel.vue +142 -140
- package/src/views/system/menu/SystemMenu.vue +10 -1
- package/src/views/system/menu/menuInfo.vue +384 -384
- package/src/views/ulogin/login.vue +34 -23
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as se, ref as O, createElementBlock as F, openBlock as d, unref as e, normalizeClass as re, createElementVNode as b, onMounted as Ge, watch as qe, resolveComponent as T, createBlock as G, withCtx as V, createVNode as h, TransitionGroup as rn, Fragment as ke, renderList as Ue, withModifiers as Me, toDisplayString as J, toRaw as Fe, computed as W, h as Re, getCurrentInstance as Qt, normalizeStyle as he, resolveDynamicComponent as Ce, createCommentVNode as $, createTextVNode as pe, shallowRef as ln, nextTick as Le, isRef as an, onBeforeMount as yt, withDirectives as me, vShow as xe, reactive as At, createStaticVNode as sn, onBeforeUnmount as wt, Transition as bt, KeepAlive as Ft, resolveDirective as st, renderSlot as un, onUnmounted as cn } from "vue";
|
|
2
2
|
import "animate.css";
|
|
3
|
-
import { a as dn, b as ce, s as fn, g as Rt, u as it, _ as be, c as He, t as Pe, f as at, d as kt, e as Ie, h as we, i as Ne, k as Ze, j as ye, l as hn, r as qt, m as Nt, n as pn, o as mn, p as vn, q as gn, v as yn, w as An, x as wn, F as bn, I as Tt, y as Bt, z as Je, A as vt, B as dt, C as xt, D as kn } from "./index-
|
|
3
|
+
import { a as dn, b as ce, s as fn, g as Rt, u as it, _ as be, c as He, t as Pe, f as at, d as kt, e as Ie, h as we, i as Ne, k as Ze, j as ye, l as hn, r as qt, m as Nt, n as pn, o as mn, p as vn, q as gn, v as yn, w as An, x as wn, F as bn, I as Tt, y as Bt, z as Je, A as vt, B as dt, C as xt, D as kn } from "./index-BIkiQ8sW.js";
|
|
4
4
|
import { iconSet as xn, useGlobal as ut, storageLocal as Ve, cookies as lt, hasClass as nt, toggleClass as De, delay as Pn, useDark as Kt, useDebounce as We, deviceDetection as Hn } from "@utogether/utils";
|
|
5
5
|
import { useI18n as ct } from "vue-i18n";
|
|
6
6
|
import { useResizeObserver as Pt, useDebounceFn as Et, onKeyStroke as ft, useEventListener as Un, useFullscreen as Sn, onClickOutside as Xt, templateRef as ht } from "@vueuse/core";
|
|
7
7
|
import { defineStore as Cn, storeToRefs as Vn } from "pinia";
|
|
8
|
-
import { isEqual as _e, isArray as
|
|
8
|
+
import { isEqual as _e, isArray as zn, clone as jn, isBoolean as Dt, isEmpty as ot } from "xe-utils";
|
|
9
9
|
import { useRoute as Ye, useRouter as $e } from "vue-router";
|
|
10
10
|
import { t as It } from "./await-to-js.es5-BtRbN2QH.js";
|
|
11
11
|
import { VxeUI as Mt } from "vxe-table";
|
|
@@ -161,8 +161,8 @@ const to = ["title"], no = ["fill"], oo = /* @__PURE__ */ se({
|
|
|
161
161
|
class: re(v.classes.container),
|
|
162
162
|
title: u.isActive ? v.$t("message.udp.collapse") : v.$t("message.udp.expand"),
|
|
163
163
|
onClick: k,
|
|
164
|
-
onMouseenter: i[0] || (i[0] = (
|
|
165
|
-
onMouseleave: i[1] || (i[1] = (
|
|
164
|
+
onMouseenter: i[0] || (i[0] = (j) => m.value = e(it)().epThemeColor),
|
|
165
|
+
onMouseleave: i[1] || (i[1] = (j) => m.value = "")
|
|
166
166
|
}, [
|
|
167
167
|
(d(), F("svg", {
|
|
168
168
|
fill: m.value,
|
|
@@ -195,7 +195,7 @@ const to = ["title"], no = ["fill"], oo = /* @__PURE__ */ se({
|
|
|
195
195
|
}) : x = at(m.currentRoute.value.path, w);
|
|
196
196
|
const A = kt(m.currentRoute.value.name, w, "name");
|
|
197
197
|
let c = [];
|
|
198
|
-
|
|
198
|
+
zn(A) && (A == null || A.forEach((g) => {
|
|
199
199
|
g !== "/" && c.push(at(g, w));
|
|
200
200
|
})), (x == null ? void 0 : x.path) !== "/welcome" && c.push(x), v(c[0]) || (c = [
|
|
201
201
|
{
|
|
@@ -209,7 +209,7 @@ const to = ["title"], no = ["fill"], oo = /* @__PURE__ */ se({
|
|
|
209
209
|
((l = t == null ? void 0 : t.meta) == null ? void 0 : l.title) === ((a = g == null ? void 0 : g.meta) == null ? void 0 : a.title) && c.splice(n, 1);
|
|
210
210
|
});
|
|
211
211
|
}), u.value = c.filter((g) => (g == null ? void 0 : g.meta) && (g == null ? void 0 : g.meta.title) !== !1);
|
|
212
|
-
},
|
|
212
|
+
}, j = (x) => {
|
|
213
213
|
const { redirect: A, name: c, path: g, query: n, params: t } = x;
|
|
214
214
|
A ? m.push(A) : c ? n ? m.push({ name: c, query: n }) : t ? m.push({ name: c, params: t }) : m.push({ name: c }) : m.push({ path: g });
|
|
215
215
|
};
|
|
@@ -239,7 +239,7 @@ const to = ["title"], no = ["fill"], oo = /* @__PURE__ */ se({
|
|
|
239
239
|
}, {
|
|
240
240
|
default: V(() => [
|
|
241
241
|
b("a", {
|
|
242
|
-
onClick: Me((t) =>
|
|
242
|
+
onClick: Me((t) => j(n), ["prevent"])
|
|
243
243
|
}, J(e(Pe)(n.meta.title)), 9, io)
|
|
244
244
|
]),
|
|
245
245
|
_: 2
|
|
@@ -263,7 +263,7 @@ function Te() {
|
|
|
263
263
|
})), w = W(() => (y, _) => ({
|
|
264
264
|
background: y === _ ? it().epThemeColor : "",
|
|
265
265
|
color: y === _ ? "#f4f4f5" : "#000"
|
|
266
|
-
})), k = W(() => (y, _) => y === _ ? "" : "dark:hover:text-primary!"), v = W(() => Ne().getUserInfo || {}), i = W(() => v.value ? { marginRight: "10px" } : ""),
|
|
266
|
+
})), k = W(() => (y, _) => y === _ ? "" : "dark:hover:text-primary!"), v = W(() => Ne().getUserInfo || {}), i = W(() => v.value ? { marginRight: "10px" } : ""), j = W(() => !s.getSidebarStatus), x = W(() => s.getDevice), { $storage: A } = ut(), c = W(() => {
|
|
267
267
|
var y;
|
|
268
268
|
return (y = A == null ? void 0 : A.layout) == null ? void 0 : y.layout;
|
|
269
269
|
}), g = W(() => {
|
|
@@ -327,7 +327,7 @@ function Te() {
|
|
|
327
327
|
menuSelect: B,
|
|
328
328
|
handleResize: P,
|
|
329
329
|
resolvePath: R,
|
|
330
|
-
isCollapse:
|
|
330
|
+
isCollapse: j,
|
|
331
331
|
appHook: s,
|
|
332
332
|
userInfo: v,
|
|
333
333
|
avatarsStyle: i,
|
|
@@ -396,7 +396,7 @@ const Zt = { render: ho }, po = {
|
|
|
396
396
|
},
|
|
397
397
|
emits: ["update:value", "enter"],
|
|
398
398
|
setup(s, { expose: o, emit: u }) {
|
|
399
|
-
const m = O(), w = O(), k = s, v = u, i = Qt(),
|
|
399
|
+
const m = O(), w = O(), k = s, v = u, i = Qt(), j = W(() => (t) => ({
|
|
400
400
|
background: (t == null ? void 0 : t.path) === x.value ? it().epThemeColor : "",
|
|
401
401
|
color: t.path === x.value ? "#fff" : "",
|
|
402
402
|
fontSize: t.path === x.value ? "16px" : "14px"
|
|
@@ -441,7 +441,7 @@ const Zt = { render: ho }, po = {
|
|
|
441
441
|
ref_for: !0,
|
|
442
442
|
ref: "resultItemRef" + f,
|
|
443
443
|
class: "result-item dark:bg-[#1d1d1d]",
|
|
444
|
-
style: he(
|
|
444
|
+
style: he(j.value(a)),
|
|
445
445
|
onClick: c,
|
|
446
446
|
onMouseenter: (B) => A(a)
|
|
447
447
|
}, [
|
|
@@ -512,7 +512,7 @@ const bo = { render: wo }, ko = {
|
|
|
512
512
|
]);
|
|
513
513
|
};
|
|
514
514
|
}
|
|
515
|
-
}),
|
|
515
|
+
}), zo = /* @__PURE__ */ be(Vo, [["__scopeId", "data-v-85abe979"]]), jo = {
|
|
516
516
|
width: 24,
|
|
517
517
|
height: 24,
|
|
518
518
|
body: '<path fill="currentColor" d="m18.031 16.617l4.283 4.282l-1.415 1.415l-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9s9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617Zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.867-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15Z"/>'
|
|
@@ -523,7 +523,7 @@ const bo = { render: wo }, ko = {
|
|
|
523
523
|
},
|
|
524
524
|
emits: ["update:value"],
|
|
525
525
|
setup(s, { emit: o }) {
|
|
526
|
-
const { device: u } = Te(), m = o, w = s, k = $e(), v = O(""), i = O(""),
|
|
526
|
+
const { device: u } = Te(), m = o, w = s, k = $e(), v = O(""), i = O(""), j = O(), x = O(), A = O(null), c = ln([]), g = Et(a, 300), n = W(() => jn(we().wholeMenus)), t = W({
|
|
527
527
|
get() {
|
|
528
528
|
return w.value;
|
|
529
529
|
},
|
|
@@ -561,7 +561,7 @@ const bo = { render: wo }, ko = {
|
|
|
561
561
|
}
|
|
562
562
|
function P(q) {
|
|
563
563
|
const y = x.value.handleScroll(q);
|
|
564
|
-
|
|
564
|
+
j.value.setScrollTop(y);
|
|
565
565
|
}
|
|
566
566
|
function R() {
|
|
567
567
|
const { length: q } = c.value;
|
|
@@ -580,7 +580,7 @@ const bo = { render: wo }, ko = {
|
|
|
580
580
|
q === 0 || i.value === "" || (k.push(i.value), f());
|
|
581
581
|
}
|
|
582
582
|
return ft("Enter", M), ft("ArrowUp", R), ft("ArrowDown", B), (q, y) => {
|
|
583
|
-
const _ = T("IconifyIconOffline"), K = T("el-input"), Q = T("el-empty"),
|
|
583
|
+
const _ = T("IconifyIconOffline"), K = T("el-input"), Q = T("el-empty"), z = T("el-scrollbar"), N = T("el-dialog");
|
|
584
584
|
return d(), G(N, {
|
|
585
585
|
modelValue: t.value,
|
|
586
586
|
"onUpdate:modelValue": y[2] || (y[2] = (Z) => t.value = Z),
|
|
@@ -598,7 +598,7 @@ const bo = { render: wo }, ko = {
|
|
|
598
598
|
onClosed: y[4] || (y[4] = (Z) => A.value.blur())
|
|
599
599
|
}, {
|
|
600
600
|
footer: V(() => [
|
|
601
|
-
h(
|
|
601
|
+
h(zo, {
|
|
602
602
|
total: c.value.length
|
|
603
603
|
}, null, 8, ["total"])
|
|
604
604
|
]),
|
|
@@ -615,16 +615,16 @@ const bo = { render: wo }, ko = {
|
|
|
615
615
|
}, {
|
|
616
616
|
prefix: V(() => [
|
|
617
617
|
h(_, {
|
|
618
|
-
icon: e(
|
|
618
|
+
icon: e(jo),
|
|
619
619
|
class: "text-primary w-[24px] h-[24px]"
|
|
620
620
|
}, null, 8, ["icon"])
|
|
621
621
|
]),
|
|
622
622
|
_: 1
|
|
623
623
|
}, 8, ["modelValue", "placeholder", "onInput"]),
|
|
624
624
|
b("div", Fo, [
|
|
625
|
-
h(
|
|
625
|
+
h(z, {
|
|
626
626
|
ref_key: "scrollbarRef",
|
|
627
|
-
ref:
|
|
627
|
+
ref: j,
|
|
628
628
|
"max-height": "calc(90vh - 140px)"
|
|
629
629
|
}, {
|
|
630
630
|
default: V(() => [
|
|
@@ -700,8 +700,8 @@ const Ut = /* @__PURE__ */ se({
|
|
|
700
700
|
setup(s) {
|
|
701
701
|
const o = Ye(), u = $e(), m = W(() => Ne().getOrglist), w = W(() => Ne().getOrgId), k = async (i) => {
|
|
702
702
|
var x, A;
|
|
703
|
-
const [
|
|
704
|
-
if (!
|
|
703
|
+
const [j] = await It(Bt().post("/uums/org/toggle", { orgId: i }));
|
|
704
|
+
if (!j) {
|
|
705
705
|
Ne().setOrgId(i);
|
|
706
706
|
let c;
|
|
707
707
|
const g = { pageSize: 100, pageNum: 1 }, [n, t] = await It(Bt().get("/uums/cusOrganization", g));
|
|
@@ -715,18 +715,18 @@ const Ut = /* @__PURE__ */ se({
|
|
|
715
715
|
}
|
|
716
716
|
};
|
|
717
717
|
function v() {
|
|
718
|
-
const { fullPath: i, query:
|
|
718
|
+
const { fullPath: i, query: j } = e(o);
|
|
719
719
|
u.replace({
|
|
720
720
|
path: "/redirect" + i,
|
|
721
|
-
query:
|
|
721
|
+
query: j
|
|
722
722
|
});
|
|
723
723
|
}
|
|
724
|
-
return (i,
|
|
724
|
+
return (i, j) => {
|
|
725
725
|
const x = T("el-option"), A = T("el-select");
|
|
726
726
|
return d(), F("div", Bo, [
|
|
727
727
|
h(A, {
|
|
728
728
|
modelValue: w.value,
|
|
729
|
-
"onUpdate:modelValue":
|
|
729
|
+
"onUpdate:modelValue": j[0] || (j[0] = (c) => w.value = c),
|
|
730
730
|
size: "small",
|
|
731
731
|
onChange: k
|
|
732
732
|
}, {
|
|
@@ -765,7 +765,7 @@ function Ct(s) {
|
|
|
765
765
|
function i() {
|
|
766
766
|
o.locale = { locale: "zh" }, w.value = "zh", Mt.setLanguage("zh-CN"), s && m(s.value);
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function j() {
|
|
769
769
|
o.locale = { locale: "en" }, w.value = "en", Mt.setLanguage("en-US"), s && m(s.value);
|
|
770
770
|
}
|
|
771
771
|
return qe(
|
|
@@ -781,7 +781,7 @@ function Ct(s) {
|
|
|
781
781
|
route: v,
|
|
782
782
|
locale: w,
|
|
783
783
|
translationCh: i,
|
|
784
|
-
translationEn:
|
|
784
|
+
translationEn: j
|
|
785
785
|
};
|
|
786
786
|
}
|
|
787
787
|
const Mo = {
|
|
@@ -809,7 +809,7 @@ const Vt = { render: _o }, Lo = {
|
|
|
809
809
|
const o = O(), { route: u, locale: m, translationCh: w, translationEn: k } = Ct(o), {
|
|
810
810
|
device: v,
|
|
811
811
|
logout: i,
|
|
812
|
-
onPanel:
|
|
812
|
+
onPanel: j,
|
|
813
813
|
toggleSideBar: x,
|
|
814
814
|
resolvePath: A,
|
|
815
815
|
appHook: c,
|
|
@@ -822,8 +822,8 @@ const Vt = { render: _o }, Lo = {
|
|
|
822
822
|
} = Te(), P = O(null), R = O(null), B = {}, M = O(!1), q = Ve.getItem(Ze) || {};
|
|
823
823
|
function y(Q) {
|
|
824
824
|
var Z, le;
|
|
825
|
-
const
|
|
826
|
-
R.value = (le = (Z = at(N,
|
|
825
|
+
const z = we().wholeMenus, N = kt(Q, z)[0];
|
|
826
|
+
R.value = (le = (Z = at(N, z)) == null ? void 0 : Z.children[0]) == null ? void 0 : le.path;
|
|
827
827
|
}
|
|
828
828
|
Ge(() => {
|
|
829
829
|
y(u.path);
|
|
@@ -839,16 +839,16 @@ const Vt = { render: _o }, Lo = {
|
|
|
839
839
|
const _ = () => {
|
|
840
840
|
B.id = g.id, M.value = !0;
|
|
841
841
|
}, K = (Q) => {
|
|
842
|
-
const
|
|
843
|
-
N.setScrollLeft(N.wrapRef.scrollLeft +
|
|
842
|
+
const z = Q.wheelDelta || -Q.deltaY * 40, N = P.value;
|
|
843
|
+
N.setScrollLeft(N.wrapRef.scrollLeft + z);
|
|
844
844
|
};
|
|
845
|
-
return (Q,
|
|
845
|
+
return (Q, z) => {
|
|
846
846
|
const N = T("el-menu-item"), Z = T("el-menu"), le = T("el-scrollbar"), fe = T("IconifyIconOffline"), ie = T("el-dropdown-item"), r = T("el-dropdown-menu"), p = T("el-dropdown"), H = T("el-divider"), Y = T("ut-modal-form");
|
|
847
847
|
return e(v) !== "mobile" ? (d(), F("div", Lo, [
|
|
848
848
|
b("div", {
|
|
849
849
|
class: re(Q.classes.container),
|
|
850
850
|
title: e(c).sidebar.opened ? Q.$t("message.udp.collapse") : Q.$t("message.udp.expand"),
|
|
851
|
-
onClick:
|
|
851
|
+
onClick: z[0] || (z[0] = //@ts-ignore
|
|
852
852
|
(...E) => e(x) && e(x)(...E))
|
|
853
853
|
}, [
|
|
854
854
|
(d(), F("svg", {
|
|
@@ -858,7 +858,7 @@ const Vt = { render: _o }, Lo = {
|
|
|
858
858
|
xmlns: "http://www.w3.org/2000/svg",
|
|
859
859
|
width: "64",
|
|
860
860
|
height: "64"
|
|
861
|
-
},
|
|
861
|
+
}, z[3] || (z[3] = [
|
|
862
862
|
b("path", { d: "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z" }, null, -1)
|
|
863
863
|
]), 10, Oo))
|
|
864
864
|
], 10, Go),
|
|
@@ -927,7 +927,7 @@ const Vt = { render: _o }, Lo = {
|
|
|
927
927
|
], 512), [
|
|
928
928
|
[xe, e(m) === "zh"]
|
|
929
929
|
]),
|
|
930
|
-
|
|
930
|
+
z[4] || (z[4] = pe(" 简体中文 "))
|
|
931
931
|
]),
|
|
932
932
|
_: 1
|
|
933
933
|
}, 8, ["style", "class", "onClick"]),
|
|
@@ -942,7 +942,7 @@ const Vt = { render: _o }, Lo = {
|
|
|
942
942
|
], 512), [
|
|
943
943
|
[xe, e(m) === "en"]
|
|
944
944
|
]),
|
|
945
|
-
|
|
945
|
+
z[5] || (z[5] = pe(" English "))
|
|
946
946
|
]),
|
|
947
947
|
_: 1
|
|
948
948
|
}, 8, ["style", "class", "onClick"])
|
|
@@ -992,8 +992,8 @@ const Vt = { render: _o }, Lo = {
|
|
|
992
992
|
}),
|
|
993
993
|
b("span", {
|
|
994
994
|
class: "el-icon-setting navbar-bg-hover",
|
|
995
|
-
onClick:
|
|
996
|
-
(...E) => e(
|
|
995
|
+
onClick: z[1] || (z[1] = //@ts-ignore
|
|
996
|
+
(...E) => e(j) && e(j)(...E))
|
|
997
997
|
}, [
|
|
998
998
|
h(fe, { icon: "ri:settings-5-fill" })
|
|
999
999
|
])
|
|
@@ -1008,7 +1008,7 @@ const Vt = { render: _o }, Lo = {
|
|
|
1008
1008
|
"data-status": "update",
|
|
1009
1009
|
url: "/uums/user/updatePwd",
|
|
1010
1010
|
method: "put",
|
|
1011
|
-
onClose:
|
|
1011
|
+
onClose: z[2] || (z[2] = (E) => M.value = !1)
|
|
1012
1012
|
}, null, 8, ["items", "title"])) : $("", !0)
|
|
1013
1013
|
])) : $("", !0);
|
|
1014
1014
|
};
|
|
@@ -1030,7 +1030,7 @@ const Vt = { render: _o }, Lo = {
|
|
|
1030
1030
|
toggleSideBar: k,
|
|
1031
1031
|
appHook: v,
|
|
1032
1032
|
userInfo: i,
|
|
1033
|
-
avatarsStyle:
|
|
1033
|
+
avatarsStyle: j,
|
|
1034
1034
|
setDocumentTitle: x,
|
|
1035
1035
|
getDropdownItemStyle: A,
|
|
1036
1036
|
getDropdownItemClass: c,
|
|
@@ -1126,15 +1126,15 @@ const Vt = { render: _o }, Lo = {
|
|
|
1126
1126
|
})
|
|
1127
1127
|
]),
|
|
1128
1128
|
default: V(() => {
|
|
1129
|
-
var
|
|
1129
|
+
var z;
|
|
1130
1130
|
return [
|
|
1131
1131
|
b("span", lr, [
|
|
1132
1132
|
e(Ee) ? (d(), F("img", {
|
|
1133
1133
|
key: 0,
|
|
1134
1134
|
src: e(Ee),
|
|
1135
|
-
style: he(e(
|
|
1135
|
+
style: he(e(j))
|
|
1136
1136
|
}, null, 12, ar)) : $("", !0),
|
|
1137
|
-
b("p", sr, J((
|
|
1137
|
+
b("p", sr, J((z = e(i)) == null ? void 0 : z.name), 1)
|
|
1138
1138
|
])
|
|
1139
1139
|
];
|
|
1140
1140
|
}),
|
|
@@ -1143,7 +1143,7 @@ const Vt = { render: _o }, Lo = {
|
|
|
1143
1143
|
b("span", {
|
|
1144
1144
|
class: "el-icon-setting navbar-bg-hover",
|
|
1145
1145
|
onClick: B[0] || (B[0] = //@ts-ignore
|
|
1146
|
-
(...
|
|
1146
|
+
(...z) => e(w) && e(w)(...z))
|
|
1147
1147
|
}, [
|
|
1148
1148
|
h(M, { icon: "ri:settings-5-fill" })
|
|
1149
1149
|
])
|
|
@@ -1158,7 +1158,7 @@ const Vt = { render: _o }, Lo = {
|
|
|
1158
1158
|
title: R.$t("message.udp.passwordReset"),
|
|
1159
1159
|
url: "/uums/user/updatePwd",
|
|
1160
1160
|
method: "put",
|
|
1161
|
-
onClose: B[1] || (B[1] = (
|
|
1161
|
+
onClose: B[1] || (B[1] = (z) => o.value = !1)
|
|
1162
1162
|
}, null, 8, ["items", "title"])) : $("", !0)
|
|
1163
1163
|
]);
|
|
1164
1164
|
};
|
|
@@ -1166,7 +1166,7 @@ const Vt = { render: _o }, Lo = {
|
|
|
1166
1166
|
}), cr = /* @__PURE__ */ be(ur, [["__scopeId", "data-v-5ef6e7ca"]]);
|
|
1167
1167
|
function Yt() {
|
|
1168
1168
|
var K, Q;
|
|
1169
|
-
const s = Ye(), o = $e(), u = Qt(), m = Ht(), w = O(0), k = O(0), v = O(0), i = O(!1),
|
|
1169
|
+
const s = Ye(), o = $e(), u = Qt(), m = Ht(), w = O(0), k = O(0), v = O(0), i = O(!1), j = O(-1), x = O({}), A = O(((K = Ve.getItem(`${Je()}configure`)) == null ? void 0 : K.showModel) || "smart"), c = O((Q = Ve.getItem(`${Je()}configure`)) == null ? void 0 : Q.hideTabs) ?? O("false"), g = W(() => He().multiTags), n = At([
|
|
1170
1170
|
{
|
|
1171
1171
|
icon: "refresh-right",
|
|
1172
1172
|
text: "message.udp.reload",
|
|
@@ -1224,38 +1224,38 @@ function Yt() {
|
|
|
1224
1224
|
show: !0
|
|
1225
1225
|
}
|
|
1226
1226
|
]);
|
|
1227
|
-
function t(
|
|
1227
|
+
function t(z, N, Z) {
|
|
1228
1228
|
var ie, r;
|
|
1229
|
-
const le = s.name || "", fe =
|
|
1230
|
-
return Dt((ie = s == null ? void 0 : s.meta) == null ? void 0 : ie.showLink) && ((r = s == null ? void 0 : s.meta) == null ? void 0 : r.showLink) === !1 ? Object.keys(s.query).length > 0 ? le === fe && _e(s.query,
|
|
1229
|
+
const le = s.name || "", fe = z.name || "";
|
|
1230
|
+
return Dt((ie = s == null ? void 0 : s.meta) == null ? void 0 : ie.showLink) && ((r = s == null ? void 0 : s.meta) == null ? void 0 : r.showLink) === !1 ? Object.keys(s.query).length > 0 ? le === fe && _e(s.query, z.query) ? N : Z : z.params ? le === fe && _e(s.params, z.params) ? N : Z : le === fe ? N : Z : le === fe ? N : Z;
|
|
1231
1231
|
}
|
|
1232
|
-
const l = W(() => (
|
|
1232
|
+
const l = W(() => (z) => {
|
|
1233
1233
|
var N, Z;
|
|
1234
|
-
return Dt((N =
|
|
1235
|
-
}), a = W(() => (
|
|
1234
|
+
return Dt((N = z == null ? void 0 : z.meta) == null ? void 0 : N.fixedTag) && ((Z = z == null ? void 0 : z.meta) == null ? void 0 : Z.fixedTag) === !0;
|
|
1235
|
+
}), a = W(() => (z, N) => {
|
|
1236
1236
|
if (N !== 0)
|
|
1237
|
-
return t(
|
|
1238
|
-
}), f = W(() => (
|
|
1237
|
+
return t(z, !0, !1);
|
|
1238
|
+
}), f = W(() => (z) => t(z, "is-active", "")), P = W(() => (z) => t(z, "schedule-active", "")), R = W(() => ({
|
|
1239
1239
|
transform: `translateX(${v.value}px)`
|
|
1240
1240
|
})), B = W(() => ({ left: k.value + "px", top: w.value + "px" })), M = () => {
|
|
1241
1241
|
i.value = !1;
|
|
1242
1242
|
};
|
|
1243
|
-
function q(
|
|
1244
|
-
if (
|
|
1245
|
-
if (nt(u.refs["schedule" +
|
|
1246
|
-
De(!0, "schedule-in", u.refs["schedule" +
|
|
1243
|
+
function q(z) {
|
|
1244
|
+
if (z && (j.value = z), e(A) === "smart") {
|
|
1245
|
+
if (nt(u.refs["schedule" + z][0], "schedule-active")) return;
|
|
1246
|
+
De(!0, "schedule-in", u.refs["schedule" + z][0]), De(!1, "schedule-out", u.refs["schedule" + z][0]);
|
|
1247
1247
|
} else {
|
|
1248
|
-
if (nt(u.refs["dynamic" +
|
|
1249
|
-
De(!0, "card-in", u.refs["dynamic" +
|
|
1248
|
+
if (nt(u.refs["dynamic" + z][0], "is-active")) return;
|
|
1249
|
+
De(!0, "card-in", u.refs["dynamic" + z][0]), De(!1, "card-out", u.refs["dynamic" + z][0]);
|
|
1250
1250
|
}
|
|
1251
1251
|
}
|
|
1252
|
-
function y(
|
|
1253
|
-
if (
|
|
1254
|
-
if (nt(u.refs["schedule" +
|
|
1255
|
-
De(!1, "schedule-in", u.refs["schedule" +
|
|
1252
|
+
function y(z) {
|
|
1253
|
+
if (j.value = -1, e(A) === "smart") {
|
|
1254
|
+
if (nt(u.refs["schedule" + z][0], "schedule-active")) return;
|
|
1255
|
+
De(!1, "schedule-in", u.refs["schedule" + z][0]), De(!0, "schedule-out", u.refs["schedule" + z][0]);
|
|
1256
1256
|
} else {
|
|
1257
|
-
if (nt(u.refs["dynamic" +
|
|
1258
|
-
De(!1, "card-in", u.refs["dynamic" +
|
|
1257
|
+
if (nt(u.refs["dynamic" + z][0], "is-active")) return;
|
|
1258
|
+
De(!1, "card-in", u.refs["dynamic" + z][0]), De(!0, "card-out", u.refs["dynamic" + z][0]);
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
1261
|
function _() {
|
|
@@ -1263,8 +1263,8 @@ function Yt() {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
return Ge(() => {
|
|
1265
1265
|
if (!A.value) {
|
|
1266
|
-
const
|
|
1267
|
-
|
|
1266
|
+
const z = Ve.getItem(`${Je()}configure`);
|
|
1267
|
+
z.showModel = "card", Ve.setItem(`${Je()}configure`, z);
|
|
1268
1268
|
}
|
|
1269
1269
|
}), qe(
|
|
1270
1270
|
() => i.value,
|
|
@@ -1285,7 +1285,7 @@ function Yt() {
|
|
|
1285
1285
|
translateX: v,
|
|
1286
1286
|
isFixedTag: l,
|
|
1287
1287
|
SuSetting: m,
|
|
1288
|
-
activeIndex:
|
|
1288
|
+
activeIndex: j,
|
|
1289
1289
|
getTabStyle: R,
|
|
1290
1290
|
iconIsActive: a,
|
|
1291
1291
|
linkIsActive: f,
|
|
@@ -1312,7 +1312,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1312
1312
|
}, wr = { class: "chrome-tab__bg" }, br = { class: "tag-title" }, kr = ["onClick"], xr = { class: "arrow-right" }, Pr = ["onClick"], Hr = { class: "arrow-down" }, Ur = { name: "LayoutTag" }, Sr = /* @__PURE__ */ se({
|
|
1313
1313
|
...Ur,
|
|
1314
1314
|
setup(s) {
|
|
1315
|
-
var
|
|
1315
|
+
var zt;
|
|
1316
1316
|
const {
|
|
1317
1317
|
route: o,
|
|
1318
1318
|
router: u,
|
|
@@ -1321,7 +1321,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1321
1321
|
instance: k,
|
|
1322
1322
|
multiTags: v,
|
|
1323
1323
|
tagsViews: i,
|
|
1324
|
-
buttonTop:
|
|
1324
|
+
buttonTop: j,
|
|
1325
1325
|
buttonLeft: x,
|
|
1326
1326
|
showModel: A,
|
|
1327
1327
|
translateX: c,
|
|
@@ -1340,7 +1340,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1340
1340
|
onMouseleave: _,
|
|
1341
1341
|
transformI18n: K,
|
|
1342
1342
|
onContentFullScreen: Q
|
|
1343
|
-
} = Yt(),
|
|
1343
|
+
} = Yt(), z = Ht(), N = O(), Z = O(), le = O(), fe = O(), ie = O(!1), r = (zt = vt()) == null ? void 0 : zt.path, { isFullscreen: p, toggle: H } = Sn(), Y = [...Nt, ...we().flatteningRoutes.filter((S) => {
|
|
1344
1344
|
var D;
|
|
1345
1345
|
return (D = S == null ? void 0 : S.meta) == null ? void 0 : D.fixedTag;
|
|
1346
1346
|
})], E = async () => {
|
|
@@ -1380,7 +1380,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1380
1380
|
}), dt(o, "refresh");
|
|
1381
1381
|
}
|
|
1382
1382
|
function Ae(S, D, L) {
|
|
1383
|
-
var I, ne,
|
|
1383
|
+
var I, ne, je, Be;
|
|
1384
1384
|
const ee = v.value.findIndex((de) => {
|
|
1385
1385
|
if (de.query) {
|
|
1386
1386
|
if (de.path === S.path)
|
|
@@ -1403,7 +1403,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1403
1403
|
(I = X[0]) != null && I.query ? u.push({ name: X[0].name, query: X[0].query }) : (ne = X[0]) != null && ne.params ? u.push({ name: X[0].name, params: X[0].params }) : u.push({ path: X[0].path });
|
|
1404
1404
|
} else {
|
|
1405
1405
|
if (!v.value.length || v.value.some((de) => de.path === o.path)) return;
|
|
1406
|
-
(
|
|
1406
|
+
(je = X[0]) != null && je.query ? u.push({ name: X[0].name, query: X[0].query }) : (Be = X[0]) != null && Be.params ? u.push({ name: X[0].name, params: X[0].params }) : u.push({ path: X[0].path });
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
1409
|
function ge(S, D) {
|
|
@@ -1455,7 +1455,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1455
1455
|
Oe(o.fullPath, o.query, o.params);
|
|
1456
1456
|
});
|
|
1457
1457
|
}
|
|
1458
|
-
function
|
|
1458
|
+
function ze(S) {
|
|
1459
1459
|
const { key: D, item: L } = S;
|
|
1460
1460
|
Se(D, L);
|
|
1461
1461
|
}
|
|
@@ -1473,13 +1473,13 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1473
1473
|
}), D && (i[2].show = !1, i[2].disabled = !0);
|
|
1474
1474
|
}
|
|
1475
1475
|
function Oe(S, D = {}, L = {}, ee = !1) {
|
|
1476
|
-
var
|
|
1476
|
+
var je, Be, de, tt;
|
|
1477
1477
|
const ue = v.value, X = v.value.length;
|
|
1478
1478
|
let I = -1;
|
|
1479
1479
|
ot(L) ? ot(D) ? I = ue.findIndex((ve) => ve.path === S) : I = ue.findIndex((ve) => _e(ve.query, D)) : I = ue.findIndex((ve) => _e(ve.params, L));
|
|
1480
1480
|
function ne() {
|
|
1481
|
-
var ve,
|
|
1482
|
-
(
|
|
1481
|
+
var ve, jt;
|
|
1482
|
+
(jt = (ve = ue[I]) == null ? void 0 : ve.meta) != null && jt.fixedTag && Array.of(1, 2, 3, 4, 5).forEach((on) => {
|
|
1483
1483
|
i[on].disabled = !0;
|
|
1484
1484
|
});
|
|
1485
1485
|
}
|
|
@@ -1489,13 +1489,13 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1489
1489
|
i[ve].show = !1, i[ve].disabled = !0;
|
|
1490
1490
|
}), ne()) : X - 1 === I && I !== 0 ? (i[3].show = !1, Array.of(1, 2, 4, 5).forEach((ve) => {
|
|
1491
1491
|
i[ve].disabled = !1;
|
|
1492
|
-
}), i[3].disabled = !0, (Be = (
|
|
1492
|
+
}), i[3].disabled = !0, (Be = (je = ue[I - 1]) == null ? void 0 : je.meta) != null && Be.fixedTag && (i[2].show = !1, i[2].disabled = !0), ne()) : I === 0 || S === `/redirect${r}` ? et(!0) : (et(!1, (tt = (de = ue[I - 1]) == null ? void 0 : de.meta) == null ? void 0 : tt.fixedTag), ne());
|
|
1493
1493
|
}
|
|
1494
1494
|
function tn(S, D) {
|
|
1495
1495
|
var ne;
|
|
1496
1496
|
M(), S.path === "/welcome" || (ne = S == null ? void 0 : S.meta) != null && ne.fixedTag ? (Xe(!1), i[0].show = !0) : o.path !== S.path && o.name !== S.name ? (i[0].show = !1, Oe(S.path, S.query, S.params)) : v.value.length === 2 && o.path !== S.path ? (Xe(!0), i[4].show = !1, Oe(S.path, S.query, S.params)) : o.path === S.path && Oe(S.path, S.query, S.params, !0), P.value = S;
|
|
1497
1497
|
const L = 140, ee = e(Z).getBoundingClientRect().left, X = e(Z).offsetWidth - L, I = D.clientX - ee + 5;
|
|
1498
|
-
I > X ? x.value = X : x.value = I,
|
|
1498
|
+
I > X ? x.value = X : x.value = I, z.hiddenSideBar ? j.value = D.clientY : j.value = D.clientY - 40, Le(() => {
|
|
1499
1499
|
m.value = !0;
|
|
1500
1500
|
});
|
|
1501
1501
|
}
|
|
@@ -1560,7 +1560,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1560
1560
|
style: he(e(l))
|
|
1561
1561
|
}, [
|
|
1562
1562
|
(d(!0), F(ke, null, Ue(e(v), (I, ne) => {
|
|
1563
|
-
var
|
|
1563
|
+
var je, Be;
|
|
1564
1564
|
return d(), F("div", {
|
|
1565
1565
|
key: ne,
|
|
1566
1566
|
ref_for: !0,
|
|
@@ -1577,7 +1577,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1577
1577
|
onClick: (de) => nn(I)
|
|
1578
1578
|
}, [
|
|
1579
1579
|
e(A) !== "chrome" ? (d(), F(ke, { key: 0 }, [
|
|
1580
|
-
b("span", gr, J(e(K)((
|
|
1580
|
+
b("span", gr, J(e(K)((je = I == null ? void 0 : I.meta) == null ? void 0 : je.title)), 1),
|
|
1581
1581
|
!e(g)(I) && (e(a)(I, ne) || ne === e(t) && ne !== 0) ? (d(), F("span", {
|
|
1582
1582
|
key: 0,
|
|
1583
1583
|
class: "el-icon-close",
|
|
@@ -1632,7 +1632,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1632
1632
|
}, [
|
|
1633
1633
|
I.show ? (d(), F("li", {
|
|
1634
1634
|
key: 0,
|
|
1635
|
-
onClick: (
|
|
1635
|
+
onClick: (je) => ae(ne, I)
|
|
1636
1636
|
}, [
|
|
1637
1637
|
h(L, {
|
|
1638
1638
|
icon: I.icon
|
|
@@ -1649,7 +1649,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1649
1649
|
h(X, {
|
|
1650
1650
|
trigger: "click",
|
|
1651
1651
|
placement: "bottom-end",
|
|
1652
|
-
onCommand:
|
|
1652
|
+
onCommand: ze
|
|
1653
1653
|
}, {
|
|
1654
1654
|
dropdown: V(() => [
|
|
1655
1655
|
h(ue, null, {
|
|
@@ -1690,7 +1690,7 @@ const pr = /* @__PURE__ */ be(dr, [["render", hr]]), mr = { class: "arrow-left"
|
|
|
1690
1690
|
width: "24",
|
|
1691
1691
|
height: "24"
|
|
1692
1692
|
};
|
|
1693
|
-
function
|
|
1693
|
+
function zr(s, o) {
|
|
1694
1694
|
return d(), F("svg", Vr, o[0] || (o[0] = [
|
|
1695
1695
|
b("path", {
|
|
1696
1696
|
fill: "none",
|
|
@@ -1699,17 +1699,17 @@ function jr(s, o) {
|
|
|
1699
1699
|
b("path", { d: "M2.88 18.054a35.9 35.9 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0q.25.27.413.455a35.9 35.9 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44 44 0 0 1-6.584-.874m6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42 42 0 0 0 4.227-.454A33.9 33.9 0 0 0 12 4.09a33.9 33.9 0 0 0-6.649 12.387q2.093.334 4.227.454M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2" }, null, -1)
|
|
1700
1700
|
]));
|
|
1701
1701
|
}
|
|
1702
|
-
const $t = { render:
|
|
1702
|
+
const $t = { render: zr }, jr = { class: "h-full" }, Fr = { key: 1 }, Rr = /* @__PURE__ */ se({
|
|
1703
1703
|
__name: "index",
|
|
1704
1704
|
props: {
|
|
1705
1705
|
fixedHeader: Boolean
|
|
1706
1706
|
},
|
|
1707
1707
|
setup(s) {
|
|
1708
|
-
const o = s, { showModel: u } = Yt(), { t: m } = ct(), { $storage: w, $config: k } = ut(), v = W(() => k == null ? void 0 : k.KeepAlive), i = W(() => (g) => g.meta.transition),
|
|
1709
|
-
|
|
1710
|
-
!
|
|
1711
|
-
|
|
1712
|
-
!
|
|
1708
|
+
const o = s, { showModel: u } = Yt(), { t: m } = ct(), { $storage: w, $config: k } = ut(), v = W(() => k == null ? void 0 : k.KeepAlive), i = W(() => (g) => g.meta.transition), j = W(() => w == null ? void 0 : w.configure.hideTabs), x = W(() => (w == null ? void 0 : w.layout.layout) === "vertical"), A = W(() => window.top === window.self ? [
|
|
1709
|
+
j.value && x ? "padding-top: 48px;" : "",
|
|
1710
|
+
!j.value && x ? u.value == "chrome" ? "padding-top: 85px;" : "padding-top: 81px;" : "",
|
|
1711
|
+
j.value && !x.value ? "padding-top: 48px" : "",
|
|
1712
|
+
!j.value && !x.value ? u.value == "chrome" ? "padding-top: 85px;" : "padding-top: 81px;" : "",
|
|
1713
1713
|
o.fixedHeader ? "" : "padding-top: 0;"
|
|
1714
1714
|
] : "padding-top: 0"), c = se({
|
|
1715
1715
|
props: {
|
|
@@ -1746,9 +1746,10 @@ const $t = { render: jr }, zr = { class: "h-full" }, Fr = { key: 1 }, Rr = /* @_
|
|
|
1746
1746
|
default: V(({ Component: f, route: P }) => [
|
|
1747
1747
|
o.fixedHeader ? (d(), G(l, { key: 0 }, {
|
|
1748
1748
|
default: V(() => [
|
|
1749
|
-
b("div",
|
|
1749
|
+
b("div", jr, [
|
|
1750
1750
|
h(t, {
|
|
1751
1751
|
title: e(m)("message.udp.backtop"),
|
|
1752
|
+
style: { "z-index": "100" },
|
|
1752
1753
|
target: ".app-main .el-scrollbar__wrap"
|
|
1753
1754
|
}, {
|
|
1754
1755
|
default: V(() => [
|
|
@@ -1801,7 +1802,7 @@ const $t = { render: jr }, zr = { class: "h-full" }, Fr = { key: 1 }, Rr = /* @_
|
|
|
1801
1802
|
], 6);
|
|
1802
1803
|
};
|
|
1803
1804
|
}
|
|
1804
|
-
}), _t = /* @__PURE__ */ be(Rr, [["__scopeId", "data-v-
|
|
1805
|
+
}), _t = /* @__PURE__ */ be(Rr, [["__scopeId", "data-v-164edf1c"]]), qr = { class: "project-configuration border-0 border-b-[1px] border-solid border-[var(--pure-border-color)]" }, Tr = { class: "dark:text-white" }, Br = { class: "flex justify-end p-3 border-0 border-t-[1px] border-solid border-[var(--pure-border-color)]" }, Dr = /* @__PURE__ */ se({
|
|
1805
1806
|
__name: "index",
|
|
1806
1807
|
setup(s) {
|
|
1807
1808
|
const o = O(null), u = O(!1), m = W(() => [
|
|
@@ -1827,7 +1828,7 @@ const $t = { render: jr }, zr = { class: "h-full" }, Fr = { key: 1 }, Rr = /* @_
|
|
|
1827
1828
|
}), wt(() => {
|
|
1828
1829
|
ye.off("openPanel");
|
|
1829
1830
|
}), (k, v) => {
|
|
1830
|
-
const i = T("IconifyIconOffline"),
|
|
1831
|
+
const i = T("IconifyIconOffline"), j = T("el-scrollbar"), x = T("el-button"), A = st("tippy");
|
|
1831
1832
|
return d(), F("div", {
|
|
1832
1833
|
class: re({ show: u.value })
|
|
1833
1834
|
}, [
|
|
@@ -1857,7 +1858,7 @@ const $t = { render: jr }, zr = { class: "h-full" }, Fr = { key: 1 }, Rr = /* @_
|
|
|
1857
1858
|
}]
|
|
1858
1859
|
])
|
|
1859
1860
|
]),
|
|
1860
|
-
h(
|
|
1861
|
+
h(j, null, {
|
|
1861
1862
|
default: V(() => [
|
|
1862
1863
|
un(k.$slots, "default", {}, void 0, !0)
|
|
1863
1864
|
]),
|
|
@@ -1933,7 +1934,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
1933
1934
|
...ll,
|
|
1934
1935
|
setup(s) {
|
|
1935
1936
|
var E, oe;
|
|
1936
|
-
const { device: o } = Te(), { t: u } = ct(), { isDark: m } = Kt(), { $storage: w } = ut(), k = ht("mixRef", null), v = ht("verticalRef", null), i = ht("horizontalRef", null), { dataTheme:
|
|
1937
|
+
const { device: o } = Te(), { t: u } = ct(), { isDark: m } = Kt(), { $storage: w } = ut(), k = ht("mixRef", null), v = ht("verticalRef", null), i = ht("horizontalRef", null), { dataTheme: j, overallStyle: x, layoutTheme: A, themeColors: c, toggleClass: g, dataThemeChange: n, setLayoutThemeColor: t } = xt();
|
|
1937
1938
|
if (e(A)) {
|
|
1938
1939
|
const U = e(A).layout, C = e(A).theme;
|
|
1939
1940
|
document.documentElement.setAttribute("data-theme", C), ie(U);
|
|
@@ -1967,9 +1968,9 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
1967
1968
|
l.value = U, B("showModel", U), ye.emit("tagViewsShowModel", U);
|
|
1968
1969
|
}
|
|
1969
1970
|
function Q(U) {
|
|
1970
|
-
U === 1 && U !== 2 ?
|
|
1971
|
+
U === 1 && U !== 2 ? j.value = !0 : j.value = !1, x.value = le.value[U].theme, n(x.value), U === 2 && Y();
|
|
1971
1972
|
}
|
|
1972
|
-
function
|
|
1973
|
+
function z() {
|
|
1973
1974
|
e(a) ? B("showLogo", !0) : B("showLogo", !1), ye.emit("logoChange", e(a));
|
|
1974
1975
|
}
|
|
1975
1976
|
function N(U) {
|
|
@@ -2031,7 +2032,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2031
2032
|
});
|
|
2032
2033
|
const r = window.matchMedia("(prefers-color-scheme: dark)");
|
|
2033
2034
|
function p() {
|
|
2034
|
-
x.value === "system" && (r.matches ?
|
|
2035
|
+
x.value === "system" && (r.matches ? j.value = !0 : j.value = !1, n(x.value));
|
|
2035
2036
|
}
|
|
2036
2037
|
function H() {
|
|
2037
2038
|
r.removeEventListener("change", p);
|
|
@@ -2045,13 +2046,13 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2045
2046
|
Y(), f.greyVal && ((U = document.querySelector("html")) == null || U.classList.add("html-grey")), f.weakVal && ((C = document.querySelector("html")) == null || C.classList.add("html-weakness")), f.tabsVal && y();
|
|
2046
2047
|
});
|
|
2047
2048
|
}), cn(() => H), (U, C) => {
|
|
2048
|
-
const te = T("el-segmented"), Ae = T("IconifyIconOffline"), ge = T("el-icon"), Se = T("el-switch"),
|
|
2049
|
+
const te = T("el-segmented"), Ae = T("IconifyIconOffline"), ge = T("el-icon"), Se = T("el-switch"), ze = st("tippy");
|
|
2049
2050
|
return d(), G(Ir, null, {
|
|
2050
2051
|
default: V(() => [
|
|
2051
2052
|
b("div", Er, [
|
|
2052
2053
|
b("p", Xr, J(U.$t("message.udp.pageStyle")), 1),
|
|
2053
2054
|
h(te, {
|
|
2054
|
-
"model-value": e(x) === "system" ? 2 : e(
|
|
2055
|
+
"model-value": e(x) === "system" ? 2 : e(j) ? 1 : 0,
|
|
2055
2056
|
options: le.value,
|
|
2056
2057
|
onChange: Q
|
|
2057
2058
|
}, {
|
|
@@ -2095,7 +2096,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2095
2096
|
b("div", null, null, -1),
|
|
2096
2097
|
b("div", null, null, -1)
|
|
2097
2098
|
]), 2)), [
|
|
2098
|
-
[
|
|
2099
|
+
[ze, {
|
|
2099
2100
|
content: "左侧菜单",
|
|
2100
2101
|
zIndex: 41e3
|
|
2101
2102
|
}]
|
|
@@ -2110,7 +2111,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2110
2111
|
b("div", null, null, -1),
|
|
2111
2112
|
b("div", null, null, -1)
|
|
2112
2113
|
]), 2)), [
|
|
2113
|
-
[
|
|
2114
|
+
[ze, {
|
|
2114
2115
|
content: "顶部菜单",
|
|
2115
2116
|
zIndex: 41e3
|
|
2116
2117
|
}]
|
|
@@ -2125,7 +2126,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2125
2126
|
b("div", null, null, -1),
|
|
2126
2127
|
b("div", null, null, -1)
|
|
2127
2128
|
]), 2)), [
|
|
2128
|
-
[
|
|
2129
|
+
[ze, {
|
|
2129
2130
|
content: "混合菜单",
|
|
2130
2131
|
zIndex: 41e3
|
|
2131
2132
|
}]
|
|
@@ -2182,7 +2183,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2182
2183
|
"inactive-value": !1,
|
|
2183
2184
|
"active-text": "开",
|
|
2184
2185
|
"inactive-text": "关",
|
|
2185
|
-
onChange:
|
|
2186
|
+
onChange: z
|
|
2186
2187
|
}, null, 8, ["modelValue"])
|
|
2187
2188
|
]),
|
|
2188
2189
|
b("li", null, [
|
|
@@ -2212,9 +2213,9 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2212
2213
|
collapse: Boolean
|
|
2213
2214
|
},
|
|
2214
2215
|
setup(s) {
|
|
2215
|
-
const o = s, u = Ve.getItem(Ze) || {}, m = u.title, w = u.showTitle, k = O(u.logo || Jt);
|
|
2216
|
+
const o = s, u = Ve.getItem(Ze) || {}, m = u.title, w = O(u.showTitle), k = O(u.logo || Jt);
|
|
2216
2217
|
return (v, i) => {
|
|
2217
|
-
const
|
|
2218
|
+
const j = T("router-link");
|
|
2218
2219
|
return d(), F("div", {
|
|
2219
2220
|
class: re(["sidebar-logo-container", { collapses: o.collapse }])
|
|
2220
2221
|
}, [
|
|
@@ -2222,7 +2223,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2222
2223
|
default: V(() => {
|
|
2223
2224
|
var x, A;
|
|
2224
2225
|
return [
|
|
2225
|
-
o.collapse ? (d(), G(
|
|
2226
|
+
o.collapse ? (d(), G(j, {
|
|
2226
2227
|
key: "props.collapse",
|
|
2227
2228
|
title: e(m),
|
|
2228
2229
|
class: "sidebar-logo-link",
|
|
@@ -2235,7 +2236,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2235
2236
|
}, null, 8, il)
|
|
2236
2237
|
]),
|
|
2237
2238
|
_: 1
|
|
2238
|
-
}, 8, ["title", "to"])) : (d(), G(
|
|
2239
|
+
}, 8, ["title", "to"])) : (d(), G(j, {
|
|
2239
2240
|
key: "expand",
|
|
2240
2241
|
title: e(m),
|
|
2241
2242
|
class: "sidebar-logo-link",
|
|
@@ -2246,7 +2247,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2246
2247
|
src: k.value,
|
|
2247
2248
|
class: "ut-sidebar-logo h-10"
|
|
2248
2249
|
}, null, 8, ul),
|
|
2249
|
-
|
|
2250
|
+
w.value === "Y" ? (d(), F("span", cl, J(e(m)), 1)) : $("", !0)
|
|
2250
2251
|
]),
|
|
2251
2252
|
_: 1
|
|
2252
2253
|
}, 8, ["title", "to"]))
|
|
@@ -2257,7 +2258,7 @@ const Kr = { render: Nr }, Er = { class: "p-6" }, Xr = { class: "mb-3 text-sm fo
|
|
|
2257
2258
|
], 2);
|
|
2258
2259
|
};
|
|
2259
2260
|
}
|
|
2260
|
-
}), fl = /* @__PURE__ */ be(dl, [["__scopeId", "data-v-
|
|
2261
|
+
}), fl = /* @__PURE__ */ be(dl, [["__scopeId", "data-v-82d5fb63"]]);
|
|
2261
2262
|
var hl = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2262
2263
|
function pl(s) {
|
|
2263
2264
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
@@ -2353,7 +2354,7 @@ function gl() {
|
|
|
2353
2354
|
seen: [],
|
|
2354
2355
|
stylize: v
|
|
2355
2356
|
};
|
|
2356
|
-
return arguments.length >= 3 && (H.depth = arguments[2]), arguments.length >= 4 && (H.colors = arguments[3]), l(p) ? H.showHidden = p : p && s._extend(H, p), M(H.showHidden) && (H.showHidden = !1), M(H.depth) && (H.depth = 2), M(H.colors) && (H.colors = !1), M(H.customInspect) && (H.customInspect = !0), H.colors && (H.stylize = k),
|
|
2357
|
+
return arguments.length >= 3 && (H.depth = arguments[2]), arguments.length >= 4 && (H.colors = arguments[3]), l(p) ? H.showHidden = p : p && s._extend(H, p), M(H.showHidden) && (H.showHidden = !1), M(H.depth) && (H.depth = 2), M(H.colors) && (H.colors = !1), M(H.customInspect) && (H.customInspect = !0), H.colors && (H.stylize = k), j(H, r, H.depth);
|
|
2357
2358
|
}
|
|
2358
2359
|
s.inspect = w, w.colors = {
|
|
2359
2360
|
bold: [1, 22],
|
|
@@ -2393,12 +2394,12 @@ function gl() {
|
|
|
2393
2394
|
p[H] = !0;
|
|
2394
2395
|
}), p;
|
|
2395
2396
|
}
|
|
2396
|
-
function
|
|
2397
|
+
function j(r, p, H) {
|
|
2397
2398
|
if (r.customInspect && p && Q(p.inspect) && // Filter out the util module, it's inspect function is special
|
|
2398
2399
|
p.inspect !== s.inspect && // Also filter out any prototype objects using the circular check.
|
|
2399
2400
|
!(p.constructor && p.constructor.prototype === p)) {
|
|
2400
2401
|
var Y = p.inspect(H, r);
|
|
2401
|
-
return R(Y) || (Y =
|
|
2402
|
+
return R(Y) || (Y = j(r, Y, H)), Y;
|
|
2402
2403
|
}
|
|
2403
2404
|
var E = x(r, p);
|
|
2404
2405
|
if (E)
|
|
@@ -2428,10 +2429,10 @@ function gl() {
|
|
|
2428
2429
|
if (H < 0)
|
|
2429
2430
|
return q(p) ? r.stylize(RegExp.prototype.toString.call(p), "regexp") : r.stylize("[Object]", "special");
|
|
2430
2431
|
r.seen.push(p);
|
|
2431
|
-
var
|
|
2432
|
-
return Ae ?
|
|
2432
|
+
var ze;
|
|
2433
|
+
return Ae ? ze = c(r, p, H, U, oe) : ze = oe.map(function(ae) {
|
|
2433
2434
|
return g(r, p, H, U, ae, Ae);
|
|
2434
|
-
}), r.seen.pop(), n(
|
|
2435
|
+
}), r.seen.pop(), n(ze, te, ge);
|
|
2435
2436
|
}
|
|
2436
2437
|
function x(r, p) {
|
|
2437
2438
|
if (M(p))
|
|
@@ -2473,7 +2474,7 @@ function gl() {
|
|
|
2473
2474
|
}
|
|
2474
2475
|
function g(r, p, H, Y, E, oe) {
|
|
2475
2476
|
var U, C, te;
|
|
2476
|
-
if (te = Object.getOwnPropertyDescriptor(p, E) || { value: p[E] }, te.get ? te.set ? C = r.stylize("[Getter/Setter]", "special") : C = r.stylize("[Getter]", "special") : te.set && (C = r.stylize("[Setter]", "special")), ie(Y, E) || (U = "[" + E + "]"), C || (r.seen.indexOf(te.value) < 0 ? (a(H) ? C =
|
|
2477
|
+
if (te = Object.getOwnPropertyDescriptor(p, E) || { value: p[E] }, te.get ? te.set ? C = r.stylize("[Getter/Setter]", "special") : C = r.stylize("[Getter]", "special") : te.set && (C = r.stylize("[Setter]", "special")), ie(Y, E) || (U = "[" + E + "]"), C || (r.seen.indexOf(te.value) < 0 ? (a(H) ? C = j(r, te.value, null) : C = j(r, te.value, H - 1), C.indexOf(`
|
|
2477
2478
|
`) > -1 && (oe ? C = C.split(`
|
|
2478
2479
|
`).map(function(Ae) {
|
|
2479
2480
|
return " " + Ae;
|
|
@@ -2551,11 +2552,11 @@ function gl() {
|
|
|
2551
2552
|
return typeof r == "function";
|
|
2552
2553
|
}
|
|
2553
2554
|
s.isFunction = Q;
|
|
2554
|
-
function
|
|
2555
|
+
function z(r) {
|
|
2555
2556
|
return r === null || typeof r == "boolean" || typeof r == "number" || typeof r == "string" || typeof r == "symbol" || // ES6 symbol
|
|
2556
2557
|
typeof r > "u";
|
|
2557
2558
|
}
|
|
2558
|
-
s.isPrimitive =
|
|
2559
|
+
s.isPrimitive = z, s.isBuffer = ml();
|
|
2559
2560
|
function N(r) {
|
|
2560
2561
|
return Object.prototype.toString.call(r);
|
|
2561
2562
|
}
|
|
@@ -2621,7 +2622,7 @@ function yl() {
|
|
|
2621
2622
|
var t = w.exec(n), l = (t[1] || "") + (t[2] || ""), a = t[3] || "", f = k.exec(a), P = f[1], R = f[2], B = f[3];
|
|
2622
2623
|
return [l, P, R, B];
|
|
2623
2624
|
}
|
|
2624
|
-
function
|
|
2625
|
+
function j(n) {
|
|
2625
2626
|
var t = w.exec(n), l = t[1] || "", a = !!l && l[1] !== ":";
|
|
2626
2627
|
return {
|
|
2627
2628
|
device: l,
|
|
@@ -2641,7 +2642,7 @@ function yl() {
|
|
|
2641
2642
|
if (!f)
|
|
2642
2643
|
continue;
|
|
2643
2644
|
} else throw new TypeError("Arguments to path.resolve must be strings");
|
|
2644
|
-
var P =
|
|
2645
|
+
var P = j(f), R = P.device, B = P.isUnc, M = P.isAbsolute, q = P.tail;
|
|
2645
2646
|
if (!(R && n && R.toLowerCase() !== n.toLowerCase()) && (n || (n = R), l || (t = q + "\\" + t, l = M), n && l))
|
|
2646
2647
|
break;
|
|
2647
2648
|
}
|
|
@@ -2650,10 +2651,10 @@ function yl() {
|
|
|
2650
2651
|
!l
|
|
2651
2652
|
).join("\\"), n + (l ? "\\" : "") + t || ".";
|
|
2652
2653
|
}, v.normalize = function(n) {
|
|
2653
|
-
var t =
|
|
2654
|
+
var t = j(n), l = t.device, a = t.isUnc, f = t.isAbsolute, P = t.tail, R = /[\\\/]$/.test(P);
|
|
2654
2655
|
return P = u(P.split(/[\\\/]+/), !f).join("\\"), !P && !f && (P = "."), P && R && (P += "\\"), a && (l = x(l)), l + (f ? "\\" : "") + P;
|
|
2655
2656
|
}, v.isAbsolute = function(n) {
|
|
2656
|
-
return
|
|
2657
|
+
return j(n).isAbsolute;
|
|
2657
2658
|
}, v.join = function() {
|
|
2658
2659
|
for (var n = [], t = 0; t < arguments.length; t++) {
|
|
2659
2660
|
var l = arguments[t];
|
|
@@ -2822,7 +2823,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
2822
2823
|
overflow: "hidden",
|
|
2823
2824
|
textOverflow: "ellipsis",
|
|
2824
2825
|
outline: "none"
|
|
2825
|
-
})),
|
|
2826
|
+
})), j = W(() => ({
|
|
2826
2827
|
width: u.value ? "" : "210px",
|
|
2827
2828
|
display: "inline-block",
|
|
2828
2829
|
overflow: "hidden",
|
|
@@ -2936,7 +2937,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
2936
2937
|
b("div", {
|
|
2937
2938
|
ref_key: "menuTextRef",
|
|
2938
2939
|
ref: g,
|
|
2939
|
-
style: he(
|
|
2940
|
+
style: he(j.value),
|
|
2940
2941
|
onMouseover: P[1] || (P[1] = (y) => n(k.item))
|
|
2941
2942
|
}, [
|
|
2942
2943
|
b("span", {
|
|
@@ -2969,8 +2970,8 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
2969
2970
|
__name: "vertical",
|
|
2970
2971
|
setup(s) {
|
|
2971
2972
|
var c;
|
|
2972
|
-
const o = Ye(), u = O(((c = Ve.getItem(`${Je()}configure`)) == null ? void 0 : c.showLogo) ?? !0), { device: m, appHook: w, isCollapse: k, menuSelect: v } = Te(), i = O([]),
|
|
2973
|
-
() => w.layout === "mix" ? !1 :
|
|
2973
|
+
const o = Ye(), u = O(((c = Ve.getItem(`${Je()}configure`)) == null ? void 0 : c.showLogo) ?? !0), { device: m, appHook: w, isCollapse: k, menuSelect: v } = Te(), i = O([]), j = W(() => w.layout === "mix" && m.value !== "mobile" ? i.value : we().wholeMenus), x = W(
|
|
2974
|
+
() => w.layout === "mix" ? !1 : j.value.length === 0
|
|
2974
2975
|
);
|
|
2975
2976
|
function A(g) {
|
|
2976
2977
|
i.value = [];
|
|
@@ -3012,7 +3013,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3012
3013
|
class: "select-none outer-most"
|
|
3013
3014
|
}, {
|
|
3014
3015
|
default: V(() => [
|
|
3015
|
-
(d(!0), F(ke, null, Ue(
|
|
3016
|
+
(d(!0), F(ke, null, Ue(j.value, (f) => (d(), G(en, {
|
|
3016
3017
|
key: f.path,
|
|
3017
3018
|
item: f,
|
|
3018
3019
|
class: "select-none outer-most",
|
|
@@ -3032,10 +3033,10 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3032
3033
|
}), Hl = { class: "horizontal-header" }, Ul = ["src"], Sl = {
|
|
3033
3034
|
key: 0,
|
|
3034
3035
|
class: "text-xl u-project-text"
|
|
3035
|
-
}, Cl = { class: "horizontal-header-right flex-[2]" }, Vl = { class: "check-zh" },
|
|
3036
|
+
}, Cl = { class: "horizontal-header-right flex-[2]" }, Vl = { class: "check-zh" }, zl = { class: "check-en" }, jl = { class: "el-dropdown-link navbar-bg-hover" }, Fl = ["src"], Rl = { class: "dark:text-white" }, ql = { name: "LayoutHorizontal" }, Tl = /* @__PURE__ */ se({
|
|
3036
3037
|
...ql,
|
|
3037
3038
|
setup(s) {
|
|
3038
|
-
const o = O(), { route: u, locale: m, translationCh: w, translationEn: k } = Ct(o), v = we(), i = Ve.getItem(Ze) || {},
|
|
3039
|
+
const o = O(), { route: u, locale: m, translationCh: w, translationEn: k } = Ct(o), v = we(), i = Ve.getItem(Ze) || {}, j = O(i.logo || Jt), x = O(i.showTitle), {
|
|
3039
3040
|
title: A,
|
|
3040
3041
|
logout: c,
|
|
3041
3042
|
backHome: g,
|
|
@@ -3057,7 +3058,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3057
3058
|
Q.setScrollLeft(Q.wrapRef.scrollLeft + K);
|
|
3058
3059
|
};
|
|
3059
3060
|
return (_, K) => {
|
|
3060
|
-
const Q = T("el-menu"),
|
|
3061
|
+
const Q = T("el-menu"), z = T("el-scrollbar"), N = T("IconifyIconOffline"), Z = T("el-dropdown-item"), le = T("el-dropdown-menu"), fe = T("el-dropdown"), ie = T("el-divider"), r = T("ut-modal-form"), p = st("spinning");
|
|
3061
3062
|
return me((d(), F("div", Hl, [
|
|
3062
3063
|
b("div", {
|
|
3063
3064
|
class: "flex flex-1 horizontal-header-left",
|
|
@@ -3065,12 +3066,12 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3065
3066
|
(...H) => e(g) && e(g)(...H))
|
|
3066
3067
|
}, [
|
|
3067
3068
|
b("img", {
|
|
3068
|
-
src:
|
|
3069
|
+
src: j.value,
|
|
3069
3070
|
class: "h-full"
|
|
3070
3071
|
}, null, 8, Ul),
|
|
3071
3072
|
x.value === "Y" ? (d(), F("span", Sl, J(e(A)), 1)) : $("", !0)
|
|
3072
3073
|
]),
|
|
3073
|
-
h(
|
|
3074
|
+
h(z, {
|
|
3074
3075
|
ref_key: "refScrollbar",
|
|
3075
3076
|
ref: B,
|
|
3076
3077
|
class: "flex-[3]",
|
|
@@ -3133,7 +3134,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3133
3134
|
onClick: e(k)
|
|
3134
3135
|
}, {
|
|
3135
3136
|
default: V(() => [
|
|
3136
|
-
me(b("span",
|
|
3137
|
+
me(b("span", zl, [
|
|
3137
3138
|
h(N, { icon: "check" })
|
|
3138
3139
|
], 512), [
|
|
3139
3140
|
[xe, e(m) === "en"]
|
|
@@ -3175,7 +3176,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3175
3176
|
})
|
|
3176
3177
|
]),
|
|
3177
3178
|
default: V(() => [
|
|
3178
|
-
b("span",
|
|
3179
|
+
b("span", jl, [
|
|
3179
3180
|
e(Ee) ? (d(), F("img", {
|
|
3180
3181
|
key: 0,
|
|
3181
3182
|
src: e(Ee),
|
|
@@ -3214,7 +3215,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3214
3215
|
}), Bl = /* @__PURE__ */ be(Tl, [["__scopeId", "data-v-67512fbe"]]), Dl = { key: 0 }, Il = { class: "h-full" }, Ml = /* @__PURE__ */ se({
|
|
3215
3216
|
__name: "layoutView",
|
|
3216
3217
|
setup(s) {
|
|
3217
|
-
const o = O(), { t: u } = ct(), m = Hn(), w = Ht(), { isDark: k } = Kt(), { $storage: v } = ut(), { layout: i } = kn(),
|
|
3218
|
+
const o = O(), { t: u } = ct(), m = Hn(), w = Ht(), { isDark: k } = Kt(), { $storage: v } = ut(), { layout: i } = kn(), j = window.self === window.top, x = At({
|
|
3218
3219
|
sidebar: W(() => Ie().sidebar),
|
|
3219
3220
|
device: W(() => Ie().device),
|
|
3220
3221
|
fixedHeader: W(() => w.fixedHeader),
|
|
@@ -3285,16 +3286,13 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3285
3286
|
[xe, x.device === "mobile" && x.sidebar.opened && e(i).includes("vertical")]
|
|
3286
3287
|
]),
|
|
3287
3288
|
me(h(Pl, null, null, 512), [
|
|
3288
|
-
[
|
|
3289
|
-
xe,
|
|
3290
|
-
z && !e(w).hiddenSideBar && (e(i).includes("vertical") || e(i).includes("mix"))
|
|
3291
|
-
]
|
|
3289
|
+
[xe, j && !e(w).hiddenSideBar && (e(i).includes("vertical") || e(i).includes("mix"))]
|
|
3292
3290
|
]),
|
|
3293
3291
|
b("div", {
|
|
3294
3292
|
class: re(["main-container", e(w).hiddenSideBar ? "main-hidden" : ""])
|
|
3295
3293
|
}, [
|
|
3296
3294
|
x.fixedHeader ? (d(), F("div", Dl, [
|
|
3297
|
-
|
|
3295
|
+
j ? (d(), G(e(n), { key: 0 })) : $("", !0),
|
|
3298
3296
|
h(_t, {
|
|
3299
3297
|
"fixed-header": x.fixedHeader
|
|
3300
3298
|
}, null, 8, ["fixed-header"])
|
|
@@ -3303,6 +3301,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3303
3301
|
b("div", Il, [
|
|
3304
3302
|
h(a, {
|
|
3305
3303
|
title: e(u)("message.udp.backtop"),
|
|
3304
|
+
style: { "z-index": "100" },
|
|
3306
3305
|
target: ".main-container .el-scrollbar__wrap"
|
|
3307
3306
|
}, {
|
|
3308
3307
|
default: V(() => [
|
|
@@ -3310,7 +3309,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3310
3309
|
]),
|
|
3311
3310
|
_: 1
|
|
3312
3311
|
}, 8, ["title"]),
|
|
3313
|
-
|
|
3312
|
+
j ? (d(), G(e(n), { key: 0 })) : $("", !0),
|
|
3314
3313
|
h(_t, {
|
|
3315
3314
|
"fixed-header": x.fixedHeader
|
|
3316
3315
|
}, null, 8, ["fixed-header"])
|
|
@@ -3323,7 +3322,7 @@ const wl = /* @__PURE__ */ pl(Al), bl = {
|
|
|
3323
3322
|
], 2);
|
|
3324
3323
|
};
|
|
3325
3324
|
}
|
|
3326
|
-
}), Yl = /* @__PURE__ */ be(Ml, [["__scopeId", "data-v-
|
|
3325
|
+
}), Yl = /* @__PURE__ */ be(Ml, [["__scopeId", "data-v-2d26b45f"]]);
|
|
3327
3326
|
export {
|
|
3328
3327
|
Yl as default
|
|
3329
3328
|
};
|