@eodash/eodash 5.0.0-alpha.2.5 → 5.0.0-alpha.2.6
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/README.md +19 -5
- package/core/client/App.vue +6 -7
- package/core/client/SuspensedDashboard.ce.vue +58 -40
- package/core/client/asWebComponent.d.ts +10 -5
- package/core/client/asWebComponent.js +6 -6
- package/core/client/components/DashboardLayout.vue +35 -16
- package/core/client/components/DynamicWebComponent.vue +44 -44
- package/core/client/components/ErrorAlert.vue +19 -7
- package/core/client/components/Footer.vue +28 -14
- package/core/client/components/Header.vue +4 -4
- package/core/client/components/IframeWrapper.vue +3 -3
- package/core/client/components/Loading.vue +17 -18
- package/core/client/components/MobileLayout.vue +48 -26
- package/core/client/composables/DefineEodash.js +38 -29
- package/core/client/composables/DefineWidgets.js +101 -81
- package/core/client/composables/index.js +32 -29
- package/core/client/eodash.js +44 -39
- package/core/client/main.js +2 -2
- package/core/client/plugins/index.js +9 -10
- package/core/client/plugins/vuetify.js +9 -10
- package/core/client/render.js +4 -5
- package/core/client/store/States.js +8 -13
- package/core/client/store/index.js +14 -11
- package/core/client/store/stac.js +51 -37
- package/core/client/types.d.ts +169 -201
- package/core/client/utils/eodashSTAC.js +130 -49
- package/core/client/utils/helpers.js +18 -20
- package/core/client/utils/index.js +17 -10
- package/core/client/utils/keys.js +2 -2
- package/core/client/views/Dashboard.vue +53 -36
- package/core/client/vite-env.d.ts +19 -17
- package/dist/client/{DashboardLayout-BYROtP-7.js → DashboardLayout-BuDcv6LM.js} +9 -9
- package/dist/client/{DynamicWebComponent-BQhxFPM0.js → DynamicWebComponent-BEP4rVce.js} +2 -2
- package/dist/client/EodashDatePicker-oFb1zt5E.js +1211 -0
- package/dist/client/{EodashItemFilter-DIBDAHcc.js → EodashItemFilter-BElmgrST.js} +4 -6
- package/dist/client/{EodashMap-C6jJ2Lb_.js → EodashMap-DXyOgcEd.js} +13131 -14490
- package/dist/client/{Footer-BVIZms1S.js → Footer-CoPx6UXQ.js} +3 -3
- package/dist/client/{Header-TsTL1d2R.js → Header-C-zX31Ys.js} +169 -167
- package/dist/client/{IframeWrapper-XKChM78a.js → IframeWrapper-2w2ye0zM.js} +1 -1
- package/dist/client/{MobileLayout-BlGcMQra.js → MobileLayout-C9OVcP12.js} +45 -57
- package/dist/client/{VMain-C9XV5Lyg.js → VMain-Dm43jd43.js} +2 -2
- package/dist/client/{WidgetsContainer-BQXHnZpa.js → WidgetsContainer-BS87sLqk.js} +10 -3
- package/dist/client/{asWebComponent-CbdGxelK.js → asWebComponent-CpQUVi2N.js} +5508 -5561
- package/dist/client/{basedecoder-Qm25PwVp-CHo5Pomv.js → basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
- package/dist/client/{decoder-HRvnjnEI-CHAYOWhz.js → decoder-CP4lv0Kb-BHrv68IA.js} +1 -1
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
- package/dist/client/eo-dash.js +3 -3
- package/dist/client/eodashSTAC-Q7kbX1Gy.js +2788 -0
- package/dist/client/{eox-itemfilter-DcQkRD2l.js → eox-itemfilter-TaBxgqq_.js} +1002 -974
- package/dist/client/{eox-map-C3DL31fp.js → eox-map-L7abwKTR.js} +5677 -5695
- package/dist/client/{forwardRefs-CyCJOFsz.js → forwardRefs-BVFQ82G4.js} +12 -21
- package/dist/client/{index-CabQjjQg.js → index-dOzyv_xR.js} +1 -1
- package/dist/client/{jpeg-DNfUpLwy-Fjan-04T.js → jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
- package/dist/client/{lerc-_E46UbWQ-TxBH4OeK.js → lerc-DzVumYtB-rm1Xco54.js} +5 -7
- package/dist/client/{lzw-BOMhmEDy-Dboc93VO.js → lzw-LAGDNbSC-DkP96qO9.js} +1 -1
- package/dist/client/{packbits-DaUD6MLm-Bu1PoTGa.js → packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
- package/dist/client/{pako.esm-C3kYPGGQ-BMki8cQY.js → pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
- package/dist/client/{raw-CcGKjn8q-DFOt-i8n.js → raw-CMGvRjfu-BRi6E4i1.js} +1 -1
- package/dist/client/{ssrBoot-DWJ-z4I-.js → ssrBoot-L9KejErM.js} +1 -1
- package/dist/client/style.css +2 -2
- package/dist/client/{transition-BlLt41wg.js → transition-DCePIwYR.js} +1 -1
- package/dist/client/{webfontloader-CyOFAuFB.js → webfontloader-qotgY98I.js} +56 -92
- package/dist/client/{webimage-D2c098k3-DLj1LQxB.js → webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
- package/dist/node/cli.js +1 -1
- package/dist/node/types.d.ts +32 -38
- package/package.json +11 -11
- package/widgets/EodashDatePicker.vue +94 -43
- package/widgets/EodashItemFilter.vue +13 -10
- package/widgets/EodashMap.vue +87 -20
- package/widgets/WidgetsContainer.vue +45 -27
- package/dist/client/EodashDatePicker-CFltnt5d.js +0 -1194
- package/dist/client/deflate-Be2Arps5-hDqMz3RA.js +0 -10
- package/dist/client/http-ZWiLaAeR.js +0 -1337
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { k as Ie, p as R, o as Pe, m as Xe, g as
|
|
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-CpQUVi2N.js";
|
|
2
|
+
import { f as ht, a as gt, s as bt, m as yt, u as St, b as wt } from "./forwardRefs-BVFQ82G4.js";
|
|
3
|
+
import { u as xt } from "./ssrBoot-L9KejErM.js";
|
|
4
|
+
import { M as kt } from "./transition-DCePIwYR.js";
|
|
5
|
+
import { V as ke } from "./index-dOzyv_xR.js";
|
|
6
|
+
import { V as Tt } from "./VMain-Dm43jd43.js";
|
|
7
7
|
const Vt = (e) => {
|
|
8
8
|
const {
|
|
9
9
|
touchstartX: n,
|
|
@@ -63,8 +63,7 @@ function pt(e, n) {
|
|
|
63
63
|
const s = n.value, t = s?.parent ? e.parentElement : e, l = s?.options ?? {
|
|
64
64
|
passive: !0
|
|
65
65
|
}, u = n.instance?.$.uid;
|
|
66
|
-
if (!t || !u)
|
|
67
|
-
return;
|
|
66
|
+
if (!t || !u) return;
|
|
68
67
|
const o = Pt(n.value);
|
|
69
68
|
t._touchHandlers = t._touchHandlers ?? /* @__PURE__ */ Object.create(null), t._touchHandlers[u] = o, Ie(o).forEach((f) => {
|
|
70
69
|
t.addEventListener(f, o[f], l);
|
|
@@ -72,8 +71,7 @@ function pt(e, n) {
|
|
|
72
71
|
}
|
|
73
72
|
function Bt(e, n) {
|
|
74
73
|
const s = n.value?.parent ? e.parentElement : e, t = n.instance?.$.uid;
|
|
75
|
-
if (!s?._touchHandlers || !t)
|
|
76
|
-
return;
|
|
74
|
+
if (!s?._touchHandlers || !t) return;
|
|
77
75
|
const l = s._touchHandlers[t];
|
|
78
76
|
Ie(l).forEach((u) => {
|
|
79
77
|
s.removeEventListener(u, l[u]);
|
|
@@ -94,7 +92,7 @@ const We = {
|
|
|
94
92
|
selectedClass: "v-tab--selected",
|
|
95
93
|
variant: "text"
|
|
96
94
|
}), ["active", "block", "flat", "location", "position", "symbol"])
|
|
97
|
-
}, "VTab"), Re =
|
|
95
|
+
}, "VTab"), Re = $()({
|
|
98
96
|
name: "VTab",
|
|
99
97
|
props: zt(),
|
|
100
98
|
setup(e, n) {
|
|
@@ -112,8 +110,7 @@ const We = {
|
|
|
112
110
|
} = m;
|
|
113
111
|
if (a) {
|
|
114
112
|
const g = o.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), d = f.value;
|
|
115
|
-
if (!g || !d)
|
|
116
|
-
return;
|
|
113
|
+
if (!g || !d) return;
|
|
117
114
|
const _ = getComputedStyle(g).color, T = g.getBoundingClientRect(), V = d.getBoundingClientRect(), P = r.value ? "x" : "y", p = r.value ? "X" : "Y", b = r.value ? "right" : "bottom", S = r.value ? "width" : "height", k = T[P], H = V[P], B = k > H ? T[b] - V[b] : T[P] - V[P], K = Math.sign(B) > 0 ? r.value ? "right" : "bottom" : Math.sign(B) < 0 ? r.value ? "left" : "top" : "center", Q = (Math.abs(B) + (Math.sign(B) < 0 ? T[S] : V[S])) / Math.max(T[S], V[S]) || 0, j = T[S] / V[S] || 0, N = 1.5;
|
|
118
115
|
gt(d, {
|
|
119
116
|
backgroundColor: [_, "currentcolor"],
|
|
@@ -125,7 +122,7 @@ const We = {
|
|
|
125
122
|
});
|
|
126
123
|
}
|
|
127
124
|
}
|
|
128
|
-
return
|
|
125
|
+
return M(() => {
|
|
129
126
|
const m = G.filterProps(e);
|
|
130
127
|
return v(G, z({
|
|
131
128
|
symbol: ce,
|
|
@@ -150,7 +147,7 @@ const We = {
|
|
|
150
147
|
});
|
|
151
148
|
}), ht({}, o);
|
|
152
149
|
}
|
|
153
|
-
}),
|
|
150
|
+
}), $e = Symbol.for("vuetify:v-window"), Me = Symbol.for("vuetify:v-window-group"), He = R({
|
|
154
151
|
continuous: Boolean,
|
|
155
152
|
nextIcon: {
|
|
156
153
|
type: [Boolean, String, Function, Object],
|
|
@@ -187,7 +184,7 @@ const We = {
|
|
|
187
184
|
...ie(),
|
|
188
185
|
...ue(),
|
|
189
186
|
...Ge()
|
|
190
|
-
}, "VWindow"), Te =
|
|
187
|
+
}, "VWindow"), Te = $()({
|
|
191
188
|
name: "VWindow",
|
|
192
189
|
directives: {
|
|
193
190
|
Touch: We
|
|
@@ -206,14 +203,14 @@ const We = {
|
|
|
206
203
|
isRtl: l
|
|
207
204
|
} = pe(), {
|
|
208
205
|
t: u
|
|
209
|
-
} = Ue(), o = Be(e,
|
|
206
|
+
} = Ue(), o = Be(e, Me), f = I(), r = y(() => l.value ? !e.reverse : e.reverse), h = E(!1), x = y(() => {
|
|
210
207
|
const b = e.direction === "vertical" ? "y" : "x", k = (r.value ? !h.value : h.value) ? "-reverse" : "";
|
|
211
208
|
return `v-window-${b}${k}-transition`;
|
|
212
209
|
}), m = E(0), a = I(void 0), g = y(() => o.items.value.findIndex((b) => o.selected.value.includes(b.id)));
|
|
213
210
|
Ee(g, (b, S) => {
|
|
214
211
|
const k = o.items.value.length, H = k - 1;
|
|
215
212
|
k <= 2 ? h.value = b < S : b === H && S === 0 ? h.value = !0 : b === 0 && S === H ? h.value = !1 : h.value = b < S;
|
|
216
|
-
}), je(
|
|
213
|
+
}), je($e, {
|
|
217
214
|
transition: x,
|
|
218
215
|
isReversed: h,
|
|
219
216
|
transitionCount: m,
|
|
@@ -263,7 +260,7 @@ const We = {
|
|
|
263
260
|
},
|
|
264
261
|
...e.touch === !0 ? {} : e.touch
|
|
265
262
|
});
|
|
266
|
-
return
|
|
263
|
+
return M(() => q(v(e.tag, {
|
|
267
264
|
ref: f,
|
|
268
265
|
class: ["v-window", {
|
|
269
266
|
"v-window--show-arrows-on-hover": e.showArrows === "hover"
|
|
@@ -288,7 +285,7 @@ const We = {
|
|
|
288
285
|
}
|
|
289
286
|
}), Wt = R({
|
|
290
287
|
...Pe(He(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
|
|
291
|
-
}, "VTabsWindow"), Rt =
|
|
288
|
+
}, "VTabsWindow"), Rt = $()({
|
|
292
289
|
name: "VTabsWindow",
|
|
293
290
|
props: Wt(),
|
|
294
291
|
emits: {
|
|
@@ -306,7 +303,7 @@ const We = {
|
|
|
306
303
|
l.value = o;
|
|
307
304
|
}
|
|
308
305
|
});
|
|
309
|
-
return
|
|
306
|
+
return M(() => {
|
|
310
307
|
const o = Te.filterProps(e);
|
|
311
308
|
return v(Te, z({
|
|
312
309
|
_as: "VTabsWindow"
|
|
@@ -332,7 +329,7 @@ const We = {
|
|
|
332
329
|
...ie(),
|
|
333
330
|
...qe(),
|
|
334
331
|
...yt()
|
|
335
|
-
}, "VWindowItem"), Ve =
|
|
332
|
+
}, "VWindowItem"), Ve = $()({
|
|
336
333
|
name: "VWindowItem",
|
|
337
334
|
directives: {
|
|
338
335
|
Touch: Et
|
|
@@ -345,11 +342,10 @@ const We = {
|
|
|
345
342
|
let {
|
|
346
343
|
slots: s
|
|
347
344
|
} = n;
|
|
348
|
-
const t = re(
|
|
345
|
+
const t = re($e), l = Ke(e, Me), {
|
|
349
346
|
isBooted: u
|
|
350
347
|
} = xt();
|
|
351
|
-
if (!t || !l)
|
|
352
|
-
throw new Error("[Vuetify] VWindowItem must be used inside VWindow");
|
|
348
|
+
if (!t || !l) throw new Error("[Vuetify] VWindowItem must be used inside VWindow");
|
|
353
349
|
const o = E(!1), f = y(() => u.value && (t.isReversed.value ? e.reverseTransition !== !1 : e.transition !== !1));
|
|
354
350
|
function r() {
|
|
355
351
|
!o.value || !t || (o.value = !1, t.transitionCount.value > 0 && (t.transitionCount.value -= 1, t.transitionCount.value === 0 && (t.transitionHeight.value = void 0)));
|
|
@@ -380,7 +376,7 @@ const We = {
|
|
|
380
376
|
}), {
|
|
381
377
|
hasContent: g
|
|
382
378
|
} = St(e, l.isSelected);
|
|
383
|
-
return
|
|
379
|
+
return M(() => v(kt, {
|
|
384
380
|
transition: a.value,
|
|
385
381
|
disabled: !u.value
|
|
386
382
|
}, {
|
|
@@ -392,16 +388,16 @@ const We = {
|
|
|
392
388
|
groupItem: l
|
|
393
389
|
};
|
|
394
390
|
}
|
|
395
|
-
}),
|
|
391
|
+
}), $t = R({
|
|
396
392
|
...Ae()
|
|
397
|
-
}, "VTabsWindowItem"),
|
|
393
|
+
}, "VTabsWindowItem"), Mt = $()({
|
|
398
394
|
name: "VTabsWindowItem",
|
|
399
|
-
props:
|
|
395
|
+
props: $t(),
|
|
400
396
|
setup(e, n) {
|
|
401
397
|
let {
|
|
402
398
|
slots: s
|
|
403
399
|
} = n;
|
|
404
|
-
return
|
|
400
|
+
return M(() => {
|
|
405
401
|
const t = Ve.filterProps(e);
|
|
406
402
|
return v(Ve, z({
|
|
407
403
|
_as: "VTabsWindowItem"
|
|
@@ -483,7 +479,7 @@ const Ot = Symbol.for("vuetify:v-slide-group"), Le = R({
|
|
|
483
479
|
...Ze({
|
|
484
480
|
selectedClass: "v-slide-group-item--active"
|
|
485
481
|
})
|
|
486
|
-
}, "VSlideGroup"), _e =
|
|
482
|
+
}, "VSlideGroup"), _e = $()({
|
|
487
483
|
name: "VSlideGroup",
|
|
488
484
|
props: Le(),
|
|
489
485
|
emits: {
|
|
@@ -539,8 +535,7 @@ const Ot = Symbol.for("vuetify:v-slide-group"), Le = R({
|
|
|
539
535
|
}), k(w);
|
|
540
536
|
}
|
|
541
537
|
function k(i) {
|
|
542
|
-
if (!he || !a.el)
|
|
543
|
-
return;
|
|
538
|
+
if (!he || !a.el) return;
|
|
544
539
|
const c = D(m.value, a.el), w = Fe(m.value, t.value, a.el);
|
|
545
540
|
if (!(Ce(m.value, a.el) <= c || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
|
|
546
541
|
Math.abs(i - w) < 16)) {
|
|
@@ -582,27 +577,22 @@ const Ot = Symbol.for("vuetify:v-slide-group"), Le = R({
|
|
|
582
577
|
U = !0;
|
|
583
578
|
}
|
|
584
579
|
function N(i) {
|
|
585
|
-
if (!d.el)
|
|
586
|
-
return;
|
|
580
|
+
if (!d.el) return;
|
|
587
581
|
function c(w) {
|
|
588
582
|
i.preventDefault(), L(w);
|
|
589
583
|
}
|
|
590
584
|
m.value ? i.key === "ArrowRight" ? c(t.value ? "prev" : "next") : i.key === "ArrowLeft" && c(t.value ? "next" : "prev") : i.key === "ArrowDown" ? c("next") : i.key === "ArrowUp" && c("prev"), i.key === "Home" ? c("first") : i.key === "End" && c("last");
|
|
591
585
|
}
|
|
592
586
|
function L(i) {
|
|
593
|
-
if (!d.el)
|
|
594
|
-
return;
|
|
587
|
+
if (!d.el) return;
|
|
595
588
|
let c;
|
|
596
589
|
if (!i)
|
|
597
590
|
c = nt(d.el)[0];
|
|
598
591
|
else if (i === "next") {
|
|
599
|
-
if (c = d.el.querySelector(":focus")?.nextElementSibling, !c)
|
|
600
|
-
return L("first");
|
|
592
|
+
if (c = d.el.querySelector(":focus")?.nextElementSibling, !c) return L("first");
|
|
601
593
|
} else if (i === "prev") {
|
|
602
|
-
if (c = d.el.querySelector(":focus")?.previousElementSibling, !c)
|
|
603
|
-
|
|
604
|
-
} else
|
|
605
|
-
i === "first" ? c = d.el.firstElementChild : i === "last" && (c = d.el.lastElementChild);
|
|
594
|
+
if (c = d.el.querySelector(":focus")?.previousElementSibling, !c) return L("last");
|
|
595
|
+
} else i === "first" ? c = d.el.firstElementChild : i === "last" && (c = d.el.lastElementChild);
|
|
606
596
|
c && c.focus({
|
|
607
597
|
preventScroll: !0
|
|
608
598
|
});
|
|
@@ -638,12 +628,11 @@ const Ot = Symbol.for("vuetify:v-slide-group"), Le = R({
|
|
|
638
628
|
return !u.value && (f.value || Math.abs(r.value) > 0);
|
|
639
629
|
}
|
|
640
630
|
}), de = y(() => Math.abs(r.value) > 1), ve = y(() => {
|
|
641
|
-
if (!a.value)
|
|
642
|
-
return !1;
|
|
631
|
+
if (!a.value) return !1;
|
|
643
632
|
const i = Ce(m.value, a.el), c = Ft(m.value, a.el);
|
|
644
633
|
return i - c - Math.abs(r.value) > 1;
|
|
645
634
|
});
|
|
646
|
-
return
|
|
635
|
+
return M(() => v(e.tag, {
|
|
647
636
|
class: ["v-slide-group", {
|
|
648
637
|
"v-slide-group--vertical": !m.value,
|
|
649
638
|
"v-slide-group--has-affixes": ee.value,
|
|
@@ -727,7 +716,7 @@ const Xt = R({
|
|
|
727
716
|
}),
|
|
728
717
|
...ot(),
|
|
729
718
|
...ue()
|
|
730
|
-
}, "VTabs"), Yt =
|
|
719
|
+
}, "VTabs"), Yt = $()({
|
|
731
720
|
name: "VTabs",
|
|
732
721
|
props: Xt(),
|
|
733
722
|
emits: {
|
|
@@ -755,7 +744,7 @@ const Xt = R({
|
|
|
755
744
|
sliderColor: W(e, "sliderColor"),
|
|
756
745
|
hideSlider: W(e, "hideSlider")
|
|
757
746
|
}
|
|
758
|
-
}),
|
|
747
|
+
}), M(() => {
|
|
759
748
|
const x = _e.filterProps(e), m = !!(t.window || e.items.length > 0);
|
|
760
749
|
return v(O, null, [v(_e, z(x, {
|
|
761
750
|
modelValue: l.value,
|
|
@@ -777,9 +766,9 @@ const Xt = R({
|
|
|
777
766
|
key: a.text,
|
|
778
767
|
value: a.value
|
|
779
768
|
}), {
|
|
780
|
-
default: () => t[`tab.${a.value}`]?.({
|
|
769
|
+
default: t[`tab.${a.value}`] ? () => t[`tab.${a.value}`]?.({
|
|
781
770
|
item: a
|
|
782
|
-
})
|
|
771
|
+
}) : void 0
|
|
783
772
|
}))]
|
|
784
773
|
}), m && v(Rt, z({
|
|
785
774
|
modelValue: l.value,
|
|
@@ -788,7 +777,7 @@ const Xt = R({
|
|
|
788
777
|
}, h), {
|
|
789
778
|
default: () => [u.value.map((a) => t.item?.({
|
|
790
779
|
item: a
|
|
791
|
-
}) ?? v(
|
|
780
|
+
}) ?? v(Mt, {
|
|
792
781
|
value: a.value
|
|
793
782
|
}, {
|
|
794
783
|
default: () => t[`item.${a.value}`]?.({
|
|
@@ -806,17 +795,16 @@ const Xt = R({
|
|
|
806
795
|
__name: "MobileLayout",
|
|
807
796
|
setup(e) {
|
|
808
797
|
rt((m) => ({
|
|
809
|
-
|
|
810
|
-
"
|
|
811
|
-
|
|
798
|
+
a5e6ca1c: h.value,
|
|
799
|
+
"369f1584": r.value,
|
|
800
|
+
a7dda310: x.value
|
|
812
801
|
}));
|
|
813
802
|
const n = (
|
|
814
803
|
/** @type {import("@/types").Eodash} */
|
|
815
804
|
re(ct)
|
|
816
805
|
), s = n.template.widgets, t = be(s), [l] = be([n.template?.background]), { mainRect: u } = dt(), o = I(-1), f = I(null), r = I(""), h = I(""), x = I("");
|
|
817
806
|
return vt(() => {
|
|
818
|
-
h.value = u.value.top + "px", x.value = (u.value.bottom || 48) + "px", r.value = u.value.bottom +
|
|
819
|
-
(f.value?.$el?.clientHeight ?? 0) + "px";
|
|
807
|
+
h.value = u.value.top + "px", x.value = (u.value.bottom || 48) + "px", r.value = u.value.bottom + (f.value?.$el?.clientHeight ?? 0) + "px";
|
|
820
808
|
}), (m, a) => (C(), A(Tt, { class: "overflow-hidden main" }, {
|
|
821
809
|
default: F(() => [
|
|
822
810
|
(C(), A(ye, { suspensible: "" }, {
|
|
@@ -951,7 +939,7 @@ const Xt = R({
|
|
|
951
939
|
/* STABLE */
|
|
952
940
|
}));
|
|
953
941
|
}
|
|
954
|
-
}, Zt = /* @__PURE__ */ ut(Ut, [["__scopeId", "data-v-
|
|
942
|
+
}, Zt = /* @__PURE__ */ ut(Ut, [["__scopeId", "data-v-a197a171"]]);
|
|
955
943
|
export {
|
|
956
944
|
Zt as default
|
|
957
945
|
};
|
|
@@ -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-CpQUVi2N.js";
|
|
2
|
+
import { u as V } from "./ssrBoot-L9KejErM.js";
|
|
3
3
|
const b = i({
|
|
4
4
|
scrollable: Boolean,
|
|
5
5
|
...m(),
|
|
@@ -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,
|
|
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, b6 as D } from "./asWebComponent-CpQUVi2N.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
|
|
@@ -59,7 +59,11 @@ const b = {
|
|
|
59
59
|
__name: "WidgetsContainer",
|
|
60
60
|
props: {
|
|
61
61
|
widgets: {
|
|
62
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* @type {import("vue").PropType<
|
|
64
|
+
* Omit<import("@/types").Widget, "layout">[]
|
|
65
|
+
* >}
|
|
66
|
+
*/
|
|
63
67
|
type: Array,
|
|
64
68
|
required: !0
|
|
65
69
|
}
|
|
@@ -68,7 +72,10 @@ const b = {
|
|
|
68
72
|
const t = g(a.widgets), l = i([]), o = i([]), h = i(""), r = i(0), { mainRect: d } = y();
|
|
69
73
|
return x(async () => {
|
|
70
74
|
await v(() => {
|
|
71
|
-
r.value = o.value.reduce(
|
|
75
|
+
r.value = o.value.reduce(
|
|
76
|
+
(c, u) => c += u.clientHeight,
|
|
77
|
+
0
|
|
78
|
+
), h.value = (l.value[0].parentElement?.scrollHeight ?? 0) - r.value - d.value.top + "px";
|
|
72
79
|
});
|
|
73
80
|
}), (c, u) => (n(!0), m(
|
|
74
81
|
k,
|