@pubinfo/core 2.0.5 → 2.0.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.
Files changed (66) hide show
  1. package/dist/{AppSetting-DXWLCrHK.js → AppSetting-Bqdk4mr0.js} +15 -15
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CWeTAl9J.js → HCheckList.vue_vue_type_script_setup_true_lang-Dun5ilGJ.js} +6 -7
  3. package/dist/{HToggle-BrA8cCVJ.js → HToggle-B1MlIVcK.js} +1 -1
  4. package/dist/HeaderThinMenu-C5rj1NGZ.js +4 -0
  5. package/dist/{PreferencesContent-6s6Bb66p.js → PreferencesContent-DLqC7RFC.js} +4 -4
  6. package/dist/{SettingBreadcrumb-D7XUufYP.js → SettingBreadcrumb-DWRDMfAi.js} +3 -3
  7. package/dist/{SettingCopyright-B1QA6f0R.js → SettingCopyright-C4K-AXxu.js} +2 -2
  8. package/dist/{SettingEnableTransition-C1lccvKJ.js → SettingEnableTransition-82BIgjuv.js} +2 -2
  9. package/dist/{SettingHome-DFzpduj_.js → SettingHome-D9qElPUi.js} +2 -2
  10. package/dist/{SettingMenu-BWVnHKmZ.js → SettingMenu-smmCDuqz.js} +3 -3
  11. package/dist/{SettingMode-CCYkyiJe.js → SettingMode-Ct8lcvcA.js} +1 -1
  12. package/dist/{SettingNavSearch-CSboDt7O.js → SettingNavSearch-CC4Hl4wF.js} +2 -2
  13. package/dist/{SettingOther-CKje3ppW.js → SettingOther-DMFPAPjR.js} +2 -2
  14. package/dist/{SettingPage-Cy5QBoiw.js → SettingPage-D8m-naZp.js} +2 -2
  15. package/dist/{SettingTabbar-CPAGoX7H.js → SettingTabbar-P3lOwe5Y.js} +3 -3
  16. package/dist/{SettingThemes-Cj8zHw81.js → SettingThemes-BwKbjHZZ.js} +1 -1
  17. package/dist/{SettingToolbar-By5fs_vK.js → SettingToolbar-NjhqqJNo.js} +2 -2
  18. package/dist/{SettingTopbar-CMC03lzb.js → SettingTopbar-CL9g9QwB.js} +3 -3
  19. package/dist/{SettingWidthMode-CsWVtIhX.js → SettingWidthMode-Bfv4uU4j.js} +1 -1
  20. package/dist/built-in/layout-component/Layout.vue.d.ts +1 -0
  21. package/dist/built-in/layout-component/index.d.ts +2 -1
  22. package/dist/{colors-PYwA9HeG.js → colors-BksLvfd2.js} +1 -1
  23. package/dist/core/interface.d.ts +5 -0
  24. package/dist/core/resolver/icon.d.ts +2 -0
  25. package/dist/features/components/PageMain/index.vue.d.ts +1 -1
  26. package/dist/features/components/PubinfoIcon/index.vue.d.ts +1 -13
  27. package/dist/features/components/index.d.ts +0 -1
  28. package/dist/features/stores/modules/menu.d.ts +4 -3
  29. package/dist/{index-CyPGB_nB.js → index-BR7USpvK.js} +2 -2
  30. package/dist/{index-rq5fCkC1.js → index-BZvIi9NG.js} +14814 -14767
  31. package/dist/{index-KfXI3f5D.js → index-BfNdcMoQ.js} +2 -2
  32. package/dist/index-BiFknLSr.js +4 -0
  33. package/dist/{index-DsXnRME_.js → index-CKhI9IyX.js} +1 -1
  34. package/dist/{index-C0lnDzae.js → index-CY6xyw-d.js} +2 -2
  35. package/dist/{index-C54-r6zd.js → index-Ck4Qus0W.js} +3 -3
  36. package/dist/{index-C1gew7gA.js → index-DN5TqEna.js} +4 -4
  37. package/dist/{index-C0MpeDJ4.js → index-icXFkR7f.js} +1 -1
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.js +1 -1
  40. package/dist/{pick-BtdlEifh.js → pick-DjxDa62c.js} +1 -1
  41. package/dist/style.css +1 -1
  42. package/package.json +5 -5
  43. package/src/built-in/layout-component/Layout.vue +14 -2
  44. package/src/built-in/layout-component/components/Header/HeaderThinMenu.vue +2 -6
  45. package/src/built-in/layout-component/components/Menu/index.vue +1 -1
  46. package/src/{features → built-in/layout-component}/components/NotAllowed/index.vue +2 -32
  47. package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +28 -10
  48. package/src/built-in/layout-component/index.ts +2 -1
  49. package/src/built-in/layout-component/provider.ts +0 -3
  50. package/src/core/interface.ts +7 -0
  51. package/src/core/resolver/icon.ts +37 -1
  52. package/src/core/resolver/page.ts +0 -1
  53. package/src/features/assets/styles/globals.css +1 -10
  54. package/src/features/components/PubinfoApp/index.vue +1 -14
  55. package/src/features/components/PubinfoIcon/index.vue +92 -7
  56. package/src/features/components/index.ts +0 -1
  57. package/src/features/settings/index.ts +1 -0
  58. package/src/features/stores/modules/menu.ts +43 -25
  59. package/src/features/stores/modules/route.ts +8 -3
  60. package/src/index.ts +1 -0
  61. package/types/settings.d.ts +6 -0
  62. package/dist/HeaderThinMenu-Be1Gkb6k.js +0 -4
  63. package/dist/index-BJQN47v_.js +0 -4
  64. /package/dist/{features → built-in/layout-component}/components/NotAllowed/index.vue.d.ts +0 -0
  65. /package/src/{features/components/NotAllowed/assets → built-in/layout-component/assets/images}/403.svg +0 -0
  66. /package/src/{features/components/NotAllowed/assets → built-in/layout-component/assets/images}/403_dark.svg +0 -0
package/src/index.ts CHANGED
@@ -88,6 +88,7 @@ export {
88
88
  LayoutSidebar,
89
89
  LayoutTopbar,
90
90
  Logo,
91
+ NotAllowed,
91
92
  Tool,
92
93
  Tools,
93
94
  } from './built-in/layout-component';
@@ -220,6 +220,12 @@ declare namespace Settings {
220
220
  */
221
221
  enableHotkeys?: boolean
222
222
 
223
+ /**
224
+ * 是否展示无权限的菜单
225
+ *
226
+ * @默认值 `false`
227
+ */
228
+ showWithoutPermission?: boolean
223
229
  }
224
230
 
225
231
  /* ================== TOPBAR ================= */
@@ -1,4 +0,0 @@
1
- import { bH as f } from "./index-rq5fCkC1.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { bG as f } from "./index-rq5fCkC1.js";
2
- export {
3
- f as default
4
- };