@utogether/udp-core 1.0.1-beta.20 → 1.0.1-beta.22
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-Bz5EJPLA.js → 403-B87JSuhn.js} +1 -1
- package/dist/{404-ClOnaj9V.js → 404-BhiUKT1b.js} +1 -1
- package/dist/{500-DCUfhV7Y.js → 500-2G6eyDeT.js} +1 -1
- package/dist/{AuthorityInfo-q6E-js1r.js → AuthorityInfo-Bl4_zDot.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BM52QDgn.js → AuthorityInfo.vue_vue_type_style_index_0_lang-92i5Oriz.js} +1 -1
- package/dist/{Company-BSShW3Q4.js → Company-CbTh7_bX.js} +3 -3
- package/dist/{CompanyPanel-Dl8eOYLk.js → CompanyPanel-BVEYMQKM.js} +1 -1
- package/dist/{Department-CVIxAnUN.js → Department-Cu83Buy8.js} +3 -3
- package/dist/{DepartmentPanel-Sa3IDl4z.js → DepartmentPanel-CO76buwO.js} +1 -1
- package/dist/{DesignPanel-DnRipagE.js → DesignPanel-DDgVNzYW.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DGNyp3Vl.js → DesignPanel.vue_vue_type_style_index_0_lang-Bwernx0s.js} +2 -2
- package/dist/{DictView-uf2K9A1d.js → DictView-DJDg_Oem.js} +1 -1
- package/dist/{InvOrganization-CG9VCpXl.js → InvOrganization-D9BMWweK.js} +1 -1
- package/dist/{Org-W2CBN1B8.js → Org-CcfRkpBY.js} +1 -1
- package/dist/{Preview-DPBxdDvW.js → Preview-DGP1uIZU.js} +1 -1
- package/dist/{ReportDefine-Dsx9VM-I.js → ReportDefine-u7r-IVPD.js} +1 -1
- package/dist/{ReportDesign-DiIGfte0.js → ReportDesign-CLQRMIy3.js} +2 -2
- package/dist/{ReportQuery-9A4Bfs1M.js → ReportQuery-BNTCTpqI.js} +1 -1
- package/dist/{ReportQueryFrom-M5qLoGAa.js → ReportQueryFrom-G7X1Fyf5.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-OQ9pUCKP.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-D5lDZFPM.js} +1 -1
- package/dist/{ReportTemplate-C34FWAuK.js → ReportTemplate-QWAuFjaB.js} +1 -1
- package/dist/{Role-jG3VTeOF.js → Role-Ba1OVGG0.js} +3 -3
- package/dist/{RoleAssign-BfHpCequ.js → RoleAssign-DFiMYll8.js} +3 -3
- package/dist/{RolePanel-xRN2-rkk.js → RolePanel-D6xKrLlM.js} +1 -1
- package/dist/{RolePanel-DW9pNl0L.js → RolePanel-c-xitljX.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-C0rTy6vZ.js → RolePanel.vue_vue_type_script_setup_true_lang-BeZ1xNXU.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BVEHqEq9.js → RolePanel.vue_vue_type_script_setup_true_lang-DrBiLlBb.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-D65sJYWT.js → ScrollPanel.vue_vue_type_style_index_0_lang-D4eReGaK.js} +1 -1
- package/dist/{Staff-BqBVEjau.js → Staff-C-5TE1Yn.js} +3 -3
- package/dist/{StaffInfo-DXeyyEFL.js → StaffInfo-CwJlL_Nr.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-Dg0iYgRf.js → StaffInfo.vue_vue_type_script_setup_true_lang-C2BsoQlr.js} +1 -1
- package/dist/{StaffPanel-iE-8VtUm.js → StaffPanel-QOv1pq2Z.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BrrvE1xm.js → StaffPanel.vue_vue_type_script_setup_true_lang-BGQSHjaQ.js} +2 -2
- package/dist/{SysUser-DSZyW30i.js → SysUser-Byug_VNY.js} +2 -2
- package/dist/{SysUserPanel-CbiG6GQF.js → SysUserPanel-B-M2Yxjj.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-B1Y1fmBe.js → SysUserPanel.vue_vue_type_script_setup_true_lang-Dm1YyUXX.js} +1 -1
- package/dist/{SystemMenu-DreuWY-a.js → SystemMenu-Bs9a4BE0.js} +2 -2
- package/dist/{UserInfo-DXrzKAim.js → UserInfo-Ipp00UAF.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-C44E20b4.js → UserInfo.vue_vue_type_style_index_0_lang-DIcWs6vj.js} +1 -1
- package/dist/{childView-VCidWgY6.js → childView-N1PkzqQK.js} +1 -1
- package/dist/{childView-k5IkJOBr.js → childView-O-5baerB.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DmG82dVB.js → childView.vue_vue_type_style_index_0_lang--yGHgWVq.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-C6ftwwvZ.js → childView.vue_vue_type_style_index_0_lang-srudWvXc.js} +1 -1
- package/dist/{code-rule-7WQMabpW.js → code-rule-CRunTGXH.js} +2 -2
- package/dist/core.es.js +12 -11
- package/dist/{cron-task-D1t56MSu.js → cron-task-IEuaI4Nt.js} +1 -1
- package/dist/flow-task-B07st2aD.js +10 -0
- package/dist/{frameView-CWsIFBgU.js → frameView-vGVXV1ZG.js} +1 -1
- package/dist/index-D_tU_u2l.js +4640 -0
- package/dist/{layoutView-DLpHSner.js → layoutView-BJO8Hm5d.js} +164 -164
- package/dist/{login-OjDiQmz8.js → login-CZyenjQX.js} +1 -1
- package/dist/{lov-view-D28X6m3k.js → lov-view-6He1ZxGX.js} +2 -2
- package/dist/{menuInfo-DwPB6rHz.js → menuInfo-CE5Cae2u.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-l5DNRfb7.js → menuInfo.vue_vue_type_style_index_0_lang-BjshFg3S.js} +1 -1
- package/dist/{pda-app-Bdms2PRY.js → pda-app-DOiT57m1.js} +1 -1
- package/dist/{resource-y6SHrHoq.js → resource-BdlOJOcz.js} +1 -1
- package/dist/{su-welcome-D9G6EuK2.js → su-welcome-BxRhJD8X.js} +1 -1
- package/dist/{sys-config-DFnGHiFc.js → sys-config-Csy-234G.js} +1 -1
- package/index.ts +49 -48
- package/package.json +1 -1
- package/src/components/udp/grid/index.vue +9 -5
- package/src/components/udp/utils.ts +7 -4
- package/src/layout/hooks/useTag.ts +5 -1
- package/src/plugins/i18n/module/u-workflow.ts +71 -71
- package/src/plugins/i18n/zh.ts +358 -356
- package/src/plugins/vxe-table/index.ts +3 -3
- package/src/router/index.ts +3 -1
- package/src/router/modules/flow.ts +35 -0
- package/src/router/utils.ts +27 -1
- package/src/store/modules/multiTags.ts +4 -4
- package/src/views/udev/coderule/code-rule.vue +2 -2
- package/src/views/udev/lov/childView.vue +174 -180
- package/src/views/utask/flow-task.vue +18 -0
- package/dist/index-DxWAYxai.js +0 -5495
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as se, ref as O, createElementBlock as F, openBlock as d, unref as e, normalizeClass as re, createElementVNode as w, onMounted as Ge, watch as qe, resolveComponent as T, createBlock as G, withCtx as V, createVNode as m, TransitionGroup as tn, Fragment as be, renderList as Ue, withModifiers as Me, toDisplayString as X, toRaw as Fe, computed as W, h as Re, getCurrentInstance as Gt, normalizeStyle as he, resolveDynamicComponent as Se, createCommentVNode as ee, createTextVNode as pe, shallowRef as nn, nextTick as Le, isRef as on, onBeforeMount as vt, withDirectives as ve, vShow as xe, reactive as gt, createStaticVNode as rn, onBeforeUnmount as yt, Transition as At, KeepAlive as Vt, resolveDirective as at, renderSlot as ln, onUnmounted as an } from "vue";
|
|
2
2
|
import "animate.css";
|
|
3
|
-
import { a as sn, b as ce, s as un, g as jt, u as st, _ as we, c as He, t as Pe, f as lt, d as wt, e as Ie, h as Ae, i as Ne, k as Ze, j as ye, l as cn, r as zt, m as Ot, n as dn, o as fn, p as hn, q as pn, v as mn, F as vn, I as Ft, w as Rt, x as Je, y as ct, z as bt, A as gn } from "./index-
|
|
3
|
+
import { a as sn, b as ce, s as un, g as jt, u as st, _ as we, c as He, t as Pe, f as lt, d as wt, e as Ie, h as Ae, i as Ne, k as Ze, j as ye, l as cn, r as zt, m as Ot, n as dn, o as fn, p as hn, q as pn, v as mn, F as vn, I as Ft, w as Rt, x as Je, y as ct, z as bt, A as gn } from "./index-D_tU_u2l.js";
|
|
4
4
|
import { iconSet as yn, useGlobal as it, storageLocal as Ce, cookies as rt, hasClass as tt, toggleClass as De, delay as An, useDark as Wt, useDebounce as We, deviceDetection as wn } from "@utogether/utils";
|
|
5
5
|
import { useI18n as ut } from "vue-i18n";
|
|
6
6
|
import { useResizeObserver as kt, useDebounceFn as Qt, onKeyStroke as dt, useEventListener as bn, useFullscreen as kn, onClickOutside as Nt, templateRef as ft } from "@vueuse/core";
|
|
@@ -147,7 +147,7 @@ const Xn = xn("udp-setting", {
|
|
|
147
147
|
function xt() {
|
|
148
148
|
return Xn(un);
|
|
149
149
|
}
|
|
150
|
-
const Jn = ["title"], Zn = ["fill"], Yn = /* @__PURE__ */
|
|
150
|
+
const Jn = ["title"], Zn = ["fill"], Yn = /* @__PURE__ */ se({
|
|
151
151
|
__name: "hamBurger",
|
|
152
152
|
props: {
|
|
153
153
|
isActive: { type: Boolean, default: !1 }
|
|
@@ -180,7 +180,7 @@ const Jn = ["title"], Zn = ["fill"], Yn = /* @__PURE__ */ ae({
|
|
|
180
180
|
container: $n
|
|
181
181
|
}, to = {
|
|
182
182
|
classes: eo
|
|
183
|
-
}, no = /* @__PURE__ */ we(Yn, [["__cssModules", to], ["__scopeId", "data-v-0d7cee32"]]), oo = ["onClick"], ro = /* @__PURE__ */
|
|
183
|
+
}, no = /* @__PURE__ */ we(Yn, [["__cssModules", to], ["__scopeId", "data-v-0d7cee32"]]), oo = ["onClick"], ro = /* @__PURE__ */ se({
|
|
184
184
|
__name: "breadCrumb",
|
|
185
185
|
setup(s) {
|
|
186
186
|
const o = Ye(), c = O([]), v = $e(), A = v.options.routes, k = He().multiTags, g = (x) => {
|
|
@@ -293,10 +293,10 @@ function Te() {
|
|
|
293
293
|
h == null || h.handleResize();
|
|
294
294
|
}
|
|
295
295
|
function R(h) {
|
|
296
|
-
var
|
|
296
|
+
var N;
|
|
297
297
|
if (!h.children) return console.error(lo);
|
|
298
|
-
const I = /^http(s?):\/\//,
|
|
299
|
-
return I.test(
|
|
298
|
+
const I = /^http(s?):\/\//, Y = (N = h.children[0]) == null ? void 0 : N.path;
|
|
299
|
+
return I.test(Y) ? h.path + "/" + Y : Y;
|
|
300
300
|
}
|
|
301
301
|
function B(h) {
|
|
302
302
|
c.value.length === 0 || L(h) || ye.emit("changLayoutRoute", h);
|
|
@@ -340,7 +340,7 @@ function Ke(s, o) {
|
|
|
340
340
|
const c = /^IF-/;
|
|
341
341
|
if (c.test(s)) {
|
|
342
342
|
const v = s == null ? void 0 : s.split(c)[1], A = v.slice(0, v.indexOf(" ") == -1 ? v.length : v.indexOf(" ")), k = v.slice(v.indexOf(" ") + 1, v.length);
|
|
343
|
-
return
|
|
343
|
+
return se({
|
|
344
344
|
name: "FontIcon",
|
|
345
345
|
render() {
|
|
346
346
|
return Re(vn, {
|
|
@@ -350,7 +350,7 @@ function Ke(s, o) {
|
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
352
|
});
|
|
353
|
-
} else return typeof s == "function" || typeof (s == null ? void 0 : s.render) == "function" ? o ? Re(s, { ...o }) : s : typeof s == "object" ?
|
|
353
|
+
} else return typeof s == "function" || typeof (s == null ? void 0 : s.render) == "function" ? o ? Re(s, { ...o }) : s : typeof s == "object" ? se({
|
|
354
354
|
name: "OfflineIcon",
|
|
355
355
|
render() {
|
|
356
356
|
return Re(Ft, {
|
|
@@ -358,7 +358,7 @@ function Ke(s, o) {
|
|
|
358
358
|
...o
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
|
-
}) :
|
|
361
|
+
}) : se({
|
|
362
362
|
name: "FontIcon",
|
|
363
363
|
render() {
|
|
364
364
|
return Re(Ft, {
|
|
@@ -388,7 +388,7 @@ const Et = { render: so }, io = {
|
|
|
388
388
|
width: 24,
|
|
389
389
|
height: 24,
|
|
390
390
|
body: '<path fill="currentColor" d="M5 2h14a1 1 0 0 1 1 1v19.143a.5.5 0 0 1-.766.424L12 18.03l-7.234 4.536A.5.5 0 0 1 4 22.143V3a1 1 0 0 1 1-1Zm13 2H6v15.432l6-3.761l6 3.761V4ZM8 9h8v2H8V9Z"/>'
|
|
391
|
-
}, uo = ["onMouseenter"], co = { class: "result-item-title" }, fo = /* @__PURE__ */
|
|
391
|
+
}, uo = ["onMouseenter"], co = { class: "result-item-title" }, fo = /* @__PURE__ */ se({
|
|
392
392
|
__name: "SearchResult",
|
|
393
393
|
props: {
|
|
394
394
|
value: {},
|
|
@@ -479,7 +479,7 @@ const vo = { render: mo }, go = {
|
|
|
479
479
|
}, Ao = { class: "search-footer text-[#333] dark:text-white" }, wo = { class: "search-footer-item" }, bo = { class: "search-footer-item" }, ko = { class: "search-footer-item" }, xo = {
|
|
480
480
|
key: 0,
|
|
481
481
|
class: "search-footer-total"
|
|
482
|
-
}, Po = /* @__PURE__ */
|
|
482
|
+
}, Po = /* @__PURE__ */ se({
|
|
483
483
|
__name: "SearchFooter",
|
|
484
484
|
props: {
|
|
485
485
|
total: { default: 0 }
|
|
@@ -516,7 +516,7 @@ const vo = { render: mo }, go = {
|
|
|
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"/>'
|
|
519
|
-
}, So = { class: "search-result-container" }, Co = /* @__PURE__ */
|
|
519
|
+
}, So = { class: "search-result-container" }, Co = /* @__PURE__ */ se({
|
|
520
520
|
__name: "SearchModal",
|
|
521
521
|
props: {
|
|
522
522
|
value: { type: Boolean }
|
|
@@ -537,9 +537,9 @@ const vo = { render: mo }, go = {
|
|
|
537
537
|
});
|
|
538
538
|
function l(q) {
|
|
539
539
|
const h = [];
|
|
540
|
-
function I(
|
|
541
|
-
|
|
542
|
-
h.push(
|
|
540
|
+
function I(Y) {
|
|
541
|
+
Y.forEach((N) => {
|
|
542
|
+
h.push(N), N.children && I(N.children);
|
|
543
543
|
});
|
|
544
544
|
}
|
|
545
545
|
return I(q), h;
|
|
@@ -549,8 +549,8 @@ const vo = { render: mo }, go = {
|
|
|
549
549
|
const q = l(n.value);
|
|
550
550
|
u.value = q.filter(
|
|
551
551
|
(I) => {
|
|
552
|
-
var
|
|
553
|
-
return g.value && Pe((
|
|
552
|
+
var Y;
|
|
553
|
+
return g.value && Pe((Y = I.meta) == null ? void 0 : Y.title).toLocaleLowerCase().includes(g.value.toLocaleLowerCase().trim());
|
|
554
554
|
}
|
|
555
555
|
), ((h = u.value) == null ? void 0 : h.length) > 0 ? i.value = u.value[0].path : i.value = "";
|
|
556
556
|
}
|
|
@@ -580,10 +580,10 @@ const vo = { render: mo }, go = {
|
|
|
580
580
|
q === 0 || i.value === "" || (k.push(i.value), p());
|
|
581
581
|
}
|
|
582
582
|
return dt("Enter", L), dt("ArrowUp", R), dt("ArrowDown", B), (q, h) => {
|
|
583
|
-
const I = T("IconifyIconOffline"),
|
|
584
|
-
return d(), G(
|
|
583
|
+
const I = T("IconifyIconOffline"), Y = T("el-input"), N = T("el-empty"), C = T("el-scrollbar"), Q = T("el-dialog");
|
|
584
|
+
return d(), G(Q, {
|
|
585
585
|
modelValue: t.value,
|
|
586
|
-
"onUpdate:modelValue": h[2] || (h[2] = (
|
|
586
|
+
"onUpdate:modelValue": h[2] || (h[2] = (Z) => t.value = Z),
|
|
587
587
|
class: "udp-search-dialog",
|
|
588
588
|
top: "5vh",
|
|
589
589
|
"append-to-body": "",
|
|
@@ -594,8 +594,8 @@ const vo = { render: mo }, go = {
|
|
|
594
594
|
},
|
|
595
595
|
title: q.$t("message.udp.menuQuery"),
|
|
596
596
|
"before-close": p,
|
|
597
|
-
onOpened: h[3] || (h[3] = (
|
|
598
|
-
onClosed: h[4] || (h[4] = (
|
|
597
|
+
onOpened: h[3] || (h[3] = (Z) => b.value.focus()),
|
|
598
|
+
onClosed: h[4] || (h[4] = (Z) => b.value.blur())
|
|
599
599
|
}, {
|
|
600
600
|
footer: V(() => [
|
|
601
601
|
m(Ho, {
|
|
@@ -603,11 +603,11 @@ const vo = { render: mo }, go = {
|
|
|
603
603
|
}, null, 8, ["total"])
|
|
604
604
|
]),
|
|
605
605
|
default: V(() => [
|
|
606
|
-
m(
|
|
606
|
+
m(Y, {
|
|
607
607
|
ref_key: "inputRef",
|
|
608
608
|
ref: b,
|
|
609
609
|
modelValue: g.value,
|
|
610
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
|
610
|
+
"onUpdate:modelValue": h[0] || (h[0] = (Z) => g.value = Z),
|
|
611
611
|
placeholder: q.$t("message.udp.menuQuery"),
|
|
612
612
|
size: "large",
|
|
613
613
|
clearable: "",
|
|
@@ -628,7 +628,7 @@ const vo = { render: mo }, go = {
|
|
|
628
628
|
"max-height": "calc(90vh - 140px)"
|
|
629
629
|
}, {
|
|
630
630
|
default: V(() => [
|
|
631
|
-
u.value.length === 0 ? (d(), G(
|
|
631
|
+
u.value.length === 0 ? (d(), G(N, {
|
|
632
632
|
key: 0,
|
|
633
633
|
description: q.$t("message.emptyData")
|
|
634
634
|
}, null, 8, ["description"])) : (d(), G(ho, {
|
|
@@ -636,7 +636,7 @@ const vo = { render: mo }, go = {
|
|
|
636
636
|
ref_key: "resultRef",
|
|
637
637
|
ref: x,
|
|
638
638
|
value: i.value,
|
|
639
|
-
"onUpdate:value": h[1] || (h[1] = (
|
|
639
|
+
"onUpdate:value": h[1] || (h[1] = (Z) => i.value = Z),
|
|
640
640
|
options: u.value,
|
|
641
641
|
onClick: L
|
|
642
642
|
}, null, 8, ["value", "options"]))
|
|
@@ -672,7 +672,7 @@ function jo(s = !1) {
|
|
|
672
672
|
toggle: k
|
|
673
673
|
};
|
|
674
674
|
}
|
|
675
|
-
const Pt = /* @__PURE__ */
|
|
675
|
+
const Pt = /* @__PURE__ */ se({
|
|
676
676
|
__name: "index",
|
|
677
677
|
setup(s) {
|
|
678
678
|
const { bool: o, toggle: c } = jo();
|
|
@@ -695,7 +695,7 @@ const Pt = /* @__PURE__ */ ae({
|
|
|
695
695
|
], 64);
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
|
-
}), zo = { style: { width: "240px" } }, Fo = { name: "OrgSelect" }, Ht = /* @__PURE__ */
|
|
698
|
+
}), zo = { style: { width: "240px" } }, Fo = { name: "OrgSelect" }, Ht = /* @__PURE__ */ se({
|
|
699
699
|
...Fo,
|
|
700
700
|
setup(s) {
|
|
701
701
|
const o = Ye(), c = $e(), v = W(() => Ne().getOrglist), A = W(() => Ne().getOrgId), k = async (i) => {
|
|
@@ -745,7 +745,7 @@ const Pt = /* @__PURE__ */ ae({
|
|
|
745
745
|
}), Ro = {
|
|
746
746
|
key: 0,
|
|
747
747
|
class: "flex justify-center items-center"
|
|
748
|
-
}, mt = /* @__PURE__ */
|
|
748
|
+
}, mt = /* @__PURE__ */ se({
|
|
749
749
|
__name: "extraIcon",
|
|
750
750
|
props: {
|
|
751
751
|
extraIcon: {
|
|
@@ -803,7 +803,7 @@ function To(s, o) {
|
|
|
803
803
|
const St = { render: To }, Bo = {
|
|
804
804
|
key: 0,
|
|
805
805
|
class: "horizontal-header"
|
|
806
|
-
}, Do = ["title"], Io = ["fill"], Mo = { class: "select-none" }, _o = { class: "horizontal-header-right" }, Lo = { class: "check-zh" }, Go = { class: "check-en" }, Oo = { class: "select-none el-dropdown-link navbar-bg-hover" }, Wo = ["src"], Qo = { class: "dark:text-white" }, No = /* @__PURE__ */
|
|
806
|
+
}, Do = ["title"], Io = ["fill"], Mo = { class: "select-none" }, _o = { class: "horizontal-header-right" }, Lo = { class: "check-zh" }, Go = { class: "check-en" }, Oo = { class: "select-none el-dropdown-link navbar-bg-hover" }, Wo = ["src"], Qo = { class: "dark:text-white" }, No = /* @__PURE__ */ se({
|
|
807
807
|
__name: "mixNav",
|
|
808
808
|
setup(s) {
|
|
809
809
|
const o = O(), { route: c, locale: v, translationCh: A, translationEn: k } = Ut(o), {
|
|
@@ -820,16 +820,16 @@ const St = { render: To }, Bo = {
|
|
|
820
820
|
getDropdownItemClass: a,
|
|
821
821
|
passwordItems: p
|
|
822
822
|
} = Te(), P = O(null), R = O(null), B = {}, L = O(!1), q = Ce.getItem(Ze) || {};
|
|
823
|
-
function h(
|
|
824
|
-
var
|
|
825
|
-
const C = Ae().wholeMenus,
|
|
826
|
-
R.value = (
|
|
823
|
+
function h(N) {
|
|
824
|
+
var Z, ae;
|
|
825
|
+
const C = Ae().wholeMenus, Q = wt(N, C)[0];
|
|
826
|
+
R.value = (ae = (Z = lt(Q, C)) == null ? void 0 : Z.children[0]) == null ? void 0 : ae.path;
|
|
827
827
|
}
|
|
828
828
|
Ge(() => {
|
|
829
829
|
h(c.path);
|
|
830
830
|
}), Le(() => {
|
|
831
|
-
var
|
|
832
|
-
(
|
|
831
|
+
var N;
|
|
832
|
+
(N = o.value) == null || N.handleResize();
|
|
833
833
|
}), qe(
|
|
834
834
|
() => c.path,
|
|
835
835
|
() => {
|
|
@@ -838,16 +838,16 @@ const St = { render: To }, Bo = {
|
|
|
838
838
|
);
|
|
839
839
|
const I = () => {
|
|
840
840
|
B.id = y.id, L.value = !0;
|
|
841
|
-
},
|
|
842
|
-
const C =
|
|
843
|
-
|
|
841
|
+
}, Y = (N) => {
|
|
842
|
+
const C = N.wheelDelta || -N.deltaY * 40, Q = P.value;
|
|
843
|
+
Q.setScrollLeft(Q.wrapRef.scrollLeft + C);
|
|
844
844
|
};
|
|
845
|
-
return (
|
|
846
|
-
const
|
|
845
|
+
return (N, C) => {
|
|
846
|
+
const Q = T("el-menu-item"), Z = T("el-menu"), ae = T("el-scrollbar"), me = T("IconifyIconOffline"), ie = T("el-dropdown-item"), r = T("el-dropdown-menu"), f = T("el-dropdown"), j = T("el-divider"), J = T("ut-modal-form");
|
|
847
847
|
return e(g) !== "mobile" ? (d(), F("div", Bo, [
|
|
848
848
|
w("div", {
|
|
849
|
-
class: re(
|
|
850
|
-
title: e(u).sidebar.opened ?
|
|
849
|
+
class: re(N.classes.container),
|
|
850
|
+
title: e(u).sidebar.opened ? N.$t("message.udp.collapse") : N.$t("message.udp.expand"),
|
|
851
851
|
onClick: C[0] || (C[0] = //@ts-ignore
|
|
852
852
|
(...K) => e(x) && e(x)(...K))
|
|
853
853
|
}, [
|
|
@@ -862,14 +862,14 @@ const St = { render: To }, Bo = {
|
|
|
862
862
|
w("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, Io))
|
|
864
864
|
], 10, Do),
|
|
865
|
-
m(
|
|
865
|
+
m(ae, {
|
|
866
866
|
ref_key: "refScrollbar",
|
|
867
867
|
ref: P,
|
|
868
868
|
style: { "max-width": "66%" },
|
|
869
|
-
onWheel: Me(
|
|
869
|
+
onWheel: Me(Y, ["prevent"])
|
|
870
870
|
}, {
|
|
871
871
|
default: V(() => [
|
|
872
|
-
m(
|
|
872
|
+
m(Z, {
|
|
873
873
|
ref: "menu",
|
|
874
874
|
"default-active": R.value,
|
|
875
875
|
ellipsis: !1,
|
|
@@ -878,7 +878,7 @@ const St = { render: To }, Bo = {
|
|
|
878
878
|
router: ""
|
|
879
879
|
}, {
|
|
880
880
|
default: V(() => [
|
|
881
|
-
(d(!0), F(be, null, Ue(e(Ae)().wholeMenus, (K) => (d(), G(
|
|
881
|
+
(d(!0), F(be, null, Ue(e(Ae)().wholeMenus, (K) => (d(), G(Q, {
|
|
882
882
|
key: K.path,
|
|
883
883
|
index: e(b)(K) || K.redirect
|
|
884
884
|
}, {
|
|
@@ -922,8 +922,8 @@ const St = { render: To }, Bo = {
|
|
|
922
922
|
onClick: e(A)
|
|
923
923
|
}, {
|
|
924
924
|
default: V(() => [
|
|
925
|
-
|
|
926
|
-
m(
|
|
925
|
+
ve(w("span", Lo, [
|
|
926
|
+
m(me, { icon: "ri:check-line" })
|
|
927
927
|
], 512), [
|
|
928
928
|
[xe, e(v) === "zh"]
|
|
929
929
|
]),
|
|
@@ -937,8 +937,8 @@ const St = { render: To }, Bo = {
|
|
|
937
937
|
onClick: e(k)
|
|
938
938
|
}, {
|
|
939
939
|
default: V(() => [
|
|
940
|
-
|
|
941
|
-
m(
|
|
940
|
+
ve(w("span", Go, [
|
|
941
|
+
m(me, { icon: "ri:check-line" })
|
|
942
942
|
], 512), [
|
|
943
943
|
[xe, e(v) === "en"]
|
|
944
944
|
]),
|
|
@@ -961,16 +961,16 @@ const St = { render: To }, Bo = {
|
|
|
961
961
|
default: V(() => [
|
|
962
962
|
m(ie, { onClick: I }, {
|
|
963
963
|
default: V(() => [
|
|
964
|
-
m(
|
|
965
|
-
pe(" " + X(
|
|
964
|
+
m(me, { icon: "ri:edit-2-fill" }),
|
|
965
|
+
pe(" " + X(N.$t("message.udp.passwordReset")), 1)
|
|
966
966
|
]),
|
|
967
967
|
_: 1
|
|
968
968
|
}),
|
|
969
969
|
m(j, { style: { margin: "3px 0 !important" } }),
|
|
970
970
|
m(ie, { onClick: e(i) }, {
|
|
971
971
|
default: V(() => [
|
|
972
|
-
m(
|
|
973
|
-
pe(" " + X(
|
|
972
|
+
m(me, { icon: "switch-button" }),
|
|
973
|
+
pe(" " + X(N.$t("message.udp.logout")), 1)
|
|
974
974
|
]),
|
|
975
975
|
_: 1
|
|
976
976
|
}, 8, ["onClick"])
|
|
@@ -995,7 +995,7 @@ const St = { render: To }, Bo = {
|
|
|
995
995
|
onClick: C[1] || (C[1] = //@ts-ignore
|
|
996
996
|
(...K) => e(z) && e(z)(...K))
|
|
997
997
|
}, [
|
|
998
|
-
m(
|
|
998
|
+
m(me, { icon: "ri:settings-5-fill" })
|
|
999
999
|
])
|
|
1000
1000
|
]),
|
|
1001
1001
|
L.value ? (d(), G(J, {
|
|
@@ -1004,7 +1004,7 @@ const St = { render: To }, Bo = {
|
|
|
1004
1004
|
items: e(p)(),
|
|
1005
1005
|
width: 360,
|
|
1006
1006
|
height: 240,
|
|
1007
|
-
title:
|
|
1007
|
+
title: N.$t("message.udp.passwordReset"),
|
|
1008
1008
|
"data-status": "update",
|
|
1009
1009
|
url: "/uums/user/updatePwd",
|
|
1010
1010
|
method: "put",
|
|
@@ -1020,7 +1020,7 @@ const St = { render: To }, Bo = {
|
|
|
1020
1020
|
}, Jo = /* @__PURE__ */ we(No, [["__cssModules", Xo], ["__scopeId", "data-v-1f82d127"]]), Zo = { class: "system-navbar bg-white shadow-sm shadow-[rgba(0, 21, 41, 0.08)] dark:shadow-[#0d0d0d]" }, Yo = {
|
|
1021
1021
|
key: 3,
|
|
1022
1022
|
class: "vertical-header-right"
|
|
1023
|
-
}, $o = { class: "check-en" }, er = { class: "select-none el-dropdown-link navbar-bg-hover" }, tr = ["src"], nr = { class: "dark:text-white user-name" }, or = { name: "NavBar" }, rr = /* @__PURE__ */
|
|
1023
|
+
}, $o = { class: "check-en" }, er = { class: "select-none el-dropdown-link navbar-bg-hover" }, tr = ["src"], nr = { class: "dark:text-white user-name" }, or = { name: "NavBar" }, rr = /* @__PURE__ */ se({
|
|
1024
1024
|
...or,
|
|
1025
1025
|
setup(s) {
|
|
1026
1026
|
const o = O(!1), {
|
|
@@ -1039,7 +1039,7 @@ const St = { render: To }, Bo = {
|
|
|
1039
1039
|
a.id = i.value.id, o.value = !0;
|
|
1040
1040
|
};
|
|
1041
1041
|
return x(), (R, B) => {
|
|
1042
|
-
const L = T("IconifyIconOffline"), q = T("el-dropdown-item"), h = T("el-dropdown-menu"), I = T("el-dropdown"),
|
|
1042
|
+
const L = T("IconifyIconOffline"), q = T("el-dropdown-item"), h = T("el-dropdown-menu"), I = T("el-dropdown"), Y = T("el-divider"), N = T("ut-modal-form");
|
|
1043
1043
|
return d(), F("div", Zo, [
|
|
1044
1044
|
e(c) !== "mix" ? (d(), G(no, {
|
|
1045
1045
|
key: 0,
|
|
@@ -1068,7 +1068,7 @@ const St = { render: To }, Bo = {
|
|
|
1068
1068
|
onClick: e(t)
|
|
1069
1069
|
}, {
|
|
1070
1070
|
default: V(() => [
|
|
1071
|
-
|
|
1071
|
+
ve(m(L, {
|
|
1072
1072
|
class: "check-zh",
|
|
1073
1073
|
icon: "ri:check-line"
|
|
1074
1074
|
}, null, 512), [
|
|
@@ -1084,7 +1084,7 @@ const St = { render: To }, Bo = {
|
|
|
1084
1084
|
onClick: e(l)
|
|
1085
1085
|
}, {
|
|
1086
1086
|
default: V(() => [
|
|
1087
|
-
|
|
1087
|
+
ve(w("span", $o, [
|
|
1088
1088
|
m(L, { icon: "ri:check-line" })
|
|
1089
1089
|
], 512), [
|
|
1090
1090
|
[xe, e(n) === "en"]
|
|
@@ -1113,7 +1113,7 @@ const St = { render: To }, Bo = {
|
|
|
1113
1113
|
]),
|
|
1114
1114
|
_: 1
|
|
1115
1115
|
}),
|
|
1116
|
-
m(
|
|
1116
|
+
m(Y, { style: { margin: "3px 0 !important" } }),
|
|
1117
1117
|
m(q, { onClick: e(v) }, {
|
|
1118
1118
|
default: V(() => [
|
|
1119
1119
|
m(L, { icon: "switch-button" }),
|
|
@@ -1148,7 +1148,7 @@ const St = { render: To }, Bo = {
|
|
|
1148
1148
|
m(L, { icon: "ri:settings-5-fill" })
|
|
1149
1149
|
])
|
|
1150
1150
|
])) : ee("", !0),
|
|
1151
|
-
o.value ? (d(), G(
|
|
1151
|
+
o.value ? (d(), G(N, {
|
|
1152
1152
|
key: 4,
|
|
1153
1153
|
record: a,
|
|
1154
1154
|
items: e(y)(),
|
|
@@ -1165,8 +1165,8 @@ const St = { render: To }, Bo = {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
}), lr = /* @__PURE__ */ we(rr, [["__scopeId", "data-v-5ef6e7ca"]]);
|
|
1167
1167
|
function Xt() {
|
|
1168
|
-
var
|
|
1169
|
-
const s = Ye(), o = $e(), c = Gt(), v = xt(), A = O(0), k = O(0), g = O(0), i = O(!1), z = O(-1), x = O({}), b = O(((
|
|
1168
|
+
var Y, N;
|
|
1169
|
+
const s = Ye(), o = $e(), c = Gt(), v = xt(), A = O(0), k = O(0), g = O(0), i = O(!1), z = O(-1), x = O({}), b = O(((Y = Ce.getItem(`${Je()}configure`)) == null ? void 0 : Y.showModel) || "smart"), u = O((N = Ce.getItem(`${Je()}configure`)) == null ? void 0 : N.hideTabs) ?? O("false"), y = W(() => He().multiTags), n = gt([
|
|
1170
1170
|
{
|
|
1171
1171
|
icon: "refresh-right",
|
|
1172
1172
|
text: "message.udp.reload",
|
|
@@ -1224,16 +1224,16 @@ function Xt() {
|
|
|
1224
1224
|
show: !0
|
|
1225
1225
|
}
|
|
1226
1226
|
]);
|
|
1227
|
-
function t(C,
|
|
1227
|
+
function t(C, Q, Z) {
|
|
1228
1228
|
var ie, r;
|
|
1229
|
-
const
|
|
1230
|
-
return qt((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 ?
|
|
1229
|
+
const ae = s.name || "", me = C.name || "";
|
|
1230
|
+
return qt((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 ? ae === me && _e(s.query, C.query) ? Q : Z : C.params ? ae === me && _e(s.params, C.params) ? Q : Z : ae === me ? Q : Z : ae === me ? Q : Z;
|
|
1231
1231
|
}
|
|
1232
1232
|
const l = W(() => (C) => {
|
|
1233
|
-
var
|
|
1234
|
-
return qt((
|
|
1235
|
-
}), a = W(() => (C,
|
|
1236
|
-
if (
|
|
1233
|
+
var Q, Z;
|
|
1234
|
+
return qt((Q = C == null ? void 0 : C.meta) == null ? void 0 : Q.fixedTag) && ((Z = C == null ? void 0 : C.meta) == null ? void 0 : Z.fixedTag) === !0;
|
|
1235
|
+
}), a = W(() => (C, Q) => {
|
|
1236
|
+
if (Q !== 0)
|
|
1237
1237
|
return t(C, !0, !1);
|
|
1238
1238
|
}), p = W(() => (C) => t(C, "is-active", "")), P = W(() => (C) => t(C, "schedule-active", "")), R = W(() => ({
|
|
1239
1239
|
transform: `translateX(${g.value}px)`
|
|
@@ -1309,7 +1309,7 @@ function ir(s, o) {
|
|
|
1309
1309
|
const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left" }, dr = ["onContextmenu", "onMouseenter", "onMouseleave", "onClick"], fr = { class: "tag-title dark:text-text_color_primary! dark:hover:text-primary!" }, hr = ["onClick"], pr = {
|
|
1310
1310
|
key: 1,
|
|
1311
1311
|
class: "chrome-tab"
|
|
1312
|
-
}, mr = { class: "chrome-tab__bg" }, vr = { class: "tag-title" }, gr = ["onClick"], yr = { class: "arrow-right" }, Ar = ["onClick"], wr = { class: "arrow-down" }, br = { name: "LayoutTag" }, kr = /* @__PURE__ */
|
|
1312
|
+
}, mr = { class: "chrome-tab__bg" }, vr = { class: "tag-title" }, gr = ["onClick"], yr = { class: "arrow-right" }, Ar = ["onClick"], wr = { class: "arrow-down" }, br = { name: "LayoutTag" }, kr = /* @__PURE__ */ se({
|
|
1313
1313
|
...br,
|
|
1314
1314
|
setup(s) {
|
|
1315
1315
|
const {
|
|
@@ -1337,9 +1337,9 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1337
1337
|
onMounted: q,
|
|
1338
1338
|
onMouseenter: h,
|
|
1339
1339
|
onMouseleave: I,
|
|
1340
|
-
transformI18n:
|
|
1341
|
-
onContentFullScreen:
|
|
1342
|
-
} = Xt(), C = xt(),
|
|
1340
|
+
transformI18n: Y,
|
|
1341
|
+
onContentFullScreen: N
|
|
1342
|
+
} = Xt(), C = xt(), Q = O(), Z = O(), ae = O(), me = O(), ie = O(!1), { isFullscreen: r, toggle: f } = kn(), j = [...Ot, ...Ae().flatteningRoutes.filter((U) => {
|
|
1343
1343
|
var D;
|
|
1344
1344
|
return (D = U == null ? void 0 : U.meta) == null ? void 0 : D.fixedTag;
|
|
1345
1345
|
})], J = async () => {
|
|
@@ -1351,11 +1351,11 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1351
1351
|
await Le();
|
|
1352
1352
|
const D = 10;
|
|
1353
1353
|
if (!k.refs["dynamic" + U]) return;
|
|
1354
|
-
const _ = k.refs["dynamic" + U][0], $ = _ == null ? void 0 : _.offsetLeft, ue = _ == null ? void 0 : _.offsetWidth, E =
|
|
1354
|
+
const _ = k.refs["dynamic" + U][0], $ = _ == null ? void 0 : _.offsetLeft, ue = _ == null ? void 0 : _.offsetWidth, E = ae.value ? ae.value.offsetWidth : 0, M = Q.value ? (oe = Q.value) == null ? void 0 : oe.offsetWidth : 0;
|
|
1355
1355
|
E <= M ? ie.value = !0 : ie.value = !1, M < E || $ === 0 ? u.value = 0 : $ < -u.value ? u.value = -$ + D : $ > -u.value && $ + ue < -u.value + E ? u.value = Math.min(0, E - ue - $ - D) : u.value = -($ - (E - D - ue));
|
|
1356
1356
|
}, te = (U) => {
|
|
1357
1357
|
var $;
|
|
1358
|
-
const D =
|
|
1358
|
+
const D = ae.value ? ($ = ae.value) == null ? void 0 : $.offsetWidth : 0, _ = Q.value ? Q.value.offsetWidth : 0;
|
|
1359
1359
|
U > 0 ? u.value = Math.min(0, u.value + U) : D < _ ? u.value >= -(_ - D) && (u.value = Math.max(u.value + U, D - _)) : u.value = 0;
|
|
1360
1360
|
};
|
|
1361
1361
|
function H(U) {
|
|
@@ -1445,7 +1445,7 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1445
1445
|
}, 100);
|
|
1446
1446
|
break;
|
|
1447
1447
|
case 7:
|
|
1448
|
-
|
|
1448
|
+
N(), setTimeout(() => {
|
|
1449
1449
|
n.hiddenSideBar ? (i[7].icon = "ri:fullscreen-exit-fill", i[7].text = "message.btn.contentExitFullScreen") : (i[7].icon = "ri:fullscreen-fill", i[7].text = "message.btn.contentFullScreen");
|
|
1450
1450
|
}, 100);
|
|
1451
1451
|
break;
|
|
@@ -1493,7 +1493,7 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1493
1493
|
function Yt(U, D) {
|
|
1494
1494
|
var oe;
|
|
1495
1495
|
L(), U.path === "/welcome" || (oe = U == null ? void 0 : U.meta) != null && oe.fixedTag ? (le(!1), i[0].show = !0) : o.path !== U.path && o.name !== U.name ? (i[0].show = !1, Oe(U.path, U.query, U.params)) : g.value.length === 2 && o.path !== U.path ? (le(!0), i[4].show = !1, Oe(U.path, U.query, U.params)) : o.path === U.path && Oe(U.path, U.query, U.params, !0), P.value = U;
|
|
1496
|
-
const _ = 140, $ = e(
|
|
1496
|
+
const _ = 140, $ = e(Z).getBoundingClientRect().left, E = e(Z).offsetWidth - _, M = D.clientX - $ + 5;
|
|
1497
1497
|
M > E ? x.value = E : x.value = M, C.hiddenSideBar ? z.value = D.clientY : z.value = D.clientY - 40, Le(() => {
|
|
1498
1498
|
v.value = !0;
|
|
1499
1499
|
});
|
|
@@ -1508,7 +1508,7 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1508
1508
|
params: U.params
|
|
1509
1509
|
}) : c.push({ name: D }) : c.push({ path: _ }), ye.emit("tagOnClick", U);
|
|
1510
1510
|
}
|
|
1511
|
-
return Nt(
|
|
1511
|
+
return Nt(me, L, {
|
|
1512
1512
|
detectIframe: !0
|
|
1513
1513
|
}), qe(o, () => {
|
|
1514
1514
|
t.value = -1, J();
|
|
@@ -1524,7 +1524,7 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1524
1524
|
Oe(U);
|
|
1525
1525
|
});
|
|
1526
1526
|
}), kt(
|
|
1527
|
-
|
|
1527
|
+
ae,
|
|
1528
1528
|
Qt(() => {
|
|
1529
1529
|
J();
|
|
1530
1530
|
}, 200)
|
|
@@ -1536,10 +1536,10 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1536
1536
|
return e(A) ? ee("", !0) : (d(), F("div", {
|
|
1537
1537
|
key: 0,
|
|
1538
1538
|
ref_key: "containerDom",
|
|
1539
|
-
ref:
|
|
1539
|
+
ref: Z,
|
|
1540
1540
|
class: "tags-view"
|
|
1541
1541
|
}, [
|
|
1542
|
-
|
|
1542
|
+
ve(w("span", cr, [
|
|
1543
1543
|
m(_, {
|
|
1544
1544
|
icon: "ri:arrow-left-s-line",
|
|
1545
1545
|
onClick: D[0] || (D[0] = (M) => te(200))
|
|
@@ -1549,12 +1549,12 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1549
1549
|
]),
|
|
1550
1550
|
w("div", {
|
|
1551
1551
|
ref_key: "scrollbarDom",
|
|
1552
|
-
ref:
|
|
1552
|
+
ref: ae,
|
|
1553
1553
|
class: re(["scroll-container", e(b) === "chrome" && "chrome-scroll-container"])
|
|
1554
1554
|
}, [
|
|
1555
1555
|
w("div", {
|
|
1556
1556
|
ref_key: "tabDom",
|
|
1557
|
-
ref:
|
|
1557
|
+
ref: Q,
|
|
1558
1558
|
class: "select-none tab",
|
|
1559
1559
|
style: he(e(l))
|
|
1560
1560
|
}, [
|
|
@@ -1576,7 +1576,7 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1576
1576
|
onClick: (de) => $t(M)
|
|
1577
1577
|
}, [
|
|
1578
1578
|
e(b) !== "chrome" ? (d(), F(be, { key: 0 }, [
|
|
1579
|
-
w("span", fr, X(e(
|
|
1579
|
+
w("span", fr, X(e(Y)((ze = M == null ? void 0 : M.meta) == null ? void 0 : ze.title)), 1),
|
|
1580
1580
|
!e(y)(M) && (e(a)(M, oe) || oe === e(t) && oe !== 0) ? (d(), F("span", {
|
|
1581
1581
|
key: 0,
|
|
1582
1582
|
class: "el-icon-close",
|
|
@@ -1594,7 +1594,7 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1594
1594
|
w("div", mr, [
|
|
1595
1595
|
m(ur)
|
|
1596
1596
|
]),
|
|
1597
|
-
w("span", vr, X(e(
|
|
1597
|
+
w("span", vr, X(e(Y)((Be = M == null ? void 0 : M.meta) == null ? void 0 : Be.title)), 1),
|
|
1598
1598
|
!e(y)(M) && oe !== 0 ? (d(), F("span", {
|
|
1599
1599
|
key: 0,
|
|
1600
1600
|
class: "chrome-close-btn",
|
|
@@ -1608,7 +1608,7 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1608
1608
|
}), 128))
|
|
1609
1609
|
], 4)
|
|
1610
1610
|
], 2),
|
|
1611
|
-
|
|
1611
|
+
ve(w("span", yr, [
|
|
1612
1612
|
m(_, {
|
|
1613
1613
|
icon: "ri:arrow-right-s-line",
|
|
1614
1614
|
onClick: D[1] || (D[1] = (M) => te(-200))
|
|
@@ -1618,9 +1618,9 @@ const ur = /* @__PURE__ */ we(ar, [["render", ir]]), cr = { class: "arrow-left"
|
|
|
1618
1618
|
]),
|
|
1619
1619
|
m(At, { name: "el-zoom-in-top" }, {
|
|
1620
1620
|
default: V(() => [
|
|
1621
|
-
|
|
1621
|
+
ve((d(), F("ul", {
|
|
1622
1622
|
ref_key: "contextmenuRef",
|
|
1623
|
-
ref:
|
|
1623
|
+
ref: me,
|
|
1624
1624
|
key: Math.random(),
|
|
1625
1625
|
style: he(e(B)),
|
|
1626
1626
|
class: "contextmenu"
|
|
@@ -1698,7 +1698,7 @@ function Hr(s, o) {
|
|
|
1698
1698
|
w("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)
|
|
1699
1699
|
]));
|
|
1700
1700
|
}
|
|
1701
|
-
const Jt = { render: Hr }, Ur = { class: "h-full" }, Sr = { key: 1 }, Cr = /* @__PURE__ */
|
|
1701
|
+
const Jt = { render: Hr }, Ur = { class: "h-full" }, Sr = { key: 1 }, Cr = /* @__PURE__ */ se({
|
|
1702
1702
|
__name: "index",
|
|
1703
1703
|
props: {
|
|
1704
1704
|
fixedHeader: Boolean
|
|
@@ -1710,7 +1710,7 @@ const Jt = { render: Hr }, Ur = { class: "h-full" }, Sr = { key: 1 }, Cr = /* @_
|
|
|
1710
1710
|
z.value && !x.value ? "padding-top: 48px" : "",
|
|
1711
1711
|
!z.value && !x.value ? c.value == "chrome" ? "padding-top: 85px;" : "padding-top: 81px;" : "",
|
|
1712
1712
|
o.fixedHeader ? "" : "padding-top: 0;"
|
|
1713
|
-
] : "padding-top: 0"), u =
|
|
1713
|
+
] : "padding-top: 0"), u = se({
|
|
1714
1714
|
props: {
|
|
1715
1715
|
route: {
|
|
1716
1716
|
type: void 0,
|
|
@@ -1800,7 +1800,7 @@ const Jt = { render: Hr }, Ur = { class: "h-full" }, Sr = { key: 1 }, Cr = /* @_
|
|
|
1800
1800
|
], 6);
|
|
1801
1801
|
};
|
|
1802
1802
|
}
|
|
1803
|
-
}), Dt = /* @__PURE__ */ we(Cr, [["__scopeId", "data-v-9d8ba60b"]]), Vr = { class: "project-configuration border-0 border-b-[1px] border-solid border-[var(--pure-border-color)]" }, jr = { class: "dark:text-white" }, zr = { class: "flex justify-end p-3 border-0 border-t-[1px] border-solid border-[var(--pure-border-color)]" }, Fr = /* @__PURE__ */
|
|
1803
|
+
}), Dt = /* @__PURE__ */ we(Cr, [["__scopeId", "data-v-9d8ba60b"]]), Vr = { class: "project-configuration border-0 border-b-[1px] border-solid border-[var(--pure-border-color)]" }, jr = { class: "dark:text-white" }, zr = { class: "flex justify-end p-3 border-0 border-t-[1px] border-solid border-[var(--pure-border-color)]" }, Fr = /* @__PURE__ */ se({
|
|
1804
1804
|
__name: "index",
|
|
1805
1805
|
setup(s) {
|
|
1806
1806
|
const o = O(null), c = O(!1), v = W(() => [
|
|
@@ -1838,7 +1838,7 @@ const Jt = { render: Hr }, Ur = { class: "h-full" }, Sr = { key: 1 }, Cr = /* @_
|
|
|
1838
1838
|
}, [
|
|
1839
1839
|
w("div", Vr, [
|
|
1840
1840
|
w("h4", jr, X(k.$t("message.tip.projectConfig")), 1),
|
|
1841
|
-
|
|
1841
|
+
ve((d(), F("span", {
|
|
1842
1842
|
class: re(v.value)
|
|
1843
1843
|
}, [
|
|
1844
1844
|
m(i, {
|
|
@@ -1863,7 +1863,7 @@ const Jt = { render: Hr }, Ur = { class: "h-full" }, Sr = { key: 1 }, Cr = /* @_
|
|
|
1863
1863
|
_: 3
|
|
1864
1864
|
}),
|
|
1865
1865
|
w("div", zr, [
|
|
1866
|
-
|
|
1866
|
+
ve((d(), G(x, {
|
|
1867
1867
|
type: "danger",
|
|
1868
1868
|
text: "",
|
|
1869
1869
|
bg: "",
|
|
@@ -1928,7 +1928,7 @@ function Lr(s, o) {
|
|
|
1928
1928
|
w("path", { d: "M893 888.5c0 17.397-14.103 31.5-31.5 31.5h-700c-17.397 0-31.5-14.103-31.5-31.5s14.103-31.5 31.5-31.5h700c17.397 0 31.5 14.103 31.5 31.5m33-714.074C926 135.484 894.686 105 855.744 105H168.256C129.314 105 98 135.484 98 174.426V533h828zM98 630.988C98 669.931 129.314 702 168.256 702h687.488C894.686 702 926 669.931 926 630.988V596H98z" }, null, -1)
|
|
1929
1929
|
]));
|
|
1930
1930
|
}
|
|
1931
|
-
const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm font-medium dark:text-white" }, Qr = { class: "flex items-center gap-2 p-2" }, Nr = { class: "pl-1" }, Kr = { class: "mt-5 mb-3 text-sm font-medium dark:text-white" }, Er = { class: "theme-color" }, Xr = ["onClick"], Jr = { class: "mt-5 mb-3 text-sm font-medium dark:text-white" }, Zr = { class: "udp-theme" }, Yr = { class: "mt-5 mb-3 text-base font-medium dark:text-white" }, $r = { class: "setting" }, el = { name: "SettingPanel" }, tl = /* @__PURE__ */
|
|
1931
|
+
const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm font-medium dark:text-white" }, Qr = { class: "flex items-center gap-2 p-2" }, Nr = { class: "pl-1" }, Kr = { class: "mt-5 mb-3 text-sm font-medium dark:text-white" }, Er = { class: "theme-color" }, Xr = ["onClick"], Jr = { class: "mt-5 mb-3 text-sm font-medium dark:text-white" }, Zr = { class: "udp-theme" }, Yr = { class: "mt-5 mb-3 text-base font-medium dark:text-white" }, $r = { class: "setting" }, el = { name: "SettingPanel" }, tl = /* @__PURE__ */ se({
|
|
1932
1932
|
...el,
|
|
1933
1933
|
setup(s) {
|
|
1934
1934
|
var K, te;
|
|
@@ -1970,21 +1970,21 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
1970
1970
|
const H = p.multiTagsCache;
|
|
1971
1971
|
B("multiTagsCache", H), He().multiTagsCacheChange(H);
|
|
1972
1972
|
};
|
|
1973
|
-
function
|
|
1973
|
+
function Y(H) {
|
|
1974
1974
|
l.value = H, B("showModel", H), ye.emit("tagViewsShowModel", H);
|
|
1975
1975
|
}
|
|
1976
|
-
function
|
|
1977
|
-
H === 1 && H !== 2 ? z.value = !0 : z.value = !1, x.value =
|
|
1976
|
+
function N(H) {
|
|
1977
|
+
H === 1 && H !== 2 ? z.value = !0 : z.value = !1, x.value = ae.value[H].theme, n(x.value), H === 2 && J();
|
|
1978
1978
|
}
|
|
1979
1979
|
function C() {
|
|
1980
1980
|
e(a) ? B("showLogo", !0) : B("showLogo", !1), ye.emit("logoChange", e(a));
|
|
1981
1981
|
}
|
|
1982
|
-
function
|
|
1982
|
+
function Q(H) {
|
|
1983
1983
|
H.forEach((S) => {
|
|
1984
1984
|
y(!1, "is-select", e(S));
|
|
1985
1985
|
});
|
|
1986
1986
|
}
|
|
1987
|
-
const
|
|
1987
|
+
const Z = W(() => (H) => H === b.value.theme && b.value.theme !== "light" ? "#fff" : H === b.value.theme && b.value.theme === "light" ? "#1d2b45" : "transparent"), ae = W(() => [
|
|
1988
1988
|
{
|
|
1989
1989
|
label: c("message.udp.light"),
|
|
1990
1990
|
icon: Br,
|
|
@@ -2006,7 +2006,7 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2006
2006
|
value: 2,
|
|
2007
2007
|
iconAttrs: { fill: v.value ? "#fff" : "#000" }
|
|
2008
2008
|
}
|
|
2009
|
-
]),
|
|
2009
|
+
]), me = [
|
|
2010
2010
|
{ label: c("message.udp.smart"), value: "smart" },
|
|
2011
2011
|
{ label: c("message.udp.card"), value: "card" },
|
|
2012
2012
|
{ label: "丝滑", value: "chrome" }
|
|
@@ -2026,13 +2026,13 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2026
2026
|
qe(A, ({ layout: H }) => {
|
|
2027
2027
|
switch (H.layout) {
|
|
2028
2028
|
case "vertical":
|
|
2029
|
-
y(!0, "is-select", e(g)), We(
|
|
2029
|
+
y(!0, "is-select", e(g)), We(Q([i]), 50), We(Q([k]), 50);
|
|
2030
2030
|
break;
|
|
2031
2031
|
case "horizontal":
|
|
2032
|
-
y(!0, "is-select", e(i)), We(
|
|
2032
|
+
y(!0, "is-select", e(i)), We(Q([g]), 50), We(Q([k]), 50);
|
|
2033
2033
|
break;
|
|
2034
2034
|
case "mix":
|
|
2035
|
-
y(!0, "is-select", e(k)), We(
|
|
2035
|
+
y(!0, "is-select", e(k)), We(Q([g]), 50), We(Q([i]), 50);
|
|
2036
2036
|
break;
|
|
2037
2037
|
}
|
|
2038
2038
|
});
|
|
@@ -2059,8 +2059,8 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2059
2059
|
w("p", Wr, X(H.$t("message.udp.pageStyle")), 1),
|
|
2060
2060
|
m(ne, {
|
|
2061
2061
|
"model-value": e(x) === "system" ? 2 : e(z) ? 1 : 0,
|
|
2062
|
-
options:
|
|
2063
|
-
onChange:
|
|
2062
|
+
options: ae.value,
|
|
2063
|
+
onChange: N
|
|
2064
2064
|
}, {
|
|
2065
2065
|
default: V(({ item: le }) => [
|
|
2066
2066
|
w("div", Qr, [
|
|
@@ -2072,7 +2072,7 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2072
2072
|
}, 8, ["model-value", "options"]),
|
|
2073
2073
|
w("p", Kr, X(H.$t("message.udp.theme")), 1),
|
|
2074
2074
|
w("ul", Er, [
|
|
2075
|
-
(d(!0), F(be, null, Ue(e(u), (le, Xe) =>
|
|
2075
|
+
(d(!0), F(be, null, Ue(e(u), (le, Xe) => ve((d(), F("li", {
|
|
2076
2076
|
key: Xe,
|
|
2077
2077
|
style: he(P.value(le.color)),
|
|
2078
2078
|
onClick: (Oe) => e(t)(le.themeColor)
|
|
@@ -2080,7 +2080,7 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2080
2080
|
m(ke, {
|
|
2081
2081
|
style: { margin: "0.1em 0.1em 0 0" },
|
|
2082
2082
|
size: 17,
|
|
2083
|
-
color:
|
|
2083
|
+
color: Z.value(le.themeColor)
|
|
2084
2084
|
}, {
|
|
2085
2085
|
default: V(() => [
|
|
2086
2086
|
m(fe, { icon: "ri:check-line" })
|
|
@@ -2093,7 +2093,7 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2093
2093
|
]),
|
|
2094
2094
|
w("p", Jr, X(H.$t("message.udp.navigationMode")), 1),
|
|
2095
2095
|
w("ul", Zr, [
|
|
2096
|
-
|
|
2096
|
+
ve((d(), F("li", {
|
|
2097
2097
|
ref_key: "verticalRef",
|
|
2098
2098
|
ref: g,
|
|
2099
2099
|
class: re(e(b).layout === "vertical" ? "is-select" : ""),
|
|
@@ -2107,7 +2107,7 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2107
2107
|
zIndex: 41e3
|
|
2108
2108
|
}]
|
|
2109
2109
|
]),
|
|
2110
|
-
e(o) !== "mobile" ?
|
|
2110
|
+
e(o) !== "mobile" ? ve((d(), F("li", {
|
|
2111
2111
|
key: 0,
|
|
2112
2112
|
ref_key: "horizontalRef",
|
|
2113
2113
|
ref: i,
|
|
@@ -2122,7 +2122,7 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2122
2122
|
zIndex: 41e3
|
|
2123
2123
|
}]
|
|
2124
2124
|
]) : ee("", !0),
|
|
2125
|
-
e(o) !== "mobile" ?
|
|
2125
|
+
e(o) !== "mobile" ? ve((d(), F("li", {
|
|
2126
2126
|
key: 1,
|
|
2127
2127
|
ref_key: "mixRef",
|
|
2128
2128
|
ref: k,
|
|
@@ -2141,8 +2141,8 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2141
2141
|
w("p", Yr, X(H.$t("message.udp.tagStyle")), 1),
|
|
2142
2142
|
m(ne, {
|
|
2143
2143
|
"model-value": l.value,
|
|
2144
|
-
options:
|
|
2145
|
-
onChange:
|
|
2144
|
+
options: me,
|
|
2145
|
+
onChange: Y
|
|
2146
2146
|
}, null, 8, ["model-value"]),
|
|
2147
2147
|
S[16] || (S[16] = w("p", { class: "mt-5 mb-1 text-base font-medium dark:text-white" }, "界面显示", -1)),
|
|
2148
2148
|
w("ul", $r, [
|
|
@@ -2210,7 +2210,7 @@ const Gr = { render: Lr }, Or = { class: "p-6" }, Wr = { class: "mb-3 text-sm fo
|
|
|
2210
2210
|
});
|
|
2211
2211
|
};
|
|
2212
2212
|
}
|
|
2213
|
-
}), nl = /* @__PURE__ */ we(tl, [["__scopeId", "data-v-7bfb2724"]]), ol = ["src"], rl = ["src"], ll = { class: "sidebar-title" }, al = /* @__PURE__ */
|
|
2213
|
+
}), nl = /* @__PURE__ */ we(tl, [["__scopeId", "data-v-7bfb2724"]]), ol = ["src"], rl = ["src"], ll = { class: "sidebar-title" }, al = /* @__PURE__ */ se({
|
|
2214
2214
|
__name: "sidebar-logo",
|
|
2215
2215
|
props: {
|
|
2216
2216
|
collapse: Boolean
|
|
@@ -2395,7 +2395,7 @@ function fl() {
|
|
|
2395
2395
|
}), f;
|
|
2396
2396
|
}
|
|
2397
2397
|
function z(r, f, j) {
|
|
2398
|
-
if (r.customInspect && f &&
|
|
2398
|
+
if (r.customInspect && f && N(f.inspect) && // Filter out the util module, it's inspect function is special
|
|
2399
2399
|
f.inspect !== s.inspect && // Also filter out any prototype objects using the circular check.
|
|
2400
2400
|
!(f.constructor && f.constructor.prototype === f)) {
|
|
2401
2401
|
var J = f.inspect(j, r);
|
|
@@ -2405,10 +2405,10 @@ function fl() {
|
|
|
2405
2405
|
if (K)
|
|
2406
2406
|
return K;
|
|
2407
2407
|
var te = Object.keys(f), H = i(te);
|
|
2408
|
-
if (r.showHidden && (te = Object.getOwnPropertyNames(f)),
|
|
2408
|
+
if (r.showHidden && (te = Object.getOwnPropertyNames(f)), Y(f) && (te.indexOf("message") >= 0 || te.indexOf("description") >= 0))
|
|
2409
2409
|
return b(f);
|
|
2410
2410
|
if (te.length === 0) {
|
|
2411
|
-
if (
|
|
2411
|
+
if (N(f)) {
|
|
2412
2412
|
var S = f.name ? ": " + f.name : "";
|
|
2413
2413
|
return r.stylize("[Function" + S + "]", "special");
|
|
2414
2414
|
}
|
|
@@ -2416,15 +2416,15 @@ function fl() {
|
|
|
2416
2416
|
return r.stylize(RegExp.prototype.toString.call(f), "regexp");
|
|
2417
2417
|
if (I(f))
|
|
2418
2418
|
return r.stylize(Date.prototype.toString.call(f), "date");
|
|
2419
|
-
if (
|
|
2419
|
+
if (Y(f))
|
|
2420
2420
|
return b(f);
|
|
2421
2421
|
}
|
|
2422
2422
|
var ne = "", fe = !1, ke = ["{", "}"];
|
|
2423
|
-
if (t(f) && (fe = !0, ke = ["[", "]"]),
|
|
2423
|
+
if (t(f) && (fe = !0, ke = ["[", "]"]), N(f)) {
|
|
2424
2424
|
var Ve = f.name ? ": " + f.name : "";
|
|
2425
2425
|
ne = " [Function" + Ve + "]";
|
|
2426
2426
|
}
|
|
2427
|
-
if (q(f) && (ne = " " + RegExp.prototype.toString.call(f)), I(f) && (ne = " " + Date.prototype.toUTCString.call(f)),
|
|
2427
|
+
if (q(f) && (ne = " " + RegExp.prototype.toString.call(f)), I(f) && (ne = " " + Date.prototype.toUTCString.call(f)), Y(f) && (ne = " " + b(f)), te.length === 0 && (!fe || f.length == 0))
|
|
2428
2428
|
return ke[0] + ne + ke[1];
|
|
2429
2429
|
if (j < 0)
|
|
2430
2430
|
return q(f) ? r.stylize(RegExp.prototype.toString.call(f), "regexp") : r.stylize("[Object]", "special");
|
|
@@ -2533,7 +2533,7 @@ function fl() {
|
|
|
2533
2533
|
}
|
|
2534
2534
|
s.isUndefined = L;
|
|
2535
2535
|
function q(r) {
|
|
2536
|
-
return h(r) &&
|
|
2536
|
+
return h(r) && Q(r) === "[object RegExp]";
|
|
2537
2537
|
}
|
|
2538
2538
|
s.isRegExp = q;
|
|
2539
2539
|
function h(r) {
|
|
@@ -2541,29 +2541,29 @@ function fl() {
|
|
|
2541
2541
|
}
|
|
2542
2542
|
s.isObject = h;
|
|
2543
2543
|
function I(r) {
|
|
2544
|
-
return h(r) &&
|
|
2544
|
+
return h(r) && Q(r) === "[object Date]";
|
|
2545
2545
|
}
|
|
2546
2546
|
s.isDate = I;
|
|
2547
|
-
function
|
|
2548
|
-
return h(r) && (
|
|
2547
|
+
function Y(r) {
|
|
2548
|
+
return h(r) && (Q(r) === "[object Error]" || r instanceof Error);
|
|
2549
2549
|
}
|
|
2550
|
-
s.isError =
|
|
2551
|
-
function
|
|
2550
|
+
s.isError = Y;
|
|
2551
|
+
function N(r) {
|
|
2552
2552
|
return typeof r == "function";
|
|
2553
2553
|
}
|
|
2554
|
-
s.isFunction =
|
|
2554
|
+
s.isFunction = N;
|
|
2555
2555
|
function C(r) {
|
|
2556
2556
|
return r === null || typeof r == "boolean" || typeof r == "number" || typeof r == "string" || typeof r == "symbol" || // ES6 symbol
|
|
2557
2557
|
typeof r > "u";
|
|
2558
2558
|
}
|
|
2559
2559
|
s.isPrimitive = C, s.isBuffer = cl();
|
|
2560
|
-
function
|
|
2560
|
+
function Q(r) {
|
|
2561
2561
|
return Object.prototype.toString.call(r);
|
|
2562
2562
|
}
|
|
2563
|
-
function
|
|
2563
|
+
function Z(r) {
|
|
2564
2564
|
return r < 10 ? "0" + r.toString(10) : r.toString(10);
|
|
2565
2565
|
}
|
|
2566
|
-
var
|
|
2566
|
+
var ae = [
|
|
2567
2567
|
"Jan",
|
|
2568
2568
|
"Feb",
|
|
2569
2569
|
"Mar",
|
|
@@ -2577,16 +2577,16 @@ function fl() {
|
|
|
2577
2577
|
"Nov",
|
|
2578
2578
|
"Dec"
|
|
2579
2579
|
];
|
|
2580
|
-
function
|
|
2580
|
+
function me() {
|
|
2581
2581
|
var r = /* @__PURE__ */ new Date(), f = [
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2582
|
+
Z(r.getHours()),
|
|
2583
|
+
Z(r.getMinutes()),
|
|
2584
|
+
Z(r.getSeconds())
|
|
2585
2585
|
].join(":");
|
|
2586
|
-
return [r.getDate(),
|
|
2586
|
+
return [r.getDate(), ae[r.getMonth()], f].join(" ");
|
|
2587
2587
|
}
|
|
2588
2588
|
s.log = function() {
|
|
2589
|
-
console.log("%s - %s",
|
|
2589
|
+
console.log("%s - %s", me(), s.format.apply(s, arguments));
|
|
2590
2590
|
}, s.inherits = dl(), s._extend = function(r, f) {
|
|
2591
2591
|
if (!f || !h(f)) return r;
|
|
2592
2592
|
for (var j = Object.keys(f), J = j.length; J--; )
|
|
@@ -2802,7 +2802,7 @@ var pl = hl();
|
|
|
2802
2802
|
const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
2803
2803
|
key: 1,
|
|
2804
2804
|
class: "ut-mix-title"
|
|
2805
|
-
}, gl = { key: 0 }, yl = { key: 1 }, Zt = /* @__PURE__ */
|
|
2805
|
+
}, gl = { key: 0 }, yl = { key: 1 }, Zt = /* @__PURE__ */ se({
|
|
2806
2806
|
__name: "sidebarItem",
|
|
2807
2807
|
props: {
|
|
2808
2808
|
item: {
|
|
@@ -2965,7 +2965,7 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
2965
2965
|
}, 8, ["index"]));
|
|
2966
2966
|
};
|
|
2967
2967
|
}
|
|
2968
|
-
}), Al = /* @__PURE__ */
|
|
2968
|
+
}), Al = /* @__PURE__ */ se({
|
|
2969
2969
|
name: "LayoutVertical",
|
|
2970
2970
|
__name: "vertical",
|
|
2971
2971
|
setup(s) {
|
|
@@ -2991,7 +2991,7 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
2991
2991
|
ye.off("logoChange");
|
|
2992
2992
|
}), (y, n) => {
|
|
2993
2993
|
const t = T("el-menu"), l = T("el-scrollbar"), a = at("spinning");
|
|
2994
|
-
return
|
|
2994
|
+
return ve((d(), F("div", {
|
|
2995
2995
|
class: re(["sidebar-container", c.value ? "has-logo" : "no-logo"])
|
|
2996
2996
|
}, [
|
|
2997
2997
|
c.value ? (d(), G(sl, {
|
|
@@ -3030,7 +3030,7 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
3030
3030
|
]);
|
|
3031
3031
|
};
|
|
3032
3032
|
}
|
|
3033
|
-
}), wl = { class: "horizontal-header" }, bl = ["src"], kl = { class: "text-xl u-project-text" }, xl = { class: "horizontal-header-right flex-[2]" }, Pl = { class: "check-zh" }, Hl = { class: "check-en" }, Ul = { class: "el-dropdown-link navbar-bg-hover" }, Sl = ["src"], Cl = { class: "dark:text-white" }, Vl = { name: "LayoutHorizontal" }, jl = /* @__PURE__ */
|
|
3033
|
+
}), wl = { class: "horizontal-header" }, bl = ["src"], kl = { class: "text-xl u-project-text" }, xl = { class: "horizontal-header-right flex-[2]" }, Pl = { class: "check-zh" }, Hl = { class: "check-en" }, Ul = { class: "el-dropdown-link navbar-bg-hover" }, Sl = ["src"], Cl = { class: "dark:text-white" }, Vl = { name: "LayoutHorizontal" }, jl = /* @__PURE__ */ se({
|
|
3034
3034
|
...Vl,
|
|
3035
3035
|
setup(s) {
|
|
3036
3036
|
const o = O(), { route: c, locale: v, translationCh: A, translationEn: k } = Ut(o), g = Ae(), i = Ce.getItem(Ze) || {}, z = O(i.logo || Kt), {
|
|
@@ -3051,12 +3051,12 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
3051
3051
|
const L = () => {
|
|
3052
3052
|
P.id = n.id, B.value = !0;
|
|
3053
3053
|
}, q = (h) => {
|
|
3054
|
-
const I = h.wheelDelta || -h.deltaY * 40,
|
|
3055
|
-
|
|
3054
|
+
const I = h.wheelDelta || -h.deltaY * 40, Y = R.value;
|
|
3055
|
+
Y.setScrollLeft(Y.wrapRef.scrollLeft + I);
|
|
3056
3056
|
};
|
|
3057
3057
|
return (h, I) => {
|
|
3058
|
-
const
|
|
3059
|
-
return
|
|
3058
|
+
const Y = T("el-menu"), N = T("el-scrollbar"), C = T("IconifyIconOffline"), Q = T("el-dropdown-item"), Z = T("el-dropdown-menu"), ae = T("el-dropdown"), me = T("el-divider"), ie = T("ut-modal-form"), r = at("spinning");
|
|
3059
|
+
return ve((d(), F("div", wl, [
|
|
3060
3060
|
w("div", {
|
|
3061
3061
|
class: "flex flex-1 horizontal-header-left",
|
|
3062
3062
|
onClick: I[0] || (I[0] = //@ts-ignore
|
|
@@ -3068,14 +3068,14 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
3068
3068
|
}, null, 8, bl),
|
|
3069
3069
|
w("span", kl, X(e(x)), 1)
|
|
3070
3070
|
]),
|
|
3071
|
-
m(
|
|
3071
|
+
m(N, {
|
|
3072
3072
|
ref_key: "refScrollbar",
|
|
3073
3073
|
ref: R,
|
|
3074
3074
|
class: "flex-[3]",
|
|
3075
3075
|
onWheel: Me(q, ["prevent"])
|
|
3076
3076
|
}, {
|
|
3077
3077
|
default: V(() => [
|
|
3078
|
-
m(
|
|
3078
|
+
m(Y, {
|
|
3079
3079
|
"default-active": e(c).path,
|
|
3080
3080
|
ellipsis: !1,
|
|
3081
3081
|
"unique-opened": "",
|
|
@@ -3102,21 +3102,21 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
3102
3102
|
class: "udp-horizontal"
|
|
3103
3103
|
})) : ee("", !0),
|
|
3104
3104
|
m(Pt),
|
|
3105
|
-
m(
|
|
3105
|
+
m(ae, {
|
|
3106
3106
|
id: "header-translation",
|
|
3107
3107
|
class: "px-2",
|
|
3108
3108
|
trigger: "click"
|
|
3109
3109
|
}, {
|
|
3110
3110
|
dropdown: V(() => [
|
|
3111
|
-
m(
|
|
3111
|
+
m(Z, { class: "translation" }, {
|
|
3112
3112
|
default: V(() => [
|
|
3113
|
-
m(
|
|
3113
|
+
m(Q, {
|
|
3114
3114
|
style: he(e(l)(e(v), "zh")),
|
|
3115
3115
|
class: re(["dark:text-white!", e(a)(e(v), "zh")]),
|
|
3116
3116
|
onClick: e(A)
|
|
3117
3117
|
}, {
|
|
3118
3118
|
default: V(() => [
|
|
3119
|
-
|
|
3119
|
+
ve(w("span", Pl, [
|
|
3120
3120
|
m(C, { icon: "check" })
|
|
3121
3121
|
], 512), [
|
|
3122
3122
|
[xe, e(v) === "zh"]
|
|
@@ -3125,13 +3125,13 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
3125
3125
|
]),
|
|
3126
3126
|
_: 1
|
|
3127
3127
|
}, 8, ["style", "class", "onClick"]),
|
|
3128
|
-
m(
|
|
3128
|
+
m(Q, {
|
|
3129
3129
|
style: he(e(l)(e(v), "en")),
|
|
3130
3130
|
class: re(["dark:text-white!", e(a)(e(v), "en")]),
|
|
3131
3131
|
onClick: e(k)
|
|
3132
3132
|
}, {
|
|
3133
3133
|
default: V(() => [
|
|
3134
|
-
|
|
3134
|
+
ve(w("span", Hl, [
|
|
3135
3135
|
m(C, { icon: "check" })
|
|
3136
3136
|
], 512), [
|
|
3137
3137
|
[xe, e(v) === "en"]
|
|
@@ -3149,19 +3149,19 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
3149
3149
|
]),
|
|
3150
3150
|
_: 1
|
|
3151
3151
|
}),
|
|
3152
|
-
m(
|
|
3152
|
+
m(ae, { trigger: "click" }, {
|
|
3153
3153
|
dropdown: V(() => [
|
|
3154
|
-
m(
|
|
3154
|
+
m(Z, { class: "user-dropdown" }, {
|
|
3155
3155
|
default: V(() => [
|
|
3156
|
-
m(
|
|
3156
|
+
m(Q, { onClick: L }, {
|
|
3157
3157
|
default: V(() => [
|
|
3158
3158
|
m(C, { icon: "edit" }),
|
|
3159
3159
|
pe(" " + X(h.$t("message.udp.passwordReset")), 1)
|
|
3160
3160
|
]),
|
|
3161
3161
|
_: 1
|
|
3162
3162
|
}),
|
|
3163
|
-
m(
|
|
3164
|
-
m(
|
|
3163
|
+
m(me, { style: { margin: "3px 0 !important" } }),
|
|
3164
|
+
m(Q, { onClick: e(b) }, {
|
|
3165
3165
|
default: V(() => [
|
|
3166
3166
|
m(C, { icon: "switch-button" }),
|
|
3167
3167
|
pe(" " + X(h.$t("message.udp.logout")), 1)
|
|
@@ -3209,7 +3209,7 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
3209
3209
|
]);
|
|
3210
3210
|
};
|
|
3211
3211
|
}
|
|
3212
|
-
}), zl = /* @__PURE__ */ we(jl, [["__scopeId", "data-v-ea48630d"]]), Fl = { key: 0 }, Rl = { class: "h-full" }, ql = /* @__PURE__ */
|
|
3212
|
+
}), zl = /* @__PURE__ */ we(jl, [["__scopeId", "data-v-ea48630d"]]), Fl = { key: 0 }, Rl = { class: "h-full" }, ql = /* @__PURE__ */ se({
|
|
3213
3213
|
__name: "layoutView",
|
|
3214
3214
|
setup(s) {
|
|
3215
3215
|
const o = O(), { t: c } = ut(), v = wn(), A = xt(), { isDark: k } = Wt(), { $storage: g } = it(), { layout: i } = gn(), z = window.self === window.top, x = gt({
|
|
@@ -3249,7 +3249,7 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
3249
3249
|
var t;
|
|
3250
3250
|
bt().dataThemeChange((t = g.layout) == null ? void 0 : t.overallStyle);
|
|
3251
3251
|
});
|
|
3252
|
-
const n =
|
|
3252
|
+
const n = se({
|
|
3253
3253
|
render() {
|
|
3254
3254
|
return Re(
|
|
3255
3255
|
"div",
|
|
@@ -3276,13 +3276,13 @@ const ml = /* @__PURE__ */ ul(pl), vl = {
|
|
|
3276
3276
|
ref: o,
|
|
3277
3277
|
class: re(["app-wrapper", x.classes])
|
|
3278
3278
|
}, [
|
|
3279
|
-
|
|
3279
|
+
ve(w("div", {
|
|
3280
3280
|
class: "app-mask",
|
|
3281
3281
|
onClick: l[0] || (l[0] = (P) => e(Ie)().toggleSideBar())
|
|
3282
3282
|
}, null, 512), [
|
|
3283
3283
|
[xe, x.device === "mobile" && x.sidebar.opened && e(i).includes("vertical")]
|
|
3284
3284
|
]),
|
|
3285
|
-
|
|
3285
|
+
ve(m(Al, null, null, 512), [
|
|
3286
3286
|
[
|
|
3287
3287
|
xe,
|
|
3288
3288
|
z && !e(A).hiddenSideBar && (e(i).includes("vertical") || e(i).includes("mix"))
|