@pubinfo/core 2.0.0-rc.3 → 2.0.0-rc.5

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 (130) hide show
  1. package/dist/{AppSetting-3wJKvibc.js → AppSetting-DqVYDIHj.js} +15 -15
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-17EywJvs.js → HCheckList.vue_vue_type_script_setup_true_lang-SrNklW3P.js} +1 -1
  3. package/dist/{HToggle-B-ZjSh6S.js → HToggle-DGTP9jYA.js} +1 -1
  4. package/dist/{PreferencesContent-xT4paU7N.js → PreferencesContent-5NtwK9RQ.js} +4 -4
  5. package/dist/{SettingBreadcrumb-CYnO51Ek.js → SettingBreadcrumb-BudqQsuJ.js} +3 -3
  6. package/dist/{SettingCopyright-FOW5ObHK.js → SettingCopyright-VUberG4R.js} +2 -2
  7. package/dist/{SettingEnableTransition-Q5cvubmF.js → SettingEnableTransition-C6NYf021.js} +2 -2
  8. package/dist/SettingHome-BTaeKgwN.js +46 -0
  9. package/dist/{SettingMenu-BNAJ3el9.js → SettingMenu-D9Aon2LP.js} +3 -3
  10. package/dist/{SettingMode-LzlRsBL9.js → SettingMode-DaqVd9Mq.js} +1 -1
  11. package/dist/{SettingNavSearch-BA08vYuw.js → SettingNavSearch-N4JIheIk.js} +2 -2
  12. package/dist/{SettingOther-BE8dDCYD.js → SettingOther-tLulcors.js} +2 -2
  13. package/dist/{SettingPage-D061yXCv.js → SettingPage-CEjWB45R.js} +2 -2
  14. package/dist/{SettingTabbar-COwdPPKy.js → SettingTabbar-DyeLhcCT.js} +3 -3
  15. package/dist/{SettingThemes-BHaYERNp.js → SettingThemes-C2M3tsVl.js} +1 -1
  16. package/dist/{SettingToolbar-fSuzu6ND.js → SettingToolbar-DI7de6i0.js} +24 -31
  17. package/dist/{SettingTopbar-D7GgP0KB.js → SettingTopbar-BgIoXeAq.js} +3 -3
  18. package/dist/{SettingWidthMode-CNjzChe1.js → SettingWidthMode-DIAU4s5e.js} +1 -1
  19. package/dist/{TopThinMode-B-28sBJD.js → TopThinMode-JNUHrJI2.js} +1 -1
  20. package/dist/built-in/authentication/alova/helper.d.ts +34 -0
  21. package/dist/built-in/authentication/alova/token.d.ts +16 -0
  22. package/dist/built-in/authentication/helper.d.ts +10 -1
  23. package/dist/built-in/index.d.ts +1 -1
  24. package/dist/built-in/layout-component/components/Tools/SearchPanel.vue.d.ts +7 -2
  25. package/dist/built-in/layout-component/components/ui/HSlideover.vue.d.ts +1 -1
  26. package/dist/built-in/layout-component/composables/useContext.d.ts +1 -1
  27. package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +7 -0
  28. package/dist/built-in/layout-component/composables/useTitle.d.ts +1 -1
  29. package/dist/built-in/system-info/components/SystemInfo.vue.d.ts +2 -0
  30. package/dist/built-in/system-info/index.d.ts +5 -0
  31. package/dist/{colors-BIQSd520.js → colors-DxWfHM_v.js} +1 -1
  32. package/dist/core/interface.d.ts +14 -5
  33. package/dist/core/request.d.ts +2 -8
  34. package/dist/features/api/modules/auth/renzhengfuwu.d.ts +8 -8
  35. package/dist/features/api/modules/configData/heibaimingdanfuwu.d.ts +5 -5
  36. package/dist/features/api/modules/configData/xitongpeizhifuwu.d.ts +14 -14
  37. package/dist/features/api/modules/configData/zidifuwu.d.ts +10 -10
  38. package/dist/features/api/modules/rbac/gangweijiekou.d.ts +6 -6
  39. package/dist/features/api/modules/rbac/jiaosejiekou.d.ts +7 -7
  40. package/dist/features/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -7
  41. package/dist/features/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +9 -9
  42. package/dist/features/api/modules/rbac/yonghujiekou.d.ts +15 -15
  43. package/dist/features/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +5 -5
  44. package/dist/features/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +4 -4
  45. package/dist/features/api/modules/rbac/ziyuanjiekou.d.ts +13 -13
  46. package/dist/features/api/modules/rbac/zuhuguanlijiekou.d.ts +5 -5
  47. package/dist/features/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +4 -4
  48. package/dist/features/api/modules/rbac/zuzhijiekou.d.ts +9 -9
  49. package/dist/features/api/system/user.d.ts +4 -4
  50. package/dist/features/components/PubinfoIcon/PrismBox.vue.d.ts +21 -0
  51. package/dist/features/components/PubinfoIcon/SquareBox.vue.d.ts +17 -0
  52. package/dist/features/components/PubinfoIcon/index.vue.d.ts +13 -9
  53. package/dist/features/components/PubinfoIcon/props.d.ts +58 -0
  54. package/dist/features/components/index.d.ts +2 -0
  55. package/dist/{index-Dlf6GQBd.js → index-5fRpGyLW.js} +4 -4
  56. package/dist/{index-DNdH93AP.js → index-BFRIv97x.js} +2 -2
  57. package/dist/{index-WubcSL0v.js → index-BH-vHGvk.js} +1 -1
  58. package/dist/{index-YSjb6X1D.js → index-C7xIGcDc.js} +4 -7
  59. package/dist/{index-DYMBkmAp.js → index-CNVn3Ubv.js} +2 -2
  60. package/dist/{index-CPRiufg0.js → index-Cf-u1Zqh.js} +1 -1
  61. package/dist/{index-wxEEuQXu.js → index-D4v4g8FJ.js} +111 -97
  62. package/dist/{index-IscoZG-Y.js → index-DQGnbEGS.js} +2 -2
  63. package/dist/{index-Beb7_0-E.js → index-Dv7UUFkD.js} +24237 -23807
  64. package/dist/index.d.ts +1 -1
  65. package/dist/index.js +55 -48
  66. package/dist/{pick-D_XPbQHB.js → pick-VFuUwFn-.js} +1 -1
  67. package/dist/style.css +1 -1
  68. package/dist/utils/global.d.ts +33 -0
  69. package/dist/utils/index.d.ts +2 -1
  70. package/package.json +10 -7
  71. package/src/built-in/authentication/alova/helper.ts +158 -0
  72. package/src/built-in/authentication/alova/token.ts +122 -0
  73. package/src/built-in/authentication/helper.ts +7 -3
  74. package/src/built-in/authentication/index.ts +6 -20
  75. package/src/built-in/index.ts +1 -1
  76. package/src/built-in/layout-component/components/Header/TopMode/index.vue +30 -9
  77. package/src/built-in/layout-component/components/Menu/item.vue +44 -9
  78. package/src/built-in/layout-component/components/SettingBar/components/SettingHome.vue +1 -4
  79. package/src/built-in/layout-component/components/SettingBar/components/SettingToolbar.vue +0 -6
  80. package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +3 -3
  81. package/src/built-in/layout-component/components/Tools/SearchBar.vue +1 -3
  82. package/src/built-in/layout-component/components/Tools/SearchPanel.vue +125 -57
  83. package/src/built-in/layout-component/components/Tools/index.vue +9 -12
  84. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +64 -11
  85. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +73 -18
  86. package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +4 -7
  87. package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +6 -6
  88. package/src/built-in/layout-component/composables/useContext.ts +1 -1
  89. package/src/built-in/layout-component/composables/useGlobalSearch.ts +40 -1
  90. package/src/built-in/layout-component/composables/useTitle.ts +8 -14
  91. package/src/built-in/layout-component/provider.ts +2 -2
  92. package/src/built-in/system-info/components/SystemInfo.vue +53 -0
  93. package/src/built-in/system-info/index.ts +16 -0
  94. package/src/core/ctx.ts +7 -1
  95. package/src/core/interface.ts +18 -5
  96. package/src/core/request.ts +35 -15
  97. package/src/core/resolver/icon.ts +9 -5
  98. package/src/features/components/PubinfoIcon/PrismBox.vue +203 -0
  99. package/src/features/components/PubinfoIcon/SquareBox.vue +59 -0
  100. package/src/features/components/PubinfoIcon/index.vue +128 -37
  101. package/src/features/components/PubinfoIcon/props.ts +54 -0
  102. package/src/features/components/index.ts +4 -1
  103. package/src/features/context/index.ts +1 -16
  104. package/src/features/router/systemRoutes.ts +0 -1
  105. package/src/features/settings/index.ts +0 -1
  106. package/src/features/stores/modules/favorites.ts +0 -1
  107. package/src/features/stores/modules/route.ts +2 -9
  108. package/src/features/stores/modules/tabbar.ts +0 -3
  109. package/src/features/stores/utils/routerHelper.ts +35 -4
  110. package/src/index.ts +7 -2
  111. package/src/utils/global.ts +161 -0
  112. package/src/utils/index.ts +2 -1
  113. package/src/utils/proxy.ts +7 -8
  114. package/types/global.d.ts +7 -0
  115. package/types/menu.d.ts +10 -0
  116. package/types/settings.d.ts +0 -7
  117. package/types/vue-router.d.ts +0 -3
  118. package/dist/SettingHome-Df7-AlWB.js +0 -55
  119. package/dist/built-in/locales/helpler.d.ts +0 -594
  120. package/dist/built-in/locales/index.d.ts +0 -5
  121. package/dist/built-in/locales/lang/en.json.d.ts +0 -99
  122. package/dist/built-in/locales/lang/zh-cn.json.d.ts +0 -100
  123. package/dist/built-in/locales/lang/zh-tw.json.d.ts +0 -100
  124. package/dist/built-in/locales/ui.d.ts +0 -3
  125. package/src/built-in/locales/helpler.ts +0 -76
  126. package/src/built-in/locales/index.ts +0 -20
  127. package/src/built-in/locales/lang/en.json +0 -96
  128. package/src/built-in/locales/lang/zh-cn.json +0 -97
  129. package/src/built-in/locales/lang/zh-tw.json +0 -97
  130. package/src/built-in/locales/ui.ts +0 -3
package/dist/index.d.ts CHANGED
@@ -22,4 +22,4 @@ export { updateWatermark } from './built-in/layout-component/composables/useWate
22
22
  export { createRequest, defineIconModule, defineRouteModule, getAllIconModules, getAllRouteModules, readProjectModules, } from './core';
23
23
  export * from './core/interface';
24
24
  export * from './features';
25
- export { cleanup, cleanupWithoutUser, createContext, storage, wrapProxy, } from './utils';
25
+ export { cleanup, cleanupWithoutUser, clearPersistedState, createContext, createRawContext, getPersistedState, getPubinfoNamespace, setPersistedState, storage, wrapProxy, } from './utils';
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { bZ as a, b_ as c, b$ as o, c0 as t, c1 as u, c2 as r, c3 as n, c4 as i, cj as b, ck as d, cl as S, bb as l, cm as f, bE as g, cn as P, cx as y, bY as p, c5 as R, c6 as A, ce as E, cf as M, cg as h, bX as m, co as I, c8 as L, cy as v, c9 as C, ca as T, cC as x, cA as j, cb as w, cc as O, cz as W, cD as D, cB as H, cp as U, cd as _, ch as k, c7 as q, cq as B, cw as F, cr as K, cE as N, cF as Y, cu as z, cG as G, cH as V, cI as X, u as Z, cv as $, cs as J, a as Q, bW as ee, b9 as se, ct as ae, bM as ce, ci as oe } from "./index-Beb7_0-E.js";
1
+ import { bZ as a, b_ as t, b$ as c, c0 as o, c1 as u, c2 as r, c3 as n, c4 as i, co as b, cp as d, cq as S, bb as P, cr as f, bE as l, cs as g, ct as y, cu as p, cE as R, bY as m, c5 as A, c6 as E, ce as I, cf as M, cg as x, ch as L, bX as h, cv as C, ci as v, c8 as T, cF as w, c9 as O, ca as j, cJ as B, cH as N, cb as W, cc as q, cG as D, cj as H, ck as K, cK as U, cI as _, cw as k, cd as F, cl as Y, cm as z, c7 as G, cx as J, cD as V, cy as X, cL as Z, cM as $, cB as Q, cN as ee, cO as se, cP as ae, u as te, cC as ce, cz as oe, a as ue, bW as re, b9 as ne, cA as ie, bM as be, cn as de } from "./index-Dv7UUFkD.js";
2
2
  export {
3
3
  a as Copyright,
4
- c as Layout,
5
- o as LayoutContent,
6
- t as LayoutHeader,
4
+ t as Layout,
5
+ c as LayoutContent,
6
+ o as LayoutHeader,
7
7
  u as LayoutProvider,
8
8
  r as LayoutSidebar,
9
9
  n as LayoutTopbar,
@@ -11,50 +11,57 @@ export {
11
11
  b as NotAllowed,
12
12
  d as PageHeader,
13
13
  S as PageMain,
14
- l as PassStrengthValidator,
14
+ P as PassStrengthValidator,
15
15
  f as PubinfoApp,
16
- g as PubinfoIcon,
17
- P as PubinfoProvider,
18
- y as RESOURCE_TYPE,
19
- p as RESPONSE_CODE,
20
- R as Tool,
21
- A as Tools,
22
- E as cleanup,
16
+ l as PubinfoIcon,
17
+ g as PubinfoIconPrismBox,
18
+ y as PubinfoIconSquareBox,
19
+ p as PubinfoProvider,
20
+ R as RESOURCE_TYPE,
21
+ m as RESPONSE_CODE,
22
+ A as Tool,
23
+ E as Tools,
24
+ I as cleanup,
23
25
  M as cleanupWithoutUser,
24
- h as createContext,
25
- m as createPubinfo,
26
- I as createPubinfoProvider,
27
- L as createRequest,
28
- v as defineAsyncRoutes,
29
- C as defineIconModule,
30
- T as defineRouteModule,
31
- x as defineSettings,
32
- j as defineSystemRoutes,
33
- w as getAllIconModules,
34
- O as getAllRouteModules,
35
- W as getAsyncRoutes,
36
- D as getSettings,
37
- H as getSystemRoutes,
38
- U as pubinfoInjectionKey,
39
- _ as readProjectModules,
40
- k as storage,
41
- q as updateWatermark,
42
- B as useAuth,
43
- F as useBox,
44
- K as useError,
45
- N as useFavoritesStore,
46
- Y as useIframeStore,
47
- z as useInfo,
48
- G as useKeepAliveStore,
49
- V as useMenuStore,
50
- X as useRouteStore,
51
- Z as useSettingsStore,
52
- $ as useStart,
53
- J as useSuccess,
54
- Q as useTabbarStore,
55
- ee as useTheme,
56
- se as useUserStore,
57
- ae as useWarn,
58
- ce as watchDiffObject,
59
- oe as wrapProxy
26
+ x as clearPersistedState,
27
+ L as createContext,
28
+ h as createPubinfo,
29
+ C as createPubinfoProvider,
30
+ v as createRawContext,
31
+ T as createRequest,
32
+ w as defineAsyncRoutes,
33
+ O as defineIconModule,
34
+ j as defineRouteModule,
35
+ B as defineSettings,
36
+ N as defineSystemRoutes,
37
+ W as getAllIconModules,
38
+ q as getAllRouteModules,
39
+ D as getAsyncRoutes,
40
+ H as getPersistedState,
41
+ K as getPubinfoNamespace,
42
+ U as getSettings,
43
+ _ as getSystemRoutes,
44
+ k as pubinfoInjectionKey,
45
+ F as readProjectModules,
46
+ Y as setPersistedState,
47
+ z as storage,
48
+ G as updateWatermark,
49
+ J as useAuth,
50
+ V as useBox,
51
+ X as useError,
52
+ Z as useFavoritesStore,
53
+ $ as useIframeStore,
54
+ Q as useInfo,
55
+ ee as useKeepAliveStore,
56
+ se as useMenuStore,
57
+ ae as useRouteStore,
58
+ te as useSettingsStore,
59
+ ce as useStart,
60
+ oe as useSuccess,
61
+ ue as useTabbarStore,
62
+ re as useTheme,
63
+ ne as useUserStore,
64
+ ie as useWarn,
65
+ be as watchDiffObject,
66
+ de as wrapProxy
60
67
  };
@@ -1,4 +1,4 @@
1
- import { bO as s, bP as t, bQ as u } from "./index-Beb7_0-E.js";
1
+ import { bO as s, bP as t, bQ as u } from "./index-Dv7UUFkD.js";
2
2
  function i(n, a) {
3
3
  return s(n, a, function(e, r) {
4
4
  return t(n, r);