@fleet-frontend/mower-maps 0.2.5-beta.7 → 0.2.5-beta.9
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/README.md +0 -1
- package/dist/context/common.d.ts +37 -2
- package/dist/context/common.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +549 -130
- package/dist/index.js +548 -129
- package/dist/render/MowerMapRenderer.d.ts.map +1 -1
- package/dist/render/Overlay/overlayView.d.ts +1 -1
- package/dist/render/Overlay/overlayView.d.ts.map +1 -1
- package/dist/render/boundaryLabels/index.d.ts +1 -1
- package/dist/render/boundaryLabels/index.d.ts.map +1 -1
- package/dist/render/charginPile/index.d.ts +3 -1
- package/dist/render/charginPile/index.d.ts.map +1 -1
- package/dist/render/svgElement/PolygonELement/components/Magnifier/index.d.ts +41 -0
- package/dist/render/svgElement/PolygonELement/components/Magnifier/index.d.ts.map +1 -0
- package/dist/render/svgElement/PolygonELement/index.d.ts.map +1 -1
- package/dist/types/renderer.d.ts +22 -0
- package/dist/types/renderer.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
暂无
|
package/dist/context/common.d.ts
CHANGED
|
@@ -19,38 +19,73 @@ interface CommonContextType {
|
|
|
19
19
|
drag: {
|
|
20
20
|
x?: number;
|
|
21
21
|
y?: number;
|
|
22
|
+
rotate?: number;
|
|
22
23
|
rotation?: number;
|
|
23
24
|
};
|
|
24
25
|
mapRef: any;
|
|
25
26
|
overlayScale?: number;
|
|
26
27
|
showStraddleBoundaryBorder?: boolean;
|
|
27
28
|
doodleList?: any[];
|
|
29
|
+
overlayLayout?: Record<string, any> | null;
|
|
30
|
+
bounds?: any;
|
|
31
|
+
googleMapStaticApiKey?: string;
|
|
32
|
+
onH5FirstSelectObstaclePoint?: () => void;
|
|
28
33
|
}
|
|
29
34
|
export declare const CommonContext: import("react").Context<{
|
|
30
35
|
sn: string;
|
|
31
36
|
editMap: boolean;
|
|
32
|
-
mowerIconConfig: {
|
|
37
|
+
mowerIconConfig: {
|
|
38
|
+
mapImgUrl: string;
|
|
39
|
+
mapDisabledUrl: string;
|
|
40
|
+
mapNoPositionUrl: string;
|
|
41
|
+
};
|
|
33
42
|
platform: PlatformType;
|
|
34
43
|
svgViewBox: any;
|
|
35
44
|
unitType: UnitsType;
|
|
45
|
+
mapConfig: {};
|
|
46
|
+
mapJson: any;
|
|
47
|
+
drag: {
|
|
48
|
+
x: number;
|
|
49
|
+
y: number;
|
|
50
|
+
rotate: number;
|
|
51
|
+
rotation: number;
|
|
52
|
+
};
|
|
36
53
|
mapRef: any;
|
|
54
|
+
bounds: any;
|
|
37
55
|
globalHeight: number;
|
|
38
56
|
heightOptions: any[];
|
|
39
57
|
overlayScale: number;
|
|
40
58
|
showStraddleBoundaryBorder: boolean;
|
|
59
|
+
googleMapStaticApiKey: string;
|
|
60
|
+
onH5FirstSelectObstaclePoint: any;
|
|
41
61
|
}>;
|
|
42
62
|
export declare const CommonContextProvider: import("react").Provider<{
|
|
43
63
|
sn: string;
|
|
44
64
|
editMap: boolean;
|
|
45
|
-
mowerIconConfig: {
|
|
65
|
+
mowerIconConfig: {
|
|
66
|
+
mapImgUrl: string;
|
|
67
|
+
mapDisabledUrl: string;
|
|
68
|
+
mapNoPositionUrl: string;
|
|
69
|
+
};
|
|
46
70
|
platform: PlatformType;
|
|
47
71
|
svgViewBox: any;
|
|
48
72
|
unitType: UnitsType;
|
|
73
|
+
mapConfig: {};
|
|
74
|
+
mapJson: any;
|
|
75
|
+
drag: {
|
|
76
|
+
x: number;
|
|
77
|
+
y: number;
|
|
78
|
+
rotate: number;
|
|
79
|
+
rotation: number;
|
|
80
|
+
};
|
|
49
81
|
mapRef: any;
|
|
82
|
+
bounds: any;
|
|
50
83
|
globalHeight: number;
|
|
51
84
|
heightOptions: any[];
|
|
52
85
|
overlayScale: number;
|
|
53
86
|
showStraddleBoundaryBorder: boolean;
|
|
87
|
+
googleMapStaticApiKey: string;
|
|
88
|
+
onH5FirstSelectObstaclePoint: any;
|
|
54
89
|
}>;
|
|
55
90
|
export declare const useCommonContext: () => CommonContextType;
|
|
56
91
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/context/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,eAAe,CAAC;IACjC,QAAQ,EAAE,YAAY,CAAC;IACvB,UAAU,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACpE,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/context/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,UAAU,iBAAiB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1
1
|
export { default as MowerMapRenderer } from './render/MowerMapRenderer';
|
|
2
2
|
export { default as BoundarySvgRender } from './render/BoundarySvgRender';
|
|
3
3
|
export type { MapConfig, AntennaConfig, MowerPositionConfig, MowerMapRendererProps, MowerMapRendererRef, DragState, DragCallbacks, } from './types/renderer';
|
|
4
|
-
export { PlatformType, CheckObstaclePointErrorType, CheckDoodleErrorType } from './types/renderer';
|
|
4
|
+
export { PlatformType, MapType, CheckObstaclePointErrorType, CheckDoodleErrorType, } from './types/renderer';
|
|
5
5
|
export { ClickEventType } from './context/mapEdit';
|
|
6
6
|
export type { PathConfig } from './types/processor';
|
|
7
7
|
export { CreateStatus, MobileEditMode, RecordTypeEnum, RecordFunctionEnum, } from './context/mapEdit';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAExE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG1E,YAAY,EACV,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,SAAS,EACT,aAAa,GACd,MAAM,kBAAkB,CAAC;AAG1B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAExE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG1E,YAAY,EACV,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,SAAS,EACT,aAAa,GACd,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,YAAY,EACZ,OAAO,EACP,2BAA2B,EAC3B,oB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