@revolugo/elements 7.10.0-alpha.45 → 7.10.0-alpha.46
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/index.es.min.js +1 -1
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.CnCjbusi.min.js → revolugo.banktransferdetails.DRAX6Qy8.min.js} +5 -5
- package/dist/{revolugo.bookingdetailssidebar.DUMH79Gk.min.js → revolugo.bookingdetailssidebar.BUEVGmOZ.min.js} +6 -6
- package/dist/{revolugo.bookingmanager.DZS8oroq.min.js → revolugo.bookingmanager.uyGIbicI.min.js} +5 -5
- package/dist/{revolugo.bookingpaymentform.nwWgnwN3.min.js → revolugo.bookingpaymentform.CWYPp_IJ.min.js} +5 -5
- package/dist/{revolugo.cancellationpoliciesbadge.B1nnzVDH.min.js → revolugo.cancellationpoliciesbadge.Bgzr_FdK.min.js} +5 -5
- package/dist/{revolugo.cancellationpolicieslist.C7K0oBNq.min.js → revolugo.cancellationpolicieslist.DitSUSLV.min.js} +5 -5
- package/dist/{revolugo.creditcardstripeform.DxbwwILj.min.js → revolugo.creditcardstripeform.BzfWgY7C.min.js} +4 -4
- package/dist/{revolugo.creditcardstripeform.BVT4nKYW.min.js → revolugo.creditcardstripeform.f9dfBBrT.min.js} +5 -5
- package/dist/{revolugo.currencypickerbtn.Dcq5memy.min.js → revolugo.currencypickerbtn.DkYDjT-P.min.js} +6 -6
- package/dist/{revolugo.dist.Bucrw6Zj.min.js → revolugo.dist.Dt4o-WEt.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.CBRhHZ7x.min.js → revolugo.fastbookingflow.Dk5I6TgW.min.js} +5 -5
- package/dist/{revolugo.framework.BER-dCzp.min.js → revolugo.framework.CsjoutPc.min.js} +2 -2
- package/dist/{revolugo.fullbookingflow.gURksqkB.min.js → revolugo.fullbookingflow.Bh_NsqMm.min.js} +5 -5
- package/dist/{revolugo.hoteldescriptionview.DLBg7cvX.min.js → revolugo.hoteldescriptionview.0AzlZ-PR.min.js} +5 -5
- package/dist/{revolugo.hotelofferlist.C3tEjWk4.min.js → revolugo.hotelofferlist.uldzzvGA.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.Dn9tFV0a.min.js → revolugo.hoteloffersearchmenu.xlhcaHD2.min.js} +5 -5
- package/dist/{revolugo.hoteloffersmap.CaGEQAPM.min.js → revolugo.hoteloffersmap.DqGWT09b.min.js} +5 -5
- package/dist/{revolugo.hoteloffersview.be8_Gx6G.min.js → revolugo.hoteloffersview.4cv0MwOW.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.BAr7_WNi.min.js → revolugo.hotelroomofferlist.sQNrqEtt.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersbookingflow.CrbWh2nu.min.js → revolugo.hotelroomoffersbookingflow.Dw_43erD.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.DtVbfUXz.min.js → revolugo.hotelroomoffersearchmenu.DlD2VwBz.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersview.D5Bp12Zt.min.js → revolugo.hotelroomoffersview.DicH3Rcv.min.js} +5 -5
- package/dist/{revolugo.langpickerbtn.UHpx9Z_H.min.js → revolugo.langpickerbtn.B-cA2ebx.min.js} +6 -6
- package/dist/{revolugo.leaflet-src.5-yo9CNW.min.js → revolugo.leaflet-src.CtLpIV-y.min.js} +33 -33
- package/dist/{revolugo.leaflet-src.esm.PiBUHl3B.min.js → revolugo.leaflet-src.esm.DzYPfo81.min.js} +63 -63
- package/dist/revolugo.min.js +51 -51
- package/dist/{revolugo.prebookform.DKE-i4DX.min.js → revolugo.prebookform.sl3dhZmE.min.js} +5 -5
- package/dist/{revolugo.preferencesmenu.DGtdqlEG.min.js → revolugo.preferencesmenu.Cac0rVrc.min.js} +5 -5
- package/dist/{revolugo.revolugo-config.B4dl9xoS.min.js → revolugo.revolugo-config.bir50dr8.min.js} +2 -2
- package/dist/{revolugo.revolugoelements.BoXUQIo0.min.js → revolugo.revolugoelements.Bj7K3pxg.min.js} +36 -36
- package/dist/{revolugo.roominglisteditor.DLu3Fn4b.min.js → revolugo.roominglisteditor.Bg--dmKm.min.js} +5 -5
- package/dist/{revolugo.storybooktoolbar.D4bEi8iv.min.js → revolugo.storybooktoolbar.Bf0fbBxW.min.js} +6 -6
- package/dist/{revolugo.termsandconditions.Dk27oV8I.min.js → revolugo.termsandconditions.DeTJwqBj.min.js} +5 -5
- package/dist/{revolugo.theme.BcbH-T2Z.min.js → revolugo.theme.lU8J-kVw.min.js} +3 -2
- package/dist/{revolugo.ui.BbnCa8T2.min.js → revolugo.ui.CHSkWaYJ.min.js} +1232 -1230
- package/dist/{revolugo.vtoolbar.CdnwB2Lk.min.js → revolugo.vtoolbar.BMfRuYj3.min.js} +3 -3
- package/dist/{revolugo.webcomponentwrapper.DGCdUUi4.min.js → revolugo.webcomponentwrapper.EuFzn0Bo.min.js} +3 -3
- package/dist/{revolugo2.preferencesmenu.Bs8a-QQb.min.js → revolugo2.preferencesmenu.ZtJnwUWe.min.js} +5 -5
- package/package.json +3 -3
|
@@ -44,7 +44,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
44
44
|
var n = i[1], o = i[0], s = n - o;
|
|
45
45
|
return t === n && e ? t : ((t - o) % s + s) % s + o;
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function k() {
|
|
48
48
|
return !1;
|
|
49
49
|
}
|
|
50
50
|
function X(t, i) {
|
|
@@ -113,7 +113,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
113
113
|
stamp: x,
|
|
114
114
|
throttle: Xi,
|
|
115
115
|
wrapNum: Mt,
|
|
116
|
-
falseFn:
|
|
116
|
+
falseFn: k,
|
|
117
117
|
formatNum: X,
|
|
118
118
|
trim: li,
|
|
119
119
|
splitWords: ct,
|
|
@@ -195,7 +195,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
195
195
|
var n, o, s;
|
|
196
196
|
if (this._events && (n = this._events[t], !!n)) {
|
|
197
197
|
if (arguments.length === 1) {
|
|
198
|
-
if (this._firingCount) for (o = 0, s = n.length; o < s; o++) n[o].fn =
|
|
198
|
+
if (this._firingCount) for (o = 0, s = n.length; o < s; o++) n[o].fn = k;
|
|
199
199
|
delete this._events[t];
|
|
200
200
|
return;
|
|
201
201
|
}
|
|
@@ -206,7 +206,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
206
206
|
var r = this._listens(t, i, e);
|
|
207
207
|
if (r !== !1) {
|
|
208
208
|
var a = n[r];
|
|
209
|
-
this._firingCount && (a.fn =
|
|
209
|
+
this._firingCount && (a.fn = k, this._events[t] = n = n.slice()), n.splice(r, 1);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
},
|
|
@@ -626,7 +626,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
626
626
|
var i = Object.defineProperty({}, "passive", { get: function() {
|
|
627
627
|
t = !0;
|
|
628
628
|
} });
|
|
629
|
-
window.addEventListener("testPassiveEventSupport",
|
|
629
|
+
window.addEventListener("testPassiveEventSupport", k, i), window.removeEventListener("testPassiveEventSupport", k, i);
|
|
630
630
|
} catch {
|
|
631
631
|
}
|
|
632
632
|
return t;
|
|
@@ -696,7 +696,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
696
696
|
touchcancel: Vt
|
|
697
697
|
}, vt = {}, Le = !1;
|
|
698
698
|
function Rn(t, i, e) {
|
|
699
|
-
return i === "touchstart" && Wn(), Pe[i] ? (e = Pe[i].bind(this, e), t.addEventListener(Pi[i], e, !1), e) : (console.warn("wrong event specified:", i),
|
|
699
|
+
return i === "touchstart" && Wn(), Pe[i] ? (e = Pe[i].bind(this, e), t.addEventListener(Pi[i], e, !1), e) : (console.warn("wrong event specified:", i), k);
|
|
700
700
|
}
|
|
701
701
|
function Nn(t, i, e) {
|
|
702
702
|
if (!Pi[i]) {
|
|
@@ -818,7 +818,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
818
818
|
bi(t, (s ? s + " " : "") + i);
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function E(t, i) {
|
|
822
822
|
t.classList !== void 0 ? t.classList.remove(i) : bi(t, li((" " + jt(t) + " ").replace(" " + i + " ", " ")));
|
|
823
823
|
}
|
|
824
824
|
function bi(t, i) {
|
|
@@ -919,7 +919,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
919
919
|
toBack: yt,
|
|
920
920
|
hasClass: Ti,
|
|
921
921
|
addClass: v,
|
|
922
|
-
removeClass:
|
|
922
|
+
removeClass: E,
|
|
923
923
|
setClass: bi,
|
|
924
924
|
getClass: jt,
|
|
925
925
|
setOpacity: G,
|
|
@@ -1573,7 +1573,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
1573
1573
|
this.fire("move");
|
|
1574
1574
|
},
|
|
1575
1575
|
_onPanTransitionEnd: function() {
|
|
1576
|
-
|
|
1576
|
+
E(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
|
|
1577
1577
|
},
|
|
1578
1578
|
_tryAnimatedPan: function(t, i) {
|
|
1579
1579
|
var e = this._getCenterOffset(t)._trunc();
|
|
@@ -1615,7 +1615,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
1615
1615
|
}), this._tempFireZoomEvent || (this._tempFireZoomEvent = this._zoom !== this._animateToZoom), this._move(this._animateToCenter, this._animateToZoom, void 0, !0), setTimeout(C(this._onZoomTransitionEnd, this), 250));
|
|
1616
1616
|
},
|
|
1617
1617
|
_onZoomTransitionEnd: function() {
|
|
1618
|
-
this._animatingZoom && (this._mapPane &&
|
|
1618
|
+
this._animatingZoom && (this._mapPane && E(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));
|
|
1619
1619
|
}
|
|
1620
1620
|
});
|
|
1621
1621
|
function Jn(t, i) {
|
|
@@ -1712,10 +1712,10 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
1712
1712
|
expand: function() {
|
|
1713
1713
|
v(this._container, "leaflet-control-layers-expanded"), this._section.style.height = null;
|
|
1714
1714
|
var t = this._map.getSize().y - (this._container.offsetTop + 50);
|
|
1715
|
-
return t < this._section.clientHeight ? (v(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = t + "px") :
|
|
1715
|
+
return t < this._section.clientHeight ? (v(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = t + "px") : E(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
|
|
1716
1716
|
},
|
|
1717
1717
|
collapse: function() {
|
|
1718
|
-
return
|
|
1718
|
+
return E(this._container, "leaflet-control-layers-expanded"), this;
|
|
1719
1719
|
},
|
|
1720
1720
|
_initLayout: function() {
|
|
1721
1721
|
var t = "leaflet-control-layers", i = this._container = P("div", t), e = this.options.collapsed;
|
|
@@ -1833,7 +1833,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
1833
1833
|
},
|
|
1834
1834
|
_updateDisabled: function() {
|
|
1835
1835
|
var t = this._map, i = "leaflet-disabled";
|
|
1836
|
-
|
|
1836
|
+
E(this._zoomInButton, i), E(this._zoomOutButton, i), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || t._zoom === t.getMinZoom()) && (v(this._zoomOutButton, i), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || t._zoom === t.getMaxZoom()) && (v(this._zoomInButton, i), this._zoomInButton.setAttribute("aria-disabled", "true"));
|
|
1837
1837
|
}
|
|
1838
1838
|
});
|
|
1839
1839
|
w.mergeOptions({ zoomControl: !0 }), w.addInitHook(function() {
|
|
@@ -1989,7 +1989,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
1989
1989
|
this._enabled && this.finishDrag();
|
|
1990
1990
|
},
|
|
1991
1991
|
finishDrag: function(t) {
|
|
1992
|
-
|
|
1992
|
+
E(document.body, "leaflet-dragging"), this._lastTarget && (E(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), M(document, "mousemove touchmove", this._onMove, this), M(document, "mouseup touchend touchcancel", this._onUp, this), Si(), Ot();
|
|
1993
1993
|
var i = this._moved && this._moving;
|
|
1994
1994
|
this._moving = !1, ut._dragging = !1, i && this.fire("dragend", {
|
|
1995
1995
|
noInertia: t,
|
|
@@ -2427,7 +2427,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
2427
2427
|
predrag: this._onPreDrag,
|
|
2428
2428
|
drag: this._onDrag,
|
|
2429
2429
|
dragend: this._onDragEnd
|
|
2430
|
-
}, this).disable(), this._marker._icon &&
|
|
2430
|
+
}, this).disable(), this._marker._icon && E(this._marker._icon, "leaflet-marker-draggable");
|
|
2431
2431
|
},
|
|
2432
2432
|
moved: function() {
|
|
2433
2433
|
return this._draggable && this._draggable._moved;
|
|
@@ -3059,7 +3059,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3059
3059
|
},
|
|
3060
3060
|
_initImage: function() {
|
|
3061
3061
|
var t = this._url.tagName === "IMG", i = this._image = t ? this._url : P("img");
|
|
3062
|
-
if (v(i, "leaflet-image-layer"), this._zoomAnimated && v(i, "leaflet-zoom-animated"), this.options.className && v(i, this.options.className), i.onselectstart =
|
|
3062
|
+
if (v(i, "leaflet-image-layer"), this._zoomAnimated && v(i, "leaflet-zoom-animated"), this.options.className && v(i, this.options.className), i.onselectstart = k, i.onmousemove = k, i.onload = C(this.fire, this, "load"), i.onerror = C(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (i.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), t) {
|
|
3063
3063
|
this._url = i.src;
|
|
3064
3064
|
return;
|
|
3065
3065
|
}
|
|
@@ -3099,7 +3099,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3099
3099
|
},
|
|
3100
3100
|
_initImage: function() {
|
|
3101
3101
|
var t = this._url.tagName === "VIDEO", i = this._image = t ? this._url : P("video");
|
|
3102
|
-
if (v(i, "leaflet-image-layer"), this._zoomAnimated && v(i, "leaflet-zoom-animated"), this.options.className && v(i, this.options.className), i.onselectstart =
|
|
3102
|
+
if (v(i, "leaflet-image-layer"), this._zoomAnimated && v(i, "leaflet-zoom-animated"), this.options.className && v(i, this.options.className), i.onselectstart = k, i.onmousemove = k, i.onloadeddata = C(this.fire, this, "load"), t) {
|
|
3103
3103
|
for (var e = i.getElementsByTagName("source"), n = [], o = 0; o < e.length; o++) n.push(e[o].src);
|
|
3104
3104
|
this._url = e.length > 0 ? n : [i.src];
|
|
3105
3105
|
return;
|
|
@@ -3116,7 +3116,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3116
3116
|
}
|
|
3117
3117
|
var Ye = oi.extend({ _initImage: function() {
|
|
3118
3118
|
var t = this._image = this._url;
|
|
3119
|
-
v(t, "leaflet-image-layer"), this._zoomAnimated && v(t, "leaflet-zoom-animated"), this.options.className && v(t, this.options.className), t.onselectstart =
|
|
3119
|
+
v(t, "leaflet-image-layer"), this._zoomAnimated && v(t, "leaflet-zoom-animated"), this.options.className && v(t, this.options.className), t.onselectstart = k, t.onmousemove = k;
|
|
3120
3120
|
} });
|
|
3121
3121
|
function To(t, i, e) {
|
|
3122
3122
|
return new Ye(t, i, e);
|
|
@@ -3145,7 +3145,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3145
3145
|
this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && G(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && G(this._container, 1), this.bringToFront(), this.options.interactive && (v(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
|
|
3146
3146
|
},
|
|
3147
3147
|
onRemove: function(t) {
|
|
3148
|
-
t._fadeAnimated ? (G(this._container, 0), this._removeTimeout = setTimeout(C(Z, void 0, this._container), 200)) : Z(this._container), this.options.interactive && (
|
|
3148
|
+
t._fadeAnimated ? (G(this._container, 0), this._removeTimeout = setTimeout(C(Z, void 0, this._container), 200)) : Z(this._container), this.options.interactive && (E(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
|
|
3149
3149
|
},
|
|
3150
3150
|
getLatLng: function() {
|
|
3151
3151
|
return this._latlng;
|
|
@@ -3275,7 +3275,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3275
3275
|
var e = t.offsetWidth;
|
|
3276
3276
|
e = Math.min(e, this.options.maxWidth), e = Math.max(e, this.options.minWidth), i.width = e + 1 + "px", i.whiteSpace = "", i.height = "";
|
|
3277
3277
|
var n = t.offsetHeight, o = this.options.maxHeight, s = "leaflet-popup-scrolled";
|
|
3278
|
-
o && n > o ? (i.height = o + "px", v(t, s)) :
|
|
3278
|
+
o && n > o ? (i.height = o + "px", v(t, s)) : E(t, s), this._containerWidth = this._container.offsetWidth;
|
|
3279
3279
|
},
|
|
3280
3280
|
_animateZoom: function(t) {
|
|
3281
3281
|
var i = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center), e = this._getAnchor();
|
|
@@ -3388,7 +3388,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3388
3388
|
},
|
|
3389
3389
|
_setPosition: function(t) {
|
|
3390
3390
|
var i, e, n = this._map, o = this._container, s = n.latLngToContainerPoint(n.getCenter()), r = n.layerPointToContainerPoint(t), a = this.options.direction, h = o.offsetWidth, u = o.offsetHeight, c = d(this.options.offset), _ = this._getAnchor();
|
|
3391
|
-
a === "top" ? (i = h / 2, e = u) : a === "bottom" ? (i = h / 2, e = 0) : a === "center" ? (i = h / 2, e = u / 2) : a === "right" ? (i = 0, e = u / 2) : a === "left" ? (i = h, e = u / 2) : r.x < s.x ? (a = "right", i = 0, e = u / 2) : (a = "left", i = h + (c.x + _.x) * 2, e = u / 2), t = t.subtract(d(i, e, !0)).add(c).add(_),
|
|
3391
|
+
a === "top" ? (i = h / 2, e = u) : a === "bottom" ? (i = h / 2, e = 0) : a === "center" ? (i = h / 2, e = u / 2) : a === "right" ? (i = 0, e = u / 2) : a === "left" ? (i = h, e = u / 2) : r.x < s.x ? (a = "right", i = 0, e = u / 2) : (a = "left", i = h + (c.x + _.x) * 2, e = u / 2), t = t.subtract(d(i, e, !0)).add(c).add(_), E(o, "leaflet-tooltip-right"), E(o, "leaflet-tooltip-left"), E(o, "leaflet-tooltip-top"), E(o, "leaflet-tooltip-bottom"), v(o, "leaflet-tooltip-" + a), I(o, t);
|
|
3392
3392
|
},
|
|
3393
3393
|
_updatePosition: function() {
|
|
3394
3394
|
var t = this._map.latLngToLayerPoint(this._latlng);
|
|
@@ -3596,7 +3596,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3596
3596
|
e && !this._noPrune && this._pruneTiles(), i && (U(this._fadeFrame), this._fadeFrame = D(this._updateOpacity, this));
|
|
3597
3597
|
}
|
|
3598
3598
|
},
|
|
3599
|
-
_onOpaqueTile:
|
|
3599
|
+
_onOpaqueTile: k,
|
|
3600
3600
|
_initContainer: function() {
|
|
3601
3601
|
this._container || (this._container = P("div", "leaflet-layer " + (this.options.className || "")), this._updateZIndex(), this.options.opacity < 1 && this._updateOpacity(), this.getPane().appendChild(this._container));
|
|
3602
3602
|
},
|
|
@@ -3606,12 +3606,12 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3606
3606
|
for (var e in this._levels)
|
|
3607
3607
|
e = Number(e), this._levels[e].el.children.length || e === t ? (this._levels[e].el.style.zIndex = i - Math.abs(t - e), this._onUpdateLevel(e)) : (Z(this._levels[e].el), this._removeTilesAtZoom(e), this._onRemoveLevel(e), delete this._levels[e]);
|
|
3608
3608
|
var n = this._levels[t], o = this._map;
|
|
3609
|
-
return n || (n = this._levels[t] = {}, n.el = P("div", "leaflet-tile-container leaflet-zoom-animated", this._container), n.el.style.zIndex = i, n.origin = o.project(o.unproject(o.getPixelOrigin()), t).round(), n.zoom = t, this._setZoomTransform(n, o.getCenter(), o.getZoom()), n.el.offsetWidth, this._onCreateLevel(n)), this._level = n, n;
|
|
3609
|
+
return n || (n = this._levels[t] = {}, n.el = P("div", "leaflet-tile-container leaflet-zoom-animated", this._container), n.el.style.zIndex = i, n.origin = o.project(o.unproject(o.getPixelOrigin()), t).round(), n.zoom = t, this._setZoomTransform(n, o.getCenter(), o.getZoom()), k(n.el.offsetWidth), this._onCreateLevel(n)), this._level = n, n;
|
|
3610
3610
|
}
|
|
3611
3611
|
},
|
|
3612
|
-
_onUpdateLevel:
|
|
3613
|
-
_onRemoveLevel:
|
|
3614
|
-
_onCreateLevel:
|
|
3612
|
+
_onUpdateLevel: k,
|
|
3613
|
+
_onRemoveLevel: k,
|
|
3614
|
+
_onCreateLevel: k,
|
|
3615
3615
|
_pruneTiles: function() {
|
|
3616
3616
|
if (this._map) {
|
|
3617
3617
|
var t, i, e = this._map.getZoom();
|
|
@@ -3765,7 +3765,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3765
3765
|
_initTile: function(t) {
|
|
3766
3766
|
v(t, "leaflet-tile");
|
|
3767
3767
|
var i = this.getTileSize();
|
|
3768
|
-
t.style.width = i.x + "px", t.style.height = i.y + "px", t.onselectstart =
|
|
3768
|
+
t.style.width = i.x + "px", t.style.height = i.y + "px", t.onselectstart = k, t.onmousemove = k, f.ielt9 && this.options.opacity < 1 && G(t, this.options.opacity);
|
|
3769
3769
|
},
|
|
3770
3770
|
_addTile: function(t, i) {
|
|
3771
3771
|
var e = this._getTilePos(t), n = this._tileCoordsToKey(t), o = this.createTile(this._wrapCoords(t), C(this._tileReady, this, t));
|
|
@@ -3866,7 +3866,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
3866
3866
|
},
|
|
3867
3867
|
_abortLoading: function() {
|
|
3868
3868
|
var t, i;
|
|
3869
|
-
for (t in this._tiles) if (this._tiles[t].coords.z !== this._tileZoom && (i = this._tiles[t].el, i.onload =
|
|
3869
|
+
for (t in this._tiles) if (this._tiles[t].coords.z !== this._tileZoom && (i = this._tiles[t].el, i.onload = k, i.onerror = k, !i.complete)) {
|
|
3870
3870
|
i.src = Ut;
|
|
3871
3871
|
var e = this._tiles[t].coords;
|
|
3872
3872
|
Z(i), delete this._tiles[t], this.fire("tileabort", {
|
|
@@ -4118,7 +4118,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
4118
4118
|
},
|
|
4119
4119
|
_handleMouseOut: function(t) {
|
|
4120
4120
|
var i = this._hoveredLayer;
|
|
4121
|
-
i && (
|
|
4121
|
+
i && (E(this._container, "leaflet-interactive"), this._fireEvent([i], t, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
|
|
4122
4122
|
},
|
|
4123
4123
|
_handleMouseHover: function(t, i) {
|
|
4124
4124
|
if (!this._mouseHoverThrottled) {
|
|
@@ -4328,7 +4328,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
4328
4328
|
I(this._box, i.min), this._box.style.width = e.x + "px", this._box.style.height = e.y + "px";
|
|
4329
4329
|
},
|
|
4330
4330
|
_finish: function() {
|
|
4331
|
-
this._moved && (Z(this._box),
|
|
4331
|
+
this._moved && (Z(this._box), E(this._container, "leaflet-crosshair")), Ot(), Si(), M(document, {
|
|
4332
4332
|
contextmenu: mt,
|
|
4333
4333
|
mousemove: this._onMouseMove,
|
|
4334
4334
|
mouseup: this._onMouseUp,
|
|
@@ -4381,7 +4381,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
4381
4381
|
v(this._map._container, "leaflet-grab leaflet-touch-drag"), this._draggable.enable(), this._positions = [], this._times = [];
|
|
4382
4382
|
},
|
|
4383
4383
|
removeHooks: function() {
|
|
4384
|
-
|
|
4384
|
+
E(this._map._container, "leaflet-grab"), E(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
|
|
4385
4385
|
},
|
|
4386
4386
|
moved: function() {
|
|
4387
4387
|
return this._draggable && this._draggable._moved;
|
|
@@ -4616,7 +4616,7 @@ var Wo = /* @__PURE__ */ Do(((ui, dn) => {
|
|
|
4616
4616
|
v(this._map._container, "leaflet-touch-zoom"), p(this._map._container, "touchstart", this._onTouchStart, this);
|
|
4617
4617
|
},
|
|
4618
4618
|
removeHooks: function() {
|
|
4619
|
-
|
|
4619
|
+
E(this._map._container, "leaflet-touch-zoom"), M(this._map._container, "touchstart", this._onTouchStart, this);
|
|
4620
4620
|
},
|
|
4621
4621
|
_onTouchStart: function(t) {
|
|
4622
4622
|
var i = this._map;
|
|
@@ -4662,4 +4662,4 @@ export {
|
|
|
4662
4662
|
Wo as t
|
|
4663
4663
|
};
|
|
4664
4664
|
|
|
4665
|
-
//# sourceMappingURL=revolugo.leaflet-src.
|
|
4665
|
+
//# sourceMappingURL=revolugo.leaflet-src.CtLpIV-y.min.js.map
|