@datagouv/components-next 1.4.1-dev.1374.g4dfe0257 → 1.4.1-dev.1376.g1ed2bc83
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/{Control-CeBb5PEu.js → Control-DPuXeUqi.js} +3 -12
- package/dist/{Datafair.client-LChXlMI3.js → Datafair.client-LlEgG7WU.js} +2 -3
- package/dist/{Image-CBQwYbQB.js → Image-DVWRoLLI.js} +7 -22
- package/dist/{ImagePreview.client-DWNGZghK.js → ImagePreview.client-Db5dmxMP.js} +2 -3
- package/dist/{JsonPreview.client-DCklbUyJ.js → JsonPreview.client-DKy2AexC.js} +4 -6
- package/dist/{Layer-BPuffNS-.js → Layer-D_5tYbVm.js} +7 -9
- package/dist/{Map-QeL96qbQ.js → Map-CTBJEae_.js} +937 -967
- package/dist/{MapContainer.client-B-aQhH35.js → MapContainer.client-Clk9_bbS.js} +8 -10
- package/dist/{OSM-DT4I7v8A.js → OSM-B5Zc3qAf.js} +2 -3
- package/dist/{PdfPreview.client-1WFiBcXh.js → PdfPreview.client-D3wHTDb9.js} +130 -378
- package/dist/{PdfSkeleton-BvU7ERD1.js → PdfSkeleton-nas5Pmia.js} +2 -3
- package/dist/{Pmtiles.client-BlbOlwyy.js → Pmtiles.client-NGYdeSJY.js} +151 -350
- package/dist/{PreviewError-BfBCBDEx.js → PreviewError-EeaGx3SL.js} +6854 -6849
- package/dist/{PreviewWrapper-DvycGC7l.js → PreviewWrapper-BhldDdXK.js} +2 -3
- package/dist/{ScaleLine-Cwwk9wJo.js → ScaleLine-C_tuJ6VG.js} +3 -4
- package/dist/Tile-8nHSuqcv.js +571 -0
- package/dist/{Tile-4WpHaLOZ.js → Tile-Bu5lF4M5.js} +8 -13
- package/dist/{TileImage-CZZ4lgsm.js → TileImage-CgO5alXc.js} +105 -113
- package/dist/{View-DWqx4Jqr.js → View-Dad8DfSD.js} +25 -51
- package/dist/{XmlPreview.client-ClFD8R3a.js → XmlPreview.client-CmGbc3c3.js} +5 -7
- package/dist/assets/maplibre-gl-worker-CEzvAyZY.js +10 -0
- package/dist/components-next.js +9634 -10210
- package/dist/{en-C_qOt4Jn.js → en-OIaJCts4.js} +1 -2
- package/dist/{france-JfC0dOuE.js → france-BtSQqcqV.js} +5 -9
- package/dist/{hvd-ZlsiTVFh.js → hvd-CTia2VCz.js} +1 -2
- package/dist/{inspire-DZQ-yA5f.js → inspire-Cc-Kc4K-.js} +1 -2
- package/dist/{leaflet-src-lLkzhpcP.js → leaflet-src-BY_Zq0V0.js} +77 -126
- package/dist/{proj-DM6GW1n3.js → proj-COhZ08DR.js} +19 -37
- package/dist/{purify.es-D6pPunDo.js → purify.es-CGAWnSTR.js} +4 -27
- package/dist/{rolldown-runtime-CEFd7nDs.js → rolldown-runtime-DsPmjQRF.js} +2 -3
- package/dist/{sl-BxQ_ZY_w.js → sl-CKkMwQhf.js} +1 -2
- package/dist/{spd-Cs37HjuR.js → spd-Djcs02gw.js} +1 -2
- package/dist/{sr-JDtennFO.js → sr-DabGmchD.js} +1 -2
- package/dist/{src-D_UE0st7.js → src-D_o-aUzl.js} +1612 -2428
- package/dist/{text-clamp.esm-DRvX2Gzm.js → text-clamp.esm-DE3022VR.js} +3 -5
- package/dist/{transform-Ct1GejD-.js → transform-CNeEnSK9.js} +7 -13
- package/dist/{vue3-json-viewer-BJgUfh-l.js → vue3-json-viewer-CUx5EFVA.js} +1 -2
- package/dist/{vue3-xml-viewer.common-DbJwzvCC.js → vue3-xml-viewer.common-C0bbtsGT.js} +2 -3
- package/package.json +2 -2
- package/dist/Tile-BV44yf69.js +0 -574
- package/dist/assets/maplibre-gl-worker-C24SsKwV.js +0 -10
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
import { Rt as e, cn as t, on as n, qt as r } from "./proj-
|
|
2
|
-
|
|
1
|
+
import { Rt as e, cn as t, on as n, qt as r } from "./proj-COhZ08DR.js";
|
|
2
|
+
// ../node_modules/ol/MapEventType.js
|
|
3
3
|
var i = {
|
|
4
4
|
POSTRENDER: "postrender",
|
|
5
5
|
MOVESTART: "movestart",
|
|
6
6
|
MOVEEND: "moveend",
|
|
7
7
|
LOADSTART: "loadstart",
|
|
8
8
|
LOADEND: "loadend"
|
|
9
|
-
}, a = "ol-hidden", o = "ol-selectable", s = "ol-unselectable", c = "ol-unsupported", l = "ol-control", u = "ol-collapsed", d =
|
|
10
|
-
"^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)",
|
|
11
|
-
"(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)",
|
|
12
|
-
"(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)",
|
|
13
|
-
"(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?",
|
|
14
|
-
"(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))",
|
|
15
|
-
"(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))",
|
|
16
|
-
"?\\s*([-,\\\"\\'\\sa-z0-9]+?)\\s*$"
|
|
17
|
-
].join(""), "i"), f = [
|
|
9
|
+
}, a = "ol-hidden", o = "ol-selectable", s = "ol-unselectable", c = "ol-unsupported", l = "ol-control", u = "ol-collapsed", d = /* @__PURE__ */ RegExp("^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))?\\s*([-,\\\"\\'\\sa-z0-9]+?)\\s*$", "i"), f = [
|
|
18
10
|
"style",
|
|
19
11
|
"variant",
|
|
20
12
|
"weight",
|
|
@@ -64,5 +56,4 @@ var i = {
|
|
|
64
56
|
this.target_ = typeof e == "string" ? document.getElementById(e) : e;
|
|
65
57
|
}
|
|
66
58
|
};
|
|
67
|
-
//#endregion
|
|
68
59
|
export { o as a, p as c, a as i, m as l, u as n, s as o, l as r, c as s, h as t, i as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e, t } from "./PreviewError-
|
|
1
|
+
import { a as e, t } from "./PreviewError-EeaGx3SL.js";
|
|
2
2
|
import { computed as n, createBlock as r, createElementBlock as i, createElementVNode as a, defineComponent as o, openBlock as s } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/ResourceAccordion/Datafair.client.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var c = { class: "fr-text--xs" }, l = { key: 0 }, u = ["src"], d = /* @__PURE__ */ o({
|
|
5
5
|
__name: "Datafair.client",
|
|
6
6
|
props: {
|
|
@@ -24,5 +24,4 @@ var c = { class: "fr-text--xs" }, l = { key: 0 }, u = ["src"], d = /* @__PURE__
|
|
|
24
24
|
}, null, 8, ["resource", "error-type"]))]));
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
//#endregion
|
|
28
27
|
export { d as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ut as e, Yt as t, an as n, cn as r, sn as i } from "./proj-
|
|
2
|
-
|
|
1
|
+
import { Ut as e, Yt as t, an as n, cn as r, sn as i } from "./proj-COhZ08DR.js";
|
|
2
|
+
// ../node_modules/ol/has.js
|
|
3
3
|
var a = typeof navigator < "u" && navigator.userAgent !== void 0 ? navigator.userAgent.toLowerCase() : "";
|
|
4
4
|
a.includes("safari") && !a.includes("chrom") && (a.includes("version/15.4") || /cpu (os|iphone os) 15_4 like mac os x/.test(a));
|
|
5
5
|
var o = a.includes("webkit") && !a.includes("edge"), s = a.includes("macintosh"), c = typeof devicePixelRatio < "u" ? devicePixelRatio : 1, l = typeof WorkerGlobalScope < "u" && typeof OffscreenCanvas < "u" && self instanceof WorkerGlobalScope, u = typeof Image < "u" && Image.prototype.decode, d = typeof createImageBitmap == "function", f = (function() {
|
|
@@ -12,8 +12,7 @@ var o = a.includes("webkit") && !a.includes("edge"), s = a.includes("macintosh")
|
|
|
12
12
|
} catch {}
|
|
13
13
|
return e;
|
|
14
14
|
})();
|
|
15
|
-
|
|
16
|
-
//#region ../node_modules/ol/dom.js
|
|
15
|
+
// ../node_modules/ol/dom.js
|
|
17
16
|
function p(e, t, n, r) {
|
|
18
17
|
let i;
|
|
19
18
|
return i = n && n.length ? n.shift() : l ? new class extends OffscreenCanvas {
|
|
@@ -48,17 +47,7 @@ function x(e, t) {
|
|
|
48
47
|
for (let r = 0;; ++r) {
|
|
49
48
|
let i = n[r], a = t[r];
|
|
50
49
|
if (!i && !a) break;
|
|
51
|
-
|
|
52
|
-
if (!i) {
|
|
53
|
-
e.appendChild(a);
|
|
54
|
-
continue;
|
|
55
|
-
}
|
|
56
|
-
if (!a) {
|
|
57
|
-
e.removeChild(i), --r;
|
|
58
|
-
continue;
|
|
59
|
-
}
|
|
60
|
-
e.insertBefore(a, i);
|
|
61
|
-
}
|
|
50
|
+
i !== a && (i ? a ? e.insertBefore(a, i) : (e.removeChild(i), --r) : e.appendChild(a));
|
|
62
51
|
}
|
|
63
52
|
}
|
|
64
53
|
function S() {
|
|
@@ -86,8 +75,7 @@ function S() {
|
|
|
86
75
|
function C(e) {
|
|
87
76
|
return typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement || typeof OffscreenCanvas < "u" && e instanceof OffscreenCanvas;
|
|
88
77
|
}
|
|
89
|
-
|
|
90
|
-
//#region ../node_modules/ol/TileState.js
|
|
78
|
+
// ../node_modules/ol/TileState.js
|
|
91
79
|
var w = {
|
|
92
80
|
IDLE: 0,
|
|
93
81
|
LOADING: 1,
|
|
@@ -95,8 +83,7 @@ var w = {
|
|
|
95
83
|
ERROR: 3,
|
|
96
84
|
EMPTY: 4
|
|
97
85
|
};
|
|
98
|
-
|
|
99
|
-
//#region ../node_modules/ol/size.js
|
|
86
|
+
// ../node_modules/ol/size.js
|
|
100
87
|
function T(e) {
|
|
101
88
|
return e[0] > 0 && e[1] > 0;
|
|
102
89
|
}
|
|
@@ -106,8 +93,7 @@ function E(e, t, n) {
|
|
|
106
93
|
function D(e, t) {
|
|
107
94
|
return Array.isArray(e) ? e : (t === void 0 ? t = [e, e] : (t[0] = e, t[1] = e), t);
|
|
108
95
|
}
|
|
109
|
-
|
|
110
|
-
//#region ../node_modules/ol/ImageState.js
|
|
96
|
+
// ../node_modules/ol/ImageState.js
|
|
111
97
|
var O = {
|
|
112
98
|
IDLE: 0,
|
|
113
99
|
LOADING: 1,
|
|
@@ -189,5 +175,4 @@ function N(e, t) {
|
|
|
189
175
|
throw t;
|
|
190
176
|
}) : M(e);
|
|
191
177
|
}
|
|
192
|
-
//#endregion
|
|
193
178
|
export { o as C, f as S, b as _, O as a, c as b, D as c, S as d, h as f, g, _ as h, A as i, w as l, v as m, N as n, T as o, C as p, M as r, E as s, k as t, p as u, x as v, l as w, s as x, y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { H as e, L as t, _ as n, i as r, t as i } from "./PreviewError-
|
|
1
|
+
import { H as e, L as t, _ as n, i as r, t as i } from "./PreviewError-EeaGx3SL.js";
|
|
2
2
|
import { computed as a, createBlock as o, createElementBlock as s, defineComponent as c, openBlock as l, ref as u } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/ResourceAccordion/ImagePreview.client.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var d = { class: "text-xs" }, f = ["src"], p = /* @__PURE__ */ c({
|
|
5
5
|
__name: "ImagePreview.client",
|
|
6
6
|
props: {
|
|
@@ -32,5 +32,4 @@ var d = { class: "text-xs" }, f = ["src"], p = /* @__PURE__ */ c({
|
|
|
32
32
|
}, null, 40, f))]));
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
|
-
//#endregion
|
|
36
35
|
export { p as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { L as e } from "./PreviewError-
|
|
2
|
-
import { t } from "./PreviewWrapper-
|
|
1
|
+
import { L as e } from "./PreviewError-EeaGx3SL.js";
|
|
2
|
+
import { t } from "./PreviewWrapper-BhldDdXK.js";
|
|
3
3
|
import { createBlock as n, createVNode as r, defineAsyncComponent as i, defineComponent as a, openBlock as o, unref as s, withCtx as c } from "vue";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ResourceAccordion/JsonPreview.client.vue
|
|
4
|
+
// src/components/ResourceAccordion/JsonPreview.client.vue
|
|
6
5
|
var l = /* @__PURE__ */ a({
|
|
7
6
|
__name: "JsonPreview.client",
|
|
8
7
|
props: {
|
|
@@ -10,7 +9,7 @@ var l = /* @__PURE__ */ a({
|
|
|
10
9
|
canEdit: { type: Boolean }
|
|
11
10
|
},
|
|
12
11
|
setup(a) {
|
|
13
|
-
let l = i(() => import("./vue3-json-viewer-
|
|
12
|
+
let l = i(() => import("./vue3-json-viewer-CUx5EFVA.js").then((e) => (Promise.resolve({ }), e.JsonViewer))), u = a, d = e(), f = async () => {
|
|
14
13
|
let e = await fetch(u.resource.url);
|
|
15
14
|
if (!e.ok) throw Error(`HTTP error! status: ${e.status}`);
|
|
16
15
|
return e.json();
|
|
@@ -39,5 +38,4 @@ var l = /* @__PURE__ */ a({
|
|
|
39
38
|
]));
|
|
40
39
|
}
|
|
41
40
|
});
|
|
42
|
-
//#endregion
|
|
43
41
|
export { l as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as e, J as t, Rt as n, Wt as r, an as i, cn as a, kt as o, on as s, zt as c } from "./proj-
|
|
2
|
-
import { u as l } from "./Image-
|
|
3
|
-
import { S as u } from "./transform-
|
|
4
|
-
import { t as d } from "./View-
|
|
5
|
-
|
|
1
|
+
import { B as e, J as t, Rt as n, Wt as r, an as i, cn as a, kt as o, on as s, zt as c } from "./proj-COhZ08DR.js";
|
|
2
|
+
import { u as l } from "./Image-DVWRoLLI.js";
|
|
3
|
+
import { S as u } from "./transform-CNeEnSK9.js";
|
|
4
|
+
import { t as d } from "./View-Dad8DfSD.js";
|
|
5
|
+
// ../node_modules/ol/render/EventType.js
|
|
6
6
|
var f = {
|
|
7
7
|
PRERENDER: "prerender",
|
|
8
8
|
POSTRENDER: "postrender",
|
|
@@ -132,8 +132,7 @@ function I(e) {
|
|
|
132
132
|
let i = e[3] === void 0 ? 1 : Math.round(e[3] * 1e3) / 1e3;
|
|
133
133
|
return "rgba(" + t + "," + n + "," + r + "," + i + ")";
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
//#region ../node_modules/ol/render/Event.js
|
|
135
|
+
// ../node_modules/ol/render/Event.js
|
|
137
136
|
var L = class extends r {
|
|
138
137
|
constructor(e, t, n, r) {
|
|
139
138
|
super(e), this.inversePixelTransform = t, this.frameState = n, this.context = r;
|
|
@@ -255,7 +254,7 @@ var L = class extends r {
|
|
|
255
254
|
return e ? e.getState() : "undefined";
|
|
256
255
|
}
|
|
257
256
|
handleSourceChange_() {
|
|
258
|
-
this.changed(),
|
|
257
|
+
this.changed(), this.sourceReady_ || this.getSource().getState() !== "ready" || (this.sourceReady_ = !0, this.dispatchEvent("sourceready"));
|
|
259
258
|
}
|
|
260
259
|
handleSourcePropertyChange_() {
|
|
261
260
|
this.sourceChangeKey_ &&= (a(this.sourceChangeKey_), null), this.sourceReady_ = !1;
|
|
@@ -342,5 +341,4 @@ function V(e, t) {
|
|
|
342
341
|
let r = t.zoom;
|
|
343
342
|
return r > e.minZoom && r <= e.maxZoom;
|
|
344
343
|
}
|
|
345
|
-
//#endregion
|
|
346
344
|
export { p as a, P as c, I as d, D as f, L as i, N as l, V as n, F as o, f as p, z as r, C as s, B as t, M as u };
|