@datagouv/components-next 1.0.2-dev.62 → 1.0.2-dev.63
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-CZBhcl2N.js → Datafair.client-P2fVHPsE.js} +1 -1
- package/dist/{JsonPreview.client-BFXc8Yds.js → JsonPreview.client-BQG4CJTf.js} +2 -2
- package/dist/{MapContainer.client-DXvpJcmy.js → MapContainer.client-BKlK14EZ.js} +2 -2
- package/dist/{PdfPreview.client-C4rWJaSZ.js → PdfPreview.client-C6LIukqm.js} +2 -2
- package/dist/{Pmtiles.client-ByvF0n7m.js → Pmtiles.client-B8A2CXdm.js} +1 -1
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-B6mL96Bm.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-CwP0rK2R.js} +1 -1
- package/dist/{XmlPreview.client-aAATX5FP.js → XmlPreview.client-C3CQUdEa.js} +3 -3
- package/dist/components-next.js +1 -1
- package/dist/{index-9wBlcysa.js → index-C68_gb_d.js} +1 -1
- package/dist/{main-DSV-Ai-o.js → main-BcqenM8i.js} +9 -8
- package/dist/{vue3-xml-viewer.common-EQMYhxMa.js → vue3-xml-viewer.common-BS7y248F.js} +1 -1
- package/package.json +1 -1
- package/src/components/Search/GlobalSearch.vue +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, computed as a, createElementBlock as o, openBlock as t, createBlock as u, createElementVNode as f, withCtx as p, createTextVNode as m, toDisplayString as _, unref as h } from "vue";
|
|
2
|
-
import { a as x, _ as g } from "./main-
|
|
2
|
+
import { a as x, _ as g } from "./main-BcqenM8i.js";
|
|
3
3
|
const v = { class: "fr-text--xs" }, b = { key: 0 }, k = ["src"], $ = /* @__PURE__ */ l({
|
|
4
4
|
__name: "Datafair.client",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, defineAsyncComponent as u, createBlock as m, openBlock as p, unref as r, withCtx as f, createVNode as l } from "vue";
|
|
2
|
-
import { u as d } from "./main-
|
|
3
|
-
import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as d } from "./main-BcqenM8i.js";
|
|
3
|
+
import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-CwP0rK2R.js";
|
|
4
4
|
const J = /* @__PURE__ */ c({
|
|
5
5
|
__name: "JsonPreview.client",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as E, useTemplateRef as G, ref as W, onMounted as B, createBlock as z, createElementBlock as N, openBlock as m, withCtx as U, createTextVNode as V, toDisplayString as q, unref as A } from "vue";
|
|
2
|
-
import { a as D, _ as F } from "./main-
|
|
2
|
+
import { a as D, _ as F } from "./main-BcqenM8i.js";
|
|
3
3
|
const Z = /* @__PURE__ */ E({
|
|
4
4
|
__name: "MapContainer.client",
|
|
5
5
|
props: {
|
|
@@ -24,7 +24,7 @@ const Z = /* @__PURE__ */ E({
|
|
|
24
24
|
import("./Tile-DbNFNPfU.js").then((t) => t.d),
|
|
25
25
|
import("./OSM-s40W6sQ2.js"),
|
|
26
26
|
// @ts-expect-error no types provided
|
|
27
|
-
import("./index-
|
|
27
|
+
import("./index-C68_gb_d.js")
|
|
28
28
|
]), { CRS: S, GeoportalAttribution: g, GeoportalFullScreen: M, GeoportalZoom: b, LayerImport: v, LayerSwitcher: L } = _;
|
|
29
29
|
await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), S.load(), e = new s({
|
|
30
30
|
target: a.value,
|
|
@@ -12,8 +12,8 @@ var sZ = (R, l, U, Z) => ({
|
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
import { defineComponent as cd, ref as td, onBeforeUnmount as Rd, createBlock as Nd, openBlock as LU, unref as sd, withCtx as bd, createElementVNode as nd, createElementBlock as bZ, Fragment as ad, renderList as hd } from "vue";
|
|
15
|
-
import { _ as md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as id } from "./main-
|
|
15
|
+
import { _ as md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-CwP0rK2R.js";
|
|
16
|
+
import { u as id } from "./main-BcqenM8i.js";
|
|
17
17
|
var ZU = {};
|
|
18
18
|
ZU.d = (R, l) => {
|
|
19
19
|
for (var U in l)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ly, ref as cy, computed as dc, useTemplateRef as uy, onMounted as hy, createElementBlock as Mp, openBlock as eh, createBlock as py, withCtx as rm, createTextVNode as nm, toDisplayString as fc, unref as Gs, createCommentVNode as dy, createElementVNode as is, createVNode as fy } from "vue";
|
|
2
|
-
import { c as my, a as gy, d as _y, u as yy, e as xy, f as vy, _ as by, h as wy, i as Ty, K as Sy, t as Py } from "./main-
|
|
2
|
+
import { c as my, a as gy, d as _y, u as yy, e as xy, f as vy, _ as by, h as wy, i as Ty, K as Sy, t as Py } from "./main-BcqenM8i.js";
|
|
3
3
|
var fn = Uint8Array, Wo = Uint16Array, Iy = Int32Array, mm = new fn([
|
|
4
4
|
0,
|
|
5
5
|
0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as g, computed as h, onMounted as S, nextTick as w, createElementBlock as k, openBlock as l, renderSlot as C, createBlock as n, createCommentVNode as b, toDisplayString as r, unref as a, withCtx as o, createTextVNode as u } from "vue";
|
|
2
|
-
import { a as B, g as E, b as L, _ as c } from "./main-
|
|
2
|
+
import { a as B, g as E, b as L, _ as c } from "./main-BcqenM8i.js";
|
|
3
3
|
const R = { class: "text-xs" }, q = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, defineAsyncComponent as m, createBlock as u, openBlock as f, unref as t, withCtx as l, createVNode as p } from "vue";
|
|
2
|
-
import { u as x } from "./main-
|
|
3
|
-
import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as x } from "./main-BcqenM8i.js";
|
|
3
|
+
import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-CwP0rK2R.js";
|
|
4
4
|
const X = /* @__PURE__ */ i({
|
|
5
5
|
__name: "XmlPreview.client",
|
|
6
6
|
props: {
|
|
@@ -8,7 +8,7 @@ const X = /* @__PURE__ */ i({
|
|
|
8
8
|
},
|
|
9
9
|
setup(r) {
|
|
10
10
|
const o = m(
|
|
11
|
-
() => import("./vue3-xml-viewer.common-
|
|
11
|
+
() => import("./vue3-xml-viewer.common-BS7y248F.js").then((e) => e.v).then((e) => e.default || e.XmlViewer)
|
|
12
12
|
), n = r, s = x(), c = async () => {
|
|
13
13
|
const e = await fetch(n.resource.url);
|
|
14
14
|
if (!e.ok) throw new Error(`HTTP error! status: ${e.status}`);
|
package/dist/components-next.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aX as e, bg as t, y as r, z as o, A as i, B as n, C as c, D as l, i as b, be as u, bh as g, E as d, aW as T, aV as p, F as C, G as S, M as m, H as D, Q as O, R, S as f, T as E, U as I, L as y, J as A, I as h, V as M, O as L, N as v, P as z, W as w, aD as P, aH as G, bi as N, X as F, Y as _, Z as k, $ as B, a1 as H, bw as x, bj as U, as as V, a2 as Q, a3 as W, a4 as Y, a5 as q, a6 as J, a7 as X, bf as j, a8 as K, a9 as Z, aa as $, ac as aa, ab as sa, bu as ea, ad as ta, ae as ra, af as oa, ag as ia, ah as na, ai as ca, aj as la, ak as ba, al as ua, am as ga, an as da, ao as Ta, aE as pa, aF as Ca, aG as Sa, ap as ma, aq as Da, ar as Oa, at as Ra, au as fa, av as Ea, aw as Ia, ax as ya, aI as Aa, a0 as ha, aJ as Ma, az as La, ay as va, aA as za, aB as wa, bk as Pa, aC as Ga, bO as Na, bQ as Fa, bJ as _a, bb as ka, b9 as Ba, x as Ha, bP as xa, r as Ua, q as Va, v as Qa, s as Wa, bx as Ya, a$ as qa, aO as Ja, aZ as Xa, bo as ja, bF as Ka, b0 as Za, aT as $a, bc as as, ba as ss, aU as es, l as ts, k as rs, p as os, n as is, m as ns, o as cs, aY as ls, b6 as bs, b8 as us, br as gs, bp as ds, bn as Ts, f as ps, e as Cs, b as Ss, bz as ms, g as Ds, bs as Os, bv as Rs, bt as fs, bd as Es, bE as Is, bC as ys, bB as As, bm as hs, bI as Ms, by as Ls, bM as vs, bq as zs, bL as ws, bl as Ps, aQ as Gs, b3 as Ns, b4 as Fs, b5 as _s, aP as ks, b1 as Bs, b1 as Hs, b2 as xs, a_ as Us, aR as Vs, t as Qs, aK as Ws, b7 as Ys, aL as qs, u as Js, bA as Xs, d as js, bK as Ks, bD as Zs, bG as $s, bH as ae, bN as se, aS as ee, aM as te, aN as re, w as oe, a as ie } from "./main-
|
|
1
|
+
import { aX as e, bg as t, y as r, z as o, A as i, B as n, C as c, D as l, i as b, be as u, bh as g, E as d, aW as T, aV as p, F as C, G as S, M as m, H as D, Q as O, R, S as f, T as E, U as I, L as y, J as A, I as h, V as M, O as L, N as v, P as z, W as w, aD as P, aH as G, bi as N, X as F, Y as _, Z as k, $ as B, a1 as H, bw as x, bj as U, as as V, a2 as Q, a3 as W, a4 as Y, a5 as q, a6 as J, a7 as X, bf as j, a8 as K, a9 as Z, aa as $, ac as aa, ab as sa, bu as ea, ad as ta, ae as ra, af as oa, ag as ia, ah as na, ai as ca, aj as la, ak as ba, al as ua, am as ga, an as da, ao as Ta, aE as pa, aF as Ca, aG as Sa, ap as ma, aq as Da, ar as Oa, at as Ra, au as fa, av as Ea, aw as Ia, ax as ya, aI as Aa, a0 as ha, aJ as Ma, az as La, ay as va, aA as za, aB as wa, bk as Pa, aC as Ga, bO as Na, bQ as Fa, bJ as _a, bb as ka, b9 as Ba, x as Ha, bP as xa, r as Ua, q as Va, v as Qa, s as Wa, bx as Ya, a$ as qa, aO as Ja, aZ as Xa, bo as ja, bF as Ka, b0 as Za, aT as $a, bc as as, ba as ss, aU as es, l as ts, k as rs, p as os, n as is, m as ns, o as cs, aY as ls, b6 as bs, b8 as us, br as gs, bp as ds, bn as Ts, f as ps, e as Cs, b as Ss, bz as ms, g as Ds, bs as Os, bv as Rs, bt as fs, bd as Es, bE as Is, bC as ys, bB as As, bm as hs, bI as Ms, by as Ls, bM as vs, bq as zs, bL as ws, bl as Ps, aQ as Gs, b3 as Ns, b4 as Fs, b5 as _s, aP as ks, b1 as Bs, b1 as Hs, b2 as xs, a_ as Us, aR as Vs, t as Qs, aK as Ws, b7 as Ys, aL as qs, u as Js, bA as Xs, d as js, bK as Ks, bD as Zs, bG as $s, bH as ae, bN as se, aS as ee, aM as te, aN as re, w as oe, a as ie } from "./main-BcqenM8i.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AI_SUGGESTION_MIN_DESCRIPTION_LENGTH,
|
|
4
4
|
t as ASSOCIATION,
|
|
@@ -6,7 +6,7 @@ import { a as TileGrid, U as UrlTile, e as extentFromProjection, c as createXYZ,
|
|
|
6
6
|
import { D as DEFAULT_MAX_ZOOM, a as assert, f as forEach, i as intersectsLineString, b as intersectsLineStringArray, l as linearRingssContainsXY, c as intersectsLinearRingMultiArray, d as compose, e as create, g as apply, s as setFromArray, m as multiply, h as scale, r as reset, t as translate } from "./common-PJfpC179.js";
|
|
7
7
|
import { R as RBush$1, C as Collection, a as CollectionEventType, b as asColorLike, d as defaultFillStyle, c as defaultStrokeStyle, e as defaultLineCap, f as defaultLineDash, g as defaultLineDashOffset, h as defaultLineJoin, i as defaultLineWidth, j as defaultMiterLimit, k as defaultPadding, l as defaultTextBaseline, m as defaultTextAlign, n as defaultFont, r as registerFont, o as getTextDimensions, p as drawImageOrLabel, q as measureAndCacheTextWidth, I as Icon, B as BaseVectorLayer, P as PointerInteraction, s as noModifierKeys, t as always, u as shiftKeyOnly, v as InteractionProperty, M as MapBrowserEventType, w as MapBrowserEvent, x as never, y as createEditingStyle, z as primaryAction, A as altKeyOnly, D as singleClick, E as Interaction, F as Fill, S as Stroke, T as Text, G as Style$1, H as CircleStyle, J as checkedFonts, K as Map$1, L as pointerMove, N as ImageStyle, O as Attribution, Z as Zoom, Q as MapProperty } from "./Map-BjUnLyj8.js";
|
|
8
8
|
import { S as SimpleGeometry, d as deflateCoordinate, r as rotate, G as Geometry, m as maxSquaredDelta, a as assignClosestPoint, i as inflateCoordinates, b as douglasPeucker, c as deflateCoordinates, e as arrayMaxSquaredDelta, f as assignClosestArrayPoint, g as inflateCoordinatesArray, h as douglasPeuckerArray, j as deflateCoordinatesArray, P as Point$1, k as multiArrayMaxSquaredDelta, l as assignClosestMultiArrayPoint, n as linearRingss$1, o as orientLinearRingsArray, p as inflateMultiCoordinatesArray, q as getInteriorPointsOfMultiArray, s as linearRingssAreOriented, t as quantizeMultiArray, u as Polygon, v as deflateMultiCoordinatesArray, w as getInteriorPointOfArray, x as inflateEnds, y as transform2D, z as quantizeArray, A as snap, B as transformGeom2D, V as ViewHint, C as getStrideForLayout, D as linearRingsAreOriented, E as orientLinearRings, F as getLayoutForStride, L as LinearRing, H as View, I as ViewProperty, J as fromExtent } from "./View-BR92hTWP.js";
|
|
9
|
-
import { j as commonjsGlobal, c as getDefaultExportFromCjs$1 } from "./main-
|
|
9
|
+
import { j as commonjsGlobal, c as getDefaultExportFromCjs$1 } from "./main-BcqenM8i.js";
|
|
10
10
|
import { E as EventType$1, a as asArray } from "./Event--kp8kMdJ.js";
|
|
11
11
|
import { Z as ZIndexContext, C as CanvasLayerRenderer, c as canvasPool$1, T as TileLayer, a as CanvasTileLayerRenderer, b as TileProperty } from "./Tile-DbNFNPfU.js";
|
|
12
12
|
function padNumber(i, e, t) {
|
|
@@ -58830,7 +58830,7 @@ const dY = {
|
|
|
58830
58830
|
canEdit: { type: Boolean, default: !1 }
|
|
58831
58831
|
},
|
|
58832
58832
|
setup(e) {
|
|
58833
|
-
const t = ["parquet", "pmtiles", "geojson"], i = ["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"], s = e, n = _2(), l = Zt(() => import("./MapContainer.client-
|
|
58833
|
+
const t = ["parquet", "pmtiles", "geojson"], i = ["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"], s = e, n = _2(), l = Zt(() => import("./MapContainer.client-BKlK14EZ.js")), a = Zt(() => import("./Pmtiles.client-B8A2CXdm.js")), c = Zt(() => import("./JsonPreview.client-BQG4CJTf.js")), u = Zt(() => import("./PdfPreview.client-C6LIukqm.js")), h = Zt(() => import("./XmlPreview.client-C3CQUdEa.js")), d = Zt(() => import("./Datafair.client-P2fVHPsE.js")), { t: p } = z1(), { formatRelativeIfRecentDate: C } = St(), g = Wm(), m = A(() => {
|
|
58834
58834
|
const _1 = s.resource.format?.toLowerCase();
|
|
58835
58835
|
return _1 === "json" || _1 === "pdf" || _1 === "xml";
|
|
58836
58836
|
}), f = A(() => g(s.resource)), x = A(() => s.resource.extras["analysis:parsing:pmtiles_url"] || s.resource.format === "pmtiles"), y = A(() => Rs(s.dataset.organization) && s.resource.extras.datafairEmbed), H = A(() => Rs(s.dataset.organization) && s.resource.extras.apidocUrl), V = A(() => Jl(s.resource.format) ? s.resource.format : p("Fichier")), Z = A(() => $m(s.resource)), z = A(() => Z.value === "wms"), M = A(() => {
|
|
@@ -59406,17 +59406,17 @@ const UK = { class: "border border-gray-default" }, WK = { class: "p-4 flex flex
|
|
|
59406
59406
|
},
|
|
59407
59407
|
setup(e) {
|
|
59408
59408
|
const t = Zt(
|
|
59409
|
-
() => import("./JsonPreview.client-
|
|
59409
|
+
() => import("./JsonPreview.client-BQG4CJTf.js")
|
|
59410
59410
|
), i = Zt(
|
|
59411
|
-
() => import("./PdfPreview.client-
|
|
59411
|
+
() => import("./PdfPreview.client-C6LIukqm.js")
|
|
59412
59412
|
), s = Zt(
|
|
59413
|
-
() => import("./XmlPreview.client-
|
|
59413
|
+
() => import("./XmlPreview.client-C3CQUdEa.js")
|
|
59414
59414
|
), n = Zt(
|
|
59415
|
-
() => import("./Datafair.client-
|
|
59415
|
+
() => import("./Datafair.client-P2fVHPsE.js")
|
|
59416
59416
|
), l = Zt(
|
|
59417
|
-
() => import("./MapContainer.client-
|
|
59417
|
+
() => import("./MapContainer.client-BKlK14EZ.js")
|
|
59418
59418
|
), a = Zt(
|
|
59419
|
-
() => import("./Pmtiles.client-
|
|
59419
|
+
() => import("./Pmtiles.client-B8A2CXdm.js")
|
|
59420
59420
|
), c = e, { t: u } = z1(), h = _2(), { formatRelativeIfRecentDate: d } = St(), {
|
|
59421
59421
|
hasTabularData: p,
|
|
59422
59422
|
hasPmtiles: C,
|
|
@@ -70772,7 +70772,8 @@ const b01 = ["for", "title"], z01 = {
|
|
|
70772
70772
|
class: "flex flex-wrap gap-4 items-center justify-between pb-2"
|
|
70773
70773
|
}, d41 = {
|
|
70774
70774
|
class: "fr-col-auto my-0",
|
|
70775
|
-
role: "status"
|
|
70775
|
+
role: "status",
|
|
70776
|
+
"data-testid": "search-result-count"
|
|
70776
70777
|
}, p41 = { class: "fr-col-auto fr-grid-row fr-grid-row--middle gap-4" }, C41 = { class: "flex items-center" }, g41 = {
|
|
70777
70778
|
for: "sort-search",
|
|
70778
70779
|
class: "fr-col-auto text-sm m-0 mr-2"
|
package/package.json
CHANGED