@pubinfo/core 2.0.0-beta.27 → 2.0.0-beta.28
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-8APd2n5W.js → AppSetting-DMJZXmzA.js} +21 -20
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-xHHNH-Do.js → HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
- package/dist/{PreferencesContent-B6v1Y85P.js → PreferencesContent-BniiAnvk.js} +46 -45
- package/dist/{SettingBreadcrumb-DRbL0ad_.js → SettingBreadcrumb-C4f3EHvJ.js} +2 -2
- package/dist/{SettingCopyright-BQF1UDPx.js → SettingCopyright-BfIv7JmX.js} +1 -1
- package/dist/{SettingEnableTransition-COQvH_bE.js → SettingEnableTransition-ltxmSAel.js} +1 -1
- package/dist/{SettingHome-BL-JRz6C.js → SettingHome-D3YO-Jml.js} +1 -1
- package/dist/{SettingMenu-CL08Xnqj.js → SettingMenu-BFPc8wk1.js} +2 -2
- package/dist/{SettingMode-CHFQfbwC.js → SettingMode-FWqs1ki-.js} +1 -1
- package/dist/{SettingNavSearch-D3EfJLm4.js → SettingNavSearch-CNH2GsIA.js} +1 -1
- package/dist/{SettingOther-D8vWJBqB.js → SettingOther-DeKEcGIY.js} +1 -1
- package/dist/{SettingPage-C6834qKt.js → SettingPage-CvRmxfR7.js} +1 -1
- package/dist/{SettingTabbar-C4Nk7PaM.js → SettingTabbar-C7I7s-0s.js} +2 -2
- package/dist/{SettingThemes-CAiwgt41.js → SettingThemes-DzQ2YBRN.js} +2 -2
- package/dist/{SettingToolbar-Bue6Bsao.js → SettingToolbar-BPj0XLJ3.js} +1 -1
- package/dist/{SettingTopbar-CklZW6nz.js → SettingTopbar-DVlc3dq-.js} +2 -2
- package/dist/{SettingWidthMode-Ba5CjpXS.js → SettingWidthMode-BzNU65dj.js} +1 -1
- package/dist/{TopThinMode-BKgHAbKj.js → TopThinMode-DSO5USf6.js} +1 -1
- package/dist/{_...all_-CiLs5zE0.js → _...all_-6l5FWUkL.js} +1 -1
- package/dist/{colors-ehvAxkYC.js → colors-DiWJrScm.js} +1 -1
- package/dist/components/PubinfoIcon/register.d.ts +9 -0
- package/dist/index-Be7jJtXg.js +232 -0
- package/dist/index-BmMbAV1Y.js +141 -0
- package/dist/index-CXsL0aQN.js +13107 -0
- package/dist/{index-CqQ-P_1q.js → index-CfasTv4x.js} +8 -8
- package/dist/{index-CAjh59MN.js → index-Ckgil96Y.js} +30 -30
- package/dist/{index-hjeR7S9d.js → index-De_ME_Ws.js} +2 -2
- package/dist/{index-C5TqLQ-T.js → index-Md7zV10q.js} +1 -1
- package/dist/{index-BjAXx4BA.js → index-XnF26Tbt.js} +3 -3
- package/dist/{index-BK4luc55.js → index-bsi-FZDt.js} +11 -9
- package/dist/index.js +33 -32
- package/dist/{toolbar-collapse-BhNN4H7Y.js → index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js} +489 -503
- package/dist/interface.d.ts +2 -0
- package/dist/layout/Layout.vue.d.ts +2 -2
- package/dist/{menu-D3oKigWX.js → menu-CC5544p-.js} +3202 -3184
- package/dist/pages/system/change-organization/index.vue.d.ts +1 -1
- package/dist/pages/system/change-password/index.vue.d.ts +1 -1
- package/dist/{pick-Cku6R96i.js → pick-CJo2YiT-.js} +1 -1
- package/dist/request.js +399 -390
- package/dist/route/routes.d.ts +6 -4
- package/dist/style.css +2 -2
- package/dist/utils/index.d.ts +6 -0
- package/package.json +26 -26
- package/src/api/modules/configData/xitongpeizhifuwu.ts +3 -3
- package/src/components/PubinfoApp/index.vue +1 -1
- package/src/components/PubinfoIcon/index.vue +3 -1
- package/src/components/PubinfoIcon/register.ts +19 -0
- package/src/components/PubinfoProvider/index.ts +1 -2
- package/src/create.ts +7 -0
- package/src/interface.ts +2 -0
- package/src/layout/Layout.vue +50 -59
- package/src/layout/components/Content/index.vue +34 -13
- package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
- package/src/layout/provider.ts +7 -1
- package/src/pages/system/change-organization/index.vue +65 -73
- package/src/pages/system/change-password/index.vue +36 -44
- package/src/route/routes.ts +26 -8
- package/src/stores/modules/route.ts +10 -2
- package/src/utils/index.ts +14 -0
- package/types/vue-router.d.ts +3 -1
- package/dist/index-64V9RiCt.js +0 -240
- package/dist/index-BLvVzLOl.js +0 -147
- package/dist/index-DTsHMiQx.js +0 -12711
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as k, b as B } from "./index-
|
|
1
|
+
import { u as k, b as B } from "./index-CXsL0aQN.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-CC5544p-.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-DzQ2YBRN.js")),
|
|
25
|
+
SettingsMode: t(() => import("./SettingMode-FWqs1ki-.js")),
|
|
26
|
+
SettingWidthMode: t(() => import("./SettingWidthMode-BzNU65dj.js")),
|
|
27
|
+
SettingEnableTransition: t(() => import("./SettingEnableTransition-ltxmSAel.js")),
|
|
28
|
+
SettingMenu: t(() => import("./SettingMenu-BFPc8wk1.js")),
|
|
29
|
+
SettingTopbar: t(() => import("./SettingTopbar-DVlc3dq-.js")),
|
|
30
|
+
SettingTabbar: t(() => import("./SettingTabbar-C7I7s-0s.js")),
|
|
31
|
+
SettingToolbar: t(() => import("./SettingToolbar-BPj0XLJ3.js")),
|
|
32
|
+
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-C4f3EHvJ.js")),
|
|
33
|
+
SettingPage: t(() => import("./SettingPage-CvRmxfR7.js")),
|
|
34
|
+
SettingNavSearch: t(() => import("./SettingNavSearch-CNH2GsIA.js")),
|
|
35
|
+
SettingCopyright: t(() => import("./SettingCopyright-BfIv7JmX.js")),
|
|
36
|
+
SettingHome: t(() => import("./SettingHome-D3YO-Jml.js")),
|
|
37
|
+
SettingOther: t(() => import("./SettingOther-DeKEcGIY.js"))
|
|
38
38
|
},
|
|
39
39
|
__name: "AppSetting",
|
|
40
40
|
props: {
|
|
@@ -43,7 +43,7 @@ const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["update:open"],
|
|
45
45
|
setup(d) {
|
|
46
|
-
const o = E(d, "open"), v = I(), { settingsStore: m, menuStore: u } = k(),
|
|
46
|
+
const o = E(d, "open"), v = I(), { settingsStore: m, menuStore: u } = k(), _ = c(() => m.mode !== "pc"), b = c(() => T(
|
|
47
47
|
[
|
|
48
48
|
"SettingThemes",
|
|
49
49
|
"SettingsMode",
|
|
@@ -80,7 +80,7 @@ const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp
|
|
|
80
80
|
M(JSON.stringify(m.settings, null, 2));
|
|
81
81
|
}
|
|
82
82
|
function T(n, e) {
|
|
83
|
-
return n.filter((r) =>
|
|
83
|
+
return n.filter((r) => _.value ? !e.includes(r) : r);
|
|
84
84
|
}
|
|
85
85
|
return (n, e) => {
|
|
86
86
|
const r = H, V = B;
|
|
@@ -95,7 +95,7 @@ const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp
|
|
|
95
95
|
i("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),
|
|
96
96
|
i("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")
|
|
97
97
|
], -1)),
|
|
98
|
-
(a(!0), h(z, null, O(l(
|
|
98
|
+
(a(!0), h(z, null, O(l(b), (s) => (a(), S(P(s), { key: s }))), 128))
|
|
99
99
|
])
|
|
100
100
|
]),
|
|
101
101
|
_: 2
|
|
@@ -111,7 +111,8 @@ const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp
|
|
|
111
111
|
f(l(L)),
|
|
112
112
|
e[2] || (e[2] = W(" 复制配置 "))
|
|
113
113
|
]),
|
|
114
|
-
_: 1
|
|
114
|
+
_: 1,
|
|
115
|
+
__: [2]
|
|
115
116
|
})
|
|
116
117
|
]),
|
|
117
118
|
key: "0"
|
|
@@ -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-
|
|
2
|
+
import "./menu-CC5544p-.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
4
|
import "vue-router";
|
|
5
|
-
import { _ as k } from "./
|
|
5
|
+
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.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: {
|
|
@@ -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-
|
|
1
|
+
import { _ as Ee } from "./HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js";
|
|
2
|
+
import { u as ze, c as Re } from "./index-CXsL0aQN.js";
|
|
3
3
|
import { _ as Le } from "./HToggle-Cd71WKvG.js";
|
|
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
|
|
5
|
-
import { getThemes as
|
|
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
|
+
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 {
|
|
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-CC5544p-.js";
|
|
9
|
+
import { p as B } from "./pick-CJo2YiT-.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,
|
|
@@ -170,7 +170,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
|
-
}, Cn = (d) => [Mn(d), Pn(d), On(d)], $n =
|
|
173
|
+
}, Cn = (d) => [Mn(d), Pn(d), On(d)], $n = Qe("Alert", (d) => {
|
|
174
174
|
const {
|
|
175
175
|
fontSizeHeading3: o
|
|
176
176
|
} = d, n = Ke(d, {
|
|
@@ -193,18 +193,18 @@ const le = (d, o, n, v, w) => ({
|
|
|
193
193
|
/**
|
|
194
194
|
* Type of Alert styles, options: `success`, `info`, `warning`, `error`
|
|
195
195
|
*/
|
|
196
|
-
type:
|
|
196
|
+
type: q.oneOf(Sn),
|
|
197
197
|
/** Whether Alert can be closed */
|
|
198
198
|
closable: {
|
|
199
199
|
type: Boolean,
|
|
200
200
|
default: void 0
|
|
201
201
|
},
|
|
202
202
|
/** Close text to show */
|
|
203
|
-
closeText:
|
|
203
|
+
closeText: q.any,
|
|
204
204
|
/** Content of Alert */
|
|
205
|
-
message:
|
|
205
|
+
message: q.any,
|
|
206
206
|
/** Additional content of Alert */
|
|
207
|
-
description:
|
|
207
|
+
description: q.any,
|
|
208
208
|
/** Trigger when animation ending of Alert */
|
|
209
209
|
afterClose: Function,
|
|
210
210
|
/** Whether to show icon */
|
|
@@ -217,8 +217,8 @@ const le = (d, o, n, v, w) => ({
|
|
|
217
217
|
type: Boolean,
|
|
218
218
|
default: void 0
|
|
219
219
|
},
|
|
220
|
-
icon:
|
|
221
|
-
closeIcon:
|
|
220
|
+
icon: q.any,
|
|
221
|
+
closeIcon: q.any,
|
|
222
222
|
onClose: Function
|
|
223
223
|
}), Tn = He({
|
|
224
224
|
compatConfig: {
|
|
@@ -253,19 +253,19 @@ const le = (d, o, n, v, w) => ({
|
|
|
253
253
|
O({
|
|
254
254
|
animationEnd: S
|
|
255
255
|
});
|
|
256
|
-
const
|
|
256
|
+
const Q = te({});
|
|
257
257
|
return () => {
|
|
258
258
|
var f, P, U, A, H, E, z, R, L, D;
|
|
259
259
|
const {
|
|
260
|
-
banner:
|
|
260
|
+
banner: N,
|
|
261
261
|
closeIcon: W = (f = n.closeIcon) === null || f === void 0 ? void 0 : f.call(n)
|
|
262
262
|
} = d;
|
|
263
263
|
let {
|
|
264
264
|
closable: j,
|
|
265
265
|
showIcon: x
|
|
266
266
|
} = d;
|
|
267
|
-
const F = (P = d.closeText) !== null && P !== void 0 ? P : (U = n.closeText) === null || U === void 0 ? void 0 : U.call(n), T = (A = d.description) !== null && A !== void 0 ? A : (H = n.description) === null || H === void 0 ? void 0 : H.call(n), G = (E = d.message) !== null && E !== void 0 ? E : (z = n.message) === null || z === void 0 ? void 0 : z.call(n), _ = (R = d.icon) !== null && R !== void 0 ? R : (L = n.icon) === null || L === void 0 ? void 0 : L.call(n),
|
|
268
|
-
x =
|
|
267
|
+
const F = (P = d.closeText) !== null && P !== void 0 ? P : (U = n.closeText) === null || U === void 0 ? void 0 : U.call(n), T = (A = d.description) !== null && A !== void 0 ? A : (H = n.description) === null || H === void 0 ? void 0 : H.call(n), G = (E = d.message) !== null && E !== void 0 ? E : (z = n.message) === null || z === void 0 ? void 0 : z.call(n), _ = (R = d.icon) !== null && R !== void 0 ? R : (L = n.icon) === null || L === void 0 ? void 0 : L.call(n), X = (D = n.action) === null || D === void 0 ? void 0 : D.call(n);
|
|
268
|
+
x = N && x === void 0 ? !0 : x;
|
|
269
269
|
const K = (T ? xn : kn)[V.value] || null;
|
|
270
270
|
F && (j = !0);
|
|
271
271
|
const y = p.value, Y = un(y, {
|
|
@@ -273,7 +273,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
273
273
|
[`${y}-closing`]: c.value,
|
|
274
274
|
[`${y}-with-description`]: !!T,
|
|
275
275
|
[`${y}-no-icon`]: !x,
|
|
276
|
-
[`${y}-banner`]: !!
|
|
276
|
+
[`${y}-banner`]: !!N,
|
|
277
277
|
[`${y}-closable`]: j,
|
|
278
278
|
[`${y}-rtl`]: t.value === "rtl",
|
|
279
279
|
[b.value]: !0
|
|
@@ -305,7 +305,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
305
305
|
default: () => [je(l("div", Ae(Ae({
|
|
306
306
|
role: "alert"
|
|
307
307
|
}, w), {}, {
|
|
308
|
-
style: [w.style,
|
|
308
|
+
style: [w.style, Q.value],
|
|
309
309
|
class: [w.class, Y],
|
|
310
310
|
"data-show": !c.value,
|
|
311
311
|
ref: $
|
|
@@ -315,9 +315,9 @@ const le = (d, o, n, v, w) => ({
|
|
|
315
315
|
class: `${y}-message`
|
|
316
316
|
}, [G]) : null, T ? l("div", {
|
|
317
317
|
class: `${y}-description`
|
|
318
|
-
}, [T]) : null]),
|
|
318
|
+
}, [T]) : null]), X ? l("div", {
|
|
319
319
|
class: `${y}-action`
|
|
320
|
-
}, [
|
|
320
|
+
}, [X]) : null, Z]), [[Fe, !c.value]])]
|
|
321
321
|
}));
|
|
322
322
|
};
|
|
323
323
|
}
|
|
@@ -354,22 +354,22 @@ const le = (d, o, n, v, w) => ({
|
|
|
354
354
|
}, Fn = {
|
|
355
355
|
key: 10,
|
|
356
356
|
class: "divider"
|
|
357
|
-
},
|
|
357
|
+
}, qn = {
|
|
358
358
|
key: 11,
|
|
359
359
|
class: "setting-item"
|
|
360
|
-
},
|
|
360
|
+
}, Nn = { class: "label" }, Wn = {
|
|
361
361
|
key: 12,
|
|
362
362
|
class: "setting-item"
|
|
363
363
|
}, Gn = {
|
|
364
364
|
key: 13,
|
|
365
365
|
class: "setting-item"
|
|
366
|
-
},
|
|
366
|
+
}, Xn = {
|
|
367
367
|
key: 14,
|
|
368
368
|
class: "setting-item"
|
|
369
|
-
},
|
|
369
|
+
}, Jn = {
|
|
370
370
|
key: 15,
|
|
371
371
|
class: "setting-item"
|
|
372
|
-
},
|
|
372
|
+
}, Qn = {
|
|
373
373
|
key: 16,
|
|
374
374
|
class: "divider"
|
|
375
375
|
}, Kn = {
|
|
@@ -416,7 +416,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
416
416
|
name: "PreferenceContent",
|
|
417
417
|
__name: "PreferencesContent",
|
|
418
418
|
setup(d) {
|
|
419
|
-
const { settingsStore: o } = ze(), n =
|
|
419
|
+
const { settingsStore: o } = ze(), n = qe({
|
|
420
420
|
app: B(
|
|
421
421
|
o.settings.app,
|
|
422
422
|
[
|
|
@@ -486,7 +486,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
486
486
|
(t = n.value.app) != null && t.colorScheme && (n.value.app.colorScheme = p ? "dark" : "light");
|
|
487
487
|
}
|
|
488
488
|
}), w = de(() => {
|
|
489
|
-
const p =
|
|
489
|
+
const p = Je();
|
|
490
490
|
return Object.keys(p).map((t) => ({
|
|
491
491
|
label: t,
|
|
492
492
|
value: p[t]
|
|
@@ -504,7 +504,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
504
504
|
await o.resetSettings();
|
|
505
505
|
}
|
|
506
506
|
return (p, t) => {
|
|
507
|
-
var k, S, V,
|
|
507
|
+
var k, S, V, Q, f, P, U, A, H, E, z, R, L, D, N, W, j, x, F, T, G, _, X, K, y, Y, Z, ee, ne, I, re, ue, me, ce, be, pe, ye, ge, ve, fe, he, we, Me, Pe, Oe, Ce, $e, ke, xe, Se, Ve, Te, _e, Ie;
|
|
508
508
|
const C = _n, b = Le, c = Re, M = Ee, $ = hn;
|
|
509
509
|
return u(), r("div", null, [
|
|
510
510
|
l(C, {
|
|
@@ -513,10 +513,10 @@ const le = (d, o, n, v, w) => ({
|
|
|
513
513
|
type: "info"
|
|
514
514
|
}),
|
|
515
515
|
(k = e(n).app) != null && k.hasOwnProperty("colorScheme") || (S = e(n).app) != null && S.hasOwnProperty("lightTheme") && ((V = e(n).app) != null && V.hasOwnProperty("darkTheme")) ? (u(), r("div", In, " 颜色主题风格 ")) : m("", !0),
|
|
516
|
-
(
|
|
516
|
+
(Q = e(n).app) != null && Q.hasOwnProperty("colorScheme") ? (u(), r("div", Bn, [
|
|
517
517
|
l(b, {
|
|
518
518
|
modelValue: e(v),
|
|
519
|
-
"onUpdate:modelValue": t[0] || (t[0] = (a) =>
|
|
519
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => Ne(v) ? v.value = a : null),
|
|
520
520
|
"on-icon": "i-ri-sun-line",
|
|
521
521
|
"off-icon": "i-ri-moon-line"
|
|
522
522
|
}, null, 8, ["modelValue"])
|
|
@@ -532,7 +532,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
532
532
|
}, [
|
|
533
533
|
i("div", {
|
|
534
534
|
class: "content",
|
|
535
|
-
style:
|
|
535
|
+
style: Xe(`background-color: rgb(${a.value["--ui-primary"]});`)
|
|
536
536
|
}, null, 4)
|
|
537
537
|
], 10, An))), 128))
|
|
538
538
|
])) : m("", !0),
|
|
@@ -794,10 +794,10 @@ const le = (d, o, n, v, w) => ({
|
|
|
794
794
|
_: 1
|
|
795
795
|
})
|
|
796
796
|
])) : m("", !0),
|
|
797
|
-
(D = e(n).menu) != null && D.hasOwnProperty("switchMainMenuAndPageJump") || (
|
|
798
|
-
(F = e(n).menu) != null && F.hasOwnProperty("subMenuUniqueOpened") ? (u(), r("div",
|
|
799
|
-
i("div",
|
|
800
|
-
t[35] || (t[35] =
|
|
797
|
+
(D = e(n).menu) != null && D.hasOwnProperty("switchMainMenuAndPageJump") || (N = e(n).menu) != null && N.hasOwnProperty("subMenuOnlyOneHide") || (W = e(n).menu) != null && W.hasOwnProperty("subMenuUniqueOpened") || (j = e(n).menu) != null && j.hasOwnProperty("subMenuCollapse") || (x = e(n).menu) != null && x.hasOwnProperty("enableSubMenuCollapseButton") ? (u(), r("div", Fn, " 导航栏 ")) : m("", !0),
|
|
798
|
+
(F = e(n).menu) != null && F.hasOwnProperty("subMenuUniqueOpened") ? (u(), r("div", qn, [
|
|
799
|
+
i("div", Nn, [
|
|
800
|
+
t[35] || (t[35] = J(" 次导航保持展开一个 ")),
|
|
801
801
|
l(c, { text: "开启该功能后,次导航只保持单个菜单的展开" }, {
|
|
802
802
|
default: g(() => [
|
|
803
803
|
l(e(oe))
|
|
@@ -819,7 +819,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
819
819
|
disabled: ["only-side", "only-head"].includes(((_ = e(n).menu) == null ? void 0 : _.menuMode) ?? e(o).settings.menu.menuMode)
|
|
820
820
|
}, null, 8, ["modelValue", "disabled"])
|
|
821
821
|
])) : m("", !0),
|
|
822
|
-
e(o).mode === "pc" && e(o).settings.menu.enableSubMenuCollapseButton && ((
|
|
822
|
+
e(o).mode === "pc" && e(o).settings.menu.enableSubMenuCollapseButton && ((X = e(n).menu) != null && X.hasOwnProperty("enableSubMenuCollapseButton")) ? (u(), r("div", Gn, [
|
|
823
823
|
t[37] || (t[37] = i("div", { class: "label" }, " 显示次导航折叠按钮 ", -1)),
|
|
824
824
|
l(b, {
|
|
825
825
|
modelValue: e(n).menu.enableSubMenuCollapseButton,
|
|
@@ -827,14 +827,14 @@ const le = (d, o, n, v, w) => ({
|
|
|
827
827
|
disabled: ["only-side", "only-head"].includes(((K = e(n).menu) == null ? void 0 : K.menuMode) ?? e(o).settings.menu.menuMode)
|
|
828
828
|
}, null, 8, ["modelValue", "disabled"])
|
|
829
829
|
])) : m("", !0),
|
|
830
|
-
(y = e(n).menu) != null && y.hasOwnProperty("isRounded") ? (u(), r("div",
|
|
830
|
+
(y = e(n).menu) != null && y.hasOwnProperty("isRounded") ? (u(), r("div", Xn, [
|
|
831
831
|
t[38] || (t[38] = i("div", { class: "label" }, " 是否圆角 ", -1)),
|
|
832
832
|
l(b, {
|
|
833
833
|
modelValue: e(n).menu.isRounded,
|
|
834
834
|
"onUpdate:modelValue": t[19] || (t[19] = (a) => e(n).menu.isRounded = a)
|
|
835
835
|
}, null, 8, ["modelValue"])
|
|
836
836
|
])) : m("", !0),
|
|
837
|
-
(((Y = e(n).menu) == null ? void 0 : Y.menuMode) ?? e(o).settings.menu.menuMode) !== "single" && ((Z = e(n).menu) != null && Z.hasOwnProperty("menuActiveStyle")) ? (u(), r("div",
|
|
837
|
+
(((Y = e(n).menu) == null ? void 0 : Y.menuMode) ?? e(o).settings.menu.menuMode) !== "single" && ((Z = e(n).menu) != null && Z.hasOwnProperty("menuActiveStyle")) ? (u(), r("div", Jn, [
|
|
838
838
|
t[39] || (t[39] = i("div", { class: "label" }, " 激活风格 ", -1)),
|
|
839
839
|
l(M, {
|
|
840
840
|
modelValue: e(n).menu.menuActiveStyle,
|
|
@@ -847,10 +847,10 @@ const le = (d, o, n, v, w) => ({
|
|
|
847
847
|
]
|
|
848
848
|
}, null, 8, ["modelValue", "options"])
|
|
849
849
|
])) : m("", !0),
|
|
850
|
-
(I = e(n).topbar) != null && I.hasOwnProperty("mode") || (re = e(n).topbar) != null && re.hasOwnProperty("switchTabbarAndToolbar") ? (u(), r("div",
|
|
850
|
+
(I = e(n).topbar) != null && I.hasOwnProperty("mode") || (re = e(n).topbar) != null && re.hasOwnProperty("switchTabbarAndToolbar") ? (u(), r("div", Qn, " 顶栏 ")) : m("", !0),
|
|
851
851
|
(ue = e(n).topbar) != null && ue.hasOwnProperty("switchTabbarAndToolbar") ? (u(), r("div", Kn, [
|
|
852
852
|
i("div", Yn, [
|
|
853
|
-
t[40] || (t[40] =
|
|
853
|
+
t[40] || (t[40] = J(" 展示切换 ")),
|
|
854
854
|
l(c, { text: "切换标签栏和工具栏的展示顺序" }, {
|
|
855
855
|
default: g(() => [
|
|
856
856
|
l(e(oe))
|
|
@@ -895,7 +895,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
895
895
|
])) : m("", !0),
|
|
896
896
|
e(o).settings.tabbar.enable && ((Me = e(n).tabbar) != null && Me.hasOwnProperty("enableMemory")) ? (u(), r("div", ot, [
|
|
897
897
|
i("div", lt, [
|
|
898
|
-
t[44] || (t[44] =
|
|
898
|
+
t[44] || (t[44] = J(" 是否启用记忆功能 ")),
|
|
899
899
|
l(c, { text: "开启该功能后,非固定和非常驻的标签页将在本次会话窗口中始终存在,刷新浏览器或重新登录时不会丢失" }, {
|
|
900
900
|
default: g(() => [
|
|
901
901
|
l(e(oe))
|
|
@@ -940,7 +940,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
940
940
|
(_e = e(n).app) != null && _e.hasOwnProperty("enableProgress") ? (u(), r("div", rt, " 其它 ")) : m("", !0),
|
|
941
941
|
e(o).settings.app.enableProgress && ((Ie = e(n).app) != null && Ie.hasOwnProperty("enableProgress")) ? (u(), r("div", ut, [
|
|
942
942
|
i("div", mt, [
|
|
943
|
-
t[48] || (t[48] =
|
|
943
|
+
t[48] || (t[48] = J(" 载入进度条 ")),
|
|
944
944
|
l(c, { text: "该功能开启时,跳转路由会看到页面顶部有进度条" }, {
|
|
945
945
|
default: g(() => [
|
|
946
946
|
l(e(oe))
|
|
@@ -961,9 +961,10 @@ const le = (d, o, n, v, w) => ({
|
|
|
961
961
|
onClick: O
|
|
962
962
|
}, {
|
|
963
963
|
default: g(() => t[49] || (t[49] = [
|
|
964
|
-
|
|
964
|
+
J(" 还原系统设置 ")
|
|
965
965
|
])),
|
|
966
|
-
_: 1
|
|
966
|
+
_: 1,
|
|
967
|
+
__: [49]
|
|
967
968
|
})
|
|
968
969
|
])
|
|
969
970
|
]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as r } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js";
|
|
3
3
|
import { _ } from "./HToggle-Cd71WKvG.js";
|
|
4
4
|
import { defineComponent as b, toRefs as f, createBlock as g, openBlock as c, withCtx as V, createElementVNode as n, createVNode as s, unref as t } from "vue";
|
|
5
|
-
import { u as v } from "./index-
|
|
5
|
+
import { u as v } from "./index-CXsL0aQN.js";
|
|
6
6
|
const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" }, w = /* @__PURE__ */ b({
|
|
7
7
|
name: "SettingBreadcrumb",
|
|
8
8
|
__name: "SettingBreadcrumb",
|
|
@@ -2,7 +2,7 @@ import { _ as u } from "./HDivider-DgXBhPr0.js";
|
|
|
2
2
|
import { _ as p } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
3
|
import { _ as r } from "./HToggle-Cd71WKvG.js";
|
|
4
4
|
import { defineComponent as b, toRef as _, createBlock as g, openBlock as V, withCtx as f, createElementVNode as o, createVNode as n, unref as t } from "vue";
|
|
5
|
-
import { u as v } from "./index-
|
|
5
|
+
import { u as v } from "./index-CXsL0aQN.js";
|
|
6
6
|
const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class: "setting-item" }, x = { class: "setting-item" }, w = { class: "setting-item" }, I = /* @__PURE__ */ b({
|
|
7
7
|
name: "SettingCopyright",
|
|
8
8
|
__name: "SettingCopyright",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as g } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as k, c as x } from "./index-
|
|
2
|
+
import { u as k, c as x } from "./index-CXsL0aQN.js";
|
|
3
3
|
import { _ as C } from "./HToggle-Cd71WKvG.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
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as f } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as g } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
3
|
import { _ as V } from "./HToggle-Cd71WKvG.js";
|
|
4
|
-
import { u as b, c as x } from "./index-
|
|
4
|
+
import { u as b, c as x } from "./index-CXsL0aQN.js";
|
|
5
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 _, unref as t } from "vue";
|
|
6
6
|
import { R as a } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setting-item" }, k = { class: "label" }, Q = /* @__PURE__ */ H({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { _ as v } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as v } from "./HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js";
|
|
3
3
|
import { _ as g } from "./HToggle-Cd71WKvG.js";
|
|
4
|
-
import { u as M, c as y } from "./index-
|
|
4
|
+
import { u as M, c as y } from "./index-CXsL0aQN.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 t, 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 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as v, c as f } from "./index-
|
|
2
|
+
import { u as v, c as f } from "./index-CXsL0aQN.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
5
|
const M = { class: "menu-mode" }, B = ["onClick"], H = /* @__PURE__ */ b({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as u } from "./HToggle-Cd71WKvG.js";
|
|
3
|
-
import { u as p, c } from "./index-
|
|
3
|
+
import { u as p, c } from "./index-CXsL0aQN.js";
|
|
4
4
|
import { defineComponent as f, toRef as g, createBlock as b, 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
6
|
const x = { class: "setting-item" }, H = { class: "label" }, N = { class: "setting-item" }, h = /* @__PURE__ */ f({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as c } from "./HDivider-DgXBhPr0.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-
|
|
3
|
+
import { u as b, c as S } from "./index-CXsL0aQN.js";
|
|
4
4
|
import { _ as H } from "./HToggle-Cd71WKvG.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as m } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ } from "./HToggle-Cd71WKvG.js";
|
|
3
3
|
import { defineComponent as r, 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-
|
|
4
|
+
import { u as f } from "./index-CXsL0aQN.js";
|
|
5
5
|
const V = { class: "setting-item" }, C = /* @__PURE__ */ r({
|
|
6
6
|
name: "SettingPage",
|
|
7
7
|
__name: "SettingPage",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as k } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as w, c as y } from "./index-
|
|
2
|
+
import { u as w, c as y } from "./index-CXsL0aQN.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-
|
|
4
|
+
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js";
|
|
5
5
|
import { _ as L } from "./HToggle-Cd71WKvG.js";
|
|
6
6
|
import { R as N } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const R = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as T } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { markRaw as b, createElementBlock as r, openBlock as n, createElementVNode as s, defineComponent as k, useModel as V, withDirectives as S, createStaticVNode as $, vModelCheckbox as w, toRef as D, computed as B, createBlock as N, withCtx as j, createVNode as h, unref as o, isRef as L, Fragment as g, renderList as f, normalizeClass as M, normalizeStyle as v, toDisplayString as z } from "vue";
|
|
3
|
-
import "./menu-
|
|
3
|
+
import "./menu-CC5544p-.js";
|
|
4
4
|
import "pinia-plugin-persistedstate";
|
|
5
|
-
import { d as F, u as R } from "./index-
|
|
5
|
+
import { d as F, u as R } from "./index-CXsL0aQN.js";
|
|
6
6
|
import { getThemes as A } from "@pubinfo/config/themes";
|
|
7
7
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const E = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as b } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as V } from "./HToggle-Cd71WKvG.js";
|
|
3
|
-
import { u as f, c as g } from "./index-
|
|
3
|
+
import { u as f, c as g } from "./index-CXsL0aQN.js";
|
|
4
4
|
import { defineComponent as c, toRef as v, createBlock as x, openBlock as _, withCtx as i, createElementVNode as s, createElementBlock as C, createCommentVNode as N, createVNode as o, createTextVNode as m, unref as t } from "vue";
|
|
5
5
|
import { R as u } from "./question-line-CfkciTFq.js";
|
|
6
6
|
const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setting-item" }, U = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as c } from "./HToggle-Cd71WKvG.js";
|
|
3
|
-
import { u as b, c as f } from "./index-
|
|
4
|
-
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as b, c as f } from "./index-CXsL0aQN.js";
|
|
4
|
+
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js";
|
|
5
5
|
import { defineComponent as T, toRefs as V, createBlock as v, openBlock as x, withCtx as a, 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" }, w = { class: "setting-item" }, N = { class: "label" }, D = /* @__PURE__ */ T({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as h } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as v, c as g } from "./index-
|
|
2
|
+
import { u as v, c as g } from "./index-CXsL0aQN.js";
|
|
3
3
|
import { defineComponent as k, toRef as w, reactive as x, createBlock as a, openBlock as t, withCtx as n, createElementVNode as s, createElementBlock as d, Fragment as r, renderList as b, unref as c, normalizeClass as C, createCommentVNode as M, createVNode as l } from "vue";
|
|
4
4
|
import { E, a as y } from "./right-Bfe2p1o0.js";
|
|
5
5
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, ref as l, createElementBlock as m, openBlock as i, withModifiers as c, createVNode as d, normalizeClass as f, unref as e } from "vue";
|
|
2
|
-
import { u as p, _ } from "./index-
|
|
2
|
+
import { u as p, _ } from "./index-CXsL0aQN.js";
|
|
3
3
|
import { useRoute as h } from "vue-router";
|
|
4
4
|
const R = /* @__PURE__ */ a({
|
|
5
5
|
name: "TopThinMode",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as u } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
2
2
|
import { defineComponent as c, ref as f, onMounted as d, createElementBlock as m, openBlock as p, createElementVNode as o, createVNode as _, withCtx as x, createTextVNode as v, toDisplayString as w, unref as g } from "vue";
|
|
3
|
-
import { e as b, a as k } from "./menu-
|
|
3
|
+
import { e as b, a as k } from "./menu-CC5544p-.js";
|
|
4
4
|
import "pinia-plugin-persistedstate";
|
|
5
5
|
import { useRoute as N, useRouter as S, onBeforeRouteLeave as h } from "vue-router";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a7 as t } from "./menu-CC5544p-.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) => {
|