@done-coding/admin-plugin-theme 0.4.0 → 0.4.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.
Files changed (122) hide show
  1. package/README.md +1 -131
  2. package/es/assets/applied-intelligence-frame.mjs +13 -13
  3. package/es/assets/applied-intelligence-nebula.mjs +31 -31
  4. package/es/assets/aurora-mesh.mjs +30 -30
  5. package/es/assets/botanical-paper.mjs +2 -2
  6. package/es/assets/cockpit-brutal-steel.mjs +20 -20
  7. package/es/assets/cockpit-liquid-ink.mjs +52 -52
  8. package/es/assets/cockpit-mono-paper.mjs +21 -21
  9. package/es/assets/cockpit-neural-field.mjs +36 -36
  10. package/es/assets/compact-rail.mjs +5 -5
  11. package/es/assets/console-horizon.mjs +1 -1
  12. package/es/assets/copilot-calm.mjs +2 -2
  13. package/es/assets/copilot-stage.mjs +8 -8
  14. package/es/assets/coral-reef.mjs +2 -2
  15. package/es/assets/dragon-vermilion.mjs +27 -27
  16. package/es/assets/film-grade.mjs +26 -26
  17. package/es/assets/kitchen-foundry.mjs +84 -84
  18. package/es/assets/neon-set.mjs +17 -17
  19. package/es/assets/nordic-fjord.mjs +2 -2
  20. package/es/assets/perspective-deck.mjs +21 -21
  21. package/es/assets/quantum-ai.mjs +16 -16
  22. package/es/assets/sandstone-editorial.mjs +2 -2
  23. package/es/assets/starfield-cosmos.mjs +14 -14
  24. package/es/assets/studio-ink.mjs +27 -27
  25. package/es/assets/studio-stage.mjs +12 -12
  26. package/es/assets/studio-triptych.mjs +14 -14
  27. package/es/assets/sunset-amber.mjs +2 -2
  28. package/es/assets/synapse-grid.mjs +11 -11
  29. package/es/assets/terminal-phosphor.mjs +21 -21
  30. package/es/assets/velvet-noir.mjs +2 -2
  31. package/es/chunks/CockpitFrameMatte-BbTtd3J2.mjs +52 -0
  32. 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
  33. package/es/index.mjs +5 -5
  34. package/es/style.css +1 -1
  35. package/package.json +7 -8
  36. package/types/assets/applied-intelligence-frame.d.ts +2 -14
  37. package/types/assets/applied-intelligence-nebula.d.ts +2 -13
  38. package/types/assets/aurora-mesh.d.ts +2 -8
  39. package/types/assets/botanical-paper.d.ts +2 -9
  40. package/types/assets/brutal-concrete.d.ts +2 -9
  41. package/types/assets/cockpit-brutal-steel.d.ts +2 -2
  42. package/types/assets/cockpit-liquid-ink.d.ts +2 -13
  43. package/types/assets/cockpit-mono-paper.d.ts +2 -11
  44. package/types/assets/cockpit-neural-field.d.ts +2 -10
  45. package/types/assets/compact-rail.d.ts +2 -8
  46. package/types/assets/console-horizon.d.ts +2 -8
  47. package/types/assets/contrast.d.ts +2 -9
  48. package/types/assets/copilot-calm.d.ts +2 -9
  49. package/types/assets/copilot-stage.d.ts +2 -8
  50. package/types/assets/coral-reef.d.ts +2 -9
  51. package/types/assets/cyber.d.ts +2 -8
  52. package/types/assets/dragon-vermilion.d.ts +2 -8
  53. package/types/assets/film-grade.d.ts +2 -11
  54. package/types/assets/glass.d.ts +2 -8
  55. package/types/assets/graphite-mono.d.ts +2 -9
  56. package/types/assets/gugong.d.ts +2 -8
  57. package/types/assets/ink.d.ts +2 -8
  58. package/types/assets/kitchen-foundry.d.ts +2 -2
  59. package/types/assets/neon-set.d.ts +2 -11
  60. package/types/assets/nordic-fjord.d.ts +2 -8
  61. package/types/assets/perspective-deck.d.ts +2 -9
  62. package/types/assets/quantum-ai.d.ts +2 -8
  63. package/types/assets/sandstone-editorial.d.ts +2 -9
  64. package/types/assets/soft.d.ts +2 -8
  65. package/types/assets/starfield-cosmos.d.ts +2 -9
  66. package/types/assets/studio-ink.d.ts +2 -11
  67. package/types/assets/studio-stage.d.ts +2 -16
  68. package/types/assets/studio-triptych.d.ts +2 -8
  69. package/types/assets/sunset-amber.d.ts +2 -9
  70. package/types/assets/synapse-grid.d.ts +2 -8
  71. package/types/assets/terminal-phosphor.d.ts +2 -8
  72. package/types/assets/velvet-noir.d.ts +2 -9
  73. package/types/index.d.ts +1 -1
  74. package/types/plugin.d.ts +3 -21
  75. package/types/shells/decor/use-frame-geometry.d.ts +0 -13
  76. package/types/types.d.ts +10 -77
  77. package/es/chunks/CockpitFrameMatte-DGQRZk-I.mjs +0 -52
  78. package/lib/assets/applied-intelligence-frame.cjs +0 -1
  79. package/lib/assets/applied-intelligence-nebula.cjs +0 -1
  80. package/lib/assets/aurora-mesh.cjs +0 -1
  81. package/lib/assets/botanical-paper.cjs +0 -1
  82. package/lib/assets/brutal-concrete.cjs +0 -1
  83. package/lib/assets/cockpit-brutal-steel.cjs +0 -4
  84. package/lib/assets/cockpit-liquid-ink.cjs +0 -1
  85. package/lib/assets/cockpit-mono-paper.cjs +0 -1
  86. package/lib/assets/cockpit-neural-field.cjs +0 -1
  87. package/lib/assets/compact-rail.cjs +0 -1
  88. package/lib/assets/console-horizon.cjs +0 -1
  89. package/lib/assets/contrast.cjs +0 -1
  90. package/lib/assets/copilot-calm.cjs +0 -1
  91. package/lib/assets/copilot-stage.cjs +0 -1
  92. package/lib/assets/coral-reef.cjs +0 -1
  93. package/lib/assets/cyber.cjs +0 -1
  94. package/lib/assets/dragon-vermilion.cjs +0 -1
  95. package/lib/assets/film-grade.cjs +0 -1
  96. package/lib/assets/glass.cjs +0 -1
  97. package/lib/assets/graphite-mono.cjs +0 -1
  98. package/lib/assets/gugong.cjs +0 -1
  99. package/lib/assets/ink.cjs +0 -1
  100. package/lib/assets/kitchen-foundry.cjs +0 -7
  101. package/lib/assets/neon-set.cjs +0 -1
  102. package/lib/assets/nordic-fjord.cjs +0 -1
  103. package/lib/assets/perspective-deck.cjs +0 -1
  104. package/lib/assets/quantum-ai.cjs +0 -1
  105. package/lib/assets/sandstone-editorial.cjs +0 -1
  106. package/lib/assets/soft.cjs +0 -1
  107. package/lib/assets/starfield-cosmos.cjs +0 -1
  108. package/lib/assets/studio-ink.cjs +0 -1
  109. package/lib/assets/studio-stage.cjs +0 -1
  110. package/lib/assets/studio-triptych.cjs +0 -1
  111. package/lib/assets/sunset-amber.cjs +0 -1
  112. package/lib/assets/synapse-grid.cjs +0 -1
  113. package/lib/assets/terminal-phosphor.cjs +0 -1
  114. package/lib/assets/velvet-noir.cjs +0 -1
  115. package/lib/chunks/CockpitFrameMatte-pWBt5o2E.cjs +0 -1
  116. package/lib/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CgiZq-kW.cjs +0 -1
  117. package/lib/chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-C-mttf00.cjs +0 -1
  118. package/lib/chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-LJ3mDZkH.cjs +0 -1
  119. package/lib/chunks/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
  120. package/lib/chunks/use-frame-geometry-5WRLC-WU.cjs +0 -1
  121. package/lib/index.cjs +0 -1
  122. package/lib/style.css +0 -1
@@ -1,7 +1,7 @@
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";
1
+ import { defineComponent as D, inject as P, computed as d, openBlock as i, 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, 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
3
  import { u as W } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
4
- import { C as q } from "../chunks/CockpitFrameMatte-DGQRZk-I.mjs";
4
+ import { C as q } from "../chunks/CockpitFrameMatte-BbTtd3J2.mjs";
5
5
  import { _ as J } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
6
6
  const Q = {
7
7
  x: "1",
@@ -9,15 +9,15 @@ const Q = {
9
9
  width: "8",
10
10
  height: "4",
11
11
  rx: "1",
12
- fill: "var(--admin-core-accent, var(--admin-core-primary-color, var(--el-color-primary)))"
13
- }, ee = /* @__PURE__ */ O({
12
+ fill: "var(--dc-core-accent, var(--dc-core-primary-color, var(--el-color-primary)))"
13
+ }, ee = /* @__PURE__ */ D({
14
14
  __name: "KitchenPassRail",
15
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;
16
+ const { animated: r } = W(), c = P(V), C = d(() => {
17
+ const p = (c == null ? void 0 : c.themeStyle.value) ?? "";
18
+ return (c == null ? void 0 : c.theme.labelOf(p)) || p || "编排熔炉";
19
+ }), x = d(() => c == null ? void 0 : c.APP_LAYOUT_FOOTER_CONFIG), R = ["检索", "推理", "工具", "汇总"], n = ["done", "done", "now", "pending", "pending"], u = d(() => {
20
+ var p, l, v;
21
21
  return {
22
22
  ...((p = x.value) == null ? void 0 : p.style) ?? {},
23
23
  display: "flex",
@@ -25,13 +25,13 @@ const Q = {
25
25
  justifyContent: "space-between",
26
26
  gap: "16px",
27
27
  width: "100%",
28
- height: `${((i = x.value) == null ? void 0 : i.height) ?? 44}px`,
28
+ height: `${((l = x.value) == null ? void 0 : l.height) ?? 44}px`,
29
29
  padding: "0 16px",
30
30
  fontSize: "12px",
31
31
  lineHeight: "1",
32
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))",
33
+ color: "var(--dc-core-base-color, var(--el-text-color-regular))",
34
+ background: ((v = x.value) == null ? void 0 : v.background) ?? "var(--dc-core-surface, var(--el-bg-color-overlay))",
35
35
  userSelect: "none",
36
36
  overflow: "hidden",
37
37
  whiteSpace: "nowrap",
@@ -45,9 +45,9 @@ const Q = {
45
45
  fontWeight: 600
46
46
  }, h = {
47
47
  flex: "0 0 auto",
48
- filter: "drop-shadow(0 0 4px var(--admin-core-primary-color, var(--el-color-primary)))"
48
+ filter: "drop-shadow(0 0 4px var(--dc-core-primary-color, var(--el-color-primary)))"
49
49
  }, M = {
50
- color: "var(--admin-core-primary-color, var(--el-color-primary))"
50
+ color: "var(--dc-core-primary-color, var(--el-color-primary))"
51
51
  }, g = {
52
52
  display: "flex",
53
53
  alignItems: "center",
@@ -56,14 +56,14 @@ const Q = {
56
56
  flex: "1 1 auto",
57
57
  minWidth: "0",
58
58
  overflow: "hidden"
59
- }, R = {
59
+ }, A = {
60
60
  display: "inline-flex",
61
61
  alignItems: "center",
62
62
  gap: "5px",
63
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))",
64
+ borderRadius: "var(--dc-core-radius, var(--el-border-radius-base))",
65
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
66
+ border: "1px solid var(--dc-core-border-color, var(--el-border-color-lighter))",
67
67
  opacity: 0.85
68
68
  }, I = {
69
69
  display: "inline-flex",
@@ -74,8 +74,8 @@ const Q = {
74
74
  borderRadius: "50%",
75
75
  fontSize: "10px",
76
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))"
77
+ color: "var(--dc-core-body-color, var(--el-bg-color))",
78
+ background: "var(--dc-core-primary-color, var(--el-color-primary))"
79
79
  }, $ = {
80
80
  display: "flex",
81
81
  alignItems: "center",
@@ -83,31 +83,31 @@ const Q = {
83
83
  flex: "0 0 auto"
84
84
  };
85
85
  function E(p) {
86
- const i = {
86
+ const l = {
87
87
  width: "22px",
88
88
  height: "6px",
89
89
  borderRadius: "3px",
90
90
  display: "inline-block"
91
91
  };
92
92
  return p === "done" ? {
93
- ...i,
94
- background: "var(--admin-core-success-color, var(--el-color-success))"
93
+ ...l,
94
+ background: "var(--dc-core-success-color, var(--el-color-success))"
95
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))"
96
+ ...l,
97
+ background: "var(--dc-core-primary-color, var(--el-color-primary))",
98
+ boxShadow: "0 0 8px var(--dc-core-primary-color, var(--el-color-primary))"
99
99
  } : {
100
- ...i,
100
+ ...l,
101
101
  background: "transparent",
102
- border: "1px solid var(--admin-core-border-color, var(--el-border-color-lighter))"
102
+ border: "1px solid var(--dc-core-border-color, var(--el-border-color-lighter))"
103
103
  };
104
104
  }
105
- return (p, i) => (l(), s("div", {
105
+ return (p, l) => (i(), s("div", {
106
106
  class: "kitchen-pass-rail",
107
107
  style: H(u.value)
108
108
  }, [
109
109
  o("div", { style: f }, [
110
- (l(), s("svg", {
110
+ (i(), s("svg", {
111
111
  width: "12",
112
112
  height: "10",
113
113
  viewBox: "0 0 12 10",
@@ -115,14 +115,14 @@ const Q = {
115
115
  "aria-hidden": "true"
116
116
  }, [
117
117
  o("rect", Q, [
118
- e(r) ? (l(), s(w, { key: 0 }, [
119
- i[0] || (i[0] = o("animate", {
118
+ e(r) ? (i(), s(w, { key: 0 }, [
119
+ l[0] || (l[0] = o("animate", {
120
120
  attributeName: "opacity",
121
121
  values: "1;0.3;1",
122
122
  dur: "2s",
123
123
  repeatCount: "indefinite"
124
124
  }, null, -1)),
125
- i[1] || (i[1] = o("animate", {
125
+ l[1] || (l[1] = o("animate", {
126
126
  attributeName: "width",
127
127
  values: "8;11;8",
128
128
  dur: "2s",
@@ -132,21 +132,21 @@ const Q = {
132
132
  ])
133
133
  ])),
134
134
  o("span", { style: M }, B(C.value), 1),
135
- i[2] || (i[2] = o("span", { style: { opacity: 0.66 } }, "编排待命", -1))
135
+ l[2] || (l[2] = o("span", { style: { opacity: 0.66 } }, "编排待命", -1))
136
136
  ]),
137
137
  o("div", { style: g }, [
138
- (l(), s(w, null, S(A, (m, v) => o("span", {
139
- key: m,
140
- style: R
138
+ (i(), s(w, null, S(R, (v, m) => o("span", {
139
+ key: v,
140
+ style: A
141
141
  }, [
142
- o("span", { style: I }, B(v + 1), 1),
143
- Y(" " + B(m), 1)
142
+ o("span", { style: I }, B(m + 1), 1),
143
+ Y(" " + B(v), 1)
144
144
  ])), 64))
145
145
  ]),
146
146
  o("div", { style: $ }, [
147
- (l(), s(w, null, S(n, (m, v) => o("i", {
148
- key: v,
149
- style: H(E(m))
147
+ (i(), s(w, null, S(n, (v, m) => o("i", {
148
+ key: m,
149
+ style: H(E(v))
150
150
  }, null, 4)), 64))
151
151
  ])
152
152
  ], 4));
@@ -157,46 +157,46 @@ const Q = {
157
157
  y1: "0%",
158
158
  x2: "100%",
159
159
  y2: "0%"
160
- }, re = ["stop-color"], ae = ["stop-color"], ne = ["stop-color"], ie = {
160
+ }, re = ["stop-color"], ae = ["stop-color"], ne = ["stop-color"], le = {
161
161
  id: "kfHatch",
162
162
  width: "7",
163
163
  height: "7",
164
164
  patternUnits: "userSpaceOnUse",
165
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({
166
+ }, ie = ["stroke"], se = { id: "kfRingMask" }, ce = ["width", "height"], de = ["x", "y", "width", "height"], ue = { mask: "url(#kfRingMask)" }, pe = ["stroke", "opacity"], he = ["x1", "y1", "x2", "y2"], ye = ["stroke", "opacity"], fe = ["x1", "y1", "x2", "y2"], ve = ["x1", "y1", "x2", "y2"], me = ["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__ */ D({
167
167
  __name: "KitchenFoundryDecor",
168
168
  setup(t) {
169
169
  const {
170
170
  isDark: r,
171
- animated: d,
171
+ animated: c,
172
172
  vw: C,
173
173
  vh: x,
174
- hasFrame: A,
174
+ hasFrame: R,
175
175
  hollowX: n,
176
176
  hollowY: u,
177
177
  hollowW: f,
178
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(
179
+ } = W(), M = d(() => r.value ? "#3a4a5e" : "#9fb0c2"), g = d(() => r.value ? "#ff8a3c" : "#d4702a"), A = d(() => r.value ? "#ff5070" : "#d83048"), I = d(
180
180
  () => Array.from(
181
181
  { length: Math.floor(h.value / F) },
182
- (v, b) => u.value + b * F
182
+ (m, b) => u.value + b * F
183
183
  )
184
- ), $ = c(
184
+ ), $ = d(
185
185
  () => Array.from(
186
186
  { length: Math.floor(f.value / F) },
187
- (v, b) => n.value + b * F
187
+ (m, b) => n.value + b * F
188
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;
189
+ ), E = d(() => Math.max(0, u.value - 9)), p = d(() => x.value * 0.46), l = d(() => Math.min(100, h.value * 0.17)), v = d(() => {
190
+ const m = n.value, b = u.value, a = n.value + f.value, y = u.value + h.value;
191
191
  return [
192
- { x: v, y: b },
192
+ { x: m, y: b },
193
193
  { x: a, y: b },
194
- { x: v, y },
194
+ { x: m, y },
195
195
  { x: a, y }
196
196
  ];
197
197
  });
198
- return (v, b) => (l(), z(K, { to: "body" }, [
199
- e(A) ? (l(), s("svg", {
198
+ return (m, b) => (i(), z(K, { to: "body" }, [
199
+ e(R) ? (i(), s("svg", {
200
200
  key: 0,
201
201
  class: "kitchen-foundry-decor",
202
202
  style: H({
@@ -230,15 +230,15 @@ const Q = {
230
230
  "stop-opacity": "0"
231
231
  }, null, 8, ne)
232
232
  ]),
233
- o("pattern", ie, [
233
+ o("pattern", le, [
234
234
  o("line", {
235
235
  x1: "0",
236
236
  y1: "0",
237
237
  x2: "0",
238
238
  y2: "7",
239
- stroke: R.value,
239
+ stroke: A.value,
240
240
  "stroke-width": "2.4"
241
- }, null, 8, le)
241
+ }, null, 8, ie)
242
242
  ]),
243
243
  o("mask", se, [
244
244
  o("rect", {
@@ -247,14 +247,14 @@ const Q = {
247
247
  width: e(C),
248
248
  height: e(x),
249
249
  fill: "white"
250
- }, null, 8, de),
250
+ }, null, 8, ce),
251
251
  o("rect", {
252
252
  x: e(n),
253
253
  y: e(u),
254
254
  width: e(f),
255
255
  height: e(h),
256
256
  fill: "black"
257
- }, null, 8, ce)
257
+ }, null, 8, de)
258
258
  ])
259
259
  ]),
260
260
  o("g", ue, [
@@ -263,7 +263,7 @@ const Q = {
263
263
  opacity: e(r) ? 0.7 : 0.46,
264
264
  "stroke-width": "1.4"
265
265
  }, [
266
- (l(!0), s(w, null, S(I.value, (a, y) => (l(), s("line", {
266
+ (i(!0), s(w, null, S(I.value, (a, y) => (i(), s("line", {
267
267
  key: `lt${y}`,
268
268
  x1: e(n),
269
269
  y1: a,
@@ -277,7 +277,7 @@ const Q = {
277
277
  opacity: e(r) ? 0.82 : 0.55,
278
278
  fill: "none"
279
279
  }, [
280
- (l(!0), s(w, null, S(m.value, (a, y) => (l(), s("g", {
280
+ (i(!0), s(w, null, S(v.value, (a, y) => (i(), s("g", {
281
281
  key: `cm${y}`
282
282
  }, [
283
283
  o("line", {
@@ -291,7 +291,7 @@ const Q = {
291
291
  y1: a.y - 11,
292
292
  x2: a.x,
293
293
  y2: a.y + 11
294
- }, null, 8, me)
294
+ }, null, 8, ve)
295
295
  ]))), 128))
296
296
  ], 8, ye),
297
297
  o("rect", {
@@ -301,12 +301,12 @@ const Q = {
301
301
  height: "2",
302
302
  fill: g.value,
303
303
  opacity: e(r) ? 0.34 : 0.2
304
- }, null, 8, ve),
304
+ }, null, 8, me),
305
305
  o("rect", {
306
306
  x: e(n) + e(f) + 6,
307
307
  y: p.value,
308
308
  width: "8",
309
- height: i.value,
309
+ height: l.value,
310
310
  rx: "1",
311
311
  fill: "url(#kfHatch)",
312
312
  opacity: e(r) ? 0.6 : 0.36
@@ -320,7 +320,7 @@ const Q = {
320
320
  fill: g.value,
321
321
  opacity: e(r) ? 0.4 : 0.24
322
322
  }, null, 8, ge),
323
- e(d) ? (l(), s("rect", {
323
+ e(c) ? (i(), s("rect", {
324
324
  key: 0,
325
325
  x: e(n),
326
326
  y: e(u) + e(h) + 7,
@@ -342,7 +342,7 @@ const Q = {
342
342
  opacity: e(r) ? 0.6 : 0.4,
343
343
  "stroke-width": "1.2"
344
344
  }, [
345
- (l(!0), s(w, null, S($.value, (a, y) => (l(), s("line", {
345
+ (i(!0), s(w, null, S($.value, (a, y) => (i(), s("line", {
346
346
  key: `bt${y}`,
347
347
  x1: a,
348
348
  y1: e(u) + e(h) + 15,
@@ -354,7 +354,7 @@ const Q = {
354
354
  ], 12, oe)) : T("", !0)
355
355
  ]));
356
356
  }
357
- }), Se = /* @__PURE__ */ J(Ce, [["__scopeId", "data-v-d39e914e"]]), Me = /* @__PURE__ */ O({
357
+ }), Se = /* @__PURE__ */ J(Ce, [["__scopeId", "data-v-ffd374dc"]]), Me = /* @__PURE__ */ D({
358
358
  __name: "KitchenFoundryShell",
359
359
  props: {
360
360
  menus: {},
@@ -369,7 +369,7 @@ const Q = {
369
369
  sidebarAboveHeader: { type: Boolean }
370
370
  },
371
371
  setup(t) {
372
- return (r, d) => (l(), s(w, null, [
372
+ return (r, c) => (i(), s(w, null, [
373
373
  k(r.$slots, "default", { Footer: ee }),
374
374
  _(e(U), {
375
375
  show: t.showSidebar,
@@ -406,21 +406,21 @@ const Q = {
406
406
  _(Se)
407
407
  ], 64));
408
408
  }
409
- }), D = "admin-theme-kitchen-foundry";
409
+ }), O = "admin-theme-kitchen-foundry";
410
410
  function Fe() {
411
- if (typeof document > "u" || document.getElementById(D)) return;
411
+ if (typeof document > "u" || document.getElementById(O)) return;
412
412
  const t = document.createElement("style");
413
- t.id = D, t.setAttribute("data-admin-theme", "kitchen-foundry"), t.textContent = `
413
+ t.id = O, t.setAttribute("data-dc-theme", "kitchen-foundry"), t.textContent = `
414
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);}
415
+ .app-header-module-item_active{box-shadow:inset 0 -3px 0 var(--dc-core-primary-color, #ff6a1a);}
416
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;}
417
+ .app-sidebar::before{content:"";position:absolute;top:16px;bottom:16px;left:0;width:2px;background:var(--dc-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(--dc-core-primary-color, #ff6a1a),var(--dc-core-accent, #ffb000),transparent);opacity:.6;pointer-events:none;}
419
419
  `, document.head.appendChild(t);
420
420
  }
421
- function Ae() {
421
+ function Re() {
422
422
  var t;
423
- typeof document > "u" || (t = document.getElementById(D)) == null || t.remove();
423
+ typeof document > "u" || (t = document.getElementById(O)) == null || t.remove();
424
424
  }
425
425
  const Le = {
426
426
  id: "kitchen-foundry",
@@ -479,23 +479,23 @@ const Le = {
479
479
  // 旗舰工业感靠精密硬边 + 紧凑密度(radius 6px / 低矮 header / 节点 rail / 加宽 inspector / 加高 pass rail)。
480
480
  header: {
481
481
  height: 52,
482
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
482
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
483
483
  style: { borderRadius: "6px" }
484
484
  },
485
485
  sidebar: {
486
486
  width: 216,
487
487
  collapseWidth: 64,
488
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
488
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
489
489
  style: { borderRadius: "6px" }
490
490
  },
491
491
  aside: {
492
492
  width: 360,
493
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
493
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
494
494
  style: { borderRadius: "6px" }
495
495
  },
496
496
  footer: {
497
497
  height: 44,
498
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
498
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
499
499
  style: { borderRadius: "6px" }
500
500
  },
501
501
  breadcrumb: { height: 40 },
@@ -507,7 +507,7 @@ const Le = {
507
507
  Fe();
508
508
  },
509
509
  onDeactivate() {
510
- Ae();
510
+ Re();
511
511
  }
512
512
  };
513
513
  export {
@@ -1,14 +1,14 @@
1
- import { defineComponent as x, computed as y, openBlock as l, createBlock as $, Teleport as M, unref as e, createElementBlock as d, normalizeStyle as N, createElementVNode as t, Fragment as v, createCommentVNode as p, renderSlot as i, createVNode as u, withCtx as _, markRaw as F } from "vue";
2
- import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as B, AppFooter as k, AppAside as A, AppHeader as T, AppTheme as C } from "@done-coding/admin-core";
1
+ import { defineComponent as x, computed as y, openBlock as l, createBlock as $, Teleport as M, unref as e, createElementBlock as c, normalizeStyle as N, createElementVNode as t, Fragment as v, createCommentVNode as p, renderSlot as i, createVNode as u, withCtx as _, markRaw as F } from "vue";
2
+ import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as B, AppFooter as k, AppAside as T, AppHeader as A, AppTheme as C } from "@done-coding/admin-core";
3
3
  import { _ as E } from "../chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs";
4
4
  import { u as L } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
5
5
  import { _ as R } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
6
- const S = ["width", "height", "viewBox"], D = {
6
+ const S = ["width", "height", "viewBox"], G = {
7
7
  id: "nsMagenta",
8
8
  cx: "50%",
9
9
  cy: "50%",
10
10
  r: "50%"
11
- }, G = ["stop-color", "stop-opacity"], I = ["stop-color", "stop-opacity"], O = ["stop-color"], H = {
11
+ }, D = ["stop-color", "stop-opacity"], I = ["stop-color", "stop-opacity"], O = ["stop-color"], H = {
12
12
  id: "nsCyan",
13
13
  cx: "50%",
14
14
  cy: "50%",
@@ -22,12 +22,12 @@ const S = ["width", "height", "viewBox"], D = {
22
22
  }, q = ["stop-color"], X = ["stop-color", "stop-opacity"], Z = ["stop-color"], j = ["cx", "cy", "rx", "ry"], J = ["values"], K = ["values"], Q = ["values"], U = ["cx", "cy", "rx", "ry"], Y = ["values"], ee = ["values"], te = ["values"], oe = ["width", "height"], ae = ["values"], se = ["width", "height", "opacity"], re = /* @__PURE__ */ x({
23
23
  __name: "NeonStageDecor",
24
24
  setup(r) {
25
- const { isDark: o, animated: c, vw: s, vh: n, hasFrame: w } = L(), f = y(() => o.value ? "#ff3d9a" : "#e84aa0"), h = y(() => o.value ? "#22d3ee" : "#3fc8e0"), m = y(() => o.value ? "#d8e8ff" : "#9fb6d6");
25
+ const { isDark: o, animated: d, vw: s, vh: n, hasFrame: w } = L(), f = y(() => o.value ? "#ff3d9a" : "#e84aa0"), h = y(() => o.value ? "#22d3ee" : "#3fc8e0"), m = y(() => o.value ? "#d8e8ff" : "#9fb6d6");
26
26
  function a(b) {
27
27
  return Number((Math.min(s.value, n.value) * b).toFixed(1));
28
28
  }
29
29
  return (b, g) => (l(), $(M, { to: "body" }, [
30
- e(w) ? (l(), d("svg", {
30
+ e(w) ? (l(), c("svg", {
31
31
  key: 0,
32
32
  class: "neon-stage-decor",
33
33
  style: N({
@@ -44,12 +44,12 @@ const S = ["width", "height", "viewBox"], D = {
44
44
  "aria-hidden": "true"
45
45
  }, [
46
46
  t("defs", null, [
47
- t("radialGradient", D, [
47
+ t("radialGradient", G, [
48
48
  t("stop", {
49
49
  offset: "0%",
50
50
  "stop-color": f.value,
51
51
  "stop-opacity": e(o) ? 0.5 : 0.2
52
- }, null, 8, G),
52
+ }, null, 8, D),
53
53
  t("stop", {
54
54
  offset: "55%",
55
55
  "stop-color": f.value,
@@ -115,7 +115,7 @@ const S = ["width", "height", "viewBox"], D = {
115
115
  ry: a(0.36),
116
116
  fill: "url(#nsMagenta)"
117
117
  }, [
118
- e(c) ? (l(), d(v, { key: 0 }, [
118
+ e(d) ? (l(), c(v, { key: 0 }, [
119
119
  t("animate", {
120
120
  attributeName: "rx",
121
121
  values: `${a(0.44)};${a(0.52)};${a(0.44)}`,
@@ -144,7 +144,7 @@ const S = ["width", "height", "viewBox"], D = {
144
144
  ry: a(0.34),
145
145
  fill: "url(#nsCyan)"
146
146
  }, [
147
- e(c) ? (l(), d(v, { key: 0 }, [
147
+ e(d) ? (l(), c(v, { key: 0 }, [
148
148
  t("animate", {
149
149
  attributeName: "rx",
150
150
  values: `${a(0.42)};${a(0.5)};${a(0.42)}`,
@@ -168,7 +168,7 @@ const S = ["width", "height", "viewBox"], D = {
168
168
  }, null, 8, te)
169
169
  ], 64)) : p("", !0)
170
170
  ], 8, U),
171
- e(c) ? (l(), d("rect", {
171
+ e(d) ? (l(), c("rect", {
172
172
  key: 0,
173
173
  width: Math.max(60, e(s) * 0.06),
174
174
  height: e(n),
@@ -193,7 +193,7 @@ const S = ["width", "height", "viewBox"], D = {
193
193
  ], 12, S)) : p("", !0)
194
194
  ]));
195
195
  }
196
- }), ne = /* @__PURE__ */ R(re, [["__scopeId", "data-v-9a7212b2"]]), ie = /* @__PURE__ */ x({
196
+ }), ne = /* @__PURE__ */ R(re, [["__scopeId", "data-v-633685c8"]]), ie = /* @__PURE__ */ x({
197
197
  __name: "NeonSetShell",
198
198
  props: {
199
199
  menus: {},
@@ -208,15 +208,15 @@ const S = ["width", "height", "viewBox"], D = {
208
208
  sidebarAboveHeader: { type: Boolean }
209
209
  },
210
210
  setup(r) {
211
- return (o, c) => (l(), d(v, null, [
211
+ return (o, d) => (l(), c(v, null, [
212
212
  i(o.$slots, "default", { Footer: e(k) }),
213
- u(e(A), { show: r.showAside }, {
213
+ u(e(T), { show: r.showAside }, {
214
214
  default: _(() => [
215
215
  i(o.$slots, "aside")
216
216
  ]),
217
217
  _: 3
218
218
  }, 8, ["show"]),
219
- u(e(T), {
219
+ u(e(A), {
220
220
  show: r.showHeader,
221
221
  menus: r.headerMenus,
222
222
  activeMenu: r.activeMenu,
@@ -296,7 +296,7 @@ const S = ["width", "height", "viewBox"], D = {
296
296
  gap: { size: 10 },
297
297
  header: {
298
298
  height: 56,
299
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
299
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
300
300
  style: { borderRadius: "12px" }
301
301
  },
302
302
  // 无左栏:sidebar 宽 0(NeonSetShell 不渲染 AppSidebar)。
@@ -304,7 +304,7 @@ const S = ["width", "height", "viewBox"], D = {
304
304
  // 右控制 aside:宽 360;route meta.layout.aside=true 时显(NeonSetShell 转 #aside)。
305
305
  aside: {
306
306
  width: 360,
307
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
307
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
308
308
  style: { borderRadius: "12px" }
309
309
  },
310
310
  body: { shimPadding: 18 },
@@ -41,13 +41,13 @@ const o = {
41
41
  gap: { size: 10 },
42
42
  header: {
43
43
  height: 56,
44
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
44
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
45
45
  style: { borderRadius: "12px" }
46
46
  },
47
47
  sidebar: {
48
48
  width: 248,
49
49
  collapseWidth: 64,
50
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
50
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
51
51
  style: { borderRadius: "12px" }
52
52
  },
53
53
  body: { shimPadding: 24 }