@datagouv/components-next 1.4.1-dev.1373.g379aceb6 → 1.4.1-dev.1374.g4dfe0257
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/{Datafair.client-Ci2WOgAS.js → Datafair.client-LChXlMI3.js} +1 -1
- package/dist/{ImagePreview.client-B4RtxuiJ.js → ImagePreview.client-DWNGZghK.js} +1 -1
- package/dist/{JsonPreview.client-r7swv2fp.js → JsonPreview.client-DCklbUyJ.js} +2 -2
- package/dist/{MapContainer.client-CxH1a8Tn.js → MapContainer.client-B-aQhH35.js} +6 -6
- package/dist/{PdfPreview.client-BjeMcqcy.js → PdfPreview.client-1WFiBcXh.js} +3 -3
- package/dist/{PdfSkeleton-CVZxJaeL.js → PdfSkeleton-BvU7ERD1.js} +1 -1
- package/dist/{Pmtiles.client-D8idR2l7.js → Pmtiles.client-BlbOlwyy.js} +2 -2
- package/dist/{PreviewError-Cx7CItT_.js → PreviewError-BfBCBDEx.js} +6873 -6871
- package/dist/{PreviewWrapper-Cd1RSmS-.js → PreviewWrapper-DvycGC7l.js} +1 -1
- package/dist/{XmlPreview.client-cSebx8br.js → XmlPreview.client-ClFD8R3a.js} +2 -2
- package/dist/components-next.css +1 -1
- package/dist/components-next.js +11924 -11677
- package/dist/components.css +1 -1
- package/dist/{france-DPcdJc84.js → france-JfC0dOuE.js} +1 -1
- package/package.json +1 -1
- 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/src/components/ObjectCardHeader.vue +0 -42
- package/src/components/OrganizationHorizontalCard.vue +0 -87
- package/src/components/ReuseHorizontalCard.vue +0 -81
package/assets/main.css
CHANGED
|
@@ -101,6 +101,9 @@
|
|
|
101
101
|
--color-gray-default: #e5e5e5;
|
|
102
102
|
--color-gray-plain: #3a3a3a;
|
|
103
103
|
--color-gray-some: #f6f6f6;
|
|
104
|
+
--color-gray-secondary: #555555;
|
|
105
|
+
--color-gray-active: #f0f0f0;
|
|
106
|
+
--color-blue-france-contrast: #ececfe;
|
|
104
107
|
--color-gray-logo: #373c42;
|
|
105
108
|
--color-gray-dark: #242424;
|
|
106
109
|
--color-gray-disabled: #2A2A2A;
|
|
@@ -140,6 +143,7 @@
|
|
|
140
143
|
--color-pink-soft: #FFE4F2;
|
|
141
144
|
--color-pink: #CF006D;
|
|
142
145
|
|
|
146
|
+
--shadow-overlay: 0 8px 24px #16161614;
|
|
143
147
|
--shadow-input-blue: inset 0 -2px 0 0 #000091;
|
|
144
148
|
--shadow-input: inset 0 -2px 0 0 var(--blue-cumulus-sun-368-moon-732);
|
|
145
149
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, t } from "./PreviewError-
|
|
1
|
+
import { a as e, t } from "./PreviewError-BfBCBDEx.js";
|
|
2
2
|
import { computed as n, createBlock as r, createElementBlock as i, createElementVNode as a, defineComponent as o, openBlock as s } from "vue";
|
|
3
3
|
//#region src/components/ResourceAccordion/Datafair.client.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var c = { class: "fr-text--xs" }, l = { key: 0 }, u = ["src"], d = /* @__PURE__ */ o({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as e, L as t, _ as n, i as r, t as i } from "./PreviewError-
|
|
1
|
+
import { H as e, L as t, _ as n, i as r, t as i } from "./PreviewError-BfBCBDEx.js";
|
|
2
2
|
import { computed as a, createBlock as o, createElementBlock as s, defineComponent as c, openBlock as l, ref as u } from "vue";
|
|
3
3
|
//#region src/components/ResourceAccordion/ImagePreview.client.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var d = { class: "text-xs" }, f = ["src"], p = /* @__PURE__ */ c({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as e } from "./PreviewError-
|
|
2
|
-
import { t } from "./PreviewWrapper-
|
|
1
|
+
import { L as e } from "./PreviewError-BfBCBDEx.js";
|
|
2
|
+
import { t } from "./PreviewWrapper-DvycGC7l.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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, H as t, t as n } from "./PreviewError-BfBCBDEx.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
3
|
//#endregion
|
|
4
4
|
//#region src/components/ResourceAccordion/MapContainer.client.vue
|
|
@@ -6,9 +6,9 @@ var u = /* @__PURE__ */ a({
|
|
|
6
6
|
__name: "MapContainer.client",
|
|
7
7
|
props: { resource: {} },
|
|
8
8
|
setup(a) {
|
|
9
|
-
let u = a, { t: d } =
|
|
9
|
+
let u = a, { t: d } = t(), f = null, p = l("mapRef"), m = c(!1);
|
|
10
10
|
async function h() {
|
|
11
|
-
let [{ default:
|
|
11
|
+
let [{ default: t }, { default: n }, { default: r }, { default: i }, { default: a }, o] = await Promise.all([
|
|
12
12
|
import("./View-DWqx4Jqr.js").then((e) => e.n),
|
|
13
13
|
import("./Map-QeL96qbQ.js").then((e) => e.n),
|
|
14
14
|
import("./ScaleLine-Cwwk9wJo.js"),
|
|
@@ -19,7 +19,7 @@ var u = /* @__PURE__ */ a({
|
|
|
19
19
|
await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), s.load(), f = new n({
|
|
20
20
|
target: p.value,
|
|
21
21
|
layers: [new i({ source: new a() })],
|
|
22
|
-
view: new
|
|
22
|
+
view: new t({
|
|
23
23
|
center: [288074.8449901076, 6247982.515792289],
|
|
24
24
|
zoom: 8,
|
|
25
25
|
constrainResolution: !0
|
|
@@ -51,8 +51,8 @@ var u = /* @__PURE__ */ a({
|
|
|
51
51
|
function E() {
|
|
52
52
|
if (!w._getCapResponseWMSLayers) T--, T > 0 ? setTimeout(E, 500) : m.value = !0;
|
|
53
53
|
else {
|
|
54
|
-
let
|
|
55
|
-
|
|
54
|
+
let t = w._getCapResponseWMSLayers.filter((e) => e.Name == u.resource.title)[0];
|
|
55
|
+
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
56
|
}
|
|
57
57
|
}
|
|
58
58
|
setTimeout(E, 500);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { H as e, L as t, M as n } from "./PreviewError-
|
|
2
|
-
import { t as r } from "./PdfSkeleton-
|
|
3
|
-
import { t as i } from "./PreviewWrapper-
|
|
1
|
+
import { H as e, L as t, M as n } from "./PreviewError-BfBCBDEx.js";
|
|
2
|
+
import { t as r } from "./PdfSkeleton-BvU7ERD1.js";
|
|
3
|
+
import { t as i } from "./PreviewWrapper-DvycGC7l.js";
|
|
4
4
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, onBeforeUnmount as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
5
5
|
//#region ../node_modules/pdfjs-dist/build/pdf.mjs
|
|
6
6
|
var b = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as e } from "./PreviewError-
|
|
1
|
+
import { H as e } from "./PreviewError-BfBCBDEx.js";
|
|
2
2
|
import { createElementBlock as t, createStaticVNode as n, defineComponent as r, normalizeClass as i, openBlock as a, unref as o } from "vue";
|
|
3
3
|
//#region src/components/ResourceAccordion/PdfSkeleton.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var s = ["aria-label"], c = /* @__PURE__ */ r({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as e, L as t, M as n,
|
|
2
|
-
import { c as a, n as o, r as s, t as c } from "./france-
|
|
1
|
+
import { H as e, L as t, M as n, ft as r, t as i } from "./PreviewError-BfBCBDEx.js";
|
|
2
|
+
import { c as a, n as o, r as s, t as c } from "./france-JfC0dOuE.js";
|
|
3
3
|
import { t as l } from "./purify.es-D6pPunDo.js";
|
|
4
4
|
import { computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, onMounted as v, openBlock as y, ref as b, toDisplayString as x, unref as S, useTemplateRef as C, withCtx as w } from "vue";
|
|
5
5
|
//#region ../node_modules/fflate/esm/browser.js
|