@done-coding/admin-plugin-theme 0.3.3-alpha.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,6 +1,6 @@
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-CoSsDjcF.mjs";
3
- import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as z } from "@done-coding/admin-core";
1
+ import { defineComponent as $, computed as y, openBlock as a, createBlock as w, Teleport as S, unref as e, createElementBlock as l, normalizeStyle as D, createElementVNode as r, createCommentVNode as v, Fragment as _, renderList as g, normalizeProps as M, guardReactiveProps as G, createSlots as I, withCtx as f, createVNode as L, renderSlot as h, markRaw as O } from "vue";
2
+ import { _ as z } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-8OC_BxwQ.mjs";
3
+ import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as A } 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";
6
6
  const W = ["width", "height", "viewBox"], V = {
@@ -16,9 +16,9 @@ const W = ["width", "height", "viewBox"], V = {
16
16
  }, j = ["stop-color"], q = ["stop-color"], J = ["cx", "cy", "rx", "ry"], K = ["values"], Q = ["cx", "cy", "rx", "ry"], U = ["values"], Y = ["stroke", "opacity"], ee = ["x1", "y1", "x2", "y2"], oe = ["cx", "cy", "r", "fill", "opacity"], te = ["values", "dur", "begin"], re = { key: 0 }, ae = ["fill"], se = ["dur", "path"], le = ["dur"], ie = /* @__PURE__ */ $({
17
17
  __name: "NeuralFieldCockpitDecor",
18
18
  setup(x) {
19
- const { isDark: s, animated: o, vw: c, vh: i, hasFrame: N } = P(), v = y(() => s.value ? "#34e0c0" : "#0fae93"), k = y(() => s.value ? "#8b7bff" : "#6357e0"), E = y(() => s.value ? "#5b8cff" : "#3f6fe6");
20
- function n(u) {
21
- return Number((Math.min(c.value, i.value) * u).toFixed(1));
19
+ const { isDark: s, animated: o, vw: u, vh: i, hasFrame: N } = P(), m = y(() => s.value ? "#34e0c0" : "#0fae93"), k = y(() => s.value ? "#8b7bff" : "#6357e0"), E = y(() => s.value ? "#5b8cff" : "#3f6fe6");
20
+ function n(c) {
21
+ return Number((Math.min(u.value, i.value) * c).toFixed(1));
22
22
  }
23
23
  const R = [
24
24
  [0.08, 0.18, 3],
@@ -32,8 +32,8 @@ const W = ["width", "height", "viewBox"], V = {
32
32
  [0.66, 0.28, 2.2],
33
33
  [0.34, 0.72, 2.6]
34
34
  ], b = y(
35
- () => R.map(([u, p, t]) => ({
36
- x: c.value * u,
35
+ () => R.map(([c, p, t]) => ({
36
+ x: u.value * c,
37
37
  y: i.value * p,
38
38
  s: t
39
39
  }))
@@ -50,28 +50,28 @@ const W = ["width", "height", "viewBox"], V = {
50
50
  [4, 7],
51
51
  [3, 6]
52
52
  ], C = y(
53
- () => F.map(([u, p]) => ({
54
- x1: b.value[u].x,
55
- y1: b.value[u].y,
53
+ () => F.map(([c, p]) => ({
54
+ x1: b.value[c].x,
55
+ y1: b.value[c].y,
56
56
  x2: b.value[p].x,
57
57
  y2: b.value[p].y
58
58
  }))
59
- ), B = y(() => C.value.filter((u, p) => p % 3 === 0));
60
- return (u, p) => (a(), w(D, { to: "body" }, [
59
+ ), B = y(() => C.value.filter((c, p) => p % 3 === 0));
60
+ return (c, p) => (a(), w(S, { to: "body" }, [
61
61
  e(N) ? (a(), l("svg", {
62
62
  key: 0,
63
63
  class: "cockpit-neural-field-decor",
64
- style: S({
64
+ style: D({
65
65
  position: "fixed",
66
66
  left: 0,
67
67
  top: 0,
68
68
  pointerEvents: "none",
69
- zIndex: e(z),
69
+ zIndex: e(A),
70
70
  opacity: e(s) ? 1 : 0.5
71
71
  }),
72
- width: e(c),
72
+ width: e(u),
73
73
  height: e(i),
74
- viewBox: `0 0 ${e(c)} ${e(i)}`,
74
+ viewBox: `0 0 ${e(u)} ${e(i)}`,
75
75
  "aria-hidden": "true"
76
76
  }, [
77
77
  r("defs", null, [
@@ -90,18 +90,18 @@ const W = ["width", "height", "viewBox"], V = {
90
90
  r("radialGradient", Z, [
91
91
  r("stop", {
92
92
  offset: "0%",
93
- "stop-color": v.value,
93
+ "stop-color": m.value,
94
94
  "stop-opacity": "1"
95
95
  }, null, 8, j),
96
96
  r("stop", {
97
97
  offset: "100%",
98
- "stop-color": v.value,
98
+ "stop-color": m.value,
99
99
  "stop-opacity": "0"
100
100
  }, null, 8, q)
101
101
  ])
102
102
  ]),
103
103
  r("ellipse", {
104
- cx: e(c) * 0.3,
104
+ cx: e(u) * 0.3,
105
105
  cy: e(i) * 0.32,
106
106
  rx: n(0.4),
107
107
  ry: n(0.34),
@@ -113,10 +113,10 @@ const W = ["width", "height", "viewBox"], V = {
113
113
  values: `${n(0.4)};${n(0.47)};${n(0.4)}`,
114
114
  dur: "19s",
115
115
  repeatCount: "indefinite"
116
- }, null, 8, K)) : m("", !0)
116
+ }, null, 8, K)) : v("", !0)
117
117
  ], 8, J),
118
118
  r("ellipse", {
119
- cx: e(c) * 0.74,
119
+ cx: e(u) * 0.74,
120
120
  cy: e(i) * 0.7,
121
121
  rx: n(0.34),
122
122
  ry: n(0.3),
@@ -129,10 +129,10 @@ const W = ["width", "height", "viewBox"], V = {
129
129
  dur: "23s",
130
130
  begin: "6s",
131
131
  repeatCount: "indefinite"
132
- }, null, 8, U)) : m("", !0)
132
+ }, null, 8, U)) : v("", !0)
133
133
  ], 8, Q),
134
134
  r("g", {
135
- stroke: v.value,
135
+ stroke: m.value,
136
136
  "stroke-width": "1",
137
137
  fill: "none",
138
138
  opacity: e(s) ? 0.28 : 0.2
@@ -151,7 +151,7 @@ const W = ["width", "height", "viewBox"], V = {
151
151
  cx: t.x,
152
152
  cy: t.y,
153
153
  r: t.s,
154
- fill: v.value,
154
+ fill: m.value,
155
155
  opacity: e(s) ? 0.85 : 0.6
156
156
  }, [
157
157
  e(o) ? (a(), l("animate", {
@@ -161,7 +161,7 @@ const W = ["width", "height", "viewBox"], V = {
161
161
  dur: `${3 + d % 4}s`,
162
162
  begin: `${d * 0.5}s`,
163
163
  repeatCount: "indefinite"
164
- }, null, 8, te)) : m("", !0)
164
+ }, null, 8, te)) : v("", !0)
165
165
  ], 8, oe))), 128))
166
166
  ]),
167
167
  e(o) ? (a(), l("g", re, [
@@ -182,11 +182,11 @@ const W = ["width", "height", "viewBox"], V = {
182
182
  repeatCount: "indefinite"
183
183
  }, null, 8, le)
184
184
  ], 8, ae))), 128))
185
- ])) : m("", !0)
186
- ], 12, W)) : m("", !0)
185
+ ])) : v("", !0)
186
+ ], 12, W)) : v("", !0)
187
187
  ]));
188
188
  }
189
- }), ne = /* @__PURE__ */ T(ie, [["__scopeId", "data-v-81008f21"]]), de = /* @__PURE__ */ $({
189
+ }), ne = /* @__PURE__ */ T(ie, [["__scopeId", "data-v-bea71267"]]), de = /* @__PURE__ */ $({
190
190
  __name: "NeuralFieldCockpitShell",
191
191
  props: {
192
192
  menus: {},
@@ -202,14 +202,14 @@ const W = ["width", "height", "viewBox"], V = {
202
202
  },
203
203
  setup(x) {
204
204
  const s = x;
205
- return (o, c) => (a(), w(O, M(I(s)), G({
205
+ return (o, u) => (a(), w(z, M(G(s)), I({
206
206
  default: f((i) => [
207
207
  h(o.$slots, "default", {
208
208
  Footer: i.Footer
209
209
  })
210
210
  ]),
211
211
  decor: f(() => [
212
- A(ne)
212
+ L(ne)
213
213
  ]),
214
214
  _: 2
215
215
  }, [
@@ -310,28 +310,28 @@ const W = ["width", "height", "viewBox"], V = {
310
310
  extractLevel1ToHeader: !0,
311
311
  header: {
312
312
  height: 58,
313
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
313
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
314
314
  style: { borderRadius: "16px" }
315
315
  },
316
316
  sidebar: {
317
317
  width: 248,
318
318
  collapseWidth: 68,
319
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
319
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
320
320
  style: { borderRadius: "16px" }
321
321
  },
322
322
  aside: {
323
323
  width: 340,
324
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
324
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
325
325
  style: { borderRadius: "16px" }
326
326
  },
327
327
  footer: {
328
328
  height: 36,
329
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
329
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
330
330
  style: { borderRadius: "16px" }
331
331
  },
332
332
  breadcrumb: { height: 44 },
333
333
  body: { shimPadding: 18 },
334
- shell: L(de)
334
+ shell: O(de)
335
335
  }
336
336
  };
337
337
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, inject as i, onMounted as u, onBeforeUnmount as c, openBlock as b, createElementBlock as m, Fragment as f, renderSlot as a, unref as r, createVNode as l, withCtx as s, markRaw as h } from "vue";
1
+ import { defineComponent as d, inject as i, onMounted as u, onBeforeUnmount as c, openBlock as b, createElementBlock as f, Fragment as h, renderSlot as a, unref as r, createVNode as l, withCtx as s, markRaw as m } from "vue";
2
2
  import { APP_LAYOUT_APP_STORE_KEY as p, AppFooter as C, AppSidebar as g, AppHeader as v, AppTheme as n } from "@done-coding/admin-core";
3
3
  const w = /* @__PURE__ */ d({
4
4
  __name: "IconRailShell",
@@ -16,7 +16,7 @@ const w = /* @__PURE__ */ d({
16
16
  },
17
17
  setup(e) {
18
18
  const t = i(p);
19
- return u(() => t.changeSidebarCollapseStatus(!0)), c(() => t.changeSidebarCollapseStatus(!1)), (o, M) => (b(), m(f, null, [
19
+ return u(() => t.changeSidebarCollapseStatus(!0)), c(() => t.changeSidebarCollapseStatus(!1)), (o, M) => (b(), f(h, null, [
20
20
  a(o.$slots, "default", { Footer: r(C) }),
21
21
  l(r(g), {
22
22
  show: e.showSidebar,
@@ -86,18 +86,18 @@ const w = /* @__PURE__ */ d({
86
86
  gap: { size: 8 },
87
87
  header: {
88
88
  height: 52,
89
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
89
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
90
90
  style: { borderRadius: "8px" }
91
91
  },
92
92
  // 图标轨:collapseWidth 64(IconRailShell 强制 collapse);width 给手动展开态兜底。
93
93
  sidebar: {
94
94
  width: 220,
95
95
  collapseWidth: 64,
96
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
96
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
97
97
  style: { borderRadius: "8px" }
98
98
  },
99
99
  body: { shimPadding: 16 },
100
- shell: h(w)
100
+ shell: m(w)
101
101
  }
102
102
  };
103
103
  export {
@@ -84,7 +84,7 @@ const b = /* @__PURE__ */ t({
84
84
  gap: { size: 8 },
85
85
  header: {
86
86
  height: 56,
87
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
87
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
88
88
  style: { borderRadius: "10px" }
89
89
  },
90
90
  // 无左栏:sidebar 宽 0 → body 近全宽通栏(TopNavShell 不渲染 AppSidebar)。collapseWidth 0 同步(本拓扑无折叠态)。
@@ -42,13 +42,13 @@ const o = {
42
42
  extractLevel1ToHeader: !0,
43
43
  header: {
44
44
  height: 60,
45
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
45
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
46
46
  style: { borderRadius: "12px" }
47
47
  },
48
48
  sidebar: {
49
49
  width: 264,
50
50
  collapseWidth: 72,
51
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
51
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
52
52
  style: { borderRadius: "12px" }
53
53
  },
54
54
  body: { shimPadding: 28 }
@@ -1,7 +1,7 @@
1
- import { defineComponent as n, openBlock as d, createElementBlock as i, Fragment as u, renderSlot as a, unref as r, createVNode as s, withCtx as l, markRaw as c } from "vue";
2
- import { AppFooter as m, AppAside as f, AppHeader as h, AppTheme as t } from "@done-coding/admin-core";
1
+ import { defineComponent as d, openBlock as n, createElementBlock as i, Fragment as u, renderSlot as a, unref as r, createVNode as s, withCtx as l, markRaw as c } from "vue";
2
+ import { AppFooter as f, AppAside as m, AppHeader as h, AppTheme as t } from "@done-coding/admin-core";
3
3
  import { _ as b } from "../chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs";
4
- const p = /* @__PURE__ */ n({
4
+ const p = /* @__PURE__ */ d({
5
5
  __name: "StageChatShell",
6
6
  props: {
7
7
  menus: {},
@@ -16,9 +16,9 @@ const p = /* @__PURE__ */ n({
16
16
  sidebarAboveHeader: { type: Boolean }
17
17
  },
18
18
  setup(e) {
19
- return (o, g) => (d(), i(u, null, [
20
- a(o.$slots, "default", { Footer: r(m) }),
21
- s(r(f), { show: e.showAside }, {
19
+ return (o, g) => (n(), i(u, null, [
20
+ a(o.$slots, "default", { Footer: r(f) }),
21
+ s(r(m), { show: e.showAside }, {
22
22
  default: l(() => [
23
23
  a(o.$slots, "aside")
24
24
  ]),
@@ -90,7 +90,7 @@ const p = /* @__PURE__ */ n({
90
90
  gap: { size: 8 },
91
91
  header: {
92
92
  height: 56,
93
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
93
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
94
94
  style: { borderRadius: "12px" }
95
95
  },
96
96
  // 无左栏:sidebar 宽 0(StageChatShell 不渲染 AppSidebar);collapseWidth 0 同步。
@@ -98,7 +98,7 @@ const p = /* @__PURE__ */ n({
98
98
  // 右侧会话 aside:宽 360;demo 路由 meta.layout.aside=true 时显(StageChatShell 塞 ChatAsidePanel)。
99
99
  aside: {
100
100
  width: 360,
101
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
101
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
102
102
  style: { borderRadius: "12px" }
103
103
  },
104
104
  body: { shimPadding: 18 },
@@ -43,13 +43,13 @@ const r = {
43
43
  gap: { size: 10 },
44
44
  header: {
45
45
  height: 56,
46
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
46
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
47
47
  style: { borderRadius: "12px" }
48
48
  },
49
49
  sidebar: {
50
50
  width: 248,
51
51
  collapseWidth: 64,
52
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
52
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
53
53
  style: { borderRadius: "12px" }
54
54
  },
55
55
  body: { shimPadding: 24 }
@@ -1,6 +1,6 @@
1
- import { defineComponent as I, computed as d, openBlock as l, createBlock as O, Teleport as ne, unref as e, createElementBlock as u, normalizeStyle as re, createElementVNode as r, createCommentVNode as x, Fragment as E, renderList as G, normalizeProps as ae, guardReactiveProps as se, createSlots as le, withCtx as C, createVNode as ie, renderSlot as L, markRaw as de } from "vue";
1
+ import { defineComponent as O, computed as d, openBlock as l, createBlock as V, Teleport as ne, unref as e, createElementBlock as u, normalizeStyle as re, createElementVNode as r, createCommentVNode as x, Fragment as E, renderList as G, normalizeProps as ae, guardReactiveProps as se, createSlots as le, withCtx as C, createVNode as ie, renderSlot as L, markRaw as de } from "vue";
2
2
  import { _ as ue } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
3
- import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as ce } from "@done-coding/admin-core";
3
+ import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as ce } from "@done-coding/admin-core";
4
4
  import { u as fe } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
5
5
  const pe = ["width", "height", "viewBox"], he = {
6
6
  id: "dragonGold",
@@ -19,50 +19,50 @@ const pe = ["width", "height", "viewBox"], he = {
19
19
  cx: "50%",
20
20
  cy: "50%",
21
21
  r: "50%"
22
- }, xe = ["stop-color"], ke = ["stop-color"], $e = ["transform"], be = ["values"], we = ["d", "stroke"], Ce = ["d", "stroke-width", "filter"], Me = ["d"], Fe = ["d", "filter"], Ee = ["to"], Ge = ["d", "filter"], Le = ["transform"], De = ["d", "filter"], Se = ["dur"], Be = ["d", "stroke"], Ne = ["d", "filter"], Ae = ["fill", "filter"], He = ["fill"], Re = ["stroke"], Pe = ["fill"], We = {
22
+ }, xe = ["stop-color"], ke = ["stop-color"], $e = ["transform"], be = ["values"], we = ["d", "stroke"], Ce = ["d", "stroke-width", "filter"], Me = ["d"], Fe = ["d", "filter"], Ee = ["to"], Ge = ["d", "filter"], Le = ["transform"], De = ["d", "filter"], Se = ["dur"], Be = ["d", "stroke"], Ne = ["d", "filter"], He = ["fill", "filter"], Re = ["fill"], Ae = ["stroke"], Pe = ["fill"], We = {
23
23
  key: 0,
24
24
  attributeName: "r",
25
25
  values: "2.6;3.1;2.6",
26
26
  dur: "3.4s",
27
27
  repeatCount: "indefinite"
28
- }, je = ["transform"], Te = ["fill"], Ie = {
28
+ }, je = ["transform"], Te = ["fill"], Oe = {
29
29
  key: 0,
30
30
  attributeName: "opacity",
31
31
  values: "0.3;0.7;0.3",
32
32
  dur: "2.4s",
33
33
  repeatCount: "indefinite"
34
- }, Oe = {
34
+ }, Ve = {
35
35
  r: "6",
36
36
  fill: "url(#pearlGrad)",
37
37
  filter: "url(#dragonGlow)"
38
- }, Ve = {
38
+ }, Ie = {
39
39
  key: 0,
40
40
  attributeName: "r",
41
41
  values: "5.4;6.6;5.4",
42
42
  dur: "2.8s",
43
43
  repeatCount: "indefinite"
44
- }, S = "#e8cf8f", Ze = 9, N = 220, ze = "M -8,-2 C -2,-17 16,-23 30,-18 C 41,-14 49,-13 59,-13 L 67,-7 C 64,-3 60,-2 55,-2 L 46,-1 L 37,0 C 26,1 12,2 4,1 Z", Xe = "M 42,4 L 65,2 L 56,11 L 44,10 Z", Ye = "M 31,-13 C 35,-15 41,-15 45,-12", Ke = /* @__PURE__ */ I({
44
+ }, S = "#e8cf8f", Ze = 9, N = 220, ze = "M -8,-2 C -2,-17 16,-23 30,-18 C 41,-14 49,-13 59,-13 L 67,-7 C 64,-3 60,-2 55,-2 L 46,-1 L 37,0 C 26,1 12,2 4,1 Z", Xe = "M 42,4 L 65,2 L 56,11 L 44,10 Z", Ye = "M 31,-13 C 35,-15 41,-15 45,-12", Ke = /* @__PURE__ */ O({
45
45
  __name: "CoilingDragonDecor",
46
- setup(A) {
47
- const { vp: k, isDark: a, animated: _, vw: f, vh: v, hasFrame: V } = fe(), M = d(() => a.value ? "#e0bd6a" : "#cda14a"), p = d(
46
+ setup(H) {
47
+ const { vp: k, isDark: a, animated: _, vw: f, vh: v, hasFrame: I } = fe(), M = d(() => a.value ? "#e0bd6a" : "#cda14a"), p = d(
48
48
  () => Math.min(
49
49
  k.value.paddingTop,
50
50
  k.value.paddingRight,
51
51
  k.value.paddingBottom,
52
52
  k.value.paddingLeft
53
53
  ) / 2
54
- ), $ = d(() => Math.max(0, f.value - p.value * 2)), b = d(() => Math.max(0, v.value - p.value * 2)), H = d(() => 2 * ($.value + b.value));
54
+ ), $ = d(() => Math.max(0, f.value - p.value * 2)), b = d(() => Math.max(0, v.value - p.value * 2)), R = d(() => 2 * ($.value + b.value));
55
55
  function F(i) {
56
56
  const o = p.value, t = $.value, n = b.value;
57
57
  let s = (i % 1 + 1) % 1;
58
- return s *= H.value, s <= t ? { x: o + s, y: o, nx: 0, ny: 1 } : (s -= t, s <= n ? { x: o + t, y: o + s, nx: -1, ny: 0 } : (s -= n, s <= t ? { x: o + t - s, y: o + n, nx: 0, ny: -1 } : (s -= t, { x: o, y: o + n - s, nx: 1, ny: 0 })));
58
+ return s *= R.value, s <= t ? { x: o + s, y: o, nx: 0, ny: 1 } : (s -= t, s <= n ? { x: o + t, y: o + s, nx: -1, ny: 0 } : (s -= n, s <= t ? { x: o + t - s, y: o + n, nx: 0, ny: -1 } : (s -= t, { x: o, y: o + n - s, nx: 1, ny: 0 })));
59
59
  }
60
60
  const Z = d(() => Math.min(p.value * 0.5, 11));
61
61
  function y(i) {
62
62
  const o = F(i), t = Math.sin(i * Ze * Math.PI * 2) * Z.value;
63
63
  return { x: o.x + o.nx * t, y: o.y + o.ny * t };
64
64
  }
65
- const R = d(() => {
65
+ const A = d(() => {
66
66
  if ($.value <= 0 || b.value <= 0) return "";
67
67
  const i = [];
68
68
  for (let o = 0; o <= N; o++) {
@@ -125,8 +125,8 @@ const pe = ["width", "height", "viewBox"], he = {
125
125
  "M -5,2 C -15,1 -22,5 -30,3",
126
126
  "M -7,-1 C -18,-3 -25,0 -33,-5"
127
127
  ];
128
- return (i, o) => (l(), O(ne, { to: "body" }, [
129
- e(V) ? (l(), u("svg", {
128
+ return (i, o) => (l(), V(ne, { to: "body" }, [
129
+ e(I) ? (l(), u("svg", {
130
130
  key: 0,
131
131
  class: "coiling-dragon-decor",
132
132
  style: re({
@@ -206,7 +206,7 @@ const pe = ["width", "height", "viewBox"], he = {
206
206
  filter: e(a) ? "url(#dragonGlow)" : void 0
207
207
  }, null, 8, Ce))), 128)),
208
208
  r("path", {
209
- d: R.value,
209
+ d: A.value,
210
210
  fill: "none",
211
211
  stroke: S,
212
212
  "stroke-width": "1",
@@ -214,7 +214,7 @@ const pe = ["width", "height", "viewBox"], he = {
214
214
  "stroke-opacity": "0.65"
215
215
  }, null, 8, Me),
216
216
  r("path", {
217
- d: R.value,
217
+ d: A.value,
218
218
  fill: "none",
219
219
  stroke: S,
220
220
  "stroke-width": "2.4",
@@ -227,7 +227,7 @@ const pe = ["width", "height", "viewBox"], he = {
227
227
  key: 0,
228
228
  attributeName: "stroke-dashoffset",
229
229
  from: "0",
230
- to: -H.value,
230
+ to: -R.value,
231
231
  dur: "18s",
232
232
  repeatCount: "indefinite"
233
233
  }, null, 8, Ee)) : x("", !0)
@@ -288,21 +288,21 @@ const pe = ["width", "height", "viewBox"], he = {
288
288
  "stroke-width": "2.4",
289
289
  "stroke-linejoin": "round",
290
290
  filter: e(a) ? "url(#dragonGlow)" : void 0
291
- }, null, 8, Ae),
291
+ }, null, 8, He),
292
292
  r("path", {
293
293
  d: Xe,
294
294
  fill: e(a) ? "rgba(224,189,106,0.16)" : "rgba(205,161,74,0.12)",
295
295
  stroke: "url(#dragonGold)",
296
296
  "stroke-width": "2",
297
297
  "stroke-linejoin": "round"
298
- }, null, 8, He),
298
+ }, null, 8, Re),
299
299
  r("path", {
300
300
  d: Ye,
301
301
  fill: "none",
302
302
  stroke: M.value,
303
303
  "stroke-width": "1.4",
304
304
  "stroke-linecap": "round"
305
- }, null, 8, Re),
305
+ }, null, 8, Ae),
306
306
  r("circle", {
307
307
  cx: "38",
308
308
  cy: "-9",
@@ -321,17 +321,17 @@ const pe = ["width", "height", "viewBox"], he = {
321
321
  opacity: 0.55,
322
322
  filter: "url(#dragonGlow)"
323
323
  }, [
324
- e(_) ? (l(), u("animate", Ie)) : x("", !0)
324
+ e(_) ? (l(), u("animate", Oe)) : x("", !0)
325
325
  ], 8, Te),
326
- r("circle", Oe, [
327
- e(_) ? (l(), u("animate", Ve)) : x("", !0)
326
+ r("circle", Ve, [
327
+ e(_) ? (l(), u("animate", Ie)) : x("", !0)
328
328
  ])
329
329
  ], 8, je)
330
330
  ], 8, $e)
331
331
  ], 12, pe)) : x("", !0)
332
332
  ]));
333
333
  }
334
- }), Je = /* @__PURE__ */ I({
334
+ }), Je = /* @__PURE__ */ O({
335
335
  __name: "CoilingDragonShell",
336
336
  props: {
337
337
  menus: {},
@@ -345,9 +345,9 @@ const pe = ["width", "height", "viewBox"], he = {
345
345
  showAside: { type: Boolean },
346
346
  sidebarAboveHeader: { type: Boolean }
347
347
  },
348
- setup(A) {
349
- const k = A;
350
- return (a, _) => (l(), O(ue, ae(se(k)), le({
348
+ setup(H) {
349
+ const k = H;
350
+ return (a, _) => (l(), V(ue, ae(se(k)), le({
351
351
  default: C((f) => [
352
352
  L(a.$slots, "default", {
353
353
  Footer: f.Footer
@@ -1,15 +1,15 @@
1
- import { defineComponent as v, computed as n, openBlock as c, createBlock as x, Teleport as C, unref as e, createElementBlock as p, normalizeStyle as M, createElementVNode as o, createCommentVNode as y, Fragment as B, renderSlot as l, createVNode as d, withCtx as _, markRaw as F } from "vue";
2
- import { ADMIN_CORE_VIEWPORT_DECOR_ZINDEX_BELOW as G, AppFooter as L, AppHeader as T, AppTheme as b } from "@done-coding/admin-core";
1
+ import { defineComponent as v, computed as n, openBlock as d, createBlock as x, Teleport as C, unref as e, createElementBlock as p, normalizeStyle as B, createElementVNode as o, createCommentVNode as y, Fragment as F, renderSlot as l, createVNode as c, withCtx as _, markRaw as M } from "vue";
2
+ import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as G, AppFooter as L, AppHeader as T, AppTheme as b } from "@done-coding/admin-core";
3
3
  import { _ as k } from "../chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs";
4
4
  import { u as E } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
5
5
  import { _ as $ } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
6
- const N = ["width", "height", "viewBox"], R = {
6
+ const R = ["width", "height", "viewBox"], N = {
7
7
  id: "fgSplit",
8
8
  x1: "0%",
9
9
  y1: "100%",
10
10
  x2: "100%",
11
11
  y2: "0%"
12
- }, A = ["stop-color", "stop-opacity"], D = ["stop-color"], S = ["stop-color"], I = ["stop-color", "stop-opacity"], H = {
12
+ }, S = ["stop-color", "stop-opacity"], A = ["stop-color"], D = ["stop-color"], H = ["stop-color", "stop-opacity"], I = {
13
13
  id: "fgBarTop",
14
14
  x1: "0%",
15
15
  y1: "0%",
@@ -30,12 +30,12 @@ const N = ["width", "height", "viewBox"], R = {
30
30
  }, X = ["width", "height"], Z = ["width", "height", "y"], j = ["width", "height", "opacity"], J = /* @__PURE__ */ v({
31
31
  __name: "FilmGradeDecor",
32
32
  setup(a) {
33
- const { isDark: t, animated: f, vw: r, vh: s, hasFrame: w } = E(), h = n(() => t.value ? "#2dd4bf" : "#3aa99a"), m = n(() => t.value ? "#fb923c" : "#ea7317"), i = n(() => t.value ? "#000000" : "#1c2420"), u = n(() => Number(Math.min(s.value * 0.07, 64).toFixed(1)));
34
- return (Y, g) => (c(), x(C, { to: "body" }, [
35
- e(w) ? (c(), p("svg", {
33
+ const { isDark: t, animated: h, vw: r, vh: s, hasFrame: w } = E(), f = n(() => t.value ? "#2dd4bf" : "#3aa99a"), m = n(() => t.value ? "#fb923c" : "#ea7317"), i = n(() => t.value ? "#000000" : "#1c2420"), u = n(() => Number(Math.min(s.value * 0.07, 64).toFixed(1)));
34
+ return (Y, g) => (d(), x(C, { to: "body" }, [
35
+ e(w) ? (d(), p("svg", {
36
36
  key: 0,
37
37
  class: "film-grade-decor",
38
- style: M({
38
+ style: B({
39
39
  position: "fixed",
40
40
  left: 0,
41
41
  top: 0,
@@ -49,29 +49,29 @@ const N = ["width", "height", "viewBox"], R = {
49
49
  "aria-hidden": "true"
50
50
  }, [
51
51
  o("defs", null, [
52
- o("linearGradient", R, [
52
+ o("linearGradient", N, [
53
53
  o("stop", {
54
54
  offset: "0%",
55
- "stop-color": h.value,
55
+ "stop-color": f.value,
56
56
  "stop-opacity": e(t) ? 0.22 : 0.1
57
- }, null, 8, A),
57
+ }, null, 8, S),
58
58
  o("stop", {
59
59
  offset: "50%",
60
- "stop-color": h.value,
60
+ "stop-color": f.value,
61
61
  "stop-opacity": "0"
62
- }, null, 8, D),
62
+ }, null, 8, A),
63
63
  o("stop", {
64
64
  offset: "62%",
65
65
  "stop-color": m.value,
66
66
  "stop-opacity": "0"
67
- }, null, 8, S),
67
+ }, null, 8, D),
68
68
  o("stop", {
69
69
  offset: "100%",
70
70
  "stop-color": m.value,
71
71
  "stop-opacity": e(t) ? 0.22 : 0.1
72
- }, null, 8, I)
72
+ }, null, 8, H)
73
73
  ]),
74
- o("linearGradient", H, [
74
+ o("linearGradient", I, [
75
75
  o("stop", {
76
76
  offset: "0%",
77
77
  "stop-color": i.value,
@@ -113,7 +113,7 @@ const N = ["width", "height", "viewBox"], R = {
113
113
  height: e(s),
114
114
  fill: "url(#fgSplit)"
115
115
  }, [
116
- e(f) ? (c(), p("animate", U)) : y("", !0)
116
+ e(h) ? (d(), p("animate", U)) : y("", !0)
117
117
  ], 8, q),
118
118
  o("rect", {
119
119
  width: e(r),
@@ -135,10 +135,10 @@ const N = ["width", "height", "viewBox"], R = {
135
135
  filter: "url(#fgGrain)",
136
136
  opacity: e(t) ? 0.06 : 0.03
137
137
  }, null, 8, j)
138
- ], 12, N)) : y("", !0)
138
+ ], 12, R)) : y("", !0)
139
139
  ]));
140
140
  }
141
- }), K = /* @__PURE__ */ $(J, [["__scopeId", "data-v-dedf7df3"]]), Q = /* @__PURE__ */ v({
141
+ }), K = /* @__PURE__ */ $(J, [["__scopeId", "data-v-96196e59"]]), Q = /* @__PURE__ */ v({
142
142
  __name: "FilmGradeShell",
143
143
  props: {
144
144
  menus: {},
@@ -153,9 +153,9 @@ const N = ["width", "height", "viewBox"], R = {
153
153
  sidebarAboveHeader: { type: Boolean }
154
154
  },
155
155
  setup(a) {
156
- return (t, f) => (c(), p(B, null, [
156
+ return (t, h) => (d(), p(F, null, [
157
157
  l(t.$slots, "default", { Footer: e(L) }),
158
- d(e(T), {
158
+ c(e(T), {
159
159
  show: a.showHeader,
160
160
  menus: a.headerMenus,
161
161
  activeMenu: a.activeMenu,
@@ -164,21 +164,21 @@ const N = ["width", "height", "viewBox"], R = {
164
164
  }, {
165
165
  left: _(() => [
166
166
  l(t.$slots, "brand"),
167
- d(k, {
167
+ c(k, {
168
168
  menus: a.menus,
169
169
  menuFlatList: a.menuFlatList
170
170
  }, null, 8, ["menus", "menuFlatList"])
171
171
  ]),
172
172
  right: _(() => [
173
173
  l(t.$slots, "themeSwitcher", { Default: e(b) }, () => [
174
- d(e(b))
174
+ c(e(b))
175
175
  ]),
176
176
  l(t.$slots, "userEntry"),
177
177
  l(t.$slots, "settings")
178
178
  ]),
179
179
  _: 3
180
180
  }, 8, ["show", "menus", "activeMenu", "activeModuleMenu", "menuFlatList"]),
181
- d(K)
181
+ c(K)
182
182
  ], 64));
183
183
  }
184
184
  }), se = {
@@ -238,13 +238,13 @@ const N = ["width", "height", "viewBox"], R = {
238
238
  gap: { size: 8 },
239
239
  header: {
240
240
  height: 56,
241
- background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
241
+ background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
242
242
  style: { borderRadius: "10px" }
243
243
  },
244
244
  // 无左栏:sidebar 宽 0(FilmGradeShell 不渲染 AppSidebar)。
245
245
  sidebar: { width: 0, collapseWidth: 0 },
246
246
  body: { shimPadding: 18 },
247
- shell: F(Q)
247
+ shell: M(Q)
248
248
  }
249
249
  };
250
250
  export {