@mapsindoors/map-template 1.92.0 → 1.92.2
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/{GoogleMapsMap-c70be16b.mjs → GoogleMapsMap-840160c7.mjs} +2 -2
- package/dist/{MapboxMap-7877a6f9.mjs → MapboxMap-e26ac912.mjs} +18 -18
- package/dist/{combo-box-item.entry-fc88de6a.mjs → combo-box-item.entry-4143445e.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +2 -2
- package/dist/mapsindoors-react.umd.js +82 -82
- package/dist/mapsindoors-webcomponent.es.js +10274 -10191
- package/dist/mapsindoors-webcomponent.umd.js +56 -56
- package/dist/{mi-card_2.entry-7feb0575.mjs → mi-card_2.entry-76d2d371.mjs} +2 -2
- package/dist/{mi-chip.entry-f8a2c0cb.mjs → mi-chip.entry-8a58a0bd.mjs} +2 -2
- package/dist/{mi-column.entry-8e338216.mjs → mi-column.entry-6bbf96a4.mjs} +2 -2
- package/dist/{mi-combo-box.entry-afc9df27.mjs → mi-combo-box.entry-0a5b74f8.mjs} +2 -2
- package/dist/{mi-data-table.entry-e2144d5d.mjs → mi-data-table.entry-92a729e2.mjs} +2 -2
- package/dist/{mi-distance_2.entry-4c780ed4.mjs → mi-distance_2.entry-5a5181fb.mjs} +2 -2
- package/dist/{mi-dropdown-item.entry-cab2a597.mjs → mi-dropdown-item.entry-fa78a54b.mjs} +2 -2
- package/dist/{mi-dropdown.entry-749f8bc5.mjs → mi-dropdown.entry-39542038.mjs} +2 -2
- package/dist/{mi-floor-selector.entry-1fee702f.mjs → mi-floor-selector.entry-2b1acadc.mjs} +2 -2
- package/dist/{mi-keyboard.entry-54c78b95.mjs → mi-keyboard.entry-cad7bc4d.mjs} +2 -2
- package/dist/{mi-list-item-category.entry-90dbf1ad.mjs → mi-list-item-category.entry-794659d1.mjs} +2 -2
- package/dist/{mi-list-item-location.entry-f4ab6651.mjs → mi-list-item-location.entry-4c9421dd.mjs} +2 -2
- package/dist/{mi-list.entry-f360ade9.mjs → mi-list.entry-b1c85a5b.mjs} +2 -2
- package/dist/{mi-location-booking.entry-ecfc7ad4.mjs → mi-location-booking.entry-78998f85.mjs} +2 -2
- package/dist/{mi-location-info.entry-769bdde1.mjs → mi-location-info.entry-d24dadda.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-09a9150e.mjs → mi-map-googlemaps.entry-b8373707.mjs} +2 -2
- package/dist/{mi-map-mapbox.entry-915030aa.mjs → mi-map-mapbox.entry-a65ea74a.mjs} +2 -2
- package/dist/{mi-metric-card.entry-42e67f6c.mjs → mi-metric-card.entry-7b68a556.mjs} +2 -2
- package/dist/{mi-my-position.entry-a2bea62b.mjs → mi-my-position.entry-b0c16e8b.mjs} +2 -2
- package/dist/{mi-notification.entry-33f32fde.mjs → mi-notification.entry-4f502f17.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-8d372b90.mjs → mi-route-instructions-heading.entry-8a2acaef.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver-legacy.entry-ec4a5785.mjs → mi-route-instructions-maneuver-legacy.entry-8fb21311.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver.entry-18d07ca4.mjs → mi-route-instructions-maneuver.entry-8cdfae3d.mjs} +2 -2
- package/dist/{mi-route-instructions-step-legacy.entry-3af882ef.mjs → mi-route-instructions-step-legacy.entry-8067fa14.mjs} +2 -2
- package/dist/{mi-route-instructions-step.entry-eb959e9b.mjs → mi-route-instructions-step.entry-6592b6be.mjs} +2 -2
- package/dist/{mi-route-instructions.entry-5651000f.mjs → mi-route-instructions.entry-e38abb27.mjs} +2 -2
- package/dist/{mi-scroll-buttons.entry-ab84dbde.mjs → mi-scroll-buttons.entry-a4ea882e.mjs} +2 -2
- package/dist/{mi-search.entry-78c390f2.mjs → mi-search.entry-253f4fa4.mjs} +2 -2
- package/dist/{mi-share-sms.entry-a92a810a.mjs → mi-share-sms.entry-936f808d.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-b9c2b413.mjs → mi-step-switcher.entry-8043b728.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-177180d7.mjs → mi-tab-panel.entry-8eaafd2f.mjs} +2 -2
- package/dist/{mi-tab.entry-c3af762b.mjs → mi-tab.entry-8f9f576a.mjs} +2 -2
- package/dist/{mi-tabs.entry-c3066658.mjs → mi-tabs.entry-076b900f.mjs} +2 -2
- package/dist/{mi-time.entry-cd08387e.mjs → mi-time.entry-f1f1ea47.mjs} +2 -2
- package/dist/{reactcomponent-44b70bf6.mjs → reactcomponent-57fb062e.mjs} +5532 -5448
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as p, i as g, j as _ } from "./reactcomponent-
|
|
1
|
+
import { P as p, i as g, j as _ } from "./reactcomponent-57fb062e.mjs";
|
|
2
2
|
import { useState as A, useEffect as j } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
function C(n, e, t, r) {
|
|
@@ -279,4 +279,4 @@ function N({ apiKey: n, onInitialized: e, center: t, zoom: r, bounds: s, heading
|
|
|
279
279
|
export {
|
|
280
280
|
N as default
|
|
281
281
|
};
|
|
282
|
-
//# sourceMappingURL=GoogleMapsMap-
|
|
282
|
+
//# sourceMappingURL=GoogleMapsMap-840160c7.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as Zb, b as Wb, P as Qr, i as ta, j as ia } from "./reactcomponent-
|
|
1
|
+
import { a as Zb, b as Wb, P as Qr, u as Xb, i as ta, j as ia } from "./reactcomponent-57fb062e.mjs";
|
|
2
2
|
import * as yo from "react";
|
|
3
3
|
import { useState as ux, useEffect as xf } from "react";
|
|
4
|
-
import { createPortal as
|
|
4
|
+
import { createPortal as Yb } from "react-dom";
|
|
5
5
|
var dx = { exports: {} };
|
|
6
6
|
(function(Qi, Mh) {
|
|
7
7
|
(function(Vn, Un) {
|
|
@@ -8514,7 +8514,7 @@ ${JSON.stringify(a, null, 2)}
|
|
|
8514
8514
|
return Math.abs(Di) >= Ce * Ft ? Di : -function(bi, pi, ei, Ti, Si, xi, wi) {
|
|
8515
8515
|
var fi, Ut, mi, Vi, vt, Jt, Ei, $i, Mi, fr, _i, lr, _n, Fr, Rr, gn, ws, mr, br = bi - Si, Or = ei - Si, Kr = pi - xi, Ur = Ti - xi;
|
|
8516
8516
|
Oe[0] = (Rr = ($i = br - (Ei = (Jt = te * br) - (Jt - br))) * (fr = Ur - (Mi = (Jt = te * Ur) - (Jt - Ur))) - ((Fr = br * Ur) - Ei * Mi - $i * Mi - Ei * fr)) - ((_i = Rr - (ws = ($i = Kr - (Ei = (Jt = te * Kr) - (Jt - Kr))) * (fr = Or - (Mi = (Jt = te * Or) - (Jt - Or))) - ((gn = Kr * Or) - Ei * Mi - $i * Mi - Ei * fr))) + (vt = Rr - _i)) + (vt - ws), Oe[1] = (_n = Fr - ((lr = Fr + _i) - (vt = lr - Fr)) + (_i - vt)) - ((_i = _n - gn) + (vt = _n - _i)) + (vt - gn), Oe[2] = lr - ((mr = lr + _i) - (vt = mr - lr)) + (_i - vt), Oe[3] = mr;
|
|
8517
|
-
var Ya = function(
|
|
8517
|
+
var Ya = function(nw, cx) {
|
|
8518
8518
|
for (var hx = cx[0], y_ = 1; y_ < 4; y_++)
|
|
8519
8519
|
hx += cx[y_];
|
|
8520
8520
|
return hx;
|
|
@@ -37671,15 +37671,15 @@ ${l.vertexSource}`, this.forceManualRenderingForInstanceIDShaders && (C = C.repl
|
|
|
37671
37671
|
return no;
|
|
37672
37672
|
});
|
|
37673
37673
|
})(dx);
|
|
37674
|
-
var
|
|
37675
|
-
const
|
|
37676
|
-
const
|
|
37674
|
+
var Jb = dx.exports;
|
|
37675
|
+
const Kb = /* @__PURE__ */ Wb(Jb);
|
|
37676
|
+
const Qb = (Qi) => /* @__PURE__ */ yo.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...Qi }, /* @__PURE__ */ yo.createElement("path", { opacity: 0.12, d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", fill: "white", style: {
|
|
37677
37677
|
fill: "white",
|
|
37678
37678
|
fillOpacity: 1
|
|
37679
37679
|
} }), /* @__PURE__ */ yo.createElement("path", { d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", stroke: "white", style: {
|
|
37680
37680
|
stroke: "white",
|
|
37681
37681
|
strokeOpacity: 1
|
|
37682
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
37682
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), ew = (Qi) => /* @__PURE__ */ yo.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...Qi }, /* @__PURE__ */ yo.createElement("path", { opacity: 0.12, d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", fill: "#6B7280", style: {
|
|
37683
37683
|
fill: "#6B7280",
|
|
37684
37684
|
fill: "color(display-p3 0.4196 0.4471 0.5020)",
|
|
37685
37685
|
fillOpacity: 1
|
|
@@ -37687,13 +37687,13 @@ const Kb = (Qi) => /* @__PURE__ */ yo.createElement("svg", { width: 24, height:
|
|
|
37687
37687
|
stroke: "#6B7280",
|
|
37688
37688
|
stroke: "color(display-p3 0.4196 0.4471 0.5020)",
|
|
37689
37689
|
strokeOpacity: 1
|
|
37690
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
37690
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), tw = (Qi) => /* @__PURE__ */ yo.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...Qi }, /* @__PURE__ */ yo.createElement("path", { opacity: 0.12, d: "M12 12L21 7V16.0586C21 16.4012 21 16.5725 20.9495 16.7253C20.9049 16.8605 20.8318 16.9846 20.7354 17.0893C20.6263 17.2076 20.4766 17.2908 20.177 17.4572L12.777 21.5683C12.4934 21.7259 12.3516 21.8047 12.2015 21.8355C12.0685 21.8629 11.9315 21.8629 11.7986 21.8355C11.6484 21.8047 11.5066 21.7259 11.223 21.5683L3.82297 17.4572C3.52345 17.2908 3.37369 17.2076 3.26463 17.0893C3.16816 16.9846 3.09515 16.8605 3.05048 16.7253C3 16.5725 3 16.4012 3 16.0586V7L12 12Z", fill: "white", style: {
|
|
37691
37691
|
fill: "white",
|
|
37692
37692
|
fillOpacity: 1
|
|
37693
37693
|
} }), /* @__PURE__ */ yo.createElement("path", { d: "M20.5 7.27783L12 12.0001M12 12.0001L3.49997 7.27783M12 12.0001V21.5001M21 16.0586V7.94153C21 7.59889 21 7.42757 20.9495 7.27477C20.9049 7.13959 20.8318 7.01551 20.7354 6.91082C20.6263 6.79248 20.4766 6.70928 20.177 6.54288L12.777 2.43177C12.4934 2.27421 12.3516 2.19543 12.2015 2.16454C12.0685 2.13721 11.9315 2.13721 11.7986 2.16454C11.6484 2.19543 11.5066 2.27421 11.223 2.43177L3.82297 6.54288C3.52345 6.70928 3.37369 6.79248 3.26463 6.91082C3.16816 7.01551 3.09515 7.13959 3.05048 7.27477C3 7.42757 3 7.59889 3 7.94153V16.0586C3 16.4013 3 16.5726 3.05048 16.7254C3.09515 16.8606 3.16816 16.9847 3.26463 17.0893C3.37369 17.2077 3.52345 17.2909 3.82297 17.4573L11.223 21.5684C11.5066 21.726 11.6484 21.8047 11.7986 21.8356C11.9315 21.863 12.0685 21.863 12.2015 21.8356C12.3516 21.8047 12.4934 21.726 12.777 21.5684L20.177 17.4573C20.4766 17.2909 20.6263 17.2077 20.7354 17.0893C20.8318 16.9847 20.9049 16.8606 20.9495 16.7254C21 16.5726 21 16.4013 21 16.0586Z", stroke: "white", style: {
|
|
37694
37694
|
stroke: "white",
|
|
37695
37695
|
strokeOpacity: 1
|
|
37696
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
37696
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), iw = (Qi) => /* @__PURE__ */ yo.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...Qi }, /* @__PURE__ */ yo.createElement("path", { opacity: 0.12, d: "M12 12L21 7V16.0586C21 16.4012 21 16.5725 20.9495 16.7253C20.9049 16.8605 20.8318 16.9846 20.7354 17.0893C20.6263 17.2076 20.4766 17.2908 20.177 17.4572L12.777 21.5683C12.4934 21.7259 12.3516 21.8047 12.2015 21.8355C12.0685 21.8629 11.9315 21.8629 11.7986 21.8355C11.6484 21.8047 11.5066 21.7259 11.223 21.5683L3.82297 17.4572C3.52345 17.2908 3.37369 17.2076 3.26463 17.0893C3.16816 16.9846 3.09515 16.8605 3.05048 16.7253C3 16.5725 3 16.4012 3 16.0586V7L12 12Z", fill: "#6B7280", style: {
|
|
37697
37697
|
fill: "#6B7280",
|
|
37698
37698
|
fill: "color(display-p3 0.4196 0.4471 0.5020)",
|
|
37699
37699
|
fillOpacity: 1
|
|
@@ -37715,7 +37715,7 @@ fx.propTypes = {
|
|
|
37715
37715
|
show2DModelsIn3D: Qr.string
|
|
37716
37716
|
};
|
|
37717
37717
|
function fx({ mapView: Qi, pitch: Mh, reset: Vn, activeColor: Un = "#005655", show2DModelsIn3D: en }) {
|
|
37718
|
-
const [cn, no] = ux(ro.initial3D), s =
|
|
37718
|
+
const [cn, no] = ux(ro.initial3D), s = Xb(".viewmode-switch-portal"), wr = () => en === "true";
|
|
37719
37719
|
return xf(() => {
|
|
37720
37720
|
Vn && no(ro.initial3D);
|
|
37721
37721
|
}, [Vn]), xf(() => {
|
|
@@ -37742,7 +37742,7 @@ function fx({ mapView: Qi, pitch: Mh, reset: Vn, activeColor: Un = "#005655", sh
|
|
|
37742
37742
|
break;
|
|
37743
37743
|
}
|
|
37744
37744
|
});
|
|
37745
|
-
}, [cn, Qi]), s ?
|
|
37745
|
+
}, [cn, Qi]), s ? Yb(
|
|
37746
37746
|
/* @__PURE__ */ ia.jsxs("div", { className: "view-mode-switch", children: [
|
|
37747
37747
|
/* @__PURE__ */ ia.jsx(
|
|
37748
37748
|
"button",
|
|
@@ -37750,7 +37750,7 @@ function fx({ mapView: Qi, pitch: Mh, reset: Vn, activeColor: Un = "#005655", sh
|
|
|
37750
37750
|
className: "view-mode-switch__button",
|
|
37751
37751
|
onClick: () => no(ro.clicked2D),
|
|
37752
37752
|
style: { backgroundColor: cn === ro.clicked2D ? Un : "white" },
|
|
37753
|
-
children: cn === ro.clicked2D ? /* @__PURE__ */ ia.jsx(
|
|
37753
|
+
children: cn === ro.clicked2D ? /* @__PURE__ */ ia.jsx(Qb, {}) : /* @__PURE__ */ ia.jsx(ew, {})
|
|
37754
37754
|
}
|
|
37755
37755
|
),
|
|
37756
37756
|
/* @__PURE__ */ ia.jsx(
|
|
@@ -37759,14 +37759,14 @@ function fx({ mapView: Qi, pitch: Mh, reset: Vn, activeColor: Un = "#005655", sh
|
|
|
37759
37759
|
className: "view-mode-switch__button",
|
|
37760
37760
|
onClick: () => no(ro.clicked3D),
|
|
37761
37761
|
style: { backgroundColor: [ro.initial3D, ro.clicked3D].includes(cn) ? Un : "white" },
|
|
37762
|
-
children: [ro.initial3D, ro.clicked3D].includes(cn) ? /* @__PURE__ */ ia.jsx(
|
|
37762
|
+
children: [ro.initial3D, ro.clicked3D].includes(cn) ? /* @__PURE__ */ ia.jsx(tw, {}) : /* @__PURE__ */ ia.jsx(iw, {})
|
|
37763
37763
|
}
|
|
37764
37764
|
)
|
|
37765
37765
|
] }),
|
|
37766
37766
|
s
|
|
37767
37767
|
) : null;
|
|
37768
37768
|
}
|
|
37769
|
-
|
|
37769
|
+
rw.propTypes = {
|
|
37770
37770
|
accessToken: Qr.string.isRequired,
|
|
37771
37771
|
onInitialized: Qr.func.isRequired,
|
|
37772
37772
|
center: Qr.object,
|
|
@@ -37780,7 +37780,7 @@ iw.propTypes = {
|
|
|
37780
37780
|
mapOptions: Qr.object,
|
|
37781
37781
|
appConfig: Qr.object
|
|
37782
37782
|
};
|
|
37783
|
-
function
|
|
37783
|
+
function rw({ accessToken: Qi, onInitialized: Mh, center: Vn, zoom: Un, bounds: en, bearing: cn, pitch: no, resetViewMode: s, viewModeSwitchVisible: wr, mapOptions: jt, appConfig: jr }) {
|
|
37784
37784
|
var xn;
|
|
37785
37785
|
const [yn, xo] = ux();
|
|
37786
37786
|
return xf(() => {
|
|
@@ -37791,7 +37791,7 @@ function iw({ accessToken: Qi, onInitialized: Mh, center: Vn, zoom: Un, bounds:
|
|
|
37791
37791
|
padding: jt == null ? void 0 : jt.fitBoundsPadding
|
|
37792
37792
|
}));
|
|
37793
37793
|
}, [yn, Vn, Un, cn, no, en, jt]), xf(() => {
|
|
37794
|
-
window.mapboxgl =
|
|
37794
|
+
window.mapboxgl = Kb;
|
|
37795
37795
|
const vn = {
|
|
37796
37796
|
accessToken: Qi,
|
|
37797
37797
|
element: document.getElementById("map"),
|
|
@@ -37810,6 +37810,6 @@ function iw({ accessToken: Qi, onInitialized: Mh, center: Vn, zoom: Un, bounds:
|
|
|
37810
37810
|
}, []), /* @__PURE__ */ ia.jsx("div", { className: "mapsindoors-map mapbox-map-container", id: "map", children: wr && /* @__PURE__ */ ia.jsx(fx, { reset: s, mapView: yn, pitch: no, activeColor: jt == null ? void 0 : jt.brandingColor, show2DModelsIn3D: (xn = jr == null ? void 0 : jr.appSettings) == null ? void 0 : xn.show2DModelsIn3D }) });
|
|
37811
37811
|
}
|
|
37812
37812
|
export {
|
|
37813
|
-
|
|
37813
|
+
rw as default
|
|
37814
37814
|
};
|
|
37815
|
-
//# sourceMappingURL=MapboxMap-
|
|
37815
|
+
//# sourceMappingURL=MapboxMap-e26ac912.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as t, g as s } from "./reactcomponent-
|
|
1
|
+
import { r as t, g as s } from "./reactcomponent-57fb062e.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const l = class {
|
|
@@ -12,4 +12,4 @@ const l = class {
|
|
|
12
12
|
export {
|
|
13
13
|
l as combo_box_item
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=combo-box-item.entry-
|
|
15
|
+
//# sourceMappingURL=combo-box-item.entry-4143445e.mjs.map
|