@mappedin/react-native-sdk 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/dist/index.d.ts +19 -6
- package/dist/index.js +40 -40
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3983,6 +3983,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocat
|
|
|
3983
3983
|
import type { MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinPolygon';
|
|
3984
3984
|
import type { MappedinCategory } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinCategory';
|
|
3985
3985
|
import { MappedinNavigatable, TDirectionToOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNavigatable';
|
|
3986
|
+
import { MappedinDestinationSet } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDestinationSet';
|
|
3987
|
+
import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDirections';
|
|
3986
3988
|
export function getCurrentLocationState(location: MappedinLocation, states: MappedinLocationState[], date?: Date): MappedinLocationState | undefined;
|
|
3987
3989
|
export type TOperationHoursMap = {
|
|
3988
3990
|
[key in string]: TOpeningHours[];
|
|
@@ -4071,8 +4073,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocat
|
|
|
4071
4073
|
*
|
|
4072
4074
|
* Get Directions to a node, polygon, or location
|
|
4073
4075
|
*/
|
|
4074
|
-
directionsTo(destination:
|
|
4075
|
-
directionsTo(destination:
|
|
4076
|
+
directionsTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): MappedinDirections;
|
|
4077
|
+
directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
|
|
4076
4078
|
distanceTo(destination: any, options: any): number;
|
|
4077
4079
|
toJSON(): any;
|
|
4078
4080
|
}
|
|
@@ -4084,6 +4086,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinPolyg
|
|
|
4084
4086
|
import type { MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNode';
|
|
4085
4087
|
import { MappedinNavigatable, TDirectionToOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNavigatable';
|
|
4086
4088
|
import { MappedinMap } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinMap';
|
|
4089
|
+
import { MappedinDestinationSet } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDestinationSet';
|
|
4090
|
+
import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDirections';
|
|
4087
4091
|
/**
|
|
4088
4092
|
* 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.
|
|
4089
4093
|
*
|
|
@@ -4204,8 +4208,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinPolyg
|
|
|
4204
4208
|
*
|
|
4205
4209
|
* Get Directions to a node, polygon, or location
|
|
4206
4210
|
*/
|
|
4207
|
-
directionsTo(destination:
|
|
4208
|
-
directionsTo(destination:
|
|
4211
|
+
directionsTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): MappedinDirections;
|
|
4212
|
+
directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
|
|
4209
4213
|
distanceTo(destination: any, options: any): number;
|
|
4210
4214
|
toJSON(): any;
|
|
4211
4215
|
}
|
|
@@ -4218,6 +4222,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNode'
|
|
|
4218
4222
|
import type { TOpeningHours } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.API.types';
|
|
4219
4223
|
import { MappedinNavigatable, TDirectionToOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNavigatable';
|
|
4220
4224
|
import { MappedinMap } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinMap';
|
|
4225
|
+
import { MappedinDestinationSet } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDestinationSet';
|
|
4226
|
+
import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDirections';
|
|
4221
4227
|
/**
|
|
4222
4228
|
* A {@link MappedinNode} represents a position, anchored to a specific {@link MappedinMap}.
|
|
4223
4229
|
*
|
|
@@ -4287,8 +4293,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNode'
|
|
|
4287
4293
|
*
|
|
4288
4294
|
* Get Directions to a node, polygon, or location
|
|
4289
4295
|
*/
|
|
4290
|
-
directionsTo(destination:
|
|
4291
|
-
directionsTo(destination:
|
|
4296
|
+
directionsTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): MappedinDirections;
|
|
4297
|
+
directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
|
|
4292
4298
|
distanceTo(destination: any, options: any): number;
|
|
4293
4299
|
toJSON(): any;
|
|
4294
4300
|
}
|
|
@@ -5642,6 +5648,13 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
5642
5648
|
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, default as Camera } from '@mappedin/react-native-sdk/core/packages/renderer/Camera';
|
|
5643
5649
|
export type { TGetVenueOptions, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5644
5650
|
export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE, setFetchFn, MappedinCollectionType } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5651
|
+
/**
|
|
5652
|
+
* @internal
|
|
5653
|
+
* @hidden
|
|
5654
|
+
*
|
|
5655
|
+
* Export this only so our internal pre-built products can use it. We don't want to document it for external developers.
|
|
5656
|
+
*/
|
|
5657
|
+
export { CustomerAnalytics } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5645
5658
|
export { BundleAssetManager } from '@mappedin/react-native-sdk/core/packages/renderer/bundle-asset-manager';
|
|
5646
5659
|
/**
|
|
5647
5660
|
* @internal
|