@done-coding/admin-plugin-theme 0.4.0 → 0.4.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/README.md +1 -131
- package/es/assets/applied-intelligence-frame.mjs +13 -13
- package/es/assets/applied-intelligence-nebula.mjs +31 -31
- package/es/assets/aurora-mesh.mjs +30 -30
- package/es/assets/botanical-paper.mjs +2 -2
- package/es/assets/cockpit-brutal-steel.mjs +20 -20
- package/es/assets/cockpit-liquid-ink.mjs +52 -52
- package/es/assets/cockpit-mono-paper.mjs +21 -21
- package/es/assets/cockpit-neural-field.mjs +36 -36
- package/es/assets/compact-rail.mjs +5 -5
- package/es/assets/console-horizon.mjs +1 -1
- package/es/assets/copilot-calm.mjs +2 -2
- package/es/assets/copilot-stage.mjs +8 -8
- package/es/assets/coral-reef.mjs +2 -2
- package/es/assets/dragon-vermilion.mjs +27 -27
- package/es/assets/film-grade.mjs +26 -26
- package/es/assets/kitchen-foundry.mjs +84 -84
- package/es/assets/neon-set.mjs +17 -17
- package/es/assets/nordic-fjord.mjs +2 -2
- package/es/assets/perspective-deck.mjs +21 -21
- package/es/assets/quantum-ai.mjs +16 -16
- package/es/assets/sandstone-editorial.mjs +2 -2
- package/es/assets/starfield-cosmos.mjs +14 -14
- package/es/assets/studio-ink.mjs +27 -27
- package/es/assets/studio-stage.mjs +12 -12
- package/es/assets/studio-triptych.mjs +14 -14
- package/es/assets/sunset-amber.mjs +2 -2
- package/es/assets/synapse-grid.mjs +11 -11
- package/es/assets/terminal-phosphor.mjs +21 -21
- package/es/assets/velvet-noir.mjs +2 -2
- package/es/chunks/CockpitFrameMatte-BbTtd3J2.mjs +52 -0
- package/es/chunks/{CockpitShellBase.vue_vue_type_script_setup_true_lang-CoSsDjcF.mjs → CockpitShellBase.vue_vue_type_script_setup_true_lang-8OC_BxwQ.mjs} +41 -41
- package/es/index.mjs +5 -5
- package/es/style.css +1 -1
- package/package.json +7 -8
- package/types/assets/applied-intelligence-frame.d.ts +2 -14
- package/types/assets/applied-intelligence-nebula.d.ts +2 -13
- package/types/assets/aurora-mesh.d.ts +2 -8
- package/types/assets/botanical-paper.d.ts +2 -9
- package/types/assets/brutal-concrete.d.ts +2 -9
- package/types/assets/cockpit-brutal-steel.d.ts +2 -2
- package/types/assets/cockpit-liquid-ink.d.ts +2 -13
- package/types/assets/cockpit-mono-paper.d.ts +2 -11
- package/types/assets/cockpit-neural-field.d.ts +2 -10
- package/types/assets/compact-rail.d.ts +2 -8
- package/types/assets/console-horizon.d.ts +2 -8
- package/types/assets/contrast.d.ts +2 -9
- package/types/assets/copilot-calm.d.ts +2 -9
- package/types/assets/copilot-stage.d.ts +2 -8
- package/types/assets/coral-reef.d.ts +2 -9
- package/types/assets/cyber.d.ts +2 -8
- package/types/assets/dragon-vermilion.d.ts +2 -8
- package/types/assets/film-grade.d.ts +2 -11
- package/types/assets/glass.d.ts +2 -8
- package/types/assets/graphite-mono.d.ts +2 -9
- package/types/assets/gugong.d.ts +2 -8
- package/types/assets/ink.d.ts +2 -8
- package/types/assets/kitchen-foundry.d.ts +2 -2
- package/types/assets/neon-set.d.ts +2 -11
- package/types/assets/nordic-fjord.d.ts +2 -8
- package/types/assets/perspective-deck.d.ts +2 -9
- package/types/assets/quantum-ai.d.ts +2 -8
- package/types/assets/sandstone-editorial.d.ts +2 -9
- package/types/assets/soft.d.ts +2 -8
- package/types/assets/starfield-cosmos.d.ts +2 -9
- package/types/assets/studio-ink.d.ts +2 -11
- package/types/assets/studio-stage.d.ts +2 -16
- package/types/assets/studio-triptych.d.ts +2 -8
- package/types/assets/sunset-amber.d.ts +2 -9
- package/types/assets/synapse-grid.d.ts +2 -8
- package/types/assets/terminal-phosphor.d.ts +2 -8
- package/types/assets/velvet-noir.d.ts +2 -9
- package/types/index.d.ts +1 -1
- package/types/plugin.d.ts +3 -21
- package/types/shells/decor/use-frame-geometry.d.ts +0 -13
- package/types/types.d.ts +10 -77
- package/es/chunks/CockpitFrameMatte-DGQRZk-I.mjs +0 -52
- package/lib/assets/applied-intelligence-frame.cjs +0 -1
- package/lib/assets/applied-intelligence-nebula.cjs +0 -1
- package/lib/assets/aurora-mesh.cjs +0 -1
- package/lib/assets/botanical-paper.cjs +0 -1
- package/lib/assets/brutal-concrete.cjs +0 -1
- package/lib/assets/cockpit-brutal-steel.cjs +0 -4
- package/lib/assets/cockpit-liquid-ink.cjs +0 -1
- package/lib/assets/cockpit-mono-paper.cjs +0 -1
- package/lib/assets/cockpit-neural-field.cjs +0 -1
- package/lib/assets/compact-rail.cjs +0 -1
- package/lib/assets/console-horizon.cjs +0 -1
- package/lib/assets/contrast.cjs +0 -1
- package/lib/assets/copilot-calm.cjs +0 -1
- package/lib/assets/copilot-stage.cjs +0 -1
- package/lib/assets/coral-reef.cjs +0 -1
- package/lib/assets/cyber.cjs +0 -1
- package/lib/assets/dragon-vermilion.cjs +0 -1
- package/lib/assets/film-grade.cjs +0 -1
- package/lib/assets/glass.cjs +0 -1
- package/lib/assets/graphite-mono.cjs +0 -1
- package/lib/assets/gugong.cjs +0 -1
- package/lib/assets/ink.cjs +0 -1
- package/lib/assets/kitchen-foundry.cjs +0 -7
- package/lib/assets/neon-set.cjs +0 -1
- package/lib/assets/nordic-fjord.cjs +0 -1
- package/lib/assets/perspective-deck.cjs +0 -1
- package/lib/assets/quantum-ai.cjs +0 -1
- package/lib/assets/sandstone-editorial.cjs +0 -1
- package/lib/assets/soft.cjs +0 -1
- package/lib/assets/starfield-cosmos.cjs +0 -1
- package/lib/assets/studio-ink.cjs +0 -1
- package/lib/assets/studio-stage.cjs +0 -1
- package/lib/assets/studio-triptych.cjs +0 -1
- package/lib/assets/sunset-amber.cjs +0 -1
- package/lib/assets/synapse-grid.cjs +0 -1
- package/lib/assets/terminal-phosphor.cjs +0 -1
- package/lib/assets/velvet-noir.cjs +0 -1
- package/lib/chunks/CockpitFrameMatte-pWBt5o2E.cjs +0 -1
- package/lib/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CgiZq-kW.cjs +0 -1
- package/lib/chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-C-mttf00.cjs +0 -1
- package/lib/chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-LJ3mDZkH.cjs +0 -1
- package/lib/chunks/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
- package/lib/chunks/use-frame-geometry-5WRLC-WU.cjs +0 -1
- package/lib/index.cjs +0 -1
- package/lib/style.css +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as E, computed as i, ref as B, watch as P, onBeforeUnmount as F, openBlock as c, createBlock as b, Teleport as v, unref as e, createElementBlock as I, normalizeStyle as p, createElementVNode as u, createCommentVNode as _, inject as $, Fragment as L, renderSlot as s, createVNode as n, withCtx as f, markRaw as O } from "vue";
|
|
2
2
|
import { ElIcon as R } from "element-plus";
|
|
3
3
|
import { ChatDotRound as D } from "@element-plus/icons-vue";
|
|
4
|
-
import {
|
|
4
|
+
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as h, APP_LAYOUT_BRIDGE_KEY as S, AppFooter as T, AppHeader as z, AppTheme as w } from "@done-coding/admin-core";
|
|
5
5
|
import { u as N } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
6
6
|
import { _ as V } from "../chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs";
|
|
7
|
-
const Y = /* @__PURE__ */
|
|
7
|
+
const Y = /* @__PURE__ */ E({
|
|
8
8
|
__name: "PerspectiveDeckDecor",
|
|
9
9
|
setup(r) {
|
|
10
10
|
const { vp: a, isDark: l, animated: m, hasFrame: t } = N(), o = i(() => a.value.paddingBottom), x = i(() => l.value ? "#34e1ff" : "#5b7cff"), M = i(
|
|
@@ -33,10 +33,10 @@ const Y = /* @__PURE__ */ I({
|
|
|
33
33
|
));
|
|
34
34
|
},
|
|
35
35
|
{ immediate: !0 }
|
|
36
|
-
),
|
|
37
|
-
e(t) ? (
|
|
36
|
+
), F(C), (g, k) => (c(), b(v, { to: "body" }, [
|
|
37
|
+
e(t) ? (c(), I("div", {
|
|
38
38
|
key: 0,
|
|
39
|
-
style:
|
|
39
|
+
style: p({
|
|
40
40
|
position: "fixed",
|
|
41
41
|
left: `${e(a).paddingLeft}px`,
|
|
42
42
|
right: `${e(a).paddingRight}px`,
|
|
@@ -50,7 +50,7 @@ const Y = /* @__PURE__ */ I({
|
|
|
50
50
|
"aria-hidden": "true"
|
|
51
51
|
}, [
|
|
52
52
|
u("div", {
|
|
53
|
-
style:
|
|
53
|
+
style: p({
|
|
54
54
|
position: "absolute",
|
|
55
55
|
left: "0",
|
|
56
56
|
right: "0",
|
|
@@ -63,12 +63,12 @@ const Y = /* @__PURE__ */ I({
|
|
|
63
63
|
u("div", {
|
|
64
64
|
ref_key: "gridEl",
|
|
65
65
|
ref: y,
|
|
66
|
-
style:
|
|
66
|
+
style: p(A.value)
|
|
67
67
|
}, null, 4)
|
|
68
|
-
], 4)) :
|
|
68
|
+
], 4)) : _("", !0)
|
|
69
69
|
]));
|
|
70
70
|
}
|
|
71
|
-
}), G = /* @__PURE__ */
|
|
71
|
+
}), G = /* @__PURE__ */ E({
|
|
72
72
|
__name: "PerspectiveDeckShell",
|
|
73
73
|
props: {
|
|
74
74
|
menus: {},
|
|
@@ -110,13 +110,13 @@ const Y = /* @__PURE__ */ I({
|
|
|
110
110
|
padding: "8px 18px",
|
|
111
111
|
borderRadius: "999px",
|
|
112
112
|
fontSize: "13px",
|
|
113
|
-
color: "var(--
|
|
114
|
-
background: "var(--
|
|
115
|
-
border: "1px dashed var(--
|
|
116
|
-
boxShadow: "var(--
|
|
113
|
+
color: "var(--dc-core-base-color, var(--el-text-color-primary))",
|
|
114
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
115
|
+
border: "1px dashed var(--dc-core-primary-color, var(--el-color-primary))",
|
|
116
|
+
boxShadow: "var(--dc-core-shadow, var(--el-box-shadow))"
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return (t, o) => (
|
|
119
|
+
return (t, o) => (c(), I(L, null, [
|
|
120
120
|
s(t.$slots, "default", { Footer: e(T) }),
|
|
121
121
|
n(e(z), {
|
|
122
122
|
show: r.showHeader,
|
|
@@ -141,19 +141,19 @@ const Y = /* @__PURE__ */ I({
|
|
|
141
141
|
]),
|
|
142
142
|
_: 3
|
|
143
143
|
}, 8, ["show", "menus", "activeMenu", "activeModuleMenu", "menuFlatList"]),
|
|
144
|
-
(
|
|
144
|
+
(c(), b(v, { to: "body" }, [
|
|
145
145
|
u("div", {
|
|
146
146
|
class: "deck-occluder",
|
|
147
|
-
style:
|
|
147
|
+
style: p(l.value)
|
|
148
148
|
}, null, 4)
|
|
149
149
|
])),
|
|
150
150
|
n(Y),
|
|
151
|
-
(
|
|
151
|
+
(c(), b(v, { to: "body" }, [
|
|
152
152
|
u("div", {
|
|
153
|
-
style:
|
|
153
|
+
style: p(m.value)
|
|
154
154
|
}, [
|
|
155
155
|
n(e(R), { style: {
|
|
156
|
-
color: "var(--
|
|
156
|
+
color: "var(--dc-core-primary-color, var(--el-color-primary))"
|
|
157
157
|
} }, {
|
|
158
158
|
default: f(() => [
|
|
159
159
|
n(e(D))
|
|
@@ -214,7 +214,7 @@ const Y = /* @__PURE__ */ I({
|
|
|
214
214
|
gap: { size: 8 },
|
|
215
215
|
header: {
|
|
216
216
|
height: 56,
|
|
217
|
-
background: "var(--
|
|
217
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
218
218
|
style: { borderRadius: "12px" }
|
|
219
219
|
},
|
|
220
220
|
// 无左栏(PerspectiveDeckShell 不渲染 AppSidebar,导航走 header 横排):
|
package/es/assets/quantum-ai.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as k, computed as p, openBlock as s, createBlock as $, Teleport as
|
|
1
|
+
import { defineComponent as k, computed as p, openBlock as s, createBlock as $, Teleport as P, unref as r, createElementBlock as d, normalizeStyle as A, createElementVNode as b, createCommentVNode as g, Fragment as I, renderList as N, normalizeProps as O, guardReactiveProps as q, createSlots as F, withCtx as h, createVNode as L, renderSlot as v, markRaw as T } from "vue";
|
|
2
2
|
import { _ as z } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as G } from "@done-coding/admin-core";
|
|
4
4
|
import { u as V } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
5
5
|
import { _ as W } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const H = ["width", "height", "viewBox"], Q = ["x", "y", "width", "height"], X = {
|
|
@@ -24,9 +24,9 @@ const H = ["width", "height", "viewBox"], Q = ["x", "y", "width", "height"], X =
|
|
|
24
24
|
return `M${i},${o} h${e} v${a} h${-e} Z`;
|
|
25
25
|
});
|
|
26
26
|
function R(i) {
|
|
27
|
-
const o = l.value, e = l.value, a = _.value,
|
|
27
|
+
const o = l.value, e = l.value, a = _.value, m = w.value, S = 2 * (a + m);
|
|
28
28
|
let n = i * S;
|
|
29
|
-
return n <= a ? { x: o + n, y: e } : (n -= a, n <=
|
|
29
|
+
return n <= a ? { x: o + n, y: e } : (n -= a, n <= m ? { x: o + a, y: e + n } : (n -= m, n <= a ? { x: o + a - n, y: e + m } : (n -= a, { x: o, y: e + m - n })));
|
|
30
30
|
}
|
|
31
31
|
const M = [
|
|
32
32
|
{ dur: 9, t0: 0 },
|
|
@@ -52,11 +52,11 @@ const H = ["width", "height", "viewBox"], Q = ["x", "y", "width", "height"], X =
|
|
|
52
52
|
), D = p(
|
|
53
53
|
() => t.value ? C.value : C.value.slice(0, 3)
|
|
54
54
|
);
|
|
55
|
-
return (i, o) => (s(), $(
|
|
55
|
+
return (i, o) => (s(), $(P, { to: "body" }, [
|
|
56
56
|
r(B) ? (s(), d("svg", {
|
|
57
57
|
key: 0,
|
|
58
58
|
class: "quantum-orbit-decor",
|
|
59
|
-
style:
|
|
59
|
+
style: A({
|
|
60
60
|
position: "fixed",
|
|
61
61
|
left: 0,
|
|
62
62
|
top: 0,
|
|
@@ -93,7 +93,7 @@ const H = ["width", "height", "viewBox"], Q = ["x", "y", "width", "height"], X =
|
|
|
93
93
|
}, [
|
|
94
94
|
r(f) ? (s(), d("animate", X)) : g("", !0)
|
|
95
95
|
], 8, Q),
|
|
96
|
-
(s(!0), d(
|
|
96
|
+
(s(!0), d(I, null, N(D.value, (e, a) => (s(), d("g", {
|
|
97
97
|
key: `q${a}`
|
|
98
98
|
}, [
|
|
99
99
|
b("circle", {
|
|
@@ -125,7 +125,7 @@ const H = ["width", "height", "viewBox"], Q = ["x", "y", "width", "height"], X =
|
|
|
125
125
|
], 12, H)) : g("", !0)
|
|
126
126
|
]));
|
|
127
127
|
}
|
|
128
|
-
}), U = /* @__PURE__ */ W(K, [["__scopeId", "data-v-
|
|
128
|
+
}), U = /* @__PURE__ */ W(K, [["__scopeId", "data-v-9b390c67"]]), ee = /* @__PURE__ */ k({
|
|
129
129
|
__name: "QuantumOrbitShell",
|
|
130
130
|
props: {
|
|
131
131
|
menus: {},
|
|
@@ -142,26 +142,26 @@ const H = ["width", "height", "viewBox"], Q = ["x", "y", "width", "height"], X =
|
|
|
142
142
|
setup(x) {
|
|
143
143
|
const c = x;
|
|
144
144
|
return (t, f) => (s(), $(z, O(q(c)), F({
|
|
145
|
-
default:
|
|
145
|
+
default: h((u) => [
|
|
146
146
|
v(t.$slots, "default", {
|
|
147
147
|
Footer: u.Footer
|
|
148
148
|
})
|
|
149
149
|
]),
|
|
150
|
-
decor:
|
|
150
|
+
decor: h(() => [
|
|
151
151
|
L(U)
|
|
152
152
|
]),
|
|
153
153
|
_: 2
|
|
154
154
|
}, [
|
|
155
155
|
t.$slots.brand ? {
|
|
156
156
|
name: "brand",
|
|
157
|
-
fn:
|
|
157
|
+
fn: h(() => [
|
|
158
158
|
v(t.$slots, "brand")
|
|
159
159
|
]),
|
|
160
160
|
key: "0"
|
|
161
161
|
} : void 0,
|
|
162
162
|
t.$slots.themeSwitcher ? {
|
|
163
163
|
name: "themeSwitcher",
|
|
164
|
-
fn:
|
|
164
|
+
fn: h((u) => [
|
|
165
165
|
v(t.$slots, "themeSwitcher", {
|
|
166
166
|
Default: u.Default
|
|
167
167
|
})
|
|
@@ -170,14 +170,14 @@ const H = ["width", "height", "viewBox"], Q = ["x", "y", "width", "height"], X =
|
|
|
170
170
|
} : void 0,
|
|
171
171
|
t.$slots.userEntry ? {
|
|
172
172
|
name: "userEntry",
|
|
173
|
-
fn:
|
|
173
|
+
fn: h(() => [
|
|
174
174
|
v(t.$slots, "userEntry")
|
|
175
175
|
]),
|
|
176
176
|
key: "2"
|
|
177
177
|
} : void 0,
|
|
178
178
|
t.$slots.settings ? {
|
|
179
179
|
name: "settings",
|
|
180
|
-
fn:
|
|
180
|
+
fn: h(() => [
|
|
181
181
|
v(t.$slots, "settings")
|
|
182
182
|
]),
|
|
183
183
|
key: "3"
|
|
@@ -237,13 +237,13 @@ const H = ["width", "height", "viewBox"], Q = ["x", "y", "width", "height"], X =
|
|
|
237
237
|
gap: { size: 8 },
|
|
238
238
|
header: {
|
|
239
239
|
height: 54,
|
|
240
|
-
background: "var(--
|
|
240
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
241
241
|
style: { borderRadius: "8px" }
|
|
242
242
|
},
|
|
243
243
|
sidebar: {
|
|
244
244
|
width: 244,
|
|
245
245
|
collapseWidth: 60,
|
|
246
|
-
background: "var(--
|
|
246
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
247
247
|
style: { borderRadius: "8px" }
|
|
248
248
|
},
|
|
249
249
|
body: { shimPadding: 18 },
|
|
@@ -43,13 +43,13 @@ const o = {
|
|
|
43
43
|
gap: { size: 10 },
|
|
44
44
|
header: {
|
|
45
45
|
height: 60,
|
|
46
|
-
background: "var(--
|
|
46
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
47
47
|
style: { borderRadius: "10px" }
|
|
48
48
|
},
|
|
49
49
|
sidebar: {
|
|
50
50
|
width: 256,
|
|
51
51
|
collapseWidth: 64,
|
|
52
|
-
background: "var(--
|
|
52
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
53
53
|
style: { borderRadius: "10px" }
|
|
54
54
|
},
|
|
55
55
|
body: { shimPadding: 32 }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as D, computed as h, openBlock as f, createBlock as R, Teleport as
|
|
1
|
+
import { defineComponent as D, computed as h, openBlock as f, createBlock as R, Teleport as L, unref as o, createElementBlock as p, normalizeStyle as O, createElementVNode as n, Fragment as C, renderList as k, createCommentVNode as g, normalizeProps as P, guardReactiveProps as V, createSlots as I, withCtx as m, createVNode as X, renderSlot as x, markRaw as Y } from "vue";
|
|
2
2
|
import { _ as Z } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as j } from "@done-coding/admin-core";
|
|
4
4
|
import { u as q } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
5
5
|
const J = ["width", "height", "viewBox"], K = {
|
|
6
6
|
id: "nebulaA",
|
|
@@ -26,17 +26,17 @@ const J = ["width", "height", "viewBox"], K = {
|
|
|
26
26
|
animated: a,
|
|
27
27
|
vw: t,
|
|
28
28
|
vh: r,
|
|
29
|
-
hasFrame:
|
|
29
|
+
hasFrame: G,
|
|
30
30
|
hollowX: B,
|
|
31
31
|
hollowY: _,
|
|
32
|
-
hollowW:
|
|
33
|
-
hollowH:
|
|
32
|
+
hollowW: H,
|
|
33
|
+
hollowH: T
|
|
34
34
|
} = q(), F = h(() => u.value ? "#cdd6ff" : "#6b7bb0"), M = h(() => u.value ? "#ffffff" : "#9fb0e6"), E = h(() => u.value ? "#5b6cff" : "#9aa6e8"), S = h(() => u.value ? "#22d3ee" : "#8fd6e6");
|
|
35
35
|
function s(i) {
|
|
36
36
|
const d = Math.sin(i) * 43758.5453;
|
|
37
37
|
return d - Math.floor(d);
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const A = h(() => {
|
|
40
40
|
const i = [];
|
|
41
41
|
if (t.value <= 0 || r.value <= 0) return i;
|
|
42
42
|
const d = 46, e = 30, c = t.value / d, v = r.value / e;
|
|
@@ -45,7 +45,7 @@ const J = ["width", "height", "viewBox"], K = {
|
|
|
45
45
|
for (let b = 0; b < d; b++) {
|
|
46
46
|
l++;
|
|
47
47
|
const w = b * c + s(l * 1.1) * c, $ = y * v + s(l * 2.3) * v;
|
|
48
|
-
w > B.value && w < B.value +
|
|
48
|
+
w > B.value && w < B.value + H.value && $ > _.value && $ < _.value + T.value || s(l * 3.7) > 0.65 || i.push({
|
|
49
49
|
x: Number(w.toFixed(1)),
|
|
50
50
|
y: Number($.toFixed(1)),
|
|
51
51
|
// 加大星点(0.7~2.6)。
|
|
@@ -90,11 +90,11 @@ const J = ["width", "height", "viewBox"], K = {
|
|
|
90
90
|
{ fx: 0.32, fy: 0.3, len: 20, span: 0.18, dur: 9.5, begin: 8 }
|
|
91
91
|
].map(d);
|
|
92
92
|
});
|
|
93
|
-
return (i, d) => (f(), R(
|
|
94
|
-
o(
|
|
93
|
+
return (i, d) => (f(), R(L, { to: "body" }, [
|
|
94
|
+
o(G) ? (f(), p("svg", {
|
|
95
95
|
key: 0,
|
|
96
96
|
class: "starfield-decor",
|
|
97
|
-
style:
|
|
97
|
+
style: O({
|
|
98
98
|
position: "fixed",
|
|
99
99
|
left: 0,
|
|
100
100
|
top: 0,
|
|
@@ -176,7 +176,7 @@ const J = ["width", "height", "viewBox"], K = {
|
|
|
176
176
|
repeatCount: "indefinite"
|
|
177
177
|
}, null, 8, ue)) : g("", !0)
|
|
178
178
|
], 8, ie))), 128)),
|
|
179
|
-
(f(!0), p(C, null, k(
|
|
179
|
+
(f(!0), p(C, null, k(A.value, (e, c) => (f(), p("circle", {
|
|
180
180
|
key: `s${c}`,
|
|
181
181
|
cx: e.x,
|
|
182
182
|
cy: e.y,
|
|
@@ -242,7 +242,7 @@ const J = ["width", "height", "viewBox"], K = {
|
|
|
242
242
|
},
|
|
243
243
|
setup(N) {
|
|
244
244
|
const u = N;
|
|
245
|
-
return (a, t) => (f(), R(Z,
|
|
245
|
+
return (a, t) => (f(), R(Z, P(V(u)), I({
|
|
246
246
|
default: m((r) => [
|
|
247
247
|
x(a.$slots, "default", {
|
|
248
248
|
Footer: r.Footer
|
|
@@ -334,13 +334,13 @@ const J = ["width", "height", "viewBox"], K = {
|
|
|
334
334
|
gap: { size: 8 },
|
|
335
335
|
header: {
|
|
336
336
|
height: 56,
|
|
337
|
-
background: "var(--
|
|
337
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
338
338
|
style: { borderRadius: "12px" }
|
|
339
339
|
},
|
|
340
340
|
sidebar: {
|
|
341
341
|
width: 240,
|
|
342
342
|
collapseWidth: 64,
|
|
343
|
-
background: "var(--
|
|
343
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
344
344
|
style: { borderRadius: "12px" }
|
|
345
345
|
},
|
|
346
346
|
body: { shimPadding: 18 },
|
package/es/assets/studio-ink.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as C, computed as m, openBlock as n, createBlock as $, Teleport as M, unref as e, createElementBlock as u, normalizeStyle as k, createElementVNode as o, Fragment as y, createCommentVNode as p, renderSlot as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as C, computed as m, openBlock as n, createBlock as $, Teleport as M, unref as e, createElementBlock as u, normalizeStyle as k, createElementVNode as o, Fragment as y, createCommentVNode as p, renderSlot as i, createVNode as d, withCtx as b, markRaw as F } from "vue";
|
|
2
|
+
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as N, AppFooter as A, AppSidebar as B, AppAside as R, AppHeader as S, AppTheme as x } from "@done-coding/admin-core";
|
|
3
3
|
import { u as E } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
4
4
|
import { _ as G } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
|
-
const L = ["width", "height", "viewBox"],
|
|
5
|
+
const L = ["width", "height", "viewBox"], T = {
|
|
6
6
|
id: "sgCool",
|
|
7
7
|
cx: "50%",
|
|
8
8
|
cy: "50%",
|
|
9
9
|
r: "50%"
|
|
10
|
-
},
|
|
10
|
+
}, H = ["stop-color", "stop-opacity"], I = ["stop-color", "stop-opacity"], D = ["stop-color"], O = {
|
|
11
11
|
id: "sgCool2",
|
|
12
12
|
cx: "50%",
|
|
13
13
|
cy: "50%",
|
|
@@ -20,9 +20,9 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
20
20
|
}, P = ["stop-color", "stop-opacity"], q = ["stop-color", "stop-opacity"], X = ["stop-color"], Z = ["cx", "cy", "rx", "ry"], j = ["values"], J = ["values"], K = ["values"], Q = ["cx", "cy", "rx", "ry"], U = ["values"], Y = ["cx", "cy", "rx", "ry"], ee = ["values"], oe = ["values"], te = ["width", "height", "opacity"], se = /* @__PURE__ */ C({
|
|
21
21
|
__name: "StudioGlowDecor",
|
|
22
22
|
setup(a) {
|
|
23
|
-
const { isDark: s, animated: c, vw: r, vh:
|
|
23
|
+
const { isDark: s, animated: c, vw: r, vh: l, hasFrame: w } = E(), f = m(() => s.value ? "#2dd4bf" : "#5ec7bb"), v = m(() => s.value ? "#5b7da8" : "#8fa6c4"), h = m(() => s.value ? "#f5a524" : "#f0b352");
|
|
24
24
|
function t(g) {
|
|
25
|
-
return Number((Math.min(r.value,
|
|
25
|
+
return Number((Math.min(r.value, l.value) * g).toFixed(1));
|
|
26
26
|
}
|
|
27
27
|
return (g, _) => (n(), $(M, { to: "body" }, [
|
|
28
28
|
e(w) ? (n(), u("svg", {
|
|
@@ -37,27 +37,27 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
37
37
|
opacity: e(s) ? 1 : 0.7
|
|
38
38
|
}),
|
|
39
39
|
width: e(r),
|
|
40
|
-
height: e(
|
|
41
|
-
viewBox: `0 0 ${e(r)} ${e(
|
|
40
|
+
height: e(l),
|
|
41
|
+
viewBox: `0 0 ${e(r)} ${e(l)}`,
|
|
42
42
|
"aria-hidden": "true"
|
|
43
43
|
}, [
|
|
44
44
|
o("defs", null, [
|
|
45
|
-
o("radialGradient",
|
|
45
|
+
o("radialGradient", T, [
|
|
46
46
|
o("stop", {
|
|
47
47
|
offset: "0%",
|
|
48
48
|
"stop-color": f.value,
|
|
49
49
|
"stop-opacity": e(s) ? 0.42 : 0.18
|
|
50
|
-
}, null, 8,
|
|
50
|
+
}, null, 8, H),
|
|
51
51
|
o("stop", {
|
|
52
52
|
offset: "60%",
|
|
53
53
|
"stop-color": f.value,
|
|
54
54
|
"stop-opacity": e(s) ? 0.12 : 0.05
|
|
55
|
-
}, null, 8,
|
|
55
|
+
}, null, 8, I),
|
|
56
56
|
o("stop", {
|
|
57
57
|
offset: "100%",
|
|
58
58
|
"stop-color": f.value,
|
|
59
59
|
"stop-opacity": "0"
|
|
60
|
-
}, null, 8,
|
|
60
|
+
}, null, 8, D)
|
|
61
61
|
]),
|
|
62
62
|
o("radialGradient", O, [
|
|
63
63
|
o("stop", {
|
|
@@ -103,7 +103,7 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
103
103
|
]),
|
|
104
104
|
o("ellipse", {
|
|
105
105
|
cx: e(r) * 0.18,
|
|
106
|
-
cy: e(
|
|
106
|
+
cy: e(l) * 0.22,
|
|
107
107
|
rx: t(0.4),
|
|
108
108
|
ry: t(0.32),
|
|
109
109
|
fill: "url(#sgCool)"
|
|
@@ -124,7 +124,7 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
124
124
|
o("animateTransform", {
|
|
125
125
|
attributeName: "transform",
|
|
126
126
|
type: "translate",
|
|
127
|
-
values: `0,0; ${e(r) * 0.025},${e(
|
|
127
|
+
values: `0,0; ${e(r) * 0.025},${e(l) * 0.03}; 0,0`,
|
|
128
128
|
dur: "28s",
|
|
129
129
|
repeatCount: "indefinite"
|
|
130
130
|
}, null, 8, K)
|
|
@@ -132,7 +132,7 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
132
132
|
], 8, Z),
|
|
133
133
|
o("ellipse", {
|
|
134
134
|
cx: e(r) * 0.8,
|
|
135
|
-
cy: e(
|
|
135
|
+
cy: e(l) * 0.8,
|
|
136
136
|
rx: t(0.34),
|
|
137
137
|
ry: t(0.28),
|
|
138
138
|
fill: "url(#sgCool2)"
|
|
@@ -148,7 +148,7 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
148
148
|
], 8, Q),
|
|
149
149
|
o("ellipse", {
|
|
150
150
|
cx: e(r) * 0.86,
|
|
151
|
-
cy: e(
|
|
151
|
+
cy: e(l) * 0.18,
|
|
152
152
|
rx: t(0.26),
|
|
153
153
|
ry: t(0.22),
|
|
154
154
|
fill: "url(#sgWarm)"
|
|
@@ -172,14 +172,14 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
172
172
|
], 8, Y),
|
|
173
173
|
o("rect", {
|
|
174
174
|
width: e(r),
|
|
175
|
-
height: e(
|
|
175
|
+
height: e(l),
|
|
176
176
|
filter: "url(#sgGrain)",
|
|
177
177
|
opacity: e(s) ? 0.05 : 0.025
|
|
178
178
|
}, null, 8, te)
|
|
179
179
|
], 12, L)) : p("", !0)
|
|
180
180
|
]));
|
|
181
181
|
}
|
|
182
|
-
}), ae = /* @__PURE__ */ G(se, [["__scopeId", "data-v-
|
|
182
|
+
}), ae = /* @__PURE__ */ G(se, [["__scopeId", "data-v-f95652f3"]]), re = /* @__PURE__ */ C({
|
|
183
183
|
__name: "StudioInkShell",
|
|
184
184
|
props: {
|
|
185
185
|
menus: {},
|
|
@@ -195,7 +195,7 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
195
195
|
},
|
|
196
196
|
setup(a) {
|
|
197
197
|
return (s, c) => (n(), u(y, null, [
|
|
198
|
-
|
|
198
|
+
i(s.$slots, "default", { Footer: e(A) }),
|
|
199
199
|
d(e(B), {
|
|
200
200
|
show: a.showSidebar,
|
|
201
201
|
aboveHeader: a.sidebarAboveHeader,
|
|
@@ -204,7 +204,7 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
204
204
|
}, null, 8, ["show", "aboveHeader", "menus", "menuFlatList"]),
|
|
205
205
|
d(e(R), { show: a.showAside }, {
|
|
206
206
|
default: b(() => [
|
|
207
|
-
|
|
207
|
+
i(s.$slots, "aside")
|
|
208
208
|
]),
|
|
209
209
|
_: 3
|
|
210
210
|
}, 8, ["show"]),
|
|
@@ -216,14 +216,14 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
216
216
|
menuFlatList: a.menuFlatList
|
|
217
217
|
}, {
|
|
218
218
|
left: b(() => [
|
|
219
|
-
|
|
219
|
+
i(s.$slots, "brand")
|
|
220
220
|
]),
|
|
221
221
|
right: b(() => [
|
|
222
|
-
|
|
222
|
+
i(s.$slots, "themeSwitcher", { Default: e(x) }, () => [
|
|
223
223
|
d(e(x))
|
|
224
224
|
]),
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
i(s.$slots, "userEntry"),
|
|
226
|
+
i(s.$slots, "settings")
|
|
227
227
|
]),
|
|
228
228
|
_: 3
|
|
229
229
|
}, 8, ["show", "menus", "activeMenu", "activeModuleMenu", "menuFlatList"]),
|
|
@@ -284,19 +284,19 @@ const L = ["width", "height", "viewBox"], I = {
|
|
|
284
284
|
gap: { size: 10 },
|
|
285
285
|
header: {
|
|
286
286
|
height: 56,
|
|
287
|
-
background: "var(--
|
|
287
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
288
288
|
style: { borderRadius: "10px" }
|
|
289
289
|
},
|
|
290
290
|
sidebar: {
|
|
291
291
|
width: 240,
|
|
292
292
|
collapseWidth: 64,
|
|
293
|
-
background: "var(--
|
|
293
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
294
294
|
style: { borderRadius: "10px" }
|
|
295
295
|
},
|
|
296
296
|
// 右 inspector aside:宽 300;route meta.layout.aside=true 时显(StudioInkShell 转 #aside)。
|
|
297
297
|
aside: {
|
|
298
298
|
width: 300,
|
|
299
|
-
background: "var(--
|
|
299
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
300
300
|
style: { borderRadius: "10px" }
|
|
301
301
|
},
|
|
302
302
|
body: { shimPadding: 16 },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as A, computed as s, openBlock as i, createBlock as I, Teleport as T, unref as o, createElementBlock as u, normalizeStyle as N, createElementVNode as a, Fragment as f, renderList as _, createCommentVNode as O, renderSlot as y, createVNode as v, withCtx as k, markRaw as V } from "vue";
|
|
2
|
+
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as z, AppFooter as P, AppSidebar as X, AppAside as Y, AppHeader as G, AppTheme as S } from "@done-coding/admin-core";
|
|
3
3
|
import { u as Z } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
4
4
|
import { _ as j } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
|
-
const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width", "height"], Q = ["x", "y", "width", "height"], U = { mask: "url(#ssRingMask)" }, ee = ["x", "y", "width", "fill", "opacity"], oe = ["stroke", "opacity"], te = ["x1", "y1", "x2", "y2"], ae = ["x1", "y1", "x2", "y2"], le = ["x1", "y1", "x2", "y2"], re = ["x1", "y1", "x2", "y2"], se = ["x", "y", "fill", "opacity"], ie = ["x", "y", "width", "fill", "opacity"], ne = ["stroke", "opacity"], de = ["x1", "y1", "x2", "y2"], ue = /* @__PURE__ */
|
|
5
|
+
const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width", "height"], Q = ["x", "y", "width", "height"], U = { mask: "url(#ssRingMask)" }, ee = ["x", "y", "width", "fill", "opacity"], oe = ["stroke", "opacity"], te = ["x1", "y1", "x2", "y2"], ae = ["x1", "y1", "x2", "y2"], le = ["x1", "y1", "x2", "y2"], re = ["x1", "y1", "x2", "y2"], se = ["x", "y", "fill", "opacity"], ie = ["x", "y", "width", "fill", "opacity"], ne = ["stroke", "opacity"], de = ["x1", "y1", "x2", "y2"], ue = /* @__PURE__ */ A({
|
|
6
6
|
__name: "StudioStageDecor",
|
|
7
7
|
setup(l) {
|
|
8
8
|
const { isDark: t, vw: g, vh: p, hasFrame: F, hollowX: c, hollowY: x, hollowW: h, hollowH: b } = Z(), C = s(() => t.value ? "#e86a2a" : "#c94f1a"), m = s(() => t.value ? "#69a99a" : "#286f63"), M = s(() => t.value ? "#cbb89c" : "#6b5d4d"), R = s(() => Math.max(0, x.value - 9)), w = s(() => x.value + b.value + 9), $ = s(() => {
|
|
@@ -20,18 +20,18 @@ const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width"
|
|
|
20
20
|
M.value,
|
|
21
21
|
t.value ? "#4a3f33" : "#e7ddcf"
|
|
22
22
|
], d = 30, e = 7, r = n.length * d + (n.length - 1) * e, H = p.value / 2 - r / 2;
|
|
23
|
-
return n.map((D,
|
|
23
|
+
return n.map((D, W) => ({ color: D, y: H + W * (d + e) }));
|
|
24
24
|
}), E = s(
|
|
25
25
|
() => Array.from(
|
|
26
26
|
{ length: Math.floor(h.value / 32) },
|
|
27
27
|
(n, d) => c.value + d * 32
|
|
28
28
|
)
|
|
29
29
|
);
|
|
30
|
-
return (n, d) => (i(),
|
|
30
|
+
return (n, d) => (i(), I(T, { to: "body" }, [
|
|
31
31
|
o(F) ? (i(), u("svg", {
|
|
32
32
|
key: 0,
|
|
33
33
|
class: "studio-stage-decor",
|
|
34
|
-
style:
|
|
34
|
+
style: N({
|
|
35
35
|
position: "fixed",
|
|
36
36
|
left: 0,
|
|
37
37
|
top: 0,
|
|
@@ -142,7 +142,7 @@ const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width"
|
|
|
142
142
|
], 12, q)) : O("", !0)
|
|
143
143
|
]));
|
|
144
144
|
}
|
|
145
|
-
}), ce = /* @__PURE__ */ j(ue, [["__scopeId", "data-v-
|
|
145
|
+
}), ce = /* @__PURE__ */ j(ue, [["__scopeId", "data-v-62460651"]]), he = /* @__PURE__ */ A({
|
|
146
146
|
__name: "StudioStageShell",
|
|
147
147
|
props: {
|
|
148
148
|
menus: {},
|
|
@@ -182,8 +182,8 @@ const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width"
|
|
|
182
182
|
y(t.$slots, "brand")
|
|
183
183
|
]),
|
|
184
184
|
right: k(() => [
|
|
185
|
-
y(t.$slots, "themeSwitcher", { Default: o(
|
|
186
|
-
v(o(
|
|
185
|
+
y(t.$slots, "themeSwitcher", { Default: o(S) }, () => [
|
|
186
|
+
v(o(S))
|
|
187
187
|
]),
|
|
188
188
|
y(t.$slots, "userEntry"),
|
|
189
189
|
y(t.$slots, "settings")
|
|
@@ -250,19 +250,19 @@ const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width"
|
|
|
250
250
|
// radius 8(克制不软塌)、sidebar 收窄、body shim 加大突出"画布"。
|
|
251
251
|
header: {
|
|
252
252
|
height: 64,
|
|
253
|
-
background: "var(--
|
|
253
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
254
254
|
style: { borderRadius: "8px" }
|
|
255
255
|
},
|
|
256
256
|
sidebar: {
|
|
257
257
|
width: 176,
|
|
258
258
|
collapseWidth: 64,
|
|
259
|
-
background: "var(--
|
|
259
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
260
260
|
style: { borderRadius: "8px" }
|
|
261
261
|
},
|
|
262
262
|
aside: {
|
|
263
263
|
// 340:aside 大概率承载 AI 对话面板(ChatAsidePanel),留持久会话舒适宽度。
|
|
264
264
|
width: 340,
|
|
265
|
-
background: "var(--
|
|
265
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
266
266
|
style: { borderRadius: "8px" }
|
|
267
267
|
},
|
|
268
268
|
body: { shimPadding: 28 },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t, openBlock as i, createElementBlock as n, Fragment as u, renderSlot as
|
|
1
|
+
import { defineComponent as t, openBlock as i, createElementBlock as n, Fragment as u, renderSlot as r, unref as a, createVNode as s, withCtx as l, markRaw as c } from "vue";
|
|
2
2
|
import { AppFooter as b, AppSidebar as f, AppAside as h, AppHeader as m, AppTheme as d } from "@done-coding/admin-core";
|
|
3
3
|
const p = /* @__PURE__ */ t({
|
|
4
4
|
__name: "TriColumnShell",
|
|
@@ -16,20 +16,20 @@ const p = /* @__PURE__ */ t({
|
|
|
16
16
|
},
|
|
17
17
|
setup(e) {
|
|
18
18
|
return (o, g) => (i(), n(u, null, [
|
|
19
|
-
|
|
20
|
-
s(
|
|
19
|
+
r(o.$slots, "default", { Footer: a(b) }),
|
|
20
|
+
s(a(f), {
|
|
21
21
|
show: e.showSidebar,
|
|
22
22
|
aboveHeader: e.sidebarAboveHeader,
|
|
23
23
|
menus: e.sidebarMenus,
|
|
24
24
|
menuFlatList: e.menuFlatList
|
|
25
25
|
}, null, 8, ["show", "aboveHeader", "menus", "menuFlatList"]),
|
|
26
|
-
s(
|
|
26
|
+
s(a(h), { show: e.showAside }, {
|
|
27
27
|
default: l(() => [
|
|
28
|
-
|
|
28
|
+
r(o.$slots, "aside")
|
|
29
29
|
]),
|
|
30
30
|
_: 3
|
|
31
31
|
}, 8, ["show"]),
|
|
32
|
-
s(
|
|
32
|
+
s(a(m), {
|
|
33
33
|
show: e.showHeader,
|
|
34
34
|
menus: e.headerMenus,
|
|
35
35
|
activeMenu: e.activeMenu,
|
|
@@ -37,14 +37,14 @@ const p = /* @__PURE__ */ t({
|
|
|
37
37
|
menuFlatList: e.menuFlatList
|
|
38
38
|
}, {
|
|
39
39
|
left: l(() => [
|
|
40
|
-
|
|
40
|
+
r(o.$slots, "brand")
|
|
41
41
|
]),
|
|
42
42
|
right: l(() => [
|
|
43
|
-
|
|
44
|
-
s(
|
|
43
|
+
r(o.$slots, "themeSwitcher", { Default: a(d) }, () => [
|
|
44
|
+
s(a(d))
|
|
45
45
|
]),
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
r(o.$slots, "userEntry"),
|
|
47
|
+
r(o.$slots, "settings")
|
|
48
48
|
]),
|
|
49
49
|
_: 3
|
|
50
50
|
}, 8, ["show", "menus", "activeMenu", "activeModuleMenu", "menuFlatList"])
|
|
@@ -91,19 +91,19 @@ const p = /* @__PURE__ */ t({
|
|
|
91
91
|
gap: { size: 8 },
|
|
92
92
|
header: {
|
|
93
93
|
height: 56,
|
|
94
|
-
background: "var(--
|
|
94
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
95
95
|
style: { borderRadius: "10px" }
|
|
96
96
|
},
|
|
97
97
|
sidebar: {
|
|
98
98
|
width: 240,
|
|
99
99
|
collapseWidth: 64,
|
|
100
|
-
background: "var(--
|
|
100
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
101
101
|
style: { borderRadius: "10px" }
|
|
102
102
|
},
|
|
103
103
|
// 右侧上下文 aside:宽 300;demo 路由开 aside 时显(TriColumnShell 塞 ContextAsidePanel)。
|
|
104
104
|
aside: {
|
|
105
105
|
width: 300,
|
|
106
|
-
background: "var(--
|
|
106
|
+
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
107
107
|
style: { borderRadius: "10px" }
|
|
108
108
|
},
|
|
109
109
|
body: { shimPadding: 16 },
|