@datagouv/components-next 1.0.2-dev.196 → 1.0.2-dev.197
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/{Datafair.client-B5S6jUM0.js → Datafair.client--IZYDcc-.js} +1 -1
- package/dist/{ImagePreview.client-Bud_7ZAe.js → ImagePreview.client-g7FMZPMq.js} +1 -1
- package/dist/{JsonPreview.client-CcbiaqLn.js → JsonPreview.client-BdB0FOO1.js} +2 -2
- package/dist/{MapContainer.client-BuEqCYhG.js → MapContainer.client-BT-vDpwp.js} +2 -2
- package/dist/{PdfPreview.client-BkmqtPwL.js → PdfPreview.client-BXr2vkwe.js} +2 -2
- package/dist/{Pmtiles.client-2ekE6L4s.js → Pmtiles.client-C5imIHi-.js} +1 -1
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-6SP7VFio.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-CDL_M0JO.js} +1 -1
- package/dist/{XmlPreview.client-CoMSGllV.js → XmlPreview.client-xEhDGqxd.js} +3 -3
- package/dist/components-next.js +1 -1
- package/dist/components.css +1 -1
- package/dist/{index-DxELxzUW.js → index-Bh0u3y-Z.js} +4504 -4306
- package/dist/{leaflet-src-K9O-7m9Z.js → leaflet-src-CUSMMz-a.js} +34 -34
- package/dist/{main-B03fYwPN.js → main-J2uwmRv6.js} +7505 -7163
- package/dist/{vue3-xml-viewer.common-BEL6n95l.js → vue3-xml-viewer.common-IPjY1Ugx.js} +16 -16
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as qo } from "./main-
|
|
1
|
+
import { g as qo } from "./main-J2uwmRv6.js";
|
|
2
2
|
function jo(Vt, qt) {
|
|
3
3
|
for (var l = 0; l < qt.length; l++) {
|
|
4
4
|
const it = qt[l];
|
|
@@ -52,7 +52,7 @@ function Yo() {
|
|
|
52
52
|
function P(t) {
|
|
53
53
|
return "_leaflet_id" in t || (t._leaflet_id = ++Je), t._leaflet_id;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function $e(t, e, i) {
|
|
56
56
|
var n, o, s, r;
|
|
57
57
|
return r = function() {
|
|
58
58
|
n = !1, o && (s.apply(i, o), o = !1);
|
|
@@ -85,7 +85,7 @@ function Yo() {
|
|
|
85
85
|
t.options[i] = e[i];
|
|
86
86
|
return t.options;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Qe(t, e, i) {
|
|
89
89
|
var n = [];
|
|
90
90
|
for (var o in t)
|
|
91
91
|
n.push(encodeURIComponent(i ? o.toUpperCase() : o) + "=" + encodeURIComponent(t[o]));
|
|
@@ -139,14 +139,14 @@ function Yo() {
|
|
|
139
139
|
return Je;
|
|
140
140
|
},
|
|
141
141
|
stamp: P,
|
|
142
|
-
throttle:
|
|
142
|
+
throttle: $e,
|
|
143
143
|
wrapNum: Ct,
|
|
144
144
|
falseFn: E,
|
|
145
145
|
formatNum: J,
|
|
146
146
|
trim: de,
|
|
147
147
|
splitWords: dt,
|
|
148
148
|
setOptions: C,
|
|
149
|
-
getParamString:
|
|
149
|
+
getParamString: Qe,
|
|
150
150
|
template: ti,
|
|
151
151
|
isArray: K,
|
|
152
152
|
indexOf: _e,
|
|
@@ -917,7 +917,7 @@ function Yo() {
|
|
|
917
917
|
}
|
|
918
918
|
return i || "M0 0";
|
|
919
919
|
}
|
|
920
|
-
var we = document.documentElement.style, Kt = "ActiveXObject" in window, Pn = Kt && !document.addEventListener, hi = "msLaunchUri" in navigator && !("documentMode" in document), xe =
|
|
920
|
+
var we = document.documentElement.style, Kt = "ActiveXObject" in window, Pn = Kt && !document.addEventListener, hi = "msLaunchUri" in navigator && !("documentMode" in document), xe = $("webkit"), ui = $("android"), li = $("android 2") || $("android 3"), Ln = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Tn = ui && $("Google") && Ln < 537 && !("AudioNode" in window), Pe = !!window.opera, ci = !hi && $("chrome"), fi = $("gecko") && !xe && !Pe && !Kt, bn = !ci && $("safari"), di = $("phantom"), _i = "OTransition" in we, Mn = navigator.platform.indexOf("Win") === 0, mi = Kt && "transition" in we, Le = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !li, pi = "MozPerspective" in we, Sn = !window.L_DISABLE_3D && (mi || Le || pi) && !_i && !di, Et = typeof orientation < "u" || $("mobile"), Cn = Et && xe, zn = Et && Le, vi = !window.PointerEvent && window.MSPointerEvent, gi = !!(window.PointerEvent || vi), yi = "ontouchstart" in window || !!window.TouchEvent, kn = !window.L_NO_TOUCH && (yi || gi), En = Et && Pe, Zn = Et && fi, On = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, In = (function() {
|
|
921
921
|
var t = !1;
|
|
922
922
|
try {
|
|
923
923
|
var e = Object.defineProperty({}, "passive", {
|
|
@@ -944,7 +944,7 @@ function Yo() {
|
|
|
944
944
|
return !1;
|
|
945
945
|
}
|
|
946
946
|
})(), Rn = navigator.platform.indexOf("Mac") === 0, Dn = navigator.platform.indexOf("Linux") === 0;
|
|
947
|
-
function
|
|
947
|
+
function $(t) {
|
|
948
948
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
|
949
949
|
}
|
|
950
950
|
var f = {
|
|
@@ -1062,9 +1062,9 @@ function Yo() {
|
|
|
1062
1062
|
function Yn(t, e) {
|
|
1063
1063
|
t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
|
|
1064
1064
|
}
|
|
1065
|
-
var Me =
|
|
1065
|
+
var Me = $t(
|
|
1066
1066
|
["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
|
|
1067
|
-
), Zt =
|
|
1067
|
+
), Zt = $t(
|
|
1068
1068
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
|
1069
1069
|
), Si = Zt === "webkitTransition" || Zt === "OTransition" ? Zt + "End" : "transitionend";
|
|
1070
1070
|
function Ci(t) {
|
|
@@ -1135,7 +1135,7 @@ function Yo() {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
e = Math.round(e * 100), i ? (i.Enabled = e !== 100, i.Opacity = e) : t.style.filter += " progid:" + n + "(opacity=" + e + ")";
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function $t(t) {
|
|
1139
1139
|
for (var e = document.documentElement.style, i = 0; i < t.length; i++)
|
|
1140
1140
|
if (t[i] in e)
|
|
1141
1141
|
return t[i];
|
|
@@ -1159,7 +1159,7 @@ function Yo() {
|
|
|
1159
1159
|
M(window, "selectstart", N);
|
|
1160
1160
|
};
|
|
1161
1161
|
else {
|
|
1162
|
-
var Bt =
|
|
1162
|
+
var Bt = $t(
|
|
1163
1163
|
["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
|
|
1164
1164
|
);
|
|
1165
1165
|
It = function() {
|
|
@@ -1177,14 +1177,14 @@ function Yo() {
|
|
|
1177
1177
|
function Ee() {
|
|
1178
1178
|
M(window, "dragstart", N);
|
|
1179
1179
|
}
|
|
1180
|
-
var
|
|
1180
|
+
var Qt, Ze;
|
|
1181
1181
|
function Oe(t) {
|
|
1182
1182
|
for (; t.tabIndex === -1; )
|
|
1183
1183
|
t = t.parentNode;
|
|
1184
|
-
t.style && (te(),
|
|
1184
|
+
t.style && (te(), Qt = t, Ze = t.style.outlineStyle, t.style.outlineStyle = "none", p(window, "keydown", te));
|
|
1185
1185
|
}
|
|
1186
1186
|
function te() {
|
|
1187
|
-
|
|
1187
|
+
Qt && (Qt.style.outlineStyle = Ze, Qt = void 0, Ze = void 0, M(window, "keydown", te));
|
|
1188
1188
|
}
|
|
1189
1189
|
function zi(t) {
|
|
1190
1190
|
do
|
|
@@ -1218,7 +1218,7 @@ function Yo() {
|
|
|
1218
1218
|
setClass: Ce,
|
|
1219
1219
|
getClass: Jt,
|
|
1220
1220
|
setOpacity: V,
|
|
1221
|
-
testProp:
|
|
1221
|
+
testProp: $t,
|
|
1222
1222
|
setTransform: _t,
|
|
1223
1223
|
setPosition: I,
|
|
1224
1224
|
getPosition: mt,
|
|
@@ -1246,10 +1246,10 @@ function Yo() {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
return this;
|
|
1248
1248
|
}
|
|
1249
|
-
var
|
|
1249
|
+
var Q = "_leaflet_events";
|
|
1250
1250
|
function M(t, e, i, n) {
|
|
1251
1251
|
if (arguments.length === 1)
|
|
1252
|
-
ki(t), delete t[
|
|
1252
|
+
ki(t), delete t[Q];
|
|
1253
1253
|
else if (e && typeof e == "object")
|
|
1254
1254
|
for (var o in e)
|
|
1255
1255
|
Ne(t, o, e[o], i);
|
|
@@ -1263,7 +1263,7 @@ function Yo() {
|
|
|
1263
1263
|
return this;
|
|
1264
1264
|
}
|
|
1265
1265
|
function ki(t, e) {
|
|
1266
|
-
for (var i in t[
|
|
1266
|
+
for (var i in t[Q]) {
|
|
1267
1267
|
var n = i.split(/\d/)[0];
|
|
1268
1268
|
(!e || e(n)) && Ne(t, n, null, null, i);
|
|
1269
1269
|
}
|
|
@@ -1275,21 +1275,21 @@ function Yo() {
|
|
|
1275
1275
|
};
|
|
1276
1276
|
function Be(t, e, i, n) {
|
|
1277
1277
|
var o = e + P(i) + (n ? "_" + P(n) : "");
|
|
1278
|
-
if (t[
|
|
1278
|
+
if (t[Q] && t[Q][o])
|
|
1279
1279
|
return this;
|
|
1280
1280
|
var s = function(a) {
|
|
1281
1281
|
return i.call(n || t, a || window.event);
|
|
1282
1282
|
}, r = s;
|
|
1283
1283
|
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? s = Fn(t, e, s) : f.touch && e === "dblclick" ? s = Kn(t, s) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(Ae[e] || e, s, f.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (s = function(a) {
|
|
1284
1284
|
a = a || window.event, De(t, a) && r(a);
|
|
1285
|
-
}, t.addEventListener(Ae[e], s, !1)) : t.addEventListener(e, r, !1) : t.attachEvent("on" + e, s), t[
|
|
1285
|
+
}, t.addEventListener(Ae[e], s, !1)) : t.addEventListener(e, r, !1) : t.attachEvent("on" + e, s), t[Q] = t[Q] || {}, t[Q][o] = s;
|
|
1286
1286
|
}
|
|
1287
1287
|
function Ne(t, e, i, n, o) {
|
|
1288
1288
|
o = o || e + P(i) + (n ? "_" + P(n) : "");
|
|
1289
|
-
var s = t[
|
|
1289
|
+
var s = t[Q] && t[Q][o];
|
|
1290
1290
|
if (!s)
|
|
1291
1291
|
return this;
|
|
1292
|
-
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? Hn(t, e, s) : f.touch && e === "dblclick" ? Yn(t, s) : "removeEventListener" in t ? t.removeEventListener(Ae[e] || e, s, !1) : t.detachEvent("on" + e, s), t[
|
|
1292
|
+
!f.touchNative && f.pointer && e.indexOf("touch") === 0 ? Hn(t, e, s) : f.touch && e === "dblclick" ? Yn(t, s) : "removeEventListener" in t ? t.removeEventListener(Ae[e] || e, s, !1) : t.detachEvent("on" + e, s), t[Q][o] = null;
|
|
1293
1293
|
}
|
|
1294
1294
|
function pt(t) {
|
|
1295
1295
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
|
@@ -1324,11 +1324,11 @@ function Yo() {
|
|
|
1324
1324
|
(t.clientY - n.top) / i.y - e.clientTop
|
|
1325
1325
|
);
|
|
1326
1326
|
}
|
|
1327
|
-
var
|
|
1327
|
+
var $n = f.linux && f.chrome ? window.devicePixelRatio : f.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
1328
1328
|
function Oi(t) {
|
|
1329
1329
|
return f.edge ? t.wheelDeltaY / 2 : (
|
|
1330
1330
|
// Don't trust window-geometry-based delta
|
|
1331
|
-
t.deltaY && t.deltaMode === 0 ? -t.deltaY /
|
|
1331
|
+
t.deltaY && t.deltaMode === 0 ? -t.deltaY / $n : (
|
|
1332
1332
|
// Pixels
|
|
1333
1333
|
t.deltaY && t.deltaMode === 1 ? -t.deltaY * 20 : (
|
|
1334
1334
|
// Lines
|
|
@@ -1364,7 +1364,7 @@ function Yo() {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
return i !== t;
|
|
1366
1366
|
}
|
|
1367
|
-
var
|
|
1367
|
+
var Qn = {
|
|
1368
1368
|
__proto__: null,
|
|
1369
1369
|
on: p,
|
|
1370
1370
|
off: M,
|
|
@@ -4875,7 +4875,7 @@ function Yo() {
|
|
|
4875
4875
|
this._tooltip.options.sticky && t.originalEvent && (i = this._map.mouseEventToContainerPoint(t.originalEvent), n = this._map.containerPointToLayerPoint(i), e = this._map.layerPointToLatLng(n)), this._tooltip.setLatLng(e);
|
|
4876
4876
|
}
|
|
4877
4877
|
});
|
|
4878
|
-
var
|
|
4878
|
+
var $i = Lt.extend({
|
|
4879
4879
|
options: {
|
|
4880
4880
|
// @section
|
|
4881
4881
|
// @aka DivIcon options
|
|
@@ -4905,7 +4905,7 @@ function Yo() {
|
|
|
4905
4905
|
}
|
|
4906
4906
|
});
|
|
4907
4907
|
function Eo(t) {
|
|
4908
|
-
return new
|
|
4908
|
+
return new $i(t);
|
|
4909
4909
|
}
|
|
4910
4910
|
Lt.Default = Ft;
|
|
4911
4911
|
var Ht = X.extend({
|
|
@@ -5028,7 +5028,7 @@ function Yo() {
|
|
|
5028
5028
|
zoom: this._resetView,
|
|
5029
5029
|
moveend: this._onMoveEnd
|
|
5030
5030
|
};
|
|
5031
|
-
return this.options.updateWhenIdle || (this._onMove || (this._onMove =
|
|
5031
|
+
return this.options.updateWhenIdle || (this._onMove || (this._onMove = $e(this._onMoveEnd, this.options.updateInterval, this)), t.move = this._onMove), this._zoomAnimated && (t.zoomanim = this._animateZoom), t;
|
|
5032
5032
|
},
|
|
5033
5033
|
// @section Extension methods
|
|
5034
5034
|
// Layers extending `GridLayer` shall reimplement the following method.
|
|
@@ -5431,7 +5431,7 @@ function Yo() {
|
|
|
5431
5431
|
return Ht.prototype._tileReady.call(this, t, e, i);
|
|
5432
5432
|
}
|
|
5433
5433
|
});
|
|
5434
|
-
function
|
|
5434
|
+
function Qi(t, e) {
|
|
5435
5435
|
return new Mt(t, e);
|
|
5436
5436
|
}
|
|
5437
5437
|
var tn = Mt.extend({
|
|
@@ -5484,7 +5484,7 @@ function Yo() {
|
|
|
5484
5484
|
},
|
|
5485
5485
|
getTileUrl: function(t) {
|
|
5486
5486
|
var e = this._tileCoordsToNwSe(t), i = this._crs, n = F(i.project(e[0]), i.project(e[1])), o = n.min, s = n.max, r = (this._wmsVersion >= 1.3 && this._crs === qi ? [o.y, o.x, s.y, s.x] : [o.x, o.y, s.x, s.y]).join(","), a = Mt.prototype.getTileUrl.call(this, t);
|
|
5487
|
-
return a +
|
|
5487
|
+
return a + Qe(this.wmsParams, a, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + r;
|
|
5488
5488
|
},
|
|
5489
5489
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
5490
5490
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
|
@@ -5495,7 +5495,7 @@ function Yo() {
|
|
|
5495
5495
|
function Oo(t, e) {
|
|
5496
5496
|
return new tn(t, e);
|
|
5497
5497
|
}
|
|
5498
|
-
Mt.WMS = tn,
|
|
5498
|
+
Mt.WMS = tn, Qi.wms = Oo;
|
|
5499
5499
|
var ht = X.extend({
|
|
5500
5500
|
// @section
|
|
5501
5501
|
// @aka Renderer options
|
|
@@ -6318,7 +6318,7 @@ function Yo() {
|
|
|
6318
6318
|
this._zooming = !1, G(this._animRequest), M(document, "touchmove", this._onTouchMove, this), M(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
6319
6319
|
}
|
|
6320
6320
|
});
|
|
6321
|
-
w.addInitHook("addHandler", "touchZoom", fn), w.BoxZoom = rn, w.DoubleClickZoom = an, w.Drag = hn, w.Keyboard = un, w.ScrollWheelZoom = ln, w.TapHold = cn, w.TouchZoom = fn, l.Bounds = z, l.Browser = f, l.CRS = ot, l.Canvas = en, l.Circle = qe, l.CircleMarker = ne, l.Class = nt, l.Control = Y, l.DivIcon =
|
|
6321
|
+
w.addInitHook("addHandler", "touchZoom", fn), w.BoxZoom = rn, w.DoubleClickZoom = an, w.Drag = hn, w.Keyboard = un, w.ScrollWheelZoom = ln, w.TapHold = cn, w.TouchZoom = fn, l.Bounds = z, l.Browser = f, l.CRS = ot, l.Canvas = en, l.Circle = qe, l.CircleMarker = ne, l.Class = nt, l.Control = Y, l.DivIcon = $i, l.DivOverlay = et, l.DomEvent = Qn, l.DomUtil = Jn, l.Draggable = ct, l.Evented = zt, l.FeatureGroup = st, l.GeoJSON = at, l.GridLayer = Ht, l.Handler = tt, l.Icon = Lt, l.ImageOverlay = he, l.LatLng = b, l.LatLngBounds = H, l.Layer = X, l.LayerGroup = Pt, l.LineUtil = fo, l.Map = w, l.Marker = ie, l.Mixin = ro, l.Path = ft, l.Point = m, l.PolyUtil = ao, l.Polygon = Tt, l.Polyline = rt, l.Popup = ue, l.PosAnimation = Ii, l.Projection = _o, l.Rectangle = sn, l.Renderer = ht, l.SVG = Ut, l.SVGOverlay = Ji, l.TileLayer = Mt, l.Tooltip = le, l.Transformation = ge, l.Util = yn, l.VideoOverlay = Xi, l.bind = S, l.bounds = F, l.canvas = nn, l.circle = Po, l.circleMarker = xo, l.control = Rt, l.divIcon = Eo, l.extend = x, l.featureGroup = go, l.geoJSON = Yi, l.geoJson = bo, l.gridLayer = Zo, l.icon = yo, l.imageOverlay = Mo, l.latLng = y, l.latLngBounds = O, l.layerGroup = vo, l.map = to, l.marker = wo, l.point = _, l.polygon = To, l.polyline = Lo, l.popup = zo, l.rectangle = Ao, l.setOptions = C, l.stamp = P, l.svg = on, l.svgOverlay = Co, l.tileLayer = Qi, l.tooltip = ko, l.transformation = kt, l.version = it, l.videoOverlay = So;
|
|
6322
6322
|
var No = window.L;
|
|
6323
6323
|
l.noConflict = function() {
|
|
6324
6324
|
return window.L = No, this;
|
|
@@ -6327,10 +6327,10 @@ function Yo() {
|
|
|
6327
6327
|
})(Gt, Gt.exports)), Gt.exports;
|
|
6328
6328
|
}
|
|
6329
6329
|
var vn = Yo();
|
|
6330
|
-
const Xo = /* @__PURE__ */ qo(vn),
|
|
6330
|
+
const Xo = /* @__PURE__ */ qo(vn), $o = /* @__PURE__ */ jo({
|
|
6331
6331
|
__proto__: null,
|
|
6332
6332
|
default: Xo
|
|
6333
6333
|
}, [vn]);
|
|
6334
6334
|
export {
|
|
6335
|
-
|
|
6335
|
+
$o as l
|
|
6336
6336
|
};
|