@eodash/eodash 5.0.0-alpha.2.1 → 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/README.md +11 -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 +13 -5
- package/core/components/DashboardLayout.vue +14 -22
- 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 +9 -23
- package/core/views/Dashboard.vue +13 -2
- package/dist/DashboardLayout-lzEvtalW.js +148 -0
- package/dist/{DynamicWebComponent-BrHVTesn.js → DynamicWebComponent-CgDh2csQ.js} +12 -12
- package/dist/EodashDatePicker-bIyNUYaG.js +1653 -0
- package/dist/{EodashItemFilter-BLAGx2UD.js → EodashItemFilter-CpgyrJRX.js} +2 -2
- package/dist/{EodashMap-Bxl_aqY2.js → EodashMap-CyR-Ldpk.js} +4 -4
- package/dist/Footer-C2sIHSym.js +118 -0
- package/dist/{Header-DC50S6GR.js → Header-DFz2BUnp.js} +222 -226
- package/dist/{IframeWrapper-Dd9zrX9s.js → IframeWrapper-Csep3rMg.js} +1 -1
- package/dist/MobileLayout-CXNJL_q6.js +984 -0
- package/dist/VMain-COrg6UtF.js +39 -0
- package/dist/{WidgetsContainer-DxfCu0I3.js → WidgetsContainer-XA6_dKOm.js} +16 -16
- package/dist/asWebComponent-fqvymeM-.js +13092 -0
- package/dist/{decoder-kAoyGIq9-BBR5CgzS.js → decoder-kAoyGIq9-DjQanfeo.js} +1 -1
- package/dist/eo-dash.js +2 -2
- package/dist/{index-DTkOfh2g.js → index-Cskxla5D.js} +75 -43
- package/dist/index-Zv5eTiB6.js +34 -0
- package/dist/{lerc-C9VL9kri-cIdbW0sg.js → lerc-C9VL9kri-O4muG-MO.js} +1 -1
- package/dist/{ssrBoot-D-b4-M19.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-Dp8AnYD9.js +0 -141
- package/dist/EodashDatePicker-D_udZ26j.js +0 -1645
- package/dist/Footer-AohCH8U7.js +0 -118
- package/dist/MobileLayout-CgToA7Gp.js +0 -523
- package/dist/VBtn-Bz7ruRUg.js +0 -1106
- package/dist/VMain-BHfWJU2j.js +0 -35
- package/dist/asWebComponent-C8rb3b1D.js +0 -11323
- package/dist/color-DpYEub1f.js +0 -115
- package/dist/dimensions-CJaGeSrj.js +0 -53
- package/dist/index-Sa2Vg_gx.js +0 -65
package/dist/eo-dash.js
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { aR as c, d as S, p as m, aS as g, aT as p, g as h, aU as _ } from "./asWebComponent-fqvymeM-.js";
|
|
2
|
+
const L = m({
|
|
3
|
+
transition: {
|
|
4
|
+
type: [Boolean, String, Object],
|
|
5
|
+
default: "fade-transition",
|
|
6
|
+
validator: (s) => s !== !0
|
|
7
|
+
}
|
|
8
|
+
}, "transition"), B = (s, d) => {
|
|
9
|
+
let {
|
|
10
|
+
slots: i
|
|
11
|
+
} = d;
|
|
12
|
+
const {
|
|
13
|
+
transition: n,
|
|
14
|
+
disabled: r,
|
|
15
|
+
group: a,
|
|
16
|
+
...t
|
|
17
|
+
} = s, {
|
|
18
|
+
component: e = a ? g : p,
|
|
19
|
+
...l
|
|
20
|
+
} = typeof n == "object" ? n : {};
|
|
21
|
+
return c(e, S(typeof n == "string" ? {
|
|
22
|
+
name: r ? "" : n
|
|
23
|
+
} : l, typeof n == "string" ? {} : Object.fromEntries(Object.entries({
|
|
24
|
+
disabled: r,
|
|
25
|
+
group: a
|
|
26
|
+
}).filter((f) => {
|
|
27
|
+
let [u, y] = f;
|
|
28
|
+
return y !== void 0;
|
|
29
|
+
})), t), i);
|
|
30
|
+
}, w = m({
|
|
3
31
|
disabled: Boolean,
|
|
4
32
|
group: Boolean,
|
|
5
33
|
hideOnLeave: Boolean,
|
|
@@ -7,9 +35,9 @@ const w = S({
|
|
|
7
35
|
mode: String,
|
|
8
36
|
origin: String
|
|
9
37
|
}, "transition");
|
|
10
|
-
function s
|
|
11
|
-
return
|
|
12
|
-
name:
|
|
38
|
+
function o(s, d, i) {
|
|
39
|
+
return h()({
|
|
40
|
+
name: s,
|
|
13
41
|
props: w({
|
|
14
42
|
mode: i,
|
|
15
43
|
origin: d
|
|
@@ -27,8 +55,8 @@ function s(o, d, i) {
|
|
|
27
55
|
const {
|
|
28
56
|
offsetTop: l,
|
|
29
57
|
offsetLeft: f,
|
|
30
|
-
offsetWidth:
|
|
31
|
-
offsetHeight:
|
|
58
|
+
offsetWidth: u,
|
|
59
|
+
offsetHeight: y
|
|
32
60
|
} = e;
|
|
33
61
|
e._transitionInitialStyles = {
|
|
34
62
|
position: e.style.position,
|
|
@@ -36,7 +64,7 @@ function s(o, d, i) {
|
|
|
36
64
|
left: e.style.left,
|
|
37
65
|
width: e.style.width,
|
|
38
66
|
height: e.style.height
|
|
39
|
-
}, e.style.position = "absolute", e.style.top = `${l}px`, e.style.left = `${f}px`, e.style.width = `${
|
|
67
|
+
}, e.style.position = "absolute", e.style.top = `${l}px`, e.style.left = `${f}px`, e.style.width = `${u}px`, e.style.height = `${y}px`;
|
|
40
68
|
}
|
|
41
69
|
n.hideOnLeave && e.style.setProperty("display", "none", "important");
|
|
42
70
|
},
|
|
@@ -45,18 +73,18 @@ function s(o, d, i) {
|
|
|
45
73
|
const {
|
|
46
74
|
position: l,
|
|
47
75
|
top: f,
|
|
48
|
-
left:
|
|
49
|
-
width:
|
|
50
|
-
height:
|
|
76
|
+
left: u,
|
|
77
|
+
width: y,
|
|
78
|
+
height: x
|
|
51
79
|
} = e._transitionInitialStyles;
|
|
52
|
-
delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left =
|
|
80
|
+
delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left = u || "", e.style.width = y || "", e.style.height = x || "";
|
|
53
81
|
}
|
|
54
82
|
}
|
|
55
83
|
};
|
|
56
84
|
return () => {
|
|
57
|
-
const e = n.group ?
|
|
58
|
-
return
|
|
59
|
-
name: n.disabled ? "" :
|
|
85
|
+
const e = n.group ? g : p;
|
|
86
|
+
return c(e, {
|
|
87
|
+
name: n.disabled ? "" : s,
|
|
60
88
|
css: !n.disabled,
|
|
61
89
|
...n.group ? void 0 : {
|
|
62
90
|
mode: n.mode
|
|
@@ -67,23 +95,25 @@ function s(o, d, i) {
|
|
|
67
95
|
}
|
|
68
96
|
});
|
|
69
97
|
}
|
|
70
|
-
function
|
|
98
|
+
function v(s, d) {
|
|
71
99
|
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
|
|
72
|
-
return
|
|
73
|
-
name:
|
|
100
|
+
return h()({
|
|
101
|
+
name: s,
|
|
74
102
|
props: {
|
|
75
103
|
mode: {
|
|
76
104
|
type: String,
|
|
77
105
|
default: i
|
|
78
106
|
},
|
|
79
|
-
disabled: Boolean
|
|
107
|
+
disabled: Boolean,
|
|
108
|
+
group: Boolean
|
|
80
109
|
},
|
|
81
110
|
setup(n, r) {
|
|
82
111
|
let {
|
|
83
112
|
slots: a
|
|
84
113
|
} = r;
|
|
85
|
-
|
|
86
|
-
|
|
114
|
+
const t = n.group ? g : p;
|
|
115
|
+
return () => c(t, {
|
|
116
|
+
name: n.disabled ? "" : s,
|
|
87
117
|
css: !n.disabled,
|
|
88
118
|
// mode: props.mode, // TODO: vuejs/vue-next#3104
|
|
89
119
|
...n.disabled ? {} : d
|
|
@@ -91,9 +121,9 @@ function h(o, d) {
|
|
|
91
121
|
}
|
|
92
122
|
});
|
|
93
123
|
}
|
|
94
|
-
function
|
|
95
|
-
let
|
|
96
|
-
const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n =
|
|
124
|
+
function b() {
|
|
125
|
+
let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
126
|
+
const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n = _(`offset-${i}`);
|
|
97
127
|
return {
|
|
98
128
|
onBeforeEnter(t) {
|
|
99
129
|
t._parent = t.parentNode, t._initialStyle = {
|
|
@@ -106,7 +136,7 @@ function m() {
|
|
|
106
136
|
const e = t._initialStyle;
|
|
107
137
|
t.style.setProperty("transition", "none", "important"), t.style.overflow = "hidden";
|
|
108
138
|
const l = `${t[n]}px`;
|
|
109
|
-
t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition,
|
|
139
|
+
t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition, s && t._parent && t._parent.classList.add(s), requestAnimationFrame(() => {
|
|
110
140
|
t.style[i] = l;
|
|
111
141
|
});
|
|
112
142
|
},
|
|
@@ -123,30 +153,32 @@ function m() {
|
|
|
123
153
|
onLeaveCancelled: r
|
|
124
154
|
};
|
|
125
155
|
function r(t) {
|
|
126
|
-
|
|
156
|
+
s && t._parent && t._parent.classList.remove(s), a(t);
|
|
127
157
|
}
|
|
128
158
|
function a(t) {
|
|
129
159
|
const e = t._initialStyle[i];
|
|
130
160
|
t.style.overflow = t._initialStyle.overflow, e != null && (t.style[i] = e), delete t._initialStyle;
|
|
131
161
|
}
|
|
132
162
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
const
|
|
145
|
-
|
|
146
|
-
const A =
|
|
163
|
+
o("fab-transition", "center center", "out-in");
|
|
164
|
+
o("dialog-bottom-transition");
|
|
165
|
+
o("dialog-top-transition");
|
|
166
|
+
const E = o("fade-transition");
|
|
167
|
+
o("scale-transition");
|
|
168
|
+
o("scroll-x-transition");
|
|
169
|
+
o("scroll-x-reverse-transition");
|
|
170
|
+
o("scroll-y-transition");
|
|
171
|
+
o("scroll-y-reverse-transition");
|
|
172
|
+
o("slide-x-transition");
|
|
173
|
+
o("slide-x-reverse-transition");
|
|
174
|
+
const P = o("slide-y-transition");
|
|
175
|
+
o("slide-y-reverse-transition");
|
|
176
|
+
const A = v("expand-transition", b()), $ = v("expand-x-transition", b("", !0));
|
|
147
177
|
export {
|
|
148
|
-
|
|
178
|
+
B as M,
|
|
179
|
+
E as V,
|
|
149
180
|
A as a,
|
|
150
|
-
|
|
151
|
-
|
|
181
|
+
P as b,
|
|
182
|
+
$ as c,
|
|
183
|
+
L as m
|
|
152
184
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ag as b } from "./asWebComponent-fqvymeM-.js";
|
|
2
|
+
function d(e, t) {
|
|
3
|
+
if (!b)
|
|
4
|
+
return;
|
|
5
|
+
const n = t.modifiers || {}, r = t.value, {
|
|
6
|
+
handler: i,
|
|
7
|
+
options: v
|
|
8
|
+
} = typeof r == "object" ? r : {
|
|
9
|
+
handler: r,
|
|
10
|
+
options: {}
|
|
11
|
+
}, c = new IntersectionObserver(function() {
|
|
12
|
+
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], f = arguments.length > 1 ? arguments[1] : void 0;
|
|
13
|
+
const s = e._observe?.[t.instance.$.uid];
|
|
14
|
+
if (!s)
|
|
15
|
+
return;
|
|
16
|
+
const o = u.some((m) => m.isIntersecting);
|
|
17
|
+
i && (!n.quiet || s.init) && (!n.once || o || s.init) && i(o, u, f), o && n.once ? a(e, t) : s.init = !0;
|
|
18
|
+
}, v);
|
|
19
|
+
e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
|
|
20
|
+
init: !1,
|
|
21
|
+
observer: c
|
|
22
|
+
}, c.observe(e);
|
|
23
|
+
}
|
|
24
|
+
function a(e, t) {
|
|
25
|
+
const n = e._observe?.[t.instance.$.uid];
|
|
26
|
+
n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
|
|
27
|
+
}
|
|
28
|
+
const _ = {
|
|
29
|
+
mounted: d,
|
|
30
|
+
unmounted: a
|
|
31
|
+
}, g = _;
|
|
32
|
+
export {
|
|
33
|
+
g as i
|
|
34
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as tA } from "./pako.esm-C3kYPGGQ-BMki8cQY.js";
|
|
2
|
-
import { D as sA, G as gA, V as rA } from "./EodashMap-
|
|
2
|
+
import { D as sA, G as gA, V as rA } from "./EodashMap-CyR-Ldpk.js";
|
|
3
3
|
import { g as DA } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
|
|
4
4
|
var iA = { exports: {} };
|
|
5
5
|
(function(W) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s,
|
|
1
|
+
import { s as t, Z as s, c as e, at as n } from "./asWebComponent-fqvymeM-.js";
|
|
2
2
|
function i() {
|
|
3
|
-
const o =
|
|
4
|
-
return
|
|
3
|
+
const o = t(!1);
|
|
4
|
+
return s(() => {
|
|
5
5
|
window.requestAnimationFrame(() => {
|
|
6
6
|
o.value = !0;
|
|
7
7
|
});
|