@pubinfo/core 2.0.0-rc.2 → 2.0.0-rc.4
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.
- package/dist/{AppSetting-D2RJrc9O.js → AppSetting-BI-oNc4e.js} +19 -19
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-DusVz35O.js → HCheckList.vue_vue_type_script_setup_true_lang-BdLpkcoh.js} +1 -1
- package/dist/{HToggle-DMcVgMVY.js → HToggle-DxdWLgp-.js} +1 -1
- package/dist/{PreferencesContent-Dtd9rtew.js → PreferencesContent-CCYkZeCT.js} +52 -52
- package/dist/{SettingBreadcrumb-QSCSviKM.js → SettingBreadcrumb-BTyfiy4k.js} +5 -5
- package/dist/{SettingCopyright-Dr5P6yfq.js → SettingCopyright-g6UHi8pZ.js} +2 -2
- package/dist/{SettingEnableTransition-DGiHEbCI.js → SettingEnableTransition-Ci-5bhbR.js} +12 -12
- package/dist/{SettingHome-CEPcBlds.js → SettingHome-K4Iel0Hr.js} +8 -8
- package/dist/{SettingMenu-BJdjnRA6.js → SettingMenu-BYLWzA5i.js} +14 -14
- package/dist/{SettingMode-BnuCHoEY.js → SettingMode-tRisyKtg.js} +3 -3
- package/dist/{SettingNavSearch-CiU4BmlU.js → SettingNavSearch-CSM6mPf8.js} +6 -6
- package/dist/{SettingOther-DTHjVlFe.js → SettingOther-Bj5KF_vC.js} +11 -11
- package/dist/{SettingPage-D75_Nf05.js → SettingPage-CFjmrVI7.js} +2 -2
- package/dist/{SettingTabbar-D48dzvgA.js → SettingTabbar-uFYiaZhK.js} +13 -13
- package/dist/{SettingThemes-D-8vTs5n.js → SettingThemes-C-tMq9o5.js} +12 -12
- package/dist/{SettingToolbar-DjIjm9V-.js → SettingToolbar-BfDzijNU.js} +10 -10
- package/dist/{SettingTopbar-Cg30OTH3.js → SettingTopbar-DTDv4NXD.js} +6 -6
- package/dist/{SettingWidthMode-BKV_7kb8.js → SettingWidthMode-PkiwrHe3.js} +11 -11
- package/dist/{TopThinMode-JFYsp_lJ.js → TopThinMode-BrvA8pV0.js} +3 -3
- package/dist/built-in/authentication/alova/helper.d.ts +34 -0
- package/dist/built-in/authentication/alova/token.d.ts +16 -0
- package/dist/built-in/authentication/helper.d.ts +10 -1
- package/dist/built-in/index.d.ts +0 -1
- package/dist/built-in/layout-component/Layout.vue.d.ts +1 -0
- package/dist/built-in/layout-component/components/Tools/Fullscreen.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/PageReload.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/SearchBar.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/index.vue.d.ts +47 -1
- package/dist/built-in/layout-component/components/Tools/interface.d.ts +26 -0
- package/dist/built-in/layout-component/components/ui/HDropdownMenu.vue.d.ts +2 -7
- package/dist/built-in/layout-component/components/ui/HSlideover.vue.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useContext.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useHotkey.d.ts +1 -5
- package/dist/built-in/layout-component/composables/useMainPage.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useMenu.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useTabbar.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useTitle.d.ts +3 -2
- package/dist/built-in/layout-component/composables/useWatermark.d.ts +3 -1
- package/dist/built-in/layout-component/index.d.ts +9 -6
- package/dist/built-in/layout-component/utils/index.d.ts +0 -1
- package/dist/{colors-CODcBxrF.js → colors-VoaDbOhe.js} +1 -1
- package/dist/core/interface.d.ts +14 -5
- package/dist/core/request.d.ts +2 -8
- package/dist/features/api/modules/auth/renzhengfuwu.d.ts +8 -8
- package/dist/features/api/modules/configData/heibaimingdanfuwu.d.ts +5 -5
- package/dist/features/api/modules/configData/xitongpeizhifuwu.d.ts +14 -14
- package/dist/features/api/modules/configData/zidifuwu.d.ts +10 -10
- package/dist/features/api/modules/rbac/gangweijiekou.d.ts +6 -6
- package/dist/features/api/modules/rbac/jiaosejiekou.d.ts +7 -7
- package/dist/features/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -7
- package/dist/features/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +9 -9
- package/dist/features/api/modules/rbac/yonghujiekou.d.ts +15 -15
- package/dist/features/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +5 -5
- package/dist/features/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +4 -4
- package/dist/features/api/modules/rbac/ziyuanjiekou.d.ts +13 -13
- package/dist/features/api/modules/rbac/zuhuguanlijiekou.d.ts +5 -5
- package/dist/features/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +4 -4
- package/dist/features/api/modules/rbac/zuzhijiekou.d.ts +9 -9
- package/dist/features/api/system/user.d.ts +4 -4
- package/dist/{index-RT-QBzm0.js → index-BSevJVD5.js} +10 -15
- package/dist/{index-BVLkBCRY.js → index-BfGqLWFB.js} +6418 -6439
- package/dist/{index-DQn1WFMa.js → index-CYoFRwvw.js} +2 -2
- package/dist/{index-DmcblkoZ.js → index-ConeY38N.js} +13 -13
- package/dist/{index-BAoB7aoj.js → index-DV3hkzKA.js} +1 -1
- package/dist/{index-D4_xmL_A.js → index-Ddw98rJ5.js} +25 -25
- package/dist/{index-DvJr0paY.js → index-DrC787X_.js} +2 -2
- package/dist/{index-BROqFYXS.js → index-Dv9ndBoi.js} +1 -1
- package/dist/{index-Jd3PYkpj.js → index-IAYhIBQH.js} +16815 -16694
- package/dist/index.d.ts +4 -2
- package/dist/index.js +53 -55
- package/dist/{pick-BLJM77QN.js → pick-vpv9EEvu.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +11 -11
- package/src/built-in/authentication/alova/helper.ts +158 -0
- package/src/built-in/authentication/alova/token.ts +122 -0
- package/src/built-in/authentication/helper.ts +7 -3
- package/src/built-in/authentication/index.ts +6 -20
- package/src/built-in/index.ts +0 -1
- package/src/built-in/layout-component/Layout.vue +11 -22
- package/src/built-in/layout-component/components/Header/TopMode/index.vue +4 -4
- package/src/built-in/layout-component/components/Menu/item.vue +3 -3
- package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +4 -4
- package/src/built-in/layout-component/components/Sidebar/index.vue +1 -1
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +108 -0
- package/src/built-in/layout-component/components/Tools/Fullscreen.vue +24 -0
- package/src/built-in/layout-component/components/Tools/PageReload.vue +22 -0
- package/src/built-in/layout-component/components/Tools/SearchBar.vue +42 -0
- package/src/built-in/layout-component/components/Tools/{Search.vue → SearchPanel.vue} +13 -21
- package/src/built-in/layout-component/components/Tools/index.vue +71 -142
- package/src/built-in/layout-component/components/Tools/interface.ts +27 -0
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +9 -12
- package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +12 -15
- package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +4 -7
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +6 -6
- package/src/built-in/layout-component/components/ui/HDropdownMenu.vue +19 -26
- package/src/built-in/layout-component/composables/useContext.ts +1 -1
- package/src/built-in/layout-component/composables/useGetComputedStyle.ts +2 -3
- package/src/built-in/layout-component/composables/useHotkey.ts +6 -10
- package/src/built-in/layout-component/composables/useMainPage.ts +5 -6
- package/src/built-in/layout-component/composables/useMenu.ts +3 -5
- package/src/built-in/layout-component/composables/useTabbar.ts +3 -5
- package/src/built-in/layout-component/composables/useTitle.ts +10 -17
- package/src/built-in/layout-component/composables/useWatermark.ts +25 -12
- package/src/built-in/layout-component/index.ts +21 -12
- package/src/built-in/layout-component/provider.ts +7 -3
- package/src/built-in/layout-component/utils/index.ts +0 -1
- package/src/built-in/settings/router.ts +5 -1
- package/src/core/interface.ts +18 -5
- package/src/core/request.ts +35 -15
- package/src/features/router/systemRoutes.ts +0 -1
- package/src/features/stores/modules/favorites.ts +0 -1
- package/src/features/stores/modules/route.ts +2 -9
- package/src/features/stores/modules/tabbar.ts +0 -3
- package/src/features/stores/utils/routerHelper.ts +38 -4
- package/src/index.ts +7 -11
- package/types/vue-router.d.ts +0 -3
- package/dist/built-in/layout-component/utils/eventBus.d.ts +0 -5
- package/dist/built-in/locales/helpler.d.ts +0 -594
- package/dist/built-in/locales/index.d.ts +0 -5
- package/dist/built-in/locales/lang/en.json.d.ts +0 -99
- package/dist/built-in/locales/lang/zh-cn.json.d.ts +0 -100
- package/dist/built-in/locales/lang/zh-tw.json.d.ts +0 -100
- package/dist/built-in/locales/ui.d.ts +0 -3
- package/src/built-in/layout-component/components/Tools/DayNightSwitch.vue +0 -70
- package/src/built-in/layout-component/utils/eventBus.ts +0 -8
- package/src/built-in/locales/helpler.ts +0 -76
- package/src/built-in/locales/index.ts +0 -20
- package/src/built-in/locales/lang/en.json +0 -96
- package/src/built-in/locales/lang/zh-cn.json +0 -97
- package/src/built-in/locales/lang/zh-tw.json +0 -97
- package/src/built-in/locales/ui.ts +0 -3
- /package/dist/built-in/layout-component/components/Tools/{DayNightSwitch.vue.d.ts → DarkModeToggle.vue.d.ts} +0 -0
- /package/dist/built-in/layout-component/components/Tools/{Search.vue.d.ts → SearchPanel.vue.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -15,8 +15,10 @@ export interface PubinfoOptions extends Options {
|
|
|
15
15
|
pure?: boolean;
|
|
16
16
|
}
|
|
17
17
|
export declare function createPubinfo(options: PubinfoOptions): () => Promise<import('./core').Context>;
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
18
|
+
export { RESPONSE_CODE } from './built-in/authentication';
|
|
19
|
+
export { Copyright, Layout, LayoutContent, LayoutHeader, LayoutProvider, LayoutSidebar, LayoutTopbar, Logo, Tool, Tools, } from './built-in/layout-component';
|
|
20
|
+
export type { DropdownMenu, DropdownMenuRender } from './built-in/layout-component';
|
|
21
|
+
export { updateWatermark } from './built-in/layout-component/composables/useWatermark';
|
|
20
22
|
export { createRequest, defineIconModule, defineRouteModule, getAllIconModules, getAllRouteModules, readProjectModules, } from './core';
|
|
21
23
|
export * from './core/interface';
|
|
22
24
|
export * from './features';
|
package/dist/index.js
CHANGED
|
@@ -1,62 +1,60 @@
|
|
|
1
|
-
import {
|
|
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";
|
|
2
2
|
export {
|
|
3
|
-
a as
|
|
4
|
-
c as
|
|
5
|
-
t as Layout,
|
|
3
|
+
a as Copyright,
|
|
4
|
+
c as Layout,
|
|
6
5
|
o as LayoutContent,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
t as LayoutHeader,
|
|
7
|
+
u as LayoutProvider,
|
|
8
|
+
r as LayoutSidebar,
|
|
9
|
+
n as LayoutTopbar,
|
|
10
|
+
i as Logo,
|
|
11
11
|
b as NotAllowed,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
d as PageHeader,
|
|
13
|
+
S as PageMain,
|
|
14
|
+
l as PassStrengthValidator,
|
|
15
|
+
f as PubinfoApp,
|
|
16
16
|
g as PubinfoIcon,
|
|
17
17
|
P as PubinfoProvider,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
R as
|
|
21
|
-
A as
|
|
22
|
-
E as
|
|
23
|
-
M as
|
|
24
|
-
h as
|
|
25
|
-
v as cleanupWithoutUser,
|
|
26
|
-
I as createContext,
|
|
18
|
+
y as RESOURCE_TYPE,
|
|
19
|
+
p as RESPONSE_CODE,
|
|
20
|
+
R as Tool,
|
|
21
|
+
A as Tools,
|
|
22
|
+
E as cleanup,
|
|
23
|
+
M as cleanupWithoutUser,
|
|
24
|
+
h as createContext,
|
|
27
25
|
m as createPubinfo,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
|
62
60
|
};
|