@datagouv/components-next 1.0.2-dev.116 → 1.0.2-dev.117
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-BH351yV9.js → Datafair.client-BrQPObQE.js} +1 -1
- package/dist/{JsonPreview.client-CawLfTe_.js → JsonPreview.client-1IGVQ08V.js} +2 -2
- package/dist/{MapContainer.client-DN8kHTOA.js → MapContainer.client-CZzHdzlZ.js} +2 -2
- package/dist/{PdfPreview.client-BGOycK0h.js → PdfPreview.client-DqQGGYo_.js} +2 -2
- package/dist/{Pmtiles.client-CRaI4U8S.js → Pmtiles.client-BARkmNXd.js} +1 -1
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-DAddoRna.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-BVXRRGR-.js} +1 -1
- package/dist/{XmlPreview.client-Dyv0J4kw.js → XmlPreview.client-BaVAAiZe.js} +3 -3
- package/dist/components-next.css +1 -1
- package/dist/components-next.js +1 -1
- package/dist/{index-_qLRU0Z5.js → index-C8S0AX5n.js} +1 -1
- package/dist/{leaflet-src-D_sX6kLJ.js → leaflet-src-CTUz9_o9.js} +1 -1
- package/dist/{main-CR8bhz_w.js → main-BpO1p4v0.js} +10 -10
- package/dist/{vue3-xml-viewer.common-DRgxPToX.js → vue3-xml-viewer.common-BmpkRVgr.js} +1 -1
- package/package.json +1 -1
- package/src/components/ResourceAccordion/ResourceAccordion.vue +1 -1
package/dist/components-next.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as t, m as r, n as o, o as i, p as n, q as c, r as l, l as b, C as u, b as g, c as d, D as T, d as p, s as C, e as S, t as D, u as m, v as O, w as R, x as f, y as E, z as I, B as y, E as h, F as A, G as M, H as L, f as v, g as z, I as P, J as w, K as F, M as G, N, L as _, S as k, V as x, W as B, X as U, Y as H, Z as V, $ as Q, O as W, h as j, a0 as Y, a1 as X, a2 as q, a3 as J, a4 as K, a5 as Z, a6 as $, a7 as aa, P as sa, a8 as ea, a9 as ta, aa as ra, ab as oa, ac as ia, R as na, ad as ca, ae as la, af as ba, i as ua, ag as ga, ah as da, ai as Ta, aj as pa, ak as Ca, al as Sa, am as Da, an as ma, ao as Oa, ap as Ra, aq as fa, ar as Ea, as as Ia, at as ya, T as ha, au as Aa, j as Ma, av as La, aw as va, ax as za, ay as Pa, k as wa, az as Fa, aA as Ga, aB as Na, aC as _a, U as ka, aD as xa, aE as Ba, aF as Ua, aG as Ha, aI as Va, aJ as Qa, aK as Wa, aL as ja, aM as Ya, aN as Xa, aO as qa, aP as Ja, aQ as Ka, aR as Za, aS as $a, aT as as, aU as ss, aV as es, aW as ts, aX as rs, aZ as os, a_ as is, a$ as ns, b0 as cs, b1 as ls, b2 as bs, b3 as us, b5 as gs, b6 as ds, b7 as Ts, b8 as ps, b9 as Cs, ba as Ss, bb as Ds, bc as ms, bd as Os, be as Rs, bf as fs, bg as Es, bh as Is, bi as ys, bj as hs, bk as As, bl as Ms, bm as Ls, bn as vs, bo as zs, bp as Ps, bq as ws, br as Fs, bs as Gs, bt as Ns, bu as _s, bv as ks, bw as xs, bx as Bs, by as Us, bz as Hs, bA as Vs, bB as Qs, bC as Ws, bD as js, bE as Ys, bF as Xs, bF as qs, bG as Js, bH as Ks, bI as Zs, bJ as $s, bK as ae, bL as se, bM as ee, bN as te, bO as re, bP as oe, bQ as ie, bR as ne, bS as ce, bT as le, bU as be, bV as ue, bW as ge, bX as de, bY as Te, bZ as pe, b_ as Ce, b$ as Se, c0 as De, c1 as me, c2 as Oe } from "./main-
|
|
1
|
+
import { A as e, a as t, m as r, n as o, o as i, p as n, q as c, r as l, l as b, C as u, b as g, c as d, D as T, d as p, s as C, e as S, t as D, u as m, v as O, w as R, x as f, y as E, z as I, B as y, E as h, F as A, G as M, H as L, f as v, g as z, I as P, J as w, K as F, M as G, N, L as _, S as k, V as x, W as B, X as U, Y as H, Z as V, $ as Q, O as W, h as j, a0 as Y, a1 as X, a2 as q, a3 as J, a4 as K, a5 as Z, a6 as $, a7 as aa, P as sa, a8 as ea, a9 as ta, aa as ra, ab as oa, ac as ia, R as na, ad as ca, ae as la, af as ba, i as ua, ag as ga, ah as da, ai as Ta, aj as pa, ak as Ca, al as Sa, am as Da, an as ma, ao as Oa, ap as Ra, aq as fa, ar as Ea, as as Ia, at as ya, T as ha, au as Aa, j as Ma, av as La, aw as va, ax as za, ay as Pa, k as wa, az as Fa, aA as Ga, aB as Na, aC as _a, U as ka, aD as xa, aE as Ba, aF as Ua, aG as Ha, aI as Va, aJ as Qa, aK as Wa, aL as ja, aM as Ya, aN as Xa, aO as qa, aP as Ja, aQ as Ka, aR as Za, aS as $a, aT as as, aU as ss, aV as es, aW as ts, aX as rs, aZ as os, a_ as is, a$ as ns, b0 as cs, b1 as ls, b2 as bs, b3 as us, b5 as gs, b6 as ds, b7 as Ts, b8 as ps, b9 as Cs, ba as Ss, bb as Ds, bc as ms, bd as Os, be as Rs, bf as fs, bg as Es, bh as Is, bi as ys, bj as hs, bk as As, bl as Ms, bm as Ls, bn as vs, bo as zs, bp as Ps, bq as ws, br as Fs, bs as Gs, bt as Ns, bu as _s, bv as ks, bw as xs, bx as Bs, by as Us, bz as Hs, bA as Vs, bB as Qs, bC as Ws, bD as js, bE as Ys, bF as Xs, bF as qs, bG as Js, bH as Ks, bI as Zs, bJ as $s, bK as ae, bL as se, bM as ee, bN as te, bO as re, bP as oe, bQ as ie, bR as ne, bS as ce, bT as le, bU as be, bV as ue, bW as ge, bX as de, bY as Te, bZ as pe, b_ as Ce, b$ as Se, c0 as De, c1 as me, c2 as Oe } from "./main-BpO1p4v0.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AI_SUGGESTION_MIN_DESCRIPTION_LENGTH,
|
|
4
4
|
t as ASSOCIATION,
|
|
@@ -6,7 +6,7 @@ import { T as TileGrid, U as UrlTile, g as extentFromProjection, e as createXYZ,
|
|
|
6
6
|
import { D as DEFAULT_MAX_ZOOM, c as assert, i as forEach, l as intersectsLineString, m as intersectsLineStringArray, s as linearRingssContainsXY, p as intersectsLinearRingMultiArray, d as compose, e as create, b as apply, x as setFromArray, u as multiply, w as scale, v as reset, z as translate } from "./common-C8efyyuc.js";
|
|
7
7
|
import { R as RBush$1, a as Collection, b as CollectionEventType, m as asColorLike, p as defaultFillStyle, z as defaultStrokeStyle, r as defaultLineCap, s as defaultLineDash, t as defaultLineDashOffset, u as defaultLineJoin, v as defaultLineWidth, w as defaultMiterLimit, y as defaultStrokeOffset, x as defaultPadding, E as defaultTextBaseline, D as defaultTextAlign, q as defaultFont, Q as registerFont, H as getTextDimensions, G as drawImageOrLabel, J as measureAndCacheTextWidth, I as Icon, B as BaseVectorLayer, P as PointerInteraction, L as noModifierKeys, l as always, U as shiftKeyOnly, e as InteractionProperty, h as MapBrowserEventType, g as MapBrowserEvent, K as never, o as createEditingStyle, O as primaryAction, k as altKeyOnly, V as singleClick, d as Interaction, F as Fill, S as Stroke, T as Text, j as Style$1, C as CircleStyle, n as checkedFonts, M as Map$1, N as pointerMove, c as ImageStyle, A as Attribution, Z as Zoom, i as MapProperty } from "./Map-CtP7leHl.js";
|
|
8
8
|
import { S as SimpleGeometry, C as maxSquaredDelta, h as assignClosestPoint, v as inflateCoordinates, o as douglasPeucker, k as deflateCoordinates, e as arrayMaxSquaredDelta, f as assignClosestArrayPoint, w as inflateCoordinatesArray, p as douglasPeuckerArray, l as deflateCoordinatesArray, P as Point$1, D as multiArrayMaxSquaredDelta, g as assignClosestMultiArrayPoint, A as linearRingss$1, F as orientLinearRingsArray, y as inflateMultiCoordinatesArray, s as getInteriorPointsOfMultiArray, B as linearRingssAreOriented, I as quantizeMultiArray, a as Polygon, m as deflateMultiCoordinatesArray, r as getInteriorPointOfArray, x as inflateEnds, M as transform2D, H as quantizeArray, j as deflateCoordinate, J as rotate, K as snap, N as transformGeom2D, c as ViewHint, G as Geometry, u as getStrideForLayout, z as linearRingsAreOriented, E as orientLinearRings, t as getLayoutForStride, i as circular, L as LinearRing, V as View, d as ViewProperty, q as fromExtent } from "./View-vp7vDb9q.js";
|
|
9
|
-
import { aH as commonjsGlobal, b4 as getDefaultExportFromCjs$1 } from "./main-
|
|
9
|
+
import { aH as commonjsGlobal, b4 as getDefaultExportFromCjs$1 } from "./main-BpO1p4v0.js";
|
|
10
10
|
import { a as RenderEventType, b as asArray, B as BaseLayer } from "./Event-py_AAwJY.js";
|
|
11
11
|
import { Z as ZIndexContext, C as CanvasLayerRenderer, d as canvasPool$1, b as TileLayer, a as CanvasTileLayerRenderer, c as TileProperty } from "./Tile-D6rFonpT.js";
|
|
12
12
|
function padNumber(i, e, t) {
|
|
@@ -50877,7 +50877,7 @@ const IP = { class: "space-y-1 py-6" }, PP = { class: "flex items-center space-x
|
|
|
50877
50877
|
const t = e, i = X(null);
|
|
50878
50878
|
return i2(async () => {
|
|
50879
50879
|
await Promise.resolve({ });
|
|
50880
|
-
const r = await import("./leaflet-src-
|
|
50880
|
+
const r = await import("./leaflet-src-CTUz9_o9.js").then((a) => a.l);
|
|
50881
50881
|
if (!i.value) return;
|
|
50882
50882
|
const n = r.map(i.value);
|
|
50883
50883
|
r.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
|
|
@@ -58261,7 +58261,7 @@ const fG = {
|
|
|
58261
58261
|
canEdit: { type: Boolean, default: !1 }
|
|
58262
58262
|
},
|
|
58263
58263
|
setup(e) {
|
|
58264
|
-
const t = ["url", "doi", "www:link", " www:link-1.0-http--link", "www:link-1.0-http--partners", "www:link-1.0-http--related", "www:link-1.0-http--samples"], i = e, r = b2(), n = Et(() => import("./MapContainer.client-
|
|
58264
|
+
const t = ["url", "doi", "www:link", " www:link-1.0-http--link", "www:link-1.0-http--partners", "www:link-1.0-http--related", "www:link-1.0-http--samples"], i = e, r = b2(), n = Et(() => import("./MapContainer.client-CZzHdzlZ.js")), l = Et(() => import("./Pmtiles.client-BARkmNXd.js")), a = Et(() => import("./JsonPreview.client-1IGVQ08V.js")), c = Et(() => import("./PdfPreview.client-DqQGGYo_.js")), u = Et(() => import("./XmlPreview.client-BaVAAiZe.js")), h = Et(() => import("./Datafair.client-BrQPObQE.js")), { t: d } = z1(), { formatRelativeIfRecentDate: p } = ut(), C = bf(), g = A(() => {
|
|
58265
58265
|
const d1 = i.resource.format?.toLowerCase();
|
|
58266
58266
|
return d1 === "json" || d1 === "pdf" || d1 === "xml";
|
|
58267
58267
|
}), m = A(() => C(i.resource)), f = A(() => i.resource.extras["analysis:parsing:pmtiles_url"] || i.resource.format === "pmtiles"), x = A(() => E9(i.dataset.organization) && i.resource.extras.datafairEmbed), y = A(() => E9(i.dataset.organization) && i.resource.extras.apidocUrl), v = A(() => Tl(i.resource.format) ? i.resource.format : d("Fichier")), V = A(() => Mf(i.resource)), N = A(() => V.value === "wms"), z = X(i.expandedOnMount), M = () => {
|
|
@@ -58520,7 +58520,7 @@ const fG = {
|
|
|
58520
58520
|
dataset: e.dataset
|
|
58521
58521
|
}, null, 8, ["resource", "dataset"])
|
|
58522
58522
|
])) : W("", !0),
|
|
58523
|
-
I.key === "
|
|
58523
|
+
I.key === "api" ? (H(), E("div", dK, [
|
|
58524
58524
|
S("div", pK, [
|
|
58525
58525
|
S("p", null, _(L(d)("Cette API est générée automatiquement par {platform} à partir du fichier.", { platform: L(r).name })), 1),
|
|
58526
58526
|
S("p", null, _(L(d)("- Si le fichier est modifié, l'API sera mise à jour et sa structure pourra changer.")), 1),
|
|
@@ -58544,7 +58544,7 @@ const fG = {
|
|
|
58544
58544
|
], 8, rK)) : W("", !0)
|
|
58545
58545
|
], 2));
|
|
58546
58546
|
}
|
|
58547
|
-
}), ti1 = /* @__PURE__ */ xe(CK, [["__scopeId", "data-v-
|
|
58547
|
+
}), ti1 = /* @__PURE__ */ xe(CK, [["__scopeId", "data-v-23e78ab9"]]), gK = ["placeholder"], fK = {
|
|
58548
58548
|
key: 1,
|
|
58549
58549
|
class: "list-none p-0 m-0 space-y-0.5 max-h-80 overflow-y-auto"
|
|
58550
58550
|
}, mK = ["onClick"], wK = { class: "truncate" }, LK = {
|
|
@@ -60087,17 +60087,17 @@ const $K = /* @__PURE__ */ o({
|
|
|
60087
60087
|
async setup(e, { emit: t }) {
|
|
60088
60088
|
let i, r;
|
|
60089
60089
|
const n = Et(
|
|
60090
|
-
() => import("./JsonPreview.client-
|
|
60090
|
+
() => import("./JsonPreview.client-1IGVQ08V.js")
|
|
60091
60091
|
), l = Et(
|
|
60092
|
-
() => import("./PdfPreview.client-
|
|
60092
|
+
() => import("./PdfPreview.client-DqQGGYo_.js")
|
|
60093
60093
|
), a = Et(
|
|
60094
|
-
() => import("./XmlPreview.client-
|
|
60094
|
+
() => import("./XmlPreview.client-BaVAAiZe.js")
|
|
60095
60095
|
), c = Et(
|
|
60096
|
-
() => import("./Datafair.client-
|
|
60096
|
+
() => import("./Datafair.client-BrQPObQE.js")
|
|
60097
60097
|
), u = Et(
|
|
60098
|
-
() => import("./MapContainer.client-
|
|
60098
|
+
() => import("./MapContainer.client-CZzHdzlZ.js")
|
|
60099
60099
|
), h = Et(
|
|
60100
|
-
() => import("./Pmtiles.client-
|
|
60100
|
+
() => import("./Pmtiles.client-BARkmNXd.js")
|
|
60101
60101
|
), d = e, p = t, { t: C } = z1(), g = b2(), { formatRelativeIfRecentDate: m } = ut(), {
|
|
60102
60102
|
hasTabularData: f,
|
|
60103
60103
|
hasPmtiles: x,
|
package/package.json
CHANGED