@xdmp-open/ui-iot 0.1.5 → 0.1.7

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 (28) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{arrayForm-DU3O8Z55.js → arrayForm-C9Otdjjm.js} +1 -1
  3. package/dist/{arrayForm-BvAulmTE.js → arrayForm-CegGTKEL.js} +1 -1
  4. package/dist/{bitMapForm-B9dvspPl.js → bitMapForm-BhKSoU5K.js} +1 -1
  5. package/dist/{bitMapForm-L8yhGycB.js → bitMapForm-DS5Hut72.js} +1 -1
  6. package/dist/{bitmapForm-CXtQPxY8.js → bitmapForm-CnzAHXj-.js} +1 -1
  7. package/dist/{boolForm-BoRbf5bx.js → boolForm-BlLRCCk3.js} +1 -1
  8. package/dist/{boolForm-cDCYByW6.js → boolForm-DIwcKJ8U.js} +1 -1
  9. package/dist/{doubleForm-Q0gfnl89.js → doubleForm-BIAS2Qej.js} +1 -1
  10. package/dist/{doubleForm-BQEFafil.js → doubleForm-C1jwe_E9.js} +1 -1
  11. package/dist/{doubleForm-DGB9ndFc.js → doubleForm-CF0ThVxw.js} +1 -1
  12. package/dist/{enumForm-DSoDvZI8.js → enumForm-BibSE9To.js} +1 -1
  13. package/dist/{enumForm-CQaGuKab.js → enumForm-D1Ewjvn6.js} +1 -1
  14. package/dist/{enumForm-DHInuBtP.js → enumForm-YYTnTAzV.js} +1 -1
  15. package/dist/{index-DFwvpeuw.js → index-D46Qehnm.js} +3679 -3639
  16. package/dist/index.js +1 -1
  17. package/dist/{inputForm-Dw__OCIA.js → inputForm-37vABQXg.js} +1 -1
  18. package/dist/{inputForm-DdQZJ9Zj.js → inputForm-Bc551miv.js} +1 -1
  19. package/dist/{inputForm-BX2wdc8K.js → inputForm-CECeOxy9.js} +1 -1
  20. package/dist/modules/project/device/batches.vue.d.ts +1 -0
  21. package/dist/modules/project/device/deviceListNotify.d.ts +23 -0
  22. package/dist/modules/project/device/devices.vue.d.ts +1 -0
  23. package/dist/modules/project/robot/robotBatches.vue.d.ts +1 -0
  24. package/dist/modules/project/robot/robotList.vue.d.ts +1 -0
  25. package/dist/{structForm-c53Fe-V3.js → structForm-BkSJsmYY.js} +1 -1
  26. package/dist/{structForm-BJ18vs-q.js → structForm-DPgPPDzt.js} +1 -1
  27. package/dist/style.css +1 -1
  28. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as s, b as r, c as i, d as o, i as t, e as g, f as n, g as D, h as P, j as c, k as u, l, m, n as p, s as T, o as d, p as v, q as M, r as h, t as F, u as b, v as w, w as L, x as S, y as A, z as I, A as y, B as f, C as E, D as R, E as k, F as B, G as C, H as j, I as U, P as x, J as G, K as J, L as q, M as N, N as V, O as W, Q as z, R as H, S as K, T as O, U as Q, V as X, W as Y, X as Z, Y as $, Z as _, $ as aa, a0 as ea, a1 as sa, a2 as ra, a3 as ia, a4 as oa, a5 as ta, a6 as ga, a7 as na, a8 as Da, a9 as Pa, aa as ca, ab as ua, ac as la, ad as ma, ae as pa, af as Ta, ag as da, ah as va, a3 as Ma, a4 as ha, a5 as Fa, a7 as ba, a8 as wa, ai as La, aa as Sa, aj as Aa, ad as Ia, ak as ya, af as fa, al as Ea, am as Ra, an as ka, ao as Ba, ap as Ca, aq as ja, ar as Ua, as as xa, at as Ga, au as Ja, av as qa, aw as Na, ax as Va } from "./index-DFwvpeuw.js";
1
+ import { a as s, b as r, c as i, d as o, i as t, e as g, f as n, g as D, h as P, j as c, k as u, l, m, n as p, s as T, o as d, p as v, q as M, r as h, t as F, u as b, v as w, w as L, x as S, y as A, z as I, A as y, B as f, C as E, D as R, E as k, F as B, G as C, H as j, I as U, P as x, J as G, K as J, L as q, M as N, N as V, O as W, Q as z, R as H, S as K, T as O, U as Q, V as X, W as Y, X as Z, Y as $, Z as _, $ as aa, a0 as ea, a1 as sa, a2 as ra, a3 as ia, a4 as oa, a5 as ta, a6 as ga, a7 as na, a8 as Da, a9 as Pa, aa as ca, ab as ua, ac as la, ad as ma, ae as pa, af as Ta, ag as da, ah as va, a3 as Ma, a4 as ha, a5 as Fa, a7 as ba, a8 as wa, ai as La, aa as Sa, aj as Aa, ad as Ia, ak as ya, af as fa, al as Ea, am as Ra, an as ka, ao as Ba, ap as Ca, aq as ja, ar as Ua, as as xa, at as Ga, au as Ja, av as qa, aw as Na, ax as Va } from "./index-D46Qehnm.js";
2
2
  export {
3
3
  s as AddDeviceDrawer,
4
4
  r as AddDeviceFromProductDrawer,
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as a, openBlock as o, createElementBlock as f, createVNode as n, withCtx as i, createBlock as h, createCommentVNode as c } from "vue";
2
- import { _ as g } from "./index-DFwvpeuw.js";
2
+ import { _ as g } from "./index-D46Qehnm.js";
3
3
  const y = {
4
4
  props: {
5
5
  identifier: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, resolveComponent as i, openBlock as a, createElementBlock as s, createBlock as n, createCommentVNode as p } from "vue";
2
- import { _ as m } from "./index-DFwvpeuw.js";
2
+ import { _ as m } from "./index-D46Qehnm.js";
3
3
  const h = u({
4
4
  props: {
5
5
  value: { type: [String, Number], default: "" },
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as a, openBlock as o, createElementBlock as f, createVNode as n, withCtx as i, createBlock as h, createCommentVNode as c } from "vue";
2
- import { _ as g } from "./index-DFwvpeuw.js";
2
+ import { _ as g } from "./index-D46Qehnm.js";
3
3
  const y = {
4
4
  props: {
5
5
  identifier: {
@@ -19,6 +19,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
19
19
  multipleSelection: never[];
20
20
  }, {}, {
21
21
  dayjs: typeof dayjs;
22
+ bindProjectQuery(): void;
22
23
  init(): void;
23
24
  getList(): void;
24
25
  handleSelectionChange(val: any): void;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * 设备/机器人列表页的 notify 订阅。
3
+ *
4
+ * 两条通道职责不同:
5
+ * - `platform/notify/device`:创删改(含 batchUpdate)。主题里没有项目,
6
+ * 全平台共享,只能靠载荷里的 projectId 过滤;没有 ID 时刷新当前页。
7
+ * - `platform/notify/device/{projectId}/+/+/status`:在离线。
8
+ * projectId 编进主题,Broker 只推本项目,和全站 `+/+/+/status` 或裸 CUD 不是一回事。
9
+ */
10
+ export declare const DEVICE_CUD_NOTIFY_TOPIC = "platform/notify/device";
11
+ type NotifyIds = {
12
+ projectId?: unknown;
13
+ productId?: unknown;
14
+ };
15
+ /**
16
+ * 当前项目应订阅的主题:共享 CUD + 本项目 status(无 projectId 时 status 段退化为 +)。
17
+ */
18
+ export declare function deviceListNotifyTopics(projectId: unknown): string[];
19
+ /**
20
+ * 当前项目(及可选的产品筛选)是否应对这条推送刷新概览/列表。
21
+ */
22
+ export declare function shouldRefreshDeviceOverview(subjectId: unknown, selectedProductId: unknown, payload: NotifyIds | null | undefined, topic?: string): boolean;
23
+ export {};
@@ -30,6 +30,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
30
30
  }, {}, {
31
31
  dayjs: typeof dayjs;
32
32
  checkPermission: typeof checkPermission;
33
+ bindProjectQuery(): void;
33
34
  init(): void;
34
35
  formatCashDate(row: any, column: any): any;
35
36
  setProductList(productList: any): void;
@@ -19,6 +19,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
19
19
  multipleSelection: never[];
20
20
  }, {}, {
21
21
  dayjs: typeof dayjs;
22
+ bindProjectQuery(): void;
22
23
  init(): void;
23
24
  getList(): void;
24
25
  handleSelectionChange(val: any): void;
@@ -26,6 +26,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
26
26
  }, {
27
27
  checkPermission: typeof checkPermission;
28
28
  dayjs: typeof dayjs;
29
+ bindProjectQuery(): void;
29
30
  init(): void;
30
31
  getList(silent: any): void;
31
32
  onSearch(): void;
@@ -1,5 +1,5 @@
1
1
  import { markRaw as b, resolveComponent as r, openBlock as d, createElementBlock as u, createVNode as s, withCtx as a, Fragment as F, renderList as N, createBlock as f, createElementVNode as p, toDisplayString as i, createTextVNode as y, resolveDynamicComponent as I, withModifiers as S, createCommentVNode as C } from "vue";
2
- import { _ as L } from "./index-DFwvpeuw.js";
2
+ import { _ as L } from "./index-D46Qehnm.js";
3
3
  const E = {
4
4
  props: {
5
5
  identifier: {
@@ -1,5 +1,5 @@
1
1
  import { markRaw as b, resolveComponent as r, openBlock as s, createElementBlock as f, createVNode as d, withCtx as a, Fragment as F, renderList as N, createBlock as u, createElementVNode as p, toDisplayString as i, createTextVNode as y, resolveDynamicComponent as I, withModifiers as S, createCommentVNode as C } from "vue";
2
- import { _ as L } from "./index-DFwvpeuw.js";
2
+ import { _ as L } from "./index-D46Qehnm.js";
3
3
  const E = {
4
4
  props: {
5
5
  identifier: {