@fleet-frontend/mower-maps 0.2.5-beta.11 → 0.2.5-beta.13
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,13 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24326
24326
|
edgeInfo: edgeInfo,
|
|
24327
24327
|
dragType: 'new',
|
|
24328
24328
|
});
|
|
24329
|
+
// 边上新点:insertIndex 可能与当前 selectedVertexIndex 相同(例如原选中 2,在 1-2 间插入后仍写 2),
|
|
24330
|
+
// React 会跳过 setState,依赖 selectedVertexIndex 的 useLayoutEffect 不会跑,故用微任务直接震一次
|
|
24331
|
+
if (platform === PlatformType.H5 && editMapInfo?.elementType === DataType.OBSTACLE) {
|
|
24332
|
+
void Promise.resolve().then(() => {
|
|
24333
|
+
onH5FirstSelectObstaclePoint?.();
|
|
24334
|
+
});
|
|
24335
|
+
}
|
|
24329
24336
|
// 将新创建的点设为选中态,便于后续直接拖拽
|
|
24330
24337
|
setSelectedVertexIndex(insertIndex);
|
|
24331
24338
|
}, [
|
|
@@ -24336,6 +24343,9 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24336
24343
|
coordinates,
|
|
24337
24344
|
getSVGCoordinates,
|
|
24338
24345
|
calculatePerpendicularFoot$1,
|
|
24346
|
+
platform,
|
|
24347
|
+
editMapInfo?.elementType,
|
|
24348
|
+
onH5FirstSelectObstaclePoint,
|
|
24339
24349
|
]);
|
|
24340
24350
|
// H5平台长按边线创建新顶点
|
|
24341
24351
|
const handleEdgeLongPressStart = useCallback((e, edgeStartIndex) => {
|
|
@@ -24737,7 +24747,7 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24737
24747
|
WebkitTouchCallout: 'none',
|
|
24738
24748
|
touchAction: 'none',
|
|
24739
24749
|
} })] }));
|
|
24740
|
-
})()] })), renderCoordinates.length >= 2 && (jsx("polygon", { className: canSelect ? styles$6.pointerCursor : '', points: polygonPoints, fill: isHover ?
|
|
24750
|
+
})()] })), renderCoordinates.length >= 2 && (jsx("polygon", { className: canSelect ? styles$6.pointerCursor : '', points: polygonPoints, fill: isHover ? hoverFillColor || fillColor : fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
|
|
24741
24751
|
, onClick: onPolygonClick })), jsx("g", { children: renderCoordinates.length >= 2 &&
|
|
24742
24752
|
pathSegments.map((segment, index) => {
|
|
24743
24753
|
if (segment.points.length < 2)
|
|
@@ -24763,12 +24773,27 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24763
24773
|
renderCoordinates.map((coord, index) => {
|
|
24764
24774
|
const nextCoord = renderCoordinates[(index + 1) % renderCoordinates.length];
|
|
24765
24775
|
const isDashPath = coord[2] === 1;
|
|
24766
|
-
|
|
24767
|
-
|
|
24768
|
-
|
|
24769
|
-
|
|
24770
|
-
|
|
24771
|
-
|
|
24776
|
+
const edgeLineCommon = {
|
|
24777
|
+
x1: coord[0],
|
|
24778
|
+
y1: coord[1],
|
|
24779
|
+
x2: nextCoord[0],
|
|
24780
|
+
y2: nextCoord[1],
|
|
24781
|
+
};
|
|
24782
|
+
const edgeLineStyle = {
|
|
24783
|
+
userSelect: 'none',
|
|
24784
|
+
WebkitUserSelect: 'none',
|
|
24785
|
+
WebkitTouchCallout: 'none',
|
|
24786
|
+
touchAction: 'none',
|
|
24787
|
+
};
|
|
24788
|
+
// H5 实线:透明粗线仅作长按热区,描边只看上方 path;H5 虚线/Web:沿用透明或主题色边线 + 对应事件(合并为一个 line,避免两段重复)
|
|
24789
|
+
const isH5SolidHitOnly = platform === PlatformType.H5 && ((editMode && !isDashPath) || createMode);
|
|
24790
|
+
const edgeStroke = isH5SolidHitOnly || isDashPath ? 'transparent' : strokeColor;
|
|
24791
|
+
const edgeStrokeWidth = isH5SolidHitOnly
|
|
24792
|
+
? strokeWidth * 12
|
|
24793
|
+
: platform === PlatformType.H5
|
|
24794
|
+
? strokeWidth * 2
|
|
24795
|
+
: strokeWidth;
|
|
24796
|
+
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
24797
|
? {
|
|
24773
24798
|
onTouchStart: createReactEventHandler((e) => handleEdgeLongPressStart(e, index)),
|
|
24774
24799
|
onTouchEnd: createReactEventHandler(() => handleEdgeLongPressEnd()),
|
|
@@ -24915,13 +24940,17 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24915
24940
|
}
|
|
24916
24941
|
}
|
|
24917
24942
|
},
|
|
24918
|
-
onMouseEnter: canComplete
|
|
24919
|
-
|
|
24920
|
-
|
|
24921
|
-
|
|
24922
|
-
|
|
24923
|
-
|
|
24924
|
-
|
|
24943
|
+
onMouseEnter: canComplete
|
|
24944
|
+
? (e) => {
|
|
24945
|
+
setCompleteTooltipOpen(true);
|
|
24946
|
+
updateTooltipPos(e.target);
|
|
24947
|
+
}
|
|
24948
|
+
: undefined,
|
|
24949
|
+
onMouseLeave: canComplete
|
|
24950
|
+
? () => {
|
|
24951
|
+
setCompleteTooltipOpen(false);
|
|
24952
|
+
}
|
|
24953
|
+
: undefined,
|
|
24925
24954
|
}) }), 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
24955
|
e.preventDefault();
|
|
24927
24956
|
e.stopPropagation();
|
|
@@ -24946,7 +24975,9 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24946
24975
|
// </rect>
|
|
24947
24976
|
)] }, `vertex-${idx}`));
|
|
24948
24977
|
}), platform === PlatformType.WEB && tooltipIndex !== null && (jsx(Tooltip, { open: true, x: tooltipPos.x, y: tooltipPos.y, text: "Remove", onClick: () => {
|
|
24949
|
-
if (onVertexDelete &&
|
|
24978
|
+
if (onVertexDelete &&
|
|
24979
|
+
(editMode || (createMode && completed)) &&
|
|
24980
|
+
coordinates.length > 3) {
|
|
24950
24981
|
onVertexDelete(renderCoordinates?.length - 1 - tooltipIndex);
|
|
24951
24982
|
}
|
|
24952
24983
|
setTooltipIndex(null);
|
|
@@ -25166,10 +25197,11 @@ const ObstacleElement = ({ data, isHover }) => {
|
|
|
25166
25197
|
const strokeWidth = useMemo(() => {
|
|
25167
25198
|
// 如果是h5选中的情况下,禁区只有在start模式下才需要加粗
|
|
25168
25199
|
// 其他模式展示的是其他的样式
|
|
25169
|
-
if (platform === PlatformType.H5 &&
|
|
25200
|
+
if ((platform === PlatformType.H5 &&
|
|
25170
25201
|
editMapInfo?.selectElement?.id === data.id &&
|
|
25171
|
-
editMapInfo.mobileMode === MobileEditMode.START)
|
|
25172
|
-
|
|
25202
|
+
editMapInfo.mobileMode === MobileEditMode.START) ||
|
|
25203
|
+
editMapInfo.mobileMode === MobileEditMode.EDIT) {
|
|
25204
|
+
return dp2px((style.lineWidth || 1) * 2.2);
|
|
25173
25205
|
// return dp2px(((style.lineWidth as number) || 3) * 3);
|
|
25174
25206
|
}
|
|
25175
25207
|
return dp2px(style.lineWidth || 3);
|
|
@@ -29082,7 +29114,7 @@ const CreateObstacleElement = forwardRef(({ enabled = false, svgElement, onPoint
|
|
|
29082
29114
|
if (!enabled || points.length === 0) {
|
|
29083
29115
|
return null;
|
|
29084
29116
|
}
|
|
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 }));
|
|
29117
|
+
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
29118
|
});
|
|
29087
29119
|
CreateObstacleElement.displayName = 'CreateObstacleElement';
|
|
29088
29120
|
|
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,13 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24346
24346
|
edgeInfo: edgeInfo,
|
|
24347
24347
|
dragType: 'new',
|
|
24348
24348
|
});
|
|
24349
|
+
// 边上新点:insertIndex 可能与当前 selectedVertexIndex 相同(例如原选中 2,在 1-2 间插入后仍写 2),
|
|
24350
|
+
// React 会跳过 setState,依赖 selectedVertexIndex 的 useLayoutEffect 不会跑,故用微任务直接震一次
|
|
24351
|
+
if (platform === exports.PlatformType.H5 && editMapInfo?.elementType === exports.DataType.OBSTACLE) {
|
|
24352
|
+
void Promise.resolve().then(() => {
|
|
24353
|
+
onH5FirstSelectObstaclePoint?.();
|
|
24354
|
+
});
|
|
24355
|
+
}
|
|
24349
24356
|
// 将新创建的点设为选中态,便于后续直接拖拽
|
|
24350
24357
|
setSelectedVertexIndex(insertIndex);
|
|
24351
24358
|
}, [
|
|
@@ -24356,6 +24363,9 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24356
24363
|
coordinates,
|
|
24357
24364
|
getSVGCoordinates,
|
|
24358
24365
|
calculatePerpendicularFoot$1,
|
|
24366
|
+
platform,
|
|
24367
|
+
editMapInfo?.elementType,
|
|
24368
|
+
onH5FirstSelectObstaclePoint,
|
|
24359
24369
|
]);
|
|
24360
24370
|
// H5平台长按边线创建新顶点
|
|
24361
24371
|
const handleEdgeLongPressStart = React.useCallback((e, edgeStartIndex) => {
|
|
@@ -24757,7 +24767,7 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24757
24767
|
WebkitTouchCallout: 'none',
|
|
24758
24768
|
touchAction: 'none',
|
|
24759
24769
|
} })] }));
|
|
24760
|
-
})()] })), renderCoordinates.length >= 2 && (jsxRuntime.jsx("polygon", { className: canSelect ? styles$6.pointerCursor : '', points: polygonPoints, fill: isHover ?
|
|
24770
|
+
})()] })), renderCoordinates.length >= 2 && (jsxRuntime.jsx("polygon", { className: canSelect ? styles$6.pointerCursor : '', points: polygonPoints, fill: isHover ? hoverFillColor || fillColor : fillColor, fillOpacity: fillOpacity, stroke: "none" // 边框透明
|
|
24761
24771
|
, onClick: onPolygonClick })), jsxRuntime.jsx("g", { children: renderCoordinates.length >= 2 &&
|
|
24762
24772
|
pathSegments.map((segment, index) => {
|
|
24763
24773
|
if (segment.points.length < 2)
|
|
@@ -24783,12 +24793,27 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24783
24793
|
renderCoordinates.map((coord, index) => {
|
|
24784
24794
|
const nextCoord = renderCoordinates[(index + 1) % renderCoordinates.length];
|
|
24785
24795
|
const isDashPath = coord[2] === 1;
|
|
24786
|
-
|
|
24787
|
-
|
|
24788
|
-
|
|
24789
|
-
|
|
24790
|
-
|
|
24791
|
-
|
|
24796
|
+
const edgeLineCommon = {
|
|
24797
|
+
x1: coord[0],
|
|
24798
|
+
y1: coord[1],
|
|
24799
|
+
x2: nextCoord[0],
|
|
24800
|
+
y2: nextCoord[1],
|
|
24801
|
+
};
|
|
24802
|
+
const edgeLineStyle = {
|
|
24803
|
+
userSelect: 'none',
|
|
24804
|
+
WebkitUserSelect: 'none',
|
|
24805
|
+
WebkitTouchCallout: 'none',
|
|
24806
|
+
touchAction: 'none',
|
|
24807
|
+
};
|
|
24808
|
+
// H5 实线:透明粗线仅作长按热区,描边只看上方 path;H5 虚线/Web:沿用透明或主题色边线 + 对应事件(合并为一个 line,避免两段重复)
|
|
24809
|
+
const isH5SolidHitOnly = platform === exports.PlatformType.H5 && ((editMode && !isDashPath) || createMode);
|
|
24810
|
+
const edgeStroke = isH5SolidHitOnly || isDashPath ? 'transparent' : strokeColor;
|
|
24811
|
+
const edgeStrokeWidth = isH5SolidHitOnly
|
|
24812
|
+
? strokeWidth * 12
|
|
24813
|
+
: platform === exports.PlatformType.H5
|
|
24814
|
+
? strokeWidth * 2
|
|
24815
|
+
: strokeWidth;
|
|
24816
|
+
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
24817
|
? {
|
|
24793
24818
|
onTouchStart: createReactEventHandler((e) => handleEdgeLongPressStart(e, index)),
|
|
24794
24819
|
onTouchEnd: createReactEventHandler(() => handleEdgeLongPressEnd()),
|
|
@@ -24935,13 +24960,17 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24935
24960
|
}
|
|
24936
24961
|
}
|
|
24937
24962
|
},
|
|
24938
|
-
onMouseEnter: canComplete
|
|
24939
|
-
|
|
24940
|
-
|
|
24941
|
-
|
|
24942
|
-
|
|
24943
|
-
|
|
24944
|
-
|
|
24963
|
+
onMouseEnter: canComplete
|
|
24964
|
+
? (e) => {
|
|
24965
|
+
setCompleteTooltipOpen(true);
|
|
24966
|
+
updateTooltipPos(e.target);
|
|
24967
|
+
}
|
|
24968
|
+
: undefined,
|
|
24969
|
+
onMouseLeave: canComplete
|
|
24970
|
+
? () => {
|
|
24971
|
+
setCompleteTooltipOpen(false);
|
|
24972
|
+
}
|
|
24973
|
+
: undefined,
|
|
24945
24974
|
}) }), 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
24975
|
e.preventDefault();
|
|
24947
24976
|
e.stopPropagation();
|
|
@@ -24966,7 +24995,9 @@ const PolygonElement = ({ canSelect = false, isHover = false, points, fillColor
|
|
|
24966
24995
|
// </rect>
|
|
24967
24996
|
)] }, `vertex-${idx}`));
|
|
24968
24997
|
}), platform === exports.PlatformType.WEB && tooltipIndex !== null && (jsxRuntime.jsx(Tooltip, { open: true, x: tooltipPos.x, y: tooltipPos.y, text: "Remove", onClick: () => {
|
|
24969
|
-
if (onVertexDelete &&
|
|
24998
|
+
if (onVertexDelete &&
|
|
24999
|
+
(editMode || (createMode && completed)) &&
|
|
25000
|
+
coordinates.length > 3) {
|
|
24970
25001
|
onVertexDelete(renderCoordinates?.length - 1 - tooltipIndex);
|
|
24971
25002
|
}
|
|
24972
25003
|
setTooltipIndex(null);
|
|
@@ -25186,10 +25217,11 @@ const ObstacleElement = ({ data, isHover }) => {
|
|
|
25186
25217
|
const strokeWidth = React.useMemo(() => {
|
|
25187
25218
|
// 如果是h5选中的情况下,禁区只有在start模式下才需要加粗
|
|
25188
25219
|
// 其他模式展示的是其他的样式
|
|
25189
|
-
if (platform === exports.PlatformType.H5 &&
|
|
25220
|
+
if ((platform === exports.PlatformType.H5 &&
|
|
25190
25221
|
editMapInfo?.selectElement?.id === data.id &&
|
|
25191
|
-
editMapInfo.mobileMode === exports.MobileEditMode.START)
|
|
25192
|
-
|
|
25222
|
+
editMapInfo.mobileMode === exports.MobileEditMode.START) ||
|
|
25223
|
+
editMapInfo.mobileMode === exports.MobileEditMode.EDIT) {
|
|
25224
|
+
return dp2px((style.lineWidth || 1) * 2.2);
|
|
25193
25225
|
// return dp2px(((style.lineWidth as number) || 3) * 3);
|
|
25194
25226
|
}
|
|
25195
25227
|
return dp2px(style.lineWidth || 3);
|
|
@@ -29102,7 +29134,7 @@ const CreateObstacleElement = React.forwardRef(({ enabled = false, svgElement, o
|
|
|
29102
29134
|
if (!enabled || points.length === 0) {
|
|
29103
29135
|
return null;
|
|
29104
29136
|
}
|
|
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 }));
|
|
29137
|
+
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
29138
|
});
|
|
29107
29139
|
CreateObstacleElement.displayName = 'CreateObstacleElement';
|
|
29108
29140
|
|
|
@@ -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,
|
|
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,MAA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