@eodash/eodash 5.0.0-alpha.2.13 → 5.0.0-alpha.2.14
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/core/client/composables/index.js +36 -1
- package/core/client/eodash.js +27 -6
- package/core/client/store/States.js +4 -0
- package/core/client/store/stac.js +42 -2
- package/core/client/utils/eodashSTAC.js +2 -4
- package/core/client/utils/helpers.js +0 -4
- package/dist/client/{DashboardLayout-v8_zE0jH.js → DashboardLayout-ulCTLwXv.js} +2 -2
- package/dist/client/{DynamicWebComponent-DSY-5Ke4.js → DynamicWebComponent-CZJjeckP.js} +3 -3
- package/dist/client/{EodashDatePicker-C6VRIC7r.js → EodashDatePicker-BClSZg9g.js} +4 -4
- package/dist/client/{EodashItemFilter-BBXcouVm.js → EodashItemFilter-9hK-3-7Y.js} +3609 -3555
- package/dist/client/EodashLayerControl-p5FdBiiJ.js +20969 -0
- package/dist/client/{EodashMap-DY7I6iY4.js → EodashMap-jqF-NaSp.js} +39009 -63663
- package/dist/client/{EodashMapBtns-k00mMvVA.js → EodashMapBtns-F7rE6A-2.js} +2 -2
- package/dist/client/{ExportState-Cf40G0wJ.js → ExportState-CHU5c0uO.js} +4 -4
- package/dist/client/{Footer-DrCAj7E9.js → Footer-DjkwaDHV.js} +1 -1
- package/dist/client/{Header-BZT87lHO.js → Header-V8pZw2HR.js} +4 -4
- package/dist/client/{IframeWrapper-DTynglc_.js → IframeWrapper-C8EZZnHk.js} +1 -1
- package/dist/client/{MobileLayout-BymTNZp0.js → MobileLayout-zOO_ZJVe.js} +6 -6
- package/dist/client/{PopUp-CwXUqqZg.js → PopUp-BNnXTHYD.js} +6 -6
- package/dist/client/{VImg-B-YTQawu.js → VImg-Cj6-XkWV.js} +2 -2
- package/dist/client/{VMain-D7s76eFm.js → VMain-BXL9EwGV.js} +2 -2
- package/dist/client/{VOverlay-DdGIY0gS.js → VOverlay-C9MeDzGb.js} +29 -29
- package/dist/client/{WidgetsContainer-CFR37y2l.js → WidgetsContainer-Cw4LFyGR.js} +3 -3
- package/dist/client/{asWebComponent-C2Gm8JDg.js → asWebComponent-GN3G-Gdj.js} +4081 -4034
- package/dist/client/{decoder-Cth6J7EK-DdAwx7Hm.js → decoder-DJlmx386-DJlmx386.js} +4 -6
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-BFBakSKN.js → forwardRefs-DF-jCteQ.js} +1 -1
- package/dist/client/{helpers-VeeVIAhm.js → helpers-XtsCspQr.js} +6 -7
- package/dist/client/{index-DAqRmdAt.js → index-BfF7LPVL.js} +5 -5
- package/dist/client/{lerc-BgbQqdFI-CNkQ6JUx.js → lerc-B4lXefGh-WUagmXWl.js} +33 -33
- package/dist/client/{ssrBoot-BBelCodY.js → ssrBoot-DNvPtEea.js} +1 -1
- package/dist/client/{transition-CxxPQppy.js → transition-Dc2dpya2.js} +1 -1
- package/package.json +5 -5
- package/widgets/EodashItemFilter.vue +83 -4
- package/widgets/EodashMap.vue +191 -123
- package/dist/client/EodashLayerControl-BtfpgLGi.js +0 -31500
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as f, r as p,
|
|
2
|
-
import B from "./ExportState-
|
|
1
|
+
import { _ as f, r as p, aR as d, $ as o, a6 as m, a0 as s, a3 as e, V as i, a5 as r, aS as v, aP as c, aT as k, aQ as x } from "./asWebComponent-GN3G-Gdj.js";
|
|
2
|
+
import B from "./ExportState-CHU5c0uO.js";
|
|
3
3
|
const M = {
|
|
4
4
|
__name: "EodashMapBtns",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import Ye from "./PopUp-
|
|
3
|
-
import { a as Ze } from "./index-
|
|
4
|
-
import { V as X } from "./VImg-
|
|
1
|
+
import { aU as M, g as m, e as y, S as ve, a as g, b as a, p as f, f as x, I as k, O as T, ag as j, aV as me, h as B, aW as J, i as N, aX as U, P as W, aj as q, aY as ye, M as S, ak as _, aZ as H, F as P, ae as ge, ac as fe, af as be, a_ as ke, a$ as he, b0 as Ce, b1 as Ve, b2 as pe, ah as Se, ad as _e, ai as xe, b3 as Ie, b4 as Ae, b5 as Pe, b6 as Te, c as h, t as Be, v as Ne, b7 as Le, u as we, R as $e, C as w, _ as De, b8 as ze, b9 as Fe, r as Re, $ as I, a0 as Ee, a1 as c, ba as Oe, a9 as C, aa as $, a6 as D, a3 as z, bb as Me, a5 as je, aB as Je, bc as Ue, a7 as We, V as F, bd as qe, a8 as R, be as A, aL as E, at as He, au as Xe } from "./asWebComponent-GN3G-Gdj.js";
|
|
2
|
+
import Ye from "./PopUp-BNnXTHYD.js";
|
|
3
|
+
import { a as Ze } from "./index-BfF7LPVL.js";
|
|
4
|
+
import { V as X } from "./VImg-Cj6-XkWV.js";
|
|
5
5
|
const Ge = M("v-spacer", "div", "VSpacer"), Y = m()({
|
|
6
6
|
name: "VCardActions",
|
|
7
7
|
props: y(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as y, ae as x, e as w, af as k, ao as b, ag as C, f as I, h as S, g as R, i as B, Q as P, R as f, ah as z, ai as F, aj as M, s as V, J as T, c as e, ar as X, a as Z, b as j, C as L, _ as N, r as D, x as H, W as E, H as $, $ as A, a0 as J, a1 as K, a9 as t, aa as O, a3 as n, a8 as Q, at as U, au as W } from "./asWebComponent-
|
|
1
|
+
import { p as y, ae as x, e as w, af as k, ao as b, ag as C, f as I, h as S, g as R, i as B, Q as P, R as f, ah as z, ai as F, aj as M, s as V, J as T, c as e, ar as X, a as Z, b as j, C as L, _ as N, r as D, x as H, W as E, H as $, $ as A, a0 as J, a1 as K, a9 as t, aa as O, a3 as n, a8 as Q, at as U, au as W } from "./asWebComponent-GN3G-Gdj.js";
|
|
2
2
|
const q = y({
|
|
3
3
|
app: Boolean,
|
|
4
4
|
color: String,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as V, e as I, f as N, g as _, a as p, b as o, ae as $, af as q, ag as z, h as F, Q as K, R as k, ah as O, ai as Q, aj as Y, i as Z, j as G, s as y, c as n, S as J, ak as B, C as x, r as R, al as X, w as T, Z as ee, am as te, an as ae, ao as le, y as oe, ap as se, aq as ne, ar as re, d as E, _ as ue, x as ie, W as ce, $ as de, a0 as ve, a1 as P, a8 as me, aa as ge, a3 as w } from "./asWebComponent-
|
|
2
|
-
import { V as A } from "./VImg-
|
|
3
|
-
import { a as fe } from "./index-
|
|
4
|
-
import { u as he } from "./ssrBoot-
|
|
1
|
+
import { p as V, e as I, f as N, g as _, a as p, b as o, ae as $, af as q, ag as z, h as F, Q as K, R as k, ah as O, ai as Q, aj as Y, i as Z, j as G, s as y, c as n, S as J, ak as B, C as x, r as R, al as X, w as T, Z as ee, am as te, an as ae, ao as le, y as oe, ap as se, aq as ne, ar as re, d as E, _ as ue, x as ie, W as ce, $ as de, a0 as ve, a1 as P, a8 as me, aa as ge, a3 as w } from "./asWebComponent-GN3G-Gdj.js";
|
|
2
|
+
import { V as A } from "./VImg-Cj6-XkWV.js";
|
|
3
|
+
import { a as fe } from "./index-BfF7LPVL.js";
|
|
4
|
+
import { u as he } from "./ssrBoot-DNvPtEea.js";
|
|
5
5
|
const L = V({
|
|
6
6
|
text: String,
|
|
7
7
|
...I(),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { k as Ie, p as R, o as Pe, m as Xe, g as $, u as Ye, r as I, c as y, a as M, V as G, b as v, F as O, d as z, e as ie, f as ue, h as Ge, i as De, j as pe, l as Ue, n as Be, s as E, w as Ee, q as je, t as q, v as Ne, x as re, y as ze, z as qe, A as Ke, B as le, C as ae, D as Qe, I as fe, E as Je, G as Ze, H as et, J as me, K as tt, L as he, M as ge, N as nt, O as ot, P as st, Q as lt, R as W, S as at, T as it, _ as ut, U as rt, W as ct, X as be, Y as dt, Z as vt, $ as C, a0 as A, a1 as F, a2 as ye, a3 as X, a4 as Se, a5 as se, a6 as Y, a7 as we, a8 as xe, a9 as ft, aa as mt } from "./asWebComponent-
|
|
2
|
-
import { f as ht, a as gt, s as bt, m as yt, u as St, b as wt } from "./forwardRefs-
|
|
3
|
-
import { u as xt } from "./ssrBoot-
|
|
4
|
-
import { M as kt } from "./transition-
|
|
5
|
-
import { V as ke } from "./index-
|
|
6
|
-
import { V as Tt } from "./VMain-
|
|
1
|
+
import { k as Ie, p as R, o as Pe, m as Xe, g as $, u as Ye, r as I, c as y, a as M, V as G, b as v, F as O, d as z, e as ie, f as ue, h as Ge, i as De, j as pe, l as Ue, n as Be, s as E, w as Ee, q as je, t as q, v as Ne, x as re, y as ze, z as qe, A as Ke, B as le, C as ae, D as Qe, I as fe, E as Je, G as Ze, H as et, J as me, K as tt, L as he, M as ge, N as nt, O as ot, P as st, Q as lt, R as W, S as at, T as it, _ as ut, U as rt, W as ct, X as be, Y as dt, Z as vt, $ as C, a0 as A, a1 as F, a2 as ye, a3 as X, a4 as Se, a5 as se, a6 as Y, a7 as we, a8 as xe, a9 as ft, aa as mt } from "./asWebComponent-GN3G-Gdj.js";
|
|
2
|
+
import { f as ht, a as gt, s as bt, m as yt, u as St, b as wt } from "./forwardRefs-DF-jCteQ.js";
|
|
3
|
+
import { u as xt } from "./ssrBoot-DNvPtEea.js";
|
|
4
|
+
import { M as kt } from "./transition-Dc2dpya2.js";
|
|
5
|
+
import { V as ke } from "./index-BfF7LPVL.js";
|
|
6
|
+
import { V as Tt } from "./VMain-BXL9EwGV.js";
|
|
7
7
|
const Vt = (e) => {
|
|
8
8
|
const {
|
|
9
9
|
touchstartX: n,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as E, b as p, d as h, ab as w, p as V, y as R, r as O, L as M, w as x, a as T, D as q, ak as
|
|
2
|
-
import { m as de, V as B } from "./VOverlay-
|
|
3
|
-
import { a as y, d as me, s as D, c as fe, g as ge, n as ve, b as pe, f as he } from "./forwardRefs-
|
|
1
|
+
import { g as E, b as p, d as h, ab as w, p as V, y as R, r as O, L as M, w as x, a as T, D as q, ak as I, N, ae as W, e as j, ac as U, af as X, a$ as Y, b0 as z, ag as H, f as Q, h as G, i as J, Q as K, R as Z, ah as _, ad as ee, ai as te, b4 as ae, b5 as oe, aj as se, b8 as ne, b9 as re, X as ie, $ as P, a6 as k, a1 as S, a0 as le, a3 as b, a4 as ce, a5 as C, bk as ue } from "./asWebComponent-GN3G-Gdj.js";
|
|
2
|
+
import { m as de, V as B } from "./VOverlay-C9MeDzGb.js";
|
|
3
|
+
import { a as y, d as me, s as D, c as fe, g as ge, n as ve, b as pe, f as he } from "./forwardRefs-DF-jCteQ.js";
|
|
4
4
|
const ye = V({
|
|
5
5
|
target: [Object, Array]
|
|
6
6
|
}, "v-dialog-transition"), Pe = E()({
|
|
@@ -142,7 +142,7 @@ const be = V({
|
|
|
142
142
|
a.value?.globalTop && // It isn't the document or the dialog body
|
|
143
143
|
![document, a.value.contentEl].includes(n) && // It isn't inside the dialog body
|
|
144
144
|
!a.value.contentEl.contains(n)) {
|
|
145
|
-
const f =
|
|
145
|
+
const f = N(a.value.contentEl);
|
|
146
146
|
if (!f.length) return;
|
|
147
147
|
const v = f[0], g = f[f.length - 1];
|
|
148
148
|
u === v ? g.focus() : v.focus();
|
|
@@ -193,7 +193,7 @@ const be = V({
|
|
|
193
193
|
default: function() {
|
|
194
194
|
for (var f = arguments.length, v = new Array(f), g = 0; g < f; g++)
|
|
195
195
|
v[g] = arguments[g];
|
|
196
|
-
return p(
|
|
196
|
+
return p(I, {
|
|
197
197
|
root: "VDialog"
|
|
198
198
|
}, {
|
|
199
199
|
default: () => [r.default?.(...v)]
|
|
@@ -204,8 +204,8 @@ const be = V({
|
|
|
204
204
|
}
|
|
205
205
|
}), Ve = V({
|
|
206
206
|
color: String,
|
|
207
|
-
...N(),
|
|
208
207
|
...W(),
|
|
208
|
+
...j(),
|
|
209
209
|
...U(),
|
|
210
210
|
...X(),
|
|
211
211
|
...Y(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as ue, M as b } from "./transition-
|
|
1
|
+
import { bf as O, p as W, e as D, ac as G, g as $, ad as J, a as E, b as n, c as h, ag as K, Q as X, R as Y, aj as Z, bg as p, s as f, r as ee, w as C, bh as te, D as ne, an as re, t as U, v as ae, F as se, d as ie, C as le, B as oe } from "./asWebComponent-GN3G-Gdj.js";
|
|
2
|
+
import { m as ue, M as b } from "./transition-Dc2dpya2.js";
|
|
3
3
|
function ce(e, s) {
|
|
4
4
|
if (!O) return;
|
|
5
5
|
const i = s.modifiers || {}, l = s.value, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as i, e as m, ac as c, f as u, g as d, ad as y, Y as v, a as f, b as e } from "./asWebComponent-
|
|
2
|
-
import { u as V } from "./ssrBoot-
|
|
1
|
+
import { p as i, e as m, ac as c, f as u, g as d, ad as y, Y as v, a as f, b as e } from "./asWebComponent-GN3G-Gdj.js";
|
|
2
|
+
import { u as V } from "./ssrBoot-DNvPtEea.js";
|
|
3
3
|
const b = i({
|
|
4
4
|
scrollable: Boolean,
|
|
5
5
|
...m(),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
3
|
-
import { m as St, M as xt } from "./transition-
|
|
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-GN3G-Gdj.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-DF-jCteQ.js";
|
|
3
|
+
import { m as St, M as xt } from "./transition-Dc2dpya2.js";
|
|
4
4
|
const X = /* @__PURE__ */ new WeakMap();
|
|
5
|
-
function
|
|
5
|
+
function Ot(e, t) {
|
|
6
6
|
Object.keys(t).forEach((n) => {
|
|
7
|
-
if (
|
|
8
|
-
const o =
|
|
7
|
+
if (Oe(n)) {
|
|
8
|
+
const o = ke(n), r = X.get(e);
|
|
9
9
|
if (t[n] == null)
|
|
10
10
|
r?.forEach((l) => {
|
|
11
11
|
const [a, s] = l;
|
|
@@ -20,10 +20,10 @@ function kt(e, t) {
|
|
|
20
20
|
t[n] == null ? e.removeAttribute(n) : e.setAttribute(n, t[n]);
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function kt(e, t) {
|
|
24
24
|
Object.keys(t).forEach((n) => {
|
|
25
|
-
if (
|
|
26
|
-
const o =
|
|
25
|
+
if (Oe(n)) {
|
|
26
|
+
const o = ke(n), r = X.get(e);
|
|
27
27
|
r?.forEach((l) => {
|
|
28
28
|
const [a, s] = l;
|
|
29
29
|
a === o && (e.removeEventListener(o, s), r.delete(l));
|
|
@@ -241,16 +241,16 @@ function _t(e, t, n) {
|
|
|
241
241
|
return typeof t.offset == "number" ? [t.offset, 0] : [0, 0];
|
|
242
242
|
});
|
|
243
243
|
let C = !1;
|
|
244
|
-
const
|
|
244
|
+
const O = new ResizeObserver(() => {
|
|
245
245
|
C && S();
|
|
246
246
|
});
|
|
247
247
|
L([e.target, e.contentEl], (u, c) => {
|
|
248
248
|
let [x, A] = u, [h, w] = c;
|
|
249
|
-
h && !Array.isArray(h) &&
|
|
249
|
+
h && !Array.isArray(h) && O.unobserve(h), x && !Array.isArray(x) && O.observe(x), w && O.unobserve(w), A && O.observe(A);
|
|
250
250
|
}, {
|
|
251
251
|
immediate: !0
|
|
252
252
|
}), _(() => {
|
|
253
|
-
|
|
253
|
+
O.disconnect();
|
|
254
254
|
});
|
|
255
255
|
function S() {
|
|
256
256
|
if (C = !1, requestAnimationFrame(() => C = !0), !e.target.value || !e.contentEl.value) return;
|
|
@@ -338,8 +338,8 @@ function _t(e, t, n) {
|
|
|
338
338
|
{
|
|
339
339
|
const v = me(w.anchor), M = f.x.before || f.x.after, T = f.y.before || f.y.after;
|
|
340
340
|
let z = !1;
|
|
341
|
-
if (["x", "y"].forEach((
|
|
342
|
-
if (
|
|
341
|
+
if (["x", "y"].forEach((k) => {
|
|
342
|
+
if (k === "x" && M && !N.x || k === "y" && T && !N.y) {
|
|
343
343
|
const R = {
|
|
344
344
|
anchor: {
|
|
345
345
|
...w.anchor
|
|
@@ -347,12 +347,12 @@ function _t(e, t, n) {
|
|
|
347
347
|
origin: {
|
|
348
348
|
...w.origin
|
|
349
349
|
}
|
|
350
|
-
}, G =
|
|
350
|
+
}, G = k === "x" ? v === "y" ? ne : te : v === "y" ? te : ne;
|
|
351
351
|
R.anchor = G(R.anchor), R.origin = G(R.origin);
|
|
352
352
|
const {
|
|
353
353
|
overflows: V
|
|
354
354
|
} = H(R);
|
|
355
|
-
(V[
|
|
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);
|
|
356
356
|
}
|
|
357
357
|
}), z) continue;
|
|
358
358
|
}
|
|
@@ -543,7 +543,7 @@ function Ut(e, t) {
|
|
|
543
543
|
let a = !1, s = !1, d = !0;
|
|
544
544
|
const m = P(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), y = P(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !m.value), {
|
|
545
545
|
runOpenDelay: C,
|
|
546
|
-
runCloseDelay:
|
|
546
|
+
runCloseDelay: O
|
|
547
547
|
} = $t(e, (i) => {
|
|
548
548
|
i === (e.openOnHover && a || m.value && s) && !(e.openOnHover && n.value && !o.value) && (n.value !== i && (d = !0), n.value = i);
|
|
549
549
|
}), S = I(), u = {
|
|
@@ -554,13 +554,13 @@ function Ut(e, t) {
|
|
|
554
554
|
i.sourceCapabilities?.firesTouchEvents || (a = !0, l.value = i.currentTarget || i.target, C());
|
|
555
555
|
},
|
|
556
556
|
onMouseleave: (i) => {
|
|
557
|
-
a = !1,
|
|
557
|
+
a = !1, O();
|
|
558
558
|
},
|
|
559
559
|
onFocus: (i) => {
|
|
560
560
|
We(i.target, ":focus-visible") !== !1 && (s = !0, i.stopPropagation(), l.value = i.currentTarget || i.target, C());
|
|
561
561
|
},
|
|
562
562
|
onBlur: (i) => {
|
|
563
|
-
s = !1, i.stopPropagation(),
|
|
563
|
+
s = !1, i.stopPropagation(), O();
|
|
564
564
|
}
|
|
565
565
|
}, c = P(() => {
|
|
566
566
|
const i = {};
|
|
@@ -570,11 +570,11 @@ function Ut(e, t) {
|
|
|
570
570
|
if (e.openOnHover && (i.onMouseenter = () => {
|
|
571
571
|
a = !0, C();
|
|
572
572
|
}, i.onMouseleave = () => {
|
|
573
|
-
a = !1,
|
|
573
|
+
a = !1, O();
|
|
574
574
|
}), m.value && (i.onFocusin = () => {
|
|
575
575
|
s = !0, C();
|
|
576
576
|
}, i.onFocusout = () => {
|
|
577
|
-
s = !1,
|
|
577
|
+
s = !1, O();
|
|
578
578
|
}), e.closeOnContentClick) {
|
|
579
579
|
const N = pe(jt, null);
|
|
580
580
|
i.onClick = () => {
|
|
@@ -587,7 +587,7 @@ function Ut(e, t) {
|
|
|
587
587
|
return e.openOnHover && (i.onMouseenter = () => {
|
|
588
588
|
d && (a = !0, d = !1, C());
|
|
589
589
|
}, i.onMouseleave = () => {
|
|
590
|
-
a = !1,
|
|
590
|
+
a = !1, O();
|
|
591
591
|
}), i;
|
|
592
592
|
});
|
|
593
593
|
L(o, (i) => {
|
|
@@ -650,11 +650,11 @@ function Gt(e, t, n) {
|
|
|
650
650
|
});
|
|
651
651
|
function l() {
|
|
652
652
|
let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : s(), m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
|
653
|
-
d &&
|
|
653
|
+
d && Ot(d, W(r.value, m));
|
|
654
654
|
}
|
|
655
655
|
function a() {
|
|
656
656
|
let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : s(), m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
|
657
|
-
d &&
|
|
657
|
+
d && kt(d, W(r.value, m));
|
|
658
658
|
}
|
|
659
659
|
function s() {
|
|
660
660
|
let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : e.activator;
|
|
@@ -697,7 +697,7 @@ function Xt(e, t, n) {
|
|
|
697
697
|
const y = $.at(-1)?.[1];
|
|
698
698
|
s.value = y ? y + 10 : +t.value, r && $.push([o.uid, s.value]), l?.activeChildren.add(o.uid), _(() => {
|
|
699
699
|
if (r) {
|
|
700
|
-
const C = Ye($).findIndex((
|
|
700
|
+
const C = Ye($).findIndex((O) => O[0] === o.uid);
|
|
701
701
|
$.splice(C, 1);
|
|
702
702
|
}
|
|
703
703
|
l?.activeChildren.delete(o.uid);
|
|
@@ -814,7 +814,7 @@ const Jt = U({
|
|
|
814
814
|
} = et(), {
|
|
815
815
|
hasContent: y,
|
|
816
816
|
onAfterLeave: C
|
|
817
|
-
} = ht(e, a),
|
|
817
|
+
} = ht(e, a), O = tt(P(() => typeof e.scrim == "string" ? e.scrim : null)), {
|
|
818
818
|
globalTop: S,
|
|
819
819
|
localTop: u,
|
|
820
820
|
stackStyles: c
|
|
@@ -864,7 +864,7 @@ const Jt = U({
|
|
|
864
864
|
function z(b) {
|
|
865
865
|
r("click:outside", b), e.persistent ? K() : a.value = !1;
|
|
866
866
|
}
|
|
867
|
-
function
|
|
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
|
}
|
|
@@ -931,7 +931,7 @@ const Jt = U({
|
|
|
931
931
|
}, e.style],
|
|
932
932
|
ref: g
|
|
933
933
|
}, E, o), [D(Qt, W({
|
|
934
|
-
color:
|
|
934
|
+
color: O,
|
|
935
935
|
modelValue: a.value && !!e.scrim,
|
|
936
936
|
ref: f
|
|
937
937
|
}, i.value), null), D(xt, {
|
|
@@ -950,7 +950,7 @@ const Jt = U({
|
|
|
950
950
|
isActive: a
|
|
951
951
|
})]), [[ct, a.value], [ut("click-outside"), {
|
|
952
952
|
handler: z,
|
|
953
|
-
closeConditional:
|
|
953
|
+
closeConditional: k,
|
|
954
954
|
include: () => [x.value]
|
|
955
955
|
}]])]
|
|
956
956
|
})])]
|
|
@@ -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
|
|
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-GN3G-Gdj.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
|
|
@@ -103,12 +103,12 @@ const b = {
|
|
|
103
103
|
f(
|
|
104
104
|
"span",
|
|
105
105
|
{
|
|
106
|
-
style:
|
|
106
|
+
style: D({ height: h.value }),
|
|
107
107
|
class: "d-flex flex-column"
|
|
108
108
|
},
|
|
109
109
|
[
|
|
110
110
|
(n(), _(
|
|
111
|
-
|
|
111
|
+
A(s.value.component),
|
|
112
112
|
w({ ref_for: !0 }, s.value.props),
|
|
113
113
|
null,
|
|
114
114
|
16
|