@fleet-frontend/mower-maps 0.2.6-beta.4 → 0.2.6-beta.5

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
@@ -23439,6 +23439,73 @@ function computeFitViewBoxToContainer(content, containerWidth, containerHeight)
23439
23439
  height: content.height,
23440
23440
  };
23441
23441
  }
23442
+ /** 地图内容在屏幕坐标系下的包围盒(meet 渲染,未考虑旋转) */
23443
+ function getContentScreenBounds(content, viewBox, containerWidth, containerHeight) {
23444
+ const { x: offsetX, y: offsetY, scale } = getViewBoxMeetOffset(viewBox, containerWidth, containerHeight);
23445
+ return {
23446
+ left: offsetX + (content.x - viewBox.x) * scale,
23447
+ top: offsetY + (content.y - viewBox.y) * scale,
23448
+ right: offsetX + (content.x + content.width - viewBox.x) * scale,
23449
+ bottom: offsetY + (content.y + content.height - viewBox.y) * scale,
23450
+ };
23451
+ }
23452
+ function contentFitsInScreenPadding(content, viewBox, pad, containerWidth, containerHeight) {
23453
+ const bounds = getContentScreenBounds(content, viewBox, containerWidth, containerHeight);
23454
+ return (bounds.left >= pad.left &&
23455
+ bounds.top >= pad.top &&
23456
+ bounds.right <= containerWidth - pad.right &&
23457
+ bounds.bottom <= containerHeight - pad.bottom);
23458
+ }
23459
+ function expandViewBoxFromCenter(viewBox, factor) {
23460
+ const centerX = viewBox.x + viewBox.width / 2;
23461
+ const centerY = viewBox.y + viewBox.height / 2;
23462
+ const width = viewBox.width * factor;
23463
+ const height = viewBox.height * factor;
23464
+ return {
23465
+ x: centerX - width / 2,
23466
+ y: centerY - height / 2,
23467
+ width,
23468
+ height,
23469
+ };
23470
+ }
23471
+ /** 将 viewBox 中心对齐到 padding 内矩形中心(增大 top/left → 内容向对应方向避让) */
23472
+ function applyViewBoxPaddingOffset(viewBox, pad, containerWidth, containerHeight) {
23473
+ const offsetX = ((pad.right - pad.left) / 2) * (viewBox.width / containerWidth);
23474
+ const offsetY = ((pad.bottom - pad.top) / 2) * (viewBox.height / containerHeight);
23475
+ return {
23476
+ ...viewBox,
23477
+ x: viewBox.x + offsetX,
23478
+ y: viewBox.y + offsetY,
23479
+ };
23480
+ }
23481
+ function buildPaddedFitViewBox(baseFit, pad, containerWidth, containerHeight, zoomOutFactor) {
23482
+ const expanded = expandViewBoxFromCenter(baseFit, zoomOutFactor);
23483
+ return applyViewBoxPaddingOffset(expanded, pad, containerWidth, containerHeight);
23484
+ }
23485
+ function findMinimumZoomOutForPadding(content, baseFit, pad, containerWidth, containerHeight) {
23486
+ const fits = (zoomOutFactor) => contentFitsInScreenPadding(content, buildPaddedFitViewBox(baseFit, pad, containerWidth, containerHeight, zoomOutFactor), pad, containerWidth, containerHeight);
23487
+ if (fits(1)) {
23488
+ return 1;
23489
+ }
23490
+ const innerWidth = Math.max(containerWidth - pad.left - pad.right, 1);
23491
+ const innerHeight = Math.max(containerHeight - pad.top - pad.bottom, 1);
23492
+ const legacyScale = Math.min(innerWidth / containerWidth, innerHeight / containerHeight);
23493
+ let hi = legacyScale > 0 && legacyScale < 1 ? 1 / legacyScale : 2;
23494
+ while (!fits(hi) && hi < 1024) {
23495
+ hi *= 2;
23496
+ }
23497
+ let lo = 1;
23498
+ for (let i = 0; i < 32; i++) {
23499
+ const mid = (lo + hi) / 2;
23500
+ if (fits(mid)) {
23501
+ hi = mid;
23502
+ }
23503
+ else {
23504
+ lo = mid;
23505
+ }
23506
+ }
23507
+ return hi;
23508
+ }
23442
23509
  /**
23443
23510
  * 计算默认 fit viewBox
23444
23511
  *
@@ -23450,26 +23517,8 @@ function computeFitViewBox(content, containerWidth, containerHeight, screenPaddi
23450
23517
  if (isZeroScreenPadding(pad)) {
23451
23518
  return baseFit;
23452
23519
  }
23453
- const innerWidth = Math.max(containerWidth - pad.left - pad.right, 1);
23454
- const innerHeight = Math.max(containerHeight - pad.top - pad.bottom, 1);
23455
- const scaleX = innerWidth / containerWidth;
23456
- const scaleY = innerHeight / containerHeight;
23457
- const scale = Math.min(scaleX, scaleY);
23458
- if (!Number.isFinite(scale) || scale <= 0 || scale >= 1) {
23459
- return baseFit;
23460
- }
23461
- const newWidth = baseFit.width / scale;
23462
- const newHeight = baseFit.height / scale;
23463
- const centerX = baseFit.x + baseFit.width / 2;
23464
- const centerY = baseFit.y + baseFit.height / 2;
23465
- const offsetX = ((pad.left - pad.right) / 2) * (newWidth / containerWidth);
23466
- const offsetY = ((pad.top - pad.bottom) / 2) * (newHeight / containerHeight);
23467
- return {
23468
- x: centerX - newWidth / 2 + offsetX,
23469
- y: centerY - newHeight / 2 + offsetY,
23470
- width: newWidth,
23471
- height: newHeight,
23472
- };
23520
+ const zoomOutFactor = findMinimumZoomOutForPadding(content, baseFit, pad, containerWidth, containerHeight);
23521
+ return buildPaddedFitViewBox(baseFit, pad, containerWidth, containerHeight, zoomOutFactor);
23473
23522
  }
23474
23523
  function viewBoxToString(viewBox) {
23475
23524
  return `${viewBox.x} ${viewBox.y} ${viewBox.width} ${viewBox.height}`;
@@ -30780,9 +30829,9 @@ const PARTITION_PICKER_GRID_BASE_COLOR = '#E3E5EB';
30780
30829
  /** 网格单元边长(SVG 地图坐标,与 viewBox 一致;zoom 时间距同比缩放) */
30781
30830
  const PARTITION_PICKER_GRID_TILE_SIZE = 10;
30782
30831
  /** 网格线宽(地图坐标;随 zoom 同比缩放,不做屏幕像素恒定) */
30783
- const PARTITION_PICKER_GRID_LINE_WIDTH = 0.5;
30832
+ const PARTITION_PICKER_GRID_LINE_WIDTH = 0.2;
30784
30833
  /** 网格交点圆点半径(地图坐标) */
30785
- const PARTITION_PICKER_GRID_DOT_RADIUS = 0.5;
30834
+ const PARTITION_PICKER_GRID_DOT_RADIUS = 0.6;
30786
30835
  /** 网格层整体不透明度(Figma 约 80%) */
30787
30836
  const PARTITION_PICKER_GRID_OPACITY = 0.4;
30788
30837
  /** 网格线与交点颜色 */
@@ -31907,7 +31956,12 @@ const MapGridBackground = ({ viewBox, gridStyle }) => {
31907
31956
  const patternId = useMemo(() => `partition-picker-grid-lines-${reactId.replace(/:/g, '-')}`, [reactId]);
31908
31957
  const { baseColor, strokeColor, tileSize: tile, lineWidth, dotRadius, opacity, maxIntersectionDots, } = gridStyle;
31909
31958
  const intersections = useMemo(() => getVisibleGridIntersections(viewBox, tile, maxIntersectionDots), [maxIntersectionDots, tile, viewBox.x, viewBox.y, viewBox.width, viewBox.height]);
31910
- return (jsxs("g", { className: "partition-picker-grid-bg", "aria-hidden": true, pointerEvents: "none", children: [jsx("defs", { children: jsxs("pattern", { id: patternId, patternUnits: "userSpaceOnUse", width: tile, height: tile, children: [jsx("line", { x1: 0, y1: 0, x2: tile, y2: 0, stroke: strokeColor, strokeWidth: lineWidth }), jsx("line", { x1: 0, y1: 0, x2: 0, y2: tile, stroke: strokeColor, strokeWidth: lineWidth })] }) }), jsx("rect", { x: viewBox.x, y: viewBox.y, width: viewBox.width, height: viewBox.height, fill: baseColor }), jsx("rect", { x: viewBox.x, y: viewBox.y, width: viewBox.width, height: viewBox.height, fill: `url(#${patternId})`, opacity: opacity }), jsx("g", { opacity: opacity, children: intersections.map((point, index) => (jsx("circle", { cx: point.x, cy: point.y, r: dotRadius, fill: strokeColor }, `${point.x}-${point.y}-${index}`))) })] }));
31959
+ /**
31960
+ * SVG stroke 以路径为中心;线在 tile 的 0 边绘制时,四格交点的视觉中心会偏向路径右下。
31961
+ * 线条内缩 lineWidth/2,圆点同步偏移,使圆心与网格线交叉中心对齐。
31962
+ */
31963
+ const lineHalf = lineWidth / 2;
31964
+ return (jsxs("g", { className: "partition-picker-grid-bg", "aria-hidden": true, pointerEvents: "none", children: [jsx("defs", { children: jsxs("pattern", { id: patternId, patternUnits: "userSpaceOnUse", width: tile, height: tile, children: [jsx("line", { x1: 0, y1: lineHalf, x2: tile, y2: lineHalf, stroke: strokeColor, strokeWidth: lineWidth }), jsx("line", { x1: lineHalf, y1: 0, x2: lineHalf, y2: tile, stroke: strokeColor, strokeWidth: lineWidth })] }) }), jsx("rect", { x: viewBox.x, y: viewBox.y, width: viewBox.width, height: viewBox.height, fill: baseColor }), jsx("rect", { x: viewBox.x, y: viewBox.y, width: viewBox.width, height: viewBox.height, fill: `url(#${patternId})`, opacity: opacity }), jsx("g", { opacity: opacity, children: intersections.map((point, index) => (jsx("circle", { cx: point.x + lineHalf, cy: point.y + lineHalf, r: dotRadius, fill: strokeColor }, `${point.x}-${point.y}-${index}`))) })] }));
31911
31965
  };
31912
31966
  var MapGridBackground$1 = memo(MapGridBackground);
31913
31967
 
package/dist/index.js CHANGED
@@ -23459,6 +23459,73 @@ function computeFitViewBoxToContainer(content, containerWidth, containerHeight)
23459
23459
  height: content.height,
23460
23460
  };
23461
23461
  }
23462
+ /** 地图内容在屏幕坐标系下的包围盒(meet 渲染,未考虑旋转) */
23463
+ function getContentScreenBounds(content, viewBox, containerWidth, containerHeight) {
23464
+ const { x: offsetX, y: offsetY, scale } = getViewBoxMeetOffset(viewBox, containerWidth, containerHeight);
23465
+ return {
23466
+ left: offsetX + (content.x - viewBox.x) * scale,
23467
+ top: offsetY + (content.y - viewBox.y) * scale,
23468
+ right: offsetX + (content.x + content.width - viewBox.x) * scale,
23469
+ bottom: offsetY + (content.y + content.height - viewBox.y) * scale,
23470
+ };
23471
+ }
23472
+ function contentFitsInScreenPadding(content, viewBox, pad, containerWidth, containerHeight) {
23473
+ const bounds = getContentScreenBounds(content, viewBox, containerWidth, containerHeight);
23474
+ return (bounds.left >= pad.left &&
23475
+ bounds.top >= pad.top &&
23476
+ bounds.right <= containerWidth - pad.right &&
23477
+ bounds.bottom <= containerHeight - pad.bottom);
23478
+ }
23479
+ function expandViewBoxFromCenter(viewBox, factor) {
23480
+ const centerX = viewBox.x + viewBox.width / 2;
23481
+ const centerY = viewBox.y + viewBox.height / 2;
23482
+ const width = viewBox.width * factor;
23483
+ const height = viewBox.height * factor;
23484
+ return {
23485
+ x: centerX - width / 2,
23486
+ y: centerY - height / 2,
23487
+ width,
23488
+ height,
23489
+ };
23490
+ }
23491
+ /** 将 viewBox 中心对齐到 padding 内矩形中心(增大 top/left → 内容向对应方向避让) */
23492
+ function applyViewBoxPaddingOffset(viewBox, pad, containerWidth, containerHeight) {
23493
+ const offsetX = ((pad.right - pad.left) / 2) * (viewBox.width / containerWidth);
23494
+ const offsetY = ((pad.bottom - pad.top) / 2) * (viewBox.height / containerHeight);
23495
+ return {
23496
+ ...viewBox,
23497
+ x: viewBox.x + offsetX,
23498
+ y: viewBox.y + offsetY,
23499
+ };
23500
+ }
23501
+ function buildPaddedFitViewBox(baseFit, pad, containerWidth, containerHeight, zoomOutFactor) {
23502
+ const expanded = expandViewBoxFromCenter(baseFit, zoomOutFactor);
23503
+ return applyViewBoxPaddingOffset(expanded, pad, containerWidth, containerHeight);
23504
+ }
23505
+ function findMinimumZoomOutForPadding(content, baseFit, pad, containerWidth, containerHeight) {
23506
+ const fits = (zoomOutFactor) => contentFitsInScreenPadding(content, buildPaddedFitViewBox(baseFit, pad, containerWidth, containerHeight, zoomOutFactor), pad, containerWidth, containerHeight);
23507
+ if (fits(1)) {
23508
+ return 1;
23509
+ }
23510
+ const innerWidth = Math.max(containerWidth - pad.left - pad.right, 1);
23511
+ const innerHeight = Math.max(containerHeight - pad.top - pad.bottom, 1);
23512
+ const legacyScale = Math.min(innerWidth / containerWidth, innerHeight / containerHeight);
23513
+ let hi = legacyScale > 0 && legacyScale < 1 ? 1 / legacyScale : 2;
23514
+ while (!fits(hi) && hi < 1024) {
23515
+ hi *= 2;
23516
+ }
23517
+ let lo = 1;
23518
+ for (let i = 0; i < 32; i++) {
23519
+ const mid = (lo + hi) / 2;
23520
+ if (fits(mid)) {
23521
+ hi = mid;
23522
+ }
23523
+ else {
23524
+ lo = mid;
23525
+ }
23526
+ }
23527
+ return hi;
23528
+ }
23462
23529
  /**
23463
23530
  * 计算默认 fit viewBox
23464
23531
  *
@@ -23470,26 +23537,8 @@ function computeFitViewBox(content, containerWidth, containerHeight, screenPaddi
23470
23537
  if (isZeroScreenPadding(pad)) {
23471
23538
  return baseFit;
23472
23539
  }
23473
- const innerWidth = Math.max(containerWidth - pad.left - pad.right, 1);
23474
- const innerHeight = Math.max(containerHeight - pad.top - pad.bottom, 1);
23475
- const scaleX = innerWidth / containerWidth;
23476
- const scaleY = innerHeight / containerHeight;
23477
- const scale = Math.min(scaleX, scaleY);
23478
- if (!Number.isFinite(scale) || scale <= 0 || scale >= 1) {
23479
- return baseFit;
23480
- }
23481
- const newWidth = baseFit.width / scale;
23482
- const newHeight = baseFit.height / scale;
23483
- const centerX = baseFit.x + baseFit.width / 2;
23484
- const centerY = baseFit.y + baseFit.height / 2;
23485
- const offsetX = ((pad.left - pad.right) / 2) * (newWidth / containerWidth);
23486
- const offsetY = ((pad.top - pad.bottom) / 2) * (newHeight / containerHeight);
23487
- return {
23488
- x: centerX - newWidth / 2 + offsetX,
23489
- y: centerY - newHeight / 2 + offsetY,
23490
- width: newWidth,
23491
- height: newHeight,
23492
- };
23540
+ const zoomOutFactor = findMinimumZoomOutForPadding(content, baseFit, pad, containerWidth, containerHeight);
23541
+ return buildPaddedFitViewBox(baseFit, pad, containerWidth, containerHeight, zoomOutFactor);
23493
23542
  }
23494
23543
  function viewBoxToString(viewBox) {
23495
23544
  return `${viewBox.x} ${viewBox.y} ${viewBox.width} ${viewBox.height}`;
@@ -30800,9 +30849,9 @@ const PARTITION_PICKER_GRID_BASE_COLOR = '#E3E5EB';
30800
30849
  /** 网格单元边长(SVG 地图坐标,与 viewBox 一致;zoom 时间距同比缩放) */
30801
30850
  const PARTITION_PICKER_GRID_TILE_SIZE = 10;
30802
30851
  /** 网格线宽(地图坐标;随 zoom 同比缩放,不做屏幕像素恒定) */
30803
- const PARTITION_PICKER_GRID_LINE_WIDTH = 0.5;
30852
+ const PARTITION_PICKER_GRID_LINE_WIDTH = 0.2;
30804
30853
  /** 网格交点圆点半径(地图坐标) */
30805
- const PARTITION_PICKER_GRID_DOT_RADIUS = 0.5;
30854
+ const PARTITION_PICKER_GRID_DOT_RADIUS = 0.6;
30806
30855
  /** 网格层整体不透明度(Figma 约 80%) */
30807
30856
  const PARTITION_PICKER_GRID_OPACITY = 0.4;
30808
30857
  /** 网格线与交点颜色 */
@@ -31927,7 +31976,12 @@ const MapGridBackground = ({ viewBox, gridStyle }) => {
31927
31976
  const patternId = React.useMemo(() => `partition-picker-grid-lines-${reactId.replace(/:/g, '-')}`, [reactId]);
31928
31977
  const { baseColor, strokeColor, tileSize: tile, lineWidth, dotRadius, opacity, maxIntersectionDots, } = gridStyle;
31929
31978
  const intersections = React.useMemo(() => getVisibleGridIntersections(viewBox, tile, maxIntersectionDots), [maxIntersectionDots, tile, viewBox.x, viewBox.y, viewBox.width, viewBox.height]);
31930
- return (jsxRuntime.jsxs("g", { className: "partition-picker-grid-bg", "aria-hidden": true, pointerEvents: "none", children: [jsxRuntime.jsx("defs", { children: jsxRuntime.jsxs("pattern", { id: patternId, patternUnits: "userSpaceOnUse", width: tile, height: tile, children: [jsxRuntime.jsx("line", { x1: 0, y1: 0, x2: tile, y2: 0, stroke: strokeColor, strokeWidth: lineWidth }), jsxRuntime.jsx("line", { x1: 0, y1: 0, x2: 0, y2: tile, stroke: strokeColor, strokeWidth: lineWidth })] }) }), jsxRuntime.jsx("rect", { x: viewBox.x, y: viewBox.y, width: viewBox.width, height: viewBox.height, fill: baseColor }), jsxRuntime.jsx("rect", { x: viewBox.x, y: viewBox.y, width: viewBox.width, height: viewBox.height, fill: `url(#${patternId})`, opacity: opacity }), jsxRuntime.jsx("g", { opacity: opacity, children: intersections.map((point, index) => (jsxRuntime.jsx("circle", { cx: point.x, cy: point.y, r: dotRadius, fill: strokeColor }, `${point.x}-${point.y}-${index}`))) })] }));
31979
+ /**
31980
+ * SVG stroke 以路径为中心;线在 tile 的 0 边绘制时,四格交点的视觉中心会偏向路径右下。
31981
+ * 线条内缩 lineWidth/2,圆点同步偏移,使圆心与网格线交叉中心对齐。
31982
+ */
31983
+ const lineHalf = lineWidth / 2;
31984
+ return (jsxRuntime.jsxs("g", { className: "partition-picker-grid-bg", "aria-hidden": true, pointerEvents: "none", children: [jsxRuntime.jsx("defs", { children: jsxRuntime.jsxs("pattern", { id: patternId, patternUnits: "userSpaceOnUse", width: tile, height: tile, children: [jsxRuntime.jsx("line", { x1: 0, y1: lineHalf, x2: tile, y2: lineHalf, stroke: strokeColor, strokeWidth: lineWidth }), jsxRuntime.jsx("line", { x1: lineHalf, y1: 0, x2: lineHalf, y2: tile, stroke: strokeColor, strokeWidth: lineWidth })] }) }), jsxRuntime.jsx("rect", { x: viewBox.x, y: viewBox.y, width: viewBox.width, height: viewBox.height, fill: baseColor }), jsxRuntime.jsx("rect", { x: viewBox.x, y: viewBox.y, width: viewBox.width, height: viewBox.height, fill: `url(#${patternId})`, opacity: opacity }), jsxRuntime.jsx("g", { opacity: opacity, children: intersections.map((point, index) => (jsxRuntime.jsx("circle", { cx: point.x + lineHalf, cy: point.y + lineHalf, r: dotRadius, fill: strokeColor }, `${point.x}-${point.y}-${index}`))) })] }));
31931
31985
  };
31932
31986
  var MapGridBackground$1 = React.memo(MapGridBackground);
31933
31987
 
@@ -33,9 +33,9 @@ export declare const PARTITION_PICKER_GRID_BASE_COLOR = "#E3E5EB";
33
33
  /** 网格单元边长(SVG 地图坐标,与 viewBox 一致;zoom 时间距同比缩放) */
34
34
  export declare const PARTITION_PICKER_GRID_TILE_SIZE = 10;
35
35
  /** 网格线宽(地图坐标;随 zoom 同比缩放,不做屏幕像素恒定) */
36
- export declare const PARTITION_PICKER_GRID_LINE_WIDTH = 0.5;
36
+ export declare const PARTITION_PICKER_GRID_LINE_WIDTH = 0.2;
37
37
  /** 网格交点圆点半径(地图坐标) */
38
- export declare const PARTITION_PICKER_GRID_DOT_RADIUS = 0.5;
38
+ export declare const PARTITION_PICKER_GRID_DOT_RADIUS = 0.6;
39
39
  /** 网格层整体不透明度(Figma 约 80%) */
40
40
  export declare const PARTITION_PICKER_GRID_OPACITY = 0.4;
41
41
  /** 网格线与交点颜色 */
@@ -1 +1 @@
1
- {"version":3,"file":"MapGridBackground.d.ts","sourceRoot":"","sources":["../../../../src/render/partitionPicker/layers/MapGridBackground.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,UAAU,sBAAsB;IAC9B,gCAAgC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,iDAAiD;IACjD,SAAS,EAAE,wBAAwB,CAAC;CACrC;2EA+BkD,sBAAsB;AAyFzE,wBAAuC"}
1
+ {"version":3,"file":"MapGridBackground.d.ts","sourceRoot":"","sources":["../../../../src/render/partitionPicker/layers/MapGridBackground.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,UAAU,sBAAsB;IAC9B,gCAAgC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,iDAAiD;IACjD,SAAS,EAAE,wBAAwB,CAAC;CACrC;2EA+BkD,sBAAsB;AA+FzE,wBAAuC"}
@@ -1,6 +1,5 @@
1
1
  import { MapBounds } from '@/types/utils';
2
- import { ScreenPaddingInput } from './types';
3
- import { ViewBox } from './types';
2
+ import { ScreenPaddingInput, ViewBox } from './types';
4
3
  /** 拖拽超过该像素阈值时视为平移,而非点击 */
5
4
  export declare const PAN_CLICK_THRESHOLD_PX = 5;
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"viewportUtils.d.ts","sourceRoot":"","sources":["../../../src/render/partitionPicker/viewportUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAGL,kBAAkB,EACnB,MAAM,SAA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AAM,EACd,MAAM,EAAE,MAAM,GACb,OAAO,CAcT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleet-frontend/mower-maps",
3
- "version": "0.2.6-beta.4",
3
+ "version": "0.2.6-beta.5",
4
4
  "type": "module",
5
5
  "description": "a mower maps in google maps",
6
6
  "main": "dist/index.js",