sky-ui-kit 0.1.7 → 0.1.8
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/components.json +194 -2
- package/dist/components/DefenseMapLayout.vue.d.ts +16 -3
- package/dist/components/MapPageLayout.vue.d.ts +58 -0
- package/dist/components/ModelWorkspace.vue.d.ts +24 -0
- package/dist/components/ModelWorkspaceHeader.vue.d.ts +19 -0
- package/dist/components/ModelWorkspacePanel.vue.d.ts +22 -0
- package/dist/components/index.d.ts +245 -3
- package/dist/components.js +2185 -1996
- package/dist/entries/MapPageLayout.d.ts +1 -0
- package/dist/entries/MapPageLayout.js +10 -0
- package/dist/entries/ModelWorkspace.d.ts +1 -0
- package/dist/entries/ModelWorkspace.js +10 -0
- package/dist/entries/ModelWorkspaceHeader.d.ts +1 -0
- package/dist/entries/ModelWorkspaceHeader.js +10 -0
- package/dist/entries/ModelWorkspacePanel.d.ts +1 -0
- package/dist/entries/ModelWorkspacePanel.js +10 -0
- package/dist/model-workspace.css +47 -0
- package/dist/style.css +49 -1
- package/docs/AI-CHANGELOG.md +53 -0
- package/docs/AI-GUIDE.md +86 -9
- package/docs/COMPONENT-API.md +73 -1
- package/docs/COMPONENT-GUIDE.md +6 -0
- package/docs/CSS-THEME.md +10 -0
- package/docs/ELEMENT-PLUS-COVERAGE.md +1 -1
- package/docs/INTEGRATION.md +10 -0
- package/docs/MODEL-WORKSPACE.md +116 -0
- package/llms-full.txt +342 -12
- package/llms.txt +2 -1
- package/package.json +5 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MapPageLayout as default, MapPageLayout } from '../components/index'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MapPageLayout as e, MapPageLayout as u } from "../components.js";
|
|
2
|
+
import "../chunks/UiScrollbar-67b064c7.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
import "vue";
|
|
5
|
+
import "@element-plus/icons-vue";
|
|
6
|
+
import "motion-v";
|
|
7
|
+
export {
|
|
8
|
+
e as MapPageLayout,
|
|
9
|
+
u as default
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ModelWorkspace as default, ModelWorkspace } from '../components/index'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModelWorkspace as a, ModelWorkspace as d } from "../components.js";
|
|
2
|
+
import "../chunks/UiScrollbar-67b064c7.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
import "vue";
|
|
5
|
+
import "@element-plus/icons-vue";
|
|
6
|
+
import "motion-v";
|
|
7
|
+
export {
|
|
8
|
+
a as ModelWorkspace,
|
|
9
|
+
d as default
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ModelWorkspaceHeader as default, ModelWorkspaceHeader } from '../components/index'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModelWorkspaceHeader as d, ModelWorkspaceHeader as i } from "../components.js";
|
|
2
|
+
import "../chunks/UiScrollbar-67b064c7.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
import "vue";
|
|
5
|
+
import "@element-plus/icons-vue";
|
|
6
|
+
import "motion-v";
|
|
7
|
+
export {
|
|
8
|
+
d as ModelWorkspaceHeader,
|
|
9
|
+
i as default
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ModelWorkspacePanel as default, ModelWorkspacePanel } from '../components/index'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModelWorkspacePanel as i, ModelWorkspacePanel as l } from "../components.js";
|
|
2
|
+
import "../chunks/UiScrollbar-67b064c7.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
import "vue";
|
|
5
|
+
import "@element-plus/icons-vue";
|
|
6
|
+
import "motion-v";
|
|
7
|
+
export {
|
|
8
|
+
i as ModelWorkspacePanel,
|
|
9
|
+
l as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* 四个模型工作区的共同主题,仅在显式容器内生效。 */
|
|
2
|
+
.sky-model-workspace {
|
|
3
|
+
--color-bg: #f3f7fb; --color-panel: #fff; --color-surface: #f7f9fc;
|
|
4
|
+
--color-primary: #1677ff; --color-on-primary: #fff; --color-text: #172b4d;
|
|
5
|
+
--color-muted: #66758a; --color-border: #dce5ef; --color-soft-border: #e6effa;
|
|
6
|
+
--color-hover: #e8f2ff; --color-danger: #d9363e; --surface-subtle: #f3f7fb;
|
|
7
|
+
--surface-control: #fff; --surface-control-hover: #e8f2ff; --surface-control-active: #e8f2ff;
|
|
8
|
+
--input-bg: #fff; --dropdown-bg: #fff; --input-placeholder: #8c9bae;
|
|
9
|
+
--focus-ring: #1677ff26; --workspace-title: #0c2559;
|
|
10
|
+
--workspace-hero: linear-gradient(110deg,#edf6ff,#e1efff 56%,#f5faff);
|
|
11
|
+
--shadow-panel: 0 8px 28px #15375b0d; --radius-s: 6px; --radius-m: 7px; --radius-l: 8px;
|
|
12
|
+
--scrollbar-thumb: #bdccdf;
|
|
13
|
+
color-scheme: light; color: var(--color-text); background: var(--color-bg);
|
|
14
|
+
font-family: "Segoe UI","Microsoft YaHei",sans-serif; font-size: 14px; line-height: 1.65;
|
|
15
|
+
min-width: 0;
|
|
16
|
+
}
|
|
17
|
+
.sky-model-workspace[data-theme="dark"] {
|
|
18
|
+
--color-bg: #0d1420; --color-panel: #151f2e; --color-surface: #101a28;
|
|
19
|
+
--color-primary: #36cbb7; --color-on-primary: #072b2b; --color-text: #e3ecf5;
|
|
20
|
+
--color-muted: #99abc0; --color-border: #35485f; --color-soft-border: #2b3c50;
|
|
21
|
+
--color-hover: #193a3f; --color-danger: #f3a2ad; --surface-subtle: #0d1420;
|
|
22
|
+
--surface-control: #151f2e; --surface-control-hover: #193a3f; --surface-control-active: #193a3f;
|
|
23
|
+
--input-bg: #151f2e; --dropdown-bg: #1b293b; --input-placeholder: #99abc0;
|
|
24
|
+
--focus-ring: #36cbb726; --workspace-title: #f1f6fc;
|
|
25
|
+
--workspace-hero: linear-gradient(110deg,#172b40,#17363f 56%,#142333);
|
|
26
|
+
--shadow-panel: 0 8px 28px #00000030; --scrollbar-thumb: #425a72; color-scheme: dark;
|
|
27
|
+
}
|
|
28
|
+
.sky-model-workspace *, .sky-model-workspace *::before, .sky-model-workspace *::after { box-sizing: border-box; }
|
|
29
|
+
.sky-model-workspace__content { padding: var(--workspace-padding, 20px); min-width: 0; }
|
|
30
|
+
.sky-model-header { padding: 24px 28px; background: var(--workspace-hero); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
|
|
31
|
+
.sky-model-header__title { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--workspace-title); font-size: 22px; font-weight: 650; }
|
|
32
|
+
.sky-model-header__title::before { content: ''; width: 7px; height: 25px; border-radius: 4px; background: var(--color-primary); flex-shrink: 0; }
|
|
33
|
+
.sky-model-header__description { margin: 8px 0 0; color: var(--color-muted); }
|
|
34
|
+
.sky-model-panel { min-width: 0; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-panel); box-shadow: var(--shadow-panel); overflow: hidden; }
|
|
35
|
+
.sky-model-panel__header, .sky-model-panel__footer { padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
|
36
|
+
.sky-model-panel__header { border-bottom: 1px solid var(--color-border); }
|
|
37
|
+
.sky-model-panel__header h2 { margin: 0; font-size: 15px; color: var(--workspace-title); }
|
|
38
|
+
.sky-model-panel__body { padding: 16px; min-width: 0; }
|
|
39
|
+
.sky-model-panel__footer { border-top: 1px solid var(--color-border); }
|
|
40
|
+
/* 原生表单适配必须显式开启,不覆盖容器外的 Element Plus。 */
|
|
41
|
+
.sky-model-workspace[data-native-controls] :where(button:not([class*="el-"]), input:not([class*="el-"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select:not([class*="el-"]), textarea:not([class*="el-"])) { font: inherit; color: var(--color-text); background: var(--color-panel); border: 1px solid var(--color-border); border-radius: 6px; padding: 7px 12px; }
|
|
42
|
+
.sky-model-workspace[data-native-controls] :where(button:not([class*="el-"])) { cursor: pointer; }
|
|
43
|
+
.sky-model-workspace[data-native-controls] :where(button.primary, button.accent) { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary); }
|
|
44
|
+
.sky-model-workspace[data-native-controls] :where(button:not([class*="el-"]):hover:not(:disabled)) { border-color: var(--color-primary); }
|
|
45
|
+
.sky-model-workspace[data-native-controls] :where(button:disabled, input:disabled, select:disabled, textarea:disabled) { opacity: .55; cursor: not-allowed; }
|
|
46
|
+
.sky-model-workspace[data-native-controls] :where(button, input, select, textarea):focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
|
|
47
|
+
@media(max-width:768px) { .sky-model-header { padding: 18px 16px; } .sky-model-workspace__content { padding: 12px; } }
|