@tactics/lokaal-loket 0.0.274 → 0.0.275

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.cts CHANGED
@@ -1405,7 +1405,7 @@ interface IFooter {
1405
1405
 
1406
1406
  declare const Footer: ({ top, left, right, bottom }: IFooter) => react_jsx_runtime.JSX.Element;
1407
1407
 
1408
- type TerminalType = "ORIGIN" | "DESTINATION";
1408
+ type TerminalType = "ORIGIN" | "DESTINATION" | "VIEW_ONLY";
1409
1409
  type PointType = "DAYCARE" | "CHILDMINDER" | "COOPERATIVE" | "OUT_OF_RANGE" | "VIEW_ONLY";
1410
1410
  interface ITerminal {
1411
1411
  key: string;
@@ -1465,6 +1465,7 @@ interface ILocationBasedMap {
1465
1465
  }
1466
1466
  interface IDirectionBasedMapBase {
1467
1467
  routes?: IRoutes;
1468
+ viewOnly?: boolean;
1468
1469
  activeRoute: IRoute | null;
1469
1470
  points?: IPoints;
1470
1471
  showLoader: boolean;
@@ -1477,7 +1478,7 @@ interface IDirectionBasedMapBase {
1477
1478
  legendToggle?: React$1.ReactElement<IMapLegendLabel>;
1478
1479
  onRouteChange?: (route: IRoute, travelMode: google.maps.TravelMode, deviation: number) => void;
1479
1480
  onTravelModeChange?: (travelMode: google.maps.TravelMode, deviation: number) => void;
1480
- onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, zoomLevel: number) => void;
1481
+ onAreaChange?: (origin: google.maps.LatLng, destination: google.maps.LatLng, center: google.maps.LatLng, bounds: google.maps.LatLngBounds, zoomLevel: number) => void;
1481
1482
  }
1482
1483
  interface IMap extends PropsWithChildren {
1483
1484
  mapId: string;
@@ -1497,7 +1498,7 @@ declare const Map: {
1497
1498
  Location: (props: ILocationBasedMap & {
1498
1499
  ref?: React$1.Ref<LocationMapHandle>;
1499
1500
  }) => JSX.Element;
1500
- Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1501
+ Direction: ({ viewOnly, routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1501
1502
  Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
1502
1503
  Loading: ({ loader }: {
1503
1504
  loader: React$1.ReactNode;
package/build/index.d.ts CHANGED
@@ -1405,7 +1405,7 @@ interface IFooter {
1405
1405
 
1406
1406
  declare const Footer: ({ top, left, right, bottom }: IFooter) => react_jsx_runtime.JSX.Element;
1407
1407
 
1408
- type TerminalType = "ORIGIN" | "DESTINATION";
1408
+ type TerminalType = "ORIGIN" | "DESTINATION" | "VIEW_ONLY";
1409
1409
  type PointType = "DAYCARE" | "CHILDMINDER" | "COOPERATIVE" | "OUT_OF_RANGE" | "VIEW_ONLY";
1410
1410
  interface ITerminal {
1411
1411
  key: string;
@@ -1465,6 +1465,7 @@ interface ILocationBasedMap {
1465
1465
  }
1466
1466
  interface IDirectionBasedMapBase {
1467
1467
  routes?: IRoutes;
1468
+ viewOnly?: boolean;
1468
1469
  activeRoute: IRoute | null;
1469
1470
  points?: IPoints;
1470
1471
  showLoader: boolean;
@@ -1477,7 +1478,7 @@ interface IDirectionBasedMapBase {
1477
1478
  legendToggle?: React$1.ReactElement<IMapLegendLabel>;
1478
1479
  onRouteChange?: (route: IRoute, travelMode: google.maps.TravelMode, deviation: number) => void;
1479
1480
  onTravelModeChange?: (travelMode: google.maps.TravelMode, deviation: number) => void;
1480
- onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, zoomLevel: number) => void;
1481
+ onAreaChange?: (origin: google.maps.LatLng, destination: google.maps.LatLng, center: google.maps.LatLng, bounds: google.maps.LatLngBounds, zoomLevel: number) => void;
1481
1482
  }
1482
1483
  interface IMap extends PropsWithChildren {
1483
1484
  mapId: string;
@@ -1497,7 +1498,7 @@ declare const Map: {
1497
1498
  Location: (props: ILocationBasedMap & {
1498
1499
  ref?: React$1.Ref<LocationMapHandle>;
1499
1500
  }) => JSX.Element;
1500
- Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1501
+ Direction: ({ viewOnly, routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1501
1502
  Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
1502
1503
  Loading: ({ loader }: {
1503
1504
  loader: React$1.ReactNode;