@mapsindoors/map-template 1.99.33 → 1.99.34

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.
@@ -17715,7 +17715,7 @@ const Tee = vo(class extends _o {
17715
17715
  return new Promise(((t) => {
17716
17716
  this.mapViewInstance = new mapsindoors.mapView.MapboxV3View({ accessToken: this.accessToken, element: this.mapElement, zoom: this.zoom, maxZoom: this.maxZoom, maxPitch: this.maxPitch, minZoom: this.minZoom, bearing: this.bearing, pitch: this.pitch, showMapMarkers: this.showMapMarkers }), this.mapboxInstance = this.mapViewInstance.getMap(), this.mapboxInstance.on("style.load", (() => {
17717
17717
  this.applyBasemapConfig();
17718
- })), typeof this.mapboxInstance.isStyleLoaded == "function" && this.mapboxInstance.isStyleLoaded() && this.applyBasemapConfig(), this.mapsIndoorsInstance = new mapsindoors.MapsIndoors({ mapView: this.mapViewInstance, labelOptions: { pixelOffset: { width: 0, height: 14 }, style: { fontSize: "11px" } } });
17718
+ })), typeof this.mapboxInstance.isStyleLoaded == "function" && this.mapboxInstance.isStyleLoaded() && this.applyBasemapConfig(), this.mapsIndoorsInstance = new mapsindoors.MapsIndoors({ mapView: this.mapViewInstance });
17719
17719
  const i = new mapboxgl.NavigationControl();
17720
17720
  this.mapboxInstance.addControl(i, "top-left"), this.mapsIndoorsInstance.on("ready", (async () => {
17721
17721
  this.floorIndex !== void 0 ? this.mapsIndoorsInstance.setFloor(this.floorIndex) : this.floorIndex = this.mapsIndoorsInstance.getFloor(), this.initializeDirectionsService(), this.initializeDirectionsRenderer(), this.applyBasemapConfig(), this.mapsIndoorsReady.emit(), t();
@@ -17772,7 +17772,7 @@ const Tee = vo(class extends _o {
17772
17772
  t === 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 Cee(this.mapboxInstance, this.mapsIndoorsInstance), this.mapboxInstance.addControl(this.myPositionControl, this.myPositionControlPosition));
17773
17773
  }
17774
17774
  render() {
17775
- return It(vl, { key: "9fe58b3a15bf98eaf11aafa5d974f299b70b8376" }, It("link", { key: "517d7a8651ed1c9265938e201dc6b2ee8490ed41", href: "https://api.mapbox.com/mapbox-gl-js/v3.32.0/mapbox-gl.css", rel: "stylesheet" }), It("div", { key: "1b16375ca8276929a2c71fad254815edc9e69b9e", ref: (t) => this.mapElement = t }));
17775
+ return It(vl, { key: "ef8468717fb15c241cb60ae55eafab9b85fa907d" }, It("link", { key: "b0da9578951d1bef648651b61cd708ef3aa1f8f6", href: "https://api.mapbox.com/mapbox-gl-js/v3.32.0/mapbox-gl.css", rel: "stylesheet" }), It("div", { key: "374afed725c4e18d583aab0f2b1c585245ec33f6", ref: (t) => this.mapElement = t }));
17776
17776
  }
17777
17777
  static get watchers() {
17778
17778
  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 }] };
@@ -37486,7 +37486,7 @@ function nB({ apiKey: t, gmApiKey: i, mapboxAccessToken: r, venue: c, locationId
37486
37486
  if (window.mapsindoors !== void 0)
37487
37487
  return Ci();
37488
37488
  const Xr = document.createElement("script");
37489
- Xr.setAttribute("type", "text/javascript"), Xr.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.61.3/mapsindoors-4.61.3.js.gz"), Xr.setAttribute("integrity", "sha384-IOC2r/sTlBM5K5IEcXDtmvdbbTVEWhp8f6s7kj6Wx3onbQVR1gobYjqYszEs6Q4+"), Xr.setAttribute("crossorigin", "anonymous"), document.body.appendChild(Xr), Xr.onload = () => {
37489
+ Xr.setAttribute("type", "text/javascript"), Xr.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.62.0/mapsindoors-4.62.0.js.gz"), Xr.setAttribute("integrity", "sha384-VlYZ4tZb5vE0YL9sDnMExqD1eM/DT9r6FK5kB8IyU5Bi5EeHw+KMuEmbjMEWyr3c"), Xr.setAttribute("crossorigin", "anonymous"), document.body.appendChild(Xr), Xr.onload = () => {
37490
37490
  Ci();
37491
37491
  };
37492
37492
  });
@@ -37979,7 +37979,7 @@ function Hue(t, i = {}) {
37979
37979
  return Fue(t, i, { mount: Bue, update: Uue, unmount: Vue });
37980
37980
  }
37981
37981
  function Que() {
37982
- return "1.99.32";
37982
+ return "1.99.33";
37983
37983
  }
37984
37984
  const Gue = Hue(iB, {
37985
37985
  props: {
@@ -12149,7 +12149,7 @@ const o8 = ot(class extends it {
12149
12149
  return new Promise(((e) => {
12150
12150
  this.mapViewInstance = new mapsindoors.mapView.MapboxV3View({ accessToken: this.accessToken, element: this.mapElement, zoom: this.zoom, maxZoom: this.maxZoom, maxPitch: this.maxPitch, minZoom: this.minZoom, bearing: this.bearing, pitch: this.pitch, showMapMarkers: this.showMapMarkers }), this.mapboxInstance = this.mapViewInstance.getMap(), this.mapboxInstance.on("style.load", (() => {
12151
12151
  this.applyBasemapConfig();
12152
- })), typeof this.mapboxInstance.isStyleLoaded == "function" && this.mapboxInstance.isStyleLoaded() && this.applyBasemapConfig(), this.mapsIndoorsInstance = new mapsindoors.MapsIndoors({ mapView: this.mapViewInstance, labelOptions: { pixelOffset: { width: 0, height: 14 }, style: { fontSize: "11px" } } });
12152
+ })), typeof this.mapboxInstance.isStyleLoaded == "function" && this.mapboxInstance.isStyleLoaded() && this.applyBasemapConfig(), this.mapsIndoorsInstance = new mapsindoors.MapsIndoors({ mapView: this.mapViewInstance });
12153
12153
  const t = new mapboxgl.NavigationControl();
12154
12154
  this.mapboxInstance.addControl(t, "top-left"), this.mapsIndoorsInstance.on("ready", (async () => {
12155
12155
  this.floorIndex !== void 0 ? this.mapsIndoorsInstance.setFloor(this.floorIndex) : this.floorIndex = this.mapsIndoorsInstance.getFloor(), this.initializeDirectionsService(), this.initializeDirectionsRenderer(), this.applyBasemapConfig(), this.mapsIndoorsReady.emit(), e();
@@ -12206,7 +12206,7 @@ const o8 = ot(class extends it {
12206
12206
  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 i8(this.mapboxInstance, this.mapsIndoorsInstance), this.mapboxInstance.addControl(this.myPositionControl, this.myPositionControlPosition));
12207
12207
  }
12208
12208
  render() {
12209
- return G(_t, { key: "9fe58b3a15bf98eaf11aafa5d974f299b70b8376" }, G("link", { key: "517d7a8651ed1c9265938e201dc6b2ee8490ed41", href: "https://api.mapbox.com/mapbox-gl-js/v3.32.0/mapbox-gl.css", rel: "stylesheet" }), G("div", { key: "1b16375ca8276929a2c71fad254815edc9e69b9e", ref: (e) => this.mapElement = e }));
12209
+ return G(_t, { key: "ef8468717fb15c241cb60ae55eafab9b85fa907d" }, G("link", { key: "b0da9578951d1bef648651b61cd708ef3aa1f8f6", href: "https://api.mapbox.com/mapbox-gl-js/v3.32.0/mapbox-gl.css", rel: "stylesheet" }), G("div", { key: "374afed725c4e18d583aab0f2b1c585245ec33f6", ref: (e) => this.mapElement = e }));
12210
12210
  }
12211
12211
  static get watchers() {
12212
12212
  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 }] };
@@ -18070,7 +18070,7 @@ function fr({ titleKey: e, variant: t, onClose: n }) {
18070
18070
  ] })
18071
18071
  ] }) });
18072
18072
  }
18073
- const nC = Ua(() => import("./MapboxMap-BhymIAGx.mjs")), iC = Ua(() => import("./GoogleMapsMap-C4ykWsK0.mjs"));
18073
+ const nC = Ua(() => import("./MapboxMap-D9Nmlgig.mjs")), iC = Ua(() => import("./GoogleMapsMap-CvntF-RB.mjs"));
18074
18074
  H3.propTypes = {
18075
18075
  apiKey: q.string.isRequired,
18076
18076
  mapType: q.string.isRequired,
@@ -29807,7 +29807,7 @@ function e5() {
29807
29807
  /* @__PURE__ */ O.jsx("span", { className: "chat-loading-fallback__sr-only", children: e("Loading chat") })
29808
29808
  ] });
29809
29809
  }
29810
- const vE = Ua(() => import("./ChatWindow-DY_Fj44W.mjs"));
29810
+ const vE = Ua(() => import("./ChatWindow-FF9xcbmY.mjs"));
29811
29811
  t5.propTypes = {
29812
29812
  directionsFromLocation: q.string,
29813
29813
  directionsToLocation: q.string,
@@ -30011,7 +30011,7 @@ function Di({ children: e, isOpen: t }) {
30011
30011
  }
30012
30012
  );
30013
30013
  }
30014
- const xE = Ua(() => import("./ChatWindow-DY_Fj44W.mjs"));
30014
+ const xE = Ua(() => import("./ChatWindow-FF9xcbmY.mjs"));
30015
30015
  n5.propTypes = {
30016
30016
  directionsFromLocation: q.string,
30017
30017
  directionsToLocation: q.string,
@@ -31920,7 +31920,7 @@ function l5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
31920
31920
  if (window.mapsindoors !== void 0)
31921
31921
  return ke();
31922
31922
  const Mt = document.createElement("script");
31923
- Mt.setAttribute("type", "text/javascript"), Mt.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.61.3/mapsindoors-4.61.3.js.gz"), Mt.setAttribute("integrity", "sha384-IOC2r/sTlBM5K5IEcXDtmvdbbTVEWhp8f6s7kj6Wx3onbQVR1gobYjqYszEs6Q4+"), Mt.setAttribute("crossorigin", "anonymous"), document.body.appendChild(Mt), Mt.onload = () => {
31923
+ Mt.setAttribute("type", "text/javascript"), Mt.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.62.0/mapsindoors-4.62.0.js.gz"), Mt.setAttribute("integrity", "sha384-VlYZ4tZb5vE0YL9sDnMExqD1eM/DT9r6FK5kB8IyU5Bi5EeHw+KMuEmbjMEWyr3c"), Mt.setAttribute("crossorigin", "anonymous"), document.body.appendChild(Mt), Mt.onload = () => {
31924
31924
  ke();
31925
31925
  };
31926
31926
  });
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.33",
4
+ "version": "1.99.34",
5
5
  "private": false,
6
6
  "files": [
7
7
  "dist/**"