@epxing/dashboard 5.3.0-beta.2 → 5.3.0-beta.3
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/API.md +1 -1
- package/README.md +42 -42
- package/dist/src/Dashboard.js +1 -1
- package/dist/src/Widget.js +1 -1
- package/dist/style.css +8 -8
- package/package.json +5 -5
- package/src/Dashboard.vue +459 -459
- package/src/Widget.vue +354 -354
- package/src/index.js +28 -28
- package/types/index.d.ts +7 -7
- package/types/tabs.d.ts +1 -1
- package/types/title.d.ts +1 -1
- package/types/widget.d.ts +1 -1
package/API.md
CHANGED
package/README.md
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
# @epxing/dashboard
|
|
2
|
-
|
|
3
|
-
[完整公开 API、导入方式与示例](./API.md)
|
|
4
|
-
|
|
5
|
-
从 5.3.0-beta.2 起,导入本包 JS 时自动加载包级样式,根入口和稳定子路径均无需手动引入 style.css。显式样式入口继续兼容旧代码;产品覆盖样式放在框架导入之后。
|
|
6
|
-
|
|
7
|
-
数据看板包 - **可视化看板搭建,拖拽组件组成仪表盘大屏(按需加载)**。
|
|
8
|
-
|
|
9
|
-
## 范围
|
|
10
|
-
|
|
11
|
-
- `src/frame/packages/dashboard/`(Dashboard.vue / Widget.vue / Tabs.vue / Div.vue / Header.vue)
|
|
12
|
-
- `src/frame/packages/visual-config-page/Dashboard*.vue`
|
|
13
|
-
- `src/frame/packages/visual-config-page/DashboardDesign.vue`
|
|
14
|
-
- `src/frame/packages/visual-config-page/dashboard-theme-setting/`(Background / Border / Index)
|
|
15
|
-
|
|
16
|
-
## 依赖
|
|
17
|
-
|
|
18
|
-
- `@epxing/utils`
|
|
19
|
-
- `@epxing/theme`
|
|
20
|
-
- `@epxing/core`
|
|
21
|
-
- `@epxing/components`
|
|
22
|
-
- echarts / d3(本包独占重依赖)
|
|
23
|
-
|
|
24
|
-
## 加载策略
|
|
25
|
-
|
|
26
|
-
`apps/platform` 路由层 `() => import('@epxing/dashboard')` 懒加载。
|
|
27
|
-
|
|
28
|
-
## 状态
|
|
29
|
-
|
|
30
|
-
🟡 stub - 实际迁移在 T20。
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## 独立包公共入口(2026-10-22)
|
|
34
|
-
|
|
35
|
-
根入口及稳定子路径提供类型声明。先安装 core 与需要的 component,再按需安装本包。
|
|
36
|
-
|
|
37
|
-
```js
|
|
38
|
-
import plugin from '@epxing/dashboard'
|
|
39
|
-
app.use(plugin)
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
工作区构建:`pnpm --filter @epxing/dashboard build`。pack/publish 的 prepack 会重建;版本由 Changesets 独立管理。旧 `/src/*` 入口保留。完整初始化、打包与远程共享流程见 docs/build-and-publish.md。
|
|
1
|
+
# @epxing/dashboard
|
|
2
|
+
|
|
3
|
+
[完整公开 API、导入方式与示例](./API.md)
|
|
4
|
+
|
|
5
|
+
从 5.3.0-beta.2 起,导入本包 JS 时自动加载包级样式,根入口和稳定子路径均无需手动引入 style.css。显式样式入口继续兼容旧代码;产品覆盖样式放在框架导入之后。
|
|
6
|
+
|
|
7
|
+
数据看板包 - **可视化看板搭建,拖拽组件组成仪表盘大屏(按需加载)**。
|
|
8
|
+
|
|
9
|
+
## 范围
|
|
10
|
+
|
|
11
|
+
- `src/frame/packages/dashboard/`(Dashboard.vue / Widget.vue / Tabs.vue / Div.vue / Header.vue)
|
|
12
|
+
- `src/frame/packages/visual-config-page/Dashboard*.vue`
|
|
13
|
+
- `src/frame/packages/visual-config-page/DashboardDesign.vue`
|
|
14
|
+
- `src/frame/packages/visual-config-page/dashboard-theme-setting/`(Background / Border / Index)
|
|
15
|
+
|
|
16
|
+
## 依赖
|
|
17
|
+
|
|
18
|
+
- `@epxing/utils`
|
|
19
|
+
- `@epxing/theme`
|
|
20
|
+
- `@epxing/core`
|
|
21
|
+
- `@epxing/components`
|
|
22
|
+
- echarts / d3(本包独占重依赖)
|
|
23
|
+
|
|
24
|
+
## 加载策略
|
|
25
|
+
|
|
26
|
+
`apps/platform` 路由层 `() => import('@epxing/dashboard')` 懒加载。
|
|
27
|
+
|
|
28
|
+
## 状态
|
|
29
|
+
|
|
30
|
+
🟡 stub - 实际迁移在 T20。
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## 独立包公共入口(2026-10-22)
|
|
34
|
+
|
|
35
|
+
根入口及稳定子路径提供类型声明。先安装 core 与需要的 component,再按需安装本包。
|
|
36
|
+
|
|
37
|
+
```js
|
|
38
|
+
import plugin from '@epxing/dashboard'
|
|
39
|
+
app.use(plugin)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
工作区构建:`pnpm --filter @epxing/dashboard build`。pack/publish 的 prepack 会重建;版本由 Changesets 独立管理。旧 `/src/*` 入口保留。完整初始化、打包与远程共享流程见 docs/build-and-publish.md。
|
package/dist/src/Dashboard.js
CHANGED
|
@@ -327,7 +327,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
327
327
|
], 6)
|
|
328
328
|
], 6);
|
|
329
329
|
}
|
|
330
|
-
const Dashboard = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
330
|
+
const Dashboard = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c85a2bef"]]);
|
|
331
331
|
export {
|
|
332
332
|
Dashboard as default
|
|
333
333
|
};
|
package/dist/src/Widget.js
CHANGED
|
@@ -261,7 +261,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
261
261
|
], 4)
|
|
262
262
|
], 6);
|
|
263
263
|
}
|
|
264
|
-
const DashboardWidget = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
264
|
+
const DashboardWidget = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-651dd5dc"]]);
|
|
265
265
|
export {
|
|
266
266
|
DashboardWidget as default
|
|
267
267
|
};
|
package/dist/style.css
CHANGED
|
@@ -971,7 +971,7 @@ div.container[data-v-503fe9af] {
|
|
|
971
971
|
-------------------------- */
|
|
972
972
|
/* BEM
|
|
973
973
|
-------------------------- */
|
|
974
|
-
.dashboard[data-v-
|
|
974
|
+
.dashboard[data-v-651dd5dc] {
|
|
975
975
|
width: 100%;
|
|
976
976
|
height: 100%;
|
|
977
977
|
overflow: auto;
|
|
@@ -979,31 +979,31 @@ div.container[data-v-503fe9af] {
|
|
|
979
979
|
display: flex;
|
|
980
980
|
flex-direction: column;
|
|
981
981
|
}
|
|
982
|
-
.dashboard .base-page[data-v-
|
|
982
|
+
.dashboard .base-page[data-v-651dd5dc] {
|
|
983
983
|
position: static;
|
|
984
984
|
overflow-x: hidden;
|
|
985
985
|
padding: 0;
|
|
986
986
|
}
|
|
987
|
-
.dashboard--hidden-scroll-bar .dashboard-container[data-v-
|
|
987
|
+
.dashboard--hidden-scroll-bar .dashboard-container[data-v-651dd5dc]::-webkit-scrollbar-thumb {
|
|
988
988
|
background: none;
|
|
989
989
|
}
|
|
990
|
-
.dashboard--hidden-scroll-bar .dashboard-container[data-v-
|
|
990
|
+
.dashboard--hidden-scroll-bar .dashboard-container[data-v-651dd5dc]::-webkit-scrollbar-thumb:hover {
|
|
991
991
|
background-color: rgba(95, 95, 95, 0.3);
|
|
992
992
|
}
|
|
993
|
-
.dashboard-container[data-v-
|
|
993
|
+
.dashboard-container[data-v-651dd5dc] {
|
|
994
994
|
width: 100%;
|
|
995
995
|
flex: 1;
|
|
996
996
|
overflow: auto;
|
|
997
997
|
}
|
|
998
|
-
.dashboard-component[data-v-
|
|
998
|
+
.dashboard-component[data-v-651dd5dc] {
|
|
999
999
|
width: 100%;
|
|
1000
1000
|
height: 100%;
|
|
1001
1001
|
overflow: auto;
|
|
1002
1002
|
}
|
|
1003
|
-
.dashboard--dark .dashboard-container[data-v-
|
|
1003
|
+
.dashboard--dark .dashboard-container[data-v-651dd5dc] {
|
|
1004
1004
|
background: #151C3D;
|
|
1005
1005
|
}
|
|
1006
|
-
.dashboard--technology .dashboard-container[data-v-
|
|
1006
|
+
.dashboard--technology .dashboard-container[data-v-651dd5dc] {
|
|
1007
1007
|
background: url("./assets/technology_bg-oWIS2awO.jpg") no-repeat center;
|
|
1008
1008
|
background-size: cover;
|
|
1009
1009
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epxing/dashboard",
|
|
3
|
-
"version": "5.3.0-beta.
|
|
3
|
+
"version": "5.3.0-beta.3",
|
|
4
4
|
"description": "看板运行态渲染",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/src/index.js",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
],
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"gridstack": "13.3.0",
|
|
59
|
-
"@epxing/components": "^5.3.0-beta.
|
|
60
|
-
"@epxing/core": "^5.3.0-beta.
|
|
61
|
-
"@epxing/theme": "^5.3.0-beta.
|
|
62
|
-
"@epxing/utils": "^5.3.0-beta.
|
|
59
|
+
"@epxing/components": "^5.3.0-beta.3",
|
|
60
|
+
"@epxing/core": "^5.3.0-beta.3",
|
|
61
|
+
"@epxing/theme": "^5.3.0-beta.3",
|
|
62
|
+
"@epxing/utils": "^5.3.0-beta.3"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"vue": "3.5.39",
|