@fleet-frontend/mower-maps 0.2.5-beta.22 → 0.2.5-beta.24

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
@@ -18664,39 +18664,44 @@ function calculateMapGpsCenter(mapData) {
18664
18664
  }
18665
18665
  }
18666
18666
  // 如果有西南角和东北角坐标,检查其有效性并计算中心点
18667
- if (mapData.sw_gps &&
18668
- mapData.ne_gps &&
18669
- mapData.sw_gps.length >= 2 &&
18670
- mapData.ne_gps.length >= 2) {
18671
- const swLat = mapData.sw_gps[1];
18672
- const swLng = mapData.sw_gps[0];
18673
- const neLat = mapData.ne_gps[1];
18674
- const neLng = mapData.ne_gps[0];
18675
- // 检查边界坐标的有效性
18676
- if (isValidGpsCoordinate(swLat, swLng) && isValidGpsCoordinate(neLat, neLng)) {
18677
- return {
18678
- lat: (swLat + neLat) / 2,
18679
- lng: (swLng + neLng) / 2,
18680
- };
18681
- }
18682
- else {
18683
- console.warn('sw_gps或ne_gps坐标无效:', {
18684
- sw: { lat: swLat, lng: swLng },
18685
- ne: { lat: neLat, lng: neLng },
18686
- });
18687
- }
18688
- }
18667
+ // if (
18668
+ // mapData.sw_gps &&
18669
+ // mapData.ne_gps &&
18670
+ // mapData.sw_gps.length >= 2 &&
18671
+ // mapData.ne_gps.length >= 2
18672
+ // ) {
18673
+ // const swLat = mapData.sw_gps[1];
18674
+ // const swLng = mapData.sw_gps[0];
18675
+ // const neLat = mapData.ne_gps[1];
18676
+ // const neLng = mapData.ne_gps[0];
18677
+ // // 检查边界坐标的有效性
18678
+ // if (isValidGpsCoordinate(swLat, swLng) && isValidGpsCoordinate(neLat, neLng)) {
18679
+ // return {
18680
+ // lat: (swLat + neLat) / 2,
18681
+ // lng: (swLng + neLng) / 2,
18682
+ // };
18683
+ // } else {
18684
+ // console.warn('sw_gps或ne_gps坐标无效:', {
18685
+ // sw: { lat: swLat, lng: swLng },
18686
+ // ne: { lat: neLat, lng: neLng },
18687
+ // });
18688
+ // }
18689
+ // }
18689
18690
  // 尝试从地图几何边界估算GPS坐标
18690
- const estimatedBounds = estimateGpsFromMapBounds(mapData);
18691
- if (estimatedBounds) {
18692
- // 从估算的边界计算中心点
18693
- const centerLat = (estimatedBounds.sw[1] + estimatedBounds.ne[1]) / 2;
18694
- const centerLng = (estimatedBounds.sw[0] + estimatedBounds.ne[0]) / 2;
18695
- return { lat: centerLat, lng: centerLng };
18696
- }
18691
+ // const estimatedBounds = estimateGpsFromMapBounds(mapData);
18692
+ // if (estimatedBounds) {
18693
+ // // 从估算的边界计算中心点
18694
+ // const centerLat = (estimatedBounds.sw[1] + estimatedBounds.ne[1]) / 2;
18695
+ // const centerLng = (estimatedBounds.sw[0] + estimatedBounds.ne[0]) / 2;
18696
+ // return { lat: centerLat, lng: centerLng };
18697
+ // }
18698
+ // return {
18699
+ // lat: 39.9042, // 北京纬度
18700
+ // lng: 116.4074, // 北京经度
18701
+ // };
18697
18702
  return {
18698
- lat: 39.9042, // 北京纬度
18699
- lng: 116.4074, // 北京经度
18703
+ lat: 0,
18704
+ lng: 0,
18700
18705
  };
18701
18706
  }
18702
18707
  // 旋转坐标点
@@ -18746,30 +18751,31 @@ const getValidGpsBounds = (mapData, rotation = 0) => {
18746
18751
  ne: [neLng, neLat],
18747
18752
  };
18748
18753
  }
18749
- else if (isValidGpsCoordinate(mapData.sw_gps?.[1], mapData.sw_gps?.[0]) &&
18750
- isValidGpsCoordinate(mapData.ne_gps?.[1], mapData.ne_gps?.[0])) {
18751
- // 降级方案:使用地图数据中的GPS坐标
18752
- console.warn('center_gps map_width/map_height 不可用,使用 sw_gps 和 ne_gps');
18753
- bounds = {
18754
- sw: mapData.sw_gps,
18755
- ne: mapData.ne_gps,
18756
- };
18757
- }
18754
+ // else if (
18755
+ // isValidGpsCoordinate(mapData.sw_gps?.[1], mapData.sw_gps?.[0]) &&
18756
+ // isValidGpsCoordinate(mapData.ne_gps?.[1], mapData.ne_gps?.[0])
18757
+ // ) {
18758
+ // // 降级方案:使用地图数据中的GPS坐标
18759
+ // console.warn('center_gps 或 map_width/map_height 不可用,使用 sw_gps 和 ne_gps');
18760
+ // bounds = {
18761
+ // sw: mapData.sw_gps,
18762
+ // ne: mapData.ne_gps,
18763
+ // };
18764
+ // }
18758
18765
  else {
18759
18766
  // 如果GPS坐标无效,尝试从地图几何数据估算
18760
- const { sw, ne } = estimateGpsFromMapBounds(mapData);
18761
- if (sw && ne) {
18762
- console.warn('GPS坐标无效,使用地图几何数据估算边界:', sw, ne);
18763
- bounds = {
18764
- sw: [sw[0], sw[1]],
18765
- ne: [ne[0], ne[1]],
18766
- };
18767
- }
18768
- else {
18769
- // 最后的fallback:使用默认坐标
18770
- console.warn('无法获取有效的GPS边界,使用默认坐标');
18771
- bounds = DEFAULT_COORDINATES;
18772
- }
18767
+ // const { sw, ne } = estimateGpsFromMapBounds(mapData);
18768
+ // if (sw && ne) {
18769
+ // console.warn('GPS坐标无效,使用地图几何数据估算边界:', sw, ne);
18770
+ // bounds = {
18771
+ // sw: [sw[0], sw[1]],
18772
+ // ne: [ne[0], ne[1]],
18773
+ // };
18774
+ // } else {
18775
+ // 最后的fallback:使用默认坐标
18776
+ console.warn('无法获取有效的GPS边界,使用默认坐标');
18777
+ bounds = DEFAULT_COORDINATES;
18778
+ // }
18773
18779
  }
18774
18780
  // 如果有旋转角度,计算旋转后的边界
18775
18781
  if (rotation !== 0) {
@@ -19202,7 +19208,7 @@ function getMowerImage(positonConfig, mowerIconConfig, modelType, hasEdger) {
19202
19208
  const mowerImage = mowerIconConfig?.mapImgUrl || getMowerImageByModal(model, hasEdger);
19203
19209
  const disabledImage = mowerIconConfig?.mapDisabledUrl || getDisabledMowerImageByModal(model);
19204
19210
  const noPositionImage = mowerIconConfig?.mapNoPositionUrl || getNoPositionMowerImageByModal(model);
19205
- const positonOutOfRange = isOutOfRange(positonConfig);
19211
+ // const positonOutOfRange = isOutOfRange(positonConfig);
19206
19212
  const positionValid = isInvalidPosition(positonConfig);
19207
19213
  const isOffLine = state === RobotStatus.DISCONNECTED;
19208
19214
  const isInPark = state === RobotStatus.CHARGING || state === RobotStatus.PARKED;
@@ -19212,7 +19218,7 @@ function getMowerImage(positonConfig, mowerIconConfig, modelType, hasEdger) {
19212
19218
  if (isInPark) {
19213
19219
  return mowerImage;
19214
19220
  }
19215
- if (positionValid || positonOutOfRange) {
19221
+ if (positionValid) {
19216
19222
  return noPositionImage;
19217
19223
  }
19218
19224
  else {
@@ -19236,12 +19242,6 @@ function isInvalidPosition(positonConfig) {
19236
19242
  isNoPosture(positonConfig.postureY) &&
19237
19243
  isNoPosture(positonConfig.postureTheta));
19238
19244
  }
19239
- function isOutOfRange(positonConfig) {
19240
- return (positonConfig.postureX != null &&
19241
- Math.abs(positonConfig.postureX) > 1000 &&
19242
- positonConfig.postureY != null &&
19243
- Math.abs(positonConfig.postureY) > 1000);
19244
- }
19245
19245
  function getMindistanceByModel(modelType) {
19246
19246
  if (isIModel(modelType)) {
19247
19247
  return I_MIN_DISTANCE;
@@ -23208,7 +23208,19 @@ function bytesToWebSafeBase64(bytes) {
23208
23208
  return makeWebSafe(globalThis.btoa(binary));
23209
23209
  }
23210
23210
  function utf8Encode(text) {
23211
- return new globalThis.TextEncoder().encode(text);
23211
+ if (typeof globalThis.TextEncoder !== 'undefined') {
23212
+ return new globalThis.TextEncoder().encode(text);
23213
+ }
23214
+ // Static Map URL 仅含 ASCII;兼容无 TextEncoder 的旧 WebView / Jest jsdom
23215
+ const bytes = new Uint8Array(text.length);
23216
+ for (let i = 0; i < text.length; i++) {
23217
+ const code = text.charCodeAt(i);
23218
+ if (code > 127) {
23219
+ throw new Error('signGoogleStaticMapUrl: non-ASCII URL is not supported in this environment');
23220
+ }
23221
+ bytes[i] = code;
23222
+ }
23223
+ return bytes;
23212
23224
  }
23213
23225
  function concatBytes(...parts) {
23214
23226
  const total = parts.reduce((sum, part) => sum + part.length, 0);
@@ -27922,10 +27934,10 @@ const usePosition = ({ mowerPositionData, viewBox, modelType, hasEdger, mapData,
27922
27934
  }
27923
27935
  else {
27924
27936
  // 检查位置是否有效
27925
- const positionOutOfRange = isOutOfRange(mowerPositionData);
27937
+ // const positionOutOfRange = isOutOfRange(mowerPositionData);
27926
27938
  const positionInvalid = isInvalidPosition(mowerPositionData);
27927
27939
  const isStandby = mowerPositionData.vehicleState === RobotStatus.STANDBY;
27928
- if (positionOutOfRange || positionInvalid || isOffLine) {
27940
+ if (positionInvalid || isOffLine) {
27929
27941
  // 位置无效时,尝试使用上次位置或充电桩位置
27930
27942
  updatePositionByLastPosition(mowerPositionData);
27931
27943
  }
package/dist/index.js CHANGED
@@ -18684,39 +18684,44 @@ function calculateMapGpsCenter(mapData) {
18684
18684
  }
18685
18685
  }
18686
18686
  // 如果有西南角和东北角坐标,检查其有效性并计算中心点
18687
- if (mapData.sw_gps &&
18688
- mapData.ne_gps &&
18689
- mapData.sw_gps.length >= 2 &&
18690
- mapData.ne_gps.length >= 2) {
18691
- const swLat = mapData.sw_gps[1];
18692
- const swLng = mapData.sw_gps[0];
18693
- const neLat = mapData.ne_gps[1];
18694
- const neLng = mapData.ne_gps[0];
18695
- // 检查边界坐标的有效性
18696
- if (isValidGpsCoordinate(swLat, swLng) && isValidGpsCoordinate(neLat, neLng)) {
18697
- return {
18698
- lat: (swLat + neLat) / 2,
18699
- lng: (swLng + neLng) / 2,
18700
- };
18701
- }
18702
- else {
18703
- console.warn('sw_gps或ne_gps坐标无效:', {
18704
- sw: { lat: swLat, lng: swLng },
18705
- ne: { lat: neLat, lng: neLng },
18706
- });
18707
- }
18708
- }
18687
+ // if (
18688
+ // mapData.sw_gps &&
18689
+ // mapData.ne_gps &&
18690
+ // mapData.sw_gps.length >= 2 &&
18691
+ // mapData.ne_gps.length >= 2
18692
+ // ) {
18693
+ // const swLat = mapData.sw_gps[1];
18694
+ // const swLng = mapData.sw_gps[0];
18695
+ // const neLat = mapData.ne_gps[1];
18696
+ // const neLng = mapData.ne_gps[0];
18697
+ // // 检查边界坐标的有效性
18698
+ // if (isValidGpsCoordinate(swLat, swLng) && isValidGpsCoordinate(neLat, neLng)) {
18699
+ // return {
18700
+ // lat: (swLat + neLat) / 2,
18701
+ // lng: (swLng + neLng) / 2,
18702
+ // };
18703
+ // } else {
18704
+ // console.warn('sw_gps或ne_gps坐标无效:', {
18705
+ // sw: { lat: swLat, lng: swLng },
18706
+ // ne: { lat: neLat, lng: neLng },
18707
+ // });
18708
+ // }
18709
+ // }
18709
18710
  // 尝试从地图几何边界估算GPS坐标
18710
- const estimatedBounds = estimateGpsFromMapBounds(mapData);
18711
- if (estimatedBounds) {
18712
- // 从估算的边界计算中心点
18713
- const centerLat = (estimatedBounds.sw[1] + estimatedBounds.ne[1]) / 2;
18714
- const centerLng = (estimatedBounds.sw[0] + estimatedBounds.ne[0]) / 2;
18715
- return { lat: centerLat, lng: centerLng };
18716
- }
18711
+ // const estimatedBounds = estimateGpsFromMapBounds(mapData);
18712
+ // if (estimatedBounds) {
18713
+ // // 从估算的边界计算中心点
18714
+ // const centerLat = (estimatedBounds.sw[1] + estimatedBounds.ne[1]) / 2;
18715
+ // const centerLng = (estimatedBounds.sw[0] + estimatedBounds.ne[0]) / 2;
18716
+ // return { lat: centerLat, lng: centerLng };
18717
+ // }
18718
+ // return {
18719
+ // lat: 39.9042, // 北京纬度
18720
+ // lng: 116.4074, // 北京经度
18721
+ // };
18717
18722
  return {
18718
- lat: 39.9042, // 北京纬度
18719
- lng: 116.4074, // 北京经度
18723
+ lat: 0,
18724
+ lng: 0,
18720
18725
  };
18721
18726
  }
18722
18727
  // 旋转坐标点
@@ -18766,30 +18771,31 @@ const getValidGpsBounds = (mapData, rotation = 0) => {
18766
18771
  ne: [neLng, neLat],
18767
18772
  };
18768
18773
  }
18769
- else if (isValidGpsCoordinate(mapData.sw_gps?.[1], mapData.sw_gps?.[0]) &&
18770
- isValidGpsCoordinate(mapData.ne_gps?.[1], mapData.ne_gps?.[0])) {
18771
- // 降级方案:使用地图数据中的GPS坐标
18772
- console.warn('center_gps map_width/map_height 不可用,使用 sw_gps 和 ne_gps');
18773
- bounds = {
18774
- sw: mapData.sw_gps,
18775
- ne: mapData.ne_gps,
18776
- };
18777
- }
18774
+ // else if (
18775
+ // isValidGpsCoordinate(mapData.sw_gps?.[1], mapData.sw_gps?.[0]) &&
18776
+ // isValidGpsCoordinate(mapData.ne_gps?.[1], mapData.ne_gps?.[0])
18777
+ // ) {
18778
+ // // 降级方案:使用地图数据中的GPS坐标
18779
+ // console.warn('center_gps 或 map_width/map_height 不可用,使用 sw_gps 和 ne_gps');
18780
+ // bounds = {
18781
+ // sw: mapData.sw_gps,
18782
+ // ne: mapData.ne_gps,
18783
+ // };
18784
+ // }
18778
18785
  else {
18779
18786
  // 如果GPS坐标无效,尝试从地图几何数据估算
18780
- const { sw, ne } = estimateGpsFromMapBounds(mapData);
18781
- if (sw && ne) {
18782
- console.warn('GPS坐标无效,使用地图几何数据估算边界:', sw, ne);
18783
- bounds = {
18784
- sw: [sw[0], sw[1]],
18785
- ne: [ne[0], ne[1]],
18786
- };
18787
- }
18788
- else {
18789
- // 最后的fallback:使用默认坐标
18790
- console.warn('无法获取有效的GPS边界,使用默认坐标');
18791
- bounds = DEFAULT_COORDINATES;
18792
- }
18787
+ // const { sw, ne } = estimateGpsFromMapBounds(mapData);
18788
+ // if (sw && ne) {
18789
+ // console.warn('GPS坐标无效,使用地图几何数据估算边界:', sw, ne);
18790
+ // bounds = {
18791
+ // sw: [sw[0], sw[1]],
18792
+ // ne: [ne[0], ne[1]],
18793
+ // };
18794
+ // } else {
18795
+ // 最后的fallback:使用默认坐标
18796
+ console.warn('无法获取有效的GPS边界,使用默认坐标');
18797
+ bounds = DEFAULT_COORDINATES;
18798
+ // }
18793
18799
  }
18794
18800
  // 如果有旋转角度,计算旋转后的边界
18795
18801
  if (rotation !== 0) {
@@ -19222,7 +19228,7 @@ function getMowerImage(positonConfig, mowerIconConfig, modelType, hasEdger) {
19222
19228
  const mowerImage = mowerIconConfig?.mapImgUrl || getMowerImageByModal(model, hasEdger);
19223
19229
  const disabledImage = mowerIconConfig?.mapDisabledUrl || getDisabledMowerImageByModal(model);
19224
19230
  const noPositionImage = mowerIconConfig?.mapNoPositionUrl || getNoPositionMowerImageByModal(model);
19225
- const positonOutOfRange = isOutOfRange(positonConfig);
19231
+ // const positonOutOfRange = isOutOfRange(positonConfig);
19226
19232
  const positionValid = isInvalidPosition(positonConfig);
19227
19233
  const isOffLine = state === RobotStatus.DISCONNECTED;
19228
19234
  const isInPark = state === RobotStatus.CHARGING || state === RobotStatus.PARKED;
@@ -19232,7 +19238,7 @@ function getMowerImage(positonConfig, mowerIconConfig, modelType, hasEdger) {
19232
19238
  if (isInPark) {
19233
19239
  return mowerImage;
19234
19240
  }
19235
- if (positionValid || positonOutOfRange) {
19241
+ if (positionValid) {
19236
19242
  return noPositionImage;
19237
19243
  }
19238
19244
  else {
@@ -19256,12 +19262,6 @@ function isInvalidPosition(positonConfig) {
19256
19262
  isNoPosture(positonConfig.postureY) &&
19257
19263
  isNoPosture(positonConfig.postureTheta));
19258
19264
  }
19259
- function isOutOfRange(positonConfig) {
19260
- return (positonConfig.postureX != null &&
19261
- Math.abs(positonConfig.postureX) > 1000 &&
19262
- positonConfig.postureY != null &&
19263
- Math.abs(positonConfig.postureY) > 1000);
19264
- }
19265
19265
  function getMindistanceByModel(modelType) {
19266
19266
  if (isIModel(modelType)) {
19267
19267
  return I_MIN_DISTANCE;
@@ -23228,7 +23228,19 @@ function bytesToWebSafeBase64(bytes) {
23228
23228
  return makeWebSafe(globalThis.btoa(binary));
23229
23229
  }
23230
23230
  function utf8Encode(text) {
23231
- return new globalThis.TextEncoder().encode(text);
23231
+ if (typeof globalThis.TextEncoder !== 'undefined') {
23232
+ return new globalThis.TextEncoder().encode(text);
23233
+ }
23234
+ // Static Map URL 仅含 ASCII;兼容无 TextEncoder 的旧 WebView / Jest jsdom
23235
+ const bytes = new Uint8Array(text.length);
23236
+ for (let i = 0; i < text.length; i++) {
23237
+ const code = text.charCodeAt(i);
23238
+ if (code > 127) {
23239
+ throw new Error('signGoogleStaticMapUrl: non-ASCII URL is not supported in this environment');
23240
+ }
23241
+ bytes[i] = code;
23242
+ }
23243
+ return bytes;
23232
23244
  }
23233
23245
  function concatBytes(...parts) {
23234
23246
  const total = parts.reduce((sum, part) => sum + part.length, 0);
@@ -27942,10 +27954,10 @@ const usePosition = ({ mowerPositionData, viewBox, modelType, hasEdger, mapData,
27942
27954
  }
27943
27955
  else {
27944
27956
  // 检查位置是否有效
27945
- const positionOutOfRange = isOutOfRange(mowerPositionData);
27957
+ // const positionOutOfRange = isOutOfRange(mowerPositionData);
27946
27958
  const positionInvalid = isInvalidPosition(mowerPositionData);
27947
27959
  const isStandby = mowerPositionData.vehicleState === RobotStatus.STANDBY;
27948
- if (positionOutOfRange || positionInvalid || isOffLine) {
27960
+ if (positionInvalid || isOffLine) {
27949
27961
  // 位置无效时,尝试使用上次位置或充电桩位置
27950
27962
  updatePositionByLastPosition(mowerPositionData);
27951
27963
  }
@@ -1 +1 @@
1
- {"version":3,"file":"googleStaticMapSign.d.ts","sourceRoot":"","sources":["../../src/utils/googleStaticMapSign.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA4JH;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,CAU7F;AAED,wDAAwD;AACxD,wBAAsB,sBAAsB,CAC1C,QAAQ,EAAE,MAAM,EAChB,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,CAAC,CAEjB"}
1
+ {"version":3,"file":"googleStaticMapSign.d.ts","sourceRoot":"","sources":["../../src/utils/googleStaticMapSign.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAwKH;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,C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IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAwDpF;AAsBD,eAAO,MAAM,iBAAiB,GAC5B,SAAS,GAAG,EACZ,WAAU,MAAU,KACnB;IAAE,EAAE,EAAE,MAAM,EAAE,CAAC;IAAC,EAAE,EAAE,MAAM,EAAE,CAAA;CA4F9B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleet-frontend/mower-maps",
3
- "version": "0.2.5-beta.22",
3
+ "version": "0.2.5-beta.24",
4
4
  "type": "module",
5
5
  "description": "a mower maps in google maps",
6
6
  "main": "dist/index.js",