@done-coding/admin-plugin-theme 0.1.1-alpha.0 → 0.2.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/es/assets/applied-intelligence-frame.mjs +315 -0
  2. package/es/assets/applied-intelligence-nebula.mjs +400 -0
  3. package/es/assets/aurora-mesh.mjs +350 -0
  4. package/es/assets/botanical-paper.mjs +60 -0
  5. package/es/assets/brutal-concrete.mjs +51 -0
  6. package/es/assets/cockpit-brutal-steel.mjs +300 -0
  7. package/es/assets/cockpit-liquid-ink.mjs +329 -0
  8. package/es/assets/cockpit-mono-paper.mjs +238 -0
  9. package/es/assets/cockpit-neural-field.mjs +339 -0
  10. package/es/assets/compact-rail.mjs +105 -0
  11. package/es/assets/console-horizon.mjs +98 -0
  12. package/es/assets/contrast.mjs +3 -1
  13. package/es/assets/copilot-calm.mjs +59 -0
  14. package/es/assets/copilot-stage.mjs +110 -0
  15. package/es/assets/coral-reef.mjs +60 -0
  16. package/es/assets/cyber.mjs +3 -1
  17. package/es/assets/dragon-vermilion.mjs +450 -0
  18. package/es/assets/film-grade.mjs +252 -0
  19. package/es/assets/glass.mjs +3 -1
  20. package/es/assets/graphite-mono.mjs +51 -0
  21. package/es/assets/gugong.mjs +3 -1
  22. package/es/assets/ink.mjs +3 -1
  23. package/es/assets/neon-set.mjs +316 -0
  24. package/es/assets/nordic-fjord.mjs +58 -0
  25. package/es/assets/perspective-deck.mjs +229 -0
  26. package/es/assets/quantum-ai.mjs +255 -0
  27. package/es/assets/sandstone-editorial.mjs +60 -0
  28. package/es/assets/starfield-cosmos.mjs +352 -0
  29. package/es/assets/studio-ink.mjs +308 -0
  30. package/es/assets/studio-triptych.mjs +115 -0
  31. package/es/assets/sunset-amber.mjs +61 -0
  32. package/es/assets/synapse-grid.mjs +275 -0
  33. package/es/assets/terminal-phosphor.mjs +240 -0
  34. package/es/assets/velvet-noir.mjs +60 -0
  35. package/es/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-B6k0Utzz.mjs +238 -0
  36. package/es/chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs +57 -0
  37. package/es/chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs +31 -0
  38. package/es/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  39. package/es/chunks/use-frame-geometry-DPWBVziK.mjs +45 -0
  40. package/es/style.css +1 -0
  41. package/lib/assets/applied-intelligence-frame.cjs +1 -0
  42. package/lib/assets/applied-intelligence-nebula.cjs +1 -0
  43. package/lib/assets/aurora-mesh.cjs +1 -0
  44. package/lib/assets/botanical-paper.cjs +1 -0
  45. package/lib/assets/brutal-concrete.cjs +1 -0
  46. package/lib/assets/cockpit-brutal-steel.cjs +4 -0
  47. package/lib/assets/cockpit-liquid-ink.cjs +1 -0
  48. package/lib/assets/cockpit-mono-paper.cjs +1 -0
  49. package/lib/assets/cockpit-neural-field.cjs +1 -0
  50. package/lib/assets/compact-rail.cjs +1 -0
  51. package/lib/assets/console-horizon.cjs +1 -0
  52. package/lib/assets/contrast.cjs +1 -1
  53. package/lib/assets/copilot-calm.cjs +1 -0
  54. package/lib/assets/copilot-stage.cjs +1 -0
  55. package/lib/assets/coral-reef.cjs +1 -0
  56. package/lib/assets/cyber.cjs +1 -1
  57. package/lib/assets/dragon-vermilion.cjs +1 -0
  58. package/lib/assets/film-grade.cjs +1 -0
  59. package/lib/assets/glass.cjs +1 -1
  60. package/lib/assets/graphite-mono.cjs +1 -0
  61. package/lib/assets/gugong.cjs +1 -1
  62. package/lib/assets/ink.cjs +1 -1
  63. package/lib/assets/neon-set.cjs +1 -0
  64. package/lib/assets/nordic-fjord.cjs +1 -0
  65. package/lib/assets/perspective-deck.cjs +1 -0
  66. package/lib/assets/quantum-ai.cjs +1 -0
  67. package/lib/assets/sandstone-editorial.cjs +1 -0
  68. package/lib/assets/starfield-cosmos.cjs +1 -0
  69. package/lib/assets/studio-ink.cjs +1 -0
  70. package/lib/assets/studio-triptych.cjs +1 -0
  71. package/lib/assets/sunset-amber.cjs +1 -0
  72. package/lib/assets/synapse-grid.cjs +1 -0
  73. package/lib/assets/terminal-phosphor.cjs +1 -0
  74. package/lib/assets/velvet-noir.cjs +1 -0
  75. package/lib/chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-D2LEvqm8.cjs +1 -0
  76. package/lib/chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-C-mttf00.cjs +1 -0
  77. package/lib/chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-LJ3mDZkH.cjs +1 -0
  78. package/lib/chunks/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
  79. package/lib/chunks/use-frame-geometry-5WRLC-WU.cjs +1 -0
  80. package/lib/style.css +1 -0
  81. package/package.json +3 -3
  82. package/types/assets/applied-intelligence-frame.d.ts +15 -0
  83. package/types/assets/applied-intelligence-nebula.d.ts +14 -0
  84. package/types/assets/aurora-mesh.d.ts +9 -0
  85. package/types/assets/botanical-paper.d.ts +10 -0
  86. package/types/assets/brutal-concrete.d.ts +10 -0
  87. package/types/assets/cockpit-brutal-steel.d.ts +3 -0
  88. package/types/assets/cockpit-liquid-ink.d.ts +14 -0
  89. package/types/assets/cockpit-mono-paper.d.ts +12 -0
  90. package/types/assets/cockpit-neural-field.d.ts +11 -0
  91. package/types/assets/compact-rail.d.ts +9 -0
  92. package/types/assets/console-horizon.d.ts +9 -0
  93. package/types/assets/copilot-calm.d.ts +10 -0
  94. package/types/assets/copilot-stage.d.ts +9 -0
  95. package/types/assets/coral-reef.d.ts +10 -0
  96. package/types/assets/dragon-vermilion.d.ts +9 -0
  97. package/types/assets/film-grade.d.ts +12 -0
  98. package/types/assets/graphite-mono.d.ts +10 -0
  99. package/types/assets/neon-set.d.ts +12 -0
  100. package/types/assets/nordic-fjord.d.ts +9 -0
  101. package/types/assets/perspective-deck.d.ts +10 -0
  102. package/types/assets/quantum-ai.d.ts +9 -0
  103. package/types/assets/sandstone-editorial.d.ts +10 -0
  104. package/types/assets/starfield-cosmos.d.ts +10 -0
  105. package/types/assets/studio-ink.d.ts +12 -0
  106. package/types/assets/studio-triptych.d.ts +9 -0
  107. package/types/assets/sunset-amber.d.ts +10 -0
  108. package/types/assets/synapse-grid.d.ts +9 -0
  109. package/types/assets/terminal-phosphor.d.ts +9 -0
  110. package/types/assets/velvet-noir.d.ts +10 -0
  111. package/types/shells/AppliedIntelligenceFrameShell.vue.d.ts +27 -0
  112. package/types/shells/AppliedIntelligenceNebulaShell.vue.d.ts +27 -0
  113. package/types/shells/AuroraMeshShell.vue.d.ts +26 -0
  114. package/types/shells/BrutalSteelCockpitShell.vue.d.ts +27 -0
  115. package/types/shells/CockpitShellBase.vue.d.ts +28 -0
  116. package/types/shells/CockpitStatusBar.vue.d.ts +2 -0
  117. package/types/shells/CoilingDragonShell.vue.d.ts +26 -0
  118. package/types/shells/CosmosShell.vue.d.ts +26 -0
  119. package/types/shells/FilmGradeShell.vue.d.ts +26 -0
  120. package/types/shells/FrameShellBase.vue.d.ts +28 -0
  121. package/types/shells/HeaderNavMenu.vue.d.ts +4 -0
  122. package/types/shells/IconRailShell.vue.d.ts +26 -0
  123. package/types/shells/LiquidInkCockpitShell.vue.d.ts +27 -0
  124. package/types/shells/MonoPaperCockpitShell.vue.d.ts +27 -0
  125. package/types/shells/NeonSetShell.vue.d.ts +27 -0
  126. package/types/shells/NeuralFieldCockpitShell.vue.d.ts +27 -0
  127. package/types/shells/PerspectiveDeckShell.vue.d.ts +26 -0
  128. package/types/shells/QuantumOrbitShell.vue.d.ts +26 -0
  129. package/types/shells/ScanlineShell.vue.d.ts +26 -0
  130. package/types/shells/StageChatShell.vue.d.ts +27 -0
  131. package/types/shells/StudioInkShell.vue.d.ts +27 -0
  132. package/types/shells/SynapseGridShell.vue.d.ts +26 -0
  133. package/types/shells/TopNavShell.vue.d.ts +26 -0
  134. package/types/shells/TriColumnShell.vue.d.ts +27 -0
  135. package/types/shells/decor/AuroraFrameDecor.vue.d.ts +2 -0
  136. package/types/shells/decor/AuroraMeshDecor.vue.d.ts +2 -0
  137. package/types/shells/decor/AuroraNebulaDecor.vue.d.ts +2 -0
  138. package/types/shells/decor/BrutalSteelCockpitDecor.vue.d.ts +2 -0
  139. package/types/shells/decor/CockpitFrameMatte.vue.d.ts +2 -0
  140. package/types/shells/decor/CoilingDragonDecor.vue.d.ts +2 -0
  141. package/types/shells/decor/FilmGradeDecor.vue.d.ts +2 -0
  142. package/types/shells/decor/LiquidInkCockpitDecor.vue.d.ts +2 -0
  143. package/types/shells/decor/MonoPaperCockpitDecor.vue.d.ts +2 -0
  144. package/types/shells/decor/NeonStageDecor.vue.d.ts +2 -0
  145. package/types/shells/decor/NeuralFieldCockpitDecor.vue.d.ts +2 -0
  146. package/types/shells/decor/PerspectiveDeckDecor.vue.d.ts +4 -0
  147. package/types/shells/decor/QuantumOrbitDecor.vue.d.ts +2 -0
  148. package/types/shells/decor/ScanlineDecor.vue.d.ts +2 -0
  149. package/types/shells/decor/StarfieldDecor.vue.d.ts +2 -0
  150. package/types/shells/decor/StudioGlowDecor.vue.d.ts +2 -0
  151. package/types/shells/decor/SynapseGridDecor.vue.d.ts +2 -0
  152. package/types/shells/decor/use-frame-geometry.d.ts +31 -0
  153. package/types/types.d.ts +33 -11
@@ -0,0 +1,450 @@
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";
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";
4
+ import { u as fe } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
5
+ const pe = ["width", "height", "viewBox"], he = {
6
+ id: "dragonGold",
7
+ x1: "0",
8
+ y1: "0",
9
+ x2: "1",
10
+ y2: "1"
11
+ }, me = ["stop-color"], _e = ["stop-color"], ve = {
12
+ id: "dragonGlow",
13
+ x: "-50%",
14
+ y: "-50%",
15
+ width: "200%",
16
+ height: "200%"
17
+ }, ye = ["stdDeviation"], ge = {
18
+ id: "pearlGrad",
19
+ cx: "50%",
20
+ cy: "50%",
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 = {
23
+ key: 0,
24
+ attributeName: "r",
25
+ values: "2.6;3.1;2.6",
26
+ dur: "3.4s",
27
+ repeatCount: "indefinite"
28
+ }, je = ["transform"], Te = ["fill"], Ie = {
29
+ key: 0,
30
+ attributeName: "opacity",
31
+ values: "0.3;0.7;0.3",
32
+ dur: "2.4s",
33
+ repeatCount: "indefinite"
34
+ }, Oe = {
35
+ r: "6",
36
+ fill: "url(#pearlGrad)",
37
+ filter: "url(#dragonGlow)"
38
+ }, Ve = {
39
+ key: 0,
40
+ attributeName: "r",
41
+ values: "5.4;6.6;5.4",
42
+ dur: "2.8s",
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({
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(
48
+ () => Math.min(
49
+ k.value.paddingTop,
50
+ k.value.paddingRight,
51
+ k.value.paddingBottom,
52
+ k.value.paddingLeft
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));
55
+ function F(i) {
56
+ const o = p.value, t = $.value, n = b.value;
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 })));
59
+ }
60
+ const Z = d(() => Math.min(p.value * 0.5, 11));
61
+ function y(i) {
62
+ const o = F(i), t = Math.sin(i * Ze * Math.PI * 2) * Z.value;
63
+ return { x: o.x + o.nx * t, y: o.y + o.ny * t };
64
+ }
65
+ const R = d(() => {
66
+ if ($.value <= 0 || b.value <= 0) return "";
67
+ const i = [];
68
+ for (let o = 0; o <= N; o++) {
69
+ const { x: t, y: n } = y(o / N);
70
+ i.push(`${o === 0 ? "M" : "L"}${t.toFixed(1)},${n.toFixed(1)}`);
71
+ }
72
+ return i.join(" ");
73
+ }), z = d(() => $.value <= 0 || b.value <= 0 ? [] : [
74
+ [0, 0.28, Math.max(6, p.value * 0.62)],
75
+ [0.27, 0.53, Math.max(5, p.value * 0.48)],
76
+ [0.52, 0.78, Math.max(4, p.value * 0.34)],
77
+ [0.77, 1, Math.max(2.5, p.value * 0.2)]
78
+ ].map(([o, t, n]) => {
79
+ const s = Math.max(2, Math.round((t - o) * N)), h = [];
80
+ for (let c = 0; c <= s; c++) {
81
+ const m = o + (t - o) * c / s, { x: w, y: g } = y(m);
82
+ h.push(`${c === 0 ? "M" : "L"}${w.toFixed(1)},${g.toFixed(1)}`);
83
+ }
84
+ return { d: h.join(" "), w: Number(n.toFixed(1)) };
85
+ })), X = d(() => {
86
+ if ($.value <= 0 || b.value <= 0) return "";
87
+ const i = 26, o = Math.max(4, p.value * 0.55), t = [];
88
+ for (let n = 0; n < i; n++) {
89
+ const s = 0.06 + n / i * 0.9, h = F(s), c = y(s - 4e-3), m = y(s + 4e-3), w = (c.x + m.x) / 2 - h.nx * o, g = (c.y + m.y) / 2 - h.ny * o;
90
+ t.push(
91
+ `M${c.x.toFixed(1)},${c.y.toFixed(1)} L${w.toFixed(1)},${g.toFixed(
92
+ 1
93
+ )} L${m.x.toFixed(1)},${m.y.toFixed(1)} Z`
94
+ );
95
+ }
96
+ return t.join(" ");
97
+ }), Y = d(() => {
98
+ if ($.value <= 0 || b.value <= 0) return [];
99
+ const i = [], o = Math.max(8, p.value * 0.7);
100
+ return [0.18, 0.62].forEach((t) => {
101
+ const n = y(t), s = F(t), h = n.x + s.nx * o, c = n.y + s.ny * o, m = y(t - 0.01), w = y(t + 0.01);
102
+ let g = w.x - m.x, B = w.y - m.y;
103
+ const j = Math.hypot(g, B) || 1;
104
+ g /= j, B /= j;
105
+ const D = Math.max(3, p.value * 0.28), ee = [-1, 0, 1].map((T) => {
106
+ const te = h + s.nx * D + g * T * D * 0.9, oe = c + s.ny * D + B * T * D * 0.9;
107
+ return `M${h.toFixed(1)},${c.toFixed(1)} L${te.toFixed(
108
+ 1
109
+ )},${oe.toFixed(1)}`;
110
+ }).join(" ");
111
+ i.push(
112
+ `M${n.x.toFixed(1)},${n.y.toFixed(1)} L${h.toFixed(1)},${c.toFixed(
113
+ 1
114
+ )} ${ee}`
115
+ );
116
+ }), i;
117
+ }), P = d(() => F(0).x), W = d(() => F(0).y), K = d(() => P.value + 86), J = d(() => W.value - 5), U = [
118
+ "M 23,-16 C 17,-27 9,-31 -1,-34",
119
+ "M 31,-15 C 28,-28 22,-33 13,-37"
120
+ ], q = [
121
+ "M 63,-6 C 44,-17 21,-13 0,-21",
122
+ "M 61,-3 C 42,-6 19,-2 -4,-11"
123
+ ], Q = [
124
+ "M -6,-3 C -16,-9 -23,-7 -31,-13",
125
+ "M -5,2 C -15,1 -22,5 -30,3",
126
+ "M -7,-1 C -18,-3 -25,0 -33,-5"
127
+ ];
128
+ return (i, o) => (l(), O(ne, { to: "body" }, [
129
+ e(V) ? (l(), u("svg", {
130
+ key: 0,
131
+ class: "coiling-dragon-decor",
132
+ style: re({
133
+ position: "fixed",
134
+ left: 0,
135
+ top: 0,
136
+ pointerEvents: "none",
137
+ zIndex: e(ce),
138
+ opacity: e(a) ? 0.72 : 0.5
139
+ }),
140
+ width: e(f),
141
+ height: e(v),
142
+ viewBox: `0 0 ${e(f)} ${e(v)}`,
143
+ "aria-hidden": "true"
144
+ }, [
145
+ r("defs", null, [
146
+ r("linearGradient", he, [
147
+ r("stop", {
148
+ offset: "0%",
149
+ "stop-color": M.value
150
+ }, null, 8, me),
151
+ r("stop", {
152
+ offset: "50%",
153
+ "stop-color": S
154
+ }),
155
+ r("stop", {
156
+ offset: "100%",
157
+ "stop-color": M.value
158
+ }, null, 8, _e)
159
+ ]),
160
+ r("filter", ve, [
161
+ r("feGaussianBlur", {
162
+ stdDeviation: e(a) ? 2.6 : 1.3
163
+ }, null, 8, ye)
164
+ ]),
165
+ r("radialGradient", ge, [
166
+ o[0] || (o[0] = r("stop", {
167
+ offset: "0%",
168
+ "stop-color": "#fff3d6"
169
+ }, null, -1)),
170
+ r("stop", {
171
+ offset: "45%",
172
+ "stop-color": e(a) ? "#ffd86b" : "#f0b03a"
173
+ }, null, 8, xe),
174
+ r("stop", {
175
+ offset: "100%",
176
+ "stop-color": e(a) ? "#d4574a" : "#c0392b"
177
+ }, null, 8, ke)
178
+ ])
179
+ ]),
180
+ r("g", {
181
+ transform: `rotate(0 ${e(f) / 2} ${e(v) / 2})`
182
+ }, [
183
+ e(_) ? (l(), u("animateTransform", {
184
+ key: 0,
185
+ attributeName: "transform",
186
+ type: "rotate",
187
+ values: `-0.35 ${e(f) / 2} ${e(v) / 2};0.35 ${e(f) / 2} ${e(v) / 2};-0.35 ${e(f) / 2} ${e(v) / 2}`,
188
+ dur: "26s",
189
+ repeatCount: "indefinite"
190
+ }, null, 8, be)) : x("", !0),
191
+ r("path", {
192
+ d: X.value,
193
+ fill: "url(#dragonGold)",
194
+ stroke: M.value,
195
+ "stroke-width": "0.6",
196
+ opacity: 0.85
197
+ }, null, 8, we),
198
+ (l(!0), u(E, null, G(z.value, (t, n) => (l(), u("path", {
199
+ key: `b${n}`,
200
+ d: t.d,
201
+ fill: "none",
202
+ stroke: "url(#dragonGold)",
203
+ "stroke-width": t.w,
204
+ "stroke-linecap": "round",
205
+ "stroke-linejoin": "round",
206
+ filter: e(a) ? "url(#dragonGlow)" : void 0
207
+ }, null, 8, Ce))), 128)),
208
+ r("path", {
209
+ d: R.value,
210
+ fill: "none",
211
+ stroke: S,
212
+ "stroke-width": "1",
213
+ "stroke-dasharray": "2 9",
214
+ "stroke-opacity": "0.65"
215
+ }, null, 8, Me),
216
+ r("path", {
217
+ d: R.value,
218
+ fill: "none",
219
+ stroke: S,
220
+ "stroke-width": "2.4",
221
+ "stroke-linecap": "round",
222
+ "stroke-dasharray": "70 640",
223
+ "stroke-opacity": "0.9",
224
+ filter: e(a) ? "url(#dragonGlow)" : void 0
225
+ }, [
226
+ e(_) ? (l(), u("animate", {
227
+ key: 0,
228
+ attributeName: "stroke-dashoffset",
229
+ from: "0",
230
+ to: -H.value,
231
+ dur: "18s",
232
+ repeatCount: "indefinite"
233
+ }, null, 8, Ee)) : x("", !0)
234
+ ], 8, Fe),
235
+ (l(!0), u(E, null, G(Y.value, (t, n) => (l(), u("path", {
236
+ key: `leg${n}`,
237
+ d: t,
238
+ fill: "none",
239
+ stroke: "url(#dragonGold)",
240
+ "stroke-width": "2.4",
241
+ "stroke-linecap": "round",
242
+ "stroke-linejoin": "round",
243
+ filter: e(a) ? "url(#dragonGlow)" : void 0
244
+ }, null, 8, Ge))), 128)),
245
+ r("g", {
246
+ transform: `translate(${P.value}, ${W.value})`
247
+ }, [
248
+ (l(), u(E, null, G(q, (t, n) => r("path", {
249
+ key: `w${n}`,
250
+ d: t,
251
+ fill: "none",
252
+ stroke: S,
253
+ "stroke-width": "1.2",
254
+ "stroke-linecap": "round",
255
+ "stroke-opacity": "0.85",
256
+ filter: e(a) ? "url(#dragonGlow)" : void 0
257
+ }, [
258
+ e(_) ? (l(), u("animate", {
259
+ key: 0,
260
+ attributeName: "stroke-opacity",
261
+ values: "0.5;0.95;0.5",
262
+ dur: `${4 + n}s`,
263
+ repeatCount: "indefinite"
264
+ }, null, 8, Se)) : x("", !0)
265
+ ], 8, De)), 64)),
266
+ (l(), u(E, null, G(Q, (t, n) => r("path", {
267
+ key: `m${n}`,
268
+ d: t,
269
+ fill: "none",
270
+ stroke: M.value,
271
+ "stroke-width": "1.6",
272
+ "stroke-linecap": "round",
273
+ "stroke-opacity": "0.8"
274
+ }, null, 8, Be)), 64)),
275
+ (l(), u(E, null, G(U, (t, n) => r("path", {
276
+ key: `h${n}`,
277
+ d: t,
278
+ fill: "none",
279
+ stroke: "url(#dragonGold)",
280
+ "stroke-width": "2.6",
281
+ "stroke-linecap": "round",
282
+ filter: e(a) ? "url(#dragonGlow)" : void 0
283
+ }, null, 8, Ne)), 64)),
284
+ r("path", {
285
+ d: ze,
286
+ fill: e(a) ? "rgba(224,189,106,0.16)" : "rgba(205,161,74,0.12)",
287
+ stroke: "url(#dragonGold)",
288
+ "stroke-width": "2.4",
289
+ "stroke-linejoin": "round",
290
+ filter: e(a) ? "url(#dragonGlow)" : void 0
291
+ }, null, 8, Ae),
292
+ r("path", {
293
+ d: Xe,
294
+ fill: e(a) ? "rgba(224,189,106,0.16)" : "rgba(205,161,74,0.12)",
295
+ stroke: "url(#dragonGold)",
296
+ "stroke-width": "2",
297
+ "stroke-linejoin": "round"
298
+ }, null, 8, He),
299
+ r("path", {
300
+ d: Ye,
301
+ fill: "none",
302
+ stroke: M.value,
303
+ "stroke-width": "1.4",
304
+ "stroke-linecap": "round"
305
+ }, null, 8, Re),
306
+ r("circle", {
307
+ cx: "38",
308
+ cy: "-9",
309
+ r: "2.6",
310
+ fill: e(a) ? "#fff0c4" : "#7a3b12"
311
+ }, [
312
+ e(_) ? (l(), u("animate", We)) : x("", !0)
313
+ ], 8, Pe)
314
+ ], 8, Le),
315
+ r("g", {
316
+ transform: `translate(${K.value}, ${J.value})`
317
+ }, [
318
+ r("path", {
319
+ d: "M0,-12 C5,-7 5,-2 0,2 C-5,-2 -5,-7 0,-12 Z",
320
+ fill: e(a) ? "#ffcaa0" : "#e0883a",
321
+ opacity: 0.55,
322
+ filter: "url(#dragonGlow)"
323
+ }, [
324
+ e(_) ? (l(), u("animate", Ie)) : x("", !0)
325
+ ], 8, Te),
326
+ r("circle", Oe, [
327
+ e(_) ? (l(), u("animate", Ve)) : x("", !0)
328
+ ])
329
+ ], 8, je)
330
+ ], 8, $e)
331
+ ], 12, pe)) : x("", !0)
332
+ ]));
333
+ }
334
+ }), Je = /* @__PURE__ */ I({
335
+ __name: "CoilingDragonShell",
336
+ props: {
337
+ menus: {},
338
+ menuFlatList: {},
339
+ sidebarMenus: {},
340
+ headerMenus: {},
341
+ activeMenu: {},
342
+ activeModuleMenu: {},
343
+ showHeader: { type: Boolean },
344
+ showSidebar: { type: Boolean },
345
+ showAside: { type: Boolean },
346
+ sidebarAboveHeader: { type: Boolean }
347
+ },
348
+ setup(A) {
349
+ const k = A;
350
+ return (a, _) => (l(), O(ue, ae(se(k)), le({
351
+ default: C((f) => [
352
+ L(a.$slots, "default", {
353
+ Footer: f.Footer
354
+ })
355
+ ]),
356
+ decor: C(() => [
357
+ ie(Ke)
358
+ ]),
359
+ _: 2
360
+ }, [
361
+ a.$slots.brand ? {
362
+ name: "brand",
363
+ fn: C(() => [
364
+ L(a.$slots, "brand")
365
+ ]),
366
+ key: "0"
367
+ } : void 0,
368
+ a.$slots.themeSwitcher ? {
369
+ name: "themeSwitcher",
370
+ fn: C((f) => [
371
+ L(a.$slots, "themeSwitcher", {
372
+ Default: f.Default
373
+ })
374
+ ]),
375
+ key: "1"
376
+ } : void 0,
377
+ a.$slots.userEntry ? {
378
+ name: "userEntry",
379
+ fn: C(() => [
380
+ L(a.$slots, "userEntry")
381
+ ]),
382
+ key: "2"
383
+ } : void 0,
384
+ a.$slots.settings ? {
385
+ name: "settings",
386
+ fn: C(() => [
387
+ L(a.$slots, "settings")
388
+ ]),
389
+ key: "3"
390
+ } : void 0
391
+ ]), 1040));
392
+ }
393
+ }), tt = {
394
+ id: "dragon-vermilion",
395
+ label: "盘龙朱阙",
396
+ description: {
397
+ suitable: "文博 / 文旅 / 国风品牌 / 重要发布大屏、需要庄重又有「镇场」气场的东方场景;运营活动后台彩蛋页。",
398
+ unsuitable: "日常高频录入(盘龙动效久看疲劳);极简/科技定位;强无障碍。"
399
+ },
400
+ config: {
401
+ light: {
402
+ bodyColor: "#f5efe2",
403
+ baseColor: "#2a2018",
404
+ primaryColor: "#0f7a5f",
405
+ successColor: "#3e8e54",
406
+ warningColor: "#c0862a",
407
+ dangerColor: "#c0392b",
408
+ errorColor: "#c0392b",
409
+ infoColor: "#3a6280",
410
+ radius: "4px",
411
+ accent: "#cda14a",
412
+ surface: "#fbf7ec",
413
+ borderColor: "#e3d8bf",
414
+ shadow: "0 8px 24px -12px rgba(74,46,24,0.20)",
415
+ focusRing: "0 0 0 2px rgba(15,122,95,0.32)"
416
+ },
417
+ dark: {
418
+ bodyColor: "#14110c",
419
+ baseColor: "#ece2cf",
420
+ primaryColor: "#3aa982",
421
+ successColor: "#5aa86c",
422
+ warningColor: "#d6a850",
423
+ dangerColor: "#d4574a",
424
+ errorColor: "#d4574a",
425
+ infoColor: "#6f93ad",
426
+ radius: "4px",
427
+ accent: "#e0bd6a",
428
+ surface: "#1e1912",
429
+ borderColor: "#3a2f20",
430
+ shadow: "0 12px 30px -14px rgba(0,0,0,0.78)",
431
+ focusRing: "0 0 0 2px rgba(58,169,130,0.4)"
432
+ }
433
+ },
434
+ layout: {
435
+ viewport: {
436
+ paddingTop: 44,
437
+ paddingRight: 44,
438
+ paddingBottom: 44,
439
+ paddingLeft: 44
440
+ },
441
+ gap: { size: 0 },
442
+ header: { height: 56 },
443
+ sidebar: { width: 240, collapseWidth: 64 },
444
+ body: { shimPadding: 24 },
445
+ shell: de(Je)
446
+ }
447
+ };
448
+ export {
449
+ tt as default
450
+ };
@@ -0,0 +1,252 @@
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";
3
+ import { _ as k } from "../chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs";
4
+ import { u as E } from "../chunks/use-frame-geometry-DPWBVziK.mjs";
5
+ import { _ as $ } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
6
+ const N = ["width", "height", "viewBox"], R = {
7
+ id: "fgSplit",
8
+ x1: "0%",
9
+ y1: "100%",
10
+ x2: "100%",
11
+ y2: "0%"
12
+ }, A = ["stop-color", "stop-opacity"], D = ["stop-color"], S = ["stop-color"], I = ["stop-color", "stop-opacity"], H = {
13
+ id: "fgBarTop",
14
+ x1: "0%",
15
+ y1: "0%",
16
+ x2: "0%",
17
+ y2: "100%"
18
+ }, O = ["stop-color", "stop-opacity"], V = ["stop-color"], z = {
19
+ id: "fgBarBottom",
20
+ x1: "0%",
21
+ y1: "100%",
22
+ x2: "0%",
23
+ y2: "0%"
24
+ }, W = ["stop-color", "stop-opacity"], P = ["stop-color"], q = ["width", "height"], U = {
25
+ key: 0,
26
+ attributeName: "opacity",
27
+ values: "0.82;1;0.82",
28
+ dur: "20s",
29
+ repeatCount: "indefinite"
30
+ }, X = ["width", "height"], Z = ["width", "height", "y"], j = ["width", "height", "opacity"], J = /* @__PURE__ */ v({
31
+ __name: "FilmGradeDecor",
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", {
36
+ key: 0,
37
+ class: "film-grade-decor",
38
+ style: M({
39
+ position: "fixed",
40
+ left: 0,
41
+ top: 0,
42
+ pointerEvents: "none",
43
+ zIndex: e(G),
44
+ opacity: e(t) ? 1 : 0.72
45
+ }),
46
+ width: e(r),
47
+ height: e(s),
48
+ viewBox: `0 0 ${e(r)} ${e(s)}`,
49
+ "aria-hidden": "true"
50
+ }, [
51
+ o("defs", null, [
52
+ o("linearGradient", R, [
53
+ o("stop", {
54
+ offset: "0%",
55
+ "stop-color": h.value,
56
+ "stop-opacity": e(t) ? 0.22 : 0.1
57
+ }, null, 8, A),
58
+ o("stop", {
59
+ offset: "50%",
60
+ "stop-color": h.value,
61
+ "stop-opacity": "0"
62
+ }, null, 8, D),
63
+ o("stop", {
64
+ offset: "62%",
65
+ "stop-color": m.value,
66
+ "stop-opacity": "0"
67
+ }, null, 8, S),
68
+ o("stop", {
69
+ offset: "100%",
70
+ "stop-color": m.value,
71
+ "stop-opacity": e(t) ? 0.22 : 0.1
72
+ }, null, 8, I)
73
+ ]),
74
+ o("linearGradient", H, [
75
+ o("stop", {
76
+ offset: "0%",
77
+ "stop-color": i.value,
78
+ "stop-opacity": e(t) ? 0.55 : 0.18
79
+ }, null, 8, O),
80
+ o("stop", {
81
+ offset: "100%",
82
+ "stop-color": i.value,
83
+ "stop-opacity": "0"
84
+ }, null, 8, V)
85
+ ]),
86
+ o("linearGradient", z, [
87
+ o("stop", {
88
+ offset: "0%",
89
+ "stop-color": i.value,
90
+ "stop-opacity": e(t) ? 0.55 : 0.18
91
+ }, null, 8, W),
92
+ o("stop", {
93
+ offset: "100%",
94
+ "stop-color": i.value,
95
+ "stop-opacity": "0"
96
+ }, null, 8, P)
97
+ ]),
98
+ g[0] || (g[0] = o("filter", { id: "fgGrain" }, [
99
+ o("feTurbulence", {
100
+ type: "fractalNoise",
101
+ baseFrequency: "0.85",
102
+ numOctaves: "2",
103
+ stitchTiles: "stitch"
104
+ }),
105
+ o("feColorMatrix", {
106
+ type: "saturate",
107
+ values: "0"
108
+ })
109
+ ], -1))
110
+ ]),
111
+ o("rect", {
112
+ width: e(r),
113
+ height: e(s),
114
+ fill: "url(#fgSplit)"
115
+ }, [
116
+ e(f) ? (c(), p("animate", U)) : y("", !0)
117
+ ], 8, q),
118
+ o("rect", {
119
+ width: e(r),
120
+ height: u.value,
121
+ x: "0",
122
+ y: "0",
123
+ fill: "url(#fgBarTop)"
124
+ }, null, 8, X),
125
+ o("rect", {
126
+ width: e(r),
127
+ height: u.value,
128
+ x: "0",
129
+ y: e(s) - u.value,
130
+ fill: "url(#fgBarBottom)"
131
+ }, null, 8, Z),
132
+ o("rect", {
133
+ width: e(r),
134
+ height: e(s),
135
+ filter: "url(#fgGrain)",
136
+ opacity: e(t) ? 0.06 : 0.03
137
+ }, null, 8, j)
138
+ ], 12, N)) : y("", !0)
139
+ ]));
140
+ }
141
+ }), K = /* @__PURE__ */ $(J, [["__scopeId", "data-v-dedf7df3"]]), Q = /* @__PURE__ */ v({
142
+ __name: "FilmGradeShell",
143
+ props: {
144
+ menus: {},
145
+ menuFlatList: {},
146
+ sidebarMenus: {},
147
+ headerMenus: {},
148
+ activeMenu: {},
149
+ activeModuleMenu: {},
150
+ showHeader: { type: Boolean },
151
+ showSidebar: { type: Boolean },
152
+ showAside: { type: Boolean },
153
+ sidebarAboveHeader: { type: Boolean }
154
+ },
155
+ setup(a) {
156
+ return (t, f) => (c(), p(B, null, [
157
+ l(t.$slots, "default", { Footer: e(L) }),
158
+ d(e(T), {
159
+ show: a.showHeader,
160
+ menus: a.headerMenus,
161
+ activeMenu: a.activeMenu,
162
+ activeModuleMenu: a.activeModuleMenu,
163
+ menuFlatList: a.menuFlatList
164
+ }, {
165
+ left: _(() => [
166
+ l(t.$slots, "brand"),
167
+ d(k, {
168
+ menus: a.menus,
169
+ menuFlatList: a.menuFlatList
170
+ }, null, 8, ["menus", "menuFlatList"])
171
+ ]),
172
+ right: _(() => [
173
+ l(t.$slots, "themeSwitcher", { Default: e(b) }, () => [
174
+ d(e(b))
175
+ ]),
176
+ l(t.$slots, "userEntry"),
177
+ l(t.$slots, "settings")
178
+ ]),
179
+ _: 3
180
+ }, 8, ["show", "menus", "activeMenu", "activeModuleMenu", "menuFlatList"]),
181
+ d(K)
182
+ ], 64));
183
+ }
184
+ }), se = {
185
+ id: "film-grade",
186
+ label: "胶片分调",
187
+ description: {
188
+ suitable: "AIGC 视频 / 调色 / 后期类后台:剪辑·调色·渲染·LUT 等场景;想要电影 teal-orange 分离调色、画幅 letterbox、胶片质感、暗场为主的影像工艺气质。",
189
+ unsuitable: "需高饱和品牌色强标识的营销台;偏好纯净无质感的极简后台;老年 / 低视力主用群体。"
190
+ },
191
+ config: {
192
+ light: {
193
+ bodyColor: "#f3efe6",
194
+ baseColor: "#1c2420",
195
+ primaryColor: "#ea7317",
196
+ successColor: "#16a34a",
197
+ warningColor: "#d97706",
198
+ dangerColor: "#e8424e",
199
+ errorColor: "#e8424e",
200
+ infoColor: "#6b746d",
201
+ radius: "10px",
202
+ accent: "#0d9488",
203
+ surface: "#fffdf8",
204
+ borderColor: "#e6e0d4",
205
+ glow: "0 0 0 1px rgba(234, 115, 23, 0.14)",
206
+ shadow: "0 8px 26px -16px rgba(28, 36, 32, 0.18)",
207
+ focusRing: "0 0 0 3px rgba(234, 115, 23, 0.22)"
208
+ },
209
+ dark: {
210
+ bodyColor: "#0a0f0e",
211
+ baseColor: "#ece8e0",
212
+ primaryColor: "#fb923c",
213
+ successColor: "#5ec26a",
214
+ warningColor: "#f5b942",
215
+ dangerColor: "#ef5350",
216
+ errorColor: "#ef5350",
217
+ infoColor: "#8a948f",
218
+ radius: "10px",
219
+ accent: "#2dd4bf",
220
+ surface: "#121a18",
221
+ borderColor: "rgba(251, 146, 60, 0.18)",
222
+ glow: "0 0 16px rgba(251, 146, 60, 0.32)",
223
+ shadow: "0 0 0 1px rgba(251, 146, 60, 0.08), 0 18px 44px -20px rgba(0, 0, 0, 0.9)",
224
+ focusRing: "0 0 0 3px rgba(251, 146, 60, 0.4)"
225
+ }
226
+ },
227
+ layout: {
228
+ // 影院通栏 + 常规等距套框:无左栏(sidebar=0)、顶部横导航 + 超宽 cinema canvas。
229
+ // letterbox 画幅纯由 FilmGradeDecor 渐变暗带做(视觉暗示,不占结构空间)——
230
+ // 厚 padding 当死空间会白吃 ~128px 垂直区且放不了内容,故砍回 16 等距。
231
+ // 后续增强(ⓒ):若要厚顶/底功能区 → 走 header 加高(transport 条) + footer(scrubber),属积木/内容,非 viewport padding。
232
+ viewport: {
233
+ paddingTop: 16,
234
+ paddingRight: 16,
235
+ paddingBottom: 16,
236
+ paddingLeft: 16
237
+ },
238
+ gap: { size: 8 },
239
+ header: {
240
+ height: 56,
241
+ background: "var(--admin-core-surface, var(--el-bg-color-overlay))",
242
+ style: { borderRadius: "10px" }
243
+ },
244
+ // 无左栏:sidebar 宽 0(FilmGradeShell 不渲染 AppSidebar)。
245
+ sidebar: { width: 0, collapseWidth: 0 },
246
+ body: { shimPadding: 18 },
247
+ shell: F(Q)
248
+ }
249
+ };
250
+ export {
251
+ se as default
252
+ };