@datagouv/components-next 1.0.2-dev.155 → 1.0.2-dev.156
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-DtRZzOSC.js → Datafair.client-bp15NLRY.js} +1 -1
- package/dist/{JsonPreview.client-BUKUgRg5.js → JsonPreview.client-yqVpZTmF.js} +2 -2
- package/dist/{MapContainer.client-CJEunt9n.js → MapContainer.client-2lywLnVm.js} +2 -2
- package/dist/{PdfPreview.client-NEarDRLg.js → PdfPreview.client-BG7MXWMB.js} +2 -2
- package/dist/{Pmtiles.client-Cd7YYm67.js → Pmtiles.client-5ghpJ7mq.js} +1 -1
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-CxKTCDXD.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-C-sK1BJV.js} +1 -1
- package/dist/{XmlPreview.client-B3d67EsR.js → XmlPreview.client-DWzKxXoL.js} +3 -3
- package/dist/components-next.js +1 -1
- package/dist/{index-Brxv657p.js → index-B6iEXWF6.js} +1 -1
- package/dist/{leaflet-src-C4j3Fhuc.js → leaflet-src-CpoKI-p2.js} +1 -1
- package/dist/{main-B3yaCPy_.js → main-uIKdSuDJ.js} +4741 -4727
- package/dist/{vue3-xml-viewer.common-BFa35npg.js → vue3-xml-viewer.common-C2hQ2aXh.js} +1 -1
- package/package.json +1 -1
- package/src/components/Chart/ChartViewer.vue +97 -10
- package/src/components/TabularExplorer/types.ts +2 -2
- package/src/functions/charts.ts +18 -2
- package/src/types/visualizations.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, computed as a, openBlock as t, createElementBlock as o, createElementVNode as u, createBlock 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-uIKdSuDJ.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, 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-uIKdSuDJ.js";
|
|
3
|
+
import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-C-sK1BJV.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, openBlock as u, createBlock as N, withCtx as V, createTextVNode as z, toDisplayString as q, unref as A, createElementBlock as D } from "vue";
|
|
2
|
-
import { a as F, _ as O } from "./main-
|
|
2
|
+
import { a as F, _ as O } from "./main-uIKdSuDJ.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-B6iEXWF6.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, openBlock as LU, createBlock as Nd, 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-C-sK1BJV.js";
|
|
16
|
+
import { u as id } from "./main-uIKdSuDJ.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 T0, ref as S0, computed as $c, useTemplateRef as P0, onMounted as I0, openBlock as yh, createElementBlock as ip, createBlock as E0, withCtx as Gm, createTextVNode as $m, toDisplayString as Zc, unref as ps, createElementVNode as So, createVNode as M0, createCommentVNode as A0 } from "vue";
|
|
2
|
-
import { g as C0, a as D0, d as z0, u as R0, e as k0, f as L0, _ as F0, h as O0, i as B0, Q as N0, t as j0 } from "./main-
|
|
2
|
+
import { g as C0, a as D0, d as z0, u as R0, e as k0, f as L0, _ as F0, h as O0, i as B0, Q as N0, t as j0 } from "./main-uIKdSuDJ.js";
|
|
3
3
|
var sn = Uint8Array, zl = Uint16Array, V0 = Int32Array, sg = new sn([
|
|
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, openBlock as l, createElementBlock as k, renderSlot as C, toDisplayString as r, unref as a, createBlock as n, withCtx as o, createTextVNode as u, createCommentVNode as b } from "vue";
|
|
2
|
-
import { a as B, b as E, c as L, _ as c } from "./main-
|
|
2
|
+
import { a as B, b as E, c as L, _ as c } from "./main-uIKdSuDJ.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, 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-uIKdSuDJ.js";
|
|
3
|
+
import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-C-sK1BJV.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-C2hQ2aXh.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, k as t, l as r, m as o, n as i, o as n, p as c, q as l, i as b, C as u, r as g, s as d, D as T, v as C, w as p, x as S, y as m, z as D, B as R, E as O, F as E, G as f, H as I, I as y, J as h, K as A, L as P, M, N as L, O as v, P as z, R as F, S as w, T as G, U as _, V as N, W as U, X as k, Y as x, Z as B, $ as H, a0 as V, a1 as Q, a2 as W, a3 as Y, a4 as X, a5 as j, a6 as Z, a7 as q, a8 as J, a9 as K, aa as $, ab as aa, ac as sa, ad as ea, ae as ta, af as ra, ag as oa, ah as ia, ai as na, aj as ca, ak as la, al as ba, am as ua, an as ga, ao as da, ap as Ta, aq as Ca, ar as pa, as as Sa, at as ma, au as Da, av as Ra, aw as Oa, ax as Ea, ay as fa, az as Ia, aA as ya, aB as ha, aC as Aa, aD as Pa, aE as Ma, aF as La, aG as va, aH as za, aI as Fa, aJ as wa, aK as Ga, aL as _a, aM as Na, aN as Ua, aO as ka, aP as xa, aQ as Ba, aR as Ha, aS as Va, aT as Qa, aU as Wa, aV as Ya, aW as Xa, aX as ja, aY as Za, aZ as qa, a_ as Ja, a$ as Ka, b0 as $a, b1 as as, b2 as ss, b3 as es, b4 as ts, b5 as rs, b6 as os, b7 as is, b8 as ns, b9 as cs, ba as ls, bb as bs, bc as us, bd as gs, be as ds, bf as Ts, bg as Cs, bh as ps, bi as Ss, bj as ms, bk as Ds, bl as Rs, bm as Os, bn as Es, bo as fs, bp as Is, bq as ys, f as hs, e as As, br as Ps, bs as Ms, c as Ls, bt as vs, b as zs, bu as Fs, bv as ws, bw as Gs, bx as _s, by as Ns, bz as Us, bA as ks, bB as xs, bC as Bs, bD as Hs, bE as Vs, bF as Qs, bG as Ws, bH as Ys, bI as Xs, bJ as js, bK as Zs, bL as qs, bM as Js, bN as Ks, bO as $s, bP as ae, bQ as se, bR as ee, bR as te, bS as re, bT as oe, bU as ie, bV as ne, t as ce, bW as le, bX as be, bY as ue, bZ as ge, b_ as de, u as Te, b$ as Ce, c0 as pe, d as Se, c1 as me, c2 as De, c3 as Re, c4 as Oe, c5 as Ee, c6 as fe, c7 as Ie, c8 as ye, c9 as he, ca as Ae, cb as Pe, a as Me } from "./main-
|
|
1
|
+
import { A as e, k as t, l as r, m as o, n as i, o as n, p as c, q as l, i as b, C as u, r as g, s as d, D as T, v as C, w as p, x as S, y as m, z as D, B as R, E as O, F as E, G as f, H as I, I as y, J as h, K as A, L as P, M, N as L, O as v, P as z, R as F, S as w, T as G, U as _, V as N, W as U, X as k, Y as x, Z as B, $ as H, a0 as V, a1 as Q, a2 as W, a3 as Y, a4 as X, a5 as j, a6 as Z, a7 as q, a8 as J, a9 as K, aa as $, ab as aa, ac as sa, ad as ea, ae as ta, af as ra, ag as oa, ah as ia, ai as na, aj as ca, ak as la, al as ba, am as ua, an as ga, ao as da, ap as Ta, aq as Ca, ar as pa, as as Sa, at as ma, au as Da, av as Ra, aw as Oa, ax as Ea, ay as fa, az as Ia, aA as ya, aB as ha, aC as Aa, aD as Pa, aE as Ma, aF as La, aG as va, aH as za, aI as Fa, aJ as wa, aK as Ga, aL as _a, aM as Na, aN as Ua, aO as ka, aP as xa, aQ as Ba, aR as Ha, aS as Va, aT as Qa, aU as Wa, aV as Ya, aW as Xa, aX as ja, aY as Za, aZ as qa, a_ as Ja, a$ as Ka, b0 as $a, b1 as as, b2 as ss, b3 as es, b4 as ts, b5 as rs, b6 as os, b7 as is, b8 as ns, b9 as cs, ba as ls, bb as bs, bc as us, bd as gs, be as ds, bf as Ts, bg as Cs, bh as ps, bi as Ss, bj as ms, bk as Ds, bl as Rs, bm as Os, bn as Es, bo as fs, bp as Is, bq as ys, f as hs, e as As, br as Ps, bs as Ms, c as Ls, bt as vs, b as zs, bu as Fs, bv as ws, bw as Gs, bx as _s, by as Ns, bz as Us, bA as ks, bB as xs, bC as Bs, bD as Hs, bE as Vs, bF as Qs, bG as Ws, bH as Ys, bI as Xs, bJ as js, bK as Zs, bL as qs, bM as Js, bN as Ks, bO as $s, bP as ae, bQ as se, bR as ee, bR as te, bS as re, bT as oe, bU as ie, bV as ne, t as ce, bW as le, bX as be, bY as ue, bZ as ge, b_ as de, u as Te, b$ as Ce, c0 as pe, d as Se, c1 as me, c2 as De, c3 as Re, c4 as Oe, c5 as Ee, c6 as fe, c7 as Ie, c8 as ye, c9 as he, ca as Ae, cb as Pe, a as Me } from "./main-uIKdSuDJ.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 { j as commonjsGlobal, g as getDefaultExportFromCjs$1 } from "./main-
|
|
9
|
+
import { j as commonjsGlobal, g as getDefaultExportFromCjs$1 } from "./main-uIKdSuDJ.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) {
|