@mappedin/mappedin-js 5.31.0 → 5.32.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 +69 -54
- package/lib/esm/get-venue/index.js +1 -1
- package/lib/esm/navigator/index.js +1 -1
- package/lib/esm/renderer/{GLTFExporter-HNSPHLCS.js → GLTFExporter-736VSFZ3.js} +1 -1
- package/lib/esm/renderer/{PerformanceController-HXUAYHSR.js → PerformanceController-VIGOXCRM.js} +1 -1
- package/lib/esm/renderer/{browser-QN2C33L4.js → browser-JGBAY4Z2.js} +1 -1
- package/lib/esm/renderer/chunk-2BPD3G27.js +1 -0
- package/lib/esm/renderer/{chunk-M6VQMZ7F.js → chunk-E3DLMZPO.js} +1 -1
- package/lib/esm/renderer/index.d.ts +70 -56
- package/lib/esm/renderer/index.js +1 -1
- package/lib/esm/renderer/{outdoor-context-KYB4DPOV.js → outdoor-context-2GIXOQTQ.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-EX4TEORF.js +0 -1
|
@@ -766,7 +766,7 @@ declare module '@mappedin/mappedin-js/renderer/public/MapView' {
|
|
|
766
766
|
}
|
|
767
767
|
|
|
768
768
|
declare module '@mappedin/mappedin-js/get-venue' {
|
|
769
|
-
import type { TAllGetVenueOptions, TGetVenueOptions, TGetVenueOptionsInternal, TVenueMetadata } from '@mappedin/mappedin-js/get-venue/Mappedin.types';
|
|
769
|
+
import type { TAllGetVenueOptions, TGetVenueOptions, TGetVenueOptionsInternal, TVenueMetadata, ThingsOption } from '@mappedin/mappedin-js/get-venue/Mappedin.types';
|
|
770
770
|
import { Mappedin } from '@mappedin/mappedin-js/get-venue/Mappedin';
|
|
771
771
|
import { defaultThings } from '@mappedin/mappedin-js/get-venue/default-things';
|
|
772
772
|
import { GET_VENUE_EVENT } from '@mappedin/mappedin-js/get-venue/internal';
|
|
@@ -804,6 +804,7 @@ declare module '@mappedin/mappedin-js/get-venue' {
|
|
|
804
804
|
export type { TOperationHoursMap } from '@mappedin/mappedin-js/get-venue/MappedinLocation';
|
|
805
805
|
export type { TMappedinCoordinateOptions } from '@mappedin/mappedin-js/get-venue/MappedinCoordinate';
|
|
806
806
|
export type { TDirectionToOptions, TTHINGS, TAccessors } from '@mappedin/mappedin-js/get-venue/internal';
|
|
807
|
+
export type { ThingsOption };
|
|
807
808
|
export { OfflineSearch } from '@mappedin/mappedin-js/get-venue/Mappedin.OfflineSearch';
|
|
808
809
|
export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/mappedin-js/get-venue/Mappedin.OfflineSearch';
|
|
809
810
|
export { defaultThings };
|
|
@@ -1135,7 +1136,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.BlueDot/Mappedi
|
|
|
1135
1136
|
}
|
|
1136
1137
|
|
|
1137
1138
|
declare module '@mappedin/mappedin-js/renderer/MapView.types' {
|
|
1138
|
-
import type { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/mappedin-js/get-venue';
|
|
1139
|
+
import type { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon, ThingsOption } from '@mappedin/mappedin-js/get-venue';
|
|
1139
1140
|
import type { TFloatingLabelAppearance } from '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel';
|
|
1140
1141
|
import type { TEnableBlueDotOptions, TBlueDotPositionUpdate, TBlueDotStateChange } from '@mappedin/mappedin-js/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
1141
1142
|
import type { Euler, Object3D, Vector3 } from 'three';
|
|
@@ -1143,7 +1144,7 @@ declare module '@mappedin/mappedin-js/renderer/MapView.types' {
|
|
|
1143
1144
|
import { TOOLTIP_ANCHOR } from '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartTooltip';
|
|
1144
1145
|
import { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, MAP_RENDER_MODE, CAMERA_EASING_MODE, E_MAP_CHANGED_REASON } from '@mappedin/mappedin-js/renderer/MapView.enums';
|
|
1145
1146
|
import { TOutdoorViewOptions, TOutdoorViewOptionsWithHeaders, TOutdoorViewOptionsWithAuthURL } from '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewController';
|
|
1146
|
-
export type { TEnableBlueDotOptions, TFloatingLabelAppearance };
|
|
1147
|
+
export type { TEnableBlueDotOptions, TFloatingLabelAppearance, ThingsOption };
|
|
1147
1148
|
/** @internal */
|
|
1148
1149
|
export type Without<T, U> = {
|
|
1149
1150
|
[P in Exclude<keyof T, keyof U>]?: never;
|
|
@@ -4133,7 +4134,7 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/WatermarkCont
|
|
|
4133
4134
|
#private;
|
|
4134
4135
|
static ENABLED: boolean;
|
|
4135
4136
|
static OPTIONS: Required<TShowWatermarkOptions>;
|
|
4136
|
-
object
|
|
4137
|
+
object?: Sprite;
|
|
4137
4138
|
constructor(core: ICore);
|
|
4138
4139
|
show: () => void;
|
|
4139
4140
|
hide: () => void;
|
|
@@ -10610,60 +10611,73 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinVenue' {
|
|
|
10610
10611
|
import type { Mappedin } from '@mappedin/mappedin-js/get-venue/internal';
|
|
10611
10612
|
import type { TLogo, TOpeningHours } from '@mappedin/mappedin-js/get-venue/Mappedin.API.types';
|
|
10612
10613
|
/**
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
10628
|
-
|
|
10614
|
+
* A {@link MappedinVenue} is a specific place (like a mall) with one or more Maps (typically representing different floors) and Locations (stores, washrooms, elevators, etc).
|
|
10615
|
+
*
|
|
10616
|
+
* A Venue can have more properties such as 'name' and 'slug'. The {@link Mappedin} 'things' object is where you would specify what properties you want to download for Venues. Only specify what you will actually use, to minmimze transfer time. Work with your Mappedin developer relations contact to set up any custom properties you need.
|
|
10617
|
+
*
|
|
10618
|
+
* See below for an example a 'things' object with available Venue properties specified:
|
|
10619
|
+
*
|
|
10620
|
+
* things: {
|
|
10621
|
+
* venue: ['slug', 'name', 'language', 'address', 'city', 'state', 'postal', 'telephone', 'latitude', 'longitude', 'website', 'operationHours'],
|
|
10622
|
+
* locations: [],
|
|
10623
|
+
* categories: [],
|
|
10624
|
+
* maps: []
|
|
10625
|
+
* }
|
|
10626
|
+
*
|
|
10627
|
+
*
|
|
10628
|
+
* @class MappedinVenue
|
|
10629
|
+
*/
|
|
10629
10630
|
export class MappedinVenue {
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
name: string;
|
|
10641
|
-
operationHours?: TOpeningHours[];
|
|
10642
|
-
postal: string;
|
|
10643
|
-
slug: string;
|
|
10644
|
-
state: string;
|
|
10645
|
-
telephone: string;
|
|
10646
|
-
tzid: string;
|
|
10647
|
-
tzidOverride: string;
|
|
10648
|
-
utcOffset: string;
|
|
10649
|
-
website: string;
|
|
10650
|
-
secureContentStorage: boolean;
|
|
10651
|
-
defaultLanguage: {
|
|
10652
|
-
code: string;
|
|
10653
|
-
name: string;
|
|
10654
|
-
};
|
|
10655
|
-
languages: {
|
|
10631
|
+
#private;
|
|
10632
|
+
defaultMap: string;
|
|
10633
|
+
address: string;
|
|
10634
|
+
city: string;
|
|
10635
|
+
countrycode: string;
|
|
10636
|
+
externalId: string;
|
|
10637
|
+
id: string;
|
|
10638
|
+
latitude?: number;
|
|
10639
|
+
logo?: TLogo;
|
|
10640
|
+
longitude?: number;
|
|
10656
10641
|
name: string;
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10642
|
+
operationHours?: TOpeningHours[];
|
|
10643
|
+
postal: string;
|
|
10644
|
+
slug: string;
|
|
10645
|
+
state: string;
|
|
10646
|
+
telephone: string;
|
|
10647
|
+
tzid: string;
|
|
10648
|
+
tzidOverride: string;
|
|
10649
|
+
utcOffset: string;
|
|
10650
|
+
website: string;
|
|
10651
|
+
secureContentStorage: boolean;
|
|
10652
|
+
defaultLanguage: {
|
|
10653
|
+
code: string;
|
|
10654
|
+
name: string;
|
|
10655
|
+
};
|
|
10656
|
+
languages: {
|
|
10657
|
+
name: string;
|
|
10658
|
+
code: string;
|
|
10659
|
+
}[];
|
|
10660
|
+
topLocations?: string[];
|
|
10661
|
+
/**
|
|
10662
|
+
* Venue render options provided by the server.
|
|
10663
|
+
*/
|
|
10664
|
+
renderOptions: {
|
|
10665
|
+
/**
|
|
10666
|
+
* Whether the venue should use perspectives to render the map or {@link Mappedin.polygons}.
|
|
10667
|
+
*/
|
|
10668
|
+
useLivePolygons: boolean;
|
|
10669
|
+
/**
|
|
10670
|
+
* Whether the venue should automatically apply {@link TDirectionToOptions} `simplify: { enabled: true }` to all directions.
|
|
10671
|
+
*/
|
|
10672
|
+
simplifyDirections: boolean;
|
|
10673
|
+
};
|
|
10674
|
+
constructor(mappedin: Mappedin, data: any);
|
|
10675
|
+
get metadata(): any;
|
|
10676
|
+
set metadata(value: any);
|
|
10677
|
+
static hydrate(data: any, mappedin: Mappedin): MappedinVenue;
|
|
10678
|
+
static fetch(mappedin: Mappedin): Promise<MappedinVenue>;
|
|
10679
|
+
get isMultiBuilding(): any;
|
|
10680
|
+
toJSON(): any;
|
|
10667
10681
|
}
|
|
10668
10682
|
}
|
|
10669
10683
|
|