@datagouv/components-next 1.0.2-dev.208 → 1.0.2-dev.209

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 (28) hide show
  1. package/dist/{Control-B9WQxlpJ.js → Control-DMgMzWnv.js} +1 -1
  2. package/dist/{Datafair.client-CZhPt853.js → Datafair.client-DpdHdQSx.js} +1 -1
  3. package/dist/{Event-iXDrp-fy.js → Event-CfA33G1K.js} +9 -9
  4. package/dist/{Image-mNMBOofs.js → Image-Dueb7njC.js} +12 -12
  5. package/dist/{ImagePreview.client-CTF6hyMR.js → ImagePreview.client-CtbvW_Q_.js} +1 -1
  6. package/dist/{JsonPreview.client-BwsgTnR7.js → JsonPreview.client-CboMjF2M.js} +2 -2
  7. package/dist/{Map-BfqKMw0S.js → Map-B4L0JtRr.js} +1113 -1025
  8. package/dist/{MapContainer.client-C95seuim.js → MapContainer.client-BPAbtzkr.js} +7 -7
  9. package/dist/{OSM-CcrUhItr.js → OSM-BUakwXg7.js} +1 -1
  10. package/dist/{PdfPreview.client-DaXPl9xc.js → PdfPreview.client-DQF8gS3o.js} +2 -2
  11. package/dist/{Pmtiles.client-PSLUkGmF.js → Pmtiles.client-B-X5pTXq.js} +5788 -5737
  12. package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-McCfJHd3.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-CzFj5TX2.js} +1 -1
  13. package/dist/{ScaleLine-VGQ7nkMS.js → ScaleLine-4id_Lp0T.js} +2 -2
  14. package/dist/{Tile-CSpn0Ca8.js → Tile-DI5PtNs-.js} +375 -325
  15. package/dist/{TileImage-CpbaEFwd.js → TileImage-DFTatxB8.js} +83 -63
  16. package/dist/{View-BYBpt-AU.js → View-CwG9s9BF.js} +108 -101
  17. package/dist/{XmlPreview.client-BOVVyHXW.js → XmlPreview.client-BvlwpV00.js} +3 -3
  18. package/dist/{common-BoeTUnDZ.js → common-C3bYhKiN.js} +71 -70
  19. package/dist/components-next.css +1 -1
  20. package/dist/components-next.js +1 -1
  21. package/dist/components.css +2 -2
  22. package/dist/{index-CeH9i6IP.js → index-D2eZ5uVt.js} +5683 -5785
  23. package/dist/{leaflet-src-D1Cl1V-1.js → leaflet-src-CM7H_PEp.js} +1 -1
  24. package/dist/{main-DADRUTDs.js → main-D1VXLvop.js} +12531 -13523
  25. package/dist/{proj-DxGbobp7.js → proj-DQrI7bbu.js} +302 -282
  26. package/dist/{tilecoord-DvX7WWiA.js → tilecoord-xLae1hR5.js} +106 -106
  27. package/dist/{vue3-xml-viewer.common-BzsQ7xw8.js → vue3-xml-viewer.common-D8NyU_-4.js} +1 -1
  28. package/package.json +25 -25
@@ -1,4 +1,4 @@
1
- import { B as o, u as h, V as m, l as c } from "./proj-DxGbobp7.js";
1
+ import { B as o, u as h, V as m, l as c } from "./proj-DQrI7bbu.js";
2
2
  const g = {
3
3
  /**
4
4
  * Triggered after a map frame is rendered.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, computed as a, openBlock as t, createElementBlock as o, createElementVNode as l, createBlock as f, withCtx as p, createTextVNode as m, toDisplayString as _, unref as x } from "vue";
2
- import { a as h, d as v } from "./main-DADRUTDs.js";
2
+ import { a as h, d as v } from "./main-D1VXLvop.js";
3
3
  const g = { class: "fr-text--xs" }, b = { key: 0 }, k = ["src"], B = /* @__PURE__ */ u({
4
4
  __name: "Datafair.client",
5
5
  props: {
@@ -1,7 +1,7 @@
1
- import { I as x } from "./View-BYBpt-AU.js";
2
- import { a as I } from "./common-BoeTUnDZ.js";
3
- import { B as C, a6 as h, al as m, u as S, l as p, E as N, i as L, a3 as P, G as Z } from "./proj-DxGbobp7.js";
4
- import { c as T } from "./Image-mNMBOofs.js";
1
+ import { I as x } from "./View-CwG9s9BF.js";
2
+ import { a as I } from "./common-C3bYhKiN.js";
3
+ import { B as C, a7 as h, am as m, u as S, l as p, E as N, i as L, a4 as P, H as Z } from "./proj-DQrI7bbu.js";
4
+ import { c as T } from "./Image-Dueb7njC.js";
5
5
  const n = {
6
6
  OPACITY: "opacity",
7
7
  VISIBLE: "visible",
@@ -313,7 +313,7 @@ const K = {
313
313
  */
314
314
  RENDERCOMPLETE: "rendercomplete"
315
315
  };
316
- class q extends D {
316
+ class G extends D {
317
317
  /**
318
318
  * @param {Options<SourceType, NoInfer<Properties>>} options Layer options.
319
319
  */
@@ -640,7 +640,7 @@ function A(t) {
640
640
  return i[3] = P(i[3] / 255, 3), i;
641
641
  }
642
642
  function v(t) {
643
- return typeof t == "string" ? t : W(t);
643
+ return typeof t == "string" ? t : H(t);
644
644
  }
645
645
  const k = 1024, d = {};
646
646
  let R = 0;
@@ -699,7 +699,7 @@ function j(t) {
699
699
  function te(t) {
700
700
  return Array.isArray(t) ? t : j(t);
701
701
  }
702
- function W(t) {
702
+ function H(t) {
703
703
  let e = t[0];
704
704
  e != (e | 0) && (e = e + 0.5 | 0);
705
705
  let r = t[1];
@@ -723,7 +723,7 @@ class re extends Z {
723
723
  }
724
724
  export {
725
725
  D as B,
726
- q as L,
726
+ G as L,
727
727
  U as N,
728
728
  K as R,
729
729
  te as a,
@@ -733,6 +733,6 @@ export {
733
733
  X as i,
734
734
  ee as l,
735
735
  Q as r,
736
- W as t,
736
+ H as t,
737
737
  J as w
738
738
  };
@@ -1,7 +1,7 @@
1
- import { aD as v, E as f, ar as C, aC as h, u as R } from "./proj-DxGbobp7.js";
1
+ import { aF as v, E as f, at as C, aE as h, u as R } from "./proj-DQrI7bbu.js";
2
2
  const r = typeof navigator < "u" && typeof navigator.userAgent < "u" ? navigator.userAgent.toLowerCase() : "", I = r.includes("safari") && !r.includes("chrom");
3
3
  I && (r.includes("version/15.4") || /cpu (os|iphone os) 15_4 like mac os x/.test(r));
4
- const D = r.includes("webkit") && !r.includes("edge"), L = r.includes("macintosh"), w = typeof devicePixelRatio < "u" ? devicePixelRatio : 1, y = typeof WorkerGlobalScope < "u" && typeof OffscreenCanvas < "u" && self instanceof WorkerGlobalScope, u = typeof Image < "u" && Image.prototype.decode, p = typeof createImageBitmap == "function", O = (function() {
4
+ const L = r.includes("webkit") && !r.includes("edge"), D = r.includes("macintosh"), w = typeof devicePixelRatio < "u" ? devicePixelRatio : 1, y = typeof WorkerGlobalScope < "u" && typeof OffscreenCanvas < "u" && self instanceof WorkerGlobalScope, u = typeof Image < "u" && Image.prototype.decode, p = typeof createImageBitmap == "function", O = (function() {
5
5
  let e = !1;
6
6
  try {
7
7
  const t = Object.defineProperty({}, "passive", {
@@ -132,10 +132,10 @@ function W(e) {
132
132
  function b(e) {
133
133
  return e[0] > 0 && e[1] > 0;
134
134
  }
135
- function H(e, t, n) {
135
+ function F(e, t, n) {
136
136
  return n === void 0 && (n = [0, 0]), n[0] = e[0] * t + 0.5 | 0, n[1] = e[1] * t + 0.5 | 0, n;
137
137
  }
138
- function V(e, t) {
138
+ function H(e, t) {
139
139
  return Array.isArray(e) ? e : (t === void 0 ? t = [e, e] : (t[0] = e, t[1] = e), t);
140
140
  }
141
141
  const a = {
@@ -145,7 +145,7 @@ const a = {
145
145
  ERROR: 3,
146
146
  EMPTY: 4
147
147
  };
148
- class F extends v {
148
+ class V extends v {
149
149
  /**
150
150
  * @param {import("./extent.js").Extent} extent Extent.
151
151
  * @param {number|Array<number>|undefined} resolution Resolution. If provided as array, x and y
@@ -277,11 +277,11 @@ function Y(e, t) {
277
277
  }
278
278
  export {
279
279
  w as D,
280
- F as I,
281
- L as M,
280
+ V as I,
281
+ D as M,
282
282
  O as P,
283
283
  _ as T,
284
- D as W,
284
+ L as W,
285
285
  M as a,
286
286
  T as b,
287
287
  m as c,
@@ -292,12 +292,12 @@ export {
292
292
  g as h,
293
293
  y as i,
294
294
  G as j,
295
- B as k,
296
- W as l,
295
+ W as k,
296
+ B as l,
297
297
  b as m,
298
298
  K as n,
299
299
  S as o,
300
300
  k as r,
301
- H as s,
302
- V as t
301
+ F as s,
302
+ H as t
303
303
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, ref as y, computed as o, openBlock as t, createElementBlock as u, createBlock as p, withCtx as f, createTextVNode as m, toDisplayString as d, unref as l } from "vue";
2
- import { a as z, u as T, b as k, d as h } from "./main-DADRUTDs.js";
2
+ import { a as z, u as T, b as k, d as h } from "./main-D1VXLvop.js";
3
3
  const w = { class: "text-xs" }, B = ["src"], E = /* @__PURE__ */ _({
4
4
  __name: "ImagePreview.client",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as c, defineAsyncComponent as u, openBlock as m, createBlock as p, unref as r, withCtx as f, createVNode as l } from "vue";
2
- import { u as d } from "./main-DADRUTDs.js";
3
- import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-McCfJHd3.js";
2
+ import { u as d } from "./main-D1VXLvop.js";
3
+ import { _ as h } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-CzFj5TX2.js";
4
4
  const J = /* @__PURE__ */ c({
5
5
  __name: "JsonPreview.client",
6
6
  props: {