@jnrs/lingshu-smart 3.1.5 → 3.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.
- package/AGENTS.md +12 -13
- package/dist/components/debug/ScriptRunner/StepsPanel.vue.d.ts +2 -2
- package/dist/components/debug/ScriptRunner/script.d.ts +9 -7
- package/dist/components/debug/WsProxy/ConfigBody.vue.d.ts +45 -0
- package/dist/components/debug/WsProxy/ConfigEditor.vue.d.ts +3 -1
- package/dist/components/debug/WsProxy/ConnPanel.vue.d.ts +9 -1
- package/dist/components/debug/WsProxy/MapperDialogs.vue.d.ts +18 -0
- package/dist/components/debug/WsProxy/MappingGrid.vue.d.ts +9 -0
- package/dist/components/debug/WsProxy/RegistryConfigBody.vue.d.ts +47 -0
- package/dist/components/debug/WsProxy/index.vue.d.ts +0 -2
- package/dist/components/debug/WsProxy/proxy.d.ts +108 -18
- package/dist/components/index.js +7011 -6148
- package/dist/controller/AppController.d.ts +20 -0
- package/dist/lingshu-smart/mockSocket.json +38 -11
- package/dist/playground/ViewPageDemo.vue.d.ts +0 -3
- package/dist/stores/index.js +1 -1
- package/dist/stores/useAppStore.d.ts +13 -1
- package/dist/stores/useDataStore.d.ts +264 -6
- package/dist/{useAppStore-CWXWj32D.js → useAppStore-ByhpgBWp.js} +2058 -1812
- package/package.json +1 -1
|
@@ -19,6 +19,8 @@ export declare class AppController {
|
|
|
19
19
|
private animationsEnabled;
|
|
20
20
|
private alarmHighlights;
|
|
21
21
|
private hostExtensions;
|
|
22
|
+
/** 设备注册表快照:key 为画布图层 id(layerId),value 为注册表中该设备的数据(点击设备时从 rawData.device 读取) */
|
|
23
|
+
private deviceRegistrySnapshot;
|
|
22
24
|
constructor(options?: IContainer);
|
|
23
25
|
start(): void;
|
|
24
26
|
destroy(): void;
|
|
@@ -35,6 +37,24 @@ export declare class AppController {
|
|
|
35
37
|
* @returns 实际复位的模型数量
|
|
36
38
|
*/
|
|
37
39
|
resetAllModels(): number;
|
|
40
|
+
/**
|
|
41
|
+
* 按设备标识定位模型实例列表:
|
|
42
|
+
* 1. 业务标识(编辑器「业务数据配置」rawData.id)→ businessMap;
|
|
43
|
+
* 2. 未命中时回退画布 ID(图层 id)→ modelsMap(须 className 一致)。
|
|
44
|
+
* 该顺序与代理器下发 device_id 的优先级(设备类型标识 → 业务标识 → 画布 ID)配套使用。
|
|
45
|
+
*/
|
|
46
|
+
resolveDeviceModels(className: string, id: string): ModelAbs[];
|
|
47
|
+
/**
|
|
48
|
+
* 同步「设备注册表」快照到画布模型业务数据:
|
|
49
|
+
* 传入 layerId → 注册表设备记录(null 表示清除),写入模型 config.rawData.device,
|
|
50
|
+
* 点击设备时可在回调的 layer.rawData.device / data.rawData.device 中读取到该设备注册表数据。
|
|
51
|
+
*/
|
|
52
|
+
setDeviceRegistrySnapshot(entries: Array<{
|
|
53
|
+
layerId: string;
|
|
54
|
+
device: Record<string, unknown> | null;
|
|
55
|
+
}>): void;
|
|
56
|
+
/** 将快照写入指定模型的 rawData.device(无快照时移除) */
|
|
57
|
+
private applyDeviceRegistrySnapshotTo;
|
|
38
58
|
/**
|
|
39
59
|
* 复位单个业务设备(device_init 全量覆盖语义:缺省字段重置为默认值,见文档第七章)
|
|
40
60
|
* @param className 设备类型(EnumModel 值)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"deviceType": "",
|
|
9
9
|
"deviceId": "",
|
|
10
10
|
"delay": 1000,
|
|
11
|
-
"enabled":
|
|
11
|
+
"enabled": true,
|
|
12
12
|
"params": {
|
|
13
13
|
"operation": "batch_remove",
|
|
14
14
|
"resource_ids": "[\"12\", \"77\", \"9\"]",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"deviceType": "DoubleJointRobot",
|
|
26
26
|
"deviceId": "70158290822131712",
|
|
27
27
|
"delay": 500,
|
|
28
|
-
"enabled":
|
|
28
|
+
"enabled": true,
|
|
29
29
|
"params": {
|
|
30
30
|
"light.color": "#00fffb",
|
|
31
31
|
"light.blinking": true,
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"deviceType": "__continuous__",
|
|
50
50
|
"deviceId": "",
|
|
51
51
|
"delay": 500,
|
|
52
|
-
"enabled":
|
|
52
|
+
"enabled": true,
|
|
53
53
|
"params": {
|
|
54
54
|
"target": {
|
|
55
55
|
"label": "双关节机器人",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"deviceType": "",
|
|
81
81
|
"deviceId": "",
|
|
82
82
|
"delay": 500,
|
|
83
|
-
"enabled":
|
|
83
|
+
"enabled": true,
|
|
84
84
|
"params": {
|
|
85
85
|
"operation": "add",
|
|
86
86
|
"resource_type": "workpiece",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"deviceType": "",
|
|
109
109
|
"deviceId": "",
|
|
110
110
|
"delay": 1000,
|
|
111
|
-
"enabled":
|
|
111
|
+
"enabled": true,
|
|
112
112
|
"params": {
|
|
113
113
|
"operation": "transfer",
|
|
114
114
|
"resource_type": "workpiece",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"deviceType": "DoubleJointRobot",
|
|
142
142
|
"deviceId": "70158290822131712",
|
|
143
143
|
"delay": 1000,
|
|
144
|
-
"enabled":
|
|
144
|
+
"enabled": true,
|
|
145
145
|
"params": {
|
|
146
146
|
"light.color": "#00ffe5",
|
|
147
147
|
"light.blinking": false,
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"deviceType": "",
|
|
163
163
|
"deviceId": "",
|
|
164
164
|
"delay": 500,
|
|
165
|
-
"enabled":
|
|
165
|
+
"enabled": true,
|
|
166
166
|
"params": {
|
|
167
167
|
"operation": "batch_add",
|
|
168
168
|
"resources": "[\n {\n \"resource_id\": \"77\",\n \"resource_type\": \"workpiece\",\n \"resource_name\": \"P77\",\n \"resource_state\": 1,\n \"to\": {\n \"device_type\": \"resource_store\",\n \"device_id\": \"70158290788577280\",\n \"device_station\": 1\n }\n },\n {\n \"resource_id\": \"9\",\n \"resource_type\": \"tool\",\n \"resource_name\": \"9\",\n \"resource_state\": 3,\n \"to\": {\n \"device_type\": \"resource_store\",\n \"device_id\": \"70158290788577280\",\n \"device_station\": 1,\n \"device_layer\": 2\n }\n },\n {\n \"resource_id\": \"55\",\n \"resource_type\": \"tool\",\n \"resource_name\": \"55\",\n \"resource_state\": 1,\n \"to\": {\n \"device_type\": \"double_joint_robot\",\n \"device_id\": \"70158290822131712\",\n \"device_station\": 1\n }\n }\n]"
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"deviceType": "MachineTool",
|
|
179
179
|
"deviceId": "70158290792771584",
|
|
180
180
|
"delay": 500,
|
|
181
|
-
"enabled":
|
|
181
|
+
"enabled": true,
|
|
182
182
|
"params": {
|
|
183
183
|
"light.color": "#52b71b",
|
|
184
184
|
"light.blinking": false,
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"deviceType": "",
|
|
207
207
|
"deviceId": "",
|
|
208
208
|
"delay": 1000,
|
|
209
|
-
"enabled":
|
|
209
|
+
"enabled": true,
|
|
210
210
|
"params": {
|
|
211
211
|
"operation": "batch_remove",
|
|
212
212
|
"resource_ids": "[\"12\", \"77\", \"9\",\"66\"]",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"deviceType": "MachineTool",
|
|
225
225
|
"deviceId": "70158290792771584",
|
|
226
226
|
"delay": 500,
|
|
227
|
-
"enabled":
|
|
227
|
+
"enabled": true,
|
|
228
228
|
"params": {
|
|
229
229
|
"light.color": "#ff0d0d",
|
|
230
230
|
"light.blinking": true,
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
"deviceType": "",
|
|
252
252
|
"deviceId": "",
|
|
253
253
|
"delay": 500,
|
|
254
|
-
"enabled":
|
|
254
|
+
"enabled": true,
|
|
255
255
|
"params": {},
|
|
256
256
|
"configuredKeys": [],
|
|
257
257
|
"msgType": "runtime_status_push",
|
|
@@ -288,5 +288,32 @@
|
|
|
288
288
|
}
|
|
289
289
|
],
|
|
290
290
|
"looping": false
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"caseId": "365528475211165696",
|
|
294
|
+
"caseName": "方案36552847",
|
|
295
|
+
"steps": [
|
|
296
|
+
{
|
|
297
|
+
"uid": "365529314927579136",
|
|
298
|
+
"deviceType": "Rgv",
|
|
299
|
+
"deviceId": "365528496983797760",
|
|
300
|
+
"delay": 500,
|
|
301
|
+
"enabled": true,
|
|
302
|
+
"params": {
|
|
303
|
+
"light.color": "#424242",
|
|
304
|
+
"light.blinking": false,
|
|
305
|
+
"light.rotating": false,
|
|
306
|
+
"position.x": 5000,
|
|
307
|
+
"position.j1": 0,
|
|
308
|
+
"position.fork_xy": 0,
|
|
309
|
+
"position.fork_z": 0
|
|
310
|
+
},
|
|
311
|
+
"configuredKeys": [
|
|
312
|
+
"position.x"
|
|
313
|
+
],
|
|
314
|
+
"msgType": "device_command"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"looping": false
|
|
291
318
|
}
|
|
292
319
|
]
|
|
@@ -32176,7 +32176,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
32176
32176
|
}> & Readonly<{
|
|
32177
32177
|
onRaw?: ((data: unknown) => any) | undefined;
|
|
32178
32178
|
"onSocket-message"?: ((message: import('../types').SocketMessage<Record<string, unknown>>) => any) | undefined;
|
|
32179
|
-
"onRuntime-status"?: ((data: Record<string, unknown>) => any) | undefined;
|
|
32180
32179
|
"onStatus-change"?: ((connected: boolean) => any) | undefined;
|
|
32181
32180
|
}>, {
|
|
32182
32181
|
open: () => void;
|
|
@@ -32187,7 +32186,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
32187
32186
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32188
32187
|
raw: (data: unknown) => any;
|
|
32189
32188
|
"socket-message": (message: import('../types').SocketMessage<Record<string, unknown>>) => any;
|
|
32190
|
-
"runtime-status": (data: Record<string, unknown>) => any;
|
|
32191
32189
|
"status-change": (connected: boolean) => any;
|
|
32192
32190
|
}, import('vue').PublicProps, {
|
|
32193
32191
|
config: import('../components/debug/WsProxy/proxy').WsProxyConfig;
|
|
@@ -32234,7 +32232,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
32234
32232
|
}> & Readonly<{
|
|
32235
32233
|
onRaw?: ((data: unknown) => any) | undefined;
|
|
32236
32234
|
"onSocket-message"?: ((message: import('../types').SocketMessage<Record<string, unknown>>) => any) | undefined;
|
|
32237
|
-
"onRuntime-status"?: ((data: Record<string, unknown>) => any) | undefined;
|
|
32238
32235
|
"onStatus-change"?: ((connected: boolean) => any) | undefined;
|
|
32239
32236
|
}>, {
|
|
32240
32237
|
open: () => void;
|
package/dist/stores/index.js
CHANGED
|
@@ -16043,6 +16043,10 @@ export declare const useAppStore: import('pinia').StoreDefinition<"@jnrs/lingshu
|
|
|
16043
16043
|
feedSocketMessage: (msg: unknown) => void;
|
|
16044
16044
|
setSocketHandlers: (handlers: Pick<SocketDispatcherOptions, "onAck" | "onRaw">) => void;
|
|
16045
16045
|
resetModels: () => void;
|
|
16046
|
+
syncDeviceRegistry: (entries: Array<{
|
|
16047
|
+
layerId: string;
|
|
16048
|
+
device: Record<string, unknown> | null;
|
|
16049
|
+
}>) => void;
|
|
16046
16050
|
}, "currentCase">, Pick<{
|
|
16047
16051
|
currentCase: import('vue').Ref<{
|
|
16048
16052
|
id: string;
|
|
@@ -32086,6 +32090,10 @@ export declare const useAppStore: import('pinia').StoreDefinition<"@jnrs/lingshu
|
|
|
32086
32090
|
feedSocketMessage: (msg: unknown) => void;
|
|
32087
32091
|
setSocketHandlers: (handlers: Pick<SocketDispatcherOptions, "onAck" | "onRaw">) => void;
|
|
32088
32092
|
resetModels: () => void;
|
|
32093
|
+
syncDeviceRegistry: (entries: Array<{
|
|
32094
|
+
layerId: string;
|
|
32095
|
+
device: Record<string, unknown> | null;
|
|
32096
|
+
}>) => void;
|
|
32089
32097
|
}, never>, Pick<{
|
|
32090
32098
|
currentCase: import('vue').Ref<{
|
|
32091
32099
|
id: string;
|
|
@@ -48129,4 +48137,8 @@ export declare const useAppStore: import('pinia').StoreDefinition<"@jnrs/lingshu
|
|
|
48129
48137
|
feedSocketMessage: (msg: unknown) => void;
|
|
48130
48138
|
setSocketHandlers: (handlers: Pick<SocketDispatcherOptions, "onAck" | "onRaw">) => void;
|
|
48131
48139
|
resetModels: () => void;
|
|
48132
|
-
|
|
48140
|
+
syncDeviceRegistry: (entries: Array<{
|
|
48141
|
+
layerId: string;
|
|
48142
|
+
device: Record<string, unknown> | null;
|
|
48143
|
+
}>) => void;
|
|
48144
|
+
}, "operating" | "initContainer" | "resizeContainer" | "destroyContainer" | "feedSocketMessage" | "setSocketHandlers" | "resetModels" | "syncDeviceRegistry">>;
|
|
@@ -16066,6 +16066,40 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
16066
16066
|
fileUrl?: string | undefined;
|
|
16067
16067
|
version: string;
|
|
16068
16068
|
dataSource?: import('../components/debug/WsProxy/proxy').WsProxyDataSource | undefined;
|
|
16069
|
+
registryDevices?: {
|
|
16070
|
+
uid: string;
|
|
16071
|
+
layerId: string;
|
|
16072
|
+
className: string;
|
|
16073
|
+
enumValue: string;
|
|
16074
|
+
number: string;
|
|
16075
|
+
typeValue?: string | undefined;
|
|
16076
|
+
idField?: string | undefined;
|
|
16077
|
+
mappings: {
|
|
16078
|
+
target: string;
|
|
16079
|
+
source?: string | undefined;
|
|
16080
|
+
constant?: boolean | number | string | undefined;
|
|
16081
|
+
valueMap?: Record<string, boolean | number | string> | undefined;
|
|
16082
|
+
defaultValue?: (boolean | number | string | Record<string, unknown>) | undefined;
|
|
16083
|
+
enabled?: boolean | undefined;
|
|
16084
|
+
transform?: "constant" | "percentToPixel" | "runtimeToPixel" | "dictLabel" | "dictColor" | "dictColorMap" | "objDict" | "modelMap" | "condition" | "operation" | undefined;
|
|
16085
|
+
transformType?: "width" | "height" | undefined;
|
|
16086
|
+
transformPrecision?: number | undefined;
|
|
16087
|
+
dictName?: string | undefined;
|
|
16088
|
+
transformTargetType?: "string" | "number" | "boolean" | undefined;
|
|
16089
|
+
conditions?: {
|
|
16090
|
+
source?: string | undefined;
|
|
16091
|
+
operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "includes" | "in";
|
|
16092
|
+
operand: string;
|
|
16093
|
+
transform?: "constant" | "dictLabel" | "dictColor" | "operation" | undefined;
|
|
16094
|
+
value?: string | number | boolean | undefined;
|
|
16095
|
+
dictName?: string | undefined;
|
|
16096
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
16097
|
+
expression?: string | undefined;
|
|
16098
|
+
}[] | undefined;
|
|
16099
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
16100
|
+
expression?: string | undefined;
|
|
16101
|
+
}[];
|
|
16102
|
+
}[] | undefined;
|
|
16069
16103
|
wsUrl?: string | undefined;
|
|
16070
16104
|
carryToken?: boolean | undefined;
|
|
16071
16105
|
requestMode?: import('../components/debug/WsProxy/proxy').WsProxyRequestMode | undefined;
|
|
@@ -16075,13 +16109,15 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
16075
16109
|
heartbeatInterval?: number | undefined;
|
|
16076
16110
|
autoReconnect?: boolean | undefined;
|
|
16077
16111
|
modelMap?: Record<string, string> | undefined;
|
|
16112
|
+
registryUrl?: string | undefined;
|
|
16113
|
+
registryIdField?: string | undefined;
|
|
16078
16114
|
rules: {
|
|
16079
16115
|
sourceType?: string | undefined;
|
|
16080
16116
|
deviceType?: string | undefined;
|
|
16081
16117
|
className: string;
|
|
16082
16118
|
equipmentName?: string | undefined;
|
|
16083
16119
|
enabled: boolean;
|
|
16084
|
-
operate: "single" | "resource" | "resetAll"
|
|
16120
|
+
operate: "single" | "resource" | "resetAll";
|
|
16085
16121
|
mappings: {
|
|
16086
16122
|
target: string;
|
|
16087
16123
|
source?: string | undefined;
|
|
@@ -16237,6 +16273,13 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
16237
16273
|
resourceFields?: {
|
|
16238
16274
|
operationField?: string | undefined;
|
|
16239
16275
|
batchAddItems?: string | undefined;
|
|
16276
|
+
typeValues?: {
|
|
16277
|
+
add?: string | undefined;
|
|
16278
|
+
remove?: string | undefined;
|
|
16279
|
+
batch_add?: string | undefined;
|
|
16280
|
+
transfer?: string | undefined;
|
|
16281
|
+
batch_remove?: string | undefined;
|
|
16282
|
+
} | undefined;
|
|
16240
16283
|
} | undefined;
|
|
16241
16284
|
custom?: boolean | undefined;
|
|
16242
16285
|
}[];
|
|
@@ -16246,6 +16289,40 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
16246
16289
|
fileUrl?: string | undefined;
|
|
16247
16290
|
version: string;
|
|
16248
16291
|
dataSource?: import('../components/debug/WsProxy/proxy').WsProxyDataSource | undefined;
|
|
16292
|
+
registryDevices?: {
|
|
16293
|
+
uid: string;
|
|
16294
|
+
layerId: string;
|
|
16295
|
+
className: string;
|
|
16296
|
+
enumValue: string;
|
|
16297
|
+
number: string;
|
|
16298
|
+
typeValue?: string | undefined;
|
|
16299
|
+
idField?: string | undefined;
|
|
16300
|
+
mappings: {
|
|
16301
|
+
target: string;
|
|
16302
|
+
source?: string | undefined;
|
|
16303
|
+
constant?: boolean | number | string | undefined;
|
|
16304
|
+
valueMap?: Record<string, boolean | number | string> | undefined;
|
|
16305
|
+
defaultValue?: (boolean | number | string | Record<string, unknown>) | undefined;
|
|
16306
|
+
enabled?: boolean | undefined;
|
|
16307
|
+
transform?: "constant" | "percentToPixel" | "runtimeToPixel" | "dictLabel" | "dictColor" | "dictColorMap" | "objDict" | "modelMap" | "condition" | "operation" | undefined;
|
|
16308
|
+
transformType?: "width" | "height" | undefined;
|
|
16309
|
+
transformPrecision?: number | undefined;
|
|
16310
|
+
dictName?: string | undefined;
|
|
16311
|
+
transformTargetType?: "string" | "number" | "boolean" | undefined;
|
|
16312
|
+
conditions?: {
|
|
16313
|
+
source?: string | undefined;
|
|
16314
|
+
operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "includes" | "in";
|
|
16315
|
+
operand: string;
|
|
16316
|
+
transform?: "constant" | "dictLabel" | "dictColor" | "operation" | undefined;
|
|
16317
|
+
value?: string | number | boolean | undefined;
|
|
16318
|
+
dictName?: string | undefined;
|
|
16319
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
16320
|
+
expression?: string | undefined;
|
|
16321
|
+
}[] | undefined;
|
|
16322
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
16323
|
+
expression?: string | undefined;
|
|
16324
|
+
}[];
|
|
16325
|
+
}[] | undefined;
|
|
16249
16326
|
wsUrl?: string | undefined;
|
|
16250
16327
|
carryToken?: boolean | undefined;
|
|
16251
16328
|
requestMode?: import('../components/debug/WsProxy/proxy').WsProxyRequestMode | undefined;
|
|
@@ -16255,13 +16332,15 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
16255
16332
|
heartbeatInterval?: number | undefined;
|
|
16256
16333
|
autoReconnect?: boolean | undefined;
|
|
16257
16334
|
modelMap?: Record<string, string> | undefined;
|
|
16335
|
+
registryUrl?: string | undefined;
|
|
16336
|
+
registryIdField?: string | undefined;
|
|
16258
16337
|
rules: {
|
|
16259
16338
|
sourceType?: string | undefined;
|
|
16260
16339
|
deviceType?: string | undefined;
|
|
16261
16340
|
className: string;
|
|
16262
16341
|
equipmentName?: string | undefined;
|
|
16263
16342
|
enabled: boolean;
|
|
16264
|
-
operate: "single" | "resource" | "resetAll"
|
|
16343
|
+
operate: "single" | "resource" | "resetAll";
|
|
16265
16344
|
mappings: {
|
|
16266
16345
|
target: string;
|
|
16267
16346
|
source?: string | undefined;
|
|
@@ -16417,6 +16496,13 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
16417
16496
|
resourceFields?: {
|
|
16418
16497
|
operationField?: string | undefined;
|
|
16419
16498
|
batchAddItems?: string | undefined;
|
|
16499
|
+
typeValues?: {
|
|
16500
|
+
add?: string | undefined;
|
|
16501
|
+
remove?: string | undefined;
|
|
16502
|
+
batch_add?: string | undefined;
|
|
16503
|
+
transfer?: string | undefined;
|
|
16504
|
+
batch_remove?: string | undefined;
|
|
16505
|
+
} | undefined;
|
|
16420
16506
|
} | undefined;
|
|
16421
16507
|
custom?: boolean | undefined;
|
|
16422
16508
|
}[];
|
|
@@ -32550,6 +32636,40 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
32550
32636
|
fileUrl?: string | undefined;
|
|
32551
32637
|
version: string;
|
|
32552
32638
|
dataSource?: import('../components/debug/WsProxy/proxy').WsProxyDataSource | undefined;
|
|
32639
|
+
registryDevices?: {
|
|
32640
|
+
uid: string;
|
|
32641
|
+
layerId: string;
|
|
32642
|
+
className: string;
|
|
32643
|
+
enumValue: string;
|
|
32644
|
+
number: string;
|
|
32645
|
+
typeValue?: string | undefined;
|
|
32646
|
+
idField?: string | undefined;
|
|
32647
|
+
mappings: {
|
|
32648
|
+
target: string;
|
|
32649
|
+
source?: string | undefined;
|
|
32650
|
+
constant?: boolean | number | string | undefined;
|
|
32651
|
+
valueMap?: Record<string, boolean | number | string> | undefined;
|
|
32652
|
+
defaultValue?: (boolean | number | string | Record<string, unknown>) | undefined;
|
|
32653
|
+
enabled?: boolean | undefined;
|
|
32654
|
+
transform?: "constant" | "percentToPixel" | "runtimeToPixel" | "dictLabel" | "dictColor" | "dictColorMap" | "objDict" | "modelMap" | "condition" | "operation" | undefined;
|
|
32655
|
+
transformType?: "width" | "height" | undefined;
|
|
32656
|
+
transformPrecision?: number | undefined;
|
|
32657
|
+
dictName?: string | undefined;
|
|
32658
|
+
transformTargetType?: "string" | "number" | "boolean" | undefined;
|
|
32659
|
+
conditions?: {
|
|
32660
|
+
source?: string | undefined;
|
|
32661
|
+
operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "includes" | "in";
|
|
32662
|
+
operand: string;
|
|
32663
|
+
transform?: "constant" | "dictLabel" | "dictColor" | "operation" | undefined;
|
|
32664
|
+
value?: string | number | boolean | undefined;
|
|
32665
|
+
dictName?: string | undefined;
|
|
32666
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
32667
|
+
expression?: string | undefined;
|
|
32668
|
+
}[] | undefined;
|
|
32669
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
32670
|
+
expression?: string | undefined;
|
|
32671
|
+
}[];
|
|
32672
|
+
}[] | undefined;
|
|
32553
32673
|
wsUrl?: string | undefined;
|
|
32554
32674
|
carryToken?: boolean | undefined;
|
|
32555
32675
|
requestMode?: import('../components/debug/WsProxy/proxy').WsProxyRequestMode | undefined;
|
|
@@ -32559,13 +32679,15 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
32559
32679
|
heartbeatInterval?: number | undefined;
|
|
32560
32680
|
autoReconnect?: boolean | undefined;
|
|
32561
32681
|
modelMap?: Record<string, string> | undefined;
|
|
32682
|
+
registryUrl?: string | undefined;
|
|
32683
|
+
registryIdField?: string | undefined;
|
|
32562
32684
|
rules: {
|
|
32563
32685
|
sourceType?: string | undefined;
|
|
32564
32686
|
deviceType?: string | undefined;
|
|
32565
32687
|
className: string;
|
|
32566
32688
|
equipmentName?: string | undefined;
|
|
32567
32689
|
enabled: boolean;
|
|
32568
|
-
operate: "single" | "resource" | "resetAll"
|
|
32690
|
+
operate: "single" | "resource" | "resetAll";
|
|
32569
32691
|
mappings: {
|
|
32570
32692
|
target: string;
|
|
32571
32693
|
source?: string | undefined;
|
|
@@ -32721,6 +32843,13 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
32721
32843
|
resourceFields?: {
|
|
32722
32844
|
operationField?: string | undefined;
|
|
32723
32845
|
batchAddItems?: string | undefined;
|
|
32846
|
+
typeValues?: {
|
|
32847
|
+
add?: string | undefined;
|
|
32848
|
+
remove?: string | undefined;
|
|
32849
|
+
batch_add?: string | undefined;
|
|
32850
|
+
transfer?: string | undefined;
|
|
32851
|
+
batch_remove?: string | undefined;
|
|
32852
|
+
} | undefined;
|
|
32724
32853
|
} | undefined;
|
|
32725
32854
|
custom?: boolean | undefined;
|
|
32726
32855
|
}[];
|
|
@@ -32730,6 +32859,40 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
32730
32859
|
fileUrl?: string | undefined;
|
|
32731
32860
|
version: string;
|
|
32732
32861
|
dataSource?: import('../components/debug/WsProxy/proxy').WsProxyDataSource | undefined;
|
|
32862
|
+
registryDevices?: {
|
|
32863
|
+
uid: string;
|
|
32864
|
+
layerId: string;
|
|
32865
|
+
className: string;
|
|
32866
|
+
enumValue: string;
|
|
32867
|
+
number: string;
|
|
32868
|
+
typeValue?: string | undefined;
|
|
32869
|
+
idField?: string | undefined;
|
|
32870
|
+
mappings: {
|
|
32871
|
+
target: string;
|
|
32872
|
+
source?: string | undefined;
|
|
32873
|
+
constant?: boolean | number | string | undefined;
|
|
32874
|
+
valueMap?: Record<string, boolean | number | string> | undefined;
|
|
32875
|
+
defaultValue?: (boolean | number | string | Record<string, unknown>) | undefined;
|
|
32876
|
+
enabled?: boolean | undefined;
|
|
32877
|
+
transform?: "constant" | "percentToPixel" | "runtimeToPixel" | "dictLabel" | "dictColor" | "dictColorMap" | "objDict" | "modelMap" | "condition" | "operation" | undefined;
|
|
32878
|
+
transformType?: "width" | "height" | undefined;
|
|
32879
|
+
transformPrecision?: number | undefined;
|
|
32880
|
+
dictName?: string | undefined;
|
|
32881
|
+
transformTargetType?: "string" | "number" | "boolean" | undefined;
|
|
32882
|
+
conditions?: {
|
|
32883
|
+
source?: string | undefined;
|
|
32884
|
+
operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "includes" | "in";
|
|
32885
|
+
operand: string;
|
|
32886
|
+
transform?: "constant" | "dictLabel" | "dictColor" | "operation" | undefined;
|
|
32887
|
+
value?: string | number | boolean | undefined;
|
|
32888
|
+
dictName?: string | undefined;
|
|
32889
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
32890
|
+
expression?: string | undefined;
|
|
32891
|
+
}[] | undefined;
|
|
32892
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
32893
|
+
expression?: string | undefined;
|
|
32894
|
+
}[];
|
|
32895
|
+
}[] | undefined;
|
|
32733
32896
|
wsUrl?: string | undefined;
|
|
32734
32897
|
carryToken?: boolean | undefined;
|
|
32735
32898
|
requestMode?: import('../components/debug/WsProxy/proxy').WsProxyRequestMode | undefined;
|
|
@@ -32739,13 +32902,15 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
32739
32902
|
heartbeatInterval?: number | undefined;
|
|
32740
32903
|
autoReconnect?: boolean | undefined;
|
|
32741
32904
|
modelMap?: Record<string, string> | undefined;
|
|
32905
|
+
registryUrl?: string | undefined;
|
|
32906
|
+
registryIdField?: string | undefined;
|
|
32742
32907
|
rules: {
|
|
32743
32908
|
sourceType?: string | undefined;
|
|
32744
32909
|
deviceType?: string | undefined;
|
|
32745
32910
|
className: string;
|
|
32746
32911
|
equipmentName?: string | undefined;
|
|
32747
32912
|
enabled: boolean;
|
|
32748
|
-
operate: "single" | "resource" | "resetAll"
|
|
32913
|
+
operate: "single" | "resource" | "resetAll";
|
|
32749
32914
|
mappings: {
|
|
32750
32915
|
target: string;
|
|
32751
32916
|
source?: string | undefined;
|
|
@@ -32901,6 +33066,13 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
32901
33066
|
resourceFields?: {
|
|
32902
33067
|
operationField?: string | undefined;
|
|
32903
33068
|
batchAddItems?: string | undefined;
|
|
33069
|
+
typeValues?: {
|
|
33070
|
+
add?: string | undefined;
|
|
33071
|
+
remove?: string | undefined;
|
|
33072
|
+
batch_add?: string | undefined;
|
|
33073
|
+
transfer?: string | undefined;
|
|
33074
|
+
batch_remove?: string | undefined;
|
|
33075
|
+
} | undefined;
|
|
32904
33076
|
} | undefined;
|
|
32905
33077
|
custom?: boolean | undefined;
|
|
32906
33078
|
}[];
|
|
@@ -49034,6 +49206,40 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
49034
49206
|
fileUrl?: string | undefined;
|
|
49035
49207
|
version: string;
|
|
49036
49208
|
dataSource?: import('../components/debug/WsProxy/proxy').WsProxyDataSource | undefined;
|
|
49209
|
+
registryDevices?: {
|
|
49210
|
+
uid: string;
|
|
49211
|
+
layerId: string;
|
|
49212
|
+
className: string;
|
|
49213
|
+
enumValue: string;
|
|
49214
|
+
number: string;
|
|
49215
|
+
typeValue?: string | undefined;
|
|
49216
|
+
idField?: string | undefined;
|
|
49217
|
+
mappings: {
|
|
49218
|
+
target: string;
|
|
49219
|
+
source?: string | undefined;
|
|
49220
|
+
constant?: boolean | number | string | undefined;
|
|
49221
|
+
valueMap?: Record<string, boolean | number | string> | undefined;
|
|
49222
|
+
defaultValue?: (boolean | number | string | Record<string, unknown>) | undefined;
|
|
49223
|
+
enabled?: boolean | undefined;
|
|
49224
|
+
transform?: "constant" | "percentToPixel" | "runtimeToPixel" | "dictLabel" | "dictColor" | "dictColorMap" | "objDict" | "modelMap" | "condition" | "operation" | undefined;
|
|
49225
|
+
transformType?: "width" | "height" | undefined;
|
|
49226
|
+
transformPrecision?: number | undefined;
|
|
49227
|
+
dictName?: string | undefined;
|
|
49228
|
+
transformTargetType?: "string" | "number" | "boolean" | undefined;
|
|
49229
|
+
conditions?: {
|
|
49230
|
+
source?: string | undefined;
|
|
49231
|
+
operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "includes" | "in";
|
|
49232
|
+
operand: string;
|
|
49233
|
+
transform?: "constant" | "dictLabel" | "dictColor" | "operation" | undefined;
|
|
49234
|
+
value?: string | number | boolean | undefined;
|
|
49235
|
+
dictName?: string | undefined;
|
|
49236
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
49237
|
+
expression?: string | undefined;
|
|
49238
|
+
}[] | undefined;
|
|
49239
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
49240
|
+
expression?: string | undefined;
|
|
49241
|
+
}[];
|
|
49242
|
+
}[] | undefined;
|
|
49037
49243
|
wsUrl?: string | undefined;
|
|
49038
49244
|
carryToken?: boolean | undefined;
|
|
49039
49245
|
requestMode?: import('../components/debug/WsProxy/proxy').WsProxyRequestMode | undefined;
|
|
@@ -49043,13 +49249,15 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
49043
49249
|
heartbeatInterval?: number | undefined;
|
|
49044
49250
|
autoReconnect?: boolean | undefined;
|
|
49045
49251
|
modelMap?: Record<string, string> | undefined;
|
|
49252
|
+
registryUrl?: string | undefined;
|
|
49253
|
+
registryIdField?: string | undefined;
|
|
49046
49254
|
rules: {
|
|
49047
49255
|
sourceType?: string | undefined;
|
|
49048
49256
|
deviceType?: string | undefined;
|
|
49049
49257
|
className: string;
|
|
49050
49258
|
equipmentName?: string | undefined;
|
|
49051
49259
|
enabled: boolean;
|
|
49052
|
-
operate: "single" | "resource" | "resetAll"
|
|
49260
|
+
operate: "single" | "resource" | "resetAll";
|
|
49053
49261
|
mappings: {
|
|
49054
49262
|
target: string;
|
|
49055
49263
|
source?: string | undefined;
|
|
@@ -49205,6 +49413,13 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
49205
49413
|
resourceFields?: {
|
|
49206
49414
|
operationField?: string | undefined;
|
|
49207
49415
|
batchAddItems?: string | undefined;
|
|
49416
|
+
typeValues?: {
|
|
49417
|
+
add?: string | undefined;
|
|
49418
|
+
remove?: string | undefined;
|
|
49419
|
+
batch_add?: string | undefined;
|
|
49420
|
+
transfer?: string | undefined;
|
|
49421
|
+
batch_remove?: string | undefined;
|
|
49422
|
+
} | undefined;
|
|
49208
49423
|
} | undefined;
|
|
49209
49424
|
custom?: boolean | undefined;
|
|
49210
49425
|
}[];
|
|
@@ -49214,6 +49429,40 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
49214
49429
|
fileUrl?: string | undefined;
|
|
49215
49430
|
version: string;
|
|
49216
49431
|
dataSource?: import('../components/debug/WsProxy/proxy').WsProxyDataSource | undefined;
|
|
49432
|
+
registryDevices?: {
|
|
49433
|
+
uid: string;
|
|
49434
|
+
layerId: string;
|
|
49435
|
+
className: string;
|
|
49436
|
+
enumValue: string;
|
|
49437
|
+
number: string;
|
|
49438
|
+
typeValue?: string | undefined;
|
|
49439
|
+
idField?: string | undefined;
|
|
49440
|
+
mappings: {
|
|
49441
|
+
target: string;
|
|
49442
|
+
source?: string | undefined;
|
|
49443
|
+
constant?: boolean | number | string | undefined;
|
|
49444
|
+
valueMap?: Record<string, boolean | number | string> | undefined;
|
|
49445
|
+
defaultValue?: (boolean | number | string | Record<string, unknown>) | undefined;
|
|
49446
|
+
enabled?: boolean | undefined;
|
|
49447
|
+
transform?: "constant" | "percentToPixel" | "runtimeToPixel" | "dictLabel" | "dictColor" | "dictColorMap" | "objDict" | "modelMap" | "condition" | "operation" | undefined;
|
|
49448
|
+
transformType?: "width" | "height" | undefined;
|
|
49449
|
+
transformPrecision?: number | undefined;
|
|
49450
|
+
dictName?: string | undefined;
|
|
49451
|
+
transformTargetType?: "string" | "number" | "boolean" | undefined;
|
|
49452
|
+
conditions?: {
|
|
49453
|
+
source?: string | undefined;
|
|
49454
|
+
operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "includes" | "in";
|
|
49455
|
+
operand: string;
|
|
49456
|
+
transform?: "constant" | "dictLabel" | "dictColor" | "operation" | undefined;
|
|
49457
|
+
value?: string | number | boolean | undefined;
|
|
49458
|
+
dictName?: string | undefined;
|
|
49459
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
49460
|
+
expression?: string | undefined;
|
|
49461
|
+
}[] | undefined;
|
|
49462
|
+
operateFn?: "negate" | "not" | "toBoolean" | "concat" | undefined;
|
|
49463
|
+
expression?: string | undefined;
|
|
49464
|
+
}[];
|
|
49465
|
+
}[] | undefined;
|
|
49217
49466
|
wsUrl?: string | undefined;
|
|
49218
49467
|
carryToken?: boolean | undefined;
|
|
49219
49468
|
requestMode?: import('../components/debug/WsProxy/proxy').WsProxyRequestMode | undefined;
|
|
@@ -49223,13 +49472,15 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
49223
49472
|
heartbeatInterval?: number | undefined;
|
|
49224
49473
|
autoReconnect?: boolean | undefined;
|
|
49225
49474
|
modelMap?: Record<string, string> | undefined;
|
|
49475
|
+
registryUrl?: string | undefined;
|
|
49476
|
+
registryIdField?: string | undefined;
|
|
49226
49477
|
rules: {
|
|
49227
49478
|
sourceType?: string | undefined;
|
|
49228
49479
|
deviceType?: string | undefined;
|
|
49229
49480
|
className: string;
|
|
49230
49481
|
equipmentName?: string | undefined;
|
|
49231
49482
|
enabled: boolean;
|
|
49232
|
-
operate: "single" | "resource" | "resetAll"
|
|
49483
|
+
operate: "single" | "resource" | "resetAll";
|
|
49233
49484
|
mappings: {
|
|
49234
49485
|
target: string;
|
|
49235
49486
|
source?: string | undefined;
|
|
@@ -49385,6 +49636,13 @@ export declare const useDataStore: import('pinia').StoreDefinition<"@jnrs/lingsh
|
|
|
49385
49636
|
resourceFields?: {
|
|
49386
49637
|
operationField?: string | undefined;
|
|
49387
49638
|
batchAddItems?: string | undefined;
|
|
49639
|
+
typeValues?: {
|
|
49640
|
+
add?: string | undefined;
|
|
49641
|
+
remove?: string | undefined;
|
|
49642
|
+
batch_add?: string | undefined;
|
|
49643
|
+
transfer?: string | undefined;
|
|
49644
|
+
batch_remove?: string | undefined;
|
|
49645
|
+
} | undefined;
|
|
49388
49646
|
} | undefined;
|
|
49389
49647
|
custom?: boolean | undefined;
|
|
49390
49648
|
}[];
|