@datagouv/components-next 1.4.1-dev.1373.g379aceb6 → 1.4.1-dev.1375.ge1f9e509

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 (81) hide show
  1. package/assets/main.css +4 -0
  2. package/dist/{Control-CeBb5PEu.js → Control-DPuXeUqi.js} +3 -12
  3. package/dist/{Datafair.client-Ci2WOgAS.js → Datafair.client-LlEgG7WU.js} +2 -3
  4. package/dist/{Image-CBQwYbQB.js → Image-DVWRoLLI.js} +7 -22
  5. package/dist/{ImagePreview.client-B4RtxuiJ.js → ImagePreview.client-Db5dmxMP.js} +2 -3
  6. package/dist/{JsonPreview.client-r7swv2fp.js → JsonPreview.client-DKy2AexC.js} +4 -6
  7. package/dist/{Layer-BPuffNS-.js → Layer-D_5tYbVm.js} +7 -9
  8. package/dist/{Map-QeL96qbQ.js → Map-CTBJEae_.js} +937 -967
  9. package/dist/{MapContainer.client-CxH1a8Tn.js → MapContainer.client-Clk9_bbS.js} +13 -15
  10. package/dist/{OSM-DT4I7v8A.js → OSM-B5Zc3qAf.js} +2 -3
  11. package/dist/{PdfPreview.client-BjeMcqcy.js → PdfPreview.client-D3wHTDb9.js} +130 -378
  12. package/dist/{PdfSkeleton-CVZxJaeL.js → PdfSkeleton-nas5Pmia.js} +2 -3
  13. package/dist/{Pmtiles.client-D8idR2l7.js → Pmtiles.client-NGYdeSJY.js} +151 -350
  14. package/dist/{PreviewError-Cx7CItT_.js → PreviewError-EeaGx3SL.js} +399 -392
  15. package/dist/{PreviewWrapper-Cd1RSmS-.js → PreviewWrapper-BhldDdXK.js} +2 -3
  16. package/dist/{ScaleLine-Cwwk9wJo.js → ScaleLine-C_tuJ6VG.js} +3 -4
  17. package/dist/Tile-8nHSuqcv.js +571 -0
  18. package/dist/{Tile-4WpHaLOZ.js → Tile-Bu5lF4M5.js} +8 -13
  19. package/dist/{TileImage-CZZ4lgsm.js → TileImage-CgO5alXc.js} +105 -113
  20. package/dist/{View-DWqx4Jqr.js → View-Dad8DfSD.js} +25 -51
  21. package/dist/{XmlPreview.client-cSebx8br.js → XmlPreview.client-CmGbc3c3.js} +5 -7
  22. package/dist/assets/maplibre-gl-worker-CEzvAyZY.js +10 -0
  23. package/dist/components-next.css +1 -1
  24. package/dist/components-next.js +15585 -15914
  25. package/dist/components.css +1 -1
  26. package/dist/{en-C_qOt4Jn.js → en-OIaJCts4.js} +1 -2
  27. package/dist/{france-DPcdJc84.js → france-BtSQqcqV.js} +5 -9
  28. package/dist/{hvd-ZlsiTVFh.js → hvd-CTia2VCz.js} +1 -2
  29. package/dist/{inspire-DZQ-yA5f.js → inspire-Cc-Kc4K-.js} +1 -2
  30. package/dist/{leaflet-src-lLkzhpcP.js → leaflet-src-BY_Zq0V0.js} +77 -126
  31. package/dist/{proj-DM6GW1n3.js → proj-COhZ08DR.js} +19 -37
  32. package/dist/{purify.es-D6pPunDo.js → purify.es-CGAWnSTR.js} +4 -27
  33. package/dist/{rolldown-runtime-CEFd7nDs.js → rolldown-runtime-DsPmjQRF.js} +2 -3
  34. package/dist/{sl-BxQ_ZY_w.js → sl-CKkMwQhf.js} +1 -2
  35. package/dist/{spd-Cs37HjuR.js → spd-Djcs02gw.js} +1 -2
  36. package/dist/{sr-JDtennFO.js → sr-DabGmchD.js} +1 -2
  37. package/dist/{src-D_UE0st7.js → src-D_o-aUzl.js} +1612 -2428
  38. package/dist/{text-clamp.esm-DRvX2Gzm.js → text-clamp.esm-DE3022VR.js} +3 -5
  39. package/dist/{transform-Ct1GejD-.js → transform-CNeEnSK9.js} +7 -13
  40. package/dist/{vue3-json-viewer-BJgUfh-l.js → vue3-json-viewer-CUx5EFVA.js} +1 -2
  41. package/dist/{vue3-xml-viewer.common-DbJwzvCC.js → vue3-xml-viewer.common-C0bbtsGT.js} +2 -3
  42. package/package.json +2 -2
  43. package/src/components/CardMedia.vue +42 -0
  44. package/src/components/ChartCard.vue +53 -59
  45. package/src/components/DataserviceCard.vue +69 -85
  46. package/src/components/DataserviceQualityInline.vue +4 -20
  47. package/src/components/DataserviceQualityTooltipContent.vue +57 -65
  48. package/src/components/DatasetCard.vue +80 -93
  49. package/src/components/DatasetQualityInline.vue +4 -20
  50. package/src/components/DatasetQualityTooltipContent.vue +60 -62
  51. package/src/components/DiscussionMessageCard.vue +19 -22
  52. package/src/components/ObjectCard.vue +89 -18
  53. package/src/components/ObjectCardBadge.vue +27 -16
  54. package/src/components/ObjectCardMeta.vue +15 -0
  55. package/src/components/ObjectCardMetric.vue +23 -0
  56. package/src/components/ObjectCardMetrics.vue +6 -0
  57. package/src/components/ObjectCardOwner.vue +170 -17
  58. package/src/components/ObjectCardQuality.vue +32 -0
  59. package/src/components/ObjectCardShortDescription.vue +1 -1
  60. package/src/components/OrganizationCard.vue +101 -69
  61. package/src/components/OrganizationNameInline.vue +49 -0
  62. package/src/components/OrganizationTypeBadge.vue +21 -0
  63. package/src/components/OwnerType.vue +1 -1
  64. package/src/components/OwnerTypeIcon.vue +7 -3
  65. package/src/components/PostCard.vue +31 -35
  66. package/src/components/ProgressBar.vue +6 -3
  67. package/src/components/QualityItem.vue +9 -18
  68. package/src/components/QualityScore.vue +7 -1
  69. package/src/components/ReuseCard.vue +114 -95
  70. package/src/components/ReuseDetails.vue +19 -29
  71. package/src/components/SchemaCard.vue +30 -27
  72. package/src/components/Search/GlobalSearch.vue +7 -4
  73. package/src/components/Toggletip.vue +24 -12
  74. package/src/components/Tooltip.vue +113 -29
  75. package/src/components/TopicCard.vue +69 -78
  76. package/src/main.ts +0 -4
  77. package/dist/Tile-BV44yf69.js +0 -574
  78. package/dist/assets/maplibre-gl-worker-C24SsKwV.js +0 -10
  79. package/src/components/ObjectCardHeader.vue +0 -42
  80. package/src/components/OrganizationHorizontalCard.vue +0 -87
  81. package/src/components/ReuseHorizontalCard.vue +0 -81
@@ -1,25 +1,24 @@
1
- import { H as e, j as t, t as n } from "./PreviewError-Cx7CItT_.js";
1
+ import { A as e, H as t, t as n } from "./PreviewError-EeaGx3SL.js";
2
2
  import { createBlock as r, createElementBlock as i, defineComponent as a, onMounted as o, openBlock as s, ref as c, useTemplateRef as l } from "vue";
3
- //#endregion
4
- //#region src/components/ResourceAccordion/MapContainer.client.vue
3
+ // src/components/ResourceAccordion/MapContainer.client.vue
5
4
  var u = /* @__PURE__ */ a({
6
5
  __name: "MapContainer.client",
7
6
  props: { resource: {} },
8
7
  setup(a) {
9
- let u = a, { t: d } = e(), f = null, p = l("mapRef"), m = c(!1);
8
+ let u = a, { t: d } = t(), f = null, p = l("mapRef"), m = c(!1);
10
9
  async function h() {
11
- let [{ default: e }, { default: n }, { default: r }, { default: i }, { default: a }, o] = await Promise.all([
12
- import("./View-DWqx4Jqr.js").then((e) => e.n),
13
- import("./Map-QeL96qbQ.js").then((e) => e.n),
14
- import("./ScaleLine-Cwwk9wJo.js"),
15
- import("./Tile-BV44yf69.js").then((e) => e.n),
16
- import("./OSM-DT4I7v8A.js"),
17
- import("./src-D_UE0st7.js")
10
+ let [{ default: t }, { default: n }, { default: r }, { default: i }, { default: a }, o] = await Promise.all([
11
+ import("./View-Dad8DfSD.js").then((e) => e.n),
12
+ import("./Map-CTBJEae_.js").then((e) => e.n),
13
+ import("./ScaleLine-C_tuJ6VG.js"),
14
+ import("./Tile-8nHSuqcv.js").then((e) => e.n),
15
+ import("./OSM-B5Zc3qAf.js"),
16
+ import("./src-D_o-aUzl.js")
18
17
  ]), { CRS: s, GeoportalAttribution: c, GeoportalFullScreen: l, GeoportalZoom: h, LayerImport: g, LayerSwitcher: _ } = o;
19
18
  await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), s.load(), f = new n({
20
19
  target: p.value,
21
20
  layers: [new i({ source: new a() })],
22
- view: new e({
21
+ view: new t({
23
22
  center: [288074.8449901076, 6247982.515792289],
24
23
  zoom: 8,
25
24
  constrainResolution: !0
@@ -51,8 +50,8 @@ var u = /* @__PURE__ */ a({
51
50
  function E() {
52
51
  if (!w._getCapResponseWMSLayers) T--, T > 0 ? setTimeout(E, 500) : m.value = !0;
53
52
  else {
54
- let e = w._getCapResponseWMSLayers.filter((e) => e.Name == u.resource.title)[0];
55
- e ? w._addGetCapWMSLayer(e) : t.info(d("La couche n'a pas pu être détectée automatiquement. Ajoutez-la via l'outil d'import de couches depuis la carte"));
53
+ let t = w._getCapResponseWMSLayers.filter((e) => e.Name == u.resource.title)[0];
54
+ t ? w._addGetCapWMSLayer(t) : e.info(d("La couche n'a pas pu être détectée automatiquement. Ajoutez-la via l'outil d'import de couches depuis la carte"));
56
55
  }
57
56
  }
58
57
  setTimeout(E, 500);
@@ -71,5 +70,4 @@ var u = /* @__PURE__ */ a({
71
70
  }, null, 512));
72
71
  }
73
72
  });
74
- //#endregion
75
73
  export { u as default };
@@ -1,5 +1,5 @@
1
- import { c as e, l as t, t as n } from "./TileImage-CZZ4lgsm.js";
2
- //#region ../node_modules/ol/source/XYZ.js
1
+ import { c as e, l as t, t as n } from "./TileImage-CgO5alXc.js";
2
+ // ../node_modules/ol/source/XYZ.js
3
3
  var r = class extends n {
4
4
  constructor(n) {
5
5
  n ||= {};
@@ -56,5 +56,4 @@ var r = class extends n {
56
56
  });
57
57
  }
58
58
  };
59
- //#endregion
60
59
  export { i as ATTRIBUTION, a as default };