@eodash/eodash 5.0.0-alpha.2.1 → 5.0.0-alpha.2.4

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.
Files changed (94) hide show
  1. package/README.md +10 -1
  2. package/core/client/App.vue +27 -0
  3. package/core/client/SuspensedDashboard.ce.vue +91 -0
  4. package/core/client/components/DashboardLayout.vue +36 -0
  5. package/core/client/components/ErrorAlert.vue +19 -0
  6. package/core/{components → client/components}/Loading.vue +12 -1
  7. package/core/{components → client/components}/MobileLayout.vue +19 -11
  8. package/core/{composables → client/composables}/DefineWidgets.js +11 -5
  9. package/core/{composables → client/composables}/index.js +16 -13
  10. package/core/{eodash.js → client/eodash.js} +0 -2
  11. package/core/{plugins → client/plugins}/vuetify.js +9 -3
  12. package/core/{store → client/store}/stac.js +6 -2
  13. package/core/{types.d.ts → client/types.d.ts} +11 -25
  14. package/core/{views → client/views}/Dashboard.vue +35 -6
  15. package/dist/client/DashboardLayout-ZaSRMD1M.js +149 -0
  16. package/dist/{DynamicWebComponent-BrHVTesn.js → client/DynamicWebComponent-C4Hotc4H.js} +12 -12
  17. package/dist/client/EodashDatePicker-C4kKjxKy.js +1653 -0
  18. package/dist/{EodashItemFilter-BLAGx2UD.js → client/EodashItemFilter-cBHC0YEM.js} +2 -2
  19. package/dist/{EodashMap-Bxl_aqY2.js → client/EodashMap-CGrQjZ1P.js} +2490 -2496
  20. package/dist/client/Footer-pS636dEP.js +118 -0
  21. package/dist/{Header-DC50S6GR.js → client/Header-DQuaLdjl.js} +225 -229
  22. package/dist/{IframeWrapper-Dd9zrX9s.js → client/IframeWrapper-Cg3GMmfW.js} +1 -1
  23. package/dist/client/MobileLayout-BLXFBWI_.js +987 -0
  24. package/dist/client/VMain-BHYlmRic.js +39 -0
  25. package/dist/{WidgetsContainer-DxfCu0I3.js → client/WidgetsContainer-dje9QSk0.js} +18 -18
  26. package/dist/client/asWebComponent-Bvb3xkxI.js +13311 -0
  27. package/dist/{decoder-kAoyGIq9-BBR5CgzS.js → client/decoder-HRvnjnEI-BQ2rajuJ.js} +1 -1
  28. package/dist/client/eo-dash.js +6 -0
  29. package/dist/{eox-map-BJ9SIixs.js → client/eox-map-C3DL31fp.js} +1882 -1809
  30. package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
  31. package/dist/{index-DTkOfh2g.js → client/index-CaDDfJYE.js} +75 -43
  32. package/dist/client/index-DlNICb3T.js +34 -0
  33. package/dist/{lerc-C9VL9kri-cIdbW0sg.js → client/lerc-_E46UbWQ-Beu35ovS.js} +1 -1
  34. package/dist/{ssrBoot-D-b4-M19.js → client/ssrBoot-Dd7m-btU.js} +3 -3
  35. package/dist/client/style.css +5 -0
  36. package/dist/node/cli.js +20 -0
  37. package/dist/node/main.js +2 -0
  38. package/{bin → dist/node}/types.d.ts +3 -2
  39. package/package.json +22 -20
  40. package/widgets/EodashDatePicker.vue +1 -0
  41. package/widgets/EodashItemFilter.vue +1 -1
  42. package/widgets/WidgetsContainer.vue +7 -5
  43. package/bin/app.js +0 -22
  44. package/bin/cli.js +0 -62
  45. package/bin/main.js +0 -9
  46. package/bin/serverConfig.js +0 -165
  47. package/bin/utils.js +0 -103
  48. package/core/App.vue +0 -19
  49. package/core/SuspensedDashboard.ce.vue +0 -65
  50. package/core/components/DashboardLayout.vue +0 -44
  51. package/dist/DashboardLayout-Dp8AnYD9.js +0 -141
  52. package/dist/EodashDatePicker-D_udZ26j.js +0 -1645
  53. package/dist/Footer-AohCH8U7.js +0 -118
  54. package/dist/MobileLayout-CgToA7Gp.js +0 -523
  55. package/dist/VBtn-Bz7ruRUg.js +0 -1106
  56. package/dist/VMain-BHfWJU2j.js +0 -35
  57. package/dist/asWebComponent-C8rb3b1D.js +0 -11323
  58. package/dist/color-DpYEub1f.js +0 -115
  59. package/dist/dimensions-CJaGeSrj.js +0 -53
  60. package/dist/eo-dash.js +0 -6
  61. package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
  62. package/dist/index-Sa2Vg_gx.js +0 -65
  63. package/dist/style.css +0 -5
  64. /package/core/{asWebComponent.d.ts → client/asWebComponent.d.ts} +0 -0
  65. /package/core/{asWebComponent.js → client/asWebComponent.js} +0 -0
  66. /package/core/{components → client/components}/DynamicWebComponent.vue +0 -0
  67. /package/core/{components → client/components}/Footer.vue +0 -0
  68. /package/core/{components → client/components}/Header.vue +0 -0
  69. /package/core/{components → client/components}/IframeWrapper.vue +0 -0
  70. /package/core/{composables → client/composables}/DefineEodash.js +0 -0
  71. /package/core/{main.js → client/main.js} +0 -0
  72. /package/core/{plugins → client/plugins}/index.js +0 -0
  73. /package/core/{render.js → client/render.js} +0 -0
  74. /package/core/{store → client/store}/Actions.js +0 -0
  75. /package/core/{store → client/store}/States.js +0 -0
  76. /package/core/{store → client/store}/index.js +0 -0
  77. /package/core/{utils → client/utils}/eodashSTAC.js +0 -0
  78. /package/core/{utils → client/utils}/helpers.js +0 -0
  79. /package/core/{utils → client/utils}/index.js +0 -0
  80. /package/core/{utils → client/utils}/keys.js +0 -0
  81. /package/core/{vite-env.d.ts → client/vite-env.d.ts} +0 -0
  82. /package/dist/{.gitkeep → client/.gitkeep} +0 -0
  83. /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
  84. /package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-Qm25PwVp-CHo5Pomv.js} +0 -0
  85. /package/dist/{deflate-Be2Arps5-hDqMz3RA.js → client/deflate-Be2Arps5-hDqMz3RA.js} +0 -0
  86. /package/dist/{eox-itemfilter-DcQkRD2l.js → client/eox-itemfilter-DcQkRD2l.js} +0 -0
  87. /package/dist/{forwardRefs-Bxeu9Obx.js → client/forwardRefs-Bxeu9Obx.js} +0 -0
  88. /package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-DNfUpLwy-Fjan-04T.js} +0 -0
  89. /package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-BOMhmEDy-Dboc93VO.js} +0 -0
  90. /package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-DaUD6MLm-Bu1PoTGa.js} +0 -0
  91. /package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-C3kYPGGQ-BMki8cQY.js} +0 -0
  92. /package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CcGKjn8q-DFOt-i8n.js} +0 -0
  93. /package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-CyOFAuFB.js} +0 -0
  94. /package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-D2c098k3-DLj1LQxB.js} +0 -0
@@ -0,0 +1,118 @@
1
+ import { p as _, ai as k, e as x, aj as w, ap as b, ad as C, f as R, h as z, g as B, i as P, R as S, S as f, ak as M, al as V, ae as F, s as I, J as T, c as e, as as X, a as Z, b as j, C as L, r as N, x as D, W as H, H as E, _ as $, $ as A, a0 as J, a9 as t, aa as K, a2 as n, a8 as O } from "./asWebComponent-Bvb3xkxI.js";
2
+ const U = _({
3
+ app: Boolean,
4
+ color: String,
5
+ height: {
6
+ type: [Number, String],
7
+ default: "auto"
8
+ },
9
+ ...k(),
10
+ ...x(),
11
+ ...w(),
12
+ ...b(),
13
+ ...C(),
14
+ ...R({
15
+ tag: "footer"
16
+ }),
17
+ ...z()
18
+ }, "VFooter"), W = B()({
19
+ name: "VFooter",
20
+ props: U(),
21
+ setup(l, a) {
22
+ let {
23
+ slots: s
24
+ } = a;
25
+ const {
26
+ themeClasses: o
27
+ } = P(l), {
28
+ backgroundColorClasses: c,
29
+ backgroundColorStyles: r
30
+ } = S(f(l, "color")), {
31
+ borderClasses: i
32
+ } = M(l), {
33
+ elevationClasses: g
34
+ } = V(l), {
35
+ roundedClasses: m
36
+ } = F(l), d = I(32), {
37
+ resizeRef: p
38
+ } = T((u) => {
39
+ u.length && (d.value = u[0].target.clientHeight);
40
+ }), h = e(() => l.height === "auto" ? d.value : parseInt(l.height, 10)), {
41
+ layoutItemStyles: v,
42
+ layoutIsReady: y
43
+ } = X({
44
+ id: l.name,
45
+ order: e(() => parseInt(l.order, 10)),
46
+ position: e(() => "bottom"),
47
+ layoutSize: h,
48
+ elementSize: e(() => l.height === "auto" ? void 0 : h.value),
49
+ active: e(() => l.app),
50
+ absolute: f(l, "absolute")
51
+ });
52
+ return Z(() => j(l.tag, {
53
+ ref: p,
54
+ class: ["v-footer", o.value, c.value, i.value, g.value, m.value, l.class],
55
+ style: [r.value, l.app ? v.value : {
56
+ height: L(l.height)
57
+ }, l.style]
58
+ }, s)), l.app ? y : {};
59
+ }
60
+ }), q = {
61
+ class: "pt-0",
62
+ style: { "font-size": "0.8rem" }
63
+ }, G = /* @__PURE__ */ t(
64
+ "a",
65
+ {
66
+ href: "https://github.com/eodash/eodash",
67
+ class: "text-white",
68
+ target: "_blank"
69
+ },
70
+ "eodash",
71
+ -1
72
+ /* HOISTED */
73
+ ), Q = {
74
+ href: "https://eox.at",
75
+ target: "_blank",
76
+ class: "text-white"
77
+ }, Y = ["src"], l0 = '<svg width="100%" height="100%" viewBox="0 0 355 85" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><g id="ink_ext_XXXXXX"><path id="path5076" d="M152.986,40.52l-0.75,-0.019l-0.737,-0.056l-0.725,-0.093l-0.713,-0.127l-0.7,-0.162l-0.7,-0.196l-0.675,-0.228l-0.65,-0.261l-0.65,-0.292l-0.625,-0.319l-0.612,-0.352l-0.588,-0.377l-0.562,-0.407l-0.55,-0.431l-0.538,-0.457l-0.5,-0.481l-0.487,-0.505l-0.45,-0.528l-0.438,-0.55l-0.4,-0.57l-0.375,-0.59l-0.35,-0.609l-0.325,-0.627l-0.287,-0.645l-0.263,-0.66l-0.225,-0.676l-0.2,-0.69l-0.162,-0.704l-0.125,-0.717l-0.1,-0.728l-0.05,-0.739l-0.025,-0.748c0,-8.023 6.512,-14.532 14.537,-14.532c8.038,0 14.538,6.509 14.538,14.532c0,8.036 -6.5,14.544 -14.538,14.544Z" style="fill:none;"/><path id="path5078" d="M165.748,-0.002c-42.009,0 -76.06,18.985 -76.06,42.402c0,13.268 10.921,25.102 28.021,32.875c-8.081,-5.487 -13.403,-12.973 -14.584,-21.859c-2.685,-20.186 16.83,-40.82 45.148,-49.615c-14.687,6.665 -24.923,21.427 -24.923,38.599c0,23.218 18.648,42.046 41.773,42.383c-0.037,0.005 -0.087,0.015 -0.137,0.02c0.263,0 0.512,0.009 0.762,0.009c42.013,0 76.076,-18.984 76.076,-42.412c0,-13.261 -10.937,-25.097 -28.037,-32.871l0.75,0.522l0.736,0.531l0.713,0.543l0.7,0.555l0.687,0.566l0.664,0.578l0.649,0.588l0.625,0.6l0.613,0.609l0.588,0.621l0.574,0.631l0.562,0.643l0.538,0.652l0.513,0.662l0.5,0.672l0.475,0.684l0.449,0.693l0.438,0.703l0.425,0.713l0.387,0.723l0.375,0.73l0.352,0.74l0.336,0.75l0.3,0.76l0.287,0.77l0.264,0.777l0.25,0.787l0.211,0.795l0.188,0.805l0.175,0.812l0.151,0.82l0.125,0.831c2.675,20.19 -16.838,40.825 -45.151,49.619c14.688,-6.665 24.926,-21.426 24.926,-38.614c0,-23.202 -18.65,-42.026 -41.775,-42.367c0.05,-0.005 0.1,-0.015 0.15,-0.025c-0.262,0 -0.526,-0.01 -0.789,-0.01Zm-13.248,11.314c7.817,0 14.25,6.433 14.25,14.25c0,0.001 0,0.001 0,0.001c0,7.817 -6.433,14.249 -14.25,14.249c-7.817,0 -14.25,-6.432 -14.25,-14.249c0,-0.001 0,-0.001 0,-0.001c0,-7.817 6.433,-14.25 14.25,-14.25Z" style="fill:#fff;fill-rule:nonzero;"/><path id="path5080" d="M213.786,9.529l0.75,0.521l0.738,0.532l0.712,0.544l0.7,0.555l0.688,0.566l0.662,0.577l0.65,0.588l0.625,0.6l0.613,0.61l0.587,0.62l0.575,0.631l0.563,0.643l0.537,0.652l0.513,0.663l0.5,0.672l0.475,0.684l0.45,0.692l0.437,0.703l0.425,0.712l0.388,0.723l0.375,0.731l0.35,0.741l0.337,0.75l0.3,0.76l0.288,0.769l0.262,0.777l0.25,0.786l0.213,0.797l0.187,0.804l0.175,0.812l0.15,0.821l0.125,0.83c2.675,20.19 -16.837,40.825 -45.15,49.619c14.688,-6.665 24.925,-21.426 24.925,-38.614c0,-23.202 -18.65,-42.025 -41.775,-42.367c0.05,-0.005 0.1,-0.015 0.15,-0.025c-0.262,0 -0.525,-0.01 -0.787,-0.01c-42.01,0 -76.062,18.985 -76.062,42.402c0,13.268 10.922,25.103 28.022,32.876c-8.081,-5.487 -13.403,-12.973 -14.584,-21.859c-2.685,-20.187 16.831,-40.82 45.149,-49.615c-14.688,6.665 -24.925,21.426 -24.925,38.598c0,23.218 18.65,42.046 41.775,42.383c-0.038,0.005 -0.088,0.015 -0.138,0.02c0.263,0 0.513,0.01 0.763,0.01c42.012,-0.001 76.075,-18.985 76.075,-42.413c0,-13.261 -10.938,-25.097 -28.038,-32.871Z" style="fill:none;"/><path id="path5082" d="M354.323,82.586l-41.999,-42.002l38.524,-38.515l-29.913,0l-23.562,23.559l-23.563,-23.559l-29.924,0l38.525,38.515l-42,42.002l29.913,0l27.049,-27.046l27.05,27.046l29.9,0" style="fill:#fff;fill-rule:nonzero;"/><path id="path5084" d="M354.323,82.586l-41.999,-42.002l38.524,-38.515l-29.913,0l-23.562,23.559l-23.563,-23.559l-29.924,0l38.525,38.515l-42,42.002l29.913,0l27.049,-27.046l27.05,27.046l29.9,0Z" style="fill:none;"/><path id="path5086" d="M0,2.069l75.033,0l0,16.489l-51.629,0l0,14.931l40.258,0l0,16.495l-40.258,0l0,16.05l53.124,0l0,16.488l-76.528,0l0,-80.453" style="fill:#fff;fill-rule:nonzero;"/><path id="path5088" d="M0,2.069l75.033,0l0,16.489l-51.629,0l0,14.931l40.258,0l0,16.495l-40.258,0l0,16.05l53.124,0l0,16.488l-76.528,0l0,-80.453Z" style="fill:none;"/></g></svg>', t0 = {
78
+ __name: "Footer",
79
+ setup(l) {
80
+ const a = N(null), s = (
81
+ /** @type {import("@/types").Eodash} */
82
+ D(H)
83
+ ), { mdAndDown: o } = E(), c = window.btoa(l0);
84
+ return (r, i) => ($(), A(W, {
85
+ ref_key: "footer",
86
+ ref: a,
87
+ height: n(o) ? "48px" : "auto",
88
+ color: "secondary",
89
+ app: "",
90
+ class: "d-flex justify-space-between"
91
+ }, {
92
+ default: J(() => [
93
+ t(
94
+ "p",
95
+ q,
96
+ K(n(s).brand.footerText ?? ""),
97
+ 1
98
+ /* TEXT */
99
+ ),
100
+ t("div", null, [
101
+ G,
102
+ O(" by "),
103
+ t("a", Q, [
104
+ t("img", {
105
+ src: `data:image/svg+xml;base64,${n(c)}`,
106
+ height: "11px"
107
+ }, null, 8, Y)
108
+ ])
109
+ ])
110
+ ]),
111
+ _: 1
112
+ /* STABLE */
113
+ }, 8, ["height"]));
114
+ }
115
+ };
116
+ export {
117
+ t0 as default
118
+ };