@fleet-frontend/mower-maps 0.2.0-beta.41 → 0.2.0-beta.42

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
@@ -22883,8 +22883,8 @@ const DistanceLabels = ({ coordinates, createMode = false, editMode = false, com
22883
22883
  } }))] }));
22884
22884
  };
22885
22885
 
22886
- var css_248z$5 = ".index-module_polygonPathG__S-Bpl {\n cursor: pointer;\n}\n\n.index-module_addVertex__hrF71 {\n cursor: pointer;\n}\n\n.index-module_polygonPath__PynOn {\n pointer-events: stroke;\n cursor: pointer;\n}\n\n.index-module_vertex__-Qb1u {\n cursor: pointer;\n}\n\n.index-module_dragging__xSFdO {\n cursor: grabbing;\n}\n\n.index-module_notCreate__bFnkV {\n cursor: no-drop;\n}";
22887
- var styles$5 = {"addVertex":"index-module_addVertex__hrF71","polygonPath":"index-module_polygonPath__PynOn","vertex":"index-module_vertex__-Qb1u","dragging":"index-module_dragging__xSFdO","notCreate":"index-module_notCreate__bFnkV"};
22886
+ var css_248z$5 = ".index-module_pointerCursor__Ee6pr {\n cursor: pointer;\n}\n\n.index-module_polygonPath__PynOn {\n pointer-events: stroke;\n cursor: pointer;\n}\n\n.index-module_dragging__xSFdO {\n cursor: grabbing;\n}\n\n.index-module_notCreate__bFnkV {\n cursor: no-drop;\n}";
22887
+ var styles$5 = {"pointerCursor":"index-module_pointerCursor__Ee6pr","polygonPath":"index-module_polygonPath__PynOn","dragging":"index-module_dragging__xSFdO","notCreate":"index-module_notCreate__bFnkV"};
22888
22888
  styleInject(css_248z$5);
22889
22889
 
22890
22890
  var CreateStatus;
@@ -23745,7 +23745,7 @@ const PolygonElement = ({ canSelect = false, points, fillColor = 'rgba(0, 0, 0,
23745
23745
  }, [dragState.currentPosition, checkCanNotCreateAtPosition, coordinates]);
23746
23746
  const generateVertexClassName = useMemo(() => {
23747
23747
  if (!dragState.isDragging)
23748
- return styles$5.vertex;
23748
+ return styles$5.pointerCursor;
23749
23749
  return showNotCreateCursor ? styles$5.notCreate : styles$5.dragging;
23750
23750
  }, [dragState.isDragging, showNotCreateCursor]);
23751
23751
  // 使用 useRef 来存储 requestAnimationFrame ID
@@ -24038,7 +24038,7 @@ const PolygonElement = ({ canSelect = false, points, fillColor = 'rgba(0, 0, 0,
24038
24038
  WebkitTouchCallout: 'none',
24039
24039
  touchAction: 'none',
24040
24040
  } })] }));
24041
- })()] })), renderCoordinates.length >= 2 && (jsx("polygon", { className: canSelect ? styles$5.polygonPath : '', points: polygonPoints, fill: fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
24041
+ })()] })), renderCoordinates.length >= 2 && (jsx("polygon", { className: canSelect ? styles$5.pointerCursor : '', points: polygonPoints, fill: fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
24042
24042
  , onClick: onPolygonClick })), jsx("g", { children: renderCoordinates.length >= 2 &&
24043
24043
  pathSegments.map((segment, index) => {
24044
24044
  if (segment.points.length < 2)
@@ -24059,7 +24059,7 @@ const PolygonElement = ({ canSelect = false, points, fillColor = 'rgba(0, 0, 0,
24059
24059
  renderCoordinates.map((coord, index) => {
24060
24060
  const nextCoord = renderCoordinates[(index + 1) % renderCoordinates.length];
24061
24061
  const isDashPath = coord[2] === 1;
24062
- 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$5.addVertex : '', style: {
24062
+ 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$5.pointerCursor : '', style: {
24063
24063
  userSelect: 'none',
24064
24064
  WebkitUserSelect: 'none',
24065
24065
  WebkitTouchCallout: 'none',
@@ -25187,10 +25187,12 @@ const VisionOffTransformWrapper = ({ data, isSelected = false, onSelect, onCance
25187
25187
  onDragMove?.(currentPoints.map((point) => [point.x, point.y]));
25188
25188
  }, [currentPoints, isSelected, isDragging, isRotating, isScaling]);
25189
25189
  return (jsxs("g", { ref: containerRef, className: `vision-off-transform-wrapper ${className} ${isSelected ? 'selected' : ''}`, "data-transform-wrapper": "true", children: [jsx(PolygonElement, { canSelect: Boolean(!editMapInfo?.elementType) && editMap, points: visionOffData?.points, fillColor: style.fillColor, fillOpacity: style.fillOpacity, strokeColor: style.lineColor, strokeWidth: strokeWidth, editMode: false, onPathClick: () => {
25190
+ console.log('onPathClick->', editMap);
25190
25191
  if (!editMap)
25191
25192
  return;
25192
25193
  onSelect?.();
25193
25194
  }, onPolygonClick: () => {
25195
+ console.log('onPolygonClick->', editMap);
25194
25196
  if (!editMap)
25195
25197
  return;
25196
25198
  onSelect?.();
@@ -25217,7 +25219,7 @@ const VisionOffTransformWrapper = ({ data, isSelected = false, onSelect, onCance
25217
25219
  const infoBoxWidth = 300 * overlayScale; // 信息框宽度
25218
25220
  const infoBoxHeight = 50 * overlayScale; // 信息框高度
25219
25221
  const infoBoxX = centerX - infoBoxWidth / 2; // 居中对齐
25220
- const scale = 2 * overlayScale;
25222
+ const scale = 3 * overlayScale;
25221
25223
  const offsetLeft = 10 * scale;
25222
25224
  return (jsxs(Fragment, { children: [showInfo && (jsx("foreignObject", { x: infoBoxX, y: infoBoxY, width: infoBoxWidth, height: infoBoxHeight, style: { textAlign: 'center' }, children: jsxs("div", { style: {
25223
25225
  padding: `5px ${10 * overlayScale}px`,
@@ -25734,7 +25736,7 @@ const DoodleTransform = ({ data, isSelected: _isSelected, onSelect }) => {
25734
25736
  if (platform === PlatformType.H5) {
25735
25737
  return editMapInfo?.elementType === DataType.DOODLE;
25736
25738
  }
25737
- return editMapInfo?.elementType;
25739
+ return !editMapInfo?.elementType;
25738
25740
  }, [editMapInfo?.elementType, platform]);
25739
25741
  // 将 DoodleData 转换为父 SVG 坐标系的元素点数组
25740
25742
  const transformedElements = useMemo(() => {
@@ -25776,7 +25778,7 @@ const DoodleTransform = ({ data, isSelected: _isSelected, onSelect }) => {
25776
25778
  ].join(' ');
25777
25779
  return (jsx("g", { children: jsx("g", { style: {
25778
25780
  cursor: canSelect ? 'pointer' : 'inherit',
25779
- pointerEvents: canSelect ? 'none' : 'auto',
25781
+ pointerEvents: canSelect ? 'auto' : 'none',
25780
25782
  }, transform: transform, opacity: data?.style?.opacity || 1, dangerouslySetInnerHTML: { __html: svgString }, onClick: onDoodleClick }) }));
25781
25783
  }
25782
25784
  }
@@ -25913,6 +25915,7 @@ const DoodleTransformWrapper = ({ data, isSelected = false, isSelectedWithoutOpe
25913
25915
  const infoBoxWidth = 300 * overlayScale; // 信息框宽度
25914
25916
  const infoBoxHeight = 40 * overlayScale; // 信息框高度
25915
25917
  const infoBoxX = centerX - infoBoxWidth / 2; // 居中对齐
25918
+ const circleScale = 2 * overlayScale;
25916
25919
  return (jsxs(Fragment, { children: [jsx("polygon", { points: selectionBoxPoints.map((point) => `${point.x},${point.y}`).join(' '), fill: "none", stroke: "#B2B4B9", strokeWidth: "2", strokeDasharray: "5,5", vectorEffect: "non-scaling-stroke", style: { cursor: 'move' }, ...(platform === PlatformType.H5
25917
25920
  ? {
25918
25921
  onTouchStart: createReactEventHandler((e) => {
@@ -25921,7 +25924,7 @@ const DoodleTransformWrapper = ({ data, isSelected = false, isSelectedWithoutOpe
25921
25924
  }
25922
25925
  : {
25923
25926
  onMouseDown: handleMouseDownWithDisabled,
25924
- }) }), jsx("circle", { cx: selectionBoxPoints[0].x, cy: selectionBoxPoints[0].y, r: 10 * overlayScale, fill: "#B2B4B9", stroke: "none" }), jsx("circle", { cx: selectionBoxPoints[3].x, cy: selectionBoxPoints[3].y, r: 10 * overlayScale, fill: "#B2B4B9", stroke: "none" }), jsx("circle", { cx: selectionBoxPoints[1].x, cy: selectionBoxPoints[1].y, r: 10 * overlayScale, fill: "#B2B4B9", stroke: "none" }), jsx("circle", { cx: selectionBoxPoints[2].x, cy: selectionBoxPoints[2].y, r: 10 * overlayScale, fill: "#B2B4B9", stroke: "none" }), platform === PlatformType.H5 && (jsx("foreignObject", { x: infoBoxX, y: infoBoxY, width: infoBoxWidth, height: infoBoxHeight, style: { textAlign: 'center' }, onClick: () => {
25927
+ }) }), jsx("circle", { cx: selectionBoxPoints[0].x, cy: selectionBoxPoints[0].y, r: 10 * circleScale, fill: "#B2B4B9", stroke: "none" }), jsx("circle", { cx: selectionBoxPoints[3].x, cy: selectionBoxPoints[3].y, r: 10 * circleScale, fill: "#B2B4B9", stroke: "none" }), jsx("circle", { cx: selectionBoxPoints[1].x, cy: selectionBoxPoints[1].y, r: 10 * circleScale, fill: "#B2B4B9", stroke: "none" }), jsx("circle", { cx: selectionBoxPoints[2].x, cy: selectionBoxPoints[2].y, r: 10 * circleScale, fill: "#B2B4B9", stroke: "none" }), platform === PlatformType.H5 && (jsx("foreignObject", { x: infoBoxX, y: infoBoxY, width: infoBoxWidth, height: infoBoxHeight, style: { textAlign: 'center' }, onClick: () => {
25925
25928
  onClickInfo?.();
25926
25929
  }, children: jsx("div", { style: {
25927
25930
  padding: `5px ${10 * overlayScale}px`,
@@ -26595,15 +26598,13 @@ const SvgMapComponent = forwardRef(({ editMap, pathData, mapConfig = {}, mowPart
26595
26598
  pathElementRef?.current?.updatePathData,
26596
26599
  pathElementRef?.current?.updatePathDataByMowingPosition,
26597
26600
  ]);
26598
- if (!svgViewBox)
26601
+ if (!svgViewBox || editMap)
26599
26602
  return null;
26600
26603
  return (jsx("div", { ref: containerRef, style: {
26601
26604
  width: '100%',
26602
26605
  height: '100%',
26603
26606
  position: 'relative',
26604
26607
  pointerEvents: 'none',
26605
- display: editMap ? 'none' : 'block',
26606
- visibility: editMap ? 'hidden' : 'visible',
26607
26608
  }, children: jsxs("svg", { ref: svgElement, style: {
26608
26609
  width: '100%',
26609
26610
  height: '100%',
package/dist/index.js CHANGED
@@ -22903,8 +22903,8 @@ const DistanceLabels = ({ coordinates, createMode = false, editMode = false, com
22903
22903
  } }))] }));
22904
22904
  };
22905
22905
 
22906
- var css_248z$5 = ".index-module_polygonPathG__S-Bpl {\n cursor: pointer;\n}\n\n.index-module_addVertex__hrF71 {\n cursor: pointer;\n}\n\n.index-module_polygonPath__PynOn {\n pointer-events: stroke;\n cursor: pointer;\n}\n\n.index-module_vertex__-Qb1u {\n cursor: pointer;\n}\n\n.index-module_dragging__xSFdO {\n cursor: grabbing;\n}\n\n.index-module_notCreate__bFnkV {\n cursor: no-drop;\n}";
22907
- var styles$5 = {"addVertex":"index-module_addVertex__hrF71","polygonPath":"index-module_polygonPath__PynOn","vertex":"index-module_vertex__-Qb1u","dragging":"index-module_dragging__xSFdO","notCreate":"index-module_notCreate__bFnkV"};
22906
+ var css_248z$5 = ".index-module_pointerCursor__Ee6pr {\n cursor: pointer;\n}\n\n.index-module_polygonPath__PynOn {\n pointer-events: stroke;\n cursor: pointer;\n}\n\n.index-module_dragging__xSFdO {\n cursor: grabbing;\n}\n\n.index-module_notCreate__bFnkV {\n cursor: no-drop;\n}";
22907
+ var styles$5 = {"pointerCursor":"index-module_pointerCursor__Ee6pr","polygonPath":"index-module_polygonPath__PynOn","dragging":"index-module_dragging__xSFdO","notCreate":"index-module_notCreate__bFnkV"};
22908
22908
  styleInject(css_248z$5);
22909
22909
 
22910
22910
  exports.CreateStatus = void 0;
@@ -23765,7 +23765,7 @@ const PolygonElement = ({ canSelect = false, points, fillColor = 'rgba(0, 0, 0,
23765
23765
  }, [dragState.currentPosition, checkCanNotCreateAtPosition, coordinates]);
23766
23766
  const generateVertexClassName = React.useMemo(() => {
23767
23767
  if (!dragState.isDragging)
23768
- return styles$5.vertex;
23768
+ return styles$5.pointerCursor;
23769
23769
  return showNotCreateCursor ? styles$5.notCreate : styles$5.dragging;
23770
23770
  }, [dragState.isDragging, showNotCreateCursor]);
23771
23771
  // 使用 useRef 来存储 requestAnimationFrame ID
@@ -24058,7 +24058,7 @@ const PolygonElement = ({ canSelect = false, points, fillColor = 'rgba(0, 0, 0,
24058
24058
  WebkitTouchCallout: 'none',
24059
24059
  touchAction: 'none',
24060
24060
  } })] }));
24061
- })()] })), renderCoordinates.length >= 2 && (jsxRuntime.jsx("polygon", { className: canSelect ? styles$5.polygonPath : '', points: polygonPoints, fill: fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
24061
+ })()] })), renderCoordinates.length >= 2 && (jsxRuntime.jsx("polygon", { className: canSelect ? styles$5.pointerCursor : '', points: polygonPoints, fill: fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
24062
24062
  , onClick: onPolygonClick })), jsxRuntime.jsx("g", { children: renderCoordinates.length >= 2 &&
24063
24063
  pathSegments.map((segment, index) => {
24064
24064
  if (segment.points.length < 2)
@@ -24079,7 +24079,7 @@ const PolygonElement = ({ canSelect = false, points, fillColor = 'rgba(0, 0, 0,
24079
24079
  renderCoordinates.map((coord, index) => {
24080
24080
  const nextCoord = renderCoordinates[(index + 1) % renderCoordinates.length];
24081
24081
  const isDashPath = coord[2] === 1;
24082
- 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$5.addVertex : '', style: {
24082
+ 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$5.pointerCursor : '', style: {
24083
24083
  userSelect: 'none',
24084
24084
  WebkitUserSelect: 'none',
24085
24085
  WebkitTouchCallout: 'none',
@@ -25207,10 +25207,12 @@ const VisionOffTransformWrapper = ({ data, isSelected = false, onSelect, onCance
25207
25207
  onDragMove?.(currentPoints.map((point) => [point.x, point.y]));
25208
25208
  }, [currentPoints, isSelected, isDragging, isRotating, isScaling]);
25209
25209
  return (jsxRuntime.jsxs("g", { ref: containerRef, className: `vision-off-transform-wrapper ${className} ${isSelected ? 'selected' : ''}`, "data-transform-wrapper": "true", children: [jsxRuntime.jsx(PolygonElement, { canSelect: Boolean(!editMapInfo?.elementType) && editMap, points: visionOffData?.points, fillColor: style.fillColor, fillOpacity: style.fillOpacity, strokeColor: style.lineColor, strokeWidth: strokeWidth, editMode: false, onPathClick: () => {
25210
+ console.log('onPathClick->', editMap);
25210
25211
  if (!editMap)
25211
25212
  return;
25212
25213
  onSelect?.();
25213
25214
  }, onPolygonClick: () => {
25215
+ console.log('onPolygonClick->', editMap);
25214
25216
  if (!editMap)
25215
25217
  return;
25216
25218
  onSelect?.();
@@ -25237,7 +25239,7 @@ const VisionOffTransformWrapper = ({ data, isSelected = false, onSelect, onCance
25237
25239
  const infoBoxWidth = 300 * overlayScale; // 信息框宽度
25238
25240
  const infoBoxHeight = 50 * overlayScale; // 信息框高度
25239
25241
  const infoBoxX = centerX - infoBoxWidth / 2; // 居中对齐
25240
- const scale = 2 * overlayScale;
25242
+ const scale = 3 * overlayScale;
25241
25243
  const offsetLeft = 10 * scale;
25242
25244
  return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [showInfo && (jsxRuntime.jsx("foreignObject", { x: infoBoxX, y: infoBoxY, width: infoBoxWidth, height: infoBoxHeight, style: { textAlign: 'center' }, children: jsxRuntime.jsxs("div", { style: {
25243
25245
  padding: `5px ${10 * overlayScale}px`,
@@ -25754,7 +25756,7 @@ const DoodleTransform = ({ data, isSelected: _isSelected, onSelect }) => {
25754
25756
  if (platform === exports.PlatformType.H5) {
25755
25757
  return editMapInfo?.elementType === exports.DataType.DOODLE;
25756
25758
  }
25757
- return editMapInfo?.elementType;
25759
+ return !editMapInfo?.elementType;
25758
25760
  }, [editMapInfo?.elementType, platform]);
25759
25761
  // 将 DoodleData 转换为父 SVG 坐标系的元素点数组
25760
25762
  const transformedElements = React.useMemo(() => {
@@ -25796,7 +25798,7 @@ const DoodleTransform = ({ data, isSelected: _isSelected, onSelect }) => {
25796
25798
  ].join(' ');
25797
25799
  return (jsxRuntime.jsx("g", { children: jsxRuntime.jsx("g", { style: {
25798
25800
  cursor: canSelect ? 'pointer' : 'inherit',
25799
- pointerEvents: canSelect ? 'none' : 'auto',
25801
+ pointerEvents: canSelect ? 'auto' : 'none',
25800
25802
  }, transform: transform, opacity: data?.style?.opacity || 1, dangerouslySetInnerHTML: { __html: svgString }, onClick: onDoodleClick }) }));
25801
25803
  }
25802
25804
  }
@@ -25933,6 +25935,7 @@ const DoodleTransformWrapper = ({ data, isSelected = false, isSelectedWithoutOpe
25933
25935
  const infoBoxWidth = 300 * overlayScale; // 信息框宽度
25934
25936
  const infoBoxHeight = 40 * overlayScale; // 信息框高度
25935
25937
  const infoBoxX = centerX - infoBoxWidth / 2; // 居中对齐
25938
+ const circleScale = 2 * overlayScale;
25936
25939
  return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("polygon", { points: selectionBoxPoints.map((point) => `${point.x},${point.y}`).join(' '), fill: "none", stroke: "#B2B4B9", strokeWidth: "2", strokeDasharray: "5,5", vectorEffect: "non-scaling-stroke", style: { cursor: 'move' }, ...(platform === exports.PlatformType.H5
25937
25940
  ? {
25938
25941
  onTouchStart: createReactEventHandler((e) => {
@@ -25941,7 +25944,7 @@ const DoodleTransformWrapper = ({ data, isSelected = false, isSelectedWithoutOpe
25941
25944
  }
25942
25945
  : {
25943
25946
  onMouseDown: handleMouseDownWithDisabled,
25944
- }) }), jsxRuntime.jsx("circle", { cx: selectionBoxPoints[0].x, cy: selectionBoxPoints[0].y, r: 10 * overlayScale, fill: "#B2B4B9", stroke: "none" }), jsxRuntime.jsx("circle", { cx: selectionBoxPoints[3].x, cy: selectionBoxPoints[3].y, r: 10 * overlayScale, fill: "#B2B4B9", stroke: "none" }), jsxRuntime.jsx("circle", { cx: selectionBoxPoints[1].x, cy: selectionBoxPoints[1].y, r: 10 * overlayScale, fill: "#B2B4B9", stroke: "none" }), jsxRuntime.jsx("circle", { cx: selectionBoxPoints[2].x, cy: selectionBoxPoints[2].y, r: 10 * overlayScale, fill: "#B2B4B9", stroke: "none" }), platform === exports.PlatformType.H5 && (jsxRuntime.jsx("foreignObject", { x: infoBoxX, y: infoBoxY, width: infoBoxWidth, height: infoBoxHeight, style: { textAlign: 'center' }, onClick: () => {
25947
+ }) }), jsxRuntime.jsx("circle", { cx: selectionBoxPoints[0].x, cy: selectionBoxPoints[0].y, r: 10 * circleScale, fill: "#B2B4B9", stroke: "none" }), jsxRuntime.jsx("circle", { cx: selectionBoxPoints[3].x, cy: selectionBoxPoints[3].y, r: 10 * circleScale, fill: "#B2B4B9", stroke: "none" }), jsxRuntime.jsx("circle", { cx: selectionBoxPoints[1].x, cy: selectionBoxPoints[1].y, r: 10 * circleScale, fill: "#B2B4B9", stroke: "none" }), jsxRuntime.jsx("circle", { cx: selectionBoxPoints[2].x, cy: selectionBoxPoints[2].y, r: 10 * circleScale, fill: "#B2B4B9", stroke: "none" }), platform === exports.PlatformType.H5 && (jsxRuntime.jsx("foreignObject", { x: infoBoxX, y: infoBoxY, width: infoBoxWidth, height: infoBoxHeight, style: { textAlign: 'center' }, onClick: () => {
25945
25948
  onClickInfo?.();
25946
25949
  }, children: jsxRuntime.jsx("div", { style: {
25947
25950
  padding: `5px ${10 * overlayScale}px`,
@@ -26615,15 +26618,13 @@ const SvgMapComponent = React.forwardRef(({ editMap, pathData, mapConfig = {}, m
26615
26618
  pathElementRef?.current?.updatePathData,
26616
26619
  pathElementRef?.current?.updatePathDataByMowingPosition,
26617
26620
  ]);
26618
- if (!svgViewBox)
26621
+ if (!svgViewBox || editMap)
26619
26622
  return null;
26620
26623
  return (jsxRuntime.jsx("div", { ref: containerRef, style: {
26621
26624
  width: '100%',
26622
26625
  height: '100%',
26623
26626
  position: 'relative',
26624
26627
  pointerEvents: 'none',
26625
- display: editMap ? 'none' : 'block',
26626
- visibility: editMap ? 'hidden' : 'visible',
26627
26628
  }, children: jsxRuntime.jsxs("svg", { ref: svgElement, style: {
26628
26629
  width: '100%',
26629
26630
  height: '100%',
@@ -1 +1 @@
1
- {"version":3,"file":"DoodleTransformWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/render/svgElement/TransformWrapper/DoodleTransformWrapper/DoodleTransformWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAgBjD,UAAU,2BAA2B;IACnC,IAAI,EAAE,UAAU,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE;QAC9B,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,KAAK,IAAI,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACvC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CA8hBjE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"DoodleTransformWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/render/svgElement/TransformWrapper/DoodleTransformWrapper/DoodleTransformWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAgBjD,UAAU,2BAA2B;IACnC,IAAI,EAAE,UAAU,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE;QAC9B,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,KAAK,IAAI,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACvC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CA+hBjE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"VisionOffTransformWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/render/svgElement/TransformWrapper/VisionOffTransformWrapper/VisionOffTransformWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAepD,UAAU,8BAA8B;IACtC,IAAI,EAAE,aAAa,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE;QAC9B,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,KAAK,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAE5B,gBAAgB,CAAC,EAAE;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAoXvE,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"VisionOffTransformWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/render/svgElement/TransformWrapper/VisionOffTransformWrapper/VisionOffTransformWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAepD,UAAU,8BAA8B;IACtC,IAAI,EAAE,aAAa,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE;QAC9B,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,KAAK,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAE5B,gBAAgB,CAAC,EAAE;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAsXvE,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/render/svgMap/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAUtC,MAAM,WAAW,kBAAkB;IAEjC,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAExF,8BAA8B,CAAC,EAAE,CAAC,QAAQ,EAAE;QAC1C,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,YAAY,CAAC,EAAE,WAAW,CAAC;KAC5B,KAAK,IAAI,CAAC;CACZ;AAED,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,iBAAiB,CAAC,EAAE,mBAAmB,CAAC;IACxC,gBAAgB,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;CACjD;AAED,QAAA,MAAM,eAAe,iGA0FpB,CAAC;AAKF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/render/svgMap/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAUtC,MAAM,WAAW,kBAAkB;IAEjC,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAExF,8BAA8B,CAAC,EAAE,CAAC,QAAQ,EAAE;QAC1C,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,YAAY,CAAC,EAAE,WAAW,CAAC;KAC5B,KAAK,IAAI,CAAC;CACZ;AAED,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,iBAAiB,CAAC,EAAE,mBAAmB,CAAC;IACxC,gBAAgB,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;CACjD;AAED,QAAA,MAAM,eAAe,iGAwFpB,CAAC;AAKF,eAAe,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleet-frontend/mower-maps",
3
- "version": "0.2.0-beta.41",
3
+ "version": "0.2.0-beta.42",
4
4
  "type": "module",
5
5
  "description": "a mower maps in google maps",
6
6
  "main": "dist/index.js",