@mapsindoors/map-template 1.99.32 → 1.99.33
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/{ChatWindow-DmWVS0R4.mjs → ChatWindow-DY_Fj44W.mjs} +1 -1
- package/dist/{GoogleMapsMap-DGQR9ef-.mjs → GoogleMapsMap-C4ykWsK0.mjs} +1 -1
- package/dist/{MapboxMap-BKmhDGL-.mjs → MapboxMap-BhymIAGx.mjs} +13968 -13567
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +231 -241
- package/dist/mapsindoors-webcomponent.es.js +33060 -32659
- package/dist/{reactcomponent-o73Oh5ju.mjs → reactcomponent-1Bzc-cFr.mjs} +5 -5
- package/package.json +2 -2
|
@@ -12135,7 +12135,7 @@ const o8 = ot(class extends it {
|
|
|
12135
12135
|
insertMapBoxScript() {
|
|
12136
12136
|
if (typeof mapboxgl > "u") return new Promise(((e) => {
|
|
12137
12137
|
const t = document.createElement("script");
|
|
12138
|
-
t.setAttribute("type", "text/javascript"), t.setAttribute("src", "https://api.mapbox.com/mapbox-gl-js/v3.
|
|
12138
|
+
t.setAttribute("type", "text/javascript"), t.setAttribute("src", "https://api.mapbox.com/mapbox-gl-js/v3.32.0/mapbox-gl.js"), document.body.appendChild(t), t.onload = () => e();
|
|
12139
12139
|
}));
|
|
12140
12140
|
}
|
|
12141
12141
|
initializeMapsIndoorsSDK() {
|
|
@@ -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.
|
|
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 }));
|
|
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-
|
|
18073
|
+
const nC = Ua(() => import("./MapboxMap-BhymIAGx.mjs")), iC = Ua(() => import("./GoogleMapsMap-C4ykWsK0.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-
|
|
29810
|
+
const vE = Ua(() => import("./ChatWindow-DY_Fj44W.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-
|
|
30014
|
+
const xE = Ua(() => import("./ChatWindow-DY_Fj44W.mjs"));
|
|
30015
30015
|
n5.propTypes = {
|
|
30016
30016
|
directionsFromLocation: q.string,
|
|
30017
30017
|
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.
|
|
4
|
+
"version": "1.99.33",
|
|
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.
|
|
29
|
+
"mapbox-gl": "^3.32.0",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
31
|
"qrcode": "^1.5.3",
|
|
32
32
|
"react": "^18.2.0",
|