@datagouv/components-next 1.0.2-dev.13 → 1.0.2-dev.14
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-8haHXl47.js → Datafair.client-BtQqFBTQ.js} +1 -1
- package/dist/{JsonPreview.client-D53pj9Cw.js → JsonPreview.client-DojrmGyU.js} +1 -1
- package/dist/{MapContainer.client-l6HuXTHR.js → MapContainer.client-DB6p6KF8.js} +2 -2
- package/dist/{PdfPreview.client-4OueK-2Z.js → PdfPreview.client-Dr4VcIur.js} +1 -1
- package/dist/{Pmtiles.client-4j3VTYkz.js → Pmtiles.client-DbMjfK00.js} +1 -1
- package/dist/Swagger.client-Db_xYKJv.js +4 -0
- package/dist/{XmlPreview.client-XElkoA4F.js → XmlPreview.client-CHxSFhd7.js} +2 -2
- package/dist/components-next.js +1 -1
- package/dist/{index-CVTIoZQ0.js → index-D3rieddI.js} +1 -1
- package/dist/{main-BbT-LUXy.js → main-D70Xt4a7.js} +9 -9
- package/dist/{vue3-xml-viewer.common-CWer_T5-.js → vue3-xml-viewer.common-CJXShyPB.js} +1 -1
- package/package.json +1 -1
- package/src/components/ReadMore.vue +1 -1
- package/dist/Swagger.client-DPBmsH9q.js +0 -4
|
@@ -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-D70Xt4a7.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,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as z, defineAsyncComponent as C, ref as l, computed as x, onMounted as J, createElementBlock as c, openBlock as t, createBlock as p, createCommentVNode as S, createVNode as N, unref as r, toDisplayString as i, withCtx as d, createTextVNode as f } from "vue";
|
|
2
|
-
import { u as B, a as L, g as V, _ as h } from "./main-
|
|
2
|
+
import { u as B, a as L, g as V, _ as h } from "./main-D70Xt4a7.js";
|
|
3
3
|
const E = { class: "fr-text--xs" }, P = { key: 0 }, b = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -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-D70Xt4a7.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-D3rieddI.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,7 +12,7 @@ var JZ = (R, l, U, Z) => ({
|
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
import { defineComponent as hd, ref as Ol, computed as GZ, onMounted as md, onBeforeUnmount as id, createElementBlock as ql, openBlock as el, createBlock as EU, createCommentVNode as Md, Fragment as Jd, renderList as Gd, toDisplayString as aU, unref as $l, withCtx as CU, createTextVNode as wU, nextTick as Td } from "vue";
|
|
15
|
-
import { u as Sd, a as Xd, g as Yd, _ as xU } from "./main-
|
|
15
|
+
import { u as Sd, a as Xd, g as Yd, _ as xU } from "./main-D70Xt4a7.js";
|
|
16
16
|
var VU = {};
|
|
17
17
|
VU.d = (R, l) => {
|
|
18
18
|
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 { b as my, a as gy, c as _y, u as yy, d as xy, e as vy, _ as by, f as wy, h as Ty, K as Sy, t as Py } from "./main-
|
|
2
|
+
import { b as my, a as gy, c as _y, u as yy, d as xy, e as vy, _ as by, f as wy, h as Ty, K as Sy, t as Py } from "./main-D70Xt4a7.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 z, defineAsyncComponent as C, ref as o, computed as x, onMounted as X, createElementBlock as c, openBlock as t, createBlock as f, createCommentVNode as L, createVNode as B, unref as r, toDisplayString as i, withCtx as m, createTextVNode as p } from "vue";
|
|
2
|
-
import { u as S, a as V, g as E, _ as d } from "./main-
|
|
2
|
+
import { u as S, a as V, g as E, _ as d } from "./main-D70Xt4a7.js";
|
|
3
3
|
const M = { class: "fr-text--xs" }, P = { key: 0 }, D = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -10,7 +10,7 @@ const M = { class: "fr-text--xs" }, P = { key: 0 }, D = {
|
|
|
10
10
|
},
|
|
11
11
|
setup(y) {
|
|
12
12
|
const T = C(
|
|
13
|
-
() => import("./vue3-xml-viewer.common-
|
|
13
|
+
() => import("./vue3-xml-viewer.common-CJXShyPB.js").then((e) => e.v).then((e) => e.default || e.XmlViewer)
|
|
14
14
|
), h = y, v = S(), { t: a } = V(), n = o(null), u = o(!1), l = o(null), g = o(!1), _ = x(() => E(h.resource)), w = x(() => {
|
|
15
15
|
const e = _.value;
|
|
16
16
|
if (!e || !v.maxXmlPreviewCharSize)
|
package/dist/components-next.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aU as e, bd as t, w as r, x as o, y as i, z as n, A as c, B as l, h as g, bb as u, be as b, C as d, aT as T, aS as S, D as p, E as C, J as m, F as D, O, P as R, Q as E, R as I, S as y, I as f, H as A, G as h, T as M, M as v, L as z, N as L, U as w, aA as G, bf as P, V as N, W as _, X as k, Y as B, $ as H, bu as U, bg as x, a0 as F, a1 as V, a2 as Q, a3 as W, a4 as Y, a5 as q, bc as X, a6 as j, a7 as J, a8 as Z, aa as $, a9 as K, bs as aa, ab as sa, ac 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 ga, al as ua, am as ba, aB as da, aC as Ta, aD as Sa, an as pa, ao as Ca, ap as ma, i as Da, aq as Oa, ar as Ra, as as Ea, at as Ia, au as ya, Z as fa, aE as Aa, aw as ha, av as Ma, ax as va, ay as za, bh as La, az as wa, bF as Ga, bH as Pa, b8 as Na, b6 as _a, v as ka, bG as Ba, q as Ha, p as Ua, s as xa, r as Fa, bv as Va, aY as Qa, aJ as Wa, aW as Ya, bl as qa, bB as Xa, aZ as ja, aO as Ja, b9 as Za, b7 as $a, aP as Ka, l as as, k as ss, o as es, n as ts, m as rs, aV as os, bp as is, b3 as ns, b5 as cs, bo as ls, bm as gs, bk as us, e as bs, d as ds, aR as Ts, g as Ss, bq as ps, bt as Cs, br as ms, ba as Ds, bA as Os, by as Rs, bx as Es, bj as Is, aQ as ys, bn as fs, bi as As, aL as hs, b0 as Ms, b1 as vs, b2 as zs, aK as Ls, a_ as ws, a_ as Gs, a$ as Ps, aX as Ns, aM as _s, t as ks, aF as Bs, b4 as Hs, aG as Us, u as xs, bw as Fs, c as Vs, bz as Qs, bC as Ws, bD as Ys, bE as qs, aN as Xs, aH as js, aI as Js, a as Zs } from "./main-
|
|
1
|
+
import { aU as e, bd as t, w as r, x as o, y as i, z as n, A as c, B as l, h as g, bb as u, be as b, C as d, aT as T, aS as S, D as p, E as C, J as m, F as D, O, P as R, Q as E, R as I, S as y, I as f, H as A, G as h, T as M, M as v, L as z, N as L, U as w, aA as G, bf as P, V as N, W as _, X as k, Y as B, $ as H, bu as U, bg as x, a0 as F, a1 as V, a2 as Q, a3 as W, a4 as Y, a5 as q, bc as X, a6 as j, a7 as J, a8 as Z, aa as $, a9 as K, bs as aa, ab as sa, ac 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 ga, al as ua, am as ba, aB as da, aC as Ta, aD as Sa, an as pa, ao as Ca, ap as ma, i as Da, aq as Oa, ar as Ra, as as Ea, at as Ia, au as ya, Z as fa, aE as Aa, aw as ha, av as Ma, ax as va, ay as za, bh as La, az as wa, bF as Ga, bH as Pa, b8 as Na, b6 as _a, v as ka, bG as Ba, q as Ha, p as Ua, s as xa, r as Fa, bv as Va, aY as Qa, aJ as Wa, aW as Ya, bl as qa, bB as Xa, aZ as ja, aO as Ja, b9 as Za, b7 as $a, aP as Ka, l as as, k as ss, o as es, n as ts, m as rs, aV as os, bp as is, b3 as ns, b5 as cs, bo as ls, bm as gs, bk as us, e as bs, d as ds, aR as Ts, g as Ss, bq as ps, bt as Cs, br as ms, ba as Ds, bA as Os, by as Rs, bx as Es, bj as Is, aQ as ys, bn as fs, bi as As, aL as hs, b0 as Ms, b1 as vs, b2 as zs, aK as Ls, a_ as ws, a_ as Gs, a$ as Ps, aX as Ns, aM as _s, t as ks, aF as Bs, b4 as Hs, aG as Us, u as xs, bw as Fs, c as Vs, bz as Qs, bC as Ws, bD as Ys, bE as qs, aN as Xs, aH as js, aI as Js, a as Zs } from "./main-D70Xt4a7.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, b as getDefaultExportFromCjs$1 } from "./main-
|
|
9
|
+
import { j as commonjsGlobal, b as getDefaultExportFromCjs$1 } from "./main-D70Xt4a7.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) {
|
|
@@ -50752,7 +50752,7 @@ const gbe = { class: "relative" }, oOe = /* @__PURE__ */ m({
|
|
|
50752
50752
|
ref_key: "readMoreRef",
|
|
50753
50753
|
ref: c,
|
|
50754
50754
|
class: "overflow-hidden",
|
|
50755
|
-
style: oi({ height: a.value + "px" })
|
|
50755
|
+
style: oi({ height: u.value ? a.value + "px" : "auto" })
|
|
50756
50756
|
}, [
|
|
50757
50757
|
Oe("div", {
|
|
50758
50758
|
ref_key: "containerRef",
|
|
@@ -92986,7 +92986,7 @@ const MVe = /* @__PURE__ */ ep(AD), _Ve = /* @__PURE__ */ joe({
|
|
|
92986
92986
|
canEdit: { type: Boolean, default: !1 }
|
|
92987
92987
|
},
|
|
92988
92988
|
setup(e) {
|
|
92989
|
-
const r = ["parquet", "pmtiles", "geojson"], n = ["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"], o = e, u = jn(), g = pa(() => import("./Swagger.client-
|
|
92989
|
+
const r = ["parquet", "pmtiles", "geojson"], n = ["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"], o = e, u = jn(), g = pa(() => import("./Swagger.client-Db_xYKJv.js")), c = pa(() => import("./MapContainer.client-DB6p6KF8.js")), d = pa(() => import("./Pmtiles.client-DbMjfK00.js")), a = pa(() => import("./JsonPreview.client-DojrmGyU.js")), h = pa(() => import("./PdfPreview.client-Dr4VcIur.js")), f = pa(() => import("./XmlPreview.client-CHxSFhd7.js")), C = pa(() => import("./Datafair.client-BtQqFBTQ.js")), { t: w } = C2(), { formatRelativeIfRecentDate: v } = Ia(), x = HD(), H = s1(() => {
|
|
92990
92990
|
const p1 = o.resource.format?.toLowerCase();
|
|
92991
92991
|
return p1 === "json" || p1 === "pdf" || p1 === "xml";
|
|
92992
92992
|
}), E = s1(() => x(o.resource)), z = s1(() => o.resource.extras["analysis:parsing:pmtiles_url"] || o.resource.format === "pmtiles"), Z = s1(() => Rh(o.dataset.organization) && o.resource.extras.datafairEmbed), R = s1(() => Rh(o.dataset.organization) && o.resource.extras.apidocUrl), T = s1(() => Db(o.resource.format) ? o.resource.format : w("Fichier")), B = s1(() => bD(o.resource)), P = s1(() => B.value === "wms"), U = s1(() => {
|
|
@@ -93604,19 +93604,19 @@ const FMe = { class: "border border-gray-default" }, DMe = { class: "p-4 flex fl
|
|
|
93604
93604
|
},
|
|
93605
93605
|
setup(e) {
|
|
93606
93606
|
const r = pa(
|
|
93607
|
-
() => import("./JsonPreview.client-
|
|
93607
|
+
() => import("./JsonPreview.client-DojrmGyU.js")
|
|
93608
93608
|
), n = pa(
|
|
93609
|
-
() => import("./PdfPreview.client-
|
|
93609
|
+
() => import("./PdfPreview.client-Dr4VcIur.js")
|
|
93610
93610
|
), o = pa(
|
|
93611
|
-
() => import("./XmlPreview.client-
|
|
93611
|
+
() => import("./XmlPreview.client-CHxSFhd7.js")
|
|
93612
93612
|
), u = pa(
|
|
93613
|
-
() => import("./Datafair.client-
|
|
93613
|
+
() => import("./Datafair.client-BtQqFBTQ.js")
|
|
93614
93614
|
), g = pa(
|
|
93615
|
-
() => import("./MapContainer.client-
|
|
93615
|
+
() => import("./MapContainer.client-DB6p6KF8.js")
|
|
93616
93616
|
), c = pa(
|
|
93617
|
-
() => import("./Pmtiles.client-
|
|
93617
|
+
() => import("./Pmtiles.client-DbMjfK00.js")
|
|
93618
93618
|
), d = pa(
|
|
93619
|
-
() => import("./Swagger.client-
|
|
93619
|
+
() => import("./Swagger.client-Db_xYKJv.js")
|
|
93620
93620
|
), a = e, { t: h } = C2(), f = jn(), { formatRelativeIfRecentDate: C } = Ia(), {
|
|
93621
93621
|
hasTabularData: w,
|
|
93622
93622
|
hasPmtiles: v,
|
package/package.json
CHANGED