@pubinfo/core 2.0.0-beta.7 → 2.0.0-beta.8
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-Bv7xCe88.js → AppSetting-BQT7OI6K.js} +16 -16
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js → HCheckList.vue_vue_type_script_setup_true_lang-D4u_haxr.js} +2 -2
- package/dist/{PreferencesContent-5bwij0az.js → PreferencesContent-MR1Db7z7.js} +46 -46
- package/dist/{SettingBreadcrumb-DxnZ4kvv.js → SettingBreadcrumb-CgugOTgx.js} +2 -2
- package/dist/{SettingCopyright-C4rrvQ52.js → SettingCopyright-BPeCJBLi.js} +1 -1
- package/dist/{SettingEnableTransition-Dgss1jFn.js → SettingEnableTransition-BK0_EH_N.js} +1 -1
- package/dist/{SettingHome-Dcqz6iCb.js → SettingHome-DGnxlXLd.js} +1 -1
- package/dist/{SettingMenu-BMaSeklX.js → SettingMenu-BqAd9zbL.js} +2 -2
- package/dist/{SettingMode-CJXj9LL9.js → SettingMode-CgA3XDwW.js} +1 -1
- package/dist/{SettingNavSearch-BMN3jDNW.js → SettingNavSearch-WFnkcRQ3.js} +1 -1
- package/dist/{SettingOther-DeLyS4HI.js → SettingOther-CG4RI6mO.js} +1 -1
- package/dist/{SettingPage-B2Cj8x_L.js → SettingPage-C1CT1Mm8.js} +1 -1
- package/dist/{SettingTabbar-DipvqgLC.js → SettingTabbar-CQA6ZT9l.js} +2 -2
- package/dist/{SettingThemes-APuKr4OB.js → SettingThemes-BJu9czNK.js} +2 -2
- package/dist/{SettingToolbar-BIYD2Pvu.js → SettingToolbar-DdR2940j.js} +1 -1
- package/dist/{SettingTopbar-C8o6tnVH.js → SettingTopbar-C_jYO_Ax.js} +2 -2
- package/dist/{SettingWidthMode-DBz8Kxmh.js → SettingWidthMode-ir_28SE3.js} +1 -1
- package/dist/{TopThinMode-6oFZVnh7.js → TopThinMode-jHDpKsma.js} +1 -1
- package/dist/{_...all_-DI_QAUox.js → _...all_-18BnHmEa.js} +1 -1
- package/dist/{colors-oRlAXMUC.js → colors-gu4NABiz.js} +1 -1
- package/dist/{index-BkqnOkyO.js → index-C1p_tY7i.js} +1 -1
- package/dist/{index-CUFIyWeP.js → index-CCPTQYuB.js} +2108 -2111
- package/dist/{index-ChOUZNbk.js → index-CNUEMTao.js} +2 -2
- package/dist/{index-Dav3jQVP.js → index-CWIfG62O.js} +2 -2
- package/dist/{index-BvVAS3S-.js → index-CjsnFBwd.js} +14 -8
- package/dist/{index-BjwuS5bV.js → index-CmXo8ShY.js} +12 -12
- package/dist/{index-BHkrq701.js → index-DL8Y7jFG.js} +9 -9
- package/dist/{index-P2cA5UeU.js → index-Dj8zy7hH.js} +4 -4
- package/dist/{index-D8eeneI_.js → index-NpS61xSA.js} +22 -22
- package/dist/index.js +25 -26
- package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js → index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js} +1 -1
- package/dist/layout/composables/useContext.d.ts +1 -2
- package/dist/{notification-6D5hA7Bp.js → menu-CLiZ1BO_.js} +481 -513
- package/dist/{pick-Br-UKn7B.js → pick-C9bU8_xv.js} +1 -1
- package/dist/request.js +23 -23
- package/dist/stores/modules/index.d.ts +0 -2
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/src/layout/components/Tools/index.vue +2 -19
- package/src/layout/composables/useContext.ts +0 -2
- package/src/layout/provider.ts +0 -3
- package/src/route/routes.ts +0 -9
- package/src/stores/modules/index.ts +0 -2
- package/dist/stores/modules/notification.d.ts +0 -19
- package/src/layout/components/Tools/Notification.vue +0 -152
- package/src/pages/personal/notification.vue +0 -58
- package/src/stores/modules/notification.ts +0 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as k, b as B } from "./index-
|
|
1
|
+
import { u as k, b as B } from "./index-CCPTQYuB.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 {
|
|
4
|
+
import { o as $ } from "./menu-CLiZ1BO_.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-BJu9czNK.js")),
|
|
25
|
+
SettingsMode: t(() => import("./SettingMode-CgA3XDwW.js")),
|
|
26
|
+
SettingWidthMode: t(() => import("./SettingWidthMode-ir_28SE3.js")),
|
|
27
|
+
SettingEnableTransition: t(() => import("./SettingEnableTransition-BK0_EH_N.js")),
|
|
28
|
+
SettingMenu: t(() => import("./SettingMenu-BqAd9zbL.js")),
|
|
29
|
+
SettingTopbar: t(() => import("./SettingTopbar-C_jYO_Ax.js")),
|
|
30
|
+
SettingTabbar: t(() => import("./SettingTabbar-CQA6ZT9l.js")),
|
|
31
|
+
SettingToolbar: t(() => import("./SettingToolbar-DdR2940j.js")),
|
|
32
|
+
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-CgugOTgx.js")),
|
|
33
|
+
SettingPage: t(() => import("./SettingPage-C1CT1Mm8.js")),
|
|
34
|
+
SettingNavSearch: t(() => import("./SettingNavSearch-WFnkcRQ3.js")),
|
|
35
|
+
SettingCopyright: t(() => import("./SettingCopyright-BPeCJBLi.js")),
|
|
36
|
+
SettingHome: t(() => import("./SettingHome-DGnxlXLd.js")),
|
|
37
|
+
SettingOther: t(() => import("./SettingOther-CG4RI6mO.js"))
|
|
38
38
|
},
|
|
39
39
|
__name: "AppSetting",
|
|
40
40
|
props: {
|
|
@@ -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 "./
|
|
2
|
+
import "./menu-CLiZ1BO_.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
4
|
import "vue-router";
|
|
5
|
-
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
5
|
+
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.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 ze } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { u as
|
|
1
|
+
import { _ as ze } from "./HCheckList.vue_vue_type_script_setup_true_lang-D4u_haxr.js";
|
|
2
|
+
import { u as Le, c as Re } from "./index-CCPTQYuB.js";
|
|
3
3
|
import { _ as je } from "./HToggle-Cd71WKvG.js";
|
|
4
4
|
import { defineComponent as Ee, shallowRef as te, computed as de, createVNode as l, Transition as De, withDirectives as Fe, vShow as Ne, ref as qe, createElementBlock as r, openBlock as u, createCommentVNode as m, createElementVNode as i, unref as e, isRef as We, Fragment as Ge, renderList as Xe, normalizeClass as h, normalizeStyle as Je, withCtx as g, createTextVNode as J } from "vue";
|
|
5
5
|
import { themes as Ae } 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 { a2 as Qe, a3 as Ze, a4 as ae, a5 as Ke, a6 as Ye, ai as N, a7 as en, bZ as nn, b_ as tn, b$ as on, c0 as ln, bS as an, av as sn, c1 as dn, bT as rn, aj as un, ax as mn, ao as cn, ak as bn, aU as pn, a9 as He, bg as yn, L as gn, f as vn, v as fn, a1 as hn } from "./menu-CLiZ1BO_.js";
|
|
9
|
+
import { p as B } from "./pick-C9bU8_xv.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,
|
|
@@ -29,11 +29,11 @@ const le = (d, o, n, v, w) => ({
|
|
|
29
29
|
colorText: M,
|
|
30
30
|
paddingContentVerticalSM: C,
|
|
31
31
|
alertPaddingHorizontal: $,
|
|
32
|
-
paddingMD:
|
|
33
|
-
paddingContentHorizontalLG:
|
|
32
|
+
paddingMD: S,
|
|
33
|
+
paddingContentHorizontalLG: V
|
|
34
34
|
} = d;
|
|
35
35
|
return {
|
|
36
|
-
[o]: ae(ae({},
|
|
36
|
+
[o]: ae(ae({}, Ke(d)), {
|
|
37
37
|
position: "relative",
|
|
38
38
|
display: "flex",
|
|
39
39
|
alignItems: "center",
|
|
@@ -76,8 +76,8 @@ const le = (d, o, n, v, w) => ({
|
|
|
76
76
|
}),
|
|
77
77
|
[`${o}-with-description`]: {
|
|
78
78
|
alignItems: "flex-start",
|
|
79
|
-
paddingInline:
|
|
80
|
-
paddingBlock:
|
|
79
|
+
paddingInline: V,
|
|
80
|
+
paddingBlock: S,
|
|
81
81
|
[`${o}-icon`]: {
|
|
82
82
|
marginInlineEnd: w,
|
|
83
83
|
fontSize: c,
|
|
@@ -173,7 +173,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
173
173
|
}, Cn = (d) => [Mn(d), Pn(d), On(d)], $n = Qe("Alert", (d) => {
|
|
174
174
|
const {
|
|
175
175
|
fontSizeHeading3: o
|
|
176
|
-
} = d, n =
|
|
176
|
+
} = d, n = Ze(d, {
|
|
177
177
|
alertIconSizeLG: o,
|
|
178
178
|
alertPaddingHorizontal: 12
|
|
179
179
|
// Fixed value here.
|
|
@@ -189,11 +189,11 @@ const le = (d, o, n, v, w) => ({
|
|
|
189
189
|
info: on,
|
|
190
190
|
error: tn,
|
|
191
191
|
warning: nn
|
|
192
|
-
},
|
|
192
|
+
}, Sn = yn("success", "info", "warning", "error"), Vn = () => ({
|
|
193
193
|
/**
|
|
194
194
|
* Type of Alert styles, options: `success`, `info`, `warning`, `error`
|
|
195
195
|
*/
|
|
196
|
-
type: N.oneOf(
|
|
196
|
+
type: N.oneOf(Sn),
|
|
197
197
|
/** Whether Alert can be closed */
|
|
198
198
|
closable: {
|
|
199
199
|
type: Boolean,
|
|
@@ -226,7 +226,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
226
226
|
},
|
|
227
227
|
name: "AAlert",
|
|
228
228
|
inheritAttrs: !1,
|
|
229
|
-
props:
|
|
229
|
+
props: Vn(),
|
|
230
230
|
setup(d, o) {
|
|
231
231
|
let {
|
|
232
232
|
slots: n,
|
|
@@ -241,21 +241,21 @@ const le = (d, o, n, v, w) => ({
|
|
|
241
241
|
f.preventDefault();
|
|
242
242
|
const P = C.value;
|
|
243
243
|
P.style.height = `${P.offsetHeight}px`, P.style.height = `${P.offsetHeight}px`, c.value = !0, v("close", f);
|
|
244
|
-
},
|
|
244
|
+
}, S = () => {
|
|
245
245
|
var f;
|
|
246
246
|
c.value = !1, M.value = !0, (f = d.afterClose) === null || f === void 0 || f.call(d);
|
|
247
|
-
},
|
|
247
|
+
}, V = de(() => {
|
|
248
248
|
const {
|
|
249
249
|
type: f
|
|
250
250
|
} = d;
|
|
251
251
|
return f !== void 0 ? f : d.banner ? "warning" : "info";
|
|
252
252
|
});
|
|
253
253
|
O({
|
|
254
|
-
animationEnd:
|
|
254
|
+
animationEnd: S
|
|
255
255
|
});
|
|
256
256
|
const Q = te({});
|
|
257
257
|
return () => {
|
|
258
|
-
var f, P, U, A, H, E, z,
|
|
258
|
+
var f, P, U, A, H, E, z, L, R, j;
|
|
259
259
|
const {
|
|
260
260
|
banner: q,
|
|
261
261
|
closeIcon: W = (f = n.closeIcon) === null || f === void 0 ? void 0 : f.call(n)
|
|
@@ -264,12 +264,12 @@ const le = (d, o, n, v, w) => ({
|
|
|
264
264
|
closable: D,
|
|
265
265
|
showIcon: k
|
|
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), _ = (
|
|
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), _ = (L = d.icon) !== null && L !== void 0 ? L : (R = n.icon) === null || R === void 0 ? void 0 : R.call(n), X = (j = n.action) === null || j === void 0 ? void 0 : j.call(n);
|
|
268
268
|
k = q && k === void 0 ? !0 : k;
|
|
269
|
-
const
|
|
269
|
+
const Z = (T ? xn : kn)[V.value] || null;
|
|
270
270
|
F && (D = !0);
|
|
271
|
-
const y = b.value,
|
|
272
|
-
[`${y}-${
|
|
271
|
+
const y = b.value, K = un(y, {
|
|
272
|
+
[`${y}-${V.value}`]: !0,
|
|
273
273
|
[`${y}-closing`]: c.value,
|
|
274
274
|
[`${y}-with-description`]: !!T,
|
|
275
275
|
[`${y}-no-icon`]: !k,
|
|
@@ -277,7 +277,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
277
277
|
[`${y}-closable`]: D,
|
|
278
278
|
[`${y}-rtl`]: t.value === "rtl",
|
|
279
279
|
[p.value]: !0
|
|
280
|
-
}),
|
|
280
|
+
}), Y = D ? l("button", {
|
|
281
281
|
type: "button",
|
|
282
282
|
onClick: $,
|
|
283
283
|
class: `${y}-close-icon`,
|
|
@@ -288,12 +288,12 @@ const le = (d, o, n, v, w) => ({
|
|
|
288
288
|
class: `${y}-icon`
|
|
289
289
|
}) : l("span", {
|
|
290
290
|
class: `${y}-icon`
|
|
291
|
-
}, [_])) || l(
|
|
291
|
+
}, [_])) || l(Z, {
|
|
292
292
|
class: `${y}-icon`
|
|
293
293
|
}, null), ne = pn(`${y}-motion`, {
|
|
294
294
|
appear: !1,
|
|
295
295
|
css: !0,
|
|
296
|
-
onAfterLeave:
|
|
296
|
+
onAfterLeave: S,
|
|
297
297
|
onBeforeLeave: (I) => {
|
|
298
298
|
I.style.maxHeight = `${I.offsetHeight}px`;
|
|
299
299
|
},
|
|
@@ -306,7 +306,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
306
306
|
role: "alert"
|
|
307
307
|
}, w), {}, {
|
|
308
308
|
style: [w.style, Q.value],
|
|
309
|
-
class: [w.class,
|
|
309
|
+
class: [w.class, K],
|
|
310
310
|
"data-show": !c.value,
|
|
311
311
|
ref: C
|
|
312
312
|
}), [k ? ee : null, l("div", {
|
|
@@ -317,11 +317,11 @@ const le = (d, o, n, v, w) => ({
|
|
|
317
317
|
class: `${y}-description`
|
|
318
318
|
}, [T]) : null]), X ? l("div", {
|
|
319
319
|
class: `${y}-action`
|
|
320
|
-
}, [X]) : null,
|
|
320
|
+
}, [X]) : null, Y]), [[Ne, !c.value]])]
|
|
321
321
|
}));
|
|
322
322
|
};
|
|
323
323
|
}
|
|
324
|
-
}), _n =
|
|
324
|
+
}), _n = Ye(Tn), In = {
|
|
325
325
|
key: 0,
|
|
326
326
|
class: "divider"
|
|
327
327
|
}, Bn = {
|
|
@@ -339,10 +339,10 @@ const le = (d, o, n, v, w) => ({
|
|
|
339
339
|
}, zn = {
|
|
340
340
|
key: 5,
|
|
341
341
|
class: "divider"
|
|
342
|
-
},
|
|
342
|
+
}, Ln = {
|
|
343
343
|
key: 6,
|
|
344
344
|
class: "app-width-mode"
|
|
345
|
-
},
|
|
345
|
+
}, Rn = {
|
|
346
346
|
key: 7,
|
|
347
347
|
class: "divider"
|
|
348
348
|
}, jn = {
|
|
@@ -372,10 +372,10 @@ const le = (d, o, n, v, w) => ({
|
|
|
372
372
|
}, Qn = {
|
|
373
373
|
key: 16,
|
|
374
374
|
class: "divider"
|
|
375
|
-
},
|
|
375
|
+
}, Zn = {
|
|
376
376
|
key: 17,
|
|
377
377
|
class: "setting-item"
|
|
378
|
-
},
|
|
378
|
+
}, Kn = { class: "label" }, Yn = {
|
|
379
379
|
key: 18,
|
|
380
380
|
class: "divider"
|
|
381
381
|
}, et = {
|
|
@@ -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 } =
|
|
419
|
+
const { settingsStore: o } = Le(), n = qe({
|
|
420
420
|
app: B(
|
|
421
421
|
o.settings.app,
|
|
422
422
|
[
|
|
@@ -501,15 +501,15 @@ const le = (d, o, n, v, w) => ({
|
|
|
501
501
|
await o.resetSettings();
|
|
502
502
|
}
|
|
503
503
|
return (b, t) => {
|
|
504
|
-
var $,
|
|
505
|
-
const x = _n, p = je, c =
|
|
504
|
+
var $, S, V, Q, f, P, U, A, H, E, z, L, R, j, q, W, D, k, F, T, G, _, X, Z, y, K, Y, 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;
|
|
505
|
+
const x = _n, p = je, c = Re, M = ze, C = hn;
|
|
506
506
|
return u(), r("div", null, [
|
|
507
507
|
l(x, {
|
|
508
508
|
message: "提示",
|
|
509
509
|
description: "个人偏好设置将覆盖系统默认设置。若需恢复至系统默认配置,请滚动至底部并点击“还原系统设置”按钮。",
|
|
510
510
|
type: "info"
|
|
511
511
|
}),
|
|
512
|
-
($ = e(n).app) != null && $.hasOwnProperty("colorScheme") || (
|
|
512
|
+
($ = e(n).app) != null && $.hasOwnProperty("colorScheme") || (S = e(n).app) != null && S.hasOwnProperty("lightTheme") && ((V = e(n).app) != null && V.hasOwnProperty("darkTheme")) ? (u(), r("div", In, " 颜色主题风格 ")) : m("", !0),
|
|
513
513
|
(Q = e(n).app) != null && Q.hasOwnProperty("colorScheme") ? (u(), r("div", Bn, [
|
|
514
514
|
l(p, {
|
|
515
515
|
modelValue: e(v),
|
|
@@ -627,7 +627,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
627
627
|
})
|
|
628
628
|
])) : m("", !0),
|
|
629
629
|
e(o).mode === "pc" && ((H = e(n).layout) != null && H.hasOwnProperty("widthMode")) ? (u(), r("div", zn, " 页宽模式 ")) : m("", !0),
|
|
630
|
-
e(o).mode === "pc" && ((E = e(n).layout) != null && E.hasOwnProperty("widthMode")) ? (u(), r("div",
|
|
630
|
+
e(o).mode === "pc" && ((E = e(n).layout) != null && E.hasOwnProperty("widthMode")) ? (u(), r("div", Ln, [
|
|
631
631
|
l(c, {
|
|
632
632
|
text: "自适应",
|
|
633
633
|
placement: "bottom",
|
|
@@ -702,14 +702,14 @@ const le = (d, o, n, v, w) => ({
|
|
|
702
702
|
_: 1
|
|
703
703
|
})
|
|
704
704
|
])) : m("", !0),
|
|
705
|
-
e(o).settings.mainPage.enableTransition && ((z = e(n).mainPage) != null && z.hasOwnProperty("enableTransition")) ? (u(), r("div",
|
|
706
|
-
e(o).settings.mainPage.enableTransition && ((
|
|
705
|
+
e(o).settings.mainPage.enableTransition && ((z = e(n).mainPage) != null && z.hasOwnProperty("enableTransition")) ? (u(), r("div", Rn, " 页面切换动画 ")) : m("", !0),
|
|
706
|
+
e(o).settings.mainPage.enableTransition && ((L = e(n).mainPage) != null && L.hasOwnProperty("enableTransition")) ? (u(), r("div", jn, [
|
|
707
707
|
l(p, {
|
|
708
708
|
modelValue: e(n).mainPage.enableTransition,
|
|
709
709
|
"onUpdate:modelValue": t[10] || (t[10] = (a) => e(n).mainPage.enableTransition = a)
|
|
710
710
|
}, null, 8, ["modelValue"])
|
|
711
711
|
])) : m("", !0),
|
|
712
|
-
e(o).settings.mainPage.enableTransition && ((
|
|
712
|
+
e(o).settings.mainPage.enableTransition && ((R = e(n).mainPage) != null && R.hasOwnProperty("transitionMode")) ? (u(), r("div", Dn, [
|
|
713
713
|
l(c, {
|
|
714
714
|
text: "淡入淡出",
|
|
715
715
|
placement: "bottom",
|
|
@@ -821,7 +821,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
821
821
|
l(p, {
|
|
822
822
|
modelValue: e(n).menu.enableSubMenuCollapseButton,
|
|
823
823
|
"onUpdate:modelValue": t[18] || (t[18] = (a) => e(n).menu.enableSubMenuCollapseButton = a),
|
|
824
|
-
disabled: ["only-side", "only-head"].includes(((
|
|
824
|
+
disabled: ["only-side", "only-head"].includes(((Z = e(n).menu) == null ? void 0 : Z.menuMode) ?? e(o).settings.menu.menuMode)
|
|
825
825
|
}, null, 8, ["modelValue", "disabled"])
|
|
826
826
|
])) : m("", !0),
|
|
827
827
|
(y = e(n).menu) != null && y.hasOwnProperty("isRounded") ? (u(), r("div", Xn, [
|
|
@@ -831,7 +831,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
831
831
|
"onUpdate:modelValue": t[19] || (t[19] = (a) => e(n).menu.isRounded = a)
|
|
832
832
|
}, null, 8, ["modelValue"])
|
|
833
833
|
])) : m("", !0),
|
|
834
|
-
(((
|
|
834
|
+
(((K = e(n).menu) == null ? void 0 : K.menuMode) ?? e(o).settings.menu.menuMode) !== "single" && ((Y = e(n).menu) != null && Y.hasOwnProperty("menuActiveStyle")) ? (u(), r("div", Jn, [
|
|
835
835
|
t[39] || (t[39] = i("div", { class: "label" }, " 激活风格 ", -1)),
|
|
836
836
|
l(M, {
|
|
837
837
|
modelValue: e(n).menu.menuActiveStyle,
|
|
@@ -845,8 +845,8 @@ const le = (d, o, n, v, w) => ({
|
|
|
845
845
|
}, null, 8, ["modelValue", "options"])
|
|
846
846
|
])) : m("", !0),
|
|
847
847
|
(I = e(n).topbar) != null && I.hasOwnProperty("mode") || (re = e(n).topbar) != null && re.hasOwnProperty("switchTabbarAndToolbar") ? (u(), r("div", Qn, " 顶栏 ")) : m("", !0),
|
|
848
|
-
(ue = e(n).topbar) != null && ue.hasOwnProperty("switchTabbarAndToolbar") ? (u(), r("div",
|
|
849
|
-
i("div",
|
|
848
|
+
(ue = e(n).topbar) != null && ue.hasOwnProperty("switchTabbarAndToolbar") ? (u(), r("div", Zn, [
|
|
849
|
+
i("div", Kn, [
|
|
850
850
|
t[40] || (t[40] = J(" 展示切换 ")),
|
|
851
851
|
l(c, { text: "切换标签栏和工具栏的展示顺序" }, {
|
|
852
852
|
default: g(() => [
|
|
@@ -861,7 +861,7 @@ const le = (d, o, n, v, w) => ({
|
|
|
861
861
|
disabled: !((me = e(n).tabbar) != null && me.enable)
|
|
862
862
|
}, null, 8, ["modelValue", "disabled"])
|
|
863
863
|
])) : m("", !0),
|
|
864
|
-
e(o).settings.tabbar.enable && ((ce = e(n).tabbar) != null && ce.hasOwnProperty("enable")) || (be = e(n).tabbar) != null && be.hasOwnProperty("style") || (pe = e(n).tabbar) != null && pe.hasOwnProperty("enableIcon") || (ye = e(n).tabbar) != null && ye.hasOwnProperty("mergeTabsBy") ? (u(), r("div",
|
|
864
|
+
e(o).settings.tabbar.enable && ((ce = e(n).tabbar) != null && ce.hasOwnProperty("enable")) || (be = e(n).tabbar) != null && be.hasOwnProperty("style") || (pe = e(n).tabbar) != null && pe.hasOwnProperty("enableIcon") || (ye = e(n).tabbar) != null && ye.hasOwnProperty("mergeTabsBy") ? (u(), r("div", Yn, " 标签栏 ")) : m("", !0),
|
|
865
865
|
e(o).settings.tabbar.enable && ((ge = e(n).tabbar) != null && ge.hasOwnProperty("enable")) ? (u(), r("div", et, [
|
|
866
866
|
t[41] || (t[41] = i("div", { class: "label" }, " 是否启用 ", -1)),
|
|
867
867
|
l(p, {
|
|
@@ -923,10 +923,10 @@ const le = (d, o, n, v, w) => ({
|
|
|
923
923
|
{ label: "默认", value: "" },
|
|
924
924
|
{ label: "现代", value: "modern" }
|
|
925
925
|
],
|
|
926
|
-
disabled: !(((
|
|
926
|
+
disabled: !(((Se = e(n).breadcrumb) == null ? void 0 : Se.enable) ?? e(o).settings.breadcrumb.enable)
|
|
927
927
|
}, null, 8, ["modelValue", "disabled"])
|
|
928
928
|
])) : m("", !0),
|
|
929
|
-
e(o).mode === "pc" && e(o).settings.breadcrumb.enable && e(o).settings.breadcrumb.enableMainMenu && ((
|
|
929
|
+
e(o).mode === "pc" && e(o).settings.breadcrumb.enable && e(o).settings.breadcrumb.enableMainMenu && ((Ve = e(n).breadcrumb) != null && Ve.hasOwnProperty("enableMainMenu")) ? (u(), r("div", dt, [
|
|
930
930
|
t[47] || (t[47] = i("div", { class: "label" }, " 是否显示主导航 ", -1)),
|
|
931
931
|
l(p, {
|
|
932
932
|
modelValue: e(n).breadcrumb.enableMainMenu,
|
|
@@ -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-D4u_haxr.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-CCPTQYuB.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-CCPTQYuB.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-CCPTQYuB.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-CCPTQYuB.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-D4u_haxr.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-CCPTQYuB.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-CCPTQYuB.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-CCPTQYuB.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-CCPTQYuB.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-CCPTQYuB.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-CCPTQYuB.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-D4u_haxr.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 d, openBlock as o, createElementVNode as t, 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 u, unref as c, isRef as L, Fragment as g, renderList as f, normalizeClass as M, normalizeStyle as h, toDisplayString as z } from "vue";
|
|
3
|
-
import "./
|
|
3
|
+
import "./menu-CLiZ1BO_.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-CCPTQYuB.js";
|
|
6
6
|
import { themes as v } from "@pubinfo/config/themes";
|
|
7
7
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const A = {
|
|
@@ -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-CCPTQYuB.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-CCPTQYuB.js";
|
|
4
|
+
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-D4u_haxr.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-CCPTQYuB.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-CCPTQYuB.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 "./
|
|
3
|
+
import { e as b, a as k } from "./menu-CLiZ1BO_.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 { a4 as t } from "./menu-CLiZ1BO_.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,6 +1,6 @@
|
|
|
1
1
|
import { _ as l } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
2
2
|
import { defineComponent as i, ref as u, onUnmounted as c, onMounted as d, createElementBlock as f, openBlock as m, createElementVNode as o, createVNode as x, withCtx as p, createTextVNode as _, toDisplayString as v, unref as w } from "vue";
|
|
3
|
-
import { u as g } from "./
|
|
3
|
+
import { u as g } from "./menu-CLiZ1BO_.js";
|
|
4
4
|
import "pinia-plugin-persistedstate";
|
|
5
5
|
import { useRouter as N } from "vue-router";
|
|
6
6
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|