@mapsindoors/map-template 1.99.27 → 1.99.28
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-Cu4o6k8q.mjs → ChatWindow-BnZPpSFd.mjs} +1 -1
- package/dist/{GoogleMapsMap-BjXJSi1u.mjs → GoogleMapsMap-D7lc5eAf.mjs} +1 -1
- package/dist/{MapboxMap-D4msNN0x.mjs → MapboxMap-Dx5VFcmv.mjs} +1 -1
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +2 -2
- package/dist/mapsindoors-webcomponent.es.js +4 -4
- package/dist/{reactcomponent-DjBcy-5i.mjs → reactcomponent-BMrLByme.mjs} +6 -6
- package/package.json +1 -1
|
@@ -17744,7 +17744,7 @@ const ZJ = yo(class extends mo {
|
|
|
17744
17744
|
}
|
|
17745
17745
|
applyBasemapConfig() {
|
|
17746
17746
|
var t, n, r, c;
|
|
17747
|
-
if (!((t = this.mapboxInstance) === null || t === void 0) && t.setConfigProperty && (!((c = (r = (n = this.mapboxInstance).getStyle) === null || r === void 0 ? void 0 : r.call(n)) === null || c === void 0) && c.imports)) try {
|
|
17747
|
+
if (!((t = this.mapboxInstance) === null || t === void 0) && t.setConfigProperty && (typeof this.mapboxInstance.isStyleLoaded != "function" || this.mapboxInstance.isStyleLoaded()) && (!((c = (r = (n = this.mapboxInstance).getStyle) === null || r === void 0 ? void 0 : r.call(n)) === null || c === void 0) && c.imports)) try {
|
|
17748
17748
|
this.mapboxInstance.setConfigProperty("basemap", "showPointOfInterestLabels", this.showMapMarkers), this.mapboxInstance.setConfigProperty("basemap", "showTransitLabels", this.showMapMarkers), this.mapboxInstance.setConfigProperty("basemap", "showPlaceLabels", this.showMapMarkers), this.setBuildingsOpacityConfigProperty(Number(this.buildingsOpacity), this.mapboxInstance), this.syncExtrudedBuildingsVisibility();
|
|
17749
17749
|
} catch {
|
|
17750
17750
|
}
|
|
@@ -17772,7 +17772,7 @@ const ZJ = yo(class extends mo {
|
|
|
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 YJ(this.mapboxInstance, this.mapsIndoorsInstance), this.mapboxInstance.addControl(this.myPositionControl, this.myPositionControlPosition));
|
|
17773
17773
|
}
|
|
17774
17774
|
render() {
|
|
17775
|
-
return Mt(ml, { key: "
|
|
17775
|
+
return Mt(ml, { key: "9fe58b3a15bf98eaf11aafa5d974f299b70b8376" }, Mt("link", { key: "517d7a8651ed1c9265938e201dc6b2ee8490ed41", href: "https://api.mapbox.com/mapbox-gl-js/v3.31.0/mapbox-gl.css", rel: "stylesheet" }), Mt("div", { key: "1b16375ca8276929a2c71fad254815edc9e69b9e", 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 }] };
|
|
@@ -37442,7 +37442,7 @@ function AF({ apiKey: t, gmApiKey: n, mapboxAccessToken: r, venue: c, locationId
|
|
|
37442
37442
|
if (window.mapsindoors !== void 0)
|
|
37443
37443
|
return wi();
|
|
37444
37444
|
const uo = document.createElement("script");
|
|
37445
|
-
uo.setAttribute("type", "text/javascript"), uo.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.61.
|
|
37445
|
+
uo.setAttribute("type", "text/javascript"), uo.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.61.2/mapsindoors-4.61.2.js.gz"), uo.setAttribute("integrity", "sha384-WXRj1E5nMG0Y0Azz5I56IOjCMqaywEI2EM6Q9uEZs4W1iPoo0xEZCayFt2y9dLcK"), uo.setAttribute("crossorigin", "anonymous"), document.body.appendChild(uo), uo.onload = () => {
|
|
37446
37446
|
wi();
|
|
37447
37447
|
};
|
|
37448
37448
|
});
|
|
@@ -37935,7 +37935,7 @@ function uue(t, n = {}) {
|
|
|
37935
37935
|
return sue(t, n, { mount: aue, update: lue, unmount: cue });
|
|
37936
37936
|
}
|
|
37937
37937
|
function hue() {
|
|
37938
|
-
return "1.99.
|
|
37938
|
+
return "1.99.27";
|
|
37939
37939
|
}
|
|
37940
37940
|
const due = uue(NF, {
|
|
37941
37941
|
props: {
|
|
@@ -12178,7 +12178,7 @@ const n8 = it(class extends nt {
|
|
|
12178
12178
|
}
|
|
12179
12179
|
applyBasemapConfig() {
|
|
12180
12180
|
var e, t, n, i;
|
|
12181
|
-
if (!((e = this.mapboxInstance) === null || e === void 0) && e.setConfigProperty && (!((i = (n = (t = this.mapboxInstance).getStyle) === null || n === void 0 ? void 0 : n.call(t)) === null || i === void 0) && i.imports)) try {
|
|
12181
|
+
if (!((e = this.mapboxInstance) === null || e === void 0) && e.setConfigProperty && (typeof this.mapboxInstance.isStyleLoaded != "function" || this.mapboxInstance.isStyleLoaded()) && (!((i = (n = (t = this.mapboxInstance).getStyle) === null || n === void 0 ? void 0 : n.call(t)) === null || i === void 0) && i.imports)) try {
|
|
12182
12182
|
this.mapboxInstance.setConfigProperty("basemap", "showPointOfInterestLabels", this.showMapMarkers), this.mapboxInstance.setConfigProperty("basemap", "showTransitLabels", this.showMapMarkers), this.mapboxInstance.setConfigProperty("basemap", "showPlaceLabels", this.showMapMarkers), this.setBuildingsOpacityConfigProperty(Number(this.buildingsOpacity), this.mapboxInstance), this.syncExtrudedBuildingsVisibility();
|
|
12183
12183
|
} catch {
|
|
12184
12184
|
}
|
|
@@ -12206,7 +12206,7 @@ const n8 = it(class extends nt {
|
|
|
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 t8(this.mapboxInstance, this.mapsIndoorsInstance), this.mapboxInstance.addControl(this.myPositionControl, this.myPositionControlPosition));
|
|
12207
12207
|
}
|
|
12208
12208
|
render() {
|
|
12209
|
-
return Z(_t, { key: "
|
|
12209
|
+
return Z(_t, { key: "9fe58b3a15bf98eaf11aafa5d974f299b70b8376" }, Z("link", { key: "517d7a8651ed1c9265938e201dc6b2ee8490ed41", href: "https://api.mapbox.com/mapbox-gl-js/v3.31.0/mapbox-gl.css", rel: "stylesheet" }), Z("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 }] };
|
|
@@ -18054,7 +18054,7 @@ function fr({ titleKey: e, variant: t, onClose: n }) {
|
|
|
18054
18054
|
] })
|
|
18055
18055
|
] }) });
|
|
18056
18056
|
}
|
|
18057
|
-
const eC = Ra(() => import("./MapboxMap-
|
|
18057
|
+
const eC = Ra(() => import("./MapboxMap-Dx5VFcmv.mjs")), tC = Ra(() => import("./GoogleMapsMap-D7lc5eAf.mjs"));
|
|
18058
18058
|
Y3.propTypes = {
|
|
18059
18059
|
apiKey: K.string.isRequired,
|
|
18060
18060
|
mapType: K.string.isRequired,
|
|
@@ -29763,7 +29763,7 @@ function Jy() {
|
|
|
29763
29763
|
/* @__PURE__ */ P.jsx("span", { className: "chat-loading-fallback__sr-only", children: e("Loading chat") })
|
|
29764
29764
|
] });
|
|
29765
29765
|
}
|
|
29766
|
-
const ME = Ra(() => import("./ChatWindow-
|
|
29766
|
+
const ME = Ra(() => import("./ChatWindow-BnZPpSFd.mjs"));
|
|
29767
29767
|
Xy.propTypes = {
|
|
29768
29768
|
directionsFromLocation: K.string,
|
|
29769
29769
|
directionsToLocation: K.string,
|
|
@@ -29967,7 +29967,7 @@ function Di({ children: e, isOpen: t }) {
|
|
|
29967
29967
|
}
|
|
29968
29968
|
);
|
|
29969
29969
|
}
|
|
29970
|
-
const NE = Ra(() => import("./ChatWindow-
|
|
29970
|
+
const NE = Ra(() => import("./ChatWindow-BnZPpSFd.mjs"));
|
|
29971
29971
|
e5.propTypes = {
|
|
29972
29972
|
directionsFromLocation: K.string,
|
|
29973
29973
|
directionsToLocation: K.string,
|
|
@@ -31876,7 +31876,7 @@ function s5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
31876
31876
|
if (window.mapsindoors !== void 0)
|
|
31877
31877
|
return ke();
|
|
31878
31878
|
const mt = document.createElement("script");
|
|
31879
|
-
mt.setAttribute("type", "text/javascript"), mt.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.61.
|
|
31879
|
+
mt.setAttribute("type", "text/javascript"), mt.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.61.2/mapsindoors-4.61.2.js.gz"), mt.setAttribute("integrity", "sha384-WXRj1E5nMG0Y0Azz5I56IOjCMqaywEI2EM6Q9uEZs4W1iPoo0xEZCayFt2y9dLcK"), mt.setAttribute("crossorigin", "anonymous"), document.body.appendChild(mt), mt.onload = () => {
|
|
31880
31880
|
ke();
|
|
31881
31881
|
};
|
|
31882
31882
|
});
|