@pubinfo/core 2.1.6 → 2.1.7
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-BIRvodtV.js → AppSetting-CTIsHew8.js} +15 -15
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-BLVMjmfa.js → HCheckList.vue_vue_type_script_setup_true_lang-VeZLC9_3.js} +1 -1
- package/dist/{HToggle-CdADiMUw.js → HToggle-yjb49QxF.js} +1 -1
- package/dist/HeaderThinMenu-BVlGUPXh.js +4 -0
- package/dist/{PreferencesContent-CcsKZRyN.js → PreferencesContent-CZQf1_VU.js} +4 -4
- package/dist/{SettingBreadcrumb-SJBoMC0-.js → SettingBreadcrumb-BcIsqS3T.js} +3 -3
- package/dist/{SettingCopyright-BR0v9vy9.js → SettingCopyright-CLcJJ_ZY.js} +2 -2
- package/dist/{SettingEnableTransition-H3-8W2Ay.js → SettingEnableTransition-8CPCBLhR.js} +2 -2
- package/dist/{SettingHome-EPaeVV35.js → SettingHome-BmaIcr9s.js} +2 -2
- package/dist/{SettingMenu-DeKXG6Ye.js → SettingMenu-CXV2tDsG.js} +3 -3
- package/dist/{SettingMode-Ce8ncU-3.js → SettingMode-ClKWlQsK.js} +1 -1
- package/dist/{SettingNavSearch-Nv1XWI8Z.js → SettingNavSearch-BRDac2j6.js} +2 -2
- package/dist/{SettingOther-DLeUQI_l.js → SettingOther-BX1lfqmd.js} +2 -2
- package/dist/{SettingPage-BgDKHXfm.js → SettingPage-DHw1q1h7.js} +2 -2
- package/dist/{SettingTabbar-DRzh8xvT.js → SettingTabbar-mcZN2csR.js} +3 -3
- package/dist/{SettingThemes-BjJb2ABS.js → SettingThemes-DGui2UHj.js} +1 -1
- package/dist/{SettingToolbar-Dl1m_y2o.js → SettingToolbar-DhcVwzSM.js} +2 -2
- package/dist/{SettingTopbar-HK2Fev5b.js → SettingTopbar-BkzRB6Cj.js} +3 -3
- package/dist/{SettingWidthMode-DJFruHIU.js → SettingWidthMode-fBOSOYdB.js} +1 -1
- package/dist/built-in/authentication/pages/change-password/components/ChangePasswordForm/index.vue.d.ts +639 -2
- package/dist/built-in/authentication/pages/change-password/index.vue.d.ts +644 -3
- package/dist/built-in/layout-component/components/Menu/item.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/Menu/sub.vue.d.ts +17 -17
- package/dist/built-in/layout-component/components/Menu/types.d.ts +1 -1
- package/dist/built-in/layout-component/components/Sidebar/index.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/Tools/SearchPanel.vue.d.ts +15 -15
- package/dist/built-in/layout-component/components/ui/HInput.vue.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useContext.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useGetComputedStyle.d.ts +2 -2
- package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +3 -3
- package/dist/built-in/layout-component/composables/useLayoutVisible.d.ts +12 -1
- package/dist/built-in/layout-component/composables/useTabbar.d.ts +8 -8
- package/dist/built-in/layout-component/provider.d.ts +24 -1
- package/dist/features/components/PassStrengthValidator/index.vue.d.ts +6 -6
- package/dist/features/components/PubinfoProvider/index.d.ts +12 -2
- package/dist/features/composables/partyLogin.d.ts +3 -3
- package/dist/features/composables/theme.d.ts +1 -1
- package/dist/features/stores/modules/favorites.d.ts +39 -9
- package/dist/features/stores/modules/iframe.d.ts +61 -15
- package/dist/features/stores/modules/keepAlive.d.ts +9 -9
- package/dist/features/stores/modules/menu.d.ts +255 -21
- package/dist/features/stores/modules/route.d.ts +189 -21
- package/dist/features/stores/modules/settings.d.ts +1662 -33
- package/dist/features/stores/modules/tabbar.d.ts +117 -9
- package/dist/{index-DqUSWUO-.js → index-Bw1ie7-j.js} +1 -1
- package/dist/index-C2JZzc0b.js +4 -0
- package/dist/{index-DC4SqZQM.js → index-C5mj5gP8.js} +1 -1
- package/dist/{index-BUXE7jUv.js → index-C7-lntpD.js} +1 -1
- package/dist/{index-CRc0qAl1.js → index-CALZPKTP.js} +2 -2
- package/dist/{index-Di9_Accz.js → index-CMZt4YAs.js} +3 -3
- package/dist/{index-Dv2IycJL.js → index-CcAZUk6R.js} +10 -9
- package/dist/{index-Cf1LBY0D.js → index-CxObISsD.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{pick-CkD7KYWg.js → pick-DnLzjJ7h.js} +1 -1
- package/package.json +7 -7
- package/src/features/stores/modules/route.ts +5 -4
- package/dist/HeaderThinMenu-Dp0XlzMT.js +0 -4
- package/dist/index-BRcwNCIV.js +0 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.7",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"pinia": "^3.0.3",
|
|
32
32
|
"vue": "^3.5.17",
|
|
33
33
|
"vue-router": "^4.5.1",
|
|
34
|
-
"@pubinfo/config": "2.1.
|
|
35
|
-
"@pubinfo/vite": "2.1.
|
|
36
|
-
"@pubinfo/devtools": "2.1.
|
|
34
|
+
"@pubinfo/config": "2.1.7",
|
|
35
|
+
"@pubinfo/vite": "2.1.7",
|
|
36
|
+
"@pubinfo/devtools": "2.1.7"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@alova/adapter-axios": "^2.0.16",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"unctx": "^2.4.1",
|
|
64
64
|
"vue-m-message": "^4.0.2",
|
|
65
65
|
"zxcvbn": "^4.4.2",
|
|
66
|
-
"@pubinfo/shared": "2.1.
|
|
66
|
+
"@pubinfo/shared": "2.1.7"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@alova/mock": "^2.0.17",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
"vite-plugin-dts": "^4.5.4",
|
|
94
94
|
"vue": "^3.5.17",
|
|
95
95
|
"vue-router": "^4.5.1",
|
|
96
|
-
"@pubinfo/vite": "2.1.
|
|
97
|
-
"@pubinfo/config": "2.1.
|
|
96
|
+
"@pubinfo/vite": "2.1.7",
|
|
97
|
+
"@pubinfo/config": "2.1.7"
|
|
98
98
|
},
|
|
99
99
|
"scripts": {
|
|
100
100
|
"dev": "vite build -w -m watch",
|
|
@@ -356,6 +356,11 @@ const useRouteStore = defineStore(
|
|
|
356
356
|
* 生成路由
|
|
357
357
|
*/
|
|
358
358
|
async function generateRoutes() {
|
|
359
|
+
// 获取权限码
|
|
360
|
+
if (settingsStore.settings.app.enablePermission) {
|
|
361
|
+
await userStore.getPermissions();
|
|
362
|
+
}
|
|
363
|
+
|
|
359
364
|
const res = await postRbacResourceMineOrAllResourceTree({ needAll: !needFilterRoutes.value });
|
|
360
365
|
if (res.success) {
|
|
361
366
|
remoteRoutesRaw.value = res?.data ?? [];
|
|
@@ -406,10 +411,6 @@ const useRouteStore = defineStore(
|
|
|
406
411
|
routesRaw.value = await callHookAsync<RouteData[]>('route:transform', sortedRoutes);
|
|
407
412
|
}
|
|
408
413
|
|
|
409
|
-
if (settingsStore.settings.app.enablePermission) {
|
|
410
|
-
await userStore.getPermissions();
|
|
411
|
-
}
|
|
412
|
-
|
|
413
414
|
isGenerate.value = true;
|
|
414
415
|
|
|
415
416
|
// 加载常驻标签页
|
package/dist/index-BRcwNCIV.js
DELETED