@mappedin/mappedin-js 5.50.0 → 5.52.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.
Files changed (32) hide show
  1. package/lib/esm/get-venue/index.d.ts +27 -3
  2. package/lib/esm/get-venue/index.js +1 -1
  3. package/lib/esm/navigator/index.d.ts +2 -1
  4. package/lib/esm/navigator/index.js +1 -1
  5. package/lib/esm/renderer/{Arrival-KLIH5LTH.js → Arrival-UP4PJA4U.js} +1 -1
  6. package/lib/esm/renderer/{Chalet-ZU2FPU2K.js → Chalet-O3KLVJGV.js} +1 -1
  7. package/lib/esm/renderer/{GLTFExporter-AEQQSSOJ.js → GLTFExporter-TCED5YLG.js} +1 -1
  8. package/lib/esm/renderer/{HelveticaNeue-PHK3JE5I.js → HelveticaNeue-WLGRUQWN.js} +1 -1
  9. package/lib/esm/renderer/{Helvetiker-JVUX4WK7.js → Helvetiker-UU7LFERE.js} +1 -1
  10. package/lib/esm/renderer/{Lato-BX5JVWZI.js → Lato-2SXEYW4V.js} +1 -1
  11. package/lib/esm/renderer/{MyriadPro-3UATSCWU.js → MyriadPro-BSXPENY5.js} +1 -1
  12. package/lib/esm/renderer/{PerformanceController-I6QAT4EJ.js → PerformanceController-72JJ2M4J.js} +1 -1
  13. package/lib/esm/renderer/{ProximaNova-54WAWGUY.js → ProximaNova-H6MTSMLS.js} +1 -1
  14. package/lib/esm/renderer/{SimonCircular-ETZIFPSM.js → SimonCircular-TSBYW4PJ.js} +1 -1
  15. package/lib/esm/renderer/browser-T4GX5CT7.js +1 -0
  16. package/lib/esm/renderer/chunk-DCWRUQBL.js +1 -0
  17. package/lib/esm/renderer/chunk-GSLNUYA6.js +1 -0
  18. package/lib/esm/renderer/chunk-ORJYYHGW.js +1 -0
  19. package/lib/esm/renderer/index.css +1 -1
  20. package/lib/esm/renderer/index.d.ts +145 -83
  21. package/lib/esm/renderer/index.js +1 -1
  22. package/lib/esm/renderer/maplibre-worker.csp.js +1 -1
  23. package/lib/esm/renderer/outdoor-context-BSDLOTS5.js +1 -0
  24. package/lib/mappedin.css +1 -1
  25. package/lib/mappedin.js +1 -1
  26. package/lib/node/index.js +1 -1
  27. package/package.json +2 -2
  28. package/lib/esm/renderer/browser-327UAZTD.js +0 -1
  29. package/lib/esm/renderer/chunk-3XZX75KS.js +0 -1
  30. package/lib/esm/renderer/chunk-OHPDU25U.js +0 -1
  31. package/lib/esm/renderer/chunk-ZRT45YCM.js +0 -1
  32. package/lib/esm/renderer/outdoor-context-XOOYHZLY.js +0 -1
@@ -37,7 +37,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue' {
37
37
  *
38
38
  * Export this only so our internal pre-built products can use it. We don't want to document it for external developers.
39
39
  */
40
- export { default as CustomerAnalytics } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.CustomerAnalytics';
40
+ export { default as CustomerAnalytics, type IAnalytics } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.CustomerAnalytics';
41
41
  export type { TMappedinDirective } from '@mappedin/mappedin-js/lib/esm/get-venue/MappedinDirections';
42
42
  export type { IDirectionsResult } from '@mappedin/mappedin-js/lib/esm/get-venue/--/navigator';
43
43
  export type { TOperationHoursMap } from '@mappedin/mappedin-js/lib/esm/get-venue/MappedinLocation';
@@ -222,6 +222,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.types' {
222
222
  clientId?: string;
223
223
  clientSecret?: string;
224
224
  baseUrl?: string;
225
+ baseUri?: string;
225
226
  includeHidden?: boolean;
226
227
  noAuth?: boolean;
227
228
  perspective?: string;
@@ -1593,7 +1594,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/' {
1593
1594
  *
1594
1595
  * Export this only so our internal pre-built products can use it. We don't want to document it for external developers.
1595
1596
  */
1596
- export { default as CustomerAnalytics } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.CustomerAnalytics';
1597
+ export { default as CustomerAnalytics, type IAnalytics } from '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.CustomerAnalytics';
1597
1598
  export type { TMappedinDirective } from '@mappedin/mappedin-js/lib/esm/get-venue/MappedinDirections';
1598
1599
  export type { IDirectionsResult } from '@mappedin/mappedin-js/lib/esm/get-venue/--/navigator';
1599
1600
  export type { TOperationHoursMap } from '@mappedin/mappedin-js/lib/esm/get-venue/MappedinLocation';
@@ -2129,6 +2130,11 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinNode' {
2129
2130
  */
2130
2131
  operationHours?: TOpeningHours[];
2131
2132
  externalId?: string;
2133
+ /**
2134
+ * @internal
2135
+ * Label identifier for this node. For grouping and filtering nodes.
2136
+ */
2137
+ label: string;
2132
2138
  constructor(mappedin: Mappedin, data: any);
2133
2139
  /**
2134
2140
  * Map Object that this Node is located on.
@@ -2171,6 +2177,11 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinNode' {
2171
2177
  */
2172
2178
  directionsTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): MappedinDirections;
2173
2179
  directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
2180
+ /**
2181
+ * @internal
2182
+ * Whether the node is part of a shuttle route.
2183
+ */
2184
+ get isShuttleNode(): boolean;
2174
2185
  /**
2175
2186
  *
2176
2187
  * Calculate walking distance in meters between 2 nodes, polygons or locations
@@ -2390,9 +2401,20 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinCategory' {
2390
2401
  get children(): MappedinCategory[];
2391
2402
  static hydrate(categories: any, mappedin: Mappedin): MappedinCategory[];
2392
2403
  static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
2404
+ static defaultLanguageCategoryControl: {
2405
+ fetchDefaultLanguageCategories(mappedin: Mappedin): Promise<void>;
2406
+ getDefaultLanguageCategory(mappedin: Mappedin, id: string): CategoryFromCMSAPI | undefined;
2407
+ };
2393
2408
  static fetch(mappedin: Mappedin): Promise<MappedinCategory[]>;
2394
2409
  toJSON(): any;
2395
2410
  }
2411
+ type CategoryFromCMSAPI = {
2412
+ id: string;
2413
+ icon: Record<string, never> | {
2414
+ original: string;
2415
+ };
2416
+ };
2417
+ export {};
2396
2418
  }
2397
2419
 
2398
2420
  declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinDestinationSet' {
@@ -2858,6 +2880,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/utils' {
2858
2880
  */
2859
2881
  export const getPrimaryLocationForPolygon: (polygon: MappedinPolygon | string | undefined, venue: Mappedin) => MappedinLocation | null;
2860
2882
  export function mergeThings(thingsOption: ThingsOption | undefined): MergedThings;
2883
+ export function isMappedinUsingDefaultLanguage(mappedin: Mappedin): boolean;
2861
2884
  }
2862
2885
 
2863
2886
  declare module '@mappedin/mappedin-js/lib/esm/get-venue/Mappedin.cache' {
@@ -2954,7 +2977,8 @@ export declare enum BEARING_TYPE {
2954
2977
  RIGHT = "Right",
2955
2978
  SLIGHTRIGHT = "SlightRight",
2956
2979
  LEFT = "Left",
2957
- SLIGHTLEFT = "SlightLeft"
2980
+ SLIGHTLEFT = "SlightLeft",
2981
+ BACK = "Back"
2958
2982
  }
2959
2983
  export declare enum VORTEX_DIRECTION_TYPE {
2960
2984
  UP = "up",