@datagouv/components-next 1.0.2-dev.187 → 1.0.2-dev.189
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-CWPwvNsO.js → Datafair.client-Bb3KFfHG.js} +1 -1
- package/dist/{ImagePreview.client-C0PexuUW.js → ImagePreview.client-dU0DyxhO.js} +1 -1
- package/dist/{JsonPreview.client-BFXsy93W.js → JsonPreview.client-oCcmf4Sj.js} +2 -2
- package/dist/{MapContainer.client-BnfDrxM3.js → MapContainer.client-o50vZ4p7.js} +2 -2
- package/dist/{PdfPreview.client-J6HdYgDG.js → PdfPreview.client-DXYcyV9H.js} +2 -2
- package/dist/{Pmtiles.client-DKqGSUCL.js → Pmtiles.client-D1eRUmQj.js} +1 -1
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-pEO-0WH0.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-A3Ige7AN.js} +1 -1
- package/dist/{XmlPreview.client-DQIVB-4X.js → XmlPreview.client-DpaqaBjv.js} +3 -3
- package/dist/components-next.js +1 -1
- package/dist/{index-Cx-X-INq.js → index-C6RfMwqg.js} +1 -1
- package/dist/{leaflet-src-DmNI8sDg.js → leaflet-src-CezuL8aR.js} +1 -1
- package/dist/{main-BgsOe_n1.js → main-DseJBKsd.js} +6576 -6585
- package/dist/{vue3-xml-viewer.common--UeLZvgV.js → vue3-xml-viewer.common-GEec9TSv.js} +1 -1
- package/package.json +1 -1
- package/src/components/Pagination.vue +16 -54
- package/src/functions/paginate.ts +46 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as a, openBlock as t, createElementBlock as o, createElementVNode as l, createBlock as f, withCtx as p, createTextVNode as m, toDisplayString as _, unref as x } from "vue";
|
|
2
|
-
import { a as h, d as v } from "./main-
|
|
2
|
+
import { a as h, d as v } from "./main-DseJBKsd.js";
|
|
3
3
|
const g = { class: "fr-text--xs" }, b = { key: 0 }, k = ["src"], B = /* @__PURE__ */ u({
|
|
4
4
|
__name: "Datafair.client",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as y, computed as o, openBlock as t, createElementBlock as u, createBlock as p, withCtx as f, createTextVNode as m, toDisplayString as d, unref as l } from "vue";
|
|
2
|
-
import { a as z, u as T, b as k, d as h } from "./main-
|
|
2
|
+
import { a as z, u as T, b as k, d as h } from "./main-DseJBKsd.js";
|
|
3
3
|
const w = { class: "text-xs" }, B = ["src"], E = /* @__PURE__ */ _({
|
|
4
4
|
__name: "ImagePreview.client",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, defineAsyncComponent as u, openBlock as m, createBlock 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-DseJBKsd.js";
|
|
3
|
+
import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-A3Ige7AN.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 z, openBlock as u, createBlock as B, withCtx as N, createTextVNode as V, toDisplayString as q, unref as A, createElementBlock as D } from "vue";
|
|
2
|
-
import { a as F, d as O } from "./main-
|
|
2
|
+
import { a as F, d as O } from "./main-DseJBKsd.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-CSpn0Ca8.js").then((t) => t.d),
|
|
25
25
|
import("./OSM-CcrUhItr.js"),
|
|
26
26
|
// @ts-expect-error no types provided
|
|
27
|
-
import("./index-
|
|
27
|
+
import("./index-C6RfMwqg.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 bZ = (R, l, U, Z) => ({
|
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
import { defineComponent as Rd, ref as Nd, onBeforeUnmount as sd, openBlock as LU, createBlock as bd, unref as nd, withCtx as nZ, createElementVNode as kU, normalizeClass as ad, createElementBlock as aZ, Fragment as hd, renderList as md, createVNode as id } from "vue";
|
|
15
|
-
import { _ as Md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as Jd, _ as Gd } from "./main-
|
|
15
|
+
import { _ as Md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-A3Ige7AN.js";
|
|
16
|
+
import { u as Jd, _ as Gd } from "./main-DseJBKsd.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 S0, ref as P0, computed as qc, useTemplateRef as I0, onMounted as E0, openBlock as vh, createElementBlock as ip, createBlock as M0, withCtx as Gm, createTextVNode as $m, toDisplayString as Wc, unref as _s, createElementVNode as Za, createVNode as A0, createCommentVNode as C0 } from "vue";
|
|
2
|
-
import { g as D0, a as z0, e as R0, u as k0, f as L0, h as F0, d as O0, i as B0, j as N0, Q as j0, t as V0 } from "./main-
|
|
2
|
+
import { g as D0, a as z0, e as R0, u as k0, f as L0, h as F0, d as O0, i as B0, j as N0, Q as j0, t as V0 } from "./main-DseJBKsd.js";
|
|
3
3
|
var un = Uint8Array, Fl = Uint16Array, U0 = Int32Array, lg = new un([
|
|
4
4
|
0,
|
|
5
5
|
0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, ref as v, computed as y, onMounted as S, nextTick as w, openBlock as a, createElementBlock as b, normalizeClass as B, renderSlot as x, createElementVNode as _, toDisplayString as i, unref as t, createBlock as s, withCtx as n, createTextVNode as u, createCommentVNode as E } from "vue";
|
|
2
|
-
import { a as L, b as N, c as R, d as c } from "./main-
|
|
2
|
+
import { a as L, b as N, c as R, d as c } from "./main-DseJBKsd.js";
|
|
3
3
|
const V = { class: "text-gray-medium" }, F = /* @__PURE__ */ C({
|
|
4
4
|
__name: "PreviewWrapper",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, defineAsyncComponent as m, openBlock as u, createBlock 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-DseJBKsd.js";
|
|
3
|
+
import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-A3Ige7AN.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-GEec9TSv.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 { A as e, l as t, m as r, n as o, o as i, p as n, q as c, r as l, j as b, C as u, s as g, v as T, D as d, w as C, x as p, y as S, z as m, B as D, E as R, F as O, G as E, H as f, I, J as y, K as h, L as A, M, N as P, O as v, P as L, R as z, S as F, T as w, U as G, V as _, W as N, X as U, Y as H, Z as k, $ as x, a0 as B, a1 as Q, a2 as V, a3 as j, a4 as W, a5 as Y, a6 as X, a7 as Z, a8 as q, a9 as J, aa as K, ab as $, ac as aa, ad as sa, ae as ea, af as ta, ag as ra, ah as oa, ai as ia, aj as na, ak as ca, al as la, am as ba, an as ua, ao as ga, ap as Ta, aq as da, ar as Ca, as as pa, at as Sa, au as ma, av as Da, aw as Ra, ax as Oa, ay as Ea, az as fa, aA as Ia, aB as ya, aC as ha, aD as Aa, aE as Ma, aF as Pa, aG as va, aH as La, aI as za, aJ as Fa, aK as wa, aL as Ga, aM as _a, aN as Na, aO as Ua, aP as Ha, aQ as ka, aR as xa, aS as Ba, aT as Qa, aU as Va, aV as ja, aW as Wa, aX as Ya, aY as Xa, aZ as Za, a_ as qa, a$ as Ja, b0 as Ka, b1 as $a, b2 as as, b3 as ss, b4 as es, b5 as ts, b6 as rs, b7 as os, b8 as is, b9 as ns, ba as cs, bb as ls, bc as bs, bd as us, be as gs, bf as Ts, bg as ds, bh as Cs, bi as ps, bj as Ss, bk as ms, bl as Ds, bm as Rs, bn as Os, bo as Es, bp as fs, bq as Is, br as ys, bs as hs, bt as As, bu as Ms, bv as Ps, bw as vs, bx as Ls, by as zs, h as Fs, f as ws, bz as Gs, bA as _s, c as Ns, bB as Us, b as Hs, bC as ks, bD as xs, bE as Bs, bF as Qs, bG as Vs, bH as js, bI as Ws, bJ as Ys, bK as Xs, bL as Zs, bM as qs, bN as Js, bO as Ks, bP as $s, bQ as ae, bR as se, bS as ee, bT as te, bU as re, bV as oe, bW as ie, bX as ne, bY as ce, bZ as le, b_ as be, b$ as ue, c0 as ge, c0 as Te, c1 as de, c2 as Ce, c3 as pe, c4 as Se, c5 as me, t as De, c6 as Re, c7 as Oe, c8 as Ee, c9 as fe, ca as Ie, u as ye, cb as he, cc as Ae, cd as Me, e as Pe, ce as ve, cf as Le, cg as ze, ch as Fe, ci as we, cj as Ge, ck as _e, cl as Ne, cm as Ue, cn as He, co as ke, cp as xe, a as Be } from "./main-
|
|
1
|
+
import { A as e, l as t, m as r, n as o, o as i, p as n, q as c, r as l, j as b, C as u, s as g, v as T, D as d, w as C, x as p, y as S, z as m, B as D, E as R, F as O, G as E, H as f, I, J as y, K as h, L as A, M, N as P, O as v, P as L, R as z, S as F, T as w, U as G, V as _, W as N, X as U, Y as H, Z as k, $ as x, a0 as B, a1 as Q, a2 as V, a3 as j, a4 as W, a5 as Y, a6 as X, a7 as Z, a8 as q, a9 as J, aa as K, ab as $, ac as aa, ad as sa, ae as ea, af as ta, ag as ra, ah as oa, ai as ia, aj as na, ak as ca, al as la, am as ba, an as ua, ao as ga, ap as Ta, aq as da, ar as Ca, as as pa, at as Sa, au as ma, av as Da, aw as Ra, ax as Oa, ay as Ea, az as fa, aA as Ia, aB as ya, aC as ha, aD as Aa, aE as Ma, aF as Pa, aG as va, aH as La, aI as za, aJ as Fa, aK as wa, aL as Ga, aM as _a, aN as Na, aO as Ua, aP as Ha, aQ as ka, aR as xa, aS as Ba, aT as Qa, aU as Va, aV as ja, aW as Wa, aX as Ya, aY as Xa, aZ as Za, a_ as qa, a$ as Ja, b0 as Ka, b1 as $a, b2 as as, b3 as ss, b4 as es, b5 as ts, b6 as rs, b7 as os, b8 as is, b9 as ns, ba as cs, bb as ls, bc as bs, bd as us, be as gs, bf as Ts, bg as ds, bh as Cs, bi as ps, bj as Ss, bk as ms, bl as Ds, bm as Rs, bn as Os, bo as Es, bp as fs, bq as Is, br as ys, bs as hs, bt as As, bu as Ms, bv as Ps, bw as vs, bx as Ls, by as zs, h as Fs, f as ws, bz as Gs, bA as _s, c as Ns, bB as Us, b as Hs, bC as ks, bD as xs, bE as Bs, bF as Qs, bG as Vs, bH as js, bI as Ws, bJ as Ys, bK as Xs, bL as Zs, bM as qs, bN as Js, bO as Ks, bP as $s, bQ as ae, bR as se, bS as ee, bT as te, bU as re, bV as oe, bW as ie, bX as ne, bY as ce, bZ as le, b_ as be, b$ as ue, c0 as ge, c0 as Te, c1 as de, c2 as Ce, c3 as pe, c4 as Se, c5 as me, t as De, c6 as Re, c7 as Oe, c8 as Ee, c9 as fe, ca as Ie, u as ye, cb as he, cc as Ae, cd as Me, e as Pe, ce as ve, cf as Le, cg as ze, ch as Fe, ci as we, cj as Ge, ck as _e, cl as Ne, cm as Ue, cn as He, co as ke, cp as xe, a as Be } from "./main-DseJBKsd.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-BoeTUnDZ.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 defaultStrokeOffset, l as defaultPadding, m as defaultTextBaseline, n as defaultTextAlign, o as defaultFont, r as registerFont, p as getTextDimensions, q as drawImageOrLabel, s as measureAndCacheTextWidth, I as Icon, B as BaseVectorLayer, P as PointerInteraction, t as noModifierKeys, u as always, v as shiftKeyOnly, w as InteractionProperty, M as MapBrowserEventType, x as MapBrowserEvent, y as never, z as createEditingStyle, A as primaryAction, D as altKeyOnly, E as singleClick, F as Interaction, G as Fill, S as Stroke, T as Text, H as Style$1, J as CircleStyle, K as checkedFonts, L as Map$1, N as pointerMove, O as ImageStyle, Q as Attribution, Z as Zoom, U as MapProperty } from "./Map-BfqKMw0S.js";
|
|
8
8
|
import { S as SimpleGeometry, m as maxSquaredDelta, a as assignClosestPoint, i as inflateCoordinates, d as douglasPeucker, b as deflateCoordinates, c as arrayMaxSquaredDelta, e as assignClosestArrayPoint, f as inflateCoordinatesArray, g as douglasPeuckerArray, h as deflateCoordinatesArray, P as Point$1, j as multiArrayMaxSquaredDelta, k as assignClosestMultiArrayPoint, l as linearRingss$1, o as orientLinearRingsArray, n as inflateMultiCoordinatesArray, p as getInteriorPointsOfMultiArray, q as linearRingssAreOriented, r as quantizeMultiArray, s as Polygon, t as deflateMultiCoordinatesArray, u as getInteriorPointOfArray, v as inflateEnds, w as transform2D, x as quantizeArray, y as deflateCoordinate, z as rotate, A as snap, B as transformGeom2D, V as ViewHint, G as Geometry, 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-BYBpt-AU.js";
|
|
9
|
-
import { k as commonjsGlobal, g as getDefaultExportFromCjs$1 } from "./main-
|
|
9
|
+
import { k as commonjsGlobal, g as getDefaultExportFromCjs$1 } from "./main-DseJBKsd.js";
|
|
10
10
|
import { R as RenderEventType, a as asArray, B as BaseLayer } from "./Event-iXDrp-fy.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-CSpn0Ca8.js";
|
|
12
12
|
function padNumber(i, e, t) {
|