@mapsindoors/map-template 1.99.19 → 1.99.21
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-DcD0v_hg.mjs → ChatWindow-o1fFm07i.mjs} +1 -1
- package/dist/{GoogleMapsMap-DIEumUeI.mjs → GoogleMapsMap-DRF58ggx.mjs} +1 -1
- package/dist/{MapboxMap-CHzDZHLQ.mjs → MapboxMap-DD2wATa_.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 -3
- package/dist/{reactcomponent-jCZj2-2Q.mjs → reactcomponent-HP87Y1HI.mjs} +6 -5
- package/package.json +1 -1
|
@@ -35237,8 +35237,9 @@ mm.propTypes = {
|
|
|
35237
35237
|
function mm({ children: t, isOpen: n }) {
|
|
35238
35238
|
const [r, c] = we.useState(!1), f = Cn(_h), y = we.useRef(), x = we.useRef();
|
|
35239
35239
|
return we.useEffect(() => {
|
|
35240
|
-
if (!x) return;
|
|
35240
|
+
if (!x.current) return;
|
|
35241
35241
|
const a = new MutationObserver(() => {
|
|
35242
|
+
if (!x.current) return;
|
|
35242
35243
|
const v = x.current.clientHeight, E = y.current?.clientHeight;
|
|
35243
35244
|
c(v > E);
|
|
35244
35245
|
});
|
|
@@ -37163,7 +37164,7 @@ function uF({ apiKey: t, gmApiKey: n, mapboxAccessToken: r, venue: c, locationId
|
|
|
37163
37164
|
if (window.mapsindoors !== void 0)
|
|
37164
37165
|
return Qn();
|
|
37165
37166
|
const Mr = document.createElement("script");
|
|
37166
|
-
Mr.setAttribute("type", "text/javascript"), Mr.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.59.
|
|
37167
|
+
Mr.setAttribute("type", "text/javascript"), Mr.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.59.4/mapsindoors-4.59.4.js.gz"), Mr.setAttribute("integrity", "sha384-Tzu1HA15zCxWXZLJdq+CXWHSy4utTjfvJaG/NyDaYPhIoD+JY8w5FxLoxjltI77M"), Mr.setAttribute("crossorigin", "anonymous"), document.body.appendChild(Mr), Mr.onload = () => {
|
|
37167
37168
|
Qn();
|
|
37168
37169
|
};
|
|
37169
37170
|
});
|
|
@@ -37663,7 +37664,7 @@ function zce(t, n = {}) {
|
|
|
37663
37664
|
return Ace(t, n, { mount: Nce, update: Lce, unmount: kce });
|
|
37664
37665
|
}
|
|
37665
37666
|
function Oce() {
|
|
37666
|
-
return "1.99.
|
|
37667
|
+
return "1.99.20";
|
|
37667
37668
|
}
|
|
37668
37669
|
const Rce = zce(hF, {
|
|
37669
37670
|
props: {
|
|
@@ -17903,7 +17903,7 @@ function pr({ titleKey: e, variant: t, onClose: n }) {
|
|
|
17903
17903
|
] })
|
|
17904
17904
|
] }) });
|
|
17905
17905
|
}
|
|
17906
|
-
const q7 = Ra(() => import("./MapboxMap-
|
|
17906
|
+
const q7 = Ra(() => import("./MapboxMap-DD2wATa_.mjs")), J7 = Ra(() => import("./GoogleMapsMap-DRF58ggx.mjs"));
|
|
17907
17907
|
V3.propTypes = {
|
|
17908
17908
|
apiKey: q.string.isRequired,
|
|
17909
17909
|
mapType: q.string.isRequired,
|
|
@@ -29486,7 +29486,7 @@ function Wy() {
|
|
|
29486
29486
|
/* @__PURE__ */ U.jsx("span", { className: "chat-loading-fallback__sr-only", children: e("Loading chat") })
|
|
29487
29487
|
] });
|
|
29488
29488
|
}
|
|
29489
|
-
const dE = Ra(() => import("./ChatWindow-
|
|
29489
|
+
const dE = Ra(() => import("./ChatWindow-o1fFm07i.mjs"));
|
|
29490
29490
|
Ky.propTypes = {
|
|
29491
29491
|
directionsFromLocation: q.string,
|
|
29492
29492
|
directionsToLocation: q.string,
|
|
@@ -29672,8 +29672,9 @@ Di.propTypes = {
|
|
|
29672
29672
|
function Di({ children: e, isOpen: t }) {
|
|
29673
29673
|
const [n, i] = Ne(!1), o = de(mn), r = Le(), s = Le();
|
|
29674
29674
|
return ae(() => {
|
|
29675
|
-
if (!s) return;
|
|
29675
|
+
if (!s.current) return;
|
|
29676
29676
|
const a = new MutationObserver(() => {
|
|
29677
|
+
if (!s.current) return;
|
|
29677
29678
|
const c = s.current.clientHeight, u = r.current?.clientHeight;
|
|
29678
29679
|
i(c > u);
|
|
29679
29680
|
});
|
|
@@ -29689,7 +29690,7 @@ function Di({ children: e, isOpen: t }) {
|
|
|
29689
29690
|
}
|
|
29690
29691
|
);
|
|
29691
29692
|
}
|
|
29692
|
-
const mE = Ra(() => import("./ChatWindow-
|
|
29693
|
+
const mE = Ra(() => import("./ChatWindow-o1fFm07i.mjs"));
|
|
29693
29694
|
qy.propTypes = {
|
|
29694
29695
|
directionsFromLocation: q.string,
|
|
29695
29696
|
directionsToLocation: q.string,
|
|
@@ -31598,7 +31599,7 @@ function i5({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: i, locationId
|
|
|
31598
31599
|
if (window.mapsindoors !== void 0)
|
|
31599
31600
|
return ke();
|
|
31600
31601
|
const ft = document.createElement("script");
|
|
31601
|
-
ft.setAttribute("type", "text/javascript"), ft.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.59.
|
|
31602
|
+
ft.setAttribute("type", "text/javascript"), ft.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.59.4/mapsindoors-4.59.4.js.gz"), ft.setAttribute("integrity", "sha384-Tzu1HA15zCxWXZLJdq+CXWHSy4utTjfvJaG/NyDaYPhIoD+JY8w5FxLoxjltI77M"), ft.setAttribute("crossorigin", "anonymous"), document.body.appendChild(ft), ft.onload = () => {
|
|
31602
31603
|
ke();
|
|
31603
31604
|
};
|
|
31604
31605
|
});
|