@done-coding/admin-plugin-theme 0.6.3 → 0.7.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 +1 -1
- package/es/assets/applied-intelligence-nebula.mjs +1 -1
- package/es/assets/aurora-mesh.mjs +1 -1
- package/es/assets/cockpit-brutal-steel.mjs +2 -2
- package/es/assets/cockpit-liquid-ink.mjs +2 -2
- package/es/assets/cockpit-mono-paper.mjs +2 -2
- package/es/assets/cockpit-neural-field.mjs +2 -2
- package/es/assets/compact-rail.mjs +15 -13
- package/es/assets/dragon-vermilion.mjs +1 -1
- package/es/assets/film-grade.mjs +1 -1
- package/es/assets/kitchen-foundry.mjs +2 -2
- package/es/assets/neon-set.mjs +1 -1
- package/es/assets/perspective-deck.mjs +32 -32
- package/es/assets/quantum-ai.mjs +1 -1
- package/es/assets/starfield-cosmos.mjs +1 -1
- package/es/assets/studio-ink.mjs +1 -1
- package/es/assets/studio-stage.mjs +1 -1
- package/es/assets/synapse-grid.mjs +1 -1
- package/es/assets/terminal-phosphor.mjs +1 -1
- package/es/chunks/{CockpitFrameMatte-BbTtd3J2.mjs → CockpitFrameMatte-7himEpvU.mjs} +1 -1
- package/es/chunks/{CockpitShellBase.vue_vue_type_script_setup_true_lang-8OC_BxwQ.mjs → CockpitShellBase.vue_vue_type_script_setup_true_lang-CkQjKOtV.mjs} +2 -2
- package/es/chunks/{use-frame-geometry-DPWBVziK.mjs → use-frame-geometry-qzr90iCq.mjs} +13 -15
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as D, computed as b, openBlock as u, createBlock as M, Teleport as z, unref as o, createElementBlock as d, normalizeStyle as L, createElementVNode as i, Fragment as E, renderList as R, createCommentVNode as g, normalizeProps as O, guardReactiveProps as P, createSlots as T, withCtx as v, createVNode as V, renderSlot as y, markRaw as X } from "vue";
|
|
2
2
|
import { _ as Y } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as Z } from "@done-coding/admin-core";
|
|
4
|
-
import { u as j } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as j } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as q } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const J = ["width", "height", "viewBox"], K = {
|
|
7
7
|
id: "aurfWash",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, computed as b, openBlock as u, createBlock as B, Teleport as D, unref as e, createElementBlock as p, normalizeStyle as R, createElementVNode as o, Fragment as v, createCommentVNode as y, renderList as w, normalizeProps as T, guardReactiveProps as S, createSlots as I, withCtx as h, createVNode as O, renderSlot as m, markRaw as z } from "vue";
|
|
2
2
|
import { _ as L } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as P } from "@done-coding/admin-core";
|
|
4
|
-
import { u as V } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as V } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as W } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const H = ["width", "height", "viewBox"], q = {
|
|
7
7
|
id: "aurNebA",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, computed as u, openBlock as t, createBlock as k, Teleport as G, unref as o, createElementBlock as s, normalizeStyle as N, createElementVNode as e, createCommentVNode as i, normalizeProps as E, guardReactiveProps as R, createSlots as D, withCtx as f, createVNode as S, renderSlot as c, markRaw as A } from "vue";
|
|
2
2
|
import { _ as I } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as P } from "@done-coding/admin-core";
|
|
4
|
-
import { u as W } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as W } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as F } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const T = ["width", "height", "viewBox"], z = {
|
|
7
7
|
id: "auroraMeshGrad1",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as M } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CkQjKOtV.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as R } from "@done-coding/admin-core";
|
|
4
|
-
import { u as H } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as H } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as D } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const T = ["width", "height", "viewBox"], F = {
|
|
7
7
|
id: "brutalHazard",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as E } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CkQjKOtV.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as N } from "@done-coding/admin-core";
|
|
4
|
-
import { u as S } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as S } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as I } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const F = ["width", "height", "viewBox"], L = {
|
|
7
7
|
id: "liqA",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as x } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CkQjKOtV.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as M } from "@done-coding/admin-core";
|
|
4
|
-
import { u as R } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as R } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as B } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const E = ["width", "height", "viewBox"], S = {
|
|
7
7
|
id: "monoGrid",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as z } from "../chunks/CockpitShellBase.vue_vue_type_script_setup_true_lang-CkQjKOtV.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as A } from "@done-coding/admin-core";
|
|
4
|
-
import { u as P } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as P } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as T } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const W = ["width", "height", "viewBox"], V = {
|
|
7
7
|
id: "neuGlow",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { APP_LAYOUT_APP_STORE_KEY as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as n, inject as i, openBlock as u, createElementBlock as c, Fragment as b, renderSlot as a, unref as r, createVNode as t, withCtx as l, markRaw as f } from "vue";
|
|
2
|
+
import { APP_LAYOUT_APP_STORE_KEY as h, useActivated as m, AppFooter as p, AppSidebar as C, AppHeader as g, AppTheme as s } from "@done-coding/admin-core";
|
|
3
|
+
const v = /* @__PURE__ */ n({
|
|
4
4
|
__name: "IconRailShell",
|
|
5
5
|
props: {
|
|
6
6
|
menus: {},
|
|
@@ -15,28 +15,30 @@ const w = /* @__PURE__ */ d({
|
|
|
15
15
|
sidebarAboveHeader: { type: Boolean }
|
|
16
16
|
},
|
|
17
17
|
setup(e) {
|
|
18
|
-
const
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
const d = i(h);
|
|
19
|
+
return m((o) => {
|
|
20
|
+
d.changeSidebarCollapseStatus(o.isActivated);
|
|
21
|
+
}), (o, w) => (u(), c(b, null, [
|
|
22
|
+
a(o.$slots, "default", { Footer: r(p) }),
|
|
23
|
+
t(r(C), {
|
|
22
24
|
show: e.showSidebar,
|
|
23
25
|
aboveHeader: e.sidebarAboveHeader,
|
|
24
26
|
menus: e.sidebarMenus,
|
|
25
27
|
menuFlatList: e.menuFlatList
|
|
26
28
|
}, null, 8, ["show", "aboveHeader", "menus", "menuFlatList"]),
|
|
27
|
-
|
|
29
|
+
t(r(g), {
|
|
28
30
|
show: e.showHeader,
|
|
29
31
|
menus: e.headerMenus,
|
|
30
32
|
activeMenu: e.activeMenu,
|
|
31
33
|
activeModuleMenu: e.activeModuleMenu,
|
|
32
34
|
menuFlatList: e.menuFlatList
|
|
33
35
|
}, {
|
|
34
|
-
left:
|
|
36
|
+
left: l(() => [
|
|
35
37
|
a(o.$slots, "brand")
|
|
36
38
|
]),
|
|
37
|
-
right:
|
|
38
|
-
a(o.$slots, "themeSwitcher", { Default: r(
|
|
39
|
-
|
|
39
|
+
right: l(() => [
|
|
40
|
+
a(o.$slots, "themeSwitcher", { Default: r(s) }, () => [
|
|
41
|
+
t(r(s))
|
|
40
42
|
]),
|
|
41
43
|
a(o.$slots, "userEntry"),
|
|
42
44
|
a(o.$slots, "settings")
|
|
@@ -97,7 +99,7 @@ const w = /* @__PURE__ */ d({
|
|
|
97
99
|
style: { borderRadius: "8px" }
|
|
98
100
|
},
|
|
99
101
|
body: { shimPadding: 16 },
|
|
100
|
-
shell:
|
|
102
|
+
shell: f(v)
|
|
101
103
|
}
|
|
102
104
|
};
|
|
103
105
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as ce } from "@done-coding/admin-core";
|
|
4
|
-
import { u as fe } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as fe } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
const pe = ["width", "height", "viewBox"], he = {
|
|
6
6
|
id: "dragonGold",
|
|
7
7
|
x1: "0",
|
package/es/assets/film-grade.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
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
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
|
-
import { u as E } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as E } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as $ } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const R = ["width", "height", "viewBox"], N = {
|
|
7
7
|
id: "fgSplit",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as D, inject as P, computed as d, openBlock as i, createElementBlock as s, normalizeStyle as H, createElementVNode as o, unref as e, Fragment as w, createCommentVNode as T, toDisplayString as B, renderList as S, createTextVNode as Y, createBlock as z, Teleport as K, renderSlot as k, createVNode as _, withCtx as L, markRaw as j } from "vue";
|
|
2
2
|
import { APP_LAYOUT_BRIDGE_KEY as V, CORE_VIEWPORT_DECOR_ZINDEX_BELOW as G, AppSidebar as U, AppAside as X, AppHeader as Z, AppTheme as N } from "@done-coding/admin-core";
|
|
3
|
-
import { u as W } from "../chunks/use-frame-geometry-
|
|
4
|
-
import { C as q } from "../chunks/CockpitFrameMatte-
|
|
3
|
+
import { u as W } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
4
|
+
import { C as q } from "../chunks/CockpitFrameMatte-7himEpvU.mjs";
|
|
5
5
|
import { _ as J } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const Q = {
|
|
7
7
|
x: "1",
|
package/es/assets/neon-set.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as x, computed as y, openBlock as l, createBlock as $, Teleport as M, unref as e, createElementBlock as c, normalizeStyle as N, createElementVNode as t, Fragment as v, createCommentVNode as p, renderSlot as i, createVNode as u, withCtx as _, markRaw as F } from "vue";
|
|
2
2
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as B, AppFooter as k, AppAside as T, AppHeader as A, AppTheme as C } from "@done-coding/admin-core";
|
|
3
3
|
import { _ as E } from "../chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs";
|
|
4
|
-
import { u as L } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as L } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as R } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const S = ["width", "height", "viewBox"], G = {
|
|
7
7
|
id: "nsMagenta",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElIcon as
|
|
3
|
-
import { ChatDotRound as
|
|
4
|
-
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as h, APP_LAYOUT_BRIDGE_KEY as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as A, computed as i, shallowRef as F, watch as _, onBeforeUnmount as $, openBlock as c, createBlock as b, Teleport as v, unref as e, createElementBlock as E, normalizeStyle as p, createElementVNode as u, createCommentVNode as L, inject as R, Fragment as O, renderSlot as s, createVNode as n, withCtx as f, markRaw as D } from "vue";
|
|
2
|
+
import { ElIcon as S } from "element-plus";
|
|
3
|
+
import { ChatDotRound as T } from "@element-plus/icons-vue";
|
|
4
|
+
import { useActivated as z, CORE_VIEWPORT_DECOR_ZINDEX_BELOW as h, APP_LAYOUT_BRIDGE_KEY as N, AppFooter as V, AppHeader as Y, AppTheme as w } from "@done-coding/admin-core";
|
|
5
|
+
import { u as G } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
6
|
+
import { _ as H } from "../chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs";
|
|
7
|
+
const W = /* @__PURE__ */ A({
|
|
8
8
|
__name: "PerspectiveDeckDecor",
|
|
9
9
|
setup(r) {
|
|
10
|
-
const { vp: a, isDark: l, animated: m, hasFrame: t } =
|
|
10
|
+
const { vp: a, isDark: l, animated: m, hasFrame: t } = G(), o = i(() => a.value.paddingBottom), x = i(() => l.value ? "#34e1ff" : "#5b7cff"), I = i(
|
|
11
11
|
() => l.value ? "linear-gradient(to bottom, rgba(52,225,255,0.55), rgba(52,225,255,0))" : "linear-gradient(to bottom, rgba(91,124,255,0.35), rgba(91,124,255,0))"
|
|
12
|
-
),
|
|
12
|
+
), M = i(() => ({
|
|
13
13
|
position: "absolute",
|
|
14
14
|
left: "-60%",
|
|
15
15
|
right: "-60%",
|
|
@@ -19,22 +19,22 @@ const Y = /* @__PURE__ */ E({
|
|
|
19
19
|
transformOrigin: "top center",
|
|
20
20
|
backgroundPosition: "center top",
|
|
21
21
|
backgroundImage: `repeating-linear-gradient(to right, ${x.value} 0 1px, transparent 1px 44px), repeating-linear-gradient(to bottom, ${x.value} 0 1px, transparent 1px 44px)`
|
|
22
|
-
})), y =
|
|
22
|
+
})), y = F();
|
|
23
23
|
let d;
|
|
24
24
|
const C = () => {
|
|
25
25
|
d == null || d.cancel(), d = void 0;
|
|
26
|
-
};
|
|
27
|
-
return
|
|
28
|
-
[y, m],
|
|
29
|
-
([g, k]) => {
|
|
30
|
-
C(), g && k && (d = g.animate(
|
|
26
|
+
}, { isActivated: B } = z();
|
|
27
|
+
return _(
|
|
28
|
+
[y, m, B],
|
|
29
|
+
([g, k, P]) => {
|
|
30
|
+
C(), g && k && P && (d = g.animate(
|
|
31
31
|
[{ backgroundPositionY: "0px" }, { backgroundPositionY: "44px" }],
|
|
32
32
|
{ duration: 5500, iterations: 1 / 0, easing: "linear" }
|
|
33
33
|
));
|
|
34
34
|
},
|
|
35
35
|
{ immediate: !0 }
|
|
36
|
-
),
|
|
37
|
-
e(t) ? (c(),
|
|
36
|
+
), $(C), (g, k) => (c(), b(v, { to: "body" }, [
|
|
37
|
+
e(t) ? (c(), E("div", {
|
|
38
38
|
key: 0,
|
|
39
39
|
style: p({
|
|
40
40
|
position: "fixed",
|
|
@@ -57,18 +57,18 @@ const Y = /* @__PURE__ */ E({
|
|
|
57
57
|
top: "0",
|
|
58
58
|
height: "24px",
|
|
59
59
|
filter: "blur(2px)",
|
|
60
|
-
background:
|
|
60
|
+
background: I.value
|
|
61
61
|
})
|
|
62
62
|
}, null, 4),
|
|
63
63
|
u("div", {
|
|
64
64
|
ref_key: "gridEl",
|
|
65
65
|
ref: y,
|
|
66
|
-
style: p(
|
|
66
|
+
style: p(M.value)
|
|
67
67
|
}, null, 4)
|
|
68
|
-
], 4)) :
|
|
68
|
+
], 4)) : L("", !0)
|
|
69
69
|
]));
|
|
70
70
|
}
|
|
71
|
-
}),
|
|
71
|
+
}), U = /* @__PURE__ */ A({
|
|
72
72
|
__name: "PerspectiveDeckShell",
|
|
73
73
|
props: {
|
|
74
74
|
menus: {},
|
|
@@ -83,7 +83,7 @@ const Y = /* @__PURE__ */ E({
|
|
|
83
83
|
sidebarAboveHeader: { type: Boolean }
|
|
84
84
|
},
|
|
85
85
|
setup(r) {
|
|
86
|
-
const a =
|
|
86
|
+
const a = R(N), l = i(() => {
|
|
87
87
|
const o = a.APP_LAYOUT_VIEWPORT_CONFIG.paddingBottom || 0;
|
|
88
88
|
return {
|
|
89
89
|
position: "fixed",
|
|
@@ -116,9 +116,9 @@ const Y = /* @__PURE__ */ E({
|
|
|
116
116
|
boxShadow: "var(--dc-core-shadow, var(--el-box-shadow))"
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return (t, o) => (c(),
|
|
120
|
-
s(t.$slots, "default", { Footer: e(
|
|
121
|
-
n(e(
|
|
119
|
+
return (t, o) => (c(), E(O, null, [
|
|
120
|
+
s(t.$slots, "default", { Footer: e(V) }),
|
|
121
|
+
n(e(Y), {
|
|
122
122
|
show: r.showHeader,
|
|
123
123
|
menus: r.headerMenus,
|
|
124
124
|
activeMenu: r.activeMenu,
|
|
@@ -127,7 +127,7 @@ const Y = /* @__PURE__ */ E({
|
|
|
127
127
|
}, {
|
|
128
128
|
left: f(() => [
|
|
129
129
|
s(t.$slots, "brand"),
|
|
130
|
-
n(
|
|
130
|
+
n(H, {
|
|
131
131
|
menus: r.menus,
|
|
132
132
|
menuFlatList: r.menuFlatList
|
|
133
133
|
}, null, 8, ["menus", "menuFlatList"])
|
|
@@ -147,16 +147,16 @@ const Y = /* @__PURE__ */ E({
|
|
|
147
147
|
style: p(l.value)
|
|
148
148
|
}, null, 4)
|
|
149
149
|
])),
|
|
150
|
-
n(
|
|
150
|
+
n(W),
|
|
151
151
|
(c(), b(v, { to: "body" }, [
|
|
152
152
|
u("div", {
|
|
153
153
|
style: p(m.value)
|
|
154
154
|
}, [
|
|
155
|
-
n(e(
|
|
155
|
+
n(e(S), { style: {
|
|
156
156
|
color: "var(--dc-core-primary-color, var(--el-color-primary))"
|
|
157
157
|
} }, {
|
|
158
158
|
default: f(() => [
|
|
159
|
-
n(e(
|
|
159
|
+
n(e(T))
|
|
160
160
|
]),
|
|
161
161
|
_: 1
|
|
162
162
|
}),
|
|
@@ -165,7 +165,7 @@ const Y = /* @__PURE__ */ E({
|
|
|
165
165
|
]))
|
|
166
166
|
], 64));
|
|
167
167
|
}
|
|
168
|
-
}),
|
|
168
|
+
}), Q = {
|
|
169
169
|
id: "perspective-deck",
|
|
170
170
|
label: "透视甲板",
|
|
171
171
|
description: {
|
|
@@ -221,9 +221,9 @@ const Y = /* @__PURE__ */ E({
|
|
|
221
221
|
// 不渲染的模块尺寸 [MUST] 设 0,否则 store 仍按 width 预留 body 左让位 → 空隙。
|
|
222
222
|
sidebar: { width: 0, collapseWidth: 0 },
|
|
223
223
|
body: { shimPadding: 18 },
|
|
224
|
-
shell:
|
|
224
|
+
shell: D(U)
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
export {
|
|
228
|
-
|
|
228
|
+
Q as default
|
|
229
229
|
};
|
package/es/assets/quantum-ai.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, computed as p, openBlock as s, createBlock as $, Teleport as P, unref as r, createElementBlock as d, normalizeStyle as A, createElementVNode as b, createCommentVNode as g, Fragment as I, renderList as N, normalizeProps as O, guardReactiveProps as q, createSlots as F, withCtx as h, createVNode as L, renderSlot as v, markRaw as T } from "vue";
|
|
2
2
|
import { _ as z } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as G } from "@done-coding/admin-core";
|
|
4
|
-
import { u as V } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as V } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as W } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const H = ["width", "height", "viewBox"], Q = ["x", "y", "width", "height"], X = {
|
|
7
7
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as D, computed as h, openBlock as f, createBlock as R, Teleport as L, unref as o, createElementBlock as p, normalizeStyle as O, createElementVNode as n, Fragment as C, renderList as k, createCommentVNode as g, normalizeProps as P, guardReactiveProps as V, createSlots as I, withCtx as m, createVNode as X, renderSlot as x, markRaw as Y } from "vue";
|
|
2
2
|
import { _ as Z } from "../chunks/FrameShellBase.vue_vue_type_script_setup_true_lang-sr56H_8-.mjs";
|
|
3
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as j } from "@done-coding/admin-core";
|
|
4
|
-
import { u as q } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as q } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
const J = ["width", "height", "viewBox"], K = {
|
|
6
6
|
id: "nebulaA",
|
|
7
7
|
cx: "50%",
|
package/es/assets/studio-ink.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, computed as m, openBlock as n, createBlock as $, Teleport as M, unref as e, createElementBlock as u, normalizeStyle as k, createElementVNode as o, Fragment as y, createCommentVNode as p, renderSlot as i, createVNode as d, withCtx as b, markRaw as F } from "vue";
|
|
2
2
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as N, AppFooter as A, AppSidebar as B, AppAside as R, AppHeader as S, AppTheme as x } from "@done-coding/admin-core";
|
|
3
|
-
import { u as E } from "../chunks/use-frame-geometry-
|
|
3
|
+
import { u as E } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
4
4
|
import { _ as G } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
5
|
const L = ["width", "height", "viewBox"], T = {
|
|
6
6
|
id: "sgCool",
|
|
@@ -1,6 +1,6 @@
|
|
|
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
2
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as z, AppFooter as P, AppSidebar as X, AppAside as Y, AppHeader as G, AppTheme as S } from "@done-coding/admin-core";
|
|
3
|
-
import { u as Z } from "../chunks/use-frame-geometry-
|
|
3
|
+
import { u as Z } from "../chunks/use-frame-geometry-qzr90iCq.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({
|
|
6
6
|
__name: "StudioStageDecor",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, computed as v, openBlock as n, createBlock as E, Teleport as R, unref as r, createElementBlock as s, 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
3
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as P } from "@done-coding/admin-core";
|
|
4
|
-
import { u as V } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as V } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as A } 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",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, computed as f, openBlock as a, createBlock as v, 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
|
-
import { u as M } from "../chunks/use-frame-geometry-
|
|
4
|
+
import { u as M } from "../chunks/use-frame-geometry-qzr90iCq.mjs";
|
|
5
5
|
import { _ as G } from "../chunks/_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const P = ["width", "height", "viewBox"], N = {
|
|
7
7
|
id: "scanlinePattern",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, computed as v, openBlock as c, createBlock as w, Teleport as x, unref as r, createElementBlock as s, normalizeStyle as y, createElementVNode as f, Fragment as g, renderList as k, createCommentVNode as E } from "vue";
|
|
2
2
|
import { CORE_VIEWPORT_DECOR_ZINDEX_BELOW as C } from "@done-coding/admin-core";
|
|
3
|
-
import { u as b } from "./use-frame-geometry-
|
|
3
|
+
import { u as b } from "./use-frame-geometry-qzr90iCq.mjs";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
5
|
const F = ["width", "height", "viewBox"], I = { fill: "var(--dc-core-body-color, var(--el-bg-color-page, var(--el-bg-color)))" }, M = ["x", "y", "width", "height"], O = /* @__PURE__ */ p({
|
|
6
6
|
__name: "CockpitFrameMatte",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as h, inject as $, computed as m, openBlock as d, createElementBlock as u, normalizeStyle as H, createElementVNode as e, unref as s, Fragment as f, createCommentVNode as N, toDisplayString as y, renderList as E, createTextVNode as O, renderSlot as l, createVNode as c, withCtx as v } from "vue";
|
|
2
2
|
import { APP_LAYOUT_BRIDGE_KEY as R, AppSidebar as z, AppAside as T, AppHeader as j, AppTheme as b } from "@done-coding/admin-core";
|
|
3
|
-
import { u as P } from "./use-frame-geometry-
|
|
4
|
-
import { C as V } from "./CockpitFrameMatte-
|
|
3
|
+
import { u as P } from "./use-frame-geometry-qzr90iCq.mjs";
|
|
4
|
+
import { C as V } from "./CockpitFrameMatte-7himEpvU.mjs";
|
|
5
5
|
const D = {
|
|
6
6
|
cx: "5",
|
|
7
7
|
cy: "5",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { inject as f, computed as t, ref as l
|
|
2
|
-
import { APP_LAYOUT_BRIDGE_KEY as
|
|
3
|
-
function
|
|
4
|
-
const a = f(
|
|
1
|
+
import { inject as f, computed as t, ref as l } from "vue";
|
|
2
|
+
import { APP_LAYOUT_BRIDGE_KEY as L, useActivated as T } from "@done-coding/admin-core";
|
|
3
|
+
function A() {
|
|
4
|
+
const a = f(L), n = t(() => {
|
|
5
5
|
const e = a == null ? void 0 : a.APP_LAYOUT_VIEWPORT_CONFIG;
|
|
6
6
|
return {
|
|
7
7
|
paddingTop: (e == null ? void 0 : e.paddingTop) ?? 0,
|
|
@@ -9,37 +9,35 @@ function M() {
|
|
|
9
9
|
paddingBottom: (e == null ? void 0 : e.paddingBottom) ?? 0,
|
|
10
10
|
paddingLeft: (e == null ? void 0 : e.paddingLeft) ?? 0
|
|
11
11
|
};
|
|
12
|
-
}),
|
|
12
|
+
}), u = t(() => (a == null ? void 0 : a.themeIsDark.value) ?? !1), o = l(typeof window > "u" ? 0 : window.innerWidth), i = l(typeof window > "u" ? 0 : window.innerHeight), v = () => {
|
|
13
13
|
o.value = window.innerWidth, i.value = window.innerHeight;
|
|
14
14
|
}, s = l(!1), d = typeof window > "u" ? null : window.matchMedia("(prefers-reduced-motion: reduce)"), p = () => {
|
|
15
15
|
s.value = (d == null ? void 0 : d.matches) ?? !1;
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
window.addEventListener("resize",
|
|
19
|
-
}), T(() => {
|
|
20
|
-
window.removeEventListener("resize", u), d == null || d.removeEventListener("change", p);
|
|
17
|
+
T((e) => {
|
|
18
|
+
e.isActivated ? (p(), window.addEventListener("resize", v), d == null || d.addEventListener("change", p)) : (window.removeEventListener("resize", v), d == null || d.removeEventListener("change", p));
|
|
21
19
|
});
|
|
22
|
-
const
|
|
20
|
+
const w = t(
|
|
23
21
|
() => n.value.paddingTop + n.value.paddingRight + n.value.paddingBottom + n.value.paddingLeft > 0
|
|
24
|
-
),
|
|
22
|
+
), r = t(() => n.value.paddingLeft), h = t(() => n.value.paddingTop), c = t(
|
|
25
23
|
() => Math.max(0, o.value - n.value.paddingLeft - n.value.paddingRight)
|
|
26
24
|
), g = t(
|
|
27
25
|
() => Math.max(0, i.value - n.value.paddingTop - n.value.paddingBottom)
|
|
28
26
|
), m = t(() => !s.value);
|
|
29
27
|
return {
|
|
30
28
|
vp: n,
|
|
31
|
-
isDark:
|
|
29
|
+
isDark: u,
|
|
32
30
|
reducedMotion: s,
|
|
33
31
|
animated: m,
|
|
34
32
|
vw: o,
|
|
35
33
|
vh: i,
|
|
36
|
-
hasFrame:
|
|
37
|
-
hollowX:
|
|
34
|
+
hasFrame: w,
|
|
35
|
+
hollowX: r,
|
|
38
36
|
hollowY: h,
|
|
39
37
|
hollowW: c,
|
|
40
38
|
hollowH: g
|
|
41
39
|
};
|
|
42
40
|
}
|
|
43
41
|
export {
|
|
44
|
-
|
|
42
|
+
A as u
|
|
45
43
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/admin-plugin-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.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.17.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": "c69b06a9ffb246736e6c9987fa32911233d78256"
|
|
76
76
|
}
|