@tactics/lokaal-loket 0.0.178 → 0.0.179
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.cjs +466 -458
- package/build/index.d.cts +1 -3
- package/build/index.d.ts +1 -3
- package/build/index.js +310 -302
- package/package.json +1 -1
package/build/index.d.cts
CHANGED
@@ -1174,8 +1174,6 @@ interface ILocationBasedMap {
|
|
1174
1174
|
showLoader: boolean;
|
1175
1175
|
loader?: React$1.ReactNode;
|
1176
1176
|
origin: IOrigin;
|
1177
|
-
onRadiusChange?: (r: number) => void;
|
1178
|
-
onZoomChange?: (zoom: number) => void;
|
1179
1177
|
onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number) => void;
|
1180
1178
|
}
|
1181
1179
|
interface IDirectionBasedMapBase {
|
@@ -1205,7 +1203,7 @@ interface TravelModeLabels {
|
|
1205
1203
|
|
1206
1204
|
declare const Map: {
|
1207
1205
|
(props: IMap): react_jsx_runtime.JSX.Element;
|
1208
|
-
Location: ({ points, showLoader, loader, origin,
|
1206
|
+
Location: ({ points, showLoader, loader, origin, onAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
|
1209
1207
|
Direction: ({ routes, activeRoute, origin, destination, travelModeLabels, points, showLoader, loader, onTravelModeChange, onRouteChange, onZoomChange, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
|
1210
1208
|
Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
|
1211
1209
|
Loading: ({ loader }: {
|
package/build/index.d.ts
CHANGED
@@ -1174,8 +1174,6 @@ interface ILocationBasedMap {
|
|
1174
1174
|
showLoader: boolean;
|
1175
1175
|
loader?: React$1.ReactNode;
|
1176
1176
|
origin: IOrigin;
|
1177
|
-
onRadiusChange?: (r: number) => void;
|
1178
|
-
onZoomChange?: (zoom: number) => void;
|
1179
1177
|
onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number) => void;
|
1180
1178
|
}
|
1181
1179
|
interface IDirectionBasedMapBase {
|
@@ -1205,7 +1203,7 @@ interface TravelModeLabels {
|
|
1205
1203
|
|
1206
1204
|
declare const Map: {
|
1207
1205
|
(props: IMap): react_jsx_runtime.JSX.Element;
|
1208
|
-
Location: ({ points, showLoader, loader, origin,
|
1206
|
+
Location: ({ points, showLoader, loader, origin, onAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
|
1209
1207
|
Direction: ({ routes, activeRoute, origin, destination, travelModeLabels, points, showLoader, loader, onTravelModeChange, onRouteChange, onZoomChange, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
|
1210
1208
|
Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
|
1211
1209
|
Loading: ({ loader }: {
|