@done-coding/admin-plugin-theme 0.1.1-alpha.0 → 0.2.1-alpha.0
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/es/assets/applied-intelligence-frame.mjs +315 -0
- package/es/assets/applied-intelligence-nebula.mjs +400 -0
- package/es/assets/aurora-mesh.mjs +350 -0
- package/es/assets/botanical-paper.mjs +60 -0
- package/es/assets/brutal-concrete.mjs +51 -0
- package/es/assets/cockpit-brutal-steel.mjs +300 -0
- package/es/assets/cockpit-liquid-ink.mjs +329 -0
- package/es/assets/cockpit-mono-paper.mjs +238 -0
- package/es/assets/cockpit-neural-field.mjs +339 -0
- package/es/assets/compact-rail.mjs +105 -0
- package/es/assets/console-horizon.mjs +98 -0
- package/es/assets/contrast.mjs +3 -1
- package/es/assets/copilot-calm.mjs +59 -0
- package/es/assets/copilot-stage.mjs +110 -0
- package/es/assets/coral-reef.mjs +60 -0
- package/es/assets/cyber.mjs +3 -1
- package/es/assets/dragon-vermilion.mjs +450 -0
- package/es/assets/film-grade.mjs +252 -0
- package/es/assets/glass.mjs +3 -1
- package/es/assets/graphite-mono.mjs +51 -0
- package/es/assets/gugong.mjs +3 -1
- package/es/assets/ink.mjs +3 -1
- package/es/assets/neon-set.mjs +316 -0
- package/es/assets/nordic-fjord.mjs +58 -0
- package/es/assets/perspective-deck.mjs +229 -0
- package/es/assets/quantum-ai.mjs +255 -0
- package/es/assets/sandstone-editorial.mjs +60 -0
- package/es/assets/starfield-cosmos.mjs +352 -0
- package/es/assets/studio-ink.mjs +308 -0
- package/es/assets/studio-triptych.mjs +115 -0
- package/es/assets/sunset-amber.mjs +61 -0
- package/es/assets/synapse-grid.mjs +275 -0
- package/es/assets/terminal-phosphor.mjs +240 -0
- package/es/assets/velvet-noir.mjs +60 -0
- package/es/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-B6k0Utzz.mjs +238 -0
- package/es/chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs +57 -0
- package/es/chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs +31 -0
- package/es/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/es/chunks/use-frame-geometry-DPWBVziK.mjs +45 -0
- package/es/style.css +1 -0
- package/lib/assets/applied-intelligence-frame.cjs +1 -0
- package/lib/assets/applied-intelligence-nebula.cjs +1 -0
- package/lib/assets/aurora-mesh.cjs +1 -0
- package/lib/assets/botanical-paper.cjs +1 -0
- package/lib/assets/brutal-concrete.cjs +1 -0
- package/lib/assets/cockpit-brutal-steel.cjs +4 -0
- package/lib/assets/cockpit-liquid-ink.cjs +1 -0
- package/lib/assets/cockpit-mono-paper.cjs +1 -0
- package/lib/assets/cockpit-neural-field.cjs +1 -0
- package/lib/assets/compact-rail.cjs +1 -0
- package/lib/assets/console-horizon.cjs +1 -0
- package/lib/assets/contrast.cjs +1 -1
- package/lib/assets/copilot-calm.cjs +1 -0
- package/lib/assets/copilot-stage.cjs +1 -0
- package/lib/assets/coral-reef.cjs +1 -0
- package/lib/assets/cyber.cjs +1 -1
- package/lib/assets/dragon-vermilion.cjs +1 -0
- package/lib/assets/film-grade.cjs +1 -0
- package/lib/assets/glass.cjs +1 -1
- package/lib/assets/graphite-mono.cjs +1 -0
- package/lib/assets/gugong.cjs +1 -1
- package/lib/assets/ink.cjs +1 -1
- package/lib/assets/neon-set.cjs +1 -0
- package/lib/assets/nordic-fjord.cjs +1 -0
- package/lib/assets/perspective-deck.cjs +1 -0
- package/lib/assets/quantum-ai.cjs +1 -0
- package/lib/assets/sandstone-editorial.cjs +1 -0
- package/lib/assets/starfield-cosmos.cjs +1 -0
- package/lib/assets/studio-ink.cjs +1 -0
- package/lib/assets/studio-triptych.cjs +1 -0
- package/lib/assets/sunset-amber.cjs +1 -0
- package/lib/assets/synapse-grid.cjs +1 -0
- package/lib/assets/terminal-phosphor.cjs +1 -0
- package/lib/assets/velvet-noir.cjs +1 -0
- package/lib/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-D2LEvqm8.cjs +1 -0
- package/lib/chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-C-mttf00.cjs +1 -0
- package/lib/chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-LJ3mDZkH.cjs +1 -0
- package/lib/chunks/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/lib/chunks/use-frame-geometry-5WRLC-WU.cjs +1 -0
- package/lib/style.css +1 -0
- package/package.json +3 -3
- package/types/assets/applied-intelligence-frame.d.ts +15 -0
- package/types/assets/applied-intelligence-nebula.d.ts +14 -0
- package/types/assets/aurora-mesh.d.ts +9 -0
- package/types/assets/botanical-paper.d.ts +10 -0
- package/types/assets/brutal-concrete.d.ts +10 -0
- package/types/assets/cockpit-brutal-steel.d.ts +3 -0
- package/types/assets/cockpit-liquid-ink.d.ts +14 -0
- package/types/assets/cockpit-mono-paper.d.ts +12 -0
- package/types/assets/cockpit-neural-field.d.ts +11 -0
- package/types/assets/compact-rail.d.ts +9 -0
- package/types/assets/console-horizon.d.ts +9 -0
- package/types/assets/copilot-calm.d.ts +10 -0
- package/types/assets/copilot-stage.d.ts +9 -0
- package/types/assets/coral-reef.d.ts +10 -0
- package/types/assets/dragon-vermilion.d.ts +9 -0
- package/types/assets/film-grade.d.ts +12 -0
- package/types/assets/graphite-mono.d.ts +10 -0
- package/types/assets/neon-set.d.ts +12 -0
- package/types/assets/nordic-fjord.d.ts +9 -0
- package/types/assets/perspective-deck.d.ts +10 -0
- package/types/assets/quantum-ai.d.ts +9 -0
- package/types/assets/sandstone-editorial.d.ts +10 -0
- package/types/assets/starfield-cosmos.d.ts +10 -0
- package/types/assets/studio-ink.d.ts +12 -0
- package/types/assets/studio-triptych.d.ts +9 -0
- package/types/assets/sunset-amber.d.ts +10 -0
- package/types/assets/synapse-grid.d.ts +9 -0
- package/types/assets/terminal-phosphor.d.ts +9 -0
- package/types/assets/velvet-noir.d.ts +10 -0
- package/types/shells/AppliedIntelligenceFrameShell.vue.d.ts +27 -0
- package/types/shells/AppliedIntelligenceNebulaShell.vue.d.ts +27 -0
- package/types/shells/AuroraMeshShell.vue.d.ts +26 -0
- package/types/shells/BrutalSteelCockpitShell.vue.d.ts +27 -0
- package/types/shells/CockpitShellBase.vue.d.ts +28 -0
- package/types/shells/CockpitStatusBar.vue.d.ts +2 -0
- package/types/shells/CoilingDragonShell.vue.d.ts +26 -0
- package/types/shells/CosmosShell.vue.d.ts +26 -0
- package/types/shells/FilmGradeShell.vue.d.ts +26 -0
- package/types/shells/FrameShellBase.vue.d.ts +28 -0
- package/types/shells/HeaderNavMenu.vue.d.ts +4 -0
- package/types/shells/IconRailShell.vue.d.ts +26 -0
- package/types/shells/LiquidInkCockpitShell.vue.d.ts +27 -0
- package/types/shells/MonoPaperCockpitShell.vue.d.ts +27 -0
- package/types/shells/NeonSetShell.vue.d.ts +27 -0
- package/types/shells/NeuralFieldCockpitShell.vue.d.ts +27 -0
- package/types/shells/PerspectiveDeckShell.vue.d.ts +26 -0
- package/types/shells/QuantumOrbitShell.vue.d.ts +26 -0
- package/types/shells/ScanlineShell.vue.d.ts +26 -0
- package/types/shells/StageChatShell.vue.d.ts +27 -0
- package/types/shells/StudioInkShell.vue.d.ts +27 -0
- package/types/shells/SynapseGridShell.vue.d.ts +26 -0
- package/types/shells/TopNavShell.vue.d.ts +26 -0
- package/types/shells/TriColumnShell.vue.d.ts +27 -0
- package/types/shells/decor/AuroraFrameDecor.vue.d.ts +2 -0
- package/types/shells/decor/AuroraMeshDecor.vue.d.ts +2 -0
- package/types/shells/decor/AuroraNebulaDecor.vue.d.ts +2 -0
- package/types/shells/decor/BrutalSteelCockpitDecor.vue.d.ts +2 -0
- package/types/shells/decor/CockpitFrameMatte.vue.d.ts +2 -0
- package/types/shells/decor/CoilingDragonDecor.vue.d.ts +2 -0
- package/types/shells/decor/FilmGradeDecor.vue.d.ts +2 -0
- package/types/shells/decor/LiquidInkCockpitDecor.vue.d.ts +2 -0
- package/types/shells/decor/MonoPaperCockpitDecor.vue.d.ts +2 -0
- package/types/shells/decor/NeonStageDecor.vue.d.ts +2 -0
- package/types/shells/decor/NeuralFieldCockpitDecor.vue.d.ts +2 -0
- package/types/shells/decor/PerspectiveDeckDecor.vue.d.ts +4 -0
- package/types/shells/decor/QuantumOrbitDecor.vue.d.ts +2 -0
- package/types/shells/decor/ScanlineDecor.vue.d.ts +2 -0
- package/types/shells/decor/StarfieldDecor.vue.d.ts +2 -0
- package/types/shells/decor/StudioGlowDecor.vue.d.ts +2 -0
- package/types/shells/decor/SynapseGridDecor.vue.d.ts +2 -0
- package/types/shells/decor/use-frame-geometry.d.ts +31 -0
- package/types/types.d.ts +33 -11
|
@@ -0,0 +1,308 @@
|
|
|
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 l, createVNode as d, withCtx as b, markRaw as F } from "vue";
|
|
2
|
+
import { ADMIN_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
|
+
import { u as E } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
4
|
+
import { _ as G } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
|
+
const L = ["width", "height", "viewBox"], I = {
|
|
6
|
+
id: "sgCool",
|
|
7
|
+
cx: "50%",
|
|
8
|
+
cy: "50%",
|
|
9
|
+
r: "50%"
|
|
10
|
+
}, T = ["stop-color", "stop-opacity"], D = ["stop-color", "stop-opacity"], H = ["stop-color"], O = {
|
|
11
|
+
id: "sgCool2",
|
|
12
|
+
cx: "50%",
|
|
13
|
+
cy: "50%",
|
|
14
|
+
r: "50%"
|
|
15
|
+
}, W = ["stop-color", "stop-opacity"], V = ["stop-color"], z = {
|
|
16
|
+
id: "sgWarm",
|
|
17
|
+
cx: "50%",
|
|
18
|
+
cy: "50%",
|
|
19
|
+
r: "50%"
|
|
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
|
+
__name: "StudioGlowDecor",
|
|
22
|
+
setup(a) {
|
|
23
|
+
const { isDark: s, animated: c, vw: r, vh: i, hasFrame: w } = E(), f = m(() => s.value ? "#2dd4bf" : "#5ec7bb"), v = m(() => s.value ? "#5b7da8" : "#8fa6c4"), h = m(() => s.value ? "#f5a524" : "#f0b352");
|
|
24
|
+
function t(g) {
|
|
25
|
+
return Number((Math.min(r.value, i.value) * g).toFixed(1));
|
|
26
|
+
}
|
|
27
|
+
return (g, _) => (n(), $(M, { to: "body" }, [
|
|
28
|
+
e(w) ? (n(), u("svg", {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "studio-glow-decor",
|
|
31
|
+
style: k({
|
|
32
|
+
position: "fixed",
|
|
33
|
+
left: 0,
|
|
34
|
+
top: 0,
|
|
35
|
+
pointerEvents: "none",
|
|
36
|
+
zIndex: e(N),
|
|
37
|
+
opacity: e(s) ? 1 : 0.7
|
|
38
|
+
}),
|
|
39
|
+
width: e(r),
|
|
40
|
+
height: e(i),
|
|
41
|
+
viewBox: `0 0 ${e(r)} ${e(i)}`,
|
|
42
|
+
"aria-hidden": "true"
|
|
43
|
+
}, [
|
|
44
|
+
o("defs", null, [
|
|
45
|
+
o("radialGradient", I, [
|
|
46
|
+
o("stop", {
|
|
47
|
+
offset: "0%",
|
|
48
|
+
"stop-color": f.value,
|
|
49
|
+
"stop-opacity": e(s) ? 0.42 : 0.18
|
|
50
|
+
}, null, 8, T),
|
|
51
|
+
o("stop", {
|
|
52
|
+
offset: "60%",
|
|
53
|
+
"stop-color": f.value,
|
|
54
|
+
"stop-opacity": e(s) ? 0.12 : 0.05
|
|
55
|
+
}, null, 8, D),
|
|
56
|
+
o("stop", {
|
|
57
|
+
offset: "100%",
|
|
58
|
+
"stop-color": f.value,
|
|
59
|
+
"stop-opacity": "0"
|
|
60
|
+
}, null, 8, H)
|
|
61
|
+
]),
|
|
62
|
+
o("radialGradient", O, [
|
|
63
|
+
o("stop", {
|
|
64
|
+
offset: "0%",
|
|
65
|
+
"stop-color": v.value,
|
|
66
|
+
"stop-opacity": e(s) ? 0.3 : 0.12
|
|
67
|
+
}, null, 8, W),
|
|
68
|
+
o("stop", {
|
|
69
|
+
offset: "100%",
|
|
70
|
+
"stop-color": v.value,
|
|
71
|
+
"stop-opacity": "0"
|
|
72
|
+
}, null, 8, V)
|
|
73
|
+
]),
|
|
74
|
+
o("radialGradient", z, [
|
|
75
|
+
o("stop", {
|
|
76
|
+
offset: "0%",
|
|
77
|
+
"stop-color": h.value,
|
|
78
|
+
"stop-opacity": e(s) ? 0.38 : 0.16
|
|
79
|
+
}, null, 8, P),
|
|
80
|
+
o("stop", {
|
|
81
|
+
offset: "55%",
|
|
82
|
+
"stop-color": h.value,
|
|
83
|
+
"stop-opacity": e(s) ? 0.1 : 0.04
|
|
84
|
+
}, null, 8, q),
|
|
85
|
+
o("stop", {
|
|
86
|
+
offset: "100%",
|
|
87
|
+
"stop-color": h.value,
|
|
88
|
+
"stop-opacity": "0"
|
|
89
|
+
}, null, 8, X)
|
|
90
|
+
]),
|
|
91
|
+
_[0] || (_[0] = o("filter", { id: "sgGrain" }, [
|
|
92
|
+
o("feTurbulence", {
|
|
93
|
+
type: "fractalNoise",
|
|
94
|
+
baseFrequency: "0.85",
|
|
95
|
+
numOctaves: "2",
|
|
96
|
+
stitchTiles: "stitch"
|
|
97
|
+
}),
|
|
98
|
+
o("feColorMatrix", {
|
|
99
|
+
type: "saturate",
|
|
100
|
+
values: "0"
|
|
101
|
+
})
|
|
102
|
+
], -1))
|
|
103
|
+
]),
|
|
104
|
+
o("ellipse", {
|
|
105
|
+
cx: e(r) * 0.18,
|
|
106
|
+
cy: e(i) * 0.22,
|
|
107
|
+
rx: t(0.4),
|
|
108
|
+
ry: t(0.32),
|
|
109
|
+
fill: "url(#sgCool)"
|
|
110
|
+
}, [
|
|
111
|
+
e(c) ? (n(), u(y, { key: 0 }, [
|
|
112
|
+
o("animate", {
|
|
113
|
+
attributeName: "rx",
|
|
114
|
+
values: `${t(0.4)};${t(0.48)};${t(0.4)}`,
|
|
115
|
+
dur: "16s",
|
|
116
|
+
repeatCount: "indefinite"
|
|
117
|
+
}, null, 8, j),
|
|
118
|
+
o("animate", {
|
|
119
|
+
attributeName: "ry",
|
|
120
|
+
values: `${t(0.32)};${t(0.38)};${t(0.32)}`,
|
|
121
|
+
dur: "16s",
|
|
122
|
+
repeatCount: "indefinite"
|
|
123
|
+
}, null, 8, J),
|
|
124
|
+
o("animateTransform", {
|
|
125
|
+
attributeName: "transform",
|
|
126
|
+
type: "translate",
|
|
127
|
+
values: `0,0; ${e(r) * 0.025},${e(i) * 0.03}; 0,0`,
|
|
128
|
+
dur: "28s",
|
|
129
|
+
repeatCount: "indefinite"
|
|
130
|
+
}, null, 8, K)
|
|
131
|
+
], 64)) : p("", !0)
|
|
132
|
+
], 8, Z),
|
|
133
|
+
o("ellipse", {
|
|
134
|
+
cx: e(r) * 0.8,
|
|
135
|
+
cy: e(i) * 0.8,
|
|
136
|
+
rx: t(0.34),
|
|
137
|
+
ry: t(0.28),
|
|
138
|
+
fill: "url(#sgCool2)"
|
|
139
|
+
}, [
|
|
140
|
+
e(c) ? (n(), u("animate", {
|
|
141
|
+
key: 0,
|
|
142
|
+
attributeName: "rx",
|
|
143
|
+
values: `${t(0.34)};${t(0.42)};${t(0.34)}`,
|
|
144
|
+
dur: "19s",
|
|
145
|
+
begin: "4s",
|
|
146
|
+
repeatCount: "indefinite"
|
|
147
|
+
}, null, 8, U)) : p("", !0)
|
|
148
|
+
], 8, Q),
|
|
149
|
+
o("ellipse", {
|
|
150
|
+
cx: e(r) * 0.86,
|
|
151
|
+
cy: e(i) * 0.18,
|
|
152
|
+
rx: t(0.26),
|
|
153
|
+
ry: t(0.22),
|
|
154
|
+
fill: "url(#sgWarm)"
|
|
155
|
+
}, [
|
|
156
|
+
e(c) ? (n(), u(y, { key: 0 }, [
|
|
157
|
+
o("animate", {
|
|
158
|
+
attributeName: "rx",
|
|
159
|
+
values: `${t(0.26)};${t(0.32)};${t(0.26)}`,
|
|
160
|
+
dur: "13s",
|
|
161
|
+
begin: "2s",
|
|
162
|
+
repeatCount: "indefinite"
|
|
163
|
+
}, null, 8, ee),
|
|
164
|
+
o("animate", {
|
|
165
|
+
attributeName: "ry",
|
|
166
|
+
values: `${t(0.22)};${t(0.27)};${t(0.22)}`,
|
|
167
|
+
dur: "13s",
|
|
168
|
+
begin: "2s",
|
|
169
|
+
repeatCount: "indefinite"
|
|
170
|
+
}, null, 8, oe)
|
|
171
|
+
], 64)) : p("", !0)
|
|
172
|
+
], 8, Y),
|
|
173
|
+
o("rect", {
|
|
174
|
+
width: e(r),
|
|
175
|
+
height: e(i),
|
|
176
|
+
filter: "url(#sgGrain)",
|
|
177
|
+
opacity: e(s) ? 0.05 : 0.025
|
|
178
|
+
}, null, 8, te)
|
|
179
|
+
], 12, L)) : p("", !0)
|
|
180
|
+
]));
|
|
181
|
+
}
|
|
182
|
+
}), ae = /* @__PURE__ */ G(se, [["__scopeId", "data-v-31ae78d7"]]), re = /* @__PURE__ */ C({
|
|
183
|
+
__name: "StudioInkShell",
|
|
184
|
+
props: {
|
|
185
|
+
menus: {},
|
|
186
|
+
menuFlatList: {},
|
|
187
|
+
sidebarMenus: {},
|
|
188
|
+
headerMenus: {},
|
|
189
|
+
activeMenu: {},
|
|
190
|
+
activeModuleMenu: {},
|
|
191
|
+
showHeader: { type: Boolean },
|
|
192
|
+
showSidebar: { type: Boolean },
|
|
193
|
+
showAside: { type: Boolean },
|
|
194
|
+
sidebarAboveHeader: { type: Boolean }
|
|
195
|
+
},
|
|
196
|
+
setup(a) {
|
|
197
|
+
return (s, c) => (n(), u(y, null, [
|
|
198
|
+
l(s.$slots, "default", { Footer: e(A) }),
|
|
199
|
+
d(e(B), {
|
|
200
|
+
show: a.showSidebar,
|
|
201
|
+
aboveHeader: a.sidebarAboveHeader,
|
|
202
|
+
menus: a.sidebarMenus,
|
|
203
|
+
menuFlatList: a.menuFlatList
|
|
204
|
+
}, null, 8, ["show", "aboveHeader", "menus", "menuFlatList"]),
|
|
205
|
+
d(e(R), { show: a.showAside }, {
|
|
206
|
+
default: b(() => [
|
|
207
|
+
l(s.$slots, "aside")
|
|
208
|
+
]),
|
|
209
|
+
_: 3
|
|
210
|
+
}, 8, ["show"]),
|
|
211
|
+
d(e(S), {
|
|
212
|
+
show: a.showHeader,
|
|
213
|
+
menus: a.headerMenus,
|
|
214
|
+
activeMenu: a.activeMenu,
|
|
215
|
+
activeModuleMenu: a.activeModuleMenu,
|
|
216
|
+
menuFlatList: a.menuFlatList
|
|
217
|
+
}, {
|
|
218
|
+
left: b(() => [
|
|
219
|
+
l(s.$slots, "brand")
|
|
220
|
+
]),
|
|
221
|
+
right: b(() => [
|
|
222
|
+
l(s.$slots, "themeSwitcher", { Default: e(x) }, () => [
|
|
223
|
+
d(e(x))
|
|
224
|
+
]),
|
|
225
|
+
l(s.$slots, "userEntry"),
|
|
226
|
+
l(s.$slots, "settings")
|
|
227
|
+
]),
|
|
228
|
+
_: 3
|
|
229
|
+
}, 8, ["show", "menus", "activeMenu", "activeModuleMenu", "menuFlatList"]),
|
|
230
|
+
d(ae)
|
|
231
|
+
], 64));
|
|
232
|
+
}
|
|
233
|
+
}), ue = {
|
|
234
|
+
id: "studio-ink",
|
|
235
|
+
label: "影棚墨蓝",
|
|
236
|
+
description: {
|
|
237
|
+
suitable: "AIGC 视频 / 影像创作类后台与控制台:生成队列·素材·项目·渲染等场景;想要影院墨蓝沉浸、冷暖受控影棚光、暗场为主、专业克制。",
|
|
238
|
+
unsuitable: "偏好亮场暖色亲和的 C 端后台;需极致零装饰纯净表格台;老年 / 低视力主用群体。"
|
|
239
|
+
},
|
|
240
|
+
config: {
|
|
241
|
+
light: {
|
|
242
|
+
bodyColor: "#eef2f7",
|
|
243
|
+
baseColor: "#16202c",
|
|
244
|
+
primaryColor: "#0b8f84",
|
|
245
|
+
successColor: "#16a34a",
|
|
246
|
+
warningColor: "#d97706",
|
|
247
|
+
dangerColor: "#e8424e",
|
|
248
|
+
errorColor: "#e8424e",
|
|
249
|
+
infoColor: "#5b6b7d",
|
|
250
|
+
radius: "10px",
|
|
251
|
+
accent: "#d97706",
|
|
252
|
+
surface: "#ffffff",
|
|
253
|
+
borderColor: "#d8e0ea",
|
|
254
|
+
glow: "0 0 0 1px rgba(11, 143, 132, 0.14)",
|
|
255
|
+
shadow: "0 8px 26px -16px rgba(22, 32, 44, 0.18)",
|
|
256
|
+
focusRing: "0 0 0 3px rgba(11, 143, 132, 0.22)"
|
|
257
|
+
},
|
|
258
|
+
dark: {
|
|
259
|
+
bodyColor: "#0c1018",
|
|
260
|
+
baseColor: "#e6ebf2",
|
|
261
|
+
primaryColor: "#3fdccb",
|
|
262
|
+
successColor: "#34d399",
|
|
263
|
+
warningColor: "#f5a524",
|
|
264
|
+
dangerColor: "#f25864",
|
|
265
|
+
errorColor: "#f25864",
|
|
266
|
+
infoColor: "#7d8aa0",
|
|
267
|
+
radius: "10px",
|
|
268
|
+
accent: "#f5a524",
|
|
269
|
+
surface: "#141a24",
|
|
270
|
+
borderColor: "rgba(63, 220, 203, 0.18)",
|
|
271
|
+
glow: "0 0 16px rgba(63, 220, 203, 0.3)",
|
|
272
|
+
shadow: "0 0 0 1px rgba(63, 220, 203, 0.08), 0 18px 44px -20px rgba(0, 0, 0, 0.9)",
|
|
273
|
+
focusRing: "0 0 0 3px rgba(63, 220, 203, 0.4)"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
layout: {
|
|
277
|
+
// 调色台三区 + 四边套框:左 media/工具轨 + 中 viewer + 右 inspector aside。
|
|
278
|
+
viewport: {
|
|
279
|
+
paddingTop: 16,
|
|
280
|
+
paddingRight: 16,
|
|
281
|
+
paddingBottom: 16,
|
|
282
|
+
paddingLeft: 16
|
|
283
|
+
},
|
|
284
|
+
gap: { size: 10 },
|
|
285
|
+
header: {
|
|
286
|
+
height: 56,
|
|
287
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
288
|
+
style: { borderRadius: "10px" }
|
|
289
|
+
},
|
|
290
|
+
sidebar: {
|
|
291
|
+
width: 240,
|
|
292
|
+
collapseWidth: 64,
|
|
293
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
294
|
+
style: { borderRadius: "10px" }
|
|
295
|
+
},
|
|
296
|
+
// 右 inspector aside:宽 300;route meta.layout.aside=true 时显(StudioInkShell 转 #aside)。
|
|
297
|
+
aside: {
|
|
298
|
+
width: 300,
|
|
299
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
300
|
+
style: { borderRadius: "10px" }
|
|
301
|
+
},
|
|
302
|
+
body: { shimPadding: 16 },
|
|
303
|
+
shell: F(re)
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
export {
|
|
307
|
+
ue as default
|
|
308
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { defineComponent as t, openBlock as i, createElementBlock as n, Fragment as u, renderSlot as a, unref as r, createVNode as s, withCtx as l, markRaw as c } from "vue";
|
|
2
|
+
import { AppFooter as b, AppSidebar as f, AppAside as h, AppHeader as m, AppTheme as d } from "@done-coding/admin-core";
|
|
3
|
+
const p = /* @__PURE__ */ t({
|
|
4
|
+
__name: "TriColumnShell",
|
|
5
|
+
props: {
|
|
6
|
+
menus: {},
|
|
7
|
+
menuFlatList: {},
|
|
8
|
+
sidebarMenus: {},
|
|
9
|
+
headerMenus: {},
|
|
10
|
+
activeMenu: {},
|
|
11
|
+
activeModuleMenu: {},
|
|
12
|
+
showHeader: { type: Boolean },
|
|
13
|
+
showSidebar: { type: Boolean },
|
|
14
|
+
showAside: { type: Boolean },
|
|
15
|
+
sidebarAboveHeader: { type: Boolean }
|
|
16
|
+
},
|
|
17
|
+
setup(e) {
|
|
18
|
+
return (o, g) => (i(), n(u, null, [
|
|
19
|
+
a(o.$slots, "default", { Footer: r(b) }),
|
|
20
|
+
s(r(f), {
|
|
21
|
+
show: e.showSidebar,
|
|
22
|
+
aboveHeader: e.sidebarAboveHeader,
|
|
23
|
+
menus: e.sidebarMenus,
|
|
24
|
+
menuFlatList: e.menuFlatList
|
|
25
|
+
}, null, 8, ["show", "aboveHeader", "menus", "menuFlatList"]),
|
|
26
|
+
s(r(h), { show: e.showAside }, {
|
|
27
|
+
default: l(() => [
|
|
28
|
+
a(o.$slots, "aside")
|
|
29
|
+
]),
|
|
30
|
+
_: 3
|
|
31
|
+
}, 8, ["show"]),
|
|
32
|
+
s(r(m), {
|
|
33
|
+
show: e.showHeader,
|
|
34
|
+
menus: e.headerMenus,
|
|
35
|
+
activeMenu: e.activeMenu,
|
|
36
|
+
activeModuleMenu: e.activeModuleMenu,
|
|
37
|
+
menuFlatList: e.menuFlatList
|
|
38
|
+
}, {
|
|
39
|
+
left: l(() => [
|
|
40
|
+
a(o.$slots, "brand")
|
|
41
|
+
]),
|
|
42
|
+
right: l(() => [
|
|
43
|
+
a(o.$slots, "themeSwitcher", { Default: r(d) }, () => [
|
|
44
|
+
s(r(d))
|
|
45
|
+
]),
|
|
46
|
+
a(o.$slots, "userEntry"),
|
|
47
|
+
a(o.$slots, "settings")
|
|
48
|
+
]),
|
|
49
|
+
_: 3
|
|
50
|
+
}, 8, ["show", "menus", "activeMenu", "activeModuleMenu", "menuFlatList"])
|
|
51
|
+
], 64));
|
|
52
|
+
}
|
|
53
|
+
}), C = {
|
|
54
|
+
id: "studio-triptych",
|
|
55
|
+
label: "三联工作室",
|
|
56
|
+
description: {
|
|
57
|
+
suitable: "IDE 式 / 详情检查 / 多面板工作台;需要左导航 + 中主体 + 右上下文(属性/工具/详情)三栏同屏。",
|
|
58
|
+
unsuitable: "小屏 / 内容需要通栏的场景(三栏挤压主区);无右侧上下文诉求时退用经典两栏。"
|
|
59
|
+
},
|
|
60
|
+
config: {
|
|
61
|
+
light: {
|
|
62
|
+
bodyColor: "#f6f4fc",
|
|
63
|
+
baseColor: "#241b33",
|
|
64
|
+
primaryColor: "#7c3aed",
|
|
65
|
+
successColor: "#16a34a",
|
|
66
|
+
warningColor: "#d97706",
|
|
67
|
+
dangerColor: "#dc2626",
|
|
68
|
+
errorColor: "#dc2626",
|
|
69
|
+
infoColor: "#8b5cf6",
|
|
70
|
+
radius: "10px",
|
|
71
|
+
surface: "#ffffff",
|
|
72
|
+
borderColor: "#e7e1f3",
|
|
73
|
+
shadow: "0 10px 28px -16px rgba(124,58,237,0.20)"
|
|
74
|
+
},
|
|
75
|
+
dark: {
|
|
76
|
+
bodyColor: "#0c0816",
|
|
77
|
+
baseColor: "#ddd4f0",
|
|
78
|
+
primaryColor: "#a78bfa",
|
|
79
|
+
successColor: "#34d399",
|
|
80
|
+
warningColor: "#f0b541",
|
|
81
|
+
dangerColor: "#f0656a",
|
|
82
|
+
errorColor: "#f0656a",
|
|
83
|
+
infoColor: "#c4b5fd",
|
|
84
|
+
radius: "10px",
|
|
85
|
+
surface: "#171026",
|
|
86
|
+
borderColor: "rgba(167,139,250,0.22)",
|
|
87
|
+
shadow: "0 18px 44px -22px rgba(0,0,0,0.9)"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
layout: {
|
|
91
|
+
gap: { size: 8 },
|
|
92
|
+
header: {
|
|
93
|
+
height: 56,
|
|
94
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
95
|
+
style: { borderRadius: "10px" }
|
|
96
|
+
},
|
|
97
|
+
sidebar: {
|
|
98
|
+
width: 240,
|
|
99
|
+
collapseWidth: 64,
|
|
100
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
101
|
+
style: { borderRadius: "10px" }
|
|
102
|
+
},
|
|
103
|
+
// 右侧上下文 aside:宽 300;demo 路由开 aside 时显(TriColumnShell 塞 ContextAsidePanel)。
|
|
104
|
+
aside: {
|
|
105
|
+
width: 300,
|
|
106
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
107
|
+
style: { borderRadius: "10px" }
|
|
108
|
+
},
|
|
109
|
+
body: { shimPadding: 16 },
|
|
110
|
+
shell: c(p)
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
export {
|
|
114
|
+
C as default
|
|
115
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
const r = {
|
|
2
|
+
id: "sunset-amber",
|
|
3
|
+
label: "暮光琥珀",
|
|
4
|
+
description: {
|
|
5
|
+
suitable: "夜间使用为主的后台、媒体/影音/创作工具、想要温暖深色久看不累的暖深色沉浸场景。",
|
|
6
|
+
unsuitable: "需冷静专业冷色调的金融/政务;高对比无障碍;强活力明亮需求。"
|
|
7
|
+
},
|
|
8
|
+
config: {
|
|
9
|
+
light: {
|
|
10
|
+
bodyColor: "#f3ece2",
|
|
11
|
+
baseColor: "#2e2218",
|
|
12
|
+
primaryColor: "#c2691c",
|
|
13
|
+
successColor: "#6a8a3a",
|
|
14
|
+
warningColor: "#c79320",
|
|
15
|
+
dangerColor: "#c0432b",
|
|
16
|
+
errorColor: "#c0432b",
|
|
17
|
+
infoColor: "#6b6f7a",
|
|
18
|
+
radius: "10px",
|
|
19
|
+
accent: "#d98324",
|
|
20
|
+
surface: "#fbf5ec",
|
|
21
|
+
borderColor: "#e6dac8",
|
|
22
|
+
shadow: "0 6px 22px -13px rgba(46, 34, 24, 0.18)",
|
|
23
|
+
focusRing: "0 0 0 3px rgba(194, 105, 28, 0.24)"
|
|
24
|
+
},
|
|
25
|
+
dark: {
|
|
26
|
+
bodyColor: "#120d08",
|
|
27
|
+
baseColor: "#ecdcc6",
|
|
28
|
+
primaryColor: "#e8954a",
|
|
29
|
+
successColor: "#8ca85c",
|
|
30
|
+
warningColor: "#e3b557",
|
|
31
|
+
dangerColor: "#e0664a",
|
|
32
|
+
errorColor: "#e0664a",
|
|
33
|
+
infoColor: "#9a9182",
|
|
34
|
+
radius: "10px",
|
|
35
|
+
accent: "#f0a64e",
|
|
36
|
+
surface: "#1d150d",
|
|
37
|
+
borderColor: "#352819",
|
|
38
|
+
shadow: "0 14px 34px -16px rgba(0, 0, 0, 0.8)",
|
|
39
|
+
glow: "0 0 16px rgba(232, 149, 74, 0.22)",
|
|
40
|
+
focusRing: "0 0 0 3px rgba(232, 149, 74, 0.32)"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
layout: {
|
|
44
|
+
gap: { size: 8 },
|
|
45
|
+
header: {
|
|
46
|
+
height: 56,
|
|
47
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
48
|
+
style: { borderRadius: "10px" }
|
|
49
|
+
},
|
|
50
|
+
sidebar: {
|
|
51
|
+
width: 244,
|
|
52
|
+
collapseWidth: 64,
|
|
53
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
54
|
+
style: { borderRadius: "10px" }
|
|
55
|
+
},
|
|
56
|
+
body: { shimPadding: 22 }
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
export {
|
|
60
|
+
r as default
|
|
61
|
+
};
|