@xdmp-open/ui-iot 0.1.10 → 0.1.11
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 +6 -0
- package/dist/{arrayForm-BRWgEabt.js → arrayForm-BBQMsEX4.js} +1 -1
- package/dist/{arrayForm-BUqemWIl.js → arrayForm-DJCG9VvX.js} +1 -1
- package/dist/{bitMapForm-B457KFBh.js → bitMapForm-CMNGmvKr.js} +1 -1
- package/dist/{bitMapForm-jQJdcw1g.js → bitMapForm-cMO0XWI8.js} +1 -1
- package/dist/{bitmapForm-CzglZmHv.js → bitmapForm-DljOLXAG.js} +1 -1
- package/dist/{boolForm-BxB7l3e9.js → boolForm-D2t6Cx9K.js} +1 -1
- package/dist/{boolForm-CRlY0kSx.js → boolForm-DmQFYMQT.js} +1 -1
- package/dist/{doubleForm-DSJBDDGA.js → doubleForm-BnRkZgm8.js} +1 -1
- package/dist/{doubleForm-CdvhtRO_.js → doubleForm-D9BIKs9j.js} +1 -1
- package/dist/{doubleForm-DQRWjId4.js → doubleForm-DJOUIii-.js} +1 -1
- package/dist/{enumForm-Cnra9fgm.js → enumForm-BJPaGHfL.js} +1 -1
- package/dist/{enumForm-BK2m_x8M.js → enumForm-BUicyv4j.js} +1 -1
- package/dist/{enumForm-Brj8aYd4.js → enumForm-DqpPPA-j.js} +1 -1
- package/dist/{index-xuXwRCg4.js → index-Dt8dqoF6.js} +3636 -3591
- package/dist/index.js +1 -1
- package/dist/{inputForm-ByzMtPPa.js → inputForm-0FUNys_c.js} +1 -1
- package/dist/{inputForm-DyBnbCkZ.js → inputForm-CE9pJN_F.js} +1 -1
- package/dist/{inputForm-BtQo8uLl.js → inputForm-vjtO-RgY.js} +1 -1
- package/dist/modules/project/device/components/service.vue.d.ts +3 -1
- package/dist/modules/project/device/components/servicePanels.d.ts +9 -0
- package/dist/modules/project/robot/components/modal/serviceHistory.vue.d.ts +4 -1
- package/dist/modules/project/robot/components/service.vue.d.ts +3 -1
- package/dist/modules/project/robot/module/serviceRecordBox.vue.d.ts +3 -1
- package/dist/{structForm-BQMSnbzu.js → structForm-CO3fBZbH.js} +1 -1
- package/dist/{structForm-Ci6pjDxs.js → structForm-o-XyHiQH.js} +1 -1
- package/package.json +2 -2
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-
|
|
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-Dt8dqoF6.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-
|
|
2
|
+
import { _ as g } from "./index-Dt8dqoF6.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-
|
|
2
|
+
import { _ as g } from "./index-Dt8dqoF6.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-
|
|
2
|
+
import { _ as m } from "./index-Dt8dqoF6.js";
|
|
3
3
|
const h = u({
|
|
4
4
|
props: {
|
|
5
5
|
value: { type: [String, Number], default: "" },
|
|
@@ -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
|
-
|
|
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;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 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-
|
|
2
|
+
import { _ as L } from "./index-Dt8dqoF6.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 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-
|
|
2
|
+
import { _ as L } from "./index-Dt8dqoF6.js";
|
|
3
3
|
const E = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xdmp-open/ui-iot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "XDMP platform IoT business page components: project/thing/sense/monitor/cockpit (Vue 3 + Element Plus)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "China Mobile IoT",
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
"file-saver": "^2.0.1",
|
|
79
79
|
"vue": "^3.5.0",
|
|
80
80
|
"vue-router": "^4.6.4",
|
|
81
|
+
"@xdmp-open/ui-shared": "0.1.4",
|
|
81
82
|
"@xdmp-open/sdk-admin": "0.1.3",
|
|
82
83
|
"@xdmp-open/sdk-iot": "0.1.1",
|
|
83
|
-
"@xdmp-open/ui-shared": "0.1.4",
|
|
84
84
|
"@xdmp-open/sdk-notify": "0.1.0"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|