@tactics/lokaal-loket 0.0.260 → 0.0.263

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.cts CHANGED
@@ -140,7 +140,8 @@ declare enum PinType {
140
140
  DAYCARE = "DAYCARE",
141
141
  CHILDMINDER = "CHILDMINDER",
142
142
  COOPERATIVE = "COOPERATIVE",
143
- OUT_OF_RANGE = "OUT_OF_RANGE"
143
+ OUT_OF_RANGE = "OUT_OF_RANGE",
144
+ VIEW_ONLY = "VIEW_ONLY"
144
145
  }
145
146
 
146
147
  interface IPinBase {
@@ -1399,7 +1400,7 @@ interface IFooter {
1399
1400
  declare const Footer: ({ top, left, right, bottom }: IFooter) => react_jsx_runtime.JSX.Element;
1400
1401
 
1401
1402
  type TerminalType = "ORIGIN" | "DESTINATION";
1402
- type PointType = "DAYCARE" | "CHILDMINDER" | "COOPERATIVE" | "OUT_OF_RANGE";
1403
+ type PointType = "DAYCARE" | "CHILDMINDER" | "COOPERATIVE" | "OUT_OF_RANGE" | "VIEW_ONLY";
1403
1404
  interface ITerminal {
1404
1405
  key: string;
1405
1406
  name: string;
@@ -1445,7 +1446,7 @@ interface IMapLegendItem {
1445
1446
  label: string;
1446
1447
  }
1447
1448
  interface ILocationBasedMap {
1448
- interaction?: boolean;
1449
+ viewOnly?: boolean;
1449
1450
  points?: IPoints;
1450
1451
  showLoader: boolean;
1451
1452
  loader?: React$1.ReactNode;
@@ -1473,6 +1474,7 @@ interface IDirectionBasedMapBase {
1473
1474
  interface IMap extends PropsWithChildren {
1474
1475
  mapId: string;
1475
1476
  defaultCenter: google.maps.LatLngLiteral;
1477
+ zoom?: number;
1476
1478
  }
1477
1479
 
1478
1480
  declare const MapLegendLabel: ({ figure, label }: IMapLegendLabel) => react_jsx_runtime.JSX.Element;
@@ -1480,7 +1482,7 @@ declare const MapLegendItem: ({ pin, label }: IMapLegendItem) => react_jsx_runti
1480
1482
 
1481
1483
  declare const Map: {
1482
1484
  (props: IMap): react_jsx_runtime.JSX.Element;
1483
- Location: ({ interaction, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1485
+ Location: ({ viewOnly, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1484
1486
  Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1485
1487
  Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
1486
1488
  Loading: ({ loader }: {
package/build/index.d.ts CHANGED
@@ -140,7 +140,8 @@ declare enum PinType {
140
140
  DAYCARE = "DAYCARE",
141
141
  CHILDMINDER = "CHILDMINDER",
142
142
  COOPERATIVE = "COOPERATIVE",
143
- OUT_OF_RANGE = "OUT_OF_RANGE"
143
+ OUT_OF_RANGE = "OUT_OF_RANGE",
144
+ VIEW_ONLY = "VIEW_ONLY"
144
145
  }
145
146
 
146
147
  interface IPinBase {
@@ -1399,7 +1400,7 @@ interface IFooter {
1399
1400
  declare const Footer: ({ top, left, right, bottom }: IFooter) => react_jsx_runtime.JSX.Element;
1400
1401
 
1401
1402
  type TerminalType = "ORIGIN" | "DESTINATION";
1402
- type PointType = "DAYCARE" | "CHILDMINDER" | "COOPERATIVE" | "OUT_OF_RANGE";
1403
+ type PointType = "DAYCARE" | "CHILDMINDER" | "COOPERATIVE" | "OUT_OF_RANGE" | "VIEW_ONLY";
1403
1404
  interface ITerminal {
1404
1405
  key: string;
1405
1406
  name: string;
@@ -1445,7 +1446,7 @@ interface IMapLegendItem {
1445
1446
  label: string;
1446
1447
  }
1447
1448
  interface ILocationBasedMap {
1448
- interaction?: boolean;
1449
+ viewOnly?: boolean;
1449
1450
  points?: IPoints;
1450
1451
  showLoader: boolean;
1451
1452
  loader?: React$1.ReactNode;
@@ -1473,6 +1474,7 @@ interface IDirectionBasedMapBase {
1473
1474
  interface IMap extends PropsWithChildren {
1474
1475
  mapId: string;
1475
1476
  defaultCenter: google.maps.LatLngLiteral;
1477
+ zoom?: number;
1476
1478
  }
1477
1479
 
1478
1480
  declare const MapLegendLabel: ({ figure, label }: IMapLegendLabel) => react_jsx_runtime.JSX.Element;
@@ -1480,7 +1482,7 @@ declare const MapLegendItem: ({ pin, label }: IMapLegendItem) => react_jsx_runti
1480
1482
 
1481
1483
  declare const Map: {
1482
1484
  (props: IMap): react_jsx_runtime.JSX.Element;
1483
- Location: ({ interaction, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1485
+ Location: ({ viewOnly, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1484
1486
  Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1485
1487
  Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
1486
1488
  Loading: ({ loader }: {