@pubinfo/core 2.0.0-beta.26 → 2.0.0-beta.28

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 (63) hide show
  1. package/dist/{AppSetting-DodCOb_z.js → AppSetting-DMJZXmzA.js} +21 -20
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CMOw56Mk.js → HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
  3. package/dist/{PreferencesContent-Dic24ifo.js → PreferencesContent-BniiAnvk.js} +117 -113
  4. package/dist/{SettingBreadcrumb-DWpbGcSy.js → SettingBreadcrumb-C4f3EHvJ.js} +2 -2
  5. package/dist/{SettingCopyright-CIY0pFMT.js → SettingCopyright-BfIv7JmX.js} +1 -1
  6. package/dist/{SettingEnableTransition-f0xuLIrZ.js → SettingEnableTransition-ltxmSAel.js} +1 -1
  7. package/dist/{SettingHome-BFtJsJsN.js → SettingHome-D3YO-Jml.js} +1 -1
  8. package/dist/{SettingMenu-DuPD3iSG.js → SettingMenu-BFPc8wk1.js} +2 -2
  9. package/dist/{SettingMode-nZ65qSWK.js → SettingMode-FWqs1ki-.js} +1 -1
  10. package/dist/{SettingNavSearch-CrarPE7d.js → SettingNavSearch-CNH2GsIA.js} +1 -1
  11. package/dist/{SettingOther-BddvExCF.js → SettingOther-DeKEcGIY.js} +1 -1
  12. package/dist/{SettingPage-C6Na8HEN.js → SettingPage-CvRmxfR7.js} +1 -1
  13. package/dist/{SettingTabbar-nuwfRRaE.js → SettingTabbar-C7I7s-0s.js} +2 -2
  14. package/dist/SettingThemes-DzQ2YBRN.js +145 -0
  15. package/dist/{SettingToolbar-BdizZaGF.js → SettingToolbar-BPj0XLJ3.js} +1 -1
  16. package/dist/{SettingTopbar-D5BX5vS_.js → SettingTopbar-DVlc3dq-.js} +2 -2
  17. package/dist/{SettingWidthMode-CHrLW3gs.js → SettingWidthMode-BzNU65dj.js} +1 -1
  18. package/dist/{TopThinMode-CttqTmaT.js → TopThinMode-DSO5USf6.js} +1 -1
  19. package/dist/{_...all_--d4S-8dL.js → _...all_-6l5FWUkL.js} +1 -1
  20. package/dist/{colors-BOKDjZQI.js → colors-DiWJrScm.js} +1 -1
  21. package/dist/components/PubinfoIcon/register.d.ts +9 -0
  22. package/dist/{index-Cygbc-66.js → index-Be7jJtXg.js} +33 -31
  23. package/dist/{index-CC3GE307.js → index-BmMbAV1Y.js} +34 -30
  24. package/dist/{index-D0CMv5FJ.js → index-CXsL0aQN.js} +5618 -5248
  25. package/dist/{index-B0i20hau.js → index-CfasTv4x.js} +6 -6
  26. package/dist/{index-Bz9lh14R.js → index-Ckgil96Y.js} +30 -30
  27. package/dist/{index-DltN2SCZ.js → index-De_ME_Ws.js} +2 -2
  28. package/dist/{index-dPREgrj8.js → index-Md7zV10q.js} +12 -12
  29. package/dist/{index-DORROKh7.js → index-XnF26Tbt.js} +3 -3
  30. package/dist/{index-Cf8yM5Cv.js → index-bsi-FZDt.js} +11 -9
  31. package/dist/index.js +33 -32
  32. package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-Bmtn9Oo4.js → index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js} +315 -297
  33. package/dist/interface.d.ts +2 -0
  34. package/dist/layout/Layout.vue.d.ts +2 -2
  35. package/dist/{menu-Ddxel9ck.js → menu-CC5544p-.js} +3202 -3184
  36. package/dist/{pick-DEgsMKda.js → pick-CJo2YiT-.js} +1 -1
  37. package/dist/request.js +399 -390
  38. package/dist/route/routes.d.ts +6 -4
  39. package/dist/style.css +2 -2
  40. package/dist/utils/index.d.ts +6 -0
  41. package/package.json +26 -26
  42. package/src/api/modules/configData/xitongpeizhifuwu.ts +3 -3
  43. package/src/components/PubinfoApp/index.vue +1 -1
  44. package/src/components/PubinfoIcon/index.vue +3 -1
  45. package/src/components/PubinfoIcon/register.ts +19 -0
  46. package/src/components/PubinfoProvider/index.ts +1 -2
  47. package/src/create.ts +7 -0
  48. package/src/interface.ts +2 -0
  49. package/src/layout/Layout.vue +50 -59
  50. package/src/layout/components/Content/index.vue +34 -13
  51. package/src/layout/components/SettingBar/components/SettingThemes.vue +7 -5
  52. package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
  53. package/src/layout/components/Tools/Preferences/PreferencesContent.vue +2 -1
  54. package/src/layout/components/Tools/index.vue +1 -8
  55. package/src/layout/provider.ts +7 -1
  56. package/src/pages/system/not-permission/index.vue +2 -2
  57. package/src/route/routes.ts +26 -8
  58. package/src/stores/modules/route.ts +10 -2
  59. package/src/utils/index.ts +14 -0
  60. package/types/vue-router.d.ts +3 -1
  61. package/dist/SettingThemes-DBq6j0zt.js +0 -144
  62. package/src/layout/components/Tools/I18nSelector.vue +0 -52
  63. package/src/pages/system/change-password/page.vue +0 -58
@@ -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 {};