@eyeon/threejs-map 1.1.19 → 1.1.22
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/MapBox.d.ts +1 -1
- package/dist/components/SceneComponent/Map.d.ts +2 -1
- package/dist/components/SceneComponent/MapCenterMarker.d.ts +1 -1
- package/dist/components/SceneComponent/RouteTube.d.ts +2 -1
- package/dist/components/SceneComponent/portal-sidebar-form/PortalSidebarForm.d.ts +1 -1
- package/dist/components/SceneComponent/retailer-info/RetailerInfoModal.d.ts +1 -1
- package/dist/components/UIComponent.d.ts +1 -1
- package/dist/contexts/MapBoxContextProvider.d.ts +1 -1
- package/dist/index.js +20 -20
- package/dist/index.js.map +1 -1
- package/dist/index.module.js +6691 -6358
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +21 -21
- package/dist/index.umd.js.map +1 -1
- package/dist/test-maps/franklin/1.svg +1 -0
- package/dist/test-maps/franklin/2.svg +214 -0
- package/dist/test-maps/franklin/B8E5EEB77A4D7CE8.png +0 -0
- package/package.json +1 -1
package/dist/MapBox.d.ts
CHANGED
|
@@ -27,5 +27,5 @@ export interface AppProps {
|
|
|
27
27
|
onExtractedAmenities?: (amenityIds: MapAmenityID[]) => void;
|
|
28
28
|
handleClickOnRetailer?: (retailer_id: number) => void;
|
|
29
29
|
}
|
|
30
|
-
declare const MapBox: (params: AppProps) =>
|
|
30
|
+
declare const MapBox: (params: AppProps) => React.JSX.Element;
|
|
31
31
|
export default MapBox;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MeshFloorsProps } from '../../interfaces';
|
|
2
2
|
import { ThreeEvent } from '@react-three/fiber';
|
|
3
|
+
import { default as React } from 'react';
|
|
3
4
|
import { Mesh } from 'three';
|
|
4
5
|
interface IMapProps {
|
|
5
6
|
floorIndex: number;
|
|
@@ -16,5 +17,5 @@ interface IMapProps {
|
|
|
16
17
|
onClick?: (e: ThreeEvent<MouseEvent>) => void;
|
|
17
18
|
handleChangeFloor: (index: number) => void;
|
|
18
19
|
}
|
|
19
|
-
export declare const Map: (params: IMapProps) =>
|
|
20
|
+
export declare const Map: (params: IMapProps) => React.JSX.Element;
|
|
20
21
|
export {};
|
|
@@ -5,5 +5,5 @@ interface MapCenterMarketProps {
|
|
|
5
5
|
cameraLength: number | undefined;
|
|
6
6
|
text_color?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const MapCenterMarker: ({ size, lockSize, blink, cameraLength, text_color }: MapCenterMarketProps) => import("react
|
|
8
|
+
export declare const MapCenterMarker: ({ size, lockSize, blink, cameraLength, text_color }: MapCenterMarketProps) => import("react").JSX.Element | null;
|
|
9
9
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Mesh } from 'three';
|
|
2
3
|
interface IRouteTubeProps {
|
|
3
4
|
mesh?: Mesh;
|
|
4
5
|
}
|
|
5
|
-
export declare function RouteTube({ mesh }: IRouteTubeProps):
|
|
6
|
+
export declare function RouteTube({ mesh }: IRouteTubeProps): React.JSX.Element | null;
|
|
6
7
|
export {};
|
|
@@ -11,5 +11,5 @@ interface PortalSidebarFormProps {
|
|
|
11
11
|
onObjectNewData?: (data: MapObjData) => void;
|
|
12
12
|
triggerSceneUpdate: Function;
|
|
13
13
|
}
|
|
14
|
-
declare const PortalSidebarForm: (params: PortalSidebarFormProps) => import("react
|
|
14
|
+
declare const PortalSidebarForm: (params: PortalSidebarFormProps) => import("react").JSX.Element | null;
|
|
15
15
|
export default PortalSidebarForm;
|
|
@@ -7,5 +7,5 @@ type RetailerInfoModalProps = {
|
|
|
7
7
|
onClickMapObj: (id: string, amenityType?: string) => void;
|
|
8
8
|
allSvgObjectIds: Set<string>;
|
|
9
9
|
};
|
|
10
|
-
declare const RetailerInfoModal: ({ show, onHide, amenity, selectedAmenityMapObjName, mapObjectName, onClickMapObj, allSvgObjectIds }: RetailerInfoModalProps) => import("react
|
|
10
|
+
declare const RetailerInfoModal: ({ show, onHide, amenity, selectedAmenityMapObjName, mapObjectName, onClickMapObj, allSvgObjectIds }: RetailerInfoModalProps) => import("react").JSX.Element | null;
|
|
11
11
|
export default RetailerInfoModal;
|
|
@@ -11,5 +11,5 @@ export interface UIComponentProps {
|
|
|
11
11
|
handleAmenityClick: (type: string, map_obj_name?: string) => void;
|
|
12
12
|
onExtractedAmenities?: (amenityIds: MapAmenityID[]) => void;
|
|
13
13
|
}
|
|
14
|
-
declare const UIComponent: (params: UIComponentProps) => import("react
|
|
14
|
+
declare const UIComponent: (params: UIComponentProps) => import("react").JSX.Element;
|
|
15
15
|
export default UIComponent;
|
|
@@ -56,6 +56,6 @@ interface MapBoxContextProviderProps {
|
|
|
56
56
|
cachedMapApiResponse?: MapAllDataResponse | null;
|
|
57
57
|
onNewMapApiResponse?: (mapApiResponse: MapAllDataResponse) => void;
|
|
58
58
|
}
|
|
59
|
-
declare const MapBoxContextProvider: ({ children, initialData, mapApiResponseRef, cachedMapApiResponse, onNewMapApiResponse }: MapBoxContextProviderProps) => import("react
|
|
59
|
+
declare const MapBoxContextProvider: ({ children, initialData, mapApiResponseRef, cachedMapApiResponse, onNewMapApiResponse }: MapBoxContextProviderProps) => import("react").JSX.Element;
|
|
60
60
|
export declare function useMapBoxContext(): MapBoxContextType;
|
|
61
61
|
export default MapBoxContextProvider;
|