@mappedin/mappedin-js 5.2.2 → 5.4.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 +20 -9
- 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-QE77AUXN.js} +1 -1
- package/lib/esm/renderer/chunk-3J2OL72L.js +1 -0
- package/lib/esm/renderer/index.d.ts +119 -36
- 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
|
}
|
|
@@ -1284,7 +1290,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNaviga
|
|
|
1284
1290
|
import type { MappedinPolygon } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinPolygon';
|
|
1285
1291
|
import type { MappedinNode } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNode';
|
|
1286
1292
|
import { MappedinDestinationSet } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinDestinationSet';
|
|
1287
|
-
import
|
|
1293
|
+
import { Mappedin } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin';
|
|
1288
1294
|
import { MappedinDirections } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinDirections';
|
|
1289
1295
|
export type TDirectionToOptions = {
|
|
1290
1296
|
accessible?: boolean;
|
|
@@ -1307,7 +1313,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/MappedinNaviga
|
|
|
1307
1313
|
}
|
|
1308
1314
|
|
|
1309
1315
|
declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.CustomerAnalytics' {
|
|
1310
|
-
import { MappedinCategory, MappedinLocation } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue';
|
|
1316
|
+
import { MappedinCategory, MappedinLocation, MappedinNavigatable } from '@mappedin/mappedin-js/lib/esm/get-venue/get-venue';
|
|
1311
1317
|
type AnalyticsOptions = {
|
|
1312
1318
|
clientId?: string;
|
|
1313
1319
|
clientSecret?: string;
|
|
@@ -1321,7 +1327,12 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/get-venue/Mappedin.Custo
|
|
|
1321
1327
|
interface IAnalytics {
|
|
1322
1328
|
locationSelected(location: MappedinLocation): void;
|
|
1323
1329
|
categorySelected(category: MappedinCategory): void;
|
|
1324
|
-
|
|
1330
|
+
/**
|
|
1331
|
+
* @hidden
|
|
1332
|
+
* @internal
|
|
1333
|
+
* @deprecated
|
|
1334
|
+
*/
|
|
1335
|
+
getDirections(start: MappedinNavigatable, end: MappedinNavigatable): void;
|
|
1325
1336
|
}
|
|
1326
1337
|
interface IInternalAnalytics extends IAnalytics {
|
|
1327
1338
|
track(target: string, query: any): void;
|