@pubinfo/core 2.0.0-beta.25 → 2.0.0-beta.27

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.
Files changed (50) hide show
  1. package/dist/{AppSetting-DodCOb_z.js → AppSetting-8APd2n5W.js} +16 -16
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CMOw56Mk.js → HCheckList.vue_vue_type_script_setup_true_lang-xHHNH-Do.js} +2 -2
  3. package/dist/{PreferencesContent-Dic24ifo.js → PreferencesContent-B6v1Y85P.js} +86 -83
  4. package/dist/{SettingBreadcrumb-DWpbGcSy.js → SettingBreadcrumb-DRbL0ad_.js} +2 -2
  5. package/dist/{SettingCopyright-CIY0pFMT.js → SettingCopyright-BQF1UDPx.js} +1 -1
  6. package/dist/{SettingEnableTransition-f0xuLIrZ.js → SettingEnableTransition-COQvH_bE.js} +1 -1
  7. package/dist/{SettingHome-BFtJsJsN.js → SettingHome-BL-JRz6C.js} +1 -1
  8. package/dist/{SettingMenu-DuPD3iSG.js → SettingMenu-CL08Xnqj.js} +2 -2
  9. package/dist/{SettingMode-nZ65qSWK.js → SettingMode-CHFQfbwC.js} +1 -1
  10. package/dist/{SettingNavSearch-CrarPE7d.js → SettingNavSearch-D3EfJLm4.js} +1 -1
  11. package/dist/{SettingOther-BddvExCF.js → SettingOther-D8vWJBqB.js} +1 -1
  12. package/dist/{SettingPage-C6Na8HEN.js → SettingPage-C6834qKt.js} +1 -1
  13. package/dist/{SettingTabbar-nuwfRRaE.js → SettingTabbar-C4Nk7PaM.js} +2 -2
  14. package/dist/SettingThemes-CAiwgt41.js +145 -0
  15. package/dist/{SettingToolbar-BdizZaGF.js → SettingToolbar-Bue6Bsao.js} +1 -1
  16. package/dist/{SettingTopbar-D5BX5vS_.js → SettingTopbar-CklZW6nz.js} +2 -2
  17. package/dist/{SettingWidthMode-CHrLW3gs.js → SettingWidthMode-Ba5CjpXS.js} +1 -1
  18. package/dist/{TopThinMode-CttqTmaT.js → TopThinMode-BKgHAbKj.js} +1 -1
  19. package/dist/{_...all_--d4S-8dL.js → _...all_-CiLs5zE0.js} +1 -1
  20. package/dist/{colors-BOKDjZQI.js → colors-ehvAxkYC.js} +1 -1
  21. package/dist/index-64V9RiCt.js +240 -0
  22. package/dist/{index-Cf8yM5Cv.js → index-BK4luc55.js} +4 -4
  23. package/dist/index-BLvVzLOl.js +147 -0
  24. package/dist/{index-DORROKh7.js → index-BjAXx4BA.js} +3 -3
  25. package/dist/{index-dPREgrj8.js → index-C5TqLQ-T.js} +12 -12
  26. package/dist/{index-Bz9lh14R.js → index-CAjh59MN.js} +2 -2
  27. package/dist/{index-B0i20hau.js → index-CqQ-P_1q.js} +4 -4
  28. package/dist/index-DTsHMiQx.js +12711 -0
  29. package/dist/{index-DltN2SCZ.js → index-hjeR7S9d.js} +2 -2
  30. package/dist/index.js +4 -4
  31. package/dist/{menu-Ddxel9ck.js → menu-D3oKigWX.js} +5 -5
  32. package/dist/pages/system/change-organization/index.vue.d.ts +1 -1
  33. package/dist/pages/system/change-password/index.vue.d.ts +1 -1
  34. package/dist/{pick-DEgsMKda.js → pick-Cku6R96i.js} +1 -1
  35. package/dist/request.js +1 -1
  36. package/dist/style.css +1 -1
  37. package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-Bmtn9Oo4.js → toolbar-collapse-BhNN4H7Y.js} +419 -387
  38. package/package.json +3 -3
  39. package/src/layout/components/SettingBar/components/SettingThemes.vue +7 -5
  40. package/src/layout/components/Tools/Preferences/PreferencesContent.vue +2 -1
  41. package/src/layout/components/Tools/index.vue +1 -8
  42. package/src/pages/system/change-organization/index.vue +73 -65
  43. package/src/pages/system/change-password/index.vue +44 -36
  44. package/src/pages/system/not-permission/index.vue +2 -2
  45. package/dist/SettingThemes-DBq6j0zt.js +0 -144
  46. package/dist/index-CC3GE307.js +0 -137
  47. package/dist/index-Cygbc-66.js +0 -230
  48. package/dist/index-D0CMv5FJ.js +0 -12737
  49. package/src/layout/components/Tools/I18nSelector.vue +0 -52
  50. package/src/pages/system/change-password/page.vue +0 -58
@@ -1,7 +1,7 @@
1
- import { u as k, b as B } from "./index-D0CMv5FJ.js";
1
+ import { u as k, b as B } from "./index-DTsHMiQx.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-Ddxel9ck.js";
4
+ import { o as $ } from "./menu-D3oKigWX.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-DBq6j0zt.js")),
25
- SettingsMode: t(() => import("./SettingMode-nZ65qSWK.js")),
26
- SettingWidthMode: t(() => import("./SettingWidthMode-CHrLW3gs.js")),
27
- SettingEnableTransition: t(() => import("./SettingEnableTransition-f0xuLIrZ.js")),
28
- SettingMenu: t(() => import("./SettingMenu-DuPD3iSG.js")),
29
- SettingTopbar: t(() => import("./SettingTopbar-D5BX5vS_.js")),
30
- SettingTabbar: t(() => import("./SettingTabbar-nuwfRRaE.js")),
31
- SettingToolbar: t(() => import("./SettingToolbar-BdizZaGF.js")),
32
- SettingBreadcrumb: t(() => import("./SettingBreadcrumb-DWpbGcSy.js")),
33
- SettingPage: t(() => import("./SettingPage-C6Na8HEN.js")),
34
- SettingNavSearch: t(() => import("./SettingNavSearch-CrarPE7d.js")),
35
- SettingCopyright: t(() => import("./SettingCopyright-CIY0pFMT.js")),
36
- SettingHome: t(() => import("./SettingHome-BFtJsJsN.js")),
37
- SettingOther: t(() => import("./SettingOther-BddvExCF.js"))
24
+ SettingThemes: t(() => import("./SettingThemes-CAiwgt41.js")),
25
+ SettingsMode: t(() => import("./SettingMode-CHFQfbwC.js")),
26
+ SettingWidthMode: t(() => import("./SettingWidthMode-Ba5CjpXS.js")),
27
+ SettingEnableTransition: t(() => import("./SettingEnableTransition-COQvH_bE.js")),
28
+ SettingMenu: t(() => import("./SettingMenu-CL08Xnqj.js")),
29
+ SettingTopbar: t(() => import("./SettingTopbar-CklZW6nz.js")),
30
+ SettingTabbar: t(() => import("./SettingTabbar-C4Nk7PaM.js")),
31
+ SettingToolbar: t(() => import("./SettingToolbar-Bue6Bsao.js")),
32
+ SettingBreadcrumb: t(() => import("./SettingBreadcrumb-DRbL0ad_.js")),
33
+ SettingPage: t(() => import("./SettingPage-C6834qKt.js")),
34
+ SettingNavSearch: t(() => import("./SettingNavSearch-D3EfJLm4.js")),
35
+ SettingCopyright: t(() => import("./SettingCopyright-BQF1UDPx.js")),
36
+ SettingHome: t(() => import("./SettingHome-BL-JRz6C.js")),
37
+ SettingOther: t(() => import("./SettingOther-D8vWJBqB.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 "./menu-Ddxel9ck.js";
2
+ import "./menu-D3oKigWX.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-Bmtn9Oo4.js";
5
+ import { _ as k } from "./toolbar-collapse-BhNN4H7Y.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-CMOw56Mk.js";
2
- import { u as Re, c as Le } from "./index-D0CMv5FJ.js";
3
- import { _ as De } from "./HToggle-Cd71WKvG.js";
4
- import { defineComponent as Ee, shallowRef as te, computed as de, createVNode as l, Transition as je, 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 Qe, normalizeClass as h, normalizeStyle as Xe, withCtx as g, createTextVNode as X } from "vue";
5
- import { themes as Ae } from "@pubinfo/config/themes";
1
+ import { _ as Ee } from "./HCheckList.vue_vue_type_script_setup_true_lang-xHHNH-Do.js";
2
+ import { u as ze, c as Re } from "./index-DTsHMiQx.js";
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 Ne, createElementBlock as r, openBlock as u, createCommentVNode as m, createElementVNode as i, unref as e, isRef as qe, Fragment as We, renderList as Ge, normalizeClass as h, normalizeStyle as Qe, withCtx as g, createTextVNode as X } from "vue";
5
+ import { getThemes as Xe } 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 { aw as Je, au as Ke, a6 as ae, as as Ye, b6 as Ze, a8 as N, az as en, b_ as nn, b$ as tn, c0 as on, c1 as ln, bT as an, an as sn, c2 as dn, bU as rn, aa as un, ap as mn, af as cn, ab as bn, aR as pn, a9 as He, be as yn, L as gn, f as vn, v as fn, aQ as hn } from "./menu-Ddxel9ck.js";
9
- import { p as B } from "./pick-DEgsMKda.js";
8
+ import { aw as Je, au as Ke, a6 as ae, as as Ye, b6 as Ze, a8 as N, az as en, b_ as nn, b$ as tn, c0 as on, c1 as ln, bT as an, an as sn, c2 as dn, bU as rn, aa as un, ap as mn, af as cn, ab as bn, aR as pn, a9 as Ae, be as yn, L as gn, f as vn, v as fn, aQ as hn } from "./menu-D3oKigWX.js";
9
+ import { p as B } from "./pick-Cku6R96i.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,
@@ -21,14 +21,14 @@ const le = (d, o, n, v, w) => ({
21
21
  marginXS: v,
22
22
  marginSM: w,
23
23
  fontSize: O,
24
- fontSizeLG: b,
24
+ fontSizeLG: p,
25
25
  lineHeight: t,
26
- borderRadiusLG: x,
27
- motionEaseInOutCirc: p,
26
+ borderRadiusLG: C,
27
+ motionEaseInOutCirc: b,
28
28
  alertIconSizeLG: c,
29
29
  colorText: M,
30
- paddingContentVerticalSM: C,
31
- alertPaddingHorizontal: $,
30
+ paddingContentVerticalSM: $,
31
+ alertPaddingHorizontal: k,
32
32
  paddingMD: S,
33
33
  paddingContentHorizontalLG: V
34
34
  } = d;
@@ -37,9 +37,9 @@ const le = (d, o, n, v, w) => ({
37
37
  position: "relative",
38
38
  display: "flex",
39
39
  alignItems: "center",
40
- padding: `${C}px ${$}px`,
40
+ padding: `${$}px ${k}px`,
41
41
  wordWrap: "break-word",
42
- borderRadius: x,
42
+ borderRadius: C,
43
43
  [`&${o}-rtl`]: {
44
44
  direction: "rtl"
45
45
  },
@@ -62,9 +62,9 @@ const le = (d, o, n, v, w) => ({
62
62
  [`&${o}-motion-leave`]: {
63
63
  overflow: "hidden",
64
64
  opacity: 1,
65
- transition: `max-height ${n} ${p}, opacity ${n} ${p},
66
- padding-top ${n} ${p}, padding-bottom ${n} ${p},
67
- margin-bottom ${n} ${p}`
65
+ transition: `max-height ${n} ${b}, opacity ${n} ${b},
66
+ padding-top ${n} ${b}, padding-bottom ${n} ${b},
67
+ margin-bottom ${n} ${b}`
68
68
  },
69
69
  [`&${o}-motion-leave-active`]: {
70
70
  maxHeight: 0,
@@ -87,7 +87,7 @@ const le = (d, o, n, v, w) => ({
87
87
  display: "block",
88
88
  marginBottom: v,
89
89
  color: M,
90
- fontSize: b
90
+ fontSize: p
91
91
  },
92
92
  [`${o}-description`]: {
93
93
  display: "block"
@@ -106,21 +106,21 @@ const le = (d, o, n, v, w) => ({
106
106
  colorSuccessBorder: v,
107
107
  colorSuccessBg: w,
108
108
  colorWarning: O,
109
- colorWarningBorder: b,
109
+ colorWarningBorder: p,
110
110
  colorWarningBg: t,
111
- colorError: x,
112
- colorErrorBorder: p,
111
+ colorError: C,
112
+ colorErrorBorder: b,
113
113
  colorErrorBg: c,
114
114
  colorInfo: M,
115
- colorInfoBorder: C,
116
- colorInfoBg: $
115
+ colorInfoBorder: $,
116
+ colorInfoBg: k
117
117
  } = d;
118
118
  return {
119
119
  [o]: {
120
120
  "&-success": le(w, v, n, d, o),
121
- "&-info": le($, C, M, d, o),
122
- "&-warning": le(t, b, O, d, o),
123
- "&-error": ae(ae({}, le(c, p, x, d, o)), {
121
+ "&-info": le(k, $, M, d, o),
122
+ "&-warning": le(t, p, O, d, o),
123
+ "&-error": ae(ae({}, le(c, b, C, d, o)), {
124
124
  [`${o}-description > pre`]: {
125
125
  margin: 0,
126
126
  padding: 0
@@ -135,7 +135,7 @@ const le = (d, o, n, v, w) => ({
135
135
  motionDurationMid: v,
136
136
  marginXS: w,
137
137
  fontSizeIcon: O,
138
- colorIcon: b,
138
+ colorIcon: p,
139
139
  colorIconHover: t
140
140
  } = d;
141
141
  return {
@@ -154,7 +154,7 @@ const le = (d, o, n, v, w) => ({
154
154
  outline: "none",
155
155
  cursor: "pointer",
156
156
  [`${n}-close`]: {
157
- color: b,
157
+ color: p,
158
158
  transition: `color ${v}`,
159
159
  "&:hover": {
160
160
  color: t
@@ -162,7 +162,7 @@ const le = (d, o, n, v, w) => ({
162
162
  }
163
163
  },
164
164
  "&-close-text": {
165
- color: b,
165
+ color: p,
166
166
  transition: `color ${v}`,
167
167
  "&:hover": {
168
168
  color: t
@@ -220,7 +220,7 @@ const le = (d, o, n, v, w) => ({
220
220
  icon: N.any,
221
221
  closeIcon: N.any,
222
222
  onClose: Function
223
- }), Tn = Ee({
223
+ }), Tn = He({
224
224
  compatConfig: {
225
225
  MODE: 3
226
226
  },
@@ -235,11 +235,11 @@ const le = (d, o, n, v, w) => ({
235
235
  expose: O
236
236
  } = o;
237
237
  const {
238
- prefixCls: b,
238
+ prefixCls: p,
239
239
  direction: t
240
- } = en("alert", d), [x, p] = $n(b), c = te(!1), M = te(!1), C = te(), $ = (f) => {
240
+ } = en("alert", d), [C, b] = $n(p), c = te(!1), M = te(!1), $ = te(), k = (f) => {
241
241
  f.preventDefault();
242
- const P = C.value;
242
+ const P = $.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;
@@ -262,24 +262,24 @@ const le = (d, o, n, v, w) => ({
262
262
  } = d;
263
263
  let {
264
264
  closable: j,
265
- showIcon: k
265
+ showIcon: x
266
266
  } = d;
267
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), Q = (D = n.action) === null || D === void 0 ? void 0 : D.call(n);
268
- k = q && k === void 0 ? !0 : k;
268
+ x = q && x === void 0 ? !0 : x;
269
269
  const K = (T ? xn : kn)[V.value] || null;
270
270
  F && (j = !0);
271
- const y = b.value, Y = un(y, {
271
+ const y = p.value, Y = un(y, {
272
272
  [`${y}-${V.value}`]: !0,
273
273
  [`${y}-closing`]: c.value,
274
274
  [`${y}-with-description`]: !!T,
275
- [`${y}-no-icon`]: !k,
275
+ [`${y}-no-icon`]: !x,
276
276
  [`${y}-banner`]: !!q,
277
277
  [`${y}-closable`]: j,
278
278
  [`${y}-rtl`]: t.value === "rtl",
279
- [p.value]: !0
279
+ [b.value]: !0
280
280
  }), Z = j ? l("button", {
281
281
  type: "button",
282
- onClick: $,
282
+ onClick: k,
283
283
  class: `${y}-close-icon`,
284
284
  tabindex: 0
285
285
  }, [F ? l("span", {
@@ -301,15 +301,15 @@ const le = (d, o, n, v, w) => ({
301
301
  I.style.maxHeight = "0px";
302
302
  }
303
303
  });
304
- return x(M.value ? null : l(je, ne, {
305
- default: () => [Fe(l("div", He(He({
304
+ return C(M.value ? null : l(De, ne, {
305
+ default: () => [je(l("div", Ae(Ae({
306
306
  role: "alert"
307
307
  }, w), {}, {
308
308
  style: [w.style, J.value],
309
309
  class: [w.class, Y],
310
310
  "data-show": !c.value,
311
- ref: C
312
- }), [k ? ee : null, l("div", {
311
+ ref: $
312
+ }), [x ? ee : null, l("div", {
313
313
  class: `${y}-content`
314
314
  }, [G ? l("div", {
315
315
  class: `${y}-message`
@@ -317,7 +317,7 @@ const le = (d, o, n, v, w) => ({
317
317
  class: `${y}-description`
318
318
  }, [T]) : null]), Q ? l("div", {
319
319
  class: `${y}-action`
320
- }, [Q]) : null, Z]), [[Ne, !c.value]])]
320
+ }, [Q]) : null, Z]), [[Fe, !c.value]])]
321
321
  }));
322
322
  };
323
323
  }
@@ -412,11 +412,11 @@ const le = (d, o, n, v, w) => ({
412
412
  "w-full": "",
413
413
  "h-100px": "",
414
414
  flex: "~ center"
415
- }, bt = /* @__PURE__ */ Ee({
415
+ }, bt = /* @__PURE__ */ He({
416
416
  name: "PreferenceContent",
417
417
  __name: "PreferencesContent",
418
418
  setup(d) {
419
- const { settingsStore: o } = Re(), n = qe({
419
+ const { settingsStore: o } = ze(), n = Ne({
420
420
  app: B(
421
421
  o.settings.app,
422
422
  [
@@ -478,48 +478,51 @@ const le = (d, o, n, v, w) => ({
478
478
  )
479
479
  }), v = de({
480
480
  get() {
481
- var b;
482
- return ((b = n.value.app) == null ? void 0 : b.colorScheme) === "dark";
481
+ var p;
482
+ return ((p = n.value.app) == null ? void 0 : p.colorScheme) === "dark";
483
483
  },
484
- set(b) {
484
+ set(p) {
485
485
  var t;
486
- (t = n.value.app) != null && t.colorScheme && (n.value.app.colorScheme = b ? "dark" : "light");
486
+ (t = n.value.app) != null && t.colorScheme && (n.value.app.colorScheme = p ? "dark" : "light");
487
487
  }
488
- }), w = de(() => Object.keys(Ae).map((b) => ({
489
- label: b,
490
- value: Ae[b]
491
- })).filter((b) => {
492
- var t;
493
- return b.value["color-scheme"] === ((t = n.value.app) == null ? void 0 : t.colorScheme);
494
- }));
495
- gn(() => n.value, async (b) => {
496
- o.updateSettings(vn(b), !1), await o.setPreferencesSetting(b), fn.success("个人偏好设置成功");
488
+ }), w = de(() => {
489
+ const p = Xe();
490
+ return Object.keys(p).map((t) => ({
491
+ label: t,
492
+ value: p[t]
493
+ })).filter((t) => {
494
+ var C;
495
+ return t.value["color-scheme"] === ((C = n.value.app) == null ? void 0 : C.colorScheme);
496
+ });
497
+ });
498
+ gn(() => n.value, async (p) => {
499
+ o.updateSettings(vn(p), !1), await o.setPreferencesSetting(p), fn.success("个人偏好设置成功");
497
500
  }, {
498
501
  deep: !0
499
502
  });
500
503
  async function O() {
501
504
  await o.resetSettings();
502
505
  }
503
- return (b, t) => {
504
- var $, S, V, J, f, P, U, A, H, E, z, R, L, D, q, W, j, k, F, T, G, _, Q, 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;
505
- const x = _n, p = De, c = Le, M = ze, C = hn;
506
+ return (p, t) => {
507
+ var k, S, V, J, f, P, U, A, H, E, z, R, L, D, q, W, j, x, F, T, G, _, Q, 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
+ const C = _n, b = Le, c = Re, M = Ee, $ = hn;
506
509
  return u(), r("div", null, [
507
- l(x, {
510
+ l(C, {
508
511
  message: "提示",
509
512
  description: "个人偏好设置将覆盖系统默认设置。若需恢复至系统默认配置,请滚动至底部并点击“还原系统设置”按钮。",
510
513
  type: "info"
511
514
  }),
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),
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),
513
516
  (J = e(n).app) != null && J.hasOwnProperty("colorScheme") ? (u(), r("div", Bn, [
514
- l(p, {
517
+ l(b, {
515
518
  modelValue: e(v),
516
- "onUpdate:modelValue": t[0] || (t[0] = (a) => We(v) ? v.value = a : null),
519
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => qe(v) ? v.value = a : null),
517
520
  "on-icon": "i-ri-sun-line",
518
521
  "off-icon": "i-ri-moon-line"
519
522
  }, null, 8, ["modelValue"])
520
523
  ])) : m("", !0),
521
524
  (f = e(n).app) != null && f.hasOwnProperty("lightTheme") && ((P = e(n).app) != null && P.hasOwnProperty("darkTheme")) ? (u(), r("div", Un, [
522
- (u(!0), r(Ge, null, Qe(e(w), (a) => (u(), r("div", {
525
+ (u(!0), r(We, null, Ge(e(w), (a) => (u(), r("div", {
523
526
  key: a.label,
524
527
  class: h(["theme", { active: e(v) ? e(n).app.darkTheme === a.label : e(n).app.lightTheme === a.label }]),
525
528
  onClick: (s) => {
@@ -529,7 +532,7 @@ const le = (d, o, n, v, w) => ({
529
532
  }, [
530
533
  i("div", {
531
534
  class: "content",
532
- style: Xe(`background-color: rgb(${a.value["--ui-primary"]});`)
535
+ style: Qe(`background-color: rgb(${a.value["--ui-primary"]});`)
533
536
  }, null, 4)
534
537
  ], 10, An))), 128))
535
538
  ])) : m("", !0),
@@ -704,7 +707,7 @@ const le = (d, o, n, v, w) => ({
704
707
  ])) : m("", !0),
705
708
  e(o).settings.mainPage.enableTransition && ((z = e(n).mainPage) != null && z.hasOwnProperty("enableTransition")) ? (u(), r("div", Ln, " 页面切换动画 ")) : m("", !0),
706
709
  e(o).settings.mainPage.enableTransition && ((R = e(n).mainPage) != null && R.hasOwnProperty("enableTransition")) ? (u(), r("div", Dn, [
707
- l(p, {
710
+ l(b, {
708
711
  modelValue: e(n).mainPage.enableTransition,
709
712
  "onUpdate:modelValue": t[10] || (t[10] = (a) => e(n).mainPage.enableTransition = a)
710
713
  }, null, 8, ["modelValue"])
@@ -791,7 +794,7 @@ const le = (d, o, n, v, w) => ({
791
794
  _: 1
792
795
  })
793
796
  ])) : m("", !0),
794
- (D = e(n).menu) != null && D.hasOwnProperty("switchMainMenuAndPageJump") || (q = e(n).menu) != null && q.hasOwnProperty("subMenuOnlyOneHide") || (W = e(n).menu) != null && W.hasOwnProperty("subMenuUniqueOpened") || (j = e(n).menu) != null && j.hasOwnProperty("subMenuCollapse") || (k = e(n).menu) != null && k.hasOwnProperty("enableSubMenuCollapseButton") ? (u(), r("div", Fn, " 导航栏 ")) : m("", !0),
797
+ (D = e(n).menu) != null && D.hasOwnProperty("switchMainMenuAndPageJump") || (q = e(n).menu) != null && q.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),
795
798
  (F = e(n).menu) != null && F.hasOwnProperty("subMenuUniqueOpened") ? (u(), r("div", Nn, [
796
799
  i("div", qn, [
797
800
  t[35] || (t[35] = X(" 次导航保持展开一个 ")),
@@ -802,7 +805,7 @@ const le = (d, o, n, v, w) => ({
802
805
  _: 1
803
806
  })
804
807
  ]),
805
- l(p, {
808
+ l(b, {
806
809
  modelValue: e(n).menu.subMenuUniqueOpened,
807
810
  "onUpdate:modelValue": t[16] || (t[16] = (a) => e(n).menu.subMenuUniqueOpened = a),
808
811
  disabled: ["only-side", "only-head"].includes(((T = e(n).menu) == null ? void 0 : T.menuMode) ?? e(o).settings.menu.menuMode)
@@ -810,7 +813,7 @@ const le = (d, o, n, v, w) => ({
810
813
  ])) : m("", !0),
811
814
  (G = e(n).menu) != null && G.hasOwnProperty("subMenuCollapse") ? (u(), r("div", Wn, [
812
815
  t[36] || (t[36] = i("div", { class: "label" }, " 次导航是否折叠 ", -1)),
813
- l(p, {
816
+ l(b, {
814
817
  modelValue: e(n).menu.subMenuCollapse,
815
818
  "onUpdate:modelValue": t[17] || (t[17] = (a) => e(n).menu.subMenuCollapse = a),
816
819
  disabled: ["only-side", "only-head"].includes(((_ = e(n).menu) == null ? void 0 : _.menuMode) ?? e(o).settings.menu.menuMode)
@@ -818,7 +821,7 @@ const le = (d, o, n, v, w) => ({
818
821
  ])) : m("", !0),
819
822
  e(o).mode === "pc" && e(o).settings.menu.enableSubMenuCollapseButton && ((Q = e(n).menu) != null && Q.hasOwnProperty("enableSubMenuCollapseButton")) ? (u(), r("div", Gn, [
820
823
  t[37] || (t[37] = i("div", { class: "label" }, " 显示次导航折叠按钮 ", -1)),
821
- l(p, {
824
+ l(b, {
822
825
  modelValue: e(n).menu.enableSubMenuCollapseButton,
823
826
  "onUpdate:modelValue": t[18] || (t[18] = (a) => e(n).menu.enableSubMenuCollapseButton = a),
824
827
  disabled: ["only-side", "only-head"].includes(((K = e(n).menu) == null ? void 0 : K.menuMode) ?? e(o).settings.menu.menuMode)
@@ -826,7 +829,7 @@ const le = (d, o, n, v, w) => ({
826
829
  ])) : m("", !0),
827
830
  (y = e(n).menu) != null && y.hasOwnProperty("isRounded") ? (u(), r("div", Qn, [
828
831
  t[38] || (t[38] = i("div", { class: "label" }, " 是否圆角 ", -1)),
829
- l(p, {
832
+ l(b, {
830
833
  modelValue: e(n).menu.isRounded,
831
834
  "onUpdate:modelValue": t[19] || (t[19] = (a) => e(n).menu.isRounded = a)
832
835
  }, null, 8, ["modelValue"])
@@ -855,7 +858,7 @@ const le = (d, o, n, v, w) => ({
855
858
  _: 1
856
859
  })
857
860
  ]),
858
- l(p, {
861
+ l(b, {
859
862
  modelValue: e(n).topbar.switchTabbarAndToolbar,
860
863
  "onUpdate:modelValue": t[21] || (t[21] = (a) => e(n).topbar.switchTabbarAndToolbar = a),
861
864
  disabled: !((me = e(n).tabbar) != null && me.enable)
@@ -864,7 +867,7 @@ const le = (d, o, n, v, w) => ({
864
867
  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", Zn, " 标签栏 ")) : m("", !0),
865
868
  e(o).settings.tabbar.enable && ((ge = e(n).tabbar) != null && ge.hasOwnProperty("enable")) ? (u(), r("div", et, [
866
869
  t[41] || (t[41] = i("div", { class: "label" }, " 是否启用 ", -1)),
867
- l(p, {
870
+ l(b, {
868
871
  modelValue: e(n).tabbar.enable,
869
872
  "onUpdate:modelValue": t[22] || (t[22] = (a) => e(n).tabbar.enable = a)
870
873
  }, null, 8, ["modelValue"])
@@ -884,7 +887,7 @@ const le = (d, o, n, v, w) => ({
884
887
  ])) : m("", !0),
885
888
  e(o).settings.tabbar.enable && ((he = e(n).tabbar) != null && he.hasOwnProperty("enableIcon")) ? (u(), r("div", tt, [
886
889
  t[43] || (t[43] = i("div", { class: "label" }, " 是否显示图标 ", -1)),
887
- l(p, {
890
+ l(b, {
888
891
  modelValue: e(n).tabbar.enableIcon,
889
892
  "onUpdate:modelValue": t[24] || (t[24] = (a) => e(n).tabbar.enableIcon = a),
890
893
  disabled: !(((we = e(n).tabbar) == null ? void 0 : we.enable) ?? e(o).settings.tabbar.enable)
@@ -900,7 +903,7 @@ const le = (d, o, n, v, w) => ({
900
903
  _: 1
901
904
  })
902
905
  ]),
903
- l(p, {
906
+ l(b, {
904
907
  modelValue: e(n).tabbar.enableMemory,
905
908
  "onUpdate:modelValue": t[25] || (t[25] = (a) => e(n).tabbar.enableMemory = a),
906
909
  disabled: !(((Pe = e(n).tabbar) == null ? void 0 : Pe.enable) ?? e(o).settings.tabbar.enable)
@@ -909,7 +912,7 @@ const le = (d, o, n, v, w) => ({
909
912
  e(o).mode === "pc" && e(o).settings.breadcrumb.enable && ((Oe = e(n).breadcrumb) != null && Oe.hasOwnProperty("enable") || (Ce = e(n).breadcrumb) != null && Ce.hasOwnProperty("style") || ($e = e(n).breadcrumb) != null && $e.hasOwnProperty("enableMainMenu")) ? (u(), r("div", at, " 面包屑导航 ")) : m("", !0),
910
913
  e(o).mode === "pc" && e(o).settings.breadcrumb.enable && ((ke = e(n).breadcrumb) != null && ke.hasOwnProperty("enable")) ? (u(), r("div", st, [
911
914
  t[45] || (t[45] = i("div", { class: "label" }, " 是否启用 ", -1)),
912
- l(p, {
915
+ l(b, {
913
916
  modelValue: e(n).breadcrumb.enable,
914
917
  "onUpdate:modelValue": t[26] || (t[26] = (a) => e(n).breadcrumb.enable = a)
915
918
  }, null, 8, ["modelValue"])
@@ -928,7 +931,7 @@ const le = (d, o, n, v, w) => ({
928
931
  ])) : m("", !0),
929
932
  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
933
  t[47] || (t[47] = i("div", { class: "label" }, " 是否显示主导航 ", -1)),
931
- l(p, {
934
+ l(b, {
932
935
  modelValue: e(n).breadcrumb.enableMainMenu,
933
936
  "onUpdate:modelValue": t[28] || (t[28] = (a) => e(n).breadcrumb.enableMainMenu = a),
934
937
  disabled: ["single"].includes(((Te = e(n).menu) == null ? void 0 : Te.menuMode) ?? e(o).settings.menu.menuMode)
@@ -945,13 +948,13 @@ const le = (d, o, n, v, w) => ({
945
948
  _: 1
946
949
  })
947
950
  ]),
948
- l(p, {
951
+ l(b, {
949
952
  modelValue: e(n).app.enableProgress,
950
953
  "onUpdate:modelValue": t[29] || (t[29] = (a) => e(n).app.enableProgress = a)
951
954
  }, null, 8, ["modelValue"])
952
955
  ])) : m("", !0),
953
956
  i("div", ct, [
954
- l(C, {
957
+ l($, {
955
958
  "w-full": "",
956
959
  type: "primary",
957
960
  size: "large",
@@ -966,7 +969,7 @@ const le = (d, o, n, v, w) => ({
966
969
  ]);
967
970
  };
968
971
  }
969
- }), Ct = /* @__PURE__ */ wn(bt, [["__scopeId", "data-v-27c79d12"]]);
972
+ }), Ct = /* @__PURE__ */ wn(bt, [["__scopeId", "data-v-fd8a1ac2"]]);
970
973
  export {
971
974
  Ct as default
972
975
  };
@@ -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-CMOw56Mk.js";
2
+ import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-xHHNH-Do.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-D0CMv5FJ.js";
5
+ import { u as v } from "./index-DTsHMiQx.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-D0CMv5FJ.js";
5
+ import { u as v } from "./index-DTsHMiQx.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-D0CMv5FJ.js";
2
+ import { u as k, c as x } from "./index-DTsHMiQx.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-D0CMv5FJ.js";
4
+ import { u as b, c as x } from "./index-DTsHMiQx.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-CMOw56Mk.js";
2
+ import { _ as v } from "./HCheckList.vue_vue_type_script_setup_true_lang-xHHNH-Do.js";
3
3
  import { _ as g } from "./HToggle-Cd71WKvG.js";
4
- import { u as M, c as y } from "./index-D0CMv5FJ.js";
4
+ import { u as M, c as y } from "./index-DTsHMiQx.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-D0CMv5FJ.js";
2
+ import { u as v, c as f } from "./index-DTsHMiQx.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-D0CMv5FJ.js";
3
+ import { u as p, c } from "./index-DTsHMiQx.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-D0CMv5FJ.js";
3
+ import { u as b, c as S } from "./index-DTsHMiQx.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-D0CMv5FJ.js";
4
+ import { u as f } from "./index-DTsHMiQx.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-D0CMv5FJ.js";
2
+ import { u as w, c as y } from "./index-DTsHMiQx.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-CMOw56Mk.js";
4
+ import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-xHHNH-Do.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 = {