@mapsindoors/map-template 1.99.37 → 1.99.38

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.
@@ -12168,7 +12168,7 @@ const x7 = at(class extends st {
12168
12168
  insertMapBoxScript() {
12169
12169
  if (typeof mapboxgl > "u") return new Promise(((e) => {
12170
12170
  const t = document.createElement("script");
12171
- t.setAttribute("type", "text/javascript"), t.setAttribute("src", "https://api.mapbox.com/mapbox-gl-js/v3.33.0/mapbox-gl.js"), document.body.appendChild(t), t.onload = () => e();
12171
+ t.setAttribute("type", "text/javascript"), t.setAttribute("src", "https://api.mapbox.com/mapbox-gl-js/v3.35.0/mapbox-gl.js"), document.body.appendChild(t), t.onload = () => e();
12172
12172
  }));
12173
12173
  }
12174
12174
  initializeMapsIndoorsSDK() {
@@ -12239,7 +12239,7 @@ const x7 = at(class extends st {
12239
12239
  e === null ? (this.mapboxInstance.removeControl(this.myPositionControl), this.myPositionControl = null) : this.myPositionControl ? (this.mapboxInstance.removeControl(this.myPositionControl), this.mapboxInstance.addControl(this.myPositionControl, this.myPositionControlPosition)) : (this.myPositionControl = new D7(this.mapboxInstance, this.mapsIndoorsInstance), this.mapboxInstance.addControl(this.myPositionControl, this.myPositionControlPosition));
12240
12240
  }
12241
12241
  render() {
12242
- return Z(Qt, { key: "f109a4f3c9ef290be08b522d2b0900d0d06abd91" }, Z("link", { key: "abda0fc19cad533974010461059dc4eee7776696", href: "https://api.mapbox.com/mapbox-gl-js/v3.33.0/mapbox-gl.css", rel: "stylesheet" }), Z("div", { key: "c0e172470dd7c27700731ad52a6a759ff6a2b6d1", ref: (e) => this.mapElement = e }));
12242
+ return Z(Qt, { key: "f109a4f3c9ef290be08b522d2b0900d0d06abd91" }, Z("link", { key: "abda0fc19cad533974010461059dc4eee7776696", href: "https://api.mapbox.com/mapbox-gl-js/v3.35.0/mapbox-gl.css", rel: "stylesheet" }), Z("div", { key: "c0e172470dd7c27700731ad52a6a759ff6a2b6d1", ref: (e) => this.mapElement = e }));
12243
12243
  }
12244
12244
  static get watchers() {
12245
12245
  return { miApiKey: [{ apiKeyChange: 0 }], disableExternalLinks: [{ setExternalLinkBehavior: 0 }], showMapMarkers: [{ showMapMarkersChange: 0 }], buildingsOpacity: [{ buildingsOpacityChange: 0 }], floorSelectorControlPosition: [{ floorSelectorControlPositionChange: 0 }], floorIndex: [{ floorIndexChange: 0 }], myPositionControlPosition: [{ myPositionControlPositionChange: 0 }], polylineOptions: [{ polylineOptionsChange: 0 }], zoom: [{ zoomChange: 0 }], maxPitch: [{ maxPitchChange: 0 }], maxZoom: [{ maxZoomChange: 0 }], bearing: [{ bearingChange: 0 }], pitch: [{ pitchChange: 0 }] };
@@ -18176,7 +18176,7 @@ function mr({ titleKey: e, variant: t, onClose: n }) {
18176
18176
  ] })
18177
18177
  ] }) });
18178
18178
  }
18179
- const DC = Ya(() => import("./MapboxMap-C9o_BcMG.mjs")), xC = Ya(() => import("./GoogleMapsMap-ctggUNs3.mjs"));
18179
+ const DC = Ya(() => import("./MapboxMap-R8Dgma7r.mjs")), xC = Ya(() => import("./GoogleMapsMap-DRLveped.mjs"));
18180
18180
  r4.propTypes = {
18181
18181
  apiKey: q.string.isRequired,
18182
18182
  mapType: q.string.isRequired,
@@ -29980,7 +29980,7 @@ function y5() {
29980
29980
  /* @__PURE__ */ R.jsx("span", { className: "chat-loading-fallback__sr-only", children: e("Loading chat") })
29981
29981
  ] });
29982
29982
  }
29983
- const YE = Ya(() => import("./ChatWindow-DrwiGMQG.mjs"));
29983
+ const YE = Ya(() => import("./ChatWindow-BGJI5SIl.mjs"));
29984
29984
  v5.propTypes = {
29985
29985
  directionsFromLocation: q.string,
29986
29986
  directionsToLocation: q.string,
@@ -30184,7 +30184,7 @@ function Ii({ children: e, isOpen: t }) {
30184
30184
  }
30185
30185
  );
30186
30186
  }
30187
- const GE = Ya(() => import("./ChatWindow-DrwiGMQG.mjs"));
30187
+ const GE = Ya(() => import("./ChatWindow-BGJI5SIl.mjs"));
30188
30188
  b5.propTypes = {
30189
30189
  directionsFromLocation: q.string,
30190
30190
  directionsToLocation: q.string,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mapsindoors/map-template",
3
3
  "description": "Get a MapsIndoors map up and running in less than 10 mins.",
4
- "version": "1.99.37",
4
+ "version": "1.99.38",
5
5
  "private": false,
6
6
  "files": [
7
7
  "dist/**"
@@ -26,7 +26,7 @@
26
26
  "identity-obj-proxy": "^3.0.0",
27
27
  "jest": "^29.7.0",
28
28
  "jest-environment-jsdom": "^29.7.0",
29
- "mapbox-gl": "^3.33.0",
29
+ "mapbox-gl": "^3.35.0",
30
30
  "prop-types": "^15.8.1",
31
31
  "qrcode": "^1.5.3",
32
32
  "react": "^18.2.0",