@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,21 +1,21 @@
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-CoSsDjcF.mjs";
3
- import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as R } from "@done-coding/admin-core";
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 E } from "vue";
2
+ import { _ as M } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-8OC_BxwQ.mjs";
3
+ import { 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";
6
- const I = ["width", "height", "viewBox"], T = {
6
+ const T = ["width", "height", "viewBox"], F = {
7
7
  id: "brutalHazard",
8
8
  width: "18",
9
9
  height: "18",
10
10
  patternUnits: "userSpaceOnUse",
11
11
  patternTransform: "rotate(45)"
12
- }, A = ["fill", "opacity"], F = {
12
+ }, I = ["fill", "opacity"], V = {
13
13
  id: "brutalScan",
14
14
  x1: "0%",
15
15
  y1: "0%",
16
16
  x2: "0%",
17
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({
18
+ }, z = ["stop-color"], A = ["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
19
  __name: "BrutalSteelCockpitDecor",
20
20
  setup(s) {
21
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));
@@ -37,25 +37,25 @@ const I = ["width", "height", "viewBox"], T = {
37
37
  "aria-hidden": "true"
38
38
  }, [
39
39
  t("defs", null, [
40
- t("pattern", T, [
40
+ t("pattern", F, [
41
41
  t("rect", {
42
42
  width: "9",
43
43
  height: "18",
44
44
  fill: m.value,
45
45
  opacity: e(i) ? 0.5 : 0.4
46
- }, null, 8, A)
46
+ }, null, 8, I)
47
47
  ]),
48
- t("linearGradient", F, [
48
+ t("linearGradient", V, [
49
49
  t("stop", {
50
50
  offset: "0%",
51
51
  "stop-color": u.value,
52
52
  "stop-opacity": "0"
53
- }, null, 8, V),
53
+ }, null, 8, z),
54
54
  t("stop", {
55
55
  offset: "50%",
56
56
  "stop-color": u.value,
57
57
  "stop-opacity": e(i) ? 0.5 : 0.28
58
- }, null, 8, z),
58
+ }, null, 8, A),
59
59
  t("stop", {
60
60
  offset: "100%",
61
61
  "stop-color": u.value,
@@ -127,10 +127,10 @@ const I = ["width", "height", "viewBox"], T = {
127
127
  filter: "url(#brutalGrain)",
128
128
  opacity: e(i) ? 0.08 : 0.05
129
129
  }, null, 8, X)
130
- ], 12, I)) : y("", !0)
130
+ ], 12, T)) : y("", !0)
131
131
  ]));
132
132
  }
133
- }), Z = /* @__PURE__ */ D(Y, [["__scopeId", "data-v-d5f290cf"]]), J = /* @__PURE__ */ g({
133
+ }), Z = /* @__PURE__ */ D(Y, [["__scopeId", "data-v-6f91319d"]]), J = /* @__PURE__ */ g({
134
134
  __name: "BrutalSteelCockpitShell",
135
135
  props: {
136
136
  menus: {},
@@ -146,7 +146,7 @@ const I = ["width", "height", "viewBox"], T = {
146
146
  },
147
147
  setup(s) {
148
148
  const i = s;
149
- return (r, a) => (c(), v(E, $(x(i)), B({
149
+ return (r, a) => (c(), v(M, $(x(i)), B({
150
150
  default: l((o) => [
151
151
  n(r.$slots, "default", {
152
152
  Footer: o.Footer
@@ -200,7 +200,7 @@ const I = ["width", "height", "viewBox"], T = {
200
200
  function K() {
201
201
  if (typeof document > "u" || document.getElementById(f)) return;
202
202
  const s = document.createElement("style");
203
- s.id = f, s.setAttribute("data-admin-theme", "cockpit-brutal-steel"), s.textContent = `
203
+ s.id = f, s.setAttribute("data-dc-theme", "cockpit-brutal-steel"), s.textContent = `
204
204
  .cockpit-statusbar{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em;}
205
205
  .app-header-module-item{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;}
206
206
  `, document.head.appendChild(s);
@@ -264,28 +264,28 @@ const ie = {
264
264
  extractLevel1ToHeader: !0,
265
265
  header: {
266
266
  height: 56,
267
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
267
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
268
268
  style: { borderRadius: "0px" }
269
269
  },
270
270
  sidebar: {
271
271
  width: 244,
272
272
  collapseWidth: 64,
273
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
273
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
274
274
  style: { borderRadius: "0px" }
275
275
  },
276
276
  aside: {
277
277
  width: 330,
278
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
278
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
279
279
  style: { borderRadius: "0px" }
280
280
  },
281
281
  footer: {
282
282
  height: 36,
283
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
283
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
284
284
  style: { borderRadius: "0px" }
285
285
  },
286
286
  breadcrumb: { height: 44 },
287
287
  body: { shimPadding: 16 },
288
- shell: M(J)
288
+ shell: E(J)
289
289
  },
290
290
  // 生命周期钩子(榨干点):激活注入等宽大写氛围,切走/注销清理。
291
291
  onActivate() {
@@ -1,19 +1,19 @@
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-CoSsDjcF.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 = {
1
+ import { defineComponent as _, computed as b, openBlock as c, 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 R } from "vue";
2
+ import { _ as E } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-8OC_BxwQ.mjs";
3
+ import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as N } from "@done-coding/admin-core";
4
+ import { u as S } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
5
+ import { _ as I } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
6
+ const F = ["width", "height", "viewBox"], L = {
7
7
  id: "liqA",
8
8
  cx: "50%",
9
9
  cy: "50%",
10
10
  r: "50%"
11
- }, L = ["stop-color", "stop-opacity"], M = ["stop-color", "stop-opacity"], T = ["stop-color"], A = {
11
+ }, D = ["stop-color", "stop-opacity"], M = ["stop-color", "stop-opacity"], T = ["stop-color"], G = {
12
12
  id: "liqB",
13
13
  cx: "50%",
14
14
  cy: "50%",
15
15
  r: "50%"
16
- }, G = ["stop-color", "stop-opacity"], z = ["stop-color"], O = {
16
+ }, z = ["stop-color", "stop-opacity"], A = ["stop-color"], O = {
17
17
  id: "liqScan",
18
18
  x1: "0%",
19
19
  y1: "0%",
@@ -22,12 +22,12 @@ const D = ["width", "height", "viewBox"], F = {
22
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
23
  __name: "LiquidInkCockpitDecor",
24
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");
25
+ const { isDark: i, animated: t, vw: s, vh: a, hasFrame: g } = S(), f = b(() => i.value ? "#5b8cff" : "#3f6fe6"), d = b(() => i.value ? "#22d3ee" : "#0e9fc4");
26
26
  function r(y) {
27
- return Number((Math.min(a.value, s.value) * y).toFixed(1));
27
+ return Number((Math.min(s.value, a.value) * y).toFixed(1));
28
28
  }
29
- return (y, m) => (d(), v(x, { to: "body" }, [
30
- e(g) ? (d(), u("svg", {
29
+ return (y, m) => (c(), v(x, { to: "body" }, [
30
+ e(g) ? (c(), u("svg", {
31
31
  key: 0,
32
32
  class: "cockpit-liquid-ink-decor",
33
33
  style: C({
@@ -35,21 +35,21 @@ const D = ["width", "height", "viewBox"], F = {
35
35
  left: 0,
36
36
  top: 0,
37
37
  pointerEvents: "none",
38
- zIndex: e(E),
38
+ zIndex: e(N),
39
39
  opacity: e(i) ? 1 : 0.55
40
40
  }),
41
- width: e(a),
42
- height: e(s),
43
- viewBox: `0 0 ${e(a)} ${e(s)}`,
41
+ width: e(s),
42
+ height: e(a),
43
+ viewBox: `0 0 ${e(s)} ${e(a)}`,
44
44
  "aria-hidden": "true"
45
45
  }, [
46
46
  o("defs", null, [
47
- o("radialGradient", F, [
47
+ o("radialGradient", L, [
48
48
  o("stop", {
49
49
  offset: "0%",
50
50
  "stop-color": f.value,
51
51
  "stop-opacity": e(i) ? 0.4 : 0.16
52
- }, null, 8, L),
52
+ }, null, 8, D),
53
53
  o("stop", {
54
54
  offset: "55%",
55
55
  "stop-color": f.value,
@@ -61,32 +61,32 @@ const D = ["width", "height", "viewBox"], F = {
61
61
  "stop-opacity": "0"
62
62
  }, null, 8, T)
63
63
  ]),
64
- o("radialGradient", A, [
64
+ o("radialGradient", G, [
65
65
  o("stop", {
66
66
  offset: "0%",
67
- "stop-color": c.value,
67
+ "stop-color": d.value,
68
68
  "stop-opacity": e(i) ? 0.32 : 0.12
69
- }, null, 8, G),
69
+ }, null, 8, z),
70
70
  o("stop", {
71
71
  offset: "100%",
72
- "stop-color": c.value,
72
+ "stop-color": d.value,
73
73
  "stop-opacity": "0"
74
- }, null, 8, z)
74
+ }, null, 8, A)
75
75
  ]),
76
76
  o("linearGradient", O, [
77
77
  o("stop", {
78
78
  offset: "0%",
79
- "stop-color": c.value,
79
+ "stop-color": d.value,
80
80
  "stop-opacity": "0"
81
81
  }, null, 8, W),
82
82
  o("stop", {
83
83
  offset: "50%",
84
- "stop-color": c.value,
84
+ "stop-color": d.value,
85
85
  "stop-opacity": e(i) ? 0.22 : 0.09
86
86
  }, null, 8, P),
87
87
  o("stop", {
88
88
  offset: "100%",
89
- "stop-color": c.value,
89
+ "stop-color": d.value,
90
90
  "stop-opacity": "0"
91
91
  }, null, 8, V)
92
92
  ]),
@@ -104,13 +104,13 @@ const D = ["width", "height", "viewBox"], F = {
104
104
  ], -1))
105
105
  ]),
106
106
  o("ellipse", {
107
- cx: e(a) * 0.22,
108
- cy: e(s) * 0.26,
107
+ cx: e(s) * 0.22,
108
+ cy: e(a) * 0.26,
109
109
  rx: r(0.42),
110
110
  ry: r(0.34),
111
111
  fill: "url(#liqA)"
112
112
  }, [
113
- e(t) ? (d(), u(k, { key: 0 }, [
113
+ e(t) ? (c(), u(k, { key: 0 }, [
114
114
  o("animate", {
115
115
  attributeName: "rx",
116
116
  values: `${r(0.42)};${r(0.5)};${r(0.42)}`,
@@ -126,20 +126,20 @@ const D = ["width", "height", "viewBox"], F = {
126
126
  o("animateTransform", {
127
127
  attributeName: "transform",
128
128
  type: "translate",
129
- values: `0,0; ${e(a) * 0.03},${e(s) * 0.025}; 0,0`,
129
+ values: `0,0; ${e(s) * 0.03},${e(a) * 0.025}; 0,0`,
130
130
  dur: "29s",
131
131
  repeatCount: "indefinite"
132
132
  }, null, 8, j)
133
133
  ], 64)) : p("", !0)
134
134
  ], 8, H),
135
135
  o("ellipse", {
136
- cx: e(a) * 0.82,
137
- cy: e(s) * 0.78,
136
+ cx: e(s) * 0.82,
137
+ cy: e(a) * 0.78,
138
138
  rx: r(0.36),
139
139
  ry: r(0.3),
140
140
  fill: "url(#liqB)"
141
141
  }, [
142
- e(t) ? (d(), u("animate", {
142
+ e(t) ? (c(), u("animate", {
143
143
  key: 0,
144
144
  attributeName: "rx",
145
145
  values: `${r(0.36)};${r(0.44)};${r(0.36)}`,
@@ -148,31 +148,31 @@ const D = ["width", "height", "viewBox"], F = {
148
148
  repeatCount: "indefinite"
149
149
  }, null, 8, K)) : p("", !0)
150
150
  ], 8, J),
151
- e(t) ? (d(), u("rect", {
151
+ e(t) ? (c(), u("rect", {
152
152
  key: 0,
153
153
  y: "0",
154
- x: -e(a) * 0.16,
155
- width: e(a) * 0.16,
156
- height: e(s),
154
+ x: -e(s) * 0.16,
155
+ width: e(s) * 0.16,
156
+ height: e(a),
157
157
  fill: "url(#liqScan)"
158
158
  }, [
159
159
  o("animate", {
160
160
  attributeName: "x",
161
- values: `${-e(a) * 0.16}; ${e(a)}`,
161
+ values: `${-e(s) * 0.16}; ${e(s)}`,
162
162
  dur: "11s",
163
163
  repeatCount: "indefinite"
164
164
  }, null, 8, U)
165
165
  ], 8, Q)) : p("", !0),
166
166
  o("rect", {
167
- width: e(a),
168
- height: e(s),
167
+ width: e(s),
168
+ height: e(a),
169
169
  filter: "url(#liqGrain)",
170
170
  opacity: e(i) ? 0.045 : 0.02
171
171
  }, null, 8, Y)
172
- ], 12, D)) : p("", !0)
172
+ ], 12, F)) : p("", !0)
173
173
  ]));
174
174
  }
175
- }), oe = /* @__PURE__ */ S(ee, [["__scopeId", "data-v-122f9ed8"]]), te = /* @__PURE__ */ _({
175
+ }), oe = /* @__PURE__ */ I(ee, [["__scopeId", "data-v-5dc0dc3c"]]), te = /* @__PURE__ */ _({
176
176
  __name: "LiquidInkCockpitShell",
177
177
  props: {
178
178
  menus: {},
@@ -188,10 +188,10 @@ const D = ["width", "height", "viewBox"], F = {
188
188
  },
189
189
  setup(h) {
190
190
  const i = h;
191
- return (t, a) => (d(), v(R, $(w(i)), q({
192
- default: l((s) => [
191
+ return (t, s) => (c(), v(E, $(w(i)), q({
192
+ default: l((a) => [
193
193
  n(t.$slots, "default", {
194
- Footer: s.Footer
194
+ Footer: a.Footer
195
195
  })
196
196
  ]),
197
197
  decor: l(() => [
@@ -208,9 +208,9 @@ const D = ["width", "height", "viewBox"], F = {
208
208
  } : void 0,
209
209
  t.$slots.themeSwitcher ? {
210
210
  name: "themeSwitcher",
211
- fn: l((s) => [
211
+ fn: l((a) => [
212
212
  n(t.$slots, "themeSwitcher", {
213
- Default: s.Default
213
+ Default: a.Default
214
214
  })
215
215
  ]),
216
216
  key: "1"
@@ -297,31 +297,31 @@ const D = ["width", "height", "viewBox"], F = {
297
297
  extractLevel1ToHeader: !0,
298
298
  header: {
299
299
  height: 58,
300
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
300
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
301
301
  style: { borderRadius: "14px" }
302
302
  },
303
303
  sidebar: {
304
304
  width: 248,
305
305
  collapseWidth: 68,
306
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
306
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
307
307
  style: { borderRadius: "14px" }
308
308
  },
309
309
  // 常驻副驾 dock:宽 340;route meta.layout.aside=true 时显(壳转 #aside 灌 webagent)。
310
310
  aside: {
311
311
  width: 340,
312
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
312
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
313
313
  style: { borderRadius: "14px" }
314
314
  },
315
315
  // 行动状态条:高 36(CockpitStatusBar 渲于此),榨干 footer 配置。
316
316
  footer: {
317
317
  height: 36,
318
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
318
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
319
319
  style: { borderRadius: "14px" }
320
320
  },
321
321
  // 推理路径条高度调谐(榨干 breadcrumb,31 套 0 用)。
322
322
  breadcrumb: { height: 44 },
323
323
  body: { shimPadding: 18 },
324
- shell: N(te)
324
+ shell: R(te)
325
325
  }
326
326
  };
327
327
  export {
@@ -1,6 +1,6 @@
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-CoSsDjcF.mjs";
3
- import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as x } from "@done-coding/admin-core";
1
+ import { defineComponent as f, computed as y, openBlock as d, createBlock as b, 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 x } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-8OC_BxwQ.mjs";
3
+ import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as M } 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";
6
6
  const E = ["width", "height", "viewBox"], S = {
@@ -8,12 +8,12 @@ const E = ["width", "height", "viewBox"], S = {
8
8
  width: "32",
9
9
  height: "32",
10
10
  patternUnits: "userSpaceOnUse"
11
- }, V = ["stroke", "opacity"], D = ["width", "height"], H = ["stroke", "opacity"], P = ["d"], N = ["d"], I = ["d"], F = ["y2", "stroke"], O = ["values"], W = ["values"], z = /* @__PURE__ */ m({
11
+ }, V = ["stroke", "opacity"], H = ["width", "height"], P = ["stroke", "opacity"], D = ["d"], N = ["d"], F = ["d"], I = ["y2", "stroke"], O = ["values"], W = ["values"], z = /* @__PURE__ */ f({
12
12
  __name: "MonoPaperCockpitDecor",
13
13
  setup(c) {
14
- const { isDark: i, animated: o, vw: a, vh: r, hasFrame: b } = R(), l = y(() => i.value ? "#aeb6c2" : "#3a3f47");
15
- return (T, p) => (d(), f(g, { to: "body" }, [
16
- e(b) ? (d(), u("svg", {
14
+ const { isDark: i, animated: o, vw: a, vh: r, hasFrame: m } = R(), l = y(() => i.value ? "#aeb6c2" : "#3a3f47");
15
+ return (A, p) => (d(), b(g, { to: "body" }, [
16
+ e(m) ? (d(), u("svg", {
17
17
  key: 0,
18
18
  class: "cockpit-mono-paper-decor",
19
19
  style: v({
@@ -21,7 +21,7 @@ const E = ["width", "height", "viewBox"], S = {
21
21
  left: 0,
22
22
  top: 0,
23
23
  pointerEvents: "none",
24
- zIndex: e(x),
24
+ zIndex: e(M),
25
25
  opacity: e(i) ? 0.5 : 0.4
26
26
  }),
27
27
  width: e(a),
@@ -47,7 +47,7 @@ const E = ["width", "height", "viewBox"], S = {
47
47
  height: e(r),
48
48
  fill: "url(#monoGrid)",
49
49
  opacity: 0.5
50
- }, null, 8, D),
50
+ }, null, 8, H),
51
51
  t("g", {
52
52
  stroke: l.value,
53
53
  "stroke-width": "1",
@@ -57,14 +57,14 @@ const E = ["width", "height", "viewBox"], S = {
57
57
  p[0] || (p[0] = t("path", { d: "M16 28 V16 H28" }, null, -1)),
58
58
  t("path", {
59
59
  d: `M${e(a) - 16} 28 V16 H${e(a) - 28}`
60
- }, null, 8, P),
60
+ }, null, 8, D),
61
61
  t("path", {
62
62
  d: `M16 ${e(r) - 28} V${e(r) - 16} H28`
63
63
  }, null, 8, N),
64
64
  t("path", {
65
65
  d: `M${e(a) - 16} ${e(r) - 28} V${e(r) - 16} H${e(a) - 28}`
66
- }, null, 8, I)
67
- ], 8, H),
66
+ }, null, 8, F)
67
+ ], 8, P),
68
68
  e(o) ? (d(), u("line", {
69
69
  key: 0,
70
70
  x1: 0,
@@ -87,11 +87,11 @@ const E = ["width", "height", "viewBox"], S = {
87
87
  dur: "14s",
88
88
  repeatCount: "indefinite"
89
89
  }, null, 8, W)
90
- ], 8, F)) : h("", !0)
90
+ ], 8, I)) : h("", !0)
91
91
  ], 12, E)) : h("", !0)
92
92
  ]));
93
93
  }
94
- }), A = /* @__PURE__ */ B(z, [["__scopeId", "data-v-a518c8db"]]), L = /* @__PURE__ */ m({
94
+ }), L = /* @__PURE__ */ B(z, [["__scopeId", "data-v-2abf82a1"]]), T = /* @__PURE__ */ f({
95
95
  __name: "MonoPaperCockpitShell",
96
96
  props: {
97
97
  menus: {},
@@ -107,14 +107,14 @@ const E = ["width", "height", "viewBox"], S = {
107
107
  },
108
108
  setup(c) {
109
109
  const i = c;
110
- return (o, a) => (d(), f(M, _(k(i)), C({
110
+ return (o, a) => (d(), b(x, _(k(i)), C({
111
111
  default: s((r) => [
112
112
  n(o.$slots, "default", {
113
113
  Footer: r.Footer
114
114
  })
115
115
  ]),
116
116
  decor: s(() => [
117
- w(A)
117
+ w(L)
118
118
  ]),
119
119
  _: 2
120
120
  }, [
@@ -209,28 +209,28 @@ const E = ["width", "height", "viewBox"], S = {
209
209
  extractLevel1ToHeader: !0,
210
210
  header: {
211
211
  height: 54,
212
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
212
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
213
213
  style: { borderRadius: "4px" }
214
214
  },
215
215
  sidebar: {
216
216
  width: 240,
217
217
  collapseWidth: 64,
218
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
218
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
219
219
  style: { borderRadius: "4px" }
220
220
  },
221
221
  aside: {
222
222
  width: 320,
223
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
223
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
224
224
  style: { borderRadius: "4px" }
225
225
  },
226
226
  footer: {
227
227
  height: 34,
228
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
228
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
229
229
  style: { borderRadius: "4px" }
230
230
  },
231
231
  breadcrumb: { height: 42 },
232
232
  body: { shimPadding: 20 },
233
- shell: $(L)
233
+ shell: $(T)
234
234
  }
235
235
  };
236
236
  export {