@eodash/eodash 5.0.0-alpha.2.19 → 5.0.0-alpha.2.21
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/App.vue +11 -1
- package/core/client/asWebComponent.js +9 -2
- package/core/client/utils/createLayers.js +1 -0
- package/core/client/views/Dashboard.vue +17 -46
- package/dist/client/DashboardLayout-DEZe5rZn.js +86 -0
- package/dist/client/DynamicWebComponent-Cp_3d3nd.js +88 -0
- package/dist/client/EodashDatePicker-BwQ9Bw9-.js +393 -0
- package/dist/client/EodashItemFilter-BtihrBap.js +194 -0
- package/dist/client/EodashLayerControl-BuZgXYop.js +111 -0
- package/dist/client/EodashMap-C9hvsdhf.js +472 -0
- package/dist/client/EodashMapBtns-BTG6oYL5.js +66 -0
- package/dist/client/ExportState-GDJ8YxS9.js +644 -0
- package/dist/client/Footer-Cul4HvW4.js +141 -0
- package/dist/client/Header-BikVMROv.js +437 -0
- package/dist/client/IframeWrapper-BgM9aU8f.js +28 -0
- package/dist/client/MobileLayout-ByPGOgnO.js +1210 -0
- package/dist/client/PopUp-AJqPEHmR.js +382 -0
- package/dist/client/VImg-CY7ndzv2.js +384 -0
- package/dist/client/VMain-BlIaUbM6.js +43 -0
- package/dist/client/VOverlay-CiMWDe2b.js +1453 -0
- package/dist/client/WidgetsContainer-DG9sQaF0.js +83 -0
- package/dist/client/asWebComponent-6g8pz2_C.js +11557 -0
- package/dist/client/eo-dash.js +2 -6
- package/dist/client/forwardRefs-DnXzPqIo.js +245 -0
- package/dist/client/index-14PHPf-A.js +199 -0
- package/dist/client/ssrBoot-BP7SYRyC.js +22 -0
- package/dist/client/style.css +2 -2
- package/dist/client/transition-CGVKXZbS.js +37 -0
- package/dist/node/cli.js +5 -5
- package/dist/node/types.d.ts +2 -0
- package/package.json +21 -19
- package/widgets/EodashDatePicker.vue +20 -9
- package/core/client/SuspensedDashboard.ce.vue +0 -105
- package/dist/client/DashboardLayout-CU4js3lr.js +0 -156
- package/dist/client/DynamicWebComponent-BsYZdIEB.js +0 -57
- package/dist/client/EodashDatePicker-DZoH_gRX.js +0 -276
- package/dist/client/EodashItemFilter-CHBfsFSm.js +0 -7666
- package/dist/client/EodashLayerControl-CuY-cAx8.js +0 -24665
- package/dist/client/EodashMap-Ch43fWNv.js +0 -88369
- package/dist/client/EodashMapBtns-CFA2uti4.js +0 -50
- package/dist/client/ExportState-C6raDjTt.js +0 -570
- package/dist/client/Footer-D8T5ROhF.js +0 -117
- package/dist/client/Header-B8B4Z5R9.js +0 -350
- package/dist/client/IframeWrapper-BK2JxzSJ.js +0 -19
- package/dist/client/MobileLayout-aZaYvF8V.js +0 -947
- package/dist/client/PopUp-DdHXoNOP.js +0 -300
- package/dist/client/VImg-yb8O1cb8.js +0 -293
- package/dist/client/VMain-Dknnyxts.js +0 -38
- package/dist/client/VOverlay-BCOn3hd6.js +0 -973
- package/dist/client/WidgetsContainer-BixUyr1e.js +0 -129
- package/dist/client/asWebComponent-CHqY8A1z.js +0 -24636
- package/dist/client/basedecoder-DHcBySSe-BmCFNFnw.js +0 -88
- package/dist/client/decoder-DJlmx386-DJlmx386.js +0 -8
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +0 -10
- package/dist/client/eox-stacinfo-l7ALSV90.js +0 -13969
- package/dist/client/forwardRefs-dcYA2XVU.js +0 -185
- package/dist/client/index-BVuSHaVu.js +0 -153
- package/dist/client/jpeg-BAgeD1d3-oeHbFPUL.js +0 -514
- package/dist/client/lerc-BPVtQnt3-08GHszVp.js +0 -1027
- package/dist/client/lzw-LAGDNbSC-DkP96qO9.js +0 -84
- package/dist/client/packbits-BlDR4Kj5-C66n1-zr.js +0 -24
- package/dist/client/pako.esm-CB1uQYY0-DB0PYm1P.js +0 -1081
- package/dist/client/raw-CMGvRjfu-BRi6E4i1.js +0 -9
- package/dist/client/ssrBoot-DU2S_nLc.js +0 -17
- package/dist/client/transition-C_fi1aa6.js +0 -34
- package/dist/client/webfontloader-Ofarvipf.js +0 -435
- package/dist/client/webimage-BM_pbLN3-L2cGWK5l.js +0 -19
|
@@ -1,129 +0,0 @@
|
|
|
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
|
-
class F extends HTMLDetailsElement {
|
|
3
|
-
// this is an adaptation of // https://css-tricks.com/how-to-animate-the-details-element-using-waapi/
|
|
4
|
-
// which turns the class into a custom element
|
|
5
|
-
// additionally, the "exclusive" attribute has been introduced
|
|
6
|
-
// for accordion-style exclusiv eopening/closing
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
}
|
|
10
|
-
connectedCallback() {
|
|
11
|
-
this.el = this, this.summary = this.querySelector("summary"), this.content = this.lastElementChild, this.animation = null, this.isClosing = !1, this.isExpanding = !1, this.summary.addEventListener("click", (e) => this.onClick(e));
|
|
12
|
-
}
|
|
13
|
-
onClick(e) {
|
|
14
|
-
e?.preventDefault(), this.el.style.overflow = "hidden", this.isClosing || !this.el.open ? this.doOpen() : (this.isExpanding || this.el.open) && this.shrink();
|
|
15
|
-
}
|
|
16
|
-
shrink() {
|
|
17
|
-
this.isClosing = !0;
|
|
18
|
-
const e = `${this.el.offsetHeight}px`, t = `${this.summary.offsetHeight}px`;
|
|
19
|
-
this.animation && this.animation.cancel(), this.animation = this.el.animate(
|
|
20
|
-
{
|
|
21
|
-
// Set the keyframes from the startHeight to endHeight
|
|
22
|
-
height: [e, t]
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
duration: 300,
|
|
26
|
-
easing: "ease-out"
|
|
27
|
-
}
|
|
28
|
-
), this.animation.onfinish = () => this.onAnimationFinish(!1), this.animation.oncancel = () => this.isClosing = !1;
|
|
29
|
-
}
|
|
30
|
-
doOpen() {
|
|
31
|
-
this.el.style.height = `${this.el.offsetHeight}px`, this.el.open = !0, window.requestAnimationFrame(() => this.expand()), this.parentElement.querySelectorAll(
|
|
32
|
-
"details[open][exclusive]"
|
|
33
|
-
).forEach((t) => {
|
|
34
|
-
t !== this && t.onClick();
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
expand() {
|
|
38
|
-
this.isExpanding = !0;
|
|
39
|
-
const e = `${this.el.offsetHeight}px`, t = `${this.summary.offsetHeight + this.content.offsetHeight}px`;
|
|
40
|
-
this.animation && this.animation.cancel(), this.animation = this.el.animate(
|
|
41
|
-
{
|
|
42
|
-
// Set the keyframes from the startHeight to endHeight
|
|
43
|
-
height: [e, t]
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
duration: 300,
|
|
47
|
-
easing: "ease-out"
|
|
48
|
-
}
|
|
49
|
-
), this.animation.onfinish = () => this.onAnimationFinish(!0), this.animation.oncancel = () => this.isExpanding = !1;
|
|
50
|
-
}
|
|
51
|
-
onAnimationFinish(e) {
|
|
52
|
-
this.el.open = e, this.animation = null, this.isClosing = !1, this.isExpanding = !1, this.el.style.height = this.el.style.overflow = "";
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
customElements.define("animated-details", F, {
|
|
56
|
-
extends: "details"
|
|
57
|
-
});
|
|
58
|
-
const L = {
|
|
59
|
-
__name: "WidgetsContainer",
|
|
60
|
-
props: {
|
|
61
|
-
widgets: {
|
|
62
|
-
/**
|
|
63
|
-
* @type {import("vue").PropType<
|
|
64
|
-
* Omit<import("@/types").Widget, "layout">[]
|
|
65
|
-
* >}
|
|
66
|
-
*/
|
|
67
|
-
type: Array,
|
|
68
|
-
required: !0
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
setup(a) {
|
|
72
|
-
const t = g(a.widgets), l = i([]), o = i([]), h = i(""), r = i(0), { mainRect: d } = y();
|
|
73
|
-
return x(async () => {
|
|
74
|
-
await v(() => {
|
|
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";
|
|
79
|
-
});
|
|
80
|
-
}), (c, u) => (n(!0), m(
|
|
81
|
-
k,
|
|
82
|
-
null,
|
|
83
|
-
E(H(t), (s, p) => (n(), m("details", {
|
|
84
|
-
is: "animated-details",
|
|
85
|
-
ref_for: !0,
|
|
86
|
-
ref_key: "detailsEls",
|
|
87
|
-
ref: l,
|
|
88
|
-
key: p,
|
|
89
|
-
class: "overflow-auto",
|
|
90
|
-
exclusive: ""
|
|
91
|
-
}, [
|
|
92
|
-
f(
|
|
93
|
-
"summary",
|
|
94
|
-
{
|
|
95
|
-
ref_for: !0,
|
|
96
|
-
ref_key: "summaryEls",
|
|
97
|
-
ref: o
|
|
98
|
-
},
|
|
99
|
-
C(s.value.title),
|
|
100
|
-
513
|
|
101
|
-
/* TEXT, NEED_PATCH */
|
|
102
|
-
),
|
|
103
|
-
f(
|
|
104
|
-
"span",
|
|
105
|
-
{
|
|
106
|
-
style: D({ height: h.value }),
|
|
107
|
-
class: "d-flex flex-column"
|
|
108
|
-
},
|
|
109
|
-
[
|
|
110
|
-
(n(), _(
|
|
111
|
-
A(s.value.component),
|
|
112
|
-
w({ ref_for: !0 }, s.value.props),
|
|
113
|
-
null,
|
|
114
|
-
16
|
|
115
|
-
/* FULL_PROPS */
|
|
116
|
-
))
|
|
117
|
-
],
|
|
118
|
-
4
|
|
119
|
-
/* STYLE */
|
|
120
|
-
)
|
|
121
|
-
]))),
|
|
122
|
-
128
|
|
123
|
-
/* KEYED_FRAGMENT */
|
|
124
|
-
));
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
export {
|
|
128
|
-
L as default
|
|
129
|
-
};
|