@pubinfo/core 2.1.10 → 2.1.12

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 (92) hide show
  1. package/dist/AppSetting-BBCop_0D.js +107 -0
  2. package/dist/{HButton-Dt6qGhhR.js → HButton-pEqyd918.js} +13 -11
  3. package/dist/HCheckList-cef4jGrw.js +35 -0
  4. package/dist/HDivider-BSj2DiEY.js +13 -0
  5. package/dist/HInput-DfpH43DV.js +36 -0
  6. package/dist/HSlideover-B6gEDfA5.js +3223 -0
  7. package/dist/HToggle-BTft_PNT.js +32 -0
  8. package/dist/HTooltip-B8aoK5uN.js +19 -0
  9. package/dist/PreferencesContent-CuNffqV_.js +703 -0
  10. package/dist/SettingBreadcrumb-CMn0gojs.js +47 -0
  11. package/dist/SettingCopyright-DKwdXYr3.js +47 -0
  12. package/dist/SettingEnableTransition-Bn37z29E.js +70 -0
  13. package/dist/SettingHome-HttuaN-N.js +33 -0
  14. package/dist/SettingMenu-CEvBV2Wj.js +113 -0
  15. package/dist/SettingMode-DpAUEZUv.js +62 -0
  16. package/dist/SettingNavSearch-Cem0LL54.js +33 -0
  17. package/dist/SettingOther-DcrlPnMd.js +50 -0
  18. package/dist/SettingPage-UhL5e6_m.js +24 -0
  19. package/dist/SettingTabbar-Ct3S8jS2.js +144 -0
  20. package/dist/SettingThemes-DaRKZ2Q3.js +123 -0
  21. package/dist/SettingToolbar-Cx_Mz_EP.js +52 -0
  22. package/dist/SettingTopbar-Ckg-OGSj.js +51 -0
  23. package/dist/SettingWidthMode-CZ2i-kzC.js +58 -0
  24. package/dist/_plugin-vue_export-helper-CsLplWgU.js +8 -0
  25. package/dist/auth-BVTDpkDr.js +4635 -0
  26. package/dist/built-in/layout-component/composables/useContext.d.ts +1 -0
  27. package/dist/{change-organization-hsqeSzDu.js → change-organization-EdR25ifs.js} +51 -48
  28. package/dist/{change-password-EtccCDRX.js → change-password-D-ZqBAmY.js} +85 -81
  29. package/dist/chunk-BdsCSvBP.js +20 -0
  30. package/dist/{components-DFNyaAb9.js → components-CKVAXENc.js} +681 -674
  31. package/dist/{core-DJIGzMMM.js → core-Dg8YES9i.js} +1003 -938
  32. package/dist/dist-HLiWAOC7.js +472 -0
  33. package/dist/{engine-oniguruma-CaNXwGSv.js → engine-oniguruma-DCGL4yXX.js} +58 -56
  34. package/dist/form-CGzMvzKZ.js +2968 -0
  35. package/dist/index.js +5001 -4872
  36. package/dist/json-BFBcpML_.js +3 -0
  37. package/dist/{modal-Bl5xHbxa.js → modal-ybprgEqf.js} +12543 -9070
  38. package/dist/not-found-CuHR6H_g.js +44 -0
  39. package/dist/not-permission-BcQAkzxI.js +41 -0
  40. package/dist/profile-Bsc6FIbI.js +19533 -0
  41. package/dist/{question-line-BG__Ycfv.js → question-line-BzrfPWnG.js} +9 -7
  42. package/dist/reload-BClJy4MY.js +15 -0
  43. package/dist/{right-BxBlFUwj.js → right-CCqcGubr.js} +15 -13
  44. package/dist/style.css +1 -1
  45. package/dist/{tree-select-B8cTcGLa.js → tree-select-gPCwtMia.js} +2906 -2659
  46. package/dist/useContext-Dlqfap_7.js +11 -0
  47. package/dist/vitesse-dark-DrB9-RFK.js +4 -0
  48. package/dist/vitesse-light-CmcnEl2T.js +4 -0
  49. package/dist/wasm-C92aTsEJ.js +4 -0
  50. package/dist/watchDiff-DJP3s9bb.js +883 -0
  51. package/package.json +8 -8
  52. package/src/built-in/layout-component/components/Menu/item.vue +2 -2
  53. package/src/built-in/layout-component/components/Menu/sub.vue +20 -1
  54. package/src/built-in/layout-component/composables/useContext.ts +1 -0
  55. package/src/built-in/layout-component/provider.ts +5 -0
  56. package/dist/AppSetting-7jlhUzze.js +0 -105
  57. package/dist/HCheckList-cPBgATmv.js +0 -33
  58. package/dist/HDivider-BwvBr5OE.js +0 -11
  59. package/dist/HInput-KJ5nFBpF.js +0 -34
  60. package/dist/HSlideover-DVQDc9q6.js +0 -3151
  61. package/dist/HToggle-Ce_2-yhZ.js +0 -30
  62. package/dist/HTooltip-DjAU-Evn.js +0 -16
  63. package/dist/PreferencesContent-BAIH81yS.js +0 -701
  64. package/dist/SettingBreadcrumb-O9-PhAFT.js +0 -45
  65. package/dist/SettingCopyright-DIKsWTuf.js +0 -45
  66. package/dist/SettingEnableTransition-61O7W00b.js +0 -68
  67. package/dist/SettingHome-Sv65TPH8.js +0 -31
  68. package/dist/SettingMenu-BvwJOUZV.js +0 -111
  69. package/dist/SettingMode-B8H_eQc8.js +0 -60
  70. package/dist/SettingNavSearch-BHsmYBA7.js +0 -31
  71. package/dist/SettingOther-CyyNnaDX.js +0 -48
  72. package/dist/SettingPage-B82lW41P.js +0 -22
  73. package/dist/SettingTabbar-Bky2xvH-.js +0 -142
  74. package/dist/SettingThemes-CkdzS1xt.js +0 -121
  75. package/dist/SettingToolbar-CD4qns1J.js +0 -50
  76. package/dist/SettingTopbar-1shjoe3s.js +0 -49
  77. package/dist/SettingWidthMode-DlG6lXjA.js +0 -56
  78. package/dist/_plugin-vue_export-helper-sUTDUeGO.js +0 -6
  79. package/dist/auth-BLGKOyc5.js +0 -4432
  80. package/dist/chunk-CD4vhpVs.js +0 -18
  81. package/dist/dist-7OjQvlya.js +0 -468
  82. package/dist/form-C3VHofnN.js +0 -2768
  83. package/dist/json-Bu_Zprin.js +0 -2
  84. package/dist/not-found-BCjngLzt.js +0 -42
  85. package/dist/not-permission-C26vTMvf.js +0 -39
  86. package/dist/profile-BVXIFuBG.js +0 -19269
  87. package/dist/reload-DHx5Vwus.js +0 -12
  88. package/dist/useContext-DLtu9F7E.js +0 -9
  89. package/dist/vitesse-dark-CTe40QT_.js +0 -2
  90. package/dist/vitesse-light-BWXC_WeB.js +0 -2
  91. package/dist/wasm-2zDVqo-C.js +0 -2
  92. package/dist/watchDiff-CPZFtaOC.js +0 -655
@@ -0,0 +1,44 @@
1
+ import "./modal-ybprgEqf.js";
2
+ import { f as e, p as t } from "./auth-BVTDpkDr.js";
3
+ import "./watchDiff-DJP3s9bb.js";
4
+ import { t as n } from "./_plugin-vue_export-helper-CsLplWgU.js";
5
+ import { t as r } from "./HButton-pEqyd918.js";
6
+ import { createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, onMounted as l, openBlock as u, ref as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
7
+ import { onBeforeRouteLeave as h, useRoute as g, useRouter as _ } from "vue-router";
8
+ //#region src/features/pages/not-found/index.vue?vue&type=script&setup=true&lang.ts
9
+ var v = {
10
+ "w-full": "",
11
+ "h-full": "",
12
+ class: "dark:bg-[#25282D]"
13
+ }, y = { 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" }, b = { class: "flex flex-col gap-4" }, x = /* @__PURE__ */ n(/* @__PURE__ */ c({
14
+ __name: "index",
15
+ setup(n) {
16
+ let c = g(), x = _(), S = t(), C = e(), w = d({
17
+ inter: NaN,
18
+ countdown: 5
19
+ });
20
+ h(() => {
21
+ w.value.inter && window.clearInterval(w.value.inter);
22
+ }), l(() => {
23
+ S.settings.tabbar.enable && C.remove(c.meta.activeMenu || c.fullPath), w.value.inter = window.setInterval(() => {
24
+ w.value.countdown--, w.value.countdown === 0 && (w.value.inter && window.clearInterval(w.value.inter), T());
25
+ }, 1e3);
26
+ });
27
+ function T() {
28
+ x.push("/");
29
+ }
30
+ return (e, t) => {
31
+ let n = r;
32
+ return u(), i("div", v, [a("div", y, [t[2] ||= a("div", { class: "allIcon w-300px h-300px lg:w-400px lg:h-400px" }, null, -1), a("div", b, [
33
+ t[0] ||= a("h1", { class: "m-0 text-6xl font-sans dark:text-[#C9D6EF]" }, " 404 ", -1),
34
+ t[1] ||= a("div", { class: "desc mx-0 text-xl text-stone-5 dark:text-[#C9D6EF]" }, " 抱歉,你访问的页面不存在 ", -1),
35
+ a("div", null, [s(n, { onClick: T }, {
36
+ default: m(() => [o(f(p(w).countdown) + " 秒后,返回首页 ", 1)]),
37
+ _: 1
38
+ })])
39
+ ])])]);
40
+ };
41
+ }
42
+ }), [["__scopeId", "data-v-312dedd6"]]);
43
+ //#endregion
44
+ export { x as default };
@@ -0,0 +1,41 @@
1
+ import "./modal-ybprgEqf.js";
2
+ import { d as e } from "./auth-BVTDpkDr.js";
3
+ import "./watchDiff-DJP3s9bb.js";
4
+ import { t } from "./_plugin-vue_export-helper-CsLplWgU.js";
5
+ import { t as n } from "./HButton-pEqyd918.js";
6
+ import { createElementBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, onMounted as c, onUnmounted as l, openBlock as u, ref as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
7
+ import { useRouter as h } from "vue-router";
8
+ //#region src/built-in/authorization/pages/not-permission/index.vue?vue&type=script&setup=true&lang.ts
9
+ var g = { 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" }, _ = { class: "flex flex-col gap-4" }, v = /* @__PURE__ */ t(/* @__PURE__ */ s({
10
+ name: "NotPermission",
11
+ __name: "index",
12
+ setup(t) {
13
+ let s = h(), v = e(), y = d({
14
+ inter: NaN,
15
+ countdown: 5
16
+ });
17
+ l(() => {
18
+ y.value.inter && window.clearInterval(y.value.inter);
19
+ }), c(() => {
20
+ y.value.inter = window.setInterval(() => {
21
+ y.value.countdown--, y.value.countdown === 0 && (y.value.inter && window.clearInterval(y.value.inter), b());
22
+ }, 1e3);
23
+ });
24
+ function b() {
25
+ v.logout(), s.push("/login");
26
+ }
27
+ return (e, t) => {
28
+ let s = n;
29
+ return u(), r("div", g, [t[2] ||= i("div", { class: "noPermissionIcon w-300px h-300px lg:w-400px lg:h-400px" }, null, -1), i("div", _, [
30
+ t[0] ||= i("h1", { class: "m-0 text-6xl font-sans dark:text-[#C9D6EF]" }, " 403 ", -1),
31
+ t[1] ||= i("div", { class: "desc mx-0 text-xl text-stone-5 dark:text-[#C9D6EF]" }, " 抱歉,你无权访问系统,请联系管理员 ", -1),
32
+ i("div", null, [o(s, { onClick: b }, {
33
+ default: m(() => [a(f(p(y).countdown) + " 秒后,返回登录页 ", 1)]),
34
+ _: 1
35
+ })])
36
+ ])]);
37
+ };
38
+ }
39
+ }), [["__scopeId", "data-v-e196fbed"]]);
40
+ //#endregion
41
+ export { v as default };