@xdmp-open/ui-iot 0.1.10 → 0.1.12

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 (29) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{arrayForm-BUqemWIl.js → arrayForm-B2K4ZBnD.js} +1 -1
  3. package/dist/{arrayForm-BRWgEabt.js → arrayForm-BGo6y9d9.js} +1 -1
  4. package/dist/{bitMapForm-B457KFBh.js → bitMapForm-BkMqOP8B.js} +1 -1
  5. package/dist/{bitMapForm-jQJdcw1g.js → bitMapForm-CPXI-Sx_.js} +1 -1
  6. package/dist/{bitmapForm-CzglZmHv.js → bitmapForm-Bt4ql_hS.js} +1 -1
  7. package/dist/{boolForm-CRlY0kSx.js → boolForm-BGccLily.js} +1 -1
  8. package/dist/{boolForm-BxB7l3e9.js → boolForm-C7uQsrDi.js} +1 -1
  9. package/dist/{doubleForm-DSJBDDGA.js → doubleForm-2JotITIM.js} +1 -1
  10. package/dist/{doubleForm-DQRWjId4.js → doubleForm-BaOsFFVC.js} +1 -1
  11. package/dist/{doubleForm-CdvhtRO_.js → doubleForm-C7rOdDaG.js} +1 -1
  12. package/dist/{enumForm-Cnra9fgm.js → enumForm-BhzaKHlr.js} +1 -1
  13. package/dist/{enumForm-BK2m_x8M.js → enumForm-CbclSMtN.js} +1 -1
  14. package/dist/{enumForm-Brj8aYd4.js → enumForm-DKqO0_gQ.js} +1 -1
  15. package/dist/{index-xuXwRCg4.js → index-CjPCJALp.js} +3849 -3785
  16. package/dist/index.js +1 -1
  17. package/dist/{inputForm-BtQo8uLl.js → inputForm-BkPBDDyH.js} +1 -1
  18. package/dist/{inputForm-DyBnbCkZ.js → inputForm-DTyD7rIc.js} +1 -1
  19. package/dist/{inputForm-ByzMtPPa.js → inputForm-cWLUq_bq.js} +1 -1
  20. package/dist/modules/project/device/components/service.vue.d.ts +3 -1
  21. package/dist/modules/project/device/components/servicePanels.d.ts +9 -0
  22. package/dist/modules/project/product/tabComponents/productTslImport.d.ts +14 -0
  23. package/dist/modules/project/robot/components/modal/serviceHistory.vue.d.ts +4 -1
  24. package/dist/modules/project/robot/components/service.vue.d.ts +3 -1
  25. package/dist/modules/project/robot/module/serviceRecordBox.vue.d.ts +3 -1
  26. package/dist/{structForm-Ci6pjDxs.js → structForm-BnherSFh.js} +1 -1
  27. package/dist/{structForm-BQMSnbzu.js → structForm-DO0j8EYK.js} +1 -1
  28. package/dist/style.css +1 -1
  29. package/package.json +3 -3
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-xuXwRCg4.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-CjPCJALp.js";
2
2
  export {
3
3
  s as AddDeviceDrawer,
4
4
  r as AddDeviceFromProductDrawer,
@@ -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-xuXwRCg4.js";
2
+ import { _ as m } from "./index-CjPCJALp.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-xuXwRCg4.js";
2
+ import { _ as g } from "./index-CjPCJALp.js";
3
3
  const y = {
4
4
  props: {
5
5
  identifier: {
@@ -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-xuXwRCg4.js";
2
+ import { _ as g } from "./index-CjPCJALp.js";
3
3
  const y = {
4
4
  props: {
5
5
  identifier: {
@@ -174,6 +174,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
174
174
  };
175
175
  queryParam: {
176
176
  pageNo: number;
177
+ total: number;
177
178
  query: {
178
179
  deviceId: string;
179
180
  identifiers: never[];
@@ -190,7 +191,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
190
191
  dayjs: typeof dayjs;
191
192
  init(item: any): void;
192
193
  getCmds(data: any): any;
193
- getStatus(status: any): any;
194
+ formatCommandPayload: typeof import('./servicePanels').formatCommandPayload;
195
+ commandStatusLabel: typeof import('./servicePanels').commandStatusLabel;
194
196
  getList(): void;
195
197
  reSetTime(): void;
196
198
  handleCancle(): void;
@@ -49,3 +49,12 @@ export declare function invokeThingService(deviceService: DeviceServiceApi, devi
49
49
  identifier: string;
50
50
  callType?: string;
51
51
  }, inputData?: Record<string, unknown>): Promise<unknown>;
52
+ export type CommandHistoryPage = {
53
+ list: unknown[];
54
+ pageNo: number;
55
+ total: number;
56
+ };
57
+ /** SDK 已拆包 PageData;旧页仍可能拿到完整 CommonResponse。 */
58
+ export declare function unwrapCommandHistoryPage(res: unknown): CommandHistoryPage | null;
59
+ export declare function formatCommandPayload(value: unknown): string;
60
+ export declare function commandStatusLabel(status: unknown): string;
@@ -0,0 +1,14 @@
1
+ export type ProductTsl = {
2
+ properties: unknown[];
3
+ telemetries: unknown[];
4
+ events: unknown[];
5
+ services: unknown[];
6
+ [key: string]: unknown;
7
+ };
8
+ export type ProductTslImportApply = {
9
+ tsl: ProductTsl;
10
+ showSetting: false;
11
+ reloadList: true;
12
+ };
13
+ /** 产品详情导入 TSL 已由接口落库:解析结果并退出设置态、刷新功能点列表。 */
14
+ export declare function applyPersistedProductTslImport(tslJson: string): ProductTslImportApply;
@@ -1,4 +1,5 @@
1
1
  import { default as dayjs } from '../../../../../utils/dayjs';
2
+ import { formatCommandPayload, commandStatusLabel } from '../../../device/components/servicePanels';
2
3
  declare const _default: import('vue').DefineComponent<{}, {}, {
3
4
  deviceId: string;
4
5
  dialogFormVisible: boolean;
@@ -16,6 +17,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
16
17
  };
17
18
  queryParam: {
18
19
  pageNo: number;
20
+ total: number;
19
21
  query: {
20
22
  deviceId: string;
21
23
  identifiers: never[];
@@ -32,7 +34,8 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
32
34
  dayjs: typeof dayjs;
33
35
  init(item: any): void;
34
36
  getCmds(data: any): any;
35
- getStatus(status: any): any;
37
+ formatCommandPayload: typeof formatCommandPayload;
38
+ commandStatusLabel: typeof commandStatusLabel;
36
39
  getList(): void;
37
40
  reSetTime(): void;
38
41
  handleCancle(): void;
@@ -195,6 +195,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
195
195
  };
196
196
  queryParam: {
197
197
  pageNo: number;
198
+ total: number;
198
199
  query: {
199
200
  deviceId: string;
200
201
  identifiers: never[];
@@ -211,7 +212,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
211
212
  dayjs: typeof dayjs;
212
213
  init(item: any): void;
213
214
  getCmds(data: any): any;
214
- getStatus(status: any): any;
215
+ formatCommandPayload: typeof import('../../device/components/servicePanels').formatCommandPayload;
216
+ commandStatusLabel: typeof import('../../device/components/servicePanels').commandStatusLabel;
215
217
  getList(): void;
216
218
  reSetTime(): void;
217
219
  handleCancle(): void;
@@ -124,6 +124,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
124
124
  };
125
125
  queryParam: {
126
126
  pageNo: number;
127
+ total: number;
127
128
  query: {
128
129
  deviceId: string;
129
130
  identifiers: never[];
@@ -140,7 +141,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
140
141
  dayjs: typeof dayjs;
141
142
  init(item: any): void;
142
143
  getCmds(data: any): any;
143
- getStatus(status: any): any;
144
+ formatCommandPayload: typeof import('../../device/components/servicePanels').formatCommandPayload;
145
+ commandStatusLabel: typeof import('../../device/components/servicePanels').commandStatusLabel;
144
146
  getList(): void;
145
147
  reSetTime(): void;
146
148
  handleCancle(): 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-xuXwRCg4.js";
2
+ import { _ as L } from "./index-CjPCJALp.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-xuXwRCg4.js";
2
+ import { _ as L } from "./index-CjPCJALp.js";
3
3
  const E = {
4
4
  props: {
5
5
  identifier: {