@pubinfo-pr/core 0.221.3 → 0.222.2

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 (57) hide show
  1. package/dist/{AppSetting-B7mE7iHt.js → AppSetting-Adv5Y3SE.js} +16 -16
  2. package/dist/{HCheckList-DAkb0SBD.js → HCheckList-WAAl9RiK.js} +1 -1
  3. package/dist/{HToggle-DEwBoDsw.js → HToggle-YLmL7R0b.js} +1 -1
  4. package/dist/{HeaderFullMenu-l2890Bzo.js → HeaderFullMenu-ByedDsvz.js} +16 -15
  5. package/dist/{HeaderThinMenu-5K6HXiQk.js → HeaderThinMenu-2q2iBtTH.js} +2 -2
  6. package/dist/{PreferencesContent-CWHTBvHQ.js → PreferencesContent-CiPweszy.js} +4 -4
  7. package/dist/{SettingBreadcrumb-p3hD9w-9.js → SettingBreadcrumb-C1VwfnxX.js} +3 -3
  8. package/dist/{SettingCopyright-BgWvocrJ.js → SettingCopyright-C--oGV21.js} +1 -1
  9. package/dist/{SettingEnableTransition-Cf57pLUk.js → SettingEnableTransition-DW2gfisN.js} +2 -2
  10. package/dist/{SettingHome-tNMtRHoT.js → SettingHome-VUAS3uEg.js} +1 -1
  11. package/dist/{SettingMenu-Du4Xhle1.js → SettingMenu-BH7XU7eF.js} +3 -3
  12. package/dist/{SettingMode-DGWqKJHt.js → SettingMode-BIyHzTKH.js} +1 -1
  13. package/dist/{SettingNavSearch-C_8VmQmD.js → SettingNavSearch-PfSA-_ro.js} +1 -1
  14. package/dist/{SettingOther-B9iOz69R.js → SettingOther-DdqNapQX.js} +1 -1
  15. package/dist/{SettingPage-C0TfmEKp.js → SettingPage-DS-G9-X5.js} +1 -1
  16. package/dist/{SettingTabbar-C7ZQrcN4.js → SettingTabbar-2yfw2vsm.js} +3 -3
  17. package/dist/{SettingThemes-022eXO9f.js → SettingThemes-Bkcywy7v.js} +3 -3
  18. package/dist/{SettingToolbar-Bh9aXNpl.js → SettingToolbar-DP7-_nPK.js} +1 -1
  19. package/dist/{SettingTopbar-DjB1Izhm.js → SettingTopbar-C0Ia4-If.js} +3 -3
  20. package/dist/{SettingWidthMode-D7sRlBUK.js → SettingWidthMode-DgSWsHFq.js} +1 -1
  21. package/dist/built-in/layout-component/index.d.ts +6 -2
  22. package/dist/{change-organization-sU8aNfhI.js → change-organization-BfnI2yEl.js} +2 -2
  23. package/dist/{change-password-Dxzhg43p.js → change-password-Bj_GWzmn.js} +2 -2
  24. package/dist/{components-emseuaQx.js → components-BfkDsfck.js} +2 -2
  25. package/dist/index.js +109 -109
  26. package/dist/style.css +1 -1
  27. package/package.json +7 -7
  28. package/src/built-in/authentication/pages/change-organization/index.vue +22 -5
  29. package/src/built-in/authentication/pages/change-password/index.vue +30 -3
  30. package/src/built-in/layout-component/Layout.vue +81 -30
  31. package/src/built-in/layout-component/components/Copyright/index.vue +29 -3
  32. package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +17 -6
  33. package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +18 -7
  34. package/src/built-in/layout-component/components/Header/HeaderMenu.vue +2 -3
  35. package/src/built-in/layout-component/components/Header/index.vue +119 -22
  36. package/src/built-in/layout-component/components/Logo/index.vue +4 -1
  37. package/src/built-in/layout-component/components/Menu/item.vue +29 -6
  38. package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +33 -13
  39. package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +113 -25
  40. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +57 -4
  41. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +123 -20
  42. package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +102 -25
  43. package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +100 -16
  44. package/src/built-in/layout-component/components/SettingBar/index.vue +64 -10
  45. package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +76 -22
  46. package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +16 -10
  47. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
  48. package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +26 -4
  49. package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +404 -51
  50. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +68 -13
  51. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +177 -49
  52. package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
  53. package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +45 -12
  54. package/src/built-in/layout-component/components/ui/HToggle.vue +55 -9
  55. package/src/built-in/layout-component/index.ts +4 -2
  56. package/src/features/components/PassStrengthValidator/index.vue +36 -10
  57. package/src/features/components/PassStrengthValidator/rule.vue +17 -4
package/dist/index.js CHANGED
@@ -4,15 +4,15 @@ import { A as useWarn, C as useKeepAliveStore, D as useInfo, E as useError, L as
4
4
  import { s as cloneDeep, t as watchDiffObject } from "./watchDiff-CPZFtaOC.js";
5
5
  import { a as useFullscreen, c as isClient, f as useToggle, l as toRef$1, n as useClipboard, o as useMagicKeys, r as useCssVar, u as tryOnScopeDispose } from "./dist-7OjQvlya.js";
6
6
  import { z as tooltip_default } from "./tree-select-B8cTcGLa.js";
7
- import { a as PubinfoIcon_default, c as PubinfoProvider_default, d as PageHeader_default, i as PageMain_default, l as createPubinfoProvider, n as PassStrengthValidator_default, o as SquareBox_default, r as Modal_default, s as PrismBox_default, t as PubinfoApp_default, u as pubinfoInjectionKey } from "./components-emseuaQx.js";
7
+ import { a as PubinfoIcon_default, c as PubinfoProvider_default, d as PageHeader_default, i as PageMain_default, l as createPubinfoProvider, n as PassStrengthValidator_default, o as SquareBox_default, r as Modal_default, s as PrismBox_default, t as PubinfoApp_default, u as pubinfoInjectionKey } from "./components-BfkDsfck.js";
8
8
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
9
9
  import { n as useContext, t as createContext$2 } from "./useContext-DLtu9F7E.js";
10
10
  import { t as HButton_default } from "./HButton-Dt6qGhhR.js";
11
11
  import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
12
12
  import { C as t, S as i$1, _ as P$2, a as Ge$1, b as u$2, c as Ye$1, d as u$1, f as A$2, g as O$1, h as N$1, i as he$1, l as o$2, m as T$2, n as close_default$1, o as Je$1, p as N$2, r as Se$1, s as Ve$1, t as HSlideover_default, u as f$1, v as T$3, x as o$1, y as i$2 } from "./HSlideover-CXBJxuQo.js";
13
13
  import { t as P$3 } from "./overlayscrollbars-vue-mGyICRMi.js";
14
- import { r as useMenu, t as HeaderFullMenu_default } from "./HeaderFullMenu-l2890Bzo.js";
15
- import { r as Menu_default, t as HeaderThinMenu_default } from "./HeaderThinMenu-5K6HXiQk.js";
14
+ import { r as useMenu, t as HeaderFullMenu_default } from "./HeaderFullMenu-ByedDsvz.js";
15
+ import { r as Menu_default, t as HeaderThinMenu_default } from "./HeaderThinMenu-2q2iBtTH.js";
16
16
  import { getActivePinia } from "pinia";
17
17
  import { Fragment, KeepAlive, Teleport, Transition, TransitionGroup, computed, createApp, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, guardReactiveProps, h, inject, isRef, markRaw, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onBeforeUpdate, onMounted, onUnmounted, openBlock, popScopeId, provide, pushScopeId, reactive, ref, render, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRefs, unref, useCssVars, useSlots, vModelText, vShow, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers, withScopeId } from "vue";
18
18
  import { useRoute, useRouter } from "vue-router";
@@ -297,7 +297,7 @@ function createTokenAuthentication(e = {}) {
297
297
  var routes = [{
298
298
  path: "/change-password/:changePassWordToken",
299
299
  name: "ChangePassword",
300
- component: () => import("./change-password-Dxzhg43p.js"),
300
+ component: () => import("./change-password-Bj_GWzmn.js"),
301
301
  beforeEnter: (e) => isUndefined(e.params.changePassWordToken) ? { name: "Login" } : !0,
302
302
  meta: {
303
303
  whiteList: !0,
@@ -306,7 +306,7 @@ var routes = [{
306
306
  }, {
307
307
  path: "/change-organization/:orgId",
308
308
  name: "ChangeOrganization",
309
- component: () => import("./change-organization-sU8aNfhI.js"),
309
+ component: () => import("./change-organization-BfnI2yEl.js"),
310
310
  beforeEnter: (e) => {
311
311
  let M = useUserStore();
312
312
  return isUndefined(e.params.orgId) || e.params.orgId !== M.user.orgId ? { name: "Login" } : !0;
@@ -843,7 +843,7 @@ var copyright_line_default = markRaw({
843
843
  unref(ne).settings.copyright.beian ? (openBlock(), createElementBlock("a", _hoisted_5$7, toDisplayString(unref(ne).settings.copyright.beian), 1)) : createCommentVNode("", !0)
844
844
  ])) : createCommentVNode("", !0);
845
845
  }
846
- }), [["__scopeId", "data-v-3e72d744"]]), visibleInjectionKey = Symbol.for("pubinfo.layout.visible");
846
+ }), [["__scopeId", "data-v-d0ac7ff7"]]), visibleInjectionKey = Symbol.for("pubinfo.layout.visible");
847
847
  function createLayoutVisible(e) {
848
848
  provide(visibleInjectionKey, e);
849
849
  }
@@ -905,7 +905,7 @@ var _hoisted_1$46 = {
905
905
  }, 8, ["to", "class"]);
906
906
  };
907
907
  }
908
- }), [["__scopeId", "data-v-e78a4c15"]]), _hoisted_1$45 = { class: "dark:bg-[var(--g-container-bg)] py-1" }, _hoisted_2$15 = {
908
+ }), [["__scopeId", "data-v-55b96f05"]]), _hoisted_1$45 = { class: "dark:bg-[var(--g-container-bg)] py-1" }, _hoisted_2$15 = {
909
909
  key: 0,
910
910
  "border-b": "~ solid stone-2 dark:stone-7 last:size-0",
911
911
  class: "my-1"
@@ -1030,7 +1030,7 @@ var DarkModeToggle_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/
1030
1030
  onClick: ne
1031
1031
  }, [createElementVNode("div", { class: normalizeClass(["animate-icon", { "animate-icon-day": unref(M).settings.app.colorScheme !== "dark" }]) }, null, 2)])) : createCommentVNode("", !0);
1032
1032
  }
1033
- }), [["__scopeId", "data-v-b6c06270"]]), _hoisted_1$41 = {
1033
+ }), [["__scopeId", "data-v-adad499e"]]), _hoisted_1$41 = {
1034
1034
  viewBox: "0 0 16 16",
1035
1035
  width: "1.2em",
1036
1036
  height: "1.2em"
@@ -1870,7 +1870,7 @@ var PageReload_default = /* @__PURE__ */ defineComponent({
1870
1870
  name: "Preferences",
1871
1871
  __name: "index",
1872
1872
  setup(e, { expose: M }) {
1873
- let ne = defineAsyncComponent(() => import("./PreferencesContent-CWHTBvHQ.js")), [ve, Ee] = useToggle(!1);
1873
+ let ne = defineAsyncComponent(() => import("./PreferencesContent-CiPweszy.js")), [ve, Ee] = useToggle(!1);
1874
1874
  return M({ open: () => Ee() }), (e, M) => {
1875
1875
  let Ee = HSlideover_default;
1876
1876
  return openBlock(), createBlock(Ee, {
@@ -2400,7 +2400,7 @@ var mood_empty_default = markRaw({
2400
2400
  function _sfc_render$1(e, M) {
2401
2401
  return openBlock(), createElementBlock("div", _hoisted_1$29, [renderSlot(e.$slots, "default", {}, void 0, !0)]);
2402
2402
  }
2403
- var Breadcrumb_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-a495f0bb"]]), _hoisted_1$28 = { class: "breadcrumb-item flex items-center text-dark dark:text-white" }, _hoisted_2$12 = { class: "separator mx-2" }, item_default = /* @__PURE__ */ defineComponent({
2403
+ var Breadcrumb_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-3a72b66b"]]), _hoisted_1$28 = { class: "breadcrumb-item flex items-center text-dark dark:text-white" }, _hoisted_2$12 = { class: "separator mx-2" }, item_default = /* @__PURE__ */ defineComponent({
2404
2404
  __name: "item",
2405
2405
  props: {
2406
2406
  to: {},
@@ -2809,12 +2809,94 @@ var Breadcrumb_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_
2809
2809
  ]);
2810
2810
  };
2811
2811
  }
2812
- }), HeaderMenu_default = /* @__PURE__ */ defineComponent({
2812
+ });
2813
+ function watermark() {
2814
+ let e = {}, M = {
2815
+ id: "wm_div_id",
2816
+ prefix: "mask_div_id",
2817
+ text: "测试水印",
2818
+ x: 20,
2819
+ y: 20,
2820
+ rows: 0,
2821
+ cols: 0,
2822
+ x_space: 50,
2823
+ y_space: 50,
2824
+ font: "微软雅黑",
2825
+ color: "black",
2826
+ fontsize: "18px",
2827
+ alpha: .15,
2828
+ width: 100,
2829
+ height: 100,
2830
+ angle: 15,
2831
+ parent_width: 0,
2832
+ parent_height: 0,
2833
+ parent_node: null,
2834
+ monitor: !1
2835
+ }, ne = !1, ve = new MutationObserver(ke);
2836
+ function Ee(e) {
2837
+ Object.assign(M, e);
2838
+ let ne = document.getElementById(M.id);
2839
+ ne?.parentNode?.removeChild(ne);
2840
+ let Ee = M.parent_node, De = Ee || document.body, ke = Math.max(De.scrollWidth, De.clientWidth), je = Math.max(De.scrollHeight, De.clientHeight), We = 0, Ke = 0;
2841
+ e.parent_width || e.parent_height ? De && (We = De.offsetTop || 0, Ke = De.offsetLeft || 0, M.x += Ke, M.y += We) : De && (We = De.offsetTop || 0, Ke = De.offsetLeft || 0);
2842
+ let $e = document.getElementById(M.id), at = null;
2843
+ if ($e) $e.shadowRoot && (at = $e.shadowRoot);
2844
+ else {
2845
+ $e = document.createElement("div"), $e.id = M.id, $e.setAttribute("style", "pointer-events: none !important; display: block !important"), at = typeof $e.attachShadow == "function" ? $e.attachShadow({ mode: "open" }) : $e;
2846
+ let e = De.children, ne = Math.floor(Math.random() * (e.length - 1));
2847
+ e[ne] ? De.insertBefore($e, e[ne]) : De.appendChild($e);
2848
+ }
2849
+ M.cols = Math.floor((ke - M.x) / (M.width + M.x_space)), M.x_space = Math.floor((ke - M.x - M.width * M.cols) / M.cols) && M.x_space;
2850
+ let ft;
2851
+ M.rows = Math.floor((je - M.y) / (M.height + M.y_space)), M.y_space = Math.floor((je - M.y - M.height * M.rows) / M.rows) && M.y_space;
2852
+ let Et;
2853
+ Ee ? (ft = M.x + M.width * M.cols + M.x_space * (M.cols - 1), Et = M.y + M.height * M.rows + M.y_space * (M.rows - 1)) : (ft = Ke + M.x + M.width * M.cols + M.x_space * (M.cols - 1), Et = We + M.y + M.height * M.rows + M.y_space * (M.rows - 1));
2854
+ let Dt, Ot;
2855
+ for (let e = 0; e < M.rows; e++) {
2856
+ Ot = Ee ? We + M.y + (M.y_space + M.height) * e : M.y + (je - Et) / 2 + (M.y_space + M.height) * e;
2857
+ for (let ne = 0; ne < M.cols; ne++) {
2858
+ Dt = Ee ? Ke + M.x + (ke - ft) / 2 + (M.width + M.x_space) * ne : M.x + (ke - ft) / 2 + (M.width + M.x_space) * ne;
2859
+ let ve = document.createElement("div"), De = document.createTextNode(M.text);
2860
+ ve.appendChild(De), ve.id = M.prefix + e + ne, ve.style.transform = `rotate(-${M.angle}deg)`, ve.style.visibility = "", ve.style.position = "absolute", ve.style.left = `${Dt}px`, ve.style.top = `${Ot}px`, ve.style.overflow = "hidden", ve.style.zIndex = "9999999", ve.style.opacity = `${M.alpha}`, ve.style.fontSize = M.fontsize, ve.style.fontFamily = M.font, ve.style.color = M.color, ve.style.textAlign = "center", ve.style.width = `${M.width}px`, ve.style.height = `${M.height}px`, ve.style.display = "block", ve.style.userSelect = "none", at?.appendChild(ve);
2861
+ }
2862
+ }
2863
+ if (M.monitor) {
2864
+ let e = {
2865
+ childList: !0,
2866
+ attributes: !0,
2867
+ subtree: !0,
2868
+ attributeFilter: ["style"],
2869
+ attributeOldValue: !0
2870
+ };
2871
+ ve.observe(De, e), ve.observe(document.getElementById(M.id).shadowRoot, e);
2872
+ }
2873
+ }
2874
+ function De() {
2875
+ let e = document.getElementById(M.id);
2876
+ e?.parentNode?.removeChild(e), ve.disconnect();
2877
+ }
2878
+ function ke(M) {
2879
+ if (ne) {
2880
+ ne = !1;
2881
+ return;
2882
+ }
2883
+ (e && M.length === 1 || M.length === 1 && M[0].removedNodes.length >= 1) && Ee(e);
2884
+ }
2885
+ return {
2886
+ init: function(M) {
2887
+ Object.assign(e, M), Ee(M);
2888
+ },
2889
+ remove: function() {
2890
+ ne = !0, De();
2891
+ }
2892
+ };
2893
+ }
2894
+ var HeaderMenu_default = /* @__PURE__ */ defineComponent({
2813
2895
  name: "LayoutHeaderMenu",
2814
2896
  __name: "HeaderMenu",
2815
2897
  setup(e) {
2816
- let M = defineAsyncComponent(() => import("./HeaderFullMenu-l2890Bzo.js").then((e) => e.n)), ne = defineAsyncComponent(() => import("./HeaderThinMenu-5K6HXiQk.js").then((e) => e.n)), { settingsStore: ve } = useContext();
2817
- return (e, Ee) => unref(ve).settings.menu.menuMode === "head" ? (openBlock(), createBlock(unref(M), { key: 0 })) : unref(ve).settings.menu.menuMode === "only-head" ? (openBlock(), createBlock(unref(ne), { key: 1 })) : createCommentVNode("", !0);
2898
+ let { settingsStore: M } = useContext();
2899
+ return (e, ne) => unref(M).settings.menu.menuMode === "head" ? (openBlock(), createBlock(HeaderFullMenu_default, { key: 0 })) : unref(M).settings.menu.menuMode === "only-head" ? (openBlock(), createBlock(HeaderThinMenu_default, { key: 1 })) : createCommentVNode("", !0);
2818
2900
  }
2819
2901
  }), _hoisted_1$25 = { key: 0 }, _hoisted_2$9 = { class: "header-container" }, _hoisted_3$7 = { class: "main" }, Header_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2820
2902
  name: "LayoutHeader",
@@ -2830,7 +2912,7 @@ var Breadcrumb_default = /* @__PURE__ */ _plugin_vue_export_helper_default(_sfc_
2830
2912
  _: 3
2831
2913
  }));
2832
2914
  }
2833
- }), [["__scopeId", "data-v-8543bdeb"]]), _hoisted_1$24 = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12" }, NotAllowed_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2915
+ }), [["__scopeId", "data-v-a5482b89"]]), _hoisted_1$24 = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12" }, NotAllowed_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2834
2916
  name: "NotAllowed",
2835
2917
  __name: "index",
2836
2918
  setup(e) {
@@ -2893,7 +2975,7 @@ var book_open_duotone_line_default = markRaw({
2893
2975
  name: "SettingBar",
2894
2976
  __name: "index",
2895
2977
  setup(e) {
2896
- let M = defineAsyncComponent(() => import("./AppSetting-B7mE7iHt.js")), { settingsStore: ne, isDev: ve } = useContext();
2978
+ let M = defineAsyncComponent(() => import("./AppSetting-Adv5Y3SE.js")), { settingsStore: ne, isDev: ve } = useContext();
2897
2979
  function Ee() {
2898
2980
  window.open("http://124.223.184.245:10000/docs/");
2899
2981
  }
@@ -2920,89 +3002,7 @@ var book_open_duotone_line_default = markRaw({
2920
3002
  }, null, 8, ["open"])
2921
3003
  ])) : createCommentVNode("", !0);
2922
3004
  }
2923
- }), [["__scopeId", "data-v-5e54007c"]]);
2924
- function watermark() {
2925
- let e = {}, M = {
2926
- id: "wm_div_id",
2927
- prefix: "mask_div_id",
2928
- text: "测试水印",
2929
- x: 20,
2930
- y: 20,
2931
- rows: 0,
2932
- cols: 0,
2933
- x_space: 50,
2934
- y_space: 50,
2935
- font: "微软雅黑",
2936
- color: "black",
2937
- fontsize: "18px",
2938
- alpha: .15,
2939
- width: 100,
2940
- height: 100,
2941
- angle: 15,
2942
- parent_width: 0,
2943
- parent_height: 0,
2944
- parent_node: null,
2945
- monitor: !1
2946
- }, ne = !1, ve = new MutationObserver(ke);
2947
- function Ee(e) {
2948
- Object.assign(M, e);
2949
- let ne = document.getElementById(M.id);
2950
- ne?.parentNode?.removeChild(ne);
2951
- let Ee = M.parent_node, De = Ee || document.body, ke = Math.max(De.scrollWidth, De.clientWidth), je = Math.max(De.scrollHeight, De.clientHeight), We = 0, Ke = 0;
2952
- e.parent_width || e.parent_height ? De && (We = De.offsetTop || 0, Ke = De.offsetLeft || 0, M.x += Ke, M.y += We) : De && (We = De.offsetTop || 0, Ke = De.offsetLeft || 0);
2953
- let $e = document.getElementById(M.id), at = null;
2954
- if ($e) $e.shadowRoot && (at = $e.shadowRoot);
2955
- else {
2956
- $e = document.createElement("div"), $e.id = M.id, $e.setAttribute("style", "pointer-events: none !important; display: block !important"), at = typeof $e.attachShadow == "function" ? $e.attachShadow({ mode: "open" }) : $e;
2957
- let e = De.children, ne = Math.floor(Math.random() * (e.length - 1));
2958
- e[ne] ? De.insertBefore($e, e[ne]) : De.appendChild($e);
2959
- }
2960
- M.cols = Math.floor((ke - M.x) / (M.width + M.x_space)), M.x_space = Math.floor((ke - M.x - M.width * M.cols) / M.cols) && M.x_space;
2961
- let ft;
2962
- M.rows = Math.floor((je - M.y) / (M.height + M.y_space)), M.y_space = Math.floor((je - M.y - M.height * M.rows) / M.rows) && M.y_space;
2963
- let Et;
2964
- Ee ? (ft = M.x + M.width * M.cols + M.x_space * (M.cols - 1), Et = M.y + M.height * M.rows + M.y_space * (M.rows - 1)) : (ft = Ke + M.x + M.width * M.cols + M.x_space * (M.cols - 1), Et = We + M.y + M.height * M.rows + M.y_space * (M.rows - 1));
2965
- let Dt, Ot;
2966
- for (let e = 0; e < M.rows; e++) {
2967
- Ot = Ee ? We + M.y + (M.y_space + M.height) * e : M.y + (je - Et) / 2 + (M.y_space + M.height) * e;
2968
- for (let ne = 0; ne < M.cols; ne++) {
2969
- Dt = Ee ? Ke + M.x + (ke - ft) / 2 + (M.width + M.x_space) * ne : M.x + (ke - ft) / 2 + (M.width + M.x_space) * ne;
2970
- let ve = document.createElement("div"), De = document.createTextNode(M.text);
2971
- ve.appendChild(De), ve.id = M.prefix + e + ne, ve.style.transform = `rotate(-${M.angle}deg)`, ve.style.visibility = "", ve.style.position = "absolute", ve.style.left = `${Dt}px`, ve.style.top = `${Ot}px`, ve.style.overflow = "hidden", ve.style.zIndex = "9999999", ve.style.opacity = `${M.alpha}`, ve.style.fontSize = M.fontsize, ve.style.fontFamily = M.font, ve.style.color = M.color, ve.style.textAlign = "center", ve.style.width = `${M.width}px`, ve.style.height = `${M.height}px`, ve.style.display = "block", ve.style.userSelect = "none", at?.appendChild(ve);
2972
- }
2973
- }
2974
- if (M.monitor) {
2975
- let e = {
2976
- childList: !0,
2977
- attributes: !0,
2978
- subtree: !0,
2979
- attributeFilter: ["style"],
2980
- attributeOldValue: !0
2981
- };
2982
- ve.observe(De, e), ve.observe(document.getElementById(M.id).shadowRoot, e);
2983
- }
2984
- }
2985
- function De() {
2986
- let e = document.getElementById(M.id);
2987
- e?.parentNode?.removeChild(e), ve.disconnect();
2988
- }
2989
- function ke(M) {
2990
- if (ne) {
2991
- ne = !1;
2992
- return;
2993
- }
2994
- (e && M.length === 1 || M.length === 1 && M[0].removedNodes.length >= 1) && Ee(e);
2995
- }
2996
- return {
2997
- init: function(M) {
2998
- Object.assign(e, M), Ee(M);
2999
- },
3000
- remove: function() {
3001
- ne = !0, De();
3002
- }
3003
- };
3004
- }
3005
- var _hoisted_1$20 = {
3005
+ }), [["__scopeId", "data-v-db2e809e"]]), _hoisted_1$20 = {
3006
3006
  key: 0,
3007
3007
  class: "main-sidebar-container"
3008
3008
  }, _hoisted_2$7 = ["title", "onClick"], _hoisted_3$5 = { class: "w-full inline-flex flex-1 flex-col items-center justify-center gap-[2px]" }, MainSidebar_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -3056,7 +3056,7 @@ var _hoisted_1$20 = {
3056
3056
  _: 1
3057
3057
  }));
3058
3058
  }
3059
- }), [["__scopeId", "data-v-8df75c1e"]]), _hoisted_1$19 = { key: 0 }, _hoisted_2$6 = { key: 1 }, SubSidebar_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
3059
+ }), [["__scopeId", "data-v-56a14036"]]), _hoisted_1$19 = { key: 0 }, _hoisted_2$6 = { key: 1 }, SubSidebar_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
3060
3060
  name: "SubSidebar",
3061
3061
  __name: "SubSidebar",
3062
3062
  props: { showAllMenus: {
@@ -3112,7 +3112,7 @@ var _hoisted_1$20 = {
3112
3112
  _: 1
3113
3113
  })], 34)], 2)) : createCommentVNode("", !0);
3114
3114
  }
3115
- }), [["__scopeId", "data-v-702499ec"]]), Sidebar_default = /* @__PURE__ */ defineComponent({
3115
+ }), [["__scopeId", "data-v-44c2f3ca"]]), Sidebar_default = /* @__PURE__ */ defineComponent({
3116
3116
  name: "LayoutSidebar",
3117
3117
  __name: "index",
3118
3118
  props: { showAllMenus: {
@@ -5794,7 +5794,7 @@ var arrow_down_s_fill_default = markRaw({
5794
5794
  }), createVNode(SearchPanel_default)]);
5795
5795
  };
5796
5796
  }
5797
- }), [["__scopeId", "data-v-4087234e"]]), _hoisted_1$11 = { class: "tabbar-container" }, _hoisted_2$4 = [
5797
+ }), [["__scopeId", "data-v-9c580b3a"]]), _hoisted_1$11 = { class: "tabbar-container" }, _hoisted_2$4 = [
5798
5798
  "data-index",
5799
5799
  "title",
5800
5800
  "onClick",
@@ -5804,8 +5804,8 @@ var arrow_down_s_fill_default = markRaw({
5804
5804
  __name: "index",
5805
5805
  setup(e) {
5806
5806
  useCssVars((e) => ({
5807
- v60657e8e: unref(Ot),
5808
- v5ffeabc6: unref(kt)
5807
+ v5a7990b8: unref(Ot),
5808
+ v5aacfa1c: unref(kt)
5809
5809
  }));
5810
5810
  let M = useRoute(), ne = useRouter(), { settingsStore: ve, tabbarStore: Ee, generateTitle: De, routeStore: ke } = useContext(), je = useTabbar(), We = useMainPage(), Ke = useMagicKeys({ reactive: !0 }), $e = computed(() => je.getId()), at = computed(() => Ee.list.length > 1 && (je.checkCloseOtherSide() || je.checkCloseLeftSide() || je.checkCloseRightSide())), ft = ref(), Et = ref(), Dt = shallowRef([]);
5811
5811
  onBeforeUpdate(() => {
@@ -6084,7 +6084,7 @@ var arrow_down_s_fill_default = markRaw({
6084
6084
  class: "more-action"
6085
6085
  })) : createCommentVNode("", !0)]));
6086
6086
  }
6087
- }), [["__scopeId", "data-v-6855b1bc"]]), _hoisted_1$10 = { class: "py-1" }, HDropdownTree_default = /* @__PURE__ */ defineComponent({
6087
+ }), [["__scopeId", "data-v-8cce949b"]]), _hoisted_1$10 = { class: "py-1" }, HDropdownTree_default = /* @__PURE__ */ defineComponent({
6088
6088
  name: "HDropdownTree",
6089
6089
  __name: "HDropdownTree",
6090
6090
  props: {
@@ -6251,7 +6251,7 @@ var star_dismiss_16_regular_default = markRaw({
6251
6251
  _: 1
6252
6252
  })]));
6253
6253
  }
6254
- }), [["__scopeId", "data-v-746967fb"]]), _hoisted_1$5 = {
6254
+ }), [["__scopeId", "data-v-3c6c5b8b"]]), _hoisted_1$5 = {
6255
6255
  viewBox: "0 0 12 12",
6256
6256
  width: "1.2em",
6257
6257
  height: "1.2em"
@@ -6431,7 +6431,7 @@ var star_16_regular_default = markRaw({
6431
6431
  ]), createVNode(Tools_default)]);
6432
6432
  };
6433
6433
  }
6434
- }), [["__scopeId", "data-v-a8b21919"]]), Topbar_default = /* @__PURE__ */ defineComponent({
6434
+ }), [["__scopeId", "data-v-aeb35d98"]]), Topbar_default = /* @__PURE__ */ defineComponent({
6435
6435
  name: "Topbar",
6436
6436
  __name: "index",
6437
6437
  setup(e) {
@@ -6628,7 +6628,7 @@ var _hoisted_1$1 = { class: "wrapper" }, _hoisted_2$1 = { class: "main" }, Layou
6628
6628
  createVNode(BackTop_default)
6629
6629
  ], 4));
6630
6630
  }
6631
- }), [["__scopeId", "data-v-486fb888"]]), sides = [
6631
+ }), [["__scopeId", "data-v-e94097cc"]]), sides = [
6632
6632
  "top",
6633
6633
  "right",
6634
6634
  "bottom",
@@ -8758,7 +8758,7 @@ var Gt = {
8758
8758
  version: "5.2.2",
8759
8759
  install: Ct,
8760
8760
  options: h$1
8761
- };
8761
+ }, LayoutHeaderFullMenu = defineAsyncComponent(() => import("./HeaderFullMenu-ByedDsvz.js").then((e) => e.n)), LayoutHeaderThinMenu = defineAsyncComponent(() => import("./HeaderThinMenu-2q2iBtTH.js").then((e) => e.n));
8762
8762
  function LayoutComponent() {
8763
8763
  return defineSystemRoutes([{
8764
8764
  path: "reload",
@@ -8788,7 +8788,7 @@ const Tool = {
8788
8788
  PageReload: PageReload_default,
8789
8789
  DarkModeToggle: DarkModeToggle_default
8790
8790
  };
8791
- Layout_default.Provider = Provider, Layout_default.Header = Header_default, Layout_default.HeaderMenu = HeaderMenu_default, Layout_default.HeaderFullMenu = HeaderFullMenu_default, Layout_default.HeaderThinMenu = HeaderThinMenu_default, Layout_default.Header = Header_default, Layout_default.Content = Content_default, Layout_default.Sidebar = Sidebar_default, Layout_default.Topbar = Topbar_default;
8791
+ Layout_default.Provider = Provider, Layout_default.Header = Header_default, Layout_default.HeaderMenu = HeaderMenu_default, Layout_default.HeaderFullMenu = LayoutHeaderFullMenu, Layout_default.HeaderThinMenu = LayoutHeaderThinMenu, Layout_default.Header = Header_default, Layout_default.Content = Content_default, Layout_default.Sidebar = Sidebar_default, Layout_default.Topbar = Topbar_default;
8792
8792
  var import_nprogress = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((e, M) => {
8793
8793
  (function(ne, ve) {
8794
8794
  typeof define == "function" && define.amd ? define(ve) : typeof e == "object" ? M.exports = ve() : ne.NProgress = ve();