@done-coding/admin-plugin-theme 0.11.2-alpha.0 → 0.11.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/assets/applied-intelligence-frame.mjs +3 -4
- package/es/assets/applied-intelligence-nebula.mjs +4 -5
- package/es/assets/aurora-mesh.mjs +19 -20
- package/es/assets/botanical-paper.mjs +1 -2
- package/es/assets/brutal-concrete.mjs +1 -2
- package/es/assets/cockpit-brutal-steel.mjs +18 -19
- package/es/assets/cockpit-liquid-ink.mjs +4 -5
- package/es/assets/cockpit-mono-paper.mjs +3 -4
- package/es/assets/cockpit-neural-field.mjs +6 -7
- package/es/assets/compact-rail.mjs +7 -8
- package/es/assets/console-horizon.mjs +6 -7
- package/es/assets/copilot-calm.mjs +1 -2
- package/es/assets/copilot-stage.mjs +5 -6
- package/es/assets/coral-reef.mjs +1 -2
- package/es/assets/dragon-vermilion.mjs +9 -10
- package/es/assets/film-grade.mjs +8 -9
- package/es/assets/graphite-mono.mjs +1 -2
- package/es/assets/kitchen-foundry.mjs +22 -23
- package/es/assets/neon-set.mjs +4 -5
- package/es/assets/nordic-fjord.mjs +3 -4
- package/es/assets/perspective-deck.mjs +4 -5
- package/es/assets/quantum-ai.mjs +5 -6
- package/es/assets/sandstone-editorial.mjs +3 -4
- package/es/assets/signal-teal.mjs +9 -10
- package/es/assets/starfield-cosmos.mjs +2 -3
- package/es/assets/studio-ink.mjs +16 -17
- package/es/assets/studio-stage.mjs +5 -6
- package/es/assets/studio-triptych.mjs +3 -4
- package/es/assets/sunset-amber.mjs +1 -2
- package/es/assets/synapse-grid.mjs +15 -16
- package/es/assets/terminal-phosphor.mjs +16 -17
- package/es/assets/velvet-noir.mjs +1 -2
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as A, computed as s, openBlock as i, createBlock as I, Teleport as T, unref as o, createElementBlock as u, normalizeStyle as N, createElementVNode as a, Fragment as f, renderList as _, createCommentVNode as O, renderSlot as y, createVNode as v, withCtx as k, markRaw as V } from "vue";
|
|
2
|
-
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as z, AppFooter as
|
|
2
|
+
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as z, AppFooter as X, AppSidebar as Y, AppAside as G, AppHeader as P, AppTheme as S } from "@done-coding/admin-core";
|
|
3
3
|
import { u as Z } from "../chunks/use-frame-geometry-CMHrr_gA.mjs";
|
|
4
4
|
import { _ as j } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
5
|
const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width", "height"], Q = ["x", "y", "width", "height"], U = { mask: "url(#ssRingMask)" }, ee = ["x", "y", "width", "fill", "opacity"], oe = ["stroke", "opacity"], te = ["x1", "y1", "x2", "y2"], ae = ["x1", "y1", "x2", "y2"], le = ["x1", "y1", "x2", "y2"], re = ["x1", "y1", "x2", "y2"], se = ["x", "y", "fill", "opacity"], ie = ["x", "y", "width", "fill", "opacity"], ne = ["stroke", "opacity"], de = ["x1", "y1", "x2", "y2"], ue = /* @__PURE__ */ A({
|
|
@@ -158,20 +158,20 @@ const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width"
|
|
|
158
158
|
},
|
|
159
159
|
setup(l) {
|
|
160
160
|
return (t, g) => (i(), u(f, null, [
|
|
161
|
-
y(t.$slots, "default", { Footer: o(
|
|
162
|
-
v(o(
|
|
161
|
+
y(t.$slots, "default", { Footer: o(X) }),
|
|
162
|
+
v(o(Y), {
|
|
163
163
|
show: l.showSidebar,
|
|
164
164
|
aboveHeader: l.sidebarAboveHeader,
|
|
165
165
|
menus: l.sidebarMenus,
|
|
166
166
|
menuFlatList: l.menuFlatList
|
|
167
167
|
}, null, 8, ["show", "aboveHeader", "menus", "menuFlatList"]),
|
|
168
|
-
v(o(
|
|
168
|
+
v(o(G), { show: l.showAside }, {
|
|
169
169
|
default: k(() => [
|
|
170
170
|
y(t.$slots, "aside")
|
|
171
171
|
]),
|
|
172
172
|
_: 3
|
|
173
173
|
}, 8, ["show"]),
|
|
174
|
-
v(o(
|
|
174
|
+
v(o(P), {
|
|
175
175
|
show: l.showHeader,
|
|
176
176
|
menus: l.headerMenus,
|
|
177
177
|
activeMenu: l.activeMenu,
|
|
@@ -270,7 +270,6 @@ const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width"
|
|
|
270
270
|
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
271
271
|
style: { borderRadius: "8px" }
|
|
272
272
|
},
|
|
273
|
-
body: { shimPadding: 28 },
|
|
274
273
|
shell: V(he)
|
|
275
274
|
}
|
|
276
275
|
};
|
|
@@ -15,7 +15,7 @@ const p = /* @__PURE__ */ t({
|
|
|
15
15
|
sidebarAboveHeader: { type: Boolean }
|
|
16
16
|
},
|
|
17
17
|
setup(e) {
|
|
18
|
-
return (o,
|
|
18
|
+
return (o, v) => (i(), n(u, null, [
|
|
19
19
|
r(o.$slots, "default", { Footer: a(b) }),
|
|
20
20
|
s(a(f), {
|
|
21
21
|
show: e.showSidebar,
|
|
@@ -50,7 +50,7 @@ const p = /* @__PURE__ */ t({
|
|
|
50
50
|
}, 8, ["show", "menus", "activeMenu", "activeModuleMenu", "menuFlatList"])
|
|
51
51
|
], 64));
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), g = {
|
|
54
54
|
id: "studio-triptych",
|
|
55
55
|
label: "三联工作室",
|
|
56
56
|
description: {
|
|
@@ -106,10 +106,9 @@ const p = /* @__PURE__ */ t({
|
|
|
106
106
|
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
107
107
|
style: { borderRadius: "10px" }
|
|
108
108
|
},
|
|
109
|
-
body: { shimPadding: 16 },
|
|
110
109
|
shell: c(p)
|
|
111
110
|
}
|
|
112
111
|
};
|
|
113
112
|
export {
|
|
114
|
-
|
|
113
|
+
g as default
|
|
115
114
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as k, computed as v, openBlock as n, createBlock as E, Teleport as R, unref as r, createElementBlock as
|
|
1
|
+
import { defineComponent as k, computed as v, openBlock as n, createBlock as E, Teleport as R, unref as r, createElementBlock as i, normalizeStyle as N, createElementVNode as y, Fragment as _, renderList as w, createCommentVNode as h, normalizeProps as F, guardReactiveProps as L, createSlots as T, withCtx as c, createVNode as O, renderSlot as m, markRaw as z } from "vue";
|
|
2
2
|
import { _ as I } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
|
|
3
|
-
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
3
|
+
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as V } from "@done-coding/admin-core";
|
|
4
|
+
import { u as A } from "../chunks/use-frame-geometry-CMHrr_gA.mjs";
|
|
5
|
+
import { _ as P } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1", "y1", "x2", "y2", "stroke", "stroke-opacity"], Z = ["dur", "begin"], j = ["dur", "begin", "path"], q = ["cx", "cy", "fill"], J = ["begin"], K = /* @__PURE__ */ k({
|
|
7
7
|
__name: "SynapseGridDecor",
|
|
8
8
|
setup(C) {
|
|
9
|
-
const { vp: u, isDark: o, animated: f, vw: l, vh: g, hasFrame: B } =
|
|
9
|
+
const { vp: u, isDark: o, animated: f, vw: l, vh: g, hasFrame: B } = A(), b = v(
|
|
10
10
|
() => Math.min(
|
|
11
11
|
u.value.paddingTop,
|
|
12
12
|
u.value.paddingRight,
|
|
@@ -33,8 +33,8 @@ const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1"
|
|
|
33
33
|
];
|
|
34
34
|
function D(p, d) {
|
|
35
35
|
const { w: e, h: t, ins: a } = d, G = 2 * (e + t);
|
|
36
|
-
let
|
|
37
|
-
return
|
|
36
|
+
let s = p * G;
|
|
37
|
+
return s <= e ? { x: a + s, y: a } : (s -= e, s <= t ? { x: a + e, y: a + s } : (s -= t, s <= e ? { x: a + e - s, y: a + t } : (s -= e, { x: a, y: a + t - s })));
|
|
38
38
|
}
|
|
39
39
|
const x = v(() => {
|
|
40
40
|
const p = {
|
|
@@ -75,7 +75,7 @@ const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1"
|
|
|
75
75
|
})
|
|
76
76
|
);
|
|
77
77
|
return (p, d) => (n(), E(R, { to: "body" }, [
|
|
78
|
-
r(B) ? (n(),
|
|
78
|
+
r(B) ? (n(), i("svg", {
|
|
79
79
|
key: 0,
|
|
80
80
|
class: "synapse-grid-decor",
|
|
81
81
|
style: N({
|
|
@@ -83,7 +83,7 @@ const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1"
|
|
|
83
83
|
left: 0,
|
|
84
84
|
top: 0,
|
|
85
85
|
pointerEvents: "none",
|
|
86
|
-
zIndex: r(
|
|
86
|
+
zIndex: r(V),
|
|
87
87
|
opacity: r(o) ? 0.4 : 0.16
|
|
88
88
|
}),
|
|
89
89
|
width: r(l),
|
|
@@ -103,7 +103,7 @@ const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1"
|
|
|
103
103
|
])
|
|
104
104
|
], -1)),
|
|
105
105
|
y("g", H, [
|
|
106
|
-
(n(!0),
|
|
106
|
+
(n(!0), i(_, null, w($.value, (e, t) => (n(), i("line", {
|
|
107
107
|
key: `l${t}`,
|
|
108
108
|
x1: e.x1,
|
|
109
109
|
y1: e.y1,
|
|
@@ -112,7 +112,7 @@ const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1"
|
|
|
112
112
|
stroke: r(o) ? t % 2 ? "#a3e635" : "#3ddc97" : "#128a5e",
|
|
113
113
|
"stroke-opacity": r(f) ? 0.25 : 0.5
|
|
114
114
|
}, [
|
|
115
|
-
r(f) ? (n(),
|
|
115
|
+
r(f) ? (n(), i("animate", {
|
|
116
116
|
key: 0,
|
|
117
117
|
attributeName: "stroke-opacity",
|
|
118
118
|
values: "0.2;0.9;0.2",
|
|
@@ -122,7 +122,7 @@ const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1"
|
|
|
122
122
|
}, null, 8, Z)) : h("", !0)
|
|
123
123
|
], 8, X))), 128))
|
|
124
124
|
]),
|
|
125
|
-
r(f) ? (n(!0),
|
|
125
|
+
r(f) ? (n(!0), i(_, { key: 0 }, w($.value, (e, t) => (n(), i("circle", {
|
|
126
126
|
key: `p${t}`,
|
|
127
127
|
r: "3",
|
|
128
128
|
fill: "#5ee88f",
|
|
@@ -135,14 +135,14 @@ const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1"
|
|
|
135
135
|
path: `M${e.x1},${e.y1} L${e.x2},${e.y2}`
|
|
136
136
|
}, null, 8, j)
|
|
137
137
|
]))), 128)) : h("", !0),
|
|
138
|
-
(n(!0),
|
|
138
|
+
(n(!0), i(_, null, w(x.value, (e, t) => (n(), i("circle", {
|
|
139
139
|
key: `n${t}`,
|
|
140
140
|
cx: e.x,
|
|
141
141
|
cy: e.y,
|
|
142
142
|
r: "2.5",
|
|
143
143
|
fill: r(o) ? "#5ee88f" : "#128a5e"
|
|
144
144
|
}, [
|
|
145
|
-
r(f) ? (n(),
|
|
145
|
+
r(f) ? (n(), i("animate", {
|
|
146
146
|
key: 0,
|
|
147
147
|
attributeName: "opacity",
|
|
148
148
|
values: "0.3;0.8;0.3",
|
|
@@ -154,7 +154,7 @@ const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1"
|
|
|
154
154
|
], 12, W)) : h("", !0)
|
|
155
155
|
]));
|
|
156
156
|
}
|
|
157
|
-
}), Q = /* @__PURE__ */
|
|
157
|
+
}), Q = /* @__PURE__ */ P(K, [["__scopeId", "data-v-c67da4cc"]]), U = /* @__PURE__ */ k({
|
|
158
158
|
__name: "SynapseGridShell",
|
|
159
159
|
props: {
|
|
160
160
|
menus: {},
|
|
@@ -266,7 +266,6 @@ const W = ["width", "height", "viewBox"], H = { "stroke-width": 1.2 }, X = ["x1"
|
|
|
266
266
|
gap: { size: 0 },
|
|
267
267
|
header: { height: 52 },
|
|
268
268
|
sidebar: { width: 240, collapseWidth: 60 },
|
|
269
|
-
body: { shimPadding: 16 },
|
|
270
269
|
shell: z(U)
|
|
271
270
|
}
|
|
272
271
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as v, computed as h, openBlock as a, createBlock as y, Teleport as C, unref as e, createElementBlock as l, normalizeStyle as x, createElementVNode as o, createCommentVNode as d, normalizeProps as k, guardReactiveProps as B, createSlots as $, withCtx as s, createVNode as S, renderSlot as p, markRaw as E } from "vue";
|
|
2
2
|
import { _ as R } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as D } from "@done-coding/admin-core";
|
|
4
4
|
import { u as M } from "../chunks/use-frame-geometry-CMHrr_gA.mjs";
|
|
5
5
|
import { _ as G } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
-
const
|
|
6
|
+
const N = ["width", "height", "viewBox"], P = {
|
|
7
7
|
id: "scanlinePattern",
|
|
8
8
|
width: "3",
|
|
9
9
|
height: "3",
|
|
@@ -14,19 +14,19 @@ const P = ["width", "height", "viewBox"], N = {
|
|
|
14
14
|
values: "0.5;1;0.5",
|
|
15
15
|
dur: "3s",
|
|
16
16
|
repeatCount: "indefinite"
|
|
17
|
-
}, L = ["width"], O = ["values"], z = { key: 2 }, V = /* @__PURE__ */
|
|
17
|
+
}, L = ["width"], O = ["values"], z = { key: 2 }, V = /* @__PURE__ */ v({
|
|
18
18
|
__name: "ScanlineDecor",
|
|
19
19
|
setup(m) {
|
|
20
|
-
const { vp: i, isDark: t, animated: c, vw: r, vh: n, hasFrame:
|
|
20
|
+
const { vp: i, isDark: t, animated: c, vw: r, vh: n, hasFrame: w } = M(), g = h(() => t.value ? "#39ff14" : "#0f8a4f"), u = h(
|
|
21
21
|
() => Math.min(
|
|
22
22
|
i.value.paddingTop,
|
|
23
23
|
i.value.paddingRight,
|
|
24
24
|
i.value.paddingBottom,
|
|
25
25
|
i.value.paddingLeft
|
|
26
26
|
) / 2
|
|
27
|
-
),
|
|
28
|
-
return (U,
|
|
29
|
-
e(
|
|
27
|
+
), b = h(() => Math.max(0, r.value - u.value * 2)), _ = h(() => Math.max(0, n.value - u.value * 2));
|
|
28
|
+
return (U, f) => (a(), y(C, { to: "body" }, [
|
|
29
|
+
e(w) ? (a(), l("svg", {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "scanline-decor",
|
|
32
32
|
style: x({
|
|
@@ -42,14 +42,14 @@ const P = ["width", "height", "viewBox"], N = {
|
|
|
42
42
|
"aria-hidden": "true"
|
|
43
43
|
}, [
|
|
44
44
|
o("defs", null, [
|
|
45
|
-
o("pattern",
|
|
45
|
+
o("pattern", P, [
|
|
46
46
|
o("rect", {
|
|
47
47
|
width: "3",
|
|
48
48
|
height: "1",
|
|
49
49
|
fill: g.value
|
|
50
50
|
}, null, 8, T)
|
|
51
51
|
]),
|
|
52
|
-
|
|
52
|
+
f[0] || (f[0] = o("filter", {
|
|
53
53
|
id: "scanlineGlow",
|
|
54
54
|
x: "-20%",
|
|
55
55
|
y: "-20%",
|
|
@@ -67,9 +67,9 @@ const P = ["width", "height", "viewBox"], N = {
|
|
|
67
67
|
opacity: "0.06"
|
|
68
68
|
}, null, 8, W)) : d("", !0),
|
|
69
69
|
o("rect", {
|
|
70
|
-
x:
|
|
71
|
-
y:
|
|
72
|
-
width:
|
|
70
|
+
x: u.value,
|
|
71
|
+
y: u.value,
|
|
72
|
+
width: b.value,
|
|
73
73
|
height: _.value,
|
|
74
74
|
fill: "none",
|
|
75
75
|
stroke: g.value,
|
|
@@ -93,7 +93,7 @@ const P = ["width", "height", "viewBox"], N = {
|
|
|
93
93
|
repeatCount: "indefinite"
|
|
94
94
|
}, null, 8, O)
|
|
95
95
|
], 8, L)) : d("", !0),
|
|
96
|
-
e(c) ? (a(), l("defs", z, [...
|
|
96
|
+
e(c) ? (a(), l("defs", z, [...f[1] || (f[1] = [
|
|
97
97
|
o("linearGradient", {
|
|
98
98
|
id: "scanBandGrad",
|
|
99
99
|
x1: "0",
|
|
@@ -118,10 +118,10 @@ const P = ["width", "height", "viewBox"], N = {
|
|
|
118
118
|
})
|
|
119
119
|
], -1)
|
|
120
120
|
])])) : d("", !0)
|
|
121
|
-
], 12,
|
|
121
|
+
], 12, N)) : d("", !0)
|
|
122
122
|
]));
|
|
123
123
|
}
|
|
124
|
-
}), H = /* @__PURE__ */ G(V, [["__scopeId", "data-v-1c87c0b4"]]), A = /* @__PURE__ */
|
|
124
|
+
}), H = /* @__PURE__ */ G(V, [["__scopeId", "data-v-1c87c0b4"]]), A = /* @__PURE__ */ v({
|
|
125
125
|
__name: "ScanlineShell",
|
|
126
126
|
props: {
|
|
127
127
|
menus: {},
|
|
@@ -137,7 +137,7 @@ const P = ["width", "height", "viewBox"], N = {
|
|
|
137
137
|
},
|
|
138
138
|
setup(m) {
|
|
139
139
|
const i = m;
|
|
140
|
-
return (t, c) => (a(),
|
|
140
|
+
return (t, c) => (a(), y(R, k(B(i)), $({
|
|
141
141
|
default: s((r) => [
|
|
142
142
|
p(t.$slots, "default", {
|
|
143
143
|
Footer: r.Footer
|
|
@@ -231,7 +231,6 @@ const P = ["width", "height", "viewBox"], N = {
|
|
|
231
231
|
gap: { size: 0 },
|
|
232
232
|
header: { height: 44 },
|
|
233
233
|
sidebar: { width: 220, collapseWidth: 52 },
|
|
234
|
-
body: { shimPadding: 14 },
|
|
235
234
|
shell: E(A)
|
|
236
235
|
}
|
|
237
236
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/admin-plugin-theme",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3-alpha.0",
|
|
4
4
|
"description": "内部前端库",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "es/index.mjs",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"license": "MIT",
|
|
51
51
|
"sideEffects": false,
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@done-coding/admin-core": "^0.
|
|
53
|
+
"@done-coding/admin-core": "^0.31.1-alpha.0",
|
|
54
54
|
"@done-coding/cli-inject": "^0.6.2",
|
|
55
55
|
"@types/node": "^18.0.0",
|
|
56
56
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=18.0.0"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "56d3873297ddb41aadc8ec41d3a222f038f8d2f7"
|
|
76
76
|
}
|