@pubinfo/core 2.0.0-beta.27 → 2.0.0-beta.29
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-8APd2n5W.js → AppSetting-CVExa3_K.js} +21 -20
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-xHHNH-Do.js → HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
- package/dist/{PreferencesContent-B6v1Y85P.js → PreferencesContent-p9KS2Pve.js} +46 -45
- package/dist/{SettingBreadcrumb-DRbL0ad_.js → SettingBreadcrumb-DwvQtev2.js} +2 -2
- package/dist/{SettingCopyright-BQF1UDPx.js → SettingCopyright-Wb3hkKZZ.js} +1 -1
- package/dist/{SettingEnableTransition-COQvH_bE.js → SettingEnableTransition-DT23T8dO.js} +1 -1
- package/dist/{SettingHome-BL-JRz6C.js → SettingHome-C0K6wkyt.js} +1 -1
- package/dist/{SettingMenu-CL08Xnqj.js → SettingMenu-CCKj46sg.js} +2 -2
- package/dist/{SettingMode-CHFQfbwC.js → SettingMode-pwpzZcxj.js} +1 -1
- package/dist/{SettingNavSearch-D3EfJLm4.js → SettingNavSearch-zoiP1hL2.js} +1 -1
- package/dist/{SettingOther-D8vWJBqB.js → SettingOther-OIZZcjfo.js} +1 -1
- package/dist/{SettingPage-C6834qKt.js → SettingPage-CyljqOiV.js} +1 -1
- package/dist/{SettingTabbar-C4Nk7PaM.js → SettingTabbar-DCQai4_R.js} +2 -2
- package/dist/{SettingThemes-CAiwgt41.js → SettingThemes-DJIaIqy1.js} +2 -2
- package/dist/{SettingToolbar-Bue6Bsao.js → SettingToolbar-Dvv11piV.js} +1 -1
- package/dist/{SettingTopbar-CklZW6nz.js → SettingTopbar-CMpP98WU.js} +2 -2
- package/dist/{SettingWidthMode-Ba5CjpXS.js → SettingWidthMode-DVPAA6Xs.js} +1 -1
- package/dist/{TopThinMode-BKgHAbKj.js → TopThinMode-D8rMfa-C.js} +1 -1
- package/dist/{_...all_-CiLs5zE0.js → _...all_-6l5FWUkL.js} +1 -1
- package/dist/{colors-ehvAxkYC.js → colors-DiWJrScm.js} +1 -1
- package/dist/components/PubinfoIcon/register.d.ts +9 -0
- package/dist/index-Be7jJtXg.js +232 -0
- package/dist/index-BmMbAV1Y.js +141 -0
- package/dist/{index-CqQ-P_1q.js → index-CfasTv4x.js} +8 -8
- package/dist/{index-CAjh59MN.js → index-Ckgil96Y.js} +30 -30
- package/dist/index-CyyndQxa.js +13107 -0
- package/dist/{index-hjeR7S9d.js → index-De_ME_Ws.js} +2 -2
- package/dist/{index-C5TqLQ-T.js → index-Md7zV10q.js} +1 -1
- package/dist/{index-BK4luc55.js → index-bsi-FZDt.js} +11 -9
- package/dist/{index-BjAXx4BA.js → index-lv9zqWqR.js} +3 -3
- package/dist/index.js +33 -32
- package/dist/{toolbar-collapse-BhNN4H7Y.js → index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js} +489 -503
- package/dist/interface.d.ts +2 -0
- package/dist/layout/Layout.vue.d.ts +2 -2
- package/dist/{menu-D3oKigWX.js → menu-CC5544p-.js} +3202 -3184
- package/dist/pages/system/change-organization/index.vue.d.ts +1 -1
- package/dist/pages/system/change-password/index.vue.d.ts +1 -1
- package/dist/{pick-Cku6R96i.js → pick-CJo2YiT-.js} +1 -1
- package/dist/request.js +399 -390
- package/dist/route/routes.d.ts +6 -4
- package/dist/style.css +2 -2
- package/dist/utils/index.d.ts +6 -0
- package/package.json +26 -26
- package/src/api/modules/configData/xitongpeizhifuwu.ts +3 -3
- package/src/components/PubinfoApp/index.vue +1 -1
- package/src/components/PubinfoIcon/index.vue +3 -1
- package/src/components/PubinfoIcon/register.ts +19 -0
- package/src/components/PubinfoProvider/index.ts +1 -2
- package/src/create.ts +7 -0
- package/src/interface.ts +2 -0
- package/src/layout/Layout.vue +50 -59
- package/src/layout/components/Content/index.vue +34 -13
- package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
- package/src/layout/composables/useMainPage.ts +1 -1
- package/src/layout/provider.ts +7 -1
- package/src/pages/system/change-organization/index.vue +65 -73
- package/src/pages/system/change-password/index.vue +36 -44
- package/src/route/routes.ts +26 -8
- package/src/stores/modules/route.ts +10 -2
- package/src/utils/index.ts +14 -0
- package/types/vue-router.d.ts +3 -1
- package/dist/index-64V9RiCt.js +0 -240
- package/dist/index-BLvVzLOl.js +0 -147
- package/dist/index-DTsHMiQx.js +0 -12711
package/dist/route/routes.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { Route } from '../../types/vue-router';
|
|
2
2
|
import { RouteRecordRaw } from 'vue-router';
|
|
3
|
+
interface AsyncRoutesOptions {
|
|
4
|
+
/** 路由排序 */
|
|
5
|
+
sort?: number;
|
|
6
|
+
}
|
|
3
7
|
/**
|
|
4
8
|
* 定义并注册动态路由
|
|
5
9
|
*/
|
|
6
|
-
export declare function defineAsyncRoutes(routes: Route.recordMainRaw[]): Route.recordMainRaw[];
|
|
10
|
+
export declare function defineAsyncRoutes(routes: Route.recordMainRaw[], options?: AsyncRoutesOptions): Route.recordMainRaw[];
|
|
7
11
|
/**
|
|
8
12
|
* 读取注册的动态路由
|
|
9
13
|
*/
|
|
@@ -16,7 +20,5 @@ export declare function defineSystemRoutes(routes: RouteRecordRaw[]): void;
|
|
|
16
20
|
* 读取注册的系统路由
|
|
17
21
|
*/
|
|
18
22
|
export declare function getSystemRoutes(): RouteRecordRaw[];
|
|
19
|
-
/**
|
|
20
|
-
* 内置静态路由
|
|
21
|
-
*/
|
|
22
23
|
export declare const constantRoutes: RouteRecordRaw[];
|
|
24
|
+
export {};
|