@datagouv/components-next 0.0.19 → 0.0.21
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/{JsonPreview.client-BV0aJz23.js → JsonPreview.client-SDR6QQ7R.js} +1 -1
- package/dist/{MapContainer.client-CxqfY1ge.js → MapContainer.client-grQTB4fm.js} +4 -3
- package/dist/{PdfPreview.client-Brxtbt2i.js → PdfPreview.client-BD1xfGym.js} +1 -1
- package/dist/Pmtiles.client-B3aT7Aun.js +22696 -0
- package/dist/Swagger.client-fEwFVkkQ.js +4 -0
- package/dist/{XmlPreview.client-XiPNQxwG.js → XmlPreview.client-CjNckhEP.js} +2 -2
- package/dist/components-next.css +4 -4
- package/dist/components-next.js +21 -20
- package/dist/{main-CUy8gy19.js → main-CgjLq1oz.js} +22936 -23999
- package/dist/{vue3-xml-viewer.common-BvRWr7iE.js → vue3-xml-viewer.common-qOUjnppK.js} +1 -1
- package/package.json +3 -3
- package/src/components/AppLink.vue +1 -1
- package/src/components/ResourceAccordion/MapContainer.client.vue +5 -2
- package/src/components/ResourceAccordion/Pmtiles.client.vue +11 -4
- package/src/components/ResourceAccordion/Preview.vue +1 -1
- package/src/components/ResourceAccordion/ResourceAccordion.vue +1 -1
- package/src/components/ResourceAccordion/SchemaBadge.vue +1 -1
- package/src/components/ResourceAccordion/Swagger.client.vue +1 -0
- package/src/components/ResourceAccordion/XmlPreview.client.vue +1 -0
- package/src/components/SmallChart.vue +44 -23
- package/src/functions/api.types.ts +4 -4
- package/src/functions/dates.ts +3 -3
- package/src/functions/matomo.ts +1 -0
- package/src/functions/never.ts +3 -0
- package/src/main.ts +1 -0
- package/dist/Pmtiles.client-AIjEzaIg.js +0 -22378
- package/dist/Swagger.client-C8O-wVwV.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, defineAsyncComponent as S, ref as o, computed as x, onMounted as C, createElementBlock as p, openBlock as n, createBlock as f, createCommentVNode as N, createVNode as a, unref as u, toDisplayString as i, withCtx as d, createElementVNode as m } from "vue";
|
|
2
|
-
import { d as P, a as h, F as v } from "./main-
|
|
2
|
+
import { d as P, a as h, F as v } from "./main-CgjLq1oz.js";
|
|
3
3
|
const T = { class: "fr-text--xs" }, $ = { key: 0 }, E = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -6,8 +6,8 @@ var si = (i, e, t) => e in i ? ri(i, e, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var mt = (i, e, t) => si(i, typeof e != "symbol" ? e + "" : e, t), ai = (i, e, t) => e.has(i) || Rt("Cannot " + t);
|
|
7
7
|
var Pt = (i, e, t) => e.has(i) ? Rt("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t);
|
|
8
8
|
var ft = (i, e, t) => (ai(i, e, "access private method"), t);
|
|
9
|
-
import { defineComponent, ref, onMounted, createBlock, createElementBlock, openBlock, withCtx, createVNode, createElementVNode, unref, toDisplayString } from "vue";
|
|
10
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs$1, u as useI18n, a as _sfc_main$1, F as Fe } from "./main-
|
|
9
|
+
import { defineComponent, useTemplateRef, ref, onMounted, createBlock, createElementBlock, openBlock, withCtx, createVNode, createElementVNode, unref, toDisplayString } from "vue";
|
|
10
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs$1, u as useI18n, a as _sfc_main$1, F as Fe } from "./main-CgjLq1oz.js";
|
|
11
11
|
const ObjectEventType = {
|
|
12
12
|
/**
|
|
13
13
|
* Triggered when a property is changed.
|
|
@@ -78234,9 +78234,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78234
78234
|
setup(i) {
|
|
78235
78235
|
const e = i, { t } = useI18n();
|
|
78236
78236
|
let n = null;
|
|
78237
|
-
const s =
|
|
78237
|
+
const s = useTemplateRef("mapRef"), o = ref(!1);
|
|
78238
78238
|
async function l() {
|
|
78239
78239
|
await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), CRS.load(), n = new Map$1({
|
|
78240
|
+
// @ts-expect-error null is not happening during onMount
|
|
78240
78241
|
target: s.value,
|
|
78241
78242
|
layers: [
|
|
78242
78243
|
new TileLayer({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as T, defineAsyncComponent as $, ref as l, computed as y, onMounted as q, createElementBlock as p, openBlock as t, createBlock as f, createCommentVNode as B, createVNode as a, unref as u, toDisplayString as c, withCtx as d, createElementVNode as g } from "vue";
|
|
2
|
-
import { d as L, a as h, F as m } from "./main-
|
|
2
|
+
import { d as L, a as h, F as m } from "./main-CgjLq1oz.js";
|
|
3
3
|
const O = { class: "text-xs" }, S = { key: 0 }, N = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|