@pubinfo/core 2.0.0-beta.30 → 2.0.0-beta.32
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-CVExa3_K.js → AppSetting-DhcdApoo.js} +17 -17
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js → HCheckList.vue_vue_type_script_setup_true_lang-Bi9jyf-Y.js} +2 -2
- package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
- package/dist/HToggle-Di3WNnzE.js +34 -0
- package/dist/{PreferencesContent-p9KS2Pve.js → PreferencesContent-BdSTTSM-.js} +6 -6
- package/dist/{SettingBreadcrumb-DwvQtev2.js → SettingBreadcrumb-ChQx96br.js} +8 -8
- package/dist/{SettingCopyright-Wb3hkKZZ.js → SettingCopyright-CkMab5VK.js} +8 -8
- package/dist/{SettingEnableTransition-DT23T8dO.js → SettingEnableTransition-BSXU87vT.js} +15 -15
- package/dist/{SettingHome-C0K6wkyt.js → SettingHome-DwioPezC.js} +13 -13
- package/dist/{SettingMenu-CCKj46sg.js → SettingMenu-yvKu7Yoq.js} +25 -25
- package/dist/{SettingMode-pwpzZcxj.js → SettingMode-C99ADNad.js} +6 -6
- package/dist/{SettingNavSearch-zoiP1hL2.js → SettingNavSearch-mURLLetZ.js} +8 -8
- package/dist/{SettingOther-OIZZcjfo.js → SettingOther-BGoSdp7a.js} +9 -9
- package/dist/{SettingPage-CyljqOiV.js → SettingPage-Wwy5PtzC.js} +7 -7
- package/dist/{SettingTabbar-DCQai4_R.js → SettingTabbar-C2ya4r4U.js} +9 -9
- package/dist/{SettingThemes-DJIaIqy1.js → SettingThemes-7oYUooGR.js} +27 -27
- package/dist/{SettingToolbar-Dvv11piV.js → SettingToolbar-A6OiGfAD.js} +5 -5
- package/dist/{SettingTopbar-CMpP98WU.js → SettingTopbar-GDEPltxm.js} +9 -9
- package/dist/{SettingWidthMode-DVPAA6Xs.js → SettingWidthMode-qwkmTFIK.js} +15 -15
- package/dist/{TopThinMode-D8rMfa-C.js → TopThinMode-BkmPN66X.js} +1 -1
- package/dist/{_...all_-6l5FWUkL.js → _...all_-CdjdWhUr.js} +5 -5
- package/dist/assets/styles/index.d.ts +3 -3
- package/dist/{colors-DiWJrScm.js → colors-7rGvqeKK.js} +1 -1
- package/dist/{index-CfasTv4x.js → index-BC-gcL8e.js} +4 -4
- package/dist/{index-Md7zV10q.js → index-C-6XxK2D.js} +5 -5
- package/dist/{index-bsi-FZDt.js → index-CgLD0zqO.js} +169 -169
- package/dist/{index-BmMbAV1Y.js → index-CtyzB2cq.js} +13 -13
- package/dist/{index-Ckgil96Y.js → index-Cw1uN5m-.js} +2 -2
- package/dist/{index-Be7jJtXg.js → index-DVUDANdM.js} +5 -5
- package/dist/{index-lv9zqWqR.js → index-Dpq4uqWd.js} +22 -22
- package/dist/{index-CyyndQxa.js → index-DuoLZ3r3.js} +4394 -4294
- package/dist/{index-De_ME_Ws.js → index-sYaQXYQC.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js → index.vue_vue_type_style_index_0_scoped_051f4e99_lang-CuU-JtjC.js} +870 -856
- package/dist/interface.d.ts +12 -0
- package/dist/layout/ui-kit/HDialog.vue.d.ts +1 -1
- package/dist/layout/ui-kit/HSlideover.vue.d.ts +1 -1
- package/dist/layout/ui-kit/HTooltip.vue.d.ts +1 -1
- package/dist/{menu-CC5544p-.js → menu-BL6hH6OM.js} +1862 -1856
- package/dist/{pick-CJo2YiT-.js → pick-CAmKymZJ.js} +1 -1
- package/dist/request.js +34 -32
- package/dist/stores/plugin/persist.d.ts +2 -2
- package/dist/style.css +3 -3
- package/package.json +25 -26
- package/src/assets/styles/globals.css +188 -0
- package/src/assets/styles/index.ts +3 -3
- package/src/assets/styles/nprogress.css +68 -0
- package/src/assets/styles/rbac.css +51 -0
- package/src/assets/styles/resources/utils.css +53 -0
- package/src/assets/styles/resources/variables.css +5 -0
- package/src/components/NotAllowed/index.vue +4 -6
- package/src/components/PassStrengthValidator/index.vue +33 -48
- package/src/components/PassStrengthValidator/rule.vue +13 -25
- package/src/components/PubinfoIcon/index.vue +4 -8
- package/src/composables/watchDiff.ts +1 -1
- package/src/create.ts +10 -3
- package/src/interface.ts +19 -0
- package/src/layout/Layout.vue +113 -161
- package/src/layout/components/Content/IframeView.vue +1 -2
- package/src/layout/components/Content/LinkView.vue +2 -2
- package/src/layout/components/Content/index.vue +1 -2
- package/src/layout/components/Copyright/index.vue +7 -8
- package/src/layout/components/Header/TopMode/More.vue +24 -32
- package/src/layout/components/Header/TopMode/NotCursor.vue +20 -29
- package/src/layout/components/Header/TopMode/index.vue +1 -1
- package/src/layout/components/Header/index.vue +118 -206
- package/src/layout/components/Logo/index.vue +4 -19
- package/src/layout/components/Menu/item.vue +16 -25
- package/src/layout/components/SettingBar/AppSetting.vue +11 -11
- package/src/layout/components/SettingBar/components/DayNightToggle.vue +26 -120
- package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +111 -136
- package/src/layout/components/SettingBar/components/SettingMode.vue +78 -88
- package/src/layout/components/SettingBar/components/SettingThemes.vue +48 -85
- package/src/layout/components/SettingBar/components/SettingWidthMode.vue +63 -71
- package/src/layout/components/SettingBar/index.vue +29 -62
- package/src/layout/components/Sidebar/MainSidebar.vue +81 -126
- package/src/layout/components/Sidebar/SubSidebar.vue +50 -59
- package/src/layout/components/Tools/Breadcrumb/index.vue +6 -12
- package/src/layout/components/Tools/DayNightSwitch.vue +40 -63
- package/src/layout/components/Tools/Preferences/PreferencesContent.vue +210 -277
- package/src/layout/components/Tools/Search.vue +5 -5
- package/src/layout/components/Tools/index.vue +1 -1
- package/src/layout/components/Topbar/Tabbar/MoreAction.vue +98 -145
- package/src/layout/components/Topbar/Tabbar/index.vue +259 -395
- package/src/layout/components/Topbar/Toolbar/Favorites.vue +4 -4
- package/src/layout/components/Topbar/Toolbar/index.vue +39 -56
- package/src/layout/components/Topbar/index.vue +16 -19
- package/src/layout/composables/useContext.ts +1 -1
- package/src/layout/composables/useMenu.ts +1 -1
- package/src/layout/composables/useTabbar.ts +1 -1
- package/src/layout/composables/useTitle.ts +1 -1
- package/src/layout/provider.ts +1 -1
- package/src/layout/ui-kit/HDialog.vue +1 -1
- package/src/layout/ui-kit/HDivider.vue +6 -35
- package/src/layout/ui-kit/HSlideover.vue +1 -1
- package/src/layout/ui-kit/HToggle.vue +49 -93
- package/src/layout/ui-kit/HTooltip.vue +1 -1
- package/src/locales/index.ts +1 -1
- package/src/pages/personal/profile/index.vue +1 -1
- package/src/pages/system/[...all].vue +4 -6
- package/src/pages/system/change-organization/index.vue +23 -37
- package/src/pages/system/change-password/components/ChangePasswordForm/index.vue +1 -1
- package/src/pages/system/change-password/index.vue +16 -29
- package/src/pages/system/not-permission/index.vue +4 -6
- package/src/route/guard/basic.ts +1 -1
- package/src/route/routes.ts +1 -1
- package/src/stores/modules/favorites.ts +1 -1
- package/src/stores/modules/menu.ts +1 -1
- package/src/stores/modules/route.ts +2 -2
- package/src/stores/modules/settings.ts +7 -7
- package/src/stores/modules/user.ts +2 -2
- package/src/stores/plugin/persist.ts +3 -3
- package/src/stores/plugin/sideEffect/tabbarStorage.ts +1 -1
- package/src/utils/crypto.ts +1 -1
- package/types/auto-imports.d.ts +1 -1
- package/types/components.d.ts +1 -0
- package/types/vue-router.d.ts +8 -8
- package/dist/HDivider-DgXBhPr0.js +0 -21
- package/dist/HToggle-Cd71WKvG.js +0 -34
- package/src/assets/styles/globals.scss +0 -189
- package/src/assets/styles/nprogress.scss +0 -63
- package/src/assets/styles/rbac.scss +0 -61
- package/src/assets/styles/resources/utils.scss +0 -53
- package/src/assets/styles/resources/variables.scss +0 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as k } from "./HDivider-
|
|
2
|
-
import { u as w, c as y } from "./index-
|
|
1
|
+
import { _ as k } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { u as w, c as y } from "./index-DuoLZ3r3.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 L } from "./HToggle-
|
|
4
|
+
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-Bi9jyf-Y.js";
|
|
5
|
+
import { _ as L } from "./HToggle-Di3WNnzE.js";
|
|
6
6
|
import { R as N } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const R = {
|
|
8
8
|
viewBox: "0 0 32 32",
|
|
@@ -34,7 +34,7 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
34
34
|
c("update:modelValue", s.value);
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
-
return (s,
|
|
37
|
+
return (s, f) => {
|
|
38
38
|
const b = C("VMenu");
|
|
39
39
|
return r(), V(b, h({
|
|
40
40
|
triggers: ["click"],
|
|
@@ -48,7 +48,7 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
48
48
|
key: d.value,
|
|
49
49
|
disabled: d.disabled,
|
|
50
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
|
-
onClick: (
|
|
51
|
+
onClick: (_) => e.value = d
|
|
52
52
|
}, g(d.label), 11, Q))), 128))
|
|
53
53
|
])
|
|
54
54
|
]),
|
|
@@ -75,8 +75,8 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
75
75
|
setup(m) {
|
|
76
76
|
const { settingsStore: i } = w(), l = T(i.settings, "tabbar");
|
|
77
77
|
return (c, e) => {
|
|
78
|
-
const s = L,
|
|
79
|
-
return r(), V(
|
|
78
|
+
const s = L, f = U, b = j, d = y, _ = k;
|
|
79
|
+
return r(), V(_, { title: "标签栏" }, {
|
|
80
80
|
default: u(() => [
|
|
81
81
|
o("div", A, [
|
|
82
82
|
e[6] || (e[6] = o("div", { class: "label" }, " 是否启用 ", -1)),
|
|
@@ -87,7 +87,7 @@ const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-fu
|
|
|
87
87
|
]),
|
|
88
88
|
o("div", G, [
|
|
89
89
|
e[7] || (e[7] = o("div", { class: "label" }, " 风格 ", -1)),
|
|
90
|
-
a(
|
|
90
|
+
a(f, {
|
|
91
91
|
modelValue: t(l).style,
|
|
92
92
|
"onUpdate:modelValue": e[1] || (e[1] = (n) => t(l).style = n),
|
|
93
93
|
options: [
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { _ as T } from "./HDivider-
|
|
2
|
-
import { markRaw as b, createElementBlock as r, openBlock as n, createElementVNode as s, defineComponent as k, useModel as V, withDirectives as
|
|
3
|
-
import "
|
|
1
|
+
import { _ as T } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { markRaw as b, 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 N, withCtx as j, createVNode as f, unref as o, isRef as L, Fragment as _, renderList as g, normalizeClass as M, normalizeStyle as h, toDisplayString as z } from "vue";
|
|
3
|
+
import { getThemes as F } from "@pubinfo/config/themes";
|
|
4
4
|
import "pinia-plugin-persistedstate";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
5
|
+
import "./menu-BL6hH6OM.js";
|
|
6
|
+
import { d as R, u as A } from "./index-DuoLZ3r3.js";
|
|
7
7
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const E = {
|
|
9
9
|
viewBox: "-5 -2 24 24",
|
|
10
10
|
width: "1.2em",
|
|
11
11
|
height: "1.2em"
|
|
12
12
|
};
|
|
13
|
-
function H(
|
|
13
|
+
function H(m, e) {
|
|
14
14
|
return n(), r("svg", E, e[0] || (e[0] = [
|
|
15
15
|
s("path", {
|
|
16
16
|
fill: "currentColor",
|
|
@@ -23,7 +23,7 @@ const I = b({ name: "jam-bookmark-f", render: H }), U = {
|
|
|
23
23
|
width: "1.2em",
|
|
24
24
|
height: "1.2em"
|
|
25
25
|
};
|
|
26
|
-
function W(
|
|
26
|
+
function W(m, e) {
|
|
27
27
|
return n(), r("svg", U, e[0] || (e[0] = [
|
|
28
28
|
s("path", {
|
|
29
29
|
fill: "currentColor",
|
|
@@ -45,31 +45,31 @@ const J = b({ name: "pajamas-check-circle-filled", render: W }), O = {
|
|
|
45
45
|
modelModifiers: {}
|
|
46
46
|
},
|
|
47
47
|
emits: ["update:modelValue"],
|
|
48
|
-
setup(
|
|
49
|
-
const e = V(
|
|
50
|
-
return (
|
|
48
|
+
setup(m) {
|
|
49
|
+
const e = V(m, "modelValue");
|
|
50
|
+
return (v, l) => (n(), r("div", O, [
|
|
51
51
|
s("div", P, [
|
|
52
|
-
|
|
52
|
+
$(s("input", {
|
|
53
53
|
id: "dn",
|
|
54
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
54
|
+
"onUpdate:modelValue": l[0] || (l[0] = (p) => e.value = p),
|
|
55
55
|
type: "checkbox",
|
|
56
56
|
class: "dn"
|
|
57
57
|
}, null, 512), [
|
|
58
58
|
[w, e.value]
|
|
59
59
|
]),
|
|
60
|
-
l[1] || (l[1] =
|
|
60
|
+
l[1] || (l[1] = S('<label for="dn" class="toggle" data-v-e861fd5f><span class="toggle__handler" data-v-e861fd5f><span class="crater crater--1" data-v-e861fd5f></span><span class="crater crater--2" data-v-e861fd5f></span><span class="crater crater--3" data-v-e861fd5f></span></span><span class="star star--1" data-v-e861fd5f></span><span class="star star--2" data-v-e861fd5f></span><span class="star star--3" data-v-e861fd5f></span><span class="star star--4" data-v-e861fd5f></span><span class="star star--5" data-v-e861fd5f></span><span class="star star--6" data-v-e861fd5f></span></label>', 1))
|
|
61
61
|
])
|
|
62
62
|
]));
|
|
63
63
|
}
|
|
64
|
-
}), G = /* @__PURE__ */ x(q, [["__scopeId", "data-v-
|
|
64
|
+
}), G = /* @__PURE__ */ x(q, [["__scopeId", "data-v-e861fd5f"]]), K = { class: "themes" }, Q = ["onClick"], X = {
|
|
65
65
|
class: "theme-type",
|
|
66
66
|
flex: "",
|
|
67
67
|
"items-center": ""
|
|
68
68
|
}, Y = { class: "theme-point" }, Z = { class: "explosion" }, ee = /* @__PURE__ */ k({
|
|
69
69
|
name: "SettingThemes",
|
|
70
70
|
__name: "SettingThemes",
|
|
71
|
-
setup(
|
|
72
|
-
const { isDark: e } =
|
|
71
|
+
setup(m) {
|
|
72
|
+
const { isDark: e } = R(), { settingsStore: v } = A(), l = D(v.settings, "app"), p = [
|
|
73
73
|
"--ui-primary",
|
|
74
74
|
"--ui-text",
|
|
75
75
|
"--g-bg",
|
|
@@ -77,9 +77,9 @@ const J = b({ name: "pajamas-check-circle-filled", render: W }), O = {
|
|
|
77
77
|
"--g-main-sidebar-bg",
|
|
78
78
|
"--g-sub-sidebar-bg"
|
|
79
79
|
], y = B(() => {
|
|
80
|
-
const c =
|
|
80
|
+
const c = F();
|
|
81
81
|
return Object.keys(c).map((t) => {
|
|
82
|
-
const d = c[t], a =
|
|
82
|
+
const d = c[t], a = p.map((u) => d[u].startsWith("#") ? d[u] : `rgb(${d[u]})`), i = c[t].label;
|
|
83
83
|
return {
|
|
84
84
|
label: t,
|
|
85
85
|
value: d,
|
|
@@ -99,38 +99,38 @@ const J = b({ name: "pajamas-check-circle-filled", render: W }), O = {
|
|
|
99
99
|
return n(), N(d, { title: "颜色主题风格" }, {
|
|
100
100
|
default: j(() => [
|
|
101
101
|
s("div", null, [
|
|
102
|
-
|
|
102
|
+
f(G, {
|
|
103
103
|
modelValue: o(e),
|
|
104
104
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => L(e) ? e.value = a : null)
|
|
105
105
|
}, null, 8, ["modelValue"])
|
|
106
106
|
]),
|
|
107
107
|
s("div", K, [
|
|
108
|
-
(n(!0), r(
|
|
108
|
+
(n(!0), r(_, null, g(o(y), (a) => (n(), r("div", {
|
|
109
109
|
key: a.label,
|
|
110
110
|
class: M(["theme", { active: o(e) ? o(l).darkTheme === a.label : o(l).lightTheme === a.label }]),
|
|
111
111
|
onClick: (i) => C(a)
|
|
112
112
|
}, [
|
|
113
113
|
s("div", X, [
|
|
114
114
|
s("span", {
|
|
115
|
-
style:
|
|
115
|
+
style: h({ color: a.colors.at(0) }),
|
|
116
116
|
"mr-5px": ""
|
|
117
117
|
}, [
|
|
118
|
-
|
|
118
|
+
f(o(I))
|
|
119
119
|
], 4),
|
|
120
120
|
s("span", {
|
|
121
|
-
style:
|
|
121
|
+
style: h({ color: a.colors.at(0) }),
|
|
122
122
|
"text-sm": ""
|
|
123
123
|
}, z(a.name || a.label), 5)
|
|
124
124
|
]),
|
|
125
125
|
s("div", Y, [
|
|
126
|
-
(n(!0), r(
|
|
126
|
+
(n(!0), r(_, null, g(a.colors, (i) => (n(), r("div", {
|
|
127
127
|
key: i,
|
|
128
128
|
class: "point",
|
|
129
|
-
style:
|
|
129
|
+
style: h({ backgroundColor: i })
|
|
130
130
|
}, null, 4))), 128))
|
|
131
131
|
]),
|
|
132
132
|
s("div", Z, [
|
|
133
|
-
|
|
133
|
+
f(o(J))
|
|
134
134
|
])
|
|
135
135
|
], 10, Q))), 128))
|
|
136
136
|
])
|
|
@@ -139,7 +139,7 @@ const J = b({ name: "pajamas-check-circle-filled", render: W }), O = {
|
|
|
139
139
|
});
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
}), de = /* @__PURE__ */ x(ee, [["__scopeId", "data-v-
|
|
142
|
+
}), de = /* @__PURE__ */ x(ee, [["__scopeId", "data-v-4df549a9"]]);
|
|
143
143
|
export {
|
|
144
144
|
de as default
|
|
145
145
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as b } from "./HDivider-
|
|
2
|
-
import { _ as V } from "./HToggle-
|
|
3
|
-
import { u as f, c as g } from "./index-
|
|
1
|
+
import { _ as b } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { _ as V } from "./HToggle-Di3WNnzE.js";
|
|
3
|
+
import { u as f, c as g } from "./index-DuoLZ3r3.js";
|
|
4
4
|
import { defineComponent as c, toRef as v, createBlock as x, openBlock as _, withCtx as i, createElementVNode as s, createElementBlock as C, createCommentVNode as N, createVNode as o, createTextVNode as m, unref as t } from "vue";
|
|
5
5
|
import { R as u } from "./question-line-CfkciTFq.js";
|
|
6
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" }, L = /* @__PURE__ */ c({
|
|
10
10
|
name: "SettingToolbar",
|
|
11
11
|
__name: "SettingToolbar",
|
|
12
12
|
setup(F) {
|
|
@@ -81,5 +81,5 @@ const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setti
|
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
export {
|
|
84
|
-
|
|
84
|
+
L as default
|
|
85
85
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as u } from "./HDivider-
|
|
2
|
-
import { _ as c } from "./HToggle-
|
|
3
|
-
import { u as b, c as f } from "./index-
|
|
4
|
-
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { defineComponent as T, toRefs as V, createBlock as v, openBlock as x, withCtx as
|
|
1
|
+
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { _ as c } from "./HToggle-Di3WNnzE.js";
|
|
3
|
+
import { u as b, c as f } from "./index-DuoLZ3r3.js";
|
|
4
|
+
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-Bi9jyf-Y.js";
|
|
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" }, w = { class: "setting-item" }, N = { class: "label" }, D = /* @__PURE__ */ T({
|
|
8
8
|
name: "SettingTopbar",
|
|
@@ -12,12 +12,12 @@ const H = { class: "setting-item" }, w = { class: "setting-item" }, N = { class:
|
|
|
12
12
|
return (S, e) => {
|
|
13
13
|
const r = g, d = f, _ = c, p = u;
|
|
14
14
|
return x(), v(p, { title: "顶栏" }, {
|
|
15
|
-
default:
|
|
15
|
+
default: l(() => [
|
|
16
16
|
n("div", H, [
|
|
17
17
|
e[2] || (e[2] = n("div", { class: "label" }, " 模式 ", -1)),
|
|
18
18
|
s(r, {
|
|
19
19
|
modelValue: t(o).mode,
|
|
20
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
20
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => t(o).mode = a),
|
|
21
21
|
options: [
|
|
22
22
|
{ label: "静止", value: "static" },
|
|
23
23
|
{ label: "固定", value: "fixed" },
|
|
@@ -29,7 +29,7 @@ const H = { class: "setting-item" }, w = { class: "setting-item" }, N = { class:
|
|
|
29
29
|
n("div", N, [
|
|
30
30
|
e[3] || (e[3] = k(" 展示切换 ")),
|
|
31
31
|
s(d, { text: "切换标签栏和工具栏的展示顺序" }, {
|
|
32
|
-
default:
|
|
32
|
+
default: l(() => [
|
|
33
33
|
s(t(C))
|
|
34
34
|
]),
|
|
35
35
|
_: 1
|
|
@@ -37,7 +37,7 @@ const H = { class: "setting-item" }, w = { class: "setting-item" }, N = { class:
|
|
|
37
37
|
]),
|
|
38
38
|
s(_, {
|
|
39
39
|
modelValue: t(o).switchTabbarAndToolbar,
|
|
40
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
40
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => t(o).switchTabbarAndToolbar = a),
|
|
41
41
|
disabled: !t(m).enable
|
|
42
42
|
}, null, 8, ["modelValue", "disabled"])
|
|
43
43
|
])
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { u as v, c as
|
|
3
|
-
import { defineComponent as
|
|
1
|
+
import { _ as u } from "./HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js";
|
|
2
|
+
import { u as v, c as k } from "./index-DuoLZ3r3.js";
|
|
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 r, Fragment as d, renderList as b, unref as c, normalizeClass as C, createCommentVNode as M, createVNode as l } from "vue";
|
|
4
4
|
import { E, a as y } from "./right-Bfe2p1o0.js";
|
|
5
5
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const S = { class: "app-width-mode" }, H = ["onClick"], N = /* @__PURE__ */
|
|
6
|
+
const S = { class: "app-width-mode" }, H = ["onClick"], N = /* @__PURE__ */ w({
|
|
7
7
|
name: "SettingWidthMode",
|
|
8
8
|
__name: "SettingWidthMode",
|
|
9
9
|
setup(V) {
|
|
10
|
-
const { settingsStore: m } = v(),
|
|
10
|
+
const { settingsStore: m } = v(), i = x(m.settings.layout, "widthMode"), _ = g([
|
|
11
11
|
{
|
|
12
12
|
describe: "自适应",
|
|
13
13
|
active: "adaption",
|
|
@@ -29,15 +29,15 @@ const S = { class: "app-width-mode" }, H = ["onClick"], N = /* @__PURE__ */ k({
|
|
|
29
29
|
class: "mode-center-max-width"
|
|
30
30
|
}
|
|
31
31
|
]);
|
|
32
|
-
function p(
|
|
33
|
-
|
|
32
|
+
function p(a) {
|
|
33
|
+
a && (i.value = a);
|
|
34
34
|
}
|
|
35
|
-
return (
|
|
36
|
-
const
|
|
37
|
-
return t(),
|
|
35
|
+
return (a, W) => {
|
|
36
|
+
const f = k, h = u;
|
|
37
|
+
return t(), o(h, { title: "页宽模式" }, {
|
|
38
38
|
default: n(() => [
|
|
39
39
|
s("div", S, [
|
|
40
|
-
(t(!0), d
|
|
40
|
+
(t(!0), r(d, null, b(c(_), (e) => (t(), o(f, {
|
|
41
41
|
key: e.active,
|
|
42
42
|
text: e.describe,
|
|
43
43
|
placement: "bottom",
|
|
@@ -45,10 +45,10 @@ const S = { class: "app-width-mode" }, H = ["onClick"], N = /* @__PURE__ */ k({
|
|
|
45
45
|
}, {
|
|
46
46
|
default: n(() => [
|
|
47
47
|
s("div", {
|
|
48
|
-
class: C(["mode", [e.class, c(
|
|
49
|
-
onClick: (
|
|
48
|
+
class: C(["mode", [e.class, c(i) === e.active ? "active" : ""]]),
|
|
49
|
+
onClick: ($) => p(e.active)
|
|
50
50
|
}, [
|
|
51
|
-
e.active !== "center" ? (t(), d
|
|
51
|
+
e.active !== "center" ? (t(), r(d, { key: 0 }, [
|
|
52
52
|
l(c(E), { class: "left" }),
|
|
53
53
|
l(c(y), { class: "right" })
|
|
54
54
|
], 64)) : M("", !0)
|
|
@@ -62,7 +62,7 @@ const S = { class: "app-width-mode" }, H = ["onClick"], N = /* @__PURE__ */ k({
|
|
|
62
62
|
});
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
}), I = /* @__PURE__ */ B(N, [["__scopeId", "data-v-
|
|
65
|
+
}), I = /* @__PURE__ */ B(N, [["__scopeId", "data-v-1b9ac267"]]);
|
|
66
66
|
export {
|
|
67
67
|
I as default
|
|
68
68
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
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 { u as p, _ } from "./index-
|
|
2
|
+
import { u as p, _ } from "./index-DuoLZ3r3.js";
|
|
3
3
|
import { useRoute as h } from "vue-router";
|
|
4
4
|
const R = /* @__PURE__ */ a({
|
|
5
5
|
name: "TopThinMode",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as u } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
2
|
-
import { defineComponent as c, ref as f, onMounted as d, createElementBlock as m, openBlock as p, createElementVNode as o, createVNode as _, withCtx as x, createTextVNode as v, toDisplayString as w, unref as
|
|
3
|
-
import { e as b, a as k } from "./menu-CC5544p-.js";
|
|
2
|
+
import { defineComponent as c, ref as f, onMounted as d, createElementBlock as m, openBlock as p, createElementVNode as o, createVNode as _, withCtx as x, createTextVNode as v, toDisplayString as w, unref as b } from "vue";
|
|
4
3
|
import "pinia-plugin-persistedstate";
|
|
4
|
+
import { e as g, a as k } from "./menu-BL6hH6OM.js";
|
|
5
5
|
import { useRoute as N, useRouter as S, onBeforeRouteLeave as h } from "vue-router";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const C = {
|
|
@@ -11,7 +11,7 @@ const C = {
|
|
|
11
11
|
}, I = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12" }, D = { class: "flex flex-col gap-4" }, E = /* @__PURE__ */ c({
|
|
12
12
|
__name: "[...all]",
|
|
13
13
|
setup(y) {
|
|
14
|
-
const n = N(), l = S(), s =
|
|
14
|
+
const n = N(), l = S(), s = g(), r = k(), t = f({
|
|
15
15
|
inter: Number.NaN,
|
|
16
16
|
countdown: 5
|
|
17
17
|
});
|
|
@@ -36,7 +36,7 @@ const C = {
|
|
|
36
36
|
o("div", null, [
|
|
37
37
|
_(i, { onClick: a }, {
|
|
38
38
|
default: x(() => [
|
|
39
|
-
v(w(
|
|
39
|
+
v(w(b(t).countdown) + " 秒后,返回首页 ", 1)
|
|
40
40
|
]),
|
|
41
41
|
_: 1
|
|
42
42
|
})
|
|
@@ -46,7 +46,7 @@ const C = {
|
|
|
46
46
|
]);
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
}), L = /* @__PURE__ */ B(E, [["__scopeId", "data-v-
|
|
49
|
+
}), L = /* @__PURE__ */ B(E, [["__scopeId", "data-v-3c4f2ab0"]]);
|
|
50
50
|
export {
|
|
51
51
|
L as default
|
|
52
52
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@unocss/reset/normalize.css';
|
|
2
2
|
import 'overlayscrollbars/overlayscrollbars.css';
|
|
3
|
-
import './globals.
|
|
4
|
-
import './nprogress.
|
|
5
|
-
import './rbac.
|
|
3
|
+
import './globals.css';
|
|
4
|
+
import './nprogress.css';
|
|
5
|
+
import './rbac.css';
|
|
6
6
|
import 'virtual:uno.css';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a7 as t } from "./menu-
|
|
1
|
+
import { a7 as t } from "./menu-BL6hH6OM.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) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, computed as v, createVNode as z, createElementBlock as h, openBlock as l, normalizeClass as S, createElementVNode as s, createBlock as x, unref as C, toDisplayString as D, mergeModels as G, useModel as _, watchEffect as H, createCommentVNode as y, Fragment as $, renderList as M } from "vue";
|
|
2
|
-
import { A as T, a as W, z as P } from "./index.
|
|
2
|
+
import { A as T, a as W, z as P } from "./index.vue_vue_type_style_index_0_scoped_051f4e99_lang-CuU-JtjC.js";
|
|
3
3
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { ax as L, av as R, a7 as b, at as N, b7 as q, aA as j, ah as F, aa as B, bx as Z } from "./menu-
|
|
4
|
+
import { ax as L, av as R, a7 as b, at as N, b7 as q, aA as j, ah as F, aa as B, bx as Z } from "./menu-BL6hH6OM.js";
|
|
5
5
|
const O = (e) => {
|
|
6
6
|
const {
|
|
7
7
|
componentCls: t,
|
|
@@ -223,7 +223,7 @@ const O = (e) => {
|
|
|
223
223
|
}, D(t.message), 3)
|
|
224
224
|
], 2));
|
|
225
225
|
}
|
|
226
|
-
}), k = /* @__PURE__ */ I(U, [["__scopeId", "data-v-
|
|
226
|
+
}), k = /* @__PURE__ */ I(U, [["__scopeId", "data-v-dfd2dcf9"]]), ee = { class: "rules-wrap" }, te = { class: "basic-rules" }, ae = { class: "advanced-rules" }, re = /* @__PURE__ */ w({
|
|
227
227
|
name: "PassStrengthValidator",
|
|
228
228
|
__name: "index",
|
|
229
229
|
props: /* @__PURE__ */ G({
|
|
@@ -348,7 +348,7 @@ const O = (e) => {
|
|
|
348
348
|
], 2);
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
}), se = /* @__PURE__ */ I(re, [["__scopeId", "data-v-
|
|
351
|
+
}), se = /* @__PURE__ */ I(re, [["__scopeId", "data-v-051f4e99"]]);
|
|
352
352
|
export {
|
|
353
353
|
se as P
|
|
354
354
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as a } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
2
2
|
import { defineComponent as i, ref as u, onUnmounted as d, onMounted as c, createElementBlock as m, openBlock as f, createElementVNode as o, createVNode as x, withCtx as p, createTextVNode as _, toDisplayString as v, unref as w } from "vue";
|
|
3
|
-
import { u as g } from "./menu-CC5544p-.js";
|
|
4
3
|
import "pinia-plugin-persistedstate";
|
|
4
|
+
import { u as g } from "./menu-BL6hH6OM.js";
|
|
5
5
|
import { useRouter as N } from "vue-router";
|
|
6
6
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
const C = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12" }, I = { class: "flex flex-col gap-4" },
|
|
7
|
+
const C = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12" }, I = { class: "flex flex-col gap-4" }, B = /* @__PURE__ */ i({
|
|
8
8
|
name: "NotPermission",
|
|
9
9
|
__name: "index",
|
|
10
|
-
setup(
|
|
10
|
+
setup(E) {
|
|
11
11
|
const r = N(), s = g(), e = u({
|
|
12
12
|
inter: Number.NaN,
|
|
13
13
|
countdown: 5
|
|
@@ -24,7 +24,7 @@ const C = { class: "absolute left-[50%] top-[50%] flex flex-col items-center jus
|
|
|
24
24
|
name: "login"
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
return (
|
|
27
|
+
return (b, t) => {
|
|
28
28
|
const l = a;
|
|
29
29
|
return f(), m("div", C, [
|
|
30
30
|
t[2] || (t[2] = o("div", { class: "noPermissionIcon w-300px h-300px lg:w-400px lg:h-400px" }, null, -1)),
|
|
@@ -43,7 +43,7 @@ const C = { class: "absolute left-[50%] top-[50%] flex flex-col items-center jus
|
|
|
43
43
|
]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
}), P = /* @__PURE__ */ k(
|
|
46
|
+
}), P = /* @__PURE__ */ k(B, [["__scopeId", "data-v-7f7e6402"]]);
|
|
47
47
|
export {
|
|
48
48
|
P as default
|
|
49
49
|
};
|