@pubinfo/core 2.0.4 → 2.0.6
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/{AppSetting-BPm1iNZE.js → AppSetting-Bn7vxkwu.js} +28 -28
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-DZdJleRQ.js → HCheckList.vue_vue_type_script_setup_true_lang-CHx9ghjT.js} +6 -7
- package/dist/{HToggle-D7rl1UyP.js → HToggle-CtjNyqPp.js} +1 -1
- package/dist/HeaderThinMenu-DOIRf9rF.js +4 -0
- package/dist/{PreferencesContent-3skbPeaO.js → PreferencesContent-DesQ1gs9.js} +42 -42
- package/dist/{SettingBreadcrumb-BfGDLhtF.js → SettingBreadcrumb-Dgz-kLlD.js} +5 -5
- package/dist/{SettingCopyright-BlaSjFFj.js → SettingCopyright-Bb_zsv8S.js} +3 -3
- package/dist/{SettingEnableTransition-C8T3WIUt.js → SettingEnableTransition-8Fk8bfQL.js} +11 -11
- package/dist/{SettingHome-QgBXhQ2Q.js → SettingHome-KGLeBn-Y.js} +4 -4
- package/dist/{SettingMenu-CEAs_0ys.js → SettingMenu-CbzwRzNT.js} +5 -5
- package/dist/{SettingMode-KmHfcY38.js → SettingMode-C22EONZU.js} +3 -3
- package/dist/{SettingNavSearch-D0e0I9B7.js → SettingNavSearch-ZEgspalS.js} +4 -4
- package/dist/{SettingOther-IHCEjsxI.js → SettingOther-0MjVwrIi.js} +11 -11
- package/dist/{SettingPage-DPBGOEtF.js → SettingPage-C-wDrzIC.js} +2 -2
- package/dist/{SettingTabbar-DrvOEs-w.js → SettingTabbar-IKM2fNxW.js} +10 -10
- package/dist/{SettingThemes-Dy8c7QLY.js → SettingThemes-DybjcBGx.js} +15 -15
- package/dist/{SettingToolbar-XbaNbaHm.js → SettingToolbar-fWSTNiLR.js} +6 -6
- package/dist/{SettingTopbar-_mX7FPh0.js → SettingTopbar-ddg9ZhqJ.js} +5 -5
- package/dist/{SettingWidthMode-C02CiFAb.js → SettingWidthMode-DPhge32Z.js} +4 -4
- package/dist/built-in/layout-component/Layout.vue.d.ts +1 -0
- package/dist/built-in/layout-component/components/Header/HeaderMenu.vue.d.ts +2 -0
- package/dist/built-in/layout-component/composables/useGetComputedStyle.d.ts +1 -1
- package/dist/built-in/layout-component/index.d.ts +5 -1
- package/dist/{colors-BljoNaBx.js → colors-Cw5YV1k2.js} +1 -1
- package/dist/features/components/index.d.ts +0 -1
- package/dist/features/stores/utils/index.d.ts +0 -1
- package/dist/{index-CzHYZgeY.js → index-B4WU4ykx.js} +3 -3
- package/dist/{index-DNYSd9ZF.js → index-Bm6KmENu.js} +2 -2
- package/dist/{index-C3c_sJSC.js → index-BrB42sd5.js} +2 -2
- package/dist/{index-ChJFQhqM.js → index-ClpIFmv2.js} +1 -1
- package/dist/{index-lqO17ZtF.js → index-Cq8mquS8.js} +29235 -28954
- package/dist/index-Cvhd8Wyw.js +4 -0
- package/dist/{index-DeZnnMdZ.js → index-QidxqFx5.js} +2 -2
- package/dist/{index-B8-URsHM.js → index-n76z6PLD.js} +4 -4
- package/dist/{index-DdB-0PGU.js → index-tnsLRhOC.js} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +35 -34
- package/dist/{pick-BYl3xBnk.js → pick-CKgJFfA4.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/publicKey.d.ts +4 -0
- package/package.json +5 -5
- package/src/built-in/layout-component/Layout.vue +14 -2
- package/src/built-in/layout-component/components/Header/{TopMode → HeaderFullMenu}/index.vue +1 -1
- package/src/built-in/layout-component/components/Header/HeaderMenu.vue +19 -0
- package/src/built-in/layout-component/components/Header/{TopThinMode.vue → HeaderThinMenu.vue} +1 -1
- package/src/built-in/layout-component/components/Header/index.vue +2 -7
- package/src/built-in/layout-component/components/Menu/index.vue +1 -1
- package/src/{features → built-in/layout-component}/components/NotAllowed/index.vue +2 -32
- package/src/built-in/layout-component/composables/useGetComputedStyle.ts +12 -9
- package/src/built-in/layout-component/index.ts +16 -1
- package/src/features/components/PubinfoApp/index.vue +1 -14
- package/src/features/components/index.ts +0 -1
- package/src/features/settings/index.ts +1 -0
- package/src/features/stores/modules/menu.ts +2 -2
- package/src/features/stores/modules/route.ts +8 -3
- package/src/features/stores/modules/user.ts +4 -4
- package/src/features/stores/utils/index.ts +0 -1
- package/src/index.ts +2 -0
- package/src/utils/index.ts +1 -0
- package/src/{features/stores/utils/crypto.ts → utils/publicKey.ts} +9 -10
- package/types/settings.d.ts +6 -0
- package/dist/TopThinMode-CgPi1Z9s.js +0 -35
- package/dist/features/stores/utils/crypto.d.ts +0 -1
- package/dist/index-Hu8-WkAC.js +0 -272
- /package/dist/built-in/layout-component/components/Header/{TopMode → HeaderFullMenu}/More.vue.d.ts +0 -0
- /package/dist/built-in/layout-component/components/Header/{TopMode → HeaderFullMenu}/NotCursor.vue.d.ts +0 -0
- /package/dist/built-in/layout-component/components/Header/{TopMode → HeaderFullMenu}/index.vue.d.ts +0 -0
- /package/dist/built-in/layout-component/components/Header/{TopThinMode.vue.d.ts → HeaderThinMenu.vue.d.ts} +0 -0
- /package/dist/{features → built-in/layout-component}/components/NotAllowed/index.vue.d.ts +0 -0
- /package/src/{features/components/NotAllowed/assets → built-in/layout-component/assets/images}/403.svg +0 -0
- /package/src/{features/components/NotAllowed/assets → built-in/layout-component/assets/images}/403_dark.svg +0 -0
- /package/src/built-in/layout-component/components/Header/{TopMode → HeaderFullMenu}/More.vue +0 -0
- /package/src/built-in/layout-component/components/Header/{TopMode → HeaderFullMenu}/NotCursor.vue +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { markRaw as
|
|
1
|
+
import { bN as k, bT as B, bU as H, _ as w, b as N } from "./index-Cq8mquS8.js";
|
|
2
|
+
import { markRaw as A, createElementBlock as h, openBlock as a, createElementVNode as i, defineComponent as E, defineAsyncComponent as t, useModel as z, computed as u, watch as g, createBlock as S, createSlots as O, withCtx as p, Fragment as P, renderList as W, unref as l, resolveDynamicComponent as $, createVNode as f, createTextVNode as D } from "vue";
|
|
3
3
|
import I from "vue-m-message";
|
|
4
|
-
import { useRoute as
|
|
5
|
-
const
|
|
4
|
+
import { useRoute as R } from "vue-router";
|
|
5
|
+
const U = {
|
|
6
6
|
viewBox: "0 0 1024 1024",
|
|
7
7
|
width: "1.2em",
|
|
8
8
|
height: "1.2em"
|
|
9
9
|
};
|
|
10
|
-
function
|
|
11
|
-
return a(), h("svg",
|
|
10
|
+
function F(d, o) {
|
|
11
|
+
return a(), h("svg", U, o[0] || (o[0] = [
|
|
12
12
|
i("path", {
|
|
13
13
|
fill: "currentColor",
|
|
14
14
|
d: "M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"
|
|
15
15
|
}, null, -1)
|
|
16
16
|
]));
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const J = A({ name: "ep-document-copy", render: F }), L = { class: "settong-warp" }, j = /* @__PURE__ */ E({
|
|
19
19
|
name: "AppSetting",
|
|
20
20
|
components: {
|
|
21
|
-
SettingThemes: t(() => import("./SettingThemes-
|
|
22
|
-
SettingsMode: t(() => import("./SettingMode-
|
|
23
|
-
SettingWidthMode: t(() => import("./SettingWidthMode-
|
|
24
|
-
SettingEnableTransition: t(() => import("./SettingEnableTransition-
|
|
25
|
-
SettingMenu: t(() => import("./SettingMenu-
|
|
26
|
-
SettingTopbar: t(() => import("./SettingTopbar-
|
|
27
|
-
SettingTabbar: t(() => import("./SettingTabbar-
|
|
28
|
-
SettingToolbar: t(() => import("./SettingToolbar-
|
|
29
|
-
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-
|
|
30
|
-
SettingPage: t(() => import("./SettingPage-
|
|
31
|
-
SettingNavSearch: t(() => import("./SettingNavSearch-
|
|
32
|
-
SettingCopyright: t(() => import("./SettingCopyright-
|
|
33
|
-
SettingHome: t(() => import("./SettingHome-
|
|
34
|
-
SettingOther: t(() => import("./SettingOther-
|
|
21
|
+
SettingThemes: t(() => import("./SettingThemes-DybjcBGx.js")),
|
|
22
|
+
SettingsMode: t(() => import("./SettingMode-C22EONZU.js")),
|
|
23
|
+
SettingWidthMode: t(() => import("./SettingWidthMode-DPhge32Z.js")),
|
|
24
|
+
SettingEnableTransition: t(() => import("./SettingEnableTransition-8Fk8bfQL.js")),
|
|
25
|
+
SettingMenu: t(() => import("./SettingMenu-CbzwRzNT.js")),
|
|
26
|
+
SettingTopbar: t(() => import("./SettingTopbar-ddg9ZhqJ.js")),
|
|
27
|
+
SettingTabbar: t(() => import("./SettingTabbar-IKM2fNxW.js")),
|
|
28
|
+
SettingToolbar: t(() => import("./SettingToolbar-fWSTNiLR.js")),
|
|
29
|
+
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-Dgz-kLlD.js")),
|
|
30
|
+
SettingPage: t(() => import("./SettingPage-C-wDrzIC.js")),
|
|
31
|
+
SettingNavSearch: t(() => import("./SettingNavSearch-ZEgspalS.js")),
|
|
32
|
+
SettingCopyright: t(() => import("./SettingCopyright-Bb_zsv8S.js")),
|
|
33
|
+
SettingHome: t(() => import("./SettingHome-KGLeBn-Y.js")),
|
|
34
|
+
SettingOther: t(() => import("./SettingOther-0MjVwrIi.js"))
|
|
35
35
|
},
|
|
36
36
|
__name: "AppSetting",
|
|
37
37
|
props: {
|
|
@@ -40,7 +40,7 @@ const F = E({ name: "ep-document-copy", render: U }), J = { class: "settong-warp
|
|
|
40
40
|
},
|
|
41
41
|
emits: ["update:open"],
|
|
42
42
|
setup(d) {
|
|
43
|
-
const o = z(d, "open"), b =
|
|
43
|
+
const o = z(d, "open"), b = R(), { settingsStore: m, menuStore: c } = k(), v = u(() => m.mode !== "pc"), _ = u(() => x(
|
|
44
44
|
[
|
|
45
45
|
"SettingThemes",
|
|
46
46
|
"SettingsMode",
|
|
@@ -73,10 +73,10 @@ const F = E({ name: "ep-document-copy", render: U }), J = { class: "settong-warp
|
|
|
73
73
|
zIndex: 2e3
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
|
-
function
|
|
76
|
+
function T() {
|
|
77
77
|
M(JSON.stringify(m.settings, null, 2));
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function x(n, e) {
|
|
80
80
|
return n.filter((r) => v.value ? !e.includes(r) : r);
|
|
81
81
|
}
|
|
82
82
|
return (n, e) => {
|
|
@@ -87,7 +87,7 @@ const F = E({ name: "ep-document-copy", render: U }), J = { class: "settong-warp
|
|
|
87
87
|
title: "应用配置"
|
|
88
88
|
}, O({
|
|
89
89
|
default: p(() => [
|
|
90
|
-
i("div",
|
|
90
|
+
i("div", L, [
|
|
91
91
|
e[1] || (e[1] = i("div", { class: "rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose" }, [
|
|
92
92
|
i("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),
|
|
93
93
|
i("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")
|
|
@@ -102,10 +102,10 @@ const F = E({ name: "ep-document-copy", render: U }), J = { class: "settong-warp
|
|
|
102
102
|
fn: p(() => [
|
|
103
103
|
f(r, {
|
|
104
104
|
block: "",
|
|
105
|
-
onClick:
|
|
105
|
+
onClick: T
|
|
106
106
|
}, {
|
|
107
107
|
default: p(() => [
|
|
108
|
-
f(l(
|
|
108
|
+
f(l(J)),
|
|
109
109
|
e[2] || (e[2] = D(" 复制配置 "))
|
|
110
110
|
]),
|
|
111
111
|
_: 1,
|
|
@@ -117,7 +117,7 @@ const F = E({ name: "ep-document-copy", render: U }), J = { class: "settong-warp
|
|
|
117
117
|
]), 1032, ["modelValue"]);
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
}), X = /* @__PURE__ */
|
|
120
|
+
}), X = /* @__PURE__ */ N(j, [["__scopeId", "data-v-10c15033"]]);
|
|
121
121
|
export {
|
|
122
122
|
X as default
|
|
123
123
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent as c, watch as u, createElementBlock as n, openBlock as a, Fragment as s, renderList as m, normalizeClass as
|
|
2
|
-
import { bE as y } from "./index-
|
|
3
|
-
|
|
4
|
-
const _ = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, g = ["disabled", "onClick"], w = /* @__PURE__ */ c({
|
|
1
|
+
import { defineComponent as c, watch as u, createElementBlock as n, openBlock as a, Fragment as s, renderList as m, normalizeClass as b, createBlock as p, unref as f, createTextVNode as h, toDisplayString as k } from "vue";
|
|
2
|
+
import { bE as y } from "./index-Cq8mquS8.js";
|
|
3
|
+
const _ = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, g = ["disabled", "onClick"], B = /* @__PURE__ */ c({
|
|
5
4
|
__name: "HCheckList",
|
|
6
5
|
props: {
|
|
7
6
|
modelValue: {},
|
|
@@ -21,10 +20,10 @@ const _ = { class: "inline-flex select-none items-center justify-center of-hidde
|
|
|
21
20
|
(a(!0), n(s, null, m(e.options, (t) => (a(), n("button", {
|
|
22
21
|
key: t.value,
|
|
23
22
|
disabled: e.disabled || t.disabled,
|
|
24
|
-
class:
|
|
23
|
+
class: b(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled:cursor-not-allowed disabled:opacity-50 hover:not-disabled:(bg-ui-primary text-ui-text)", { "text-ui-text bg-ui-primary": e.modelValue === t.value }]),
|
|
25
24
|
onClick: (v) => d(t.value)
|
|
26
25
|
}, [
|
|
27
|
-
t.icon ? (a(),
|
|
26
|
+
t.icon ? (a(), p(f(y), {
|
|
28
27
|
key: 0,
|
|
29
28
|
name: t.icon
|
|
30
29
|
}, null, 8, ["name"])) : (a(), n(s, { key: 1 }, [
|
|
@@ -35,5 +34,5 @@ const _ = { class: "inline-flex select-none items-center justify-center of-hidde
|
|
|
35
34
|
}
|
|
36
35
|
});
|
|
37
36
|
export {
|
|
38
|
-
|
|
37
|
+
B as _
|
|
39
38
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as c, createElementBlock as m, openBlock as r, withDirectives as i, createElementVNode as n, isRef as _, vModelCheckbox as f, unref as b } from "vue";
|
|
2
|
-
import { b as g } from "./index-
|
|
2
|
+
import { b as g } from "./index-Cq8mquS8.js";
|
|
3
3
|
const V = { class: "switch" }, k = /* @__PURE__ */ u({
|
|
4
4
|
__name: "HToggle",
|
|
5
5
|
props: {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { _ as re } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { H as ue, F as me, e as E, B as be, aq as ce, P as k, M as pe,
|
|
3
|
-
import { _ as Ae } from "./HToggle-
|
|
4
|
-
import { defineComponent as te, shallowRef as
|
|
1
|
+
import { _ as re } from "./HCheckList.vue_vue_type_script_setup_true_lang-CHx9ghjT.js";
|
|
2
|
+
import { H as ue, F as me, e as E, B as be, aq as ce, P as k, M as pe, bI as ye, bJ as ge, bK as ve, bL as fe, bx as he, C as we, bM as Me, by as Pe, h as Oe, x as Ce, k as $e, i as ke, a7 as xe, g as ne, aF as Se, bN as Ve, bO as Te, bv as _e, ba as Ie, bP as Be, a5 as Ue, b as He } from "./index-Cq8mquS8.js";
|
|
3
|
+
import { _ as Ae } from "./HToggle-CtjNyqPp.js";
|
|
4
|
+
import { defineComponent as te, shallowRef as U, computed as K, createVNode as a, Transition as Ee, withDirectives as ze, vShow as Le, ref as Re, createElementBlock as d, openBlock as r, createCommentVNode as u, createElementVNode as s, unref as e, isRef as Fe, Fragment as De, renderList as je, normalizeClass as v, normalizeStyle as Ne, withCtx as c, createTextVNode as V } from "vue";
|
|
5
5
|
import { getThemes as qe } from "@pubinfo/config/themes";
|
|
6
6
|
import { E as J, a as X } from "./right-Bfe2p1o0.js";
|
|
7
|
-
import { R as
|
|
8
|
-
import { p as $ } from "./pick-
|
|
7
|
+
import { R as H } from "./question-line-CfkciTFq.js";
|
|
8
|
+
import { p as $ } from "./pick-CKgJFfA4.js";
|
|
9
9
|
const A = (i, o, n, p, f) => ({
|
|
10
10
|
backgroundColor: i,
|
|
11
11
|
border: `${p.lineWidth}px ${p.lineType} ${o}`,
|
|
12
12
|
[`${f}-icon`]: {
|
|
13
13
|
color: n
|
|
14
14
|
}
|
|
15
|
-
}),
|
|
15
|
+
}), We = (i) => {
|
|
16
16
|
const {
|
|
17
17
|
componentCls: o,
|
|
18
18
|
motionDurationSlow: n,
|
|
@@ -21,7 +21,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
21
21
|
fontSize: M,
|
|
22
22
|
fontSizeLG: y,
|
|
23
23
|
lineHeight: t,
|
|
24
|
-
borderRadiusLG:
|
|
24
|
+
borderRadiusLG: C,
|
|
25
25
|
motionEaseInOutCirc: b,
|
|
26
26
|
alertIconSizeLG: m,
|
|
27
27
|
colorText: w,
|
|
@@ -37,7 +37,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
37
37
|
alignItems: "center",
|
|
38
38
|
padding: `${P}px ${l}px`,
|
|
39
39
|
wordWrap: "break-word",
|
|
40
|
-
borderRadius:
|
|
40
|
+
borderRadius: C,
|
|
41
41
|
[`&${o}-rtl`]: {
|
|
42
42
|
direction: "rtl"
|
|
43
43
|
},
|
|
@@ -97,7 +97,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
97
97
|
borderRadius: 0
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
-
},
|
|
100
|
+
}, Ge = (i) => {
|
|
101
101
|
const {
|
|
102
102
|
componentCls: o,
|
|
103
103
|
colorSuccess: n,
|
|
@@ -106,7 +106,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
106
106
|
colorWarning: M,
|
|
107
107
|
colorWarningBorder: y,
|
|
108
108
|
colorWarningBg: t,
|
|
109
|
-
colorError:
|
|
109
|
+
colorError: C,
|
|
110
110
|
colorErrorBorder: b,
|
|
111
111
|
colorErrorBg: m,
|
|
112
112
|
colorInfo: w,
|
|
@@ -118,7 +118,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
118
118
|
"&-success": A(f, p, n, i, o),
|
|
119
119
|
"&-info": A(l, P, w, i, o),
|
|
120
120
|
"&-warning": A(t, y, M, i, o),
|
|
121
|
-
"&-error": E(E({}, A(m, b,
|
|
121
|
+
"&-error": E(E({}, A(m, b, C, i, o)), {
|
|
122
122
|
[`${o}-description > pre`]: {
|
|
123
123
|
margin: 0,
|
|
124
124
|
padding: 0
|
|
@@ -168,7 +168,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
|
-
}, Xe = (i) => [
|
|
171
|
+
}, Xe = (i) => [We(i), Ge(i), Je(i)], Ke = ue("Alert", (i) => {
|
|
172
172
|
const {
|
|
173
173
|
fontSizeHeading3: o
|
|
174
174
|
} = i, n = me(i, {
|
|
@@ -235,10 +235,10 @@ const A = (i, o, n, p, f) => ({
|
|
|
235
235
|
const {
|
|
236
236
|
prefixCls: y,
|
|
237
237
|
direction: t
|
|
238
|
-
} = pe("alert", i), [
|
|
238
|
+
} = pe("alert", i), [C, b] = Ke(y), m = U(!1), w = U(!1), P = U(), l = (h) => {
|
|
239
239
|
h.preventDefault();
|
|
240
|
-
const
|
|
241
|
-
|
|
240
|
+
const O = P.value;
|
|
241
|
+
O.style.height = `${O.offsetHeight}px`, O.style.height = `${O.offsetHeight}px`, m.value = !0, p("close", h);
|
|
242
242
|
}, x = () => {
|
|
243
243
|
var h;
|
|
244
244
|
m.value = !1, w.value = !0, (h = i.afterClose) === null || h === void 0 || h.call(i);
|
|
@@ -251,38 +251,38 @@ const A = (i, o, n, p, f) => ({
|
|
|
251
251
|
M({
|
|
252
252
|
animationEnd: x
|
|
253
253
|
});
|
|
254
|
-
const oe =
|
|
254
|
+
const oe = U({});
|
|
255
255
|
return () => {
|
|
256
|
-
var h,
|
|
256
|
+
var h, O, z, L, R, F, D, j, N, q;
|
|
257
257
|
const {
|
|
258
258
|
banner: Q,
|
|
259
259
|
closeIcon: Y = (h = n.closeIcon) === null || h === void 0 ? void 0 : h.call(n)
|
|
260
260
|
} = i;
|
|
261
261
|
let {
|
|
262
|
-
closable:
|
|
262
|
+
closable: W,
|
|
263
263
|
showIcon: S
|
|
264
264
|
} = i;
|
|
265
|
-
const
|
|
265
|
+
const G = (O = i.closeText) !== null && O !== void 0 ? O : (z = n.closeText) === null || z === void 0 ? void 0 : z.call(n), _ = (L = i.description) !== null && L !== void 0 ? L : (R = n.description) === null || R === void 0 ? void 0 : R.call(n), Z = (F = i.message) !== null && F !== void 0 ? F : (D = n.message) === null || D === void 0 ? void 0 : D.call(n), I = (j = i.icon) !== null && j !== void 0 ? j : (N = n.icon) === null || N === void 0 ? void 0 : N.call(n), ee = (q = n.action) === null || q === void 0 ? void 0 : q.call(n);
|
|
266
266
|
S = Q && S === void 0 ? !0 : S;
|
|
267
267
|
const le = (_ ? Ye : Qe)[T.value] || null;
|
|
268
|
-
|
|
269
|
-
const g = y.value, ae =
|
|
268
|
+
G && (W = !0);
|
|
269
|
+
const g = y.value, ae = Oe(g, {
|
|
270
270
|
[`${g}-${T.value}`]: !0,
|
|
271
271
|
[`${g}-closing`]: m.value,
|
|
272
272
|
[`${g}-with-description`]: !!_,
|
|
273
273
|
[`${g}-no-icon`]: !S,
|
|
274
274
|
[`${g}-banner`]: !!Q,
|
|
275
|
-
[`${g}-closable`]:
|
|
275
|
+
[`${g}-closable`]: W,
|
|
276
276
|
[`${g}-rtl`]: t.value === "rtl",
|
|
277
277
|
[b.value]: !0
|
|
278
|
-
}), se =
|
|
278
|
+
}), se = W ? a("button", {
|
|
279
279
|
type: "button",
|
|
280
280
|
onClick: l,
|
|
281
281
|
class: `${g}-close-icon`,
|
|
282
282
|
tabindex: 0
|
|
283
|
-
}, [
|
|
283
|
+
}, [G ? a("span", {
|
|
284
284
|
class: `${g}-close-text`
|
|
285
|
-
}, [
|
|
285
|
+
}, [G]) : Y === void 0 ? a(Ce, null, null) : Y]) : null, ie = I && ($e(I) ? ke(I, {
|
|
286
286
|
class: `${g}-icon`
|
|
287
287
|
}) : a("span", {
|
|
288
288
|
class: `${g}-icon`
|
|
@@ -299,7 +299,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
299
299
|
B.style.maxHeight = "0px";
|
|
300
300
|
}
|
|
301
301
|
});
|
|
302
|
-
return
|
|
302
|
+
return C(w.value ? null : a(Ee, de, {
|
|
303
303
|
default: () => [ze(a("div", ne(ne({
|
|
304
304
|
role: "alert"
|
|
305
305
|
}, f), {}, {
|
|
@@ -370,10 +370,10 @@ const A = (i, o, n, p, f) => ({
|
|
|
370
370
|
}, Pn = {
|
|
371
371
|
key: 16,
|
|
372
372
|
class: "divider"
|
|
373
|
-
},
|
|
373
|
+
}, On = {
|
|
374
374
|
key: 17,
|
|
375
375
|
class: "setting-item"
|
|
376
|
-
},
|
|
376
|
+
}, Cn = { class: "label" }, $n = {
|
|
377
377
|
key: 18,
|
|
378
378
|
class: "divider"
|
|
379
379
|
}, kn = {
|
|
@@ -397,10 +397,10 @@ const A = (i, o, n, p, f) => ({
|
|
|
397
397
|
}, Bn = {
|
|
398
398
|
key: 25,
|
|
399
399
|
class: "setting-item"
|
|
400
|
-
},
|
|
400
|
+
}, Un = {
|
|
401
401
|
key: 26,
|
|
402
402
|
class: "setting-item"
|
|
403
|
-
},
|
|
403
|
+
}, Hn = {
|
|
404
404
|
key: 27,
|
|
405
405
|
class: "divider"
|
|
406
406
|
}, An = {
|
|
@@ -497,9 +497,9 @@ const A = (i, o, n, p, f) => ({
|
|
|
497
497
|
await o.resetSettings();
|
|
498
498
|
}
|
|
499
499
|
return (y, t) => {
|
|
500
|
-
const
|
|
500
|
+
const C = tn, b = Ae, m = Be, w = re, P = Ue;
|
|
501
501
|
return r(), d("div", null, [
|
|
502
|
-
a(
|
|
502
|
+
a(C, {
|
|
503
503
|
message: "提示",
|
|
504
504
|
description: "个人偏好设置将覆盖系统默认设置。若需恢复至系统默认配置,请滚动至底部并点击“还原系统设置”按钮。",
|
|
505
505
|
type: "info"
|
|
@@ -747,7 +747,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
747
747
|
t[35] || (t[35] = V(" 次导航保持展开一个 ")),
|
|
748
748
|
a(m, { text: "开启该功能后,次导航只保持单个菜单的展开" }, {
|
|
749
749
|
default: c(() => [
|
|
750
|
-
a(e(
|
|
750
|
+
a(e(H))
|
|
751
751
|
]),
|
|
752
752
|
_: 1
|
|
753
753
|
})
|
|
@@ -795,12 +795,12 @@ const A = (i, o, n, p, f) => ({
|
|
|
795
795
|
}, null, 8, ["modelValue", "options"])
|
|
796
796
|
])) : u("", !0),
|
|
797
797
|
e(n).topbar?.hasOwnProperty("mode") || e(n).topbar?.hasOwnProperty("switchTabbarAndToolbar") ? (r(), d("div", Pn, " 顶栏 ")) : u("", !0),
|
|
798
|
-
e(n).topbar?.hasOwnProperty("switchTabbarAndToolbar") ? (r(), d("div",
|
|
799
|
-
s("div",
|
|
798
|
+
e(n).topbar?.hasOwnProperty("switchTabbarAndToolbar") ? (r(), d("div", On, [
|
|
799
|
+
s("div", Cn, [
|
|
800
800
|
t[40] || (t[40] = V(" 展示切换 ")),
|
|
801
801
|
a(m, { text: "切换标签栏和工具栏的展示顺序" }, {
|
|
802
802
|
default: c(() => [
|
|
803
|
-
a(e(
|
|
803
|
+
a(e(H))
|
|
804
804
|
]),
|
|
805
805
|
_: 1
|
|
806
806
|
})
|
|
@@ -845,7 +845,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
845
845
|
t[44] || (t[44] = V(" 是否启用记忆功能 ")),
|
|
846
846
|
a(m, { text: "开启该功能后,非固定和非常驻的标签页将在本次会话窗口中始终存在,刷新浏览器或重新登录时不会丢失" }, {
|
|
847
847
|
default: c(() => [
|
|
848
|
-
a(e(
|
|
848
|
+
a(e(H))
|
|
849
849
|
]),
|
|
850
850
|
_: 1
|
|
851
851
|
})
|
|
@@ -876,7 +876,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
876
876
|
disabled: !(e(n).breadcrumb?.enable ?? e(o).settings.breadcrumb.enable)
|
|
877
877
|
}, null, 8, ["modelValue", "disabled"])
|
|
878
878
|
])) : u("", !0),
|
|
879
|
-
e(o).mode === "pc" && e(o).settings.breadcrumb.enable && e(o).settings.breadcrumb.enableMainMenu && e(n).breadcrumb?.hasOwnProperty("enableMainMenu") ? (r(), d("div",
|
|
879
|
+
e(o).mode === "pc" && e(o).settings.breadcrumb.enable && e(o).settings.breadcrumb.enableMainMenu && e(n).breadcrumb?.hasOwnProperty("enableMainMenu") ? (r(), d("div", Un, [
|
|
880
880
|
t[47] || (t[47] = s("div", { class: "label" }, " 是否显示主导航 ", -1)),
|
|
881
881
|
a(b, {
|
|
882
882
|
modelValue: e(n).breadcrumb.enableMainMenu,
|
|
@@ -884,13 +884,13 @@ const A = (i, o, n, p, f) => ({
|
|
|
884
884
|
disabled: ["single"].includes(e(n).menu?.menuMode ?? e(o).settings.menu.menuMode)
|
|
885
885
|
}, null, 8, ["modelValue", "disabled"])
|
|
886
886
|
])) : u("", !0),
|
|
887
|
-
e(n).app?.hasOwnProperty("enableProgress") ? (r(), d("div",
|
|
887
|
+
e(n).app?.hasOwnProperty("enableProgress") ? (r(), d("div", Hn, " 其它 ")) : u("", !0),
|
|
888
888
|
e(o).settings.app.enableProgress && e(n).app?.hasOwnProperty("enableProgress") ? (r(), d("div", An, [
|
|
889
889
|
s("div", En, [
|
|
890
890
|
t[48] || (t[48] = V(" 载入进度条 ")),
|
|
891
891
|
a(m, { text: "该功能开启时,跳转路由会看到页面顶部有进度条" }, {
|
|
892
892
|
default: c(() => [
|
|
893
|
-
a(e(
|
|
893
|
+
a(e(H))
|
|
894
894
|
]),
|
|
895
895
|
_: 1
|
|
896
896
|
})
|
|
@@ -917,7 +917,7 @@ const A = (i, o, n, p, f) => ({
|
|
|
917
917
|
]);
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
|
-
}), Jn = /* @__PURE__ */
|
|
920
|
+
}), Jn = /* @__PURE__ */ He(Ln, [["__scopeId", "data-v-c97d99bc"]]);
|
|
921
921
|
export {
|
|
922
922
|
Jn as default
|
|
923
923
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as r } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as b } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as p } from "./HToggle-
|
|
2
|
+
import { _ as b } from "./HCheckList.vue_vue_type_script_setup_true_lang-CHx9ghjT.js";
|
|
3
|
+
import { _ as p } from "./HToggle-CtjNyqPp.js";
|
|
4
4
|
import { defineComponent as _, toRefs as f, createBlock as c, openBlock as g, withCtx as V, createElementVNode as n, createVNode as s, unref as t } from "vue";
|
|
5
|
-
import {
|
|
6
|
-
const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" },
|
|
5
|
+
import { bN as v } from "./index-Cq8mquS8.js";
|
|
6
|
+
const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" }, $ = /* @__PURE__ */ _({
|
|
7
7
|
name: "SettingBreadcrumb",
|
|
8
8
|
__name: "SettingBreadcrumb",
|
|
9
9
|
setup(C) {
|
|
@@ -46,5 +46,5 @@ const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class:
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
$ as default
|
|
50
50
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
2
|
import { _ as p } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import { _ as r } from "./HToggle-
|
|
3
|
+
import { _ as r } from "./HToggle-CtjNyqPp.js";
|
|
4
4
|
import { defineComponent as b, toRef as V, createBlock as g, openBlock as _, withCtx as f, createElementVNode as o, createVNode as n, unref as t } from "vue";
|
|
5
|
-
import {
|
|
5
|
+
import { bN as v } from "./index-Cq8mquS8.js";
|
|
6
6
|
const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class: "setting-item" }, x = { class: "setting-item" }, w = { class: "setting-item" }, E = /* @__PURE__ */ b({
|
|
7
7
|
name: "SettingCopyright",
|
|
8
8
|
__name: "SettingCopyright",
|
|
9
9
|
setup(H) {
|
|
10
10
|
const { settingsStore: i } = v(), l = V(i.settings, "copyright");
|
|
11
|
-
return (
|
|
11
|
+
return (N, e) => {
|
|
12
12
|
const a = r, d = p, m = u;
|
|
13
13
|
return _(), g(m, { title: "底部版权" }, {
|
|
14
14
|
default: f(() => [
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { _ as g } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as T } from "./HToggle-
|
|
4
|
-
import { defineComponent as V, toRefs as h, reactive as E, createBlock as c, openBlock as o, withCtx as l, createElementVNode as d, createElementBlock as r, createCommentVNode as y, createVNode as H, unref as s, isRef as N, Fragment as S, renderList as B, normalizeClass as
|
|
5
|
-
const
|
|
2
|
+
import { bN as k, bP as x, b as C } from "./index-Cq8mquS8.js";
|
|
3
|
+
import { _ as T } from "./HToggle-CtjNyqPp.js";
|
|
4
|
+
import { defineComponent as V, toRefs as h, reactive as E, createBlock as c, openBlock as o, withCtx as l, createElementVNode as d, createElementBlock as r, createCommentVNode as y, createVNode as H, unref as s, isRef as N, Fragment as S, renderList as B, normalizeClass as $ } from "vue";
|
|
5
|
+
const L = { class: "flex items-center justify-center pb-4" }, M = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "transition-mode"
|
|
8
|
-
},
|
|
8
|
+
}, P = ["onClick"], R = /* @__PURE__ */ V({
|
|
9
9
|
name: "SettingEnableTransition",
|
|
10
10
|
__name: "SettingEnableTransition",
|
|
11
|
-
setup(
|
|
11
|
+
setup(j) {
|
|
12
12
|
const { settingsStore: m } = k(), { enableTransition: t, transitionMode: i } = h(m.settings.mainPage);
|
|
13
13
|
function _(n) {
|
|
14
14
|
n && (i.value = n);
|
|
@@ -44,7 +44,7 @@ const $ = { class: "flex items-center justify-center pb-4" }, M = {
|
|
|
44
44
|
const f = T, p = x, b = g;
|
|
45
45
|
return o(), c(b, { title: "页面切换动画" }, {
|
|
46
46
|
default: l(() => [
|
|
47
|
-
d("div",
|
|
47
|
+
d("div", L, [
|
|
48
48
|
H(f, {
|
|
49
49
|
modelValue: s(t),
|
|
50
50
|
"onUpdate:modelValue": a[0] || (a[0] = (e) => N(t) ? t.value = e : null)
|
|
@@ -59,9 +59,9 @@ const $ = { class: "flex items-center justify-center pb-4" }, M = {
|
|
|
59
59
|
}, {
|
|
60
60
|
default: l(() => [
|
|
61
61
|
d("div", {
|
|
62
|
-
class:
|
|
63
|
-
onClick: (
|
|
64
|
-
}, null, 10,
|
|
62
|
+
class: $(["mode", [s(i) === e.active ? "active" : "", e.class]]),
|
|
63
|
+
onClick: (w) => _(e.active)
|
|
64
|
+
}, null, 10, P)
|
|
65
65
|
]),
|
|
66
66
|
_: 2
|
|
67
67
|
}, 1032, ["text"]))), 128))
|
|
@@ -71,7 +71,7 @@ const $ = { class: "flex items-center justify-center pb-4" }, M = {
|
|
|
71
71
|
});
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
}), U = /* @__PURE__ */ C(
|
|
74
|
+
}), U = /* @__PURE__ */ C(R, [["__scopeId", "data-v-5c698156"]]);
|
|
75
75
|
export {
|
|
76
76
|
U as default
|
|
77
77
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as p } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
2
|
import { _ as u } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import { _ as c } from "./HToggle-
|
|
4
|
-
import {
|
|
3
|
+
import { _ as c } from "./HToggle-CtjNyqPp.js";
|
|
4
|
+
import { bN as f, bP as g } from "./index-Cq8mquS8.js";
|
|
5
5
|
import { defineComponent as V, toRefs as b, createBlock as x, openBlock as H, withCtx as i, createElementVNode as n, createVNode as s, createTextVNode as v, unref as e } from "vue";
|
|
6
6
|
import { R as N } from "./question-line-CfkciTFq.js";
|
|
7
|
-
const C = { class: "setting-item" }, R = { class: "label" }, S = { class: "setting-item" },
|
|
7
|
+
const C = { class: "setting-item" }, R = { class: "label" }, S = { class: "setting-item" }, L = /* @__PURE__ */ V({
|
|
8
8
|
name: "SettingHome",
|
|
9
9
|
__name: "SettingHome",
|
|
10
10
|
setup(T) {
|
|
@@ -42,5 +42,5 @@ const C = { class: "setting-item" }, R = { class: "label" }, S = { class: "setti
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
L as default
|
|
46
46
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as v } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as M } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ } from "./HToggle-
|
|
4
|
-
import {
|
|
2
|
+
import { _ as M } from "./HCheckList.vue_vue_type_script_setup_true_lang-CHx9ghjT.js";
|
|
3
|
+
import { _ } from "./HToggle-CtjNyqPp.js";
|
|
4
|
+
import { bN as g, bP as y } from "./index-Cq8mquS8.js";
|
|
5
5
|
import { defineComponent as f, toRef as c, createBlock as U, openBlock as b, withCtx as i, createElementVNode as s, createElementBlock as C, createCommentVNode as k, createVNode as d, createTextVNode as a, unref as l } from "vue";
|
|
6
6
|
import { R as m } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setting-item" }, O = { class: "label" }, B = { class: "setting-item" }, N = { class: "label" }, R = { class: "setting-item" }, w = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "setting-item"
|
|
10
|
-
}, A = { class: "setting-item" },
|
|
10
|
+
}, A = { class: "setting-item" }, P = { class: "setting-item" }, T = { class: "setting-item" }, z = /* @__PURE__ */ f({
|
|
11
11
|
name: "SettingMenu",
|
|
12
12
|
__name: "SettingMenu",
|
|
13
13
|
setup($) {
|
|
@@ -87,7 +87,7 @@ const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setti
|
|
|
87
87
|
"onUpdate:modelValue": e[5] || (e[5] = (o) => l(n).isRounded = o)
|
|
88
88
|
}, null, 8, ["modelValue"])
|
|
89
89
|
]),
|
|
90
|
-
s("div",
|
|
90
|
+
s("div", P, [
|
|
91
91
|
e[14] || (e[14] = s("div", { class: "label" }, " 激活风格 ", -1)),
|
|
92
92
|
d(r, {
|
|
93
93
|
modelValue: l(n).menuActiveStyle,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import {
|
|
2
|
+
import { bN as v, bP as f, b } from "./index-Cq8mquS8.js";
|
|
3
3
|
import { defineComponent as g, toRef as k, reactive as x, createBlock as a, openBlock as n, withCtx as s, createElementVNode as o, createElementBlock as C, Fragment as S, renderList as h, unref as l, normalizeClass as y } from "vue";
|
|
4
4
|
const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
|
|
5
5
|
name: "SettingMode",
|
|
@@ -62,7 +62,7 @@ const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
|
|
|
62
62
|
});
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
}),
|
|
65
|
+
}), D = /* @__PURE__ */ b(B, [["__scopeId", "data-v-65f6da92"]]);
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
D as default
|
|
68
68
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as p } from "./HToggle-
|
|
3
|
-
import {
|
|
2
|
+
import { _ as p } from "./HToggle-CtjNyqPp.js";
|
|
3
|
+
import { bN as u, bP as c } from "./index-Cq8mquS8.js";
|
|
4
4
|
import { defineComponent as f, toRef as b, createBlock as g, openBlock as v, withCtx as i, createElementVNode as n, createVNode as s, createTextVNode as V, unref as t } from "vue";
|
|
5
5
|
import { R as S } from "./question-line-CfkciTFq.js";
|
|
6
|
-
const x = { class: "setting-item" }, N = { class: "label" }, H = { class: "setting-item" },
|
|
6
|
+
const x = { class: "setting-item" }, N = { class: "label" }, H = { class: "setting-item" }, $ = /* @__PURE__ */ f({
|
|
7
7
|
name: "SettingNavSearch",
|
|
8
8
|
__name: "SettingNavSearch",
|
|
9
9
|
setup(k) {
|
|
@@ -42,5 +42,5 @@ const x = { class: "setting-item" }, N = { class: "label" }, H = { class: "setti
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
$ as default
|
|
46
46
|
};
|