@eodash/eodash 5.0.0-alpha.2.3 → 5.0.0-alpha.2.5

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 (91) hide show
  1. package/README.md +14 -5
  2. package/core/{SuspensedDashboard.ce.vue → client/SuspensedDashboard.ce.vue} +30 -16
  3. package/core/client/components/DashboardLayout.vue +59 -0
  4. package/core/{components → client/components}/ErrorAlert.vue +6 -1
  5. package/core/{components → client/components}/Footer.vue +6 -1
  6. package/core/{components → client/components}/Header.vue +6 -1
  7. package/core/{components → client/components}/IframeWrapper.vue +1 -1
  8. package/core/{components → client/components}/MobileLayout.vue +41 -10
  9. package/core/{composables → client/composables}/DefineEodash.js +2 -1
  10. package/core/{composables → client/composables}/DefineWidgets.js +14 -8
  11. package/core/{composables → client/composables}/index.js +18 -119
  12. package/core/{eodash.js → client/eodash.js} +38 -36
  13. package/core/{plugins → client/plugins}/index.js +3 -0
  14. package/core/{plugins → client/plugins}/vuetify.js +1 -1
  15. package/core/{types.d.ts → client/types.d.ts} +42 -85
  16. package/core/{utils → client/utils}/eodashSTAC.js +29 -25
  17. package/core/client/utils/index.js +32 -0
  18. package/core/{views → client/views}/Dashboard.vue +39 -10
  19. package/dist/client/DashboardLayout-BYROtP-7.js +156 -0
  20. package/dist/{DynamicWebComponent-CgDh2csQ.js → client/DynamicWebComponent-BQhxFPM0.js} +6 -6
  21. package/dist/client/EodashDatePicker-CFltnt5d.js +1194 -0
  22. package/dist/client/EodashItemFilter-DIBDAHcc.js +65 -0
  23. package/dist/{EodashMap-CyR-Ldpk.js → client/EodashMap-C6jJ2Lb_.js} +14337 -15676
  24. package/dist/client/Footer-BVIZms1S.js +115 -0
  25. package/dist/client/Header-TsTL1d2R.js +633 -0
  26. package/dist/{IframeWrapper-Csep3rMg.js → client/IframeWrapper-XKChM78a.js} +4 -4
  27. package/dist/client/MobileLayout-BlGcMQra.js +957 -0
  28. package/dist/{VMain-COrg6UtF.js → client/VMain-C9XV5Lyg.js} +8 -8
  29. package/dist/{WidgetsContainer-XA6_dKOm.js → client/WidgetsContainer-BQXHnZpa.js} +8 -8
  30. package/dist/client/asWebComponent-CbdGxelK.js +20188 -0
  31. package/dist/{decoder-kAoyGIq9-DjQanfeo.js → client/decoder-HRvnjnEI-CHAYOWhz.js} +1 -1
  32. package/dist/client/eo-dash.js +6 -0
  33. package/dist/{eox-map-BJ9SIixs.js → client/eox-map-C3DL31fp.js} +1882 -1809
  34. package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
  35. package/dist/client/forwardRefs-CyCJOFsz.js +192 -0
  36. package/dist/client/http-ZWiLaAeR.js +1337 -0
  37. package/dist/{index-Cskxla5D.js → client/index-CabQjjQg.js} +43 -74
  38. package/dist/{lerc-C9VL9kri-O4muG-MO.js → client/lerc-_E46UbWQ-TxBH4OeK.js} +1 -1
  39. package/dist/{ssrBoot-DCCAW5xY.js → client/ssrBoot-DWJ-z4I-.js} +3 -3
  40. package/dist/{style.css → client/style.css} +2 -2
  41. package/dist/client/transition-BlLt41wg.js +34 -0
  42. package/dist/node/cli.js +20 -0
  43. package/dist/node/main.js +2 -0
  44. package/{bin → dist/node}/types.d.ts +2 -2
  45. package/package.json +22 -21
  46. package/widgets/EodashDatePicker.vue +89 -36
  47. package/widgets/EodashItemFilter.vue +30 -14
  48. package/bin/app.js +0 -22
  49. package/bin/cli.js +0 -62
  50. package/bin/main.js +0 -9
  51. package/bin/serverConfig.js +0 -165
  52. package/bin/utils.js +0 -103
  53. package/core/components/DashboardLayout.vue +0 -36
  54. package/core/utils/index.js +0 -28
  55. package/dist/DashboardLayout-lzEvtalW.js +0 -148
  56. package/dist/EodashDatePicker-bIyNUYaG.js +0 -1653
  57. package/dist/EodashItemFilter-CpgyrJRX.js +0 -51
  58. package/dist/Footer-C2sIHSym.js +0 -118
  59. package/dist/Header-DFz2BUnp.js +0 -605
  60. package/dist/MobileLayout-CXNJL_q6.js +0 -984
  61. package/dist/asWebComponent-fqvymeM-.js +0 -13092
  62. package/dist/eo-dash.js +0 -6
  63. package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
  64. package/dist/forwardRefs-Bxeu9Obx.js +0 -142
  65. package/dist/index-Zv5eTiB6.js +0 -34
  66. /package/core/{App.vue → client/App.vue} +0 -0
  67. /package/core/{asWebComponent.d.ts → client/asWebComponent.d.ts} +0 -0
  68. /package/core/{asWebComponent.js → client/asWebComponent.js} +0 -0
  69. /package/core/{components → client/components}/DynamicWebComponent.vue +0 -0
  70. /package/core/{components → client/components}/Loading.vue +0 -0
  71. /package/core/{main.js → client/main.js} +0 -0
  72. /package/core/{render.js → client/render.js} +0 -0
  73. /package/core/{store → client/store}/Actions.js +0 -0
  74. /package/core/{store → client/store}/States.js +0 -0
  75. /package/core/{store → client/store}/index.js +0 -0
  76. /package/core/{store → client/store}/stac.js +0 -0
  77. /package/core/{utils → client/utils}/helpers.js +0 -0
  78. /package/core/{utils → client/utils}/keys.js +0 -0
  79. /package/core/{vite-env.d.ts → client/vite-env.d.ts} +0 -0
  80. /package/dist/{.gitkeep → client/.gitkeep} +0 -0
  81. /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
  82. /package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-Qm25PwVp-CHo5Pomv.js} +0 -0
  83. /package/dist/{deflate-Be2Arps5-hDqMz3RA.js → client/deflate-Be2Arps5-hDqMz3RA.js} +0 -0
  84. /package/dist/{eox-itemfilter-DcQkRD2l.js → client/eox-itemfilter-DcQkRD2l.js} +0 -0
  85. /package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-DNfUpLwy-Fjan-04T.js} +0 -0
  86. /package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-BOMhmEDy-Dboc93VO.js} +0 -0
  87. /package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-DaUD6MLm-Bu1PoTGa.js} +0 -0
  88. /package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-C3kYPGGQ-BMki8cQY.js} +0 -0
  89. /package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CcGKjn8q-DFOt-i8n.js} +0 -0
  90. /package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-CyOFAuFB.js} +0 -0
  91. /package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-D2c098k3-DLj1LQxB.js} +0 -0
@@ -0,0 +1,633 @@
1
+ import { ae as Q, p as B, e as z, f as Y, g as k, a as I, b as a, ac as ce, ad as ve, c as m, af as Z, Q as G, R as N, ag as J, ah as de, s as _, r as A, w as V, ai as me, D as ge, aj as X, t as L, v as fe, F as he, d as j, C as P, B as be, ak as ye, al as Se, h as _e, am as Te, an as xe, i as Ve, j as Be, S as ke, ao as E, ap as Ie, Z as Pe, aq as Ce, ar as Re, y as we, as as He, at as Ne, au as ze, _ as Ee, x as Ae, W as je, $ as Ue, a0 as De, a1 as M, a8 as We, aa as $e, a3 as O } from "./asWebComponent-CbdGxelK.js";
2
+ import { m as Fe, M as H } from "./transition-BlLt41wg.js";
3
+ import { a as Le } from "./index-CabQjjQg.js";
4
+ import { u as Me } from "./ssrBoot-DWJ-z4I-.js";
5
+ function Oe(e, n) {
6
+ if (!Q)
7
+ return;
8
+ const t = n.modifiers || {}, o = n.value, {
9
+ handler: u,
10
+ options: s
11
+ } = typeof o == "object" ? o : {
12
+ handler: o,
13
+ options: {}
14
+ }, h = new IntersectionObserver(function() {
15
+ let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], b = arguments.length > 1 ? arguments[1] : void 0;
16
+ const r = e._observe?.[n.instance.$.uid];
17
+ if (!r)
18
+ return;
19
+ const l = d.some((g) => g.isIntersecting);
20
+ u && (!t.quiet || r.init) && (!t.once || l || r.init) && u(l, d, b), l && t.once ? p(e, n) : r.init = !0;
21
+ }, s);
22
+ e._observe = Object(e._observe), e._observe[n.instance.$.uid] = {
23
+ init: !1,
24
+ observer: h
25
+ }, h.observe(e);
26
+ }
27
+ function p(e, n) {
28
+ const t = e._observe?.[n.instance.$.uid];
29
+ t && (t.observer.unobserve(e), delete e._observe[n.instance.$.uid]);
30
+ }
31
+ const qe = {
32
+ mounted: Oe,
33
+ unmounted: p
34
+ }, ee = B({
35
+ text: String,
36
+ ...z(),
37
+ ...Y()
38
+ }, "VToolbarTitle"), te = k()({
39
+ name: "VToolbarTitle",
40
+ props: ee(),
41
+ setup(e, n) {
42
+ let {
43
+ slots: t
44
+ } = n;
45
+ return I(() => {
46
+ const o = !!(t.default || t.text || e.text);
47
+ return a(e.tag, {
48
+ class: ["v-toolbar-title", e.class],
49
+ style: e.style
50
+ }, {
51
+ default: () => [o && a("div", {
52
+ class: "v-toolbar-title__placeholder"
53
+ }, [t.text ? t.text() : e.text, t.default?.()])]
54
+ });
55
+ }), {};
56
+ }
57
+ });
58
+ function Ke(e) {
59
+ return {
60
+ aspectStyles: m(() => {
61
+ const n = Number(e.aspectRatio);
62
+ return n ? {
63
+ paddingBottom: String(1 / n * 100) + "%"
64
+ } : void 0;
65
+ })
66
+ };
67
+ }
68
+ const ae = B({
69
+ aspectRatio: [String, Number],
70
+ contentClass: null,
71
+ inline: Boolean,
72
+ ...z(),
73
+ ...ce()
74
+ }, "VResponsive"), q = k()({
75
+ name: "VResponsive",
76
+ props: ae(),
77
+ setup(e, n) {
78
+ let {
79
+ slots: t
80
+ } = n;
81
+ const {
82
+ aspectStyles: o
83
+ } = Ke(e), {
84
+ dimensionStyles: u
85
+ } = ve(e);
86
+ return I(() => a("div", {
87
+ class: ["v-responsive", {
88
+ "v-responsive--inline": e.inline
89
+ }, e.class],
90
+ style: [u.value, e.style]
91
+ }, [a("div", {
92
+ class: "v-responsive__sizer",
93
+ style: o.value
94
+ }, null), t.additional?.(), t.default && a("div", {
95
+ class: ["v-responsive__content", e.contentClass]
96
+ }, [t.default()])])), {};
97
+ }
98
+ }), Qe = B({
99
+ alt: String,
100
+ cover: Boolean,
101
+ color: String,
102
+ draggable: {
103
+ type: [Boolean, String],
104
+ default: void 0
105
+ },
106
+ eager: Boolean,
107
+ gradient: String,
108
+ lazySrc: String,
109
+ options: {
110
+ type: Object,
111
+ // For more information on types, navigate to:
112
+ // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
113
+ default: () => ({
114
+ root: void 0,
115
+ rootMargin: void 0,
116
+ threshold: void 0
117
+ })
118
+ },
119
+ sizes: String,
120
+ src: {
121
+ type: [String, Object],
122
+ default: ""
123
+ },
124
+ crossorigin: String,
125
+ referrerpolicy: String,
126
+ srcset: String,
127
+ position: String,
128
+ ...ae(),
129
+ ...z(),
130
+ ...Z(),
131
+ ...Fe()
132
+ }, "VImg"), le = k()({
133
+ name: "VImg",
134
+ directives: {
135
+ intersect: qe
136
+ },
137
+ props: Qe(),
138
+ emits: {
139
+ loadstart: (e) => !0,
140
+ load: (e) => !0,
141
+ error: (e) => !0
142
+ },
143
+ setup(e, n) {
144
+ let {
145
+ emit: t,
146
+ slots: o
147
+ } = n;
148
+ const {
149
+ backgroundColorClasses: u,
150
+ backgroundColorStyles: s
151
+ } = G(N(e, "color")), {
152
+ roundedClasses: h
153
+ } = J(e), d = de("VImg"), b = _(""), r = A(), l = _(e.eager ? "loading" : "idle"), g = _(), f = _(), i = m(() => e.src && typeof e.src == "object" ? {
154
+ src: e.src.src,
155
+ srcset: e.srcset || e.src.srcset,
156
+ lazySrc: e.lazySrc || e.src.lazySrc,
157
+ aspect: Number(e.aspectRatio || e.src.aspect || 0)
158
+ } : {
159
+ src: e.src,
160
+ srcset: e.srcset,
161
+ lazySrc: e.lazySrc,
162
+ aspect: Number(e.aspectRatio || 0)
163
+ }), y = m(() => i.value.aspect || g.value / f.value || 0);
164
+ V(() => e.src, () => {
165
+ T(l.value !== "idle");
166
+ }), V(y, (v, S) => {
167
+ !v && S && r.value && x(r.value);
168
+ }), me(() => T());
169
+ function T(v) {
170
+ if (!(e.eager && v) && !(Q && !v && !e.eager)) {
171
+ if (l.value = "loading", i.value.lazySrc) {
172
+ const S = new Image();
173
+ S.src = i.value.lazySrc, x(S, null);
174
+ }
175
+ i.value.src && ge(() => {
176
+ t("loadstart", r.value?.currentSrc || i.value.src), setTimeout(() => {
177
+ if (!d.isUnmounted)
178
+ if (r.value?.complete) {
179
+ if (r.value.naturalWidth || R(), l.value === "error")
180
+ return;
181
+ y.value || x(r.value, null), l.value === "loading" && C();
182
+ } else
183
+ y.value || x(r.value), w();
184
+ });
185
+ });
186
+ }
187
+ }
188
+ function C() {
189
+ d.isUnmounted || (w(), x(r.value), l.value = "loaded", t("load", r.value?.currentSrc || i.value.src));
190
+ }
191
+ function R() {
192
+ d.isUnmounted || (l.value = "error", t("error", r.value?.currentSrc || i.value.src));
193
+ }
194
+ function w() {
195
+ const v = r.value;
196
+ v && (b.value = v.currentSrc || v.src);
197
+ }
198
+ let c = -1;
199
+ X(() => {
200
+ clearTimeout(c);
201
+ });
202
+ function x(v) {
203
+ let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
204
+ const W = () => {
205
+ if (clearTimeout(c), d.isUnmounted)
206
+ return;
207
+ const {
208
+ naturalHeight: $,
209
+ naturalWidth: F
210
+ } = v;
211
+ $ || F ? (g.value = F, f.value = $) : !v.complete && l.value === "loading" && S != null ? c = window.setTimeout(W, S) : (v.currentSrc.endsWith(".svg") || v.currentSrc.startsWith("data:image/svg+xml")) && (g.value = 1, f.value = 1);
212
+ };
213
+ W();
214
+ }
215
+ const U = m(() => ({
216
+ "v-img__img--cover": e.cover,
217
+ "v-img__img--contain": !e.cover
218
+ })), se = () => {
219
+ if (!i.value.src || l.value === "idle")
220
+ return null;
221
+ const v = a("img", {
222
+ class: ["v-img__img", U.value],
223
+ style: {
224
+ objectPosition: e.position
225
+ },
226
+ src: i.value.src,
227
+ srcset: i.value.srcset,
228
+ alt: e.alt,
229
+ crossorigin: e.crossorigin,
230
+ referrerpolicy: e.referrerpolicy,
231
+ draggable: e.draggable,
232
+ sizes: e.sizes,
233
+ ref: r,
234
+ onLoad: C,
235
+ onError: R
236
+ }, null), S = o.sources?.();
237
+ return a(H, {
238
+ transition: e.transition,
239
+ appear: !0
240
+ }, {
241
+ default: () => [L(S ? a("picture", {
242
+ class: "v-img__picture"
243
+ }, [S, v]) : v, [[be, l.value === "loaded"]])]
244
+ });
245
+ }, re = () => a(H, {
246
+ transition: e.transition
247
+ }, {
248
+ default: () => [i.value.lazySrc && l.value !== "loaded" && a("img", {
249
+ class: ["v-img__img", "v-img__img--preload", U.value],
250
+ style: {
251
+ objectPosition: e.position
252
+ },
253
+ src: i.value.lazySrc,
254
+ alt: e.alt,
255
+ crossorigin: e.crossorigin,
256
+ referrerpolicy: e.referrerpolicy,
257
+ draggable: e.draggable
258
+ }, null)]
259
+ }), oe = () => o.placeholder ? a(H, {
260
+ transition: e.transition,
261
+ appear: !0
262
+ }, {
263
+ default: () => [(l.value === "loading" || l.value === "error" && !o.error) && a("div", {
264
+ class: "v-img__placeholder"
265
+ }, [o.placeholder()])]
266
+ }) : null, ie = () => o.error ? a(H, {
267
+ transition: e.transition,
268
+ appear: !0
269
+ }, {
270
+ default: () => [l.value === "error" && a("div", {
271
+ class: "v-img__error"
272
+ }, [o.error()])]
273
+ }) : null, ue = () => e.gradient ? a("div", {
274
+ class: "v-img__gradient",
275
+ style: {
276
+ backgroundImage: `linear-gradient(${e.gradient})`
277
+ }
278
+ }, null) : null, D = _(!1);
279
+ {
280
+ const v = V(y, (S) => {
281
+ S && (requestAnimationFrame(() => {
282
+ requestAnimationFrame(() => {
283
+ D.value = !0;
284
+ });
285
+ }), v());
286
+ });
287
+ }
288
+ return I(() => {
289
+ const v = q.filterProps(e);
290
+ return L(a(q, j({
291
+ class: ["v-img", {
292
+ "v-img--booting": !D.value
293
+ }, u.value, h.value, e.class],
294
+ style: [{
295
+ width: P(e.width === "auto" ? g.value : e.width)
296
+ }, s.value, e.style]
297
+ }, v, {
298
+ aspectRatio: y.value,
299
+ "aria-label": e.alt,
300
+ role: e.alt ? "img" : void 0
301
+ }), {
302
+ additional: () => a(he, null, [a(se, null, null), a(re, null, null), a(ue, null, null), a(oe, null, null), a(ie, null, null)]),
303
+ default: o.default
304
+ }), [[fe("intersect"), {
305
+ handler: T,
306
+ options: e.options
307
+ }, null, {
308
+ once: !0
309
+ }]]);
310
+ }), {
311
+ currentSrc: b,
312
+ image: r,
313
+ state: l,
314
+ naturalWidth: g,
315
+ naturalHeight: f
316
+ };
317
+ }
318
+ }), Ye = [null, "prominent", "default", "comfortable", "compact"], ne = B({
319
+ absolute: Boolean,
320
+ collapse: Boolean,
321
+ color: String,
322
+ density: {
323
+ type: String,
324
+ default: "default",
325
+ validator: (e) => Ye.includes(e)
326
+ },
327
+ extended: Boolean,
328
+ extensionHeight: {
329
+ type: [Number, String],
330
+ default: 48
331
+ },
332
+ flat: Boolean,
333
+ floating: Boolean,
334
+ height: {
335
+ type: [Number, String],
336
+ default: 64
337
+ },
338
+ image: String,
339
+ title: String,
340
+ ...ye(),
341
+ ...z(),
342
+ ...Se(),
343
+ ...Z(),
344
+ ...Y({
345
+ tag: "header"
346
+ }),
347
+ ..._e()
348
+ }, "VToolbar"), K = k()({
349
+ name: "VToolbar",
350
+ props: ne(),
351
+ setup(e, n) {
352
+ let {
353
+ slots: t
354
+ } = n;
355
+ const {
356
+ backgroundColorClasses: o,
357
+ backgroundColorStyles: u
358
+ } = G(N(e, "color")), {
359
+ borderClasses: s
360
+ } = Te(e), {
361
+ elevationClasses: h
362
+ } = xe(e), {
363
+ roundedClasses: d
364
+ } = J(e), {
365
+ themeClasses: b
366
+ } = Ve(e), {
367
+ rtlClasses: r
368
+ } = Be(), l = _(!!(e.extended || t.extension?.())), g = m(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), f = m(() => l.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
369
+ return ke({
370
+ VBtn: {
371
+ variant: "text"
372
+ }
373
+ }), I(() => {
374
+ const i = !!(e.title || t.title), y = !!(t.image || e.image), T = t.extension?.();
375
+ return l.value = !!(e.extended || T), a(e.tag, {
376
+ class: ["v-toolbar", {
377
+ "v-toolbar--absolute": e.absolute,
378
+ "v-toolbar--collapse": e.collapse,
379
+ "v-toolbar--flat": e.flat,
380
+ "v-toolbar--floating": e.floating,
381
+ [`v-toolbar--density-${e.density}`]: !0
382
+ }, o.value, s.value, h.value, d.value, b.value, r.value, e.class],
383
+ style: [u.value, e.style]
384
+ }, {
385
+ default: () => [y && a("div", {
386
+ key: "image",
387
+ class: "v-toolbar__image"
388
+ }, [t.image ? a(E, {
389
+ key: "image-defaults",
390
+ disabled: !e.image,
391
+ defaults: {
392
+ VImg: {
393
+ cover: !0,
394
+ src: e.image
395
+ }
396
+ }
397
+ }, t.image) : a(le, {
398
+ key: "image-img",
399
+ cover: !0,
400
+ src: e.image
401
+ }, null)]), a(E, {
402
+ defaults: {
403
+ VTabs: {
404
+ height: P(g.value)
405
+ }
406
+ }
407
+ }, {
408
+ default: () => [a("div", {
409
+ class: "v-toolbar__content",
410
+ style: {
411
+ height: P(g.value)
412
+ }
413
+ }, [t.prepend && a("div", {
414
+ class: "v-toolbar__prepend"
415
+ }, [t.prepend?.()]), i && a(te, {
416
+ key: "title",
417
+ text: e.title
418
+ }, {
419
+ text: t.title
420
+ }), t.default?.(), t.append && a("div", {
421
+ class: "v-toolbar__append"
422
+ }, [t.append?.()])])]
423
+ }), a(E, {
424
+ defaults: {
425
+ VTabs: {
426
+ height: P(f.value)
427
+ }
428
+ }
429
+ }, {
430
+ default: () => [a(Le, null, {
431
+ default: () => [l.value && a("div", {
432
+ class: "v-toolbar__extension",
433
+ style: {
434
+ height: P(f.value)
435
+ }
436
+ }, [T])]
437
+ })]
438
+ })]
439
+ });
440
+ }), {
441
+ contentHeight: g,
442
+ extensionHeight: f
443
+ };
444
+ }
445
+ }), Ze = B({
446
+ scrollTarget: {
447
+ type: String
448
+ },
449
+ scrollThreshold: {
450
+ type: [String, Number],
451
+ default: 300
452
+ }
453
+ }, "scroll");
454
+ function Ge(e) {
455
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
456
+ const {
457
+ canScroll: t
458
+ } = n;
459
+ let o = 0;
460
+ const u = A(null), s = _(0), h = _(0), d = _(0), b = _(!1), r = _(!1), l = m(() => Number(e.scrollThreshold)), g = m(() => Ie((l.value - s.value) / l.value || 0)), f = () => {
461
+ const i = u.value;
462
+ !i || t && !t.value || (o = s.value, s.value = "window" in i ? i.pageYOffset : i.scrollTop, r.value = s.value < o, d.value = Math.abs(s.value - l.value));
463
+ };
464
+ return V(r, () => {
465
+ h.value = h.value || s.value;
466
+ }), V(b, () => {
467
+ h.value = 0;
468
+ }), Pe(() => {
469
+ V(() => e.scrollTarget, (i) => {
470
+ const y = i ? document.querySelector(i) : window;
471
+ if (!y) {
472
+ Ce(`Unable to locate element with identifier ${i}`);
473
+ return;
474
+ }
475
+ y !== u.value && (u.value?.removeEventListener("scroll", f), u.value = y, u.value.addEventListener("scroll", f, {
476
+ passive: !0
477
+ }));
478
+ }, {
479
+ immediate: !0
480
+ });
481
+ }), X(() => {
482
+ u.value?.removeEventListener("scroll", f);
483
+ }), t && V(t, f, {
484
+ immediate: !0
485
+ }), {
486
+ scrollThreshold: l,
487
+ currentScroll: s,
488
+ currentThreshold: d,
489
+ isScrollActive: b,
490
+ scrollRatio: g,
491
+ // required only for testing
492
+ // probably can be removed
493
+ // later (2 chars chlng)
494
+ isScrollingUp: r,
495
+ savedScroll: h
496
+ };
497
+ }
498
+ const Je = B({
499
+ scrollBehavior: String,
500
+ modelValue: {
501
+ type: Boolean,
502
+ default: !0
503
+ },
504
+ location: {
505
+ type: String,
506
+ default: "top",
507
+ validator: (e) => ["top", "bottom"].includes(e)
508
+ },
509
+ ...ne(),
510
+ ...Re(),
511
+ ...Ze(),
512
+ height: {
513
+ type: [Number, String],
514
+ default: 64
515
+ }
516
+ }, "VAppBar"), Xe = k()({
517
+ name: "VAppBar",
518
+ props: Je(),
519
+ emits: {
520
+ "update:modelValue": (e) => !0
521
+ },
522
+ setup(e, n) {
523
+ let {
524
+ slots: t
525
+ } = n;
526
+ const o = A(), u = we(e, "modelValue"), s = m(() => {
527
+ const c = new Set(e.scrollBehavior?.split(" ") ?? []);
528
+ return {
529
+ hide: c.has("hide"),
530
+ fullyHide: c.has("fully-hide"),
531
+ inverted: c.has("inverted"),
532
+ collapse: c.has("collapse"),
533
+ elevate: c.has("elevate"),
534
+ fadeImage: c.has("fade-image")
535
+ // shrink: behavior.has('shrink'),
536
+ };
537
+ }), h = m(() => {
538
+ const c = s.value;
539
+ return c.hide || c.fullyHide || c.inverted || c.collapse || c.elevate || c.fadeImage || // behavior.shrink ||
540
+ !u.value;
541
+ }), {
542
+ currentScroll: d,
543
+ scrollThreshold: b,
544
+ isScrollingUp: r,
545
+ scrollRatio: l
546
+ } = Ge(e, {
547
+ canScroll: h
548
+ }), g = m(() => s.value.hide || s.value.fullyHide), f = m(() => e.collapse || s.value.collapse && (s.value.inverted ? l.value > 0 : l.value === 0)), i = m(() => e.flat || s.value.fullyHide && !u.value || s.value.elevate && (s.value.inverted ? d.value > 0 : d.value === 0)), y = m(() => s.value.fadeImage ? s.value.inverted ? 1 - l.value : l.value : void 0), T = m(() => {
549
+ const c = Number(o.value?.contentHeight ?? e.height), x = Number(o.value?.extensionHeight ?? 0);
550
+ return g.value ? d.value < b.value || s.value.fullyHide ? c + x : c : c + x;
551
+ });
552
+ He(m(() => !!e.scrollBehavior), () => {
553
+ Ne(() => {
554
+ g.value ? s.value.inverted ? u.value = d.value > b.value : u.value = r.value || d.value < b.value : u.value = !0;
555
+ });
556
+ });
557
+ const {
558
+ ssrBootStyles: C
559
+ } = Me(), {
560
+ layoutItemStyles: R,
561
+ layoutIsReady: w
562
+ } = ze({
563
+ id: e.name,
564
+ order: m(() => parseInt(e.order, 10)),
565
+ position: N(e, "location"),
566
+ layoutSize: T,
567
+ elementSize: _(void 0),
568
+ active: u,
569
+ absolute: N(e, "absolute")
570
+ });
571
+ return I(() => {
572
+ const c = K.filterProps(e);
573
+ return a(K, j({
574
+ ref: o,
575
+ class: ["v-app-bar", {
576
+ "v-app-bar--bottom": e.location === "bottom"
577
+ }, e.class],
578
+ style: [{
579
+ ...R.value,
580
+ "--v-toolbar-image-opacity": y.value,
581
+ height: void 0,
582
+ ...C.value
583
+ }, e.style]
584
+ }, c, {
585
+ collapse: f.value,
586
+ flat: i.value
587
+ }), t);
588
+ }), w;
589
+ }
590
+ }), pe = k()({
591
+ name: "VAppBarTitle",
592
+ props: ee(),
593
+ setup(e, n) {
594
+ let {
595
+ slots: t
596
+ } = n;
597
+ return I(() => a(te, j(e, {
598
+ class: "v-app-bar-title"
599
+ }), t)), {};
600
+ }
601
+ }), et = {
602
+ __name: "Header",
603
+ setup(e) {
604
+ const n = (
605
+ /** @type {import("@/types").Eodash} */
606
+ Ae(je)
607
+ ), t = n.brand?.name;
608
+ return (o, u) => (Ue(), De(Xe, { color: "primary" }, {
609
+ default: M(() => [
610
+ a(pe, null, {
611
+ default: M(() => [
612
+ We(
613
+ $e(O(t)),
614
+ 1
615
+ /* TEXT */
616
+ )
617
+ ]),
618
+ _: 1
619
+ /* STABLE */
620
+ }),
621
+ a(le, {
622
+ class: "mx-12 logo",
623
+ src: O(n).brand?.logo
624
+ }, null, 8, ["src"])
625
+ ]),
626
+ _: 1
627
+ /* STABLE */
628
+ }));
629
+ }
630
+ }, st = /* @__PURE__ */ Ee(et, [["__scopeId", "data-v-68395672"]]);
631
+ export {
632
+ st as default
633
+ };
@@ -1,5 +1,5 @@
1
- import { _ as r, a5 as t } from "./asWebComponent-fqvymeM-.js";
2
- const s = ["src"], o = {
1
+ import { $ as r, a6 as t } from "./asWebComponent-CbdGxelK.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
  };