@pubinfo/core 2.0.13 → 2.0.14

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 (73) hide show
  1. package/dist/{AppSetting-Df8mPhxN.js → AppSetting-Bfabd02_.js} +27 -27
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CD2VmdPG.js → HCheckList.vue_vue_type_script_setup_true_lang-LHEWLVoX.js} +1 -1
  3. package/dist/{HToggle-CcxWxVmB.js → HToggle-B3C623BZ.js} +1 -1
  4. package/dist/HeaderThinMenu-B6cpu5jx.js +4 -0
  5. package/dist/{PreferencesContent-Bu8-g2qs.js → PreferencesContent-B42MPjzA.js} +57 -57
  6. package/dist/{SettingBreadcrumb-CTLEf4nt.js → SettingBreadcrumb-D3GS-3MN.js} +5 -5
  7. package/dist/{SettingCopyright-B_ZS9FXO.js → SettingCopyright-KDpCggiE.js} +4 -4
  8. package/dist/{SettingEnableTransition-DgZyY8Rh.js → SettingEnableTransition-BF27WYg0.js} +14 -14
  9. package/dist/{SettingHome-BN6WzWxX.js → SettingHome-DWyDzFcn.js} +4 -4
  10. package/dist/{SettingMenu-CNgEpRN_.js → SettingMenu-Dz0fbIa3.js} +4 -4
  11. package/dist/{SettingMode-B_Sf7CqN.js → SettingMode-AD_S9ZkO.js} +9 -9
  12. package/dist/{SettingNavSearch-SQuD6lr7.js → SettingNavSearch-oWIPjQFc.js} +4 -4
  13. package/dist/{SettingOther-CrgOHNra.js → SettingOther-ZlPSoHz3.js} +10 -10
  14. package/dist/{SettingPage-B4hfRME8.js → SettingPage-BnwAMror.js} +2 -2
  15. package/dist/{SettingTabbar-7EcsmyZo.js → SettingTabbar-Vvz-1zTa.js} +25 -25
  16. package/dist/{SettingThemes-CVjQoEk4.js → SettingThemes-CLhV2OOt.js} +16 -16
  17. package/dist/{SettingToolbar-Bls_SdlL.js → SettingToolbar-nCkGwG2H.js} +7 -7
  18. package/dist/{SettingTopbar-jqUqG5vW.js → SettingTopbar-DMujCz4n.js} +5 -5
  19. package/dist/{SettingWidthMode-8LFo6UKy.js → SettingWidthMode-7qsluuMR.js} +3 -3
  20. package/dist/core/resolver/layout.d.ts +1 -1
  21. package/dist/features/api/modules/auth/renzhengfuwu.d.ts +43 -1
  22. package/dist/features/api/modules/rbac/index.d.ts +1 -0
  23. package/dist/features/api/modules/rbac/yonghujiekou.d.ts +7 -0
  24. package/dist/features/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +43 -0
  25. package/dist/features/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
  26. package/dist/features/enum.d.ts +0 -1
  27. package/dist/features/stores/modules/iframe.d.ts +3 -3
  28. package/dist/{index-Dw9-vGGZ.js → index-2Zh2rSjN.js} +8551 -7697
  29. package/dist/{index-Dalsj2EI.js → index-BN5BYOEh.js} +12012 -11892
  30. package/dist/{index-Bl4PBBmY.js → index-BaRQkDKe.js} +1 -1
  31. package/dist/{index-C6HIzbdv.js → index-D210UZpV.js} +1 -1
  32. package/dist/{index-Cc8zVLOC.js → index-DQnnCCLU.js} +4 -4
  33. package/dist/{index-BX0RSX9i.js → index-DSNuCtw6.js} +1 -1
  34. package/dist/{index-Cjl98Ty_.js → index-XjjX4TvH.js} +17 -17
  35. package/dist/index-iASxH_cj.js +4 -0
  36. package/dist/index.js +27 -27
  37. package/dist/{pick-Cghe_Z7L.js → pick-BZcCK3Xe.js} +1 -1
  38. package/dist/style.css +1 -1
  39. package/package.json +14 -9
  40. package/runtime/components/PubinfoDev/index.d.ts +18 -0
  41. package/runtime/components/PubinfoDev/index.js +15 -0
  42. package/runtime/components/index.d.ts +1 -0
  43. package/runtime/components/index.js +1 -0
  44. package/runtime/index.d.ts +1 -0
  45. package/runtime/index.js +1 -0
  46. package/src/built-in/authorization/router.ts +1 -1
  47. package/src/built-in/layout-component/components/Content/IframeView.vue +16 -11
  48. package/src/built-in/layout-component/components/Content/index.vue +2 -1
  49. package/src/built-in/settings/router.ts +15 -4
  50. package/src/built-in/system-info/components/SystemInfo.vue +67 -37
  51. package/src/core/resolver/layout.ts +13 -3
  52. package/src/features/api/modules/auth/index.ts +0 -2
  53. package/src/features/api/modules/auth/renzhengfuwu.ts +132 -1
  54. package/src/features/api/modules/auth/typings.d.ts +75 -1
  55. package/src/features/api/modules/configData/heibaimingdanfuwu.ts +2 -0
  56. package/src/features/api/modules/configData/index.ts +0 -2
  57. package/src/features/api/modules/configData/zidifuwu.ts +4 -0
  58. package/src/features/api/modules/rbac/gangweijiekou.ts +3 -0
  59. package/src/features/api/modules/rbac/index.ts +1 -2
  60. package/src/features/api/modules/rbac/typings.d.ts +97 -1
  61. package/src/features/api/modules/rbac/yonghujiekou.ts +25 -0
  62. package/src/features/api/modules/rbac/yonghushoucangbiaojiekou.ts +2 -0
  63. package/src/features/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +1 -0
  64. package/src/features/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.ts +158 -0
  65. package/src/features/api/modules/rbac/ziyuanjiekou.ts +21 -0
  66. package/src/features/enum.ts +1 -1
  67. package/src/features/stores/modules/iframe.ts +12 -3
  68. package/src/features/stores/modules/route.ts +3 -2
  69. package/types/global.d.ts +5 -0
  70. package/types/vue-router.d.ts +2 -2
  71. package/dist/HeaderThinMenu-BMjyPDYS.js +0 -4
  72. package/dist/index-CUbMQSBZ.js +0 -4
  73. package/src/features/components/MicroAppContainer/index.vue +0 -9
@@ -1,37 +1,37 @@
1
- import { cD as k, cJ as B, cK as H, _ as w, b as A } from "./index-Dalsj2EI.js";
2
- import { markRaw as E, createElementBlock as h, openBlock as a, createElementVNode as i, defineComponent as N, defineAsyncComponent as t, useModel as z, computed as u, watch as g, createBlock as S, createSlots as D, withCtx as p, Fragment as O, renderList as P, unref as c, resolveDynamicComponent as W, createVNode as f, createTextVNode as $ } from "vue";
3
- import I from "vue-m-message";
4
- import { useRoute as J } from "vue-router";
5
- const R = {
1
+ import { cK as k, cQ as B, cR as H, _ as w, b as A } from "./index-BN5BYOEh.js";
2
+ import { markRaw as E, createElementBlock as h, openBlock as a, createElementVNode as i, defineComponent as N, defineAsyncComponent as t, useModel as z, computed as u, watch as g, createBlock as S, createSlots as O, withCtx as p, Fragment as P, renderList as R, unref as c, resolveDynamicComponent as W, createVNode as f, createTextVNode as $ } from "vue";
3
+ import D from "vue-m-message";
4
+ import { useRoute as I } from "vue-router";
5
+ const F = {
6
6
  viewBox: "0 0 1024 1024",
7
7
  width: "1.2em",
8
8
  height: "1.2em"
9
9
  };
10
- function F(l, o) {
11
- return a(), h("svg", R, o[0] || (o[0] = [
10
+ function J(l, o) {
11
+ return a(), h("svg", F, o[0] || (o[0] = [
12
12
  i("path", {
13
13
  fill: "currentColor",
14
14
  d: "M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"
15
15
  }, null, -1)
16
16
  ]));
17
17
  }
18
- const K = E({ name: "ep-document-copy", render: F }), L = { class: "settong-warp" }, U = /* @__PURE__ */ N({
18
+ const K = E({ name: "ep-document-copy", render: J }), L = { class: "settong-warp" }, Q = /* @__PURE__ */ N({
19
19
  name: "AppSetting",
20
20
  components: {
21
- SettingThemes: t(() => import("./SettingThemes-CVjQoEk4.js")),
22
- SettingsMode: t(() => import("./SettingMode-B_Sf7CqN.js")),
23
- SettingWidthMode: t(() => import("./SettingWidthMode-8LFo6UKy.js")),
24
- SettingEnableTransition: t(() => import("./SettingEnableTransition-DgZyY8Rh.js")),
25
- SettingMenu: t(() => import("./SettingMenu-CNgEpRN_.js")),
26
- SettingTopbar: t(() => import("./SettingTopbar-jqUqG5vW.js")),
27
- SettingTabbar: t(() => import("./SettingTabbar-7EcsmyZo.js")),
28
- SettingToolbar: t(() => import("./SettingToolbar-Bls_SdlL.js")),
29
- SettingBreadcrumb: t(() => import("./SettingBreadcrumb-CTLEf4nt.js")),
30
- SettingPage: t(() => import("./SettingPage-B4hfRME8.js")),
31
- SettingNavSearch: t(() => import("./SettingNavSearch-SQuD6lr7.js")),
32
- SettingCopyright: t(() => import("./SettingCopyright-B_ZS9FXO.js")),
33
- SettingHome: t(() => import("./SettingHome-BN6WzWxX.js")),
34
- SettingOther: t(() => import("./SettingOther-CrgOHNra.js"))
21
+ SettingThemes: t(() => import("./SettingThemes-CLhV2OOt.js")),
22
+ SettingsMode: t(() => import("./SettingMode-AD_S9ZkO.js")),
23
+ SettingWidthMode: t(() => import("./SettingWidthMode-7qsluuMR.js")),
24
+ SettingEnableTransition: t(() => import("./SettingEnableTransition-BF27WYg0.js")),
25
+ SettingMenu: t(() => import("./SettingMenu-Dz0fbIa3.js")),
26
+ SettingTopbar: t(() => import("./SettingTopbar-DMujCz4n.js")),
27
+ SettingTabbar: t(() => import("./SettingTabbar-Vvz-1zTa.js")),
28
+ SettingToolbar: t(() => import("./SettingToolbar-nCkGwG2H.js")),
29
+ SettingBreadcrumb: t(() => import("./SettingBreadcrumb-D3GS-3MN.js")),
30
+ SettingPage: t(() => import("./SettingPage-BnwAMror.js")),
31
+ SettingNavSearch: t(() => import("./SettingNavSearch-oWIPjQFc.js")),
32
+ SettingCopyright: t(() => import("./SettingCopyright-KDpCggiE.js")),
33
+ SettingHome: t(() => import("./SettingHome-DWyDzFcn.js")),
34
+ SettingOther: t(() => import("./SettingOther-ZlPSoHz3.js"))
35
35
  },
36
36
  __name: "AppSetting",
37
37
  props: {
@@ -40,7 +40,7 @@ const K = E({ name: "ep-document-copy", render: F }), L = { class: "settong-warp
40
40
  },
41
41
  emits: ["update:open"],
42
42
  setup(l) {
43
- const o = z(l, "open"), v = J(), { settingsStore: m, menuStore: d } = k(), _ = u(() => m.mode !== "pc"), b = u(() => T(
43
+ const o = z(l, "open"), v = I(), { settingsStore: m, menuStore: d } = k(), _ = u(() => m.mode !== "pc"), b = u(() => T(
44
44
  [
45
45
  "SettingThemes",
46
46
  "SettingsMode",
@@ -69,7 +69,7 @@ const K = E({ name: "ep-document-copy", render: F }), L = { class: "settong-warp
69
69
  });
70
70
  const { copy: M, copied: y, isSupported: C } = B();
71
71
  g(y, (n) => {
72
- n && I.success("复制成功,请粘贴到 src/settings.ts 文件中!", {
72
+ n && D.success("复制成功,请粘贴到 src/settings.ts 文件中!", {
73
73
  zIndex: 2e3
74
74
  });
75
75
  });
@@ -85,14 +85,14 @@ const K = E({ name: "ep-document-copy", render: F }), L = { class: "settong-warp
85
85
  modelValue: o.value,
86
86
  "onUpdate:modelValue": e[0] || (e[0] = (s) => o.value = s),
87
87
  title: "应用配置"
88
- }, D({
88
+ }, O({
89
89
  default: p(() => [
90
90
  i("div", L, [
91
91
  e[1] || (e[1] = i("div", { class: "rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose" }, [
92
92
  i("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),
93
93
  i("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")
94
94
  ], -1)),
95
- (a(!0), h(O, null, P(c(b), (s) => (a(), S(W(s), { key: s }))), 128))
95
+ (a(!0), h(P, null, R(c(b), (s) => (a(), S(W(s), { key: s }))), 128))
96
96
  ])
97
97
  ]),
98
98
  _: 2
@@ -117,7 +117,7 @@ const K = E({ name: "ep-document-copy", render: F }), L = { class: "settong-warp
117
117
  ]), 1032, ["modelValue"]);
118
118
  };
119
119
  }
120
- }), X = /* @__PURE__ */ A(U, [["__scopeId", "data-v-10c15033"]]);
120
+ }), X = /* @__PURE__ */ A(Q, [["__scopeId", "data-v-10c15033"]]);
121
121
  export {
122
122
  X as default
123
123
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, watch as u, createElementBlock as n, openBlock as a, Fragment as s, renderList as m, normalizeClass as p, createBlock as b, unref as f, createTextVNode as h, toDisplayString as k } from "vue";
2
- import { cv as y } from "./index-Dalsj2EI.js";
2
+ import { cC as y } from "./index-BN5BYOEh.js";
3
3
  import "pinia";
4
4
  const _ = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, g = ["disabled", "onClick"], w = /* @__PURE__ */ c({
5
5
  __name: "HCheckList",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as c, createElementBlock as m, openBlock as r, withDirectives as i, createElementVNode as n, isRef as _, vModelCheckbox as f, unref as b } from "vue";
2
- import { b as g } from "./index-Dalsj2EI.js";
2
+ import { b as g } from "./index-BN5BYOEh.js";
3
3
  const V = { class: "switch" }, k = /* @__PURE__ */ u({
4
4
  __name: "HToggle",
5
5
  props: {
@@ -0,0 +1,4 @@
1
+ import { cE as f } from "./index-BN5BYOEh.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,18 +1,18 @@
1
- import { _ as re } from "./HCheckList.vue_vue_type_script_setup_true_lang-CD2VmdPG.js";
2
- import { y as ue, A as me, e as E, E as ce, aG as be, P as k, g as pe, cy as ye, cz as ge, cA as ve, cB as fe, co as he, aY as we, cC as Me, cp as Pe, m as Ce, ap as Oe, i as $e, p as ke, X as xe, j as ne, b9 as Se, cD as Ve, cE as Te, cl as _e, c9 as Ie, cF as Be, N as Ae, b as Ue } from "./index-Dalsj2EI.js";
3
- import { _ as He } from "./HToggle-CcxWxVmB.js";
4
- import { defineComponent as te, shallowRef as A, computed as Q, createVNode as a, Transition as Ee, withDirectives as ze, vShow as Re, ref as Le, createElementBlock as d, openBlock as r, createCommentVNode as u, createElementVNode as s, unref as e, isRef as De, Fragment as je, renderList as Fe, normalizeClass as v, normalizeStyle as Ne, withCtx as b, createTextVNode as V } from "vue";
5
- import { getThemes as qe } from "@pubinfo/config/themes";
1
+ import { _ as re } from "./HCheckList.vue_vue_type_script_setup_true_lang-LHEWLVoX.js";
2
+ import { y as ue, A as me, e as E, E as ce, aG as be, P as k, g as pe, cF as ye, cG as ge, cH as ve, cI as fe, cv as he, aY as we, cJ as Me, cw as Pe, m as Oe, ap as Ce, i as $e, p as ke, X as xe, j as ne, bb as Se, cK as Ve, cL as Te, cs as _e, cg as Ie, cM as Be, N as Ue, b as Ae } from "./index-BN5BYOEh.js";
3
+ import { _ as He } from "./HToggle-B3C623BZ.js";
4
+ import { defineComponent as te, shallowRef as U, computed as K, createVNode as a, Transition as Ee, withDirectives as ze, vShow as Le, ref as Re, createElementBlock as d, openBlock as r, createCommentVNode as u, createElementVNode as s, unref as e, isRef as je, Fragment as De, renderList as Fe, normalizeClass as v, normalizeStyle as Ne, withCtx as b, createTextVNode as V } from "vue";
5
+ import { getThemes as Ge } from "@pubinfo/config/themes";
6
6
  import { E as X, a as J } from "./right-Bfe2p1o0.js";
7
- import { R as U } from "./question-line-CfkciTFq.js";
8
- import { p as $ } from "./pick-Cghe_Z7L.js";
7
+ import { R as A } from "./question-line-CfkciTFq.js";
8
+ import { p as $ } from "./pick-BZcCK3Xe.js";
9
9
  const H = (i, o, n, p, f) => ({
10
10
  backgroundColor: i,
11
11
  border: `${p.lineWidth}px ${p.lineType} ${o}`,
12
12
  [`${f}-icon`]: {
13
13
  color: n
14
14
  }
15
- }), Ge = (i) => {
15
+ }), qe = (i) => {
16
16
  const {
17
17
  componentCls: o,
18
18
  motionDurationSlow: n,
@@ -21,7 +21,7 @@ const H = (i, o, n, p, f) => ({
21
21
  fontSize: M,
22
22
  fontSizeLG: y,
23
23
  lineHeight: t,
24
- borderRadiusLG: O,
24
+ borderRadiusLG: C,
25
25
  motionEaseInOutCirc: c,
26
26
  alertIconSizeLG: m,
27
27
  colorText: w,
@@ -37,7 +37,7 @@ const H = (i, o, n, p, f) => ({
37
37
  alignItems: "center",
38
38
  padding: `${P}px ${l}px`,
39
39
  wordWrap: "break-word",
40
- borderRadius: O,
40
+ borderRadius: C,
41
41
  [`&${o}-rtl`]: {
42
42
  direction: "rtl"
43
43
  },
@@ -106,7 +106,7 @@ const H = (i, o, n, p, f) => ({
106
106
  colorWarning: M,
107
107
  colorWarningBorder: y,
108
108
  colorWarningBg: t,
109
- colorError: O,
109
+ colorError: C,
110
110
  colorErrorBorder: c,
111
111
  colorErrorBg: m,
112
112
  colorInfo: w,
@@ -118,7 +118,7 @@ const H = (i, o, n, p, f) => ({
118
118
  "&-success": H(f, p, n, i, o),
119
119
  "&-info": H(l, P, w, i, o),
120
120
  "&-warning": H(t, y, M, i, o),
121
- "&-error": E(E({}, H(m, c, O, i, o)), {
121
+ "&-error": E(E({}, H(m, c, C, i, o)), {
122
122
  [`${o}-description > pre`]: {
123
123
  margin: 0,
124
124
  padding: 0
@@ -168,7 +168,7 @@ const H = (i, o, n, p, f) => ({
168
168
  }
169
169
  }
170
170
  };
171
- }, Je = (i) => [Ge(i), We(i), Xe(i)], Qe = ue("Alert", (i) => {
171
+ }, Je = (i) => [qe(i), We(i), Xe(i)], Ke = ue("Alert", (i) => {
172
172
  const {
173
173
  fontSizeHeading3: o
174
174
  } = i, n = me(i, {
@@ -177,12 +177,12 @@ const H = (i, o, n, p, f) => ({
177
177
  // Fixed value here.
178
178
  });
179
179
  return [Je(n)];
180
- }), Ye = {
180
+ }), Qe = {
181
181
  success: Pe,
182
182
  info: Me,
183
183
  error: we,
184
184
  warning: he
185
- }, Ke = {
185
+ }, Ye = {
186
186
  success: fe,
187
187
  info: ve,
188
188
  error: ge,
@@ -235,14 +235,14 @@ const H = (i, o, n, p, f) => ({
235
235
  const {
236
236
  prefixCls: y,
237
237
  direction: t
238
- } = pe("alert", i), [O, c] = Qe(y), m = A(!1), w = A(!1), P = A(), l = (h) => {
238
+ } = pe("alert", i), [C, c] = Ke(y), m = U(!1), w = U(!1), P = U(), l = (h) => {
239
239
  h.preventDefault();
240
- const C = P.value;
241
- C.style.height = `${C.offsetHeight}px`, C.style.height = `${C.offsetHeight}px`, m.value = !0, p("close", h);
240
+ const O = P.value;
241
+ O.style.height = `${O.offsetHeight}px`, O.style.height = `${O.offsetHeight}px`, m.value = !0, p("close", h);
242
242
  }, x = () => {
243
243
  var h;
244
244
  m.value = !1, w.value = !0, (h = i.afterClose) === null || h === void 0 || h.call(i);
245
- }, T = Q(() => {
245
+ }, T = K(() => {
246
246
  const {
247
247
  type: h
248
248
  } = i;
@@ -251,38 +251,38 @@ const H = (i, o, n, p, f) => ({
251
251
  M({
252
252
  animationEnd: x
253
253
  });
254
- const oe = A({});
254
+ const oe = U({});
255
255
  return () => {
256
- var h, C, z, R, L, D, j, F, N, q;
256
+ var h, O, z, L, R, j, D, F, N, G;
257
257
  const {
258
- banner: Y,
259
- closeIcon: K = (h = n.closeIcon) === null || h === void 0 ? void 0 : h.call(n)
258
+ banner: Q,
259
+ closeIcon: Y = (h = n.closeIcon) === null || h === void 0 ? void 0 : h.call(n)
260
260
  } = i;
261
261
  let {
262
- closable: G,
262
+ closable: q,
263
263
  showIcon: S
264
264
  } = i;
265
- const W = (C = i.closeText) !== null && C !== void 0 ? C : (z = n.closeText) === null || z === void 0 ? void 0 : z.call(n), _ = (R = i.description) !== null && R !== void 0 ? R : (L = n.description) === null || L === void 0 ? void 0 : L.call(n), Z = (D = i.message) !== null && D !== void 0 ? D : (j = n.message) === null || j === void 0 ? void 0 : j.call(n), I = (F = i.icon) !== null && F !== void 0 ? F : (N = n.icon) === null || N === void 0 ? void 0 : N.call(n), ee = (q = n.action) === null || q === void 0 ? void 0 : q.call(n);
266
- S = Y && S === void 0 ? !0 : S;
267
- const le = (_ ? Ke : Ye)[T.value] || null;
268
- W && (G = !0);
269
- const g = y.value, ae = Ce(g, {
265
+ const W = (O = i.closeText) !== null && O !== void 0 ? O : (z = n.closeText) === null || z === void 0 ? void 0 : z.call(n), _ = (L = i.description) !== null && L !== void 0 ? L : (R = n.description) === null || R === void 0 ? void 0 : R.call(n), Z = (j = i.message) !== null && j !== void 0 ? j : (D = n.message) === null || D === void 0 ? void 0 : D.call(n), I = (F = i.icon) !== null && F !== void 0 ? F : (N = n.icon) === null || N === void 0 ? void 0 : N.call(n), ee = (G = n.action) === null || G === void 0 ? void 0 : G.call(n);
266
+ S = Q && S === void 0 ? !0 : S;
267
+ const le = (_ ? Ye : Qe)[T.value] || null;
268
+ W && (q = !0);
269
+ const g = y.value, ae = Oe(g, {
270
270
  [`${g}-${T.value}`]: !0,
271
271
  [`${g}-closing`]: m.value,
272
272
  [`${g}-with-description`]: !!_,
273
273
  [`${g}-no-icon`]: !S,
274
- [`${g}-banner`]: !!Y,
275
- [`${g}-closable`]: G,
274
+ [`${g}-banner`]: !!Q,
275
+ [`${g}-closable`]: q,
276
276
  [`${g}-rtl`]: t.value === "rtl",
277
277
  [c.value]: !0
278
- }), se = G ? a("button", {
278
+ }), se = q ? a("button", {
279
279
  type: "button",
280
280
  onClick: l,
281
281
  class: `${g}-close-icon`,
282
282
  tabindex: 0
283
283
  }, [W ? a("span", {
284
284
  class: `${g}-close-text`
285
- }, [W]) : K === void 0 ? a(Oe, null, null) : K]) : null, ie = I && ($e(I) ? ke(I, {
285
+ }, [W]) : Y === void 0 ? a(Ce, null, null) : Y]) : null, ie = I && ($e(I) ? ke(I, {
286
286
  class: `${g}-icon`
287
287
  }) : a("span", {
288
288
  class: `${g}-icon`
@@ -299,7 +299,7 @@ const H = (i, o, n, p, f) => ({
299
299
  B.style.maxHeight = "0px";
300
300
  }
301
301
  });
302
- return O(w.value ? null : a(Ee, de, {
302
+ return C(w.value ? null : a(Ee, de, {
303
303
  default: () => [ze(a("div", ne(ne({
304
304
  role: "alert"
305
305
  }, f), {}, {
@@ -315,7 +315,7 @@ const H = (i, o, n, p, f) => ({
315
315
  class: `${g}-description`
316
316
  }, [_]) : null]), ee ? a("div", {
317
317
  class: `${g}-action`
318
- }, [ee]) : null, se]), [[Re, !m.value]])]
318
+ }, [ee]) : null, se]), [[Le, !m.value]])]
319
319
  }));
320
320
  };
321
321
  }
@@ -370,10 +370,10 @@ const H = (i, o, n, p, f) => ({
370
370
  }, Pn = {
371
371
  key: 16,
372
372
  class: "divider"
373
- }, Cn = {
373
+ }, On = {
374
374
  key: 17,
375
375
  class: "setting-item"
376
- }, On = { class: "label" }, $n = {
376
+ }, Cn = { class: "label" }, $n = {
377
377
  key: 18,
378
378
  class: "divider"
379
379
  }, kn = {
@@ -397,10 +397,10 @@ const H = (i, o, n, p, f) => ({
397
397
  }, Bn = {
398
398
  key: 25,
399
399
  class: "setting-item"
400
- }, An = {
400
+ }, Un = {
401
401
  key: 26,
402
402
  class: "setting-item"
403
- }, Un = {
403
+ }, An = {
404
404
  key: 27,
405
405
  class: "divider"
406
406
  }, Hn = {
@@ -410,11 +410,11 @@ const H = (i, o, n, p, f) => ({
410
410
  "w-full": "",
411
411
  "h-100px": "",
412
412
  flex: "~ center"
413
- }, Rn = /* @__PURE__ */ te({
413
+ }, Ln = /* @__PURE__ */ te({
414
414
  name: "PreferenceContent",
415
415
  __name: "PreferencesContent",
416
416
  setup(i) {
417
- const { settingsStore: o } = Ve(), n = Le({
417
+ const { settingsStore: o } = Ve(), n = Re({
418
418
  app: $(
419
419
  o.settings.app,
420
420
  [
@@ -474,15 +474,15 @@ const H = (i, o, n, p, f) => ({
474
474
  "enableMainMenu"
475
475
  ]
476
476
  )
477
- }), p = Q({
477
+ }), p = K({
478
478
  get() {
479
479
  return n.value.app?.colorScheme === "dark";
480
480
  },
481
481
  set(y) {
482
482
  n.value.app?.colorScheme && (n.value.app.colorScheme = y ? "dark" : "light");
483
483
  }
484
- }), f = Q(() => {
485
- const y = qe();
484
+ }), f = K(() => {
485
+ const y = Ge();
486
486
  return Object.keys(y).map((t) => ({
487
487
  label: t,
488
488
  value: y[t]
@@ -497,9 +497,9 @@ const H = (i, o, n, p, f) => ({
497
497
  await o.resetSettings();
498
498
  }
499
499
  return (y, t) => {
500
- const O = tn, c = He, m = Be, w = re, P = Ae;
500
+ const C = tn, c = He, m = Be, w = re, P = Ue;
501
501
  return r(), d("div", null, [
502
- a(O, {
502
+ a(C, {
503
503
  message: "提示",
504
504
  description: "个人偏好设置将覆盖系统默认设置。若需恢复至系统默认配置,请滚动至底部并点击“还原系统设置”按钮。",
505
505
  type: "info"
@@ -508,13 +508,13 @@ const H = (i, o, n, p, f) => ({
508
508
  e(n).app?.hasOwnProperty("colorScheme") ? (r(), d("div", ln, [
509
509
  a(c, {
510
510
  modelValue: e(p),
511
- "onUpdate:modelValue": t[0] || (t[0] = (l) => De(p) ? p.value = l : null),
511
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => je(p) ? p.value = l : null),
512
512
  "on-icon": "i-ri-sun-line",
513
513
  "off-icon": "i-ri-moon-line"
514
514
  }, null, 8, ["modelValue"])
515
515
  ])) : u("", !0),
516
516
  e(n).app?.hasOwnProperty("lightTheme") && e(n).app?.hasOwnProperty("darkTheme") ? (r(), d("div", an, [
517
- (r(!0), d(je, null, Fe(e(f), (l) => (r(), d("div", {
517
+ (r(!0), d(De, null, Fe(e(f), (l) => (r(), d("div", {
518
518
  key: l.label,
519
519
  class: v(["theme", { active: e(p) ? e(n).app.darkTheme === l.label : e(n).app.lightTheme === l.label }]),
520
520
  onClick: (x) => e(p) ? e(n).app?.hasOwnProperty("darkTheme") && (e(n).app.darkTheme = l.label) : e(n).app?.hasOwnProperty("lightTheme") && (e(n).app.lightTheme = l.label)
@@ -747,7 +747,7 @@ const H = (i, o, n, p, f) => ({
747
747
  t[35] || (t[35] = V(" 次导航保持展开一个 ")),
748
748
  a(m, { text: "开启该功能后,次导航只保持单个菜单的展开" }, {
749
749
  default: b(() => [
750
- a(e(U))
750
+ a(e(A))
751
751
  ]),
752
752
  _: 1
753
753
  })
@@ -795,12 +795,12 @@ const H = (i, o, n, p, f) => ({
795
795
  }, null, 8, ["modelValue", "options"])
796
796
  ])) : u("", !0),
797
797
  e(n).topbar?.hasOwnProperty("mode") || e(n).topbar?.hasOwnProperty("switchTabbarAndToolbar") ? (r(), d("div", Pn, " 顶栏 ")) : u("", !0),
798
- e(n).topbar?.hasOwnProperty("switchTabbarAndToolbar") ? (r(), d("div", Cn, [
799
- s("div", On, [
798
+ e(n).topbar?.hasOwnProperty("switchTabbarAndToolbar") ? (r(), d("div", On, [
799
+ s("div", Cn, [
800
800
  t[40] || (t[40] = V(" 展示切换 ")),
801
801
  a(m, { text: "切换标签栏和工具栏的展示顺序" }, {
802
802
  default: b(() => [
803
- a(e(U))
803
+ a(e(A))
804
804
  ]),
805
805
  _: 1
806
806
  })
@@ -845,7 +845,7 @@ const H = (i, o, n, p, f) => ({
845
845
  t[44] || (t[44] = V(" 是否启用记忆功能 ")),
846
846
  a(m, { text: "开启该功能后,非固定和非常驻的标签页将在本次会话窗口中始终存在,刷新浏览器或重新登录时不会丢失" }, {
847
847
  default: b(() => [
848
- a(e(U))
848
+ a(e(A))
849
849
  ]),
850
850
  _: 1
851
851
  })
@@ -876,7 +876,7 @@ const H = (i, o, n, p, f) => ({
876
876
  disabled: !(e(n).breadcrumb?.enable ?? e(o).settings.breadcrumb.enable)
877
877
  }, null, 8, ["modelValue", "disabled"])
878
878
  ])) : u("", !0),
879
- e(o).mode === "pc" && e(o).settings.breadcrumb.enable && e(o).settings.breadcrumb.enableMainMenu && e(n).breadcrumb?.hasOwnProperty("enableMainMenu") ? (r(), d("div", An, [
879
+ e(o).mode === "pc" && e(o).settings.breadcrumb.enable && e(o).settings.breadcrumb.enableMainMenu && e(n).breadcrumb?.hasOwnProperty("enableMainMenu") ? (r(), d("div", Un, [
880
880
  t[47] || (t[47] = s("div", { class: "label" }, " 是否显示主导航 ", -1)),
881
881
  a(c, {
882
882
  modelValue: e(n).breadcrumb.enableMainMenu,
@@ -884,13 +884,13 @@ const H = (i, o, n, p, f) => ({
884
884
  disabled: ["single"].includes(e(n).menu?.menuMode ?? e(o).settings.menu.menuMode)
885
885
  }, null, 8, ["modelValue", "disabled"])
886
886
  ])) : u("", !0),
887
- e(n).app?.hasOwnProperty("enableProgress") ? (r(), d("div", Un, " 其它 ")) : u("", !0),
887
+ e(n).app?.hasOwnProperty("enableProgress") ? (r(), d("div", An, " 其它 ")) : u("", !0),
888
888
  e(o).settings.app.enableProgress && e(n).app?.hasOwnProperty("enableProgress") ? (r(), d("div", Hn, [
889
889
  s("div", En, [
890
890
  t[48] || (t[48] = V(" 载入进度条 ")),
891
891
  a(m, { text: "该功能开启时,跳转路由会看到页面顶部有进度条" }, {
892
892
  default: b(() => [
893
- a(e(U))
893
+ a(e(A))
894
894
  ]),
895
895
  _: 1
896
896
  })
@@ -917,7 +917,7 @@ const H = (i, o, n, p, f) => ({
917
917
  ]);
918
918
  };
919
919
  }
920
- }), Xn = /* @__PURE__ */ Ue(Rn, [["__scopeId", "data-v-c97d99bc"]]);
920
+ }), Xn = /* @__PURE__ */ Ae(Ln, [["__scopeId", "data-v-c97d99bc"]]);
921
921
  export {
922
922
  Xn as default
923
923
  };
@@ -1,9 +1,9 @@
1
1
  import { _ as r } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
2
- import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-CD2VmdPG.js";
3
- import { _ } from "./HToggle-CcxWxVmB.js";
2
+ import { _ as p } from "./HCheckList.vue_vue_type_script_setup_true_lang-LHEWLVoX.js";
3
+ import { _ } from "./HToggle-B3C623BZ.js";
4
4
  import { defineComponent as b, toRefs as f, createBlock as c, openBlock as g, withCtx as V, createElementVNode as n, createVNode as s, unref as t } from "vue";
5
- import { cD as v } from "./index-Dalsj2EI.js";
6
- const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" }, N = /* @__PURE__ */ b({
5
+ import { cK as v } from "./index-BN5BYOEh.js";
6
+ const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" }, $ = /* @__PURE__ */ b({
7
7
  name: "SettingBreadcrumb",
8
8
  __name: "SettingBreadcrumb",
9
9
  setup(C) {
@@ -46,5 +46,5 @@ const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class:
46
46
  }
47
47
  });
48
48
  export {
49
- N as default
49
+ $ as default
50
50
  };
@@ -1,9 +1,9 @@
1
1
  import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
2
2
  import { _ as p } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
3
- import { _ as r } from "./HToggle-CcxWxVmB.js";
3
+ import { _ as r } from "./HToggle-B3C623BZ.js";
4
4
  import { defineComponent as b, toRef as V, createBlock as g, openBlock as _, withCtx as f, createElementVNode as o, createVNode as n, unref as t } from "vue";
5
- import { cD as v } from "./index-Dalsj2EI.js";
6
- const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class: "setting-item" }, x = { class: "setting-item" }, w = { class: "setting-item" }, c = /* @__PURE__ */ b({
5
+ import { cK as v } from "./index-BN5BYOEh.js";
6
+ const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class: "setting-item" }, x = { class: "setting-item" }, w = { class: "setting-item" }, D = /* @__PURE__ */ b({
7
7
  name: "SettingCopyright",
8
8
  __name: "SettingCopyright",
9
9
  setup(H) {
@@ -58,5 +58,5 @@ const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class:
58
58
  }
59
59
  });
60
60
  export {
61
- c as default
61
+ D as default
62
62
  };
@@ -1,14 +1,14 @@
1
1
  import { _ as g } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
2
- import { cD as k, cF as x, b as C } from "./index-Dalsj2EI.js";
3
- import { _ as T } from "./HToggle-CcxWxVmB.js";
4
- import { defineComponent as V, toRefs as h, reactive as E, createBlock as c, openBlock as o, withCtx as l, createElementVNode as d, createElementBlock as r, createCommentVNode as y, createVNode as H, unref as s, isRef as S, Fragment as B, renderList as N, normalizeClass as $ } from "vue";
5
- const D = { class: "flex items-center justify-center pb-4" }, F = {
2
+ import { cK as k, cM as x, b as C } from "./index-BN5BYOEh.js";
3
+ import { _ as T } from "./HToggle-B3C623BZ.js";
4
+ import { defineComponent as V, toRefs as h, reactive as E, createBlock as c, openBlock as o, withCtx as l, createElementVNode as d, createElementBlock as r, createCommentVNode as y, createVNode as H, unref as s, isRef as S, Fragment as B, renderList as M, normalizeClass as N } from "vue";
5
+ const $ = { class: "flex items-center justify-center pb-4" }, L = {
6
6
  key: 0,
7
7
  class: "transition-mode"
8
- }, L = ["onClick"], M = /* @__PURE__ */ V({
8
+ }, R = ["onClick"], j = /* @__PURE__ */ V({
9
9
  name: "SettingEnableTransition",
10
10
  __name: "SettingEnableTransition",
11
- setup(R) {
11
+ setup(w) {
12
12
  const { settingsStore: m } = k(), { enableTransition: t, transitionMode: i } = h(m.settings.mainPage);
13
13
  function _(n) {
14
14
  n && (i.value = n);
@@ -44,14 +44,14 @@ const D = { class: "flex items-center justify-center pb-4" }, F = {
44
44
  const f = T, p = x, v = g;
45
45
  return o(), c(v, { title: "页面切换动画" }, {
46
46
  default: l(() => [
47
- d("div", D, [
47
+ d("div", $, [
48
48
  H(f, {
49
49
  modelValue: s(t),
50
50
  "onUpdate:modelValue": a[0] || (a[0] = (e) => S(t) ? t.value = e : null)
51
51
  }, null, 8, ["modelValue"])
52
52
  ]),
53
- s(t) ? (o(), r("div", F, [
54
- (o(!0), r(B, null, N(s(u), (e, b) => (o(), c(p, {
53
+ s(t) ? (o(), r("div", L, [
54
+ (o(!0), r(B, null, M(s(u), (e, b) => (o(), c(p, {
55
55
  key: b,
56
56
  text: e.describe,
57
57
  placement: "bottom",
@@ -59,9 +59,9 @@ const D = { class: "flex items-center justify-center pb-4" }, F = {
59
59
  }, {
60
60
  default: l(() => [
61
61
  d("div", {
62
- class: $(["mode", [s(i) === e.active ? "active" : "", e.class]]),
63
- onClick: (j) => _(e.active)
64
- }, null, 10, L)
62
+ class: N(["mode", [s(i) === e.active ? "active" : "", e.class]]),
63
+ onClick: (z) => _(e.active)
64
+ }, null, 10, R)
65
65
  ]),
66
66
  _: 2
67
67
  }, 1032, ["text"]))), 128))
@@ -71,7 +71,7 @@ const D = { class: "flex items-center justify-center pb-4" }, F = {
71
71
  });
72
72
  };
73
73
  }
74
- }), U = /* @__PURE__ */ C(M, [["__scopeId", "data-v-5c698156"]]);
74
+ }), P = /* @__PURE__ */ C(j, [["__scopeId", "data-v-5c698156"]]);
75
75
  export {
76
- U as default
76
+ P as default
77
77
  };
@@ -1,10 +1,10 @@
1
1
  import { _ as p } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
2
2
  import { _ as u } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
3
- import { _ as c } from "./HToggle-CcxWxVmB.js";
4
- import { cD as f, cF as g } from "./index-Dalsj2EI.js";
3
+ import { _ as c } from "./HToggle-B3C623BZ.js";
4
+ import { cK as f, cM as g } from "./index-BN5BYOEh.js";
5
5
  import { defineComponent as V, toRefs as x, createBlock as H, openBlock as b, withCtx as i, createElementVNode as n, createVNode as s, createTextVNode as v, unref as e } from "vue";
6
6
  import { R as C } from "./question-line-CfkciTFq.js";
7
- const N = { class: "setting-item" }, R = { class: "label" }, S = { class: "setting-item" }, I = /* @__PURE__ */ V({
7
+ const N = { class: "setting-item" }, R = { class: "label" }, S = { class: "setting-item" }, K = /* @__PURE__ */ V({
8
8
  name: "SettingHome",
9
9
  __name: "SettingHome",
10
10
  setup(T) {
@@ -42,5 +42,5 @@ const N = { class: "setting-item" }, R = { class: "label" }, S = { class: "setti
42
42
  }
43
43
  });
44
44
  export {
45
- I as default
45
+ K as default
46
46
  };
@@ -1,7 +1,7 @@
1
1
  import { _ as v } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
2
- import { _ as M } from "./HCheckList.vue_vue_type_script_setup_true_lang-CD2VmdPG.js";
3
- import { _ } from "./HToggle-CcxWxVmB.js";
4
- import { cD as g, cF as y } from "./index-Dalsj2EI.js";
2
+ import { _ as M } from "./HCheckList.vue_vue_type_script_setup_true_lang-LHEWLVoX.js";
3
+ import { _ } from "./HToggle-B3C623BZ.js";
4
+ import { cK as g, cM as y } from "./index-BN5BYOEh.js";
5
5
  import { defineComponent as f, toRef as c, createBlock as U, openBlock as b, withCtx as i, createElementVNode as s, createElementBlock as C, createCommentVNode as k, createVNode as d, createTextVNode as a, unref as l } from "vue";
6
6
  import { R as m } from "./question-line-CfkciTFq.js";
7
7
  const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setting-item" }, O = { class: "label" }, B = { class: "setting-item" }, R = { class: "label" }, w = { class: "setting-item" }, A = {
@@ -12,7 +12,7 @@ const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setti
12
12
  __name: "SettingMenu",
13
13
  setup(q) {
14
14
  const { settingsStore: p } = g(), n = c(p.settings, "menu");
15
- return (D, e) => {
15
+ return (E, e) => {
16
16
  const u = y, t = _, r = M, V = v;
17
17
  return b(), U(V, { title: "导航栏" }, {
18
18
  default: i(() => [
@@ -1,7 +1,7 @@
1
1
  import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
2
- import { cD as v, cF as f, b } from "./index-Dalsj2EI.js";
3
- import { defineComponent as g, toRef as k, reactive as x, createBlock as a, openBlock as n, withCtx as s, createElementVNode as o, createElementBlock as C, Fragment as S, renderList as h, unref as l, normalizeClass as y } from "vue";
4
- const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
2
+ import { cK as v, cM as f, b } from "./index-BN5BYOEh.js";
3
+ import { defineComponent as g, toRef as k, reactive as x, createBlock as a, openBlock as n, withCtx as s, createElementVNode as o, createElementBlock as C, Fragment as M, renderList as S, unref as l, normalizeClass as h } from "vue";
4
+ const y = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
5
5
  name: "SettingMode",
6
6
  __name: "SettingMode",
7
7
  setup(H) {
@@ -39,8 +39,8 @@ const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
39
39
  const _ = f, p = u;
40
40
  return n(), a(p, { title: "导航栏模式" }, {
41
41
  default: s(() => [
42
- o("div", M, [
43
- (n(!0), C(S, null, h(l(r), (e) => (n(), a(_, {
42
+ o("div", y, [
43
+ (n(!0), C(M, null, S(l(r), (e) => (n(), a(_, {
44
44
  key: e.active,
45
45
  text: e.describe,
46
46
  placement: e.placement,
@@ -48,8 +48,8 @@ const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
48
48
  }, {
49
49
  default: s(() => [
50
50
  o("div", {
51
- class: y(["mode", [l(c) === e.active ? "active" : "", `mode-${e.active}`]]),
52
- onClick: (D) => d(e.active)
51
+ class: h(["mode", [l(c) === e.active ? "active" : "", `mode-${e.active}`]]),
52
+ onClick: (E) => d(e.active)
53
53
  }, i[0] || (i[0] = [
54
54
  o("div", { class: "mode-container" }, null, -1)
55
55
  ]), 10, $)
@@ -62,7 +62,7 @@ const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
62
62
  });
63
63
  };
64
64
  }
65
- }), z = /* @__PURE__ */ b(B, [["__scopeId", "data-v-65f6da92"]]);
65
+ }), F = /* @__PURE__ */ b(B, [["__scopeId", "data-v-65f6da92"]]);
66
66
  export {
67
- z as default
67
+ F as default
68
68
  };