venue-js 1.2.0-next.17 → 1.2.0-next.18

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/index.d.mts CHANGED
@@ -1121,11 +1121,6 @@ declare class IndoorMap extends EventTarget {
1121
1121
  render(): void;
1122
1122
  }
1123
1123
 
1124
- declare class PulsingMarker extends BaseObject {
1125
- constructor(coordinate: any, options: any, material: any, layer: any);
1126
- _animation(): void;
1127
- }
1128
-
1129
1124
  declare class Billboard extends BaseObject {
1130
1125
  constructor(coordinate: any, options: any, src: any, layer: any, properties: any);
1131
1126
  properties: any;
@@ -1286,4 +1281,4 @@ declare const VENUE_EVENTS: {
1286
1281
  VENUE_MOVEINTOVIEW: string;
1287
1282
  };
1288
1283
 
1289
- export { ALL_FEATURE_TYPES, type AmenityFeature, type AmenityFeaturePopulated, type AmenityGeometry, type AmenityProperties, type AnchorFeature, type AnchorFeaturePopulated, type AnchorGeometry, type AnchorProperties, BASE_LAYER_NAME, DEFAULT_BASE_URL, DEFAULT_LOCALE, DESTINATION_MARKER_ID, type DetailFeature, type DetailGeometry, type DetailProperties, type ElementFeature, type ElementGeometry, type ElementProperties, type EventFeature, type EventGeometry, type EventProperties, type FeaturePopulatedResponseMap, type FeatureQueryOptions, type FeatureResponseMap, type FeatureType, type FilterParams, type FindParams, type FixtureFeature, type FixtureFeaturePopulated, type FixtureGeometry, type FixtureProperties, GEOJSON_FEATURE_TYPES, HIGHLIGHT_LAYER_NAME, type IAllVenuesViewConfig, type IExtrudeConfig, type IGraphFeatureOptions, type IGraphOptions, type IHighlightOptions, IMDF_FEATURE_TYPES, type IMapAnimation, type IMapConfig, type IMapExtrudeConfig, type ISetHighlight2DElementIdsOptions, type IUnitDistanceModifier, type IVerticalGraphOptions, type Id, type ImdfFeature, IndoorMap, type IndoorMapOptions, type InternalFilterByType, type InternalFindById, type KioskFeature, type KioskFeaturePopulated, type KioskGeometry, type KioskProperties, LAST_USER_LOCATION_ELEMENT_ID_PREFIX, LAYERS, LAYER_FEATURE_TYPE_OBJ, LAYER_OPTIONS, LOCALE_SYMBOL_KEY, type LabelFeature, type LabelGeometry, type LabelProperties, type LevelFeature, type LevelFeaturePopulated, type LevelGeometry, type LevelProperties, MARKER_LAYER_NAME, type Media, type MediaFile, type Model3d, type Model3dFeature, type Model3dGeometry, type Model3dProperties, NONIMDF_FEATURE_TYPES, ORIGIN_MARKER_ID, type OccupantFeature, type OccupantFeaturePopulated, type OccupantGeometry, occupantHelper as OccupantHelpers, type OccupantProperties, type OpeningFeature, type OpeningFeaturePopulated, type OpeningGeometry, type OpeningProperties, POI_MARKER_LAYER_NAME, type Page, type PolygonalFeature, type PopulatableFeatureType, type PopulatedParams, type PrivilegeFeature, type PrivilegeGeometry, type PrivilegeProperties, type PromotionFeature, type PromotionProperties, PulsingMarker, type RelationshipFeature, type RelationshipGeometry, type RelationshipProperties, type SectionFeature, type SectionFeaturePopulated, type SectionGeometry, type SectionProperties, type SponsoredContentFeature, type SponsoredContentLegacyType, type SponsoredContentPlacementType, type SponsoredContentStrapiV4ApiResponse, type SymbolSet, type TaxonomyFeature, type TaxonomyFeaturePopulated, type TaxonomyGeometry, type TaxonomyProperties, type TextMarkerOptions, TextSpriteMarker, USER_LOCATION_ELEMENT_ID, USER_LOCATION_LAYER_NAME, type UnitFeature, type UnitFeaturePopulated, type UnitGeometry, type UnitProperties, VENUE_EVENTS, type VenueClientOptions, type VenueDataClient, type VenueFeature, type VenueFeaturePopulated, type VenueGeometry, type VenueProperties, createPolygonFromLineString, createSpriteMaterialByLabelSymbol, createStyledUIMarkerElement, defaultFeatureQueryOptionsMap, fetchDeliveryApi, fetchPreviewApi, getBearingBetweenPoints, getCenterFromGeometry, getDataClient, getExtrudeConfigByFeature, getFeatureByLocationId, getLocationByAmenity, getLocationByFeature, getLocationByOccupant, getLocationIdByFeature, getOrdinalByLocationId, getRelatedLocationIdsByFeature, getRelatedLocationsByAmenity, getRelatedLocationsByFeature, getRelatedLocationsByOccupant, getSuitablyValueBetweenBearings, isClickableFeature, isValidCoordinate, isValidLineString, isValidLineStringCoordinates, isValidMultiPolygon, isValidMultiPolygonCoordinates, isValidPoint, isValidPolygon, isValidPolygonCoordinates, matchFilter, matchFilters, safeFetchFeature, styledFeatureGenerator };
1284
+ export { ALL_FEATURE_TYPES, type AmenityFeature, type AmenityFeaturePopulated, type AmenityGeometry, type AmenityProperties, type AnchorFeature, type AnchorFeaturePopulated, type AnchorGeometry, type AnchorProperties, BASE_LAYER_NAME, DEFAULT_BASE_URL, DEFAULT_LOCALE, DESTINATION_MARKER_ID, type DetailFeature, type DetailGeometry, type DetailProperties, type ElementFeature, type ElementGeometry, type ElementProperties, type EventFeature, type EventGeometry, type EventProperties, type FeaturePopulatedResponseMap, type FeatureQueryOptions, type FeatureResponseMap, type FeatureType, type FilterParams, type FindParams, type FixtureFeature, type FixtureFeaturePopulated, type FixtureGeometry, type FixtureProperties, GEOJSON_FEATURE_TYPES, HIGHLIGHT_LAYER_NAME, type IAllVenuesViewConfig, type IExtrudeConfig, type IGraphFeatureOptions, type IGraphOptions, type IHighlightOptions, IMDF_FEATURE_TYPES, type IMapAnimation, type IMapConfig, type IMapExtrudeConfig, type ISetHighlight2DElementIdsOptions, type IUnitDistanceModifier, type IVerticalGraphOptions, type Id, type ImdfFeature, IndoorMap, type IndoorMapOptions, type InternalFilterByType, type InternalFindById, type KioskFeature, type KioskFeaturePopulated, type KioskGeometry, type KioskProperties, LAST_USER_LOCATION_ELEMENT_ID_PREFIX, LAYERS, LAYER_FEATURE_TYPE_OBJ, LAYER_OPTIONS, LOCALE_SYMBOL_KEY, type LabelFeature, type LabelGeometry, type LabelProperties, type LevelFeature, type LevelFeaturePopulated, type LevelGeometry, type LevelProperties, MARKER_LAYER_NAME, type Media, type MediaFile, type Model3d, type Model3dFeature, type Model3dGeometry, type Model3dProperties, NONIMDF_FEATURE_TYPES, ORIGIN_MARKER_ID, type OccupantFeature, type OccupantFeaturePopulated, type OccupantGeometry, occupantHelper as OccupantHelpers, type OccupantProperties, type OpeningFeature, type OpeningFeaturePopulated, type OpeningGeometry, type OpeningProperties, POI_MARKER_LAYER_NAME, type Page, type PolygonalFeature, type PopulatableFeatureType, type PopulatedParams, type PrivilegeFeature, type PrivilegeGeometry, type PrivilegeProperties, type PromotionFeature, type PromotionProperties, type RelationshipFeature, type RelationshipGeometry, type RelationshipProperties, type SectionFeature, type SectionFeaturePopulated, type SectionGeometry, type SectionProperties, type SponsoredContentFeature, type SponsoredContentLegacyType, type SponsoredContentPlacementType, type SponsoredContentStrapiV4ApiResponse, type SymbolSet, type TaxonomyFeature, type TaxonomyFeaturePopulated, type TaxonomyGeometry, type TaxonomyProperties, type TextMarkerOptions, TextSpriteMarker, USER_LOCATION_ELEMENT_ID, USER_LOCATION_LAYER_NAME, type UnitFeature, type UnitFeaturePopulated, type UnitGeometry, type UnitProperties, VENUE_EVENTS, type VenueClientOptions, type VenueDataClient, type VenueFeature, type VenueFeaturePopulated, type VenueGeometry, type VenueProperties, createPolygonFromLineString, createSpriteMaterialByLabelSymbol, createStyledUIMarkerElement, defaultFeatureQueryOptionsMap, fetchDeliveryApi, fetchPreviewApi, getBearingBetweenPoints, getCenterFromGeometry, getDataClient, getExtrudeConfigByFeature, getFeatureByLocationId, getLocationByAmenity, getLocationByFeature, getLocationByOccupant, getLocationIdByFeature, getOrdinalByLocationId, getRelatedLocationIdsByFeature, getRelatedLocationsByAmenity, getRelatedLocationsByFeature, getRelatedLocationsByOccupant, getSuitablyValueBetweenBearings, isClickableFeature, isValidCoordinate, isValidLineString, isValidLineStringCoordinates, isValidMultiPolygon, isValidMultiPolygonCoordinates, isValidPoint, isValidPolygon, isValidPolygonCoordinates, matchFilter, matchFilters, safeFetchFeature, styledFeatureGenerator };
package/dist/index.d.ts CHANGED
@@ -1121,11 +1121,6 @@ declare class IndoorMap extends EventTarget {
1121
1121
  render(): void;
1122
1122
  }
1123
1123
 
1124
- declare class PulsingMarker extends BaseObject {
1125
- constructor(coordinate: any, options: any, material: any, layer: any);
1126
- _animation(): void;
1127
- }
1128
-
1129
1124
  declare class Billboard extends BaseObject {
1130
1125
  constructor(coordinate: any, options: any, src: any, layer: any, properties: any);
1131
1126
  properties: any;
@@ -1286,4 +1281,4 @@ declare const VENUE_EVENTS: {
1286
1281
  VENUE_MOVEINTOVIEW: string;
1287
1282
  };
1288
1283
 
1289
- export { ALL_FEATURE_TYPES, type AmenityFeature, type AmenityFeaturePopulated, type AmenityGeometry, type AmenityProperties, type AnchorFeature, type AnchorFeaturePopulated, type AnchorGeometry, type AnchorProperties, BASE_LAYER_NAME, DEFAULT_BASE_URL, DEFAULT_LOCALE, DESTINATION_MARKER_ID, type DetailFeature, type DetailGeometry, type DetailProperties, type ElementFeature, type ElementGeometry, type ElementProperties, type EventFeature, type EventGeometry, type EventProperties, type FeaturePopulatedResponseMap, type FeatureQueryOptions, type FeatureResponseMap, type FeatureType, type FilterParams, type FindParams, type FixtureFeature, type FixtureFeaturePopulated, type FixtureGeometry, type FixtureProperties, GEOJSON_FEATURE_TYPES, HIGHLIGHT_LAYER_NAME, type IAllVenuesViewConfig, type IExtrudeConfig, type IGraphFeatureOptions, type IGraphOptions, type IHighlightOptions, IMDF_FEATURE_TYPES, type IMapAnimation, type IMapConfig, type IMapExtrudeConfig, type ISetHighlight2DElementIdsOptions, type IUnitDistanceModifier, type IVerticalGraphOptions, type Id, type ImdfFeature, IndoorMap, type IndoorMapOptions, type InternalFilterByType, type InternalFindById, type KioskFeature, type KioskFeaturePopulated, type KioskGeometry, type KioskProperties, LAST_USER_LOCATION_ELEMENT_ID_PREFIX, LAYERS, LAYER_FEATURE_TYPE_OBJ, LAYER_OPTIONS, LOCALE_SYMBOL_KEY, type LabelFeature, type LabelGeometry, type LabelProperties, type LevelFeature, type LevelFeaturePopulated, type LevelGeometry, type LevelProperties, MARKER_LAYER_NAME, type Media, type MediaFile, type Model3d, type Model3dFeature, type Model3dGeometry, type Model3dProperties, NONIMDF_FEATURE_TYPES, ORIGIN_MARKER_ID, type OccupantFeature, type OccupantFeaturePopulated, type OccupantGeometry, occupantHelper as OccupantHelpers, type OccupantProperties, type OpeningFeature, type OpeningFeaturePopulated, type OpeningGeometry, type OpeningProperties, POI_MARKER_LAYER_NAME, type Page, type PolygonalFeature, type PopulatableFeatureType, type PopulatedParams, type PrivilegeFeature, type PrivilegeGeometry, type PrivilegeProperties, type PromotionFeature, type PromotionProperties, PulsingMarker, type RelationshipFeature, type RelationshipGeometry, type RelationshipProperties, type SectionFeature, type SectionFeaturePopulated, type SectionGeometry, type SectionProperties, type SponsoredContentFeature, type SponsoredContentLegacyType, type SponsoredContentPlacementType, type SponsoredContentStrapiV4ApiResponse, type SymbolSet, type TaxonomyFeature, type TaxonomyFeaturePopulated, type TaxonomyGeometry, type TaxonomyProperties, type TextMarkerOptions, TextSpriteMarker, USER_LOCATION_ELEMENT_ID, USER_LOCATION_LAYER_NAME, type UnitFeature, type UnitFeaturePopulated, type UnitGeometry, type UnitProperties, VENUE_EVENTS, type VenueClientOptions, type VenueDataClient, type VenueFeature, type VenueFeaturePopulated, type VenueGeometry, type VenueProperties, createPolygonFromLineString, createSpriteMaterialByLabelSymbol, createStyledUIMarkerElement, defaultFeatureQueryOptionsMap, fetchDeliveryApi, fetchPreviewApi, getBearingBetweenPoints, getCenterFromGeometry, getDataClient, getExtrudeConfigByFeature, getFeatureByLocationId, getLocationByAmenity, getLocationByFeature, getLocationByOccupant, getLocationIdByFeature, getOrdinalByLocationId, getRelatedLocationIdsByFeature, getRelatedLocationsByAmenity, getRelatedLocationsByFeature, getRelatedLocationsByOccupant, getSuitablyValueBetweenBearings, isClickableFeature, isValidCoordinate, isValidLineString, isValidLineStringCoordinates, isValidMultiPolygon, isValidMultiPolygonCoordinates, isValidPoint, isValidPolygon, isValidPolygonCoordinates, matchFilter, matchFilters, safeFetchFeature, styledFeatureGenerator };
1284
+ export { ALL_FEATURE_TYPES, type AmenityFeature, type AmenityFeaturePopulated, type AmenityGeometry, type AmenityProperties, type AnchorFeature, type AnchorFeaturePopulated, type AnchorGeometry, type AnchorProperties, BASE_LAYER_NAME, DEFAULT_BASE_URL, DEFAULT_LOCALE, DESTINATION_MARKER_ID, type DetailFeature, type DetailGeometry, type DetailProperties, type ElementFeature, type ElementGeometry, type ElementProperties, type EventFeature, type EventGeometry, type EventProperties, type FeaturePopulatedResponseMap, type FeatureQueryOptions, type FeatureResponseMap, type FeatureType, type FilterParams, type FindParams, type FixtureFeature, type FixtureFeaturePopulated, type FixtureGeometry, type FixtureProperties, GEOJSON_FEATURE_TYPES, HIGHLIGHT_LAYER_NAME, type IAllVenuesViewConfig, type IExtrudeConfig, type IGraphFeatureOptions, type IGraphOptions, type IHighlightOptions, IMDF_FEATURE_TYPES, type IMapAnimation, type IMapConfig, type IMapExtrudeConfig, type ISetHighlight2DElementIdsOptions, type IUnitDistanceModifier, type IVerticalGraphOptions, type Id, type ImdfFeature, IndoorMap, type IndoorMapOptions, type InternalFilterByType, type InternalFindById, type KioskFeature, type KioskFeaturePopulated, type KioskGeometry, type KioskProperties, LAST_USER_LOCATION_ELEMENT_ID_PREFIX, LAYERS, LAYER_FEATURE_TYPE_OBJ, LAYER_OPTIONS, LOCALE_SYMBOL_KEY, type LabelFeature, type LabelGeometry, type LabelProperties, type LevelFeature, type LevelFeaturePopulated, type LevelGeometry, type LevelProperties, MARKER_LAYER_NAME, type Media, type MediaFile, type Model3d, type Model3dFeature, type Model3dGeometry, type Model3dProperties, NONIMDF_FEATURE_TYPES, ORIGIN_MARKER_ID, type OccupantFeature, type OccupantFeaturePopulated, type OccupantGeometry, occupantHelper as OccupantHelpers, type OccupantProperties, type OpeningFeature, type OpeningFeaturePopulated, type OpeningGeometry, type OpeningProperties, POI_MARKER_LAYER_NAME, type Page, type PolygonalFeature, type PopulatableFeatureType, type PopulatedParams, type PrivilegeFeature, type PrivilegeGeometry, type PrivilegeProperties, type PromotionFeature, type PromotionProperties, type RelationshipFeature, type RelationshipGeometry, type RelationshipProperties, type SectionFeature, type SectionFeaturePopulated, type SectionGeometry, type SectionProperties, type SponsoredContentFeature, type SponsoredContentLegacyType, type SponsoredContentPlacementType, type SponsoredContentStrapiV4ApiResponse, type SymbolSet, type TaxonomyFeature, type TaxonomyFeaturePopulated, type TaxonomyGeometry, type TaxonomyProperties, type TextMarkerOptions, TextSpriteMarker, USER_LOCATION_ELEMENT_ID, USER_LOCATION_LAYER_NAME, type UnitFeature, type UnitFeaturePopulated, type UnitGeometry, type UnitProperties, VENUE_EVENTS, type VenueClientOptions, type VenueDataClient, type VenueFeature, type VenueFeaturePopulated, type VenueGeometry, type VenueProperties, createPolygonFromLineString, createSpriteMaterialByLabelSymbol, createStyledUIMarkerElement, defaultFeatureQueryOptionsMap, fetchDeliveryApi, fetchPreviewApi, getBearingBetweenPoints, getCenterFromGeometry, getDataClient, getExtrudeConfigByFeature, getFeatureByLocationId, getLocationByAmenity, getLocationByFeature, getLocationByOccupant, getLocationIdByFeature, getOrdinalByLocationId, getRelatedLocationIdsByFeature, getRelatedLocationsByAmenity, getRelatedLocationsByFeature, getRelatedLocationsByOccupant, getSuitablyValueBetweenBearings, isClickableFeature, isValidCoordinate, isValidLineString, isValidLineStringCoordinates, isValidMultiPolygon, isValidMultiPolygonCoordinates, isValidPoint, isValidPolygon, isValidPolygonCoordinates, matchFilter, matchFilters, safeFetchFeature, styledFeatureGenerator };
package/dist/index.js CHANGED
@@ -48,7 +48,6 @@ __export(index_exports, {
48
48
  ORIGIN_MARKER_ID: () => ORIGIN_MARKER_ID,
49
49
  OccupantHelpers: () => occupant_helper_exports,
50
50
  POI_MARKER_LAYER_NAME: () => POI_MARKER_LAYER_NAME,
51
- PulsingMarker: () => PulsingMarker,
52
51
  QueryObserver: () => import_query_core2.QueryObserver,
53
52
  TextSpriteMarker: () => TextSpriteMarker,
54
53
  USER_LOCATION_ELEMENT_ID: () => USER_LOCATION_ELEMENT_ID,
@@ -378,7 +377,7 @@ __export(occupant_helper_exports, {
378
377
  getOccupantMainLocation: () => getOccupantMainLocation,
379
378
  getOccupantMarkerLocations: () => getOccupantMarkerLocations
380
379
  });
381
- var import_compact = __toESM(require("lodash/compact"));
380
+ var import_lodash_es = require("lodash-es");
382
381
  var getOccupantMainLocation = (occupant) => {
383
382
  return occupant.properties.kiosk || occupant.properties.unit;
384
383
  };
@@ -387,7 +386,7 @@ var getOccupantCorrelatedLocations = (occupant) => {
387
386
  ...occupant.properties.units,
388
387
  ...occupant.properties.kiosks
389
388
  ];
390
- return (0, import_compact.default)(allCorrelatedLocations);
389
+ return (0, import_lodash_es.compact)(allCorrelatedLocations);
391
390
  };
392
391
  var getOccupantMarkerLocations = (occupant, options) => {
393
392
  const placementType = options?.type ? options.type : occupant.properties.show_name_on_all_units ? "ALL_LOCATIONS" : "ONCE_PER_LEVEL";
@@ -395,11 +394,11 @@ var getOccupantMarkerLocations = (occupant, options) => {
395
394
  const mainLocationLevel = mainLocation?.properties?.level_id;
396
395
  const allCorrelatedLocations = getOccupantCorrelatedLocations(occupant);
397
396
  if (placementType === "ALL_LOCATIONS") {
398
- return (0, import_compact.default)([mainLocation, ...allCorrelatedLocations]);
397
+ return (0, import_lodash_es.compact)([mainLocation, ...allCorrelatedLocations]);
399
398
  }
400
399
  const otherLevelLocations = allCorrelatedLocations.filter((f) => f.properties.level_id !== mainLocationLevel);
401
400
  const onePerLevelLocations = [...new Map(otherLevelLocations.map((loc) => [loc.properties.level_id, loc])).values()];
402
- return (0, import_compact.default)([mainLocation, ...onePerLevelLocations]);
401
+ return (0, import_lodash_es.compact)([mainLocation, ...onePerLevelLocations]);
403
402
  };
404
403
 
405
404
  // src/data/getDataClient.ts
@@ -2730,7 +2729,7 @@ var CameraManager = class {
2730
2729
  };
2731
2730
 
2732
2731
  // src/IndoorMap/renderer/RendererManager.ts
2733
- var import_lodash_es2 = require("lodash-es");
2732
+ var import_lodash_es3 = require("lodash-es");
2734
2733
  var import_center3 = require("@turf/center");
2735
2734
  var THREE3 = __toESM(require("three"));
2736
2735
 
@@ -2751,7 +2750,7 @@ var maptalks3 = __toESM(require("maptalks-gl"));
2751
2750
  var import_maptalks6 = require("maptalks.three");
2752
2751
  var import_three5 = require("three");
2753
2752
  var import_d3plus_shape = require("d3plus-shape");
2754
- var import_lodash_es = require("lodash-es");
2753
+ var import_lodash_es2 = require("lodash-es");
2755
2754
  var OPTIONS3 = {
2756
2755
  // Allowing click through and prevent interaction
2757
2756
  interactive: false,
@@ -2769,9 +2768,9 @@ var defaultFlatLabelOptions = {
2769
2768
  textBaseline: "middle",
2770
2769
  fillStyle: "#000"
2771
2770
  };
2772
- var defaultRectAngleToCalc = (0, import_lodash_es.range)(-90, 92, 2);
2771
+ var defaultRectAngleToCalc = (0, import_lodash_es2.range)(-90, 92, 2);
2773
2772
  var getMaterial = (text, flatLabelOptions) => {
2774
- const options = (0, import_lodash_es.merge)({}, defaultFlatLabelOptions, flatLabelOptions);
2773
+ const options = (0, import_lodash_es2.merge)({}, defaultFlatLabelOptions, flatLabelOptions);
2775
2774
  const {
2776
2775
  fontSize: initialFontSize,
2777
2776
  fontFamily,
@@ -2824,12 +2823,12 @@ var getMaterial = (text, flatLabelOptions) => {
2824
2823
  const maxWidth = SIZE - 2 * margin;
2825
2824
  texts = wrapText(ctx, text, maxWidth);
2826
2825
  }
2827
- let textWidth = (0, import_lodash_es.max)(texts.map((text2) => ctx.measureText(text2).width));
2826
+ let textWidth = (0, import_lodash_es2.max)(texts.map((text2) => ctx.measureText(text2).width));
2828
2827
  let scale3 = 1;
2829
2828
  while (scale3 > 0 && textWidth + 2 * margin > SIZE) {
2830
2829
  scale3 -= scaleStep;
2831
2830
  ctx.font = `${fontWeight} ${scale3 * fontSize}px "${fontFamily}", Arial`;
2832
- textWidth = (0, import_lodash_es.max)(texts.map((text2) => ctx.measureText(text2).width));
2831
+ textWidth = (0, import_lodash_es2.max)(texts.map((text2) => ctx.measureText(text2).width));
2833
2832
  }
2834
2833
  const center2 = { x: 0.5 * SIZE, y: 0.5 * SIZE };
2835
2834
  if (scale3 > scaleMin) {
@@ -2897,7 +2896,7 @@ var GroundLabel = class extends import_maptalks6.BaseObject {
2897
2896
  strokeStyle,
2898
2897
  lineWidth
2899
2898
  });
2900
- const rectAngles = (0, import_lodash_es.isArray)(angle) ? angle : [angle];
2899
+ const rectAngles = (0, import_lodash_es2.isArray)(angle) ? angle : [angle];
2901
2900
  material.needsUpdate = true;
2902
2901
  const rect = (0, import_d3plus_shape.largestRect)(bound, {
2903
2902
  cache: true,
@@ -2970,32 +2969,32 @@ var GroundLabel = class extends import_maptalks6.BaseObject {
2970
2969
  return { x: this.#offsetX, y: this.#offsetY };
2971
2970
  }
2972
2971
  set offsetX(value) {
2973
- if ((0, import_lodash_es.isNumber)(value)) {
2972
+ if ((0, import_lodash_es2.isNumber)(value)) {
2974
2973
  this.#offsetX = value;
2975
2974
  this.#updatePosition();
2976
2975
  }
2977
2976
  }
2978
2977
  set offsetY(value) {
2979
- if ((0, import_lodash_es.isNumber)(value)) {
2978
+ if ((0, import_lodash_es2.isNumber)(value)) {
2980
2979
  this.#offsetY = value;
2981
2980
  this.#updatePosition();
2982
2981
  }
2983
2982
  }
2984
2983
  set angle(newAngle) {
2985
- if ((0, import_lodash_es.isNumber)(newAngle)) {
2984
+ if ((0, import_lodash_es2.isNumber)(newAngle)) {
2986
2985
  this.#angle = newAngle;
2987
2986
  this.getObject3d().rotation.z = Math.PI / 180 * this.#angle;
2988
2987
  }
2989
2988
  }
2990
2989
  setOffset(offsetX, offsetY) {
2991
- if ((0, import_lodash_es.isNumber)(offsetX) && (0, import_lodash_es.isNumber)(offsetY)) {
2990
+ if ((0, import_lodash_es2.isNumber)(offsetX) && (0, import_lodash_es2.isNumber)(offsetY)) {
2992
2991
  this.#offsetX = offsetX;
2993
2992
  this.#offsetY = offsetY;
2994
2993
  this.#updatePosition();
2995
2994
  }
2996
2995
  }
2997
2996
  addOffset(deltaX, deltaY) {
2998
- if ((0, import_lodash_es.isNumber)(deltaX) && (0, import_lodash_es.isNumber)(deltaY)) {
2997
+ if ((0, import_lodash_es2.isNumber)(deltaX) && (0, import_lodash_es2.isNumber)(deltaY)) {
2999
2998
  this.#offsetX += deltaX;
3000
2999
  this.#offsetY += deltaY;
3001
3000
  this.#updatePosition();
@@ -4421,7 +4420,7 @@ var RendererManager = class extends EventTarget {
4421
4420
  if (this.#isClicked) return;
4422
4421
  this.#isClicked = true;
4423
4422
  const onClickElement = this.#onClickElement;
4424
- if (!(0, import_lodash_es2.isFunction)(onClickElement)) return;
4423
+ if (!(0, import_lodash_es3.isFunction)(onClickElement)) return;
4425
4424
  this.#onClickElement(e);
4426
4425
  this.#isClicked = false;
4427
4426
  };
@@ -4474,7 +4473,7 @@ var RendererManager = class extends EventTarget {
4474
4473
  });
4475
4474
  units.filter((u4) => u4.properties.category === "room").forEach((unit) => {
4476
4475
  const openingRelationships = relationships.filter((r) => r.properties.origin?.id === unit.id || r.properties.destination?.id === unit.id);
4477
- const roomOpenings = (0, import_lodash_es2.compact)(openingRelationships.map((rel) => {
4476
+ const roomOpenings = (0, import_lodash_es3.compact)(openingRelationships.map((rel) => {
4478
4477
  const openingId = rel?.properties.intermediary[0].id;
4479
4478
  return openings.find((o) => o.id === openingId);
4480
4479
  }));
@@ -4560,7 +4559,7 @@ var RendererManager = class extends EventTarget {
4560
4559
  this.markerRenderer.showMarkers(markers, ordinal - baseOrdinal);
4561
4560
  }
4562
4561
  } else {
4563
- const baseOrdinal = Array.isArray(targetOrdinal) ? (0, import_lodash_es2.min)(targetOrdinal) : targetOrdinal;
4562
+ const baseOrdinal = Array.isArray(targetOrdinal) ? (0, import_lodash_es3.min)(targetOrdinal) : targetOrdinal;
4564
4563
  for (const [ordinal, elements] of this.elementsByOrdinal) {
4565
4564
  const inOrdinal = Array.isArray(targetOrdinal) ? targetOrdinal.includes(ordinal) : ordinal === targetOrdinal;
4566
4565
  if (inOrdinal) {
@@ -4587,7 +4586,7 @@ var RendererManager = class extends EventTarget {
4587
4586
  const elements = elemIds.map((id) => this.elementsMap.get(id)).flat();
4588
4587
  elements.forEach((element) => {
4589
4588
  const controller = this.elementRenderer.createHighlightController(element);
4590
- if (controller && (0, import_lodash_es2.isFunction)(controller.start)) {
4589
+ if (controller && (0, import_lodash_es3.isFunction)(controller.start)) {
4591
4590
  controller.start();
4592
4591
  this.highlightControllers.push(controller);
4593
4592
  }
@@ -4595,7 +4594,7 @@ var RendererManager = class extends EventTarget {
4595
4594
  };
4596
4595
  clearHighlightElements = () => {
4597
4596
  this.highlightControllers.forEach((controller) => {
4598
- if ((0, import_lodash_es2.isFunction)(controller?.clear)) controller.clear();
4597
+ if ((0, import_lodash_es3.isFunction)(controller?.clear)) controller.clear();
4599
4598
  });
4600
4599
  };
4601
4600
  /**
@@ -5399,36 +5398,6 @@ var IndoorMap = class extends EventTarget {
5399
5398
  requestAnimationFrame(this.render.bind(this));
5400
5399
  }
5401
5400
  };
5402
-
5403
- // src/IndoorMap/renderer/3d/objects/PulsingMarker.ts
5404
- var maptalks8 = __toESM(require("maptalks-gl"));
5405
- var import_maptalks11 = require("maptalks.three");
5406
- var THREE4 = __toESM(require("three"));
5407
- var OPTIONS5 = {
5408
- radius: 100,
5409
- altitude: 0
5410
- };
5411
- var PulsingMarker = class extends import_maptalks11.BaseObject {
5412
- constructor(coordinate, options, material, layer) {
5413
- options = maptalks8.Util.extend({}, OPTIONS5, options, { layer, coordinate });
5414
- super();
5415
- this._initOptions(options);
5416
- const { altitude, radius } = options;
5417
- const r = layer.distanceToVector3(radius, radius).x;
5418
- const geometry = new THREE4.CircleGeometry(r, 50);
5419
- this._createMesh(geometry, material);
5420
- const z = layer.altitudeToVector3(altitude, altitude).x;
5421
- const position = layer.coordinateToVector3(coordinate, z);
5422
- this.getObject3d().position.copy(position);
5423
- this._scale = 1;
5424
- }
5425
- // test animation
5426
- _animation() {
5427
- this._scale = this._scale > 1 ? 0 : this._scale;
5428
- this._scale += 0.02;
5429
- this.getObject3d().scale.set(this._scale, this._scale, this._scale);
5430
- }
5431
- };
5432
5401
  // Annotate the CommonJS export names for ESM import in node:
5433
5402
  0 && (module.exports = {
5434
5403
  ALL_FEATURE_TYPES,
@@ -5450,7 +5419,6 @@ var PulsingMarker = class extends import_maptalks11.BaseObject {
5450
5419
  ORIGIN_MARKER_ID,
5451
5420
  OccupantHelpers,
5452
5421
  POI_MARKER_LAYER_NAME,
5453
- PulsingMarker,
5454
5422
  QueryObserver,
5455
5423
  TextSpriteMarker,
5456
5424
  USER_LOCATION_ELEMENT_ID,