@pubinfo/core 2.0.0-beta.26 → 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.
Files changed (63) hide show
  1. package/dist/{AppSetting-DodCOb_z.js → AppSetting-DMJZXmzA.js} +21 -20
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CMOw56Mk.js → HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
  3. package/dist/{PreferencesContent-Dic24ifo.js → PreferencesContent-BniiAnvk.js} +117 -113
  4. package/dist/{SettingBreadcrumb-DWpbGcSy.js → SettingBreadcrumb-C4f3EHvJ.js} +2 -2
  5. package/dist/{SettingCopyright-CIY0pFMT.js → SettingCopyright-BfIv7JmX.js} +1 -1
  6. package/dist/{SettingEnableTransition-f0xuLIrZ.js → SettingEnableTransition-ltxmSAel.js} +1 -1
  7. package/dist/{SettingHome-BFtJsJsN.js → SettingHome-D3YO-Jml.js} +1 -1
  8. package/dist/{SettingMenu-DuPD3iSG.js → SettingMenu-BFPc8wk1.js} +2 -2
  9. package/dist/{SettingMode-nZ65qSWK.js → SettingMode-FWqs1ki-.js} +1 -1
  10. package/dist/{SettingNavSearch-CrarPE7d.js → SettingNavSearch-CNH2GsIA.js} +1 -1
  11. package/dist/{SettingOther-BddvExCF.js → SettingOther-DeKEcGIY.js} +1 -1
  12. package/dist/{SettingPage-C6Na8HEN.js → SettingPage-CvRmxfR7.js} +1 -1
  13. package/dist/{SettingTabbar-nuwfRRaE.js → SettingTabbar-C7I7s-0s.js} +2 -2
  14. package/dist/SettingThemes-DzQ2YBRN.js +145 -0
  15. package/dist/{SettingToolbar-BdizZaGF.js → SettingToolbar-BPj0XLJ3.js} +1 -1
  16. package/dist/{SettingTopbar-D5BX5vS_.js → SettingTopbar-DVlc3dq-.js} +2 -2
  17. package/dist/{SettingWidthMode-CHrLW3gs.js → SettingWidthMode-BzNU65dj.js} +1 -1
  18. package/dist/{TopThinMode-CttqTmaT.js → TopThinMode-DSO5USf6.js} +1 -1
  19. package/dist/{_...all_--d4S-8dL.js → _...all_-6l5FWUkL.js} +1 -1
  20. package/dist/{colors-BOKDjZQI.js → colors-DiWJrScm.js} +1 -1
  21. package/dist/components/PubinfoIcon/register.d.ts +9 -0
  22. package/dist/{index-Cygbc-66.js → index-Be7jJtXg.js} +33 -31
  23. package/dist/{index-CC3GE307.js → index-BmMbAV1Y.js} +34 -30
  24. package/dist/{index-D0CMv5FJ.js → index-CXsL0aQN.js} +5618 -5248
  25. package/dist/{index-B0i20hau.js → index-CfasTv4x.js} +6 -6
  26. package/dist/{index-Bz9lh14R.js → index-Ckgil96Y.js} +30 -30
  27. package/dist/{index-DltN2SCZ.js → index-De_ME_Ws.js} +2 -2
  28. package/dist/{index-dPREgrj8.js → index-Md7zV10q.js} +12 -12
  29. package/dist/{index-DORROKh7.js → index-XnF26Tbt.js} +3 -3
  30. package/dist/{index-Cf8yM5Cv.js → index-bsi-FZDt.js} +11 -9
  31. package/dist/index.js +33 -32
  32. package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-Bmtn9Oo4.js → index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js} +315 -297
  33. package/dist/interface.d.ts +2 -0
  34. package/dist/layout/Layout.vue.d.ts +2 -2
  35. package/dist/{menu-Ddxel9ck.js → menu-CC5544p-.js} +3202 -3184
  36. package/dist/{pick-DEgsMKda.js → pick-CJo2YiT-.js} +1 -1
  37. package/dist/request.js +399 -390
  38. package/dist/route/routes.d.ts +6 -4
  39. package/dist/style.css +2 -2
  40. package/dist/utils/index.d.ts +6 -0
  41. package/package.json +26 -26
  42. package/src/api/modules/configData/xitongpeizhifuwu.ts +3 -3
  43. package/src/components/PubinfoApp/index.vue +1 -1
  44. package/src/components/PubinfoIcon/index.vue +3 -1
  45. package/src/components/PubinfoIcon/register.ts +19 -0
  46. package/src/components/PubinfoProvider/index.ts +1 -2
  47. package/src/create.ts +7 -0
  48. package/src/interface.ts +2 -0
  49. package/src/layout/Layout.vue +50 -59
  50. package/src/layout/components/Content/index.vue +34 -13
  51. package/src/layout/components/SettingBar/components/SettingThemes.vue +7 -5
  52. package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
  53. package/src/layout/components/Tools/Preferences/PreferencesContent.vue +2 -1
  54. package/src/layout/components/Tools/index.vue +1 -8
  55. package/src/layout/provider.ts +7 -1
  56. package/src/pages/system/not-permission/index.vue +2 -2
  57. package/src/route/routes.ts +26 -8
  58. package/src/stores/modules/route.ts +10 -2
  59. package/src/utils/index.ts +14 -0
  60. package/types/vue-router.d.ts +3 -1
  61. package/dist/SettingThemes-DBq6j0zt.js +0 -144
  62. package/src/layout/components/Tools/I18nSelector.vue +0 -52
  63. package/src/pages/system/change-password/page.vue +0 -58
@@ -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-B3wESRn7.js";
2
+ import { u as ze, c as Re } from "./index-CXsL0aQN.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 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 { 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 { 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,
@@ -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
@@ -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 = Je("Alert", (d) => {
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: N.oneOf(Sn),
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: N.any,
203
+ closeText: q.any,
204
204
  /** Content of Alert */
205
- message: N.any,
205
+ message: q.any,
206
206
  /** Additional content of Alert */
207
- description: N.any,
207
+ description: q.any,
208
208
  /** Trigger when animation ending of Alert */
209
209
  afterClose: Function,
210
210
  /** Whether to show icon */
@@ -217,10 +217,10 @@ const le = (d, o, n, v, w) => ({
217
217
  type: Boolean,
218
218
  default: void 0
219
219
  },
220
- icon: N.any,
221
- closeIcon: N.any,
220
+ icon: q.any,
221
+ closeIcon: q.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;
@@ -253,33 +253,33 @@ const le = (d, o, n, v, w) => ({
253
253
  O({
254
254
  animationEnd: S
255
255
  });
256
- const J = te({});
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: q,
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
- showIcon: k
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), Q = (D = n.action) === null || D === void 0 ? void 0 : D.call(n);
268
- k = q && k === void 0 ? !0 : k;
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
- 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,
276
- [`${y}-banner`]: !!q,
275
+ [`${y}-no-icon`]: !x,
276
+ [`${y}-banner`]: !!N,
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,23 +301,23 @@ 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
- style: [w.style, J.value],
308
+ style: [w.style, Q.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`
316
316
  }, [G]) : null, T ? l("div", {
317
317
  class: `${y}-description`
318
- }, [T]) : null]), Q ? l("div", {
318
+ }, [T]) : null]), X ? l("div", {
319
319
  class: `${y}-action`
320
- }, [Q]) : null, Z]), [[Ne, !c.value]])]
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
- }, Nn = {
357
+ }, qn = {
358
358
  key: 11,
359
359
  class: "setting-item"
360
- }, qn = { class: "label" }, Wn = {
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
- }, Qn = {
366
+ }, Xn = {
367
367
  key: 14,
368
368
  class: "setting-item"
369
- }, Xn = {
369
+ }, Jn = {
370
370
  key: 15,
371
371
  class: "setting-item"
372
- }, Jn = {
372
+ }, Qn = {
373
373
  key: 16,
374
374
  class: "divider"
375
375
  }, Kn = {
@@ -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 = qe({
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 = Je();
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, 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
+ 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),
513
- (J = e(n).app) != null && J.hasOwnProperty("colorScheme") ? (u(), r("div", Bn, [
514
- l(p, {
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
+ (Q = e(n).app) != null && Q.hasOwnProperty("colorScheme") ? (u(), r("div", Bn, [
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) => Ne(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) => {
@@ -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,10 +794,10 @@ 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),
795
- (F = e(n).menu) != null && F.hasOwnProperty("subMenuUniqueOpened") ? (u(), r("div", Nn, [
796
- i("div", qn, [
797
- t[35] || (t[35] = X(" 次导航保持展开一个 ")),
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(" 次导航保持展开一个 ")),
798
801
  l(c, { text: "开启该功能后,次导航只保持单个菜单的展开" }, {
799
802
  default: g(() => [
800
803
  l(e(oe))
@@ -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,28 +813,28 @@ 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)
817
820
  }, null, 8, ["modelValue", "disabled"])
818
821
  ])) : m("", !0),
819
- e(o).mode === "pc" && e(o).settings.menu.enableSubMenuCollapseButton && ((Q = e(n).menu) != null && Q.hasOwnProperty("enableSubMenuCollapseButton")) ? (u(), r("div", Gn, [
822
+ e(o).mode === "pc" && e(o).settings.menu.enableSubMenuCollapseButton && ((X = e(n).menu) != null && X.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)
825
828
  }, null, 8, ["modelValue", "disabled"])
826
829
  ])) : m("", !0),
827
- (y = e(n).menu) != null && y.hasOwnProperty("isRounded") ? (u(), r("div", Qn, [
830
+ (y = e(n).menu) != null && y.hasOwnProperty("isRounded") ? (u(), r("div", Xn, [
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"])
833
836
  ])) : m("", !0),
834
- (((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", Xn, [
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, [
835
838
  t[39] || (t[39] = i("div", { class: "label" }, " 激活风格 ", -1)),
836
839
  l(M, {
837
840
  modelValue: e(n).menu.menuActiveStyle,
@@ -844,10 +847,10 @@ const le = (d, o, n, v, w) => ({
844
847
  ]
845
848
  }, null, 8, ["modelValue", "options"])
846
849
  ])) : m("", !0),
847
- (I = e(n).topbar) != null && I.hasOwnProperty("mode") || (re = e(n).topbar) != null && re.hasOwnProperty("switchTabbarAndToolbar") ? (u(), r("div", Jn, " 顶栏 ")) : m("", !0),
850
+ (I = e(n).topbar) != null && I.hasOwnProperty("mode") || (re = e(n).topbar) != null && re.hasOwnProperty("switchTabbarAndToolbar") ? (u(), r("div", Qn, " 顶栏 ")) : m("", !0),
848
851
  (ue = e(n).topbar) != null && ue.hasOwnProperty("switchTabbarAndToolbar") ? (u(), r("div", Kn, [
849
852
  i("div", Yn, [
850
- t[40] || (t[40] = X(" 展示切换 ")),
853
+ t[40] || (t[40] = J(" 展示切换 ")),
851
854
  l(c, { text: "切换标签栏和工具栏的展示顺序" }, {
852
855
  default: g(() => [
853
856
  l(e(oe))
@@ -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)
@@ -892,7 +895,7 @@ const le = (d, o, n, v, w) => ({
892
895
  ])) : m("", !0),
893
896
  e(o).settings.tabbar.enable && ((Me = e(n).tabbar) != null && Me.hasOwnProperty("enableMemory")) ? (u(), r("div", ot, [
894
897
  i("div", lt, [
895
- t[44] || (t[44] = X(" 是否启用记忆功能 ")),
898
+ t[44] || (t[44] = J(" 是否启用记忆功能 ")),
896
899
  l(c, { text: "开启该功能后,非固定和非常驻的标签页将在本次会话窗口中始终存在,刷新浏览器或重新登录时不会丢失" }, {
897
900
  default: g(() => [
898
901
  l(e(oe))
@@ -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)
@@ -937,7 +940,7 @@ const le = (d, o, n, v, w) => ({
937
940
  (_e = e(n).app) != null && _e.hasOwnProperty("enableProgress") ? (u(), r("div", rt, " 其它 ")) : m("", !0),
938
941
  e(o).settings.app.enableProgress && ((Ie = e(n).app) != null && Ie.hasOwnProperty("enableProgress")) ? (u(), r("div", ut, [
939
942
  i("div", mt, [
940
- t[48] || (t[48] = X(" 载入进度条 ")),
943
+ t[48] || (t[48] = J(" 载入进度条 ")),
941
944
  l(c, { text: "该功能开启时,跳转路由会看到页面顶部有进度条" }, {
942
945
  default: g(() => [
943
946
  l(e(oe))
@@ -945,28 +948,29 @@ 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",
958
961
  onClick: O
959
962
  }, {
960
963
  default: g(() => t[49] || (t[49] = [
961
- X(" 还原系统设置 ")
964
+ J(" 还原系统设置 ")
962
965
  ])),
963
- _: 1
966
+ _: 1,
967
+ __: [49]
964
968
  })
965
969
  ])
966
970
  ]);
967
971
  };
968
972
  }
969
- }), Ct = /* @__PURE__ */ wn(bt, [["__scopeId", "data-v-27c79d12"]]);
973
+ }), Ct = /* @__PURE__ */ wn(bt, [["__scopeId", "data-v-fd8a1ac2"]]);
970
974
  export {
971
975
  Ct as default
972
976
  };
@@ -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-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-D0CMv5FJ.js";
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-D0CMv5FJ.js";
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-D0CMv5FJ.js";
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-D0CMv5FJ.js";
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-CMOw56Mk.js";
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-D0CMv5FJ.js";
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-D0CMv5FJ.js";
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-D0CMv5FJ.js";
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-D0CMv5FJ.js";
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";