@pubinfo/core 2.0.0-rc.4 → 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 (75) hide show
  1. package/dist/{AppSetting-BI-oNc4e.js → AppSetting-DqVYDIHj.js} +15 -15
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-BdLpkcoh.js → HCheckList.vue_vue_type_script_setup_true_lang-SrNklW3P.js} +1 -1
  3. package/dist/{HToggle-DxdWLgp-.js → HToggle-DGTP9jYA.js} +1 -1
  4. package/dist/{PreferencesContent-CCYkZeCT.js → PreferencesContent-5NtwK9RQ.js} +4 -4
  5. package/dist/{SettingBreadcrumb-BTyfiy4k.js → SettingBreadcrumb-BudqQsuJ.js} +3 -3
  6. package/dist/{SettingCopyright-g6UHi8pZ.js → SettingCopyright-VUberG4R.js} +2 -2
  7. package/dist/{SettingEnableTransition-Ci-5bhbR.js → SettingEnableTransition-C6NYf021.js} +2 -2
  8. package/dist/SettingHome-BTaeKgwN.js +46 -0
  9. package/dist/{SettingMenu-BYLWzA5i.js → SettingMenu-D9Aon2LP.js} +3 -3
  10. package/dist/{SettingMode-tRisyKtg.js → SettingMode-DaqVd9Mq.js} +1 -1
  11. package/dist/{SettingNavSearch-CSM6mPf8.js → SettingNavSearch-N4JIheIk.js} +2 -2
  12. package/dist/{SettingOther-Bj5KF_vC.js → SettingOther-tLulcors.js} +2 -2
  13. package/dist/{SettingPage-CFjmrVI7.js → SettingPage-CEjWB45R.js} +2 -2
  14. package/dist/{SettingTabbar-uFYiaZhK.js → SettingTabbar-DyeLhcCT.js} +3 -3
  15. package/dist/{SettingThemes-C-tMq9o5.js → SettingThemes-C2M3tsVl.js} +1 -1
  16. package/dist/{SettingToolbar-BfDzijNU.js → SettingToolbar-DI7de6i0.js} +24 -31
  17. package/dist/{SettingTopbar-DTDv4NXD.js → SettingTopbar-BgIoXeAq.js} +3 -3
  18. package/dist/{SettingWidthMode-PkiwrHe3.js → SettingWidthMode-DIAU4s5e.js} +1 -1
  19. package/dist/{TopThinMode-BrvA8pV0.js → TopThinMode-JNUHrJI2.js} +1 -1
  20. package/dist/built-in/index.d.ts +1 -0
  21. package/dist/built-in/layout-component/components/Tools/SearchPanel.vue.d.ts +7 -2
  22. package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +7 -0
  23. package/dist/built-in/system-info/components/SystemInfo.vue.d.ts +2 -0
  24. package/dist/built-in/system-info/index.d.ts +5 -0
  25. package/dist/{colors-VoaDbOhe.js → colors-DxWfHM_v.js} +1 -1
  26. package/dist/features/components/PubinfoIcon/PrismBox.vue.d.ts +21 -0
  27. package/dist/features/components/PubinfoIcon/SquareBox.vue.d.ts +17 -0
  28. package/dist/features/components/PubinfoIcon/index.vue.d.ts +13 -9
  29. package/dist/features/components/PubinfoIcon/props.d.ts +58 -0
  30. package/dist/features/components/index.d.ts +2 -0
  31. package/dist/{index-BfGqLWFB.js → index-5fRpGyLW.js} +4 -4
  32. package/dist/{index-ConeY38N.js → index-BFRIv97x.js} +2 -2
  33. package/dist/{index-Dv9ndBoi.js → index-BH-vHGvk.js} +1 -1
  34. package/dist/{index-BSevJVD5.js → index-C7xIGcDc.js} +2 -2
  35. package/dist/{index-CYoFRwvw.js → index-CNVn3Ubv.js} +2 -2
  36. package/dist/{index-DV3hkzKA.js → index-Cf-u1Zqh.js} +1 -1
  37. package/dist/{index-Ddw98rJ5.js → index-D4v4g8FJ.js} +112 -98
  38. package/dist/{index-DrC787X_.js → index-DQGnbEGS.js} +2 -2
  39. package/dist/{index-IAYhIBQH.js → index-Dv7UUFkD.js} +23446 -23082
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.js +55 -48
  42. package/dist/{pick-vpv9EEvu.js → pick-VFuUwFn-.js} +1 -1
  43. package/dist/style.css +1 -1
  44. package/dist/utils/global.d.ts +33 -0
  45. package/dist/utils/index.d.ts +2 -1
  46. package/package.json +8 -5
  47. package/src/built-in/index.ts +1 -0
  48. package/src/built-in/layout-component/components/Header/TopMode/index.vue +27 -6
  49. package/src/built-in/layout-component/components/Menu/item.vue +41 -6
  50. package/src/built-in/layout-component/components/SettingBar/components/SettingHome.vue +1 -4
  51. package/src/built-in/layout-component/components/SettingBar/components/SettingToolbar.vue +0 -6
  52. package/src/built-in/layout-component/components/Tools/SearchPanel.vue +113 -37
  53. package/src/built-in/layout-component/components/Tools/index.vue +1 -1
  54. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +58 -2
  55. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +64 -6
  56. package/src/built-in/layout-component/composables/useGlobalSearch.ts +40 -1
  57. package/src/built-in/system-info/components/SystemInfo.vue +53 -0
  58. package/src/built-in/system-info/index.ts +16 -0
  59. package/src/core/ctx.ts +7 -1
  60. package/src/core/resolver/icon.ts +9 -5
  61. package/src/features/components/PubinfoIcon/PrismBox.vue +203 -0
  62. package/src/features/components/PubinfoIcon/SquareBox.vue +59 -0
  63. package/src/features/components/PubinfoIcon/index.vue +128 -37
  64. package/src/features/components/PubinfoIcon/props.ts +54 -0
  65. package/src/features/components/index.ts +4 -1
  66. package/src/features/context/index.ts +1 -16
  67. package/src/features/settings/index.ts +0 -1
  68. package/src/index.ts +7 -0
  69. package/src/utils/global.ts +161 -0
  70. package/src/utils/index.ts +2 -1
  71. package/src/utils/proxy.ts +7 -8
  72. package/types/global.d.ts +7 -0
  73. package/types/menu.d.ts +10 -0
  74. package/types/settings.d.ts +0 -7
  75. package/dist/SettingHome-K4Iel0Hr.js +0 -55
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-IAYhIBQH.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-IAYhIBQH.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);