@eodash/eodash 5.0.0-alpha.2.17 → 5.0.0-alpha.2.19

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 (40) hide show
  1. package/core/client/App.vue +2 -0
  2. package/core/client/composables/EodashMap.js +139 -100
  3. package/core/client/eodash.js +32 -12
  4. package/core/client/plugins/index.js +2 -1
  5. package/core/client/store/Actions.js +6 -0
  6. package/core/client/utils/createLayers.js +32 -11
  7. package/core/client/utils/eodashSTAC.js +22 -5
  8. package/core/client/utils/helpers.js +19 -14
  9. package/core/client/vite-env.d.ts +1 -0
  10. package/dist/client/{DashboardLayout-BR1lU9ER.js → DashboardLayout-CU4js3lr.js} +2 -2
  11. package/dist/client/{DynamicWebComponent-7z8VFsrZ.js → DynamicWebComponent-BsYZdIEB.js} +2 -2
  12. package/dist/client/EodashDatePicker-DZoH_gRX.js +276 -0
  13. package/dist/client/{EodashItemFilter-lNjVkidr.js → EodashItemFilter-CHBfsFSm.js} +1362 -1347
  14. package/dist/client/{EodashLayerControl-B0N8_XmX.js → EodashLayerControl-CuY-cAx8.js} +4773 -4593
  15. package/dist/client/{EodashMap-DFT2R2Rk.js → EodashMap-Ch43fWNv.js} +21032 -20669
  16. package/dist/client/{EodashMapBtns-CoGjVl8Y.js → EodashMapBtns-CFA2uti4.js} +2 -2
  17. package/dist/client/{ExportState-Dwv37MRw.js → ExportState-C6raDjTt.js} +68 -69
  18. package/dist/client/{Footer-DuScuHSx.js → Footer-D8T5ROhF.js} +1 -1
  19. package/dist/client/{Header-C4Y0u0E5.js → Header-B8B4Z5R9.js} +4 -4
  20. package/dist/client/{IframeWrapper-D1TfK4xH.js → IframeWrapper-BK2JxzSJ.js} +1 -1
  21. package/dist/client/{MobileLayout-C-b8DIFO.js → MobileLayout-aZaYvF8V.js} +51 -51
  22. package/dist/client/{PopUp-DBMZX3l3.js → PopUp-DdHXoNOP.js} +42 -42
  23. package/dist/client/{VImg-bAMQHnMM.js → VImg-yb8O1cb8.js} +2 -2
  24. package/dist/client/{VMain-Df5VMG9r.js → VMain-Dknnyxts.js} +2 -2
  25. package/dist/client/{VOverlay-D5GzAYRY.js → VOverlay-BCOn3hd6.js} +64 -64
  26. package/dist/client/{WidgetsContainer-yZDmY6_u.js → WidgetsContainer-BixUyr1e.js} +3 -3
  27. package/dist/client/{asWebComponent-DhR2_xlP.js → asWebComponent-CHqY8A1z.js} +7231 -7087
  28. package/dist/client/eo-dash.js +1 -1
  29. package/dist/client/{forwardRefs-C0MQxvur.js → forwardRefs-dcYA2XVU.js} +1 -1
  30. package/dist/client/{index-qNWeBhRh.js → index-BVuSHaVu.js} +23 -23
  31. package/dist/client/{lerc-B4lXefGh-CsL-d8wY.js → lerc-BPVtQnt3-08GHszVp.js} +1 -1
  32. package/dist/client/{ssrBoot-Xmkz8T49.js → ssrBoot-DU2S_nLc.js} +1 -1
  33. package/dist/client/style.css +1 -1
  34. package/dist/client/{transition-DRzZPWIN.js → transition-C_fi1aa6.js} +1 -1
  35. package/dist/client/{webfontloader-CqD-lAx-.js → webfontloader-Ofarvipf.js} +1 -1
  36. package/package.json +6 -7
  37. package/widgets/EodashDatePicker.vue +24 -12
  38. package/widgets/EodashLayerControl.vue +23 -4
  39. package/widgets/EodashMap.vue +43 -25
  40. package/dist/client/EodashDatePicker-o7ZOYIHL.js +0 -259
@@ -1,11 +1,11 @@
1
- import { br as Ce, bs as Pe, p as X, r as I, L as W, ap as se, w as B, bt as _, bu as Ie, bv as me, bw as te, bx as ne, by as ye, c as P, D as ce, bz as Ve, bA as ge, C as F, al as he, aq as ue, bB as Ae, bC as We, bm as fe, x as pe, bD as be, d as V, bE as qe, s as G, H as $e, Z as je, aB as Te, q as ze, as as Ye, bF as Ue, bG as Ge, e as Xe, ac as Ze, h as Je, g as Ke, y as Qe, i as et, j as tt, Q as nt, R as ot, ad as at, an as rt, bH as it, a as lt, b as D, bI as st, t as ct, B as ut, v as ft, F as vt, ab as dt, bJ as mt } from "./asWebComponent-DhR2_xlP.js";
2
- import { g as yt, B as oe, e as we, n as gt, m as ht, u as bt, b as wt, a as Et, s as St } from "./forwardRefs-C0MQxvur.js";
3
- import { m as xt, M as Ot } from "./transition-DRzZPWIN.js";
4
- const J = /* @__PURE__ */ new WeakMap();
1
+ import { bs as Ce, bt as Pe, p as K, r as I, L as W, ap as se, w as R, bu as _, bv as Ie, bw as me, bx as te, by as ne, bz as ye, c as P, D as ce, bA as Ve, bB as ge, C as F, al as he, aq as ue, bC as Ae, bD as We, bn as fe, x as pe, bE as be, d as V, bF as qe, s as G, H as $e, Z as je, aA as Te, q as ze, as as Ye, bG as Ue, bH as Ge, e as Ke, ac as Xe, h as Ze, g as Je, y as Qe, i as et, j as tt, Q as nt, R as ot, ad as at, an as rt, bI as it, a as lt, b as D, bJ as st, t as ct, B as ut, v as ft, F as vt, ab as dt, bK as mt } from "./asWebComponent-CHqY8A1z.js";
2
+ import { g as yt, B as oe, e as we, n as gt, m as ht, u as bt, b as wt, a as Et, s as St } from "./forwardRefs-dcYA2XVU.js";
3
+ import { m as xt, M as Ot } from "./transition-C_fi1aa6.js";
4
+ const Z = /* @__PURE__ */ new WeakMap();
5
5
  function kt(e, t) {
6
6
  Object.keys(t).forEach((n) => {
7
7
  if (Ce(n)) {
8
- const o = Pe(n), a = J.get(e);
8
+ const o = Pe(n), a = Z.get(e);
9
9
  if (t[n] == null)
10
10
  a?.forEach((l) => {
11
11
  const [r, c] = l;
@@ -14,7 +14,7 @@ function kt(e, t) {
14
14
  else if (!a || ![...a].some((l) => l[0] === o && l[1] === t[n])) {
15
15
  e.addEventListener(o, t[n]);
16
16
  const l = a || /* @__PURE__ */ new Set();
17
- l.add([o, t[n]]), J.has(e) || J.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 kt(e, t) {
23
23
  function Ct(e, t) {
24
24
  Object.keys(t).forEach((n) => {
25
25
  if (Ce(n)) {
26
- const o = Pe(n), a = J.get(e);
26
+ const o = Pe(n), a = Z.get(e);
27
27
  a?.forEach((l) => {
28
28
  const [r, c] = l;
29
29
  r === o && (e.removeEventListener(o, c), a.delete(l));
@@ -50,7 +50,7 @@ function Pt(e) {
50
50
  }
51
51
  return document.scrollingElement;
52
52
  }
53
- function K(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 && (ve(e) && n.push(e), e !== t); )
@@ -78,27 +78,27 @@ function pt(e) {
78
78
  function Tt() {
79
79
  return !0;
80
80
  }
81
- function Be(e, t, n) {
82
- if (!e || Re(e, n) === !1) return !1;
81
+ function Re(e, t, n) {
82
+ if (!e || Be(e, n) === !1) return !1;
83
83
  const o = Le(t);
84
84
  if (typeof ShadowRoot < "u" && o instanceof ShadowRoot && o.host === e.target) return !1;
85
85
  const a = (typeof n.value == "object" && n.value.include || (() => []))();
86
86
  return a.push(t), !a.some((l) => l?.contains(e.target));
87
87
  }
88
- function Re(e, t) {
88
+ function Be(e, t) {
89
89
  return (typeof t.value == "object" && t.value.closeConditional || Tt)(e);
90
90
  }
91
91
  function Lt(e, t, n) {
92
92
  const o = typeof n.value == "function" ? n.value : n.value.handler;
93
- e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside && Be(e, t, n) && setTimeout(() => {
94
- Re(e, n) && o && o(e);
93
+ e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside && Re(e, t, n) && setTimeout(() => {
94
+ Be(e, n) && o && o(e);
95
95
  }, 0);
96
96
  }
97
97
  function Ee(e, t) {
98
98
  const n = Le(e);
99
99
  t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n);
100
100
  }
101
- const Bt = {
101
+ const Rt = {
102
102
  // [data-app] may not be found
103
103
  // if using bind, inserted makes
104
104
  // sure that the root element is
@@ -106,7 +106,7 @@ const Bt = {
106
106
  // clicks on body
107
107
  mounted(e, t) {
108
108
  const n = (a) => Lt(a, e, t), o = (a) => {
109
- e._clickOutside.lastMousedownWasOutside = Be(a, e, t);
109
+ e._clickOutside.lastMousedownWasOutside = Re(a, e, t);
110
110
  };
111
111
  Ee(e, (a) => {
112
112
  a.addEventListener("click", n, !0), a.addEventListener("mousedown", o, !0);
@@ -134,7 +134,7 @@ function ae(e, t) {
134
134
  y: e.y + t.y
135
135
  };
136
136
  }
137
- function Rt(e, t) {
137
+ function Bt(e, t) {
138
138
  return {
139
139
  x: e.x - t.x,
140
140
  y: e.y - t.y
@@ -170,7 +170,7 @@ const Me = {
170
170
  // specific viewport position, usually centered
171
171
  connected: Ht
172
172
  // connected to a certain element
173
- }, Mt = X({
173
+ }, Mt = K({
174
174
  locationStrategy: {
175
175
  type: [String, Function],
176
176
  default: "static",
@@ -189,7 +189,7 @@ const Me = {
189
189
  function Ft(e, t) {
190
190
  const n = I({}), o = I();
191
191
  W && se(() => !!(t.isActive.value && e.locationStrategy), (l) => {
192
- B(() => e.locationStrategy, l), _(() => {
192
+ R(() => e.locationStrategy, l), _(() => {
193
193
  window.removeEventListener("resize", a), o.value = void 0;
194
194
  }), window.addEventListener("resize", a, {
195
195
  passive: !0
@@ -243,7 +243,7 @@ function Ht(e, t, n) {
243
243
  const S = new ResizeObserver(() => {
244
244
  N && x();
245
245
  });
246
- B([e.target, e.contentEl], (v, f) => {
246
+ R([e.target, e.contentEl], (v, f) => {
247
247
  let [O, k] = v, [w, b] = f;
248
248
  w && !Array.isArray(w) && S.unobserve(w), O && !Array.isArray(O) && S.observe(O), b && S.unobserve(b), k && S.observe(k);
249
249
  }, {
@@ -253,7 +253,7 @@ function Ht(e, t, n) {
253
253
  });
254
254
  function x() {
255
255
  if (N = !1, requestAnimationFrame(() => N = !0), !e.target.value || !e.contentEl.value) return;
256
- const v = yt(e.target.value), f = _t(e.contentEl.value, e.isRtl.value), O = K(e.contentEl.value), k = 12;
256
+ const v = yt(e.target.value), f = _t(e.contentEl.value, e.isRtl.value), O = J(e.contentEl.value), k = 12;
257
257
  O.length || (O.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (f.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), f.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
258
258
  const w = O.reduce((E, h) => {
259
259
  const d = h.getBoundingClientRect(), y = new oe({
@@ -277,9 +277,9 @@ function Ht(e, t, n) {
277
277
  function T(E) {
278
278
  const h = new oe(f), d = Se(E.anchor, v), y = Se(E.origin, h);
279
279
  let {
280
- x: R,
280
+ x: B,
281
281
  y: M
282
- } = Rt(d, y);
282
+ } = Bt(d, y);
283
283
  switch (E.anchor.side) {
284
284
  case "top":
285
285
  M -= s.value[0];
@@ -288,10 +288,10 @@ function Ht(e, t, n) {
288
288
  M += s.value[0];
289
289
  break;
290
290
  case "left":
291
- R -= s.value[0];
291
+ B -= s.value[0];
292
292
  break;
293
293
  case "right":
294
- R += s.value[0];
294
+ B += s.value[0];
295
295
  break;
296
296
  }
297
297
  switch (E.anchor.align) {
@@ -302,15 +302,15 @@ function Ht(e, t, n) {
302
302
  M += s.value[1];
303
303
  break;
304
304
  case "left":
305
- R -= s.value[1];
305
+ B -= s.value[1];
306
306
  break;
307
307
  case "right":
308
- R += s.value[1];
308
+ B += s.value[1];
309
309
  break;
310
310
  }
311
- return h.x += R, h.y += M, h.width = Math.min(h.width, u.value), h.height = Math.min(h.height, m.value), {
311
+ return h.x += B, h.y += M, h.width = Math.min(h.width, u.value), h.height = Math.min(h.height, m.value), {
312
312
  overflows: we(h, w),
313
- x: R,
313
+ x: B,
314
314
  y: M
315
315
  };
316
316
  }
@@ -335,10 +335,10 @@ function Ht(e, t, n) {
335
335
  } = T(b);
336
336
  p += E, L += h, f.x += E, f.y += h;
337
337
  {
338
- const y = ge(b.anchor), R = d.x.before || d.x.after, M = d.y.before || d.y.after;
338
+ const y = ge(b.anchor), B = d.x.before || d.x.after, M = d.y.before || d.y.after;
339
339
  let q = !1;
340
340
  if (["x", "y"].forEach((C) => {
341
- if (C === "x" && R && !i.x || C === "y" && M && !i.y) {
341
+ if (C === "x" && B && !i.x || C === "y" && M && !i.y) {
342
342
  const H = {
343
343
  anchor: {
344
344
  ...b.anchor
@@ -378,7 +378,7 @@ function Ht(e, t, n) {
378
378
  contentBox: f
379
379
  };
380
380
  }
381
- return B(() => [a.value, l.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => x()), ce(() => {
381
+ return R(() => [a.value, l.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => x()), ce(() => {
382
382
  const v = x();
383
383
  if (!v) return;
384
384
  const {
@@ -417,7 +417,7 @@ const Fe = {
417
417
  close: Wt,
418
418
  block: qt,
419
419
  reposition: $t
420
- }, It = X({
420
+ }, It = K({
421
421
  scrollStrategy: {
422
422
  type: [String, Function],
423
423
  default: "block",
@@ -442,7 +442,7 @@ function Wt(e) {
442
442
  Ne(e.targetEl.value ?? e.contentEl.value, t);
443
443
  }
444
444
  function qt(e, t) {
445
- const n = e.root.value?.offsetParent, o = [.../* @__PURE__ */ new Set([...K(e.targetEl.value, t.contained ? n : void 0), ...K(e.contentEl.value, t.contained ? n : void 0)])].filter((r) => !r.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, l = ((r) => ve(r) && r)(n || document.documentElement);
445
+ 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((r) => !r.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, l = ((r) => ve(r) && r)(n || document.documentElement);
446
446
  l && e.root.value.classList.add("v-overlay--scroll-blocked"), o.forEach((r, c) => {
447
447
  r.style.setProperty("--v-body-scroll-x", F(-r.scrollLeft)), r.style.setProperty("--v-body-scroll-y", F(-r.scrollTop)), r !== document.documentElement && r.style.setProperty("--v-scrollbar-offset", F(a)), r.classList.add("v-overlay-scroll-blocked");
448
448
  }), _(() => {
@@ -475,7 +475,7 @@ function $t(e, t, n) {
475
475
  });
476
476
  }
477
477
  function Ne(e, t) {
478
- const n = [document, ...K(e)];
478
+ const n = [document, ...J(e)];
479
479
  n.forEach((o) => {
480
480
  o.addEventListener("scroll", t, {
481
481
  passive: !0
@@ -486,7 +486,7 @@ function Ne(e, t) {
486
486
  });
487
487
  });
488
488
  }
489
- const jt = Symbol.for("vuetify:v-menu"), zt = X({
489
+ const jt = Symbol.for("vuetify:v-menu"), zt = K({
490
490
  closeDelay: [Number, String],
491
491
  openDelay: [Number, String]
492
492
  }, "delay");
@@ -514,7 +514,7 @@ function Yt(e, t) {
514
514
  runCloseDelay: l
515
515
  };
516
516
  }
517
- const Ut = X({
517
+ const Ut = K({
518
518
  target: [String, Object],
519
519
  activator: [String, Object],
520
520
  activatorProps: {
@@ -590,9 +590,9 @@ function Gt(e, t) {
590
590
  c = !1, x();
591
591
  }), i;
592
592
  });
593
- B(o, (i) => {
593
+ R(o, (i) => {
594
594
  i && (e.openOnHover && !c && (!s.value || !u) || s.value && !u && (!e.openOnHover || !c)) && !a.value?.contains(document.activeElement) && (n.value = !1);
595
- }), B(n, (i) => {
595
+ }), R(n, (i) => {
596
596
  i || setTimeout(() => {
597
597
  v.value = void 0;
598
598
  });
@@ -607,9 +607,9 @@ function Gt(e, t) {
607
607
  });
608
608
  const T = be(), p = P(() => e.target === "cursor" && v.value ? v.value : T.value ? T.el : _e(e.target, l) || r.value), L = P(() => Array.isArray(p.value) ? void 0 : p.value);
609
609
  let A;
610
- return B(() => !!e.activator, (i) => {
610
+ return R(() => !!e.activator, (i) => {
611
611
  i && W ? (A = Ae(), A.run(() => {
612
- Xt(e, l, {
612
+ Kt(e, l, {
613
613
  activatorEl: r,
614
614
  activatorEvents: O
615
615
  });
@@ -630,12 +630,12 @@ function Gt(e, t) {
630
630
  scrimEvents: w
631
631
  };
632
632
  }
633
- function Xt(e, t, n) {
633
+ function Kt(e, t, n) {
634
634
  let {
635
635
  activatorEl: o,
636
636
  activatorEvents: a
637
637
  } = n;
638
- B(() => e.activator, (u, m) => {
638
+ R(() => e.activator, (u, m) => {
639
639
  if (m && u !== m) {
640
640
  const s = c(m);
641
641
  s && r(s);
@@ -643,7 +643,7 @@ function Xt(e, t, n) {
643
643
  u && ce(() => l());
644
644
  }, {
645
645
  immediate: !0
646
- }), B(() => e.activatorProps, () => {
646
+ }), R(() => e.activatorProps, () => {
647
647
  l();
648
648
  }), _(() => {
649
649
  r();
@@ -673,7 +673,7 @@ function _e(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 Zt() {
676
+ function Xt() {
677
677
  if (!W) return G(!1);
678
678
  const {
679
679
  ssr: e
@@ -687,7 +687,7 @@ function Zt() {
687
687
  return G(!0);
688
688
  }
689
689
  const ke = Symbol.for("vuetify:stack"), U = Te([]);
690
- function Jt(e, t, n) {
690
+ function Zt(e, t, n) {
691
691
  const o = fe("useStack"), a = !n, l = pe(ke, void 0), r = Te({
692
692
  activeChildren: /* @__PURE__ */ new Set()
693
693
  });
@@ -717,7 +717,7 @@ function Jt(e, t, n) {
717
717
  }))
718
718
  };
719
719
  }
720
- function Kt(e) {
720
+ function Jt(e) {
721
721
  return {
722
722
  teleportTarget: P(() => {
723
723
  const n = e();
@@ -748,7 +748,7 @@ function Qt(e) {
748
748
  }, o), null)]
749
749
  });
750
750
  }
751
- const en = X({
751
+ const en = K({
752
752
  absolute: Boolean,
753
753
  attach: [Boolean, String, Object],
754
754
  closeOnBack: {
@@ -772,17 +772,17 @@ const en = X({
772
772
  default: 2e3
773
773
  },
774
774
  ...Ut(),
775
+ ...Ke(),
775
776
  ...Xe(),
776
- ...Ze(),
777
777
  ...ht(),
778
778
  ...Mt(),
779
779
  ...It(),
780
- ...Je(),
780
+ ...Ze(),
781
781
  ...xt()
782
- }, "VOverlay"), an = Ke()({
782
+ }, "VOverlay"), an = Je()({
783
783
  name: "VOverlay",
784
784
  directives: {
785
- ClickOutside: Bt
785
+ ClickOutside: Rt
786
786
  },
787
787
  inheritAttrs: !1,
788
788
  props: {
@@ -818,7 +818,7 @@ const en = X({
818
818
  globalTop: k,
819
819
  localTop: w,
820
820
  stackStyles: b
821
- } = Jt(s, ot(e, "zIndex"), e._disableGlobalStack), {
821
+ } = Zt(s, ot(e, "zIndex"), e._disableGlobalStack), {
822
822
  activatorEl: T,
823
823
  activatorRef: p,
824
824
  target: L,
@@ -833,17 +833,17 @@ const en = X({
833
833
  contentEl: u
834
834
  }), {
835
835
  teleportTarget: h
836
- } = Kt(() => {
836
+ } = Jt(() => {
837
837
  const g = e.attach || e.contained;
838
838
  if (g) return g;
839
839
  const z = T?.value?.getRootNode() || l.proxy?.$el?.getRootNode();
840
840
  return z instanceof ShadowRoot ? z : !1;
841
841
  }), {
842
842
  dimensionStyles: d
843
- } = at(e), y = Zt(), {
844
- scopeId: R
843
+ } = at(e), y = Xt(), {
844
+ scopeId: B
845
845
  } = wt();
846
- B(() => e.disabled, (g) => {
846
+ R(() => e.disabled, (g) => {
847
847
  g && (s.value = !1);
848
848
  });
849
849
  const {
@@ -863,13 +863,13 @@ const en = X({
863
863
  updateLocation: q
864
864
  });
865
865
  function C(g) {
866
- a("click:outside", g), e.persistent ? Z() : s.value = !1;
866
+ a("click:outside", g), e.persistent ? X() : s.value = !1;
867
867
  }
868
868
  function H(g) {
869
869
  return s.value && k.value && // If using scrim, only close if clicking on it rather than anything opened on top
870
870
  (!e.scrim || g.target === c.value || g instanceof MouseEvent && g.shadowTarget === c.value);
871
871
  }
872
- W && B(s, (g) => {
872
+ W && R(s, (g) => {
873
873
  g ? window.addEventListener("keydown", $) : window.removeEventListener("keydown", $);
874
874
  }, {
875
875
  immediate: !0
@@ -877,22 +877,22 @@ const en = X({
877
877
  W && window.removeEventListener("keydown", $);
878
878
  });
879
879
  function $(g) {
880
- g.key === "Escape" && k.value && (e.persistent ? Z() : (s.value = !1, u.value?.contains(document.activeElement) && T.value?.focus()));
880
+ g.key === "Escape" && k.value && (e.persistent ? X() : (s.value = !1, u.value?.contains(document.activeElement) && T.value?.focus()));
881
881
  }
882
882
  const j = it();
883
883
  se(() => e.closeOnBack, () => {
884
884
  mt(j, (g) => {
885
- k.value && s.value ? (g(!1), e.persistent ? Z() : s.value = !1) : g();
885
+ k.value && s.value ? (g(!1), e.persistent ? X() : s.value = !1) : g();
886
886
  });
887
887
  });
888
888
  const de = I();
889
- B(() => s.value && (e.absolute || e.contained) && h.value == null, (g) => {
889
+ R(() => s.value && (e.absolute || e.contained) && h.value == null, (g) => {
890
890
  if (g) {
891
891
  const z = Pt(r.value);
892
892
  z && z !== document.scrollingElement && (de.value = z.scrollTop);
893
893
  }
894
894
  });
895
- function Z() {
895
+ function X() {
896
896
  e.noClickAnimation || u.value && Et(u.value, [{
897
897
  transformOrigin: "center"
898
898
  }, {
@@ -931,7 +931,7 @@ const en = X({
931
931
  top: F(de.value)
932
932
  }, e.style],
933
933
  ref: r
934
- }, R, o), [D(Qt, V({
934
+ }, B, o), [D(Qt, V({
935
935
  color: O,
936
936
  modelValue: s.value && !!e.scrim,
937
937
  ref: c
@@ -959,7 +959,7 @@ const en = X({
959
959
  activatorEl: T,
960
960
  scrimEl: c,
961
961
  target: L,
962
- animateClick: Z,
962
+ animateClick: X,
963
963
  contentEl: u,
964
964
  globalTop: k,
965
965
  localTop: w,
@@ -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, bK as D } from "./asWebComponent-DhR2_xlP.js";
1
+ import { X as g, r as i, Y as y, Z as x, D as v, a6 as m, a7 as E, a3 as H, F as k, $ as n, a9 as f, aa as C, a0 as _, d as w, a4 as A, bL as D } from "./asWebComponent-CHqY8A1z.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
@@ -55,7 +55,7 @@ class F extends HTMLDetailsElement {
55
55
  customElements.define("animated-details", F, {
56
56
  extends: "details"
57
57
  });
58
- const b = {
58
+ const L = {
59
59
  __name: "WidgetsContainer",
60
60
  props: {
61
61
  widgets: {
@@ -125,5 +125,5 @@ const b = {
125
125
  }
126
126
  };
127
127
  export {
128
- b as default
128
+ L as default
129
129
  };