@done-coding/admin-plugin-theme 0.3.1 → 0.3.3-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/cockpit-brutal-steel.mjs +1 -1
- package/es/assets/cockpit-liquid-ink.mjs +1 -1
- package/es/assets/cockpit-mono-paper.mjs +1 -1
- package/es/assets/cockpit-neural-field.mjs +1 -1
- package/es/assets/kitchen-foundry.mjs +515 -0
- package/es/assets/studio-stage.mjs +274 -0
- package/es/chunks/CockpitFrameMatte-DGQRZk-I.mjs +52 -0
- package/es/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CoSsDjcF.mjs +194 -0
- package/es/style.css +1 -1
- package/lib/assets/cockpit-brutal-steel.cjs +1 -1
- package/lib/assets/cockpit-liquid-ink.cjs +1 -1
- package/lib/assets/cockpit-mono-paper.cjs +1 -1
- package/lib/assets/cockpit-neural-field.cjs +1 -1
- package/lib/assets/kitchen-foundry.cjs +7 -0
- package/lib/assets/studio-stage.cjs +1 -0
- package/lib/chunks/CockpitFrameMatte-pWBt5o2E.cjs +1 -0
- package/lib/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CgiZq-kW.cjs +1 -0
- package/lib/style.css +1 -1
- package/package.json +3 -3
- package/types/assets/kitchen-foundry.d.ts +3 -0
- package/types/assets/studio-stage.d.ts +17 -0
- package/types/shells/KitchenFoundryShell.vue.d.ts +27 -0
- package/types/shells/KitchenPassRail.vue.d.ts +2 -0
- package/types/shells/StudioStageShell.vue.d.ts +27 -0
- package/types/shells/decor/KitchenFoundryDecor.vue.d.ts +2 -0
- package/types/shells/decor/StudioStageDecor.vue.d.ts +2 -0
- package/types/types.d.ts +1 -1
- package/es/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-B6k0Utzz.mjs +0 -238
- package/lib/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-D2LEvqm8.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as E } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CoSsDjcF.mjs";
|
|
3
3
|
import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as R } from "@done-coding/admin-core";
|
|
4
4
|
import { u as H } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
5
5
|
import { _ as D } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as R } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CoSsDjcF.mjs";
|
|
3
3
|
import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as E } from "@done-coding/admin-core";
|
|
4
4
|
import { u as I } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
5
5
|
import { _ as S } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as m, computed as y, openBlock as d, createBlock as f, Teleport as g, unref as e, createElementBlock as u, normalizeStyle as v, createElementVNode as t, createCommentVNode as h, normalizeProps as _, guardReactiveProps as k, createSlots as C, withCtx as s, createVNode as w, renderSlot as n, markRaw as $ } from "vue";
|
|
2
|
-
import { _ as M } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as M } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CoSsDjcF.mjs";
|
|
3
3
|
import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as x } from "@done-coding/admin-core";
|
|
4
4
|
import { u as R } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
5
5
|
import { _ as B } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, computed as y, openBlock as a, createBlock as w, Teleport as D, unref as e, createElementBlock as l, normalizeStyle as S, createElementVNode as r, createCommentVNode as m, Fragment as _, renderList as g, normalizeProps as M, guardReactiveProps as I, createSlots as G, withCtx as f, createVNode as A, renderSlot as h, markRaw as L } from "vue";
|
|
2
|
-
import { _ as O } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as O } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CoSsDjcF.mjs";
|
|
3
3
|
import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as z } from "@done-coding/admin-core";
|
|
4
4
|
import { u as P } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
5
5
|
import { _ as T } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
import { defineComponent as O, inject as P, computed as c, openBlock as l, createElementBlock as s, normalizeStyle as H, createElementVNode as o, unref as e, Fragment as w, createCommentVNode as T, toDisplayString as B, renderList as S, createTextVNode as Y, createBlock as z, Teleport as K, renderSlot as k, createVNode as _, withCtx as L, markRaw as j } from "vue";
|
|
2
|
+
import { APP_LAYOUT_BRIDGE_KEY as V, ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as G, AppSidebar as U, AppAside as X, AppHeader as Z, AppTheme as N } from "@done-coding/admin-core";
|
|
3
|
+
import { u as W } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
|
|
4
|
+
import { C as q } from "../chunks/CockpitFrameMatte-DGQRZk-I.mjs";
|
|
5
|
+
import { _ as J } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
+
const Q = {
|
|
7
|
+
x: "1",
|
|
8
|
+
y: "3",
|
|
9
|
+
width: "8",
|
|
10
|
+
height: "4",
|
|
11
|
+
rx: "1",
|
|
12
|
+
fill: "var(--admin-core-accent, var(--admin-core-primary-color, var(--el-color-primary)))"
|
|
13
|
+
}, ee = /* @__PURE__ */ O({
|
|
14
|
+
__name: "KitchenPassRail",
|
|
15
|
+
setup(t) {
|
|
16
|
+
const { animated: r } = W(), d = P(V), C = c(() => {
|
|
17
|
+
const p = (d == null ? void 0 : d.themeStyle.value) ?? "";
|
|
18
|
+
return (d == null ? void 0 : d.theme.labelOf(p)) || p || "编排熔炉";
|
|
19
|
+
}), x = c(() => d == null ? void 0 : d.APP_LAYOUT_FOOTER_CONFIG), A = ["检索", "推理", "工具", "汇总"], n = ["done", "done", "now", "pending", "pending"], u = c(() => {
|
|
20
|
+
var p, i, m;
|
|
21
|
+
return {
|
|
22
|
+
...((p = x.value) == null ? void 0 : p.style) ?? {},
|
|
23
|
+
display: "flex",
|
|
24
|
+
alignItems: "center",
|
|
25
|
+
justifyContent: "space-between",
|
|
26
|
+
gap: "16px",
|
|
27
|
+
width: "100%",
|
|
28
|
+
height: `${((i = x.value) == null ? void 0 : i.height) ?? 44}px`,
|
|
29
|
+
padding: "0 16px",
|
|
30
|
+
fontSize: "12px",
|
|
31
|
+
lineHeight: "1",
|
|
32
|
+
fontFamily: "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",
|
|
33
|
+
color: "var(--admin-core-base-color, var(--el-text-color-regular))",
|
|
34
|
+
background: ((m = x.value) == null ? void 0 : m.background) ?? "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
35
|
+
userSelect: "none",
|
|
36
|
+
overflow: "hidden",
|
|
37
|
+
whiteSpace: "nowrap",
|
|
38
|
+
boxSizing: "border-box"
|
|
39
|
+
};
|
|
40
|
+
}), f = {
|
|
41
|
+
display: "flex",
|
|
42
|
+
alignItems: "center",
|
|
43
|
+
gap: "8px",
|
|
44
|
+
flex: "0 0 auto",
|
|
45
|
+
fontWeight: 600
|
|
46
|
+
}, h = {
|
|
47
|
+
flex: "0 0 auto",
|
|
48
|
+
filter: "drop-shadow(0 0 4px var(--admin-core-primary-color, var(--el-color-primary)))"
|
|
49
|
+
}, M = {
|
|
50
|
+
color: "var(--admin-core-primary-color, var(--el-color-primary))"
|
|
51
|
+
}, g = {
|
|
52
|
+
display: "flex",
|
|
53
|
+
alignItems: "center",
|
|
54
|
+
justifyContent: "center",
|
|
55
|
+
gap: "6px",
|
|
56
|
+
flex: "1 1 auto",
|
|
57
|
+
minWidth: "0",
|
|
58
|
+
overflow: "hidden"
|
|
59
|
+
}, R = {
|
|
60
|
+
display: "inline-flex",
|
|
61
|
+
alignItems: "center",
|
|
62
|
+
gap: "5px",
|
|
63
|
+
padding: "3px 10px",
|
|
64
|
+
borderRadius: "var(--admin-core-radius, var(--el-border-radius-base))",
|
|
65
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
66
|
+
border: "1px solid var(--admin-core-border-color, var(--el-border-color-lighter))",
|
|
67
|
+
opacity: 0.85
|
|
68
|
+
}, I = {
|
|
69
|
+
display: "inline-flex",
|
|
70
|
+
alignItems: "center",
|
|
71
|
+
justifyContent: "center",
|
|
72
|
+
width: "14px",
|
|
73
|
+
height: "14px",
|
|
74
|
+
borderRadius: "50%",
|
|
75
|
+
fontSize: "10px",
|
|
76
|
+
fontWeight: 700,
|
|
77
|
+
color: "var(--admin-core-body-color, var(--el-bg-color))",
|
|
78
|
+
background: "var(--admin-core-primary-color, var(--el-color-primary))"
|
|
79
|
+
}, $ = {
|
|
80
|
+
display: "flex",
|
|
81
|
+
alignItems: "center",
|
|
82
|
+
gap: "3px",
|
|
83
|
+
flex: "0 0 auto"
|
|
84
|
+
};
|
|
85
|
+
function E(p) {
|
|
86
|
+
const i = {
|
|
87
|
+
width: "22px",
|
|
88
|
+
height: "6px",
|
|
89
|
+
borderRadius: "3px",
|
|
90
|
+
display: "inline-block"
|
|
91
|
+
};
|
|
92
|
+
return p === "done" ? {
|
|
93
|
+
...i,
|
|
94
|
+
background: "var(--admin-core-success-color, var(--el-color-success))"
|
|
95
|
+
} : p === "now" ? {
|
|
96
|
+
...i,
|
|
97
|
+
background: "var(--admin-core-primary-color, var(--el-color-primary))",
|
|
98
|
+
boxShadow: "0 0 8px var(--admin-core-primary-color, var(--el-color-primary))"
|
|
99
|
+
} : {
|
|
100
|
+
...i,
|
|
101
|
+
background: "transparent",
|
|
102
|
+
border: "1px solid var(--admin-core-border-color, var(--el-border-color-lighter))"
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
return (p, i) => (l(), s("div", {
|
|
106
|
+
class: "kitchen-pass-rail",
|
|
107
|
+
style: H(u.value)
|
|
108
|
+
}, [
|
|
109
|
+
o("div", { style: f }, [
|
|
110
|
+
(l(), s("svg", {
|
|
111
|
+
width: "12",
|
|
112
|
+
height: "10",
|
|
113
|
+
viewBox: "0 0 12 10",
|
|
114
|
+
style: h,
|
|
115
|
+
"aria-hidden": "true"
|
|
116
|
+
}, [
|
|
117
|
+
o("rect", Q, [
|
|
118
|
+
e(r) ? (l(), s(w, { key: 0 }, [
|
|
119
|
+
i[0] || (i[0] = o("animate", {
|
|
120
|
+
attributeName: "opacity",
|
|
121
|
+
values: "1;0.3;1",
|
|
122
|
+
dur: "2s",
|
|
123
|
+
repeatCount: "indefinite"
|
|
124
|
+
}, null, -1)),
|
|
125
|
+
i[1] || (i[1] = o("animate", {
|
|
126
|
+
attributeName: "width",
|
|
127
|
+
values: "8;11;8",
|
|
128
|
+
dur: "2s",
|
|
129
|
+
repeatCount: "indefinite"
|
|
130
|
+
}, null, -1))
|
|
131
|
+
], 64)) : T("", !0)
|
|
132
|
+
])
|
|
133
|
+
])),
|
|
134
|
+
o("span", { style: M }, B(C.value), 1),
|
|
135
|
+
i[2] || (i[2] = o("span", { style: { opacity: 0.66 } }, "编排待命", -1))
|
|
136
|
+
]),
|
|
137
|
+
o("div", { style: g }, [
|
|
138
|
+
(l(), s(w, null, S(A, (m, v) => o("span", {
|
|
139
|
+
key: m,
|
|
140
|
+
style: R
|
|
141
|
+
}, [
|
|
142
|
+
o("span", { style: I }, B(v + 1), 1),
|
|
143
|
+
Y(" " + B(m), 1)
|
|
144
|
+
])), 64))
|
|
145
|
+
]),
|
|
146
|
+
o("div", { style: $ }, [
|
|
147
|
+
(l(), s(w, null, S(n, (m, v) => o("i", {
|
|
148
|
+
key: v,
|
|
149
|
+
style: H(E(m))
|
|
150
|
+
}, null, 4)), 64))
|
|
151
|
+
])
|
|
152
|
+
], 4));
|
|
153
|
+
}
|
|
154
|
+
}), oe = ["width", "height", "viewBox"], te = {
|
|
155
|
+
id: "kfHeatSeg",
|
|
156
|
+
x1: "0%",
|
|
157
|
+
y1: "0%",
|
|
158
|
+
x2: "100%",
|
|
159
|
+
y2: "0%"
|
|
160
|
+
}, re = ["stop-color"], ae = ["stop-color"], ne = ["stop-color"], ie = {
|
|
161
|
+
id: "kfHatch",
|
|
162
|
+
width: "7",
|
|
163
|
+
height: "7",
|
|
164
|
+
patternUnits: "userSpaceOnUse",
|
|
165
|
+
patternTransform: "rotate(45)"
|
|
166
|
+
}, le = ["stroke"], se = { id: "kfRingMask" }, de = ["width", "height"], ce = ["x", "y", "width", "height"], ue = { mask: "url(#kfRingMask)" }, pe = ["stroke", "opacity"], he = ["x1", "y1", "x2", "y2"], ye = ["stroke", "opacity"], fe = ["x1", "y1", "x2", "y2"], me = ["x1", "y1", "x2", "y2"], ve = ["x", "y", "width", "fill", "opacity"], xe = ["x", "y", "height", "opacity"], ge = ["x", "y", "width", "fill", "opacity"], be = ["x", "y", "opacity"], we = ["values"], ke = ["stroke", "opacity"], _e = ["x1", "y1", "x2", "y2"], F = 24, Ce = /* @__PURE__ */ O({
|
|
167
|
+
__name: "KitchenFoundryDecor",
|
|
168
|
+
setup(t) {
|
|
169
|
+
const {
|
|
170
|
+
isDark: r,
|
|
171
|
+
animated: d,
|
|
172
|
+
vw: C,
|
|
173
|
+
vh: x,
|
|
174
|
+
hasFrame: A,
|
|
175
|
+
hollowX: n,
|
|
176
|
+
hollowY: u,
|
|
177
|
+
hollowW: f,
|
|
178
|
+
hollowH: h
|
|
179
|
+
} = W(), M = c(() => r.value ? "#3a4a5e" : "#9fb0c2"), g = c(() => r.value ? "#ff8a3c" : "#d4702a"), R = c(() => r.value ? "#ff5070" : "#d83048"), I = c(
|
|
180
|
+
() => Array.from(
|
|
181
|
+
{ length: Math.floor(h.value / F) },
|
|
182
|
+
(v, b) => u.value + b * F
|
|
183
|
+
)
|
|
184
|
+
), $ = c(
|
|
185
|
+
() => Array.from(
|
|
186
|
+
{ length: Math.floor(f.value / F) },
|
|
187
|
+
(v, b) => n.value + b * F
|
|
188
|
+
)
|
|
189
|
+
), E = c(() => Math.max(0, u.value - 9)), p = c(() => x.value * 0.46), i = c(() => Math.min(100, h.value * 0.17)), m = c(() => {
|
|
190
|
+
const v = n.value, b = u.value, a = n.value + f.value, y = u.value + h.value;
|
|
191
|
+
return [
|
|
192
|
+
{ x: v, y: b },
|
|
193
|
+
{ x: a, y: b },
|
|
194
|
+
{ x: v, y },
|
|
195
|
+
{ x: a, y }
|
|
196
|
+
];
|
|
197
|
+
});
|
|
198
|
+
return (v, b) => (l(), z(K, { to: "body" }, [
|
|
199
|
+
e(A) ? (l(), s("svg", {
|
|
200
|
+
key: 0,
|
|
201
|
+
class: "kitchen-foundry-decor",
|
|
202
|
+
style: H({
|
|
203
|
+
position: "fixed",
|
|
204
|
+
left: 0,
|
|
205
|
+
top: 0,
|
|
206
|
+
pointerEvents: "none",
|
|
207
|
+
zIndex: e(G),
|
|
208
|
+
opacity: e(r) ? 1 : 0.7
|
|
209
|
+
}),
|
|
210
|
+
width: e(C),
|
|
211
|
+
height: e(x),
|
|
212
|
+
viewBox: `0 0 ${e(C)} ${e(x)}`,
|
|
213
|
+
"aria-hidden": "true"
|
|
214
|
+
}, [
|
|
215
|
+
o("defs", null, [
|
|
216
|
+
o("linearGradient", te, [
|
|
217
|
+
o("stop", {
|
|
218
|
+
offset: "0%",
|
|
219
|
+
"stop-color": g.value,
|
|
220
|
+
"stop-opacity": "0"
|
|
221
|
+
}, null, 8, re),
|
|
222
|
+
o("stop", {
|
|
223
|
+
offset: "50%",
|
|
224
|
+
"stop-color": g.value,
|
|
225
|
+
"stop-opacity": "1"
|
|
226
|
+
}, null, 8, ae),
|
|
227
|
+
o("stop", {
|
|
228
|
+
offset: "100%",
|
|
229
|
+
"stop-color": g.value,
|
|
230
|
+
"stop-opacity": "0"
|
|
231
|
+
}, null, 8, ne)
|
|
232
|
+
]),
|
|
233
|
+
o("pattern", ie, [
|
|
234
|
+
o("line", {
|
|
235
|
+
x1: "0",
|
|
236
|
+
y1: "0",
|
|
237
|
+
x2: "0",
|
|
238
|
+
y2: "7",
|
|
239
|
+
stroke: R.value,
|
|
240
|
+
"stroke-width": "2.4"
|
|
241
|
+
}, null, 8, le)
|
|
242
|
+
]),
|
|
243
|
+
o("mask", se, [
|
|
244
|
+
o("rect", {
|
|
245
|
+
x: "0",
|
|
246
|
+
y: "0",
|
|
247
|
+
width: e(C),
|
|
248
|
+
height: e(x),
|
|
249
|
+
fill: "white"
|
|
250
|
+
}, null, 8, de),
|
|
251
|
+
o("rect", {
|
|
252
|
+
x: e(n),
|
|
253
|
+
y: e(u),
|
|
254
|
+
width: e(f),
|
|
255
|
+
height: e(h),
|
|
256
|
+
fill: "black"
|
|
257
|
+
}, null, 8, ce)
|
|
258
|
+
])
|
|
259
|
+
]),
|
|
260
|
+
o("g", ue, [
|
|
261
|
+
o("g", {
|
|
262
|
+
stroke: M.value,
|
|
263
|
+
opacity: e(r) ? 0.7 : 0.46,
|
|
264
|
+
"stroke-width": "1.4"
|
|
265
|
+
}, [
|
|
266
|
+
(l(!0), s(w, null, S(I.value, (a, y) => (l(), s("line", {
|
|
267
|
+
key: `lt${y}`,
|
|
268
|
+
x1: e(n),
|
|
269
|
+
y1: a,
|
|
270
|
+
x2: e(n) - (y % 5 === 0 ? 12 : 6),
|
|
271
|
+
y2: a
|
|
272
|
+
}, null, 8, he))), 128))
|
|
273
|
+
], 8, pe),
|
|
274
|
+
o("g", {
|
|
275
|
+
stroke: g.value,
|
|
276
|
+
"stroke-width": "1.6",
|
|
277
|
+
opacity: e(r) ? 0.82 : 0.55,
|
|
278
|
+
fill: "none"
|
|
279
|
+
}, [
|
|
280
|
+
(l(!0), s(w, null, S(m.value, (a, y) => (l(), s("g", {
|
|
281
|
+
key: `cm${y}`
|
|
282
|
+
}, [
|
|
283
|
+
o("line", {
|
|
284
|
+
x1: a.x - 11,
|
|
285
|
+
y1: a.y,
|
|
286
|
+
x2: a.x + 11,
|
|
287
|
+
y2: a.y
|
|
288
|
+
}, null, 8, fe),
|
|
289
|
+
o("line", {
|
|
290
|
+
x1: a.x,
|
|
291
|
+
y1: a.y - 11,
|
|
292
|
+
x2: a.x,
|
|
293
|
+
y2: a.y + 11
|
|
294
|
+
}, null, 8, me)
|
|
295
|
+
]))), 128))
|
|
296
|
+
], 8, ye),
|
|
297
|
+
o("rect", {
|
|
298
|
+
x: e(n),
|
|
299
|
+
y: E.value,
|
|
300
|
+
width: e(f),
|
|
301
|
+
height: "2",
|
|
302
|
+
fill: g.value,
|
|
303
|
+
opacity: e(r) ? 0.34 : 0.2
|
|
304
|
+
}, null, 8, ve),
|
|
305
|
+
o("rect", {
|
|
306
|
+
x: e(n) + e(f) + 6,
|
|
307
|
+
y: p.value,
|
|
308
|
+
width: "8",
|
|
309
|
+
height: i.value,
|
|
310
|
+
rx: "1",
|
|
311
|
+
fill: "url(#kfHatch)",
|
|
312
|
+
opacity: e(r) ? 0.6 : 0.36
|
|
313
|
+
}, null, 8, xe),
|
|
314
|
+
o("rect", {
|
|
315
|
+
x: e(n),
|
|
316
|
+
y: e(u) + e(h) + 7,
|
|
317
|
+
width: e(f),
|
|
318
|
+
height: "6",
|
|
319
|
+
rx: "1",
|
|
320
|
+
fill: g.value,
|
|
321
|
+
opacity: e(r) ? 0.4 : 0.24
|
|
322
|
+
}, null, 8, ge),
|
|
323
|
+
e(d) ? (l(), s("rect", {
|
|
324
|
+
key: 0,
|
|
325
|
+
x: e(n),
|
|
326
|
+
y: e(u) + e(h) + 7,
|
|
327
|
+
width: "180",
|
|
328
|
+
height: "6",
|
|
329
|
+
rx: "1",
|
|
330
|
+
fill: "url(#kfHeatSeg)",
|
|
331
|
+
opacity: e(r) ? 0.95 : 0.62
|
|
332
|
+
}, [
|
|
333
|
+
o("animate", {
|
|
334
|
+
attributeName: "x",
|
|
335
|
+
values: `${e(n)};${e(n) + e(f) - 180};${e(n)}`,
|
|
336
|
+
dur: "10s",
|
|
337
|
+
repeatCount: "indefinite"
|
|
338
|
+
}, null, 8, we)
|
|
339
|
+
], 8, be)) : T("", !0),
|
|
340
|
+
o("g", {
|
|
341
|
+
stroke: M.value,
|
|
342
|
+
opacity: e(r) ? 0.6 : 0.4,
|
|
343
|
+
"stroke-width": "1.2"
|
|
344
|
+
}, [
|
|
345
|
+
(l(!0), s(w, null, S($.value, (a, y) => (l(), s("line", {
|
|
346
|
+
key: `bt${y}`,
|
|
347
|
+
x1: a,
|
|
348
|
+
y1: e(u) + e(h) + 15,
|
|
349
|
+
x2: a,
|
|
350
|
+
y2: e(u) + e(h) + (y % 5 === 0 ? 19 : 17)
|
|
351
|
+
}, null, 8, _e))), 128))
|
|
352
|
+
], 8, ke)
|
|
353
|
+
])
|
|
354
|
+
], 12, oe)) : T("", !0)
|
|
355
|
+
]));
|
|
356
|
+
}
|
|
357
|
+
}), Se = /* @__PURE__ */ J(Ce, [["__scopeId", "data-v-d39e914e"]]), Me = /* @__PURE__ */ O({
|
|
358
|
+
__name: "KitchenFoundryShell",
|
|
359
|
+
props: {
|
|
360
|
+
menus: {},
|
|
361
|
+
menuFlatList: {},
|
|
362
|
+
sidebarMenus: {},
|
|
363
|
+
headerMenus: {},
|
|
364
|
+
activeMenu: {},
|
|
365
|
+
activeModuleMenu: {},
|
|
366
|
+
showHeader: { type: Boolean },
|
|
367
|
+
showSidebar: { type: Boolean },
|
|
368
|
+
showAside: { type: Boolean },
|
|
369
|
+
sidebarAboveHeader: { type: Boolean }
|
|
370
|
+
},
|
|
371
|
+
setup(t) {
|
|
372
|
+
return (r, d) => (l(), s(w, null, [
|
|
373
|
+
k(r.$slots, "default", { Footer: ee }),
|
|
374
|
+
_(e(U), {
|
|
375
|
+
show: t.showSidebar,
|
|
376
|
+
aboveHeader: t.sidebarAboveHeader,
|
|
377
|
+
menus: t.sidebarMenus,
|
|
378
|
+
menuFlatList: t.menuFlatList
|
|
379
|
+
}, null, 8, ["show", "aboveHeader", "menus", "menuFlatList"]),
|
|
380
|
+
_(e(X), { show: t.showAside }, {
|
|
381
|
+
default: L(() => [
|
|
382
|
+
k(r.$slots, "aside")
|
|
383
|
+
]),
|
|
384
|
+
_: 3
|
|
385
|
+
}, 8, ["show"]),
|
|
386
|
+
_(e(Z), {
|
|
387
|
+
show: t.showHeader,
|
|
388
|
+
menus: t.headerMenus,
|
|
389
|
+
activeMenu: t.activeMenu,
|
|
390
|
+
activeModuleMenu: t.activeModuleMenu,
|
|
391
|
+
menuFlatList: t.menuFlatList
|
|
392
|
+
}, {
|
|
393
|
+
left: L(() => [
|
|
394
|
+
k(r.$slots, "brand")
|
|
395
|
+
]),
|
|
396
|
+
right: L(() => [
|
|
397
|
+
k(r.$slots, "themeSwitcher", { Default: e(N) }, () => [
|
|
398
|
+
_(e(N))
|
|
399
|
+
]),
|
|
400
|
+
k(r.$slots, "userEntry"),
|
|
401
|
+
k(r.$slots, "settings")
|
|
402
|
+
]),
|
|
403
|
+
_: 3
|
|
404
|
+
}, 8, ["show", "menus", "activeMenu", "activeModuleMenu", "menuFlatList"]),
|
|
405
|
+
_(q),
|
|
406
|
+
_(Se)
|
|
407
|
+
], 64));
|
|
408
|
+
}
|
|
409
|
+
}), D = "admin-theme-kitchen-foundry";
|
|
410
|
+
function Fe() {
|
|
411
|
+
if (typeof document > "u" || document.getElementById(D)) return;
|
|
412
|
+
const t = document.createElement("style");
|
|
413
|
+
t.id = D, t.setAttribute("data-admin-theme", "kitchen-foundry"), t.textContent = `
|
|
414
|
+
.app-header-module-item{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;}
|
|
415
|
+
.app-header-module-item_active{box-shadow:inset 0 -3px 0 var(--admin-core-primary-color, #ff6a1a);}
|
|
416
|
+
.app-sidebar,.app-footer{position:relative;}
|
|
417
|
+
.app-sidebar::before{content:"";position:absolute;top:16px;bottom:16px;left:0;width:2px;background:var(--admin-core-primary-color, #ff6a1a);opacity:.5;border-radius:2px;pointer-events:none;}
|
|
418
|
+
.app-footer::before{content:"";position:absolute;left:16px;right:16px;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--admin-core-primary-color, #ff6a1a),var(--admin-core-accent, #ffb000),transparent);opacity:.6;pointer-events:none;}
|
|
419
|
+
`, document.head.appendChild(t);
|
|
420
|
+
}
|
|
421
|
+
function Ae() {
|
|
422
|
+
var t;
|
|
423
|
+
typeof document > "u" || (t = document.getElementById(D)) == null || t.remove();
|
|
424
|
+
}
|
|
425
|
+
const Le = {
|
|
426
|
+
id: "kitchen-foundry",
|
|
427
|
+
label: "编排熔炉",
|
|
428
|
+
description: {
|
|
429
|
+
suitable: "AI 应用层编排平台旗舰:langgraph / 智能体编排 / 流程执行 / 运行日志等场景;要冷钢精密 + ember 执行热感、暗场为主、控制台拓扑(模块切换 + 流程节点 + 执行日志 aside + 出餐轨状态条)。",
|
|
430
|
+
unsuitable: "偏好亮场暖色亲和的内容型后台;纯静态报表台;低视觉负载 / 动效敏感诉求(请用墨纸类极简)。"
|
|
431
|
+
},
|
|
432
|
+
config: {
|
|
433
|
+
light: {
|
|
434
|
+
bodyColor: "#e8ecef",
|
|
435
|
+
baseColor: "#111820",
|
|
436
|
+
primaryColor: "#c94712",
|
|
437
|
+
successColor: "#1f9d6b",
|
|
438
|
+
warningColor: "#c2900f",
|
|
439
|
+
dangerColor: "#d22e3e",
|
|
440
|
+
errorColor: "#d22e3e",
|
|
441
|
+
infoColor: "#607182",
|
|
442
|
+
radius: "6px",
|
|
443
|
+
borderColor: "#c9d1d8",
|
|
444
|
+
borderWidth: "1px",
|
|
445
|
+
accent: "#b88700",
|
|
446
|
+
glow: "0 0 0 1px rgba(201, 71, 18, 0.14)",
|
|
447
|
+
shadow: "0 10px 28px -18px rgba(8, 11, 14, 0.18)",
|
|
448
|
+
focusRing: "0 0 0 3px rgba(201, 71, 18, 0.22)",
|
|
449
|
+
surface: "#f9faf8"
|
|
450
|
+
},
|
|
451
|
+
dark: {
|
|
452
|
+
bodyColor: "#080b0e",
|
|
453
|
+
baseColor: "#e6eef3",
|
|
454
|
+
primaryColor: "#ff6a1a",
|
|
455
|
+
successColor: "#2fd18a",
|
|
456
|
+
warningColor: "#f6c445",
|
|
457
|
+
dangerColor: "#ff2f55",
|
|
458
|
+
errorColor: "#ff2f55",
|
|
459
|
+
infoColor: "#6f8498",
|
|
460
|
+
radius: "6px",
|
|
461
|
+
borderColor: "rgba(132, 158, 178, 0.2)",
|
|
462
|
+
borderWidth: "1px",
|
|
463
|
+
accent: "#ffb000",
|
|
464
|
+
glow: "0 0 22px rgba(255, 106, 26, 0.4)",
|
|
465
|
+
shadow: "0 0 0 1px rgba(255, 106, 26, 0.07), 0 18px 44px -22px rgba(0, 0, 0, 0.92)",
|
|
466
|
+
focusRing: "0 0 0 3px rgba(255, 106, 26, 0.45)",
|
|
467
|
+
surface: "#10161c"
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
layout: {
|
|
471
|
+
viewport: {
|
|
472
|
+
paddingTop: 20,
|
|
473
|
+
paddingRight: 20,
|
|
474
|
+
paddingBottom: 20,
|
|
475
|
+
paddingLeft: 20
|
|
476
|
+
},
|
|
477
|
+
gap: { size: 10 },
|
|
478
|
+
extractLevel1ToHeader: !0,
|
|
479
|
+
// 旗舰工业感靠精密硬边 + 紧凑密度(radius 6px / 低矮 header / 节点 rail / 加宽 inspector / 加高 pass rail)。
|
|
480
|
+
header: {
|
|
481
|
+
height: 52,
|
|
482
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
483
|
+
style: { borderRadius: "6px" }
|
|
484
|
+
},
|
|
485
|
+
sidebar: {
|
|
486
|
+
width: 216,
|
|
487
|
+
collapseWidth: 64,
|
|
488
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
489
|
+
style: { borderRadius: "6px" }
|
|
490
|
+
},
|
|
491
|
+
aside: {
|
|
492
|
+
width: 360,
|
|
493
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
494
|
+
style: { borderRadius: "6px" }
|
|
495
|
+
},
|
|
496
|
+
footer: {
|
|
497
|
+
height: 44,
|
|
498
|
+
background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
|
|
499
|
+
style: { borderRadius: "6px" }
|
|
500
|
+
},
|
|
501
|
+
breadcrumb: { height: 40 },
|
|
502
|
+
body: { shimPadding: 18 },
|
|
503
|
+
shell: j(Me)
|
|
504
|
+
},
|
|
505
|
+
// 生命周期钩子(榨干点):激活注入等宽 + 大写模块导航氛围,切走 / 注销清理。
|
|
506
|
+
onActivate() {
|
|
507
|
+
Fe();
|
|
508
|
+
},
|
|
509
|
+
onDeactivate() {
|
|
510
|
+
Ae();
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
export {
|
|
514
|
+
Le as default
|
|
515
|
+
};
|