@fleet-frontend/mower-maps 0.2.5-beta.19 → 0.2.5-beta.20
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/dist/index.esm.js
CHANGED
|
@@ -29948,7 +29948,10 @@ modelType, showStraddleBoundaryBorder = true, mapRef, mapJson, pathJson, realTim
|
|
|
29948
29948
|
// 如果当前是taskDelay的状态,或者状态为mowing或者standby,则指定的地块需要高亮,或者全局高亮
|
|
29949
29949
|
if ((isTaskDelayRef.current ||
|
|
29950
29950
|
positionData?.vehicleState === RobotStatus.MOWING ||
|
|
29951
|
-
positionData?.vehicleState === RobotStatus.STANDBY
|
|
29951
|
+
positionData?.vehicleState === RobotStatus.STANDBY ||
|
|
29952
|
+
(!positionData &&
|
|
29953
|
+
(currentVehicleStateRef.current === RobotStatus.MOWING ||
|
|
29954
|
+
currentVehicleStateRef.current === RobotStatus.STANDBY))) &&
|
|
29952
29955
|
mowPartitionDataRef.current &&
|
|
29953
29956
|
!mowPartitionDataRef.current?.partitionIds) {
|
|
29954
29957
|
// 设置全局高亮
|
package/dist/index.js
CHANGED
|
@@ -29968,7 +29968,10 @@ modelType, showStraddleBoundaryBorder = true, mapRef, mapJson, pathJson, realTim
|
|
|
29968
29968
|
// 如果当前是taskDelay的状态,或者状态为mowing或者standby,则指定的地块需要高亮,或者全局高亮
|
|
29969
29969
|
if ((isTaskDelayRef.current ||
|
|
29970
29970
|
positionData?.vehicleState === RobotStatus.MOWING ||
|
|
29971
|
-
positionData?.vehicleState === RobotStatus.STANDBY
|
|
29971
|
+
positionData?.vehicleState === RobotStatus.STANDBY ||
|
|
29972
|
+
(!positionData &&
|
|
29973
|
+
(currentVehicleStateRef.current === RobotStatus.MOWING ||
|
|
29974
|
+
currentVehicleStateRef.current === RobotStatus.STANDBY))) &&
|
|
29972
29975
|
mowPartitionDataRef.current &&
|
|
29973
29976
|
!mowPartitionDataRef.current?.partitionIds) {
|
|
29974
29977
|
// 设置全局高亮
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MowerMapRenderer.d.ts","sourceRoot":"","sources":["../../src/render/MowerMapRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAC;AAwBf,OAAO,EAGL,qBAAqB,EACrB,mBAAmB,EAEpB,MAAM,mBAAmB,CAAC;AA0B3B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,MAAM,EAAE,GAAG,CAAC;KACb;CACF;AAMD,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"MowerMapRenderer.d.ts","sourceRoot":"","sources":["../../src/render/MowerMapRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAC;AAwBf,OAAO,EAGL,qBAAqB,EACrB,mBAAmB,EAEpB,MAAM,mBAAmB,CAAC;AA0B3B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,MAAM,EAAE,GAAG,CAAC;KACb;CACF;AAMD,eAAO,MAAM,gBAAgB,mGAq0B5B,CAAC;AAIF,eAAe,gBAAgB,CAAC;AAChC,YAAY,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,CAAC"}
|