@xdmp-open/ui-iot 0.1.23 → 0.1.26

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.
Files changed (92) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/{arrayForm-C1nPHi5j.js → arrayForm-7-dJGCcy.js} +1 -1
  3. package/dist/{arrayForm-DE2M8YYI.js → arrayForm-DZmD7OSa.js} +1 -1
  4. package/dist/{bitMapForm-M7CCsaG2.js → bitMapForm-Bd6Q2V7k.js} +1 -1
  5. package/dist/{bitMapForm-iLulOXba.js → bitMapForm-BwWRO6Qe.js} +1 -1
  6. package/dist/{bitmapForm-Ce61YXqj.js → bitmapForm-DDITXzL6.js} +1 -1
  7. package/dist/{boolForm-xUO70GC3.js → boolForm-C9r3yLrY.js} +1 -1
  8. package/dist/{boolForm-C6a5lwuX.js → boolForm-CVgMxwWd.js} +1 -1
  9. package/dist/context.d.ts +2 -0
  10. package/dist/{doubleForm-BAfgNal8.js → doubleForm-5n0_1hPr.js} +1 -1
  11. package/dist/{doubleForm-CqJn4ORw.js → doubleForm-BrbZZ4eS.js} +1 -1
  12. package/dist/{doubleForm-DHmBz0kG.js → doubleForm-CBPQu2hg.js} +1 -1
  13. package/dist/{enumForm-Du0pD5aY.js → enumForm-BIUy6-D0.js} +1 -1
  14. package/dist/{enumForm-CnISrTCn.js → enumForm-BeNq_ADU.js} +1 -1
  15. package/dist/{enumForm-CVEAoRnk.js → enumForm-DI8J8Bv5.js} +1 -1
  16. package/dist/{index-CltNXu23.js → index-B8_Rde8n.js} +6479 -6221
  17. package/dist/index.d.ts +2 -1
  18. package/dist/index.js +80 -71
  19. package/dist/{inputForm-Bu6gIs3K.js → inputForm-BHml2VQJ.js} +1 -1
  20. package/dist/{inputForm-C4z4Tysj.js → inputForm-DEOG57BX.js} +1 -1
  21. package/dist/{inputForm-B5f9NrDU.js → inputForm-GJAI53yE.js} +1 -1
  22. package/dist/modules/monitor/log/applyLog.vue.d.ts +1 -1
  23. package/dist/modules/monitor/log/deviceLog.vue.d.ts +1 -1
  24. package/dist/modules/monitor/log/index.vue.d.ts +2 -2
  25. package/dist/modules/monitor/log/modules/applyLogDrawer.vue.d.ts +1 -1
  26. package/dist/modules/monitor/log/modules/deviceLogDrawer.vue.d.ts +1 -1
  27. package/dist/modules/project/components/addProductDrawer.vue.d.ts +1 -1
  28. package/dist/modules/project/device/batches.vue.d.ts +1 -1
  29. package/dist/modules/project/device/components/debug/deviceDebug.vue.d.ts +1 -1
  30. package/dist/modules/project/device/components/debug/deviceSimulator.vue.d.ts +1 -1
  31. package/dist/modules/project/device/components/debug/modal/addSubDeviceDrawer.vue.d.ts +1 -1
  32. package/dist/modules/project/device/components/debug/modal/simulator/subDeviceTopology.vue.d.ts +1 -1
  33. package/dist/modules/project/device/components/deviceChild.vue.d.ts +1 -1
  34. package/dist/modules/project/device/components/deviceShadow.vue.d.ts +1 -1
  35. package/dist/modules/project/device/components/modal/addDeviceDrawer.vue.d.ts +1 -1
  36. package/dist/modules/project/device/components/modal/batchesDrawer.vue.d.ts +1 -1
  37. package/dist/modules/project/device/components/modal/editDeviceDrawer.vue.d.ts +1 -1
  38. package/dist/modules/project/device/components/modal/editDeviceExDrawer.vue.d.ts +1 -1
  39. package/dist/modules/project/device/components/modal/editDevicepPositionDrawer.vue.d.ts +1 -1
  40. package/dist/modules/project/device/components/modal/issueDeviceDrawer.vue.d.ts +1 -1
  41. package/dist/modules/project/device/components/modal/relationSubDeviceDrawer.vue.d.ts +1 -1
  42. package/dist/modules/project/device/components/modal/setExpectations.vue.d.ts +1 -1
  43. package/dist/modules/project/device/components/modal/updateProperties.vue.d.ts +1 -1
  44. package/dist/modules/project/device/components/modal/updateTelemeties.vue.d.ts +1 -1
  45. package/dist/modules/project/device/components/properties.vue.d.ts +1 -1
  46. package/dist/modules/project/device/components/telemetry.vue.d.ts +1 -1
  47. package/dist/modules/project/device/devices.vue.d.ts +6 -4
  48. package/dist/modules/project/device/group/components/add.vue.d.ts +1 -1
  49. package/dist/modules/project/module/addDeviceDrawer.vue.d.ts +1 -1
  50. package/dist/modules/project/module/addDeviceFromProductDrawer.vue.d.ts +1 -1
  51. package/dist/modules/project/module/addMemberDrawer.vue.d.ts +1 -1
  52. package/dist/modules/project/module/editDeviceDrawer.vue.d.ts +1 -1
  53. package/dist/modules/project/module/memberDetail.vue.d.ts +1 -1
  54. package/dist/modules/project/module/moveDeviceDrawer.vue.d.ts +1 -1
  55. package/dist/modules/project/product/model/eventDrawer.vue.d.ts +1 -1
  56. package/dist/modules/project/product/model/propsDrawer.vue.d.ts +1 -1
  57. package/dist/modules/project/product/model/servicesDrawer.vue.d.ts +1 -1
  58. package/dist/modules/project/product/modules/custom-drawer.vue.d.ts +1 -1
  59. package/dist/modules/project/product/modules/detail-tsl-drawer.vue.d.ts +3 -3
  60. package/dist/modules/project/product/modules/export-tsl-drawer.vue.d.ts +1 -1
  61. package/dist/modules/project/product/modules/product-drawer.vue.d.ts +11 -11
  62. package/dist/modules/project/product/modules/settingDrawer.vue.d.ts +1 -1
  63. package/dist/modules/project/product/modules/standard-detail-tips.vue.d.ts +1 -1
  64. package/dist/modules/project/product/modules/standard-drawer.vue.d.ts +2 -2
  65. package/dist/modules/project/product/modules/tips.vue.d.ts +1 -1
  66. package/dist/modules/project/product/modules/tsl-drawer.vue.d.ts +1 -1
  67. package/dist/modules/project/product/modules/{uiap-product-drawer.vue.d.ts → xdmp-product-drawer.vue.d.ts} +4 -4
  68. package/dist/modules/project/product/tabComponents/tslOperation.vue.d.ts +1 -1
  69. package/dist/modules/project/robot/components/debug/deviceDebug.vue.d.ts +1 -1
  70. package/dist/modules/project/robot/components/debug/deviceSimulator.vue.d.ts +1 -1
  71. package/dist/modules/project/robot/components/debug/modal/addSubDeviceDrawer.vue.d.ts +1 -1
  72. package/dist/modules/project/robot/components/debug/modal/simulator/subDeviceTopology.vue.d.ts +1 -1
  73. package/dist/modules/project/robot/components/deviceChild.vue.d.ts +1 -1
  74. package/dist/modules/project/robot/components/deviceShadow.vue.d.ts +1 -1
  75. package/dist/modules/project/robot/components/modal/addDeviceDrawer.vue.d.ts +1 -1
  76. package/dist/modules/project/robot/components/modal/batchesDrawer.vue.d.ts +1 -1
  77. package/dist/modules/project/robot/components/modal/editDeviceExDrawer.vue.d.ts +1 -1
  78. package/dist/modules/project/robot/components/modal/relationSubDeviceDrawer.vue.d.ts +1 -1
  79. package/dist/modules/project/robot/components/modal/setExpectations.vue.d.ts +1 -1
  80. package/dist/modules/project/robot/components/modal/updateProperties.vue.d.ts +1 -1
  81. package/dist/modules/project/robot/components/modal/updateTelemeties.vue.d.ts +1 -1
  82. package/dist/modules/project/robot/components/pieChart.vue.d.ts +1 -1
  83. package/dist/modules/project/robot/components/properties.vue.d.ts +1 -1
  84. package/dist/modules/project/robot/components/telemetry.vue.d.ts +1 -1
  85. package/dist/modules/project/robot/robotBatches.vue.d.ts +1 -1
  86. package/dist/modules/project/robot/robotList.vue.d.ts +1 -1
  87. package/dist/modules/project/topic/modules/topicDrawer.vue.d.ts +1 -1
  88. package/dist/organizationLayers.d.ts +52 -0
  89. package/dist/{structForm-DA1OXUY_.js → structForm-SGDBbt1f.js} +1 -1
  90. package/dist/{structForm-BcKEQ_vg.js → structForm-iRgB6jtv.js} +1 -1
  91. package/dist/style.css +1 -1
  92. package/package.json +10 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @xdmp-open/ui-iot
2
2
 
3
+ ## 0.1.26
4
+
5
+ ### Patch Changes
6
+
7
+ - ae4320d: 设备/机器人列表 status 按当前项目订阅 `platform/notify/device/{projectId}/+/+/status`,不再用全站 `+/+/+/status`。
8
+ - e39765c: 告警记录页(`iot/project/alert`)修复项目上下文:
9
+
10
+ - 项目解析提前到 `created`(原 `created.getList()` 早于 `mounted.init()` 设 `projectId`,首次请求必丢 `projectId` → 400「项目 ID 不能为空」);
11
+ - 解析顺序:路由 `?subjectId=`(加密,项目列表/控制台进入)→ 本地存储 `urlQuery`;
12
+ - 未选择项目时不再发请求,提示「请先选择项目(项目管理 → 进入)」。
13
+
14
+ - ddd3bca: - `sdk-iot`:`topicMapping.page` 路径修正为 `/api/iot/devices/topics/mapping/page`(后端 2026-08-27 起主题映射统一挂 `/mapping/` 前缀,旧 `/devices/topics/page` 已不存在,调用报 500/404);同步移除 OpenAPI 快照中的过期路径并补路径回归用例。
15
+ - `ui-iot`:`productManagement` 清理历史假默认 `urlQuery || {subjectId:'123'}`(未选项目时不再拿不存在的项目查询)。
16
+ - db736bd: 按 x-retain 夹具禁用保留记录的删除与字段(`isRetainYes` / `isRetainFieldDisabled` / `RETAIN_INDEX`);菜单 path/component 在 development 可改(relaxInDev)。
17
+ - ac49580: 产品厂家泛数据协议增加云快充(VendorType YKC / value 9)。
18
+ - Updated dependencies [ddd3bca]
19
+ - Updated dependencies [db736bd]
20
+ - Updated dependencies [567216d]
21
+ - @xdmp-open/sdk-iot@0.1.4
22
+ - @xdmp-open/ui-shared@0.1.7
23
+ - @xdmp-open/sdk-admin@0.1.6
24
+ - @xdmp-open/sdk-notify@0.1.2
25
+
26
+ ## 0.1.25
27
+
28
+ ### 补丁变更
29
+
30
+ - 设备列表、产品列表新增「数据状态」筛选(未删除/已删除,需删除权限);查看已删除时隐藏新增/批量/导出,行操作仅保留「还原」。
31
+ - 设备列表、产品列表切换「数据状态」即自动查询(重置到第 1 页),无需再点搜索。
32
+ - 产品列表行返回 `deletedFlag`(后端补齐 `ProductVO.fromDomain` 映射)。
33
+
34
+ ## 0.1.24
35
+
36
+ ### 补丁变更
37
+
38
+ - D8:仅默认总代理 + 默认项目时隐藏代理商与项目两层;出现子代理或非默认项目则两层都显示。项目列表在隐藏时改到设备页,并写入默认 `urlQuery.subjectId`。
39
+
3
40
  ## 0.1.23
4
41
 
5
42
  ### 补丁变更
@@ -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-CltNXu23.js";
2
+ import { _ as S } from "./index-B8_Rde8n.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-CltNXu23.js";
2
+ import { _ as S } from "./index-B8_Rde8n.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-CltNXu23.js";
2
+ import { _ as C } from "./index-B8_Rde8n.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-CltNXu23.js";
2
+ import { _ as C } from "./index-B8_Rde8n.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-CltNXu23.js";
2
+ import { _ as g } from "./index-B8_Rde8n.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-CltNXu23.js";
2
+ import { _ as g } from "./index-B8_Rde8n.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-CltNXu23.js";
2
+ import { _ as g } from "./index-B8_Rde8n.js";
3
3
  const v = {
4
4
  props: {
5
5
  identifier: {
package/dist/context.d.ts CHANGED
@@ -28,6 +28,8 @@ export interface IotUiOptions extends IotUiHost {
28
28
  }
29
29
  /** 宿主启动时一次性注入(重复调用以后者覆盖,便于测试重置) */
30
30
  export declare function setupIotUi(options: IotUiOptions): void;
31
+ /** 未 setup 时返回 null,供 D8 菜单过滤 fail-open */
32
+ export declare function peekIotSdk(): IotClient | null;
31
33
  /** IoT 域 SDK 客户端 */
32
34
  export declare function useIotSdk(): IotClient;
33
35
  /** admin 域 SDK 客户端(未提供时抛错——仅个别页面需要) */
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as d, openBlock as v, createElementBlock as V, createVNode as c, withCtx as y } from "vue";
2
- import { _ as N } from "./index-CltNXu23.js";
2
+ import { _ as N } from "./index-B8_Rde8n.js";
3
3
  const x = {
4
4
  props: {
5
5
  identifier: {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as d, openBlock as b, createElementBlock as V, createVNode as c, withCtx as y } from "vue";
2
- import { _ as x } from "./index-CltNXu23.js";
2
+ import { _ as x } from "./index-B8_Rde8n.js";
3
3
  const $ = {
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-CltNXu23.js";
2
+ import { _ as $ } from "./index-B8_Rde8n.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 { 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-CltNXu23.js";
2
+ import { _ as v } from "./index-B8_Rde8n.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-CltNXu23.js";
2
+ import { _ as v } from "./index-B8_Rde8n.js";
3
3
  const g = {
4
4
  props: {
5
5
  identifier: {
@@ -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-CltNXu23.js";
2
+ import { _ as y } from "./index-B8_Rde8n.js";
3
3
  const $ = m({
4
4
  props: {
5
5
  value: {