@eodash/eodash 5.0.0-alpha.2 → 5.0.0-alpha.2.10

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 (137) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +36 -3
  3. package/core/client/App.vue +26 -0
  4. package/core/client/SuspensedDashboard.ce.vue +105 -0
  5. package/core/client/asWebComponent.d.ts +23 -0
  6. package/core/client/asWebComponent.js +12 -0
  7. package/core/client/components/DashboardLayout.vue +77 -0
  8. package/core/client/components/DynamicWebComponent.vue +68 -0
  9. package/core/client/components/ErrorAlert.vue +36 -0
  10. package/core/{components → client/components}/Footer.vue +34 -15
  11. package/core/client/components/Header.vue +19 -0
  12. package/core/client/components/IframeWrapper.vue +11 -0
  13. package/core/client/components/Loading.vue +37 -0
  14. package/core/client/components/MobileLayout.vue +109 -0
  15. package/core/client/composables/DefineEodash.js +67 -0
  16. package/core/client/composables/DefineWidgets.js +161 -0
  17. package/core/client/composables/index.js +136 -0
  18. package/core/client/eodash.js +136 -0
  19. package/core/client/main.js +2 -0
  20. package/core/client/plugins/index.js +20 -0
  21. package/core/client/plugins/vuetify.js +35 -0
  22. package/core/client/render.js +12 -0
  23. package/core/client/store/Actions.js +62 -0
  24. package/core/client/store/States.js +21 -0
  25. package/core/client/store/index.js +20 -0
  26. package/core/client/store/stac.js +81 -0
  27. package/core/client/types.d.ts +287 -0
  28. package/core/client/utils/eodashSTAC.js +337 -0
  29. package/core/client/utils/helpers.js +172 -0
  30. package/core/client/utils/index.js +51 -0
  31. package/core/{utils → client/utils}/keys.js +2 -2
  32. package/core/client/views/Dashboard.vue +116 -0
  33. package/core/client/vite-env.d.ts +39 -0
  34. package/dist/client/DashboardLayout-C_3q8Y10.js +156 -0
  35. package/dist/{DynamicWebComponent-BDOQsEcj.js → client/DynamicWebComponent-IiTTLBt-.js} +11 -11
  36. package/dist/client/EodashDatePicker-DgC1lccp.js +252 -0
  37. package/dist/{eox-itemfilter-DcQkRD2l.js → client/EodashItemFilter-DoWZGe6r.js} +1515 -1381
  38. package/dist/client/EodashMap-C96D3LLv.js +114352 -0
  39. package/dist/client/EodashMapBtns-DDtzV94u.js +50 -0
  40. package/dist/client/ExportState-CduS2mFs.js +558 -0
  41. package/dist/client/Footer-DHQcutCv.js +115 -0
  42. package/dist/client/Header-DC0y7rLK.js +350 -0
  43. package/dist/{IframeWrapper-DYHQQRUh.js → client/IframeWrapper-BK-10FbS.js} +4 -4
  44. package/dist/client/MobileLayout-BpLoMY4i.js +945 -0
  45. package/dist/client/PopUp-CNMCWL0z.js +300 -0
  46. package/dist/client/VImg-DT7eb8V-.js +291 -0
  47. package/dist/client/VMain-OenWyy46.js +39 -0
  48. package/dist/client/VOverlay-x3UXpKhr.js +972 -0
  49. package/dist/{WidgetsContainer-D_PLP1qf.js → client/WidgetsContainer-qMUwtN0W.js} +26 -19
  50. package/dist/client/asWebComponent-DQrnLsI2.js +20404 -0
  51. package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
  52. package/dist/{decoder-kAoyGIq9-HAkjSTCt.js → client/decoder-Cth6J7EK-CtUoHA6r.js} +1 -1
  53. package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
  54. package/dist/client/eo-dash.js +6 -0
  55. package/dist/client/eox-jsonform-DCErgjhw.js +17515 -0
  56. package/dist/client/eox-layercontrol-D0Ht7Mag.js +21298 -0
  57. package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
  58. package/dist/client/forwardRefs-CpNjL95t.js +185 -0
  59. package/dist/client/helpers-KCSgmfim.js +1417 -0
  60. package/dist/{index-8ch8xKfa.js → client/index-DopVrUzM.js} +21 -20
  61. package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
  62. package/dist/{lerc-C9VL9kri-DyVxBvsf.js → client/lerc-BgbQqdFI-D986ErVw.js} +37 -39
  63. package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-LAGDNbSC-DkP96qO9.js} +1 -1
  64. package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
  65. package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
  66. package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CMGvRjfu-BRi6E4i1.js} +1 -1
  67. package/dist/{ssrBoot-Cm5pWM14.js → client/ssrBoot-DkjdOWvj.js} +1 -1
  68. package/dist/client/style.css +5 -0
  69. package/dist/client/transition-BtJHh7JK.js +34 -0
  70. package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-qotgY98I.js} +56 -92
  71. package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
  72. package/dist/node/cli.js +20 -0
  73. package/dist/node/main.js +2 -0
  74. package/dist/node/types.d.ts +47 -0
  75. package/package.json +54 -51
  76. package/widgets/EodashDatePicker.vue +145 -40
  77. package/widgets/EodashItemFilter.vue +73 -38
  78. package/widgets/EodashMap.vue +210 -37
  79. package/widgets/EodashMapBtns.vue +50 -0
  80. package/widgets/ExportState.vue +112 -0
  81. package/widgets/PopUp.vue +40 -0
  82. package/widgets/WidgetsContainer.vue +47 -27
  83. package/bin/app.js +0 -22
  84. package/bin/cli.js +0 -62
  85. package/bin/main.js +0 -9
  86. package/bin/serverConfig.js +0 -165
  87. package/bin/types.d.ts +0 -52
  88. package/bin/utils.js +0 -103
  89. package/core/App.vue +0 -19
  90. package/core/SuspensedDashboard.ce.vue +0 -59
  91. package/core/asWebComponent.d.ts +0 -18
  92. package/core/asWebComponent.js +0 -12
  93. package/core/components/DashboardLayout.vue +0 -54
  94. package/core/components/DynamicWebComponent.vue +0 -68
  95. package/core/components/Header.vue +0 -14
  96. package/core/components/IframeWrapper.vue +0 -11
  97. package/core/components/Loading.vue +0 -27
  98. package/core/components/MobileLayout.vue +0 -49
  99. package/core/composables/DefineEodash.js +0 -57
  100. package/core/composables/DefineWidgets.js +0 -129
  101. package/core/composables/index.js +0 -219
  102. package/core/eodash.js +0 -100
  103. package/core/main.js +0 -2
  104. package/core/plugins/index.js +0 -18
  105. package/core/plugins/vuetify.js +0 -30
  106. package/core/render.js +0 -13
  107. package/core/store/Actions.js +0 -0
  108. package/core/store/States.js +0 -21
  109. package/core/store/index.js +0 -17
  110. package/core/store/stac.js +0 -63
  111. package/core/types.d.ts +0 -355
  112. package/core/utils/eodashSTAC.js +0 -164
  113. package/core/utils/helpers.js +0 -40
  114. package/core/utils/index.js +0 -28
  115. package/core/views/Dashboard.vue +0 -59
  116. package/core/vite-env.d.ts +0 -31
  117. package/dist/DashboardLayout-YLfAa8wH.js +0 -168
  118. package/dist/EodashDatePicker-DlehqSgz.js +0 -1645
  119. package/dist/EodashItemFilter-TSp7XRGy.js +0 -51
  120. package/dist/EodashMap-DInb9cfS.js +0 -53405
  121. package/dist/Footer-CIzHgJbK.js +0 -118
  122. package/dist/Header-C5PSB8Uc.js +0 -609
  123. package/dist/MobileLayout-DZmqrpub.js +0 -523
  124. package/dist/VBtn-CFPhsIX8.js +0 -1106
  125. package/dist/VMain-deI9jyIf.js +0 -35
  126. package/dist/asWebComponent-BKe6Spni.js +0 -11323
  127. package/dist/color-D72nEBIR.js +0 -115
  128. package/dist/deflate-Be2Arps5-hDqMz3RA.js +0 -10
  129. package/dist/dimensions-BZkmIizV.js +0 -53
  130. package/dist/eo-dash.js +0 -6
  131. package/dist/eox-map-BJ9SIixs.js +0 -36205
  132. package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
  133. package/dist/forwardRefs-Bxeu9Obx.js +0 -142
  134. package/dist/index-DIt8GjSR.js +0 -65
  135. package/dist/style.css +0 -5
  136. /package/dist/{.gitkeep → client/.gitkeep} +0 -0
  137. /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
@@ -0,0 +1,115 @@
1
+ import { p as y, ae as x, e as w, af as k, ao as b, ag as C, f as I, h as S, g as R, i as B, Q as P, R as f, ah as z, ai as F, aj as M, s as V, J as T, c as e, ar as X, a as Z, b as j, C as L, _ as N, r as D, x as H, W as E, H as $, $ as A, a0 as J, a1 as K, a9 as t, aa as O, a3 as n, a8 as Q, at as U, au as W } from "./asWebComponent-DQrnLsI2.js";
2
+ const q = y({
3
+ app: Boolean,
4
+ color: String,
5
+ height: {
6
+ type: [Number, String],
7
+ default: "auto"
8
+ },
9
+ ...x(),
10
+ ...w(),
11
+ ...k(),
12
+ ...b(),
13
+ ...C(),
14
+ ...I({
15
+ tag: "footer"
16
+ }),
17
+ ...S()
18
+ }, "VFooter"), G = R()({
19
+ name: "VFooter",
20
+ props: q(),
21
+ setup(l, a) {
22
+ let {
23
+ slots: o
24
+ } = a;
25
+ const {
26
+ themeClasses: s
27
+ } = B(l), {
28
+ backgroundColorClasses: c,
29
+ backgroundColorStyles: r
30
+ } = P(f(l, "color")), {
31
+ borderClasses: i
32
+ } = z(l), {
33
+ elevationClasses: g
34
+ } = F(l), {
35
+ roundedClasses: p
36
+ } = M(l), d = V(32), {
37
+ resizeRef: m
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: _
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: m,
54
+ class: ["v-footer", s.value, c.value, i.value, g.value, p.value, l.class],
55
+ style: [r.value, l.app ? v.value : {
56
+ height: L(l.height)
57
+ }, l.style]
58
+ }, o)), l.app ? _ : {};
59
+ }
60
+ }), Y = (l) => (U("data-v-7ea19f1b"), l = l(), W(), l), l0 = { class: "pt-0 footer-text" }, e0 = /* @__PURE__ */ Y(() => /* @__PURE__ */ t(
61
+ "a",
62
+ {
63
+ href: "https://github.com/eodash/eodash",
64
+ class: "text-white",
65
+ target: "_blank"
66
+ },
67
+ "eodash",
68
+ -1
69
+ /* HOISTED */
70
+ )), t0 = {
71
+ href: "https://eox.at",
72
+ target: "_blank",
73
+ class: "text-white"
74
+ }, a0 = ["src"], o0 = '<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>', s0 = {
75
+ __name: "Footer",
76
+ setup(l) {
77
+ const a = D(null), o = (
78
+ /** @type {import("@/types").Eodash} */
79
+ H(E)
80
+ ), { mdAndDown: s } = $(), c = window.btoa(o0);
81
+ return (r, i) => (A(), J(G, {
82
+ ref_key: "footer",
83
+ ref: a,
84
+ height: n(s) ? "48px" : "auto",
85
+ color: "secondary",
86
+ app: "",
87
+ class: "d-flex justify-space-between"
88
+ }, {
89
+ default: K(() => [
90
+ t(
91
+ "p",
92
+ l0,
93
+ O(n(o).brand.footerText ?? ""),
94
+ 1
95
+ /* TEXT */
96
+ ),
97
+ t("div", null, [
98
+ e0,
99
+ Q(" by "),
100
+ t("a", t0, [
101
+ t("img", {
102
+ src: `data:image/svg+xml;base64,${n(c)}`,
103
+ height: "11px"
104
+ }, null, 8, a0)
105
+ ])
106
+ ])
107
+ ]),
108
+ _: 1
109
+ /* STABLE */
110
+ }, 8, ["height"]));
111
+ }
112
+ }, n0 = /* @__PURE__ */ N(s0, [["__scopeId", "data-v-7ea19f1b"]]);
113
+ export {
114
+ n0 as default
115
+ };
@@ -0,0 +1,350 @@
1
+ import { p as V, e as I, f as N, g as _, a as p, b as o, ae as $, af as q, ag as z, h as F, Q as K, R as k, ah as O, ai as Q, aj as Y, i as Z, j as G, s as y, c as n, S as J, ak as B, C as x, r as R, al as X, w as T, Z as ee, am as te, an as ae, ao as le, y as oe, ap as se, aq as ne, ar as re, d as E, _ as ue, x as ie, W as ce, $ as de, a0 as ve, a1 as P, a8 as me, aa as ge, a3 as w } from "./asWebComponent-DQrnLsI2.js";
2
+ import { V as A } from "./VImg-DT7eb8V-.js";
3
+ import { a as fe } from "./index-DopVrUzM.js";
4
+ import { u as he } from "./ssrBoot-DkjdOWvj.js";
5
+ const L = V({
6
+ text: String,
7
+ ...I(),
8
+ ...N()
9
+ }, "VToolbarTitle"), U = _()({
10
+ name: "VToolbarTitle",
11
+ props: L(),
12
+ setup(e, r) {
13
+ let {
14
+ slots: t
15
+ } = r;
16
+ return p(() => {
17
+ const d = !!(t.default || t.text || e.text);
18
+ return o(e.tag, {
19
+ class: ["v-toolbar-title", e.class],
20
+ style: e.style
21
+ }, {
22
+ default: () => [d && o("div", {
23
+ class: "v-toolbar-title__placeholder"
24
+ }, [t.text ? t.text() : e.text, t.default?.()])]
25
+ });
26
+ }), {};
27
+ }
28
+ }), be = [null, "prominent", "default", "comfortable", "compact"], D = V({
29
+ absolute: Boolean,
30
+ collapse: Boolean,
31
+ color: String,
32
+ density: {
33
+ type: String,
34
+ default: "default",
35
+ validator: (e) => be.includes(e)
36
+ },
37
+ extended: Boolean,
38
+ extensionHeight: {
39
+ type: [Number, String],
40
+ default: 48
41
+ },
42
+ flat: Boolean,
43
+ floating: Boolean,
44
+ height: {
45
+ type: [Number, String],
46
+ default: 64
47
+ },
48
+ image: String,
49
+ title: String,
50
+ ...$(),
51
+ ...I(),
52
+ ...q(),
53
+ ...z(),
54
+ ...N({
55
+ tag: "header"
56
+ }),
57
+ ...F()
58
+ }, "VToolbar"), C = _()({
59
+ name: "VToolbar",
60
+ props: D(),
61
+ setup(e, r) {
62
+ let {
63
+ slots: t
64
+ } = r;
65
+ const {
66
+ backgroundColorClasses: d,
67
+ backgroundColorStyles: u
68
+ } = K(k(e, "color")), {
69
+ borderClasses: a
70
+ } = O(e), {
71
+ elevationClasses: v
72
+ } = Q(e), {
73
+ roundedClasses: i
74
+ } = Y(e), {
75
+ themeClasses: f
76
+ } = Z(e), {
77
+ rtlClasses: S
78
+ } = G(), c = y(!!(e.extended || t.extension?.())), m = n(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), b = n(() => c.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
79
+ return J({
80
+ VBtn: {
81
+ variant: "text"
82
+ }
83
+ }), p(() => {
84
+ const h = !!(e.title || t.title), s = !!(t.image || e.image), g = t.extension?.();
85
+ return c.value = !!(e.extended || g), o(e.tag, {
86
+ class: ["v-toolbar", {
87
+ "v-toolbar--absolute": e.absolute,
88
+ "v-toolbar--collapse": e.collapse,
89
+ "v-toolbar--flat": e.flat,
90
+ "v-toolbar--floating": e.floating,
91
+ [`v-toolbar--density-${e.density}`]: !0
92
+ }, d.value, a.value, v.value, i.value, f.value, S.value, e.class],
93
+ style: [u.value, e.style]
94
+ }, {
95
+ default: () => [s && o("div", {
96
+ key: "image",
97
+ class: "v-toolbar__image"
98
+ }, [t.image ? o(B, {
99
+ key: "image-defaults",
100
+ disabled: !e.image,
101
+ defaults: {
102
+ VImg: {
103
+ cover: !0,
104
+ src: e.image
105
+ }
106
+ }
107
+ }, t.image) : o(A, {
108
+ key: "image-img",
109
+ cover: !0,
110
+ src: e.image
111
+ }, null)]), o(B, {
112
+ defaults: {
113
+ VTabs: {
114
+ height: x(m.value)
115
+ }
116
+ }
117
+ }, {
118
+ default: () => [o("div", {
119
+ class: "v-toolbar__content",
120
+ style: {
121
+ height: x(m.value)
122
+ }
123
+ }, [t.prepend && o("div", {
124
+ class: "v-toolbar__prepend"
125
+ }, [t.prepend?.()]), h && o(U, {
126
+ key: "title",
127
+ text: e.title
128
+ }, {
129
+ text: t.title
130
+ }), t.default?.(), t.append && o("div", {
131
+ class: "v-toolbar__append"
132
+ }, [t.append?.()])])]
133
+ }), o(B, {
134
+ defaults: {
135
+ VTabs: {
136
+ height: x(b.value)
137
+ }
138
+ }
139
+ }, {
140
+ default: () => [o(fe, null, {
141
+ default: () => [c.value && o("div", {
142
+ class: "v-toolbar__extension",
143
+ style: {
144
+ height: x(b.value)
145
+ }
146
+ }, [g])]
147
+ })]
148
+ })]
149
+ });
150
+ }), {
151
+ contentHeight: m,
152
+ extensionHeight: b
153
+ };
154
+ }
155
+ }), ye = V({
156
+ scrollTarget: {
157
+ type: String
158
+ },
159
+ scrollThreshold: {
160
+ type: [String, Number],
161
+ default: 300
162
+ }
163
+ }, "scroll");
164
+ function Se(e) {
165
+ let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
166
+ const {
167
+ canScroll: t
168
+ } = r;
169
+ let d = 0, u = 0;
170
+ const a = R(null), v = y(0), i = y(0), f = y(0), S = y(!1), c = y(!1), m = n(() => Number(e.scrollThreshold)), b = n(() => X((m.value - v.value) / m.value || 0)), h = () => {
171
+ const s = a.value;
172
+ if (!s || t && !t.value) return;
173
+ d = v.value, v.value = "window" in s ? s.pageYOffset : s.scrollTop;
174
+ const g = s instanceof Window ? document.documentElement.scrollHeight : s.scrollHeight;
175
+ if (u !== g) {
176
+ u = g;
177
+ return;
178
+ }
179
+ c.value = v.value < d, f.value = Math.abs(v.value - m.value);
180
+ };
181
+ return T(c, () => {
182
+ i.value = i.value || v.value;
183
+ }), T(S, () => {
184
+ i.value = 0;
185
+ }), ee(() => {
186
+ T(() => e.scrollTarget, (s) => {
187
+ const g = s ? document.querySelector(s) : window;
188
+ if (!g) {
189
+ te(`Unable to locate element with identifier ${s}`);
190
+ return;
191
+ }
192
+ g !== a.value && (a.value?.removeEventListener("scroll", h), a.value = g, a.value.addEventListener("scroll", h, {
193
+ passive: !0
194
+ }));
195
+ }, {
196
+ immediate: !0
197
+ });
198
+ }), ae(() => {
199
+ a.value?.removeEventListener("scroll", h);
200
+ }), t && T(t, h, {
201
+ immediate: !0
202
+ }), {
203
+ scrollThreshold: m,
204
+ currentScroll: v,
205
+ currentThreshold: f,
206
+ isScrollActive: S,
207
+ scrollRatio: b,
208
+ // required only for testing
209
+ // probably can be removed
210
+ // later (2 chars chlng)
211
+ isScrollingUp: c,
212
+ savedScroll: i
213
+ };
214
+ }
215
+ const xe = V({
216
+ scrollBehavior: String,
217
+ modelValue: {
218
+ type: Boolean,
219
+ default: !0
220
+ },
221
+ location: {
222
+ type: String,
223
+ default: "top",
224
+ validator: (e) => ["top", "bottom"].includes(e)
225
+ },
226
+ ...D(),
227
+ ...le(),
228
+ ...ye(),
229
+ height: {
230
+ type: [Number, String],
231
+ default: 64
232
+ }
233
+ }, "VAppBar"), Te = _()({
234
+ name: "VAppBar",
235
+ props: xe(),
236
+ emits: {
237
+ "update:modelValue": (e) => !0
238
+ },
239
+ setup(e, r) {
240
+ let {
241
+ slots: t
242
+ } = r;
243
+ const d = R(), u = oe(e, "modelValue"), a = n(() => {
244
+ const l = new Set(e.scrollBehavior?.split(" ") ?? []);
245
+ return {
246
+ hide: l.has("hide"),
247
+ fullyHide: l.has("fully-hide"),
248
+ inverted: l.has("inverted"),
249
+ collapse: l.has("collapse"),
250
+ elevate: l.has("elevate"),
251
+ fadeImage: l.has("fade-image")
252
+ // shrink: behavior.has('shrink'),
253
+ };
254
+ }), v = n(() => {
255
+ const l = a.value;
256
+ return l.hide || l.fullyHide || l.inverted || l.collapse || l.elevate || l.fadeImage || // behavior.shrink ||
257
+ !u.value;
258
+ }), {
259
+ currentScroll: i,
260
+ scrollThreshold: f,
261
+ isScrollingUp: S,
262
+ scrollRatio: c
263
+ } = Se(e, {
264
+ canScroll: v
265
+ }), m = n(() => a.value.hide || a.value.fullyHide), b = n(() => e.collapse || a.value.collapse && (a.value.inverted ? c.value > 0 : c.value === 0)), h = n(() => e.flat || a.value.fullyHide && !u.value || a.value.elevate && (a.value.inverted ? i.value > 0 : i.value === 0)), s = n(() => a.value.fadeImage ? a.value.inverted ? 1 - c.value : c.value : void 0), g = n(() => {
266
+ const l = Number(d.value?.contentHeight ?? e.height), H = Number(d.value?.extensionHeight ?? 0);
267
+ return m.value ? i.value < f.value || a.value.fullyHide ? l + H : l : l + H;
268
+ });
269
+ se(n(() => !!e.scrollBehavior), () => {
270
+ ne(() => {
271
+ m.value ? a.value.inverted ? u.value = i.value > f.value : u.value = S.value || i.value < f.value : u.value = !0;
272
+ });
273
+ });
274
+ const {
275
+ ssrBootStyles: j
276
+ } = he(), {
277
+ layoutItemStyles: M,
278
+ layoutIsReady: W
279
+ } = re({
280
+ id: e.name,
281
+ order: n(() => parseInt(e.order, 10)),
282
+ position: k(e, "location"),
283
+ layoutSize: g,
284
+ elementSize: y(void 0),
285
+ active: u,
286
+ absolute: k(e, "absolute")
287
+ });
288
+ return p(() => {
289
+ const l = C.filterProps(e);
290
+ return o(C, E({
291
+ ref: d,
292
+ class: ["v-app-bar", {
293
+ "v-app-bar--bottom": e.location === "bottom"
294
+ }, e.class],
295
+ style: [{
296
+ ...M.value,
297
+ "--v-toolbar-image-opacity": s.value,
298
+ height: void 0,
299
+ ...j.value
300
+ }, e.style]
301
+ }, l, {
302
+ collapse: b.value,
303
+ flat: h.value
304
+ }), t);
305
+ }), W;
306
+ }
307
+ }), Ve = _()({
308
+ name: "VAppBarTitle",
309
+ props: L(),
310
+ setup(e, r) {
311
+ let {
312
+ slots: t
313
+ } = r;
314
+ return p(() => o(U, E(e, {
315
+ class: "v-app-bar-title"
316
+ }), t)), {};
317
+ }
318
+ }), _e = {
319
+ __name: "Header",
320
+ setup(e) {
321
+ const r = (
322
+ /** @type {import("@/types").Eodash} */
323
+ ie(ce)
324
+ ), t = r.brand?.name;
325
+ return (d, u) => (de(), ve(Te, { color: "primary" }, {
326
+ default: P(() => [
327
+ o(Ve, null, {
328
+ default: P(() => [
329
+ me(
330
+ ge(w(t)),
331
+ 1
332
+ /* TEXT */
333
+ )
334
+ ]),
335
+ _: 1
336
+ /* STABLE */
337
+ }),
338
+ o(A, {
339
+ class: "mx-12 logo",
340
+ src: w(r).brand?.logo
341
+ }, null, 8, ["src"])
342
+ ]),
343
+ _: 1
344
+ /* STABLE */
345
+ }));
346
+ }
347
+ }, Pe = /* @__PURE__ */ ue(_e, [["__scopeId", "data-v-d3a5e05e"]]);
348
+ export {
349
+ Pe as default
350
+ };
@@ -1,5 +1,5 @@
1
- import { D as r, K as t } from "./asWebComponent-BKe6Spni.js";
2
- const s = ["src"], o = {
1
+ import { $ as r, a6 as t } from "./asWebComponent-DQrnLsI2.js";
2
+ const s = ["src"], i = {
3
3
  __name: "IframeWrapper",
4
4
  props: {
5
5
  src: {
@@ -10,10 +10,10 @@ const s = ["src"], o = {
10
10
  setup(e) {
11
11
  return (c, a) => (r(), t("iframe", {
12
12
  src: e.src,
13
- style: { width: "100%", height: "100%" }
13
+ class: "fill-height fill-width"
14
14
  }, null, 8, s));
15
15
  }
16
16
  };
17
17
  export {
18
- o as default
18
+ i as default
19
19
  };