@pubinfo/core 2.0.0-rc.1 → 2.0.0-rc.3
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-Bblni_W7.js → AppSetting-3wJKvibc.js} +19 -19
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-A7PnhNKK.js → HCheckList.vue_vue_type_script_setup_true_lang-17EywJvs.js} +1 -1
- package/dist/{HToggle-xibvPpmf.js → HToggle-B-ZjSh6S.js} +1 -1
- package/dist/{PreferencesContent--JtPw_LT.js → PreferencesContent-xT4paU7N.js} +52 -52
- package/dist/{SettingBreadcrumb-BwhdAtkC.js → SettingBreadcrumb-CYnO51Ek.js} +5 -5
- package/dist/{SettingCopyright-DPsRDagL.js → SettingCopyright-FOW5ObHK.js} +2 -2
- package/dist/{SettingEnableTransition-mtHTUb08.js → SettingEnableTransition-Q5cvubmF.js} +12 -12
- package/dist/{SettingHome-agxHFIKq.js → SettingHome-Df7-AlWB.js} +8 -8
- package/dist/{SettingMenu-D6WwcOw-.js → SettingMenu-BNAJ3el9.js} +14 -14
- package/dist/{SettingMode-CkmhszlD.js → SettingMode-LzlRsBL9.js} +3 -3
- package/dist/{SettingNavSearch-CEB5DZGf.js → SettingNavSearch-BA08vYuw.js} +6 -6
- package/dist/{SettingOther-Dzs1uwnC.js → SettingOther-BE8dDCYD.js} +11 -11
- package/dist/{SettingPage-bOThkL2-.js → SettingPage-D061yXCv.js} +2 -2
- package/dist/{SettingTabbar-L6yQxAeE.js → SettingTabbar-COwdPPKy.js} +13 -13
- package/dist/{SettingThemes-Cxa5bR66.js → SettingThemes-BHaYERNp.js} +12 -12
- package/dist/{SettingToolbar-BZ2uHom2.js → SettingToolbar-fSuzu6ND.js} +10 -10
- package/dist/{SettingTopbar-hptxTh8m.js → SettingTopbar-D7GgP0KB.js} +6 -6
- package/dist/{SettingWidthMode-D2R2W4-n.js → SettingWidthMode-CNjzChe1.js} +11 -11
- package/dist/{TopThinMode-C26i10py.js → TopThinMode-B-28sBJD.js} +3 -3
- package/dist/built-in/layout-component/Layout.vue.d.ts +1 -0
- package/dist/built-in/layout-component/components/Tools/Fullscreen.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/PageReload.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/SearchBar.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/index.vue.d.ts +47 -207
- package/dist/built-in/layout-component/components/Tools/interface.d.ts +26 -0
- package/dist/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -206
- package/dist/built-in/layout-component/components/ui/HDropdownMenu.vue.d.ts +2 -7
- package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +19 -0
- package/dist/built-in/layout-component/composables/useHotkey.d.ts +1 -5
- package/dist/built-in/layout-component/composables/useMainPage.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useMenu.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useTabbar.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useTitle.d.ts +2 -1
- package/dist/built-in/layout-component/composables/useWatermark.d.ts +3 -1
- package/dist/built-in/layout-component/index.d.ts +9 -6
- package/dist/built-in/layout-component/utils/index.d.ts +0 -1
- package/dist/{colors-C8I6Fdyp.js → colors-BIQSd520.js} +1 -1
- package/dist/{index-RwbJwutI.js → index-Beb7_0-E.js} +14499 -14397
- package/dist/{index-D948mfZb.js → index-CPRiufg0.js} +1 -1
- package/dist/{index-DZ6SbWiv.js → index-DNdH93AP.js} +13 -13
- package/dist/index-DYMBkmAp.js +139 -0
- package/dist/{index-DdS6qgK_.js → index-Dlf6GQBd.js} +6418 -6439
- package/dist/{index-D3zjK9rd.js → index-IscoZG-Y.js} +2 -2
- package/dist/{index-DeWCd_-p.js → index-WubcSL0v.js} +1 -1
- package/dist/index-YSjb6X1D.js +232 -0
- package/dist/{index-EOTrQlGo.js → index-wxEEuQXu.js} +17 -17
- package/dist/index.d.ts +4 -2
- package/dist/index.js +53 -55
- package/dist/{pick-D6j4F3UM.js → pick-D_XPbQHB.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +10 -10
- package/src/built-in/authentication/pages/change-organization/assets/change-org.svg +1 -1
- package/src/built-in/authentication/pages/change-password/assets/mima.svg +1 -1
- package/src/built-in/authorization/pages/not-permission/403.svg +1 -1
- package/src/built-in/authorization/pages/not-permission/403_dark.svg +1 -1
- package/src/built-in/layout-component/Layout.vue +11 -22
- package/src/built-in/layout-component/assets/icons/favorites.svg +1 -1
- package/src/built-in/layout-component/assets/icons/toolbar-collapse.svg +1 -1
- package/src/built-in/layout-component/components/Header/TopMode/index.vue +1 -1
- package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +1 -1
- package/src/built-in/layout-component/components/Sidebar/index.vue +1 -1
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +108 -0
- package/src/built-in/layout-component/components/Tools/Fullscreen.vue +24 -0
- package/src/built-in/layout-component/components/Tools/PageReload.vue +22 -0
- package/src/built-in/layout-component/components/Tools/SearchBar.vue +44 -0
- package/src/built-in/layout-component/components/Tools/{Search.vue → SearchPanel.vue} +12 -6
- package/src/built-in/layout-component/components/Tools/index.vue +64 -130
- package/src/built-in/layout-component/components/Tools/interface.ts +27 -0
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +7 -6
- package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +2 -2
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +32 -10
- package/src/built-in/layout-component/components/ui/HDropdownMenu.vue +19 -26
- package/src/built-in/layout-component/composables/useGetComputedStyle.ts +2 -3
- package/src/built-in/layout-component/composables/useGlobalSearch.ts +48 -0
- package/src/built-in/layout-component/composables/useHotkey.ts +6 -10
- package/src/built-in/layout-component/composables/useMainPage.ts +5 -6
- package/src/built-in/layout-component/composables/useMenu.ts +3 -5
- package/src/built-in/layout-component/composables/useTabbar.ts +3 -5
- package/src/built-in/layout-component/composables/useTitle.ts +2 -3
- package/src/built-in/layout-component/composables/useWatermark.ts +25 -12
- package/src/built-in/layout-component/index.ts +21 -12
- package/src/built-in/layout-component/provider.ts +6 -2
- package/src/built-in/layout-component/utils/index.ts +0 -1
- package/src/built-in/settings/router.ts +5 -1
- package/src/features/assets/fonts/digital-7/digital-7-webfont.svg +131 -133
- package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.svg +130 -132
- package/src/features/assets/images/org.svg +2 -2
- package/src/features/components/NotAllowed/assets/403.svg +1 -1
- package/src/features/components/NotAllowed/assets/403_dark.svg +1 -1
- package/src/features/components/PubinfoIcon/index.vue +1 -1
- package/src/features/pages/not-found/assets/404.svg +1 -1
- package/src/features/pages/not-found/assets/404_dark.svg +1 -1
- package/src/features/stores/utils/routerHelper.ts +3 -0
- package/src/index.ts +7 -9
- package/dist/built-in/layout-component/utils/eventBus.d.ts +0 -5
- package/dist/index-CkyHqPON.js +0 -139
- package/dist/index-xzfvpJSq.js +0 -234
- package/src/built-in/layout-component/components/Tools/DayNightSwitch.vue +0 -70
- package/src/built-in/layout-component/utils/eventBus.ts +0 -8
- /package/dist/built-in/layout-component/components/Tools/{DayNightSwitch.vue.d.ts → DarkModeToggle.vue.d.ts} +0 -0
- /package/dist/built-in/layout-component/components/Tools/{Search.vue.d.ts → SearchPanel.vue.d.ts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as p } from "./HToggle-
|
|
3
|
-
import {
|
|
2
|
+
import { _ as p } from "./HToggle-B-ZjSh6S.js";
|
|
3
|
+
import { bL as u, bN as c } from "./index-Beb7_0-E.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
|
-
const x = { class: "setting-item" },
|
|
6
|
+
const x = { class: "setting-item" }, N = { class: "label" }, H = { class: "setting-item" }, U = /* @__PURE__ */ f({
|
|
7
7
|
name: "SettingNavSearch",
|
|
8
8
|
__name: "SettingNavSearch",
|
|
9
9
|
setup(k) {
|
|
@@ -13,7 +13,7 @@ const x = { class: "setting-item" }, H = { class: "label" }, N = { class: "setti
|
|
|
13
13
|
return v(), g(r, { title: "导航搜索" }, {
|
|
14
14
|
default: i(() => [
|
|
15
15
|
n("div", x, [
|
|
16
|
-
n("div",
|
|
16
|
+
n("div", N, [
|
|
17
17
|
e[2] || (e[2] = V(" 是否启用 ")),
|
|
18
18
|
s(d, { text: "对导航进行快捷搜索" }, {
|
|
19
19
|
default: i(() => [
|
|
@@ -27,7 +27,7 @@ const x = { class: "setting-item" }, H = { class: "label" }, N = { class: "setti
|
|
|
27
27
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => t(o).enable = l)
|
|
28
28
|
}, null, 8, ["modelValue"])
|
|
29
29
|
]),
|
|
30
|
-
n("div",
|
|
30
|
+
n("div", H, [
|
|
31
31
|
e[3] || (e[3] = n("div", { class: "label" }, " 是否启用快捷键 ", -1)),
|
|
32
32
|
s(a, {
|
|
33
33
|
modelValue: t(o).enableHotkeys,
|
|
@@ -42,5 +42,5 @@ const x = { class: "setting-item" }, H = { class: "label" }, N = { class: "setti
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
U as default
|
|
46
46
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
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 {
|
|
4
|
-
import { _ as H } from "./HToggle-
|
|
5
|
-
import { defineComponent as
|
|
3
|
+
import { bL as x, bN as S } from "./index-Beb7_0-E.js";
|
|
4
|
+
import { _ as H } from "./HToggle-B-ZjSh6S.js";
|
|
5
|
+
import { defineComponent as N, toRefs as R, createBlock as T, openBlock as U, 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
|
-
const
|
|
7
|
+
const C = { class: "setting-item" }, P = { class: "setting-item" }, $ = { class: "label" }, k = { class: "setting-item" }, B = { class: "label" }, D = { class: "setting-item" }, L = { class: "label" }, z = /* @__PURE__ */ N({
|
|
8
8
|
name: "SettingOther",
|
|
9
9
|
__name: "SettingOther",
|
|
10
|
-
setup(
|
|
10
|
+
setup(O) {
|
|
11
11
|
const { settingsStore: g } = x(), {
|
|
12
12
|
enablePermission: a,
|
|
13
13
|
enableProgress: m,
|
|
14
14
|
enableDynamicTitle: d,
|
|
15
15
|
storagePrefix: u
|
|
16
|
-
} =
|
|
17
|
-
return (
|
|
16
|
+
} = R(g.settings.app);
|
|
17
|
+
return (w, e) => {
|
|
18
18
|
const r = H, _ = S, V = b, v = c;
|
|
19
|
-
return
|
|
19
|
+
return U(), T(v, { title: "其它" }, {
|
|
20
20
|
default: s(() => [
|
|
21
|
-
o("div",
|
|
21
|
+
o("div", C, [
|
|
22
22
|
e[4] || (e[4] = o("div", { class: "label" }, " 是否启用权限 ", -1)),
|
|
23
23
|
t(r, {
|
|
24
24
|
modelValue: n(a),
|
|
@@ -56,7 +56,7 @@ const N = { class: "setting-item" }, P = { class: "setting-item" }, $ = { class:
|
|
|
56
56
|
}, null, 8, ["modelValue"])
|
|
57
57
|
]),
|
|
58
58
|
o("div", D, [
|
|
59
|
-
o("div",
|
|
59
|
+
o("div", L, [
|
|
60
60
|
e[7] || (e[7] = p(" Storage 前缀 ")),
|
|
61
61
|
t(_, { text: "localStorage 和 sessionStorage 的字段前缀" }, {
|
|
62
62
|
default: s(() => [
|
|
@@ -77,5 +77,5 @@ const N = { class: "setting-item" }, P = { class: "setting-item" }, $ = { class:
|
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
79
|
export {
|
|
80
|
-
|
|
80
|
+
z as default
|
|
81
81
|
};
|
|
@@ -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-B-ZjSh6S.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 {
|
|
4
|
+
import { bL as f } from "./index-Beb7_0-E.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 {
|
|
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
|
|
4
|
-
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as L } from "./HToggle-
|
|
2
|
+
import { bL as w, bN as y } from "./index-Beb7_0-E.js";
|
|
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-17EywJvs.js";
|
|
5
|
+
import { _ as L } from "./HToggle-B-ZjSh6S.js";
|
|
6
6
|
import { R as N } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const R = {
|
|
8
8
|
viewBox: "0 0 32 32",
|
|
@@ -17,7 +17,7 @@ function z(m, i) {
|
|
|
17
17
|
}, null, -1)
|
|
18
18
|
]));
|
|
19
19
|
}
|
|
20
|
-
const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-full inline-flex" }, I = ["disabled"], q = { class: "block truncate" }, F = { class: "pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5" },
|
|
20
|
+
const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-full inline-flex" }, I = ["disabled"], q = { class: "block truncate" }, F = { class: "pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5" }, P = { class: "max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg:w-48 focus:outline-none" }, Q = ["disabled", "onClick"], j = /* @__PURE__ */ v({
|
|
21
21
|
__name: "HSelect",
|
|
22
22
|
props: {
|
|
23
23
|
modelValue: {},
|
|
@@ -43,13 +43,13 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
43
43
|
disabled: s.disabled
|
|
44
44
|
}, s.$attrs), {
|
|
45
45
|
popper: u(() => [
|
|
46
|
-
o("div",
|
|
47
|
-
(r(!0), p(H, null,
|
|
46
|
+
o("div", P, [
|
|
47
|
+
(r(!0), p(H, null, B(s.options, (d) => (r(), p("button", {
|
|
48
48
|
key: d.value,
|
|
49
49
|
disabled: d.disabled,
|
|
50
|
-
class:
|
|
50
|
+
class: S(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled:cursor-not-allowed hover:not-disabled:bg-stone-1 dark:hover:not-disabled:bg-stone-9", { "font-bold": s.modelValue === d.value }]),
|
|
51
51
|
onClick: (_) => e.value = d
|
|
52
|
-
}, g(d.label), 11,
|
|
52
|
+
}, g(d.label), 11, Q))), 128))
|
|
53
53
|
])
|
|
54
54
|
]),
|
|
55
55
|
default: u(() => [
|
|
@@ -69,23 +69,23 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
69
69
|
}, 16, ["disabled"]);
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
}),
|
|
72
|
+
}), A = { class: "setting-item" }, G = { class: "setting-item" }, J = { class: "setting-item" }, K = { class: "setting-item" }, O = { class: "setting-item" }, W = { class: "label" }, X = { class: "setting-item" }, se = /* @__PURE__ */ v({
|
|
73
73
|
name: "SettingTabbar",
|
|
74
74
|
__name: "SettingTabbar",
|
|
75
75
|
setup(m) {
|
|
76
76
|
const { settingsStore: i } = w(), l = T(i.settings, "tabbar");
|
|
77
77
|
return (c, e) => {
|
|
78
|
-
const s = L, f = U, b =
|
|
78
|
+
const s = L, f = U, b = j, d = y, _ = k;
|
|
79
79
|
return r(), V(_, { title: "标签栏" }, {
|
|
80
80
|
default: u(() => [
|
|
81
|
-
o("div",
|
|
81
|
+
o("div", A, [
|
|
82
82
|
e[6] || (e[6] = o("div", { class: "label" }, " 是否启用 ", -1)),
|
|
83
83
|
a(s, {
|
|
84
84
|
modelValue: t(l).enable,
|
|
85
85
|
"onUpdate:modelValue": e[0] || (e[0] = (n) => t(l).enable = n)
|
|
86
86
|
}, null, 8, ["modelValue"])
|
|
87
87
|
]),
|
|
88
|
-
o("div",
|
|
88
|
+
o("div", G, [
|
|
89
89
|
e[7] || (e[7] = o("div", { class: "label" }, " 风格 ", -1)),
|
|
90
90
|
a(f, {
|
|
91
91
|
modelValue: t(l).style,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as T } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
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 B, createBlock as
|
|
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 B, createBlock as L, withCtx as N, createVNode as u, unref as o, isRef as j, 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, bW as R,
|
|
4
|
+
import { b as x, bW as R, bL as W } from "./index-Beb7_0-E.js";
|
|
5
5
|
const A = {
|
|
6
6
|
viewBox: "-5 -2 24 24",
|
|
7
7
|
width: "1.2em",
|
|
@@ -30,11 +30,11 @@ function U(f, e) {
|
|
|
30
30
|
}, null, -1)
|
|
31
31
|
]));
|
|
32
32
|
}
|
|
33
|
-
const
|
|
33
|
+
const J = g({ name: "pajamas-check-circle-filled", render: U }), O = {
|
|
34
34
|
flex: "",
|
|
35
35
|
"justify-center": "",
|
|
36
36
|
"pb-15px": ""
|
|
37
|
-
},
|
|
37
|
+
}, P = { class: "toggleWrapper" }, q = /* @__PURE__ */ k({
|
|
38
38
|
name: "DayNightToggle",
|
|
39
39
|
__name: "DayNightToggle",
|
|
40
40
|
props: {
|
|
@@ -44,8 +44,8 @@ const G = g({ name: "pajamas-check-circle-filled", render: U }), J = {
|
|
|
44
44
|
emits: ["update:modelValue"],
|
|
45
45
|
setup(f) {
|
|
46
46
|
const e = V(f, "modelValue");
|
|
47
|
-
return (v, l) => (n(), r("div",
|
|
48
|
-
s("div",
|
|
47
|
+
return (v, l) => (n(), r("div", O, [
|
|
48
|
+
s("div", P, [
|
|
49
49
|
$(s("input", {
|
|
50
50
|
id: "dn",
|
|
51
51
|
"onUpdate:modelValue": l[0] || (l[0] = (p) => e.value = p),
|
|
@@ -58,7 +58,7 @@ const G = g({ name: "pajamas-check-circle-filled", render: U }), J = {
|
|
|
58
58
|
])
|
|
59
59
|
]));
|
|
60
60
|
}
|
|
61
|
-
}),
|
|
61
|
+
}), G = /* @__PURE__ */ x(q, [["__scopeId", "data-v-5b2fff8a"]]), K = { class: "themes" }, Q = ["onClick"], X = {
|
|
62
62
|
class: "theme-type",
|
|
63
63
|
flex: "",
|
|
64
64
|
"items-center": ""
|
|
@@ -93,12 +93,12 @@ const G = g({ name: "pajamas-check-circle-filled", render: U }), J = {
|
|
|
93
93
|
}
|
|
94
94
|
return (c, t) => {
|
|
95
95
|
const i = T;
|
|
96
|
-
return n(),
|
|
97
|
-
default:
|
|
96
|
+
return n(), L(i, { title: "颜色主题风格" }, {
|
|
97
|
+
default: N(() => [
|
|
98
98
|
s("div", null, [
|
|
99
|
-
u(
|
|
99
|
+
u(G, {
|
|
100
100
|
modelValue: o(e),
|
|
101
|
-
"onUpdate:modelValue": t[0] || (t[0] = (a) =>
|
|
101
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => j(e) ? e.value = a : null)
|
|
102
102
|
}, null, 8, ["modelValue"])
|
|
103
103
|
]),
|
|
104
104
|
s("div", K, [
|
|
@@ -127,7 +127,7 @@ const G = g({ name: "pajamas-check-circle-filled", render: U }), J = {
|
|
|
127
127
|
}, null, 4))), 128))
|
|
128
128
|
]),
|
|
129
129
|
s("div", Z, [
|
|
130
|
-
u(o(
|
|
130
|
+
u(o(J))
|
|
131
131
|
])
|
|
132
132
|
], 10, Q))), 128))
|
|
133
133
|
])
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { _ as b } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import { _ as V } from "./HToggle-
|
|
3
|
-
import {
|
|
4
|
-
import { defineComponent as v, toRef as c, createBlock as x, openBlock as _, withCtx as i, createElementVNode as s, createElementBlock as
|
|
2
|
+
import { _ as V } from "./HToggle-B-ZjSh6S.js";
|
|
3
|
+
import { bL as f, bN as g } from "./index-Beb7_0-E.js";
|
|
4
|
+
import { defineComponent as v, toRef as c, 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 u } from "./question-line-CfkciTFq.js";
|
|
6
|
-
const
|
|
6
|
+
const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setting-item" }, U = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "setting-item"
|
|
9
|
-
}, k = { class: "setting-item" }, B = { class: "label" }, H = { class: "setting-item" }, E = { class: "label" },
|
|
9
|
+
}, k = { class: "setting-item" }, B = { class: "label" }, H = { class: "setting-item" }, E = { class: "label" }, D = /* @__PURE__ */ v({
|
|
10
10
|
name: "SettingToolbar",
|
|
11
11
|
__name: "SettingToolbar",
|
|
12
12
|
setup(F) {
|
|
@@ -15,8 +15,8 @@ const S = { class: "setting-item" }, R = { class: "label" }, T = { class: "setti
|
|
|
15
15
|
const d = g, a = V, p = b;
|
|
16
16
|
return _(), x(p, { title: "工具栏" }, {
|
|
17
17
|
default: i(() => [
|
|
18
|
-
s("div",
|
|
19
|
-
s("div",
|
|
18
|
+
s("div", R, [
|
|
19
|
+
s("div", S, [
|
|
20
20
|
e[5] || (e[5] = m(" 通知中心 ")),
|
|
21
21
|
o(d, { text: "该功能具体业务功能需自行开发,框架仅提供示例模版" }, {
|
|
22
22
|
default: i(() => [
|
|
@@ -37,13 +37,13 @@ const S = { class: "setting-item" }, R = { class: "label" }, T = { class: "setti
|
|
|
37
37
|
"onUpdate:modelValue": e[1] || (e[1] = (n) => t(l).enableI18n = n)
|
|
38
38
|
}, null, 8, ["modelValue"])
|
|
39
39
|
]),
|
|
40
|
-
t(r).mode === "pc" ? (_(),
|
|
40
|
+
t(r).mode === "pc" ? (_(), N("div", U, [
|
|
41
41
|
e[7] || (e[7] = s("div", { class: "label" }, " 全屏 ", -1)),
|
|
42
42
|
o(a, {
|
|
43
43
|
modelValue: t(l).enableFullscreen,
|
|
44
44
|
"onUpdate:modelValue": e[2] || (e[2] = (n) => t(l).enableFullscreen = n)
|
|
45
45
|
}, null, 8, ["modelValue"])
|
|
46
|
-
])) :
|
|
46
|
+
])) : C("", !0),
|
|
47
47
|
s("div", k, [
|
|
48
48
|
s("div", B, [
|
|
49
49
|
e[8] || (e[8] = m(" 页面刷新 ")),
|
|
@@ -81,5 +81,5 @@ const S = { class: "setting-item" }, R = { class: "label" }, T = { class: "setti
|
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
export {
|
|
84
|
-
|
|
84
|
+
D as default
|
|
85
85
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
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 {
|
|
4
|
-
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b } from "./HToggle-B-ZjSh6S.js";
|
|
3
|
+
import { bL as c, bN as f } from "./index-Beb7_0-E.js";
|
|
4
|
+
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-17EywJvs.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
|
-
const H = { class: "setting-item" },
|
|
7
|
+
const H = { class: "setting-item" }, N = { class: "setting-item" }, w = { class: "label" }, D = /* @__PURE__ */ T({
|
|
8
8
|
name: "SettingTopbar",
|
|
9
9
|
__name: "SettingTopbar",
|
|
10
|
-
setup(
|
|
10
|
+
setup(L) {
|
|
11
11
|
const { settingsStore: i } = c(), { topbar: o, tabbar: m } = V(i.settings);
|
|
12
12
|
return (R, e) => {
|
|
13
13
|
const r = g, d = f, _ = b, p = u;
|
|
@@ -25,7 +25,7 @@ const H = { class: "setting-item" }, S = { class: "setting-item" }, w = { class:
|
|
|
25
25
|
]
|
|
26
26
|
}, null, 8, ["modelValue"])
|
|
27
27
|
]),
|
|
28
|
-
n("div",
|
|
28
|
+
n("div", N, [
|
|
29
29
|
n("div", w, [
|
|
30
30
|
e[3] || (e[3] = k(" 展示切换 ")),
|
|
31
31
|
s(d, { text: "切换标签栏和工具栏的展示顺序" }, {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as v } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
-
import {
|
|
2
|
+
import { bL as u, bN as b, b as k } from "./index-Beb7_0-E.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
|
-
import { E as
|
|
5
|
-
const
|
|
4
|
+
import { E as y, a as B } from "./right-Bfe2p1o0.js";
|
|
5
|
+
const N = { class: "app-width-mode" }, S = ["onClick"], H = /* @__PURE__ */ w({
|
|
6
6
|
name: "SettingWidthMode",
|
|
7
7
|
__name: "SettingWidthMode",
|
|
8
|
-
setup(
|
|
8
|
+
setup(L) {
|
|
9
9
|
const { settingsStore: m } = u(), i = x(m.settings.layout, "widthMode"), _ = g([
|
|
10
10
|
{
|
|
11
11
|
describe: "自适应",
|
|
@@ -31,11 +31,11 @@ const B = { class: "app-width-mode" }, H = ["onClick"], N = /* @__PURE__ */ w({
|
|
|
31
31
|
function p(a) {
|
|
32
32
|
a && (i.value = a);
|
|
33
33
|
}
|
|
34
|
-
return (a,
|
|
34
|
+
return (a, V) => {
|
|
35
35
|
const f = b, h = v;
|
|
36
36
|
return t(), o(h, { title: "页宽模式" }, {
|
|
37
37
|
default: n(() => [
|
|
38
|
-
s("div",
|
|
38
|
+
s("div", N, [
|
|
39
39
|
(t(!0), d(r, null, C(c(_), (e) => (t(), o(f, {
|
|
40
40
|
key: e.active,
|
|
41
41
|
text: e.describe,
|
|
@@ -45,13 +45,13 @@ const B = { class: "app-width-mode" }, H = ["onClick"], N = /* @__PURE__ */ w({
|
|
|
45
45
|
default: n(() => [
|
|
46
46
|
s("div", {
|
|
47
47
|
class: M(["mode", [e.class, c(i) === e.active ? "active" : ""]]),
|
|
48
|
-
onClick: (
|
|
48
|
+
onClick: (W) => p(e.active)
|
|
49
49
|
}, [
|
|
50
50
|
e.active !== "center" ? (t(), d(r, { key: 0 }, [
|
|
51
|
-
l(c(
|
|
52
|
-
l(c(
|
|
51
|
+
l(c(y), { class: "left" }),
|
|
52
|
+
l(c(B), { class: "right" })
|
|
53
53
|
], 64)) : E("", !0)
|
|
54
|
-
], 10,
|
|
54
|
+
], 10, S)
|
|
55
55
|
]),
|
|
56
56
|
_: 2
|
|
57
57
|
}, 1032, ["text"]))), 128))
|
|
@@ -61,7 +61,7 @@ const B = { class: "app-width-mode" }, H = ["onClick"], N = /* @__PURE__ */ w({
|
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
}), F = /* @__PURE__ */ k(
|
|
64
|
+
}), F = /* @__PURE__ */ k(H, [["__scopeId", "data-v-c424e7f2"]]);
|
|
65
65
|
export {
|
|
66
66
|
F as default
|
|
67
67
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as a, ref as l, createElementBlock as m, openBlock as i, withModifiers as c, createVNode as d, normalizeClass as f, unref as e } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { bL as p, bT as _ } from "./index-Beb7_0-E.js";
|
|
3
3
|
import { useRoute as h } from "vue-router";
|
|
4
|
-
const
|
|
4
|
+
const y = /* @__PURE__ */ a({
|
|
5
5
|
name: "TopThinMode",
|
|
6
6
|
__name: "TopThinMode",
|
|
7
7
|
setup(v) {
|
|
@@ -31,5 +31,5 @@ const R = /* @__PURE__ */ a({
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
y as default
|
|
35
35
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|