@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.
- package/assets/main.css +4 -0
- package/dist/{Control-CeBb5PEu.js → Control-DPuXeUqi.js} +3 -12
- package/dist/{Datafair.client-Ci2WOgAS.js → Datafair.client-LlEgG7WU.js} +2 -3
- package/dist/{Image-CBQwYbQB.js → Image-DVWRoLLI.js} +7 -22
- package/dist/{ImagePreview.client-B4RtxuiJ.js → ImagePreview.client-Db5dmxMP.js} +2 -3
- package/dist/{JsonPreview.client-r7swv2fp.js → JsonPreview.client-DKy2AexC.js} +4 -6
- package/dist/{Layer-BPuffNS-.js → Layer-D_5tYbVm.js} +7 -9
- package/dist/{Map-QeL96qbQ.js → Map-CTBJEae_.js} +937 -967
- package/dist/{MapContainer.client-CxH1a8Tn.js → MapContainer.client-Clk9_bbS.js} +13 -15
- package/dist/{OSM-DT4I7v8A.js → OSM-B5Zc3qAf.js} +2 -3
- package/dist/{PdfPreview.client-BjeMcqcy.js → PdfPreview.client-D3wHTDb9.js} +130 -378
- package/dist/{PdfSkeleton-CVZxJaeL.js → PdfSkeleton-nas5Pmia.js} +2 -3
- package/dist/{Pmtiles.client-D8idR2l7.js → Pmtiles.client-NGYdeSJY.js} +151 -350
- package/dist/{PreviewError-Cx7CItT_.js → PreviewError-EeaGx3SL.js} +399 -392
- package/dist/{PreviewWrapper-Cd1RSmS-.js → PreviewWrapper-BhldDdXK.js} +2 -3
- package/dist/{ScaleLine-Cwwk9wJo.js → ScaleLine-C_tuJ6VG.js} +3 -4
- package/dist/Tile-8nHSuqcv.js +571 -0
- package/dist/{Tile-4WpHaLOZ.js → Tile-Bu5lF4M5.js} +8 -13
- package/dist/{TileImage-CZZ4lgsm.js → TileImage-CgO5alXc.js} +105 -113
- package/dist/{View-DWqx4Jqr.js → View-Dad8DfSD.js} +25 -51
- package/dist/{XmlPreview.client-cSebx8br.js → XmlPreview.client-CmGbc3c3.js} +5 -7
- package/dist/assets/maplibre-gl-worker-CEzvAyZY.js +10 -0
- package/dist/components-next.css +1 -1
- package/dist/components-next.js +15585 -15914
- package/dist/components.css +1 -1
- package/dist/{en-C_qOt4Jn.js → en-OIaJCts4.js} +1 -2
- package/dist/{france-DPcdJc84.js → france-BtSQqcqV.js} +5 -9
- package/dist/{hvd-ZlsiTVFh.js → hvd-CTia2VCz.js} +1 -2
- package/dist/{inspire-DZQ-yA5f.js → inspire-Cc-Kc4K-.js} +1 -2
- package/dist/{leaflet-src-lLkzhpcP.js → leaflet-src-BY_Zq0V0.js} +77 -126
- package/dist/{proj-DM6GW1n3.js → proj-COhZ08DR.js} +19 -37
- package/dist/{purify.es-D6pPunDo.js → purify.es-CGAWnSTR.js} +4 -27
- package/dist/{rolldown-runtime-CEFd7nDs.js → rolldown-runtime-DsPmjQRF.js} +2 -3
- package/dist/{sl-BxQ_ZY_w.js → sl-CKkMwQhf.js} +1 -2
- package/dist/{spd-Cs37HjuR.js → spd-Djcs02gw.js} +1 -2
- package/dist/{sr-JDtennFO.js → sr-DabGmchD.js} +1 -2
- package/dist/{src-D_UE0st7.js → src-D_o-aUzl.js} +1612 -2428
- package/dist/{text-clamp.esm-DRvX2Gzm.js → text-clamp.esm-DE3022VR.js} +3 -5
- package/dist/{transform-Ct1GejD-.js → transform-CNeEnSK9.js} +7 -13
- package/dist/{vue3-json-viewer-BJgUfh-l.js → vue3-json-viewer-CUx5EFVA.js} +1 -2
- package/dist/{vue3-xml-viewer.common-DbJwzvCC.js → vue3-xml-viewer.common-C0bbtsGT.js} +2 -3
- package/package.json +2 -2
- package/src/components/CardMedia.vue +42 -0
- package/src/components/ChartCard.vue +53 -59
- package/src/components/DataserviceCard.vue +69 -85
- package/src/components/DataserviceQualityInline.vue +4 -20
- package/src/components/DataserviceQualityTooltipContent.vue +57 -65
- package/src/components/DatasetCard.vue +80 -93
- package/src/components/DatasetQualityInline.vue +4 -20
- package/src/components/DatasetQualityTooltipContent.vue +60 -62
- package/src/components/DiscussionMessageCard.vue +19 -22
- package/src/components/ObjectCard.vue +89 -18
- package/src/components/ObjectCardBadge.vue +27 -16
- package/src/components/ObjectCardMeta.vue +15 -0
- package/src/components/ObjectCardMetric.vue +23 -0
- package/src/components/ObjectCardMetrics.vue +6 -0
- package/src/components/ObjectCardOwner.vue +170 -17
- package/src/components/ObjectCardQuality.vue +32 -0
- package/src/components/ObjectCardShortDescription.vue +1 -1
- package/src/components/OrganizationCard.vue +101 -69
- package/src/components/OrganizationNameInline.vue +49 -0
- package/src/components/OrganizationTypeBadge.vue +21 -0
- package/src/components/OwnerType.vue +1 -1
- package/src/components/OwnerTypeIcon.vue +7 -3
- package/src/components/PostCard.vue +31 -35
- package/src/components/ProgressBar.vue +6 -3
- package/src/components/QualityItem.vue +9 -18
- package/src/components/QualityScore.vue +7 -1
- package/src/components/ReuseCard.vue +114 -95
- package/src/components/ReuseDetails.vue +19 -29
- package/src/components/SchemaCard.vue +30 -27
- package/src/components/Search/GlobalSearch.vue +7 -4
- package/src/components/Toggletip.vue +24 -12
- package/src/components/Tooltip.vue +113 -29
- package/src/components/TopicCard.vue +69 -78
- package/src/main.ts +0 -4
- package/dist/Tile-BV44yf69.js +0 -574
- package/dist/assets/maplibre-gl-worker-C24SsKwV.js +0 -10
- package/src/components/ObjectCardHeader.vue +0 -42
- package/src/components/OrganizationHorizontalCard.vue +0 -87
- package/src/components/ReuseHorizontalCard.vue +0 -81
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
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 } =
|
|
8
|
+
let u = a, { t: d } = t(), f = null, p = l("mapRef"), m = c(!1);
|
|
10
9
|
async function h() {
|
|
11
|
-
let [{ default:
|
|
12
|
-
import("./View-
|
|
13
|
-
import("./Map-
|
|
14
|
-
import("./ScaleLine-
|
|
15
|
-
import("./Tile-
|
|
16
|
-
import("./OSM-
|
|
17
|
-
import("./src-
|
|
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
|
|
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
|
|
55
|
-
|
|
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-
|
|
2
|
-
|
|
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 };
|