@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// ../../../cms/geojson
|
|
6
6
|
|
|
7
7
|
declare module '@mappedin/mappedin-js/lib/esm/get-venue' {
|
|
8
|
-
import type { TAllGetVenueOptions, TGetVenueOptions, TGetVenueOptionsInternal, TVenueMetadata } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.types';
|
|
8
|
+
import type { TAllGetVenueOptions, TGetVenueOptions, TGetVenueOptionsInternal, TVenueMetadata, ThingsOption } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.types';
|
|
9
9
|
import { Mappedin } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin';
|
|
10
10
|
import { defaultThings } from '@mappedin/mappedin-js/lib/esm/get-venue/default-things';
|
|
11
11
|
import { GET_VENUE_EVENT } from '@mappedin/mappedin-js/lib/esm/get-venue/internal';
|
|
@@ -43,6 +43,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue' {
|
|
|
43
43
|
export type { TOperationHoursMap } from '@mappedin/mappedin-js/lib/esm/get-venue/MappedinLocation';
|
|
44
44
|
export type { TMappedinCoordinateOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/MappedinCoordinate';
|
|
45
45
|
export type { TDirectionToOptions, TTHINGS, TAccessors } from '@mappedin/mappedin-js/lib/esm/get-venue/internal';
|
|
46
|
+
export type { ThingsOption };
|
|
46
47
|
export { OfflineSearch } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.OfflineSearch';
|
|
47
48
|
export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.OfflineSearch';
|
|
48
49
|
export { defaultThings };
|
|
@@ -1462,7 +1463,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.API.types' {
|
|
|
1462
1463
|
}
|
|
1463
1464
|
|
|
1464
1465
|
declare module '@mappedin/mappedin-js/lib/esm/get-venue/' {
|
|
1465
|
-
import type { TAllGetVenueOptions, TGetVenueOptions, TGetVenueOptionsInternal, TVenueMetadata } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.types';
|
|
1466
|
+
import type { TAllGetVenueOptions, TGetVenueOptions, TGetVenueOptionsInternal, TVenueMetadata, ThingsOption } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.types';
|
|
1466
1467
|
import { Mappedin } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin';
|
|
1467
1468
|
import { defaultThings } from '@mappedin/mappedin-js/lib/esm/get-venue/default-things';
|
|
1468
1469
|
import { GET_VENUE_EVENT } from '@mappedin/mappedin-js/lib/esm/get-venue/internal';
|
|
@@ -1500,6 +1501,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/' {
|
|
|
1500
1501
|
export type { TOperationHoursMap } from '@mappedin/mappedin-js/lib/esm/get-venue/MappedinLocation';
|
|
1501
1502
|
export type { TMappedinCoordinateOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/MappedinCoordinate';
|
|
1502
1503
|
export type { TDirectionToOptions, TTHINGS, TAccessors } from '@mappedin/mappedin-js/lib/esm/get-venue/internal';
|
|
1504
|
+
export type { ThingsOption };
|
|
1503
1505
|
export { OfflineSearch } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.OfflineSearch';
|
|
1504
1506
|
export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.OfflineSearch';
|
|
1505
1507
|
export { defaultThings };
|
|
@@ -2321,60 +2323,73 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinVenue' {
|
|
|
2321
2323
|
import type { Mappedin } from '@mappedin/mappedin-js/lib/esm/get-venue/internal';
|
|
2322
2324
|
import type { TLogo, TOpeningHours } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.API.types';
|
|
2323
2325
|
/**
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2326
|
+
* 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).
|
|
2327
|
+
*
|
|
2328
|
+
* 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.
|
|
2329
|
+
*
|
|
2330
|
+
* See below for an example a 'things' object with available Venue properties specified:
|
|
2331
|
+
*
|
|
2332
|
+
* things: {
|
|
2333
|
+
* venue: ['slug', 'name', 'language', 'address', 'city', 'state', 'postal', 'telephone', 'latitude', 'longitude', 'website', 'operationHours'],
|
|
2334
|
+
* locations: [],
|
|
2335
|
+
* categories: [],
|
|
2336
|
+
* maps: []
|
|
2337
|
+
* }
|
|
2338
|
+
*
|
|
2339
|
+
*
|
|
2340
|
+
* @class MappedinVenue
|
|
2341
|
+
*/
|
|
2340
2342
|
export class MappedinVenue {
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
name: string;
|
|
2352
|
-
operationHours?: TOpeningHours[];
|
|
2353
|
-
postal: string;
|
|
2354
|
-
slug: string;
|
|
2355
|
-
state: string;
|
|
2356
|
-
telephone: string;
|
|
2357
|
-
tzid: string;
|
|
2358
|
-
tzidOverride: string;
|
|
2359
|
-
utcOffset: string;
|
|
2360
|
-
website: string;
|
|
2361
|
-
secureContentStorage: boolean;
|
|
2362
|
-
defaultLanguage: {
|
|
2363
|
-
code: string;
|
|
2364
|
-
name: string;
|
|
2365
|
-
};
|
|
2366
|
-
languages: {
|
|
2343
|
+
#private;
|
|
2344
|
+
defaultMap: string;
|
|
2345
|
+
address: string;
|
|
2346
|
+
city: string;
|
|
2347
|
+
countrycode: string;
|
|
2348
|
+
externalId: string;
|
|
2349
|
+
id: string;
|
|
2350
|
+
latitude?: number;
|
|
2351
|
+
logo?: TLogo;
|
|
2352
|
+
longitude?: number;
|
|
2367
2353
|
name: string;
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2354
|
+
operationHours?: TOpeningHours[];
|
|
2355
|
+
postal: string;
|
|
2356
|
+
slug: string;
|
|
2357
|
+
state: string;
|
|
2358
|
+
telephone: string;
|
|
2359
|
+
tzid: string;
|
|
2360
|
+
tzidOverride: string;
|
|
2361
|
+
utcOffset: string;
|
|
2362
|
+
website: string;
|
|
2363
|
+
secureContentStorage: boolean;
|
|
2364
|
+
defaultLanguage: {
|
|
2365
|
+
code: string;
|
|
2366
|
+
name: string;
|
|
2367
|
+
};
|
|
2368
|
+
languages: {
|
|
2369
|
+
name: string;
|
|
2370
|
+
code: string;
|
|
2371
|
+
}[];
|
|
2372
|
+
topLocations?: string[];
|
|
2373
|
+
/**
|
|
2374
|
+
* Venue render options provided by the server.
|
|
2375
|
+
*/
|
|
2376
|
+
renderOptions: {
|
|
2377
|
+
/**
|
|
2378
|
+
* Whether the venue should use perspectives to render the map or {@link Mappedin.polygons}.
|
|
2379
|
+
*/
|
|
2380
|
+
useLivePolygons: boolean;
|
|
2381
|
+
/**
|
|
2382
|
+
* Whether the venue should automatically apply {@link TDirectionToOptions} `simplify: { enabled: true }` to all directions.
|
|
2383
|
+
*/
|
|
2384
|
+
simplifyDirections: boolean;
|
|
2385
|
+
};
|
|
2386
|
+
constructor(mappedin: Mappedin, data: any);
|
|
2387
|
+
get metadata(): any;
|
|
2388
|
+
set metadata(value: any);
|
|
2389
|
+
static hydrate(data: any, mappedin: Mappedin): MappedinVenue;
|
|
2390
|
+
static fetch(mappedin: Mappedin): Promise<MappedinVenue>;
|
|
2391
|
+
get isMultiBuilding(): any;
|
|
2392
|
+
toJSON(): any;
|
|
2378
2393
|
}
|
|
2379
2394
|
}
|
|
2380
2395
|
|