@pubinfo/core 2.0.13 → 2.0.15
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-Df8mPhxN.js → AppSetting-CF0Y36Kx.js} +27 -27
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CD2VmdPG.js → HCheckList.vue_vue_type_script_setup_true_lang-B7ZyR4n6.js} +1 -1
- package/dist/{HToggle-CcxWxVmB.js → HToggle-Dap0xf8L.js} +1 -1
- package/dist/HeaderThinMenu-Bu4X2-vs.js +4 -0
- package/dist/{PreferencesContent-Bu8-g2qs.js → PreferencesContent-DWHQ2EOo.js} +57 -57
- package/dist/{SettingBreadcrumb-CTLEf4nt.js → SettingBreadcrumb-P-C21e5U.js} +5 -5
- package/dist/{SettingCopyright-B_ZS9FXO.js → SettingCopyright-XUQuMUND.js} +4 -4
- package/dist/{SettingEnableTransition-DgZyY8Rh.js → SettingEnableTransition-hJTXOtuP.js} +14 -14
- package/dist/{SettingHome-BN6WzWxX.js → SettingHome-1C9Ph1Dl.js} +4 -4
- package/dist/{SettingMenu-CNgEpRN_.js → SettingMenu-B2h4e61Z.js} +4 -4
- package/dist/{SettingMode-B_Sf7CqN.js → SettingMode-bStWvnHg.js} +9 -9
- package/dist/{SettingNavSearch-SQuD6lr7.js → SettingNavSearch-BvTlahqj.js} +4 -4
- package/dist/{SettingOther-CrgOHNra.js → SettingOther-ihHycIPn.js} +10 -10
- package/dist/{SettingPage-B4hfRME8.js → SettingPage-d8HGOfhZ.js} +2 -2
- package/dist/{SettingTabbar-7EcsmyZo.js → SettingTabbar-YLshyP8G.js} +25 -25
- package/dist/{SettingThemes-CVjQoEk4.js → SettingThemes-Do-SwCzx.js} +16 -16
- package/dist/{SettingToolbar-Bls_SdlL.js → SettingToolbar-DHbr1d6B.js} +7 -7
- package/dist/{SettingTopbar-jqUqG5vW.js → SettingTopbar-QwqH9maD.js} +5 -5
- package/dist/{SettingWidthMode-8LFo6UKy.js → SettingWidthMode-CGmv4JQk.js} +3 -3
- package/dist/core/resolver/layout.d.ts +1 -1
- package/dist/features/api/modules/auth/renzhengfuwu.d.ts +43 -1
- package/dist/features/api/modules/rbac/index.d.ts +1 -0
- package/dist/features/api/modules/rbac/yonghujiekou.d.ts +7 -0
- package/dist/features/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +43 -0
- package/dist/features/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
- package/dist/features/enum.d.ts +0 -1
- package/dist/features/stores/modules/iframe.d.ts +3 -3
- package/dist/{index-BX0RSX9i.js → index-B69sIuLj.js} +1 -1
- package/dist/{index-Bl4PBBmY.js → index-B8wbywmR.js} +1 -1
- package/dist/{index-Cc8zVLOC.js → index-CEodMjIg.js} +4 -4
- package/dist/{index-Dalsj2EI.js → index-Ctu3_aXu.js} +12229 -12106
- package/dist/{index-C6HIzbdv.js → index-Da79wYQP.js} +1 -1
- package/dist/{index-Cjl98Ty_.js → index-WLA0JU4Y.js} +17 -17
- package/dist/{index-Dw9-vGGZ.js → index-egA-td8O.js} +8551 -7697
- package/dist/index-ondkWqUz.js +4 -0
- package/dist/index.js +27 -27
- package/dist/{pick-Cghe_Z7L.js → pick-BS5wr8z9.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +14 -9
- package/runtime/components/PubinfoDev/index.d.ts +18 -0
- package/runtime/components/PubinfoDev/index.js +15 -0
- package/runtime/components/index.d.ts +1 -0
- package/runtime/components/index.js +1 -0
- package/runtime/index.d.ts +1 -0
- package/runtime/index.js +1 -0
- package/src/built-in/authorization/router.ts +1 -1
- package/src/built-in/layout-component/components/Content/IframeView.vue +16 -11
- package/src/built-in/layout-component/components/Content/index.vue +2 -1
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/index.vue +8 -4
- package/src/built-in/settings/router.ts +15 -4
- package/src/built-in/system-info/components/SystemInfo.vue +67 -37
- package/src/core/resolver/layout.ts +13 -3
- package/src/features/api/modules/auth/index.ts +0 -2
- package/src/features/api/modules/auth/renzhengfuwu.ts +132 -1
- package/src/features/api/modules/auth/typings.d.ts +75 -1
- package/src/features/api/modules/configData/heibaimingdanfuwu.ts +2 -0
- package/src/features/api/modules/configData/index.ts +0 -2
- package/src/features/api/modules/configData/zidifuwu.ts +4 -0
- package/src/features/api/modules/rbac/gangweijiekou.ts +3 -0
- package/src/features/api/modules/rbac/index.ts +1 -2
- package/src/features/api/modules/rbac/typings.d.ts +97 -1
- package/src/features/api/modules/rbac/yonghujiekou.ts +25 -0
- package/src/features/api/modules/rbac/yonghushoucangbiaojiekou.ts +2 -0
- package/src/features/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +1 -0
- package/src/features/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.ts +158 -0
- package/src/features/api/modules/rbac/ziyuanjiekou.ts +21 -0
- package/src/features/enum.ts +1 -1
- package/src/features/stores/modules/iframe.ts +12 -3
- package/src/features/stores/modules/menu.ts +20 -13
- package/src/features/stores/modules/route.ts +4 -3
- package/src/index.ts +1 -0
- package/types/global.d.ts +5 -0
- package/types/vue-router.d.ts +2 -2
- package/dist/HeaderThinMenu-BMjyPDYS.js +0 -4
- package/dist/index-CUbMQSBZ.js +0 -4
- package/src/features/components/MicroAppContainer/index.vue +0 -9
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { markRaw as E, createElementBlock as h, openBlock as a, createElementVNode as i, defineComponent as N, defineAsyncComponent as t, useModel as z, computed as u, watch as g, createBlock as S, createSlots as
|
|
3
|
-
import
|
|
4
|
-
import { useRoute as
|
|
5
|
-
const
|
|
1
|
+
import { cK as k, cQ as B, cR as H, _ as w, b as A } from "./index-Ctu3_aXu.js";
|
|
2
|
+
import { markRaw as E, createElementBlock as h, openBlock as a, createElementVNode as i, defineComponent as N, 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 R, unref as c, resolveDynamicComponent as W, createVNode as f, createTextVNode as $ } from "vue";
|
|
3
|
+
import D from "vue-m-message";
|
|
4
|
+
import { useRoute as I } from "vue-router";
|
|
5
|
+
const F = {
|
|
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 J(l, o) {
|
|
11
|
+
return a(), h("svg", F, 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 K = E({ name: "ep-document-copy", render:
|
|
18
|
+
const K = E({ name: "ep-document-copy", render: J }), L = { class: "settong-warp" }, Q = /* @__PURE__ */ N({
|
|
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-Do-SwCzx.js")),
|
|
22
|
+
SettingsMode: t(() => import("./SettingMode-bStWvnHg.js")),
|
|
23
|
+
SettingWidthMode: t(() => import("./SettingWidthMode-CGmv4JQk.js")),
|
|
24
|
+
SettingEnableTransition: t(() => import("./SettingEnableTransition-hJTXOtuP.js")),
|
|
25
|
+
SettingMenu: t(() => import("./SettingMenu-B2h4e61Z.js")),
|
|
26
|
+
SettingTopbar: t(() => import("./SettingTopbar-QwqH9maD.js")),
|
|
27
|
+
SettingTabbar: t(() => import("./SettingTabbar-YLshyP8G.js")),
|
|
28
|
+
SettingToolbar: t(() => import("./SettingToolbar-DHbr1d6B.js")),
|
|
29
|
+
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-P-C21e5U.js")),
|
|
30
|
+
SettingPage: t(() => import("./SettingPage-d8HGOfhZ.js")),
|
|
31
|
+
SettingNavSearch: t(() => import("./SettingNavSearch-BvTlahqj.js")),
|
|
32
|
+
SettingCopyright: t(() => import("./SettingCopyright-XUQuMUND.js")),
|
|
33
|
+
SettingHome: t(() => import("./SettingHome-1C9Ph1Dl.js")),
|
|
34
|
+
SettingOther: t(() => import("./SettingOther-ihHycIPn.js"))
|
|
35
35
|
},
|
|
36
36
|
__name: "AppSetting",
|
|
37
37
|
props: {
|
|
@@ -40,7 +40,7 @@ const K = E({ name: "ep-document-copy", render: F }), L = { class: "settong-warp
|
|
|
40
40
|
},
|
|
41
41
|
emits: ["update:open"],
|
|
42
42
|
setup(l) {
|
|
43
|
-
const o = z(l, "open"), v =
|
|
43
|
+
const o = z(l, "open"), v = I(), { settingsStore: m, menuStore: d } = k(), _ = u(() => m.mode !== "pc"), b = u(() => T(
|
|
44
44
|
[
|
|
45
45
|
"SettingThemes",
|
|
46
46
|
"SettingsMode",
|
|
@@ -69,7 +69,7 @@ const K = E({ name: "ep-document-copy", render: F }), L = { class: "settong-warp
|
|
|
69
69
|
});
|
|
70
70
|
const { copy: M, copied: y, isSupported: C } = B();
|
|
71
71
|
g(y, (n) => {
|
|
72
|
-
n &&
|
|
72
|
+
n && D.success("复制成功,请粘贴到 src/settings.ts 文件中!", {
|
|
73
73
|
zIndex: 2e3
|
|
74
74
|
});
|
|
75
75
|
});
|
|
@@ -85,14 +85,14 @@ const K = E({ name: "ep-document-copy", render: F }), L = { class: "settong-warp
|
|
|
85
85
|
modelValue: o.value,
|
|
86
86
|
"onUpdate:modelValue": e[0] || (e[0] = (s) => o.value = s),
|
|
87
87
|
title: "应用配置"
|
|
88
|
-
},
|
|
88
|
+
}, O({
|
|
89
89
|
default: p(() => [
|
|
90
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" }, " 注意:在生产环境中应关闭该模块。 ")
|
|
94
94
|
], -1)),
|
|
95
|
-
(a(!0), h(
|
|
95
|
+
(a(!0), h(P, null, R(c(b), (s) => (a(), S(W(s), { key: s }))), 128))
|
|
96
96
|
])
|
|
97
97
|
]),
|
|
98
98
|
_: 2
|
|
@@ -117,7 +117,7 @@ const K = E({ name: "ep-document-copy", render: F }), L = { class: "settong-warp
|
|
|
117
117
|
]), 1032, ["modelValue"]);
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
}), X = /* @__PURE__ */ A(
|
|
120
|
+
}), X = /* @__PURE__ */ A(Q, [["__scopeId", "data-v-10c15033"]]);
|
|
121
121
|
export {
|
|
122
122
|
X as default
|
|
123
123
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, watch as u, createElementBlock as n, openBlock as a, Fragment as s, renderList as m, normalizeClass as p, createBlock as b, unref as f, createTextVNode as h, toDisplayString as k } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { cC as y } from "./index-Ctu3_aXu.js";
|
|
3
3
|
import "pinia";
|
|
4
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({
|
|
5
5
|
__name: "HCheckList",
|
|
@@ -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-Ctu3_aXu.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 { y as ue, A as me, e as E, E as ce, aG as be, P as k, g as pe,
|
|
3
|
-
import { _ as He } from "./HToggle-
|
|
4
|
-
import { defineComponent as te, shallowRef as
|
|
5
|
-
import { getThemes as
|
|
1
|
+
import { _ as re } from "./HCheckList.vue_vue_type_script_setup_true_lang-B7ZyR4n6.js";
|
|
2
|
+
import { y as ue, A as me, e as E, E as ce, aG as be, P as k, g as pe, cF as ye, cG as ge, cH as ve, cI as fe, cv as he, aY as we, cJ as Me, cw as Pe, m as Oe, ap as Ce, i as $e, p as ke, X as xe, j as ne, bb as Se, cK as Ve, cL as Te, cs as _e, cg as Ie, cM as Be, N as Ue, b as Ae } from "./index-Ctu3_aXu.js";
|
|
3
|
+
import { _ as He } from "./HToggle-Dap0xf8L.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 je, Fragment as De, renderList as Fe, normalizeClass as v, normalizeStyle as Ne, withCtx as b, createTextVNode as V } from "vue";
|
|
5
|
+
import { getThemes as Ge } from "@pubinfo/config/themes";
|
|
6
6
|
import { E as X, a as J } from "./right-Bfe2p1o0.js";
|
|
7
|
-
import { R as
|
|
8
|
-
import { p as $ } from "./pick-
|
|
7
|
+
import { R as A } from "./question-line-CfkciTFq.js";
|
|
8
|
+
import { p as $ } from "./pick-BS5wr8z9.js";
|
|
9
9
|
const H = (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
|
+
}), qe = (i) => {
|
|
16
16
|
const {
|
|
17
17
|
componentCls: o,
|
|
18
18
|
motionDurationSlow: n,
|
|
@@ -21,7 +21,7 @@ const H = (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: c,
|
|
26
26
|
alertIconSizeLG: m,
|
|
27
27
|
colorText: w,
|
|
@@ -37,7 +37,7 @@ const H = (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
|
},
|
|
@@ -106,7 +106,7 @@ const H = (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: c,
|
|
111
111
|
colorErrorBg: m,
|
|
112
112
|
colorInfo: w,
|
|
@@ -118,7 +118,7 @@ const H = (i, o, n, p, f) => ({
|
|
|
118
118
|
"&-success": H(f, p, n, i, o),
|
|
119
119
|
"&-info": H(l, P, w, i, o),
|
|
120
120
|
"&-warning": H(t, y, M, i, o),
|
|
121
|
-
"&-error": E(E({}, H(m, c,
|
|
121
|
+
"&-error": E(E({}, H(m, c, C, i, o)), {
|
|
122
122
|
[`${o}-description > pre`]: {
|
|
123
123
|
margin: 0,
|
|
124
124
|
padding: 0
|
|
@@ -168,7 +168,7 @@ const H = (i, o, n, p, f) => ({
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
|
-
}, Je = (i) => [
|
|
171
|
+
}, Je = (i) => [qe(i), We(i), Xe(i)], Ke = ue("Alert", (i) => {
|
|
172
172
|
const {
|
|
173
173
|
fontSizeHeading3: o
|
|
174
174
|
} = i, n = me(i, {
|
|
@@ -177,12 +177,12 @@ const H = (i, o, n, p, f) => ({
|
|
|
177
177
|
// Fixed value here.
|
|
178
178
|
});
|
|
179
179
|
return [Je(n)];
|
|
180
|
-
}),
|
|
180
|
+
}), Qe = {
|
|
181
181
|
success: Pe,
|
|
182
182
|
info: Me,
|
|
183
183
|
error: we,
|
|
184
184
|
warning: he
|
|
185
|
-
},
|
|
185
|
+
}, Ye = {
|
|
186
186
|
success: fe,
|
|
187
187
|
info: ve,
|
|
188
188
|
error: ge,
|
|
@@ -235,14 +235,14 @@ const H = (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, c] = 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);
|
|
245
|
-
}, T =
|
|
245
|
+
}, T = K(() => {
|
|
246
246
|
const {
|
|
247
247
|
type: h
|
|
248
248
|
} = i;
|
|
@@ -251,38 +251,38 @@ const H = (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, j, D, F, N, G;
|
|
257
257
|
const {
|
|
258
|
-
banner:
|
|
259
|
-
closeIcon:
|
|
258
|
+
banner: Q,
|
|
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: q,
|
|
263
263
|
showIcon: S
|
|
264
264
|
} = i;
|
|
265
|
-
const W = (
|
|
266
|
-
S =
|
|
267
|
-
const le = (_ ?
|
|
268
|
-
W && (
|
|
269
|
-
const g = y.value, ae =
|
|
265
|
+
const W = (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 = (j = i.message) !== null && j !== void 0 ? j : (D = n.message) === null || D === void 0 ? void 0 : D.call(n), I = (F = i.icon) !== null && F !== void 0 ? F : (N = n.icon) === null || N === void 0 ? void 0 : N.call(n), ee = (G = n.action) === null || G === void 0 ? void 0 : G.call(n);
|
|
266
|
+
S = Q && S === void 0 ? !0 : S;
|
|
267
|
+
const le = (_ ? Ye : Qe)[T.value] || null;
|
|
268
|
+
W && (q = !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
|
-
[`${g}-banner`]: !!
|
|
275
|
-
[`${g}-closable`]:
|
|
274
|
+
[`${g}-banner`]: !!Q,
|
|
275
|
+
[`${g}-closable`]: q,
|
|
276
276
|
[`${g}-rtl`]: t.value === "rtl",
|
|
277
277
|
[c.value]: !0
|
|
278
|
-
}), se =
|
|
278
|
+
}), se = q ? a("button", {
|
|
279
279
|
type: "button",
|
|
280
280
|
onClick: l,
|
|
281
281
|
class: `${g}-close-icon`,
|
|
282
282
|
tabindex: 0
|
|
283
283
|
}, [W ? a("span", {
|
|
284
284
|
class: `${g}-close-text`
|
|
285
|
-
}, [W]) :
|
|
285
|
+
}, [W]) : 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 H = (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), {}, {
|
|
@@ -315,7 +315,7 @@ const H = (i, o, n, p, f) => ({
|
|
|
315
315
|
class: `${g}-description`
|
|
316
316
|
}, [_]) : null]), ee ? a("div", {
|
|
317
317
|
class: `${g}-action`
|
|
318
|
-
}, [ee]) : null, se]), [[
|
|
318
|
+
}, [ee]) : null, se]), [[Le, !m.value]])]
|
|
319
319
|
}));
|
|
320
320
|
};
|
|
321
321
|
}
|
|
@@ -370,10 +370,10 @@ const H = (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 H = (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
|
+
}, An = {
|
|
404
404
|
key: 27,
|
|
405
405
|
class: "divider"
|
|
406
406
|
}, Hn = {
|
|
@@ -410,11 +410,11 @@ const H = (i, o, n, p, f) => ({
|
|
|
410
410
|
"w-full": "",
|
|
411
411
|
"h-100px": "",
|
|
412
412
|
flex: "~ center"
|
|
413
|
-
},
|
|
413
|
+
}, Ln = /* @__PURE__ */ te({
|
|
414
414
|
name: "PreferenceContent",
|
|
415
415
|
__name: "PreferencesContent",
|
|
416
416
|
setup(i) {
|
|
417
|
-
const { settingsStore: o } = Ve(), n =
|
|
417
|
+
const { settingsStore: o } = Ve(), n = Re({
|
|
418
418
|
app: $(
|
|
419
419
|
o.settings.app,
|
|
420
420
|
[
|
|
@@ -474,15 +474,15 @@ const H = (i, o, n, p, f) => ({
|
|
|
474
474
|
"enableMainMenu"
|
|
475
475
|
]
|
|
476
476
|
)
|
|
477
|
-
}), p =
|
|
477
|
+
}), p = K({
|
|
478
478
|
get() {
|
|
479
479
|
return n.value.app?.colorScheme === "dark";
|
|
480
480
|
},
|
|
481
481
|
set(y) {
|
|
482
482
|
n.value.app?.colorScheme && (n.value.app.colorScheme = y ? "dark" : "light");
|
|
483
483
|
}
|
|
484
|
-
}), f =
|
|
485
|
-
const y =
|
|
484
|
+
}), f = K(() => {
|
|
485
|
+
const y = Ge();
|
|
486
486
|
return Object.keys(y).map((t) => ({
|
|
487
487
|
label: t,
|
|
488
488
|
value: y[t]
|
|
@@ -497,9 +497,9 @@ const H = (i, o, n, p, f) => ({
|
|
|
497
497
|
await o.resetSettings();
|
|
498
498
|
}
|
|
499
499
|
return (y, t) => {
|
|
500
|
-
const
|
|
500
|
+
const C = tn, c = He, 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"
|
|
@@ -508,13 +508,13 @@ const H = (i, o, n, p, f) => ({
|
|
|
508
508
|
e(n).app?.hasOwnProperty("colorScheme") ? (r(), d("div", ln, [
|
|
509
509
|
a(c, {
|
|
510
510
|
modelValue: e(p),
|
|
511
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) =>
|
|
511
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => je(p) ? p.value = l : null),
|
|
512
512
|
"on-icon": "i-ri-sun-line",
|
|
513
513
|
"off-icon": "i-ri-moon-line"
|
|
514
514
|
}, null, 8, ["modelValue"])
|
|
515
515
|
])) : u("", !0),
|
|
516
516
|
e(n).app?.hasOwnProperty("lightTheme") && e(n).app?.hasOwnProperty("darkTheme") ? (r(), d("div", an, [
|
|
517
|
-
(r(!0), d(
|
|
517
|
+
(r(!0), d(De, null, Fe(e(f), (l) => (r(), d("div", {
|
|
518
518
|
key: l.label,
|
|
519
519
|
class: v(["theme", { active: e(p) ? e(n).app.darkTheme === l.label : e(n).app.lightTheme === l.label }]),
|
|
520
520
|
onClick: (x) => e(p) ? e(n).app?.hasOwnProperty("darkTheme") && (e(n).app.darkTheme = l.label) : e(n).app?.hasOwnProperty("lightTheme") && (e(n).app.lightTheme = l.label)
|
|
@@ -747,7 +747,7 @@ const H = (i, o, n, p, f) => ({
|
|
|
747
747
|
t[35] || (t[35] = V(" 次导航保持展开一个 ")),
|
|
748
748
|
a(m, { text: "开启该功能后,次导航只保持单个菜单的展开" }, {
|
|
749
749
|
default: b(() => [
|
|
750
|
-
a(e(
|
|
750
|
+
a(e(A))
|
|
751
751
|
]),
|
|
752
752
|
_: 1
|
|
753
753
|
})
|
|
@@ -795,12 +795,12 @@ const H = (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: b(() => [
|
|
803
|
-
a(e(
|
|
803
|
+
a(e(A))
|
|
804
804
|
]),
|
|
805
805
|
_: 1
|
|
806
806
|
})
|
|
@@ -845,7 +845,7 @@ const H = (i, o, n, p, f) => ({
|
|
|
845
845
|
t[44] || (t[44] = V(" 是否启用记忆功能 ")),
|
|
846
846
|
a(m, { text: "开启该功能后,非固定和非常驻的标签页将在本次会话窗口中始终存在,刷新浏览器或重新登录时不会丢失" }, {
|
|
847
847
|
default: b(() => [
|
|
848
|
-
a(e(
|
|
848
|
+
a(e(A))
|
|
849
849
|
]),
|
|
850
850
|
_: 1
|
|
851
851
|
})
|
|
@@ -876,7 +876,7 @@ const H = (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(c, {
|
|
882
882
|
modelValue: e(n).breadcrumb.enableMainMenu,
|
|
@@ -884,13 +884,13 @@ const H = (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", An, " 其它 ")) : u("", !0),
|
|
888
888
|
e(o).settings.app.enableProgress && e(n).app?.hasOwnProperty("enableProgress") ? (r(), d("div", Hn, [
|
|
889
889
|
s("div", En, [
|
|
890
890
|
t[48] || (t[48] = V(" 载入进度条 ")),
|
|
891
891
|
a(m, { text: "该功能开启时,跳转路由会看到页面顶部有进度条" }, {
|
|
892
892
|
default: b(() => [
|
|
893
|
-
a(e(
|
|
893
|
+
a(e(A))
|
|
894
894
|
]),
|
|
895
895
|
_: 1
|
|
896
896
|
})
|
|
@@ -917,7 +917,7 @@ const H = (i, o, n, p, f) => ({
|
|
|
917
917
|
]);
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
|
-
}), Xn = /* @__PURE__ */
|
|
920
|
+
}), Xn = /* @__PURE__ */ Ae(Ln, [["__scopeId", "data-v-c97d99bc"]]);
|
|
921
921
|
export {
|
|
922
922
|
Xn 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 p } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ } from "./HToggle-
|
|
2
|
+
import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-B7ZyR4n6.js";
|
|
3
|
+
import { _ } from "./HToggle-Dap0xf8L.js";
|
|
4
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 {
|
|
6
|
-
const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" },
|
|
5
|
+
import { cK as v } from "./index-Ctu3_aXu.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) {
|
|
@@ -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,9 +1,9 @@
|
|
|
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-Dap0xf8L.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 {
|
|
6
|
-
const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class: "setting-item" }, x = { class: "setting-item" }, w = { class: "setting-item" },
|
|
5
|
+
import { cK as v } from "./index-Ctu3_aXu.js";
|
|
6
|
+
const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class: "setting-item" }, x = { class: "setting-item" }, w = { class: "setting-item" }, D = /* @__PURE__ */ b({
|
|
7
7
|
name: "SettingCopyright",
|
|
8
8
|
__name: "SettingCopyright",
|
|
9
9
|
setup(H) {
|
|
@@ -58,5 +58,5 @@ const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class:
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
D as default
|
|
62
62
|
};
|
|
@@ -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 S, Fragment as B, renderList as
|
|
5
|
-
const
|
|
2
|
+
import { cK as k, cM as x, b as C } from "./index-Ctu3_aXu.js";
|
|
3
|
+
import { _ as T } from "./HToggle-Dap0xf8L.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 S, Fragment as B, renderList as M, normalizeClass as N } from "vue";
|
|
5
|
+
const $ = { class: "flex items-center justify-center pb-4" }, L = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "transition-mode"
|
|
8
|
-
},
|
|
8
|
+
}, R = ["onClick"], j = /* @__PURE__ */ V({
|
|
9
9
|
name: "SettingEnableTransition",
|
|
10
10
|
__name: "SettingEnableTransition",
|
|
11
|
-
setup(
|
|
11
|
+
setup(w) {
|
|
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,14 +44,14 @@ const D = { class: "flex items-center justify-center pb-4" }, F = {
|
|
|
44
44
|
const f = T, p = x, v = g;
|
|
45
45
|
return o(), c(v, { title: "页面切换动画" }, {
|
|
46
46
|
default: l(() => [
|
|
47
|
-
d("div",
|
|
47
|
+
d("div", $, [
|
|
48
48
|
H(f, {
|
|
49
49
|
modelValue: s(t),
|
|
50
50
|
"onUpdate:modelValue": a[0] || (a[0] = (e) => S(t) ? t.value = e : null)
|
|
51
51
|
}, null, 8, ["modelValue"])
|
|
52
52
|
]),
|
|
53
|
-
s(t) ? (o(), r("div",
|
|
54
|
-
(o(!0), r(B, null,
|
|
53
|
+
s(t) ? (o(), r("div", L, [
|
|
54
|
+
(o(!0), r(B, null, M(s(u), (e, b) => (o(), c(p, {
|
|
55
55
|
key: b,
|
|
56
56
|
text: e.describe,
|
|
57
57
|
placement: "bottom",
|
|
@@ -59,9 +59,9 @@ const D = { class: "flex items-center justify-center pb-4" }, F = {
|
|
|
59
59
|
}, {
|
|
60
60
|
default: l(() => [
|
|
61
61
|
d("div", {
|
|
62
|
-
class:
|
|
63
|
-
onClick: (
|
|
64
|
-
}, null, 10,
|
|
62
|
+
class: N(["mode", [s(i) === e.active ? "active" : "", e.class]]),
|
|
63
|
+
onClick: (z) => _(e.active)
|
|
64
|
+
}, null, 10, R)
|
|
65
65
|
]),
|
|
66
66
|
_: 2
|
|
67
67
|
}, 1032, ["text"]))), 128))
|
|
@@ -71,7 +71,7 @@ const D = { class: "flex items-center justify-center pb-4" }, F = {
|
|
|
71
71
|
});
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
}),
|
|
74
|
+
}), P = /* @__PURE__ */ C(j, [["__scopeId", "data-v-5c698156"]]);
|
|
75
75
|
export {
|
|
76
|
-
|
|
76
|
+
P 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-Dap0xf8L.js";
|
|
4
|
+
import { cK as f, cM as g } from "./index-Ctu3_aXu.js";
|
|
5
5
|
import { defineComponent as V, toRefs as x, createBlock as H, openBlock as b, withCtx as i, createElementVNode as n, createVNode as s, createTextVNode as v, unref as e } from "vue";
|
|
6
6
|
import { R as C } from "./question-line-CfkciTFq.js";
|
|
7
|
-
const N = { class: "setting-item" }, R = { class: "label" }, S = { class: "setting-item" },
|
|
7
|
+
const N = { class: "setting-item" }, R = { class: "label" }, S = { class: "setting-item" }, K = /* @__PURE__ */ V({
|
|
8
8
|
name: "SettingHome",
|
|
9
9
|
__name: "SettingHome",
|
|
10
10
|
setup(T) {
|
|
@@ -42,5 +42,5 @@ const N = { class: "setting-item" }, R = { class: "label" }, S = { class: "setti
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
K as default
|
|
46
46
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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-B7ZyR4n6.js";
|
|
3
|
+
import { _ } from "./HToggle-Dap0xf8L.js";
|
|
4
|
+
import { cK as g, cM as y } from "./index-Ctu3_aXu.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" }, R = { class: "label" }, w = { class: "setting-item" }, A = {
|
|
@@ -12,7 +12,7 @@ const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setti
|
|
|
12
12
|
__name: "SettingMenu",
|
|
13
13
|
setup(q) {
|
|
14
14
|
const { settingsStore: p } = g(), n = c(p.settings, "menu");
|
|
15
|
-
return (
|
|
15
|
+
return (E, e) => {
|
|
16
16
|
const u = y, t = _, r = M, V = v;
|
|
17
17
|
return b(), U(V, { title: "导航栏" }, {
|
|
18
18
|
default: i(() => [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import {
|
|
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
|
|
4
|
-
const
|
|
2
|
+
import { cK as v, cM as f, b } from "./index-Ctu3_aXu.js";
|
|
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 M, renderList as S, unref as l, normalizeClass as h } from "vue";
|
|
4
|
+
const y = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
|
|
5
5
|
name: "SettingMode",
|
|
6
6
|
__name: "SettingMode",
|
|
7
7
|
setup(H) {
|
|
@@ -39,8 +39,8 @@ const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
|
|
|
39
39
|
const _ = f, p = u;
|
|
40
40
|
return n(), a(p, { title: "导航栏模式" }, {
|
|
41
41
|
default: s(() => [
|
|
42
|
-
o("div",
|
|
43
|
-
(n(!0), C(
|
|
42
|
+
o("div", y, [
|
|
43
|
+
(n(!0), C(M, null, S(l(r), (e) => (n(), a(_, {
|
|
44
44
|
key: e.active,
|
|
45
45
|
text: e.describe,
|
|
46
46
|
placement: e.placement,
|
|
@@ -48,8 +48,8 @@ const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
|
|
|
48
48
|
}, {
|
|
49
49
|
default: s(() => [
|
|
50
50
|
o("div", {
|
|
51
|
-
class:
|
|
52
|
-
onClick: (
|
|
51
|
+
class: h(["mode", [l(c) === e.active ? "active" : "", `mode-${e.active}`]]),
|
|
52
|
+
onClick: (E) => d(e.active)
|
|
53
53
|
}, i[0] || (i[0] = [
|
|
54
54
|
o("div", { class: "mode-container" }, null, -1)
|
|
55
55
|
]), 10, $)
|
|
@@ -62,7 +62,7 @@ const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
|
|
|
62
62
|
});
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
}),
|
|
65
|
+
}), F = /* @__PURE__ */ b(B, [["__scopeId", "data-v-65f6da92"]]);
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
F as default
|
|
68
68
|
};
|