@mapsindoors/map-template 1.99.17 → 1.99.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/{ChatWindow-BX_tDBLt.mjs → ChatWindow-C0_UAsxZ.mjs} +1 -1
- package/dist/{GoogleMapsMap-BnsoWFzL.mjs → GoogleMapsMap-ByMaHsNK.mjs} +1 -1
- package/dist/MapboxMap-B0_dWOpR.mjs +39734 -0
- package/dist/mapsindoors-react.es.js +2 -2
- package/dist/mapsindoors-react.umd.js +990 -840
- package/dist/mapsindoors-webcomponent.es.js +57338 -55058
- package/dist/{reactcomponent-Bv1-qwtn.mjs → reactcomponent-DT1Zp91A.mjs} +6 -6
- package/package.json +2 -2
- package/dist/MapboxMap-CjMW0OVt.mjs +0 -37454
|
@@ -12130,7 +12130,7 @@ const X8 = it(class extends nt {
|
|
|
12130
12130
|
insertMapBoxScript() {
|
|
12131
12131
|
if (typeof mapboxgl > "u") return new Promise(((e) => {
|
|
12132
12132
|
const t = document.createElement("script");
|
|
12133
|
-
t.setAttribute("type", "text/javascript"), t.setAttribute("src", "https://api.mapbox.com/mapbox-gl-js/v3.
|
|
12133
|
+
t.setAttribute("type", "text/javascript"), t.setAttribute("src", "https://api.mapbox.com/mapbox-gl-js/v3.28.1/mapbox-gl.js"), document.body.appendChild(t), t.onload = () => e();
|
|
12134
12134
|
}));
|
|
12135
12135
|
}
|
|
12136
12136
|
initializeMapsIndoorsSDK() {
|
|
@@ -12183,7 +12183,7 @@ const X8 = it(class extends nt {
|
|
|
12183
12183
|
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 J8(this.mapboxInstance, this.mapsIndoorsInstance), this.mapboxInstance.addControl(this.myPositionControl, this.myPositionControlPosition));
|
|
12184
12184
|
}
|
|
12185
12185
|
render() {
|
|
12186
|
-
return Z(_t, { key: "c3e393b0f623d978c45773c3d07e75c0398c9bd6" }, Z("link", { key: "3b40575049047a099f4357254761d0f008e6f2b7", href: "https://api.mapbox.com/mapbox-gl-js/v3.
|
|
12186
|
+
return Z(_t, { key: "c3e393b0f623d978c45773c3d07e75c0398c9bd6" }, Z("link", { key: "3b40575049047a099f4357254761d0f008e6f2b7", href: "https://api.mapbox.com/mapbox-gl-js/v3.28.1/mapbox-gl.css", rel: "stylesheet" }), Z("div", { key: "7cc9a7c1fb70b8961cf92705a44041fb114758ca", ref: (e) => this.mapElement = e }));
|
|
12187
12187
|
}
|
|
12188
12188
|
static get watchers() {
|
|
12189
12189
|
return { miApiKey: [{ apiKeyChange: 0 }], disableExternalLinks: [{ setExternalLinkBehavior: 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 }] };
|
|
@@ -16892,7 +16892,7 @@ function pr({ titleKey: e, variant: t, onClose: n }) {
|
|
|
16892
16892
|
] })
|
|
16893
16893
|
] }) });
|
|
16894
16894
|
}
|
|
16895
|
-
const Hx = Ra(() => import("./MapboxMap-
|
|
16895
|
+
const Hx = Ra(() => import("./MapboxMap-B0_dWOpR.mjs")), Fx = Ra(() => import("./GoogleMapsMap-ByMaHsNK.mjs"));
|
|
16896
16896
|
V3.propTypes = {
|
|
16897
16897
|
apiKey: q.string.isRequired,
|
|
16898
16898
|
mapType: q.string.isRequired,
|
|
@@ -28475,7 +28475,7 @@ function Wy() {
|
|
|
28475
28475
|
/* @__PURE__ */ U.jsx("span", { className: "chat-loading-fallback__sr-only", children: e("Loading chat") })
|
|
28476
28476
|
] });
|
|
28477
28477
|
}
|
|
28478
|
-
const oL = Ra(() => import("./ChatWindow-
|
|
28478
|
+
const oL = Ra(() => import("./ChatWindow-C0_UAsxZ.mjs"));
|
|
28479
28479
|
Ky.propTypes = {
|
|
28480
28480
|
directionsFromLocation: q.string,
|
|
28481
28481
|
directionsToLocation: q.string,
|
|
@@ -28678,7 +28678,7 @@ function Di({ children: e, isOpen: t }) {
|
|
|
28678
28678
|
}
|
|
28679
28679
|
);
|
|
28680
28680
|
}
|
|
28681
|
-
const cL = Ra(() => import("./ChatWindow-
|
|
28681
|
+
const cL = Ra(() => import("./ChatWindow-C0_UAsxZ.mjs"));
|
|
28682
28682
|
qy.propTypes = {
|
|
28683
28683
|
directionsFromLocation: q.string,
|
|
28684
28684
|
directionsToLocation: q.string,
|
|
@@ -30587,7 +30587,7 @@ function i5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
30587
30587
|
if (window.mapsindoors !== void 0)
|
|
30588
30588
|
return ke();
|
|
30589
30589
|
const gt = document.createElement("script");
|
|
30590
|
-
gt.setAttribute("type", "text/javascript"), gt.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.59.
|
|
30590
|
+
gt.setAttribute("type", "text/javascript"), gt.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.59.1/mapsindoors-4.59.1.js.gz"), gt.setAttribute("integrity", "sha384-mW4B/nPOrd3xdgWKQL2JDcH5OiqAfTlcao/in1DzFWKB0+5hwMq3+VHmq60gJnDs"), gt.setAttribute("crossorigin", "anonymous"), document.body.appendChild(gt), gt.onload = () => {
|
|
30591
30591
|
ke();
|
|
30592
30592
|
};
|
|
30593
30593
|
});
|
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.18",
|
|
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.28.1",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
31
|
"qrcode": "^1.5.3",
|
|
32
32
|
"react": "^18.2.0",
|