venue-js 1.4.0-next.19 → 1.4.0-next.20
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/dist/data/index.d.mts +1 -1
- package/dist/data/index.d.ts +1 -1
- package/dist/data/index.js +332 -328
- package/dist/data/index.js.map +1 -1
- package/dist/data/index.mjs +331 -328
- package/dist/data/index.mjs.map +1 -1
- package/dist/{index-C1nZyY-F.d.mts → index-X4qpYAhF.d.mts} +36 -13
- package/dist/{index-C1nZyY-F.d.ts → index-X4qpYAhF.d.ts} +36 -13
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +332 -328
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +331 -328
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -829,6 +829,9 @@ type Waypoint = {
|
|
|
829
829
|
name: TransalatableString | null;
|
|
830
830
|
hint?: WaypointHint;
|
|
831
831
|
source: {
|
|
832
|
+
type: "occupant";
|
|
833
|
+
id: string;
|
|
834
|
+
} | {
|
|
832
835
|
type: "opening";
|
|
833
836
|
id: string;
|
|
834
837
|
} | {
|
|
@@ -845,6 +848,7 @@ type Waypoint = {
|
|
|
845
848
|
raw: string;
|
|
846
849
|
};
|
|
847
850
|
};
|
|
851
|
+
|
|
848
852
|
type Step = {
|
|
849
853
|
from: Waypoint;
|
|
850
854
|
to: Waypoint;
|
|
@@ -858,13 +862,26 @@ type Step = {
|
|
|
858
862
|
};
|
|
859
863
|
};
|
|
860
864
|
|
|
865
|
+
type GetNavigateClientOptions = {
|
|
866
|
+
data: {
|
|
867
|
+
anchors?: AnchorFeature[];
|
|
868
|
+
amenities?: AmenityFeature[];
|
|
869
|
+
fixtures?: FixtureFeature[];
|
|
870
|
+
kiosks?: KioskFeature[];
|
|
871
|
+
levels: LevelFeature[];
|
|
872
|
+
occupants?: OccupantFeature[];
|
|
873
|
+
openings: OpeningFeature[];
|
|
874
|
+
relationships: RelationshipFeature[];
|
|
875
|
+
units: UnitFeature[];
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
type FindByIdSync = <T extends FeatureType>(id: string) => FeatureResponseMap[T];
|
|
861
879
|
/** Things that can navigate */
|
|
862
880
|
type FeatureId = `${string}-${number}`;
|
|
863
881
|
type CoordinateOrdinalString = `${number},${number},${number}o`;
|
|
864
882
|
type NavigatableParam = FeatureId | CoordinateOrdinalString;
|
|
865
883
|
type Route = {
|
|
866
884
|
steps: Step[];
|
|
867
|
-
description: string | null;
|
|
868
885
|
duration: null | number;
|
|
869
886
|
distance: null | number;
|
|
870
887
|
};
|
|
@@ -880,7 +897,7 @@ interface VenueClientOptions {
|
|
|
880
897
|
type SearchClient = {
|
|
881
898
|
search: (txt: string) => FuseResult<ImdfFeature>[];
|
|
882
899
|
};
|
|
883
|
-
type NavigateClient = {
|
|
900
|
+
type NavigateClient$1 = {
|
|
884
901
|
findRoute: (origin: string, destination: string) => void;
|
|
885
902
|
};
|
|
886
903
|
interface FindParams {
|
|
@@ -927,16 +944,6 @@ declare const defaultFeatureQueryOptionsMap: Record<FeatureType, FeatureQueryOpt
|
|
|
927
944
|
|
|
928
945
|
type IMDFUnitCategory = typeof IMDF_UNIT_CATEGORIES[number];
|
|
929
946
|
|
|
930
|
-
declare function fetchDeliveryApi<T extends FeatureType = FeatureType>(projectId: string, apiKey: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
|
|
931
|
-
declare function fetchPreviewApi<T extends FeatureType = FeatureType>(projectId: string, previewToken: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
|
|
932
|
-
declare const safeFetchFeature: <T extends FeatureType = FeatureType>(featureType: FeatureType, params: {
|
|
933
|
-
mode: "delivery" | "preview";
|
|
934
|
-
projectId: string;
|
|
935
|
-
apiKey: string;
|
|
936
|
-
previewToken?: string;
|
|
937
|
-
baseUrl: string;
|
|
938
|
-
}) => Promise<FeatureResponseMap[T][]>;
|
|
939
|
-
|
|
940
947
|
/**
|
|
941
948
|
* Checks if a point is a valid coordinate pair.
|
|
942
949
|
*
|
|
@@ -994,9 +1001,25 @@ declare namespace occupantHelper {
|
|
|
994
1001
|
|
|
995
1002
|
declare const getDataClient: (options: VenueClientOptions) => VenueDataClient;
|
|
996
1003
|
|
|
1004
|
+
declare function fetchDeliveryApi<T extends FeatureType = FeatureType>(projectId: string, apiKey: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
|
|
1005
|
+
declare function fetchPreviewApi<T extends FeatureType = FeatureType>(projectId: string, previewToken: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
|
|
1006
|
+
declare const safeFetchFeature: <T extends FeatureType = FeatureType>(featureType: FeatureType, params: {
|
|
1007
|
+
mode: "delivery" | "preview";
|
|
1008
|
+
projectId: string;
|
|
1009
|
+
apiKey: string;
|
|
1010
|
+
previewToken?: string;
|
|
1011
|
+
baseUrl: string;
|
|
1012
|
+
}) => Promise<FeatureResponseMap[T][]>;
|
|
1013
|
+
|
|
997
1014
|
declare const getSearchClient: ({ occupants, amenities }: {
|
|
998
1015
|
occupants: OccupantFeature[];
|
|
999
1016
|
amenities: AmenityFeature[];
|
|
1000
1017
|
}) => SearchClient;
|
|
1001
1018
|
|
|
1002
|
-
|
|
1019
|
+
type NavigateClient = {
|
|
1020
|
+
findRoute: (routeOriginParam: NavigatableParam, routeDestinationParam: NavigatableParam, options?: any) => Promise<Route>;
|
|
1021
|
+
findByIdSync: FindByIdSync;
|
|
1022
|
+
};
|
|
1023
|
+
declare const getNavigateClient: (options: GetNavigateClientOptions) => NavigateClient;
|
|
1024
|
+
|
|
1025
|
+
export { type SectionFeature as $, type AnchorGeometry as A, type BaseRelationshipProperties as B, type TraversalRelationshipProperties as C, type DetailGeometry as D, type TraversalRelationshipFeature as E, type FixtureGeometry as F, type ElevatorRelationshipProperties as G, type ElevatorRelationshipFeature as H, type Id as I, type RampRelationshipProperties as J, type KioskGeometry as K, type LevelGeometry as L, type MediaFile as M, type RampRelationshipFeature as N, type OccupantGeometry as O, type StairsRelationshipProperties as P, type StairsRelationshipFeature as Q, type Route as R, type SingleGeometry as S, type TransalatableString as T, type UnitTypeAndId as U, type VenueDataClient as V, type EscalatorRelationshipProperties as W, type EscalatorRelationshipFeature as X, type AnyRelationshipFeature as Y, type SectionGeometry as Z, type SectionProperties as _, type Media as a, type IMDFUnitCategory as a$, type UnitGeometry as a0, type UnitProperties as a1, type UnitFeature as a2, type VenueGeometry as a3, type VenueProperties as a4, type VenueFeature as a5, type TaxonomyGeometry as a6, type TaxonomyProperties as a7, type TaxonomyFeature as a8, type EventGeometry as a9, type FixtureFeaturePopulated as aA, type KioskFeaturePopulated as aB, type LevelFeaturePopulated as aC, type OccupantFeaturePopulated as aD, type OpeningFeaturePopulated as aE, type RelationshipFeaturePopulated as aF, type TraversalRelationshipFeaturePopulated as aG, type EscalatorRelationshipFeaturePopulated as aH, type RampRelationshipFeaturePopulated as aI, type ElevatorRelationshipFeaturePopulated as aJ, type StairRelationshipFeaturePopulated as aK, type SectionFeaturePopulated as aL, type UnitFeaturePopulated as aM, type VenueFeaturePopulated as aN, type TaxonomyFeaturePopulated as aO, type Model3dPopulated as aP, type FeaturePopulatedResponseMap as aQ, type PopulatableFeatureType as aR, type VenueClientOptions as aS, type SearchClient as aT, type NavigateClient$1 as aU, type FindParams as aV, type FilterParams as aW, type PopulatedParams as aX, type FeatureQueryOptions as aY, type InternalFindById as aZ, type InternalFilterByType as a_, type EventProperties as aa, type EventFeature as ab, type PromotionProperties as ac, type PromotionFeature as ad, type PrivilegeGeometry as ae, type PrivilegeProperties as af, type PrivilegeFeature as ag, type LabelGeometry as ah, type LabelProperties as ai, type LabelFeature as aj, type ElementGeometry as ak, type ElementProperties as al, type ElementFeature as am, type SponsoredContentLegacyType as an, type SponsoredContentPlacementType as ao, type SponsoredContentStrapiV4ApiResponse as ap, type SponsoredContentFeature as aq, type Page as ar, type Model3dGeometry as as, type Model3dProperties as at, type Model3dFeature as au, type FeatureResponseMap as av, type FeatureType as aw, type PolygonalFeature as ax, type AmenityFeaturePopulated as ay, type AnchorFeaturePopulated as az, type Model3d as b, DEFAULT_BASE_URL as b0, IMDF_FEATURE_TYPES as b1, IMDF_UNIT_CATEGORIES as b2, NONIMDF_FEATURE_TYPES as b3, GEOJSON_FEATURE_TYPES as b4, ALL_FEATURE_TYPES as b5, defaultFeatureQueryOptionsMap as b6, occupantHelper as b7, isValidCoordinate as b8, isValidPolygonCoordinates as b9, isValidMultiPolygonCoordinates as ba, isValidLineStringCoordinates as bb, isValidMultiPolygon as bc, isValidPolygon as bd, isValidLineString as be, isValidPoint as bf, matchFilter as bg, matchFilters as bh, getDataClient as bi, fetchDeliveryApi as bj, fetchPreviewApi as bk, safeFetchFeature as bl, getSearchClient as bm, getNavigateClient as bn, type ImdfFeature as c, type AnchorProperties as d, type AnchorFeature as e, type AmenityGeometry as f, type AmenityProperties as g, type AmenityFeature as h, type DetailProperties as i, type DetailFeature as j, type FixtureProperties as k, type FixtureFeature as l, type KioskProperties as m, type KioskFeature as n, type LevelProperties as o, type LevelFeature as p, type OccupantProperties as q, type OccupantFeature as r, type OpeningGeometry as s, type OpeningProperties as t, type OpeningFeature as u, type RelationshipCategories as v, type RelationshipDirectionTypes as w, type OpeningTypeAndId as x, type RelationshipGeometry as y, type RelationshipFeature as z };
|
|
@@ -829,6 +829,9 @@ type Waypoint = {
|
|
|
829
829
|
name: TransalatableString | null;
|
|
830
830
|
hint?: WaypointHint;
|
|
831
831
|
source: {
|
|
832
|
+
type: "occupant";
|
|
833
|
+
id: string;
|
|
834
|
+
} | {
|
|
832
835
|
type: "opening";
|
|
833
836
|
id: string;
|
|
834
837
|
} | {
|
|
@@ -845,6 +848,7 @@ type Waypoint = {
|
|
|
845
848
|
raw: string;
|
|
846
849
|
};
|
|
847
850
|
};
|
|
851
|
+
|
|
848
852
|
type Step = {
|
|
849
853
|
from: Waypoint;
|
|
850
854
|
to: Waypoint;
|
|
@@ -858,13 +862,26 @@ type Step = {
|
|
|
858
862
|
};
|
|
859
863
|
};
|
|
860
864
|
|
|
865
|
+
type GetNavigateClientOptions = {
|
|
866
|
+
data: {
|
|
867
|
+
anchors?: AnchorFeature[];
|
|
868
|
+
amenities?: AmenityFeature[];
|
|
869
|
+
fixtures?: FixtureFeature[];
|
|
870
|
+
kiosks?: KioskFeature[];
|
|
871
|
+
levels: LevelFeature[];
|
|
872
|
+
occupants?: OccupantFeature[];
|
|
873
|
+
openings: OpeningFeature[];
|
|
874
|
+
relationships: RelationshipFeature[];
|
|
875
|
+
units: UnitFeature[];
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
type FindByIdSync = <T extends FeatureType>(id: string) => FeatureResponseMap[T];
|
|
861
879
|
/** Things that can navigate */
|
|
862
880
|
type FeatureId = `${string}-${number}`;
|
|
863
881
|
type CoordinateOrdinalString = `${number},${number},${number}o`;
|
|
864
882
|
type NavigatableParam = FeatureId | CoordinateOrdinalString;
|
|
865
883
|
type Route = {
|
|
866
884
|
steps: Step[];
|
|
867
|
-
description: string | null;
|
|
868
885
|
duration: null | number;
|
|
869
886
|
distance: null | number;
|
|
870
887
|
};
|
|
@@ -880,7 +897,7 @@ interface VenueClientOptions {
|
|
|
880
897
|
type SearchClient = {
|
|
881
898
|
search: (txt: string) => FuseResult<ImdfFeature>[];
|
|
882
899
|
};
|
|
883
|
-
type NavigateClient = {
|
|
900
|
+
type NavigateClient$1 = {
|
|
884
901
|
findRoute: (origin: string, destination: string) => void;
|
|
885
902
|
};
|
|
886
903
|
interface FindParams {
|
|
@@ -927,16 +944,6 @@ declare const defaultFeatureQueryOptionsMap: Record<FeatureType, FeatureQueryOpt
|
|
|
927
944
|
|
|
928
945
|
type IMDFUnitCategory = typeof IMDF_UNIT_CATEGORIES[number];
|
|
929
946
|
|
|
930
|
-
declare function fetchDeliveryApi<T extends FeatureType = FeatureType>(projectId: string, apiKey: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
|
|
931
|
-
declare function fetchPreviewApi<T extends FeatureType = FeatureType>(projectId: string, previewToken: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
|
|
932
|
-
declare const safeFetchFeature: <T extends FeatureType = FeatureType>(featureType: FeatureType, params: {
|
|
933
|
-
mode: "delivery" | "preview";
|
|
934
|
-
projectId: string;
|
|
935
|
-
apiKey: string;
|
|
936
|
-
previewToken?: string;
|
|
937
|
-
baseUrl: string;
|
|
938
|
-
}) => Promise<FeatureResponseMap[T][]>;
|
|
939
|
-
|
|
940
947
|
/**
|
|
941
948
|
* Checks if a point is a valid coordinate pair.
|
|
942
949
|
*
|
|
@@ -994,9 +1001,25 @@ declare namespace occupantHelper {
|
|
|
994
1001
|
|
|
995
1002
|
declare const getDataClient: (options: VenueClientOptions) => VenueDataClient;
|
|
996
1003
|
|
|
1004
|
+
declare function fetchDeliveryApi<T extends FeatureType = FeatureType>(projectId: string, apiKey: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
|
|
1005
|
+
declare function fetchPreviewApi<T extends FeatureType = FeatureType>(projectId: string, previewToken: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
|
|
1006
|
+
declare const safeFetchFeature: <T extends FeatureType = FeatureType>(featureType: FeatureType, params: {
|
|
1007
|
+
mode: "delivery" | "preview";
|
|
1008
|
+
projectId: string;
|
|
1009
|
+
apiKey: string;
|
|
1010
|
+
previewToken?: string;
|
|
1011
|
+
baseUrl: string;
|
|
1012
|
+
}) => Promise<FeatureResponseMap[T][]>;
|
|
1013
|
+
|
|
997
1014
|
declare const getSearchClient: ({ occupants, amenities }: {
|
|
998
1015
|
occupants: OccupantFeature[];
|
|
999
1016
|
amenities: AmenityFeature[];
|
|
1000
1017
|
}) => SearchClient;
|
|
1001
1018
|
|
|
1002
|
-
|
|
1019
|
+
type NavigateClient = {
|
|
1020
|
+
findRoute: (routeOriginParam: NavigatableParam, routeDestinationParam: NavigatableParam, options?: any) => Promise<Route>;
|
|
1021
|
+
findByIdSync: FindByIdSync;
|
|
1022
|
+
};
|
|
1023
|
+
declare const getNavigateClient: (options: GetNavigateClientOptions) => NavigateClient;
|
|
1024
|
+
|
|
1025
|
+
export { type SectionFeature as $, type AnchorGeometry as A, type BaseRelationshipProperties as B, type TraversalRelationshipProperties as C, type DetailGeometry as D, type TraversalRelationshipFeature as E, type FixtureGeometry as F, type ElevatorRelationshipProperties as G, type ElevatorRelationshipFeature as H, type Id as I, type RampRelationshipProperties as J, type KioskGeometry as K, type LevelGeometry as L, type MediaFile as M, type RampRelationshipFeature as N, type OccupantGeometry as O, type StairsRelationshipProperties as P, type StairsRelationshipFeature as Q, type Route as R, type SingleGeometry as S, type TransalatableString as T, type UnitTypeAndId as U, type VenueDataClient as V, type EscalatorRelationshipProperties as W, type EscalatorRelationshipFeature as X, type AnyRelationshipFeature as Y, type SectionGeometry as Z, type SectionProperties as _, type Media as a, type IMDFUnitCategory as a$, type UnitGeometry as a0, type UnitProperties as a1, type UnitFeature as a2, type VenueGeometry as a3, type VenueProperties as a4, type VenueFeature as a5, type TaxonomyGeometry as a6, type TaxonomyProperties as a7, type TaxonomyFeature as a8, type EventGeometry as a9, type FixtureFeaturePopulated as aA, type KioskFeaturePopulated as aB, type LevelFeaturePopulated as aC, type OccupantFeaturePopulated as aD, type OpeningFeaturePopulated as aE, type RelationshipFeaturePopulated as aF, type TraversalRelationshipFeaturePopulated as aG, type EscalatorRelationshipFeaturePopulated as aH, type RampRelationshipFeaturePopulated as aI, type ElevatorRelationshipFeaturePopulated as aJ, type StairRelationshipFeaturePopulated as aK, type SectionFeaturePopulated as aL, type UnitFeaturePopulated as aM, type VenueFeaturePopulated as aN, type TaxonomyFeaturePopulated as aO, type Model3dPopulated as aP, type FeaturePopulatedResponseMap as aQ, type PopulatableFeatureType as aR, type VenueClientOptions as aS, type SearchClient as aT, type NavigateClient$1 as aU, type FindParams as aV, type FilterParams as aW, type PopulatedParams as aX, type FeatureQueryOptions as aY, type InternalFindById as aZ, type InternalFilterByType as a_, type EventProperties as aa, type EventFeature as ab, type PromotionProperties as ac, type PromotionFeature as ad, type PrivilegeGeometry as ae, type PrivilegeProperties as af, type PrivilegeFeature as ag, type LabelGeometry as ah, type LabelProperties as ai, type LabelFeature as aj, type ElementGeometry as ak, type ElementProperties as al, type ElementFeature as am, type SponsoredContentLegacyType as an, type SponsoredContentPlacementType as ao, type SponsoredContentStrapiV4ApiResponse as ap, type SponsoredContentFeature as aq, type Page as ar, type Model3dGeometry as as, type Model3dProperties as at, type Model3dFeature as au, type FeatureResponseMap as av, type FeatureType as aw, type PolygonalFeature as ax, type AmenityFeaturePopulated as ay, type AnchorFeaturePopulated as az, type Model3d as b, DEFAULT_BASE_URL as b0, IMDF_FEATURE_TYPES as b1, IMDF_UNIT_CATEGORIES as b2, NONIMDF_FEATURE_TYPES as b3, GEOJSON_FEATURE_TYPES as b4, ALL_FEATURE_TYPES as b5, defaultFeatureQueryOptionsMap as b6, occupantHelper as b7, isValidCoordinate as b8, isValidPolygonCoordinates as b9, isValidMultiPolygonCoordinates as ba, isValidLineStringCoordinates as bb, isValidMultiPolygon as bc, isValidPolygon as bd, isValidLineString as be, isValidPoint as bf, matchFilter as bg, matchFilters as bh, getDataClient as bi, fetchDeliveryApi as bj, fetchPreviewApi as bk, safeFetchFeature as bl, getSearchClient as bm, getNavigateClient as bn, type ImdfFeature as c, type AnchorProperties as d, type AnchorFeature as e, type AmenityGeometry as f, type AmenityProperties as g, type AmenityFeature as h, type DetailProperties as i, type DetailFeature as j, type FixtureProperties as k, type FixtureFeature as l, type KioskProperties as m, type KioskFeature as n, type LevelProperties as o, type LevelFeature as p, type OccupantProperties as q, type OccupantFeature as r, type OpeningGeometry as s, type OpeningProperties as t, type OpeningFeature as u, type RelationshipCategories as v, type RelationshipDirectionTypes as w, type OpeningTypeAndId as x, type RelationshipGeometry as y, type RelationshipFeature as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { QueryObserver } from '@tanstack/query-core';
|
|
2
|
-
import { V as VenueDataClient, R as Route } from './index-
|
|
3
|
-
export { b5 as ALL_FEATURE_TYPES, h as AmenityFeature, ay as AmenityFeaturePopulated, f as AmenityGeometry, g as AmenityProperties, e as AnchorFeature, az as AnchorFeaturePopulated, A as AnchorGeometry, d as AnchorProperties, Y as AnyRelationshipFeature, B as BaseRelationshipProperties, b0 as DEFAULT_BASE_URL, j as DetailFeature, D as DetailGeometry, i as DetailProperties, am as ElementFeature, ak as ElementGeometry, al as ElementProperties, H as ElevatorRelationshipFeature, aJ as ElevatorRelationshipFeaturePopulated, G as ElevatorRelationshipProperties, X as EscalatorRelationshipFeature, aH as EscalatorRelationshipFeaturePopulated, W as EscalatorRelationshipProperties, ab as EventFeature, a9 as EventGeometry, aa as EventProperties, aQ as FeaturePopulatedResponseMap, aY as FeatureQueryOptions, av as FeatureResponseMap, aw as FeatureType, aW as FilterParams, aV as FindParams, l as FixtureFeature, aA as FixtureFeaturePopulated, F as FixtureGeometry, k as FixtureProperties, b4 as GEOJSON_FEATURE_TYPES, a$ as IMDFUnitCategory, b1 as IMDF_FEATURE_TYPES, b2 as IMDF_UNIT_CATEGORIES, I as Id, c as ImdfFeature, a_ as InternalFilterByType, aZ as InternalFindById, n as KioskFeature, aB as KioskFeaturePopulated, K as KioskGeometry, m as KioskProperties, aj as LabelFeature, ah as LabelGeometry, ai as LabelProperties, p as LevelFeature, aC as LevelFeaturePopulated, L as LevelGeometry, o as LevelProperties, a as Media, M as MediaFile, b as Model3d, au as Model3dFeature, as as Model3dGeometry, aP as Model3dPopulated, at as Model3dProperties, b3 as NONIMDF_FEATURE_TYPES, aU as NavigateClient, r as OccupantFeature, aD as OccupantFeaturePopulated, O as OccupantGeometry,
|
|
2
|
+
import { V as VenueDataClient, R as Route } from './index-X4qpYAhF.mjs';
|
|
3
|
+
export { b5 as ALL_FEATURE_TYPES, h as AmenityFeature, ay as AmenityFeaturePopulated, f as AmenityGeometry, g as AmenityProperties, e as AnchorFeature, az as AnchorFeaturePopulated, A as AnchorGeometry, d as AnchorProperties, Y as AnyRelationshipFeature, B as BaseRelationshipProperties, b0 as DEFAULT_BASE_URL, j as DetailFeature, D as DetailGeometry, i as DetailProperties, am as ElementFeature, ak as ElementGeometry, al as ElementProperties, H as ElevatorRelationshipFeature, aJ as ElevatorRelationshipFeaturePopulated, G as ElevatorRelationshipProperties, X as EscalatorRelationshipFeature, aH as EscalatorRelationshipFeaturePopulated, W as EscalatorRelationshipProperties, ab as EventFeature, a9 as EventGeometry, aa as EventProperties, aQ as FeaturePopulatedResponseMap, aY as FeatureQueryOptions, av as FeatureResponseMap, aw as FeatureType, aW as FilterParams, aV as FindParams, l as FixtureFeature, aA as FixtureFeaturePopulated, F as FixtureGeometry, k as FixtureProperties, b4 as GEOJSON_FEATURE_TYPES, a$ as IMDFUnitCategory, b1 as IMDF_FEATURE_TYPES, b2 as IMDF_UNIT_CATEGORIES, I as Id, c as ImdfFeature, a_ as InternalFilterByType, aZ as InternalFindById, n as KioskFeature, aB as KioskFeaturePopulated, K as KioskGeometry, m as KioskProperties, aj as LabelFeature, ah as LabelGeometry, ai as LabelProperties, p as LevelFeature, aC as LevelFeaturePopulated, L as LevelGeometry, o as LevelProperties, a as Media, M as MediaFile, b as Model3d, au as Model3dFeature, as as Model3dGeometry, aP as Model3dPopulated, at as Model3dProperties, b3 as NONIMDF_FEATURE_TYPES, aU as NavigateClient, r as OccupantFeature, aD as OccupantFeaturePopulated, O as OccupantGeometry, b7 as OccupantHelpers, q as OccupantProperties, u as OpeningFeature, aE as OpeningFeaturePopulated, s as OpeningGeometry, t as OpeningProperties, x as OpeningTypeAndId, ar as Page, ax as PolygonalFeature, aR as PopulatableFeatureType, aX as PopulatedParams, ag as PrivilegeFeature, ae as PrivilegeGeometry, af as PrivilegeProperties, ad as PromotionFeature, ac as PromotionProperties, N as RampRelationshipFeature, aI as RampRelationshipFeaturePopulated, J as RampRelationshipProperties, v as RelationshipCategories, w as RelationshipDirectionTypes, z as RelationshipFeature, aF as RelationshipFeaturePopulated, y as RelationshipGeometry, aT as SearchClient, $ as SectionFeature, aL as SectionFeaturePopulated, Z as SectionGeometry, _ as SectionProperties, S as SingleGeometry, aq as SponsoredContentFeature, an as SponsoredContentLegacyType, ao as SponsoredContentPlacementType, ap as SponsoredContentStrapiV4ApiResponse, aK as StairRelationshipFeaturePopulated, Q as StairsRelationshipFeature, P as StairsRelationshipProperties, a8 as TaxonomyFeature, aO as TaxonomyFeaturePopulated, a6 as TaxonomyGeometry, a7 as TaxonomyProperties, T as TransalatableString, E as TraversalRelationshipFeature, aG as TraversalRelationshipFeaturePopulated, C as TraversalRelationshipProperties, a2 as UnitFeature, aM as UnitFeaturePopulated, a0 as UnitGeometry, a1 as UnitProperties, U as UnitTypeAndId, aS as VenueClientOptions, a5 as VenueFeature, aN as VenueFeaturePopulated, a3 as VenueGeometry, a4 as VenueProperties, b6 as defaultFeatureQueryOptionsMap, bj as fetchDeliveryApi, bk as fetchPreviewApi, bi as getDataClient, bn as getNavigateClient, bm as getSearchClient, b8 as isValidCoordinate, be as isValidLineString, bb as isValidLineStringCoordinates, bc as isValidMultiPolygon, ba as isValidMultiPolygonCoordinates, bf as isValidPoint, bd as isValidPolygon, b9 as isValidPolygonCoordinates, bg as matchFilter, bh as matchFilters, bl as safeFetchFeature } from './index-X4qpYAhF.mjs';
|
|
4
4
|
import * as maptalks_dist_core_Class from 'maptalks/dist/core/Class';
|
|
5
5
|
import * as maptalks$1 from 'maptalks-gl';
|
|
6
6
|
import { Map, Coordinate as Coordinate$1 } from 'maptalks-gl';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { QueryObserver } from '@tanstack/query-core';
|
|
2
|
-
import { V as VenueDataClient, R as Route } from './index-
|
|
3
|
-
export { b5 as ALL_FEATURE_TYPES, h as AmenityFeature, ay as AmenityFeaturePopulated, f as AmenityGeometry, g as AmenityProperties, e as AnchorFeature, az as AnchorFeaturePopulated, A as AnchorGeometry, d as AnchorProperties, Y as AnyRelationshipFeature, B as BaseRelationshipProperties, b0 as DEFAULT_BASE_URL, j as DetailFeature, D as DetailGeometry, i as DetailProperties, am as ElementFeature, ak as ElementGeometry, al as ElementProperties, H as ElevatorRelationshipFeature, aJ as ElevatorRelationshipFeaturePopulated, G as ElevatorRelationshipProperties, X as EscalatorRelationshipFeature, aH as EscalatorRelationshipFeaturePopulated, W as EscalatorRelationshipProperties, ab as EventFeature, a9 as EventGeometry, aa as EventProperties, aQ as FeaturePopulatedResponseMap, aY as FeatureQueryOptions, av as FeatureResponseMap, aw as FeatureType, aW as FilterParams, aV as FindParams, l as FixtureFeature, aA as FixtureFeaturePopulated, F as FixtureGeometry, k as FixtureProperties, b4 as GEOJSON_FEATURE_TYPES, a$ as IMDFUnitCategory, b1 as IMDF_FEATURE_TYPES, b2 as IMDF_UNIT_CATEGORIES, I as Id, c as ImdfFeature, a_ as InternalFilterByType, aZ as InternalFindById, n as KioskFeature, aB as KioskFeaturePopulated, K as KioskGeometry, m as KioskProperties, aj as LabelFeature, ah as LabelGeometry, ai as LabelProperties, p as LevelFeature, aC as LevelFeaturePopulated, L as LevelGeometry, o as LevelProperties, a as Media, M as MediaFile, b as Model3d, au as Model3dFeature, as as Model3dGeometry, aP as Model3dPopulated, at as Model3dProperties, b3 as NONIMDF_FEATURE_TYPES, aU as NavigateClient, r as OccupantFeature, aD as OccupantFeaturePopulated, O as OccupantGeometry,
|
|
2
|
+
import { V as VenueDataClient, R as Route } from './index-X4qpYAhF.js';
|
|
3
|
+
export { b5 as ALL_FEATURE_TYPES, h as AmenityFeature, ay as AmenityFeaturePopulated, f as AmenityGeometry, g as AmenityProperties, e as AnchorFeature, az as AnchorFeaturePopulated, A as AnchorGeometry, d as AnchorProperties, Y as AnyRelationshipFeature, B as BaseRelationshipProperties, b0 as DEFAULT_BASE_URL, j as DetailFeature, D as DetailGeometry, i as DetailProperties, am as ElementFeature, ak as ElementGeometry, al as ElementProperties, H as ElevatorRelationshipFeature, aJ as ElevatorRelationshipFeaturePopulated, G as ElevatorRelationshipProperties, X as EscalatorRelationshipFeature, aH as EscalatorRelationshipFeaturePopulated, W as EscalatorRelationshipProperties, ab as EventFeature, a9 as EventGeometry, aa as EventProperties, aQ as FeaturePopulatedResponseMap, aY as FeatureQueryOptions, av as FeatureResponseMap, aw as FeatureType, aW as FilterParams, aV as FindParams, l as FixtureFeature, aA as FixtureFeaturePopulated, F as FixtureGeometry, k as FixtureProperties, b4 as GEOJSON_FEATURE_TYPES, a$ as IMDFUnitCategory, b1 as IMDF_FEATURE_TYPES, b2 as IMDF_UNIT_CATEGORIES, I as Id, c as ImdfFeature, a_ as InternalFilterByType, aZ as InternalFindById, n as KioskFeature, aB as KioskFeaturePopulated, K as KioskGeometry, m as KioskProperties, aj as LabelFeature, ah as LabelGeometry, ai as LabelProperties, p as LevelFeature, aC as LevelFeaturePopulated, L as LevelGeometry, o as LevelProperties, a as Media, M as MediaFile, b as Model3d, au as Model3dFeature, as as Model3dGeometry, aP as Model3dPopulated, at as Model3dProperties, b3 as NONIMDF_FEATURE_TYPES, aU as NavigateClient, r as OccupantFeature, aD as OccupantFeaturePopulated, O as OccupantGeometry, b7 as OccupantHelpers, q as OccupantProperties, u as OpeningFeature, aE as OpeningFeaturePopulated, s as OpeningGeometry, t as OpeningProperties, x as OpeningTypeAndId, ar as Page, ax as PolygonalFeature, aR as PopulatableFeatureType, aX as PopulatedParams, ag as PrivilegeFeature, ae as PrivilegeGeometry, af as PrivilegeProperties, ad as PromotionFeature, ac as PromotionProperties, N as RampRelationshipFeature, aI as RampRelationshipFeaturePopulated, J as RampRelationshipProperties, v as RelationshipCategories, w as RelationshipDirectionTypes, z as RelationshipFeature, aF as RelationshipFeaturePopulated, y as RelationshipGeometry, aT as SearchClient, $ as SectionFeature, aL as SectionFeaturePopulated, Z as SectionGeometry, _ as SectionProperties, S as SingleGeometry, aq as SponsoredContentFeature, an as SponsoredContentLegacyType, ao as SponsoredContentPlacementType, ap as SponsoredContentStrapiV4ApiResponse, aK as StairRelationshipFeaturePopulated, Q as StairsRelationshipFeature, P as StairsRelationshipProperties, a8 as TaxonomyFeature, aO as TaxonomyFeaturePopulated, a6 as TaxonomyGeometry, a7 as TaxonomyProperties, T as TransalatableString, E as TraversalRelationshipFeature, aG as TraversalRelationshipFeaturePopulated, C as TraversalRelationshipProperties, a2 as UnitFeature, aM as UnitFeaturePopulated, a0 as UnitGeometry, a1 as UnitProperties, U as UnitTypeAndId, aS as VenueClientOptions, a5 as VenueFeature, aN as VenueFeaturePopulated, a3 as VenueGeometry, a4 as VenueProperties, b6 as defaultFeatureQueryOptionsMap, bj as fetchDeliveryApi, bk as fetchPreviewApi, bi as getDataClient, bn as getNavigateClient, bm as getSearchClient, b8 as isValidCoordinate, be as isValidLineString, bb as isValidLineStringCoordinates, bc as isValidMultiPolygon, ba as isValidMultiPolygonCoordinates, bf as isValidPoint, bd as isValidPolygon, b9 as isValidPolygonCoordinates, bg as matchFilter, bh as matchFilters, bl as safeFetchFeature } from './index-X4qpYAhF.js';
|
|
4
4
|
import * as maptalks_dist_core_Class from 'maptalks/dist/core/Class';
|
|
5
5
|
import * as maptalks$1 from 'maptalks-gl';
|
|
6
6
|
import { Map, Coordinate as Coordinate$1 } from 'maptalks-gl';
|