@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,300 @@
|
|
|
1
|
+
import { defineComponent as g, computed as h, openBlock as c, createBlock as v, Teleport as w, unref as e, createElementBlock as b, normalizeStyle as k, createElementVNode as t, createCommentVNode as y, normalizeProps as $, guardReactiveProps as x, createSlots as B, withCtx as l, createVNode as S, renderSlot as n, markRaw as M } from "vue";
|
|
2
|
+
import { _ as E } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-B6k0Utzz.mjs";
|
|
3
|
+
import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as R } from "@done-coding/admin-core";
|
|
4
|
+
import { u as H } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
5
|
+
import { _ as D } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
+
const I = ["width", "height", "viewBox"], T = {
|
|
7
|
+
id: "brutalHazard",
|
|
8
|
+
width: "18",
|
|
9
|
+
height: "18",
|
|
10
|
+
patternUnits: "userSpaceOnUse",
|
|
11
|
+
patternTransform: "rotate(45)"
|
|
12
|
+
}, A = ["fill", "opacity"], F = {
|
|
13
|
+
id: "brutalScan",
|
|
14
|
+
x1: "0%",
|
|
15
|
+
y1: "0%",
|
|
16
|
+
x2: "0%",
|
|
17
|
+
y2: "100%"
|
|
18
|
+
}, V = ["stop-color"], z = ["stop-color", "stop-opacity"], N = ["stop-color"], O = ["width", "height"], L = ["y", "width", "height"], W = ["y", "width", "height"], G = ["values"], P = ["stroke", "opacity"], U = ["d"], j = ["d"], q = ["d"], X = ["width", "height", "opacity"], Y = /* @__PURE__ */ g({
|
|
19
|
+
__name: "BrutalSteelCockpitDecor",
|
|
20
|
+
setup(s) {
|
|
21
|
+
const { isDark: i, animated: r, vw: a, vh: o, hasFrame: _, vp: C } = H(), m = h(() => i.value ? "#8a93a0" : "#4a525c"), u = h(() => i.value ? "#f5a524" : "#d97706"), p = h(() => Math.max(24, C.value.paddingTop));
|
|
22
|
+
return (ee, d) => (c(), v(w, { to: "body" }, [
|
|
23
|
+
e(_) ? (c(), b("svg", {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "cockpit-brutal-steel-decor",
|
|
26
|
+
style: k({
|
|
27
|
+
position: "fixed",
|
|
28
|
+
left: 0,
|
|
29
|
+
top: 0,
|
|
30
|
+
pointerEvents: "none",
|
|
31
|
+
zIndex: e(R),
|
|
32
|
+
opacity: e(i) ? 0.9 : 0.6
|
|
33
|
+
}),
|
|
34
|
+
width: e(a),
|
|
35
|
+
height: e(o),
|
|
36
|
+
viewBox: `0 0 ${e(a)} ${e(o)}`,
|
|
37
|
+
"aria-hidden": "true"
|
|
38
|
+
}, [
|
|
39
|
+
t("defs", null, [
|
|
40
|
+
t("pattern", T, [
|
|
41
|
+
t("rect", {
|
|
42
|
+
width: "9",
|
|
43
|
+
height: "18",
|
|
44
|
+
fill: m.value,
|
|
45
|
+
opacity: e(i) ? 0.5 : 0.4
|
|
46
|
+
}, null, 8, A)
|
|
47
|
+
]),
|
|
48
|
+
t("linearGradient", F, [
|
|
49
|
+
t("stop", {
|
|
50
|
+
offset: "0%",
|
|
51
|
+
"stop-color": u.value,
|
|
52
|
+
"stop-opacity": "0"
|
|
53
|
+
}, null, 8, V),
|
|
54
|
+
t("stop", {
|
|
55
|
+
offset: "50%",
|
|
56
|
+
"stop-color": u.value,
|
|
57
|
+
"stop-opacity": e(i) ? 0.5 : 0.28
|
|
58
|
+
}, null, 8, z),
|
|
59
|
+
t("stop", {
|
|
60
|
+
offset: "100%",
|
|
61
|
+
"stop-color": u.value,
|
|
62
|
+
"stop-opacity": "0"
|
|
63
|
+
}, null, 8, N)
|
|
64
|
+
]),
|
|
65
|
+
d[0] || (d[0] = t("filter", { id: "brutalGrain" }, [
|
|
66
|
+
t("feTurbulence", {
|
|
67
|
+
type: "fractalNoise",
|
|
68
|
+
baseFrequency: "0.7",
|
|
69
|
+
numOctaves: "3",
|
|
70
|
+
stitchTiles: "stitch"
|
|
71
|
+
}),
|
|
72
|
+
t("feColorMatrix", {
|
|
73
|
+
type: "saturate",
|
|
74
|
+
values: "0"
|
|
75
|
+
})
|
|
76
|
+
], -1))
|
|
77
|
+
]),
|
|
78
|
+
t("rect", {
|
|
79
|
+
x: 0,
|
|
80
|
+
y: 0,
|
|
81
|
+
width: e(a),
|
|
82
|
+
height: p.value,
|
|
83
|
+
fill: "url(#brutalHazard)"
|
|
84
|
+
}, null, 8, O),
|
|
85
|
+
t("rect", {
|
|
86
|
+
x: 0,
|
|
87
|
+
y: e(o) - p.value,
|
|
88
|
+
width: e(a),
|
|
89
|
+
height: p.value,
|
|
90
|
+
fill: "url(#brutalHazard)"
|
|
91
|
+
}, null, 8, L),
|
|
92
|
+
e(r) ? (c(), b("rect", {
|
|
93
|
+
key: 0,
|
|
94
|
+
x: 0,
|
|
95
|
+
y: -e(o) * 0.12,
|
|
96
|
+
width: e(a),
|
|
97
|
+
height: e(o) * 0.12,
|
|
98
|
+
fill: "url(#brutalScan)"
|
|
99
|
+
}, [
|
|
100
|
+
t("animate", {
|
|
101
|
+
attributeName: "y",
|
|
102
|
+
values: `${-e(o) * 0.12}; ${e(o)}`,
|
|
103
|
+
dur: "6s",
|
|
104
|
+
repeatCount: "indefinite"
|
|
105
|
+
}, null, 8, G)
|
|
106
|
+
], 8, W)) : y("", !0),
|
|
107
|
+
t("g", {
|
|
108
|
+
stroke: m.value,
|
|
109
|
+
"stroke-width": "3",
|
|
110
|
+
fill: "none",
|
|
111
|
+
opacity: e(i) ? 0.9 : 0.7
|
|
112
|
+
}, [
|
|
113
|
+
d[1] || (d[1] = t("path", { d: "M10 40 V10 H40" }, null, -1)),
|
|
114
|
+
t("path", {
|
|
115
|
+
d: `M${e(a) - 10} 40 V10 H${e(a) - 40}`
|
|
116
|
+
}, null, 8, U),
|
|
117
|
+
t("path", {
|
|
118
|
+
d: `M10 ${e(o) - 40} V${e(o) - 10} H40`
|
|
119
|
+
}, null, 8, j),
|
|
120
|
+
t("path", {
|
|
121
|
+
d: `M${e(a) - 10} ${e(o) - 40} V${e(o) - 10} H${e(a) - 40}`
|
|
122
|
+
}, null, 8, q)
|
|
123
|
+
], 8, P),
|
|
124
|
+
t("rect", {
|
|
125
|
+
width: e(a),
|
|
126
|
+
height: e(o),
|
|
127
|
+
filter: "url(#brutalGrain)",
|
|
128
|
+
opacity: e(i) ? 0.08 : 0.05
|
|
129
|
+
}, null, 8, X)
|
|
130
|
+
], 12, I)) : y("", !0)
|
|
131
|
+
]));
|
|
132
|
+
}
|
|
133
|
+
}), Z = /* @__PURE__ */ D(Y, [["__scopeId", "data-v-d5f290cf"]]), J = /* @__PURE__ */ g({
|
|
134
|
+
__name: "BrutalSteelCockpitShell",
|
|
135
|
+
props: {
|
|
136
|
+
menus: {},
|
|
137
|
+
menuFlatList: {},
|
|
138
|
+
sidebarMenus: {},
|
|
139
|
+
headerMenus: {},
|
|
140
|
+
activeMenu: {},
|
|
141
|
+
activeModuleMenu: {},
|
|
142
|
+
showHeader: { type: Boolean },
|
|
143
|
+
showSidebar: { type: Boolean },
|
|
144
|
+
showAside: { type: Boolean },
|
|
145
|
+
sidebarAboveHeader: { type: Boolean }
|
|
146
|
+
},
|
|
147
|
+
setup(s) {
|
|
148
|
+
const i = s;
|
|
149
|
+
return (r, a) => (c(), v(E, $(x(i)), B({
|
|
150
|
+
default: l((o) => [
|
|
151
|
+
n(r.$slots, "default", {
|
|
152
|
+
Footer: o.Footer
|
|
153
|
+
})
|
|
154
|
+
]),
|
|
155
|
+
decor: l(() => [
|
|
156
|
+
S(Z)
|
|
157
|
+
]),
|
|
158
|
+
_: 2
|
|
159
|
+
}, [
|
|
160
|
+
r.$slots.brand ? {
|
|
161
|
+
name: "brand",
|
|
162
|
+
fn: l(() => [
|
|
163
|
+
n(r.$slots, "brand")
|
|
164
|
+
]),
|
|
165
|
+
key: "0"
|
|
166
|
+
} : void 0,
|
|
167
|
+
r.$slots.themeSwitcher ? {
|
|
168
|
+
name: "themeSwitcher",
|
|
169
|
+
fn: l((o) => [
|
|
170
|
+
n(r.$slots, "themeSwitcher", {
|
|
171
|
+
Default: o.Default
|
|
172
|
+
})
|
|
173
|
+
]),
|
|
174
|
+
key: "1"
|
|
175
|
+
} : void 0,
|
|
176
|
+
r.$slots.userEntry ? {
|
|
177
|
+
name: "userEntry",
|
|
178
|
+
fn: l(() => [
|
|
179
|
+
n(r.$slots, "userEntry")
|
|
180
|
+
]),
|
|
181
|
+
key: "2"
|
|
182
|
+
} : void 0,
|
|
183
|
+
r.$slots.settings ? {
|
|
184
|
+
name: "settings",
|
|
185
|
+
fn: l(() => [
|
|
186
|
+
n(r.$slots, "settings")
|
|
187
|
+
]),
|
|
188
|
+
key: "3"
|
|
189
|
+
} : void 0,
|
|
190
|
+
r.$slots.aside ? {
|
|
191
|
+
name: "aside",
|
|
192
|
+
fn: l(() => [
|
|
193
|
+
n(r.$slots, "aside")
|
|
194
|
+
]),
|
|
195
|
+
key: "4"
|
|
196
|
+
} : void 0
|
|
197
|
+
]), 1040));
|
|
198
|
+
}
|
|
199
|
+
}), f = "admin-theme-cockpit-brutal-steel";
|
|
200
|
+
function K() {
|
|
201
|
+
if (typeof document > "u" || document.getElementById(f)) return;
|
|
202
|
+
const s = document.createElement("style");
|
|
203
|
+
s.id = f, s.setAttribute("data-admin-theme", "cockpit-brutal-steel"), s.textContent = `
|
|
204
|
+
.cockpit-statusbar{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em;}
|
|
205
|
+
.app-header-module-item{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;}
|
|
206
|
+
`, document.head.appendChild(s);
|
|
207
|
+
}
|
|
208
|
+
function Q() {
|
|
209
|
+
var s;
|
|
210
|
+
typeof document > "u" || (s = document.getElementById(f)) == null || s.remove();
|
|
211
|
+
}
|
|
212
|
+
const ie = {
|
|
213
|
+
id: "cockpit-brutal-steel",
|
|
214
|
+
label: "座舱·机械",
|
|
215
|
+
description: {
|
|
216
|
+
suitable: "要工业/机械裸结构气质的 AI 控制台:高反差、硬边、确定感;适合运维/编排/监控类重操作场景。",
|
|
217
|
+
unsuitable: "需柔和亲和/留白舒展的内容型后台;低对比护眼诉求;偏好圆润玻璃质感的场景。"
|
|
218
|
+
},
|
|
219
|
+
config: {
|
|
220
|
+
light: {
|
|
221
|
+
bodyColor: "#e8e6e1",
|
|
222
|
+
baseColor: "#14151a",
|
|
223
|
+
primaryColor: "#e2480c",
|
|
224
|
+
successColor: "#2f8f43",
|
|
225
|
+
warningColor: "#d97706",
|
|
226
|
+
dangerColor: "#e23b2c",
|
|
227
|
+
errorColor: "#e23b2c",
|
|
228
|
+
infoColor: "#5b6b7d",
|
|
229
|
+
radius: "0px",
|
|
230
|
+
borderColor: "#1a1c20",
|
|
231
|
+
borderWidth: "2px",
|
|
232
|
+
accent: "#4a525c",
|
|
233
|
+
shadow: "5px 5px 0 rgba(20, 21, 26, 0.18)",
|
|
234
|
+
focusRing: "0 0 0 3px #e2480c",
|
|
235
|
+
surface: "#f2f0eb"
|
|
236
|
+
},
|
|
237
|
+
dark: {
|
|
238
|
+
bodyColor: "#0c0d0f",
|
|
239
|
+
baseColor: "#eceef0",
|
|
240
|
+
primaryColor: "#ff5b1e",
|
|
241
|
+
successColor: "#46a758",
|
|
242
|
+
warningColor: "#f5a524",
|
|
243
|
+
dangerColor: "#ff4d3d",
|
|
244
|
+
errorColor: "#ff4d3d",
|
|
245
|
+
infoColor: "#7d8590",
|
|
246
|
+
radius: "0px",
|
|
247
|
+
borderColor: "#3a3f47",
|
|
248
|
+
borderWidth: "2px",
|
|
249
|
+
accent: "#8a93a0",
|
|
250
|
+
shadow: "6px 6px 0 rgba(0, 0, 0, 0.6)",
|
|
251
|
+
focusRing: "0 0 0 3px #ff5b1e",
|
|
252
|
+
surface: "#16181b"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
layout: {
|
|
256
|
+
// 顶/底套框略厚(给机械警示带空间),左右常规。
|
|
257
|
+
viewport: {
|
|
258
|
+
paddingTop: 28,
|
|
259
|
+
paddingRight: 16,
|
|
260
|
+
paddingBottom: 28,
|
|
261
|
+
paddingLeft: 16
|
|
262
|
+
},
|
|
263
|
+
gap: { size: 10 },
|
|
264
|
+
extractLevel1ToHeader: !0,
|
|
265
|
+
header: {
|
|
266
|
+
height: 56,
|
|
267
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
268
|
+
style: { borderRadius: "0px" }
|
|
269
|
+
},
|
|
270
|
+
sidebar: {
|
|
271
|
+
width: 244,
|
|
272
|
+
collapseWidth: 64,
|
|
273
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
274
|
+
style: { borderRadius: "0px" }
|
|
275
|
+
},
|
|
276
|
+
aside: {
|
|
277
|
+
width: 330,
|
|
278
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
279
|
+
style: { borderRadius: "0px" }
|
|
280
|
+
},
|
|
281
|
+
footer: {
|
|
282
|
+
height: 36,
|
|
283
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
284
|
+
style: { borderRadius: "0px" }
|
|
285
|
+
},
|
|
286
|
+
breadcrumb: { height: 44 },
|
|
287
|
+
body: { shimPadding: 16 },
|
|
288
|
+
shell: M(J)
|
|
289
|
+
},
|
|
290
|
+
// 生命周期钩子(榨干点):激活注入等宽大写氛围,切走/注销清理。
|
|
291
|
+
onActivate() {
|
|
292
|
+
K();
|
|
293
|
+
},
|
|
294
|
+
onDeactivate() {
|
|
295
|
+
Q();
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
export {
|
|
299
|
+
ie as default
|
|
300
|
+
};
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
import { defineComponent as _, computed as b, openBlock as d, createBlock as v, Teleport as x, unref as e, createElementBlock as u, normalizeStyle as C, createElementVNode as o, Fragment as k, createCommentVNode as p, normalizeProps as $, guardReactiveProps as w, createSlots as q, withCtx as l, createVNode as B, renderSlot as n, markRaw as N } from "vue";
|
|
2
|
+
import { _ as R } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-B6k0Utzz.mjs";
|
|
3
|
+
import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as E } from "@done-coding/admin-core";
|
|
4
|
+
import { u as I } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
5
|
+
import { _ as S } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
+
const D = ["width", "height", "viewBox"], F = {
|
|
7
|
+
id: "liqA",
|
|
8
|
+
cx: "50%",
|
|
9
|
+
cy: "50%",
|
|
10
|
+
r: "50%"
|
|
11
|
+
}, L = ["stop-color", "stop-opacity"], M = ["stop-color", "stop-opacity"], T = ["stop-color"], A = {
|
|
12
|
+
id: "liqB",
|
|
13
|
+
cx: "50%",
|
|
14
|
+
cy: "50%",
|
|
15
|
+
r: "50%"
|
|
16
|
+
}, G = ["stop-color", "stop-opacity"], z = ["stop-color"], O = {
|
|
17
|
+
id: "liqScan",
|
|
18
|
+
x1: "0%",
|
|
19
|
+
y1: "0%",
|
|
20
|
+
x2: "100%",
|
|
21
|
+
y2: "0%"
|
|
22
|
+
}, W = ["stop-color"], P = ["stop-color", "stop-opacity"], V = ["stop-color"], H = ["cx", "cy", "rx", "ry"], X = ["values"], Z = ["values"], j = ["values"], J = ["cx", "cy", "rx", "ry"], K = ["values"], Q = ["x", "width", "height"], U = ["values"], Y = ["width", "height", "opacity"], ee = /* @__PURE__ */ _({
|
|
23
|
+
__name: "LiquidInkCockpitDecor",
|
|
24
|
+
setup(h) {
|
|
25
|
+
const { isDark: i, animated: t, vw: a, vh: s, hasFrame: g } = I(), f = b(() => i.value ? "#5b8cff" : "#3f6fe6"), c = b(() => i.value ? "#22d3ee" : "#0e9fc4");
|
|
26
|
+
function r(y) {
|
|
27
|
+
return Number((Math.min(a.value, s.value) * y).toFixed(1));
|
|
28
|
+
}
|
|
29
|
+
return (y, m) => (d(), v(x, { to: "body" }, [
|
|
30
|
+
e(g) ? (d(), u("svg", {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "cockpit-liquid-ink-decor",
|
|
33
|
+
style: C({
|
|
34
|
+
position: "fixed",
|
|
35
|
+
left: 0,
|
|
36
|
+
top: 0,
|
|
37
|
+
pointerEvents: "none",
|
|
38
|
+
zIndex: e(E),
|
|
39
|
+
opacity: e(i) ? 1 : 0.55
|
|
40
|
+
}),
|
|
41
|
+
width: e(a),
|
|
42
|
+
height: e(s),
|
|
43
|
+
viewBox: `0 0 ${e(a)} ${e(s)}`,
|
|
44
|
+
"aria-hidden": "true"
|
|
45
|
+
}, [
|
|
46
|
+
o("defs", null, [
|
|
47
|
+
o("radialGradient", F, [
|
|
48
|
+
o("stop", {
|
|
49
|
+
offset: "0%",
|
|
50
|
+
"stop-color": f.value,
|
|
51
|
+
"stop-opacity": e(i) ? 0.4 : 0.16
|
|
52
|
+
}, null, 8, L),
|
|
53
|
+
o("stop", {
|
|
54
|
+
offset: "55%",
|
|
55
|
+
"stop-color": f.value,
|
|
56
|
+
"stop-opacity": e(i) ? 0.12 : 0.05
|
|
57
|
+
}, null, 8, M),
|
|
58
|
+
o("stop", {
|
|
59
|
+
offset: "100%",
|
|
60
|
+
"stop-color": f.value,
|
|
61
|
+
"stop-opacity": "0"
|
|
62
|
+
}, null, 8, T)
|
|
63
|
+
]),
|
|
64
|
+
o("radialGradient", A, [
|
|
65
|
+
o("stop", {
|
|
66
|
+
offset: "0%",
|
|
67
|
+
"stop-color": c.value,
|
|
68
|
+
"stop-opacity": e(i) ? 0.32 : 0.12
|
|
69
|
+
}, null, 8, G),
|
|
70
|
+
o("stop", {
|
|
71
|
+
offset: "100%",
|
|
72
|
+
"stop-color": c.value,
|
|
73
|
+
"stop-opacity": "0"
|
|
74
|
+
}, null, 8, z)
|
|
75
|
+
]),
|
|
76
|
+
o("linearGradient", O, [
|
|
77
|
+
o("stop", {
|
|
78
|
+
offset: "0%",
|
|
79
|
+
"stop-color": c.value,
|
|
80
|
+
"stop-opacity": "0"
|
|
81
|
+
}, null, 8, W),
|
|
82
|
+
o("stop", {
|
|
83
|
+
offset: "50%",
|
|
84
|
+
"stop-color": c.value,
|
|
85
|
+
"stop-opacity": e(i) ? 0.22 : 0.09
|
|
86
|
+
}, null, 8, P),
|
|
87
|
+
o("stop", {
|
|
88
|
+
offset: "100%",
|
|
89
|
+
"stop-color": c.value,
|
|
90
|
+
"stop-opacity": "0"
|
|
91
|
+
}, null, 8, V)
|
|
92
|
+
]),
|
|
93
|
+
m[0] || (m[0] = o("filter", { id: "liqGrain" }, [
|
|
94
|
+
o("feTurbulence", {
|
|
95
|
+
type: "fractalNoise",
|
|
96
|
+
baseFrequency: "0.9",
|
|
97
|
+
numOctaves: "2",
|
|
98
|
+
stitchTiles: "stitch"
|
|
99
|
+
}),
|
|
100
|
+
o("feColorMatrix", {
|
|
101
|
+
type: "saturate",
|
|
102
|
+
values: "0"
|
|
103
|
+
})
|
|
104
|
+
], -1))
|
|
105
|
+
]),
|
|
106
|
+
o("ellipse", {
|
|
107
|
+
cx: e(a) * 0.22,
|
|
108
|
+
cy: e(s) * 0.26,
|
|
109
|
+
rx: r(0.42),
|
|
110
|
+
ry: r(0.34),
|
|
111
|
+
fill: "url(#liqA)"
|
|
112
|
+
}, [
|
|
113
|
+
e(t) ? (d(), u(k, { key: 0 }, [
|
|
114
|
+
o("animate", {
|
|
115
|
+
attributeName: "rx",
|
|
116
|
+
values: `${r(0.42)};${r(0.5)};${r(0.42)}`,
|
|
117
|
+
dur: "17s",
|
|
118
|
+
repeatCount: "indefinite"
|
|
119
|
+
}, null, 8, X),
|
|
120
|
+
o("animate", {
|
|
121
|
+
attributeName: "ry",
|
|
122
|
+
values: `${r(0.34)};${r(0.4)};${r(0.34)}`,
|
|
123
|
+
dur: "17s",
|
|
124
|
+
repeatCount: "indefinite"
|
|
125
|
+
}, null, 8, Z),
|
|
126
|
+
o("animateTransform", {
|
|
127
|
+
attributeName: "transform",
|
|
128
|
+
type: "translate",
|
|
129
|
+
values: `0,0; ${e(a) * 0.03},${e(s) * 0.025}; 0,0`,
|
|
130
|
+
dur: "29s",
|
|
131
|
+
repeatCount: "indefinite"
|
|
132
|
+
}, null, 8, j)
|
|
133
|
+
], 64)) : p("", !0)
|
|
134
|
+
], 8, H),
|
|
135
|
+
o("ellipse", {
|
|
136
|
+
cx: e(a) * 0.82,
|
|
137
|
+
cy: e(s) * 0.78,
|
|
138
|
+
rx: r(0.36),
|
|
139
|
+
ry: r(0.3),
|
|
140
|
+
fill: "url(#liqB)"
|
|
141
|
+
}, [
|
|
142
|
+
e(t) ? (d(), u("animate", {
|
|
143
|
+
key: 0,
|
|
144
|
+
attributeName: "rx",
|
|
145
|
+
values: `${r(0.36)};${r(0.44)};${r(0.36)}`,
|
|
146
|
+
dur: "21s",
|
|
147
|
+
begin: "5s",
|
|
148
|
+
repeatCount: "indefinite"
|
|
149
|
+
}, null, 8, K)) : p("", !0)
|
|
150
|
+
], 8, J),
|
|
151
|
+
e(t) ? (d(), u("rect", {
|
|
152
|
+
key: 0,
|
|
153
|
+
y: "0",
|
|
154
|
+
x: -e(a) * 0.16,
|
|
155
|
+
width: e(a) * 0.16,
|
|
156
|
+
height: e(s),
|
|
157
|
+
fill: "url(#liqScan)"
|
|
158
|
+
}, [
|
|
159
|
+
o("animate", {
|
|
160
|
+
attributeName: "x",
|
|
161
|
+
values: `${-e(a) * 0.16}; ${e(a)}`,
|
|
162
|
+
dur: "11s",
|
|
163
|
+
repeatCount: "indefinite"
|
|
164
|
+
}, null, 8, U)
|
|
165
|
+
], 8, Q)) : p("", !0),
|
|
166
|
+
o("rect", {
|
|
167
|
+
width: e(a),
|
|
168
|
+
height: e(s),
|
|
169
|
+
filter: "url(#liqGrain)",
|
|
170
|
+
opacity: e(i) ? 0.045 : 0.02
|
|
171
|
+
}, null, 8, Y)
|
|
172
|
+
], 12, D)) : p("", !0)
|
|
173
|
+
]));
|
|
174
|
+
}
|
|
175
|
+
}), oe = /* @__PURE__ */ S(ee, [["__scopeId", "data-v-122f9ed8"]]), te = /* @__PURE__ */ _({
|
|
176
|
+
__name: "LiquidInkCockpitShell",
|
|
177
|
+
props: {
|
|
178
|
+
menus: {},
|
|
179
|
+
menuFlatList: {},
|
|
180
|
+
sidebarMenus: {},
|
|
181
|
+
headerMenus: {},
|
|
182
|
+
activeMenu: {},
|
|
183
|
+
activeModuleMenu: {},
|
|
184
|
+
showHeader: { type: Boolean },
|
|
185
|
+
showSidebar: { type: Boolean },
|
|
186
|
+
showAside: { type: Boolean },
|
|
187
|
+
sidebarAboveHeader: { type: Boolean }
|
|
188
|
+
},
|
|
189
|
+
setup(h) {
|
|
190
|
+
const i = h;
|
|
191
|
+
return (t, a) => (d(), v(R, $(w(i)), q({
|
|
192
|
+
default: l((s) => [
|
|
193
|
+
n(t.$slots, "default", {
|
|
194
|
+
Footer: s.Footer
|
|
195
|
+
})
|
|
196
|
+
]),
|
|
197
|
+
decor: l(() => [
|
|
198
|
+
B(oe)
|
|
199
|
+
]),
|
|
200
|
+
_: 2
|
|
201
|
+
}, [
|
|
202
|
+
t.$slots.brand ? {
|
|
203
|
+
name: "brand",
|
|
204
|
+
fn: l(() => [
|
|
205
|
+
n(t.$slots, "brand")
|
|
206
|
+
]),
|
|
207
|
+
key: "0"
|
|
208
|
+
} : void 0,
|
|
209
|
+
t.$slots.themeSwitcher ? {
|
|
210
|
+
name: "themeSwitcher",
|
|
211
|
+
fn: l((s) => [
|
|
212
|
+
n(t.$slots, "themeSwitcher", {
|
|
213
|
+
Default: s.Default
|
|
214
|
+
})
|
|
215
|
+
]),
|
|
216
|
+
key: "1"
|
|
217
|
+
} : void 0,
|
|
218
|
+
t.$slots.userEntry ? {
|
|
219
|
+
name: "userEntry",
|
|
220
|
+
fn: l(() => [
|
|
221
|
+
n(t.$slots, "userEntry")
|
|
222
|
+
]),
|
|
223
|
+
key: "2"
|
|
224
|
+
} : void 0,
|
|
225
|
+
t.$slots.settings ? {
|
|
226
|
+
name: "settings",
|
|
227
|
+
fn: l(() => [
|
|
228
|
+
n(t.$slots, "settings")
|
|
229
|
+
]),
|
|
230
|
+
key: "3"
|
|
231
|
+
} : void 0,
|
|
232
|
+
t.$slots.aside ? {
|
|
233
|
+
name: "aside",
|
|
234
|
+
fn: l(() => [
|
|
235
|
+
n(t.$slots, "aside")
|
|
236
|
+
]),
|
|
237
|
+
key: "4"
|
|
238
|
+
} : void 0
|
|
239
|
+
]), 1040));
|
|
240
|
+
}
|
|
241
|
+
}), ne = {
|
|
242
|
+
id: "cockpit-liquid-ink",
|
|
243
|
+
label: "座舱·液墨",
|
|
244
|
+
description: {
|
|
245
|
+
suitable: "AI / 智能应用层旗舰后台(webagent + 编辑器矩阵):要任务域切换 + 常驻副驾 + 行动状态条的 agentic 工作台;深墨玻璃沉浸、暗场为主、premium 克制。",
|
|
246
|
+
unsuitable: "极简纯表格台 / 老年低视力主用群体 / 需全亮场暖色亲和的轻量 C 端后台。"
|
|
247
|
+
},
|
|
248
|
+
config: {
|
|
249
|
+
light: {
|
|
250
|
+
bodyColor: "#eef3fc",
|
|
251
|
+
baseColor: "#131a2b",
|
|
252
|
+
primaryColor: "#3f6fe6",
|
|
253
|
+
successColor: "#16a34a",
|
|
254
|
+
warningColor: "#d97706",
|
|
255
|
+
dangerColor: "#e8424e",
|
|
256
|
+
errorColor: "#e8424e",
|
|
257
|
+
infoColor: "#5b6b7d",
|
|
258
|
+
radius: "14px",
|
|
259
|
+
borderColor: "#dde6f4",
|
|
260
|
+
borderWidth: "1px",
|
|
261
|
+
accent: "#0e9fc4",
|
|
262
|
+
glow: "0 0 0 1px rgba(63, 111, 230, 0.12)",
|
|
263
|
+
blur: "12px",
|
|
264
|
+
shadow: "0 10px 30px -18px rgba(19, 26, 43, 0.2)",
|
|
265
|
+
focusRing: "0 0 0 3px rgba(63, 111, 230, 0.22)",
|
|
266
|
+
surface: "#ffffff"
|
|
267
|
+
},
|
|
268
|
+
dark: {
|
|
269
|
+
bodyColor: "#0a0e16",
|
|
270
|
+
baseColor: "#e6ecf5",
|
|
271
|
+
primaryColor: "#4d84ff",
|
|
272
|
+
successColor: "#34d399",
|
|
273
|
+
warningColor: "#f5a524",
|
|
274
|
+
dangerColor: "#f25864",
|
|
275
|
+
errorColor: "#f25864",
|
|
276
|
+
infoColor: "#7d8aa0",
|
|
277
|
+
radius: "14px",
|
|
278
|
+
borderColor: "rgba(91, 140, 255, 0.16)",
|
|
279
|
+
borderWidth: "1px",
|
|
280
|
+
accent: "#22d3ee",
|
|
281
|
+
glow: "0 0 24px rgba(91, 140, 255, 0.35)",
|
|
282
|
+
blur: "14px",
|
|
283
|
+
shadow: "0 0 0 1px rgba(91, 140, 255, 0.08), 0 18px 50px -24px rgba(0, 0, 0, 0.85)",
|
|
284
|
+
focusRing: "0 0 0 3px rgba(91, 140, 255, 0.4)",
|
|
285
|
+
surface: "#121a2b"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
layout: {
|
|
289
|
+
// 意图座舱拓扑:套框沉浸 + 域切换 header + 技能 sidebar + 副驾 aside + 行动状态条 footer。
|
|
290
|
+
viewport: {
|
|
291
|
+
paddingTop: 18,
|
|
292
|
+
paddingRight: 18,
|
|
293
|
+
paddingBottom: 18,
|
|
294
|
+
paddingLeft: 18
|
|
295
|
+
},
|
|
296
|
+
gap: { size: 12 },
|
|
297
|
+
extractLevel1ToHeader: !0,
|
|
298
|
+
header: {
|
|
299
|
+
height: 58,
|
|
300
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
301
|
+
style: { borderRadius: "14px" }
|
|
302
|
+
},
|
|
303
|
+
sidebar: {
|
|
304
|
+
width: 248,
|
|
305
|
+
collapseWidth: 68,
|
|
306
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
307
|
+
style: { borderRadius: "14px" }
|
|
308
|
+
},
|
|
309
|
+
// 常驻副驾 dock:宽 340;route meta.layout.aside=true 时显(壳转 #aside 灌 webagent)。
|
|
310
|
+
aside: {
|
|
311
|
+
width: 340,
|
|
312
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
313
|
+
style: { borderRadius: "14px" }
|
|
314
|
+
},
|
|
315
|
+
// 行动状态条:高 36(CockpitStatusBar 渲于此),榨干 footer 配置。
|
|
316
|
+
footer: {
|
|
317
|
+
height: 36,
|
|
318
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
319
|
+
style: { borderRadius: "14px" }
|
|
320
|
+
},
|
|
321
|
+
// 推理路径条高度调谐(榨干 breadcrumb,31 套 0 用)。
|
|
322
|
+
breadcrumb: { height: 44 },
|
|
323
|
+
body: { shimPadding: 18 },
|
|
324
|
+
shell: N(te)
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
export {
|
|
328
|
+
ne as default
|
|
329
|
+
};
|