@datagouv/components-next 1.0.2-dev.174 → 1.0.2-dev.176

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.
@@ -1,4 +1,4 @@
1
- import { g as qo } from "./main-I9G-L-lg.js";
1
+ import { g as qo } from "./main-DD4ieUAo.js";
2
2
  function jo(Vt, qt) {
3
3
  for (var l = 0; l < qt.length; l++) {
4
4
  const it = qt[l];
@@ -52322,7 +52322,7 @@ const vU = { class: "space-y-1 py-6" }, HU = { class: "flex items-center space-x
52322
52322
  const t = e, i = J(null);
52323
52323
  return J1(async () => {
52324
52324
  await Promise.resolve({ });
52325
- const r = await import("./leaflet-src-BoMqG6Yx.js").then((a) => a.l);
52325
+ const r = await import("./leaflet-src-ByYGrf8H.js").then((a) => a.l);
52326
52326
  if (!i.value) return;
52327
52327
  const n = r.map(i.value);
52328
52328
  r.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
@@ -59815,7 +59815,7 @@ const JK = {
59815
59815
  canEdit: { type: Boolean, default: !1 }
59816
59816
  },
59817
59817
  setup(e) {
59818
- 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 = V2(), n = lt(() => import("./MapContainer.client-DNOQ5XTT.js")), l = lt(() => import("./Pmtiles.client-CgaDrCHk.js")), a = lt(() => import("./JsonPreview.client-CvOpMCxW.js")), c = lt(() => import("./PdfPreview.client-DwAvLLq_.js")), u = lt(() => import("./XmlPreview.client-B24FIhU7.js")), h = lt(() => import("./ImagePreview.client-BU5QNqG_.js")), d = lt(() => import("./Datafair.client-BU2gspr8.js")), { t: p } = w1(), { formatRelativeIfRecentDate: C } = We(), g = Lm(), m = A(() => {
59818
+ 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 = V2(), n = lt(() => import("./MapContainer.client-IGYJWP5m.js")), l = lt(() => import("./Pmtiles.client-CLq7UHBg.js")), a = lt(() => import("./JsonPreview.client-CKOU-LBs.js")), c = lt(() => import("./PdfPreview.client-csUebU3A.js")), u = lt(() => import("./XmlPreview.client-C1toAbQ0.js")), h = lt(() => import("./ImagePreview.client-CPmCyisP.js")), d = lt(() => import("./Datafair.client-CaxMyNif.js")), { t: p } = w1(), { formatRelativeIfRecentDate: C } = We(), g = Lm(), m = A(() => {
59819
59819
  const v1 = i.resource.format?.toLowerCase();
59820
59820
  return v1 === "json" || v1 === "pdf" || v1 === "xml" || z6(v1);
59821
59821
  }), f = A(() => g(i.resource)), x = A(() => i.resource.extras["analysis:parsing:pmtiles_url"] || i.resource.format === "pmtiles"), y = A(() => Q9(i.dataset.organization) && i.resource.extras.datafairEmbed), H = A(() => Q9(i.dataset.organization) && i.resource.extras.apidocUrl), V = A(() => Zr(i.resource.format) ? i.resource.format : p("Fichier")), b = A(() => fm(i.resource)), M = A(() => b.value === "wms"), z = J(i.expandedOnMount), B = () => {
@@ -62398,19 +62398,19 @@ const AX = { class: "flex min-h-0 flex-1 flex-col" }, kX = { class: "text-xs bre
62398
62398
  async setup(e) {
62399
62399
  let t, i;
62400
62400
  const r = lt(
62401
- () => import("./JsonPreview.client-CvOpMCxW.js")
62401
+ () => import("./JsonPreview.client-CKOU-LBs.js")
62402
62402
  ), n = lt(
62403
- () => import("./PdfPreview.client-DwAvLLq_.js")
62403
+ () => import("./PdfPreview.client-csUebU3A.js")
62404
62404
  ), l = lt(
62405
- () => import("./XmlPreview.client-B24FIhU7.js")
62405
+ () => import("./XmlPreview.client-C1toAbQ0.js")
62406
62406
  ), a = lt(
62407
- () => import("./ImagePreview.client-BU5QNqG_.js")
62407
+ () => import("./ImagePreview.client-CPmCyisP.js")
62408
62408
  ), c = lt(
62409
- () => import("./Datafair.client-BU2gspr8.js")
62409
+ () => import("./Datafair.client-CaxMyNif.js")
62410
62410
  ), u = lt(
62411
- () => import("./MapContainer.client-DNOQ5XTT.js")
62411
+ () => import("./MapContainer.client-IGYJWP5m.js")
62412
62412
  ), h = lt(
62413
- () => import("./Pmtiles.client-CgaDrCHk.js")
62413
+ () => import("./Pmtiles.client-CLq7UHBg.js")
62414
62414
  ), d = e, { t: p } = w1(), C = V2(), g = fs(), m = lp(), {
62415
62415
  previewKind: f,
62416
62416
  hasTabularData: x,
@@ -73534,8 +73534,8 @@ const gi1 = ["for", "title"], fi1 = {
73534
73534
  setup(e, { emit: t }) {
73535
73535
  const i = t, { t: r } = w1(), n = [
73536
73536
  { value: "open", label: r("Téléchargement libre") },
73537
- { value: "open_with_account", label: r("Ouvert sous condition") },
73538
- { value: "restricted", label: r("Accessible sous habilitation") }
73537
+ { value: "open_with_account", label: r("Ouvert avec un compte") },
73538
+ { value: "restricted", label: r("Accès restreint") }
73539
73539
  ];
73540
73540
  return (l, a) => (v(), j(Yi, {
73541
73541
  "model-value": e.modelValue,
@@ -1,4 +1,4 @@
1
- import { g as Ke } from "./main-I9G-L-lg.js";
1
+ import { g as Ke } from "./main-DD4ieUAo.js";
2
2
  import We from "vue";
3
3
  function Fe($, K) {
4
4
  for (var V = 0; V < K.length; V++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datagouv/components-next",
3
- "version": "1.0.2-dev.174",
3
+ "version": "1.0.2-dev.176",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {
@@ -31,7 +31,7 @@
31
31
  "@vueuse/core": "^14.3.0",
32
32
  "@vueuse/router": "^14.3.0",
33
33
  "chart.js": "^4.5.1",
34
- "dompurify": "^3.4.11",
34
+ "dompurify": "^3.4.13",
35
35
  "echarts": "^6.1.0",
36
36
  "geopf-extensions-openlayers": "1.0.0-beta.11",
37
37
  "leaflet": "^1.9.4",
@@ -31,7 +31,7 @@ const { t } = useTranslation()
31
31
 
32
32
  const options = [
33
33
  { value: 'open', label: t('Téléchargement libre') },
34
- { value: 'open_with_account', label: t('Ouvert sous condition') },
35
- { value: 'restricted', label: t('Accessible sous habilitation') },
34
+ { value: 'open_with_account', label: t('Ouvert avec un compte') },
35
+ { value: 'restricted', label: t('Accès restreint') },
36
36
  ]
37
37
  </script>