@xdmp-open/ui-iot 0.1.16 → 0.1.17
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-DyDjzTKy.js → arrayForm-BC3Y1Kz5.js} +1 -1
- package/dist/{arrayForm-ClVwLaI_.js → arrayForm-CoCRAQ3b.js} +1 -1
- package/dist/{bitMapForm-BbkECkAl.js → bitMapForm-DMHoY3lX.js} +1 -1
- package/dist/{bitMapForm-Bz9tlkfZ.js → bitMapForm-PbBblF45.js} +1 -1
- package/dist/{bitmapForm-k4mLNCK5.js → bitmapForm-CXGExumI.js} +1 -1
- package/dist/{boolForm-BzkgEpAN.js → boolForm-DMkgYitO.js} +1 -1
- package/dist/{boolForm-BJgzKs5P.js → boolForm-_JVwJls0.js} +1 -1
- package/dist/{doubleForm-D69sLyBs.js → doubleForm-Byj3U4fp.js} +1 -1
- package/dist/{doubleForm-VLsQtqgh.js → doubleForm-C1zkiELg.js} +1 -1
- package/dist/{doubleForm-D5_YyCIk.js → doubleForm-DocRt2LL.js} +1 -1
- package/dist/{enumForm-Cqgb_CvE.js → enumForm-BGJGOS7R.js} +1 -1
- package/dist/{enumForm-fk3A0dAH.js → enumForm-CkpWczH0.js} +1 -1
- package/dist/{enumForm-Cxme0SVt.js → enumForm-CzZpN8mo.js} +1 -1
- package/dist/{index-DblEompA.js → index-B2Q5vnUx.js} +6340 -6142
- package/dist/index.js +1 -1
- package/dist/{inputForm-BdjVsgLr.js → inputForm-B1V2KPhy.js} +1 -1
- package/dist/{inputForm-HO_wjLGd.js → inputForm-Cu10QoO-.js} +1 -1
- package/dist/{inputForm-BoQjgzys.js → inputForm-b03C1epH.js} +1 -1
- package/dist/modules/project/device/components/deviceChild.vue.d.ts +3 -0
- package/dist/modules/project/device/deviceDetailTab.d.ts +10 -0
- package/dist/modules/project/device/deviceListTree.d.ts +29 -0
- package/dist/modules/project/device/devices.vue.d.ts +5 -0
- package/dist/{structForm-RYsbiuWz.js → structForm-Bc7aFV6c.js} +1 -1
- package/dist/{structForm-DfWH_iKf.js → structForm-DWx0sQ6d.js} +1 -1
- package/dist/style.css +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-B2Q5vnUx.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-
|
|
2
|
+
import { _ as m } from "./index-B2Q5vnUx.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-
|
|
2
|
+
import { _ as g } from "./index-B2Q5vnUx.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-B2Q5vnUx.js";
|
|
3
3
|
const y = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|
|
@@ -21,6 +21,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
21
21
|
isEdit: boolean;
|
|
22
22
|
isHistoey: boolean;
|
|
23
23
|
hasInitialized: boolean;
|
|
24
|
+
treeTableKey: number;
|
|
24
25
|
formOptions: {
|
|
25
26
|
label: string;
|
|
26
27
|
prop: string;
|
|
@@ -28,7 +29,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
28
29
|
}[];
|
|
29
30
|
}, {}, {
|
|
30
31
|
dayjs: typeof dayjs;
|
|
32
|
+
bindParentQuery(): void;
|
|
31
33
|
getList(): void;
|
|
34
|
+
loadChildren(row: any, _treeNode: any, resolve: any): void;
|
|
32
35
|
isRelation(): void;
|
|
33
36
|
handleClick(item: any): void;
|
|
34
37
|
handleEnable(item: any): void;
|
|
@@ -55,3 +55,13 @@ export declare function materializeTopicTemplate(source: unknown, ids: {
|
|
|
55
55
|
productKey?: unknown;
|
|
56
56
|
deviceKey?: unknown;
|
|
57
57
|
}): unknown[];
|
|
58
|
+
/** 用设备所属产品的 nodeType 判断网关,不用展示名「网关设备」。 */
|
|
59
|
+
export declare function isGatewayProductNodeType(nodeType: unknown): boolean;
|
|
60
|
+
export declare function isSubDeviceProductNodeType(nodeType: unknown): boolean;
|
|
61
|
+
/** 仅网关产品(nodeType=1)且有权限才显示子设备 Tab。直连 / 子设备不显示。 */
|
|
62
|
+
export declare function shouldShowSubDeviceTab(input: {
|
|
63
|
+
nodeType?: unknown;
|
|
64
|
+
hasPermission: boolean;
|
|
65
|
+
}): boolean;
|
|
66
|
+
export declare function defaultDeviceDetailTab(preferSubDevice: boolean, showSubDeviceTab: boolean): 'deviceChild' | 'properties';
|
|
67
|
+
export declare function shouldReloadDeviceDetail(prevDeviceId: unknown, nextDeviceId: unknown): boolean;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const ROOT_DEVICE_PARENT_ID = "0";
|
|
2
|
+
export declare function withRootParentId<T extends Record<string, unknown>>(query: T): T & {
|
|
3
|
+
parentId: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function omitParentId<T extends Record<string, unknown> | null | undefined>(query: T): Omit<NonNullable<T>, 'parentId'> | Record<string, never>;
|
|
6
|
+
/**
|
|
7
|
+
* 产品管理带入的 productId 只表示当前筛选。改筛选/重置时要从地址栏同步,
|
|
8
|
+
* 否则进详情再返回会按旧 query 把产品过滤重新套上。
|
|
9
|
+
*/
|
|
10
|
+
export declare function nextListRouteQuery(query: Record<string, unknown> | null | undefined, encodedProductId: unknown): Record<string, unknown>;
|
|
11
|
+
export declare function shouldReplaceListQuery(current: Record<string, unknown> | null | undefined, next: Record<string, unknown>): boolean;
|
|
12
|
+
export declare function toNumericIdString(parentId: unknown): string | undefined;
|
|
13
|
+
export declare function buildChildDevicePageQuery<T extends {
|
|
14
|
+
query?: Record<string, unknown>;
|
|
15
|
+
pageNo?: number;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
}>(base: T, parentId: unknown): T & {
|
|
18
|
+
pageNo: number;
|
|
19
|
+
pageSize: number;
|
|
20
|
+
query: {
|
|
21
|
+
parentId: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* 懒加载树里已经 load 过的父节点(含已折叠)。
|
|
26
|
+
* notify 静默刷新根层后,要用这些 id 再拉子设备并 updateKeyChildren。
|
|
27
|
+
* 只收数字字符串,避免把 Vue ref 内部字段当成 parentId。
|
|
28
|
+
*/
|
|
29
|
+
export declare function collectLoadedLazyParentIds(lazyTreeNodeMap: unknown, treeData?: unknown): string[];
|
|
@@ -9,6 +9,8 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
9
9
|
queryParams: {
|
|
10
10
|
query: {
|
|
11
11
|
sceneInclude: boolean;
|
|
12
|
+
} & {
|
|
13
|
+
parentId: string;
|
|
12
14
|
};
|
|
13
15
|
sorts: {
|
|
14
16
|
order: boolean;
|
|
@@ -27,6 +29,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
27
29
|
groupsList: never[];
|
|
28
30
|
labelList: never[];
|
|
29
31
|
deviceSummary: {};
|
|
32
|
+
treeTableKey: number;
|
|
30
33
|
}, {}, {
|
|
31
34
|
dayjs: typeof dayjs;
|
|
32
35
|
checkPermission: typeof checkPermission;
|
|
@@ -35,8 +38,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
35
38
|
formatCashDate(row: any, column: any): any;
|
|
36
39
|
setProductList(productList: any): void;
|
|
37
40
|
getList(silent: any): void;
|
|
41
|
+
refreshLoadedChildren(parentIds: any): void;
|
|
38
42
|
handleSelectionChange(val: any): void;
|
|
39
43
|
getRowKeys(row: any): any;
|
|
44
|
+
loadChildren(row: any, _treeNode: any, resolve: any): void;
|
|
40
45
|
exportDevice(): void;
|
|
41
46
|
exportCertificate(): void;
|
|
42
47
|
batchEnable(enable: any): 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-B2Q5vnUx.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-B2Q5vnUx.js";
|
|
3
3
|
const E = {
|
|
4
4
|
props: {
|
|
5
5
|
identifier: {
|