@pubinfo/core 2.0.0-beta.31 → 2.0.0-beta.32
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-C1dyZ-8E.js → AppSetting-DhcdApoo.js} +17 -17
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js → HCheckList.vue_vue_type_script_setup_true_lang-Bi9jyf-Y.js} +2 -2
- package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
- package/dist/HToggle-Di3WNnzE.js +34 -0
- package/dist/{PreferencesContent-DgycKl9e.js → PreferencesContent-BdSTTSM-.js} +6 -6
- package/dist/{SettingBreadcrumb-BlgX0ZNE.js → SettingBreadcrumb-ChQx96br.js} +8 -8
- package/dist/{SettingCopyright-FmqadL1w.js → SettingCopyright-CkMab5VK.js} +8 -8
- package/dist/{SettingEnableTransition-dzMgw8cN.js → SettingEnableTransition-BSXU87vT.js} +15 -15
- package/dist/{SettingHome-BwlXsTTt.js → SettingHome-DwioPezC.js} +13 -13
- package/dist/{SettingMenu-B5tHMS24.js → SettingMenu-yvKu7Yoq.js} +25 -25
- package/dist/{SettingMode-Bh0mvh66.js → SettingMode-C99ADNad.js} +6 -6
- package/dist/{SettingNavSearch-D4g24uwl.js → SettingNavSearch-mURLLetZ.js} +8 -8
- package/dist/{SettingOther-DwTtu6As.js → SettingOther-BGoSdp7a.js} +9 -9
- package/dist/{SettingPage-cDQXtwcG.js → SettingPage-Wwy5PtzC.js} +7 -7
- package/dist/{SettingTabbar-m8X7jEJH.js → SettingTabbar-C2ya4r4U.js} +9 -9
- package/dist/{SettingThemes-CX9ISeD_.js → SettingThemes-7oYUooGR.js} +27 -27
- package/dist/{SettingToolbar-ByLjBezg.js → SettingToolbar-A6OiGfAD.js} +5 -5
- package/dist/{SettingTopbar-o8wBZolp.js → SettingTopbar-GDEPltxm.js} +9 -9
- package/dist/{SettingWidthMode-Ux60mKiv.js → SettingWidthMode-qwkmTFIK.js} +15 -15
- package/dist/{TopThinMode-17GrCZdo.js → TopThinMode-BkmPN66X.js} +1 -1
- package/dist/{_...all_-6l5FWUkL.js → _...all_-CdjdWhUr.js} +5 -5
- package/dist/assets/styles/index.d.ts +3 -3
- package/dist/{colors-DiWJrScm.js → colors-7rGvqeKK.js} +1 -1
- package/dist/{index-CfasTv4x.js → index-BC-gcL8e.js} +4 -4
- package/dist/{index-Md7zV10q.js → index-C-6XxK2D.js} +5 -5
- package/dist/{index-bsi-FZDt.js → index-CgLD0zqO.js} +169 -169
- package/dist/{index-BmMbAV1Y.js → index-CtyzB2cq.js} +13 -13
- package/dist/{index-Ckgil96Y.js → index-Cw1uN5m-.js} +2 -2
- package/dist/{index-Be7jJtXg.js → index-DVUDANdM.js} +5 -5
- package/dist/{index-Dzwhw1L9.js → index-Dpq4uqWd.js} +22 -22
- package/dist/{index-DgpcBgWl.js → index-DuoLZ3r3.js} +4394 -4294
- package/dist/{index-De_ME_Ws.js → index-sYaQXYQC.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js → index.vue_vue_type_style_index_0_scoped_051f4e99_lang-CuU-JtjC.js} +870 -856
- package/dist/interface.d.ts +12 -0
- package/dist/layout/ui-kit/HDialog.vue.d.ts +1 -1
- package/dist/layout/ui-kit/HSlideover.vue.d.ts +1 -1
- package/dist/layout/ui-kit/HTooltip.vue.d.ts +1 -1
- package/dist/{menu-CC5544p-.js → menu-BL6hH6OM.js} +1862 -1856
- package/dist/{pick-CJo2YiT-.js → pick-CAmKymZJ.js} +1 -1
- package/dist/request.js +34 -32
- package/dist/stores/plugin/persist.d.ts +2 -2
- package/dist/style.css +3 -3
- package/package.json +25 -26
- package/src/assets/styles/globals.css +188 -0
- package/src/assets/styles/index.ts +3 -3
- package/src/assets/styles/nprogress.css +68 -0
- package/src/assets/styles/rbac.css +51 -0
- package/src/assets/styles/resources/utils.css +53 -0
- package/src/assets/styles/resources/variables.css +5 -0
- package/src/components/NotAllowed/index.vue +4 -6
- package/src/components/PassStrengthValidator/index.vue +33 -48
- package/src/components/PassStrengthValidator/rule.vue +13 -25
- package/src/components/PubinfoIcon/index.vue +4 -8
- package/src/composables/watchDiff.ts +1 -1
- package/src/create.ts +10 -3
- package/src/interface.ts +19 -0
- package/src/layout/Layout.vue +113 -161
- package/src/layout/components/Content/IframeView.vue +1 -2
- package/src/layout/components/Content/LinkView.vue +2 -2
- package/src/layout/components/Content/index.vue +1 -2
- package/src/layout/components/Copyright/index.vue +7 -8
- package/src/layout/components/Header/TopMode/More.vue +24 -32
- package/src/layout/components/Header/TopMode/NotCursor.vue +20 -29
- package/src/layout/components/Header/TopMode/index.vue +1 -1
- package/src/layout/components/Header/index.vue +118 -206
- package/src/layout/components/Logo/index.vue +4 -19
- package/src/layout/components/Menu/item.vue +16 -25
- package/src/layout/components/SettingBar/AppSetting.vue +11 -11
- package/src/layout/components/SettingBar/components/DayNightToggle.vue +26 -120
- package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +111 -136
- package/src/layout/components/SettingBar/components/SettingMode.vue +78 -88
- package/src/layout/components/SettingBar/components/SettingThemes.vue +48 -85
- package/src/layout/components/SettingBar/components/SettingWidthMode.vue +63 -71
- package/src/layout/components/SettingBar/index.vue +29 -62
- package/src/layout/components/Sidebar/MainSidebar.vue +81 -126
- package/src/layout/components/Sidebar/SubSidebar.vue +50 -59
- package/src/layout/components/Tools/Breadcrumb/index.vue +6 -12
- package/src/layout/components/Tools/DayNightSwitch.vue +40 -63
- package/src/layout/components/Tools/Preferences/PreferencesContent.vue +210 -277
- package/src/layout/components/Tools/Search.vue +5 -5
- package/src/layout/components/Tools/index.vue +1 -1
- package/src/layout/components/Topbar/Tabbar/MoreAction.vue +98 -145
- package/src/layout/components/Topbar/Tabbar/index.vue +259 -395
- package/src/layout/components/Topbar/Toolbar/Favorites.vue +4 -4
- package/src/layout/components/Topbar/Toolbar/index.vue +39 -56
- package/src/layout/components/Topbar/index.vue +16 -19
- package/src/layout/composables/useContext.ts +1 -1
- package/src/layout/composables/useMenu.ts +1 -1
- package/src/layout/composables/useTabbar.ts +1 -1
- package/src/layout/composables/useTitle.ts +1 -1
- package/src/layout/provider.ts +1 -1
- package/src/layout/ui-kit/HDialog.vue +1 -1
- package/src/layout/ui-kit/HDivider.vue +6 -35
- package/src/layout/ui-kit/HSlideover.vue +1 -1
- package/src/layout/ui-kit/HToggle.vue +49 -93
- package/src/layout/ui-kit/HTooltip.vue +1 -1
- package/src/locales/index.ts +1 -1
- package/src/pages/personal/profile/index.vue +1 -1
- package/src/pages/system/[...all].vue +4 -6
- package/src/pages/system/change-organization/index.vue +23 -37
- package/src/pages/system/change-password/components/ChangePasswordForm/index.vue +1 -1
- package/src/pages/system/change-password/index.vue +16 -29
- package/src/pages/system/not-permission/index.vue +4 -6
- package/src/route/guard/basic.ts +1 -1
- package/src/route/routes.ts +1 -1
- package/src/stores/modules/favorites.ts +1 -1
- package/src/stores/modules/menu.ts +1 -1
- package/src/stores/modules/route.ts +2 -2
- package/src/stores/modules/settings.ts +7 -7
- package/src/stores/modules/user.ts +2 -2
- package/src/stores/plugin/persist.ts +3 -3
- package/src/stores/plugin/sideEffect/tabbarStorage.ts +1 -1
- package/src/utils/crypto.ts +1 -1
- package/types/auto-imports.d.ts +1 -1
- package/types/components.d.ts +1 -0
- package/types/vue-router.d.ts +8 -8
- package/dist/HDivider-DgXBhPr0.js +0 -21
- package/dist/HToggle-Cd71WKvG.js +0 -34
- package/src/assets/styles/globals.scss +0 -189
- package/src/assets/styles/nprogress.scss +0 -63
- package/src/assets/styles/rbac.scss +0 -61
- package/src/assets/styles/resources/utils.scss +0 -53
- package/src/assets/styles/resources/variables.scss +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as k, b as B } from "./index-
|
|
1
|
+
import { u as k, b as B } from "./index-DuoLZ3r3.js";
|
|
2
2
|
import { _ as H } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
3
3
|
import { markRaw as w, createElementBlock as h, openBlock as a, createElementVNode as i, defineComponent as A, defineAsyncComponent as t, useModel as E, computed as c, watch as g, createBlock as S, createSlots as N, withCtx as p, Fragment as z, renderList as O, unref as l, resolveDynamicComponent as P, createVNode as f, createTextVNode as W } from "vue";
|
|
4
|
-
import { o as $ } from "./menu-
|
|
4
|
+
import { o as $ } from "./menu-BL6hH6OM.js";
|
|
5
5
|
import D from "vue-m-message";
|
|
6
6
|
import { useRoute as I } from "vue-router";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -21,20 +21,20 @@ function J(d, o) {
|
|
|
21
21
|
const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp" }, j = /* @__PURE__ */ A({
|
|
22
22
|
name: "AppSetting",
|
|
23
23
|
components: {
|
|
24
|
-
SettingThemes: t(() => import("./SettingThemes-
|
|
25
|
-
SettingsMode: t(() => import("./SettingMode-
|
|
26
|
-
SettingWidthMode: t(() => import("./SettingWidthMode-
|
|
27
|
-
SettingEnableTransition: t(() => import("./SettingEnableTransition-
|
|
28
|
-
SettingMenu: t(() => import("./SettingMenu-
|
|
29
|
-
SettingTopbar: t(() => import("./SettingTopbar-
|
|
30
|
-
SettingTabbar: t(() => import("./SettingTabbar-
|
|
31
|
-
SettingToolbar: t(() => import("./SettingToolbar-
|
|
32
|
-
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-
|
|
33
|
-
SettingPage: t(() => import("./SettingPage-
|
|
34
|
-
SettingNavSearch: t(() => import("./SettingNavSearch-
|
|
35
|
-
SettingCopyright: t(() => import("./SettingCopyright-
|
|
36
|
-
SettingHome: t(() => import("./SettingHome-
|
|
37
|
-
SettingOther: t(() => import("./SettingOther-
|
|
24
|
+
SettingThemes: t(() => import("./SettingThemes-7oYUooGR.js")),
|
|
25
|
+
SettingsMode: t(() => import("./SettingMode-C99ADNad.js")),
|
|
26
|
+
SettingWidthMode: t(() => import("./SettingWidthMode-qwkmTFIK.js")),
|
|
27
|
+
SettingEnableTransition: t(() => import("./SettingEnableTransition-BSXU87vT.js")),
|
|
28
|
+
SettingMenu: t(() => import("./SettingMenu-yvKu7Yoq.js")),
|
|
29
|
+
SettingTopbar: t(() => import("./SettingTopbar-GDEPltxm.js")),
|
|
30
|
+
SettingTabbar: t(() => import("./SettingTabbar-C2ya4r4U.js")),
|
|
31
|
+
SettingToolbar: t(() => import("./SettingToolbar-A6OiGfAD.js")),
|
|
32
|
+
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-ChQx96br.js")),
|
|
33
|
+
SettingPage: t(() => import("./SettingPage-Wwy5PtzC.js")),
|
|
34
|
+
SettingNavSearch: t(() => import("./SettingNavSearch-mURLLetZ.js")),
|
|
35
|
+
SettingCopyright: t(() => import("./SettingCopyright-CkMab5VK.js")),
|
|
36
|
+
SettingHome: t(() => import("./SettingHome-DwioPezC.js")),
|
|
37
|
+
SettingOther: t(() => import("./SettingOther-BGoSdp7a.js"))
|
|
38
38
|
},
|
|
39
39
|
__name: "AppSetting",
|
|
40
40
|
props: {
|
|
@@ -120,7 +120,7 @@ const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp
|
|
|
120
120
|
]), 1032, ["modelValue"]);
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
|
-
}), tt = /* @__PURE__ */ R(j, [["__scopeId", "data-v-
|
|
123
|
+
}), tt = /* @__PURE__ */ R(j, [["__scopeId", "data-v-7b36643b"]]);
|
|
124
124
|
export {
|
|
125
125
|
tt as default
|
|
126
126
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as c, watch as u, createElementBlock as n, openBlock as a, Fragment as i, renderList as m, normalizeClass as p, createBlock as b, unref as f, createTextVNode as _, toDisplayString as h } from "vue";
|
|
2
|
-
import "./menu-CC5544p-.js";
|
|
3
2
|
import "pinia-plugin-persistedstate";
|
|
3
|
+
import "./menu-BL6hH6OM.js";
|
|
4
4
|
import "vue-router";
|
|
5
|
-
import { _ as k } from "./index.
|
|
5
|
+
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_051f4e99_lang-CuU-JtjC.js";
|
|
6
6
|
const y = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, g = ["disabled", "onClick"], L = /* @__PURE__ */ c({
|
|
7
7
|
__name: "HCheckList",
|
|
8
8
|
props: {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as r, createElementBlock as s, openBlock as a, createElementVNode as e, renderSlot as f, toDisplayString as i } from "vue";
|
|
2
|
+
const p = { "w-full": "" }, l = { class: "flex items-center justify-between gap-4 my-4 whitespace-nowrap text-sm font-500 before:content-empty before:w-full before:h-1px before:bg-stone-2 dark:before:bg-stone-6 after:content-empty after:w-full after:h-1px after:bg-stone-2 dark:after:bg-stone-6" }, c = { class: "px-2.5 py-[5px]" }, _ = /* @__PURE__ */ r({
|
|
3
|
+
name: "HDivider",
|
|
4
|
+
__name: "HDivider",
|
|
5
|
+
props: {
|
|
6
|
+
title: {}
|
|
7
|
+
},
|
|
8
|
+
setup(t) {
|
|
9
|
+
const o = t;
|
|
10
|
+
return (n, d) => (a(), s("div", p, [
|
|
11
|
+
e("div", l, [
|
|
12
|
+
e("div", c, i(o.title), 1)
|
|
13
|
+
]),
|
|
14
|
+
f(n.$slots, "default")
|
|
15
|
+
]));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
_
|
|
20
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const V = { class: "switch" }, k = /* @__PURE__ */ u({
|
|
4
|
+
__name: "HToggle",
|
|
5
|
+
props: {
|
|
6
|
+
modelValue: { type: Boolean },
|
|
7
|
+
disabled: { type: Boolean, default: !1 },
|
|
8
|
+
onIcon: {},
|
|
9
|
+
offIcon: {}
|
|
10
|
+
},
|
|
11
|
+
emits: ["update:modelValue"],
|
|
12
|
+
setup(l, { emit: s }) {
|
|
13
|
+
const a = l, d = s, o = c({
|
|
14
|
+
get() {
|
|
15
|
+
return a.modelValue;
|
|
16
|
+
},
|
|
17
|
+
set(t) {
|
|
18
|
+
d("update:modelValue", t);
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
return (t, e) => (r(), m("label", V, [
|
|
22
|
+
i(n("input", {
|
|
23
|
+
"onUpdate:modelValue": e[0] || (e[0] = (p) => _(o) ? o.value = p : null),
|
|
24
|
+
type: "checkbox"
|
|
25
|
+
}, null, 512), [
|
|
26
|
+
[f, b(o)]
|
|
27
|
+
]),
|
|
28
|
+
e[1] || (e[1] = n("span", { class: "bg-[#d6d3d1] dark:bg-stone-5" }, null, -1))
|
|
29
|
+
]));
|
|
30
|
+
}
|
|
31
|
+
}), B = /* @__PURE__ */ g(k, [["__scopeId", "data-v-b9a9a2fd"]]);
|
|
32
|
+
export {
|
|
33
|
+
B as _
|
|
34
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as Ee } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { u as ze, c as Re } from "./index-
|
|
3
|
-
import { _ as Le } from "./HToggle-
|
|
1
|
+
import { _ as Ee } from "./HCheckList.vue_vue_type_script_setup_true_lang-Bi9jyf-Y.js";
|
|
2
|
+
import { u as ze, c as Re } from "./index-DuoLZ3r3.js";
|
|
3
|
+
import { _ as Le } from "./HToggle-Di3WNnzE.js";
|
|
4
4
|
import { defineComponent as He, shallowRef as te, computed as de, createVNode as l, Transition as De, withDirectives as je, vShow as Fe, ref as qe, createElementBlock as r, openBlock as u, createCommentVNode as m, createElementVNode as i, unref as e, isRef as Ne, Fragment as We, renderList as Ge, normalizeClass as h, normalizeStyle as Xe, withCtx as g, createTextVNode as J } from "vue";
|
|
5
5
|
import { getThemes as Je } from "@pubinfo/config/themes";
|
|
6
6
|
import { E as se, a as ie } from "./right-Bfe2p1o0.js";
|
|
7
7
|
import { R as oe } from "./question-line-CfkciTFq.js";
|
|
8
|
-
import { ax as Qe, av as Ke, a7 as ae, at as Ye, b7 as Ze, a9 as q, aA as en, b$ as nn, c0 as tn, c1 as on, c2 as ln, bU as an, ao as sn, c3 as dn, bV as rn, ab as un, aq as mn, ag as cn, ac as bn, aS as pn, aa as Ae, bf as yn, M as gn, f as vn, v as fn, aR as hn } from "./menu-
|
|
9
|
-
import { p as B } from "./pick-
|
|
8
|
+
import { ax as Qe, av as Ke, a7 as ae, at as Ye, b7 as Ze, a9 as q, aA as en, b$ as nn, c0 as tn, c1 as on, c2 as ln, bU as an, ao as sn, c3 as dn, bV as rn, ab as un, aq as mn, ag as cn, ac as bn, aS as pn, aa as Ae, bf as yn, M as gn, f as vn, v as fn, aR as hn } from "./menu-BL6hH6OM.js";
|
|
9
|
+
import { p as B } from "./pick-CAmKymZJ.js";
|
|
10
10
|
import { _ as wn } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const le = (d, o, n, v, w) => ({
|
|
12
12
|
backgroundColor: d,
|
|
@@ -970,7 +970,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
970
970
|
]);
|
|
971
971
|
};
|
|
972
972
|
}
|
|
973
|
-
}), Ct = /* @__PURE__ */ wn(bt, [["__scopeId", "data-v-
|
|
973
|
+
}), Ct = /* @__PURE__ */ wn(bt, [["__scopeId", "data-v-1e8b8d0a"]]);
|
|
974
974
|
export {
|
|
975
975
|
Ct as default
|
|
976
976
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { _ as r } from "./HDivider-
|
|
2
|
-
import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ } from "./HToggle-
|
|
4
|
-
import { defineComponent as b, toRefs as f, createBlock as
|
|
5
|
-
import { u as v } from "./index-
|
|
6
|
-
const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" },
|
|
1
|
+
import { _ as r } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-Bi9jyf-Y.js";
|
|
3
|
+
import { _ } from "./HToggle-Di3WNnzE.js";
|
|
4
|
+
import { defineComponent as b, 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 { u as v } from "./index-DuoLZ3r3.js";
|
|
6
|
+
const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" }, $ = /* @__PURE__ */ b({
|
|
7
7
|
name: "SettingBreadcrumb",
|
|
8
8
|
__name: "SettingBreadcrumb",
|
|
9
9
|
setup(C) {
|
|
10
10
|
const { settingsStore: i } = v(), { breadcrumb: l, menu: d } = f(i.settings);
|
|
11
11
|
return (k, e) => {
|
|
12
12
|
const a = _, m = p, u = r;
|
|
13
|
-
return
|
|
13
|
+
return g(), c(u, { title: "面包屑导航" }, {
|
|
14
14
|
default: V(() => [
|
|
15
15
|
n("div", M, [
|
|
16
16
|
e[3] || (e[3] = n("div", { class: "label" }, " 是否启用 ", -1)),
|
|
@@ -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,16 +1,16 @@
|
|
|
1
|
-
import { _ as u } from "./HDivider-
|
|
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-
|
|
4
|
-
import { defineComponent as b, toRef as
|
|
5
|
-
import { u as v } from "./index-
|
|
6
|
-
const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class: "setting-item" }, x = { class: "setting-item" }, w = { class: "setting-item" },
|
|
3
|
+
import { _ as r } from "./HToggle-Di3WNnzE.js";
|
|
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 { u as v } from "./index-DuoLZ3r3.js";
|
|
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
|
-
const { settingsStore: i } = v(), l =
|
|
10
|
+
const { settingsStore: i } = v(), l = V(i.settings, "copyright");
|
|
11
11
|
return (S, e) => {
|
|
12
12
|
const a = r, d = p, m = u;
|
|
13
|
-
return
|
|
13
|
+
return _(), g(m, { title: "底部版权" }, {
|
|
14
14
|
default: f(() => [
|
|
15
15
|
o("div", y, [
|
|
16
16
|
e[5] || (e[5] = o("div", { class: "label" }, " 是否启用 ", -1)),
|
|
@@ -58,5 +58,5 @@ const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class:
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
E as default
|
|
62
62
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as g } from "./HDivider-
|
|
2
|
-
import { u as k, c as x } from "./index-
|
|
3
|
-
import { _ as C } from "./HToggle-
|
|
1
|
+
import { _ as g } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { u as k, c as x } from "./index-DuoLZ3r3.js";
|
|
3
|
+
import { _ as C } from "./HToggle-Di3WNnzE.js";
|
|
4
4
|
import { defineComponent as T, toRefs as V, reactive as h, createBlock as c, openBlock as o, withCtx as l, createElementVNode as d, createElementBlock as r, createCommentVNode as E, createVNode as y, unref as s, isRef as H, Fragment as S, renderList as B, normalizeClass as N } from "vue";
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
5
|
+
import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const L = { class: "flex items-center justify-center pb-4" }, M = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "transition-mode"
|
|
9
|
-
},
|
|
9
|
+
}, R = ["onClick"], j = /* @__PURE__ */ T({
|
|
10
10
|
name: "SettingEnableTransition",
|
|
11
11
|
__name: "SettingEnableTransition",
|
|
12
12
|
setup(w) {
|
|
@@ -42,18 +42,18 @@ const M = { class: "flex items-center justify-center pb-4" }, R = {
|
|
|
42
42
|
}
|
|
43
43
|
]);
|
|
44
44
|
return (n, a) => {
|
|
45
|
-
const
|
|
46
|
-
return o(), c(
|
|
45
|
+
const f = C, p = x, b = g;
|
|
46
|
+
return o(), c(b, { title: "页面切换动画" }, {
|
|
47
47
|
default: l(() => [
|
|
48
|
-
d("div",
|
|
49
|
-
y(
|
|
48
|
+
d("div", L, [
|
|
49
|
+
y(f, {
|
|
50
50
|
modelValue: s(t),
|
|
51
51
|
"onUpdate:modelValue": a[0] || (a[0] = (e) => H(t) ? t.value = e : null)
|
|
52
52
|
}, null, 8, ["modelValue"])
|
|
53
53
|
]),
|
|
54
|
-
s(t) ? (o(), r("div",
|
|
55
|
-
(o(!0), r(S, null, B(s(u), (e,
|
|
56
|
-
key:
|
|
54
|
+
s(t) ? (o(), r("div", M, [
|
|
55
|
+
(o(!0), r(S, null, B(s(u), (e, v) => (o(), c(p, {
|
|
56
|
+
key: v,
|
|
57
57
|
text: e.describe,
|
|
58
58
|
placement: "bottom",
|
|
59
59
|
delay: 500
|
|
@@ -62,7 +62,7 @@ const M = { class: "flex items-center justify-center pb-4" }, R = {
|
|
|
62
62
|
d("div", {
|
|
63
63
|
class: N(["mode", [s(i) === e.active ? "active" : "", e.class]]),
|
|
64
64
|
onClick: (z) => _(e.active)
|
|
65
|
-
}, null, 10,
|
|
65
|
+
}, null, 10, R)
|
|
66
66
|
]),
|
|
67
67
|
_: 2
|
|
68
68
|
}, 1032, ["text"]))), 128))
|
|
@@ -72,7 +72,7 @@ const M = { class: "flex items-center justify-center pb-4" }, R = {
|
|
|
72
72
|
});
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
}), q = /* @__PURE__ */
|
|
75
|
+
}), q = /* @__PURE__ */ $(j, [["__scopeId", "data-v-4bbb32a1"]]);
|
|
76
76
|
export {
|
|
77
77
|
q as default
|
|
78
78
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { _ as f } from "./HDivider-
|
|
1
|
+
import { _ as f } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
2
|
import { _ as g } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import { _ as V } from "./HToggle-
|
|
4
|
-
import { u as b, c as x } from "./index-
|
|
5
|
-
import { defineComponent as H, toRefs as v, createBlock as C, openBlock as N, withCtx as i, createElementVNode as s, createVNode as o, createTextVNode as
|
|
6
|
-
import { R as
|
|
7
|
-
const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setting-item" },
|
|
3
|
+
import { _ as V } from "./HToggle-Di3WNnzE.js";
|
|
4
|
+
import { u as b, c as x } from "./index-DuoLZ3r3.js";
|
|
5
|
+
import { defineComponent as H, toRefs as v, createBlock as C, openBlock as N, withCtx as i, createElementVNode as s, createVNode as o, createTextVNode as a, unref as t } from "vue";
|
|
6
|
+
import { R as _ } from "./question-line-CfkciTFq.js";
|
|
7
|
+
const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setting-item" }, $ = { class: "label" }, Q = /* @__PURE__ */ H({
|
|
8
8
|
name: "SettingHome",
|
|
9
9
|
__name: "SettingHome",
|
|
10
|
-
setup(
|
|
10
|
+
setup(k) {
|
|
11
11
|
const { settingsStore: d } = b(), { home: n, toolbar: r } = v(d.settings);
|
|
12
|
-
return (
|
|
12
|
+
return (B, e) => {
|
|
13
13
|
const m = x, p = V, u = g, c = f;
|
|
14
14
|
return N(), C(c, { title: "主页" }, {
|
|
15
15
|
default: i(() => [
|
|
16
16
|
s("div", R, [
|
|
17
17
|
s("div", S, [
|
|
18
|
-
e[2] || (e[2] =
|
|
18
|
+
e[2] || (e[2] = a(" 是否启用 ")),
|
|
19
19
|
o(m, { text: "该功能开启时,登录成功默认进入主页,反之则默认进入导航栏里第一个导航页面" }, {
|
|
20
20
|
default: i(() => [
|
|
21
|
-
o(t(
|
|
21
|
+
o(t(_))
|
|
22
22
|
]),
|
|
23
23
|
_: 1
|
|
24
24
|
})
|
|
@@ -29,11 +29,11 @@ const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setti
|
|
|
29
29
|
}, null, 8, ["modelValue"])
|
|
30
30
|
]),
|
|
31
31
|
s("div", T, [
|
|
32
|
-
s("div",
|
|
33
|
-
e[3] || (e[3] =
|
|
32
|
+
s("div", $, [
|
|
33
|
+
e[3] || (e[3] = a(" 主页名称 ")),
|
|
34
34
|
o(m, { text: "开启国际化时,该设置无效" }, {
|
|
35
35
|
default: i(() => [
|
|
36
|
-
o(t(
|
|
36
|
+
o(t(_))
|
|
37
37
|
]),
|
|
38
38
|
_: 1
|
|
39
39
|
})
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { _ } from "./HDivider-
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _
|
|
4
|
-
import { u as
|
|
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
|
|
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-Bi9jyf-Y.js";
|
|
3
|
+
import { _ } from "./HToggle-Di3WNnzE.js";
|
|
4
|
+
import { u as g, c as y } from "./index-DuoLZ3r3.js";
|
|
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" }, R = { class: "label" }, w = { class: "setting-item" }, A = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "setting-item"
|
|
10
|
-
}, N = { class: "setting-item" }, T = { class: "setting-item" },
|
|
10
|
+
}, N = { class: "setting-item" }, T = { class: "setting-item" }, $ = { class: "setting-item" }, z = /* @__PURE__ */ f({
|
|
11
11
|
name: "SettingMenu",
|
|
12
12
|
__name: "SettingMenu",
|
|
13
|
-
setup(
|
|
14
|
-
const { settingsStore: p } =
|
|
15
|
-
return (
|
|
16
|
-
const u = y,
|
|
13
|
+
setup(q) {
|
|
14
|
+
const { settingsStore: p } = g(), n = c(p.settings, "menu");
|
|
15
|
+
return (E, e) => {
|
|
16
|
+
const u = y, t = _, r = M, V = v;
|
|
17
17
|
return b(), U(V, { title: "导航栏" }, {
|
|
18
18
|
default: i(() => [
|
|
19
19
|
s("div", x, [
|
|
20
20
|
s("div", H, [
|
|
21
21
|
e[8] || (e[8] = a(" 主导航切换跳转 ")),
|
|
22
|
-
|
|
22
|
+
d(u, { text: "开启该功能后,切换主导航时,页面自动跳转至该主导航下,次导航里第一个导航" }, {
|
|
23
23
|
default: i(() => [
|
|
24
|
-
|
|
24
|
+
d(l(m))
|
|
25
25
|
]),
|
|
26
26
|
_: 1
|
|
27
27
|
})
|
|
28
28
|
]),
|
|
29
|
-
t
|
|
29
|
+
d(t, {
|
|
30
30
|
modelValue: l(n).switchMainMenuAndPageJump,
|
|
31
31
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => l(n).switchMainMenuAndPageJump = o),
|
|
32
32
|
disabled: ["single", "only-side", "only-head"].includes(l(n).menuMode)
|
|
@@ -35,14 +35,14 @@ const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setti
|
|
|
35
35
|
s("div", S, [
|
|
36
36
|
s("div", O, [
|
|
37
37
|
e[9] || (e[9] = a(" 次导航自动隐藏 ")),
|
|
38
|
-
|
|
38
|
+
d(u, { text: "开启该功能后,切换主导航时,如果次导航里只有一个导航时,则自动隐藏" }, {
|
|
39
39
|
default: i(() => [
|
|
40
|
-
|
|
40
|
+
d(l(m))
|
|
41
41
|
]),
|
|
42
42
|
_: 1
|
|
43
43
|
})
|
|
44
44
|
]),
|
|
45
|
-
t
|
|
45
|
+
d(t, {
|
|
46
46
|
modelValue: l(n).subMenuOnlyOneHide,
|
|
47
47
|
"onUpdate:modelValue": e[1] || (e[1] = (o) => l(n).subMenuOnlyOneHide = o),
|
|
48
48
|
disabled: ["single", "only-side", "only-head"].includes(l(n).menuMode)
|
|
@@ -51,14 +51,14 @@ const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setti
|
|
|
51
51
|
s("div", B, [
|
|
52
52
|
s("div", R, [
|
|
53
53
|
e[10] || (e[10] = a(" 次导航保持展开一个 ")),
|
|
54
|
-
|
|
54
|
+
d(u, { text: "开启该功能后,次导航只保持单个菜单的展开" }, {
|
|
55
55
|
default: i(() => [
|
|
56
|
-
|
|
56
|
+
d(l(m))
|
|
57
57
|
]),
|
|
58
58
|
_: 1
|
|
59
59
|
})
|
|
60
60
|
]),
|
|
61
|
-
t
|
|
61
|
+
d(t, {
|
|
62
62
|
modelValue: l(n).subMenuUniqueOpened,
|
|
63
63
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => l(n).subMenuUniqueOpened = o),
|
|
64
64
|
disabled: ["only-side", "only-head"].includes(l(n).menuMode)
|
|
@@ -66,7 +66,7 @@ const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setti
|
|
|
66
66
|
]),
|
|
67
67
|
s("div", w, [
|
|
68
68
|
e[11] || (e[11] = s("div", { class: "label" }, " 次导航是否折叠 ", -1)),
|
|
69
|
-
t
|
|
69
|
+
d(t, {
|
|
70
70
|
modelValue: l(n).subMenuCollapse,
|
|
71
71
|
"onUpdate:modelValue": e[3] || (e[3] = (o) => l(n).subMenuCollapse = o),
|
|
72
72
|
disabled: ["only-side", "only-head"].includes(l(n).menuMode)
|
|
@@ -74,7 +74,7 @@ const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setti
|
|
|
74
74
|
]),
|
|
75
75
|
l(p).mode === "pc" ? (b(), C("div", A, [
|
|
76
76
|
e[12] || (e[12] = s("div", { class: "label" }, " 显示次导航折叠按钮 ", -1)),
|
|
77
|
-
t
|
|
77
|
+
d(t, {
|
|
78
78
|
modelValue: l(n).enableSubMenuCollapseButton,
|
|
79
79
|
"onUpdate:modelValue": e[4] || (e[4] = (o) => l(n).enableSubMenuCollapseButton = o),
|
|
80
80
|
disabled: ["only-side", "only-head"].includes(l(n).menuMode)
|
|
@@ -82,14 +82,14 @@ const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setti
|
|
|
82
82
|
])) : k("", !0),
|
|
83
83
|
s("div", N, [
|
|
84
84
|
e[13] || (e[13] = s("div", { class: "label" }, " 是否圆角 ", -1)),
|
|
85
|
-
t
|
|
85
|
+
d(t, {
|
|
86
86
|
modelValue: l(n).isRounded,
|
|
87
87
|
"onUpdate:modelValue": e[5] || (e[5] = (o) => l(n).isRounded = o)
|
|
88
88
|
}, null, 8, ["modelValue"])
|
|
89
89
|
]),
|
|
90
90
|
s("div", T, [
|
|
91
91
|
e[14] || (e[14] = s("div", { class: "label" }, " 激活风格 ", -1)),
|
|
92
|
-
|
|
92
|
+
d(r, {
|
|
93
93
|
modelValue: l(n).menuActiveStyle,
|
|
94
94
|
"onUpdate:modelValue": e[6] || (e[6] = (o) => l(n).menuActiveStyle = o),
|
|
95
95
|
options: [
|
|
@@ -101,9 +101,9 @@ const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setti
|
|
|
101
101
|
disabled: l(n).menuMode === "single"
|
|
102
102
|
}, null, 8, ["modelValue", "options", "disabled"])
|
|
103
103
|
]),
|
|
104
|
-
s("div",
|
|
104
|
+
s("div", $, [
|
|
105
105
|
e[15] || (e[15] = s("div", { class: "label" }, " 是否启用快捷键 ", -1)),
|
|
106
|
-
t
|
|
106
|
+
d(t, {
|
|
107
107
|
modelValue: l(n).enableHotkeys,
|
|
108
108
|
"onUpdate:modelValue": e[7] || (e[7] = (o) => l(n).enableHotkeys = o),
|
|
109
109
|
disabled: ["single", "only-side", "only-head"].includes(l(n).menuMode)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as u } from "./HDivider-
|
|
2
|
-
import { u as v, c as f } from "./index-
|
|
1
|
+
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { u as v, c as f } from "./index-DuoLZ3r3.js";
|
|
3
3
|
import { defineComponent as b, toRef as g, reactive as k, createBlock as a, openBlock as n, withCtx as s, createElementVNode as o, createElementBlock as x, Fragment as C, renderList as S, unref as l, normalizeClass as h } from "vue";
|
|
4
4
|
import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const M = { class: "menu-mode" },
|
|
5
|
+
const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ b({
|
|
6
6
|
name: "SettingMode",
|
|
7
7
|
__name: "SettingMode",
|
|
8
|
-
setup(
|
|
8
|
+
setup(H) {
|
|
9
9
|
const { settingsStore: m } = v(), c = g(m.settings.menu, "menuMode"), r = k([
|
|
10
10
|
{
|
|
11
11
|
describe: "侧边栏模式 (含主导航)",
|
|
@@ -53,7 +53,7 @@ const M = { class: "menu-mode" }, B = ["onClick"], H = /* @__PURE__ */ b({
|
|
|
53
53
|
onClick: (E) => d(e.active)
|
|
54
54
|
}, i[0] || (i[0] = [
|
|
55
55
|
o("div", { class: "mode-container" }, null, -1)
|
|
56
|
-
]), 10,
|
|
56
|
+
]), 10, $)
|
|
57
57
|
]),
|
|
58
58
|
_: 2
|
|
59
59
|
}, 1032, ["text", "placement"]))), 128))
|
|
@@ -63,7 +63,7 @@ const M = { class: "menu-mode" }, B = ["onClick"], H = /* @__PURE__ */ b({
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
}), I = /* @__PURE__ */ y(
|
|
66
|
+
}), I = /* @__PURE__ */ y(B, [["__scopeId", "data-v-fd9998ae"]]);
|
|
67
67
|
export {
|
|
68
68
|
I as default
|
|
69
69
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { _ } from "./HDivider-
|
|
2
|
-
import { _ as u } from "./HToggle-
|
|
3
|
-
import { u as p, c } from "./index-
|
|
4
|
-
import { defineComponent as f, toRef as
|
|
1
|
+
import { _ } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { _ as u } from "./HToggle-Di3WNnzE.js";
|
|
3
|
+
import { u as p, c } from "./index-DuoLZ3r3.js";
|
|
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" }, H = { class: "label" }, N = { class: "setting-item" },
|
|
6
|
+
const x = { class: "setting-item" }, H = { class: "label" }, N = { class: "setting-item" }, $ = /* @__PURE__ */ f({
|
|
7
7
|
name: "SettingNavSearch",
|
|
8
8
|
__name: "SettingNavSearch",
|
|
9
9
|
setup(k) {
|
|
10
|
-
const { settingsStore: m } = p(), o =
|
|
10
|
+
const { settingsStore: m } = p(), o = b(m.settings, "navSearch");
|
|
11
11
|
return (C, e) => {
|
|
12
12
|
const d = c, a = u, r = _;
|
|
13
|
-
return v(),
|
|
13
|
+
return v(), g(r, { title: "导航搜索" }, {
|
|
14
14
|
default: i(() => [
|
|
15
15
|
n("div", x, [
|
|
16
16
|
n("div", H, [
|
|
@@ -42,5 +42,5 @@ const x = { class: "setting-item" }, H = { class: "label" }, N = { class: "setti
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
$ as default
|
|
46
46
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as c } from "./HDivider-
|
|
1
|
+
import { _ as c } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
2
|
import { _ as x } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import { u as b, c as S } from "./index-
|
|
4
|
-
import { _ as H } from "./HToggle-
|
|
3
|
+
import { u as b, c as S } from "./index-DuoLZ3r3.js";
|
|
4
|
+
import { _ as H } from "./HToggle-Di3WNnzE.js";
|
|
5
5
|
import { defineComponent as R, toRefs as T, createBlock as U, openBlock as C, withCtx as s, createElementVNode as o, createVNode as t, unref as n, isRef as i, createTextVNode as p } from "vue";
|
|
6
6
|
import { R as f } from "./question-line-CfkciTFq.js";
|
|
7
|
-
const N = { class: "setting-item" }, P = { class: "setting-item" },
|
|
7
|
+
const N = { class: "setting-item" }, P = { class: "setting-item" }, $ = { class: "label" }, k = { class: "setting-item" }, B = { class: "label" }, D = { class: "setting-item" }, O = { class: "label" }, z = /* @__PURE__ */ R({
|
|
8
8
|
name: "SettingOther",
|
|
9
9
|
__name: "SettingOther",
|
|
10
10
|
setup(w) {
|
|
@@ -26,7 +26,7 @@ const N = { class: "setting-item" }, P = { class: "setting-item" }, k = { class:
|
|
|
26
26
|
}, null, 8, ["modelValue"])
|
|
27
27
|
]),
|
|
28
28
|
o("div", P, [
|
|
29
|
-
o("div",
|
|
29
|
+
o("div", $, [
|
|
30
30
|
e[5] || (e[5] = p(" 载入进度条 ")),
|
|
31
31
|
t(_, { text: "该功能开启时,跳转路由会看到页面顶部有进度条" }, {
|
|
32
32
|
default: s(() => [
|
|
@@ -40,8 +40,8 @@ const N = { class: "setting-item" }, P = { class: "setting-item" }, k = { class:
|
|
|
40
40
|
"onUpdate:modelValue": e[1] || (e[1] = (l) => i(m) ? m.value = l : null)
|
|
41
41
|
}, null, 8, ["modelValue"])
|
|
42
42
|
]),
|
|
43
|
-
o("div",
|
|
44
|
-
o("div",
|
|
43
|
+
o("div", k, [
|
|
44
|
+
o("div", B, [
|
|
45
45
|
e[6] || (e[6] = p(" 动态标题 ")),
|
|
46
46
|
t(_, { text: "该功能开启时,页面标题会显示当前路由标题,格式为“页面标题 - 网站名称”;关闭时则显示网站名称,网站名称在项目根目录下 .env.* 文件里配置" }, {
|
|
47
47
|
default: s(() => [
|
|
@@ -55,8 +55,8 @@ const N = { class: "setting-item" }, P = { class: "setting-item" }, k = { class:
|
|
|
55
55
|
"onUpdate:modelValue": e[2] || (e[2] = (l) => i(d) ? d.value = l : null)
|
|
56
56
|
}, null, 8, ["modelValue"])
|
|
57
57
|
]),
|
|
58
|
-
o("div",
|
|
59
|
-
o("div",
|
|
58
|
+
o("div", D, [
|
|
59
|
+
o("div", O, [
|
|
60
60
|
e[7] || (e[7] = p(" Storage 前缀 ")),
|
|
61
61
|
t(_, { text: "localStorage 和 sessionStorage 的字段前缀" }, {
|
|
62
62
|
default: s(() => [
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ } from "./HToggle-
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { u as f } from "./index-
|
|
5
|
-
const V = { class: "setting-item" }, C = /* @__PURE__ */
|
|
1
|
+
import { _ as l } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { _ as r } from "./HToggle-Di3WNnzE.js";
|
|
3
|
+
import { defineComponent as _, toRef as p, createBlock as u, openBlock as c, withCtx as d, createElementVNode as o, createVNode as g, unref as n } from "vue";
|
|
4
|
+
import { u as f } from "./index-DuoLZ3r3.js";
|
|
5
|
+
const V = { class: "setting-item" }, C = /* @__PURE__ */ _({
|
|
6
6
|
name: "SettingPage",
|
|
7
7
|
__name: "SettingPage",
|
|
8
8
|
setup(k) {
|
|
9
9
|
const { settingsStore: s } = f(), t = p(s.settings, "mainPage");
|
|
10
10
|
return (x, e) => {
|
|
11
|
-
const a =
|
|
11
|
+
const a = r, i = l;
|
|
12
12
|
return c(), u(i, { title: "页面" }, {
|
|
13
13
|
default: d(() => [
|
|
14
14
|
o("div", V, [
|
|
15
15
|
e[1] || (e[1] = o("div", { class: "label" }, " 是否启用快捷键 ", -1)),
|
|
16
16
|
g(a, {
|
|
17
17
|
modelValue: n(t).enableHotkeys,
|
|
18
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
18
|
+
"onUpdate:modelValue": e[0] || (e[0] = (m) => n(t).enableHotkeys = m)
|
|
19
19
|
}, null, 8, ["modelValue"])
|
|
20
20
|
])
|
|
21
21
|
]),
|