@eodash/eodash 5.0.0-alpha.2 → 5.0.0-alpha.2.3
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/LICENSE +21 -0
- package/README.md +11 -1
- package/bin/serverConfig.js +1 -1
- package/bin/types.d.ts +1 -0
- package/bin/utils.js +1 -1
- package/core/App.vue +12 -4
- package/core/SuspensedDashboard.ce.vue +21 -7
- package/core/components/DashboardLayout.vue +12 -30
- package/core/components/ErrorAlert.vue +19 -0
- package/core/components/Loading.vue +12 -1
- package/core/components/MobileLayout.vue +19 -11
- package/core/composables/DefineWidgets.js +11 -5
- package/core/composables/index.js +16 -13
- package/core/eodash.js +0 -2
- package/core/plugins/vuetify.js +9 -3
- package/core/store/stac.js +6 -2
- package/core/types.d.ts +11 -24
- package/core/views/Dashboard.vue +14 -3
- package/dist/DashboardLayout-lzEvtalW.js +148 -0
- package/dist/{DynamicWebComponent-BDOQsEcj.js → DynamicWebComponent-CgDh2csQ.js} +12 -12
- package/dist/EodashDatePicker-bIyNUYaG.js +1653 -0
- package/dist/{EodashItemFilter-TSp7XRGy.js → EodashItemFilter-CpgyrJRX.js} +2 -2
- package/dist/{EodashMap-DInb9cfS.js → EodashMap-CyR-Ldpk.js} +4 -4
- package/dist/Footer-C2sIHSym.js +118 -0
- package/dist/{Header-C5PSB8Uc.js → Header-DFz2BUnp.js} +224 -228
- package/dist/{IframeWrapper-DYHQQRUh.js → IframeWrapper-Csep3rMg.js} +1 -1
- package/dist/MobileLayout-CXNJL_q6.js +984 -0
- package/dist/VMain-COrg6UtF.js +39 -0
- package/dist/{WidgetsContainer-D_PLP1qf.js → WidgetsContainer-XA6_dKOm.js} +18 -18
- package/dist/asWebComponent-fqvymeM-.js +13092 -0
- package/dist/{decoder-kAoyGIq9-HAkjSTCt.js → decoder-kAoyGIq9-DjQanfeo.js} +1 -1
- package/dist/eo-dash.js +2 -2
- package/dist/{index-8ch8xKfa.js → index-Cskxla5D.js} +76 -44
- package/dist/index-Zv5eTiB6.js +34 -0
- package/dist/{lerc-C9VL9kri-DyVxBvsf.js → lerc-C9VL9kri-O4muG-MO.js} +1 -1
- package/dist/{ssrBoot-Cm5pWM14.js → ssrBoot-DCCAW5xY.js} +3 -3
- package/dist/style.css +2 -2
- package/package.json +3 -3
- package/widgets/EodashDatePicker.vue +1 -0
- package/widgets/WidgetsContainer.vue +7 -5
- package/dist/DashboardLayout-YLfAa8wH.js +0 -168
- package/dist/EodashDatePicker-DlehqSgz.js +0 -1645
- package/dist/Footer-CIzHgJbK.js +0 -118
- package/dist/MobileLayout-DZmqrpub.js +0 -523
- package/dist/VBtn-CFPhsIX8.js +0 -1106
- package/dist/VMain-deI9jyIf.js +0 -35
- package/dist/asWebComponent-BKe6Spni.js +0 -11323
- package/dist/color-D72nEBIR.js +0 -115
- package/dist/dimensions-BZkmIizV.js +0 -53
- package/dist/index-DIt8GjSR.js +0 -65
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { p as i, e as m, ab as c, f as u, g as y, ac as d, Y as v, a as b, b as e } from "./asWebComponent-fqvymeM-.js";
|
|
2
|
+
import { u as f } from "./ssrBoot-DCCAW5xY.js";
|
|
3
|
+
const V = i({
|
|
4
|
+
scrollable: Boolean,
|
|
5
|
+
...m(),
|
|
6
|
+
...c(),
|
|
7
|
+
...u({
|
|
8
|
+
tag: "main"
|
|
9
|
+
})
|
|
10
|
+
}, "VMain"), k = y()({
|
|
11
|
+
name: "VMain",
|
|
12
|
+
props: V(),
|
|
13
|
+
setup(a, o) {
|
|
14
|
+
let {
|
|
15
|
+
slots: s
|
|
16
|
+
} = o;
|
|
17
|
+
const {
|
|
18
|
+
dimensionStyles: l
|
|
19
|
+
} = d(a), {
|
|
20
|
+
mainStyles: t,
|
|
21
|
+
layoutIsReady: n
|
|
22
|
+
} = v(), {
|
|
23
|
+
ssrBootStyles: r
|
|
24
|
+
} = f();
|
|
25
|
+
return b(() => e(a.tag, {
|
|
26
|
+
class: ["v-main", {
|
|
27
|
+
"v-main--scrollable": a.scrollable
|
|
28
|
+
}, a.class],
|
|
29
|
+
style: [t.value, r.value, l.value, a.style]
|
|
30
|
+
}, {
|
|
31
|
+
default: () => [a.scrollable ? e("div", {
|
|
32
|
+
class: "v-main__scroller"
|
|
33
|
+
}, [s.default?.()]) : s.default?.()]
|
|
34
|
+
})), n;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
k as V
|
|
39
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
class
|
|
1
|
+
import { X as g, r as i, Y as y, Z as x, D as v, _ as n, a5 as m, a6 as E, a2 as H, F as k, a9 as f, aa as C, $ as _, aY as w, aZ as A, a3 as D, a7 as F } from "./asWebComponent-fqvymeM-.js";
|
|
2
|
+
class $ 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
|
|
5
5
|
// additionally, the "exclusive" attribute has been introduced
|
|
@@ -52,10 +52,10 @@ class D extends HTMLDetailsElement {
|
|
|
52
52
|
this.el.open = e, this.animation = null, this.isClosing = !1, this.isExpanding = !1, this.el.style.height = this.el.style.overflow = "";
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
customElements.define("animated-details",
|
|
55
|
+
customElements.define("animated-details", $, {
|
|
56
56
|
extends: "details"
|
|
57
57
|
});
|
|
58
|
-
const
|
|
58
|
+
const B = {
|
|
59
59
|
__name: "WidgetsContainer",
|
|
60
60
|
props: {
|
|
61
61
|
widgets: {
|
|
@@ -65,20 +65,20 @@ const L = {
|
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
setup(a) {
|
|
68
|
-
const t =
|
|
69
|
-
return
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
const t = g(a.widgets), l = i([]), o = i([]), h = i(""), r = i(0), { mainRect: d } = y();
|
|
69
|
+
return x(async () => {
|
|
70
|
+
await v(() => {
|
|
71
|
+
r.value = o.value.reduce((c, u) => c += u.clientHeight, 0), h.value = (l.value[0].parentElement?.scrollHeight ?? 0) - r.value - d.value.top + "px";
|
|
72
|
+
});
|
|
73
73
|
}), (c, u) => (n(!0), m(
|
|
74
|
-
|
|
74
|
+
k,
|
|
75
75
|
null,
|
|
76
|
-
|
|
76
|
+
E(H(t), (s, p) => (n(), m("details", {
|
|
77
77
|
is: "animated-details",
|
|
78
78
|
ref_for: !0,
|
|
79
79
|
ref_key: "detailsEls",
|
|
80
80
|
ref: l,
|
|
81
|
-
key:
|
|
81
|
+
key: p,
|
|
82
82
|
class: "overflow-auto",
|
|
83
83
|
exclusive: ""
|
|
84
84
|
}, [
|
|
@@ -89,20 +89,20 @@ const L = {
|
|
|
89
89
|
ref_key: "summaryEls",
|
|
90
90
|
ref: o
|
|
91
91
|
},
|
|
92
|
-
|
|
92
|
+
C(s.value.title),
|
|
93
93
|
513
|
|
94
94
|
/* TEXT, NEED_PATCH */
|
|
95
95
|
),
|
|
96
96
|
f(
|
|
97
97
|
"span",
|
|
98
98
|
{
|
|
99
|
-
style:
|
|
99
|
+
style: F({ height: h.value }),
|
|
100
100
|
class: "d-flex flex-column"
|
|
101
101
|
},
|
|
102
102
|
[
|
|
103
|
-
(n(),
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
(n(), _(
|
|
104
|
+
D(s.value.component),
|
|
105
|
+
w(A(s.value.props)),
|
|
106
106
|
null,
|
|
107
107
|
16
|
|
108
108
|
/* FULL_PROPS */
|
|
@@ -118,5 +118,5 @@ const L = {
|
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
export {
|
|
121
|
-
|
|
121
|
+
B as default
|
|
122
122
|
};
|