@tactics/lokaal-loket 0.0.260 → 0.0.262

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;
@@ -1480,7 +1481,7 @@ declare const MapLegendItem: ({ pin, label }: IMapLegendItem) => react_jsx_runti
1480
1481
 
1481
1482
  declare const Map: {
1482
1483
  (props: IMap): react_jsx_runtime.JSX.Element;
1483
- Location: ({ interaction, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1484
+ Location: ({ viewOnly, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1484
1485
  Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1485
1486
  Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
1486
1487
  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;
@@ -1480,7 +1481,7 @@ declare const MapLegendItem: ({ pin, label }: IMapLegendItem) => react_jsx_runti
1480
1481
 
1481
1482
  declare const Map: {
1482
1483
  (props: IMap): react_jsx_runtime.JSX.Element;
1483
- Location: ({ interaction, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1484
+ Location: ({ viewOnly, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1484
1485
  Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1485
1486
  Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
1486
1487
  Loading: ({ loader }: {