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

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 (73) hide show
  1. package/README.md +19 -5
  2. package/core/client/App.vue +6 -7
  3. package/core/client/SuspensedDashboard.ce.vue +58 -40
  4. package/core/client/asWebComponent.d.ts +10 -5
  5. package/core/client/asWebComponent.js +6 -6
  6. package/core/client/components/DashboardLayout.vue +35 -16
  7. package/core/client/components/DynamicWebComponent.vue +44 -44
  8. package/core/client/components/ErrorAlert.vue +19 -7
  9. package/core/client/components/Footer.vue +28 -14
  10. package/core/client/components/Header.vue +4 -4
  11. package/core/client/components/IframeWrapper.vue +3 -3
  12. package/core/client/components/Loading.vue +17 -18
  13. package/core/client/components/MobileLayout.vue +48 -26
  14. package/core/client/composables/DefineEodash.js +38 -29
  15. package/core/client/composables/DefineWidgets.js +101 -81
  16. package/core/client/composables/index.js +32 -29
  17. package/core/client/eodash.js +44 -39
  18. package/core/client/main.js +2 -2
  19. package/core/client/plugins/index.js +9 -10
  20. package/core/client/plugins/vuetify.js +9 -10
  21. package/core/client/render.js +4 -5
  22. package/core/client/store/States.js +8 -13
  23. package/core/client/store/index.js +14 -11
  24. package/core/client/store/stac.js +51 -37
  25. package/core/client/types.d.ts +169 -201
  26. package/core/client/utils/eodashSTAC.js +130 -49
  27. package/core/client/utils/helpers.js +18 -20
  28. package/core/client/utils/index.js +17 -10
  29. package/core/client/utils/keys.js +2 -2
  30. package/core/client/views/Dashboard.vue +53 -36
  31. package/core/client/vite-env.d.ts +19 -17
  32. package/dist/client/{DashboardLayout-BYROtP-7.js → DashboardLayout-BuDcv6LM.js} +9 -9
  33. package/dist/client/{DynamicWebComponent-BQhxFPM0.js → DynamicWebComponent-BEP4rVce.js} +2 -2
  34. package/dist/client/EodashDatePicker-oFb1zt5E.js +1211 -0
  35. package/dist/client/{EodashItemFilter-DIBDAHcc.js → EodashItemFilter-BElmgrST.js} +4 -6
  36. package/dist/client/{EodashMap-C6jJ2Lb_.js → EodashMap-DXyOgcEd.js} +13131 -14490
  37. package/dist/client/{Footer-BVIZms1S.js → Footer-CoPx6UXQ.js} +3 -3
  38. package/dist/client/{Header-TsTL1d2R.js → Header-C-zX31Ys.js} +169 -167
  39. package/dist/client/{IframeWrapper-XKChM78a.js → IframeWrapper-2w2ye0zM.js} +1 -1
  40. package/dist/client/{MobileLayout-BlGcMQra.js → MobileLayout-C9OVcP12.js} +45 -57
  41. package/dist/client/{VMain-C9XV5Lyg.js → VMain-Dm43jd43.js} +2 -2
  42. package/dist/client/{WidgetsContainer-BQXHnZpa.js → WidgetsContainer-BS87sLqk.js} +10 -3
  43. package/dist/client/{asWebComponent-CbdGxelK.js → asWebComponent-CpQUVi2N.js} +5508 -5561
  44. package/dist/client/{basedecoder-Qm25PwVp-CHo5Pomv.js → basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
  45. package/dist/client/{decoder-HRvnjnEI-CHAYOWhz.js → decoder-CP4lv0Kb-BHrv68IA.js} +1 -1
  46. package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
  47. package/dist/client/eo-dash.js +3 -3
  48. package/dist/client/eodashSTAC-Q7kbX1Gy.js +2788 -0
  49. package/dist/client/{eox-itemfilter-DcQkRD2l.js → eox-itemfilter-TaBxgqq_.js} +1002 -974
  50. package/dist/client/{eox-map-C3DL31fp.js → eox-map-L7abwKTR.js} +5677 -5695
  51. package/dist/client/{forwardRefs-CyCJOFsz.js → forwardRefs-BVFQ82G4.js} +12 -21
  52. package/dist/client/{index-CabQjjQg.js → index-dOzyv_xR.js} +1 -1
  53. package/dist/client/{jpeg-DNfUpLwy-Fjan-04T.js → jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
  54. package/dist/client/{lerc-_E46UbWQ-TxBH4OeK.js → lerc-DzVumYtB-rm1Xco54.js} +5 -7
  55. package/dist/client/{lzw-BOMhmEDy-Dboc93VO.js → lzw-LAGDNbSC-DkP96qO9.js} +1 -1
  56. package/dist/client/{packbits-DaUD6MLm-Bu1PoTGa.js → packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
  57. package/dist/client/{pako.esm-C3kYPGGQ-BMki8cQY.js → pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
  58. package/dist/client/{raw-CcGKjn8q-DFOt-i8n.js → raw-CMGvRjfu-BRi6E4i1.js} +1 -1
  59. package/dist/client/{ssrBoot-DWJ-z4I-.js → ssrBoot-L9KejErM.js} +1 -1
  60. package/dist/client/style.css +2 -2
  61. package/dist/client/{transition-BlLt41wg.js → transition-DCePIwYR.js} +1 -1
  62. package/dist/client/{webfontloader-CyOFAuFB.js → webfontloader-qotgY98I.js} +56 -92
  63. package/dist/client/{webimage-D2c098k3-DLj1LQxB.js → webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
  64. package/dist/node/cli.js +1 -1
  65. package/dist/node/types.d.ts +32 -38
  66. package/package.json +11 -11
  67. package/widgets/EodashDatePicker.vue +94 -43
  68. package/widgets/EodashItemFilter.vue +13 -10
  69. package/widgets/EodashMap.vue +87 -20
  70. package/widgets/WidgetsContainer.vue +45 -27
  71. package/dist/client/EodashDatePicker-CFltnt5d.js +0 -1194
  72. package/dist/client/deflate-Be2Arps5-hDqMz3RA.js +0 -10
  73. package/dist/client/http-ZWiLaAeR.js +0 -1337
@@ -1,4 +1,4 @@
1
- import { p as y, ak as x, e as k, al as w, ar as b, af as C, f as I, h as S, g as R, i as z, Q as B, R as f, am as P, an as F, ag as M, s as V, J as T, c as e, au as X, a as Z, b as L, C as N, _ as j, r as D, x as H, W as A, H as E, $, a0 as J, a1 as K, a9 as t, aa as O, a3 as n, a8 as Q, az as U, aA as W } from "./asWebComponent-CbdGxelK.js";
1
+ import { p as y, ak as x, e as k, al as w, ar as b, af as C, f as I, h as S, g as R, i as z, Q as B, R as f, am as P, an as F, ag as M, s as V, J as T, c as e, au as X, a as Z, b as L, C as N, _ as j, r as D, x as H, W as A, H as E, $, a0 as J, a1 as K, a9 as t, aa as O, a3 as n, a8 as Q, az as U, aA as W } from "./asWebComponent-CpQUVi2N.js";
2
2
  const q = y({
3
3
  app: Boolean,
4
4
  color: String,
@@ -57,7 +57,7 @@ const q = y({
57
57
  }, l.style]
58
58
  }, o)), l.app ? _ : {};
59
59
  }
60
- }), Y = (l) => (U("data-v-11ca31b6"), l = l(), W(), l), l0 = { class: "pt-0 footer-text" }, e0 = /* @__PURE__ */ Y(() => /* @__PURE__ */ t(
60
+ }), Y = (l) => (U("data-v-7ea19f1b"), l = l(), W(), l), l0 = { class: "pt-0 footer-text" }, e0 = /* @__PURE__ */ Y(() => /* @__PURE__ */ t(
61
61
  "a",
62
62
  {
63
63
  href: "https://github.com/eodash/eodash",
@@ -109,7 +109,7 @@ const q = y({
109
109
  /* STABLE */
110
110
  }, 8, ["height"]));
111
111
  }
112
- }, n0 = /* @__PURE__ */ j(s0, [["__scopeId", "data-v-11ca31b6"]]);
112
+ }, n0 = /* @__PURE__ */ j(s0, [["__scopeId", "data-v-7ea19f1b"]]);
113
113
  export {
114
114
  n0 as default
115
115
  };
@@ -1,23 +1,21 @@
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";
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 de, c as f, af as Z, Q as G, R as N, ag as J, ah as ve, s as T, 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 we, ar as Ce, y as He, as as Re, 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-CpQUVi2N.js";
2
+ import { m as Fe, M as R } from "./transition-DCePIwYR.js";
3
+ import { a as Le } from "./index-dOzyv_xR.js";
4
+ import { u as Me } from "./ssrBoot-L9KejErM.js";
5
5
  function Oe(e, n) {
6
- if (!Q)
7
- return;
8
- const t = n.modifiers || {}, o = n.value, {
9
- handler: u,
6
+ if (!Q) return;
7
+ const t = n.modifiers || {}, r = n.value, {
8
+ handler: m,
10
9
  options: s
11
- } = typeof o == "object" ? o : {
12
- handler: o,
10
+ } = typeof r == "object" ? r : {
11
+ handler: r,
13
12
  options: {}
14
13
  }, 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;
14
+ let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], y = arguments.length > 1 ? arguments[1] : void 0;
15
+ const o = e._observe?.[n.instance.$.uid];
16
+ if (!o) return;
17
+ const l = c.some((g) => g.isIntersecting);
18
+ m && (!t.quiet || o.init) && (!t.once || l || o.init) && m(l, c, y), l && t.once ? p(e, n) : o.init = !0;
21
19
  }, s);
22
20
  e._observe = Object(e._observe), e._observe[n.instance.$.uid] = {
23
21
  init: !1,
@@ -43,12 +41,12 @@ const qe = {
43
41
  slots: t
44
42
  } = n;
45
43
  return I(() => {
46
- const o = !!(t.default || t.text || e.text);
44
+ const r = !!(t.default || t.text || e.text);
47
45
  return a(e.tag, {
48
46
  class: ["v-toolbar-title", e.class],
49
47
  style: e.style
50
48
  }, {
51
- default: () => [o && a("div", {
49
+ default: () => [r && a("div", {
52
50
  class: "v-toolbar-title__placeholder"
53
51
  }, [t.text ? t.text() : e.text, t.default?.()])]
54
52
  });
@@ -57,7 +55,7 @@ const qe = {
57
55
  });
58
56
  function Ke(e) {
59
57
  return {
60
- aspectStyles: m(() => {
58
+ aspectStyles: f(() => {
61
59
  const n = Number(e.aspectRatio);
62
60
  return n ? {
63
61
  paddingBottom: String(1 / n * 100) + "%"
@@ -79,18 +77,18 @@ const ae = B({
79
77
  slots: t
80
78
  } = n;
81
79
  const {
82
- aspectStyles: o
80
+ aspectStyles: r
83
81
  } = Ke(e), {
84
- dimensionStyles: u
85
- } = ve(e);
82
+ dimensionStyles: m
83
+ } = de(e);
86
84
  return I(() => a("div", {
87
85
  class: ["v-responsive", {
88
86
  "v-responsive--inline": e.inline
89
87
  }, e.class],
90
- style: [u.value, e.style]
88
+ style: [m.value, e.style]
91
89
  }, [a("div", {
92
90
  class: "v-responsive__sizer",
93
- style: o.value
91
+ style: r.value
94
92
  }, null), t.additional?.(), t.default && a("div", {
95
93
  class: ["v-responsive__content", e.contentClass]
96
94
  }, [t.default()])])), {};
@@ -143,14 +141,14 @@ const ae = B({
143
141
  setup(e, n) {
144
142
  let {
145
143
  emit: t,
146
- slots: o
144
+ slots: r
147
145
  } = n;
148
146
  const {
149
- backgroundColorClasses: u,
147
+ backgroundColorClasses: m,
150
148
  backgroundColorStyles: s
151
149
  } = G(N(e, "color")), {
152
150
  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" ? {
151
+ } = J(e), c = ve("VImg"), y = T(""), o = A(), l = T(e.eager ? "loading" : "idle"), g = T(), S = T(), u = f(() => e.src && typeof e.src == "object" ? {
154
152
  src: e.src.src,
155
153
  srcset: e.srcset || e.src.srcset,
156
154
  lazySrc: e.lazySrc || e.src.lazySrc,
@@ -160,125 +158,122 @@ const ae = B({
160
158
  srcset: e.srcset,
161
159
  lazySrc: e.lazySrc,
162
160
  aspect: Number(e.aspectRatio || 0)
163
- }), y = m(() => i.value.aspect || g.value / f.value || 0);
161
+ }), d = f(() => u.value.aspect || g.value / S.value || 0);
164
162
  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) {
163
+ b(l.value !== "idle");
164
+ }), V(d, (v, _) => {
165
+ !v && _ && o.value && x(o.value);
166
+ }), me(() => b());
167
+ function b(v) {
170
168
  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);
169
+ if (l.value = "loading", u.value.lazySrc) {
170
+ const _ = new Image();
171
+ _.src = u.value.lazySrc, x(_, null);
174
172
  }
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();
173
+ u.value.src && ge(() => {
174
+ t("loadstart", o.value?.currentSrc || u.value.src), setTimeout(() => {
175
+ if (!c.isUnmounted)
176
+ if (o.value?.complete) {
177
+ if (o.value.naturalWidth || C(), l.value === "error") return;
178
+ d.value || x(o.value, null), l.value === "loading" && w();
182
179
  } else
183
- y.value || x(r.value), w();
180
+ d.value || x(o.value), H();
184
181
  });
185
182
  });
186
183
  }
187
184
  }
188
- function C() {
189
- d.isUnmounted || (w(), x(r.value), l.value = "loaded", t("load", r.value?.currentSrc || i.value.src));
185
+ function w() {
186
+ c.isUnmounted || (H(), x(o.value), l.value = "loaded", t("load", o.value?.currentSrc || u.value.src));
190
187
  }
191
- function R() {
192
- d.isUnmounted || (l.value = "error", t("error", r.value?.currentSrc || i.value.src));
188
+ function C() {
189
+ c.isUnmounted || (l.value = "error", t("error", o.value?.currentSrc || u.value.src));
193
190
  }
194
- function w() {
195
- const v = r.value;
196
- v && (b.value = v.currentSrc || v.src);
191
+ function H() {
192
+ const v = o.value;
193
+ v && (y.value = v.currentSrc || v.src);
197
194
  }
198
- let c = -1;
195
+ let i = -1;
199
196
  X(() => {
200
- clearTimeout(c);
197
+ clearTimeout(i);
201
198
  });
202
199
  function x(v) {
203
- let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
200
+ let _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
204
201
  const W = () => {
205
- if (clearTimeout(c), d.isUnmounted)
206
- return;
202
+ if (clearTimeout(i), c.isUnmounted) return;
207
203
  const {
208
204
  naturalHeight: $,
209
205
  naturalWidth: F
210
206
  } = 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);
207
+ $ || F ? (g.value = F, S.value = $) : !v.complete && l.value === "loading" && _ != null ? i = window.setTimeout(W, _) : (v.currentSrc.endsWith(".svg") || v.currentSrc.startsWith("data:image/svg+xml")) && (g.value = 1, S.value = 1);
212
208
  };
213
209
  W();
214
210
  }
215
- const U = m(() => ({
211
+ const U = f(() => ({
216
212
  "v-img__img--cover": e.cover,
217
213
  "v-img__img--contain": !e.cover
218
- })), se = () => {
219
- if (!i.value.src || l.value === "idle")
220
- return null;
214
+ })), re = () => {
215
+ if (!u.value.src || l.value === "idle") return null;
221
216
  const v = a("img", {
222
217
  class: ["v-img__img", U.value],
223
218
  style: {
224
219
  objectPosition: e.position
225
220
  },
226
- src: i.value.src,
227
- srcset: i.value.srcset,
221
+ src: u.value.src,
222
+ srcset: u.value.srcset,
228
223
  alt: e.alt,
229
224
  crossorigin: e.crossorigin,
230
225
  referrerpolicy: e.referrerpolicy,
231
226
  draggable: e.draggable,
232
227
  sizes: e.sizes,
233
- ref: r,
234
- onLoad: C,
235
- onError: R
236
- }, null), S = o.sources?.();
237
- return a(H, {
228
+ ref: o,
229
+ onLoad: w,
230
+ onError: C
231
+ }, null), _ = r.sources?.();
232
+ return a(R, {
238
233
  transition: e.transition,
239
234
  appear: !0
240
235
  }, {
241
- default: () => [L(S ? a("picture", {
236
+ default: () => [L(_ ? a("picture", {
242
237
  class: "v-img__picture"
243
- }, [S, v]) : v, [[be, l.value === "loaded"]])]
238
+ }, [_, v]) : v, [[be, l.value === "loaded"]])]
244
239
  });
245
- }, re = () => a(H, {
240
+ }, se = () => a(R, {
246
241
  transition: e.transition
247
242
  }, {
248
- default: () => [i.value.lazySrc && l.value !== "loaded" && a("img", {
243
+ default: () => [u.value.lazySrc && l.value !== "loaded" && a("img", {
249
244
  class: ["v-img__img", "v-img__img--preload", U.value],
250
245
  style: {
251
246
  objectPosition: e.position
252
247
  },
253
- src: i.value.lazySrc,
248
+ src: u.value.lazySrc,
254
249
  alt: e.alt,
255
250
  crossorigin: e.crossorigin,
256
251
  referrerpolicy: e.referrerpolicy,
257
252
  draggable: e.draggable
258
253
  }, null)]
259
- }), oe = () => o.placeholder ? a(H, {
254
+ }), oe = () => r.placeholder ? a(R, {
260
255
  transition: e.transition,
261
256
  appear: !0
262
257
  }, {
263
- default: () => [(l.value === "loading" || l.value === "error" && !o.error) && a("div", {
258
+ default: () => [(l.value === "loading" || l.value === "error" && !r.error) && a("div", {
264
259
  class: "v-img__placeholder"
265
- }, [o.placeholder()])]
266
- }) : null, ie = () => o.error ? a(H, {
260
+ }, [r.placeholder()])]
261
+ }) : null, ie = () => r.error ? a(R, {
267
262
  transition: e.transition,
268
263
  appear: !0
269
264
  }, {
270
265
  default: () => [l.value === "error" && a("div", {
271
266
  class: "v-img__error"
272
- }, [o.error()])]
267
+ }, [r.error()])]
273
268
  }) : null, ue = () => e.gradient ? a("div", {
274
269
  class: "v-img__gradient",
275
270
  style: {
276
271
  backgroundImage: `linear-gradient(${e.gradient})`
277
272
  }
278
- }, null) : null, D = _(!1);
273
+ }, null) : null, D = T(!1);
279
274
  {
280
- const v = V(y, (S) => {
281
- S && (requestAnimationFrame(() => {
275
+ const v = V(d, (_) => {
276
+ _ && (requestAnimationFrame(() => {
282
277
  requestAnimationFrame(() => {
283
278
  D.value = !0;
284
279
  });
@@ -290,29 +285,29 @@ const ae = B({
290
285
  return L(a(q, j({
291
286
  class: ["v-img", {
292
287
  "v-img--booting": !D.value
293
- }, u.value, h.value, e.class],
288
+ }, m.value, h.value, e.class],
294
289
  style: [{
295
290
  width: P(e.width === "auto" ? g.value : e.width)
296
291
  }, s.value, e.style]
297
292
  }, v, {
298
- aspectRatio: y.value,
293
+ aspectRatio: d.value,
299
294
  "aria-label": e.alt,
300
295
  role: e.alt ? "img" : void 0
301
296
  }), {
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
297
+ additional: () => a(he, null, [a(re, null, null), a(se, null, null), a(ue, null, null), a(oe, null, null), a(ie, null, null)]),
298
+ default: r.default
304
299
  }), [[fe("intersect"), {
305
- handler: T,
300
+ handler: b,
306
301
  options: e.options
307
302
  }, null, {
308
303
  once: !0
309
304
  }]]);
310
305
  }), {
311
- currentSrc: b,
312
- image: r,
306
+ currentSrc: y,
307
+ image: o,
313
308
  state: l,
314
309
  naturalWidth: g,
315
- naturalHeight: f
310
+ naturalHeight: S
316
311
  };
317
312
  }
318
313
  }), Ye = [null, "prominent", "default", "comfortable", "compact"], ne = B({
@@ -353,36 +348,36 @@ const ae = B({
353
348
  slots: t
354
349
  } = n;
355
350
  const {
356
- backgroundColorClasses: o,
357
- backgroundColorStyles: u
351
+ backgroundColorClasses: r,
352
+ backgroundColorStyles: m
358
353
  } = G(N(e, "color")), {
359
354
  borderClasses: s
360
355
  } = Te(e), {
361
356
  elevationClasses: h
362
357
  } = xe(e), {
363
- roundedClasses: d
358
+ roundedClasses: c
364
359
  } = J(e), {
365
- themeClasses: b
360
+ themeClasses: y
366
361
  } = 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);
362
+ rtlClasses: o
363
+ } = Be(), l = T(!!(e.extended || t.extension?.())), g = f(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), S = f(() => 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
364
  return ke({
370
365
  VBtn: {
371
366
  variant: "text"
372
367
  }
373
368
  }), 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, {
369
+ const u = !!(e.title || t.title), d = !!(t.image || e.image), b = t.extension?.();
370
+ return l.value = !!(e.extended || b), a(e.tag, {
376
371
  class: ["v-toolbar", {
377
372
  "v-toolbar--absolute": e.absolute,
378
373
  "v-toolbar--collapse": e.collapse,
379
374
  "v-toolbar--flat": e.flat,
380
375
  "v-toolbar--floating": e.floating,
381
376
  [`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]
377
+ }, r.value, s.value, h.value, c.value, y.value, o.value, e.class],
378
+ style: [m.value, e.style]
384
379
  }, {
385
- default: () => [y && a("div", {
380
+ default: () => [d && a("div", {
386
381
  key: "image",
387
382
  class: "v-toolbar__image"
388
383
  }, [t.image ? a(E, {
@@ -412,7 +407,7 @@ const ae = B({
412
407
  }
413
408
  }, [t.prepend && a("div", {
414
409
  class: "v-toolbar__prepend"
415
- }, [t.prepend?.()]), i && a(te, {
410
+ }, [t.prepend?.()]), u && a(te, {
416
411
  key: "title",
417
412
  text: e.title
418
413
  }, {
@@ -423,7 +418,7 @@ const ae = B({
423
418
  }), a(E, {
424
419
  defaults: {
425
420
  VTabs: {
426
- height: P(f.value)
421
+ height: P(S.value)
427
422
  }
428
423
  }
429
424
  }, {
@@ -431,15 +426,15 @@ const ae = B({
431
426
  default: () => [l.value && a("div", {
432
427
  class: "v-toolbar__extension",
433
428
  style: {
434
- height: P(f.value)
429
+ height: P(S.value)
435
430
  }
436
- }, [T])]
431
+ }, [b])]
437
432
  })]
438
433
  })]
439
434
  });
440
435
  }), {
441
436
  contentHeight: g,
442
- extensionHeight: f
437
+ extensionHeight: S
443
438
  };
444
439
  }
445
440
  }), Ze = B({
@@ -456,43 +451,50 @@ function Ge(e) {
456
451
  const {
457
452
  canScroll: t
458
453
  } = 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));
454
+ let r = 0, m = 0;
455
+ const s = A(null), h = T(0), c = T(0), y = T(0), o = T(!1), l = T(!1), g = f(() => Number(e.scrollThreshold)), S = f(() => Ie((g.value - h.value) / g.value || 0)), u = () => {
456
+ const d = s.value;
457
+ if (!d || t && !t.value) return;
458
+ r = h.value, h.value = "window" in d ? d.pageYOffset : d.scrollTop;
459
+ const b = d instanceof Window ? document.documentElement.scrollHeight : d.scrollHeight;
460
+ if (m !== b) {
461
+ m = b;
462
+ return;
463
+ }
464
+ l.value = h.value < r, y.value = Math.abs(h.value - g.value);
463
465
  };
464
- return V(r, () => {
465
- h.value = h.value || s.value;
466
- }), V(b, () => {
467
- h.value = 0;
466
+ return V(l, () => {
467
+ c.value = c.value || h.value;
468
+ }), V(o, () => {
469
+ c.value = 0;
468
470
  }), 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}`);
471
+ V(() => e.scrollTarget, (d) => {
472
+ const b = d ? document.querySelector(d) : window;
473
+ if (!b) {
474
+ we(`Unable to locate element with identifier ${d}`);
473
475
  return;
474
476
  }
475
- y !== u.value && (u.value?.removeEventListener("scroll", f), u.value = y, u.value.addEventListener("scroll", f, {
477
+ b !== s.value && (s.value?.removeEventListener("scroll", u), s.value = b, s.value.addEventListener("scroll", u, {
476
478
  passive: !0
477
479
  }));
478
480
  }, {
479
481
  immediate: !0
480
482
  });
481
483
  }), X(() => {
482
- u.value?.removeEventListener("scroll", f);
483
- }), t && V(t, f, {
484
+ s.value?.removeEventListener("scroll", u);
485
+ }), t && V(t, u, {
484
486
  immediate: !0
485
487
  }), {
486
- scrollThreshold: l,
487
- currentScroll: s,
488
- currentThreshold: d,
489
- isScrollActive: b,
490
- scrollRatio: g,
488
+ scrollThreshold: g,
489
+ currentScroll: h,
490
+ currentThreshold: y,
491
+ isScrollActive: o,
492
+ scrollRatio: S,
491
493
  // required only for testing
492
494
  // probably can be removed
493
495
  // later (2 chars chlng)
494
- isScrollingUp: r,
495
- savedScroll: h
496
+ isScrollingUp: l,
497
+ savedScroll: c
496
498
  };
497
499
  }
498
500
  const Je = B({
@@ -507,7 +509,7 @@ const Je = B({
507
509
  validator: (e) => ["top", "bottom"].includes(e)
508
510
  },
509
511
  ...ne(),
510
- ...Re(),
512
+ ...Ce(),
511
513
  ...Ze(),
512
514
  height: {
513
515
  type: [Number, String],
@@ -523,69 +525,69 @@ const Je = B({
523
525
  let {
524
526
  slots: t
525
527
  } = n;
526
- const o = A(), u = we(e, "modelValue"), s = m(() => {
527
- const c = new Set(e.scrollBehavior?.split(" ") ?? []);
528
+ const r = A(), m = He(e, "modelValue"), s = f(() => {
529
+ const i = new Set(e.scrollBehavior?.split(" ") ?? []);
528
530
  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")
531
+ hide: i.has("hide"),
532
+ fullyHide: i.has("fully-hide"),
533
+ inverted: i.has("inverted"),
534
+ collapse: i.has("collapse"),
535
+ elevate: i.has("elevate"),
536
+ fadeImage: i.has("fade-image")
535
537
  // shrink: behavior.has('shrink'),
536
538
  };
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;
539
+ }), h = f(() => {
540
+ const i = s.value;
541
+ return i.hide || i.fullyHide || i.inverted || i.collapse || i.elevate || i.fadeImage || // behavior.shrink ||
542
+ !m.value;
541
543
  }), {
542
- currentScroll: d,
543
- scrollThreshold: b,
544
- isScrollingUp: r,
544
+ currentScroll: c,
545
+ scrollThreshold: y,
546
+ isScrollingUp: o,
545
547
  scrollRatio: l
546
548
  } = Ge(e, {
547
549
  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;
550
+ }), g = f(() => s.value.hide || s.value.fullyHide), S = f(() => e.collapse || s.value.collapse && (s.value.inverted ? l.value > 0 : l.value === 0)), u = f(() => e.flat || s.value.fullyHide && !m.value || s.value.elevate && (s.value.inverted ? c.value > 0 : c.value === 0)), d = f(() => s.value.fadeImage ? s.value.inverted ? 1 - l.value : l.value : void 0), b = f(() => {
551
+ const i = Number(r.value?.contentHeight ?? e.height), x = Number(r.value?.extensionHeight ?? 0);
552
+ return g.value ? c.value < y.value || s.value.fullyHide ? i + x : i : i + x;
551
553
  });
552
- He(m(() => !!e.scrollBehavior), () => {
554
+ Re(f(() => !!e.scrollBehavior), () => {
553
555
  Ne(() => {
554
- g.value ? s.value.inverted ? u.value = d.value > b.value : u.value = r.value || d.value < b.value : u.value = !0;
556
+ g.value ? s.value.inverted ? m.value = c.value > y.value : m.value = o.value || c.value < y.value : m.value = !0;
555
557
  });
556
558
  });
557
559
  const {
558
- ssrBootStyles: C
560
+ ssrBootStyles: w
559
561
  } = Me(), {
560
- layoutItemStyles: R,
561
- layoutIsReady: w
562
+ layoutItemStyles: C,
563
+ layoutIsReady: H
562
564
  } = ze({
563
565
  id: e.name,
564
- order: m(() => parseInt(e.order, 10)),
566
+ order: f(() => parseInt(e.order, 10)),
565
567
  position: N(e, "location"),
566
- layoutSize: T,
567
- elementSize: _(void 0),
568
- active: u,
568
+ layoutSize: b,
569
+ elementSize: T(void 0),
570
+ active: m,
569
571
  absolute: N(e, "absolute")
570
572
  });
571
573
  return I(() => {
572
- const c = K.filterProps(e);
574
+ const i = K.filterProps(e);
573
575
  return a(K, j({
574
- ref: o,
576
+ ref: r,
575
577
  class: ["v-app-bar", {
576
578
  "v-app-bar--bottom": e.location === "bottom"
577
579
  }, e.class],
578
580
  style: [{
579
- ...R.value,
580
- "--v-toolbar-image-opacity": y.value,
581
+ ...C.value,
582
+ "--v-toolbar-image-opacity": d.value,
581
583
  height: void 0,
582
- ...C.value
584
+ ...w.value
583
585
  }, e.style]
584
- }, c, {
585
- collapse: f.value,
586
- flat: i.value
586
+ }, i, {
587
+ collapse: S.value,
588
+ flat: u.value
587
589
  }), t);
588
- }), w;
590
+ }), H;
589
591
  }
590
592
  }), pe = k()({
591
593
  name: "VAppBarTitle",
@@ -605,7 +607,7 @@ const Je = B({
605
607
  /** @type {import("@/types").Eodash} */
606
608
  Ae(je)
607
609
  ), t = n.brand?.name;
608
- return (o, u) => (Ue(), De(Xe, { color: "primary" }, {
610
+ return (r, m) => (Ue(), De(Xe, { color: "primary" }, {
609
611
  default: M(() => [
610
612
  a(pe, null, {
611
613
  default: M(() => [
@@ -627,7 +629,7 @@ const Je = B({
627
629
  /* STABLE */
628
630
  }));
629
631
  }
630
- }, st = /* @__PURE__ */ Ee(et, [["__scopeId", "data-v-68395672"]]);
632
+ }, rt = /* @__PURE__ */ Ee(et, [["__scopeId", "data-v-d3a5e05e"]]);
631
633
  export {
632
- st as default
634
+ rt as default
633
635
  };
@@ -1,4 +1,4 @@
1
- import { $ as r, a6 as t } from "./asWebComponent-CbdGxelK.js";
1
+ import { $ as r, a6 as t } from "./asWebComponent-CpQUVi2N.js";
2
2
  const s = ["src"], i = {
3
3
  __name: "IframeWrapper",
4
4
  props: {