@mappedin/mappedin-js 6.4.0 → 6.6.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/THIRD_PARTY_LICENSES.txt +31 -0
- package/lib/esm/{GLTFExporter-4HV63LGP.js → GLTFExporter-RQ4X3IWO.js} +1 -1
- package/lib/esm/GLTFLoader-VJHWNKS5.js +1 -0
- package/lib/esm/chunk-6SFEDLKY.js +1 -0
- package/lib/esm/chunk-CJ52KBIE.js +1 -0
- package/lib/esm/chunk-D53OXR7Z.js +1 -0
- package/lib/esm/{chunk-URGM6RST.js → chunk-RJF4TTOJ.js} +1 -1
- package/lib/esm/index.d.ts +310 -40
- package/lib/esm/index.js +1 -1
- package/lib/esm/inspector-X3O45PWP.js +1 -0
- package/lib/esm/{internal-44KLJOB5.js → internal-YSYMTO44.js} +1 -1
- package/lib/esm/{text3d-RWSGYTTK.js → text3d-24KWRIMN.js} +1 -1
- package/package.json +1 -1
- package/lib/esm/GLTFLoader-HV7RBR5X.js +0 -1
- package/lib/esm/chunk-62AZLR6O.js +0 -1
- package/lib/esm/chunk-DXHWFRA5.js +0 -1
- package/lib/esm/chunk-GYYVZ4IB.js +0 -1
- package/lib/esm/inspector-J33EC64M.js +0 -1
package/lib/esm/index.d.ts
CHANGED
|
@@ -888,6 +888,24 @@ declare class ModelStyleComponnet implements Partial<ModelStyle> {
|
|
|
888
888
|
clippingPlaneTopVisible: boolean;
|
|
889
889
|
constructor(init?: Partial<ModelStyle>);
|
|
890
890
|
}
|
|
891
|
+
declare class Mask {
|
|
892
|
+
type: "mask";
|
|
893
|
+
/**
|
|
894
|
+
* The ID of the mask, undefined means no mask
|
|
895
|
+
* min value is 0, max value is 255
|
|
896
|
+
*/
|
|
897
|
+
maskId: number;
|
|
898
|
+
enabled: boolean;
|
|
899
|
+
/**
|
|
900
|
+
* Whether the mask is a mask or a masked object
|
|
901
|
+
*/
|
|
902
|
+
mode: "mask" | "masked-object";
|
|
903
|
+
/**
|
|
904
|
+
* Whether the masked object should be hidden or revealed when the mask is applied
|
|
905
|
+
*/
|
|
906
|
+
effect: "hide" | "reveal";
|
|
907
|
+
dirty: boolean;
|
|
908
|
+
}
|
|
891
909
|
type GeometryGroupState = {
|
|
892
910
|
readonly id: string | number;
|
|
893
911
|
readonly type: "geometry-group";
|
|
@@ -923,12 +941,18 @@ type GeometryGroupState = {
|
|
|
923
941
|
* Bevel configuration for extruded shapes.
|
|
924
942
|
*/
|
|
925
943
|
bevel?: BevelState;
|
|
944
|
+
maskId?: number;
|
|
945
|
+
maskEnabled?: boolean;
|
|
946
|
+
maskEffect?: "hide" | "reveal";
|
|
947
|
+
maskMode?: "mask" | "masked-object";
|
|
926
948
|
};
|
|
927
949
|
declare class GeometryGroupObject3D extends Object3D {
|
|
928
950
|
visible: boolean;
|
|
929
951
|
readonly type: "geometry-group";
|
|
930
|
-
components:
|
|
931
|
-
|
|
952
|
+
components: [
|
|
953
|
+
Mask?
|
|
954
|
+
];
|
|
955
|
+
getComponent(type: "mask"): Mask | undefined;
|
|
932
956
|
userData: {
|
|
933
957
|
entityId: string | number;
|
|
934
958
|
entities3D: Set<string | number>;
|
|
@@ -1064,7 +1088,7 @@ type Whatever = {} | undefined | null;
|
|
|
1064
1088
|
type LoosePartial<T extends object> = InexactPartial<T> & {
|
|
1065
1089
|
[k: string]: unknown;
|
|
1066
1090
|
};
|
|
1067
|
-
type Mask<Keys extends PropertyKey> = {
|
|
1091
|
+
type Mask$1<Keys extends PropertyKey> = {
|
|
1068
1092
|
[K in Keys]?: true;
|
|
1069
1093
|
};
|
|
1070
1094
|
type Writeable<T> = {
|
|
@@ -4803,6 +4827,16 @@ type PathState = {
|
|
|
4803
4827
|
* @default 0.25
|
|
4804
4828
|
*/
|
|
4805
4829
|
xrayOpacity: number;
|
|
4830
|
+
/**
|
|
4831
|
+
* Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
|
|
4832
|
+
* Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
|
|
4833
|
+
*/
|
|
4834
|
+
smoothingTension: number;
|
|
4835
|
+
/**
|
|
4836
|
+
* Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
|
|
4837
|
+
* Only applies when smoothingTension > 0.
|
|
4838
|
+
*/
|
|
4839
|
+
smoothingCornerRadius: number;
|
|
4806
4840
|
};
|
|
4807
4841
|
type AddPathOptions = {
|
|
4808
4842
|
/**
|
|
@@ -4862,6 +4896,18 @@ type AddPathOptions = {
|
|
|
4862
4896
|
* @default 0.25
|
|
4863
4897
|
*/
|
|
4864
4898
|
xrayOpacity?: number;
|
|
4899
|
+
/**
|
|
4900
|
+
* Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
|
|
4901
|
+
* Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
|
|
4902
|
+
* @default 0.0
|
|
4903
|
+
*/
|
|
4904
|
+
smoothingTension?: number;
|
|
4905
|
+
/**
|
|
4906
|
+
* Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
|
|
4907
|
+
* Only applies when smoothingTension > 0. Typical values are 0.5-2.0 meters for subtle smoothing.
|
|
4908
|
+
* @default 0.0
|
|
4909
|
+
*/
|
|
4910
|
+
smoothingCornerRadius?: number;
|
|
4865
4911
|
};
|
|
4866
4912
|
declare class PathComponent {
|
|
4867
4913
|
#private;
|
|
@@ -4888,6 +4934,8 @@ declare class PathComponent {
|
|
|
4888
4934
|
highlightColor: string;
|
|
4889
4935
|
xrayOpacity: number;
|
|
4890
4936
|
dashed: boolean;
|
|
4937
|
+
smoothingTension: number;
|
|
4938
|
+
smoothingCornerRadius: number;
|
|
4891
4939
|
/**
|
|
4892
4940
|
* If the path is vertical it will be rebuilt whenever altitudeDirty = true. This will be set during the first render of the path.
|
|
4893
4941
|
*/
|
|
@@ -17226,6 +17274,15 @@ declare class RenderOrderSystem {
|
|
|
17226
17274
|
getOrder(object: object): number | undefined;
|
|
17227
17275
|
update(): void;
|
|
17228
17276
|
}
|
|
17277
|
+
declare class MaskingSystem {
|
|
17278
|
+
private state;
|
|
17279
|
+
constructor(state: RendererState);
|
|
17280
|
+
private applyMask;
|
|
17281
|
+
update(): void;
|
|
17282
|
+
private enableMaskProducer;
|
|
17283
|
+
private enableMaskReciever;
|
|
17284
|
+
private disableMask;
|
|
17285
|
+
}
|
|
17229
17286
|
declare class ClippingPlaneSystem {
|
|
17230
17287
|
rendererState: RendererState;
|
|
17231
17288
|
dirty: boolean;
|
|
@@ -17278,6 +17335,7 @@ type Systems = {
|
|
|
17278
17335
|
textureSystem: TextureSystem;
|
|
17279
17336
|
borderSystem: BorderSystem;
|
|
17280
17337
|
renderOrderSystem: RenderOrderSystem;
|
|
17338
|
+
maskingSystem: MaskingSystem;
|
|
17281
17339
|
clippingPlaneSystem: ClippingPlaneSystem;
|
|
17282
17340
|
pluginSystem: PluginSystem;
|
|
17283
17341
|
};
|
|
@@ -17431,6 +17489,12 @@ declare class Core extends PubSub<MapEvent> {
|
|
|
17431
17489
|
getState<T extends EntityId<EntityState>>(geometryOrGeometryId: T): T extends EntityId<LabelState> ? LabelState : T extends EntityId<GeometryState> ? GeometryState : T extends EntityId<MarkerState> ? MarkerState : T extends EntityId<GeometryGroupState> ? GeometryGroupState : T extends EntityId<GroupContainerState> ? GroupContainerState : T extends EntityId<ModelState> ? ModelState : T extends EntityId<PathState> ? PathState : T extends EntityId<ShapeState> ? ShapeState : T extends EntityId<ImageState> ? ImageState : T extends EntityId<Text3DState> ? Text3DState : EntityState;
|
|
17432
17490
|
getState(geometryOrGeometryId?: Record<string | number, any> | string | number): EntityState;
|
|
17433
17491
|
getState<T extends EntityState>(geometryOrGeometryId: T["id"]): T extends LabelState ? LabelState : T extends GeometryState ? GeometryState : T extends MarkerState ? MarkerState : T extends GeometryGroupState ? GeometryGroupState : T extends GroupContainerState ? GroupContainerState : T extends ModelState ? ModelState : T extends PathState ? PathState : T extends ShapeState ? ShapeState : T extends ImageState ? ImageState : EntityState;
|
|
17492
|
+
/**
|
|
17493
|
+
* Get rendered state for an entity (e.g., runtime rendering state that changes frequently)
|
|
17494
|
+
* @param entity The entity to get rendered state for
|
|
17495
|
+
* @returns Object with all available rendered state properties, or undefined if not found
|
|
17496
|
+
*/
|
|
17497
|
+
getRenderedState(entity: EntityId<LabelState> | string | number): LabelRenderedState | undefined;
|
|
17434
17498
|
/**
|
|
17435
17499
|
* Set the state of the map view or any entity that was added, regardless of whether it is visible in the scene.
|
|
17436
17500
|
*/
|
|
@@ -17783,6 +17847,7 @@ declare class LabelComponent {
|
|
|
17783
17847
|
get scaledPinSize(): number;
|
|
17784
17848
|
iconPadding: number;
|
|
17785
17849
|
get scaledIconPadding(): number;
|
|
17850
|
+
get textVisible(): boolean;
|
|
17786
17851
|
dirty: boolean;
|
|
17787
17852
|
textDirty: boolean;
|
|
17788
17853
|
pinDirty: boolean;
|
|
@@ -17985,6 +18050,27 @@ export type PaintStyle = {
|
|
|
17985
18050
|
* Bevel configuration for extruded shapes.
|
|
17986
18051
|
*/
|
|
17987
18052
|
bevel?: BevelState;
|
|
18053
|
+
/**
|
|
18054
|
+
* @experimental
|
|
18055
|
+
* The ID of the mask
|
|
18056
|
+
* min value is 0, max value is 255
|
|
18057
|
+
*/
|
|
18058
|
+
__EXPERIMENTAL_maskId?: number;
|
|
18059
|
+
/**
|
|
18060
|
+
* Whether the masked object should be hidden or revealed when the mask is applied
|
|
18061
|
+
* @experimental
|
|
18062
|
+
*/
|
|
18063
|
+
__EXPERIMENTAL_maskEffect?: "hide" | "reveal";
|
|
18064
|
+
/**
|
|
18065
|
+
* Whether the mask is a mask or a masked object
|
|
18066
|
+
* @experimental
|
|
18067
|
+
*/
|
|
18068
|
+
__EXPERIMENTAL_maskMode?: "mask" | "masked-object";
|
|
18069
|
+
/**
|
|
18070
|
+
* Whether the mask is enabled
|
|
18071
|
+
* @experimental
|
|
18072
|
+
*/
|
|
18073
|
+
__EXPERIMENTAL_maskEnabled?: boolean;
|
|
17988
18074
|
};
|
|
17989
18075
|
export type Shading = {
|
|
17990
18076
|
start?: number;
|
|
@@ -18005,6 +18091,10 @@ export type LineStyle = {
|
|
|
18005
18091
|
outline?: boolean;
|
|
18006
18092
|
side?: MaterialSide;
|
|
18007
18093
|
renderOrder?: number;
|
|
18094
|
+
__EXPERIMENTAL_maskId?: number;
|
|
18095
|
+
__EXPERIMENTAL_maskEnabled?: boolean;
|
|
18096
|
+
__EXPERIMENTAL_maskEffect?: "hide" | "reveal";
|
|
18097
|
+
__EXPERIMENTAL_maskMode?: "mask" | "masked-object";
|
|
18008
18098
|
};
|
|
18009
18099
|
type ModelProperties = {
|
|
18010
18100
|
rotation?: [
|
|
@@ -18259,6 +18349,12 @@ type ImagePlacementOptions = {
|
|
|
18259
18349
|
*/
|
|
18260
18350
|
minimumSizeRatio?: number;
|
|
18261
18351
|
};
|
|
18352
|
+
type LabelRenderedState = {
|
|
18353
|
+
/**
|
|
18354
|
+
* whether the text is visible
|
|
18355
|
+
*/
|
|
18356
|
+
textVisible: boolean;
|
|
18357
|
+
};
|
|
18262
18358
|
declare const collisionRankingTierSchema: z.ZodUnion<readonly [
|
|
18263
18359
|
z.ZodEnum<{
|
|
18264
18360
|
low: "low";
|
|
@@ -19884,6 +19980,22 @@ export declare class MapView {
|
|
|
19884
19980
|
* ```
|
|
19885
19981
|
*/
|
|
19886
19982
|
getState<T extends MapElementsWithState>(target: T): TGetState<T>;
|
|
19983
|
+
/**
|
|
19984
|
+
* Gets the rendered state of a map element.
|
|
19985
|
+
*
|
|
19986
|
+
* Retrieves runtime rendering state that changes frequently, such as text visibility for labels.
|
|
19987
|
+
*
|
|
19988
|
+
* @param target The map element to get the rendered state for.
|
|
19989
|
+
* @returns An object containing the requested rendered state keys, or undefined if not found.
|
|
19990
|
+
*
|
|
19991
|
+
* @example Get label text visibility
|
|
19992
|
+
* ```ts
|
|
19993
|
+
* const label = mapView.Labels.add(space, 'Hello');
|
|
19994
|
+
* const renderedState = mapView.__EXPERIMENTAL__getRenderedState(label);
|
|
19995
|
+
* console.log('Text visible:', renderedState?.textVisible);
|
|
19996
|
+
* ```
|
|
19997
|
+
*/
|
|
19998
|
+
__EXPERIMENTAL__getRenderedState<T extends MapElementWithRenderedState>(target: T): TGetRenderedState<T> | undefined;
|
|
19887
19999
|
/**
|
|
19888
20000
|
* Sets the hover color for map elements.
|
|
19889
20001
|
*
|
|
@@ -21785,6 +21897,8 @@ declare const pathStateSchemaPartial: z.ZodObject<{
|
|
|
21785
21897
|
highlightWidthMultiplier: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
21786
21898
|
highlightCompleteFraction: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
21787
21899
|
xrayOpacity: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
21900
|
+
__EXPERIMENTAL_SMOOTHING_TENSION: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
21901
|
+
__EXPERIMENTAL_SMOOTHING_CORNER_RADIUS: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
21788
21902
|
}, z.core.$strip>;
|
|
21789
21903
|
declare const pathStateSchemaStrict: z.ZodObject<{
|
|
21790
21904
|
type: z.ZodDefault<z.ZodLiteral<"path">>;
|
|
@@ -21799,6 +21913,8 @@ declare const pathStateSchemaStrict: z.ZodObject<{
|
|
|
21799
21913
|
highlightWidthMultiplier: z.ZodDefault<z.ZodNumber>;
|
|
21800
21914
|
highlightCompleteFraction: z.ZodDefault<z.ZodNumber>;
|
|
21801
21915
|
xrayOpacity: z.ZodDefault<z.ZodNumber>;
|
|
21916
|
+
__EXPERIMENTAL_SMOOTHING_TENSION: z.ZodDefault<z.ZodNumber>;
|
|
21917
|
+
__EXPERIMENTAL_SMOOTHING_CORNER_RADIUS: z.ZodDefault<z.ZodNumber>;
|
|
21802
21918
|
}, z.core.$strict>;
|
|
21803
21919
|
export type TPathState = z.infer<typeof pathStateSchemaStrict>;
|
|
21804
21920
|
export type TPathUpdateState = z.infer<typeof pathStateSchemaPartial>;
|
|
@@ -22142,6 +22258,7 @@ declare class GeoJsonApi extends PubSub$1<TNavigationEvents> {
|
|
|
22142
22258
|
get currentFloorStack(): FloorStack;
|
|
22143
22259
|
get currentFloor(): Floor;
|
|
22144
22260
|
getState<T extends MapElementsWithState | string>(target: T): TGetState<T>;
|
|
22261
|
+
__EXPERIMENTAL__getRenderedState<T extends MapElementWithRenderedState>(target: T): TGetRenderedState<T> | undefined;
|
|
22145
22262
|
setHoverColor(c: string): void;
|
|
22146
22263
|
getHoverColor(): string | undefined;
|
|
22147
22264
|
/**
|
|
@@ -22360,17 +22477,49 @@ type DirectionProperties = {
|
|
|
22360
22477
|
};
|
|
22361
22478
|
type DirectionFeature = Feature$1<Point$1, DirectionProperties>;
|
|
22362
22479
|
type DirectionsCollection = FeatureCollection$1<Point$1, DirectionProperties>;
|
|
22363
|
-
|
|
22480
|
+
interface DoorGeometry {
|
|
22481
|
+
geoJSON: {
|
|
22482
|
+
geometry: {
|
|
22483
|
+
coordinates: [
|
|
22484
|
+
[
|
|
22485
|
+
number,
|
|
22486
|
+
number
|
|
22487
|
+
],
|
|
22488
|
+
[
|
|
22489
|
+
number,
|
|
22490
|
+
number
|
|
22491
|
+
]
|
|
22492
|
+
];
|
|
22493
|
+
};
|
|
22494
|
+
};
|
|
22495
|
+
}
|
|
22496
|
+
type BaseSimplifyOptions = {
|
|
22364
22497
|
/**
|
|
22365
22498
|
* Enable or disable simplifying.
|
|
22366
22499
|
*/
|
|
22367
22500
|
enabled: boolean;
|
|
22368
22501
|
/**
|
|
22369
22502
|
* The radius of the buffer around the path to consider when simplifying, in meters.
|
|
22370
|
-
* @default 0.
|
|
22503
|
+
* @default 0.4
|
|
22504
|
+
*/
|
|
22505
|
+
radius?: number;
|
|
22506
|
+
};
|
|
22507
|
+
type GreedyLosOptions = BaseSimplifyOptions & {
|
|
22508
|
+
__EXPERIMENTAL_METHOD?: "greedy-los";
|
|
22509
|
+
};
|
|
22510
|
+
type RdpOptions = BaseSimplifyOptions & {
|
|
22511
|
+
__EXPERIMENTAL_METHOD: "rdp";
|
|
22512
|
+
};
|
|
22513
|
+
type DpOptimalOptions = BaseSimplifyOptions & {
|
|
22514
|
+
__EXPERIMENTAL_METHOD: "dp-optimal";
|
|
22515
|
+
/**
|
|
22516
|
+
* Whether to include door buffer nodes in DP simplification.
|
|
22517
|
+
* When true, predecessor and successor nodes of doors are marked with preventSmoothing.
|
|
22518
|
+
* @default false
|
|
22371
22519
|
*/
|
|
22372
|
-
|
|
22520
|
+
includeDoorBufferNodes?: boolean;
|
|
22373
22521
|
};
|
|
22522
|
+
type SimplifyDirectionsOptions = GreedyLosOptions | RdpOptions | DpOptimalOptions;
|
|
22374
22523
|
type DirectionsZone = {
|
|
22375
22524
|
geometry: Feature$1<MultiPolygon$1 | Polygon$1>;
|
|
22376
22525
|
/**
|
|
@@ -22388,6 +22537,7 @@ declare class Navigator$1 {
|
|
|
22388
22537
|
graph: NavigationGraph;
|
|
22389
22538
|
private geometryEdgesByMapId;
|
|
22390
22539
|
private flagDeclarations;
|
|
22540
|
+
private getDoorByNodeId;
|
|
22391
22541
|
private disabledNodeIds;
|
|
22392
22542
|
/**
|
|
22393
22543
|
* Constructs a Navigator instance to manage pathfinding with optional obstructions and grouping features.
|
|
@@ -22396,13 +22546,15 @@ declare class Navigator$1 {
|
|
|
22396
22546
|
* @param {ObstructionCollection} [obstructions] - Optional collection of obstructions that could block paths.
|
|
22397
22547
|
* @param {SpaceCollection} [spaces] - Optional collection of spaces that could block paths.
|
|
22398
22548
|
* @param {string} [groupBy] - Optional property name to group nodes and paths for differentiated processing.
|
|
22549
|
+
* @param {Function} getDoorByNodeId - Function to get door object by node ID.
|
|
22399
22550
|
*/
|
|
22400
|
-
constructor({ nodes, geojsonCollection, groupBy, multiplicativeDistanceWeightScaling, flagDeclarations, }: {
|
|
22551
|
+
constructor({ nodes, geojsonCollection, groupBy, multiplicativeDistanceWeightScaling, flagDeclarations, getDoorByNodeId, }: {
|
|
22401
22552
|
nodes: NodeCollection$1;
|
|
22402
22553
|
geojsonCollection?: ObstructionCollection | SpaceCollection;
|
|
22403
22554
|
groupBy?: string;
|
|
22404
22555
|
multiplicativeDistanceWeightScaling?: boolean;
|
|
22405
22556
|
flagDeclarations?: NavigationFlagDeclarations;
|
|
22557
|
+
getDoorByNodeId: (nodeId: string) => DoorGeometry | undefined;
|
|
22406
22558
|
});
|
|
22407
22559
|
private getDisabledNodeIds;
|
|
22408
22560
|
/**
|
|
@@ -22415,9 +22567,11 @@ declare class Navigator$1 {
|
|
|
22415
22567
|
* @param {SimplifyDirectionsOptions} [simplify] - Options to simplify the pathfinding result.
|
|
22416
22568
|
* @returns {DirectionsCollection} A collection of directional features representing the path.
|
|
22417
22569
|
*/
|
|
22418
|
-
getDirections({ zones: directionsZones, originIds, destinationNodeIds, disabledConnectionNodeIds, simplify, multiplicativeDistanceWeightScaling, overrideEdgeWeights, }: {
|
|
22570
|
+
getDirections({ zones: directionsZones, originIds, from, to, destinationNodeIds, disabledConnectionNodeIds, simplify, multiplicativeDistanceWeightScaling, overrideEdgeWeights, }: {
|
|
22419
22571
|
originIds: string[];
|
|
22420
22572
|
destinationNodeIds: string[];
|
|
22573
|
+
from: NodeFeature[];
|
|
22574
|
+
to: NodeFeature[];
|
|
22421
22575
|
zones?: DirectionsZone[];
|
|
22422
22576
|
disabledConnectionNodeIds?: string[];
|
|
22423
22577
|
simplify?: SimplifyDirectionsOptions;
|
|
@@ -22432,11 +22586,21 @@ declare class Navigator$1 {
|
|
|
22432
22586
|
*/
|
|
22433
22587
|
private generatePath;
|
|
22434
22588
|
/**
|
|
22435
|
-
* Simplifies a sequence of steps by reducing unnecessary nodes using
|
|
22589
|
+
* Simplifies a sequence of steps by reducing unnecessary nodes using line-of-sight checks.
|
|
22590
|
+
*
|
|
22591
|
+
* Method Selection:
|
|
22592
|
+
* - 'greedy-los': Greedy forward scan with line-of-sight validation. Fastest, O(n) time complexity. Good default choice.
|
|
22593
|
+
* - 'rdp': Uses Ramer-Douglas-Peucker preprocessing + line-of-sight validation + door buffer nodes.
|
|
22594
|
+
* Better for paths with doors and complex geometry. Medium speed.
|
|
22595
|
+
* - 'dp-optimal': Dynamic Programming for globally optimal simplification. Slowest but highest quality, O(n²) complexity.
|
|
22596
|
+
* Best when path quality is critical (e.g., indoor navigation with many turns).
|
|
22597
|
+
*
|
|
22598
|
+
* Performance: greedy-los < rdp < dp-optimal
|
|
22599
|
+
* Quality: greedy-los < rdp < dp-optimal
|
|
22436
22600
|
*
|
|
22437
22601
|
* @param {Edge[]} steps - The steps to simplify.
|
|
22438
|
-
* @param {
|
|
22439
|
-
*
|
|
22602
|
+
* @param {SimplifyDirectionsOptions} options - Simplification options.
|
|
22603
|
+
* @param {boolean} multiplicativeDistanceWeightScaling - Distance weight scaling option.
|
|
22440
22604
|
* @returns {Edge[]} An array of simplified edges representing a more direct path.
|
|
22441
22605
|
*/
|
|
22442
22606
|
private simplifyAllSteps;
|
|
@@ -22479,6 +22643,8 @@ declare class Navigator$1 {
|
|
|
22479
22643
|
* @returns {Edge[]} An array of simplified edges.
|
|
22480
22644
|
*/
|
|
22481
22645
|
private simplifySteps;
|
|
22646
|
+
private simplifyStepsImprovedWithSimplifyBeforeLoSChecks;
|
|
22647
|
+
private simplifyStepsWithDPMethod;
|
|
22482
22648
|
/**
|
|
22483
22649
|
* Calculates the approximate distance between two geographic coordinates on Earth's surface.
|
|
22484
22650
|
*
|
|
@@ -22566,13 +22732,14 @@ declare class DirectionsInternal {
|
|
|
22566
22732
|
/**
|
|
22567
22733
|
* @hidden
|
|
22568
22734
|
*/
|
|
22569
|
-
constructor({ nodes, geojsonCollection, connections, groupBy, multiplicativeDistanceWeightScaling, flagDeclarations, }: {
|
|
22735
|
+
constructor({ nodes, geojsonCollection, connections, groupBy, multiplicativeDistanceWeightScaling, flagDeclarations, getDoorByNodeId, }: {
|
|
22570
22736
|
nodes: ParsedMVF["node.geojson"];
|
|
22571
22737
|
geojsonCollection: ParsedMVF["obstruction"] | ParsedMVF["space"];
|
|
22572
22738
|
connections: ParsedMVF["connection.json"];
|
|
22573
22739
|
groupBy?: string;
|
|
22574
22740
|
multiplicativeDistanceWeightScaling?: boolean;
|
|
22575
22741
|
flagDeclarations?: ParsedMVF["navigationFlags.json"];
|
|
22742
|
+
getDoorByNodeId: (nodeId: string) => DoorGeometry | undefined;
|
|
22576
22743
|
});
|
|
22577
22744
|
processTargets(fromNodesByTarget: Map<TNavigationTarget, string[]>, toNodesByTarget: Map<TNavigationTarget, string[]>, mapData: MapDataInternal): {
|
|
22578
22745
|
originIds: string[];
|
|
@@ -22581,10 +22748,7 @@ declare class DirectionsInternal {
|
|
|
22581
22748
|
};
|
|
22582
22749
|
getDirections: (from: TNavigationTarget[], to: TNavigationTarget[], options: {
|
|
22583
22750
|
accessible: boolean;
|
|
22584
|
-
smoothing:
|
|
22585
|
-
enabled: boolean;
|
|
22586
|
-
radius: number;
|
|
22587
|
-
};
|
|
22751
|
+
smoothing: SimplifyDirectionsOptions;
|
|
22588
22752
|
zones: TDirectionZone[];
|
|
22589
22753
|
excludedConnections: Connection[];
|
|
22590
22754
|
connectionIdWeightMap: Record<string, number>;
|
|
@@ -22592,10 +22756,7 @@ declare class DirectionsInternal {
|
|
|
22592
22756
|
/** @deprecated use getDirections instead */
|
|
22593
22757
|
getDirectionsSync: (from: TNavigationTarget[], to: TNavigationTarget[], options: {
|
|
22594
22758
|
accessible: boolean;
|
|
22595
|
-
smoothing:
|
|
22596
|
-
enabled: boolean;
|
|
22597
|
-
radius: number;
|
|
22598
|
-
};
|
|
22759
|
+
smoothing: SimplifyDirectionsOptions;
|
|
22599
22760
|
zones: TDirectionZone[];
|
|
22600
22761
|
excludedConnections: Connection[];
|
|
22601
22762
|
connectionIdWeightMap: Record<string, number>;
|
|
@@ -23358,6 +23519,20 @@ export type TAddPathOptions = {
|
|
|
23358
23519
|
* @defaultValue 0.25
|
|
23359
23520
|
*/
|
|
23360
23521
|
xrayOpacity?: number;
|
|
23522
|
+
/**
|
|
23523
|
+
* @experimental Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
|
|
23524
|
+
* Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
|
|
23525
|
+
*
|
|
23526
|
+
* @defaultValue 0.0
|
|
23527
|
+
*/
|
|
23528
|
+
__EXPERIMENTAL_SMOOTHING_TENSION?: number;
|
|
23529
|
+
/**
|
|
23530
|
+
* @experimental Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
|
|
23531
|
+
* Only applies when __EXPERIMENTAL_SMOOTHING_TENSION > 0. Typical values are 0.5-2.0 meters for subtle smoothing.
|
|
23532
|
+
*
|
|
23533
|
+
* @defaultValue 0.5
|
|
23534
|
+
*/
|
|
23535
|
+
__EXPERIMENTAL_SMOOTHING_CORNER_RADIUS?: number;
|
|
23361
23536
|
};
|
|
23362
23537
|
/**
|
|
23363
23538
|
* Defines the priority levels for collider collision handling, allowing customization of collider visibility in congested areas.
|
|
@@ -23399,31 +23574,121 @@ export type TGetDirectionsOptions = {
|
|
|
23399
23574
|
*/
|
|
23400
23575
|
accessible?: boolean;
|
|
23401
23576
|
/**
|
|
23402
|
-
* Enable or disable
|
|
23403
|
-
*
|
|
23577
|
+
* Enable or disable path smoothing for directions.
|
|
23578
|
+
* When enabled, the path is simplified using line-of-sight checks to provide a more visually appealing route and shorter instructions.
|
|
23579
|
+
*
|
|
23580
|
+
* Can be a boolean to enable or disable smoothing, or an object with configuration options.
|
|
23404
23581
|
*
|
|
23405
|
-
*
|
|
23582
|
+
* **Available methods:**
|
|
23583
|
+
* - `'greedy-los'` (default): Greedy forward scan with line-of-sight validation. Fastest, O(n) time complexity. Good default choice.
|
|
23584
|
+
* - `'rdp'`: Uses Ramer-Douglas-Peucker preprocessing + line-of-sight validation + door buffer nodes. Better for paths with doors and complex geometry. Medium speed.
|
|
23585
|
+
* - `'dp-optimal'`: Dynamic Programming for globally optimal simplification. Slowest but highest quality, O(n²) complexity. Best when path quality is critical.
|
|
23406
23586
|
*
|
|
23407
23587
|
* @default true for non-enterprise mode, false for enterprise mode
|
|
23408
23588
|
*
|
|
23409
23589
|
* @example
|
|
23410
23590
|
* ```ts
|
|
23411
|
-
* // Enable smoothing with
|
|
23591
|
+
* // Enable smoothing with default settings
|
|
23592
|
+
* mapView.getDirections(firstSpace, secondSpace, {
|
|
23593
|
+
* smoothing: true
|
|
23594
|
+
* })
|
|
23595
|
+
*
|
|
23596
|
+
* // Enable smoothing with custom radius (in meters)
|
|
23412
23597
|
* mapView.getDirections(firstSpace, secondSpace, {
|
|
23413
|
-
*
|
|
23414
|
-
* radius:
|
|
23598
|
+
* smoothing: {
|
|
23599
|
+
* radius: 1.5,
|
|
23415
23600
|
* }
|
|
23416
23601
|
* })
|
|
23417
23602
|
*
|
|
23418
|
-
* //
|
|
23603
|
+
* // Use greedy line-of-sight method (default, explicit)
|
|
23419
23604
|
* mapView.getDirections(firstSpace, secondSpace, {
|
|
23420
|
-
* smoothing:
|
|
23605
|
+
* smoothing: {
|
|
23606
|
+
* enabled: true,
|
|
23607
|
+
* __EXPERIMENTAL_METHOD: 'greedy-los',
|
|
23608
|
+
* radius: 0.4,
|
|
23609
|
+
* }
|
|
23610
|
+
* })
|
|
23611
|
+
*
|
|
23612
|
+
* // Use RDP method (always uses line-of-sight)
|
|
23613
|
+
* mapView.getDirections(firstSpace, secondSpace, {
|
|
23614
|
+
* smoothing: {
|
|
23615
|
+
* enabled: true,
|
|
23616
|
+
* __EXPERIMENTAL_METHOD: 'rdp',
|
|
23617
|
+
* radius: 0.4,
|
|
23618
|
+
* }
|
|
23619
|
+
* })
|
|
23620
|
+
*
|
|
23621
|
+
* // Use DP-optimal method with door buffer nodes
|
|
23622
|
+
* mapView.getDirections(firstSpace, secondSpace, {
|
|
23623
|
+
* smoothing: {
|
|
23624
|
+
* enabled: true,
|
|
23625
|
+
* __EXPERIMENTAL_METHOD: 'dp-optimal',
|
|
23626
|
+
* __EXPERIMENTAL_INCLUDE_DOOR_BUFFER_NODES: true,
|
|
23627
|
+
* radius: 0.4,
|
|
23628
|
+
* }
|
|
23421
23629
|
* })
|
|
23422
23630
|
* ```
|
|
23423
23631
|
*/
|
|
23424
23632
|
smoothing?: boolean | {
|
|
23633
|
+
/**
|
|
23634
|
+
* Enable or disable path smoothing.
|
|
23635
|
+
* @default true for non-enterprise mode, false for enterprise mode
|
|
23636
|
+
*/
|
|
23425
23637
|
enabled?: boolean;
|
|
23426
|
-
|
|
23638
|
+
/**
|
|
23639
|
+
* The radius of the buffer around the path to consider when simplifying, in meters.
|
|
23640
|
+
* @default 0.75
|
|
23641
|
+
*/
|
|
23642
|
+
radius?: number;
|
|
23643
|
+
/**
|
|
23644
|
+
* @experimental
|
|
23645
|
+
* Path smoothing method using greedy line-of-sight algorithm.
|
|
23646
|
+
* Fastest method with O(n) time complexity. Good default choice.
|
|
23647
|
+
* @default 'greedy-los'
|
|
23648
|
+
*/
|
|
23649
|
+
__EXPERIMENTAL_METHOD?: "greedy-los";
|
|
23650
|
+
} | {
|
|
23651
|
+
/**
|
|
23652
|
+
* Enable or disable path smoothing.
|
|
23653
|
+
* @default true for non-enterprise mode, false for enterprise mode
|
|
23654
|
+
*/
|
|
23655
|
+
enabled?: boolean;
|
|
23656
|
+
/**
|
|
23657
|
+
* The radius of the buffer around the path to consider when simplifying, in meters.
|
|
23658
|
+
* @default 0.75
|
|
23659
|
+
*/
|
|
23660
|
+
radius?: number;
|
|
23661
|
+
/**
|
|
23662
|
+
* @experimental
|
|
23663
|
+
* Path smoothing method using Ramer-Douglas-Peucker preprocessing with line-of-sight validation.
|
|
23664
|
+
* Better for paths with doors and complex geometry. Medium speed.
|
|
23665
|
+
* Always uses line-of-sight validation (cannot be disabled).
|
|
23666
|
+
*/
|
|
23667
|
+
__EXPERIMENTAL_METHOD: "rdp";
|
|
23668
|
+
} | {
|
|
23669
|
+
/**
|
|
23670
|
+
* Enable or disable path smoothing.
|
|
23671
|
+
* @default true for non-enterprise mode, false for enterprise mode
|
|
23672
|
+
*/
|
|
23673
|
+
enabled?: boolean;
|
|
23674
|
+
/**
|
|
23675
|
+
* The radius of the buffer around the path to consider when simplifying, in meters.
|
|
23676
|
+
* @default 0.75
|
|
23677
|
+
*/
|
|
23678
|
+
radius?: number;
|
|
23679
|
+
/**
|
|
23680
|
+
* @experimental
|
|
23681
|
+
* Path smoothing method using Dynamic Programming for globally optimal simplification.
|
|
23682
|
+
* Slowest but highest quality, O(n²) complexity. Best when path quality is critical.
|
|
23683
|
+
*/
|
|
23684
|
+
__EXPERIMENTAL_METHOD: "dp-optimal";
|
|
23685
|
+
/**
|
|
23686
|
+
* @experimental
|
|
23687
|
+
* Whether to include 0.5m buffer nodes perpendicular to doors in DP simplification.
|
|
23688
|
+
* When true, predecessor and successor nodes of doors are marked with preventSmoothing.
|
|
23689
|
+
* @default false
|
|
23690
|
+
*/
|
|
23691
|
+
__EXPERIMENTAL_INCLUDE_DOOR_BUFFER_NODES?: boolean;
|
|
23427
23692
|
};
|
|
23428
23693
|
/**
|
|
23429
23694
|
* Defines the special zones for navigation operations.
|
|
@@ -23679,6 +23944,9 @@ export type WithState<T> = T extends {
|
|
|
23679
23944
|
export type TUpdateState<T extends MapElementsWithState | string> = T extends {
|
|
23680
23945
|
__type: infer U;
|
|
23681
23946
|
} ? U extends keyof MapElementToUpdateState ? MapElementToUpdateState[U] : never : T extends string ? T extends keyof MapElementToUpdateState ? MapElementToUpdateState[T] : Record<string, any> : never;
|
|
23947
|
+
export type MapElementToGetRenderedState = {
|
|
23948
|
+
[Label.__type]: ReadonlyDeep<LabelRenderedState>;
|
|
23949
|
+
};
|
|
23682
23950
|
/**
|
|
23683
23951
|
* The type for getting the state of map elements.
|
|
23684
23952
|
* Returns the full state type for all element types.
|
|
@@ -23686,6 +23954,10 @@ export type TUpdateState<T extends MapElementsWithState | string> = T extends {
|
|
|
23686
23954
|
export type TGetState<T extends MapElementsWithState | string> = T extends {
|
|
23687
23955
|
__type: infer U;
|
|
23688
23956
|
} ? U extends keyof MapElementToGetState ? MapElementToGetState[U] : never : T extends string ? T extends keyof MapElementToGetState ? MapElementToGetState[T] : Record<string, any> : never;
|
|
23957
|
+
type MapElementWithRenderedState = WithState<Label>;
|
|
23958
|
+
type TGetRenderedState<T extends MapElementWithRenderedState | string> = T extends {
|
|
23959
|
+
__type: infer U;
|
|
23960
|
+
} ? U extends keyof MapElementToGetRenderedState ? MapElementToGetRenderedState[U] : never : T extends string ? T extends keyof MapElementToGetRenderedState ? MapElementToGetRenderedState[T] : Record<string, any> : never;
|
|
23689
23961
|
export type GlobalState = {
|
|
23690
23962
|
/**
|
|
23691
23963
|
* The color of the background, in hex format(#000000).
|
|
@@ -24810,8 +25082,7 @@ export declare class Connection extends DetailedMapData<Feature<Point, SpaceProp
|
|
|
24810
25082
|
* @internal
|
|
24811
25083
|
*/
|
|
24812
25084
|
constructor(data: MapDataInternal, options: {
|
|
24813
|
-
|
|
24814
|
-
accessible?: boolean;
|
|
25085
|
+
mvfData: MVFConnection;
|
|
24815
25086
|
});
|
|
24816
25087
|
/**
|
|
24817
25088
|
* Whether the connection is accessible. For example elevators are accessible while stairs are not.
|
|
@@ -24847,10 +25118,6 @@ export declare class Connection extends DetailedMapData<Feature<Point, SpaceProp
|
|
|
24847
25118
|
* @returns {Floor[]} An array of floors for the connection.
|
|
24848
25119
|
*/
|
|
24849
25120
|
get floors(): Floor[];
|
|
24850
|
-
/**
|
|
24851
|
-
* Gets the location profiles ({@link LocationProfile}) associated with the connection.
|
|
24852
|
-
*/
|
|
24853
|
-
get locationProfiles(): LocationProfile[];
|
|
24854
25121
|
/** @internal */
|
|
24855
25122
|
get focusTarget(): Coordinate[];
|
|
24856
25123
|
/**
|
|
@@ -25510,8 +25777,6 @@ type MapDataRecords = {
|
|
|
25510
25777
|
locationProfilesByExternalId: Record<string, LocationProfile[]>;
|
|
25511
25778
|
objectEntranceNodeIdsByObstructionId: Record<string, string[]>;
|
|
25512
25779
|
obstructionIdByEntranceId: Record<string, string>;
|
|
25513
|
-
connectionIdsByLatLon: Record<string, string[]>;
|
|
25514
|
-
mvfConnectionIdsByLatLon: Record<string, string[]>;
|
|
25515
25780
|
locationProfilesByAttachedFeatureId: Record<string, LocationProfile[]>;
|
|
25516
25781
|
mvfSpacesById: Record<string, SpaceCollection["features"][number]>;
|
|
25517
25782
|
mvfNodesById: Record<string, NodeCollection["features"][number]>;
|
|
@@ -26144,7 +26409,6 @@ declare class MapDataInternal extends PubSub$1<{
|
|
|
26144
26409
|
mvfAnnotationsById: MapDataRecords["mvfAnnotationsById"];
|
|
26145
26410
|
mvfConnectionsById: MapDataRecords["mvfConnectionsById"];
|
|
26146
26411
|
mvfConnectionsByNodeId: MapDataRecords["mvfConnectionsByNodeId"];
|
|
26147
|
-
mvfConnectionIdsByLatLon: MapDataRecords["mvfConnectionIdsByLatLon"];
|
|
26148
26412
|
mvfEntrancesById: MapDataRecords["mvfEntrancesById"];
|
|
26149
26413
|
mvfNodesById: MapDataRecords["mvfNodesById"];
|
|
26150
26414
|
mvfObstructionById: MapDataRecords["mvfObstructionById"];
|
|
@@ -26160,7 +26424,6 @@ declare class MapDataInternal extends PubSub$1<{
|
|
|
26160
26424
|
floorStacksByExternalId: MapDataRecords["floorStacksByExternalId"];
|
|
26161
26425
|
doorsByExternalId: MapDataRecords["doorsByExternalId"];
|
|
26162
26426
|
areasByExternalId: MapDataRecords["areasByExternalId"];
|
|
26163
|
-
connectionSpaceIdsByLatLon: MapDataRecords["connectionIdsByLatLon"];
|
|
26164
26427
|
locationProfilesByAttachedFeatureId: MapDataRecords["locationProfilesByAttachedFeatureId"];
|
|
26165
26428
|
entranceNodeIdsBySpaceId?: MapDataRecords["entranceNodeIdsBySpaceId"];
|
|
26166
26429
|
locationsById: EnterpriseMapDataRecords["locationsById"];
|
|
@@ -26359,6 +26622,13 @@ declare class MapDataInternal extends PubSub$1<{
|
|
|
26359
26622
|
getDirections: (from: TNavigationTarget | TNavigationTarget[], to: TNavigationTarget | TNavigationTarget[], opt?: TGetDirectionsOptions) => Promise<Directions | undefined>;
|
|
26360
26623
|
getDirectionsMultiDestination: (from: TNavigationTarget | TNavigationTarget[], to: TNavigationTarget | (TNavigationTarget | TNavigationTarget[])[], opt?: TGetDirectionsOptions) => Promise<Directions[] | undefined>;
|
|
26361
26624
|
getDistance(from: Space | Door | Coordinate | MapObject | PointOfInterest | Annotation | Node$1 | EnterpriseLocation | Area, to: Space | Door | Coordinate | MapObject | PointOfInterest | Annotation | Node$1 | EnterpriseLocation | Area): number;
|
|
26625
|
+
/**
|
|
26626
|
+
* Gets the door associated with a node.
|
|
26627
|
+
*
|
|
26628
|
+
* @param nodeId The ID of the node to check
|
|
26629
|
+
* @returns The door object if the node is associated with a door, undefined otherwise
|
|
26630
|
+
*/
|
|
26631
|
+
getDoorByNodeId: (nodeId: string) => Door | undefined;
|
|
26362
26632
|
transformImageRequest: (url: string) => Promise<{
|
|
26363
26633
|
url: string;
|
|
26364
26634
|
}>;
|
|
@@ -27770,7 +28040,7 @@ declare namespace schemas {
|
|
|
27770
28040
|
export { $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $PartsToTemplateLiteral, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntInternals, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUIDDef, $ZodCUIDInternals, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLooseShape, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberInternals, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringDef, $ZodStringFormat, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatTypes, $ZodStringInternals, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodType, $ZodTypeDef, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $catchall, $loose, $partial, $strict, $strip, CheckFn, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, File$1 as File, ParseContext, ParseContextInternal, ParsePayload, SomeType, ToTemplateLiteral, _$ZodType, _$ZodTypeInternals, clone, isValidBase64, isValidBase64URL, isValidJWT };
|
|
27771
28041
|
}
|
|
27772
28042
|
declare namespace util {
|
|
27773
|
-
export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, Class, CleanKey, Constructor, EmptyObject, EmptyToNever, EnumLike, EnumValue, Exactly, Extend, ExtractIndexSignature, Flatten, FromCleanMap, HasLength, HasSize, HashAlgorithm, HashEncoding, HashFormat, IPVersion, Identity, InexactPartial, IsAny, IsProp, JSONType, JWTAlgorithm, KeyOf, Keys, KeysArray, KeysEnum, Literal, LiteralArray, LoosePartial, MakePartial, MakeReadonly, MakeRequired, Mapped, Mask, MaybeAsync, MimeTypes, NUMBER_FORMAT_RANGES, NoNever, NoNeverKeys, NoUndefined, Normalize, Numeric, Omit$1 as Omit, OmitIndexSignature, OmitKeys, ParsedTypes, Prettify, Primitive, PrimitiveArray, PrimitiveSet, PropValues, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, createTransparentProxy, defineLazy, esc, escapeRegex, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, merge, mergeDefs, normalizeParams, nullish, numKeys, objectClone, omit, optionalKeys, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, required, safeExtend, shallowClone, stringifyPrimitive, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
|
|
28043
|
+
export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, Class, CleanKey, Constructor, EmptyObject, EmptyToNever, EnumLike, EnumValue, Exactly, Extend, ExtractIndexSignature, Flatten, FromCleanMap, HasLength, HasSize, HashAlgorithm, HashEncoding, HashFormat, IPVersion, Identity, InexactPartial, IsAny, IsProp, JSONType, JWTAlgorithm, KeyOf, Keys, KeysArray, KeysEnum, Literal, LiteralArray, LoosePartial, MakePartial, MakeReadonly, MakeRequired, Mapped, Mask$1 as Mask, MaybeAsync, MimeTypes, NUMBER_FORMAT_RANGES, NoNever, NoNeverKeys, NoUndefined, Normalize, Numeric, Omit$1 as Omit, OmitIndexSignature, OmitKeys, ParsedTypes, Prettify, Primitive, PrimitiveArray, PrimitiveSet, PropValues, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, createTransparentProxy, defineLazy, esc, escapeRegex, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, merge, mergeDefs, normalizeParams, nullish, numKeys, objectClone, omit, optionalKeys, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, required, safeExtend, shallowClone, stringifyPrimitive, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
|
|
27774
28044
|
}
|
|
27775
28045
|
declare namespace JSONSchema$1 {
|
|
27776
28046
|
export { ArraySchema, BaseSchema, BooleanSchema, IntegerSchema, JSONSchema, NullSchema, NumberSchema, ObjectSchema, Schema, StringSchema, _JSONSchema };
|
package/lib/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as C,B as D,C as E,D as F,E as H,F as I,H as J,I as K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,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,u as w,v as x,w as y,x as z,y as A,z as B}from"./chunk-
|
|
1
|
+
import{A as C,B as D,C as E,D as F,E as H,F as I,H as J,I as K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,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,u as w,v as x,w as y,x as z,y as A,z as B}from"./chunk-D53OXR7Z.js";import{a,c as b,cb as G}from"./chunk-CJ52KBIE.js";import"./chunk-RJF4TTOJ.js";import"./chunk-6SFEDLKY.js";import"./chunk-5W2UDR4H.js";export{y as ACTION_TYPE,I as ANIMATION_TWEENS,p as Annotation,h as Area,z as BEARING_TYPE,A as CONNECTION_TYPE,m as Connection,c as Coordinate,C as DOORS,g as DetailedMapData,D as Directions,i as Door,a as E_SDK_LOG_LEVEL,t as EnterpriseCategory,s as EnterpriseLocation,u as EnterpriseVenue,r as Facade,k as Floor,q as FloorStack,e as Hyperlink,f as ImageMetaData,F as LocationCategory,E as LocationProfile,l as MAPPEDIN_COLORS,n as MapObject,M as MapView,d as Node,o as PointOfInterest,j as Space,B as WALLS,P as __setWatermarkOnClickFn,W as checkWorkerUrls,K as disableText3DWorker,H as enableTestMode,O as findPreferredLanguageInVenue,S as forceEnterpriseLocations,U as getMapData,V as getMapDataEnterprise,J as getMultiFloorState,Y as getVersion,N as hydrateMapData,Q as hydrateMapDataFromMVF,v as parseMVF,G as preloadFont,b as setLoggerLevel,R as setUseEnterpriseAPI,L as setWorkersUrl,T as shouldForceEnterpriseLocations,X as show3dMap,Z as show3dMapGeojson,x as unzipAndParseMVFv2,w as unzipMVF};
|