@jnrs/lingshu-smart 2.2.43 → 2.2.45
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 +10 -6
- package/README.md +1 -1
- package/dist/components/debug/ScriptRunner/script.d.ts +6 -0
- package/dist/components/debug/WsProxy/MappingGrid.vue.d.ts +2 -0
- package/dist/components/debug/WsProxy/proxy.d.ts +9 -5
- package/dist/components/index.js +4875 -4511
- package/dist/components/preview/index.vue.d.ts +412 -0
- package/dist/controller/EditorController.d.ts +12 -0
- package/dist/guards-aLOXCeCF.js +35 -0
- package/dist/index-Dsgrnpn0.js +1186 -0
- package/dist/index.js +28 -52
- package/dist/lingshu-smart/wsProxyConfig.json +33 -20
- package/dist/playground/ViewPageDemo.vue.d.ts +824 -0
- package/dist/stores/index.js +1 -1
- package/dist/stores/useAppStore.d.ts +1236 -0
- package/dist/stores/useDataStore.d.ts +1303 -28
- package/dist/types/components/config.types.d.ts +12 -0
- package/dist/types/models/operating.types.d.ts +14 -3
- package/dist/ui/components/StationSlot.d.ts +7 -1
- package/dist/ui/components/StationSlotGroup.d.ts +3 -0
- package/dist/ui/components/Wave.d.ts +30 -0
- package/dist/ui/models/CleaningMachine.d.ts +3 -0
- package/dist/ui/models/MachineTool.d.ts +4 -0
- package/dist/ui/models/MarkingMachine.d.ts +9 -0
- package/dist/ui/models/MaterialTrack.d.ts +1 -1
- package/dist/ui/models/ShuttleStation.d.ts +1 -1
- package/dist/useAppStore-CVyLAMtL.js +6125 -0
- package/package.json +4 -4
- package/dist/index-Cz1A_VVJ.js +0 -11452
- package/dist/useAppStore-Ca0a-fvj.js +0 -15829
package/dist/index.js
CHANGED
|
@@ -1,55 +1,31 @@
|
|
|
1
|
-
import { d as s } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
function t(a) {
|
|
4
|
-
return a?.className === s.MACHINE_TOOL;
|
|
5
|
-
}
|
|
6
|
-
function n(a) {
|
|
7
|
-
return a?.className === s.MACHINE_TOOL || a?.className === s.MARKING_MACHINE || a?.className === s.CLEANING_MACHINE || a?.className === s.LOADING_STATION || a?.className === s.RESOURCE_OPERATION_WINDOW;
|
|
8
|
-
}
|
|
9
|
-
function o(a) {
|
|
10
|
-
return a?.className === s.RESOURCE_STORE || a?.className === s.SINGLE_JOINT_ROBOT || a?.className === s.DOUBLE_JOINT_ROBOT || a?.className === s.RGV || a?.className === s.PALLET;
|
|
11
|
-
}
|
|
12
|
-
function c(a) {
|
|
13
|
-
return a?.className === s.SHUTTLE_STATION || a?.className === s.MATERIAL_TRACK;
|
|
14
|
-
}
|
|
15
|
-
function N(a) {
|
|
16
|
-
return a?.className === s.SINGLE_JOINT_ROBOT || a?.className === s.DOUBLE_JOINT_ROBOT;
|
|
17
|
-
}
|
|
18
|
-
function T(a) {
|
|
19
|
-
return a?.className === s.RAIL;
|
|
20
|
-
}
|
|
21
|
-
function m(a) {
|
|
22
|
-
return a?.className === s.SHUTTLE_STATION;
|
|
23
|
-
}
|
|
24
|
-
function r(a) {
|
|
25
|
-
return a?.className === s.PALLET;
|
|
26
|
-
}
|
|
1
|
+
import { c as e, b as t, d as o, E as n, a as r, k as i, m as l, i as p, o as c, p as m, h as u, l as g, j as h, n as S, s as x, e as L, t as d, g as C, f as E } from "./index-Dsgrnpn0.js";
|
|
2
|
+
import { c as T, h as f, b, i as y, f as G, d as R, e as v, a as F } from "./guards-aLOXCeCF.js";
|
|
27
3
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
4
|
+
e as EnumComponent,
|
|
5
|
+
t as EnumModel,
|
|
6
|
+
o as EnumResourceType,
|
|
7
|
+
n as EnumStepType,
|
|
8
|
+
r as EnumTag,
|
|
9
|
+
i as compactCase,
|
|
10
|
+
l as compactCases,
|
|
11
|
+
p as createLogger,
|
|
12
|
+
c as expandCase,
|
|
13
|
+
m as expandCases,
|
|
14
|
+
u as getLogLevel,
|
|
15
|
+
T as hasFixtureChange,
|
|
16
|
+
f as hasStationSlotGroup,
|
|
17
|
+
b as hasStationSlotLayers,
|
|
18
|
+
y as isMachineTool,
|
|
19
|
+
G as isPallet,
|
|
20
|
+
R as isRail,
|
|
21
|
+
v as isShuttleStation,
|
|
22
|
+
F as isStationSlotGroupBoth,
|
|
23
|
+
g as linearIncrease,
|
|
24
|
+
h as logger,
|
|
25
|
+
S as numberLoopGenerator,
|
|
50
26
|
x as setLogLevel,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
27
|
+
L as transFraction,
|
|
28
|
+
d as transPercentAndPixel,
|
|
29
|
+
C as transPercentToPixel,
|
|
30
|
+
E as transRuntimeToPixel
|
|
55
31
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"caseId": "e213398c-217a-40f3-9ee0-3aea08e46a5a",
|
|
4
4
|
"caseName": "测试运行",
|
|
5
5
|
"fileUrl": "public/lingshu-smart/wsProxyConfig.json",
|
|
6
|
-
"version": "0.0
|
|
6
|
+
"version": "1.0.0",
|
|
7
7
|
"dataSource": "builtin",
|
|
8
8
|
"wsUrl": "",
|
|
9
9
|
"requestMode": "direct",
|
|
@@ -139,6 +139,13 @@
|
|
|
139
139
|
"resourceIds": "data"
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
|
+
{
|
|
143
|
+
"sourceType": "resetAll",
|
|
144
|
+
"className": "ResetAll",
|
|
145
|
+
"enabled": true,
|
|
146
|
+
"operate": "resetAll",
|
|
147
|
+
"mappings": []
|
|
148
|
+
},
|
|
142
149
|
{
|
|
143
150
|
"sourceType": "Rail",
|
|
144
151
|
"className": "Rail",
|
|
@@ -597,9 +604,9 @@
|
|
|
597
604
|
"caseId": "07940f5e-93fd-40c5-85f7-56b4d3fe838b",
|
|
598
605
|
"caseName": "中央刀具库(丝路厂区)",
|
|
599
606
|
"fileUrl": "public/lingshu-smart/wsProxyConfig.json",
|
|
600
|
-
"version": "0.0
|
|
607
|
+
"version": "1.0.0",
|
|
601
608
|
"dataSource": "builtin",
|
|
602
|
-
"wsUrl": "ws://192.168.1.
|
|
609
|
+
"wsUrl": "ws://192.168.1.40:5001/ws/monitor?page=ctsMonitor",
|
|
603
610
|
"carryToken": true,
|
|
604
611
|
"requestMode": "direct",
|
|
605
612
|
"autoConnect": true,
|
|
@@ -607,10 +614,12 @@
|
|
|
607
614
|
"sourceTypeField": "type",
|
|
608
615
|
"heartbeatInterval": 0,
|
|
609
616
|
"modelMap": {
|
|
610
|
-
"
|
|
611
|
-
"
|
|
617
|
+
"0": "SingleJointRobot",
|
|
618
|
+
"1": "Pallet",
|
|
619
|
+
"2": "ShuttleStation",
|
|
620
|
+
"4": "ResourceStore",
|
|
612
621
|
"5": "ResourceOperationWindow",
|
|
613
|
-
"
|
|
622
|
+
"6": "MaterialTrack"
|
|
614
623
|
},
|
|
615
624
|
"rules": [
|
|
616
625
|
{
|
|
@@ -951,19 +960,13 @@
|
|
|
951
960
|
"target": "resource.name",
|
|
952
961
|
"source": "",
|
|
953
962
|
"transform": "constant",
|
|
954
|
-
"constant": "
|
|
963
|
+
"constant": "C"
|
|
955
964
|
},
|
|
956
965
|
{
|
|
957
966
|
"target": "resource.color",
|
|
958
967
|
"source": "status",
|
|
959
|
-
"transform": "
|
|
960
|
-
"
|
|
961
|
-
{
|
|
962
|
-
"operator": "eq",
|
|
963
|
-
"operand": "1",
|
|
964
|
-
"value": "#f30"
|
|
965
|
-
}
|
|
966
|
-
]
|
|
968
|
+
"transform": "dictColor",
|
|
969
|
+
"dictName": "toolStatus"
|
|
967
970
|
},
|
|
968
971
|
{
|
|
969
972
|
"target": "resource.index",
|
|
@@ -973,23 +976,26 @@
|
|
|
973
976
|
"remove": [
|
|
974
977
|
{
|
|
975
978
|
"target": "className",
|
|
976
|
-
"source": "
|
|
979
|
+
"source": "o_deviceType",
|
|
980
|
+
"transform": "modelMap"
|
|
977
981
|
},
|
|
978
982
|
{
|
|
979
983
|
"target": "id",
|
|
980
|
-
"source": "
|
|
984
|
+
"source": "o_deviceId"
|
|
981
985
|
},
|
|
982
986
|
{
|
|
983
987
|
"target": "resource.resourceType",
|
|
984
|
-
"source": "
|
|
988
|
+
"source": "",
|
|
989
|
+
"transform": "constant",
|
|
990
|
+
"constant": "Tool"
|
|
985
991
|
},
|
|
986
992
|
{
|
|
987
993
|
"target": "resource.resourceId",
|
|
988
|
-
"source": "
|
|
994
|
+
"source": "id"
|
|
989
995
|
},
|
|
990
996
|
{
|
|
991
997
|
"target": "resource.index",
|
|
992
|
-
"source": "
|
|
998
|
+
"source": "o_station"
|
|
993
999
|
}
|
|
994
1000
|
]
|
|
995
1001
|
}
|
|
@@ -1004,6 +1010,13 @@
|
|
|
1004
1010
|
"resourceIds": "data"
|
|
1005
1011
|
}
|
|
1006
1012
|
},
|
|
1013
|
+
{
|
|
1014
|
+
"sourceType": "resetAll",
|
|
1015
|
+
"className": "ResetAll",
|
|
1016
|
+
"enabled": true,
|
|
1017
|
+
"operate": "resetAll",
|
|
1018
|
+
"mappings": []
|
|
1019
|
+
},
|
|
1007
1020
|
{
|
|
1008
1021
|
"sourceType": "5",
|
|
1009
1022
|
"className": "ResourceOperationWindow",
|