@eodash/eodash 5.0.0-alpha.2.1 → 5.0.0-alpha.2.11
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 +36 -3
- package/core/client/App.vue +26 -0
- package/core/client/SuspensedDashboard.ce.vue +105 -0
- package/core/client/asWebComponent.d.ts +23 -0
- package/core/client/asWebComponent.js +12 -0
- package/core/client/components/DashboardLayout.vue +77 -0
- package/core/client/components/DynamicWebComponent.vue +68 -0
- package/core/client/components/ErrorAlert.vue +36 -0
- package/core/{components → client/components}/Footer.vue +34 -15
- package/core/client/components/Header.vue +19 -0
- package/core/client/components/IframeWrapper.vue +11 -0
- package/core/client/components/Loading.vue +37 -0
- package/core/client/components/MobileLayout.vue +109 -0
- package/core/client/composables/DefineEodash.js +67 -0
- package/core/client/composables/DefineWidgets.js +161 -0
- package/core/client/composables/index.js +155 -0
- package/core/client/eodash.js +129 -0
- package/core/client/main.js +2 -0
- package/core/client/plugins/index.js +20 -0
- package/core/client/plugins/vuetify.js +35 -0
- package/core/client/render.js +12 -0
- package/core/client/store/Actions.js +38 -0
- package/core/client/store/States.js +24 -0
- package/core/client/store/index.js +20 -0
- package/core/client/store/stac.js +81 -0
- package/core/client/types.d.ts +287 -0
- package/core/client/utils/createLayers.js +131 -0
- package/core/client/utils/eodashSTAC.js +259 -0
- package/core/client/utils/helpers.js +152 -0
- package/core/client/utils/index.js +51 -0
- package/core/{utils → client/utils}/keys.js +2 -2
- package/core/client/views/Dashboard.vue +116 -0
- package/core/client/vite-env.d.ts +39 -0
- package/dist/client/DashboardLayout-D5c2wAGC.js +156 -0
- package/dist/{DynamicWebComponent-BrHVTesn.js → client/DynamicWebComponent-CBuMCUIj.js} +11 -11
- package/dist/client/EodashDatePicker-D0qdMMTE.js +252 -0
- package/dist/client/EodashItemFilter-CTRnGRRS.js +10067 -0
- package/dist/client/EodashLayerControl-Bpm0BwcW.js +31499 -0
- package/dist/client/EodashMap-DaMtQefq.js +114367 -0
- package/dist/client/EodashMapBtns-B5z8h8mr.js +50 -0
- package/dist/client/ExportState-Bp3n6gba.js +558 -0
- package/dist/client/Footer-BROOTKhV.js +115 -0
- package/dist/client/Header-C_fKVTsg.js +350 -0
- package/dist/{IframeWrapper-Dd9zrX9s.js → client/IframeWrapper-32Q3DBYr.js} +4 -4
- package/dist/client/MobileLayout-TVGrYpNT.js +945 -0
- package/dist/client/PopUp-BJzmeeKG.js +300 -0
- package/dist/client/VImg-BT4Vb0UT.js +291 -0
- package/dist/client/VMain-BDVUXNEk.js +39 -0
- package/dist/client/VOverlay-Ck_4Lxcb.js +972 -0
- package/dist/{WidgetsContainer-DxfCu0I3.js → client/WidgetsContainer-DjjX_n1U.js} +25 -18
- package/dist/client/asWebComponent-wn9bbgx9.js +20404 -0
- package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
- package/dist/{decoder-kAoyGIq9-BBR5CgzS.js → client/decoder-Cth6J7EK-CLlwAswr.js} +1 -1
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
- package/dist/client/eo-dash.js +6 -0
- package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
- package/dist/client/forwardRefs--PLRH8zp.js +185 -0
- package/dist/client/helpers-CoqJPYdE.js +1391 -0
- package/dist/{index-DTkOfh2g.js → client/index-Dt0NRXIq.js} +21 -20
- package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
- package/dist/{lerc-C9VL9kri-cIdbW0sg.js → client/lerc-BgbQqdFI-CCpDWUne.js} +37 -39
- package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-LAGDNbSC-DkP96qO9.js} +1 -1
- package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
- package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
- package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CMGvRjfu-BRi6E4i1.js} +1 -1
- package/dist/{ssrBoot-D-b4-M19.js → client/ssrBoot-DjZDIkG_.js} +1 -1
- package/dist/client/style.css +5 -0
- package/dist/client/transition-C8OQt_kp.js +34 -0
- package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-qotgY98I.js} +56 -92
- package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
- package/dist/node/cli.js +20 -0
- package/dist/node/main.js +2 -0
- package/dist/node/types.d.ts +47 -0
- package/package.json +57 -51
- package/widgets/EodashDatePicker.vue +146 -40
- package/widgets/EodashItemFilter.vue +81 -41
- package/widgets/EodashLayerControl.vue +16 -0
- package/widgets/EodashMap.vue +186 -42
- package/widgets/EodashMapBtns.vue +50 -0
- package/widgets/ExportState.vue +112 -0
- package/widgets/PopUp.vue +40 -0
- package/widgets/WidgetsContainer.vue +47 -27
- package/bin/app.js +0 -22
- package/bin/cli.js +0 -62
- package/bin/main.js +0 -9
- package/bin/serverConfig.js +0 -165
- package/bin/types.d.ts +0 -52
- package/bin/utils.js +0 -103
- package/core/App.vue +0 -19
- package/core/SuspensedDashboard.ce.vue +0 -65
- package/core/asWebComponent.d.ts +0 -18
- package/core/asWebComponent.js +0 -12
- package/core/components/DashboardLayout.vue +0 -44
- package/core/components/DynamicWebComponent.vue +0 -68
- package/core/components/Header.vue +0 -14
- package/core/components/IframeWrapper.vue +0 -11
- package/core/components/Loading.vue +0 -27
- package/core/components/MobileLayout.vue +0 -49
- package/core/composables/DefineEodash.js +0 -57
- package/core/composables/DefineWidgets.js +0 -129
- package/core/composables/index.js +0 -219
- package/core/eodash.js +0 -100
- package/core/main.js +0 -2
- package/core/plugins/index.js +0 -18
- package/core/plugins/vuetify.js +0 -30
- package/core/render.js +0 -13
- package/core/store/Actions.js +0 -0
- package/core/store/States.js +0 -21
- package/core/store/index.js +0 -17
- package/core/store/stac.js +0 -63
- package/core/types.d.ts +0 -356
- package/core/utils/eodashSTAC.js +0 -164
- package/core/utils/helpers.js +0 -40
- package/core/utils/index.js +0 -28
- package/core/views/Dashboard.vue +0 -59
- package/core/vite-env.d.ts +0 -31
- package/dist/DashboardLayout-Dp8AnYD9.js +0 -141
- package/dist/EodashDatePicker-D_udZ26j.js +0 -1645
- package/dist/EodashItemFilter-BLAGx2UD.js +0 -51
- package/dist/EodashMap-Bxl_aqY2.js +0 -53405
- package/dist/Footer-AohCH8U7.js +0 -118
- package/dist/Header-DC50S6GR.js +0 -609
- 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/deflate-Be2Arps5-hDqMz3RA.js +0 -10
- package/dist/dimensions-CJaGeSrj.js +0 -53
- package/dist/eo-dash.js +0 -6
- package/dist/eox-itemfilter-DcQkRD2l.js +0 -7537
- package/dist/eox-map-BJ9SIixs.js +0 -36205
- package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
- package/dist/forwardRefs-Bxeu9Obx.js +0 -142
- package/dist/index-Sa2Vg_gx.js +0 -65
- package/dist/style.css +0 -5
- /package/dist/{.gitkeep → client/.gitkeep} +0 -0
- /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
package/dist/color-DpYEub1f.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { p as l, af as c, c as u, aB as r, as as g, aC as d, aD as v, aE as C, aF as b } from "./asWebComponent-C8rb3b1D.js";
|
|
2
|
-
const k = l({
|
|
3
|
-
border: [Boolean, Number, String]
|
|
4
|
-
}, "border");
|
|
5
|
-
function x(e) {
|
|
6
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : c();
|
|
7
|
-
return {
|
|
8
|
-
borderClasses: u(() => {
|
|
9
|
-
const t = r(e) ? e.value : e.border, o = [];
|
|
10
|
-
if (t === !0 || t === "")
|
|
11
|
-
o.push(`${s}--border`);
|
|
12
|
-
else if (typeof t == "string" || t === 0)
|
|
13
|
-
for (const a of String(t).split(" "))
|
|
14
|
-
o.push(`border-${a}`);
|
|
15
|
-
return o;
|
|
16
|
-
})
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
const y = l({
|
|
20
|
-
elevation: {
|
|
21
|
-
type: [Number, String],
|
|
22
|
-
validator(e) {
|
|
23
|
-
const s = parseInt(e);
|
|
24
|
-
return !isNaN(s) && s >= 0 && // Material Design has a maximum elevation of 24
|
|
25
|
-
// https://material.io/design/environment/elevation.html#default-elevations
|
|
26
|
-
s <= 24;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}, "elevation");
|
|
30
|
-
function h(e) {
|
|
31
|
-
return {
|
|
32
|
-
elevationClasses: u(() => {
|
|
33
|
-
const n = r(e) ? e.value : e.elevation, t = [];
|
|
34
|
-
return n == null || t.push(`elevation-${n}`), t;
|
|
35
|
-
})
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
const S = l({
|
|
39
|
-
rounded: {
|
|
40
|
-
type: [Boolean, Number, String],
|
|
41
|
-
default: void 0
|
|
42
|
-
},
|
|
43
|
-
tile: Boolean
|
|
44
|
-
}, "rounded");
|
|
45
|
-
function B(e) {
|
|
46
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : c();
|
|
47
|
-
return {
|
|
48
|
-
roundedClasses: u(() => {
|
|
49
|
-
const t = r(e) ? e.value : e.rounded, o = r(e) ? e.value : e.tile, a = [];
|
|
50
|
-
if (t === !0 || t === "")
|
|
51
|
-
a.push(`${s}--rounded`);
|
|
52
|
-
else if (typeof t == "string" || t === 0)
|
|
53
|
-
for (const f of String(t).split(" "))
|
|
54
|
-
a.push(`rounded-${f}`);
|
|
55
|
-
else
|
|
56
|
-
o && a.push("rounded-0");
|
|
57
|
-
return a;
|
|
58
|
-
})
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function i(e) {
|
|
62
|
-
return g(() => {
|
|
63
|
-
const s = [], n = {};
|
|
64
|
-
if (e.value.background)
|
|
65
|
-
if (d(e.value.background)) {
|
|
66
|
-
if (n.backgroundColor = e.value.background, !e.value.text && v(e.value.background)) {
|
|
67
|
-
const t = C(e.value.background);
|
|
68
|
-
if (t.a == null || t.a === 1) {
|
|
69
|
-
const o = b(t);
|
|
70
|
-
n.color = o, n.caretColor = o;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
} else
|
|
74
|
-
s.push(`bg-${e.value.background}`);
|
|
75
|
-
return e.value.text && (d(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : s.push(`text-${e.value.text}`)), {
|
|
76
|
-
colorClasses: s,
|
|
77
|
-
colorStyles: n
|
|
78
|
-
};
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
function $(e, s) {
|
|
82
|
-
const n = u(() => ({
|
|
83
|
-
text: r(e) ? e.value : s ? e[s] : null
|
|
84
|
-
})), {
|
|
85
|
-
colorClasses: t,
|
|
86
|
-
colorStyles: o
|
|
87
|
-
} = i(n);
|
|
88
|
-
return {
|
|
89
|
-
textColorClasses: t,
|
|
90
|
-
textColorStyles: o
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
function N(e, s) {
|
|
94
|
-
const n = u(() => ({
|
|
95
|
-
background: r(e) ? e.value : s ? e[s] : null
|
|
96
|
-
})), {
|
|
97
|
-
colorClasses: t,
|
|
98
|
-
colorStyles: o
|
|
99
|
-
} = i(n);
|
|
100
|
-
return {
|
|
101
|
-
backgroundColorClasses: t,
|
|
102
|
-
backgroundColorStyles: o
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
export {
|
|
106
|
-
N as a,
|
|
107
|
-
B as b,
|
|
108
|
-
k as c,
|
|
109
|
-
y as d,
|
|
110
|
-
x as e,
|
|
111
|
-
h as f,
|
|
112
|
-
i as g,
|
|
113
|
-
S as m,
|
|
114
|
-
$ as u
|
|
115
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { g as u, aA as h, q as g, p as n, c as l, v as t } from "./asWebComponent-C8rb3b1D.js";
|
|
2
|
-
const c = n({
|
|
3
|
-
defaults: Object,
|
|
4
|
-
disabled: Boolean,
|
|
5
|
-
reset: [Number, String],
|
|
6
|
-
root: [Boolean, String],
|
|
7
|
-
scoped: Boolean
|
|
8
|
-
}, "VDefaultsProvider"), b = u(!1)({
|
|
9
|
-
name: "VDefaultsProvider",
|
|
10
|
-
props: c(),
|
|
11
|
-
setup(e, i) {
|
|
12
|
-
let {
|
|
13
|
-
slots: s
|
|
14
|
-
} = i;
|
|
15
|
-
const {
|
|
16
|
-
defaults: o,
|
|
17
|
-
disabled: r,
|
|
18
|
-
reset: a,
|
|
19
|
-
root: m,
|
|
20
|
-
scoped: d
|
|
21
|
-
} = h(e);
|
|
22
|
-
return g(o, {
|
|
23
|
-
reset: a,
|
|
24
|
-
root: m,
|
|
25
|
-
scoped: d,
|
|
26
|
-
disabled: r
|
|
27
|
-
}), () => s.default?.();
|
|
28
|
-
}
|
|
29
|
-
}), S = n({
|
|
30
|
-
height: [Number, String],
|
|
31
|
-
maxHeight: [Number, String],
|
|
32
|
-
maxWidth: [Number, String],
|
|
33
|
-
minHeight: [Number, String],
|
|
34
|
-
minWidth: [Number, String],
|
|
35
|
-
width: [Number, String]
|
|
36
|
-
}, "dimension");
|
|
37
|
-
function v(e) {
|
|
38
|
-
return {
|
|
39
|
-
dimensionStyles: l(() => ({
|
|
40
|
-
height: t(e.height),
|
|
41
|
-
maxHeight: t(e.maxHeight),
|
|
42
|
-
maxWidth: t(e.maxWidth),
|
|
43
|
-
minHeight: t(e.minHeight),
|
|
44
|
-
minWidth: t(e.minWidth),
|
|
45
|
-
width: t(e.width)
|
|
46
|
-
}))
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
b as V,
|
|
51
|
-
S as m,
|
|
52
|
-
v as u
|
|
53
|
-
};
|