@mapsindoors/map-template 1.87.5 → 1.87.10
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-24260f1f.mjs → GoogleMapsMap-7fe445d1.mjs} +3 -2
- package/dist/{MapboxMap-ca671c56.mjs → MapboxMap-d6e5e184.mjs} +2 -2
- package/dist/{combo-box-item.entry-92dd2c7f.mjs → combo-box-item.entry-e9733cee.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +5 -5
- package/dist/mapsindoors-webcomponent.es.js +9 -6
- package/dist/mapsindoors-webcomponent.umd.js +5 -5
- package/dist/{mi-card_2.entry-7094ef72.mjs → mi-card_2.entry-63b09f63.mjs} +2 -2
- package/dist/{mi-chip.entry-c4cbfca2.mjs → mi-chip.entry-6f0b4c65.mjs} +2 -2
- package/dist/{mi-column.entry-66737b8b.mjs → mi-column.entry-9c7902db.mjs} +2 -2
- package/dist/{mi-combo-box.entry-bce77fed.mjs → mi-combo-box.entry-cb3ff7f7.mjs} +2 -2
- package/dist/{mi-data-table.entry-db0ed7fc.mjs → mi-data-table.entry-8e38d5f4.mjs} +2 -2
- package/dist/{mi-distance_2.entry-d9506e9b.mjs → mi-distance_2.entry-bf1abb19.mjs} +2 -2
- package/dist/{mi-dropdown-item.entry-5c188133.mjs → mi-dropdown-item.entry-14c3db21.mjs} +2 -2
- package/dist/{mi-dropdown.entry-b73e76dc.mjs → mi-dropdown.entry-b8ceaa1a.mjs} +2 -2
- package/dist/{mi-floor-selector.entry-b12ee586.mjs → mi-floor-selector.entry-1cd57eb3.mjs} +2 -2
- package/dist/{mi-keyboard.entry-a210ce25.mjs → mi-keyboard.entry-f64a9d53.mjs} +2 -2
- package/dist/{mi-list-item-category.entry-b6e2ac6e.mjs → mi-list-item-category.entry-e77d4fda.mjs} +2 -2
- package/dist/{mi-list-item-location.entry-b7711254.mjs → mi-list-item-location.entry-6de6982a.mjs} +2 -2
- package/dist/{mi-list.entry-ef19a3c9.mjs → mi-list.entry-a3ba1acf.mjs} +2 -2
- package/dist/{mi-location-booking.entry-3428aa4e.mjs → mi-location-booking.entry-2ae11ffc.mjs} +2 -2
- package/dist/{mi-location-info.entry-93a9c4ec.mjs → mi-location-info.entry-ee858cad.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-9b07a9bb.mjs → mi-map-googlemaps.entry-6490374e.mjs} +2 -2
- package/dist/{mi-map-mapbox.entry-f9f21df5.mjs → mi-map-mapbox.entry-f8c2cfa9.mjs} +2 -2
- package/dist/{mi-metric-card.entry-0df9c0ef.mjs → mi-metric-card.entry-b9cb5439.mjs} +2 -2
- package/dist/{mi-my-position.entry-0fd3e75e.mjs → mi-my-position.entry-c12bc591.mjs} +2 -2
- package/dist/{mi-notification.entry-237d69e4.mjs → mi-notification.entry-4bd25d49.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-987bb8a2.mjs → mi-route-instructions-heading.entry-cf799659.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver-legacy.entry-c2226852.mjs → mi-route-instructions-maneuver-legacy.entry-b6b53311.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver.entry-15fbc4bb.mjs → mi-route-instructions-maneuver.entry-5c965bfe.mjs} +2 -2
- package/dist/{mi-route-instructions-step-legacy.entry-eb01a546.mjs → mi-route-instructions-step-legacy.entry-3c35be45.mjs} +2 -2
- package/dist/{mi-route-instructions-step.entry-34db3e72.mjs → mi-route-instructions-step.entry-886858db.mjs} +10 -10
- package/dist/{mi-route-instructions.entry-6541a893.mjs → mi-route-instructions.entry-a39e6422.mjs} +4 -3
- package/dist/{mi-scroll-buttons.entry-8a4d9732.mjs → mi-scroll-buttons.entry-adff0015.mjs} +2 -2
- package/dist/{mi-search.entry-8a8fe2e1.mjs → mi-search.entry-d2065757.mjs} +2 -2
- package/dist/{mi-share-sms.entry-5c974ba1.mjs → mi-share-sms.entry-5d08c733.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-fc91342f.mjs → mi-step-switcher.entry-d5ccc08d.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-3d39a6e2.mjs → mi-tab-panel.entry-6636c87f.mjs} +2 -2
- package/dist/{mi-tab.entry-f17f7005.mjs → mi-tab.entry-63b040d7.mjs} +2 -2
- package/dist/{mi-tabs.entry-3e73c065.mjs → mi-tabs.entry-60073c75.mjs} +2 -2
- package/dist/{mi-time.entry-a8ce7d27.mjs → mi-time.entry-44797fd8.mjs} +2 -2
- package/dist/{reactcomponent-1054d666.mjs → reactcomponent-9c2853dc.mjs} +6 -5
- package/package.json +1 -1
|
@@ -17330,7 +17330,8 @@ const EX = (e) => /* @__PURE__ */ be.createElement("svg", { width: 24, height: 2
|
|
|
17330
17330
|
turnAround: j("Turn around"),
|
|
17331
17331
|
days: j("d"),
|
|
17332
17332
|
hours: j("h"),
|
|
17333
|
-
minutes: j("min")
|
|
17333
|
+
minutes: j("min"),
|
|
17334
|
+
rideTheBus: j("Ride the bus")
|
|
17334
17335
|
};
|
|
17335
17336
|
return be.useEffect(() => {
|
|
17336
17337
|
const { current: Ze } = E;
|
|
@@ -19893,7 +19894,7 @@ function v7({ apiKey: e, gmApiKey: i, mapboxAccessToken: o, venue: u, locationId
|
|
|
19893
19894
|
if (window.mapsindoors !== void 0)
|
|
19894
19895
|
return $i();
|
|
19895
19896
|
const mr = document.createElement("script");
|
|
19896
|
-
mr.setAttribute("type", "text/javascript"), mr.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.44.
|
|
19897
|
+
mr.setAttribute("type", "text/javascript"), mr.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.44.3/mapsindoors-4.44.3.js.gz"), mr.setAttribute("integrity", "sha384-5W9MCHut7z0re2ycdODA393sU9AP3cqHNT+G0SD1pP1r9m8Cbug+k9ZFZyz3Yjoq"), mr.setAttribute("crossorigin", "anonymous"), document.body.appendChild(mr), mr.onload = () => {
|
|
19897
19898
|
$i();
|
|
19898
19899
|
};
|
|
19899
19900
|
});
|
|
@@ -32216,7 +32217,7 @@ oj.style = aae;
|
|
|
32216
32217
|
const lae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32217
32218
|
__proto__: null,
|
|
32218
32219
|
mi_route_instructions_step_legacy: oj
|
|
32219
|
-
}, Symbol.toStringTag, { value: "Module" })), cae = ':host{display:block;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.step{display:grid;gap:16px;justify-items:center}.step__info{display:grid;grid-auto-flow:column;align-items:center;justify-content:space-between;width:100%;position:sticky;top:50px;background:white;z-index:1000;padding-bottom:8px}.step__destination{display:grid;gap:8px;align-items:center;justify-content:center;grid-auto-flow:column}.step__heading{font-weight:500;font-size:1.25rem;margin:0}.step__heading>span{font-size:0.875rem;color:#6b7280}.step__travel-mode{display:flex;justify-content:center;align-items:center;position:relative;min-height:72px}.step__travel-mode::before{position:absolute;width:calc(50% - 2px);left:0;height:100%;content:""}.step__travel-mode--dotted::before{border-right:4px dotted #bfdbfe}.step__travel-mode--solid::before{border-right:4px solid #bfdbfe}.step__travel-mode-icon{position:absolute;left:50%;top:24px;transform:translateX(-50%);background-color:#fcfcfc;padding:3px;border-radius:4px}.step__travel-mode-icon mi-icon{width:16px;height:16px;background-color:#6b7280;display:block}.step__short-name{margin-right:4px;padding:2px 4px;font-size:0.875rem;color:#fcfcfc;background-color:#6b7280;border-radius:2px}.step__distance-duration{color:#6b7280;font-size:0.875rem}.step__toggle{display:grid;justify-content:center}.step__toggle mi-icon{width:24px;height:24px;display:block}.step__details{display:grid;gap:24px;width:100%}', sj = class {
|
|
32220
|
+
}, Symbol.toStringTag, { value: "Module" })), cae = ':host{display:block;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.step{display:grid;gap:16px;justify-items:center}.step__info{display:grid;grid-auto-flow:column;align-items:center;justify-content:space-between;width:100%;position:sticky;top:50px;background:white;z-index:1000;padding-bottom:8px}.step__destination{display:grid;gap:8px;align-items:center;justify-content:center;grid-auto-flow:column}.step__heading{font-weight:500;font-size:1.25rem;margin:0}.step__heading>span{font-size:0.875rem;color:#6b7280}.step__travel-mode{display:flex;justify-content:center;align-items:center;position:relative;min-height:72px}.step__travel-mode::before{position:absolute;width:calc(50% - 2px);left:0;height:100%;content:""}.step__travel-mode--dotted::before{border-right:4px dotted #bfdbfe}.step__travel-mode--solid::before{border-right:4px solid #bfdbfe}.step__travel-mode-icon{position:absolute;left:50%;top:24px;transform:translateX(-50%);background-color:#fcfcfc;padding:3px;border-radius:4px}.step__travel-mode-icon mi-icon{width:16px;height:16px;background-color:#6b7280;display:block}.step__short-name{margin-right:4px;padding:2px 4px;font-size:0.875rem;color:#fcfcfc;background-color:#6b7280;border-radius:2px}.step__distance-duration{color:#6b7280;font-size:0.875rem}.step__transit-action{font-weight:400;font-size:0.875rem;color:#6b7280}.step__toggle{display:grid;justify-content:center}.step__toggle mi-icon{width:24px;height:24px;display:block}.step__details{display:grid;gap:24px;width:100%}', sj = class {
|
|
32220
32221
|
constructor(e) {
|
|
32221
32222
|
Sr(this, e), this.stepClicked = Yr(this, "stepClicked", 7), this.substepsToggled = Yr(this, "substepsToggled", 7), this.isInternetExplorer = Fw(), this.step = void 0, this.stepData = void 0, this.hideIndoorSubsteps = !0, this.fromRouteContext = "", this.fromTravelMode = void 0, this.fromTransitStop = void 0, this.unit = navigator.language === "en-US" ? Ua.Imperial : Ua.Metric, this.showToggleButton = !0, this.translations = void 0, this.translationsData = void 0, this.substepsAreOpen = !1;
|
|
32222
32223
|
}
|
|
@@ -32419,13 +32420,13 @@ const lae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
32419
32420
|
return Je("div", { class: "step", onClick: (e) => this.stepClickHandler(e) }, Je("div", { class: "step__info" }, Je("div", { part: "step-heading", class: "step__heading" }, this.getStepHeading()), this.renderToggleButton()), this.showSubsteps());
|
|
32420
32421
|
}
|
|
32421
32422
|
/**
|
|
32422
|
-
* Render a transit step.
|
|
32423
|
+
* Render a transit step. Inclusing BUSWAY instruction.
|
|
32423
32424
|
*
|
|
32424
32425
|
* @returns {JSX.Element}
|
|
32425
32426
|
*/
|
|
32426
32427
|
renderTransitStep() {
|
|
32427
32428
|
var e, i, o, u, d, _, b, a, E, j, V, ie, G, le, fe, ve, Ze, me, te, ee, re, Me, we, We, ot, $e, xt, ut, jt;
|
|
32428
|
-
return Je("div", { class: "step", onClick: (St) => this.stepClickHandler(St) }, Je("div", { class: "step__info" }, Je("h3", { part: "step-heading", class: "step__heading" }, (e = this.stepData) === null || e === void 0 ? void 0 : e.instructions), this.renderToggleButton()), this.renderTravelMode(), Je("div", { part: "step-description", class: "step__description" }, !((u = (o = (i = this.stepData) === null || i === void 0 ? void 0 : i.transit_information) === null || o === void 0 ? void 0 : o.line) === null || u === void 0) && u.short_name ? Je("span", { class: "step__short-name", style: {
|
|
32429
|
+
return Je("div", { class: "step", onClick: (St) => this.stepClickHandler(St) }, Je("div", { class: "step__info" }, Je("h3", { part: "step-heading", class: "step__heading" }, this.stepData.travel_mode === "TRANSIT" ? `${this.translationsData.rideTheBus}` : (e = this.stepData) === null || e === void 0 ? void 0 : e.instructions), this.renderToggleButton()), this.renderTravelMode(), Je("div", { part: "step-description", class: "step__description" }, !((u = (o = (i = this.stepData) === null || i === void 0 ? void 0 : i.transit_information) === null || o === void 0 ? void 0 : o.line) === null || u === void 0) && u.short_name ? Je("span", { class: "step__short-name", style: {
|
|
32429
32430
|
backgroundColor: !((b = (_ = (d = this.stepData) === null || d === void 0 ? void 0 : d.transit_information) === null || _ === void 0 ? void 0 : _.line) === null || b === void 0) && b.color ? (j = (E = (a = this.stepData) === null || a === void 0 ? void 0 : a.transit_information) === null || E === void 0 ? void 0 : E.line) === null || j === void 0 ? void 0 : j.color : null,
|
|
32430
32431
|
color: !((G = (ie = (V = this.stepData) === null || V === void 0 ? void 0 : V.transit_information) === null || ie === void 0 ? void 0 : ie.line) === null || G === void 0) && G.text_color ? (ve = (fe = (le = this.stepData) === null || le === void 0 ? void 0 : le.transit_information) === null || fe === void 0 ? void 0 : fe.line) === null || ve === void 0 ? void 0 : ve.text_color : null
|
|
32431
32432
|
} }, (te = (me = (Ze = this.stepData) === null || Ze === void 0 ? void 0 : Ze.transit_information) === null || me === void 0 ? void 0 : me.line) === null || te === void 0 ? void 0 : te.short_name) : null, !((re = (ee = this.stepData) === null || ee === void 0 ? void 0 : ee.transit_information) === null || re === void 0) && re.headsign ? (we = (Me = this.stepData) === null || Me === void 0 ? void 0 : Me.transit_information) === null || we === void 0 ? void 0 : we.headsign : null, Je("br", null), Je("span", { part: "step-info", class: "step__distance-duration" }, Je("mi-time", { seconds: (ot = (We = this.stepData) === null || We === void 0 ? void 0 : We.duration) === null || ot === void 0 ? void 0 : ot.value, translations: `{"days":"${this.translationsData.days}","hours":"${this.translationsData.hours}","minutes":"${this.translationsData.minutes}"}` }), " · ", !((xt = ($e = this.stepData) === null || $e === void 0 ? void 0 : $e.transit_information) === null || xt === void 0) && xt.num_stops ? (jt = (ut = this.stepData) === null || ut === void 0 ? void 0 : ut.transit_information) === null || jt === void 0 ? void 0 : jt.num_stops : null, " ", this.translationsData.stops ? this.translationsData.stops : null)), this.showSubsteps());
|
|
@@ -32477,7 +32478,8 @@ const uae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
32477
32478
|
turnAround: "Turn around",
|
|
32478
32479
|
days: "d",
|
|
32479
32480
|
hours: "h",
|
|
32480
|
-
minutes: "min"
|
|
32481
|
+
minutes: "min",
|
|
32482
|
+
rideTheBus: "Ride the bus"
|
|
32481
32483
|
};
|
|
32482
32484
|
}
|
|
32483
32485
|
componentDidRender() {
|
|
@@ -71167,6 +71169,7 @@ function yj({ apiKey: e, onInitialized: i, center: o, zoom: u, bounds: d, headin
|
|
|
71167
71169
|
heading: _ ?? 0,
|
|
71168
71170
|
tilt: b ?? 0,
|
|
71169
71171
|
mapId: j,
|
|
71172
|
+
gestureHandling: "greedy",
|
|
71170
71173
|
...E
|
|
71171
71174
|
};
|
|
71172
71175
|
kr(E == null ? void 0 : E.showMapMarkers) || (ee.showMapMarkers = E.showMapMarkers);
|