@pubinfo/core 2.0.6 → 2.0.8-beta.1
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-Bn7vxkwu.js → AppSetting-Bqdk4mr0.js} +15 -15
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CHx9ghjT.js → HCheckList.vue_vue_type_script_setup_true_lang-Dun5ilGJ.js} +1 -1
- package/dist/{HToggle-CtjNyqPp.js → HToggle-B1MlIVcK.js} +1 -1
- package/dist/HeaderThinMenu-C5rj1NGZ.js +4 -0
- package/dist/{PreferencesContent-DesQ1gs9.js → PreferencesContent-DLqC7RFC.js} +4 -4
- package/dist/{SettingBreadcrumb-Dgz-kLlD.js → SettingBreadcrumb-DWRDMfAi.js} +3 -3
- package/dist/{SettingCopyright-Bb_zsv8S.js → SettingCopyright-C4K-AXxu.js} +2 -2
- package/dist/{SettingEnableTransition-8Fk8bfQL.js → SettingEnableTransition-82BIgjuv.js} +2 -2
- package/dist/{SettingHome-KGLeBn-Y.js → SettingHome-D9qElPUi.js} +2 -2
- package/dist/{SettingMenu-CbzwRzNT.js → SettingMenu-smmCDuqz.js} +3 -3
- package/dist/{SettingMode-C22EONZU.js → SettingMode-Ct8lcvcA.js} +1 -1
- package/dist/{SettingNavSearch-ZEgspalS.js → SettingNavSearch-CC4Hl4wF.js} +2 -2
- package/dist/{SettingOther-0MjVwrIi.js → SettingOther-DMFPAPjR.js} +2 -2
- package/dist/{SettingPage-C-wDrzIC.js → SettingPage-D8m-naZp.js} +2 -2
- package/dist/{SettingTabbar-IKM2fNxW.js → SettingTabbar-P3lOwe5Y.js} +3 -3
- package/dist/{SettingThemes-DybjcBGx.js → SettingThemes-BwKbjHZZ.js} +1 -1
- package/dist/{SettingToolbar-fWSTNiLR.js → SettingToolbar-NjhqqJNo.js} +2 -2
- package/dist/{SettingTopbar-ddg9ZhqJ.js → SettingTopbar-CL9g9QwB.js} +3 -3
- package/dist/{SettingWidthMode-DPhge32Z.js → SettingWidthMode-Bfv4uU4j.js} +1 -1
- package/dist/{colors-Cw5YV1k2.js → colors-BksLvfd2.js} +1 -1
- package/dist/core/interface.d.ts +5 -0
- package/dist/core/resolver/icon.d.ts +2 -0
- package/dist/features/components/PageMain/index.vue.d.ts +1 -1
- package/dist/features/components/PubinfoIcon/index.vue.d.ts +1 -13
- package/dist/features/stores/modules/menu.d.ts +4 -3
- package/dist/{index-BrB42sd5.js → index-BR7USpvK.js} +2 -2
- package/dist/{index-Cq8mquS8.js → index-BZvIi9NG.js} +13350 -13281
- package/dist/{index-QidxqFx5.js → index-BfNdcMoQ.js} +2 -2
- package/dist/index-BiFknLSr.js +4 -0
- package/dist/{index-tnsLRhOC.js → index-CKhI9IyX.js} +1 -1
- package/dist/{index-Bm6KmENu.js → index-CY6xyw-d.js} +2 -2
- package/dist/{index-B4WU4ykx.js → index-Ck4Qus0W.js} +2 -2
- package/dist/{index-n76z6PLD.js → index-DN5TqEna.js} +4 -4
- package/dist/{index-ClpIFmv2.js → index-icXFkR7f.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{pick-CKgJFfA4.js → pick-DjxDa62c.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/src/built-in/layout-component/components/Header/HeaderThinMenu.vue +2 -6
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +28 -10
- package/src/built-in/layout-component/provider.ts +0 -3
- package/src/core/interface.ts +7 -0
- package/src/core/resolver/icon.ts +37 -1
- package/src/core/resolver/page.ts +0 -1
- package/src/features/assets/styles/globals.css +1 -10
- package/src/features/components/PubinfoIcon/index.vue +92 -7
- package/src/features/stores/modules/menu.ts +41 -23
- package/dist/HeaderThinMenu-DOIRf9rF.js +0 -4
- package/dist/index-Cvhd8Wyw.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bN as k, bT as B, bU as H, _ as w, b as N } from "./index-
|
|
1
|
+
import { bN as k, bT as B, bU as H, _ as w, b as N } from "./index-BZvIi9NG.js";
|
|
2
2
|
import { markRaw as A, createElementBlock as h, openBlock as a, createElementVNode as i, defineComponent as E, defineAsyncComponent as t, useModel as z, computed as u, watch as g, createBlock as S, createSlots as O, withCtx as p, Fragment as P, renderList as W, unref as l, resolveDynamicComponent as $, createVNode as f, createTextVNode as D } from "vue";
|
|
3
3
|
import I from "vue-m-message";
|
|
4
4
|
import { useRoute as R } from "vue-router";
|
|
@@ -18,20 +18,20 @@ function F(d, o) {
|
|
|
18
18
|
const J = A({ name: "ep-document-copy", render: F }), L = { class: "settong-warp" }, j = /* @__PURE__ */ E({
|
|
19
19
|
name: "AppSetting",
|
|
20
20
|
components: {
|
|
21
|
-
SettingThemes: t(() => import("./SettingThemes-
|
|
22
|
-
SettingsMode: t(() => import("./SettingMode-
|
|
23
|
-
SettingWidthMode: t(() => import("./SettingWidthMode-
|
|
24
|
-
SettingEnableTransition: t(() => import("./SettingEnableTransition-
|
|
25
|
-
SettingMenu: t(() => import("./SettingMenu-
|
|
26
|
-
SettingTopbar: t(() => import("./SettingTopbar-
|
|
27
|
-
SettingTabbar: t(() => import("./SettingTabbar-
|
|
28
|
-
SettingToolbar: t(() => import("./SettingToolbar-
|
|
29
|
-
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-
|
|
30
|
-
SettingPage: t(() => import("./SettingPage-
|
|
31
|
-
SettingNavSearch: t(() => import("./SettingNavSearch-
|
|
32
|
-
SettingCopyright: t(() => import("./SettingCopyright-
|
|
33
|
-
SettingHome: t(() => import("./SettingHome-
|
|
34
|
-
SettingOther: t(() => import("./SettingOther-
|
|
21
|
+
SettingThemes: t(() => import("./SettingThemes-BwKbjHZZ.js")),
|
|
22
|
+
SettingsMode: t(() => import("./SettingMode-Ct8lcvcA.js")),
|
|
23
|
+
SettingWidthMode: t(() => import("./SettingWidthMode-Bfv4uU4j.js")),
|
|
24
|
+
SettingEnableTransition: t(() => import("./SettingEnableTransition-82BIgjuv.js")),
|
|
25
|
+
SettingMenu: t(() => import("./SettingMenu-smmCDuqz.js")),
|
|
26
|
+
SettingTopbar: t(() => import("./SettingTopbar-CL9g9QwB.js")),
|
|
27
|
+
SettingTabbar: t(() => import("./SettingTabbar-P3lOwe5Y.js")),
|
|
28
|
+
SettingToolbar: t(() => import("./SettingToolbar-NjhqqJNo.js")),
|
|
29
|
+
SettingBreadcrumb: t(() => import("./SettingBreadcrumb-DWRDMfAi.js")),
|
|
30
|
+
SettingPage: t(() => import("./SettingPage-D8m-naZp.js")),
|
|
31
|
+
SettingNavSearch: t(() => import("./SettingNavSearch-CC4Hl4wF.js")),
|
|
32
|
+
SettingCopyright: t(() => import("./SettingCopyright-C4K-AXxu.js")),
|
|
33
|
+
SettingHome: t(() => import("./SettingHome-D9qElPUi.js")),
|
|
34
|
+
SettingOther: t(() => import("./SettingOther-DMFPAPjR.js"))
|
|
35
35
|
},
|
|
36
36
|
__name: "AppSetting",
|
|
37
37
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, watch as u, createElementBlock as n, openBlock as a, Fragment as s, renderList as m, normalizeClass as b, createBlock as p, unref as f, createTextVNode as h, toDisplayString as k } from "vue";
|
|
2
|
-
import { bE as y } from "./index-
|
|
2
|
+
import { bE as y } from "./index-BZvIi9NG.js";
|
|
3
3
|
const _ = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, g = ["disabled", "onClick"], B = /* @__PURE__ */ c({
|
|
4
4
|
__name: "HCheckList",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as c, createElementBlock as m, openBlock as r, withDirectives as i, createElementVNode as n, isRef as _, vModelCheckbox as f, unref as b } from "vue";
|
|
2
|
-
import { b as g } from "./index-
|
|
2
|
+
import { b as g } from "./index-BZvIi9NG.js";
|
|
3
3
|
const V = { class: "switch" }, k = /* @__PURE__ */ u({
|
|
4
4
|
__name: "HToggle",
|
|
5
5
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as re } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { H as ue, F as me, e as E, B as be, aq as ce, P as k, M as pe, bI as ye, bJ as ge, bK as ve, bL as fe, bx as he, C as we, bM as Me, by as Pe, h as Oe, x as Ce, k as $e, i as ke, a7 as xe, g as ne, aF as Se, bN as Ve, bO as Te, bv as _e, ba as Ie, bP as Be, a5 as Ue, b as He } from "./index-
|
|
3
|
-
import { _ as Ae } from "./HToggle-
|
|
1
|
+
import { _ as re } from "./HCheckList.vue_vue_type_script_setup_true_lang-Dun5ilGJ.js";
|
|
2
|
+
import { H as ue, F as me, e as E, B as be, aq as ce, P as k, M as pe, bI as ye, bJ as ge, bK as ve, bL as fe, bx as he, C as we, bM as Me, by as Pe, h as Oe, x as Ce, k as $e, i as ke, a7 as xe, g as ne, aF as Se, bN as Ve, bO as Te, bv as _e, ba as Ie, bP as Be, a5 as Ue, b as He } from "./index-BZvIi9NG.js";
|
|
3
|
+
import { _ as Ae } from "./HToggle-B1MlIVcK.js";
|
|
4
4
|
import { defineComponent as te, shallowRef as U, computed as K, createVNode as a, Transition as Ee, withDirectives as ze, vShow as Le, ref as Re, createElementBlock as d, openBlock as r, createCommentVNode as u, createElementVNode as s, unref as e, isRef as Fe, Fragment as De, renderList as je, normalizeClass as v, normalizeStyle as Ne, withCtx as c, createTextVNode as V } from "vue";
|
|
5
5
|
import { getThemes as qe } from "@pubinfo/config/themes";
|
|
6
6
|
import { E as J, a as X } from "./right-Bfe2p1o0.js";
|
|
7
7
|
import { R as H } from "./question-line-CfkciTFq.js";
|
|
8
|
-
import { p as $ } from "./pick-
|
|
8
|
+
import { p as $ } from "./pick-DjxDa62c.js";
|
|
9
9
|
const A = (i, o, n, p, f) => ({
|
|
10
10
|
backgroundColor: i,
|
|
11
11
|
border: `${p.lineWidth}px ${p.lineType} ${o}`,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as r } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as b } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as p } from "./HToggle-
|
|
2
|
+
import { _ as b } from "./HCheckList.vue_vue_type_script_setup_true_lang-Dun5ilGJ.js";
|
|
3
|
+
import { _ as p } from "./HToggle-B1MlIVcK.js";
|
|
4
4
|
import { defineComponent as _, toRefs as f, createBlock as c, openBlock as g, withCtx as V, createElementVNode as n, createVNode as s, unref as t } from "vue";
|
|
5
|
-
import { bN as v } from "./index-
|
|
5
|
+
import { bN as v } from "./index-BZvIi9NG.js";
|
|
6
6
|
const M = { class: "setting-item" }, x = { class: "setting-item" }, B = { class: "setting-item" }, $ = /* @__PURE__ */ _({
|
|
7
7
|
name: "SettingBreadcrumb",
|
|
8
8
|
__name: "SettingBreadcrumb",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
2
|
import { _ as p } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import { _ as r } from "./HToggle-
|
|
3
|
+
import { _ as r } from "./HToggle-B1MlIVcK.js";
|
|
4
4
|
import { defineComponent as b, toRef as V, createBlock as g, openBlock as _, withCtx as f, createElementVNode as o, createVNode as n, unref as t } from "vue";
|
|
5
|
-
import { bN as v } from "./index-
|
|
5
|
+
import { bN as v } from "./index-BZvIi9NG.js";
|
|
6
6
|
const y = { class: "setting-item" }, C = { class: "setting-item" }, U = { class: "setting-item" }, x = { class: "setting-item" }, w = { class: "setting-item" }, E = /* @__PURE__ */ b({
|
|
7
7
|
name: "SettingCopyright",
|
|
8
8
|
__name: "SettingCopyright",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as g } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { bN as k, bP as x, b as C } from "./index-
|
|
3
|
-
import { _ as T } from "./HToggle-
|
|
2
|
+
import { bN as k, bP as x, b as C } from "./index-BZvIi9NG.js";
|
|
3
|
+
import { _ as T } from "./HToggle-B1MlIVcK.js";
|
|
4
4
|
import { defineComponent as V, toRefs as h, reactive as E, createBlock as c, openBlock as o, withCtx as l, createElementVNode as d, createElementBlock as r, createCommentVNode as y, createVNode as H, unref as s, isRef as N, Fragment as S, renderList as B, normalizeClass as $ } from "vue";
|
|
5
5
|
const L = { class: "flex items-center justify-center pb-4" }, M = {
|
|
6
6
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as p } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
2
|
import { _ as u } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import { _ as c } from "./HToggle-
|
|
4
|
-
import { bN as f, bP as g } from "./index-
|
|
3
|
+
import { _ as c } from "./HToggle-B1MlIVcK.js";
|
|
4
|
+
import { bN as f, bP as g } from "./index-BZvIi9NG.js";
|
|
5
5
|
import { defineComponent as V, toRefs as b, createBlock as x, openBlock as H, withCtx as i, createElementVNode as n, createVNode as s, createTextVNode as v, unref as e } from "vue";
|
|
6
6
|
import { R as N } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const C = { class: "setting-item" }, R = { class: "label" }, S = { class: "setting-item" }, L = /* @__PURE__ */ V({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as v } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as M } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ } from "./HToggle-
|
|
4
|
-
import { bN as g, bP as y } from "./index-
|
|
2
|
+
import { _ as M } from "./HCheckList.vue_vue_type_script_setup_true_lang-Dun5ilGJ.js";
|
|
3
|
+
import { _ } from "./HToggle-B1MlIVcK.js";
|
|
4
|
+
import { bN as g, bP as y } from "./index-BZvIi9NG.js";
|
|
5
5
|
import { defineComponent as f, toRef as c, createBlock as U, openBlock as b, withCtx as i, createElementVNode as s, createElementBlock as C, createCommentVNode as k, createVNode as d, createTextVNode as a, unref as l } from "vue";
|
|
6
6
|
import { R as m } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const x = { class: "setting-item" }, H = { class: "label" }, S = { class: "setting-item" }, O = { class: "label" }, B = { class: "setting-item" }, N = { class: "label" }, R = { class: "setting-item" }, w = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { bN as v, bP as f, b } from "./index-
|
|
2
|
+
import { bN as v, bP as f, b } from "./index-BZvIi9NG.js";
|
|
3
3
|
import { defineComponent as g, toRef as k, reactive as x, createBlock as a, openBlock as n, withCtx as s, createElementVNode as o, createElementBlock as C, Fragment as S, renderList as h, unref as l, normalizeClass as y } from "vue";
|
|
4
4
|
const M = { class: "menu-mode" }, $ = ["onClick"], B = /* @__PURE__ */ g({
|
|
5
5
|
name: "SettingMode",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as p } from "./HToggle-
|
|
3
|
-
import { bN as u, bP as c } from "./index-
|
|
2
|
+
import { _ as p } from "./HToggle-B1MlIVcK.js";
|
|
3
|
+
import { bN as u, bP as c } from "./index-BZvIi9NG.js";
|
|
4
4
|
import { defineComponent as f, toRef as b, createBlock as g, openBlock as v, withCtx as i, createElementVNode as n, createVNode as s, createTextVNode as V, unref as t } from "vue";
|
|
5
5
|
import { R as S } from "./question-line-CfkciTFq.js";
|
|
6
6
|
const x = { class: "setting-item" }, N = { class: "label" }, H = { class: "setting-item" }, $ = /* @__PURE__ */ f({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as c } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
2
|
import { _ as b } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import { bN as x, bP as S } from "./index-
|
|
4
|
-
import { _ as H } from "./HToggle-
|
|
3
|
+
import { bN as x, bP as S } from "./index-BZvIi9NG.js";
|
|
4
|
+
import { _ as H } from "./HToggle-B1MlIVcK.js";
|
|
5
5
|
import { defineComponent as N, toRefs as P, createBlock as R, openBlock as T, withCtx as s, createElementVNode as o, createVNode as t, unref as n, isRef as i, createTextVNode as p } from "vue";
|
|
6
6
|
import { R as f } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const U = { class: "setting-item" }, C = { class: "setting-item" }, $ = { class: "label" }, k = { class: "setting-item" }, B = { class: "label" }, D = { class: "setting-item" }, O = { class: "label" }, z = /* @__PURE__ */ N({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as l } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as r } from "./HToggle-
|
|
2
|
+
import { _ as r } from "./HToggle-B1MlIVcK.js";
|
|
3
3
|
import { defineComponent as _, toRef as p, createBlock as c, openBlock as d, withCtx as u, createElementVNode as o, createVNode as g, unref as n } from "vue";
|
|
4
|
-
import { bN as f } from "./index-
|
|
4
|
+
import { bN as f } from "./index-BZvIi9NG.js";
|
|
5
5
|
const V = { class: "setting-item" }, C = /* @__PURE__ */ _({
|
|
6
6
|
name: "SettingPage",
|
|
7
7
|
__name: "SettingPage",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as k } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { bN as w, bP as y } from "./index-
|
|
2
|
+
import { bN as w, bP as y } from "./index-BZvIi9NG.js";
|
|
3
3
|
import { markRaw as x, createElementBlock as p, openBlock as r, createElementVNode as o, defineComponent as v, computed as $, resolveComponent as C, createBlock as V, mergeProps as h, withCtx as u, toDisplayString as g, unref as t, createVNode as a, Fragment as H, renderList as B, normalizeClass as S, toRef as T, createTextVNode as M } from "vue";
|
|
4
|
-
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as N } from "./HToggle-
|
|
4
|
+
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-Dun5ilGJ.js";
|
|
5
|
+
import { _ as N } from "./HToggle-B1MlIVcK.js";
|
|
6
6
|
import { R as L } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const R = {
|
|
8
8
|
viewBox: "0 0 32 32",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as T } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
2
|
import { markRaw as g, createElementBlock as r, openBlock as n, createElementVNode as s, defineComponent as k, useModel as V, withDirectives as $, createStaticVNode as S, vModelCheckbox as w, toRef as D, computed as N, createBlock as B, withCtx as j, createVNode as u, unref as o, isRef as L, Fragment as b, renderList as _, normalizeClass as M, normalizeStyle as h, toDisplayString as z } from "vue";
|
|
3
3
|
import { getThemes as F } from "@pubinfo/config/themes";
|
|
4
|
-
import { b as x, bV as R, bN as A } from "./index-
|
|
4
|
+
import { b as x, bV as R, bN as A } from "./index-BZvIi9NG.js";
|
|
5
5
|
const E = {
|
|
6
6
|
viewBox: "-5 -2 24 24",
|
|
7
7
|
width: "1.2em",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as b } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as f } from "./HToggle-
|
|
3
|
-
import { bN as V, bP as c } from "./index-
|
|
2
|
+
import { _ as f } from "./HToggle-B1MlIVcK.js";
|
|
3
|
+
import { bN as V, bP as c } from "./index-BZvIi9NG.js";
|
|
4
4
|
import { defineComponent as g, toRef as v, createBlock as x, openBlock as _, withCtx as i, createElementVNode as s, createElementBlock as N, createCommentVNode as C, createVNode as o, createTextVNode as m, unref as t } from "vue";
|
|
5
5
|
import { R as r } from "./question-line-CfkciTFq.js";
|
|
6
6
|
const R = { class: "setting-item" }, S = { class: "label" }, T = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as b } from "./HToggle-
|
|
3
|
-
import { bN as c, bP as f } from "./index-
|
|
4
|
-
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b } from "./HToggle-B1MlIVcK.js";
|
|
3
|
+
import { bN as c, bP as f } from "./index-BZvIi9NG.js";
|
|
4
|
+
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-Dun5ilGJ.js";
|
|
5
5
|
import { defineComponent as T, toRefs as V, createBlock as v, openBlock as x, withCtx as l, createElementVNode as n, createVNode as s, unref as t, createTextVNode as k } from "vue";
|
|
6
6
|
import { R as C } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const H = { class: "setting-item" }, N = { class: "setting-item" }, w = { class: "label" }, D = /* @__PURE__ */ T({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as v } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { bN as u, bP as b, b as k } from "./index-
|
|
2
|
+
import { bN as u, bP as b, b as k } from "./index-BZvIi9NG.js";
|
|
3
3
|
import { defineComponent as w, toRef as x, reactive as g, createBlock as o, openBlock as t, withCtx as n, createElementVNode as s, createElementBlock as d, Fragment as r, renderList as C, unref as c, normalizeClass as M, createCommentVNode as E, createVNode as l } from "vue";
|
|
4
4
|
import { E as y, a as B } from "./right-Bfe2p1o0.js";
|
|
5
5
|
const N = { class: "app-width-mode" }, S = ["onClick"], H = /* @__PURE__ */ w({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as t } from "./index-
|
|
1
|
+
import { e as t } from "./index-BZvIi9NG.js";
|
|
2
2
|
const n = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
|
|
3
3
|
function C(e, s) {
|
|
4
4
|
return n.reduce((o, r) => {
|
package/dist/core/interface.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Menu } from '../../types/menu';
|
|
1
2
|
import { AdapterCreateOptions, AlovaAxiosRequestConfig } from '@alova/adapter-axios';
|
|
2
3
|
import { Alova, AlovaGenerics, AlovaOptions, Method, ResponseCompleteHandler, ResponseErrorHandler } from 'alova';
|
|
3
4
|
import { AxiosResponse, AxiosResponseHeaders } from 'axios';
|
|
@@ -70,8 +71,12 @@ export type RequestOptions = Omit<AlovaOptions<AG>, 'statesHook' | 'requestAdapt
|
|
|
70
71
|
export type RequestInstance = Alova<AG>;
|
|
71
72
|
export type RequestMethod = Method<AG>;
|
|
72
73
|
export interface Hooks {
|
|
74
|
+
/** http 请求拦截器 */
|
|
73
75
|
'http:request': (method: Method<AG>) => void | Promise<void>;
|
|
76
|
+
/** http 响应拦截器 */
|
|
74
77
|
'http:response': RespondedHandler<AG> | RespondedHandlerRecord<AG>;
|
|
78
|
+
/** 菜单数据转换 */
|
|
79
|
+
'menu:transform': (menuData: Menu.recordMainRaw[]) => Menu.recordMainRaw[] | Promise<Menu.recordMainRaw[]>;
|
|
75
80
|
}
|
|
76
81
|
type Fn = () => void;
|
|
77
82
|
export type RespondedHandler<AG extends AlovaGenerics> = (response: AG['Response'], methodInstance: Method<AG>, stop: Fn) => any;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ModuleRecord } from './resolver';
|
|
2
|
+
export declare function getCachedIcon(name: string, id?: string): string | undefined;
|
|
3
|
+
export declare function setCachedIcon(name: string, id: string | undefined, value?: string): void;
|
|
2
4
|
export declare function defineIconModule(id: string, map: ModuleRecord): void;
|
|
3
5
|
export declare function getIconModule(id: string): ModuleRecord | undefined;
|
|
4
6
|
export declare function getAllIconModules(): Map<string, ModuleRecord>;
|
|
@@ -15,8 +15,8 @@ declare function __VLS_template(): {
|
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
17
|
title: string;
|
|
18
|
-
height: string;
|
|
19
18
|
collaspe: boolean;
|
|
19
|
+
height: string;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
22
|
export default _default;
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').
|
|
2
|
-
box?: undefined;
|
|
3
|
-
background?: never;
|
|
4
|
-
radius?: never;
|
|
5
|
-
angle?: never;
|
|
6
|
-
small?: false;
|
|
7
|
-
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./props').PubinfoIconBoxOptions | (import('./props').PubinfoIconNotBoxOptions & {
|
|
8
|
-
box?: undefined;
|
|
9
|
-
background?: never;
|
|
10
|
-
radius?: never;
|
|
11
|
-
angle?: never;
|
|
12
|
-
small?: false;
|
|
13
|
-
})> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
1
|
+
declare const _default: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
|
|
14
2
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Menu } from '../../../../types/menu';
|
|
1
2
|
import { STORE_NAME } from '../enum';
|
|
2
3
|
/**
|
|
3
4
|
* 用于管理与菜单相关数据的自定义存储。
|
|
@@ -7,7 +8,7 @@ import { STORE_NAME } from '../enum';
|
|
|
7
8
|
declare const useMenuStore: import('pinia').StoreDefinition<STORE_NAME.MENU, Pick<{
|
|
8
9
|
menus: any;
|
|
9
10
|
actived: any;
|
|
10
|
-
allMenus:
|
|
11
|
+
allMenus: import('vue').Ref<Menu.recordMainRaw[], Menu.recordMainRaw[]>;
|
|
11
12
|
sidebarMenus: any;
|
|
12
13
|
sidebarMenusFirstDeepestPath: any;
|
|
13
14
|
defaultOpenedPaths: any;
|
|
@@ -15,7 +16,7 @@ declare const useMenuStore: import('pinia').StoreDefinition<STORE_NAME.MENU, Pic
|
|
|
15
16
|
}, any>, Pick<{
|
|
16
17
|
menus: any;
|
|
17
18
|
actived: any;
|
|
18
|
-
allMenus:
|
|
19
|
+
allMenus: import('vue').Ref<Menu.recordMainRaw[], Menu.recordMainRaw[]>;
|
|
19
20
|
sidebarMenus: any;
|
|
20
21
|
sidebarMenusFirstDeepestPath: any;
|
|
21
22
|
defaultOpenedPaths: any;
|
|
@@ -23,7 +24,7 @@ declare const useMenuStore: import('pinia').StoreDefinition<STORE_NAME.MENU, Pic
|
|
|
23
24
|
}, any>, Pick<{
|
|
24
25
|
menus: any;
|
|
25
26
|
actived: any;
|
|
26
|
-
allMenus:
|
|
27
|
+
allMenus: import('vue').Ref<Menu.recordMainRaw[], Menu.recordMainRaw[]>;
|
|
27
28
|
sidebarMenus: any;
|
|
28
29
|
sidebarMenusFirstDeepestPath: any;
|
|
29
30
|
defaultOpenedPaths: any;
|