@datagouv/components-next 1.0.2-dev.230 → 1.0.2-dev.231
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/{ImagePreview.client-Db0MdI5N.js → ImagePreview.client-H7jGf9xS.js} +1 -1
- package/dist/{JsonPreview.client-DRCq40Q-.js → JsonPreview.client-CQSCGT6V.js} +1 -1
- package/dist/{Map-D17BKcyK.js → Map-QeL96qbQ.js} +1 -1
- package/dist/{MapContainer.client-DdPY_Iri.js → MapContainer.client-UC7wQOBj.js} +10 -10
- package/dist/{PdfPreview.client-DtKCBgGZ.js → PdfPreview.client-Cz_jnvla.js} +1 -1
- package/dist/{Pmtiles.client-DSZ_4FXc.js → Pmtiles.client-CSoax_YA.js} +2102 -2903
- package/dist/{PreviewWrapper-DegSQbMM.js → PreviewWrapper-DBlpLgs2.js} +1 -1
- package/dist/{XmlPreview.client-D9R_YF5s.js → XmlPreview.client-8vye8TAa.js} +1 -1
- package/dist/components-next.css +1 -1
- package/dist/components-next.js +4722 -4727
- package/dist/purify.es-CeeOHdER.js +805 -0
- package/dist/{resources-BOKIyTJV.js → resources-BBaRfEol.js} +13 -16
- package/dist/src-C0XyM3eg.js +68979 -0
- package/package.json +2 -2
- package/src/components/ResourceAccordion/EditButton.vue +1 -4
- package/src/components/ResourceAccordion/MapContainer.client.vue +18 -7
- package/src/components/ResourceAccordion/ResourceAccordion.vue +1 -6
- package/src/functions/resources.ts +0 -4
- package/src/types/resources.ts +0 -6
- package/dist/src-DbFybTVs.js +0 -66090
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as e, t } from "./PreviewUnavailable-BJkpCiyL.js";
|
|
2
2
|
import { bt as n } from "./vue-D62CcCib.js";
|
|
3
|
-
import { l as r } from "./resources-
|
|
3
|
+
import { l as r } from "./resources-BBaRfEol.js";
|
|
4
4
|
import { computed as i, createBlock as a, createElementBlock as o, createTextVNode as s, defineComponent as c, openBlock as l, ref as u, toDisplayString as d, unref as f, withCtx as p } from "vue";
|
|
5
5
|
//#region src/components/ResourceAccordion/ImagePreview.client.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var m = { class: "text-xs" }, h = ["src"], g = /* @__PURE__ */ c({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { bt as e } from "./vue-D62CcCib.js";
|
|
2
|
-
import { t } from "./PreviewWrapper-
|
|
2
|
+
import { t } from "./PreviewWrapper-DBlpLgs2.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
4
|
//#endregion
|
|
5
5
|
//#region src/components/ResourceAccordion/JsonPreview.client.vue
|
|
@@ -4062,4 +4062,4 @@ function Hi(e) {
|
|
|
4062
4062
|
};
|
|
4063
4063
|
}
|
|
4064
4064
|
//#endregion
|
|
4065
|
-
export {
|
|
4065
|
+
export { pn as A, Pt as B, bn as C, Fn as D, In as E, Mt as F, A as G, yt as H, Ft as I, k as K, Nt as L, Vt as M, Et as N, Pn as O, At as P, Bt as R, Cn as S, Sn as T, j as U, bt as V, it as W, gn as _, Di as a, vn as b, Rr as c, jr as d, Ar as f, wn as g, Rn as h, ki as i, M as j, An as k, Y as l, Bn as m, Ri as n, $ as o, kr as p, Pi as r, yi as s, Vi as t, Fr as u, hn as v, xn as w, yn as x, _n as y, Lt as z };
|
|
@@ -10,11 +10,11 @@ var p = /* @__PURE__ */ a({
|
|
|
10
10
|
async function v() {
|
|
11
11
|
let [{ default: e }, { default: t }, { default: n }, { default: r }, { default: i }, a] = await Promise.all([
|
|
12
12
|
import("./View-DWqx4Jqr.js").then((e) => e.n),
|
|
13
|
-
import("./Map-
|
|
13
|
+
import("./Map-QeL96qbQ.js").then((e) => e.n),
|
|
14
14
|
import("./ScaleLine-Cwwk9wJo.js"),
|
|
15
15
|
import("./Tile-BV44yf69.js").then((e) => e.n),
|
|
16
16
|
import("./OSM-DT4I7v8A.js"),
|
|
17
|
-
import("./src-
|
|
17
|
+
import("./src-C0XyM3eg.js")
|
|
18
18
|
]), { CRS: o, GeoportalAttribution: s, GeoportalFullScreen: c, GeoportalZoom: l, LayerImport: u, LayerSwitcher: d } = a;
|
|
19
19
|
await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), o.load(), h = new t({
|
|
20
20
|
target: g.value,
|
|
@@ -45,17 +45,17 @@ var p = /* @__PURE__ */ a({
|
|
|
45
45
|
position: "bottom-left",
|
|
46
46
|
listable: !0,
|
|
47
47
|
layerTypes: ["WMS"]
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
let
|
|
51
|
-
function
|
|
52
|
-
if (!
|
|
48
|
+
}), S = x;
|
|
49
|
+
S._serviceUrlImportInput.value = p.resource.url, S._formContainer.dispatchEvent(new CustomEvent("submit", { cancelable: !0 })), h.addControl(x);
|
|
50
|
+
let C = 20;
|
|
51
|
+
function w() {
|
|
52
|
+
if (!S._getCapResponseWMSLayers) C--, C > 0 ? setTimeout(w, 500) : _.value = !0;
|
|
53
53
|
else {
|
|
54
|
-
let e =
|
|
55
|
-
|
|
54
|
+
let e = S._getCapResponseWMSLayers.filter((e) => e.Name == p.resource.title)[0];
|
|
55
|
+
S._addGetCapWMSLayer(e);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
setTimeout(
|
|
58
|
+
setTimeout(w, 500);
|
|
59
59
|
}
|
|
60
60
|
return o(() => {
|
|
61
61
|
v();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { bt as e } from "./vue-D62CcCib.js";
|
|
2
2
|
import { t } from "./PdfSkeleton-5HBfBlXx.js";
|
|
3
|
-
import { t as n } from "./PreviewWrapper-
|
|
3
|
+
import { t as n } from "./PreviewWrapper-DBlpLgs2.js";
|
|
4
4
|
import { Fragment as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, onBeforeUnmount as u, openBlock as d, ref as f, renderList as p, unref as m, withCtx as h } from "vue";
|
|
5
5
|
//#region ../node_modules/pdfjs-dist/build/pdf.mjs
|
|
6
6
|
var g = {};
|