@xdmp-open/ui-iot 0.1.3 → 0.1.5
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/CHANGELOG.md +19 -7
- package/README.md +11 -18
- package/dist/{arrayForm-Bwa8hxcC.js → arrayForm-BvAulmTE.js} +1 -1
- package/dist/{arrayForm-DltiiZCT.js → arrayForm-DU3O8Z55.js} +1 -1
- package/dist/{bitMapForm-1Ba55Tks.js → bitMapForm-B9dvspPl.js} +1 -1
- package/dist/{bitMapForm-6_9oPv5y.js → bitMapForm-L8yhGycB.js} +1 -1
- package/dist/{bitmapForm-Cw-rXzH0.js → bitmapForm-CXtQPxY8.js} +1 -1
- package/dist/{boolForm-DM8RhVq9.js → boolForm-BoRbf5bx.js} +1 -1
- package/dist/{boolForm-DJrE-XtY.js → boolForm-cDCYByW6.js} +1 -1
- package/dist/{doubleForm-Benb88Wz.js → doubleForm-BQEFafil.js} +1 -1
- package/dist/{doubleForm-DIuAANgT.js → doubleForm-DGB9ndFc.js} +1 -1
- package/dist/{doubleForm-DKkqLReK.js → doubleForm-Q0gfnl89.js} +1 -1
- package/dist/{enumForm-D_0J7ctS.js → enumForm-CQaGuKab.js} +1 -1
- package/dist/{enumForm-DoGIySLs.js → enumForm-DHInuBtP.js} +1 -1
- package/dist/{enumForm-CrnS7PQE.js → enumForm-DSoDvZI8.js} +1 -1
- package/dist/{index-BgaRhlvV.js → index-DFwvpeuw.js} +5122 -4941
- package/dist/index.js +1 -1
- package/dist/{inputForm-KxxZWZEv.js → inputForm-BX2wdc8K.js} +1 -1
- package/dist/{inputForm-ZsM8Zyld.js → inputForm-DdQZJ9Zj.js} +1 -1
- package/dist/{inputForm-tDDjvb2t.js → inputForm-Dw__OCIA.js} +1 -1
- package/dist/modules/legacy-monitor/components/messageDrawer.vue.d.ts +370 -1
- package/dist/modules/monitor/debug/device.vue.d.ts +51 -1
- package/dist/modules/monitor/debug/platform.vue.d.ts +51 -1
- package/dist/modules/monitor/log/applyLog.vue.d.ts +370 -1
- package/dist/modules/monitor/log/deviceLog.vue.d.ts +370 -1
- package/dist/modules/monitor/log/index.vue.d.ts +791 -3
- package/dist/modules/monitor/log/modules/applyLogDrawer.vue.d.ts +370 -1
- package/dist/modules/monitor/log/modules/deviceLogDrawer.vue.d.ts +370 -1
- package/dist/modules/project/components/addProductDrawer.vue.d.ts +370 -1
- package/dist/modules/project/device/batches.vue.d.ts +370 -1
- package/dist/modules/project/device/components/debug/deviceDebug.vue.d.ts +370 -1
- package/dist/modules/project/device/components/debug/deviceSimulator.vue.d.ts +370 -1
- package/dist/modules/project/device/components/debug/modal/addSubDeviceDrawer.vue.d.ts +370 -1
- package/dist/modules/project/device/components/debug/modal/simulator/subDeviceTopology.vue.d.ts +370 -1
- package/dist/modules/project/device/components/deviceChild.vue.d.ts +374 -5
- package/dist/modules/project/device/components/deviceShadow.vue.d.ts +373 -4
- package/dist/modules/project/device/components/deviceUpload.vue.d.ts +1 -1
- package/dist/modules/project/device/components/event.vue.d.ts +2 -2
- package/dist/modules/project/device/components/modal/addDeviceDrawer.vue.d.ts +370 -1
- package/dist/modules/project/device/components/modal/batchesDrawer.vue.d.ts +370 -1
- package/dist/modules/project/device/components/modal/editDeviceDrawer.vue.d.ts +370 -1
- package/dist/modules/project/device/components/modal/editDeviceExDrawer.vue.d.ts +371 -2
- package/dist/modules/project/device/components/modal/editDevicepPositionDrawer.vue.d.ts +370 -1
- package/dist/modules/project/device/components/modal/issueDeviceDrawer.vue.d.ts +370 -1
- package/dist/modules/project/device/components/modal/propertiesHistory.vue.d.ts +1 -1
- package/dist/modules/project/device/components/modal/relationSubDeviceDrawer.vue.d.ts +371 -2
- package/dist/modules/project/device/components/modal/setExpectations.vue.d.ts +371 -2
- package/dist/modules/project/device/components/modal/telemetiesHistory.vue.d.ts +1 -1
- package/dist/modules/project/device/components/modal/updateProperties.vue.d.ts +372 -3
- package/dist/modules/project/device/components/modal/updateTelemeties.vue.d.ts +372 -3
- package/dist/modules/project/device/components/operation.vue.d.ts +2 -2
- package/dist/modules/project/device/components/properties.vue.d.ts +379 -10
- package/dist/modules/project/device/components/service.vue.d.ts +4 -4
- package/dist/modules/project/device/components/tag.vue.d.ts +1 -1
- package/dist/modules/project/device/components/telemetry.vue.d.ts +379 -10
- package/dist/modules/project/device/devices.vue.d.ts +1481 -5
- package/dist/modules/project/device/group/components/add.vue.d.ts +370 -1
- package/dist/modules/project/module/addDeviceDrawer.vue.d.ts +370 -1
- package/dist/modules/project/module/addDeviceFromProductDrawer.vue.d.ts +370 -1
- package/dist/modules/project/module/addMemberDrawer.vue.d.ts +370 -1
- package/dist/modules/project/module/editDeviceDrawer.vue.d.ts +372 -1
- package/dist/modules/project/module/memberDetail.vue.d.ts +370 -1
- package/dist/modules/project/module/moveDeviceDrawer.vue.d.ts +370 -1
- package/dist/modules/project/product/model/eventDrawer.vue.d.ts +371 -1
- package/dist/modules/project/product/model/propsDrawer.vue.d.ts +370 -1
- package/dist/modules/project/product/model/servicesDrawer.vue.d.ts +370 -1
- package/dist/modules/project/product/modules/custom-drawer.vue.d.ts +370 -1
- package/dist/modules/project/product/modules/detail-tsl-drawer.vue.d.ts +1110 -3
- package/dist/modules/project/product/modules/export-tsl-drawer.vue.d.ts +370 -1
- package/dist/modules/project/product/modules/product-drawer.vue.d.ts +1480 -4
- package/dist/modules/project/product/modules/settingDrawer.vue.d.ts +371 -2
- package/dist/modules/project/product/modules/standard-detail-tips.vue.d.ts +2 -2
- package/dist/modules/project/product/modules/standard-drawer.vue.d.ts +373 -4
- package/dist/modules/project/product/modules/tips.vue.d.ts +2 -2
- package/dist/modules/project/product/modules/tsl-drawer.vue.d.ts +371 -1
- package/dist/modules/project/product/modules/uiap-product-drawer.vue.d.ts +740 -2
- package/dist/modules/project/product/tabComponents/tslOperation.vue.d.ts +372 -3
- package/dist/modules/project/robot/components/alarm.vue.d.ts +1 -1
- package/dist/modules/project/robot/components/debug/deviceDebug.vue.d.ts +370 -1
- package/dist/modules/project/robot/components/debug/deviceSimulator.vue.d.ts +370 -1
- package/dist/modules/project/robot/components/debug/modal/addSubDeviceDrawer.vue.d.ts +370 -1
- package/dist/modules/project/robot/components/debug/modal/simulator/subDeviceTopology.vue.d.ts +370 -1
- package/dist/modules/project/robot/components/deviceChild.vue.d.ts +374 -5
- package/dist/modules/project/robot/components/deviceShadow.vue.d.ts +373 -4
- package/dist/modules/project/robot/components/event.vue.d.ts +2 -2
- package/dist/modules/project/robot/components/modal/addDeviceDrawer.vue.d.ts +370 -1
- package/dist/modules/project/robot/components/modal/batchesDrawer.vue.d.ts +370 -1
- package/dist/modules/project/robot/components/modal/editDeviceExDrawer.vue.d.ts +371 -2
- package/dist/modules/project/robot/components/modal/propertiesHistory.vue.d.ts +1 -1
- package/dist/modules/project/robot/components/modal/relationSubDeviceDrawer.vue.d.ts +371 -2
- package/dist/modules/project/robot/components/modal/remoteHandle.vue.d.ts +1 -1
- package/dist/modules/project/robot/components/modal/serviceHistory.vue.d.ts +1 -1
- package/dist/modules/project/robot/components/modal/setExpectations.vue.d.ts +371 -2
- package/dist/modules/project/robot/components/modal/telemetiesHistory.vue.d.ts +1 -1
- package/dist/modules/project/robot/components/modal/updateProperties.vue.d.ts +372 -3
- package/dist/modules/project/robot/components/modal/updateTelemeties.vue.d.ts +372 -3
- package/dist/modules/project/robot/components/operation.vue.d.ts +2 -2
- package/dist/modules/project/robot/components/pieChart.vue.d.ts +10 -2
- package/dist/modules/project/robot/components/properties.vue.d.ts +379 -10
- package/dist/modules/project/robot/components/service.vue.d.ts +8 -8
- package/dist/modules/project/robot/components/telemetry.vue.d.ts +379 -10
- package/dist/modules/project/robot/components/video.vue.d.ts +1 -1
- package/dist/modules/project/robot/components/videotape.vue.d.ts +5 -5
- package/dist/modules/project/robot/module/dataset.vue.d.ts +1 -1
- package/dist/modules/project/robot/module/serviceRecordBox.vue.d.ts +3 -3
- package/dist/modules/project/robot/robotBatches.vue.d.ts +370 -1
- package/dist/modules/project/robot/robotList.vue.d.ts +371 -2
- package/dist/modules/project/topic/modules/topicDrawer.vue.d.ts +370 -1
- package/dist/modules/thing/components/import-tsl-drawer.vue.d.ts +3 -0
- package/dist/{structForm-DbE7zkQS.js → structForm-BJ18vs-q.js} +1 -1
- package/dist/{structForm-4xPe5OV-.js → structForm-c53Fe-V3.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/dist/modules/project/product/modules/import-tsl-drawer.vue.d.ts +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,30 +1,42 @@
|
|
|
1
1
|
# @xdmp-open/ui-iot
|
|
2
2
|
|
|
3
|
+
## 0.1.5
|
|
4
|
+
|
|
5
|
+
### 补丁变更
|
|
6
|
+
|
|
7
|
+
- 标准物模型新增/编辑页增加「导入 TSL」:上传平台 TSL JSON,校验后回填功能点,点确定后才保存。
|
|
8
|
+
- 产品详情「设置物模型」支持「导入 TSL」:走产品导入接口写入产品表,回填后可继续编辑再保存。
|
|
9
|
+
|
|
10
|
+
## 0.1.4
|
|
11
|
+
|
|
12
|
+
### 补丁变更
|
|
13
|
+
|
|
14
|
+
- 7b15eb8: file-saver 改为默认导入,避免宿主生产包缺少 named export;Jessibuca 播放器显式传入 decoder 路径。宿主 Vite/index.html 约束见 docs/host-vite.md。
|
|
15
|
+
|
|
3
16
|
## 0.1.3
|
|
4
17
|
|
|
5
|
-
###
|
|
18
|
+
### 补丁变更
|
|
6
19
|
|
|
7
20
|
- 声明 `pcm-player` 依赖,避免消费端 Vite 预构建失败。
|
|
8
21
|
- 驾驶舱字体/大图改为宿主 `/iot-static/` 提供,npm 包不再打进约 50MB 静态资源;未引用的思源 Medium / 盘门正道 / YOUSE 字体已删除。
|
|
9
22
|
|
|
10
23
|
## 0.1.2
|
|
11
24
|
|
|
12
|
-
###
|
|
25
|
+
### 补丁变更
|
|
13
26
|
|
|
14
27
|
- 产品新建增加厂家泛数据协议 VendorType;ProductKey 改为选填,空则由后台自动生成。
|
|
15
28
|
- 声明 `clipboard` 依赖并在 lib 构建中 external,避免发包构建失败。
|
|
16
29
|
|
|
17
30
|
## 0.1.1
|
|
18
31
|
|
|
19
|
-
###
|
|
32
|
+
### 补丁变更
|
|
20
33
|
|
|
21
34
|
- 修复机器人/设备详情页崩溃、属性卡片破图,以及项目查询仍引用未迁入的 host API。
|
|
22
|
-
-
|
|
35
|
+
- 更新依赖
|
|
23
36
|
- @xdmp-open/ui-shared@0.1.1
|
|
24
37
|
|
|
25
38
|
## 0.1.0
|
|
26
39
|
|
|
27
|
-
|
|
28
|
-
Breaking changes will bump the major version.
|
|
40
|
+
0.x 线首次公开发布,对齐 XDMP 平台 2.6.x。破坏性变更将升 major。
|
|
29
41
|
|
|
30
|
-
|
|
42
|
+
物联业务页面组件(project/thing/sense/monitor)合为一个包。
|
package/README.md
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
# @xdmp-open/ui-iot
|
|
2
2
|
|
|
3
|
-
XDMP
|
|
4
|
-
single package (Vue 3 + Element Plus). `vue` and `element-plus` are peer
|
|
5
|
-
dependencies.
|
|
3
|
+
XDMP 平台物联业务页面组件 —— project / thing / sense / monitor 合为一个包(Vue 3 + Element Plus)。`vue` 与 `element-plus` 为 peerDependencies。
|
|
6
4
|
|
|
7
|
-
0.x
|
|
5
|
+
0.x 对齐 XDMP 平台 **2.6.x**。破坏性变更升 major。
|
|
8
6
|
|
|
9
|
-
##
|
|
7
|
+
## 安装
|
|
10
8
|
|
|
11
9
|
```bash
|
|
12
10
|
pnpm add @xdmp-open/ui-iot
|
|
13
11
|
```
|
|
14
12
|
|
|
15
|
-
##
|
|
13
|
+
## 用法
|
|
16
14
|
|
|
17
|
-
Vite
|
|
18
|
-
`ui-shared` / `ui-admin`). Import CSS after `@xdmp-open/ui-shared` styles.
|
|
15
|
+
宿主 Vite 的 `optimizeDeps.include` **必须包含** `ui-iot` / `ui-shared` / `ui-admin`(与 SDK 一起预打包)。若 `exclude` ui-*,CJS 依赖会以 `/@fs` 进浏览器、没有 ESM default,登录页全黑。CSS 在 `@xdmp-open/ui-shared` 样式之后引入。完整约束见 [宿主 Vite 约束](../../docs/host-vite.md)。
|
|
19
16
|
|
|
20
17
|
```ts
|
|
21
18
|
import { setupIotUi } from '@xdmp-open/ui-iot'
|
|
@@ -23,7 +20,7 @@ import '@xdmp-open/ui-iot/style.css'
|
|
|
23
20
|
|
|
24
21
|
setupIotUi({
|
|
25
22
|
sdkClient,
|
|
26
|
-
notifyClient, //
|
|
23
|
+
notifyClient, // 可选,设备状态 / 遥测
|
|
27
24
|
getUserInfo,
|
|
28
25
|
getRoles,
|
|
29
26
|
hasPermission,
|
|
@@ -31,16 +28,12 @@ setupIotUi({
|
|
|
31
28
|
})
|
|
32
29
|
```
|
|
33
30
|
|
|
34
|
-
|
|
35
|
-
same file names the backend menu resolves to.
|
|
31
|
+
页面以路由级组件导出。宿主保留与后端菜单 `component` 字符串同路径的薄壳文件。
|
|
36
32
|
|
|
37
|
-
##
|
|
33
|
+
## 静态资源(`/iot-static/`)
|
|
38
34
|
|
|
39
|
-
|
|
40
|
-
serve them at `/iot-static/` (copy `web-shell/public/iot-static` from the XDMP
|
|
41
|
-
frontend app). Changing those files does not require republishing `@xdmp-open/ui-iot`.
|
|
35
|
+
驾驶舱字体和大图**不在**本 npm 包内。宿主须以 `/iot-static/` 提供(从 XDMP 前端应用拷贝 `web-shell/public/iot-static`)。改这些文件不必重发 `@xdmp-open/ui-iot`。
|
|
42
36
|
|
|
43
|
-
##
|
|
37
|
+
## 定制
|
|
44
38
|
|
|
45
|
-
|
|
46
|
-
extension points, behavior hooks, and page forks.
|
|
39
|
+
样式覆盖、扩展点、行为钩子、整页 fork 见 [扩展说明手册](../../docs/extension-guide.md)。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { markRaw as C, resolveComponent as s, openBlock as c, createElementBlock as u, createVNode as r, withCtx as i, Fragment as L, renderList as A, createBlock as h, createElementVNode as p, toDisplayString as a, createTextVNode as f, resolveDynamicComponent as D, createCommentVNode as _, withModifiers as O } from "vue";
|
|
2
|
-
import { _ as S } from "./index-
|
|
2
|
+
import { _ as S } from "./index-DFwvpeuw.js";
|
|
3
3
|
const B = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { markRaw as C, resolveComponent as s, openBlock as c, createElementBlock as u, createVNode as r, withCtx as i, Fragment as L, renderList as A, createBlock as h, createElementVNode as p, toDisplayString as a, createTextVNode as m, resolveDynamicComponent as D, createCommentVNode as _, withModifiers as O } from "vue";
|
|
2
|
-
import { _ as S } from "./index-
|
|
2
|
+
import { _ as S } from "./index-DFwvpeuw.js";
|
|
3
3
|
const B = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as n, openBlock as p, createElementBlock as f, createElementVNode as T, withModifiers as w, createBlock as B, withCtx as r, createTextVNode as d, toDisplayString as u, createCommentVNode as v, createVNode as o } from "vue";
|
|
2
|
-
import { _ as C } from "./index-
|
|
2
|
+
import { _ as C } from "./index-DFwvpeuw.js";
|
|
3
3
|
const I = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as n, openBlock as p, createElementBlock as f, createElementVNode as T, withModifiers as w, createBlock as B, withCtx as r, createTextVNode as d, toDisplayString as u, createCommentVNode as v, createVNode as o } from "vue";
|
|
2
|
-
import { _ as C } from "./index-
|
|
2
|
+
import { _ as C } from "./index-DFwvpeuw.js";
|
|
3
3
|
const I = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, resolveComponent as o, openBlock as f, createElementBlock as b, createVNode as a, withCtx as r, createTextVNode as v } from "vue";
|
|
2
|
-
import { _ as g } from "./index-
|
|
2
|
+
import { _ as g } from "./index-DFwvpeuw.js";
|
|
3
3
|
const y = c({
|
|
4
4
|
props: {
|
|
5
5
|
// 二进制字符串,如 "1011"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as u, openBlock as p, createElementBlock as h, createVNode as a, withCtx as r, createTextVNode as d, toDisplayString as s } from "vue";
|
|
2
|
-
import { _ as g } from "./index-
|
|
2
|
+
import { _ as g } from "./index-DFwvpeuw.js";
|
|
3
3
|
const v = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as u, openBlock as p, createElementBlock as h, createVNode as a, withCtx as r, createTextVNode as d, toDisplayString as s } from "vue";
|
|
2
|
-
import { _ as g } from "./index-
|
|
2
|
+
import { _ as g } from "./index-DFwvpeuw.js";
|
|
3
3
|
const v = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, resolveComponent as h, openBlock as f, createElementBlock as g, createVNode as b } from "vue";
|
|
2
|
-
import { _ as $ } from "./index-
|
|
2
|
+
import { _ as $ } from "./index-DFwvpeuw.js";
|
|
3
3
|
const c = Object.freeze({
|
|
4
4
|
int: { kind: "int", min: -2147483648, max: 2147483647, precision: 0, maxLength: 11 },
|
|
5
5
|
int32: { kind: "int", min: -2147483648, max: 2147483647, precision: 0, maxLength: 11 },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as m, resolveComponent as d, openBlock as n, createElementBlock as r, createBlock as p, withCtx as h, Fragment as c, renderList as f, createCommentVNode as b } from "vue";
|
|
2
|
-
import { _ as y } from "./index-
|
|
2
|
+
import { _ as y } from "./index-DFwvpeuw.js";
|
|
3
3
|
const $ = m({
|
|
4
4
|
props: {
|
|
5
5
|
value: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as a, openBlock as o, createElementBlock as m, createVNode as n, withCtx as s, Fragment as f, renderList as _, createBlock as h } from "vue";
|
|
2
|
-
import { _ as v } from "./index-
|
|
2
|
+
import { _ as v } from "./index-DFwvpeuw.js";
|
|
3
3
|
const g = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as a, openBlock as o, createElementBlock as m, createVNode as n, withCtx as s, Fragment as f, renderList as _, createBlock as h } from "vue";
|
|
2
|
-
import { _ as v } from "./index-
|
|
2
|
+
import { _ as v } from "./index-DFwvpeuw.js";
|
|
3
3
|
const g = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|