@tactics/lokaal-loket 0.0.269 → 0.0.270
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.cjs +762 -762
- package/build/index.d.cts +7 -1
- package/build/index.d.ts +7 -1
- package/build/index.js +575 -575
- package/package.json +1 -1
package/build/index.d.cts
CHANGED
@@ -1483,12 +1483,18 @@ interface IMap extends PropsWithChildren {
|
|
1483
1483
|
zoom?: number;
|
1484
1484
|
}
|
1485
1485
|
|
1486
|
+
interface LocationMapHandle {
|
1487
|
+
panTo: (lat: number, lng: number) => void;
|
1488
|
+
}
|
1489
|
+
|
1486
1490
|
declare const MapLegendLabel: ({ figure, label }: IMapLegendLabel) => react_jsx_runtime.JSX.Element;
|
1487
1491
|
declare const MapLegendItem: ({ pin, label }: IMapLegendItem) => react_jsx_runtime.JSX.Element;
|
1488
1492
|
|
1489
1493
|
declare const Map: {
|
1490
1494
|
(props: IMap): react_jsx_runtime.JSX.Element;
|
1491
|
-
Location: (
|
1495
|
+
Location: (props: ILocationBasedMap & {
|
1496
|
+
ref?: React$1.Ref<LocationMapHandle>;
|
1497
|
+
}) => JSX.Element;
|
1492
1498
|
Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
|
1493
1499
|
Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
|
1494
1500
|
Loading: ({ loader }: {
|
package/build/index.d.ts
CHANGED
@@ -1483,12 +1483,18 @@ interface IMap extends PropsWithChildren {
|
|
1483
1483
|
zoom?: number;
|
1484
1484
|
}
|
1485
1485
|
|
1486
|
+
interface LocationMapHandle {
|
1487
|
+
panTo: (lat: number, lng: number) => void;
|
1488
|
+
}
|
1489
|
+
|
1486
1490
|
declare const MapLegendLabel: ({ figure, label }: IMapLegendLabel) => react_jsx_runtime.JSX.Element;
|
1487
1491
|
declare const MapLegendItem: ({ pin, label }: IMapLegendItem) => react_jsx_runtime.JSX.Element;
|
1488
1492
|
|
1489
1493
|
declare const Map: {
|
1490
1494
|
(props: IMap): react_jsx_runtime.JSX.Element;
|
1491
|
-
Location: (
|
1495
|
+
Location: (props: ILocationBasedMap & {
|
1496
|
+
ref?: React$1.Ref<LocationMapHandle>;
|
1497
|
+
}) => JSX.Element;
|
1492
1498
|
Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
|
1493
1499
|
Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
|
1494
1500
|
Loading: ({ loader }: {
|