@datagouv/components-next 1.0.2-dev.105 → 1.0.2-dev.107
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-Fppk27tj.js → Datafair.client-Ctao4Iiu.js} +1 -1
- package/dist/{JsonPreview.client-DLfhF4mv.js → JsonPreview.client-0l5_Fh_V.js} +2 -2
- package/dist/{MapContainer.client-Dq7hsL6y.js → MapContainer.client-DWejyPHW.js} +2 -2
- package/dist/{PdfPreview.client-DDmYbBUu.js → PdfPreview.client-DOIyEjFr.js} +2 -2
- package/dist/{Pmtiles.client-y7WohNfh.js → Pmtiles.client-DDEjyjo6.js} +1 -1
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-t8BaE8Sd.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-DZTNohgY.js} +1 -1
- package/dist/{XmlPreview.client-xM-nDTvi.js → XmlPreview.client-C-Q4ybiL.js} +3 -3
- package/dist/components-next.js +1 -1
- package/dist/{index-iNv4FOm7.js → index-Cd4yx9jU.js} +1 -1
- package/dist/{main-Cu6JOYcl.js → main-CHzPTZLX.js} +8 -8
- package/dist/{vue3-xml-viewer.common-BtS19Pem.js → vue3-xml-viewer.common-BC-WWluw.js} +1 -1
- package/package.json +1 -1
- package/src/components/ObjectCardHeader.vue +1 -1
- package/src/types/ui.ts +1 -1
|
@@ -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-CHzPTZLX.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-CHzPTZLX.js";
|
|
3
|
+
import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-DZTNohgY.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 N, createElementBlock as z, openBlock as u, 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-CHzPTZLX.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-Dcl7oIVu.js").then((t) => t.d),
|
|
25
25
|
import("./OSM-D4MTdBtk.js"),
|
|
26
26
|
// @ts-expect-error no types provided
|
|
27
|
-
import("./index-
|
|
27
|
+
import("./index-Cd4yx9jU.js")
|
|
28
28
|
]), { CRS: _, GeoportalAttribution: S, GeoportalFullScreen: g, GeoportalZoom: b, LayerImport: v, LayerSwitcher: L } = C;
|
|
29
29
|
await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), _.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-DZTNohgY.js";
|
|
16
|
+
import { u as id } from "./main-CHzPTZLX.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-CHzPTZLX.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-CHzPTZLX.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-CHzPTZLX.js";
|
|
3
|
+
import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-DZTNohgY.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-BC-WWluw.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 { b7 as e, bs as t, y as r, z as o, A as i, B as n, C as c, D as l, i as b, bq as u, bt as g, aw as d, ax as T, E as p, b6 as C, b5 as S, H as D, F as m, G as O, P as R, L as f, T as E, U as I, V as h, W as y, X as A, O as M, N as L, M as v, Y as w, R as z, Q as P, S as G, I as F, Z as N, aK as _, aP as k, bu as x, $ as B, a0 as H, a1 as U, aO as V, a2 as Q, a4 as W, J as Y, bI as j, bv as X, an as q, az as J, a5 as Z, a6 as $, a7 as K, a8 as aa, a9 as sa, aa as ea, br as ta, ab as ra, ac as oa, ad as ia, af as na, ae as ca, bG as la, ag as ba, ah as ua, ai as ga, aj as da, ak as Ta, al as pa, am as Ca, ao as Sa, ap as Da, aq as ma, ar as Oa, as as Ra, at as fa, aL as Ea, aM as Ia, aN as ha, au as ya, av as Aa, ay as Ma, aA as La, aB as va, aC as wa, aD as za, aE as Pa, aQ as Ga, a3 as Fa, aR as Na, aG as _a, aF as ka, aH as xa, aI as Ba, bw as Ha, aJ as Ua, c3 as Va, c5 as Qa, bV as Wa, bn as Ya, bl as ja, x as Xa, c4 as qa, r as Ja, q as Za, v as $a, s as Ka, bJ as as, bb as ss, aX as es, b_ as ts, b9 as rs, bA as os, bR as is, bc as ns, b3 as cs, b$ as ls, bo as bs, bm as us, b4 as gs, l as ds, k as Ts, p as ps, n as Cs, m as Ss, o as Ds, b8 as ms, bi as Os, bk as Rs, bD as fs, bB as Es, bz as Is, f as hs, e as ys, b as As, bL as Ms, g as Ls, bE as vs, bH as ws, bF as zs, bp as Ps, bQ as Gs, bO as Fs, bN as Ns, by as _s, bU as ks, b2 as xs, bK as Bs, bY as Hs, bC as Us, bX as Vs, bx as Qs, aZ as Ws, bf as Ys, bg as js, bh as Xs, aY as qs, b1 as Js, bd as Zs, bd as $s, be as Ks, ba as ae, a_ as se, t as ee, c2 as te, c1 as re, aS as oe, bj as ie, aT as ne, u as ce, aU as le, bM as be, d as ue, bW as ge, bP as de, c0 as Te, bS as pe, bT as Ce, bZ as Se, a$ as De, aV as me, b0 as Oe, aW as Re, w as fe, a as Ee } from "./main-
|
|
1
|
+
import { b7 as e, bs as t, y as r, z as o, A as i, B as n, C as c, D as l, i as b, bq as u, bt as g, aw as d, ax as T, E as p, b6 as C, b5 as S, H as D, F as m, G as O, P as R, L as f, T as E, U as I, V as h, W as y, X as A, O as M, N as L, M as v, Y as w, R as z, Q as P, S as G, I as F, Z as N, aK as _, aP as k, bu as x, $ as B, a0 as H, a1 as U, aO as V, a2 as Q, a4 as W, J as Y, bI as j, bv as X, an as q, az as J, a5 as Z, a6 as $, a7 as K, a8 as aa, a9 as sa, aa as ea, br as ta, ab as ra, ac as oa, ad as ia, af as na, ae as ca, bG as la, ag as ba, ah as ua, ai as ga, aj as da, ak as Ta, al as pa, am as Ca, ao as Sa, ap as Da, aq as ma, ar as Oa, as as Ra, at as fa, aL as Ea, aM as Ia, aN as ha, au as ya, av as Aa, ay as Ma, aA as La, aB as va, aC as wa, aD as za, aE as Pa, aQ as Ga, a3 as Fa, aR as Na, aG as _a, aF as ka, aH as xa, aI as Ba, bw as Ha, aJ as Ua, c3 as Va, c5 as Qa, bV as Wa, bn as Ya, bl as ja, x as Xa, c4 as qa, r as Ja, q as Za, v as $a, s as Ka, bJ as as, bb as ss, aX as es, b_ as ts, b9 as rs, bA as os, bR as is, bc as ns, b3 as cs, b$ as ls, bo as bs, bm as us, b4 as gs, l as ds, k as Ts, p as ps, n as Cs, m as Ss, o as Ds, b8 as ms, bi as Os, bk as Rs, bD as fs, bB as Es, bz as Is, f as hs, e as ys, b as As, bL as Ms, g as Ls, bE as vs, bH as ws, bF as zs, bp as Ps, bQ as Gs, bO as Fs, bN as Ns, by as _s, bU as ks, b2 as xs, bK as Bs, bY as Hs, bC as Us, bX as Vs, bx as Qs, aZ as Ws, bf as Ys, bg as js, bh as Xs, aY as qs, b1 as Js, bd as Zs, bd as $s, be as Ks, ba as ae, a_ as se, t as ee, c2 as te, c1 as re, aS as oe, bj as ie, aT as ne, u as ce, aU as le, bM as be, d as ue, bW as ge, bP as de, c0 as Te, bS as pe, bT as Ce, bZ as Se, a$ as De, aV as me, b0 as Oe, aW as Re, w as fe, a as Ee } from "./main-CHzPTZLX.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-BjQlan3k.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-BUtPf5GN.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, H as circular, L as LinearRing, I as View, J as ViewProperty, K as fromExtent } from "./View-xp_P_OHw.js";
|
|
9
|
-
import { j as commonjsGlobal, c as getDefaultExportFromCjs$1 } from "./main-
|
|
9
|
+
import { j as commonjsGlobal, c as getDefaultExportFromCjs$1 } from "./main-CHzPTZLX.js";
|
|
10
10
|
import { R as RenderEventType, a as asArray, B as BaseLayer } from "./Event-DSQcW7OF.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-Dcl7oIVu.js";
|
|
12
12
|
function padNumber(i, e, t) {
|
|
@@ -11764,7 +11764,7 @@ const Jr1 = { class: "bg-gray-lower flex items-center justify-center" }, pl = /*
|
|
|
11764
11764
|
titleTag: { default: "h3" }
|
|
11765
11765
|
},
|
|
11766
11766
|
setup(e) {
|
|
11767
|
-
return (t, i) => (T(), s1(dt(e.titleTag), { class: "w-full text-base flex" }, {
|
|
11767
|
+
return (t, i) => (T(), s1(dt(e.titleTag), { class: "w-full text-base font-bold flex" }, {
|
|
11768
11768
|
default: e1(() => [
|
|
11769
11769
|
U(vr, {
|
|
11770
11770
|
to: e.url,
|
|
@@ -59405,7 +59405,7 @@ const Mx1 = {
|
|
|
59405
59405
|
canEdit: { type: Boolean, default: !1 }
|
|
59406
59406
|
},
|
|
59407
59407
|
setup(e) {
|
|
59408
|
-
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 = vt(), n = nn(() => import("./MapContainer.client-
|
|
59408
|
+
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 = vt(), n = nn(() => import("./MapContainer.client-DWejyPHW.js")), s = nn(() => import("./Pmtiles.client-DDEjyjo6.js")), a = nn(() => import("./JsonPreview.client-0l5_Fh_V.js")), o = nn(() => import("./PdfPreview.client-DOIyEjFr.js")), l = nn(() => import("./XmlPreview.client-C-Q4ybiL.js")), c = nn(() => import("./Datafair.client-Ctao4Iiu.js")), { t: h } = q1(), { formatRelativeIfRecentDate: d } = yr(), p = fG(), f = W(() => {
|
|
59409
59409
|
const J = i.resource.format?.toLowerCase();
|
|
59410
59410
|
return J === "json" || J === "pdf" || J === "xml";
|
|
59411
59411
|
}), C = W(() => p(i.resource)), m = W(() => i.resource.extras["analysis:parsing:pmtiles_url"] || i.resource.format === "pmtiles"), v = W(() => C8(i.dataset.organization) && i.resource.extras.datafairEmbed), w = W(() => C8(i.dataset.organization) && i.resource.extras.apidocUrl), y = W(() => YV(i.resource.format) ? i.resource.format : h("Fichier")), x = W(() => dG(i.resource)), L = W(() => x.value === "wms"), V = o1(i.expandedOnMount), S = () => {
|
|
@@ -61231,17 +61231,17 @@ const JL1 = /* @__PURE__ */ g({
|
|
|
61231
61231
|
async setup(e, { emit: t }) {
|
|
61232
61232
|
let i, r;
|
|
61233
61233
|
const n = nn(
|
|
61234
|
-
() => import("./JsonPreview.client-
|
|
61234
|
+
() => import("./JsonPreview.client-0l5_Fh_V.js")
|
|
61235
61235
|
), s = nn(
|
|
61236
|
-
() => import("./PdfPreview.client-
|
|
61236
|
+
() => import("./PdfPreview.client-DOIyEjFr.js")
|
|
61237
61237
|
), a = nn(
|
|
61238
|
-
() => import("./XmlPreview.client-
|
|
61238
|
+
() => import("./XmlPreview.client-C-Q4ybiL.js")
|
|
61239
61239
|
), o = nn(
|
|
61240
|
-
() => import("./Datafair.client-
|
|
61240
|
+
() => import("./Datafair.client-Ctao4Iiu.js")
|
|
61241
61241
|
), l = nn(
|
|
61242
|
-
() => import("./MapContainer.client-
|
|
61242
|
+
() => import("./MapContainer.client-DWejyPHW.js")
|
|
61243
61243
|
), c = nn(
|
|
61244
|
-
() => import("./Pmtiles.client-
|
|
61244
|
+
() => import("./Pmtiles.client-DDEjyjo6.js")
|
|
61245
61245
|
), h = e, d = t, { t: p } = q1(), f = vt(), { formatRelativeIfRecentDate: C } = yr(), {
|
|
61246
61246
|
hasTabularData: m,
|
|
61247
61247
|
hasPmtiles: v,
|
package/package.json
CHANGED
package/src/types/ui.ts
CHANGED