@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,31 +1,31 @@
|
|
|
1
1
|
import { _ as c } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
2
|
import { _ as b } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as H } from "./HToggle-
|
|
5
|
-
import { defineComponent as N, toRefs as
|
|
3
|
+
import { bN as x, bP as S } from "./index-Cq8mquS8.js";
|
|
4
|
+
import { _ as H } from "./HToggle-CtjNyqPp.js";
|
|
5
|
+
import { defineComponent as N, toRefs as P, createBlock as R, openBlock as T, 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
|
|
7
|
+
const U = { class: "setting-item" }, C = { class: "setting-item" }, $ = { class: "label" }, k = { class: "setting-item" }, B = { class: "label" }, D = { class: "setting-item" }, O = { class: "label" }, z = /* @__PURE__ */ N({
|
|
8
8
|
name: "SettingOther",
|
|
9
9
|
__name: "SettingOther",
|
|
10
|
-
setup(
|
|
10
|
+
setup(w) {
|
|
11
11
|
const { settingsStore: g } = x(), {
|
|
12
12
|
enablePermission: a,
|
|
13
13
|
enableProgress: m,
|
|
14
14
|
enableDynamicTitle: d,
|
|
15
15
|
storagePrefix: u
|
|
16
|
-
} =
|
|
17
|
-
return (
|
|
16
|
+
} = P(g.settings.app);
|
|
17
|
+
return (y, e) => {
|
|
18
18
|
const r = H, _ = S, V = b, v = c;
|
|
19
|
-
return
|
|
19
|
+
return T(), R(v, { title: "其它" }, {
|
|
20
20
|
default: s(() => [
|
|
21
|
-
o("div",
|
|
21
|
+
o("div", U, [
|
|
22
22
|
e[4] || (e[4] = o("div", { class: "label" }, " 是否启用权限 ", -1)),
|
|
23
23
|
t(r, {
|
|
24
24
|
modelValue: n(a),
|
|
25
25
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => i(a) ? a.value = l : null)
|
|
26
26
|
}, null, 8, ["modelValue"])
|
|
27
27
|
]),
|
|
28
|
-
o("div",
|
|
28
|
+
o("div", C, [
|
|
29
29
|
o("div", $, [
|
|
30
30
|
e[5] || (e[5] = p(" 载入进度条 ")),
|
|
31
31
|
t(_, { text: "该功能开启时,跳转路由会看到页面顶部有进度条" }, {
|
|
@@ -56,7 +56,7 @@ const C = { class: "setting-item" }, P = { class: "setting-item" }, $ = { class:
|
|
|
56
56
|
}, null, 8, ["modelValue"])
|
|
57
57
|
]),
|
|
58
58
|
o("div", D, [
|
|
59
|
-
o("div",
|
|
59
|
+
o("div", O, [
|
|
60
60
|
e[7] || (e[7] = p(" Storage 前缀 ")),
|
|
61
61
|
t(_, { text: "localStorage 和 sessionStorage 的字段前缀" }, {
|
|
62
62
|
default: s(() => [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as l } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as r } from "./HToggle-
|
|
2
|
+
import { _ as r } from "./HToggle-CtjNyqPp.js";
|
|
3
3
|
import { defineComponent as _, toRef as p, createBlock as c, openBlock as d, withCtx as u, createElementVNode as o, createVNode as g, unref as n } from "vue";
|
|
4
|
-
import {
|
|
4
|
+
import { bN as f } from "./index-Cq8mquS8.js";
|
|
5
5
|
const V = { class: "setting-item" }, C = /* @__PURE__ */ _({
|
|
6
6
|
name: "SettingPage",
|
|
7
7
|
__name: "SettingPage",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as k } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import {
|
|
2
|
+
import { bN as w, bP as y } from "./index-Cq8mquS8.js";
|
|
3
3
|
import { markRaw as x, createElementBlock as p, openBlock as r, createElementVNode as o, defineComponent as v, computed as $, resolveComponent as C, createBlock as V, mergeProps as h, withCtx as u, toDisplayString as g, unref as t, createVNode as a, Fragment as H, renderList as B, normalizeClass as S, toRef as T, createTextVNode as M } from "vue";
|
|
4
|
-
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as
|
|
6
|
-
import { R as
|
|
4
|
+
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-CHx9ghjT.js";
|
|
5
|
+
import { _ as N } from "./HToggle-CtjNyqPp.js";
|
|
6
|
+
import { R as L } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const R = {
|
|
8
8
|
viewBox: "0 0 32 32",
|
|
9
9
|
width: "1.2em",
|
|
@@ -17,7 +17,7 @@ function z(m, i) {
|
|
|
17
17
|
}, null, -1)
|
|
18
18
|
]));
|
|
19
19
|
}
|
|
20
|
-
const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-full inline-flex" }, I = ["disabled"],
|
|
20
|
+
const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-full inline-flex" }, I = ["disabled"], P = { class: "block truncate" }, q = { class: "pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5" }, F = { class: "max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg:w-48 focus:outline-none" }, Q = ["disabled", "onClick"], j = /* @__PURE__ */ v({
|
|
21
21
|
__name: "HSelect",
|
|
22
22
|
props: {
|
|
23
23
|
modelValue: {},
|
|
@@ -43,7 +43,7 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
43
43
|
disabled: s.disabled
|
|
44
44
|
}, s.$attrs), {
|
|
45
45
|
popper: u(() => [
|
|
46
|
-
o("div",
|
|
46
|
+
o("div", F, [
|
|
47
47
|
(r(!0), p(H, null, B(s.options, (d) => (r(), p("button", {
|
|
48
48
|
key: d.value,
|
|
49
49
|
disabled: d.disabled,
|
|
@@ -58,8 +58,8 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
58
58
|
class: "relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg:w-48 disabled:cursor-not-allowed dark:bg-dark focus:outline-none focus:ring-2 dark:ring-stone-8 focus:ring-ui-primary",
|
|
59
59
|
disabled: s.disabled
|
|
60
60
|
}, [
|
|
61
|
-
o("span",
|
|
62
|
-
o("span",
|
|
61
|
+
o("span", P, g(t(e).label), 1),
|
|
62
|
+
o("span", q, [
|
|
63
63
|
a(t(D), { class: "h-5 w-5 flex-shrink-0 text-stone-5" })
|
|
64
64
|
])
|
|
65
65
|
], 8, I)
|
|
@@ -75,7 +75,7 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
75
75
|
setup(m) {
|
|
76
76
|
const { settingsStore: i } = w(), l = T(i.settings, "tabbar");
|
|
77
77
|
return (c, e) => {
|
|
78
|
-
const s =
|
|
78
|
+
const s = N, f = U, b = j, d = y, _ = k;
|
|
79
79
|
return r(), V(_, { title: "标签栏" }, {
|
|
80
80
|
default: u(() => [
|
|
81
81
|
o("div", A, [
|
|
@@ -124,7 +124,7 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
124
124
|
e[10] || (e[10] = M(" 是否启用记忆功能 ")),
|
|
125
125
|
a(d, { text: "开启该功能后,非固定和非常驻的标签页将在本次会话窗口中始终存在,刷新浏览器或重新登录时不会丢失" }, {
|
|
126
126
|
default: u(() => [
|
|
127
|
-
a(t(
|
|
127
|
+
a(t(L))
|
|
128
128
|
]),
|
|
129
129
|
_: 1
|
|
130
130
|
})
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { _ as T } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { markRaw as g, createElementBlock as r, openBlock as n, createElementVNode as s, defineComponent as k, useModel as V, withDirectives as $, createStaticVNode as S, vModelCheckbox as w, toRef as D, computed as
|
|
2
|
+
import { markRaw as g, createElementBlock as r, openBlock as n, createElementVNode as s, defineComponent as k, useModel as V, withDirectives as $, createStaticVNode as S, vModelCheckbox as w, toRef as D, computed as N, createBlock as B, withCtx as j, createVNode as u, unref as o, isRef as L, Fragment as b, renderList as _, normalizeClass as M, normalizeStyle as h, toDisplayString as z } from "vue";
|
|
3
3
|
import { getThemes as F } from "@pubinfo/config/themes";
|
|
4
|
-
import { b as x,
|
|
5
|
-
const
|
|
4
|
+
import { b as x, bV as R, bN as A } from "./index-Cq8mquS8.js";
|
|
5
|
+
const E = {
|
|
6
6
|
viewBox: "-5 -2 24 24",
|
|
7
7
|
width: "1.2em",
|
|
8
8
|
height: "1.2em"
|
|
9
9
|
};
|
|
10
|
-
function
|
|
11
|
-
return n(), r("svg",
|
|
10
|
+
function H(f, e) {
|
|
11
|
+
return n(), r("svg", E, e[0] || (e[0] = [
|
|
12
12
|
s("path", {
|
|
13
13
|
fill: "currentColor",
|
|
14
14
|
d: "M3 0h8a3 3 0 0 1 3 3v15a2 2 0 0 1-3.348 1.477L7.674 16.76a1 1 0 0 0-1.348 0l-2.978 2.717A2 2 0 0 1 0 18V3a3 3 0 0 1 3-3"
|
|
15
15
|
}, null, -1)
|
|
16
16
|
]));
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const I = g({ name: "jam-bookmark-f", render: H }), U = {
|
|
19
19
|
viewBox: "0 0 16 16",
|
|
20
20
|
width: "1.2em",
|
|
21
21
|
height: "1.2em"
|
|
22
22
|
};
|
|
23
|
-
function
|
|
24
|
-
return n(), r("svg",
|
|
23
|
+
function W(f, e) {
|
|
24
|
+
return n(), r("svg", U, e[0] || (e[0] = [
|
|
25
25
|
s("path", {
|
|
26
26
|
fill: "currentColor",
|
|
27
27
|
"fill-rule": "evenodd",
|
|
@@ -30,7 +30,7 @@ function U(f, e) {
|
|
|
30
30
|
}, null, -1)
|
|
31
31
|
]));
|
|
32
32
|
}
|
|
33
|
-
const J = g({ name: "pajamas-check-circle-filled", render:
|
|
33
|
+
const J = g({ name: "pajamas-check-circle-filled", render: W }), O = {
|
|
34
34
|
flex: "",
|
|
35
35
|
"justify-center": "",
|
|
36
36
|
"pb-15px": ""
|
|
@@ -66,14 +66,14 @@ const J = g({ name: "pajamas-check-circle-filled", render: U }), O = {
|
|
|
66
66
|
name: "SettingThemes",
|
|
67
67
|
__name: "SettingThemes",
|
|
68
68
|
setup(f) {
|
|
69
|
-
const { isDark: e } = R(), { settingsStore: v } =
|
|
69
|
+
const { isDark: e } = R(), { settingsStore: v } = A(), l = D(v.settings, "app"), p = [
|
|
70
70
|
"--ui-primary",
|
|
71
71
|
"--ui-text",
|
|
72
72
|
"--g-bg",
|
|
73
73
|
"--g-header-bg",
|
|
74
74
|
"--g-main-sidebar-bg",
|
|
75
75
|
"--g-sub-sidebar-bg"
|
|
76
|
-
], y =
|
|
76
|
+
], y = N(() => {
|
|
77
77
|
const c = F();
|
|
78
78
|
return Object.keys(c).map((t) => {
|
|
79
79
|
const i = c[t], a = p.map((m) => i[m].startsWith("#") ? i[m] : `rgb(${i[m]})`), d = c[t].label;
|
|
@@ -93,12 +93,12 @@ const J = g({ name: "pajamas-check-circle-filled", render: U }), O = {
|
|
|
93
93
|
}
|
|
94
94
|
return (c, t) => {
|
|
95
95
|
const i = T;
|
|
96
|
-
return n(),
|
|
97
|
-
default:
|
|
96
|
+
return n(), B(i, { title: "颜色主题风格" }, {
|
|
97
|
+
default: j(() => [
|
|
98
98
|
s("div", null, [
|
|
99
99
|
u(G, {
|
|
100
100
|
modelValue: o(e),
|
|
101
|
-
"onUpdate:modelValue": t[0] || (t[0] = (a) =>
|
|
101
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => L(e) ? e.value = a : null)
|
|
102
102
|
}, null, 8, ["modelValue"])
|
|
103
103
|
]),
|
|
104
104
|
s("div", K, [
|
|
@@ -112,7 +112,7 @@ const J = g({ name: "pajamas-check-circle-filled", render: U }), O = {
|
|
|
112
112
|
style: h({ color: a.colors.at(0) }),
|
|
113
113
|
"mr-5px": ""
|
|
114
114
|
}, [
|
|
115
|
-
u(o(
|
|
115
|
+
u(o(I))
|
|
116
116
|
], 4),
|
|
117
117
|
s("span", {
|
|
118
118
|
style: h({ color: a.colors.at(0) }),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { _ as b } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as f } from "./HToggle-
|
|
3
|
-
import {
|
|
2
|
+
import { _ as f } from "./HToggle-CtjNyqPp.js";
|
|
3
|
+
import { bN as V, bP as c } from "./index-Cq8mquS8.js";
|
|
4
4
|
import { defineComponent as g, toRef as v, createBlock as x, openBlock as _, withCtx as i, createElementVNode as s, createElementBlock as N, createCommentVNode as C, createVNode as o, createTextVNode as m, unref as t } from "vue";
|
|
5
5
|
import { R as r } from "./question-line-CfkciTFq.js";
|
|
6
6
|
const R = { class: "setting-item" }, S = { class: "label" }, T = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "setting-item"
|
|
9
|
-
}, k = { class: "setting-item" }, U = { class: "label" }, B = { class: "setting-item" }, H = { class: "label" },
|
|
9
|
+
}, k = { class: "setting-item" }, U = { class: "label" }, B = { class: "setting-item" }, H = { class: "label" }, L = /* @__PURE__ */ g({
|
|
10
10
|
name: "SettingToolbar",
|
|
11
11
|
__name: "SettingToolbar",
|
|
12
|
-
setup(
|
|
12
|
+
setup(P) {
|
|
13
13
|
const { settingsStore: u } = V(), l = v(u.settings, "toolbar");
|
|
14
|
-
return (
|
|
14
|
+
return (E, e) => {
|
|
15
15
|
const d = c, a = f, p = b;
|
|
16
16
|
return _(), x(p, { title: "工具栏" }, {
|
|
17
17
|
default: i(() => [
|
|
@@ -74,5 +74,5 @@ const R = { class: "setting-item" }, S = { class: "label" }, T = {
|
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
export {
|
|
77
|
-
|
|
77
|
+
L as default
|
|
78
78
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as b } from "./HToggle-
|
|
3
|
-
import {
|
|
4
|
-
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b } from "./HToggle-CtjNyqPp.js";
|
|
3
|
+
import { bN as c, bP as f } from "./index-Cq8mquS8.js";
|
|
4
|
+
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-CHx9ghjT.js";
|
|
5
5
|
import { defineComponent as T, toRefs as V, createBlock as v, openBlock as x, withCtx as l, createElementVNode as n, createVNode as s, unref as t, createTextVNode as k } from "vue";
|
|
6
6
|
import { R as C } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const H = { class: "setting-item" }, N = { class: "setting-item" }, w = { class: "label" }, D = /* @__PURE__ */ T({
|
|
8
8
|
name: "SettingTopbar",
|
|
9
9
|
__name: "SettingTopbar",
|
|
10
|
-
setup(
|
|
10
|
+
setup(R) {
|
|
11
11
|
const { settingsStore: i } = c(), { topbar: o, tabbar: m } = V(i.settings);
|
|
12
|
-
return (
|
|
12
|
+
return (S, e) => {
|
|
13
13
|
const r = g, d = f, _ = b, p = u;
|
|
14
14
|
return x(), v(p, { title: "顶栏" }, {
|
|
15
15
|
default: l(() => [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as v } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import {
|
|
2
|
+
import { bN as u, bP as b, b as k } from "./index-Cq8mquS8.js";
|
|
3
3
|
import { defineComponent as w, toRef as x, reactive as g, createBlock as o, openBlock as t, withCtx as n, createElementVNode as s, createElementBlock as d, Fragment as r, renderList as C, unref as c, normalizeClass as M, createCommentVNode as E, createVNode as l } from "vue";
|
|
4
4
|
import { E as y, a as B } from "./right-Bfe2p1o0.js";
|
|
5
5
|
const N = { class: "app-width-mode" }, S = ["onClick"], H = /* @__PURE__ */ w({
|
|
6
6
|
name: "SettingWidthMode",
|
|
7
7
|
__name: "SettingWidthMode",
|
|
8
|
-
setup(
|
|
8
|
+
setup(V) {
|
|
9
9
|
const { settingsStore: m } = u(), i = x(m.settings.layout, "widthMode"), _ = g([
|
|
10
10
|
{
|
|
11
11
|
describe: "自适应",
|
|
@@ -31,7 +31,7 @@ const N = { class: "app-width-mode" }, S = ["onClick"], H = /* @__PURE__ */ w({
|
|
|
31
31
|
function p(a) {
|
|
32
32
|
a && (i.value = a);
|
|
33
33
|
}
|
|
34
|
-
return (a,
|
|
34
|
+
return (a, W) => {
|
|
35
35
|
const f = b, h = v;
|
|
36
36
|
return t(), o(h, { title: "页宽模式" }, {
|
|
37
37
|
default: n(() => [
|
|
@@ -45,7 +45,7 @@ const N = { class: "app-width-mode" }, S = ["onClick"], H = /* @__PURE__ */ w({
|
|
|
45
45
|
default: n(() => [
|
|
46
46
|
s("div", {
|
|
47
47
|
class: M(["mode", [e.class, c(i) === e.active ? "active" : ""]]),
|
|
48
|
-
onClick: (
|
|
48
|
+
onClick: ($) => p(e.active)
|
|
49
49
|
}, [
|
|
50
50
|
e.active !== "center" ? (t(), d(r, { key: 0 }, [
|
|
51
51
|
l(c(y), { class: "left" }),
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @param root - 根元素,默认为 document.documentElement
|
|
5
5
|
* @returns 样式属性值的整数形式
|
|
6
6
|
*/
|
|
7
|
-
export declare function useGetComputedStyle(property: string, root?: HTMLElement):
|
|
7
|
+
export declare function useGetComputedStyle(property: string, root?: HTMLElement): string;
|
|
8
8
|
/**
|
|
9
9
|
* 根据各种设置和条件计算主侧边栏和子侧边栏的实际宽度。
|
|
10
10
|
* @returns 包含主侧边栏和子侧边栏实际宽度的计算属性对象。
|
|
@@ -3,10 +3,14 @@ import { Provider as LayoutProvider } from './provider';
|
|
|
3
3
|
import { default as Layout } from './Layout.vue';
|
|
4
4
|
import { default as LayoutContent } from './components/Content/index.vue';
|
|
5
5
|
import { default as LayoutHeader } from './components/Header/index.vue';
|
|
6
|
+
import { default as LayoutHeaderMenu } from './components/Header/HeaderMenu.vue';
|
|
7
|
+
import { default as LayoutHeaderFullMenu } from './components/Header/HeaderFullMenu/index.vue';
|
|
8
|
+
import { default as LayoutHeaderThinMenu } from './components/Header/HeaderThinMenu.vue';
|
|
6
9
|
import { default as LayoutSidebar } from './components/Sidebar/index.vue';
|
|
7
10
|
import { default as LayoutTopbar } from './components/Topbar/index.vue';
|
|
8
11
|
import { default as Logo } from './components/Logo/index.vue';
|
|
9
12
|
import { default as Tools } from './components/Tools/index.vue';
|
|
13
|
+
import { default as NotAllowed } from './components/NotAllowed/index.vue';
|
|
10
14
|
import { default as Copyright } from './components/Copyright/index.vue';
|
|
11
15
|
import 'vue-m-message/dist/style.css';
|
|
12
16
|
import 'floating-vue/dist/style.css';
|
|
@@ -20,4 +24,4 @@ export declare const Tool: {
|
|
|
20
24
|
PageReload: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
25
|
DarkModeToggle: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
26
|
};
|
|
23
|
-
export { LayoutProvider, Layout, LayoutContent, LayoutHeader, LayoutSidebar, LayoutTopbar, Logo, Tools, Copyright, };
|
|
27
|
+
export { LayoutProvider, Layout, LayoutContent, LayoutHeader, LayoutHeaderMenu, LayoutHeaderFullMenu, LayoutHeaderThinMenu, LayoutSidebar, LayoutTopbar, Logo, Tools, NotAllowed, Copyright, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as t } from "./index-
|
|
1
|
+
import { e as t } from "./index-Cq8mquS8.js";
|
|
2
2
|
const n = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
|
|
3
3
|
function C(e, s) {
|
|
4
4
|
return n.reduce((o, r) => {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { default as NotAllowed } from './NotAllowed/index.vue';
|
|
2
1
|
export { default as PageHeader } from './PageHeader/index.vue';
|
|
3
2
|
export { default as PageMain } from './PageMain/index.vue';
|
|
4
3
|
export { default as PassStrengthValidator } from './PassStrengthValidator/index.vue';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as T, mergeModels as d, useModel as G, reactive as z, ref as B, createElementBlock as O, openBlock as v, createVNode as l, unref as k, withCtx as i, createTextVNode as H, nextTick as Z, computed as b, createElementVNode as Q, isRef as x } from "vue";
|
|
2
|
-
import { b7 as K, b8 as P, b9 as r, a5 as h, ba as D, bb as a, b as Y } from "./index-
|
|
3
|
-
import { useRouter as L, useRoute as U } from "vue-router";
|
|
2
|
+
import { b7 as K, b8 as P, b9 as r, a5 as h, ba as D, bb as a, b as Y } from "./index-Cq8mquS8.js";
|
|
4
3
|
import "pinia";
|
|
4
|
+
import { useRouter as L, useRoute as U } from "vue-router";
|
|
5
5
|
import "alova";
|
|
6
6
|
import "alova/vue";
|
|
7
|
-
import { J as X, _ as u, M as m } from "./index-
|
|
7
|
+
import { J as X, _ as u, M as m } from "./index-QidxqFx5.js";
|
|
8
8
|
var V = "Expected a function";
|
|
9
9
|
function N(g, s, n) {
|
|
10
10
|
if (typeof g != "function")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { H as L, F as O, e as P, B as R, bF as j, M as z, h as F, g as b, P as B, a1 as X, Y as U, aP as V, x as Y } from "./index-
|
|
1
|
+
import { H as L, F as O, e as P, B as R, bF as j, M as z, h as F, g as b, P as B, a1 as X, Y as U, aP as V, x as Y } from "./index-Cq8mquS8.js";
|
|
2
2
|
import { defineComponent as H, computed as m, createVNode as d, shallowRef as q, watchEffect as G, Fragment as J } from "vue";
|
|
3
|
-
import { g as K, i as Q, a as Z } from "./colors-
|
|
3
|
+
import { g as K, i as Q, a as Z } from "./colors-Cw5YV1k2.js";
|
|
4
4
|
const h = (e, t, l) => {
|
|
5
5
|
const r = j(l);
|
|
6
6
|
return {
|