@datagouv/components-next 1.0.2-dev.231 → 1.0.2-dev.233

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.
Files changed (34) hide show
  1. package/dist/{ImagePreview.client-H7jGf9xS.js → ImagePreview.client-CSRz7eUF.js} +2 -2
  2. package/dist/{JsonPreview.client-CQSCGT6V.js → JsonPreview.client-wT2hfYLv.js} +2 -2
  3. package/dist/{PdfPreview.client-Cz_jnvla.js → PdfPreview.client-DifxM8Th.js} +2 -2
  4. package/dist/{Pmtiles.client-CSoax_YA.js → Pmtiles.client-OyXiX_7g.js} +4 -4
  5. package/dist/{PreviewWrapper-DBlpLgs2.js → PreviewWrapper-D7yfQyyH.js} +1 -1
  6. package/dist/{XmlPreview.client-8vye8TAa.js → XmlPreview.client-BkPGZLn6.js} +2 -2
  7. package/dist/components-next.js +10226 -9938
  8. package/dist/components.css +1 -1
  9. package/dist/{france-Bu5x7PSp.js → france-BNatwStf.js} +1 -1
  10. package/dist/{resources-BBaRfEol.js → resources-kuI_FosB.js} +5 -5
  11. package/dist/{vue-D62CcCib.js → vue-D5eMxsCr.js} +78 -74
  12. package/package.json +1 -1
  13. package/src/components/ResourceExplorer/ResourceExplorer.vue +16 -5
  14. package/src/components/ResourceExplorer/ResourceExplorerSidebar.vue +140 -90
  15. package/src/components/ResourceExplorer/ResourceExplorerViewer.vue +20 -2
  16. package/src/components/ResourceExplorer/ResourceSelector.vue +3 -0
  17. package/src/components/ResourceExplorer/ResourceViewerHeader.vue +3 -5
  18. package/src/components/ResourceIconBadge.vue +28 -0
  19. package/src/components/ResourceListItem.vue +83 -27
  20. package/src/components/TabularExplorer/TabularActiveFilters.vue +94 -54
  21. package/src/components/TabularExplorer/TabularExplorer.vue +102 -25
  22. package/src/components/TabularExplorer/TabularFilterContent.vue +2 -1
  23. package/src/components/TabularExplorer/TabularMobileFilters.vue +4 -3
  24. package/src/components/TabularExplorer/TabularSearchInput.vue +40 -0
  25. package/src/components/TabularExplorer/TabularSkeleton.vue +14 -6
  26. package/src/components/TabularExplorer/TabularTable.vue +12 -5
  27. package/src/components/TabularExplorer/TabularToolbar.vue +7 -4
  28. package/src/components/TabularExplorer/types.ts +9 -1
  29. package/src/components/TabularExplorer/useTabularContext.ts +12 -1
  30. package/src/components/TabularExplorer/useTabularUrlState.ts +69 -0
  31. package/src/composables/useResourceCapabilities.ts +5 -0
  32. package/src/config.ts +7 -0
  33. package/src/functions/tabular.ts +134 -1
  34. package/src/main.ts +4 -1
@@ -1,6 +1,6 @@
1
1
  import { o as e, t } from "./PreviewUnavailable-BJkpCiyL.js";
2
- import { bt as n } from "./vue-D62CcCib.js";
3
- import { l as r } from "./resources-BBaRfEol.js";
2
+ import { St as n } from "./vue-D5eMxsCr.js";
3
+ import { l as r } from "./resources-kuI_FosB.js";
4
4
  import { computed as i, createBlock as a, createElementBlock as o, createTextVNode as s, defineComponent as c, openBlock as l, ref as u, toDisplayString as d, unref as f, withCtx as p } from "vue";
5
5
  //#region src/components/ResourceAccordion/ImagePreview.client.vue?vue&type=script&setup=true&lang.ts
6
6
  var m = { class: "text-xs" }, h = ["src"], g = /* @__PURE__ */ c({
@@ -1,5 +1,5 @@
1
- import { bt as e } from "./vue-D62CcCib.js";
2
- import { t } from "./PreviewWrapper-DBlpLgs2.js";
1
+ import { St as e } from "./vue-D5eMxsCr.js";
2
+ import { t } from "./PreviewWrapper-D7yfQyyH.js";
3
3
  import { createBlock as n, createVNode as r, defineAsyncComponent as i, defineComponent as a, openBlock as o, unref as s, withCtx as c } from "vue";
4
4
  //#endregion
5
5
  //#region src/components/ResourceAccordion/JsonPreview.client.vue
@@ -1,6 +1,6 @@
1
- import { bt as e } from "./vue-D62CcCib.js";
1
+ import { St as e } from "./vue-D5eMxsCr.js";
2
2
  import { t } from "./PdfSkeleton-5HBfBlXx.js";
3
- import { t as n } from "./PreviewWrapper-DBlpLgs2.js";
3
+ import { t as n } from "./PreviewWrapper-D7yfQyyH.js";
4
4
  import { Fragment as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, onBeforeUnmount as u, openBlock as d, ref as f, renderList as p, unref as m, withCtx as h } from "vue";
5
5
  //#region ../node_modules/pdfjs-dist/build/pdf.mjs
6
6
  var g = {};
@@ -1,7 +1,7 @@
1
1
  import { o as e, t } from "./rolldown-runtime-CEFd7nDs.js";
2
- import { d as n, n as r, o as i, r as a, t as o } from "./france-Bu5x7PSp.js";
2
+ import { d as n, n as r, o as i, r as a, t as o } from "./france-BNatwStf.js";
3
3
  import { o as s, t as c } from "./PreviewUnavailable-BJkpCiyL.js";
4
- import { C as l, bt as u } from "./vue-D62CcCib.js";
4
+ import { St as l, w as u } from "./vue-D5eMxsCr.js";
5
5
  import { t as d } from "./purify.es-CeeOHdER.js";
6
6
  import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, onMounted as b, openBlock as x, ref as S, toDisplayString as C, unref as w, useTemplateRef as T, withCtx as E } from "vue";
7
7
  //#region ../node_modules/fflate/esm/browser.js
@@ -38299,7 +38299,7 @@ var tt = et, H = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
38299
38299
  dataset: {}
38300
38300
  },
38301
38301
  setup(e) {
38302
- let t = e, { t: y } = s(), { formatDate: D } = n(), O = u(), k = S(!1), A = f(() => t.resource.extras["analysis:parsing:pmtiles_url"] ? t.resource.extras["analysis:parsing:pmtiles_url"] : t.resource.url), ee = f(() => O.pmtilesViewerBaseUrl ? `${O.pmtilesViewerBaseUrl}${encodeURIComponent(A.value)}` : null), te = f(() => t.resource.extras["analysis:parsing:pmtiles_url"] ? D(t.resource.extras["analysis:parsing:finished_at"]) : D(t.resource.last_modified)), j = T("containerRef"), ne = f(() => a(t.dataset));
38302
+ let t = e, { t: y } = s(), { formatDate: D } = n(), O = l(), k = S(!1), A = f(() => t.resource.extras["analysis:parsing:pmtiles_url"] ? t.resource.extras["analysis:parsing:pmtiles_url"] : t.resource.url), ee = f(() => O.pmtilesViewerBaseUrl ? `${O.pmtilesViewerBaseUrl}${encodeURIComponent(A.value)}` : null), te = f(() => t.resource.extras["analysis:parsing:pmtiles_url"] ? D(t.resource.extras["analysis:parsing:finished_at"]) : D(t.resource.last_modified)), j = T("containerRef"), ne = f(() => a(t.dataset));
38303
38303
  async function re() {
38304
38304
  await Promise.resolve({ });
38305
38305
  let e = new Fe();
@@ -38384,7 +38384,7 @@ var tt = et, H = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
38384
38384
  g("div", ct, [g("p", lt, C(w(y)("Explorer les données en détail")), 1), g("p", ut, C(w(y)("Utiliser un visualisateur PMTiles pour obtenir un aperçu des données.")), 1)]),
38385
38385
  g("p", dt, [v(i, {
38386
38386
  href: ee.value,
38387
- icon: w(l),
38387
+ icon: w(u),
38388
38388
  "icon-right": ""
38389
38389
  }, {
38390
38390
  default: E(() => [_(C(w(y)("Explorer la carte")), 1)]),
@@ -1,5 +1,5 @@
1
1
  import { o as e, t } from "./PreviewUnavailable-BJkpCiyL.js";
2
- import { l as n, s as r } from "./resources-BBaRfEol.js";
2
+ import { l as n, s as r } from "./resources-kuI_FosB.js";
3
3
  import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, defineComponent as u, nextTick as d, normalizeClass as f, onMounted as p, openBlock as m, ref as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
4
4
  //#region src/components/ResourceAccordion/PreviewWrapper.vue?vue&type=script&setup=true&lang.ts
5
5
  var b = { class: "text-gray-medium" }, x = /* @__PURE__ */ u({
@@ -1,6 +1,6 @@
1
1
  import { o as e } from "./rolldown-runtime-CEFd7nDs.js";
2
- import { bt as t } from "./vue-D62CcCib.js";
3
- import { t as n } from "./PreviewWrapper-DBlpLgs2.js";
2
+ import { St as t } from "./vue-D5eMxsCr.js";
3
+ import { t as n } from "./PreviewWrapper-D7yfQyyH.js";
4
4
  import { createBlock as r, createVNode as i, defineAsyncComponent as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
5
5
  //#endregion
6
6
  //#region src/components/ResourceAccordion/XmlPreview.client.vue