@mappedin/mappedin-js 6.0.1-beta.47 → 6.0.1-beta.48
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/THIRD_PARTY_LICENSES.txt +12048 -1731
- package/lib/esm/GLTFExporter-E2W4AY7T.js +2 -0
- package/lib/esm/GLTFExporter-E2W4AY7T.js.map +7 -0
- package/lib/esm/{GLTFLoader-YCEKYYW3.js → GLTFLoader-5VLIZ4BL.js} +2 -1
- package/lib/esm/GLTFLoader-5VLIZ4BL.js.map +7 -0
- package/lib/esm/{browser-6R2QCUOI.js → browser-RLBZMV2G.js} +2 -1
- package/lib/esm/browser-RLBZMV2G.js.map +7 -0
- package/lib/esm/chunk-AHC6OWNT.js +2 -0
- package/lib/esm/chunk-AHC6OWNT.js.map +7 -0
- package/lib/esm/chunk-F7Z3R7GK.js +3820 -0
- package/lib/esm/chunk-F7Z3R7GK.js.map +7 -0
- package/lib/esm/chunk-KDY73CVP.js +2 -0
- package/lib/esm/chunk-KDY73CVP.js.map +7 -0
- package/lib/esm/chunk-KTTWH67L.js +2229 -0
- package/lib/esm/chunk-KTTWH67L.js.map +7 -0
- package/lib/esm/chunk-QSFIJRMY.js +2 -0
- package/lib/esm/chunk-QSFIJRMY.js.map +7 -0
- package/lib/esm/{chunk-KR33DBLD.js → chunk-SBJEVJF3.js} +2 -1
- package/lib/esm/chunk-SBJEVJF3.js.map +7 -0
- package/lib/esm/chunk-XFQBHAWO.js +578 -0
- package/lib/esm/chunk-XFQBHAWO.js.map +7 -0
- package/lib/esm/fonts/roboto-regular.ttf +0 -0
- package/lib/esm/index.css +2 -1
- package/lib/esm/index.css.map +7 -0
- package/lib/esm/index.d.ts +98 -81
- package/lib/esm/index.js +2 -1
- package/lib/esm/index.js.map +7 -0
- package/lib/esm/inspector-PKJEJRJY.js +483 -0
- package/lib/esm/inspector-PKJEJRJY.js.map +7 -0
- package/lib/esm/inspector-S63NMDZZ.css +2 -0
- package/lib/esm/inspector-S63NMDZZ.css.map +7 -0
- package/lib/esm/internal-DKUILLGA.js +2 -0
- package/lib/esm/internal-DKUILLGA.js.map +7 -0
- package/lib/esm/internal-WH523TQS.css +2 -0
- package/lib/esm/internal-WH523TQS.css.map +7 -0
- package/lib/esm/outdoor-context-v4-4RHE5GJB.js +2 -0
- package/lib/esm/outdoor-context-v4-4RHE5GJB.js.map +7 -0
- package/lib/esm/{roboto-regular-JRVF4TIR.js → roboto-regular-25PMWR2T.js} +2 -1
- package/lib/esm/roboto-regular-25PMWR2T.js.map +7 -0
- package/lib/esm/text3d-FHQNCDB4.js +253 -0
- package/lib/esm/text3d-FHQNCDB4.js.map +7 -0
- package/lib/esm/workers/collision-worker.csp.js +1 -1
- package/lib/esm/workers/maplibre-worker.csp.js +2 -1
- package/lib/index-rn.js +649 -0
- package/lib/index.css +2 -1
- package/package.json +2 -2
- package/lib/esm/GLTFExporter-TZEIALSW.js +0 -1
- package/lib/esm/chunk-DNBHISVY.js +0 -1
- package/lib/esm/chunk-KVKD4E33.js +0 -1
- package/lib/esm/chunk-MENDLOSO.js +0 -1
- package/lib/esm/chunk-QRWMPXER.js +0 -1
- package/lib/esm/chunk-TVALVOG4.js +0 -1
- package/lib/esm/chunk-UIDBSU4C.js +0 -1
- package/lib/esm/inspector-CV34C4XG.js +0 -1
- package/lib/esm/inspector-WWR77OPX.css +0 -1
- package/lib/esm/internal-M7DPGYMI.css +0 -1
- package/lib/esm/internal-YXEVD377.js +0 -1
- package/lib/esm/outdoor-context-v4-IEFB4X2Q.js +0 -1
- package/lib/esm/text3d-RZEC5VQO.js +0 -1
package/lib/esm/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ declare module '@mappedin/mappedin-js' {
|
|
|
35
35
|
import type { TGetMapDataOptions, TGetMapDataWithAccessTokenOptions, TGetMapDataWithCredentialsOptions, TGetMapDataSharedOptions, Environment } from '@mappedin/mappedin-js/packages/mvf-utils';
|
|
36
36
|
import { parseMVF, unzipMVF } from '@packages/internal/mvf-utils';
|
|
37
37
|
import type { Floor } from '@mappedin/mappedin-js/mappedin-js/src/map-data-objects';
|
|
38
|
-
import type { ParsedMVF as TMVF, StyleCollection as TMVFStyleCollection, Style as TMVFStyle, LineStringStyle as TMVFLineStringStyle, PolygonStyle as TMVFPolygonStyle, PointStyle as TMVFPointStyle,
|
|
38
|
+
import type { ParsedMVF as TMVF, StyleCollection as TMVFStyleCollection, Style as TMVFStyle, LineStringStyle as TMVFLineStringStyle, PolygonStyle as TMVFPolygonStyle, PointStyle as TMVFPointStyle, OperationHours, SiblingGroup, LocationState } from '@mappedin/mvf-v2';
|
|
39
39
|
import { MapView } from '@mappedin/mappedin-js/mappedin-js/src/map-view';
|
|
40
40
|
export type { Text3D as Text3DApi } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/text3d';
|
|
41
41
|
export { disableText3DWorker } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/text3d';
|
|
@@ -48,6 +48,8 @@ declare module '@mappedin/mappedin-js' {
|
|
|
48
48
|
import { MAPPEDIN_COLORS } from '@mappedin/mappedin-js/mappedin-js/src/constants';
|
|
49
49
|
import type { TBlueDotEvents, TBlueDotAction, TBlueDotState, GeolocationPositionExtended, TFollowMode, TFollowCameraOptions } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/blue-dot/blue-dot';
|
|
50
50
|
import type { TExpandOptions, TStackedMapsEvents, TStackedMapsState } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/stacked-maps/stacked-maps';
|
|
51
|
+
import { hydrateMapData, type THydrateMapDataBundle } from '@mappedin/mappedin-js/mappedin-js/src/hydrate-map-data';
|
|
52
|
+
export { hydrateMapData, type THydrateMapDataBundle };
|
|
51
53
|
export { setLoggerLevel, E_SDK_LOG_LEVEL } from '@packages/internal/common/Mappedin.Logger';
|
|
52
54
|
/**
|
|
53
55
|
* @internal
|
|
@@ -323,39 +325,6 @@ declare module '@mappedin/mappedin-js' {
|
|
|
323
325
|
* @deprecated Use {@link getMapData} and enterprise will be inferred from key/secret.
|
|
324
326
|
*/
|
|
325
327
|
export function setUseEnterpriseAPI(value: boolean): void;
|
|
326
|
-
export type THydrateMapDataBundle = {
|
|
327
|
-
type: 'binary';
|
|
328
|
-
options?: {
|
|
329
|
-
version?: '2.0.0' | '3.0.0';
|
|
330
|
-
enterprise?: boolean;
|
|
331
|
-
};
|
|
332
|
-
languagePacks?: {
|
|
333
|
-
language: {
|
|
334
|
-
code: string;
|
|
335
|
-
name: string;
|
|
336
|
-
};
|
|
337
|
-
localePack: Uint8Array;
|
|
338
|
-
}[];
|
|
339
|
-
main: Uint8Array;
|
|
340
|
-
} | {
|
|
341
|
-
type: 'json';
|
|
342
|
-
options?: {
|
|
343
|
-
version?: '2.0.0' | '3.0.0';
|
|
344
|
-
enterprise?: boolean;
|
|
345
|
-
};
|
|
346
|
-
languagePacks?: {
|
|
347
|
-
language: {
|
|
348
|
-
code: string;
|
|
349
|
-
name: string;
|
|
350
|
-
};
|
|
351
|
-
localePack: ParsedMVFLocalePack;
|
|
352
|
-
}[];
|
|
353
|
-
main: TMVF;
|
|
354
|
-
};
|
|
355
|
-
/**
|
|
356
|
-
* Load a MapData instance from a backup including language packs. Pass in userOptions to ensure outdoor view is available.
|
|
357
|
-
*/
|
|
358
|
-
export const hydrateMapData: (backup: THydrateMapDataBundle | TMVF, userOptions?: TGetMapDataOptions) => Promise<MapData>;
|
|
359
328
|
/**
|
|
360
329
|
* Asynchronously retrieves map data ({@link MapData}) based on user-provided options.
|
|
361
330
|
*
|
|
@@ -697,10 +666,10 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data' {
|
|
|
697
666
|
*/
|
|
698
667
|
toBinaryBundle({ downloadLanguagePacks }?: {
|
|
699
668
|
downloadLanguagePacks?: boolean;
|
|
700
|
-
}): Promise<void | import("
|
|
669
|
+
}): Promise<void | import("./hydrate-map-data").THydrateMapDataBundle>;
|
|
701
670
|
toJSONBundle({ downloadLanguagePacks }?: {
|
|
702
671
|
downloadLanguagePacks?: boolean;
|
|
703
|
-
}): Promise<import("
|
|
672
|
+
}): Promise<import("./hydrate-map-data").THydrateMapDataBundle>;
|
|
704
673
|
}
|
|
705
674
|
export default MapData;
|
|
706
675
|
/**
|
|
@@ -3327,6 +3296,45 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/stacked-maps/s
|
|
|
3327
3296
|
export {};
|
|
3328
3297
|
}
|
|
3329
3298
|
|
|
3299
|
+
declare module '@mappedin/mappedin-js/mappedin-js/src/hydrate-map-data' {
|
|
3300
|
+
import MapData from '@mappedin/mappedin-js/mappedin-js/src/map-data';
|
|
3301
|
+
import type { TGetMapDataOptions } from '@mappedin/mappedin-js/packages/mvf-utils';
|
|
3302
|
+
import type { ParsedMVF as TMVF, ParsedMVFLocalePack } from '@mappedin/mvf-v2';
|
|
3303
|
+
export type THydrateMapDataBundle = {
|
|
3304
|
+
type: 'binary';
|
|
3305
|
+
options?: {
|
|
3306
|
+
version?: '2.0.0' | '3.0.0';
|
|
3307
|
+
enterprise?: boolean;
|
|
3308
|
+
};
|
|
3309
|
+
languagePacks?: {
|
|
3310
|
+
language: {
|
|
3311
|
+
code: string;
|
|
3312
|
+
name: string;
|
|
3313
|
+
};
|
|
3314
|
+
localePack: Uint8Array;
|
|
3315
|
+
}[];
|
|
3316
|
+
main: Uint8Array;
|
|
3317
|
+
} | {
|
|
3318
|
+
type: 'json';
|
|
3319
|
+
options?: {
|
|
3320
|
+
version?: '2.0.0' | '3.0.0';
|
|
3321
|
+
enterprise?: boolean;
|
|
3322
|
+
};
|
|
3323
|
+
languagePacks?: {
|
|
3324
|
+
language: {
|
|
3325
|
+
code: string;
|
|
3326
|
+
name: string;
|
|
3327
|
+
};
|
|
3328
|
+
localePack: ParsedMVFLocalePack;
|
|
3329
|
+
}[];
|
|
3330
|
+
main: TMVF;
|
|
3331
|
+
};
|
|
3332
|
+
/**
|
|
3333
|
+
* Load a MapData instance from a backup including language packs. Pass in userOptions to ensure outdoor view is available.
|
|
3334
|
+
*/
|
|
3335
|
+
export const hydrateMapData: (backup: THydrateMapDataBundle | TMVF, userOptions?: TGetMapDataOptions) => Promise<MapData>;
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3330
3338
|
declare module '@mappedin/mappedin-js/mappedin-js/src/map-view-objects' {
|
|
3331
3339
|
export { Label } from '@mappedin/mappedin-js/mappedin-js/src/map-view-objects/label';
|
|
3332
3340
|
export { Marker } from '@mappedin/mappedin-js/mappedin-js/src/map-view-objects/marker';
|
|
@@ -3985,7 +3993,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src' {
|
|
|
3985
3993
|
import type { TGetMapDataOptions, TGetMapDataWithAccessTokenOptions, TGetMapDataWithCredentialsOptions, TGetMapDataSharedOptions, Environment } from '@mappedin/mappedin-js/packages/mvf-utils';
|
|
3986
3994
|
import { parseMVF, unzipMVF } from '@packages/internal/mvf-utils';
|
|
3987
3995
|
import type { Floor } from '@mappedin/mappedin-js/mappedin-js/src/map-data-objects';
|
|
3988
|
-
import type { ParsedMVF as TMVF, StyleCollection as TMVFStyleCollection, Style as TMVFStyle, LineStringStyle as TMVFLineStringStyle, PolygonStyle as TMVFPolygonStyle, PointStyle as TMVFPointStyle,
|
|
3996
|
+
import type { ParsedMVF as TMVF, StyleCollection as TMVFStyleCollection, Style as TMVFStyle, LineStringStyle as TMVFLineStringStyle, PolygonStyle as TMVFPolygonStyle, PointStyle as TMVFPointStyle, OperationHours, SiblingGroup, LocationState } from '@mappedin/mvf-v2';
|
|
3989
3997
|
import { MapView } from '@mappedin/mappedin-js/mappedin-js/src/map-view';
|
|
3990
3998
|
export type { Text3D as Text3DApi } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/text3d';
|
|
3991
3999
|
export { disableText3DWorker } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/text3d';
|
|
@@ -3998,6 +4006,8 @@ declare module '@mappedin/mappedin-js/mappedin-js/src' {
|
|
|
3998
4006
|
import { MAPPEDIN_COLORS } from '@mappedin/mappedin-js/mappedin-js/src/constants';
|
|
3999
4007
|
import type { TBlueDotEvents, TBlueDotAction, TBlueDotState, GeolocationPositionExtended, TFollowMode, TFollowCameraOptions } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/blue-dot/blue-dot';
|
|
4000
4008
|
import type { TExpandOptions, TStackedMapsEvents, TStackedMapsState } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/stacked-maps/stacked-maps';
|
|
4009
|
+
import { hydrateMapData, type THydrateMapDataBundle } from '@mappedin/mappedin-js/mappedin-js/src/hydrate-map-data';
|
|
4010
|
+
export { hydrateMapData, type THydrateMapDataBundle };
|
|
4001
4011
|
export { setLoggerLevel, E_SDK_LOG_LEVEL } from '@packages/internal/common/Mappedin.Logger';
|
|
4002
4012
|
/**
|
|
4003
4013
|
* @internal
|
|
@@ -4273,39 +4283,6 @@ declare module '@mappedin/mappedin-js/mappedin-js/src' {
|
|
|
4273
4283
|
* @deprecated Use {@link getMapData} and enterprise will be inferred from key/secret.
|
|
4274
4284
|
*/
|
|
4275
4285
|
export function setUseEnterpriseAPI(value: boolean): void;
|
|
4276
|
-
export type THydrateMapDataBundle = {
|
|
4277
|
-
type: 'binary';
|
|
4278
|
-
options?: {
|
|
4279
|
-
version?: '2.0.0' | '3.0.0';
|
|
4280
|
-
enterprise?: boolean;
|
|
4281
|
-
};
|
|
4282
|
-
languagePacks?: {
|
|
4283
|
-
language: {
|
|
4284
|
-
code: string;
|
|
4285
|
-
name: string;
|
|
4286
|
-
};
|
|
4287
|
-
localePack: Uint8Array;
|
|
4288
|
-
}[];
|
|
4289
|
-
main: Uint8Array;
|
|
4290
|
-
} | {
|
|
4291
|
-
type: 'json';
|
|
4292
|
-
options?: {
|
|
4293
|
-
version?: '2.0.0' | '3.0.0';
|
|
4294
|
-
enterprise?: boolean;
|
|
4295
|
-
};
|
|
4296
|
-
languagePacks?: {
|
|
4297
|
-
language: {
|
|
4298
|
-
code: string;
|
|
4299
|
-
name: string;
|
|
4300
|
-
};
|
|
4301
|
-
localePack: ParsedMVFLocalePack;
|
|
4302
|
-
}[];
|
|
4303
|
-
main: TMVF;
|
|
4304
|
-
};
|
|
4305
|
-
/**
|
|
4306
|
-
* Load a MapData instance from a backup including language packs. Pass in userOptions to ensure outdoor view is available.
|
|
4307
|
-
*/
|
|
4308
|
-
export const hydrateMapData: (backup: THydrateMapDataBundle | TMVF, userOptions?: TGetMapDataOptions) => Promise<MapData>;
|
|
4309
4286
|
/**
|
|
4310
4287
|
* Asynchronously retrieves map data ({@link MapData}) based on user-provided options.
|
|
4311
4288
|
*
|
|
@@ -5234,9 +5211,11 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/node' {
|
|
|
5234
5211
|
* @returns An object representing the node.
|
|
5235
5212
|
*/
|
|
5236
5213
|
toJSON(): {
|
|
5214
|
+
__type: string;
|
|
5237
5215
|
id: string;
|
|
5238
5216
|
floor: string;
|
|
5239
5217
|
coordinate: {
|
|
5218
|
+
__type: string;
|
|
5240
5219
|
latitude: number;
|
|
5241
5220
|
longitude: number;
|
|
5242
5221
|
floor: string | undefined;
|
|
@@ -5323,6 +5302,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/area' {
|
|
|
5323
5302
|
* @returns An object representing the space.
|
|
5324
5303
|
*/
|
|
5325
5304
|
toJSON(): {
|
|
5305
|
+
__type: string;
|
|
5326
5306
|
id: string;
|
|
5327
5307
|
name: string;
|
|
5328
5308
|
floor: string;
|
|
@@ -5432,10 +5412,12 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/door' {
|
|
|
5432
5412
|
* @returns An object representing the door.
|
|
5433
5413
|
*/
|
|
5434
5414
|
toJSON(): {
|
|
5415
|
+
__type: string;
|
|
5435
5416
|
id: string;
|
|
5436
5417
|
name: string;
|
|
5437
5418
|
floor: string;
|
|
5438
5419
|
center: {
|
|
5420
|
+
__type: string;
|
|
5439
5421
|
latitude: number;
|
|
5440
5422
|
longitude: number;
|
|
5441
5423
|
floor: string | undefined;
|
|
@@ -5554,11 +5536,13 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/space' {
|
|
|
5554
5536
|
* @returns An object representing the space.
|
|
5555
5537
|
*/
|
|
5556
5538
|
toJSON(): {
|
|
5539
|
+
__type: string;
|
|
5557
5540
|
id: string;
|
|
5558
5541
|
name: string;
|
|
5559
5542
|
type: TSpaceType;
|
|
5560
5543
|
floor: string;
|
|
5561
5544
|
center: {
|
|
5545
|
+
__type: string;
|
|
5562
5546
|
latitude: number;
|
|
5563
5547
|
longitude: number;
|
|
5564
5548
|
floor: string | undefined;
|
|
@@ -5583,6 +5567,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/space' {
|
|
|
5583
5567
|
declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/floor' {
|
|
5584
5568
|
import type { Feature, FloorCollection, MultiPolygon, Polygon } from '@mappedin/mvf-v2';
|
|
5585
5569
|
import type { Annotation, Connection, Door, MapDataInternal, PointOfInterest, Space, MapObject, FloorStack } from '@mappedin/mappedin-js/mappedin-js/src/map-data-objects';
|
|
5570
|
+
import Coordinate from '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/coordinate';
|
|
5586
5571
|
import BaseMapData from '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/base-object';
|
|
5587
5572
|
import type { IFocusable } from '@mappedin/mappedin-js/mappedin-js/src/types';
|
|
5588
5573
|
/**
|
|
@@ -5686,12 +5671,14 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/floor' {
|
|
|
5686
5671
|
* @returns {FloorStack} The FloorStack that this floor belongs to.
|
|
5687
5672
|
*/
|
|
5688
5673
|
get floorStack(): FloorStack;
|
|
5674
|
+
get center(): Coordinate;
|
|
5689
5675
|
/**
|
|
5690
5676
|
* Serializes the floor data to JSON.
|
|
5691
5677
|
*
|
|
5692
5678
|
* @returns An object representing the floor.
|
|
5693
5679
|
*/
|
|
5694
5680
|
toJSON(): {
|
|
5681
|
+
__type: string;
|
|
5695
5682
|
id: string;
|
|
5696
5683
|
name: string;
|
|
5697
5684
|
shortName: string;
|
|
@@ -5795,11 +5782,13 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/connectio
|
|
|
5795
5782
|
* @returns An object representing the connection.
|
|
5796
5783
|
*/
|
|
5797
5784
|
toJSON(): {
|
|
5785
|
+
__type: string;
|
|
5798
5786
|
id: string;
|
|
5799
5787
|
name: string;
|
|
5800
5788
|
type: string;
|
|
5801
5789
|
externalId: string;
|
|
5802
5790
|
coordinates: {
|
|
5791
|
+
__type: string;
|
|
5803
5792
|
latitude: number;
|
|
5804
5793
|
longitude: number;
|
|
5805
5794
|
floor: string | undefined;
|
|
@@ -5895,11 +5884,13 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/object' {
|
|
|
5895
5884
|
* @returns An object representing the MapObject.
|
|
5896
5885
|
*/
|
|
5897
5886
|
toJSON(): {
|
|
5887
|
+
__type: string;
|
|
5898
5888
|
id: string;
|
|
5899
5889
|
name: string;
|
|
5900
5890
|
type: string;
|
|
5901
5891
|
floor: string;
|
|
5902
5892
|
center: {
|
|
5893
|
+
__type: string;
|
|
5903
5894
|
latitude: number;
|
|
5904
5895
|
longitude: number;
|
|
5905
5896
|
floor: string | undefined;
|
|
@@ -6014,6 +6005,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/coordinat
|
|
|
6014
6005
|
* @returns An object representing the coordinate.
|
|
6015
6006
|
*/
|
|
6016
6007
|
toJSON(): {
|
|
6008
|
+
__type: string;
|
|
6017
6009
|
latitude: number;
|
|
6018
6010
|
longitude: number;
|
|
6019
6011
|
floor: string | undefined;
|
|
@@ -6097,10 +6089,12 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/poi' {
|
|
|
6097
6089
|
* @returns An object representing the POI.
|
|
6098
6090
|
*/
|
|
6099
6091
|
toJSON(): {
|
|
6092
|
+
__type: string;
|
|
6100
6093
|
id: string;
|
|
6101
6094
|
name: string;
|
|
6102
6095
|
floor: string;
|
|
6103
6096
|
coordinate: {
|
|
6097
|
+
__type: string;
|
|
6104
6098
|
latitude: number;
|
|
6105
6099
|
longitude: number;
|
|
6106
6100
|
floor: string | undefined;
|
|
@@ -6198,10 +6192,12 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/annotatio
|
|
|
6198
6192
|
* @returns An object representing the annotation.
|
|
6199
6193
|
*/
|
|
6200
6194
|
toJSON(): {
|
|
6195
|
+
__type: string;
|
|
6201
6196
|
id: string;
|
|
6202
6197
|
group: string;
|
|
6203
6198
|
type: string;
|
|
6204
6199
|
coordinate: {
|
|
6200
|
+
__type: string;
|
|
6205
6201
|
latitude: number;
|
|
6206
6202
|
longitude: number;
|
|
6207
6203
|
floor: string | undefined;
|
|
@@ -6230,6 +6226,10 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/hyperlink
|
|
|
6230
6226
|
* @internal
|
|
6231
6227
|
*/
|
|
6232
6228
|
static readonly __type = "hyperlink";
|
|
6229
|
+
/**
|
|
6230
|
+
* @internal
|
|
6231
|
+
*/
|
|
6232
|
+
readonly __type = "hyperlink";
|
|
6233
6233
|
/**
|
|
6234
6234
|
* Checks if the provided instance is of type Hyperlink.
|
|
6235
6235
|
*
|
|
@@ -6261,6 +6261,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/hyperlink
|
|
|
6261
6261
|
* @returns An object representing the hyperlink.
|
|
6262
6262
|
*/
|
|
6263
6263
|
toJSON(): {
|
|
6264
|
+
__type: string;
|
|
6264
6265
|
id: string;
|
|
6265
6266
|
url: string;
|
|
6266
6267
|
name: string | undefined;
|
|
@@ -6288,6 +6289,10 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/image' {
|
|
|
6288
6289
|
* @internal
|
|
6289
6290
|
*/
|
|
6290
6291
|
static readonly __type = "image";
|
|
6292
|
+
/**
|
|
6293
|
+
* @internal
|
|
6294
|
+
*/
|
|
6295
|
+
readonly __type = "image";
|
|
6291
6296
|
/**
|
|
6292
6297
|
* Checks if the provided instance is of type Image.
|
|
6293
6298
|
*
|
|
@@ -6321,13 +6326,13 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/image' {
|
|
|
6321
6326
|
* @returns {string | undefined } The alt text of the image.
|
|
6322
6327
|
*/
|
|
6323
6328
|
get altText(): string | undefined;
|
|
6324
|
-
/**
|
|
6325
6329
|
/**
|
|
6326
6330
|
* Serializes the image data to JSON.
|
|
6327
6331
|
*
|
|
6328
6332
|
* @returns An object representing the image.
|
|
6329
6333
|
*/
|
|
6330
6334
|
toJSON(): {
|
|
6335
|
+
__type: string;
|
|
6331
6336
|
id: string;
|
|
6332
6337
|
url: string | undefined;
|
|
6333
6338
|
name: string | undefined;
|
|
@@ -6415,6 +6420,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/floor-sta
|
|
|
6415
6420
|
* @returns An object representing the FloorStack.
|
|
6416
6421
|
*/
|
|
6417
6422
|
toJSON(): {
|
|
6423
|
+
__type: string;
|
|
6418
6424
|
id: string;
|
|
6419
6425
|
name: string;
|
|
6420
6426
|
shortName: string;
|
|
@@ -6772,6 +6778,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/location'
|
|
|
6772
6778
|
* @returns An object representing the EnterpriseLocation.
|
|
6773
6779
|
*/
|
|
6774
6780
|
toJSON(): {
|
|
6781
|
+
__type: string;
|
|
6775
6782
|
id: string;
|
|
6776
6783
|
name: string;
|
|
6777
6784
|
};
|
|
@@ -6868,6 +6875,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/category'
|
|
|
6868
6875
|
* @returns An object representing the EnterpriseCategory.
|
|
6869
6876
|
*/
|
|
6870
6877
|
toJSON(): {
|
|
6878
|
+
__type: string;
|
|
6871
6879
|
id: string;
|
|
6872
6880
|
name: string;
|
|
6873
6881
|
};
|
|
@@ -6982,6 +6990,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/venue' {
|
|
|
6982
6990
|
* @returns An object representing the EnterpriseVenue.
|
|
6983
6991
|
*/
|
|
6984
6992
|
toJSON(): {
|
|
6993
|
+
__type: string;
|
|
6985
6994
|
id: string;
|
|
6986
6995
|
name: string;
|
|
6987
6996
|
};
|
|
@@ -7122,6 +7131,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/location-
|
|
|
7122
7131
|
*/
|
|
7123
7132
|
get navigationTarget(): TNavigationTarget[];
|
|
7124
7133
|
toJSON(): {
|
|
7134
|
+
__type: string;
|
|
7125
7135
|
id: string;
|
|
7126
7136
|
name: string;
|
|
7127
7137
|
};
|
|
@@ -7176,6 +7186,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-data-objects/location-
|
|
|
7176
7186
|
*/
|
|
7177
7187
|
get locationProfiles(): LocationProfile[];
|
|
7178
7188
|
toJSON(): {
|
|
7189
|
+
__type: string;
|
|
7179
7190
|
id: string;
|
|
7180
7191
|
name: string;
|
|
7181
7192
|
};
|
|
@@ -12978,7 +12989,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/analytics/customer' {
|
|
|
12978
12989
|
sendGetDirectionsEvent: (start: string, end: string) => void;
|
|
12979
12990
|
sendBlueDotEvents(event: BlueDotEvents): void | Promise<Response> | Promise<void>;
|
|
12980
12991
|
}
|
|
12981
|
-
type UpdateStateParam = Partial<Pick<AnalyticState, 'geolocationMode' | 'context' | 'logEvents' | 'userPosition' | 'mapId' | 'sendEvents' | 'logEvents' | 'accessToken' | 'sessionId'>>;
|
|
12992
|
+
type UpdateStateParam = Partial<Pick<AnalyticState, 'geolocationMode' | 'context' | 'logEvents' | 'userPosition' | 'mapId' | 'sendEvents' | 'logEvents' | 'accessToken' | 'sessionId' | 'deviceId'>>;
|
|
12982
12993
|
type CaptureEventsPayloadMap = {
|
|
12983
12994
|
'$select-location': {
|
|
12984
12995
|
id: string;
|
|
@@ -13032,10 +13043,6 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/analytics/customer' {
|
|
|
13032
13043
|
noAuth: boolean;
|
|
13033
13044
|
/** Flag to enable geolocation mode. */
|
|
13034
13045
|
geolocationMode: boolean;
|
|
13035
|
-
/** The device ID to be used for analytics. */
|
|
13036
|
-
deviceId: string;
|
|
13037
|
-
/** The session ID to be used for analytics. */
|
|
13038
|
-
sessionId: string;
|
|
13039
13046
|
/** The context in which the analytics are being used. */
|
|
13040
13047
|
context: ValidContext;
|
|
13041
13048
|
/** The last known user position. */
|
|
@@ -13046,7 +13053,13 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/analytics/customer' {
|
|
|
13046
13053
|
logEvents: boolean;
|
|
13047
13054
|
/** Flag to enable sending of events. */
|
|
13048
13055
|
sendEvents: boolean;
|
|
13049
|
-
|
|
13056
|
+
/** The API key for authentication. */
|
|
13057
|
+
key?: string;
|
|
13058
|
+
/** The API secret for authentication. */
|
|
13059
|
+
secret?: string;
|
|
13060
|
+
/** The access token for authentication. */
|
|
13061
|
+
accessToken?: string;
|
|
13062
|
+
};
|
|
13050
13063
|
}
|
|
13051
13064
|
type AnalyticsUserPosition = {
|
|
13052
13065
|
bluedotTimestamp: number;
|
|
@@ -13075,9 +13088,9 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/analytics/customer' {
|
|
|
13075
13088
|
noAuth: boolean;
|
|
13076
13089
|
/** Flag to enable geolocation mode. */
|
|
13077
13090
|
geolocationMode: boolean;
|
|
13078
|
-
/** The device ID to be used for analytics. */
|
|
13091
|
+
/** @internal The device ID to be used for analytics. */
|
|
13079
13092
|
deviceId: string;
|
|
13080
|
-
/** The session ID to be used for analytics. */
|
|
13093
|
+
/** @internal The session ID to be used for analytics. */
|
|
13081
13094
|
sessionId: string;
|
|
13082
13095
|
/** The context in which the analytics are being used. */
|
|
13083
13096
|
context: ValidContext;
|
|
@@ -14001,7 +14014,7 @@ declare module '@mappedin/mappedin-js/geojson/src/systems/2d-draw/system' {
|
|
|
14001
14014
|
cacheImage: (label: LabelComponent) => void;
|
|
14002
14015
|
createPinCanvas: (label: LabelComponent, markerSize: number, backgroundColor: string, foregroundColor: string, maxIconScale?: number) => HTMLCanvasElement | OffscreenCanvas;
|
|
14003
14016
|
prepare: (label: LabelComponent, labelCacheId: string, context: CanvasRenderingContext2D) => void;
|
|
14004
|
-
draw(label: LabelComponent, labelCacheId: string, context: CanvasRenderingContext2D
|
|
14017
|
+
draw(label: LabelComponent, labelCacheId: string, context: CanvasRenderingContext2D): void;
|
|
14005
14018
|
}
|
|
14006
14019
|
export {};
|
|
14007
14020
|
}
|
|
@@ -15073,6 +15086,10 @@ declare module '@mappedin/mappedin-js/geojson/src/services/text3d/utils' {
|
|
|
15073
15086
|
size: [width: number, height: number];
|
|
15074
15087
|
}>;
|
|
15075
15088
|
export function syncText(text: Text): Promise<void>;
|
|
15089
|
+
/**
|
|
15090
|
+
* Loads the default font without additional preprocessing
|
|
15091
|
+
*/
|
|
15092
|
+
export function loadDefaultFont(): Promise<string>;
|
|
15076
15093
|
}
|
|
15077
15094
|
|
|
15078
15095
|
declare module '@mappedin/mappedin-js/geojson/src/systems/interactions/system' {
|
|
@@ -23681,7 +23698,7 @@ declare module '@mappedin/mappedin-js/geojson/src/systems/path/system' {
|
|
|
23681
23698
|
getParentContainer: RendererCore['getParentContainer'];
|
|
23682
23699
|
convertZoomLevelToAltitude: CameraSystem['convertZoomLevelToAltitude'];
|
|
23683
23700
|
constructor(rendererState: RendererState, convertTo3DMapPosition: RendererCore['convertTo3DMapPosition'], getParentContainer: RendererCore['getParentContainer'], convertZoomLevelToAltitude: CameraSystem['convertZoomLevelToAltitude']);
|
|
23684
|
-
update(minZoomAltitude: number, maxZoomAltitude: number, currentZoomAltitude: number): void;
|
|
23701
|
+
update(minZoomAltitude: number, maxZoomAltitude: number, currentZoomAltitude: number, orbitZRotation?: number): void;
|
|
23685
23702
|
}
|
|
23686
23703
|
}
|
|
23687
23704
|
|
package/lib/esm/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import{B as A,C as B,D as C,E as D,F as E,G as F,H as G,I as H,J as I,K as J,L as K,M as L,N as M,a as c,b as d,c as e,d as f,e as g,f as h,g as i,h as j,i as k,j as l,k as m,l as n,m as o,n as p,o as q,p as r,q as s,r as t,s as u,t as v,v as w,w as x,y,z}from"./chunk-
|
|
1
|
+
import{B as A,C as B,D as C,E as D,F as E,G as F,H as G,I as H,J as I,K as J,L as K,M as L,N as M,a as c,b as d,c as e,d as f,e as g,f as h,g as i,h as j,i as k,j as l,k as m,l as n,m as o,n as p,o as q,p as r,q as s,r as t,s as u,t as v,v as w,w as x,y,z}from"./chunk-KTTWH67L.js";import{b as a,c as b}from"./chunk-KDY73CVP.js";import"./chunk-XFQBHAWO.js";import"./chunk-SBJEVJF3.js";import"./chunk-F7Z3R7GK.js";import"./chunk-QSFIJRMY.js";import"./chunk-AHC6OWNT.js";export{o as Annotation,g as Area,l as Connection,c as Coordinate,B as DOORS,h as Door,a as E_SDK_LOG_LEVEL,s as EnterpriseCategory,r as EnterpriseLocation,t as EnterpriseVenue,q as Facade,j as Floor,p as FloorStack,e as Hyperlink,f as ImageMetaData,x as LocationCategory,w as LocationProfile,k as MAPPEDIN_COLORS,m as MapObject,d as Node,n as PointOfInterest,i as Space,A as WALLS,F as __setWatermarkOnClickFn,K as createMapLibreOverlay,C as disableText3DWorker,y as enableTestMode,I as getMapData,J as getMapDataEnterprise,E as hydrateMapData,G as hydrateMapDataFromMVF,u as parseMVF,z as preloadFont,b as setLoggerLevel,H as setUseEnterpriseAPI,D as setWorkersUrl,L as show3dMap,M as show3dMapGeojson,v as unzipMVF};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|