@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.
- package/dist/{AppSetting-DodCOb_z.js → AppSetting-DMJZXmzA.js} +21 -20
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CMOw56Mk.js → HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
- package/dist/{PreferencesContent-Dic24ifo.js → PreferencesContent-BniiAnvk.js} +117 -113
- package/dist/{SettingBreadcrumb-DWpbGcSy.js → SettingBreadcrumb-C4f3EHvJ.js} +2 -2
- package/dist/{SettingCopyright-CIY0pFMT.js → SettingCopyright-BfIv7JmX.js} +1 -1
- package/dist/{SettingEnableTransition-f0xuLIrZ.js → SettingEnableTransition-ltxmSAel.js} +1 -1
- package/dist/{SettingHome-BFtJsJsN.js → SettingHome-D3YO-Jml.js} +1 -1
- package/dist/{SettingMenu-DuPD3iSG.js → SettingMenu-BFPc8wk1.js} +2 -2
- package/dist/{SettingMode-nZ65qSWK.js → SettingMode-FWqs1ki-.js} +1 -1
- package/dist/{SettingNavSearch-CrarPE7d.js → SettingNavSearch-CNH2GsIA.js} +1 -1
- package/dist/{SettingOther-BddvExCF.js → SettingOther-DeKEcGIY.js} +1 -1
- package/dist/{SettingPage-C6Na8HEN.js → SettingPage-CvRmxfR7.js} +1 -1
- package/dist/{SettingTabbar-nuwfRRaE.js → SettingTabbar-C7I7s-0s.js} +2 -2
- package/dist/SettingThemes-DzQ2YBRN.js +145 -0
- package/dist/{SettingToolbar-BdizZaGF.js → SettingToolbar-BPj0XLJ3.js} +1 -1
- package/dist/{SettingTopbar-D5BX5vS_.js → SettingTopbar-DVlc3dq-.js} +2 -2
- package/dist/{SettingWidthMode-CHrLW3gs.js → SettingWidthMode-BzNU65dj.js} +1 -1
- package/dist/{TopThinMode-CttqTmaT.js → TopThinMode-DSO5USf6.js} +1 -1
- package/dist/{_...all_--d4S-8dL.js → _...all_-6l5FWUkL.js} +1 -1
- package/dist/{colors-BOKDjZQI.js → colors-DiWJrScm.js} +1 -1
- package/dist/components/PubinfoIcon/register.d.ts +9 -0
- package/dist/{index-Cygbc-66.js → index-Be7jJtXg.js} +33 -31
- package/dist/{index-CC3GE307.js → index-BmMbAV1Y.js} +34 -30
- package/dist/{index-D0CMv5FJ.js → index-CXsL0aQN.js} +5618 -5248
- package/dist/{index-B0i20hau.js → index-CfasTv4x.js} +6 -6
- package/dist/{index-Bz9lh14R.js → index-Ckgil96Y.js} +30 -30
- package/dist/{index-DltN2SCZ.js → index-De_ME_Ws.js} +2 -2
- package/dist/{index-dPREgrj8.js → index-Md7zV10q.js} +12 -12
- package/dist/{index-DORROKh7.js → index-XnF26Tbt.js} +3 -3
- package/dist/{index-Cf8yM5Cv.js → index-bsi-FZDt.js} +11 -9
- package/dist/index.js +33 -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
- package/dist/interface.d.ts +2 -0
- package/dist/layout/Layout.vue.d.ts +2 -2
- package/dist/{menu-Ddxel9ck.js → menu-CC5544p-.js} +3202 -3184
- package/dist/{pick-DEgsMKda.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/SettingBar/components/SettingThemes.vue +7 -5
- package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
- package/src/layout/components/Tools/Preferences/PreferencesContent.vue +2 -1
- package/src/layout/components/Tools/index.vue +1 -8
- package/src/layout/provider.ts +7 -1
- package/src/pages/system/not-permission/index.vue +2 -2
- 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/SettingThemes-DBq6j0zt.js +0 -144
- package/src/layout/components/Tools/I18nSelector.vue +0 -52
- package/src/pages/system/change-password/page.vue +0 -58
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as k, b as B } from "./index-
|
|
1
|
+
import { u as k, b as B } from "./index-CXsL0aQN.js";
|
|
2
2
|
import { _ as H } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
3
3
|
import { markRaw as w, createElementBlock as h, openBlock as a, createElementVNode as i, defineComponent as A, defineAsyncComponent as t, useModel as E, computed as c, watch as g, createBlock as S, createSlots as N, withCtx as p, Fragment as z, renderList as O, unref as l, resolveDynamicComponent as P, createVNode as f, createTextVNode as W } from "vue";
|
|
4
|
-
import { o as $ } from "./menu-
|
|
4
|
+
import { o as $ } from "./menu-CC5544p-.js";
|
|
5
5
|
import D from "vue-m-message";
|
|
6
6
|
import { useRoute as I } from "vue-router";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -21,20 +21,20 @@ function J(d, o) {
|
|
|
21
21
|
const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp" }, j = /* @__PURE__ */ A({
|
|
22
22
|
name: "AppSetting",
|
|
23
23
|
components: {
|
|
24
|
-
SettingThemes: t(() => import("./SettingThemes-
|
|
25
|
-
SettingsMode: t(() => import("./SettingMode-
|
|
26
|
-
SettingWidthMode: t(() => import("./SettingWidthMode-
|
|
27
|
-
SettingEnableTransition: t(() => import("./SettingEnableTransition-
|
|
28
|
-
SettingMenu: t(() => import("./SettingMenu-
|
|
29
|
-
SettingTopbar: t(() => import("./SettingTopbar-
|
|
30
|
-
SettingTabbar: t(() => import("./SettingTabbar-
|
|
31
|
-
SettingToolbar: t(() => import("./SettingToolbar-
|
|
32
|
-
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-
|
|
33
|
-
SettingPage: t(() => import("./SettingPage-
|
|
34
|
-
SettingNavSearch: t(() => import("./SettingNavSearch-
|
|
35
|
-
SettingCopyright: t(() => import("./SettingCopyright-
|
|
36
|
-
SettingHome: t(() => import("./SettingHome-
|
|
37
|
-
SettingOther: t(() => import("./SettingOther-
|
|
24
|
+
SettingThemes: t(() => import("./SettingThemes-DzQ2YBRN.js")),
|
|
25
|
+
SettingsMode: t(() => import("./SettingMode-FWqs1ki-.js")),
|
|
26
|
+
SettingWidthMode: t(() => import("./SettingWidthMode-BzNU65dj.js")),
|
|
27
|
+
SettingEnableTransition: t(() => import("./SettingEnableTransition-ltxmSAel.js")),
|
|
28
|
+
SettingMenu: t(() => import("./SettingMenu-BFPc8wk1.js")),
|
|
29
|
+
SettingTopbar: t(() => import("./SettingTopbar-DVlc3dq-.js")),
|
|
30
|
+
SettingTabbar: t(() => import("./SettingTabbar-C7I7s-0s.js")),
|
|
31
|
+
SettingToolbar: t(() => import("./SettingToolbar-BPj0XLJ3.js")),
|
|
32
|
+
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-C4f3EHvJ.js")),
|
|
33
|
+
SettingPage: t(() => import("./SettingPage-CvRmxfR7.js")),
|
|
34
|
+
SettingNavSearch: t(() => import("./SettingNavSearch-CNH2GsIA.js")),
|
|
35
|
+
SettingCopyright: t(() => import("./SettingCopyright-BfIv7JmX.js")),
|
|
36
|
+
SettingHome: t(() => import("./SettingHome-D3YO-Jml.js")),
|
|
37
|
+
SettingOther: t(() => import("./SettingOther-DeKEcGIY.js"))
|
|
38
38
|
},
|
|
39
39
|
__name: "AppSetting",
|
|
40
40
|
props: {
|
|
@@ -43,7 +43,7 @@ const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["update:open"],
|
|
45
45
|
setup(d) {
|
|
46
|
-
const o = E(d, "open"), v = I(), { settingsStore: m, menuStore: u } = k(),
|
|
46
|
+
const o = E(d, "open"), v = I(), { settingsStore: m, menuStore: u } = k(), _ = c(() => m.mode !== "pc"), b = c(() => T(
|
|
47
47
|
[
|
|
48
48
|
"SettingThemes",
|
|
49
49
|
"SettingsMode",
|
|
@@ -80,7 +80,7 @@ const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp
|
|
|
80
80
|
M(JSON.stringify(m.settings, null, 2));
|
|
81
81
|
}
|
|
82
82
|
function T(n, e) {
|
|
83
|
-
return n.filter((r) =>
|
|
83
|
+
return n.filter((r) => _.value ? !e.includes(r) : r);
|
|
84
84
|
}
|
|
85
85
|
return (n, e) => {
|
|
86
86
|
const r = H, V = B;
|
|
@@ -95,7 +95,7 @@ const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp
|
|
|
95
95
|
i("p", { class: "my-1" }, " 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),
|
|
96
96
|
i("p", { class: "my-1" }, " 注意:在生产环境中应关闭该模块。 ")
|
|
97
97
|
], -1)),
|
|
98
|
-
(a(!0), h(z, null, O(l(
|
|
98
|
+
(a(!0), h(z, null, O(l(b), (s) => (a(), S(P(s), { key: s }))), 128))
|
|
99
99
|
])
|
|
100
100
|
]),
|
|
101
101
|
_: 2
|
|
@@ -111,7 +111,8 @@ const L = w({ name: "ep-document-copy", render: J }), U = { class: "settong-warp
|
|
|
111
111
|
f(l(L)),
|
|
112
112
|
e[2] || (e[2] = W(" 复制配置 "))
|
|
113
113
|
]),
|
|
114
|
-
_: 1
|
|
114
|
+
_: 1,
|
|
115
|
+
__: [2]
|
|
115
116
|
})
|
|
116
117
|
]),
|
|
117
118
|
key: "0"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as c, watch as u, createElementBlock as n, openBlock as a, Fragment as i, renderList as m, normalizeClass as p, createBlock as b, unref as f, createTextVNode as _, toDisplayString as h } from "vue";
|
|
2
|
-
import "./menu-
|
|
2
|
+
import "./menu-CC5544p-.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
4
|
import "vue-router";
|
|
5
|
-
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
5
|
+
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js";
|
|
6
6
|
const y = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, g = ["disabled", "onClick"], L = /* @__PURE__ */ c({
|
|
7
7
|
__name: "HCheckList",
|
|
8
8
|
props: {
|