@eodash/eodash 5.0.0-alpha.2.15 → 5.0.0-alpha.2.16

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 (49) hide show
  1. package/README.md +1 -1
  2. package/core/client/composables/EodashMap.js +245 -0
  3. package/core/client/composables/index.js +2 -2
  4. package/core/client/eodash.js +1 -2
  5. package/core/client/store/Actions.js +30 -10
  6. package/core/client/store/States.js +4 -1
  7. package/core/client/store/stac.js +52 -2
  8. package/core/client/types.d.ts +6 -2
  9. package/core/client/utils/createLayers.js +146 -39
  10. package/core/client/utils/eodashSTAC.js +94 -19
  11. package/core/client/utils/helpers.js +189 -11
  12. package/core/client/utils/states.js +17 -0
  13. package/dist/client/{DashboardLayout-DQE4aB6e.js → DashboardLayout-CCtyOil0.js} +2 -2
  14. package/dist/client/{DynamicWebComponent-TrDsJuF8.js → DynamicWebComponent-But2r1Sj.js} +2 -2
  15. package/dist/client/EodashDatePicker-jeYiWflv.js +247 -0
  16. package/dist/client/{EodashItemFilter-Bp0lcvbI.js → EodashItemFilter-BFlfWeE_.js} +2028 -2024
  17. package/dist/client/EodashLayerControl-BhZL4pYM.js +24358 -0
  18. package/dist/client/{EodashMap--2y6XErO.js → EodashMap-C5tOgVOv.js} +22268 -24006
  19. package/dist/client/{EodashMapBtns-BSf3iUAb.js → EodashMapBtns-CdDfVQj0.js} +2 -2
  20. package/dist/client/{ExportState-BTONkMIz.js → ExportState-CKCCN_VI.js} +142 -136
  21. package/dist/client/{Footer-B7JDXdxT.js → Footer-B9yVgyzx.js} +67 -65
  22. package/dist/client/{Header-Dlumetq0.js → Header-CPIlUEOq.js} +4 -4
  23. package/dist/client/{IframeWrapper-DRjSqhFx.js → IframeWrapper-DRw1kHJm.js} +1 -1
  24. package/dist/client/{MobileLayout-9z2X_rmU.js → MobileLayout-CPxVee5U.js} +6 -6
  25. package/dist/client/{PopUp-CXbMBYGh.js → PopUp-Dca-gx9a.js} +5 -5
  26. package/dist/client/{VImg-Dgk5tryv.js → VImg-PHLA1nP1.js} +2 -2
  27. package/dist/client/{VMain-Ubv9jyyL.js → VMain-Ck81LJfb.js} +2 -2
  28. package/dist/client/{VOverlay-CqZC2CbA.js → VOverlay-CL4hiJB8.js} +92 -92
  29. package/dist/client/{WidgetsContainer-CHK_3dlD.js → WidgetsContainer-jxk3kw-d.js} +1 -1
  30. package/dist/client/asWebComponent-3OsFQJVx.js +23633 -0
  31. package/dist/client/eo-dash.js +1 -1
  32. package/dist/client/{forwardRefs-OX_5lLJW.js → forwardRefs-BxZaq9ml.js} +1 -1
  33. package/dist/client/{index-B_KfD-iF.js → index-Vul961Xy.js} +23 -23
  34. package/dist/client/{lerc-B4lXefGh-CplqAh1B.js → lerc-B4lXefGh-BESXOHWk.js} +1 -1
  35. package/dist/client/{ssrBoot-BZTPJZkq.js → ssrBoot-BFMBrCqY.js} +1 -1
  36. package/dist/client/style.css +2 -2
  37. package/dist/client/{transition-Dq8XIV_D.js → transition-U5aFjJtV.js} +1 -1
  38. package/dist/client/{webfontloader-qotgY98I.js → webfontloader-D_JbBwHu.js} +1 -1
  39. package/package.json +5 -3
  40. package/widgets/EodashDatePicker.vue +32 -40
  41. package/widgets/EodashItemFilter.vue +2 -0
  42. package/widgets/EodashLayerControl.vue +69 -2
  43. package/widgets/EodashMap.vue +35 -208
  44. package/widgets/ExportState.vue +8 -7
  45. package/dist/client/EodashDatePicker-CkA9rHp6.js +0 -252
  46. package/dist/client/EodashLayerControl-lfLYqyeU.js +0 -20963
  47. package/dist/client/_commonjsHelpers-DaMA6jEr.js +0 -8
  48. package/dist/client/asWebComponent-Ddg71BJk.js +0 -20451
  49. package/dist/client/helpers-BCawTwFg.js +0 -1390
@@ -1,11 +1,11 @@
1
- import { bl as Oe, bm as ke, p as U, r as I, L as q, ap as se, w as L, bn as _, bo as De, bp as ve, bq as te, br as ne, bs as de, c as P, D as ce, bt as Ie, bu as me, C as F, al as ye, aq as ue, bv as Pe, bw as Ve, bg as Ce, x as pe, bx as ge, d as W, by as We, s as Y, H as qe, Z as je, aK as Ae, q as ze, as as $e, bz as Ye, bA as Ue, e as Ge, ac as Ke, h as Xe, g as Ze, y as Qe, i as Je, j as et, Q as tt, R as nt, ad as ot, an as at, bB as rt, a as it, b as D, bC as lt, t as st, B as ct, v as ut, F as ft, ab as vt, bD as dt } from "./asWebComponent-Ddg71BJk.js";
2
- import { g as mt, B as oe, e as he, n as yt, m as gt, u as ht, b as bt, a as wt, s as Et } from "./forwardRefs-OX_5lLJW.js";
3
- import { m as St, M as xt } from "./transition-Dq8XIV_D.js";
4
- const X = /* @__PURE__ */ new WeakMap();
1
+ import { br as Oe, bs as ke, p as G, r as I, L as q, ap as se, w as L, bt as _, bu as De, bv as ve, bw as te, bx as ne, by as de, c as P, D as ce, bz as Ie, bA as me, C as R, al as ye, aq as ue, bB as Pe, bC as Ve, bm as Ce, x as pe, bD as ge, d as W, bE as We, s as Y, H as qe, Z as je, aA as Ae, q as ze, as as $e, bF as Ye, bG as Ge, e as Ue, ac as Xe, h as Ze, g as Je, y as Ke, i as Qe, j as et, Q as tt, R as nt, ad as ot, an as at, bH as rt, a as it, b as D, bI as lt, t as st, B as ct, v as ut, F as ft, ab as vt, bJ as dt } from "./asWebComponent-3OsFQJVx.js";
2
+ import { g as mt, B as oe, e as he, n as yt, m as gt, u as ht, b as bt, a as wt, s as Et } from "./forwardRefs-BxZaq9ml.js";
3
+ import { m as St, M as xt } from "./transition-U5aFjJtV.js";
4
+ const Z = /* @__PURE__ */ new WeakMap();
5
5
  function Ot(e, t) {
6
6
  Object.keys(t).forEach((n) => {
7
7
  if (Oe(n)) {
8
- const o = ke(n), r = X.get(e);
8
+ const o = ke(n), r = Z.get(e);
9
9
  if (t[n] == null)
10
10
  r?.forEach((l) => {
11
11
  const [a, s] = l;
@@ -14,7 +14,7 @@ function Ot(e, t) {
14
14
  else if (!r || ![...r].some((l) => l[0] === o && l[1] === t[n])) {
15
15
  e.addEventListener(o, t[n]);
16
16
  const l = r || /* @__PURE__ */ new Set();
17
- l.add([o, t[n]]), X.has(e) || X.set(e, l);
17
+ l.add([o, t[n]]), Z.has(e) || Z.set(e, l);
18
18
  }
19
19
  } else
20
20
  t[n] == null ? e.removeAttribute(n) : e.setAttribute(n, t[n]);
@@ -23,7 +23,7 @@ function Ot(e, t) {
23
23
  function kt(e, t) {
24
24
  Object.keys(t).forEach((n) => {
25
25
  if (Oe(n)) {
26
- const o = ke(n), r = X.get(e);
26
+ const o = ke(n), r = Z.get(e);
27
27
  r?.forEach((l) => {
28
28
  const [a, s] = l;
29
29
  a === o && (e.removeEventListener(o, s), r.delete(l));
@@ -50,7 +50,7 @@ function Pt(e) {
50
50
  }
51
51
  return document.scrollingElement;
52
52
  }
53
- function Z(e, t) {
53
+ function J(e, t) {
54
54
  const n = [];
55
55
  if (t && e && !t.contains(e)) return n;
56
56
  for (; e && (fe(e) && n.push(e), e !== t); )
@@ -165,16 +165,16 @@ function we(e, t) {
165
165
  y: t.height / 2
166
166
  }, t);
167
167
  }
168
- const Me = {
169
- static: Ft,
168
+ const Fe = {
169
+ static: Rt,
170
170
  // specific viewport position, usually centered
171
171
  connected: _t
172
172
  // connected to a certain element
173
- }, Mt = U({
173
+ }, Ft = G({
174
174
  locationStrategy: {
175
175
  type: [String, Function],
176
176
  default: "static",
177
- validator: (e) => typeof e == "function" || e in Me
177
+ validator: (e) => typeof e == "function" || e in Fe
178
178
  },
179
179
  location: {
180
180
  type: String,
@@ -186,14 +186,14 @@ const Me = {
186
186
  },
187
187
  offset: [Number, String, Array]
188
188
  }, "VOverlay-location-strategies");
189
- function Rt(e, t) {
189
+ function Mt(e, t) {
190
190
  const n = I({}), o = I();
191
191
  q && se(() => !!(t.isActive.value && e.locationStrategy), (l) => {
192
192
  L(() => e.locationStrategy, l), _(() => {
193
193
  window.removeEventListener("resize", r), o.value = void 0;
194
194
  }), window.addEventListener("resize", r, {
195
195
  passive: !0
196
- }), typeof e.locationStrategy == "function" ? o.value = e.locationStrategy(t, e, n)?.updateLocation : o.value = Me[e.locationStrategy](t, e, n)?.updateLocation;
196
+ }), typeof e.locationStrategy == "function" ? o.value = e.locationStrategy(t, e, n)?.updateLocation : o.value = Fe[e.locationStrategy](t, e, n)?.updateLocation;
197
197
  });
198
198
  function r(l) {
199
199
  o.value?.(l);
@@ -203,7 +203,7 @@ function Rt(e, t) {
203
203
  updateLocation: o
204
204
  };
205
205
  }
206
- function Ft() {
206
+ function Rt() {
207
207
  }
208
208
  function Nt(e, t) {
209
209
  t ? e.style.removeProperty("left") : e.style.removeProperty("right");
@@ -254,7 +254,7 @@ function _t(e, t, n) {
254
254
  });
255
255
  function S() {
256
256
  if (C = !1, requestAnimationFrame(() => C = !0), !e.target.value || !e.contentEl.value) return;
257
- const u = mt(e.target.value), c = Nt(e.contentEl.value, e.isRtl.value), x = Z(e.contentEl.value), A = 12;
257
+ const u = mt(e.target.value), c = Nt(e.contentEl.value, e.isRtl.value), x = J(e.contentEl.value), A = 12;
258
258
  x.length || (x.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (c.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), c.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
259
259
  const h = x.reduce((E, g) => {
260
260
  const f = g.getBoundingClientRect(), v = new oe({
@@ -278,7 +278,7 @@ function _t(e, t, n) {
278
278
  function H(E) {
279
279
  const g = new oe(c), f = we(E.anchor, u), v = we(E.origin, g);
280
280
  let {
281
- x: M,
281
+ x: F,
282
282
  y: T
283
283
  } = Bt(f, v);
284
284
  switch (E.anchor.side) {
@@ -289,10 +289,10 @@ function _t(e, t, n) {
289
289
  T += y.value[0];
290
290
  break;
291
291
  case "left":
292
- M -= y.value[0];
292
+ F -= y.value[0];
293
293
  break;
294
294
  case "right":
295
- M += y.value[0];
295
+ F += y.value[0];
296
296
  break;
297
297
  }
298
298
  switch (E.anchor.align) {
@@ -303,15 +303,15 @@ function _t(e, t, n) {
303
303
  T += y.value[1];
304
304
  break;
305
305
  case "left":
306
- M -= y.value[1];
306
+ F -= y.value[1];
307
307
  break;
308
308
  case "right":
309
- M += y.value[1];
309
+ F += y.value[1];
310
310
  break;
311
311
  }
312
- return g.x += M, g.y += T, g.width = Math.min(g.width, d.value), g.height = Math.min(g.height, m.value), {
312
+ return g.x += F, g.y += T, g.width = Math.min(g.width, d.value), g.height = Math.min(g.height, m.value), {
313
313
  overflows: he(g, h),
314
- x: M,
314
+ x: F,
315
315
  y: T
316
316
  };
317
317
  }
@@ -323,9 +323,9 @@ function _t(e, t, n) {
323
323
  x: !1,
324
324
  y: !1
325
325
  };
326
- let J = -1;
326
+ let Q = -1;
327
327
  for (; ; ) {
328
- if (J++ > 10) {
328
+ if (Q++ > 10) {
329
329
  Ie("Infinite loop detected in connectedLocationStrategy");
330
330
  break;
331
331
  }
@@ -336,23 +336,23 @@ function _t(e, t, n) {
336
336
  } = H(w);
337
337
  B += E, p += g, c.x += E, c.y += g;
338
338
  {
339
- const v = me(w.anchor), M = f.x.before || f.x.after, T = f.y.before || f.y.after;
339
+ const v = me(w.anchor), F = f.x.before || f.x.after, T = f.y.before || f.y.after;
340
340
  let z = !1;
341
341
  if (["x", "y"].forEach((k) => {
342
- if (k === "x" && M && !N.x || k === "y" && T && !N.y) {
343
- const R = {
342
+ if (k === "x" && F && !N.x || k === "y" && T && !N.y) {
343
+ const M = {
344
344
  anchor: {
345
345
  ...w.anchor
346
346
  },
347
347
  origin: {
348
348
  ...w.origin
349
349
  }
350
- }, G = k === "x" ? v === "y" ? ne : te : v === "y" ? te : ne;
351
- R.anchor = G(R.anchor), R.origin = G(R.origin);
350
+ }, U = k === "x" ? v === "y" ? ne : te : v === "y" ? te : ne;
351
+ M.anchor = U(M.anchor), M.origin = U(M.origin);
352
352
  const {
353
353
  overflows: V
354
- } = H(R);
355
- (V[k].before <= f[k].before && V[k].after <= f[k].after || V[k].before + V[k].after < (f[k].before + f[k].after) / 2) && (w = R, z = N[k] = !0);
354
+ } = H(M);
355
+ (V[k].before <= f[k].before && V[k].after <= f[k].after || V[k].before + V[k].after < (f[k].before + f[k].after) / 2) && (w = M, z = N[k] = !0);
356
356
  }
357
357
  }), z) continue;
358
358
  }
@@ -368,12 +368,12 @@ function _t(e, t, n) {
368
368
  "--v-overlay-anchor-origin": `${w.anchor.side} ${w.anchor.align}`,
369
369
  transformOrigin: `${w.origin.side} ${w.origin.align}`,
370
370
  // transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
371
- top: F(re(p)),
372
- left: e.isRtl.value ? void 0 : F(re(B)),
373
- right: e.isRtl.value ? F(re(-B)) : void 0,
374
- minWidth: F(ee === "y" ? Math.min(a.value, u.width) : a.value),
375
- maxWidth: F(Ee(ye(i.x, a.value === 1 / 0 ? 0 : a.value, d.value))),
376
- maxHeight: F(Ee(ye(i.y, s.value === 1 / 0 ? 0 : s.value, m.value)))
371
+ top: R(re(p)),
372
+ left: e.isRtl.value ? void 0 : R(re(B)),
373
+ right: e.isRtl.value ? R(re(-B)) : void 0,
374
+ minWidth: R(ee === "y" ? Math.min(a.value, u.width) : a.value),
375
+ maxWidth: R(Ee(ye(i.x, a.value === 1 / 0 ? 0 : a.value, d.value))),
376
+ maxHeight: R(Ee(ye(i.y, s.value === 1 / 0 ? 0 : s.value, m.value)))
377
377
  }), {
378
378
  available: i,
379
379
  contentBox: c
@@ -402,27 +402,27 @@ function Ee(e) {
402
402
  return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
403
403
  }
404
404
  let ie = !0;
405
- const Q = [];
405
+ const K = [];
406
406
  function Ht(e) {
407
- !ie || Q.length ? (Q.push(e), le()) : (ie = !1, e(), le());
407
+ !ie || K.length ? (K.push(e), le()) : (ie = !1, e(), le());
408
408
  }
409
409
  let Se = -1;
410
410
  function le() {
411
411
  cancelAnimationFrame(Se), Se = requestAnimationFrame(() => {
412
- const e = Q.shift();
413
- e && e(), Q.length ? le() : ie = !0;
412
+ const e = K.shift();
413
+ e && e(), K.length ? le() : ie = !0;
414
414
  });
415
415
  }
416
- const Re = {
416
+ const Me = {
417
417
  none: null,
418
418
  close: Vt,
419
419
  block: Wt,
420
420
  reposition: qt
421
- }, Dt = U({
421
+ }, Dt = G({
422
422
  scrollStrategy: {
423
423
  type: [String, Function],
424
424
  default: "block",
425
- validator: (e) => typeof e == "function" || e in Re
425
+ validator: (e) => typeof e == "function" || e in Me
426
426
  }
427
427
  }, "VOverlay-scroll-strategies");
428
428
  function It(e, t) {
@@ -430,7 +430,7 @@ function It(e, t) {
430
430
  let n;
431
431
  ue(async () => {
432
432
  n?.stop(), t.isActive.value && e.scrollStrategy && (n = Pe(), await new Promise((o) => setTimeout(o)), n.active && n.run(() => {
433
- typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : Re[e.scrollStrategy]?.(t, e, n);
433
+ typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : Me[e.scrollStrategy]?.(t, e, n);
434
434
  }));
435
435
  }), _(() => {
436
436
  n?.stop();
@@ -440,12 +440,12 @@ function Vt(e) {
440
440
  function t(n) {
441
441
  e.isActive.value = !1;
442
442
  }
443
- Fe(e.targetEl.value ?? e.contentEl.value, t);
443
+ Re(e.targetEl.value ?? e.contentEl.value, t);
444
444
  }
445
445
  function Wt(e, t) {
446
- const n = e.root.value?.offsetParent, o = [.../* @__PURE__ */ new Set([...Z(e.targetEl.value, t.contained ? n : void 0), ...Z(e.contentEl.value, t.contained ? n : void 0)])].filter((a) => !a.classList.contains("v-overlay-scroll-blocked")), r = window.innerWidth - document.documentElement.offsetWidth, l = ((a) => fe(a) && a)(n || document.documentElement);
446
+ const n = e.root.value?.offsetParent, o = [.../* @__PURE__ */ new Set([...J(e.targetEl.value, t.contained ? n : void 0), ...J(e.contentEl.value, t.contained ? n : void 0)])].filter((a) => !a.classList.contains("v-overlay-scroll-blocked")), r = window.innerWidth - document.documentElement.offsetWidth, l = ((a) => fe(a) && a)(n || document.documentElement);
447
447
  l && e.root.value.classList.add("v-overlay--scroll-blocked"), o.forEach((a, s) => {
448
- a.style.setProperty("--v-body-scroll-x", F(-a.scrollLeft)), a.style.setProperty("--v-body-scroll-y", F(-a.scrollTop)), a !== document.documentElement && a.style.setProperty("--v-scrollbar-offset", F(r)), a.classList.add("v-overlay-scroll-blocked");
448
+ a.style.setProperty("--v-body-scroll-x", R(-a.scrollLeft)), a.style.setProperty("--v-body-scroll-y", R(-a.scrollTop)), a !== document.documentElement && a.style.setProperty("--v-scrollbar-offset", R(r)), a.classList.add("v-overlay-scroll-blocked");
449
449
  }), _(() => {
450
450
  o.forEach((a, s) => {
451
451
  const d = parseFloat(a.style.getPropertyValue("--v-body-scroll-x")), m = parseFloat(a.style.getPropertyValue("--v-body-scroll-y")), y = a.style.scrollBehavior;
@@ -463,7 +463,7 @@ function qt(e, t, n) {
463
463
  }
464
464
  l = (typeof requestIdleCallback > "u" ? (s) => s() : requestIdleCallback)(() => {
465
465
  n.run(() => {
466
- Fe(e.targetEl.value ?? e.contentEl.value, (s) => {
466
+ Re(e.targetEl.value ?? e.contentEl.value, (s) => {
467
467
  o ? (cancelAnimationFrame(r), r = requestAnimationFrame(() => {
468
468
  r = requestAnimationFrame(() => {
469
469
  a(s);
@@ -475,8 +475,8 @@ function qt(e, t, n) {
475
475
  typeof cancelIdleCallback < "u" && cancelIdleCallback(l), cancelAnimationFrame(r);
476
476
  });
477
477
  }
478
- function Fe(e, t) {
479
- const n = [document, ...Z(e)];
478
+ function Re(e, t) {
479
+ const n = [document, ...J(e)];
480
480
  n.forEach((o) => {
481
481
  o.addEventListener("scroll", t, {
482
482
  passive: !0
@@ -487,7 +487,7 @@ function Fe(e, t) {
487
487
  });
488
488
  });
489
489
  }
490
- const jt = Symbol.for("vuetify:v-menu"), zt = U({
490
+ const jt = Symbol.for("vuetify:v-menu"), zt = G({
491
491
  closeDelay: [Number, String],
492
492
  openDelay: [Number, String]
493
493
  }, "delay");
@@ -515,7 +515,7 @@ function $t(e, t) {
515
515
  runCloseDelay: l
516
516
  };
517
517
  }
518
- const Yt = U({
518
+ const Yt = G({
519
519
  target: [String, Object],
520
520
  activator: [String, Object],
521
521
  activatorProps: {
@@ -534,7 +534,7 @@ const Yt = U({
534
534
  closeOnContentClick: Boolean,
535
535
  ...zt()
536
536
  }, "VOverlay-activator");
537
- function Ut(e, t) {
537
+ function Gt(e, t) {
538
538
  let {
539
539
  isActive: n,
540
540
  isTop: o
@@ -609,7 +609,7 @@ function Ut(e, t) {
609
609
  let p;
610
610
  return L(() => !!e.activator, (i) => {
611
611
  i && q ? (p = Pe(), p.run(() => {
612
- Gt(e, r, {
612
+ Ut(e, r, {
613
613
  activatorEl: l,
614
614
  activatorEvents: c
615
615
  });
@@ -630,7 +630,7 @@ function Ut(e, t) {
630
630
  scrimEvents: A
631
631
  };
632
632
  }
633
- function Gt(e, t, n) {
633
+ function Ut(e, t, n) {
634
634
  let {
635
635
  activatorEl: o,
636
636
  activatorEvents: r
@@ -673,7 +673,7 @@ function Ne(e, t) {
673
673
  } else typeof e == "string" ? n = document.querySelector(e) : "$el" in e ? n = e.$el : n = e;
674
674
  return n;
675
675
  }
676
- function Kt() {
676
+ function Xt() {
677
677
  if (!q) return Y(!1);
678
678
  const {
679
679
  ssr: e
@@ -687,7 +687,7 @@ function Kt() {
687
687
  return Y(!0);
688
688
  }
689
689
  const xe = Symbol.for("vuetify:stack"), $ = Ae([]);
690
- function Xt(e, t, n) {
690
+ function Zt(e, t, n) {
691
691
  const o = Ce("useStack"), r = !n, l = pe(xe, void 0), a = Ae({
692
692
  activeChildren: /* @__PURE__ */ new Set()
693
693
  });
@@ -717,14 +717,14 @@ function Xt(e, t, n) {
717
717
  }))
718
718
  };
719
719
  }
720
- function Zt(e) {
720
+ function Jt(e) {
721
721
  return {
722
722
  teleportTarget: P(() => {
723
723
  const n = e();
724
724
  if (n === !0 || !q) return;
725
725
  const o = n === !1 ? document.body : typeof n == "string" ? document.querySelector(n) : n;
726
726
  if (o == null) {
727
- Ue(`Unable to locate target ${n}`);
727
+ Ge(`Unable to locate target ${n}`);
728
728
  return;
729
729
  }
730
730
  let r = o.querySelector(":scope > .v-overlay-container");
@@ -732,7 +732,7 @@ function Zt(e) {
732
732
  })
733
733
  };
734
734
  }
735
- function Qt(e) {
735
+ function Kt(e) {
736
736
  const {
737
737
  modelValue: t,
738
738
  color: n,
@@ -748,7 +748,7 @@ function Qt(e) {
748
748
  }, o), null)]
749
749
  });
750
750
  }
751
- const Jt = U({
751
+ const Qt = G({
752
752
  absolute: Boolean,
753
753
  attach: [Boolean, String, Object],
754
754
  closeOnBack: {
@@ -772,14 +772,14 @@ const Jt = U({
772
772
  default: 2e3
773
773
  },
774
774
  ...Yt(),
775
- ...Ge(),
776
- ...Ke(),
775
+ ...Ue(),
776
+ ...Xe(),
777
777
  ...gt(),
778
- ...Mt(),
778
+ ...Ft(),
779
779
  ...Dt(),
780
- ...Xe(),
780
+ ...Ze(),
781
781
  ...St()
782
- }, "VOverlay"), on = Ze()({
782
+ }, "VOverlay"), on = Je()({
783
783
  name: "VOverlay",
784
784
  directives: {
785
785
  ClickOutside: Lt
@@ -787,7 +787,7 @@ const Jt = U({
787
787
  inheritAttrs: !1,
788
788
  props: {
789
789
  _disableGlobalStack: Boolean,
790
- ...Jt()
790
+ ...Qt()
791
791
  },
792
792
  emits: {
793
793
  "click:outside": (e) => !0,
@@ -801,14 +801,14 @@ const Jt = U({
801
801
  attrs: o,
802
802
  emit: r
803
803
  } = t;
804
- const l = Qe(e, "modelValue"), a = P({
804
+ const l = Ke(e, "modelValue"), a = P({
805
805
  get: () => l.value,
806
806
  set: (b) => {
807
807
  b && e.disabled || (l.value = b);
808
808
  }
809
809
  }), {
810
810
  themeClasses: s
811
- } = Je(e), {
811
+ } = Qe(e), {
812
812
  rtlClasses: d,
813
813
  isRtl: m
814
814
  } = et(), {
@@ -818,7 +818,7 @@ const Jt = U({
818
818
  globalTop: S,
819
819
  localTop: u,
820
820
  stackStyles: c
821
- } = Xt(a, nt(e, "zIndex"), e._disableGlobalStack), {
821
+ } = Zt(a, nt(e, "zIndex"), e._disableGlobalStack), {
822
822
  activatorEl: x,
823
823
  activatorRef: A,
824
824
  target: h,
@@ -827,28 +827,28 @@ const Jt = U({
827
827
  activatorEvents: B,
828
828
  contentEvents: p,
829
829
  scrimEvents: i
830
- } = Ut(e, {
830
+ } = Gt(e, {
831
831
  isActive: a,
832
832
  isTop: u
833
833
  }), {
834
834
  teleportTarget: N
835
- } = Zt(() => {
835
+ } = Jt(() => {
836
836
  const b = e.attach || e.contained;
837
837
  if (b) return b;
838
838
  const j = x?.value?.getRootNode();
839
839
  return j instanceof ShadowRoot ? j : !1;
840
840
  }), {
841
- dimensionStyles: J
842
- } = ot(e), ee = Kt(), {
841
+ dimensionStyles: Q
842
+ } = ot(e), ee = Xt(), {
843
843
  scopeId: E
844
844
  } = bt();
845
845
  L(() => e.disabled, (b) => {
846
846
  b && (a.value = !1);
847
847
  });
848
848
  const g = I(), f = I(), v = I(), {
849
- contentStyles: M,
849
+ contentStyles: F,
850
850
  updateLocation: T
851
- } = Rt(e, {
851
+ } = Mt(e, {
852
852
  isRtl: m,
853
853
  contentEl: v,
854
854
  target: h,
@@ -862,26 +862,26 @@ const Jt = U({
862
862
  updateLocation: T
863
863
  });
864
864
  function z(b) {
865
- r("click:outside", b), e.persistent ? K() : a.value = !1;
865
+ r("click:outside", b), e.persistent ? X() : a.value = !1;
866
866
  }
867
867
  function k(b) {
868
868
  return a.value && S.value && // If using scrim, only close if clicking on it rather than anything opened on top
869
869
  (!e.scrim || b.target === f.value);
870
870
  }
871
871
  q && L(a, (b) => {
872
- b ? window.addEventListener("keydown", R) : window.removeEventListener("keydown", R);
872
+ b ? window.addEventListener("keydown", M) : window.removeEventListener("keydown", M);
873
873
  }, {
874
874
  immediate: !0
875
875
  }), at(() => {
876
- q && window.removeEventListener("keydown", R);
876
+ q && window.removeEventListener("keydown", M);
877
877
  });
878
- function R(b) {
879
- b.key === "Escape" && S.value && (e.persistent ? K() : (a.value = !1, v.value?.contains(document.activeElement) && x.value?.focus()));
878
+ function M(b) {
879
+ b.key === "Escape" && S.value && (e.persistent ? X() : (a.value = !1, v.value?.contains(document.activeElement) && x.value?.focus()));
880
880
  }
881
- const G = rt();
881
+ const U = rt();
882
882
  se(() => e.closeOnBack, () => {
883
- dt(G, (b) => {
884
- S.value && a.value ? (b(!1), e.persistent ? K() : a.value = !1) : b();
883
+ dt(U, (b) => {
884
+ S.value && a.value ? (b(!1), e.persistent ? X() : a.value = !1) : b();
885
885
  });
886
886
  });
887
887
  const V = I();
@@ -891,7 +891,7 @@ const Jt = U({
891
891
  j && j !== document.scrollingElement && (V.value = j.scrollTop);
892
892
  }
893
893
  });
894
- function K() {
894
+ function X() {
895
895
  e.noClickAnimation || v.value && wt(v.value, [{
896
896
  transformOrigin: "center"
897
897
  }, {
@@ -927,10 +927,10 @@ const Jt = U({
927
927
  }, s.value, d.value, e.class],
928
928
  style: [c.value, {
929
929
  "--v-overlay-opacity": e.opacity,
930
- top: F(V.value)
930
+ top: R(V.value)
931
931
  }, e.style],
932
932
  ref: g
933
- }, E, o), [D(Qt, W({
933
+ }, E, o), [D(Kt, W({
934
934
  color: O,
935
935
  modelValue: a.value && !!e.scrim,
936
936
  ref: f
@@ -945,7 +945,7 @@ const Jt = U({
945
945
  default: () => [st(D("div", W({
946
946
  ref: v,
947
947
  class: ["v-overlay__content", e.contentClass],
948
- style: [J.value, M.value]
948
+ style: [Q.value, F.value]
949
949
  }, p.value, e.contentProps), [n.default?.({
950
950
  isActive: a
951
951
  })]), [[ct, a.value], [ut("click-outside"), {
@@ -958,7 +958,7 @@ const Jt = U({
958
958
  activatorEl: x,
959
959
  scrimEl: f,
960
960
  target: h,
961
- animateClick: K,
961
+ animateClick: X,
962
962
  contentEl: v,
963
963
  globalTop: S,
964
964
  localTop: u,
@@ -968,5 +968,5 @@ const Jt = U({
968
968
  });
969
969
  export {
970
970
  on as V,
971
- Jt as m
971
+ Qt as m
972
972
  };
@@ -1,4 +1,4 @@
1
- import { X as g, r as i, Y as y, Z as x, D as v, $ as n, a6 as m, a7 as E, a3 as H, F as k, a9 as f, aa as C, a0 as _, d as w, a4 as A, bE as D } from "./asWebComponent-Ddg71BJk.js";
1
+ import { X as g, r as i, Y as y, Z as x, D as v, $ as n, a6 as m, a7 as E, a3 as H, F as k, a9 as f, aa as C, a0 as _, d as w, a4 as A, bK as D } from "./asWebComponent-3OsFQJVx.js";
2
2
  class F extends HTMLDetailsElement {
3
3
  // this is an adaptation of // https://css-tricks.com/how-to-animate-the-details-element-using-waapi/
4
4
  // which turns the class into a custom element