@datagouv/components-next 1.0.2-dev.44 → 1.0.2-dev.46
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/dist/{Datafair.client-BAokThtJ.js → Datafair.client-hLoIoNbP.js} +1 -1
- package/dist/{JsonPreview.client-DGiaDxVv.js → JsonPreview.client-BUCeeFKz.js} +2 -2
- package/dist/{MapContainer.client-BKGsAP0Y.js → MapContainer.client-DrQRSrq_.js} +2 -2
- package/dist/{PdfPreview.client-CGjP5ZYb.js → PdfPreview.client-vQ4bfJx3.js} +2 -2
- package/dist/{Pmtiles.client-C1I7pwT5.js → Pmtiles.client-DWtu_UNl.js} +1 -1
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-BlcvVwW8.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-4Ufr2Kmw.js} +1 -1
- package/dist/{XmlPreview.client-CHUVVEH6.js → XmlPreview.client-CEEHnAFF.js} +3 -3
- package/dist/components-next.css +1 -1
- package/dist/components-next.js +54 -54
- package/dist/components.css +1 -1
- package/dist/{index-CzClB3i0.js → index-CsOZmih1.js} +1 -1
- package/dist/main-7DRSPyNj.js +71033 -0
- package/dist/{vue3-xml-viewer.common-CAwAbUJl.js → vue3-xml-viewer.common-DOIGuzsk.js} +1 -1
- package/package.json +4 -3
- package/src/components/OpenApiViewer/ContentTypeSelect.vue +48 -0
- package/src/components/OpenApiViewer/EndpointRequest.vue +164 -0
- package/src/components/OpenApiViewer/EndpointResponses.vue +149 -0
- package/src/components/OpenApiViewer/OpenApiViewer.vue +308 -0
- package/src/components/OpenApiViewer/SchemaPanel.vue +53 -0
- package/src/components/OpenApiViewer/SchemaTree.vue +77 -0
- package/src/components/OpenApiViewer/openapi.ts +150 -0
- package/src/components/ResourceAccordion/ResourceAccordion.vue +3 -4
- package/src/components/ResourceExplorer/ResourceExplorerViewer.vue +3 -6
- package/src/main.ts +2 -2
- package/assets/swagger-themes/newspaper.css +0 -1670
- package/dist/Swagger.client-U7ZDVUHL.js +0 -4
- package/dist/main-CF7lWk6R.js +0 -106591
- package/src/components/ResourceAccordion/Swagger.client.vue +0 -48
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, computed as a, createElementBlock as o, openBlock as t, createBlock as u, createElementVNode as f, withCtx as p, createTextVNode as m, toDisplayString as _, unref as h } from "vue";
|
|
2
|
-
import { a as x, _ as g } from "./main-
|
|
2
|
+
import { a as x, _ as g } from "./main-7DRSPyNj.js";
|
|
3
3
|
const v = { class: "fr-text--xs" }, b = { key: 0 }, k = ["src"], $ = /* @__PURE__ */ l({
|
|
4
4
|
__name: "Datafair.client",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, defineAsyncComponent as u, createBlock as m, openBlock as p, unref as r, withCtx as f, createVNode as l } from "vue";
|
|
2
|
-
import { u as d } from "./main-
|
|
3
|
-
import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as d } from "./main-7DRSPyNj.js";
|
|
3
|
+
import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-4Ufr2Kmw.js";
|
|
4
4
|
const J = /* @__PURE__ */ c({
|
|
5
5
|
__name: "JsonPreview.client",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as E, useTemplateRef as G, ref as W, onMounted as B, createBlock as z, createElementBlock as N, openBlock as m, withCtx as U, createTextVNode as V, toDisplayString as q, unref as A } from "vue";
|
|
2
|
-
import { a as D, _ as F } from "./main-
|
|
2
|
+
import { a as D, _ as F } from "./main-7DRSPyNj.js";
|
|
3
3
|
const Z = /* @__PURE__ */ E({
|
|
4
4
|
__name: "MapContainer.client",
|
|
5
5
|
props: {
|
|
@@ -24,7 +24,7 @@ const Z = /* @__PURE__ */ E({
|
|
|
24
24
|
import("./Tile-DbNFNPfU.js").then((t) => t.d),
|
|
25
25
|
import("./OSM-s40W6sQ2.js"),
|
|
26
26
|
// @ts-expect-error no types provided
|
|
27
|
-
import("./index-
|
|
27
|
+
import("./index-CsOZmih1.js")
|
|
28
28
|
]), { CRS: S, GeoportalAttribution: g, GeoportalFullScreen: M, GeoportalZoom: b, LayerImport: v, LayerSwitcher: L } = _;
|
|
29
29
|
await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), S.load(), e = new s({
|
|
30
30
|
target: a.value,
|
|
@@ -12,8 +12,8 @@ var sZ = (R, l, U, Z) => ({
|
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
import { defineComponent as cd, ref as td, onBeforeUnmount as Rd, createBlock as Nd, openBlock as LU, unref as sd, withCtx as bd, createElementVNode as nd, createElementBlock as bZ, Fragment as ad, renderList as hd } from "vue";
|
|
15
|
-
import { _ as md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as id } from "./main-
|
|
15
|
+
import { _ as md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-4Ufr2Kmw.js";
|
|
16
|
+
import { u as id } from "./main-7DRSPyNj.js";
|
|
17
17
|
var ZU = {};
|
|
18
18
|
ZU.d = (R, l) => {
|
|
19
19
|
for (var U in l)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ly, ref as cy, computed as dc, useTemplateRef as uy, onMounted as hy, createElementBlock as Mp, openBlock as eh, createBlock as py, withCtx as rm, createTextVNode as nm, toDisplayString as fc, unref as Gs, createCommentVNode as dy, createElementVNode as is, createVNode as fy } from "vue";
|
|
2
|
-
import { c as my, a as gy, d as _y, u as yy, e as xy, f as vy, _ as by, h as wy, i as Ty, K as Sy, t as Py } from "./main-
|
|
2
|
+
import { c as my, a as gy, d as _y, u as yy, e as xy, f as vy, _ as by, h as wy, i as Ty, K as Sy, t as Py } from "./main-7DRSPyNj.js";
|
|
3
3
|
var fn = Uint8Array, Wo = Uint16Array, Iy = Int32Array, mm = new fn([
|
|
4
4
|
0,
|
|
5
5
|
0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as g, computed as h, onMounted as S, nextTick as w, createElementBlock as k, openBlock as l, renderSlot as C, createBlock as n, createCommentVNode as b, toDisplayString as r, unref as a, withCtx as o, createTextVNode as u } from "vue";
|
|
2
|
-
import { a as B, g as E, b as L, _ as c } from "./main-
|
|
2
|
+
import { a as B, g as E, b as L, _ as c } from "./main-7DRSPyNj.js";
|
|
3
3
|
const R = { class: "text-xs" }, q = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, defineAsyncComponent as m, createBlock as u, openBlock as f, unref as t, withCtx as l, createVNode as p } from "vue";
|
|
2
|
-
import { u as x } from "./main-
|
|
3
|
-
import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as x } from "./main-7DRSPyNj.js";
|
|
3
|
+
import { _ as w } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-4Ufr2Kmw.js";
|
|
4
4
|
const X = /* @__PURE__ */ i({
|
|
5
5
|
__name: "XmlPreview.client",
|
|
6
6
|
props: {
|
|
@@ -8,7 +8,7 @@ const X = /* @__PURE__ */ i({
|
|
|
8
8
|
},
|
|
9
9
|
setup(r) {
|
|
10
10
|
const o = m(
|
|
11
|
-
() => import("./vue3-xml-viewer.common-
|
|
11
|
+
() => import("./vue3-xml-viewer.common-DOIGuzsk.js").then((e) => e.v).then((e) => e.default || e.XmlViewer)
|
|
12
12
|
), n = r, s = x(), c = async () => {
|
|
13
13
|
const e = await fetch(n.resource.url);
|
|
14
14
|
if (!e.ok) throw new Error(`HTTP error! status: ${e.status}`);
|