@fleet-frontend/mower-maps 0.2.5-beta.11 → 0.2.5-beta.12

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
@@ -24139,7 +24139,7 @@ const createPathData = (points) => {
24139
24139
  };
24140
24140
  const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor = 'rgba(0, 0, 0, 0.1)', hoverFillColor = '', fillOpacity = 1, strokeColor = '#000', strokeWidth = 2, strokeOpacity = 1, createMode = false, showPoints = false, onPointClick, completed = false, mousePos = null, editMode = false, onCoordinatesChange, onPathClick, onPolygonClick, onVertexDelete, draggable = true, // 新增参数,如果未指定则根据createMode和editMode自动判断
24141
24141
  }) => {
24142
- const { overlayScale, unitType, showStraddleBoundaryBorder, platform, onH5FirstSelectObstaclePoint } = useCommonContext();
24142
+ const { overlayScale, unitType, showStraddleBoundaryBorder, platform, onH5FirstSelectObstaclePoint, } = useCommonContext();
24143
24143
  const { onHandleEvent } = useMapEditContext();
24144
24144
  const { svgRef } = useSvgEditContext();
24145
24145
  const [dragState, setDragState] = useState({
@@ -24191,7 +24191,7 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24191
24191
  const rect = target.getBoundingClientRect();
24192
24192
  setTooltipPos({
24193
24193
  x: rect.left + rect.width + 4,
24194
- y: rect.top - 10
24194
+ y: rect.top - 10,
24195
24195
  });
24196
24196
  };
24197
24197
  // 处理顶点点击(仅透出点击;不触发删除)
@@ -24326,6 +24326,10 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24326
24326
  edgeInfo: edgeInfo,
24327
24327
  dragType: 'new',
24328
24328
  });
24329
+ // H5 禁区:边上长按/点击插入新顶点后与「长按选中顶点」共用震动(pending + useLayoutEffect)
24330
+ if (platform === PlatformType.H5 && editMapInfo?.elementType === DataType.OBSTACLE) {
24331
+ pendingH5ObstacleSelectHapticRef.current = true;
24332
+ }
24329
24333
  // 将新创建的点设为选中态,便于后续直接拖拽
24330
24334
  setSelectedVertexIndex(insertIndex);
24331
24335
  }, [
@@ -24336,6 +24340,8 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24336
24340
  coordinates,
24337
24341
  getSVGCoordinates,
24338
24342
  calculatePerpendicularFoot$1,
24343
+ platform,
24344
+ editMapInfo?.elementType,
24339
24345
  ]);
24340
24346
  // H5平台长按边线创建新顶点
24341
24347
  const handleEdgeLongPressStart = useCallback((e, edgeStartIndex) => {
@@ -24737,7 +24743,7 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24737
24743
  WebkitTouchCallout: 'none',
24738
24744
  touchAction: 'none',
24739
24745
  } })] }));
24740
- })()] })), renderCoordinates.length >= 2 && (jsx("polygon", { className: canSelect ? styles$6.pointerCursor : '', points: polygonPoints, fill: isHover ? (hoverFillColor || fillColor) : fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
24746
+ })()] })), renderCoordinates.length >= 2 && (jsx("polygon", { className: canSelect ? styles$6.pointerCursor : '', points: polygonPoints, fill: isHover ? hoverFillColor || fillColor : fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
24741
24747
  , onClick: onPolygonClick })), jsx("g", { children: renderCoordinates.length >= 2 &&
24742
24748
  pathSegments.map((segment, index) => {
24743
24749
  if (segment.points.length < 2)
@@ -24763,12 +24769,27 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24763
24769
  renderCoordinates.map((coord, index) => {
24764
24770
  const nextCoord = renderCoordinates[(index + 1) % renderCoordinates.length];
24765
24771
  const isDashPath = coord[2] === 1;
24766
- return (jsx("line", { x1: coord[0], y1: coord[1], x2: nextCoord[0], y2: nextCoord[1], stroke: isDashPath ? 'transparent' : strokeColor, strokeWidth: platform === PlatformType.H5 ? strokeWidth * 3 : strokeWidth, className: editMode ? styles$6.pointerCursor : '', style: {
24767
- userSelect: 'none',
24768
- WebkitUserSelect: 'none',
24769
- WebkitTouchCallout: 'none',
24770
- touchAction: 'none',
24771
- }, vectorEffect: "non-scaling-stroke", ...(platform === PlatformType.H5
24772
+ const edgeLineCommon = {
24773
+ x1: coord[0],
24774
+ y1: coord[1],
24775
+ x2: nextCoord[0],
24776
+ y2: nextCoord[1],
24777
+ };
24778
+ const edgeLineStyle = {
24779
+ userSelect: 'none',
24780
+ WebkitUserSelect: 'none',
24781
+ WebkitTouchCallout: 'none',
24782
+ touchAction: 'none',
24783
+ };
24784
+ // H5 实线:透明粗线仅作长按热区,描边只看上方 path;H5 虚线/Web:沿用透明或主题色边线 + 对应事件(合并为一个 line,避免两段重复)
24785
+ const isH5SolidHitOnly = platform === PlatformType.H5 && ((editMode && !isDashPath) || createMode);
24786
+ const edgeStroke = isH5SolidHitOnly || isDashPath ? 'transparent' : strokeColor;
24787
+ const edgeStrokeWidth = isH5SolidHitOnly
24788
+ ? strokeWidth * 12
24789
+ : platform === PlatformType.H5
24790
+ ? strokeWidth * 2
24791
+ : strokeWidth;
24792
+ return (jsx("line", { ...edgeLineCommon, stroke: edgeStroke, strokeWidth: edgeStrokeWidth, ...(isH5SolidHitOnly ? { strokeLinecap: 'round' } : {}), className: editMode ? styles$6.pointerCursor : '', style: edgeLineStyle, vectorEffect: "non-scaling-stroke", ...(platform === PlatformType.H5
24772
24793
  ? {
24773
24794
  onTouchStart: createReactEventHandler((e) => handleEdgeLongPressStart(e, index)),
24774
24795
  onTouchEnd: createReactEventHandler(() => handleEdgeLongPressEnd()),
@@ -24915,13 +24936,17 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24915
24936
  }
24916
24937
  }
24917
24938
  },
24918
- onMouseEnter: canComplete ? (e) => {
24919
- setCompleteTooltipOpen(true);
24920
- updateTooltipPos(e.target);
24921
- } : undefined,
24922
- onMouseLeave: canComplete ? () => {
24923
- setCompleteTooltipOpen(false);
24924
- } : undefined,
24939
+ onMouseEnter: canComplete
24940
+ ? (e) => {
24941
+ setCompleteTooltipOpen(true);
24942
+ updateTooltipPos(e.target);
24943
+ }
24944
+ : undefined,
24945
+ onMouseLeave: canComplete
24946
+ ? () => {
24947
+ setCompleteTooltipOpen(false);
24948
+ }
24949
+ : undefined,
24925
24950
  }) }), platform === PlatformType.H5 && tooltipIndex === idx && coordinates.length > 3 && (jsxs("g", { transform: `translate(${coord[0] + 4 * overlayScale * 2}, ${coord[1] - 4 * overlayScale * 2}) scale(${overlayScale * 2})`, onClick: (e) => {
24926
24951
  e.preventDefault();
24927
24952
  e.stopPropagation();
@@ -24946,7 +24971,9 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24946
24971
  // </rect>
24947
24972
  )] }, `vertex-${idx}`));
24948
24973
  }), platform === PlatformType.WEB && tooltipIndex !== null && (jsx(Tooltip, { open: true, x: tooltipPos.x, y: tooltipPos.y, text: "Remove", onClick: () => {
24949
- if (onVertexDelete && (editMode || (createMode && completed)) && coordinates.length > 3) {
24974
+ if (onVertexDelete &&
24975
+ (editMode || (createMode && completed)) &&
24976
+ coordinates.length > 3) {
24950
24977
  onVertexDelete(renderCoordinates?.length - 1 - tooltipIndex);
24951
24978
  }
24952
24979
  setTooltipIndex(null);
@@ -25166,10 +25193,11 @@ const ObstacleElement = ({ data, isHover }) => {
25166
25193
  const strokeWidth = useMemo(() => {
25167
25194
  // 如果是h5选中的情况下,禁区只有在start模式下才需要加粗
25168
25195
  // 其他模式展示的是其他的样式
25169
- if (platform === PlatformType.H5 &&
25196
+ if ((platform === PlatformType.H5 &&
25170
25197
  editMapInfo?.selectElement?.id === data.id &&
25171
- editMapInfo.mobileMode === MobileEditMode.START) {
25172
- return dp2px((style.lineWidth || 1) * 2);
25198
+ editMapInfo.mobileMode === MobileEditMode.START) ||
25199
+ editMapInfo.mobileMode === MobileEditMode.EDIT) {
25200
+ return dp2px((style.lineWidth || 1) * 2.2);
25173
25201
  // return dp2px(((style.lineWidth as number) || 3) * 3);
25174
25202
  }
25175
25203
  return dp2px(style.lineWidth || 3);
@@ -29082,7 +29110,7 @@ const CreateObstacleElement = forwardRef(({ enabled = false, svgElement, onPoint
29082
29110
  if (!enabled || points.length === 0) {
29083
29111
  return null;
29084
29112
  }
29085
- return (jsx(PolygonElement, { points: points.map((p) => [p.x, p.y, 2]), fillColor: styles.fillColor, fillOpacity: 0.3, strokeColor: styles.strokeColor, strokeWidth: 1, strokeOpacity: 1, createMode: true, showPoints: true, editMode: false, completed: true, draggable: false }));
29113
+ return (jsx(PolygonElement, { points: points.map((p) => [p.x, p.y, 2]), fillColor: styles.fillColor, fillOpacity: 0.3, strokeColor: styles.strokeColor, strokeWidth: 1.8, strokeOpacity: 1, createMode: true, showPoints: true, editMode: false, completed: true, draggable: false }));
29086
29114
  });
29087
29115
  CreateObstacleElement.displayName = 'CreateObstacleElement';
29088
29116
 
package/dist/index.js CHANGED
@@ -24159,7 +24159,7 @@ const createPathData = (points) => {
24159
24159
  };
24160
24160
  const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor = 'rgba(0, 0, 0, 0.1)', hoverFillColor = '', fillOpacity = 1, strokeColor = '#000', strokeWidth = 2, strokeOpacity = 1, createMode = false, showPoints = false, onPointClick, completed = false, mousePos = null, editMode = false, onCoordinatesChange, onPathClick, onPolygonClick, onVertexDelete, draggable = true, // 新增参数,如果未指定则根据createMode和editMode自动判断
24161
24161
  }) => {
24162
- const { overlayScale, unitType, showStraddleBoundaryBorder, platform, onH5FirstSelectObstaclePoint } = useCommonContext();
24162
+ const { overlayScale, unitType, showStraddleBoundaryBorder, platform, onH5FirstSelectObstaclePoint, } = useCommonContext();
24163
24163
  const { onHandleEvent } = useMapEditContext();
24164
24164
  const { svgRef } = useSvgEditContext();
24165
24165
  const [dragState, setDragState] = React.useState({
@@ -24211,7 +24211,7 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24211
24211
  const rect = target.getBoundingClientRect();
24212
24212
  setTooltipPos({
24213
24213
  x: rect.left + rect.width + 4,
24214
- y: rect.top - 10
24214
+ y: rect.top - 10,
24215
24215
  });
24216
24216
  };
24217
24217
  // 处理顶点点击(仅透出点击;不触发删除)
@@ -24346,6 +24346,10 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24346
24346
  edgeInfo: edgeInfo,
24347
24347
  dragType: 'new',
24348
24348
  });
24349
+ // H5 禁区:边上长按/点击插入新顶点后与「长按选中顶点」共用震动(pending + useLayoutEffect)
24350
+ if (platform === exports.PlatformType.H5 && editMapInfo?.elementType === exports.DataType.OBSTACLE) {
24351
+ pendingH5ObstacleSelectHapticRef.current = true;
24352
+ }
24349
24353
  // 将新创建的点设为选中态,便于后续直接拖拽
24350
24354
  setSelectedVertexIndex(insertIndex);
24351
24355
  }, [
@@ -24356,6 +24360,8 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24356
24360
  coordinates,
24357
24361
  getSVGCoordinates,
24358
24362
  calculatePerpendicularFoot$1,
24363
+ platform,
24364
+ editMapInfo?.elementType,
24359
24365
  ]);
24360
24366
  // H5平台长按边线创建新顶点
24361
24367
  const handleEdgeLongPressStart = React.useCallback((e, edgeStartIndex) => {
@@ -24757,7 +24763,7 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24757
24763
  WebkitTouchCallout: 'none',
24758
24764
  touchAction: 'none',
24759
24765
  } })] }));
24760
- })()] })), renderCoordinates.length >= 2 && (jsxRuntime.jsx("polygon", { className: canSelect ? styles$6.pointerCursor : '', points: polygonPoints, fill: isHover ? (hoverFillColor || fillColor) : fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
24766
+ })()] })), renderCoordinates.length >= 2 && (jsxRuntime.jsx("polygon", { className: canSelect ? styles$6.pointerCursor : '', points: polygonPoints, fill: isHover ? hoverFillColor || fillColor : fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
24761
24767
  , onClick: onPolygonClick })), jsxRuntime.jsx("g", { children: renderCoordinates.length >= 2 &&
24762
24768
  pathSegments.map((segment, index) => {
24763
24769
  if (segment.points.length < 2)
@@ -24783,12 +24789,27 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24783
24789
  renderCoordinates.map((coord, index) => {
24784
24790
  const nextCoord = renderCoordinates[(index + 1) % renderCoordinates.length];
24785
24791
  const isDashPath = coord[2] === 1;
24786
- return (jsxRuntime.jsx("line", { x1: coord[0], y1: coord[1], x2: nextCoord[0], y2: nextCoord[1], stroke: isDashPath ? 'transparent' : strokeColor, strokeWidth: platform === exports.PlatformType.H5 ? strokeWidth * 3 : strokeWidth, className: editMode ? styles$6.pointerCursor : '', style: {
24787
- userSelect: 'none',
24788
- WebkitUserSelect: 'none',
24789
- WebkitTouchCallout: 'none',
24790
- touchAction: 'none',
24791
- }, vectorEffect: "non-scaling-stroke", ...(platform === exports.PlatformType.H5
24792
+ const edgeLineCommon = {
24793
+ x1: coord[0],
24794
+ y1: coord[1],
24795
+ x2: nextCoord[0],
24796
+ y2: nextCoord[1],
24797
+ };
24798
+ const edgeLineStyle = {
24799
+ userSelect: 'none',
24800
+ WebkitUserSelect: 'none',
24801
+ WebkitTouchCallout: 'none',
24802
+ touchAction: 'none',
24803
+ };
24804
+ // H5 实线:透明粗线仅作长按热区,描边只看上方 path;H5 虚线/Web:沿用透明或主题色边线 + 对应事件(合并为一个 line,避免两段重复)
24805
+ const isH5SolidHitOnly = platform === exports.PlatformType.H5 && ((editMode && !isDashPath) || createMode);
24806
+ const edgeStroke = isH5SolidHitOnly || isDashPath ? 'transparent' : strokeColor;
24807
+ const edgeStrokeWidth = isH5SolidHitOnly
24808
+ ? strokeWidth * 12
24809
+ : platform === exports.PlatformType.H5
24810
+ ? strokeWidth * 2
24811
+ : strokeWidth;
24812
+ return (jsxRuntime.jsx("line", { ...edgeLineCommon, stroke: edgeStroke, strokeWidth: edgeStrokeWidth, ...(isH5SolidHitOnly ? { strokeLinecap: 'round' } : {}), className: editMode ? styles$6.pointerCursor : '', style: edgeLineStyle, vectorEffect: "non-scaling-stroke", ...(platform === exports.PlatformType.H5
24792
24813
  ? {
24793
24814
  onTouchStart: createReactEventHandler((e) => handleEdgeLongPressStart(e, index)),
24794
24815
  onTouchEnd: createReactEventHandler(() => handleEdgeLongPressEnd()),
@@ -24935,13 +24956,17 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24935
24956
  }
24936
24957
  }
24937
24958
  },
24938
- onMouseEnter: canComplete ? (e) => {
24939
- setCompleteTooltipOpen(true);
24940
- updateTooltipPos(e.target);
24941
- } : undefined,
24942
- onMouseLeave: canComplete ? () => {
24943
- setCompleteTooltipOpen(false);
24944
- } : undefined,
24959
+ onMouseEnter: canComplete
24960
+ ? (e) => {
24961
+ setCompleteTooltipOpen(true);
24962
+ updateTooltipPos(e.target);
24963
+ }
24964
+ : undefined,
24965
+ onMouseLeave: canComplete
24966
+ ? () => {
24967
+ setCompleteTooltipOpen(false);
24968
+ }
24969
+ : undefined,
24945
24970
  }) }), platform === exports.PlatformType.H5 && tooltipIndex === idx && coordinates.length > 3 && (jsxRuntime.jsxs("g", { transform: `translate(${coord[0] + 4 * overlayScale * 2}, ${coord[1] - 4 * overlayScale * 2}) scale(${overlayScale * 2})`, onClick: (e) => {
24946
24971
  e.preventDefault();
24947
24972
  e.stopPropagation();
@@ -24966,7 +24991,9 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
24966
24991
  // </rect>
24967
24992
  )] }, `vertex-${idx}`));
24968
24993
  }), platform === exports.PlatformType.WEB && tooltipIndex !== null && (jsxRuntime.jsx(Tooltip, { open: true, x: tooltipPos.x, y: tooltipPos.y, text: "Remove", onClick: () => {
24969
- if (onVertexDelete && (editMode || (createMode && completed)) && coordinates.length > 3) {
24994
+ if (onVertexDelete &&
24995
+ (editMode || (createMode && completed)) &&
24996
+ coordinates.length > 3) {
24970
24997
  onVertexDelete(renderCoordinates?.length - 1 - tooltipIndex);
24971
24998
  }
24972
24999
  setTooltipIndex(null);
@@ -25186,10 +25213,11 @@ const ObstacleElement = ({ data, isHover }) => {
25186
25213
  const strokeWidth = React.useMemo(() => {
25187
25214
  // 如果是h5选中的情况下,禁区只有在start模式下才需要加粗
25188
25215
  // 其他模式展示的是其他的样式
25189
- if (platform === exports.PlatformType.H5 &&
25216
+ if ((platform === exports.PlatformType.H5 &&
25190
25217
  editMapInfo?.selectElement?.id === data.id &&
25191
- editMapInfo.mobileMode === exports.MobileEditMode.START) {
25192
- return dp2px((style.lineWidth || 1) * 2);
25218
+ editMapInfo.mobileMode === exports.MobileEditMode.START) ||
25219
+ editMapInfo.mobileMode === exports.MobileEditMode.EDIT) {
25220
+ return dp2px((style.lineWidth || 1) * 2.2);
25193
25221
  // return dp2px(((style.lineWidth as number) || 3) * 3);
25194
25222
  }
25195
25223
  return dp2px(style.lineWidth || 3);
@@ -29102,7 +29130,7 @@ const CreateObstacleElement = React.forwardRef(({ enabled = false, svgElement, o
29102
29130
  if (!enabled || points.length === 0) {
29103
29131
  return null;
29104
29132
  }
29105
- return (jsxRuntime.jsx(PolygonElement, { points: points.map((p) => [p.x, p.y, 2]), fillColor: styles.fillColor, fillOpacity: 0.3, strokeColor: styles.strokeColor, strokeWidth: 1, strokeOpacity: 1, createMode: true, showPoints: true, editMode: false, completed: true, draggable: false }));
29133
+ return (jsxRuntime.jsx(PolygonElement, { points: points.map((p) => [p.x, p.y, 2]), fillColor: styles.fillColor, fillOpacity: 0.3, strokeColor: styles.strokeColor, strokeWidth: 1.8, strokeOpacity: 1, createMode: true, showPoints: true, editMode: false, completed: true, draggable: false }));
29106
29134
  });
29107
29135
  CreateObstacleElement.displayName = 'CreateObstacleElement';
29108
29136
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/render/svgElement/ObstacleElement/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAW7D,UAAU,oBAAoB;IAC5B,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,eAAe,GAAI,mBAAmB,oBAAoB,4CAgI/D,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/render/svgElement/ObstacleElement/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAW7D,UAAU,oBAAoB;IAC5B,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,eAAe,GAAI,mBAAmB,oBAAoB,4CAkI/D,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/render/svgElement/PolygonELement/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;AAsBlG;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,aAAa,MAAM,EAAE,EAAE,KAAG,MAE7D,CAAC;AA+BF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GACjC,aAAa,MAAM,EAAE,EAAE,EACvB,YAAW,OAAc,KACxB,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAA;CAAE,CAyC5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,EAAE,EAAE,KAAG,MAUnD,CAAC;AAgBF,UAAU,mBAAmB;IAC3B,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,SA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AAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAE/C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqyCxD,CAAC;AAEF,eAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleet-frontend/mower-maps",
3
- "version": "0.2.5-beta.11",
3
+ "version": "0.2.5-beta.12",
4
4
  "type": "module",
5
5
  "description": "a mower maps in google maps",
6
6
  "main": "dist/index.js",