@done-coding/admin-plugin-theme 0.7.9-alpha.0 → 0.7.10-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 +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/copilot-stage.mjs +6 -2
- 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 +1 -1
- 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 +8 -3
- package/es/assets/synapse-grid.mjs +1 -1
- package/es/assets/terminal-phosphor.mjs +1 -1
- package/es/chunks/{CockpitFrameMatte-7himEpvU.mjs → CockpitFrameMatte-DQatouSU.mjs} +1 -1
- package/es/chunks/{CockpitShellBase.vue_vue_type_script_setup_true_lang-CkQjKOtV.mjs → CockpitShellBase.vue_vue_type_script_setup_true_lang-GGgqKPqg.mjs} +2 -2
- package/es/chunks/use-frame-geometry-CMHrr_gA.mjs +43 -0
- package/package.json +3 -3
- package/es/chunks/use-frame-geometry-qzr90iCq.mjs +0 -43
|
@@ -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-CMHrr_gA.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-CMHrr_gA.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-CMHrr_gA.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-GGgqKPqg.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-CMHrr_gA.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-GGgqKPqg.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-CMHrr_gA.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-GGgqKPqg.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-CMHrr_gA.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-GGgqKPqg.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-CMHrr_gA.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",
|
|
@@ -95,9 +95,13 @@ const p = /* @__PURE__ */ d({
|
|
|
95
95
|
},
|
|
96
96
|
// 无左栏:sidebar 宽 0(StageChatShell 不渲染 AppSidebar);collapseWidth 0 同步。
|
|
97
97
|
sidebar: { width: 0, collapseWidth: 0 },
|
|
98
|
-
// 右侧会话 aside:宽
|
|
98
|
+
// 右侧会话 aside:宽 **400**;demo 路由 meta.layout.aside=true 时显(应用层经 #aside 灌内容)。
|
|
99
|
+
// 400 而非 360 的依据(实测 AiDialogue 在该宽度下的正文行长,2026-08-28):
|
|
100
|
+
// 280→段落 11 字/行、列表 8 字 | 300→13/10 | 360→16/13 | **400→18/15** | 440→21/18
|
|
101
|
+
// 中文正文低于 ~15 字/行阅读节奏就开始断,400 是段落与列表**双双**站上该线的第一档。
|
|
102
|
+
// 与业界吻合:AI copilot 侧栏公认区间 320–480,微软 Copilot 侧栏最小 400 且可拖拽。
|
|
99
103
|
aside: {
|
|
100
|
-
width:
|
|
104
|
+
width: 400,
|
|
101
105
|
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
102
106
|
style: { borderRadius: "12px" }
|
|
103
107
|
},
|
|
@@ -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-CMHrr_gA.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-CMHrr_gA.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-CMHrr_gA.mjs";
|
|
4
|
+
import { C as q } from "../chunks/CockpitFrameMatte-DQatouSU.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-CMHrr_gA.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",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as A, computed as i, shallowRef as F, watch as _, onBef
|
|
|
2
2
|
import { ElIcon as S } from "element-plus";
|
|
3
3
|
import { ChatDotRound as T } from "@element-plus/icons-vue";
|
|
4
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-
|
|
5
|
+
import { u as G } from "../chunks/use-frame-geometry-CMHrr_gA.mjs";
|
|
6
6
|
import { _ as H } from "../chunks/HeaderNavMenu.vue_vue_type_script_setup_true_lang-Dfv8_Muy.mjs";
|
|
7
7
|
const W = /* @__PURE__ */ A({
|
|
8
8
|
__name: "PerspectiveDeckDecor",
|
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-CMHrr_gA.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-CMHrr_gA.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-CMHrr_gA.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-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({
|
|
6
6
|
__name: "StudioStageDecor",
|
|
@@ -260,8 +260,13 @@ const q = ["width", "height", "viewBox"], J = { id: "ssRingMask" }, K = ["width"
|
|
|
260
260
|
style: { borderRadius: "8px" }
|
|
261
261
|
},
|
|
262
262
|
aside: {
|
|
263
|
-
//
|
|
264
|
-
|
|
263
|
+
// 400:aside 承载 AI 对话面板(应用层经 #aside 灌),留持久会话舒适宽度。
|
|
264
|
+
// 340 → 400 的依据(实测 AiDialogue 各宽度下的正文行长,2026-08-28):
|
|
265
|
+
// 300→段落 13 字/行、列表 10 字 | **340→15/12** | 360→16/13 | **400→18/15**
|
|
266
|
+
// 中文正文低于 ~15 字/行阅读节奏开始断,340 恰好贴线(列表已跌破);
|
|
267
|
+
// 400 是段落与列表**双双**站上该线的第一档。与业界吻合:AI copilot 侧栏公认
|
|
268
|
+
// 区间 320–480,微软 Copilot 侧栏最小 400 且可拖拽。与姐妹主题 copilot-stage 同宽。
|
|
269
|
+
width: 400,
|
|
265
270
|
background: "var(--dc-core-surface, var(--el-bg-color-overlay))",
|
|
266
271
|
style: { borderRadius: "8px" }
|
|
267
272
|
},
|
|
@@ -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-CMHrr_gA.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-CMHrr_gA.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-CMHrr_gA.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-CMHrr_gA.mjs";
|
|
4
|
+
import { C as V } from "./CockpitFrameMatte-DQatouSU.mjs";
|
|
5
5
|
const D = {
|
|
6
6
|
cx: "5",
|
|
7
7
|
cy: "5",
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { inject as w, computed as d, ref as v } from "vue";
|
|
2
|
+
import { APP_LAYOUT_BRIDGE_KEY as E, APP_LAYOUT_APP_STORE_KEY as T, useActivated as _ } from "@done-coding/admin-core";
|
|
3
|
+
function R() {
|
|
4
|
+
const a = w(E), o = w(T, void 0), n = d(() => {
|
|
5
|
+
const e = (o == null ? void 0 : o.viewportConfigEffective) ?? (a == null ? void 0 : a.APP_LAYOUT_VIEWPORT_CONFIG);
|
|
6
|
+
return {
|
|
7
|
+
paddingTop: (e == null ? void 0 : e.paddingTop) ?? 0,
|
|
8
|
+
paddingRight: (e == null ? void 0 : e.paddingRight) ?? 0,
|
|
9
|
+
paddingBottom: (e == null ? void 0 : e.paddingBottom) ?? 0,
|
|
10
|
+
paddingLeft: (e == null ? void 0 : e.paddingLeft) ?? 0
|
|
11
|
+
};
|
|
12
|
+
}), r = d(() => (a == null ? void 0 : a.themeIsDark.value) ?? !1), i = v(typeof window > "u" ? 0 : window.innerWidth), s = v(typeof window > "u" ? 0 : window.innerHeight), u = () => {
|
|
13
|
+
i.value = window.innerWidth, s.value = window.innerHeight;
|
|
14
|
+
}, l = v(!1), t = typeof window > "u" ? null : window.matchMedia("(prefers-reduced-motion: reduce)"), p = () => {
|
|
15
|
+
l.value = (t == null ? void 0 : t.matches) ?? !1;
|
|
16
|
+
};
|
|
17
|
+
_((e) => {
|
|
18
|
+
e.isActivated ? (p(), window.addEventListener("resize", u), t == null || t.addEventListener("change", p)) : (window.removeEventListener("resize", u), t == null || t.removeEventListener("change", p));
|
|
19
|
+
});
|
|
20
|
+
const c = d(
|
|
21
|
+
() => n.value.paddingTop + n.value.paddingRight + n.value.paddingBottom + n.value.paddingLeft > 0
|
|
22
|
+
), h = d(() => n.value.paddingLeft), g = d(() => n.value.paddingTop), f = d(
|
|
23
|
+
() => Math.max(0, i.value - n.value.paddingLeft - n.value.paddingRight)
|
|
24
|
+
), m = d(
|
|
25
|
+
() => Math.max(0, s.value - n.value.paddingTop - n.value.paddingBottom)
|
|
26
|
+
), L = d(() => !l.value);
|
|
27
|
+
return {
|
|
28
|
+
vp: n,
|
|
29
|
+
isDark: r,
|
|
30
|
+
reducedMotion: l,
|
|
31
|
+
animated: L,
|
|
32
|
+
vw: i,
|
|
33
|
+
vh: s,
|
|
34
|
+
hasFrame: c,
|
|
35
|
+
hollowX: h,
|
|
36
|
+
hollowY: g,
|
|
37
|
+
hollowW: f,
|
|
38
|
+
hollowH: m
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
R as u
|
|
43
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/admin-plugin-theme",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10-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.24.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": "368c62d7d673a7ad48665fd98147d133db6fbb09"
|
|
76
76
|
}
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
const e = a == null ? void 0 : a.APP_LAYOUT_VIEWPORT_CONFIG;
|
|
6
|
-
return {
|
|
7
|
-
paddingTop: (e == null ? void 0 : e.paddingTop) ?? 0,
|
|
8
|
-
paddingRight: (e == null ? void 0 : e.paddingRight) ?? 0,
|
|
9
|
-
paddingBottom: (e == null ? void 0 : e.paddingBottom) ?? 0,
|
|
10
|
-
paddingLeft: (e == null ? void 0 : e.paddingLeft) ?? 0
|
|
11
|
-
};
|
|
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
|
-
o.value = window.innerWidth, i.value = window.innerHeight;
|
|
14
|
-
}, s = l(!1), d = typeof window > "u" ? null : window.matchMedia("(prefers-reduced-motion: reduce)"), p = () => {
|
|
15
|
-
s.value = (d == null ? void 0 : d.matches) ?? !1;
|
|
16
|
-
};
|
|
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));
|
|
19
|
-
});
|
|
20
|
-
const w = t(
|
|
21
|
-
() => n.value.paddingTop + n.value.paddingRight + n.value.paddingBottom + n.value.paddingLeft > 0
|
|
22
|
-
), r = t(() => n.value.paddingLeft), h = t(() => n.value.paddingTop), c = t(
|
|
23
|
-
() => Math.max(0, o.value - n.value.paddingLeft - n.value.paddingRight)
|
|
24
|
-
), g = t(
|
|
25
|
-
() => Math.max(0, i.value - n.value.paddingTop - n.value.paddingBottom)
|
|
26
|
-
), m = t(() => !s.value);
|
|
27
|
-
return {
|
|
28
|
-
vp: n,
|
|
29
|
-
isDark: u,
|
|
30
|
-
reducedMotion: s,
|
|
31
|
-
animated: m,
|
|
32
|
-
vw: o,
|
|
33
|
-
vh: i,
|
|
34
|
-
hasFrame: w,
|
|
35
|
-
hollowX: r,
|
|
36
|
-
hollowY: h,
|
|
37
|
-
hollowW: c,
|
|
38
|
-
hollowH: g
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export {
|
|
42
|
-
A as u
|
|
43
|
-
};
|