@mappedin/mappedin-js 5.2.2 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/get-venue/index.d.ts +12 -6
- package/lib/esm/get-venue/index.js +1 -1
- package/lib/esm/navigator/index.js +1 -1
- package/lib/esm/renderer/{browser-PV7BMKYF.js → browser-NKJ3PSLO.js} +1 -1
- package/lib/esm/renderer/chunk-G6EY2P6V.js +1 -0
- package/lib/esm/renderer/index.d.ts +26 -6
- package/lib/esm/renderer/index.js +1 -1
- package/lib/mappedin.js +1 -1
- package/lib/node/index.js +1 -1
- package/package.json +2 -2
- package/lib/esm/renderer/chunk-YMYTDW5Q.js +0 -1
|
@@ -488,6 +488,8 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinLocati
|
|
|
488
488
|
import type { MappedinPolygon } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinPolygon';
|
|
489
489
|
import type { MappedinCategory } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinCategory';
|
|
490
490
|
import { MappedinNavigatable, TDirectionToOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNavigatable';
|
|
491
|
+
import { MappedinDestinationSet } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinDestinationSet';
|
|
492
|
+
import { MappedinDirections } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinDirections';
|
|
491
493
|
export function getCurrentLocationState(location: MappedinLocation, states: MappedinLocationState[], date?: Date): MappedinLocationState | undefined;
|
|
492
494
|
export type TOperationHoursMap = {
|
|
493
495
|
[key in string]: TOpeningHours[];
|
|
@@ -576,8 +578,8 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinLocati
|
|
|
576
578
|
*
|
|
577
579
|
* Get Directions to a node, polygon, or location
|
|
578
580
|
*/
|
|
579
|
-
directionsTo(destination:
|
|
580
|
-
directionsTo(destination:
|
|
581
|
+
directionsTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): MappedinDirections;
|
|
582
|
+
directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
|
|
581
583
|
distanceTo(destination: any, options: any): number;
|
|
582
584
|
toJSON(): any;
|
|
583
585
|
}
|
|
@@ -589,6 +591,8 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinPolygo
|
|
|
589
591
|
import type { MappedinNode } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNode';
|
|
590
592
|
import { MappedinNavigatable, TDirectionToOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNavigatable';
|
|
591
593
|
import { MappedinMap } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinMap';
|
|
594
|
+
import { MappedinDestinationSet } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinDestinationSet';
|
|
595
|
+
import { MappedinDirections } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinDirections';
|
|
592
596
|
/**
|
|
593
597
|
* The {@link MappedinPolygon} class represents the 3D shape of a {@link MappedinLocation} on a {{@link MappedinMap}. Polygons have access to Locations they belong to, and any entrances to the Polygon.
|
|
594
598
|
*
|
|
@@ -709,8 +713,8 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinPolygo
|
|
|
709
713
|
*
|
|
710
714
|
* Get Directions to a node, polygon, or location
|
|
711
715
|
*/
|
|
712
|
-
directionsTo(destination:
|
|
713
|
-
directionsTo(destination:
|
|
716
|
+
directionsTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): MappedinDirections;
|
|
717
|
+
directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
|
|
714
718
|
distanceTo(destination: any, options: any): number;
|
|
715
719
|
toJSON(): any;
|
|
716
720
|
}
|
|
@@ -723,6 +727,8 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNode'
|
|
|
723
727
|
import type { TOpeningHours } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.API.types';
|
|
724
728
|
import { MappedinNavigatable, TDirectionToOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNavigatable';
|
|
725
729
|
import { MappedinMap } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinMap';
|
|
730
|
+
import { MappedinDestinationSet } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinDestinationSet';
|
|
731
|
+
import { MappedinDirections } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinDirections';
|
|
726
732
|
/**
|
|
727
733
|
* A {@link MappedinNode} represents a position, anchored to a specific {@link MappedinMap}.
|
|
728
734
|
*
|
|
@@ -792,8 +798,8 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNode'
|
|
|
792
798
|
*
|
|
793
799
|
* Get Directions to a node, polygon, or location
|
|
794
800
|
*/
|
|
795
|
-
directionsTo(destination:
|
|
796
|
-
directionsTo(destination:
|
|
801
|
+
directionsTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): MappedinDirections;
|
|
802
|
+
directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
|
|
797
803
|
distanceTo(destination: any, options: any): number;
|
|
798
804
|
toJSON(): any;
|
|
799
805
|
}
|